project done before
No files matched your search
@@ -0,0 +1,8 @@
|
|||||||
|
.DS_Store
|
||||||
|
|
||||||
|
# Generated by package manager
|
||||||
|
node_modules/
|
||||||
|
|
||||||
|
# Generated by Cordova
|
||||||
|
/plugins/
|
||||||
|
/platforms/
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"plugins":["cordova-plugin-whitelist","cordova-plugin-screen-orientation","es6-promise-plugin","cordova-plugin-x-socialsharing","cordova-plugin-androidx","cordova-plugin-androidx-adapter"]}
|
||||||
@@ -0,0 +1,80 @@
|
|||||||
|
// Type definitions for Apache Cordova
|
||||||
|
// Project: http://cordova.apache.org
|
||||||
|
// Definitions by: Microsoft Open Technologies Inc. <http://msopentech.com>
|
||||||
|
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||||
|
//
|
||||||
|
// Copyright (c) Microsoft Open Technologies, Inc.
|
||||||
|
// Licensed under the MIT license.
|
||||||
|
|
||||||
|
interface Cordova {
|
||||||
|
/** Invokes native functionality by specifying corresponding service name, action and optional parameters.
|
||||||
|
* @param success A success callback function.
|
||||||
|
* @param fail An error callback function.
|
||||||
|
* @param service The service name to call on the native side (corresponds to a native class).
|
||||||
|
* @param action The action name to call on the native side (generally corresponds to the native class method).
|
||||||
|
* @param args An array of arguments to pass into the native environment.
|
||||||
|
*/
|
||||||
|
exec(success: () => any, fail: () => any, service: string, action: string, args?: string[]): void;
|
||||||
|
/** Gets the operating system name. */
|
||||||
|
platformId: string;
|
||||||
|
/** Gets Cordova framework version */
|
||||||
|
version: string;
|
||||||
|
/** Defines custom logic as a Cordova module. Other modules can later access it using module name provided. */
|
||||||
|
define(moduleName: string, factory: (require: any, exports: any, module: any) => any): void;
|
||||||
|
/** Access a Cordova module by name. */
|
||||||
|
require(moduleName: string): any;
|
||||||
|
/** Namespace for Cordova plugin functionality */
|
||||||
|
plugins:CordovaPlugins;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface CordovaPlugins {}
|
||||||
|
|
||||||
|
interface Document {
|
||||||
|
addEventListener(type: "deviceready", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
addEventListener(type: "pause", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
addEventListener(type: "resume", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
addEventListener(type: "backbutton", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
addEventListener(type: "menubutton", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
addEventListener(type: "searchbutton", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
addEventListener(type: "startcallbutton", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
addEventListener(type: "endcallbutton", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
addEventListener(type: "volumedownbutton", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
addEventListener(type: "volumeupbutton", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
|
||||||
|
removeEventListener(type: "deviceready", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
removeEventListener(type: "pause", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
removeEventListener(type: "resume", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
removeEventListener(type: "backbutton", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
removeEventListener(type: "menubutton", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
removeEventListener(type: "searchbutton", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
removeEventListener(type: "startcallbutton", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
removeEventListener(type: "endcallbutton", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
removeEventListener(type: "volumedownbutton", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
removeEventListener(type: "volumeupbutton", listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
|
||||||
|
addEventListener(type: string, listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
removeEventListener(type: string, listener: (ev: Event) => any, useCapture?: boolean): void;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface Window {
|
||||||
|
cordova:Cordova;
|
||||||
|
}
|
||||||
|
|
||||||
|
// cordova/argscheck module
|
||||||
|
interface ArgsCheck {
|
||||||
|
checkArgs(argsSpec: string, functionName: string, args: any[], callee?: any): void;
|
||||||
|
getValue(value?: any, defaultValue?: any): any;
|
||||||
|
enableChecks: boolean;
|
||||||
|
}
|
||||||
|
|
||||||
|
// cordova/urlutil module
|
||||||
|
interface UrlUtil {
|
||||||
|
makeAbsolute(url: string): string
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Apache Cordova instance */
|
||||||
|
declare var cordova: Cordova;
|
||||||
|
|
||||||
|
declare module 'cordova' {
|
||||||
|
export = cordova;
|
||||||
|
}
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
|
<widget id="com.irwan_image.app" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
|
||||||
|
<name>Irwan_Shirt</name>
|
||||||
|
<description>
|
||||||
|
A sample Apache Cordova application that responds to the deviceready event.
|
||||||
|
</description>
|
||||||
|
<author email="[email protected]" href="http://cordova.io">
|
||||||
|
Apache Cordova Team
|
||||||
|
</author>
|
||||||
|
<content src="index.html" />
|
||||||
|
<access origin="*" />
|
||||||
|
<allow-intent href="http://*/*" />
|
||||||
|
<allow-intent href="https://*/*" />
|
||||||
|
<allow-intent href="tel:*" />
|
||||||
|
<allow-intent href="sms:*" />
|
||||||
|
<allow-intent href="mailto:*" />
|
||||||
|
<allow-intent href="geo:*" />
|
||||||
|
<platform name="android">
|
||||||
|
<allow-intent href="market:*" />
|
||||||
|
</platform>
|
||||||
|
<platform name="ios">
|
||||||
|
<allow-intent href="itms:*" />
|
||||||
|
<allow-intent href="itms-apps:*" />
|
||||||
|
</platform>
|
||||||
|
</widget>
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
@@ -0,0 +1,764 @@
|
|||||||
|
{
|
||||||
|
"name": "com.irwan_image.app",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"lockfileVersion": 1,
|
||||||
|
"requires": true,
|
||||||
|
"dependencies": {
|
||||||
|
"@netflix/nerror": {
|
||||||
|
"version": "1.1.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/@netflix/nerror/-/nerror-1.1.3.tgz",
|
||||||
|
"integrity": "sha512-b+MGNyP9/LXkapreJzNUzcvuzZslj/RGgdVVJ16P2wSlYatfLycPObImqVJSmNAdyeShvNeM/pl3sVZsObFueg==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"assert-plus": "^1.0.0",
|
||||||
|
"extsprintf": "^1.4.0",
|
||||||
|
"lodash": "^4.17.15"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"@nodelib/fs.scandir": {
|
||||||
|
"version": "2.1.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.4.tgz",
|
||||||
|
"integrity": "sha512-33g3pMJk3bg5nXbL/+CY6I2eJDzZAni49PfJnL5fghPTggPvBd/pFNSgJsdAgWptuFu7qq/ERvOYFlhvsLTCKA==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"@nodelib/fs.stat": "2.0.4",
|
||||||
|
"run-parallel": "^1.1.9"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"@nodelib/fs.stat": {
|
||||||
|
"version": "2.0.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.4.tgz",
|
||||||
|
"integrity": "sha512-IYlHJA0clt2+Vg7bccq+TzRdJvv19c2INqBSsoOLp1je7xjtr7J26+WXR72MCdvU9q1qTzIWDfhMf+DRvQJK4Q==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"@nodelib/fs.walk": {
|
||||||
|
"version": "1.2.6",
|
||||||
|
"resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.6.tgz",
|
||||||
|
"integrity": "sha512-8Broas6vTtW4GIXTAHDoE32hnN2M5ykgCpWGbuXHQ15vEMqr23pB76e/GZcYsZCHALv50ktd24qhEyKr6wBtow==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"@nodelib/fs.scandir": "2.1.4",
|
||||||
|
"fastq": "^1.6.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"abbrev": {
|
||||||
|
"version": "1.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",
|
||||||
|
"integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"android-versions": {
|
||||||
|
"version": "1.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/android-versions/-/android-versions-1.6.0.tgz",
|
||||||
|
"integrity": "sha512-ojC2Ig7b/KJ6iNtR8e4bacmOsJyEkoERk3CKMIsnH7kJz5z6551NMbrVaRb7KXYavu1d74Uhml/bfcmqT3nAcg==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"semver": "^5.7.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ansi": {
|
||||||
|
"version": "0.3.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/ansi/-/ansi-0.3.1.tgz",
|
||||||
|
"integrity": "sha1-DELU+xcWDVqa8eSEus4cZpIsGyE=",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"assert-plus": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
|
||||||
|
"integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"at-least-node": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz",
|
||||||
|
"integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"balanced-match": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
|
||||||
|
"integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"base64-js": {
|
||||||
|
"version": "1.5.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
|
||||||
|
"integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"big-integer": {
|
||||||
|
"version": "1.6.48",
|
||||||
|
"resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.48.tgz",
|
||||||
|
"integrity": "sha512-j51egjPa7/i+RdiRuJbPdJ2FIUYYPhvYLjzoYbcMMm62ooO6F94fETG4MTs46zPAF9Brs04OajboA/qTGuz78w==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"bplist-parser": {
|
||||||
|
"version": "0.2.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.2.0.tgz",
|
||||||
|
"integrity": "sha512-z0M+byMThzQmD9NILRniCUXYsYpjwnlO8N5uCFaCqIOpqRsJCrQL9NK3JsD67CN5a08nF5oIL2bD6loTdHOuKw==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"big-integer": "^1.6.44"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"brace-expansion": {
|
||||||
|
"version": "1.1.11",
|
||||||
|
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
|
||||||
|
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"balanced-match": "^1.0.0",
|
||||||
|
"concat-map": "0.0.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"braces": {
|
||||||
|
"version": "3.0.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
|
||||||
|
"integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"fill-range": "^7.0.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"concat-map": {
|
||||||
|
"version": "0.0.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
|
||||||
|
"integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"cordova-android": {
|
||||||
|
"version": "9.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/cordova-android/-/cordova-android-9.0.0.tgz",
|
||||||
|
"integrity": "sha512-2ZEgApK4LPMYW0zh/mLAH3CabzCaKE0yxQTzA2wTf0Eo2HHTJnRtDCf9spGf3nPOkubyXS6+pvzz5QzNHpVTqQ==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"android-versions": "^1.5.0",
|
||||||
|
"cordova-common": "^4.0.1",
|
||||||
|
"execa": "^4.0.2",
|
||||||
|
"fs-extra": "^9.0.1",
|
||||||
|
"nopt": "^4.0.3",
|
||||||
|
"properties-parser": "^0.3.1",
|
||||||
|
"which": "^2.0.2"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"cordova-common": {
|
||||||
|
"version": "4.0.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/cordova-common/-/cordova-common-4.0.2.tgz",
|
||||||
|
"integrity": "sha512-od7aNShyuBajzPY83mUEO8tERwwWdFklXETHiXP5Ft87CWeo/tSuwNPFztyTy8XYc74yXdogXKPTJeUHuVzB8Q==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"@netflix/nerror": "^1.1.3",
|
||||||
|
"ansi": "^0.3.1",
|
||||||
|
"bplist-parser": "^0.2.0",
|
||||||
|
"cross-spawn": "^7.0.1",
|
||||||
|
"elementtree": "^0.1.7",
|
||||||
|
"endent": "^1.4.1",
|
||||||
|
"fast-glob": "^3.2.2",
|
||||||
|
"fs-extra": "^9.0.0",
|
||||||
|
"glob": "^7.1.6",
|
||||||
|
"plist": "^3.0.1",
|
||||||
|
"q": "^1.5.1",
|
||||||
|
"read-chunk": "^3.2.0",
|
||||||
|
"strip-bom": "^4.0.0",
|
||||||
|
"underscore": "^1.9.2"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"cordova-plugin-androidx": {
|
||||||
|
"version": "3.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/cordova-plugin-androidx/-/cordova-plugin-androidx-3.0.0.tgz",
|
||||||
|
"integrity": "sha512-niMnhcxKsu4/oKTUbL0jRAnh6/cdoIVxRxJqj3uEyv8CVOlAj1sWhX+9b1XiAo9+bejAM9BbA21YK0mChfbVTA==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"cordova-plugin-androidx-adapter": {
|
||||||
|
"version": "1.1.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/cordova-plugin-androidx-adapter/-/cordova-plugin-androidx-adapter-1.1.3.tgz",
|
||||||
|
"integrity": "sha512-W1SImn0cCCvOSTSfWWp5TnanIQrSuh2Bch+dcZXIzEn0km3Qb7VryeAqHhgBQYwwzC5Ollk1DtUAk/AJSojuZA==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"q": "^1.5.1",
|
||||||
|
"recursive-readdir": "^2.2.2"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"cordova-plugin-screen-orientation": {
|
||||||
|
"version": "3.0.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/cordova-plugin-screen-orientation/-/cordova-plugin-screen-orientation-3.0.2.tgz",
|
||||||
|
"integrity": "sha512-2w6CMC+HGvbhogJetalwGurL2Fx8DQCCPy3wlSZHN1/W7WoQ5n9ujVozcoKrY4VaagK6bxrPFih+ElkO8Uqfzg==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"cordova-plugin-whitelist": {
|
||||||
|
"version": "1.3.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/cordova-plugin-whitelist/-/cordova-plugin-whitelist-1.3.4.tgz",
|
||||||
|
"integrity": "sha512-EYC5eQFVkoYXq39l7tYKE6lEjHJ04mvTmKXxGL7quHLdFPfJMNzru/UYpn92AOfpl3PQaZmou78C7EgmFOwFQQ==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"cordova-plugin-x-socialsharing": {
|
||||||
|
"version": "6.0.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/cordova-plugin-x-socialsharing/-/cordova-plugin-x-socialsharing-6.0.3.tgz",
|
||||||
|
"integrity": "sha512-pnrE2CXsz4G0n0WoFDAasLS1VT3nIsNpddvXgfpiqX3wyOlSjO2NdF+sjYaTvs1B+f7z8EWbYCHpCrgBQiMLIg==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"cross-spawn": {
|
||||||
|
"version": "7.0.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
|
||||||
|
"integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"path-key": "^3.1.0",
|
||||||
|
"shebang-command": "^2.0.0",
|
||||||
|
"which": "^2.0.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"dedent": {
|
||||||
|
"version": "0.7.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz",
|
||||||
|
"integrity": "sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw=",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"elementtree": {
|
||||||
|
"version": "0.1.7",
|
||||||
|
"resolved": "https://registry.npmjs.org/elementtree/-/elementtree-0.1.7.tgz",
|
||||||
|
"integrity": "sha1-mskb5uUvtuYkTE5UpKw+2K6OKcA=",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"sax": "1.1.4"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"end-of-stream": {
|
||||||
|
"version": "1.4.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",
|
||||||
|
"integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"once": "^1.4.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"endent": {
|
||||||
|
"version": "1.4.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/endent/-/endent-1.4.1.tgz",
|
||||||
|
"integrity": "sha512-buHTb5c8AC9NshtP6dgmNLYkiT+olskbq1z6cEGvfGCF3Qphbu/1zz5Xu+yjTDln8RbxNhPoUyJ5H8MSrp1olQ==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"dedent": "^0.7.0",
|
||||||
|
"fast-json-parse": "^1.0.3",
|
||||||
|
"objectorarray": "^1.0.4"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"es6-promise-plugin": {
|
||||||
|
"version": "4.2.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/es6-promise-plugin/-/es6-promise-plugin-4.2.2.tgz",
|
||||||
|
"integrity": "sha512-uoA4aVplXI9oqUYJFBAVRwAqIN9/n9JgrTAUGX3qPbnSZVE5yY1+6/MsoN5f4xsaPO62WjPHOdtts6okMN6tNA==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"execa": {
|
||||||
|
"version": "4.1.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/execa/-/execa-4.1.0.tgz",
|
||||||
|
"integrity": "sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"cross-spawn": "^7.0.0",
|
||||||
|
"get-stream": "^5.0.0",
|
||||||
|
"human-signals": "^1.1.1",
|
||||||
|
"is-stream": "^2.0.0",
|
||||||
|
"merge-stream": "^2.0.0",
|
||||||
|
"npm-run-path": "^4.0.0",
|
||||||
|
"onetime": "^5.1.0",
|
||||||
|
"signal-exit": "^3.0.2",
|
||||||
|
"strip-final-newline": "^2.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"extsprintf": {
|
||||||
|
"version": "1.4.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.4.0.tgz",
|
||||||
|
"integrity": "sha1-4mifjzVvrWLMplo6kcXfX5VRaS8=",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"fast-glob": {
|
||||||
|
"version": "3.2.5",
|
||||||
|
"resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.5.tgz",
|
||||||
|
"integrity": "sha512-2DtFcgT68wiTTiwZ2hNdJfcHNke9XOfnwmBRWXhmeKM8rF0TGwmC/Qto3S7RoZKp5cilZbxzO5iTNTQsJ+EeDg==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"@nodelib/fs.stat": "^2.0.2",
|
||||||
|
"@nodelib/fs.walk": "^1.2.3",
|
||||||
|
"glob-parent": "^5.1.0",
|
||||||
|
"merge2": "^1.3.0",
|
||||||
|
"micromatch": "^4.0.2",
|
||||||
|
"picomatch": "^2.2.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"fast-json-parse": {
|
||||||
|
"version": "1.0.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/fast-json-parse/-/fast-json-parse-1.0.3.tgz",
|
||||||
|
"integrity": "sha512-FRWsaZRWEJ1ESVNbDWmsAlqDk96gPQezzLghafp5J4GUKjbCz3OkAHuZs5TuPEtkbVQERysLp9xv6c24fBm8Aw==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"fastq": {
|
||||||
|
"version": "1.10.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/fastq/-/fastq-1.10.0.tgz",
|
||||||
|
"integrity": "sha512-NL2Qc5L3iQEsyYzweq7qfgy5OtXCmGzGvhElGEd/SoFWEMOEczNh5s5ocaF01HDetxz+p8ecjNPA6cZxxIHmzA==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"reusify": "^1.0.4"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"fill-range": {
|
||||||
|
"version": "7.0.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
|
||||||
|
"integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"to-regex-range": "^5.0.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"fs-extra": {
|
||||||
|
"version": "9.0.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.0.1.tgz",
|
||||||
|
"integrity": "sha512-h2iAoN838FqAFJY2/qVpzFXy+EBxfVE220PalAqQLDVsFOHLJrZvut5puAbCdNv6WJk+B8ihI+k0c7JK5erwqQ==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"at-least-node": "^1.0.0",
|
||||||
|
"graceful-fs": "^4.2.0",
|
||||||
|
"jsonfile": "^6.0.1",
|
||||||
|
"universalify": "^1.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"fs.realpath": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
|
||||||
|
"integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"get-stream": {
|
||||||
|
"version": "5.2.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz",
|
||||||
|
"integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"pump": "^3.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"glob": {
|
||||||
|
"version": "7.1.6",
|
||||||
|
"resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
|
||||||
|
"integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"fs.realpath": "^1.0.0",
|
||||||
|
"inflight": "^1.0.4",
|
||||||
|
"inherits": "2",
|
||||||
|
"minimatch": "^3.0.4",
|
||||||
|
"once": "^1.3.0",
|
||||||
|
"path-is-absolute": "^1.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"glob-parent": {
|
||||||
|
"version": "5.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz",
|
||||||
|
"integrity": "sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"is-glob": "^4.0.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"graceful-fs": {
|
||||||
|
"version": "4.2.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz",
|
||||||
|
"integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"human-signals": {
|
||||||
|
"version": "1.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/human-signals/-/human-signals-1.1.1.tgz",
|
||||||
|
"integrity": "sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"inflight": {
|
||||||
|
"version": "1.0.6",
|
||||||
|
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
|
||||||
|
"integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"once": "^1.3.0",
|
||||||
|
"wrappy": "1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"inherits": {
|
||||||
|
"version": "2.0.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
|
||||||
|
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"is-extglob": {
|
||||||
|
"version": "2.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
|
||||||
|
"integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"is-glob": {
|
||||||
|
"version": "4.0.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz",
|
||||||
|
"integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"is-extglob": "^2.1.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"is-number": {
|
||||||
|
"version": "7.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
|
||||||
|
"integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"is-stream": {
|
||||||
|
"version": "2.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz",
|
||||||
|
"integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"isexe": {
|
||||||
|
"version": "2.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
|
||||||
|
"integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"jsonfile": {
|
||||||
|
"version": "6.1.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",
|
||||||
|
"integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"graceful-fs": "^4.1.6",
|
||||||
|
"universalify": "^2.0.0"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"universalify": {
|
||||||
|
"version": "2.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz",
|
||||||
|
"integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==",
|
||||||
|
"dev": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"lodash": {
|
||||||
|
"version": "4.17.20",
|
||||||
|
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz",
|
||||||
|
"integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"merge-stream": {
|
||||||
|
"version": "2.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",
|
||||||
|
"integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"merge2": {
|
||||||
|
"version": "1.4.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
|
||||||
|
"integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"micromatch": {
|
||||||
|
"version": "4.0.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz",
|
||||||
|
"integrity": "sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"braces": "^3.0.1",
|
||||||
|
"picomatch": "^2.0.5"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mimic-fn": {
|
||||||
|
"version": "2.1.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
|
||||||
|
"integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"minimatch": {
|
||||||
|
"version": "3.0.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
|
||||||
|
"integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"brace-expansion": "^1.1.7"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nopt": {
|
||||||
|
"version": "4.0.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.3.tgz",
|
||||||
|
"integrity": "sha512-CvaGwVMztSMJLOeXPrez7fyfObdZqNUK1cPAEzLHrTybIua9pMdmmPR5YwtfNftIOMv3DPUhFaxsZMNTQO20Kg==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"abbrev": "1",
|
||||||
|
"osenv": "^0.1.4"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"npm-run-path": {
|
||||||
|
"version": "4.0.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz",
|
||||||
|
"integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"path-key": "^3.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"objectorarray": {
|
||||||
|
"version": "1.0.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/objectorarray/-/objectorarray-1.0.4.tgz",
|
||||||
|
"integrity": "sha512-91k8bjcldstRz1bG6zJo8lWD7c6QXcB4nTDUqiEvIL1xAsLoZlOOZZG+nd6YPz+V7zY1580J4Xxh1vZtyv4i/w==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"once": {
|
||||||
|
"version": "1.4.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
|
||||||
|
"integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"wrappy": "1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"onetime": {
|
||||||
|
"version": "5.1.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",
|
||||||
|
"integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"mimic-fn": "^2.1.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"os-homedir": {
|
||||||
|
"version": "1.0.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz",
|
||||||
|
"integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"os-tmpdir": {
|
||||||
|
"version": "1.0.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",
|
||||||
|
"integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"osenv": {
|
||||||
|
"version": "0.1.5",
|
||||||
|
"resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz",
|
||||||
|
"integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"os-homedir": "^1.0.0",
|
||||||
|
"os-tmpdir": "^1.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"p-finally": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz",
|
||||||
|
"integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"p-try": {
|
||||||
|
"version": "2.2.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
|
||||||
|
"integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"path-is-absolute": {
|
||||||
|
"version": "1.0.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
|
||||||
|
"integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"path-key": {
|
||||||
|
"version": "3.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
|
||||||
|
"integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"picomatch": {
|
||||||
|
"version": "2.2.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz",
|
||||||
|
"integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"pify": {
|
||||||
|
"version": "4.0.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",
|
||||||
|
"integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"plist": {
|
||||||
|
"version": "3.0.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/plist/-/plist-3.0.1.tgz",
|
||||||
|
"integrity": "sha512-GpgvHHocGRyQm74b6FWEZZVRroHKE1I0/BTjAmySaohK+cUn+hZpbqXkc3KWgW3gQYkqcQej35FohcT0FRlkRQ==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"base64-js": "^1.2.3",
|
||||||
|
"xmlbuilder": "^9.0.7",
|
||||||
|
"xmldom": "0.1.x"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"properties-parser": {
|
||||||
|
"version": "0.3.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/properties-parser/-/properties-parser-0.3.1.tgz",
|
||||||
|
"integrity": "sha1-ExbpU5/7/ZOEXjabIRAiq9R4dxo=",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"string.prototype.codepointat": "^0.2.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"pump": {
|
||||||
|
"version": "3.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz",
|
||||||
|
"integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"end-of-stream": "^1.1.0",
|
||||||
|
"once": "^1.3.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"q": {
|
||||||
|
"version": "1.5.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz",
|
||||||
|
"integrity": "sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc=",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"read-chunk": {
|
||||||
|
"version": "3.2.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/read-chunk/-/read-chunk-3.2.0.tgz",
|
||||||
|
"integrity": "sha512-CEjy9LCzhmD7nUpJ1oVOE6s/hBkejlcJEgLQHVnQznOSilOPb+kpKktlLfFDK3/WP43+F80xkUTM2VOkYoSYvQ==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"pify": "^4.0.1",
|
||||||
|
"with-open-file": "^0.1.6"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"recursive-readdir": {
|
||||||
|
"version": "2.2.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/recursive-readdir/-/recursive-readdir-2.2.2.tgz",
|
||||||
|
"integrity": "sha512-nRCcW9Sj7NuZwa2XvH9co8NPeXUBhZP7CRKJtU+cS6PW9FpCIFoI5ib0NT1ZrbNuPoRy0ylyCaUL8Gih4LSyFg==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"minimatch": "3.0.4"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"reusify": {
|
||||||
|
"version": "1.0.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz",
|
||||||
|
"integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"run-parallel": {
|
||||||
|
"version": "1.1.10",
|
||||||
|
"resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.1.10.tgz",
|
||||||
|
"integrity": "sha512-zb/1OuZ6flOlH6tQyMPUrE3x3Ulxjlo9WIVXR4yVYi4H9UXQaeIsPbLn2R3O3vQCnDKkAl2qHiuocKKX4Tz/Sw==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"sax": {
|
||||||
|
"version": "1.1.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/sax/-/sax-1.1.4.tgz",
|
||||||
|
"integrity": "sha1-dLbTPJrh4AFRDxeakRaFiPGu2qk=",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"semver": {
|
||||||
|
"version": "5.7.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
|
||||||
|
"integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"shebang-command": {
|
||||||
|
"version": "2.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
|
||||||
|
"integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"shebang-regex": "^3.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"shebang-regex": {
|
||||||
|
"version": "3.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
|
||||||
|
"integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"signal-exit": {
|
||||||
|
"version": "3.0.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz",
|
||||||
|
"integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"string.prototype.codepointat": {
|
||||||
|
"version": "0.2.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/string.prototype.codepointat/-/string.prototype.codepointat-0.2.1.tgz",
|
||||||
|
"integrity": "sha512-2cBVCj6I4IOvEnjgO/hWqXjqBGsY+zwPmHl12Srk9IXSZ56Jwwmy+66XO5Iut/oQVR7t5ihYdLB0GMa4alEUcg==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"strip-bom": {
|
||||||
|
"version": "4.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz",
|
||||||
|
"integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"strip-final-newline": {
|
||||||
|
"version": "2.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz",
|
||||||
|
"integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"to-regex-range": {
|
||||||
|
"version": "5.0.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
|
||||||
|
"integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"is-number": "^7.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"underscore": {
|
||||||
|
"version": "1.12.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/underscore/-/underscore-1.12.0.tgz",
|
||||||
|
"integrity": "sha512-21rQzss/XPMjolTiIezSu3JAjgagXKROtNrYFEOWK109qY1Uv2tVjPTZ1ci2HgvQDA16gHYSthQIJfB+XId/rQ==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"universalify": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/universalify/-/universalify-1.0.0.tgz",
|
||||||
|
"integrity": "sha512-rb6X1W158d7pRQBg5gkR8uPaSfiids68LTJQYOtEUhoJUWBdaQHsuT/EUduxXYxcrt4r5PJ4fuHW1MHT6p0qug==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"which": {
|
||||||
|
"version": "2.0.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
|
||||||
|
"integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"isexe": "^2.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"with-open-file": {
|
||||||
|
"version": "0.1.7",
|
||||||
|
"resolved": "https://registry.npmjs.org/with-open-file/-/with-open-file-0.1.7.tgz",
|
||||||
|
"integrity": "sha512-ecJS2/oHtESJ1t3ZfMI3B7KIDKyfN0O16miWxdn30zdh66Yd3LsRFebXZXq6GU4xfxLf6nVxp9kIqElb5fqczA==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"p-finally": "^1.0.0",
|
||||||
|
"p-try": "^2.1.0",
|
||||||
|
"pify": "^4.0.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"wrappy": {
|
||||||
|
"version": "1.0.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
|
||||||
|
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"xmlbuilder": {
|
||||||
|
"version": "9.0.7",
|
||||||
|
"resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-9.0.7.tgz",
|
||||||
|
"integrity": "sha1-Ey7mPS7FVlxVfiD0wi35rKaGsQ0=",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"xmldom": {
|
||||||
|
"version": "0.1.31",
|
||||||
|
"resolved": "https://registry.npmjs.org/xmldom/-/xmldom-0.1.31.tgz",
|
||||||
|
"integrity": "sha512-yS2uJflVQs6n+CyjHoaBmVSqIDevTAWrzMmjG1Gc7h1qQ7uVozNhEPJAwZXWyGQ/Gafo3fCwrcaokezLPupVyQ==",
|
||||||
|
"dev": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,36 @@
|
|||||||
|
{
|
||||||
|
"name": "com.irwan_image.app",
|
||||||
|
"displayName": "Irwan_Shirt",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"description": "A sample Apache Cordova application that responds to the deviceready event.",
|
||||||
|
"main": "index.js",
|
||||||
|
"scripts": {
|
||||||
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
|
},
|
||||||
|
"keywords": [
|
||||||
|
"ecosystem:cordova"
|
||||||
|
],
|
||||||
|
"author": "Apache Cordova Team",
|
||||||
|
"license": "Apache-2.0",
|
||||||
|
"devDependencies": {
|
||||||
|
"cordova-android": "^9.0.0",
|
||||||
|
"cordova-plugin-androidx": "^3.0.0",
|
||||||
|
"cordova-plugin-androidx-adapter": "^1.1.3",
|
||||||
|
"cordova-plugin-screen-orientation": "^3.0.2",
|
||||||
|
"cordova-plugin-whitelist": "^1.3.4",
|
||||||
|
"cordova-plugin-x-socialsharing": "^6.0.3",
|
||||||
|
"es6-promise-plugin": "^4.2.2"
|
||||||
|
},
|
||||||
|
"cordova": {
|
||||||
|
"plugins": {
|
||||||
|
"cordova-plugin-whitelist": {},
|
||||||
|
"cordova-plugin-screen-orientation": {},
|
||||||
|
"cordova-plugin-x-socialsharing": {},
|
||||||
|
"cordova-plugin-androidx": {},
|
||||||
|
"cordova-plugin-androidx-adapter": {}
|
||||||
|
},
|
||||||
|
"platforms": [
|
||||||
|
"android"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
###################
|
||||||
|
T-Shirt Designer
|
||||||
|
###################
|
||||||
|
|
||||||
|
Mobile App T-Shirt Designer
|
||||||
|
|
||||||
|
*******************
|
||||||
|
Contact
|
||||||
|
*******************
|
||||||
|
|
||||||
|
- Facebook https://www.facebook.com/kicap.karan>
|
||||||
|
- Portfolio Website https://www.kicap-karan.com/
|
||||||
|
- Linkedin https://www.linkedin.com/in/kicap-karan-85588b203/
|
||||||
|
- Whatsapp +6282293246583
|
||||||
|
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
|
||||||
|
/// <reference path="..\.vscode\typings\cordova\cordova.d.ts"/>
|
||||||
@@ -0,0 +1,123 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta content="width=device-width, initial-scale=1.0" name="viewport">
|
||||||
|
|
||||||
|
<title>Irwan T-Shirt Design</title>
|
||||||
|
<meta content="" name="descriptison">
|
||||||
|
<meta content="" name="keywords">
|
||||||
|
|
||||||
|
<!-- Favicons -->
|
||||||
|
<link href="assets/img/favicon.png" rel="icon">
|
||||||
|
<link href="assets/img/apple-touch-icon.png" rel="apple-touch-icon">
|
||||||
|
|
||||||
|
<!-- Google Fonts -->
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com">
|
||||||
|
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Raleway:300,300i,400,400i,500,500i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i" rel="stylesheet">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Metal+Mania&family=Pacifico&display=swap" rel="stylesheet">
|
||||||
|
|
||||||
|
<!-- Vendor CSS Files -->
|
||||||
|
<link href="assets/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
||||||
|
<link href="assets/vendor/icofont/icofont.min.css" rel="stylesheet">
|
||||||
|
<link href="assets/vendor/owl.carousel/assets/owl.carousel.min.css" rel="stylesheet">
|
||||||
|
<link href="assets/vendor/boxicons/css/boxicons.min.css" rel="stylesheet">
|
||||||
|
<link href="assets/vendor/venobox/venobox.css" rel="stylesheet">
|
||||||
|
<link href="assets/vendor/aos/aos.css" rel="stylesheet">
|
||||||
|
|
||||||
|
<!-- Template Main CSS File -->
|
||||||
|
<link href="assets/css/style.css" rel="stylesheet">
|
||||||
|
<style type="text/css">
|
||||||
|
.pacific{
|
||||||
|
font-family: Pacifico
|
||||||
|
}
|
||||||
|
.metal{
|
||||||
|
font-family: Metal Mania
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<!-- =======================================================
|
||||||
|
* Template Name: Kelly - v2.0.0
|
||||||
|
* Template URL: https://bootstrapmade.com/kelly-free-bootstrap-cv-resume-html-template/
|
||||||
|
* Author: BootstrapMade.com
|
||||||
|
* License: https://bootstrapmade.com/license/
|
||||||
|
======================================================== -->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<!-- ======= Header ======= -->
|
||||||
|
<header id="header" class="fixed-top">
|
||||||
|
<div class="container-fluid d-flex justify-content-between align-items-center">
|
||||||
|
|
||||||
|
<h1 class="logo"><a href="index.html" style="font-family: Metal Mania">Irwan T-Shirt</a></h1>
|
||||||
|
<!-- Uncomment below if you prefer to use an image logo -->
|
||||||
|
<!-- <a href="index.html" class="logo"><img src="assets/img/logo.png" alt="" class="img-fluid"></a>-->
|
||||||
|
|
||||||
|
<nav class="nav-menu d-none d-lg-block">
|
||||||
|
<ul class="metal">
|
||||||
|
<li><a href="index.html">Home</a></li>
|
||||||
|
<li><a href="list.html">Design List</a></li>
|
||||||
|
<li class="active"><a href="about.html">About</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav><!-- .nav-menu -->
|
||||||
|
|
||||||
|
<!-- <div class="header-social-links">
|
||||||
|
<a href="#" class="twitter"><i class="icofont-twitter"></i></a>
|
||||||
|
<a href="#" class="facebook"><i class="icofont-facebook"></i></a>
|
||||||
|
<a href="#" class="instagram"><i class="icofont-instagram"></i></a>
|
||||||
|
<a href="#" class="linkedin"><i class="icofont-linkedin"></i></i></a>
|
||||||
|
</div> -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</header><!-- End Header -->
|
||||||
|
|
||||||
|
<!-- ======= Hero Section ======= -->
|
||||||
|
<section id="hero" class="d-flex align-items-center">
|
||||||
|
<div class="container d-flex flex-column align-items-center" data-aos="zoom-in" data-aos-delay="100">
|
||||||
|
<h1 style="font-family: Metal Mania">Irwan T-Shirt</h1>
|
||||||
|
<h2 style="text-align: center; font-family: Metal Mania">Sebuah Aplikasi dari Irwan Untuk Mendesain T-Shirt Berdasarkan Keinginan Pengguna</h2>
|
||||||
|
<a style="text-align: center; font-family: Metal Mania" href="desain_1.html" class="btn-about">Mulai Mendesain</a>
|
||||||
|
</div>
|
||||||
|
</section><!-- End Hero -->
|
||||||
|
|
||||||
|
<!-- ======= Footer ======= -->
|
||||||
|
<footer id="footer">
|
||||||
|
<div class="container">
|
||||||
|
<div class="copyright" style="font-family: Pacifico">
|
||||||
|
© Copyright <strong><span>Irwan</span></strong>. All Rights Reserved
|
||||||
|
</div>
|
||||||
|
<div class="credits" style="font-family: Metal Mania">
|
||||||
|
<!-- All the links in the footer should remain intact. -->
|
||||||
|
<!-- You can delete the links only if you purchased the pro version. -->
|
||||||
|
<!-- Licensing information: https://bootstrapmade.com/license/ -->
|
||||||
|
<!-- Purchase the pro version with working PHP/AJAX contact form: https://bootstrapmade.com/kelly-free-bootstrap-cv-resume-html-template/ -->
|
||||||
|
Designed by Irwan
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer><!-- End Footer -->
|
||||||
|
|
||||||
|
<div id="preloader"></div>
|
||||||
|
<a href="#" class="back-to-top"><i class="bx bx-up-arrow-alt"></i></a>
|
||||||
|
|
||||||
|
<!-- Vendor JS Files -->
|
||||||
|
<script src="assets/vendor/jquery/jquery.min.js"></script>
|
||||||
|
<script src="assets/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
|
||||||
|
<script src="assets/vendor/jquery.easing/jquery.easing.min.js"></script>
|
||||||
|
<script src="assets/vendor/php-email-form/validate.js"></script>
|
||||||
|
<script src="assets/vendor/waypoints/jquery.waypoints.min.js"></script>
|
||||||
|
<script src="assets/vendor/counterup/counterup.min.js"></script>
|
||||||
|
<script src="assets/vendor/owl.carousel/owl.carousel.min.js"></script>
|
||||||
|
<script src="assets/vendor/isotope-layout/isotope.pkgd.min.js"></script>
|
||||||
|
<script src="assets/vendor/venobox/venobox.min.js"></script>
|
||||||
|
<script src="assets/vendor/aos/aos.js"></script>
|
||||||
|
|
||||||
|
<!-- Template Main JS File -->
|
||||||
|
<script src="cordova.js"></script>
|
||||||
|
<script src="assets/js/main.js"></script>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
var fabric=fabric||{version:"4.1.0"};if("undefined"!=typeof exports?exports.fabric=fabric:"function"==typeof define&&define.amd&&define([],function(){return fabric}),"undefined"!=typeof document&&"undefined"!=typeof window)document instanceof("undefined"!=typeof HTMLDocument?HTMLDocument:Document)?fabric.document=document:fabric.document=document.implementation.createHTMLDocument(""),fabric.window=window;else{var jsdom=require("jsdom"),virtualWindow=new jsdom.JSDOM(decodeURIComponent("%3C!DOCTYPE%20html%3E%3Chtml%3E%3Chead%3E%3C%2Fhead%3E%3Cbody%3E%3C%2Fbody%3E%3C%2Fhtml%3E"),{features:{FetchExternalResources:["img"]},resources:"usable"}).window;fabric.document=virtualWindow.document,fabric.jsdomImplForWrapper=require("jsdom/lib/jsdom/living/generated/utils").implForWrapper,fabric.nodeCanvas=require("jsdom/lib/jsdom/utils").Canvas,fabric.window=virtualWindow,DOMParser=fabric.window.DOMParser}function resizeCanvasIfNeeded(t){var e=t.targetCanvas,i=e.width,r=e.height,n=t.destinationWidth,s=t.destinationHeight;i===n&&r===s||(e.width=n,e.height=s)}function copyGLTo2DDrawImage(t,e){var i=t.canvas,r=e.targetCanvas,n=r.getContext("2d");n.translate(0,r.height),n.scale(1,-1);var s=i.height-r.height;n.drawImage(i,0,s,r.width,r.height,0,0,r.width,r.height)}function copyGLTo2DPutImageData(t,e){var i=e.targetCanvas.getContext("2d"),r=e.destinationWidth,n=e.destinationHeight,s=r*n*4,o=new Uint8Array(this.imageBuffer,0,s),a=new Uint8ClampedArray(this.imageBuffer,0,s);t.readPixels(0,0,r,n,t.RGBA,t.UNSIGNED_BYTE,o);var h=new ImageData(a,r,n);i.putImageData(h,0,0)}fabric.isTouchSupported="ontouchstart"in fabric.window||"ontouchstart"in fabric.document||fabric.window&&fabric.window.navigator&&0<fabric.window.navigator.maxTouchPoints,fabric.isLikelyNode="undefined"!=typeof Buffer&&"undefined"==typeof window,fabric.SHARED_ATTRIBUTES=["display","transform","fill","fill-opacity","fill-rule","opacity","stroke","stroke-dasharray","stroke-linecap","stroke-dashoffset","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","id","paint-order","vector-effect","instantiated_by_use","clip-path"],fabric.DPI=96,fabric.reNum="(?:[-+]?(?:\\d+|\\d*\\.\\d+)(?:[eE][-+]?\\d+)?)",fabric.rePathCommand=/([-+]?((\d+\.\d+)|((\d+)|(\.\d+)))(?:[eE][-+]?\d+)?)/gi,fabric.reNonWord=/[ \n\.,;!\?\-]/,fabric.fontPaths={},fabric.iMatrix=[1,0,0,1,0,0],fabric.svgNS="http://www.w3.org/2000/svg",fabric.perfLimitSizeTotal=2097152,fabric.maxCacheSideLimit=4096,fabric.minCacheSideLimit=256,fabric.charWidthsCache={},fabric.textureSize=2048,fabric.disableStyleCopyPaste=!1,fabric.enableGLFiltering=!0,fabric.devicePixelRatio=fabric.window.devicePixelRatio||fabric.window.webkitDevicePixelRatio||fabric.window.mozDevicePixelRatio||1,fabric.browserShadowBlurConstant=1,fabric.arcToSegmentsCache={},fabric.boundsOfCurveCache={},fabric.cachesBoundsOfCurve=!0,fabric.forceGLPutImageData=!1,fabric.initFilterBackend=function(){return fabric.enableGLFiltering&&fabric.isWebglSupported&&fabric.isWebglSupported(fabric.textureSize)?(console.log("max texture size: "+fabric.maxTextureSize),new fabric.WebglFilterBackend({tileSize:fabric.textureSize})):fabric.Canvas2dFilterBackend?new fabric.Canvas2dFilterBackend:void 0},"undefined"!=typeof document&&"undefined"!=typeof window&&(window.fabric=fabric),function(){function r(t,e){if(this.__eventListeners[t]){var i=this.__eventListeners[t];e?i[i.indexOf(e)]=!1:fabric.util.array.fill(i,!1)}}fabric.Observable={fire:function(t,e){if(!this.__eventListeners)return this;var i=this.__eventListeners[t];if(!i)return this;for(var r=0,n=i.length;r<n;r++)i[r]&&i[r].call(this,e||{});return this.__eventListeners[t]=i.filter(function(t){return!1!==t}),this},on:function(t,e){if(this.__eventListeners||(this.__eventListeners={}),1===arguments.length)for(var i in t)this.on(i,t[i]);else this.__eventListeners[t]||(this.__eventListeners[t]=[]),this.__eventListeners[t].push(e);return this},off:function(t,e){if(!this.__eventListeners)return this;if(0===arguments.length)for(t in this.__eventListeners)r.call(this,t);else if(1===arguments.length&&"object"==typeof t)for(var i in t)r.call(this,i,t[i]);else r.call(this,t,e);return this}}}(),fabric.Collection={_objects:[],add:function(){if(this._objects.push.apply(this._objects,arguments),this._onObjectAdded)for(var t=0,e=arguments.length;t<e;t++)this._onObjectAdded(arguments[t]);return this.renderOnAddRemove&&this.requestRenderAll(),this},insertAt:function(t,e,i){var r=this._objects;return i?r[e]=t:r.splice(e,0,t),this._onObjectAdded&&this._onObjectAdded(t),this.renderOnAddRemove&&this.requestRenderAll(),this},remove:function(){for(var t,e=this._objects,i=!1,r=0,n=arguments.length;r<n;r++)-1!==(t=e.indexOf(arguments[r]))&&(i=!0,e.splice(t,1),this._onObjectRemoved&&this._onObjectRemoved(arguments[r]));return this.renderOnAddRemove&&i&&this.requestRenderAll(),this},forEachObject:function(t,e){for(var i=this.getObjects(),r=0,n=i.length;r<n;r++)t.call(e,i[r],r,i);return this},getObjects:function(e){return void 0=Line truncated
|
||||||
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 99 KiB |
|
After Width: | Height: | Size: 168 KiB |
|
After Width: | Height: | Size: 491 B |
|
After Width: | Height: | Size: 84 KiB |
|
After Width: | Height: | Size: 155 KiB |
|
After Width: | Height: | Size: 212 KiB |
|
After Width: | Height: | Size: 180 KiB |
@@ -0,0 +1,63 @@
|
|||||||
|
/*
|
||||||
|
* Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
* or more contributor license agreements. See the NOTICE file
|
||||||
|
* distributed with this work for additional information
|
||||||
|
* regarding copyright ownership. The ASF licenses this file
|
||||||
|
* to you under the Apache License, Version 2.0 (the
|
||||||
|
* "License"); you may not use this file except in compliance
|
||||||
|
* with the License. You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Wait for the deviceready event before using any of Cordova's device APIs.
|
||||||
|
// See https://cordova.apache.org/docs/en/latest/cordova/events/events.html#deviceready
|
||||||
|
document.addEventListener('deviceready', onDeviceReady, false);
|
||||||
|
|
||||||
|
function onDeviceReady() {
|
||||||
|
// screen.orientation.lock('potrait');
|
||||||
|
var i = screen.orientation.lock('portrait');
|
||||||
|
console.log('Orientation is ' + screen.orientation.type);
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
var color = null;
|
||||||
|
|
||||||
|
function changecolor(e){
|
||||||
|
color = e;
|
||||||
|
}
|
||||||
|
|
||||||
|
function lanjut(){
|
||||||
|
if (color == null) {
|
||||||
|
// console.log("Tiada Baju");
|
||||||
|
toastr.options = {
|
||||||
|
"closeButton": true,
|
||||||
|
"debug": false,
|
||||||
|
"progressBar": true,
|
||||||
|
"positionClass": "toast-top-right",
|
||||||
|
"showDuration": "300",
|
||||||
|
"hideDuration": "1000",
|
||||||
|
"timeOut": "5000",
|
||||||
|
"extendedTimeOut": "1000",
|
||||||
|
"showEasing": "swing",
|
||||||
|
"hideEasing": "linear",
|
||||||
|
"showMethod": "fadeIn",
|
||||||
|
"hideMethod": "fadeOut"
|
||||||
|
};
|
||||||
|
|
||||||
|
toastr.error("<center>Warna Baju Harus Terpilih Terlebih Dahulu</center>");
|
||||||
|
$("#pilih_baju_select").focus();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
window.location.replace("desain_2.html?color="+color)
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,938 @@
|
|||||||
|
/*
|
||||||
|
* Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
* or more contributor license agreements. See the NOTICE file
|
||||||
|
* distributed with this work for additional information
|
||||||
|
* regarding copyright ownership. The ASF licenses this file
|
||||||
|
* to you under the Apache License, Version 2.0 (the
|
||||||
|
* "License"); you may not use this file except in compliance
|
||||||
|
* with the License. You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Wait for the deviceready event before using any of Cordova's device APIs.
|
||||||
|
// See https://cordova.apache.org/docs/en/latest/cordova/events/events.html#deviceready
|
||||||
|
document.addEventListener('deviceready', onDeviceReady, false);
|
||||||
|
|
||||||
|
function onDeviceReady() {
|
||||||
|
// screen.orientation.lock('potrait');
|
||||||
|
}
|
||||||
|
|
||||||
|
////// get warna baju //////
|
||||||
|
function $_GET(param) {
|
||||||
|
var vars = {};
|
||||||
|
window.location.href.replace( location.hash, '' ).replace(
|
||||||
|
/[?&]+([^=&]+)=?([^&]*)?/gi, // regexp
|
||||||
|
function( m, key, value ) { // callback
|
||||||
|
vars[key] = value !== undefined ? value : '';
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
if ( param ) {
|
||||||
|
return vars[param] ? vars[param] : null;
|
||||||
|
}
|
||||||
|
return vars;
|
||||||
|
}
|
||||||
|
|
||||||
|
var color = $_GET('color');
|
||||||
|
|
||||||
|
|
||||||
|
$("#sini_div_baju_color").attr("style","background-image: url(assets/img/"+color+".PNG); height: 350px; width: 100%;background-size: 100% 100%;");
|
||||||
|
///// end get warna baju ///////
|
||||||
|
|
||||||
|
function toastnya(id,mesej){
|
||||||
|
toastr.options = {
|
||||||
|
"closeButton": true,
|
||||||
|
"debug": false,
|
||||||
|
"progressBar": true,
|
||||||
|
"positionClass": "toast-top-right",
|
||||||
|
"showDuration": "300",
|
||||||
|
"hideDuration": "1000",
|
||||||
|
"timeOut": "5000",
|
||||||
|
"extendedTimeOut": "1000",
|
||||||
|
"showEasing": "swing",
|
||||||
|
"hideEasing": "linear",
|
||||||
|
"showMethod": "fadeIn",
|
||||||
|
"hideMethod": "fadeOut"
|
||||||
|
};
|
||||||
|
|
||||||
|
toastr.error("<center>"+mesej+"</center>");
|
||||||
|
$("#"+id).focus();
|
||||||
|
}
|
||||||
|
|
||||||
|
////// ini icon delete //////
|
||||||
|
var deleteIcon = "data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg version='1.1' id='Ebene_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='595.275px' height='595.275px' viewBox='200 215 230 470' xml:space='preserve'%3E%3Ccircle style='fill:%23F44336;' cx='299.76' cy='439.067' r='218.516'/%3E%3Cg%3E%3Crect x='267.162' y='307.978' transform='matrix(0.7071 -0.7071 0.7071 0.7071 -222.6202 340.6915)' style='fill:white;' width='65.545' height='262.18'/%3E%3Crect x='266.988' y='308.153' transform='matrix(0.7071 0.7071 -0.7071 0.7071 398.3889 -83.3116)' style='fill:white;' width='65.544' height='262.179'/%3E%3C/g%3E%3C/svg%3E";
|
||||||
|
|
||||||
|
var img = document.createElement('img');
|
||||||
|
img.src = deleteIcon;
|
||||||
|
//// end icon delete /////
|
||||||
|
|
||||||
|
///// responsive canvas /////
|
||||||
|
function resizeCanvas() {
|
||||||
|
const outerCanvasContainer = $('#sini_div_canvas')[0];
|
||||||
|
|
||||||
|
const ratio = canvas.getWidth() / canvas.getHeight();
|
||||||
|
const containerWidth = outerCanvasContainer.clientWidth;
|
||||||
|
const containerHeight = outerCanvasContainer.clientHeight;
|
||||||
|
|
||||||
|
const scale = containerWidth / canvas.getWidth();
|
||||||
|
const zoom = canvas.getZoom() * scale;
|
||||||
|
canvas.setDimensions({width: containerWidth, height: outerCanvasContainer.clientHeight});
|
||||||
|
canvas.setViewportTransform([zoom, 0, 0, zoom, 0, 0]);
|
||||||
|
}
|
||||||
|
|
||||||
|
$("#sini_div_canvas").resize(resizeCanvas);
|
||||||
|
//// end responsive canvas ///
|
||||||
|
|
||||||
|
var canvas = this.__canvas = new fabric.Canvas('c',{width: 900,
|
||||||
|
height: 1050});
|
||||||
|
// var canvas = new fabric.Canvas('c',{backgroundColor : "red"});
|
||||||
|
// canvas.backgroundColor= color;
|
||||||
|
canvas.renderTop();
|
||||||
|
|
||||||
|
canvas.isDrawingMode = false;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
resizeCanvas();
|
||||||
|
|
||||||
|
var drawing_width = 1; // ini utk drawing width
|
||||||
|
var drawing_color = null; // ini utk drawing color
|
||||||
|
|
||||||
|
///// ini change div editor /////
|
||||||
|
function change_editor(e){
|
||||||
|
if (e == 'bentuk') {
|
||||||
|
canvas.isDrawingMode = false;
|
||||||
|
$("#div_upload_image").attr('style','display : none')
|
||||||
|
var html= '<div class="pacific form-group">'+
|
||||||
|
'<label>Bentuk</label>'+
|
||||||
|
'<select class="form-control" onchange="change_persegi(1,value)" id="select_bentuk">'+
|
||||||
|
'<option disabled="" selected="">-Pilih Bentuk Persegi</option>'+
|
||||||
|
'<option value="rect">Segi Empat</option>'+
|
||||||
|
'<option value="tri">Segi Tiga</option>'+
|
||||||
|
'<option value="cir">Lingkaran</option>'+
|
||||||
|
'</select>'+
|
||||||
|
'</div>'+
|
||||||
|
'<div class="pacific form-group">'+
|
||||||
|
'<label>Fill Color</label>'+
|
||||||
|
'<select class="form-control" onchange="change_persegi(2,value)">'+
|
||||||
|
'<option disabled="" selected="">-Fill Color</option>'+
|
||||||
|
'<option value="no_color">Transparan</option>'+
|
||||||
|
'<option value="black">Hitam</option>'+
|
||||||
|
'<option value="white">Putih</option>'+
|
||||||
|
'<option value="red">Merah</option>'+
|
||||||
|
'<option value="blue">Biru</option>'+
|
||||||
|
'<option value="yellow">Kuning</option>'+
|
||||||
|
'</select>'+
|
||||||
|
'</div>'+
|
||||||
|
'<div class="pacific form-group">'+
|
||||||
|
'<label>Stroke Color</label>'+
|
||||||
|
'<select class="form-control" onchange="change_persegi(3,value)">'+
|
||||||
|
'<option disabled="" selected="">-Stroke Color</option>'+
|
||||||
|
'<option value="black">Hitam</option>'+
|
||||||
|
'<option value="white">Putih</option>'+
|
||||||
|
'<option value="red">Merah</option>'+
|
||||||
|
'<option value="blue">Biru</option>'+
|
||||||
|
'<option value="yellow">Kuning</option>'+
|
||||||
|
'</select>'+
|
||||||
|
'</div>'+
|
||||||
|
// '<div class="form-group">'+
|
||||||
|
// '<label>Stroke Width</label>'+
|
||||||
|
// '<input class="form-control" type="range" onchange="change_persegi(4,value)" value="1" min="1" max="20" style="display: block">'+
|
||||||
|
// '</div>'+
|
||||||
|
'<div class="pacific form-group" style="text-align:center">'+
|
||||||
|
'<button onclick="add_bentuk()" class="btn btn-info" style="font-weight: bold;">Tambah Bentuk</button>'
|
||||||
|
'</div>';
|
||||||
|
$("#sini_div_editor").html(html)
|
||||||
|
canvas.isDrawingMode = false;
|
||||||
|
}
|
||||||
|
if (e == 'drawing') {
|
||||||
|
canvas.isDrawingMode = false;
|
||||||
|
$("#div_upload_image").attr('style','display : none')
|
||||||
|
drawing_color = null;
|
||||||
|
drawing_width = 1;
|
||||||
|
var html= '<div class="pacific form-group">'+
|
||||||
|
'<label>Drawing Color</label>'+
|
||||||
|
'<select class="form-control" onchange="free_drawing(1,value)" id="select_drawing_color">'+
|
||||||
|
'<option disabled="" selected="">-Drawing Color</option>'+
|
||||||
|
'<option value="black">Hitam</option>'+
|
||||||
|
'<option value="white">Putih</option>'+
|
||||||
|
'<option value="red">Merah</option>'+
|
||||||
|
'<option value="blue">Biru</option>'+
|
||||||
|
'<option value="yellow">Kuning</option>'+
|
||||||
|
'</select>'+
|
||||||
|
'</div>'+
|
||||||
|
'<div class="pacific form-group">'+
|
||||||
|
'<label>Drawing Width</label>'+
|
||||||
|
'<input class="form-control" type="range" onchange="free_drawing(2,value)" value="1" min="1" max="20" style="display: block">'+
|
||||||
|
'</div>'+
|
||||||
|
'<div class="pacific form-group" style="text-align:center">'+
|
||||||
|
'<button onclick="add_drawing()" class="btn btn-info" style="font-weight: bold;">Tambah Drawing</button>'
|
||||||
|
'</div>';
|
||||||
|
$("#sini_div_editor").html(html)
|
||||||
|
|
||||||
|
}
|
||||||
|
if (e == 'teks') {
|
||||||
|
canvas.isDrawingMode = false;
|
||||||
|
$("#div_upload_image").attr('style','display : none')
|
||||||
|
drawing_color = null;
|
||||||
|
drawing_width = 1;
|
||||||
|
var html= '<div class="pacific form-group">'+
|
||||||
|
'<label>Inputan Teks</label>'+
|
||||||
|
// '<input class="form-control" type="teks" id="input_teks" oninput="teks_input(1,value)" >'+
|
||||||
|
'<textarea class="form-control" id="input_teks" oninput="teks_input(1,value)"></textarea>'+
|
||||||
|
'</div>'+
|
||||||
|
'<div class="pacific form-group">'+
|
||||||
|
'<label>Teks Font</label>'+
|
||||||
|
'<select class="form-control" onchange="teks_input(2,value)" id="select_teks_font">'+
|
||||||
|
'<option disabled="" selected="">-Pilih Teks Font</option>'+
|
||||||
|
'<option value="Times" style="font-family : Times">Times</option>'+
|
||||||
|
'<option value="Arial" style="font-family : Arial">Arial</option>'+
|
||||||
|
'<option value="Metal Mania" style="font-family : Metal Mania">Metal Mania</option>'+
|
||||||
|
'<option value="Pacifico">Pacifico</option>'+
|
||||||
|
'</select>'+
|
||||||
|
'</div>'+
|
||||||
|
'<div class="pacific form-group">'+
|
||||||
|
'<label>Teks Color</label>'+
|
||||||
|
'<input class="form-control" type="color" onchange="teks_input(3,value)" value="black" >'+
|
||||||
|
'</div>'+
|
||||||
|
'<div class="pacific form-group" style="text-align:center">'+
|
||||||
|
'<button onclick="add_teks()" class="btn btn-info" style="font-weight: bold;">Tambah Teks</button>'
|
||||||
|
'</div>';
|
||||||
|
$("#sini_div_editor").html(html)
|
||||||
|
|
||||||
|
}
|
||||||
|
if (e == 'image') {
|
||||||
|
canvas.isDrawingMode = false;
|
||||||
|
$("#div_upload_image").attr('style','display : block')
|
||||||
|
image_base64 = null;
|
||||||
|
$("#sini_div_editor").html(null)
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//// end change div editor ////
|
||||||
|
|
||||||
|
|
||||||
|
var idnya = 1; // ini id tiap object
|
||||||
|
var save_data = null; // ini data editor
|
||||||
|
|
||||||
|
////// render icon delete supaya bole delete //////
|
||||||
|
fabric.Object.prototype.controls.deleteControl = new fabric.Control({
|
||||||
|
x: 0.5,
|
||||||
|
y: -0.5,
|
||||||
|
offsetY: 16,
|
||||||
|
cursorStyle: 'pointer',
|
||||||
|
mouseUpHandler: deleteObject,
|
||||||
|
render: renderIcon,
|
||||||
|
cornerSize: 24
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
function deleteObject(eventData, target) {
|
||||||
|
|
||||||
|
var datanya = JSON.parse(save_data);
|
||||||
|
console.log(target);
|
||||||
|
// datanya.filter(function(item){ console.log(item) })
|
||||||
|
var myNewArray = datanya.filter(function(item){ return item['id'] != target['id'] })
|
||||||
|
myNewArray = JSON.stringify(myNewArray)
|
||||||
|
if (myNewArray == "[]") {
|
||||||
|
myNewArray = null;
|
||||||
|
}
|
||||||
|
save_data = myNewArray
|
||||||
|
console.log(JSON.parse(save_data));
|
||||||
|
|
||||||
|
if (save_data == null) {
|
||||||
|
$("#save_datanya11").attr('disabled','');
|
||||||
|
}
|
||||||
|
|
||||||
|
var canvas = target.canvas;
|
||||||
|
canvas.remove(target);
|
||||||
|
canvas.requestRenderAll();
|
||||||
|
}
|
||||||
|
|
||||||
|
function renderIcon(ctx, left, top, styleOverride, fabricObject) {
|
||||||
|
var size = this.cornerSize;
|
||||||
|
ctx.save();
|
||||||
|
ctx.translate(left, top);
|
||||||
|
ctx.rotate(fabric.util.degreesToRadians(fabricObject.angle));
|
||||||
|
ctx.drawImage(img, -size/2, -size/2, size, size);
|
||||||
|
ctx.restore();
|
||||||
|
}
|
||||||
|
////// end render icon delete //////
|
||||||
|
|
||||||
|
//// ini untuk bentuk persegi ////
|
||||||
|
var variable_segi = null;
|
||||||
|
function change_persegi(kat,nilai){
|
||||||
|
var segi;
|
||||||
|
if (variable_segi == null) {
|
||||||
|
if (kat == 1) {
|
||||||
|
segi = [{"segi" : nilai ,"fill" : '' , 'stroke' : '' }];
|
||||||
|
}
|
||||||
|
else if (kat == 2) {
|
||||||
|
segi = [{"segi" : '' ,"fill" : nilai , 'stroke' : '' }];
|
||||||
|
}
|
||||||
|
|
||||||
|
else if (kat == 3) {
|
||||||
|
segi = [{"segi" : '' ,"fill" : '' , 'stroke' : nilai }];
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
variable_segi = JSON.stringify(segi)
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// console.log(variable_segi)
|
||||||
|
variable_segi = JSON.parse(variable_segi);
|
||||||
|
// console.log(variable_segi)
|
||||||
|
if (kat == 1) {
|
||||||
|
variable_segi[0].segi = nilai;
|
||||||
|
}
|
||||||
|
else if (kat == 2) {
|
||||||
|
variable_segi[0].fill = nilai;
|
||||||
|
}
|
||||||
|
else if (kat == 3) {
|
||||||
|
variable_segi[0].stroke = nilai;
|
||||||
|
}
|
||||||
|
|
||||||
|
variable_segi = JSON.stringify(variable_segi)
|
||||||
|
// console.log(variable_segi)
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function add_bentuk(){
|
||||||
|
if (variable_segi == null) {
|
||||||
|
toastnya('select_bentuk','Bentuk Harus Terpilih');
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
var segi = JSON.parse(variable_segi);
|
||||||
|
if (segi[0].segi == '' || segi[0].segi == null || segi[0].fill == '' || segi[0].fill == null || segi[0].stroke == '' || segi[0].stroke == null ) {
|
||||||
|
toastnya('select_bentuk','Semua Pilihan Harus DIpilih');
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
var fillnya;
|
||||||
|
if (segi[0].fill == 'no_color') {
|
||||||
|
fillnya = 'rgba(0,0,0,0)'
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
fillnya = segi[0].fill
|
||||||
|
}
|
||||||
|
|
||||||
|
if (segi[0].segi == 'rect') {
|
||||||
|
segi_empat(fillnya,segi[0].stroke,'segi_empat');
|
||||||
|
// console.log(segi[0].stroke_width)
|
||||||
|
}
|
||||||
|
else if (segi[0].segi == 'tri') {
|
||||||
|
segi_tiga(fillnya,segi[0].stroke,'segi_tiga');
|
||||||
|
// console.log(segi[0].stroke_width)
|
||||||
|
}
|
||||||
|
else if (segi[0].segi == 'cir') {
|
||||||
|
segi_lingkaran(fillnya,segi[0].stroke,'lingkaran');
|
||||||
|
// console.log(segi[0].stroke_width)
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
// variable_segi = null;
|
||||||
|
// $("#sini_div_editor").html(null)
|
||||||
|
document.getElementById("back_to_top").click();
|
||||||
|
// $("#editor_select").val($("#editor_select option:first").val());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function segi_empat(fillnya,stroke,bentuk) {
|
||||||
|
var rect = new fabric.Rect({
|
||||||
|
id : idnya,
|
||||||
|
kategori : bentuk,
|
||||||
|
angle:0,
|
||||||
|
left: 400,
|
||||||
|
top: 350,
|
||||||
|
fill: fillnya,
|
||||||
|
width: 200,
|
||||||
|
height: 200,
|
||||||
|
// objectCaching: true,
|
||||||
|
stroke: stroke,
|
||||||
|
strokeWidth: 10,
|
||||||
|
// padding : 5
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
var datanya = [{"id" : idnya ,"kategori" : bentuk, "left" : 400 , "top" : 350, "width" : 200 , "height" : 200 , "angle" :0 , "fill" : fillnya , "stroke" : stroke }];
|
||||||
|
|
||||||
|
if (save_data == null) {
|
||||||
|
datanya = JSON.stringify(datanya);
|
||||||
|
save_data = datanya;
|
||||||
|
// console.log(JSON.parse(save_data))
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
save_data = JSON.parse(save_data);
|
||||||
|
save_data = save_data.concat(datanya)
|
||||||
|
save_data = JSON.stringify(save_data);
|
||||||
|
// console.log(JSON.parse(save_data))
|
||||||
|
// console.log(save_data)
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
canvas.add(rect);
|
||||||
|
canvas.setActiveObject(rect);
|
||||||
|
idnya = idnya + 1;
|
||||||
|
$("#save_datanya11").removeAttr('disabled');
|
||||||
|
}
|
||||||
|
|
||||||
|
function segi_tiga(fillnya,stroke,bentuk) {
|
||||||
|
var tri = new fabric.Triangle({
|
||||||
|
id : idnya,
|
||||||
|
kategori : bentuk,
|
||||||
|
angle:0,
|
||||||
|
left: 400,
|
||||||
|
top: 350,
|
||||||
|
fill: fillnya,
|
||||||
|
width: 200,
|
||||||
|
height: 200,
|
||||||
|
// objectCaching: true,
|
||||||
|
stroke: stroke,
|
||||||
|
strokeWidth: 10,
|
||||||
|
// padding : 5
|
||||||
|
});
|
||||||
|
|
||||||
|
var datanya = [{"id" : idnya ,"kategori" : bentuk, "left" : 400 , "top" : 350, "width" : 200 , "height" : 200 , "angle" :0 , "fill" : fillnya , "stroke" : stroke }];
|
||||||
|
|
||||||
|
if (save_data == null) {
|
||||||
|
datanya = JSON.stringify(datanya);
|
||||||
|
save_data = datanya;
|
||||||
|
// console.log(JSON.parse(save_data))
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
save_data = JSON.parse(save_data);
|
||||||
|
save_data = save_data.concat(datanya)
|
||||||
|
save_data = JSON.stringify(save_data);
|
||||||
|
// console.log(JSON.parse(save_data))
|
||||||
|
// console.log(save_data)
|
||||||
|
}
|
||||||
|
|
||||||
|
canvas.add(tri);
|
||||||
|
canvas.setActiveObject(tri);
|
||||||
|
idnya = idnya + 1;
|
||||||
|
$("#save_datanya11").removeAttr('disabled');
|
||||||
|
}
|
||||||
|
|
||||||
|
function segi_lingkaran(fillnya,stroke,bentuk) {
|
||||||
|
var cir = new fabric.Circle({
|
||||||
|
id : idnya,
|
||||||
|
kategori : bentuk,
|
||||||
|
angle:0,
|
||||||
|
left: 400,
|
||||||
|
top: 350,
|
||||||
|
fill: fillnya,
|
||||||
|
radius : 200,
|
||||||
|
// objectCaching: true,
|
||||||
|
stroke: stroke,
|
||||||
|
strokeWidth: 10,
|
||||||
|
// padding : 5
|
||||||
|
});
|
||||||
|
|
||||||
|
var datanya = [{"id" : idnya ,"kategori" : bentuk, "left" : 400 , "top" : 350, "radius" : 200 , "angle" :0 , "fill" : fillnya , "stroke" : stroke , "scaleX" : 1, "scaleY" : 1}];
|
||||||
|
|
||||||
|
if (save_data == null) {
|
||||||
|
datanya = JSON.stringify(datanya);
|
||||||
|
save_data = datanya;
|
||||||
|
// console.log(JSON.parse(save_data))
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
save_data = JSON.parse(save_data);
|
||||||
|
save_data = save_data.concat(datanya)
|
||||||
|
save_data = JSON.stringify(save_data);
|
||||||
|
// console.log(JSON.parse(save_data))
|
||||||
|
// console.log(save_data)
|
||||||
|
}
|
||||||
|
|
||||||
|
console.log(cir);
|
||||||
|
canvas.add(cir);
|
||||||
|
canvas.setActiveObject(cir);
|
||||||
|
idnya = idnya + 1;
|
||||||
|
$("#save_datanya11").removeAttr('disabled');
|
||||||
|
}
|
||||||
|
//// end untuk bentuk persegi ////
|
||||||
|
|
||||||
|
//// ini untuk free drawing ////
|
||||||
|
function free_drawing(kat,nilai){
|
||||||
|
// console.log(kat,nilai)
|
||||||
|
var draw;
|
||||||
|
if (kat == 1) {
|
||||||
|
drawing_color = nilai;
|
||||||
|
}
|
||||||
|
else if (kat == 2) {
|
||||||
|
drawing_width = nilai;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function add_drawing(){
|
||||||
|
// console.log(variable_free_drawing)
|
||||||
|
if (drawing_color == null) {
|
||||||
|
toastnya('select_drawing_color','Warna Harus Dipilih');
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// console.log("jalankan")
|
||||||
|
// drawing = JSON.parse(variable_free_drawing)
|
||||||
|
canvas.isDrawingMode = true;
|
||||||
|
canvas.freeDrawingBrush.width = drawing_width;
|
||||||
|
canvas.freeDrawingBrush.color = drawing_color;
|
||||||
|
// variable_segi = null;
|
||||||
|
var html = '<div class="pacific form-group" style="text-align:center">'+
|
||||||
|
'<button onclick="stop_drawing()" class="btn btn-warning" style="font-weight: bold;">Stop Drawing</button>'
|
||||||
|
'</div>';
|
||||||
|
$("#sini_div_editor").html(html)
|
||||||
|
document.getElementById("back_to_top").click();
|
||||||
|
$("#editor_select").val($("#editor_select option:first").val());
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
canvas.on('path:created', function(opt) {
|
||||||
|
// opt.path is a fabric.Path ready to use and already on the canvas
|
||||||
|
// console.log(opt.path instanceof fabric.Path)
|
||||||
|
// this is the path data
|
||||||
|
// console.log(opt.path);
|
||||||
|
// console.log(JSON.stringify(opt.path.path));
|
||||||
|
var path = opt.path.path.map(chunk => {return chunk.join(' ');}).join(' ');
|
||||||
|
// console.log(opt.path.height)
|
||||||
|
console.log(opt.path)
|
||||||
|
var datanya = [{"id" : idnya ,"kategori" : 'free_drawing', "path" : path , "left" : opt.path.left , "top" : opt.path.top, "width" : opt.path.width , "height" : opt.path.height , "stroke_width" : opt.path.strokeWidth , "stroke" : opt.path.stroke }];
|
||||||
|
console.log(datanya)
|
||||||
|
opt.path.idnya = fabric.Object.__uid++
|
||||||
|
opt.path.id = idnya
|
||||||
|
|
||||||
|
if (save_data == null) {
|
||||||
|
datanya = JSON.stringify(datanya);
|
||||||
|
save_data = datanya;
|
||||||
|
// console.log(JSON.parse(save_data))
|
||||||
|
console.log(save_data)
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
save_data = JSON.parse(save_data);
|
||||||
|
save_data = save_data.concat(datanya)
|
||||||
|
save_data = JSON.stringify(save_data);
|
||||||
|
// console.log(JSON.parse(save_data))
|
||||||
|
console.log(save_data)
|
||||||
|
}
|
||||||
|
idnya = idnya + 1;
|
||||||
|
$("#save_datanya11").removeAttr('disabled');
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
function stop_drawing(){
|
||||||
|
canvas.isDrawingMode = false;
|
||||||
|
$("#sini_div_editor").html(null)
|
||||||
|
document.getElementById("back_to_top").click();
|
||||||
|
}
|
||||||
|
|
||||||
|
// function hapus_path() {
|
||||||
|
// canvas.getObjects('path').forEach((path) => {
|
||||||
|
// // if(path.senderId === client.id){
|
||||||
|
// canvas.remove(path);
|
||||||
|
// // }
|
||||||
|
// });
|
||||||
|
// }
|
||||||
|
|
||||||
|
//// end utk free drawing ////
|
||||||
|
|
||||||
|
//// ini utk input teks ////
|
||||||
|
var teks_inputan = null;
|
||||||
|
var teks_font = null;
|
||||||
|
var teks_color = "black";
|
||||||
|
|
||||||
|
function teks_input(kat,nilai){
|
||||||
|
// console.log(kat,nilai)
|
||||||
|
if (kat == 1) {
|
||||||
|
teks_inputan = nilai;
|
||||||
|
}
|
||||||
|
else if (kat == 2) {
|
||||||
|
teks_font = nilai;
|
||||||
|
// console.log(teks_font)
|
||||||
|
}
|
||||||
|
else if (kat == 3) {
|
||||||
|
teks_color = nilai;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function add_teks(){
|
||||||
|
// console.log(variable_free_drawing)
|
||||||
|
if (teks_inputan == null) {
|
||||||
|
toastnya('input_teks','Inputan Harus Terisi');
|
||||||
|
}
|
||||||
|
else if (teks_font == null) {
|
||||||
|
toastnya('select_teks_font','Font Harus Terpilih');
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
tambah_teks(teks_inputan,teks_color,teks_font)
|
||||||
|
document.getElementById("back_to_top").click();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function tambah_teks(input,fill,family){
|
||||||
|
var text = new fabric.Text(input, {
|
||||||
|
id : idnya,
|
||||||
|
fill: fill ,
|
||||||
|
fontSize: 100,
|
||||||
|
left: 400,
|
||||||
|
top: 350,
|
||||||
|
fontFamily: family,
|
||||||
|
});
|
||||||
|
|
||||||
|
var datanya = [{"id" : idnya ,"kategori" : "teks", "input_teks" : input, "left" : 400 , "top" : 350, "width" : "" , "height" : "200" , "angle" :0 , "fill" : fill , "fontFamily" : family , "angle" : 0 , "scaleX" : 1, "scaleY" : 1}];
|
||||||
|
|
||||||
|
if (save_data == null) {
|
||||||
|
datanya = JSON.stringify(datanya);
|
||||||
|
save_data = datanya;
|
||||||
|
// console.log(JSON.parse(save_data))
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
save_data = JSON.parse(save_data);
|
||||||
|
save_data = save_data.concat(datanya)
|
||||||
|
save_data = JSON.stringify(save_data);
|
||||||
|
// console.log(JSON.parse(save_data))
|
||||||
|
// console.log(save_data)
|
||||||
|
}
|
||||||
|
|
||||||
|
// text
|
||||||
|
// Render the Text on Canvas
|
||||||
|
// console.log(text.kategori);
|
||||||
|
text.kategori = "teks"
|
||||||
|
console.log(text)
|
||||||
|
canvas.add(text);
|
||||||
|
canvas.setActiveObject(text);
|
||||||
|
idnya = idnya + 1;
|
||||||
|
$("#save_datanya11").removeAttr('disabled');
|
||||||
|
}
|
||||||
|
//// end utk input teks ////
|
||||||
|
|
||||||
|
//// ini utk upload image ////
|
||||||
|
var image_base64 = null;
|
||||||
|
|
||||||
|
$("#input_upload_image").change(function(){
|
||||||
|
readImage( this );
|
||||||
|
// console.log("berubah")
|
||||||
|
// console.log(image_base64)
|
||||||
|
});
|
||||||
|
|
||||||
|
function readImage(input) {
|
||||||
|
if ( input.files && input.files[0] ) {
|
||||||
|
var FR= new FileReader();
|
||||||
|
var size = input.files[0].size / 1024
|
||||||
|
var type = input.files[0].type;
|
||||||
|
|
||||||
|
|
||||||
|
// console.log(size)
|
||||||
|
console.log(type)
|
||||||
|
if (size > 1500) {
|
||||||
|
toastnya("input_upload_image","Image yang diupload maksimal 1,4 MB")
|
||||||
|
$("#input_upload_image").val(null)
|
||||||
|
image_base64 = null
|
||||||
|
}
|
||||||
|
|
||||||
|
else if (type != 'image/jpeg' && type != 'image/png') {
|
||||||
|
toastnya("input_upload_image","File yang diupload harus berekstensi foto")
|
||||||
|
$("#input_upload_image").val(null)
|
||||||
|
image_base64 = null
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
FR.onload = function(e) {
|
||||||
|
// $('#img').attr( "src", e.target.result );
|
||||||
|
// $('#base').text( e.target.result );
|
||||||
|
// console.log(e.target.result)
|
||||||
|
// simpan_image(e.target.result)
|
||||||
|
image_base64 = e.target.result
|
||||||
|
|
||||||
|
};
|
||||||
|
FR.readAsDataURL( input.files[0] );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function sleep(ms) {
|
||||||
|
return new Promise(resolve => setTimeout(resolve, ms));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function add_image(){
|
||||||
|
|
||||||
|
var x = document.createElement("IMG");
|
||||||
|
x.setAttribute("src", image_base64);
|
||||||
|
x.setAttribute("id", 'img_yg_terupload_'+idnya);
|
||||||
|
x.async = true;
|
||||||
|
document.getElementById("sini_tampung_image").appendChild(x);
|
||||||
|
// await sleep(500);
|
||||||
|
setTimeout(function(){
|
||||||
|
console.log("heheheh dulu")
|
||||||
|
var imgElement = document.getElementById('img_yg_terupload_'+idnya);
|
||||||
|
var imgInstance = new fabric.Image(imgElement, {
|
||||||
|
id : idnya,
|
||||||
|
left: 400,
|
||||||
|
top: 350,
|
||||||
|
angle: 0,
|
||||||
|
opacity: 1
|
||||||
|
});
|
||||||
|
imgInstance.kategori = "foto"
|
||||||
|
canvas.add(imgInstance);
|
||||||
|
canvas.setActiveObject(imgInstance);
|
||||||
|
var datanya = [{"id" : idnya ,"kategori" : "foto", "detail" : image_base64, "scaleX" : 1 , "scaleY" : 1 , "left" : 400 , "top" : 350, "angle" :0 }];
|
||||||
|
if (save_data == null) {
|
||||||
|
datanya = JSON.stringify(datanya);
|
||||||
|
save_data = datanya;
|
||||||
|
// console.log(JSON.parse(save_data))
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
save_data = JSON.parse(save_data);
|
||||||
|
save_data = save_data.concat(datanya)
|
||||||
|
save_data = JSON.stringify(save_data);
|
||||||
|
// console.log(JSON.parse(save_data))
|
||||||
|
// console.log(save_data)
|
||||||
|
}
|
||||||
|
idnya = idnya + 1;
|
||||||
|
document.getElementById("back_to_top").click();
|
||||||
|
$("#save_datanya11").removeAttr('disabled');
|
||||||
|
}, 200);
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
// function try_remove(){
|
||||||
|
// document.getElementById("img_yg_terupload_1").remove();
|
||||||
|
// // var elem = document.getElementById(id);
|
||||||
|
// }
|
||||||
|
//// end utk upload image ////
|
||||||
|
|
||||||
|
//// sini canvas event /////
|
||||||
|
canvas.on('object:moved', function(options) {
|
||||||
|
// console.log(options)
|
||||||
|
var obj = canvas.getActiveObject();
|
||||||
|
var datanya = JSON.parse(save_data);
|
||||||
|
var id;
|
||||||
|
|
||||||
|
for (var i = 0; i < datanya.length; ++i) {
|
||||||
|
if (datanya[i].id == options['target']['id']) {
|
||||||
|
id = i;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if (options['target']['kategori'] == 'segi_empat' || options['target']['kategori'] == 'segi_tiga' ) {
|
||||||
|
datanya[id].angle = options['target']['angle'];
|
||||||
|
datanya[id].height = Math.floor(obj.getScaledHeight());
|
||||||
|
datanya[id].left = options['target']['left'];
|
||||||
|
datanya[id].top = options['target']['top'];
|
||||||
|
datanya[id].width = Math.floor(obj.getScaledWidth());
|
||||||
|
}
|
||||||
|
|
||||||
|
if (options['target']['kategori'] == 'foto' || options['target']['kategori'] == 'teks' || options['target']['kategori'] == 'lingkaran' ) {
|
||||||
|
// console.log(options['target'])
|
||||||
|
datanya[id].angle = options['target']['angle'];
|
||||||
|
datanya[id].height = Math.floor(obj.getScaledHeight());
|
||||||
|
datanya[id].left = options['target']['left'];
|
||||||
|
datanya[id].top = options['target']['top'];
|
||||||
|
datanya[id].scaleY = options['target']['scaleY'];
|
||||||
|
datanya[id].scaleX = options['target']['scaleX'];
|
||||||
|
datanya[id].width = Math.floor(obj.getScaledWidth());
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
save_data = JSON.stringify(datanya);
|
||||||
|
// console.log(JSON.parse(save_data) )
|
||||||
|
// console.log(save_data)
|
||||||
|
// console.log(options['target']['kategori'])
|
||||||
|
// simpan(datanya,'update',kategori,id);
|
||||||
|
});
|
||||||
|
|
||||||
|
canvas.on('object:rotated', function(options) {
|
||||||
|
// console.log(options)
|
||||||
|
var obj = canvas.getActiveObject();
|
||||||
|
var datanya = JSON.parse(save_data);
|
||||||
|
var id;
|
||||||
|
|
||||||
|
for (var i = 0; i < datanya.length; ++i) {
|
||||||
|
if (datanya[i].id == options['target']['id']) {
|
||||||
|
id = i;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if (options['target']['kategori'] == 'segi_empat' || options['target']['kategori'] == 'segi_tiga' ) {
|
||||||
|
datanya[id].angle = options['target']['angle'];
|
||||||
|
datanya[id].height = Math.floor(obj.getScaledHeight());
|
||||||
|
datanya[id].left = options['target']['left'];
|
||||||
|
datanya[id].top = options['target']['top'];
|
||||||
|
datanya[id].width = Math.floor(obj.getScaledWidth());
|
||||||
|
}
|
||||||
|
|
||||||
|
if (options['target']['kategori'] == 'foto' || options['target']['kategori'] == 'teks' || options['target']['kategori'] == 'lingkaran' ) {
|
||||||
|
// console.log(options['target'])
|
||||||
|
datanya[id].angle = options['target']['angle'];
|
||||||
|
datanya[id].height = Math.floor(obj.getScaledHeight());
|
||||||
|
datanya[id].left = options['target']['left'];
|
||||||
|
datanya[id].top = options['target']['top'];
|
||||||
|
datanya[id].scaleY = options['target']['scaleY'];
|
||||||
|
datanya[id].scaleX = options['target']['scaleX'];
|
||||||
|
datanya[id].width = Math.floor(obj.getScaledWidth());
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
save_data = JSON.stringify(datanya);
|
||||||
|
// console.log(JSON.parse(save_data) )
|
||||||
|
console.log(save_data)
|
||||||
|
});
|
||||||
|
|
||||||
|
canvas.on('object:scaled', function(options) {
|
||||||
|
console.log(options)
|
||||||
|
var obj = canvas.getActiveObject();
|
||||||
|
var datanya = JSON.parse(save_data);
|
||||||
|
var id;
|
||||||
|
|
||||||
|
for (var i = 0; i < datanya.length; ++i) {
|
||||||
|
if (datanya[i].id == options['target']['id']) {
|
||||||
|
id = i;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if (options['target']['kategori'] == 'segi_empat' || options['target']['kategori'] == 'segi_tiga' ) {
|
||||||
|
datanya[id].angle = options['target']['angle'];
|
||||||
|
datanya[id].height = Math.floor(obj.getScaledHeight());
|
||||||
|
datanya[id].left = options['target']['left'];
|
||||||
|
datanya[id].top = options['target']['top'];
|
||||||
|
datanya[id].width = Math.floor(obj.getScaledWidth());
|
||||||
|
}
|
||||||
|
|
||||||
|
if (options['target']['kategori'] == 'foto' || options['target']['kategori'] == 'teks' || options['target']['kategori'] == 'lingkaran' ) {
|
||||||
|
// console.log(options['target'])
|
||||||
|
datanya[id].angle = options['target']['angle'];
|
||||||
|
datanya[id].height = Math.floor(obj.getScaledHeight());
|
||||||
|
datanya[id].left = options['target']['left'];
|
||||||
|
datanya[id].top = options['target']['top'];
|
||||||
|
datanya[id].scaleY = options['target']['scaleY'];
|
||||||
|
datanya[id].scaleX = options['target']['scaleX'];
|
||||||
|
datanya[id].width = Math.floor(obj.getScaledWidth());
|
||||||
|
}
|
||||||
|
|
||||||
|
// console.log(save_data)
|
||||||
|
save_data = JSON.stringify(datanya);
|
||||||
|
// console.log(JSON.parse(save_data) )
|
||||||
|
console.log(save_data)
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
canvas.on('selection:created', function(options) {
|
||||||
|
// console.log(options['target'])
|
||||||
|
|
||||||
|
if (options['target']['strokeLineCap'] == 'round' && options['target']['strokeLineJoin'] == 'round') {
|
||||||
|
// console.log('ini free drawing')
|
||||||
|
var id = options['target']['idnya']
|
||||||
|
// console.log("ini idnya : "+id)
|
||||||
|
var ini_array;
|
||||||
|
// console.log(canvas['_objects'])
|
||||||
|
var object_canvas = canvas['_objects'];
|
||||||
|
for (var i = 0; i < object_canvas.length; i++) {
|
||||||
|
// console.log(object_canvas[i].idnya)
|
||||||
|
if (object_canvas[i].idnya == options['target']['idnya']) {
|
||||||
|
ini_array = i;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// console.log("ini id array nya : "+ini_array)
|
||||||
|
canvas['_objects'][ini_array].lockScalingX = true;
|
||||||
|
canvas['_objects'][ini_array].lockScalingY = true;
|
||||||
|
canvas['_objects'][ini_array].lockRotation = true;
|
||||||
|
canvas['_objects'][ini_array].lockMovementX = true;
|
||||||
|
canvas['_objects'][ini_array].lockMovementY = true;
|
||||||
|
// this.__canvases.push(canvas);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
canvas.on('selection:updated', function(options) {
|
||||||
|
// console.log(options['target'])
|
||||||
|
|
||||||
|
// console.log(options)
|
||||||
|
if (options['target']['strokeLineCap'] == 'round' && options['target']['strokeLineJoin'] == 'round') {
|
||||||
|
// console.log('ini free drawing')
|
||||||
|
var id = options['target']['idnya']
|
||||||
|
// console.log("ini idnya : "+id)
|
||||||
|
var ini_array;
|
||||||
|
// console.log(canvas['_objects'])
|
||||||
|
var object_canvas = canvas['_objects'];
|
||||||
|
for (var i = 0; i < object_canvas.length; i++) {
|
||||||
|
// console.log(object_canvas[i].idnya)
|
||||||
|
if (object_canvas[i].idnya == options['target']['idnya']) {
|
||||||
|
ini_array = i;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// console.log("ini id array nya : "+ini_array)
|
||||||
|
canvas['_objects'][ini_array].lockScalingX = true;
|
||||||
|
canvas['_objects'][ini_array].lockScalingY = true;
|
||||||
|
canvas['_objects'][ini_array].lockRotation = true;
|
||||||
|
canvas['_objects'][ini_array].lockMovementX = true;
|
||||||
|
canvas['_objects'][ini_array].lockMovementY = true;
|
||||||
|
// this.__canvases.push(canvas);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
//// end canvas event /////
|
||||||
|
|
||||||
|
function save_desain() {
|
||||||
|
var penyimpanan = localStorage.getItem('simpanan')
|
||||||
|
var a = JSON.parse(save_data);
|
||||||
|
var id = 1;
|
||||||
|
if (penyimpanan == null) {
|
||||||
|
var ini = [{"id" : id ,"canvas" : color ,"isi" : a}];
|
||||||
|
// localStorage.setItem('coba2', JSON.stringify(ini));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
id = JSON.parse(penyimpanan);
|
||||||
|
id = id[id.length-1].id + 1
|
||||||
|
var ini = [{"id" : id ,"canvas" : color ,"isi" : a}];
|
||||||
|
penyimpanan = JSON.parse(penyimpanan)
|
||||||
|
ini = penyimpanan.concat(ini);
|
||||||
|
// localStorage.setItem('coba2', JSON.stringify(ini));
|
||||||
|
}
|
||||||
|
localStorage.setItem('simpanan', JSON.stringify(ini));
|
||||||
|
window.location.replace("desain_complete.html?id="+id);
|
||||||
|
}
|
||||||
|
|
||||||
|
function cek_simpanan(){
|
||||||
|
// localStorage.removeItem('simpanan')
|
||||||
|
// alert(localStorage.getItem('coba2'))
|
||||||
|
console.log(JSON.parse(localStorage.getItem('simpanan')))
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,763 @@
|
|||||||
|
/*
|
||||||
|
* Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
* or more contributor license agreements. See the NOTICE file
|
||||||
|
* distributed with this work for additional information
|
||||||
|
* regarding copyright ownership. The ASF licenses this file
|
||||||
|
* to you under the Apache License, Version 2.0 (the
|
||||||
|
* "License"); you may not use this file except in compliance
|
||||||
|
* with the License. You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Wait for the deviceready event before using any of Cordova's device APIs.
|
||||||
|
// See https://cordova.apache.org/docs/en/latest/cordova/events/events.html#deviceready
|
||||||
|
document.addEventListener('deviceready', onDeviceReady, false);
|
||||||
|
|
||||||
|
function onDeviceReady() {
|
||||||
|
// screen.orientation.lock('potrait');
|
||||||
|
}
|
||||||
|
|
||||||
|
////// get warna baju //////
|
||||||
|
function $_GET(param) {
|
||||||
|
var vars = {};
|
||||||
|
window.location.href.replace( location.hash, '' ).replace(
|
||||||
|
/[?&]+([^=&]+)=?([^&]*)?/gi, // regexp
|
||||||
|
function( m, key, value ) { // callback
|
||||||
|
vars[key] = value !== undefined ? value : '';
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
if ( param ) {
|
||||||
|
return vars[param] ? vars[param] : null;
|
||||||
|
}
|
||||||
|
return vars;
|
||||||
|
}
|
||||||
|
|
||||||
|
var color = $_GET('color');
|
||||||
|
|
||||||
|
if (color == 'white') {
|
||||||
|
color = 'rgba(0,0,0,0)';
|
||||||
|
}
|
||||||
|
///// end get warna baju ///////
|
||||||
|
|
||||||
|
function toastnya(id,mesej){
|
||||||
|
toastr.options = {
|
||||||
|
"closeButton": true,
|
||||||
|
"debug": false,
|
||||||
|
"progressBar": true,
|
||||||
|
"positionClass": "toast-top-right",
|
||||||
|
"showDuration": "300",
|
||||||
|
"hideDuration": "1000",
|
||||||
|
"timeOut": "5000",
|
||||||
|
"extendedTimeOut": "1000",
|
||||||
|
"showEasing": "swing",
|
||||||
|
"hideEasing": "linear",
|
||||||
|
"showMethod": "fadeIn",
|
||||||
|
"hideMethod": "fadeOut"
|
||||||
|
};
|
||||||
|
|
||||||
|
toastr.error("<center>"+mesej+"</center>");
|
||||||
|
$("#"+id).focus();
|
||||||
|
}
|
||||||
|
|
||||||
|
////// ini icon delete //////
|
||||||
|
var deleteIcon = "data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg version='1.1' id='Ebene_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='595.275px' height='595.275px' viewBox='200 215 230 470' xml:space='preserve'%3E%3Ccircle style='fill:%23F44336;' cx='299.76' cy='439.067' r='218.516'/%3E%3Cg%3E%3Crect x='267.162' y='307.978' transform='matrix(0.7071 -0.7071 0.7071 0.7071 -222.6202 340.6915)' style='fill:white;' width='65.545' height='262.18'/%3E%3Crect x='266.988' y='308.153' transform='matrix(0.7071 0.7071 -0.7071 0.7071 398.3889 -83.3116)' style='fill:white;' width='65.544' height='262.179'/%3E%3C/g%3E%3C/svg%3E";
|
||||||
|
|
||||||
|
var img = document.createElement('img');
|
||||||
|
img.src = deleteIcon;
|
||||||
|
//// end icon delete /////
|
||||||
|
|
||||||
|
///// responsive canvas /////
|
||||||
|
function resizeCanvas() {
|
||||||
|
const outerCanvasContainer = $('.fabric-canvas-wrapper')[0];
|
||||||
|
|
||||||
|
const ratio = canvas.getWidth() / canvas.getHeight();
|
||||||
|
const containerWidth = outerCanvasContainer.clientWidth;
|
||||||
|
const containerHeight = outerCanvasContainer.clientHeight;
|
||||||
|
|
||||||
|
const scale = containerWidth / canvas.getWidth();
|
||||||
|
const zoom = canvas.getZoom() * scale;
|
||||||
|
canvas.setDimensions({width: containerWidth, height: containerWidth / ratio});
|
||||||
|
canvas.setViewportTransform([zoom, 0, 0, zoom, 0, 0]);
|
||||||
|
}
|
||||||
|
|
||||||
|
$(window).resize(resizeCanvas);
|
||||||
|
//// end responsive canvas ///
|
||||||
|
|
||||||
|
var canvas = this.__canvas = new fabric.Canvas('c',{backgroundColor : color,width: 1050,
|
||||||
|
height: 950});
|
||||||
|
// var canvas = new fabric.Canvas('c',{backgroundColor : "red"});
|
||||||
|
canvas.backgroundColor= color;
|
||||||
|
canvas.renderTop();
|
||||||
|
|
||||||
|
canvas.isDrawingMode = false;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
resizeCanvas();
|
||||||
|
|
||||||
|
var drawing_width = 1; // ini utk drawing width
|
||||||
|
var drawing_color = null; // ini utk drawing color
|
||||||
|
|
||||||
|
///// ini change div editor /////
|
||||||
|
function change_editor(e){
|
||||||
|
if (e == 'bentuk') {
|
||||||
|
let html= '<div class="form-group">'+
|
||||||
|
'<label>Bentuk</label>'+
|
||||||
|
'<select class="form-control" onchange="change_persegi(1,value)" id="select_bentuk">'+
|
||||||
|
'<option disabled="" selected="">-Pilih Bentuk Persegi</option>'+
|
||||||
|
'<option value="rect">Segi Empat</option>'+
|
||||||
|
'<option value="tri">Segi Tiga</option>'+
|
||||||
|
'<option value="cir">Lingkaran</option>'+
|
||||||
|
'</select>'+
|
||||||
|
'</div>'+
|
||||||
|
'<div class="form-group">'+
|
||||||
|
'<label>Fill Color</label>'+
|
||||||
|
'<select class="form-control" onchange="change_persegi(2,value)">'+
|
||||||
|
'<option disabled="" selected="">-Fill Color</option>'+
|
||||||
|
'<option value="no_color">Transparan</option>'+
|
||||||
|
'<option value="black">Hitam</option>'+
|
||||||
|
'<option value="white">Putih</option>'+
|
||||||
|
'<option value="red">Merah</option>'+
|
||||||
|
'<option value="blue">Biru</option>'+
|
||||||
|
'<option value="yellow">Kuning</option>'+
|
||||||
|
'</select>'+
|
||||||
|
'</div>'+
|
||||||
|
'<div class="form-group">'+
|
||||||
|
'<label>Stroke Color</label>'+
|
||||||
|
'<select class="form-control" onchange="change_persegi(3,value)">'+
|
||||||
|
'<option disabled="" selected="">-Stroke Color</option>'+
|
||||||
|
'<option value="black">Hitam</option>'+
|
||||||
|
'<option value="white">Putih</option>'+
|
||||||
|
'<option value="red">Merah</option>'+
|
||||||
|
'<option value="blue">Biru</option>'+
|
||||||
|
'<option value="yellow">Kuning</option>'+
|
||||||
|
'</select>'+
|
||||||
|
'</div>'+
|
||||||
|
// '<div class="form-group">'+
|
||||||
|
// '<label>Stroke Width</label>'+
|
||||||
|
// '<input class="form-control" type="range" onchange="change_persegi(4,value)" value="1" min="1" max="20" style="display: block">'+
|
||||||
|
// '</div>'+
|
||||||
|
'<div class="form-group" style="text-align:center">'+
|
||||||
|
'<button onclick="add_bentuk()" class="btn btn-info" style="font-weight: bold;">Tambah Bentuk</button>'
|
||||||
|
'</div>';
|
||||||
|
$("#sini_div_editor").html(html)
|
||||||
|
canvas.isDrawingMode = false;
|
||||||
|
}
|
||||||
|
if (e == 'drawing') {
|
||||||
|
drawing_color = null;
|
||||||
|
drawing_width = 1;
|
||||||
|
let html= '<div class="form-group">'+
|
||||||
|
'<label>Drawing Color</label>'+
|
||||||
|
'<select class="form-control" onchange="free_drawing(1,value)" id="select_drawing_color">'+
|
||||||
|
'<option disabled="" selected="">-Drawing Color</option>'+
|
||||||
|
'<option value="black">Hitam</option>'+
|
||||||
|
'<option value="white">Putih</option>'+
|
||||||
|
'<option value="red">Merah</option>'+
|
||||||
|
'<option value="blue">Biru</option>'+
|
||||||
|
'<option value="yellow">Kuning</option>'+
|
||||||
|
'</select>'+
|
||||||
|
'</div>'+
|
||||||
|
'<div class="form-group">'+
|
||||||
|
'<label>Drawing Width</label>'+
|
||||||
|
'<input class="form-control" type="range" onchange="free_drawing(2,value)" value="1" min="1" max="20" style="display: block">'+
|
||||||
|
'</div>'+
|
||||||
|
'<div class="form-group" style="text-align:center">'+
|
||||||
|
'<button onclick="add_drawing()" class="btn btn-info" style="font-weight: bold;">Tambah Drawing</button>'
|
||||||
|
'</div>';
|
||||||
|
$("#sini_div_editor").html(html)
|
||||||
|
|
||||||
|
}
|
||||||
|
if (e == 'teks') {
|
||||||
|
drawing_color = null;
|
||||||
|
drawing_width = 1;
|
||||||
|
let html= '<div class="form-group">'+
|
||||||
|
'<label>Inputan Teks</label>'+
|
||||||
|
'<input class="form-control" type="teks" id="input_teks" oninput="teks_input(1,value)" >'+
|
||||||
|
'</div>'+
|
||||||
|
'<div class="form-group">'+
|
||||||
|
'<label>Teks Font</label>'+
|
||||||
|
'<select class="form-control" onchange="teks_input(2,value)" id="select_teks_font">'+
|
||||||
|
'<option disabled="" selected="">-Pilih Teks Font</option>'+
|
||||||
|
'<option value="Times">Times</option>'+
|
||||||
|
'<option value="Arial">Arial</option>'+
|
||||||
|
'<option value="Metal Mania">Metal Mania</option>'+
|
||||||
|
'<option value="Pacifico">Pacifico</option>'+
|
||||||
|
'</select>'+
|
||||||
|
'</div>'+
|
||||||
|
'<div class="form-group">'+
|
||||||
|
'<label>Teks Color</label>'+
|
||||||
|
'<input class="form-control" type="color" onchange="teks_input(3,value)" value="black" >'+
|
||||||
|
'</div>'+
|
||||||
|
'<div class="form-group" style="text-align:center">'+
|
||||||
|
'<button onclick="add_teks()" class="btn btn-info" style="font-weight: bold;">Tambah Teks</button>'
|
||||||
|
'</div>';
|
||||||
|
$("#sini_div_editor").html(html)
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
//// end change div editor ////
|
||||||
|
|
||||||
|
|
||||||
|
var idnya = 1; // ini id tiap object
|
||||||
|
var save_data = null; // ini data editor
|
||||||
|
|
||||||
|
////// render icon delete supaya bole delete //////
|
||||||
|
fabric.Object.prototype.controls.deleteControl = new fabric.Control({
|
||||||
|
x: 0.5,
|
||||||
|
y: -0.5,
|
||||||
|
offsetY: 16,
|
||||||
|
cursorStyle: 'pointer',
|
||||||
|
mouseUpHandler: deleteObject,
|
||||||
|
render: renderIcon,
|
||||||
|
cornerSize: 24
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
function deleteObject(eventData, target) {
|
||||||
|
|
||||||
|
let datanya = JSON.parse(save_data);
|
||||||
|
// console.log(target);
|
||||||
|
// datanya.filter(function(item){ console.log(item) })
|
||||||
|
let myNewArray = datanya.filter(function(item){ return item['id'] != target['id'] })
|
||||||
|
myNewArray = JSON.stringify(myNewArray)
|
||||||
|
if (myNewArray == "[]") {
|
||||||
|
myNewArray = null;
|
||||||
|
}
|
||||||
|
save_data = myNewArray
|
||||||
|
console.log(JSON.parse(save_data));
|
||||||
|
|
||||||
|
var canvas = target.canvas;
|
||||||
|
canvas.remove(target);
|
||||||
|
canvas.requestRenderAll();
|
||||||
|
}
|
||||||
|
|
||||||
|
function renderIcon(ctx, left, top, styleOverride, fabricObject) {
|
||||||
|
var size = this.cornerSize;
|
||||||
|
ctx.save();
|
||||||
|
ctx.translate(left, top);
|
||||||
|
ctx.rotate(fabric.util.degreesToRadians(fabricObject.angle));
|
||||||
|
ctx.drawImage(img, -size/2, -size/2, size, size);
|
||||||
|
ctx.restore();
|
||||||
|
}
|
||||||
|
////// end render icon delete //////
|
||||||
|
|
||||||
|
//// ini untuk bentuk persegi ////
|
||||||
|
var variable_segi = null;
|
||||||
|
function change_persegi(kat,nilai){
|
||||||
|
let segi;
|
||||||
|
if (variable_segi == null) {
|
||||||
|
if (kat == 1) {
|
||||||
|
segi = [{"segi" : nilai ,"fill" : '' , 'stroke' : '' }];
|
||||||
|
}
|
||||||
|
else if (kat == 2) {
|
||||||
|
segi = [{"segi" : '' ,"fill" : nilai , 'stroke' : '' }];
|
||||||
|
}
|
||||||
|
|
||||||
|
else if (kat == 3) {
|
||||||
|
segi = [{"segi" : '' ,"fill" : '' , 'stroke' : nilai }];
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
variable_segi = JSON.stringify(segi)
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// console.log(variable_segi)
|
||||||
|
variable_segi = JSON.parse(variable_segi);
|
||||||
|
// console.log(variable_segi)
|
||||||
|
if (kat == 1) {
|
||||||
|
variable_segi[0].segi = nilai;
|
||||||
|
}
|
||||||
|
else if (kat == 2) {
|
||||||
|
variable_segi[0].fill = nilai;
|
||||||
|
}
|
||||||
|
else if (kat == 3) {
|
||||||
|
variable_segi[0].stroke = nilai;
|
||||||
|
}
|
||||||
|
|
||||||
|
variable_segi = JSON.stringify(variable_segi)
|
||||||
|
// console.log(variable_segi)
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function add_bentuk(){
|
||||||
|
if (variable_segi == null) {
|
||||||
|
toastnya('select_bentuk','Bentuk Harus Terpilih');
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
let segi = JSON.parse(variable_segi);
|
||||||
|
if (segi[0].segi == '' || segi[0].segi == null || segi[0].fill == '' || segi[0].fill == null || segi[0].stroke == '' || segi[0].stroke == null ) {
|
||||||
|
toastnya('select_bentuk','Semua Pilihan Harus DIpilih');
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
let fillnya;
|
||||||
|
if (segi[0].fill == 'no_color') {
|
||||||
|
fillnya = 'rgba(0,0,0,0)'
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
fillnya = segi[0].fill
|
||||||
|
}
|
||||||
|
|
||||||
|
if (segi[0].segi == 'rect') {
|
||||||
|
segi_empat(fillnya,segi[0].stroke,'segi_empat');
|
||||||
|
// console.log(segi[0].stroke_width)
|
||||||
|
}
|
||||||
|
else if (segi[0].segi == 'tri') {
|
||||||
|
segi_tiga(fillnya,segi[0].stroke,'segi_tiga');
|
||||||
|
// console.log(segi[0].stroke_width)
|
||||||
|
}
|
||||||
|
else if (segi[0].segi == 'cir') {
|
||||||
|
segi_lingkaran(fillnya,segi[0].stroke,'lingkaran');
|
||||||
|
// console.log(segi[0].stroke_width)
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
variable_segi = null;
|
||||||
|
$("#sini_div_editor").html(null)
|
||||||
|
document.getElementById("back_to_top").click();
|
||||||
|
$("#editor_select").val($("#editor_select option:first").val());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function segi_empat(fillnya,stroke,bentuk) {
|
||||||
|
var rect = new fabric.Rect({
|
||||||
|
id : idnya,
|
||||||
|
kategori : bentuk,
|
||||||
|
angle:0,
|
||||||
|
left: 400,
|
||||||
|
top: 350,
|
||||||
|
fill: fillnya,
|
||||||
|
width: 200,
|
||||||
|
height: 200,
|
||||||
|
// objectCaching: true,
|
||||||
|
stroke: stroke,
|
||||||
|
strokeWidth: 10,
|
||||||
|
// padding : 5
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
let datanya = [{"id" : idnya ,"kategori" : bentuk, "left" : 400 , "top" : 350, "width" : 200 , "height" : 200 , "angle" :0 , "fill" : fillnya , "stroke" : stroke }];
|
||||||
|
|
||||||
|
if (save_data == null) {
|
||||||
|
datanya = JSON.stringify(datanya);
|
||||||
|
save_data = datanya;
|
||||||
|
// console.log(JSON.parse(save_data))
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
save_data = JSON.parse(save_data);
|
||||||
|
save_data = save_data.concat(datanya)
|
||||||
|
save_data = JSON.stringify(save_data);
|
||||||
|
// console.log(JSON.parse(save_data))
|
||||||
|
// console.log(save_data)
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
canvas.add(rect);
|
||||||
|
canvas.setActiveObject(rect);
|
||||||
|
idnya = idnya + 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
function segi_tiga(fillnya,stroke,bentuk) {
|
||||||
|
var tri = new fabric.Triangle({
|
||||||
|
id : idnya,
|
||||||
|
kategori : bentuk,
|
||||||
|
angle:0,
|
||||||
|
left: 400,
|
||||||
|
top: 350,
|
||||||
|
fill: fillnya,
|
||||||
|
width: 200,
|
||||||
|
height: 200,
|
||||||
|
// objectCaching: true,
|
||||||
|
stroke: stroke,
|
||||||
|
strokeWidth: 10,
|
||||||
|
// padding : 5
|
||||||
|
});
|
||||||
|
|
||||||
|
let datanya = [{"id" : idnya ,"kategori" : bentuk, "left" : 400 , "top" : 350, "width" : 200 , "height" : 200 , "angle" :0 , "fill" : fillnya , "stroke" : stroke }];
|
||||||
|
|
||||||
|
if (save_data == null) {
|
||||||
|
datanya = JSON.stringify(datanya);
|
||||||
|
save_data = datanya;
|
||||||
|
// console.log(JSON.parse(save_data))
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
save_data = JSON.parse(save_data);
|
||||||
|
save_data = save_data.concat(datanya)
|
||||||
|
save_data = JSON.stringify(save_data);
|
||||||
|
// console.log(JSON.parse(save_data))
|
||||||
|
// console.log(save_data)
|
||||||
|
}
|
||||||
|
|
||||||
|
canvas.add(tri);
|
||||||
|
canvas.setActiveObject(tri);
|
||||||
|
idnya = idnya + 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
function segi_lingkaran(fillnya,stroke,bentuk) {
|
||||||
|
var cir = new fabric.Circle({
|
||||||
|
id : idnya,
|
||||||
|
kategori : bentuk,
|
||||||
|
angle:0,
|
||||||
|
left: 400,
|
||||||
|
top: 350,
|
||||||
|
fill: fillnya,
|
||||||
|
radius : 200,
|
||||||
|
// objectCaching: true,
|
||||||
|
stroke: stroke,
|
||||||
|
strokeWidth: 10,
|
||||||
|
// padding : 5
|
||||||
|
});
|
||||||
|
|
||||||
|
let datanya = [{"id" : idnya ,"kategori" : bentuk, "left" : 400 , "top" : 350, "radius" : 200 , "angle" :0 , "fill" : fillnya , "stroke" : stroke }];
|
||||||
|
|
||||||
|
if (save_data == null) {
|
||||||
|
datanya = JSON.stringify(datanya);
|
||||||
|
save_data = datanya;
|
||||||
|
// console.log(JSON.parse(save_data))
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
save_data = JSON.parse(save_data);
|
||||||
|
save_data = save_data.concat(datanya)
|
||||||
|
save_data = JSON.stringify(save_data);
|
||||||
|
// console.log(JSON.parse(save_data))
|
||||||
|
// console.log(save_data)
|
||||||
|
}
|
||||||
|
|
||||||
|
// console.log(cir);
|
||||||
|
canvas.add(cir);
|
||||||
|
canvas.setActiveObject(cir);
|
||||||
|
idnya = idnya + 1;
|
||||||
|
}
|
||||||
|
//// end untuk bentuk persegi ////
|
||||||
|
|
||||||
|
//// ini untuk free drawing ////
|
||||||
|
function free_drawing(kat,nilai){
|
||||||
|
// console.log(kat,nilai)
|
||||||
|
let draw;
|
||||||
|
if (kat == 1) {
|
||||||
|
drawing_color = nilai;
|
||||||
|
}
|
||||||
|
else if (kat == 2) {
|
||||||
|
drawing_width = nilai;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function add_drawing(){
|
||||||
|
// console.log(variable_free_drawing)
|
||||||
|
if (drawing_color == null) {
|
||||||
|
toastnya('select_drawing_color','Warna Harus Dipilih');
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// console.log("jalankan")
|
||||||
|
// drawing = JSON.parse(variable_free_drawing)
|
||||||
|
canvas.isDrawingMode = true;
|
||||||
|
canvas.freeDrawingBrush.width = drawing_width;
|
||||||
|
canvas.freeDrawingBrush.color = drawing_color;
|
||||||
|
// variable_segi = null;
|
||||||
|
let html = '<div class="form-group" style="text-align:center">'+
|
||||||
|
'<button onclick="stop_drawing()" class="btn btn-warning" style="font-weight: bold;">Stop Drawing</button>'
|
||||||
|
'</div>';
|
||||||
|
$("#sini_div_editor").html(html)
|
||||||
|
document.getElementById("back_to_top").click();
|
||||||
|
$("#editor_select").val($("#editor_select option:first").val());
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
canvas.on('path:created', function(opt) {
|
||||||
|
// opt.path is a fabric.Path ready to use and already on the canvas
|
||||||
|
// console.log(opt.path instanceof fabric.Path)
|
||||||
|
// this is the path data
|
||||||
|
// console.log(opt.path);
|
||||||
|
// console.log(JSON.stringify(opt.path.path));
|
||||||
|
let path = opt.path.path.map(chunk => {return chunk.join(' ');}).join(' ');
|
||||||
|
// console.log(opt.path.height)
|
||||||
|
console.log(opt.path)
|
||||||
|
let datanya = [{"id" : idnya ,"kategori" : 'free_drawing', "path" : path , "left" : opt.path.left , "top" : opt.path.top, "width" : opt.path.width , "height" : opt.path.height , "stroke_width" : opt.path.strokeWidth , "stroke" : opt.path.stroke }];
|
||||||
|
console.log(datanya)
|
||||||
|
opt.path.idnya = fabric.Object.__uid++
|
||||||
|
opt.path.id = idnya
|
||||||
|
|
||||||
|
if (save_data == null) {
|
||||||
|
datanya = JSON.stringify(datanya);
|
||||||
|
save_data = datanya;
|
||||||
|
// console.log(JSON.parse(save_data))
|
||||||
|
console.log(save_data)
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
save_data = JSON.parse(save_data);
|
||||||
|
save_data = save_data.concat(datanya)
|
||||||
|
save_data = JSON.stringify(save_data);
|
||||||
|
// console.log(JSON.parse(save_data))
|
||||||
|
console.log(save_data)
|
||||||
|
}
|
||||||
|
idnya = idnya + 1;
|
||||||
|
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
function stop_drawing(){
|
||||||
|
canvas.isDrawingMode = false;
|
||||||
|
$("#sini_div_editor").html(null)
|
||||||
|
document.getElementById("back_to_top").click();
|
||||||
|
}
|
||||||
|
|
||||||
|
// function hapus_path() {
|
||||||
|
// canvas.getObjects('path').forEach((path) => {
|
||||||
|
// // if(path.senderId === client.id){
|
||||||
|
// canvas.remove(path);
|
||||||
|
// // }
|
||||||
|
// });
|
||||||
|
// }
|
||||||
|
|
||||||
|
//// end utk free drawing ////
|
||||||
|
|
||||||
|
//// ini utk input teks ////
|
||||||
|
var teks_inputan = null;
|
||||||
|
var teks_font = null;
|
||||||
|
var teks_color = "black";
|
||||||
|
|
||||||
|
function teks_input(kat,nilai){
|
||||||
|
// console.log(kat,nilai)
|
||||||
|
if (kat == 1) {
|
||||||
|
teks_inputan = nilai;
|
||||||
|
}
|
||||||
|
else if (kat == 2) {
|
||||||
|
teks_font = nilai;
|
||||||
|
console.log(teks_font)
|
||||||
|
}
|
||||||
|
else if (kat == 3) {
|
||||||
|
teks_color = nilai;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function add_teks(){
|
||||||
|
// console.log(variable_free_drawing)
|
||||||
|
if (teks_inputan == null) {
|
||||||
|
toastnya('input_teks','Inputan Harus Terisi');
|
||||||
|
}
|
||||||
|
else if (teks_font == null) {
|
||||||
|
toastnya('select_teks_font','Font Harus Terpilih');
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
tambah_teks(teks_inputan,teks_color,teks_font)
|
||||||
|
document.getElementById("back_to_top").click();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function tambah_teks(input,fill,family){
|
||||||
|
var text = new fabric.Text(input, {
|
||||||
|
id : idnya,
|
||||||
|
fill: fill ,
|
||||||
|
fontSize: 53,
|
||||||
|
left: 400,
|
||||||
|
top: 350,
|
||||||
|
fontFamily: family,
|
||||||
|
});
|
||||||
|
|
||||||
|
let datanya = [{"id" : idnya ,"kategori" : "teks", "left" : 400 , "top" : 350, "width" : "" , "height" : "200" , "angle" :0 , "fill" : fill , "fontFamily" : family }];
|
||||||
|
|
||||||
|
if (save_data == null) {
|
||||||
|
datanya = JSON.stringify(datanya);
|
||||||
|
save_data = datanya;
|
||||||
|
// console.log(JSON.parse(save_data))
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
save_data = JSON.parse(save_data);
|
||||||
|
save_data = save_data.concat(datanya)
|
||||||
|
save_data = JSON.stringify(save_data);
|
||||||
|
// console.log(JSON.parse(save_data))
|
||||||
|
// console.log(save_data)
|
||||||
|
}
|
||||||
|
|
||||||
|
// Render the Text on Canvas
|
||||||
|
canvas.add(text);
|
||||||
|
canvas.setActiveObject(text);
|
||||||
|
idnya = idnya + 1;
|
||||||
|
}
|
||||||
|
//// end utk input teks ////
|
||||||
|
|
||||||
|
|
||||||
|
canvas.on('object:moved', function(options) {
|
||||||
|
console.log(options)
|
||||||
|
// let obj = canvas.getActiveObject();
|
||||||
|
// let datanya = JSON.parse(save_data);
|
||||||
|
// let id;
|
||||||
|
|
||||||
|
// for (var i = 0; i < datanya.length; ++i) {
|
||||||
|
// if (datanya[i].id == options['target']['id']) {
|
||||||
|
// id = i;
|
||||||
|
// break;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
// if (options['target']['kategori'] == 'segi_empat' || options['target']['kategori'] == 'segi_tiga' || options['target']['kategori'] == 'lingkaran') {
|
||||||
|
// datanya[id].angle = options['target']['angle'];
|
||||||
|
// datanya[id].height = Math.floor(obj.getScaledHeight());
|
||||||
|
// datanya[id].left = options['target']['left'];
|
||||||
|
// datanya[id].top = options['target']['top'];
|
||||||
|
// datanya[id].width = Math.floor(obj.getScaledWidth());
|
||||||
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
// save_data = JSON.stringify(datanya);
|
||||||
|
// // console.log(JSON.parse(save_data) )
|
||||||
|
// // console.log(save_data)
|
||||||
|
// // console.log(options['target']['kategori'])
|
||||||
|
// // simpan(datanya,'update',kategori,id);
|
||||||
|
});
|
||||||
|
|
||||||
|
canvas.on('object:rotated', function(options) {
|
||||||
|
// console.log(options)
|
||||||
|
let obj = canvas.getActiveObject();
|
||||||
|
let datanya = JSON.parse(save_data);
|
||||||
|
let id;
|
||||||
|
|
||||||
|
for (var i = 0; i < datanya.length; ++i) {
|
||||||
|
if (datanya[i].id == options['target']['id']) {
|
||||||
|
id = i;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if (options['target']['kategori'] == 'segi_empat' || options['target']['kategori'] == 'segi_tiga' || options['target']['kategori'] == 'lingkaran') {
|
||||||
|
datanya[id].angle = options['target']['angle'];
|
||||||
|
datanya[id].height = Math.floor(obj.getScaledHeight());
|
||||||
|
datanya[id].left = options['target']['left'];
|
||||||
|
datanya[id].top = options['target']['top'];
|
||||||
|
datanya[id].width = Math.floor(obj.getScaledWidth());
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
save_data = JSON.stringify(datanya);
|
||||||
|
// console.log(JSON.parse(save_data) )
|
||||||
|
// console.log(save_data)
|
||||||
|
});
|
||||||
|
|
||||||
|
canvas.on('object:scaled', function(options) {
|
||||||
|
// console.log(options)
|
||||||
|
let obj = canvas.getActiveObject();
|
||||||
|
let datanya = JSON.parse(save_data);
|
||||||
|
let id;
|
||||||
|
|
||||||
|
for (var i = 0; i < datanya.length; ++i) {
|
||||||
|
if (datanya[i].id == options['target']['id']) {
|
||||||
|
id = i;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if (options['target']['kategori'] == 'segi_empat' || options['target']['kategori'] == 'segi_tiga' || options['target']['kategori'] == 'lingkaran') {
|
||||||
|
datanya[id].angle = options['target']['angle'];
|
||||||
|
datanya[id].height = Math.floor(obj.getScaledHeight());
|
||||||
|
datanya[id].left = options['target']['left'];
|
||||||
|
datanya[id].top = options['target']['top'];
|
||||||
|
datanya[id].width = Math.floor(obj.getScaledWidth());
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
save_data = JSON.stringify(datanya);
|
||||||
|
// console.log(JSON.parse(save_data) )
|
||||||
|
// console.log(save_data)
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
canvas.on('selection:created', function(options) {
|
||||||
|
// console.log(options['target'])
|
||||||
|
|
||||||
|
if (options['target']['strokeLineCap'] == 'round' && options['target']['strokeLineJoin'] == 'round') {
|
||||||
|
// console.log('ini free drawing')
|
||||||
|
let id = options['target']['idnya']
|
||||||
|
// console.log("ini idnya : "+id)
|
||||||
|
let ini_array;
|
||||||
|
// console.log(canvas['_objects'])
|
||||||
|
let object_canvas = canvas['_objects'];
|
||||||
|
for (var i = 0; i < object_canvas.length; i++) {
|
||||||
|
// console.log(object_canvas[i].idnya)
|
||||||
|
if (object_canvas[i].idnya == options['target']['idnya']) {
|
||||||
|
ini_array = i;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// console.log("ini id array nya : "+ini_array)
|
||||||
|
canvas['_objects'][ini_array].lockScalingX = true;
|
||||||
|
canvas['_objects'][ini_array].lockScalingY = true;
|
||||||
|
canvas['_objects'][ini_array].lockRotation = true;
|
||||||
|
canvas['_objects'][ini_array].lockMovementX = true;
|
||||||
|
canvas['_objects'][ini_array].lockMovementY = true;
|
||||||
|
// this.__canvases.push(canvas);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
canvas.on('selection:updated', function(options) {
|
||||||
|
// console.log(options['target'])
|
||||||
|
|
||||||
|
// console.log(options)
|
||||||
|
if (options['target']['strokeLineCap'] == 'round' && options['target']['strokeLineJoin'] == 'round') {
|
||||||
|
// console.log('ini free drawing')
|
||||||
|
let id = options['target']['idnya']
|
||||||
|
// console.log("ini idnya : "+id)
|
||||||
|
let ini_array;
|
||||||
|
// console.log(canvas['_objects'])
|
||||||
|
let object_canvas = canvas['_objects'];
|
||||||
|
for (var i = 0; i < object_canvas.length; i++) {
|
||||||
|
// console.log(object_canvas[i].idnya)
|
||||||
|
if (object_canvas[i].idnya == options['target']['idnya']) {
|
||||||
|
ini_array = i;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// console.log("ini id array nya : "+ini_array)
|
||||||
|
canvas['_objects'][ini_array].lockScalingX = true;
|
||||||
|
canvas['_objects'][ini_array].lockScalingY = true;
|
||||||
|
canvas['_objects'][ini_array].lockRotation = true;
|
||||||
|
canvas['_objects'][ini_array].lockMovementX = true;
|
||||||
|
canvas['_objects'][ini_array].lockMovementY = true;
|
||||||
|
// this.__canvases.push(canvas);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// Create a new Text instance
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// function cek_warna(e){
|
||||||
|
// // console.log(e)
|
||||||
|
// alert(e)
|
||||||
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,332 @@
|
|||||||
|
/*
|
||||||
|
* Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
* or more contributor license agreements. See the NOTICE file
|
||||||
|
* distributed with this work for additional information
|
||||||
|
* regarding copyright ownership. The ASF licenses this file
|
||||||
|
* to you under the Apache License, Version 2.0 (the
|
||||||
|
* "License"); you may not use this file except in compliance
|
||||||
|
* with the License. You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Wait for the deviceready event before using any of Cordova's device APIs.
|
||||||
|
// See https://cordova.apache.org/docs/en/latest/cordova/events/events.html#deviceready
|
||||||
|
document.addEventListener('deviceready', onDeviceReady, false);
|
||||||
|
|
||||||
|
function onDeviceReady() {
|
||||||
|
// screen.orientation.lock('potrait');
|
||||||
|
var i = screen.orientation.lock('portrait');
|
||||||
|
console.log('Orientation is ' + screen.orientation.type);
|
||||||
|
}
|
||||||
|
|
||||||
|
////// get warna baju //////
|
||||||
|
|
||||||
|
|
||||||
|
function $_GET(param) {
|
||||||
|
var vars = {};
|
||||||
|
window.location.href.replace( location.hash, '' ).replace(
|
||||||
|
/[?&]+([^=&]+)=?([^&]*)?/gi, // regexp
|
||||||
|
function( m, key, value ) { // callback
|
||||||
|
vars[key] = value !== undefined ? value : '';
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
if ( param ) {
|
||||||
|
return vars[param] ? vars[param] : null;
|
||||||
|
}
|
||||||
|
return vars;
|
||||||
|
}
|
||||||
|
|
||||||
|
var id_desain = $_GET('id');
|
||||||
|
|
||||||
|
///// end get warna baju ///////
|
||||||
|
|
||||||
|
var list_desain = JSON.parse(localStorage.getItem('simpanan'));
|
||||||
|
|
||||||
|
function hapus_desain(){
|
||||||
|
swal({
|
||||||
|
title: "Yakin ingin Hapus Desain ini?",
|
||||||
|
text: "Desain akan terhapus permanen dari aplikasi",
|
||||||
|
icon: "warning",
|
||||||
|
buttons: true,
|
||||||
|
dangerMode: true,
|
||||||
|
})
|
||||||
|
.then((logout) => {
|
||||||
|
if (logout) {
|
||||||
|
var list_desain_baru = list_desain.filter(function(item){
|
||||||
|
return item['id'] != id_desain
|
||||||
|
// console.log(item)
|
||||||
|
})
|
||||||
|
// console.log(JSON.stringify(list_desain_baru))
|
||||||
|
if (JSON.stringify(list_desain_baru) == '[]') {
|
||||||
|
// console.log("desain tiada")
|
||||||
|
localStorage.removeItem('simpanan')
|
||||||
|
window.location.replace("desain_1.html")
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
localStorage.setItem('simpanan',JSON.stringify(list_desain_baru))
|
||||||
|
window.location.replace("desain_1.html")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
// console.log(list_desain)
|
||||||
|
var baju_color;
|
||||||
|
var detail_desain;
|
||||||
|
// console.log(list_desain)
|
||||||
|
for (var i = 0; i < list_desain.length; i++) {
|
||||||
|
// console.log(list_desain[i].id);
|
||||||
|
if (list_desain[i].id == id_desain) {
|
||||||
|
baju_color = list_desain[i].canvas
|
||||||
|
detail_desain = list_desain[i].isi;
|
||||||
|
console.log(detail_desain)
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$("#sini_div_baju_color").attr("style","background-image: url(assets/img/"+baju_color+".PNG); height: 350px; width: 100%;background-size: 100% 100%;");
|
||||||
|
|
||||||
|
function toastnya(id,mesej){
|
||||||
|
toastr.options = {
|
||||||
|
"closeButton": true,
|
||||||
|
"debug": false,
|
||||||
|
"progressBar": true,
|
||||||
|
"positionClass": "toast-top-right",
|
||||||
|
"showDuration": "300",
|
||||||
|
"hideDuration": "1000",
|
||||||
|
"timeOut": "5000",
|
||||||
|
"extendedTimeOut": "1000",
|
||||||
|
"showEasing": "swing",
|
||||||
|
"hideEasing": "linear",
|
||||||
|
"showMethod": "fadeIn",
|
||||||
|
"hideMethod": "fadeOut"
|
||||||
|
};
|
||||||
|
|
||||||
|
toastr.error("<center>"+mesej+"</center>");
|
||||||
|
$("#"+id).focus();
|
||||||
|
}
|
||||||
|
|
||||||
|
///// responsive canvas /////
|
||||||
|
function resizeCanvas() {
|
||||||
|
const outerCanvasContainer = $('#sini_div_canvas')[0];
|
||||||
|
|
||||||
|
const ratio = canvas.getWidth() / canvas.getHeight();
|
||||||
|
const containerWidth = outerCanvasContainer.clientWidth;
|
||||||
|
const containerHeight = outerCanvasContainer.clientHeight;
|
||||||
|
|
||||||
|
const scale = containerWidth / canvas.getWidth();
|
||||||
|
const zoom = canvas.getZoom() * scale;
|
||||||
|
canvas.setDimensions({width: containerWidth, height: outerCanvasContainer.clientHeight});
|
||||||
|
canvas.setViewportTransform([zoom, 0, 0, zoom, 0, 0]);
|
||||||
|
}
|
||||||
|
|
||||||
|
$("#sini_div_canvas").resize(resizeCanvas);
|
||||||
|
//// end responsive canvas ///
|
||||||
|
|
||||||
|
var canvas = this.__canvas = new fabric.Canvas('c',{width: 900,height: 1050});
|
||||||
|
canvas.renderTop();
|
||||||
|
resizeCanvas();
|
||||||
|
|
||||||
|
|
||||||
|
for (var i = 0; i < detail_desain.length; ++i) {
|
||||||
|
// if (detail_desain[i].kategori == 'segi_empat') {
|
||||||
|
// segi_empat(detail_desain[i].id,detail_desain[i].angle,detail_desain[i].left,detail_desain[i].top,detail_desain[i].fill,detail_desain[i].width,detail_desain[i].heightdetail_desain[i].stroke)
|
||||||
|
// console.log(detail_desain[i]);
|
||||||
|
// }
|
||||||
|
if (detail_desain[i].kategori == "segi_empat") {
|
||||||
|
// console.log('ada segi empat')
|
||||||
|
segi_empat(detail_desain[i].id,detail_desain[i].angle,detail_desain[i].left,detail_desain[i].top,detail_desain[i].fill,detail_desain[i].width,detail_desain[i].height,detail_desain[i].stroke)
|
||||||
|
}
|
||||||
|
else if (detail_desain[i].kategori == "segi_tiga") {
|
||||||
|
// console.log('ada segi empat')
|
||||||
|
segi_tiga(detail_desain[i].id,detail_desain[i].angle,detail_desain[i].left,detail_desain[i].top,detail_desain[i].fill,detail_desain[i].width,detail_desain[i].height,detail_desain[i].stroke)
|
||||||
|
}
|
||||||
|
else if (detail_desain[i].kategori == "lingkaran") {
|
||||||
|
// console.log('ada segi empat')
|
||||||
|
segi_lingkaran(detail_desain[i].id,detail_desain[i].angle,detail_desain[i].left,detail_desain[i].top,detail_desain[i].fill,detail_desain[i].radius,detail_desain[i].stroke,detail_desain[i].scaleX,detail_desain[i].scaleY)
|
||||||
|
}
|
||||||
|
else if (detail_desain[i].kategori == "free_drawing") {
|
||||||
|
// console.log('ada segi empat')
|
||||||
|
free_draw(detail_desain[i].id,detail_desain[i].path,detail_desain[i].left,detail_desain[i].top,detail_desain[i].height,detail_desain[i].width,detail_desain[i].stroke_width,detail_desain[i].stroke)
|
||||||
|
}
|
||||||
|
else if (detail_desain[i].kategori == "teks") {
|
||||||
|
// console.log('ada segi empat')
|
||||||
|
// tambah_teks(id,input,fill,family,top,left,width,height,scaleX,scaleY)
|
||||||
|
tambah_teks(detail_desain[i].id,detail_desain[i].input_teks,detail_desain[i].fill,detail_desain[i].fontFamily,detail_desain[i].top,detail_desain[i].left,detail_desain[i].width,detail_desain[i].height,detail_desain[i].angle,detail_desain[i].scaleX,detail_desain[i].scaleY)
|
||||||
|
}
|
||||||
|
else if (detail_desain[i].kategori == "foto") {
|
||||||
|
// console.log('ada segi empat')
|
||||||
|
// add_image(id,base,scaleX,scaleX,left,top,angle)
|
||||||
|
add_image(detail_desain[i].id,detail_desain[i].detail,detail_desain[i].scaleX,detail_desain[i].scaleY,detail_desain[i].left,detail_desain[i].top,detail_desain[i].angle )
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
function add_image(id,base,scaleX,scaleY,left,top,angle){
|
||||||
|
|
||||||
|
var x = document.createElement("IMG");
|
||||||
|
x.setAttribute("src", base);
|
||||||
|
x.setAttribute("id", 'img_yg_terupload_'+id);
|
||||||
|
x.async = true;
|
||||||
|
document.getElementById("sini_tampung_image").appendChild(x);
|
||||||
|
|
||||||
|
setTimeout(function(){
|
||||||
|
var imgElement = document.getElementById('img_yg_terupload_'+id);
|
||||||
|
var imgInstance = new fabric.Image(imgElement, {
|
||||||
|
id : id,
|
||||||
|
left: left,
|
||||||
|
top: top,
|
||||||
|
angle: angle,
|
||||||
|
opacity: 1,
|
||||||
|
scaleX : scaleX,
|
||||||
|
scaleY : scaleY
|
||||||
|
});
|
||||||
|
canvas.add(imgInstance);
|
||||||
|
}, 200)
|
||||||
|
}
|
||||||
|
|
||||||
|
function segi_empat(id,angle,left,top,fillnya,width,height,stroke) {
|
||||||
|
var rect = new fabric.Rect({
|
||||||
|
id : id,
|
||||||
|
// kategori : bentuk,
|
||||||
|
angle:angle,
|
||||||
|
left: left,
|
||||||
|
top: top,
|
||||||
|
fill: fillnya,
|
||||||
|
width: width,
|
||||||
|
height: height,
|
||||||
|
// objectCaching: true,
|
||||||
|
stroke: stroke,
|
||||||
|
strokeWidth: 10,
|
||||||
|
// padding : 5
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
canvas.add(rect);
|
||||||
|
}
|
||||||
|
|
||||||
|
function segi_tiga(id,angle,left,top,fillnya,width,height,stroke) {
|
||||||
|
var tri = new fabric.Triangle({
|
||||||
|
id : id,
|
||||||
|
// kategori : bentuk,
|
||||||
|
angle:angle,
|
||||||
|
left: left,
|
||||||
|
top: top,
|
||||||
|
fill: fillnya,
|
||||||
|
width: width,
|
||||||
|
height: height,
|
||||||
|
// objectCaching: true,
|
||||||
|
stroke: stroke,
|
||||||
|
strokeWidth: 10,
|
||||||
|
// padding : 5
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
canvas.add(tri);
|
||||||
|
}
|
||||||
|
|
||||||
|
function segi_lingkaran(id,angle,left,top,fillnya,radius,stroke,scaleX,scaleY) {
|
||||||
|
var cir = new fabric.Circle({
|
||||||
|
id : id,
|
||||||
|
angle:angle,
|
||||||
|
left: left,
|
||||||
|
top: top,
|
||||||
|
fill: fillnya,
|
||||||
|
radius : radius,
|
||||||
|
// objectCaching: true,
|
||||||
|
stroke: stroke,
|
||||||
|
strokeWidth: 10,
|
||||||
|
scaleX : scaleX,
|
||||||
|
scaleY : scaleY
|
||||||
|
// padding : 5
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// console.log(cir);
|
||||||
|
canvas.add(cir);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function free_draw(id,path,top,left,height,width,stroke_width,stroke){
|
||||||
|
var garis = new fabric.Path(path);
|
||||||
|
|
||||||
|
garis.set({
|
||||||
|
id : id,
|
||||||
|
fill: null,
|
||||||
|
// top: top,
|
||||||
|
// left: left,
|
||||||
|
// height: height,
|
||||||
|
// width: width,
|
||||||
|
strokeWidth: stroke_width,
|
||||||
|
stroke: stroke
|
||||||
|
});
|
||||||
|
|
||||||
|
canvas.add(garis);
|
||||||
|
}
|
||||||
|
|
||||||
|
function tambah_teks(id,input,fill,family,top,left,width,height,angle,scaleX,scaleY){
|
||||||
|
var text = new fabric.Text(input, {
|
||||||
|
id : id,
|
||||||
|
angle:angle,
|
||||||
|
fill: fill ,
|
||||||
|
fontSize: 100,
|
||||||
|
left: left,
|
||||||
|
top: top,
|
||||||
|
width : width,
|
||||||
|
height : height,
|
||||||
|
fontFamily: family,
|
||||||
|
scaleX : scaleX,
|
||||||
|
scaleY : scaleY
|
||||||
|
});
|
||||||
|
console.log(text)
|
||||||
|
canvas.add(text);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
function takeshot() {
|
||||||
|
var div = document.getElementById('sini_div_baju_color');
|
||||||
|
|
||||||
|
// Use the html2canvas
|
||||||
|
// function to take a screenshot
|
||||||
|
// and append it
|
||||||
|
// to the output div
|
||||||
|
html2canvas(div).then(
|
||||||
|
function (canvas) {
|
||||||
|
document
|
||||||
|
.getElementById('output')
|
||||||
|
.appendChild(canvas);
|
||||||
|
var base64URL = canvas.toDataURL('image/jpeg');
|
||||||
|
console.log(base64URL)
|
||||||
|
$("#ini_untuk_share").attr('onclick',"window.plugins.socialsharing.share(null, 'Irwan T-Shirt Design', '"+base64URL+"', null)");
|
||||||
|
var x = document.createElement("IMG");
|
||||||
|
x.setAttribute("src", base64URL);
|
||||||
|
x.setAttribute("id", 'img_yg_terupload_'+id_desain);
|
||||||
|
x.async = true;
|
||||||
|
document.getElementById("sini_tampung_image").appendChild(x);
|
||||||
|
setTimeout(function(){
|
||||||
|
$('#ini_untuk_share').trigger('click');
|
||||||
|
}, 200);
|
||||||
|
})
|
||||||
|
}
|
||||||
@@ -0,0 +1,73 @@
|
|||||||
|
/*
|
||||||
|
* Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
* or more contributor license agreements. See the NOTICE file
|
||||||
|
* distributed with this work for additional information
|
||||||
|
* regarding copyright ownership. The ASF licenses this file
|
||||||
|
* to you under the Apache License, Version 2.0 (the
|
||||||
|
* "License"); you may not use this file except in compliance
|
||||||
|
* with the License. You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Wait for the deviceready event before using any of Cordova's device APIs.
|
||||||
|
// See https://cordova.apache.org/docs/en/latest/cordova/events/events.html#deviceready
|
||||||
|
document.addEventListener('deviceready', onDeviceReady, false);
|
||||||
|
|
||||||
|
function onDeviceReady() {
|
||||||
|
// screen.orientation.lock('potrait');
|
||||||
|
var i = screen.orientation.lock('portrait');
|
||||||
|
console.log('Orientation is ' + screen.orientation.type);
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
var list_desain = JSON.parse(localStorage.getItem('simpanan'));
|
||||||
|
console.log(list_desain)
|
||||||
|
var html = '';
|
||||||
|
if (list_desain == null) {
|
||||||
|
html += '<center><h2 style="font-family: Pacifico">Anda Belum Pernah Mendesain</h2>'
|
||||||
|
html += '<a href="desain_1.html" class="btn-about" style="font-family: Pacifico">Mulai Mendesain</a></center>'
|
||||||
|
$("#sini_divnya").html(html)
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
for (var i = 0; i < list_desain.length; i++) {
|
||||||
|
ii = i + 1;
|
||||||
|
var warna;
|
||||||
|
switch (list_desain[i].canvas){
|
||||||
|
case "white":
|
||||||
|
warna = "Putih";
|
||||||
|
break;
|
||||||
|
case "black":
|
||||||
|
warna = "Hitam";
|
||||||
|
break;
|
||||||
|
case "red":
|
||||||
|
warna = "Merah";
|
||||||
|
break;
|
||||||
|
case "blue":
|
||||||
|
warna = "Biru";
|
||||||
|
break;
|
||||||
|
case "yellow":
|
||||||
|
warna = "kuning";
|
||||||
|
}
|
||||||
|
html += '<div class="form-group">'+
|
||||||
|
'<table width="100%">'+
|
||||||
|
'<tr align="center">'+
|
||||||
|
'<td><label style="font-size: 16px;font-family: Pacifico">Desain '+ii+'</label></td>'+
|
||||||
|
'<td><label style="font-size: 16px ; font-family: Pacifico"><i>(Baju '+warna+')</i></label></td>'+
|
||||||
|
'<td><a href="desain_complete.html?id='+list_desain[i].id+'" class="btn btn-info btn-sm" style="font-family: Pacifico;display: inline-block; ">Lihat Desain</a></td>'+
|
||||||
|
'</tr>'+
|
||||||
|
'</table>'+
|
||||||
|
'</div>'+
|
||||||
|
'<hr>';
|
||||||
|
$("#sini_divnya").html(html)
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,187 @@
|
|||||||
|
/**
|
||||||
|
* Template Name: Kelly - v2.0.0
|
||||||
|
* Template URL: https://bootstrapmade.com/kelly-free-bootstrap-cv-resume-html-template/
|
||||||
|
* Author: BootstrapMade.com
|
||||||
|
* License: https://bootstrapmade.com/license/
|
||||||
|
*/
|
||||||
|
document.addEventListener('deviceready', onDeviceReady, false);
|
||||||
|
|
||||||
|
function onDeviceReady() {
|
||||||
|
// screen.orientation.lock('potrait');
|
||||||
|
var i = screen.orientation.lock('portrait');
|
||||||
|
console.log('Orientation is ' + screen.orientation.type);
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
!(function($) {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
// Preloader
|
||||||
|
$(window).on('load', function() {
|
||||||
|
if ($('#preloader').length) {
|
||||||
|
$('#preloader').delay(100).fadeOut('slow', function() {
|
||||||
|
$(this).remove();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// Smooth scroll for the navigation menu and links with .scrollto classes
|
||||||
|
$(document).on('click', '.nav-menu a, .mobile-nav a, .scrollto', function(e) {
|
||||||
|
if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) {
|
||||||
|
var target = $(this.hash);
|
||||||
|
if (target.length) {
|
||||||
|
e.preventDefault();
|
||||||
|
|
||||||
|
var scrollto = target.offset().top;
|
||||||
|
var scrolled = 20;
|
||||||
|
|
||||||
|
if ($('#header').length) {
|
||||||
|
scrollto -= $('#header').outerHeight()
|
||||||
|
|
||||||
|
if (!$('#header').hasClass('header-scrolled')) {
|
||||||
|
scrollto += scrolled;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($(this).attr("href") == '#header') {
|
||||||
|
scrollto = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
$('html, body').animate({
|
||||||
|
scrollTop: scrollto
|
||||||
|
}, 1500, 'easeInOutExpo');
|
||||||
|
|
||||||
|
if ($(this).parents('.nav-menu, .mobile-nav').length) {
|
||||||
|
$('.nav-menu .active, .mobile-nav .active').removeClass('active');
|
||||||
|
$(this).closest('li').addClass('active');
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($('body').hasClass('mobile-nav-active')) {
|
||||||
|
$('body').removeClass('mobile-nav-active');
|
||||||
|
$('.mobile-nav-toggle i').toggleClass('icofont-navigation-menu icofont-close');
|
||||||
|
$('.mobile-nav-overly').fadeOut();
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// Mobile Navigation
|
||||||
|
if ($('.nav-menu').length) {
|
||||||
|
var $mobile_nav = $('.nav-menu').clone().prop({
|
||||||
|
class: 'mobile-nav d-lg-none'
|
||||||
|
});
|
||||||
|
$('body').append($mobile_nav);
|
||||||
|
$('body').prepend('<button type="button" class="mobile-nav-toggle d-lg-none"><i class="icofont-navigation-menu"></i></button>');
|
||||||
|
$('body').append('<div class="mobile-nav-overly"></div>');
|
||||||
|
|
||||||
|
$(document).on('click', '.mobile-nav-toggle', function(e) {
|
||||||
|
$('body').toggleClass('mobile-nav-active');
|
||||||
|
$('.mobile-nav-toggle i').toggleClass('icofont-navigation-menu icofont-close');
|
||||||
|
$('.mobile-nav-overly').toggle();
|
||||||
|
});
|
||||||
|
|
||||||
|
$(document).on('click', '.mobile-nav .drop-down > a', function(e) {
|
||||||
|
e.preventDefault();
|
||||||
|
$(this).next().slideToggle(300);
|
||||||
|
$(this).parent().toggleClass('active');
|
||||||
|
});
|
||||||
|
|
||||||
|
$(document).click(function(e) {
|
||||||
|
var container = $(".mobile-nav, .mobile-nav-toggle");
|
||||||
|
if (!container.is(e.target) && container.has(e.target).length === 0) {
|
||||||
|
if ($('body').hasClass('mobile-nav-active')) {
|
||||||
|
$('body').removeClass('mobile-nav-active');
|
||||||
|
$('.mobile-nav-toggle i').toggleClass('icofont-navigation-menu icofont-close');
|
||||||
|
$('.mobile-nav-overly').fadeOut();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
} else if ($(".mobile-nav, .mobile-nav-toggle").length) {
|
||||||
|
$(".mobile-nav, .mobile-nav-toggle").hide();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Back to top button
|
||||||
|
$(window).scroll(function() {
|
||||||
|
if ($(this).scrollTop() > 100) {
|
||||||
|
$('.back-to-top').fadeIn('slow');
|
||||||
|
} else {
|
||||||
|
$('.back-to-top').fadeOut('slow');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
$('.back-to-top').click(function() {
|
||||||
|
$('html, body').animate({
|
||||||
|
scrollTop: 0
|
||||||
|
}, 1500, 'easeInOutExpo');
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
|
||||||
|
// Skills section
|
||||||
|
$('.skills-content').waypoint(function() {
|
||||||
|
$('.progress .progress-bar').each(function() {
|
||||||
|
$(this).css("width", $(this).attr("aria-valuenow") + '%');
|
||||||
|
});
|
||||||
|
}, {
|
||||||
|
offset: '80%'
|
||||||
|
});
|
||||||
|
|
||||||
|
// jQuery counterUp
|
||||||
|
$('[data-toggle="counter-up"]').counterUp({
|
||||||
|
delay: 10,
|
||||||
|
time: 1000
|
||||||
|
});
|
||||||
|
|
||||||
|
// Testimonials carousel (uses the Owl Carousel library)
|
||||||
|
$(".testimonials-carousel").owlCarousel({
|
||||||
|
autoplay: true,
|
||||||
|
dots: true,
|
||||||
|
loop: true,
|
||||||
|
items: 1
|
||||||
|
});
|
||||||
|
|
||||||
|
// Porfolio isotope and filter
|
||||||
|
$(window).on('load', function() {
|
||||||
|
var portfolioIsotope = $('.portfolio-container').isotope({
|
||||||
|
itemSelector: '.portfolio-item'
|
||||||
|
});
|
||||||
|
|
||||||
|
$('#portfolio-flters li').on('click', function() {
|
||||||
|
$("#portfolio-flters li").removeClass('filter-active');
|
||||||
|
$(this).addClass('filter-active');
|
||||||
|
|
||||||
|
portfolioIsotope.isotope({
|
||||||
|
filter: $(this).data('filter')
|
||||||
|
});
|
||||||
|
aos_init();
|
||||||
|
});
|
||||||
|
|
||||||
|
// Initiate venobox (lightbox feature used in portofilo)
|
||||||
|
$(document).ready(function() {
|
||||||
|
$('.venobox').venobox({
|
||||||
|
'share': false
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
// Portfolio details carousel
|
||||||
|
$(".portfolio-details-carousel").owlCarousel({
|
||||||
|
autoplay: true,
|
||||||
|
dots: true,
|
||||||
|
loop: true,
|
||||||
|
items: 1
|
||||||
|
});
|
||||||
|
|
||||||
|
// Init AOS
|
||||||
|
function aos_init() {
|
||||||
|
AOS.init({
|
||||||
|
duration: 1000,
|
||||||
|
once: true
|
||||||
|
});
|
||||||
|
}
|
||||||
|
$(window).on('load', function() {
|
||||||
|
aos_init();
|
||||||
|
});
|
||||||
|
|
||||||
|
})(jQuery);
|
||||||
@@ -0,0 +1,932 @@
|
|||||||
|
body.stop-scrolling {
|
||||||
|
height: 100%;
|
||||||
|
overflow: hidden; }
|
||||||
|
|
||||||
|
.sweet-overlay {
|
||||||
|
background-color: black;
|
||||||
|
/* IE8 */
|
||||||
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
|
||||||
|
/* IE8 */
|
||||||
|
background-color: rgba(0, 0, 0, 0.4);
|
||||||
|
position: fixed;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
|
bottom: 0;
|
||||||
|
display: none;
|
||||||
|
z-index: 10000; }
|
||||||
|
|
||||||
|
.sweet-alert {
|
||||||
|
background-color: white;
|
||||||
|
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||||
|
width: 478px;
|
||||||
|
padding: 17px;
|
||||||
|
border-radius: 5px;
|
||||||
|
text-align: center;
|
||||||
|
position: fixed;
|
||||||
|
left: 50%;
|
||||||
|
top: 50%;
|
||||||
|
margin-left: -256px;
|
||||||
|
margin-top: -200px;
|
||||||
|
overflow: hidden;
|
||||||
|
display: none;
|
||||||
|
z-index: 99999; }
|
||||||
|
@media all and (max-width: 540px) {
|
||||||
|
.sweet-alert {
|
||||||
|
width: auto;
|
||||||
|
margin-left: 0;
|
||||||
|
margin-right: 0;
|
||||||
|
left: 15px;
|
||||||
|
right: 15px; } }
|
||||||
|
.sweet-alert h2 {
|
||||||
|
color: #575757;
|
||||||
|
font-size: 30px;
|
||||||
|
text-align: center;
|
||||||
|
font-weight: 600;
|
||||||
|
text-transform: none;
|
||||||
|
position: relative;
|
||||||
|
margin: 25px 0;
|
||||||
|
padding: 0;
|
||||||
|
line-height: 40px;
|
||||||
|
display: block; }
|
||||||
|
.sweet-alert p {
|
||||||
|
color: #797979;
|
||||||
|
font-size: 16px;
|
||||||
|
text-align: center;
|
||||||
|
font-weight: 300;
|
||||||
|
position: relative;
|
||||||
|
text-align: inherit;
|
||||||
|
float: none;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
line-height: normal; }
|
||||||
|
.sweet-alert fieldset {
|
||||||
|
border: none;
|
||||||
|
position: relative; }
|
||||||
|
.sweet-alert .sa-error-container {
|
||||||
|
background-color: #f1f1f1;
|
||||||
|
margin-left: -17px;
|
||||||
|
margin-right: -17px;
|
||||||
|
overflow: hidden;
|
||||||
|
padding: 0 10px;
|
||||||
|
max-height: 0;
|
||||||
|
webkit-transition: padding 0.15s, max-height 0.15s;
|
||||||
|
transition: padding 0.15s, max-height 0.15s; }
|
||||||
|
.sweet-alert .sa-error-container.show {
|
||||||
|
padding: 10px 0;
|
||||||
|
max-height: 100px;
|
||||||
|
webkit-transition: padding 0.2s, max-height 0.2s;
|
||||||
|
transition: padding 0.25s, max-height 0.25s; }
|
||||||
|
.sweet-alert .sa-error-container .icon {
|
||||||
|
display: inline-block;
|
||||||
|
width: 24px;
|
||||||
|
height: 24px;
|
||||||
|
border-radius: 50%;
|
||||||
|
background-color: #ea7d7d;
|
||||||
|
color: white;
|
||||||
|
line-height: 24px;
|
||||||
|
text-align: center;
|
||||||
|
margin-right: 3px; }
|
||||||
|
.sweet-alert .sa-error-container p {
|
||||||
|
display: inline-block; }
|
||||||
|
.sweet-alert .sa-input-error {
|
||||||
|
position: absolute;
|
||||||
|
top: 29px;
|
||||||
|
right: 26px;
|
||||||
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
opacity: 0;
|
||||||
|
-webkit-transform: scale(0.5);
|
||||||
|
transform: scale(0.5);
|
||||||
|
-webkit-transform-origin: 50% 50%;
|
||||||
|
transform-origin: 50% 50%;
|
||||||
|
-webkit-transition: all 0.1s;
|
||||||
|
transition: all 0.1s; }
|
||||||
|
.sweet-alert .sa-input-error::before, .sweet-alert .sa-input-error::after {
|
||||||
|
content: "";
|
||||||
|
width: 20px;
|
||||||
|
height: 6px;
|
||||||
|
background-color: #f06e57;
|
||||||
|
border-radius: 3px;
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
margin-top: -4px;
|
||||||
|
left: 50%;
|
||||||
|
margin-left: -9px; }
|
||||||
|
.sweet-alert .sa-input-error::before {
|
||||||
|
-webkit-transform: rotate(-45deg);
|
||||||
|
transform: rotate(-45deg); }
|
||||||
|
.sweet-alert .sa-input-error::after {
|
||||||
|
-webkit-transform: rotate(45deg);
|
||||||
|
transform: rotate(45deg); }
|
||||||
|
.sweet-alert .sa-input-error.show {
|
||||||
|
opacity: 1;
|
||||||
|
-webkit-transform: scale(1);
|
||||||
|
transform: scale(1); }
|
||||||
|
.sweet-alert input {
|
||||||
|
width: 100%;
|
||||||
|
box-sizing: border-box;
|
||||||
|
border-radius: 3px;
|
||||||
|
border: 1px solid #d7d7d7;
|
||||||
|
height: 43px;
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-bottom: 17px;
|
||||||
|
font-size: 18px;
|
||||||
|
box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.06);
|
||||||
|
padding: 0 12px;
|
||||||
|
display: none;
|
||||||
|
-webkit-transition: all 0.3s;
|
||||||
|
transition: all 0.3s; }
|
||||||
|
.sweet-alert input:focus {
|
||||||
|
outline: none;
|
||||||
|
box-shadow: 0px 0px 3px #c4e6f5;
|
||||||
|
border: 1px solid #b4dbed; }
|
||||||
|
.sweet-alert input:focus::-moz-placeholder {
|
||||||
|
transition: opacity 0.3s 0.03s ease;
|
||||||
|
opacity: 0.5; }
|
||||||
|
.sweet-alert input:focus:-ms-input-placeholder {
|
||||||
|
transition: opacity 0.3s 0.03s ease;
|
||||||
|
opacity: 0.5; }
|
||||||
|
.sweet-alert input:focus::-webkit-input-placeholder {
|
||||||
|
transition: opacity 0.3s 0.03s ease;
|
||||||
|
opacity: 0.5; }
|
||||||
|
.sweet-alert input::-moz-placeholder {
|
||||||
|
color: #bdbdbd; }
|
||||||
|
.sweet-alert input:-ms-input-placeholder {
|
||||||
|
color: #bdbdbd; }
|
||||||
|
.sweet-alert input::-webkit-input-placeholder {
|
||||||
|
color: #bdbdbd; }
|
||||||
|
.sweet-alert.show-input input {
|
||||||
|
display: block; }
|
||||||
|
.sweet-alert .sa-confirm-button-container {
|
||||||
|
display: inline-block;
|
||||||
|
position: relative; }
|
||||||
|
.sweet-alert .la-ball-fall {
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
top: 50%;
|
||||||
|
margin-left: -27px;
|
||||||
|
margin-top: 4px;
|
||||||
|
opacity: 0;
|
||||||
|
visibility: hidden; }
|
||||||
|
.sweet-alert button {
|
||||||
|
background-color: #8CD4F5;
|
||||||
|
color: white;
|
||||||
|
border: none;
|
||||||
|
box-shadow: none;
|
||||||
|
font-size: 17px;
|
||||||
|
font-weight: 500;
|
||||||
|
-webkit-border-radius: 4px;
|
||||||
|
border-radius: 5px;
|
||||||
|
padding: 10px 32px;
|
||||||
|
margin: 26px 5px 0 5px;
|
||||||
|
cursor: pointer; }
|
||||||
|
.sweet-alert button:focus {
|
||||||
|
outline: none;
|
||||||
|
box-shadow: 0 0 2px rgba(128, 179, 235, 0.5), inset 0 0 0 1px rgba(0, 0, 0, 0.05); }
|
||||||
|
.sweet-alert button:hover {
|
||||||
|
background-color: #7ecff4; }
|
||||||
|
.sweet-alert button:active {
|
||||||
|
background-color: #5dc2f1; }
|
||||||
|
.sweet-alert button.cancel {
|
||||||
|
background-color: #C1C1C1; }
|
||||||
|
.sweet-alert button.cancel:hover {
|
||||||
|
background-color: #b9b9b9; }
|
||||||
|
.sweet-alert button.cancel:active {
|
||||||
|
background-color: #a8a8a8; }
|
||||||
|
.sweet-alert button.cancel:focus {
|
||||||
|
box-shadow: rgba(197, 205, 211, 0.8) 0px 0px 2px, rgba(0, 0, 0, 0.0470588) 0px 0px 0px 1px inset !important; }
|
||||||
|
.sweet-alert button[disabled] {
|
||||||
|
opacity: .6;
|
||||||
|
cursor: default; }
|
||||||
|
.sweet-alert button.confirm[disabled] {
|
||||||
|
color: transparent; }
|
||||||
|
.sweet-alert button.confirm[disabled] ~ .la-ball-fall {
|
||||||
|
opacity: 1;
|
||||||
|
visibility: visible;
|
||||||
|
transition-delay: 0s; }
|
||||||
|
.sweet-alert button::-moz-focus-inner {
|
||||||
|
border: 0; }
|
||||||
|
.sweet-alert[data-has-cancel-button=false] button {
|
||||||
|
box-shadow: none !important; }
|
||||||
|
.sweet-alert[data-has-confirm-button=false][data-has-cancel-button=false] {
|
||||||
|
padding-bottom: 40px; }
|
||||||
|
.sweet-alert .sa-icon {
|
||||||
|
width: 80px;
|
||||||
|
height: 80px;
|
||||||
|
border: 4px solid gray;
|
||||||
|
-webkit-border-radius: 40px;
|
||||||
|
border-radius: 40px;
|
||||||
|
border-radius: 50%;
|
||||||
|
margin: 20px auto;
|
||||||
|
padding: 0;
|
||||||
|
position: relative;
|
||||||
|
box-sizing: content-box; }
|
||||||
|
.sweet-alert .sa-icon.sa-error {
|
||||||
|
border-color: #F27474; }
|
||||||
|
.sweet-alert .sa-icon.sa-error .sa-x-mark {
|
||||||
|
position: relative;
|
||||||
|
display: block; }
|
||||||
|
.sweet-alert .sa-icon.sa-error .sa-line {
|
||||||
|
position: absolute;
|
||||||
|
height: 5px;
|
||||||
|
width: 47px;
|
||||||
|
background-color: #F27474;
|
||||||
|
display: block;
|
||||||
|
top: 37px;
|
||||||
|
border-radius: 2px; }
|
||||||
|
.sweet-alert .sa-icon.sa-error .sa-line.sa-left {
|
||||||
|
-webkit-transform: rotate(45deg);
|
||||||
|
transform: rotate(45deg);
|
||||||
|
left: 17px; }
|
||||||
|
.sweet-alert .sa-icon.sa-error .sa-line.sa-right {
|
||||||
|
-webkit-transform: rotate(-45deg);
|
||||||
|
transform: rotate(-45deg);
|
||||||
|
right: 16px; }
|
||||||
|
.sweet-alert .sa-icon.sa-warning {
|
||||||
|
border-color: #F8BB86; }
|
||||||
|
.sweet-alert .sa-icon.sa-warning .sa-body {
|
||||||
|
position: absolute;
|
||||||
|
width: 5px;
|
||||||
|
height: 47px;
|
||||||
|
left: 50%;
|
||||||
|
top: 10px;
|
||||||
|
-webkit-border-radius: 2px;
|
||||||
|
border-radius: 2px;
|
||||||
|
margin-left: -2px;
|
||||||
|
background-color: #F8BB86; }
|
||||||
|
.sweet-alert .sa-icon.sa-warning .sa-dot {
|
||||||
|
position: absolute;
|
||||||
|
width: 7px;
|
||||||
|
height: 7px;
|
||||||
|
-webkit-border-radius: 50%;
|
||||||
|
border-radius: 50%;
|
||||||
|
margin-left: -3px;
|
||||||
|
left: 50%;
|
||||||
|
bottom: 10px;
|
||||||
|
background-color: #F8BB86; }
|
||||||
|
.sweet-alert .sa-icon.sa-info {
|
||||||
|
border-color: #C9DAE1; }
|
||||||
|
.sweet-alert .sa-icon.sa-info::before {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
width: 5px;
|
||||||
|
height: 29px;
|
||||||
|
left: 50%;
|
||||||
|
bottom: 17px;
|
||||||
|
border-radius: 2px;
|
||||||
|
margin-left: -2px;
|
||||||
|
background-color: #C9DAE1; }
|
||||||
|
.sweet-alert .sa-icon.sa-info::after {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
width: 7px;
|
||||||
|
height: 7px;
|
||||||
|
border-radius: 50%;
|
||||||
|
margin-left: -3px;
|
||||||
|
top: 19px;
|
||||||
|
background-color: #C9DAE1; }
|
||||||
|
.sweet-alert .sa-icon.sa-success {
|
||||||
|
border-color: #A5DC86; }
|
||||||
|
.sweet-alert .sa-icon.sa-success::before, .sweet-alert .sa-icon.sa-success::after {
|
||||||
|
content: '';
|
||||||
|
-webkit-border-radius: 40px;
|
||||||
|
border-radius: 40px;
|
||||||
|
border-radius: 50%;
|
||||||
|
position: absolute;
|
||||||
|
width: 60px;
|
||||||
|
height: 120px;
|
||||||
|
background: white;
|
||||||
|
-webkit-transform: rotate(45deg);
|
||||||
|
transform: rotate(45deg); }
|
||||||
|
.sweet-alert .sa-icon.sa-success::before {
|
||||||
|
-webkit-border-radius: 120px 0 0 120px;
|
||||||
|
border-radius: 120px 0 0 120px;
|
||||||
|
top: -7px;
|
||||||
|
left: -33px;
|
||||||
|
-webkit-transform: rotate(-45deg);
|
||||||
|
transform: rotate(-45deg);
|
||||||
|
-webkit-transform-origin: 60px 60px;
|
||||||
|
transform-origin: 60px 60px; }
|
||||||
|
.sweet-alert .sa-icon.sa-success::after {
|
||||||
|
-webkit-border-radius: 0 120px 120px 0;
|
||||||
|
border-radius: 0 120px 120px 0;
|
||||||
|
top: -11px;
|
||||||
|
left: 30px;
|
||||||
|
-webkit-transform: rotate(-45deg);
|
||||||
|
transform: rotate(-45deg);
|
||||||
|
-webkit-transform-origin: 0px 60px;
|
||||||
|
transform-origin: 0px 60px; }
|
||||||
|
.sweet-alert .sa-icon.sa-success .sa-placeholder {
|
||||||
|
width: 80px;
|
||||||
|
height: 80px;
|
||||||
|
border: 4px solid rgba(165, 220, 134, 0.2);
|
||||||
|
-webkit-border-radius: 40px;
|
||||||
|
border-radius: 40px;
|
||||||
|
border-radius: 50%;
|
||||||
|
box-sizing: content-box;
|
||||||
|
position: absolute;
|
||||||
|
left: -4px;
|
||||||
|
top: -4px;
|
||||||
|
z-index: 2; }
|
||||||
|
.sweet-alert .sa-icon.sa-success .sa-fix {
|
||||||
|
width: 5px;
|
||||||
|
height: 90px;
|
||||||
|
background-color: white;
|
||||||
|
position: absolute;
|
||||||
|
left: 28px;
|
||||||
|
top: 8px;
|
||||||
|
z-index: 1;
|
||||||
|
-webkit-transform: rotate(-45deg);
|
||||||
|
transform: rotate(-45deg); }
|
||||||
|
.sweet-alert .sa-icon.sa-success .sa-line {
|
||||||
|
height: 5px;
|
||||||
|
background-color: #A5DC86;
|
||||||
|
display: block;
|
||||||
|
border-radius: 2px;
|
||||||
|
position: absolute;
|
||||||
|
z-index: 2; }
|
||||||
|
.sweet-alert .sa-icon.sa-success .sa-line.sa-tip {
|
||||||
|
width: 25px;
|
||||||
|
left: 14px;
|
||||||
|
top: 46px;
|
||||||
|
-webkit-transform: rotate(45deg);
|
||||||
|
transform: rotate(45deg); }
|
||||||
|
.sweet-alert .sa-icon.sa-success .sa-line.sa-long {
|
||||||
|
width: 47px;
|
||||||
|
right: 8px;
|
||||||
|
top: 38px;
|
||||||
|
-webkit-transform: rotate(-45deg);
|
||||||
|
transform: rotate(-45deg); }
|
||||||
|
.sweet-alert .sa-icon.sa-custom {
|
||||||
|
background-size: contain;
|
||||||
|
border-radius: 0;
|
||||||
|
border: none;
|
||||||
|
background-position: center center;
|
||||||
|
background-repeat: no-repeat; }
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Animations
|
||||||
|
*/
|
||||||
|
@-webkit-keyframes showSweetAlert {
|
||||||
|
0% {
|
||||||
|
transform: scale(0.7);
|
||||||
|
-webkit-transform: scale(0.7); }
|
||||||
|
45% {
|
||||||
|
transform: scale(1.05);
|
||||||
|
-webkit-transform: scale(1.05); }
|
||||||
|
80% {
|
||||||
|
transform: scale(0.95);
|
||||||
|
-webkit-transform: scale(0.95); }
|
||||||
|
100% {
|
||||||
|
transform: scale(1);
|
||||||
|
-webkit-transform: scale(1); } }
|
||||||
|
|
||||||
|
@keyframes showSweetAlert {
|
||||||
|
0% {
|
||||||
|
transform: scale(0.7);
|
||||||
|
-webkit-transform: scale(0.7); }
|
||||||
|
45% {
|
||||||
|
transform: scale(1.05);
|
||||||
|
-webkit-transform: scale(1.05); }
|
||||||
|
80% {
|
||||||
|
transform: scale(0.95);
|
||||||
|
-webkit-transform: scale(0.95); }
|
||||||
|
100% {
|
||||||
|
transform: scale(1);
|
||||||
|
-webkit-transform: scale(1); } }
|
||||||
|
|
||||||
|
@-webkit-keyframes hideSweetAlert {
|
||||||
|
0% {
|
||||||
|
transform: scale(1);
|
||||||
|
-webkit-transform: scale(1); }
|
||||||
|
100% {
|
||||||
|
transform: scale(0.5);
|
||||||
|
-webkit-transform: scale(0.5); } }
|
||||||
|
|
||||||
|
@keyframes hideSweetAlert {
|
||||||
|
0% {
|
||||||
|
transform: scale(1);
|
||||||
|
-webkit-transform: scale(1); }
|
||||||
|
100% {
|
||||||
|
transform: scale(0.5);
|
||||||
|
-webkit-transform: scale(0.5); } }
|
||||||
|
|
||||||
|
@-webkit-keyframes slideFromTop {
|
||||||
|
0% {
|
||||||
|
top: 0%; }
|
||||||
|
100% {
|
||||||
|
top: 50%; } }
|
||||||
|
|
||||||
|
@keyframes slideFromTop {
|
||||||
|
0% {
|
||||||
|
top: 0%; }
|
||||||
|
100% {
|
||||||
|
top: 50%; } }
|
||||||
|
|
||||||
|
@-webkit-keyframes slideToTop {
|
||||||
|
0% {
|
||||||
|
top: 50%; }
|
||||||
|
100% {
|
||||||
|
top: 0%; } }
|
||||||
|
|
||||||
|
@keyframes slideToTop {
|
||||||
|
0% {
|
||||||
|
top: 50%; }
|
||||||
|
100% {
|
||||||
|
top: 0%; } }
|
||||||
|
|
||||||
|
@-webkit-keyframes slideFromBottom {
|
||||||
|
0% {
|
||||||
|
top: 70%; }
|
||||||
|
100% {
|
||||||
|
top: 50%; } }
|
||||||
|
|
||||||
|
@keyframes slideFromBottom {
|
||||||
|
0% {
|
||||||
|
top: 70%; }
|
||||||
|
100% {
|
||||||
|
top: 50%; } }
|
||||||
|
|
||||||
|
@-webkit-keyframes slideToBottom {
|
||||||
|
0% {
|
||||||
|
top: 50%; }
|
||||||
|
100% {
|
||||||
|
top: 70%; } }
|
||||||
|
|
||||||
|
@keyframes slideToBottom {
|
||||||
|
0% {
|
||||||
|
top: 50%; }
|
||||||
|
100% {
|
||||||
|
top: 70%; } }
|
||||||
|
|
||||||
|
.showSweetAlert[data-animation=pop] {
|
||||||
|
-webkit-animation: showSweetAlert 0.3s;
|
||||||
|
animation: showSweetAlert 0.3s; }
|
||||||
|
|
||||||
|
.showSweetAlert[data-animation=none] {
|
||||||
|
-webkit-animation: none;
|
||||||
|
animation: none; }
|
||||||
|
|
||||||
|
.showSweetAlert[data-animation=slide-from-top] {
|
||||||
|
-webkit-animation: slideFromTop 0.3s;
|
||||||
|
animation: slideFromTop 0.3s; }
|
||||||
|
|
||||||
|
.showSweetAlert[data-animation=slide-from-bottom] {
|
||||||
|
-webkit-animation: slideFromBottom 0.3s;
|
||||||
|
animation: slideFromBottom 0.3s; }
|
||||||
|
|
||||||
|
.hideSweetAlert[data-animation=pop] {
|
||||||
|
-webkit-animation: hideSweetAlert 0.2s;
|
||||||
|
animation: hideSweetAlert 0.2s; }
|
||||||
|
|
||||||
|
.hideSweetAlert[data-animation=none] {
|
||||||
|
-webkit-animation: none;
|
||||||
|
animation: none; }
|
||||||
|
|
||||||
|
.hideSweetAlert[data-animation=slide-from-top] {
|
||||||
|
-webkit-animation: slideToTop 0.4s;
|
||||||
|
animation: slideToTop 0.4s; }
|
||||||
|
|
||||||
|
.hideSweetAlert[data-animation=slide-from-bottom] {
|
||||||
|
-webkit-animation: slideToBottom 0.3s;
|
||||||
|
animation: slideToBottom 0.3s; }
|
||||||
|
|
||||||
|
@-webkit-keyframes animateSuccessTip {
|
||||||
|
0% {
|
||||||
|
width: 0;
|
||||||
|
left: 1px;
|
||||||
|
top: 19px; }
|
||||||
|
54% {
|
||||||
|
width: 0;
|
||||||
|
left: 1px;
|
||||||
|
top: 19px; }
|
||||||
|
70% {
|
||||||
|
width: 50px;
|
||||||
|
left: -8px;
|
||||||
|
top: 37px; }
|
||||||
|
84% {
|
||||||
|
width: 17px;
|
||||||
|
left: 21px;
|
||||||
|
top: 48px; }
|
||||||
|
100% {
|
||||||
|
width: 25px;
|
||||||
|
left: 14px;
|
||||||
|
top: 45px; } }
|
||||||
|
|
||||||
|
@keyframes animateSuccessTip {
|
||||||
|
0% {
|
||||||
|
width: 0;
|
||||||
|
left: 1px;
|
||||||
|
top: 19px; }
|
||||||
|
54% {
|
||||||
|
width: 0;
|
||||||
|
left: 1px;
|
||||||
|
top: 19px; }
|
||||||
|
70% {
|
||||||
|
width: 50px;
|
||||||
|
left: -8px;
|
||||||
|
top: 37px; }
|
||||||
|
84% {
|
||||||
|
width: 17px;
|
||||||
|
left: 21px;
|
||||||
|
top: 48px; }
|
||||||
|
100% {
|
||||||
|
width: 25px;
|
||||||
|
left: 14px;
|
||||||
|
top: 45px; } }
|
||||||
|
|
||||||
|
@-webkit-keyframes animateSuccessLong {
|
||||||
|
0% {
|
||||||
|
width: 0;
|
||||||
|
right: 46px;
|
||||||
|
top: 54px; }
|
||||||
|
65% {
|
||||||
|
width: 0;
|
||||||
|
right: 46px;
|
||||||
|
top: 54px; }
|
||||||
|
84% {
|
||||||
|
width: 55px;
|
||||||
|
right: 0px;
|
||||||
|
top: 35px; }
|
||||||
|
100% {
|
||||||
|
width: 47px;
|
||||||
|
right: 8px;
|
||||||
|
top: 38px; } }
|
||||||
|
|
||||||
|
@keyframes animateSuccessLong {
|
||||||
|
0% {
|
||||||
|
width: 0;
|
||||||
|
right: 46px;
|
||||||
|
top: 54px; }
|
||||||
|
65% {
|
||||||
|
width: 0;
|
||||||
|
right: 46px;
|
||||||
|
top: 54px; }
|
||||||
|
84% {
|
||||||
|
width: 55px;
|
||||||
|
right: 0px;
|
||||||
|
top: 35px; }
|
||||||
|
100% {
|
||||||
|
width: 47px;
|
||||||
|
right: 8px;
|
||||||
|
top: 38px; } }
|
||||||
|
|
||||||
|
@-webkit-keyframes rotatePlaceholder {
|
||||||
|
0% {
|
||||||
|
transform: rotate(-45deg);
|
||||||
|
-webkit-transform: rotate(-45deg); }
|
||||||
|
5% {
|
||||||
|
transform: rotate(-45deg);
|
||||||
|
-webkit-transform: rotate(-45deg); }
|
||||||
|
12% {
|
||||||
|
transform: rotate(-405deg);
|
||||||
|
-webkit-transform: rotate(-405deg); }
|
||||||
|
100% {
|
||||||
|
transform: rotate(-405deg);
|
||||||
|
-webkit-transform: rotate(-405deg); } }
|
||||||
|
|
||||||
|
@keyframes rotatePlaceholder {
|
||||||
|
0% {
|
||||||
|
transform: rotate(-45deg);
|
||||||
|
-webkit-transform: rotate(-45deg); }
|
||||||
|
5% {
|
||||||
|
transform: rotate(-45deg);
|
||||||
|
-webkit-transform: rotate(-45deg); }
|
||||||
|
12% {
|
||||||
|
transform: rotate(-405deg);
|
||||||
|
-webkit-transform: rotate(-405deg); }
|
||||||
|
100% {
|
||||||
|
transform: rotate(-405deg);
|
||||||
|
-webkit-transform: rotate(-405deg); } }
|
||||||
|
|
||||||
|
.animateSuccessTip {
|
||||||
|
-webkit-animation: animateSuccessTip 0.75s;
|
||||||
|
animation: animateSuccessTip 0.75s; }
|
||||||
|
|
||||||
|
.animateSuccessLong {
|
||||||
|
-webkit-animation: animateSuccessLong 0.75s;
|
||||||
|
animation: animateSuccessLong 0.75s; }
|
||||||
|
|
||||||
|
.sa-icon.sa-success.animate::after {
|
||||||
|
-webkit-animation: rotatePlaceholder 4.25s ease-in;
|
||||||
|
animation: rotatePlaceholder 4.25s ease-in; }
|
||||||
|
|
||||||
|
@-webkit-keyframes animateErrorIcon {
|
||||||
|
0% {
|
||||||
|
transform: rotateX(100deg);
|
||||||
|
-webkit-transform: rotateX(100deg);
|
||||||
|
opacity: 0; }
|
||||||
|
100% {
|
||||||
|
transform: rotateX(0deg);
|
||||||
|
-webkit-transform: rotateX(0deg);
|
||||||
|
opacity: 1; } }
|
||||||
|
|
||||||
|
@keyframes animateErrorIcon {
|
||||||
|
0% {
|
||||||
|
transform: rotateX(100deg);
|
||||||
|
-webkit-transform: rotateX(100deg);
|
||||||
|
opacity: 0; }
|
||||||
|
100% {
|
||||||
|
transform: rotateX(0deg);
|
||||||
|
-webkit-transform: rotateX(0deg);
|
||||||
|
opacity: 1; } }
|
||||||
|
|
||||||
|
.animateErrorIcon {
|
||||||
|
-webkit-animation: animateErrorIcon 0.5s;
|
||||||
|
animation: animateErrorIcon 0.5s; }
|
||||||
|
|
||||||
|
@-webkit-keyframes animateXMark {
|
||||||
|
0% {
|
||||||
|
transform: scale(0.4);
|
||||||
|
-webkit-transform: scale(0.4);
|
||||||
|
margin-top: 26px;
|
||||||
|
opacity: 0; }
|
||||||
|
50% {
|
||||||
|
transform: scale(0.4);
|
||||||
|
-webkit-transform: scale(0.4);
|
||||||
|
margin-top: 26px;
|
||||||
|
opacity: 0; }
|
||||||
|
80% {
|
||||||
|
transform: scale(1.15);
|
||||||
|
-webkit-transform: scale(1.15);
|
||||||
|
margin-top: -6px; }
|
||||||
|
100% {
|
||||||
|
transform: scale(1);
|
||||||
|
-webkit-transform: scale(1);
|
||||||
|
margin-top: 0;
|
||||||
|
opacity: 1; } }
|
||||||
|
|
||||||
|
@keyframes animateXMark {
|
||||||
|
0% {
|
||||||
|
transform: scale(0.4);
|
||||||
|
-webkit-transform: scale(0.4);
|
||||||
|
margin-top: 26px;
|
||||||
|
opacity: 0; }
|
||||||
|
50% {
|
||||||
|
transform: scale(0.4);
|
||||||
|
-webkit-transform: scale(0.4);
|
||||||
|
margin-top: 26px;
|
||||||
|
opacity: 0; }
|
||||||
|
80% {
|
||||||
|
transform: scale(1.15);
|
||||||
|
-webkit-transform: scale(1.15);
|
||||||
|
margin-top: -6px; }
|
||||||
|
100% {
|
||||||
|
transform: scale(1);
|
||||||
|
-webkit-transform: scale(1);
|
||||||
|
margin-top: 0;
|
||||||
|
opacity: 1; } }
|
||||||
|
|
||||||
|
.animateXMark {
|
||||||
|
-webkit-animation: animateXMark 0.5s;
|
||||||
|
animation: animateXMark 0.5s; }
|
||||||
|
|
||||||
|
@-webkit-keyframes pulseWarning {
|
||||||
|
0% {
|
||||||
|
border-color: #ffe000; }
|
||||||
|
100% {
|
||||||
|
border-color: #ffa000; } }
|
||||||
|
|
||||||
|
@keyframes pulseWarning {
|
||||||
|
0% {
|
||||||
|
border-color: #ffe000; }
|
||||||
|
100% {
|
||||||
|
border-color: #ffa000; } }
|
||||||
|
|
||||||
|
.pulseWarning {
|
||||||
|
-webkit-animation: pulseWarning 0.75s infinite alternate;
|
||||||
|
animation: pulseWarning 0.75s infinite alternate; }
|
||||||
|
|
||||||
|
@-webkit-keyframes pulseWarningIns {
|
||||||
|
0% {
|
||||||
|
background-color: #ffe000; }
|
||||||
|
100% {
|
||||||
|
background-color: #ffa000; } }
|
||||||
|
|
||||||
|
@keyframes pulseWarningIns {
|
||||||
|
0% {
|
||||||
|
background-color: #ffe000; }
|
||||||
|
100% {
|
||||||
|
background-color: #ffa000; } }
|
||||||
|
|
||||||
|
.pulseWarningIns {
|
||||||
|
-webkit-animation: pulseWarningIns 0.75s infinite alternate;
|
||||||
|
animation: pulseWarningIns 0.75s infinite alternate; }
|
||||||
|
|
||||||
|
@-webkit-keyframes rotate-loading {
|
||||||
|
0% {
|
||||||
|
transform: rotate(0deg); }
|
||||||
|
100% {
|
||||||
|
transform: rotate(360deg); } }
|
||||||
|
|
||||||
|
@keyframes rotate-loading {
|
||||||
|
0% {
|
||||||
|
transform: rotate(0deg); }
|
||||||
|
100% {
|
||||||
|
transform: rotate(360deg); } }
|
||||||
|
|
||||||
|
/* Internet Explorer 9 has some special quirks that are fixed here */
|
||||||
|
/* The icons are not animated. */
|
||||||
|
/* This file is automatically merged into sweet-alert.min.js through Gulp */
|
||||||
|
/* Error icon */
|
||||||
|
.sweet-alert .sa-icon.sa-error .sa-line.sa-left {
|
||||||
|
-ms-transform: rotate(45deg) \9; }
|
||||||
|
|
||||||
|
.sweet-alert .sa-icon.sa-error .sa-line.sa-right {
|
||||||
|
-ms-transform: rotate(-45deg) \9; }
|
||||||
|
|
||||||
|
/* Success icon */
|
||||||
|
.sweet-alert .sa-icon.sa-success {
|
||||||
|
border-color: transparent\9; }
|
||||||
|
|
||||||
|
.sweet-alert .sa-icon.sa-success .sa-line.sa-tip {
|
||||||
|
-ms-transform: rotate(45deg) \9; }
|
||||||
|
|
||||||
|
.sweet-alert .sa-icon.sa-success .sa-line.sa-long {
|
||||||
|
-ms-transform: rotate(-45deg) \9; }
|
||||||
|
|
||||||
|
/*!
|
||||||
|
* Load Awesome v1.1.0 (http://github.danielcardoso.net/load-awesome/)
|
||||||
|
* Copyright 2015 Daniel Cardoso <@DanielCardoso>
|
||||||
|
* Licensed under MIT
|
||||||
|
*/
|
||||||
|
.la-ball-fall,
|
||||||
|
.la-ball-fall > div {
|
||||||
|
position: relative;
|
||||||
|
-webkit-box-sizing: border-box;
|
||||||
|
-moz-box-sizing: border-box;
|
||||||
|
box-sizing: border-box; }
|
||||||
|
|
||||||
|
.la-ball-fall {
|
||||||
|
display: block;
|
||||||
|
font-size: 0;
|
||||||
|
color: #fff; }
|
||||||
|
|
||||||
|
.la-ball-fall.la-dark {
|
||||||
|
color: #333; }
|
||||||
|
|
||||||
|
.la-ball-fall > div {
|
||||||
|
display: inline-block;
|
||||||
|
float: none;
|
||||||
|
background-color: currentColor;
|
||||||
|
border: 0 solid currentColor; }
|
||||||
|
|
||||||
|
.la-ball-fall {
|
||||||
|
width: 54px;
|
||||||
|
height: 18px; }
|
||||||
|
|
||||||
|
.la-ball-fall > div {
|
||||||
|
width: 10px;
|
||||||
|
height: 10px;
|
||||||
|
margin: 4px;
|
||||||
|
border-radius: 100%;
|
||||||
|
opacity: 0;
|
||||||
|
-webkit-animation: ball-fall 1s ease-in-out infinite;
|
||||||
|
-moz-animation: ball-fall 1s ease-in-out infinite;
|
||||||
|
-o-animation: ball-fall 1s ease-in-out infinite;
|
||||||
|
animation: ball-fall 1s ease-in-out infinite; }
|
||||||
|
|
||||||
|
.la-ball-fall > div:nth-child(1) {
|
||||||
|
-webkit-animation-delay: -200ms;
|
||||||
|
-moz-animation-delay: -200ms;
|
||||||
|
-o-animation-delay: -200ms;
|
||||||
|
animation-delay: -200ms; }
|
||||||
|
|
||||||
|
.la-ball-fall > div:nth-child(2) {
|
||||||
|
-webkit-animation-delay: -100ms;
|
||||||
|
-moz-animation-delay: -100ms;
|
||||||
|
-o-animation-delay: -100ms;
|
||||||
|
animation-delay: -100ms; }
|
||||||
|
|
||||||
|
.la-ball-fall > div:nth-child(3) {
|
||||||
|
-webkit-animation-delay: 0ms;
|
||||||
|
-moz-animation-delay: 0ms;
|
||||||
|
-o-animation-delay: 0ms;
|
||||||
|
animation-delay: 0ms; }
|
||||||
|
|
||||||
|
.la-ball-fall.la-sm {
|
||||||
|
width: 26px;
|
||||||
|
height: 8px; }
|
||||||
|
|
||||||
|
.la-ball-fall.la-sm > div {
|
||||||
|
width: 4px;
|
||||||
|
height: 4px;
|
||||||
|
margin: 2px; }
|
||||||
|
|
||||||
|
.la-ball-fall.la-2x {
|
||||||
|
width: 108px;
|
||||||
|
height: 36px; }
|
||||||
|
|
||||||
|
.la-ball-fall.la-2x > div {
|
||||||
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
margin: 8px; }
|
||||||
|
|
||||||
|
.la-ball-fall.la-3x {
|
||||||
|
width: 162px;
|
||||||
|
height: 54px; }
|
||||||
|
|
||||||
|
.la-ball-fall.la-3x > div {
|
||||||
|
width: 30px;
|
||||||
|
height: 30px;
|
||||||
|
margin: 12px; }
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Animation
|
||||||
|
*/
|
||||||
|
@-webkit-keyframes ball-fall {
|
||||||
|
0% {
|
||||||
|
opacity: 0;
|
||||||
|
-webkit-transform: translateY(-145%);
|
||||||
|
transform: translateY(-145%); }
|
||||||
|
10% {
|
||||||
|
opacity: .5; }
|
||||||
|
20% {
|
||||||
|
opacity: 1;
|
||||||
|
-webkit-transform: translateY(0);
|
||||||
|
transform: translateY(0); }
|
||||||
|
80% {
|
||||||
|
opacity: 1;
|
||||||
|
-webkit-transform: translateY(0);
|
||||||
|
transform: translateY(0); }
|
||||||
|
90% {
|
||||||
|
opacity: .5; }
|
||||||
|
100% {
|
||||||
|
opacity: 0;
|
||||||
|
-webkit-transform: translateY(145%);
|
||||||
|
transform: translateY(145%); } }
|
||||||
|
|
||||||
|
@-moz-keyframes ball-fall {
|
||||||
|
0% {
|
||||||
|
opacity: 0;
|
||||||
|
-moz-transform: translateY(-145%);
|
||||||
|
transform: translateY(-145%); }
|
||||||
|
10% {
|
||||||
|
opacity: .5; }
|
||||||
|
20% {
|
||||||
|
opacity: 1;
|
||||||
|
-moz-transform: translateY(0);
|
||||||
|
transform: translateY(0); }
|
||||||
|
80% {
|
||||||
|
opacity: 1;
|
||||||
|
-moz-transform: translateY(0);
|
||||||
|
transform: translateY(0); }
|
||||||
|
90% {
|
||||||
|
opacity: .5; }
|
||||||
|
100% {
|
||||||
|
opacity: 0;
|
||||||
|
-moz-transform: translateY(145%);
|
||||||
|
transform: translateY(145%); } }
|
||||||
|
|
||||||
|
@-o-keyframes ball-fall {
|
||||||
|
0% {
|
||||||
|
opacity: 0;
|
||||||
|
-o-transform: translateY(-145%);
|
||||||
|
transform: translateY(-145%); }
|
||||||
|
10% {
|
||||||
|
opacity: .5; }
|
||||||
|
20% {
|
||||||
|
opacity: 1;
|
||||||
|
-o-transform: translateY(0);
|
||||||
|
transform: translateY(0); }
|
||||||
|
80% {
|
||||||
|
opacity: 1;
|
||||||
|
-o-transform: translateY(0);
|
||||||
|
transform: translateY(0); }
|
||||||
|
90% {
|
||||||
|
opacity: .5; }
|
||||||
|
100% {
|
||||||
|
opacity: 0;
|
||||||
|
-o-transform: translateY(145%);
|
||||||
|
transform: translateY(145%); } }
|
||||||
|
|
||||||
|
@keyframes ball-fall {
|
||||||
|
0% {
|
||||||
|
opacity: 0;
|
||||||
|
-webkit-transform: translateY(-145%);
|
||||||
|
-moz-transform: translateY(-145%);
|
||||||
|
-o-transform: translateY(-145%);
|
||||||
|
transform: translateY(-145%); }
|
||||||
|
10% {
|
||||||
|
opacity: .5; }
|
||||||
|
20% {
|
||||||
|
opacity: 1;
|
||||||
|
-webkit-transform: translateY(0);
|
||||||
|
-moz-transform: translateY(0);
|
||||||
|
-o-transform: translateY(0);
|
||||||
|
transform: translateY(0); }
|
||||||
|
80% {
|
||||||
|
opacity: 1;
|
||||||
|
-webkit-transform: translateY(0);
|
||||||
|
-moz-transform: translateY(0);
|
||||||
|
-o-transform: translateY(0);
|
||||||
|
transform: translateY(0); }
|
||||||
|
90% {
|
||||||
|
opacity: .5; }
|
||||||
|
100% {
|
||||||
|
opacity: 0;
|
||||||
|
-webkit-transform: translateY(145%);
|
||||||
|
-moz-transform: translateY(145%);
|
||||||
|
-o-transform: translateY(145%);
|
||||||
|
transform: translateY(145%); } }
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.swal=e():t.swal=e()}(this,function(){return function(t){function e(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=8)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o="swal-button";e.CLASS_NAMES={MODAL:"swal-modal",OVERLAY:"swal-overlay",SHOW_MODAL:"swal-overlay--show-modal",MODAL_TITLE:"swal-title",MODAL_TEXT:"swal-text",ICON:"swal-icon",ICON_CUSTOM:"swal-icon--custom",CONTENT:"swal-content",FOOTER:"swal-footer",BUTTON_CONTAINER:"swal-button-container",BUTTON:o,CONFIRM_BUTTON:o+"--confirm",CANCEL_BUTTON:o+"--cancel",DANGER_BUTTON:o+"--danger",BUTTON_LOADING:o+"--loading",BUTTON_LOADER:o+"__loader"},e.default=e.CLASS_NAMES},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getNode=function(t){var e="."+t;return document.querySelector(e)},e.stringToNode=function(t){var e=document.createElement("div");return e.innerHTML=t.trim(),e.firstChild},e.insertAfter=function(t,e){var n=e.nextSibling;e.parentNode.insertBefore(t,n)},e.removeNode=function(t){t.parentElement.removeChild(t)},e.throwErr=function(t){throw t=t.replace(/ +(?= )/g,""),"SweetAlert: "+(t=t.trim())},e.isPlainObject=function(t){if("[object Object]"!==Object.prototype.toString.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype},e.ordinalSuffixOf=function(t){var e=t%10,n=t%100;return 1===e&&11!==n?t+"st":2===e&&12!==n?t+"nd":3===e&&13!==n?t+"rd":t+"th"}},function(t,e,n){"use strict";function o(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}Object.defineProperty(e,"__esModule",{value:!0}),o(n(25));var r=n(26);e.overlayMarkup=r.default,o(n(27)),o(n(28)),o(n(29));var i=n(0),a=i.default.MODAL_TITLE,s=i.default.MODAL_TEXT,c=i.default.ICON,l=i.default.FOOTER;e.iconMarkup='\n <div class="'+c+'"></div>',e.titleMarkup='\n <div class="'+a+'"></div>\n',e.textMarkup='\n <div class="'+s+'"></div>',e.footerMarkup='\n <div class="'+l+'"></div>\n'},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(1);e.CONFIRM_KEY="confirm",e.CANCEL_KEY="cancel";var r={visible:!0,text:null,value:null,className:"",closeModal:!0},i=Object.assign({},r,{visible:!1,text:"Cancel",value:null}),a=Object.assign({},r,{text:"OK",value:!0});e.defaultButtonList={cancel:i,confirm:a};var s=function(t){switch(t){case e.CONFIRM_KEY:return a;case e.CANCEL_KEY:return i;default:var n=t.charAt(0).toUpperCase()+t.slice(1);return Object.assign({},r,{text:n,value:t})}},c=function(t,e){var n=s(t);return!0===e?Object.assign({},n,{visible:!0}):"string"==typeof e?Object.assign({},n,{visible:!0,text:e}):o.isPlainObject(e)?Object.assign({visible:!0},n,e):Object.assign({},n,{visible:!1})},l=function(t){for(var e={},n=0,o=Object.keys(t);n<o.length;n++){var r=o[n],a=t[r],s=c(r,a);e[r]=s}return e.cancel||(e.cancel=i),e},u=function(t){var n={};switch(t.length){case 1:n[e.CANCEL_KEY]=Object.assign({},i,{visible:!1});break;case 2:n[e.CANCEL_KEY]=c(e.CANCEL_KEY,t[0]),n[e.CONFIRM_KEY]=c(e.CONFIRM_KEY,t[1]);break;default:o.throwErr("Invalid number of 'buttons' in array ("+t.length+").\n If you want more than 2 buttons, you need to use an object!")}return n};e.getButtonListOpts=function(t){var n=e.defaultButtonList;return"string"==typeof t?n[e.CONFIRM_KEY]=c(e.CONFIRM_KEY,t):Array.isArray(t)?n=u(t):o.isPlainObject(t)?n=l(t):!0===t?n=u([!0,!0]):!1===t?n=u([!1,!1]):void 0===t&&(n=e.defaultButtonList),n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(1),r=n(2),i=n(0),a=i.default.MODAL,s=i.default.OVERLAY,c=n(30),l=n(31),u=n(32),f=n(33);e.injectElIntoModal=function(t){var e=o.getNode(a),n=o.stringToNode(t);return e.appendChild(n),n};var d=function(t){t.className=a,t.textContent=""},p=function(t,e){d(t);var n=e.className;n&&t.classList.add(n)};e.initModalContent=function(t){var e=o.getNode(a);p(e,t),c.default(t.icon),l.initTitle(t.title),l.initText(t.text),f.default(t.content),u.default(t.buttons,t.dangerMode)};var m=function(){var t=o.getNode(s),e=o.stringToNode(r.modalMarkup);t.appendChild(e)};e.default=m},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(3),r={isOpen:!1,promise:null,actions:{},timer:null},i=Object.assign({},r);e.resetState=function(){i=Object.assign({},r)},e.setActionValue=function(t){if("string"==typeof t)return a(o.CONFIRM_KEY,t);for(var e in t)a(e,t[e])};var a=function(t,e){i.actions[t]||(i.actions[t]={}),Object.assign(i.actions[t],{vLine truncated
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
!function(e,t,n){"use strict";!function o(e,t,n){function a(s,l){if(!t[s]){if(!e[s]){var i="function"==typeof require&&require;if(!l&&i)return i(s,!0);if(r)return r(s,!0);var u=new Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}var c=t[s]={exports:{}};e[s][0].call(c.exports,function(t){var n=e[s][1][t];return a(n?n:t)},c,c.exports,o,e,t,n)}return t[s].exports}for(var r="function"==typeof require&&require,s=0;s<n.length;s++)a(n[s]);return a}({1:[function(o,a,r){var s=function(e){return e&&e.__esModule?e:{"default":e}};Object.defineProperty(r,"__esModule",{value:!0});var l,i,u,c,d=o("./modules/handle-dom"),f=o("./modules/utils"),p=o("./modules/handle-swal-dom"),m=o("./modules/handle-click"),v=o("./modules/handle-key"),y=s(v),h=o("./modules/default-params"),b=s(h),g=o("./modules/set-params"),w=s(g);r["default"]=u=c=function(){function o(e){var t=a;return t[e]===n?b["default"][e]:t[e]}var a=arguments[0];if(d.addClass(t.body,"stop-scrolling"),p.resetInput(),a===n)return f.logStr("SweetAlert expects at least 1 attribute!"),!1;var r=f.extend({},b["default"]);switch(typeof a){case"string":r.title=a,r.text=arguments[1]||"",r.type=arguments[2]||"";break;case"object":if(a.title===n)return f.logStr('Missing "title" argument!'),!1;r.title=a.title;for(var s in b["default"])r[s]=o(s);r.confirmButtonText=r.showCancelButton?"Confirm":b["default"].confirmButtonText,r.confirmButtonText=o("confirmButtonText"),r.doneFunction=arguments[1]||null;break;default:return f.logStr('Unexpected type of argument! Expected "string" or "object", got '+typeof a),!1}w["default"](r),p.fixVerticalPosition(),p.openModal(arguments[1]);for(var u=p.getModal(),v=u.querySelectorAll("button"),h=["onclick","onmouseover","onmouseout","onmousedown","onmouseup","onfocus"],g=function(e){return m.handleButton(e,r,u)},C=0;C<v.length;C++)for(var S=0;S<h.length;S++){var x=h[S];v[C][x]=g}p.getOverlay().onclick=g,l=e.onkeydown;var k=function(e){return y["default"](e,r,u)};e.onkeydown=k,e.onfocus=function(){setTimeout(function(){i!==n&&(i.focus(),i=n)},0)},c.enableButtons()},u.setDefaults=c.setDefaults=function(e){if(!e)throw new Error("userParams is required");if("object"!=typeof e)throw new Error("userParams has to be a object");f.extend(b["default"],e)},u.close=c.close=function(){var o=p.getModal();d.fadeOut(p.getOverlay(),5),d.fadeOut(o,5),d.removeClass(o,"showSweetAlert"),d.addClass(o,"hideSweetAlert"),d.removeClass(o,"visible");var a=o.querySelector(".sa-icon.sa-success");d.removeClass(a,"animate"),d.removeClass(a.querySelector(".sa-tip"),"animateSuccessTip"),d.removeClass(a.querySelector(".sa-long"),"animateSuccessLong");var r=o.querySelector(".sa-icon.sa-error");d.removeClass(r,"animateErrorIcon"),d.removeClass(r.querySelector(".sa-x-mark"),"animateXMark");var s=o.querySelector(".sa-icon.sa-warning");return d.removeClass(s,"pulseWarning"),d.removeClass(s.querySelector(".sa-body"),"pulseWarningIns"),d.removeClass(s.querySelector(".sa-dot"),"pulseWarningIns"),setTimeout(function(){var e=o.getAttribute("data-custom-class");d.removeClass(o,e)},300),d.removeClass(t.body,"stop-scrolling"),e.onkeydown=l,e.previousActiveElement&&e.previousActiveElement.focus(),i=n,clearTimeout(o.timeout),!0},u.showInputError=c.showInputError=function(e){var t=p.getModal(),n=t.querySelector(".sa-input-error");d.addClass(n,"show");var o=t.querySelector(".sa-error-container");d.addClass(o,"show"),o.querySelector("p").innerHTML=e,setTimeout(function(){u.enableButtons()},1),t.querySelector("input").focus()},u.resetInputError=c.resetInputError=function(e){if(e&&13===e.keyCode)return!1;var t=p.getModal(),n=t.querySelector(".sa-input-error");d.removeClass(n,"show");var o=t.querySelector(".sa-error-container");d.removeClass(o,"show")},u.disableButtons=c.disableButtons=function(){var e=p.getModal(),t=e.querySelector("button.confirm"),n=e.querySelector("button.cancel");t.disabled=!0,n.disabled=!0},u.enableButtons=c.enableButtons=function(){var e=p.getModal(),t=e.querySelector("button.confirm"),n=e.querySelector("button.cancel");t.disabled=!1,n.disabled=!1},"undefined"!=typeof e?e.sweetAlert=e.swal=u:f.logStr("SweetAlert is a frontend module!"),a.exports=r["default"]},{"./modules/default-params":2,"./modules/handle-click":3,"./modules/handle-dom":4,"./modules/handle-key":5,"./modules/handle-swal-dom":6,"./modules/set-params":8,"./modules/utils":9}],2:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var o={title:"",text:"",type:null,allowOutsideClick:!1,showConfirmButton:!0,showCancelButton:!1,closeOnConfirm:!0,closeOnCancel:!0,confirmButtonText:"OK",confirmButtonColor:"#8CD4F5",cancelButtonText:"Cancel",imageUrl:null,imageSize:null,timer:null,customClass:"",html:!1,animation:!0,allowEscapeKey:!0,inputType:"text",inputPlaceholder:"",inputValue:"",showLoaderOnConfirm:!1};n["default"]=o,t.exports=n["default"]},{}],3:[function(t,n,o){Object.defineProperty(o,"__esModule",{value:!0});var a=t("./utils"),r=(t("./handle-swal-dom"),t("./handle-dom")),s=functionLine truncated
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
/*
|
||||||
|
* Note that this is toastr v2.1.3, the "latest" version in url has no more maintenance,
|
||||||
|
* please go to https://cdnjs.com/libraries/toastr.js and pick a certain version you want to use,
|
||||||
|
* make sure you copy the url from the website since the url may change between versions.
|
||||||
|
* */
|
||||||
|
.toast-title{font-weight:700}.toast-message{-ms-word-wrap:break-word;word-wrap:break-word}.toast-message a,.toast-message label{color:#FFF}.toast-message a:hover{color:#CCC;text-decoration:none}.toast-close-button{position:relative;right:-.3em;top:-.3em;float:right;font-size:20px;font-weight:700;color:#FFF;-webkit-text-shadow:0 1px 0 #fff;text-shadow:0 1px 0 #fff;opacity:.8;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80);filter:alpha(opacity=80);line-height:1}.toast-close-button:focus,.toast-close-button:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.4;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=40);filter:alpha(opacity=40)}.rtl .toast-close-button{left:-.3em;float:left;right:.3em}button.toast-close-button{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance:none}.toast-top-center{top:0;right:0;width:100%}.toast-bottom-center{bottom:0;right:0;width:100%}.toast-top-full-width{top:0;right:0;width:100%}.toast-bottom-full-width{bottom:0;right:0;width:100%}.toast-top-left{top:12px;left:12px}.toast-top-right{top:12px;right:12px}.toast-bottom-right{right:12px;bottom:12px}.toast-bottom-left{bottom:12px;left:12px}#toast-container{position:fixed;z-index:999999;pointer-events:none}#toast-container *{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}#toast-container>div{position:relative;pointer-events:auto;overflow:hidden;margin:0 0 6px;padding:15px 15px 15px 50px;width:300px;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;background-position:15px center;background-repeat:no-repeat;-moz-box-shadow:0 0 12px #999;-webkit-box-shadow:0 0 12px #999;box-shadow:0 0 12px #999;color:#FFF;opacity:.8;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80);filter:alpha(opacity=80)}#toast-container>div.rtl{direction:rtl;padding:15px 50px 15px 15px;background-position:right 15px center}#toast-container>div:hover{-moz-box-shadow:0 0 12px #000;-webkit-box-shadow:0 0 12px #000;box-shadow:0 0 12px #000;opacity:1;-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=100);filter:alpha(opacity=100);cursor:pointer}#toast-container>.toast-info{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGwSURBVEhLtZa9SgNBEMc9sUxxRcoUKSzSWIhXpFMhhYWFhaBg4yPYiWCXZxBLERsLRS3EQkEfwCKdjWJAwSKCgoKCcudv4O5YLrt7EzgXhiU3/4+b2ckmwVjJSpKkQ6wAi4gwhT+z3wRBcEz0yjSseUTrcRyfsHsXmD0AmbHOC9Ii8VImnuXBPglHpQ5wwSVM7sNnTG7Za4JwDdCjxyAiH3nyA2mtaTJufiDZ5dCaqlItILh1NHatfN5skvjx9Z38m69CgzuXmZgVrPIGE763Jx9qKsRozWYw6xOHdER+nn2KkO+Bb+UV5CBN6WC6QtBgbRVozrahAbmm6HtUsgtPC19tFdxXZYBOfkbmFJ1VaHA1VAHjd0pp70oTZzvR+EVrx2Ygfdsq6eu55BHYR8hlcki+n+kERUFG8BrA0BwjeAv2M8WLQBtcy+SD6fNsmnB3AlBLrgTtVW1c2QN4bVWLATaIS60J2Du5y1TiJgjSBvFVZgTmwCU+dAZFoPxGEEs8nyHC9Bwe2GvEJv2WXZb0vjdyFT4Cxk3e/kIqlOGoVLwwPevpYHT+00T+hWwXDf4AJAOUqWcDhbwAAAAASUVORK5CYII=)!important}#toast-container>.toast-error{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHOSURBVEhLrZa/SgNBEMZzh0WKCClSCKaIYOED+AAKeQQLG8HWztLCImBrYadgIdY+gIKNYkBFSwu7CAoqCgkkoGBI/E28PdbLZmeDLgzZzcx83/zZ2SSXC1j9fr+I1Hq93g2yxH4iwM1vkoBWAdxCmpzTxfkN2RcyZNaHFIkSo10+8kgxkXIURV5HGxTmFuc75B2RfQkpxHG8aAgaAFa0tAHqYFfQ7Iwe2yhODk8+J4C7yAoRTWI3w/4klGRgR4lO7Rpn9+gvMyWp+uxFh8+H+ARlgN1nJuJuQAYvNkEnwGFck18Er4q3egEc/oO+mhLdKgRyhdNFiacC0rlOCbhNVz4H9FnAYgDBvU3QIioZlJFLJtsoHYRDfiZoUyIxqCtRpVlANq0EU4dApjrtgezPFad5S19Wgjkc0hNVnuF4HjVA6C7QrSIbylB+oZe3aHgBsqlNqKYH48jXyJKMuAbiyVJ8KzaB3eRc0pg9VwQ4niFryI68qiOi3AbjwdsfnAtk0bCjTLJKr6mrD9g8iq/S/B81hguOMlQTnVyG40wAcjnmgsCNESDrjme7wfftP4P7SP4N3CJZdvzoNyGq2c/HWOXJGsvVg+RA/k2MC/wN6I2YA2Pt8GkAAAAASUVORK5CYII=)!important}#toast-container>.toast-success{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADsSURBVEhLY2AYBfQMgf///3P8+/evAIgvA/FsIF+BavYDDWMBGroaSMMBiE8VC7AZDrIFaMFnii3AZTjUgsUUWUDA8OdAH6iQbQEhw4HyGsPEcKBXBIC4ARhex4G4BsjmweU1soIFaGg/WtoFZRIZdEvIMhxkCCjXIVsATV6gFGACs4Rsw0EGgIIH3QJYJgHSARQZDrWAB+jawzgs+Q2UO49D7jnRSRGoEFRILcdmEMWGI0cm0JJ2QpYA1RDvcmzJEWhABhD/pqrL0S0CWuABKgnRki9lLseS7g2AlqwHWQSKH4oKLrILpRGhEQCw2LiRUIa4lwAAAABJRU5ErkJggg==)!important}#toast-container>.toast-warning{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGYSURBVEhL5ZSvTsNQFMbXZGICMYGYmJhAQIJAICYQPAACiSDB8AiICQQJT4CqQEwgJvYASAQCiZiYmJhAIBATCARJy+9rTsldd8sKu1M0+dLb057v6/lbq/2rK0mS/TRNj9cWNAKPYIJII7gIxCcQ51cvqID+GIEX8ASG4B1bK5gIZFeQfoJdEXOfgX4QAQg7kH2A65yQ87lyxb27sggkAzAuFhbbg1K2kgCkB1bVwyIR9m2L7PRPIhDUIXgGtyKw575yz3lTNs6X4JXnjV+LKM/m3MydnTbtOKIjtz6VhCBq4vSm3ncdrD2lk0VgUXSVKjVDJXJzijW1RQdsU7F77He8u68koNZTz8Oz5yGa6J3H3lZ0xYgXBK2QymlWWA+RWnYhskLBv2vmE+hBMCtbA7KX5drWyRT/2JsqZ2IvfB9Y4bWDNMFbJRFmC9E74SoS0CqulwjkC0+5bpcV1CZ8NMej4pjLine truncated
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
/*
|
||||||
|
* Note that this is toastr v2.1.3, the "latest" version in url has no more maintenance,
|
||||||
|
* please go to https://cdnjs.com/libraries/toastr.js and pick a certain version you want to use,
|
||||||
|
* make sure you copy the url from the website since the url may change between versions.
|
||||||
|
* */
|
||||||
|
!function(e){e(["jquery"],function(e){return function(){function t(e,t,n){return g({type:O.error,iconClass:m().iconClasses.error,message:e,optionsOverride:n,title:t})}function n(t,n){return t||(t=m()),v=e("#"+t.containerId),v.length?v:(n&&(v=d(t)),v)}function o(e,t,n){return g({type:O.info,iconClass:m().iconClasses.info,message:e,optionsOverride:n,title:t})}function s(e){C=e}function i(e,t,n){return g({type:O.success,iconClass:m().iconClasses.success,message:e,optionsOverride:n,title:t})}function a(e,t,n){return g({type:O.warning,iconClass:m().iconClasses.warning,message:e,optionsOverride:n,title:t})}function r(e,t){var o=m();v||n(o),u(e,o,t)||l(o)}function c(t){var o=m();return v||n(o),t&&0===e(":focus",t).length?void h(t):void(v.children().length&&v.remove())}function l(t){for(var n=v.children(),o=n.length-1;o>=0;o--)u(e(n[o]),t)}function u(t,n,o){var s=!(!o||!o.force)&&o.force;return!(!t||!s&&0!==e(":focus",t).length)&&(t[n.hideMethod]({duration:n.hideDuration,easing:n.hideEasing,complete:function(){h(t)}}),!0)}function d(t){return v=e("<div/>").attr("id",t.containerId).addClass(t.positionClass),v.appendTo(e(t.target)),v}function p(){return{tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,showMethod:"fadeIn",showDuration:300,showEasing:"swing",onShown:void 0,hideMethod:"fadeOut",hideDuration:1e3,hideEasing:"swing",onHidden:void 0,closeMethod:!1,closeDuration:!1,closeEasing:!1,closeOnHover:!0,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",escapeHtml:!1,target:"body",closeHtml:'<button type="button">×</button>',closeClass:"toast-close-button",newestOnTop:!0,preventDuplicates:!1,progressBar:!1,progressClass:"toast-progress",rtl:!1}}function f(e){C&&C(e)}function g(t){function o(e){return null==e&&(e=""),e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function s(){c(),u(),d(),p(),g(),C(),l(),i()}function i(){var e="";switch(t.iconClass){case"toast-success":case"toast-info":e="polite";break;default:e="assertive"}I.attr("aria-live",e)}function a(){E.closeOnHover&&I.hover(H,D),!E.onclick&&E.tapToDismiss&&I.click(b),E.closeButton&&j&&j.click(function(e){e.stopPropagation?e.stopPropagation():void 0!==e.cancelBubble&&e.cancelBubble!==!0&&(e.cancelBubble=!0),E.onCloseClick&&E.onCloseClick(e),b(!0)}),E.onclick&&I.click(function(e){E.onclick(e),b()})}function r(){I.hide(),I[E.showMethod]({duration:E.showDuration,easing:E.showEasing,complete:E.onShown}),E.timeOut>0&&(k=setTimeout(b,E.timeOut),F.maxHideTime=parseFloat(E.timeOut),F.hideEta=(new Date).getTime()+F.maxHideTime,E.progressBar&&(F.intervalId=setInterval(x,10)))}function c(){t.iconClass&&I.addClass(E.toastClass).addClass(y)}function l(){E.newestOnTop?v.prepend(I):v.append(I)}function u(){if(t.title){var e=t.title;E.escapeHtml&&(e=o(t.title)),M.append(e).addClass(E.titleClass),I.append(M)}}function d(){if(t.message){var e=t.message;E.escapeHtml&&(e=o(t.message)),B.append(e).addClass(E.messageClass),I.append(B)}}function p(){E.closeButton&&(j.addClass(E.closeClass).attr("role","button"),I.prepend(j))}function g(){E.progressBar&&(q.addClass(E.progressClass),I.prepend(q))}function C(){E.rtl&&I.addClass("rtl")}function O(e,t){if(e.preventDuplicates){if(t.message===w)return!0;w=t.message}return!1}function b(t){var n=t&&E.closeMethod!==!1?E.closeMethod:E.hideMethod,o=t&&E.closeDuration!==!1?E.closeDuration:E.hideDuration,s=t&&E.closeEasing!==!1?E.closeEasing:E.hideEasing;if(!e(":focus",I).length||t)return clearTimeout(F.intervalId),I[n]({duration:o,easing:s,complete:function(){h(I),clearTimeout(k),E.onHidden&&"hidden"!==P.state&&E.onHidden(),P.state="hidden",P.endTime=new Date,f(P)}})}function D(){(E.timeOut>0||E.extendedTimeOut>0)&&(k=setTimeout(b,E.extendedTimeOut),F.maxHideTime=parseFloat(E.extendedTimeOut),F.hideEta=(new Date).getTime()+F.maxHideTime)}function H(){clearTimeout(k),F.hideEta=0,I.stop(!0,!0)[E.showMethod]({duration:E.showDuration,easing:E.showEasing})}function x(){var e=(F.hideEta-(new Date).getTime())/F.maxHideTime*100;q.width(e+"%")}var E=m(),y=t.iconClass||E.iconClass;if("undefined"!=typeof t.optionsOverride&&(E=e.extend(E,t.optionsOverride),y=t.optionsOverride.iconClass||y),!O(E,t)){T++,v=n(E,!0);var k=null,I=e("<div/>"),M=e("<div/>"),B=e("<div/>"),q=e("<div/>"),j=e(E.closeHtml),F={intervalId:null,hideEta:null,maxHideTime:null},P={toastId:T,state:"visible",startTime:new Date,options:E,map:t};return s(),r(),a(),f(P),E.debug&&console&&console.log(P),I}}function m(){return e.extend({},p(),b.options)}function h(e){v||(v=n()),e.is(":visible")||(e.remove(),e=null,0===v.children().length&&(v.remove(),w=void 0))}var v,C,w,T=0,O={error:"error",info:"info",success:"success",warning:"warning"},b={clear:r,remove:c,error:t,getContainer:n,info:o,options:{},subscribe:s,successLine truncated
|
||||||
|
//# sourceMappingURL=toastr.js.map
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
[data-aos][data-aos][data-aos-duration="50"],body[data-aos-duration="50"] [data-aos]{transition-duration:50ms}[data-aos][data-aos][data-aos-delay="50"],body[data-aos-delay="50"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="50"].aos-animate,body[data-aos-delay="50"] [data-aos].aos-animate{transition-delay:50ms}[data-aos][data-aos][data-aos-duration="100"],body[data-aos-duration="100"] [data-aos]{transition-duration:.1s}[data-aos][data-aos][data-aos-delay="100"],body[data-aos-delay="100"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="100"].aos-animate,body[data-aos-delay="100"] [data-aos].aos-animate{transition-delay:.1s}[data-aos][data-aos][data-aos-duration="150"],body[data-aos-duration="150"] [data-aos]{transition-duration:.15s}[data-aos][data-aos][data-aos-delay="150"],body[data-aos-delay="150"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="150"].aos-animate,body[data-aos-delay="150"] [data-aos].aos-animate{transition-delay:.15s}[data-aos][data-aos][data-aos-duration="200"],body[data-aos-duration="200"] [data-aos]{transition-duration:.2s}[data-aos][data-aos][data-aos-delay="200"],body[data-aos-delay="200"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="200"].aos-animate,body[data-aos-delay="200"] [data-aos].aos-animate{transition-delay:.2s}[data-aos][data-aos][data-aos-duration="250"],body[data-aos-duration="250"] [data-aos]{transition-duration:.25s}[data-aos][data-aos][data-aos-delay="250"],body[data-aos-delay="250"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="250"].aos-animate,body[data-aos-delay="250"] [data-aos].aos-animate{transition-delay:.25s}[data-aos][data-aos][data-aos-duration="300"],body[data-aos-duration="300"] [data-aos]{transition-duration:.3s}[data-aos][data-aos][data-aos-delay="300"],body[data-aos-delay="300"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="300"].aos-animate,body[data-aos-delay="300"] [data-aos].aos-animate{transition-delay:.3s}[data-aos][data-aos][data-aos-duration="350"],body[data-aos-duration="350"] [data-aos]{transition-duration:.35s}[data-aos][data-aos][data-aos-delay="350"],body[data-aos-delay="350"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="350"].aos-animate,body[data-aos-delay="350"] [data-aos].aos-animate{transition-delay:.35s}[data-aos][data-aos][data-aos-duration="400"],body[data-aos-duration="400"] [data-aos]{transition-duration:.4s}[data-aos][data-aos][data-aos-delay="400"],body[data-aos-delay="400"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="400"].aos-animate,body[data-aos-delay="400"] [data-aos].aos-animate{transition-delay:.4s}[data-aos][data-aos][data-aos-duration="450"],body[data-aos-duration="450"] [data-aos]{transition-duration:.45s}[data-aos][data-aos][data-aos-delay="450"],body[data-aos-delay="450"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="450"].aos-animate,body[data-aos-delay="450"] [data-aos].aos-animate{transition-delay:.45s}[data-aos][data-aos][data-aos-duration="500"],body[data-aos-duration="500"] [data-aos]{transition-duration:.5s}[data-aos][data-aos][data-aos-delay="500"],body[data-aos-delay="500"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="500"].aos-animate,body[data-aos-delay="500"] [data-aos].aos-animate{transition-delay:.5s}[data-aos][data-aos][data-aos-duration="550"],body[data-aos-duration="550"] [data-aos]{transition-duration:.55s}[data-aos][data-aos][data-aos-delay="550"],body[data-aos-delay="550"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="550"].aos-animate,body[data-aos-delay="550"] [data-aos].aos-animate{transition-delay:.55s}[data-aos][data-aos][data-aos-duration="600"],body[data-aos-duration="600"] [data-aos]{transition-duration:.6s}[data-aos][data-aos][data-aos-delay="600"],body[data-aos-delay="600"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="600"].aos-animate,body[data-aos-delay="600"] [data-aos].aos-animate{transition-delay:.6s}[data-aos][data-aos][data-aos-duration="650"],body[data-aos-duration="650"] [data-aos]{transition-duration:.65s}[data-aos][data-aos][data-aos-delay="650"],body[data-aos-delay="650"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="650"].aos-animate,body[data-aos-delay="650"] [data-aos].aos-animate{transition-delay:.65s}[data-aos][data-aos][data-aos-duration="700"],body[data-aos-duration="700"] [data-aos]{transition-duration:.7s}[data-aos][data-aos][data-aos-delay="700"],body[data-aos-delay="700"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="700"].aos-animate,body[data-aos-delay="700"] [data-aos].aos-animate{transition-delay:.7s}[data-aos][data-aos][data-aos-duration="750"],body[data-aos-duration="750"] [data-aos]{transition-duration:.75s}[data-aos][data-aos][data-aos-delay="750"],body[data-aos-delay="750"] [data-aos]{transition-delay:0}[data-aos][data-aos][data-aos-delay="750"].aos-animate,body[dLine truncated
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.AOS=t():e.AOS=t()}(this,function(){return function(e){function t(o){if(n[o])return n[o].exports;var i=n[o]={exports:{},id:o,loaded:!1};return e[o].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="dist/",t(0)}([function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=n(1),a=(o(r),n(6)),u=o(a),c=n(7),s=o(c),f=n(8),d=o(f),l=n(9),p=o(l),m=n(10),b=o(m),v=n(11),y=o(v),g=n(14),h=o(g),w=[],k=!1,x={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,startEvent:"DOMContentLoaded",throttleDelay:99,debounceDelay:50,disableMutationObserver:!1},j=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e&&(k=!0),k)return w=(0,y.default)(w,x),(0,b.default)(w,x.once),w},O=function(){w=(0,h.default)(),j()},M=function(){w.forEach(function(e,t){e.node.removeAttribute("data-aos"),e.node.removeAttribute("data-aos-easing"),e.node.removeAttribute("data-aos-duration"),e.node.removeAttribute("data-aos-delay")})},S=function(e){return e===!0||"mobile"===e&&p.default.mobile()||"phone"===e&&p.default.phone()||"tablet"===e&&p.default.tablet()||"function"==typeof e&&e()===!0},_=function(e){x=i(x,e),w=(0,h.default)();var t=document.all&&!window.atob;return S(x.disable)||t?M():(x.disableMutationObserver||d.default.isSupported()||(console.info('\n aos: MutationObserver is not supported on this browser,\n code mutations observing has been disabled.\n You may have to call "refreshHard()" by yourself.\n '),x.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",x.easing),document.querySelector("body").setAttribute("data-aos-duration",x.duration),document.querySelector("body").setAttribute("data-aos-delay",x.delay),"DOMContentLoaded"===x.startEvent&&["complete","interactive"].indexOf(document.readyState)>-1?j(!0):"load"===x.startEvent?window.addEventListener(x.startEvent,function(){j(!0)}):document.addEventListener(x.startEvent,function(){j(!0)}),window.addEventListener("resize",(0,s.default)(j,x.debounceDelay,!0)),window.addEventListener("orientationchange",(0,s.default)(j,x.debounceDelay,!0)),window.addEventListener("scroll",(0,u.default)(function(){(0,b.default)(w,x.once)},x.throttleDelay)),x.disableMutationObserver||d.default.ready("[data-aos]",O),w)};e.exports={init:_,refresh:j,refreshHard:O}},function(e,t){},,,,,function(e,t){(function(t){"use strict";function n(e,t,n){function o(t){var n=b,o=v;return b=v=void 0,k=t,g=e.apply(o,n)}function r(e){return k=e,h=setTimeout(f,t),M?o(e):g}function a(e){var n=e-w,o=e-k,i=t-n;return S?j(i,y-o):i}function c(e){var n=e-w,o=e-k;return void 0===w||n>=t||n<0||S&&o>=y}function f(){var e=O();return c(e)?d(e):void(h=setTimeout(f,a(e)))}function d(e){return h=void 0,_&&b?o(e):(b=v=void 0,g)}function l(){void 0!==h&&clearTimeout(h),k=0,b=w=v=h=void 0}function p(){return void 0===h?g:d(O())}function m(){var e=O(),n=c(e);if(b=arguments,v=this,w=e,n){if(void 0===h)return r(w);if(S)return h=setTimeout(f,t),o(w)}return void 0===h&&(h=setTimeout(f,t)),g}var b,v,y,g,h,w,k=0,M=!1,S=!1,_=!0;if("function"!=typeof e)throw new TypeError(s);return t=u(t)||0,i(n)&&(M=!!n.leading,S="maxWait"in n,y=S?x(u(n.maxWait)||0,t):y,_="trailing"in n?!!n.trailing:_),m.cancel=l,m.flush=p,m}function o(e,t,o){var r=!0,a=!0;if("function"!=typeof e)throw new TypeError(s);return i(o)&&(r="leading"in o?!!o.leading:r,a="trailing"in o?!!o.trailing:a),n(e,t,{leading:r,maxWait:t,trailing:a})}function i(e){var t="undefined"==typeof e?"undefined":c(e);return!!e&&("object"==t||"function"==t)}function r(e){return!!e&&"object"==("undefined"==typeof e?"undefined":c(e))}function a(e){return"symbol"==("undefined"==typeof e?"undefined":c(e))||r(e)&&k.call(e)==d}function u(e){if("number"==typeof e)return e;if(a(e))return f;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(l,"");var n=m.test(e);return n||b.test(e)?v(e.slice(2),n?2:8):p.test(e)?f:+e}var c="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},s="Expected a function",f=NaN,d="[object Symbol]",l=/^\s+|\s+$/g,p=/^[-+]0x[0-9a-f]+$/i,m=/^0b[01]+$/i,b=/^0o[0-7]+$/i,v=parseInt,y="object"==("undefined"==typeof t?"undefined":c(t))&&t&&t.Object===Object&&t,g="object"==("undefined"==typeof self?"undefined":c(self))&&self&&self.Object===Object&&self,h=y||g||Function("return this")(),w=Object.prototype,k=w.toString,x=Math.max,j=Math.min,O=function(){return h.Date.now()};e.exports=o}).call(t,function(){return thLine truncated
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"sources":["../../scss/bootstrap-grid.scss","bootstrap-grid.css","../../scss/_grid.scss","../../scss/mixins/_grid.scss","../../scss/mixins/_breakpoints.scss","../../scss/_variables.scss","../../scss/mixins/_grid-framework.scss","../../scss/utilities/_display.scss","../../scss/utilities/_flex.scss","../../scss/utilities/_spacing.scss"],"names":[],"mappings":"AAAA;;;;;ECKE;ADEF;EACE,sBAAsB;EACtB,6BAA6B;ACA/B;;ADGA;;;EAGE,mBAAmB;ACArB;;ACTE;ECDA,WAAW;EACX,mBAA0B;EAC1B,kBAAyB;EACzB,kBAAkB;EAClB,iBAAiB;AFcnB;;AGqCI;EFtDF;ICWI,gBEuMK;EJ5LT;AACF;;AG+BI;EFtDF;ICWI,gBEwMK;EJvLT;AACF;;AGyBI;EFtDF;ICWI,gBEyMK;EJlLT;AACF;;AGmBI;EFtDF;ICWI,iBE0MM;EJ7KV;AACF;;ACnCE;ECPA,WAAW;EACX,mBAA0B;EAC1B,kBAAyB;EACzB,kBAAkB;EAClB,iBAAiB;AF8CnB;;AGKI;EFrCE;IACE,gBGgMG;EJ5JT;AACF;;AGDI;EFrCE;IACE,gBGiMG;EJvJT;AACF;;AGPI;EFrCE;IACE,gBGkMG;EJlJT;AACF;;AGbI;EFrCE;IACE,iBGmMI;EJ7IV;AACF;;AC3BE;EC7BA,oBAAa;EAAb,aAAa;EACb,mBAAe;EAAf,eAAe;EACf,mBAA0B;EAC1B,kBAAyB;AF4D3B;;AC5BE;EACE,eAAe;EACf,cAAc;AD+BlB;;ACjCE;;EAMI,gBAAgB;EAChB,eAAe;ADgCrB;;AK1FE;;;;;;EACE,kBAAkB;EAClB,WAAW;EACX,mBAA0B;EAC1B,kBAAyB;ALkG7B;;AK5EM;EACE,0BAAa;EAAb,aAAa;EACb,oBAAY;EAAZ,YAAY;EACZ,YAAY;EACZ,eAAe;AL+EvB;;AK1EU;EHuBN,kBAAuB;EAAvB,cAAuB;EACvB,eAAwB;AFuD5B;;AK/EU;EHuBN,iBAAuB;EAAvB,aAAuB;EACvB,cAAwB;AF4D5B;;AKpFU;EHuBN,wBAAuB;EAAvB,oBAAuB;EACvB,qBAAwB;AFiE5B;;AKzFU;EHuBN,iBAAuB;EAAvB,aAAuB;EACvB,cAAwB;AFsE5B;;AK9FU;EHuBN,iBAAuB;EAAvB,aAAuB;EACvB,cAAwB;AF2E5B;;AKnGU;EHuBN,wBAAuB;EAAvB,oBAAuB;EACvB,qBAAwB;AFgF5B;;AKlGM;EHAJ,kBAAc;EAAd,cAAc;EACd,WAAW;EACX,eAAe;AFsGjB;;AKlGU;EHdR,uBAAsC;EAAtC,mBAAsC;EAItC,oBAAuC;AFiHzC;;AKvGU;EHdR,wBAAsC;EAAtC,oBAAsC;EAItC,qBAAuC;AFsHzC;;AK5GU;EHdR,iBAAsC;EAAtC,aAAsC;EAItC,cAAuC;AF2HzC;;AKjHU;EHdR,wBAAsC;EAAtC,oBAAsC;EAItC,qBAAuC;AFgIzC;;AKtHU;EHdR,wBAAsC;EAAtC,oBAAsC;EAItC,qBAAuC;AFqIzC;;AK3HU;EHdR,iBAAsC;EAAtC,aAAsC;EAItC,cAAuC;AF0IzC;;AKhIU;EHdR,wBAAsC;EAAtC,oBAAsC;EAItC,qBAAuC;AF+IzC;;AKrIU;EHdR,wBAAsC;EAAtC,oBAAsC;EAItC,qBAAuC;AFoJzC;;AK1IU;EHdR,iBAAsC;EAAtC,aAAsC;EAItC,cAAuC;AFyJzC;;AK/IU;EHdR,wBAAsC;EAAtC,oBAAsC;EAItC,qBAAuC;AF8JzC;;AKpJU;EHdR,wBAAsC;EAAtC,oBAAsC;EAItC,qBAAuC;AFmKzC;;AKzJU;EHdR,kBAAsC;EAAtC,cAAsC;EAItC,eAAuC;AFwKzC;;AKxJM;EAAwB,kBAAS;EAAT,SAAS;AL4JvC;;AK1JM;EAAuB,kBDuKG;ECvKH,SDuKG;AJThC;;AK3JQ;EAAwB,iBADZ;EACY,QADZ;ALgKpB;;AK/JQ;EAAwB,iBADZ;EACY,QADZ;ALoKpB;;AKnKQ;EAAwB,iBADZ;EACY,QADZ;ALwKpB;;AKvKQ;EAAwB,iBADZ;EACY,QADZ;AL4KpB;;AK3KQ;EAAwB,iBADZ;EACY,QADZ;ALgLpB;;AK/KQ;EAAwB,iBADZ;EACY,QADZ;ALoLpB;;AKnLQ;EAAwB,iBADZ;EACY,QADZ;ALwLpB;;AKvLQ;EAAwB,iBADZ;EACY,QADZ;AL4LpB;;AK3LQ;EAAwB,iBADZ;EACY,QADZ;ALgMpB;;AK/LQ;EAAwB,iBADZ;EACY,QADZ;ALoMpB;;AKnMQ;EAAwB,kBADZ;EACY,SADZ;ALwMpB;;AKvMQ;EAAwB,kBADZ;EACY,SADZ;AL4MpB;;AK3MQ;EAAwB,kBADZ;EACY,SADZ;ALgNpB;;AKxMY;EHjBV,sBAA8C;AF6NhD;;AK5MY;EHjBV,uBAA8C;AFiOhD;;AKhNY;EHjBV,gBAA8C;AFqOhD;;AKpNY;EHjBV,uBAA8C;AFyOhD;;AKxNY;EHjBV,uBAA8C;AF6OhD;;AK5NY;EHjBV,gBAA8C;AFiPhD;;AKhOY;EHjBV,uBAA8C;AFqPhD;;AKpOY;EHjBV,uBAA8C;AFyPhD;;AKxOY;EHjBV,gBAA8C;AF6PhD;;AK5OY;EHjBV,uBAA8C;AFiQhD;;AKhPY;EHjBV,uBAA8C;AFqQhD;;AGhQI;EE3BE;IACE,0BAAa;IAAb,aAAa;IACb,oBAAY;IAAZ,YAAY;IACZ,YAAY;IACZ,eAAe;EL+RrB;EK1RQ;IHuBN,kBAAuB;IAAvB,cAAuB;IACvB,eAAwB;EFsQ1B;EK9RQ;IHuBN,iBAAuB;IAAvB,aAAuB;IACvB,cAAwB;EF0Q1B;EKlSQ;IHuBN,wBAAuB;IAAvB,oBAAuB;IACvB,qBAAwB;EF8Q1B;EKtSQ;IHuBN,iBAAuB;IAAvB,aAAuB;IACvB,cAAwB;EFkR1B;EK1SQ;IHuBN,iBAAuB;IAAvB,aAAuB;IACvB,cAAwB;EFsR1B;EK9SQ;IHuBN,wBAAuB;IAAvB,oBAAuB;IACvB,qBAAwB;EF0R1B;EK5SI;IHAJ,kBAAc;IAAd,cAAc;IACd,WAAW;IACX,eAAe;EF+Sf;EK3SQ;IHdR,uBAAsC;IAAtC,mBAAsC;IAItC,oBAAuC;EFyTvC;EK/SQ;IHdR,wBAAsC;IAAtC,oBAAsC;IAItC,qBAAuC;EF6TvC;EKnTQ;IHdR,iBAAsC;IAAtC,aAAsC;IAItC,cAAuC;EFiUvC;EKvTQ;IHdR,wBAAsC;IAAtC,oBAAsC;IAItC,qBAAuC;EFqUvC;EK3TQ;IHdR,wBAAsC;IAAtC,oBAAsC;IAItC,qBAAuC;EFyUvC;EK/TQ;IHdR,iBAAsC;IAAtC,aAAsC;IAItC,cAAuC;EF6UvC;EKnUQ;IHdR,wBAAsC;IAAtC,oBAAsC;IAItC,qBAAuC;EFiVvC;EKvUQ;IHdR,wBAAsC;IAAtC,oBAAsC;IAItC,qBAAuC;EFqVvC;EK3UQ;IHdR,iBAAsC;IAAtC,aAAsC;IAItC,cAAuC;EFyVvC;EK/UQ;IHdR,wBAAsC;IAAtC,oBAAsC;IAItC,qBAAuC;EF6VvC;EKnVQ;IHdR,wBAAsC;IAAtC,oBAAsC;IAItC,qBAAuC;EFiWvC;EKvVQ;IHdR,kBAAsC;IAAtC,cAAsC;IAItC,eAAuC;EFqWvC;EKrVI;IAAwB,kBAAS;IAAT,SAAS;ELwVrC;EKtVI;IAAuB,kBDuKG;ICvKH,SDuKG;EJkL9B;EKtVM;IAAwB,iBADZ;IACY,QADZ;EL0VlB;EKzVM;IAAwB,iBADZ;IACY,QADZ;EL6VlB;EK5VM;IAAwB,iBADZ;IACY,QADZ;ELgWlB;EK/VM;IAAwB,iBADZ;IACY,QADZ;ELmWlB;EKlWM;IAAwB,iBADZ;IACY,QADZ;ELsWlB;EKrWM;IAAwB,iBADZ;IACY,QADZ;ELyWlB;EKxWM;IAAwB,iBADZ;IACY,QADZ;EL4WlB;EK3WM;IAAwB,iBADZ;IACY,QADZ;EL+WlB;EK9WM;IAAwB,iBADZ;IACY,QADZ;ELkXlB;EKjXM;IAAwB,iBADZ;IACY,QADZ;ELqXlB;EKpXM;IAAwB,kBADZ;IACY,SADZ;ELwXlB;EKvXM;IAAwB,kBADZ;IACY,SADZ;EL2XlB;EK1XM;IAAwB,kBADZ;IACY,SADZ;EL8XlB;EKtXU;IHjBV,cAA4B;EF0Y5B;EKzXU;IHjBV,sBAA8C;EF6Y9C;EK5XU;IHjBV,uBAA8C;EFgZ9C;EK/XU;IHjBV,gBAA8C;EFmZ9C;EKlYU;IHjBV,uBAA8C;EFsZ9C;EKrYU;IHjBV,uBAA8C;EFyZ9C;EKxYU;IHjBV,gBAA8C;EF4Z9C;EK3YU;IHjBV,uBAA8C;EF+Z9C;EK9YU;IHjBV,uBAA8C;EFka9C;EKjZU;IHjBV,gBAA8C;EFqa9C;EKpZU;IHjBV,uBAA8C;EFwa9C;EKvZU;IHjBV,uBAA8C;EF2a9C;AACF;;AGvaI;EE3BE;IACE,0BAAa;IAAb,aAAa;IACb,oBAAY;IAAZ,YAAY;IACZ,YAAY;IACZ,eAAe;ELscrB;EKjcQ;IHuBN,kBAAuB;IAAvB,cAAuB;ILine truncated
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
/*!
|
||||||
|
* Bootstrap Grid v4.5.0 (https://getbootstrap.com/)
|
||||||
|
* Copyright 2011-2020 The Bootstrap Authors
|
||||||
|
* Copyright 2011-2020 Twitter, Inc.
|
||||||
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||||
|
*/html{box-sizing:border-box;-ms-overflow-style:scrollbar}*,::after,::before{box-sizing:inherit}.container{width:100%;padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:576px){.container{max-width:540px}}@media (min-width:768px){.container{max-width:720px}}@media (min-width:992px){.container{max-width:960px}}@media (min-width:1200px){.container{max-width:1140px}}.container-fluid,.container-lg,.container-md,.container-sm,.container-xl{width:100%;padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:576px){.container,.container-sm{max-width:540px}}@media (min-width:768px){.container,.container-md,.container-sm{max-width:720px}}@media (min-width:992px){.container,.container-lg,.container-md,.container-sm{max-width:960px}}@media (min-width:1200px){.container,.container-lg,.container-md,.container-sm,.container-xl{max-width:1140px}}.row{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-15px;margin-left:-15px}.no-gutters{margin-right:0;margin-left:0}.no-gutters>.col,.no-gutters>[class*=col-]{padding-right:0;padding-left:0}.col,.col-1,.col-10,.col-11,.col-12,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-auto,.col-lg,.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-auto,.col-md,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-auto,.col-sm,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-auto,.col-xl,.col-xl-1,.col-xl-10,.col-xl-11,.col-xl-12,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-auto{position:relative;width:100%;padding-right:15px;padding-left:15px}.col{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;min-width:0;max-width:100%}.row-cols-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.row-cols-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.row-cols-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.row-cols-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.row-cols-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}.row-cols-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-5{-ms-flex:0 0 41.666667%;flex:0 0 41.666667%;max-width:41.666667%}.col-6{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-7{-ms-flex:0 0 58.333333%;flex:0 0 58.333333%;max-width:58.333333%}.col-8{-ms-flex:0 0 66.666667%;flex:0 0 66.666667%;max-width:66.666667%}.col-9{-ms-flex:0 0 75%;flex:0 0 75%;max-width:75%}.col-10{-ms-flex:0 0 83.333333%;flex:0 0 83.333333%;max-width:83.333333%}.col-11{-ms-flex:0 0 91.666667%;flex:0 0 91.666667%;max-width:91.666667%}.col-12{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.order-first{-ms-flex-order:-1;order:-1}.order-last{-ms-flex-order:13;order:13}.order-0{-ms-flex-order:0;order:0}.order-1{-ms-flex-order:1;order:1}.order-2{-ms-flex-order:2;order:2}.order-3{-ms-flex-order:3;order:3}.order-4{-ms-flex-order:4;order:4}.order-5{-ms-flex-order:5;order:5}.order-6{-ms-flex-order:6;order:6}.order-7{-ms-flex-order:7;order:7}.order-8{-ms-flex-order:8;order:8}.order-9{-ms-flex-order:9;order:9}.order-10{-ms-flex-order:10;order:10}.order-11{-ms-flex-order:11;order:11}.order-12{-ms-flex-order:12;order:12}.offset-1{margin-left:8.333333%}.offset-2{margin-left:16.666667%}.offset-3{margin-left:25%}.offset-4{margin-left:33.333333%}.offset-5{margin-left:41.666667%}.offset-6{margin-left:50%}.offset-7{margin-left:58.333333%}.offset-8{margin-left:66.666667%}.offset-9{margin-left:75%}.offset-10{margin-left:83.333333%}.offset-11{margin-left:91.666667%}@media (min-width:576px){.col-sm{-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;min-width:0;max-width:100%}.row-cols-sm-1>*{-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}.row-cols-sm-2>*{-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.row-cols-sm-3>*{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.row-cols-sm-4>*{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.row-cols-sm-5>*{-ms-flex:0 0 20%;flex:0 0 20%;max-width:20%}.row-cols-sm-6>*{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-sm-auto{-ms-flex:0 0 auto;flex:0 0 auto;width:auto;max-width:100%}.col-sm-1{-ms-flex:0 0 8.333333%;flex:0 0 8.333333%;max-width:8.333333%}.col-sm-2{-ms-flex:0 0 16.666667%;flex:0 0 16.666667%;max-width:16.666667%}.col-sm-3{-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-sm-4{-ms-flex:0 0 33.333333%;flex:0 0 33.333333%;max-width:33.333333%}.col-smLine truncated
|
||||||
|
/*# sourceMappingURL=bootstrap-grid.min.css.map */
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"sources":["../../scss/bootstrap-grid.scss","dist/css/bootstrap-grid.css","../../scss/_grid.scss","../../scss/mixins/_grid.scss","../../scss/mixins/_breakpoints.scss","../../scss/mixins/_grid-framework.scss","../../scss/utilities/_display.scss","../../scss/utilities/_flex.scss","../../scss/utilities/_spacing.scss"],"names":[],"mappings":"AAAA;;;;;AAOA,KACE,WAAA,WACA,mBAAA,UAGF,ECCA,QADA,SDGE,WAAA,QETA,WCDA,MAAA,KACA,cAAA,KACA,aAAA,KACA,aAAA,KACA,YAAA,KCmDE,yBFtDF,WCWI,UAAA,OC2CF,yBFtDF,WCWI,UAAA,OC2CF,yBFtDF,WCWI,UAAA,OC2CF,0BFtDF,WCWI,UAAA,QDLJ,iBAAA,cAAA,cAAA,cAAA,cCPA,MAAA,KACA,cAAA,KACA,aAAA,KACA,aAAA,KACA,YAAA,KCmDE,yBFrCE,WAAA,cACE,UAAA,OEoCJ,yBFrCE,WAAA,cAAA,cACE,UAAA,OEoCJ,yBFrCE,WAAA,cAAA,cAAA,cACE,UAAA,OEoCJ,0BFrCE,WAAA,cAAA,cAAA,cAAA,cACE,UAAA,QA4BN,KC7BA,QAAA,YAAA,QAAA,KACA,cAAA,KAAA,UAAA,KACA,aAAA,MACA,YAAA,MDgCA,YACE,aAAA,EACA,YAAA,EAFF,iBDsCF,0BChCM,cAAA,EACA,aAAA,EG1DJ,KAAA,OAAA,QAAA,QAAA,QAAA,OAAA,OAAA,OAAA,OAAA,OAAA,OAAA,OAAA,OJ+FF,UAEqJ,QAAvI,UAAmG,WAAY,WAAY,WAAhH,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UACtG,aAFqJ,QAAvI,UAAmG,WAAY,WAAY,WAAhH,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UACtG,aAFkJ,QAAvI,UAAmG,WAAY,WAAY,WAAhH,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UACnG,aAEqJ,QAAvI,UAAmG,WAAY,WAAY,WAAhH,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UACtG,aIlGI,SAAA,SACA,MAAA,KACA,cAAA,KACA,aAAA,KAsBE,KACE,wBAAA,EAAA,WAAA,EACA,kBAAA,EAAA,UAAA,EACA,UAAA,EACA,UAAA,KAKE,cFuBN,SAAA,EAAA,EAAA,KAAA,KAAA,EAAA,EAAA,KACA,UAAA,KExBM,cFuBN,SAAA,EAAA,EAAA,IAAA,KAAA,EAAA,EAAA,IACA,UAAA,IExBM,cFuBN,SAAA,EAAA,EAAA,WAAA,KAAA,EAAA,EAAA,WACA,UAAA,WExBM,cFuBN,SAAA,EAAA,EAAA,IAAA,KAAA,EAAA,EAAA,IACA,UAAA,IExBM,cFuBN,SAAA,EAAA,EAAA,IAAA,KAAA,EAAA,EAAA,IACA,UAAA,IExBM,cFuBN,SAAA,EAAA,EAAA,WAAA,KAAA,EAAA,EAAA,WACA,UAAA,WElBE,UFAJ,SAAA,EAAA,EAAA,KAAA,KAAA,EAAA,EAAA,KACA,MAAA,KACA,UAAA,KEIQ,OFdR,SAAA,EAAA,EAAA,UAAA,KAAA,EAAA,EAAA,UAIA,UAAA,UEUQ,OFdR,SAAA,EAAA,EAAA,WAAA,KAAA,EAAA,EAAA,WAIA,UAAA,WEUQ,OFdR,SAAA,EAAA,EAAA,IAAA,KAAA,EAAA,EAAA,IAIA,UAAA,IEUQ,OFdR,SAAA,EAAA,EAAA,WAAA,KAAA,EAAA,EAAA,WAIA,UAAA,WEUQ,OFdR,SAAA,EAAA,EAAA,WAAA,KAAA,EAAA,EAAA,WAIA,UAAA,WEUQ,OFdR,SAAA,EAAA,EAAA,IAAA,KAAA,EAAA,EAAA,IAIA,UAAA,IEUQ,OFdR,SAAA,EAAA,EAAA,WAAA,KAAA,EAAA,EAAA,WAIA,UAAA,WEUQ,OFdR,SAAA,EAAA,EAAA,WAAA,KAAA,EAAA,EAAA,WAIA,UAAA,WEUQ,OFdR,SAAA,EAAA,EAAA,IAAA,KAAA,EAAA,EAAA,IAIA,UAAA,IEUQ,QFdR,SAAA,EAAA,EAAA,WAAA,KAAA,EAAA,EAAA,WAIA,UAAA,WEUQ,QFdR,SAAA,EAAA,EAAA,WAAA,KAAA,EAAA,EAAA,WAIA,UAAA,WEUQ,QFdR,SAAA,EAAA,EAAA,KAAA,KAAA,EAAA,EAAA,KAIA,UAAA,KEgBI,aAAwB,eAAA,GAAA,MAAA,GAExB,YAAuB,eAAA,GAAA,MAAA,GAGrB,SAAwB,eAAA,EAAA,MAAA,EAAxB,SAAwB,eAAA,EAAA,MAAA,EAAxB,SAAwB,eAAA,EAAA,MAAA,EAAxB,SAAwB,eAAA,EAAA,MAAA,EAAxB,SAAwB,eAAA,EAAA,MAAA,EAAxB,SAAwB,eAAA,EAAA,MAAA,EAAxB,SAAwB,eAAA,EAAA,MAAA,EAAxB,SAAwB,eAAA,EAAA,MAAA,EAAxB,SAAwB,eAAA,EAAA,MAAA,EAAxB,SAAwB,eAAA,EAAA,MAAA,EAAxB,UAAwB,eAAA,GAAA,MAAA,GAAxB,UAAwB,eAAA,GAAA,MAAA,GAAxB,UAAwB,eAAA,GAAA,MAAA,GAOpB,UFjBV,YAAA,UEiBU,UFjBV,YAAA,WEiBU,UFjBV,YAAA,IEiBU,UFjBV,YAAA,WEiBU,UFjBV,YAAA,WEiBU,UFjBV,YAAA,IEiBU,UFjBV,YAAA,WEiBU,UFjBV,YAAA,WEiBU,UFjBV,YAAA,IEiBU,WFjBV,YAAA,WEiBU,WFjBV,YAAA,WCKE,yBC3BE,QACE,wBAAA,EAAA,WAAA,EACA,kBAAA,EAAA,UAAA,EACA,UAAA,EACA,UAAA,KAKE,iBFuBN,SAAA,EAAA,EAAA,KAAA,KAAA,EAAA,EAAA,KACA,UAAA,KExBM,iBFuBN,SAAA,EAAA,EAAA,IAAA,KAAA,EAAA,EAAA,IACA,UAAA,IExBM,iBFuBN,SAAA,EAAA,EAAA,WAAA,KAAA,EAAA,EAAA,WACA,UAAA,WExBM,iBFuBN,SAAA,EAAA,EAAA,IAAA,KAAA,EAAA,EAAA,IACA,UAAA,IExBM,iBFuBN,SAAA,EAAA,EAAA,IAAA,KAAA,EAAA,EAAA,IACA,UAAA,IExBM,iBFuBN,SAAA,EAAA,EAAA,WAAA,KAAA,EAAA,EAAA,WACA,UAAA,WElBE,aFAJ,SAAA,EAAA,EAAA,KAAA,KAAA,EAAA,EAAA,KACA,MAAA,KACA,UAAA,KEIQ,UFdR,SAAA,EAAA,EAAA,UAAA,KAAA,EAAA,EAAA,UAIA,UAAA,UEUQ,UFdR,SAAA,EAAA,EAAA,WAAA,KAAA,EAAA,EAAA,WAIA,UAAA,WEUQ,UFdR,SAAA,EAAA,EAAA,IAAA,KAAA,EAAA,EAAA,IAIA,UAAA,IEUQ,UFdR,SAAA,EAAA,EAAA,WAAA,KAAA,EAAA,EAAA,WAIA,UAAA,WEUQ,UFdR,SAAA,EAAA,EAAA,WAAA,KAAA,EAAA,EAAA,WAIA,UAAA,WEUQ,UFdR,SAAA,EAAA,EAAA,IAAA,KAAA,EAAA,EAAA,IAIA,UAAA,IEUQ,UFdR,SAAA,EAAA,EAAA,WAAA,KAAA,EAAA,EAAA,WAIA,UAAA,WEUQ,UFdR,SAAA,EAAA,EAAA,WAAA,KAAA,EAAA,EAAA,WAIA,UAAA,WEUQ,UFdR,SAAA,EAAA,EAAA,IAAA,KAAA,EAAA,EAAA,IAIA,UAAA,IEUQ,WFdR,SAAA,EAAA,EAAA,WAAA,KAAA,EAAA,EAAA,WAIA,UAAA,WEUQ,WFdR,SAAA,EAAA,EAAA,WAAA,KAAA,EAAA,EAAA,WAIA,UAAA,WEUQ,WFdR,SAAA,EAAA,EAAA,KAAA,KAAA,EAAA,EAAA,KAIA,UAAA,KEgBI,gBAAwB,eAAA,GAAA,MAAA,GAExB,eAAuB,eAAA,GAAA,MAAA,GAGrB,YAAwB,eAAA,EAAA,MAAA,EAAxB,YAAwB,eAAA,EAAA,MAAA,EAAxB,YAAwB,eAAA,EAAA,MAAA,EAAxB,YAAwB,eAAA,EAAA,MAAA,EAAxB,YAAwB,eAAA,EAAA,MAAA,EAAxB,YAAwB,eAAA,EAAA,MAAA,EAAxB,YAAwB,eAAA,EAAA,MAAA,EAAxB,YAAwB,eAAA,EAAA,MAAA,EAAxB,YAAwB,eAAA,EAAA,MAAA,EAAxB,YAAwB,eAAA,EAAA,MAAA,EAAxB,aAAwB,eAAA,GAAA,MAAA,GAAxB,aAAwB,eAAA,GAAA,MAAA,GAAxB,aAAwB,eAAA,GAAA,MAAA,GAOpB,aFjBV,YAAA,EEiBU,aFjBV,YAAA,UEiBU,aFjBV,YAAA,WEiBU,aFjBV,YAAA,IEiBU,aFjBV,YAAA,WEiBU,aFjBV,YAAA,WEiBU,aFjBV,YAAA,IEiBU,aFjBV,YAAA,WEiBU,aFjBV,YAAA,WEiBU,aFjBV,YAAA,IEiBU,cFjBV,YAAA,WEiBU,cFjBV,YAAA,YCKE,yBC3BE,QACE,wBAAA,EAAA,WAAA,EACA,kBAAA,EAAA,UAAA,EACA,UAAA,EACA,UAAA,KAKE,iBFuBN,SAAA,EAAA,EAAA,KAAA,KAAA,EAAA,EAAA,KACA,UAAA,KExBM,iBFuBN,SAAA,EAAA,EAAA,IAAA,KAAA,EAAA,EAAA,IACA,UAAA,IExBM,iBLine truncated
|
||||||
@@ -0,0 +1,325 @@
|
|||||||
|
/*!
|
||||||
|
* Bootstrap Reboot v4.5.0 (https://getbootstrap.com/)
|
||||||
|
* Copyright 2011-2020 The Bootstrap Authors
|
||||||
|
* Copyright 2011-2020 Twitter, Inc.
|
||||||
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||||
|
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
|
||||||
|
*/
|
||||||
|
*,
|
||||||
|
*::before,
|
||||||
|
*::after {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
html {
|
||||||
|
font-family: sans-serif;
|
||||||
|
line-height: 1.15;
|
||||||
|
-webkit-text-size-adjust: 100%;
|
||||||
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
margin: 0;
|
||||||
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
||||||
|
font-size: 1rem;
|
||||||
|
font-weight: 400;
|
||||||
|
line-height: 1.5;
|
||||||
|
color: #212529;
|
||||||
|
text-align: left;
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
[tabindex="-1"]:focus:not(:focus-visible) {
|
||||||
|
outline: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
hr {
|
||||||
|
box-sizing: content-box;
|
||||||
|
height: 0;
|
||||||
|
overflow: visible;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1, h2, h3, h4, h5, h6 {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
abbr[title],
|
||||||
|
abbr[data-original-title] {
|
||||||
|
text-decoration: underline;
|
||||||
|
-webkit-text-decoration: underline dotted;
|
||||||
|
text-decoration: underline dotted;
|
||||||
|
cursor: help;
|
||||||
|
border-bottom: 0;
|
||||||
|
-webkit-text-decoration-skip-ink: none;
|
||||||
|
text-decoration-skip-ink: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
address {
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
font-style: normal;
|
||||||
|
line-height: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
ol,
|
||||||
|
ul,
|
||||||
|
dl {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
ol ol,
|
||||||
|
ul ul,
|
||||||
|
ol ul,
|
||||||
|
ul ol {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
dt {
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
|
|
||||||
|
dd {
|
||||||
|
margin-bottom: .5rem;
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
blockquote {
|
||||||
|
margin: 0 0 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
b,
|
||||||
|
strong {
|
||||||
|
font-weight: bolder;
|
||||||
|
}
|
||||||
|
|
||||||
|
small {
|
||||||
|
font-size: 80%;
|
||||||
|
}
|
||||||
|
|
||||||
|
sub,
|
||||||
|
sup {
|
||||||
|
position: relative;
|
||||||
|
font-size: 75%;
|
||||||
|
line-height: 0;
|
||||||
|
vertical-align: baseline;
|
||||||
|
}
|
||||||
|
|
||||||
|
sub {
|
||||||
|
bottom: -.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
sup {
|
||||||
|
top: -.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #007bff;
|
||||||
|
text-decoration: none;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
color: #0056b3;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:not([href]) {
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:not([href]):hover {
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre,
|
||||||
|
code,
|
||||||
|
kbd,
|
||||||
|
samp {
|
||||||
|
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||||
|
font-size: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
overflow: auto;
|
||||||
|
-ms-overflow-style: scrollbar;
|
||||||
|
}
|
||||||
|
|
||||||
|
figure {
|
||||||
|
margin: 0 0 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
vertical-align: middle;
|
||||||
|
border-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
svg {
|
||||||
|
overflow: hidden;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
}
|
||||||
|
|
||||||
|
caption {
|
||||||
|
padding-top: 0.75rem;
|
||||||
|
padding-bottom: 0.75rem;
|
||||||
|
color: #6c757d;
|
||||||
|
text-align: left;
|
||||||
|
caption-side: bottom;
|
||||||
|
}
|
||||||
|
|
||||||
|
th {
|
||||||
|
text-align: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
label {
|
||||||
|
display: inline-block;
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
button:focus {
|
||||||
|
outline: 1px dotted;
|
||||||
|
outline: 5px auto -webkit-focus-ring-color;
|
||||||
|
}
|
||||||
|
|
||||||
|
input,
|
||||||
|
button,
|
||||||
|
select,
|
||||||
|
optgroup,
|
||||||
|
textarea {
|
||||||
|
margin: 0;
|
||||||
|
font-family: inherit;
|
||||||
|
font-size: inherit;
|
||||||
|
line-height: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
button,
|
||||||
|
input {
|
||||||
|
overflow: visible;
|
||||||
|
}
|
||||||
|
|
||||||
|
button,
|
||||||
|
select {
|
||||||
|
text-transform: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
[role="button"] {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
select {
|
||||||
|
word-wrap: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
button,
|
||||||
|
[type="button"],
|
||||||
|
[type="reset"],
|
||||||
|
[type="submit"] {
|
||||||
|
-webkit-appearance: button;
|
||||||
|
}
|
||||||
|
|
||||||
|
button:not(:disabled),
|
||||||
|
[type="button"]:not(:disabled),
|
||||||
|
[type="reset"]:not(:disabled),
|
||||||
|
[type="submit"]:not(:disabled) {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
button::-moz-focus-inner,
|
||||||
|
[type="button"]::-moz-focus-inner,
|
||||||
|
[type="reset"]::-moz-focus-inner,
|
||||||
|
[type="submit"]::-moz-focus-inner {
|
||||||
|
padding: 0;
|
||||||
|
border-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="radio"],
|
||||||
|
input[type="checkbox"] {
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
textarea {
|
||||||
|
overflow: auto;
|
||||||
|
resize: vertical;
|
||||||
|
}
|
||||||
|
|
||||||
|
fieldset {
|
||||||
|
min-width: 0;
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
legend {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
max-width: 100%;
|
||||||
|
padding: 0;
|
||||||
|
margin-bottom: .5rem;
|
||||||
|
font-size: 1.5rem;
|
||||||
|
line-height: inherit;
|
||||||
|
color: inherit;
|
||||||
|
white-space: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
progress {
|
||||||
|
vertical-align: baseline;
|
||||||
|
}
|
||||||
|
|
||||||
|
[type="number"]::-webkit-inner-spin-button,
|
||||||
|
[type="number"]::-webkit-outer-spin-button {
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
[type="search"] {
|
||||||
|
outline-offset: -2px;
|
||||||
|
-webkit-appearance: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
[type="search"]::-webkit-search-decoration {
|
||||||
|
-webkit-appearance: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-file-upload-button {
|
||||||
|
font: inherit;
|
||||||
|
-webkit-appearance: button;
|
||||||
|
}
|
||||||
|
|
||||||
|
output {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
summary {
|
||||||
|
display: list-item;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
template {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
[hidden] {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
/*# sourceMappingURL=bootstrap-reboot.css.map */
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"sources":["../../scss/bootstrap-reboot.scss","bootstrap-reboot.css","../../scss/_reboot.scss","../../scss/_variables.scss","../../scss/vendor/_rfs.scss","../../scss/mixins/_hover.scss"],"names":[],"mappings":"AAAA;;;;;;ECME;ACYF;;;EAGE,sBAAsB;ADVxB;;ACaA;EACE,uBAAuB;EACvB,iBAAiB;EACjB,8BAA8B;EAC9B,6CCXa;AFCf;;ACgBA;EACE,cAAc;ADbhB;;ACuBA;EACE,SAAS;EACT,kMC2OiN;EC3J7M,eAtCY;EFxChB,gBCoP+B;EDnP/B,gBCwP+B;EDvP/B,cCnCgB;EDoChB,gBAAgB;EAChB,sBC9Ca;AF0Bf;;AAEA;EC+BE,qBAAqB;AD7BvB;;ACsCA;EACE,uBAAuB;EACvB,SAAS;EACT,iBAAiB;ADnCnB;;ACgDA;EACE,aAAa;EACb,qBCsNuC;AFnQzC;;ACoDA;EACE,aAAa;EACb,mBCyF8B;AF1IhC;;AC4DA;;EAEE,0BAA0B;EAC1B,yCAAiC;EAAjC,iCAAiC;EACjC,YAAY;EACZ,gBAAgB;EAChB,sCAA8B;EAA9B,8BAA8B;ADzDhC;;AC4DA;EACE,mBAAmB;EACnB,kBAAkB;EAClB,oBAAoB;ADzDtB;;AC4DA;;;EAGE,aAAa;EACb,mBAAmB;ADzDrB;;AC4DA;;;;EAIE,gBAAgB;ADzDlB;;AC4DA;EACE,gBCuJ+B;AFhNjC;;AC4DA;EACE,oBAAoB;EACpB,cAAc;ADzDhB;;AC4DA;EACE,gBAAgB;ADzDlB;;AC4DA;;EAEE,mBC0IkC;AFnMpC;;AC4DA;EExFI,cAAW;AHgCf;;ACiEA;;EAEE,kBAAkB;EEnGhB,cAAW;EFqGb,cAAc;EACd,wBAAwB;AD9D1B;;ACiEA;EAAM,cAAc;AD7DpB;;AC8DA;EAAM,UAAU;AD1DhB;;ACiEA;EACE,cCtJe;EDuJf,qBCN4C;EDO5C,6BAA6B;AD9D/B;;AIlHE;EHmLE,cCT8D;EDU9D,0BCT+C;AFpDnD;;ACsEA;EACE,cAAc;EACd,qBAAqB;ADnEvB;;AI5HE;EHkME,cAAc;EACd,qBAAqB;ADlEzB;;AC2EA;;;;EAIE,iGC+DgH;ECnN9G,cAAW;AH6Ef;;AC2EA;EAEE,aAAa;EAEb,mBAAmB;EAEnB,cAAc;EAGd,6BAA6B;AD7E/B;;ACqFA;EAEE,gBAAgB;ADnFlB;;AC2FA;EACE,sBAAsB;EACtB,kBAAkB;ADxFpB;;AC2FA;EAGE,gBAAgB;EAChB,sBAAsB;AD1FxB;;ACkGA;EACE,yBAAyB;AD/F3B;;ACkGA;EACE,oBCmFkC;EDlFlC,uBCkFkC;EDjFlC,cCtQgB;EDuQhB,gBAAgB;EAChB,oBAAoB;AD/FtB;;ACkGA;EAGE,mBAAmB;ADjGrB;;ACyGA;EAEE,qBAAqB;EACrB,qBCoK2C;AF3Q7C;;AC6GA;EAEE,gBAAgB;AD3GlB;;ACkHA;EACE,mBAAmB;EACnB,0CAA0C;AD/G5C;;ACkHA;;;;;EAKE,SAAS;EACT,oBAAoB;EExPlB,kBAAW;EF0Pb,oBAAoB;AD/GtB;;ACkHA;;EAEE,iBAAiB;AD/GnB;;ACkHA;;EAEE,oBAAoB;AD/GtB;;AAEA;ECoHE,eAAe;ADlHjB;;ACwHA;EACE,iBAAiB;ADrHnB;;AC4HA;;;;EAIE,0BAA0B;ADzH5B;;AC8HE;;;;EAKI,eAAe;AD5HrB;;ACkIA;;;;EAIE,UAAU;EACV,kBAAkB;AD/HpB;;ACkIA;;EAEE,sBAAsB;EACtB,UAAU;AD/HZ;;ACmIA;EACE,cAAc;EAEd,gBAAgB;ADjIlB;;ACoIA;EAME,YAAY;EAEZ,UAAU;EACV,SAAS;EACT,SAAS;ADvIX;;AC4IA;EACE,cAAc;EACd,WAAW;EACX,eAAe;EACf,UAAU;EACV,oBAAoB;EE/RhB,iBAtCY;EFuUhB,oBAAoB;EACpB,cAAc;EACd,mBAAmB;ADzIrB;;AC4IA;EACE,wBAAwB;ADzI1B;;AAEA;;EC6IE,YAAY;AD1Id;;AAEA;ECgJE,oBAAoB;EACpB,wBAAwB;AD9I1B;;AAEA;ECoJE,wBAAwB;ADlJ1B;;AC0JA;EACE,aAAa;EACb,0BAA0B;ADvJ5B;;AC8JA;EACE,qBAAqB;AD3JvB;;AC8JA;EACE,kBAAkB;EAClB,eAAe;AD3JjB;;AC8JA;EACE,aAAa;AD3Jf;;AAEA;EC+JE,wBAAwB;AD7J1B","file":"bootstrap-reboot.css","sourcesContent":["/*!\n * Bootstrap Reboot v4.5.0 (https://getbootstrap.com/)\n * Copyright 2011-2020 The Bootstrap Authors\n * Copyright 2011-2020 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)\n */\n\n@import \"functions\";\n@import \"variables\";\n@import \"mixins\";\n@import \"reboot\";\n","/*!\n * Bootstrap Reboot v4.5.0 (https://getbootstrap.com/)\n * Copyright 2011-2020 The Bootstrap Authors\n * Copyright 2011-2020 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)\n */\n*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\n\nhtml {\n font-family: sans-serif;\n line-height: 1.15;\n -webkit-text-size-adjust: 100%;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\narticle, aside, figcaption, figure, footer, header, hgroup, main, nav, section {\n display: block;\n}\n\nbody {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n font-size: 1rem;\n font-weight: 400;\n line-height: 1.5;\n color: #212529;\n text-align: left;\n background-color: #fff;\n}\n\n[tabindex=\"-1\"]:focus:not(:focus-visible) {\n outline: 0 !important;\n}\n\nhr {\n box-sizing: content-box;\n height: 0;\n overflow: visible;\n}\n\nh1, h2, h3, h4, h5, h6 {\n margin-top: 0;\n margin-bottom: 0.5rem;\n}\n\np {\n margin-top: 0;\n margin-bottom: 1rem;\n}\n\nabbr[title],\nabbr[data-original-title] {\n text-decoration: underline;\n text-decoration: underline dotted;\n cursor: help;\n border-bottom: 0;\n text-decoration-skip-ink: none;\n}\n\naddress {\n margin-bottom: 1rem;\n font-style: normal;\n line-height: inherit;\n}\n\nol,\nul,\ndl {\n margin-top: 0;\n margin-bottom: 1rem;\n}\n\nol ol,\nul ul,\nol ul,\nul ol {\n margin-bottom: 0;\n}\n\ndt {\n font-weight: 700;\n}\n\ndd {\n margin-bottom: .5rem;\n margin-left: 0;\n}\n\nblockquote {\n margin: 0 0 1rem;\n}\n\nb,\nstrong {\n font-weight: bolder;\n}\n\nsmall {\n font-size: 80%;\n}\n\nsub,\nsup {\n position: relative;\n font-size: 75%;\n line-height: 0;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -.25em;\n}\n\nsup Line truncated
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
/*!
|
||||||
|
* Bootstrap Reboot v4.5.0 (https://getbootstrap.com/)
|
||||||
|
* Copyright 2011-2020 The Bootstrap Authors
|
||||||
|
* Copyright 2011-2020 Twitter, Inc.
|
||||||
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||||
|
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
|
||||||
|
*/*,::after,::before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}[tabindex="-1"]:focus:not(:focus-visible){outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;border-bottom:0;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:transparent}a:hover{color:#0056b3;text-decoration:underline}a:not([href]){color:inherit;text-decoration:none}a:not([href]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto;-ms-overflow-style:scrollbar}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg{overflow:hidden;vertical-align:middle}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important}
|
||||||
|
/*# sourceMappingURL=bootstrap-reboot.min.css.map */
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"sources":["../../scss/bootstrap-reboot.scss","../../scss/_reboot.scss","dist/css/bootstrap-reboot.css","../../scss/vendor/_rfs.scss","bootstrap-reboot.css","../../scss/mixins/_hover.scss"],"names":[],"mappings":"AAAA;;;;;;ACkBA,ECTA,QADA,SDaE,WAAA,WAGF,KACE,YAAA,WACA,YAAA,KACA,yBAAA,KACA,4BAAA,YAMF,QAAA,MAAA,WAAA,OAAA,OAAA,OAAA,OAAA,KAAA,IAAA,QACE,QAAA,MAUF,KACE,OAAA,EACA,YAAA,aAAA,CAAA,kBAAA,CAAA,UAAA,CAAA,MAAA,CAAA,gBAAA,CAAA,KAAA,CAAA,WAAA,CAAA,UAAA,CAAA,mBAAA,CAAA,gBAAA,CAAA,iBAAA,CAAA,mBEgFI,UAAA,KF9EJ,YAAA,IACA,YAAA,IACA,MAAA,QACA,WAAA,KACA,iBAAA,KGlBF,0CH+BE,QAAA,YASF,GACE,WAAA,YACA,OAAA,EACA,SAAA,QAaF,GAAA,GAAA,GAAA,GAAA,GAAA,GACE,WAAA,EACA,cAAA,MAOF,EACE,WAAA,EACA,cAAA,KC9CF,0BDyDA,YAEE,gBAAA,UACA,wBAAA,UAAA,OAAA,gBAAA,UAAA,OACA,OAAA,KACA,cAAA,EACA,iCAAA,KAAA,yBAAA,KAGF,QACE,cAAA,KACA,WAAA,OACA,YAAA,QCnDF,GDsDA,GCvDA,GD0DE,WAAA,EACA,cAAA,KAGF,MCtDA,MACA,MAFA,MD2DE,cAAA,EAGF,GACE,YAAA,IAGF,GACE,cAAA,MACA,YAAA,EAGF,WACE,OAAA,EAAA,EAAA,KAGF,ECvDA,ODyDE,YAAA,OAGF,MExFI,UAAA,IFiGJ,IC5DA,ID8DE,SAAA,SEnGE,UAAA,IFqGF,YAAA,EACA,eAAA,SAGF,IAAM,OAAA,OACN,IAAM,IAAA,MAON,EACE,MAAA,QACA,gBAAA,KACA,iBAAA,YIhLA,QJmLE,MAAA,QACA,gBAAA,UASJ,cACE,MAAA,QACA,gBAAA,KI/LA,oBJkME,MAAA,QACA,gBAAA,KC7DJ,KACA,IDqEA,ICpEA,KDwEE,YAAA,cAAA,CAAA,KAAA,CAAA,MAAA,CAAA,QAAA,CAAA,iBAAA,CAAA,aAAA,CAAA,UEpJE,UAAA,IFwJJ,IAEE,WAAA,EAEA,cAAA,KAEA,SAAA,KAGA,mBAAA,UAQF,OAEE,OAAA,EAAA,EAAA,KAQF,IACE,eAAA,OACA,aAAA,KAGF,IAGE,SAAA,OACA,eAAA,OAQF,MACE,gBAAA,SAGF,QACE,YAAA,OACA,eAAA,OACA,MAAA,QACA,WAAA,KACA,aAAA,OAGF,GAGE,WAAA,QAQF,MAEE,QAAA,aACA,cAAA,MAMF,OAEE,cAAA,EAOF,aACE,QAAA,IAAA,OACA,QAAA,IAAA,KAAA,yBC1GF,OD6GA,MC3GA,SADA,OAEA,SD+GE,OAAA,EACA,YAAA,QExPE,UAAA,QF0PF,YAAA,QAGF,OC7GA,MD+GE,SAAA,QAGF,OC7GA,OD+GE,eAAA,KG7GF,cHoHE,OAAA,QAMF,OACE,UAAA,OChHF,cACA,aACA,cDqHA,OAIE,mBAAA,OCpHF,6BACA,4BACA,6BDuHE,sBAKI,OAAA,QCvHN,gCACA,+BACA,gCD2HA,yBAIE,QAAA,EACA,aAAA,KC1HF,qBD6HA,kBAEE,WAAA,WACA,QAAA,EAIF,SACE,SAAA,KAEA,OAAA,SAGF,SAME,UAAA,EAEA,QAAA,EACA,OAAA,EACA,OAAA,EAKF,OACE,QAAA,MACA,MAAA,KACA,UAAA,KACA,QAAA,EACA,cAAA,ME/RI,UAAA,OFiSJ,YAAA,QACA,MAAA,QACA,YAAA,OAGF,SACE,eAAA,SGvIF,yCFGA,yCD0IE,OAAA,KGxIF,cHgJE,eAAA,KACA,mBAAA,KG5IF,yCHoJE,mBAAA,KAQF,6BACE,KAAA,QACA,mBAAA,OAOF,OACE,QAAA,aAGF,QACE,QAAA,UACA,OAAA,QAGF,SACE,QAAA,KGzJF,SH+JE,QAAA","sourcesContent":["/*!\n * Bootstrap Reboot v4.5.0 (https://getbootstrap.com/)\n * Copyright 2011-2020 The Bootstrap Authors\n * Copyright 2011-2020 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)\n */\n\n@import \"functions\";\n@import \"variables\";\n@import \"mixins\";\n@import \"reboot\";\n","// stylelint-disable at-rule-no-vendor-prefix, declaration-no-important, selector-no-qualifying-type, property-no-vendor-prefix\n\n// Reboot\n//\n// Normalization of HTML elements, manually forked from Normalize.css to remove\n// styles targeting irrelevant browsers while applying new styles.\n//\n// Normalize is licensed MIT. https://github.com/necolas/normalize.css\n\n\n// Document\n//\n// 1. Change from `box-sizing: content-box` so that `width` is not affected by `padding` or `border`.\n// 2. Change the default font family in all browsers.\n// 3. Correct the line height in all browsers.\n// 4. Prevent adjustments of font size after orientation changes in IE on Windows Phone and in iOS.\n// 5. Change the default tap highlight to be completely transparent in iOS.\n\n*,\n*::before,\n*::after {\n box-sizing: border-box; // 1\n}\n\nhtml {\n font-family: sans-serif; // 2\n line-height: 1.15; // 3\n -webkit-text-size-adjust: 100%; // 4\n -webkit-tap-highlight-color: rgba($black, 0); // 5\n}\n\n// Shim for \"new\" HTML5 structural elements to display correctly (IE10, older browsers)\n// TODO: remove in v5\n// stylelint-disable-next-line selector-list-comma-newline-after\narticle, aside, figcaption, figure, footer, header, hgroup, main, nav, section {\n display: block;\n}\n\n// Body\n//\n// 1. Remove the margin in all browsers.\n// 2. As a best practice, apply a default `background-color`.\n// 3. Set an explicit initial text-align value so that we can later use\n// the `inherit` value on things like `<th>` elements.\n\nbody {\n margin: 0; // 1\n font-family: $font-family-base;\n @include font-size($font-size-base);\n font-weight: $font-weight-base;\n line-height: $line-height-base;\n color: $body-color;\n text-align: left; // 3\n background-color: $body-bg; // 2\n}\n\n// Future-proof rule: in browsers that support :focus-visible, suppress the focus outline\n// on elements that programmatically receive focus but wouldn't normally show a visible\n// focus outline. In general, this would mean that the outline is only applied if the\n// interaction that led to the element receiving programmatic focus was a keyboard interaction,\n// or the browser has somehow determined that the user is primarily a keyboard user and/or\n// wants focus outlinesLine truncated
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"sources":["../../scss/bootstrap.scss","bootstrap.css","../../scss/_root.scss","../../scss/_reboot.scss","../../scss/_variables.scss","../../scss/vendor/_rfs.scss","../../scss/mixins/_hover.scss","../../scss/_type.scss","../../scss/mixins/_lists.scss","../../scss/_images.scss","../../scss/mixins/_image.scss","../../scss/mixins/_border-radius.scss","../../scss/_code.scss","../../scss/_grid.scss","../../scss/mixins/_grid.scss","../../scss/mixins/_breakpoints.scss","../../scss/mixins/_grid-framework.scss","../../scss/_tables.scss","../../scss/mixins/_table-row.scss","../../scss/_functions.scss","../../scss/_forms.scss","../../scss/mixins/_transition.scss","../../scss/mixins/_forms.scss","../../scss/mixins/_gradients.scss","../../scss/_buttons.scss","../../scss/mixins/_buttons.scss","../../scss/_transitions.scss","../../scss/_dropdown.scss","../../scss/mixins/_caret.scss","../../scss/mixins/_nav-divider.scss","../../scss/_button-group.scss","../../scss/_input-group.scss","../../scss/_custom-forms.scss","../../scss/_nav.scss","../../scss/_navbar.scss","../../scss/_card.scss","../../scss/_breadcrumb.scss","../../scss/_pagination.scss","../../scss/mixins/_pagination.scss","../../scss/_badge.scss","../../scss/mixins/_badge.scss","../../scss/_jumbotron.scss","../../scss/_alert.scss","../../scss/mixins/_alert.scss","../../scss/_progress.scss","../../scss/_media.scss","../../scss/_list-group.scss","../../scss/mixins/_list-group.scss","../../scss/_close.scss","../../scss/_toasts.scss","../../scss/_modal.scss","../../scss/_tooltip.scss","../../scss/mixins/_reset-text.scss","../../scss/_popover.scss","../../scss/_carousel.scss","../../scss/mixins/_clearfix.scss","../../scss/_spinners.scss","../../scss/utilities/_align.scss","../../scss/mixins/_background-variant.scss","../../scss/utilities/_background.scss","../../scss/utilities/_borders.scss","../../scss/utilities/_display.scss","../../scss/utilities/_embed.scss","../../scss/utilities/_flex.scss","../../scss/utilities/_float.scss","../../scss/utilities/_interactions.scss","../../scss/utilities/_overflow.scss","../../scss/utilities/_position.scss","../../scss/utilities/_screenreaders.scss","../../scss/mixins/_screen-reader.scss","../../scss/utilities/_shadows.scss","../../scss/utilities/_sizing.scss","../../scss/utilities/_spacing.scss","../../scss/utilities/_stretched-link.scss","../../scss/utilities/_text.scss","../../scss/mixins/_text-truncate.scss","../../scss/mixins/_text-emphasis.scss","../../scss/mixins/_text-hide.scss","../../scss/utilities/_visibility.scss","../../scss/_print.scss"],"names":[],"mappings":"AAAA;;;;;ECKE;ACJF;EAGI,eAAc;EAAd,iBAAc;EAAd,iBAAc;EAAd,eAAc;EAAd,cAAc;EAAd,iBAAc;EAAd,iBAAc;EAAd,gBAAc;EAAd,eAAc;EAAd,eAAc;EAAd,aAAc;EAAd,eAAc;EAAd,oBAAc;EAId,kBAAc;EAAd,oBAAc;EAAd,kBAAc;EAAd,eAAc;EAAd,kBAAc;EAAd,iBAAc;EAAd,gBAAc;EAAd,eAAc;EAId,kBAAiC;EAAjC,sBAAiC;EAAjC,sBAAiC;EAAjC,sBAAiC;EAAjC,uBAAiC;EAKnC,+MAAyB;EACzB,6GAAwB;ADiB1B;;AEjBA;;;EAGE,sBAAsB;AFoBxB;;AEjBA;EACE,uBAAuB;EACvB,iBAAiB;EACjB,8BAA8B;EAC9B,6CCXa;AH+Bf;;AEdA;EACE,cAAc;AFiBhB;;AEPA;EACE,SAAS;EACT,kMC2OiN;EC3J7M,eAtCY;EFxChB,gBCoP+B;EDnP/B,gBCwP+B;EDvP/B,cCnCgB;EDoChB,gBAAgB;EAChB,sBC9Ca;AHwDf;;AAEA;EECE,qBAAqB;AFCvB;;AEQA;EACE,uBAAuB;EACvB,SAAS;EACT,iBAAiB;AFLnB;;AEkBA;EACE,aAAa;EACb,qBCsNuC;AHrOzC;;AEsBA;EACE,aAAa;EACb,mBCyF8B;AH5GhC;;AE8BA;;EAEE,0BAA0B;EAC1B,yCAAiC;EAAjC,iCAAiC;EACjC,YAAY;EACZ,gBAAgB;EAChB,sCAA8B;EAA9B,8BAA8B;AF3BhC;;AE8BA;EACE,mBAAmB;EACnB,kBAAkB;EAClB,oBAAoB;AF3BtB;;AE8BA;;;EAGE,aAAa;EACb,mBAAmB;AF3BrB;;AE8BA;;;;EAIE,gBAAgB;AF3BlB;;AE8BA;EACE,gBCuJ+B;AHlLjC;;AE8BA;EACE,oBAAoB;EACpB,cAAc;AF3BhB;;AE8BA;EACE,gBAAgB;AF3BlB;;AE8BA;;EAEE,mBC0IkC;AHrKpC;;AE8BA;EExFI,cAAW;AJ8Df;;AEmCA;;EAEE,kBAAkB;EEnGhB,cAAW;EFqGb,cAAc;EACd,wBAAwB;AFhC1B;;AEmCA;EAAM,cAAc;AF/BpB;;AEgCA;EAAM,UAAU;AF5BhB;;AEmCA;EACE,cCtJe;EDuJf,qBCN4C;EDO5C,6BAA6B;AFhC/B;;AKhJE;EHmLE,cCT8D;EDU9D,0BCT+C;AHtBnD;;AEwCA;EACE,cAAc;EACd,qBAAqB;AFrCvB;;AK1JE;EHkME,cAAc;EACd,qBAAqB;AFpCzB;;AE6CA;;;;EAIE,iGC+DgH;ECnN9G,cAAW;AJ2Gf;;AE6CA;EAEE,aAAa;EAEb,mBAAmB;EAEnB,cAAc;EAGd,6BAA6B;AF/C/B;;AEuDA;EAEE,gBAAgB;AFrDlB;;AE6DA;EACE,sBAAsB;EACtB,kBAAkB;AF1DpB;;AE6DA;EAGE,gBAAgB;EAChB,sBAAsB;AF5DxB;;AEoEA;EACE,yBAAyB;AFjE3B;;AEoEA;EACE,oBCmFkC;EDlFlC,uBCkFkC;EDjFlC,cCtQgB;EDuQhB,gBAAgB;EAChB,oBAAoB;AFjEtB;;AEoEA;EAGE,mBAAmB;AFnErB;;AE2EA;EAEE,qBAAqB;EACrB,qBCoK2C;AH7O7C;;AE+EA;EAEE,gBAAgB;AF7ElB;;AEoFA;EACE,mBAAmB;EACnB,0CAA0C;AFjF5C;;AEoFA;;;;;EAKE,SAAS;EACT,oBAAoB;EExPlB,kBAAW;EF0Pb,oBAAoB;AFjFtB;;AEoFA;;EAEE,iBAAiB;AFjFnB;;AEoFA;;EAEE,oBAAoB;AFjFtB;;AAEA;EEsFE,eAAe;AFpFjB;;AE0FA;EACE,iBAAiB;AFvFnB;;AE8FA;;;;EAIE,0BAA0B;AF3F5B;;AEgGE;;;;EAKI,eAAe;AF9FrB;;AEoGA;;;;EAIE,UAAU;EACV,kBAAkB;AFjGpB;;AEoGA;;EAEE,sBAAsB;EACtB,UAAU;AFjGZ;;AEqGA;EACE,cAAc;EAEd,gBAAgB;AFnGlB;;AEsGA;EAME,YAAY;EAEZ,UAAU;EACV,SAAS;EACT,SAAS;AFzGX;;AE8GA;EACE,cAAc;EACd,WAAW;EACX,eAAe;EACf,UAAU;EACV,oBAAoB;EE/RhB,iBAtCY;EFuUhB,oBAAoB;EACpB,cAAc;EACd,mBAAmB;AF3GrB;;AE8GA;EACE,wBAAwB;AF3G1B;;AAEA;;EE+GE,YAAY;AF5Gd;;AAEA;EEkHE,oBAAoB;EACpB,wBAAwB;AFhLine truncated
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
/*!
|
||||||
|
* Bootstrap v4.5.0 (https://getbootstrap.com/)
|
||||||
|
* Copyright 2011-2020 The Bootstrap Authors
|
||||||
|
* Copyright 2011-2020 Twitter, Inc.
|
||||||
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||||
|
*/:root{--blue:#007bff;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#dc3545;--orange:#fd7e14;--yellow:#ffc107;--green:#28a745;--teal:#20c997;--cyan:#17a2b8;--white:#fff;--gray:#6c757d;--gray-dark:#343a40;--primary:#007bff;--secondary:#6c757d;--success:#28a745;--info:#17a2b8;--warning:#ffc107;--danger:#dc3545;--light:#f8f9fa;--dark:#343a40;--breakpoint-xs:0;--breakpoint-sm:576px;--breakpoint-md:768px;--breakpoint-lg:992px;--breakpoint-xl:1200px;--font-family-sans-serif:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}*,::after,::before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}[tabindex="-1"]:focus:not(:focus-visible){outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;border-bottom:0;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:transparent}a:hover{color:#0056b3;text-decoration:underline}a:not([href]){color:inherit;text-decoration:none}a:not([href]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto;-ms-overflow-style:scrollbar}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg{overflow:hidden;vertical-align:middle}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{margin-bottom:.5rem;font-weight:500;line-height:1.2}.h1,h1{font-size:2.5rem}.h2,h2{font-size:2rem}.h3,h3{font-size:1.75rem}.h4,h4{font-size:1.5rem}.h5,h5{font-size:1.25rem}.h6,h6{font-size:1rem}.lead{font-size:1.25rem;font-weight:300}.display-1{font-size:6rem;font-weight:300;line-height:1.2}.display-2{font-size:5.5rem;font-weight:300;line-height:1.2}.display-3{font-size:4.5rem;font-weight:300;line-height:1.2}.display-4{font-size:3.5rem;font-weight:300;line-height:1.2}hr{margin-top:1rem;margin-bottom:1rem;border:0;border-top:1px solid rgba(0,0,0,.1)}.small,small{font-size:80%;font-weight:400}.mark,mark{padding:.2em;background-color:#fcf8e3}.list-unstyled{padding-left:0;list-style:none}.list-inlinLine truncated
|
||||||
|
/*# sourceMappingURL=bootstrap.min.css.map */
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"sources":["../../scss/bootstrap.scss","../../scss/_root.scss","../../scss/_reboot.scss","dist/css/bootstrap.css","../../scss/vendor/_rfs.scss","bootstrap.css","../../scss/mixins/_hover.scss","../../scss/_type.scss","../../scss/mixins/_lists.scss","../../scss/_images.scss","../../scss/mixins/_image.scss","../../scss/mixins/_border-radius.scss","../../scss/_code.scss","../../scss/_grid.scss","../../scss/mixins/_grid.scss","../../scss/mixins/_breakpoints.scss","../../scss/mixins/_grid-framework.scss","../../scss/_tables.scss","../../scss/mixins/_table-row.scss","../../scss/_forms.scss","../../scss/mixins/_transition.scss","../../scss/mixins/_forms.scss","../../scss/mixins/_gradients.scss","../../scss/_buttons.scss","../../scss/mixins/_buttons.scss","../../scss/_transitions.scss","../../scss/_dropdown.scss","../../scss/mixins/_caret.scss","../../scss/mixins/_nav-divider.scss","../../scss/_button-group.scss","../../scss/_input-group.scss","../../scss/_custom-forms.scss","../../scss/_nav.scss","../../scss/_navbar.scss","../../scss/_card.scss","../../scss/_breadcrumb.scss","../../scss/_pagination.scss","../../scss/mixins/_pagination.scss","../../scss/_badge.scss","../../scss/mixins/_badge.scss","../../scss/_jumbotron.scss","../../scss/_alert.scss","../../scss/mixins/_alert.scss","../../scss/_progress.scss","../../scss/_media.scss","../../scss/_list-group.scss","../../scss/mixins/_list-group.scss","../../scss/_close.scss","../../scss/_toasts.scss","../../scss/_modal.scss","../../scss/_tooltip.scss","../../scss/mixins/_reset-text.scss","../../scss/_popover.scss","../../scss/_carousel.scss","../../scss/mixins/_clearfix.scss","../../scss/_spinners.scss","../../scss/utilities/_align.scss","../../scss/mixins/_background-variant.scss","../../scss/utilities/_background.scss","../../scss/utilities/_borders.scss","../../scss/utilities/_display.scss","../../scss/utilities/_embed.scss","../../scss/utilities/_flex.scss","../../scss/utilities/_float.scss","../../scss/utilities/_interactions.scss","../../scss/utilities/_overflow.scss","../../scss/utilities/_position.scss","../../scss/utilities/_screenreaders.scss","../../scss/mixins/_screen-reader.scss","../../scss/utilities/_shadows.scss","../../scss/utilities/_sizing.scss","../../scss/utilities/_spacing.scss","../../scss/utilities/_stretched-link.scss","../../scss/utilities/_text.scss","../../scss/mixins/_text-truncate.scss","../../scss/mixins/_text-emphasis.scss","../../scss/mixins/_text-hide.scss","../../scss/utilities/_visibility.scss","../../scss/_print.scss"],"names":[],"mappings":"AAAA;;;;;ACCA,MAGI,OAAA,QAAA,SAAA,QAAA,SAAA,QAAA,OAAA,QAAA,MAAA,QAAA,SAAA,QAAA,SAAA,QAAA,QAAA,QAAA,OAAA,QAAA,OAAA,QAAA,QAAA,KAAA,OAAA,QAAA,YAAA,QAIA,UAAA,QAAA,YAAA,QAAA,UAAA,QAAA,OAAA,QAAA,UAAA,QAAA,SAAA,QAAA,QAAA,QAAA,OAAA,QAIA,gBAAA,EAAA,gBAAA,MAAA,gBAAA,MAAA,gBAAA,MAAA,gBAAA,OAKF,yBAAA,aAAA,CAAA,kBAAA,CAAA,UAAA,CAAA,MAAA,CAAA,gBAAA,CAAA,KAAA,CAAA,WAAA,CAAA,UAAA,CAAA,mBAAA,CAAA,gBAAA,CAAA,iBAAA,CAAA,mBACA,wBAAA,cAAA,CAAA,KAAA,CAAA,MAAA,CAAA,QAAA,CAAA,iBAAA,CAAA,aAAA,CAAA,UCAF,ECqBA,QADA,SDjBE,WAAA,WAGF,KACE,YAAA,WACA,YAAA,KACA,yBAAA,KACA,4BAAA,YAMF,QAAA,MAAA,WAAA,OAAA,OAAA,OAAA,OAAA,KAAA,IAAA,QACE,QAAA,MAUF,KACE,OAAA,EACA,YAAA,aAAA,CAAA,kBAAA,CAAA,UAAA,CAAA,MAAA,CAAA,gBAAA,CAAA,KAAA,CAAA,WAAA,CAAA,UAAA,CAAA,mBAAA,CAAA,gBAAA,CAAA,iBAAA,CAAA,mBEgFI,UAAA,KF9EJ,YAAA,IACA,YAAA,IACA,MAAA,QACA,WAAA,KACA,iBAAA,KGYF,0CHCE,QAAA,YASF,GACE,WAAA,YACA,OAAA,EACA,SAAA,QAaF,GAAA,GAAA,GAAA,GAAA,GAAA,GACE,WAAA,EACA,cAAA,MAOF,EACE,WAAA,EACA,cAAA,KChBF,0BD2BA,YAEE,gBAAA,UACA,wBAAA,UAAA,OAAA,gBAAA,UAAA,OACA,OAAA,KACA,cAAA,EACA,iCAAA,KAAA,yBAAA,KAGF,QACE,cAAA,KACA,WAAA,OACA,YAAA,QCrBF,GDwBA,GCzBA,GD4BE,WAAA,EACA,cAAA,KAGF,MCxBA,MACA,MAFA,MD6BE,cAAA,EAGF,GACE,YAAA,IAGF,GACE,cAAA,MACA,YAAA,EAGF,WACE,OAAA,EAAA,EAAA,KAGF,ECzBA,OD2BE,YAAA,OAGF,MExFI,UAAA,IFiGJ,IC9BA,IDgCE,SAAA,SEnGE,UAAA,IFqGF,YAAA,EACA,eAAA,SAGF,IAAM,OAAA,OACN,IAAM,IAAA,MAON,EACE,MAAA,QACA,gBAAA,KACA,iBAAA,YIhLA,QJmLE,MAAA,QACA,gBAAA,UASJ,cACE,MAAA,QACA,gBAAA,KI/LA,oBJkME,MAAA,QACA,gBAAA,KC/BJ,KACA,IDuCA,ICtCA,KD0CE,YAAA,cAAA,CAAA,KAAA,CAAA,MAAA,CAAA,QAAA,CAAA,iBAAA,CAAA,aAAA,CAAA,UEpJE,UAAA,IFwJJ,IAEE,WAAA,EAEA,cAAA,KAEA,SAAA,KAGA,mBAAA,UAQF,OAEE,OAAA,EAAA,EAAA,KAQF,IACE,eAAA,OACA,aAAA,KAGF,IAGE,SAAA,OACA,eAAA,OAQF,MACE,gBAAA,SAGF,QACE,YAAA,OACA,eAAA,OACA,MAAA,QACA,WAAA,KACA,aAAA,OAGF,GAGE,WAAA,QAQF,MAEE,QAAA,aACA,cAAA,MAMF,OAEE,cAAA,EAOF,aACE,QAAA,IAAA,OACA,QAAA,IAAA,KAAA,yBC5EF,OD+EA,MC7EA,SADA,OAEA,SDiFE,OAAA,EACA,YAAA,QExPE,UAAA,QF0PF,YAAA,QAGF,OC/EA,MDiFE,SAAA,QAGF,OC/EA,ODiFE,eAAA,KG/EF,cHsFE,OAAA,QAMF,OACE,UAAA,OClFF,cACA,aACA,cDuFA,OAIE,mBAAA,OCtFF,6BACA,4BACA,6BDyFE,sBAKI,OAAA,QCzFN,gCACA,+BACA,gCD6FA,yBAIE,QAAA,EACA,aAAA,KC5FF,qBD+FA,kBAEE,WAAA,WACA,QAAA,EAIF,SACE,SAAA,KAEA,OAAA,SAGF,SAME,UAAA,EAEA,QAAA,EACA,OAAA,EACA,OAAA,EAKF,OACE,QAAA,MACA,MAAA,KACA,UAAA,KACA,QAAA,EACA,cAAA,ME/RI,UAAA,OFiSJ,YAAA,QACA,MAAA,QACA,YAAA,OAGF,SACE,eAAA,SGzGF,yCFGA,yCD4GE,OAAA,KG1GF,cHkHE,eAAA,KACA,mBAAA,KG9GF,yCHsHE,mBAAA,KAQF,6BACE,KAAA,QACA,mBALine truncated
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"file":"bootstrap.bundle.js","sources":["../../js/src/util.js","../../js/src/alert.js","../../js/src/button.js","../../js/src/carousel.js","../../js/src/collapse.js","../../node_modules/popper.js/dist/esm/popper.js","../../js/src/dropdown.js","../../js/src/modal.js","../../js/src/tools/sanitizer.js","../../js/src/tooltip.js","../../js/src/popover.js","../../js/src/scrollspy.js","../../js/src/tab.js","../../js/src/toast.js"],"sourcesContent":["/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.5.0): util.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport $ from 'jquery'\n\n/**\n * ------------------------------------------------------------------------\n * Private TransitionEnd Helpers\n * ------------------------------------------------------------------------\n */\n\nconst TRANSITION_END = 'transitionend'\nconst MAX_UID = 1000000\nconst MILLISECONDS_MULTIPLIER = 1000\n\n// Shoutout AngusCroll (https://goo.gl/pxwQGp)\nfunction toType(obj) {\n if (obj === null || typeof obj === 'undefined') {\n return `${obj}`\n }\n\n return {}.toString.call(obj).match(/\\s([a-z]+)/i)[1].toLowerCase()\n}\n\nfunction getSpecialTransitionEndEvent() {\n return {\n bindType: TRANSITION_END,\n delegateType: TRANSITION_END,\n handle(event) {\n if ($(event.target).is(this)) {\n return event.handleObj.handler.apply(this, arguments) // eslint-disable-line prefer-rest-params\n }\n return undefined\n }\n }\n}\n\nfunction transitionEndEmulator(duration) {\n let called = false\n\n $(this).one(Util.TRANSITION_END, () => {\n called = true\n })\n\n setTimeout(() => {\n if (!called) {\n Util.triggerTransitionEnd(this)\n }\n }, duration)\n\n return this\n}\n\nfunction setTransitionEndSupport() {\n $.fn.emulateTransitionEnd = transitionEndEmulator\n $.event.special[Util.TRANSITION_END] = getSpecialTransitionEndEvent()\n}\n\n/**\n * --------------------------------------------------------------------------\n * Public Util Api\n * --------------------------------------------------------------------------\n */\n\nconst Util = {\n TRANSITION_END: 'bsTransitionEnd',\n\n getUID(prefix) {\n do {\n // eslint-disable-next-line no-bitwise\n prefix += ~~(Math.random() * MAX_UID) // \"~~\" acts like a faster Math.floor() here\n } while (document.getElementById(prefix))\n return prefix\n },\n\n getSelectorFromElement(element) {\n let selector = element.getAttribute('data-target')\n\n if (!selector || selector === '#') {\n const hrefAttr = element.getAttribute('href')\n selector = hrefAttr && hrefAttr !== '#' ? hrefAttr.trim() : ''\n }\n\n try {\n return document.querySelector(selector) ? selector : null\n } catch (err) {\n return null\n }\n },\n\n getTransitionDurationFromElement(element) {\n if (!element) {\n return 0\n }\n\n // Get transition-duration of the element\n let transitionDuration = $(element).css('transition-duration')\n let transitionDelay = $(element).css('transition-delay')\n\n const floatTransitionDuration = parseFloat(transitionDuration)\n const floatTransitionDelay = parseFloat(transitionDelay)\n\n // Return 0 if element or transition duration is not found\n if (!floatTransitionDuration && !floatTransitionDelay) {\n return 0\n }\n\n // If multiple durations are defined, take the first\n transitionDuration = transitionDuration.split(',')[0]\n transitionDelay = transitionDelay.split(',')[0]\n\n return (parseFloat(transitionDuration) + parseFloat(transitionDelay)) * MILLISECONDS_MULTIPLIER\n },\n\n reflow(element) {\n return element.offsetHeight\n },\n\n triggerTransitionEnd(element) {\n $(element).trigger(TRANSITION_END)\n },\n\n // TODO: Remove in v5\n supportsTransitionEnd() {\n return Boolean(TRANSITION_END)\n },\n\n isElement(obj) {\n return (obj[0] || obj).nodeType\n },\n\n typeCheckConfig(componentName, config, configTypes) {\n for (const property in configTypes) {\n if (Object.prototype.hasOwnProperty.call(configTypes, property)) {\n const expectedTypes = configTypes[property]\n const value = config[property]\n const valueType = value && Util.isElement(value)\n ? 'element' : toType(value)\n\n if (!new RegExp(expectedTypes).test(valueType)) {\n throw new Error(\n `${componentName.toUpperCase()}: ` +\n `Option \"${property}\" provided type \"${valueType}\" ` +\n `but expected type \"${expectedTypes}\".`)\n }\n }\n }\n },\n\n findShadowRoot(element) {\n if (!document.documentElement.attachShadow) {\n return null\n }\n\n // Can find the shadow root otherwise it'll return the document\n if (typeof element.getRootNode === 'fLine truncated
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
/*!
|
||||||
|
* Bootstrap v4.5.0 (https://getbootstrap.com/)
|
||||||
|
* Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
||||||
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||||
|
*/
|
||||||
|
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],e):e((t=t||self).bootstrap={},t.jQuery)}(this,(function(t,e){"use strict";function n(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function i(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){o(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}e=e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e;function a(t){var n=this,i=!1;return e(this).one(l.TRANSITION_END,(function(){i=!0})),setTimeout((function(){i||l.triggerTransitionEnd(n)}),t),this}var l={TRANSITION_END:"bsTransitionEnd",getUID:function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");if(!e||"#"===e){var n=t.getAttribute("href");e=n&&"#"!==n?n.trim():""}try{return document.querySelector(e)?e:null}catch(t){return null}},getTransitionDurationFromElement:function(t){if(!t)return 0;var n=e(t).css("transition-duration"),i=e(t).css("transition-delay"),o=parseFloat(n),r=parseFloat(i);return o||r?(n=n.split(",")[0],i=i.split(",")[0],1e3*(parseFloat(n)+parseFloat(i))):0},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){e(t).trigger("transitionend")},supportsTransitionEnd:function(){return Boolean("transitionend")},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var o=n[i],r=e[i],s=r&&l.isElement(r)?"element":null===(a=r)||"undefined"==typeof a?""+a:{}.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(o).test(s))throw new Error(t.toUpperCase()+': Option "'+i+'" provided type "'+s+'" but expected type "'+o+'".')}var a},findShadowRoot:function(t){if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){var e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?l.findShadowRoot(t.parentNode):null},jQueryDetection:function(){if("undefined"==typeof e)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=e.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||t[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};l.jQueryDetection(),e.fn.emulateTransitionEnd=a,e.event.special[l.TRANSITION_END]={bindType:"transitionend",delegateType:"transitionend",handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}};var c="alert",u=e.fn[c],h=function(){function t(t){this._element=t}var n=t.prototype;return n.close=function(t){var e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},n.dispose=function(){e.removeData(this._element,"bs.alert"),this._element=null},n._getRootElement=function(t){var n=l.getSelectorFromElement(t),i=!1;return n&&(i=document.querySelector(n)),i||(i=e(t).closest(".alert")[0]),i},n._triggerCloseEvent=function(t){var n=e.Event("close.bs.alert");return e(t).trigger(n),n},n._removeElement=function(t){var n=this;if(e(t).removeClass("show"),e(t).hasClass("fade")){var i=l.getTransitionDurationFromElement(t);e(t).one(l.TRANSITION_END,(function(e){return n._destroyElement(t,e)})).emulateTransitionEnd(i)}else this._destroyElement(t)},n._destroyElement=function(t){e(t).detach().trigger("closed.bs.alert").remove()},t._jQueryInterface=function(n){return this.each((function(){var i=e(this),o=i.data("bs.alert");o||(o=new t(this),i.data("bs.alert",o)),"close"===n&&o[n](this)}))},t._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},i(t,null,[{key:"VERSION",get:function(){return"4.5.0"}}]),t}();e(document).on("click.bs.alert.data-api",'[data-dismiss="alert"]',h._handleDismiss(new h)),e.fn[c]=h._jQueryInterface,e.fn[c].Constructor=h,e.fn[c].noConflict=function(){return e.fn[c]=u,h._jQueryInterface};var f=e.fn.button,d=function(){function t(t){this._element=t}var n=t.prototype;return n.toggle=function(){var t=!0,n=!0,i=e(this._element).closest('[data-toggle="buttons"]')[0];iLine truncated
|
||||||
|
//# sourceMappingURL=bootstrap.bundle.min.js.map
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"sources":["../../js/src/util.js","../../js/src/alert.js","../../js/src/button.js","../../js/src/carousel.js","../../js/src/collapse.js","../../node_modules/popper.js/dist/esm/popper.js","../../js/src/dropdown.js","../../js/src/modal.js","../../js/src/tools/sanitizer.js","../../js/src/tooltip.js","../../js/src/popover.js","../../js/src/scrollspy.js","../../js/src/tab.js","../../js/src/toast.js"],"names":["transitionEndEmulator","duration","_this","this","called","$","one","Util","TRANSITION_END","setTimeout","triggerTransitionEnd","getUID","prefix","Math","random","document","getElementById","getSelectorFromElement","element","selector","getAttribute","hrefAttr","trim","querySelector","err","getTransitionDurationFromElement","transitionDuration","css","transitionDelay","floatTransitionDuration","parseFloat","floatTransitionDelay","split","reflow","offsetHeight","trigger","supportsTransitionEnd","Boolean","isElement","obj","nodeType","typeCheckConfig","componentName","config","configTypes","property","Object","prototype","hasOwnProperty","call","expectedTypes","value","valueType","toString","match","toLowerCase","RegExp","test","Error","toUpperCase","findShadowRoot","documentElement","attachShadow","getRootNode","root","ShadowRoot","parentNode","jQueryDetection","TypeError","version","fn","jquery","emulateTransitionEnd","event","special","bindType","delegateType","handle","target","is","handleObj","handler","apply","arguments","NAME","JQUERY_NO_CONFLICT","Alert","_element","close","rootElement","_getRootElement","_triggerCloseEvent","isDefaultPrevented","_removeElement","dispose","removeData","parent","closest","closeEvent","Event","removeClass","hasClass","_destroyElement","detach","remove","_jQueryInterface","each","$element","data","_handleDismiss","alertInstance","preventDefault","on","Constructor","noConflict","Button","toggle","triggerChangeEvent","addAriaPressed","input","type","checked","classList","contains","activeElement","focus","hasAttribute","setAttribute","toggleClass","button","initialButton","inputBtn","tagName","window","buttons","slice","querySelectorAll","i","len","length","add","EVENT_KEY","Default","interval","keyboard","slide","pause","wrap","touch","DefaultType","PointerType","TOUCH","PEN","Carousel","_items","_interval","_activeElement","_isPaused","_isSliding","touchTimeout","touchStartX","touchDeltaX","_config","_getConfig","_indicatorsElement","_touchSupported","navigator","maxTouchPoints","_pointerEvent","PointerEvent","MSPointerEvent","_addEventListeners","next","_slide","nextWhenVisible","hidden","prev","cycle","clearInterval","setInterval","visibilityState","bind","to","index","activeIndex","_getItemIndex","direction","off","_objectSpread2","_handleSwipe","absDeltax","abs","_this2","_keydown","_addTouchEventListeners","_this3","start","originalEvent","pointerType","clientX","touches","end","clearTimeout","e","move","which","indexOf","_getItemByDirection","isNextDirection","isPrevDirection","lastItemIndex","itemIndex","_triggerSlideEvent","relatedTarget","eventDirectionName","targetIndex","fromIndex","slideEvent","from","_setActiveIndicatorElement","indicators","nextIndicator","children","addClass","directionalClassName","orderClassName","_this4","activeElementIndex","nextElement","nextElementIndex","isCycling","slidEvent","nextElementInterval","parseInt","defaultInterval","CLASS_NAME_ACTIVE","action","ride","_dataApiClickHandler","slideIndex","carousels","$carousel","Collapse","_isTransitioning","_triggerArray","id","toggleList","elem","filterElement","filter","foundElem","_selector","push","_parent","_getParent","_addAriaAndCollapsedClass","hide","show","actives","activesData","not","startEvent","dimension","_getDimension","style","attr","setTransitioning","scrollSize","CLASS_NAME_COLLAPSE","getBoundingClientRect","triggerArrayLength","isTransitioning","_getTargetFromElement","triggerArray","isOpen","$this","currentTarget","$trigger","selectors","$target","isBrowser","timeoutDuration","longerTimeoutBrowsers","userAgent","debounce","Promise","resolve","then","scheduled","isFunction","functionToCheck","getStyleComputedProperty","ownerDocument","defaultView","getComputedStyle","getParentNode","nodeName","host","getScrollParent","body","_getStyleComputedProp","overflow","overflowX","overflowY","getReferenceNode","reference","referenceNode","isIE11","MSInputMethodContext","documentMode","isIE10","isIE","getOffsetParent","noOffsetParent","offsetParent","nextElementSibling","getRoot","node","findCommonOffsetParent","element1","element2","order","compareDocumentPosition","Node","DOCUMENT_POSITION_FOLLOWING","range","createRange","setStart","setEnd","commonAncestorContainer","firstElementChild","element1root","getScroll","side","undefined","upperSide","html","scrollingElement","includeScroll","rect","subtract","scrollTop","scrollLeft","modifier","top","bottom","left","right","getBordersSize","styles","axis","sideA","sideB","getSize","computedStyle","max","getWindowSizes"Line truncated
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"file":"bootstrap.js","sources":["../../js/src/util.js","../../js/src/alert.js","../../js/src/button.js","../../js/src/carousel.js","../../js/src/collapse.js","../../js/src/dropdown.js","../../js/src/modal.js","../../js/src/tools/sanitizer.js","../../js/src/tooltip.js","../../js/src/popover.js","../../js/src/scrollspy.js","../../js/src/tab.js","../../js/src/toast.js"],"sourcesContent":["/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.5.0): util.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport $ from 'jquery'\n\n/**\n * ------------------------------------------------------------------------\n * Private TransitionEnd Helpers\n * ------------------------------------------------------------------------\n */\n\nconst TRANSITION_END = 'transitionend'\nconst MAX_UID = 1000000\nconst MILLISECONDS_MULTIPLIER = 1000\n\n// Shoutout AngusCroll (https://goo.gl/pxwQGp)\nfunction toType(obj) {\n if (obj === null || typeof obj === 'undefined') {\n return `${obj}`\n }\n\n return {}.toString.call(obj).match(/\\s([a-z]+)/i)[1].toLowerCase()\n}\n\nfunction getSpecialTransitionEndEvent() {\n return {\n bindType: TRANSITION_END,\n delegateType: TRANSITION_END,\n handle(event) {\n if ($(event.target).is(this)) {\n return event.handleObj.handler.apply(this, arguments) // eslint-disable-line prefer-rest-params\n }\n return undefined\n }\n }\n}\n\nfunction transitionEndEmulator(duration) {\n let called = false\n\n $(this).one(Util.TRANSITION_END, () => {\n called = true\n })\n\n setTimeout(() => {\n if (!called) {\n Util.triggerTransitionEnd(this)\n }\n }, duration)\n\n return this\n}\n\nfunction setTransitionEndSupport() {\n $.fn.emulateTransitionEnd = transitionEndEmulator\n $.event.special[Util.TRANSITION_END] = getSpecialTransitionEndEvent()\n}\n\n/**\n * --------------------------------------------------------------------------\n * Public Util Api\n * --------------------------------------------------------------------------\n */\n\nconst Util = {\n TRANSITION_END: 'bsTransitionEnd',\n\n getUID(prefix) {\n do {\n // eslint-disable-next-line no-bitwise\n prefix += ~~(Math.random() * MAX_UID) // \"~~\" acts like a faster Math.floor() here\n } while (document.getElementById(prefix))\n return prefix\n },\n\n getSelectorFromElement(element) {\n let selector = element.getAttribute('data-target')\n\n if (!selector || selector === '#') {\n const hrefAttr = element.getAttribute('href')\n selector = hrefAttr && hrefAttr !== '#' ? hrefAttr.trim() : ''\n }\n\n try {\n return document.querySelector(selector) ? selector : null\n } catch (err) {\n return null\n }\n },\n\n getTransitionDurationFromElement(element) {\n if (!element) {\n return 0\n }\n\n // Get transition-duration of the element\n let transitionDuration = $(element).css('transition-duration')\n let transitionDelay = $(element).css('transition-delay')\n\n const floatTransitionDuration = parseFloat(transitionDuration)\n const floatTransitionDelay = parseFloat(transitionDelay)\n\n // Return 0 if element or transition duration is not found\n if (!floatTransitionDuration && !floatTransitionDelay) {\n return 0\n }\n\n // If multiple durations are defined, take the first\n transitionDuration = transitionDuration.split(',')[0]\n transitionDelay = transitionDelay.split(',')[0]\n\n return (parseFloat(transitionDuration) + parseFloat(transitionDelay)) * MILLISECONDS_MULTIPLIER\n },\n\n reflow(element) {\n return element.offsetHeight\n },\n\n triggerTransitionEnd(element) {\n $(element).trigger(TRANSITION_END)\n },\n\n // TODO: Remove in v5\n supportsTransitionEnd() {\n return Boolean(TRANSITION_END)\n },\n\n isElement(obj) {\n return (obj[0] || obj).nodeType\n },\n\n typeCheckConfig(componentName, config, configTypes) {\n for (const property in configTypes) {\n if (Object.prototype.hasOwnProperty.call(configTypes, property)) {\n const expectedTypes = configTypes[property]\n const value = config[property]\n const valueType = value && Util.isElement(value)\n ? 'element' : toType(value)\n\n if (!new RegExp(expectedTypes).test(valueType)) {\n throw new Error(\n `${componentName.toUpperCase()}: ` +\n `Option \"${property}\" provided type \"${valueType}\" ` +\n `but expected type \"${expectedTypes}\".`)\n }\n }\n }\n },\n\n findShadowRoot(element) {\n if (!document.documentElement.attachShadow) {\n return null\n }\n\n // Can find the shadow root otherwise it'll return the document\n if (typeof element.getRootNode === 'function') {\n const root = element.getRootNode()\n Line truncated
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
/*!
|
||||||
|
* Bootstrap v4.5.0 (https://getbootstrap.com/)
|
||||||
|
* Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
||||||
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||||
|
*/
|
||||||
|
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],e):e((t=t||self).bootstrap={},t.jQuery,t.Popper)}(this,(function(t,e,n){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function o(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){s(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}e=e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e,n=n&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n;function l(t){var n=this,i=!1;return e(this).one(c.TRANSITION_END,(function(){i=!0})),setTimeout((function(){i||c.triggerTransitionEnd(n)}),t),this}var c={TRANSITION_END:"bsTransitionEnd",getUID:function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");if(!e||"#"===e){var n=t.getAttribute("href");e=n&&"#"!==n?n.trim():""}try{return document.querySelector(e)?e:null}catch(t){return null}},getTransitionDurationFromElement:function(t){if(!t)return 0;var n=e(t).css("transition-duration"),i=e(t).css("transition-delay"),o=parseFloat(n),s=parseFloat(i);return o||s?(n=n.split(",")[0],i=i.split(",")[0],1e3*(parseFloat(n)+parseFloat(i))):0},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){e(t).trigger("transitionend")},supportsTransitionEnd:function(){return Boolean("transitionend")},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var o=n[i],s=e[i],r=s&&c.isElement(s)?"element":null===(a=s)||"undefined"==typeof a?""+a:{}.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(o).test(r))throw new Error(t.toUpperCase()+': Option "'+i+'" provided type "'+r+'" but expected type "'+o+'".')}var a},findShadowRoot:function(t){if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){var e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?c.findShadowRoot(t.parentNode):null},jQueryDetection:function(){if("undefined"==typeof e)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=e.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||t[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};c.jQueryDetection(),e.fn.emulateTransitionEnd=l,e.event.special[c.TRANSITION_END]={bindType:"transitionend",delegateType:"transitionend",handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}};var h="alert",u=e.fn[h],d=function(){function t(t){this._element=t}var n=t.prototype;return n.close=function(t){var e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},n.dispose=function(){e.removeData(this._element,"bs.alert"),this._element=null},n._getRootElement=function(t){var n=c.getSelectorFromElement(t),i=!1;return n&&(i=document.querySelector(n)),i||(i=e(t).closest(".alert")[0]),i},n._triggerCloseEvent=function(t){var n=e.Event("close.bs.alert");return e(t).trigger(n),n},n._removeElement=function(t){var n=this;if(e(t).removeClass("show"),e(t).hasClass("fade")){var i=c.getTransitionDurationFromElement(t);e(t).one(c.TRANSITION_END,(function(e){return n._destroyElement(t,e)})).emulateTransitionEnd(i)}else this._destroyElement(t)},n._destroyElement=function(t){e(t).detach().trigger("closed.bs.alert").remove()},t._jQueryInterface=function(n){return this.each((function(){var i=e(this),o=i.data("bs.alert");o||(o=new t(this),i.data("bs.alert",o)),"close"===n&&o[n](this)}))},t._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},o(t,null,[{key:"VERSION",get:function(){return"4.5.0"}}]),t}();e(document).on("click.bs.alert.data-api",'[data-dismiss="alert"]',d._handleDismiss(new d)),e.fn[h]=d._jQueryInterface,e.fn[h].Constructor=d,e.fn[h].noConflict=function(){return e.fn[h]=u,d._jQueryInterface};var f=e.fn.button,g=function(){function t(t){this._element=t}var n=Line truncated
|
||||||
|
//# sourceMappingURL=bootstrap.min.js.map
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"sources":["../../js/src/util.js","../../js/src/alert.js","../../js/src/button.js","../../js/src/carousel.js","../../js/src/collapse.js","../../js/src/dropdown.js","../../js/src/modal.js","../../js/src/tools/sanitizer.js","../../js/src/tooltip.js","../../js/src/popover.js","../../js/src/scrollspy.js","../../js/src/tab.js","../../js/src/toast.js"],"names":["transitionEndEmulator","duration","_this","this","called","$","one","Util","TRANSITION_END","setTimeout","triggerTransitionEnd","getUID","prefix","Math","random","document","getElementById","getSelectorFromElement","element","selector","getAttribute","hrefAttr","trim","querySelector","err","getTransitionDurationFromElement","transitionDuration","css","transitionDelay","floatTransitionDuration","parseFloat","floatTransitionDelay","split","reflow","offsetHeight","trigger","supportsTransitionEnd","Boolean","isElement","obj","nodeType","typeCheckConfig","componentName","config","configTypes","property","Object","prototype","hasOwnProperty","call","expectedTypes","value","valueType","toString","match","toLowerCase","RegExp","test","Error","toUpperCase","findShadowRoot","documentElement","attachShadow","getRootNode","root","ShadowRoot","parentNode","jQueryDetection","TypeError","version","fn","jquery","emulateTransitionEnd","event","special","bindType","delegateType","handle","target","is","handleObj","handler","apply","arguments","NAME","JQUERY_NO_CONFLICT","Alert","_element","close","rootElement","_getRootElement","_triggerCloseEvent","isDefaultPrevented","_removeElement","dispose","removeData","parent","closest","closeEvent","Event","removeClass","hasClass","_destroyElement","detach","remove","_jQueryInterface","each","$element","data","_handleDismiss","alertInstance","preventDefault","on","Constructor","noConflict","Button","toggle","triggerChangeEvent","addAriaPressed","input","type","checked","classList","contains","activeElement","focus","hasAttribute","setAttribute","toggleClass","button","initialButton","inputBtn","tagName","window","buttons","slice","querySelectorAll","i","len","length","add","EVENT_KEY","Default","interval","keyboard","slide","pause","wrap","touch","DefaultType","PointerType","TOUCH","PEN","Carousel","_items","_interval","_activeElement","_isPaused","_isSliding","touchTimeout","touchStartX","touchDeltaX","_config","_getConfig","_indicatorsElement","_touchSupported","navigator","maxTouchPoints","_pointerEvent","PointerEvent","MSPointerEvent","_addEventListeners","next","_slide","nextWhenVisible","hidden","prev","cycle","clearInterval","setInterval","visibilityState","bind","to","index","activeIndex","_getItemIndex","direction","off","_objectSpread2","_handleSwipe","absDeltax","abs","_this2","_keydown","_addTouchEventListeners","_this3","start","originalEvent","pointerType","clientX","touches","end","clearTimeout","e","move","which","indexOf","_getItemByDirection","isNextDirection","isPrevDirection","lastItemIndex","itemIndex","_triggerSlideEvent","relatedTarget","eventDirectionName","targetIndex","fromIndex","slideEvent","from","_setActiveIndicatorElement","indicators","nextIndicator","children","addClass","directionalClassName","orderClassName","_this4","activeElementIndex","nextElement","nextElementIndex","isCycling","slidEvent","nextElementInterval","parseInt","defaultInterval","CLASS_NAME_ACTIVE","action","ride","_dataApiClickHandler","slideIndex","carousels","$carousel","Collapse","_isTransitioning","_triggerArray","id","toggleList","elem","filterElement","filter","foundElem","_selector","push","_parent","_getParent","_addAriaAndCollapsedClass","hide","show","actives","activesData","not","startEvent","dimension","_getDimension","style","attr","setTransitioning","scrollSize","CLASS_NAME_COLLAPSE","getBoundingClientRect","triggerArrayLength","isTransitioning","_getTargetFromElement","triggerArray","isOpen","$this","currentTarget","$trigger","selectors","$target","REGEXP_KEYDOWN","ARROW_UP_KEYCODE","offset","flip","boundary","reference","display","popperConfig","Dropdown","_popper","_menu","_getMenuElement","_inNavbar","_detectNavbar","disabled","isActive","_clearMenus","usePopper","showEvent","_getParentFromElement","Popper","referenceElement","_getPopperConfig","body","noop","hideEvent","destroy","update","scheduleUpdate","stopPropagation","constructor","_getPlacement","$parentDropdown","placement","_getOffset","offsets","modifiers","enabled","preventOverflow","boundariesElement","applyStyle","toggles","context","clickEvent","dropdownMenu","_dataApiKeydownHandler","items","item","EVENT_CLICK_DATA_API","backdrop","Modal","_dialog","_backdrop","_isShown","_isBodyOverflowing","_ignoreBackdropClick","_scrollbarWidth","_checkScrollbar","_setScrollbar","_adjustDialog","_setEscapeEvent","_setResizeEvent","_showBackdrop","_showElement","transition","_hideModal","forEach","htmlElement","handleUpdate","_triggerBackdropTransition","hideEventPrevented","defaultPrevented","modalTransitionDuration","modalBody","Node","ELEMENT_NODELine truncated
|
||||||
@@ -0,0 +1,386 @@
|
|||||||
|
@-webkit-keyframes spin
|
||||||
|
{
|
||||||
|
0%
|
||||||
|
{
|
||||||
|
-webkit-transform: rotate(0);
|
||||||
|
transform: rotate(0);
|
||||||
|
}
|
||||||
|
100%
|
||||||
|
{
|
||||||
|
-webkit-transform: rotate(359deg);
|
||||||
|
transform: rotate(359deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@keyframes spin
|
||||||
|
{
|
||||||
|
0%
|
||||||
|
{
|
||||||
|
-webkit-transform: rotate(0);
|
||||||
|
transform: rotate(0);
|
||||||
|
}
|
||||||
|
100%
|
||||||
|
{
|
||||||
|
-webkit-transform: rotate(359deg);
|
||||||
|
transform: rotate(359deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@-webkit-keyframes burst
|
||||||
|
{
|
||||||
|
0%
|
||||||
|
{
|
||||||
|
-webkit-transform: scale(1);
|
||||||
|
transform: scale(1);
|
||||||
|
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
90%
|
||||||
|
{
|
||||||
|
-webkit-transform: scale(1.5);
|
||||||
|
transform: scale(1.5);
|
||||||
|
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@keyframes burst
|
||||||
|
{
|
||||||
|
0%
|
||||||
|
{
|
||||||
|
-webkit-transform: scale(1);
|
||||||
|
transform: scale(1);
|
||||||
|
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
90%
|
||||||
|
{
|
||||||
|
-webkit-transform: scale(1.5);
|
||||||
|
transform: scale(1.5);
|
||||||
|
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@-webkit-keyframes flashing
|
||||||
|
{
|
||||||
|
0%
|
||||||
|
{
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
45%
|
||||||
|
{
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
90%
|
||||||
|
{
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@keyframes flashing
|
||||||
|
{
|
||||||
|
0%
|
||||||
|
{
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
45%
|
||||||
|
{
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
90%
|
||||||
|
{
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@-webkit-keyframes fade-left
|
||||||
|
{
|
||||||
|
0%
|
||||||
|
{
|
||||||
|
-webkit-transform: translateX(0);
|
||||||
|
transform: translateX(0);
|
||||||
|
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
75%
|
||||||
|
{
|
||||||
|
-webkit-transform: translateX(-20px);
|
||||||
|
transform: translateX(-20px);
|
||||||
|
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@keyframes fade-left
|
||||||
|
{
|
||||||
|
0%
|
||||||
|
{
|
||||||
|
-webkit-transform: translateX(0);
|
||||||
|
transform: translateX(0);
|
||||||
|
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
75%
|
||||||
|
{
|
||||||
|
-webkit-transform: translateX(-20px);
|
||||||
|
transform: translateX(-20px);
|
||||||
|
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@-webkit-keyframes fade-right
|
||||||
|
{
|
||||||
|
0%
|
||||||
|
{
|
||||||
|
-webkit-transform: translateX(0);
|
||||||
|
transform: translateX(0);
|
||||||
|
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
75%
|
||||||
|
{
|
||||||
|
-webkit-transform: translateX(20px);
|
||||||
|
transform: translateX(20px);
|
||||||
|
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@keyframes fade-right
|
||||||
|
{
|
||||||
|
0%
|
||||||
|
{
|
||||||
|
-webkit-transform: translateX(0);
|
||||||
|
transform: translateX(0);
|
||||||
|
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
75%
|
||||||
|
{
|
||||||
|
-webkit-transform: translateX(20px);
|
||||||
|
transform: translateX(20px);
|
||||||
|
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@-webkit-keyframes fade-up
|
||||||
|
{
|
||||||
|
0%
|
||||||
|
{
|
||||||
|
-webkit-transform: translateY(0);
|
||||||
|
transform: translateY(0);
|
||||||
|
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
75%
|
||||||
|
{
|
||||||
|
-webkit-transform: translateY(-20px);
|
||||||
|
transform: translateY(-20px);
|
||||||
|
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@keyframes fade-up
|
||||||
|
{
|
||||||
|
0%
|
||||||
|
{
|
||||||
|
-webkit-transform: translateY(0);
|
||||||
|
transform: translateY(0);
|
||||||
|
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
75%
|
||||||
|
{
|
||||||
|
-webkit-transform: translateY(-20px);
|
||||||
|
transform: translateY(-20px);
|
||||||
|
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@-webkit-keyframes fade-down
|
||||||
|
{
|
||||||
|
0%
|
||||||
|
{
|
||||||
|
-webkit-transform: translateY(0);
|
||||||
|
transform: translateY(0);
|
||||||
|
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
75%
|
||||||
|
{
|
||||||
|
-webkit-transform: translateY(20px);
|
||||||
|
transform: translateY(20px);
|
||||||
|
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@keyframes fade-down
|
||||||
|
{
|
||||||
|
0%
|
||||||
|
{
|
||||||
|
-webkit-transform: translateY(0);
|
||||||
|
transform: translateY(0);
|
||||||
|
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
75%
|
||||||
|
{
|
||||||
|
-webkit-transform: translateY(20px);
|
||||||
|
transform: translateY(20px);
|
||||||
|
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@-webkit-keyframes tada
|
||||||
|
{
|
||||||
|
from
|
||||||
|
{
|
||||||
|
-webkit-transform: scale3d(1, 1, 1);
|
||||||
|
transform: scale3d(1, 1, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
10%,
|
||||||
|
20%
|
||||||
|
{
|
||||||
|
-webkit-transform: scale3d(.95, .95, .95) rotate3d(0, 0, 1, -10deg);
|
||||||
|
transform: scale3d(.95, .95, .95) rotate3d(0, 0, 1, -10deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
30%,
|
||||||
|
50%,
|
||||||
|
70%,
|
||||||
|
90%
|
||||||
|
{
|
||||||
|
-webkit-transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, 10deg);
|
||||||
|
transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, 10deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
40%,
|
||||||
|
60%,
|
||||||
|
80%
|
||||||
|
{
|
||||||
|
-webkit-transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, -10deg);
|
||||||
|
transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, -10deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
to
|
||||||
|
{
|
||||||
|
-webkit-transform: scale3d(1, 1, 1);
|
||||||
|
transform: scale3d(1, 1, 1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes tada
|
||||||
|
{
|
||||||
|
from
|
||||||
|
{
|
||||||
|
-webkit-transform: scale3d(1, 1, 1);
|
||||||
|
transform: scale3d(1, 1, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
10%,
|
||||||
|
20%
|
||||||
|
{
|
||||||
|
-webkit-transform: scale3d(.95, .95, .95) rotate3d(0, 0, 1, -10deg);
|
||||||
|
transform: scale3d(.95, .95, .95) rotate3d(0, 0, 1, -10deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
30%,
|
||||||
|
50%,
|
||||||
|
70%,
|
||||||
|
90%
|
||||||
|
{
|
||||||
|
-webkit-transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, 10deg);
|
||||||
|
transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, 10deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
40%,
|
||||||
|
60%,
|
||||||
|
80%
|
||||||
|
{
|
||||||
|
-webkit-transform: rotate3d(0, 0, 1, -10deg);
|
||||||
|
transform: rotate3d(0, 0, 1, -10deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
to
|
||||||
|
{
|
||||||
|
-webkit-transform: scale3d(1, 1, 1);
|
||||||
|
transform: scale3d(1, 1, 1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.bx-spin
|
||||||
|
{
|
||||||
|
-webkit-animation: spin 2s linear infinite;
|
||||||
|
animation: spin 2s linear infinite;
|
||||||
|
}
|
||||||
|
.bx-spin-hover:hover
|
||||||
|
{
|
||||||
|
-webkit-animation: spin 2s linear infinite;
|
||||||
|
animation: spin 2s linear infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bx-tada
|
||||||
|
{
|
||||||
|
-webkit-animation: tada 1.5s ease infinite;
|
||||||
|
animation: tada 1.5s ease infinite;
|
||||||
|
}
|
||||||
|
.bx-tada-hover:hover
|
||||||
|
{
|
||||||
|
-webkit-animation: tada 1.5s ease infinite;
|
||||||
|
animation: tada 1.5s ease infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bx-flashing
|
||||||
|
{
|
||||||
|
-webkit-animation: flashing 1.5s infinite linear;
|
||||||
|
animation: flashing 1.5s infinite linear;
|
||||||
|
}
|
||||||
|
.bx-flashing-hover:hover
|
||||||
|
{
|
||||||
|
-webkit-animation: flashing 1.5s infinite linear;
|
||||||
|
animation: flashing 1.5s infinite linear;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bx-burst
|
||||||
|
{
|
||||||
|
-webkit-animation: burst 1.5s infinite linear;
|
||||||
|
animation: burst 1.5s infinite linear;
|
||||||
|
}
|
||||||
|
.bx-burst-hover:hover
|
||||||
|
{
|
||||||
|
-webkit-animation: burst 1.5s infinite linear;
|
||||||
|
animation: burst 1.5s infinite linear;
|
||||||
|
}
|
||||||
|
.bx-fade-up
|
||||||
|
{
|
||||||
|
-webkit-animation: fade-up 1.5s infinite linear;
|
||||||
|
animation: fade-up 1.5s infinite linear;
|
||||||
|
}
|
||||||
|
.bx-fade-up-hover:hover
|
||||||
|
{
|
||||||
|
-webkit-animation: fade-up 1.5s infinite linear;
|
||||||
|
animation: fade-up 1.5s infinite linear;
|
||||||
|
}
|
||||||
|
.bx-fade-down
|
||||||
|
{
|
||||||
|
-webkit-animation: fade-down 1.5s infinite linear;
|
||||||
|
animation: fade-down 1.5s infinite linear;
|
||||||
|
}
|
||||||
|
.bx-fade-down-hover:hover
|
||||||
|
{
|
||||||
|
-webkit-animation: fade-down 1.5s infinite linear;
|
||||||
|
animation: fade-down 1.5s infinite linear;
|
||||||
|
}
|
||||||
|
.bx-fade-left
|
||||||
|
{
|
||||||
|
-webkit-animation: fade-left 1.5s infinite linear;
|
||||||
|
animation: fade-left 1.5s infinite linear;
|
||||||
|
}
|
||||||
|
.bx-fade-left-hover:hover
|
||||||
|
{
|
||||||
|
-webkit-animation: fade-left 1.5s infinite linear;
|
||||||
|
animation: fade-left 1.5s infinite linear;
|
||||||
|
}
|
||||||
|
.bx-fade-right
|
||||||
|
{
|
||||||
|
-webkit-animation: fade-right 1.5s infinite linear;
|
||||||
|
animation: fade-right 1.5s infinite linear;
|
||||||
|
}
|
||||||
|
.bx-fade-right-hover:hover
|
||||||
|
{
|
||||||
|
-webkit-animation: fade-right 1.5s infinite linear;
|
||||||
|
animation: fade-right 1.5s infinite linear;
|
||||||
|
}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
@font-face{font-family:'boxicons';font-weight:normal;font-style:normal;src:url('../fonts/boxicons.eot');src:url('../fonts/boxicons.eot') format('embedded-opentype'),url('../fonts/boxicons.woff2') format('woff2'),url('../fonts/boxicons.woff') format('woff'),url('../fonts/boxicons.ttf') format('truetype'),url('../fonts/boxicons.svg?#boxicons') format('svg')}.bx{font-family:'boxicons'!important;font-weight:normal;font-style:normal;font-variant:normal;line-height:1;display:inline-block;text-transform:none;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.bx-ul{margin-left:2em;padding-left:0;list-style:none}.bx-ul>li{position:relative}.bx-ul .bx{font-size:inherit;line-height:inherit;position:absolute;left:-2em;width:2em;text-align:center}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@-webkit-keyframes burst{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}90%{-webkit-transform:scale(1.5);transform:scale(1.5);opacity:0}}@keyframes burst{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}90%{-webkit-transform:scale(1.5);transform:scale(1.5);opacity:0}}@-webkit-keyframes flashing{0%{opacity:1}45%{opacity:0}90%{opacity:1}}@keyframes flashing{0%{opacity:1}45%{opacity:0}90%{opacity:1}}@-webkit-keyframes fade-left{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}75%{-webkit-transform:translateX(-20px);transform:translateX(-20px);opacity:0}}@keyframes fade-left{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}75%{-webkit-transform:translateX(-20px);transform:translateX(-20px);opacity:0}}@-webkit-keyframes fade-right{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}75%{-webkit-transform:translateX(20px);transform:translateX(20px);opacity:0}}@keyframes fade-right{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}75%{-webkit-transform:translateX(20px);transform:translateX(20px);opacity:0}}@-webkit-keyframes fade-up{0%{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}75%{-webkit-transform:translateY(-20px);transform:translateY(-20px);opacity:0}}@keyframes fade-up{0%{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}75%{-webkit-transform:translateY(-20px);transform:translateY(-20px);opacity:0}}@-webkit-keyframes fade-down{0%{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}75%{-webkit-transform:translateY(20px);transform:translateY(20px);opacity:0}}@keyframes fade-down{0%{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}75%{-webkit-transform:translateY(20px);transform:translateY(20px);opacity:0}}@-webkit-keyframes tada{from{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}10%,20%{-webkit-transform:scale3d(.95,.95,.95) rotate3d(0,0,1,-10deg);transform:scale3d(.95,.95,.95) rotate3d(0,0,1,-10deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1,1,1) rotate3d(0,0,1,10deg);transform:scale3d(1,1,1) rotate3d(0,0,1,10deg)}40%,60%,80%{-webkit-transform:scale3d(1,1,1) rotate3d(0,0,1,-10deg);transform:scale3d(1,1,1) rotate3d(0,0,1,-10deg)}to{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}@keyframes tada{from{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}10%,20%{-webkit-transform:scale3d(.95,.95,.95) rotate3d(0,0,1,-10deg);transform:scale3d(.95,.95,.95) rotate3d(0,0,1,-10deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1,1,1) rotate3d(0,0,1,10deg);transform:scale3d(1,1,1) rotate3d(0,0,1,10deg)}40%,60%,80%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}to{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}.bx-spin{-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}.bx-spin-hover:hover{-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}.bx-tada{-webkit-animation:tada 1.5s ease infinite;animation:tada 1.5s ease infinite}.bx-tada-hover:hover{-webkit-animation:tada 1.5s ease infinite;animation:tada 1.5s ease infinite}.bx-flashing{-webkit-animation:flashing 1.5s infinite linear;animation:flashing 1.5s infinite linear}.bx-flashing-hover:hover{-webkit-animation:flashing 1.5s infinite linear;animation:flashing 1.5s infinite linear}.bx-burst{-webkit-animation:burst 1.5s infinite linear;animation:burst 1.5s infinite linear}.bx-burst-hover:hover{-webkit-animation:burst 1.5s infinite linear;animation:burst 1.5s infinite linear}.bx-fade-up{-webkit-animation:fade-up 1.5s infinite linear;animation:fade-up 1.5s infinite linear}.bx-fade-up-hover:hover{-webkit-animation:fade-up 1.5s infinite linear;animation:fade-up 1.5s infinite linear}.bx-fade-down{-webkit-animation:fade-down 1.5s infinite linear;animation:fade-down 1.5s infinite linear}.bx-fade-down-hover:hover{-webkit-animation:fade-down 1.5s infinite linear;animation:fade-down 1.Line truncated
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
.bx-rotate-90
|
||||||
|
{
|
||||||
|
transform: rotate(90deg);
|
||||||
|
|
||||||
|
-ms-filter: 'progid:DXImageTransform.Microsoft.BasicImage(rotation=1)';
|
||||||
|
}
|
||||||
|
.bx-rotate-180
|
||||||
|
{
|
||||||
|
transform: rotate(180deg);
|
||||||
|
|
||||||
|
-ms-filter: 'progid:DXImageTransform.Microsoft.BasicImage(rotation=2)';
|
||||||
|
}
|
||||||
|
.bx-rotate-270
|
||||||
|
{
|
||||||
|
transform: rotate(270deg);
|
||||||
|
|
||||||
|
-ms-filter: 'progid:DXImageTransform.Microsoft.BasicImage(rotation=3)';
|
||||||
|
}
|
||||||
|
.bx-flip-horizontal
|
||||||
|
{
|
||||||
|
transform: scaleX(-1);
|
||||||
|
|
||||||
|
-ms-filter: 'progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)';
|
||||||
|
}
|
||||||
|
.bx-flip-vertical
|
||||||
|
{
|
||||||
|
transform: scaleY(-1);
|
||||||
|
|
||||||
|
-ms-filter: 'progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)';
|
||||||
|
}
|
||||||
|
After Width: | Height: | Size: 912 KiB |
@@ -0,0 +1,11 @@
|
|||||||
|
/*!
|
||||||
|
* jquery.counterup.js 2.1.0
|
||||||
|
*
|
||||||
|
* Copyright 2013, Benjamin Intal http://gambit.ph @bfintal
|
||||||
|
* Released under the GPL v2 License
|
||||||
|
*
|
||||||
|
* Amended by Jeremy Paris, Ciro Mattia Gonano and others
|
||||||
|
*
|
||||||
|
* Date: Feb 24, 2017
|
||||||
|
*/
|
||||||
|
(function($){"use strict";$.fn.counterUp=function(options){var settings=$.extend({time:400,delay:10,offset:100,beginAt:0,formatter:false,context:"window",callback:function(){}},options),s;return this.each(function(){var $this=$(this),counter={time:$(this).data("counterup-time")||settings.time,delay:$(this).data("counterup-delay")||settings.delay,offset:$(this).data("counterup-offset")||settings.offset,beginAt:$(this).data("counterup-beginat")||settings.beginAt,context:$(this).data("counterup-context")||settings.context};var counterUpper=function(){var nums=[];var divisions=counter.time/counter.delay;var num=$(this).attr("data-num")?$(this).attr("data-num"):$this.text();var isComma=/[0-9]+,[0-9]+/.test(num);num=num.replace(/,/g,"");var decimalPlaces=(num.split(".")[1]||[]).length;if(counter.beginAt>num)counter.beginAt=num;var isTime=/[0-9]+:[0-9]+:[0-9]+/.test(num);if(isTime){var times=num.split(":"),m=1;s=0;while(times.length>0){s+=m*parseInt(times.pop(),10);m*=60}}for(var i=divisions;i>=counter.beginAt/num*divisions;i--){var newNum=parseFloat(num/divisions*i).toFixed(decimalPlaces);if(isTime){newNum=parseInt(s/divisions*i);var hours=parseInt(newNum/3600)%24;var minutes=parseInt(newNum/60)%60;var seconds=parseInt(newNum%60,10);newNum=(hours<10?"0"+hours:hours)+":"+(minutes<10?"0"+minutes:minutes)+":"+(seconds<10?"0"+seconds:seconds)}if(isComma){while(/(\d+)(\d{3})/.test(newNum.toString())){newNum=newNum.toString().replace(/(\d+)(\d{3})/,"$1"+","+"$2")}}if(settings.formatter){newNum=settings.formatter.call(this,newNum)}nums.unshift(newNum)}$this.data("counterup-nums",nums);$this.text(counter.beginAt);var f=function(){if(!$this.data("counterup-nums")){settings.callback.call(this);return}$this.html($this.data("counterup-nums").shift());if($this.data("counterup-nums").length){setTimeout($this.data("counterup-func"),counter.delay)}else{$this.data("counterup-nums",null);$this.data("counterup-func",null);settings.callback.call(this)}};$this.data("counterup-func",f);setTimeout($this.data("counterup-func"),counter.delay)};$this.waypoint(function(direction){counterUpper();this.destroy()},{offset:counter.offset+"%",context:counter.context})})}})(jQuery);
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
/*!
|
||||||
|
* @package IcoFont
|
||||||
|
* @version 1.0.1
|
||||||
|
* @author IcoFont https://icofont.com
|
||||||
|
* @copyright Copyright (c) 2015 - 2018 IcoFont
|
||||||
|
* @license - https://icofont.com/license/
|
||||||
|
*/@font-face{font-family:IcoFont;font-weight:400;font-style:Regular;src:url(fonts/icofont.woff2) format("woff2"),url(fonts/icofont.woff) format("woff")}[class*=" icofont-"],[class^=icofont-]{font-family:IcoFont!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;white-space:nowrap;word-wrap:normal;direction:ltr;line-height:1;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased}.icofont-angry-monster:before{content:"\e800"}.icofont-bathtub:before{content:"\e801"}.icofont-bird-wings:before{content:"\e802"}.icofont-bow:before{content:"\e803"}.icofont-castle:before{content:"\e804"}.icofont-circuit:before{content:"\e805"}.icofont-crown-king:before{content:"\e806"}.icofont-crown-queen:before{content:"\e807"}.icofont-dart:before{content:"\e808"}.icofont-disability-race:before{content:"\e809"}.icofont-diving-goggle:before{content:"\e80a"}.icofont-eye-open:before{content:"\e80b"}.icofont-flora-flower:before{content:"\e80c"}.icofont-flora:before{content:"\e80d"}.icofont-gift-box:before{content:"\e80e"}.icofont-halloween-pumpkin:before{content:"\e80f"}.icofont-hand-power:before{content:"\e810"}.icofont-hand-thunder:before{content:"\e811"}.icofont-king-monster:before{content:"\e812"}.icofont-love:before{content:"\e813"}.icofont-magician-hat:before{content:"\e814"}.icofont-native-american:before{content:"\e815"}.icofont-owl-look:before{content:"\e816"}.icofont-phoenix:before{content:"\e817"}.icofont-robot-face:before{content:"\e818"}.icofont-sand-clock:before{content:"\e819"}.icofont-shield-alt:before{content:"\e81a"}.icofont-ship-wheel:before{content:"\e81b"}.icofont-skull-danger:before{content:"\e81c"}.icofont-skull-face:before{content:"\e81d"}.icofont-snowmobile:before{content:"\e81e"}.icofont-space-shuttle:before{content:"\e81f"}.icofont-star-shape:before{content:"\e820"}.icofont-swirl:before{content:"\e821"}.icofont-tattoo-wing:before{content:"\e822"}.icofont-throne:before{content:"\e823"}.icofont-tree-alt:before{content:"\e824"}.icofont-triangle:before{content:"\e825"}.icofont-unity-hand:before{content:"\e826"}.icofont-weed:before{content:"\e827"}.icofont-woman-bird:before{content:"\e828"}.icofont-bat:before{content:"\e829"}.icofont-bear-face:before{content:"\e82a"}.icofont-bear-tracks:before{content:"\e82b"}.icofont-bear:before{content:"\e82c"}.icofont-bird-alt:before{content:"\e82d"}.icofont-bird-flying:before{content:"\e82e"}.icofont-bird:before{content:"\e82f"}.icofont-birds:before{content:"\e830"}.icofont-bone:before{content:"\e831"}.icofont-bull:before{content:"\e832"}.icofont-butterfly-alt:before{content:"\e833"}.icofont-butterfly:before{content:"\e834"}.icofont-camel-alt:before{content:"\e835"}.icofont-camel-head:before{content:"\e836"}.icofont-camel:before{content:"\e837"}.icofont-cat-alt-1:before{content:"\e838"}.icofont-cat-alt-2:before{content:"\e839"}.icofont-cat-alt-3:before{content:"\e83a"}.icofont-cat-dog:before{content:"\e83b"}.icofont-cat-face:before{content:"\e83c"}.icofont-cat:before{content:"\e83d"}.icofont-cow-head:before{content:"\e83e"}.icofont-cow:before{content:"\e83f"}.icofont-crab:before{content:"\e840"}.icofont-crocodile:before{content:"\e841"}.icofont-deer-head:before{content:"\e842"}.icofont-dog-alt:before{content:"\e843"}.icofont-dog-barking:before{content:"\e844"}.icofont-dog:before{content:"\e845"}.icofont-dolphin:before{content:"\e846"}.icofont-duck-tracks:before{content:"\e847"}.icofont-eagle-head:before{content:"\e848"}.icofont-eaten-fish:before{content:"\e849"}.icofont-elephant-alt:before{content:"\e84a"}.icofont-elephant-head-alt:before{content:"\e84b"}.icofont-elephant-head:before{content:"\e84c"}.icofont-elephant:before{content:"\e84d"}.icofont-elk:before{content:"\e84e"}.icofont-fish-1:before{content:"\e84f"}.icofont-fish-2:before{content:"\e850"}.icofont-fish-3:before{content:"\e851"}.icofont-fish-4:before{content:"\e852"}.icofont-fish-5:before{content:"\e853"}.icofont-fish:before{content:"\e854"}.icofont-fox-alt:before{content:"\e855"}.icofont-fox:before{content:"\e856"}.icofont-frog-tracks:before{content:"\e857"}.icofont-frog:before{content:"\e858"}.icofont-froggy:before{content:"\e859"}.icofont-giraffe-head-1:before{content:"\e85a"}.icofont-giraffe-head-2:before{content:"\e85b"}.icofont-giraffe-head:before{content:"\e85c"}.icofont-giraffe:before{content:"\e85d"}.icofont-goat-head:before{content:"\e85e"}.icofont-gorilla:before{content:"\e85f"}.icofont-hen-tracks:before{content:"\e860"}.icofont-horse-head-1:before{content:"\e861"}.icofont-horse-head-2:before{content:"\e862"}.icofont-horse-head:before{content:"\e863"}.icofont-horse-tracks:before{content:"\e864"}.icofont-jellyfish:before{content:"\e865"}.icofont-kangaroo:before{content:"\e866"}.icofont-lemur:before{content:"\e867"}.icofont-lion-head-1:before{content:"\e868"}.icofont-lion-head-2:before{content:"\e869"}.icofont-lion-head:before{content:"\e86a"}.icofont-lion:before{content:"\e86b"}.icofont-monkey-2:before{content:"\e86c"}.icofont-monkey-3:before{cLine truncated
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
/*!
|
||||||
|
* Isotope PACKAGED v3.0.6
|
||||||
|
*
|
||||||
|
* Licensed GPLv3 for open source use
|
||||||
|
* or Isotope Commercial License for commercial use
|
||||||
|
*
|
||||||
|
* https://isotope.metafizzy.co
|
||||||
|
* Copyright 2010-2018 Metafizzy
|
||||||
|
*/
|
||||||
|
|
||||||
|
!function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){"use strict";function i(i,s,a){function u(t,e,o){var n,s="$()."+i+'("'+e+'")';return t.each(function(t,u){var h=a.data(u,i);if(!h)return void r(i+" not initialized. Cannot call methods, i.e. "+s);var d=h[e];if(!d||"_"==e.charAt(0))return void r(s+" is not a valid method");var l=d.apply(h,o);n=void 0===n?l:n}),void 0!==n?n:t}function h(t,e){t.each(function(t,o){var n=a.data(o,i);n?(n.option(e),n._init()):(n=new s(o,e),a.data(o,i,n))})}a=a||e||t.jQuery,a&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){if("string"==typeof t){var e=n.call(arguments,1);return u(this,t,e)}return h(this,t),this},o(a))}function o(t){!t||t&&t.bridget||(t.bridget=i)}var n=Array.prototype.slice,s=t.console,r="undefined"==typeof s?function(){}:function(t){s.error(t)};return o(e||t.jQuery),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},o=i[t]=i[t]||[];return o.indexOf(e)==-1&&o.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{},o=i[t]=i[t]||{};return o[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var o=i.indexOf(e);return o!=-1&&i.splice(o,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var o=this._onceEvents&&this._onceEvents[t],n=0;n<i.length;n++){var s=i[n],r=o&&o[s];r&&(this.off(t,s),delete o[s]),s.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(t,e){"function"==typeof define&&define.amd?define("get-size/get-size",e):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function t(t){var e=parseFloat(t),i=t.indexOf("%")==-1&&!isNaN(e);return i&&e}function e(){}function i(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<h;e++){var i=u[e];t[i]=0}return t}function o(t){var e=getComputedStyle(t);return e||a("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),e}function n(){if(!d){d=!0;var e=document.createElement("div");e.style.width="200px",e.style.padding="1px 2px 3px 4px",e.style.borderStyle="solid",e.style.borderWidth="1px 2px 3px 4px",e.style.boxSizing="border-box";var i=document.body||document.documentElement;i.appendChild(e);var n=o(e);r=200==Math.round(t(n.width)),s.isBoxSizeOuter=r,i.removeChild(e)}}function s(e){if(n(),"string"==typeof e&&(e=document.querySelector(e)),e&&"object"==typeof e&&e.nodeType){var s=o(e);if("none"==s.display)return i();var a={};a.width=e.offsetWidth,a.height=e.offsetHeight;for(var d=a.isBorderBox="border-box"==s.boxSizing,l=0;l<h;l++){var f=u[l],c=s[f],m=parseFloat(c);a[f]=isNaN(m)?0:m}var p=a.paddingLeft+a.paddingRight,y=a.paddingTop+a.paddingBottom,g=a.marginLeft+a.marginRight,v=a.marginTop+a.marginBottom,_=a.borderLeftWidth+a.borderRightWidth,z=a.borderTopWidth+a.borderBottomWidth,I=d&&r,x=t(s.width);x!==!1&&(a.width=x+(I?0:p+_));var S=t(s.height);return S!==!1&&(a.height=S+(I?0:y+z)),a.innerWidth=a.width-(p+_),a.innerHeight=a.height-(y+z),a.outerWidth=a.width+g,a.outerHeight=a.height+v,a}}var r,a="undefined"==typeof console?e:function(t){console.error(t)},u=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],h=u.length,d=!1;return s}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var t=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var o=e[i],n=o+"MatchesSelector";if(t[n])return n}}();return function(e,i){return e[t](i)}}),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.matchesSelector)}(window,function(t,e){var i={};i.extend=function(t,e){for(var i in e)t[i]=e[i];return t},i.modulo=function(t,e){return(t%e+e)%e};var o=Array.prototype.slice;i.makeArray=function(Line truncated
|
||||||
|
}:"function"==typeof t?function(e){return t(e.element)}:function(e){return o(e.element,t)}},l.updateSortData=function(t){var e;t?(t=n.makeArray(t),e=this.getItems(t)):e=this.items,this._getSorters(),this._updateItemsSortData(e)},l._getSorters=function(){var t=this.options.getSortData;for(var e in t){var i=t[e];this._sorters[e]=f(i)}},l._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&i<e;i++){var o=t[i];o.updateSortData()}};var f=function(){function t(t){if("string"!=typeof t)return t;var i=h(t).split(" "),o=i[0],n=o.match(/^\[(.+)\]$/),s=n&&n[1],r=e(s,o),a=d.sortDataParsers[i[1]];return t=a?function(t){return t&&a(r(t))}:function(t){return t&&r(t)}}function e(t,e){return t?function(e){return e.getAttribute(t)}:function(t){var i=t.querySelector(e);return i&&i.textContent}}return t}();d.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},l._sort=function(){if(this.options.sortBy){var t=n.makeArray(this.options.sortBy);this._getIsSameSortBy(t)||(this.sortHistory=t.concat(this.sortHistory));var e=a(this.sortHistory,this.options.sortAscending);this.filteredItems.sort(e)}},l._getIsSameSortBy=function(t){for(var e=0;e<t.length;e++)if(t[e]!=this.sortHistory[e])return!1;return!0},l._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw new Error("No layout mode: "+t);return e.options=this.options[t],e},l._resetLayout=function(){e.prototype._resetLayout.call(this),this._mode()._resetLayout()},l._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},l._manageStamp=function(t){this._mode()._manageStamp(t)},l._getContainerSize=function(){return this._mode()._getContainerSize()},l.needsResizeLayout=function(){return this._mode().needsResizeLayout()},l.appended=function(t){var e=this.addItems(t);if(e.length){var i=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(i)}},l.prepended=function(t){var e=this._itemize(t);if(e.length){this._resetLayout(),this._manageStamps();var i=this._filterRevealAdded(e);this.layoutItems(this.filteredItems),this.filteredItems=i.concat(this.filteredItems),this.items=e.concat(this.items)}},l._filterRevealAdded=function(t){var e=this._filter(t);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},l.insert=function(t){var e=this.addItems(t);if(e.length){var i,o,n=e.length;for(i=0;i<n;i++)o=e[i],this.element.appendChild(o.element);var s=this._filter(e).matches;for(i=0;i<n;i++)e[i].isLayoutInstant=!0;for(this.arrange(),i=0;i<n;i++)delete e[i].isLayoutInstant;this.reveal(s)}};var c=l.remove;return l.remove=function(t){t=n.makeArray(t);var e=this.getItems(t);c.call(this,t);for(var i=e&&e.length,o=0;i&&o<i;o++){var s=e[o];n.removeFrom(this.filteredItems,s)}},l.shuffle=function(){for(var t=0;t<this.items.length;t++){var e=this.items[t];e.sortData.random=Math.random()}this.options.sortBy="random",this._sort(),this._layout()},l._noTransition=function(t,e){var i=this.options.transitionDuration;this.options.transitionDuration=0;var o=t.apply(this,e);return this.options.transitionDuration=i,o},l.getFilteredItemElements=function(){return this.filteredItems.map(function(t){return t.element})},d});
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
(function(factory){if(typeof define==="function"&&define.amd){define(["jquery"],function($){return factory($)})}else if(typeof module==="object"&&typeof module.exports==="object"){exports=factory(require("jquery"))}else{factory(jQuery)}})(function($){$.easing.jswing=$.easing.swing;var pow=Math.pow,sqrt=Math.sqrt,sin=Math.sin,cos=Math.cos,PI=Math.PI,c1=1.70158,c2=c1*1.525,c3=c1+1,c4=2*PI/3,c5=2*PI/4.5;function bounceOut(x){var n1=7.5625,d1=2.75;if(x<1/d1){return n1*x*x}else if(x<2/d1){return n1*(x-=1.5/d1)*x+.75}else if(x<2.5/d1){return n1*(x-=2.25/d1)*x+.9375}else{return n1*(x-=2.625/d1)*x+.984375}}$.extend($.easing,{def:"easeOutQuad",swing:function(x){return $.easing[$.easing.def](x)},easeInQuad:function(x){return x*x},easeOutQuad:function(x){return 1-(1-x)*(1-x)},easeInOutQuad:function(x){return x<.5?2*x*x:1-pow(-2*x+2,2)/2},easeInCubic:function(x){return x*x*x},easeOutCubic:function(x){return 1-pow(1-x,3)},easeInOutCubic:function(x){return x<.5?4*x*x*x:1-pow(-2*x+2,3)/2},easeInQuart:function(x){return x*x*x*x},easeOutQuart:function(x){return 1-pow(1-x,4)},easeInOutQuart:function(x){return x<.5?8*x*x*x*x:1-pow(-2*x+2,4)/2},easeInQuint:function(x){return x*x*x*x*x},easeOutQuint:function(x){return 1-pow(1-x,5)},easeInOutQuint:function(x){return x<.5?16*x*x*x*x*x:1-pow(-2*x+2,5)/2},easeInSine:function(x){return 1-cos(x*PI/2)},easeOutSine:function(x){return sin(x*PI/2)},easeInOutSine:function(x){return-(cos(PI*x)-1)/2},easeInExpo:function(x){return x===0?0:pow(2,10*x-10)},easeOutExpo:function(x){return x===1?1:1-pow(2,-10*x)},easeInOutExpo:function(x){return x===0?0:x===1?1:x<.5?pow(2,20*x-10)/2:(2-pow(2,-20*x+10))/2},easeInCirc:function(x){return 1-sqrt(1-pow(x,2))},easeOutCirc:function(x){return sqrt(1-pow(x-1,2))},easeInOutCirc:function(x){return x<.5?(1-sqrt(1-pow(2*x,2)))/2:(sqrt(1-pow(-2*x+2,2))+1)/2},easeInElastic:function(x){return x===0?0:x===1?1:-pow(2,10*x-10)*sin((x*10-10.75)*c4)},easeOutElastic:function(x){return x===0?0:x===1?1:pow(2,-10*x)*sin((x*10-.75)*c4)+1},easeInOutElastic:function(x){return x===0?0:x===1?1:x<.5?-(pow(2,20*x-10)*sin((20*x-11.125)*c5))/2:pow(2,-20*x+10)*sin((20*x-11.125)*c5)/2+1},easeInBack:function(x){return c3*x*x*x-c1*x*x},easeOutBack:function(x){return 1+c3*pow(x-1,3)+c1*pow(x-1,2)},easeInOutBack:function(x){return x<.5?pow(2*x,2)*((c2+1)*2*x-c2)/2:(pow(2*x-2,2)*((c2+1)*(x*2-2)+c2)+2)/2},easeInBounce:function(x){return 1-bounceOut(1-x)},easeOutBounce:bounceOut,easeInOutBounce:function(x){return x<.5?(1-bounceOut(1-2*x))/2:(1+bounceOut(2*x-1))/2}})});
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
/*! jQuery v3.5.1 | (c) JS Foundation and other contributors | jquery.org/license */
|
||||||
|
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.5.1",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}S.fn=S.prototype={jquery:f,constructor:S,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=S.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return S.each(this,e)},map:function(n){return this.pushStack(S.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(S.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(S.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:t.sort,splice:t.splice},S.extend=S.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||m(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(S.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||S.isPlainObject(n)?n:{},i=!1,a[t]=S.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},S.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==o.call(e))&&(!(t=r(e))||"function"==typeof(n=v.call(t,"constructor")&&t.constructor)&&a.call(n)===l)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){b(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(p(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(p(Object(e))?S.merge(n,"string"==typeof e?[e]:e):u.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:i.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(p(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return g(a)},guid:1,support:y}),"function"==typeof Symbol&&(S.fn[Symbol.iterator]=t[Symbol.iterator]),S.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var d=function(n){var e,d,b,o,i,h,f,g,w,u,l,T,C,a,E,v,s,c,y,S="sizzle"+1*new Date,p=n.document,k=0,r=0,m=ue(),x=ue(),A=ue(),N=ue(),D=function(e,t){return e===t&&(l=!0),0},j={}.hasOwnProperty,t=[],q=t.pop,L=t.push,H=t.push,O=t.slice,P=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",I="(?:\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",W="\\["+M+"*("+I+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+I+"))|)"+M+"*\\]",F=":("+I+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+W+")*)|.*)\\)|)",B=new RegExp(M+"+","g"),$=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),_=new RegExp("^"+M+"*,"+M+"*"),z=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-lLine truncated
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"sources":["jquery.js"],"names":["global","factory","module","exports","document","w","Error","window","this","noGlobal","arr","getProto","Object","getPrototypeOf","slice","flat","array","call","concat","apply","push","indexOf","class2type","toString","hasOwn","hasOwnProperty","fnToString","ObjectFunctionString","support","isFunction","obj","nodeType","isWindow","preservedScriptAttributes","type","src","nonce","noModule","DOMEval","code","node","doc","i","val","script","createElement","text","getAttribute","setAttribute","head","appendChild","parentNode","removeChild","toType","version","jQuery","selector","context","fn","init","isArrayLike","length","prototype","jquery","constructor","toArray","get","num","pushStack","elems","ret","merge","prevObject","each","callback","map","elem","arguments","first","eq","last","even","grep","_elem","odd","len","j","end","sort","splice","extend","options","name","copy","copyIsArray","clone","target","deep","isPlainObject","Array","isArray","undefined","expando","Math","random","replace","isReady","error","msg","noop","proto","Ctor","isEmptyObject","globalEval","makeArray","results","inArray","second","invert","matches","callbackExpect","arg","value","guid","Symbol","iterator","split","_i","toLowerCase","Sizzle","Expr","getText","isXML","tokenize","compile","select","outermostContext","sortInput","hasDuplicate","setDocument","docElem","documentIsHTML","rbuggyQSA","rbuggyMatches","contains","Date","preferredDoc","dirruns","done","classCache","createCache","tokenCache","compilerCache","nonnativeSelectorCache","sortOrder","a","b","pop","pushNative","list","booleans","whitespace","identifier","attributes","pseudos","rwhitespace","RegExp","rtrim","rcomma","rcombinators","rdescend","rpseudo","ridentifier","matchExpr","ID","CLASS","TAG","ATTR","PSEUDO","CHILD","bool","needsContext","rhtml","rinputs","rheader","rnative","rquickExpr","rsibling","runescape","funescape","escape","nonHex","high","String","fromCharCode","rcssescape","fcssescape","ch","asCodePoint","charCodeAt","unloadHandler","inDisabledFieldset","addCombinator","disabled","nodeName","dir","next","childNodes","e","els","seed","m","nid","match","groups","newSelector","newContext","ownerDocument","exec","getElementById","id","getElementsByTagName","getElementsByClassName","qsa","test","testContext","scope","toSelector","join","querySelectorAll","qsaError","removeAttribute","keys","cache","key","cacheLength","shift","markFunction","assert","el","addHandle","attrs","handler","attrHandle","siblingCheck","cur","diff","sourceIndex","nextSibling","createInputPseudo","createButtonPseudo","createDisabledPseudo","isDisabled","createPositionalPseudo","argument","matchIndexes","namespace","namespaceURI","documentElement","hasCompare","subWindow","defaultView","top","addEventListener","attachEvent","className","createComment","getById","getElementsByName","filter","attrId","find","getAttributeNode","tag","tmp","input","innerHTML","matchesSelector","webkitMatchesSelector","mozMatchesSelector","oMatchesSelector","msMatchesSelector","disconnectedMatch","compareDocumentPosition","adown","bup","compare","sortDetached","aup","ap","bp","unshift","expr","elements","attr","specified","sel","uniqueSort","duplicates","detectDuplicates","sortStable","textContent","firstChild","nodeValue","selectors","createPseudo","relative",">"," ","+","~","preFilter","excess","unquoted","nodeNameSelector","pattern","operator","check","result","what","_argument","simple","forward","ofType","_context","xml","uniqueCache","outerCache","nodeIndex","start","parent","useCache","lastChild","uniqueID","pseudo","args","setFilters","idx","matched","not","matcher","unmatched","has","lang","elemLang","hash","location","root","focus","activeElement","hasFocus","href","tabIndex","enabled","checked","selected","selectedIndex","empty","header","button","_matchIndexes","lt","gt","radio","checkbox","file","password","image","submit","reset","tokens","combinator","base","skip","checkNonElements","doneName","oldCache","newCache","elementMatcher","matchers","condense","newUnmatched","mapped","setMatcher","postFilter","postFinder","postSelector","temp","preMap","postMap","preexisting","contexts","multipleContexts","matcherIn","matcherOut","matcherFromTokens","checkContext","leadingRelative","implicitRelative","matchContext","matchAnyContext","filters","parseOnly","soFar","preFilters","cached","elementMatchers","setMatchers","bySet","byElement","superMatcher","outermost","matchedCount","setMatched","contextBackup","dirrunsUnique","token","compiled","_name","defaultValue","unique","isXMLDoc","escapeSelector","until","truncate","is","siblings","n","rneedsContext","rsingleTag","winnow","qualifier","self","rootjQuery","parseHTML","ready","rparentsprev","guaranteedUnique","children","contents","prev","sibling","targets","l","closest","index","prevAll","add","addBack","parents","parentsUntil","nextAll","nextUntil","prevUntil","contentDocument","content","reverse","rnothtmlLine truncated
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
Copyright (c) 2014 Owl
|
||||||
|
Modified work Copyright 2016-2018 David Deutsch
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person
|
||||||
|
obtaining a copy of this software and associated documentation
|
||||||
|
files (the "Software"), to deal in the Software without
|
||||||
|
restriction, including without limitation the rights to use,
|
||||||
|
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the
|
||||||
|
Software is furnished to do so, subject to the following
|
||||||
|
conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be
|
||||||
|
included in all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||||
|
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||||
|
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||||
|
OTHER DEALINGS IN THE SOFTWARE.
|
||||||
@@ -0,0 +1,122 @@
|
|||||||
|
# Owl Carousel 2
|
||||||
|
|
||||||
|
Touch enabled [jQuery](https://jquery.com/) plugin that lets you create a beautiful, responsive carousel slider. **To get started, check out https://owlcarousel2.github.io/OwlCarousel2/.**
|
||||||
|
|
||||||
|
**Notice:** The old Owl Carousel site (owlgraphic [dot] com) is no longer in use. Please delete all references to this in bookmarks and your own products' documentation as it's being used for malicious purposes.
|
||||||
|
|
||||||
|
## Quick start
|
||||||
|
|
||||||
|
### Install
|
||||||
|
|
||||||
|
This package can be installed with:
|
||||||
|
|
||||||
|
- [npm](https://www.npmjs.com/package/owl.carousel): `npm install --save owl.carousel` or `yarn add owl.carousel jquery`
|
||||||
|
- [bower](http://bower.io/search/?q=owl.carousel): `bower install --save owl.carousel`
|
||||||
|
|
||||||
|
Or download the [latest release](https://github.com/OwlCarousel2/OwlCarousel2/releases).
|
||||||
|
|
||||||
|
### Load
|
||||||
|
|
||||||
|
#### Webpack
|
||||||
|
|
||||||
|
Add jQuery via the "webpack.ProvidePlugin" to your webpack configuration:
|
||||||
|
|
||||||
|
const webpack = require('webpack');
|
||||||
|
|
||||||
|
//...
|
||||||
|
plugins: [
|
||||||
|
new webpack.ProvidePlugin({
|
||||||
|
$: 'jquery',
|
||||||
|
jQuery: 'jquery',
|
||||||
|
'window.jQuery': 'jquery'
|
||||||
|
}),
|
||||||
|
],
|
||||||
|
//...
|
||||||
|
|
||||||
|
Load the required stylesheet and JS:
|
||||||
|
|
||||||
|
```js
|
||||||
|
import 'owl.carousel/dist/assets/owl.carousel.css';
|
||||||
|
import 'owl.carousel';
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Static HTML
|
||||||
|
|
||||||
|
Put the required stylesheet at the [top](https://developer.yahoo.com/performance/rules.html#css_top) of your markup:
|
||||||
|
|
||||||
|
```html
|
||||||
|
<link rel="stylesheet" href="/node_modules/owl.carousel/dist/assets/owl.carousel.min.css" />
|
||||||
|
```
|
||||||
|
|
||||||
|
```html
|
||||||
|
<link rel="stylesheet" href="/bower_components/owl.carousel/dist/assets/owl.carousel.min.css" />
|
||||||
|
```
|
||||||
|
|
||||||
|
**NOTE:** If you want to use the default navigation styles, you will also need to include `owl.theme.default.css`.
|
||||||
|
|
||||||
|
|
||||||
|
Put the script at the [bottom](https://developer.yahoo.com/performance/rules.html#js_bottom) of your markup right after jQuery:
|
||||||
|
|
||||||
|
```html
|
||||||
|
<script src="/node_modules/jquery/dist/jquery.js"></script>
|
||||||
|
<script src="/node_modules/owl.carousel/dist/owl.carousel.min.js"></script>
|
||||||
|
```
|
||||||
|
|
||||||
|
```html
|
||||||
|
<script src="/bower_components/jquery/dist/jquery.js"></script>
|
||||||
|
<script src="/bower_components/owl.carousel/dist/owl.carousel.min.js"></script>
|
||||||
|
```
|
||||||
|
|
||||||
|
### Usage
|
||||||
|
|
||||||
|
Wrap your items (`div`, `a`, `img`, `span`, `li` etc.) with a container element (`div`, `ul` etc.). Only the class `owl-carousel` is mandatory to apply proper styles:
|
||||||
|
|
||||||
|
```html
|
||||||
|
<div class="owl-carousel owl-theme">
|
||||||
|
<div> Your Content </div>
|
||||||
|
<div> Your Content </div>
|
||||||
|
<div> Your Content </div>
|
||||||
|
<div> Your Content </div>
|
||||||
|
<div> Your Content </div>
|
||||||
|
<div> Your Content </div>
|
||||||
|
<div> Your Content </div>
|
||||||
|
</div>
|
||||||
|
```
|
||||||
|
**NOTE:** The `owl-theme` class is optional, but without it, you will need to style navigation features on your own.
|
||||||
|
|
||||||
|
|
||||||
|
Call the [plugin](https://learn.jquery.com/plugins/) function and your carousel is ready.
|
||||||
|
|
||||||
|
```javascript
|
||||||
|
$(document).ready(function(){
|
||||||
|
$('.owl-carousel').owlCarousel();
|
||||||
|
});
|
||||||
|
```
|
||||||
|
|
||||||
|
## Documentation
|
||||||
|
|
||||||
|
The documentation, included in this repo in the root directory, is built with [Assemble](http://assemble.io/) and publicly available at https://owlcarousel2.github.io/OwlCarousel2/. The documentation may also be run locally.
|
||||||
|
|
||||||
|
## Building
|
||||||
|
|
||||||
|
This package comes with [Grunt](http://gruntjs.com/) and [Bower](http://bower.io/). The following tasks are available:
|
||||||
|
|
||||||
|
* `default` compiles the CSS and JS into `/dist` and builds the doc.
|
||||||
|
* `dist` compiles the CSS and JS into `/dist` only.
|
||||||
|
* `watch` watches source files and builds them automatically whenever you save.
|
||||||
|
* `test` runs [JSHint](http://www.jshint.com/) and [QUnit](http://qunitjs.com/) tests headlessly in [PhantomJS](http://phantomjs.org/).
|
||||||
|
|
||||||
|
To define which plugins are build into the distribution just edit `/_config.json` to fit your needs.
|
||||||
|
|
||||||
|
## Contributing
|
||||||
|
|
||||||
|
Please read [CONTRIBUTING.md](CONTRIBUTING.md).
|
||||||
|
|
||||||
|
## Roadmap
|
||||||
|
|
||||||
|
Please make sure to check out our [Roadmap Discussion](https://github.com/OwlCarousel2/OwlCarousel2/issues/1756).
|
||||||
|
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
The code and the documentation are released under the [MIT License](LICENSE).
|
||||||
|
After Width: | Height: | Size: 3.1 KiB |
@@ -0,0 +1,186 @@
|
|||||||
|
/**
|
||||||
|
* Owl Carousel v2.3.4
|
||||||
|
* Copyright 2013-2018 David Deutsch
|
||||||
|
* Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE
|
||||||
|
*/
|
||||||
|
/*
|
||||||
|
* Owl Carousel - Core
|
||||||
|
*/
|
||||||
|
.owl-carousel {
|
||||||
|
display: none;
|
||||||
|
width: 100%;
|
||||||
|
-webkit-tap-highlight-color: transparent;
|
||||||
|
/* position relative and z-index fix webkit rendering fonts issue */
|
||||||
|
position: relative;
|
||||||
|
z-index: 1; }
|
||||||
|
.owl-carousel .owl-stage {
|
||||||
|
position: relative;
|
||||||
|
-ms-touch-action: pan-Y;
|
||||||
|
touch-action: manipulation;
|
||||||
|
-moz-backface-visibility: hidden;
|
||||||
|
/* fix firefox animation glitch */ }
|
||||||
|
.owl-carousel .owl-stage:after {
|
||||||
|
content: ".";
|
||||||
|
display: block;
|
||||||
|
clear: both;
|
||||||
|
visibility: hidden;
|
||||||
|
line-height: 0;
|
||||||
|
height: 0; }
|
||||||
|
.owl-carousel .owl-stage-outer {
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
/* fix for flashing background */
|
||||||
|
-webkit-transform: translate3d(0px, 0px, 0px); }
|
||||||
|
.owl-carousel .owl-wrapper,
|
||||||
|
.owl-carousel .owl-item {
|
||||||
|
-webkit-backface-visibility: hidden;
|
||||||
|
-moz-backface-visibility: hidden;
|
||||||
|
-ms-backface-visibility: hidden;
|
||||||
|
-webkit-transform: translate3d(0, 0, 0);
|
||||||
|
-moz-transform: translate3d(0, 0, 0);
|
||||||
|
-ms-transform: translate3d(0, 0, 0); }
|
||||||
|
.owl-carousel .owl-item {
|
||||||
|
position: relative;
|
||||||
|
min-height: 1px;
|
||||||
|
float: left;
|
||||||
|
-webkit-backface-visibility: hidden;
|
||||||
|
-webkit-tap-highlight-color: transparent;
|
||||||
|
-webkit-touch-callout: none; }
|
||||||
|
.owl-carousel .owl-item img {
|
||||||
|
display: block;
|
||||||
|
width: 100%; }
|
||||||
|
.owl-carousel .owl-nav.disabled,
|
||||||
|
.owl-carousel .owl-dots.disabled {
|
||||||
|
display: none; }
|
||||||
|
.owl-carousel .owl-nav .owl-prev,
|
||||||
|
.owl-carousel .owl-nav .owl-next,
|
||||||
|
.owl-carousel .owl-dot {
|
||||||
|
cursor: pointer;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-khtml-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
user-select: none; }
|
||||||
|
.owl-carousel .owl-nav button.owl-prev,
|
||||||
|
.owl-carousel .owl-nav button.owl-next,
|
||||||
|
.owl-carousel button.owl-dot {
|
||||||
|
background: none;
|
||||||
|
color: inherit;
|
||||||
|
border: none;
|
||||||
|
padding: 0 !important;
|
||||||
|
font: inherit; }
|
||||||
|
.owl-carousel.owl-loaded {
|
||||||
|
display: block; }
|
||||||
|
.owl-carousel.owl-loading {
|
||||||
|
opacity: 0;
|
||||||
|
display: block; }
|
||||||
|
.owl-carousel.owl-hidden {
|
||||||
|
opacity: 0; }
|
||||||
|
.owl-carousel.owl-refresh .owl-item {
|
||||||
|
visibility: hidden; }
|
||||||
|
.owl-carousel.owl-drag .owl-item {
|
||||||
|
-ms-touch-action: pan-y;
|
||||||
|
touch-action: pan-y;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
user-select: none; }
|
||||||
|
.owl-carousel.owl-grab {
|
||||||
|
cursor: move;
|
||||||
|
cursor: grab; }
|
||||||
|
.owl-carousel.owl-rtl {
|
||||||
|
direction: rtl; }
|
||||||
|
.owl-carousel.owl-rtl .owl-item {
|
||||||
|
float: right; }
|
||||||
|
|
||||||
|
/* No Js */
|
||||||
|
.no-js .owl-carousel {
|
||||||
|
display: block; }
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Owl Carousel - Animate Plugin
|
||||||
|
*/
|
||||||
|
.owl-carousel .animated {
|
||||||
|
animation-duration: 1000ms;
|
||||||
|
animation-fill-mode: both; }
|
||||||
|
|
||||||
|
.owl-carousel .owl-animated-in {
|
||||||
|
z-index: 0; }
|
||||||
|
|
||||||
|
.owl-carousel .owl-animated-out {
|
||||||
|
z-index: 1; }
|
||||||
|
|
||||||
|
.owl-carousel .fadeOut {
|
||||||
|
animation-name: fadeOut; }
|
||||||
|
|
||||||
|
@keyframes fadeOut {
|
||||||
|
0% {
|
||||||
|
opacity: 1; }
|
||||||
|
100% {
|
||||||
|
opacity: 0; } }
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Owl Carousel - Auto Height Plugin
|
||||||
|
*/
|
||||||
|
.owl-height {
|
||||||
|
transition: height 500ms ease-in-out; }
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Owl Carousel - Lazy Load Plugin
|
||||||
|
*/
|
||||||
|
.owl-carousel .owl-item {
|
||||||
|
/**
|
||||||
|
This is introduced due to a bug in IE11 where lazy loading combined with autoheight plugin causes a wrong
|
||||||
|
calculation of the height of the owl-item that breaks page layouts
|
||||||
|
*/ }
|
||||||
|
.owl-carousel .owl-item .owl-lazy {
|
||||||
|
opacity: 0;
|
||||||
|
transition: opacity 400ms ease; }
|
||||||
|
.owl-carousel .owl-item .owl-lazy[src^=""], .owl-carousel .owl-item .owl-lazy:not([src]) {
|
||||||
|
max-height: 0; }
|
||||||
|
.owl-carousel .owl-item img.owl-lazy {
|
||||||
|
transform-style: preserve-3d; }
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Owl Carousel - Video Plugin
|
||||||
|
*/
|
||||||
|
.owl-carousel .owl-video-wrapper {
|
||||||
|
position: relative;
|
||||||
|
height: 100%;
|
||||||
|
background: #000; }
|
||||||
|
|
||||||
|
.owl-carousel .owl-video-play-icon {
|
||||||
|
position: absolute;
|
||||||
|
height: 80px;
|
||||||
|
width: 80px;
|
||||||
|
left: 50%;
|
||||||
|
top: 50%;
|
||||||
|
margin-left: -40px;
|
||||||
|
margin-top: -40px;
|
||||||
|
background: url("owl.video.play.png") no-repeat;
|
||||||
|
cursor: pointer;
|
||||||
|
z-index: 1;
|
||||||
|
-webkit-backface-visibility: hidden;
|
||||||
|
transition: transform 100ms ease; }
|
||||||
|
|
||||||
|
.owl-carousel .owl-video-play-icon:hover {
|
||||||
|
-ms-transform: scale(1.3, 1.3);
|
||||||
|
transform: scale(1.3, 1.3); }
|
||||||
|
|
||||||
|
.owl-carousel .owl-video-playing .owl-video-tn,
|
||||||
|
.owl-carousel .owl-video-playing .owl-video-play-icon {
|
||||||
|
display: none; }
|
||||||
|
|
||||||
|
.owl-carousel .owl-video-tn {
|
||||||
|
opacity: 0;
|
||||||
|
height: 100%;
|
||||||
|
background-position: center center;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: contain;
|
||||||
|
transition: opacity 400ms ease; }
|
||||||
|
|
||||||
|
.owl-carousel .owl-video-frame {
|
||||||
|
position: relative;
|
||||||
|
z-index: 1;
|
||||||
|
height: 100%;
|
||||||
|
width: 100%; }
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
/**
|
||||||
|
* Owl Carousel v2.3.4
|
||||||
|
* Copyright 2013-2018 David Deutsch
|
||||||
|
* Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE
|
||||||
|
*/
|
||||||
|
.owl-carousel,.owl-carousel .owl-item{-webkit-tap-highlight-color:transparent;position:relative}.owl-carousel{display:none;width:100%;z-index:1}.owl-carousel .owl-stage{position:relative;-ms-touch-action:pan-Y;touch-action:manipulation;-moz-backface-visibility:hidden}.owl-carousel .owl-stage:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}.owl-carousel .owl-stage-outer{position:relative;overflow:hidden;-webkit-transform:translate3d(0,0,0)}.owl-carousel .owl-item,.owl-carousel .owl-wrapper{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0)}.owl-carousel .owl-item{min-height:1px;float:left;-webkit-backface-visibility:hidden;-webkit-touch-callout:none}.owl-carousel .owl-item img{display:block;width:100%}.owl-carousel .owl-dots.disabled,.owl-carousel .owl-nav.disabled{display:none}.no-js .owl-carousel,.owl-carousel.owl-loaded{display:block}.owl-carousel .owl-dot,.owl-carousel .owl-nav .owl-next,.owl-carousel .owl-nav .owl-prev{cursor:pointer;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel .owl-nav button.owl-next,.owl-carousel .owl-nav button.owl-prev,.owl-carousel button.owl-dot{background:0 0;color:inherit;border:none;padding:0!important;font:inherit}.owl-carousel.owl-loading{opacity:0;display:block}.owl-carousel.owl-hidden{opacity:0}.owl-carousel.owl-refresh .owl-item{visibility:hidden}.owl-carousel.owl-drag .owl-item{-ms-touch-action:pan-y;touch-action:pan-y;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel.owl-grab{cursor:move;cursor:grab}.owl-carousel.owl-rtl{direction:rtl}.owl-carousel.owl-rtl .owl-item{float:right}.owl-carousel .animated{animation-duration:1s;animation-fill-mode:both}.owl-carousel .owl-animated-in{z-index:0}.owl-carousel .owl-animated-out{z-index:1}.owl-carousel .fadeOut{animation-name:fadeOut}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}.owl-height{transition:height .5s ease-in-out}.owl-carousel .owl-item .owl-lazy{opacity:0;transition:opacity .4s ease}.owl-carousel .owl-item .owl-lazy:not([src]),.owl-carousel .owl-item .owl-lazy[src^=""]{max-height:0}.owl-carousel .owl-item img.owl-lazy{transform-style:preserve-3d}.owl-carousel .owl-video-wrapper{position:relative;height:100%;background:#000}.owl-carousel .owl-video-play-icon{position:absolute;height:80px;width:80px;left:50%;top:50%;margin-left:-40px;margin-top:-40px;background:url(owl.video.play.png) no-repeat;cursor:pointer;z-index:1;-webkit-backface-visibility:hidden;transition:transform .1s ease}.owl-carousel .owl-video-play-icon:hover{-ms-transform:scale(1.3,1.3);transform:scale(1.3,1.3)}.owl-carousel .owl-video-playing .owl-video-play-icon,.owl-carousel .owl-video-playing .owl-video-tn{display:none}.owl-carousel .owl-video-tn{opacity:0;height:100%;background-position:center center;background-repeat:no-repeat;background-size:contain;transition:opacity .4s ease}.owl-carousel .owl-video-frame{position:relative;z-index:1;height:100%;width:100%}
|
||||||
@@ -0,0 +1,50 @@
|
|||||||
|
/**
|
||||||
|
* Owl Carousel v2.3.4
|
||||||
|
* Copyright 2013-2018 David Deutsch
|
||||||
|
* Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE
|
||||||
|
*/
|
||||||
|
/*
|
||||||
|
* Default theme - Owl Carousel CSS File
|
||||||
|
*/
|
||||||
|
.owl-theme .owl-nav {
|
||||||
|
margin-top: 10px;
|
||||||
|
text-align: center;
|
||||||
|
-webkit-tap-highlight-color: transparent; }
|
||||||
|
.owl-theme .owl-nav [class*='owl-'] {
|
||||||
|
color: #FFF;
|
||||||
|
font-size: 14px;
|
||||||
|
margin: 5px;
|
||||||
|
padding: 4px 7px;
|
||||||
|
background: #D6D6D6;
|
||||||
|
display: inline-block;
|
||||||
|
cursor: pointer;
|
||||||
|
border-radius: 3px; }
|
||||||
|
.owl-theme .owl-nav [class*='owl-']:hover {
|
||||||
|
background: #869791;
|
||||||
|
color: #FFF;
|
||||||
|
text-decoration: none; }
|
||||||
|
.owl-theme .owl-nav .disabled {
|
||||||
|
opacity: 0.5;
|
||||||
|
cursor: default; }
|
||||||
|
|
||||||
|
.owl-theme .owl-nav.disabled + .owl-dots {
|
||||||
|
margin-top: 10px; }
|
||||||
|
|
||||||
|
.owl-theme .owl-dots {
|
||||||
|
text-align: center;
|
||||||
|
-webkit-tap-highlight-color: transparent; }
|
||||||
|
.owl-theme .owl-dots .owl-dot {
|
||||||
|
display: inline-block;
|
||||||
|
zoom: 1;
|
||||||
|
*display: inline; }
|
||||||
|
.owl-theme .owl-dots .owl-dot span {
|
||||||
|
width: 10px;
|
||||||
|
height: 10px;
|
||||||
|
margin: 5px 7px;
|
||||||
|
background: #D6D6D6;
|
||||||
|
display: block;
|
||||||
|
-webkit-backface-visibility: visible;
|
||||||
|
transition: opacity 200ms ease;
|
||||||
|
border-radius: 30px; }
|
||||||
|
.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
|
||||||
|
background: #869791; }
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
/**
|
||||||
|
* Owl Carousel v2.3.4
|
||||||
|
* Copyright 2013-2018 David Deutsch
|
||||||
|
* Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE
|
||||||
|
*/
|
||||||
|
.owl-theme .owl-dots,.owl-theme .owl-nav{text-align:center;-webkit-tap-highlight-color:transparent}.owl-theme .owl-nav{margin-top:10px}.owl-theme .owl-nav [class*=owl-]{color:#FFF;font-size:14px;margin:5px;padding:4px 7px;background:#D6D6D6;display:inline-block;cursor:pointer;border-radius:3px}.owl-theme .owl-nav [class*=owl-]:hover{background:#869791;color:#FFF;text-decoration:none}.owl-theme .owl-nav .disabled{opacity:.5;cursor:default}.owl-theme .owl-nav.disabled+.owl-dots{margin-top:10px}.owl-theme .owl-dots .owl-dot{display:inline-block;zoom:1}.owl-theme .owl-dots .owl-dot span{width:10px;height:10px;margin:5px 7px;background:#D6D6D6;display:block;-webkit-backface-visibility:visible;transition:opacity .2s ease;border-radius:30px}.owl-theme .owl-dots .owl-dot.active span,.owl-theme .owl-dots .owl-dot:hover span{background:#869791}
|
||||||
@@ -0,0 +1,50 @@
|
|||||||
|
/**
|
||||||
|
* Owl Carousel v2.3.4
|
||||||
|
* Copyright 2013-2018 David Deutsch
|
||||||
|
* Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE
|
||||||
|
*/
|
||||||
|
/*
|
||||||
|
* Green theme - Owl Carousel CSS File
|
||||||
|
*/
|
||||||
|
.owl-theme .owl-nav {
|
||||||
|
margin-top: 10px;
|
||||||
|
text-align: center;
|
||||||
|
-webkit-tap-highlight-color: transparent; }
|
||||||
|
.owl-theme .owl-nav [class*='owl-'] {
|
||||||
|
color: #FFF;
|
||||||
|
font-size: 14px;
|
||||||
|
margin: 5px;
|
||||||
|
padding: 4px 7px;
|
||||||
|
background: #D6D6D6;
|
||||||
|
display: inline-block;
|
||||||
|
cursor: pointer;
|
||||||
|
border-radius: 3px; }
|
||||||
|
.owl-theme .owl-nav [class*='owl-']:hover {
|
||||||
|
background: #4DC7A0;
|
||||||
|
color: #FFF;
|
||||||
|
text-decoration: none; }
|
||||||
|
.owl-theme .owl-nav .disabled {
|
||||||
|
opacity: 0.5;
|
||||||
|
cursor: default; }
|
||||||
|
|
||||||
|
.owl-theme .owl-nav.disabled + .owl-dots {
|
||||||
|
margin-top: 10px; }
|
||||||
|
|
||||||
|
.owl-theme .owl-dots {
|
||||||
|
text-align: center;
|
||||||
|
-webkit-tap-highlight-color: transparent; }
|
||||||
|
.owl-theme .owl-dots .owl-dot {
|
||||||
|
display: inline-block;
|
||||||
|
zoom: 1;
|
||||||
|
*display: inline; }
|
||||||
|
.owl-theme .owl-dots .owl-dot span {
|
||||||
|
width: 10px;
|
||||||
|
height: 10px;
|
||||||
|
margin: 5px 7px;
|
||||||
|
background: #D6D6D6;
|
||||||
|
display: block;
|
||||||
|
-webkit-backface-visibility: visible;
|
||||||
|
transition: opacity 200ms ease;
|
||||||
|
border-radius: 30px; }
|
||||||
|
.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
|
||||||
|
background: #4DC7A0; }
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
/**
|
||||||
|
* Owl Carousel v2.3.4
|
||||||
|
* Copyright 2013-2018 David Deutsch
|
||||||
|
* Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE
|
||||||
|
*/
|
||||||
|
.owl-theme .owl-dots,.owl-theme .owl-nav{text-align:center;-webkit-tap-highlight-color:transparent}.owl-theme .owl-nav{margin-top:10px}.owl-theme .owl-nav [class*=owl-]{color:#FFF;font-size:14px;margin:5px;padding:4px 7px;background:#D6D6D6;display:inline-block;cursor:pointer;border-radius:3px}.owl-theme .owl-nav [class*=owl-]:hover{background:#4DC7A0;color:#FFF;text-decoration:none}.owl-theme .owl-nav .disabled{opacity:.5;cursor:default}.owl-theme .owl-nav.disabled+.owl-dots{margin-top:10px}.owl-theme .owl-dots .owl-dot{display:inline-block;zoom:1}.owl-theme .owl-dots .owl-dot span{width:10px;height:10px;margin:5px 7px;background:#D6D6D6;display:block;-webkit-backface-visibility:visible;transition:opacity .2s ease;border-radius:30px}.owl-theme .owl-dots .owl-dot.active span,.owl-theme .owl-dots .owl-dot:hover span{background:#4DC7A0}
|
||||||
|
After Width: | Height: | Size: 4.9 KiB |
@@ -0,0 +1,7 @@
|
|||||||
|
/**
|
||||||
|
* Owl Carousel v2.3.4
|
||||||
|
* Copyright 2013-2018 David Deutsch
|
||||||
|
* Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE
|
||||||
|
*/
|
||||||
|
!function(a,b,c,d){function e(b,c){this.settings=null,this.options=a.extend({},e.Defaults,c),this.$element=a(b),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},a.each(["onResize","onThrottledResize"],a.proxy(function(b,c){this._handlers[c]=a.proxy(this[c],this)},this)),a.each(e.Plugins,a.proxy(function(a,b){this._plugins[a.charAt(0).toLowerCase()+a.slice(1)]=new b(this)},this)),a.each(e.Workers,a.proxy(function(b,c){this._pipe.push({filter:c.filter,run:a.proxy(c.run,this)})},this)),this.setup(),this.initialize()}e.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:b,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},e.Width={Default:"default",Inner:"inner",Outer:"outer"},e.Type={Event:"event",State:"state"},e.Plugins={},e.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(a){a.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(a){var b=this.settings.margin||"",c=!this.settings.autoWidth,d=this.settings.rtl,e={width:"auto","margin-left":d?b:"","margin-right":d?"":b};!c&&this.$stage.children().css(e),a.css=e}},{filter:["width","items","settings"],run:function(a){var b=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,c=null,d=this._items.length,e=!this.settings.autoWidth,f=[];for(a.items={merge:!1,width:b};d--;)c=this._mergers[d],c=this.settings.mergeFit&&Math.min(c,this.settings.items)||c,a.items.merge=c>1||a.items.merge,f[d]=e?b*c:this._items[d].width();this._widths=f}},{filter:["items","settings"],run:function(){var b=[],c=this._items,d=this.settings,e=Math.max(2*d.items,4),f=2*Math.ceil(c.length/2),g=d.loop&&c.length?d.rewind?e:Math.max(e,f):0,h="",i="";for(g/=2;g>0;)b.push(this.normalize(b.length/2,!0)),h+=c[b[b.length-1]][0].outerHTML,b.push(this.normalize(c.length-1-(b.length-1)/2,!0)),i=c[b[b.length-1]][0].outerHTML+i,g-=1;this._clones=b,a(h).addClass("cloned").appendTo(this.$stage),a(i).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var a=this.settings.rtl?1:-1,b=this._clones.length+this._items.length,c=-1,d=0,e=0,f=[];++c<b;)d=f[c-1]||0,e=this._widths[this.relative(c)]+this.settings.margin,f.push(d+e*a);this._coordinates=f}},{filter:["width","items","settings"],run:function(){var a=this.settings.stagePadding,b=this._coordinates,c={width:Math.ceil(Math.abs(b[b.length-1]))+2*a,"padding-left":a||"","padding-right":a||""};this.$stage.css(c)}},{filter:["width","items","settings"],run:function(a){var b=this._coordinates.length,c=!this.settings.autoWidth,d=this.$stage.children();if(c&&a.items.merge)for(;b--;)a.css.width=this._widths[this.relative(b)],d.eq(b).css(a.css);else c&&(a.css.width=a.items.width,d.css(a.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(a){a.current=a.current?this.$stage.children().index(a.current):0,a.current=Math.max(this.minimum(),Math.min(this.maximum(),a.current)),this.reset(a.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var a,b,c,d,e=this.settings.rtl?1:-1,f=2*this.settings.stagePadding,g=this.coordinates(this.current())+f,h=g+this.width()*e,i=[];for(c=0,d=this._coordinates.length;c<d;c++)a=this._coordinates[c-1]||0,b=Math.abs(this._coordinates[c])+f*e,(this.op(a,"<=",g)&&this.op(a,">",h)||this.op(b,"<",g)&&this.op(b,">",h))&&i.push(c);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+i.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],e.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$elemeLine truncated
|
||||||
|
animateIn:!1},e.prototype.swap=function(){if(1===this.core.settings.items&&a.support.animation&&a.support.transition){this.core.speed(0);var b,c=a.proxy(this.clear,this),d=this.core.$stage.children().eq(this.previous),e=this.core.$stage.children().eq(this.next),f=this.core.settings.animateIn,g=this.core.settings.animateOut;this.core.current()!==this.previous&&(g&&(b=this.core.coordinates(this.previous)-this.core.coordinates(this.next),d.one(a.support.animation.end,c).css({left:b+"px"}).addClass("animated owl-animated-out").addClass(g)),f&&e.one(a.support.animation.end,c).addClass("animated owl-animated-in").addClass(f))}},e.prototype.clear=function(b){a(b.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},e.prototype.destroy=function(){var a,b;for(a in this.handlers)this.core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Animate=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":a.proxy(function(a){a.namespace&&"settings"===a.property.name?this._core.settings.autoplay?this.play():this.stop():a.namespace&&"position"===a.property.name&&this._paused&&(this._time=0)},this),"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":a.proxy(function(a,b,c){a.namespace&&this.play(b,c)},this),"stop.owl.autoplay":a.proxy(function(a){a.namespace&&this.stop()},this),"mouseover.owl.autoplay":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":a.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=a.extend({},e.Defaults,this._core.options)};e.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},e.prototype._next=function(d){this._call=b.setTimeout(a.proxy(this._next,this,d),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||c.hidden||this._core.next(d||this._core.settings.autoplaySpeed)},e.prototype.read=function(){return(new Date).getTime()-this._time},e.prototype.play=function(c,d){var e;this._core.is("rotating")||this._core.enter("rotating"),c=c||this._core.settings.autoplayTimeout,e=Math.min(this._time%(this._timeout||c),c),this._paused?(this._time=this.read(),this._paused=!1):b.clearTimeout(this._call),this._time+=this.read()%c-e,this._timeout=c,this._call=b.setTimeout(a.proxy(this._next,this,d),c-e)},e.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,b.clearTimeout(this._call),this._core.leave("rotating"))},e.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,b.clearTimeout(this._call))},e.prototype.destroy=function(){var a,b;this.stop();for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.autoplay=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){"use strict";var e=function(b){this._core=b,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":a.proxy(function(b){b.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+a(b.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.dotsData&&this._templates.splice(a.position,0,this._templates.pop())},this),"remove.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.dotsData&&this._templates.splice(a.position,1)},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&"position"==a.property.name&&this.draw()},this),"initialized.owl.carousel":a.proxy(function(a){a.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreLine truncated
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
Version: 2.0
|
||||||
|
- The minimum required PHP version is 5.5
|
||||||
|
- Improved error handling and debugging
|
||||||
|
- Added support for cc and bcc
|
||||||
|
- Added "honeypot" spam protection feature
|
||||||
|
- Added support for Google reCaptcha spam protection
|
||||||
|
|
||||||
|
Version: 1.0
|
||||||
|
- Initial Release
|
||||||
|
|
||||||
@@ -0,0 +1,165 @@
|
|||||||
|
/**
|
||||||
|
* PHP Email Form Validation - v2.0
|
||||||
|
* URL: https://bootstrapmade.com/php-email-form/
|
||||||
|
* Author: BootstrapMade.com
|
||||||
|
*/
|
||||||
|
!(function($) {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
$('form.php-email-form').submit(function(e) {
|
||||||
|
e.preventDefault();
|
||||||
|
|
||||||
|
var f = $(this).find('.form-group'),
|
||||||
|
ferror = false,
|
||||||
|
emailExp = /^[^\s()<>@,;:\/]+@\w[\w\.-]+\.[a-z]{2,}$/i;
|
||||||
|
|
||||||
|
f.children('input').each(function() { // run all inputs
|
||||||
|
|
||||||
|
var i = $(this); // current input
|
||||||
|
var rule = i.attr('data-rule');
|
||||||
|
|
||||||
|
if (rule !== undefined) {
|
||||||
|
var ierror = false; // error flag for current input
|
||||||
|
var pos = rule.indexOf(':', 0);
|
||||||
|
if (pos >= 0) {
|
||||||
|
var exp = rule.substr(pos + 1, rule.length);
|
||||||
|
rule = rule.substr(0, pos);
|
||||||
|
} else {
|
||||||
|
rule = rule.substr(pos + 1, rule.length);
|
||||||
|
}
|
||||||
|
|
||||||
|
switch (rule) {
|
||||||
|
case 'required':
|
||||||
|
if (i.val() === '') {
|
||||||
|
ferror = ierror = true;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'minlen':
|
||||||
|
if (i.val().length < parseInt(exp)) {
|
||||||
|
ferror = ierror = true;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'email':
|
||||||
|
if (!emailExp.test(i.val())) {
|
||||||
|
ferror = ierror = true;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'checked':
|
||||||
|
if (! i.is(':checked')) {
|
||||||
|
ferror = ierror = true;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'regexp':
|
||||||
|
exp = new RegExp(exp);
|
||||||
|
if (!exp.test(i.val())) {
|
||||||
|
ferror = ierror = true;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
i.next('.validate').html((ierror ? (i.attr('data-msg') !== undefined ? i.attr('data-msg') : 'wrong Input') : '')).show('blind');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
f.children('textarea').each(function() { // run all inputs
|
||||||
|
|
||||||
|
var i = $(this); // current input
|
||||||
|
var rule = i.attr('data-rule');
|
||||||
|
|
||||||
|
if (rule !== undefined) {
|
||||||
|
var ierror = false; // error flag for current input
|
||||||
|
var pos = rule.indexOf(':', 0);
|
||||||
|
if (pos >= 0) {
|
||||||
|
var exp = rule.substr(pos + 1, rule.length);
|
||||||
|
rule = rule.substr(0, pos);
|
||||||
|
} else {
|
||||||
|
rule = rule.substr(pos + 1, rule.length);
|
||||||
|
}
|
||||||
|
|
||||||
|
switch (rule) {
|
||||||
|
case 'required':
|
||||||
|
if (i.val() === '') {
|
||||||
|
ferror = ierror = true;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'minlen':
|
||||||
|
if (i.val().length < parseInt(exp)) {
|
||||||
|
ferror = ierror = true;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
i.next('.validate').html((ierror ? (i.attr('data-msg') != undefined ? i.attr('data-msg') : 'wrong Input') : '')).show('blind');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
if (ferror) return false;
|
||||||
|
|
||||||
|
var this_form = $(this);
|
||||||
|
var action = $(this).attr('action');
|
||||||
|
|
||||||
|
if( ! action ) {
|
||||||
|
this_form.find('.loading').slideUp();
|
||||||
|
this_form.find('.error-message').slideDown().html('The form action property is not set!');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
this_form.find('.sent-message').slideUp();
|
||||||
|
this_form.find('.error-message').slideUp();
|
||||||
|
this_form.find('.loading').slideDown();
|
||||||
|
|
||||||
|
if ( $(this).data('recaptcha-site-key') ) {
|
||||||
|
var recaptcha_site_key = $(this).data('recaptcha-site-key');
|
||||||
|
grecaptcha.ready(function() {
|
||||||
|
grecaptcha.execute(recaptcha_site_key, {action: 'php_email_form_submit'}).then(function(token) {
|
||||||
|
php_email_form_submit(this_form,action,this_form.serialize() + '&recaptcha-response=' + token);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
php_email_form_submit(this_form,action,this_form.serialize());
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
});
|
||||||
|
|
||||||
|
function php_email_form_submit(this_form, action, data) {
|
||||||
|
$.ajax({
|
||||||
|
type: "POST",
|
||||||
|
url: action,
|
||||||
|
data: data,
|
||||||
|
timeout: 40000
|
||||||
|
}).done( function(msg){
|
||||||
|
if (msg == 'OK') {
|
||||||
|
this_form.find('.loading').slideUp();
|
||||||
|
this_form.find('.sent-message').slideDown();
|
||||||
|
this_form.find("input:not(input[type=submit]), textarea").val('');
|
||||||
|
} else {
|
||||||
|
this_form.find('.loading').slideUp();
|
||||||
|
if(!msg) {
|
||||||
|
msg = 'Form submission failed and no error message returned from: ' + action + '<br>';
|
||||||
|
}
|
||||||
|
this_form.find('.error-message').slideDown().html(msg);
|
||||||
|
}
|
||||||
|
}).fail( function(data){
|
||||||
|
console.log(data);
|
||||||
|
var error_msg = "Form submission failed!<br>";
|
||||||
|
if(data.statusText || data.status) {
|
||||||
|
error_msg += 'Status:';
|
||||||
|
if(data.statusText) {
|
||||||
|
error_msg += ' ' + data.statusText;
|
||||||
|
}
|
||||||
|
if(data.status) {
|
||||||
|
error_msg += ' ' + data.status;
|
||||||
|
}
|
||||||
|
error_msg += '<br>';
|
||||||
|
}
|
||||||
|
if(data.responseText) {
|
||||||
|
error_msg += data.responseText;
|
||||||
|
}
|
||||||
|
this_form.find('.loading').slideUp();
|
||||||
|
this_form.find('.error-message').slideDown().html(error_msg);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
})(jQuery);
|
||||||
@@ -0,0 +1,250 @@
|
|||||||
|
/* ------ venobox.css --------*/
|
||||||
|
.vbox-overlay *, .vbox-overlay *:before, .vbox-overlay *:after{
|
||||||
|
-webkit-backface-visibility: hidden;
|
||||||
|
-webkit-box-sizing:border-box;
|
||||||
|
-moz-box-sizing:border-box;
|
||||||
|
box-sizing:border-box;
|
||||||
|
}
|
||||||
|
.vbox-overlay * {
|
||||||
|
-webkit-backface-visibility: visible;
|
||||||
|
backface-visibility: visible;
|
||||||
|
}
|
||||||
|
.vbox-overlay{
|
||||||
|
display: -webkit-flex;
|
||||||
|
display: flex;
|
||||||
|
-webkit-flex-direction: column;
|
||||||
|
flex-direction: column;
|
||||||
|
-webkit-justify-content: center;
|
||||||
|
justify-content: center;
|
||||||
|
-webkit-align-items: center;
|
||||||
|
align-items: center;
|
||||||
|
position: fixed;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
bottom: 0;
|
||||||
|
right: 0;
|
||||||
|
z-index: 999999;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ----- navigation ----- */
|
||||||
|
.vbox-title{
|
||||||
|
width: 100%;
|
||||||
|
height: 40px;
|
||||||
|
float: left;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 28px;
|
||||||
|
font-size: 12px;
|
||||||
|
padding: 6px 50px;
|
||||||
|
overflow: hidden;
|
||||||
|
position: fixed;
|
||||||
|
display: none;
|
||||||
|
left: 0;
|
||||||
|
z-index: 89;
|
||||||
|
}
|
||||||
|
.vbox-close{
|
||||||
|
cursor: pointer;
|
||||||
|
position: fixed;
|
||||||
|
top: -1px;
|
||||||
|
right: 0;
|
||||||
|
width: 50px;
|
||||||
|
height: 40px;
|
||||||
|
padding: 6px;
|
||||||
|
display: block;
|
||||||
|
background-position:10px center;
|
||||||
|
overflow: hidden;
|
||||||
|
font-size: 24px;
|
||||||
|
line-height: 1;
|
||||||
|
text-align: center;
|
||||||
|
z-index: 99;
|
||||||
|
}
|
||||||
|
.vbox-left{
|
||||||
|
cursor: pointer;
|
||||||
|
position: fixed;
|
||||||
|
left: 0;
|
||||||
|
height: 40px;
|
||||||
|
overflow: hidden;
|
||||||
|
line-height: 28px;
|
||||||
|
font-size: 12px;
|
||||||
|
z-index: 99;
|
||||||
|
display: flex;
|
||||||
|
align-items:center;
|
||||||
|
}
|
||||||
|
.vbox-num{
|
||||||
|
display: inline-block;
|
||||||
|
margin: 6px 0 6px 15px;
|
||||||
|
}
|
||||||
|
/* ----- Social share ----- */
|
||||||
|
.vbox-share{
|
||||||
|
line-height: 28px;
|
||||||
|
font-size: 12px;
|
||||||
|
overflow: hidden;
|
||||||
|
position: fixed;
|
||||||
|
left: 0;
|
||||||
|
z-index: 98;
|
||||||
|
display: flex;
|
||||||
|
align-items:center;
|
||||||
|
justify-content: center;
|
||||||
|
width: 100%;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.vbox-share svg{
|
||||||
|
max-height: 28px;
|
||||||
|
width: 28px;
|
||||||
|
z-index: 10;
|
||||||
|
margin-left: 12px;
|
||||||
|
margin-top: 6px;
|
||||||
|
margin-bottom: 6px;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* ----- navigation ARROWS ----- */
|
||||||
|
.vbox-next, .vbox-prev{
|
||||||
|
position: fixed;
|
||||||
|
top: 50%;
|
||||||
|
margin-top: -15px;
|
||||||
|
overflow: hidden;
|
||||||
|
cursor: pointer;
|
||||||
|
display: block;
|
||||||
|
width: 45px;
|
||||||
|
height: 45px;
|
||||||
|
z-index: 99;
|
||||||
|
}
|
||||||
|
.vbox-next span, .vbox-prev span{
|
||||||
|
position: relative;
|
||||||
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
border: 2px solid transparent;
|
||||||
|
border-top-color: #B6B6B6;
|
||||||
|
border-right-color: #B6B6B6;
|
||||||
|
text-indent: -100px;
|
||||||
|
position: absolute;
|
||||||
|
top: 8px;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
.vbox-prev{
|
||||||
|
left: 15px;
|
||||||
|
}
|
||||||
|
.vbox-next{
|
||||||
|
right: 15px;
|
||||||
|
}
|
||||||
|
.vbox-prev span{
|
||||||
|
left: 10px;
|
||||||
|
-ms-transform: rotate(-135deg);
|
||||||
|
-webkit-transform: rotate(-135deg);
|
||||||
|
transform: rotate(-135deg);
|
||||||
|
}
|
||||||
|
.vbox-next span{
|
||||||
|
-ms-transform: rotate(45deg);
|
||||||
|
-webkit-transform: rotate(45deg);
|
||||||
|
transform: rotate(45deg);
|
||||||
|
right: 10px;
|
||||||
|
}
|
||||||
|
/* ------- inline window ------ */
|
||||||
|
.vbox-inline{
|
||||||
|
width: 420px;
|
||||||
|
height: 315px;
|
||||||
|
height: 70vh;
|
||||||
|
padding: 10px;
|
||||||
|
background: #fff;
|
||||||
|
margin: 0 auto;
|
||||||
|
overflow: auto;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
/* ------- Video & iFrames window ------ */
|
||||||
|
.venoframe{
|
||||||
|
max-width: 100%;
|
||||||
|
width: 100%;
|
||||||
|
border: none;
|
||||||
|
width: 100%;
|
||||||
|
height: 260px;
|
||||||
|
height: 70vh;
|
||||||
|
}
|
||||||
|
.venoframe.vbvid{
|
||||||
|
height: 260px;
|
||||||
|
}
|
||||||
|
@media (min-width: 768px) {
|
||||||
|
.venoframe, .vbox-inline{
|
||||||
|
width: 90%;
|
||||||
|
height: 360px;
|
||||||
|
height: 70vh;
|
||||||
|
}
|
||||||
|
.venoframe.vbvid{
|
||||||
|
width: 640px;
|
||||||
|
height: 360px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (min-width: 992px) {
|
||||||
|
.venoframe, .vbox-inline{
|
||||||
|
max-width: 1200px;
|
||||||
|
width: 80%;
|
||||||
|
height: 540px;
|
||||||
|
height: 70vh;
|
||||||
|
}
|
||||||
|
.venoframe.vbvid{
|
||||||
|
width: 960px;
|
||||||
|
height: 540px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
Please do NOT edit this part!
|
||||||
|
or at least read this note: http://i.imgur.com/7C0ws9e.gif
|
||||||
|
*/
|
||||||
|
.vbox-open{
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.vbox-container{
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
|
bottom: 0;
|
||||||
|
overflow-x: hidden;
|
||||||
|
overflow-y: scroll;
|
||||||
|
overflow-scrolling: touch;
|
||||||
|
-webkit-overflow-scrolling: touch;
|
||||||
|
z-index: 20;
|
||||||
|
max-height: 100%;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.vbox-content{
|
||||||
|
text-align: center;
|
||||||
|
float: left;
|
||||||
|
width: 100%;
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
padding: 20px 4%;
|
||||||
|
}
|
||||||
|
.vbox-container img{
|
||||||
|
max-width: 100%;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
.vbox-figlio{
|
||||||
|
box-shadow: 0 0 12px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
|
||||||
|
max-width: 100%;
|
||||||
|
text-align: initial;
|
||||||
|
}
|
||||||
|
img.vbox-figlio{
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-khtml-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-o-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
.vbox-content.swipe-left{
|
||||||
|
margin-left: -200px !important;
|
||||||
|
}
|
||||||
|
.vbox-content.swipe-right{
|
||||||
|
margin-left: 200px !important;
|
||||||
|
}
|
||||||
|
.vbox-animated{
|
||||||
|
webkit-transition: margin 300ms ease-out;
|
||||||
|
transition: margin 300ms ease-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ---------- preloader ----------
|
||||||
|
* SPINKIT
|
||||||
|
* http://tobiasahlin.com/spinkit/
|
||||||
|
-------------------------------- */
|
||||||
|
.sk-double-bounce,.sk-rotating-plane{width:40px;height:40px;margin:40px auto}.sk-rotating-plane{background-color:#333;-webkit-animation:sk-rotatePlane 1.2s infinite ease-in-out;animation:sk-rotatePlane 1.2s infinite ease-in-out}@-webkit-keyframes sk-rotatePlane{0%{-webkit-transform:perspective(120px) rotateX(0) rotateY(0);transform:perspective(120px) rotateX(0) rotateY(0)}50%{-webkit-transform:perspective(120px) rotateX(-180.1deg) rotateY(0);transform:perspective(120px) rotateX(-180.1deg) rotateY(0)}100%{-webkit-transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg);transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg)}}@keyframes sk-rotatePlane{0%{-webkit-transform:perspective(120px) rotateX(0) rotateY(0);transform:perspective(120px) rotateX(0) rotateY(0)}50%{-webkit-transform:perspective(120px) rotateX(-180.1deg) rotateY(0);transform:perspective(120px) rotateX(-180.1deg) rotateY(0)}100%{-webkit-transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg);transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg)}}.sk-double-bounce{position:relative}.sk-double-bounce .sk-child{width:100%;height:100%;border-radius:50%;background-color:#333;opacity:.6;position:absolute;top:0;left:0;-webkit-animation:sk-doubleBounce 2s infinite ease-in-out;animation:sk-doubleBounce 2s infinite ease-in-out}.sk-chasing-dots .sk-child,.sk-spinner-pulse,.sk-three-bounce .sk-child{background-color:#333;border-radius:100%}.sk-double-bounce .sk-double-bounce2{-webkit-animation-delay:-1s;animation-delay:-1s}@-webkit-keyframes sk-doubleBounce{0%,100%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes sk-doubleBounce{0%,100%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1);transform:scale(1)}}.sk-wave{margin:40px auto;width:50px;height:40px;text-align:center;font-size:10px}.sk-wave .sk-rect{background-color:#333;height:100%;width:6px;display:inline-block;-webkit-animation:sk-waveStretchDelay 1.2s infinite ease-in-out;animation:sk-waveStretchDelay 1.2s infinite ease-in-out}.sk-wave .sk-rect1{-webkit-animation-delay:-1.2s;animation-delay:-1.2s}.sk-wave .sk-rect2{-webkit-animation-delay:-1.1s;animation-delay:-1.1s}.sk-wave .sk-rect3{-webkit-animation-delay:-1s;animation-delay:-1s}.sk-wave .sk-rect4{-webkit-animation-delay:-.9s;animation-delay:-.9s}.sk-wave .sk-rect5{-webkit-animation-delay:-.8s;animation-delay:-.8s}@-webkit-keyframes sk-waveStretchDelay{0%,100%,40%{-webkit-transform:scaleY(.4);transform:scaleY(.4)}20%{-webkit-transform:scaleY(1);transform:scaleY(1)}}@keyframes sk-waveStretchDelay{0%,100%,40%{-webkit-transform:scaleY(.4);transform:scaleY(.4)}20%{-webkit-transform:scaleY(1);transform:scaleY(1)}}.sk-wandering-cubes{margin:40px auto;width:40px;height:40px;position:relative}.sk-wandering-cubes .sk-cube{background-color:#333;width:10px;height:10px;position:absolute;top:0;left:0;-webkit-animation:sk-wanderingCube 1.8s ease-in-out -1.8s infinite both;animation:sk-wanderingCube 1.8s ease-in-out -1.8s infinite both}.sk-chasing-dots,.sk-spinner-pulse{width:40px;height:40px;margin:40px auto}.sk-wandering-cubes .sk-cube2{-webkit-animation-delay:-.9s;animation-delay:-.9s}@-webkit-keyframes sk-wanderingCube{0%{-webkit-transform:rotate(0);transform:rotate(0)}25%{-webkit-transform:translateX(30px) rotate(-90deg) scale(.5);transform:translateX(30px) rotate(-90deg) scale(.5)}50%{-webkit-transform:translateX(30px) translateY(30px) rotate(-179deg);transform:translateX(30px) translateY(30px) rotate(-179deg)}50.1%{-webkit-transform:translateX(30px) translateY(30px) rotate(-180deg);transform:translateX(30px) translateY(30px) rotate(-180deg)}75%{-webkit-transform:translateX(0) translateY(30px) rotate(-270deg) scale(.5);transform:translateX(0) translateY(30px) rotate(-270deg) scale(.5)}100%{-webkit-transform:rotate(-360deg);transform:rotate(-360deg)}}@keyframes sk-wanderingCube{0%{-webkit-transform:rotate(0);transform:rotate(0)}25%{-webkit-transform:translateX(30px) rotate(-90deg) scale(.5);transform:translateX(30px) rotate(-90deg) scale(.5)}50%{-webkit-transform:translateX(30px) translateY(30px) rotate(-179deg);transform:translateX(30px) translateY(30px) rotate(-179deg)}50.1%{-webkit-transform:translateX(30px) translateY(30px) rotate(-180deg);transform:translateX(30px) translateY(30px) rotate(-180deg)}75%{-webkit-transform:translateX(0) translateY(30px) rotate(-270deg) scale(.5);transform:translateX(0) translateY(30px) rotate(-270deg) scale(.5)}100%{-webkit-transform:rotate(-360deg);transform:rotate(-360deg)}}.sk-spinner-pulse{-webkit-animation:sk-pulseScaleOut 1s infinite ease-in-out;animation:sk-pulseScaleOut 1s infinite ease-in-out}@-webkit-keyframes sk-pulseScaleOut{0%{-webkit-transform:scale(0);transform:scale(0)}100%{-webkit-transform:scale(1);transform:scale(1);opacity:0}}@keyframes sk-pulseScaleOut{0%{-webkit-transform:scale(0);transform:scale(0)}100%{-webkit-transform:scale(1);transform:scale(1);opacity:0}}.sk-chasing-dotsLine truncated
|
||||||
@@ -0,0 +1,811 @@
|
|||||||
|
/*
|
||||||
|
* VenoBox - jQuery Plugin
|
||||||
|
* version: 1.9.0
|
||||||
|
* @requires jQuery >= 1.7.0
|
||||||
|
*
|
||||||
|
* Examples at http://veno.es/venobox/
|
||||||
|
* License: MIT License
|
||||||
|
* License URI: https://github.com/nicolafranchini/VenoBox/blob/master/LICENSE
|
||||||
|
* Copyright 2013-2020 Nicola Franchini - @nicolafranchini
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* global jQuery */
|
||||||
|
|
||||||
|
(function($){
|
||||||
|
"use strict";
|
||||||
|
var autoplay, bgcolor, blockleft, blocknum, blockshare, blocktitle, border, core, container, content, dest, extraCss,
|
||||||
|
framewidth, frameheight, gallItems, infinigall, items, keyNavigationDisabled, margine, numeratio,
|
||||||
|
overlayColor, overlay, title, thisgall, thenext, theprev, nextok, prevok, preloader, $preloader, navigation,
|
||||||
|
obj, gallIndex, startouch, vbheader, images, startY, startX, endY, endX, diff, diffX, diffY, threshold,
|
||||||
|
share, sharelinks, vbfooter, sharepos;
|
||||||
|
|
||||||
|
var pinIcon = '<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 24 24"><path d="M12 0c-6.627 0-12 5.372-12 12 0 5.084 3.163 9.426 7.627 11.174-.105-.949-.2-2.405.042-3.441.218-.937 1.407-5.965 1.407-5.965s-.359-.719-.359-1.782c0-1.668.967-2.914 2.171-2.914 1.023 0 1.518.769 1.518 1.69 0 1.029-.655 2.568-.994 3.995-.283 1.194.599 2.169 1.777 2.169 2.133 0 3.772-2.249 3.772-5.495 0-2.873-2.064-4.882-5.012-4.882-3.414 0-5.418 2.561-5.418 5.207 0 1.031.397 2.138.893 2.738.098.119.112.224.083.345l-.333 1.36c-.053.22-.174.267-.402.161-1.499-.698-2.436-2.889-2.436-4.649 0-3.785 2.75-7.262 7.929-7.262 4.163 0 7.398 2.967 7.398 6.931 0 4.136-2.607 7.464-6.227 7.464-1.216 0-2.359-.631-2.75-1.378l-.748 2.853c-.271 1.043-1.002 2.35-1.492 3.146 1.124.347 2.317.535 3.554.535 6.627 0 12-5.373 12-12 0-6.628-5.373-12-12-12z" fill-rule="evenodd" clip-rule="evenodd"/></svg>';
|
||||||
|
var fbIcon = '<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 24 24"><path d="M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm3 8h-1.35c-.538 0-.65.221-.65.778v1.222h2l-.209 2h-1.791v7h-3v-7h-2v-2h2v-2.308c0-1.769.931-2.692 3.029-2.692h1.971v3z"/></svg>';
|
||||||
|
var twitterIcon = '<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 24 24"><path d="M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm6.066 9.645c.183 4.04-2.83 8.544-8.164 8.544-1.622 0-3.131-.476-4.402-1.291 1.524.18 3.045-.244 4.252-1.189-1.256-.023-2.317-.854-2.684-1.995.451.086.895.061 1.298-.049-1.381-.278-2.335-1.522-2.304-2.853.388.215.83.344 1.301.359-1.279-.855-1.641-2.544-.889-3.835 1.416 1.738 3.533 2.881 5.92 3.001-.419-1.796.944-3.527 2.799-3.527.825 0 1.572.349 2.096.907.654-.128 1.27-.368 1.824-.697-.215.671-.67 1.233-1.263 1.589.581-.07 1.135-.224 1.649-.453-.384.578-.87 1.084-1.433 1.489z"/></svg>';
|
||||||
|
var linkedinIcon = '<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 24 24"><path d="M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm-2 16h-2v-6h2v6zm-1-6.891c-.607 0-1.1-.496-1.1-1.109 0-.612.492-1.109 1.1-1.109s1.1.497 1.1 1.109c0 .613-.493 1.109-1.1 1.109zm8 6.891h-1.998v-2.861c0-1.881-2.002-1.722-2.002 0v2.861h-2v-6h2v1.093c.872-1.616 4-1.736 4 1.548v3.359z"/></svg>';
|
||||||
|
var downloadIcon = '<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 24 24"><path d="M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm2 9h-4v-1h4v1zm0-3v1h-4v-1h4zm-2 13l-6-6h4v-3h4v3h4l-6 6z"/></svg>';
|
||||||
|
|
||||||
|
$.fn.extend({
|
||||||
|
//plugin name - venobox
|
||||||
|
venobox: function(options) {
|
||||||
|
var plugin = this;
|
||||||
|
// default options
|
||||||
|
var defaults = {
|
||||||
|
arrowsColor : '#B6B6B6',
|
||||||
|
autoplay : false, // same as data-autoplay - thanks @codibit
|
||||||
|
bgcolor: '#fff',
|
||||||
|
border: '0',
|
||||||
|
closeBackground : 'transparent',
|
||||||
|
closeColor : "#d2d2d2",
|
||||||
|
framewidth: '',
|
||||||
|
frameheight: '',
|
||||||
|
gallItems: false,
|
||||||
|
infinigall: false,
|
||||||
|
htmlClose : '×',
|
||||||
|
htmlNext : '<span>Next</span>',
|
||||||
|
htmlPrev : '<span>Prev</span>',
|
||||||
|
numeratio: false,
|
||||||
|
numerationBackground : '#161617',
|
||||||
|
numerationColor : '#d2d2d2',
|
||||||
|
numerationPosition : 'top', // 'top' || 'bottom'
|
||||||
|
overlayClose: true, // disable overlay click-close - thanx @martybalandis
|
||||||
|
overlayColor : 'rgba(23,23,23,0.85)',
|
||||||
|
spinner : 'double-bounce', // available: 'rotating-plane' | 'double-bounce' | 'wave' | 'wandering-cubes' | 'spinner-pulse' | 'chasing-dots' | 'three-bounce' | 'circle' | 'cube-grid' | 'fading-circle' | 'folding-cube'
|
||||||
|
spinColor : '#d2d2d2',
|
||||||
|
titleattr: 'title', // specific attribute to get a title (e.g. [data-title]) - thanx @mendezcode
|
||||||
|
titleBackground: '#161617',
|
||||||
|
titleColor: '#d2d2d2',
|
||||||
|
titlePosition : 'top', // 'top' || 'bottom'
|
||||||
|
share: [], // ['facebook', 'twitter', 'linkedin', 'pinterest', 'download']
|
||||||
|
cb_pre_open: function(){ return true; }, // Callbacks - thanx @garyee
|
||||||
|
cb_post_open: function(){},
|
||||||
|
cb_pre_close: function(){ return true; },
|
||||||
|
cb_post_close: function(){},
|
||||||
|
cb_post_resize: function(){},
|
||||||
|
cb_after_nav: function(){},
|
||||||
|
cb_content_loaded: function(){},
|
||||||
|
cb_init: function(){}
|
||||||
|
};
|
||||||
|
|
||||||
|
var option = $.extend(defaults, options);
|
||||||
|
|
||||||
|
// callback plugin initialization
|
||||||
|
option.cb_init(plugin);
|
||||||
|
|
||||||
|
return this.each(function() {
|
||||||
|
|
||||||
|
obj = $(this);
|
||||||
|
|
||||||
|
// Prevent double initialization - thanx @matthistuff
|
||||||
|
if (obj.data('venobox')) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
// method to be used outside the plugin
|
||||||
|
plugin.VBclose = function() {
|
||||||
|
closeVbox();
|
||||||
|
};
|
||||||
|
obj.addClass('vbox-item');
|
||||||
|
obj.data('framewidth', option.framewidth);
|
||||||
|
obj.data('frameheight', option.frameheight);
|
||||||
|
obj.data('border', option.border);
|
||||||
|
obj.data('bgcolor', option.bgcolor);
|
||||||
|
obj.data('numeratio', option.numeratio);
|
||||||
|
obj.data('gallItems', option.gallItems);
|
||||||
|
obj.data('infinigall', option.infinigall);
|
||||||
|
obj.data('overlaycolor', option.overlayColor);
|
||||||
|
obj.data('titleattr', option.titleattr);
|
||||||
|
obj.data('share', option.share);
|
||||||
|
|
||||||
|
obj.data('venobox', true);
|
||||||
|
|
||||||
|
obj.on('click', function(e){
|
||||||
|
|
||||||
|
e.preventDefault();
|
||||||
|
obj = $(this);
|
||||||
|
|
||||||
|
// callback plugin initialization
|
||||||
|
var cb_pre_open = option.cb_pre_open(obj);
|
||||||
|
|
||||||
|
if (cb_pre_open === false) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
// methods to be used outside the plugin
|
||||||
|
plugin.VBnext = function() {
|
||||||
|
navigateGall(thenext);
|
||||||
|
};
|
||||||
|
plugin.VBprev = function() {
|
||||||
|
navigateGall(theprev);
|
||||||
|
};
|
||||||
|
|
||||||
|
overlayColor = obj.data('overlay') || obj.data('overlaycolor');
|
||||||
|
|
||||||
|
framewidth = obj.data('framewidth');
|
||||||
|
frameheight = obj.data('frameheight');
|
||||||
|
// set data-autoplay="true" for vimeo and youtube videos - thanx @zehfernandes
|
||||||
|
autoplay = obj.data('autoplay') || option.autoplay;
|
||||||
|
border = obj.data('border');
|
||||||
|
bgcolor = obj.data('bgcolor');
|
||||||
|
nextok = false;
|
||||||
|
prevok = false;
|
||||||
|
keyNavigationDisabled = false;
|
||||||
|
|
||||||
|
// set a different url to be loaded using data-href="" - thanx @pixeline
|
||||||
|
dest = obj.data('href') || obj.attr('href');
|
||||||
|
extraCss = obj.data( 'css' ) || '';
|
||||||
|
title = obj.attr(obj.data('titleattr')) || '';
|
||||||
|
share = obj.data('share');
|
||||||
|
|
||||||
|
preloader = '<div class="vbox-preloader">';
|
||||||
|
|
||||||
|
switch (option.spinner) {
|
||||||
|
|
||||||
|
case 'rotating-plane':
|
||||||
|
preloader += '<div class="sk-rotating-plane"></div>';
|
||||||
|
break;
|
||||||
|
case 'double-bounce':
|
||||||
|
preloader += '<div class="sk-double-bounce">'+
|
||||||
|
'<div class="sk-child sk-double-bounce1"></div>'+
|
||||||
|
'<div class="sk-child sk-double-bounce2"></div>'+
|
||||||
|
'</div>';
|
||||||
|
break;
|
||||||
|
case 'wave':
|
||||||
|
preloader += '<div class="sk-wave">'+
|
||||||
|
'<div class="sk-rect sk-rect1"></div>'+
|
||||||
|
'<div class="sk-rect sk-rect2"></div>'+
|
||||||
|
'<div class="sk-rect sk-rect3"></div>'+
|
||||||
|
'<div class="sk-rect sk-rect4"></div>'+
|
||||||
|
'<div class="sk-rect sk-rect5"></div>'+
|
||||||
|
'</div>';
|
||||||
|
break;
|
||||||
|
case 'wandering-cubes':
|
||||||
|
preloader += '<div class="sk-wandering-cubes">'+
|
||||||
|
'<div class="sk-cube sk-cube1"></div>'+
|
||||||
|
'<div class="sk-cube sk-cube2"></div>'+
|
||||||
|
'</div>';
|
||||||
|
break;
|
||||||
|
case 'spinner-pulse':
|
||||||
|
preloader += '<div class="sk-spinner sk-spinner-pulse"></div>';
|
||||||
|
break;
|
||||||
|
case 'chasing-dots':
|
||||||
|
preloader += '<div class="sk-chasing-dots">'+
|
||||||
|
'<div class="sk-child sk-dot1"></div>'+
|
||||||
|
'<div class="sk-child sk-dot2"></div>'+
|
||||||
|
'</div>';
|
||||||
|
break;
|
||||||
|
case 'three-bounce':
|
||||||
|
preloader += '<div class="sk-three-bounce">'+
|
||||||
|
'<div class="sk-child sk-bounce1"></div>'+
|
||||||
|
'<div class="sk-child sk-bounce2"></div>'+
|
||||||
|
'<div class="sk-child sk-bounce3"></div>'+
|
||||||
|
'</div>';
|
||||||
|
break;
|
||||||
|
case 'circle':
|
||||||
|
preloader += '<div class="sk-circle">'+
|
||||||
|
'<div class="sk-circle1 sk-child"></div>'+
|
||||||
|
'<div class="sk-circle2 sk-child"></div>'+
|
||||||
|
'<div class="sk-circle3 sk-child"></div>'+
|
||||||
|
'<div class="sk-circle4 sk-child"></div>'+
|
||||||
|
'<div class="sk-circle5 sk-child"></div>'+
|
||||||
|
'<div class="sk-circle6 sk-child"></div>'+
|
||||||
|
'<div class="sk-circle7 sk-child"></div>'+
|
||||||
|
'<div class="sk-circle8 sk-child"></div>'+
|
||||||
|
'<div class="sk-circle9 sk-child"></div>'+
|
||||||
|
'<div class="sk-circle10 sk-child"></div>'+
|
||||||
|
'<div class="sk-circle11 sk-child"></div>'+
|
||||||
|
'<div class="sk-circle12 sk-child"></div>'+
|
||||||
|
'</div>';
|
||||||
|
break;
|
||||||
|
case 'cube-grid':
|
||||||
|
preloader += '<div class="sk-cube-grid">'+
|
||||||
|
'<div class="sk-cube sk-cube1"></div>'+
|
||||||
|
'<div class="sk-cube sk-cube2"></div>'+
|
||||||
|
'<div class="sk-cube sk-cube3"></div>'+
|
||||||
|
'<div class="sk-cube sk-cube4"></div>'+
|
||||||
|
'<div class="sk-cube sk-cube5"></div>'+
|
||||||
|
'<div class="sk-cube sk-cube6"></div>'+
|
||||||
|
'<div class="sk-cube sk-cube7"></div>'+
|
||||||
|
'<div class="sk-cube sk-cube8"></div>'+
|
||||||
|
'<div class="sk-cube sk-cube9"></div>'+
|
||||||
|
'</div>';
|
||||||
|
break;
|
||||||
|
case 'fading-circle':
|
||||||
|
preloader += '<div class="sk-fading-circle">'+
|
||||||
|
'<div class="sk-circle1 sk-circle"></div>'+
|
||||||
|
'<div class="sk-circle2 sk-circle"></div>'+
|
||||||
|
'<div class="sk-circle3 sk-circle"></div>'+
|
||||||
|
'<div class="sk-circle4 sk-circle"></div>'+
|
||||||
|
'<div class="sk-circle5 sk-circle"></div>'+
|
||||||
|
'<div class="sk-circle6 sk-circle"></div>'+
|
||||||
|
'<div class="sk-circle7 sk-circle"></div>'+
|
||||||
|
'<div class="sk-circle8 sk-circle"></div>'+
|
||||||
|
'<div class="sk-circle9 sk-circle"></div>'+
|
||||||
|
'<div class="sk-circle10 sk-circle"></div>'+
|
||||||
|
'<div class="sk-circle11 sk-circle"></div>'+
|
||||||
|
'<div class="sk-circle12 sk-circle"></div>'+
|
||||||
|
'</div>';
|
||||||
|
break;
|
||||||
|
case 'folding-cube':
|
||||||
|
preloader += '<div class="sk-folding-cube">'+
|
||||||
|
'<div class="sk-cube1 sk-cube"></div>'+
|
||||||
|
'<div class="sk-cube2 sk-cube"></div>'+
|
||||||
|
'<div class="sk-cube4 sk-cube"></div>'+
|
||||||
|
'<div class="sk-cube3 sk-cube"></div>'+
|
||||||
|
'</div>';
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
preloader += '</div>';
|
||||||
|
|
||||||
|
navigation = '<a class="vbox-next">' + option.htmlNext + '</a><a class="vbox-prev">' + option.htmlPrev + '</a>';
|
||||||
|
vbheader = '<div class="vbox-title"></div><div class="vbox-left"><div class="vbox-num">0/0</div></div><div class="vbox-close">' + option.htmlClose + '</div>';
|
||||||
|
vbfooter = '<div class="vbox-share"></div>';
|
||||||
|
|
||||||
|
core = '<div class="vbox-overlay ' + extraCss + '" style="background:'+ overlayColor +'">'+
|
||||||
|
preloader + '<div class="vbox-container"><div class="vbox-content"></div></div>' + vbheader + navigation + vbfooter + '</div>';
|
||||||
|
|
||||||
|
$('body').append(core).addClass('vbox-open');
|
||||||
|
|
||||||
|
$('.vbox-preloader div:not(.sk-circle) .sk-child, .vbox-preloader .sk-rotating-plane, .vbox-preloader .sk-rect, .vbox-preloader div:not(.sk-folding-cube) .sk-cube, .vbox-preloader .sk-spinner-pulse').css('background-color', option.spinColor);
|
||||||
|
|
||||||
|
overlay = $('.vbox-overlay');
|
||||||
|
container = $('.vbox-container');
|
||||||
|
content = $('.vbox-content');
|
||||||
|
blockleft = $('.vbox-left');
|
||||||
|
blocknum = $('.vbox-num');
|
||||||
|
blockshare = $('.vbox-share');
|
||||||
|
blocktitle = $('.vbox-title');
|
||||||
|
$preloader = $('.vbox-preloader');
|
||||||
|
|
||||||
|
$preloader.show();
|
||||||
|
|
||||||
|
if (option.titlePosition == 'top') {
|
||||||
|
sharepos = 'bottom';
|
||||||
|
} else {
|
||||||
|
sharepos = 'top';
|
||||||
|
}
|
||||||
|
blockshare.css(sharepos, '-1px');
|
||||||
|
blockshare.css({
|
||||||
|
'color' : option.titleColor,
|
||||||
|
'fill' : option.titleColor,
|
||||||
|
'background-color' : option.titleBackground
|
||||||
|
});
|
||||||
|
|
||||||
|
blocktitle.css(option.titlePosition, '-1px',);
|
||||||
|
|
||||||
|
blocktitle.css({
|
||||||
|
'color' : option.titleColor,
|
||||||
|
'background-color' : option.titleBackground
|
||||||
|
});
|
||||||
|
|
||||||
|
$('.vbox-close').css({
|
||||||
|
'color' : option.closeColor,
|
||||||
|
'background-color' : option.closeBackground
|
||||||
|
});
|
||||||
|
|
||||||
|
blockleft.css(option.numerationPosition, '-1px');
|
||||||
|
blockleft.css({
|
||||||
|
'color' : option.numerationColor,
|
||||||
|
'background-color' : option.numerationBackground
|
||||||
|
});
|
||||||
|
|
||||||
|
$('.vbox-next span, .vbox-prev span').css({
|
||||||
|
'border-top-color' : option.arrowsColor,
|
||||||
|
'border-right-color' : option.arrowsColor
|
||||||
|
});
|
||||||
|
|
||||||
|
content.html('');
|
||||||
|
content.css('opacity', '0');
|
||||||
|
overlay.css('opacity', '0');
|
||||||
|
|
||||||
|
checknav();
|
||||||
|
|
||||||
|
// fade in overlay
|
||||||
|
overlay.animate({opacity:1}, 250, function(){
|
||||||
|
|
||||||
|
if (obj.data('vbtype') == 'iframe') {
|
||||||
|
loadIframe();
|
||||||
|
} else if (obj.data('vbtype') == 'inline') {
|
||||||
|
loadInline();
|
||||||
|
} else if (obj.data('vbtype') == 'ajax') {
|
||||||
|
loadAjax();
|
||||||
|
} else if (obj.data('vbtype') == 'video') {
|
||||||
|
loadVid(autoplay);
|
||||||
|
} else {
|
||||||
|
content.html('<img src="'+dest+'">');
|
||||||
|
preloadFirst();
|
||||||
|
}
|
||||||
|
option.cb_post_open(obj, gallIndex, thenext, theprev);
|
||||||
|
});
|
||||||
|
|
||||||
|
/* -------- KEYBOARD ACTIONS -------- */
|
||||||
|
$('body').keydown(keyboardHandler);
|
||||||
|
|
||||||
|
/* -------- PREVGALL -------- */
|
||||||
|
$('.vbox-prev').on('click', function(){
|
||||||
|
navigateGall(theprev);
|
||||||
|
});
|
||||||
|
/* -------- NEXTGALL -------- */
|
||||||
|
$('.vbox-next').on('click', function(){
|
||||||
|
navigateGall(thenext);
|
||||||
|
});
|
||||||
|
|
||||||
|
return false;
|
||||||
|
|
||||||
|
}); // click
|
||||||
|
|
||||||
|
/* -------- CHECK NEXT / PREV -------- */
|
||||||
|
function checknav(){
|
||||||
|
|
||||||
|
thisgall = obj.data('gall');
|
||||||
|
numeratio = obj.data('numeratio');
|
||||||
|
gallItems = obj.data('gallItems');
|
||||||
|
infinigall = obj.data('infinigall');
|
||||||
|
share = obj.data('share');
|
||||||
|
blockshare.html('');
|
||||||
|
if ( obj.data('vbtype') !== 'iframe' && obj.data('vbtype') !== 'inline' && obj.data('vbtype') !== 'ajax' ) {
|
||||||
|
sharelinks = {
|
||||||
|
pinterest : '<a target="_blank" href="https://pinterest.com/pin/create/button/?url='+obj.prop('href')+'&media='+obj.prop('href')+'&description='+title+'">'+pinIcon+'</a>',
|
||||||
|
facebook : '<a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u='+obj.prop('href')+'">'+fbIcon+'</a>',
|
||||||
|
twitter : '<a target="_blank" href="https://twitter.com/intent/tweet?text='+title+'&url='+obj.prop('href')+'">'+twitterIcon+'</a>',
|
||||||
|
linkedin : '<a target="_blank" href="https://www.linkedin.com/sharing/share-offsite/?url='+obj.prop('href')+'">'+linkedinIcon+'</a>',
|
||||||
|
download : '<a target="_blank" href="'+obj.prop('href')+'">'+downloadIcon+'</a>'
|
||||||
|
};
|
||||||
|
$.each( share, function( key, value ) {
|
||||||
|
blockshare.append(sharelinks[value]);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
if (gallItems) {
|
||||||
|
items = gallItems;
|
||||||
|
} else {
|
||||||
|
items = $('.vbox-item[data-gall="' + thisgall + '"]');
|
||||||
|
}
|
||||||
|
|
||||||
|
if (items.length < 2) {
|
||||||
|
infinigall = false;
|
||||||
|
numeratio = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
thenext = items.eq( items.index(obj) + 1 );
|
||||||
|
theprev = items.eq( items.index(obj) - 1 );
|
||||||
|
|
||||||
|
if (!thenext.length && infinigall === true) {
|
||||||
|
thenext = items.eq(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
// update gall numeration
|
||||||
|
if (items.length >= 1) {
|
||||||
|
gallIndex = items.index(obj)+1;
|
||||||
|
blocknum.html(gallIndex + ' / ' + items.length);
|
||||||
|
} else {
|
||||||
|
gallIndex = 1;
|
||||||
|
}
|
||||||
|
if (numeratio === true) {
|
||||||
|
blocknum.show();
|
||||||
|
} else {
|
||||||
|
blocknum.hide();
|
||||||
|
}
|
||||||
|
|
||||||
|
// update title
|
||||||
|
if (title !== '') {
|
||||||
|
blocktitle.show();
|
||||||
|
} else {
|
||||||
|
blocktitle.hide();
|
||||||
|
}
|
||||||
|
|
||||||
|
// update navigation arrows
|
||||||
|
if (!thenext.length && infinigall !== true) {
|
||||||
|
$('.vbox-next').css('display', 'none');
|
||||||
|
nextok = false;
|
||||||
|
} else {
|
||||||
|
$('.vbox-next').css('display', 'block');
|
||||||
|
nextok = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (items.index(obj) > 0 || infinigall === true) {
|
||||||
|
$('.vbox-prev').css('display', 'block');
|
||||||
|
prevok = true;
|
||||||
|
} else {
|
||||||
|
$('.vbox-prev').css('display', 'none');
|
||||||
|
prevok = false;
|
||||||
|
}
|
||||||
|
// activate swipe
|
||||||
|
if (prevok === true || nextok === true) {
|
||||||
|
content.on(TouchMouseEvent.DOWN, onDownEvent);
|
||||||
|
content.on(TouchMouseEvent.MOVE, onMoveEvent);
|
||||||
|
content.on(TouchMouseEvent.UP, onUpEvent);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* -------- gallery navigation -------- */
|
||||||
|
function navigateGall(destination) {
|
||||||
|
|
||||||
|
if (destination.length < 1) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (keyNavigationDisabled) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
keyNavigationDisabled = true;
|
||||||
|
|
||||||
|
overlayColor = destination.data('overlay') || destination.data('overlaycolor');
|
||||||
|
|
||||||
|
framewidth = destination.data('framewidth');
|
||||||
|
frameheight = destination.data('frameheight');
|
||||||
|
border = destination.data('border');
|
||||||
|
bgcolor = destination.data('bgcolor');
|
||||||
|
dest = destination.data('href') || destination.attr('href');
|
||||||
|
|
||||||
|
autoplay = destination.data('autoplay');
|
||||||
|
|
||||||
|
title = (destination.data('titleattr') && destination.attr(destination.data('titleattr'))) || '';
|
||||||
|
|
||||||
|
// swipe out item
|
||||||
|
if (destination === theprev) {
|
||||||
|
content.addClass('vbox-animated').addClass('swipe-right');
|
||||||
|
}
|
||||||
|
if (destination === thenext) {
|
||||||
|
content.addClass('vbox-animated').addClass('swipe-left');
|
||||||
|
}
|
||||||
|
|
||||||
|
$preloader.show();
|
||||||
|
|
||||||
|
content.animate({
|
||||||
|
opacity : 0,
|
||||||
|
}, 500, function(){
|
||||||
|
|
||||||
|
overlay.css('background',overlayColor);
|
||||||
|
|
||||||
|
content
|
||||||
|
.removeClass('vbox-animated')
|
||||||
|
.removeClass('swipe-left')
|
||||||
|
.removeClass('swipe-right')
|
||||||
|
.css({'margin-left': 0,'margin-right': 0});
|
||||||
|
|
||||||
|
if (destination.data('vbtype') == 'iframe') {
|
||||||
|
loadIframe();
|
||||||
|
} else if (destination.data('vbtype') == 'inline') {
|
||||||
|
loadInline();
|
||||||
|
} else if (destination.data('vbtype') == 'ajax') {
|
||||||
|
loadAjax();
|
||||||
|
} else if (destination.data('vbtype') == 'video') {
|
||||||
|
loadVid(autoplay);
|
||||||
|
} else {
|
||||||
|
content.html('<img src="'+dest+'">');
|
||||||
|
preloadFirst();
|
||||||
|
}
|
||||||
|
obj = destination;
|
||||||
|
checknav();
|
||||||
|
keyNavigationDisabled = false;
|
||||||
|
option.cb_after_nav(obj, gallIndex, thenext, theprev);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/* -------- KEYBOARD HANDLER -------- */
|
||||||
|
function keyboardHandler(e) {
|
||||||
|
if (e.keyCode === 27) { // esc
|
||||||
|
closeVbox();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (e.keyCode == 37 && prevok === true) { // left
|
||||||
|
navigateGall(theprev);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (e.keyCode == 39 && nextok === true) { // right
|
||||||
|
navigateGall(thenext);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* -------- CLOSE VBOX -------- */
|
||||||
|
function closeVbox(){
|
||||||
|
|
||||||
|
var cb_pre_close = option.cb_pre_close(obj, gallIndex, thenext, theprev);
|
||||||
|
|
||||||
|
if (cb_pre_close === false) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
$('body').off('keydown', keyboardHandler).removeClass('vbox-open');
|
||||||
|
|
||||||
|
obj.focus();
|
||||||
|
|
||||||
|
overlay.animate({opacity:0}, 500, function(){
|
||||||
|
overlay.remove();
|
||||||
|
keyNavigationDisabled = false;
|
||||||
|
option.cb_post_close();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/* -------- CLOSE CLICK -------- */
|
||||||
|
var closeclickclass = '.vbox-overlay';
|
||||||
|
if(!option.overlayClose){
|
||||||
|
closeclickclass = '.vbox-close'; // close only on X
|
||||||
|
}
|
||||||
|
|
||||||
|
$('body').on('click touchstart', closeclickclass, function(e){
|
||||||
|
if ($(e.target).is('.vbox-overlay') ||
|
||||||
|
$(e.target).is('.vbox-content') ||
|
||||||
|
$(e.target).is('.vbox-close') ||
|
||||||
|
$(e.target).is('.vbox-preloader') ||
|
||||||
|
$(e.target).is('.vbox-container')
|
||||||
|
) {
|
||||||
|
closeVbox();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
startX = 0;
|
||||||
|
endX = 0;
|
||||||
|
|
||||||
|
diff = 0;
|
||||||
|
threshold = 50;
|
||||||
|
startouch = false;
|
||||||
|
|
||||||
|
function onDownEvent(e){
|
||||||
|
content.addClass('vbox-animated');
|
||||||
|
startY = endY = e.pageY;
|
||||||
|
startX = endX = e.pageX;
|
||||||
|
startouch = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
function onMoveEvent(e){
|
||||||
|
if (startouch === true) {
|
||||||
|
endX = e.pageX;
|
||||||
|
endY = e.pageY;
|
||||||
|
|
||||||
|
diffX = endX - startX;
|
||||||
|
diffY = endY - startY;
|
||||||
|
|
||||||
|
var absdiffX = Math.abs(diffX);
|
||||||
|
var absdiffY = Math.abs(diffY);
|
||||||
|
|
||||||
|
if ((absdiffX > absdiffY) && (absdiffX <= 100)) {
|
||||||
|
e.preventDefault();
|
||||||
|
content.css('margin-left', diffX);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function onUpEvent(e){
|
||||||
|
if (startouch === true) {
|
||||||
|
startouch = false;
|
||||||
|
var subject = obj;
|
||||||
|
var change = false;
|
||||||
|
diff = endX - startX;
|
||||||
|
|
||||||
|
if (diff < 0 && nextok === true) {
|
||||||
|
subject = thenext;
|
||||||
|
change = true;
|
||||||
|
}
|
||||||
|
if (diff > 0 && prevok === true) {
|
||||||
|
subject = theprev;
|
||||||
|
change = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (Math.abs(diff) >= threshold && change === true) {
|
||||||
|
navigateGall(subject);
|
||||||
|
} else {
|
||||||
|
content.css({'margin-left': 0,'margin-right': 0});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* == GLOBAL DECLERATIONS == */
|
||||||
|
var TouchMouseEvent = {
|
||||||
|
DOWN: "touchmousedown",
|
||||||
|
UP: "touchmouseup",
|
||||||
|
MOVE: "touchmousemove"
|
||||||
|
};
|
||||||
|
|
||||||
|
/* == EVENT LISTENERS == */
|
||||||
|
var onMouseEvent = function(event) {
|
||||||
|
var type;
|
||||||
|
switch (event.type) {
|
||||||
|
case "mousedown": type = TouchMouseEvent.DOWN; break;
|
||||||
|
case "mouseup": type = TouchMouseEvent.UP; break;
|
||||||
|
case "mouseout": type = TouchMouseEvent.UP; break;
|
||||||
|
case "mousemove": type = TouchMouseEvent.MOVE; break;
|
||||||
|
default:
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
var touchMouseEvent = normalizeEvent(type, event, event.pageX, event.pageY);
|
||||||
|
$(event.target).trigger(touchMouseEvent);
|
||||||
|
};
|
||||||
|
|
||||||
|
var onTouchEvent = function(event) {
|
||||||
|
var type;
|
||||||
|
switch (event.type) {
|
||||||
|
case "touchstart": type = TouchMouseEvent.DOWN; break;
|
||||||
|
case "touchend": type = TouchMouseEvent.UP; break;
|
||||||
|
case "touchmove": type = TouchMouseEvent.MOVE; break;
|
||||||
|
default:
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
var touch = event.originalEvent.touches[0];
|
||||||
|
var touchMouseEvent;
|
||||||
|
|
||||||
|
if (type == TouchMouseEvent.UP) {
|
||||||
|
touchMouseEvent = normalizeEvent(type, event, null, null);
|
||||||
|
} else {
|
||||||
|
touchMouseEvent = normalizeEvent(type, event, touch.pageX, touch.pageY);
|
||||||
|
}
|
||||||
|
$(event.target).trigger(touchMouseEvent);
|
||||||
|
};
|
||||||
|
|
||||||
|
/* == NORMALIZE == */
|
||||||
|
var normalizeEvent = function(type, original, x, y) {
|
||||||
|
return $.Event(type, {
|
||||||
|
pageX: x,
|
||||||
|
pageY: y,
|
||||||
|
originalEvent: original
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/* == LISTEN TO ORIGINAL EVENT == */
|
||||||
|
if ("ontouchstart" in window) {
|
||||||
|
$(document).on("touchstart", onTouchEvent);
|
||||||
|
$(document).on("touchmove", onTouchEvent);
|
||||||
|
$(document).on("touchend", onTouchEvent);
|
||||||
|
} else {
|
||||||
|
$(document).on("mousedown", onMouseEvent);
|
||||||
|
$(document).on("mouseup", onMouseEvent);
|
||||||
|
$(document).on("mouseout", onMouseEvent);
|
||||||
|
$(document).on("mousemove", onMouseEvent);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* -------- LOAD AJAX -------- */
|
||||||
|
function loadAjax(){
|
||||||
|
$.ajax({
|
||||||
|
url: dest,
|
||||||
|
cache: false
|
||||||
|
}).done(function( msg ) {
|
||||||
|
content.html('<div class="vbox-inline">'+ msg +'</div>');
|
||||||
|
preloadFirst();
|
||||||
|
|
||||||
|
}).fail(function() {
|
||||||
|
content.html('<div class="vbox-inline"><p>Error retrieving contents, please retry</div>');
|
||||||
|
updateoverlay();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/* -------- LOAD IFRAME -------- */
|
||||||
|
function loadIframe(){
|
||||||
|
content.html('<iframe class="venoframe" src="'+dest+'"></iframe>');
|
||||||
|
// $('.venoframe').load(function(){ // valid only for iFrames in same domain
|
||||||
|
updateoverlay();
|
||||||
|
// });
|
||||||
|
}
|
||||||
|
|
||||||
|
/* -------- LOAD VIDEOs -------- */
|
||||||
|
function loadVid(autoplay){
|
||||||
|
|
||||||
|
var player;
|
||||||
|
var videoObj = parseVideo(dest);
|
||||||
|
|
||||||
|
// set rel=0 to hide related videos at the end of YT + optional autoplay
|
||||||
|
var stringAutoplay = autoplay ? "?rel=0&autoplay=1" : "?rel=0";
|
||||||
|
var queryvars = stringAutoplay + getUrlParameter(dest);
|
||||||
|
|
||||||
|
if (videoObj.type == 'vimeo') {
|
||||||
|
player = 'https://player.vimeo.com/video/';
|
||||||
|
} else if (videoObj.type == 'youtube') {
|
||||||
|
player = 'https://www.youtube.com/embed/';
|
||||||
|
}
|
||||||
|
content.html('<iframe class="venoframe vbvid" webkitallowfullscreen mozallowfullscreen allowfullscreen allow="autoplay" frameborder="0" src="'+player+videoObj.id+queryvars+'"></iframe>');
|
||||||
|
updateoverlay();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Parse Youtube or Vimeo videos and get host & ID
|
||||||
|
*/
|
||||||
|
function parseVideo (url) {
|
||||||
|
url.match(/(http:|https:|)\/\/(player.|www.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com))\/(video\/|embed\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/);
|
||||||
|
var type;
|
||||||
|
if (RegExp.$3.indexOf('youtu') > -1) {
|
||||||
|
type = 'youtube';
|
||||||
|
} else if (RegExp.$3.indexOf('vimeo') > -1) {
|
||||||
|
type = 'vimeo';
|
||||||
|
}
|
||||||
|
return {
|
||||||
|
type: type,
|
||||||
|
id: RegExp.$6
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* get additional video url parameters
|
||||||
|
*/
|
||||||
|
function getUrlParameter(name) {
|
||||||
|
var result = '';
|
||||||
|
var sPageURL = decodeURIComponent(name);
|
||||||
|
var firstsplit = sPageURL.split('?');
|
||||||
|
|
||||||
|
if (firstsplit[1] !== undefined) {
|
||||||
|
var sURLVariables = firstsplit[1].split('&');
|
||||||
|
var sParameterName;
|
||||||
|
var i;
|
||||||
|
for (i = 0; i < sURLVariables.length; i++) {
|
||||||
|
sParameterName = sURLVariables[i].split('=');
|
||||||
|
result = result + '&'+ sParameterName[0]+'='+ sParameterName[1];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return encodeURI(result);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* -------- LOAD INLINE -------- */
|
||||||
|
function loadInline(){
|
||||||
|
content.html('<div class="vbox-inline">'+$(dest).html()+'</div>');
|
||||||
|
updateoverlay();
|
||||||
|
}
|
||||||
|
|
||||||
|
/* -------- PRELOAD IMAGE -------- */
|
||||||
|
function preloadFirst(){
|
||||||
|
images = content.find('img');
|
||||||
|
|
||||||
|
if (images.length) {
|
||||||
|
images.each(function(){
|
||||||
|
$(this).one('load', function() {
|
||||||
|
updateoverlay();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
updateoverlay();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* -------- FADE-IN THE NEW CONTENT -------- */
|
||||||
|
function updateoverlay(){
|
||||||
|
|
||||||
|
blocktitle.html(title);
|
||||||
|
content.find(">:first-child").addClass('vbox-figlio').css({
|
||||||
|
'width': framewidth,
|
||||||
|
'height': frameheight,
|
||||||
|
'padding': border,
|
||||||
|
'background': bgcolor
|
||||||
|
});
|
||||||
|
|
||||||
|
$('img.vbox-figlio').on('dragstart', function(event) {
|
||||||
|
event.preventDefault();
|
||||||
|
});
|
||||||
|
|
||||||
|
// reset content scroll
|
||||||
|
container.scrollTop(0);
|
||||||
|
|
||||||
|
updateOL();
|
||||||
|
|
||||||
|
content.animate({
|
||||||
|
'opacity': '1'
|
||||||
|
},'slow', function(){
|
||||||
|
$preloader.hide();
|
||||||
|
});
|
||||||
|
|
||||||
|
option.cb_content_loaded(obj, gallIndex, thenext, theprev);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* -------- CENTER FRAME -------- */
|
||||||
|
function updateOL(){
|
||||||
|
|
||||||
|
var sonH = content.outerHeight();
|
||||||
|
var finH = $(window).height();
|
||||||
|
|
||||||
|
if (sonH + 60 < finH) {
|
||||||
|
margine = (finH - sonH)/2;
|
||||||
|
} else {
|
||||||
|
margine = '30px';
|
||||||
|
}
|
||||||
|
content.css('margin-top', margine);
|
||||||
|
content.css('margin-bottom', margine);
|
||||||
|
option.cb_post_resize();
|
||||||
|
}
|
||||||
|
|
||||||
|
$(window).resize(function(){
|
||||||
|
if($('.vbox-content').length){
|
||||||
|
setTimeout(updateOL(), 800);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}); // each
|
||||||
|
} // venobox
|
||||||
|
}); // extend
|
||||||
|
})(jQuery);
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
.vbox-overlay *,.vbox-overlay :after,.vbox-overlay :before{-webkit-backface-visibility:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.vbox-overlay *{-webkit-backface-visibility:visible;backface-visibility:visible}.vbox-overlay{display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;-webkit-justify-content:center;justify-content:center;-webkit-align-items:center;align-items:center;position:fixed;left:0;top:0;bottom:0;right:0;z-index:999999}.vbox-title{width:100%;height:40px;float:left;text-align:center;line-height:28px;font-size:12px;padding:6px 50px;overflow:hidden;position:fixed;display:none;left:0;z-index:89}.vbox-close{cursor:pointer;position:fixed;top:-1px;right:0;width:50px;height:40px;padding:6px;display:block;background-position:10px center;overflow:hidden;font-size:24px;line-height:1;text-align:center;z-index:99}.vbox-left{cursor:pointer;position:fixed;left:0;height:40px;overflow:hidden;line-height:28px;font-size:12px;z-index:99;display:flex;align-items:center}.vbox-num{display:inline-block;margin:6px 0 6px 15px}.vbox-share{line-height:28px;font-size:12px;overflow:hidden;position:fixed;left:0;z-index:98;display:flex;align-items:center;justify-content:center;width:100%;text-align:center}.vbox-share svg{max-height:28px;width:28px;z-index:10;margin-left:12px;margin-top:6px;margin-bottom:6px;vertical-align:middle}.vbox-next,.vbox-prev{position:fixed;top:50%;margin-top:-15px;overflow:hidden;cursor:pointer;display:block;width:45px;height:45px;z-index:99}.vbox-next span,.vbox-prev span{position:relative;width:20px;height:20px;border:2px solid transparent;border-top-color:#b6b6b6;border-right-color:#b6b6b6;text-indent:-100px;position:absolute;top:8px;display:block}.vbox-prev{left:15px}.vbox-next{right:15px}.vbox-prev span{left:10px;-ms-transform:rotate(-135deg);-webkit-transform:rotate(-135deg);transform:rotate(-135deg)}.vbox-next span{-ms-transform:rotate(45deg);-webkit-transform:rotate(45deg);transform:rotate(45deg);right:10px}.vbox-inline{width:420px;height:315px;height:70vh;padding:10px;background:#fff;margin:0 auto;overflow:auto;text-align:left}.venoframe{max-width:100%;width:100%;border:none;width:100%;height:260px;height:70vh}.venoframe.vbvid{height:260px}@media (min-width:768px){.vbox-inline,.venoframe{width:90%;height:360px;height:70vh}.venoframe.vbvid{width:640px;height:360px}}@media (min-width:992px){.vbox-inline,.venoframe{max-width:1200px;width:80%;height:540px;height:70vh}.venoframe.vbvid{width:960px;height:540px}}.vbox-open{overflow:hidden}.vbox-container{position:absolute;left:0;right:0;top:0;bottom:0;overflow-x:hidden;overflow-y:scroll;overflow-scrolling:touch;-webkit-overflow-scrolling:touch;z-index:20;max-height:100%}.vbox-content{text-align:center;float:left;width:100%;position:relative;overflow:hidden;padding:20px 4%}.vbox-container img{max-width:100%;height:auto}.vbox-figlio{box-shadow:0 0 12px rgba(0,0,0,.19),0 6px 6px rgba(0,0,0,.23);max-width:100%;text-align:initial}img.vbox-figlio{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none}.vbox-content.swipe-left{margin-left:-200px!important}.vbox-content.swipe-right{margin-left:200px!important}.vbox-animated{webkit-transition:margin .3s ease-out;transition:margin .3s ease-out}.sk-double-bounce,.sk-rotating-plane{width:40px;height:40px;margin:40px auto}.sk-rotating-plane{background-color:#333;-webkit-animation:sk-rotatePlane 1.2s infinite ease-in-out;animation:sk-rotatePlane 1.2s infinite ease-in-out}@-webkit-keyframes sk-rotatePlane{0%{-webkit-transform:perspective(120px) rotateX(0) rotateY(0);transform:perspective(120px) rotateX(0) rotateY(0)}50%{-webkit-transform:perspective(120px) rotateX(-180.1deg) rotateY(0);transform:perspective(120px) rotateX(-180.1deg) rotateY(0)}100%{-webkit-transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg);transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg)}}@keyframes sk-rotatePlane{0%{-webkit-transform:perspective(120px) rotateX(0) rotateY(0);transform:perspective(120px) rotateX(0) rotateY(0)}50%{-webkit-transform:perspective(120px) rotateX(-180.1deg) rotateY(0);transform:perspective(120px) rotateX(-180.1deg) rotateY(0)}100%{-webkit-transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg);transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg)}}.sk-double-bounce{position:relative}.sk-double-bounce .sk-child{width:100%;height:100%;border-radius:50%;background-color:#333;opacity:.6;position:absolute;top:0;left:0;-webkit-animation:sk-doubleBounce 2s infinite ease-in-out;animation:sk-doubleBounce 2s infinite ease-in-out}.sk-chasing-dots .sk-child,.sk-spinner-pulse,.sk-three-bounce .sk-child{background-color:#333;border-radius:100%}.sk-double-bounce .sk-double-bounce2{-webkit-animation-delay:-1s;animation-delay:-1s}@-webkit-keyframes sk-doubleBounce{0%,100%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1);transform:scLine truncated
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
/*
|
||||||
|
* VenoBox - jQuery Plugin
|
||||||
|
* version: 1.9.0
|
||||||
|
* @requires jQuery >= 1.7.0
|
||||||
|
*
|
||||||
|
* Examples at http://veno.es/venobox/
|
||||||
|
* License: MIT License
|
||||||
|
* License URI: https://github.com/nicolafranchini/VenoBox/blob/master/LICENSE
|
||||||
|
* Copyright 2013-2020 Nicola Franchini - @nicolafranchini
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
!function(e){"use strict";var s,i,a,t,o,c,r,l,d,n,v,u,b,h,k,p,g,m,f,x,w,y,_,C,z,B,P,M,E,O,D,N,U,V,I,j,R,X,Y,W,q,$,T,A,H,Q,S,Z='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 24 24"><path d="M12 0c-6.627 0-12 5.372-12 12 0 5.084 3.163 9.426 7.627 11.174-.105-.949-.2-2.405.042-3.441.218-.937 1.407-5.965 1.407-5.965s-.359-.719-.359-1.782c0-1.668.967-2.914 2.171-2.914 1.023 0 1.518.769 1.518 1.69 0 1.029-.655 2.568-.994 3.995-.283 1.194.599 2.169 1.777 2.169 2.133 0 3.772-2.249 3.772-5.495 0-2.873-2.064-4.882-5.012-4.882-3.414 0-5.418 2.561-5.418 5.207 0 1.031.397 2.138.893 2.738.098.119.112.224.083.345l-.333 1.36c-.053.22-.174.267-.402.161-1.499-.698-2.436-2.889-2.436-4.649 0-3.785 2.75-7.262 7.929-7.262 4.163 0 7.398 2.967 7.398 6.931 0 4.136-2.607 7.464-6.227 7.464-1.216 0-2.359-.631-2.75-1.378l-.748 2.853c-.271 1.043-1.002 2.35-1.492 3.146 1.124.347 2.317.535 3.554.535 6.627 0 12-5.373 12-12 0-6.628-5.373-12-12-12z" fill-rule="evenodd" clip-rule="evenodd"/></svg>',F='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 24 24"><path d="M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm3 8h-1.35c-.538 0-.65.221-.65.778v1.222h2l-.209 2h-1.791v7h-3v-7h-2v-2h2v-2.308c0-1.769.931-2.692 3.029-2.692h1.971v3z"/></svg>',G='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 24 24"><path d="M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm6.066 9.645c.183 4.04-2.83 8.544-8.164 8.544-1.622 0-3.131-.476-4.402-1.291 1.524.18 3.045-.244 4.252-1.189-1.256-.023-2.317-.854-2.684-1.995.451.086.895.061 1.298-.049-1.381-.278-2.335-1.522-2.304-2.853.388.215.83.344 1.301.359-1.279-.855-1.641-2.544-.889-3.835 1.416 1.738 3.533 2.881 5.92 3.001-.419-1.796.944-3.527 2.799-3.527.825 0 1.572.349 2.096.907.654-.128 1.27-.368 1.824-.697-.215.671-.67 1.233-1.263 1.589.581-.07 1.135-.224 1.649-.453-.384.578-.87 1.084-1.433 1.489z"/></svg>',J='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 24 24"><path d="M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm-2 16h-2v-6h2v6zm-1-6.891c-.607 0-1.1-.496-1.1-1.109 0-.612.492-1.109 1.1-1.109s1.1.497 1.1 1.109c0 .613-.493 1.109-1.1 1.109zm8 6.891h-1.998v-2.861c0-1.881-2.002-1.722-2.002 0v2.861h-2v-6h2v1.093c.872-1.616 4-1.736 4 1.548v3.359z"/></svg>',K='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 24 24"><path d="M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm2 9h-4v-1h4v1zm0-3v1h-4v-1h4zm-2 13l-6-6h4v-3h4v3h4l-6 6z"/></svg>';e.fn.extend({venobox:function(L){var ee=this,se=e.extend({arrowsColor:"#B6B6B6",autoplay:!1,bgcolor:"#fff",border:"0",closeBackground:"transparent",closeColor:"#d2d2d2",framewidth:"",frameheight:"",gallItems:!1,infinigall:!1,htmlClose:"×",htmlNext:"<span>Next</span>",htmlPrev:"<span>Prev</span>",numeratio:!1,numerationBackground:"#161617",numerationColor:"#d2d2d2",numerationPosition:"top",overlayClose:!0,overlayColor:"rgba(23,23,23,0.85)",spinner:"double-bounce",spinColor:"#d2d2d2",titleattr:"title",titleBackground:"#161617",titleColor:"#d2d2d2",titlePosition:"top",share:[],cb_pre_open:function(){return!0},cb_post_open:function(){},cb_pre_close:function(){return!0},cb_post_close:function(){},cb_post_resize:function(){},cb_after_nav:function(){},cb_content_loaded:function(){},cb_init:function(){}},L);return se.cb_init(ee),this.each(function(){if((N=e(this)).data("venobox"))return!0;function L(){C=N.data("gall"),x=N.data("numeratio"),k=N.data("gallItems"),p=N.data("infinigall"),H=N.data("share"),o.html(""),"iframe"!==N.data("vbtype")&&"inline"!==N.data("vbtype")&&"ajax"!==N.data("vbtype")&&(Q={pinterest:'<a target="_blank" href="https://pinterest.com/pin/create/button/?url='+N.prop("href")+"&media="+N.prop("href")+"&description="+_+'">'+Z+"</a>",facebook:'<a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u='+N.prop("href")+'">'+F+"</a>",twitter:'<a target="_blank" href="https://twitter.com/intent/tweet?text='+_+"&url="+N.prop("href")+'">'+G+"</a>",linkedin:'<a target="_blank" href="https://www.linkedin.com/sharing/share-offsite/?url='+N.prop("href")+'">'+J+"</a>",download:'<a target="_blank" href="'+N.prop("href")+'">'+K+"</a>"},e.each(H,function(e,s){o.append(Q[s])})),(g=k||e('.vbox-item[data-gall="'+C+'"]')).length<2&&(p=!1,x=!1),z=g.eq(g.index(N)+1),B=g.eq(g.index(N)-1),z.length||!0!==p||(z=g.eq(0)),g.length>=1?(U=g.index(N)+1,t.html(U+" / "+g.length)):U=1,!0===x?t.show():t.hide(),""!==_?c.show():c.hide(),z.length||!0===p?(e(".vbox-next").css("display","block"),P=!0):(e(".vbox-next").css("display","none"),P=!1),g.index(N)>0||!0===p?(e(".vbox-prev").css("display","block"),M=!0):(e(".vbox-prev").css("display","none"),M=!1),!0!==M&&!0!==P||(n.on(de.DOWN,ce),n.on(de.MOVE,re),n.on(de.UP,le))}function ie(e){return!(e.length<1)&&(!m&&(m=!0,w=e.data("overlay")||e.data("overlaycolor"),b=e.data("framewidth"),h=e.data("framLine truncated
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
/*!
|
||||||
|
Waypoints - 4.0.1
|
||||||
|
Copyright © 2011-2016 Caleb Troughton
|
||||||
|
Licensed under the MIT license.
|
||||||
|
https://github.com/imakewebthings/waypoints/blob/master/licenses.txt
|
||||||
|
*/
|
||||||
|
!function(){"use strict";function t(o){if(!o)throw new Error("No options passed to Waypoint constructor");if(!o.element)throw new Error("No element option passed to Waypoint constructor");if(!o.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+e,this.options=t.Adapter.extend({},t.defaults,o),this.element=this.options.element,this.adapter=new t.Adapter(this.element),this.callback=o.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=t.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=t.Context.findOrCreateByElement(this.options.context),t.offsetAliases[this.options.offset]&&(this.options.offset=t.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),i[this.key]=this,e+=1}var e=0,i={};t.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},t.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},t.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete i[this.key]},t.prototype.disable=function(){return this.enabled=!1,this},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},t.prototype.next=function(){return this.group.next(this)},t.prototype.previous=function(){return this.group.previous(this)},t.invokeAll=function(t){var e=[];for(var o in i)e.push(i[o]);for(var n=0,r=e.length;r>n;n++)e[n][t]()},t.destroyAll=function(){t.invokeAll("destroy")},t.disableAll=function(){t.invokeAll("disable")},t.enableAll=function(){t.Context.refreshAll();for(var e in i)i[e].enabled=!0;return this},t.refreshAll=function(){t.Context.refreshAll()},t.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},t.viewportWidth=function(){return document.documentElement.clientWidth},t.adapters=[],t.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},t.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=t}(),function(){"use strict";function t(t){window.setTimeout(t,1e3/60)}function e(t){this.element=t,this.Adapter=n.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+i,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,o[t.waypointContextKey]=this,i+=1,n.windowContext||(n.windowContext=!0,n.windowContext=new e(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var i=0,o={},n=window.Waypoint,r=window.onload;e.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},e.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical),i=this.element==this.element.window;t&&e&&!i&&(this.adapter.off(".waypoints"),delete o[this.key])},e.prototype.createThrottledResizeHandler=function(){function t(){e.handleResize(),e.didResize=!1}var e=this;this.adapter.on("resize.waypoints",function(){e.didResize||(e.didResize=!0,n.requestAnimationFrame(t))})},e.prototype.createThrottledScrollHandler=function(){function t(){e.handleScroll(),e.didScroll=!1}var e=this;this.adapter.on("scroll.waypoints",function(){(!e.didScroll||n.isTouch)&&(e.didScroll=!0,n.requestAnimationFrame(t))})},e.prototype.handleResize=function(){n.Context.refreshAll()},e.prototype.handleScroll=function(){var t={},e={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var i in e){var o=e[i],n=o.newScroll>o.oldScroll,r=n?o.forward:o.backward;for(var s in this.waypoints[i]){var a=this.waypoints[i][s];if(null!==a.triggerPoint){var l=o.oldScroll<a.triggerPoint,h=o.newScroll>=a.triggerPoint,p=l&&h,u=!l&&!h;(p||u)&&(a.queueTrigger(r),t[a.group.id]=a.group)}}}for(var c in t)t[c].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},e.prototype.innerHeight=function(){return this.element==this.element.window?n.viewportHeight():this.adapter.innerHeight()},e.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},e.prototype.innerWidth=function(){return this.element==this.element.window?n.viewportWidth():this.adapter.innerWidth()},e.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var i in this.waypoints[e])t.push(this.waypoints[e][i]);for(var o=0,n=t.length;n>o;o++)t[o].destroy()},e.prototype.refresh=function(){var t,e=this.element==this.element.window,i=e?void 0:this.adapter.offset(),o={};this.handleScroll(),t={horizontal:{contextOffset:eLine truncated
|
||||||
@@ -0,0 +1,159 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta content="width=device-width, initial-scale=1.0" name="viewport">
|
||||||
|
|
||||||
|
<title>Irwan T-Shirt Design</title>
|
||||||
|
<meta content="" name="descriptison">
|
||||||
|
<meta content="" name="keywords">
|
||||||
|
|
||||||
|
<!-- Favicons -->
|
||||||
|
<link href="assets/img/favicon.png" rel="icon">
|
||||||
|
<link href="assets/img/apple-touch-icon.png" rel="apple-touch-icon">
|
||||||
|
|
||||||
|
<!-- Google Fonts -->
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com">
|
||||||
|
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Raleway:300,300i,400,400i,500,500i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i" rel="stylesheet">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Metal+Mania&family=Pacifico&display=swap" rel="stylesheet">
|
||||||
|
|
||||||
|
<!-- Vendor CSS Files -->
|
||||||
|
<link href="assets/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
||||||
|
<link href="assets/vendor/icofont/icofont.min.css" rel="stylesheet">
|
||||||
|
<link href="assets/vendor/owl.carousel/assets/owl.carousel.min.css" rel="stylesheet">
|
||||||
|
<link href="assets/vendor/boxicons/css/boxicons.min.css" rel="stylesheet">
|
||||||
|
<link href="assets/vendor/venobox/venobox.css" rel="stylesheet">
|
||||||
|
<link href="assets/vendor/aos/aos.css" rel="stylesheet">
|
||||||
|
|
||||||
|
<!-- Template Main CSS File -->
|
||||||
|
<link href="assets/css/style.css" rel="stylesheet">
|
||||||
|
|
||||||
|
<style type="text/css">
|
||||||
|
#footer {
|
||||||
|
background: #e9e8e6;
|
||||||
|
padding: 30px 0;
|
||||||
|
color: #222222;
|
||||||
|
font-size: 14px;
|
||||||
|
text-align: center;
|
||||||
|
position: fixed; bottom: 0; right: 0; left: 0;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<style type="text/css">
|
||||||
|
.pacific{
|
||||||
|
font-family: Pacifico
|
||||||
|
}
|
||||||
|
.metal{
|
||||||
|
font-family: Metal Mania
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<!-- =======================================================
|
||||||
|
* Template Name: Kelly - v2.0.0
|
||||||
|
* Template URL: https://bootstrapmade.com/kelly-free-bootstrap-cv-resume-html-template/
|
||||||
|
* Author: BootstrapMade.com
|
||||||
|
* License: https://bootstrapmade.com/license/
|
||||||
|
======================================================== -->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<!-- ======= Header ======= -->
|
||||||
|
<header id="header" class="fixed-top">
|
||||||
|
<div class="container-fluid d-flex justify-content-between align-items-center">
|
||||||
|
|
||||||
|
<h1 class="logo"><a href="index.html" style="font-family: Metal Mania">Irwan T-Shirt</a></h1>
|
||||||
|
<!-- Uncomment below if you prefer to use an image logo -->
|
||||||
|
<!-- <a href="index.html" class="logo"><img src="assets/img/logo.png" alt="" class="img-fluid"></a>-->
|
||||||
|
|
||||||
|
<nav class="nav-menu d-none d-lg-block">
|
||||||
|
<ul class="metal">
|
||||||
|
<li><a href="index.html">Home</a></li>
|
||||||
|
<li><a href="list.html">Design List</a></li>
|
||||||
|
<li><a href="about.html">About</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav><!-- .nav-menu -->
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</header><!-- End Header -->
|
||||||
|
|
||||||
|
<main id="main">
|
||||||
|
|
||||||
|
<!-- ======= Contact Section ======= -->
|
||||||
|
<section id="contact" class="contact">
|
||||||
|
<div class="container" data-aos="fade-up">
|
||||||
|
|
||||||
|
<div class="section-title">
|
||||||
|
<h2 style=" font-family: Metal Mania">Mulai Desain</h2>
|
||||||
|
<p style="text-align: center; font-family: Pacifico">Silakan pilh warna baju dari pilihan yang berada di bawah ini</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
|
||||||
|
<div class="col-lg-12 mt-lg-0">
|
||||||
|
|
||||||
|
<div class="php-email-form">
|
||||||
|
<div class="form-group">
|
||||||
|
<select class="form-control" onchange="changecolor(value)" id="pilih_baju_select" style="font-family: Pacifico">
|
||||||
|
<option selected="" disabled="">-Pilih Warna Baju</option>
|
||||||
|
<option value="white">Putih</option>
|
||||||
|
<option value="black">Hitam</option>
|
||||||
|
<option value="red">Merah</option>
|
||||||
|
<option value="blue">Biru</option>
|
||||||
|
<option value="yellow">Kuning</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
<div class="text-center"><button type="submit" onclick="lanjut()" style="font-family: Metal Mania">Lanjut Mendesain</button></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section><!-- End Contact Section -->
|
||||||
|
|
||||||
|
</main><!-- End #main -->
|
||||||
|
|
||||||
|
<!-- ======= Footer ======= -->
|
||||||
|
<footer id="footer">
|
||||||
|
<div class="container">
|
||||||
|
<div class="copyright" style="font-family: Pacifico">
|
||||||
|
© Copyright <strong><span>Irwan</span></strong>. All Rights Reserved
|
||||||
|
</div>
|
||||||
|
<div class="credits" style="font-family: Metal Mania">
|
||||||
|
<!-- All the links in the footer should remain intact. -->
|
||||||
|
<!-- You can delete the links only if you purchased the pro version. -->
|
||||||
|
<!-- Licensing information: https://bootstrapmade.com/license/ -->
|
||||||
|
<!-- Purchase the pro version with working PHP/AJAX contact form: https://bootstrapmade.com/kelly-free-bootstrap-cv-resume-html-template/ -->
|
||||||
|
Designed by Irwan
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer><!-- End Footer -->
|
||||||
|
|
||||||
|
<div id="preloader"></div>
|
||||||
|
<a href="#" class="back-to-top"><i class="bx bx-up-arrow-alt"></i></a>
|
||||||
|
|
||||||
|
<!-- Vendor JS Files -->
|
||||||
|
<script src="assets/vendor/jquery/jquery.min.js"></script>
|
||||||
|
<script src="assets/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
|
||||||
|
<script src="assets/vendor/jquery.easing/jquery.easing.min.js"></script>
|
||||||
|
<script src="assets/vendor/waypoints/jquery.waypoints.min.js"></script>
|
||||||
|
<script src="assets/vendor/counterup/counterup.min.js"></script>
|
||||||
|
<script src="assets/vendor/owl.carousel/owl.carousel.min.js"></script>
|
||||||
|
<script src="assets/vendor/isotope-layout/isotope.pkgd.min.js"></script>
|
||||||
|
<script src="assets/vendor/venobox/venobox.min.js"></script>
|
||||||
|
<script src="assets/vendor/aos/aos.js"></script>
|
||||||
|
<script src="assets/toastr/toastr.min.js"></script>
|
||||||
|
<link rel="stylesheet" type="text/css" href="assets/toastr/toastr.min.css">
|
||||||
|
|
||||||
|
<!-- Template Main JS File -->
|
||||||
|
<script src="cordova.js"></script>
|
||||||
|
<script src="assets/js/desain_1.js"></script>
|
||||||
|
<script src="assets/js/main.js"></script>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,178 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta content="width=device-width, initial-scale=1.0" name="viewport">
|
||||||
|
|
||||||
|
<title>Irwan T-Shirt Design</title>
|
||||||
|
<meta content="" name="descriptison">
|
||||||
|
<meta content="" name="keywords">
|
||||||
|
|
||||||
|
<!-- Favicons -->
|
||||||
|
<link href="assets/img/favicon.png" rel="icon">
|
||||||
|
<link href="assets/img/apple-touch-icon.png" rel="apple-touch-icon">
|
||||||
|
|
||||||
|
<!-- Google Fonts -->
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com">
|
||||||
|
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Raleway:300,300i,400,400i,500,500i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i" rel="stylesheet">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Metal+Mania&family=Pacifico&display=swap" rel="stylesheet">
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Vendor CSS Files -->
|
||||||
|
<link href="assets/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
||||||
|
<link href="assets/vendor/icofont/icofont.min.css" rel="stylesheet">
|
||||||
|
<link href="assets/vendor/owl.carousel/assets/owl.carousel.min.css" rel="stylesheet">
|
||||||
|
<link href="assets/vendor/boxicons/css/boxicons.min.css" rel="stylesheet">
|
||||||
|
<link href="assets/vendor/venobox/venobox.css" rel="stylesheet">
|
||||||
|
<link href="assets/vendor/aos/aos.css" rel="stylesheet">
|
||||||
|
|
||||||
|
<!-- Template Main CSS File -->
|
||||||
|
<link href="assets/css/style.css" rel="stylesheet">
|
||||||
|
<style type="text/css">
|
||||||
|
.pacific{
|
||||||
|
font-family: Pacifico
|
||||||
|
}
|
||||||
|
.metal{
|
||||||
|
font-family: Metal Mania
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<!-- =======================================================
|
||||||
|
* Template Name: Kelly - v2.0.0
|
||||||
|
* Template URL: https://bootstrapmade.com/kelly-free-bootstrap-cv-resume-html-template/
|
||||||
|
* Author: BootstrapMade.com
|
||||||
|
* License: https://bootstrapmade.com/license/
|
||||||
|
======================================================== -->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<!-- ======= Header ======= -->
|
||||||
|
<header id="header" class="fixed-top">
|
||||||
|
<div class="container-fluid d-flex justify-content-between align-items-center">
|
||||||
|
|
||||||
|
<h1 class="logo"><a href="index.html" style="font-family: Metal Mania">Irwan T-Shirt</a></h1>
|
||||||
|
<!-- Uncomment below if you prefer to use an image logo -->
|
||||||
|
<!-- <a href="index.html" class="logo"><img src="assets/img/logo.png" alt="" class="img-fluid"></a>-->
|
||||||
|
|
||||||
|
<nav class="nav-menu d-none d-lg-block">
|
||||||
|
<ul class="metal">
|
||||||
|
<li><a href="index.html">Home</a></li>
|
||||||
|
<li><a href="list.html">Design List</a></li>
|
||||||
|
<li><a href="about.html">About</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav><!-- .nav-menu -->
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</header><!-- End Header -->
|
||||||
|
|
||||||
|
<main id="main">
|
||||||
|
|
||||||
|
<!-- ======= Contact Section ======= -->
|
||||||
|
<section id="contact" class="contact">
|
||||||
|
<div class="container" data-aos="fade-up">
|
||||||
|
|
||||||
|
<div class="section-title">
|
||||||
|
<h2 class="metal">Mulai Desain</h2>
|
||||||
|
<p style="text-align: center; font-family: Pacifico">Desain Sesuai Keinginan Anda</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
|
||||||
|
<div class="col-lg-12 mt-lg-0">
|
||||||
|
|
||||||
|
<!-- <center>
|
||||||
|
<div class="form-group fabric-canvas-wrapper">
|
||||||
|
<canvas id="c" height="300" style="border:1px solid #ccc;"></canvas>
|
||||||
|
</div>
|
||||||
|
</center> -->
|
||||||
|
|
||||||
|
<div style="background-image: url(assets/img/white.png); height: 350px; width: 100%;background-size: 100% 100%;" id="sini_div_baju_color">
|
||||||
|
<div style="height: 20%; width: 100%;background-size: 100% 100%;"></div>
|
||||||
|
<div id="sini_div_canvas" style="height: 68%; width: 45%;background-size: 100% 100%; position: center; margin: auto;">
|
||||||
|
<div class="form-group fabric-canvas-wrapper" style="height: 100%">
|
||||||
|
<canvas id="c" style="border:1px solid #ccc;"></canvas>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<br>
|
||||||
|
<div class="form-group">
|
||||||
|
<select class="form-control pacific" onchange="change_editor(value)" id="editor_select" >
|
||||||
|
<option selected="" disabled="">-Pilih Editor</option>
|
||||||
|
<option value="bentuk">Persegi Bentuk</option>
|
||||||
|
<option value="teks">Teks</option>
|
||||||
|
<option value="drawing">Free Drawing</option>
|
||||||
|
<option value="image">Image</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
<div id="sini_div_editor"></div>
|
||||||
|
<div id="sini_tampung_image" style="display: none;"></div>
|
||||||
|
|
||||||
|
<div id="div_upload_image" style="display: none">
|
||||||
|
<div class="form-group">
|
||||||
|
<label class="pacific">Upload Image</label>
|
||||||
|
<input class="form-control" type="file" id="input_upload_image" >
|
||||||
|
</div>
|
||||||
|
<div class="form-group" style="text-align:center">
|
||||||
|
<button onclick="add_image()" class="btn btn-info pacific" style="font-weight: bold;">Tambah Image</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<center><button id="save_datanya11" onclick="save_desain()" class="pacific btn btn-success" style="font-weight: bold;" disabled="">Simpan Desain</button></center>
|
||||||
|
<!-- <center><button onclick="cek_simpanan()" class="btn btn-success" style="font-weight: bold;">Cek Simpanan</button></center> -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section><!-- End Contact Section -->
|
||||||
|
|
||||||
|
</main><!-- End #main -->
|
||||||
|
|
||||||
|
<!-- ======= Footer ======= -->
|
||||||
|
<footer id="footer">
|
||||||
|
<div class="container">
|
||||||
|
<div class="copyright" style="font-family: Pacifico">
|
||||||
|
© Copyright <strong><span>Irwan</span></strong>. All Rights Reserved
|
||||||
|
</div>
|
||||||
|
<div class="credits" style="font-family: Metal Mania">
|
||||||
|
<!-- All the links in the footer should remain intact. -->
|
||||||
|
<!-- You can delete the links only if you purchased the pro version. -->
|
||||||
|
<!-- Licensing information: https://bootstrapmade.com/license/ -->
|
||||||
|
<!-- Purchase the pro version with working PHP/AJAX contact form: https://bootstrapmade.com/kelly-free-bootstrap-cv-resume-html-template/ -->
|
||||||
|
Designed by Irwan
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer><!-- End Footer -->
|
||||||
|
|
||||||
|
<div id="preloader"></div>
|
||||||
|
<a href="#" id="back_to_top" class="back-to-top"><i class="bx bx-up-arrow-alt"></i></a>
|
||||||
|
|
||||||
|
<!-- Vendor JS Files -->
|
||||||
|
<script src="assets/vendor/jquery/jquery.min.js"></script>
|
||||||
|
<script src="assets/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
|
||||||
|
<script src="assets/vendor/jquery.easing/jquery.easing.min.js"></script>
|
||||||
|
<script src="assets/vendor/waypoints/jquery.waypoints.min.js"></script>
|
||||||
|
<script src="assets/vendor/counterup/counterup.min.js"></script>
|
||||||
|
<script src="assets/vendor/owl.carousel/owl.carousel.min.js"></script>
|
||||||
|
<script src="assets/vendor/isotope-layout/isotope.pkgd.min.js"></script>
|
||||||
|
<script src="assets/vendor/venobox/venobox.min.js"></script>
|
||||||
|
<script src="assets/vendor/aos/aos.js"></script>
|
||||||
|
<script src="assets/toastr/toastr.min.js"></script>
|
||||||
|
<link rel="stylesheet" type="text/css" href="assets/toastr/toastr.min.css">
|
||||||
|
|
||||||
|
<!-- Template Main JS File -->
|
||||||
|
<script src="cordova.js"></script>
|
||||||
|
|
||||||
|
<script src="assets/fabric.min.js"></script>
|
||||||
|
<script src="assets/js/desain_2.js"></script>
|
||||||
|
<script src="assets/js/main.js"></script>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,164 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta content="width=device-width, initial-scale=1.0" name="viewport">
|
||||||
|
|
||||||
|
<title>Irwan T-Shirt Design</title>
|
||||||
|
<meta content="" name="descriptison">
|
||||||
|
<meta content="" name="keywords">
|
||||||
|
|
||||||
|
<!-- Favicons -->
|
||||||
|
<link href="assets/img/favicon.png" rel="icon">
|
||||||
|
<link href="assets/img/apple-touch-icon.png" rel="apple-touch-icon">
|
||||||
|
|
||||||
|
<!-- Google Fonts -->
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com">
|
||||||
|
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Raleway:300,300i,400,400i,500,500i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i" rel="stylesheet">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Metal+Mania&family=Pacifico&display=swap" rel="stylesheet">
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Vendor CSS Files -->
|
||||||
|
<link href="assets/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
||||||
|
<link href="assets/vendor/icofont/icofont.min.css" rel="stylesheet">
|
||||||
|
<link href="assets/vendor/owl.carousel/assets/owl.carousel.min.css" rel="stylesheet">
|
||||||
|
<link href="assets/vendor/boxicons/css/boxicons.min.css" rel="stylesheet">
|
||||||
|
<link href="assets/vendor/venobox/venobox.css" rel="stylesheet">
|
||||||
|
<link href="assets/vendor/aos/aos.css" rel="stylesheet">
|
||||||
|
|
||||||
|
<!-- Template Main CSS File -->
|
||||||
|
<link href="assets/css/style.css" rel="stylesheet">
|
||||||
|
|
||||||
|
<script type="text/javascript" src="assets/js/html2canvas.js"></script>
|
||||||
|
<style type="text/css">
|
||||||
|
.swal-modal .swal-text{
|
||||||
|
text-align: center
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<style type="text/css">
|
||||||
|
.pacific{
|
||||||
|
font-family: Pacifico
|
||||||
|
}
|
||||||
|
.metal{
|
||||||
|
font-family: Metal Mania
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<script src="assets/sweet-alert/sweetalert.js"></script>
|
||||||
|
|
||||||
|
<!-- =======================================================
|
||||||
|
* Template Name: Kelly - v2.0.0
|
||||||
|
* Template URL: https://bootstrapmade.com/kelly-free-bootstrap-cv-resume-html-template/
|
||||||
|
* Author: BootstrapMade.com
|
||||||
|
* License: https://bootstrapmade.com/license/
|
||||||
|
======================================================== -->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<!-- ======= Header ======= -->
|
||||||
|
<header id="header" class="fixed-top">
|
||||||
|
<div class="container-fluid d-flex justify-content-between align-items-center">
|
||||||
|
|
||||||
|
<h1 class="logo"><a href="index.html" style="font-family: Metal Mania">Irwan T-Shirt</a></h1>
|
||||||
|
<!-- Uncomment below if you prefer to use an image logo -->
|
||||||
|
<!-- <a href="index.html" class="logo"><img src="assets/img/logo.png" alt="" class="img-fluid"></a>-->
|
||||||
|
|
||||||
|
<nav class="nav-menu d-none d-lg-block">
|
||||||
|
<ul class="metal">
|
||||||
|
<li><a href="index.html">Home</a></li>
|
||||||
|
<li><a href="list.html">Design List</a></li>
|
||||||
|
<li><a href="about.html">About</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav><!-- .nav-menu -->
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</header><!-- End Header -->
|
||||||
|
|
||||||
|
<main id="main">
|
||||||
|
|
||||||
|
<!-- ======= Contact Section ======= -->
|
||||||
|
<section id="contact" class="contact">
|
||||||
|
<div class="container" data-aos="fade-up">
|
||||||
|
|
||||||
|
<div class="section-title">
|
||||||
|
<h2 class="metal">Desain Selesai</h2>
|
||||||
|
<p style="text-align: center; font-family: Pacifico">Tekan Tombol Share Jika Ingin Berkongsi Ke Media Sosial</p>
|
||||||
|
</div>
|
||||||
|
<div id="output" style="display: none"></div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div id="sini_tampung_image" style="display: none"></div>
|
||||||
|
<div class="col-lg-12 mt-lg-0" id="sini_dianya">
|
||||||
|
<div class="form-group">
|
||||||
|
<center>
|
||||||
|
<button onclick="takeshot()" class="btn btn-info" style=" font-family: Metal Mania">Share</button>  
|
||||||
|
<div style="display: none"><button id="ini_untuk_share" class="btn btn-info">base64 image only</button>   </div>
|
||||||
|
<!-- <button onclick="takeshot()" class="btn btn-primary" style="font-weight: bold;">Edit Desain</button> -->
|
||||||
|
</center>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div style="background-image: url(assets/img/white.png); height: 350px; width: 100%;background-size: 100% 100%;" id="sini_div_baju_color">
|
||||||
|
<div style="height: 20%; width: 100%;background-size: 100% 100%;"></div>
|
||||||
|
<div id="sini_div_canvas" style="height: 68%; width: 45%;background-size: 100% 100%; position: center; margin: auto;">
|
||||||
|
<div class="form-group fabric-canvas-wrapper" style="height: 100%">
|
||||||
|
<canvas id="c" style="pointer-events:none;"></canvas>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<br>
|
||||||
|
<center><button onclick="hapus_desain()" class="btn btn-danger" style=" font-family: Metal Mania">Hapus Desain</button>   <a href="index.html"><button class="btn btn-success" style=" font-family: Metal Mania">Kembali</button></a></center>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section><!-- End Contact Section -->
|
||||||
|
|
||||||
|
</main><!-- End #main -->
|
||||||
|
|
||||||
|
<!-- ======= Footer ======= -->
|
||||||
|
<footer id="footer">
|
||||||
|
<div class="container">
|
||||||
|
<div class="copyright" style="font-family: Pacifico">
|
||||||
|
© Copyright <strong><span>Irwan</span></strong>. All Rights Reserved
|
||||||
|
</div>
|
||||||
|
<div class="credits" style="font-family: Metal Mania">
|
||||||
|
<!-- All the links in the footer should remain intact. -->
|
||||||
|
<!-- You can delete the links only if you purchased the pro version. -->
|
||||||
|
<!-- Licensing information: https://bootstrapmade.com/license/ -->
|
||||||
|
<!-- Purchase the pro version with working PHP/AJAX contact form: https://bootstrapmade.com/kelly-free-bootstrap-cv-resume-html-template/ -->
|
||||||
|
Designed by Irwan
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer><!-- End Footer -->
|
||||||
|
|
||||||
|
<div id="preloader"></div>
|
||||||
|
<a href="#" id="back_to_top" class="back-to-top"><i class="bx bx-up-arrow-alt"></i></a>
|
||||||
|
|
||||||
|
<!-- Vendor JS Files -->
|
||||||
|
<script src="assets/vendor/jquery/jquery.min.js"></script>
|
||||||
|
<script src="assets/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
|
||||||
|
<script src="assets/vendor/jquery.easing/jquery.easing.min.js"></script>
|
||||||
|
<script src="assets/vendor/waypoints/jquery.waypoints.min.js"></script>
|
||||||
|
<script src="assets/vendor/counterup/counterup.min.js"></script>
|
||||||
|
<script src="assets/vendor/owl.carousel/owl.carousel.min.js"></script>
|
||||||
|
<script src="assets/vendor/isotope-layout/isotope.pkgd.min.js"></script>
|
||||||
|
<script src="assets/vendor/venobox/venobox.min.js"></script>
|
||||||
|
<script src="assets/vendor/aos/aos.js"></script>
|
||||||
|
<script src="assets/toastr/toastr.min.js"></script>
|
||||||
|
<link rel="stylesheet" type="text/css" href="assets/toastr/toastr.min.css">
|
||||||
|
|
||||||
|
<!-- Template Main JS File -->
|
||||||
|
<script src="cordova.js"></script>
|
||||||
|
|
||||||
|
<script src="assets/fabric.min.js"></script>
|
||||||
|
<script src="assets/js/desain_3.js"></script>
|
||||||
|
<!-- <script src="https://cdn.jsdelivr.net/npm/[email protected]-rc.5/dist/html2canvas.min.js"></script> -->
|
||||||
|
<script src="assets/js/main.js"></script>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,110 @@
|
|||||||
|
/*
|
||||||
|
* Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
* or more contributor license agreements. See the NOTICE file
|
||||||
|
* distributed with this work for additional information
|
||||||
|
* regarding copyright ownership. The ASF licenses this file
|
||||||
|
* to you under the Apache License, Version 2.0 (the
|
||||||
|
* "License"); you may not use this file except in compliance
|
||||||
|
* with the License. You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by 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.
|
||||||
|
*/
|
||||||
|
* {
|
||||||
|
-webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
-webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */
|
||||||
|
-webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */
|
||||||
|
-webkit-user-select: none; /* prevent copy paste, to allow, change 'none' to 'text' */
|
||||||
|
background-color:#E4E4E4;
|
||||||
|
background-image:linear-gradient(to bottom, #A7A7A7 0%, #E4E4E4 51%);
|
||||||
|
font-family: system-ui, -apple-system, -apple-system-font, 'Segoe UI', 'Roboto', sans-serif;
|
||||||
|
font-size:12px;
|
||||||
|
height:100vh;
|
||||||
|
margin:0px;
|
||||||
|
padding:0px;
|
||||||
|
/* Padding to avoid the "unsafe" areas behind notches in the screen */
|
||||||
|
padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
|
||||||
|
text-transform:uppercase;
|
||||||
|
width:100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Portrait layout (default) */
|
||||||
|
.app {
|
||||||
|
background:url(../img/logo.png) no-repeat center top; /* 170px x 200px */
|
||||||
|
position:absolute; /* position in the center of the screen */
|
||||||
|
left:50%;
|
||||||
|
top:50%;
|
||||||
|
height:50px; /* text area height */
|
||||||
|
width:225px; /* text area width */
|
||||||
|
text-align:center;
|
||||||
|
padding:180px 0px 0px 0px; /* image height is 200px (bottom 20px are overlapped with text) */
|
||||||
|
margin:-115px 0px 0px -112px; /* offset vertical: half of image height and text area height */
|
||||||
|
/* offset horizontal: half of text area width */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Landscape layout (with min-width) */
|
||||||
|
@media screen and (min-aspect-ratio: 1/1) and (min-width:400px) {
|
||||||
|
.app {
|
||||||
|
background-position:left center;
|
||||||
|
padding:75px 0px 75px 170px; /* padding-top + padding-bottom + text area = image height */
|
||||||
|
margin:-90px 0px 0px -198px; /* offset vertical: half of image height */
|
||||||
|
/* offset horizontal: half of image width and text area width */
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size:24px;
|
||||||
|
font-weight:normal;
|
||||||
|
margin:0px;
|
||||||
|
overflow:visible;
|
||||||
|
padding:0px;
|
||||||
|
text-align:center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.event {
|
||||||
|
border-radius:4px;
|
||||||
|
color:#FFFFFF;
|
||||||
|
font-size:12px;
|
||||||
|
margin:0px 30px;
|
||||||
|
padding:2px 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.event.listening {
|
||||||
|
background-color:#333333;
|
||||||
|
display:block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.event.received {
|
||||||
|
background-color:#4B946A;
|
||||||
|
display:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#deviceready.ready .event.listening { display: none; }
|
||||||
|
#deviceready.ready .event.received { display: block; }
|
||||||
|
|
||||||
|
@keyframes fade {
|
||||||
|
from { opacity: 1.0; }
|
||||||
|
50% { opacity: 0.4; }
|
||||||
|
to { opacity: 1.0; }
|
||||||
|
}
|
||||||
|
|
||||||
|
.blink {
|
||||||
|
animation:fade 3000ms infinite;
|
||||||
|
-webkit-animation:fade 3000ms infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@media screen and (prefers-color-scheme: dark) {
|
||||||
|
body {
|
||||||
|
background-image:linear-gradient(to bottom, #585858 0%, #1B1B1B 51%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
After Width: | Height: | Size: 21 KiB |
@@ -0,0 +1,51 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<!--
|
||||||
|
Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
or more contributor license agreements. See the NOTICE file
|
||||||
|
distributed with this work for additional information
|
||||||
|
regarding copyright ownership. The ASF licenses this file
|
||||||
|
to you under the Apache License, Version 2.0 (the
|
||||||
|
"License"); you may not use this file except in compliance
|
||||||
|
with the License. You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by 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.
|
||||||
|
-->
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<!--
|
||||||
|
Customize this policy to fit your own app's needs. For more guidance, see:
|
||||||
|
https://github.com/apache/cordova-plugin-whitelist/blob/master/README.md#content-security-policy
|
||||||
|
Some notes:
|
||||||
|
* gap: is required only on iOS (when using UIWebView) and is needed for JS->native communication
|
||||||
|
* https://ssl.gstatic.com is required only on Android and is needed for TalkBack to function properly
|
||||||
|
* Disables use of inline scripts in order to mitigate risk of XSS vulnerabilities. To change this:
|
||||||
|
* Enable inline JS: add 'unsafe-inline' to default-src
|
||||||
|
-->
|
||||||
|
<meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *; img-src 'self' data: content:;">
|
||||||
|
<meta name="format-detection" content="telephone=no">
|
||||||
|
<meta name="msapplication-tap-highlight" content="no">
|
||||||
|
<meta name="viewport" content="initial-scale=1, width=device-width, viewport-fit=cover">
|
||||||
|
<meta name="color-scheme" content="light dark">
|
||||||
|
<link rel="stylesheet" href="css/index.css">
|
||||||
|
<title>Hello World</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="app">
|
||||||
|
<h1>Apache Cordova</h1>
|
||||||
|
<div id="deviceready" class="blink">
|
||||||
|
<p class="event listening">Connecting to Device</p>
|
||||||
|
<p class="event received">Device is Ready</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<script src="cordova.js"></script>
|
||||||
|
<script src="js/index.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
/*
|
||||||
|
* Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
* or more contributor license agreements. See the NOTICE file
|
||||||
|
* distributed with this work for additional information
|
||||||
|
* regarding copyright ownership. The ASF licenses this file
|
||||||
|
* to you under the Apache License, Version 2.0 (the
|
||||||
|
* "License"); you may not use this file except in compliance
|
||||||
|
* with the License. You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Wait for the deviceready event before using any of Cordova's device APIs.
|
||||||
|
// See https://cordova.apache.org/docs/en/latest/cordova/events/events.html#deviceready
|
||||||
|
document.addEventListener('deviceready', onDeviceReady, false);
|
||||||
|
|
||||||
|
function onDeviceReady() {
|
||||||
|
// Cordova is now initialized. Have fun!
|
||||||
|
|
||||||
|
console.log('Running cordova-' + cordova.platformId + '@' + cordova.version);
|
||||||
|
document.getElementById('deviceready').classList.add('ready');
|
||||||
|
}
|
||||||
@@ -0,0 +1,124 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta content="width=device-width, initial-scale=1.0" name="viewport">
|
||||||
|
|
||||||
|
<title>Irwan T-Shirt Design</title>
|
||||||
|
<meta content="" name="descriptison">
|
||||||
|
<meta content="" name="keywords">
|
||||||
|
|
||||||
|
<!-- Favicons -->
|
||||||
|
<link href="assets/img/favicon.png" rel="icon">
|
||||||
|
<link href="assets/img/apple-touch-icon.png" rel="apple-touch-icon">
|
||||||
|
|
||||||
|
<!-- Google Fonts -->
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com">
|
||||||
|
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Raleway:300,300i,400,400i,500,500i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i" rel="stylesheet">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Metal+Mania&family=Pacifico&display=swap" rel="stylesheet">
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Vendor CSS Files -->
|
||||||
|
<link href="assets/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
||||||
|
<link href="assets/vendor/icofont/icofont.min.css" rel="stylesheet">
|
||||||
|
<link href="assets/vendor/owl.carousel/assets/owl.carousel.min.css" rel="stylesheet">
|
||||||
|
<link href="assets/vendor/boxicons/css/boxicons.min.css" rel="stylesheet">
|
||||||
|
<link href="assets/vendor/venobox/venobox.css" rel="stylesheet">
|
||||||
|
<link href="assets/vendor/aos/aos.css" rel="stylesheet">
|
||||||
|
|
||||||
|
<!-- Template Main CSS File -->
|
||||||
|
<link href="assets/css/style.css" rel="stylesheet">
|
||||||
|
<style type="text/css">
|
||||||
|
.pacific{
|
||||||
|
font-family: Pacifico
|
||||||
|
}
|
||||||
|
.metal{
|
||||||
|
font-family: Metal Mania
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<!-- =======================================================
|
||||||
|
* Template Name: Kelly - v2.0.0
|
||||||
|
* Template URL: https://bootstrapmade.com/kelly-free-bootstrap-cv-resume-html-template/
|
||||||
|
* Author: BootstrapMade.com
|
||||||
|
* License: https://bootstrapmade.com/license/
|
||||||
|
======================================================== -->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<!-- ======= Header ======= -->
|
||||||
|
<header id="header" class="fixed-top">
|
||||||
|
<div class="container-fluid d-flex justify-content-between align-items-center">
|
||||||
|
|
||||||
|
<h1 class="logo"><a href="index.html" style="font-family: Metal Mania">Irwan T-Shirt</a></h1>
|
||||||
|
<!-- Uncomment below if you prefer to use an image logo -->
|
||||||
|
<!-- <a href="index.html" class="logo"><img src="assets/img/logo.png" alt="" class="img-fluid"></a>-->
|
||||||
|
|
||||||
|
<nav class="nav-menu d-none d-lg-block">
|
||||||
|
<ul class="metal">
|
||||||
|
<li class="active"><a href="index.html">Home</a></li>
|
||||||
|
<li><a href="list.html">Design List</a></li>
|
||||||
|
<li><a href="about.html">About</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav><!-- .nav-menu -->
|
||||||
|
|
||||||
|
<!-- <div class="header-social-links">
|
||||||
|
<a href="#" class="twitter"><i class="icofont-twitter"></i></a>
|
||||||
|
<a href="#" class="facebook"><i class="icofont-facebook"></i></a>
|
||||||
|
<a href="#" class="instagram"><i class="icofont-instagram"></i></a>
|
||||||
|
<a href="#" class="linkedin"><i class="icofont-linkedin"></i></i></a>
|
||||||
|
</div> -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</header><!-- End Header -->
|
||||||
|
|
||||||
|
<!-- ======= Hero Section ======= -->
|
||||||
|
<section id="hero" class="d-flex align-items-center">
|
||||||
|
<div class="container d-flex flex-column align-items-center" data-aos="zoom-in" data-aos-delay="100">
|
||||||
|
<h1 style="font-family: Metal Mania">Irwan T-Shirt</h1>
|
||||||
|
<h2 style="font-family: Pacifico">Aplikasi T-Shirt Design by Irwan</h2>
|
||||||
|
<a href="desain_1.html" class="btn-about" style="font-family: Pacifico">Mulai Mendesain</a>
|
||||||
|
</div>
|
||||||
|
</section><!-- End Hero -->
|
||||||
|
|
||||||
|
<!-- ======= Footer ======= -->
|
||||||
|
<footer id="footer">
|
||||||
|
<div class="container">
|
||||||
|
<div class="copyright" style="font-family: Pacifico">
|
||||||
|
© Copyright <strong><span>Irwan</span></strong>. All Rights Reserved
|
||||||
|
</div>
|
||||||
|
<div class="credits" style="font-family: Metal Mania">
|
||||||
|
<!-- All the links in the footer should remain intact. -->
|
||||||
|
<!-- You can delete the links only if you purchased the pro version. -->
|
||||||
|
<!-- Licensing information: https://bootstrapmade.com/license/ -->
|
||||||
|
<!-- Purchase the pro version with working PHP/AJAX contact form: https://bootstrapmade.com/kelly-free-bootstrap-cv-resume-html-template/ -->
|
||||||
|
Designed by Irwan
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer><!-- End Footer -->
|
||||||
|
|
||||||
|
<div id="preloader"></div>
|
||||||
|
<a href="#" class="back-to-top"><i class="bx bx-up-arrow-alt"></i></a>
|
||||||
|
|
||||||
|
<!-- Vendor JS Files -->
|
||||||
|
<script src="assets/vendor/jquery/jquery.min.js"></script>
|
||||||
|
<script src="assets/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
|
||||||
|
<script src="assets/vendor/jquery.easing/jquery.easing.min.js"></script>
|
||||||
|
<script src="assets/vendor/php-email-form/validate.js"></script>
|
||||||
|
<script src="assets/vendor/waypoints/jquery.waypoints.min.js"></script>
|
||||||
|
<script src="assets/vendor/counterup/counterup.min.js"></script>
|
||||||
|
<script src="assets/vendor/owl.carousel/owl.carousel.min.js"></script>
|
||||||
|
<script src="assets/vendor/isotope-layout/isotope.pkgd.min.js"></script>
|
||||||
|
<script src="assets/vendor/venobox/venobox.min.js"></script>
|
||||||
|
<script src="assets/vendor/aos/aos.js"></script>
|
||||||
|
|
||||||
|
<!-- Template Main JS File -->
|
||||||
|
<script src="cordova.js"></script>
|
||||||
|
<script src="assets/js/main.js"></script>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,143 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta content="width=device-width, initial-scale=1.0" name="viewport">
|
||||||
|
|
||||||
|
<title>Irwan T-Shirt Design</title>
|
||||||
|
<meta content="" name="descriptison">
|
||||||
|
<meta content="" name="keywords">
|
||||||
|
|
||||||
|
<!-- Favicons -->
|
||||||
|
<link href="assets/img/favicon.png" rel="icon">
|
||||||
|
<link href="assets/img/apple-touch-icon.png" rel="apple-touch-icon">
|
||||||
|
|
||||||
|
<!-- Google Fonts -->
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com">
|
||||||
|
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Raleway:300,300i,400,400i,500,500i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i" rel="stylesheet">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Metal+Mania&family=Pacifico&display=swap" rel="stylesheet">
|
||||||
|
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Raleway:300,300i,400,400i,500,500i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i" rel="stylesheet">
|
||||||
|
|
||||||
|
<!-- Vendor CSS Files -->
|
||||||
|
<link href="assets/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
||||||
|
<link href="assets/vendor/icofont/icofont.min.css" rel="stylesheet">
|
||||||
|
<link href="assets/vendor/owl.carousel/assets/owl.carousel.min.css" rel="stylesheet">
|
||||||
|
<link href="assets/vendor/boxicons/css/boxicons.min.css" rel="stylesheet">
|
||||||
|
<link href="assets/vendor/venobox/venobox.css" rel="stylesheet">
|
||||||
|
<link href="assets/vendor/aos/aos.css" rel="stylesheet">
|
||||||
|
|
||||||
|
<!-- Template Main CSS File -->
|
||||||
|
<link href="assets/css/style.css" rel="stylesheet">
|
||||||
|
<style type="text/css">
|
||||||
|
#footer {
|
||||||
|
background: #e9e8e6;
|
||||||
|
padding: 30px 0;
|
||||||
|
color: #222222;
|
||||||
|
font-size: 14px;
|
||||||
|
text-align: center;
|
||||||
|
position: fixed; bottom: 0; right: 0; left: 0;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style type="text/css">
|
||||||
|
.pacific{
|
||||||
|
font-family: Pacifico
|
||||||
|
}
|
||||||
|
.metal{
|
||||||
|
font-family: Metal Mania
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<!-- =======================================================
|
||||||
|
* Template Name: Kelly - v2.0.0
|
||||||
|
* Template URL: https://bootstrapmade.com/kelly-free-bootstrap-cv-resume-html-template/
|
||||||
|
* Author: BootstrapMade.com
|
||||||
|
* License: https://bootstrapmade.com/license/
|
||||||
|
======================================================== -->
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<!-- ======= Header ======= -->
|
||||||
|
<header id="header" class="fixed-top">
|
||||||
|
<div class="container-fluid d-flex justify-content-between align-items-center">
|
||||||
|
|
||||||
|
<h1 class="logo"><a href="index.html" style="font-family: Metal Mania">Irwan T-Shirt</a></h1>
|
||||||
|
<!-- Uncomment below if you prefer to use an image logo -->
|
||||||
|
<!-- <a href="index.html" class="logo"><img src="assets/img/logo.png" alt="" class="img-fluid"></a>-->
|
||||||
|
|
||||||
|
<nav class="nav-menu d-none d-lg-block">
|
||||||
|
<ul class="metal">
|
||||||
|
<li><a href="index.html">Home</a></li>
|
||||||
|
<li class="active"><a href="list.html">Design List</a></li>
|
||||||
|
<li><a href="about.html">About</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav><!-- .nav-menu -->
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</header><!-- End Header -->
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ======= Contact Section ======= -->
|
||||||
|
<section id="contact" class="contact">
|
||||||
|
<div class="container" data-aos="fade-up">
|
||||||
|
|
||||||
|
<div class="section-title">
|
||||||
|
<h2 style="font-family: Metal Mania">List Desain</h2>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
|
||||||
|
<div class="col-lg-12 mt-lg-0">
|
||||||
|
<div id="sini_divnya"></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</section><!-- End Contact Section -->
|
||||||
|
|
||||||
|
|
||||||
|
<!-- ======= Footer ======= -->
|
||||||
|
<footer id="footer">
|
||||||
|
<div class="container">
|
||||||
|
<div class="copyright" style="font-family: Pacifico">
|
||||||
|
© Copyright <strong><span>Irwan</span></strong>. All Rights Reserved
|
||||||
|
</div>
|
||||||
|
<div class="credits" style="font-family: Metal Mania">
|
||||||
|
<!-- All the links in the footer should remain intact. -->
|
||||||
|
<!-- You can delete the links only if you purchased the pro version. -->
|
||||||
|
<!-- Licensing information: https://bootstrapmade.com/license/ -->
|
||||||
|
<!-- Purchase the pro version with working PHP/AJAX contact form: https://bootstrapmade.com/kelly-free-bootstrap-cv-resume-html-template/ -->
|
||||||
|
Designed by Irwan
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer><!-- End Footer -->
|
||||||
|
|
||||||
|
<div id="preloader"></div>
|
||||||
|
<a href="#" class="back-to-top"><i class="bx bx-up-arrow-alt"></i></a>
|
||||||
|
|
||||||
|
<!-- Vendor JS Files -->
|
||||||
|
<script src="assets/vendor/jquery/jquery.min.js"></script>
|
||||||
|
<script src="assets/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
|
||||||
|
<script src="assets/vendor/jquery.easing/jquery.easing.min.js"></script>
|
||||||
|
<script src="assets/vendor/waypoints/jquery.waypoints.min.js"></script>
|
||||||
|
<script src="assets/vendor/counterup/counterup.min.js"></script>
|
||||||
|
<script src="assets/vendor/owl.carousel/owl.carousel.min.js"></script>
|
||||||
|
<script src="assets/vendor/isotope-layout/isotope.pkgd.min.js"></script>
|
||||||
|
<script src="assets/vendor/venobox/venobox.min.js"></script>
|
||||||
|
<script src="assets/vendor/aos/aos.js"></script>
|
||||||
|
<script src="assets/toastr/toastr.min.js"></script>
|
||||||
|
<link rel="stylesheet" type="text/css" href="assets/toastr/toastr.min.css">
|
||||||
|
|
||||||
|
<!-- Template Main JS File -->
|
||||||
|
<script src="cordova.js"></script>
|
||||||
|
<script src="assets/js/list.js"></script>
|
||||||
|
<script src="assets/js/main.js"></script>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||