diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-03-25 13:13:57 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-03-25 13:13:57 +0100 |
| commit | d25ff2bddd44b9dac1ceb248424109d1782dd211 (patch) | |
| tree | 34fcfd824a1a72e7b4d431b688adcea532b62180 /minionlivesmatter | |
| parent | a2cbdd1b88ac723e5e441c0a3c22636f0a8c4dfd (diff) | |
| download | meta-d25ff2bddd44b9dac1ceb248424109d1782dd211.tar.gz meta-d25ff2bddd44b9dac1ceb248424109d1782dd211.zip | |
add minionlivesmatter as submodule
Diffstat (limited to 'minionlivesmatter')
490 files changed, 0 insertions, 75745 deletions
diff --git a/minionlivesmatter b/minionlivesmatter new file mode 160000 +Subproject ca88c377f918a9178c56e206b7bb13baefd30c9 diff --git a/minionlivesmatter/.gitignore b/minionlivesmatter/.gitignore deleted file mode 100644 index 9a05e2d..0000000 --- a/minionlivesmatter/.gitignore +++ /dev/null @@ -1,91 +0,0 @@ -# Byte-compiled / optimized / DLL files -__pycache__/ -*.py[cod] -*$py.class - -# C extensions -*.so - -# Distribution / packaging -.Python -env/ -build/ -develop-eggs/ -dist/ -downloads/ -eggs/ -.eggs/ -lib/ -lib64/ -parts/ -sdist/ -var/ -wheels/ -*.egg-info/ -.installed.cfg -*.egg - -# PyInstaller -# Usually these files are written by a python script from a template -# before PyInstaller builds the exe, so as to inject date/other infos into it. -*.manifest -*.spec - -# Installer logs -pip-log.txt -pip-delete-this-directory.txt - -# Unit test / coverage reports -htmlcov/ -.tox/ -.coverage -.coverage.* -.cache -nosetests.xml -coverage.xml -*,cover -.hypothesis/ - -# Translations -*.mo -*.pot - -# Django stuff: -*.log -local_settings.py - -# Flask stuff: -instance/ -.webassets-cache - -# Scrapy stuff: -.scrapy - -# Sphinx documentation -docs/_build/ - -# PyBuilder -target/ - -# Jupyter Notebook -.ipynb_checkpoints - -# pyenv -.python-version - -# celery beat schedule file -celerybeat-schedule - -# dotenv -.env - -# virtualenv -.venv/ -venv/ -ENV/ - -# Spyder project settings -.spyderproject - -# Rope project settings -.ropeproject diff --git a/minionlivesmatter/api.py b/minionlivesmatter/api.py deleted file mode 100644 index c733649..0000000 --- a/minionlivesmatter/api.py +++ /dev/null @@ -1,62 +0,0 @@ -#!/usr/bin/python3 - -import os -import psycopg2 -import psycopg2.pool -import psycopg2.extras -from flask import Flask, g, render_template, send_from_directory -from werkzeug.contrib.cache import SimpleCache - -app = Flask(__name__) -cache = SimpleCache() - -db_config = { - "host": os.environ.get("POSTGRESQL_DEST_HOST") or "localhost", - "port": os.environ.get("POSTGRESQL_DEST_PORT") or 5432, - "user": os.environ.get("POSTGRESQL_DEST_USER") or "vainweb", - "password": os.environ.get("POSTGRESQL_DEST_PASSWORD") or "vainweb", - "dbname": os.environ.get("POSTGRESQL_DEST_DB") or "vainsocial-web" -} - -def dbpool(): - if not hasattr(g, "db_pool"): - g.db_pool = psycopg2.pool.ThreadedConnectionPool( - **db_config, minconn=1, maxconn=10) - return g.db_pool - -@app.teardown_appcontext -def db_disconnect(err): - if hasattr(g, "db_pool"): - g.db_pool.closeall() - -@app.context_processor -def sql_processor(): - def sql_val(query): - val = cache.get(query) - if val is not None: - return val.get(0) - - con = dbpool().getconn() - c = con.cursor(cursor_factory=psycopg2.extras.DictCursor) - - c.execute(query) - val = c.fetchone() - cache.set(query, val, timeout=60*60) # seconds - - c.close() - dbpool().putconn(con) - - return val.get(0) - - return dict(sql_val=sql_val) - -@app.route("/") -def index(): - return render_template("index.html") - -@app.route("/assets/<path:path>") -def send_assets(path): - return send_from_directory("templates/assets", path) - -if __name__ == "__main__": - app.run(host="0.0.0.0", port=5000, debug=True) diff --git a/minionlivesmatter/requirements.txt b/minionlivesmatter/requirements.txt deleted file mode 100644 index 544bd02..0000000 --- a/minionlivesmatter/requirements.txt +++ /dev/null @@ -1,11 +0,0 @@ -appdirs==1.4.3 -click==6.7 -Flask==0.12 -itsdangerous==0.24 -Jinja2==2.9.5 -MarkupSafe==1.0 -packaging==16.8 -psycopg2==2.7.1 -pyparsing==2.2.0 -six==1.10.0 -Werkzeug==0.12.1 diff --git a/minionlivesmatter/templates/assets/.DS_Store b/minionlivesmatter/templates/assets/.DS_Store Binary files differdeleted file mode 100644 index 72e83f5..0000000 --- a/minionlivesmatter/templates/assets/.DS_Store +++ /dev/null diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/.bower.json b/minionlivesmatter/templates/assets/bootstrap-material-design/.bower.json deleted file mode 100644 index cc4d06b..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/.bower.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "name": "bootstrap-material-design", - "description": "Bootstrap Material Design 4", - "keywords": [ - "material", - "design", - "bootstrap", - "css", - "js", - "sass", - "mobile-first", - "responsive", - "front-end", - "framework", - "web" - ], - "homepage": "http://fezvrasta.github.io/bootstrap-material-design", - "license": "MIT", - "moduleType": "globals", - "main": [ - "scss/_core.scss", - "dist/bootstrap-material-design.iife.js" - ], - "dependencies": { - "jquery": "^2.2", - "tether": "^1.2", - "bootstrap": "v4-dev" - }, - "version": "4.0.2", - "_release": "4.0.2", - "_resolution": { - "type": "version", - "tag": "v4.0.2", - "commit": "ec3a7ffc23d1f18ac822442fe06d3688d29cbbea" - }, - "_source": "https://github.com/FezVrasta/bootstrap-material-design.git", - "_target": "v4.0.2", - "_originalSource": "bootstrap-material-design", - "_direct": true -}
\ No newline at end of file diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/.travis.yml b/minionlivesmatter/templates/assets/bootstrap-material-design/.travis.yml deleted file mode 100644 index 34b0d78..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ -sudo: false -git: - depth: 10 - -# remove the dist branch and dist tags from travis builds -branches: - except: - - dist - - /^v(\d+\.)?(\d+\.)?(\*|\d+)$/ - -language: node_js -node_js: - - "5" # "node" (v6.x) yielded v8::ObjectTemplate::Set() with non-primitive values is deprecated - -# enable this once we have reliable builds -cache: - directories: - - node_modules - - vendor/bundle - -before_install: - - rvm install 2.2 - - rvm use 2.2 --fuzzy - - gem install scss-lint - -before_script: - - npm install -g gulp-cli - -script: gulp all diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/LICENSE.md b/minionlivesmatter/templates/assets/bootstrap-material-design/LICENSE.md deleted file mode 100644 index 4199bf6..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/LICENSE.md +++ /dev/null @@ -1,30 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2015-2016, Federico Zivolo and contributors - https://github.com/FezVrasta/bootstrap-material-design - -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. - - -## Acknowledgements: - -- Some original Bootstrap code and documentation http://getbootstrap.com -`Copyright (c) 2011-2015 Twitter, Inc` - -- Some original MDL code http://www.getmdl.io/ -`Copyright 2015 Google Inc. All Rights Reserved.` diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/README.md b/minionlivesmatter/templates/assets/bootstrap-material-design/README.md deleted file mode 100644 index 9fe60b2..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/README.md +++ /dev/null @@ -1,6 +0,0 @@ -# bootstrap-material-design - -[`v4.0.2`](../../releases/tag/v4.0.2) built from commit [`f2ac8b1`](../../commit/f2ac8b142aba7e0cda5c945b04649269d1ff3d5a) on branch `v4-dev`. See the [README](../..) for more details - ---- -<sup>Built and published by [gulp-pipeline](https://github.com/alienfast/gulp-pipeline) using [build-control](https://github.com/alienfast/build-control)</sup> diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/bower.json b/minionlivesmatter/templates/assets/bootstrap-material-design/bower.json deleted file mode 100644 index a312e33..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/bower.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "name": "bootstrap-material-design", - "description": "Bootstrap Material Design 4", - "keywords": [ - "material", - "design", - "bootstrap", - "css", - "js", - "sass", - "mobile-first", - "responsive", - "front-end", - "framework", - "web" - ], - "homepage": "http://fezvrasta.github.io/bootstrap-material-design", - "license": "MIT", - "moduleType": "globals", - "main": [ - "scss/_core.scss", - "dist/bootstrap-material-design.iife.js" - ], - "dependencies": { - "jquery": "^2.2", - "tether": "^1.2", - "bootstrap": "v4-dev" - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/js/autofill.js b/minionlivesmatter/templates/assets/bootstrap-material-design/js/autofill.js deleted file mode 100644 index 2ada9ec..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/js/autofill.js +++ /dev/null @@ -1,109 +0,0 @@ -import Base from './base' - -const Autofill = (($) => { - - /** - * ------------------------------------------------------------------------ - * Constants - * ------------------------------------------------------------------------ - */ - const NAME = 'autofill' - const DATA_KEY = `bmd.${NAME}` - const JQUERY_NAME = `bmd${NAME.charAt(0).toUpperCase() + NAME.slice(1)}` - const JQUERY_NO_CONFLICT = $.fn[JQUERY_NAME] - - const Default = {} - - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - class Autofill extends Base { - - constructor($element, config) { - super($element, $.extend(true, {}, Default, config)) - - this._watchLoading() - this._attachEventHandlers() - } - - dispose() { - super.dispose(DATA_KEY) - } - - // ------------------------------------------------------------------------ - // private - - _watchLoading() { - // After 10 seconds we are quite sure all the needed inputs are autofilled then we can stop checking them - setTimeout(() => { - clearInterval(this._onLoading) - }, 10000) - } - - // This part of code will detect autofill when the page is loading (username and password inputs for example) - _onLoading() { - setInterval(() => { - $('input[type!=checkbox]').each((index, element) => { - let $element = $(element) - if ($element.val() && $element.val() !== $element.attr('value')) { - $element.trigger('change') - } - }) - }, 100) - } - - _attachEventHandlers() { - // Listen on inputs of the focused form - // (because user can select from the autofill dropdown only when the input has focus) - let focused = null - $(document) - .on('focus', 'input', (event) => { - let $inputs = $(event.currentTarget).closest('form').find('input').not('[type=file]') - focused = setInterval(() => { - $inputs.each((index, element) => { - let $element = $(element) - if ($element.val() !== $element.attr('value')) { - $element.trigger('change') - } - }) - }, 100) - }) - .on('blur', '.form-group input', () => { - clearInterval(focused) - }) - } - - // ------------------------------------------------------------------------ - // static - static _jQueryInterface(config) { - return this.each(function () { - let $element = $(this) - let data = $element.data(DATA_KEY) - - if (!data) { - data = new Autofill($element, config) - $element.data(DATA_KEY, data) - } - }) - } - } - - /** - * ------------------------------------------------------------------------ - * jQuery - * ------------------------------------------------------------------------ - */ - $.fn[JQUERY_NAME] = Autofill._jQueryInterface - $.fn[JQUERY_NAME].Constructor = Autofill - $.fn[JQUERY_NAME].noConflict = () => { - $.fn[JQUERY_NAME] = JQUERY_NO_CONFLICT - return Autofill._jQueryInterface - } - - return Autofill - -})(jQuery) - -export default Autofill diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/js/base.js b/minionlivesmatter/templates/assets/bootstrap-material-design/js/base.js deleted file mode 100644 index 283b976..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/js/base.js +++ /dev/null @@ -1,88 +0,0 @@ -import Util from './util' - -const Base = (($) => { - - const ClassName = { - BMD_FORM_GROUP: 'bmd-form-group', - IS_FILLED: 'is-filled', - IS_FOCUSED: 'is-focused' - } - - const Selector = { - BMD_FORM_GROUP: `.${ClassName.BMD_FORM_GROUP}` - } - - const Default = {} - - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - class Base { - - /** - * - * @param element - * @param config - * @param properties - anything that needs to be set as this[key] = value. Works around the need to call `super` before using `this` - */ - constructor($element, config, properties = {}) { - this.$element = $element - this.config = $.extend(true, {}, Default, config) - - // set properties for use in the constructor initialization - for (let key in properties) { - this[key] = properties[key] - } - } - - dispose(dataKey) { - this.$element.data(dataKey, null) - this.$element = null - this.config = null - } - - // ------------------------------------------------------------------------ - // protected - - addFormGroupFocus() { - if (!this.$element.prop('disabled')) { - this.$bmdFormGroup.addClass(ClassName.IS_FOCUSED) - } - } - - removeFormGroupFocus() { - this.$bmdFormGroup.removeClass(ClassName.IS_FOCUSED) - } - - removeIsFilled() { - this.$bmdFormGroup.removeClass(ClassName.IS_FILLED) - } - - addIsFilled() { - this.$bmdFormGroup.addClass(ClassName.IS_FILLED) - } - - // Find bmd-form-group - findMdbFormGroup(raiseError = true) { - let mfg = this.$element.closest(Selector.BMD_FORM_GROUP) - if (mfg.length === 0 && raiseError) { - $.error(`Failed to find ${Selector.BMD_FORM_GROUP} for ${Util.describe(this.$element)}`) - } - return mfg - } - - // ------------------------------------------------------------------------ - // private - - // ------------------------------------------------------------------------ - // static - - } - - return Base - -})(jQuery) - -export default Base diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/js/baseFormControl.js b/minionlivesmatter/templates/assets/bootstrap-material-design/js/baseFormControl.js deleted file mode 100644 index 8481070..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/js/baseFormControl.js +++ /dev/null @@ -1,36 +0,0 @@ -import BaseInput from './baseInput' - -const BaseFormControl = (($) => { - - /** - * ------------------------------------------------------------------------ - * Constants - * ------------------------------------------------------------------------ - */ - const Default = { - requiredClasses: ['form-control'] - } - - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - class BaseFormControl extends BaseInput { - - constructor($element, config) { - super($element, $.extend(true, Default, config)) - - // Initially mark as empty - if (this.isEmpty()) { - this.removeIsFilled() - } - } - } - - - return BaseFormControl - -})(jQuery) - -export default BaseFormControl diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/js/baseInput.js b/minionlivesmatter/templates/assets/bootstrap-material-design/js/baseInput.js deleted file mode 100644 index 5396ccb..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/js/baseInput.js +++ /dev/null @@ -1,321 +0,0 @@ -import Base from './base' -import Util from './util' - -const BaseInput = (($) => { - - const ClassName = { - FORM_GROUP: 'form-group', - BMD_FORM_GROUP: 'bmd-form-group', - BMD_LABEL: 'bmd-label', - BMD_LABEL_STATIC: 'bmd-label-static', - BMD_LABEL_PLACEHOLDER: 'bmd-label-placeholder', - BMD_LABEL_FLOATING: 'bmd-label-floating', - HAS_DANGER: 'has-danger', - IS_FILLED: 'is-filled', - IS_FOCUSED: 'is-focused', - INPUT_GROUP: 'input-group' - } - - const Selector = { - FORM_GROUP: `.${ClassName.FORM_GROUP}`, - BMD_FORM_GROUP: `.${ClassName.BMD_FORM_GROUP}`, - BMD_LABEL_WILDCARD: `label[class^='${ClassName.BMD_LABEL}'], label[class*=' ${ClassName.BMD_LABEL}']` // match any label variant if specified - } - - const Default = { - validate: false, - formGroup: { - required: false - }, - bmdFormGroup: { - template: `<span class='${ClassName.BMD_FORM_GROUP}'></span>`, - create: true, // create a wrapper if form-group not found - required: true // not recommended to turn this off, only used for inline components - }, - label: { - required: false, - - // Prioritized find order for resolving the label to be used as an bmd-label if not specified in the markup - // - a function(thisComponent); or - // - a string selector used like $bmdFormGroup.find(selector) - // - // Note this only runs if $bmdFormGroup.find(Selector.BMD_LABEL_WILDCARD) fails to find a label (as authored in the markup) - // - selectors: [ - `.form-control-label`, // in the case of horizontal or inline forms, this will be marked - `> label` // usual case for text inputs, first child. Deeper would find toggle labels so don't do that. - ], - className: ClassName.BMD_LABEL_STATIC - }, - requiredClasses: [], - invalidComponentMatches: [], - convertInputSizeVariations: true - } - - const FormControlSizeMarkers = { - 'form-control-lg': 'bmd-form-group-lg', - 'form-control-sm': 'bmd-form-group-sm' - } - - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - class BaseInput extends Base { - - /** - * - * @param element - * @param config - * @param properties - anything that needs to be set as this[key] = value. Works around the need to call `super` before using `this` - */ - constructor($element, config, properties = {}) { - super($element, $.extend(true, {}, Default, config), properties) - - // Enforce no overlap between components to prevent side effects - this._rejectInvalidComponentMatches() - - // Enforce expected structure (if any) - this.rejectWithoutRequiredStructure() - - // Enforce required classes for a consistent rendering - this._rejectWithoutRequiredClasses() - - // Resolve the form-group first, it will be used for bmd-form-group if possible - // note: different components have different rules - this.$formGroup = this.findFormGroup(this.config.formGroup.required) - - // Will add bmd-form-group to form-group or create an bmd-form-group - // Performance Note: for those forms that are really performance driven, create the markup with the .bmd-form-group to avoid - // rendering changes once added. - this.$bmdFormGroup = this.resolveMdbFormGroup() - - // Resolve and mark the bmdLabel if necessary as defined by the config - this.$bmdLabel = this.resolveMdbLabel() - - // Signal to the bmd-form-group that a form-control-* variation is being used - this.resolveMdbFormGroupSizing() - - this.addFocusListener() - this.addChangeListener() - - if(this.$element.val() != ''){ - this.addIsFilled() - } - } - - dispose(dataKey) { - super.dispose(dataKey) - this.$bmdFormGroup = null - this.$formGroup = null - } - - // ------------------------------------------------------------------------ - // protected - - rejectWithoutRequiredStructure() { - // implement - } - - addFocusListener() { - this.$element - .on('focus', () => { - this.addFormGroupFocus() - }) - .on('blur', () => { - this.removeFormGroupFocus() - }) - } - - addChangeListener() { - this.$element - .on('keydown paste', (event) => { - if (Util.isChar(event)) { - this.addIsFilled() - } - }) - .on('keyup change', () => { - - // make sure empty is added back when there is a programmatic value change. - // NOTE: programmatic changing of value using $.val() must trigger the change event i.e. $.val('x').trigger('change') - if (this.isEmpty()) { - this.removeIsFilled() - } else { - this.addIsFilled() - } - - if (this.config.validate) { - // Validation events do not bubble, so they must be attached directly to the text: http://jsfiddle.net/PEpRM/1/ - // Further, even the bind method is being caught, but since we are already calling #checkValidity here, just alter - // the form-group on change. - // - // NOTE: I'm not sure we should be intervening regarding validation, this seems better as a README and snippet of code. - // BUT, I've left it here for backwards compatibility. - let isValid = (typeof this.$element[0].checkValidity === 'undefined' || this.$element[0].checkValidity()) - if (isValid) { - this.removeHasDanger() - } else { - this.addHasDanger() - } - } - }) - } - - addHasDanger() { - this.$bmdFormGroup.addClass(ClassName.HAS_DANGER) - } - - removeHasDanger() { - this.$bmdFormGroup.removeClass(ClassName.HAS_DANGER) - } - - isEmpty() { - return (this.$element.val() === null || this.$element.val() === undefined || this.$element.val() === '') - } - - // Will add bmd-form-group to form-group or create a bmd-form-group if necessary - resolveMdbFormGroup() { - let mfg = this.findMdbFormGroup(false) - if (mfg === undefined || mfg.length === 0) { - if (this.config.bmdFormGroup.create && (this.$formGroup === undefined || this.$formGroup.length === 0)) { - // If a form-group doesn't exist (not recommended), take a guess and wrap the element (assuming no label). - // note: it's possible to make this smarter, but I need to see valid cases before adding any complexity. - - // this may be an input-group, wrap that instead - if(this.outerElement().parent().hasClass(ClassName.INPUT_GROUP)){ - this.outerElement().parent().wrap(this.config.bmdFormGroup.template) - } - else{ - this.outerElement().wrap(this.config.bmdFormGroup.template) - } - } else { - // a form-group does exist, add our marker class to it - this.$formGroup.addClass(ClassName.BMD_FORM_GROUP) - - // OLD: may want to implement this after all, see how the styling turns out, but using an existing form-group is less manipulation of the dom and therefore preferable - // A form-group does exist, so add an bmd-form-group wrapping it's internal contents - //fg.wrapInner(this.config.bmdFormGroup.template) - } - - mfg = this.findMdbFormGroup(this.config.bmdFormGroup.required) - } - - return mfg - } - - // Demarcation element (e.g. first child of a form-group) - // Subclasses such as file inputs may have different structures - outerElement() { - return this.$element - } - - // Will add bmd-label to bmd-form-group if not already specified - resolveMdbLabel() { - - let label = this.$bmdFormGroup.find(Selector.BMD_LABEL_WILDCARD) - if (label === undefined || label.length === 0) { - // we need to find it based on the configured selectors - label = this.findMdbLabel(this.config.label.required) - - if (label === undefined || label.length === 0) { - // no label found, and finder did not require one - } else { - // a candidate label was found, add the configured default class name - label.addClass(this.config.label.className) - } - } - - return label - } - - // Find bmd-label variant based on the config selectors - findMdbLabel(raiseError = true) { - let label = null - - // use the specified selector order - for (let selector of this.config.label.selectors) { - if ($.isFunction(selector)) { - label = selector(this) - } else { - label = this.$bmdFormGroup.find(selector) - } - - if (label !== undefined && label.length > 0) { - break - } - } - - if (label.length === 0 && raiseError) { - $.error(`Failed to find ${Selector.BMD_LABEL_WILDCARD} within form-group for ${Util.describe(this.$element)}`) - } - return label - } - - // Find bmd-form-group - findFormGroup(raiseError = true) { - let fg = this.$element.closest(Selector.FORM_GROUP) - if (fg.length === 0 && raiseError) { - $.error(`Failed to find ${Selector.FORM_GROUP} for ${Util.describe(this.$element)}`) - } - return fg - } - - // Due to the interconnected nature of labels/inputs/help-blocks, signal the bmd-form-group-* size variation based on - // a found form-control-* size - resolveMdbFormGroupSizing() { - if (!this.config.convertInputSizeVariations) { - return - } - - // Modification - Change text-sm/lg to form-group-sm/lg instead (preferred standard and simpler css/less variants) - for (let inputSize in FormControlSizeMarkers) { - if (this.$element.hasClass(inputSize)) { - //this.$element.removeClass(inputSize) - this.$bmdFormGroup.addClass(FormControlSizeMarkers[inputSize]) - } - } - } - - // ------------------------------------------------------------------------ - // private - _rejectInvalidComponentMatches() { - for (let otherComponent of this.config.invalidComponentMatches) { - otherComponent.rejectMatch(this.constructor.name, this.$element) - } - } - - _rejectWithoutRequiredClasses() { - for (let requiredClass of this.config.requiredClasses) { - - let found = false - // allow one of several classes to be passed in x||y - if (requiredClass.indexOf('||') !== -1) { - let oneOf = requiredClass.split('||') - for (let requiredClass of oneOf) { - if (this.$element.hasClass(requiredClass)) { - found = true - break - } - } - } else if (this.$element.hasClass(requiredClass)) { - found = true - } - - // error if not found - if (!found) { - $.error(`${this.constructor.name} element: ${Util.describe(this.$element)} requires class: ${requiredClass}`) - } - } - } - - // ------------------------------------------------------------------------ - // static - - } - - return BaseInput - -})(jQuery) - -export default BaseInput diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/js/baseLayout.js b/minionlivesmatter/templates/assets/bootstrap-material-design/js/baseLayout.js deleted file mode 100644 index 8dc87ed..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/js/baseLayout.js +++ /dev/null @@ -1,122 +0,0 @@ -import Base from './base' -import Util from './util' - -const BaseLayout = (($) => { - - const ClassName = { - CANVAS: 'bmd-layout-canvas', - CONTAINER: 'bmd-layout-container', - BACKDROP: `bmd-layout-backdrop` - } - - const Selector = { - CANVAS: `.${ClassName.CANVAS}`, - CONTAINER: `.${ClassName.CONTAINER}`, - BACKDROP: `.${ClassName.BACKDROP}` - } - - const Default = { - canvas: { - create: true, - required: true, - template: `<div class="${ClassName.CANVAS}"></div>` - }, - backdrop: { - create: true, - required: true, - template: `<div class="${ClassName.BACKDROP}"></div>` - } - } - - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - class BaseLayout extends Base { - - constructor($element, config, properties = {}) { - super($element, $.extend(true, {}, Default, config), properties) - - this.$container = this.findContainer(true) - this.$backdrop = this.resolveBackdrop() - this.resolveCanvas(); - } - - dispose(dataKey) { - super.dispose(dataKey) - this.$container = null - this.$backdrop = null - } - - // ------------------------------------------------------------------------ - // protected - - // Will wrap container in bmd-layout-canvas if necessary - resolveCanvas() { - let bd = this.findCanvas(false) - if (bd === undefined || bd.length === 0) { - if (this.config.canvas.create) { - this.$container.wrap(this.config.canvas.template) - } - - bd = this.findCanvas(this.config.canvas.required) - } - - return bd - } - - // Find closest bmd-layout-container based on the given context - findCanvas(raiseError = true, context = this.$container) { - let canvas = context.closest(Selector.CANVAS) - if (canvas.length === 0 && raiseError) { - $.error(`Failed to find ${Selector.CANVAS} for ${Util.describe(context)}`) - } - return canvas - } - - // Will add bmd-layout-backdrop to bmd-layout-container if necessary - resolveBackdrop() { - let bd = this.findBackdrop(false) - if (bd === undefined || bd.length === 0) { - if (this.config.backdrop.create) { - this.$container.append(this.config.backdrop.template) - } - - bd = this.findBackdrop(this.config.backdrop.required) - } - - return bd - } - - // Find closest bmd-layout-container based on the given context - findBackdrop(raiseError = true, context = this.$container) { - let backdrop = context.find(`> ${Selector.BACKDROP}`) - if (backdrop.length === 0 && raiseError) { - $.error(`Failed to find ${Selector.BACKDROP} for ${Util.describe(context)}`) - } - return backdrop - } - - // Find closest bmd-layout-container based on the given context - findContainer(raiseError = true, context = this.$element) { - let container = context.closest(Selector.CONTAINER) - if (container.length === 0 && raiseError) { - $.error(`Failed to find ${Selector.CONTAINER} for ${Util.describe(context)}`) - } - return container - } - - // ------------------------------------------------------------------------ - // private - - // ------------------------------------------------------------------------ - // static - - } - - return BaseLayout - -})(jQuery) - -export default BaseLayout diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/js/baseSelection.js b/minionlivesmatter/templates/assets/bootstrap-material-design/js/baseSelection.js deleted file mode 100644 index 765d1c3..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/js/baseSelection.js +++ /dev/null @@ -1,93 +0,0 @@ -import BaseInput from './baseInput' -import Util from './util' - -const BaseSelection = (($) => { - - /** - * ------------------------------------------------------------------------ - * Constants - * ------------------------------------------------------------------------ - */ - const Default = { - label: { - required: false - - // Prioritized find order for resolving the label to be used as an bmd-label if not specified in the markup - // - a function(thisComponent); or - // - a string selector used like $bmdFormGroup.find(selector) - // - // Note this only runs if $bmdFormGroup.find(Selector.BMD_LABEL_WILDCARD) fails to find a label (as authored in the markup) - // - //selectors: [ - // `.form-control-label`, // in the case of horizontal or inline forms, this will be marked - // `> label` // usual case for text inputs - //] - } - } - - const Selector = { - LABEL: 'label' - } - - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - class BaseSelection extends BaseInput { - - constructor($element, config, properties) { - // properties = {inputType: checkbox, outerClass: checkbox-inline} - // '.checkbox|switch|radio > label > input[type=checkbox|radio]' - // '.${this.outerClass} > label > input[type=${this.inputType}]' - - super($element, $.extend(true, {}, Default, config), properties) - this.decorateMarkup() - } - - // ------------------------------------------------------------------------ - // protected - - decorateMarkup() { - this.$element.after(this.config.template) - } - - // Demarcation element (e.g. first child of a form-group) - outerElement() { - // .checkbox|switch|radio > label > input[type=checkbox|radio] - // label.checkbox-inline > input[type=checkbox|radio] - // .${this.outerClass} > label > input[type=${this.inputType}] - return this.$element.parent().closest(`.${this.outerClass}`) - } - - rejectWithoutRequiredStructure() { - // '.checkbox|switch|radio > label > input[type=checkbox|radio]' - // '.${this.outerClass} > label > input[type=${this.inputType}]' - Util.assert(this.$element, !this.$element.parent().prop('tagName') === 'label', `${this.constructor.name}'s ${Util.describe(this.$element)} parent element should be <label>.`) - Util.assert(this.$element, !this.outerElement().hasClass(this.outerClass), `${this.constructor.name}'s ${Util.describe(this.$element)} outer element should have class ${this.outerClass}.`) - } - - addFocusListener() { - // checkboxes didn't appear to bubble to the document, so we'll bind these directly - this.$element.closest(Selector.LABEL).hover(() => { - this.addFormGroupFocus() - }, () => { - this.removeFormGroupFocus() - }) - } - - addChangeListener() { - this.$element.change(() => { - this.$element.blur() - }) - } - - // ------------------------------------------------------------------------ - // private - } - - return BaseSelection - -})(jQuery) - -export default BaseSelection diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/js/bootstrapMaterialDesign.js b/minionlivesmatter/templates/assets/bootstrap-material-design/js/bootstrapMaterialDesign.js deleted file mode 100644 index b3be531..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/js/bootstrapMaterialDesign.js +++ /dev/null @@ -1,205 +0,0 @@ -/** - * $.bootstrapMaterialDesign(config) is a macro class to configure the components generally - * used in Bootstrap Material Design. You may pass overrides to the configurations - * which will be passed into each component, or you may omit use of this class and - * configure each component separately. - */ -const BootstrapMaterialDesign = (($) => { - - /** - * ------------------------------------------------------------------------ - * Constants - * ------------------------------------------------------------------------ - */ - const NAME = 'bootstrapMaterialDesign' - const DATA_KEY = `bmd.${NAME}` - const JQUERY_NAME = NAME // retain this full name since it is long enough not to conflict - const JQUERY_NO_CONFLICT = $.fn[JQUERY_NAME] - - /** - * Global configuration: - * The global configuration hash will be mixed in to each components' config. - * e.g. calling $.bootstrapMaterialDesign({global: { validate: true } }) would pass `validate:true` to every component - * - * - * Component configuration: - * - selector: may be a string or an array. Any array will be joined with a comma to generate the selector - * - disable any component by defining it as false with an override. e.g. $.bootstrapMaterialDesign({ autofill: false }) - * - * @see each individual component for more configuration settings. - */ - const Default = { - global: { - validate: false, - label: { - className: 'bmd-label-static' // default style of label to be used if not specified in the html markup - } - }, - autofill: { - selector: 'body' - }, - checkbox: { - selector: '.checkbox > label > input[type=checkbox]' - }, - checkboxInline: { - selector: 'label.checkbox-inline > input[type=checkbox]' - }, - collapseInline: { - selector: '.bmd-collapse-inline [data-toggle="collapse"]' - }, - drawer: { - selector: '.bmd-layout-drawer' - }, - file: { - selector: 'input[type=file]' - }, - radio: { - selector: '.radio > label > input[type=radio]' - }, - radioInline: { - selector: 'label.radio-inline > input[type=radio]' - }, - ripples: { - //selector: ['.btn:not(.btn-link):not(.ripple-none)'] // testing only - selector: [ - '.btn:not(.btn-link):not(.ripple-none)', - '.card-image:not(.ripple-none)', - '.navbar a:not(.ripple-none)', - '.dropdown-menu a:not(.ripple-none)', - '.nav-tabs a:not(.ripple-none)', - '.pagination li:not(.active):not(.disabled) a:not(.ripple-none)', - '.ripple' // generic marker class to add ripple to elements - ] - }, - select: { - selector: ['select'] - }, - switch: { - selector: '.switch > label > input[type=checkbox]' - }, - text: { - // omit inputs we have specialized components to handle - we need to match text, email, etc. The easiest way to do this appears to be just omit the ones we don't want to match and let the rest fall through to this. - selector: [`input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=file]):not([type=button]):not([type=submit]):not([type=reset])`] - }, - textarea: { - selector: ['textarea'] - }, - arrive: true, - // create an ordered component list for instantiation - instantiation: [ - 'ripples', - 'checkbox', - 'checkboxInline', - 'collapseInline', - 'drawer', - //'file', - 'radio', - 'radioInline', - 'switch', - 'text', - 'textarea', - 'select', - 'autofill' - ] - } - - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - class BootstrapMaterialDesign { - - constructor($element, config) { - this.$element = $element - this.config = $.extend(true, {}, Default, config) - let $document = $(document) - - for (let component of this.config.instantiation) { - - // the component's config fragment is passed in directly, allowing users to override - let componentConfig = this.config[component] - - // check to make sure component config is enabled (not `false`) - if (componentConfig) { - - // assemble the selector as it may be an array - let selector = this._resolveSelector(componentConfig) - - // mix in global options - componentConfig = $.extend(true, {}, this.config.global, componentConfig) - - // create the jquery fn name e.g. 'bmdText' for 'text' - let componentName = `${component.charAt(0).toUpperCase() + component.slice(1)}` - let jqueryFn = `bmd${componentName}` - - try { - // safely instantiate component on selector elements with config, report errors and move on. - // console.debug(`instantiating: $('${selector}')[${jqueryFn}](${componentConfig})`) // eslint-disable-line no-console - $(selector)[jqueryFn](componentConfig) - - // add to arrive if present and enabled - if (document.arrive && this.config.arrive) { - $document.arrive(selector, function(){ // eslint-disable-line no-loop-func - $(this)[jqueryFn](componentConfig) - }) - } - } catch (e) { - let message = `Failed to instantiate component: $('${selector}')[${jqueryFn}](${componentConfig})` - console.error(message, e, `\nSelected elements: `, $(selector)) // eslint-disable-line no-console - throw e - } - } - } - } - - dispose() { - this.$element.data(DATA_KEY, null) - this.$element = null - this.config = null - } - - // ------------------------------------------------------------------------ - // private - - _resolveSelector(componentConfig) { - let selector = componentConfig.selector - if (Array.isArray(selector)) { - selector = selector.join(', ') - } - - return selector - } - - // ------------------------------------------------------------------------ - // static - static _jQueryInterface(config) { - return this.each(function () { - let $element = $(this) - let data = $element.data(DATA_KEY) - - if (!data) { - data = new BootstrapMaterialDesign($element, config) - $element.data(DATA_KEY, data) - } - }) - } - } - - /** - * ------------------------------------------------------------------------ - * jQuery - * ------------------------------------------------------------------------ - */ - $.fn[JQUERY_NAME] = BootstrapMaterialDesign._jQueryInterface - $.fn[JQUERY_NAME].Constructor = BootstrapMaterialDesign - $.fn[JQUERY_NAME].noConflict = () => { - $.fn[JQUERY_NAME] = JQUERY_NO_CONFLICT - return BootstrapMaterialDesign._jQueryInterface - } - - return BootstrapMaterialDesign - -})(jQuery) - -export default BootstrapMaterialDesign diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/js/checkbox.js b/minionlivesmatter/templates/assets/bootstrap-material-design/js/checkbox.js deleted file mode 100644 index 9b93f40..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/js/checkbox.js +++ /dev/null @@ -1,94 +0,0 @@ -import BaseSelection from './baseSelection' -//import Text from './text' -//import File from './file' -//import Radio from './radio' -//import Textarea from './textarea' -//import Select from './select' -import Util from './util' - -const Checkbox = (($) => { - - /** - * ------------------------------------------------------------------------ - * Constants - * ------------------------------------------------------------------------ - */ - const NAME = 'checkbox' - const DATA_KEY = `bmd.${NAME}` - const JQUERY_NAME = `bmd${NAME.charAt(0).toUpperCase() + NAME.slice(1)}` - const JQUERY_NO_CONFLICT = $.fn[JQUERY_NAME] - - const Default = { - template: `<span class='checkbox-decorator'><span class='check'></span></span>` - } - - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - class Checkbox extends BaseSelection { - - constructor($element, config, properties = {inputType: NAME, outerClass: NAME}) { - super($element, $.extend(true, - //{invalidComponentMatches: [File, Radio, Text, Textarea, Select]}, - Default, config), properties) - } - - dispose(dataKey = DATA_KEY) { - super.dispose(dataKey) - } - - static matches($element) { - // '.checkbox > label > input[type=checkbox]' - if ($element.attr('type') === 'checkbox') { - return true - } - return false - } - - static rejectMatch(component, $element) { - Util.assert(this.$element, this.matches($element), `${component} component element ${Util.describe($element)} is invalid for type='checkbox'.`) - } - - // ------------------------------------------------------------------------ - // protected - - // ------------------------------------------------------------------------ - // protected - - // ------------------------------------------------------------------------ - // private - - // ------------------------------------------------------------------------ - // static - static _jQueryInterface(config) { - return this.each(function () { - let $element = $(this) - let data = $element.data(DATA_KEY) - - if (!data) { - data = new Checkbox($element, config) - $element.data(DATA_KEY, data) - } - }) - } - } - - /** - * ------------------------------------------------------------------------ - * jQuery - * ------------------------------------------------------------------------ - */ - $.fn[JQUERY_NAME] = Checkbox._jQueryInterface - $.fn[JQUERY_NAME].Constructor = Checkbox - $.fn[JQUERY_NAME].noConflict = () => { - $.fn[JQUERY_NAME] = JQUERY_NO_CONFLICT - return Checkbox._jQueryInterface - } - - return Checkbox - -})(jQuery) - -export default Checkbox diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/js/checkboxInline.js b/minionlivesmatter/templates/assets/bootstrap-material-design/js/checkboxInline.js deleted file mode 100644 index 4ad32d0..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/js/checkboxInline.js +++ /dev/null @@ -1,89 +0,0 @@ -import Checkbox from './checkbox' - -const CheckboxInline = (($) => { - - /** - * ------------------------------------------------------------------------ - * Constants - * ------------------------------------------------------------------------ - */ - const NAME = 'checkboxInline' - const DATA_KEY = `bmd.${NAME}` - const JQUERY_NAME = `bmd${NAME.charAt(0).toUpperCase() + NAME.slice(1)}` - const JQUERY_NO_CONFLICT = $.fn[JQUERY_NAME] - - const Default = { - bmdFormGroup: { - create: false, // no bmd-form-group creation if form-group not present. It messes with the layout. - required: false - } - } - - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - class CheckboxInline extends Checkbox { - - constructor($element, config, properties = {inputType: 'checkbox', outerClass: 'checkbox-inline'}) { - super($element, $.extend(true, {}, Default, config), properties) - } - - dispose() { - super.dispose(DATA_KEY) - } - - //static matches($element) { - // // '.checkbox-inline > input[type=checkbox]' - // if ($element.attr('type') === 'checkbox') { - // return true - // } - // return false - //} - // - //static rejectMatch(component, $element) { - // Util.assert(this.$element, this.matches($element), `${component} component element ${Util.describe($element)} is invalid for type='checkbox'.`) - //} - - // ------------------------------------------------------------------------ - // protected - - // ------------------------------------------------------------------------ - // protected - - // ------------------------------------------------------------------------ - // private - - // ------------------------------------------------------------------------ - // static - static _jQueryInterface(config) { - return this.each(function () { - let $element = $(this) - let data = $element.data(DATA_KEY) - - if (!data) { - data = new CheckboxInline($element, config) - $element.data(DATA_KEY, data) - } - }) - } - } - - /** - * ------------------------------------------------------------------------ - * jQuery - * ------------------------------------------------------------------------ - */ - $.fn[JQUERY_NAME] = CheckboxInline._jQueryInterface - $.fn[JQUERY_NAME].Constructor = CheckboxInline - $.fn[JQUERY_NAME].noConflict = () => { - $.fn[JQUERY_NAME] = JQUERY_NO_CONFLICT - return CheckboxInline._jQueryInterface - } - - return CheckboxInline - -})(jQuery) - -export default CheckboxInline diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/js/collapseInline.js b/minionlivesmatter/templates/assets/bootstrap-material-design/js/collapseInline.js deleted file mode 100644 index 10d813f..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/js/collapseInline.js +++ /dev/null @@ -1,113 +0,0 @@ -import Base from './base' -import Util from './util' - -const CollapseInline = (($) => { - - /** - * ------------------------------------------------------------------------ - * Constants - * ------------------------------------------------------------------------ - */ - const NAME = 'collapseInline' - const DATA_KEY = `bmd.${NAME}` - const JQUERY_NAME = `bmd${NAME.charAt(0).toUpperCase() + NAME.slice(1)}` - const JQUERY_NO_CONFLICT = $.fn[JQUERY_NAME] - - const Selector = { - ANY_INPUT: 'input, select, textarea' - } - - const ClassName = { - IN: 'in', - COLLAPSE: 'collapse', - COLLAPSING: 'collapsing', - COLLAPSED: 'collapsed', - WIDTH: 'width' - } - const Default = {} - - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - class CollapseInline extends Base { - - // $element is expected to be the trigger - // i.e. <button class="btn bmd-btn-icon" for="search" data-toggle="collapse" data-target="#search-field" aria-expanded="false" aria-controls="search-field"> - constructor($element, config) { - super($element, $.extend(true, {}, Default, config)) - this.$bmdFormGroup = this.findMdbFormGroup(true) - - let collapseSelector = $element.data('target') - this.$collapse = $(collapseSelector) - - Util.assert($element, this.$collapse.length === 0, `Cannot find collapse target for ${Util.describe($element)}`) - Util.assert(this.$collapse, !this.$collapse.hasClass(ClassName.COLLAPSE), `${Util.describe(this.$collapse)} is expected to have the '${ClassName.COLLAPSE}' class. It is being targeted by ${Util.describe($element)}`) - - // find the first input for focusing - let $inputs = this.$bmdFormGroup.find(Selector.ANY_INPUT) - if ($inputs.length > 0) { - this.$input = $inputs.first() - } - - // automatically add the marker class to collapse width instead of height - nice convenience because it is easily forgotten - if (!this.$collapse.hasClass(ClassName.WIDTH)) { - this.$collapse.addClass(ClassName.WIDTH) - } - - if (this.$input) { - // add a listener to set focus - this.$collapse.on('shown.bs.collapse', () => { - this.$input.focus() - }) - - // add a listener to collapse field - this.$input.blur(() => { - this.$collapse.collapse('hide') - }) - } - } - - dispose() { - super.dispose(DATA_KEY) - this.$bmdFormGroup = null - this.$collapse = null - this.$input = null - } - - // ------------------------------------------------------------------------ - // private - - // ------------------------------------------------------------------------ - // static - static _jQueryInterface(config) { - return this.each(function () { - let $element = $(this) - let data = $element.data(DATA_KEY) - - if (!data) { - data = new CollapseInline($element, config) - $element.data(DATA_KEY, data) - } - }) - } - } - - /** - * ------------------------------------------------------------------------ - * jQuery - * ------------------------------------------------------------------------ - */ - $.fn[JQUERY_NAME] = CollapseInline._jQueryInterface - $.fn[JQUERY_NAME].Constructor = CollapseInline - $.fn[JQUERY_NAME].noConflict = () => { - $.fn[JQUERY_NAME] = JQUERY_NO_CONFLICT - return CollapseInline._jQueryInterface - } - - return CollapseInline - -})(jQuery) - -export default CollapseInline diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/js/drawer.js b/minionlivesmatter/templates/assets/bootstrap-material-design/js/drawer.js deleted file mode 100644 index ef0586e..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/js/drawer.js +++ /dev/null @@ -1,170 +0,0 @@ -import BaseLayout from './baseLayout' - -const Drawer = (($) => { - - /** - * ------------------------------------------------------------------------ - * Constants - * ------------------------------------------------------------------------ - */ - const NAME = 'drawer' - const DATA_KEY = `bmd.${NAME}` - const JQUERY_NAME = `bmd${NAME.charAt(0).toUpperCase() + NAME.slice(1)}` - const JQUERY_NO_CONFLICT = $.fn[JQUERY_NAME] - - const Keycodes = { - ESCAPE: 27 - //ENTER: 13, - //SPACE: 32 - } - - const ClassName = { - IN: 'in', - DRAWER_IN: `bmd-drawer-in`, - DRAWER_OUT: `bmd-drawer-out`, - DRAWER: 'bmd-layout-drawer', - CONTAINER: 'bmd-layout-container' - } - - const Default = { - focusSelector: `a, button, input` - } - - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - class Drawer extends BaseLayout { - - // $element is expected to be the trigger - // i.e. <button class="btn bmd-btn-icon" for="search" data-toggle="drawer" data-target="#my-side-nav-drawer" aria-expanded="false" aria-controls="my-side-nav-drawer"> - constructor($element, config) { - super($element, $.extend(true, {}, Default, config)) - - this.$toggles = $(`[data-toggle="drawer"][href="#${this.$element[0].id}"], [data-toggle="drawer"][data-target="#${this.$element[0].id}"]`) - - this._addAria() - - // click or escape on the backdrop closes the drawer - this.$backdrop.keydown((ev) => { - if (ev.which === Keycodes.ESCAPE) { - this.hide() - } - }).click(() => { - this.hide() - }) - - // escape on the drawer closes it - this.$element.keydown((ev) => { - if (ev.which === Keycodes.ESCAPE) { - this.hide() - } - }) - - // any toggle button clicks - this.$toggles.click(() => { - this.toggle() - }) - } - - dispose() { - super.dispose(DATA_KEY) - this.$toggles = null - } - - toggle() { - if (this._isOpen()) { - this.hide() - } else { - this.show() - } - } - - show() { - if (this._isForcedClosed() || this._isOpen()) { - return - } - - this.$toggles.attr('aria-expanded', true) - this.$element.attr('aria-expanded', true) - this.$element.attr('aria-hidden', false) - - // focus on the first focusable item - let $focusOn = this.$element.find(this.config.focusSelector) - if ($focusOn.length > 0) { - $focusOn.first().focus() - } - - this.$container.addClass(ClassName.DRAWER_IN) - // backdrop is responsively styled based on bmd-drawer-overlay, therefore style is none of our concern, simply add the marker class and let the scss determine if it should be displayed or not. - this.$backdrop.addClass(ClassName.IN) - } - - hide() { - if (!this._isOpen()) { - return - } - - this.$toggles.attr('aria-expanded', false) - this.$element.attr('aria-expanded', false) - this.$element.attr('aria-hidden', true) - - this.$container.removeClass(ClassName.DRAWER_IN) - this.$backdrop.removeClass(ClassName.IN) - } - - - // ------------------------------------------------------------------------ - // private - - _isOpen() { - return this.$container.hasClass(ClassName.DRAWER_IN) - } - - _isForcedClosed() { - return this.$container.hasClass(ClassName.DRAWER_OUT) - } - - _addAria() { - let isOpen = this._isOpen() - this.$element.attr('aria-expanded', isOpen) - this.$element.attr('aria-hidden', isOpen) - - if (this.$toggles.length) { - this.$toggles.attr('aria-expanded', isOpen) - } - } - - // ------------------------------------------------------------------------ - // static - static _jQueryInterface(config) { - return this.each(function () { - let $element = $(this) - let data = $element.data(DATA_KEY) - - if (!data) { - data = new Drawer($element, config) - $element.data(DATA_KEY, data) - } - }) - } - } - - /** - * ------------------------------------------------------------------------ - * jQuery - * ------------------------------------------------------------------------ - */ - $.fn[JQUERY_NAME] = Drawer._jQueryInterface - $.fn[JQUERY_NAME].Constructor = Drawer - $.fn[JQUERY_NAME].noConflict = () => { - $.fn[JQUERY_NAME] = JQUERY_NO_CONFLICT - return Drawer._jQueryInterface - } - - return Drawer - -})(jQuery) - -export default Drawer diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/js/file.js b/minionlivesmatter/templates/assets/bootstrap-material-design/js/file.js deleted file mode 100644 index ba75a93..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/js/file.js +++ /dev/null @@ -1,139 +0,0 @@ -import BaseInput from './baseInput' -//import Checkbox from './checkbox' -//import Radio from './radio' -//import Switch from './switch' -//import Text from './text' -//import Textarea from './textarea' -//import Select from './select' -import Util from './util' - -const File = (($) => { - - /** - * ------------------------------------------------------------------------ - * Constants - * ------------------------------------------------------------------------ - */ - const NAME = 'file' - const DATA_KEY = `bmd.${NAME}` - const JQUERY_NAME = `bmd${NAME.charAt(0).toUpperCase() + NAME.slice(1)}` - const JQUERY_NO_CONFLICT = $.fn[JQUERY_NAME] - - const Default = {} - - const ClassName = { - FILE: NAME, - IS_FILE: 'is-file' - } - - const Selector = { - FILENAMES: 'input.form-control[readonly]' - } - - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - class File extends BaseInput { - - constructor($element, config) { - super($element, $.extend(true, - //{invalidComponentMatches: [Checkbox, Radio, Text, Textarea, Select, Switch]}, - Default, config)) - - this.$bmdFormGroup.addClass(ClassName.IS_FILE) - } - - dispose() { - super.dispose(DATA_KEY) - } - - static matches($element) { - if ($element.attr('type') === 'file') { - return true - } - return false - } - - static rejectMatch(component, $element) { - Util.assert(this.$element, this.matches($element), `${component} component element ${Util.describe($element)} is invalid for type='file'.`) - } - - // ------------------------------------------------------------------------ - // protected - - // Demarcation element (e.g. first child of a form-group) - outerElement() { - // label.file > input[type=file] - return this.$element.parent().closest(`.${ClassName.FILE}`) - } - - rejectWithoutRequiredStructure() { - // label.file > input[type=file] - Util.assert(this.$element, !this.outerElement().prop('tagName') === 'label', `${this.constructor.name}'s ${Util.describe(this.$element)} parent element ${Util.describe(this.outerElement())} should be <label>.`) - Util.assert(this.$element, !this.outerElement().hasClass(ClassName.FILE), `${this.constructor.name}'s ${Util.describe(this.$element)} parent element ${Util.describe(this.outerElement())} should have class .${ClassName.FILE}.`) - } - - addFocusListener() { - this.$bmdFormGroup - .on('focus', () => { - this.addFormGroupFocus() - }) - .on('blur', () => { - this.removeFormGroupFocus() - }) - } - - addChangeListener() { - // set the fileinput readonly field with the name of the file - this.$element.on('change', () => { - let value = '' - $.each(this.$element.files, (i, file) => { - value += `${file.name} , ` - }) - value = value.substring(0, value.length - 2) - if (value) { - this.addIsFilled() - } else { - this.removeIsFilled() - } - this.$bmdFormGroup.find(Selector.FILENAMES).val(value) - }) - } - - // ------------------------------------------------------------------------ - // private - - // ------------------------------------------------------------------------ - // static - static _jQueryInterface(config) { - return this.each(function () { - let $element = $(this) - let data = $element.data(DATA_KEY) - - if (!data) { - data = new File($element, config) - $element.data(DATA_KEY, data) - } - }) - } - } - - /** - * ------------------------------------------------------------------------ - * jQuery - * ------------------------------------------------------------------------ - */ - $.fn[JQUERY_NAME] = File._jQueryInterface - $.fn[JQUERY_NAME].Constructor = File - $.fn[JQUERY_NAME].noConflict = () => { - $.fn[JQUERY_NAME] = JQUERY_NO_CONFLICT - return File._jQueryInterface - } - - return File - -})(jQuery) - -export default File diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/js/index.js b/minionlivesmatter/templates/assets/bootstrap-material-design/js/index.js deleted file mode 100644 index b90a2c0..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/js/index.js +++ /dev/null @@ -1,32 +0,0 @@ -/* - * This is the main entry point. - * - * You can import other modules here, including external packages. When bundling using rollup you can mark those modules as external and have them excluded or, if they have a jsnext:main entry in their package.json (like this package does), let rollup bundle them into your dist file. - * - * IMPORTANT NOTE: If you are ultimately creating an iife/self executing bundle for the browser, be sure to: - * import 'babel-polyfill' - * - * at your application entry point. This is necessary for browsers that do not yet support some ES2015 runtime necessities such as Symbol. We do this in `index-iife.js` for our iife rollup bundle. - */ -import 'babel-polyfill' - -// Bootstrap components -import 'bootstrap/dist/js/bootstrap' - -// invalidComponentMatches is currently disabled due to https://github.com/rollup/rollup/issues/428#issuecomment-170066452 -import './checkbox' -import './checkboxInline' -import './collapseInline' -import './file' -import './radio' -import './radioInline' -import './select' -import './switch' -import './text' -import './textarea' - -import './drawer' - -import './ripples' -import './autofill' -import './bootstrapMaterialDesign' diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/js/radio.js b/minionlivesmatter/templates/assets/bootstrap-material-design/js/radio.js deleted file mode 100644 index 8ceb6a9..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/js/radio.js +++ /dev/null @@ -1,95 +0,0 @@ -import BaseSelection from './baseSelection' -//import Text from './text' -//import File from './file' -//import Checkbox from './checkbox' -//import Switch from './switch' -import Util from './util' - -const Radio = (($) => { - - /** - * ------------------------------------------------------------------------ - * Constants - * ------------------------------------------------------------------------ - */ - const NAME = 'radio' - const DATA_KEY = `bmd.${NAME}` - const JQUERY_NAME = `bmd${NAME.charAt(0).toUpperCase() + NAME.slice(1)}` - const JQUERY_NO_CONFLICT = $.fn[JQUERY_NAME] - - const Default = { - template: `<span class='bmd-radio-outer-circle'></span><span class='bmd-radio-inner-circle'></span>` - } - - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - class Radio extends BaseSelection { - - constructor($element, config, properties = {inputType: NAME, outerClass: NAME}) { - super($element, $.extend(true, - //{invalidComponentMatches: [Checkbox, File, Switch, Text]}, - Default, config), properties) - } - - dispose(dataKey = DATA_KEY) { - super.dispose(dataKey) - } - - static matches($element) { - // '.radio > label > input[type=radio]' - if ($element.attr('type') === 'radio') { - return true - } - return false - } - - static rejectMatch(component, $element) { - Util.assert(this.$element, this.matches($element), `${component} component element ${Util.describe($element)} is invalid for type='radio'.`) - } - - // ------------------------------------------------------------------------ - // protected - - //decorateMarkup() { - // this.$element.after(this.config.template) - //} - - - // ------------------------------------------------------------------------ - // private - - // ------------------------------------------------------------------------ - // static - static _jQueryInterface(config) { - return this.each(function () { - let $element = $(this) - let data = $element.data(DATA_KEY) - - if (!data) { - data = new Radio($element, config) - $element.data(DATA_KEY, data) - } - }) - } - } - - /** - * ------------------------------------------------------------------------ - * jQuery - * ------------------------------------------------------------------------ - */ - $.fn[JQUERY_NAME] = Radio._jQueryInterface - $.fn[JQUERY_NAME].Constructor = Radio - $.fn[JQUERY_NAME].noConflict = () => { - $.fn[JQUERY_NAME] = JQUERY_NO_CONFLICT - return Radio._jQueryInterface - } - - return Radio - -})(jQuery) - -export default Radio diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/js/radioInline.js b/minionlivesmatter/templates/assets/bootstrap-material-design/js/radioInline.js deleted file mode 100644 index 679c303..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/js/radioInline.js +++ /dev/null @@ -1,77 +0,0 @@ -import Radio from './radio' - -const RadioInline = (($) => { - - /** - * ------------------------------------------------------------------------ - * Constants - * ------------------------------------------------------------------------ - */ - const NAME = 'radioInline' - const DATA_KEY = `bmd.${NAME}` - const JQUERY_NAME = `bmd${NAME.charAt(0).toUpperCase() + NAME.slice(1)}` - const JQUERY_NO_CONFLICT = $.fn[JQUERY_NAME] - - const Default = { - bmdFormGroup: { - create: false, // no bmd-form-group creation if form-group not present. It messes with the layout. - required: false - } - } - - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - class RadioInline extends Radio { - - constructor($element, config, properties = {inputType: 'radio', outerClass: 'radio-inline'}) { - super($element, $.extend(true, {}, Default, config), properties) - } - - dispose() { - super.dispose(DATA_KEY) - } - - // ------------------------------------------------------------------------ - // protected - - // ------------------------------------------------------------------------ - // protected - - // ------------------------------------------------------------------------ - // private - - // ------------------------------------------------------------------------ - // static - static _jQueryInterface(config) { - return this.each(function () { - let $element = $(this) - let data = $element.data(DATA_KEY) - - if (!data) { - data = new RadioInline($element, config) - $element.data(DATA_KEY, data) - } - }) - } - } - - /** - * ------------------------------------------------------------------------ - * jQuery - * ------------------------------------------------------------------------ - */ - $.fn[JQUERY_NAME] = RadioInline._jQueryInterface - $.fn[JQUERY_NAME].Constructor = RadioInline - $.fn[JQUERY_NAME].noConflict = () => { - $.fn[JQUERY_NAME] = JQUERY_NO_CONFLICT - return RadioInline._jQueryInterface - } - - return RadioInline - -})(jQuery) - -export default RadioInline diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/js/ripples.js b/minionlivesmatter/templates/assets/bootstrap-material-design/js/ripples.js deleted file mode 100644 index c28d287..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/js/ripples.js +++ /dev/null @@ -1,311 +0,0 @@ -import Util from './util' - -const Ripples = (($) => { - - /** - * ------------------------------------------------------------------------ - * Constants - * ------------------------------------------------------------------------ - */ - const NAME = 'ripples' - const DATA_KEY = `bmd.${NAME}` - const JQUERY_NAME = `bmd${NAME.charAt(0).toUpperCase() + NAME.slice(1)}` - const JQUERY_NO_CONFLICT = $.fn[JQUERY_NAME] - - const ClassName = { - CONTAINER: 'ripple-container', - DECORATOR: 'ripple-decorator' - } - - const Selector = { - CONTAINER: `.${ClassName.CONTAINER}`, - DECORATOR: `.${ClassName.DECORATOR}` //, - } - - - const Default = { - container: { - template: `<div class='${ClassName.CONTAINER}'></div>` - }, - decorator: { - template: `<div class='${ClassName.DECORATOR}'></div>` - }, - trigger: { - start: 'mousedown touchstart', - end: 'mouseup mouseleave touchend' - }, - touchUserAgentRegex: /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i, - duration: 500 - } - - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - class Ripples { - - constructor($element, config) { - this.$element = $element - - //console.log(`Adding ripples to ${Util.describe(this.$element)}`) // eslint-disable-line no-console - this.config = $.extend(true, {}, Default, config) - - // attach initial listener - this.$element.on(this.config.trigger.start, (event) => { - this._onStartRipple(event) - }) - } - - - dispose() { - this.$element.data(DATA_KEY, null) - this.$element = null - this.$container = null - this.$decorator = null - this.config = null - } - - // ------------------------------------------------------------------------ - // private - - _onStartRipple(event) { - - // Verify if the user is just touching on a device and return if so - if (this._isTouch() && event.type === 'mousedown') { - return - } - - // Find or create the ripple container element - this._findOrCreateContainer() - - // Get relY and relX positions of the container element - let relY = this._getRelY(event) - let relX = this._getRelX(event) - - // If relY and/or relX are false, return the event - if (!relY && !relX) { - return - } - - // set the location and color each time (even if element is cached) - this.$decorator.css({ - left: relX, - top: relY, - 'background-color': this._getRipplesColor() - }) - - // Make sure the ripple has the styles applied (ugly hack but it works) - this._forceStyleApplication() - - // Turn on the ripple animation - this.rippleOn() - - // Call the rippleEnd function when the transition 'on' ends - setTimeout(() => { - this.rippleEnd() - }, this.config.duration) - - // Detect when the user leaves the element to cleanup if not already done? - this.$element.on(this.config.trigger.end, () => { - if (this.$decorator) { // guard against race condition/mouse attack - this.$decorator.data('mousedown', 'off') - - if (this.$decorator.data('animating') === 'off') { - this.rippleOut() - } - } - }) - } - - _findOrCreateContainer() { - if (!this.$container || !this.$container.length > 0) { - this.$element.append(this.config.container.template) - this.$container = this.$element.find(Selector.CONTAINER) - } - - // always add the rippleElement, it is always removed - this.$container.append(this.config.decorator.template) - this.$decorator = this.$container.find(Selector.DECORATOR) - } - - // Make sure the ripple has the styles applied (ugly hack but it works) - _forceStyleApplication() { - return window.getComputedStyle(this.$decorator[0]).opacity - } - - - /** - * Get the relX - */ - _getRelX(event) { - let wrapperOffset = this.$container.offset() - - let result = null - if (!this._isTouch()) { - // Get the mouse position relative to the ripple wrapper - result = event.pageX - wrapperOffset.left - } else { - // Make sure the user is using only one finger and then get the touch - // position relative to the ripple wrapper - event = event.originalEvent - - if (event.touches.length === 1) { - result = event.touches[0].pageX - wrapperOffset.left - } else { - result = false - } - } - - return result - } - - /** - * Get the relY - */ - _getRelY(event) { - let containerOffset = this.$container.offset() - let result = null - - if (!this._isTouch()) { - /** - * Get the mouse position relative to the ripple wrapper - */ - result = event.pageY - containerOffset.top - } else { - /** - * Make sure the user is using only one finger and then get the touch - * position relative to the ripple wrapper - */ - event = event.originalEvent - - if (event.touches.length === 1) { - result = event.touches[0].pageY - containerOffset.top - } else { - result = false - } - } - - return result - } - - /** - * Get the ripple color - */ - _getRipplesColor() { - let color = this.$element.data('ripple-color') ? this.$element.data('ripple-color') : window.getComputedStyle(this.$element[0]).color - return color - } - - /** - * Verify if the client is using a mobile device - */ - _isTouch() { - return this.config.touchUserAgentRegex.test(navigator.userAgent) - } - - /** - * End the animation of the ripple - */ - rippleEnd() { - if (this.$decorator) { // guard against race condition/mouse attack - this.$decorator.data('animating', 'off') - - if (this.$decorator.data('mousedown') === 'off') { - this.rippleOut(this.$decorator) - } - } - } - - /** - * Turn off the ripple effect - */ - rippleOut() { - this.$decorator.off() - - if (Util.transitionEndSupported()) { - this.$decorator.addClass('ripple-out') - } else { - this.$decorator.animate({opacity: 0}, 100, () => { - this.$decorator.trigger('transitionend') - }) - } - - this.$decorator.on(Util.transitionEndSelector(), () => { - if (this.$decorator) { - this.$decorator.remove() - this.$decorator = null - } - }) - } - - /** - * Turn on the ripple effect - */ - rippleOn() { - let size = this._getNewSize() - - if (Util.transitionEndSupported()) { - this.$decorator - .css({ - '-ms-transform': `scale(${size})`, - '-moz-transform': `scale(${size})`, - '-webkit-transform': `scale(${size})`, - transform: `scale(${size})` - }) - .addClass('ripple-on') - .data('animating', 'on') - .data('mousedown', 'on') - } else { - this.$decorator.animate({ - width: Math.max(this.$element.outerWidth(), this.$element.outerHeight()) * 2, - height: Math.max(this.$element.outerWidth(), this.$element.outerHeight()) * 2, - 'margin-left': Math.max(this.$element.outerWidth(), this.$element.outerHeight()) * (-1), - 'margin-top': Math.max(this.$element.outerWidth(), this.$element.outerHeight()) * (-1), - opacity: 0.2 - }, this.config.duration, () => { - this.$decorator.trigger('transitionend') - }) - } - } - - /** - * Get the new size based on the element height/width and the ripple width - */ - _getNewSize() { - return (Math.max(this.$element.outerWidth(), this.$element.outerHeight()) / this.$decorator.outerWidth()) * 2.5 - } - - // ------------------------------------------------------------------------ - // static - - static _jQueryInterface(config) { - return this.each(function () { - let $element = $(this) - let data = $element.data(DATA_KEY) - - if (!data) { - data = new Ripples($element, config) - $element.data(DATA_KEY, data) - } - }) - } - } - - /** - * ------------------------------------------------------------------------ - * jQuery - * ------------------------------------------------------------------------ - */ - $.fn[JQUERY_NAME] = Ripples._jQueryInterface - $.fn[JQUERY_NAME].Constructor = Ripples - $.fn[JQUERY_NAME].noConflict = () => { - $.fn[JQUERY_NAME] = JQUERY_NO_CONFLICT - return Ripples._jQueryInterface - } - - return Ripples - -})(jQuery) - -export default Ripples diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/js/select.js b/minionlivesmatter/templates/assets/bootstrap-material-design/js/select.js deleted file mode 100644 index 765f411..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/js/select.js +++ /dev/null @@ -1,94 +0,0 @@ -import BaseFormControl from './baseFormControl' -//import Checkbox from './checkbox' -//import File from './file' -//import Radio from './radio' -//import Switch from './switch' -//import Text from './text' -//import Textarea from './textarea' -import Util from './util' - -const Select = (($) => { - - /** - * ------------------------------------------------------------------------ - * Constants - * ------------------------------------------------------------------------ - */ - const NAME = 'select' - const DATA_KEY = `bmd.${NAME}` - const JQUERY_NAME = `bmd${NAME.charAt(0).toUpperCase() + NAME.slice(1)}` - const JQUERY_NO_CONFLICT = $.fn[JQUERY_NAME] - - const Default = { - requiredClasses: ['form-control||custom-select'] - } - - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - class Select extends BaseFormControl { - - constructor($element, config) { - super($element, $.extend(true, - //{invalidComponentMatches: [Checkbox, File, Radio, Switch, Text, Textarea]}, - Default, config)) - - // floating labels will cover the options, so trigger them to be above (if used) - this.addIsFilled() - } - - dispose() { - super.dispose(DATA_KEY) - } - - static matches($element) { - if ($element.prop('tagName') === 'select') { - return true - } - return false - } - - static rejectMatch(component, $element) { - Util.assert(this.$element, this.matches($element), `${component} component element ${Util.describe($element)} is invalid for <select>.`) - } - - // ------------------------------------------------------------------------ - // protected - - // ------------------------------------------------------------------------ - // private - - // ------------------------------------------------------------------------ - // static - static _jQueryInterface(config) { - return this.each(function () { - let $element = $(this) - let data = $element.data(DATA_KEY) - - if (!data) { - data = new Select($element, config) - $element.data(DATA_KEY, data) - } - }) - } - } - - /** - * ------------------------------------------------------------------------ - * jQuery - * ------------------------------------------------------------------------ - */ - $.fn[JQUERY_NAME] = Select._jQueryInterface - $.fn[JQUERY_NAME].Constructor = Select - $.fn[JQUERY_NAME].noConflict = () => { - $.fn[JQUERY_NAME] = JQUERY_NO_CONFLICT - return Select._jQueryInterface - } - - return Select - -})(jQuery) - -export default Select diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/js/switch.js b/minionlivesmatter/templates/assets/bootstrap-material-design/js/switch.js deleted file mode 100644 index cad4806..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/js/switch.js +++ /dev/null @@ -1,72 +0,0 @@ -import Checkbox from './checkbox' - -const Switch = (($) => { - - /** - * ------------------------------------------------------------------------ - * Constants - * ------------------------------------------------------------------------ - */ - const NAME = 'switch' - const DATA_KEY = `bmd.${NAME}` - const JQUERY_NAME = `bmd${NAME.charAt(0).toUpperCase() + NAME.slice(1)}` - const JQUERY_NO_CONFLICT = $.fn[JQUERY_NAME] - - const Default = { - template: `<span class='bmd-switch-track'></span>` - } - - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - class Switch extends Checkbox { - - constructor($element, config, properties = {inputType: 'checkbox', outerClass: 'switch'}) { - super($element, $.extend(true, {}, Default, config), properties) - // selector: '.switch > label > input[type=checkbox]' - } - - dispose() { - super.dispose(DATA_KEY) - } - - // ------------------------------------------------------------------------ - // protected - - // ------------------------------------------------------------------------ - // private - - // ------------------------------------------------------------------------ - // static - static _jQueryInterface(config) { - return this.each(function () { - let $element = $(this) - let data = $element.data(DATA_KEY) - - if (!data) { - data = new Switch($element, config) - $element.data(DATA_KEY, data) - } - }) - } - } - - /** - * ------------------------------------------------------------------------ - * jQuery - * ------------------------------------------------------------------------ - */ - $.fn[JQUERY_NAME] = Switch._jQueryInterface - $.fn[JQUERY_NAME].Constructor = Switch - $.fn[JQUERY_NAME].noConflict = () => { - $.fn[JQUERY_NAME] = JQUERY_NO_CONFLICT - return Switch._jQueryInterface - } - - return Switch - -})(jQuery) - -export default Switch diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/js/text.js b/minionlivesmatter/templates/assets/bootstrap-material-design/js/text.js deleted file mode 100644 index f9bbd12..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/js/text.js +++ /dev/null @@ -1,89 +0,0 @@ -import BaseFormControl from './baseFormControl' -//import Checkbox from './checkbox' -//import File from './file' -//import Radio from './radio' -//import Switch from './switch' -//import Textarea from './textarea' -//import Select from './select' -import Util from './util' - -const Text = (($) => { - - /** - * ------------------------------------------------------------------------ - * Constants - * ------------------------------------------------------------------------ - */ - const NAME = 'text' - const DATA_KEY = `bmd.${NAME}` - const JQUERY_NAME = `bmd${NAME.charAt(0).toUpperCase() + NAME.slice(1)}` - const JQUERY_NO_CONFLICT = $.fn[JQUERY_NAME] - - const Default = {} - - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - class Text extends BaseFormControl { - - constructor($element, config) { - super($element, $.extend(true, - //{invalidComponentMatches: [Checkbox, File, Radio, Switch, Select, Textarea]}, - Default, config)) - } - - dispose(dataKey = DATA_KEY) { - super.dispose(dataKey) - } - - static matches($element) { - if ($element.attr('type') === 'text') { - return true - } - return false - } - - static rejectMatch(component, $element) { - Util.assert(this.$element, this.matches($element), `${component} component element ${Util.describe($element)} is invalid for type='text'.`) - } - - // ------------------------------------------------------------------------ - // protected - - // ------------------------------------------------------------------------ - // private - - // ------------------------------------------------------------------------ - // static - static _jQueryInterface(config) { - return this.each(function () { - let $element = $(this) - let data = $element.data(DATA_KEY) - - if (!data) { - data = new Text($element, config) - $element.data(DATA_KEY, data) - } - }) - } - } - - /** - * ------------------------------------------------------------------------ - * jQuery - * ------------------------------------------------------------------------ - */ - $.fn[JQUERY_NAME] = Text._jQueryInterface - $.fn[JQUERY_NAME].Constructor = Text - $.fn[JQUERY_NAME].noConflict = () => { - $.fn[JQUERY_NAME] = JQUERY_NO_CONFLICT - return Text._jQueryInterface - } - - return Text - -})(jQuery) - -export default Text diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/js/textarea.js b/minionlivesmatter/templates/assets/bootstrap-material-design/js/textarea.js deleted file mode 100644 index d5596a0..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/js/textarea.js +++ /dev/null @@ -1,89 +0,0 @@ -import BaseFormControl from './baseFormControl' -//import Checkbox from './checkbox' -//import File from './file' -//import Radio from './radio' -//import Switch from './switch' -//import Text from './text' -//import Select from './select' -import Util from './util' - -const Textarea = (($) => { - - /** - * ------------------------------------------------------------------------ - * Constants - * ------------------------------------------------------------------------ - */ - const NAME = 'textarea' - const DATA_KEY = `bmd.${NAME}` - const JQUERY_NAME = `bmd${NAME.charAt(0).toUpperCase() + NAME.slice(1)}` - const JQUERY_NO_CONFLICT = $.fn[JQUERY_NAME] - - const Default = {} - - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - class Textarea extends BaseFormControl { - - constructor($element, config) { - super($element, $.extend(true, - //{invalidComponentMatches: [Checkbox, File, Radio, Text, Select, Switch]}, - Default, config)) - } - - dispose() { - super.dispose(DATA_KEY) - } - - static matches($element) { - if ($element.prop('tagName') === 'textarea') { - return true - } - return false - } - - static rejectMatch(component, $element) { - Util.assert(this.$element, this.matches($element), `${component} component element ${Util.describe($element)} is invalid for <textarea>.`) - } - - // ------------------------------------------------------------------------ - // protected - - // ------------------------------------------------------------------------ - // private - - // ------------------------------------------------------------------------ - // static - static _jQueryInterface(config) { - return this.each(function () { - let $element = $(this) - let data = $element.data(DATA_KEY) - - if (!data) { - data = new Textarea($element, config) - $element.data(DATA_KEY, data) - } - }) - } - } - - /** - * ------------------------------------------------------------------------ - * jQuery - * ------------------------------------------------------------------------ - */ - $.fn[JQUERY_NAME] = Textarea._jQueryInterface - $.fn[JQUERY_NAME].Constructor = Textarea - $.fn[JQUERY_NAME].noConflict = () => { - $.fn[JQUERY_NAME] = JQUERY_NO_CONFLICT - return Textarea._jQueryInterface - } - - return Textarea - -})(jQuery) - -export default Textarea diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/js/util.js b/minionlivesmatter/templates/assets/bootstrap-material-design/js/util.js deleted file mode 100644 index 3cd2e77..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/js/util.js +++ /dev/null @@ -1,105 +0,0 @@ -const Util = (() => { - - /** - * ------------------------------------------------------------------------ - * Private TransitionEnd Helpers - * ------------------------------------------------------------------------ - */ - - let transitionEnd = false - let transitionEndSelector = '' - - const TransitionEndEvent = { - WebkitTransition: 'webkitTransitionEnd', - MozTransition: 'transitionend', - OTransition: 'oTransitionEnd otransitionend', - transition: 'transitionend' - } - - function transitionEndTest() { - if (window.QUnit) { - return false - } - - let el = document.createElement('bmd') - - for (let name in TransitionEndEvent) { - if (el.style[name] !== undefined) { - return TransitionEndEvent[name] // { end: TransitionEndEvent[name] } - } - } - - return false - } - - function setTransitionEndSupport() { - transitionEnd = transitionEndTest() - - // generate a concatenated transition end event selector - for (let name in TransitionEndEvent) { - transitionEndSelector += ` ${TransitionEndEvent[name]}` - } - } - - /** - * -------------------------------------------------------------------------- - * Public Util Api - * -------------------------------------------------------------------------- - */ - - let Util = { - - transitionEndSupported() { - return transitionEnd - }, - - transitionEndSelector() { - return transitionEndSelector - }, - - isChar(event) { - if (typeof event.which === 'undefined') { - return true - } else if (typeof event.which === 'number' && event.which > 0) { - return ( - !event.ctrlKey - && !event.metaKey - && !event.altKey - && event.which !== 8 // backspace - && event.which !== 9 // tab - && event.which !== 13 // enter - && event.which !== 16 // shift - && event.which !== 17 // ctrl - && event.which !== 20 // caps lock - && event.which !== 27 // escape - ) - } - return false - }, - - assert($element, invalidTest, message) { - if (invalidTest) { - if (!$element === undefined) { - $element.css('border', '1px solid red') - } - console.error(message, $element) // eslint-disable-line no-console - throw message - } - }, - - describe($element) { - if ($element === undefined) { - return 'undefined' - } else if ($element.length === 0) { - return '(no matching elements)' - } - return `${$element[0].outerHTML.split('>')[0]}>` - } - } - - setTransitionEndSupport() - return Util - -})(jQuery) - -export default Util diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/package.json b/minionlivesmatter/templates/assets/bootstrap-material-design/package.json deleted file mode 100644 index 19a8aeb..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/package.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "name": "bootstrap-material-design", - "description": "Bootstrap Material Design 4", - "version": "4.0.2", - "keywords": [ - "material", - "design", - "bootstrap", - "css", - "js", - "sass", - "mobile-first", - "responsive", - "front-end", - "framework", - "web" - ], - "homepage": "https://github.com/FezVrasta/bootstrap-material-design", - "author": "Federico Zivolo", - "scripts": { - "test": "grunt test" - }, - "style": "dist/css/bootstrap-material-design.css", - "sass": "scss/_core.scss", - "main": "dist/bootstrap-material-design.umd.js", - "jsnext:main": "js/index.js", - "repository": { - "type": "git", - "url": "https://github.com/FezVrasta/bootstrap-material-design.git" - }, - "bugs": { - "url": "https://github.com/FezVrasta/bootstrap-material-design/issues" - }, - "license": "MIT", - "dependencies": { - "babel-polyfill": "^6.9.1" - }, - "devDependencies": { - "babel-core": "^6.11.4", - "babel-eslint": ">=6.1.2", - "babel-preset-es2015": "^6.9.0", - "bootstrap": "twbs/bootstrap#v4-dev", - "extend": "^3.0.0", - "gulp": "github:gulpjs/gulp#4.0", - "gulp-pipeline": "^4.0.43", - "jquery": "^3.1", - "moment": "^2.14.1", - "tether": "^1.3.3" - }, - "engines": { - "node": "<6", - "npm": "^3.0.0" - }, - "files": [ - "dist", - "js/*.js", - "scss/**/*.scss", - "LICENSE" - ] -} diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_alerts.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_alerts.scss deleted file mode 100644 index 0073242..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_alerts.scss +++ /dev/null @@ -1,4 +0,0 @@ -.alert { - border: 0; - border-radius: 0; -} diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_buttons.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_buttons.scss deleted file mode 100644 index ee3defc..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_buttons.scss +++ /dev/null @@ -1,233 +0,0 @@ -// specification: https://www.google.com/design/spec/components/buttons.html - -// bmd default buttons are flat by default -.btn { - position: relative; - margin-bottom: $bmd-btn-margin-bottom; // just enough room so that focus shadows aren't covered up - font-size: $bmd-btn-font-size; - text-decoration: none; - text-transform: uppercase; - letter-spacing: 0; - cursor: pointer; - background-color: transparent; - border: 0; - outline: 0; - transition: box-shadow 0.2s $bmd-animation-curve-fast-out-linear-in, background-color 0.2s $bmd-animation-curve-default, color 0.2s $bmd-animation-curve-default; - will-change: box-shadow, transform; - - @include undo-bs-tab-focus(); - - //-- - // Colors - - // flat removes bg, add color variations to text - @include bmd-flat-button-color(); - - // fab and raised - // - colored, add their text and bg - // - hover color contrasted - // - shared shadow state on hover/active/focus - &.bmd-btn-fab, - &.btn-raised, - .btn-group-raised & { - @include bmd-raised-button-color(); - - // enlarged shadow on hover, focus - @include hover-focus() { - //border: 1px solid $blue; - z-index: 1; // add to the z-index so that the expanded shadow is above anything below it i.e. another button - @include box-shadow($bmd-shadow-4dp); - } - - // :active - momentary press: big shadow, release and it is gone - // .active - persistent big shadow - &.active, - &:active { - z-index: 1; // add to the z-index so that the expanded shadow is above anything below it i.e. another button - @include box-shadow($bmd-shadow-focus); - //border: 1px solid $green; - } - } - - //--- - // btn-raised - &.btn-raised, - .btn-group-raised & { - - // baseline shadow - @include box-shadow($bmd-shadow-2dp); - - // reverse any of the above for links - &.btn-link { - box-shadow: none; - @include bmd-hover-focus-active() { - box-shadow: none; - } - } - - @include bmd-disabled() { - box-shadow: none; - } - } - - //--- - // btn-outline - @include bmd-outline-button-color(); - - // https://www.google.com/design/spec/components/buttons-floating-action-button.html - &.bmd-btn-fab, - &.bmd-btn-icon { - overflow: hidden; - font-size: $bmd-btn-fab-font-size; - line-height: normal; - - .btn-group-lg &, - .btn-group-sm &, - & { - padding: 0; // need specificity - border-radius: 50%; - } - - .material-icons { - position: absolute; - top: 50%; - left: 50%; - width: $bmd-btn-fab-font-size; - line-height: $bmd-btn-fab-font-size; - transform: translate(-($bmd-btn-fab-font-size / 2), -($bmd-btn-fab-font-size / 2)); - } - } - - &.bmd-btn-fab { - // see above for color variations - width: $bmd-btn-fab-size; - min-width: $bmd-btn-fab-size; - height: $bmd-btn-fab-size; - //margin: auto; - //margin: 2px; // use z-index focus/hover/active instead. This is not called for in the spec, but it ensures room for the box-shadow, which is nice to have. - box-shadow: 0 1px 1.5px 0 $gray-lighter, 0 1px 1px 0 $gray-light; - - .ripple-container { - border-radius: 50%; - } - - &.bmd-btn-fab-sm, - .btn-group-sm & { - width: $bmd-btn-fab-size-sm; - min-width: $bmd-btn-fab-size-sm; - height: $bmd-btn-fab-size-sm; - //margin: 1px; // use z-index focus/hover/active instead. This is not called for in the spec, but it ensures room for the box-shadow, which is nice to have. - - //.material-icons { - // top: ($bmd-btn-icon-size-sm - $bmd-btn-fab-font-size) / 2; - // left: ($bmd-btn-icon-size-sm - $bmd-btn-fab-font-size) / 2; - //} - } - } - - // Icon buttons - &.bmd-btn-icon { - width: $bmd-btn-icon-size; - min-width: $bmd-btn-icon-size; - height: $bmd-btn-icon-size; - margin: 0; - color: inherit; - - &.bmd-btn-icon-sm, - .btn-group-sm & { - width: $bmd-btn-icon-size-sm; - min-width: $bmd-btn-icon-size-sm; - height: $bmd-btn-icon-size-sm; - font-size: $bmd-btn-icon-font-size-sm; - - .material-icons { - //$position: ($bmd-btn-icon-size-sm - $bmd-btn-icon-font-size-sm) / 2; - //top: $position; - //left: $position; - width: $bmd-btn-icon-font-size-sm; - font-size: $bmd-btn-icon-font-size-sm; - line-height: 1; - transform: translate(-($bmd-btn-icon-font-size-sm / 2), -($bmd-btn-icon-font-size-sm / 2)); - } - } - } - - // Align icons inside buttons with text - .material-icons { - position: relative; - top: .25em; - margin-top: -1em; - margin-bottom: -1em; - font-size: 1.5em; - } - - // Size variations - &.btn-lg, - .btn-group-lg & { - @include button-size($btn-padding-y-lg, $btn-padding-x-lg, $bmd-btn-font-size-lg, $btn-border-radius-lg); - } - &.btn-sm, - .btn-group-sm & { - @include button-size($btn-padding-y-sm, $btn-padding-x-sm, $bmd-btn-font-size-sm, $btn-border-radius-sm); - font-size: $bmd-btn-font-size-sm; - } -} - -// Disabled buttons and button groups -.btn, -.input-group-btn .btn, -.btn-group, -.btn-group-vertical { - // have to ratchet up the specificity to kill drop shadows on disabled raised buttons - @include bmd-disabled() { - color: $bmd-btn-disabled; - .bg-inverse & { - color: $bmd-inverse-btn-disabled; - } - - // flat buttons shouldn't lose transparency on disabled hover/focus - &, - &:hover, - &:focus { - background: transparent; - } - } -} - -// btn-group variations -.btn-group, -.btn-group-vertical { - - position: relative; - margin: 10px 1px; - - // spec: https://www.google.com/design/spec/components/buttons.html#buttons-toggle-buttons - //&.open { - // .dropdown-toggle { - // } - // - // > .dropdown-toggle.btn { - // @include bmd-raised-button-color-bg(); - // } - //} - - .dropdown-menu { - border-radius: 0 0 $border-radius $border-radius; - } - - &.btn-group-raised { - @include box-shadow($bmd-shadow-2dp); - } - - .btn + .btn, - .btn, - .btn:active, - .btn-group { - margin: 0; - } - - // remove margin from nested btn-group(s) to properly align them with the outer buttons - > .btn-group { - margin: 0; - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_cards.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_cards.scss deleted file mode 100644 index b68e2cb..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_cards.scss +++ /dev/null @@ -1,58 +0,0 @@ -//https://www.google.com/design/spec/components/cards.html#cards-content-blocks -// Card resting elevation: 2dp -.card { - border: 0; - - // Cards have a default elevation of 2dp. - @include box-shadow($bmd-shadow-2dp); - @extend %std-font; - - // spec: see "Avatar, Title, and Subtitle area" - // Height: 72dp - // Padding: 16dp - // Top and bottom padding: 16dp - .card-header { - padding: 1rem; - } - - .card-block { - padding: 1.5rem 1rem 1rem; - //@extend %std-font; - } - - // Primary title/text - // - Title: 24sp or 14sp - // - Subtitle: 14sp - - // non-h* card-titles will be 14sp - //&.card-title { - // @extend %std-font; - //} - - // any h* will signal the larger size should render as 24sp - @include headings() { - &.card-title { - font-size: 1.5rem; - font-weight: 300; - } - } - - .bmd-card-actions, // needed? if you have actions in the middle of the card (see spec), it may be necessary - .card-footer { // assume footer is the set of actions? - padding: .5rem; - } - - &.bmd-card-raised { - // Card raised elevation: 8dp - @include box-shadow($bmd-shadow-8dp); - } - - @include media-breakpoint-up(lg) { - // On desktop, cards can have a resting elevation of 0dp and gain an elevation of 8dp on hover. - &.bmd-card-flat { - box-shadow: none; - } - } -} - - diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_checkboxes.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_checkboxes.scss deleted file mode 100644 index cb0099a..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_checkboxes.scss +++ /dev/null @@ -1,256 +0,0 @@ -// http://www.google.com/design/spec/components/selection-controls.html#selection-controls-checkbox -.checkbox label, -label.checkbox-inline { - padding-left: $bmd-checkbox-size + $bmd-checkbox-label-padding; // absolutely positioned so add the radio size - cursor: pointer; - - .checkbox-decorator { - position: absolute; - top: 0.125rem; - left: 0; - vertical-align: middle; - - &::before { // FIXME: document why this is necessary (doesn't seem to be on chrome) - position: absolute; - left: 0; - z-index: 1; - display: block; - width: $bmd-checkbox-size; - height: $bmd-checkbox-size; - margin: 0; - content: ""; - background-color: rgba($black, .84); - border-radius: 100%; - opacity: 0; - transform: scale3d(2.3, 2.3, 1); - } - - .check { - position: relative; - z-index: 1; - display: inline-block; - width: $bmd-checkbox-size; - height: $bmd-checkbox-size; - overflow: hidden; - border: $bmd-checkbox-border-size solid $bmd-checkbox-border-color; - border-radius: $border-radius; - - // checkbox outline - &::before { - position: absolute; - display: block; - width: 0; - height: 0; - margin-top: -4px; - margin-left: 6px; - content: ""; - box-shadow: 0 0 0 0, - 0 0 0 0, - 0 0 0 0, - 0 0 0 0, - 0 0 0 0, - 0 0 0 0, - 0 0 0 0 inset; - transform: rotate(45deg); - animation: checkbox-off; - - .is-focused & { - // Prevent checkbox animation and ripple effect on page load - animation: checkbox-off $bmd-checkbox-animation-check forwards; - } - } - } - } - - input[type=checkbox] { - - // Hide native checkbox - position: absolute; - left: 0; - z-index: -1; - width: 0; - height: 0; - margin: 0; - overflow: hidden; - pointer-events: none; - opacity: 0; - - &:focus + .checkbox-decorator .check::after { - opacity: 0.2; - } - - &:checked { - - // FIXME: once working - combine further to reduce code - + .checkbox-decorator .check { - color: $bmd-checkbox-checked-color; - border-color: $bmd-checkbox-checked-color; - } - - + .checkbox-decorator .check::before { - color: $bmd-checkbox-checked-color; - box-shadow: 0 0 0 10px, - 10px -10px 0 10px, - 32px 0 0 20px, - 032px 0 20px, - -5px 5px 0 10px, - 20px -12px 0 11px; - animation: checkbox-on $bmd-checkbox-animation-check forwards; - } - - + .checkbox-decorator::before { - animation: rippleOn; - .is-focused & { - // Prevent checkbox animation and ripple effect on page load - animation: rippleOn $bmd-checkbox-animation-ripple; - } - } - - + .checkbox-decorator .check::after { - //background-color: $brand-success; // FIXME: seems like tho wrong color, test and make sure it can be removed - animation: rippleOn $bmd-checkbox-animation-ripple forwards; // Ripple effect on check - } - } - - &:not(:checked) { - + .checkbox-decorator::before { - animation: rippleOff; - .is-focused & { - // Prevent checkbox animation and ripple effect on page load - animation: rippleOff $bmd-checkbox-animation-ripple; - } - } - - + .checkbox-decorator .check::after { - animation: rippleOff $bmd-checkbox-animation-ripple forwards; // Ripple effect on uncheck - } - } - - &[disabled], - fieldset[disabled] & { - + .checkbox-decorator .check::after, - .check::after { - background-color: $gray-dark; - transform: rotate(-45deg); - } - + .checkbox-decorator .check, - .check { - border-color: $bmd-checkbox-border-color-disabled; - } - } - } -} - -@keyframes checkbox-on { - 0% { - box-shadow: 0 0 0 10px, - 10px -10px 0 10px, - 32px 0 0 20px, - 0 32px 0 20px, - -5px 5px 0 10px, - 15px 2px 0 11px; - } - 50% { - box-shadow: 0 0 0 10px, - 10px -10px 0 10px, - 32px 0 0 20px, - 0 32px 0 20px, - -5px 5px 0 10px, - 20px 2px 0 11px; - } - 100% { - box-shadow: 0 0 0 10px, - 10px -10px 0 10px, - 32px 0 0 20px, - 0 32px 0 20px, - -5px 5px 0 10px, - 20px -12px 0 11px; - } -} - -@keyframes checkbox-off { - 0% { - box-shadow: 0 0 0 10px, - 10px -10px 0 10px, - 32px 0 0 20px, - 0 32px 0 20px, - -5px 5px 0 10px, - 20px -12px 0 11px, - 0 0 0 0 inset; - } - 25% { - box-shadow: 0 0 0 10px, - 10px -10px 0 10px, - 32px 0 0 20px, - 0 32px 0 20px, - -5px 5px 0 10px, - 20px -12px 0 11px, - 0 0 0 0 inset; - } - 50% { - width: 0; - height: 0; - margin-top: -4px; - margin-left: 6px; - box-shadow: 0 0 0 10px, - 10px -10px 0 10px, - 32px 0 0 20px, - 0 32px 0 20px, - -5px 5px 0 10px, - 15px 2px 0 11px, - 0 0 0 0 inset; - transform: rotate(45deg); - } - 51% { - width: 20px; - height: 20px; - margin-top: -2px; - margin-left: -2px; - box-shadow: 0 0 0 0, - 0 0 0 0, - 0 0 0 0, - 0 0 0 0, - 0 0 0 0, - 0 0 0 0, - 0 0 0 10px inset; - transform: rotate(0deg); - } - 100% { - width: 20px; - height: 20px; - margin-top: -2px; - margin-left: -2px; - box-shadow: 0 0 0 0, - 0 0 0 0, - 0 0 0 0, - 0 0 0 0, - 0 0 0 0, - 0 0 0 0, - 0 0 0 0 inset; - transform: rotate(0deg); - } -} - -@keyframes rippleOn { - 0% { - opacity: 0; - } - 50% { - opacity: 0.2; - } - 100% { - opacity: 0; - } -} - -@keyframes rippleOff { - 0% { - opacity: 0; - } - 50% { - opacity: 0.2; - } - 100% { - opacity: 0; - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_core-bootstrap.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_core-bootstrap.scss deleted file mode 100644 index 95f6238..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_core-bootstrap.scss +++ /dev/null @@ -1,68 +0,0 @@ -// FIXME: only necessary because there isn't an underscored file - see https://github.com/twbs/bootstrap/issues/18350 -//@import "../bower_components/bootstrap/scss/ -//@import "../../bootstrap/scss/ - -// Core variables and mixins -@import "bootstrap/scss/custom"; -@import "bootstrap/scss/variables"; -@import "bootstrap/scss/mixins"; - -// #853 start - https://github.com/twbs/bootstrap/pull/18976/files -// hack -@mixin pull-left { - float: left !important; - @if $enable-flex { - margin-right: auto; - } -} -@mixin pull-right { - float: right !important; - @if $enable-flex { - margin-left: auto; - } -} -// #853 end - https://github.com/twbs/bootstrap/pull/18976/files - - -// Reset and dependencies -@import "bootstrap/scss/normalize"; -@import "bootstrap/scss/print"; - -// Core CSS -@import "bootstrap/scss/reboot"; -@import "bootstrap/scss/type"; -@import "bootstrap/scss/images"; -@import "bootstrap/scss/code"; -@import "bootstrap/scss/grid"; -@import "bootstrap/scss/tables"; -@import "bootstrap/scss/forms"; -@import "bootstrap/scss/buttons"; - -// Components -@import "bootstrap/scss/animation"; -@import "bootstrap/scss/dropdown"; -@import "bootstrap/scss/button-group"; -@import "bootstrap/scss/input-group"; -@import "bootstrap/scss/custom-forms"; -@import "bootstrap/scss/nav"; -@import "bootstrap/scss/navbar"; -@import "bootstrap/scss/card"; -@import "bootstrap/scss/breadcrumb"; -@import "bootstrap/scss/pagination"; -@import "bootstrap/scss/tags"; -@import "bootstrap/scss/jumbotron"; -@import "bootstrap/scss/alert"; -@import "bootstrap/scss/progress"; -@import "bootstrap/scss/media"; -@import "bootstrap/scss/list-group"; -@import "bootstrap/scss/responsive-embed"; -@import "bootstrap/scss/close"; - -// Components w/ JavaScript -@import "bootstrap/scss/modal"; -@import "bootstrap/scss/tooltip"; -@import "bootstrap/scss/popover"; -@import "bootstrap/scss/carousel"; - -// Utility classes -@import "bootstrap/scss/utilities"; diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_core.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_core.scss deleted file mode 100644 index 57ca53f..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_core.scss +++ /dev/null @@ -1,33 +0,0 @@ -// This is the main scss file, provided as an underscored file so that variable contexts remain in-tact when importing from the source. -@import "variables"; -@import "mixins"; -@import "core-bootstrap"; // FIXME: V4 SCSS inclusion via an underscored file https://github.com/twbs/bootstrap/issues/18350 - -@import "reboot"; - -@import "layout"; -@import "buttons"; -@import "checkboxes"; -@import "custom-forms"; -@import "switches"; -@import "radios"; -@import "forms"; -@import "input-group"; -@import "list-group"; -@import "tables"; -@import "nav"; -@import "navbar"; -@import "alerts"; -@import "progress"; -@import "pagination"; -@import "type"; -@import "popover"; -@import "cards"; -@import "modal"; -@import "dropdown"; -@import "drawer"; -@import "themes"; - -@import "ripples"; - -@import "extensions"; diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_custom-forms.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_custom-forms.scss deleted file mode 100644 index 3cf5ddd..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_custom-forms.scss +++ /dev/null @@ -1,10 +0,0 @@ -.custom-file-control { - @extend .form-control; - @include bmd-form-color($bmd-label-color, $bmd-label-color-focus, $input-border-color); - - &::before { - @extend .btn; - position: absolute; - height: calc(100% - 1px); - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_drawer.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_drawer.scss deleted file mode 100644 index 34d115e..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_drawer.scss +++ /dev/null @@ -1,122 +0,0 @@ -// Implementation specification in https://github.com/FezVrasta/bootstrap-material-design/issues/822 - -// Drawer. -.bmd-layout-drawer { - position: absolute; - z-index: 5; // over a header and content - box-sizing: border-box; - display: flex; - - flex-direction: column; - flex-wrap: nowrap; - - max-height: 100%; - overflow: visible; - overflow-y: auto; - font-size: .875rem; - //color: $bmd-layout-drawer-text-color; - //background: $bmd-layout-drawer-bg-color; - - // Transform offscreen. - transition: transform; - will-change: transform; - transform-style: preserve-3d; - @include box-shadow($bmd-shadow-2dp); - @include material-animation-default(); - - > * { - flex-shrink: 0; - } - - // Placement of common components within the drawer - // You might say this is opinionated - feedback welcome. - > header { - display: flex; - flex-direction: column; - justify-content: flex-end; - padding: 1rem; - - .navbar-brand { - padding-left: 1.5rem; - font-size: 1.25rem; - } - } - - > .list-group { - padding-top: 1rem; - - .list-group-item { - padding-right: 2.5rem; - padding-left: 2.5rem; - font-size: .8125rem; - font-weight: 500; - } - } -} - -//---------------- -// Sizing and positioning below here - -// for left or right drawers, setup widths, heights and positions -@include bmd-drawer-x-out($bmd-drawer-x-size); - -// for top or bottom drawers, setup widths, heights and positions -@include bmd-drawer-y-out($bmd-drawer-y-size); - -// Marker class for both triggering the opening of the drawer (i.e. javascript #addClass('.bmd-drawer-in')), as well -// as responsive sizes (i.e. bmd-drawer-in-md will open once the browser is wider than 768px). -// -// -// bmd-drawer-in, bmd-drawer-in-sm, bmd-drawer-in-md, bmd-drawer-in-lg -// We iterate over the standard grid breakpoints, but we also need styles for the simpler `bmd-drawer-in` -// without a size (for triggered openings). Since the xs size is 0, instead of using `bmd-drawer-in-xs` -// (which is mostly meaningless), we create `bmd-drawer-in` meaning always open. -// -// NOTE: bmd-drawer-in-* uses media-breakpoint-up() -// -// bmd-drawer-out -// A marker class that will _force_ the drawer closed regardless of the responsive class present. If (for some -// strange reason) both bmd-drawer-out and bmd-drawer-in are present, it appears that the closed option wins. -// -// bmd-drawer-overlay, bmd-drawer-overlay-sm, bmd-drawer-overlay-md, bmd-drawer-overlay-lg -// We iterate over the standard grid breakpoints, but we also need styles for the simpler `bmd-drawer-overlay`. -// Since the xs size is 0, instead of using `bmd-drawer-overlay-xs`, we create `bmd-drawer-overlay` meaning always overlay. -// -// NOTE: bmd-drawer-overlay-* uses media-breakpoint-down() - this is because we usually want a responsive overlay to be used in small screen scenarios. -// - -// -// Drawer open positioning, and style options (push is default, overlay is optional) -:not(.bmd-drawer-out) { // first eliminate positioning or sizing rules if the drawer is already forced closed - @each $breakpoint in map-keys($grid-breakpoints) { - - @include bmd-drawer-x-in-up($bmd-drawer-x-size, $breakpoint); - @include bmd-drawer-y-in-up($bmd-drawer-y-size, $breakpoint); - - @include bmd-drawer-x-overlay-down($breakpoint); - @include bmd-drawer-y-overlay-down($breakpoint); - } -} - -////---- -//// Example 1: creates a media responsive kitchen-sink-drawer that pairs with bmd-drawer-in-lg and allows for the bmd-drawer-in trigger -//.kitchen-sink-drawer { -// $custom-size: 500px; -// @include bmd-drawer-x-out($custom-size); -// &:not(.bmd-drawer-out) { -// @each $breakpoint in map-keys($grid-breakpoints) { -// @include bmd-drawer-x-in-up($custom-size, $breakpoint); -// } -// } -//} -// -//// -////---- -//// Example 2: creates a NON-responsive kitchen-sink-drawer and allows for the bmd-drawer-in trigger -//.kitchen-sink-drawer-static { -// $custom-size: 500px; -// @include bmd-drawer-x-out($custom-size); // closed by default -// @include bmd-drawer-x-in($custom-size); // triggered with bmd-drawer-in -// @include bmd-drawer-x-overlay(); // overlay by default, no other classes necessary -//} - diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_dropdown.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_dropdown.scss deleted file mode 100644 index e5dd23e..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_dropdown.scss +++ /dev/null @@ -1,126 +0,0 @@ -// Menus https://www.google.com/design/spec/components/menus.html#menus-specs -// Dropdown buttons (mobile and desktop) https://www.google.com/design/spec/components/buttons.html#buttons-dropdown-buttons - -@mixin menu-bottom-left { - top: 100%; - left: 0; - transform-origin: 0 0; -} - -@mixin menu-bottom-right { - right: 0; - left: auto; - transform-origin: 100% 0; -} - -.dropdown-menu { - display: block; // utilize transition transform instead of flipping display - padding: .25rem 0; - border: 0; - opacity: 0; - transition: transform $bmd-menu-expand-duration $bmd-animation-curve-default, opacity $bmd-menu-fade-duration $bmd-animation-curve-default; - transform: scale(0); - transform-origin: 0 0; - will-change: transform; - - @include media-breakpoint-up(md) { - padding: .5rem 0; - } - - .open > & { - //z-index: 999; - opacity: 1; - transform: scale(1); - } - - // Default the alignment of the dropdown to originate on the bottom right of the button - @include menu-bottom-right(); - // FIXME: bootstrap alignment issue - https://github.com/twbs/bootstrap/issues/18852 - - &.dropdown-menu-left { - @include menu-bottom-left(); - } - - &.dropdown-menu-right { - @include menu-bottom-right(); - } - - //&.dropdown-menu-top-left { - // top: auto; - // bottom: 0; // needs to be overridden with the toggle-button height, see bmd-btn-icon above - // transform-origin: 0 100%; - //} - // - //&.dropdown-menu-top-right { - // top: auto; - // right: 0; - // bottom: 0; // needs to be overridden with the toggle-button height, see bmd-btn-icon above - // left: auto; - // transform-origin: 100% 100%; - //} - - // https://www.google.com/design/spec/components/menus.html#menus-specs - .dropdown-item { - // used to properly size the ripple container - position: relative; - - display: flex; - flex-flow: row wrap; - align-items: center; - - min-width: $bmd-menu-item-min-width; - max-width: $bmd-menu-item-max-width; - min-height: $bmd-menu-item-min-height; - - padding: $bmd-menu-item-padding-top $bmd-menu-item-padding-right $bmd-menu-item-padding-bottom $bmd-menu-item-padding-left; - - // FIXME: multi-line menu word wrapping doesn't work - see the maximum width example in menus.md - overflow: hidden; - line-height: $bmd-menu-line-height; - text-overflow: ellipsis; - word-wrap: break-word; - - - // Simple menus always maintain a 16dp margin (phone) or 24dp margin (tablet) to the left and right edges of the screen. - @include media-breakpoint-up(md) { - padding-right: $bmd-menu-item-padding-right-md; - padding-left: $bmd-menu-item-padding-left-md; - } - } -} - - -// this could be in a .btn-group or .dropdown -.dropdown-toggle { - - &.bmd-btn-icon, - &.bmd-btn-fab { - // remove the dropdown icon - &::after { - display: none; - } - - ~ .dropdown-menu { - &.dropdown-menu-top-left, - &.dropdown-menu-top-right { - bottom: $bmd-btn-icon-size; // push up the bottom of the menu the height of the button - } - } - } - - &.bmd-btn-fab-sm { - ~ .dropdown-menu { - &.dropdown-menu-top-left, - &.dropdown-menu-top-right { - bottom: $bmd-btn-fab-size-sm; // push up the bottom of the menu the height of the button - } - } - } - - &.bmd-btn-icon { - ~ .dropdown-menu { - // collapse some spacing - margin: 0; - } - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_extensions.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_extensions.scss deleted file mode 100644 index ea69117..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_extensions.scss +++ /dev/null @@ -1,3 +0,0 @@ -// External plugins -@import "extensions/snackbarjs"; -@import "extensions/selectize"; diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_forms.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_forms.scss deleted file mode 100644 index 2961f0b..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_forms.scss +++ /dev/null @@ -1,221 +0,0 @@ -form { - // ensure enough room at the bottom of any form to display a one-line bmd-help - margin-bottom: ($bmd-help-size-ratio * $font-size-base) * $line-height-base; - - // reverse the above for navbars (no help expected in a navbar form) - .navbar & { - margin-bottom: 0; // only adjust bottom so that pull-xs-right flexed margin-left: auto works - - .bmd-form-group { - display: inline-block; - padding-top: 0; - } - - .btn { - margin-bottom: 0; - } - } -} - -// ----- -// Inputs -// -// Reference http://www.google.com/design/spec/components/text-fields.html -// MDL implementation: http://www.getmdl.io/components/index.html#textfields-section -.form-control { - background: $bmd-form-control-bg-repeat-y $bmd-form-control-bg-position; - background-size: $bmd-form-control-bg-size; - border: 0; - transition: background 0s ease-out; - - // The border bottom should be static in all states, the decorator will be animated over this. - &:focus, - .bmd-form-group.is-focused & { - background-size: $bmd-form-control-bg-size-active; - //border-bottom: $input-btn-border-width solid $input-border-color; - transition-duration: 0.3s; - } -} - -// Help blocks (not in v4) -// position: absolute approach - uses no vertical space and there is no form jumping, but text wrapping - not so good. -// FIXME: width/wrapping isn't automatic and overflows occur. What are some solutions? -// -.bmd-help { - position: absolute; - display: none; - font-size: .8rem; - font-weight: normal; - @extend .text-muted; - - .bmd-form-group.is-focused & { - display: block; - } - - //-------------------------------------- - // Multiple help blocks - // - absolute positioning is used above to prevent bouncing - // - when there is more than one, this will bounce but will at least show - &:nth-of-type(2) { - padding-top: 1rem; // the first one requires top padding to push it below the first one which is absolute positioned - } - - + .bmd-help { - position: relative; - margin-bottom: 0; - } -} - -// ----- -// State coloring: default, success, info, warning, danger -// -@include bmd-selection-color(); -@include bmd-form-color($bmd-label-color, $bmd-label-color-focus, $input-border-color); - -.has-success { - @include bmd-form-color($brand-success, $brand-success, $brand-success); -} - -.has-info { - @include bmd-form-color($brand-info, $brand-info, $brand-info); -} - -.has-warning { - @include bmd-form-color($brand-warning, $brand-warning, $brand-warning); -} - -.has-danger { - @include bmd-form-color($brand-danger, $brand-danger, $brand-danger); -} - -// Reference http://www.google.com/design/spec/components/text-fields.html -// MDL implementation: http://www.getmdl.io/components/index.html#textfields-section -//.variations(unquote(" label"), color, $bmd-input-placeholder-color); // default label color variations - -// Whereas .form-group adds structure, bmd-form-group just needs to make sure we have enough padding for our labels to work. That's the only purpose. -.bmd-form-group { - position: relative; - - // ----- - // Labels - // - // Reference http://www.google.com/design/spec/components/text-fields.html - // MDL implementation: http://www.getmdl.io/components/index.html#textfields-section - [class^='bmd-label'], - [class*=' bmd-label'] { - position: absolute; - pointer-events: none; - transition: 0.3s ease all; - - // hint to browser for optimization - &.bmd-label-floating { - will-change: left, top, contents; // TODO: evaluate effectiveness - looking for community feedback - } - } - - // hide label-placeholders when the field is filled - &.is-filled .bmd-label-placeholder { - display: none; - } - - // Optional class to make the text field inline collapsible/expandable (collapsed by default) - // This uses the BS collapse js to make the width expand. - // `width` class must also be on the element FIXME: do this with JS, it is a marker class and should be implicit because after all, we are an bmd-collapse-inline - // FIXME: js needs to do the focus on shown.bs.collapse event http://v4-alpha.getbootstrap.com/components/collapse/#events - &.bmd-collapse-inline { - padding: 0; // get rid of any padding as this is a width transition - - // Expandable Holder. - .collapse { - &.in { - // This is an unfortunate hack. Animating between widths in percent (%) - // in many browsers (Chrome, Firefox) only animates the inner visual style - // of the input - the outer bounding box still 'jumps'. - // Thus assume a sensible maximum, and animate to/from that value. - max-width: 600px; - } - } - - .collapsing, - .width:not(.collapse), // collapsing is removed and momentarily only width is present - .collapse.in { - display: inline-block; - } - - .collapsing { - @include material-animation-default(); - } - } - - // default floating size/location with an bmd-form-group - @include bmd-form-size-variant($font-size-base, $bmd-label-top-margin-base, $input-padding-y, $bmd-form-line-height, "bmd-form-group default"); - - // sm floating size/location - &.bmd-form-group-sm { - @include bmd-form-size-variant($font-size-sm, $bmd-label-top-margin-sm, $input-padding-y-sm, $bmd-form-line-height-sm, "bmd-form-group sm"); - } - - // lg floating size/location - &.bmd-form-group-lg { - @include bmd-form-size-variant($font-size-lg, $bmd-label-top-margin-lg, $input-padding-y-lg, $bmd-form-line-height-sm, "bmd-form-group lg"); - } -} - -// default floating size/location without a form-group (will skip form-group styles, and just render default sizing variation) - IMPORTANT for non-form-group spacing such as radio/checkbox/switch -@include bmd-form-size-variant($font-size-base, $bmd-label-top-margin-base, $input-padding-y, $bmd-form-line-height); - -select { - &, - &.form-control { - // Use vendor prefixes as `appearance` isn't part of the CSS spec. OSX doesn't obey the border-radius: 0 without this. - -moz-appearance: none; - -webkit-appearance: none; - } -} - -// Input files - hide actual input - requires specific markup in the sample. -//.bmd-form-group input[type=file] { -// opacity: 0; -// position: absolute; -// top: 0; -// right: 0; -// bottom: 0; -// left: 0; -// width: 100%; -// height: 100%; -// z-index: 100; -//} - -// -// -//.form-horizontal { -// -// // Consistent vertical alignment of radios and checkboxes -// .radio, -// .checkbox, -// .radio-inline, -// .checkbox-inline { -// padding-top: 0; -// } -// -// .radio { -// margin-bottom: 10px; -// } -// -// label { -// text-align: right; -// } -// -// label { -// margin: 0; -// } -//} - -.form-inline { - @include media-breakpoint-up(sm) { - .input-group { - display: inline-flex; - align-items: center; - } - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_input-group.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_input-group.scss deleted file mode 100644 index 7c72cf9..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_input-group.scss +++ /dev/null @@ -1,39 +0,0 @@ -// ----------------------------------------- -// input-group and input-group-addon styles -// note: form-groups are not required -// -@mixin input-group-button-variation($vertical-padding) { - .input-group-btn { - .btn { - //margin: 0 0 $vertical-padding 0; - } - } -} - -// default margin - no form-group required -@include input-group-button-variation(input-padding-y); - -&.bmd-form-group-sm { - @include input-group-button-variation($input-padding-y-sm); -} - -&.bmd-form-group-lg { - @include input-group-button-variation($input-padding-y-lg); -} - -.input-group { // may be in or outside of form-group - - .input-group-addon { - display: flex; - justify-content: center; - align-items: center; - - background-color: transparent; - border-color: transparent; - } - - .input-group-addon + input, - input + .input-group-addon { - margin-left: .75rem; - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_layout.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_layout.scss deleted file mode 100644 index 82faef0..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_layout.scss +++ /dev/null @@ -1,80 +0,0 @@ -// This is a set of flex-based layout containers necessary for components such as the drawer. -// It allows for flex based positioning such as sticky header and footer inside an bmd-layout, with a -// bmd-layout-content that scrolls. - -// mobile webkit smooth scrolling: http://stackoverflow.com/a/15147497/2363935 - -// First element -.bmd-layout-canvas { // added by js? - position: absolute; - width: 100%; - height: 100%; -} - -// Primary layout container, belongs inside a bmd-layout-canvas. -.bmd-layout-container { - position: relative; - display: flex; - flex-direction: column; // allows for sticky header and footer - width: 100%; - height: 100%; - overflow-x: hidden; - overflow-y: auto; - -webkit-overflow-scrolling: touch; // mobile webkit smooth scrolling -} - -// Header layout (fixed top), belongs in a bmd-layout-container -.bmd-layout-header { - z-index: 3; - display: flex; - flex-direction: column; // since this is a column, it is necessary that something like an actual navbar is a child - flex-wrap: nowrap; - flex-shrink: 0; - justify-content: flex-start; - width: 100%; - max-height: 1000px; - transform: translateZ(0); // mobile webkit smooth scrolling - @include material-animation-default(); -} - -// Content layout, belongs in a bmd-layout-container -.bmd-layout-content { - position: relative; - z-index: 1; // under a header - display: inline-block; - //-ms-flex: 0 1 auto; // Fix IE10 bug. - flex-grow: 1; - overflow-x: hidden; - overflow-y: auto; // mobile webkit smooth scrolling may need scroll, but auto seems to be working and omits the scroll border - -webkit-overflow-scrolling: touch; // mobile webkit smooth scrolling - @include material-animation-default(); -} - -// Pushes flex-based content to the other end (x or y) -.bmd-layout-spacer { - flex-grow: 1; -} - -// Backdrop - generic backdrop to be used by other components i.e. drawer in overlay mode -.bmd-layout-backdrop { - position: absolute; - top: 0; - left: 0; - z-index: 4; - width: 100%; - height: 100%; - visibility: hidden; - background-color: transparent; - transition-property: background-color; - @include material-animation-default(); - - @supports (pointer-events: auto) { - background-color: rgba(0, 0, 0, 0.5); - opacity: 0; - transition-property: opacity; - visibility: visible; - pointer-events: none; - } - - // NOTE: the &.in style is responsive, generated by @mixin bmd-layout-backdrop-in() where needed. -} diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_list-group.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_list-group.scss deleted file mode 100644 index 1f36c64..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_list-group.scss +++ /dev/null @@ -1,100 +0,0 @@ -// https://www.google.com/design/spec/components/lists.html#lists-specs - -// - single line 48dp -// - single line avatar 56dp -// - double line (with and w/o avatar) 72dp -// - triple line 88dp - -.list-group { - // #853 start -- https://github.com/twbs/bootstrap/pull/18981/files - @if $enable-flex { - display: flex; - flex-direction: column; - } - // #853 end -- https://github.com/twbs/bootstrap/pull/18981/files - - flex-grow: 1; - - // Add 8dp of padding at the top and bottom of a list. One exception is at the top of a list with a subheader, because subheaders contain their own padding. - padding: .5rem 0; - - // dense size variation - &.bmd-list-group-sm { - padding: .25rem 0; - - .list-group-item { - padding: .5rem 1rem; - } - } -} - -.bmd-list-group-col { - display: flex; - flex-direction: column; - min-width: 0; - //flex-shrink: 0; -} - -.list-group-item { - // #853 start -- https://github.com/twbs/bootstrap/pull/18981/files - @if $enable-flex { - display: flex; - flex-flow: row wrap; - align-items: center; - } @else { - display: block; - } - // #853 end -- https://github.com/twbs/bootstrap/pull/18981/files - padding: 1rem; - line-height: 1; - - .list-group-item-text { // word wrap? http://stackoverflow.com/a/26535469/2363935 - //flex-flow: row wrap; - min-width: 0; - max-height: 2.188rem; // 88dp tile total height - // FIXME: text overflow with ellipsis is not working - //flex: 0 1 auto; // http://stackoverflow.com/questions/12022288/how-to-keep-a-flex-item-from-overflowing-due-to-its-text - overflow: hidden; - text-overflow: ellipsis; - } - - //------ - // NOTE: there are many variations of icons/labels in a list, each one of these rules exist for a reason. - - // first icon/label on the left - :first-child { - margin-right: 2rem; // single line icon is 72dp to text (16 pad + 24 icon + 32 margin) - } - - // second icon/label, or only icon/label marked as 'pull-*-right', or any direct child element marked as right - > .pull-xs-right, - > .pull-sm-right, - > .pull-md-right, - > .pull-lg-right, - > .pull-xl-right, - > * ~ .label:last-child, - > * ~ .material-icons:last-child { - margin-right: 0; // some variations actually match the first-child - margin-left: auto; - } - - // add the padding to icons (margin-left is used for alignment) - .material-icons.pull-xs-right, // need the specificity - .material-icons.pull-sm-right, - .material-icons.pull-md-right, - .material-icons.pull-lg-right, - .material-icons.pull-xl-right, - .material-icons ~ .material-icons:last-child { - padding-left: 1rem; // guarantee space per spec - } - //------ - - .list-group-item-heading { - //font-size: 1rem; - } - - .list-group-item-text { - font-size: .875rem; - color: $gray; - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_mixins.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_mixins.scss deleted file mode 100644 index a322dcb..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_mixins.scss +++ /dev/null @@ -1,10 +0,0 @@ -@import "mixins/utilities"; -@import "mixins/breakpoints"; -@import "mixins/animations"; -@import "mixins/type"; -@import "mixins/layout"; -@import "mixins/drawer"; -@import "mixins/forms"; -@import "mixins/buttons"; -@import "mixins/hover"; -@import "mixins/navs"; diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_modal.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_modal.scss deleted file mode 100644 index 152591e..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_modal.scss +++ /dev/null @@ -1,26 +0,0 @@ -// Modals -// https://www.google.com/design/spec/components/dialogs.html#dialogs-specs - -.modal-content { - border: 0; - border-radius: $border-radius; - - .modal-header { - padding: 24px 24px 0; - border-bottom: 0; - } - .modal-body { - padding: 20px 24px 24px; - } - .modal-footer { - padding: 8px 8px 8px 24px; - border-top: 0; - .btn { - margin: 0; - } - - .btn + .btn { - margin-left: 8px; - } - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_nav.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_nav.scss deleted file mode 100644 index 5df047e..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_nav.scss +++ /dev/null @@ -1,54 +0,0 @@ -// https://www.google.com/design/spec/components/tabs.html#tabs-specs - -.nav-link { - //line-height: $bmd-nav-link-line-height; // set baseline line-height and font sizes - text-transform: uppercase; -} - -// navbars -.navbar-nav { - .nav-link { - padding: $bmd-navbar-link-padding; - font-size: $bmd-navbar-link-font-size; - font-weight: $bmd-navbar-link-font-weight; - } -} - - -// pills and tabs -.nav-tabs, -.nav-pills { - border: 0; - - .nav-link { - padding: $bmd-nav-tabs-pills-link-padding; - font-size: $bmd-nav-tabs-pills-font-size; - font-weight: $bmd-nav-tabs-pills-font-weight; - border: 0; - } -} - -// tabs only -.nav-tabs { - .nav-link { - border-bottom: $bmd-nav-tabs-border-size solid transparent; - } - - // colors - @include bmd-tabs-color($bmd-nav-tabs-color, $bmd-nav-tabs-active-color, $bmd-nav-tabs-active-border-color, $bmd-nav-tabs-disabled-link-color, $bmd-nav-tabs-disabled-link-color-hover); - - &.bg-primary { - @include bmd-tabs-color($bmd-nav-tabs-primary-color, $bmd-nav-tabs-primary-active-color, $bmd-nav-tabs-primary-active-border-color, $bmd-nav-tabs-primary-disabled-link-color, $bmd-nav-tabs-primary-disabled-link-color-hover); - } - - &.bg-inverse { - @include bmd-tabs-color($bmd-nav-tabs-inverse-color, $bmd-nav-tabs-inverse-active-color, $bmd-nav-tabs-inverse-active-border-color, $bmd-nav-tabs-inverse-disabled-link-color, $bmd-nav-tabs-inverse-disabled-link-color-hover); - } -} - -// used to correctly size ripple container -.nav { - .nav-item { - position: relative; - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_navbar.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_navbar.scss deleted file mode 100644 index dfb01bc..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_navbar.scss +++ /dev/null @@ -1,31 +0,0 @@ -.navbar { - z-index: 1; // required to make the shadow overlap the below content (need is visible in mobile drawer overlay) - border: 0; - border-radius: 0; - @include box-shadow($bmd-shadow-2dp); - - // give correct size to ripple container - .navbar-brand { - position: relative; - } - - // #853 start - https://github.com/twbs/bootstrap/pull/18976/files - @if $enable-flex { - display: flex; - flex-flow: row nowrap; - flex-shrink: 0; - align-items: center; - align-self: stretch; - - > * { - flex-shrink: 0; - } - } @else { - @include clearfix; - } - // #853 end - https://github.com/twbs/bootstrap/pull/18976/files - - > .container { - flex: 1; - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_pagination.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_pagination.scss deleted file mode 100644 index ee4a7a2..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_pagination.scss +++ /dev/null @@ -1,52 +0,0 @@ -.page-item { - &:first-child .page-link { - @include border-left-radius(4em); - } - &:last-child .page-link { - @include border-right-radius(4em); - margin-right: 0; - } - - &:first-child, - &:last-child { - .page-link { - display: flex; - justify-content: center; - padding-right: 0; - padding-left: 0; - > .material-icons { - font-size: 1.5em; - } - } - } -} - -.page-link { - min-width: 2.6em; - margin-right: 0.5em; - text-align: center; - border-radius: 4em; - - @include hover-focus { - text-decoration: none; - } -} - - -// -// Sizing -// - -.pagination-lg { - .page-link { - min-width: 2.8em; - } - @include pagination-size($pagination-padding-y-lg, $pagination-padding-x-lg, $font-size-lg, $line-height-lg, 4em); -} - -.pagination-sm { - .page-link { - min-width: 2.2em; - } - @include pagination-size($pagination-padding-y-sm, $pagination-padding-x-sm, $font-size-sm, $line-height-sm, 4em); -} diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_popover.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_popover.scss deleted file mode 100644 index 2f347ae..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_popover.scss +++ /dev/null @@ -1,19 +0,0 @@ -// -//.popover, .tooltip-inner { -// line-height: 1em; -// color: $bmd-popover-color; -// background: $bmd-popover-background; -// border: 0; -// border-radius: $border-radius; -// @include box-shadow($bmd-shadow-2dp); -//} -// -//.tooltip, .tooltip.in { -// opacity: 1; -//} -// -//.popover, .tooltip { -// .arrow, .tooltip-arrow { -// display: none; -// } -//} diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_progress.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_progress.scss deleted file mode 100644 index 3a3b48c..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_progress.scss +++ /dev/null @@ -1,11 +0,0 @@ - -.progress { - height: 4px; - background: #c8c8c8; - border-radius: 0; - box-shadow: none; - .progress-bar { - box-shadow: none; - //@include variations(unquote(".progress-bar"), unquote(""), background-color, $brand-primary); - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_radios.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_radios.scss deleted file mode 100644 index 6c70f45..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_radios.scss +++ /dev/null @@ -1,119 +0,0 @@ -.radio label, -label.radio-inline { - position: relative; - padding-left: $bmd-radio-size + $bmd-radio-label-padding; // absolutely positioned so add the radio size - - .bmd-radio-outer-circle, // don't use generic span, it may conflict with span in user markup #693 - .bmd-radio-inner-circle { - position: absolute; - top: calc-top($line-height-base, $font-size-base, $bmd-radio-size); // vertical center of line-height - left: 0; - display: inline-block; - width: $bmd-radio-size; - height: $bmd-radio-size; - cursor: pointer; - transition-duration: 0.2s; - - &.bmd-radio-outer-circle { - border: $bmd-radio-border solid $bmd-radio-color-off; - border-radius: 50%; - transition: border-color ease .28s; - } - &.bmd-radio-inner-circle { - display: inline-block; - background-color: $bmd-radio-color-on; - border-radius: 50%; - transition: transform ease .28s; - transform: scale3d(0, 0, 0); - - // focus/press ripple - &::after { - position: absolute; - top: -#{$bmd-radio-ripple-offset}; - left: -#{$bmd-radio-ripple-offset}; - z-index: 1; - display: block; - width: 50px; - height: 50px; - margin: 0; - content: ""; - background-color: $gray-dark; - border-radius: 100%; - opacity: 0; - transform: scale3d(1.5, 1.5, 1); - } - } - } - - input[type=radio] { - // Hide native radio - position: absolute; - left: 0; - z-index: -1; - width: 0; - height: 0; - margin: 0; - overflow: hidden; - pointer-events: none; - opacity: 0; - - &:checked { - @include bmd-radio-color($bmd-radio-color-on); - - ~ .bmd-radio-inner-circle { - transform: scale3d(0.55, 0.55, 1); - &::after { - animation: rippleOn; - - .is-focused & { - // Prevent ripple effect on page load - animation: rippleOn 500ms; - } - } - } - } - - &:not(:checked) ~ .bmd-radio-inner-circle::after { - animation: rippleOff 500ms; - } - - &[disabled], - &:disabled, - fieldset[disabled] & { - - + .bmd-radio-outer-circle { - cursor: default; - } - - @include bmd-radio-color($bmd-radio-color-disabled); - - .bg-inverse & { - @include bmd-radio-color($bmd-radio-color-disabled-inverse); - } - } - } -} - -@keyframes rippleOn { - 0% { - opacity: 0; - } - 50% { - opacity: 0.2; - } - 100% { - opacity: 0; - } -} - -@keyframes rippleOff { - 0% { - opacity: 0; - } - 50% { - opacity: 0.2; - } - 100% { - opacity: 0; - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_reboot.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_reboot.scss deleted file mode 100644 index 8e503fa..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_reboot.scss +++ /dev/null @@ -1,25 +0,0 @@ -body { - font-weight: $bmd-font-weight-base; -} - -a { - &:focus { - outline: none; // remove the terrible @include tab-focus(); - } -} - -button:focus { - outline: none; - //outline: 1px dotted; - //outline: 5px auto -webkit-focus-ring-color; -} - - -//// Prevent highlight on mobile -//* { -// -webkit-tap-highlight-color: rgba($white, 0); -// -webkit-tap-highlight-color: transparent; -// &:focus { -// outline: 0; -// } -//} diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_ripples.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_ripples.scss deleted file mode 100644 index 7d7a45a..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_ripples.scss +++ /dev/null @@ -1,40 +0,0 @@ -// marker class (used as a selector for one-off elements to decorate) -.ripple { - position: relative; -} - -.ripple-container { - position: absolute; - top: 0; - left: 0; - z-index: 1; - width: 100%; - height: 100%; - overflow: hidden; - pointer-events: none; - border-radius: inherit; - - .ripple-decorator { - position: absolute; - width: 20px; - height: 20px; - margin-top: -10px; - margin-left: -10px; - pointer-events: none; - background-color: rgba($black, 0.05); - border-radius: 100%; - opacity: 0; - transform: scale(1); - transform-origin: 50%; - - &.ripple-on { - opacity: 0.1; - transition: opacity 0.15s ease-in 0s, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s; - } - - &.ripple-out { - opacity: 0; - transition: opacity 0.1s linear 0s !important; - } - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_switches.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_switches.scss deleted file mode 100644 index b06444d..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_switches.scss +++ /dev/null @@ -1,83 +0,0 @@ -// http://codepen.io/rosskevin/pen/EPPwRR?editors=110 -.switch { - label { - position: relative; - padding-left: $bmd-switch-width + $bmd-switch-label-padding; // absolutely positioned so add the radio size - - .bmd-switch-track { - position: absolute; - top: calc-top($line-height-base, $font-size-base, $bmd-switch-height); - left: 0; - display: inline-block; - width: $bmd-switch-width; - height: $bmd-switch-height; - cursor: pointer; - background-image: linear-gradient( - to right, - $bmd-switch-unchecked-bg 0%, - $bmd-switch-unchecked-bg 50%, - $bmd-switch-checked-bg 50%, - $bmd-switch-checked-bg 100% - ); - background-position: 0%; - background-size: $bmd-switch-width * 2 $bmd-switch-height; - border-radius: $bmd-switch-width; - transition: background-position 0.2s ease-in; - - &::after { - position: absolute; - top: 50%; - left: 0; - display: block; - align-self: center; - width: $bmd-switch-handle-size; - height: $bmd-switch-handle-size; - content: ""; - background: $bmd-switch-handle-unchecked-bg; - border-radius: 100%; - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); - transition: left 0.2s ease-in, background-color 0.2s ease-in, transform 0.3s ease; - transform: translateY(-50%); - } - - // Jelly effect on click - &:active::after { - transform: translateY(-50%) scale3d(1.15, 0.85, 1); - } - } - - input { - // Hide original checkbox, but don't use `display: none` to allow focus on it using keyboard - position: absolute; - display: block; - width: 0; - height: 0; - opacity: 0; - - &:checked { - + .bmd-switch-track { - background-position: -100%; - &::after { - left: unquote("calc(100% - #{$bmd-switch-handle-size})"); //calc(100% - $bmd-switch-handle-size); - background-color: $bmd-switch-handle-checked-bg; - } - } - } - - &:disabled { - // No jelly effect on disabled switchs - + .bmd-switch-track:active::after { - transform: translateY(-50%); - } - - + .bmd-switch-track { - cursor: default; - background: $bmd-switch-disabled-bg; - &::after { - background: $bmd-switch-handle-disabled-bg; - } - } - } - } - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_tables.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_tables.scss deleted file mode 100644 index 258aa90..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_tables.scss +++ /dev/null @@ -1,26 +0,0 @@ -// BS4 has not yet converted the following to variables - keep an eye on it and move to variables when possible. -.thead-inverse { - th { - //color: $bmd-inverse; // #fff; - //background-color: $gray-dark; - } -} -.thead-default { - th { - //color: $gray; - //background-color: $bmd-inverse-lighter; //$gray-lighter; - } -} - -.table-inverse { - color: $bmd-inverse-light; //$gray-lighter; - //background-color: $gray-dark; - - //th, - //td, - //thead th { - // border-color: $gray; - //} -} - - diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_themes.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_themes.scss deleted file mode 100644 index 8bb532c..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_themes.scss +++ /dev/null @@ -1,6 +0,0 @@ -// by default, assume light-theme, no need for a marker class. - -// this is mostly a marker class, add it to something like the body or container. Subordinates will look for this marker - see buttons -.bg-inverse { - // foo -} diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_type.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_type.scss deleted file mode 100644 index aaee361..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_type.scss +++ /dev/null @@ -1,6 +0,0 @@ -// This needs review, including colors: https://www.google.com/design/spec/style/typography.html#typography-styles - -// adjust up the h6 weight -h6 { - font-weight: 500; -} diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_variables.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_variables.scss deleted file mode 100644 index bb2ae79..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/_variables.scss +++ /dev/null @@ -1,139 +0,0 @@ -// FIXME: re-examine organization of variables, files, ordering etc. While the ordering works, we need to be sure this is more comprehensible. -@import "variables/colors"; -@import "variables/shadow"; - -// redefine ? TODO: do we need this bmd variant? This is used as $body-color -$gray-lighter: rgba($black, 0.12) !default; -$gray-light: rgba($black, 0.26) !default; -$gray: rgba($black, .54) !default; // spec color -$gray-dark: rgba($black, 0.87) !default; // used for text color - others use grey-600 which is considerably lighter - -$bmd-font-weight-base: 400; - -// wondering if any of these could still be refactored out, but are definitely in use. -$bmd-inverse: rgba($white, 1) !default; -$bmd-inverse-light: rgba($white, 0.84) !default; -$bmd-inverse-lighter: rgba($white, 0.54) !default; - -$bmd-label-color: $gray-light !default; -$bmd-label-color-inner-focus: $gray !default; // e.g. radio label or text-muted not a control-label which is primary - -// Customized BS variables -@import "variables/bootstrap/components"; -@import "variables/bootstrap/custom-forms"; -@import "variables/bootstrap/spacing"; -@import "variables/bootstrap/body"; -@import "variables/bootstrap/brand"; -@import "variables/bootstrap/buttons"; -@import "variables/bootstrap/card"; -@import "variables/bootstrap/code"; -@import "variables/bootstrap/dropdown"; -@import "variables/bootstrap/forms"; -@import "variables/bootstrap/list-group"; -@import "variables/bootstrap/nav"; -@import "variables/bootstrap/pagination"; -@import "variables/bootstrap/state"; -@import "variables/bootstrap/type"; -@import "variables/bootstrap/modals"; - -// import their vars after customization for use below -$enable-flex: true; // fully adopt flexbox layouts -$enable-shadows: true; // enable shadows, set to false to turn off shadows -@import "bootstrap/scss/variables"; // from bootstrap node_module - - -// -@import "variables/layout"; -@import "variables/menu"; -@import "variables/drawer"; - -$bmd-label-color-focus: $brand-primary !default; -$bmd-invalid-underline: $red-a700 !default; -$bmd-readonly-underline: $input-border-color !default; - -//--- -// verified in use with refactoring to v4 - -//--- -//-- unverified below here -$bmd-brand-inverse: $indigo !default; -// Typography elements FIXME: review to see if we actually need these -$icon-color: rgba($black, 0.5) !default; - - -//--- -// FIXME: Similar but not quite the same as Bootstrap variables -// FIXME: these need to either a) be converted to $bmd- or b) converted to bs variables -//--- - -// -------------------- -// inputs -$bmd-bmd-label-static-size-ratio: 75 / 100 !default; -$bmd-help-size-ratio: 75 / 100 !default; - -//$bmd-form-control-bg-repeat-y: repeat-y !default; // it could work with no-repeat, but on Safari it's bugged and repeat-y is needed, but repeat-y is bugged on the warning icon. -$bmd-form-control-bg-repeat-y: no-repeat !default; -$bmd-form-control-bg-position: center bottom, center calc(100% - 1px) !default; -$bmd-form-control-bg-size: 0 100%, 100% 100% !default; -$bmd-form-control-bg-size-active: 100% 100%, 100% 100% !default; - -// expandable -$input-text-button-size: 32px !default; - -// sizing -$bmd-form-line-height: 1 !default; // set as 1x font-size so that padding is easier calculated to match the spec. -$bmd-label-top-margin-base: 1rem !default; - -$bmd-form-line-height-lg: 1 !default; // set as 1x font-size so that padding is easier calculated to match the spec. -$bmd-label-top-margin-lg: 1rem !default; // 16px - -$bmd-form-line-height-sm: 1 !default; // set as 1x font-size so that padding is easier calculated to match the spec. -$bmd-label-top-margin-sm: .75rem !default; // 12px - -$text-disabled: #a8a8a8 !default; -$background-disabled: #eaeaea !default; - -// Checkboxes -$bmd-checkbox-size: 1.25rem !default; -$bmd-checkbox-animation-ripple: 500ms !default; -$bmd-checkbox-animation-check: 0.3s !default; -$bmd-checkbox-checked-color: $brand-primary !default; -$bmd-checkbox-label-padding: .3125rem !default; // 5px - -$bmd-checkbox-border-size: .125rem !default; -$bmd-checkbox-border-color: $bmd-label-color-inner-focus !default; -$bmd-checkbox-border-color-disabled: $gray-light !default; //#bdbdbd !default; - -// Switches -$bmd-switch-label-padding: .3125rem !default; // 5px -$bmd-switch-width: 2.125rem !default; // 34px -$bmd-switch-height: .875rem !default; // 14px -$bmd-switch-handle-size: 1.25rem !default; // 20px (was 18px) - -$bmd-switch-handle-checked-bg: $brand-primary !default; -$bmd-switch-handle-unchecked-bg: #f1f1f1 !default; -$bmd-switch-handle-disabled-bg: #bdbdbd !default; -$bmd-switch-unchecked-bg: $gray-light !default; -$bmd-switch-checked-bg: desaturate(lighten($bmd-switch-handle-checked-bg, 28%), 32%); // kind of magic recipe -$bmd-switch-disabled-bg: $gray-lighter !default; - -// Popovers and Popups -$bmd-popover-background: rgba(101, 101, 101, 0.9) !default; -$bmd-popover-color: #ececec !default; - -// Radio: -$bmd-radio-border: .125rem !default; // 2px -$bmd-radio-size: 1.25rem !default; -$bmd-radio-ripple-offset: 1em !default; -$bmd-radio-label-padding: .3125rem !default; // 5px - -$bmd-radio-color-off: $bmd-label-color-inner-focus !default; // FIXME seems inconsistent, check spec -$bmd-radio-color-on: $brand-primary !default; -$bmd-radio-color-disabled: $gray-light; // light theme spec: Disabled: #000000, Opacity 26% -$bmd-radio-color-disabled-inverse: rgba($white, 0.30); // dark theme spec: Disabled: #FFFFFF, Opacity 30% - -// Animations -$bmd-animation-curve-fast-out-slow-in: cubic-bezier(0.4, 0, 0.2, 1) !default; -$bmd-animation-curve-linear-out-slow-in: cubic-bezier(0, 0, 0.2, 1) !default; -$bmd-animation-curve-fast-out-linear-in: cubic-bezier(0.4, 0, 1, 1) !default; -$bmd-animation-curve-default: $bmd-animation-curve-fast-out-slow-in !default; diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/bootstrap-material-design.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/bootstrap-material-design.scss deleted file mode 100644 index f5f94c7..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/bootstrap-material-design.scss +++ /dev/null @@ -1,3 +0,0 @@ -// IMPORTANT: For use of source and variable overrides, import the following file directly, *NOT* this one. -// This file primarily exists to create the static css distribution. -@import "core"; diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/extensions/_selectize.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/extensions/_selectize.scss deleted file mode 100644 index 5117c32..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/extensions/_selectize.scss +++ /dev/null @@ -1,91 +0,0 @@ -//// Support for Selectize plugin -//// http://brianreavis.github.io/selectize.js/ -// -//.selectize-control.single, .selectize-control.multi { -// padding: 0; -// .selectize-input, .selectize-input.input-active { -// -// cursor: text; -// background: transparent; -// box-shadow: none; -// border: 0; -// padding: 0; -// height: 100%; -// font-size: 14px; -// line-height: 30px; -// .has-items { -// padding: 0; -// } -// &:after { -// right: 5px; -// position: absolute; -// font-size: 7px; -// content: "\e894"; -// font-family: "Material-Design-Icons"; -// speak: none; -// font-style: normal; -// font-weight: normal; -// font-variant: normal; -// text-transform: none; -// line-height: 4; -// -webkit-font-smoothing: antialiased; -// -moz-osx-font-smoothing: grayscale; -// } -// input { -// font-size: 14px; -// outline: 0; -// border: 0; -// background: transparent; -// } -// &.bmd-label-floating-fix input { -// opacity: 0; -// } -// > div, > .item { -// display: inline-block; -// margin: 0 8px 3px 0; -// padding: 0; -// background: transparent; -// border: 0; -// &:after { -// content: ","; -// } -// &:last-of-type:after { -// content: ""; -// } -// &.active { -// font-weight: bold; -// background: transparent; -// border: 0; -// } -// } -// } -// .selectize-dropdown { -// position: absolute; -// z-index: 1000; -// border: 0; -// width: 100% !important; -// left: 0 !important; -// height: auto; -// background-color: #FFF; -// box-shadow: 0 1px 3px rgba($black, 0.12), 0 1px 2px rgba($black, 0.24); -// border-radius: $border-radius; -// padding: 0; -// margin-top: 3px; -// .active { -// background-color: inherit; -// } -// .highlight { -// background-color: #d5d8ff; -// } -// .selected, .selected.active { -// background-color: #EEEEEE; -// } -// [data-selectable], .optgroup-header { -// padding: 10px 20px; -// cursor: pointer; -// } -// } -// .dropdown-active ~ .selectize-dropdown { -// display: block; -// } -//} diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/extensions/_snackbarjs.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/extensions/_snackbarjs.scss deleted file mode 100644 index 8d51741..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/extensions/_snackbarjs.scss +++ /dev/null @@ -1,27 +0,0 @@ -//// Support for SnackbarJS plugin -//// https://github.com/FezVrasta/snackbarjs -// -//.snackbar { -// height: 0; -// font-size: 14px; -// color: $bmd-inverse; -// background-color: #323232; -// border-radius: $border-radius; -// transition: transform 0.2s ease-in-out, opacity 0.2s ease-in, height 0s linear 0.2s, padding 0s linear 0.2s, height 0s linear 0.2s; -// transform: translateY(200%); -// -// @include box-shadow($bmd-shadow-2dp); -//} -// -//.snackbar.snackbar-opened { -// height: auto; -// padding: 14px 15px; -// margin-bottom: 20px; -// transition: transform 0.2s ease-in-out, opacity 0.2s ease-in, height 0s linear 0.2s, height 0s linear 0.2s; -// transform: none; -//} -// -//// Variations -//.snackbar.toast { -// border-radius: 200px; -//} diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/mixins/_animations.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/mixins/_animations.scss deleted file mode 100644 index d382165..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/mixins/_animations.scss +++ /dev/null @@ -1,21 +0,0 @@ -// Animations (from mdl http://www.getmdl.io/) - -@mixin material-animation-fast-out-slow-in($duration:0.2s) { - transition-duration: $duration; - transition-timing-function: $bmd-animation-curve-fast-out-slow-in; -} - -@mixin material-animation-linear-out-slow-in($duration:0.2s) { - transition-duration: $duration; - transition-timing-function: $bmd-animation-curve-linear-out-slow-in; -} - -@mixin material-animation-fast-out-linear-in($duration:0.2s) { - transition-duration: $duration; - transition-timing-function: $bmd-animation-curve-fast-out-linear-in; -} - -@mixin material-animation-default($duration:0.2s) { - transition-duration: $duration; - transition-timing-function: $bmd-animation-curve-default; -} diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/mixins/_breakpoints.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/mixins/_breakpoints.scss deleted file mode 100644 index 441435a..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/mixins/_breakpoints.scss +++ /dev/null @@ -1,34 +0,0 @@ -//// case where behavior is responsive, or with a marker class -//@mixin media-breakpoint-down-or($breakpoint, $name) { -// #{unquote($name)} { -// @content -// } -// -// @include media-breakpoint-down($breakpoint) { -// @content -// } -//} -// -//// case where behavior is responsive, or with a marker class -//@mixin media-breakpoint-up-or($breakpoint, $name) { -// #{unquote($name)} { -// @content -// } -// -// @include media-breakpoint-up($breakpoint) { -// @content -// } -//} -// -//// Name of the previous breakpoint, or null -//// -//// >> breakpoint-next(sm) -//// xs -//// >> breakpoint-next(sm, (xs: 0, sm: 544px, md: 768px)) -//// xs -//// >> breakpoint-next(sm, $breakpoint-names: (xs sm md)) -//// xs -//@function breakpoint-previous($name, $breakpoints: $grid-breakpoints, $breakpoint-names: map-keys($breakpoints)) { -// $n: index($breakpoint-names, $name); -// @return if($n > 1, nth($breakpoint-names, $n - 1), null); -//} diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/mixins/_buttons.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/mixins/_buttons.scss deleted file mode 100644 index 9d849f1..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/mixins/_buttons.scss +++ /dev/null @@ -1,218 +0,0 @@ -// from bs mixins/buttons button-variant -@mixin bmd-button-variant($color, $background, $focus-background, $active-background, $border, $focus-border, $active-border) { - color: $color; - background-color: $background; - border-color: $border; - - @include hover { - color: $color; - background-color: $focus-background; - border-color: $focus-border; - } - - &:focus, - &.focus { - color: $color; - background-color: $focus-background; - border-color: $focus-border; - } - - &:active, - &.active, - .open > &.dropdown-toggle { - color: $color; - background-color: $focus-background; - border-color: $focus-border; - - &:hover, - &:focus, - &.focus { - color: $color; - background-color: $active-background; - border-color: $active-border; - } - } - - // when it is an icon, kill the active bg on open dropdown, but stabilize on hover - .open > &.dropdown-toggle.bmd-btn-icon { - color: inherit; - background-color: $background; - - // leave hover on with the lighter focus color - &:hover { - background-color: $focus-background; - } - } - - &.disabled, - &:disabled { - &:focus, - &.focus { - background-color: $background; - border-color: $border; - } - @include hover { - background-color: $background; - border-color: $border; - } - } -} - -@mixin bmd-flat-button-variant( - $color, - $border: $bmd-btn-border, - $focus-border: $bmd-btn-focus-bg, - $active-border: $bmd-btn-active-bg -) { - - $background: $bmd-btn-bg; - $focus-background: $bmd-btn-focus-bg; - $active-background: $bmd-btn-active-bg; - - @include bmd-button-variant($color, - $background, - $focus-background, - $active-background, - $border, - $focus-border, - $active-border); - - // inverse color scheme - .bg-inverse & { - $focus-background: $bmd-inverse-btn-focus-bg; - $focus-border: $bmd-inverse-btn-focus-bg; - - $active-background: $bmd-inverse-btn-active-bg; - $active-border: $bmd-inverse-btn-active-bg; - - @include bmd-button-variant($color, - $background, - $focus-background, - $active-background, - $border, - $focus-border, - $active-border); - } - - // reverse the above for links - &.btn-link { - background-color: transparent; - } -} - -@mixin bmd-flat-button-color() { - - @include bmd-flat-button-variant($bmd-btn-color); - - // flat bg with text color variations - &.btn-primary { - @include bmd-flat-button-variant($btn-primary-bg); - } - &.btn-secondary { - @include bmd-flat-button-variant($btn-secondary-color); - } - &.btn-info { - @include bmd-flat-button-variant($btn-info-bg); - } - &.btn-success { - @include bmd-flat-button-variant($btn-success-bg); - } - &.btn-warning { - @include bmd-flat-button-variant($btn-warning-bg); - } - &.btn-danger { - @include bmd-flat-button-variant($btn-danger-bg); - } -} - -@mixin bmd-outline-button-color() { - &.btn-outline, - &.btn-outline-primary, - &.btn-outline-secondary, - &.btn-outline-info, - &.btn-outline-success, - &.btn-outline-warning, - &.btn-outline-danger { - border-color: currentColor; - border-style: solid; - border-width: 1px; - } - - // flat bg with text and border color variations - &.btn-outline { - @include bmd-flat-button-variant($bmd-btn-color, $bmd-btn-color, $bmd-btn-color, $bmd-btn-color); - } - &.btn-outline-primary { - @include bmd-flat-button-variant($btn-primary-bg, $btn-primary-bg, $btn-primary-bg, $btn-primary-bg); - } - &.btn-outline-secondary { - @include bmd-flat-button-variant($btn-secondary-color, $btn-secondary-color, $btn-secondary-color, $btn-secondary-color); - } - &.btn-outline-info { - @include bmd-flat-button-variant($btn-info-bg, $btn-info-bg, $btn-info-bg, $btn-info-bg); - } - &.btn-outline-success { - @include bmd-flat-button-variant($btn-success-bg, $btn-success-bg, $btn-success-bg, $btn-success-bg); - } - &.btn-outline-warning { - @include bmd-flat-button-variant($btn-warning-bg, $btn-warning-bg, $btn-warning-bg, $btn-warning-bg); - } - &.btn-outline-danger { - @include bmd-flat-button-variant($btn-danger-bg, $btn-danger-bg, $btn-danger-bg, $btn-danger-bg); - } -} - -@mixin bmd-raised-button-variant($color, $background, $border) { - - // FIXME: SPEC - this should be the 600 color, how can we get that programmatically if at all? Or are we limited to the color palette only? - $focus-background: contrast-color($background, darken($background, 4%), lighten($background, 4%)); - //$focus-background: darken($background, 10%); // default bootstrap - $focus-border: darken($border, 12%); - - $active-background: $focus-background; - //$active-background: darken($background, 17%); - $active-border: darken($border, 25%); - - @include bmd-button-variant($color, - $background, - $focus-background, - $active-background, - $border, - $focus-border, - $active-border); -} - -@mixin bmd-raised-button-color() { - - &.btn-primary { - @include bmd-raised-button-variant($btn-primary-color, $btn-primary-bg, $btn-primary-border); - } - &.btn-secondary { - @include bmd-raised-button-variant($btn-secondary-color, $btn-secondary-bg, $btn-secondary-border); - } - &.btn-info { - @include bmd-raised-button-variant($btn-info-color, $btn-info-bg, $btn-info-border); - } - &.btn-success { - @include bmd-raised-button-variant($btn-success-color, $btn-success-bg, $btn-success-border); - } - &.btn-warning { - @include bmd-raised-button-variant($btn-warning-color, $btn-warning-bg, $btn-warning-border); - } - &.btn-danger { - @include bmd-raised-button-variant($btn-danger-color, $btn-danger-bg, $btn-danger-border); - } -} - -@mixin undo-bs-tab-focus() { - // clear out the tab-focus() from BS - &, - &:active, - &.active { - &:focus, - &.focus { - //@include tab-focus(); - outline: 0; - } - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/mixins/_drawer.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/mixins/_drawer.scss deleted file mode 100644 index 21c49da..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/mixins/_drawer.scss +++ /dev/null @@ -1,237 +0,0 @@ -// Mixins to allow creation of additional custom drawer sizes when using the defaults at the same time - -@mixin bmd-drawer-x-out($size) { - @each $side, $abbrev in (left: l, right: r) { - &.bmd-drawer-f-#{$abbrev} { - > .bmd-layout-drawer { - // position - top: 0; - #{$side}: 0; - - width: $size; - height: 100%; - - @if $side == left { - transform: translateX(-$size - 10px); // initial position of drawer (closed), way off screen - } @else { - transform: translateX($size + 10px); // initial position of drawer (closed), way off screen - } - } - - > .bmd-layout-header, - > .bmd-layout-content { - margin-#{$side}: 0; - } - } - } -} - -@mixin bmd-drawer-y-out($size) { - @each $side, $abbrev in (top: t, bottom: b) { - &.bmd-drawer-f-#{$abbrev} { - > .bmd-layout-drawer { - // position - #{$side}: 0; - left: 0; - - width: 100%; - height: $size; - - @if $side == top { - transform: translateY(-$size - 10px); // initial position of drawer (closed), way off screen - } @else { - transform: translateY($size + 10px); // initial position of drawer (closed), way off screen - } - } - - > .bmd-layout-content { - margin-#{$side}: 0; - } - } - } -} - -@function bmd-drawer-breakpoint-name($breakpoint, $suffix: "") { - // e.g. &, &-sm, &-md, &-lg - $name: "&-#{$breakpoint}#{$suffix}"; - @if $breakpoint == xs { - $name: "&"; - } - @return $name; -} - -@mixin bmd-drawer-x-in($size) { - @each $side, $abbrev in (left: l, right: r) { - &.bmd-drawer-f-#{$abbrev} { - // Push - drawer will push the header and content (default behavior) - > .bmd-layout-header { - width: calc(100% - #{$size}); - margin-#{$side}: $size; - } - - > .bmd-layout-drawer { - transform: translateX(0); - } - - > .bmd-layout-content { - margin-#{$side}: $size; - } - } - } -} - -@mixin bmd-drawer-y-in($size) { - @each $side, $abbrev in (top: t, bottom: b) { - &.bmd-drawer-f-#{$abbrev} { - - // 1. Push - drawer will push the header or content - > .bmd-layout-header { - @if $side == top { // only add margin-top on a header when the drawer is at the top - margin-#{$side}: $size; - } - } - - > .bmd-layout-drawer { - transform: translateY(0); - } - - > .bmd-layout-content { - @if $side == bottom { // only add margin-bottom on content when the drawer is at the bottom - margin-#{$side}: $size; - } - } - } - } -} - -// breakpoint based open to a particular size -@mixin bmd-drawer-x-in-up($size, $breakpoint) { - // e.g. &, &-sm, &-md, &-lg - $name: bmd-drawer-breakpoint-name($breakpoint, "-up"); - - &.bmd-drawer-in { - #{unquote($name)} { // bmd-drawer-in, bmd-drawer-in-sm, bmd-drawer-in-md, bmd-drawer-in-lg - - @if $breakpoint == xs { - // bmd-drawer-in marker class (non-responsive) - @include bmd-drawer-x-in($size); - } @else { - - // responsive class - @include media-breakpoint-up($breakpoint) { - // bmd-drawer-f-(left and right) styles - @include bmd-drawer-x-in($size); - } - } - } - } -} - -// breakpoint based open to a particular size -@mixin bmd-drawer-y-in-up($size, $breakpoint) { - // e.g. &, &-sm, &-md, &-lg - $name: bmd-drawer-breakpoint-name($breakpoint, "-up"); - - &.bmd-drawer-in { - #{unquote($name)} { // bmd-drawer-in, bmd-drawer-in-sm, bmd-drawer-in-md, bmd-drawer-in-lg - - @if $breakpoint == xs { - // bmd-drawer-in marker class (non-responsive) - @include bmd-drawer-y-in($size); - } @else { - - // responsive class - @include media-breakpoint-up($breakpoint) { - // bmd-drawer-f-(left and right) styles - @include bmd-drawer-y-in($size); - } - } - } - } -} - -@mixin bmd-drawer-x-overlay() { - @include bmd-layout-backdrop-in(); - - @each $side, $abbrev in (left: l, right: r) { - &.bmd-drawer-f-#{$abbrev} { - > .bmd-layout-header, - > .bmd-layout-content { - width: 100%; - margin-#{$side}: 0; - } - } - } -} - -@mixin bmd-drawer-y-overlay() { - @include bmd-layout-backdrop-in(); - - @each $side, $abbrev in (top: t, bottom: b) { - &.bmd-drawer-f-#{$abbrev} { - > .bmd-layout-header { - @if $side == top { // only add margin-top on a header when the drawer is at the top - margin-#{$side}: 0; - } - } - - > .bmd-layout-content { - @if $side == bottom { // only add margin-bottom on content when the drawer is at the bottom - margin-#{$side}: 0; - } - } - } - } -} - -// Overlay - left/right responsive overlay classes and marker class -@mixin bmd-drawer-x-overlay-down($breakpoint) { - // e.g. &, &-sm, &-md, &-lg - $name: bmd-drawer-breakpoint-name($breakpoint, "-down"); - - &.bmd-drawer-overlay { - #{unquote($name)} { // bmd-drawer-overlay, bmd-drawer-overlay-sm, bmd-drawer-overlay-md, bmd-drawer-overlay-lg - - // x - left/right - - @if $breakpoint == xs { // overlay marker class (non-responsive) - - // Must double up on the .bmd-drawer-overlay class to increase specificity otherwise the - // responsive bmd-drawer-in-* media queries above win (and overlay is ignored) - &.bmd-drawer-overlay { - @include bmd-drawer-x-overlay(); - } - } @else { - @include media-breakpoint-down($breakpoint) { // overlay responsive class - @include bmd-drawer-x-overlay(); - } - } - } - } -} - -// Overlay - top/bottom responsive overlay classes and marker class -@mixin bmd-drawer-y-overlay-down($breakpoint) { - // e.g. &, &-sm, &-md, &-lg - $name: bmd-drawer-breakpoint-name($breakpoint, "-down"); - - &.bmd-drawer-overlay { - #{unquote($name)} { // bmd-drawer-overlay, bmd-drawer-overlay-sm, bmd-drawer-overlay-md, bmd-drawer-overlay-lg - //// y - top/bottom - - @if $breakpoint == xs { // overlay marker class (non-responsive) - - // Must double up on the .bmd-drawer-overlay class to increase specificity otherwise the - // responsive bmd-drawer-in-* media queries above win (and overlay is ignored) - &.bmd-drawer-overlay { - @include bmd-drawer-y-overlay(); - } - } @else { - @include media-breakpoint-down($breakpoint) { // overlay responsive class - @include bmd-drawer-y-overlay(); - } - } - } - } -} - diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/mixins/_forms.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/mixins/_forms.scss deleted file mode 100644 index bdb79bc..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/mixins/_forms.scss +++ /dev/null @@ -1,283 +0,0 @@ -@mixin bmd-disabled() { - fieldset[disabled][disabled] &, - &.disabled, - &:disabled, - &[disabled] { - @content - } -} - -@mixin bmd-selection-color() { - .radio label, - .radio-inline, - .checkbox label, - .checkbox-inline, - .switch label { - - // override bootstrap focus and keep all the standard color (could be multiple radios in the form group) - //color: $bmd-label-color; - - &, - .is-focused & { - // form-group focus could change multiple checkboxes/radios, disable that change by using the same color as non-form-group is-focused - color: $bmd-label-color; - - // on focus just darken the specific labels, do not turn them to the brand-primary - @include hover-focus-active() { - //&:hover, - //&:focus { - color: $bmd-label-color-inner-focus; - } - - // correct the above focus color for disabled items - label:has(input[type=radio][disabled]), // css 4 which is unlikely to work for a while, but no other pure css way. - label:has(input[type=checkbox][disabled]), // css 4 - fieldset[disabled] & { - &, - &:hover, - &:focus { - color: $bmd-label-color; - } - } - } - } - - // Style for disabled inputs OLD, use color approach with opacity built in, see radios - //fieldset[disabled] &, - //fieldset[disabled] & input[type=checkbox], - //input[type=checkbox][disabled]:not(:checked) ~ .checkbox-decorator .check::before, - //input[type=checkbox][disabled]:not(:checked) ~ .checkbox-decorator .check, - //input[type=checkbox][disabled] + .bmd-radio-outer-circle { - // opacity: 0.5; - //} -} - -@mixin bmd-radio-color($color) { - - ~ .bmd-radio-inner-circle { - background-color: $color; - } - - ~ .bmd-radio-outer-circle { - border-color: $color; - } -} - -@mixin bmd-form-color($label-color, $label-color-focus, $border-color) { - - [class^='bmd-label'], - [class*=' bmd-label'] { - color: $label-color; - } - - // override BS and keep the border-color normal/grey so that overlaid focus animation draws attention - .form-control { - - // underline animation color on focus - $underline-background-image: linear-gradient(to top, $label-color-focus 2px, fade-out($label-color-focus, 1) 2px), linear-gradient(to top, $input-border-color 1px, fade-out($input-border-color, 1) 1px); - $underline-background-image-invalid: linear-gradient(to top, $bmd-invalid-underline 2px, fade-out($bmd-invalid-underline, 1) 2px), linear-gradient(to top, $input-border-color 1px, fade-out($input-border-color, 1) 1px); - $underline-background-image-readonly: linear-gradient(to top, $bmd-readonly-underline 1px, fade-out($bmd-readonly-underline, 1) 1px), linear-gradient(to top, $input-border-color 1px, fade-out($input-border-color, 1) 1px); - $underline-background-image-disabled: linear-gradient(to right, $input-border-color 0%, $input-border-color 30%, transparent 30%, transparent 100%); - - // bg image is always there, we just need to reveal it - &, - .is-focused & { - background-image: $underline-background-image; - } - - &:invalid { - background-image: $underline-background-image-invalid; - } - - &:read-only { - background-image: $underline-background-image-readonly; - } - - @include bmd-disabled() { - background-image: $underline-background-image-disabled; - background-repeat: repeat-x; - background-size: 3px 1px; - } - - // allow underline focus image and validation images to coexist - &.form-control-success { - &, - .is-focused & { - background-image: $underline-background-image, $form-icon-success; - } - } - &.form-control-warning { - &, - .is-focused & { - background-image: $underline-background-image, $form-icon-warning; - } - } - &.form-control-danger { - &, - .is-focused & { - background-image: $underline-background-image, $form-icon-danger; - } - } - } - - .is-focused, // may or may not be a form-group or bmd-form-group - &.is-focused { - // on focus set borders and labels to the validation color - - // Use the BS provided mixin for the bulk of the color - @include form-control-validation($label-color); - - [class^='bmd-label'], - [class*=' bmd-label'] { - color: $label-color-focus; - } - - .bmd-label-placeholder { - color: $label-color; // keep the placeholder color - } - - // Set the border and box shadow on specific inputs to match - .form-control { - border-color: $border-color; - } - - // Set validation states also for addons - //.input-group-addon { - // border-color: $border-color; - //} - - .bmd-help { - color: $bmd-label-color-inner-focus; - } - } -} - -// must be broken out for reuse - webkit selector breaks firefox -@mixin bmd-label-static($label-top, $static-font-size) { - top: $label-top; - left: 0; - // must repeat because the previous (more generic) selectors - font-size: $static-font-size; -} - -@mixin bmd-form-size-variant($font-size, $label-top-margin, $variant-padding-y, $variant-line-height, $form-group-context: null) { - - $variant-input-height: (($font-size * $variant-line-height) + ($variant-padding-y * 2)); - $static-font-size: ($bmd-bmd-label-static-size-ratio * $font-size); - $help-font-size: ($bmd-help-size-ratio * $font-size); - - $label-static-top: $label-top-margin; - $label-placeholder-top: $label-top-margin + $static-font-size + $variant-padding-y; - - //@debug "font-size: #{$font-size} static-font-size: #{$static-font-size} help-font-size: #{$help-font-size} form-group-context: #{$form-group-context} "; - - //Label height: 72dp - //Padding above label text: 16dp - //Padding between label and input text: 8dp - //Padding below input text (including divider): 16dp - //Padding below text divider: 8dp - - @if $form-group-context { - // Create a space at the top of the bmd-form-group for the label. - // The label is absolutely positioned, so we use top padding to make space. This padding extends over the label down to the top of the input (padding). - padding-top: ($label-top-margin + $static-font-size); - // note: bottom-margin of this is determined by $spacer. @see _spacer.scss - //margin-bottom: (1.5 * $help-font-size); - } - - // TODO: remove this when known stable. https://github.com/FezVrasta/bootstrap-material-design/issues/849 - //@else { - // - // // for radios and checkboxes without a form-group, add some extra vertical spacing to pad down so that - // // any help text above is not encroached upon, or so that it appears more evenly spaced vs form-groups - // .radio, - // label.radio-inline, - // .checkbox, - // label.checkbox-inline, - // .switch { - // padding-top: $spacer-y; - // } - //} - - // Set all line-heights preferably to 1 so that we can space out everything manually without additional added space - // from the default line-height of 1.5 - .form-control, - label, - input::placeholder { - line-height: $variant-line-height; - } - - .radio label, - label.radio-inline, - .checkbox label, - label.checkbox-inline, - .switch label { - line-height: $line-height-base; // keep the same line height for radios and checkboxes - } - - // Note: this may be inside or outside a form-group, may be .bmd-form-group.bmd-form-group-sm or .bmd-form-group.bmd-form-group-lg - input::placeholder { - font-size: $font-size; - } - - // generic labels used anywhere in the form - .checkbox label, - .radio label, - label { - font-size: $font-size; - } - - // floating/placeholder default (no focus) - .bmd-label-floating, - .bmd-label-placeholder { - //@debug "top: #{$label-as-placeholder-top}"; - top: $label-placeholder-top; // place the floating label to look like a placeholder with input padding - } - - // floating focused/filled will look like static - &.is-focused, - .is-focused, - &.is-filled, - .is-filled { - .bmd-label-floating { - @include bmd-label-static($label-static-top, $static-font-size); - } - } - - // static - .bmd-label-static { - @include bmd-label-static($label-static-top, $static-font-size); - } - // #559 Fix for webkit/chrome autofill - rule must be separate because it breaks firefox otherwise #731 - //input:-webkit-autofill ~ .bmd-label-floating { FIXME: confirm that the autofill js generation of change event makes this unnecessary - // @include bmd-label-static($label-top, $static-font-size, $static-line-height); - //} - - .bmd-help { - margin-top: 0; // allow the input margin to set-off the top of the help-block - font-size: $help-font-size; - } - - // validation icon placement - .form-control { - &.form-control-success, - &.form-control-warning, - &.form-control-danger { - $icon-bg-size: ($variant-input-height * .5) ($variant-input-height * .5); - background-size: $bmd-form-control-bg-size, $icon-bg-size; - - &, - &:focus, - .bmd-form-group.is-focused & { - padding-right: ($input-padding-x * 3); - background-repeat: $bmd-form-control-bg-repeat-y, no-repeat; - background-position: $bmd-form-control-bg-position, center right ($variant-input-height * .25); - } - - &:focus, - .bmd-form-group.is-focused & { - background-size: $bmd-form-control-bg-size-active, $icon-bg-size; - } - } - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/mixins/_hover.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/mixins/_hover.scss deleted file mode 100644 index ae92b2a..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/mixins/_hover.scss +++ /dev/null @@ -1,9 +0,0 @@ -@mixin bmd-hover-focus-active { - // add the .active to the whole mix of hover-focus-active - &.active { - @content - } - @include hover-focus-active() { - @content; - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/mixins/_layout.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/mixins/_layout.scss deleted file mode 100644 index 1a2394c..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/mixins/_layout.scss +++ /dev/null @@ -1,17 +0,0 @@ -// Generates the `.in` style for the generic backdrop used components such as the drawer in overlay mode -@mixin bmd-layout-backdrop-in() { - - > .bmd-layout-backdrop { - .in { - visibility: visible; - background-color: rgba(0, 0, 0, 0.5); - } - - @supports (pointer-events: auto) { - &.in { - pointer-events: auto; - opacity: 1; - } - } - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/mixins/_navs.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/mixins/_navs.scss deleted file mode 100644 index d1edace..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/mixins/_navs.scss +++ /dev/null @@ -1,23 +0,0 @@ -@mixin bmd-tabs-color($color, $active-color, $active-border, $disabled-link-color, $disabled-link-hover-color) { - .nav-link { - - color: $color; - - &.active { - color: $active-color; - border-color: $active-border; - @include hover-focus { - border-color: $active-border; - } - } - - // Disabled state lightens text and removes hover/tab effects - &.disabled { - color: $disabled-link-color; - - @include plain-hover-focus { - color: $disabled-link-hover-color; - } - } - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/mixins/_type.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/mixins/_type.scss deleted file mode 100644 index 8d8873b..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/mixins/_type.scss +++ /dev/null @@ -1,11 +0,0 @@ -@mixin headings() { - h1, h2, h3, h4, h5, h6 { - @content; - } -} - -// 14sp font -%std-font { - font-size: .875rem; - font-weight: normal; -} diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/mixins/_utilities.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/mixins/_utilities.scss deleted file mode 100644 index 1a22d77..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/mixins/_utilities.scss +++ /dev/null @@ -1,35 +0,0 @@ -@function calc-top($line-height-base, $font-size, $component-height) { - @return (($line-height-base * $font-size) - $component-height) / 2; // vertical center of line-height -} - - - - -// Emulate the less #contrast function -// TODO: this may be useful for the inverse theme, but if not, remove (it is unused after the removal of fullpalette) -// contrast-color and brightness borrowed from compass -// Copyright (c) 2009-2014 Christopher M. Eppstein -// Complies with license: https://github.com/Compass/compass/blob/stable/LICENSE.markdown -@function contrast-color($color, $dark: $contrasted-dark-default, $light: $contrasted-light-default, $threshold: null) { - @if $threshold { - // Deprecated in Compass 0.13 - @warn "The $threshold argment to contrast-color is no longer needed and will be removed in the next release."; - } - - @if $color == null { - @return null; - } @else { - $color-brightness: brightness($color); - $dark-text-brightness: brightness($dark); - $light-text-brightness: brightness($light); - @return if(abs($color-brightness - $light-text-brightness) > abs($color-brightness - $dark-text-brightness), $light, $dark); - } -} - -@function brightness($color) { - @if type-of($color) == color { - @return (red($color) * 0.299 + green($color) * 0.587 + blue($color) * 0.114) / 255 * 100%; - } @else { - @return unquote("brightness(#{$color})"); - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/_colors-map.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/_colors-map.scss deleted file mode 100644 index b20e34a..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/_colors-map.scss +++ /dev/null @@ -1,311 +0,0 @@ -// these might be useful in a switch to sass...at some point. - -//$bmd-colors: ( -// "red": $red, -// "pink": $pink, -// "purple": $purple, -// "deep-purple": $deep-purple, -// "indigo": $indigo, -// "blue": $blue, -// "light-blue": $light-blue, -// "cyan": $cyan, -// "teal": $teal, -// "green": $green, -// "light-green": $light-green, -// "lime": $lime, -// "yellow": $yellow, -// "amber": $amber, -// "orange": $orange, -// "deep-orange": $deep-orange, -// "brown": $brown, -// "grey": $grey, -// "blue-grey": $blue-grey -//); -// -//$bmd-colors-map: ( -// "red-50": (name: "red", color: $red-50, number: "-50"), -// "red-100": (name: "red", color: $red-100, number: "-100"), -// "red-200": (name: "red", color: $red-200, number: "-200"), -// "red-300": (name: "red", color: $red-300, number: "-300"), -// "red-400": (name: "red", color: $red-400, number: "-400"), -// "red-500": (name: "red", color: $red-500, number: "-500"), -// "red-600": (name: "red", color: $red-600, number: "-600"), -// "red-700": (name: "red", color: $red-700, number: "-700"), -// "red-800": (name: "red", color: $red-800, number: "-800"), -// "red-900": (name: "red", color: $red-900, number: "-900"), -// "red-a100": (name: "red", color: $red-a100, number: "-a100"), -// "red-a200": (name: "red", color: $red-a200, number: "-a200"), -// "red-a400": (name: "red", color: $red-a400, number: "-a400"), -// "red-a700": (name: "red", color: $red-a700, number: "-a700"), -// "red": (name: "red", color: $red, number: ""), -// "pink-50": (name: "pink", color: $pink-50, number: "-50"), -// "pink-100": (name: "pink", color: $pink-100, number: "-100"), -// "pink-200": (name: "pink", color: $pink-200, number: "-200"), -// "pink-300": (name: "pink", color: $pink-300, number: "-300"), -// "pink-400": (name: "pink", color: $pink-400, number: "-400"), -// "pink-500": (name: "pink", color: $pink-500, number: "-500"), -// "pink-600": (name: "pink", color: $pink-600, number: "-600"), -// "pink-700": (name: "pink", color: $pink-700, number: "-700"), -// "pink-800": (name: "pink", color: $pink-800, number: "-800"), -// "pink-900": (name: "pink", color: $pink-900, number: "-900"), -// "pink-a100": (name: "pink", color: $pink-a100, number: "-a100"), -// "pink-a200": (name: "pink", color: $pink-a200, number: "-a200"), -// "pink-a400": (name: "pink", color: $pink-a400, number: "-a400"), -// "pink-a700": (name: "pink", color: $pink-a700, number: "-a700"), -// "pink": (name: "pink", color: $pink, number: ""), -// "purple-50": (name: "purple", color: $purple-50, number: "-50"), -// "purple-100": (name: "purple", color: $purple-100, number: "-100"), -// "purple-200": (name: "purple", color: $purple-200, number: "-200"), -// "purple-300": (name: "purple", color: $purple-300, number: "-300"), -// "purple-400": (name: "purple", color: $purple-400, number: "-400"), -// "purple-500": (name: "purple", color: $purple-500, number: "-500"), -// "purple-600": (name: "purple", color: $purple-600, number: "-600"), -// "purple-700": (name: "purple", color: $purple-700, number: "-700"), -// "purple-800": (name: "purple", color: $purple-800, number: "-800"), -// "purple-900": (name: "purple", color: $purple-900, number: "-900"), -// "purple-a100": (name: "purple", color: $purple-a100, number: "-a100"), -// "purple-a200": (name: "purple", color: $purple-a200, number: "-a200"), -// "purple-a400": (name: "purple", color: $purple-a400, number: "-a400"), -// "purple-a700": (name: "purple", color: $purple-a700, number: "-a700"), -// "purple": (name: "purple", color: $purple, number: ""), -// "deep-purple-50": (name: "deep-purple", color: $deep-purple-50, number: "-50"), -// "deep-purple-100": (name: "deep-purple", color: $deep-purple-100, number: "-100"), -// "deep-purple-200": (name: "deep-purple", color: $deep-purple-200, number: "-200"), -// "deep-purple-300": (name: "deep-purple", color: $deep-purple-300, number: "-300"), -// "deep-purple-400": (name: "deep-purple", color: $deep-purple-400, number: "-400"), -// "deep-purple-500": (name: "deep-purple", color: $deep-purple-500, number: "-500"), -// "deep-purple-600": (name: "deep-purple", color: $deep-purple-600, number: "-600"), -// "deep-purple-700": (name: "deep-purple", color: $deep-purple-700, number: "-700"), -// "deep-purple-800": (name: "deep-purple", color: $deep-purple-800, number: "-800"), -// "deep-purple-900": (name: "deep-purple", color: $deep-purple-900, number: "-900"), -// "deep-purple-a100": (name: "deep-purple", color: $deep-purple-a100, number: "-a100"), -// "deep-purple-a200": (name: "deep-purple", color: $deep-purple-a200, number: "-a200"), -// "deep-purple-a400": (name: "deep-purple", color: $deep-purple-a400, number: "-a400"), -// "deep-purple-a700": (name: "deep-purple", color: $deep-purple-a700, number: "-a700"), -// "deep-purple": (name: "deep-purple", color: $deep-purple, number: ""), -// "indigo-50": (name: "indigo", color: $indigo-50, number: "-50"), -// "indigo-100": (name: "indigo", color: $indigo-100, number: "-100"), -// "indigo-200": (name: "indigo", color: $indigo-200, number: "-200"), -// "indigo-300": (name: "indigo", color: $indigo-300, number: "-300"), -// "indigo-400": (name: "indigo", color: $indigo-400, number: "-400"), -// "indigo-500": (name: "indigo", color: $indigo-500, number: "-500"), -// "indigo-600": (name: "indigo", color: $indigo-600, number: "-600"), -// "indigo-700": (name: "indigo", color: $indigo-700, number: "-700"), -// "indigo-800": (name: "indigo", color: $indigo-800, number: "-800"), -// "indigo-900": (name: "indigo", color: $indigo-900, number: "-900"), -// "indigo-a100": (name: "indigo", color: $indigo-a100, number: "-a100"), -// "indigo-a200": (name: "indigo", color: $indigo-a200, number: "-a200"), -// "indigo-a400": (name: "indigo", color: $indigo-a400, number: "-a400"), -// "indigo-a700": (name: "indigo", color: $indigo-a700, number: "-a700"), -// "indigo": (name: "indigo", color: $indigo, number: ""), -// "blue-50": (name: "blue", color: $blue-50, number: "-50"), -// "blue-100": (name: "blue", color: $blue-100, number: "-100"), -// "blue-200": (name: "blue", color: $blue-200, number: "-200"), -// "blue-300": (name: "blue", color: $blue-300, number: "-300"), -// "blue-400": (name: "blue", color: $blue-400, number: "-400"), -// "blue-500": (name: "blue", color: $blue-500, number: "-500"), -// "blue-600": (name: "blue", color: $blue-600, number: "-600"), -// "blue-700": (name: "blue", color: $blue-700, number: "-700"), -// "blue-800": (name: "blue", color: $blue-800, number: "-800"), -// "blue-900": (name: "blue", color: $blue-900, number: "-900"), -// "blue-a100": (name: "blue", color: $blue-a100, number: "-a100"), -// "blue-a200": (name: "blue", color: $blue-a200, number: "-a200"), -// "blue-a400": (name: "blue", color: $blue-a400, number: "-a400"), -// "blue-a700": (name: "blue", color: $blue-a700, number: "-a700"), -// "blue": (name: "blue", color: $blue, number: ""), -// "light-blue-50": (name: "light-blue", color: $light-blue-50, number: "-50"), -// "light-blue-100": (name: "light-blue", color: $light-blue-100, number: "-100"), -// "light-blue-200": (name: "light-blue", color: $light-blue-200, number: "-200"), -// "light-blue-300": (name: "light-blue", color: $light-blue-300, number: "-300"), -// "light-blue-400": (name: "light-blue", color: $light-blue-400, number: "-400"), -// "light-blue-500": (name: "light-blue", color: $light-blue-500, number: "-500"), -// "light-blue-600": (name: "light-blue", color: $light-blue-600, number: "-600"), -// "light-blue-700": (name: "light-blue", color: $light-blue-700, number: "-700"), -// "light-blue-800": (name: "light-blue", color: $light-blue-800, number: "-800"), -// "light-blue-900": (name: "light-blue", color: $light-blue-900, number: "-900"), -// "light-blue-a100": (name: "light-blue", color: $light-blue-a100, number: "-a100"), -// "light-blue-a200": (name: "light-blue", color: $light-blue-a200, number: "-a200"), -// "light-blue-a400": (name: "light-blue", color: $light-blue-a400, number: "-a400"), -// "light-blue-a700": (name: "light-blue", color: $light-blue-a700, number: "-a700"), -// "light-blue": (name: "light-blue", color: $light-blue, number: ""), -// "cyan-50": (name: "cyan", color: $cyan-50, number: "-50"), -// "cyan-100": (name: "cyan", color: $cyan-100, number: "-100"), -// "cyan-200": (name: "cyan", color: $cyan-200, number: "-200"), -// "cyan-300": (name: "cyan", color: $cyan-300, number: "-300"), -// "cyan-400": (name: "cyan", color: $cyan-400, number: "-400"), -// "cyan-500": (name: "cyan", color: $cyan-500, number: "-500"), -// "cyan-600": (name: "cyan", color: $cyan-600, number: "-600"), -// "cyan-700": (name: "cyan", color: $cyan-700, number: "-700"), -// "cyan-800": (name: "cyan", color: $cyan-800, number: "-800"), -// "cyan-900": (name: "cyan", color: $cyan-900, number: "-900"), -// "cyan-a100": (name: "cyan", color: $cyan-a100, number: "-a100"), -// "cyan-a200": (name: "cyan", color: $cyan-a200, number: "-a200"), -// "cyan-a400": (name: "cyan", color: $cyan-a400, number: "-a400"), -// "cyan-a700": (name: "cyan", color: $cyan-a700, number: "-a700"), -// "cyan": (name: "cyan", color: $cyan, number: ""), -// "teal-50": (name: "teal", color: $teal-50, number: "-50"), -// "teal-100": (name: "teal", color: $teal-100, number: "-100"), -// "teal-200": (name: "teal", color: $teal-200, number: "-200"), -// "teal-300": (name: "teal", color: $teal-300, number: "-300"), -// "teal-400": (name: "teal", color: $teal-400, number: "-400"), -// "teal-500": (name: "teal", color: $teal-500, number: "-500"), -// "teal-600": (name: "teal", color: $teal-600, number: "-600"), -// "teal-700": (name: "teal", color: $teal-700, number: "-700"), -// "teal-800": (name: "teal", color: $teal-800, number: "-800"), -// "teal-900": (name: "teal", color: $teal-900, number: "-900"), -// "teal-a100": (name: "teal", color: $teal-a100, number: "-a100"), -// "teal-a200": (name: "teal", color: $teal-a200, number: "-a200"), -// "teal-a400": (name: "teal", color: $teal-a400, number: "-a400"), -// "teal-a700": (name: "teal", color: $teal-a700, number: "-a700"), -// "teal": (name: "teal", color: $teal, number: ""), -// "green-50": (name: "green", color: $green-50, number: "-50"), -// "green-100": (name: "green", color: $green-100, number: "-100"), -// "green-200": (name: "green", color: $green-200, number: "-200"), -// "green-300": (name: "green", color: $green-300, number: "-300"), -// "green-400": (name: "green", color: $green-400, number: "-400"), -// "green-500": (name: "green", color: $green-500, number: "-500"), -// "green-600": (name: "green", color: $green-600, number: "-600"), -// "green-700": (name: "green", color: $green-700, number: "-700"), -// "green-800": (name: "green", color: $green-800, number: "-800"), -// "green-900": (name: "green", color: $green-900, number: "-900"), -// "green-a100": (name: "green", color: $green-a100, number: "-a100"), -// "green-a200": (name: "green", color: $green-a200, number: "-a200"), -// "green-a400": (name: "green", color: $green-a400, number: "-a400"), -// "green-a700": (name: "green", color: $green-a700, number: "-a700"), -// "green": (name: "green", color: $green, number: ""), -// "light-green-50": (name: "light-green", color: $light-green-50, number: "-50"), -// "light-green-100": (name: "light-green", color: $light-green-100, number: "-100"), -// "light-green-200": (name: "light-green", color: $light-green-200, number: "-200"), -// "light-green-300": (name: "light-green", color: $light-green-300, number: "-300"), -// "light-green-400": (name: "light-green", color: $light-green-400, number: "-400"), -// "light-green-500": (name: "light-green", color: $light-green-500, number: "-500"), -// "light-green-600": (name: "light-green", color: $light-green-600, number: "-600"), -// "light-green-700": (name: "light-green", color: $light-green-700, number: "-700"), -// "light-green-800": (name: "light-green", color: $light-green-800, number: "-800"), -// "light-green-900": (name: "light-green", color: $light-green-900, number: "-900"), -// "light-green-a100": (name: "light-green", color: $light-green-a100, number: "-a100"), -// "light-green-a200": (name: "light-green", color: $light-green-a200, number: "-a200"), -// "light-green-a400": (name: "light-green", color: $light-green-a400, number: "-a400"), -// "light-green-a700": (name: "light-green", color: $light-green-a700, number: "-a700"), -// "light-green": (name: "light-green", color: $light-green, number: ""), -// "lime-50": (name: "lime", color: $lime-50, number: "-50"), -// "lime-100": (name: "lime", color: $lime-100, number: "-100"), -// "lime-200": (name: "lime", color: $lime-200, number: "-200"), -// "lime-300": (name: "lime", color: $lime-300, number: "-300"), -// "lime-400": (name: "lime", color: $lime-400, number: "-400"), -// "lime-500": (name: "lime", color: $lime-500, number: "-500"), -// "lime-600": (name: "lime", color: $lime-600, number: "-600"), -// "lime-700": (name: "lime", color: $lime-700, number: "-700"), -// "lime-800": (name: "lime", color: $lime-800, number: "-800"), -// "lime-900": (name: "lime", color: $lime-900, number: "-900"), -// "lime-a100": (name: "lime", color: $lime-a100, number: "-a100"), -// "lime-a200": (name: "lime", color: $lime-a200, number: "-a200"), -// "lime-a400": (name: "lime", color: $lime-a400, number: "-a400"), -// "lime-a700": (name: "lime", color: $lime-a700, number: "-a700"), -// "lime": (name: "lime", color: $lime, number: ""), -// "yellow-50": (name: "yellow", color: $yellow-50, number: "-50"), -// "yellow-100": (name: "yellow", color: $yellow-100, number: "-100"), -// "yellow-200": (name: "yellow", color: $yellow-200, number: "-200"), -// "yellow-300": (name: "yellow", color: $yellow-300, number: "-300"), -// "yellow-400": (name: "yellow", color: $yellow-400, number: "-400"), -// "yellow-500": (name: "yellow", color: $yellow-500, number: "-500"), -// "yellow-600": (name: "yellow", color: $yellow-600, number: "-600"), -// "yellow-700": (name: "yellow", color: $yellow-700, number: "-700"), -// "yellow-800": (name: "yellow", color: $yellow-800, number: "-800"), -// "yellow-900": (name: "yellow", color: $yellow-900, number: "-900"), -// "yellow-a100": (name: "yellow", color: $yellow-a100, number: "-a100"), -// "yellow-a200": (name: "yellow", color: $yellow-a200, number: "-a200"), -// "yellow-a400": (name: "yellow", color: $yellow-a400, number: "-a400"), -// "yellow-a700": (name: "yellow", color: $yellow-a700, number: "-a700"), -// "yellow": (name: "yellow", color: $yellow, number: ""), -// "amber-50": (name: "amber", color: $amber-50, number: "-50"), -// "amber-100": (name: "amber", color: $amber-100, number: "-100"), -// "amber-200": (name: "amber", color: $amber-200, number: "-200"), -// "amber-300": (name: "amber", color: $amber-300, number: "-300"), -// "amber-400": (name: "amber", color: $amber-400, number: "-400"), -// "amber-500": (name: "amber", color: $amber-500, number: "-500"), -// "amber-600": (name: "amber", color: $amber-600, number: "-600"), -// "amber-700": (name: "amber", color: $amber-700, number: "-700"), -// "amber-800": (name: "amber", color: $amber-800, number: "-800"), -// "amber-900": (name: "amber", color: $amber-900, number: "-900"), -// "amber-a100": (name: "amber", color: $amber-a100, number: "-a100"), -// "amber-a200": (name: "amber", color: $amber-a200, number: "-a200"), -// "amber-a400": (name: "amber", color: $amber-a400, number: "-a400"), -// "amber-a700": (name: "amber", color: $amber-a700, number: "-a700"), -// "amber": (name: "amber", color: $amber, number: ""), -// "orange-50": (name: "orange", color: $orange-50, number: "-50"), -// "orange-100": (name: "orange", color: $orange-100, number: "-100"), -// "orange-200": (name: "orange", color: $orange-200, number: "-200"), -// "orange-300": (name: "orange", color: $orange-300, number: "-300"), -// "orange-400": (name: "orange", color: $orange-400, number: "-400"), -// "orange-500": (name: "orange", color: $orange-500, number: "-500"), -// "orange-600": (name: "orange", color: $orange-600, number: "-600"), -// "orange-700": (name: "orange", color: $orange-700, number: "-700"), -// "orange-800": (name: "orange", color: $orange-800, number: "-800"), -// "orange-900": (name: "orange", color: $orange-900, number: "-900"), -// "orange-a100": (name: "orange", color: $orange-a100, number: "-a100"), -// "orange-a200": (name: "orange", color: $orange-a200, number: "-a200"), -// "orange-a400": (name: "orange", color: $orange-a400, number: "-a400"), -// "orange-a700": (name: "orange", color: $orange-a700, number: "-a700"), -// "orange": (name: "orange", color: $orange, number: ""), -// "deep-orange-50": (name: "deep-orange", color: $deep-orange-50, number: "-50"), -// "deep-orange-100": (name: "deep-orange", color: $deep-orange-100, number: "-100"), -// "deep-orange-200": (name: "deep-orange", color: $deep-orange-200, number: "-200"), -// "deep-orange-300": (name: "deep-orange", color: $deep-orange-300, number: "-300"), -// "deep-orange-400": (name: "deep-orange", color: $deep-orange-400, number: "-400"), -// "deep-orange-500": (name: "deep-orange", color: $deep-orange-500, number: "-500"), -// "deep-orange-600": (name: "deep-orange", color: $deep-orange-600, number: "-600"), -// "deep-orange-700": (name: "deep-orange", color: $deep-orange-700, number: "-700"), -// "deep-orange-800": (name: "deep-orange", color: $deep-orange-800, number: "-800"), -// "deep-orange-900": (name: "deep-orange", color: $deep-orange-900, number: "-900"), -// "deep-orange-a100": (name: "deep-orange", color: $deep-orange-a100, number: "-a100"), -// "deep-orange-a200": (name: "deep-orange", color: $deep-orange-a200, number: "-a200"), -// "deep-orange-a400": (name: "deep-orange", color: $deep-orange-a400, number: "-a400"), -// "deep-orange-a700": (name: "deep-orange", color: $deep-orange-a700, number: "-a700"), -// "deep-orange": (name: "deep-orange", color: $deep-orange, number: ""), -// "brown-50": (name: "brown", color: $brown-50, number: "-50"), -// "brown-100": (name: "brown", color: $brown-100, number: "-100"), -// "brown-200": (name: "brown", color: $brown-200, number: "-200"), -// "brown-300": (name: "brown", color: $brown-300, number: "-300"), -// "brown-400": (name: "brown", color: $brown-400, number: "-400"), -// "brown-500": (name: "brown", color: $brown-500, number: "-500"), -// "brown-600": (name: "brown", color: $brown-600, number: "-600"), -// "brown-700": (name: "brown", color: $brown-700, number: "-700"), -// "brown-800": (name: "brown", color: $brown-800, number: "-800"), -// "brown-900": (name: "brown", color: $brown-900, number: "-900"), -// "brown-a100": (name: "brown", color: $brown-a100, number: "-a100"), -// "brown-a200": (name: "brown", color: $brown-a200, number: "-a200"), -// "brown-a400": (name: "brown", color: $brown-a400, number: "-a400"), -// "brown-a700": (name: "brown", color: $brown-a700, number: "-a700"), -// "brown": (name: "brown", color: $brown, number: ""), -// "grey-50": (name: "grey", color: $grey-50, number: "-50"), -// "grey-100": (name: "grey", color: $grey-100, number: "-100"), -// "grey-200": (name: "grey", color: $grey-200, number: "-200"), -// "grey-300": (name: "grey", color: $grey-300, number: "-300"), -// "grey-400": (name: "grey", color: $grey-400, number: "-400"), -// "grey-500": (name: "grey", color: $grey-500, number: "-500"), -// "grey-600": (name: "grey", color: $grey-600, number: "-600"), -// "grey-700": (name: "grey", color: $grey-700, number: "-700"), -// "grey-800": (name: "grey", color: $grey-800, number: "-800"), -// "grey-900": (name: "grey", color: $grey-900, number: "-900"), -// "grey-a100": (name: "grey", color: $grey-a100, number: "-a100"), -// "grey-a200": (name: "grey", color: $grey-a200, number: "-a200"), -// "grey-a400": (name: "grey", color: $grey-a400, number: "-a400"), -// "grey-a700": (name: "grey", color: $grey-a700, number: "-a700"), -// "grey": (name: "grey", color: $grey, number: ""), -// "blue-grey-50": (name: "blue-grey", color: $blue-grey-50, number: "-50"), -// "blue-grey-100": (name: "blue-grey", color: $blue-grey-100, number: "-100"), -// "blue-grey-200": (name: "blue-grey", color: $blue-grey-200, number: "-200"), -// "blue-grey-300": (name: "blue-grey", color: $blue-grey-300, number: "-300"), -// "blue-grey-400": (name: "blue-grey", color: $blue-grey-400, number: "-400"), -// "blue-grey-500": (name: "blue-grey", color: $blue-grey-500, number: "-500"), -// "blue-grey-600": (name: "blue-grey", color: $blue-grey-600, number: "-600"), -// "blue-grey-700": (name: "blue-grey", color: $blue-grey-700, number: "-700"), -// "blue-grey-800": (name: "blue-grey", color: $blue-grey-800, number: "-800"), -// "blue-grey-900": (name: "blue-grey", color: $blue-grey-900, number: "-900"), -// "blue-grey-a100": (name: "blue-grey", color: $blue-grey-a100, number: "-a100"), -// "blue-grey-a200": (name: "blue-grey", color: $blue-grey-a200, number: "-a200"), -// "blue-grey-a400": (name: "blue-grey", color: $blue-grey-a400, number: "-a400"), -// "blue-grey-a700": (name: "blue-grey", color: $blue-grey-a700, number: "-a700"), -// "blue-grey": (name: "blue-grey", color: $blue-grey, number: "") -//); diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/_colors.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/_colors.scss deleted file mode 100644 index c805cc5..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/_colors.scss +++ /dev/null @@ -1,356 +0,0 @@ -// -//To get this list of colors inject jQuery at http://www.google.com/design/spec/style/color.html#color-color-palette -// -//Then, run this script to get the list@mixin (function(){ -// var colors = {}, main = {}; -// $(".color-group")@mixin each(function(){ -// var color = $(this).find(".name").text().trim().toLowerCase().replace(" ", "-"); -// colors[color] = {}; -// -// $(this)@mixin find(".color").not(".main-color").each(function(){ -// var shade = $(this).find(".shade").text().trim(), -// hex = $(this).find(".hex").text().trim(); -// -// colors[color][shade] = hex; -// }); -// main[color] = color + "-" + $(this).find(".main-color .shade").text().trim(); -// -// }); -// var LESS = ""; -// $@mixin each(colors, function(name, shades){ -// LESS += "\n\n"; -// $@mixin each(shades, function(shade, hex){ -// LESS += "$" + name + "-" + shade + ": " + hex + ";\n" !default; -// }); -// if (main[name]) { -// LESS += "$" + name + ": " + main[name] + ";\n" !default; -// } -// }); -// console.log(LESS); -//})(); - -$red-50: #ffebee !default; -$red-100: #ffcdd2 !default; -$red-200: #ef9a9a !default; -$red-300: #e57373 !default; -$red-400: #ef5350 !default; -$red-500: #f44336 !default; -$red-600: #e53935 !default; -$red-700: #d32f2f !default; -$red-800: #c62828 !default; -$red-900: #b71c1c !default; -$red-a100: #ff8a80 !default; -$red-a200: #ff5252 !default; -$red-a400: #ff1744 !default; -$red-a700: #d50000 !default; -$red: $red-500 !default; - - -$pink-50: #fce4ec !default; -$pink-100: #f8bbd0 !default; -$pink-200: #f48fb1 !default; -$pink-300: #f06292 !default; -$pink-400: #ec407a !default; -$pink-500: #e91e63 !default; -$pink-600: #d81b60 !default; -$pink-700: #c2185b !default; -$pink-800: #ad1457 !default; -$pink-900: #880e4f !default; -$pink-a100: #ff80ab !default; -$pink-a200: #ff4081 !default; -$pink-a400: #f50057 !default; -$pink-a700: #c51162 !default; -$pink: $pink-500 !default; - - -$purple-50: #f3e5f5 !default; -$purple-100: #e1bee7 !default; -$purple-200: #ce93d8 !default; -$purple-300: #ba68c8 !default; -$purple-400: #ab47bc !default; -$purple-500: #9c27b0 !default; -$purple-600: #8e24aa !default; -$purple-700: #7b1fa2 !default; -$purple-800: #6a1b9a !default; -$purple-900: #4a148c !default; -$purple-a100: #ea80fc !default; -$purple-a200: #e040fb !default; -$purple-a400: #d500f9 !default; -$purple-a700: #a0f !default; -$purple: $purple-500 !default; - - -$deep-purple-50: #ede7f6 !default; -$deep-purple-100: #d1c4e9 !default; -$deep-purple-200: #b39ddb !default; -$deep-purple-300: #9575cd !default; -$deep-purple-400: #7e57c2 !default; -$deep-purple-500: #673ab7 !default; -$deep-purple-600: #5e35b1 !default; -$deep-purple-700: #512da8 !default; -$deep-purple-800: #4527a0 !default; -$deep-purple-900: #311b92 !default; -$deep-purple-a100: #b388ff !default; -$deep-purple-a200: #7c4dff !default; -$deep-purple-a400: #651fff !default; -$deep-purple-a700: #6200ea !default; -$deep-purple: $deep-purple-500 !default; - - -$indigo-50: #e8eaf6 !default; -$indigo-100: #c5cae9 !default; -$indigo-200: #9fa8da !default; -$indigo-300: #7986cb !default; -$indigo-400: #5c6bc0 !default; -$indigo-500: #3f51b5 !default; -$indigo-600: #3949ab !default; -$indigo-700: #303f9f !default; -$indigo-800: #283593 !default; -$indigo-900: #1a237e !default; -$indigo-a100: #8c9eff !default; -$indigo-a200: #536dfe !default; -$indigo-a400: #3d5afe !default; -$indigo-a700: #304ffe !default; -$indigo: $indigo-500 !default; - - -$blue-50: #e3f2fd !default; -$blue-100: #bbdefb !default; -$blue-200: #90caf9 !default; -$blue-300: #64b5f6 !default; -$blue-400: #42a5f5 !default; -$blue-500: #2196f3 !default; -$blue-600: #1e88e5 !default; -$blue-700: #1976d2 !default; -$blue-800: #1565c0 !default; -$blue-900: #0d47a1 !default; -$blue-a100: #82b1ff !default; -$blue-a200: #448aff !default; -$blue-a400: #2979ff !default; -$blue-a700: #2962ff !default; -$blue: $blue-500 !default; - - -$light-blue-50: #e1f5fe !default; -$light-blue-100: #b3e5fc !default; -$light-blue-200: #81d4fa !default; -$light-blue-300: #4fc3f7 !default; -$light-blue-400: #29b6f6 !default; -$light-blue-500: #03a9f4 !default; -$light-blue-600: #039be5 !default; -$light-blue-700: #0288d1 !default; -$light-blue-800: #0277bd !default; -$light-blue-900: #01579b !default; -$light-blue-a100: #80d8ff !default; -$light-blue-a200: #40c4ff !default; -$light-blue-a400: #00b0ff !default; -$light-blue-a700: #0091ea !default; -$light-blue: $light-blue-500 !default; - - -$cyan-50: #e0f7fa !default; -$cyan-100: #b2ebf2 !default; -$cyan-200: #80deea !default; -$cyan-300: #4dd0e1 !default; -$cyan-400: #26c6da !default; -$cyan-500: #00bcd4 !default; -$cyan-600: #00acc1 !default; -$cyan-700: #0097a7 !default; -$cyan-800: #00838f !default; -$cyan-900: #006064 !default; -$cyan-a100: #84ffff !default; -$cyan-a200: #18ffff !default; -$cyan-a400: #00e5ff !default; -$cyan-a700: #00b8d4 !default; -$cyan: $cyan-500 !default; - - -$teal-50: #e0f2f1 !default; -$teal-100: #b2dfdb !default; -$teal-200: #80cbc4 !default; -$teal-300: #4db6ac !default; -$teal-400: #26a69a !default; -$teal-500: #009688 !default; -$teal-600: #00897b !default; -$teal-700: #00796b !default; -$teal-800: #00695c !default; -$teal-900: #004d40 !default; -$teal-a100: #a7ffeb !default; -$teal-a200: #64ffda !default; -$teal-a400: #1de9b6 !default; -$teal-a700: #00bfa5 !default; -$teal: $teal-500 !default; - - -$green-50: #e8f5e9 !default; -$green-100: #c8e6c9 !default; -$green-200: #a5d6a7 !default; -$green-300: #81c784 !default; -$green-400: #66bb6a !default; -$green-500: #4caf50 !default; -$green-600: #43a047 !default; -$green-700: #388e3c !default; -$green-800: #2e7d32 !default; -$green-900: #1b5e20 !default; -$green-a100: #b9f6ca !default; -$green-a200: #69f0ae !default; -$green-a400: #00e676 !default; -$green-a700: #00c853 !default; -$green: $green-500 !default; - - -$light-green-50: #f1f8e9 !default; -$light-green-100: #dcedc8 !default; -$light-green-200: #c5e1a5 !default; -$light-green-300: #aed581 !default; -$light-green-400: #9ccc65 !default; -$light-green-500: #8bc34a !default; -$light-green-600: #7cb342 !default; -$light-green-700: #689f38 !default; -$light-green-800: #558b2f !default; -$light-green-900: #33691e !default; -$light-green-a100: #ccff90 !default; -$light-green-a200: #b2ff59 !default; -$light-green-a400: #76ff03 !default; -$light-green-a700: #64dd17 !default; -$light-green: $light-green-500 !default; - - -$lime-50: #f9fbe7 !default; -$lime-100: #f0f4c3 !default; -$lime-200: #e6ee9c !default; -$lime-300: #dce775 !default; -$lime-400: #d4e157 !default; -$lime-500: #cddc39 !default; -$lime-600: #c0ca33 !default; -$lime-700: #afb42b !default; -$lime-800: #9e9d24 !default; -$lime-900: #827717 !default; -$lime-a100: #f4ff81 !default; -$lime-a200: #eeff41 !default; -$lime-a400: #c6ff00 !default; -$lime-a700: #aeea00 !default; -$lime: $lime-500 !default; - - -$yellow-50: #fffde7 !default; -$yellow-100: #fff9c4 !default; -$yellow-200: #fff59d !default; -$yellow-300: #fff176 !default; -$yellow-400: #ffee58 !default; -$yellow-500: #ffeb3b !default; -$yellow-600: #fdd835 !default; -$yellow-700: #fbc02d !default; -$yellow-800: #f9a825 !default; -$yellow-900: #f57f17 !default; -$yellow-a100: #ffff8d !default; -$yellow-a200: #ff0 !default; -$yellow-a400: #ffea00 !default; -$yellow-a700: #ffd600 !default; -$yellow: $yellow-500 !default; - - -$amber-50: #fff8e1 !default; -$amber-100: #ffecb3 !default; -$amber-200: #ffe082 !default; -$amber-300: #ffd54f !default; -$amber-400: #ffca28 !default; -$amber-500: #ffc107 !default; -$amber-600: #ffb300 !default; -$amber-700: #ffa000 !default; -$amber-800: #ff8f00 !default; -$amber-900: #ff6f00 !default; -$amber-a100: #ffe57f !default; -$amber-a200: #ffd740 !default; -$amber-a400: #ffc400 !default; -$amber-a700: #ffab00 !default; -$amber: $amber-500 !default; - - -$orange-50: #fff3e0 !default; -$orange-100: #ffe0b2 !default; -$orange-200: #ffcc80 !default; -$orange-300: #ffb74d !default; -$orange-400: #ffa726 !default; -$orange-500: #ff9800 !default; -$orange-600: #fb8c00 !default; -$orange-700: #f57c00 !default; -$orange-800: #ef6c00 !default; -$orange-900: #e65100 !default; -$orange-a100: #ffd180 !default; -$orange-a200: #ffab40 !default; -$orange-a400: #ff9100 !default; -$orange-a700: #ff6d00 !default; -$orange: $orange-500 !default; - - -$deep-orange-50: #fbe9e7 !default; -$deep-orange-100: #ffccbc !default; -$deep-orange-200: #ffab91 !default; -$deep-orange-300: #ff8a65 !default; -$deep-orange-400: #ff7043 !default; -$deep-orange-500: #ff5722 !default; -$deep-orange-600: #f4511e !default; -$deep-orange-700: #e64a19 !default; -$deep-orange-800: #d84315 !default; -$deep-orange-900: #bf360c !default; -$deep-orange-a100: #ff9e80 !default; -$deep-orange-a200: #ff6e40 !default; -$deep-orange-a400: #ff3d00 !default; -$deep-orange-a700: #dd2c00 !default; -$deep-orange: $deep-orange-500 !default; - - -$brown-50: #efebe9 !default; -$brown-100: #d7ccc8 !default; -$brown-200: #bcaaa4 !default; -$brown-300: #a1887f !default; -$brown-400: #8d6e63 !default; -$brown-500: #795548 !default; -$brown-600: #6d4c41 !default; -$brown-700: #5d4037 !default; -$brown-800: #4e342e !default; -$brown-900: #3e2723 !default; -$brown-a100: #d7ccc8 !default; -$brown-a200: #bcaaa4 !default; -$brown-a400: #8d6e63 !default; -$brown-a700: #5d4037 !default; -$brown: $brown-500 !default; - - -$grey-50: #fafafa !default; -$grey-100: #f5f5f5 !default; -$grey-200: #eee !default; -$grey-300: #e0e0e0 !default; -$grey-400: #bdbdbd !default; -$grey-500: #9e9e9e; -$grey-600: #757575 !default; -$grey-700: #616161 !default; -$grey-800: #424242 !default; -$grey-900: #212121 !default; -$grey-a100: #f5f5f5 !default; -$grey-a200: #eee !default; -$grey-a400: #bdbdbd !default; -$grey-a700: #616161 !default; -$grey: $grey-500 !default; - - -$blue-grey-50: #eceff1 !default; -$blue-grey-100: #cfd8dc !default; -$blue-grey-200: #b0bec5 !default; -$blue-grey-300: #90a4ae !default; -$blue-grey-400: #78909c !default; -$blue-grey-500: #607d8b !default; -$blue-grey-600: #546e7a !default; -$blue-grey-700: #455a64 !default; -$blue-grey-800: #37474f !default; -$blue-grey-900: #263238 !default; -$blue-grey-a100: #cfd8dc !default; -$blue-grey-a200: #b0bec5 !default; -$blue-grey-a400: #78909c !default; -$blue-grey-a700: #455a64 !default; -$blue-grey: $blue-grey-500 !default; - - -$black: #000; -$white: #fff; diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/_drawer.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/_drawer.scss deleted file mode 100644 index d30b021..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/_drawer.scss +++ /dev/null @@ -1,5 +0,0 @@ -// Drawer - -// Sizing -$bmd-drawer-x-size: 240px !default; -$bmd-drawer-y-size: 100px !default; diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/_layout.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/_layout.scss deleted file mode 100644 index 7cbf784..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/_layout.scss +++ /dev/null @@ -1 +0,0 @@ -// Layout variables - evidently nothing to see here...remove now? diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/_menu.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/_menu.scss deleted file mode 100644 index 54da3c4..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/_menu.scss +++ /dev/null @@ -1,18 +0,0 @@ -$bmd-menu-line-height: 1 !default; // makes it easier to use sizes to match spec - -$bmd-menu-item-min-width: 7rem !default; // Minimum width on mobile = 2 * 56dp = 112dp -$bmd-menu-item-max-width: 17.5rem !default; // Maximum width on mobile (in both portrait and landscape) = 5 * 56dp = 280dp -$bmd-menu-item-min-height: 3rem !default; // 48px - -$bmd-menu-item-padding-right: 1rem !default; -$bmd-menu-item-padding-bottom: .8rem !default; -$bmd-menu-item-padding-left: 1rem !default; -$bmd-menu-item-padding-top: .8rem !default; - -// md and up -$bmd-menu-item-padding-right-md: 1.5rem !default; -$bmd-menu-item-padding-left-md: 1.5rem !default; - -// Menu -$bmd-menu-expand-duration: 0.3s !default; -$bmd-menu-fade-duration: 0.2s !default; diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/_shadow.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/_shadow.scss deleted file mode 100644 index ef1f786..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/_shadow.scss +++ /dev/null @@ -1,35 +0,0 @@ -// Shadows (originally from mdl http://www.getmdl.io/) -$bmd-shadow-umbra-opacity: 0.2 !default; -$bmd-shadow-penumbra-opacity: 0.14 !default; -$bmd-shadow-ambient-opacity: 0.12 !default; - -// Declare the following for reuse with both mixins and the bootstrap variables -$bmd-shadow-focus: 0 0 8px rgba($black, .18), 0 8px 16px rgba($black, .36); - -$bmd-shadow-2dp: 0 2px 2px 0 rgba($black, $bmd-shadow-penumbra-opacity), - 0 3px 1px -2px rgba($black, $bmd-shadow-umbra-opacity), - 0 1px 5px 0 rgba($black, $bmd-shadow-ambient-opacity); - -$bmd-shadow-3dp: 0 3px 4px 0 rgba($black, $bmd-shadow-penumbra-opacity), - 0 3px 3px -2px rgba($black, $bmd-shadow-umbra-opacity), - 0 1px 8px 0 rgba($black, $bmd-shadow-ambient-opacity); - -$bmd-shadow-4dp: 0 4px 5px 0 rgba($black, $bmd-shadow-penumbra-opacity), - 0 1px 10px 0 rgba($black, $bmd-shadow-ambient-opacity), - 0 2px 4px -1px rgba($black, $bmd-shadow-umbra-opacity); - -$bmd-shadow-6dp: 0 6px 10px 0 rgba($black, $bmd-shadow-penumbra-opacity), - 0 1px 18px 0 rgba($black, $bmd-shadow-ambient-opacity), - 0 3px 5px -1px rgba($black, $bmd-shadow-umbra-opacity); - -$bmd-shadow-8dp: 0 8px 10px 1px rgba($black, $bmd-shadow-penumbra-opacity), - 0 3px 14px 2px rgba($black, $bmd-shadow-ambient-opacity), - 0 5px 5px -3px rgba($black, $bmd-shadow-umbra-opacity); - -$bmd-shadow-16dp: 0 16px 24px 2px rgba($black, $bmd-shadow-penumbra-opacity), - 0 6px 30px 5px rgba($black, $bmd-shadow-ambient-opacity), - 0 8px 10px -5px rgba($black, $bmd-shadow-umbra-opacity); - -$bmd-shadow-24dp: 0 9px 46px 8px rgba($black, $bmd-shadow-penumbra-opacity), - 0 11px 15px -7px rgba($black, $bmd-shadow-ambient-opacity), - 0 24px 38px 3px rgba($black, $bmd-shadow-umbra-opacity); diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_body.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_body.scss deleted file mode 100644 index 0d9fbea..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_body.scss +++ /dev/null @@ -1,6 +0,0 @@ -// Body -// -// Settings for the `<body>` element. - -$body-bg: #fafafa !default; -//$body-color: $gray-dark !default; diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_brand.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_brand.scss deleted file mode 100644 index 3ba4a5b..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_brand.scss +++ /dev/null @@ -1,6 +0,0 @@ -// Bootstrap brand color customization -$brand-primary: $teal !default; -$brand-success: $green !default; -$brand-danger: $red !default; -$brand-warning: $deep-orange !default; -$brand-info: $light-blue !default; diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_buttons.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_buttons.scss deleted file mode 100644 index 5823491..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_buttons.scss +++ /dev/null @@ -1,77 +0,0 @@ -// Buttons: -$bmd-btn-font-size: .875rem !default; // 14px -$bmd-btn-font-size-lg: 1.25rem !default; -$bmd-btn-font-size-sm: .8125rem !default; // 13px -$bmd-btn-margin-bottom: .3125rem !default; // 5px - -// default btn with no specific type designation -$bmd-btn-color: $gray-dark !default; -$bmd-btn-bg: inherit !default; //$body-bg !default; // #fff -$bmd-btn-border: #ccc !default; - -$bmd-btn-focus-bg: rgba(#999, .20) !default; // spec: bg Hover: 20% #999999 -$bmd-btn-active-bg: rgba(#999, .40) !default; // spec: bg Pressed: 40% #999999 -$bmd-btn-disabled: rgba($black, .26) !default; // spec: light theme: Disabled text: 26% $black - -$bmd-inverse-btn-focus-bg: rgba(#ccc, .15) !default; // spec: dark bg Hover: 15% #CCCCCC -$bmd-inverse-btn-active-bg: rgba(#ccc, .25) !default; // spec: dark Pressed: 25% #CCCCCC -$bmd-inverse-btn-disabled: rgba($white, .30) !default; // spec: dark theme: Disabled text: 30% $white - -$bmd-btn-fab-size: 3.5rem !default; // 56px -$bmd-btn-fab-size-sm: 2.5rem !default; // 40px -$bmd-btn-fab-font-size: 1.5rem !default; // 24px - -// icons -$bmd-btn-icon-size: 2rem !default; // 32px -$bmd-btn-icon-size-sm: (.75 * $bmd-btn-icon-size) !default; // ~24px -$bmd-btn-icon-font-size-sm: (.75 * $bmd-btn-fab-font-size) !default; - - -// Buttons -// -// For each of Bootstrap's buttons, define text, background and border color. -$btn-padding-x: 1rem !default; // 1rem -$btn-padding-y: .46875rem !default; // .5rem achieve a 36dp height -//$btn-line-height: 1 !default; //1.25 -$btn-font-weight: 500 !default; // normal -$btn-box-shadow: none !default; -$btn-active-box-shadow: none !default; // inset 0 3px 5px rgba(0,0,0,.125) - -// -//$btn-primary-color: #fff !default; -//$btn-primary-bg: $brand-primary !default; -//$btn-primary-border: $btn-primary-bg !default; -// -$btn-secondary-color: $gray-dark !default; -$btn-secondary-bg: $body-bg !default; // #fff -//$btn-secondary-border: #ccc !default; -// -//$btn-info-color: #fff !default; -//$btn-info-bg: $brand-info !default; -//$btn-info-border: $btn-info-bg !default; -// -//$btn-success-color: #fff !default; -//$btn-success-bg: $brand-success !default; -//$btn-success-border: $btn-success-bg !default; -// -//$btn-warning-color: #fff !default; -//$btn-warning-bg: $brand-warning !default; -//$btn-warning-border: $btn-warning-bg !default; -// -//$btn-danger-color: #fff !default; -//$btn-danger-bg: $brand-danger !default; -//$btn-danger-border: $btn-danger-bg !default; -// -//$btn-link-disabled-color: $gray-light !default; -// -//$btn-padding-x-sm: .5rem !default; -$btn-padding-y-sm: .40625rem !default; // achieve a 32dp height was .25rem -// -//$btn-padding-x-lg: 1.5rem !default; -//$btn-padding-y-lg: .75rem !default; -// -//// Allows for customizing button radius independently from global border radius -//$btn-border-radius: $border-radius !default; -//$btn-border-radius-lg: $border-radius-lg !default; -//$btn-border-radius-sm: $border-radius-sm !default; - diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_card.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_card.scss deleted file mode 100644 index 6c18fba..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_card.scss +++ /dev/null @@ -1,13 +0,0 @@ -// Cards -//$card-spacer-x: 1.25rem !default; -//$card-spacer-y: .75rem !default; -//$card-border-width: 1px !default; -//$card-border-radius: $border-radius !default; -$card-border-color: $gray-lighter !default; // #e5e5e5 -//$card-border-radius-inner: $card-border-radius !default; -$card-bg: #fff !default; -$card-cap-bg: $card-bg !default; // #f5f5f5 -// -//$card-link-hover-color: #fff !default; -// -//$card-deck-margin: .625rem !default; diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_code.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_code.scss deleted file mode 100644 index 9e10188..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_code.scss +++ /dev/null @@ -1,12 +0,0 @@ -// Code - -//$code-color: #bd4147 !default; -$code-bg: $grey-200 !default; // #f7f7f9 !default; - -//$kbd-color: #fff !default; -//$kbd-bg: #333 !default; -// -//$pre-bg: #f7f7f9 !default; -//$pre-color: $gray-dark !default; -//$pre-border-color: #ccc !default; -//$pre-scrollable-max-height: 340px !default; diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_components.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_components.scss deleted file mode 100644 index ff03bdb..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_components.scss +++ /dev/null @@ -1,16 +0,0 @@ -// Components -// -// Define common padding and border radius sizes and more. - -//$line-height-lg: (4 / 3) !default; -//$line-height-sm: 1.5 !default; -// -$border-radius: .125rem !default; // .25rem !default; -//$border-radius-lg: .3rem !default; -$border-radius-sm: .0625rem !default; // .2rem !default; -// -//$component-active-color: #fff !default; -//$component-active-bg: $brand-primary !default; -// -//$caret-width: .3em !default; -//$caret-width-lg: $caret-width !default; diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_custom-forms.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_custom-forms.scss deleted file mode 100644 index d6f3644..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_custom-forms.scss +++ /dev/null @@ -1,5 +0,0 @@ -$custom-file-bg: transparent !default; -$custom-file-border-width: 0 !default; -$custom-file-box-shadow: none !default; -$custom-file-border-radius: 0 !default; -$custom-file-line-height: 1.3 !default; diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_dropdown.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_dropdown.scss deleted file mode 100644 index 67ac5ec..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_dropdown.scss +++ /dev/null @@ -1,20 +0,0 @@ -// Dropdowns -// -// Dropdown menu container and contents. - -//$dropdown-bg: #fff !default; -//$dropdown-border-color: rgba(0,0,0,.15) !default; -//$dropdown-border-width: $border-width !default; -//$dropdown-divider-bg: #e5e5e5 !default; -$dropdown-box-shadow: $bmd-shadow-2dp !default; //0 6px 12px rgba(0,0,0,.175) !default; -// -//$dropdown-link-color: $gray-dark !default; -//$dropdown-link-hover-color: darken($gray-dark, 5%) !default; -//$dropdown-link-hover-bg: #f5f5f5 !default; -// -//$dropdown-link-active-color: $component-active-color !default; -//$dropdown-link-active-bg: $component-active-bg !default; -// -//$dropdown-link-disabled-color: $gray-light !default; -// -//$dropdown-header-color: $gray-light !default; diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_forms.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_forms.scss deleted file mode 100644 index 425008e..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_forms.scss +++ /dev/null @@ -1,47 +0,0 @@ -// Forms - -// -$input-bg: rgba($black, 0) !default; // #fff !default; -$input-bg-disabled: rgba($black, 0) !default; // $gray-lighter !default; -// -//$input-color: $gray !default; -$input-border-color: $gray-light !default; // #ccc !default; -//$input-btn-border-width: $border-width !default; // For form controls and buttons -$input-box-shadow: none !default; //inset 0 1px 1px rgba(0,0,0,.075) !default; -// -$input-border-radius: 0 !default; // $border-radius !default; -//$input-border-radius-lg: $border-radius-lg !default; -//$input-border-radius-sm: $border-radius-sm !default; -// -//$input-border-focus: #66afe9 !default; -$input-box-shadow-focus: none !default; // rgba(102,175,233,.6) !default; -// -$input-color-placeholder: $bmd-label-color !default; // #999 !default; - - - -$input-padding-x: 0 !default; // .75rem !default; -$input-padding-y: .4375rem !default; // spec 8px // .375rem !default; - -$input-padding-x-sm: 0 !default; // .75rem !default; -$input-padding-y-sm: .25rem !default; // spec 4px //.275rem !default; - -$input-padding-x-lg: 0 !default; // 1.25rem !default; -$input-padding-y-lg: .5625rem !default; // no-spec 9px // .75rem !default; - -//$input-height: (($font-size-base * $line-height-base) + ($input-padding-y * 2)) !default; -//$input-height-lg: (($font-size-lg * $line-height-lg) + ($input-padding-y-lg * 2)) !default; -//$input-height-sm: (($font-size-sm * $line-height-sm) + ($input-padding-y-sm * 2)) !default; -// -//$form-group-margin-bottom: $spacer-y !default; -// -$input-group-addon-bg: transparent !default; //$gray-lighter !default; -$input-group-addon-border-color: transparent !default; //$input-border-color !default; -// -//$cursor-disabled: not-allowed !default; -// -//// Form validation icons -//$form-icon-success: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2MTIgNzkyIj48cGF0aCBmaWxsPSIjNWNiODVjIiBkPSJNMjMzLjggNjEwYy0xMy4zIDAtMjYtNi0zNC0xNi44TDkwLjUgNDQ4LjhDNzYuMyA0MzAgODAgNDAzLjMgOTguOCAzODljMTguOC0xNC4yIDQ1LjUtMTAuNCA1OS44IDguNGw3MiA5NUw0NTEuMyAyNDJjMTIuNS0yMCAzOC44LTI2LjIgNTguOC0xMy43IDIwIDEyLjQgMjYgMzguNyAxMy43IDU4LjhMMjcwIDU5MGMtNy40IDEyLTIwLjIgMTkuNC0zNC4zIDIwaC0yeiIvPjwvc3ZnPg=="; -//$form-icon-warning: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2MTIgNzkyIj48cGF0aCBmaWxsPSIjZjBhZDRlIiBkPSJNNjAzIDY0MC4ybC0yNzguNS01MDljLTMuOC02LjYtMTAuOC0xMC42LTE4LjUtMTAuNnMtMTQuNyA0LTE4LjUgMTAuNkw5IDY0MC4yYy0zLjcgNi41LTMuNiAxNC40LjIgMjAuOCAzLjggNi41IDEwLjggMTAuNCAxOC4zIDEwLjRoNTU3YzcuNiAwIDE0LjYtNCAxOC40LTEwLjQgMy41LTYuNCAzLjYtMTQuNCAwLTIwLjh6bS0yNjYuNC0zMGgtNjEuMlY1NDloNjEuMnY2MS4yem0wLTEwN2gtNjEuMlYzMDRoNjEuMnYxOTl6Ii8+PC9zdmc+"; -//$form-icon-danger: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2MTIgNzkyIj48cGF0aCBmaWxsPSIjZDk1MzRmIiBkPSJNNDQ3IDU0NC40Yy0xNC40IDE0LjQtMzcuNiAxNC40LTUyIDBsLTg5LTkyLjctODkgOTIuN2MtMTQuNSAxNC40LTM3LjcgMTQuNC01MiAwLTE0LjQtMTQuNC0xNC40LTM3LjYgMC01Mmw5Mi40LTk2LjMtOTIuNC05Ni4zYy0xNC40LTE0LjQtMTQuNC0zNy42IDAtNTJzMzcuNi0xNC4zIDUyIDBsODkgOTIuOCA4OS4yLTkyLjdjMTQuNC0xNC40IDM3LjYtMTQuNCA1MiAwIDE0LjMgMTQuNCAxNC4zIDM3LjYgMCA1MkwzNTQuNiAzOTZsOTIuNCA5Ni40YzE0LjQgMTQuNCAxNC40IDM3LjYgMCA1MnoiLz48L3N2Zz4="; - diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_list-group.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_list-group.scss deleted file mode 100644 index b8e1ed8..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_list-group.scss +++ /dev/null @@ -1,21 +0,0 @@ -// List group - -$list-group-bg: inherit !default; // #fff -//$list-group-border-color: #ddd !default; -$list-group-border-width: 0 !default; // $border-width -$list-group-border-radius: 0 !default; // $border-radius -// -//$list-group-hover-bg: #f5f5f5 !default; -//$list-group-active-color: $component-active-color !default; -//$list-group-active-bg: $component-active-bg !default; -//$list-group-active-border: $list-group-active-bg !default; -//$list-group-active-text-color: lighten($list-group-active-bg, 40%) !default; -// -//$list-group-disabled-color: $gray-light !default; -//$list-group-disabled-bg: $gray-lighter !default; -//$list-group-disabled-text-color: $list-group-disabled-color !default; -// -//$list-group-link-color: #555 !default; -//$list-group-link-hover-color: $list-group-link-color !default; -//$list-group-link-heading-color: #333 !default; - diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_modals.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_modals.scss deleted file mode 100644 index 6585799..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_modals.scss +++ /dev/null @@ -1,20 +0,0 @@ -// Modals -$modal-content-xs-box-shadow: $bmd-shadow-24dp !default; - -// Padding applied to the modal body -//$modal-inner-padding: 15px !default; -// -//$modal-title-padding: 15px !default; -//$modal-title-line-height: $line-height-base !default; -// -//$modal-content-bg: #fff !default; -//$modal-content-border-color: rgba(0,0,0,.2) !default; -// -//$modal-backdrop-bg: #000 !default; -$modal-backdrop-opacity: .26 !default; // .5 -//$modal-header-border-color: #e5e5e5 !default; -//$modal-footer-border-color: $modal-header-border-color !default; -// -//$modal-lg: 900px !default; -//$modal-md: 600px !default; -//$modal-sm: 300px !default; diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_nav.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_nav.scss deleted file mode 100644 index 3334006..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_nav.scss +++ /dev/null @@ -1,62 +0,0 @@ -// Navs https://www.google.com/design/spec/components/tabs.html#tabs-specs - -$nav-disabled-link-color: $gray-light !default; -$nav-disabled-link-hover-color: $gray-light !default; - -$bmd-navbar-link-font-weight: $bmd-font-weight-base !default; // -$bmd-navbar-link-font-size: .875rem !default; // 14 -$bmd-navbar-link-padding: .5321rem; // 7 - - -// tabs & pills -$bmd-nav-tabs-pills-font-weight: 500 !default; // -$bmd-nav-tabs-pills-font-size: .875rem !default; // 14 -$bmd-nav-tabs-pills-link-padding: 1.4286em .8575em !default; // spec // was .5em 1em // relative em based on 14 - -// tabs only -$bmd-nav-tabs-border-size: .214rem !default; // 3px - -$bmd-nav-tabs-color: $gray !default; -$bmd-nav-tabs-active-color: $gray-dark !default; -$bmd-nav-tabs-active-border-color: $brand-primary !default; -$bmd-nav-tabs-disabled-link-color: $nav-disabled-link-color !default; -$bmd-nav-tabs-disabled-link-color-hover: $nav-disabled-link-hover-color !default; - -$bmd-nav-tabs-primary-color: $bmd-inverse !default; -$bmd-nav-tabs-primary-active-color: #fff !default; -$bmd-nav-tabs-primary-active-border-color: #fff !default; -$bmd-nav-tabs-primary-disabled-link-color: $bmd-inverse-light !default; -$bmd-nav-tabs-primary-disabled-link-color-hover: $bmd-inverse-light !default; - -$bmd-nav-tabs-inverse-color: $bmd-inverse !default; -$bmd-nav-tabs-inverse-active-color: #fff !default; -$bmd-nav-tabs-inverse-active-border-color: #fff !default; -$bmd-nav-tabs-inverse-disabled-link-color: $bmd-inverse-light !default; -$bmd-nav-tabs-inverse-disabled-link-color-hover: $bmd-inverse-light !default; - - -//$nav-item-margin: .2rem !default; - - - -//$bmd-nav-link-line-height: 1 !default; // makes it easier to line up with the spec -//$nav-link-padding: .5em 1em !default; // changing this for tabs alters generic navbars, so do it elsewhere with higher specificity -//$nav-link-hover-bg: $gray-lighter !default; - - -// -//$nav-tabs-border-color: #ddd !default; -// -//$nav-tabs-link-border-width: $border-width !default; -//$nav-tabs-link-hover-border-color: $gray-lighter !default; -// -$nav-tabs-active-link-hover-bg: transparent !default; // $body-bg -//$nav-tabs-active-link-hover-color: $gray !default; -//$nav-tabs-active-link-hover-border-color: #ddd !default; -// -//$nav-tabs-justified-link-border-color: #ddd !default; -//$nav-tabs-justified-active-link-border-color: $body-bg !default; -// -//$nav-pills-border-radius: $border-radius !default; -//$nav-pills-active-link-hover-bg: $component-active-bg !default; -//$nav-pills-active-link-hover-color: $component-active-color !default; diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_pagination.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_pagination.scss deleted file mode 100644 index e55ec27..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_pagination.scss +++ /dev/null @@ -1,6 +0,0 @@ -$pagination-border-width: 0; -$pagination-bg: transparent; -$pagination-disabled-bg: transparent; - -$pagination-padding-x-lg: 0; -$pagination-padding-x-sm: 0; diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_spacing.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_spacing.scss deleted file mode 100644 index 4032860..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_spacing.scss +++ /dev/null @@ -1,26 +0,0 @@ -// Spacing -// -// Control the default styling of most Bootstrap elements by modifying these -// variables. Mostly focused on spacing. - -$spacer: .5rem !default; // 1rem !default; // $form-group-margin-bottom uses $spacer-y. Decided to try this globally and see how it works out. -//$spacer-x: $spacer !default; -//$spacer-y: $spacer !default; -//$spacers: ( -// 0: ( -// x: 0, -// y: 0 -// ), -// 1: ( -// x: $spacer-x, -// y: $spacer-y -// ), -// 2: ( -// x: ($spacer-x * 1.5), -// y: ($spacer-y * 1.5) -// ), -// 3: ( -// x: ($spacer-x * 3), -// y: ($spacer-y * 3) -// ) -//) !default; diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_state.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_state.scss deleted file mode 100644 index 0037a2b..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_state.scss +++ /dev/null @@ -1,15 +0,0 @@ -// Form states and alerts -// -// Define colors for form feedback states and, by default, alerts. -$state-success-text: $bmd-inverse !default; -$state-success-bg: $brand-success !default; - -$state-info-text: $bmd-inverse !default; -$state-info-bg: $brand-info !default; - -$state-warning-text: $bmd-inverse !default; -$state-warning-bg: $brand-warning !default; - -$state-danger-text: $bmd-inverse !default; -$state-danger-bg: $brand-danger !default; - diff --git a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_type.scss b/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_type.scss deleted file mode 100644 index 22b2289..0000000 --- a/minionlivesmatter/templates/assets/bootstrap-material-design/scss/variables/bootstrap/_type.scss +++ /dev/null @@ -1,66 +0,0 @@ -// Typography -// -// Font, line-height, and color for body text, headings, and more. - -// https://www.google.com/design/spec/style/typography.html#typography-styles -// http://www.getmdl.io/styles/index.html - -$font-family-sans-serif: 'Roboto', 'Helvetica', 'Arial', sans-serif !default; -//$font-family-serif: Georgia, "Times New Roman", Times, serif !default; -//$font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace !default; -//$font-family-base: $font-family-sans-serif !default; - -// Pixel value used to responsively scale all typography. Applied to the `<html>` element. -//$font-size-root: 16px !default; -// -//$font-size-base: 1rem !default; -//$font-size-lg: 1.25rem !default; -//$font-size-sm: .875rem !default; -//$font-size-xs: .75rem !default; -// -//$font-size-h1: 2.5rem !default; -//$font-size-h2: 2rem !default; -//$font-size-h3: 1.75rem !default; -//$font-size-h4: 1.5rem !default; -//$font-size-h5: 1.25rem !default; -//$font-size-h6: 1rem !default; -// -$display1-size: 7rem !default; // md display-4 112px was 6rem; -$display2-size: 3.5rem !default; // md display-3 56px was 5.5rem -$display3-size: 2.8125rem !default; // md display-2 45px was 4.5rem -$display4-size: 2.125rem !default; // md display-1 34px was 3.5rem -// -//$display1-weight: 300 !default; -//$display2-weight: 300 !default; -//$display3-weight: 300 !default; -//$display4-weight: 300 !default; -// -//$line-height-base: 1.5 !default; -// -//$headings-margin-bottom: ($spacer / 2) !default; -//$headings-font-family: inherit !default; -$headings-font-weight: 400 !default; // was 500 -//$headings-line-height: 1.1 !default; -//$headings-color: inherit !default; -// -//$lead-font-size: 1.25rem !default; -//$lead-font-weight: 300 !default; -// -//$text-muted: $gray-light !default; -// -//$abbr-border-color: $gray-light !default; -// -//$blockquote-small-color: $gray-light !default; -//$blockquote-font-size: ($font-size-base * 1.25) !default; -//$blockquote-border-color: $gray-lighter !default; -// -//$hr-border-color: rgba(0,0,0,.1) !default; -//$hr-border-width: $border-width !default; -// -//$list-inline-padding: 5px !default; -// -//$dt-font-weight: bold !default; -// -//$nested-kbd-font-weight: bold !default; - - diff --git a/minionlivesmatter/templates/assets/bootstrap/.bower.json b/minionlivesmatter/templates/assets/bootstrap/.bower.json deleted file mode 100644 index 06b071c..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/.bower.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "name": "bootstrap", - "description": "The most popular front-end framework for developing responsive, mobile first projects on the web.", - "keywords": [ - "css", - "js", - "sass", - "mobile-first", - "responsive", - "front-end", - "framework", - "web" - ], - "homepage": "https://getbootstrap.com", - "license": "MIT", - "moduleType": "globals", - "main": [ - "scss/bootstrap.scss", - "dist/js/bootstrap.js" - ], - "ignore": [ - "/.*", - "_config.yml", - "CNAME", - "composer.json", - "CONTRIBUTING.md", - "docs", - "js/tests", - "test-infra" - ], - "dependencies": { - "jquery": ">=1.9.1", - "tether": "^1.4.0" - }, - "_release": "78fc4d23fc", - "_resolution": { - "type": "branch", - "branch": "v4-dev", - "commit": "78fc4d23fcefe31397444b75f43728c38e13c590" - }, - "_source": "https://github.com/twbs/bootstrap.git", - "_target": "v4-dev", - "_originalSource": "bootstrap" -}
\ No newline at end of file diff --git a/minionlivesmatter/templates/assets/bootstrap/CHANGELOG.md b/minionlivesmatter/templates/assets/bootstrap/CHANGELOG.md deleted file mode 100644 index 7b60d7c..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/CHANGELOG.md +++ /dev/null @@ -1,5 +0,0 @@ -Bootstrap uses [GitHub's Releases feature](https://github.com/blog/1547-release-your-software) for its changelogs. - -See [the Releases section of our GitHub project](https://github.com/twbs/bootstrap/releases) for changelogs for each release version of Bootstrap. - -Release announcement posts on [the official Bootstrap blog](https://blog.getbootstrap.com) contain summaries of the most noteworthy changes made in each release. diff --git a/minionlivesmatter/templates/assets/bootstrap/Gemfile b/minionlivesmatter/templates/assets/bootstrap/Gemfile deleted file mode 100644 index 958c7a9..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/Gemfile +++ /dev/null @@ -1,8 +0,0 @@ -source 'https://rubygems.org' - -group :development, :test do - gem 'jekyll', '~> 3.4.2' - gem 'jekyll-redirect-from', '~> 0.12.1' - gem 'jekyll-sitemap', '~> 1.0.0' - gem 'scss_lint', '~> 0.52.0' -end diff --git a/minionlivesmatter/templates/assets/bootstrap/Gemfile.lock b/minionlivesmatter/templates/assets/bootstrap/Gemfile.lock deleted file mode 100644 index 242ec49..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/Gemfile.lock +++ /dev/null @@ -1,58 +0,0 @@ -GEM - remote: https://rubygems.org/ - specs: - addressable (2.5.0) - public_suffix (~> 2.0, >= 2.0.2) - colorator (1.1.0) - ffi (1.9.18) - forwardable-extended (2.6.0) - jekyll (3.4.2) - addressable (~> 2.4) - colorator (~> 1.0) - jekyll-sass-converter (~> 1.0) - jekyll-watch (~> 1.1) - kramdown (~> 1.3) - liquid (~> 3.0) - mercenary (~> 0.3.3) - pathutil (~> 0.9) - rouge (~> 1.7) - safe_yaml (~> 1.0) - jekyll-redirect-from (0.12.1) - jekyll (~> 3.3) - jekyll-sass-converter (1.5.0) - sass (~> 3.4) - jekyll-sitemap (1.0.0) - jekyll (~> 3.3) - jekyll-watch (1.5.0) - listen (~> 3.0, < 3.1) - kramdown (1.13.2) - liquid (3.0.6) - listen (3.0.8) - rb-fsevent (~> 0.9, >= 0.9.4) - rb-inotify (~> 0.9, >= 0.9.7) - mercenary (0.3.6) - pathutil (0.14.0) - forwardable-extended (~> 2.6) - public_suffix (2.0.5) - rake (12.0.0) - rb-fsevent (0.9.8) - rb-inotify (0.9.8) - ffi (>= 0.5.0) - rouge (1.11.1) - safe_yaml (1.0.4) - sass (3.4.23) - scss_lint (0.52.0) - rake (>= 0.9, < 13) - sass (~> 3.4.20) - -PLATFORMS - ruby - -DEPENDENCIES - jekyll (~> 3.4.2) - jekyll-redirect-from (~> 0.12.1) - jekyll-sitemap (~> 1.0.0) - scss_lint (~> 0.52.0) - -BUNDLED WITH - 1.14.6 diff --git a/minionlivesmatter/templates/assets/bootstrap/Gruntfile.js b/minionlivesmatter/templates/assets/bootstrap/Gruntfile.js deleted file mode 100644 index 7675e2f..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/Gruntfile.js +++ /dev/null @@ -1,321 +0,0 @@ -/*! - * Bootstrap's Gruntfile - * https://getbootstrap.com - * Copyright 2013-2017 The Bootstrap Authors - * Copyright 2013-2017 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - */ - -module.exports = function (grunt) { - 'use strict' - - // Force use of Unix newlines - grunt.util.linefeed = '\n' - - RegExp.quote = function (string) { - return string.replace(/[-\\^$*+?.()|[\]{}]/g, '\\$&') - } - - var isTravis = require('is-travis') - - // Project configuration. - grunt.initConfig({ - - // Metadata. - pkg: grunt.file.readJSON('package.json'), - banner: '/*!\n' + - ' * Bootstrap v<%= pkg.version %> (<%= pkg.homepage %>)\n' + - ' * Copyright 2011-<%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' + - ' * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n' + - ' */\n', - jqueryCheck: 'if (typeof jQuery === \'undefined\') {\n' + - ' throw new Error(\'Bootstrap\\\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\\\'s JavaScript.\')\n' + - '}\n', - jqueryVersionCheck: '+function ($) {\n' + - ' var version = $.fn.jquery.split(\' \')[0].split(\'.\')\n' + - ' if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1) || (version[0] >= 4)) {\n' + - ' throw new Error(\'Bootstrap\\\'s JavaScript requires at least jQuery v1.9.1 but less than v4.0.0\')\n' + - ' }\n' + - '}(jQuery);\n\n', - - // Task configuration. - clean: { - dist: 'dist', - docs: 'docs/dist' - }, - - // JS build configuration - babel: { - dev: { - options: { - sourceMap: true - }, - files: { - 'js/dist/util.js' : 'js/src/util.js', - 'js/dist/alert.js' : 'js/src/alert.js', - 'js/dist/button.js' : 'js/src/button.js', - 'js/dist/carousel.js' : 'js/src/carousel.js', - 'js/dist/collapse.js' : 'js/src/collapse.js', - 'js/dist/dropdown.js' : 'js/src/dropdown.js', - 'js/dist/modal.js' : 'js/src/modal.js', - 'js/dist/scrollspy.js' : 'js/src/scrollspy.js', - 'js/dist/tab.js' : 'js/src/tab.js', - 'js/dist/tooltip.js' : 'js/src/tooltip.js', - 'js/dist/popover.js' : 'js/src/popover.js' - } - }, - dist: { - options: { - extends: '../../.babelrc' - }, - files: { - '<%= concat.bootstrap.dest %>' : '<%= concat.bootstrap.dest %>' - } - } - }, - - stamp: { - options: { - banner: '<%= banner %>\n<%= jqueryCheck %>\n<%= jqueryVersionCheck %>\n+function () {\n', - footer: '\n}();' - }, - bootstrap: { - files: { - src: '<%= concat.bootstrap.dest %>' - } - } - }, - - concat: { - options: { - // Custom function to remove all export and import statements - process: function (src) { - return src.replace(/^(export|import).*/gm, '') - } - }, - bootstrap: { - src: [ - '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/scrollspy.js', - 'js/src/tab.js', - 'js/src/tooltip.js', - 'js/src/popover.js' - ], - dest: 'dist/js/<%= pkg.name %>.js' - } - }, - - qunit: { - options: { - inject: 'js/tests/unit/phantom.js' - }, - files: 'js/tests/index.html' - }, - - // CSS build configuration - copy: { - docs: { - expand: true, - cwd: 'dist/', - src: [ - '**/*' - ], - dest: 'docs/dist/' - } - }, - - connect: { - server: { - options: { - port: 3000, - base: '.' - } - } - }, - - watch: { - src: { - files: '<%= concat.bootstrap.src %>', - tasks: ['babel:dev'] - }, - sass: { - files: 'scss/**/*.scss', - tasks: ['dist-css', 'docs'] - }, - docs: { - files: 'docs/assets/scss/**/*.scss', - tasks: ['dist-css', 'docs'] - } - }, - - 'saucelabs-qunit': { - all: { - options: { - build: process.env.TRAVIS_JOB_ID, - concurrency: 10, - maxRetries: 3, - maxPollRetries: 4, - urls: ['http://127.0.0.1:3000/js/tests/index.html?hidepassed'], - browsers: grunt.file.readYAML('grunt/sauce_browsers.yml') - } - } - }, - - exec: { - 'clean-css': { - command: 'npm run clean-css' - }, - 'clean-css-docs': { - command: 'npm run clean-css-docs' - }, - postcss: { - command: 'npm run postcss' - }, - 'postcss-docs': { - command: 'npm run postcss-docs' - }, - htmlhint: { - command: 'npm run htmlhint' - }, - htmllint: { - command: 'npm run htmllint' - }, - jekyll: { - command: 'npm run jekyll' - }, - 'jekyll-github': { - command: 'npm run jekyll-github' - }, - sass: { - command: 'npm run sass' - }, - 'sass-docs': { - command: 'npm run sass-docs' - }, - 'scss-lint': { - command: 'npm run scss-lint' - }, - 'scss-lint-docs': { - command: 'npm run scss-lint-docs' - }, - uglify: { - command: 'npm run uglify' - }, - 'uglify-docs': { - command: 'npm run uglify-docs' - } - }, - - buildcontrol: { - options: { - dir: '_gh_pages', - commit: true, - push: true, - message: 'Built %sourceName% from commit %sourceCommit% on branch %sourceBranch%' - }, - pages: { - options: { - remote: 'git@github.com:twbs/derpstrap.git', - branch: 'gh-pages' - } - } - }, - - compress: { - main: { - options: { - archive: 'bootstrap-<%= pkg.version %>-dist.zip', - mode: 'zip', - level: 9, - pretty: true - }, - files: [ - { - expand: true, - cwd: 'dist/', - src: ['**'], - dest: 'bootstrap-<%= pkg.version %>-dist' - } - ] - } - } - - }) - - - // These plugins provide necessary tasks. - require('load-grunt-tasks')(grunt) - require('time-grunt')(grunt) - - // Docs HTML validation task - grunt.registerTask('validate-html', ['exec:jekyll', 'exec:htmllint', 'exec:htmlhint']) - - var runSubset = function (subset) { - return !process.env.TWBS_TEST || process.env.TWBS_TEST === subset - } - var isUndefOrNonZero = function (val) { - return val === undefined || val !== '0' - } - - // Test task. - var testSubtasks = [] - // Skip core tests if running a different subset of the test suite - if (runSubset('core') && - // Skip core tests if this is a Savage build - process.env.TRAVIS_REPO_SLUG !== 'twbs-savage/bootstrap') { - testSubtasks = testSubtasks.concat(['dist-css', 'dist-js', 'test-scss', 'qunit', 'docs']) - } - // Skip HTML validation if running a different subset of the test suite - if (runSubset('validate-html') && - isTravis && - // Skip HTML5 validator when [skip validator] is in the commit message - isUndefOrNonZero(process.env.TWBS_DO_VALIDATOR)) { - testSubtasks.push('validate-html') - } - // Only run Sauce Labs tests if there's a Sauce access key - if (typeof process.env.SAUCE_ACCESS_KEY !== 'undefined' && - // Skip Sauce if running a different subset of the test suite - runSubset('sauce-js-unit')) { - testSubtasks = testSubtasks.concat(['dist', 'docs-css', 'docs-js', 'clean:docs', 'copy:docs']) - // Skip Sauce on Travis when [skip sauce] is in the commit message - if (isUndefOrNonZero(process.env.TWBS_DO_SAUCE)) { - testSubtasks.push('connect') - testSubtasks.push('saucelabs-qunit') - } - } - grunt.registerTask('test', testSubtasks) - - // JS distribution task. - grunt.registerTask('dist-js', ['babel:dev', 'concat', 'babel:dist', 'stamp', 'exec:uglify']) - - grunt.registerTask('test-scss', ['exec:scss-lint']) - - // CSS distribution task. - grunt.registerTask('sass-compile', ['exec:sass', 'exec:sass-docs']) - - grunt.registerTask('dist-css', ['sass-compile', 'exec:postcss', 'exec:clean-css', 'exec:clean-css-docs']) - - // Full distribution task. - grunt.registerTask('dist', ['clean:dist', 'dist-css', 'dist-js']) - - // Default task. - grunt.registerTask('default', ['clean:dist', 'test']) - - // Docs task. - grunt.registerTask('docs-css', ['exec:clean-css-docs', 'exec:postcss-docs']) - grunt.registerTask('lint-docs-css', ['exec:scss-lint-docs']) - grunt.registerTask('docs-js', ['exec:uglify-docs']) - grunt.registerTask('docs', ['lint-docs-css', 'docs-css', 'docs-js', 'clean:docs', 'copy:docs']) - grunt.registerTask('docs-github', ['exec:jekyll-github']) - - grunt.registerTask('prep-release', ['dist', 'docs', 'docs-github', 'compress']) - - // Publish to GitHub - grunt.registerTask('publish', ['buildcontrol:pages']) -} diff --git a/minionlivesmatter/templates/assets/bootstrap/ISSUE_TEMPLATE.md b/minionlivesmatter/templates/assets/bootstrap/ISSUE_TEMPLATE.md deleted file mode 100644 index d2a406f..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,22 +0,0 @@ -Before opening an issue: - -- [Search for duplicate or closed issues](https://github.com/twbs/bootstrap/issues?utf8=%E2%9C%93&q=is%3Aissue) -- [Validate](https://validator.w3.org/nu/) and [lint](https://github.com/twbs/bootlint#in-the-browser) any HTML to avoid common problems -- Prepare a [reduced test case](https://css-tricks.com/reduced-test-cases/) for any bugs -- Read the [contributing guidelines](https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md) - -When asking general "how to" questions: - -- Please do not open an issue here -- Instead, ask for help on [StackOverflow, IRC, or Slack](https://github.com/twbs/bootstrap/blob/master/README.md#community) - -When reporting a bug, include: - -- Operating system and version (Windows, Mac OS X, Android, iOS, Win10 Mobile) -- Browser and version (Chrome, Firefox, Safari, IE, MS Edge, Opera 15+, Android Browser) -- Reduced test cases and potential fixes using [JS Bin](https://jsbin.com) - -When suggesting a feature, include: - -- As much detail as possible for what we should add and why it's important to Bootstrap -- Relevant links to prior art, screenshots, or live demos whenever possible diff --git a/minionlivesmatter/templates/assets/bootstrap/LICENSE b/minionlivesmatter/templates/assets/bootstrap/LICENSE deleted file mode 100644 index 1381cb2..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2011-2017 Twitter, Inc. -Copyright (c) 2011-2017 The Bootstrap Authors - -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. diff --git a/minionlivesmatter/templates/assets/bootstrap/README.md b/minionlivesmatter/templates/assets/bootstrap/README.md deleted file mode 100644 index 7028798..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/README.md +++ /dev/null @@ -1,149 +0,0 @@ -<p align="center"> - <a href="https://v4-alpha.getbootstrap.com"> - <img src="http://v4-alpha.getbootstrap.com/assets/brand/bootstrap-solid.svg" width=72 height=72> - </a> - - <h3 align="center">Bootstrap</h3> - - <p align="center"> - Sleek, intuitive, and powerful front-end framework for faster and easier web development. - <br> - <a href="https://v4-alpha.getbootstrap.com"><strong>Visit Bootstrap »</strong></a> - </p> -</p> - -<br> - -## Table of contents - -- [Quick start](#quick-start) -- [Status](#status) -- [What's included](#whats-included) -- [Bugs and feature requests](#bugs-and-feature-requests) -- [Documentation](#documentation) -- [Contributing](#contributing) -- [Community](#community) -- [Versioning](#versioning) -- [Creators](#creators) -- [Copyright and license](#copyright-and-license) - -## Quick start - -Several quick start options are available: - -- [Download the latest release.](https://github.com/twbs/bootstrap/archive/v4.0.0-alpha.6.zip) -- Clone the repo: `git clone https://github.com/twbs/bootstrap.git` -- Install with [npm](https://www.npmjs.com): `npm install bootstrap@4.0.0-alpha.6` -- Install with [yarn](https://github.com/yarnpkg/yarn): `yarn add bootstrap@4.0.0-alpha.6` -- Install with [Composer](https://getcomposer.org): `composer require twbs/bootstrap:4.0.0-alpha.6` -- Install with [Bower](https://bower.io): `bower install bootstrap#v4.0.0-alpha.6` -- Install with [NuGet](https://www.nuget.org): CSS: `Install-Package bootstrap -Pre` Sass: `Install-Package bootstrap.sass -Pre` (`-Pre` is only required until Bootstrap v4 has a stable release). - -Read the [Getting started page](https://getbootstrap.com/getting-started/) for information on the framework contents, templates and examples, and more. - -## Status - -[](https://bootstrap-slack.herokuapp.com) - -[](https://www.npmjs.com/package/bootstrap) -[](https://rubygems.org/gems/bootstrap) -[](https://travis-ci.org/twbs/bootstrap) -[](https://david-dm.org/twbs/bootstrap?type=dev) -[](https://atmospherejs.com/twbs/bootstrap) -[](https://packagist.org/packages/twbs/bootstrap) -[](https://www.nuget.org/packages/bootstrap/4.0.0-alpha5) - -[](https://saucelabs.com/u/bootstrap) - -## What's included - -Within the download you'll find the following directories and files, logically grouping common assets and providing both compiled and minified variations. You'll see something like this: - -``` -bootstrap/ -├── css/ -│ ├── bootstrap.css -│ ├── bootstrap.css.map -│ ├── bootstrap.min.css -│ └── bootstrap.min.css.map -└── js/ - ├── bootstrap.js - └── bootstrap.min.js -``` - -We provide compiled CSS and JS (`bootstrap.*`), as well as compiled and minified CSS and JS (`bootstrap.min.*`). CSS [source maps](https://developers.google.com/web/tools/chrome-devtools/debug/readability/source-maps) (`bootstrap.*.map`) are available for use with certain browsers' developer tools. - - -## Bugs and feature requests - -Have a bug or a feature request? Please first read the [issue guidelines](https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md#using-the-issue-tracker) and search for existing and closed issues. If your problem or idea is not addressed yet, [please open a new issue](https://github.com/twbs/bootstrap/issues/new). - - -## Documentation - -Bootstrap's documentation, included in this repo in the root directory, is built with [Jekyll](https://jekyllrb.com) and publicly hosted on GitHub Pages at <https://getbootstrap.com>. The docs may also be run locally. - -### Running documentation locally - -1. Run through the [tooling setup](https://github.com/twbs/bootstrap/blob/v4-dev/docs/getting-started/build-tools.md#tooling-setup) to install Jekyll (the site builder) and other Ruby dependencies with `bundle install`. -2. Run `grunt` (or a specific set of Grunt tasks) to rebuild distributed CSS and JavaScript files, as well as our docs assets. -3. From the root `/bootstrap` directory, run `bundle exec jekyll serve` in the command line. -4. Open <http://localhost:9001> in your browser, and voilà. - -Learn more about using Jekyll by reading its [documentation](https://jekyllrb.com/docs/home/). - -### Documentation for previous releases - -Documentation for v2.3.2 has been made available for the time being at <https://getbootstrap.com/2.3.2/> while folks transition to Bootstrap 3. - -[Previous releases](https://github.com/twbs/bootstrap/releases) and their documentation are also available for download. - - - -## Contributing - -Please read through our [contributing guidelines](https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md). Included are directions for opening issues, coding standards, and notes on development. - -Moreover, if your pull request contains JavaScript patches or features, you must include [relevant unit tests](https://github.com/twbs/bootstrap/tree/master/js/tests). All HTML and CSS should conform to the [Code Guide](https://github.com/mdo/code-guide), maintained by [Mark Otto](https://github.com/mdo). - -Editor preferences are available in the [editor config](https://github.com/twbs/bootstrap/blob/master/.editorconfig) for easy use in common text editors. Read more and download plugins at <http://editorconfig.org>. - - - -## Community - -Get updates on Bootstrap's development and chat with the project maintainers and community members. - -- Follow [@getbootstrap on Twitter](https://twitter.com/getbootstrap). -- Read and subscribe to [The Official Bootstrap Blog](https://blog.getbootstrap.com). -- Join [the official Slack room](https://bootstrap-slack.herokuapp.com). -- Chat with fellow Bootstrappers in IRC. On the `irc.freenode.net` server, in the `##bootstrap` channel. -- Implementation help may be found at Stack Overflow (tagged [`bootstrap-4`](https://stackoverflow.com/questions/tagged/bootstrap-4)). -- Developers should use the keyword `bootstrap` on packages which modify or add to the functionality of Bootstrap when distributing through [npm](https://www.npmjs.com/browse/keyword/bootstrap) or similar delivery mechanisms for maximum discoverability. - - - -## Versioning - -For transparency into our release cycle and in striving to maintain backward compatibility, Bootstrap is maintained under [the Semantic Versioning guidelines](http://semver.org/). Sometimes we screw up, but we'll adhere to those rules whenever possible. - -See [the Releases section of our GitHub project](https://github.com/twbs/bootstrap/releases) for changelogs for each release version of Bootstrap. Release announcement posts on [the official Bootstrap blog](https://blog.getbootstrap.com) contain summaries of the most noteworthy changes made in each release. - - -## Creators - -**Mark Otto** - -- <https://twitter.com/mdo> -- <https://github.com/mdo> - -**Jacob Thornton** - -- <https://twitter.com/fat> -- <https://github.com/fat> - - - -## Copyright and license - -Code and documentation copyright 2011-2017 the [Bootstrap Authors](https://github.com/twbs/bootstrap/graphs/contributors) and [Twitter, Inc.](https://twitter.com) Code released under the [MIT License](https://github.com/twbs/bootstrap/blob/master/LICENSE). Docs released under [Creative Commons](https://github.com/twbs/bootstrap/blob/master/docs/LICENSE). diff --git a/minionlivesmatter/templates/assets/bootstrap/bower.json b/minionlivesmatter/templates/assets/bootstrap/bower.json deleted file mode 100644 index 5107709..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/bower.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "bootstrap", - "description": "The most popular front-end framework for developing responsive, mobile first projects on the web.", - "keywords": [ - "css", - "js", - "sass", - "mobile-first", - "responsive", - "front-end", - "framework", - "web" - ], - "homepage": "https://getbootstrap.com", - "license": "MIT", - "moduleType": "globals", - "main": [ - "scss/bootstrap.scss", - "dist/js/bootstrap.js" - ], - "ignore": [ - "/.*", - "_config.yml", - "CNAME", - "composer.json", - "CONTRIBUTING.md", - "docs", - "js/tests", - "test-infra" - ], - "dependencies": { - "jquery": ">=1.9.1", - "tether": "^1.4.0" - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/grunt/change-version.js b/minionlivesmatter/templates/assets/bootstrap/grunt/change-version.js deleted file mode 100755 index 5ea5918..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/grunt/change-version.js +++ /dev/null @@ -1,110 +0,0 @@ -#!/usr/bin/env node - -'use strict' - -/*! - * Script to update version number references in the project. - * Copyright 2017 The Bootstrap Authors - * Copyright 2017 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - */ - -/* global Set */ - -var fs = require('fs') -var path = require('path') -var sh = require('shelljs') -sh.config.fatal = true -var sed = sh.sed - -// Blame TC39... https://github.com/benjamingr/RegExp.escape/issues/37 -RegExp.quote = function (string) { - return string.replace(/[-\\^$*+?.()|[\]{}]/g, '\\$&') -} -RegExp.quoteReplacement = function (string) { - return string.replace(/[$]/g, '$$') -} - -var DRY_RUN = false - -function walkAsync(directory, excludedDirectories, fileCallback, errback) { - if (excludedDirectories.has(path.parse(directory).base)) { - return - } - fs.readdir(directory, function (err, names) { - if (err) { - errback(err) - return - } - names.forEach(function (name) { - var filepath = path.join(directory, name) - fs.lstat(filepath, function (err, stats) { - if (err) { - process.nextTick(errback, err) - return - } - if (stats.isSymbolicLink()) { - return - } - else if (stats.isDirectory()) { - process.nextTick(walkAsync, filepath, excludedDirectories, fileCallback, errback) - } - else if (stats.isFile()) { - process.nextTick(fileCallback, filepath) - } - }) - }) - }) -} - -function replaceRecursively(directory, excludedDirectories, allowedExtensions, original, replacement) { - original = new RegExp(RegExp.quote(original), 'g') - replacement = RegExp.quoteReplacement(replacement) - var updateFile = !DRY_RUN ? function (filepath) { - if (allowedExtensions.has(path.parse(filepath).ext)) { - sed('-i', original, replacement, filepath) - } - } : function (filepath) { - if (allowedExtensions.has(path.parse(filepath).ext)) { - console.log('FILE: ' + filepath) - } - else { - console.log('EXCLUDED:' + filepath) - } - } - walkAsync(directory, excludedDirectories, updateFile, function (err) { - console.error('ERROR while traversing directory!:') - console.error(err) - process.exit(1) - }) -} - -function main(args) { - if (args.length !== 2) { - console.error('USAGE: change-version old_version new_version') - console.error('Got arguments:', args) - process.exit(1) - } - var oldVersion = args[0] - var newVersion = args[1] - var EXCLUDED_DIRS = new Set([ - '.git', - 'node_modules', - 'vendor' - ]) - var INCLUDED_EXTENSIONS = new Set([ - // This extension whitelist is how we avoid modifying binary files - '', - '.css', - '.html', - '.js', - '.json', - '.md', - '.scss', - '.txt', - '.yml' - ]) - replaceRecursively('.', EXCLUDED_DIRS, INCLUDED_EXTENSIONS, oldVersion, newVersion) -} - -main(process.argv.slice(2)) diff --git a/minionlivesmatter/templates/assets/bootstrap/grunt/gcp-key.json.enc b/minionlivesmatter/templates/assets/bootstrap/grunt/gcp-key.json.enc Binary files differdeleted file mode 100644 index 6e1856a..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/grunt/gcp-key.json.enc +++ /dev/null diff --git a/minionlivesmatter/templates/assets/bootstrap/grunt/npm-shrinkwrap.json b/minionlivesmatter/templates/assets/bootstrap/grunt/npm-shrinkwrap.json deleted file mode 100644 index f35e330..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/grunt/npm-shrinkwrap.json +++ /dev/null @@ -1,4164 +0,0 @@ -{ - "name": "bootstrap", - "version": "4.0.0-alpha.6", - "dependencies": { - "abbrev": { - "version": "1.1.0", - "from": "abbrev@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.0.tgz", - "dev": true - }, - "accepts": { - "version": "1.3.3", - "from": "accepts@>=1.3.3 <1.4.0", - "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.3.tgz", - "dev": true - }, - "acorn": { - "version": "4.0.4", - "from": "acorn@4.0.4", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-4.0.4.tgz", - "dev": true - }, - "acorn-jsx": { - "version": "3.0.1", - "from": "acorn-jsx@>=3.0.0 <4.0.0", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-3.0.1.tgz", - "dev": true, - "dependencies": { - "acorn": { - "version": "3.3.0", - "from": "acorn@>=3.0.4 <4.0.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-3.3.0.tgz", - "dev": true - } - } - }, - "agent-base": { - "version": "2.0.1", - "from": "agent-base@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-2.0.1.tgz", - "dev": true, - "dependencies": { - "semver": { - "version": "5.0.3", - "from": "semver@>=5.0.1 <5.1.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.0.3.tgz", - "dev": true - } - } - }, - "ajv": { - "version": "4.11.5", - "from": "ajv@>=4.7.0 <5.0.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-4.11.5.tgz", - "dev": true - }, - "ajv-keywords": { - "version": "1.5.1", - "from": "ajv-keywords@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-1.5.1.tgz", - "dev": true - }, - "align-text": { - "version": "0.1.4", - "from": "align-text@>=0.1.3 <0.2.0", - "resolved": "https://registry.npmjs.org/align-text/-/align-text-0.1.4.tgz", - "dev": true - }, - "ansi-escapes": { - "version": "1.4.0", - "from": "ansi-escapes@>=1.1.0 <2.0.0", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-1.4.0.tgz", - "dev": true - }, - "ansi-regex": { - "version": "2.1.1", - "from": "ansi-regex@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "dev": true - }, - "ansi-styles": { - "version": "2.2.1", - "from": "ansi-styles@>=2.2.1 <3.0.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "dev": true - }, - "any-promise": { - "version": "1.3.0", - "from": "any-promise@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", - "dev": true - }, - "anymatch": { - "version": "1.3.0", - "from": "anymatch@>=1.3.0 <2.0.0", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-1.3.0.tgz", - "dev": true - }, - "aproba": { - "version": "1.1.1", - "from": "aproba@>=1.0.3 <2.0.0", - "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.1.1.tgz", - "dev": true - }, - "archiver": { - "version": "1.3.0", - "from": "archiver@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/archiver/-/archiver-1.3.0.tgz", - "dev": true, - "dependencies": { - "async": { - "version": "2.1.5", - "from": "async@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/async/-/async-2.1.5.tgz", - "dev": true - } - } - }, - "archiver-utils": { - "version": "1.3.0", - "from": "archiver-utils@>=1.3.0 <2.0.0", - "resolved": "https://registry.npmjs.org/archiver-utils/-/archiver-utils-1.3.0.tgz", - "dev": true - }, - "are-we-there-yet": { - "version": "1.1.2", - "from": "are-we-there-yet@>=1.1.2 <1.2.0", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.2.tgz", - "dev": true - }, - "argparse": { - "version": "1.0.9", - "from": "argparse@>=1.0.7 <2.0.0", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.9.tgz", - "dev": true - }, - "arr-diff": { - "version": "2.0.0", - "from": "arr-diff@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz", - "dev": true - }, - "arr-flatten": { - "version": "1.0.1", - "from": "arr-flatten@>=1.0.1 <2.0.0", - "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.0.1.tgz", - "dev": true - }, - "array-differ": { - "version": "1.0.0", - "from": "array-differ@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/array-differ/-/array-differ-1.0.0.tgz", - "dev": true - }, - "array-find-index": { - "version": "1.0.2", - "from": "array-find-index@>=1.0.1 <2.0.0", - "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", - "dev": true - }, - "array-union": { - "version": "1.0.2", - "from": "array-union@>=1.0.1 <2.0.0", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", - "dev": true - }, - "array-uniq": { - "version": "1.0.3", - "from": "array-uniq@>=1.0.1 <2.0.0", - "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", - "dev": true - }, - "array-unique": { - "version": "0.2.1", - "from": "array-unique@>=0.2.1 <0.3.0", - "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz", - "dev": true - }, - "arrify": { - "version": "1.0.1", - "from": "arrify@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", - "dev": true - }, - "asap": { - "version": "2.0.5", - "from": "asap@>=2.0.3 <2.1.0", - "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.5.tgz", - "dev": true - }, - "asn1": { - "version": "0.2.3", - "from": "asn1@>=0.2.3 <0.3.0", - "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz", - "dev": true - }, - "assert-plus": { - "version": "0.2.0", - "from": "assert-plus@>=0.2.0 <0.3.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-0.2.0.tgz", - "dev": true - }, - "async": { - "version": "1.5.2", - "from": "async@>=1.5.2 <1.6.0", - "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", - "dev": true - }, - "async-each": { - "version": "1.0.1", - "from": "async-each@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.1.tgz", - "dev": true - }, - "async-foreach": { - "version": "0.1.3", - "from": "async-foreach@>=0.1.3 <0.2.0", - "resolved": "https://registry.npmjs.org/async-foreach/-/async-foreach-0.1.3.tgz", - "dev": true - }, - "asynckit": { - "version": "0.4.0", - "from": "asynckit@>=0.4.0 <0.5.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "dev": true - }, - "autoprefixer": { - "version": "6.7.7", - "from": "autoprefixer@>=6.7.7 <7.0.0", - "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-6.7.7.tgz", - "dev": true - }, - "aws-sign2": { - "version": "0.6.0", - "from": "aws-sign2@>=0.6.0 <0.7.0", - "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.6.0.tgz", - "dev": true - }, - "aws4": { - "version": "1.6.0", - "from": "aws4@>=1.2.1 <2.0.0", - "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.6.0.tgz", - "dev": true - }, - "babel-code-frame": { - "version": "6.22.0", - "from": "babel-code-frame@>=6.16.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.22.0.tgz", - "dev": true - }, - "babel-core": { - "version": "6.24.0", - "from": "babel-core@>=6.0.12 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-core/-/babel-core-6.24.0.tgz", - "dev": true - }, - "babel-eslint": { - "version": "7.1.1", - "from": "babel-eslint@>=7.1.1 <8.0.0", - "resolved": "https://registry.npmjs.org/babel-eslint/-/babel-eslint-7.1.1.tgz", - "dev": true - }, - "babel-generator": { - "version": "6.24.0", - "from": "babel-generator@>=6.24.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.24.0.tgz", - "dev": true, - "dependencies": { - "jsesc": { - "version": "1.3.0", - "from": "jsesc@>=1.3.0 <2.0.0", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz", - "dev": true - } - } - }, - "babel-helper-call-delegate": { - "version": "6.22.0", - "from": "babel-helper-call-delegate@>=6.22.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-helper-call-delegate/-/babel-helper-call-delegate-6.22.0.tgz", - "dev": true - }, - "babel-helper-define-map": { - "version": "6.23.0", - "from": "babel-helper-define-map@>=6.23.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-helper-define-map/-/babel-helper-define-map-6.23.0.tgz", - "dev": true - }, - "babel-helper-function-name": { - "version": "6.23.0", - "from": "babel-helper-function-name@>=6.23.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-helper-function-name/-/babel-helper-function-name-6.23.0.tgz", - "dev": true - }, - "babel-helper-get-function-arity": { - "version": "6.22.0", - "from": "babel-helper-get-function-arity@>=6.22.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.22.0.tgz", - "dev": true - }, - "babel-helper-hoist-variables": { - "version": "6.22.0", - "from": "babel-helper-hoist-variables@>=6.22.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.22.0.tgz", - "dev": true - }, - "babel-helper-optimise-call-expression": { - "version": "6.23.0", - "from": "babel-helper-optimise-call-expression@>=6.23.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-helper-optimise-call-expression/-/babel-helper-optimise-call-expression-6.23.0.tgz", - "dev": true - }, - "babel-helper-regex": { - "version": "6.22.0", - "from": "babel-helper-regex@>=6.22.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-helper-regex/-/babel-helper-regex-6.22.0.tgz", - "dev": true - }, - "babel-helper-replace-supers": { - "version": "6.23.0", - "from": "babel-helper-replace-supers@>=6.23.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-helper-replace-supers/-/babel-helper-replace-supers-6.23.0.tgz", - "dev": true - }, - "babel-helpers": { - "version": "6.23.0", - "from": "babel-helpers@>=6.23.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.23.0.tgz", - "dev": true - }, - "babel-messages": { - "version": "6.23.0", - "from": "babel-messages@>=6.23.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz", - "dev": true - }, - "babel-plugin-check-es2015-constants": { - "version": "6.22.0", - "from": "babel-plugin-check-es2015-constants@>=6.22.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz", - "dev": true - }, - "babel-plugin-transform-es2015-arrow-functions": { - "version": "6.22.0", - "from": "babel-plugin-transform-es2015-arrow-functions@>=6.22.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz", - "dev": true - }, - "babel-plugin-transform-es2015-block-scoped-functions": { - "version": "6.22.0", - "from": "babel-plugin-transform-es2015-block-scoped-functions@>=6.22.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz", - "dev": true - }, - "babel-plugin-transform-es2015-block-scoping": { - "version": "6.23.0", - "from": "babel-plugin-transform-es2015-block-scoping@>=6.22.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.23.0.tgz", - "dev": true - }, - "babel-plugin-transform-es2015-classes": { - "version": "6.23.0", - "from": "babel-plugin-transform-es2015-classes@>=6.22.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.23.0.tgz", - "dev": true - }, - "babel-plugin-transform-es2015-computed-properties": { - "version": "6.22.0", - "from": "babel-plugin-transform-es2015-computed-properties@>=6.22.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.22.0.tgz", - "dev": true - }, - "babel-plugin-transform-es2015-destructuring": { - "version": "6.23.0", - "from": "babel-plugin-transform-es2015-destructuring@>=6.22.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz", - "dev": true - }, - "babel-plugin-transform-es2015-duplicate-keys": { - "version": "6.22.0", - "from": "babel-plugin-transform-es2015-duplicate-keys@>=6.22.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-duplicate-keys/-/babel-plugin-transform-es2015-duplicate-keys-6.22.0.tgz", - "dev": true - }, - "babel-plugin-transform-es2015-for-of": { - "version": "6.23.0", - "from": "babel-plugin-transform-es2015-for-of@>=6.22.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz", - "dev": true - }, - "babel-plugin-transform-es2015-function-name": { - "version": "6.22.0", - "from": "babel-plugin-transform-es2015-function-name@>=6.22.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.22.0.tgz", - "dev": true - }, - "babel-plugin-transform-es2015-literals": { - "version": "6.22.0", - "from": "babel-plugin-transform-es2015-literals@>=6.22.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-literals/-/babel-plugin-transform-es2015-literals-6.22.0.tgz", - "dev": true - }, - "babel-plugin-transform-es2015-modules-amd": { - "version": "6.24.0", - "from": "babel-plugin-transform-es2015-modules-amd@>=6.24.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-amd/-/babel-plugin-transform-es2015-modules-amd-6.24.0.tgz", - "dev": true - }, - "babel-plugin-transform-es2015-modules-commonjs": { - "version": "6.24.0", - "from": "babel-plugin-transform-es2015-modules-commonjs@>=6.24.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.24.0.tgz", - "dev": true - }, - "babel-plugin-transform-es2015-modules-strip": { - "version": "0.1.0", - "from": "babel-plugin-transform-es2015-modules-strip@>=0.1.0 <0.2.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-strip/-/babel-plugin-transform-es2015-modules-strip-0.1.0.tgz", - "dev": true - }, - "babel-plugin-transform-es2015-modules-systemjs": { - "version": "6.23.0", - "from": "babel-plugin-transform-es2015-modules-systemjs@>=6.22.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.23.0.tgz", - "dev": true - }, - "babel-plugin-transform-es2015-modules-umd": { - "version": "6.24.0", - "from": "babel-plugin-transform-es2015-modules-umd@>=6.24.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-umd/-/babel-plugin-transform-es2015-modules-umd-6.24.0.tgz", - "dev": true - }, - "babel-plugin-transform-es2015-object-super": { - "version": "6.22.0", - "from": "babel-plugin-transform-es2015-object-super@>=6.22.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.22.0.tgz", - "dev": true - }, - "babel-plugin-transform-es2015-parameters": { - "version": "6.23.0", - "from": "babel-plugin-transform-es2015-parameters@>=6.22.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.23.0.tgz", - "dev": true - }, - "babel-plugin-transform-es2015-shorthand-properties": { - "version": "6.22.0", - "from": "babel-plugin-transform-es2015-shorthand-properties@>=6.22.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.22.0.tgz", - "dev": true - }, - "babel-plugin-transform-es2015-spread": { - "version": "6.22.0", - "from": "babel-plugin-transform-es2015-spread@>=6.22.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz", - "dev": true - }, - "babel-plugin-transform-es2015-sticky-regex": { - "version": "6.22.0", - "from": "babel-plugin-transform-es2015-sticky-regex@>=6.22.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-sticky-regex/-/babel-plugin-transform-es2015-sticky-regex-6.22.0.tgz", - "dev": true - }, - "babel-plugin-transform-es2015-template-literals": { - "version": "6.22.0", - "from": "babel-plugin-transform-es2015-template-literals@>=6.22.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz", - "dev": true - }, - "babel-plugin-transform-es2015-typeof-symbol": { - "version": "6.23.0", - "from": "babel-plugin-transform-es2015-typeof-symbol@>=6.22.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-typeof-symbol/-/babel-plugin-transform-es2015-typeof-symbol-6.23.0.tgz", - "dev": true - }, - "babel-plugin-transform-es2015-unicode-regex": { - "version": "6.22.0", - "from": "babel-plugin-transform-es2015-unicode-regex@>=6.22.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.22.0.tgz", - "dev": true - }, - "babel-plugin-transform-regenerator": { - "version": "6.22.0", - "from": "babel-plugin-transform-regenerator@>=6.22.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.22.0.tgz", - "dev": true - }, - "babel-plugin-transform-strict-mode": { - "version": "6.22.0", - "from": "babel-plugin-transform-strict-mode@>=6.22.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.22.0.tgz", - "dev": true - }, - "babel-preset-es2015": { - "version": "6.24.0", - "from": "babel-preset-es2015@>=6.24.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-preset-es2015/-/babel-preset-es2015-6.24.0.tgz", - "dev": true - }, - "babel-register": { - "version": "6.24.0", - "from": "babel-register@>=6.24.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-register/-/babel-register-6.24.0.tgz", - "dev": true - }, - "babel-runtime": { - "version": "6.23.0", - "from": "babel-runtime@>=6.22.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.23.0.tgz", - "dev": true - }, - "babel-template": { - "version": "6.23.0", - "from": "babel-template@>=6.23.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-template/-/babel-template-6.23.0.tgz", - "dev": true - }, - "babel-traverse": { - "version": "6.23.1", - "from": "babel-traverse@>=6.15.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.23.1.tgz", - "dev": true - }, - "babel-types": { - "version": "6.23.0", - "from": "babel-types@>=6.15.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.23.0.tgz", - "dev": true - }, - "babylon": { - "version": "6.16.1", - "from": "babylon@>=6.13.0 <7.0.0", - "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.16.1.tgz", - "dev": true - }, - "balanced-match": { - "version": "0.4.2", - "from": "balanced-match@>=0.4.1 <0.5.0", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-0.4.2.tgz", - "dev": true - }, - "basic-auth": { - "version": "1.1.0", - "from": "basic-auth@>=1.1.0 <1.2.0", - "resolved": "https://registry.npmjs.org/basic-auth/-/basic-auth-1.1.0.tgz", - "dev": true - }, - "batch": { - "version": "0.5.3", - "from": "batch@0.5.3", - "resolved": "https://registry.npmjs.org/batch/-/batch-0.5.3.tgz", - "dev": true - }, - "bcrypt-pbkdf": { - "version": "1.0.1", - "from": "bcrypt-pbkdf@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz", - "dev": true, - "optional": true - }, - "binary-extensions": { - "version": "1.8.0", - "from": "binary-extensions@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.8.0.tgz", - "dev": true - }, - "bl": { - "version": "1.2.0", - "from": "bl@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/bl/-/bl-1.2.0.tgz", - "dev": true - }, - "block-stream": { - "version": "0.0.9", - "from": "block-stream@*", - "resolved": "https://registry.npmjs.org/block-stream/-/block-stream-0.0.9.tgz", - "dev": true - }, - "bluebird": { - "version": "3.5.0", - "from": "bluebird@>=3.0.6 <4.0.0", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.0.tgz", - "dev": true - }, - "body-parser": { - "version": "1.14.2", - "from": "body-parser@>=1.14.0 <1.15.0", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.14.2.tgz", - "dev": true, - "dependencies": { - "debug": { - "version": "2.2.0", - "from": "debug@>=2.2.0 <2.3.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.2.0.tgz", - "dev": true - }, - "http-errors": { - "version": "1.3.1", - "from": "http-errors@>=1.3.1 <1.4.0", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.3.1.tgz", - "dev": true - }, - "iconv-lite": { - "version": "0.4.13", - "from": "iconv-lite@0.4.13", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.13.tgz", - "dev": true - }, - "ms": { - "version": "0.7.1", - "from": "ms@0.7.1", - "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.1.tgz", - "dev": true - }, - "qs": { - "version": "5.2.0", - "from": "qs@5.2.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-5.2.0.tgz", - "dev": true - } - } - }, - "boom": { - "version": "2.10.1", - "from": "boom@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/boom/-/boom-2.10.1.tgz", - "dev": true - }, - "brace-expansion": { - "version": "1.1.6", - "from": "brace-expansion@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.6.tgz", - "dev": true - }, - "braces": { - "version": "1.8.5", - "from": "braces@>=1.8.2 <2.0.0", - "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz", - "dev": true - }, - "browserslist": { - "version": "1.7.6", - "from": "browserslist@>=1.7.6 <2.0.0", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-1.7.6.tgz", - "dev": true - }, - "buffer-crc32": { - "version": "0.2.13", - "from": "buffer-crc32@>=0.2.1 <0.3.0", - "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", - "dev": true - }, - "buffer-shims": { - "version": "1.0.0", - "from": "buffer-shims@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/buffer-shims/-/buffer-shims-1.0.0.tgz", - "dev": true - }, - "builtin-modules": { - "version": "1.1.1", - "from": "builtin-modules@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz", - "dev": true - }, - "bulk-require": { - "version": "1.0.0", - "from": "bulk-require@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/bulk-require/-/bulk-require-1.0.0.tgz", - "dev": true, - "dependencies": { - "glob": { - "version": "3.2.11", - "from": "glob@>=3.2.7 <3.3.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-3.2.11.tgz", - "dev": true - }, - "minimatch": { - "version": "0.3.0", - "from": "minimatch@>=0.3.0 <0.4.0", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-0.3.0.tgz", - "dev": true - } - } - }, - "bytes": { - "version": "2.2.0", - "from": "bytes@2.2.0", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-2.2.0.tgz", - "dev": true - }, - "caller-path": { - "version": "0.1.0", - "from": "caller-path@>=0.1.0 <0.2.0", - "resolved": "https://registry.npmjs.org/caller-path/-/caller-path-0.1.0.tgz", - "dev": true - }, - "callsites": { - "version": "0.2.0", - "from": "callsites@>=0.2.0 <0.3.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-0.2.0.tgz", - "dev": true - }, - "camelcase": { - "version": "2.1.1", - "from": "camelcase@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", - "dev": true - }, - "camelcase-keys": { - "version": "2.1.0", - "from": "camelcase-keys@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz", - "dev": true - }, - "caniuse-db": { - "version": "1.0.30000637", - "from": "caniuse-db@>=1.0.30000634 <2.0.0", - "resolved": "https://registry.npmjs.org/caniuse-db/-/caniuse-db-1.0.30000637.tgz", - "dev": true - }, - "caseless": { - "version": "0.11.0", - "from": "caseless@>=0.11.0 <0.12.0", - "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.11.0.tgz", - "dev": true - }, - "center-align": { - "version": "0.1.3", - "from": "center-align@>=0.1.1 <0.2.0", - "resolved": "https://registry.npmjs.org/center-align/-/center-align-0.1.3.tgz", - "dev": true - }, - "chalk": { - "version": "1.1.3", - "from": "chalk@>=1.1.3 <2.0.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "dev": true, - "dependencies": { - "supports-color": { - "version": "2.0.0", - "from": "supports-color@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "dev": true - } - } - }, - "chokidar": { - "version": "1.6.1", - "from": "chokidar@>=1.6.1 <2.0.0", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-1.6.1.tgz", - "dev": true - }, - "circular-json": { - "version": "0.3.1", - "from": "circular-json@>=0.3.1 <0.4.0", - "resolved": "https://registry.npmjs.org/circular-json/-/circular-json-0.3.1.tgz", - "dev": true - }, - "cjson": { - "version": "0.5.0", - "from": "cjson@>=0.5.0 <0.6.0", - "resolved": "https://registry.npmjs.org/cjson/-/cjson-0.5.0.tgz", - "dev": true - }, - "clean-css": { - "version": "4.0.9", - "from": "clean-css@>=4.0.9 <5.0.0", - "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.0.9.tgz", - "dev": true - }, - "clean-css-cli": { - "version": "4.0.9", - "from": "clean-css-cli@>=4.0.9 <5.0.0", - "resolved": "https://registry.npmjs.org/clean-css-cli/-/clean-css-cli-4.0.9.tgz", - "dev": true - }, - "cli": { - "version": "0.6.6", - "from": "cli@>=0.6.0 <0.7.0", - "resolved": "https://registry.npmjs.org/cli/-/cli-0.6.6.tgz", - "dev": true, - "dependencies": { - "glob": { - "version": "3.2.11", - "from": "glob@>=3.2.1 <3.3.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-3.2.11.tgz", - "dev": true - }, - "minimatch": { - "version": "0.3.0", - "from": "minimatch@>=0.3.0 <0.4.0", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-0.3.0.tgz", - "dev": true - } - } - }, - "cli-cursor": { - "version": "1.0.2", - "from": "cli-cursor@>=1.0.1 <2.0.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-1.0.2.tgz", - "dev": true - }, - "cli-spinners": { - "version": "1.0.0", - "from": "cli-spinners@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-1.0.0.tgz", - "dev": true - }, - "cli-width": { - "version": "2.1.0", - "from": "cli-width@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.1.0.tgz", - "dev": true - }, - "cliui": { - "version": "3.2.0", - "from": "cliui@>=3.2.0 <4.0.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz", - "dev": true - }, - "co": { - "version": "4.6.0", - "from": "co@>=4.6.0 <5.0.0", - "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", - "dev": true - }, - "code-point-at": { - "version": "1.1.0", - "from": "code-point-at@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", - "dev": true - }, - "coffee-script": { - "version": "1.10.0", - "from": "coffee-script@>=1.10.0 <1.11.0", - "resolved": "https://registry.npmjs.org/coffee-script/-/coffee-script-1.10.0.tgz", - "dev": true - }, - "colors": { - "version": "1.1.2", - "from": "colors@>=1.1.2 <1.2.0", - "resolved": "https://registry.npmjs.org/colors/-/colors-1.1.2.tgz", - "dev": true - }, - "combined-stream": { - "version": "1.0.5", - "from": "combined-stream@>=1.0.5 <1.1.0", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.5.tgz", - "dev": true - }, - "commander": { - "version": "2.9.0", - "from": "commander@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.9.0.tgz", - "dev": true - }, - "compress-commons": { - "version": "1.2.0", - "from": "compress-commons@>=1.1.0 <2.0.0", - "resolved": "https://registry.npmjs.org/compress-commons/-/compress-commons-1.2.0.tgz", - "dev": true - }, - "concat-map": { - "version": "0.0.1", - "from": "concat-map@0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "dev": true - }, - "concat-stream": { - "version": "1.6.0", - "from": "concat-stream@>=1.5.2 <2.0.0", - "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.0.tgz", - "dev": true - }, - "connect": { - "version": "3.6.0", - "from": "connect@>=3.4.0 <4.0.0", - "resolved": "https://registry.npmjs.org/connect/-/connect-3.6.0.tgz", - "dev": true, - "dependencies": { - "debug": { - "version": "2.6.1", - "from": "debug@2.6.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.1.tgz", - "dev": true - } - } - }, - "connect-livereload": { - "version": "0.5.4", - "from": "connect-livereload@>=0.5.0 <0.6.0", - "resolved": "https://registry.npmjs.org/connect-livereload/-/connect-livereload-0.5.4.tgz", - "dev": true - }, - "console-browserify": { - "version": "1.1.0", - "from": "console-browserify@>=1.1.0 <1.2.0", - "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.1.0.tgz", - "dev": true - }, - "console-control-strings": { - "version": "1.1.0", - "from": "console-control-strings@>=1.1.0 <1.2.0", - "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", - "dev": true - }, - "content-type": { - "version": "1.0.2", - "from": "content-type@>=1.0.1 <1.1.0", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.2.tgz", - "dev": true - }, - "convert-source-map": { - "version": "1.4.0", - "from": "convert-source-map@>=1.1.0 <2.0.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.4.0.tgz", - "dev": true - }, - "core-js": { - "version": "2.4.1", - "from": "core-js@>=2.4.0 <3.0.0", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.4.1.tgz", - "dev": true - }, - "core-util-is": { - "version": "1.0.2", - "from": "core-util-is@>=1.0.0 <1.1.0", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "dev": true - }, - "cosmiconfig": { - "version": "2.1.1", - "from": "cosmiconfig@>=2.1.0 <3.0.0", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-2.1.1.tgz", - "dev": true, - "dependencies": { - "minimist": { - "version": "1.2.0", - "from": "minimist@>=1.2.0 <2.0.0", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", - "dev": true - } - } - }, - "crc": { - "version": "3.4.4", - "from": "crc@>=3.4.4 <4.0.0", - "resolved": "https://registry.npmjs.org/crc/-/crc-3.4.4.tgz", - "dev": true - }, - "crc32-stream": { - "version": "2.0.0", - "from": "crc32-stream@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/crc32-stream/-/crc32-stream-2.0.0.tgz", - "dev": true - }, - "cross-spawn": { - "version": "3.0.1", - "from": "cross-spawn@>=3.0.0 <4.0.0", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-3.0.1.tgz", - "dev": true, - "dependencies": { - "lru-cache": { - "version": "4.0.2", - "from": "lru-cache@>=4.0.1 <5.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.0.2.tgz", - "dev": true - } - } - }, - "cryptiles": { - "version": "2.0.5", - "from": "cryptiles@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/cryptiles/-/cryptiles-2.0.5.tgz", - "dev": true - }, - "csslint": { - "version": "0.10.0", - "from": "csslint@0.10.0", - "resolved": "https://registry.npmjs.org/csslint/-/csslint-0.10.0.tgz", - "dev": true - }, - "currently-unhandled": { - "version": "0.4.1", - "from": "currently-unhandled@>=0.4.1 <0.5.0", - "resolved": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz", - "dev": true - }, - "d": { - "version": "1.0.0", - "from": "d@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/d/-/d-1.0.0.tgz", - "dev": true - }, - "dashdash": { - "version": "1.14.1", - "from": "dashdash@>=1.12.0 <2.0.0", - "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", - "dev": true, - "dependencies": { - "assert-plus": { - "version": "1.0.0", - "from": "assert-plus@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "dev": true - } - } - }, - "date-now": { - "version": "0.1.4", - "from": "date-now@>=0.1.4 <0.2.0", - "resolved": "https://registry.npmjs.org/date-now/-/date-now-0.1.4.tgz", - "dev": true - }, - "date-time": { - "version": "1.1.0", - "from": "date-time@>=1.1.0 <2.0.0", - "resolved": "https://registry.npmjs.org/date-time/-/date-time-1.1.0.tgz", - "dev": true - }, - "dateformat": { - "version": "1.0.12", - "from": "dateformat@>=1.0.12 <1.1.0", - "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-1.0.12.tgz", - "dev": true - }, - "debug": { - "version": "2.6.3", - "from": "debug@>=2.2.0 <3.0.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.3.tgz", - "dev": true - }, - "decamelize": { - "version": "1.2.0", - "from": "decamelize@>=1.1.2 <2.0.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "dev": true - }, - "deep-is": { - "version": "0.1.3", - "from": "deep-is@>=0.1.3 <0.2.0", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", - "dev": true - }, - "del": { - "version": "2.2.2", - "from": "del@>=2.0.2 <3.0.0", - "resolved": "https://registry.npmjs.org/del/-/del-2.2.2.tgz", - "dev": true - }, - "delayed-stream": { - "version": "1.0.0", - "from": "delayed-stream@>=1.0.0 <1.1.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "dev": true - }, - "delegates": { - "version": "1.0.0", - "from": "delegates@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", - "dev": true - }, - "depd": { - "version": "1.1.0", - "from": "depd@>=1.1.0 <1.2.0", - "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.0.tgz", - "dev": true - }, - "destroy": { - "version": "1.0.4", - "from": "destroy@>=1.0.4 <1.1.0", - "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", - "dev": true - }, - "detect-file": { - "version": "0.1.0", - "from": "detect-file@>=0.1.0 <0.2.0", - "resolved": "https://registry.npmjs.org/detect-file/-/detect-file-0.1.0.tgz", - "dev": true - }, - "detect-indent": { - "version": "4.0.0", - "from": "detect-indent@>=4.0.0 <5.0.0", - "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz", - "dev": true - }, - "doctrine": { - "version": "2.0.0", - "from": "doctrine@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.0.0.tgz", - "dev": true - }, - "dom-serializer": { - "version": "0.1.0", - "from": "dom-serializer@>=0.0.0 <1.0.0", - "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.0.tgz", - "dev": true, - "dependencies": { - "domelementtype": { - "version": "1.1.3", - "from": "domelementtype@>=1.1.1 <1.2.0", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.1.3.tgz", - "dev": true - }, - "entities": { - "version": "1.1.1", - "from": "entities@>=1.1.1 <1.2.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.1.tgz", - "dev": true - } - } - }, - "domelementtype": { - "version": "1.3.0", - "from": "domelementtype@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.0.tgz", - "dev": true - }, - "domhandler": { - "version": "2.3.0", - "from": "domhandler@>=2.3.0 <2.4.0", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.3.0.tgz", - "dev": true - }, - "domutils": { - "version": "1.5.1", - "from": "domutils@>=1.5.0 <1.6.0", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.5.1.tgz", - "dev": true - }, - "ecc-jsbn": { - "version": "0.1.1", - "from": "ecc-jsbn@>=0.1.1 <0.2.0", - "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz", - "dev": true, - "optional": true - }, - "ee-first": { - "version": "1.1.1", - "from": "ee-first@1.1.1", - "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", - "dev": true - }, - "electron-to-chromium": { - "version": "1.2.7", - "from": "electron-to-chromium@>=1.2.5 <2.0.0", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.2.7.tgz", - "dev": true - }, - "encodeurl": { - "version": "1.0.1", - "from": "encodeurl@>=1.0.1 <1.1.0", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.1.tgz", - "dev": true - }, - "end-of-stream": { - "version": "1.4.0", - "from": "end-of-stream@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.0.tgz", - "dev": true - }, - "entities": { - "version": "1.0.0", - "from": "entities@>=1.0.0 <1.1.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-1.0.0.tgz", - "dev": true - }, - "error-ex": { - "version": "1.3.1", - "from": "error-ex@>=1.2.0 <2.0.0", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.1.tgz", - "dev": true - }, - "es5-ext": { - "version": "0.10.14", - "from": "es5-ext@>=0.10.14 <0.11.0", - "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.14.tgz", - "dev": true - }, - "es6-iterator": { - "version": "2.0.1", - "from": "es6-iterator@>=2.0.1 <2.1.0", - "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.1.tgz", - "dev": true - }, - "es6-map": { - "version": "0.1.5", - "from": "es6-map@>=0.1.3 <0.2.0", - "resolved": "https://registry.npmjs.org/es6-map/-/es6-map-0.1.5.tgz", - "dev": true - }, - "es6-object-assign": { - "version": "1.1.0", - "from": "es6-object-assign@>=1.0.3 <2.0.0", - "resolved": "https://registry.npmjs.org/es6-object-assign/-/es6-object-assign-1.1.0.tgz", - "dev": true - }, - "es6-promise": { - "version": "4.0.5", - "from": "es6-promise@>=4.0.3 <4.1.0", - "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.0.5.tgz", - "dev": true - }, - "es6-set": { - "version": "0.1.5", - "from": "es6-set@>=0.1.5 <0.2.0", - "resolved": "https://registry.npmjs.org/es6-set/-/es6-set-0.1.5.tgz", - "dev": true - }, - "es6-symbol": { - "version": "3.1.1", - "from": "es6-symbol@>=3.1.1 <3.2.0", - "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.1.tgz", - "dev": true - }, - "es6-weak-map": { - "version": "2.0.2", - "from": "es6-weak-map@>=2.0.1 <3.0.0", - "resolved": "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.2.tgz", - "dev": true - }, - "escape-html": { - "version": "1.0.3", - "from": "escape-html@>=1.0.3 <1.1.0", - "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "dev": true - }, - "escape-string-regexp": { - "version": "1.0.5", - "from": "escape-string-regexp@>=1.0.2 <2.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "dev": true - }, - "escope": { - "version": "3.6.0", - "from": "escope@>=3.6.0 <4.0.0", - "resolved": "https://registry.npmjs.org/escope/-/escope-3.6.0.tgz", - "dev": true - }, - "eslint": { - "version": "3.18.0", - "from": "eslint@>=3.18.0 <4.0.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-3.18.0.tgz", - "dev": true - }, - "espree": { - "version": "3.4.0", - "from": "espree@>=3.4.0 <4.0.0", - "resolved": "https://registry.npmjs.org/espree/-/espree-3.4.0.tgz", - "dev": true - }, - "esprima": { - "version": "3.1.3", - "from": "esprima@>=3.1.1 <4.0.0", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-3.1.3.tgz", - "dev": true - }, - "esquery": { - "version": "1.0.0", - "from": "esquery@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.0.0.tgz", - "dev": true - }, - "esrecurse": { - "version": "4.1.0", - "from": "esrecurse@>=4.1.0 <5.0.0", - "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.1.0.tgz", - "dev": true, - "dependencies": { - "estraverse": { - "version": "4.1.1", - "from": "estraverse@>=4.1.0 <4.2.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.1.1.tgz", - "dev": true - } - } - }, - "estraverse": { - "version": "4.2.0", - "from": "estraverse@>=4.2.0 <5.0.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.2.0.tgz", - "dev": true - }, - "esutils": { - "version": "2.0.2", - "from": "esutils@>=2.0.2 <3.0.0", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", - "dev": true - }, - "etag": { - "version": "1.8.0", - "from": "etag@>=1.8.0 <1.9.0", - "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.0.tgz", - "dev": true - }, - "event-emitter": { - "version": "0.3.5", - "from": "event-emitter@>=0.3.5 <0.4.0", - "resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz", - "dev": true - }, - "eventemitter2": { - "version": "0.4.14", - "from": "eventemitter2@>=0.4.13 <0.5.0", - "resolved": "https://registry.npmjs.org/eventemitter2/-/eventemitter2-0.4.14.tgz", - "dev": true - }, - "exit": { - "version": "0.1.2", - "from": "exit@>=0.1.1 <0.2.0", - "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz", - "dev": true - }, - "exit-hook": { - "version": "1.1.1", - "from": "exit-hook@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/exit-hook/-/exit-hook-1.1.1.tgz", - "dev": true - }, - "expand-brackets": { - "version": "0.1.5", - "from": "expand-brackets@>=0.1.4 <0.2.0", - "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz", - "dev": true - }, - "expand-range": { - "version": "1.8.2", - "from": "expand-range@>=1.8.1 <2.0.0", - "resolved": "https://registry.npmjs.org/expand-range/-/expand-range-1.8.2.tgz", - "dev": true - }, - "expand-tilde": { - "version": "1.2.2", - "from": "expand-tilde@>=1.2.2 <2.0.0", - "resolved": "https://registry.npmjs.org/expand-tilde/-/expand-tilde-1.2.2.tgz", - "dev": true - }, - "extend": { - "version": "3.0.0", - "from": "extend@>=3.0.0 <3.1.0", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.0.tgz", - "dev": true - }, - "extglob": { - "version": "0.3.2", - "from": "extglob@>=0.3.1 <0.4.0", - "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz", - "dev": true - }, - "extract-zip": { - "version": "1.5.0", - "from": "extract-zip@>=1.5.0 <1.6.0", - "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-1.5.0.tgz", - "dev": true, - "dependencies": { - "concat-stream": { - "version": "1.5.0", - "from": "concat-stream@1.5.0", - "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.5.0.tgz", - "dev": true - }, - "debug": { - "version": "0.7.4", - "from": "debug@0.7.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-0.7.4.tgz", - "dev": true - }, - "mkdirp": { - "version": "0.5.0", - "from": "mkdirp@0.5.0", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.0.tgz", - "dev": true - }, - "readable-stream": { - "version": "2.0.6", - "from": "readable-stream@>=2.0.0 <2.1.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.0.6.tgz", - "dev": true - } - } - }, - "extsprintf": { - "version": "1.0.2", - "from": "extsprintf@1.0.2", - "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.0.2.tgz", - "dev": true - }, - "fast-levenshtein": { - "version": "2.0.6", - "from": "fast-levenshtein@>=2.0.4 <2.1.0", - "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "dev": true - }, - "faye-websocket": { - "version": "0.10.0", - "from": "faye-websocket@>=0.10.0 <0.11.0", - "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.10.0.tgz", - "dev": true - }, - "fd-slicer": { - "version": "1.0.1", - "from": "fd-slicer@>=1.0.1 <1.1.0", - "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.0.1.tgz", - "dev": true - }, - "fg-lodash": { - "version": "0.0.2", - "from": "fg-lodash@0.0.2", - "resolved": "https://registry.npmjs.org/fg-lodash/-/fg-lodash-0.0.2.tgz", - "dev": true, - "dependencies": { - "lodash": { - "version": "2.4.2", - "from": "lodash@>=2.4.1 <3.0.0", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-2.4.2.tgz", - "dev": true - }, - "underscore.string": { - "version": "2.3.3", - "from": "underscore.string@>=2.3.3 <2.4.0", - "resolved": "https://registry.npmjs.org/underscore.string/-/underscore.string-2.3.3.tgz", - "dev": true - } - } - }, - "figures": { - "version": "1.7.0", - "from": "figures@>=1.3.5 <2.0.0", - "resolved": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz", - "dev": true - }, - "file-entry-cache": { - "version": "2.0.0", - "from": "file-entry-cache@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-2.0.0.tgz", - "dev": true - }, - "file-sync-cmp": { - "version": "0.1.1", - "from": "file-sync-cmp@>=0.1.0 <0.2.0", - "resolved": "https://registry.npmjs.org/file-sync-cmp/-/file-sync-cmp-0.1.1.tgz", - "dev": true - }, - "filename-regex": { - "version": "2.0.0", - "from": "filename-regex@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.0.tgz", - "dev": true - }, - "fill-range": { - "version": "2.2.3", - "from": "fill-range@>=2.1.0 <3.0.0", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-2.2.3.tgz", - "dev": true - }, - "finalhandler": { - "version": "1.0.0", - "from": "finalhandler@1.0.0", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.0.0.tgz", - "dev": true, - "dependencies": { - "debug": { - "version": "2.6.1", - "from": "debug@2.6.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.1.tgz", - "dev": true - } - } - }, - "find-up": { - "version": "1.1.2", - "from": "find-up@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", - "dev": true - }, - "findup-sync": { - "version": "0.3.0", - "from": "findup-sync@>=0.3.0 <0.4.0", - "resolved": "https://registry.npmjs.org/findup-sync/-/findup-sync-0.3.0.tgz", - "dev": true, - "dependencies": { - "glob": { - "version": "5.0.15", - "from": "glob@>=5.0.0 <5.1.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-5.0.15.tgz", - "dev": true - } - } - }, - "fined": { - "version": "1.0.2", - "from": "fined@>=1.0.1 <2.0.0", - "resolved": "https://registry.npmjs.org/fined/-/fined-1.0.2.tgz", - "dev": true - }, - "flagged-respawn": { - "version": "0.3.2", - "from": "flagged-respawn@>=0.3.2 <0.4.0", - "resolved": "https://registry.npmjs.org/flagged-respawn/-/flagged-respawn-0.3.2.tgz", - "dev": true - }, - "flat-cache": { - "version": "1.2.2", - "from": "flat-cache@>=1.2.1 <2.0.0", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.2.2.tgz", - "dev": true - }, - "for-in": { - "version": "1.0.2", - "from": "for-in@>=1.0.1 <2.0.0", - "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", - "dev": true - }, - "for-own": { - "version": "0.1.5", - "from": "for-own@>=0.1.4 <0.2.0", - "resolved": "https://registry.npmjs.org/for-own/-/for-own-0.1.5.tgz", - "dev": true - }, - "forever-agent": { - "version": "0.6.1", - "from": "forever-agent@>=0.6.1 <0.7.0", - "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", - "dev": true - }, - "form-data": { - "version": "2.1.2", - "from": "form-data@>=2.1.1 <2.2.0", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.1.2.tgz", - "dev": true - }, - "fresh": { - "version": "0.5.0", - "from": "fresh@0.5.0", - "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.0.tgz", - "dev": true - }, - "fs-exists-sync": { - "version": "0.1.0", - "from": "fs-exists-sync@>=0.1.0 <0.2.0", - "resolved": "https://registry.npmjs.org/fs-exists-sync/-/fs-exists-sync-0.1.0.tgz", - "dev": true - }, - "fs-extra": { - "version": "1.0.0", - "from": "fs-extra@>=1.0.0 <1.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-1.0.0.tgz", - "dev": true - }, - "fs-promise": { - "version": "1.0.0", - "from": "fs-promise@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/fs-promise/-/fs-promise-1.0.0.tgz", - "dev": true - }, - "fs.realpath": { - "version": "1.0.0", - "from": "fs.realpath@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "dev": true - }, - "fstream": { - "version": "1.0.11", - "from": "fstream@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.11.tgz", - "dev": true - }, - "gauge": { - "version": "2.7.3", - "from": "gauge@>=2.7.1 <2.8.0", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.3.tgz", - "dev": true - }, - "gaze": { - "version": "1.1.2", - "from": "gaze@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/gaze/-/gaze-1.1.2.tgz", - "dev": true - }, - "generate-function": { - "version": "2.0.0", - "from": "generate-function@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/generate-function/-/generate-function-2.0.0.tgz", - "dev": true - }, - "generate-object-property": { - "version": "1.2.0", - "from": "generate-object-property@>=1.1.0 <2.0.0", - "resolved": "https://registry.npmjs.org/generate-object-property/-/generate-object-property-1.2.0.tgz", - "dev": true - }, - "get-caller-file": { - "version": "1.0.2", - "from": "get-caller-file@>=1.0.1 <2.0.0", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.2.tgz", - "dev": true - }, - "get-stdin": { - "version": "4.0.1", - "from": "get-stdin@>=4.0.1 <5.0.0", - "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz", - "dev": true - }, - "getobject": { - "version": "0.1.0", - "from": "getobject@>=0.1.0 <0.2.0", - "resolved": "https://registry.npmjs.org/getobject/-/getobject-0.1.0.tgz", - "dev": true - }, - "getpass": { - "version": "0.1.6", - "from": "getpass@>=0.1.1 <0.2.0", - "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.6.tgz", - "dev": true, - "dependencies": { - "assert-plus": { - "version": "1.0.0", - "from": "assert-plus@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "dev": true - } - } - }, - "glob": { - "version": "7.1.1", - "from": "glob@>=7.0.3 <8.0.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.1.tgz", - "dev": true - }, - "glob-base": { - "version": "0.3.0", - "from": "glob-base@>=0.3.0 <0.4.0", - "resolved": "https://registry.npmjs.org/glob-base/-/glob-base-0.3.0.tgz", - "dev": true - }, - "glob-parent": { - "version": "2.0.0", - "from": "glob-parent@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz", - "dev": true - }, - "global-modules": { - "version": "0.2.3", - "from": "global-modules@>=0.2.3 <0.3.0", - "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-0.2.3.tgz", - "dev": true - }, - "global-prefix": { - "version": "0.1.5", - "from": "global-prefix@>=0.1.4 <0.2.0", - "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-0.1.5.tgz", - "dev": true - }, - "globals": { - "version": "9.16.0", - "from": "globals@>=9.0.0 <10.0.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-9.16.0.tgz", - "dev": true - }, - "globby": { - "version": "5.0.0", - "from": "globby@>=5.0.0 <6.0.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-5.0.0.tgz", - "dev": true - }, - "globule": { - "version": "1.1.0", - "from": "globule@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/globule/-/globule-1.1.0.tgz", - "dev": true, - "dependencies": { - "lodash": { - "version": "4.16.6", - "from": "lodash@>=4.16.4 <4.17.0", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.16.6.tgz", - "dev": true - } - } - }, - "graceful-fs": { - "version": "4.1.11", - "from": "graceful-fs@>=4.1.2 <5.0.0", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", - "dev": true - }, - "graceful-readlink": { - "version": "1.0.1", - "from": "graceful-readlink@>=1.0.0", - "resolved": "https://registry.npmjs.org/graceful-readlink/-/graceful-readlink-1.0.1.tgz", - "dev": true - }, - "grunt": { - "version": "1.0.1", - "from": "grunt@>=1.0.1 <2.0.0", - "resolved": "https://registry.npmjs.org/grunt/-/grunt-1.0.1.tgz", - "dev": true, - "dependencies": { - "esprima": { - "version": "2.7.3", - "from": "esprima@>=2.6.0 <3.0.0", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-2.7.3.tgz", - "dev": true - }, - "glob": { - "version": "7.0.6", - "from": "glob@>=7.0.0 <7.1.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.0.6.tgz", - "dev": true - }, - "grunt-cli": { - "version": "1.2.0", - "from": "grunt-cli@>=1.2.0 <1.3.0", - "resolved": "https://registry.npmjs.org/grunt-cli/-/grunt-cli-1.2.0.tgz", - "dev": true - }, - "js-yaml": { - "version": "3.5.5", - "from": "js-yaml@>=3.5.2 <3.6.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.5.5.tgz", - "dev": true - }, - "resolve": { - "version": "1.1.7", - "from": "resolve@>=1.1.0 <1.2.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz", - "dev": true - }, - "rimraf": { - "version": "2.2.8", - "from": "rimraf@>=2.2.8 <2.3.0", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.2.8.tgz", - "dev": true - } - } - }, - "grunt-babel": { - "version": "6.0.0", - "from": "grunt-babel@>=6.0.0 <7.0.0", - "resolved": "https://registry.npmjs.org/grunt-babel/-/grunt-babel-6.0.0.tgz", - "dev": true - }, - "grunt-build-control": { - "version": "0.7.1", - "from": "grunt-build-control@>=0.7.1 <0.8.0", - "resolved": "https://registry.npmjs.org/grunt-build-control/-/grunt-build-control-0.7.1.tgz", - "dev": true, - "dependencies": { - "semver": { - "version": "4.3.6", - "from": "semver@>=4.3.3 <4.4.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-4.3.6.tgz", - "dev": true - }, - "shelljs": { - "version": "0.2.6", - "from": "shelljs@>=0.2.6 <0.3.0", - "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.2.6.tgz", - "dev": true - } - } - }, - "grunt-contrib-clean": { - "version": "1.0.0", - "from": "grunt-contrib-clean@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/grunt-contrib-clean/-/grunt-contrib-clean-1.0.0.tgz", - "dev": true - }, - "grunt-contrib-compress": { - "version": "1.4.1", - "from": "grunt-contrib-compress@>=1.4.1 <2.0.0", - "resolved": "https://registry.npmjs.org/grunt-contrib-compress/-/grunt-contrib-compress-1.4.1.tgz", - "dev": true - }, - "grunt-contrib-concat": { - "version": "1.0.1", - "from": "grunt-contrib-concat@>=1.0.1 <2.0.0", - "resolved": "https://registry.npmjs.org/grunt-contrib-concat/-/grunt-contrib-concat-1.0.1.tgz", - "dev": true - }, - "grunt-contrib-connect": { - "version": "1.0.2", - "from": "grunt-contrib-connect@>=1.0.2 <2.0.0", - "resolved": "https://registry.npmjs.org/grunt-contrib-connect/-/grunt-contrib-connect-1.0.2.tgz", - "dev": true - }, - "grunt-contrib-copy": { - "version": "1.0.0", - "from": "grunt-contrib-copy@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/grunt-contrib-copy/-/grunt-contrib-copy-1.0.0.tgz", - "dev": true - }, - "grunt-contrib-qunit": { - "version": "1.3.0", - "from": "grunt-contrib-qunit@>=1.3.0 <2.0.0", - "resolved": "https://registry.npmjs.org/grunt-contrib-qunit/-/grunt-contrib-qunit-1.3.0.tgz", - "dev": true - }, - "grunt-contrib-watch": { - "version": "1.0.0", - "from": "grunt-contrib-watch@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/grunt-contrib-watch/-/grunt-contrib-watch-1.0.0.tgz", - "dev": true, - "dependencies": { - "lodash": { - "version": "3.10.1", - "from": "lodash@>=3.10.1 <4.0.0", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz", - "dev": true - } - } - }, - "grunt-exec": { - "version": "2.0.0", - "from": "grunt-exec@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/grunt-exec/-/grunt-exec-2.0.0.tgz", - "dev": true - }, - "grunt-known-options": { - "version": "1.1.0", - "from": "grunt-known-options@>=1.1.0 <1.2.0", - "resolved": "https://registry.npmjs.org/grunt-known-options/-/grunt-known-options-1.1.0.tgz", - "dev": true - }, - "grunt-legacy-log": { - "version": "1.0.0", - "from": "grunt-legacy-log@>=1.0.0 <1.1.0", - "resolved": "https://registry.npmjs.org/grunt-legacy-log/-/grunt-legacy-log-1.0.0.tgz", - "dev": true, - "dependencies": { - "lodash": { - "version": "3.10.1", - "from": "lodash@>=3.10.1 <3.11.0", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz", - "dev": true - } - } - }, - "grunt-legacy-log-utils": { - "version": "1.0.0", - "from": "grunt-legacy-log-utils@>=1.0.0 <1.1.0", - "resolved": "https://registry.npmjs.org/grunt-legacy-log-utils/-/grunt-legacy-log-utils-1.0.0.tgz", - "dev": true, - "dependencies": { - "lodash": { - "version": "4.3.0", - "from": "lodash@>=4.3.0 <4.4.0", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.3.0.tgz", - "dev": true - } - } - }, - "grunt-legacy-util": { - "version": "1.0.0", - "from": "grunt-legacy-util@>=1.0.0 <1.1.0", - "resolved": "https://registry.npmjs.org/grunt-legacy-util/-/grunt-legacy-util-1.0.0.tgz", - "dev": true, - "dependencies": { - "lodash": { - "version": "4.3.0", - "from": "lodash@>=4.3.0 <4.4.0", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.3.0.tgz", - "dev": true - } - } - }, - "grunt-lib-phantomjs": { - "version": "1.1.0", - "from": "grunt-lib-phantomjs@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/grunt-lib-phantomjs/-/grunt-lib-phantomjs-1.1.0.tgz", - "dev": true - }, - "grunt-saucelabs": { - "version": "9.0.0", - "from": "grunt-saucelabs@>=9.0.0 <10.0.0", - "resolved": "https://registry.npmjs.org/grunt-saucelabs/-/grunt-saucelabs-9.0.0.tgz", - "dev": true, - "dependencies": { - "lodash": { - "version": "4.13.1", - "from": "lodash@>=4.13.1 <4.14.0", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.13.1.tgz", - "dev": true - } - } - }, - "grunt-stamp": { - "version": "0.3.0", - "from": "grunt-stamp@>=0.3.0 <0.4.0", - "resolved": "https://registry.npmjs.org/grunt-stamp/-/grunt-stamp-0.3.0.tgz", - "dev": true - }, - "har-validator": { - "version": "2.0.6", - "from": "har-validator@>=2.0.6 <2.1.0", - "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-2.0.6.tgz", - "dev": true - }, - "has-ansi": { - "version": "2.0.0", - "from": "has-ansi@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", - "dev": true - }, - "has-flag": { - "version": "1.0.0", - "from": "has-flag@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "dev": true - }, - "has-unicode": { - "version": "2.0.1", - "from": "has-unicode@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", - "dev": true - }, - "hasha": { - "version": "2.2.0", - "from": "hasha@>=2.2.0 <2.3.0", - "resolved": "https://registry.npmjs.org/hasha/-/hasha-2.2.0.tgz", - "dev": true - }, - "hawk": { - "version": "3.1.3", - "from": "hawk@>=3.1.3 <3.2.0", - "resolved": "https://registry.npmjs.org/hawk/-/hawk-3.1.3.tgz", - "dev": true - }, - "hoek": { - "version": "2.16.3", - "from": "hoek@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/hoek/-/hoek-2.16.3.tgz", - "dev": true - }, - "home-or-tmp": { - "version": "2.0.0", - "from": "home-or-tmp@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-2.0.0.tgz", - "dev": true - }, - "homedir-polyfill": { - "version": "1.0.1", - "from": "homedir-polyfill@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.1.tgz", - "dev": true - }, - "hooker": { - "version": "0.2.3", - "from": "hooker@>=0.2.3 <0.3.0", - "resolved": "https://registry.npmjs.org/hooker/-/hooker-0.2.3.tgz", - "dev": true - }, - "hosted-git-info": { - "version": "2.3.1", - "from": "hosted-git-info@>=2.1.4 <3.0.0", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.3.1.tgz", - "dev": true - }, - "htmlhint": { - "version": "0.9.13", - "from": "htmlhint@>=0.9.13 <0.10.0", - "resolved": "https://registry.npmjs.org/htmlhint/-/htmlhint-0.9.13.tgz", - "dev": true, - "dependencies": { - "async": { - "version": "1.4.2", - "from": "async@1.4.2", - "resolved": "https://registry.npmjs.org/async/-/async-1.4.2.tgz", - "dev": true - }, - "colors": { - "version": "1.0.3", - "from": "colors@1.0.3", - "resolved": "https://registry.npmjs.org/colors/-/colors-1.0.3.tgz", - "dev": true - }, - "commander": { - "version": "2.6.0", - "from": "commander@2.6.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.6.0.tgz", - "dev": true - }, - "glob": { - "version": "5.0.15", - "from": "glob@5.0.15", - "resolved": "https://registry.npmjs.org/glob/-/glob-5.0.15.tgz", - "dev": true - }, - "strip-json-comments": { - "version": "1.0.4", - "from": "strip-json-comments@1.0.4", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-1.0.4.tgz", - "dev": true - } - } - }, - "htmllint": { - "version": "0.6.0", - "from": "htmllint@>=0.6.0 <0.7.0", - "resolved": "https://registry.npmjs.org/htmllint/-/htmllint-0.6.0.tgz", - "dev": true - }, - "htmllint-cli": { - "version": "0.0.6", - "from": "htmllint-cli@>=0.0.6 <0.0.7", - "resolved": "https://registry.npmjs.org/htmllint-cli/-/htmllint-cli-0.0.6.tgz", - "dev": true - }, - "htmlparser2": { - "version": "3.8.3", - "from": "htmlparser2@>=3.8.0 <3.9.0", - "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.8.3.tgz", - "dev": true, - "dependencies": { - "isarray": { - "version": "0.0.1", - "from": "isarray@0.0.1", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", - "dev": true - }, - "readable-stream": { - "version": "1.1.14", - "from": "readable-stream@>=1.1.0 <1.2.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", - "dev": true - } - } - }, - "http-errors": { - "version": "1.5.1", - "from": "http-errors@>=1.5.0 <1.6.0", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.5.1.tgz", - "dev": true - }, - "http-signature": { - "version": "1.1.1", - "from": "http-signature@>=1.1.0 <1.2.0", - "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.1.1.tgz", - "dev": true - }, - "http2": { - "version": "3.3.6", - "from": "http2@>=3.3.4 <4.0.0", - "resolved": "https://registry.npmjs.org/http2/-/http2-3.3.6.tgz", - "dev": true - }, - "https-proxy-agent": { - "version": "1.0.0", - "from": "https-proxy-agent@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-1.0.0.tgz", - "dev": true - }, - "iconv-lite": { - "version": "0.4.15", - "from": "iconv-lite@>=0.4.13 <0.5.0", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.15.tgz", - "dev": true - }, - "ignore": { - "version": "3.2.6", - "from": "ignore@>=3.2.0 <4.0.0", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-3.2.6.tgz", - "dev": true - }, - "iltorb": { - "version": "1.0.13", - "from": "iltorb@>=1.0.13 <2.0.0", - "resolved": "https://registry.npmjs.org/iltorb/-/iltorb-1.0.13.tgz", - "dev": true, - "optional": true - }, - "imurmurhash": { - "version": "0.1.4", - "from": "imurmurhash@>=0.1.4 <0.2.0", - "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "dev": true - }, - "in-publish": { - "version": "2.0.0", - "from": "in-publish@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/in-publish/-/in-publish-2.0.0.tgz", - "dev": true - }, - "indent-string": { - "version": "2.1.0", - "from": "indent-string@>=2.1.0 <3.0.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz", - "dev": true - }, - "inflight": { - "version": "1.0.6", - "from": "inflight@>=1.0.4 <2.0.0", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "dev": true - }, - "inherits": { - "version": "2.0.3", - "from": "inherits@>=2.0.3 <3.0.0", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "dev": true - }, - "ini": { - "version": "1.3.4", - "from": "ini@>=1.3.4 <2.0.0", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.4.tgz", - "dev": true - }, - "inquirer": { - "version": "0.12.0", - "from": "inquirer@>=0.12.0 <0.13.0", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-0.12.0.tgz", - "dev": true - }, - "interpret": { - "version": "1.0.1", - "from": "interpret@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.0.1.tgz", - "dev": true - }, - "invariant": { - "version": "2.2.2", - "from": "invariant@>=2.2.0 <3.0.0", - "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.2.tgz", - "dev": true - }, - "invert-kv": { - "version": "1.0.0", - "from": "invert-kv@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz", - "dev": true - }, - "is-absolute": { - "version": "0.2.6", - "from": "is-absolute@>=0.2.3 <0.3.0", - "resolved": "https://registry.npmjs.org/is-absolute/-/is-absolute-0.2.6.tgz", - "dev": true - }, - "is-arrayish": { - "version": "0.2.1", - "from": "is-arrayish@>=0.2.1 <0.3.0", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "dev": true - }, - "is-binary-path": { - "version": "1.0.1", - "from": "is-binary-path@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz", - "dev": true - }, - "is-buffer": { - "version": "1.1.5", - "from": "is-buffer@>=1.0.2 <2.0.0", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.5.tgz", - "dev": true - }, - "is-builtin-module": { - "version": "1.0.0", - "from": "is-builtin-module@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz", - "dev": true - }, - "is-dotfile": { - "version": "1.0.2", - "from": "is-dotfile@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.2.tgz", - "dev": true - }, - "is-equal-shallow": { - "version": "0.1.3", - "from": "is-equal-shallow@>=0.1.3 <0.2.0", - "resolved": "https://registry.npmjs.org/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz", - "dev": true - }, - "is-extendable": { - "version": "0.1.1", - "from": "is-extendable@>=0.1.1 <0.2.0", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "dev": true - }, - "is-extglob": { - "version": "1.0.0", - "from": "is-extglob@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", - "dev": true - }, - "is-finite": { - "version": "1.0.2", - "from": "is-finite@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz", - "dev": true - }, - "is-fullwidth-code-point": { - "version": "1.0.0", - "from": "is-fullwidth-code-point@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", - "dev": true - }, - "is-glob": { - "version": "2.0.1", - "from": "is-glob@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", - "dev": true - }, - "is-my-json-valid": { - "version": "2.16.0", - "from": "is-my-json-valid@>=2.10.0 <3.0.0", - "resolved": "https://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.16.0.tgz", - "dev": true - }, - "is-number": { - "version": "2.1.0", - "from": "is-number@>=2.1.0 <3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-2.1.0.tgz", - "dev": true - }, - "is-path-cwd": { - "version": "1.0.0", - "from": "is-path-cwd@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-1.0.0.tgz", - "dev": true - }, - "is-path-in-cwd": { - "version": "1.0.0", - "from": "is-path-in-cwd@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-1.0.0.tgz", - "dev": true - }, - "is-path-inside": { - "version": "1.0.0", - "from": "is-path-inside@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.0.tgz", - "dev": true - }, - "is-posix-bracket": { - "version": "0.1.1", - "from": "is-posix-bracket@>=0.1.0 <0.2.0", - "resolved": "https://registry.npmjs.org/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz", - "dev": true - }, - "is-primitive": { - "version": "2.0.0", - "from": "is-primitive@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/is-primitive/-/is-primitive-2.0.0.tgz", - "dev": true - }, - "is-property": { - "version": "1.0.2", - "from": "is-property@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/is-property/-/is-property-1.0.2.tgz", - "dev": true - }, - "is-relative": { - "version": "0.2.1", - "from": "is-relative@>=0.2.1 <0.3.0", - "resolved": "https://registry.npmjs.org/is-relative/-/is-relative-0.2.1.tgz", - "dev": true - }, - "is-resolvable": { - "version": "1.0.0", - "from": "is-resolvable@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/is-resolvable/-/is-resolvable-1.0.0.tgz", - "dev": true - }, - "is-stream": { - "version": "1.1.0", - "from": "is-stream@>=1.0.1 <2.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", - "dev": true - }, - "is-travis": { - "version": "1.0.0", - "from": "is-travis@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/is-travis/-/is-travis-1.0.0.tgz", - "dev": true - }, - "is-typedarray": { - "version": "1.0.0", - "from": "is-typedarray@>=1.0.0 <1.1.0", - "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", - "dev": true - }, - "is-unc-path": { - "version": "0.1.2", - "from": "is-unc-path@>=0.1.1 <0.2.0", - "resolved": "https://registry.npmjs.org/is-unc-path/-/is-unc-path-0.1.2.tgz", - "dev": true - }, - "is-utf8": { - "version": "0.2.1", - "from": "is-utf8@>=0.2.0 <0.3.0", - "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz", - "dev": true - }, - "is-windows": { - "version": "0.2.0", - "from": "is-windows@>=0.2.0 <0.3.0", - "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-0.2.0.tgz", - "dev": true - }, - "isarray": { - "version": "1.0.0", - "from": "isarray@>=1.0.0 <1.1.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "dev": true - }, - "isexe": { - "version": "1.1.2", - "from": "isexe@>=1.1.1 <2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-1.1.2.tgz", - "dev": true - }, - "isobject": { - "version": "2.1.0", - "from": "isobject@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", - "dev": true - }, - "isstream": { - "version": "0.1.2", - "from": "isstream@>=0.1.2 <0.2.0", - "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", - "dev": true - }, - "jju": { - "version": "1.3.0", - "from": "jju@>=1.1.0 <2.0.0", - "resolved": "https://registry.npmjs.org/jju/-/jju-1.3.0.tgz", - "dev": true - }, - "jodid25519": { - "version": "1.0.2", - "from": "jodid25519@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/jodid25519/-/jodid25519-1.0.2.tgz", - "dev": true, - "optional": true - }, - "jquery": { - "version": "3.2.0", - "from": "jquery@>=1.9.1", - "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.2.0.tgz" - }, - "js-base64": { - "version": "2.1.9", - "from": "js-base64@>=2.1.9 <3.0.0", - "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.1.9.tgz", - "dev": true - }, - "js-tokens": { - "version": "3.0.1", - "from": "js-tokens@>=3.0.0 <4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.1.tgz", - "dev": true - }, - "js-yaml": { - "version": "3.8.2", - "from": "js-yaml@>=3.5.1 <4.0.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.8.2.tgz", - "dev": true - }, - "jsbn": { - "version": "0.1.1", - "from": "jsbn@>=0.1.0 <0.2.0", - "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", - "dev": true, - "optional": true - }, - "jsesc": { - "version": "0.5.0", - "from": "jsesc@>=0.5.0 <0.6.0", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", - "dev": true - }, - "jshint": { - "version": "2.8.0", - "from": "jshint@2.8.0", - "resolved": "https://registry.npmjs.org/jshint/-/jshint-2.8.0.tgz", - "dev": true, - "dependencies": { - "lodash": { - "version": "3.7.0", - "from": "lodash@>=3.7.0 <3.8.0", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-3.7.0.tgz", - "dev": true - }, - "minimatch": { - "version": "2.0.10", - "from": "minimatch@>=2.0.0 <2.1.0", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-2.0.10.tgz", - "dev": true - }, - "shelljs": { - "version": "0.3.0", - "from": "shelljs@>=0.3.0 <0.4.0", - "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.3.0.tgz", - "dev": true - }, - "strip-json-comments": { - "version": "1.0.4", - "from": "strip-json-comments@>=1.0.0 <1.1.0", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-1.0.4.tgz", - "dev": true - } - } - }, - "json-parse-helpfulerror": { - "version": "1.0.3", - "from": "json-parse-helpfulerror@>=1.0.3 <2.0.0", - "resolved": "https://registry.npmjs.org/json-parse-helpfulerror/-/json-parse-helpfulerror-1.0.3.tgz", - "dev": true - }, - "json-schema": { - "version": "0.2.3", - "from": "json-schema@0.2.3", - "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", - "dev": true - }, - "json-stable-stringify": { - "version": "1.0.1", - "from": "json-stable-stringify@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz", - "dev": true - }, - "json-stringify-safe": { - "version": "5.0.1", - "from": "json-stringify-safe@>=5.0.1 <5.1.0", - "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", - "dev": true - }, - "json5": { - "version": "0.5.1", - "from": "json5@>=0.5.0 <0.6.0", - "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz", - "dev": true - }, - "jsonfile": { - "version": "2.4.0", - "from": "jsonfile@>=2.1.0 <3.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", - "dev": true - }, - "jsonify": { - "version": "0.0.0", - "from": "jsonify@>=0.0.0 <0.1.0", - "resolved": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz", - "dev": true - }, - "jsonpointer": { - "version": "4.0.1", - "from": "jsonpointer@>=4.0.0 <5.0.0", - "resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-4.0.1.tgz", - "dev": true - }, - "jsprim": { - "version": "1.4.0", - "from": "jsprim@>=1.2.2 <2.0.0", - "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.0.tgz", - "dev": true, - "dependencies": { - "assert-plus": { - "version": "1.0.0", - "from": "assert-plus@1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "dev": true - } - } - }, - "kew": { - "version": "0.7.0", - "from": "kew@>=0.7.0 <0.8.0", - "resolved": "https://registry.npmjs.org/kew/-/kew-0.7.0.tgz", - "dev": true - }, - "kind-of": { - "version": "3.1.0", - "from": "kind-of@>=3.0.2 <4.0.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.1.0.tgz", - "dev": true - }, - "klaw": { - "version": "1.3.1", - "from": "klaw@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/klaw/-/klaw-1.3.1.tgz", - "dev": true - }, - "lazy-cache": { - "version": "1.0.4", - "from": "lazy-cache@>=1.0.3 <2.0.0", - "resolved": "https://registry.npmjs.org/lazy-cache/-/lazy-cache-1.0.4.tgz", - "dev": true - }, - "lazystream": { - "version": "1.0.0", - "from": "lazystream@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/lazystream/-/lazystream-1.0.0.tgz", - "dev": true - }, - "lcid": { - "version": "1.0.0", - "from": "lcid@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", - "dev": true - }, - "levn": { - "version": "0.3.0", - "from": "levn@>=0.3.0 <0.4.0", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", - "dev": true - }, - "liftoff": { - "version": "2.3.0", - "from": "liftoff@>=2.3.0 <3.0.0", - "resolved": "https://registry.npmjs.org/liftoff/-/liftoff-2.3.0.tgz", - "dev": true, - "dependencies": { - "findup-sync": { - "version": "0.4.3", - "from": "findup-sync@>=0.4.2 <0.5.0", - "resolved": "https://registry.npmjs.org/findup-sync/-/findup-sync-0.4.3.tgz", - "dev": true - } - } - }, - "livereload-js": { - "version": "2.2.2", - "from": "livereload-js@>=2.2.0 <3.0.0", - "resolved": "https://registry.npmjs.org/livereload-js/-/livereload-js-2.2.2.tgz", - "dev": true - }, - "load-grunt-tasks": { - "version": "3.5.2", - "from": "load-grunt-tasks@>=3.5.2 <4.0.0", - "resolved": "https://registry.npmjs.org/load-grunt-tasks/-/load-grunt-tasks-3.5.2.tgz", - "dev": true - }, - "load-json-file": { - "version": "1.1.0", - "from": "load-json-file@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", - "dev": true, - "dependencies": { - "strip-bom": { - "version": "2.0.0", - "from": "strip-bom@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", - "dev": true - } - } - }, - "lodash": { - "version": "4.17.4", - "from": "lodash@>=4.2.0 <5.0.0", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz", - "dev": true - }, - "lodash.assign": { - "version": "4.2.0", - "from": "lodash.assign@>=4.2.0 <5.0.0", - "resolved": "https://registry.npmjs.org/lodash.assign/-/lodash.assign-4.2.0.tgz", - "dev": true - }, - "lodash.assignwith": { - "version": "4.2.0", - "from": "lodash.assignwith@>=4.0.7 <5.0.0", - "resolved": "https://registry.npmjs.org/lodash.assignwith/-/lodash.assignwith-4.2.0.tgz", - "dev": true - }, - "lodash.clonedeep": { - "version": "4.5.0", - "from": "lodash.clonedeep@>=4.3.2 <5.0.0", - "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", - "dev": true - }, - "lodash.isempty": { - "version": "4.4.0", - "from": "lodash.isempty@>=4.2.1 <5.0.0", - "resolved": "https://registry.npmjs.org/lodash.isempty/-/lodash.isempty-4.4.0.tgz", - "dev": true - }, - "lodash.isplainobject": { - "version": "4.0.6", - "from": "lodash.isplainobject@>=4.0.4 <5.0.0", - "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", - "dev": true - }, - "lodash.isstring": { - "version": "4.0.1", - "from": "lodash.isstring@>=4.0.1 <5.0.0", - "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", - "dev": true - }, - "lodash.mapvalues": { - "version": "4.6.0", - "from": "lodash.mapvalues@>=4.4.0 <5.0.0", - "resolved": "https://registry.npmjs.org/lodash.mapvalues/-/lodash.mapvalues-4.6.0.tgz", - "dev": true - }, - "lodash.mergewith": { - "version": "4.6.0", - "from": "lodash.mergewith@>=4.6.0 <5.0.0", - "resolved": "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.0.tgz", - "dev": true - }, - "lodash.pick": { - "version": "4.4.0", - "from": "lodash.pick@>=4.2.1 <5.0.0", - "resolved": "https://registry.npmjs.org/lodash.pick/-/lodash.pick-4.4.0.tgz", - "dev": true - }, - "lodash.pickby": { - "version": "4.6.0", - "from": "lodash.pickby@>=4.6.0 <5.0.0", - "resolved": "https://registry.npmjs.org/lodash.pickby/-/lodash.pickby-4.6.0.tgz", - "dev": true - }, - "log-symbols": { - "version": "1.0.2", - "from": "log-symbols@>=1.0.2 <2.0.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-1.0.2.tgz", - "dev": true - }, - "longest": { - "version": "1.0.1", - "from": "longest@>=1.0.1 <2.0.0", - "resolved": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz", - "dev": true - }, - "loose-envify": { - "version": "1.3.1", - "from": "loose-envify@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz", - "dev": true - }, - "loud-rejection": { - "version": "1.6.0", - "from": "loud-rejection@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz", - "dev": true - }, - "lru-cache": { - "version": "2.7.3", - "from": "lru-cache@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-2.7.3.tgz", - "dev": true - }, - "map-cache": { - "version": "0.2.2", - "from": "map-cache@>=0.2.0 <0.3.0", - "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", - "dev": true - }, - "map-obj": { - "version": "1.0.1", - "from": "map-obj@>=1.0.1 <2.0.0", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", - "dev": true - }, - "media-typer": { - "version": "0.3.0", - "from": "media-typer@0.3.0", - "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", - "dev": true - }, - "meow": { - "version": "3.7.0", - "from": "meow@>=3.3.0 <4.0.0", - "resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz", - "dev": true, - "dependencies": { - "minimist": { - "version": "1.2.0", - "from": "minimist@>=1.1.3 <2.0.0", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", - "dev": true - } - } - }, - "micromatch": { - "version": "2.3.11", - "from": "micromatch@>=2.3.7 <3.0.0", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz", - "dev": true - }, - "mime": { - "version": "1.3.4", - "from": "mime@1.3.4", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.3.4.tgz", - "dev": true - }, - "mime-db": { - "version": "1.26.0", - "from": "mime-db@>=1.26.0 <1.27.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.26.0.tgz", - "dev": true - }, - "mime-types": { - "version": "2.1.14", - "from": "mime-types@>=2.1.11 <2.2.0", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.14.tgz", - "dev": true - }, - "mimic-fn": { - "version": "1.1.0", - "from": "mimic-fn@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.1.0.tgz", - "dev": true - }, - "minimatch": { - "version": "3.0.3", - "from": "minimatch@>=3.0.2 <4.0.0", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.3.tgz", - "dev": true - }, - "minimist": { - "version": "0.0.8", - "from": "minimist@0.0.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", - "dev": true - }, - "mkdirp": { - "version": "0.5.1", - "from": "mkdirp@>=0.5.0 <0.6.0", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", - "dev": true - }, - "morgan": { - "version": "1.8.1", - "from": "morgan@>=1.6.1 <2.0.0", - "resolved": "https://registry.npmjs.org/morgan/-/morgan-1.8.1.tgz", - "dev": true, - "dependencies": { - "debug": { - "version": "2.6.1", - "from": "debug@2.6.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.1.tgz", - "dev": true - } - } - }, - "ms": { - "version": "0.7.2", - "from": "ms@0.7.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.2.tgz", - "dev": true - }, - "multimatch": { - "version": "2.1.0", - "from": "multimatch@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/multimatch/-/multimatch-2.1.0.tgz", - "dev": true - }, - "mute-stream": { - "version": "0.0.5", - "from": "mute-stream@0.0.5", - "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.5.tgz", - "dev": true - }, - "mz": { - "version": "2.6.0", - "from": "mz@>=2.3.1 <3.0.0", - "resolved": "https://registry.npmjs.org/mz/-/mz-2.6.0.tgz", - "dev": true - }, - "nan": { - "version": "2.5.1", - "from": "nan@>=2.4.0 <3.0.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.5.1.tgz", - "dev": true - }, - "natural-compare": { - "version": "1.4.0", - "from": "natural-compare@>=1.4.0 <2.0.0", - "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", - "dev": true - }, - "negotiator": { - "version": "0.6.1", - "from": "negotiator@0.6.1", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.1.tgz", - "dev": true - }, - "node-gyp": { - "version": "3.6.0", - "from": "node-gyp@>=3.3.1 <4.0.0", - "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-3.6.0.tgz", - "dev": true - }, - "node-sass": { - "version": "4.5.0", - "from": "node-sass@>=4.5.0 <5.0.0", - "resolved": "https://registry.npmjs.org/node-sass/-/node-sass-4.5.0.tgz", - "dev": true - }, - "nopt": { - "version": "3.0.6", - "from": "nopt@>=3.0.6 <3.1.0", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz", - "dev": true - }, - "normalize-package-data": { - "version": "2.3.6", - "from": "normalize-package-data@>=2.3.4 <3.0.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.3.6.tgz", - "dev": true - }, - "normalize-path": { - "version": "2.0.1", - "from": "normalize-path@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.0.1.tgz", - "dev": true - }, - "normalize-range": { - "version": "0.1.2", - "from": "normalize-range@>=0.1.2 <0.2.0", - "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", - "dev": true - }, - "npmlog": { - "version": "4.0.2", - "from": "npmlog@>=4.0.0 <5.0.0", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.0.2.tgz", - "dev": true - }, - "num2fraction": { - "version": "1.2.2", - "from": "num2fraction@>=1.2.2 <2.0.0", - "resolved": "https://registry.npmjs.org/num2fraction/-/num2fraction-1.2.2.tgz", - "dev": true - }, - "number-is-nan": { - "version": "1.0.1", - "from": "number-is-nan@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", - "dev": true - }, - "oauth-sign": { - "version": "0.8.2", - "from": "oauth-sign@>=0.8.1 <0.9.0", - "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.8.2.tgz", - "dev": true - }, - "object-assign": { - "version": "4.1.1", - "from": "object-assign@>=4.0.1 <5.0.0", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "dev": true - }, - "object.omit": { - "version": "2.0.1", - "from": "object.omit@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz", - "dev": true - }, - "on-finished": { - "version": "2.3.0", - "from": "on-finished@>=2.3.0 <2.4.0", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", - "dev": true - }, - "on-headers": { - "version": "1.0.1", - "from": "on-headers@>=1.0.1 <1.1.0", - "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.1.tgz", - "dev": true - }, - "once": { - "version": "1.4.0", - "from": "once@>=1.3.0 <2.0.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "dev": true - }, - "onetime": { - "version": "1.1.0", - "from": "onetime@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz", - "dev": true - }, - "opn": { - "version": "4.0.2", - "from": "opn@>=4.0.0 <5.0.0", - "resolved": "https://registry.npmjs.org/opn/-/opn-4.0.2.tgz", - "dev": true - }, - "optionator": { - "version": "0.8.2", - "from": "optionator@>=0.8.2 <0.9.0", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.2.tgz", - "dev": true - }, - "ora": { - "version": "1.1.0", - "from": "ora@>=1.1.0 <2.0.0", - "resolved": "https://registry.npmjs.org/ora/-/ora-1.1.0.tgz", - "dev": true, - "dependencies": { - "cli-cursor": { - "version": "2.1.0", - "from": "cli-cursor@>=2.1.0 <3.0.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", - "dev": true - }, - "onetime": { - "version": "2.0.0", - "from": "onetime@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.0.tgz", - "dev": true - }, - "restore-cursor": { - "version": "2.0.0", - "from": "restore-cursor@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", - "dev": true - } - } - }, - "os-homedir": { - "version": "1.0.2", - "from": "os-homedir@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", - "dev": true - }, - "os-locale": { - "version": "1.4.0", - "from": "os-locale@>=1.4.0 <2.0.0", - "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz", - "dev": true - }, - "os-tmpdir": { - "version": "1.0.2", - "from": "os-tmpdir@>=1.0.1 <2.0.0", - "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "dev": true - }, - "osenv": { - "version": "0.1.4", - "from": "osenv@>=0.0.0 <1.0.0", - "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.4.tgz", - "dev": true - }, - "package": { - "version": "1.0.1", - "from": "package@>=1.0.0 <1.2.0", - "resolved": "https://registry.npmjs.org/package/-/package-1.0.1.tgz", - "dev": true - }, - "parse-filepath": { - "version": "1.0.1", - "from": "parse-filepath@>=1.0.1 <2.0.0", - "resolved": "https://registry.npmjs.org/parse-filepath/-/parse-filepath-1.0.1.tgz", - "dev": true - }, - "parse-glob": { - "version": "3.0.4", - "from": "parse-glob@3.0.4", - "resolved": "https://registry.npmjs.org/parse-glob/-/parse-glob-3.0.4.tgz", - "dev": true - }, - "parse-json": { - "version": "2.2.0", - "from": "parse-json@>=2.2.0 <3.0.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", - "dev": true - }, - "parse-ms": { - "version": "1.0.1", - "from": "parse-ms@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/parse-ms/-/parse-ms-1.0.1.tgz", - "dev": true - }, - "parse-passwd": { - "version": "1.0.0", - "from": "parse-passwd@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz", - "dev": true - }, - "parserlib": { - "version": "0.2.5", - "from": "parserlib@>=0.2.2 <0.3.0", - "resolved": "https://registry.npmjs.org/parserlib/-/parserlib-0.2.5.tgz", - "dev": true - }, - "parseurl": { - "version": "1.3.1", - "from": "parseurl@>=1.3.1 <1.4.0", - "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.1.tgz", - "dev": true - }, - "path-exists": { - "version": "2.1.0", - "from": "path-exists@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", - "dev": true - }, - "path-is-absolute": { - "version": "1.0.1", - "from": "path-is-absolute@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "dev": true - }, - "path-is-inside": { - "version": "1.0.2", - "from": "path-is-inside@>=1.0.1 <2.0.0", - "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", - "dev": true - }, - "path-parse": { - "version": "1.0.5", - "from": "path-parse@>=1.0.5 <2.0.0", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.5.tgz", - "dev": true - }, - "path-root": { - "version": "0.1.1", - "from": "path-root@>=0.1.1 <0.2.0", - "resolved": "https://registry.npmjs.org/path-root/-/path-root-0.1.1.tgz", - "dev": true - }, - "path-root-regex": { - "version": "0.1.2", - "from": "path-root-regex@>=0.1.0 <0.2.0", - "resolved": "https://registry.npmjs.org/path-root-regex/-/path-root-regex-0.1.2.tgz", - "dev": true - }, - "path-type": { - "version": "1.1.0", - "from": "path-type@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", - "dev": true - }, - "pend": { - "version": "1.2.0", - "from": "pend@>=1.2.0 <1.3.0", - "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", - "dev": true - }, - "phantomjs-prebuilt": { - "version": "2.1.14", - "from": "phantomjs-prebuilt@>=2.1.3 <3.0.0", - "resolved": "https://registry.npmjs.org/phantomjs-prebuilt/-/phantomjs-prebuilt-2.1.14.tgz", - "dev": true - }, - "pify": { - "version": "2.3.0", - "from": "pify@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "dev": true - }, - "pinkie": { - "version": "2.0.4", - "from": "pinkie@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", - "dev": true - }, - "pinkie-promise": { - "version": "2.0.1", - "from": "pinkie-promise@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", - "dev": true - }, - "pkg-up": { - "version": "1.0.0", - "from": "pkg-up@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/pkg-up/-/pkg-up-1.0.0.tgz", - "dev": true - }, - "plur": { - "version": "1.0.0", - "from": "plur@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/plur/-/plur-1.0.0.tgz", - "dev": true - }, - "pluralize": { - "version": "1.2.1", - "from": "pluralize@>=1.2.1 <2.0.0", - "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-1.2.1.tgz", - "dev": true - }, - "portscanner": { - "version": "1.2.0", - "from": "portscanner@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/portscanner/-/portscanner-1.2.0.tgz", - "dev": true - }, - "postcss": { - "version": "5.2.16", - "from": "postcss@>=5.2.16 <6.0.0", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.16.tgz", - "dev": true - }, - "postcss-cli": { - "version": "3.0.0", - "from": "postcss-cli@>=3.0.0 <4.0.0", - "resolved": "https://registry.npmjs.org/postcss-cli/-/postcss-cli-3.0.0.tgz", - "dev": true, - "dependencies": { - "camelcase": { - "version": "3.0.0", - "from": "camelcase@>=3.0.0 <4.0.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz", - "dev": true - }, - "get-stdin": { - "version": "5.0.1", - "from": "get-stdin@>=5.0.1 <6.0.0", - "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-5.0.1.tgz", - "dev": true - }, - "globby": { - "version": "6.1.0", - "from": "globby@>=6.1.0 <7.0.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz", - "dev": true - }, - "yargs": { - "version": "7.0.2", - "from": "yargs@>=7.0.2 <8.0.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-7.0.2.tgz", - "dev": true - }, - "yargs-parser": { - "version": "5.0.0", - "from": "yargs-parser@>=5.0.0 <6.0.0", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-5.0.0.tgz", - "dev": true - } - } - }, - "postcss-flexbugs-fixes": { - "version": "2.1.0", - "from": "postcss-flexbugs-fixes@>=2.1.0 <3.0.0", - "resolved": "https://registry.npmjs.org/postcss-flexbugs-fixes/-/postcss-flexbugs-fixes-2.1.0.tgz", - "dev": true - }, - "postcss-load-config": { - "version": "1.2.0", - "from": "postcss-load-config@>=1.1.0 <2.0.0", - "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-1.2.0.tgz", - "dev": true - }, - "postcss-load-options": { - "version": "1.2.0", - "from": "postcss-load-options@>=1.2.0 <2.0.0", - "resolved": "https://registry.npmjs.org/postcss-load-options/-/postcss-load-options-1.2.0.tgz", - "dev": true - }, - "postcss-load-plugins": { - "version": "2.3.0", - "from": "postcss-load-plugins@>=2.3.0 <3.0.0", - "resolved": "https://registry.npmjs.org/postcss-load-plugins/-/postcss-load-plugins-2.3.0.tgz", - "dev": true - }, - "postcss-reporter": { - "version": "3.0.0", - "from": "postcss-reporter@>=3.0.0 <4.0.0", - "resolved": "https://registry.npmjs.org/postcss-reporter/-/postcss-reporter-3.0.0.tgz", - "dev": true - }, - "postcss-value-parser": { - "version": "3.3.0", - "from": "postcss-value-parser@>=3.2.3 <4.0.0", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.0.tgz", - "dev": true - }, - "prelude-ls": { - "version": "1.1.2", - "from": "prelude-ls@>=1.1.2 <1.2.0", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", - "dev": true - }, - "preserve": { - "version": "0.2.0", - "from": "preserve@>=0.2.0 <0.3.0", - "resolved": "https://registry.npmjs.org/preserve/-/preserve-0.2.0.tgz", - "dev": true - }, - "pretty-bytes": { - "version": "3.0.1", - "from": "pretty-bytes@>=3.0.1 <4.0.0", - "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-3.0.1.tgz", - "dev": true - }, - "pretty-ms": { - "version": "2.1.0", - "from": "pretty-ms@>=2.1.0 <3.0.0", - "resolved": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-2.1.0.tgz", - "dev": true - }, - "private": { - "version": "0.1.7", - "from": "private@>=0.1.6 <0.2.0", - "resolved": "https://registry.npmjs.org/private/-/private-0.1.7.tgz", - "dev": true - }, - "process-nextick-args": { - "version": "1.0.7", - "from": "process-nextick-args@>=1.0.6 <1.1.0", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz", - "dev": true - }, - "progress": { - "version": "1.1.8", - "from": "progress@>=1.1.8 <2.0.0", - "resolved": "https://registry.npmjs.org/progress/-/progress-1.1.8.tgz", - "dev": true - }, - "promise": { - "version": "7.1.1", - "from": "promise@>=7.1.1 <8.0.0", - "resolved": "https://registry.npmjs.org/promise/-/promise-7.1.1.tgz", - "dev": true - }, - "pseudomap": { - "version": "1.0.2", - "from": "pseudomap@>=1.0.1 <2.0.0", - "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", - "dev": true - }, - "punycode": { - "version": "1.4.1", - "from": "punycode@>=1.4.1 <2.0.0", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", - "dev": true - }, - "q": { - "version": "1.4.1", - "from": "q@>=1.4.1 <1.5.0", - "resolved": "https://registry.npmjs.org/q/-/q-1.4.1.tgz", - "dev": true - }, - "qs": { - "version": "6.3.2", - "from": "qs@>=6.3.0 <6.4.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.3.2.tgz", - "dev": true - }, - "randomatic": { - "version": "1.1.6", - "from": "randomatic@>=1.1.3 <2.0.0", - "resolved": "https://registry.npmjs.org/randomatic/-/randomatic-1.1.6.tgz", - "dev": true - }, - "range-parser": { - "version": "1.2.0", - "from": "range-parser@>=1.2.0 <1.3.0", - "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.0.tgz", - "dev": true - }, - "raw-body": { - "version": "2.1.7", - "from": "raw-body@>=2.1.5 <2.2.0", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.1.7.tgz", - "dev": true, - "dependencies": { - "bytes": { - "version": "2.4.0", - "from": "bytes@2.4.0", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-2.4.0.tgz", - "dev": true - }, - "iconv-lite": { - "version": "0.4.13", - "from": "iconv-lite@0.4.13", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.13.tgz", - "dev": true - } - } - }, - "read-pkg": { - "version": "1.1.0", - "from": "read-pkg@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", - "dev": true - }, - "read-pkg-up": { - "version": "1.0.1", - "from": "read-pkg-up@>=1.0.1 <2.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", - "dev": true - }, - "readable-stream": { - "version": "2.2.6", - "from": "readable-stream@>=2.2.2 <3.0.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.2.6.tgz", - "dev": true - }, - "readdirp": { - "version": "2.1.0", - "from": "readdirp@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.1.0.tgz", - "dev": true - }, - "readline2": { - "version": "1.0.1", - "from": "readline2@>=1.0.1 <2.0.0", - "resolved": "https://registry.npmjs.org/readline2/-/readline2-1.0.1.tgz", - "dev": true - }, - "rechoir": { - "version": "0.6.2", - "from": "rechoir@>=0.6.2 <0.7.0", - "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz", - "dev": true - }, - "redent": { - "version": "1.0.0", - "from": "redent@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz", - "dev": true - }, - "regenerate": { - "version": "1.3.2", - "from": "regenerate@>=1.2.1 <2.0.0", - "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.3.2.tgz", - "dev": true - }, - "regenerator-runtime": { - "version": "0.10.3", - "from": "regenerator-runtime@>=0.10.0 <0.11.0", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.10.3.tgz", - "dev": true - }, - "regenerator-transform": { - "version": "0.9.8", - "from": "regenerator-transform@0.9.8", - "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.9.8.tgz", - "dev": true - }, - "regex-cache": { - "version": "0.4.3", - "from": "regex-cache@>=0.4.2 <0.5.0", - "resolved": "https://registry.npmjs.org/regex-cache/-/regex-cache-0.4.3.tgz", - "dev": true - }, - "regexpu-core": { - "version": "2.0.0", - "from": "regexpu-core@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-2.0.0.tgz", - "dev": true - }, - "regjsgen": { - "version": "0.2.0", - "from": "regjsgen@>=0.2.0 <0.3.0", - "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.2.0.tgz", - "dev": true - }, - "regjsparser": { - "version": "0.1.5", - "from": "regjsparser@>=0.1.4 <0.2.0", - "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.1.5.tgz", - "dev": true - }, - "repeat-element": { - "version": "1.1.2", - "from": "repeat-element@>=1.1.2 <2.0.0", - "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.2.tgz", - "dev": true - }, - "repeat-string": { - "version": "1.6.1", - "from": "repeat-string@>=1.5.2 <2.0.0", - "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", - "dev": true - }, - "repeating": { - "version": "2.0.1", - "from": "repeating@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", - "dev": true - }, - "request": { - "version": "2.79.0", - "from": "request@>=2.79.0 <2.80.0", - "resolved": "https://registry.npmjs.org/request/-/request-2.79.0.tgz", - "dev": true - }, - "request-progress": { - "version": "2.0.1", - "from": "request-progress@>=2.0.1 <2.1.0", - "resolved": "https://registry.npmjs.org/request-progress/-/request-progress-2.0.1.tgz", - "dev": true - }, - "requestretry": { - "version": "1.9.1", - "from": "requestretry@>=1.9.0 <1.10.0", - "resolved": "https://registry.npmjs.org/requestretry/-/requestretry-1.9.1.tgz", - "dev": true - }, - "require-directory": { - "version": "2.1.1", - "from": "require-directory@>=2.1.1 <3.0.0", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "dev": true - }, - "require-from-string": { - "version": "1.2.1", - "from": "require-from-string@>=1.1.0 <2.0.0", - "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-1.2.1.tgz", - "dev": true - }, - "require-main-filename": { - "version": "1.0.1", - "from": "require-main-filename@>=1.0.1 <2.0.0", - "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz", - "dev": true - }, - "require-uncached": { - "version": "1.0.3", - "from": "require-uncached@>=1.0.2 <2.0.0", - "resolved": "https://registry.npmjs.org/require-uncached/-/require-uncached-1.0.3.tgz", - "dev": true - }, - "resolve": { - "version": "1.3.2", - "from": "resolve@>=1.1.6 <2.0.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.3.2.tgz", - "dev": true - }, - "resolve-dir": { - "version": "0.1.1", - "from": "resolve-dir@>=0.1.0 <0.2.0", - "resolved": "https://registry.npmjs.org/resolve-dir/-/resolve-dir-0.1.1.tgz", - "dev": true - }, - "resolve-from": { - "version": "1.0.1", - "from": "resolve-from@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-1.0.1.tgz", - "dev": true - }, - "resolve-pkg": { - "version": "0.1.0", - "from": "resolve-pkg@>=0.1.0 <0.2.0", - "resolved": "https://registry.npmjs.org/resolve-pkg/-/resolve-pkg-0.1.0.tgz", - "dev": true, - "dependencies": { - "resolve-from": { - "version": "2.0.0", - "from": "resolve-from@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-2.0.0.tgz", - "dev": true - } - } - }, - "restore-cursor": { - "version": "1.0.1", - "from": "restore-cursor@>=1.0.1 <2.0.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-1.0.1.tgz", - "dev": true - }, - "right-align": { - "version": "0.1.3", - "from": "right-align@>=0.1.1 <0.2.0", - "resolved": "https://registry.npmjs.org/right-align/-/right-align-0.1.3.tgz", - "dev": true - }, - "rimraf": { - "version": "2.6.1", - "from": "rimraf@>=2.2.8 <3.0.0", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.1.tgz", - "dev": true - }, - "run-async": { - "version": "0.1.0", - "from": "run-async@>=0.1.0 <0.2.0", - "resolved": "https://registry.npmjs.org/run-async/-/run-async-0.1.0.tgz", - "dev": true - }, - "rx-lite": { - "version": "3.1.2", - "from": "rx-lite@>=3.1.2 <4.0.0", - "resolved": "https://registry.npmjs.org/rx-lite/-/rx-lite-3.1.2.tgz", - "dev": true - }, - "sass-graph": { - "version": "2.1.2", - "from": "sass-graph@>=2.1.1 <3.0.0", - "resolved": "https://registry.npmjs.org/sass-graph/-/sass-graph-2.1.2.tgz", - "dev": true, - "dependencies": { - "camelcase": { - "version": "3.0.0", - "from": "camelcase@>=3.0.0 <4.0.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz", - "dev": true - }, - "yargs": { - "version": "4.8.1", - "from": "yargs@>=4.7.1 <5.0.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-4.8.1.tgz", - "dev": true - }, - "yargs-parser": { - "version": "2.4.1", - "from": "yargs-parser@>=2.4.1 <3.0.0", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-2.4.1.tgz", - "dev": true - } - } - }, - "sauce-tunnel": { - "version": "2.5.0", - "from": "sauce-tunnel@>=2.5.0 <2.6.0", - "resolved": "https://registry.npmjs.org/sauce-tunnel/-/sauce-tunnel-2.5.0.tgz", - "dev": true - }, - "saucelabs": { - "version": "1.2.0", - "from": "saucelabs@>=1.2.0 <1.3.0", - "resolved": "https://registry.npmjs.org/saucelabs/-/saucelabs-1.2.0.tgz", - "dev": true - }, - "semver": { - "version": "5.3.0", - "from": "semver@>=2.0.0 <3.0.0||>=3.0.0 <4.0.0||>=4.0.0 <5.0.0||>=5.0.0 <6.0.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz", - "dev": true - }, - "send": { - "version": "0.15.1", - "from": "send@0.15.1", - "resolved": "https://registry.npmjs.org/send/-/send-0.15.1.tgz", - "dev": true, - "dependencies": { - "debug": { - "version": "2.6.1", - "from": "debug@2.6.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.1.tgz", - "dev": true - }, - "http-errors": { - "version": "1.6.1", - "from": "http-errors@>=1.6.1 <1.7.0", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.1.tgz", - "dev": true - }, - "setprototypeof": { - "version": "1.0.3", - "from": "setprototypeof@1.0.3", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.0.3.tgz", - "dev": true - } - } - }, - "serve-index": { - "version": "1.8.0", - "from": "serve-index@>=1.7.1 <2.0.0", - "resolved": "https://registry.npmjs.org/serve-index/-/serve-index-1.8.0.tgz", - "dev": true, - "dependencies": { - "debug": { - "version": "2.2.0", - "from": "debug@>=2.2.0 <2.3.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.2.0.tgz", - "dev": true - }, - "ms": { - "version": "0.7.1", - "from": "ms@0.7.1", - "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.1.tgz", - "dev": true - } - } - }, - "serve-static": { - "version": "1.12.1", - "from": "serve-static@>=1.10.0 <2.0.0", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.12.1.tgz", - "dev": true - }, - "set-blocking": { - "version": "2.0.0", - "from": "set-blocking@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", - "dev": true - }, - "set-immediate-shim": { - "version": "1.0.1", - "from": "set-immediate-shim@>=1.0.1 <2.0.0", - "resolved": "https://registry.npmjs.org/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz", - "dev": true - }, - "setprototypeof": { - "version": "1.0.2", - "from": "setprototypeof@1.0.2", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.0.2.tgz", - "dev": true - }, - "shelljs": { - "version": "0.7.7", - "from": "shelljs@>=0.7.7 <0.8.0", - "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.7.7.tgz", - "dev": true - }, - "shx": { - "version": "0.2.2", - "from": "shx@>=0.2.2 <0.3.0", - "resolved": "https://registry.npmjs.org/shx/-/shx-0.2.2.tgz", - "dev": true, - "dependencies": { - "minimist": { - "version": "1.2.0", - "from": "minimist@>=1.2.0 <2.0.0", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", - "dev": true - } - } - }, - "sigmund": { - "version": "1.0.1", - "from": "sigmund@>=1.0.0 <1.1.0", - "resolved": "https://registry.npmjs.org/sigmund/-/sigmund-1.0.1.tgz", - "dev": true - }, - "signal-exit": { - "version": "3.0.2", - "from": "signal-exit@>=3.0.0 <4.0.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", - "dev": true - }, - "slash": { - "version": "1.0.0", - "from": "slash@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz", - "dev": true - }, - "slice-ansi": { - "version": "0.0.4", - "from": "slice-ansi@0.0.4", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-0.0.4.tgz", - "dev": true - }, - "sntp": { - "version": "1.0.9", - "from": "sntp@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/sntp/-/sntp-1.0.9.tgz", - "dev": true - }, - "source-map": { - "version": "0.5.6", - "from": "source-map@>=0.5.6 <0.6.0", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.6.tgz", - "dev": true - }, - "source-map-support": { - "version": "0.4.14", - "from": "source-map-support@>=0.4.2 <0.5.0", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.14.tgz", - "dev": true - }, - "spdx-correct": { - "version": "1.0.2", - "from": "spdx-correct@>=1.0.0 <1.1.0", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-1.0.2.tgz", - "dev": true - }, - "spdx-expression-parse": { - "version": "1.0.4", - "from": "spdx-expression-parse@>=1.0.0 <1.1.0", - "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-1.0.4.tgz", - "dev": true - }, - "spdx-license-ids": { - "version": "1.2.2", - "from": "spdx-license-ids@>=1.0.2 <2.0.0", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-1.2.2.tgz", - "dev": true - }, - "split": { - "version": "1.0.0", - "from": "split@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/split/-/split-1.0.0.tgz", - "dev": true - }, - "sprintf-js": { - "version": "1.0.3", - "from": "sprintf-js@>=1.0.2 <1.1.0", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "dev": true - }, - "sshpk": { - "version": "1.11.0", - "from": "sshpk@>=1.7.0 <2.0.0", - "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.11.0.tgz", - "dev": true, - "dependencies": { - "assert-plus": { - "version": "1.0.0", - "from": "assert-plus@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "dev": true - } - } - }, - "statuses": { - "version": "1.3.1", - "from": "statuses@>=1.3.1 <1.4.0", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.3.1.tgz", - "dev": true - }, - "stdout-stream": { - "version": "1.4.0", - "from": "stdout-stream@>=1.4.0 <2.0.0", - "resolved": "https://registry.npmjs.org/stdout-stream/-/stdout-stream-1.4.0.tgz", - "dev": true - }, - "stream-buffers": { - "version": "2.2.0", - "from": "stream-buffers@>=2.1.0 <3.0.0", - "resolved": "https://registry.npmjs.org/stream-buffers/-/stream-buffers-2.2.0.tgz", - "dev": true - }, - "string_decoder": { - "version": "0.10.31", - "from": "string_decoder@>=0.10.0 <0.11.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", - "dev": true - }, - "string-width": { - "version": "1.0.2", - "from": "string-width@>=1.0.1 <2.0.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", - "dev": true - }, - "stringstream": { - "version": "0.0.5", - "from": "stringstream@>=0.0.4 <0.1.0", - "resolved": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz", - "dev": true - }, - "strip-ansi": { - "version": "3.0.1", - "from": "strip-ansi@>=3.0.0 <4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "dev": true - }, - "strip-bom": { - "version": "3.0.0", - "from": "strip-bom@>=3.0.0 <4.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "dev": true - }, - "strip-indent": { - "version": "1.0.1", - "from": "strip-indent@>=1.0.1 <2.0.0", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz", - "dev": true - }, - "strip-json-comments": { - "version": "2.0.1", - "from": "strip-json-comments@>=2.0.1 <2.1.0", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", - "dev": true - }, - "supports-color": { - "version": "3.2.3", - "from": "supports-color@>=3.2.3 <4.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "dev": true - }, - "table": { - "version": "3.8.3", - "from": "table@>=3.7.8 <4.0.0", - "resolved": "https://registry.npmjs.org/table/-/table-3.8.3.tgz", - "dev": true, - "dependencies": { - "is-fullwidth-code-point": { - "version": "2.0.0", - "from": "is-fullwidth-code-point@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "dev": true - }, - "string-width": { - "version": "2.0.0", - "from": "string-width@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.0.0.tgz", - "dev": true - } - } - }, - "tar": { - "version": "2.2.1", - "from": "tar@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/tar/-/tar-2.2.1.tgz", - "dev": true - }, - "tar-stream": { - "version": "1.5.2", - "from": "tar-stream@>=1.5.0 <2.0.0", - "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-1.5.2.tgz", - "dev": true - }, - "temporary": { - "version": "0.0.8", - "from": "temporary@>=0.0.8 <0.0.9", - "resolved": "https://registry.npmjs.org/temporary/-/temporary-0.0.8.tgz", - "dev": true - }, - "tether": { - "version": "1.4.0", - "from": "tether@>=1.4.0 <2.0.0", - "resolved": "https://registry.npmjs.org/tether/-/tether-1.4.0.tgz" - }, - "text-table": { - "version": "0.2.0", - "from": "text-table@>=0.2.0 <0.3.0", - "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", - "dev": true - }, - "thenify": { - "version": "3.2.1", - "from": "thenify@>=3.1.0 <4.0.0", - "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.2.1.tgz", - "dev": true - }, - "thenify-all": { - "version": "1.6.0", - "from": "thenify-all@>=1.6.0 <2.0.0", - "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz", - "dev": true - }, - "throttleit": { - "version": "1.0.0", - "from": "throttleit@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/throttleit/-/throttleit-1.0.0.tgz", - "dev": true - }, - "through": { - "version": "2.3.8", - "from": "through@>=2.3.6 <3.0.0", - "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "dev": true - }, - "time-grunt": { - "version": "1.4.0", - "from": "time-grunt@>=1.4.0 <2.0.0", - "resolved": "https://registry.npmjs.org/time-grunt/-/time-grunt-1.4.0.tgz", - "dev": true - }, - "time-zone": { - "version": "0.1.0", - "from": "time-zone@>=0.1.0 <0.2.0", - "resolved": "https://registry.npmjs.org/time-zone/-/time-zone-0.1.0.tgz", - "dev": true - }, - "tiny-lr": { - "version": "0.2.1", - "from": "tiny-lr@>=0.2.1 <0.3.0", - "resolved": "https://registry.npmjs.org/tiny-lr/-/tiny-lr-0.2.1.tgz", - "dev": true, - "dependencies": { - "debug": { - "version": "2.2.0", - "from": "debug@>=2.2.0 <2.3.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.2.0.tgz", - "dev": true - }, - "ms": { - "version": "0.7.1", - "from": "ms@0.7.1", - "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.1.tgz", - "dev": true - }, - "qs": { - "version": "5.1.0", - "from": "qs@>=5.1.0 <5.2.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-5.1.0.tgz", - "dev": true - } - } - }, - "to-fast-properties": { - "version": "1.0.2", - "from": "to-fast-properties@>=1.0.1 <2.0.0", - "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.2.tgz", - "dev": true - }, - "tough-cookie": { - "version": "2.3.2", - "from": "tough-cookie@>=2.3.0 <2.4.0", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.2.tgz", - "dev": true - }, - "trim-newlines": { - "version": "1.0.0", - "from": "trim-newlines@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz", - "dev": true - }, - "trim-right": { - "version": "1.0.1", - "from": "trim-right@>=1.0.1 <2.0.0", - "resolved": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz", - "dev": true - }, - "tryit": { - "version": "1.0.3", - "from": "tryit@>=1.0.1 <2.0.0", - "resolved": "https://registry.npmjs.org/tryit/-/tryit-1.0.3.tgz", - "dev": true - }, - "tunnel-agent": { - "version": "0.4.3", - "from": "tunnel-agent@>=0.4.1 <0.5.0", - "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.4.3.tgz", - "dev": true - }, - "tweetnacl": { - "version": "0.14.5", - "from": "tweetnacl@>=0.14.0 <0.15.0", - "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", - "dev": true, - "optional": true - }, - "type-check": { - "version": "0.3.2", - "from": "type-check@>=0.3.2 <0.4.0", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", - "dev": true - }, - "type-is": { - "version": "1.6.14", - "from": "type-is@>=1.6.10 <1.7.0", - "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.14.tgz", - "dev": true - }, - "typedarray": { - "version": "0.0.6", - "from": "typedarray@>=0.0.6 <0.0.7", - "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", - "dev": true - }, - "uglify-js": { - "version": "2.8.14", - "from": "uglify-js@>=2.8.14 <3.0.0", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.8.14.tgz", - "dev": true, - "dependencies": { - "camelcase": { - "version": "1.2.1", - "from": "camelcase@>=1.0.2 <2.0.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz", - "dev": true - }, - "cliui": { - "version": "2.1.0", - "from": "cliui@>=2.1.0 <3.0.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-2.1.0.tgz", - "dev": true - }, - "window-size": { - "version": "0.1.0", - "from": "window-size@0.1.0", - "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.1.0.tgz", - "dev": true - }, - "wordwrap": { - "version": "0.0.2", - "from": "wordwrap@0.0.2", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz", - "dev": true - }, - "yargs": { - "version": "3.10.0", - "from": "yargs@>=3.10.0 <3.11.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz", - "dev": true - } - } - }, - "uglify-to-browserify": { - "version": "1.0.2", - "from": "uglify-to-browserify@>=1.0.0 <1.1.0", - "resolved": "https://registry.npmjs.org/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz", - "dev": true - }, - "unc-path-regex": { - "version": "0.1.2", - "from": "unc-path-regex@>=0.1.0 <0.2.0", - "resolved": "https://registry.npmjs.org/unc-path-regex/-/unc-path-regex-0.1.2.tgz", - "dev": true - }, - "underscore.string": { - "version": "3.2.3", - "from": "underscore.string@>=3.2.3 <3.3.0", - "resolved": "https://registry.npmjs.org/underscore.string/-/underscore.string-3.2.3.tgz", - "dev": true - }, - "unpipe": { - "version": "1.0.0", - "from": "unpipe@>=1.0.0 <1.1.0", - "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", - "dev": true - }, - "user-home": { - "version": "2.0.0", - "from": "user-home@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/user-home/-/user-home-2.0.0.tgz", - "dev": true - }, - "util-deprecate": { - "version": "1.0.2", - "from": "util-deprecate@>=1.0.1 <1.1.0", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "dev": true - }, - "utils-merge": { - "version": "1.0.0", - "from": "utils-merge@1.0.0", - "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.0.tgz", - "dev": true - }, - "uuid": { - "version": "3.0.1", - "from": "uuid@>=3.0.0 <4.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.0.1.tgz", - "dev": true - }, - "validate-npm-package-license": { - "version": "3.0.1", - "from": "validate-npm-package-license@>=3.0.1 <4.0.0", - "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.1.tgz", - "dev": true - }, - "verror": { - "version": "1.3.6", - "from": "verror@1.3.6", - "resolved": "https://registry.npmjs.org/verror/-/verror-1.3.6.tgz", - "dev": true - }, - "walkdir": { - "version": "0.0.11", - "from": "walkdir@>=0.0.11 <0.0.12", - "resolved": "https://registry.npmjs.org/walkdir/-/walkdir-0.0.11.tgz", - "dev": true - }, - "websocket-driver": { - "version": "0.6.5", - "from": "websocket-driver@>=0.5.1", - "resolved": "https://registry.npmjs.org/websocket-driver/-/websocket-driver-0.6.5.tgz", - "dev": true - }, - "websocket-extensions": { - "version": "0.1.1", - "from": "websocket-extensions@>=0.1.1", - "resolved": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.1.tgz", - "dev": true - }, - "when": { - "version": "3.7.8", - "from": "when@>=3.7.5 <3.8.0", - "resolved": "https://registry.npmjs.org/when/-/when-3.7.8.tgz", - "dev": true - }, - "which": { - "version": "1.2.12", - "from": "which@>=1.2.1 <1.3.0", - "resolved": "https://registry.npmjs.org/which/-/which-1.2.12.tgz", - "dev": true - }, - "which-module": { - "version": "1.0.0", - "from": "which-module@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/which-module/-/which-module-1.0.0.tgz", - "dev": true - }, - "wide-align": { - "version": "1.1.0", - "from": "wide-align@>=1.1.0 <2.0.0", - "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.0.tgz", - "dev": true - }, - "window-size": { - "version": "0.2.0", - "from": "window-size@>=0.2.0 <0.3.0", - "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.2.0.tgz", - "dev": true - }, - "wordwrap": { - "version": "1.0.0", - "from": "wordwrap@>=1.0.0 <1.1.0", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", - "dev": true - }, - "wrap-ansi": { - "version": "2.1.0", - "from": "wrap-ansi@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", - "dev": true - }, - "wrappy": { - "version": "1.0.2", - "from": "wrappy@>=1.0.0 <2.0.0", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "dev": true - }, - "write": { - "version": "0.2.1", - "from": "write@>=0.2.1 <0.3.0", - "resolved": "https://registry.npmjs.org/write/-/write-0.2.1.tgz", - "dev": true - }, - "xml": { - "version": "1.0.0", - "from": "xml@1.0.0", - "resolved": "https://registry.npmjs.org/xml/-/xml-1.0.0.tgz", - "dev": true - }, - "xtend": { - "version": "4.0.1", - "from": "xtend@>=4.0.0 <5.0.0", - "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz", - "dev": true - }, - "y18n": { - "version": "3.2.1", - "from": "y18n@>=3.2.1 <4.0.0", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz", - "dev": true - }, - "yallist": { - "version": "2.1.2", - "from": "yallist@>=2.0.0 <3.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", - "dev": true - }, - "yargs": { - "version": "6.6.0", - "from": "yargs@>=6.6.0 <7.0.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-6.6.0.tgz", - "dev": true, - "dependencies": { - "camelcase": { - "version": "3.0.0", - "from": "camelcase@>=3.0.0 <4.0.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz", - "dev": true - } - } - }, - "yargs-parser": { - "version": "4.2.1", - "from": "yargs-parser@>=4.2.0 <5.0.0", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-4.2.1.tgz", - "dev": true, - "dependencies": { - "camelcase": { - "version": "3.0.0", - "from": "camelcase@>=3.0.0 <4.0.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz", - "dev": true - } - } - }, - "yauzl": { - "version": "2.4.1", - "from": "yauzl@2.4.1", - "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.4.1.tgz", - "dev": true - }, - "zip-stream": { - "version": "1.1.1", - "from": "zip-stream@>=1.1.0 <2.0.0", - "resolved": "https://registry.npmjs.org/zip-stream/-/zip-stream-1.1.1.tgz", - "dev": true - } - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/grunt/postcss.config.js b/minionlivesmatter/templates/assets/bootstrap/grunt/postcss.config.js deleted file mode 100644 index 803078a..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/grunt/postcss.config.js +++ /dev/null @@ -1,41 +0,0 @@ -module.exports = (ctx) => ({ - map: ctx.file.dirname.startsWith('docs') ? false : { - inline: false, - annotation: true, - sourcesContent: true - }, - plugins: { - autoprefixer: { - browsers: [ - // - // Official browser support policy: - // https://v4-alpha.getbootstrap.com/getting-started/browsers-devices/#supported-browsers - // - 'Chrome >= 35', // Exact version number here is kinda arbitrary - // Rather than using Autoprefixer's native "Firefox ESR" version specifier string, - // we deliberately hardcode the number. This is to avoid unwittingly severely breaking the previous ESR in the event that: - // (a) we happen to ship a new Bootstrap release soon after the release of a new ESR, - // such that folks haven't yet had a reasonable amount of time to upgrade; and - // (b) the new ESR has unprefixed CSS properties/values whose absence would severely break webpages - // (e.g. `box-sizing`, as opposed to `background: linear-gradient(...)`). - // Since they've been unprefixed, Autoprefixer will stop prefixing them, - // thus causing them to not work in the previous ESR (where the prefixes were required). - 'Firefox >= 38', // Current Firefox Extended Support Release (ESR); https://www.mozilla.org/en-US/firefox/organizations/faq/ - // Note: Edge versions in Autoprefixer & Can I Use refer to the EdgeHTML rendering engine version, - // NOT the Edge app version shown in Edge's "About" screen. - // For example, at the time of writing, Edge 20 on an up-to-date system uses EdgeHTML 12. - // See also https://github.com/Fyrd/caniuse/issues/1928 - 'Edge >= 12', - 'Explorer >= 10', - // Out of leniency, we prefix these 1 version further back than the official policy. - 'iOS >= 8', - 'Safari >= 8', - // The following remain NOT officially supported, but we're lenient and include their prefixes to avoid severely breaking in them. - 'Android 2.3', - 'Android >= 4', - 'Opera >= 12' - ] - }, - 'postcss-flexbugs-fixes': {} - } -}) diff --git a/minionlivesmatter/templates/assets/bootstrap/grunt/sauce_browsers.yml b/minionlivesmatter/templates/assets/bootstrap/grunt/sauce_browsers.yml deleted file mode 100644 index 4d5041b..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/grunt/sauce_browsers.yml +++ /dev/null @@ -1,84 +0,0 @@ -[ - # Docs: https://wiki.saucelabs.com/display/DOCS/Platform+Configurator - - { - browserName: "safari", - platform: "OS X 10.11" - }, - { - browserName: "chrome", - platform: "OS X 10.11", - version: "latest" - }, - { - browserName: "firefox", - platform: "OS X 10.11", - version: "latest" - }, - - # Mac Opera not currently supported by Sauce Labs - - { - browserName: "MicrosoftEdge", - platform: "Windows 10", - version: "latest" - }, - { - browserName: "internet explorer", - version: "11", - platform: "Windows 8.1" - }, - { - browserName: "internet explorer", - version: "10", - platform: "Windows 8" - }, - { - browserName: "internet explorer", - version: "9", - platform: "Windows 7" - }, - - { - browserName: "chrome", - platform: "Windows 10", - version: "latest" - }, - { - browserName: "firefox", - platform: "Windows 10", - version: "latest" - }, - - # Win Opera 15+ not currently supported by Sauce Labs - - { - browserName: "Safari", - deviceName: "iPhone Simulator", - platformVersion: "9.3", - platformName: "iOS" - }, - - # iOS Chrome not currently supported by Sauce Labs - - # Linux (unofficial) - { - browserName: "chrome", - platform: "Linux", - version: "latest" - }, - { - browserName: "firefox", - platform: "Linux", - version: "latest" - }, - - # Android - { - platform: "Linux", - browserName: "android", - deviceName: "Android Emulator", - version: "latest", - deviceType: "phone" - } -] diff --git a/minionlivesmatter/templates/assets/bootstrap/grunt/upload-preview.sh b/minionlivesmatter/templates/assets/bootstrap/grunt/upload-preview.sh deleted file mode 100755 index 08e7fa2..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/grunt/upload-preview.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash -# Upload built docs to preview.twbsapps.com - -if [ "$TRAVIS_REPO_SLUG" != twbs-savage/bootstrap ]; then exit 0; fi - -# Add build metadata to version -sed -i "/^current_version:/ s/\$/+pr.${TRAVIS_COMMIT}/" _config.yml -# Fix URLs since the site's root is now a subdirectory -bundle exec jekyll build --destination "$TRAVIS_COMMIT" --baseurl "/c/${TRAVIS_COMMIT}" - -# Install gcloud & gsutil -GSUTIL_VERSION=$(gsutil version | cut -d ' ' -f 3) -if [ ! -d "${HOME}/google-cloud-sdk" ] || [ "${GSUTIL_VERSION}" != '4.19' ]; then - rm -rf "${HOME}/google-cloud-sdk" # Kill Travis' outdated non-updateable preinstalled version - echo 'Installing google-cloud-sdk...' - export CLOUDSDK_CORE_DISABLE_PROMPTS=1 - time (curl -S -s https://sdk.cloud.google.com | bash &>/dev/null) - echo 'Done.' -fi -source "${HOME}/google-cloud-sdk/path.bash.inc" - -openssl aes-256-cbc -K $encrypted_2b749c8e6327_key -iv $encrypted_2b749c8e6327_iv -in grunt/gcp-key.json.enc -out grunt/gcp-key.json -d -gcloud auth activate-service-account "$GCP_SERVICE_ACCOUNT" --key-file grunt/gcp-key.json &> /dev/null || (echo 'GCP login failed!'; exit 1) - -echo "Uploading to http://preview.twbsapps.com/c/${TRAVIS_COMMIT} ..." -time gsutil -q -m cp -z html,css,js,svg -r "./${TRAVIS_COMMIT}" gs://preview.twbsapps.com/c/ -echo 'Done.' diff --git a/minionlivesmatter/templates/assets/bootstrap/js/.eslintrc.json b/minionlivesmatter/templates/assets/bootstrap/js/.eslintrc.json deleted file mode 100644 index 07a307a..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/js/.eslintrc.json +++ /dev/null @@ -1,240 +0,0 @@ -{ - "root": true, - "parser": "babel-eslint", - "env": { - "browser": true, - "es6": true, - "jquery": true - }, - "extends": "eslint:recommended", - "parserOptions": { - "ecmaVersion": 8, - "sourceType": "module" - }, - "rules": { - // Possible Errors - "no-await-in-loop": "error", - "no-compare-neg-zero": "error", - "no-extra-parens": "error", - "no-prototype-builtins": "off", - "no-template-curly-in-string": "error", - "no-unsafe-negation": "error", - "valid-jsdoc": "error", - - // Best Practices - "accessor-pairs": "error", - "array-callback-return": "error", - "block-scoped-var": "error", - "class-methods-use-this": "off", - "complexity": "error", - "consistent-return": "error", - "curly": "error", - "default-case": "error", - "dot-location": ["error", "property"], - "dot-notation": "error", - "eqeqeq": "error", - "guard-for-in": "error", - "no-alert": "error", - "no-caller": "error", - "no-div-regex": "error", - "no-else-return": "error", - "no-empty-function": "error", - "no-eq-null": "error", - "no-eval": "error", - "no-extend-native": "error", - "no-extra-bind": "error", - "no-extra-label": "error", - "no-floating-decimal": "error", - "no-global-assign": "error", - "no-implicit-coercion": "error", - "no-implicit-globals": "error", - "no-implied-eval": "error", - "no-invalid-this": "off", - "no-iterator": "error", - "no-labels": "error", - "no-lone-blocks": "error", - "no-loop-func": "error", - "no-magic-numbers": ["error", { - "ignore": [-1, 0, 1], - "ignoreArrayIndexes": true - } - ], - "no-multi-spaces": ["error", { - "exceptions": { - "AssignmentExpression": true, - "ArrowFunctionExpression": true, - "CallExpression": true, - "VariableDeclarator": true - } - } - ], - "no-multi-str": "error", - "no-new": "error", - "no-new-func": "off", - "no-new-wrappers": "error", - "no-new": "error", - "no-octal-escape": "error", - "no-param-reassign": "off", - "no-proto": "error", - "no-restricted-properties": "error", - "no-return-assign": "off", - "no-return-await": "error", - "no-script-url": "error", - "no-self-compare": "error", - "no-sequences": "error", - "no-throw-literal": "error", - "no-unmodified-loop-condition": "error", - "no-unused-expressions": "error", - "no-useless-call": "error", - "no-useless-concat": "error", - "no-useless-escape": "error", - "no-useless-return": "off", - "no-void": "error", - "no-warning-comments": "off", - "no-with": "error", - "prefer-promise-reject-errors": "error", - "radix": "error", - "vars-on-top": "error", - "wrap-iife": "error", - "yoda": "error", - - // Strict Mode - "strict": "error", - - // Variables - "init-declarations": "off", - "no-catch-shadow": "error", - "no-label-var": "error", - "no-restricted-globals": "error", - "no-shadow": "off", - "no-shadow-restricted-names": "error", - "no-undef-init": "error", - "no-undefined": "off", - "no-use-before-define": "off", - - // Node.js and CommonJS - "callback-return": "off", - "global-require": "error", - "handle-callback-err": "error", - "no-mixed-requires": "error", - "no-new-require": "error", - "no-path-concat": "error", - "no-process-env": "error", - "no-process-exit": "error", - "no-restricted-modules": "error", - "no-sync": "error", - - // Stylistic Issues - "array-bracket-spacing": "error", - "block-spacing": "error", - "brace-style": "error", - "capitalized-comments": "off", - "camelcase": "error", - "comma-dangle": "error", - "comma-spacing": "error", - "comma-style": "error", - "computed-property-spacing": "error", - "consistent-this": "error", - "eol-last": "error", - "func-call-spacing": "error", - "func-name-matching": "error", - "func-names": "off", - "func-style": ["error", "declaration"], - "id-blacklist": "error", - "id-length": "off", - "id-match": "error", - "indent": ["error", 2, { "SwitchCase": 1 }], - "jsx-quotes": "error", - "key-spacing": "off", - "keyword-spacing": "error", - "line-comment-position": "off", - "linebreak-style": ["error", "unix"], - "lines-around-comment": "off", - "lines-around-directive": "error", - "max-depth": ["error", 10], - "max-len": "off", - "max-lines": "off", - "max-nested-callbacks": "error", - "max-params": "off", - "max-statements": "off", - "max-statements-per-line": "error", - "multiline-ternary": "off", - "new-cap": ["error", { "capIsNewExceptionPattern": "$.*" }], - "new-parens": "error", - "newline-after-var": "off", - "newline-before-return": "off", - "newline-per-chained-call": ["error", { "ignoreChainWithDepth": 5 }], - "no-array-constructor": "error", - "no-bitwise": "error", - "no-continue": "off", - "no-inline-comments": "off", - "no-lonely-if": "error", - "no-mixed-operators": "off", - "no-multi-assign": "error", - "no-multiple-empty-lines": "error", - "no-negated-condition": "off", - "no-nested-ternary": "error", - "no-new-object": "error", - "no-plusplus": "off", - "no-restricted-syntax": "error", - "no-tabs": "error", - "no-ternary": "off", - "no-trailing-spaces": "error", - "no-underscore-dangle": "off", - "no-unneeded-ternary": "error", - "no-whitespace-before-property": "error", - "nonblock-statement-body-position": "error", - "object-curly-newline": ["error", { "minProperties": 1 }], - "object-curly-spacing": ["error", "always"], - "object-property-newline": "error", - "one-var": ["error", "never"], - "one-var-declaration-per-line": "error", - "operator-assignment": "error", - "operator-linebreak": "off", - "padded-blocks": "off", - "quote-props": ["error", "as-needed"], - "quotes": ["error", "single"], - "require-jsdoc": "off", - "semi": ["error", "never"], - "semi-spacing": "error", - "sort-keys": "off", - "sort-vars": "error", - "space-before-blocks": "error", - "space-before-function-paren": ["error", { - "anonymous": "always", - "named": "never" - }], - "space-in-parens": "error", - "space-infix-ops": "error", - "space-unary-ops": "error", - "spaced-comment": "error", - "template-tag-spacing": "error", - "unicode-bom": "error", - "wrap-regex": "off", - - // ECMAScript 6 - "arrow-body-style": "off", - "arrow-parens": "error", - "arrow-spacing": "error", - "generator-star-spacing": "error", - "no-confusing-arrow": "error", - "no-duplicate-imports": "error", - "no-restricted-imports": "error", - "no-useless-computed-key": "error", - "no-useless-constructor": "error", - "no-useless-rename": "error", - "no-var": "error", - "object-shorthand": "error", - "prefer-arrow-callback": "error", - "prefer-const": "error", - "prefer-numeric-literals": "error", - "prefer-rest-params": "error", - "prefer-spread": "error", - "prefer-template": "error", - "rest-spread-spacing": "error", - "sort-imports": "error", - "symbol-description": "error", - "template-curly-spacing": "error", - "yield-star-spacing": "error" - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/js/src/alert.js b/minionlivesmatter/templates/assets/bootstrap/js/src/alert.js deleted file mode 100644 index b30d0d3..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/js/src/alert.js +++ /dev/null @@ -1,193 +0,0 @@ -import Util from './util' - - -/** - * -------------------------------------------------------------------------- - * Bootstrap (v4.0.0-alpha.6): alert.js - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - * -------------------------------------------------------------------------- - */ - -const Alert = (($) => { - - - /** - * ------------------------------------------------------------------------ - * Constants - * ------------------------------------------------------------------------ - */ - - const NAME = 'alert' - const VERSION = '4.0.0-alpha.6' - const DATA_KEY = 'bs.alert' - const EVENT_KEY = `.${DATA_KEY}` - const DATA_API_KEY = '.data-api' - const JQUERY_NO_CONFLICT = $.fn[NAME] - const TRANSITION_DURATION = 150 - - const Selector = { - DISMISS : '[data-dismiss="alert"]' - } - - const Event = { - CLOSE : `close${EVENT_KEY}`, - CLOSED : `closed${EVENT_KEY}`, - CLICK_DATA_API : `click${EVENT_KEY}${DATA_API_KEY}` - } - - const ClassName = { - ALERT : 'alert', - FADE : 'fade', - SHOW : 'show' - } - - - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - - class Alert { - - constructor(element) { - this._element = element - } - - - // getters - - static get VERSION() { - return VERSION - } - - - // public - - close(element) { - element = element || this._element - - const rootElement = this._getRootElement(element) - const customEvent = this._triggerCloseEvent(rootElement) - - if (customEvent.isDefaultPrevented()) { - return - } - - this._removeElement(rootElement) - } - - dispose() { - $.removeData(this._element, DATA_KEY) - this._element = null - } - - - // private - - _getRootElement(element) { - const selector = Util.getSelectorFromElement(element) - let parent = false - - if (selector) { - parent = $(selector)[0] - } - - if (!parent) { - parent = $(element).closest(`.${ClassName.ALERT}`)[0] - } - - return parent - } - - _triggerCloseEvent(element) { - const closeEvent = $.Event(Event.CLOSE) - - $(element).trigger(closeEvent) - return closeEvent - } - - _removeElement(element) { - $(element).removeClass(ClassName.SHOW) - - if (!Util.supportsTransitionEnd() || - !$(element).hasClass(ClassName.FADE)) { - this._destroyElement(element) - return - } - - $(element) - .one(Util.TRANSITION_END, (event) => this._destroyElement(element, event)) - .emulateTransitionEnd(TRANSITION_DURATION) - } - - _destroyElement(element) { - $(element) - .detach() - .trigger(Event.CLOSED) - .remove() - } - - - // static - - static _jQueryInterface(config) { - return this.each(function () { - const $element = $(this) - let data = $element.data(DATA_KEY) - - if (!data) { - data = new Alert(this) - $element.data(DATA_KEY, data) - } - - if (config === 'close') { - data[config](this) - } - }) - } - - static _handleDismiss(alertInstance) { - return function (event) { - if (event) { - event.preventDefault() - } - - alertInstance.close(this) - } - } - - } - - - /** - * ------------------------------------------------------------------------ - * Data Api implementation - * ------------------------------------------------------------------------ - */ - - $(document).on( - Event.CLICK_DATA_API, - Selector.DISMISS, - Alert._handleDismiss(new Alert()) - ) - - - /** - * ------------------------------------------------------------------------ - * jQuery - * ------------------------------------------------------------------------ - */ - - $.fn[NAME] = Alert._jQueryInterface - $.fn[NAME].Constructor = Alert - $.fn[NAME].noConflict = function () { - $.fn[NAME] = JQUERY_NO_CONFLICT - return Alert._jQueryInterface - } - - return Alert - -})(jQuery) - -export default Alert diff --git a/minionlivesmatter/templates/assets/bootstrap/js/src/button.js b/minionlivesmatter/templates/assets/bootstrap/js/src/button.js deleted file mode 100644 index 76c5cdd..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/js/src/button.js +++ /dev/null @@ -1,176 +0,0 @@ -/** - * -------------------------------------------------------------------------- - * Bootstrap (v4.0.0-alpha.6): button.js - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - * -------------------------------------------------------------------------- - */ - -const Button = (($) => { - - - /** - * ------------------------------------------------------------------------ - * Constants - * ------------------------------------------------------------------------ - */ - - const NAME = 'button' - const VERSION = '4.0.0-alpha.6' - const DATA_KEY = 'bs.button' - const EVENT_KEY = `.${DATA_KEY}` - const DATA_API_KEY = '.data-api' - const JQUERY_NO_CONFLICT = $.fn[NAME] - - const ClassName = { - ACTIVE : 'active', - BUTTON : 'btn', - FOCUS : 'focus' - } - - const Selector = { - DATA_TOGGLE_CARROT : '[data-toggle^="button"]', - DATA_TOGGLE : '[data-toggle="buttons"]', - INPUT : 'input', - ACTIVE : '.active', - BUTTON : '.btn' - } - - const Event = { - CLICK_DATA_API : `click${EVENT_KEY}${DATA_API_KEY}`, - FOCUS_BLUR_DATA_API : `focus${EVENT_KEY}${DATA_API_KEY} ` - + `blur${EVENT_KEY}${DATA_API_KEY}` - } - - - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - - class Button { - - constructor(element) { - this._element = element - } - - - // getters - - static get VERSION() { - return VERSION - } - - - // public - - toggle() { - let triggerChangeEvent = true - const rootElement = $(this._element).closest( - Selector.DATA_TOGGLE - )[0] - - if (rootElement) { - const input = $(this._element).find(Selector.INPUT)[0] - - if (input) { - if (input.type === 'radio') { - if (input.checked && - $(this._element).hasClass(ClassName.ACTIVE)) { - triggerChangeEvent = false - - } else { - const activeElement = $(rootElement).find(Selector.ACTIVE)[0] - - if (activeElement) { - $(activeElement).removeClass(ClassName.ACTIVE) - } - } - } - - if (triggerChangeEvent) { - input.checked = !$(this._element).hasClass(ClassName.ACTIVE) - $(input).trigger('change') - } - - input.focus() - } - - } - - this._element.setAttribute('aria-pressed', - !$(this._element).hasClass(ClassName.ACTIVE)) - - if (triggerChangeEvent) { - $(this._element).toggleClass(ClassName.ACTIVE) - } - } - - dispose() { - $.removeData(this._element, DATA_KEY) - this._element = null - } - - - // static - - static _jQueryInterface(config) { - return this.each(function () { - let data = $(this).data(DATA_KEY) - - if (!data) { - data = new Button(this) - $(this).data(DATA_KEY, data) - } - - if (config === 'toggle') { - data[config]() - } - }) - } - - } - - - /** - * ------------------------------------------------------------------------ - * Data Api implementation - * ------------------------------------------------------------------------ - */ - - $(document) - .on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE_CARROT, (event) => { - event.preventDefault() - - let button = event.target - - if (!$(button).hasClass(ClassName.BUTTON)) { - button = $(button).closest(Selector.BUTTON) - } - - Button._jQueryInterface.call($(button), 'toggle') - }) - .on(Event.FOCUS_BLUR_DATA_API, Selector.DATA_TOGGLE_CARROT, (event) => { - const button = $(event.target).closest(Selector.BUTTON)[0] - $(button).toggleClass(ClassName.FOCUS, /^focus(in)?$/.test(event.type)) - }) - - - /** - * ------------------------------------------------------------------------ - * jQuery - * ------------------------------------------------------------------------ - */ - - $.fn[NAME] = Button._jQueryInterface - $.fn[NAME].Constructor = Button - $.fn[NAME].noConflict = function () { - $.fn[NAME] = JQUERY_NO_CONFLICT - return Button._jQueryInterface - } - - return Button - -})(jQuery) - -export default Button diff --git a/minionlivesmatter/templates/assets/bootstrap/js/src/carousel.js b/minionlivesmatter/templates/assets/bootstrap/js/src/carousel.js deleted file mode 100644 index 8a75cb2..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/js/src/carousel.js +++ /dev/null @@ -1,497 +0,0 @@ -import Util from './util' - - -/** - * -------------------------------------------------------------------------- - * Bootstrap (v4.0.0-alpha.6): carousel.js - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - * -------------------------------------------------------------------------- - */ - -const Carousel = (($) => { - - - /** - * ------------------------------------------------------------------------ - * Constants - * ------------------------------------------------------------------------ - */ - - const NAME = 'carousel' - const VERSION = '4.0.0-alpha.6' - const DATA_KEY = 'bs.carousel' - const EVENT_KEY = `.${DATA_KEY}` - const DATA_API_KEY = '.data-api' - const JQUERY_NO_CONFLICT = $.fn[NAME] - const TRANSITION_DURATION = 600 - const ARROW_LEFT_KEYCODE = 37 // KeyboardEvent.which value for left arrow key - const ARROW_RIGHT_KEYCODE = 39 // KeyboardEvent.which value for right arrow key - - const Default = { - interval : 5000, - keyboard : true, - slide : false, - pause : 'hover', - wrap : true - } - - const DefaultType = { - interval : '(number|boolean)', - keyboard : 'boolean', - slide : '(boolean|string)', - pause : '(string|boolean)', - wrap : 'boolean' - } - - const Direction = { - NEXT : 'next', - PREV : 'prev', - LEFT : 'left', - RIGHT : 'right' - } - - const Event = { - SLIDE : `slide${EVENT_KEY}`, - SLID : `slid${EVENT_KEY}`, - KEYDOWN : `keydown${EVENT_KEY}`, - MOUSEENTER : `mouseenter${EVENT_KEY}`, - MOUSELEAVE : `mouseleave${EVENT_KEY}`, - LOAD_DATA_API : `load${EVENT_KEY}${DATA_API_KEY}`, - CLICK_DATA_API : `click${EVENT_KEY}${DATA_API_KEY}` - } - - const ClassName = { - CAROUSEL : 'carousel', - ACTIVE : 'active', - SLIDE : 'slide', - RIGHT : 'carousel-item-right', - LEFT : 'carousel-item-left', - NEXT : 'carousel-item-next', - PREV : 'carousel-item-prev', - ITEM : 'carousel-item' - } - - const Selector = { - ACTIVE : '.active', - ACTIVE_ITEM : '.active.carousel-item', - ITEM : '.carousel-item', - NEXT_PREV : '.carousel-item-next, .carousel-item-prev', - INDICATORS : '.carousel-indicators', - DATA_SLIDE : '[data-slide], [data-slide-to]', - DATA_RIDE : '[data-ride="carousel"]' - } - - - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - - class Carousel { - - constructor(element, config) { - this._items = null - this._interval = null - this._activeElement = null - - this._isPaused = false - this._isSliding = false - - this._config = this._getConfig(config) - this._element = $(element)[0] - this._indicatorsElement = $(this._element).find(Selector.INDICATORS)[0] - - this._addEventListeners() - } - - - // getters - - static get VERSION() { - return VERSION - } - - static get Default() { - return Default - } - - - // public - - next() { - if (this._isSliding) { - throw new Error('Carousel is sliding') - } - this._slide(Direction.NEXT) - } - - nextWhenVisible() { - // Don't call next when the page isn't visible - if (!document.hidden) { - this.next() - } - } - - prev() { - if (this._isSliding) { - throw new Error('Carousel is sliding') - } - this._slide(Direction.PREV) - } - - pause(event) { - if (!event) { - this._isPaused = true - } - - if ($(this._element).find(Selector.NEXT_PREV)[0] && - Util.supportsTransitionEnd()) { - Util.triggerTransitionEnd(this._element) - this.cycle(true) - } - - clearInterval(this._interval) - this._interval = null - } - - cycle(event) { - if (!event) { - this._isPaused = false - } - - if (this._interval) { - clearInterval(this._interval) - this._interval = null - } - - if (this._config.interval && !this._isPaused) { - this._interval = setInterval( - (document.visibilityState ? this.nextWhenVisible : this.next).bind(this), - this._config.interval - ) - } - } - - to(index) { - this._activeElement = $(this._element).find(Selector.ACTIVE_ITEM)[0] - - const activeIndex = this._getItemIndex(this._activeElement) - - if (index > this._items.length - 1 || index < 0) { - return - } - - if (this._isSliding) { - $(this._element).one(Event.SLID, () => this.to(index)) - return - } - - if (activeIndex === index) { - this.pause() - this.cycle() - return - } - - const direction = index > activeIndex ? - Direction.NEXT : - Direction.PREV - - this._slide(direction, this._items[index]) - } - - dispose() { - $(this._element).off(EVENT_KEY) - $.removeData(this._element, DATA_KEY) - - this._items = null - this._config = null - this._element = null - this._interval = null - this._isPaused = null - this._isSliding = null - this._activeElement = null - this._indicatorsElement = null - } - - - // private - - _getConfig(config) { - config = $.extend({}, Default, config) - Util.typeCheckConfig(NAME, config, DefaultType) - return config - } - - _addEventListeners() { - if (this._config.keyboard) { - $(this._element) - .on(Event.KEYDOWN, (event) => this._keydown(event)) - } - - if (this._config.pause === 'hover' && - !('ontouchstart' in document.documentElement)) { - $(this._element) - .on(Event.MOUSEENTER, (event) => this.pause(event)) - .on(Event.MOUSELEAVE, (event) => this.cycle(event)) - } - } - - _keydown(event) { - if (/input|textarea/i.test(event.target.tagName)) { - return - } - - switch (event.which) { - case ARROW_LEFT_KEYCODE: - event.preventDefault() - this.prev() - break - case ARROW_RIGHT_KEYCODE: - event.preventDefault() - this.next() - break - default: - return - } - } - - _getItemIndex(element) { - this._items = $.makeArray($(element).parent().find(Selector.ITEM)) - return this._items.indexOf(element) - } - - _getItemByDirection(direction, activeElement) { - const isNextDirection = direction === Direction.NEXT - const isPrevDirection = direction === Direction.PREV - const activeIndex = this._getItemIndex(activeElement) - const lastItemIndex = this._items.length - 1 - const isGoingToWrap = isPrevDirection && activeIndex === 0 || - isNextDirection && activeIndex === lastItemIndex - - if (isGoingToWrap && !this._config.wrap) { - return activeElement - } - - const delta = direction === Direction.PREV ? -1 : 1 - const itemIndex = (activeIndex + delta) % this._items.length - - return itemIndex === -1 ? - this._items[this._items.length - 1] : this._items[itemIndex] - } - - - _triggerSlideEvent(relatedTarget, eventDirectionName) { - const slideEvent = $.Event(Event.SLIDE, { - relatedTarget, - direction: eventDirectionName - }) - - $(this._element).trigger(slideEvent) - - return slideEvent - } - - _setActiveIndicatorElement(element) { - if (this._indicatorsElement) { - $(this._indicatorsElement) - .find(Selector.ACTIVE) - .removeClass(ClassName.ACTIVE) - - const nextIndicator = this._indicatorsElement.children[ - this._getItemIndex(element) - ] - - if (nextIndicator) { - $(nextIndicator).addClass(ClassName.ACTIVE) - } - } - } - - _slide(direction, element) { - const activeElement = $(this._element).find(Selector.ACTIVE_ITEM)[0] - const nextElement = element || activeElement && - this._getItemByDirection(direction, activeElement) - - const isCycling = Boolean(this._interval) - - let directionalClassName - let orderClassName - let eventDirectionName - - if (direction === Direction.NEXT) { - directionalClassName = ClassName.LEFT - orderClassName = ClassName.NEXT - eventDirectionName = Direction.LEFT - } else { - directionalClassName = ClassName.RIGHT - orderClassName = ClassName.PREV - eventDirectionName = Direction.RIGHT - } - - if (nextElement && $(nextElement).hasClass(ClassName.ACTIVE)) { - this._isSliding = false - return - } - - const slideEvent = this._triggerSlideEvent(nextElement, eventDirectionName) - if (slideEvent.isDefaultPrevented()) { - return - } - - if (!activeElement || !nextElement) { - // some weirdness is happening, so we bail - return - } - - this._isSliding = true - - if (isCycling) { - this.pause() - } - - this._setActiveIndicatorElement(nextElement) - - const slidEvent = $.Event(Event.SLID, { - relatedTarget: nextElement, - direction: eventDirectionName - }) - - if (Util.supportsTransitionEnd() && - $(this._element).hasClass(ClassName.SLIDE)) { - - $(nextElement).addClass(orderClassName) - - Util.reflow(nextElement) - - $(activeElement).addClass(directionalClassName) - $(nextElement).addClass(directionalClassName) - - $(activeElement) - .one(Util.TRANSITION_END, () => { - $(nextElement) - .removeClass(`${directionalClassName} ${orderClassName}`) - .addClass(ClassName.ACTIVE) - - $(activeElement).removeClass(`${ClassName.ACTIVE} ${orderClassName} ${directionalClassName}`) - - this._isSliding = false - - setTimeout(() => $(this._element).trigger(slidEvent), 0) - - }) - .emulateTransitionEnd(TRANSITION_DURATION) - - } else { - $(activeElement).removeClass(ClassName.ACTIVE) - $(nextElement).addClass(ClassName.ACTIVE) - - this._isSliding = false - $(this._element).trigger(slidEvent) - } - - if (isCycling) { - this.cycle() - } - } - - - // static - - static _jQueryInterface(config) { - return this.each(function () { - let data = $(this).data(DATA_KEY) - const _config = $.extend({}, Default, $(this).data()) - - if (typeof config === 'object') { - $.extend(_config, config) - } - - const action = typeof config === 'string' ? config : _config.slide - - if (!data) { - data = new Carousel(this, _config) - $(this).data(DATA_KEY, data) - } - - if (typeof config === 'number') { - data.to(config) - } else if (typeof action === 'string') { - if (data[action] === undefined) { - throw new Error(`No method named "${action}"`) - } - data[action]() - } else if (_config.interval) { - data.pause() - data.cycle() - } - }) - } - - static _dataApiClickHandler(event) { - const selector = Util.getSelectorFromElement(this) - - if (!selector) { - return - } - - const target = $(selector)[0] - - if (!target || !$(target).hasClass(ClassName.CAROUSEL)) { - return - } - - const config = $.extend({}, $(target).data(), $(this).data()) - const slideIndex = this.getAttribute('data-slide-to') - - if (slideIndex) { - config.interval = false - } - - Carousel._jQueryInterface.call($(target), config) - - if (slideIndex) { - $(target).data(DATA_KEY).to(slideIndex) - } - - event.preventDefault() - } - - } - - - /** - * ------------------------------------------------------------------------ - * Data Api implementation - * ------------------------------------------------------------------------ - */ - - $(document) - .on(Event.CLICK_DATA_API, Selector.DATA_SLIDE, Carousel._dataApiClickHandler) - - $(window).on(Event.LOAD_DATA_API, () => { - $(Selector.DATA_RIDE).each(function () { - const $carousel = $(this) - Carousel._jQueryInterface.call($carousel, $carousel.data()) - }) - }) - - - /** - * ------------------------------------------------------------------------ - * jQuery - * ------------------------------------------------------------------------ - */ - - $.fn[NAME] = Carousel._jQueryInterface - $.fn[NAME].Constructor = Carousel - $.fn[NAME].noConflict = function () { - $.fn[NAME] = JQUERY_NO_CONFLICT - return Carousel._jQueryInterface - } - - return Carousel - -})(jQuery) - -export default Carousel diff --git a/minionlivesmatter/templates/assets/bootstrap/js/src/collapse.js b/minionlivesmatter/templates/assets/bootstrap/js/src/collapse.js deleted file mode 100644 index 13c4450..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/js/src/collapse.js +++ /dev/null @@ -1,393 +0,0 @@ -import Util from './util' - - -/** - * -------------------------------------------------------------------------- - * Bootstrap (v4.0.0-alpha.6): collapse.js - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - * -------------------------------------------------------------------------- - */ - -const Collapse = (($) => { - - - /** - * ------------------------------------------------------------------------ - * Constants - * ------------------------------------------------------------------------ - */ - - const NAME = 'collapse' - const VERSION = '4.0.0-alpha.6' - const DATA_KEY = 'bs.collapse' - const EVENT_KEY = `.${DATA_KEY}` - const DATA_API_KEY = '.data-api' - const JQUERY_NO_CONFLICT = $.fn[NAME] - const TRANSITION_DURATION = 600 - - const Default = { - toggle : true, - parent : '' - } - - const DefaultType = { - toggle : 'boolean', - parent : 'string' - } - - const Event = { - SHOW : `show${EVENT_KEY}`, - SHOWN : `shown${EVENT_KEY}`, - HIDE : `hide${EVENT_KEY}`, - HIDDEN : `hidden${EVENT_KEY}`, - CLICK_DATA_API : `click${EVENT_KEY}${DATA_API_KEY}` - } - - const ClassName = { - SHOW : 'show', - COLLAPSE : 'collapse', - COLLAPSING : 'collapsing', - COLLAPSED : 'collapsed' - } - - const Dimension = { - WIDTH : 'width', - HEIGHT : 'height' - } - - const Selector = { - ACTIVES : '.card > .show, .card > .collapsing', - DATA_TOGGLE : '[data-toggle="collapse"]', - DATA_CHILDREN : 'data-children' - } - - - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - - class Collapse { - - constructor(element, config) { - this._isTransitioning = false - this._element = element - this._config = this._getConfig(config) - this._triggerArray = $.makeArray($( - `[data-toggle="collapse"][href="#${element.id}"],` + - `[data-toggle="collapse"][data-target="#${element.id}"]` - )) - this._parent = this._config.parent ? this._getParent() : null - - if (!this._config.parent) { - this._addAriaAndCollapsedClass(this._element, this._triggerArray) - } - - this._selectorActives = Selector.ACTIVES - if (this._parent) { - const childrenSelector = this._parent.hasAttribute(Selector.DATA_CHILDREN) ? this._parent.getAttribute(Selector.DATA_CHILDREN) : null - if (childrenSelector !== null) { - this._selectorActives = `${childrenSelector} > .show, ${childrenSelector} > .collapsing` - } - } - - if (this._config.toggle) { - this.toggle() - } - } - - - // getters - - static get VERSION() { - return VERSION - } - - static get Default() { - return Default - } - - - // public - - toggle() { - if ($(this._element).hasClass(ClassName.SHOW)) { - this.hide() - } else { - this.show() - } - } - - show() { - if (this._isTransitioning) { - throw new Error('Collapse is transitioning') - } - - if ($(this._element).hasClass(ClassName.SHOW)) { - return - } - - let actives - let activesData - - if (this._parent) { - actives = $.makeArray($(this._parent).find(this._selectorActives)) - if (!actives.length) { - actives = null - } - } - - if (actives) { - activesData = $(actives).data(DATA_KEY) - if (activesData && activesData._isTransitioning) { - return - } - } - - const startEvent = $.Event(Event.SHOW) - $(this._element).trigger(startEvent) - if (startEvent.isDefaultPrevented()) { - return - } - - if (actives) { - Collapse._jQueryInterface.call($(actives), 'hide') - if (!activesData) { - $(actives).data(DATA_KEY, null) - } - } - - const dimension = this._getDimension() - - $(this._element) - .removeClass(ClassName.COLLAPSE) - .addClass(ClassName.COLLAPSING) - - this._element.style[dimension] = 0 - this._element.setAttribute('aria-expanded', true) - - if (this._triggerArray.length) { - $(this._triggerArray) - .removeClass(ClassName.COLLAPSED) - .attr('aria-expanded', true) - } - - this.setTransitioning(true) - - const complete = () => { - $(this._element) - .removeClass(ClassName.COLLAPSING) - .addClass(ClassName.COLLAPSE) - .addClass(ClassName.SHOW) - - this._element.style[dimension] = '' - - this.setTransitioning(false) - - $(this._element).trigger(Event.SHOWN) - } - - if (!Util.supportsTransitionEnd()) { - complete() - return - } - - const capitalizedDimension = dimension[0].toUpperCase() + dimension.slice(1) - const scrollSize = `scroll${capitalizedDimension}` - - $(this._element) - .one(Util.TRANSITION_END, complete) - .emulateTransitionEnd(TRANSITION_DURATION) - - this._element.style[dimension] = `${this._element[scrollSize]}px` - } - - hide() { - if (this._isTransitioning) { - throw new Error('Collapse is transitioning') - } - - if (!$(this._element).hasClass(ClassName.SHOW)) { - return - } - - const startEvent = $.Event(Event.HIDE) - $(this._element).trigger(startEvent) - if (startEvent.isDefaultPrevented()) { - return - } - - const dimension = this._getDimension() - - this._element.style[dimension] = `${this._element.getBoundingClientRect()[dimension]}px` - - Util.reflow(this._element) - - $(this._element) - .addClass(ClassName.COLLAPSING) - .removeClass(ClassName.COLLAPSE) - .removeClass(ClassName.SHOW) - - this._element.setAttribute('aria-expanded', false) - - if (this._triggerArray.length) { - $(this._triggerArray) - .addClass(ClassName.COLLAPSED) - .attr('aria-expanded', false) - } - - this.setTransitioning(true) - - const complete = () => { - this.setTransitioning(false) - $(this._element) - .removeClass(ClassName.COLLAPSING) - .addClass(ClassName.COLLAPSE) - .trigger(Event.HIDDEN) - } - - this._element.style[dimension] = '' - - if (!Util.supportsTransitionEnd()) { - complete() - return - } - - $(this._element) - .one(Util.TRANSITION_END, complete) - .emulateTransitionEnd(TRANSITION_DURATION) - } - - setTransitioning(isTransitioning) { - this._isTransitioning = isTransitioning - } - - dispose() { - $.removeData(this._element, DATA_KEY) - - this._config = null - this._parent = null - this._element = null - this._triggerArray = null - this._isTransitioning = null - } - - - // private - - _getConfig(config) { - config = $.extend({}, Default, config) - config.toggle = Boolean(config.toggle) // coerce string values - Util.typeCheckConfig(NAME, config, DefaultType) - return config - } - - _getDimension() { - const hasWidth = $(this._element).hasClass(Dimension.WIDTH) - return hasWidth ? Dimension.WIDTH : Dimension.HEIGHT - } - - _getParent() { - const parent = $(this._config.parent)[0] - const selector = - `[data-toggle="collapse"][data-parent="${this._config.parent}"]` - - $(parent).find(selector).each((i, element) => { - this._addAriaAndCollapsedClass( - Collapse._getTargetFromElement(element), - [element] - ) - }) - - return parent - } - - _addAriaAndCollapsedClass(element, triggerArray) { - if (element) { - const isOpen = $(element).hasClass(ClassName.SHOW) - element.setAttribute('aria-expanded', isOpen) - - if (triggerArray.length) { - $(triggerArray) - .toggleClass(ClassName.COLLAPSED, !isOpen) - .attr('aria-expanded', isOpen) - } - } - } - - - // static - - static _getTargetFromElement(element) { - const selector = Util.getSelectorFromElement(element) - return selector ? $(selector)[0] : null - } - - static _jQueryInterface(config) { - return this.each(function () { - const $this = $(this) - let data = $this.data(DATA_KEY) - const _config = $.extend( - {}, - Default, - $this.data(), - typeof config === 'object' && config - ) - - if (!data && _config.toggle && /show|hide/.test(config)) { - _config.toggle = false - } - - if (!data) { - data = new Collapse(this, _config) - $this.data(DATA_KEY, data) - } - - if (typeof config === 'string') { - if (data[config] === undefined) { - throw new Error(`No method named "${config}"`) - } - data[config]() - } - }) - } - - } - - - /** - * ------------------------------------------------------------------------ - * Data Api implementation - * ------------------------------------------------------------------------ - */ - - $(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) { - event.preventDefault() - - const target = Collapse._getTargetFromElement(this) - const data = $(target).data(DATA_KEY) - const config = data ? 'toggle' : $(this).data() - - Collapse._jQueryInterface.call($(target), config) - }) - - - /** - * ------------------------------------------------------------------------ - * jQuery - * ------------------------------------------------------------------------ - */ - - $.fn[NAME] = Collapse._jQueryInterface - $.fn[NAME].Constructor = Collapse - $.fn[NAME].noConflict = function () { - $.fn[NAME] = JQUERY_NO_CONFLICT - return Collapse._jQueryInterface - } - - return Collapse - -})(jQuery) - -export default Collapse diff --git a/minionlivesmatter/templates/assets/bootstrap/js/src/dropdown.js b/minionlivesmatter/templates/assets/bootstrap/js/src/dropdown.js deleted file mode 100644 index 644273a..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/js/src/dropdown.js +++ /dev/null @@ -1,307 +0,0 @@ -import Util from './util' - - -/** - * -------------------------------------------------------------------------- - * Bootstrap (v4.0.0-alpha.6): dropdown.js - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - * -------------------------------------------------------------------------- - */ - -const Dropdown = (($) => { - - - /** - * ------------------------------------------------------------------------ - * Constants - * ------------------------------------------------------------------------ - */ - - const NAME = 'dropdown' - const VERSION = '4.0.0-alpha.6' - const DATA_KEY = 'bs.dropdown' - const EVENT_KEY = `.${DATA_KEY}` - const DATA_API_KEY = '.data-api' - const JQUERY_NO_CONFLICT = $.fn[NAME] - const ESCAPE_KEYCODE = 27 // KeyboardEvent.which value for Escape (Esc) key - const SPACE_KEYCODE = 32 // KeyboardEvent.which value for space key - const ARROW_UP_KEYCODE = 38 // KeyboardEvent.which value for up arrow key - const ARROW_DOWN_KEYCODE = 40 // KeyboardEvent.which value for down arrow key - const RIGHT_MOUSE_BUTTON_WHICH = 3 // MouseEvent.which value for the right button (assuming a right-handed mouse) - const REGEXP_KEYDOWN = new RegExp(`${ARROW_UP_KEYCODE}|${ARROW_DOWN_KEYCODE}|${ESCAPE_KEYCODE}|${SPACE_KEYCODE}`) - - const Event = { - HIDE : `hide${EVENT_KEY}`, - HIDDEN : `hidden${EVENT_KEY}`, - SHOW : `show${EVENT_KEY}`, - SHOWN : `shown${EVENT_KEY}`, - CLICK : `click${EVENT_KEY}`, - CLICK_DATA_API : `click${EVENT_KEY}${DATA_API_KEY}`, - FOCUSIN_DATA_API : `focusin${EVENT_KEY}${DATA_API_KEY}`, - KEYDOWN_DATA_API : `keydown${EVENT_KEY}${DATA_API_KEY}` - } - - const ClassName = { - BACKDROP : 'dropdown-backdrop', - DISABLED : 'disabled', - SHOW : 'show' - } - - const Selector = { - BACKDROP : '.dropdown-backdrop', - DATA_TOGGLE : '[data-toggle="dropdown"]', - FORM_CHILD : '.dropdown form', - ROLE_MENU : '[role="menu"]', - ROLE_LISTBOX : '[role="listbox"]', - NAVBAR_NAV : '.navbar-nav', - VISIBLE_ITEMS : '[role="menu"] li:not(.disabled) a, ' - + '[role="listbox"] li:not(.disabled) a' - } - - - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - - class Dropdown { - - constructor(element) { - this._element = element - - this._addEventListeners() - } - - - // getters - - static get VERSION() { - return VERSION - } - - - // public - - toggle() { - if (this.disabled || $(this).hasClass(ClassName.DISABLED)) { - return false - } - - const parent = Dropdown._getParentFromElement(this) - const isActive = $(parent).hasClass(ClassName.SHOW) - - Dropdown._clearMenus() - - if (isActive) { - return false - } - - const relatedTarget = { - relatedTarget : this - } - const showEvent = $.Event(Event.SHOW, relatedTarget) - - $(parent).trigger(showEvent) - - if (showEvent.isDefaultPrevented()) { - return false - } - - // set the backdrop only if the dropdown menu will be opened - if ('ontouchstart' in document.documentElement && - !$(parent).closest(Selector.NAVBAR_NAV).length) { - - // if mobile we use a backdrop because click events don't delegate - const dropdown = document.createElement('div') - dropdown.className = ClassName.BACKDROP - $(dropdown).insertBefore(this) - $(dropdown).on('click', Dropdown._clearMenus) - } - - this.focus() - this.setAttribute('aria-expanded', true) - - $(parent).toggleClass(ClassName.SHOW) - $(parent).trigger($.Event(Event.SHOWN, relatedTarget)) - - return false - } - - dispose() { - $.removeData(this._element, DATA_KEY) - $(this._element).off(EVENT_KEY) - this._element = null - } - - - // private - - _addEventListeners() { - $(this._element).on(Event.CLICK, this.toggle) - } - - - // static - - static _jQueryInterface(config) { - return this.each(function () { - let data = $(this).data(DATA_KEY) - - if (!data) { - data = new Dropdown(this) - $(this).data(DATA_KEY, data) - } - - if (typeof config === 'string') { - if (data[config] === undefined) { - throw new Error(`No method named "${config}"`) - } - data[config].call(this) - } - }) - } - - static _clearMenus(event) { - if (event && event.which === RIGHT_MOUSE_BUTTON_WHICH) { - return - } - - const toggles = $.makeArray($(Selector.DATA_TOGGLE)) - - for (let i = 0; i < toggles.length; i++) { - const parent = Dropdown._getParentFromElement(toggles[i]) - const relatedTarget = { - relatedTarget : toggles[i] - } - - if (!$(parent).hasClass(ClassName.SHOW)) { - continue - } - - if (event && (event.type === 'click' && - /input|textarea/i.test(event.target.tagName) || event.type === 'focusin') - && $.contains(parent, event.target)) { - continue - } - - const hideEvent = $.Event(Event.HIDE, relatedTarget) - $(parent).trigger(hideEvent) - if (hideEvent.isDefaultPrevented()) { - continue - } - - // remove backdrop only if the dropdown menu will be hidden - const backdrop = $(parent).find(Selector.BACKDROP)[0] - if (backdrop) { - backdrop.parentNode.removeChild(backdrop) - } - - toggles[i].setAttribute('aria-expanded', 'false') - - $(parent) - .removeClass(ClassName.SHOW) - .trigger($.Event(Event.HIDDEN, relatedTarget)) - } - } - - static _getParentFromElement(element) { - let parent - const selector = Util.getSelectorFromElement(element) - - if (selector) { - parent = $(selector)[0] - } - - return parent || element.parentNode - } - - static _dataApiKeydownHandler(event) { - if (!REGEXP_KEYDOWN.test(event.which) || - /input|textarea/i.test(event.target.tagName)) { - return - } - - event.preventDefault() - event.stopPropagation() - - if (this.disabled || $(this).hasClass(ClassName.DISABLED)) { - return - } - - const parent = Dropdown._getParentFromElement(this) - const isActive = $(parent).hasClass(ClassName.SHOW) - - if (!isActive && event.which !== ESCAPE_KEYCODE || - isActive && event.which === ESCAPE_KEYCODE) { - - if (event.which === ESCAPE_KEYCODE) { - const toggle = $(parent).find(Selector.DATA_TOGGLE)[0] - $(toggle).trigger('focus') - } - - $(this).trigger('click') - return - } - - const items = $(parent).find(Selector.VISIBLE_ITEMS).get() - - if (!items.length) { - return - } - - let index = items.indexOf(event.target) - - if (event.which === ARROW_UP_KEYCODE && index > 0) { // up - index-- - } - - if (event.which === ARROW_DOWN_KEYCODE && index < items.length - 1) { // down - index++ - } - - if (index < 0) { - index = 0 - } - - items[index].focus() - } - - } - - - /** - * ------------------------------------------------------------------------ - * Data Api implementation - * ------------------------------------------------------------------------ - */ - - $(document) - .on(Event.KEYDOWN_DATA_API, Selector.DATA_TOGGLE, Dropdown._dataApiKeydownHandler) - .on(Event.KEYDOWN_DATA_API, Selector.ROLE_MENU, Dropdown._dataApiKeydownHandler) - .on(Event.KEYDOWN_DATA_API, Selector.ROLE_LISTBOX, Dropdown._dataApiKeydownHandler) - .on(`${Event.CLICK_DATA_API} ${Event.FOCUSIN_DATA_API}`, Dropdown._clearMenus) - .on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, Dropdown.prototype.toggle) - .on(Event.CLICK_DATA_API, Selector.FORM_CHILD, (e) => { - e.stopPropagation() - }) - - - /** - * ------------------------------------------------------------------------ - * jQuery - * ------------------------------------------------------------------------ - */ - - $.fn[NAME] = Dropdown._jQueryInterface - $.fn[NAME].Constructor = Dropdown - $.fn[NAME].noConflict = function () { - $.fn[NAME] = JQUERY_NO_CONFLICT - return Dropdown._jQueryInterface - } - - return Dropdown - -})(jQuery) - -export default Dropdown diff --git a/minionlivesmatter/templates/assets/bootstrap/js/src/modal.js b/minionlivesmatter/templates/assets/bootstrap/js/src/modal.js deleted file mode 100644 index 9263efd..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/js/src/modal.js +++ /dev/null @@ -1,545 +0,0 @@ -import Util from './util' - - -/** - * -------------------------------------------------------------------------- - * Bootstrap (v4.0.0-alpha.6): modal.js - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - * -------------------------------------------------------------------------- - */ - -const Modal = (($) => { - - - /** - * ------------------------------------------------------------------------ - * Constants - * ------------------------------------------------------------------------ - */ - - const NAME = 'modal' - const VERSION = '4.0.0-alpha.6' - const DATA_KEY = 'bs.modal' - const EVENT_KEY = `.${DATA_KEY}` - const DATA_API_KEY = '.data-api' - const JQUERY_NO_CONFLICT = $.fn[NAME] - const TRANSITION_DURATION = 300 - const BACKDROP_TRANSITION_DURATION = 150 - const ESCAPE_KEYCODE = 27 // KeyboardEvent.which value for Escape (Esc) key - - const Default = { - backdrop : true, - keyboard : true, - focus : true, - show : true - } - - const DefaultType = { - backdrop : '(boolean|string)', - keyboard : 'boolean', - focus : 'boolean', - show : 'boolean' - } - - const Event = { - HIDE : `hide${EVENT_KEY}`, - HIDDEN : `hidden${EVENT_KEY}`, - SHOW : `show${EVENT_KEY}`, - SHOWN : `shown${EVENT_KEY}`, - FOCUSIN : `focusin${EVENT_KEY}`, - RESIZE : `resize${EVENT_KEY}`, - CLICK_DISMISS : `click.dismiss${EVENT_KEY}`, - KEYDOWN_DISMISS : `keydown.dismiss${EVENT_KEY}`, - MOUSEUP_DISMISS : `mouseup.dismiss${EVENT_KEY}`, - MOUSEDOWN_DISMISS : `mousedown.dismiss${EVENT_KEY}`, - CLICK_DATA_API : `click${EVENT_KEY}${DATA_API_KEY}` - } - - const ClassName = { - SCROLLBAR_MEASURER : 'modal-scrollbar-measure', - BACKDROP : 'modal-backdrop', - OPEN : 'modal-open', - FADE : 'fade', - SHOW : 'show' - } - - const Selector = { - DIALOG : '.modal-dialog', - DATA_TOGGLE : '[data-toggle="modal"]', - DATA_DISMISS : '[data-dismiss="modal"]', - FIXED_CONTENT : '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top' - } - - - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - - class Modal { - - constructor(element, config) { - this._config = this._getConfig(config) - this._element = element - this._dialog = $(element).find(Selector.DIALOG)[0] - this._backdrop = null - this._isShown = false - this._isBodyOverflowing = false - this._ignoreBackdropClick = false - this._isTransitioning = false - this._originalBodyPadding = 0 - this._scrollbarWidth = 0 - } - - - // getters - - static get VERSION() { - return VERSION - } - - static get Default() { - return Default - } - - - // public - - toggle(relatedTarget) { - return this._isShown ? this.hide() : this.show(relatedTarget) - } - - show(relatedTarget) { - if (this._isTransitioning) { - throw new Error('Modal is transitioning') - } - - if (Util.supportsTransitionEnd() && - $(this._element).hasClass(ClassName.FADE)) { - this._isTransitioning = true - } - const showEvent = $.Event(Event.SHOW, { - relatedTarget - }) - - $(this._element).trigger(showEvent) - - if (this._isShown || showEvent.isDefaultPrevented()) { - return - } - - this._isShown = true - - this._checkScrollbar() - this._setScrollbar() - - $(document.body).addClass(ClassName.OPEN) - - this._setEscapeEvent() - this._setResizeEvent() - - $(this._element).on( - Event.CLICK_DISMISS, - Selector.DATA_DISMISS, - (event) => this.hide(event) - ) - - $(this._dialog).on(Event.MOUSEDOWN_DISMISS, () => { - $(this._element).one(Event.MOUSEUP_DISMISS, (event) => { - if ($(event.target).is(this._element)) { - this._ignoreBackdropClick = true - } - }) - }) - - this._showBackdrop(() => this._showElement(relatedTarget)) - } - - hide(event) { - if (event) { - event.preventDefault() - } - - if (this._isTransitioning) { - throw new Error('Modal is transitioning') - } - - const transition = Util.supportsTransitionEnd() && - $(this._element).hasClass(ClassName.FADE) - if (transition) { - this._isTransitioning = true - } - - const hideEvent = $.Event(Event.HIDE) - $(this._element).trigger(hideEvent) - - if (!this._isShown || hideEvent.isDefaultPrevented()) { - return - } - - this._isShown = false - - this._setEscapeEvent() - this._setResizeEvent() - - $(document).off(Event.FOCUSIN) - - $(this._element).removeClass(ClassName.SHOW) - - $(this._element).off(Event.CLICK_DISMISS) - $(this._dialog).off(Event.MOUSEDOWN_DISMISS) - - if (transition) { - $(this._element) - .one(Util.TRANSITION_END, (event) => this._hideModal(event)) - .emulateTransitionEnd(TRANSITION_DURATION) - } else { - this._hideModal() - } - } - - dispose() { - $.removeData(this._element, DATA_KEY) - - $(window, document, this._element, this._backdrop).off(EVENT_KEY) - - this._config = null - this._element = null - this._dialog = null - this._backdrop = null - this._isShown = null - this._isBodyOverflowing = null - this._ignoreBackdropClick = null - this._originalBodyPadding = null - this._scrollbarWidth = null - } - - - // private - - _getConfig(config) { - config = $.extend({}, Default, config) - Util.typeCheckConfig(NAME, config, DefaultType) - return config - } - - _showElement(relatedTarget) { - const transition = Util.supportsTransitionEnd() && - $(this._element).hasClass(ClassName.FADE) - - if (!this._element.parentNode || - this._element.parentNode.nodeType !== Node.ELEMENT_NODE) { - // don't move modals dom position - document.body.appendChild(this._element) - } - - this._element.style.display = 'block' - this._element.removeAttribute('aria-hidden') - this._element.scrollTop = 0 - - if (transition) { - Util.reflow(this._element) - } - - $(this._element).addClass(ClassName.SHOW) - - if (this._config.focus) { - this._enforceFocus() - } - - const shownEvent = $.Event(Event.SHOWN, { - relatedTarget - }) - - const transitionComplete = () => { - if (this._config.focus) { - this._element.focus() - } - this._isTransitioning = false - $(this._element).trigger(shownEvent) - } - - if (transition) { - $(this._dialog) - .one(Util.TRANSITION_END, transitionComplete) - .emulateTransitionEnd(TRANSITION_DURATION) - } else { - transitionComplete() - } - } - - _enforceFocus() { - $(document) - .off(Event.FOCUSIN) // guard against infinite focus loop - .on(Event.FOCUSIN, (event) => { - if (document !== event.target && - this._element !== event.target && - !$(this._element).has(event.target).length) { - this._element.focus() - } - }) - } - - _setEscapeEvent() { - if (this._isShown && this._config.keyboard) { - $(this._element).on(Event.KEYDOWN_DISMISS, (event) => { - if (event.which === ESCAPE_KEYCODE) { - this.hide() - } - }) - - } else if (!this._isShown) { - $(this._element).off(Event.KEYDOWN_DISMISS) - } - } - - _setResizeEvent() { - if (this._isShown) { - $(window).on(Event.RESIZE, (event) => this._handleUpdate(event)) - } else { - $(window).off(Event.RESIZE) - } - } - - _hideModal() { - this._element.style.display = 'none' - this._element.setAttribute('aria-hidden', 'true') - this._isTransitioning = false - this._showBackdrop(() => { - $(document.body).removeClass(ClassName.OPEN) - this._resetAdjustments() - this._resetScrollbar() - $(this._element).trigger(Event.HIDDEN) - }) - } - - _removeBackdrop() { - if (this._backdrop) { - $(this._backdrop).remove() - this._backdrop = null - } - } - - _showBackdrop(callback) { - const animate = $(this._element).hasClass(ClassName.FADE) ? - ClassName.FADE : '' - - if (this._isShown && this._config.backdrop) { - const doAnimate = Util.supportsTransitionEnd() && animate - - this._backdrop = document.createElement('div') - this._backdrop.className = ClassName.BACKDROP - - if (animate) { - $(this._backdrop).addClass(animate) - } - - $(this._backdrop).appendTo(document.body) - - $(this._element).on(Event.CLICK_DISMISS, (event) => { - if (this._ignoreBackdropClick) { - this._ignoreBackdropClick = false - return - } - if (event.target !== event.currentTarget) { - return - } - if (this._config.backdrop === 'static') { - this._element.focus() - } else { - this.hide() - } - }) - - if (doAnimate) { - Util.reflow(this._backdrop) - } - - $(this._backdrop).addClass(ClassName.SHOW) - - if (!callback) { - return - } - - if (!doAnimate) { - callback() - return - } - - $(this._backdrop) - .one(Util.TRANSITION_END, callback) - .emulateTransitionEnd(BACKDROP_TRANSITION_DURATION) - - } else if (!this._isShown && this._backdrop) { - $(this._backdrop).removeClass(ClassName.SHOW) - - const callbackRemove = () => { - this._removeBackdrop() - if (callback) { - callback() - } - } - - if (Util.supportsTransitionEnd() && - $(this._element).hasClass(ClassName.FADE)) { - $(this._backdrop) - .one(Util.TRANSITION_END, callbackRemove) - .emulateTransitionEnd(BACKDROP_TRANSITION_DURATION) - } else { - callbackRemove() - } - - } else if (callback) { - callback() - } - } - - - // ---------------------------------------------------------------------- - // the following methods are used to handle overflowing modals - // todo (fat): these should probably be refactored out of modal.js - // ---------------------------------------------------------------------- - - _handleUpdate() { - this._adjustDialog() - } - - _adjustDialog() { - const isModalOverflowing = - this._element.scrollHeight > document.documentElement.clientHeight - - if (!this._isBodyOverflowing && isModalOverflowing) { - this._element.style.paddingLeft = `${this._scrollbarWidth}px` - } - - if (this._isBodyOverflowing && !isModalOverflowing) { - this._element.style.paddingRight = `${this._scrollbarWidth}px` - } - } - - _resetAdjustments() { - this._element.style.paddingLeft = '' - this._element.style.paddingRight = '' - } - - _checkScrollbar() { - this._isBodyOverflowing = document.body.clientWidth < window.innerWidth - this._scrollbarWidth = this._getScrollbarWidth() - } - - _setScrollbar() { - const bodyPadding = parseInt( - $(Selector.FIXED_CONTENT).css('padding-right') || 0, - 10 - ) - - this._originalBodyPadding = document.body.style.paddingRight || '' - - if (this._isBodyOverflowing) { - document.body.style.paddingRight = - `${bodyPadding + this._scrollbarWidth}px` - } - } - - _resetScrollbar() { - document.body.style.paddingRight = this._originalBodyPadding - } - - _getScrollbarWidth() { // thx d.walsh - const scrollDiv = document.createElement('div') - scrollDiv.className = ClassName.SCROLLBAR_MEASURER - document.body.appendChild(scrollDiv) - const scrollbarWidth = scrollDiv.getBoundingClientRect().width - scrollDiv.clientWidth - document.body.removeChild(scrollDiv) - return scrollbarWidth - } - - - // static - - static _jQueryInterface(config, relatedTarget) { - return this.each(function () { - let data = $(this).data(DATA_KEY) - const _config = $.extend( - {}, - Modal.Default, - $(this).data(), - typeof config === 'object' && config - ) - - if (!data) { - data = new Modal(this, _config) - $(this).data(DATA_KEY, data) - } - - if (typeof config === 'string') { - if (data[config] === undefined) { - throw new Error(`No method named "${config}"`) - } - data[config](relatedTarget) - } else if (_config.show) { - data.show(relatedTarget) - } - }) - } - - } - - - /** - * ------------------------------------------------------------------------ - * Data Api implementation - * ------------------------------------------------------------------------ - */ - - $(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) { - let target - const selector = Util.getSelectorFromElement(this) - - if (selector) { - target = $(selector)[0] - } - - const config = $(target).data(DATA_KEY) ? - 'toggle' : $.extend({}, $(target).data(), $(this).data()) - - if (this.tagName === 'A' || this.tagName === 'AREA') { - event.preventDefault() - } - - const $target = $(target).one(Event.SHOW, (showEvent) => { - if (showEvent.isDefaultPrevented()) { - // only register focus restorer if modal will actually get shown - return - } - - $target.one(Event.HIDDEN, () => { - if ($(this).is(':visible')) { - this.focus() - } - }) - }) - - Modal._jQueryInterface.call($(target), config, this) - }) - - - /** - * ------------------------------------------------------------------------ - * jQuery - * ------------------------------------------------------------------------ - */ - - $.fn[NAME] = Modal._jQueryInterface - $.fn[NAME].Constructor = Modal - $.fn[NAME].noConflict = function () { - $.fn[NAME] = JQUERY_NO_CONFLICT - return Modal._jQueryInterface - } - - return Modal - -})(jQuery) - -export default Modal diff --git a/minionlivesmatter/templates/assets/bootstrap/js/src/popover.js b/minionlivesmatter/templates/assets/bootstrap/js/src/popover.js deleted file mode 100644 index b68b479..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/js/src/popover.js +++ /dev/null @@ -1,179 +0,0 @@ -import Tooltip from './tooltip' - - -/** - * -------------------------------------------------------------------------- - * Bootstrap (v4.0.0-alpha.6): popover.js - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - * -------------------------------------------------------------------------- - */ - -const Popover = (($) => { - - - /** - * ------------------------------------------------------------------------ - * Constants - * ------------------------------------------------------------------------ - */ - - const NAME = 'popover' - const VERSION = '4.0.0-alpha.6' - const DATA_KEY = 'bs.popover' - const EVENT_KEY = `.${DATA_KEY}` - const JQUERY_NO_CONFLICT = $.fn[NAME] - - const Default = $.extend({}, Tooltip.Default, { - placement : 'right', - trigger : 'click', - content : '', - template : '<div class="popover" role="tooltip">' - + '<h3 class="popover-title"></h3>' - + '<div class="popover-content"></div></div>' - }) - - const DefaultType = $.extend({}, Tooltip.DefaultType, { - content : '(string|element|function)' - }) - - const ClassName = { - FADE : 'fade', - SHOW : 'show' - } - - const Selector = { - TITLE : '.popover-title', - CONTENT : '.popover-content' - } - - const Event = { - HIDE : `hide${EVENT_KEY}`, - HIDDEN : `hidden${EVENT_KEY}`, - SHOW : `show${EVENT_KEY}`, - SHOWN : `shown${EVENT_KEY}`, - INSERTED : `inserted${EVENT_KEY}`, - CLICK : `click${EVENT_KEY}`, - FOCUSIN : `focusin${EVENT_KEY}`, - FOCUSOUT : `focusout${EVENT_KEY}`, - MOUSEENTER : `mouseenter${EVENT_KEY}`, - MOUSELEAVE : `mouseleave${EVENT_KEY}` - } - - - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - - class Popover extends Tooltip { - - - // getters - - static get VERSION() { - return VERSION - } - - static get Default() { - return Default - } - - static get NAME() { - return NAME - } - - static get DATA_KEY() { - return DATA_KEY - } - - static get Event() { - return Event - } - - static get EVENT_KEY() { - return EVENT_KEY - } - - static get DefaultType() { - return DefaultType - } - - - // overrides - - isWithContent() { - return this.getTitle() || this._getContent() - } - - getTipElement() { - return this.tip = this.tip || $(this.config.template)[0] - } - - setContent() { - const $tip = $(this.getTipElement()) - - // we use append for html objects to maintain js events - this.setElementContent($tip.find(Selector.TITLE), this.getTitle()) - this.setElementContent($tip.find(Selector.CONTENT), this._getContent()) - - $tip.removeClass(`${ClassName.FADE} ${ClassName.SHOW}`) - - this.cleanupTether() - } - - // private - - _getContent() { - return this.element.getAttribute('data-content') - || (typeof this.config.content === 'function' ? - this.config.content.call(this.element) : - this.config.content) - } - - - // static - - static _jQueryInterface(config) { - return this.each(function () { - let data = $(this).data(DATA_KEY) - const _config = typeof config === 'object' ? config : null - - if (!data && /destroy|hide/.test(config)) { - return - } - - if (!data) { - data = new Popover(this, _config) - $(this).data(DATA_KEY, data) - } - - if (typeof config === 'string') { - if (data[config] === undefined) { - throw new Error(`No method named "${config}"`) - } - data[config]() - } - }) - } - } - - - /** - * ------------------------------------------------------------------------ - * jQuery - * ------------------------------------------------------------------------ - */ - - $.fn[NAME] = Popover._jQueryInterface - $.fn[NAME].Constructor = Popover - $.fn[NAME].noConflict = function () { - $.fn[NAME] = JQUERY_NO_CONFLICT - return Popover._jQueryInterface - } - - return Popover - -})(jQuery) - -export default Popover diff --git a/minionlivesmatter/templates/assets/bootstrap/js/src/scrollspy.js b/minionlivesmatter/templates/assets/bootstrap/js/src/scrollspy.js deleted file mode 100644 index 15541b8..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/js/src/scrollspy.js +++ /dev/null @@ -1,335 +0,0 @@ -import Util from './util' - - -/** - * -------------------------------------------------------------------------- - * Bootstrap (v4.0.0-alpha.6): scrollspy.js - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - * -------------------------------------------------------------------------- - */ - -const ScrollSpy = (($) => { - - - /** - * ------------------------------------------------------------------------ - * Constants - * ------------------------------------------------------------------------ - */ - - const NAME = 'scrollspy' - const VERSION = '4.0.0-alpha.6' - const DATA_KEY = 'bs.scrollspy' - const EVENT_KEY = `.${DATA_KEY}` - const DATA_API_KEY = '.data-api' - const JQUERY_NO_CONFLICT = $.fn[NAME] - - const Default = { - offset : 10, - method : 'auto', - target : '' - } - - const DefaultType = { - offset : 'number', - method : 'string', - target : '(string|element)' - } - - const Event = { - ACTIVATE : `activate${EVENT_KEY}`, - SCROLL : `scroll${EVENT_KEY}`, - LOAD_DATA_API : `load${EVENT_KEY}${DATA_API_KEY}` - } - - const ClassName = { - DROPDOWN_ITEM : 'dropdown-item', - DROPDOWN_MENU : 'dropdown-menu', - NAV_LINK : 'nav-link', - NAV : 'nav', - ACTIVE : 'active' - } - - const Selector = { - DATA_SPY : '[data-spy="scroll"]', - ACTIVE : '.active', - LIST_ITEM : '.list-item', - LI : 'li', - LI_DROPDOWN : 'li.dropdown', - NAV_LINKS : '.nav-link', - DROPDOWN : '.dropdown', - DROPDOWN_ITEMS : '.dropdown-item', - DROPDOWN_TOGGLE : '.dropdown-toggle' - } - - const OffsetMethod = { - OFFSET : 'offset', - POSITION : 'position' - } - - - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - - class ScrollSpy { - - constructor(element, config) { - this._element = element - this._scrollElement = element.tagName === 'BODY' ? window : element - this._config = this._getConfig(config) - this._selector = `${this._config.target} ${Selector.NAV_LINKS},` - + `${this._config.target} ${Selector.DROPDOWN_ITEMS}` - this._offsets = [] - this._targets = [] - this._activeTarget = null - this._scrollHeight = 0 - - $(this._scrollElement).on(Event.SCROLL, (event) => this._process(event)) - - this.refresh() - this._process() - } - - - // getters - - static get VERSION() { - return VERSION - } - - static get Default() { - return Default - } - - - // public - - refresh() { - const autoMethod = this._scrollElement !== this._scrollElement.window ? - OffsetMethod.POSITION : OffsetMethod.OFFSET - - const offsetMethod = this._config.method === 'auto' ? - autoMethod : this._config.method - - const offsetBase = offsetMethod === OffsetMethod.POSITION ? - this._getScrollTop() : 0 - - this._offsets = [] - this._targets = [] - - this._scrollHeight = this._getScrollHeight() - - const targets = $.makeArray($(this._selector)) - - targets - .map((element) => { - let target - const targetSelector = Util.getSelectorFromElement(element) - - if (targetSelector) { - target = $(targetSelector)[0] - } - - if (target) { - const targetBCR = target.getBoundingClientRect() - if (targetBCR.width || targetBCR.height) { - // todo (fat): remove sketch reliance on jQuery position/offset - return [ - $(target)[offsetMethod]().top + offsetBase, - targetSelector - ] - } - } - return null - }) - .filter((item) => item) - .sort((a, b) => a[0] - b[0]) - .forEach((item) => { - this._offsets.push(item[0]) - this._targets.push(item[1]) - }) - } - - dispose() { - $.removeData(this._element, DATA_KEY) - $(this._scrollElement).off(EVENT_KEY) - - this._element = null - this._scrollElement = null - this._config = null - this._selector = null - this._offsets = null - this._targets = null - this._activeTarget = null - this._scrollHeight = null - } - - - // private - - _getConfig(config) { - config = $.extend({}, Default, config) - - if (typeof config.target !== 'string') { - let id = $(config.target).attr('id') - if (!id) { - id = Util.getUID(NAME) - $(config.target).attr('id', id) - } - config.target = `#${id}` - } - - Util.typeCheckConfig(NAME, config, DefaultType) - - return config - } - - _getScrollTop() { - return this._scrollElement === window ? - this._scrollElement.pageYOffset : this._scrollElement.scrollTop - } - - _getScrollHeight() { - return this._scrollElement.scrollHeight || Math.max( - document.body.scrollHeight, - document.documentElement.scrollHeight - ) - } - - _getOffsetHeight() { - return this._scrollElement === window ? - window.innerHeight : this._scrollElement.getBoundingClientRect().height - } - - _process() { - const scrollTop = this._getScrollTop() + this._config.offset - const scrollHeight = this._getScrollHeight() - const maxScroll = this._config.offset - + scrollHeight - - this._getOffsetHeight() - - if (this._scrollHeight !== scrollHeight) { - this.refresh() - } - - if (scrollTop >= maxScroll) { - const target = this._targets[this._targets.length - 1] - - if (this._activeTarget !== target) { - this._activate(target) - } - return - } - - if (this._activeTarget && scrollTop < this._offsets[0] && this._offsets[0] > 0) { - this._activeTarget = null - this._clear() - return - } - - for (let i = this._offsets.length; i--;) { - const isActiveTarget = this._activeTarget !== this._targets[i] - && scrollTop >= this._offsets[i] - && (this._offsets[i + 1] === undefined || - scrollTop < this._offsets[i + 1]) - - if (isActiveTarget) { - this._activate(this._targets[i]) - } - } - } - - _activate(target) { - this._activeTarget = target - - this._clear() - - let queries = this._selector.split(',') - queries = queries.map((selector) => { - return `${selector}[data-target="${target}"],` + - `${selector}[href="${target}"]` - }) - - const $link = $(queries.join(',')) - - if ($link.hasClass(ClassName.DROPDOWN_ITEM)) { - $link.closest(Selector.DROPDOWN).find(Selector.DROPDOWN_TOGGLE).addClass(ClassName.ACTIVE) - $link.addClass(ClassName.ACTIVE) - } else { - // todo (fat) this is kinda sus... - // recursively add actives to tested nav-links - $link.parents(Selector.LI).find(`> ${Selector.NAV_LINKS}`).addClass(ClassName.ACTIVE) - } - - $(this._scrollElement).trigger(Event.ACTIVATE, { - relatedTarget: target - }) - } - - _clear() { - $(this._selector).filter(Selector.ACTIVE).removeClass(ClassName.ACTIVE) - } - - - // static - - static _jQueryInterface(config) { - return this.each(function () { - let data = $(this).data(DATA_KEY) - const _config = typeof config === 'object' && config - - if (!data) { - data = new ScrollSpy(this, _config) - $(this).data(DATA_KEY, data) - } - - if (typeof config === 'string') { - if (data[config] === undefined) { - throw new Error(`No method named "${config}"`) - } - data[config]() - } - }) - } - - - } - - - /** - * ------------------------------------------------------------------------ - * Data Api implementation - * ------------------------------------------------------------------------ - */ - - $(window).on(Event.LOAD_DATA_API, () => { - const scrollSpys = $.makeArray($(Selector.DATA_SPY)) - - for (let i = scrollSpys.length; i--;) { - const $spy = $(scrollSpys[i]) - ScrollSpy._jQueryInterface.call($spy, $spy.data()) - } - }) - - - /** - * ------------------------------------------------------------------------ - * jQuery - * ------------------------------------------------------------------------ - */ - - $.fn[NAME] = ScrollSpy._jQueryInterface - $.fn[NAME].Constructor = ScrollSpy - $.fn[NAME].noConflict = function () { - $.fn[NAME] = JQUERY_NO_CONFLICT - return ScrollSpy._jQueryInterface - } - - return ScrollSpy - -})(jQuery) - -export default ScrollSpy diff --git a/minionlivesmatter/templates/assets/bootstrap/js/src/tab.js b/minionlivesmatter/templates/assets/bootstrap/js/src/tab.js deleted file mode 100644 index d5669b7..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/js/src/tab.js +++ /dev/null @@ -1,284 +0,0 @@ -import Util from './util' - - -/** - * -------------------------------------------------------------------------- - * Bootstrap (v4.0.0-alpha.6): tab.js - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - * -------------------------------------------------------------------------- - */ - -const Tab = (($) => { - - - /** - * ------------------------------------------------------------------------ - * Constants - * ------------------------------------------------------------------------ - */ - - const NAME = 'tab' - const VERSION = '4.0.0-alpha.6' - const DATA_KEY = 'bs.tab' - const EVENT_KEY = `.${DATA_KEY}` - const DATA_API_KEY = '.data-api' - const JQUERY_NO_CONFLICT = $.fn[NAME] - const TRANSITION_DURATION = 150 - - const Event = { - HIDE : `hide${EVENT_KEY}`, - HIDDEN : `hidden${EVENT_KEY}`, - SHOW : `show${EVENT_KEY}`, - SHOWN : `shown${EVENT_KEY}`, - CLICK_DATA_API : `click${EVENT_KEY}${DATA_API_KEY}` - } - - const ClassName = { - DROPDOWN_MENU : 'dropdown-menu', - ACTIVE : 'active', - DISABLED : 'disabled', - FADE : 'fade', - SHOW : 'show' - } - - const Selector = { - A : 'a', - LI : 'li', - DROPDOWN : '.dropdown', - LIST : 'ul:not(.dropdown-menu), ol:not(.dropdown-menu), nav:not(.dropdown-menu), .list-group:not(.dropdown-menu)', - FADE_CHILD : '> .nav-item .fade, > .list-group-item .fade, > .fade', - ACTIVE : '.active', - ACTIVE_CHILD : '> .nav-item > .active, > .list-group-item > .active, > .active', - DATA_TOGGLE : '[data-toggle="tab"], [data-toggle="pill"]', - DROPDOWN_TOGGLE : '.dropdown-toggle', - DROPDOWN_ACTIVE_CHILD : '> .dropdown-menu .active' - } - - - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - - class Tab { - - constructor(element) { - this._element = element - } - - - // getters - - static get VERSION() { - return VERSION - } - - - // public - - show() { - if (this._element.parentNode && - this._element.parentNode.nodeType === Node.ELEMENT_NODE && - $(this._element).hasClass(ClassName.ACTIVE) || - $(this._element).hasClass(ClassName.DISABLED)) { - return - } - - let target - let previous - const listElement = $(this._element).closest(Selector.LIST)[0] - const selector = Util.getSelectorFromElement(this._element) - - if (listElement) { - previous = $.makeArray($(listElement).find(Selector.ACTIVE)) - previous = previous[previous.length - 1] - } - - const hideEvent = $.Event(Event.HIDE, { - relatedTarget: this._element - }) - - const showEvent = $.Event(Event.SHOW, { - relatedTarget: previous - }) - - if (previous) { - $(previous).trigger(hideEvent) - } - - $(this._element).trigger(showEvent) - - if (showEvent.isDefaultPrevented() || - hideEvent.isDefaultPrevented()) { - return - } - - if (selector) { - target = $(selector)[0] - } - - this._activate( - this._element, - listElement - ) - - const complete = () => { - const hiddenEvent = $.Event(Event.HIDDEN, { - relatedTarget: this._element - }) - - const shownEvent = $.Event(Event.SHOWN, { - relatedTarget: previous - }) - - $(previous).trigger(hiddenEvent) - $(this._element).trigger(shownEvent) - } - - if (target) { - this._activate(target, target.parentNode, complete) - } else { - complete() - } - } - - dispose() { - $.removeClass(this._element, DATA_KEY) - this._element = null - } - - - // private - - _activate(element, container, callback) { - const active = $(container).find(Selector.ACTIVE_CHILD)[0] - const isTransitioning = callback - && Util.supportsTransitionEnd() - && (active && $(active).hasClass(ClassName.FADE) - || Boolean($(container).find(Selector.FADE_CHILD)[0])) - - const complete = () => this._transitionComplete( - element, - active, - isTransitioning, - callback - ) - - if (active && isTransitioning) { - $(active) - .one(Util.TRANSITION_END, complete) - .emulateTransitionEnd(TRANSITION_DURATION) - - } else { - complete() - } - - if (active) { - $(active).removeClass(ClassName.SHOW) - } - } - - _transitionComplete(element, active, isTransitioning, callback) { - if (active) { - $(active).removeClass(ClassName.ACTIVE) - if ($(active).hasClass('list-group-item')) { - $(active).find('a.nav-link').removeClass(ClassName.ACTIVE) - } - - const dropdownChild = $(active.parentNode).find( - Selector.DROPDOWN_ACTIVE_CHILD - )[0] - - if (dropdownChild) { - $(dropdownChild).removeClass(ClassName.ACTIVE) - } - - active.setAttribute('aria-expanded', false) - } - - $(element).addClass(ClassName.ACTIVE) - if ($(element.parentNode).hasClass('list-group-item')) { - $(element.parentNode).addClass(ClassName.ACTIVE) - } - element.setAttribute('aria-expanded', true) - - if (isTransitioning) { - Util.reflow(element) - $(element).addClass(ClassName.SHOW) - } else { - $(element).removeClass(ClassName.FADE) - } - - if (element.parentNode && - $(element.parentNode).hasClass(ClassName.DROPDOWN_MENU)) { - - const dropdownElement = $(element).closest(Selector.DROPDOWN)[0] - if (dropdownElement) { - $(dropdownElement).find(Selector.DROPDOWN_TOGGLE).addClass(ClassName.ACTIVE) - } - - element.setAttribute('aria-expanded', true) - } - - if (callback) { - callback() - } - } - - - // static - - static _jQueryInterface(config) { - return this.each(function () { - const $this = $(this) - let data = $this.data(DATA_KEY) - - if (!data) { - data = new Tab(this) - $this.data(DATA_KEY, data) - } - - if (typeof config === 'string') { - if (data[config] === undefined) { - throw new Error(`No method named "${config}"`) - } - data[config]() - } - }) - } - - } - - - /** - * ------------------------------------------------------------------------ - * Data Api implementation - * ------------------------------------------------------------------------ - */ - - $(document) - .on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) { - event.preventDefault() - Tab._jQueryInterface.call($(this), 'show') - }) - - - /** - * ------------------------------------------------------------------------ - * jQuery - * ------------------------------------------------------------------------ - */ - - $.fn[NAME] = Tab._jQueryInterface - $.fn[NAME].Constructor = Tab - $.fn[NAME].noConflict = function () { - $.fn[NAME] = JQUERY_NO_CONFLICT - return Tab._jQueryInterface - } - - return Tab - -})(jQuery) - -export default Tab diff --git a/minionlivesmatter/templates/assets/bootstrap/js/src/tooltip.js b/minionlivesmatter/templates/assets/bootstrap/js/src/tooltip.js deleted file mode 100644 index e750dce..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/js/src/tooltip.js +++ /dev/null @@ -1,675 +0,0 @@ -/* global Tether */ - -import Util from './util' - - -/** - * -------------------------------------------------------------------------- - * Bootstrap (v4.0.0-alpha.6): tooltip.js - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - * -------------------------------------------------------------------------- - */ - -const Tooltip = (($) => { - - /** - * Check for Tether dependency - * Tether - http://tether.io/ - */ - if (typeof Tether === 'undefined') { - throw new Error('Bootstrap tooltips require Tether (http://tether.io/)') - } - - - /** - * ------------------------------------------------------------------------ - * Constants - * ------------------------------------------------------------------------ - */ - - const NAME = 'tooltip' - const VERSION = '4.0.0-alpha.6' - const DATA_KEY = 'bs.tooltip' - const EVENT_KEY = `.${DATA_KEY}` - const JQUERY_NO_CONFLICT = $.fn[NAME] - const TRANSITION_DURATION = 150 - const CLASS_PREFIX = 'bs-tether' - - const Default = { - animation : true, - template : '<div class="tooltip" role="tooltip">' - + '<div class="tooltip-inner"></div></div>', - trigger : 'hover focus', - title : '', - delay : 0, - html : false, - selector : false, - placement : 'top', - offset : '0 0', - constraints : [], - container : false - } - - const DefaultType = { - animation : 'boolean', - template : 'string', - title : '(string|element|function)', - trigger : 'string', - delay : '(number|object)', - html : 'boolean', - selector : '(string|boolean)', - placement : '(string|function)', - offset : 'string', - constraints : 'array', - container : '(string|element|boolean)' - } - - const AttachmentMap = { - TOP : 'bottom center', - RIGHT : 'middle left', - BOTTOM : 'top center', - LEFT : 'middle right' - } - - const HoverState = { - SHOW : 'show', - OUT : 'out' - } - - const Event = { - HIDE : `hide${EVENT_KEY}`, - HIDDEN : `hidden${EVENT_KEY}`, - SHOW : `show${EVENT_KEY}`, - SHOWN : `shown${EVENT_KEY}`, - INSERTED : `inserted${EVENT_KEY}`, - CLICK : `click${EVENT_KEY}`, - FOCUSIN : `focusin${EVENT_KEY}`, - FOCUSOUT : `focusout${EVENT_KEY}`, - MOUSEENTER : `mouseenter${EVENT_KEY}`, - MOUSELEAVE : `mouseleave${EVENT_KEY}` - } - - const ClassName = { - FADE : 'fade', - SHOW : 'show' - } - - const Selector = { - TOOLTIP : '.tooltip', - TOOLTIP_INNER : '.tooltip-inner' - } - - const TetherClass = { - element : false, - enabled : false - } - - const Trigger = { - HOVER : 'hover', - FOCUS : 'focus', - CLICK : 'click', - MANUAL : 'manual' - } - - - /** - * ------------------------------------------------------------------------ - * Class Definition - * ------------------------------------------------------------------------ - */ - - class Tooltip { - - constructor(element, config) { - - // private - this._isEnabled = true - this._timeout = 0 - this._hoverState = '' - this._activeTrigger = {} - this._isTransitioning = false - this._tether = null - - // protected - this.element = element - this.config = this._getConfig(config) - this.tip = null - - this._setListeners() - - } - - - // getters - - static get VERSION() { - return VERSION - } - - static get Default() { - return Default - } - - static get NAME() { - return NAME - } - - static get DATA_KEY() { - return DATA_KEY - } - - static get Event() { - return Event - } - - static get EVENT_KEY() { - return EVENT_KEY - } - - static get DefaultType() { - return DefaultType - } - - - // public - - enable() { - this._isEnabled = true - } - - disable() { - this._isEnabled = false - } - - toggleEnabled() { - this._isEnabled = !this._isEnabled - } - - toggle(event) { - if (event) { - const dataKey = this.constructor.DATA_KEY - let context = $(event.currentTarget).data(dataKey) - - if (!context) { - context = new this.constructor( - event.currentTarget, - this._getDelegateConfig() - ) - $(event.currentTarget).data(dataKey, context) - } - - context._activeTrigger.click = !context._activeTrigger.click - - if (context._isWithActiveTrigger()) { - context._enter(null, context) - } else { - context._leave(null, context) - } - - } else { - - if ($(this.getTipElement()).hasClass(ClassName.SHOW)) { - this._leave(null, this) - return - } - - this._enter(null, this) - } - } - - dispose() { - clearTimeout(this._timeout) - - this.cleanupTether() - - $.removeData(this.element, this.constructor.DATA_KEY) - - $(this.element).off(this.constructor.EVENT_KEY) - $(this.element).closest('.modal').off('hide.bs.modal') - - if (this.tip) { - $(this.tip).remove() - } - - this._isEnabled = null - this._timeout = null - this._hoverState = null - this._activeTrigger = null - this._tether = null - - this.element = null - this.config = null - this.tip = null - } - - show() { - if ($(this.element).css('display') === 'none') { - throw new Error('Please use show on visible elements') - } - - const showEvent = $.Event(this.constructor.Event.SHOW) - if (this.isWithContent() && this._isEnabled) { - if (this._isTransitioning) { - throw new Error('Tooltip is transitioning') - } - $(this.element).trigger(showEvent) - - const isInTheDom = $.contains( - this.element.ownerDocument.documentElement, - this.element - ) - - if (showEvent.isDefaultPrevented() || !isInTheDom) { - return - } - - const tip = this.getTipElement() - const tipId = Util.getUID(this.constructor.NAME) - - tip.setAttribute('id', tipId) - this.element.setAttribute('aria-describedby', tipId) - - this.setContent() - - if (this.config.animation) { - $(tip).addClass(ClassName.FADE) - } - - const placement = typeof this.config.placement === 'function' ? - this.config.placement.call(this, tip, this.element) : - this.config.placement - - const attachment = this._getAttachment(placement) - - const container = this.config.container === false ? document.body : $(this.config.container) - - $(tip) - .data(this.constructor.DATA_KEY, this) - .appendTo(container) - - $(this.element).trigger(this.constructor.Event.INSERTED) - - this._tether = new Tether({ - attachment, - element : tip, - target : this.element, - classes : TetherClass, - classPrefix : CLASS_PREFIX, - offset : this.config.offset, - constraints : this.config.constraints, - addTargetClasses: false - }) - - Util.reflow(tip) - this._tether.position() - - $(tip).addClass(ClassName.SHOW) - - const complete = () => { - const prevHoverState = this._hoverState - this._hoverState = null - this._isTransitioning = false - - $(this.element).trigger(this.constructor.Event.SHOWN) - - if (prevHoverState === HoverState.OUT) { - this._leave(null, this) - } - } - - if (Util.supportsTransitionEnd() && $(this.tip).hasClass(ClassName.FADE)) { - this._isTransitioning = true - $(this.tip) - .one(Util.TRANSITION_END, complete) - .emulateTransitionEnd(Tooltip._TRANSITION_DURATION) - return - } - - complete() - } - } - - hide(callback) { - const tip = this.getTipElement() - const hideEvent = $.Event(this.constructor.Event.HIDE) - if (this._isTransitioning) { - throw new Error('Tooltip is transitioning') - } - const complete = () => { - if (this._hoverState !== HoverState.SHOW && tip.parentNode) { - tip.parentNode.removeChild(tip) - } - - this.element.removeAttribute('aria-describedby') - $(this.element).trigger(this.constructor.Event.HIDDEN) - this._isTransitioning = false - this.cleanupTether() - - if (callback) { - callback() - } - } - - $(this.element).trigger(hideEvent) - - if (hideEvent.isDefaultPrevented()) { - return - } - - $(tip).removeClass(ClassName.SHOW) - - this._activeTrigger[Trigger.CLICK] = false - this._activeTrigger[Trigger.FOCUS] = false - this._activeTrigger[Trigger.HOVER] = false - - if (Util.supportsTransitionEnd() && - $(this.tip).hasClass(ClassName.FADE)) { - this._isTransitioning = true - $(tip) - .one(Util.TRANSITION_END, complete) - .emulateTransitionEnd(TRANSITION_DURATION) - - } else { - complete() - } - - this._hoverState = '' - } - - - // protected - - isWithContent() { - return Boolean(this.getTitle()) - } - - getTipElement() { - return this.tip = this.tip || $(this.config.template)[0] - } - - setContent() { - const $tip = $(this.getTipElement()) - - this.setElementContent($tip.find(Selector.TOOLTIP_INNER), this.getTitle()) - - $tip.removeClass(`${ClassName.FADE} ${ClassName.SHOW}`) - - this.cleanupTether() - } - - setElementContent($element, content) { - const html = this.config.html - if (typeof content === 'object' && (content.nodeType || content.jquery)) { - // content is a DOM node or a jQuery - if (html) { - if (!$(content).parent().is($element)) { - $element.empty().append(content) - } - } else { - $element.text($(content).text()) - } - } else { - $element[html ? 'html' : 'text'](content) - } - } - - getTitle() { - let title = this.element.getAttribute('data-original-title') - - if (!title) { - title = typeof this.config.title === 'function' ? - this.config.title.call(this.element) : - this.config.title - } - - return title - } - - cleanupTether() { - if (this._tether) { - this._tether.destroy() - } - } - - - // private - - _getAttachment(placement) { - return AttachmentMap[placement.toUpperCase()] - } - - _setListeners() { - const triggers = this.config.trigger.split(' ') - - triggers.forEach((trigger) => { - if (trigger === 'click') { - $(this.element).on( - this.constructor.Event.CLICK, - this.config.selector, - (event) => this.toggle(event) - ) - - } else if (trigger !== Trigger.MANUAL) { - const eventIn = trigger === Trigger.HOVER ? - this.constructor.Event.MOUSEENTER : - this.constructor.Event.FOCUSIN - const eventOut = trigger === Trigger.HOVER ? - this.constructor.Event.MOUSELEAVE : - this.constructor.Event.FOCUSOUT - - $(this.element) - .on( - eventIn, - this.config.selector, - (event) => this._enter(event) - ) - .on( - eventOut, - this.config.selector, - (event) => this._leave(event) - ) - } - - $(this.element).closest('.modal').on( - 'hide.bs.modal', - () => this.hide() - ) - }) - - if (this.config.selector) { - this.config = $.extend({}, this.config, { - trigger : 'manual', - selector : '' - }) - } else { - this._fixTitle() - } - } - - _fixTitle() { - const titleType = typeof this.element.getAttribute('data-original-title') - if (this.element.getAttribute('title') || - titleType !== 'string') { - this.element.setAttribute( - 'data-original-title', - this.element.getAttribute('title') || '' - ) - this.element.setAttribute('title', '') - } - } - - _enter(event, context) { - const dataKey = this.constructor.DATA_KEY - - context = context || $(event.currentTarget).data(dataKey) - - if (!context) { - context = new this.constructor( - event.currentTarget, - this._getDelegateConfig() - ) - $(event.currentTarget).data(dataKey, context) - } - - if (event) { - context._activeTrigger[ - event.type === 'focusin' ? Trigger.FOCUS : Trigger.HOVER - ] = true - } - - if ($(context.getTipElement()).hasClass(ClassName.SHOW) || - context._hoverState === HoverState.SHOW) { - context._hoverState = HoverState.SHOW - return - } - - clearTimeout(context._timeout) - - context._hoverState = HoverState.SHOW - - if (!context.config.delay || !context.config.delay.show) { - context.show() - return - } - - context._timeout = setTimeout(() => { - if (context._hoverState === HoverState.SHOW) { - context.show() - } - }, context.config.delay.show) - } - - _leave(event, context) { - const dataKey = this.constructor.DATA_KEY - - context = context || $(event.currentTarget).data(dataKey) - - if (!context) { - context = new this.constructor( - event.currentTarget, - this._getDelegateConfig() - ) - $(event.currentTarget).data(dataKey, context) - } - - if (event) { - context._activeTrigger[ - event.type === 'focusout' ? Trigger.FOCUS : Trigger.HOVER - ] = false - } - - if (context._isWithActiveTrigger()) { - return - } - - clearTimeout(context._timeout) - - context._hoverState = HoverState.OUT - - if (!context.config.delay || !context.config.delay.hide) { - context.hide() - return - } - - context._timeout = setTimeout(() => { - if (context._hoverState === HoverState.OUT) { - context.hide() - } - }, context.config.delay.hide) - } - - _isWithActiveTrigger() { - for (const trigger in this._activeTrigger) { - if (this._activeTrigger[trigger]) { - return true - } - } - - return false - } - - _getConfig(config) { - config = $.extend( - {}, - this.constructor.Default, - $(this.element).data(), - config - ) - - if (config.delay && typeof config.delay === 'number') { - config.delay = { - show : config.delay, - hide : config.delay - } - } - - Util.typeCheckConfig( - NAME, - config, - this.constructor.DefaultType - ) - - return config - } - - _getDelegateConfig() { - const config = {} - - if (this.config) { - for (const key in this.config) { - if (this.constructor.Default[key] !== this.config[key]) { - config[key] = this.config[key] - } - } - } - - return config - } - - - // static - - static _jQueryInterface(config) { - return this.each(function () { - let data = $(this).data(DATA_KEY) - const _config = typeof config === 'object' && config - - if (!data && /dispose|hide/.test(config)) { - return - } - - if (!data) { - data = new Tooltip(this, _config) - $(this).data(DATA_KEY, data) - } - - if (typeof config === 'string') { - if (data[config] === undefined) { - throw new Error(`No method named "${config}"`) - } - data[config]() - } - }) - } - - } - - - /** - * ------------------------------------------------------------------------ - * jQuery - * ------------------------------------------------------------------------ - */ - - $.fn[NAME] = Tooltip._jQueryInterface - $.fn[NAME].Constructor = Tooltip - $.fn[NAME].noConflict = function () { - $.fn[NAME] = JQUERY_NO_CONFLICT - return Tooltip._jQueryInterface - } - - return Tooltip - -})(jQuery) - -export default Tooltip diff --git a/minionlivesmatter/templates/assets/bootstrap/js/src/util.js b/minionlivesmatter/templates/assets/bootstrap/js/src/util.js deleted file mode 100644 index 3c0d022..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/js/src/util.js +++ /dev/null @@ -1,164 +0,0 @@ -/** - * -------------------------------------------------------------------------- - * Bootstrap (v4.0.0-alpha.6): util.js - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - * -------------------------------------------------------------------------- - */ - -const Util = (($) => { - - - /** - * ------------------------------------------------------------------------ - * Private TransitionEnd Helpers - * ------------------------------------------------------------------------ - */ - - let transition = false - - const MAX_UID = 1000000 - - const TransitionEndEvent = { - WebkitTransition : 'webkitTransitionEnd', - MozTransition : 'transitionend', - OTransition : 'oTransitionEnd otransitionend', - transition : 'transitionend' - } - - // shoutout AngusCroll (https://goo.gl/pxwQGp) - function toType(obj) { - return {}.toString.call(obj).match(/\s([a-zA-Z]+)/)[1].toLowerCase() - } - - function isElement(obj) { - return (obj[0] || obj).nodeType - } - - function getSpecialTransitionEndEvent() { - return { - bindType: transition.end, - delegateType: transition.end, - handle(event) { - if ($(event.target).is(this)) { - return event.handleObj.handler.apply(this, arguments) // eslint-disable-line prefer-rest-params - } - return undefined - } - } - } - - function transitionEndTest() { - if (window.QUnit) { - return false - } - - const el = document.createElement('bootstrap') - - for (const name in TransitionEndEvent) { - if (el.style[name] !== undefined) { - return { - end: TransitionEndEvent[name] - } - } - } - - return false - } - - function transitionEndEmulator(duration) { - let called = false - - $(this).one(Util.TRANSITION_END, () => { - called = true - }) - - setTimeout(() => { - if (!called) { - Util.triggerTransitionEnd(this) - } - }, duration) - - return this - } - - function setTransitionEndSupport() { - transition = transitionEndTest() - - $.fn.emulateTransitionEnd = transitionEndEmulator - - if (Util.supportsTransitionEnd()) { - $.event.special[Util.TRANSITION_END] = getSpecialTransitionEndEvent() - } - } - - - /** - * -------------------------------------------------------------------------- - * Public Util Api - * -------------------------------------------------------------------------- - */ - - const Util = { - - TRANSITION_END: 'bsTransitionEnd', - - getUID(prefix) { - do { - // eslint-disable-next-line no-bitwise - prefix += ~~(Math.random() * MAX_UID) // "~~" acts like a faster Math.floor() here - } while (document.getElementById(prefix)) - return prefix - }, - - getSelectorFromElement(element) { - let selector = element.getAttribute('data-target') - if (!selector || selector === '#') { - selector = element.getAttribute('href') || '' - } - - try { - const $selector = $(selector) - return $selector.length > 0 ? selector : null - } catch (error) { - return null - } - }, - - reflow(element) { - return element.offsetHeight - }, - - triggerTransitionEnd(element) { - $(element).trigger(transition.end) - }, - - supportsTransitionEnd() { - return Boolean(transition) - }, - - typeCheckConfig(componentName, config, configTypes) { - for (const property in configTypes) { - if (configTypes.hasOwnProperty(property)) { - const expectedTypes = configTypes[property] - const value = config[property] - const valueType = value && isElement(value) ? - 'element' : toType(value) - - if (!new RegExp(expectedTypes).test(valueType)) { - throw new Error( - `${componentName.toUpperCase()}: ` + - `Option "${property}" provided type "${valueType}" ` + - `but expected type "${expectedTypes}".`) - } - } - } - } - } - - setTransitionEndSupport() - - return Util - -})(jQuery) - -export default Util diff --git a/minionlivesmatter/templates/assets/bootstrap/nuget/MyGet.ps1 b/minionlivesmatter/templates/assets/bootstrap/nuget/MyGet.ps1 deleted file mode 100644 index 71110b5..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/nuget/MyGet.ps1 +++ /dev/null @@ -1,18 +0,0 @@ -# set env vars usually set by MyGet (enable for local testing) -#$env:SourcesPath = '..' -#$env:NuGet = "./nuget.exe" #https://dist.nuget.org/win-x86-commandline/latest/nuget.exe - -$nuget = $env:NuGet - -# parse the version number out of package.json -$bsversionParts = ((Get-Content $env:SourcesPath\package.json) -join "`n" | ConvertFrom-Json).version.split('-', 2) # split the version on the '-' -$bsversion = $bsversionParts[0] - -if ($bsversionParts.Length -gt 1) -{ - $bsversion += '-' + $bsversionParts[1].replace('.', '').replace('-', '_') # strip out invalid chars from the PreRelease part -} - -# create packages -& $nuget pack "$env:SourcesPath\nuget\bootstrap.nuspec" -Verbosity detailed -NonInteractive -NoPackageAnalysis -BasePath $env:SourcesPath -Version $bsversion -& $nuget pack "$env:SourcesPath\nuget\bootstrap.sass.nuspec" -Verbosity detailed -NonInteractive -NoPackageAnalysis -BasePath $env:SourcesPath -Version $bsversion diff --git a/minionlivesmatter/templates/assets/bootstrap/nuget/bootstrap.nuspec b/minionlivesmatter/templates/assets/bootstrap/nuget/bootstrap.nuspec deleted file mode 100644 index bbb4582..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/nuget/bootstrap.nuspec +++ /dev/null @@ -1,27 +0,0 @@ -<?xml version="1.0"?> -<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"> - <metadata> - <id>bootstrap</id> - <version>4.0.0</version> - <title>Bootstrap CSS</title> - <authors>The Bootstrap Authors, Twitter Inc.</authors> - <owners>bootstrap</owners> - <description>The most popular front-end framework for developing responsive, mobile first projects on the web.</description> - <releaseNotes>https://blog.getbootstrap.com</releaseNotes> - <summary>Bootstrap framework in CSS. Includes fonts and JavaScript</summary> - <language>en-us</language> - <projectUrl>https://getbootstrap.com</projectUrl> - <iconUrl>https://getbootstrap.com/apple-touch-icon.png</iconUrl> - <licenseUrl>https://github.com/twbs/bootstrap/blob/master/LICENSE</licenseUrl> - <copyright>Copyright 2017</copyright> - <requireLicenseAcceptance>false</requireLicenseAcceptance> - <dependencies> - <dependency id="jQuery" version="[1.9.1,4)" /> - </dependencies> - <tags>css mobile-first responsive front-end framework web</tags> - </metadata> - <files> - <file src="dist\css\*.*" target="content\Content" /> - <file src="dist\js\bootstrap*.js" target="content\Scripts" /> - </files> -</package> diff --git a/minionlivesmatter/templates/assets/bootstrap/nuget/bootstrap.sass.nuspec b/minionlivesmatter/templates/assets/bootstrap/nuget/bootstrap.sass.nuspec deleted file mode 100644 index aba443c..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/nuget/bootstrap.sass.nuspec +++ /dev/null @@ -1,27 +0,0 @@ -<?xml version="1.0"?> -<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"> - <metadata> - <id>bootstrap.sass</id> - <version>4.0.0</version> - <title>Bootstrap Sass</title> - <authors>The Bootstrap Authors, Twitter Inc.</authors> - <owners>bootstrap</owners> - <description>The most popular front-end framework for developing responsive, mobile first projects on the web.</description> - <releaseNotes>https://blog.getbootstrap.com</releaseNotes> - <summary>Bootstrap framework in Sass. Includes fonts and JavaScript</summary> - <language>en-us</language> - <projectUrl>https://getbootstrap.com</projectUrl> - <iconUrl>https://getbootstrap.com/apple-touch-icon.png</iconUrl> - <licenseUrl>https://github.com/twbs/bootstrap/blob/master/LICENSE</licenseUrl> - <copyright>Copyright 2017</copyright> - <requireLicenseAcceptance>false</requireLicenseAcceptance> - <dependencies> - <dependency id="jQuery" version="[1.9.1,4)" /> - </dependencies> - <tags>css sass mobile-first responsive front-end framework web</tags> - </metadata> - <files> - <file src="scss\**\*.scss" target="content\Content\bootstrap" /> - <file src="dist\js\bootstrap*.js" target="content\Scripts" /> - </files> -</package> diff --git a/minionlivesmatter/templates/assets/bootstrap/package.js b/minionlivesmatter/templates/assets/bootstrap/package.js deleted file mode 100644 index ce21bad..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/package.js +++ /dev/null @@ -1,19 +0,0 @@ -// package metadata file for Meteor.js - -/* global Package:true */ - -Package.describe({ - name: 'twbs:bootstrap', // https://atmospherejs.com/twbs/bootstrap - summary: 'The most popular front-end framework for developing responsive, mobile first projects on the web.', - version: '4.0.0-alpha.6', - git: 'https://github.com/twbs/bootstrap.git' -}); - -Package.onUse(function (api) { - api.versionsFrom('METEOR@1.0'); - api.use('jquery', 'client'); - api.addFiles([ - 'dist/css/bootstrap.css', - 'dist/js/bootstrap.js' - ], 'client'); -}); diff --git a/minionlivesmatter/templates/assets/bootstrap/package.json b/minionlivesmatter/templates/assets/bootstrap/package.json deleted file mode 100644 index d11ffbf..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/package.json +++ /dev/null @@ -1,114 +0,0 @@ -{ - "name": "bootstrap", - "description": "The most popular front-end framework for developing responsive, mobile first projects on the web.", - "version": "4.0.0-alpha.6", - "keywords": [ - "css", - "sass", - "mobile-first", - "responsive", - "front-end", - "framework", - "web" - ], - "homepage": "https://getbootstrap.com", - "author": "The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)", - "contributors": [ - "Twitter, Inc." - ], - "scripts": { - "change-version": "node grunt/change-version.js", - "clean-css": "cleancss --level 1 --source-map --output dist/css/bootstrap.min.css dist/css/bootstrap.css && cleancss --level 1 --source-map --output dist/css/bootstrap-grid.min.css dist/css/bootstrap-grid.css && cleancss --level 1 --source-map --output dist/css/bootstrap-reboot.min.css dist/css/bootstrap-reboot.css", - "clean-css-docs": "cleancss --level 1 --source-map --output docs/assets/css/docs.min.css docs/assets/css/docs.min.css", - "eslint": "eslint --ignore-path .eslintignore js && eslint --config js/tests/.eslintrc.json --env node grunt Gruntfile.js && eslint --config js/tests/.eslintrc.json docs/assets/js/src docs/assets/js/ie-emulation-modes-warning.js docs/assets/js/ie10-viewport-bug-workaround.js", - "htmlhint": "htmlhint --config docs/.htmlhintrc _gh_pages/", - "htmllint": "htmllint --rc docs/.htmllintrc _gh_pages/**/*.html js/tests/visual/*.html", - "jekyll": "bundle exec jekyll build", - "jekyll-github": "shx echo 'github: true' > $npm_config_tmp/twbsjekyll.yml && npm run jekyll -- --config _config.yml,$npm_config_tmp/twbsjekyll.yml && shx rm $npm_config_tmp/twbsjekyll.yml", - "postcss": "postcss --config grunt/ --replace dist/css/*.css", - "postcss-docs": "postcss --config grunt/ --replace docs/assets/css/docs.min.css && postcss --config grunt/ --replace docs/examples/**/*.css", - "sass": "node-sass --output-style expanded --source-map true --precision 6 scss/bootstrap.scss dist/css/bootstrap.css && node-sass --output-style expanded --source-map true --precision 6 scss/bootstrap-grid.scss dist/css/bootstrap-grid.css && node-sass --output-style expanded --source-map true --precision 6 scss/bootstrap-reboot.scss dist/css/bootstrap-reboot.css", - "sass-docs": "node-sass --output-style expanded --source-map true --precision 6 docs/assets/scss/docs.scss docs/assets/css/docs.min.css", - "scss-lint": "bundle exec scss-lint --config scss/.scss-lint.yml scss/*.scss", - "scss-lint-docs": "bundle exec scss-lint --config scss/.scss-lint.yml --exclude docs/assets/scss/docs.scss docs/assets/scss/*.scss", - "uglify": "uglifyjs --compress warnings=false --mangle --comments '/^!/' --output dist/js/bootstrap.min.js dist/js/bootstrap.js", - "uglify-docs": "uglifyjs --compress warnings=false --mangle --comments '/^!/' --output docs/assets/js/docs.min.js docs/assets/js/vendor/anchor.min.js docs/assets/js/vendor/clipboard.min.js docs/assets/js/vendor/holder.min.js docs/assets/js/src/application.js", - "update-shrinkwrap": "npm shrinkwrap --dev && shx mv ./npm-shrinkwrap.json ./grunt/npm-shrinkwrap.json", - "test": "npm run eslint && grunt test" - }, - "style": "dist/css/bootstrap.css", - "sass": "scss/bootstrap.scss", - "main": "dist/js/bootstrap", - "repository": { - "type": "git", - "url": "https://github.com/twbs/bootstrap.git" - }, - "bugs": { - "url": "https://github.com/twbs/bootstrap/issues" - }, - "license": "MIT", - "dependencies": { - "jquery": ">=1.9.1", - "tether": "^1.4.0" - }, - "devDependencies": { - "autoprefixer": "^6.7.7", - "babel-eslint": "^7.1.1", - "babel-plugin-transform-es2015-modules-strip": "^0.1.0", - "babel-preset-es2015": "^6.24.0", - "clean-css-cli": "^4.0.9", - "eslint": "^3.18.0", - "grunt": "^1.0.1", - "grunt-babel": "^6.0.0", - "grunt-build-control": "^0.7.1", - "grunt-contrib-clean": "^1.0.0", - "grunt-contrib-compress": "^1.4.1", - "grunt-contrib-concat": "^1.0.1", - "grunt-contrib-connect": "^1.0.2", - "grunt-contrib-copy": "^1.0.0", - "grunt-contrib-qunit": "^1.3.0", - "grunt-contrib-watch": "^1.0.0", - "grunt-exec": "^2.0.0", - "grunt-saucelabs": "^9.0.0", - "grunt-stamp": "^0.3.0", - "htmlhint": "^0.9.13", - "htmllint-cli": "^0.0.6", - "is-travis": "^1.0.0", - "load-grunt-tasks": "^3.5.2", - "node-sass": "^4.5.0", - "postcss-cli": "^3.0.0", - "postcss-flexbugs-fixes": "^2.1.0", - "shelljs": "^0.7.7", - "shx": "^0.2.2", - "time-grunt": "^1.4.0", - "uglify-js": "^2.8.14" - }, - "engines": { - "node": ">=4" - }, - "files": [ - "dist", - "grunt", - "js/**/*.js", - "scss/**/*.scss", - "Gruntfile.js", - "LICENSE" - ], - "jspm": { - "main": "js/bootstrap", - "directories": { - "lib": "dist" - }, - "shim": { - "js/bootstrap": { - "deps": [ - "jquery" - ], - "exports": "$" - } - }, - "dependencies": { - "jquery": "3" - } - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/sache.json b/minionlivesmatter/templates/assets/bootstrap/sache.json deleted file mode 100644 index cd1a8c4..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/sache.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "name": "bootstrap", - "description": "The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.", - "tags": ["bootstrap", "grid", "typography", "buttons", "ui", "responsive-web-design"] -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/.scss-lint.yml b/minionlivesmatter/templates/assets/bootstrap/scss/.scss-lint.yml deleted file mode 100644 index 845001e..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/.scss-lint.yml +++ /dev/null @@ -1,536 +0,0 @@ -# Default application configuration that all configurations inherit from. -scss_files: - - "**/*.scss" - - "docs/assets/scss/**/*.scss" - -plugin_directories: ['.scss-linters'] - -# List of gem names to load custom linters from (make sure they are already -# installed) -plugin_gems: [] - -# Default severity of all linters. -severity: warning - -linters: - BangFormat: - enabled: true - space_before_bang: true - space_after_bang: false - - BemDepth: - enabled: false - max_elements: 1 - - BorderZero: - enabled: true - convention: zero # or `none` - - ChainedClasses: - enabled: false - - ColorKeyword: - enabled: true - - ColorVariable: - enabled: false - - Comment: - enabled: true - exclude: - - bootstrap.scss - style: silent - - DebugStatement: - enabled: true - - DeclarationOrder: - enabled: false - - DisableLinterReason: - enabled: false - - DuplicateProperty: - enabled: true - - ElsePlacement: - enabled: true - style: same_line # or 'new_line' - - EmptyLineBetweenBlocks: - enabled: false - ignore_single_line_blocks: true - - EmptyRule: - enabled: true - - ExtendDirective: - enabled: false - - FinalNewline: - enabled: true - present: true - - HexLength: - enabled: true - style: short # or 'long' - - HexNotation: - enabled: true - style: lowercase # or 'uppercase' - - HexValidation: - enabled: true - - IdSelector: - enabled: true - - ImportantRule: - enabled: false - - ImportPath: - enabled: true - leading_underscore: false - filename_extension: false - - Indentation: - enabled: true - allow_non_nested_indentation: false - character: space # or 'tab' - width: 2 - - LeadingZero: - enabled: true - style: exclude_zero # or 'include_zero' - - MergeableSelector: - enabled: false - force_nesting: true - - NameFormat: - enabled: true - allow_leading_underscore: true - convention: hyphenated_lowercase # or 'camel_case', or 'snake_case', or a regex pattern - - NestingDepth: - enabled: true - max_depth: 4 - ignore_parent_selectors: false - - PlaceholderInExtend: - enabled: false - - PropertyCount: - enabled: false - include_nested: false - max_properties: 10 - - PropertySortOrder: - enabled: true - ignore_unspecified: false - min_properties: 2 - separate_groups: false - order: - - position - - top - - right - - bottom - - left - - z-index - - -webkit-box-sizing - - -moz-box-sizing - - box-sizing - - display - - flex - - flex-align - - flex-basis - - flex-direction - - flex-wrap - - flex-flow - - flex-grow - - flex-order - - flex-pack - - align-items - - align-self - - justify-content - - float - - width - - min-width - - max-width - - height - - min-height - - max-height - - padding - - padding-top - - padding-right - - padding-bottom - - padding-left - - margin - - margin-top - - margin-right - - margin-bottom - - margin-left - - overflow - - overflow-x - - overflow-y - - -webkit-overflow-scrolling - - -ms-overflow-x - - -ms-overflow-y - - -ms-overflow-style - - clip - - clear - - font - - font-family - - font-size - - font-style - - font-weight - - font-variant - - font-size-adjust - - font-stretch - - font-effect - - font-emphasize - - font-emphasize-position - - font-emphasize-style - - font-smooth - - -webkit-hyphens - - -moz-hyphens - - hyphens - - line-height - - color - - text-align - - -webkit-text-align-last - - -moz-text-align-last - - -ms-text-align-last - - text-align-last - - text-emphasis - - text-emphasis-color - - text-emphasis-style - - text-emphasis-position - - text-decoration - - text-indent - - text-justify - - text-outline - - -ms-text-overflow - - text-overflow - - text-overflow-ellipsis - - text-overflow-mode - - text-shadow - - text-transform - - text-wrap - - -webkit-text-size-adjust - - -ms-text-size-adjust - - letter-spacing - - -ms-word-break - - word-break - - word-spacing - - -ms-word-wrap - - word-wrap - - overflow-wrap - - -moz-tab-size - - -o-tab-size - - tab-size - - white-space - - vertical-align - - list-style - - list-style-position - - list-style-type - - list-style-image - - pointer-events - - -ms-touch-action - - touch-action - - cursor - - visibility - - zoom - - table-layout - - empty-cells - - caption-side - - border-spacing - - border-collapse - - content - - quotes - - counter-reset - - counter-increment - - resize - - -webkit-user-select - - -moz-user-select - - -ms-user-select - - -o-user-select - - user-select - - nav-index - - nav-up - - nav-right - - nav-down - - nav-left - - background - - background-color - - background-image - - -ms-filter:\\'progid:DXImageTransform.Microsoft.gradient - - filter:progid:DXImageTransform.Microsoft.gradient - - filter:progid:DXImageTransform.Microsoft.AlphaImageLoader - - filter - - background-repeat - - background-attachment - - background-position - - background-position-x - - background-position-y - - -webkit-background-clip - - -moz-background-clip - - background-clip - - background-origin - - -webkit-background-size - - -moz-background-size - - -o-background-size - - background-size - - border - - border-color - - border-style - - border-width - - border-top - - border-top-color - - border-top-style - - border-top-width - - border-right - - border-right-color - - border-right-style - - border-right-width - - border-bottom - - border-bottom-color - - border-bottom-style - - border-bottom-width - - border-left - - border-left-color - - border-left-style - - border-left-width - - border-radius - - border-top-left-radius - - border-top-right-radius - - border-bottom-right-radius - - border-bottom-left-radius - - -webkit-border-image - - -moz-border-image - - -o-border-image - - border-image - - -webkit-border-image-source - - -moz-border-image-source - - -o-border-image-source - - border-image-source - - -webkit-border-image-slice - - -moz-border-image-slice - - -o-border-image-slice - - border-image-slice - - -webkit-border-image-width - - -moz-border-image-width - - -o-border-image-width - - border-image-width - - -webkit-border-image-outset - - -moz-border-image-outset - - -o-border-image-outset - - border-image-outset - - -webkit-border-image-repeat - - -moz-border-image-repeat - - -o-border-image-repeat - - border-image-repeat - - outline - - outline-width - - outline-style - - outline-color - - outline-offset - - -webkit-box-shadow - - -moz-box-shadow - - box-shadow - - filter:progid:DXImageTransform.Microsoft.Alpha(Opacity - - -ms-filter:\\'progid:DXImageTransform.Microsoft.Alpha - - opacity - - -ms-interpolation-mode - - -webkit-transition - - -moz-transition - - -ms-transition - - -o-transition - - transition - - -webkit-transition-delay - - -moz-transition-delay - - -ms-transition-delay - - -o-transition-delay - - transition-delay - - -webkit-transition-timing-function - - -moz-transition-timing-function - - -ms-transition-timing-function - - -o-transition-timing-function - - transition-timing-function - - -webkit-transition-duration - - -moz-transition-duration - - -ms-transition-duration - - -o-transition-duration - - transition-duration - - -webkit-transition-property - - -moz-transition-property - - -ms-transition-property - - -o-transition-property - - transition-property - - -webkit-transform - - -moz-transform - - -ms-transform - - -o-transform - - transform - - -webkit-transform-origin - - -moz-transform-origin - - -ms-transform-origin - - -o-transform-origin - - transform-origin - - -webkit-animation - - -moz-animation - - -ms-animation - - -o-animation - - animation - - -webkit-animation-name - - -moz-animation-name - - -ms-animation-name - - -o-animation-name - - animation-name - - -webkit-animation-duration - - -moz-animation-duration - - -ms-animation-duration - - -o-animation-duration - - animation-duration - - -webkit-animation-play-state - - -moz-animation-play-state - - -ms-animation-play-state - - -o-animation-play-state - - animation-play-state - - -webkit-animation-timing-function - - -moz-animation-timing-function - - -ms-animation-timing-function - - -o-animation-timing-function - - animation-timing-function - - -webkit-animation-delay - - -moz-animation-delay - - -ms-animation-delay - - -o-animation-delay - - animation-delay - - -webkit-animation-iteration-count - - -moz-animation-iteration-count - - -ms-animation-iteration-count - - -o-animation-iteration-count - - animation-iteration-count - - -webkit-animation-direction - - -moz-animation-direction - - -ms-animation-direction - - -o-animation-direction - - - PropertySpelling: - enabled: true - extra_properties: [] - disabled_properties: [] - - PropertyUnits: - enabled: true - global: [ - 'ch', 'em', 'ex', 'rem', # Font-relative lengths - 'cm', 'in', 'mm', 'pc', 'pt', 'px', 'q', # Absolute lengths - 'vh', 'vw', 'vmin', 'vmax', # Viewport-percentage lengths - 'deg', 'grad', 'rad', 'turn', # Angle - 'ms', 's', # Duration - 'Hz', 'kHz', # Frequency - 'dpi', 'dpcm', 'dppx', # Resolution - '%'] # Other - properties: {} - - PseudoElement: - enabled: true - - QualifyingElement: - enabled: true - allow_element_with_attribute: false - allow_element_with_class: false - allow_element_with_id: false - - SelectorDepth: - enabled: true - max_depth: 4 - - SelectorFormat: - enabled: false - convention: hyphenated_lowercase # or 'strict_BEM', or 'hyphenated_BEM', or 'snake_case', or 'camel_case', or a regex pattern - - Shorthand: - enabled: true - allowed_shorthands: [1, 2, 3, 4] - - SingleLinePerProperty: - enabled: false - allow_single_line_rule_sets: true - - SingleLinePerSelector: - enabled: false - - SpaceAfterComma: - enabled: false - style: one_space # or 'no_space', or 'at_least_one_space' - - SpaceAfterPropertyColon: - enabled: true - style: at_least_one_space # or 'no_space', or 'at_least_one_space', or 'aligned' - - SpaceAfterPropertyName: - enabled: true - - SpaceAfterVariableName: - enabled: true - - SpaceAroundOperator: - enabled: true - style: one_space # or 'at_least_one_space', or 'no_space' - - SpaceBeforeBrace: - enabled: true - style: space # or 'new_line' - allow_single_line_padding: true - - SpaceBetweenParens: - enabled: true - spaces: 0 - - StringQuotes: - enabled: true - style: double_quotes # or double_quotes - - TrailingSemicolon: - enabled: true - - TrailingWhitespace: - enabled: true - - TrailingZero: - enabled: false - - TransitionAll: - enabled: false - - UnnecessaryMantissa: - enabled: true - - UnnecessaryParentReference: - enabled: true - - UrlFormat: - enabled: true - - UrlQuotes: - enabled: true - - VariableForProperty: - enabled: false - properties: [] - - VendorPrefix: - enabled: true - identifier_list: base - additional_identifiers: [] - excluded_identifiers: [] - - ZeroUnit: - enabled: true - - Compass::*: - enabled: false diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/_alert.scss b/minionlivesmatter/templates/assets/bootstrap/scss/_alert.scss deleted file mode 100644 index d9b4e9b..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/_alert.scss +++ /dev/null @@ -1,55 +0,0 @@ -// -// Base styles -// - -.alert { - padding: $alert-padding-y $alert-padding-x; - margin-bottom: $alert-margin-bottom; - border: $alert-border-width solid transparent; - @include border-radius($alert-border-radius); -} - -// Headings for larger alerts -.alert-heading { - // Specified to prevent conflicts of changing $headings-color - color: inherit; -} - -// Provide class for links that match alerts -.alert-link { - font-weight: $alert-link-font-weight; -} - - -// Dismissible alerts -// -// Expand the right padding and account for the close button's positioning. - -.alert-dismissible { - // Adjust close link position - .close { - position: relative; - top: -$alert-padding-y; - right: -$alert-padding-x; - padding: $alert-padding-y $alert-padding-x; - color: inherit; - } -} - - -// Alternate styles -// -// Generate contextual modifier classes for colorizing the alert. - -.alert-success { - @include alert-variant($alert-success-bg, $alert-success-border, $alert-success-text); -} -.alert-info { - @include alert-variant($alert-info-bg, $alert-info-border, $alert-info-text); -} -.alert-warning { - @include alert-variant($alert-warning-bg, $alert-warning-border, $alert-warning-text); -} -.alert-danger { - @include alert-variant($alert-danger-bg, $alert-danger-border, $alert-danger-text); -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/_badge.scss b/minionlivesmatter/templates/assets/bootstrap/scss/_badge.scss deleted file mode 100644 index 175b19d..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/_badge.scss +++ /dev/null @@ -1,76 +0,0 @@ -// Base class -// -// Requires one of the contextual, color modifier classes for `color` and -// `background-color`. - -.badge { - display: inline-block; - padding: $badge-padding-y $badge-padding-x; - font-size: $badge-font-size; - font-weight: $badge-font-weight; - line-height: 1; - color: $badge-color; - text-align: center; - white-space: nowrap; - vertical-align: baseline; - @include border-radius(); - - // Empty badges collapse automatically - &:empty { - display: none; - } -} - -// Quick fix for badges in buttons -.btn .badge { - position: relative; - top: -1px; -} - -// scss-lint:disable QualifyingElement -// Add hover effects, but only for links -a.badge { - @include hover-focus { - color: $badge-link-hover-color; - text-decoration: none; - } -} -// scss-lint:enable QualifyingElement - -// Pill badges -// -// Make them extra rounded with a modifier to replace v3's badges. - -.badge-pill { - padding-right: $badge-pill-padding-x; - padding-left: $badge-pill-padding-x; - @include border-radius($badge-pill-border-radius); -} - -// Colors -// -// Contextual variations (linked badges get darker on :hover). - -.badge-default { - @include badge-variant($badge-default-bg); -} - -.badge-primary { - @include badge-variant($badge-primary-bg); -} - -.badge-success { - @include badge-variant($badge-success-bg); -} - -.badge-info { - @include badge-variant($badge-info-bg); -} - -.badge-warning { - @include badge-variant($badge-warning-bg); -} - -.badge-danger { - @include badge-variant($badge-danger-bg); -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/_breadcrumb.scss b/minionlivesmatter/templates/assets/bootstrap/scss/_breadcrumb.scss deleted file mode 100644 index 2bc0e20..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/_breadcrumb.scss +++ /dev/null @@ -1,38 +0,0 @@ -.breadcrumb { - padding: $breadcrumb-padding-y $breadcrumb-padding-x; - margin-bottom: 1rem; - list-style: none; - background-color: $breadcrumb-bg; - @include border-radius($border-radius); - @include clearfix; -} - -.breadcrumb-item { - float: left; - - // The separator between breadcrumbs (by default, a forward-slash: "/") - + .breadcrumb-item::before { - display: inline-block; // Suppress underlining of the separator in modern browsers - padding-right: $breadcrumb-item-padding; - padding-left: $breadcrumb-item-padding; - color: $breadcrumb-divider-color; - content: "#{$breadcrumb-divider}"; - } - - // IE9-11 hack to properly handle hyperlink underlines for breadcrumbs built - // without `<ul>`s. The `::before` pseudo-element generates an element - // *within* the .breadcrumb-item and thereby inherits the `text-decoration`. - // - // To trick IE into suppressing the underline, we give the pseudo-element an - // underline and then immediately remove it. - + .breadcrumb-item:hover::before { - text-decoration: underline; - } - + .breadcrumb-item:hover::before { - text-decoration: none; - } - - &.active { - color: $breadcrumb-active-color; - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/_button-group.scss b/minionlivesmatter/templates/assets/bootstrap/scss/_button-group.scss deleted file mode 100644 index facecd3..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/_button-group.scss +++ /dev/null @@ -1,204 +0,0 @@ -// scss-lint:disable QualifyingElement - -// Make the div behave like a button -.btn-group, -.btn-group-vertical { - position: relative; - display: inline-flex; - vertical-align: middle; // match .btn alignment given font-size hack above - - > .btn { - position: relative; - flex: 0 1 auto; - margin-bottom: 0; - - // Bring the hover, focused, and "active" buttons to the fron to overlay - // the borders properly - @include hover { - z-index: 2; - } - &:focus, - &:active, - &.active { - z-index: 2; - } - } - - // Prevent double borders when buttons are next to each other - .btn + .btn, - .btn + .btn-group, - .btn-group + .btn, - .btn-group + .btn-group { - margin-left: -$input-btn-border-width; - } -} - -// Optional: Group multiple button groups together for a toolbar -.btn-toolbar { - display: flex; - flex-wrap: wrap; - justify-content: flex-start; - - .input-group { - width: auto; - } -} - -.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) { - border-radius: 0; -} - -// Set corners individual because sometimes a single button can be in a .btn-group and we need :first-child and :last-child to both match -.btn-group > .btn:first-child { - margin-left: 0; - - &:not(:last-child):not(.dropdown-toggle) { - @include border-right-radius(0); - } -} -// Need .dropdown-toggle since :last-child doesn't apply given a .dropdown-menu immediately after it -.btn-group > .btn:last-child:not(:first-child), -.btn-group > .dropdown-toggle:not(:first-child) { - @include border-left-radius(0); -} - -// Custom edits for including btn-groups within btn-groups (useful for including dropdown buttons within a btn-group) -.btn-group > .btn-group { - float: left; -} -.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn { - border-radius: 0; -} -.btn-group > .btn-group:first-child:not(:last-child) { - > .btn:last-child, - > .dropdown-toggle { - @include border-right-radius(0); - } -} -.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child { - @include border-left-radius(0); -} - -// On active and open, don't show outline -.btn-group .dropdown-toggle:active, -.btn-group.open .dropdown-toggle { - outline: 0; -} - - -// Sizing -// -// Remix the default button sizing classes into new ones for easier manipulation. - -.btn-group-sm > .btn { @extend .btn-sm; } -.btn-group-lg > .btn { @extend .btn-lg; } - - -// -// Split button dropdowns -// - -.btn + .dropdown-toggle-split { - padding-right: $btn-padding-x * .75; - padding-left: $btn-padding-x * .75; - - &::after { - margin-left: 0; - } -} - -.btn-sm + .dropdown-toggle-split { - padding-right: $btn-padding-x-sm * .75; - padding-left: $btn-padding-x-sm * .75; -} - -.btn-lg + .dropdown-toggle-split { - padding-right: $btn-padding-x-lg * .75; - padding-left: $btn-padding-x-lg * .75; -} - - -// The clickable button for toggling the menu -// Remove the gradient and set the same inset shadow as the :active state -.btn-group.open .dropdown-toggle { - @include box-shadow($btn-active-box-shadow); - - // Show no shadow for `.btn-link` since it has no other button styles. - &.btn-link { - @include box-shadow(none); - } -} - - -// -// Vertical button groups -// - -.btn-group-vertical { - display: inline-flex; - flex-direction: column; - align-items: flex-start; - justify-content: center; - - .btn, - .btn-group { - width: 100%; - } - - > .btn + .btn, - > .btn + .btn-group, - > .btn-group + .btn, - > .btn-group + .btn-group { - margin-top: -$input-btn-border-width; - margin-left: 0; - } -} - -.btn-group-vertical > .btn { - &:not(:first-child):not(:last-child) { - border-radius: 0; - } - &:first-child:not(:last-child) { - @include border-bottom-radius(0); - } - &:last-child:not(:first-child) { - @include border-top-radius(0); - } -} -.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn { - border-radius: 0; -} -.btn-group-vertical > .btn-group:first-child:not(:last-child) { - > .btn:last-child, - > .dropdown-toggle { - @include border-bottom-radius(0); - } -} -.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child { - @include border-top-radius(0); -} - - -// Checkbox and radio options -// -// In order to support the browser's form validation feedback, powered by the -// `required` attribute, we have to "hide" the inputs via `clip`. We cannot use -// `display: none;` or `visibility: hidden;` as that also hides the popover. -// Simply visually hiding the inputs via `opacity` would leave them clickable in -// certain cases which is prevented by using `clip` and `pointer-events`. -// This way, we ensure a DOM element is visible to position the popover from. -// -// See https://github.com/twbs/bootstrap/pull/12794 and -// https://github.com/twbs/bootstrap/pull/14559 for more information. - -[data-toggle="buttons"] { - > .btn, - > .btn-group > .btn { - input[type="radio"], - input[type="checkbox"] { - position: absolute; - clip: rect(0,0,0,0); - pointer-events: none; - } - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/_buttons.scss b/minionlivesmatter/templates/assets/bootstrap/scss/_buttons.scss deleted file mode 100644 index 2964a52..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/_buttons.scss +++ /dev/null @@ -1,170 +0,0 @@ -// scss-lint:disable QualifyingElement - -// -// Base styles -// - -.btn { - display: inline-block; - font-weight: $btn-font-weight; - line-height: $btn-line-height; - text-align: center; - white-space: nowrap; - vertical-align: middle; - user-select: none; - border: $input-btn-border-width solid transparent; - @include button-size($btn-padding-y, $btn-padding-x, $font-size-base, $btn-border-radius); - @include transition($btn-transition); - - // Share hover and focus styles - @include hover-focus { - text-decoration: none; - } - &:focus, - &.focus { - outline: 0; - box-shadow: $btn-focus-box-shadow; - } - - // Disabled comes first so active can properly restyle - &.disabled, - &:disabled { - cursor: $cursor-disabled; - opacity: .65; - @include box-shadow(none); - } - - &:active, - &.active { - background-image: none; - @include box-shadow($btn-focus-box-shadow, $btn-active-box-shadow); - } -} - -// Future-proof disabling of clicks on `<a>` elements -a.btn.disabled, -fieldset[disabled] a.btn { - pointer-events: none; -} - - -// -// Alternate buttons -// - -.btn-primary { - @include button-variant($btn-primary-color, $btn-primary-bg, $btn-primary-border); -} -.btn-secondary { - @include button-variant($btn-secondary-color, $btn-secondary-bg, $btn-secondary-border); -} -.btn-info { - @include button-variant($btn-info-color, $btn-info-bg, $btn-info-border); -} -.btn-success { - @include button-variant($btn-success-color, $btn-success-bg, $btn-success-border); -} -.btn-warning { - @include button-variant($btn-warning-color, $btn-warning-bg, $btn-warning-border); -} -.btn-danger { - @include button-variant($btn-danger-color, $btn-danger-bg, $btn-danger-border); -} - -// Remove all backgrounds -.btn-outline-primary { - @include button-outline-variant($btn-primary-bg, $btn-primary-color); -} -.btn-outline-secondary { - @include button-outline-variant($btn-secondary-border, $btn-secondary-color); -} -.btn-outline-info { - @include button-outline-variant($btn-info-bg, $btn-info-color); -} -.btn-outline-success { - @include button-outline-variant($btn-success-bg, $btn-success-color); -} -.btn-outline-warning { - @include button-outline-variant($btn-warning-bg, $btn-warning-color); -} -.btn-outline-danger { - @include button-outline-variant($btn-danger-bg, $btn-danger-color); -} - - -// -// Link buttons -// - -// Make a button look and behave like a link -.btn-link { - font-weight: $font-weight-normal; - color: $link-color; - border-radius: 0; - - &, - &:active, - &.active, - &:disabled { - background-color: transparent; - @include box-shadow(none); - } - &, - &:focus, - &:active { - border-color: transparent; - } - @include hover { - border-color: transparent; - } - @include hover-focus { - color: $link-hover-color; - text-decoration: $link-hover-decoration; - background-color: transparent; - } - &:disabled { - color: $btn-link-disabled-color; - - @include hover-focus { - text-decoration: none; - } - } -} - - -// -// Button Sizes -// - -.btn-lg { - // line-height: ensure even-numbered height of button next to large input - @include button-size($btn-padding-y-lg, $btn-padding-x-lg, $font-size-lg, $btn-border-radius-lg); -} -.btn-sm { - // line-height: ensure proper height of button next to small input - @include button-size($btn-padding-y-sm, $btn-padding-x-sm, $font-size-sm, $btn-border-radius-sm); -} - - -// -// Block button -// - -.btn-block { - display: block; - width: 100%; -} - -// Vertically space out multiple block buttons -.btn-block + .btn-block { - margin-top: $btn-block-spacing-y; -} - -// Specificity overrides -input[type="submit"], -input[type="reset"], -input[type="button"] { - &.btn-block { - width: 100%; - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/_card.scss b/minionlivesmatter/templates/assets/bootstrap/scss/_card.scss deleted file mode 100644 index 9fe70e8..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/_card.scss +++ /dev/null @@ -1,276 +0,0 @@ -// -// Base styles -// - -.card { - position: relative; - display: flex; - flex-direction: column; - background-color: $card-bg; - border: $card-border-width solid $card-border-color; - @include border-radius($card-border-radius); -} - -.card-block { - // Enable `flex-grow: 1` for decks and groups so that card blocks take up - // as much space as possible, ensuring footers are aligned to the bottom. - flex: 1 1 auto; - padding: $card-spacer-x; -} - -.card-title { - margin-bottom: $card-spacer-y; -} - -.card-subtitle { - margin-top: -($card-spacer-y / 2); - margin-bottom: 0; -} - -.card-text:last-child { - margin-bottom: 0; -} - -.card-link { - @include hover { - text-decoration: none; - } - - + .card-link { - margin-left: $card-spacer-x; - } -} - -.card { - > .list-group:first-child { - .list-group-item:first-child { - @include border-top-radius($card-border-radius); - } - } - - > .list-group:last-child { - .list-group-item:last-child { - @include border-bottom-radius($card-border-radius); - } - } -} - - -// -// Optional textual caps -// - -.card-header { - padding: $card-spacer-y $card-spacer-x; - margin-bottom: 0; // Removes the default margin-bottom of <hN> - background-color: $card-cap-bg; - border-bottom: $card-border-width solid $card-border-color; - - &:first-child { - @include border-radius($card-border-radius-inner $card-border-radius-inner 0 0); - } -} - -.card-footer { - padding: $card-spacer-y $card-spacer-x; - background-color: $card-cap-bg; - border-top: $card-border-width solid $card-border-color; - - &:last-child { - @include border-radius(0 0 $card-border-radius-inner $card-border-radius-inner); - } -} - - -// -// Header navs -// - -.card-header-tabs { - margin-right: -($card-spacer-x / 2); - margin-bottom: -$card-spacer-y; - margin-left: -($card-spacer-x / 2); - border-bottom: 0; -} - -.card-header-pills { - margin-right: -($card-spacer-x / 2); - margin-left: -($card-spacer-x / 2); -} - - -// -// Background variations -// - -.card-primary { - @include card-variant($brand-primary, $brand-primary); -} -.card-success { - @include card-variant($brand-success, $brand-success); -} -.card-info { - @include card-variant($brand-info, $brand-info); -} -.card-warning { - @include card-variant($brand-warning, $brand-warning); -} -.card-danger { - @include card-variant($brand-danger, $brand-danger); -} - -// Remove all backgrounds -.card-outline-primary { - @include card-outline-variant($btn-primary-bg); -} -.card-outline-secondary { - @include card-outline-variant($btn-secondary-border); -} -.card-outline-info { - @include card-outline-variant($btn-info-bg); -} -.card-outline-success { - @include card-outline-variant($btn-success-bg); -} -.card-outline-warning { - @include card-outline-variant($btn-warning-bg); -} -.card-outline-danger { - @include card-outline-variant($btn-danger-bg); -} - -// -// Inverse text within a card for use with dark backgrounds -// - -.card-inverse { - @include card-inverse; -} - -// -// Blockquote -// - -.card-blockquote { - padding: 0; - margin-bottom: 0; - border-left: 0; -} - -// Card image -.card-img { - // margin: -1.325rem; - @include border-radius($card-border-radius-inner); -} -.card-img-overlay { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - padding: $card-img-overlay-padding; -} - - - -// Card image caps -.card-img-top { - @include border-top-radius($card-border-radius-inner); -} -.card-img-bottom { - @include border-bottom-radius($card-border-radius-inner); -} - - -// Card deck - -@include media-breakpoint-up(sm) { - .card-deck { - display: flex; - flex-flow: row wrap; - - .card { - display: flex; - flex: 1 0 0; - flex-direction: column; - - // Selectively apply horizontal margins to cards to avoid doing the - // negative margin dance like our grid. This differs from the grid - // due to the use of margins as gutters instead of padding. - &:not(:first-child) { margin-left: $card-deck-margin; } - &:not(:last-child) { margin-right: $card-deck-margin; } - } - } -} - - -// -// Card groups -// - -@include media-breakpoint-up(sm) { - .card-group { - display: flex; - flex-flow: row wrap; - - .card { - flex: 1 0 0; - - + .card { - margin-left: 0; - border-left: 0; - } - - // Handle rounded corners - @if $enable-rounded { - &:first-child { - @include border-right-radius(0); - - .card-img-top { - border-top-right-radius: 0; - } - .card-img-bottom { - border-bottom-right-radius: 0; - } - } - &:last-child { - @include border-left-radius(0); - - .card-img-top { - border-top-left-radius: 0; - } - .card-img-bottom { - border-bottom-left-radius: 0; - } - } - - &:not(:first-child):not(:last-child) { - border-radius: 0; - - .card-img-top, - .card-img-bottom { - border-radius: 0; - } - } - } - } - } -} - - -// -// Columns -// - -@include media-breakpoint-up(sm) { - .card-columns { - column-count: $card-columns-count; - column-gap: $card-columns-gap; - - .card { - display: inline-block; // Don't let them vertically span multiple columns - width: 100%; // Don't let their width change - margin-bottom: $card-columns-margin; - } - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/_carousel.scss b/minionlivesmatter/templates/assets/bootstrap/scss/_carousel.scss deleted file mode 100644 index 1b6e450..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/_carousel.scss +++ /dev/null @@ -1,177 +0,0 @@ -// Wrapper for the slide container and indicators -.carousel { - position: relative; -} - -.carousel-inner { - position: relative; - width: 100%; - overflow: hidden; -} - -.carousel-item { - position: relative; - display: none; - width: 100%; - - @include if-supports-3d-transforms() { - @include transition($carousel-transition); - backface-visibility: hidden; - perspective: 1000px; - } -} - -.carousel-item.active, -.carousel-item-next, -.carousel-item-prev { - display: flex; -} - -.carousel-item-next, -.carousel-item-prev { - position: absolute; - top: 0; -} - -// CSS3 transforms when supported by the browser -@include if-supports-3d-transforms() { - .carousel-item-next.carousel-item-left, - .carousel-item-prev.carousel-item-right { - transform: translate3d(0, 0, 0); - } - - .carousel-item-next, - .active.carousel-item-right { - transform: translate3d(100%, 0, 0); - } - - .carousel-item-prev, - .active.carousel-item-left { - transform: translate3d(-100%, 0, 0); - } -} - - -// -// Left/right controls for nav -// - -.carousel-control-prev, -.carousel-control-next { - position: absolute; - top: 0; - bottom: 0; - // Use flex for alignment (1-3) - display: flex; // 1. allow flex styles - align-items: center; // 2. vertically center contents - justify-content: center; // 3. horizontally center contents - width: $carousel-control-width; - color: $carousel-control-color; - text-align: center; - opacity: $carousel-control-opacity; - // We can't have a transition here because WebKit cancels the carousel - // animation if you trip this while in the middle of another animation. - - // Hover/focus state - @include hover-focus { - color: $carousel-control-color; - text-decoration: none; - outline: 0; - opacity: .9; - } -} -.carousel-control-prev { - left: 0; -} -.carousel-control-next { - right: 0; -} - -// Icons for within -.carousel-control-prev-icon, -.carousel-control-next-icon { - display: inline-block; - width: $carousel-control-icon-width; - height: $carousel-control-icon-width; - background: transparent no-repeat center center; - background-size: 100% 100%; -} -.carousel-control-prev-icon { - background-image: $carousel-control-prev-icon-bg; -} -.carousel-control-next-icon { - background-image: $carousel-control-next-icon-bg; -} - - -// Optional indicator pips -// -// Add an ordered list with the following class and add a list item for each -// slide your carousel holds. - -.carousel-indicators { - position: absolute; - right: 0; - bottom: 10px; - left: 0; - z-index: 15; - display: flex; - justify-content: center; - padding-left: 0; // override <ol> default - // Use the .carousel-control's width as margin so we don't overlay those - margin-right: $carousel-control-width; - margin-left: $carousel-control-width; - list-style: none; - - li { - position: relative; - flex: 1 0 auto; - max-width: $carousel-indicator-width; - height: $carousel-indicator-height; - margin-right: $carousel-indicator-spacer; - margin-left: $carousel-indicator-spacer; - text-indent: -999px; - background-color: rgba($carousel-indicator-active-bg, .5); - - // Use pseudo classes to increase the hit area by 10px on top and bottom. - &::before { - position: absolute; - top: -10px; - left: 0; - display: inline-block; - width: 100%; - height: 10px; - content: ""; - } - &::after { - position: absolute; - bottom: -10px; - left: 0; - display: inline-block; - width: 100%; - height: 10px; - content: ""; - } - } - - .active { - background-color: $carousel-indicator-active-bg; - } -} - - -// Optional captions -// -// - -.carousel-caption { - position: absolute; - right: ((100% - $carousel-caption-width) / 2); - bottom: 20px; - left: ((100% - $carousel-caption-width) / 2); - z-index: 10; - padding-top: 20px; - padding-bottom: 20px; - color: $carousel-caption-color; - text-align: center; -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/_close.scss b/minionlivesmatter/templates/assets/bootstrap/scss/_close.scss deleted file mode 100644 index f181490..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/_close.scss +++ /dev/null @@ -1,29 +0,0 @@ -.close { - float: right; - font-size: $close-font-size; - font-weight: $close-font-weight; - line-height: 1; - color: $close-color; - text-shadow: $close-text-shadow; - opacity: .5; - - @include hover-focus { - color: $close-color; - text-decoration: none; - opacity: .75; - } -} - -// Additional properties for button version -// iOS requires the button element instead of an anchor tag. -// If you want the anchor version, it requires `href="#"`. -// See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile - -// scss-lint:disable QualifyingElement -button.close { - padding: 0; - background: transparent; - border: 0; - -webkit-appearance: none; -} -// scss-lint:enable QualifyingElement diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/_code.scss b/minionlivesmatter/templates/assets/bootstrap/scss/_code.scss deleted file mode 100644 index 759da15..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/_code.scss +++ /dev/null @@ -1,64 +0,0 @@ -// Inline and block code styles -code, -kbd, -pre, -samp { - font-family: $font-family-monospace; -} - -// Inline code -code { - padding: $code-padding-y $code-padding-x; - font-size: $code-font-size; - color: $code-color; - background-color: $code-bg; - @include border-radius($border-radius); - - // Streamline the style when inside anchors to avoid broken underline and more - a > & { - padding: 0; - color: inherit; - background-color: inherit; - } -} - -// User input typically entered via keyboard -kbd { - padding: $code-padding-y $code-padding-x; - font-size: $code-font-size; - color: $kbd-color; - background-color: $kbd-bg; - @include border-radius($border-radius-sm); - @include box-shadow($kbd-box-shadow); - - kbd { - padding: 0; - font-size: 100%; - font-weight: $nested-kbd-font-weight; - @include box-shadow(none); - } -} - -// Blocks of code -pre { - display: block; - margin-top: 0; - margin-bottom: 1rem; - font-size: $code-font-size; - color: $pre-color; - - // Account for some code outputs that place code tags in pre tags - code { - padding: 0; - font-size: inherit; - color: inherit; - background-color: transparent; - border-radius: 0; - } -} - -// Enable scrollable blocks of code -.pre-scrollable { - max-height: $pre-scrollable-max-height; - overflow-y: scroll; -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/_custom-forms.scss b/minionlivesmatter/templates/assets/bootstrap/scss/_custom-forms.scss deleted file mode 100644 index d303c48..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/_custom-forms.scss +++ /dev/null @@ -1,258 +0,0 @@ -// scss-lint:disable PropertyCount, VendorPrefix - -// Embedded icons from Open Iconic. -// Released under MIT and copyright 2014 Waybury. -// https://useiconic.com/open - - -// Checkboxes and radios -// -// Base class takes care of all the key behavioral aspects. - -.custom-control { - position: relative; - display: inline-flex; - min-height: (1rem * $line-height-base); - padding-left: $custom-control-gutter; - margin-right: $custom-control-spacer-x; -} - -.custom-control-input { - position: absolute; - z-index: -1; // Put the input behind the label so it doesn't overlay text - opacity: 0; - - &:checked ~ .custom-control-indicator { - color: $custom-control-checked-indicator-color; - background-color: $custom-control-checked-indicator-bg; - @include box-shadow($custom-control-checked-indicator-box-shadow); - } - - &:focus ~ .custom-control-indicator { - // the mixin is not used here to make sure there is feedback - box-shadow: $custom-control-focus-indicator-box-shadow; - } - - &:active ~ .custom-control-indicator { - color: $custom-control-active-indicator-color; - background-color: $custom-control-active-indicator-bg; - @include box-shadow($custom-control-active-indicator-box-shadow); - } - - &:disabled { - ~ .custom-control-indicator { - cursor: $custom-control-disabled-cursor; - background-color: $custom-control-disabled-indicator-bg; - } - - ~ .custom-control-description { - color: $custom-control-disabled-description-color; - cursor: $custom-control-disabled-cursor; - } - } -} - -// Custom indicator -// -// Generates a shadow element to create our makeshift checkbox/radio background. - -.custom-control-indicator { - position: absolute; - top: (($line-height-base - $custom-control-indicator-size) / 2); - left: 0; - display: block; - width: $custom-control-indicator-size; - height: $custom-control-indicator-size; - pointer-events: none; - user-select: none; - background-color: $custom-control-indicator-bg; - background-repeat: no-repeat; - background-position: center center; - background-size: $custom-control-indicator-bg-size; - @include box-shadow($custom-control-indicator-box-shadow); -} - -// Checkboxes -// -// Tweak just a few things for checkboxes. - -.custom-checkbox { - .custom-control-indicator { - @include border-radius($custom-checkbox-radius); - } - - .custom-control-input:checked ~ .custom-control-indicator { - background-image: $custom-checkbox-checked-icon; - } - - .custom-control-input:indeterminate ~ .custom-control-indicator { - background-color: $custom-checkbox-indeterminate-bg; - background-image: $custom-checkbox-indeterminate-icon; - @include box-shadow($custom-checkbox-indeterminate-box-shadow); - } -} - -// Radios -// -// Tweak just a few things for radios. - -.custom-radio { - .custom-control-indicator { - border-radius: $custom-radio-radius; - } - - .custom-control-input:checked ~ .custom-control-indicator { - background-image: $custom-radio-checked-icon; - } -} - - -// Layout options -// -// By default radios and checkboxes are `inline-block` with no additional spacing -// set. Use these optional classes to tweak the layout. - -.custom-controls-stacked { - display: flex; - flex-direction: column; - - .custom-control { - margin-bottom: $custom-control-spacer-y; - - + .custom-control { - margin-left: 0; - } - } -} - - -// Select -// -// Replaces the browser default select with a custom one, mostly pulled from -// http://primercss.io. -// - -.custom-select { - display: inline-block; - max-width: 100%; - $select-border-width: ($custom-select-border-width * 2); - height: calc(#{$input-height} + #{$select-border-width}); - padding: $custom-select-padding-y ($custom-select-padding-x + $custom-select-indicator-padding) $custom-select-padding-y $custom-select-padding-x; - line-height: $custom-select-line-height; - color: $custom-select-color; - vertical-align: middle; - background: $custom-select-bg $custom-select-indicator no-repeat right $custom-select-padding-x center; - background-size: $custom-select-bg-size; - border: $custom-select-border-width solid $custom-select-border-color; - @include border-radius($custom-select-border-radius); - appearance: none; - - &:focus { - border-color: $custom-select-focus-border-color; - outline: none; - @include box-shadow($custom-select-focus-box-shadow); - - &::-ms-value { - // For visual consistency with other platforms/browsers, - // supress the default white text on blue background highlight given to - // the selected option text when the (still closed) <select> receives focus - // in IE and (under certain conditions) Edge. - // See https://github.com/twbs/bootstrap/issues/19398. - color: $input-color; - background-color: $input-bg; - } - } - - &:disabled { - color: $custom-select-disabled-color; - cursor: $cursor-disabled; - background-color: $custom-select-disabled-bg; - } - - // Hides the default caret in IE11 - &::-ms-expand { - opacity: 0; - } -} - -.custom-select-sm { - padding-top: $custom-select-padding-y; - padding-bottom: $custom-select-padding-y; - font-size: $custom-select-sm-font-size; - - // &:not([multiple]) { - // height: 26px; - // min-height: 26px; - // } -} - - -// File -// -// Custom file input. - -.custom-file { - position: relative; - display: inline-block; - max-width: 100%; - height: $custom-file-height; - margin-bottom: 0; -} - -.custom-file-input { - min-width: $custom-file-width; - max-width: 100%; - height: $custom-file-height; - margin: 0; - opacity: 0; - - &:focus ~ .custom-file-control { - @include box-shadow($custom-file-focus-box-shadow); - } -} - -.custom-file-control { - position: absolute; - top: 0; - right: 0; - left: 0; - z-index: 5; - height: $custom-file-height; - padding: $custom-file-padding-x $custom-file-padding-y; - line-height: $custom-file-line-height; - color: $custom-file-color; - pointer-events: none; - user-select: none; - background-color: $custom-file-bg; - border: $custom-file-border-width solid $custom-file-border-color; - @include border-radius($custom-file-border-radius); - @include box-shadow($custom-file-box-shadow); - - @each $lang, $text in map-get($custom-file-text, placeholder) { - &:lang(#{$lang}):empty::after { - content: $text; - } - } - - &::before { - position: absolute; - top: -$custom-file-border-width; - right: -$custom-file-border-width; - bottom: -$custom-file-border-width; - z-index: 6; - display: block; - height: $custom-file-height; - padding: $custom-file-padding-x $custom-file-padding-y; - line-height: $custom-file-line-height; - color: $custom-file-button-color; - background-color: $custom-file-button-bg; - border: $custom-file-border-width solid $custom-file-border-color; - @include border-radius(0 $custom-file-border-radius $custom-file-border-radius 0); - } - - @each $lang, $text in map-get($custom-file-text, button-label) { - &:lang(#{$lang})::before { - content: $text; - } - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/_custom.scss b/minionlivesmatter/templates/assets/bootstrap/scss/_custom.scss deleted file mode 100644 index 88ccf20..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/_custom.scss +++ /dev/null @@ -1,4 +0,0 @@ -// Bootstrap overrides -// -// Copy variables from `_variables.scss` to this file to override default values -// without modifying source files. diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/_dropdown.scss b/minionlivesmatter/templates/assets/bootstrap/scss/_dropdown.scss deleted file mode 100644 index 404483e..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/_dropdown.scss +++ /dev/null @@ -1,156 +0,0 @@ -// The dropdown wrapper (`<div>`) -.dropup, -.dropdown { - position: relative; -} - -.dropdown-toggle { - // Generate the caret automatically - &::after { - display: inline-block; - width: 0; - height: 0; - margin-left: $caret-width; - vertical-align: middle; - content: ""; - border-top: $caret-width solid; - border-right: $caret-width solid transparent; - border-left: $caret-width solid transparent; - } -} - -.dropup { - .dropdown-toggle { - &::after { - border-top: 0; - border-bottom: $caret-width solid; - } - } -} - -// The dropdown menu -.dropdown-menu { - position: absolute; - top: 100%; - left: 0; - z-index: $zindex-dropdown; - display: none; // none by default, but block on "open" of the menu - float: left; - min-width: $dropdown-min-width; - padding: $dropdown-padding-y 0; - margin: $dropdown-margin-top 0 0; // override default ul - font-size: $font-size-base; // Redeclare because nesting can cause inheritance issues - color: $body-color; - text-align: left; // Ensures proper alignment if parent has it changed (e.g., modal footer) - list-style: none; - background-color: $dropdown-bg; - background-clip: padding-box; - border: $dropdown-border-width solid $dropdown-border-color; - @include border-radius($border-radius); - @include box-shadow($dropdown-box-shadow); -} - -// Dividers (basically an `<hr>`) within the dropdown -.dropdown-divider { - @include nav-divider($dropdown-divider-bg); -} - -// Links, buttons, and more within the dropdown menu -// -// `<button>`-specific styles are denoted with `// For <button>s` -.dropdown-item { - display: block; - width: 100%; // For `<button>`s - padding: 3px $dropdown-item-padding-x; - clear: both; - font-weight: $font-weight-normal; - color: $dropdown-link-color; - text-align: inherit; // For `<button>`s - white-space: nowrap; // prevent links from randomly breaking onto new lines - background: none; // For `<button>`s - border: 0; // For `<button>`s - - @include hover-focus { - color: $dropdown-link-hover-color; - text-decoration: none; - background-color: $dropdown-link-hover-bg; - } - - &.active, - &:active { - color: $dropdown-link-active-color; - text-decoration: none; - background-color: $dropdown-link-active-bg; - } - - &.disabled, - &:disabled { - color: $dropdown-link-disabled-color; - cursor: $cursor-disabled; - background-color: transparent; - // Remove CSS gradients if they're enabled - @if $enable-gradients { - background-image: none; - } - } -} - -// Open state for the dropdown -.show { - // Show the menu - > .dropdown-menu { - display: block; - } - - // Remove the outline when :focus is triggered - > a { - outline: 0; - } -} - -// Menu positioning -// -// Add extra class to `.dropdown-menu` to flip the alignment of the dropdown -// menu with the parent. -.dropdown-menu-right { - right: 0; - left: auto; // Reset the default from `.dropdown-menu` -} - -.dropdown-menu-left { - right: auto; - left: 0; -} - -// Dropdown section headers -.dropdown-header { - display: block; - padding: $dropdown-padding-y $dropdown-item-padding-x; - margin-bottom: 0; // for use with heading elements - font-size: $font-size-sm; - color: $dropdown-header-color; - white-space: nowrap; // as with > li > a -} - -// Backdrop to catch body clicks on mobile, etc. -.dropdown-backdrop { - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: $zindex-dropdown-backdrop; -} - -// Allow for dropdowns to go bottom up (aka, dropup-menu) -// -// Just add .dropup after the standard .dropdown class and you're set. - -.dropup { - // Different positioning for bottom up menu - .dropdown-menu { - top: auto; - bottom: 100%; - margin-bottom: $dropdown-margin-top; - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/_forms.scss b/minionlivesmatter/templates/assets/bootstrap/scss/_forms.scss deleted file mode 100644 index 4ec9f6e..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/_forms.scss +++ /dev/null @@ -1,387 +0,0 @@ -// scss-lint:disable QualifyingElement, VendorPrefix - -// -// Textual form controls -// - -.form-control { - display: block; - width: 100%; - // // Make inputs at least the height of their button counterpart (base line-height + padding + border) - // height: $input-height; - padding: $input-padding-y $input-padding-x; - font-size: $font-size-base; - line-height: $input-line-height; - color: $input-color; - background-color: $input-bg; - // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214. - background-image: none; - background-clip: padding-box; - border: $input-btn-border-width solid $input-border-color; - - // Note: This has no effect on <select>s in some browsers, due to the limited stylability of `<select>`s in CSS. - @if $enable-rounded { - // Manually use the if/else instead of the mixin to account for iOS override - border-radius: $input-border-radius; - } @else { - // Otherwise undo the iOS default - border-radius: 0; - } - - @include box-shadow($input-box-shadow); - @include transition($input-transition); - - // Unstyle the caret on `<select>`s in IE10+. - &::-ms-expand { - background-color: transparent; - border: 0; - } - - // Customize the `:focus` state to imitate native WebKit styles. - @include form-control-focus(); - - // Placeholder - &::placeholder { - color: $input-color-placeholder; - // Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526. - opacity: 1; - } - - // Disabled and read-only inputs - // - // HTML5 says that controls under a fieldset > legend:first-child won't be - // disabled if the fieldset is disabled. Due to implementation difficulty, we - // don't honor that edge case; we style them as disabled anyway. - &:disabled, - &[readonly] { - background-color: $input-bg-disabled; - // iOS fix for unreadable disabled content; see https://github.com/twbs/bootstrap/issues/11655. - opacity: 1; - } - - &:disabled { - cursor: $cursor-disabled; - } -} - -select.form-control { - &:not([size]):not([multiple]) { - $select-border-width: ($border-width * 2); - height: calc(#{$input-height} + #{$select-border-width}); - } - - &:focus::-ms-value { - // Suppress the nested default white text on blue background highlight given to - // the selected option text when the (still closed) <select> receives focus - // in IE and (under certain conditions) Edge, as it looks bad and cannot be made to - // match the appearance of the native widget. - // See https://github.com/twbs/bootstrap/issues/19398. - color: $input-color; - background-color: $input-bg; - } -} - -// Make file inputs better match text inputs by forcing them to new lines. -.form-control-file, -.form-control-range { - display: block; -} - - -// -// Labels -// - -// For use with horizontal and inline forms, when you need the label text to -// align with the form controls. -.col-form-label { - padding-top: calc(#{$input-padding-y} - #{$input-btn-border-width} * 2); - padding-bottom: calc(#{$input-padding-y} - #{$input-btn-border-width} * 2); - margin-bottom: 0; // Override the `<label>` default -} - -.col-form-label-lg { - padding-top: calc(#{$input-padding-y-lg} - #{$input-btn-border-width} * 2); - padding-bottom: calc(#{$input-padding-y-lg} - #{$input-btn-border-width} * 2); - font-size: $font-size-lg; -} - -.col-form-label-sm { - padding-top: calc(#{$input-padding-y-sm} - #{$input-btn-border-width} * 2); - padding-bottom: calc(#{$input-padding-y-sm} - #{$input-btn-border-width} * 2); - font-size: $font-size-sm; -} - - -// -// Legends -// - -// For use with horizontal and inline forms, when you need the legend text to -// be the same size as regular labels, and to align with the form controls. -.col-form-legend { - padding-top: $input-padding-y; - padding-bottom: $input-padding-y; - margin-bottom: 0; - font-size: $font-size-base; -} - - -// Static form control text -// -// Apply class to an element to make any string of text align with labels in a -// horizontal form layout. - -.form-control-static { - padding-top: $input-padding-y; - padding-bottom: $input-padding-y; - margin-bottom: 0; // match inputs if this class comes on inputs with default margins - line-height: $input-line-height; - border: solid transparent; - border-width: $input-btn-border-width 0; - - &.form-control-sm, - &.form-control-lg { - padding-right: 0; - padding-left: 0; - } -} - - -// Form control sizing -// -// Build on `.form-control` with modifier classes to decrease or increase the -// height and font-size of form controls. -// -// The `.form-group-* form-control` variations are sadly duplicated to avoid the -// issue documented in https://github.com/twbs/bootstrap/issues/15074. - -.form-control-sm { - padding: $input-padding-y-sm $input-padding-x-sm; - font-size: $font-size-sm; - @include border-radius($input-border-radius-sm); -} - -select.form-control-sm { - &:not([size]):not([multiple]) { - height: $input-height-sm; - } -} - -.form-control-lg { - padding: $input-padding-y-lg $input-padding-x-lg; - font-size: $font-size-lg; - @include border-radius($input-border-radius-lg); -} - -select.form-control-lg { - &:not([size]):not([multiple]) { - height: $input-height-lg; - } -} - - -// Form groups -// -// Designed to help with the organization and spacing of vertical forms. For -// horizontal forms, use the predefined grid classes. - -.form-group { - margin-bottom: $form-group-margin-bottom; -} - -.form-text { - display: block; - margin-top: $form-text-margin-top; -} - - -// Checkboxes and radios -// -// Indent the labels to position radios/checkboxes as hanging controls. - -.form-check { - position: relative; - display: block; - margin-bottom: $form-check-margin-bottom; - - &.disabled { - .form-check-label { - color: $text-muted; - cursor: $cursor-disabled; - } - } -} - -.form-check-label { - padding-left: $form-check-input-gutter; - margin-bottom: 0; // Override default `<label>` bottom margin -} - -.form-check-input { - position: absolute; - margin-top: $form-check-input-margin-y; - margin-left: -$form-check-input-gutter; - - &:only-child { - position: static; - } -} - -// Radios and checkboxes on same line -.form-check-inline { - display: inline-block; - - .form-check-label { - vertical-align: middle; - } - - + .form-check-inline { - margin-left: $form-check-inline-margin-x; - } -} - - -// Form control feedback states -// -// Apply contextual and semantic states to individual form controls. - -.form-control-feedback { - margin-top: $form-feedback-margin-top; -} - -.form-control-success, -.form-control-warning, -.form-control-danger { - padding-right: ($input-padding-x * 3); - background-repeat: no-repeat; - background-position: center right ($input-height / 4); - background-size: ($input-height / 2) ($input-height / 2); -} - -// Form validation states -.has-success { - @include form-control-validation($brand-success); - - .form-control-success { - background-image: $form-icon-success; - } -} - -.has-warning { - @include form-control-validation($brand-warning); - - .form-control-warning { - background-image: $form-icon-warning; - } -} - -.has-danger { - @include form-control-validation($brand-danger); - - .form-control-danger { - background-image: $form-icon-danger; - } -} - - -// Inline forms -// -// Make forms appear inline(-block) by adding the `.form-inline` class. Inline -// forms begin stacked on extra small (mobile) devices and then go inline when -// viewports reach <768px. -// -// Requires wrapping inputs and labels with `.form-group` for proper display of -// default HTML form controls and our custom form controls (e.g., input groups). - -.form-inline { - display: flex; - flex-flow: row wrap; - align-items: center; // Prevent shorter elements from growing to same height as others (e.g., small buttons growing to normal sized button height) - - // Because we use flex, the initial sizing of checkboxes is collapsed and - // doesn't occupy the full-width (which is what we want for xs grid tier), - // so we force that here. - .form-check { - width: 100%; - } - - // Kick in the inline - @include media-breakpoint-up(sm) { - label { - display: flex; - align-items: center; - justify-content: center; - margin-bottom: 0; - } - - // Inline-block all the things for "inline" - .form-group { - display: flex; - flex: 0 0 auto; - flex-flow: row wrap; - align-items: center; - margin-bottom: 0; - } - - // Allow folks to *not* use `.form-group` - .form-control { - display: inline-block; - width: auto; // Prevent labels from stacking above inputs in `.form-group` - vertical-align: middle; - } - - // Make static controls behave like regular ones - .form-control-static { - display: inline-block; - } - - .input-group { - width: auto; - } - - .form-control-label { - margin-bottom: 0; - vertical-align: middle; - } - - // Remove default margin on radios/checkboxes that were used for stacking, and - // then undo the floating of radios and checkboxes to match. - .form-check { - display: flex; - align-items: center; - justify-content: center; - width: auto; - margin-top: 0; - margin-bottom: 0; - } - .form-check-label { - padding-left: 0; - } - .form-check-input { - position: relative; - margin-top: 0; - margin-right: $form-check-input-margin-x; - margin-left: 0; - } - - // Custom form controls - .custom-control { - display: flex; - align-items: center; - justify-content: center; - padding-left: 0; - } - .custom-control-indicator { - position: static; - display: inline-block; - margin-right: $form-check-input-margin-x; // Flexbox alignment means we lose our HTML space here, so we compensate. - vertical-align: text-bottom; - } - - // Re-override the feedback icon. - .has-feedback .form-control-feedback { - top: 0; - } - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/_grid.scss b/minionlivesmatter/templates/assets/bootstrap/scss/_grid.scss deleted file mode 100644 index 8c7a9ee..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/_grid.scss +++ /dev/null @@ -1,52 +0,0 @@ -// Container widths -// -// Set the container width, and override it for fixed navbars in media queries. - -@if $enable-grid-classes { - .container { - @include make-container(); - @include make-container-max-widths(); - } -} - -// Fluid container -// -// Utilizes the mixin meant for fixed width containers, but without any defined -// width for fluid, full width layouts. - -@if $enable-grid-classes { - .container-fluid { - @include make-container(); - } -} - -// Row -// -// Rows contain and clear the floats of your columns. - -@if $enable-grid-classes { - .row { - @include make-row(); - } - - // Remove the negative margin from default .row, then the horizontal padding - // from all immediate children columns (to prevent runaway style inheritance). - .no-gutters { - margin-right: 0; - margin-left: 0; - - > .col, - > [class*="col-"] { - padding-right: 0; - padding-left: 0; - } - } -} - -// Columns -// -// Common styles for small and large grid columns - -@if $enable-grid-classes { - @include make-grid-columns(); -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/_images.scss b/minionlivesmatter/templates/assets/bootstrap/scss/_images.scss deleted file mode 100644 index 50c5610..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/_images.scss +++ /dev/null @@ -1,43 +0,0 @@ -// Responsive images (ensure images don't scale beyond their parents) -// -// This is purposefully opt-in via an explicit class rather than being the default for all `<img>`s. -// We previously tried the "images are responsive by default" approach in Bootstrap v2, -// and abandoned it in Bootstrap v3 because it breaks lots of third-party widgets (including Google Maps) -// which weren't expecting the images within themselves to be involuntarily resized. -// See also https://github.com/twbs/bootstrap/issues/18178 -.img-fluid { - @include img-fluid; -} - - -// Image thumbnails -.img-thumbnail { - padding: $thumbnail-padding; - background-color: $thumbnail-bg; - border: $thumbnail-border-width solid $thumbnail-border-color; - @include border-radius($thumbnail-border-radius); - @include transition($thumbnail-transition); - @include box-shadow($thumbnail-box-shadow); - - // Keep them at most 100% wide - @include img-fluid; -} - -// -// Figures -// - -.figure { - // Ensures the caption's text aligns with the image. - display: inline-block; -} - -.figure-img { - margin-bottom: ($spacer / 2); - line-height: 1; -} - -.figure-caption { - font-size: $figure-caption-font-size; - color: $figure-caption-color; -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/_input-group.scss b/minionlivesmatter/templates/assets/bootstrap/scss/_input-group.scss deleted file mode 100644 index 49cdf28..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/_input-group.scss +++ /dev/null @@ -1,175 +0,0 @@ -// -// Base styles -// - -.input-group { - position: relative; - display: flex; - width: 100%; - - .form-control { - // Ensure that the input is always above the *appended* addon button for - // proper border colors. - position: relative; - z-index: 2; - flex: 1 1 auto; - // Add width 1% and flex-basis auto to ensure that button will not wrap out - // the column. Applies to IE Edge+ and Firefox. Chrome does not require this. - width: 1%; - margin-bottom: 0; - - // Bring the "active" form control to the front - @include hover-focus-active { - z-index: 3; - } - } -} - -.input-group-addon, -.input-group-btn, -.input-group .form-control { - // Vertically centers the content of the addons within the input group - display: flex; - align-items: center; - - &:not(:first-child):not(:last-child) { - @include border-radius(0); - } -} - -.input-group-addon, -.input-group-btn { - white-space: nowrap; - vertical-align: middle; // Match the inputs -} - - -// Sizing options -// -// Remix the default form control sizing classes into new ones for easier -// manipulation. - -.input-group-lg > .form-control, -.input-group-lg > .input-group-addon, -.input-group-lg > .input-group-btn > .btn { - @extend .form-control-lg; -} -.input-group-sm > .form-control, -.input-group-sm > .input-group-addon, -.input-group-sm > .input-group-btn > .btn { - @extend .form-control-sm; -} - - -// -// Text input groups -// - -.input-group-addon { - padding: $input-padding-y $input-padding-x; - margin-bottom: 0; // Allow use of <label> elements by overriding our default margin-bottom - font-size: $font-size-base; // Match inputs - font-weight: $font-weight-normal; - line-height: $input-line-height; - color: $input-color; - text-align: center; - background-color: $input-group-addon-bg; - border: $input-btn-border-width solid $input-group-addon-border-color; - @include border-radius($input-border-radius); - - // Sizing - &.form-control-sm { - padding: $input-padding-y-sm $input-padding-x-sm; - font-size: $font-size-sm; - @include border-radius($input-border-radius-sm); - } - &.form-control-lg { - padding: $input-padding-y-lg $input-padding-x-lg; - font-size: $font-size-lg; - @include border-radius($input-border-radius-lg); - } - - // scss-lint:disable QualifyingElement - // Nuke default margins from checkboxes and radios to vertically center within. - input[type="radio"], - input[type="checkbox"] { - margin-top: 0; - } - // scss-lint:enable QualifyingElement -} - - -// -// Reset rounded corners -// - -.input-group .form-control:not(:last-child), -.input-group-addon:not(:last-child), -.input-group-btn:not(:last-child) > .btn, -.input-group-btn:not(:last-child) > .btn-group > .btn, -.input-group-btn:not(:last-child) > .dropdown-toggle, -.input-group-btn:not(:first-child) > .btn:not(:last-child):not(.dropdown-toggle), -.input-group-btn:not(:first-child) > .btn-group:not(:last-child) > .btn { - @include border-right-radius(0); -} -.input-group-addon:not(:last-child) { - border-right: 0; -} -.input-group .form-control:not(:first-child), -.input-group-addon:not(:first-child), -.input-group-btn:not(:first-child) > .btn, -.input-group-btn:not(:first-child) > .btn-group > .btn, -.input-group-btn:not(:first-child) > .dropdown-toggle, -.input-group-btn:not(:last-child) > .btn:not(:first-child), -.input-group-btn:not(:last-child) > .btn-group:not(:first-child) > .btn { - @include border-left-radius(0); -} -.form-control + .input-group-addon:not(:first-child) { - border-left: 0; -} - -// -// Button input groups -// - -.input-group-btn { - position: relative; - // Jankily prevent input button groups from wrapping with `white-space` and - // `font-size` in combination with `inline-block` on buttons. - font-size: 0; - white-space: nowrap; - - // Negative margin for spacing, position for bringing hovered/focused/actived - // element above the siblings. - > .btn { - position: relative; - - + .btn { - margin-left: (-$input-btn-border-width); - } - - // Bring the "active" button to the front - @include hover-focus-active { - z-index: 3; - } - } - - // Negative margin to only have a single, shared border between the two - &:not(:last-child) { - > .btn, - > .btn-group { - margin-right: (-$input-btn-border-width); - } - } - &:not(:first-child) { - > .btn, - > .btn-group { - z-index: 2; - margin-left: (-$input-btn-border-width); - // Because specificity - @include hover-focus-active { - z-index: 3; - } - } - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/_jumbotron.scss b/minionlivesmatter/templates/assets/bootstrap/scss/_jumbotron.scss deleted file mode 100644 index b12d465..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/_jumbotron.scss +++ /dev/null @@ -1,20 +0,0 @@ -.jumbotron { - padding: $jumbotron-padding ($jumbotron-padding / 2); - margin-bottom: $jumbotron-padding; - background-color: $jumbotron-bg; - @include border-radius($border-radius-lg); - - @include media-breakpoint-up(sm) { - padding: ($jumbotron-padding * 2) $jumbotron-padding; - } -} - -.jumbotron-hr { - border-top-color: darken($jumbotron-bg, 10%); -} - -.jumbotron-fluid { - padding-right: 0; - padding-left: 0; - @include border-radius(0); -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/_list-group.scss b/minionlivesmatter/templates/assets/bootstrap/scss/_list-group.scss deleted file mode 100644 index c4b5e2f..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/_list-group.scss +++ /dev/null @@ -1,116 +0,0 @@ -// Base class -// -// Easily usable on <ul>, <ol>, or <div>. - -.list-group { - display: flex; - flex-direction: column; - - // No need to set list-style: none; since .list-group-item is block level - padding-left: 0; // reset padding because ul and ol - margin-bottom: 0; -} - - -// Interactive list items -// -// Use anchor or button elements instead of `li`s or `div`s to create interactive -// list items. Includes an extra `.active` modifier class for selected items. - -.list-group-item-action { - width: 100%; // For `<button>`s (anchors become 100% by default though) - color: $list-group-link-color; - text-align: inherit; // For `<button>`s (anchors inherit) - - // Hover state - @include hover-focus { - color: $list-group-link-hover-color; - text-decoration: none; - background-color: $list-group-hover-bg; - } - - &:active { - color: $list-group-link-active-color; - background-color: $list-group-link-active-bg; - } -} - - -// Individual list items -// -// Use on `li`s or `div`s within the `.list-group` parent. - -.list-group-item { - position: relative; - display: block; - padding: $list-group-item-padding-y $list-group-item-padding-x; - // Place the border on the list items and negative margin up for better styling - margin-bottom: -$list-group-border-width; - background-color: $list-group-bg; - border: $list-group-border-width solid $list-group-border-color; - - &:first-child { - @include border-top-radius($list-group-border-radius); - } - - &:last-child { - margin-bottom: 0; - @include border-bottom-radius($list-group-border-radius); - } - - @include hover-focus { - text-decoration: none; - } - - &.disabled, - &:disabled { - color: $list-group-disabled-color; - cursor: $cursor-disabled; - background-color: $list-group-disabled-bg; - } - - // Include both here for `<a>`s and `<button>`s - &.active { - z-index: 2; // Place active items above their siblings for proper border styling - color: $list-group-active-color; - background-color: $list-group-active-bg; - border-color: $list-group-active-border; - } -} - - -// Flush list items -// -// Remove borders and border-radius to keep list group items edge-to-edge. Most -// useful within other components (e.g., cards). - -.list-group-flush { - .list-group-item { - border-right: 0; - border-left: 0; - border-radius: 0; - } - - &:first-child { - .list-group-item:first-child { - border-top: 0; - } - } - - &:last-child { - .list-group-item:last-child { - border-bottom: 0; - } - } -} - - -// Contextual variants -// -// Add modifier classes to change text and background color on individual items. -// Organizationally, this must come after the `:hover` states. - -@include list-group-item-variant(success, $state-success-bg, $state-success-text); -@include list-group-item-variant(info, $state-info-bg, $state-info-text); -@include list-group-item-variant(warning, $state-warning-bg, $state-warning-text); -@include list-group-item-variant(danger, $state-danger-bg, $state-danger-text); diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/_media.scss b/minionlivesmatter/templates/assets/bootstrap/scss/_media.scss deleted file mode 100644 index b573052..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/_media.scss +++ /dev/null @@ -1,8 +0,0 @@ -.media { - display: flex; - align-items: flex-start; -} - -.media-body { - flex: 1; -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/_mixins.scss b/minionlivesmatter/templates/assets/bootstrap/scss/_mixins.scss deleted file mode 100644 index 13aad24..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/_mixins.scss +++ /dev/null @@ -1,43 +0,0 @@ -// Toggles -// -// Used in conjunction with global variables to enable certain theme features. - -// Utilities -@import "mixins/breakpoints"; -@import "mixins/hover"; -@import "mixins/image"; -@import "mixins/badge"; -@import "mixins/resize"; -@import "mixins/screen-reader"; -@import "mixins/size"; -@import "mixins/reset-text"; -@import "mixins/text-emphasis"; -@import "mixins/text-hide"; -@import "mixins/text-truncate"; -@import "mixins/transforms"; -@import "mixins/visibility"; - -// // Components -@import "mixins/alert"; -@import "mixins/buttons"; -@import "mixins/cards"; -@import "mixins/pagination"; -@import "mixins/lists"; -@import "mixins/list-group"; -@import "mixins/nav-divider"; -@import "mixins/forms"; -@import "mixins/table-row"; - -// // Skins -@import "mixins/background-variant"; -@import "mixins/border-radius"; -@import "mixins/box-shadow"; -@import "mixins/gradients"; -@import "mixins/transition"; - -// // Layout -@import "mixins/clearfix"; -// @import "mixins/navbar-align"; -@import "mixins/grid-framework"; -@import "mixins/grid"; -@import "mixins/float"; diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/_modal.scss b/minionlivesmatter/templates/assets/bootstrap/scss/_modal.scss deleted file mode 100644 index 9d2a867..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/_modal.scss +++ /dev/null @@ -1,142 +0,0 @@ -// .modal-open - body class for killing the scroll -// .modal - container to scroll within -// .modal-dialog - positioning shell for the actual modal -// .modal-content - actual modal w/ bg and corners and stuff - - -// Kill the scroll on the body -.modal-open { - overflow: hidden; -} - -// Container that the modal scrolls within -.modal { - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: $zindex-modal; - display: none; - overflow: hidden; - // Prevent Chrome on Windows from adding a focus outline. For details, see - // https://github.com/twbs/bootstrap/pull/10951. - outline: 0; - // We deliberately don't use `-webkit-overflow-scrolling: touch;` due to a - // gnarly iOS Safari bug: https://bugs.webkit.org/show_bug.cgi?id=158342 - // See also https://github.com/twbs/bootstrap/issues/17695 - - // When fading in the modal, animate it to slide down - &.fade .modal-dialog { - @include transition($modal-transition); - transform: translate(0, -25%); - } - &.show .modal-dialog { transform: translate(0, 0); } -} -.modal-open .modal { - overflow-x: hidden; - overflow-y: auto; -} - -// Shell div to position the modal with bottom padding -.modal-dialog { - position: relative; - width: auto; - margin: $modal-dialog-margin; -} - -// Actual modal -.modal-content { - position: relative; - display: flex; - flex-direction: column; - background-color: $modal-content-bg; - background-clip: padding-box; - border: $modal-content-border-width solid $modal-content-border-color; - @include border-radius($border-radius-lg); - @include box-shadow($modal-content-xs-box-shadow); - // Remove focus outline from opened modal - outline: 0; -} - -// Modal background -.modal-backdrop { - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: $zindex-modal-backdrop; - background-color: $modal-backdrop-bg; - - // Fade for backdrop - &.fade { opacity: 0; } - &.show { opacity: $modal-backdrop-opacity; } -} - -// Modal header -// Top section of the modal w/ title and dismiss -.modal-header { - display: flex; - align-items: center; // vertically center it - justify-content: space-between; // Put modal header elements (title and dismiss) on opposite ends - padding: $modal-header-padding; - border-bottom: $modal-header-border-width solid $modal-header-border-color; -} - -// Title text within header -.modal-title { - margin-bottom: 0; - line-height: $modal-title-line-height; -} - -// Modal body -// Where all modal content resides (sibling of .modal-header and .modal-footer) -.modal-body { - position: relative; - // Enable `flex-grow: 1` so that the body take up as much space as possible - // when should there be a fixed height on `.modal-dialog`. - flex: 1 1 auto; - padding: $modal-inner-padding; -} - -// Footer (for actions) -.modal-footer { - display: flex; - align-items: center; // vertically center - justify-content: flex-end; // Right align buttons with flex property because text-align doesn't work on flex items - padding: $modal-inner-padding; - border-top: $modal-footer-border-width solid $modal-footer-border-color; - - // Easily place margin between footer elements - > :not(:first-child) { margin-left: .25rem; } - > :not(:last-child) { margin-right: .25rem; } -} - -// Measure scrollbar width for padding body during modal show/hide -.modal-scrollbar-measure { - position: absolute; - top: -9999px; - width: 50px; - height: 50px; - overflow: scroll; -} - -// Scale up the modal -@include media-breakpoint-up(sm) { - // Automatically set modal's width for larger viewports - .modal-dialog { - max-width: $modal-md; - margin: $modal-dialog-sm-up-margin-y auto; - } - - .modal-content { - @include box-shadow($modal-content-sm-up-box-shadow); - } - - .modal-sm { max-width: $modal-sm; } -} - -@include media-breakpoint-up(lg) { - .modal-lg { max-width: $modal-lg; } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/_nav.scss b/minionlivesmatter/templates/assets/bootstrap/scss/_nav.scss deleted file mode 100644 index 731f1b7..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/_nav.scss +++ /dev/null @@ -1,120 +0,0 @@ -// Base class -// -// Kickstart any navigation component with a set of style resets. Works with -// `<nav>`s or `<ul>`s. - -.nav { - display: flex; - flex-wrap: wrap; - padding-left: 0; - margin-bottom: 0; - list-style: none; -} - -.nav-link { - display: block; - padding: $nav-link-padding; - - @include hover-focus { - text-decoration: none; - } - - // Disabled state lightens text and removes hover/tab effects - &.disabled { - color: $nav-disabled-link-color; - cursor: $cursor-disabled; - } -} - - -// -// Tabs -// - -.nav-tabs { - border-bottom: $nav-tabs-border-width solid $nav-tabs-border-color; - - .nav-item { - margin-bottom: -$nav-tabs-border-width; - } - - .nav-link { - border: $nav-tabs-border-width solid transparent; - @include border-top-radius($nav-tabs-border-radius); - - @include hover-focus { - border-color: $nav-tabs-link-hover-border-color $nav-tabs-link-hover-border-color $nav-tabs-border-color; - } - - &.disabled { - color: $nav-disabled-link-color; - background-color: transparent; - border-color: transparent; - } - } - - .nav-link.active, - .nav-item.show .nav-link { - color: $nav-tabs-active-link-color; - background-color: $nav-tabs-active-link-bg; - border-color: $nav-tabs-active-link-border-color $nav-tabs-active-link-border-color $nav-tabs-active-link-bg; - } - - .dropdown-menu { - // Make dropdown border overlap tab border - margin-top: -$nav-tabs-border-width; - // Remove the top rounded corners here since there is a hard edge above the menu - @include border-top-radius(0); - } -} - - -// -// Pills -// - -.nav-pills { - .nav-link { - @include border-radius($nav-pills-border-radius); - } - - .nav-link.active, - .nav-item.show .nav-link { - color: $nav-pills-active-link-color; - background-color: $nav-pills-active-link-bg; - } -} - - -// -// Justified variants -// - -.nav-fill { - .nav-item { - flex: 1 1 auto; - text-align: center; - } -} - -.nav-justified { - .nav-item { - flex-basis: 0; - flex-grow: 1; - text-align: center; - } -} - - -// Tabbable tabs -// -// Hide tabbable panes to start, show them when `.active` - -.tab-content { - > .tab-pane { - display: none; - } - > .active { - display: block; - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/_navbar.scss b/minionlivesmatter/templates/assets/bootstrap/scss/_navbar.scss deleted file mode 100644 index 6c31017..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/_navbar.scss +++ /dev/null @@ -1,276 +0,0 @@ -// Contents -// -// Navbar -// Navbar brand -// Navbar nav -// Navbar text -// Navbar divider -// Responsive navbar -// Navbar position -// Navbar themes - - -// Navbar -// -// Provide a static navbar from which we expand to create full-width, fixed, and -// other navbar variations. - -.navbar { - position: relative; - display: flex; - flex-direction: column; - padding: $navbar-padding-y $navbar-padding-x; - - @include media-breakpoint-down(nth(map-keys($grid-breakpoints), 1)) { - > .container { - margin-right: 0; - margin-left: 0; - } - } -} - - -// Navbar brand -// -// Used for brand, project, or site names. - -.navbar-brand { - display: inline-block; - align-self: flex-start; - padding-top: .25rem; - padding-bottom: .25rem; - margin-right: $navbar-padding-x; - font-size: $font-size-lg; - line-height: inherit; - white-space: nowrap; - - @include hover-focus { - text-decoration: none; - } -} - - -// Navbar nav -// -// Custom navbar navigation (doesn't require `.nav`, but does make use of `.nav-link`). - -.navbar-nav { - display: flex; - flex-direction: column; // cannot use `inherit` to get the `.navbar`s value - padding-left: 0; - margin-bottom: 0; - list-style: none; - - .nav-link { - padding-right: 0; - padding-left: 0; - } -} - - -// Navbar text -// -// - -.navbar-text { - display: inline-block; - padding-top: .425rem; - padding-bottom: .425rem; -} - - -// Responsive navbar -// -// Custom styles for responsive collapsing and toggling of navbar contents. -// Powered by the collapse Bootstrap JavaScript plugin. - -// Button for toggling the navbar when in its collapsed state -.navbar-toggler { - align-self: flex-start; // Prevent toggler from growing to full width when it's the only visible navbar child - padding: $navbar-toggler-padding-y $navbar-toggler-padding-x; - font-size: $navbar-toggler-font-size; - line-height: 1; - background: transparent; // remove default button style - border: $border-width solid transparent; // remove default button style - @include border-radius($navbar-toggler-border-radius); - - @include hover-focus { - text-decoration: none; - } -} - -// Keep as a separate element so folks can easily override it with another icon -// or image file as needed. -.navbar-toggler-icon { - display: inline-block; - width: 1.5em; - height: 1.5em; - vertical-align: middle; - content: ""; - background: no-repeat center center; - background-size: 100% 100%; -} - -// Use `position` on the toggler to prevent it from being auto placed as a flex -// item and allow easy placement. -.navbar-toggler-left { - position: absolute; - left: $navbar-padding-x; -} -.navbar-toggler-right { - position: absolute; - right: $navbar-padding-x; -} - -// Generate series of `.navbar-toggleable-*` responsive classes for configuring -// where your navbar collapses. -.navbar-toggleable { - @each $breakpoint in map-keys($grid-breakpoints) { - $next: breakpoint-next($breakpoint, $grid-breakpoints); - $infix: breakpoint-infix($breakpoint, $grid-breakpoints); - - &#{$infix} { - @include media-breakpoint-down($breakpoint) { - .navbar-nav { - .dropdown-menu { - position: static; - float: none; - } - } - - > .container { - padding-right: 0; - padding-left: 0; - } - } - - @include media-breakpoint-up($next) { - flex-direction: row; - flex-wrap: nowrap; - align-items: center; - - .navbar-nav { - flex-direction: row; - - .nav-link { - padding-right: .5rem; - padding-left: .5rem; - } - } - - // For nesting containers, have to redeclare for alignment purposes - > .container { - display: flex; - flex-wrap: nowrap; - align-items: center; - } - - // scss-lint:disable ImportantRule - .navbar-collapse { - display: flex !important; - width: 100%; - } - // scss-lint:enable ImportantRule - - .navbar-toggler { - display: none; - } - } - } - } -} - - -// Navbar themes -// -// Styles for switching between navbars with light or dark background. - -// Dark links against a light background -.navbar-light { - .navbar-brand, - .navbar-toggler { - color: $navbar-light-active-color; - - @include hover-focus { - color: $navbar-light-active-color; - } - } - - .navbar-nav { - .nav-link { - color: $navbar-light-color; - - @include hover-focus { - color: $navbar-light-hover-color; - } - - &.disabled { - color: $navbar-light-disabled-color; - } - } - - .open > .nav-link, - .active > .nav-link, - .nav-link.open, - .nav-link.active { - color: $navbar-light-active-color; - } - } - - .navbar-toggler { - border-color: $navbar-light-toggler-border; - } - - .navbar-toggler-icon { - background-image: $navbar-light-toggler-bg; - } - - .navbar-text { - color: $navbar-light-color; - } -} - -// White links against a dark background -.navbar-inverse { - .navbar-brand, - .navbar-toggler { - color: $navbar-inverse-active-color; - - @include hover-focus { - color: $navbar-inverse-active-color; - } - } - - .navbar-nav { - .nav-link { - color: $navbar-inverse-color; - - @include hover-focus { - color: $navbar-inverse-hover-color; - } - - &.disabled { - color: $navbar-inverse-disabled-color; - } - } - - .open > .nav-link, - .active > .nav-link, - .nav-link.open, - .nav-link.active { - color: $navbar-inverse-active-color; - } - } - - .navbar-toggler { - border-color: $navbar-inverse-toggler-border; - } - - .navbar-toggler-icon { - background-image: $navbar-inverse-toggler-bg; - } - - .navbar-text { - color: $navbar-inverse-color; - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/_pagination.scss b/minionlivesmatter/templates/assets/bootstrap/scss/_pagination.scss deleted file mode 100644 index 24aa028..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/_pagination.scss +++ /dev/null @@ -1,67 +0,0 @@ -.pagination { - display: flex; - // 1-2: Disable browser default list styles - padding-left: 0; // 1 - list-style: none; // 2 - @include border-radius(); -} - -.page-item { - &:first-child { - .page-link { - margin-left: 0; - @include border-left-radius($border-radius); - } - } - &:last-child { - .page-link { - @include border-right-radius($border-radius); - } - } - - &.active .page-link { - z-index: 2; - color: $pagination-active-color; - background-color: $pagination-active-bg; - border-color: $pagination-active-border; - } - - &.disabled .page-link { - color: $pagination-disabled-color; - pointer-events: none; - cursor: $cursor-disabled; // While `pointer-events: none` removes the cursor in modern browsers, we provide a disabled cursor as a fallback. - background-color: $pagination-disabled-bg; - border-color: $pagination-disabled-border; - } -} - -.page-link { - position: relative; - display: block; - padding: $pagination-padding-y $pagination-padding-x; - margin-left: -1px; - line-height: $pagination-line-height; - color: $pagination-color; - background-color: $pagination-bg; - border: $pagination-border-width solid $pagination-border-color; - - @include hover-focus { - color: $pagination-hover-color; - text-decoration: none; - background-color: $pagination-hover-bg; - border-color: $pagination-hover-border; - } -} - - -// -// Sizing -// - -.pagination-lg { - @include pagination-size($pagination-padding-y-lg, $pagination-padding-x-lg, $font-size-lg, $line-height-lg, $border-radius-lg); -} - -.pagination-sm { - @include pagination-size($pagination-padding-y-sm, $pagination-padding-x-sm, $font-size-sm, $line-height-sm, $border-radius-sm); -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/_popover.scss b/minionlivesmatter/templates/assets/bootstrap/scss/_popover.scss deleted file mode 100644 index 1b63634..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/_popover.scss +++ /dev/null @@ -1,171 +0,0 @@ -.popover { - position: absolute; - top: 0; - left: 0; - z-index: $zindex-popover; - display: block; - max-width: $popover-max-width; - padding: $popover-inner-padding; - // Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element. - // So reset our font and text properties to avoid inheriting weird values. - @include reset-text(); - font-size: $font-size-sm; - // Allow breaking very long words so they don't overflow the popover's bounds - word-wrap: break-word; - background-color: $popover-bg; - background-clip: padding-box; - border: $popover-border-width solid $popover-border-color; - @include border-radius($border-radius-lg); - @include box-shadow($popover-box-shadow); - - - // Popover directions - - &.popover-top, - &.bs-tether-element-attached-bottom { - margin-top: -$popover-arrow-width; - - &::before, - &::after { - left: 50%; - border-bottom-width: 0; - } - - &::before { - bottom: -$popover-arrow-outer-width; - margin-left: -$popover-arrow-outer-width; - border-top-color: $popover-arrow-outer-color; - } - - &::after { - bottom: -($popover-arrow-outer-width - 1); - margin-left: -$popover-arrow-width; - border-top-color: $popover-arrow-color; - } - } - - &.popover-right, - &.bs-tether-element-attached-left { - margin-left: $popover-arrow-width; - - &::before, - &::after { - top: 50%; - border-left-width: 0; - } - - &::before { - left: -$popover-arrow-outer-width; - margin-top: -$popover-arrow-outer-width; - border-right-color: $popover-arrow-outer-color; - } - - &::after { - left: -($popover-arrow-outer-width - 1); - margin-top: -($popover-arrow-outer-width - 1); - border-right-color: $popover-arrow-color; - } - } - - &.popover-bottom, - &.bs-tether-element-attached-top { - margin-top: $popover-arrow-width; - - &::before, - &::after { - left: 50%; - border-top-width: 0; - } - - &::before { - top: -$popover-arrow-outer-width; - margin-left: -$popover-arrow-outer-width; - border-bottom-color: $popover-arrow-outer-color; - } - - &::after { - top: -($popover-arrow-outer-width - 1); - margin-left: -$popover-arrow-width; - border-bottom-color: $popover-title-bg; - } - - // This will remove the popover-title's border just below the arrow - .popover-title::before { - position: absolute; - top: 0; - left: 50%; - display: block; - width: 20px; - margin-left: -10px; - content: ""; - border-bottom: 1px solid $popover-title-bg; - } - } - - &.popover-left, - &.bs-tether-element-attached-right { - margin-left: -$popover-arrow-width; - - &::before, - &::after { - top: 50%; - border-right-width: 0; - } - - &::before { - right: -$popover-arrow-outer-width; - margin-top: -$popover-arrow-outer-width; - border-left-color: $popover-arrow-outer-color; - } - - &::after { - right: -($popover-arrow-outer-width - 1); - margin-top: -($popover-arrow-outer-width - 1); - border-left-color: $popover-arrow-color; - } - } -} - - -// Offset the popover to account for the popover arrow -.popover-title { - padding: $popover-title-padding-y $popover-title-padding-x; - margin-bottom: 0; // Reset the default from Reboot - font-size: $font-size-base; - background-color: $popover-title-bg; - border-bottom: $popover-border-width solid darken($popover-title-bg, 5%); - $offset-border-width: calc(#{$border-radius-lg} - #{$popover-border-width}); - @include border-top-radius($offset-border-width); - - &:empty { - display: none; - } -} - -.popover-content { - padding: $popover-content-padding-y $popover-content-padding-x; -} - - -// Arrows -// -// .popover-arrow is outer, .popover-arrow::after is inner - -.popover::before, -.popover::after { - position: absolute; - display: block; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; -} - -.popover::before { - content: ""; - border-width: $popover-arrow-outer-width; -} -.popover::after { - content: ""; - border-width: $popover-arrow-width; -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/_print.scss b/minionlivesmatter/templates/assets/bootstrap/scss/_print.scss deleted file mode 100644 index e20219a..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/_print.scss +++ /dev/null @@ -1,119 +0,0 @@ -// scss-lint:disable QualifyingElement - -// Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css - -// ========================================================================== -// Print styles. -// Inlined to avoid the additional HTTP request: -// http://www.phpied.com/delay-loading-your-print-css/ -// ========================================================================== - -@if $enable-print-styles { - @media print { - *, - *::before, - *::after, - p::first-letter, - div::first-letter, - blockquote::first-letter, - li::first-letter, - p::first-line, - div::first-line, - blockquote::first-line, - li::first-line { - // Bootstrap specific; comment out `color` and `background` - //color: #000 !important; // Black prints faster: - // http://www.sanbeiji.com/archives/953 - text-shadow: none !important; - //background: transparent !important; - box-shadow: none !important; - } - - a, - a:visited { - text-decoration: underline; - } - - // Bootstrap specific; comment the following selector out - //a[href]::after { - // content: " (" attr(href) ")"; - //} - - abbr[title]::after { - content: " (" attr(title) ")"; - } - - // Bootstrap specific; comment the following selector out - // - // Don't show links that are fragment identifiers, - // or use the `javascript:` pseudo protocol - // - - //a[href^="#"]::after, - //a[href^="javascript:"]::after { - // content: ""; - //} - - pre { - white-space: pre-wrap !important; - } - pre, - blockquote { - border: $border-width solid #999; // Bootstrap custom code; using `$border-width` instead of 1px - page-break-inside: avoid; - } - - // - // Printing Tables: - // http://css-discuss.incutio.com/wiki/Printing_Tables - // - - thead { - display: table-header-group; - } - - tr, - img { - page-break-inside: avoid; - } - - p, - h2, - h3 { - orphans: 3; - widows: 3; - } - - h2, - h3 { - page-break-after: avoid; - } - - // Bootstrap specific changes start - - // Bootstrap components - .navbar { - display: none; - } - .badge { - border: $border-width solid #000; - } - - .table { - border-collapse: collapse !important; - - td, - th { - background-color: #fff !important; - } - } - .table-bordered { - th, - td { - border: 1px solid #ddd !important; - } - } - - // Bootstrap specific changes end - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/_progress.scss b/minionlivesmatter/templates/assets/bootstrap/scss/_progress.scss deleted file mode 100644 index ccca51e..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/_progress.scss +++ /dev/null @@ -1,30 +0,0 @@ -@keyframes progress-bar-stripes { - from { background-position: $progress-height 0; } - to { background-position: 0 0; } -} - -.progress { - display: flex; - overflow: hidden; // force rounded corners by cropping it - font-size: $progress-font-size; - line-height: $progress-height; - text-align: center; - background-color: $progress-bg; - @include border-radius($progress-border-radius); -} - -.progress-bar { - height: $progress-height; - line-height: $progress-height; - color: $progress-bar-color; - background-color: $progress-bar-bg; -} - -.progress-bar-striped { - @include gradient-striped(); - background-size: $progress-height $progress-height; -} - -.progress-bar-animated { - animation: progress-bar-stripes $progress-bar-animation-timing; -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/_reboot.scss b/minionlivesmatter/templates/assets/bootstrap/scss/_reboot.scss deleted file mode 100644 index c52e6f8..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/_reboot.scss +++ /dev/null @@ -1,484 +0,0 @@ -// scss-lint:disable QualifyingElement, DuplicateProperty, VendorPrefix - -// Reboot -// -// Normalization of HTML elements, manually forked from Normalize.css to remove -// styles targeting irrelevant browsers while applying new styles. -// -// Normalize is licensed MIT. https://github.com/necolas/normalize.css - - -// Document -// -// 1. Change from `box-sizing: content-box` so that `width` is not affected by `padding` or `border`. -// 2. Change the default font family in all browsers. -// 3. Correct the line height in all browsers. -// 4. Prevent adjustments of font size after orientation changes in IE on Windows Phone and in iOS. -// 5. Setting @viewport causes scrollbars to overlap content in IE11 and Edge, so -// we force a non-overlapping, non-auto-hiding scrollbar to counteract. -// 6. Change the default tap highlight to be completely transparent in iOS. - -html { - box-sizing: border-box; // 1 - font-family: sans-serif; // 2 - line-height: 1.15; // 3 - -webkit-text-size-adjust: 100%; // 4 - -ms-text-size-adjust: 100%; // 4 - -ms-overflow-style: scrollbar; // 5 - -webkit-tap-highlight-color: rgba(0,0,0,0); // 6 -} - -*, -*::before, -*::after { - box-sizing: inherit; // 1 -} - -// IE10+ doesn't honor `<meta name="viewport">` in some cases. -@at-root { - @-ms-viewport { width: device-width; } -} - - -// Body -// -// 1. Remove the margin in all browsers. -// 2. As a best practice, apply a default `background-color`. - -body { - margin: 0; // 1 - font-family: $font-family-base; - font-size: $font-size-base; - font-weight: $font-weight-base; - line-height: $line-height-base; - color: $body-color; - background-color: $body-bg; // 2 -} - -// Suppress the focus outline on elements that cannot be accessed via keyboard. -// This prevents an unwanted focus outline from appearing around elements that -// might still respond to pointer events. -// -// Credit: https://github.com/suitcss/base -[tabindex="-1"]:focus { - outline: none !important; -} - - -// Content grouping -// -// 1. Add the correct box sizing in Firefox. -// 2. Show the overflow in Edge and IE. - -hr { - box-sizing: content-box; // 1 - height: 0; // 1 - overflow: visible; // 2 -} - - -// -// Typography -// - -// Remove top margins from headings -// -// By default, `<h1>`-`<h6>` all receive top and bottom margins. We nuke the top -// margin for easier control within type scales as it avoids margin collapsing. -h1, h2, h3, h4, h5, h6 { - margin-top: 0; - margin-bottom: .5rem; -} - -// Reset margins on paragraphs -// -// Similarly, the top margin on `<p>`s get reset. However, we also reset the -// bottom margin to use `rem` units instead of `em`. -p { - margin-top: 0; - margin-bottom: 1rem; -} - -// Abbreviations -// -// 1. Remove the bottom border in Firefox 39-. -// 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. -// 3. Add explicit cursor to indicate changed behavior. -// 4. Duplicate behavior to the data-* attribute for our tooltip plugin - -abbr[title], -abbr[data-original-title] { // 4 - text-decoration: underline; // 2 - text-decoration: underline dotted; // 2 - cursor: help; // 3 - border-bottom: 0; // 1 -} - -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: $dt-font-weight; -} - -dd { - margin-bottom: .5rem; - margin-left: 0; // Undo browser default -} - -blockquote { - margin: 0 0 1rem; -} - -dfn { - font-style: italic; // Add the correct font style in Android 4.3- -} - -b, -strong { - font-weight: bolder; // Add the correct font weight in Chrome, Edge, and Safari -} - -small { - font-size: 80%; // Add the correct font size in all browsers -} - -// -// Prevent `sub` and `sup` elements from affecting the line height in -// all browsers. -// - -sub, -sup { - position: relative; - font-size: 75%; - line-height: 0; - vertical-align: baseline; -} - -sub { bottom: -.25em; } -sup { top: -.5em; } - - -// -// Links -// - -a { - color: $link-color; - text-decoration: $link-decoration; - background-color: transparent; // Remove the gray background on active links in IE 10. - -webkit-text-decoration-skip: objects; // Remove gaps in links underline in iOS 8+ and Safari 8+. - - @include hover { - color: $link-hover-color; - text-decoration: $link-hover-decoration; - } -} - -// And undo these styles for placeholder links/named anchors (without href) -// which have not been made explicitly keyboard-focusable (without tabindex). -// It would be more straightforward to just use a[href] in previous block, but that -// causes specificity issues in many other styles that are too complex to fix. -// See https://github.com/twbs/bootstrap/issues/19402 - -a:not([href]):not([tabindex]) { - color: inherit; - text-decoration: none; - - @include hover-focus { - color: inherit; - text-decoration: none; - } - - &:focus { - outline: 0; - } -} - - -// -// Code -// - -pre, -code, -kbd, -samp { - font-family: monospace, monospace; // Correct the inheritance and scaling of font size in all browsers. - font-size: 1em; // Correct the odd `em` font sizing in all browsers. -} - -pre { - // Remove browser default top margin - margin-top: 0; - // Reset browser default of `1em` to use `rem`s - margin-bottom: 1rem; - // Don't allow content to break outside - overflow: auto; -} - - -// -// Figures -// - -figure { - // Apply a consistent margin strategy (matches our type styles). - margin: 0 0 1rem; -} - - -// -// Images and content -// - -img { - vertical-align: middle; - border-style: none; // Remove the border on images inside links in IE 10-. -} - -svg:not(:root) { - overflow: hidden; // Hide the overflow in IE -} - - -// Avoid 300ms click delay on touch devices that support the `touch-action` CSS property. -// -// In particular, unlike most other browsers, IE11+Edge on Windows 10 on touch devices and IE Mobile 10-11 -// DON'T remove the click delay when `<meta name="viewport" content="width=device-width">` is present. -// However, they DO support removing the click delay via `touch-action: manipulation`. -// See: -// * https://v4-alpha.getbootstrap.com/content/reboot/#click-delay-optimization-for-touch -// * http://caniuse.com/#feat=css-touch-action -// * https://patrickhlauke.github.io/touch/tests/results/#suppressing-300ms-delay - -a, -area, -button, -[role="button"], -input, -label, -select, -summary, -textarea { - touch-action: manipulation; -} - - -// -// Tables -// - -table { - border-collapse: collapse; // Prevent double borders -} - -caption { - padding-top: $table-cell-padding; - padding-bottom: $table-cell-padding; - color: $text-muted; - text-align: left; - caption-side: bottom; -} - -th { - // Matches default `<td>` alignment - text-align: left; -} - - -// -// Forms -// - -label { - // Allow labels to use `margin` for spacing. - display: inline-block; - margin-bottom: .5rem; -} - -// Work around a Firefox/IE bug where the transparent `button` background -// results in a loss of the default `button` focus styles. -// -// Credit: https://github.com/suitcss/base/ -button:focus { - outline: 1px dotted; - outline: 5px auto -webkit-focus-ring-color; -} - -input, -button, -select, -optgroup, -textarea { - margin: 0; // Remove the margin in Firefox and Safari - font-family: inherit; - font-size: inherit; - line-height: inherit; -} - -button, -input { - overflow: visible; // Show the overflow in Edge -} - -button, -select { - text-transform: none; // Remove the inheritance of text transform in Firefox -} - -// 1. Prevent a WebKit bug where (2) destroys native `audio` and `video` -// controls in Android 4. -// 2. Correct the inability to style clickable types in iOS and Safari. -button, -html [type="button"], // 1 -[type="reset"], -[type="submit"] { - -webkit-appearance: button; // 2 -} - -// Remove inner border and padding from Firefox, but don't restore the outline like Normalize. -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; // 1. Add the correct box sizing in IE 10- - padding: 0; // 2. Remove the padding in IE 10- - - // Apply a disabled cursor for radios and checkboxes. - // - // Note: Neither radios nor checkboxes can be readonly. - &:disabled { - cursor: $cursor-disabled; - } -} - - -input[type="date"], -input[type="time"], -input[type="datetime-local"], -input[type="month"] { - // Remove the default appearance of temporal inputs to avoid a Mobile Safari - // bug where setting a custom line-height prevents text from being vertically - // centered within the input. - // See https://bugs.webkit.org/show_bug.cgi?id=139848 - // and https://github.com/twbs/bootstrap/issues/11266 - -webkit-appearance: listbox; -} - -textarea { - overflow: auto; // Remove the default vertical scrollbar in IE. - // Textareas should really only resize vertically so they don't break their (horizontal) containers. - resize: vertical; -} - -fieldset { - // Browsers set a default `min-width: min-content;` on fieldsets, - // unlike e.g. `<div>`s, which have `min-width: 0;` by default. - // So we reset that to ensure fieldsets behave more like a standard block element. - // See https://github.com/twbs/bootstrap/issues/12359 - // and https://html.spec.whatwg.org/multipage/#the-fieldset-and-legend-elements - min-width: 0; - // Reset the default outline behavior of fieldsets so they don't affect page layout. - padding: 0; - margin: 0; - border: 0; -} - -// 1. Correct the text wrapping in Edge and IE. -// 2. Correct the color inheritance from `fieldset` elements in IE. -legend { - display: block; - width: 100%; - max-width: 100%; // 1 - padding: 0; - margin-bottom: .5rem; - font-size: 1.5rem; - line-height: inherit; - color: inherit; // 2 - white-space: normal; // 1 -} - -progress { - vertical-align: baseline; // Add the correct vertical alignment in Chrome, Firefox, and Opera. -} - -// Correct the cursor style of increment and decrement buttons in Chrome. -[type="number"]::-webkit-inner-spin-button, -[type="number"]::-webkit-outer-spin-button { - height: auto; -} - -[type="search"] { - // This overrides the extra rounded corners on search inputs in iOS so that our - // `.form-control` class can properly style them. Note that this cannot simply - // be added to `.form-control` as it's not specific enough. For details, see - // https://github.com/twbs/bootstrap/issues/11586. - outline-offset: -2px; // 2. Correct the outline style in Safari. - -webkit-appearance: none; -} - -// -// Remove the inner padding and cancel buttons in Chrome and Safari on macOS. -// - -[type="search"]::-webkit-search-cancel-button, -[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; -} - -// -// 1. Correct the inability to style clickable types in iOS and Safari. -// 2. Change font properties to `inherit` in Safari. -// - -::-webkit-file-upload-button { - font: inherit; // 2 - -webkit-appearance: button; // 1 -} - -// -// Correct element displays -// - -output { - display: inline-block; -} - -summary { - display: list-item; // Add the correct display in all browsers -} - -template { - display: none; // Add the correct display in IE -} - -// Always hide an element with the `hidden` HTML attribute (from PureCSS). -// Needed for proper display in IE 10-. -[hidden] { - display: none !important; -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/_responsive-embed.scss b/minionlivesmatter/templates/assets/bootstrap/scss/_responsive-embed.scss deleted file mode 100644 index d3362b6..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/_responsive-embed.scss +++ /dev/null @@ -1,52 +0,0 @@ -// Credit: Nicolas Gallagher and SUIT CSS. - -.embed-responsive { - position: relative; - display: block; - width: 100%; - padding: 0; - overflow: hidden; - - &::before { - display: block; - content: ""; - } - - .embed-responsive-item, - iframe, - embed, - object, - video { - position: absolute; - top: 0; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - border: 0; - } -} - -.embed-responsive-21by9 { - &::before { - padding-top: percentage(9 / 21); - } -} - -.embed-responsive-16by9 { - &::before { - padding-top: percentage(9 / 16); - } -} - -.embed-responsive-4by3 { - &::before { - padding-top: percentage(3 / 4); - } -} - -.embed-responsive-1by1 { - &::before { - padding-top: percentage(1 / 1); - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/_tables.scss b/minionlivesmatter/templates/assets/bootstrap/scss/_tables.scss deleted file mode 100644 index f041f60..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/_tables.scss +++ /dev/null @@ -1,169 +0,0 @@ -// -// Basic Bootstrap table -// - -.table { - width: 100%; - max-width: 100%; - margin-bottom: $spacer; - background-color: $table-bg; // Reset for nesting within parents with `background-color`. - - th, - td { - padding: $table-cell-padding; - vertical-align: top; - border-top: $table-border-width solid $table-border-color; - } - - thead th { - vertical-align: bottom; - border-bottom: (2 * $table-border-width) solid $table-border-color; - } - - tbody + tbody { - border-top: (2 * $table-border-width) solid $table-border-color; - } - - .table { - background-color: $body-bg; - } -} - - -// -// Condensed table w/ half padding -// - -.table-sm { - th, - td { - padding: $table-sm-cell-padding; - } -} - - -// Bordered version -// -// Add borders all around the table and between all the columns. - -.table-bordered { - border: $table-border-width solid $table-border-color; - - th, - td { - border: $table-border-width solid $table-border-color; - } - - thead { - th, - td { - border-bottom-width: (2 * $table-border-width); - } - } -} - - -// Zebra-striping -// -// Default zebra-stripe styles (alternating gray and transparent backgrounds) - -.table-striped { - tbody tr:nth-of-type(odd) { - background-color: $table-bg-accent; - } -} - - -// Hover effect -// -// Placed here since it has to come after the potential zebra striping - -.table-hover { - tbody tr { - @include hover { - background-color: $table-bg-hover; - } - } -} - - -// Table backgrounds -// -// Exact selectors below required to override `.table-striped` and prevent -// inheritance to nested tables. - -// Generate the contextual variants -@include table-row-variant(active, $table-bg-active); -@include table-row-variant(success, $state-success-bg); -@include table-row-variant(info, $state-info-bg); -@include table-row-variant(warning, $state-warning-bg); -@include table-row-variant(danger, $state-danger-bg); - - -// Inverse styles -// -// Same table markup, but inverted color scheme: dark background and light text. - -.thead-inverse { - th { - color: $table-inverse-color; - background-color: $table-inverse-bg; - } -} - -.thead-default { - th { - color: $table-head-color; - background-color: $table-head-bg; - } -} - -.table-inverse { - color: $table-inverse-color; - background-color: $table-inverse-bg; - - th, - td, - thead th { - border-color: $table-inverse-border; - } - - &.table-bordered { - border: 0; - } - - &.table-striped { - tbody tr:nth-of-type(odd) { - background-color: $table-inverse-bg-accent; - } - } - - &.table-hover { - tbody tr { - @include hover { - background-color: $table-inverse-bg-hover; - } - } - } -} - - -// Responsive tables -// -// Add `.table-responsive` to `.table`s and we'll make them mobile friendly by -// enabling horizontal scrolling. Only applies <768px. Everything above that -// will display normally. - -.table-responsive { - @include media-breakpoint-down(md) { - display: block; - width: 100%; - overflow-x: auto; - -ms-overflow-style: -ms-autohiding-scrollbar; // See https://github.com/twbs/bootstrap/pull/10057 - - // Prevent double border on horizontal scroll due to use of `display: block;` - &.table-bordered { - border: 0; - } - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/_tooltip.scss b/minionlivesmatter/templates/assets/bootstrap/scss/_tooltip.scss deleted file mode 100644 index 24e198d..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/_tooltip.scss +++ /dev/null @@ -1,90 +0,0 @@ -// Base class -.tooltip { - position: absolute; - z-index: $zindex-tooltip; - display: block; - // Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element. - // So reset our font and text properties to avoid inheriting weird values. - @include reset-text(); - font-size: $font-size-sm; - // Allow breaking very long words so they don't overflow the tooltip's bounds - word-wrap: break-word; - opacity: 0; - - &.show { opacity: $tooltip-opacity; } - - &.tooltip-top, - &.bs-tether-element-attached-bottom { - padding: $tooltip-arrow-width 0; - margin-top: -$tooltip-margin; - - .tooltip-inner::before { - bottom: 0; - left: 50%; - margin-left: -$tooltip-arrow-width; - content: ""; - border-width: $tooltip-arrow-width $tooltip-arrow-width 0; - border-top-color: $tooltip-arrow-color; - } - } - &.tooltip-right, - &.bs-tether-element-attached-left { - padding: 0 $tooltip-arrow-width; - margin-left: $tooltip-margin; - - .tooltip-inner::before { - top: 50%; - left: 0; - margin-top: -$tooltip-arrow-width; - content: ""; - border-width: $tooltip-arrow-width $tooltip-arrow-width $tooltip-arrow-width 0; - border-right-color: $tooltip-arrow-color; - } - } - &.tooltip-bottom, - &.bs-tether-element-attached-top { - padding: $tooltip-arrow-width 0; - margin-top: $tooltip-margin; - - .tooltip-inner::before { - top: 0; - left: 50%; - margin-left: -$tooltip-arrow-width; - content: ""; - border-width: 0 $tooltip-arrow-width $tooltip-arrow-width; - border-bottom-color: $tooltip-arrow-color; - } - } - &.tooltip-left, - &.bs-tether-element-attached-right { - padding: 0 $tooltip-arrow-width; - margin-left: -$tooltip-margin; - - .tooltip-inner::before { - top: 50%; - right: 0; - margin-top: -$tooltip-arrow-width; - content: ""; - border-width: $tooltip-arrow-width 0 $tooltip-arrow-width $tooltip-arrow-width; - border-left-color: $tooltip-arrow-color; - } - } -} - -// Wrapper for the tooltip content -.tooltip-inner { - max-width: $tooltip-max-width; - padding: $tooltip-padding-y $tooltip-padding-x; - color: $tooltip-color; - text-align: center; - background-color: $tooltip-bg; - @include border-radius($border-radius); - - &::before { - position: absolute; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/_transitions.scss b/minionlivesmatter/templates/assets/bootstrap/scss/_transitions.scss deleted file mode 100644 index 86c04a5..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/_transitions.scss +++ /dev/null @@ -1,34 +0,0 @@ -.fade { - opacity: 0; - @include transition($transition-fade); - - &.show { - opacity: 1; - } -} - -.collapse { - display: none; - &.show { - display: block; - } -} - -tr { - &.collapse.show { - display: table-row; - } -} - -tbody { - &.collapse.show { - display: table-row-group; - } -} - -.collapsing { - position: relative; - height: 0; - overflow: hidden; - @include transition($transition-collapse); -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/_type.scss b/minionlivesmatter/templates/assets/bootstrap/scss/_type.scss deleted file mode 100644 index fc9c791..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/_type.scss +++ /dev/null @@ -1,143 +0,0 @@ -// -// Headings -// - -h1, h2, h3, h4, h5, h6, -.h1, .h2, .h3, .h4, .h5, .h6 { - margin-bottom: $headings-margin-bottom; - font-family: $headings-font-family; - font-weight: $headings-font-weight; - line-height: $headings-line-height; - color: $headings-color; -} - -h1, .h1 { font-size: $font-size-h1; } -h2, .h2 { font-size: $font-size-h2; } -h3, .h3 { font-size: $font-size-h3; } -h4, .h4 { font-size: $font-size-h4; } -h5, .h5 { font-size: $font-size-h5; } -h6, .h6 { font-size: $font-size-h6; } - -.lead { - font-size: $lead-font-size; - font-weight: $lead-font-weight; -} - -// Type display classes -.display-1 { - font-size: $display1-size; - font-weight: $display1-weight; - line-height: $display-line-height; -} -.display-2 { - font-size: $display2-size; - font-weight: $display2-weight; - line-height: $display-line-height; -} -.display-3 { - font-size: $display3-size; - font-weight: $display3-weight; - line-height: $display-line-height; -} -.display-4 { - font-size: $display4-size; - font-weight: $display4-weight; - line-height: $display-line-height; -} - - -// -// Horizontal rules -// - -hr { - margin-top: 1rem; - margin-bottom: 1rem; - border: 0; - border-top: $hr-border-width solid $hr-border-color; -} - - -// -// Emphasis -// - -small, -.small { - font-size: $small-font-size; - font-weight: $font-weight-normal; -} - -mark, -.mark { - padding: $mark-padding; - background-color: $mark-bg; -} - - -// -// Lists -// - -.list-unstyled { - @include list-unstyled; -} - -// Inline turns list items into inline-block -.list-inline { - @include list-unstyled; -} -.list-inline-item { - display: inline-block; - - &:not(:last-child) { - margin-right: $list-inline-padding; - } -} - - -// -// Misc -// - -// Builds on `abbr` -.initialism { - font-size: 90%; - text-transform: uppercase; -} - -// Blockquotes -.blockquote { - padding: ($spacer / 2) $spacer; - margin-bottom: $spacer; - font-size: $blockquote-font-size; - border-left: $blockquote-border-width solid $blockquote-border-color; -} - -.blockquote-footer { - display: block; - font-size: 80%; // back to default font-size - color: $blockquote-small-color; - - &::before { - content: "\2014 \00A0"; // em dash, nbsp - } -} - -// Opposite alignment of blockquote -.blockquote-reverse { - padding-right: $spacer; - padding-left: 0; - text-align: right; - border-right: $blockquote-border-width solid $blockquote-border-color; - border-left: 0; -} - -.blockquote-reverse .blockquote-footer { - &::before { - content: ""; - } - &::after { - content: "\00A0 \2014"; // nbsp, em dash - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/_utilities.scss b/minionlivesmatter/templates/assets/bootstrap/scss/_utilities.scss deleted file mode 100644 index 7d08ff2..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/_utilities.scss +++ /dev/null @@ -1,13 +0,0 @@ -@import "utilities/align"; -@import "utilities/background"; -@import "utilities/borders"; -@import "utilities/clearfix"; -@import "utilities/display"; -@import "utilities/flex"; -@import "utilities/float"; -@import "utilities/position"; -@import "utilities/screenreaders"; -@import "utilities/sizing"; -@import "utilities/spacing"; -@import "utilities/text"; -@import "utilities/visibility"; diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/_variables.scss b/minionlivesmatter/templates/assets/bootstrap/scss/_variables.scss deleted file mode 100644 index 69eb401..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/_variables.scss +++ /dev/null @@ -1,921 +0,0 @@ -// Variables -// -// Copy settings from this file into the provided `_custom.scss` to override -// the Bootstrap defaults without modifying key, versioned files. - - -// Table of Contents -// -// Colors -// Options -// Spacing -// Body -// Links -// Grid breakpoints -// Grid containers -// Grid columns -// Fonts -// Components -// Tables -// Buttons -// Forms -// Dropdowns -// Z-index master list -// Navbar -// Navs -// Pagination -// Jumbotron -// Form states and alerts -// Cards -// Tooltips -// Popovers -// Badges -// Modals -// Alerts -// Progress bars -// List group -// Image thumbnails -// Figures -// Breadcrumbs -// Carousel -// Close -// Code - -@mixin _assert-ascending($map, $map-name) { - $prev-key: null; - $prev-num: null; - @each $key, $num in $map { - @if $prev-num == null { - // Do nothing - } @else if not comparable($prev-num, $num) { - @warn "Potentially invalid value for #{$map-name}: This map must be in ascending order, but key '#{$key}' has value #{$num} whose unit makes it incomparable to #{$prev-num}, the value of the previous key '#{$prev-key}' !"; - } @else if $prev-num >= $num { - @warn "Invalid value for #{$map-name}: This map must be in ascending order, but key '#{$key}' has value #{$num} which isn't greater than #{$prev-num}, the value of the previous key '#{$prev-key}' !"; - } - $prev-key: $key; - $prev-num: $num; - } -} - -// Replace `$search` with `$replace` in `$string` -// @author Hugo Giraudel -// @param {String} $string - Initial string -// @param {String} $search - Substring to replace -// @param {String} $replace ('') - New value -// @return {String} - Updated string -@function str-replace($string, $search, $replace: "") { - $index: str-index($string, $search); - - @if $index { - @return str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace); - } - - @return $string; -} - -@mixin _assert-starts-at-zero($map) { - $values: map-values($map); - $first-value: nth($values, 1); - @if $first-value != 0 { - @warn "First breakpoint in `$grid-breakpoints` must start at 0, but starts at #{$first-value}."; - } -} - - -// General variable structure -// -// Variable format should follow the `$component-modifier-state-property` order. - - -// Colors -// -// Grayscale and brand colors for use across Bootstrap. - -// Start with assigning color names to specific hex values. -$white: #fff !default; -$black: #000 !default; -$red: #d9534f !default; -$orange: #f0ad4e !default; -$yellow: #ffd500 !default; -$green: #5cb85c !default; -$blue: #0275d8 !default; -$teal: #5bc0de !default; -$pink: #ff5b77 !default; -$purple: #613d7c !default; - -// Create grayscale -$gray-dark: #292b2c !default; -$gray: #464a4c !default; -$gray-light: #636c72 !default; -$gray-lighter: #eceeef !default; -$gray-lightest: #f7f7f9 !default; - -// Reassign color vars to semantic color scheme -$brand-primary: $blue !default; -$brand-success: $green !default; -$brand-info: $teal !default; -$brand-warning: $orange !default; -$brand-danger: $red !default; -$brand-inverse: $gray-dark !default; - - -// Options -// -// Quickly modify global styling by enabling or disabling optional features. - -$enable-rounded: true !default; -$enable-shadows: false !default; -$enable-gradients: false !default; -$enable-transitions: true !default; -$enable-hover-media-query: false !default; -$enable-grid-classes: true !default; -$enable-print-styles: true !default; - - -// Spacing -// -// Control the default styling of most Bootstrap elements by modifying these -// variables. Mostly focused on spacing. -// You can add more entries to the $spacers map, should you need more variation. - -$spacer: 1rem !default; -$spacers: ( - 0: 0, - 1: ($spacer * .25), - 2: ($spacer * .5), - 3: $spacer, - 4: ($spacer * 1.5), - 5: ($spacer * 3) -) !default; - -// This variable affects the `.h-*` and `.w-*` classes. -$sizes: ( - 25: 25%, - 50: 50%, - 75: 75%, - 100: 100% -) !default; - -// Body -// -// Settings for the `<body>` element. - -$body-bg: $white !default; -$body-color: $gray-dark !default; - -// Links -// -// Style anchor elements. - -$link-color: $brand-primary !default; -$link-decoration: none !default; -$link-hover-color: darken($link-color, 15%) !default; -$link-hover-decoration: underline !default; - - -// Grid breakpoints -// -// Define the minimum dimensions at which your layout will change, -// adapting to different screen sizes, for use in media queries. - -$grid-breakpoints: ( - xs: 0, - sm: 576px, - md: 768px, - lg: 992px, - xl: 1200px -) !default; -@include _assert-ascending($grid-breakpoints, "$grid-breakpoints"); -@include _assert-starts-at-zero($grid-breakpoints); - - -// Grid containers -// -// Define the maximum width of `.container` for different screen sizes. - -$container-max-widths: ( - sm: 540px, - md: 720px, - lg: 960px, - xl: 1140px -) !default; -@include _assert-ascending($container-max-widths, "$container-max-widths"); - - -// Grid columns -// -// Set the number of columns and specify the width of the gutters. - -$grid-columns: 12 !default; -$grid-gutter-width-base: 30px !default; -$grid-gutter-widths: ( - xs: $grid-gutter-width-base, - sm: $grid-gutter-width-base, - md: $grid-gutter-width-base, - lg: $grid-gutter-width-base, - xl: $grid-gutter-width-base -) !default; - - -// Components -// -// Define common padding and border radius sizes and more. - -$line-height-lg: (4 / 3) !default; -$line-height-sm: 1.5 !default; - -$border-width: 1px !default; - -$border-radius: .25rem !default; -$border-radius-lg: .3rem !default; -$border-radius-sm: .2rem !default; - -$component-active-color: $white !default; -$component-active-bg: $brand-primary !default; - -$caret-width: .3em !default; - -$transition-base: all .2s ease-in-out !default; -$transition-fade: opacity .15s linear !default; -$transition-collapse: height .35s ease !default; - - -// Fonts -// -// Font, line-height, and color for body text, headings, and more. - -$font-family-sans-serif: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !default; -$font-family-monospace: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default; -$font-family-base: $font-family-sans-serif !default; - -$font-size-base: 1rem !default; // Assumes the browser default, typically `16px` -$font-size-lg: 1.25rem !default; -$font-size-sm: .875rem !default; -$font-size-xs: .75rem !default; - -$font-weight-normal: normal !default; -$font-weight-bold: bold !default; - -$font-weight-base: $font-weight-normal !default; -$line-height-base: 1.5 !default; - -$font-size-h1: 2.5rem !default; -$font-size-h2: 2rem !default; -$font-size-h3: 1.75rem !default; -$font-size-h4: 1.5rem !default; -$font-size-h5: 1.25rem !default; -$font-size-h6: 1rem !default; - -$headings-margin-bottom: ($spacer / 2) !default; -$headings-font-family: inherit !default; -$headings-font-weight: 500 !default; -$headings-line-height: 1.1 !default; -$headings-color: inherit !default; - -$display1-size: 6rem !default; -$display2-size: 5.5rem !default; -$display3-size: 4.5rem !default; -$display4-size: 3.5rem !default; - -$display1-weight: 300 !default; -$display2-weight: 300 !default; -$display3-weight: 300 !default; -$display4-weight: 300 !default; -$display-line-height: $headings-line-height !default; - -$lead-font-size: 1.25rem !default; -$lead-font-weight: 300 !default; - -$small-font-size: 80% !default; - -$text-muted: $gray-light !default; - -$blockquote-small-color: $gray-light !default; -$blockquote-font-size: ($font-size-base * 1.25) !default; -$blockquote-border-color: $gray-lighter !default; -$blockquote-border-width: .25rem !default; - -$hr-border-color: rgba($black,.1) !default; -$hr-border-width: $border-width !default; - -$mark-padding: .2em !default; - -$dt-font-weight: $font-weight-bold !default; - -$kbd-box-shadow: inset 0 -.1rem 0 rgba($black,.25) !default; -$nested-kbd-font-weight: $font-weight-bold !default; - -$list-inline-padding: 5px !default; - - -// Tables -// -// Customizes the `.table` component with basic values, each used across all table variations. - -$table-cell-padding: .75rem !default; -$table-sm-cell-padding: .3rem !default; - -$table-bg: transparent !default; -$table-bg-accent: rgba($black,.05) !default; -$table-bg-hover: rgba($black,.075) !default; -$table-bg-active: $table-bg-hover !default; - -$table-border-width: $border-width !default; -$table-border-color: $gray-lighter !default; - -$table-head-bg: $gray-lighter !default; -$table-head-color: $gray !default; - -$table-inverse-bg: $gray-dark !default; -$table-inverse-bg-accent: rgba($white, .05) !default; -$table-inverse-bg-hover: rgba($white, .075) !default; -$table-inverse-bg-active: $table-inverse-bg-hover !default; -$table-inverse-border: lighten($gray-dark, 7.5%) !default; -$table-inverse-color: $body-bg !default; - - -// Buttons -// -// For each of Bootstrap's buttons, define text, background and border color. - -$btn-padding-x: 1rem !default; -$btn-padding-y: .5rem !default; -$btn-line-height: 1.25 !default; -$btn-font-weight: $font-weight-normal !default; -$btn-box-shadow: inset 0 1px 0 rgba($white,.15), 0 1px 1px rgba($black,.075) !default; -$btn-focus-box-shadow: 0 0 0 2px rgba($brand-primary, .25) !default; -$btn-active-box-shadow: inset 0 3px 5px rgba($black,.125) !default; - -$btn-primary-color: $white !default; -$btn-primary-bg: $brand-primary !default; -$btn-primary-border: $btn-primary-bg !default; - -$btn-secondary-color: $gray-dark !default; -$btn-secondary-bg: $white !default; -$btn-secondary-border: #ccc !default; - -$btn-info-color: $white !default; -$btn-info-bg: $brand-info !default; -$btn-info-border: $btn-info-bg !default; - -$btn-success-color: $white !default; -$btn-success-bg: $brand-success !default; -$btn-success-border: $btn-success-bg !default; - -$btn-warning-color: $white !default; -$btn-warning-bg: $brand-warning !default; -$btn-warning-border: $btn-warning-bg !default; - -$btn-danger-color: $white !default; -$btn-danger-bg: $brand-danger !default; -$btn-danger-border: $btn-danger-bg !default; - -$btn-link-disabled-color: $gray-light !default; - -$btn-padding-x-sm: .5rem !default; -$btn-padding-y-sm: .25rem !default; - -$btn-padding-x-lg: 1.5rem !default; -$btn-padding-y-lg: .75rem !default; - -$btn-block-spacing-y: .5rem !default; - -// Allows for customizing button radius independently from global border radius -$btn-border-radius: $border-radius !default; -$btn-border-radius-lg: $border-radius-lg !default; -$btn-border-radius-sm: $border-radius-sm !default; - -$btn-transition: all .2s ease-in-out !default; - - -// Forms - -$input-padding-x: .75rem !default; -$input-padding-y: .5rem !default; -$input-line-height: 1.25 !default; - -$input-bg: $white !default; -$input-bg-disabled: $gray-lighter !default; - -$input-color: $gray !default; -$input-border-color: rgba($black,.15) !default; -$input-btn-border-width: $border-width !default; // For form controls and buttons -$input-box-shadow: inset 0 1px 1px rgba($black,.075) !default; - -$input-border-radius: $border-radius !default; -$input-border-radius-lg: $border-radius-lg !default; -$input-border-radius-sm: $border-radius-sm !default; - -$input-bg-focus: $input-bg !default; -$input-border-focus: lighten($brand-primary, 25%) !default; -$input-box-shadow-focus: $input-box-shadow, rgba($input-border-focus, .6) !default; -$input-color-focus: $input-color !default; - -$input-color-placeholder: $gray-light !default; - -$input-padding-x-sm: .5rem !default; -$input-padding-y-sm: .25rem !default; - -$input-padding-x-lg: 1.5rem !default; -$input-padding-y-lg: .75rem !default; - -$input-height: (($font-size-base * $input-line-height) + ($input-padding-y * 2)) !default; -$input-height-lg: (($font-size-lg * $line-height-lg) + ($input-padding-y-lg * 2)) !default; -$input-height-sm: (($font-size-sm * $line-height-sm) + ($input-padding-y-sm * 2)) !default; - -$input-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s !default; - -$form-text-margin-top: .25rem !default; -$form-feedback-margin-top: $form-text-margin-top !default; - -$form-check-margin-bottom: .5rem !default; -$form-check-input-gutter: 1.25rem !default; -$form-check-input-margin-y: .25rem !default; -$form-check-input-margin-x: .25rem !default; - -$form-check-inline-margin-x: .75rem !default; - -$form-group-margin-bottom: 1rem !default; - -$input-group-addon-bg: $gray-lighter !default; -$input-group-addon-border-color: $input-border-color !default; - -$cursor-disabled: not-allowed !default; - -$custom-control-gutter: 1.5rem !default; -$custom-control-spacer-x: 1rem !default; -$custom-control-spacer-y: .25rem !default; - -$custom-control-indicator-size: 1rem !default; -$custom-control-indicator-bg: #ddd !default; -$custom-control-indicator-bg-size: 50% 50% !default; -$custom-control-indicator-box-shadow: inset 0 .25rem .25rem rgba($black,.1) !default; - -$custom-control-disabled-cursor: $cursor-disabled !default; -$custom-control-disabled-indicator-bg: $gray-lighter !default; -$custom-control-disabled-description-color: $gray-light !default; - -$custom-control-checked-indicator-color: $white !default; -$custom-control-checked-indicator-bg: $brand-primary !default; -$custom-control-checked-indicator-box-shadow: none !default; - -$custom-control-focus-indicator-box-shadow: 0 0 0 1px $body-bg, 0 0 0 3px $brand-primary !default; - -$custom-control-active-indicator-color: $white !default; -$custom-control-active-indicator-bg: lighten($brand-primary, 35%) !default; -$custom-control-active-indicator-box-shadow: none !default; - -$custom-checkbox-radius: $border-radius !default; -$custom-checkbox-checked-icon: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='#{$custom-control-checked-indicator-color}' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"), "#", "%23") !default; - -$custom-checkbox-indeterminate-bg: $brand-primary !default; -$custom-checkbox-indeterminate-indicator-color: $custom-control-checked-indicator-color !default; -$custom-checkbox-indeterminate-icon: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='#{$custom-checkbox-indeterminate-indicator-color}' d='M0 2h4'/%3E%3C/svg%3E"), "#", "%23") !default; -$custom-checkbox-indeterminate-box-shadow: none !default; - -$custom-radio-radius: 50% !default; -$custom-radio-checked-icon: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='#{$custom-control-checked-indicator-color}'/%3E%3C/svg%3E"), "#", "%23") !default; - -$custom-select-padding-x: .75rem !default; -$custom-select-padding-y: .375rem !default; -$custom-select-indicator-padding: 1rem !default; // Extra padding to account for the presence of the background-image based indicator -$custom-select-line-height: $input-line-height !default; -$custom-select-color: $input-color !default; -$custom-select-disabled-color: $gray-light !default; -$custom-select-bg: $white !default; -$custom-select-disabled-bg: $gray-lighter !default; -$custom-select-bg-size: 8px 10px !default; // In pixels because image dimensions -$custom-select-indicator-color: #333 !default; -$custom-select-indicator: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='#{$custom-select-indicator-color}' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E"), "#", "%23") !default; -$custom-select-border-width: $input-btn-border-width !default; -$custom-select-border-color: $input-border-color !default; -$custom-select-border-radius: $border-radius !default; - -$custom-select-focus-border-color: lighten($brand-primary, 25%) !default; -$custom-select-focus-box-shadow: inset 0 1px 2px rgba($black, .075), 0 0 5px rgba($custom-select-focus-border-color, .5) !default; - -$custom-select-sm-font-size: 75% !default; - -$custom-file-height: 2.5rem !default; -$custom-file-width: 14rem !default; -$custom-file-focus-box-shadow: 0 0 0 .075rem $white, 0 0 0 .2rem $brand-primary !default; - -$custom-file-padding-x: .5rem !default; -$custom-file-padding-y: 1rem !default; -$custom-file-line-height: 1.5 !default; -$custom-file-color: $gray !default; -$custom-file-bg: $white !default; -$custom-file-border-width: $border-width !default; -$custom-file-border-color: $input-border-color !default; -$custom-file-border-radius: $border-radius !default; -$custom-file-box-shadow: inset 0 .2rem .4rem rgba($black,.05) !default; -$custom-file-button-color: $custom-file-color !default; -$custom-file-button-bg: $gray-lighter !default; -$custom-file-text: ( - placeholder: ( - en: "Choose file..." - ), - button-label: ( - en: "Browse" - ) -) !default; - - -// Form validation icons -$form-icon-success-color: $brand-success !default; -$form-icon-success: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='#{$form-icon-success-color}' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E"), "#", "%23") !default; - -$form-icon-warning-color: $brand-warning !default; -$form-icon-warning: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='#{$form-icon-warning-color}' d='M4.4 5.324h-.8v-2.46h.8zm0 1.42h-.8V5.89h.8zM3.76.63L.04 7.075c-.115.2.016.425.26.426h7.397c.242 0 .372-.226.258-.426C6.726 4.924 5.47 2.79 4.253.63c-.113-.174-.39-.174-.494 0z'/%3E%3C/svg%3E"), "#", "%23") !default; - -$form-icon-danger-color: $brand-danger !default; -$form-icon-danger: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$form-icon-danger-color}' viewBox='-2 -2 7 7'%3E%3Cpath stroke='#{$form-icon-danger-color}' d='M0 0l3 3m0-3L0 3'/%3E%3Ccircle r='.5'/%3E%3Ccircle cx='3' r='.5'/%3E%3Ccircle cy='3' r='.5'/%3E%3Ccircle cx='3' cy='3' r='.5'/%3E%3C/svg%3E"), "#", "%23") !default; - - -// Dropdowns -// -// Dropdown menu container and contents. - -$dropdown-min-width: 10rem !default; -$dropdown-padding-y: .5rem !default; -$dropdown-margin-top: .125rem !default; -$dropdown-bg: $white !default; -$dropdown-border-color: rgba($black,.15) !default; -$dropdown-border-width: $border-width !default; -$dropdown-divider-bg: $gray-lighter !default; -$dropdown-box-shadow: 0 .5rem 1rem rgba($black,.175) !default; - -$dropdown-link-color: $gray-dark !default; -$dropdown-link-hover-color: darken($gray-dark, 5%) !default; -$dropdown-link-hover-bg: $gray-lightest !default; - -$dropdown-link-active-color: $component-active-color !default; -$dropdown-link-active-bg: $component-active-bg !default; - -$dropdown-link-disabled-color: $gray-light !default; - -$dropdown-item-padding-x: 1.5rem !default; - -$dropdown-header-color: $gray-light !default; - - -// Z-index master list -// -// Warning: Avoid customizing these values. They're used for a bird's eye view -// of components dependent on the z-axis and are designed to all work together. - -$zindex-dropdown-backdrop: 990 !default; -$zindex-dropdown: 1000 !default; -$zindex-sticky: 1020 !default; -$zindex-fixed: 1030 !default; -$zindex-modal-backdrop: 1040 !default; -$zindex-modal: 1050 !default; -$zindex-popover: 1060 !default; -$zindex-tooltip: 1070 !default; - -// Navbar - -$navbar-padding-x: $spacer !default; -$navbar-padding-y: ($spacer / 2) !default; - -$navbar-toggler-padding-x: .75rem !default; -$navbar-toggler-padding-y: .25rem !default; -$navbar-toggler-font-size: $font-size-lg !default; -$navbar-toggler-border-radius: $btn-border-radius !default; - -$navbar-inverse-color: rgba($white,.5) !default; -$navbar-inverse-hover-color: rgba($white,.75) !default; -$navbar-inverse-active-color: rgba($white,1) !default; -$navbar-inverse-disabled-color: rgba($white,.25) !default; -$navbar-inverse-toggler-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-inverse-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"), "#", "%23") !default; -$navbar-inverse-toggler-border: rgba($white,.1) !default; - -$navbar-light-color: rgba($black,.5) !default; -$navbar-light-hover-color: rgba($black,.7) !default; -$navbar-light-active-color: rgba($black,.9) !default; -$navbar-light-disabled-color: rgba($black,.3) !default; -$navbar-light-toggler-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-light-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"), "#", "%23") !default; -$navbar-light-toggler-border: rgba($black,.1) !default; - -// Navs - -$nav-link-padding: .5em 1em !default; -$nav-disabled-link-color: $gray-light !default; - -$nav-tabs-border-color: #ddd !default; -$nav-tabs-border-width: $border-width !default; -$nav-tabs-border-radius: $border-radius !default; -$nav-tabs-link-hover-border-color: $gray-lighter !default; -$nav-tabs-active-link-color: $gray !default; -$nav-tabs-active-link-bg: $body-bg !default; -$nav-tabs-active-link-border-color: #ddd !default; - -$nav-pills-border-radius: $border-radius !default; -$nav-pills-active-link-color: $component-active-color !default; -$nav-pills-active-link-bg: $component-active-bg !default; - - -// Pagination - -$pagination-padding-x: .75rem !default; -$pagination-padding-y: .5rem !default; -$pagination-padding-x-sm: .5rem !default; -$pagination-padding-y-sm: .25rem !default; -$pagination-padding-x-lg: 1.5rem !default; -$pagination-padding-y-lg: .75rem !default; -$pagination-line-height: 1.25 !default; - -$pagination-color: $link-color !default; -$pagination-bg: $white !default; -$pagination-border-width: $border-width !default; -$pagination-border-color: #ddd !default; - -$pagination-hover-color: $link-hover-color !default; -$pagination-hover-bg: $gray-lighter !default; -$pagination-hover-border: #ddd !default; - -$pagination-active-color: $white !default; -$pagination-active-bg: $brand-primary !default; -$pagination-active-border: $brand-primary !default; - -$pagination-disabled-color: $gray-light !default; -$pagination-disabled-bg: $white !default; -$pagination-disabled-border: #ddd !default; - - -// Jumbotron - -$jumbotron-padding: 2rem !default; -$jumbotron-bg: $gray-lighter !default; - - -// Form states and alerts -// -// Define colors for form feedback states and, by default, alerts. - -$state-success-text: #3c763d !default; -$state-success-bg: #dff0d8 !default; -$state-success-border: darken($state-success-bg, 5%) !default; - -$state-info-text: #31708f !default; -$state-info-bg: #d9edf7 !default; -$state-info-border: darken($state-info-bg, 7%) !default; - -$state-warning-text: #8a6d3b !default; -$state-warning-bg: #fcf8e3 !default; -$mark-bg: $state-warning-bg !default; -$state-warning-border: darken($state-warning-bg, 5%) !default; - -$state-danger-text: #a94442 !default; -$state-danger-bg: #f2dede !default; -$state-danger-border: darken($state-danger-bg, 5%) !default; - - -// Cards - -$card-spacer-x: 1.25rem !default; -$card-spacer-y: .75rem !default; -$card-border-width: 1px !default; -$card-border-radius: $border-radius !default; -$card-border-color: rgba($black,.125) !default; -$card-border-radius-inner: calc(#{$card-border-radius} - #{$card-border-width}) !default; -$card-cap-bg: $gray-lightest !default; -$card-bg: $white !default; - -$card-link-hover-color: $white !default; - -$card-img-overlay-padding: 1.25rem !default; - -$card-deck-margin: ($grid-gutter-width-base / 2) !default; - -$card-columns-count: 3 !default; -$card-columns-gap: 1.25rem !default; -$card-columns-margin: $card-spacer-y !default; - - -// Tooltips - -$tooltip-max-width: 200px !default; -$tooltip-color: $white !default; -$tooltip-bg: $black !default; -$tooltip-opacity: .9 !default; -$tooltip-padding-y: 3px !default; -$tooltip-padding-x: 8px !default; -$tooltip-margin: 3px !default; - -$tooltip-arrow-width: 5px !default; -$tooltip-arrow-color: $tooltip-bg !default; - - -// Popovers - -$popover-inner-padding: 1px !default; -$popover-bg: $white !default; -$popover-max-width: 276px !default; -$popover-border-width: $border-width !default; -$popover-border-color: rgba($black,.2) !default; -$popover-box-shadow: 0 5px 10px rgba($black,.2) !default; - -$popover-title-bg: darken($popover-bg, 3%) !default; -$popover-title-padding-x: 14px !default; -$popover-title-padding-y: 8px !default; - -$popover-content-padding-x: 14px !default; -$popover-content-padding-y: 9px !default; - -$popover-arrow-width: 10px !default; -$popover-arrow-color: $popover-bg !default; - -$popover-arrow-outer-width: ($popover-arrow-width + 1px) !default; -$popover-arrow-outer-color: fade-in($popover-border-color, .05) !default; - - -// Badges - -$badge-default-bg: $gray-light !default; -$badge-primary-bg: $brand-primary !default; -$badge-success-bg: $brand-success !default; -$badge-info-bg: $brand-info !default; -$badge-warning-bg: $brand-warning !default; -$badge-danger-bg: $brand-danger !default; - -$badge-color: $white !default; -$badge-link-hover-color: $white !default; -$badge-font-size: 75% !default; -$badge-font-weight: $font-weight-bold !default; -$badge-padding-x: .4em !default; -$badge-padding-y: .25em !default; - -$badge-pill-padding-x: .6em !default; -// Use a higher than normal value to ensure completely rounded edges when -// customizing padding or font-size on labels. -$badge-pill-border-radius: 10rem !default; - - -// Modals - -// Padding applied to the modal body -$modal-inner-padding: 15px !default; - -$modal-dialog-margin: 10px !default; -$modal-dialog-sm-up-margin-y: 30px !default; - -$modal-title-line-height: $line-height-base !default; - -$modal-content-bg: $white !default; -$modal-content-border-color: rgba($black,.2) !default; -$modal-content-border-width: $border-width !default; -$modal-content-xs-box-shadow: 0 3px 9px rgba($black,.5) !default; -$modal-content-sm-up-box-shadow: 0 5px 15px rgba($black,.5) !default; - -$modal-backdrop-bg: $black !default; -$modal-backdrop-opacity: .5 !default; -$modal-header-border-color: $gray-lighter !default; -$modal-footer-border-color: $modal-header-border-color !default; -$modal-header-border-width: $modal-content-border-width !default; -$modal-footer-border-width: $modal-header-border-width !default; -$modal-header-padding: 15px !default; - -$modal-lg: 800px !default; -$modal-md: 500px !default; -$modal-sm: 300px !default; - -$modal-transition: transform .3s ease-out !default; - - -// Alerts -// -// Define alert colors, border radius, and padding. - -$alert-padding-x: 1.25rem !default; -$alert-padding-y: .75rem !default; -$alert-margin-bottom: 1rem !default; -$alert-border-radius: $border-radius !default; -$alert-link-font-weight: $font-weight-bold !default; -$alert-border-width: $border-width !default; - -$alert-success-bg: $state-success-bg !default; -$alert-success-text: $state-success-text !default; -$alert-success-border: $state-success-border !default; - -$alert-info-bg: $state-info-bg !default; -$alert-info-text: $state-info-text !default; -$alert-info-border: $state-info-border !default; - -$alert-warning-bg: $state-warning-bg !default; -$alert-warning-text: $state-warning-text !default; -$alert-warning-border: $state-warning-border !default; - -$alert-danger-bg: $state-danger-bg !default; -$alert-danger-text: $state-danger-text !default; -$alert-danger-border: $state-danger-border !default; - - -// Progress bars - -$progress-height: 1rem !default; -$progress-font-size: .75rem !default; -$progress-bg: $gray-lighter !default; -$progress-border-radius: $border-radius !default; -$progress-box-shadow: inset 0 .1rem .1rem rgba($black,.1) !default; -$progress-bar-color: $white !default; -$progress-bar-bg: $brand-primary !default; -$progress-bar-animation-timing: 1s linear infinite !default; - -// List group - -$list-group-color: $body-color !default; -$list-group-bg: $white !default; -$list-group-border-color: rgba($black,.125) !default; -$list-group-border-width: $border-width !default; -$list-group-border-radius: $border-radius !default; - -$list-group-item-padding-x: 1.25rem !default; -$list-group-item-padding-y: .75rem !default; - -$list-group-hover-bg: $gray-lightest !default; -$list-group-active-color: $component-active-color !default; -$list-group-active-bg: $component-active-bg !default; -$list-group-active-border: $list-group-active-bg !default; - -$list-group-disabled-color: $gray-light !default; -$list-group-disabled-bg: $list-group-bg !default; - -$list-group-link-color: $gray !default; -$list-group-link-hover-color: $list-group-link-color !default; - -$list-group-link-active-color: $list-group-color !default; -$list-group-link-active-bg: $gray-lighter !default; - - -// Image thumbnails - -$thumbnail-padding: .25rem !default; -$thumbnail-bg: $body-bg !default; -$thumbnail-border-width: $border-width !default; -$thumbnail-border-color: #ddd !default; -$thumbnail-border-radius: $border-radius !default; -$thumbnail-box-shadow: 0 1px 2px rgba($black,.075) !default; -$thumbnail-transition: all .2s ease-in-out !default; - - -// Figures - -$figure-caption-font-size: 90% !default; -$figure-caption-color: $gray-light !default; - - -// Breadcrumbs - -$breadcrumb-padding-y: .75rem !default; -$breadcrumb-padding-x: 1rem !default; -$breadcrumb-item-padding: .5rem !default; - -$breadcrumb-bg: $gray-lighter !default; -$breadcrumb-divider-color: $gray-light !default; -$breadcrumb-active-color: $gray-light !default; -$breadcrumb-divider: "/" !default; - - -// Carousel - -$carousel-control-color: $white !default; -$carousel-control-width: 15% !default; -$carousel-control-opacity: .5 !default; - -$carousel-indicator-width: 30px !default; -$carousel-indicator-height: 3px !default; -$carousel-indicator-spacer: 3px !default; -$carousel-indicator-active-bg: $white !default; - -$carousel-caption-width: 70% !default; -$carousel-caption-color: $white !default; - -$carousel-control-icon-width: 20px !default; - -$carousel-control-prev-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3E%3Cpath d='M4 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E"), "#", "%23") !default; -$carousel-control-next-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3E%3Cpath d='M1.5 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E"), "#", "%23") !default; - -$carousel-transition: transform .6s ease-in-out !default; - - -// Close - -$close-font-size: $font-size-base * 1.5 !default; -$close-font-weight: $font-weight-bold !default; -$close-color: $black !default; -$close-text-shadow: 0 1px 0 $white !default; - -// Code - -$code-font-size: 90% !default; -$code-padding-x: .4rem !default; -$code-padding-y: .2rem !default; -$code-color: #bd4147 !default; -$code-bg: $gray-lightest !default; - -$kbd-color: $white !default; -$kbd-bg: $gray-dark !default; - -$pre-color: $gray-dark !default; -$pre-scrollable-max-height: 340px !default; diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/bootstrap-grid.scss b/minionlivesmatter/templates/assets/bootstrap/scss/bootstrap-grid.scss deleted file mode 100644 index 2ba6858..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/bootstrap-grid.scss +++ /dev/null @@ -1,37 +0,0 @@ -// Bootstrap Grid only -// -// Includes relevant variables and mixins for the flexbox grid -// system, as well as the generated predefined classes (e.g., `.col-sm-4`). - -// -// Box sizing, responsive, and more -// - -@at-root { - @-ms-viewport { width: device-width; } -} - -html { - box-sizing: border-box; - -ms-overflow-style: scrollbar; -} - -*, -*::before, -*::after { - box-sizing: inherit; -} - -@import "custom"; -@import "variables"; - -// -// Grid mixins -// - -@import "mixins/breakpoints"; -@import "mixins/grid-framework"; -@import "mixins/grid"; - -@import "grid"; -@import "utilities/flex"; diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/bootstrap-reboot.scss b/minionlivesmatter/templates/assets/bootstrap/scss/bootstrap-reboot.scss deleted file mode 100644 index 5867f08..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/bootstrap-reboot.scss +++ /dev/null @@ -1,9 +0,0 @@ -// Bootstrap Reboot only -// -// Includes only Normalize and our custom Reboot reset. - -@import "custom"; -@import "variables"; -@import "mixins"; - -@import "reboot"; diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/bootstrap.scss b/minionlivesmatter/templates/assets/bootstrap/scss/bootstrap.scss deleted file mode 100644 index f7577f5..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/bootstrap.scss +++ /dev/null @@ -1,52 +0,0 @@ -/*! - * Bootstrap v4.0.0-alpha.6 (https://getbootstrap.com) - * Copyright 2011-2017 The Bootstrap Authors - * Copyright 2011-2017 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - */ - -// Core variables and mixins -@import "custom"; -@import "variables"; -@import "mixins"; - -@import "print"; - -// Core CSS -@import "reboot"; -@import "type"; -@import "images"; -@import "code"; -@import "grid"; -@import "tables"; -@import "forms"; -@import "buttons"; - -// Components -@import "transitions"; -@import "dropdown"; -@import "button-group"; -@import "input-group"; -@import "custom-forms"; -@import "nav"; -@import "navbar"; -@import "card"; -@import "breadcrumb"; -@import "pagination"; -@import "badge"; -@import "jumbotron"; -@import "alert"; -@import "progress"; -@import "media"; -@import "list-group"; -@import "responsive-embed"; -@import "close"; - -// Components w/ JavaScript -@import "modal"; -@import "tooltip"; -@import "popover"; -@import "carousel"; - -// Utility classes -@import "utilities"; diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_alert.scss b/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_alert.scss deleted file mode 100644 index 1e9307e..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_alert.scss +++ /dev/null @@ -1,14 +0,0 @@ -// Alerts - -@mixin alert-variant($background, $border, $body-color) { - color: $body-color; - background-color: $background; - border-color: $border; - - hr { - border-top-color: darken($border, 5%); - } - .alert-link { - color: darken($body-color, 10%); - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_background-variant.scss b/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_background-variant.scss deleted file mode 100644 index 54a734d..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_background-variant.scss +++ /dev/null @@ -1,12 +0,0 @@ -// Contextual backgrounds - -@mixin bg-variant($parent, $color) { - #{$parent} { - background-color: $color !important; - } - a#{$parent} { - @include hover-focus { - background-color: darken($color, 10%) !important; - } - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_badge.scss b/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_badge.scss deleted file mode 100644 index 9fa44b6..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_badge.scss +++ /dev/null @@ -1,11 +0,0 @@ -// Badges - -@mixin badge-variant($color) { - background-color: $color; - - &[href] { - @include hover-focus { - background-color: darken($color, 10%); - } - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_border-radius.scss b/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_border-radius.scss deleted file mode 100644 index 2024feb..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_border-radius.scss +++ /dev/null @@ -1,35 +0,0 @@ -// Single side border-radius - -@mixin border-radius($radius: $border-radius) { - @if $enable-rounded { - border-radius: $radius; - } -} - -@mixin border-top-radius($radius) { - @if $enable-rounded { - border-top-left-radius: $radius; - border-top-right-radius: $radius; - } -} - -@mixin border-right-radius($radius) { - @if $enable-rounded { - border-top-right-radius: $radius; - border-bottom-right-radius: $radius; - } -} - -@mixin border-bottom-radius($radius) { - @if $enable-rounded { - border-bottom-right-radius: $radius; - border-bottom-left-radius: $radius; - } -} - -@mixin border-left-radius($radius) { - @if $enable-rounded { - border-top-left-radius: $radius; - border-bottom-left-radius: $radius; - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_box-shadow.scss b/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_box-shadow.scss deleted file mode 100644 index b2410e5..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_box-shadow.scss +++ /dev/null @@ -1,5 +0,0 @@ -@mixin box-shadow($shadow...) { - @if $enable-shadows { - box-shadow: $shadow; - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_breakpoints.scss b/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_breakpoints.scss deleted file mode 100644 index 904b60f..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_breakpoints.scss +++ /dev/null @@ -1,95 +0,0 @@ -// Breakpoint viewport sizes and media queries. -// -// Breakpoints are defined as a map of (name: minimum width), order from small to large: -// -// (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px) -// -// The map defined in the `$grid-breakpoints` global variable is used as the `$breakpoints` argument by default. - -// Name of the next breakpoint, or null for the last breakpoint. -// -// >> breakpoint-next(sm) -// md -// >> breakpoint-next(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px)) -// md -// >> breakpoint-next(sm, $breakpoint-names: (xs sm md lg xl)) -// md -@function breakpoint-next($name, $breakpoints: $grid-breakpoints, $breakpoint-names: map-keys($breakpoints)) { - $n: index($breakpoint-names, $name); - @return if($n < length($breakpoint-names), nth($breakpoint-names, $n + 1), null); -} - -// Minimum breakpoint width. Null for the smallest (first) breakpoint. -// -// >> breakpoint-min(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px)) -// 576px -@function breakpoint-min($name, $breakpoints: $grid-breakpoints) { - $min: map-get($breakpoints, $name); - @return if($min != 0, $min, null); -} - -// Maximum breakpoint width. Null for the largest (last) breakpoint. -// The maximum value is calculated as the minimum of the next one less 0.1. -// -// >> breakpoint-max(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px)) -// 767px -@function breakpoint-max($name, $breakpoints: $grid-breakpoints) { - $next: breakpoint-next($name, $breakpoints); - @return if($next, breakpoint-min($next, $breakpoints) - 1px, null); -} - -// Returns a blank string if smallest breakpoint, otherwise returns the name with a dash infront. -// Useful for making responsive utilities. -// -// >> breakpoint-infix(xs, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px)) -// "" (Returns a blank string) -// >> breakpoint-infix(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px)) -// "-sm" -@function breakpoint-infix($name, $breakpoints: $grid-breakpoints) { - @return if(breakpoint-min($name, $breakpoints) == null, "", "-#{$name}"); -} - -// Media of at least the minimum breakpoint width. No query for the smallest breakpoint. -// Makes the @content apply to the given breakpoint and wider. -@mixin media-breakpoint-up($name, $breakpoints: $grid-breakpoints) { - $min: breakpoint-min($name, $breakpoints); - @if $min { - @media (min-width: $min) { - @content; - } - } @else { - @content; - } -} - -// Media of at most the maximum breakpoint width. No query for the largest breakpoint. -// Makes the @content apply to the given breakpoint and narrower. -@mixin media-breakpoint-down($name, $breakpoints: $grid-breakpoints) { - $max: breakpoint-max($name, $breakpoints); - @if $max { - @media (max-width: $max) { - @content; - } - } @else { - @content; - } -} - -// Media that spans multiple breakpoint widths. -// Makes the @content apply between the min and max breakpoints -@mixin media-breakpoint-between($lower, $upper, $breakpoints: $grid-breakpoints) { - @include media-breakpoint-up($lower, $breakpoints) { - @include media-breakpoint-down($upper, $breakpoints) { - @content; - } - } -} - -// Media between the breakpoint's minimum and maximum widths. -// No minimum for the smallest breakpoint, and no maximum for the largest one. -// Makes the @content apply only to the given breakpoint, not viewports any wider or narrower. -@mixin media-breakpoint-only($name, $breakpoints: $grid-breakpoints) { - @include media-breakpoint-between($name, $name, $breakpoints) { - @content; - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_buttons.scss b/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_buttons.scss deleted file mode 100644 index 91eb444..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_buttons.scss +++ /dev/null @@ -1,86 +0,0 @@ -// Button variants -// -// Easily pump out default styles, as well as :hover, :focus, :active, -// and disabled options for all buttons - -@mixin button-variant($color, $background, $border) { - $active-background: darken($background, 10%); - $active-border: darken($border, 12%); - - color: $color; - background-color: $background; - border-color: $border; - @include box-shadow($btn-box-shadow); - - // Hover and focus styles are shared - @include hover { - color: $color; - background-color: $active-background; - border-color: $active-border; - } - &:focus, - &.focus { - // Avoid using mixin so we can pass custom focus shadow properly - @if $enable-shadows { - box-shadow: $btn-box-shadow, 0 0 0 2px rgba($border, .5); - } @else { - box-shadow: 0 0 0 2px rgba($border, .5); - } - } - - // Disabled comes first so active can properly restyle - &.disabled, - &:disabled { - background-color: $background; - border-color: $border; - } - - &:active, - &.active, - .show > &.dropdown-toggle { - color: $color; - background-color: $active-background; - background-image: none; // Remove the gradient for the pressed/active state - border-color: $active-border; - @include box-shadow($btn-active-box-shadow); - } -} - -@mixin button-outline-variant($color, $color-hover: #fff) { - color: $color; - background-color: transparent; - background-image: none; - border-color: $color; - - @include hover { - color: $color-hover; - background-color: $color; - border-color: $color; - } - - &:focus, - &.focus { - box-shadow: 0 0 0 2px rgba($color, .5); - } - - &.disabled, - &:disabled { - color: $color; - background-color: transparent; - } - - &:active, - &.active, - .show > &.dropdown-toggle { - color: $color-hover; - background-color: $color; - border-color: $color; - } -} - -// Button sizes -@mixin button-size($padding-y, $padding-x, $font-size, $border-radius) { - padding: $padding-y $padding-x; - font-size: $font-size; - @include border-radius($border-radius); -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_cards.scss b/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_cards.scss deleted file mode 100644 index 4b1232d..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_cards.scss +++ /dev/null @@ -1,47 +0,0 @@ -// Card variants - -@mixin card-variant($background, $border) { - background-color: $background; - border-color: $border; - - .card-header, - .card-footer { - background-color: transparent; - } -} - -@mixin card-outline-variant($color) { - background-color: transparent; - border-color: $color; -} - -// -// Inverse text within a card for use with dark backgrounds -// - -@mixin card-inverse { - color: rgba(255,255,255,.65); - - .card-header, - .card-footer { - background-color: transparent; - border-color: rgba(255,255,255,.2); - } - .card-header, - .card-footer, - .card-title, - .card-blockquote { - color: #fff; - } - .card-link, - .card-text, - .card-subtitle, - .card-blockquote .blockquote-footer { - color: rgba(255,255,255,.65); - } - .card-link { - @include hover-focus { - color: $card-link-hover-color; - } - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_clearfix.scss b/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_clearfix.scss deleted file mode 100644 index 11a977b..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_clearfix.scss +++ /dev/null @@ -1,7 +0,0 @@ -@mixin clearfix() { - &::after { - display: block; - clear: both; - content: ""; - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_float.scss b/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_float.scss deleted file mode 100644 index b43116f..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_float.scss +++ /dev/null @@ -1,9 +0,0 @@ -@mixin float-left { - float: left !important; -} -@mixin float-right { - float: right !important; -} -@mixin float-none { - float: none !important; -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_forms.scss b/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_forms.scss deleted file mode 100644 index 33b186a..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_forms.scss +++ /dev/null @@ -1,55 +0,0 @@ -// Form validation states -// -// Used in _forms.scss to generate the form validation CSS for warnings, errors, -// and successes. - -@mixin form-control-validation($color) { - // Color the label and help text - .form-control-feedback, - .form-control-label, - .col-form-label, - .form-check-label, - .custom-control { - color: $color; - } - - // Set the border and box shadow on specific inputs to match - .form-control, - .custom-select, - .custom-file-control { - border-color: $color; - - &:focus { - @include box-shadow($input-box-shadow, 0 0 6px lighten($color, 20%)); - } - } - - // Set validation states also for addons - .input-group-addon { - color: $color; - background-color: lighten($color, 40%); - border-color: $color; - } -} - -// Form control focus state -// -// Generate a customized focus state and for any input with the specified color, -// which defaults to the `@input-border-focus` variable. -// -// We highly encourage you to not customize the default value, but instead use -// this to tweak colors on an as-needed basis. This aesthetic change is based on -// WebKit's default styles, but applicable to a wider range of browsers. Its -// usability and accessibility should be taken into account with any change. -// -// Example usage: change the default blue border and shadow to white for better -// contrast against a dark gray background. -@mixin form-control-focus() { - &:focus { - color: $input-color-focus; - background-color: $input-bg-focus; - border-color: $input-border-focus; - outline: none; - @include box-shadow($input-box-shadow-focus); - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_gradients.scss b/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_gradients.scss deleted file mode 100644 index bad79f9..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_gradients.scss +++ /dev/null @@ -1,37 +0,0 @@ -// Gradients - -// Horizontal gradient, from left to right -// -// Creates two color stops, start and end, by specifying a color and position for each color stop. -@mixin gradient-x($start-color: #555, $end-color: #333, $start-percent: 0%, $end-percent: 100%) { - background-image: linear-gradient(to right, $start-color $start-percent, $end-color $end-percent); - background-repeat: repeat-x; -} - -// Vertical gradient, from top to bottom -// -// Creates two color stops, start and end, by specifying a color and position for each color stop. -@mixin gradient-y($start-color: #555, $end-color: #333, $start-percent: 0%, $end-percent: 100%) { - background-image: linear-gradient(to bottom, $start-color $start-percent, $end-color $end-percent); - background-repeat: repeat-x; -} - -@mixin gradient-directional($start-color: #555, $end-color: #333, $deg: 45deg) { - background-image: linear-gradient($deg, $start-color, $end-color); - background-repeat: repeat-x; -} -@mixin gradient-x-three-colors($start-color: #00b3ee, $mid-color: #7a43b6, $color-stop: 50%, $end-color: #c3325f) { - background-image: linear-gradient(to right, $start-color, $mid-color $color-stop, $end-color); - background-repeat: no-repeat; -} -@mixin gradient-y-three-colors($start-color: #00b3ee, $mid-color: #7a43b6, $color-stop: 50%, $end-color: #c3325f) { - background-image: linear-gradient($start-color, $mid-color $color-stop, $end-color); - background-repeat: no-repeat; -} -@mixin gradient-radial($inner-color: #555, $outer-color: #333) { - background-image: radial-gradient(circle, $inner-color, $outer-color); - background-repeat: no-repeat; -} -@mixin gradient-striped($color: rgba(255,255,255,.15), $angle: 45deg) { - background-image: linear-gradient($angle, $color 25%, transparent 25%, transparent 50%, $color 50%, $color 75%, transparent 75%, transparent); -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_grid-framework.scss b/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_grid-framework.scss deleted file mode 100644 index 0aa814a..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_grid-framework.scss +++ /dev/null @@ -1,65 +0,0 @@ -// Framework grid generation -// -// Used only by Bootstrap to generate the correct number of grid classes given -// any value of `$grid-columns`. - -@mixin make-grid-columns($columns: $grid-columns, $gutters: $grid-gutter-widths, $breakpoints: $grid-breakpoints) { - // Common properties for all breakpoints - %grid-column { - position: relative; - width: 100%; - min-height: 1px; // Prevent columns from collapsing when empty - - @include make-gutters($gutters); - } - - @each $breakpoint in map-keys($breakpoints) { - $infix: breakpoint-infix($breakpoint, $breakpoints); - - // Allow columns to stretch full width below their breakpoints - @for $i from 1 through $columns { - .col#{$infix}-#{$i} { - @extend %grid-column; - } - } - .col#{$infix} { - @extend %grid-column; - } - - @include media-breakpoint-up($breakpoint, $breakpoints) { - // Provide basic `.col-{bp}` classes for equal-width flexbox columns - .col#{$infix} { - flex-basis: 0; - flex-grow: 1; - max-width: 100%; - } - .col#{$infix}-auto { - flex: 0 0 auto; - width: auto; - } - - @for $i from 1 through $columns { - .col#{$infix}-#{$i} { - @include make-col($i, $columns); - } - } - - @each $modifier in (pull, push) { - @for $i from 0 through $columns { - .#{$modifier}#{$infix}-#{$i} { - @include make-col-modifier($modifier, $i, $columns) - } - } - } - - // `$columns - 1` because offsetting by the width of an entire row isn't possible - @for $i from 0 through ($columns - 1) { - @if not ($infix == "" and $i == 0) { // Avoid emitting useless .offset-xs-0 - .offset#{$infix}-#{$i} { - @include make-col-modifier(offset, $i, $columns) - } - } - } - } - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_grid.scss b/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_grid.scss deleted file mode 100644 index eb6c012..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_grid.scss +++ /dev/null @@ -1,100 +0,0 @@ -/// Grid system -// -// Generate semantic grid columns with these mixins. - -@mixin make-container($gutters: $grid-gutter-widths) { - position: relative; - margin-right: auto; - margin-left: auto; - - @each $breakpoint in map-keys($gutters) { - @include media-breakpoint-up($breakpoint) { - $gutter: map-get($gutters, $breakpoint); - padding-right: ($gutter / 2); - padding-left: ($gutter / 2); - } - } -} - - -// For each breakpoint, define the maximum width of the container in a media query -@mixin make-container-max-widths($max-widths: $container-max-widths, $breakpoints: $grid-breakpoints) { - @each $breakpoint, $container-max-width in $max-widths { - @include media-breakpoint-up($breakpoint, $breakpoints) { - width: $container-max-width; - max-width: 100%; - } - } -} - -@mixin make-gutters($gutters: $grid-gutter-widths) { - @each $breakpoint in map-keys($gutters) { - @include media-breakpoint-up($breakpoint) { - $gutter: map-get($gutters, $breakpoint); - padding-right: ($gutter / 2); - padding-left: ($gutter / 2); - } - } -} - -@mixin make-row($gutters: $grid-gutter-widths) { - display: flex; - flex-wrap: wrap; - - @each $breakpoint in map-keys($gutters) { - @include media-breakpoint-up($breakpoint) { - $gutter: map-get($gutters, $breakpoint); - margin-right: ($gutter / -2); - margin-left: ($gutter / -2); - } - } -} - -@mixin make-col-ready($gutters: $grid-gutter-widths) { - position: relative; - // Prevent columns from becoming too narrow when at smaller grid tiers by - // always setting `width: 100%;`. This works because we use `flex` values - // later on to override this initial width. - width: 100%; - min-height: 1px; // Prevent collapsing - - @each $breakpoint in map-keys($gutters) { - @include media-breakpoint-up($breakpoint) { - $gutter: map-get($gutters, $breakpoint); - padding-right: ($gutter / 2); - padding-left: ($gutter / 2); - } - } -} - -@mixin make-col($size, $columns: $grid-columns) { - flex: 0 0 percentage($size / $columns); - // width: percentage($size / $columns); - // Add a `max-width` to ensure content within each column does not blow out - // the width of the column. Applies to IE10+ and Firefox. Chrome and Safari - // do not appear to require this. - max-width: percentage($size / $columns); -} - -@mixin make-col-offset($size, $columns: $grid-columns) { - margin-left: percentage($size / $columns); -} - -@mixin make-col-push($size, $columns: $grid-columns) { - left: if($size > 0, percentage($size / $columns), auto); -} - -@mixin make-col-pull($size, $columns: $grid-columns) { - right: if($size > 0, percentage($size / $columns), auto); -} - -@mixin make-col-modifier($type, $size, $columns) { - // Work around the lack of dynamic mixin @include support (https://github.com/sass/sass/issues/626) - @if $type == push { - @include make-col-push($size, $columns); - } @else if $type == pull { - @include make-col-pull($size, $columns); - } @else if $type == offset { - @include make-col-offset($size, $columns); - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_hover.scss b/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_hover.scss deleted file mode 100644 index 4aa4b1d..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_hover.scss +++ /dev/null @@ -1,60 +0,0 @@ -@mixin hover { - // TODO: re-enable along with mq4-hover-shim -// @if $enable-hover-media-query { -// // See Media Queries Level 4: https://drafts.csswg.org/mediaqueries/#hover -// // Currently shimmed by https://github.com/twbs/mq4-hover-shim -// @media (hover: hover) { -// &:hover { @content } -// } -// } -// @else { -// scss-lint:disable Indentation - &:hover { @content } -// scss-lint:enable Indentation -// } -} - - -@mixin hover-focus { - @if $enable-hover-media-query { - &:focus { @content } - @include hover { @content } - } @else { - &:focus, - &:hover { - @content - } - } -} - -@mixin plain-hover-focus { - @if $enable-hover-media-query { - &, - &:focus { - @content - } - @include hover { @content } - } @else { - &, - &:focus, - &:hover { - @content - } - } -} - -@mixin hover-focus-active { - @if $enable-hover-media-query { - &:focus, - &:active { - @content - } - @include hover { @content } - } @else { - &:focus, - &:active, - &:hover { - @content - } - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_image.scss b/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_image.scss deleted file mode 100644 index c2b45f2..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_image.scss +++ /dev/null @@ -1,36 +0,0 @@ -// Image Mixins -// - Responsive image -// - Retina image - - -// Responsive image -// -// Keep images from scaling beyond the width of their parents. - -@mixin img-fluid { - // Part 1: Set a maximum relative to the parent - max-width: 100%; - // Part 2: Override the height to auto, otherwise images will be stretched - // when setting a width and height attribute on the img element. - height: auto; -} - - -// Retina image -// -// Short retina mixin for setting background-image and -size. - -@mixin img-retina($file-1x, $file-2x, $width-1x, $height-1x) { - background-image: url($file-1x); - - // Autoprefixer takes care of adding -webkit-min-device-pixel-ratio and -o-min-device-pixel-ratio, - // but doesn't convert dppx=>dpi. - // There's no such thing as unprefixed min-device-pixel-ratio since it's nonstandard. - // Compatibility info: http://caniuse.com/#feat=css-media-resolution - @media - only screen and (min-resolution: 192dpi), // IE9-11 don't support dppx - only screen and (min-resolution: 2dppx) { // Standardized - background-image: url($file-2x); - background-size: $width-1x $height-1x; - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_list-group.scss b/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_list-group.scss deleted file mode 100644 index ba27b50..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_list-group.scss +++ /dev/null @@ -1,26 +0,0 @@ -// List Groups - -@mixin list-group-item-variant($state, $background, $color) { - .list-group-item-#{$state} { - color: $color; - background-color: $background; - } - - //scss-lint:disable QualifyingElement - a.list-group-item-#{$state}, - button.list-group-item-#{$state} { - color: $color; - - @include hover-focus { - color: $color; - background-color: darken($background, 5%); - } - - &.active { - color: #fff; - background-color: $color; - border-color: $color; - } - } - // scss-lint:enable QualifyingElement -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_lists.scss b/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_lists.scss deleted file mode 100644 index 2518562..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_lists.scss +++ /dev/null @@ -1,7 +0,0 @@ -// Lists - -// Unstyled keeps list items block level, just removes default browser padding and list-style -@mixin list-unstyled { - padding-left: 0; - list-style: none; -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_nav-divider.scss b/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_nav-divider.scss deleted file mode 100644 index 557673c..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_nav-divider.scss +++ /dev/null @@ -1,10 +0,0 @@ -// Horizontal dividers -// -// Dividers (basically an hr) within dropdowns and nav lists - -@mixin nav-divider($color: #e5e5e5) { - height: 1px; - margin: ($spacer / 2) 0; - overflow: hidden; - background-color: $color; -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_navbar-align.scss b/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_navbar-align.scss deleted file mode 100644 index c454a4f..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_navbar-align.scss +++ /dev/null @@ -1,9 +0,0 @@ -// Navbar vertical align -// -// Vertically center elements in the navbar. -// Example: an element has a height of 30px, so write out `.navbar-vertical-align(30px);` to calculate the appropriate top margin. - -// @mixin navbar-vertical-align($element-height) { -// margin-top: (($navbar-height - $element-height) / 2); -// margin-bottom: (($navbar-height - $element-height) / 2); -// } diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_pagination.scss b/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_pagination.scss deleted file mode 100644 index 8cd9317..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_pagination.scss +++ /dev/null @@ -1,21 +0,0 @@ -// Pagination - -@mixin pagination-size($padding-y, $padding-x, $font-size, $line-height, $border-radius) { - .page-link { - padding: $padding-y $padding-x; - font-size: $font-size; - } - - .page-item { - &:first-child { - .page-link { - @include border-left-radius($border-radius); - } - } - &:last-child { - .page-link { - @include border-right-radius($border-radius); - } - } - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_reset-text.scss b/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_reset-text.scss deleted file mode 100644 index 4cf9e79..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_reset-text.scss +++ /dev/null @@ -1,18 +0,0 @@ -// scss-lint:disable DuplicateProperty -@mixin reset-text { - font-family: $font-family-base; - // We deliberately do NOT reset font-size or word-wrap. - font-style: normal; - font-weight: $font-weight-normal; - line-height: $line-height-base; - text-align: left; // Fallback for where `start` is not supported - text-align: start; - text-decoration: none; - text-shadow: none; - text-transform: none; - letter-spacing: normal; - word-break: normal; - word-spacing: normal; - white-space: normal; - line-break: auto; -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_resize.scss b/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_resize.scss deleted file mode 100644 index 66f233a..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_resize.scss +++ /dev/null @@ -1,6 +0,0 @@ -// Resize anything - -@mixin resizable($direction) { - overflow: auto; // Per CSS3 UI, `resize` only applies when `overflow` isn't `visible` - resize: $direction; // Options: horizontal, vertical, both -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_screen-reader.scss b/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_screen-reader.scss deleted file mode 100644 index a5fa51c..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_screen-reader.scss +++ /dev/null @@ -1,35 +0,0 @@ -// Only display content to screen readers -// -// See: http://a11yproject.com/posts/how-to-hide-content -// See: http://hugogiraudel.com/2016/10/13/css-hide-and-seek/ - -@mixin sr-only { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - overflow: hidden; - clip: rect(0,0,0,0); - white-space: nowrap; - clip-path: inset(50%); - border: 0; -} - -// Use in conjunction with .sr-only to only display content when it's focused. -// -// Useful for "Skip to main content" links; see https://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1 -// -// Credit: HTML5 Boilerplate - -@mixin sr-only-focusable { - &:active, - &:focus { - position: static; - width: auto; - height: auto; - overflow: visible; - clip: auto; - white-space: normal; - clip-path: none; - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_size.scss b/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_size.scss deleted file mode 100644 index b9dd48e..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_size.scss +++ /dev/null @@ -1,6 +0,0 @@ -// Sizing shortcuts - -@mixin size($width, $height: $width) { - width: $width; - height: $height; -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_table-row.scss b/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_table-row.scss deleted file mode 100644 index 84f1d30..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_table-row.scss +++ /dev/null @@ -1,30 +0,0 @@ -// Tables - -@mixin table-row-variant($state, $background) { - // Exact selectors below required to override `.table-striped` and prevent - // inheritance to nested tables. - .table-#{$state} { - &, - > th, - > td { - background-color: $background; - } - } - - // Hover states for `.table-hover` - // Note: this is not available for cells or rows within `thead` or `tfoot`. - .table-hover { - $hover-background: darken($background, 5%); - - .table-#{$state} { - @include hover { - background-color: $hover-background; - - > td, - > th { - background-color: $hover-background; - } - } - } - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_text-emphasis.scss b/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_text-emphasis.scss deleted file mode 100644 index 9cd4b6a..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_text-emphasis.scss +++ /dev/null @@ -1,12 +0,0 @@ -// Typography - -@mixin text-emphasis-variant($parent, $color) { - #{$parent} { - color: $color !important; - } - a#{$parent} { - @include hover-focus { - color: darken($color, 10%) !important; - } - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_text-hide.scss b/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_text-hide.scss deleted file mode 100644 index 52a38a9..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_text-hide.scss +++ /dev/null @@ -1,8 +0,0 @@ -// CSS image replacement -@mixin text-hide() { - font: 0/0 a; - color: transparent; - text-shadow: none; - background-color: transparent; - border: 0; -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_text-truncate.scss b/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_text-truncate.scss deleted file mode 100644 index 3504bb1..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_text-truncate.scss +++ /dev/null @@ -1,8 +0,0 @@ -// Text truncate -// Requires inline-block or block for proper styling - -@mixin text-truncate() { - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_transforms.scss b/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_transforms.scss deleted file mode 100644 index 4005c9d..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_transforms.scss +++ /dev/null @@ -1,14 +0,0 @@ -// Applies the given styles only when the browser support CSS3 3D transforms. -@mixin if-supports-3d-transforms() { - @media (-webkit-transform-3d) { - // Old Safari, Old Android - // http://caniuse.com/#feat=css-featurequeries - // https://developer.mozilla.org/en-US/docs/Web/CSS/@media/-webkit-transform-3d - @content; - } - - @supports (transform: translate3d(0,0,0)) { - // The Proper Way: Using a CSS feature query - @content; - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_transition.scss b/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_transition.scss deleted file mode 100644 index 7e33dee..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_transition.scss +++ /dev/null @@ -1,9 +0,0 @@ -@mixin transition($transition...) { - @if $enable-transitions { - @if length($transition) == 0 { - transition: $transition-base; - } @else { - transition: $transition; - } - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_visibility.scss b/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_visibility.scss deleted file mode 100644 index f67fc1c..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/mixins/_visibility.scss +++ /dev/null @@ -1,5 +0,0 @@ -// Visibility - -@mixin invisible($visibility) { - visibility: $visibility !important; -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_align.scss b/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_align.scss deleted file mode 100644 index 4dbbbc2..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_align.scss +++ /dev/null @@ -1,6 +0,0 @@ -.align-baseline { vertical-align: baseline !important; } // Browser default -.align-top { vertical-align: top !important; } -.align-middle { vertical-align: middle !important; } -.align-bottom { vertical-align: bottom !important; } -.align-text-bottom { vertical-align: text-bottom !important; } -.align-text-top { vertical-align: text-top !important; } diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_background.scss b/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_background.scss deleted file mode 100644 index b9ac295..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_background.scss +++ /dev/null @@ -1,19 +0,0 @@ -// -// Contextual backgrounds -// - -.bg-faded { - background-color: darken($body-bg, 3%); -} - -@include bg-variant('.bg-primary', $brand-primary); - -@include bg-variant('.bg-success', $brand-success); - -@include bg-variant('.bg-info', $brand-info); - -@include bg-variant('.bg-warning', $brand-warning); - -@include bg-variant('.bg-danger', $brand-danger); - -@include bg-variant('.bg-inverse', $brand-inverse); diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_borders.scss b/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_borders.scss deleted file mode 100644 index b256881..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_borders.scss +++ /dev/null @@ -1,37 +0,0 @@ -// -// Border -// - -.border-0 { border: 0 !important; } -.border-top-0 { border-top: 0 !important; } -.border-right-0 { border-right: 0 !important; } -.border-bottom-0 { border-bottom: 0 !important; } -.border-left-0 { border-left: 0 !important; } - -// -// Border-radius -// - -.rounded { - @include border-radius($border-radius); -} -.rounded-top { - @include border-top-radius($border-radius); -} -.rounded-right { - @include border-right-radius($border-radius); -} -.rounded-bottom { - @include border-bottom-radius($border-radius); -} -.rounded-left { - @include border-left-radius($border-radius); -} - -.rounded-circle { - border-radius: 50%; -} - -.rounded-0 { - border-radius: 0; -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_clearfix.scss b/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_clearfix.scss deleted file mode 100644 index e92522a..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_clearfix.scss +++ /dev/null @@ -1,3 +0,0 @@ -.clearfix { - @include clearfix(); -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_display.scss b/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_display.scss deleted file mode 100644 index 4535362..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_display.scss +++ /dev/null @@ -1,53 +0,0 @@ -// -// Utilities for common `display` values -// - -@each $breakpoint in map-keys($grid-breakpoints) { - @include media-breakpoint-up($breakpoint) { - $infix: breakpoint-infix($breakpoint, $grid-breakpoints); - - .d#{$infix}-none { display: none !important; } - .d#{$infix}-inline { display: inline !important; } - .d#{$infix}-inline-block { display: inline-block !important; } - .d#{$infix}-block { display: block !important; } - .d#{$infix}-table { display: table !important; } - .d#{$infix}-table-cell { display: table-cell !important; } - .d#{$infix}-flex { display: flex !important; } - .d#{$infix}-inline-flex { display: inline-flex !important; } - } -} - - -// -// Utilities for toggling `display` in print -// - -.d-print-block { - display: none !important; - - @media print { - display: block !important; - } -} - -.d-print-inline { - display: none !important; - - @media print { - display: inline !important; - } -} - -.d-print-inline-block { - display: none !important; - - @media print { - display: inline-block !important; - } -} - -.d-print-none { - @media print { - display: none !important; - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_flex.scss b/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_flex.scss deleted file mode 100644 index cc69678..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_flex.scss +++ /dev/null @@ -1,48 +0,0 @@ -// Flex variation -// -// Custom styles for additional flex alignment options. - -@each $breakpoint in map-keys($grid-breakpoints) { - @include media-breakpoint-up($breakpoint) { - $infix: breakpoint-infix($breakpoint, $grid-breakpoints); - - .order#{$infix}-first { order: -1; } - .order#{$infix}-last { order: 1; } - .order#{$infix}-0 { order: 0; } - - .flex#{$infix}-row { flex-direction: row !important; } - .flex#{$infix}-column { flex-direction: column !important; } - .flex#{$infix}-row-reverse { flex-direction: row-reverse !important; } - .flex#{$infix}-column-reverse { flex-direction: column-reverse !important; } - - .flex#{$infix}-wrap { flex-wrap: wrap !important; } - .flex#{$infix}-nowrap { flex-wrap: nowrap !important; } - .flex#{$infix}-wrap-reverse { flex-wrap: wrap-reverse !important; } - - .justify-content#{$infix}-start { justify-content: flex-start !important; } - .justify-content#{$infix}-end { justify-content: flex-end !important; } - .justify-content#{$infix}-center { justify-content: center !important; } - .justify-content#{$infix}-between { justify-content: space-between !important; } - .justify-content#{$infix}-around { justify-content: space-around !important; } - - .align-items#{$infix}-start { align-items: flex-start !important; } - .align-items#{$infix}-end { align-items: flex-end !important; } - .align-items#{$infix}-center { align-items: center !important; } - .align-items#{$infix}-baseline { align-items: baseline !important; } - .align-items#{$infix}-stretch { align-items: stretch !important; } - - .align-content#{$infix}-start { align-content: flex-start !important; } - .align-content#{$infix}-end { align-content: flex-end !important; } - .align-content#{$infix}-center { align-content: center !important; } - .align-content#{$infix}-between { align-content: space-between !important; } - .align-content#{$infix}-around { align-content: space-around !important; } - .align-content#{$infix}-stretch { align-content: stretch !important; } - - .align-self#{$infix}-auto { align-self: auto !important; } - .align-self#{$infix}-start { align-self: flex-start !important; } - .align-self#{$infix}-end { align-self: flex-end !important; } - .align-self#{$infix}-center { align-self: center !important; } - .align-self#{$infix}-baseline { align-self: baseline !important; } - .align-self#{$infix}-stretch { align-self: stretch !important; } - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_float.scss b/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_float.scss deleted file mode 100644 index 01655e9..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_float.scss +++ /dev/null @@ -1,9 +0,0 @@ -@each $breakpoint in map-keys($grid-breakpoints) { - @include media-breakpoint-up($breakpoint) { - $infix: breakpoint-infix($breakpoint, $grid-breakpoints); - - .float#{$infix}-left { @include float-left; } - .float#{$infix}-right { @include float-right; } - .float#{$infix}-none { @include float-none; } - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_position.scss b/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_position.scss deleted file mode 100644 index 2cf08bf..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_position.scss +++ /dev/null @@ -1,23 +0,0 @@ -// Positioning - -.fixed-top { - position: fixed; - top: 0; - right: 0; - left: 0; - z-index: $zindex-fixed; -} - -.fixed-bottom { - position: fixed; - right: 0; - bottom: 0; - left: 0; - z-index: $zindex-fixed; -} - -.sticky-top { - position: sticky; - top: 0; - z-index: $zindex-sticky; -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_screenreaders.scss b/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_screenreaders.scss deleted file mode 100644 index 9f26fde..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_screenreaders.scss +++ /dev/null @@ -1,11 +0,0 @@ -// -// Screenreaders -// - -.sr-only { - @include sr-only(); -} - -.sr-only-focusable { - @include sr-only-focusable(); -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_sizing.scss b/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_sizing.scss deleted file mode 100644 index a7dc3e4..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_sizing.scss +++ /dev/null @@ -1,10 +0,0 @@ -// Width and height - -@each $prop, $abbrev in (width: w, height: h) { - @each $size, $length in $sizes { - .#{$abbrev}-#{$size} { #{$prop}: $length !important; } - } -} - -.mw-100 { max-width: 100% !important; } -.mh-100 { max-height: 100% !important; } diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_spacing.scss b/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_spacing.scss deleted file mode 100644 index c89816b..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_spacing.scss +++ /dev/null @@ -1,41 +0,0 @@ -// Margin and Padding - -@each $breakpoint in map-keys($grid-breakpoints) { - @include media-breakpoint-up($breakpoint) { - $infix: breakpoint-infix($breakpoint, $grid-breakpoints); - - @each $prop, $abbrev in (margin: m, padding: p) { - @each $size, $length in $spacers { - - .#{$abbrev}#{$infix}-#{$size} { #{$prop}: $length !important; } - .#{$abbrev}t#{$infix}-#{$size} { #{$prop}-top: $length !important; } - .#{$abbrev}r#{$infix}-#{$size} { #{$prop}-right: $length !important; } - .#{$abbrev}b#{$infix}-#{$size} { #{$prop}-bottom: $length !important; } - .#{$abbrev}l#{$infix}-#{$size} { #{$prop}-left: $length !important; } - .#{$abbrev}x#{$infix}-#{$size} { - #{$prop}-right: $length !important; - #{$prop}-left: $length !important; - } - .#{$abbrev}y#{$infix}-#{$size} { - #{$prop}-top: $length !important; - #{$prop}-bottom: $length !important; - } - } - } - - // Some special margin utils - .m#{$infix}-auto { margin: auto !important; } - .mt#{$infix}-auto { margin-top: auto !important; } - .mr#{$infix}-auto { margin-right: auto !important; } - .mb#{$infix}-auto { margin-bottom: auto !important; } - .ml#{$infix}-auto { margin-left: auto !important; } - .mx#{$infix}-auto { - margin-right: auto !important; - margin-left: auto !important; - } - .my#{$infix}-auto { - margin-top: auto !important; - margin-bottom: auto !important; - } - } -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_text.scss b/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_text.scss deleted file mode 100644 index 4ac9053..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_text.scss +++ /dev/null @@ -1,61 +0,0 @@ -// -// Text -// - -// Alignment - -.text-justify { text-align: justify !important; } -.text-nowrap { white-space: nowrap !important; } -.text-truncate { @include text-truncate; } - -// Responsive alignment - -@each $breakpoint in map-keys($grid-breakpoints) { - @include media-breakpoint-up($breakpoint) { - $infix: breakpoint-infix($breakpoint, $grid-breakpoints); - - .text#{$infix}-left { text-align: left !important; } - .text#{$infix}-right { text-align: right !important; } - .text#{$infix}-center { text-align: center !important; } - } -} - -// Transformation - -.text-lowercase { text-transform: lowercase !important; } -.text-uppercase { text-transform: uppercase !important; } -.text-capitalize { text-transform: capitalize !important; } - -// Weight and italics - -.font-weight-normal { font-weight: $font-weight-normal; } -.font-weight-bold { font-weight: $font-weight-bold; } -.font-italic { font-style: italic; } - -// Contextual colors - -.text-white { - color: #fff !important; -} - -@include text-emphasis-variant('.text-muted', $text-muted); - -@include text-emphasis-variant('.text-primary', $brand-primary); - -@include text-emphasis-variant('.text-success', $brand-success); - -@include text-emphasis-variant('.text-info', $brand-info); - -@include text-emphasis-variant('.text-warning', $brand-warning); - -@include text-emphasis-variant('.text-danger', $brand-danger); - -// Font color - -@include text-emphasis-variant('.text-gray-dark', $gray-dark); - -// Misc - -.text-hide { - @include text-hide(); -} diff --git a/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_visibility.scss b/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_visibility.scss deleted file mode 100644 index 823406d..0000000 --- a/minionlivesmatter/templates/assets/bootstrap/scss/utilities/_visibility.scss +++ /dev/null @@ -1,11 +0,0 @@ -// -// Visibility utilities -// - -.visible { - @include invisible(visible); -} - -.invisible { - @include invisible(hidden); -} diff --git a/minionlivesmatter/templates/assets/css/bootstrap.min.css b/minionlivesmatter/templates/assets/css/bootstrap.min.css deleted file mode 100644 index d65c66b..0000000 --- a/minionlivesmatter/templates/assets/css/bootstrap.min.css +++ /dev/null @@ -1,5 +0,0 @@ -/*! - * Bootstrap v3.3.5 (http://getbootstrap.com) - * Copyright 2011-2015 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - *//*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{margin:.67em 0;font-size:2em}mark{color:#000;background:#ff0}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{height:0;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{margin:0;font:inherit;color:inherit}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input{line-height:normal}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid silver}legend{padding:0;border:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-spacing:0;border-collapse:collapse}td,th{padding:0}/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,:after,:before{color:#000!important;text-shadow:none!important;background:0 0!important;-webkit-box-shadow:none!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="javascript:"]:after,a[href^="#"]:after{content:""}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #ddd!important}}@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff2) format('woff2'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"\2a"}.glyphicon-plus:before{content:"\2b"}.glyphicon-eur:before,.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.glyphicon-cd:before{content:"\e201"}.glyphicon-save-file:before{content:"\e202"}.glyphicon-open-file:before{content:"\e203"}.glyphicon-level-up:before{content:"\e204"}.glyphicon-copy:before{content:"\e205"}.glyphicon-paste:before{content:"\e206"}.glyphicon-alert:before{content:"\e209"}.glyphicon-equalizer:before{content:"\e210"}.glyphicon-king:before{content:"\e211"}.glyphicon-queen:before{content:"\e212"}.glyphicon-pawn:before{content:"\e213"}.glyphicon-bishop:before{content:"\e214"}.glyphicon-knight:before{content:"\e215"}.glyphicon-baby-formula:before{content:"\e216"}.glyphicon-tent:before{content:"\26fa"}.glyphicon-blackboard:before{content:"\e218"}.glyphicon-bed:before{content:"\e219"}.glyphicon-apple:before{content:"\f8ff"}.glyphicon-erase:before{content:"\e221"}.glyphicon-hourglass:before{content:"\231b"}.glyphicon-lamp:before{content:"\e223"}.glyphicon-duplicate:before{content:"\e224"}.glyphicon-piggy-bank:before{content:"\e225"}.glyphicon-scissors:before{content:"\e226"}.glyphicon-bitcoin:before{content:"\e227"}.glyphicon-btc:before{content:"\e227"}.glyphicon-xbt:before{content:"\e227"}.glyphicon-yen:before{content:"\00a5"}.glyphicon-jpy:before{content:"\00a5"}.glyphicon-ruble:before{content:"\20bd"}.glyphicon-rub:before{content:"\20bd"}.glyphicon-scale:before{content:"\e230"}.glyphicon-ice-lolly:before{content:"\e231"}.glyphicon-ice-lolly-tasted:before{content:"\e232"}.glyphicon-education:before{content:"\e233"}.glyphicon-option-horizontal:before{content:"\e234"}.glyphicon-option-vertical:before{content:"\e235"}.glyphicon-menu-hamburger:before{content:"\e236"}.glyphicon-modal-window:before{content:"\e237"}.glyphicon-oil:before{content:"\e238"}.glyphicon-grain:before{content:"\e239"}.glyphicon-sunglasses:before{content:"\e240"}.glyphicon-text-size:before{content:"\e241"}.glyphicon-text-color:before{content:"\e242"}.glyphicon-text-background:before{content:"\e243"}.glyphicon-object-align-top:before{content:"\e244"}.glyphicon-object-align-bottom:before{content:"\e245"}.glyphicon-object-align-horizontal:before{content:"\e246"}.glyphicon-object-align-left:before{content:"\e247"}.glyphicon-object-align-vertical:before{content:"\e248"}.glyphicon-object-align-right:before{content:"\e249"}.glyphicon-triangle-right:before{content:"\e250"}.glyphicon-triangle-left:before{content:"\e251"}.glyphicon-triangle-bottom:before{content:"\e252"}.glyphicon-triangle-top:before{content:"\e253"}.glyphicon-console:before{content:"\e254"}.glyphicon-superscript:before{content:"\e255"}.glyphicon-subscript:before{content:"\e256"}.glyphicon-menu-left:before{content:"\e257"}.glyphicon-menu-right:before{content:"\e258"}.glyphicon-menu-down:before{content:"\e259"}.glyphicon-menu-up:before{content:"\e260"}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:focus,a:hover{color:#23527c;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.carousel-inner>.item>a>img,.carousel-inner>.item>img,.img-responsive,.thumbnail a>img,.thumbnail>img{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{display:inline-block;max-width:100%;height:auto;padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role=button]{cursor:pointer}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-weight:400;line-height:1;color:#777}.h1,.h2,.h3,h1,h2,h3{margin-top:20px;margin-bottom:10px}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small{font-size:65%}.h4,.h5,.h6,h4,h5,h6{margin-top:10px;margin-bottom:10px}.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-size:75%}.h1,h1{font-size:36px}.h2,h2{font-size:30px}.h3,h3{font-size:24px}.h4,h4{font-size:18px}.h5,h5{font-size:14px}.h6,h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}.small,small{font-size:85%}.mark,mark{padding:.2em;background-color:#fcf8e3}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#777}.text-primary{color:#337ab7}a.text-primary:focus,a.text-primary:hover{color:#286090}.text-success{color:#3c763d}a.text-success:focus,a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:focus,a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:focus,a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:focus,a.text-danger:hover{color:#843534}.bg-primary{color:#fff;background-color:#337ab7}a.bg-primary:focus,a.bg-primary:hover{background-color:#286090}.bg-success{background-color:#dff0d8}a.bg-success:focus,a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:focus,a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:focus,a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:focus,a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ol,ul{margin-top:0;margin-bottom:10px}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;margin-left:-5px;list-style:none}.list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}dl{margin-top:0;margin-bottom:20px}dd,dt{line-height:1.42857143}dt{font-weight:700}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[data-original-title],abbr[title]{cursor:help;border-bottom:1px dotted #777}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}blockquote ol:last-child,blockquote p:last-child,blockquote ul:last-child{margin-bottom:0}blockquote .small,blockquote footer,blockquote small{display:block;font-size:80%;line-height:1.42857143;color:#777}blockquote .small:before,blockquote footer:before,blockquote small:before{content:'\2014 \00A0'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;text-align:right;border-right:5px solid #eee;border-left:0}.blockquote-reverse .small:before,.blockquote-reverse footer:before,.blockquote-reverse small:before,blockquote.pull-right .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before{content:''}.blockquote-reverse .small:after,.blockquote-reverse footer:after,.blockquote-reverse small:after,blockquote.pull-right .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after{content:'\00A0 \2014'}address{margin-bottom:20px;font-style:normal;line-height:1.42857143}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px}kbd{padding:2px 4px;font-size:90%;color:#fff;background-color:#333;border-radius:3px;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}kbd kbd{padding:0;font-size:100%;font-weight:700;-webkit-box-shadow:none;box-shadow:none}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.container-fluid{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.row{margin-right:-15px;margin-left:-15px}.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-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-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-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.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{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.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{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.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{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}table{background-color:transparent}caption{padding-top:8px;padding-bottom:8px;color:#777;text-align:left}th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:20px}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>td,.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>td,.table>thead:first-child>tr:first-child>th{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>tbody>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border:1px solid #ddd}.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}.table-hover>tbody>tr:hover{background-color:#f5f5f5}table col[class*=col-]{position:static;display:table-column;float:none}table td[class*=col-],table th[class*=col-]{position:static;display:table-cell;float:none}.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>thead>tr>td.active,.table>thead>tr>th.active{background-color:#f5f5f5}.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover{background-color:#e8e8e8}.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>thead>tr>td.success,.table>thead>tr>th.success{background-color:#dff0d8}.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover{background-color:#d0e9c6}.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>thead>tr>td.info,.table>thead>tr>th.info{background-color:#d9edf7}.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover{background-color:#c4e3f3}.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>thead>tr>td.warning,.table>thead>tr>th.warning{background-color:#fcf8e3}.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover{background-color:#faf2cc}.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>thead>tr>td.danger,.table>thead>tr>th.danger{background-color:#f2dede}.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover{background-color:#ebcccc}.table-responsive{min-height:.01%;overflow-x:auto}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=checkbox],input[type=radio]{margin:4px 0 0;margin-top:1px\9;line-height:normal}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=file]:focus,input[type=checkbox]:focus,input[type=radio]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{display:block;padding-top:7px;font-size:14px;line-height:1.42857143;color:#555}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#eee;opacity:1}.form-control[disabled],fieldset[disabled] .form-control{cursor:not-allowed}textarea.form-control{height:auto}input[type=search]{-webkit-appearance:none}@media screen and (-webkit-min-device-pixel-ratio:0){input[type=date].form-control,input[type=time].form-control,input[type=datetime-local].form-control,input[type=month].form-control{line-height:34px}.input-group-sm input[type=date],.input-group-sm input[type=time],.input-group-sm input[type=datetime-local],.input-group-sm input[type=month],input[type=date].input-sm,input[type=time].input-sm,input[type=datetime-local].input-sm,input[type=month].input-sm{line-height:30px}.input-group-lg input[type=date],.input-group-lg input[type=time],.input-group-lg input[type=datetime-local],.input-group-lg input[type=month],input[type=date].input-lg,input[type=time].input-lg,input[type=datetime-local].input-lg,input[type=month].input-lg{line-height:46px}}.form-group{margin-bottom:15px}.checkbox,.radio{position:relative;display:block;margin-top:10px;margin-bottom:10px}.checkbox label,.radio label{min-height:20px;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.checkbox input[type=checkbox],.checkbox-inline input[type=checkbox],.radio input[type=radio],.radio-inline input[type=radio]{position:absolute;margin-top:4px\9;margin-left:-20px}.checkbox+.checkbox,.radio+.radio{margin-top:-5px}.checkbox-inline,.radio-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}.checkbox-inline+.checkbox-inline,.radio-inline+.radio-inline{margin-top:0;margin-left:10px}fieldset[disabled] input[type=checkbox],fieldset[disabled] input[type=radio],input[type=checkbox].disabled,input[type=checkbox][disabled],input[type=radio].disabled,input[type=radio][disabled]{cursor:not-allowed}.checkbox-inline.disabled,.radio-inline.disabled,fieldset[disabled] .checkbox-inline,fieldset[disabled] .radio-inline{cursor:not-allowed}.checkbox.disabled label,.radio.disabled label,fieldset[disabled] .checkbox label,fieldset[disabled] .radio label{cursor:not-allowed}.form-control-static{min-height:34px;padding-top:7px;padding-bottom:7px;margin-bottom:0}.form-control-static.input-lg,.form-control-static.input-sm{padding-right:0;padding-left:0}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}select[multiple].input-sm,textarea.input-sm{height:auto}.form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.form-group-sm select.form-control{height:30px;line-height:30px}.form-group-sm select[multiple].form-control,.form-group-sm textarea.form-control{height:auto}.form-group-sm .form-control-static{height:30px;min-height:32px;padding:6px 10px;font-size:12px;line-height:1.5}.input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-lg{height:46px;line-height:46px}select[multiple].input-lg,textarea.input-lg{height:auto}.form-group-lg .form-control{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.form-group-lg select.form-control{height:46px;line-height:46px}.form-group-lg select[multiple].form-control,.form-group-lg textarea.form-control{height:auto}.form-group-lg .form-control-static{height:46px;min-height:38px;padding:11px 16px;font-size:18px;line-height:1.3333333}.has-feedback{position:relative}.has-feedback .form-control{padding-right:42.5px}.form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center;pointer-events:none}.form-group-lg .form-control+.form-control-feedback,.input-group-lg+.form-control-feedback,.input-lg+.form-control-feedback{width:46px;height:46px;line-height:46px}.form-group-sm .form-control+.form-control-feedback,.input-group-sm+.form-control-feedback,.input-sm+.form-control-feedback{width:30px;height:30px;line-height:30px}.has-success .checkbox,.has-success .checkbox-inline,.has-success .control-label,.has-success .help-block,.has-success .radio,.has-success .radio-inline,.has-success.checkbox label,.has-success.checkbox-inline label,.has-success.radio label,.has-success.radio-inline label{color:#3c763d}.has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.has-success .form-control-feedback{color:#3c763d}.has-warning .checkbox,.has-warning .checkbox-inline,.has-warning .control-label,.has-warning .help-block,.has-warning .radio,.has-warning .radio-inline,.has-warning.checkbox label,.has-warning.checkbox-inline label,.has-warning.radio label,.has-warning.radio-inline label{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.has-warning .form-control-feedback{color:#8a6d3b}.has-error .checkbox,.has-error .checkbox-inline,.has-error .control-label,.has-error .help-block,.has-error .radio,.has-error .radio-inline,.has-error.checkbox label,.has-error.checkbox-inline label,.has-error.radio label,.has-error.radio-inline label{color:#a94442}.has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.has-error .form-control-feedback{color:#a94442}.has-feedback label~.form-control-feedback{top:25px}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static{display:inline-block}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .form-control,.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .checkbox,.form-inline .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .checkbox label,.form-inline .radio label{padding-left:0}.form-inline .checkbox input[type=checkbox],.form-inline .radio input[type=radio]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .checkbox,.form-horizontal .checkbox-inline,.form-horizontal .radio,.form-horizontal .radio-inline{padding-top:7px;margin-top:0;margin-bottom:0}.form-horizontal .checkbox,.form-horizontal .radio{min-height:27px}.form-horizontal .form-group{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.form-horizontal .control-label{padding-top:7px;margin-bottom:0;text-align:right}}.form-horizontal .has-feedback .form-control-feedback{right:15px}@media (min-width:768px){.form-horizontal .form-group-lg .control-label{padding-top:14.33px;font-size:18px}}@media (min-width:768px){.form-horizontal .form-group-sm .control-label{padding-top:6px;font-size:12px}}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;border:1px solid transparent;border-radius:4px}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.focus,.btn:focus,.btn:hover{color:#333;text-decoration:none}.btn.active,.btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none;opacity:.65}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default.focus,.btn-default:focus{color:#333;background-color:#e6e6e6;border-color:#8c8c8c}.btn-default:hover{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active.focus,.btn-default.active:focus,.btn-default.active:hover,.btn-default:active.focus,.btn-default:active:focus,.btn-default:active:hover,.open>.dropdown-toggle.btn-default.focus,.open>.dropdown-toggle.btn-default:focus,.open>.dropdown-toggle.btn-default:hover{color:#333;background-color:#d4d4d4;border-color:#8c8c8c}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled,.btn-default.disabled.active,.btn-default.disabled.focus,.btn-default.disabled:active,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled],.btn-default[disabled].active,.btn-default[disabled].focus,.btn-default[disabled]:active,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default,fieldset[disabled] .btn-default.active,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:active,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.btn-primary.focus,.btn-primary:focus{color:#fff;background-color:#286090;border-color:#122b40}.btn-primary:hover{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active.focus,.btn-primary.active:focus,.btn-primary.active:hover,.btn-primary:active.focus,.btn-primary:active:focus,.btn-primary:active:hover,.open>.dropdown-toggle.btn-primary.focus,.open>.dropdown-toggle.btn-primary:focus,.open>.dropdown-toggle.btn-primary:hover{color:#fff;background-color:#204d74;border-color:#122b40}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary.disabled.active,.btn-primary.disabled.focus,.btn-primary.disabled:active,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled],.btn-primary[disabled].active,.btn-primary[disabled].focus,.btn-primary[disabled]:active,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary,fieldset[disabled] .btn-primary.active,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:active,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#337ab7;border-color:#2e6da4}.btn-primary .badge{color:#337ab7;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success.focus,.btn-success:focus{color:#fff;background-color:#449d44;border-color:#255625}.btn-success:hover{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active.focus,.btn-success.active:focus,.btn-success.active:hover,.btn-success:active.focus,.btn-success:active:focus,.btn-success:active:hover,.open>.dropdown-toggle.btn-success.focus,.open>.dropdown-toggle.btn-success:focus,.open>.dropdown-toggle.btn-success:hover{color:#fff;background-color:#398439;border-color:#255625}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled,.btn-success.disabled.active,.btn-success.disabled.focus,.btn-success.disabled:active,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled],.btn-success[disabled].active,.btn-success[disabled].focus,.btn-success[disabled]:active,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success,fieldset[disabled] .btn-success.active,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:active,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info.focus,.btn-info:focus{color:#fff;background-color:#31b0d5;border-color:#1b6d85}.btn-info:hover{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.active.focus,.btn-info.active:focus,.btn-info.active:hover,.btn-info:active.focus,.btn-info:active:focus,.btn-info:active:hover,.open>.dropdown-toggle.btn-info.focus,.open>.dropdown-toggle.btn-info:focus,.open>.dropdown-toggle.btn-info:hover{color:#fff;background-color:#269abc;border-color:#1b6d85}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled,.btn-info.disabled.active,.btn-info.disabled.focus,.btn-info.disabled:active,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled],.btn-info[disabled].active,.btn-info[disabled].focus,.btn-info[disabled]:active,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info,fieldset[disabled] .btn-info.active,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:active,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning.focus,.btn-warning:focus{color:#fff;background-color:#ec971f;border-color:#985f0d}.btn-warning:hover{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.active.focus,.btn-warning.active:focus,.btn-warning.active:hover,.btn-warning:active.focus,.btn-warning:active:focus,.btn-warning:active:hover,.open>.dropdown-toggle.btn-warning.focus,.open>.dropdown-toggle.btn-warning:focus,.open>.dropdown-toggle.btn-warning:hover{color:#fff;background-color:#d58512;border-color:#985f0d}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled,.btn-warning.disabled.active,.btn-warning.disabled.focus,.btn-warning.disabled:active,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled],.btn-warning[disabled].active,.btn-warning[disabled].focus,.btn-warning[disabled]:active,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning,fieldset[disabled] .btn-warning.active,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:active,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger.focus,.btn-danger:focus{color:#fff;background-color:#c9302c;border-color:#761c19}.btn-danger:hover{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.active.focus,.btn-danger.active:focus,.btn-danger.active:hover,.btn-danger:active.focus,.btn-danger:active:focus,.btn-danger:active:hover,.open>.dropdown-toggle.btn-danger.focus,.open>.dropdown-toggle.btn-danger:focus,.open>.dropdown-toggle.btn-danger:hover{color:#fff;background-color:#ac2925;border-color:#761c19}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled,.btn-danger.disabled.active,.btn-danger.disabled.focus,.btn-danger.disabled:active,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled],.btn-danger[disabled].active,.btn-danger[disabled].focus,.btn-danger[disabled]:active,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger,fieldset[disabled] .btn-danger.active,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:active,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{font-weight:400;color:#337ab7;border-radius:0}.btn-link,.btn-link.active,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:active,.btn-link:focus,.btn-link:hover{border-color:transparent}.btn-link:focus,.btn-link:hover{color:#23527c;text-decoration:underline;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover,fieldset[disabled] .btn-link:focus,fieldset[disabled] .btn-link:hover{color:#777;text-decoration:none}.btn-group-lg>.btn,.btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-group-sm>.btn,.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-xs>.btn,.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-timing-function:ease;-o-transition-timing-function:ease;transition-timing-function:ease;-webkit-transition-duration:.35s;-o-transition-duration:.35s;transition-duration:.35s;-webkit-transition-property:height,visibility;-o-transition-property:height,visibility;transition-property:height,visibility}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-top:4px solid\9;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown,.dropup{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;text-align:left;list-style:none;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175)}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;color:#333;white-space:nowrap}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{color:#262626;text-decoration:none;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;background-color:#337ab7;outline:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{color:#777}.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{right:0;left:auto}.dropdown-menu-left{right:auto;left:0}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.42857143;color:#777;white-space:nowrap}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{content:"";border-top:0;border-bottom:4px dashed;border-bottom:4px solid\9}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}.navbar-right .dropdown-menu-left{right:auto;left:0}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;float:left}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:2}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn,.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-bottom-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:4px}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-top-right-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle=buttons]>.btn input[type=checkbox],[data-toggle=buttons]>.btn input[type=radio],[data-toggle=buttons]>.btn-group>.btn input[type=checkbox],[data-toggle=buttons]>.btn-group>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn,textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn,textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group .form-control,.input-group-addon,.input-group-btn{display:table-cell}.input-group .form-control:not(:first-child):not(:last-child),.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type=checkbox],.input-group-addon input[type=radio]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn-group:not(:last-child)>.btn,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:first-child>.btn-group:not(:first-child)>.btn,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:active,.input-group-btn>.btn:focus,.input-group-btn>.btn:hover{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{z-index:2;margin-left:-1px}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#777}.nav>li.disabled>a:focus,.nav>li.disabled>a:hover{color:#777;text-decoration:none;cursor:not-allowed;background-color:transparent}.nav .open>a,.nav .open>a:focus,.nav .open>a:hover{background-color:#eee;border-color:#337ab7}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:focus,.nav-pills>li.active>a:hover{color:#fff;background-color:#337ab7}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}@media (min-width:768px){.navbar{border-radius:4px}}@media (min-width:768px){.navbar-header{float:left}}.navbar-collapse{padding-right:15px;padding-left:15px;overflow-x:visible;-webkit-overflow-scrolling:touch;border-top:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;-webkit-box-shadow:none;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse{padding-right:0;padding-left:0}}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:340px}@media (max-device-width:480px) and (orientation:landscape){.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:200px}}.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-bottom,.navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-bottom,.navbar-fixed-top{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;height:50px;padding:15px 15px;font-size:18px;line-height:20px}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-brand>img{display:block}@media (min-width:768px){.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:focus,.navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}}.navbar-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1)}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .form-control-static{display:inline-block}.navbar-form .input-group{display:inline-table;vertical-align:middle}.navbar-form .input-group .form-control,.navbar-form .input-group .input-group-addon,.navbar-form .input-group .input-group-btn{width:auto}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .checkbox,.navbar-form .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.navbar-form .checkbox label,.navbar-form .radio label{padding-left:0}.navbar-form .checkbox input[type=checkbox],.navbar-form .radio input[type=radio]{position:relative;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}.navbar-form .form-group:last-child{margin-bottom:0}}@media (min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-left-radius:0;border-top-right-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{margin-bottom:0;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-right:15px;margin-left:15px}}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important;margin-right:-15px}.navbar-right~.navbar-right{margin-right:0}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a{color:#777}.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:focus,.navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:focus,.navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#888}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:focus,.navbar-default .navbar-nav>.open>a:hover{color:#555;background-color:#e7e7e7}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-default .btn-link{color:#777}.navbar-default .btn-link:focus,.navbar-default .btn-link:hover{color:#333}.navbar-default .btn-link[disabled]:focus,.navbar-default .btn-link[disabled]:hover,fieldset[disabled] .navbar-default .btn-link:focus,fieldset[disabled] .navbar-default .btn-link:hover{color:#ccc}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#9d9d9d}.navbar-inverse .navbar-brand:focus,.navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a:focus,.navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:focus,.navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:focus,.navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:focus,.navbar-inverse .navbar-toggle:hover{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:focus,.navbar-inverse .navbar-nav>.open>a:hover{color:#fff;background-color:#080808}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#9d9d9d}.navbar-inverse .navbar-link:hover{color:#fff}.navbar-inverse .btn-link{color:#9d9d9d}.navbar-inverse .btn-link:focus,.navbar-inverse .btn-link:hover{color:#fff}.navbar-inverse .btn-link[disabled]:focus,.navbar-inverse .btn-link[disabled]:hover,fieldset[disabled] .navbar-inverse .btn-link:focus,fieldset[disabled] .navbar-inverse .btn-link:hover{color:#444}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.breadcrumb>.active{color:#777}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.42857143;color:#337ab7;text-decoration:none;background-color:#fff;border:1px solid #ddd}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-top-left-radius:4px;border-bottom-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.pagination>li>a:focus,.pagination>li>a:hover,.pagination>li>span:focus,.pagination>li>span:hover{z-index:3;color:#23527c;background-color:#eee;border-color:#ddd}.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover{z-index:2;color:#fff;cursor:default;background-color:#337ab7;border-color:#337ab7}.pagination>.disabled>a,.pagination>.disabled>a:focus,.pagination>.disabled>a:hover,.pagination>.disabled>span,.pagination>.disabled>span:focus,.pagination>.disabled>span:hover{color:#777;cursor:not-allowed;background-color:#fff;border-color:#ddd}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px;line-height:1.3333333}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-top-left-radius:6px;border-bottom-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px;line-height:1.5}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-top-left-radius:3px;border-bottom-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:focus,.pager li>a:hover{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:focus,.pager .disabled>a:hover,.pager .disabled>span{color:#777;cursor:not-allowed;background-color:#fff}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}a.label:focus,a.label:hover{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#777}.label-default[href]:focus,.label-default[href]:hover{background-color:#5e5e5e}.label-primary{background-color:#337ab7}.label-primary[href]:focus,.label-primary[href]:hover{background-color:#286090}.label-success{background-color:#5cb85c}.label-success[href]:focus,.label-success[href]:hover{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:focus,.label-info[href]:hover{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:focus,.label-warning[href]:hover{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:focus,.label-danger[href]:hover{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#777;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-group-xs>.btn .badge,.btn-xs .badge{top:0;padding:1px 5px}a.badge:focus,a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#337ab7;background-color:#fff}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding-top:30px;padding-bottom:30px;margin-bottom:30px;color:inherit;background-color:#eee}.jumbotron .h1,.jumbotron h1{color:inherit}.jumbotron p{margin-bottom:15px;font-size:21px;font-weight:200}.jumbotron>hr{border-top-color:#d5d5d5}.container .jumbotron,.container-fluid .jumbotron{border-radius:6px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron,.container-fluid .jumbotron{padding-right:60px;padding-left:60px}.jumbotron .h1,.jumbotron h1{font-size:63px}}.thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:border .2s ease-in-out;-o-transition:border .2s ease-in-out;transition:border .2s ease-in-out}.thumbnail a>img,.thumbnail>img{margin-right:auto;margin-left:auto}a.thumbnail.active,a.thumbnail:focus,a.thumbnail:hover{border-color:#337ab7}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#337ab7;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}.progress-bar-striped,.progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);-webkit-background-size:40px 40px;background-size:40px 40px}.progress-bar.active,.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.media{margin-top:15px}.media:first-child{margin-top:0}.media,.media-body{overflow:hidden;zoom:1}.media-body{width:10000px}.media-object{display:block}.media-object.img-thumbnail{max-width:none}.media-right,.media>.pull-right{padding-left:10px}.media-left,.media>.pull-left{padding-right:10px}.media-body,.media-left,.media-right{display:table-cell;vertical-align:top}.media-middle{vertical-align:middle}.media-bottom{vertical-align:bottom}.media-heading{margin-top:0;margin-bottom:5px}.media-list{padding-left:0;list-style:none}.list-group{padding-left:0;margin-bottom:20px}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}a.list-group-item,button.list-group-item{color:#555}a.list-group-item .list-group-item-heading,button.list-group-item .list-group-item-heading{color:#333}a.list-group-item:focus,a.list-group-item:hover,button.list-group-item:focus,button.list-group-item:hover{color:#555;text-decoration:none;background-color:#f5f5f5}button.list-group-item{width:100%;text-align:left}.list-group-item.disabled,.list-group-item.disabled:focus,.list-group-item.disabled:hover{color:#777;cursor:not-allowed;background-color:#eee}.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text{color:#777}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{z-index:2;color:#fff;background-color:#337ab7;border-color:#337ab7}.list-group-item.active .list-group-item-heading,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active .list-group-item-heading>small,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading>.small,.list-group-item.active:focus .list-group-item-heading>small,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading>.small,.list-group-item.active:hover .list-group-item-heading>small{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:focus .list-group-item-text,.list-group-item.active:hover .list-group-item-text{color:#c7ddef}.list-group-item-success{color:#3c763d;background-color:#dff0d8}a.list-group-item-success,button.list-group-item-success{color:#3c763d}a.list-group-item-success .list-group-item-heading,button.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:focus,a.list-group-item-success:hover,button.list-group-item-success:focus,button.list-group-item-success:hover{color:#3c763d;background-color:#d0e9c6}a.list-group-item-success.active,a.list-group-item-success.active:focus,a.list-group-item-success.active:hover,button.list-group-item-success.active,button.list-group-item-success.active:focus,button.list-group-item-success.active:hover{color:#fff;background-color:#3c763d;border-color:#3c763d}.list-group-item-info{color:#31708f;background-color:#d9edf7}a.list-group-item-info,button.list-group-item-info{color:#31708f}a.list-group-item-info .list-group-item-heading,button.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:focus,a.list-group-item-info:hover,button.list-group-item-info:focus,button.list-group-item-info:hover{color:#31708f;background-color:#c4e3f3}a.list-group-item-info.active,a.list-group-item-info.active:focus,a.list-group-item-info.active:hover,button.list-group-item-info.active,button.list-group-item-info.active:focus,button.list-group-item-info.active:hover{color:#fff;background-color:#31708f;border-color:#31708f}.list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}a.list-group-item-warning,button.list-group-item-warning{color:#8a6d3b}a.list-group-item-warning .list-group-item-heading,button.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:focus,a.list-group-item-warning:hover,button.list-group-item-warning:focus,button.list-group-item-warning:hover{color:#8a6d3b;background-color:#faf2cc}a.list-group-item-warning.active,a.list-group-item-warning.active:focus,a.list-group-item-warning.active:hover,button.list-group-item-warning.active,button.list-group-item-warning.active:focus,button.list-group-item-warning.active:hover{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}.list-group-item-danger{color:#a94442;background-color:#f2dede}a.list-group-item-danger,button.list-group-item-danger{color:#a94442}a.list-group-item-danger .list-group-item-heading,button.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:focus,a.list-group-item-danger:hover,button.list-group-item-danger:focus,button.list-group-item-danger:hover{color:#a94442;background-color:#ebcccc}a.list-group-item-danger.active,a.list-group-item-danger.active:focus,a.list-group-item-danger.active:hover,button.list-group-item-danger.active,button.list-group-item-danger.active:focus,button.list-group-item-danger.active:hover{color:#fff;background-color:#a94442;border-color:#a94442}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}.panel-body{padding:15px}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-left-radius:3px;border-top-right-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.panel-title>.small,.panel-title>.small>a,.panel-title>a,.panel-title>small,.panel-title>small>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.list-group,.panel>.panel-collapse>.list-group{margin-bottom:0}.panel>.list-group .list-group-item,.panel>.panel-collapse>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child,.panel>.panel-collapse>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-left-radius:3px;border-top-right-radius:3px}.panel>.list-group:last-child .list-group-item:last-child,.panel>.panel-collapse>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.panel-heading+.panel-collapse>.list-group .list-group-item:first-child{border-top-left-radius:0;border-top-right-radius:0}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.list-group+.panel-footer{border-top-width:0}.panel>.panel-collapse>.table,.panel>.table,.panel>.table-responsive>.table{margin-bottom:0}.panel>.panel-collapse>.table caption,.panel>.table caption,.panel>.table-responsive>.table caption{padding-right:15px;padding-left:15px}.panel>.table-responsive:first-child>.table:first-child,.panel>.table:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child,.panel>.table:first-child>thead:first-child>tr:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table-responsive:last-child>.table:last-child,.panel>.table:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive,.panel>.table+.panel-body,.panel>.table-responsive+.panel-body{border-top:1px solid #ddd}.panel>.table>tbody:first-child>tr:first-child td,.panel>.table>tbody:first-child>tr:first-child th{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th{border-bottom:0}.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}.panel>.table-responsive{margin-bottom:0;border:0}.panel-group{margin-bottom:20px}.panel-group .panel{margin-bottom:0;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse>.list-group,.panel-group .panel-heading+.panel-collapse>.panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ddd}.panel-default>.panel-heading .badge{color:#f5f5f5;background-color:#333}.panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#337ab7}.panel-primary>.panel-heading{color:#fff;background-color:#337ab7;border-color:#337ab7}.panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#337ab7}.panel-primary>.panel-heading .badge{color:#337ab7;background-color:#fff}.panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#337ab7}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse>.panel-body{border-top-color:#d6e9c6}.panel-success>.panel-heading .badge{color:#dff0d8;background-color:#3c763d}.panel-success>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#d6e9c6}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse>.panel-body{border-top-color:#bce8f1}.panel-info>.panel-heading .badge{color:#d9edf7;background-color:#31708f}.panel-info>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#bce8f1}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:#faebcc}.panel-warning>.panel-heading .badge{color:#fcf8e3;background-color:#8a6d3b}.panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ebccd1}.panel-danger>.panel-heading .badge{color:#f2dede;background-color:#a94442}.panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ebccd1}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive-4by3{padding-bottom:75%}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;filter:alpha(opacity=20);opacity:.2}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer;filter:alpha(opacity=50);opacity:.5}button.close{-webkit-appearance:none;padding:0;cursor:pointer;background:0 0;border:0}.modal-open{overflow:hidden}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;display:none;overflow:hidden;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transition:-webkit-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out;-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);-o-transform:translate(0,-25%);transform:translate(0,-25%)}.modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);-o-transform:translate(0,0);transform:translate(0,0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{filter:alpha(opacity=0);opacity:0}.modal-backdrop.in{filter:alpha(opacity=50);opacity:.5}.modal-header{min-height:16.43px;padding:15px;border-bottom:1px solid #e5e5e5}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.42857143}.modal-body{position:relative;padding:15px}.modal-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}.modal-sm{width:300px}}@media (min-width:992px){.modal-lg{width:900px}}.tooltip{position:absolute;z-index:1070;display:block;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-style:normal;font-weight:400;line-height:1.42857143;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;filter:alpha(opacity=0);opacity:0;line-break:auto}.tooltip.in{filter:alpha(opacity=90);opacity:.9}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{right:5px;bottom:0;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-right .tooltip-arrow{bottom:0;left:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:276px;padding:1px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:1.42857143;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);line-break:auto}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow{border-width:11px}.popover>.arrow:after{content:"";border-width:10px}.popover.top>.arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,.25);border-bottom-width:0}.popover.top>.arrow:after{bottom:1px;margin-left:-10px;content:" ";border-top-color:#fff;border-bottom-width:0}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,.25);border-left-width:0}.popover.right>.arrow:after{bottom:-10px;left:1px;content:" ";border-right-color:#fff;border-left-width:0}.popover.bottom>.arrow{top:-11px;left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25)}.popover.bottom>.arrow:after{top:1px;margin-left:-10px;content:" ";border-top-width:0;border-bottom-color:#fff}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0,0,0,.25)}.popover.left>.arrow:after{right:1px;bottom:-10px;content:" ";border-right-width:0;border-left-color:#fff}.carousel{position:relative}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>a>img,.carousel-inner>.item>img{line-height:1}@media all and (transform-3d),(-webkit-transform-3d){.carousel-inner>.item{-webkit-transition:-webkit-transform .6s ease-in-out;-o-transition:-o-transform .6s ease-in-out;transition:transform .6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;perspective:1000px}.carousel-inner>.item.active.right,.carousel-inner>.item.next{left:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.carousel-inner>.item.active.left,.carousel-inner>.item.prev{left:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.carousel-inner>.item.active,.carousel-inner>.item.next.left,.carousel-inner>.item.prev.right{left:0;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6);filter:alpha(opacity=50);opacity:.5}.carousel-control.left{background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,.0001)));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);background-repeat:repeat-x}.carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);background-repeat:repeat-x}.carousel-control:focus,.carousel-control:hover{color:#fff;text-decoration:none;filter:alpha(opacity=90);outline:0;opacity:.9}.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block;margin-top:-10px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{left:50%;margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{right:50%;margin-right:-10px}.carousel-control .icon-next,.carousel-control .icon-prev{width:20px;height:20px;font-family:serif;line-height:1}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000\9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{width:30px;height:30px;margin-top:-15px;font-size:30px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{margin-left:-15px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{margin-right:-15px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.btn-group-vertical>.btn-group:after,.btn-group-vertical>.btn-group:before,.btn-toolbar:after,.btn-toolbar:before,.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.dl-horizontal dd:after,.dl-horizontal dd:before,.form-horizontal .form-group:after,.form-horizontal .form-group:before,.modal-footer:after,.modal-footer:before,.nav:after,.nav:before,.navbar-collapse:after,.navbar-collapse:before,.navbar-header:after,.navbar-header:before,.navbar:after,.navbar:before,.pager:after,.pager:before,.panel-body:after,.panel-body:before,.row:after,.row:before{display:table;content:" "}.btn-group-vertical>.btn-group:after,.btn-toolbar:after,.clearfix:after,.container-fluid:after,.container:after,.dl-horizontal dd:after,.form-horizontal .form-group:after,.modal-footer:after,.nav:after,.navbar-collapse:after,.navbar-header:after,.navbar:after,.pager:after,.panel-body:after,.row:after{clear:both}.center-block{display:block;margin-right:auto;margin-left:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-lg,.visible-md,.visible-sm,.visible-xs{display:none!important}.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table!important}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}}@media (max-width:767px){.visible-xs-block{display:block!important}}@media (max-width:767px){.visible-xs-inline{display:inline!important}}@media (max-width:767px){.visible-xs-inline-block{display:inline-block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table!important}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-block{display:block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline{display:inline!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline-block{display:inline-block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table!important}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-block{display:block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline{display:inline!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline-block{display:inline-block!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table!important}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}}@media (min-width:1200px){.visible-lg-block{display:block!important}}@media (min-width:1200px){.visible-lg-inline{display:inline!important}}@media (min-width:1200px){.visible-lg-inline-block{display:inline-block!important}}@media (max-width:767px){.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-lg{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table!important}tr.visible-print{display:table-row!important}td.visible-print,th.visible-print{display:table-cell!important}}.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}}@media print{.hidden-print{display:none!important}}
\ No newline at end of file diff --git a/minionlivesmatter/templates/assets/css/hipster_cards.css b/minionlivesmatter/templates/assets/css/hipster_cards.css deleted file mode 100644 index b4195fc..0000000 --- a/minionlivesmatter/templates/assets/css/hipster_cards.css +++ /dev/null @@ -1,1370 +0,0 @@ -/* light colors */ -/* Font Smoothing */ -.card h1, .card .h1, .card h2, .card .h2, .card h3, .card .h3, .card h4, .card .h4, .card h5, .card .h5, .card h6, .card .h6, .card p, .card .navbar, .card .brand, .card .btn, .card a, .card .td-name, .card td { - -moz-osx-font-smoothing: grayscale; - -webkit-font-smoothing: antialiased; - font-family: "Playfair Display","Raleway","Helvetica Neue",Arial,sans-serif; -} -.card h1, .card .h1, .card h2, .card .h2, .card h3, .card .h3, .card h4, .card .h4 { - font-weight: 400; - margin: 30px 0 15px; -} -.card h1, .card .h1 { - font-size: 52px; -} -.card h2, .card .h2 { - font-size: 36px; -} -.card h3, .card .h3 { - font-size: 28px; - margin: 20px 0 10px; -} -.card h4, .card .h4 { - font-size: 24px; - line-height: 30px; -} -.card h5, .card .h5 { - font-size: 18px; - margin-bottom: 15px; -} -.card h6, .card .h6 { - font-size: 14px; - font-weight: 600; - text-transform: uppercase; -} -.card p { - font-size: 16px; - line-height: 1.3; - font-family: "Raleway","Helvetica","Arial", sans-serif; -} -.card .category, -.card .label, -.card .title-modern, -.card .btn-modern, -.card .price h4 { - font-family: "Raleway","Helvetica","Arial", sans-serif; -} -.card h1 small, .card h2 small, .card h3 small, .card h4 small, .card h5 small, .card h6 small, .card .h1 small, .card .h2 small, .card .h3 small, .card .h4 small, .card .h5 small, .card .h6 small, .card h1 .small, .card h2 .small, .card h3 .small, .card h4 .small, .card h5 .small, .card h6 .small, .card .h1 .small, .card .h2 .small, .card .h3 .small, .card .h4 .small, .card .h5 .small, .card .h6 .small { - color: #9A9A9A; - font-weight: 300; - line-height: 1.3; -} -.card h1 small, .card h2 small, .card h3 small, .card h1 .small, .card h2 .small, .card h3 .small { - font-size: 60%; -} -.card .text-primary, .card .text-primary:hover { - color: #1D62F0 !important; -} -.card .text-info, .card .text-info:hover { - color: #109CFF !important; -} -.card .text-success, .card .text-success:hover { - color: #0C9C14 !important; -} -.card .text-warning, .card .text-warning:hover { - color: #ED8D00 !important; -} -.card .text-danger, .card .text-danger:hover { - color: #EE2D20 !important; -} - -/* General overwrite */ -body { - font-family: "Helvetica Neue","Open Sans",Arial,sans-serif; - background-color: #cccccc; -} - -a { - color: #2CA8FF; -} -a:hover, a:focus { - color: #109CFF; - text-decoration: none; -} - -a:focus, a:active, -button::-moz-focus-inner, -input[type="reset"]::-moz-focus-inner, -input[type="button"]::-moz-focus-inner, -input[type="submit"]::-moz-focus-inner, -select::-moz-focus-inner, -input[type="file"] > input[type="button"]::-moz-focus-inner { - outline: 0; -} - -.ui-slider-handle:focus, -.navbar-toggle { - outline: 0 !important; -} - -/* Animations */ -.form-control, -.input-group-addon, -.tagsinput, -.navbar, -.navbar .alert { - -webkit-transition: all 300ms linear; - -moz-transition: all 300ms linear; - -o-transition: all 300ms linear; - -ms-transition: all 300ms linear; - transition: all 300ms linear; -} - -.tagsinput .tag, -.tagsinput-remove-link, -.filter, -.btn-hover, -[data-toggle="collapse"] i { - -webkit-transition: all 150ms linear; - -moz-transition: all 150ms linear; - -o-transition: all 150ms linear; - -ms-transition: all 150ms linear; - transition: all 150ms linear; -} - -.btn-morphing .fa, -.btn-morphing .circle, -.gsdk-collapse { - -webkit-transition: all 370ms linear; - -moz-transition: all 370ms linear; - -o-transition: all 370ms linear; - -ms-transition: all 370ms linear; - transition: all 370ms linear; -} - -.margin-top { - margin-top: 50px; -} - -.btn-center { - text-align: center; -} - -.btn { - border-width: 1px; - background-color: transparent; - font-weight: 400; - opacity: 0.8; - filter: alpha(opacity=80); - padding: 8px 16px; - border-color: #888888; - color: #888888; -} -.btn:hover, .btn:focus, .btn:active, .btn.active, .open > .btn.dropdown-toggle { - background-color: transparent; - color: #777777; - border-color: #777777; -} -.btn.disabled, .btn.disabled:hover, .btn.disabled:focus, .btn.disabled.focus, .btn.disabled:active, .btn.disabled.active, .btn:disabled, .btn:disabled:hover, .btn:disabled:focus, .btn:disabled.focus, .btn:disabled:active, .btn:disabled.active, .btn[disabled], .btn[disabled]:hover, .btn[disabled]:focus, .btn[disabled].focus, .btn[disabled]:active, .btn[disabled].active, fieldset[disabled] .btn, fieldset[disabled] .btn:hover, fieldset[disabled] .btn:focus, fieldset[disabled] .btn.focus, fieldset[disabled] .btn:active, fieldset[disabled] .btn.active { - background-color: transparent; - border-color: #888888; -} -.btn.btn-fill { - color: #FFFFFF; - background-color: #888888; - opacity: 1; - filter: alpha(opacity=100); -} -.btn.btn-fill:hover, .btn.btn-fill:focus, .btn.btn-fill:active, .btn.btn-fill.active, .open > .btn.btn-fill.dropdown-toggle { - background-color: #777777; - color: #FFFFFF; -} -.btn.btn-fill .caret { - border-top-color: #FFFFFF; -} -.btn .caret { - border-top-color: #888888; -} -.btn:hover, .btn:focus { - opacity: 1; - filter: alpha(opacity=100); - outline: 0 !important; -} -.btn:active, .btn.active, .open > .btn.dropdown-toggle { - -webkit-box-shadow: none; - box-shadow: none; - outline: 0 !important; -} -.btn.btn-icon { - padding: 8px; -} - -.btn-primary { - border-color: #3472F7; - color: #3472F7; -} -.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open > .btn-primary.dropdown-toggle { - background-color: transparent; - color: #1D62F0; - border-color: #1D62F0; -} -.btn-primary.disabled, .btn-primary.disabled:hover, .btn-primary.disabled:focus, .btn-primary.disabled.focus, .btn-primary.disabled:active, .btn-primary.disabled.active, .btn-primary:disabled, .btn-primary:disabled:hover, .btn-primary:disabled:focus, .btn-primary:disabled.focus, .btn-primary:disabled:active, .btn-primary:disabled.active, .btn-primary[disabled], .btn-primary[disabled]:hover, .btn-primary[disabled]:focus, .btn-primary[disabled].focus, .btn-primary[disabled]:active, .btn-primary[disabled].active, fieldset[disabled] .btn-primary, fieldset[disabled] .btn-primary:hover, fieldset[disabled] .btn-primary:focus, fieldset[disabled] .btn-primary.focus, fieldset[disabled] .btn-primary:active, fieldset[disabled] .btn-primary.active { - background-color: transparent; - border-color: #3472F7; -} -.btn-primary.btn-fill { - color: #FFFFFF; - background-color: #3472F7; - opacity: 1; - filter: alpha(opacity=100); -} -.btn-primary.btn-fill:hover, .btn-primary.btn-fill:focus, .btn-primary.btn-fill:active, .btn-primary.btn-fill.active, .open > .btn-primary.btn-fill.dropdown-toggle { - background-color: #1D62F0; - color: #FFFFFF; -} -.btn-primary.btn-fill .caret { - border-top-color: #FFFFFF; -} -.btn-primary .caret { - border-top-color: #3472F7; -} - -.btn-success { - border-color: #05AE0E; - color: #05AE0E; -} -.btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active, .open > .btn-success.dropdown-toggle { - background-color: transparent; - color: #049F0C; - border-color: #049F0C; -} -.btn-success.disabled, .btn-success.disabled:hover, .btn-success.disabled:focus, .btn-success.disabled.focus, .btn-success.disabled:active, .btn-success.disabled.active, .btn-success:disabled, .btn-success:disabled:hover, .btn-success:disabled:focus, .btn-success:disabled.focus, .btn-success:disabled:active, .btn-success:disabled.active, .btn-success[disabled], .btn-success[disabled]:hover, .btn-success[disabled]:focus, .btn-success[disabled].focus, .btn-success[disabled]:active, .btn-success[disabled].active, fieldset[disabled] .btn-success, fieldset[disabled] .btn-success:hover, fieldset[disabled] .btn-success:focus, fieldset[disabled] .btn-success.focus, fieldset[disabled] .btn-success:active, fieldset[disabled] .btn-success.active { - background-color: transparent; - border-color: #05AE0E; -} -.btn-success.btn-fill { - color: #FFFFFF; - background-color: #05AE0E; - opacity: 1; - filter: alpha(opacity=100); -} -.btn-success.btn-fill:hover, .btn-success.btn-fill:focus, .btn-success.btn-fill:active, .btn-success.btn-fill.active, .open > .btn-success.btn-fill.dropdown-toggle { - background-color: #049F0C; - color: #FFFFFF; -} -.btn-success.btn-fill .caret { - border-top-color: #FFFFFF; -} -.btn-success .caret { - border-top-color: #05AE0E; -} - -.btn-info { - border-color: #2CA8FF; - color: #2CA8FF; -} -.btn-info:hover, .btn-info:focus, .btn-info:active, .btn-info.active, .open > .btn-info.dropdown-toggle { - background-color: transparent; - color: #109CFF; - border-color: #109CFF; -} -.btn-info.disabled, .btn-info.disabled:hover, .btn-info.disabled:focus, .btn-info.disabled.focus, .btn-info.disabled:active, .btn-info.disabled.active, .btn-info:disabled, .btn-info:disabled:hover, .btn-info:disabled:focus, .btn-info:disabled.focus, .btn-info:disabled:active, .btn-info:disabled.active, .btn-info[disabled], .btn-info[disabled]:hover, .btn-info[disabled]:focus, .btn-info[disabled].focus, .btn-info[disabled]:active, .btn-info[disabled].active, fieldset[disabled] .btn-info, fieldset[disabled] .btn-info:hover, fieldset[disabled] .btn-info:focus, fieldset[disabled] .btn-info.focus, fieldset[disabled] .btn-info:active, fieldset[disabled] .btn-info.active { - background-color: transparent; - border-color: #2CA8FF; -} -.btn-info.btn-fill { - color: #FFFFFF; - background-color: #2CA8FF; - opacity: 1; - filter: alpha(opacity=100); -} -.btn-info.btn-fill:hover, .btn-info.btn-fill:focus, .btn-info.btn-fill:active, .btn-info.btn-fill.active, .open > .btn-info.btn-fill.dropdown-toggle { - background-color: #109CFF; - color: #FFFFFF; -} -.btn-info.btn-fill .caret { - border-top-color: #FFFFFF; -} -.btn-info .caret { - border-top-color: #2CA8FF; -} - -.btn-warning { - border-color: #FF9500; - color: #FF9500; -} -.btn-warning:hover, .btn-warning:focus, .btn-warning:active, .btn-warning.active, .open > .btn-warning.dropdown-toggle { - background-color: transparent; - color: #ED8D00; - border-color: #ED8D00; -} -.btn-warning.disabled, .btn-warning.disabled:hover, .btn-warning.disabled:focus, .btn-warning.disabled.focus, .btn-warning.disabled:active, .btn-warning.disabled.active, .btn-warning:disabled, .btn-warning:disabled:hover, .btn-warning:disabled:focus, .btn-warning:disabled.focus, .btn-warning:disabled:active, .btn-warning:disabled.active, .btn-warning[disabled], .btn-warning[disabled]:hover, .btn-warning[disabled]:focus, .btn-warning[disabled].focus, .btn-warning[disabled]:active, .btn-warning[disabled].active, fieldset[disabled] .btn-warning, fieldset[disabled] .btn-warning:hover, fieldset[disabled] .btn-warning:focus, fieldset[disabled] .btn-warning.focus, fieldset[disabled] .btn-warning:active, fieldset[disabled] .btn-warning.active { - background-color: transparent; - border-color: #FF9500; -} -.btn-warning.btn-fill { - color: #FFFFFF; - background-color: #FF9500; - opacity: 1; - filter: alpha(opacity=100); -} -.btn-warning.btn-fill:hover, .btn-warning.btn-fill:focus, .btn-warning.btn-fill:active, .btn-warning.btn-fill.active, .open > .btn-warning.btn-fill.dropdown-toggle { - background-color: #ED8D00; - color: #FFFFFF; -} -.btn-warning.btn-fill .caret { - border-top-color: #FFFFFF; -} -.btn-warning .caret { - border-top-color: #FF9500; -} - -.btn-danger { - border-color: #FF3B30; - color: #FF3B30; -} -.btn-danger:hover, .btn-danger:focus, .btn-danger:active, .btn-danger.active, .open > .btn-danger.dropdown-toggle { - background-color: transparent; - color: #EE2D20; - border-color: #EE2D20; -} -.btn-danger.disabled, .btn-danger.disabled:hover, .btn-danger.disabled:focus, .btn-danger.disabled.focus, .btn-danger.disabled:active, .btn-danger.disabled.active, .btn-danger:disabled, .btn-danger:disabled:hover, .btn-danger:disabled:focus, .btn-danger:disabled.focus, .btn-danger:disabled:active, .btn-danger:disabled.active, .btn-danger[disabled], .btn-danger[disabled]:hover, .btn-danger[disabled]:focus, .btn-danger[disabled].focus, .btn-danger[disabled]:active, .btn-danger[disabled].active, fieldset[disabled] .btn-danger, fieldset[disabled] .btn-danger:hover, fieldset[disabled] .btn-danger:focus, fieldset[disabled] .btn-danger.focus, fieldset[disabled] .btn-danger:active, fieldset[disabled] .btn-danger.active { - background-color: transparent; - border-color: #FF3B30; -} -.btn-danger.btn-fill { - color: #FFFFFF; - background-color: #FF3B30; - opacity: 1; - filter: alpha(opacity=100); -} -.btn-danger.btn-fill:hover, .btn-danger.btn-fill:focus, .btn-danger.btn-fill:active, .btn-danger.btn-fill.active, .open > .btn-danger.btn-fill.dropdown-toggle { - background-color: #EE2D20; - color: #FFFFFF; -} -.btn-danger.btn-fill .caret { - border-top-color: #FFFFFF; -} -.btn-danger .caret { - border-top-color: #FF3B30; -} - -.btn-neutral { - border-color: #FFFFFF; - color: #FFFFFF; -} -.btn-neutral:hover, .btn-neutral:focus, .btn-neutral:active, .btn-neutral.active, .open > .btn-neutral.dropdown-toggle { - background-color: transparent; - color: #FFFFFF; - border-color: #FFFFFF; -} -.btn-neutral.disabled, .btn-neutral.disabled:hover, .btn-neutral.disabled:focus, .btn-neutral.disabled.focus, .btn-neutral.disabled:active, .btn-neutral.disabled.active, .btn-neutral:disabled, .btn-neutral:disabled:hover, .btn-neutral:disabled:focus, .btn-neutral:disabled.focus, .btn-neutral:disabled:active, .btn-neutral:disabled.active, .btn-neutral[disabled], .btn-neutral[disabled]:hover, .btn-neutral[disabled]:focus, .btn-neutral[disabled].focus, .btn-neutral[disabled]:active, .btn-neutral[disabled].active, fieldset[disabled] .btn-neutral, fieldset[disabled] .btn-neutral:hover, fieldset[disabled] .btn-neutral:focus, fieldset[disabled] .btn-neutral.focus, fieldset[disabled] .btn-neutral:active, fieldset[disabled] .btn-neutral.active { - background-color: transparent; - border-color: #FFFFFF; -} -.btn-neutral.btn-fill { - color: #FFFFFF; - background-color: #FFFFFF; - opacity: 1; - filter: alpha(opacity=100); -} -.btn-neutral.btn-fill:hover, .btn-neutral.btn-fill:focus, .btn-neutral.btn-fill:active, .btn-neutral.btn-fill.active, .open > .btn-neutral.btn-fill.dropdown-toggle { - background-color: #FFFFFF; - color: #FFFFFF; -} -.btn-neutral.btn-fill .caret { - border-top-color: #FFFFFF; -} -.btn-neutral .caret { - border-top-color: #FFFFFF; -} -.btn-neutral:active, .btn-neutral.active, .open > .btn-neutral.dropdown-toggle { - background-color: #FFFFFF; - color: #888888; -} -.btn-neutral.btn-fill, .btn-neutral.btn-fill:hover, .btn-neutral.btn-fill:focus { - color: #888888; -} -.btn-neutral.btn-simple:active, .btn-neutral.btn-simple.active { - background-color: transparent; -} - -.btn:disabled, .btn[disabled], .btn.disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} - -.btn-round { - border-width: 1px; - border-radius: 30px !important; - padding: 9px 18px; -} -.btn-round.btn-icon { - padding: 9px; -} - -.btn-simple { - border: 0; - font-size: 16px; - padding: 8px 16px; -} -.btn-simple.btn-icon { - padding: 8px; -} - -.btn-lg { - font-size: 18px; - border-radius: 6px; - padding: 14px 30px; - font-weight: 400; -} -.btn-lg.btn-round { - padding: 15px 30px; -} -.btn-lg.btn-simple { - padding: 16px 30px; -} - -.btn-sm { - font-size: 12px; - border-radius: 6px; - padding: 5px 10px; -} -.btn-sm.btn-round { - padding: 6px 10px; -} -.btn-sm.btn-simple { - padding: 7px 10px; -} - -.btn-xs { - font-size: 12px; - border-radius: 6px; - padding: 1px 5px; -} -.btn-xs.btn-round { - padding: 2px 5px; -} -.btn-xs.btn-simple { - padding: 3px 5px; -} - -.btn-wd { - min-width: 140px; -} - -.btn-group.select { - width: 100%; -} - -.btn-group.select .btn { - text-align: left; -} - -.btn-group.select .caret { - position: absolute; - top: 50%; - margin-top: -1px; - right: 8px; -} - -/* Labels & Progress-bar */ -.label { - padding: 10px 13px; - border-radius: 2px; - font-weight: 500; - font-size: 11px; - text-transform: uppercase; - display: inline-block; -} - -.label-primary { - background-color: #3472F7; -} - -.label-info { - background-color: #2CA8FF; -} - -.label-success { - background-color: #05AE0E; -} - -.label-warning { - background-color: #FF9500; -} - -.label-danger { - background-color: #FF3B30; -} - -.section { - padding: 30px 0; - position: relative; - background-color: #FFFFFF; -} - -.section-gray { - background-color: #EEEEEE; -} - -.section-white { - background-color: #FFFFFF; -} - -.btn-social { - opacity: 0.93; - padding: 8px 9px; -} -.btn-social .fa { - font-size: 18px; - vertical-align: middle; - display: inline-block; -} -.btn-social.btn-round { - padding: 9px 10px; -} -.btn-social.btn-simple { - padding: 9px 5px; - font-size: 16px; -} -.btn-social.btn-simple .fa { - font-size: 20px; - position: relative; - top: -2px; - width: 24px; -} - -.btn-facebook { - border-color: #3b5998; - color: #3b5998; -} -.btn-facebook:hover, .btn-facebook:focus, .btn-facebook:active, .btn-facebook.active, .open > .btn-facebook.dropdown-toggle { - background-color: transparent; - color: #3b5998; - border-color: #3b5998; - opacity: 1; -} -.btn-facebook:disabled, .btn-facebook[disabled], .btn-facebook.disabled { - background-color: transparent; - border-color: #3b5998; -} -.btn-facebook.btn-fill { - color: #FFFFFF; - background-color: #3b5998; - opacity: 0.9; -} -.btn-facebook.btn-fill:hover, .btn-facebook.btn-fill:focus, .btn-facebook.btn-fill:active, .btn-facebook.btn-fill.active, .open > .btn-facebook.btn-fill.dropdown-toggle { - background-color: #3b5998; - color: #FFFFFF; - opacity: 1; -} - -.btn-twitter { - border-color: #55acee; - color: #55acee; -} -.btn-twitter:hover, .btn-twitter:focus, .btn-twitter:active, .btn-twitter.active, .open > .btn-twitter.dropdown-toggle { - background-color: transparent; - color: #55acee; - border-color: #55acee; - opacity: 1; -} -.btn-twitter:disabled, .btn-twitter[disabled], .btn-twitter.disabled { - background-color: transparent; - border-color: #55acee; -} -.btn-twitter.btn-fill { - color: #FFFFFF; - background-color: #55acee; - opacity: 0.9; -} -.btn-twitter.btn-fill:hover, .btn-twitter.btn-fill:focus, .btn-twitter.btn-fill:active, .btn-twitter.btn-fill.active, .open > .btn-twitter.btn-fill.dropdown-toggle { - background-color: #55acee; - color: #FFFFFF; - opacity: 1; -} - -.btn-pinterest { - border-color: #cc2127; - color: #cc2127; -} -.btn-pinterest:hover, .btn-pinterest:focus, .btn-pinterest:active, .btn-pinterest.active, .open > .btn-pinterest.dropdown-toggle { - background-color: transparent; - color: #cc2127; - border-color: #cc2127; - opacity: 1; -} -.btn-pinterest:disabled, .btn-pinterest[disabled], .btn-pinterest.disabled { - background-color: transparent; - border-color: #cc2127; -} -.btn-pinterest.btn-fill { - color: #FFFFFF; - background-color: #cc2127; - opacity: 0.9; -} -.btn-pinterest.btn-fill:hover, .btn-pinterest.btn-fill:focus, .btn-pinterest.btn-fill:active, .btn-pinterest.btn-fill.active, .open > .btn-pinterest.btn-fill.dropdown-toggle { - background-color: #cc2127; - color: #FFFFFF; - opacity: 1; -} - -.btn-google { - border-color: #dd4b39; - color: #dd4b39; -} -.btn-google:hover, .btn-google:focus, .btn-google:active, .btn-google.active, .open > .btn-google.dropdown-toggle { - background-color: transparent; - color: #dd4b39; - border-color: #dd4b39; - opacity: 1; -} -.btn-google:disabled, .btn-google[disabled], .btn-google.disabled { - background-color: transparent; - border-color: #dd4b39; -} -.btn-google.btn-fill { - color: #FFFFFF; - background-color: #dd4b39; - opacity: 0.9; -} -.btn-google.btn-fill:hover, .btn-google.btn-fill:focus, .btn-google.btn-fill:active, .btn-google.btn-fill.active, .open > .btn-google.btn-fill.dropdown-toggle { - background-color: #dd4b39; - color: #FFFFFF; - opacity: 1; -} - -.btn-linkedin { - border-color: #0976b4; - color: #0976b4; -} -.btn-linkedin:hover, .btn-linkedin:focus, .btn-linkedin:active, .btn-linkedin.active, .open > .btn-linkedin.dropdown-toggle { - background-color: transparent; - color: #0976b4; - border-color: #0976b4; - opacity: 1; -} -.btn-linkedin:disabled, .btn-linkedin[disabled], .btn-linkedin.disabled { - background-color: transparent; - border-color: #0976b4; -} -.btn-linkedin.btn-fill { - color: #FFFFFF; - background-color: #0976b4; - opacity: 0.9; -} -.btn-linkedin.btn-fill:hover, .btn-linkedin.btn-fill:focus, .btn-linkedin.btn-fill:active, .btn-linkedin.btn-fill.active, .open > .btn-linkedin.btn-fill.dropdown-toggle { - background-color: #0976b4; - color: #FFFFFF; - opacity: 1; -} - -.btn-dribbble { - border-color: #ea4c89; - color: #ea4c89; -} -.btn-dribbble:hover, .btn-dribbble:focus, .btn-dribbble:active, .btn-dribbble.active, .open > .btn-dribbble.dropdown-toggle { - background-color: transparent; - color: #ea4c89; - border-color: #ea4c89; - opacity: 1; -} -.btn-dribbble:disabled, .btn-dribbble[disabled], .btn-dribbble.disabled { - background-color: transparent; - border-color: #ea4c89; -} -.btn-dribbble.btn-fill { - color: #FFFFFF; - background-color: #ea4c89; - opacity: 0.9; -} -.btn-dribbble.btn-fill:hover, .btn-dribbble.btn-fill:focus, .btn-dribbble.btn-fill:active, .btn-dribbble.btn-fill.active, .open > .btn-dribbble.btn-fill.dropdown-toggle { - background-color: #ea4c89; - color: #FFFFFF; - opacity: 1; -} - -.btn-github { - border-color: #333333; - color: #333333; -} -.btn-github:hover, .btn-github:focus, .btn-github:active, .btn-github.active, .open > .btn-github.dropdown-toggle { - background-color: transparent; - color: #333333; - border-color: #333333; - opacity: 1; -} -.btn-github:disabled, .btn-github[disabled], .btn-github.disabled { - background-color: transparent; - border-color: #333333; -} -.btn-github.btn-fill { - color: #FFFFFF; - background-color: #333333; - opacity: 0.9; -} -.btn-github.btn-fill:hover, .btn-github.btn-fill:focus, .btn-github.btn-fill:active, .btn-github.btn-fill.active, .open > .btn-github.btn-fill.dropdown-toggle { - background-color: #333333; - color: #FFFFFF; - opacity: 1; -} - -.btn-youtube { - border-color: #e52d27; - color: #e52d27; -} -.btn-youtube:hover, .btn-youtube:focus, .btn-youtube:active, .btn-youtube.active, .open > .btn-youtube.dropdown-toggle { - background-color: transparent; - color: #e52d27; - border-color: #e52d27; - opacity: 1; -} -.btn-youtube:disabled, .btn-youtube[disabled], .btn-youtube.disabled { - background-color: transparent; - border-color: #e52d27; -} -.btn-youtube.btn-fill { - color: #FFFFFF; - background-color: #e52d27; - opacity: 0.9; -} -.btn-youtube.btn-fill:hover, .btn-youtube.btn-fill:focus, .btn-youtube.btn-fill:active, .btn-youtube.btn-fill.active, .open > .btn-youtube.btn-fill.dropdown-toggle { - background-color: #e52d27; - color: #FFFFFF; - opacity: 1; -} - -.btn-stumbleupon { - border-color: #eb4924; - color: #eb4924; -} -.btn-stumbleupon:hover, .btn-stumbleupon:focus, .btn-stumbleupon:active, .btn-stumbleupon.active, .open > .btn-stumbleupon.dropdown-toggle { - background-color: transparent; - color: #eb4924; - border-color: #eb4924; - opacity: 1; -} -.btn-stumbleupon:disabled, .btn-stumbleupon[disabled], .btn-stumbleupon.disabled { - background-color: transparent; - border-color: #eb4924; -} -.btn-stumbleupon.btn-fill { - color: #FFFFFF; - background-color: #eb4924; - opacity: 0.9; -} -.btn-stumbleupon.btn-fill:hover, .btn-stumbleupon.btn-fill:focus, .btn-stumbleupon.btn-fill:active, .btn-stumbleupon.btn-fill.active, .open > .btn-stumbleupon.btn-fill.dropdown-toggle { - background-color: #eb4924; - color: #FFFFFF; - opacity: 1; -} - -.btn-reddit { - border-color: #ff4500; - color: #ff4500; -} -.btn-reddit:hover, .btn-reddit:focus, .btn-reddit:active, .btn-reddit.active, .open > .btn-reddit.dropdown-toggle { - background-color: transparent; - color: #ff4500; - border-color: #ff4500; - opacity: 1; -} -.btn-reddit:disabled, .btn-reddit[disabled], .btn-reddit.disabled { - background-color: transparent; - border-color: #ff4500; -} -.btn-reddit.btn-fill { - color: #FFFFFF; - background-color: #ff4500; - opacity: 0.9; -} -.btn-reddit.btn-fill:hover, .btn-reddit.btn-fill:focus, .btn-reddit.btn-fill:active, .btn-reddit.btn-fill.active, .open > .btn-reddit.btn-fill.dropdown-toggle { - background-color: #ff4500; - color: #FFFFFF; - opacity: 1; -} - -.btn-tumblr { - border-color: #35465c; - color: #35465c; -} -.btn-tumblr:hover, .btn-tumblr:focus, .btn-tumblr:active, .btn-tumblr.active, .open > .btn-tumblr.dropdown-toggle { - background-color: transparent; - color: #35465c; - border-color: #35465c; - opacity: 1; -} -.btn-tumblr:disabled, .btn-tumblr[disabled], .btn-tumblr.disabled { - background-color: transparent; - border-color: #35465c; -} -.btn-tumblr.btn-fill { - color: #FFFFFF; - background-color: #35465c; - opacity: 0.9; -} -.btn-tumblr.btn-fill:hover, .btn-tumblr.btn-fill:focus, .btn-tumblr.btn-fill:active, .btn-tumblr.btn-fill.active, .open > .btn-tumblr.btn-fill.dropdown-toggle { - background-color: #35465c; - color: #FFFFFF; - opacity: 1; -} - -.btn-behance { - border-color: #1769ff; - color: #1769ff; -} -.btn-behance:hover, .btn-behance:focus, .btn-behance:active, .btn-behance.active, .open > .btn-behance.dropdown-toggle { - background-color: transparent; - color: #1769ff; - border-color: #1769ff; - opacity: 1; -} -.btn-behance:disabled, .btn-behance[disabled], .btn-behance.disabled { - background-color: transparent; - border-color: #1769ff; -} -.btn-behance.btn-fill { - color: #FFFFFF; - background-color: #1769ff; - opacity: 0.9; -} -.btn-behance.btn-fill:hover, .btn-behance.btn-fill:focus, .btn-behance.btn-fill:active, .btn-behance.btn-fill.active, .open > .btn-behance.btn-fill.dropdown-toggle { - background-color: #1769ff; - color: #FFFFFF; - opacity: 1; -} - -.card { - border-radius: 6px; - box-shadow: 0 1px 4px rgba(0, 0, 0, 0.23); - background-color: #FFFFFF; - margin-bottom: 20px; - position: relative; - max-width: 320px; - margin-left: auto; - margin-right: auto; -} -.card .title, -.card .stats, -.card .category, -.card .description, -.card .social-line, -.card .actions, -.card .content, -.card .footer, -.card small, -.card a { - position: relative; - z-index: 3; -} -.card a { - color: #444444; -} -.card a:hover, .card a:focus { - color: #333333; -} -.card[data-radius="none"] { - border-radius: 0px; -} -.card[data-radius="none"] .header { - border-radius: 0px 0px 0 0; -} -.card[data-radius="none"] .header img { - border-radius: 0px 0px 0 0; -} -.card.card-plain { - box-shadow: none; -} -.card .btn { - text-shadow: none; - font-weight: bold; -} -.card .title-uppercase { - text-transform: uppercase; -} -.card .header { - position: relative; - border-radius: 6px 6px 0 0; - height: 200px; - z-index: 3; -} -.card .header img { - opacity: 0; - filter: alpha(opacity=0); - display: none; -} -.card .header .category { - padding: 15px; -} -.card .header .social-line { - position: absolute; - bottom: 0; - width: 100%; - opacity: 0; - filter: alpha(opacity=0); - display: block; - transition: all 0.4s; - -webkit-transition: all 0.4s; -} -.card .header .social-line .btn, -.card .header .social-line a { - font-family: "Roboto","Helvetica","Arial", sans-serif; - font-weight: 400; -} -.card .header .social-line.social-line-visible { - opacity: 1; - filter: alpha(opacity=100); -} -.card .content .price { - border: 2px solid rgba(255, 255, 255, 0.7); - color: white; - border-radius: 50%; - width: 152px; - height: 152px; - margin: 50px auto; - text-align: center; - vertical-align: middle; - line-height: 200px; -} -.card .content .price h4 { - margin: 5px 0 0; - font-size: 36px; -} -.card .content .price h6 { - margin-top: 45px; - font-size: 16px; -} -.card .content .price .currency { - font-size: 22px; - font-weight: normal; -} -.card .actions { - padding: 10px 15px; -} -.card .social-line .btn { - float: left; - display: block; - transition: all 0.2s; - -webkit-transition: all 0.2s; -} -.card .social-line .btn-social { - border: 1px solid #EEEEEE; - border-radius: 0; - border-left: 0; - background-color: #FFFFFF; - padding: 12px 4px; -} -.card .social-line .btn-social:last-child { - border-right: 0; -} -.card .social-line[data-buttons="5"] .btn { - width: 20%; -} -.card .social-line[data-buttons="4"] .btn { - width: 25%; -} -.card .social-line[data-buttons="3"] .btn { - width: 33.3333333%; -} -.card .social-line[data-buttons="2"] .btn { - width: 50%; -} -.card .social-line:after { - clear: both; - display: table; - content: " "; -} -.card .filter, -.card .header .actions { - position: absolute; - z-index: 2; - background-color: rgba(0, 0, 0, 0.76); - top: 0; - left: 0; - width: 100%; - height: 100%; - text-align: center; - opacity: 0; - filter: alpha(opacity=0); -} -.card .header .actions { - background-color: transparent; - z-index: 3; -} -.card .header .actions .btn { - position: relative; - top: 50%; - -webkit-transform: translateY(-50%); - -ms-transform: translateY(-50%); - transform: translateY(-50%); -} -.card:hover .filter { - opacity: 0.7; - filter: alpha(opacity=70); -} -.card:hover .header .social-line, -.card:hover .header .actions { - opacity: 1; - filter: alpha(opacity=100); -} -.card .category, -.card .label { - font-size: 14px; - margin-bottom: 0px; -} -.card .category i, -.card .label i { - font-size: 16px; -} -.card .category { - color: #9A9A9A; -} -.card .label { - text-shadow: none; -} -.card .title { - color: #333333; -} -.card > .title { - margin: 0; - padding: 30px 0 0; -} -.card .content { - padding: 15px 15px 5px 15px; -} -.card .content .title { - margin: 10px 0 20px 0; -} -.card .content .category ~ .title { - margin-top: 0px; -} -.card .content .description ~ .title { - margin-top: -10px; -} -.card .description { - font-size: 16px; - color: #9A9A9A; -} -.card h6 { - font-size: 12px; - margin: 0; -} -.card .footer { - padding: 0 15px 15px; -} -.card .footer .social-line .btn:first-child { - border-radius: 0 0 0 6px; -} -.card .footer .social-line .btn:last-child { - border-radius: 0 0 6px 0; -} -.card.card-separator:after { - height: 100%; - right: -15px; - top: 0; - width: 1px; - background-color: #DDDDDD; - content: ""; - position: absolute; -} -.card .icon { - display: block; - margin: 0 auto; - top: 50%; - position: relative; - transform: translateY(-50%); - -webkit-transform: translateY(-50%); - text-align: center; -} -.card .icon i { - font-size: 60px; - border: 2px solid rgba(0, 0, 0, 0.3); - padding: 18px; - border-radius: 50%; -} -.col-lg-4 .card .icon i { - font-size: 80px; - padding: 22px; -} -.card.card-with-border .content { - padding: 15px 15px 25px 15px; -} -.card.card-with-border .footer { - padding-bottom: 25px; -} -.card.card-with-border:after { - position: absolute; - display: block; - width: calc(100% - 10px); - height: calc(100% - 10px); - content: ""; - top: 5px; - left: 5px; - border: 1px solid rgba(0, 0, 0, 0.15); - z-index: 1; - border-radius: 5px; -} -.card.card-just-text .content { - padding: 50px 65px; - text-align: center; -} -.card[data-background="image"] .image, .card[data-background="color"] .image { - border-radius: 6px; -} -.card[data-background="image"] .title, .card[data-background="color"] .title { - font-weight: bold; -} -.card[data-background="image"] .filter, .card[data-background="color"] .filter { - border-radius: 6px; -} -.card[data-background="image"] .title, -.card[data-background="image"] .stats, -.card[data-background="image"] .category, -.card[data-background="image"] .description, -.card[data-background="image"] .content, -.card[data-background="image"] .footer, -.card[data-background="image"] small, -.card[data-background="image"] a, .card[data-background="color"] .title, -.card[data-background="color"] .stats, -.card[data-background="color"] .category, -.card[data-background="color"] .description, -.card[data-background="color"] .content, -.card[data-background="color"] .footer, -.card[data-background="color"] small, -.card[data-background="color"] a { - color: #FFFFFF; -} -.card[data-background="image"] a:hover, -.card[data-background="image"] a:focus, .card[data-background="color"] a:hover, -.card[data-background="color"] a:focus { - color: #FFFFFF; -} -.card[data-background="image"] .icon i, .card[data-background="color"] .icon i { - color: #FFFFFF; - border: 2px solid rgba(255, 255, 255, 0.6); -} -.card[data-background="image"].card-with-border:after, .card[data-background="color"].card-with-border:after { - border: 1px solid rgba(255, 255, 255, 0.45); -} -.card[data-background="image"] { - text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5); -} -.card[data-background="image"] .filter { - opacity: 0.55; - filter: alpha(opacity=55.0); -} -.card[data-background="image"]:hover .filter { - opacity: 0.75; - filter: alpha(opacity=75); -} -.card[data-color="blue"] { - background: #4087ea; - background: -moz-radial-gradient(center, ellipse cover, #533ce1 0%, #4087ea 100%); - /* FF3.6+ */ - background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #533ce1), color-stop(100%, #4087ea)); - /* Chrome,Safari4+ */ - background: -webkit-radial-gradient(center, ellipse cover, #533ce1 0%, #4087ea 100%); - /* Chrome10+,Safari5.1+ */ - background: -o-radial-gradient(center, ellipse cover, #533ce1 0%, #4087ea 100%); - /* Opera 12+ */ - background: -ms-radial-gradient(center, ellipse cover, #533ce1 0%, #4087ea 100%); - /* IE10+ */ - background: radial-gradient(ellipse at center, #533ce1 0%, #4087ea 100%); - /* W3C */ - background-size: 250% 250%; -} -.card[data-color="azure"] { - background: #45c0fd; - background: -moz-radial-gradient(center, ellipse cover, #4091ff 0%, #45c0fd 100%); - /* FF3.6+ */ - background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #4091ff), color-stop(100%, #45c0fd)); - /* Chrome,Safari4+ */ - background: -webkit-radial-gradient(center, ellipse cover, #4091ff 0%, #45c0fd 100%); - /* Chrome10+,Safari5.1+ */ - background: -o-radial-gradient(center, ellipse cover, #4091ff 0%, #45c0fd 100%); - /* Opera 12+ */ - background: -ms-radial-gradient(center, ellipse cover, #4091ff 0%, #45c0fd 100%); - /* IE10+ */ - background: radial-gradient(ellipse at center, #4091ff 0%, #45c0fd 100%); - /* W3C */ - background-size: 250% 250%; -} -.card[data-color="green"] { - background: #a1eb3a; - background: -moz-radial-gradient(center, ellipse cover, #53A319 0%, #a1eb3a 100%); - /* FF3.6+ */ - background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #53A319), color-stop(100%, #a1eb3a)); - /* Chrome,Safari4+ */ - background: -webkit-radial-gradient(center, ellipse cover, #53A319 0%, #a1eb3a 100%); - /* Chrome10+,Safari5.1+ */ - background: -o-radial-gradient(center, ellipse cover, #53A319 0%, #a1eb3a 100%); - /* Opera 12+ */ - background: -ms-radial-gradient(center, ellipse cover, #53A319 0%, #a1eb3a 100%); - /* IE10+ */ - background: radial-gradient(ellipse at center, #53A319 0%, #a1eb3a 100%); - /* W3C */ - background-size: 250% 250%; -} -.card[data-color="orange"] { - background: #ffb33b; - background: -moz-radial-gradient(center, ellipse cover, #ff5221 0%, #ffb33b 100%); - /* FF3.6+ */ - background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #ff5221), color-stop(100%, #ffb33b)); - /* Chrome,Safari4+ */ - background: -webkit-radial-gradient(center, ellipse cover, #ff5221 0%, #ffb33b 100%); - /* Chrome10+,Safari5.1+ */ - background: -o-radial-gradient(center, ellipse cover, #ff5221 0%, #ffb33b 100%); - /* Opera 12+ */ - background: -ms-radial-gradient(center, ellipse cover, #ff5221 0%, #ffb33b 100%); - /* IE10+ */ - background: radial-gradient(ellipse at center, #ff5221 0%, #ffb33b 100%); - /* W3C */ - background-size: 250% 250%; -} -.card[data-color="red"] { - background: #ff3b30; - background: -moz-radial-gradient(center, ellipse cover, #bb0502 0%, #ff3b30 100%); - /* FF3.6+ */ - background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #bb0502), color-stop(100%, #ff3b30)); - /* Chrome,Safari4+ */ - background: -webkit-radial-gradient(center, ellipse cover, #bb0502 0%, #ff3b30 100%); - /* Chrome10+,Safari5.1+ */ - background: -o-radial-gradient(center, ellipse cover, #bb0502 0%, #ff3b30 100%); - /* Opera 12+ */ - background: -ms-radial-gradient(center, ellipse cover, #bb0502 0%, #ff3b30 100%); - /* IE10+ */ - background: radial-gradient(ellipse at center, #bb0502 0%, #ff3b30 100%); - /* W3C */ - background-size: 250% 250%; -} -.card[data-color="black"] { - background: #787878; - background: -moz-radial-gradient(center, ellipse cover, #343434 0%, #787878 100%); - /* FF3.6+ */ - background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #343434), color-stop(100%, #787878)); - /* Chrome,Safari4+ */ - background: -webkit-radial-gradient(center, ellipse cover, #343434 0%, #787878 100%); - /* Chrome10+,Safari5.1+ */ - background: -o-radial-gradient(center, ellipse cover, #343434 0%, #787878 100%); - /* Opera 12+ */ - background: -ms-radial-gradient(center, ellipse cover, #343434 0%, #787878 100%); - /* IE10+ */ - background: radial-gradient(ellipse at center, #343434 0%, #787878 100%); - /* W3C */ - background-size: 250% 250%; -} - -.filter.filter-white { - background-color: rgba(255, 255, 255, 0.91); -} - -.filter.filter-blue { - background: #4087ea; - background: -moz-radial-gradient(center, ellipse cover, #533ce1 0%, #4087ea 100%); - /* FF3.6+ */ - background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #533ce1), color-stop(100%, #4087ea)); - /* Chrome,Safari4+ */ - background: -webkit-radial-gradient(center, ellipse cover, #533ce1 0%, #4087ea 100%); - /* Chrome10+,Safari5.1+ */ - background: -o-radial-gradient(center, ellipse cover, #533ce1 0%, #4087ea 100%); - /* Opera 12+ */ - background: -ms-radial-gradient(center, ellipse cover, #533ce1 0%, #4087ea 100%); - /* IE10+ */ - background: radial-gradient(ellipse at center, #533ce1 0%, #4087ea 100%); - /* W3C */ - background-size: 250% 250%; -} - -.filter.filter-azure { - background: #45c0fd; - background: -moz-radial-gradient(center, ellipse cover, #4091ff 0%, #45c0fd 100%); - /* FF3.6+ */ - background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #4091ff), color-stop(100%, #45c0fd)); - /* Chrome,Safari4+ */ - background: -webkit-radial-gradient(center, ellipse cover, #4091ff 0%, #45c0fd 100%); - /* Chrome10+,Safari5.1+ */ - background: -o-radial-gradient(center, ellipse cover, #4091ff 0%, #45c0fd 100%); - /* Opera 12+ */ - background: -ms-radial-gradient(center, ellipse cover, #4091ff 0%, #45c0fd 100%); - /* IE10+ */ - background: radial-gradient(ellipse at center, #4091ff 0%, #45c0fd 100%); - /* W3C */ - background-size: 250% 250%; -} - -.filter.filter-green { - background: #a1eb3a; - background: -moz-radial-gradient(center, ellipse cover, #53A319 0%, #a1eb3a 100%); - /* FF3.6+ */ - background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #53A319), color-stop(100%, #a1eb3a)); - /* Chrome,Safari4+ */ - background: -webkit-radial-gradient(center, ellipse cover, #53A319 0%, #a1eb3a 100%); - /* Chrome10+,Safari5.1+ */ - background: -o-radial-gradient(center, ellipse cover, #53A319 0%, #a1eb3a 100%); - /* Opera 12+ */ - background: -ms-radial-gradient(center, ellipse cover, #53A319 0%, #a1eb3a 100%); - /* IE10+ */ - background: radial-gradient(ellipse at center, #53A319 0%, #a1eb3a 100%); - /* W3C */ - background-size: 250% 250%; -} - -.filter.filter-orange { - background: #ffb33b; - background: -moz-radial-gradient(center, ellipse cover, #ff5221 0%, #ffb33b 100%); - /* FF3.6+ */ - background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #ff5221), color-stop(100%, #ffb33b)); - /* Chrome,Safari4+ */ - background: -webkit-radial-gradient(center, ellipse cover, #ff5221 0%, #ffb33b 100%); - /* Chrome10+,Safari5.1+ */ - background: -o-radial-gradient(center, ellipse cover, #ff5221 0%, #ffb33b 100%); - /* Opera 12+ */ - background: -ms-radial-gradient(center, ellipse cover, #ff5221 0%, #ffb33b 100%); - /* IE10+ */ - background: radial-gradient(ellipse at center, #ff5221 0%, #ffb33b 100%); - /* W3C */ - background-size: 250% 250%; -} - -.filter.filter-red { - background: #ff3b30; - background: -moz-radial-gradient(center, ellipse cover, #bb0502 0%, #ff3b30 100%); - /* FF3.6+ */ - background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #bb0502), color-stop(100%, #ff3b30)); - /* Chrome,Safari4+ */ - background: -webkit-radial-gradient(center, ellipse cover, #bb0502 0%, #ff3b30 100%); - /* Chrome10+,Safari5.1+ */ - background: -o-radial-gradient(center, ellipse cover, #bb0502 0%, #ff3b30 100%); - /* Opera 12+ */ - background: -ms-radial-gradient(center, ellipse cover, #bb0502 0%, #ff3b30 100%); - /* IE10+ */ - background: radial-gradient(ellipse at center, #bb0502 0%, #ff3b30 100%); - /* W3C */ - background-size: 250% 250%; -} - -@media (min-width: 1200px) { - .card .header { - height: 265px; - } - .card[data-background="color"] .header { - height: 230px; - } - - .col-md-3 .card .header, - .col-sm-3 .card .header, - .col-xs-3 .card .header, - .col-lg-3 .card .header { - height: 185px; - } -} -/* Changes for small display */ -@media (max-width: 767px) { - .navbar-transparent { - padding-top: 15px; - background-color: rgba(0, 0, 0, 0.45); - } - - body { - position: relative; - } - - .social-line .btn { - margin: 0 0 10px 0; - } - - .card .header .social-line .btn { - margin: 0; - } -} diff --git a/minionlivesmatter/templates/assets/css/pe-icon-7-stroke.css b/minionlivesmatter/templates/assets/css/pe-icon-7-stroke.css deleted file mode 100755 index 44bcbaa..0000000 --- a/minionlivesmatter/templates/assets/css/pe-icon-7-stroke.css +++ /dev/null @@ -1,632 +0,0 @@ -@font-face { - font-family: 'Pe-icon-7-stroke'; - src:url('../fonts/Pe-icon-7-stroke.eot?d7yf1v'); - src:url('../fonts/Pe-icon-7-stroke.eot?#iefixd7yf1v') format('embedded-opentype'), - url('../fonts/Pe-icon-7-stroke.woff?d7yf1v') format('woff'), - url('../fonts/Pe-icon-7-stroke.ttf?d7yf1v') format('truetype'), - url('../fonts/Pe-icon-7-stroke.svg?d7yf1v#Pe-icon-7-stroke') format('svg'); - font-weight: normal; - font-style: normal; -} - -[class^="pe-7s-"], [class*=" pe-7s-"] { - display: inline-block; - font-family: 'Pe-icon-7-stroke'; - speak: none; - font-style: normal; - font-weight: normal; - font-variant: normal; - text-transform: none; - line-height: 1; - - /* Better Font Rendering =========== */ - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.pe-7s-album:before { - content: "\e6aa"; -} -.pe-7s-arc:before { - content: "\e6ab"; -} -.pe-7s-back-2:before { - content: "\e6ac"; -} -.pe-7s-bandaid:before { - content: "\e6ad"; -} -.pe-7s-car:before { - content: "\e6ae"; -} -.pe-7s-diamond:before { - content: "\e6af"; -} -.pe-7s-door-lock:before { - content: "\e6b0"; -} -.pe-7s-eyedropper:before { - content: "\e6b1"; -} -.pe-7s-female:before { - content: "\e6b2"; -} -.pe-7s-gym:before { - content: "\e6b3"; -} -.pe-7s-hammer:before { - content: "\e6b4"; -} -.pe-7s-headphones:before { - content: "\e6b5"; -} -.pe-7s-helm:before { - content: "\e6b6"; -} -.pe-7s-hourglass:before { - content: "\e6b7"; -} -.pe-7s-leaf:before { - content: "\e6b8"; -} -.pe-7s-magic-wand:before { - content: "\e6b9"; -} -.pe-7s-male:before { - content: "\e6ba"; -} -.pe-7s-map-2:before { - content: "\e6bb"; -} -.pe-7s-next-2:before { - content: "\e6bc"; -} -.pe-7s-paint-bucket:before { - content: "\e6bd"; -} -.pe-7s-pendrive:before { - content: "\e6be"; -} -.pe-7s-photo:before { - content: "\e6bf"; -} -.pe-7s-piggy:before { - content: "\e6c0"; -} -.pe-7s-plugin:before { - content: "\e6c1"; -} -.pe-7s-refresh-2:before { - content: "\e6c2"; -} -.pe-7s-rocket:before { - content: "\e6c3"; -} -.pe-7s-settings:before { - content: "\e6c4"; -} -.pe-7s-shield:before { - content: "\e6c5"; -} -.pe-7s-smile:before { - content: "\e6c6"; -} -.pe-7s-usb:before { - content: "\e6c7"; -} -.pe-7s-vector:before { - content: "\e6c8"; -} -.pe-7s-wine:before { - content: "\e6c9"; -} -.pe-7s-cloud-upload:before { - content: "\e68a"; -} -.pe-7s-cash:before { - content: "\e68c"; -} -.pe-7s-close:before { - content: "\e680"; -} -.pe-7s-bluetooth:before { - content: "\e68d"; -} -.pe-7s-cloud-download:before { - content: "\e68b"; -} -.pe-7s-way:before { - content: "\e68e"; -} -.pe-7s-close-circle:before { - content: "\e681"; -} -.pe-7s-id:before { - content: "\e68f"; -} -.pe-7s-angle-up:before { - content: "\e682"; -} -.pe-7s-wristwatch:before { - content: "\e690"; -} -.pe-7s-angle-up-circle:before { - content: "\e683"; -} -.pe-7s-world:before { - content: "\e691"; -} -.pe-7s-angle-right:before { - content: "\e684"; -} -.pe-7s-volume:before { - content: "\e692"; -} -.pe-7s-angle-right-circle:before { - content: "\e685"; -} -.pe-7s-users:before { - content: "\e693"; -} -.pe-7s-angle-left:before { - content: "\e686"; -} -.pe-7s-user-female:before { - content: "\e694"; -} -.pe-7s-angle-left-circle:before { - content: "\e687"; -} -.pe-7s-up-arrow:before { - content: "\e695"; -} -.pe-7s-angle-down:before { - content: "\e688"; -} -.pe-7s-switch:before { - content: "\e696"; -} -.pe-7s-angle-down-circle:before { - content: "\e689"; -} -.pe-7s-scissors:before { - content: "\e697"; -} -.pe-7s-wallet:before { - content: "\e600"; -} -.pe-7s-safe:before { - content: "\e698"; -} -.pe-7s-volume2:before { - content: "\e601"; -} -.pe-7s-volume1:before { - content: "\e602"; -} -.pe-7s-voicemail:before { - content: "\e603"; -} -.pe-7s-video:before { - content: "\e604"; -} -.pe-7s-user:before { - content: "\e605"; -} -.pe-7s-upload:before { - content: "\e606"; -} -.pe-7s-unlock:before { - content: "\e607"; -} -.pe-7s-umbrella:before { - content: "\e608"; -} -.pe-7s-trash:before { - content: "\e609"; -} -.pe-7s-tools:before { - content: "\e60a"; -} -.pe-7s-timer:before { - content: "\e60b"; -} -.pe-7s-ticket:before { - content: "\e60c"; -} -.pe-7s-target:before { - content: "\e60d"; -} -.pe-7s-sun:before { - content: "\e60e"; -} -.pe-7s-study:before { - content: "\e60f"; -} -.pe-7s-stopwatch:before { - content: "\e610"; -} -.pe-7s-star:before { - content: "\e611"; -} -.pe-7s-speaker:before { - content: "\e612"; -} -.pe-7s-signal:before { - content: "\e613"; -} -.pe-7s-shuffle:before { - content: "\e614"; -} -.pe-7s-shopbag:before { - content: "\e615"; -} -.pe-7s-share:before { - content: "\e616"; -} -.pe-7s-server:before { - content: "\e617"; -} -.pe-7s-search:before { - content: "\e618"; -} -.pe-7s-film:before { - content: "\e6a5"; -} -.pe-7s-science:before { - content: "\e619"; -} -.pe-7s-disk:before { - content: "\e6a6"; -} -.pe-7s-ribbon:before { - content: "\e61a"; -} -.pe-7s-repeat:before { - content: "\e61b"; -} -.pe-7s-refresh:before { - content: "\e61c"; -} -.pe-7s-add-user:before { - content: "\e6a9"; -} -.pe-7s-refresh-cloud:before { - content: "\e61d"; -} -.pe-7s-paperclip:before { - content: "\e69c"; -} -.pe-7s-radio:before { - content: "\e61e"; -} -.pe-7s-note2:before { - content: "\e69d"; -} -.pe-7s-print:before { - content: "\e61f"; -} -.pe-7s-network:before { - content: "\e69e"; -} -.pe-7s-prev:before { - content: "\e620"; -} -.pe-7s-mute:before { - content: "\e69f"; -} -.pe-7s-power:before { - content: "\e621"; -} -.pe-7s-medal:before { - content: "\e6a0"; -} -.pe-7s-portfolio:before { - content: "\e622"; -} -.pe-7s-like2:before { - content: "\e6a1"; -} -.pe-7s-plus:before { - content: "\e623"; -} -.pe-7s-left-arrow:before { - content: "\e6a2"; -} -.pe-7s-play:before { - content: "\e624"; -} -.pe-7s-key:before { - content: "\e6a3"; -} -.pe-7s-plane:before { - content: "\e625"; -} -.pe-7s-joy:before { - content: "\e6a4"; -} -.pe-7s-photo-gallery:before { - content: "\e626"; -} -.pe-7s-pin:before { - content: "\e69b"; -} -.pe-7s-phone:before { - content: "\e627"; -} -.pe-7s-plug:before { - content: "\e69a"; -} -.pe-7s-pen:before { - content: "\e628"; -} -.pe-7s-right-arrow:before { - content: "\e699"; -} -.pe-7s-paper-plane:before { - content: "\e629"; -} -.pe-7s-delete-user:before { - content: "\e6a7"; -} -.pe-7s-paint:before { - content: "\e62a"; -} -.pe-7s-bottom-arrow:before { - content: "\e6a8"; -} -.pe-7s-notebook:before { - content: "\e62b"; -} -.pe-7s-note:before { - content: "\e62c"; -} -.pe-7s-next:before { - content: "\e62d"; -} -.pe-7s-news-paper:before { - content: "\e62e"; -} -.pe-7s-musiclist:before { - content: "\e62f"; -} -.pe-7s-music:before { - content: "\e630"; -} -.pe-7s-mouse:before { - content: "\e631"; -} -.pe-7s-more:before { - content: "\e632"; -} -.pe-7s-moon:before { - content: "\e633"; -} -.pe-7s-monitor:before { - content: "\e634"; -} -.pe-7s-micro:before { - content: "\e635"; -} -.pe-7s-menu:before { - content: "\e636"; -} -.pe-7s-map:before { - content: "\e637"; -} -.pe-7s-map-marker:before { - content: "\e638"; -} -.pe-7s-mail:before { - content: "\e639"; -} -.pe-7s-mail-open:before { - content: "\e63a"; -} -.pe-7s-mail-open-file:before { - content: "\e63b"; -} -.pe-7s-magnet:before { - content: "\e63c"; -} -.pe-7s-loop:before { - content: "\e63d"; -} -.pe-7s-look:before { - content: "\e63e"; -} -.pe-7s-lock:before { - content: "\e63f"; -} -.pe-7s-lintern:before { - content: "\e640"; -} -.pe-7s-link:before { - content: "\e641"; -} -.pe-7s-like:before { - content: "\e642"; -} -.pe-7s-light:before { - content: "\e643"; -} -.pe-7s-less:before { - content: "\e644"; -} -.pe-7s-keypad:before { - content: "\e645"; -} -.pe-7s-junk:before { - content: "\e646"; -} -.pe-7s-info:before { - content: "\e647"; -} -.pe-7s-home:before { - content: "\e648"; -} -.pe-7s-help2:before { - content: "\e649"; -} -.pe-7s-help1:before { - content: "\e64a"; -} -.pe-7s-graph3:before { - content: "\e64b"; -} -.pe-7s-graph2:before { - content: "\e64c"; -} -.pe-7s-graph1:before { - content: "\e64d"; -} -.pe-7s-graph:before { - content: "\e64e"; -} -.pe-7s-global:before { - content: "\e64f"; -} -.pe-7s-gleam:before { - content: "\e650"; -} -.pe-7s-glasses:before { - content: "\e651"; -} -.pe-7s-gift:before { - content: "\e652"; -} -.pe-7s-folder:before { - content: "\e653"; -} -.pe-7s-flag:before { - content: "\e654"; -} -.pe-7s-filter:before { - content: "\e655"; -} -.pe-7s-file:before { - content: "\e656"; -} -.pe-7s-expand1:before { - content: "\e657"; -} -.pe-7s-exapnd2:before { - content: "\e658"; -} -.pe-7s-edit:before { - content: "\e659"; -} -.pe-7s-drop:before { - content: "\e65a"; -} -.pe-7s-drawer:before { - content: "\e65b"; -} -.pe-7s-download:before { - content: "\e65c"; -} -.pe-7s-display2:before { - content: "\e65d"; -} -.pe-7s-display1:before { - content: "\e65e"; -} -.pe-7s-diskette:before { - content: "\e65f"; -} -.pe-7s-date:before { - content: "\e660"; -} -.pe-7s-cup:before { - content: "\e661"; -} -.pe-7s-culture:before { - content: "\e662"; -} -.pe-7s-crop:before { - content: "\e663"; -} -.pe-7s-credit:before { - content: "\e664"; -} -.pe-7s-copy-file:before { - content: "\e665"; -} -.pe-7s-config:before { - content: "\e666"; -} -.pe-7s-compass:before { - content: "\e667"; -} -.pe-7s-comment:before { - content: "\e668"; -} -.pe-7s-coffee:before { - content: "\e669"; -} -.pe-7s-cloud:before { - content: "\e66a"; -} -.pe-7s-clock:before { - content: "\e66b"; -} -.pe-7s-check:before { - content: "\e66c"; -} -.pe-7s-chat:before { - content: "\e66d"; -} -.pe-7s-cart:before { - content: "\e66e"; -} -.pe-7s-camera:before { - content: "\e66f"; -} -.pe-7s-call:before { - content: "\e670"; -} -.pe-7s-calculator:before { - content: "\e671"; -} -.pe-7s-browser:before { - content: "\e672"; -} -.pe-7s-box2:before { - content: "\e673"; -} -.pe-7s-box1:before { - content: "\e674"; -} -.pe-7s-bookmarks:before { - content: "\e675"; -} -.pe-7s-bicycle:before { - content: "\e676"; -} -.pe-7s-bell:before { - content: "\e677"; -} -.pe-7s-battery:before { - content: "\e678"; -} -.pe-7s-ball:before { - content: "\e679"; -} -.pe-7s-back:before { - content: "\e67a"; -} -.pe-7s-attention:before { - content: "\e67b"; -} -.pe-7s-anchor:before { - content: "\e67c"; -} -.pe-7s-albums:before { - content: "\e67d"; -} -.pe-7s-alarm:before { - content: "\e67e"; -} -.pe-7s-airplay:before { - content: "\e67f"; -} diff --git a/minionlivesmatter/templates/assets/fonts/Pe-icon-7-stroke.eot b/minionlivesmatter/templates/assets/fonts/Pe-icon-7-stroke.eot Binary files differdeleted file mode 100755 index 6f7b584..0000000 --- a/minionlivesmatter/templates/assets/fonts/Pe-icon-7-stroke.eot +++ /dev/null diff --git a/minionlivesmatter/templates/assets/fonts/Pe-icon-7-stroke.svg b/minionlivesmatter/templates/assets/fonts/Pe-icon-7-stroke.svg deleted file mode 100755 index 13d9709..0000000 --- a/minionlivesmatter/templates/assets/fonts/Pe-icon-7-stroke.svg +++ /dev/null @@ -1,212 +0,0 @@ -<?xml version="1.0" standalone="no"?> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" > -<svg xmlns="http://www.w3.org/2000/svg"> -<metadata>Generated by IcoMoon</metadata> -<defs> -<font id="Pe-icon-7-stroke" horiz-adv-x="512"> -<font-face units-per-em="512" ascent="480" descent="-32" /> -<missing-glyph horiz-adv-x="512" /> -<glyph unicode=" " d="" horiz-adv-x="256" /> -<glyph unicode="" d="M447.892 343.42h-55.412v46.814c0 21.25-17.219 38.486-38.485 38.486h-264.23c-21.241 0-38.485-17.236-38.485-38.486v-358.126c0-7.089 5.739-12.828 12.828-12.828h383.783c7.081 0 12.828 5.739 12.828 12.828v298.483c0.001 7.089-5.746 12.829-12.827 12.829zM89.765 411.66h264.23c11.811 0 21.425-9.613 21.425-21.426v-46.814h-307.080v46.814c0 11.813 9.612 21.426 21.425 21.426zM443.66 36.34h-375.32v290.020h375.32v-290.020zM324.24 181.341c0-23.55 19.101-42.634 42.659-42.634s42.641 19.084 42.641 42.634c0 23.557-19.084 42.65-42.641 42.65s-42.659-19.092-42.659-42.65zM392.48 181.341c0-14.103-11.479-25.574-25.581-25.574-14.111 0-25.599 11.471-25.599 25.574 0 14.111 11.487 25.59 25.599 25.59 14.102 0 25.581-11.478 25.581-25.59z" /> -<glyph unicode="" d="M179.23 266.65v-85.3h69.948l58.002-57.995v201.297l-58.002-58.002h-69.948zM261.24 254.588l28.88 28.88v-118.928l-33.878 33.87h-59.952v51.18h59.953l4.997 4.998zM256 437.25c-117.77 0-213.25-95.48-213.25-213.25 0-117.771 95.48-213.25 213.25-213.25 117.771 0 213.25 95.479 213.25 213.25 0 117.77-95.479 213.25-213.25 213.25zM256 27.81c-108.183 0-196.19 88.015-196.19 196.19 0 108.174 88.007 196.19 196.19 196.19s196.19-88.016 196.19-196.19c0-108.175-88.007-196.19-196.19-196.19z" /> -<glyph unicode="" d="M179.23 266.65v-85.3h69.948l58.002-57.995v201.297l-58.002-58.002h-69.948zM261.24 254.588l28.88 28.88v-118.928l-33.879 33.87h-59.951v51.18h59.952l4.998 4.998zM427.050 351.358l-13.753-10.238c24.415-32.712 38.893-73.255 38.893-117.12s-14.478-84.409-38.893-117.113l13.753-10.238c26.507 35.536 42.2 79.611 42.2 127.35s-15.694 91.823-42.2 127.359zM385.791 127.363c20.167 27.022 32.271 60.401 32.271 96.637s-12.103 69.614-32.271 96.637l-13.661-10.171c18.043-24.174 28.871-54.046 28.871-86.466s-10.82-62.284-28.871-86.467l13.661-10.17zM344.807 157.875c13.803 18.493 22.083 41.326 22.083 66.125s-8.28 47.639-22.083 66.124l-13.661-10.171c11.678-15.644 18.684-34.97 18.684-55.953s-7.006-40.309-18.684-55.953l13.661-10.172zM255.991 27.81c-108.174 0-196.181 88.007-196.181 196.19s88.007 196.19 196.181 196.19c53.912 0 102.752-21.917 138.254-57.228l12.12 12.12c-38.567 38.386-91.671 62.168-150.374 62.168-117.761 0-213.241-95.471-213.241-213.25 0-117.771 95.48-213.25 213.241-213.25 58.703 0 111.807 23.782 150.375 62.167l-12.12 12.129c-35.503-35.32-84.342-57.236-138.255-57.236z" /> -<glyph unicode="" d="M396.745 339.155c-63.592 0-115.155-51.554-115.155-115.155 0-41.55 22.075-77.844 55.062-98.095h-161.304c32.987 20.251 55.062 56.545 55.062 98.095 0 63.601-51.563 115.155-115.155 115.155s-115.155-51.554-115.155-115.155c0-63.6 51.563-115.155 115.155-115.155h281.49c63.592 0 115.155 51.555 115.155 115.155s-51.563 115.155-115.155 115.155zM17.16 224c0 54.087 44.008 98.095 98.095 98.095s98.095-44.008 98.095-98.095-44.008-98.095-98.095-98.095-98.095 44.008-98.095 98.095zM396.745 125.905c-54.087 0-98.095 44.008-98.095 98.095s44.008 98.095 98.095 98.095 98.095-44.008 98.095-98.095-44.008-98.095-98.095-98.095z" /> -<glyph unicode="" d="M450.974 334.89l-109.674-65.957v74.487c0 14.127-11.463 25.59-25.59 25.59h-272.96c-14.144 0-25.59-11.463-25.59-25.59v-238.84c0-14.128 11.446-25.59 25.59-25.59h272.96c14.127 0 25.59 11.462 25.59 25.59v75.903l112.089-67.373h41.451v221.78h-43.866zM324.24 104.58c0-4.707-3.833-8.53-8.53-8.53h-272.96c-4.715 0-8.53 3.823-8.53 8.53v238.84c0 4.706 3.815 8.53 8.53 8.53h272.96c4.697 0 8.53-3.824 8.53-8.53v-238.84zM477.78 130.17h-19.659l-116.821 70.222v48.631l114.405 68.806h22.075v-187.659z" /> -<glyph unicode="" d="M256 428.722c-113.073 0-204.72-91.647-204.72-204.72s91.647-204.723 204.72-204.723 204.72 91.651 204.72 204.723c0 113.073-91.647 204.72-204.72 204.72zM256 411.662c103.477 0 187.66-84.183 187.66-187.66 0-45.524-16.31-87.307-43.383-119.836-18.71 7.813-62.875 23.141-90.215 31.213-2.332 0.733-2.699 0.85-2.699 10.554 0 8.014 3.299 16.085 6.514 22.916 3.482 7.422 7.613 19.901 9.096 31.096 4.148 4.815 9.796 14.312 13.428 32.412 3.182 15.953 1.699 21.758-0.416 27.206-0.217 0.575-0.45 1.141-0.617 1.708-0.8 3.74 0.299 23.174 3.032 38.252 1.883 10.346-0.484 32.346-14.728 50.546-8.997 11.504-26.207 25.623-57.644 27.589l-17.243-0.016c-30.905-1.95-48.131-16.069-57.128-27.573-14.244-18.2-16.61-40.2-14.727-50.539 2.748-15.085 3.832-34.519 3.049-38.185-0.166-0.641-0.4-1.208-0.633-1.783-2.099-5.448-3.599-11.254-0.4-27.206 3.615-18.101 9.263-27.597 13.428-32.412 1.466-11.196 5.598-23.674 9.096-31.096 2.549-5.431 3.749-12.82 3.749-23.266 0-9.705-0.367-9.821-2.55-10.512-28.272-8.347-73.271-24.607-90.048-31.954-27.604 32.679-44.281 74.862-44.281 120.886 0 103.476 84.183 187.66 187.66 187.66zM124.984 89.817c19.21 7.842 57.511 21.504 82.668 28.935 14.628 4.615 14.628 16.935 14.628 26.831 0 8.205-0.566 20.301-5.365 30.53-3.299 7.006-7.065 19.018-7.897 28.422-0.183 2.199-1.216 4.232-2.882 5.681-2.416 2.116-7.331 9.863-10.463 25.49-2.482 12.37-1.432 15.078-0.416 17.693 0.433 1.117 0.85 2.216 1.183 3.457 2.049 7.488-0.234 32.087-2.716 45.732-1.082 5.931 0.283 22.783 11.379 36.978 9.946 12.72 25.007 19.809 44.216 21.033l16.177 0.017c19.726-1.241 34.786-8.33 44.749-21.050 11.096-14.195 12.445-31.047 11.362-36.985-2.466-13.637-4.765-38.236-2.716-45.716 0.351-1.25 0.75-2.349 1.183-3.466 1.017-2.615 2.066-5.323-0.4-17.693-3.131-15.627-8.063-23.374-10.479-25.49-1.649-1.449-2.682-3.482-2.882-5.681-0.816-9.404-4.581-21.416-7.88-28.422-3.782-8.039-8.13-18.743-8.13-30.18 0-9.897 0-22.216 14.777-26.873 24.074-7.114 62.559-20.334 82.884-28.326-33.936-33.604-80.567-54.396-131.964-54.396-50.93 0-97.162 20.425-131.016 53.479z" /> -<glyph unicode="" d="M330.638 180.083l12.062 12.061-86.7 86.7-86.7-86.7 12.063-12.061 66.107 66.107v-270.036h17.060v270.036zM213.35 61.454v17.060h-110.89v290.020h307.080v-290.020h-110.89v-17.060h127.95v324.14h-341.2v-324.14z" /> -<glyph unicode="" d="M375.42 232.53h-213.25v102.36c0 51.738 42.1 93.83 93.847 93.83 51.729 0 93.813-42.092 93.813-93.83v-34.12h17.060v34.12c0 61.234-49.647 110.89-110.873 110.89-61.251 0-110.907-49.656-110.907-110.89v-102.36h-59.71v-230.31h341.2v230.31h-51.18zM409.54 19.28h-307.080v196.19h307.080v-196.19z" /> -<glyph unicode="" d="M264.53 437.042v25.798h-17.060v-25.798c-137.163-4.499-247.37-116.763-247.37-254.217 0-9.047 0.5-18.31 1.5-27.556l16.993 0.608c1.033 28.63 24.257 51.063 52.896 51.063 29.205 0 52.979-23.774 52.979-52.988h17.060c0 29.214 23.774 52.988 52.996 52.988 28.889 0 52.413-23.241 52.946-52.005v-132.082c0-20.783 16.894-37.693 37.686-37.693s37.702 16.91 37.702 37.693h-17.060c0-11.378-9.263-20.633-20.642-20.633s-20.626 9.255-20.626 20.633v131.099h0.050c0 29.214 23.757 52.988 52.979 52.988s52.996-23.774 52.996-52.988h17.060c0 29.214 23.774 52.988 52.979 52.988 28.39 0 51.613-22.225 52.863-50.597l17.011-0.517c0.949 9.047 1.432 18.126 1.432 26.998 0 137.455-110.207 249.719-247.37 254.218zM440.594 224c-26.506 0-49.614-14.803-61.509-36.569-11.895 21.766-35.020 36.569-61.526 36.569s-49.614-14.803-61.509-36.569c-11.895 21.766-35.020 36.569-61.526 36.569s-49.631-14.803-61.526-36.569c-11.895 21.766-35.003 36.569-61.509 36.569-21.658 0-40.968-9.696-53.796-25.082 8.364 123.418 112.040 221.281 238.307 221.281 126.235 0 229.91-97.845 238.291-221.231-12.846 15.344-32.138 25.032-53.697 25.032z" /> -<glyph unicode="" d="M418.070 386.070h-85.3v17.060c0 18.842-15.277 34.12-34.12 34.12h-85.3c-18.843 0-34.12-15.278-34.12-34.12v-17.060h-85.3v-17.060h17.577l17.076-324.14c0-18.843 15.277-34.12 34.12-34.12h187.66c18.843 0 34.12 15.277 34.12 34.12l16.777 324.14h16.81v17.060zM196.29 403.13c0 9.413 7.664 17.060 17.060 17.060h85.3c9.413 0 17.060-7.647 17.060-17.060v-17.060h-119.42v17.060zM367.456 45.753l-0.033-0.433v-0.45c0-9.397-7.647-17.060-17.060-17.060h-187.66c-9.396 0-17.060 7.663-17.060 17.060v0.45l-0.016 0.45-17.044 323.24h255.601l-16.728-323.257zM247.47 334.89h17.060v-272.96h-17.060v272.96zM213.733 62.479l-17.459 272.427-17.027-1.082 17.46-272.427zM332.887 334.357l-17.027 1.066-17.21-272.96 17.027-1.066z" /> -<glyph unicode="" d="M472.52 67.84l-90.473 90.473 12.070 12.071-12.062 12.061-36.177-36.177-60.334 60.318 72.488 72.505c9.655-3.44 19.751-5.181 30.105-5.181 23.891 0 46.357 9.305 63.258 26.19 26.074 26.090 33.471 64.866 18.843 98.778l-4.973 11.545-38.876-38.876-31.304-0.425 0.416 29.855 39.635 39.626-11.521 4.989c-11.304 4.89-23.307 7.372-35.669 7.372-23.899 0-46.357-9.305-63.234-26.198-24.74-24.723-32.688-60.834-20.984-93.438l-72.463-72.463-102.552 102.535 12.071 12.062-66.325 66.332-36.219-36.169 66.357-66.349 12.054 12.061 102.551-102.535-72.472-72.472c-9.679 3.466-19.817 5.215-30.205 5.215-23.891 0-46.356-9.305-63.241-26.198-26.132-26.115-33.513-64.941-18.81-98.895l4.989-11.512 39.627 39.626 29.846 0.4-0.425-31.304-38.876-38.876 11.545-4.974c11.271-4.856 23.224-7.322 35.536-7.322 23.899 0 46.349 9.297 63.234 26.182 24.699 24.707 32.654 60.776 21.025 93.33l72.505 72.514 60.335-60.31-36.203-36.203 12.062-12.061 12.061 12.061 90.465-90.465c8.055-8.063 18.776-12.503 30.163-12.503s22.1 4.44 30.164 12.503c16.629 16.619 16.62 43.676-0.007 60.302zM62.381 405.625l12.070 12.045 42.208-42.208-12.061-12.062-42.217 42.225zM183.167 120.711c11.829-27.464 5.831-58.86-15.277-79.977-13.662-13.661-31.829-21.183-51.171-21.183-5.556 0-11.021 0.617-16.343 1.849l25.099 25.099 0.757 55.761-54.304-0.733-25.908-25.906c-5.698 24.157 1.299 49.647 19.326 67.665 13.67 13.669 31.846 21.2 51.18 21.2 10.021 0 19.734-2.008 28.889-5.973l5.324-2.3 173.107 173.108-2.299 5.323c-11.904 27.497-5.923 58.918 15.227 80.060 13.662 13.67 31.838 21.2 51.172 21.2 5.606 0 11.112-0.633 16.485-1.874l-25.89-25.89-0.75-54.312 55.761 0.758 25.124 25.115c5.631-24.115-1.375-49.555-19.343-67.54-13.678-13.662-31.854-21.192-51.197-21.192-9.988 0-19.675 1.999-28.813 5.931l-5.315 2.291-173.132-173.165 2.291-5.315zM460.467 19.601c-4.84-4.84-11.271-7.506-18.102-7.506-6.839 0-13.261 2.666-18.101 7.506l-90.465 90.465 36.186 36.186 90.473-90.473c9.98-9.98 9.98-26.207 0.009-36.178z" /> -<glyph unicode="" d="M234.975 209.206c0.333-0.416 0.799-0.767 1.166-1.166 4.698-5.831 11.795-9.63 19.859-9.63 14.127 0 25.59 11.446 25.59 25.59 0 7.513-3.299 14.194-8.43 18.875-0.666 0.75-1.283 1.517-2.266 2.266l-103.41 78.686c-3.015 2.316-7.347 2.432-10.495 0-3.765-2.899-4.466-8.297-1.566-12.062l79.552-102.559zM256 437.233c-2.799 0-5.531-0.316-8.297-0.416v-8.846h-0.233v-93.064h17.060v84.833c104.225-4.515 187.66-90.448 187.66-195.74 0-108.175-87.999-196.174-196.19-196.174s-196.19 88-196.19 196.174c0 54.096 22.008 103.143 57.544 138.662l-12.129 12.129c-38.601-38.584-62.475-91.897-62.475-150.791 0-117.771 95.463-213.234 213.25-213.234s213.25 95.463 213.25 213.234c0 117.771-95.463 213.233-213.25 213.233z" /> -<glyph unicode="" d="M396.504 454.31h-112.406l-258.408-257.732 202.454-202.888 258.166 257.483v113.539l-89.806 89.598zM469.25 258.254l-241.072-240.439-178.356 178.738 241.331 240.697h98.295l79.802-79.618v-99.378zM349.88 352.009c0-18.776 15.302-34.045 34.12-34.045s34.12 15.269 34.12 34.045c0 18.784-15.303 34.061-34.12 34.061s-34.12-15.277-34.12-34.061zM401.060 352.009c0-9.363-7.656-16.985-17.060-16.985s-17.060 7.622-17.060 16.985c0 9.371 7.655 17.001 17.060 17.001s17.060-7.63 17.060-17.001z" /> -<glyph unicode="" d="M256.9 294.91c-37.686 0-68.249-30.547-68.249-68.249 0-37.685 30.563-68.248 68.249-68.248 37.693 0 68.231 30.563 68.231 68.248 0 37.702-30.538 68.249-68.231 68.249zM256.9 175.474c-28.222 0-51.189 22.965-51.189 51.188s22.966 51.189 51.189 51.189c28.214 0 51.171-22.966 51.171-51.189s-22.957-51.188-51.171-51.188zM256.891 363.141c-75.379 0-136.48-61.093-136.48-136.48 0-75.379 61.101-136.48 136.48-136.48s136.48 61.101 136.48 136.48c0 75.388-61.101 136.48-136.48 136.48zM256.891 107.241c-65.849 0-119.42 53.571-119.42 119.42s53.571 119.42 119.42 119.42 119.42-53.57 119.42-119.42c0-65.849-53.571-119.42-119.42-119.42zM460.72 226.661c0 113.073-91.656 204.72-204.72 204.72s-204.72-91.647-204.72-204.72c0-62.309 27.873-118.078 71.788-155.622l-34.919-43.774 13.344-10.646 34.995 43.875c33.636-24.233 74.887-38.552 119.511-38.552 44.424 0 85.508 14.195 119.062 38.235l34.795-43.558 13.328 10.646-34.669 43.407c44.158 37.553 72.205 93.481 72.205 155.989zM68.34 226.661c0 103.477 84.184 187.66 187.66 187.66s187.66-84.183 187.66-187.66c0-103.476-84.183-187.66-187.66-187.66-103.476 0-187.66 84.185-187.66 187.66z" /> -<glyph unicode="" d="M256 351.834c-70.673 0-127.95-57.303-127.95-127.967 0-70.647 57.277-127.933 127.95-127.933 70.664 0 127.95 57.286 127.95 127.933 0 70.664-57.286 127.967-127.95 127.967zM256 112.994c-61.143 0-110.89 49.738-110.89 110.873 0 61.152 49.747 110.907 110.89 110.907s110.89-49.755 110.89-110.907c0-61.135-49.747-110.873-110.89-110.873zM247.537 479.9h17.060v-102.476h-17.060v102.476zM247.537 70.344h17.060v-102.244h-17.060v102.244zM0.1 232.53h102.36v-17.060h-102.36v17.060zM409.54 232.53h102.36v-17.060h-102.36v17.060zM430.971 411.514l12.063-12.063-71.322-71.322-12.063 12.063 71.322 71.322zM81.15 37.545l-12.063 12.063 71.322 71.322 12.063-12.063-71.322-71.322zM81.16 411.511l71.323-71.322-12.061-12.062-71.323 71.323 12.061 12.061zM430.995 37.543l-71.322 71.322 12.063 12.063 71.322-71.322-12.063-12.063z" /> -<glyph unicode="" d="M504.224 301.17l-248.22 119.47-248.228-119.479 34.978-21.091v-184.47h17.060v174.182l51.18-30.862v-211.56h290.020v211.509l103.21 62.301zM256.004 401.714l212.401-102.244-212.276-128.133-212.517 128.142 212.392 102.235zM383.954 44.42h-255.9v184.22l128.075-77.228 127.825 77.162v-184.154z" /> -<glyph unicode="" d="M400.618 339.505l14.436 14.428 14.627-14.628 18.093 18.093-41.317 41.318-18.093-18.093 14.627-14.628-14.436-14.428c-31.979 29.322-73.704 48.131-119.761 51.113v34.57h-25.59v-34.57c-102.384-6.597-183.394-91.681-183.394-195.74 0-108.358 87.833-196.19 196.19-196.19s196.19 87.832 196.19 196.19c0 51.113-19.559 97.645-51.572 132.565zM256 27.81c-98.77 0-179.13 80.368-179.13 179.13 0 98.777 80.36 179.13 179.13 179.13s179.13-80.353 179.13-179.13c0-98.762-80.36-179.13-179.13-179.13zM264.53 230.964v112.456h-17.060v-112.456c-9.913-3.532-17.060-12.896-17.060-24.024 0-11.129 7.147-20.492 17.060-24.025v-35.685h17.060v35.685c9.913 3.532 17.060 12.896 17.060 24.025s-7.147 20.492-17.060 24.024z" /> -<glyph unicode="" d="M310.078 275.148l-54.078 166.369-54.095-166.368h-176.215l142.794-102.351-54.828-166.314 142.344 103.171 142.327-103.172-54.811 166.314 142.794 102.351h-176.232zM327.306 167.457l38.301-116.175-109.607 79.44-109.624-79.44 42.233 128.079-10.196 7.297-99.645 71.43h135.531l41.701 128.259 41.684-128.259h135.531l-109.824-78.727 3.915-11.904z" /> -<glyph unicode="" d="M-0.329 282.944v-119.42h51.18v-102.36h17.060v102.36h131.232l124.601-100.827v324.139l-125.392-103.892h-198.681zM16.731 180.584v85.3h68.24v-85.3h-68.24zM209.239 269.807l97.445 80.743v-252.102l-101.502 82.134h-103.151v85.3h102.469l4.739 3.925zM441.815 371.317l-12.27-12.278c39.926-31.255 65.724-79.752 65.724-134.272 0-55.97-27.214-105.583-68.981-136.705l12.345-12.345c44.783 34.295 73.697 88.29 73.697 149.050-0.001 59.301-27.549 112.155-70.515 146.55zM386.986 316.48l-12.404-12.403c26.332-16.635 43.917-45.924 43.917-79.31 0-34.861-19.151-65.283-47.457-81.46l12.428-12.429c31.255 19.61 52.088 54.271 52.088 93.889 0.001 38.143-19.258 71.763-48.572 91.713z" /> -<glyph unicode="" d="M255.512 185.611c-37.627 0-68.24-30.613-68.24-68.24s30.613-68.24 68.24-68.24c37.627 0 68.24 30.613 68.24 68.24s-30.612 68.24-68.24 68.24zM255.512 66.191c-28.223 0-51.18 22.958-51.18 51.18s22.957 51.18 51.18 51.18c28.222 0 51.18-22.958 51.18-51.18s-22.958-51.18-51.18-51.18zM255.512 262.381c-57.586 0-107.291-33.82-130.682-82.576l12.77-12.762c19.434 45.949 64.966 78.277 117.912 78.277s98.478-32.329 117.913-78.277l12.769 12.762c-23.391 48.756-73.096 82.576-130.682 82.576zM256.345 398.869c-95.213 0-179.48-47.565-230.443-120.128l12.228-12.229c47.682 69.557 127.701 115.297 218.215 115.297 90.090 0 169.758-45.316 217.524-114.322l12.229 12.229c-51.039 72.013-134.964 119.153-229.753 119.153zM256.345 330.629c-76.454 0-143.603-40.467-181.254-101.077l12.42-12.412c34.204 57.661 97.062 96.429 168.834 96.429 71.339 0 133.89-38.285 168.226-95.379l12.378 12.378c-37.768 60.044-104.583 100.061-180.604 100.061z" /> -<glyph unicode="" d="M380.985 177.497l55.911-55.936h-100.743l-208.186 221.78h-85.517v-17.060h78.137l208.185-221.78h108.124l-55.761-55.778 12.062-12.062 76.353 76.378-76.503 76.52zM120.587 121.561h-78.137v-17.060h85.517l82.601 87.999-12.445 11.679zM336.169 326.281h100.727l-55.761-55.778 12.062-12.062 76.353 76.378-76.503 76.52-12.062-12.062 55.911-55.936h-108.124l-82.967-88.716 12.461-11.645z" /> -<glyph unicode="" d="M51.28 428.72v-409.44h409.44v409.44h-409.44zM443.66 36.34h-375.32v375.32h375.32v-375.32zM145.093 266.65c0-61.251 49.656-110.89 110.899-110.89s110.881 49.639 110.881 110.89v59.71h17.077v17.060h-51.18v-17.060h17.043v-59.71c0-51.738-42.091-93.83-93.821-93.83-51.746 0-93.839 42.092-93.839 93.83v59.71h17.077v17.060h-51.18v-17.060h17.043v-59.71z" /> -<glyph unicode="" d="M418.070 445.78c-37.685 0-68.24-30.563-68.24-68.24 0-6.539 0.975-12.853 2.691-18.842l-199.497-83.618c-11.795 20.434-33.821 34.22-59.094 34.22-37.677 0-68.24-30.563-68.24-68.24 0-37.685 30.563-68.24 68.24-68.24 19.743 0 37.486 8.439 49.947 21.85l128.55-92.389c-5.022-9.504-7.897-20.317-7.897-31.813 0-37.693 30.563-68.249 68.24-68.249s68.24 30.555 68.24 68.249c0 37.677-30.563 68.231-68.24 68.231-20.042 0-38.018-8.705-50.505-22.465l-128.375 92.239c5.282 9.688 8.28 20.784 8.28 32.587 0 6.339-0.932 12.454-2.549 18.285l199.647 83.684c11.853-20.158 33.72-33.736 58.802-33.736 37.686 0 68.24 30.554 68.24 68.248 0 37.676-30.554 68.239-68.24 68.239zM332.77 121.64c28.222 0 51.18-22.958 51.18-51.171 0-28.222-22.958-51.189-51.18-51.189s-51.18 22.966-51.18 51.189c0 28.213 22.958 51.171 51.18 51.171zM93.93 189.88c-28.222 0-51.18 22.958-51.18 51.18s22.958 51.18 51.18 51.18 51.18-22.958 51.18-51.18c0-28.221-22.958-51.18-51.18-51.18zM418.070 326.352c-28.222 0-51.18 22.966-51.18 51.188s22.958 51.18 51.18 51.18c28.222 0 51.18-22.958 51.18-51.18s-22.958-51.188-51.18-51.188z" /> -<glyph unicode="" d="M256 445.78c-108.358 0-196.19-42.009-196.19-93.839v-255.9c0-51.813 87.832-93.821 196.19-93.821 108.34 0 196.19 42.009 196.19 93.821v255.9c0 51.83-87.85 93.839-196.19 93.839zM256 428.72c105.559 0 179.13-40.459 179.13-76.779 0-36.303-73.571-76.761-179.13-76.761-105.576 0-179.13 40.459-179.13 76.761 0 36.32 73.554 76.779 179.13 76.779zM435.13 113.101v-17.060c0-36.303-73.571-76.761-179.13-76.761-105.576 0-179.13 40.459-179.13 76.761v47.049c30.621-32.737 99.277-55.57 179.13-55.57 79.835 0 148.508 22.832 179.13 55.57v-29.989zM435.13 181.341c0-36.303-73.571-76.761-179.13-76.761-105.576 0-179.13 40.459-179.13 76.761v47.049c30.621-32.737 99.277-55.57 179.13-55.57 79.835 0 148.508 22.832 179.13 55.57v-47.049zM435.13 266.641c0-36.303-73.571-76.761-179.13-76.761-105.576 0-179.13 40.459-179.13 76.761v47.049c30.621-32.737 99.277-55.57 179.13-55.57 79.835 0 148.508 22.832 179.13 55.57v-47.049z" /> -<glyph unicode="" d="M457.463 43.639l-116.205 116.217c23.358 28.089 37.419 64.167 37.419 103.543 0 89.515-72.554 162.070-162.070 162.070-89.498 0-162.070-72.555-162.070-162.070 0-89.498 72.572-162.070 162.070-162.070 39.385 0 75.454 14.061 103.543 37.419l116.205-116.217 21.108 21.108zM71.597 263.399c0 79.96 65.041 145.010 145.010 145.010 79.953 0 145.010-65.050 145.010-145.010s-65.057-145.010-145.010-145.010c-79.969 0-145.010 65.050-145.010 145.010z" /> -<glyph unicode="" d="M393.425 224c41.867 43.033 60.601 84.908 44.899 110.748-6.256 10.304-20.676 22.582-53.812 22.582-18.168 0-39.41-3.682-62.326-10.462-15.22 54.995-40.576 90.382-69.848 90.382-28.913 0-54.012-34.537-69.289-88.399-20.25 5.515-39.051 8.48-55.37 8.48-33.137 0-47.556-12.278-53.821-22.582-12.587-20.709-4.148-51.622 23.758-87.041 6.223-7.897 13.32-15.844 21.075-23.775-41.834-43-60.535-84.858-44.833-110.698 6.264-10.296 20.684-22.575 53.812-22.575 16.319 0 35.128 2.974 55.387 8.481 15.269-53.854 40.367-88.39 69.281-88.39 29.272 0 54.629 35.386 69.848 90.373 22.908-6.781 44.158-10.463 62.334-10.463 33.129 0 47.549 12.279 53.805 22.575 15.701 25.847-3.033 67.739-44.9 110.764zM384.512 340.271c13.911 0 32.012-2.499 39.235-14.386 10.404-17.118-5.256-51.755-42.484-89.957-13.578 12.704-29.063 25.39-46.198 37.668-1.849 20.201-4.807 39.21-8.722 56.628 21.649 6.481 41.567 10.047 58.169 10.047zM291.357 165.964c-11.679-7.097-23.491-13.636-35.261-19.6-11.762 5.964-23.574 12.503-35.253 19.6-12.295 7.472-24.049 15.311-35.22 23.366-0.725 11.179-1.192 22.692-1.192 34.67 0 11.995 0.467 23.516 1.199 34.711 10.93 7.897 22.658 15.711 35.186 23.324 11.687 7.097 23.499 13.636 35.278 19.609 11.778-5.973 23.591-12.512 35.278-19.609 9.638-5.857 18.668-11.854 27.364-17.893 0.975-12.837 1.517-26.214 1.517-40.142 0-13.92-0.542-27.306-1.517-40.134-8.695-6.040-17.734-12.046-27.379-17.902zM316.563 161.733c-1.674-13.77-3.923-26.64-6.555-38.652-11.288 3.982-22.916 8.689-34.703 14.036 8.306 4.482 16.627 9.229 24.915 14.27 5.58 3.389 11.020 6.855 16.343 10.346zM236.886 137.125c-14.228-6.464-28.222-11.954-41.659-16.402-3.232 14.228-5.856 29.764-7.705 46.516 7.939-5.415 16.044-10.738 24.457-15.852 8.289-5.041 16.602-9.789 24.907-14.262zM167.772 202.891c-8.738 6.931-17.018 13.978-24.674 21.084 7.514 7.006 15.81 14.078 24.674 21.142-0.259-6.938-0.4-13.977-0.4-21.116-0.001-7.141 0.141-14.18 0.4-21.11zM187.539 280.87c1.841 16.702 4.465 32.203 7.688 46.407 13.436-4.448 27.423-9.938 41.65-16.394-8.305-4.482-16.635-9.229-24.923-14.269-8.439-5.132-16.568-10.397-24.415-15.744zM275.312 310.882c11.787 5.348 23.407 10.046 34.695 14.028 2.632-12.003 4.881-24.865 6.555-38.635-5.323 3.499-10.754 6.948-16.326 10.338-8.288 5.040-16.619 9.788-24.924 14.269zM336.63 251.139c11.862-9.046 22.774-18.143 32.421-27.139-9.647-8.989-20.559-18.085-32.421-27.131 0.433 8.871 0.683 17.918 0.683 27.131 0.001 9.212-0.249 18.259-0.683 27.139zM252.338 420.19c19.435 0 40.168-29.639 53.546-78.553-16.094-5.598-32.829-12.629-49.789-20.9-19.393 9.455-38.469 17.268-56.645 23.199 13.396 47.532 33.763 76.254 52.888 76.254zM88.436 325.885c7.222 11.887 25.323 14.386 39.243 14.386 14.777 0 32.204-2.832 51.114-8.022-4.524-19.642-7.848-41.334-9.705-64.533-13.987-10.447-26.79-21.125-38.219-31.838-7.305 7.481-14.003 14.961-19.85 22.391-22.85 28.998-31.080 53.638-22.583 67.616zM127.67 107.72c-13.912 0-32.012 2.499-39.235 14.378-10.404 17.127 5.248 51.755 42.458 89.957 11.562-10.771 24.399-21.375 38.185-31.671 1.849-23.241 5.181-44.966 9.713-64.641-18.908-5.183-36.335-8.023-51.121-8.023zM252.338 27.81c-19.125 0-39.492 28.721-52.888 76.245 18.177 5.939 37.261 13.745 56.645 23.208 16.96-8.272 33.695-15.302 49.789-20.908-13.378-48.915-34.111-78.545-53.546-78.545zM423.746 122.098c-7.222-11.879-25.315-14.378-39.227-14.378-16.61 0-36.527 3.566-58.177 10.047 3.915 17.426 6.873 36.435 8.73 56.644 17.127 12.287 32.612 24.965 46.19 37.668 37.228-38.21 52.888-72.854 42.484-89.981z" /> -<glyph unicode="" d="M93.926 428.72v-409.44l162.070 119.42 162.078-119.42v409.44h-324.148zM401.014 53.042l-145.018 106.85-145.010-106.85v358.618h290.028v-358.618zM170.696 326.36h170.604v-17.060h-170.604v17.060zM170.696 258.12h170.604v-17.060h-170.604v17.060z" /> -<glyph unicode="" d="M434.888 112.818h-359.959l71.872 71.897-12.062 12.062-91.881-91.905 91.881-91.89 12.062 12.063-70.706 70.713h375.853v153.54h-17.060zM76.695 334.598h359.81l-71.289-71.305 12.061-12.062 91.865 91.88-91.881 91.907-12.062-12.063 71.272-71.297h-376.836v-153.54h17.060z" /> -<glyph unicode="" d="M443.66 181.371c0-103.477-84.183-187.66-187.66-187.66-103.476 0-187.66 84.183-187.66 187.66 0 103.234 83.8 187.251 186.952 187.643v-85.325l162.070 93.839-162.070 93.821v-85.275c-112.756-0.383-204.012-91.855-204.012-204.703 0-113.047 91.639-204.72 204.72-204.72 113.064 0 204.72 91.673 204.72 204.72h-17.060zM272.352 441.761l110.957-64.233-110.957-64.25v128.483z" /> -<glyph unicode="" d="M418.316 249.682c0.033 1.366 0.2 2.682 0.2 4.048 0 73.021-59.194 132.215-132.215 132.215-52.613 0-97.912-30.804-119.196-75.287-9.205 4.632-19.567 7.297-30.572 7.297-33.769 0-61.742-24.574-67.207-56.794-40.216-13.795-69.18-51.847-69.18-96.763 0-56.494 45.79-102.293 102.268-102.343l316.102 0.016c51.596 0.267 93.338 42.15 93.338 93.797 0 51.73-41.841 93.664-93.538 93.814zM418.424 79.131l-3.723-0.016h-312.27c-46.99 0.049-85.225 38.301-85.225 85.283 0 36.403 23.174 68.806 57.653 80.636l9.596 3.281 1.691 9.996c4.182 24.674 25.373 42.583 50.388 42.583 7.972 0 15.677-1.849 22.9-5.481l15.553-7.813 7.505 15.693c19.068 39.851 59.818 65.591 103.81 65.591 63.5 0 115.155-51.647 115.155-115.155 0-0.35-0.042-0.717-0.067-1.066-0.049-0.85-0.107-1.699-0.125-2.566l-0.433-17.41 17.435-0.067c42.2-0.117 76.528-34.553 76.528-76.754-0.001-42.082-34.263-76.518-76.371-76.735zM255.996 138.825c-32.92 0-59.71 26.773-59.71 59.71 0 32.921 26.79 59.71 59.71 59.71v-31.505l64.2 37.069-64.2 37.086v-25.59c-42.4 0-76.77-34.37-76.77-76.77s34.37-76.77 76.77-76.77c42.392 0 76.77 34.37 76.77 76.77h-17.060c0-32.937-26.79-59.71-59.71-59.71z" /> -<glyph unicode="" d="M449.825 334.434c-0.175 0.058-0.308 0.191-0.491 0.233l-361.976 85.3c-4.589 1.058-9.188-1.766-10.262-6.347-1.075-4.59 1.766-9.18 6.348-10.263l290.536-68.464h-307.314c-13.204 0-23.916-10.704-23.916-23.916v-259.257c0-13.203 10.713-23.907 23.916-23.907h378.668c13.212 0 23.916 10.704 23.916 23.907v259.256c0 11.67-8.363 21.358-19.425 23.458zM452.19 51.719c0-3.774-3.073-6.847-6.856-6.847h-378.668c-3.782 0-6.856 3.073-6.856 6.847v259.257c0 3.781 3.074 6.856 6.856 6.856h378.668c3.782 0 6.856-3.074 6.856-6.856v-259.257zM196.223 198.419c-7.064 0-12.811-5.73-12.811-12.795 0-7.047 5.748-12.795 12.811-12.795 7.047 0 12.779 5.748 12.779 12.795 0 7.065-5.731 12.795-12.779 12.795zM102.46 185.624c0 7.065-5.748 12.795-12.803 12.795-7.048 0-12.787-5.73-12.787-12.795 0-7.047 5.74-12.795 12.787-12.795 7.055 0 12.803 5.749 12.803 12.795zM302.924 198.419c-7.047 0-12.804-5.73-12.804-12.795 0-7.047 5.757-12.795 12.804-12.795 7.072 0 12.786 5.748 12.786 12.795 0 7.065-5.714 12.795-12.786 12.795zM149.367 173.538c-7.048 0-12.787-5.731-12.787-12.787s5.74-12.803 12.787-12.803c7.055 0 12.803 5.747 12.803 12.803s-5.748 12.787-12.803 12.787zM256 160.034c0 7.056-5.73 12.787-12.795 12.787-7.047 0-12.795-5.731-12.795-12.787s5.748-12.803 12.795-12.803c7.065 0.001 12.795 5.748 12.795 12.803zM149.367 224.002c-7.048 0-12.787-5.74-12.787-12.787 0-7.072 5.74-12.803 12.787-12.803 7.055 0 12.803 5.73 12.803 12.803 0 7.047-5.748 12.787-12.803 12.787zM243.205 198.412c7.065 0 12.795 5.73 12.795 12.803 0 7.047-5.73 12.787-12.795 12.787-7.047 0-12.795-5.74-12.795-12.787 0-7.073 5.748-12.803 12.795-12.803zM106.725 146.998c-7.055 0-12.795-5.73-12.795-12.795s5.74-12.795 12.795-12.795c7.047 0 12.795 5.731 12.795 12.795s-5.748 12.795-12.795 12.795zM285.864 146.998c-7.072 0-12.804-5.73-12.804-12.795s5.731-12.795 12.804-12.795c7.056 0 12.786 5.731 12.786 12.795s-5.73 12.795-12.786 12.795zM106.725 249.592c-7.055 0-12.795-5.748-12.795-12.804s5.74-12.786 12.795-12.786c7.047 0 12.795 5.73 12.795 12.786 0 7.055-5.748 12.804-12.795 12.804zM285.864 224.002c7.056 0 12.786 5.73 12.786 12.786 0 7.055-5.73 12.804-12.786 12.804-7.072 0-12.804-5.748-12.804-12.804s5.731-12.786 12.804-12.786zM140.196 113.112c-7.039 0-12.795-5.731-12.795-12.787s5.756-12.803 12.795-12.803c7.081 0 12.795 5.748 12.795 12.803s-5.714 12.787-12.795 12.787zM251.402 113.112c-7.056 0-12.795-5.731-12.795-12.787s5.739-12.803 12.795-12.803c7.064 0 12.795 5.748 12.795 12.803s-5.731 12.787-12.795 12.787zM140.845 258.122c7.081 0 12.795 5.73 12.795 12.786 0 7.072-5.714 12.804-12.795 12.804-7.038 0-12.795-5.731-12.795-12.804 0-7.056 5.757-12.786 12.795-12.786zM251.402 283.712c-7.056 0-12.795-5.731-12.795-12.804 0-7.056 5.739-12.786 12.795-12.786 7.064 0 12.795 5.73 12.795 12.786 0 7.072-5.731 12.804-12.795 12.804zM196.216 146.998c-7.056 0-12.804-5.73-12.804-12.795 0-7.047 5.748-12.795 12.804-12.795 7.055 0 12.786 5.748 12.786 12.795 0 7.064-5.731 12.795-12.786 12.795zM196.216 96.068c-7.056 0-12.804-5.748-12.804-12.804s5.748-12.803 12.804-12.803c7.055 0 12.786 5.748 12.786 12.803s-5.731 12.804-12.786 12.804zM196.216 249.592c-7.056 0-12.804-5.748-12.804-12.804s5.748-12.786 12.804-12.786c7.055 0 12.786 5.73 12.786 12.786 0 7.055-5.731 12.804-12.786 12.804zM196.216 300.772c-7.056 0-12.804-5.731-12.804-12.787s5.748-12.803 12.804-12.803c7.055 0 12.786 5.748 12.786 12.803s-5.731 12.787-12.786 12.787zM392.497 283.712c-14.128 0-25.607-11.454-25.607-25.582s11.479-25.581 25.607-25.581c14.111 0 25.573 11.454 25.573 25.581 0 14.128-11.462 25.582-25.573 25.582zM392.497 249.608c-4.715 0-8.547 3.824-8.547 8.521s3.833 8.522 8.547 8.522c4.698 0 8.513-3.824 8.513-8.522s-3.815-8.521-8.513-8.521zM392.497 215.472c-14.128 0-25.607-11.454-25.607-25.582s11.479-25.581 25.607-25.581c14.111 0 25.573 11.454 25.573 25.581s-11.462 25.582-25.573 25.582zM392.497 181.368c-4.715 0-8.547 3.824-8.547 8.521s3.833 8.522 8.547 8.522c4.698 0 8.513-3.824 8.513-8.522s-3.815-8.521-8.513-8.521z" /> -<glyph unicode="" d="M119.52 283.71c-9.43 0-17.060-7.639-17.060-17.060s7.63-17.060 17.060-17.060c9.413 0 17.060 7.639 17.060 17.060s-7.647 17.060-17.060 17.060zM170.7 283.71c-9.43 0-17.060-7.639-17.060-17.060s7.63-17.060 17.060-17.060c9.413 0 17.060 7.639 17.060 17.060s-7.647 17.060-17.060 17.060zM469.25 351.95h-93.83v85.3h-238.84v-85.3h-93.83c-4.715 0-8.53-3.815-8.53-8.53v-255.9c0-4.715 3.815-8.53 8.53-8.53h93.83v-68.24h238.84v68.24h93.83c4.714 0 8.53 3.815 8.53 8.53v255.9c0 4.715-3.816 8.53-8.53 8.53zM153.64 420.19h204.72v-68.24h-204.72v68.24zM358.36 27.81h-204.72v153.54h204.72v-153.54zM460.72 96.050h-85.3v102.36h-238.84v-102.36h-85.3v238.84h409.44v-238.84z" /> -<glyph unicode="" d="M256 224.009l238.84-136.489v272.96l-238.84-136.471zM477.78 116.917l-187.394 107.092 187.394 107.074v-214.166zM17.16 224.009l238.84-136.489v272.96l-238.84-136.471zM238.94 116.917l-187.394 107.092 187.394 107.074v-214.166z" /> -<glyph unicode="" d="M244.888 437.25h17.060v-204.72h-17.060v204.72zM338.718 402.731v-18.868c62.101-30.63 104.942-94.596 104.942-168.392 0-103.476-84.183-187.66-187.66-187.66-103.476 0-187.66 84.184-187.66 187.66 0 71.739 40.477 134.173 99.778 165.744v19.183c-69.081-32.888-116.838-103.318-116.838-184.928 0-113.064 91.657-204.72 204.72-204.72s204.72 91.656 204.72 204.72c0 83.618-50.155 155.481-122.002 187.261z" /> -<glyph unicode="" d="M315.71 364.745v42.65h-119.42v-42.65h-145.010v-324.14h409.44v324.14h-145.010zM213.35 390.335h85.3v-25.59h-85.3v25.59zM196.29 347.685h247.37v-136.48h-127.95v34.12h-119.42v-34.12h-127.95v136.48h127.95zM298.65 228.265v-51.18h-85.3v51.18h85.3zM68.34 57.665v136.48h127.95v-34.12h119.42v34.12h127.95v-136.48h-375.32z" /> -<glyph unicode="" d="M256 437.248c-117.787 0-213.25-95.463-213.25-213.25s95.463-213.246 213.25-213.246c117.788 0 213.25 95.458 213.25 213.246s-95.462 213.25-213.25 213.25zM256 27.812c-108.174 0-196.19 88.012-196.19 196.186s88.016 196.19 196.19 196.19c108.174 0 196.19-88.015 196.19-196.19 0-108.174-88.016-196.186-196.19-196.186zM264.53 351.948h-17.060v-119.42h-118.854v-17.060h118.854v-118.854h17.060v118.854h119.42v17.060h-119.42z" /> -<glyph unicode="" d="M119.52 373.425l256.158-149.425-256.158-149.424v298.849zM102.46 403.13v-358.26l307.080 179.13-307.080 179.13z" /> -<glyph unicode="" d="M145.974-7.426l-21.276 100.294-101.084 22.349 20.65 39.593 92.555 5.057c4.749 6.181 15.361 19.742 21.992 26.365l84.334 84.342-175.823 86.208 44.516 44.507 222.913-39.102 78.928 78.928c9.355 9.363 23.932 14.311 42.15 14.311 12.42 0 22.316-2.283 22.732-2.382l4.798-1.124 1.424-4.715c7.497-24.807 2.99-52.771-10.713-66.482l-79.302-79.303 38.951-222.004-44.508-44.516-85.866 175.115-78.769-78.786c-8.28-8.28-25.964-24.574-32.529-30.589l-6.889-86.807-39.184-21.259zM49.037 127.063l90.073-19.901 18.81-88.699 10.962 5.948 6.689 84.284 2.482 2.266c0.25 0.225 24.674 22.541 34.453 32.321l95.655 95.671 85.866-175.115 21.35 21.358-38.951 222.021 85.583 85.567c7.43 7.43 11.928 25.564 7.738 44.524-3.449 0.516-8.413 1.058-13.919 1.058-9.48 0-22.391-1.616-30.089-9.313l-85.192-85.208-222.928 39.101-21.358-21.35 175.823-86.208-101.211-101.22c-7.721-7.713-22.691-27.547-22.841-27.739l-2.391-3.165-90.748-4.964-5.856-11.237z" /> -<glyph unicode="" d="M426.598 343.42v68.24h-400.906v-307.080h59.71v-68.24h400.906v307.080h-59.71zM42.752 121.64v272.96h366.786v-51.18h-324.136v-221.78h-42.65zM469.248 53.4h-366.786v272.96h366.786v-272.96z" /> -<glyph unicode="" d="M369.381 454.31h-226.761c-12.754 0-23.1-10.355-23.1-23.108v-414.413c0-12.77 10.346-23.099 23.1-23.099h226.761c12.754 0 23.099 10.329 23.099 23.099v414.413c0 12.753-10.345 23.108-23.099 23.108zM375.42 16.789c0-3.332-2.707-6.039-6.039-6.039h-226.761c-3.333 0-6.040 2.707-6.040 6.039v79.202h238.84v-79.202zM375.42 113.051h-238.84v272.669h238.84v-272.669zM375.42 402.78h-238.84v28.422c0 3.332 2.707 6.048 6.040 6.048h226.761c3.333 0 6.039-2.716 6.039-6.048v-28.422zM230.41 61.93h51.18v-17.060h-51.18v17.060z" /> -<glyph unicode="" d="M492.341 387.17l-68.023 68.015-16.644-16.651-23.291 23.274c-3.332 3.332-8.73 3.332-12.061 0l-138.214-138.222c-3.332-3.333-3.332-8.73 0-12.062 1.667-1.666 3.849-2.499 6.032-2.499 2.182 0 4.365 0.833 6.031 2.499l132.182 132.19 17.26-17.243-293.103-293.094 19.759-19.767c-8.313 4.115-17.376 6.214-26.44 6.214-15.31 0-30.621-5.84-42.3-17.527-1.199-1.183-2.349-2.466-3.449-3.807-0.549-0.641-1.066-1.308-1.566-1.974-0.6-0.75-1.166-1.541-1.715-2.333-0.417-0.583-0.833-1.15-1.216-1.732-24.807-37.294-25.923-108.624-25.923-108.624s2.599-0.133 7.097-0.133c20.492 0 80.152 2.807 111.373 34.020 18.593 18.601 22.341 46.398 11.295 68.748l21.108-21.1 321.808 321.808zM126.067 29.776c-19.042-19.034-52.446-25.606-76.27-27.856l38.836 38.835-12.063 12.062-37.202-37.202c3.032 22.757 9.063 50.33 20.476 67.465l0.483 0.682 0.416 0.592c0.367 0.533 0.75 1.082 1.416 1.924 0.283 0.374 0.566 0.749 1.066 1.349 0.75 0.899 1.517 1.766 2.366 2.607 8.080 8.080 18.81 12.529 30.238 12.529 11.412 0 22.158-4.448 30.238-12.529 16.661-16.667 16.661-43.79 0-60.458zM468.218 387.17l-101.178-101.178-43.9 43.891 101.178 101.178 43.9-43.891zM311.079 317.822l43.9-43.891-184.446-184.445-43.899 43.891 184.445 184.445z" /> -<glyph unicode="" d="M198.064 164.206l76.262-153.456 194.899 426.5-426.45-204.67 155.289-68.374zM202.596 180.834l-119.045 52.413 326.938 156.905-207.893-209.318zM273.693 50.151l-59.002 118.738 209.743 211.166-150.741-329.904z" /> -<glyph unicode="" d="M447.925 394.6v26.456c0 23.075-18.71 41.784-41.784 41.784h-274.676c-23.074 0-41.767-18.71-41.767-41.784v-26.456h-7.831c-19.259 0-34.853-15.611-34.853-34.862v-58.385c0-19.251 15.594-34.861 34.853-34.861l160.588 0.050c9.813 0 17.81-7.989 17.81-17.802v-58.86h-34.104v-204.72h85.3v204.72h-34.136v58.86c0 19.251-15.611 34.862-34.87 34.862h-21.125v-0.050h-139.462c-9.813 0-17.793 7.988-17.793 17.801v58.385c0 9.813 7.98 17.802 17.793 17.802h7.831v-26.465c0-23.075 18.693-41.775 41.767-41.775h274.675c23.075 0 41.784 18.7 41.784 41.775v26.465h17.060v17.060h-17.060zM294.401 2.22h-51.18v170.6h51.18v-170.6zM430.865 351.075c0-13.628-11.096-24.715-24.724-24.715h-274.676c-13.628 0-24.707 11.087-24.707 24.715v69.981c0 13.636 11.079 24.724 24.707 24.724h274.675c13.628 0 24.724-11.088 24.724-24.724v-69.981z" /> -<glyph unicode="" d="M256 428.72h-136.48c-40.818 0-68.24-27.422-68.24-68.24v-283.731c0-13.477 5.022-57.469 69.705-57.469h339.735v409.44h-204.72zM238.94 411.66v-163.194l-41.784 38.051-46.39-39.034v164.177h88.174zM119.52 411.66h14.186v-200.829l63 53.012 59.294-53.987v201.804h187.66v-281.49h-324.14c-21.709 0-39.318-6.48-51.18-17.81v248.12c0 31.088 20.092 51.18 51.18 51.18zM120.985 36.34c-39.109 0-50.413 17.743-52.304 34.721 0.033 26.331 19.026 42.049 50.839 42.049h324.14v-76.77h-322.675z" /> -<glyph unicode="" d="M444.473 412.837c-4.998 4.99-11.554 7.488-18.102 7.488-6.555 0-13.103-2.498-18.093-7.488l-75.295-75.287v14.261h-272.96v-324.136h324.14v272.956h-15.693l76.003 76.013c10.005 9.978 10.005 26.196 0 36.193zM367.103 44.735h-290.020v290.016h253.11l-133.69-133.681v-36.919h35.503l135.097 135.114v-254.53zM432.411 388.704l-207.469-207.493h-11.379v12.795l206.786 206.777c2.166 2.166 4.698 2.482 6.022 2.482s3.866-0.324 6.039-2.498c2.183-2.174 2.508-4.715 2.508-6.039 0.001-1.317-0.324-3.841-2.507-6.024z" /> -<glyph unicode="" d="M17.16 360.48v-272.96l238.84 136.489-238.84 136.471zM34.22 331.083l187.394-107.075-187.394-107.091v214.166zM256 360.48v-272.96l238.84 136.489-238.84 136.471zM273.060 331.083l187.394-107.075-187.394-107.091v214.166z" /> -<glyph unicode="" d="M145.11 437.25v-238.84h-102.36c0 0 0-105.425 0-139.495 0-34.078 31.721-48.165 55.228-48.165 23.499 0 260.165 0 320.092 0 25.857 0 51.18 25.149 51.18 51.18 0 18.793 0 375.32 0 375.32h-324.14zM97.978 27.81c-10.621 0-38.168 5.59-38.168 31.105v122.435h85.3v-115.080c0-11.42-14.927-38.46-38.459-38.46h-8.673zM452.19 61.93c0-16.576-17.534-34.12-34.12-34.12h-273.801c11.487 11.971 17.901 27.689 17.901 38.46v353.92h290.020v-358.26zM196.29 386.070h221.78v-17.060h-221.78v17.060zM196.29 155.76h221.78v-17.060h-221.78v17.060zM196.29 96.050h221.78v-17.060h-221.78v17.060zM418.070 326.36h-221.78v-127.95h221.78v127.95zM401.010 215.47h-187.66v93.83h187.66v-93.83z" /> -<glyph unicode="" d="M42.75 343.408h221.78v-17.060h-221.78v17.060zM42.75 266.638h221.78v-17.060h-221.78v17.060zM42.75 189.868h221.78v-17.060h-221.78v17.060zM349.83 333.212l119.42-15.394c0 85.3-68.24 102.36-136.48 119.445v-324.165c-10.212 0-26.456 0-52.563 0-50.138 0-66.857-26.531-66.857-50.764 0-20.558 15.386-51.596 68.24-51.596 75.571 0 68.24 60.676 68.24 102.36v220.114zM450.657 337.419l-100.827 12.994v64.809c56.695-15.353 93.106-32.213 100.827-77.803zM320.275 39.535c-7.68-7.789-20.701-11.737-38.685-11.737-48.714 0-51.18 28.773-51.18 34.536 0 21.417 18.152 33.704 49.797 33.704h52.563v-13.103h0.042c-0.509-17.186-2.949-33.687-12.537-43.4z" /> -<glyph unicode="" d="M460.72 456.721l-281.49-99.578v-246.679c-13.303 15.786-33.195 25.84-55.445 25.84-40.035 0-72.505-32.47-72.505-72.521 0-40.035 32.47-72.505 72.505-72.505 39.618 0 71.771 31.804 72.438 71.264h0.067v282.54l247.37 87.516v-228.311c-13.303 15.786-33.195 25.831-55.454 25.831-40.042 0-72.496-32.454-72.496-72.505 0-40.042 32.454-72.505 72.496-72.505s72.514 32.463 72.514 72.505c0 1.374-0.133 2.715-0.208 4.065h0.208v295.043zM123.785 8.339c-30.572 0-55.445 24.873-55.445 55.445 0 30.579 24.873 55.461 55.445 55.461s55.445-24.882 55.445-55.461c0-30.572-24.873-55.445-55.445-55.445zM388.206 102.169c-30.572 0-55.436 24.873-55.436 55.445s24.865 55.445 55.436 55.445c30.58 0 55.454-24.873 55.454-55.445s-24.873-55.445-55.454-55.445z" /> -<glyph unicode="" d="M264.53 343.004v26.356c0 7.789 16.46 18.093 29.688 26.382 18.951 11.862 38.552 24.141 38.552 42.026v42.132h-17.060v-42.133c0-8.439-16.935-19.042-30.547-27.572-18.534-11.596-37.693-23.599-37.693-40.835v-26.356c-66.666-4.282-119.42-58.011-119.42-123.827v-126.833c0-68.615 57.286-124.244 127.95-124.244s127.95 55.628 127.95 124.244v126.833c0 65.816-52.755 119.545-119.42 123.827zM366.89 219.177v-12.237h-102.36v119.004c57.16-4.241 102.36-50.448 102.36-106.767zM145.11 219.177c0 56.319 45.199 102.526 102.36 106.767v-119.004h-102.36v12.237zM256-14.84c-61.143 0-110.89 48.081-110.89 107.184v97.536h221.78v-97.536c0-59.103-49.748-107.184-110.89-107.184z" /> -<glyph unicode="" d="M51.28 275.18c-28.272 0-51.18-22.916-51.18-51.18s22.908-51.18 51.18-51.18c28.255 0 51.18 22.916 51.18 51.18s-22.925 51.18-51.18 51.18zM51.28 189.88c-18.826 0-34.12 15.302-34.12 34.12s15.294 34.12 34.12 34.12c18.809 0 34.12-15.303 34.12-34.12s-15.311-34.12-34.12-34.12zM460.72 275.18c-28.272 0-51.18-22.916-51.18-51.18s22.908-51.18 51.18-51.18c28.255 0 51.18 22.916 51.18 51.18s-22.925 51.18-51.18 51.18zM460.72 189.88c-18.809 0-34.12 15.302-34.12 34.12s15.311 34.12 34.12 34.12c18.809 0 34.12-15.303 34.12-34.12s-15.311-34.12-34.12-34.12zM256 275.18c-28.272 0-51.18-22.916-51.18-51.18s22.908-51.18 51.18-51.18c28.255 0 51.18 22.916 51.18 51.18s-22.925 51.18-51.18 51.18zM256 189.88c-18.809 0-34.12 15.302-34.12 34.12s15.311 34.12 34.12 34.12c18.809 0 34.12-15.303 34.12-34.12s-15.311-34.12-34.12-34.12z" /> -<glyph unicode="" d="M158.105 399.169c-13.545-27.473-20.717-57.819-20.717-89.023 0-111.631 90.822-202.446 202.454-202.446 32.838 0 64.567 7.83 92.989 22.591-34.395-61.901-99.969-101.918-173.799-101.918-109.848 0-199.222 89.365-199.222 199.214 0 71.854 38.552 136.521 98.295 171.582zM204.645 436.687c-93.072-24.139-161.895-108.474-161.895-209.101 0-119.437 96.846-216.274 216.282-216.274 102.194 0 187.611 70.964 210.218 166.218-33.395-32.62-79.019-52.771-129.408-52.771-102.385 0-185.394 83-185.394 185.386 0.001 48.982 19.143 93.406 50.197 126.542v0z" /> -<glyph unicode="" d="M477.78 113.11v307.080h-443.56v-307.080h213.25v-68.24h-59.71v-17.060h136.48v17.060h-59.71v68.24h213.25zM51.28 403.13h409.44v-272.96h-409.44v272.96z" /> -<glyph unicode="" d="M256.042 121.971c51.691 0 93.61 41.91 93.61 93.61v170.217c0 51.7-41.919 93.602-93.61 93.602s-93.61-41.902-93.61-93.602v-170.216c0-51.7 41.918-93.611 93.61-93.611zM179.452 385.798c0 42.227 34.356 76.582 76.59 76.582s76.59-34.356 76.59-76.582v-170.216c0-42.234-34.356-76.59-76.59-76.59s-76.59 34.356-76.59 76.59v170.216zM383.65 300.69v-85.109c0-70.382-57.26-127.65-127.65-127.65s-127.65 57.268-127.65 127.65v85.109h-17.020v-85.109c0-77.28 60.958-140.415 137.291-144.296h-1.089v-85.665h-76.632v-17.020h170.2v17.020h-76.548v85.665h-1.172c76.333 3.881 137.29 67.016 137.29 144.296v85.109h-17.020z" /> -<glyph unicode="" d="M51.28 369.010v-68.24h409.44v68.24h-409.44zM443.66 317.83h-375.32v34.12h375.32v-34.12zM51.28 189.88h409.44v68.24h-409.44v-68.24zM68.34 241.060h375.32v-34.12h-375.32v34.12zM51.28 78.99h409.44v68.24h-409.44v-68.24zM68.34 130.17h375.32v-34.12h-375.32v34.12z" /> -<glyph unicode="" d="M368.872 425.596l-10.512 5.256-8.53-4.256v-0.009l-93.83-46.914-102.36 51.18-110.89-55.445v-358.26l110.89 55.445 102.36-51.18 102.36 51.18 110.89-55.445v358.26l-100.378 50.188zM145.11 87.404l-85.3-42.65v320.108l85.3 42.65v-320.108zM247.47 44.754l-85.3 42.65v320.108l85.3-42.65v-320.108zM349.83 87.404l-85.3-42.65v320.108l85.3 42.65v-320.108zM452.19 44.754l-85.3 42.65v320.108l85.3-42.65v-320.108z" /> -<glyph unicode="" d="M256.009 462.848c84.659 0 153.531-68.881 153.531-153.548 0-26.923-7.13-53.463-20.633-76.779l-132.907-230.301-132.923 230.318c-13.487 23.3-20.617 49.839-20.617 76.762 0 84.667 68.881 153.548 153.549 153.548zM256.009 249.598c32.921 0 59.701 26.782 59.701 59.702 0 32.911-26.781 59.693-59.701 59.693-32.929 0-59.719-26.782-59.719-59.693 0-32.92 26.789-59.702 59.719-59.702zM256.009 479.908c-94.222 0-170.609-76.403-170.609-170.608 0-31.113 8.371-60.194 22.916-85.309l147.684-255.899 147.684 255.9c14.545 25.115 22.916 54.195 22.916 85.309 0 94.204-76.387 170.607-170.591 170.607v0zM256.009 266.658c-23.557 0-42.659 19.084-42.659 42.642 0 23.532 19.101 42.633 42.659 42.633 23.549 0 42.641-19.101 42.641-42.633 0-23.558-19.093-42.642-42.641-42.642v0z" /> -<glyph unicode="" d="M451.898 360.482h-409.148v-272.963h426.5v272.963h-17.352zM434.838 343.422l-164.769-164.769c-7.513-7.513-20.626-7.513-28.139 0l-164.794 164.769h357.702zM59.81 336.625l110.773-110.757-110.773-110.773v221.53zM73.421 104.582l109.233 109.216 47.214-47.207c6.972-6.981 16.261-10.83 26.132-10.83s19.159 3.849 26.132 10.83l47.214 47.214 109.224-109.223h-365.149zM452.19 115.086l-110.773 110.782 110.773 110.782v-221.564z" /> -<glyph unicode="" d="M467.659 266.529l-185.528 185.528c-6.972 6.981-16.26 10.829-26.132 10.829-9.871 0-19.158-3.848-26.131-10.829l-187.118-187.094v-279.849h426.5v279.824l-1.591 1.591zM70.073 268.162l171.858 171.833c7.514 7.514 20.626 7.514 28.14 0l179.938-179.946-122.62-122.62-45.257 45.266c-6.972 6.98-16.26 10.829-26.132 10.829-9.871 0-19.158-3.849-26.131-10.829l-45.932-45.924-122.627 122.628 8.763 8.763zM171.867 124.718l-1.267-1.283-0.016 0.017-110.774-110.765v224.087l112.057-112.056zM73.421 2.174l9.171 9.171h0.026l159.312 159.288c7.514 7.514 20.626 7.514 28.14 0l168.501-168.459h-365.15zM452.19 230.885v-218.207l-112.739 112.69 112.739 112.739v-7.222z" /> -<glyph unicode="" d="M467.659 266.529l-185.527 185.527c-6.972 6.981-16.261 10.829-26.132 10.829s-19.159-3.848-26.132-10.829l-40.451-40.442h-61.359v-61.351l-85.308-85.3v-279.849h426.5v279.824l-1.591 1.591zM450.007 260.048l-66.057-66.057v132.115l66.057-66.058zM241.931 439.995c7.514 7.514 20.626 7.514 28.139 0l28.381-28.38h-84.908l28.388 28.38zM315.51 394.554l51.38-51.388v-166.235l-39.502-39.502-45.257 45.266c-6.972 6.98-16.261 10.829-26.132 10.829s-19.159-3.849-26.132-10.829l-45.931-45.924-38.818 38.818v218.965h170.392zM70.072 268.162l57.986 57.978v-133.49l-66.748 66.749 8.762 8.763zM59.81 223.072v13.702l112.056-112.056-1.266-1.283-0.017 0.017-110.773-110.765v210.385zM73.421 2.174l9.171 9.171h0.025l159.313 159.288c7.514 7.514 20.626 7.514 28.139 0l168.501-168.459h-365.149zM452.19 234.242v-221.564l-112.739 112.69 112.739 112.739v-3.865zM196.29 343.374h119.42v-17.060h-119.42v17.060zM196.29 241.014h119.42v-17.060h-119.42v17.060zM196.29 292.194h85.3v-17.060h-85.3v17.060z" /> -<glyph unicode="" d="M341.517 437.25v-238.623c0-47.231-38.285-85.517-85.517-85.517-47.249 0-85.517 38.285-85.517 85.517v238.623h-102.143v-238.84c0-103.643 84.017-187.66 187.66-187.66s187.66 84.017 187.66 187.66v238.84h-102.143zM426.6 420.19v-51.18h-68.023v51.18h68.023zM153.423 420.19v-51.18h-68.023v51.18h68.023zM256 27.81c-94.080 0-170.6 76.528-170.6 170.6v153.54h68.023v-153.323c0-56.562 46.015-102.577 102.577-102.577 56.561 0 102.577 46.015 102.577 102.577v153.323h68.023v-153.54c0-94.072-76.537-170.6-170.6-170.6z" /> -<glyph unicode="" d="M327.388 306.818l-148.242-147.143 12.046-12.094 148.242 147.142zM110.99 130.17c-51.738 0-93.83 42.092-93.83 93.83 0 51.739 42.092 93.83 93.83 93.83 25.057 0 47.789-9.929 64.634-25.982l0.008 0.092 0.867-0.758 33.212-33.062h-30.481v-17.060h59.71v59.71h-17.060v-30.696l-33.337 33.187-0.075-0.075c-20.009 19.584-47.34 31.704-77.478 31.704-61.143 0-110.89-49.747-110.89-110.89s49.747-110.89 110.89-110.89c31.529 0 59.96 13.295 80.177 34.495l-12.054 12.062c-17.118-18.118-41.292-29.497-68.123-29.497zM401.010 334.89c-28.239 0-53.962-10.696-73.554-28.139l12.053-12.054c16.486 14.361 37.969 23.133 61.501 23.133 51.738 0 93.83-42.091 93.83-93.83s-42.092-93.83-93.83-93.83c-24.966 0-47.623 9.863-64.45 25.815l-0.025-0.158-56.494 56.286-12.113-12.020 56.562-56.345 0.1 0.101c19.918-18.993 46.798-30.739 76.42-30.739 61.143 0 110.89 49.748 110.89 110.89s-49.747 110.89-110.89 110.89z" /> -<glyph unicode="" d="M256 377.538c-93.547 0-166.468-58.552-255.9-153.481 77.053-81.169 141.711-153.595 255.9-153.595s198.114 91.686 255.9 151.878c-59.152 70.515-143.086 155.198-255.9 155.198zM256 87.522c-101.369 0-162.561 62.871-232.376 136.518 83.068 86.616 149.117 136.438 232.376 136.438 98.57 0 175.606-71.080 232.925-137.454-56.369-58.777-132.689-135.502-232.925-135.502zM256 326.35c-56.445 0-102.36-45.916-102.36-102.352s45.915-102.352 102.36-102.352 102.36 45.915 102.36 102.351-45.915 102.353-102.36 102.353zM256 138.706c-47.032 0-85.3 38.26-85.3 85.291s38.268 85.292 85.3 85.292 85.3-38.26 85.3-85.292c0-47.030-38.268-85.291-85.3-85.291zM256 283.708c-32.921 0-59.71-26.789-59.71-59.71s26.789-59.71 59.71-59.71c32.921 0 59.71 26.79 59.71 59.71 0 32.921-26.789 59.71-59.71 59.71zM256 181.348c-23.516 0-42.65 19.134-42.65 42.65s19.134 42.65 42.65 42.65 42.65-19.134 42.65-42.65c0-23.516-19.134-42.65-42.65-42.65z" /> -<glyph unicode="" d="M366.89 232.53v102.36c0 61.234-49.647 110.89-110.874 110.89-61.251 0-110.906-49.656-110.906-110.89v-102.36h-59.71v-230.31h341.2v230.31h-59.71zM162.17 334.89c0 51.738 42.1 93.83 93.846 93.83 51.73 0 93.814-42.092 93.814-93.83v-102.36h-187.66v102.36zM409.54 19.28h-307.080v196.19h307.080v-196.19z" /> -<glyph unicode="" d="M136.58 479.9v-51.18l59.71-102.36v-358.26h119.42v358.26l59.71 102.36v51.18h-238.84zM153.64 462.84h204.72v-29.505l-2.69-4.615h-199.34l-2.69 4.615v29.505zM213.35-14.84v34.195h85.3v-34.195h-85.3zM300.974 334.957l-2.324-3.982v-294.56h-85.3v294.56l-47.065 80.685h179.43l-44.741-76.703zM256 241.060c-14.128 0-25.59-11.462-25.59-25.59v-34.153c0-14.12 11.462-25.59 25.59-25.59 14.127 0 25.59 11.47 25.59 25.59v34.153c0 14.128-11.463 25.59-25.59 25.59zM264.53 181.317c0-4.706-3.823-8.53-8.53-8.53s-8.53 3.824-8.53 8.53v34.153c0 4.707 3.823 8.53 8.53 8.53s8.53-3.823 8.53-8.53v-34.153z" /> -<glyph unicode="" d="M280.536 147.318c-20.812 0-41.63 7.914-57.473 23.766l12.062 12.061c25.048-25.048 65.787-25.040 90.844 0l107.446 107.45c25.040 25.041 25.040 65.783 0 90.831l-20.009 20.001c-25.041 25.040-65.791 25.040-90.836 0l-75.824-75.821-12.062 12.062 75.825 75.82c31.687 31.688 83.255 31.704 114.959 0l20.009-20c31.688-31.696 31.688-83.267 0-114.955l-107.447-107.448c-15.844-15.845-36.669-23.767-57.494-23.767zM144.010 10.739c-21.708 0-42.125 8.455-57.477 23.807l-20.009 20.001c-31.688 31.704-31.688 83.267 0 114.955l107.449 107.458c31.688 31.687 83.276 31.687 114.96 0l20.009-20.009-12.062-12.062-20.009 20.009c-25.036 25.041-65.795 25.032-90.835 0l-107.45-107.458c-25.032-25.032-25.032-65.783 0-90.832l20.009-20c12.129-12.129 28.264-18.81 45.415-18.81 17.161 0 33.287 6.681 45.416 18.81l71.505 71.505 12.061-12.062-71.505-71.505c-15.343-15.353-35.76-23.807-57.477-23.807z" /> -<glyph unicode="" d="M350.171 398.161c56.336 0 102.019-45.674 102.019-102.019 0-28.938-12.070-55.019-31.43-73.596l-164.76-165.585-167.742 168.568c-17.602 18.334-28.448 43.191-28.448 70.613 0 56.345 45.682 102.019 102.019 102.019 42.425 0 78.794-25.915 94.171-62.776 15.377 36.861 51.746 62.776 94.171 62.776zM350.171 415.221c-37.527 0-71.988-17.427-94.171-46.148-22.183 28.721-56.644 46.148-94.171 46.148-65.658 0-119.079-53.421-119.079-119.079 0-30.854 11.787-60.126 33.204-82.425l180.046-180.938 176.856 177.731c23.366 22.425 36.394 52.93 36.394 85.633 0 65.657-53.421 119.078-119.079 119.078v0z" /> -<glyph unicode="" d="M426.6 300.907c0 94.213-76.37 170.6-170.6 170.6s-170.6-76.387-170.6-170.6c0-55.487 26.573-104.667 67.607-135.797l-0.075-0.042c0.783-0.533 1.591-1.141 2.424-1.791 0.083-0.058 0.158-0.125 0.233-0.183 13.204-10.42 32.171-34.761 32.171-66.891v-119.711h136.48v119.712c0 34.12 19.709 58.603 34.12 68.332l-0.042 0.049c41.426 31.105 68.282 80.528 68.282 136.322zM204.82-6.447v51.471h102.36v-51.471h-102.36zM256 283.856c-9.404 0-17.060 7.647-17.060 17.051 0 9.413 7.656 17.069 17.060 17.069s17.060-7.656 17.060-17.069c0-9.404-7.656-17.051-17.060-17.051zM348.072 178.231c-0.224-0.175-0.449-0.351-0.666-0.533-18.876-13.429-40.226-42.342-40.226-81.494v-34.12h-42.65v205.92c14.686 3.807 25.59 17.034 25.59 32.904 0 18.843-15.277 34.129-34.12 34.129s-34.12-15.286-34.12-34.129c0-15.869 10.904-29.097 25.59-32.904v-205.92h-42.65v34.12c0 36.736-20.825 66.208-38.51 80.161-0.133 0.117-0.299 0.234-0.458 0.367-0.558 0.433-1.107 0.85-1.64 1.25-0.292 0.25-0.583 0.491-0.891 0.716-38.677 29.347-60.86 73.889-60.86 122.211 0 84.659 68.881 153.54 153.54 153.54s153.54-68.881 153.54-153.54c-0.001-48.641-22.401-93.349-61.469-122.678z" /> -<glyph unicode="" d="M256 437.25c-117.787 0-213.25-95.464-213.25-213.25 0-117.787 95.463-213.25 213.25-213.25s213.25 95.463 213.25 213.25c0 117.786-95.463 213.25-213.25 213.25zM256 27.81c-108.174 0-196.19 88.015-196.19 196.19 0 108.174 88.016 196.19 196.19 196.19s196.19-88.016 196.19-196.19c0-108.175-88.016-196.19-196.19-196.19zM145.677 232.53h221.213v-17.060h-221.213v17.060z" /> -<glyph unicode="" d="M110.99 130.166c-28.264 0-51.18-22.907-51.18-51.171s22.916-51.18 51.18-51.18c28.256 0 51.18 22.916 51.18 51.18s-22.924 51.171-51.18 51.171zM110.99 44.874c-18.817 0-34.12 15.303-34.12 34.12 0 18.81 15.303 34.111 34.12 34.111 18.818 0 34.12-15.302 34.12-34.111 0-18.817-15.302-34.12-34.12-34.12zM110.99 420.186c-28.264 0-51.18-22.907-51.18-51.171s22.916-51.18 51.18-51.18c28.256 0 51.18 22.916 51.18 51.18s-22.924 51.171-51.18 51.171zM110.99 334.894c-18.817 0-34.12 15.303-34.12 34.12 0 18.81 15.303 34.111 34.12 34.111 18.818 0 34.12-15.302 34.12-34.111 0-18.817-15.302-34.12-34.12-34.12zM110.99 275.534c-28.264 0-51.18-22.907-51.18-51.171s22.916-51.18 51.18-51.18c28.256 0 51.18 22.916 51.18 51.18s-22.924 51.171-51.18 51.171zM110.99 190.243c-18.817 0-34.12 15.31-34.12 34.12s15.303 34.111 34.12 34.111c18.818 0 34.12-15.302 34.12-34.111s-15.302-34.12-34.12-34.12zM256 130.166c-28.264 0-51.18-22.907-51.18-51.171s22.916-51.18 51.18-51.18c28.256 0 51.18 22.916 51.18 51.18s-22.924 51.171-51.18 51.171zM256 44.874c-18.817 0-34.12 15.303-34.12 34.12 0 18.81 15.303 34.111 34.12 34.111s34.12-15.302 34.12-34.111c0-18.817-15.302-34.12-34.12-34.12zM256 420.186c-28.264 0-51.18-22.907-51.18-51.171s22.916-51.18 51.18-51.18c28.256 0 51.18 22.916 51.18 51.18s-22.924 51.171-51.18 51.171zM256 334.894c-18.817 0-34.12 15.303-34.12 34.12 0 18.81 15.303 34.111 34.12 34.111s34.12-15.302 34.12-34.111c0-18.817-15.302-34.12-34.12-34.12zM256 275.534c-28.264 0-51.18-22.907-51.18-51.171s22.916-51.18 51.18-51.18c28.256 0 51.18 22.916 51.18 51.18s-22.924 51.171-51.18 51.171zM256 190.243c-18.817 0-34.12 15.31-34.12 34.12s15.303 34.111 34.12 34.111c18.818 0 34.12-15.302 34.12-34.111s-15.302-34.12-34.12-34.12zM401.010 130.166c-28.264 0-51.18-22.907-51.18-51.171s22.916-51.18 51.18-51.18c28.256 0 51.18 22.916 51.18 51.18s-22.924 51.171-51.18 51.171zM401.010 44.874c-18.817 0-34.12 15.303-34.12 34.12 0 18.81 15.303 34.111 34.12 34.111s34.12-15.302 34.12-34.111c0-18.817-15.302-34.12-34.12-34.12zM401.010 317.834c28.256 0 51.18 22.916 51.18 51.18s-22.924 51.171-51.18 51.171c-28.264 0-51.18-22.907-51.18-51.171s22.916-51.18 51.18-51.18zM401.010 403.126c18.818 0 34.12-15.302 34.12-34.111 0-18.817-15.302-34.12-34.12-34.12s-34.12 15.303-34.12 34.12c0 18.809 15.303 34.111 34.12 34.111zM401.010 275.534c-28.264 0-51.18-22.907-51.18-51.171s22.916-51.18 51.18-51.18c28.256 0 51.18 22.916 51.18 51.18s-22.924 51.171-51.18 51.171zM401.010 190.243c-18.817 0-34.12 15.31-34.12 34.12s15.303 34.111 34.12 34.111c18.818 0 34.12-15.302 34.12-34.111s-15.302-34.12-34.12-34.12z" /> -<glyph unicode="" d="M319.375 241.377l-12.062 12.061-51.304-51.313-51.314 51.313-12.062-12.061 51.305-51.314-51.472-51.463 12.062-12.062 51.481 51.464 51.47-51.464 12.063 12.062-51.472 51.463zM469.25 368.993h-426.5v-17.060h12.537l4.523-34.12c0-13.611 8.022-25.256 19.542-30.738l30.088-175.498c3.149-17.86 14.586-32.571 32.571-32.571h227.978c17.976 0 28.889 14.445 32.57 32.571l30.089 175.498c11.521 5.481 19.542 17.127 19.542 30.738l4.523 34.12h12.537v17.060zM385.791 114.726c-1.474-7.081-5.464-18.659-15.802-18.659h-227.978c-11.612 0-15.003 14.144-15.76 18.393l-29.014 169.233h317.526l-28.972-168.967zM435.28 320.046l-0.15-1.116v-1.117c0-9.413-7.656-17.060-17.060-17.060h-324.14c-9.404 0-17.060 7.647-17.060 17.060v1.117l-0.15 1.116-4.223 31.888h367.007l-4.224-31.888z" /> -<glyph unicode="" d="M257.066 301.503c14.127 0 25.59 11.463 25.59 25.59 0 14.144-11.463 25.574-25.59 25.574-14.128 0-25.59-11.429-25.59-25.574 0-14.128 11.462-25.59 25.59-25.59zM274.443 267.383v17.060h-51.18v-17.060h17.060v-145.010h-17.060v-17.060h68.24v17.060h-17.060zM256 437.25c-117.77 0-213.25-95.48-213.25-213.25 0-117.787 95.48-213.25 213.25-213.25s213.25 95.463 213.25 213.25c0 117.77-95.48 213.25-213.25 213.25zM256 27.81c-108.183 0-196.19 88.016-196.19 196.19s88.007 196.19 196.19 196.19c108.183 0 196.19-88.016 196.19-196.19s-88.007-196.19-196.19-196.19z" /> -<glyph unicode="" d="M256 437.25l-85.3-85.3v34.12h-68.24v-102.36l-60.077-60.077 12.062-12.062 201.555 201.554 201.555-201.555 12.062 12.062-213.617 213.618zM119.52 369.010h34.12v-34.12l-34.12-34.12v68.24zM102.46 215.47v-204.72h119.42v119.42h68.24v-119.42h119.42v204.72l-153.54 153.54-153.54-153.54zM392.48 27.81h-85.3v119.42h-102.36v-119.42h-85.3v180.595l136.48 136.48 136.48-136.48v-180.595z" /> -<glyph unicode="" d="M256 428.72c-113.056 0-204.72-91.647-204.72-204.72 0-113.063 91.656-204.711 204.72-204.72 113.073 0.009 204.72 91.664 204.72 204.72-0.008 113.064-91.656 204.72-204.72 204.72zM255.984 130.17c-51.73 0-93.814 42.092-93.814 93.83 0 51.739 42.092 93.83 93.83 93.83h0.017c51.729 0 93.813-42.091 93.813-93.83 0-51.729-42.091-93.821-93.846-93.83zM358.327 266.767l64.45 43.092c13.311-25.749 20.883-54.929 20.883-85.859 0-30.537-7.38-59.368-20.375-84.875l-64.567 43.183c5.232 12.879 8.172 26.932 8.172 41.692 0 15.161-3.057 29.605-8.563 42.767zM414.238 324.669l-63.842-42.683c-9.28 15.078-22.033 27.731-37.193 36.885l42.708 63.858c23.458-14.81 43.4-34.669 58.327-58.060zM341.050 391.193l-43.166-64.541c-12.92 5.282-27.039 8.238-41.867 8.238h-0.017c-14.828 0-28.939-2.956-41.867-8.238l-43.174 64.55c25.548 13.053 54.436 20.458 85.041 20.458s59.502-7.413 85.050-20.467zM156.097 382.747l42.717-63.867c-15.194-9.18-27.972-21.867-37.26-36.978l-63.85 42.7c14.936 23.417 34.911 43.308 58.393 58.145zM89.182 309.784l64.458-43.108c-5.481-13.145-8.53-27.548-8.53-42.676 0-14.719 2.933-28.747 8.138-41.591l-64.583-43.192c-12.961 25.482-20.325 54.287-20.325 84.783 0 30.897 7.556 60.052 20.842 85.784zM97.104 124.339l63.867 42.709c9.222-15.352 22.024-28.256 37.302-37.602l-42.699-63.842c-23.575 14.994-43.584 35.086-58.47 58.735zM170.401 57.091l43.117 64.475c13.086-5.432 27.414-8.456 42.467-8.456 0.009 0 0.016 0 0.016 0 15.061 0 29.406 3.032 42.5 8.472l43.117-64.483c-25.69-13.236-54.778-20.759-85.616-20.759-30.831 0-59.912 7.523-85.601 20.751zM356.444 65.612l-42.699 63.85c15.235 9.33 28.013 22.192 37.227 37.502l63.867-42.717c-14.878-23.598-34.862-43.658-58.395-58.635z" /> -<glyph unicode="" d="M256 437.25c-117.779 0-213.25-95.471-213.25-213.25 0-117.771 95.471-213.25 213.25-213.25s213.25 95.479 213.25 213.25c0 117.779-95.471 213.25-213.25 213.25zM256 27.81c-108.183 0-196.19 88.007-196.19 196.19s88.007 196.19 196.19 196.19 196.19-88.007 196.19-196.19c0-108.183-88.007-196.19-196.19-196.19zM255.276 335.798c-43.3 0-67.474-26.756-67.782-69.148h18.809c-0.591 30.754 15.528 53.32 48.073 53.32 23.283 0 42.692-16.419 42.692-40.301 0-15.527-8.364-28.064-19.409-38.518-22.683-21.059-29.047-30.955-30.189-59.801h19.051c1.125 26.156 0.542 25.631 23.375 48.456 15.227 14.328 25.973 28.672 25.973 50.764 0 34.628-27.465 55.228-60.593 55.228zM256 147.221c-9.413 0-17.060-7.639-17.060-17.051 0-9.43 7.647-17.060 17.060-17.060 9.421 0 17.060 7.63 17.060 17.060 0 9.413-7.639 17.051-17.060 17.051z" /> -<glyph unicode="" d="M452.19 249.59v-204.72h-85.3v375.32h-17.060v-375.32h-85.3v255.9h-17.060v-255.9h-85.3v102.36h-17.060v-102.36h-85.225v153.54h-17.060v-153.54h-0.075v-17.060h426.5v221.78z" /> -<glyph unicode="" d="M51.28 428.72v-409.44h409.44v409.44h-409.44zM443.66 411.66v-73.497l-112.364-162.103-77.037 60.877-85.7-119.986-50.596 33.728-49.623-57.845v318.826h375.32zM68.34 36.34v30.296l52.738 61.468 51.763-34.512 84.9 118.854 77.237-61.026 108.682 156.797v-271.877h-375.32z" /> -<glyph unicode="" d="M447.925 462.84c-23.516 0-42.65-19.126-42.65-42.634 0-14.819 7.614-27.88 19.118-35.527l-80.644-212.551c-2.232 0.367-4.481 0.692-6.805 0.692-10.221 0-19.484-3.765-26.84-9.78l-80.693 66.649c3.182 5.972 5.156 12.678 5.156 19.9 0 23.516-19.134 42.65-42.65 42.65s-42.65-19.135-42.65-42.65c0-12.704 5.698-24.008 14.544-31.83l-85.983-149.765c-4.339 1.491-8.904 2.474-13.744 2.474-23.524 0-42.659-19.126-42.659-42.633 0-23.533 19.134-42.675 42.659-42.675 23.516 0 42.641 19.142 42.641 42.675 0 12.537-5.539 23.707-14.185 31.521l86.075 149.925c4.215-1.4 8.63-2.341 13.303-2.341 10.122 0 19.301 3.69 26.623 9.596l80.777-66.716c-3.099-5.915-5.023-12.529-5.023-19.651 0-23.516 19.135-42.65 42.65-42.65 23.516 0 42.65 19.134 42.65 42.65 0 15.136-7.98 28.364-19.892 35.944l80.518 212.201c2.508-0.458 5.065-0.775 7.705-0.775 23.516 0 42.65 19.142 42.65 42.666-0.001 23.509-19.135 42.635-42.651 42.635zM64.084 2.22c-14.111 0-25.599 11.487-25.599 25.615 0 14.103 11.487 25.573 25.599 25.573 14.103 0 25.581-11.47 25.581-25.573 0-14.128-11.479-25.615-25.581-25.615zM191.917 224c-14.111 0-25.59 11.479-25.59 25.59s11.479 25.59 25.59 25.59 25.59-11.479 25.59-25.59-11.479-25.59-25.59-25.59zM336.944 104.58c-14.111 0-25.59 11.479-25.59 25.59s11.479 25.59 25.59 25.59 25.59-11.479 25.59-25.59c0-14.111-11.479-25.59-25.59-25.59zM447.925 394.6c-14.111 0-25.59 11.486-25.59 25.606 0 14.103 11.479 25.574 25.59 25.574s25.59-11.471 25.59-25.574c0-14.12-11.479-25.606-25.59-25.606z" /> -<glyph unicode="" d="M469.254 224c0 114.897-90.915 208.552-204.728 213.033v0.217h-17.060v-0.217c-113.814-4.481-204.72-98.136-204.72-213.033 0-117.787 95.479-213.25 213.25-213.25 41.371 0 79.956 11.82 112.664 32.203l0.117-0.166 6.347 4.315c0.084 0.049 0.15 0.091 0.217 0.142l7.547 5.123-0.116 0.166c52.462 38.843 86.482 101.169 86.482 171.467zM435.484 303.094l-170.958-66.616v183.495c76.391-3.291 141.57-50.455 170.958-116.879zM255.996 27.81c-108.183 0-196.19 88.007-196.19 196.19 0 105.316 83.425 191.483 187.66 195.973v-198.598l111.565-164.243c-29.976-18.568-65.262-29.322-103.035-29.322zM373.142 66.711l-104.076 153.232 172.615 67.257c6.78-19.842 10.512-41.084 10.512-63.2 0.001-64.309-31.103-121.486-79.051-157.289z" /> -<glyph unicode="" d="M256 437.25c-0.058 0-0.117 0-0.183 0-0.025 0-0.049 0-0.083 0-0.084 0-0.167-0.017-0.25-0.017-117.546-0.266-212.734-95.629-212.734-213.233 0-117.571 95.188-212.951 212.734-213.234 0.083 0 0.166-0.016 0.25-0.016 0.033 0 0.058 0 0.083 0 0.067 0 0.125 0 0.183 0 117.754 0 213.25 95.496 213.25 213.25 0 117.77-95.496 213.25-213.25 213.25zM264.53 309.633c22.608 0.617 44.608 3.599 65.791 8.764 6.389-25.14 10.346-54.113 10.97-85.866h-76.761v77.102zM264.53 326.693v92.148c22.999-6.364 46.291-37.019 61.143-84.034-19.701-4.749-40.143-7.515-61.143-8.114zM247.47 419.040v-92.347c-21.175 0.6-41.783 3.415-61.634 8.247 14.969 47.297 38.484 78.069 61.634 84.1zM247.47 309.65v-77.12h-77.295c0.624 31.804 4.598 60.81 10.988 85.966 21.35-5.214 43.516-8.247 66.307-8.846zM153.007 232.53h-92.98c1.883 43.849 18.218 84.033 44.374 115.854 18.993-10.463 39.143-19.026 60.252-25.424-6.89-27.205-11.022-57.876-11.646-90.43zM153.007 215.47c0.624-32.538 4.756-63.209 11.645-90.415-21.1-6.414-41.259-14.977-60.252-25.44-26.156 31.821-42.491 72.005-44.373 115.855h92.98zM170.175 215.47h77.295v-77.020c-22.791-0.601-44.966-3.649-66.316-8.881-6.389 25.141-10.354 54.129-10.979 85.901zM247.47 121.406v-92.447c-23.166 6.048-46.698 36.852-61.659 84.201 19.859 4.831 40.476 7.647 61.659 8.246zM264.53 29.159v92.247c21.009-0.6 41.451-3.382 61.159-8.13-14.844-47.048-38.151-77.752-61.159-84.117zM264.53 138.45v77.020h76.761c-0.624-31.721-4.581-60.66-10.946-85.784-21.199 5.165-43.199 8.164-65.815 8.764zM358.46 215.47h93.514c-1.883-43.85-18.209-84.018-44.366-115.838-19.151 10.529-39.467 19.159-60.759 25.59 6.872 27.172 10.986 57.777 11.611 90.248zM358.46 232.53c-0.624 32.521-4.748 63.142-11.629 90.331 21.276 6.431 41.592 15.044 60.727 25.573 26.181-31.82 42.525-72.021 44.416-115.904h-93.514zM395.804 361.463c-16.969-9.030-34.887-16.494-53.596-22.158-9.972 32.088-23.974 58.278-40.526 75.471 36.319-8.714 68.748-27.507 94.122-53.313zM209.643 414.609c-16.468-17.161-30.404-43.233-40.343-75.154-18.525 5.648-36.286 13.045-53.104 22.008 25.207 25.639 57.395 44.382 93.447 53.146zM116.138 86.603c16.836 8.98 34.604 16.378 53.146 22.025 9.937-31.954 23.874-58.061 40.359-75.237-36.078 8.779-68.281 27.539-93.505 53.212zM301.674 33.241c16.577 17.193 30.58 43.4 40.559 75.537 18.717-5.681 36.644-13.128 53.62-22.191-25.373-25.824-57.827-44.65-94.179-53.346z" /> -<glyph unicode="" d="M299.616 419.624l-22.008-178.564h97.411l-162.635-212.684 22.009 178.563h-97.412l162.635 212.685zM324.24 479.9l-221.78-290.020h112.639l-27.339-221.78 221.78 290.020h-112.639l27.339 221.78z" /> -<glyph unicode="" d="M499.105 236.786h-5.107c-6.322 52.847-51.238 93.83-105.783 93.83-50.68 0-93.014-35.386-103.851-82.776l-24.416 12.754c-2.465 1.282-5.431 1.282-7.896 0l-24.415-12.754c-10.837 47.399-53.171 82.785-103.851 82.785-54.554 0-99.453-40.984-105.784-93.83h-5.106c-7.065 0-12.795-5.731-12.795-12.804 0-7.055 5.73-12.786 12.795-12.786h5.106c6.331-52.846 51.23-93.83 105.784-93.83 58.885 0 106.625 47.731 106.625 106.625 0 1.982-0.192 3.924-0.3 5.881l25.889 13.528 25.889-13.528c-0.108-1.958-0.299-3.899-0.299-5.881 0-58.885 47.739-106.625 106.625-106.625 54.545 0 99.444 40.984 105.783 93.821h5.107c7.064 0 12.795 5.731 12.795 12.795s-5.731 12.795-12.795 12.795zM123.785 134.435c-49.39 0-89.565 40.176-89.565 89.565s40.175 89.565 89.565 89.565c49.389 0 89.565-40.175 89.565-89.565s-40.176-89.565-89.565-89.565zM388.215 134.435c-49.39 0-89.565 40.176-89.565 89.565 0 49.381 40.175 89.556 89.565 89.556s89.565-40.175 89.565-89.556c0-49.389-40.176-89.565-89.565-89.565z" /> -<glyph unicode="" d="M360.7 326.368c14.22 12.512 23.25 30.788 23.25 51.164 0 37.627-30.613 68.24-68.24 68.24-25.673 0-48.064-14.27-59.71-35.278-11.645 21.009-34.037 35.278-59.71 35.278-37.627 0-68.24-30.613-68.24-68.24 0-20.376 9.030-38.652 23.249-51.164h-100.019v-324.14h409.44v324.14h-100.020zM443.66 309.308v-136.48h-179.13v136.48h10.896l41.409-72.472 14.811 8.463-36.578 64.008h148.592zM256 343.295l9.671-16.927h-19.343l9.672 16.927zM315.71 428.712c28.222 0 51.18-22.958 51.18-51.18 0-28.214-22.958-51.164-51.18-51.164s-51.18 22.95-51.18 51.164c0 28.222 22.957 51.18 51.18 51.18zM145.11 377.532c0 28.222 22.957 51.18 51.18 51.18 28.222 0 51.18-22.958 51.18-51.18 0-28.214-22.958-51.164-51.18-51.164-28.223 0-51.18 22.95-51.18 51.164zM216.932 309.308l-36.577-64.008 14.811-8.463 41.409 72.472h10.896v-136.48h-179.131v136.48h148.592zM68.34 155.768h179.13v-136.48h-179.13v136.48zM264.53 19.288v136.48h179.13v-136.48h-179.13z" /> -<glyph unicode="" d="M426.6 356.215h-221.78v8.53c0 18.843-15.277 34.12-34.12 34.12h-85.3c-18.843 0-34.12-15.277-34.12-34.12v-281.49c0-18.842 15.277-34.12 34.12-34.12h341.2c18.843 0 34.12 15.278 34.12 34.12v238.84c0 18.843-15.277 34.12-34.12 34.12zM68.34 364.745c0 9.405 7.656 17.060 17.060 17.060h85.3c9.404 0 17.060-7.655 17.060-17.060v-25.59h238.84c9.404 0 17.060-7.655 17.060-17.060v-17.060h-375.32v59.71zM426.6 66.195h-341.2c-9.404 0-17.060 7.656-17.060 17.060v204.72h375.32v-204.72c0-9.404-7.656-17.060-17.060-17.060z" /> -<glyph unicode="" d="M409.531 406.372l-11.346-3.956c-0.299-0.101-31.030-10.629-79.618-10.629-24.757 0-48.332 5.022-71.122 9.879-23.050 4.914-46.89 9.995-72.131 9.995-50.33 0-67.399-10.804-69.181-12.037l-3.674-2.54v-360.747h17.060v163.133c6.789 2.649 23.433 7.372 55.795 7.372 23.441 0 45.366-4.673 68.574-9.621 23.657-5.048 48.123-10.262 74.679-10.262 51.729 0 83.925 11.112 85.274 11.587l5.698 2.007-0.008 205.819zM392.48 212.948c-11.037-3.007-37.443-8.929-73.912-8.929-24.757 0-48.332 5.022-71.122 9.888-23.050 4.914-46.89 9.995-72.131 9.995-27.63 0-45.241-3.257-55.795-6.406v169.75c6.831 2.649 23.516 7.355 55.795 7.355 23.441 0 45.366-4.673 68.574-9.621 23.657-5.040 48.123-10.254 74.679-10.254 34.361 0 60.102 4.906 73.912 8.338v-170.116z" /> -<glyph unicode="" d="M307.18 27.81h-102.452v166.361l-170.575 226.019h443.693l-170.666-226.019v-166.361zM221.788 44.87h68.332v155.015l153.473 203.245h-375.186l153.381-203.245v-155.015z" /> -<glyph unicode="" d="M405.208 283.777l-144.943 144.943h-153.54v-409.44h298.55v264.471l-0.067 0.026zM260.265 404.595l112.356-112.355h-112.356v112.355zM123.785 36.34v375.32h119.42v-136.48h145.010v-238.84h-264.43z" /> -<glyph unicode="" d="M179.23 411.66v17.060h-127.95v-127.95h17.060v98.829l121.411-121.411 12.062 12.061-121.411 121.411zM332.77 428.72v-17.060h98.828l-121.411-121.411 12.062-12.061 121.411 121.411v-98.829h17.060v127.95zM189.751 169.813l-121.411-121.411v98.828h-17.060v-127.95h127.95v17.060h-98.828l121.411 121.411zM443.66 48.402l-121.411 121.411-12.062-12.062 121.411-121.411h-98.828v-17.060h127.95v127.95h-17.060z" /> -<glyph unicode="" d="M51.28 19.28h170.6v170.617h-170.6v-170.617zM68.34 172.837h136.48v-136.497h-136.48v136.497zM375.42 224h17.060v136.48h-136.48v-17.060h108.191l-126.076-126.075 12.062-12.062 125.243 125.242zM51.28 428.72v-204.72h17.060v187.66h375.32v-375.32h-187.66v-17.060h204.72v409.44z" /> -<glyph unicode="" d="M452.19 386.078c0 23.558-19.1 42.642-42.65 42.642-23.557 0-42.65-19.084-42.65-42.642 0-20.625 14.653-37.835 34.12-41.792v-290.886h17.060v290.886c19.467 3.957 34.12 21.167 34.12 41.792zM409.54 360.488c-14.111 0-25.59 11.479-25.59 25.59 0 14.104 11.479 25.582 25.59 25.582s25.59-11.479 25.59-25.582c0-14.112-11.479-25.59-25.59-25.59zM110.99 103.722v290.878h-17.060v-290.878c-19.467-3.957-34.12-21.159-34.12-41.792 0-23.55 19.101-42.65 42.65-42.65 23.55 0 42.65 19.1 42.65 42.65 0 20.633-14.653 37.835-34.12 41.792zM102.46 36.34c-14.111 0-25.59 11.479-25.59 25.59s11.479 25.59 25.59 25.59 25.59-11.479 25.59-25.59-11.479-25.59-25.59-25.59zM264.53 265.792v128.808h-17.060v-128.808c-19.467-3.957-34.12-21.167-34.12-41.792s14.653-37.836 34.12-41.793v-128.807h17.060v128.807c19.467 3.957 34.12 21.167 34.12 41.793s-14.653 37.835-34.12 41.792zM256 198.41c-14.111 0-25.59 11.479-25.59 25.59s11.479 25.59 25.59 25.59 25.59-11.479 25.59-25.59-11.479-25.59-25.59-25.59z" /> -<glyph unicode="" d="M397.428 226.362c-0.341 1.324-1 2.524-1.883 3.524l-139.545 232.733-19.934-33.237h0.025l-120.403-200.772c-0.299-0.5-0.541-1.016-0.725-1.549-13.761-24.324-21.033-51.813-21.033-79.61 0-89.365 72.705-162.070 162.079-162.070 89.365 0 162.061 72.705 162.061 162.070 0 27.531-7.13 54.753-20.642 78.911zM256.009 2.441c-79.96 0-145.019 65.050-145.019 145.010 0 25.34 6.764 50.413 19.559 72.496 0.242 0.409 0.433 0.833 0.6 1.267l124.851 208.202 124.835-208.177c0.167-0.442 0.374-0.875 0.617-1.291 12.795-22.083 19.558-47.156 19.558-72.496 0-79.961-65.049-145.011-145.001-145.011z" /> -<glyph unicode="" d="M376.086 369.010h-239.506l-93.83-102.36v-187.66h426.5v187.66l-93.164 102.36zM144.086 351.95h224.462l77.637-85.3h-130.475c0-31.946-27.764-57.752-59.71-57.752s-59.71 25.807-59.71 57.752h-130.39l78.186 85.3zM452.19 96.050h-392.38v153.54h121.528c8.163-32.654 39.051-57.752 74.662-57.752s66.499 25.099 74.662 57.752h121.528v-153.54z" /> -<glyph unicode="" d="M181.362 266.966l-12.062-12.062 86.7-86.7 86.7 86.7-12.062 12.062-66.108-66.108v270.036h-17.060v-270.036zM298.65 385.594v-17.060h110.89v-290.020h-307.080v290.020h110.89v17.060h-127.95v-324.14h341.2v324.14z" /> -<glyph unicode="" d="M486.31 415.925h-460.62v-17.060h34.12v-307.080h187.66v-42.65h-136.48v-17.060h290.020v17.060h-136.48v42.65h187.66v307.080h34.12v17.060zM435.13 108.845h-358.26v290.020h358.26v-290.020zM230.41 347.685h-102.36v-102.36h102.36v102.36zM213.35 262.385h-68.24v68.24h68.24v-68.24zM264.53 262.385h119.42v-17.060h-119.42v17.060zM264.53 347.685h119.42v-17.060h-119.42v17.060zM264.53 305.035h119.42v-17.060h-119.42v17.060zM128.050 211.205h255.9v-17.060h-255.9v17.060zM128.050 160.025h255.9v-17.060h-255.9v17.060z" /> -<glyph unicode="" d="M477.78 116.825v307.080h-443.56v-307.080h213.25v-32.996l-80.901-44.807 8.263-14.927 81.168 44.966 81.169-44.966 8.263 14.927-80.902 44.807v32.996h213.25zM51.28 406.845h409.44v-272.96h-409.44v272.96zM244.705 233.171l-50.589 70.556-33.853-65.641-53.229 107.408-38.86-143.435 16.46-4.466 27.097 100.003 48.231-97.312 36.536 70.84 54.621-76.171 47.173 158.272-16.344 4.881zM375.429 321.545c-28.222 0-51.189-22.958-51.189-51.18s22.966-51.18 51.189-51.18c28.214 0 51.171 22.958 51.171 51.18s-22.958 51.18-51.171 51.18zM375.429 236.245c-18.818 0-34.129 15.302-34.129 34.12s15.311 34.12 34.129 34.12c18.81 0 34.111-15.302 34.111-34.12s-15.302-34.12-34.111-34.12z" /> -<glyph unicode="" d="M375.42 428.72h-324.14v-409.44h409.44v324.14l-85.3 85.3zM341.3 411.66v-119.42h-170.6v119.42h170.6zM443.66 36.34h-375.32v375.32h85.3v-136.48h204.72v136.48h9.996l75.304-75.304v-300.016zM290.454 377.54h17.060v-51.18h-17.060v51.18zM170.7 155.76h170.6v-17.060h-170.6v17.060zM170.7 104.58h170.6v-17.060h-170.6v17.060z" /> -<glyph unicode="" d="M51.28 428.72v-409.44h409.44v409.44h-409.44zM443.66 411.66v-76.77h-375.32v76.77h375.32zM68.34 36.34v281.49h375.32v-281.49h-375.32zM179.222 386.070h25.598v-25.59h-25.598v25.59zM307.18 386.070h25.59v-25.59h-25.59v25.59zM197.564 257.136c-3.057-20.759-12.928-21.117-32.795-21.833l-3.082-0.117v-14.469h33.662v-94.622h17.859v133.774h-15.244l-0.4-2.733zM298.267 216.928c-7.93 0-16.077-2.591-22.533-6.931l6.073 31.279h56.237v16.953h-69.548l-13.57-72.447h15.435l0.942 1.474c5.398 8.405 15.235 13.628 25.69 13.628 17.018 0 29.372-12.587 29.372-29.922 0-15.677-9.839-31.554-28.639-31.554-16.069 0-27.622 10.845-28.097 26.381l-0.1 3.099h-17.843l0.075-3.274c0.574-25.274 18.676-42.25 45.049-42.25 26.59 0 47.415 20.35 47.415 46.324-0.001 28.255-18.468 47.24-45.958 47.24z" /> -<glyph unicode="" d="M452.19 437.208c-0.624 0-1.199-0.15-1.816-0.183h-49.364v0.183l-339.384-0.183c-0.617 0.033-1.192 0.183-1.816 0.183-18.843 0-34.12-15.277-34.12-34.12 0-9.479 3.873-18.043 10.112-24.223l75.188-75.188v5.573c0-77.203 60.385-140.145 136.48-144.577v-136.821h-68.24v-17.060h153.54v17.060h-68.24v136.821c76.095 4.431 136.48 67.373 136.48 144.577v-5.573l75.187 75.188c6.24 6.181 10.113 14.744 10.113 24.223 0 18.843-15.277 34.12-34.12 34.12zM110.99 327.801l-63.183 63.184c-3.258 3.232-5.057 7.53-5.057 12.103 0 9.171 7.272 16.677 16.361 17.043 0.525-0.067 1.049-0.116 1.591-0.142l0.467-0.025h49.822v-92.163zM383.95 309.25c0-70.556-57.403-127.95-127.95-127.95s-127.95 57.394-127.95 127.95v110.898h255.9v-110.898zM464.193 390.985l-63.183-63.184v92.164l50.289 0.025c0.542 0.026 1.066 0.075 1.591 0.142 9.089-0.366 16.361-7.871 16.361-17.043-0.001-4.574-1.8-8.872-5.058-12.104z" /> -<glyph unicode="" d="M431.923 287.267h68.123l-247.311 146.426-240.781-146.426h61.709v-255.9h-34.12v-17.060h426.5v17.060h-34.12v255.9zM72.847 304.327l180.004 109.474 184.903-109.474h-364.907zM90.723 31.367v255.9h51.18v-255.9h-51.18zM158.963 31.367v255.9h51.18v-255.9h-51.18zM227.203 31.367v255.9h51.18v-255.9h-51.18zM295.443 31.367v255.9h51.18v-255.9h-51.18zM363.683 31.367v255.9h51.18v-255.9h-51.18z" /> -<glyph unicode="" d="M401.010 87.587v276.933l31.055 30.946-12.045 12.078-30.105-30.004h-278.824v51.18h-17.060v-51.18h-51.281v-17.060h51.281v-289.953h289.919v-51.247h17.060v51.247h68.24v17.060h-68.24zM372.805 360.48l-261.714-260.874v260.874h261.714zM123.203 87.587l260.747 259.922v-259.923h-260.747z" /> -<glyph unicode="" d="M460.72 377.54h-409.44c-14.127 0-25.59-11.463-25.59-25.59v-255.9c0-14.144 11.463-25.59 25.59-25.59h409.44c14.128 0 25.59 11.446 25.59 25.59v255.9c0 14.127-11.462 25.59-25.59 25.59zM42.75 309.3h426.5v-34.12h-426.5v34.12zM469.25 96.050c0-4.707-3.823-8.53-8.53-8.53h-409.44c-4.706 0-8.53 3.823-8.53 8.53v162.070h426.5v-162.070zM42.75 326.36v25.59c0 4.706 3.824 8.53 8.53 8.53h409.44c4.707 0 8.53-3.824 8.53-8.53v-25.59h-426.5zM76.87 138.7h170.6v-17.060h-170.6v17.060zM76.87 189.88h102.36v-17.060h-102.36v17.060zM383.7 121.64h34.637c9.271 0 16.793 7.397 16.793 16.543v1.024c0 9.138-7.522 16.552-16.793 16.552h-34.637c-9.287 0-16.81-7.414-16.81-16.552v-1.024c0-9.146 7.523-16.543 16.81-16.543z" /> -<glyph unicode="" d="M445.523 361.835l-86.147 86.147h-189.523v-68.918h-103.376v-379.047h275.67v68.918h103.376v292.9zM359.376 423.618l61.784-61.783h-61.784v61.783zM83.706 17.247v344.588h155.065v-86.147h86.147v-258.441h-241.212zM256 354.7l61.784-61.783h-61.784v61.783zM342.147 86.165v206.753l-86.147 86.147h-68.918v51.688h155.065v-86.147h86.147v-258.441h-86.147z" /> -<glyph unicode="" d="M281.59 420.19v-41.576l12.795-3.307c14.478-3.74 28.289-9.554 41.051-17.301l11.446-6.947 29.755 29.754 36.186-36.185-30.213-30.205 6.506-11.329c7.214-12.561 12.612-26.165 16.027-40.425l3.14-13.078h43.909v-51.18h-44.891l-3.457-12.52c-3.732-13.503-9.329-26.457-16.643-38.502l-6.948-11.454 32.571-32.562-36.186-36.185-33.029 33.021-11.32-6.506c-11.746-6.756-24.499-11.921-37.894-15.378l-12.804-3.299v-47.215h-51.18v47.215l-12.804 3.299c-13.395 3.457-26.148 8.622-37.894 15.378l-11.329 6.506-33.020-33.029-36.186 36.194 32.571 32.562-6.948 11.454c-7.314 12.045-12.911 24.999-16.643 38.502l-3.457 12.52h-44.891v51.18h43.909l3.14 13.078c3.415 14.26 8.813 27.864 16.027 40.425l6.506 11.329-30.213 30.205 36.186 36.185 29.755-29.754 11.446 6.947c12.762 7.747 26.573 13.562 41.051 17.301l12.795 3.307v41.575h51.178zM256 147.213c42.334 0 76.77 34.445 76.77 76.787 0 42.333-34.436 76.778-76.77 76.778s-76.77-34.445-76.77-76.778c0-42.342 34.436-76.787 76.77-76.787zM298.65 437.25h-85.3v-45.424c-16.294-4.207-31.605-10.721-45.632-19.234l-32.354 32.353-60.31-60.317 33.038-33.038c-7.972-13.877-13.995-28.964-17.827-44.94h-47.515v-85.3h48.964c4.216-15.253 10.479-29.597 18.502-42.817l-35.162-35.161 60.31-60.326 35.852 35.861c13.062-7.506 27.198-13.253 42.134-17.102v-51.055h85.3v51.055c14.936 3.849 29.072 9.596 42.134 17.102l35.853-35.852 60.31 60.317-35.162 35.161c8.022 13.22 14.286 27.565 18.502 42.817h48.964v85.3h-47.515c-3.832 15.977-9.855 31.063-17.827 44.94l33.038 33.038-60.31 60.317-32.354-32.353c-14.028 8.513-29.338 15.027-45.632 19.234v45.424h-0.001zM256 164.273c-32.987 0-59.71 26.74-59.71 59.727 0 32.986 26.723 59.718 59.71 59.718s59.71-26.731 59.71-59.718c0-32.987-26.723-59.727-59.71-59.727v0z" /> -<glyph unicode="" d="M287.871 392.118c6.631 7.513 10.779 17.277 10.779 28.081 0 23.549-19.084 42.641-42.65 42.641-23.557 0-42.65-19.093-42.65-42.641 0-10.804 4.148-20.568 10.779-28.081-97.92-15.311-172.849-100.011-172.849-202.238 0-113.073 91.664-204.72 204.72-204.72s204.72 91.647 204.72 204.72c0 102.218-74.929 186.927-172.849 202.238zM256 445.78c14.111 0 25.59-11.479 25.59-25.581s-11.479-25.582-25.59-25.582-25.59 11.479-25.59 25.581 11.479 25.582 25.59 25.582zM256 2.22c-103.477 0-187.66 84.183-187.66 187.66s84.183 187.66 187.66 187.66 187.66-84.183 187.66-187.66-84.183-187.66-187.66-187.66zM153.682 87.387l138.804 65.741 65.75 138.812-139.263-65.299-65.291-139.254zM227.953 205.599l43.542-43.541-82.21-38.935 38.668 82.476zM283.556 174.119l-43.541 43.541 82.484 38.677-38.943-82.218z" /> -<glyph unicode="" d="M426.625 402.876h-341.25c-18.843 0-34.12-15.277-34.12-34.12v-221.896c0-18.843 15.277-34.12 34.12-34.12h239.49l67.615-67.616v67.616h34.146c18.842 0 34.12 15.277 34.12 34.12v221.896c-0.001 18.843-15.279 34.12-34.121 34.12zM443.685 146.86c0-9.405-7.656-17.060-17.060-17.060h-51.205v-43.492l-43.491 43.492h-246.554c-9.404 0-17.060 7.655-17.060 17.060v221.896c0 9.405 7.656 17.060 17.060 17.060h341.25c9.404 0 17.060-7.655 17.060-17.060v-221.896zM256 274.81c-9.421 0-17.060-7.647-17.060-17.060 0-9.421 7.639-17.060 17.060-17.060s17.060 7.639 17.060 17.060c0 9.413-7.639 17.060-17.060 17.060zM324.24 274.81c-9.421 0-17.060-7.647-17.060-17.060 0-9.421 7.639-17.060 17.060-17.060s17.060 7.639 17.060 17.060c0 9.413-7.639 17.060-17.060 17.060zM189.367 274.81c-9.421 0-17.060-7.647-17.060-17.060 0-9.421 7.639-17.060 17.060-17.060s17.060 7.639 17.060 17.060c0 9.413-7.638 17.060-17.060 17.060z" /> -<glyph unicode="" d="M383.517 164.29h68.673v136.48h-392.38v-127.95c0-89.507 72.563-162.070 162.070-162.070 86.625 0 157.181 68.023 161.637 153.54zM383.95 283.71h51.18v-102.36h-51.18v102.36zM221.88 27.81c-79.96 0-145.010 65.049-145.010 145.010v110.89h290.020v-110.89c0-79.961-65.050-145.010-145.010-145.010zM59.81-6.31h324.14v17.060h-324.14zM145.11 428.72h17.060v-76.77h-17.060v76.77zM281.59 428.72h17.060v-76.77h-17.060v76.77zM213.35 454.31h17.060v-102.36h-17.060v102.36z" /> -<glyph unicode="" d="M286.301 368.885c63.5 0 115.155-51.647 115.155-115.155 0-0.35-0.042-0.717-0.067-1.066-0.049-0.85-0.108-1.699-0.125-2.566l-0.433-17.41 17.435-0.067c42.2-0.117 76.528-34.553 76.528-76.754 0-42.084-34.262-76.52-76.37-76.737l-3.723-0.016h-312.27c-46.99 0.049-85.225 38.301-85.225 85.283 0 36.403 23.174 68.806 57.653 80.636l9.596 3.281 1.691 9.996c4.181 24.674 25.373 42.583 50.388 42.583 7.972 0 15.677-1.849 22.9-5.481l15.553-7.813 7.505 15.693c19.067 39.853 59.817 65.593 103.809 65.593zM286.301 385.945c-52.613 0-97.912-30.804-119.196-75.287-9.205 4.632-19.567 7.297-30.572 7.297-33.769 0-61.742-24.574-67.207-56.794-40.216-13.795-69.18-51.847-69.18-96.763 0-56.494 45.79-102.293 102.268-102.343l316.102 0.016c51.596 0.267 93.338 42.15 93.338 93.797 0 51.73-41.841 93.664-93.538 93.814 0.033 1.366 0.2 2.682 0.2 4.048 0 73.021-59.194 132.215-132.215 132.215v0z" /> -<glyph unicode="" d="M256 428.72c-113.056 0-204.72-91.664-204.72-204.72 0-113.057 91.664-204.72 204.72-204.72s204.72 91.663 204.72 204.72c0 113.056-91.664 204.72-204.72 204.72zM256 36.34c-103.477 0-187.66 84.183-187.66 187.66 0 103.476 84.183 187.66 187.66 187.66s187.66-84.184 187.66-187.66c0-103.477-84.183-187.66-187.66-187.66zM256 206.94h-102.36v-17.060h119.42v169.9h-17.060z" /> -<glyph unicode="" d="M256 437.25c-117.77 0-213.25-95.471-213.25-213.25s95.48-213.25 213.25-213.25c117.771 0 213.25 95.471 213.25 213.25s-95.479 213.25-213.25 213.25zM256 27.81c-108.183 0-196.19 88.015-196.19 196.19 0 108.174 88.007 196.19 196.19 196.19s196.19-88.016 196.19-196.19c0-108.175-88.007-196.19-196.19-196.19zM362.675 300.137l-136.938-132.79-47.973 47.964c-4.999 4.999-13.095 4.999-18.093 0-4.999-4.998-4.999-13.094 0-18.093l56.877-56.877c2.499-2.499 5.773-3.749 9.047-3.749 3.207 0 6.422 1.199 8.904 3.607l145.985 141.561c5.073 4.923 5.198 13.019 0.283 18.093-4.938 5.082-13.027 5.198-18.092 0.284z" /> -<glyph unicode="" d="M341.3 309.296v127.95h-298.55v-230.31h127.95v-127.95h177.015l68.24-68.231h10.645v68.231h42.65v230.31h-127.95zM59.81 223.996v196.19h264.43v-110.89h-153.54v-85.3h-110.89zM452.19 96.046h-42.65v-54.754l-54.762 54.754h-167.018v196.19h264.43v-196.19z" /> -<glyph unicode="" d="M489.946 326.36h-358.519l-28.946 119.42h-80.427v-17.060h67.015l83.176-343.091c-17.735-5.165-30.771-21.351-30.771-40.759 0-23.55 19.092-42.65 42.65-42.65 23.557 0 42.65 19.1 42.65 42.65 0 9.646-3.324 18.45-8.722 25.59h119.794c-5.398-7.14-8.713-15.944-8.713-25.59 0-23.55 19.084-42.65 42.641-42.65 23.566 0 42.659 19.1 42.659 42.65 0 23.565-19.093 42.641-42.65 42.65v0h-182.453l-8.272 34.12h239.489l69.399 204.72zM209.714 44.87c0-14.111-11.48-25.59-25.59-25.59s-25.59 11.479-25.59 25.59c0 14.11 11.479 25.59 25.59 25.59 14.11 0 25.59-11.48 25.59-25.59zM397.374 44.87c0-14.111-11.48-25.59-25.599-25.59-14.103 0-25.581 11.479-25.581 25.59s11.479 25.59 25.581 25.59c14.119 0 25.599-11.48 25.599-25.59zM176.926 138.7l-41.359 170.6h330.587l-57.834-170.6h-231.394z" /> -<glyph unicode="" d="M435.126 334.89h-70.556l-41.017 41.117c-0.049 0.049-0.091 0.083-0.133 0.133l-0.075 0.067c-6.164 6.097-14.627 9.863-23.982 9.863h-85.3c-9.913 0-18.751-4.282-24.99-11.029l-0.033 0.1-40.168-40.251h-72.006c-18.843 0-34.12-15.278-34.12-34.12v-204.72c0-18.843 15.277-34.12 34.12-34.12h358.26c18.851 0 34.129 15.277 34.129 34.12v204.72c-0.001 18.842-15.278 34.12-34.129 34.12zM452.194 96.050c0-9.397-7.664-17.060-17.069-17.060h-358.259c-9.404 0-17.060 7.663-17.060 17.060v204.72c0 9.413 7.656 17.060 17.060 17.060h79.077l25.656 25.706 0.417-1.25 19.584 21.176c3.315 3.582 7.738 5.548 12.461 5.548h85.3c4.506 0 8.771-1.75 12.112-5.048l46.015-46.132h77.637c9.404 0 17.069-7.647 17.069-17.060v-204.72zM255.996 317.83c-61.243 0-110.89-49.631-110.89-110.874s49.647-110.906 110.89-110.906 110.89 49.663 110.89 110.906-49.647 110.874-110.89 110.874zM255.996 113.11c-51.738 0-93.83 42.1-93.83 93.846 0 51.73 42.092 93.814 93.83 93.814s93.83-42.084 93.83-93.814c0-51.746-42.092-93.846-93.83-93.846zM255.996 283.71c-42.409 0-76.77-34.354-76.77-76.754s34.361-76.786 76.77-76.786 76.77 34.386 76.77 76.786-34.362 76.754-76.77 76.754zM255.996 147.23c-32.921 0-59.71 26.806-59.71 59.726s26.789 59.694 59.71 59.694 59.71-26.773 59.71-59.694-26.79-59.726-59.71-59.726z" /> -<glyph unicode="" d="M374.511-6.31c-38.902 0-133.448 49.748-212.85 156.523-74.263 99.869-110.365 172.016-110.365 220.564 0 38.226 26.398 56.469 40.576 66.265l3.499 2.441c15.669 11.203 40.034 14.827 49.372 14.827 16.377 0 23.283-9.588 27.464-17.943 3.548-7.064 32.97-70.247 35.952-78.102 4.574-12.078 3.066-29.68-11.079-39.801l-2.482-1.733c-7.023-4.865-20.084-13.911-21.891-24.907-0.883-5.347 0.908-10.937 5.473-17.093 22.774-30.688 95.488-120.794 108.599-133.031 10.271-9.596 23.283-10.962 32.146-3.49 9.171 7.731 13.245 12.295 13.286 12.345l0.941 0.908c0.775 0.65 7.939 6.331 19.651 6.331 8.446 0 17.043-2.916 25.531-8.655 22.050-14.894 71.797-48.173 71.797-48.173l0.808-0.608c6.364-5.456 15.561-21.166 4.84-41.617-11.112-21.226-45.607-65.051-81.268-65.051zM144.743 437.25c-8.080 0-27.939-3.415-39.46-11.645l-3.707-2.591c-13.228-9.147-33.22-22.958-33.22-52.238 0-44.749 35.003-113.564 106.999-210.385 78.628-105.75 168.509-149.642 199.156-149.642 26.064 0 55.945 36.411 66.157 55.904 6.273 11.97 1.141 18.717-0.633 20.542-5.756 3.856-50.621 33.87-71.247 47.806-5.623 3.806-11.005 5.73-15.985 5.73-4.523 0-7.497-1.607-8.505-2.241-1.666-1.783-6.247-6.473-14.378-13.328-15.218-12.811-38.368-11.271-54.786 4.065-14.77 13.786-89.365 106.658-110.649 135.339-7.364 9.921-10.262 20.026-8.614 30.030 2.991 18.135 19.918 29.855 29.014 36.153l2.266 1.591c8.122 5.806 6.406 16.319 5.057 19.876-2.516 6.623-31.563 69.156-35.244 76.503-3.016 6.016-5.382 8.531-12.221 8.531z" /> -<glyph unicode="" d="M136.58 317.83h238.84v68.24h-238.84v-68.24zM153.64 369.010h204.72v-34.12h-204.72v34.12zM375.42 428.72h-238.84c-18.843 0-34.12-15.277-34.12-34.12v-341.2c0-18.843 15.277-34.12 34.12-34.12h238.84c18.843 0 34.12 15.277 34.12 34.12v341.2c0 18.843-15.277 34.12-34.12 34.12zM392.48 53.4c0-9.413-7.655-17.060-17.060-17.060h-238.84c-9.404 0-17.060 7.647-17.060 17.060v341.2c0 9.397 7.656 17.060 17.060 17.060h238.84c9.405 0 17.060-7.663 17.060-17.060v-341.2zM153.64 241.060v51.18h-17.060v-68.24h68.24v17.060h-17.060zM153.64 155.76v51.18h-17.060v-68.24h68.24v17.060h-17.060zM153.64 70.46v51.18h-17.060v-68.24h68.24v17.060h-17.060zM238.94 241.060v51.18h-17.060v-68.24h68.24v17.060h-17.060zM324.24 241.060v51.18h-17.060v-68.24h68.24v17.060h-17.060zM238.94 155.76v51.18h-17.060v-68.24h68.24v17.060h-17.060zM238.94 70.46v51.18h-17.060v-68.24h68.24v17.060h-17.060zM324.24 70.46v136.48h-17.060v-153.54h68.24v17.060h-17.060z" /> -<glyph unicode="" d="M42.746 437.25v-426.5h426.508v426.5h-426.508zM452.194 420.19v-68.24h-392.388v68.24h392.388zM59.806 27.81v307.080h392.388v-307.080h-392.388zM153.636 394.6h264.438v-17.060h-264.438v17.060zM85.396 394.6h17.060v-17.060h-17.060v17.060zM119.516 394.6h17.060v-17.060h-17.060v17.060z" /> -<glyph unicode="" d="M477.93 383.592l-221.93 81.593-230.31-84.533v-314.278l230.31-83.559 230.31 83.559v314.144l-8.38 3.074zM247.47 4.065l-204.72 74.272v283.947l204.72-74.272v-283.947zM256 303.074l-197.222 71.554 197.222 72.381 197.040-72.447-197.040-71.488zM469.25 78.337l-204.72-74.272v283.948l204.72 73.971v-283.647z" /> -<glyph unicode="" d="M460.72 415.925h-409.44v-110.89h17.069v-272.96h375.311v272.96h17.060v110.89zM426.6 49.135h-341.191v255.9h341.191v-255.9zM443.66 322.095h-375.32v76.77h375.32v-76.77zM194.299 194.071h123.818c17.627 0 31.93 13.886 31.93 31.030v6.181c0 17.143-14.303 31.030-31.93 31.030h-123.818c-17.635 0-31.913-13.887-31.913-31.030v-6.181c0.001-17.144 14.278-31.030 31.913-31.030zM179.447 231.281c0 7.705 6.664 13.97 14.853 13.97h123.818c8.197 0 14.87-6.264 14.87-13.97v-6.181c0-7.706-6.672-13.97-14.87-13.97h-123.819c-8.189 0-14.853 6.264-14.853 13.97v6.181z" /> -<glyph unicode="" d="M435.155 420.248h-153.54c-10.262 0-19.359-4.623-25.606-11.804-6.264 7.181-15.361 11.804-25.623 11.804h-153.541c-18.843 0-34.12-15.277-34.12-34.12v-290.137c0-18.843 15.277-34.12 34.12-34.12h153.54c0.166 0 0.333 0.050 0.5 0.050 9.079-0.217 16.393-7.539 16.61-16.602v-17.568h17.060v9.463h0.167v7.689c0 9.221 7.363 16.718 16.527 17.010 0.116 0 0.25-0.042 0.366-0.042h153.54c18.843 0 34.12 15.277 34.12 34.12v290.137c0 18.843-15.278 34.12-34.12 34.12zM59.785 95.992v290.136c0 9.404 7.663 17.060 17.060 17.060h153.54c9.413 0 17.060-7.656 17.060-17.060v-290.137c0-9.404-7.647-17.060-17.060-17.060h-153.54c-9.396 0.001-17.060 7.656-17.060 17.061zM452.215 95.992c0-9.404-7.647-17.060-17.060-17.060h-153.54c-9.396 0-17.060 7.656-17.060 17.060v290.136c0 9.404 7.664 17.060 17.060 17.060h153.54c9.413 0 17.060-7.656 17.060-17.060v-290.136z" /> -<glyph unicode="" d="M418.070 270.927c-11.795 0-23.040-2.283-33.445-6.264l-41.983 83.026h32.778v17.060h-60.518l17.252-34.12h-147.775l-8.614 17.060h29.055v17.060h-56.777l19.184-37.993c-0.1-0.142-0.233-0.258-0.316-0.408l-36.169-62.959c-11.313 4.84-23.749 7.539-36.811 7.539-51.738 0-93.83-42.092-93.83-93.839 0-51.738 42.092-93.83 93.83-93.83 48.856 0 89.074 37.552 93.398 85.3h69.831c3.040 0 5.847 1.616 7.38 4.249l78.769 135.755 26.015-51.446c-26.981-16.494-45.083-46.149-45.083-80.028 0-51.746 42.092-93.838 93.83-93.838s93.83 42.091 93.83 93.838-42.092 93.838-93.831 93.838zM176.39 308.604l62.101-122.986h-51.163c-2.632 29.047-18.526 54.296-41.584 69.631l30.646 53.355zM170.2 185.619h-64.466l31.496 54.821c17.968-12.329 30.438-32.088 32.97-54.821zM93.93 100.319c-42.334 0-76.77 34.436-76.77 76.77s34.436 76.779 76.77 76.779c9.972 0 19.468-1.966 28.215-5.44l-38.544-67.090c-1.516-2.641-1.508-5.889 0.017-8.521s4.339-4.257 7.38-4.257h79.202c-4.265-38.327-36.826-68.241-76.27-68.241zM255.109 190.559l-62.117 123.010h133.498l-71.381-123.010zM418.070 100.311c-42.334 0-76.77 34.444-76.77 76.778 0 27.231 14.295 51.139 35.737 64.775l36.119-71.439 15.227 7.697-36.011 71.222c8.047 2.875 16.677 4.523 25.698 4.523 42.334 0 76.77-34.445 76.77-76.779s-34.436-76.777-76.77-76.777z" /> -<glyph unicode="" d="M401.177 138.004v137.089c0 71.388-51.664 130.599-119.587 142.644v10.896c0 9.421-7.647 17.060-17.060 17.060h-17.060c-9.429 0-17.060-7.639-17.060-17.060v-10.946c-67.79-12.178-119.253-71.322-119.253-142.594v-137.088l-59.877-48.465v-27.656h409.44v27.656l-59.543 48.464zM443.66 78.944h-375.32v2.457l59.877 48.464v145.228c0 70.556 57.394 127.95 127.95 127.95 70.539 0 127.95-57.394 127.95-127.95v-145.202l59.543-48.464v-2.483zM255.984 2.307c23.573 0 42.699 19.076 42.699 42.65h-85.366c0.017-23.574 19.126-42.65 42.667-42.65z" /> -<glyph unicode="" d="M0.325 309.616v-171.225c0-13.961 11.321-25.281 25.274-25.281h213.566v221.78h-213.567c-13.952 0-25.273-11.312-25.273-25.274zM222.105 130.17h-196.507c-4.531 0-8.214 3.69-8.214 8.221v171.225c0 4.531 3.682 8.214 8.214 8.214h196.506v-187.66zM511.675 224c0 28.114-22.675 50.922-50.731 51.154v34.462c0 13.961-11.312 25.274-25.274 25.274h-179.445v-17.060h179.446c4.532 0 8.214-3.682 8.214-8.214v-171.225c0-4.531-3.682-8.221-8.214-8.221h-179.446v-17.060h179.446c13.962 0 25.274 11.32 25.274 25.281v34.454c28.056 0.233 50.73 23.032 50.73 51.155zM460.945 189.921v68.157c18.601-0.25 33.671-15.411 33.671-34.078-0.001-18.668-15.070-33.829-33.671-34.079z" /> -<glyph unicode="" d="M255.983 437.25c-117.77 0-213.233-95.488-213.233-213.267 0-117.77 95.462-213.233 213.233-213.233s213.267 95.463 213.267 213.233c0 117.779-95.496 213.267-213.267 213.267zM451.973 232.513h-152.99c1.633 58.61 19.975 114.305 53.396 162.27 57.194-32.413 96.595-92.681 99.594-162.27zM255.983 420.19c28.822 0 56.162-6.298 80.835-17.493-34.57-50.397-53.462-108.824-55.062-170.184h-51.513c-1.616 61.36-20.492 119.795-55.079 170.184 24.674 11.204 52.014 17.493 80.819 17.493zM159.621 394.783c33.42-47.948 51.763-103.651 53.395-162.27h-152.989c2.982 69.589 42.4 129.866 99.594 162.27zM60.027 215.453h153.157c-1.633-58.652-19.942-114.405-53.38-162.353-57.295 32.379-96.779 92.697-99.777 162.353zM255.983 27.81c-28.805 0-56.144 6.289-80.818 17.493 34.587 50.38 53.463 108.774 55.079 170.15h51.513c1.6-61.392 20.492-119.77 55.062-170.15-24.675-11.195-52.014-17.493-80.836-17.493zM352.146 53.084c-33.421 47.948-51.713 103.701-53.33 162.369h153.157c-2.999-69.665-42.5-129.99-99.827-162.369z" /> -<glyph unicode="" d="M230.231 352.708v-69.99l16.894-0.166c117.354-1.133 183.462-53.33 200.68-159.105-64.467 74.571-138.805 74.605-200.506 74.622h-17.069v-69.39l-158.145 112.023 158.146 112.006zM247.291 385.712l-204.72-145.010 204.72-145.010v85.317c81.935-0.033 157.897-4.165 222.138-118.721 0 72.755-12.020 235.292-222.138 237.324v86.1z" /> -<glyph unicode="" d="M255.992 424.455l-230.302-400.91h460.62l-230.318 400.91zM255.992 390.202l200.846-349.597h-401.676l200.83 349.597zM247.462 262.385h17.060v-119.42h-17.060v119.42zM255.975 117.375c-7.064 0-12.77-5.73-12.77-12.795 0-7.047 5.707-12.778 12.77-12.778 7.089 0 12.82 5.731 12.82 12.778 0 7.065-5.73 12.795-12.82 12.795z" /> -<glyph unicode="" d="M480.383 87.57l-34.744 70.564-75.329-30.738 6.448-15.794 50.422 20.567c-23.216-67.906-85.958-117.52-160.762-121.061v307.323c33.646 4.206 59.71 32.853 59.71 67.648 0 37.686-30.563 68.231-68.248 68.231-37.677 0-68.232-30.546-68.232-68.231 0-34.795 26.065-63.45 59.71-67.648v-307.322c-74.154 3.515-136.471 52.28-160.162 119.278l46.048-18.784 6.448 15.794-75.329 30.738-34.746-70.565 15.31-7.53 24.415 49.581c25.5-78.761 99.404-135.931 186.544-135.931 85.417 0 158.222 54.879 185.095 131.216l22.091-44.866 15.311 7.53zM206.706 386.079c0 28.214 22.958 51.171 51.172 51.171 28.222 0 51.188-22.958 51.188-51.171 0-28.222-22.965-51.18-51.188-51.18-28.213 0-51.172 22.957-51.172 51.18z" /> -<glyph unicode="" d="M25.69 360.48v-341.2h460.62v341.2h-460.62zM469.25 36.34h-426.5v307.080h426.5v-307.080zM59.81 394.6h392.38v-17.060h-392.38v17.060zM93.93 428.72h324.14v-17.060h-324.14v17.060z" /> -<glyph unicode="" d="M255.875 386.053c-103.66 0-187.66-84.017-187.66-187.66 0-47.032 17.351-89.998 45.949-122.935l-43.9-53.812 13.211-10.779 42.542 52.13c33.712-32.338 79.444-52.246 129.858-52.246 50.53 0 96.362 20.009 130.107 52.496l42.517-52.447 13.261 10.746-43.932 54.195c28.455 32.904 45.707 75.754 45.707 122.652 0 103.643-84.034 187.66-187.66 187.66zM255.875 27.81c-94.072 0-170.6 76.52-170.6 170.583 0 94.080 76.528 170.6 170.6 170.6s170.6-76.52 170.6-170.6c0-94.063-76.528-170.583-170.6-170.583zM178.73 437.25h-50.68c-47.115 0-85.3-38.185-85.3-85.3v-51.33h24.257l111.723 112.356v24.274zM161.67 420.007l-101.86-102.327v34.27c0 37.618 30.613 68.24 68.24 68.24h33.62v-0.183zM383.95 437.25h-50.713v-24.274l111.74-112.356h24.274v51.33c-0.001 47.115-38.203 85.3-85.301 85.3zM452.19 317.68h-0.117l-101.776 102.327v0.183h33.653c37.627 0 68.24-30.622 68.24-68.24v-34.27zM247.47 198.41h-94.047v-17.060h111.107v153.54h-17.060z" /> -<glyph unicode="" d="M460.72 403.13h-409.44v-255.9h138.913l-87.733-102.36h307.080l-87.74 102.36h138.92v255.9zM139.554 61.93l116.438 135.856 116.454-135.856h-232.892zM443.66 164.29h-136.489l-51.18 59.71-51.18-59.71h-136.471v221.78h375.32v-221.78z" /> -<glyph unicode="" d="M171.559 320.504l-12.063-12.063 84.442-84.442-84.042-84.043 12.063-12.063 84.042 84.042 84.043-84.042 12.063 12.063-84.042 84.043 84.442 84.442-12.063 12.063-84.443-84.442z" /> -<glyph unicode="" d="M105.211 374.789c-83.288-83.288-83.288-218.293 0-301.581s218.29-83.285 301.578 0.003c83.288 83.288 83.291 218.29 0.003 301.578s-218.293 83.288-301.581 0zM394.726 85.274c-76.491-76.491-200.961-76.494-277.452-0.003s-76.491 200.964 0 277.455c76.491 76.491 200.963 76.491 277.455 0 76.49-76.491 76.487-200.961-0.003-277.452zM171.559 320.504l-12.063-12.063 84.442-84.442-84.042-84.043 12.063-12.063 84.042 84.042 84.043-84.042 12.063 12.063-84.042 84.043 84.442 84.442-12.063 12.063-84.443-84.442z" /> -<glyph unicode="" d="M268.271 275.051l-12.071 12.071-96.565-96.566 12.069-12.069 84.496 84.495 84.096-84.096 12.069 12.071-48.203 48.203z" /> -<glyph unicode="" d="M255.608 10.736c117.862 0 213.386 95.523 213.386 213.386s-95.523 213.386-213.386 213.386-213.385-95.524-213.385-213.386 95.523-213.386 213.385-213.386zM255.608 420.437c108.243 0 196.315-88.070 196.315-196.315 0-108.243-88.072-196.315-196.315-196.315s-196.315 88.072-196.315 196.315c0 108.245 88.072 196.315 196.315 196.315zM267.795 275.051l-12.071 12.071-96.564-96.566 12.069-12.069 84.495 84.495 84.097-84.096 12.069 12.071-48.203 48.203z" /> -<glyph unicode="" d="M306.538 211.729l12.070 12.071-96.566 96.565-12.069-12.069 84.496-84.496-84.097-84.096 12.071-12.069 48.203 48.203z" /> -<glyph unicode="" d="M42.223 224.122c0-117.862 95.523-213.386 213.386-213.386s213.386 95.523 213.386 213.386-95.524 213.386-213.387 213.386-213.385-95.524-213.385-213.386zM451.923 224.122c0-108.243-88.070-196.315-196.315-196.315-108.243 0-196.315 88.072-196.315 196.315s88.072 196.315 196.315 196.315c108.245 0 196.315-88.072 196.315-196.315zM306.538 211.935l12.070 12.071-96.566 96.565-12.069-12.069 84.496-84.496-84.097-84.096 12.071-12.069 48.203 48.203z" /> -<glyph unicode="" d="M204.679 236.271l-12.071-12.071 96.567-96.565 12.069 12.069-84.496 84.496 84.096 84.096-12.070 12.069-48.203-48.203z" /> -<glyph unicode="" d="M468.994 224.122c0 117.862-95.523 213.386-213.386 213.386s-213.385-95.524-213.385-213.386 95.523-213.386 213.386-213.386 213.385 95.524 213.385 213.386zM59.293 224.122c0 108.243 88.070 196.315 196.315 196.315 108.243 0 196.315-88.072 196.315-196.315s-88.072-196.315-196.315-196.315c-108.244 0-196.315 88.072-196.315 196.315zM204.679 236.309l-12.071-12.071 96.567-96.565 12.069 12.070-84.496 84.495 84.096 84.096-12.070 12.069-48.203-48.203z" /> -<glyph unicode="" d="M243.729 173.193l12.071-12.071 96.565 96.567-12.069 12.069-84.496-84.496-84.096 84.096-12.069-12.071 48.203-48.203z" /> -<glyph unicode="" d="M255.608 437.508c-117.862 0-213.386-95.523-213.386-213.386s95.523-213.386 213.386-213.386 213.386 95.523 213.386 213.386-95.523 213.386-213.386 213.386zM255.608 27.807c-108.243 0-196.315 88.070-196.315 196.315 0 108.243 88.072 196.315 196.315 196.315s196.315-88.072 196.315-196.315c0-108.245-88.072-196.315-196.315-196.315zM243.421 173.193l12.071-12.071 96.565 96.567-12.069 12.069-84.496-84.496-84.096 84.096-12.069-12.071 48.203-48.203z" /> -<glyph unicode="" d="M192.4 221.5l-12.1 12.1 76.4 76.4 76.4-76.4-12.1-12.1-55.8 55.8v-223.3h-17.1v223.3l-55.7-55.8zM419.1 326.9c0 1.4 0.2 2.7 0.2 4 0 73.1-59.2 132.3-132.3 132.3-52.6 0-97.9-30.8-119.2-75.3-9.2 4.6-19.6 7.3-30.6 7.3-33.8 0-61.8-24.6-67.2-56.8-40.2-13.8-69.2-51.9-69.2-96.8 0-56.5 45.8-102.3 102.3-102.3h111v17.1h-111c-47 0-85.2 38.3-85.2 85.3 0 36.4 23.2 68.8 57.7 80.7l9.6 3.3 1.7 10c4.2 24.7 25.4 42.6 50.4 42.6 8 0 15.7-1.9 22.9-5.5l15.6-7.8 7.5 15.7c19 39.7 59.7 65.4 103.7 65.4 63.5 0 115.2-51.7 115.2-115.2 0-0.3 0-0.7-0.1-1.1-0.1-0.8-0.1-1.7-0.1-2.6l-0.4-17.4 17.4-0.1c42.2-0.1 76.6-34.6 76.6-76.8 0-42.1-34.3-76.5-76.4-76.7h-119.8v-17.1h119.9c51.6 0.3 93.4 42.2 93.4 93.8-0.1 51.9-41.9 93.9-93.6 94z" /> -<glyph unicode="" d="M320.8 74.2l12.1-12.1-76.4-76.4-76.4 76.4 12.1 12.1 55.8-55.8v223.3h17v-223.3l55.8 55.8zM418.8 326.9c0 1.4 0.2 2.7 0.2 4 0 73.1-59.2 132.3-132.2 132.3-52.6 0-97.9-30.8-119.2-75.3-9.2 4.6-19.6 7.3-30.6 7.3-33.8 0-61.8-24.6-67.2-56.8-40.2-13.8-69.2-51.9-69.2-96.8 0-56.5 45.8-102.3 102.3-102.3h111v17.1h-111c-47 0-85.2 38.3-85.2 85.3 0 36.4 23.2 68.8 57.7 80.7l9.6 3.3 1.7 10c4.2 24.7 25.4 42.6 50.4 42.6 8 0 15.7-1.9 22.9-5.5l15.6-7.8 7.5 15.7c19.1 39.9 59.8 65.6 103.8 65.6 63.4-0.2 115.1-51.8 115.1-115.3 0-0.3 0-0.7-0.1-1.1-0.1-0.8-0.1-1.7-0.1-2.6l-0.4-17.4 17.4-0.1c42.2-0.1 76.6-34.6 76.6-76.8 0-42.1-34.3-76.5-76.4-76.7h-119.9v-17.1h119.9c51.6 0.3 93.4 42.2 93.4 93.8 0 51.8-41.9 93.8-93.6 93.9z" /> -<glyph unicode="" d="M268.548 307.922c-27.797 0-50.351-22.542-50.351-50.346 0-27.811 22.554-50.362 50.351-50.362 27.818 0 50.354 22.55 50.354 50.362 0 27.803-22.538 50.345-50.354 50.345zM268.548 224c-18.504 0-33.567 15.064-33.567 33.577 0 18.505 15.064 33.56 33.567 33.56 18.522 0 33.57-15.055 33.57-33.56 0-18.514-15.048-33.577-33.57-33.577zM67.136 383.452v-251.765h402.824v251.765h-402.824zM453.178 326.668v-178.198h-369.256v218.197h369.256v-39.998zM379.942 114.902h-329.589v234.98h-16.785v-251.765h402.825v16.786h-16.784zM346.373 81.332h-329.589v234.981h-16.784v-251.766h402.825v16.784h-16.786zM109.098 349.358h50.354v-16.784h-50.353v16.784zM109.098 182.039h50.354v-16.784h-50.353v16.784zM377.649 349.358h50.353v-16.784h-50.353v16.784zM377.649 182.039h50.353v-16.784h-50.353v16.784z" horiz-adv-x="470" /> -<glyph unicode="" d="M118.982-31.232v233.236l-101.787-101.731-11.867 11.875 107.804 107.736-113.13 113.036 11.867 11.875 107.115-107.037v241.476l138.684-138.611-120.8-120.74 116.704-116.618-134.586-134.496zM135.766 197.25v-187.98l94.067 93.994-94.067 93.986zM135.766 438.73v-196.217l98.165 98.109-98.166 98.108z" horiz-adv-x="258" /> -<glyph unicode="" d="M184.708 299.464h117.475l50.353 59.175-50.353 58.315h-117.476v33.63h-16.784v-33.63h-151.142v-117.49h151.142v-16.723h-117.573l-50.352-58.315 50.352-59.171h117.573v-167.844h16.784v167.844h151.043v117.486h-151.042v16.722zM33.569 316.249v83.921h260.928l35.93-41.608-35.995-42.313h-260.864zM318.967 265.957v-83.918h-260.846l-36.011 42.305 35.929 41.613 260.926-0zM50.23 383.452h83.922v-16.784h-83.922v16.784zM218.114 249.087h83.922v-16.785h-83.922v16.785z" horiz-adv-x="353" /> -<glyph unicode="" d="M268.567 282.745h117.476v-16.784h-117.476v16.784zM268.55 182.039h117.492v-16.784h-117.492v16.784zM268.55 232.393h83.792v-16.785h-83.792v16.785zM251.766 383.452v50.353h-67.138v-50.353h-184.628v-369.257h436.394v369.257h-184.627zM419.61 366.666v-33.568h-167.844v33.569h167.844zM201.412 417.020h33.57v-83.922h-33.57v83.922zM16.785 366.666h167.845v-33.568h-167.845v33.569zM16.785 30.979v285.334h402.825v-285.334h-402.825zM247.406 105.575c-12.113 5.046-40.716 14.981-58.435 20.209-1.508 0.474-1.736 0.558-1.736 6.851 0 5.18 2.129 10.408 4.21 14.834 2.244 4.812 4.934 12.89 5.884 20.144 2.689 3.13 6.343 9.277 8.72 21.005 2.049 10.327 1.097 14.088-0.279 17.628-0.148 0.37-0.296 0.729-0.41 1.098-0.524 2.428 0.196 15.012 1.968 24.786 1.212 6.696-0.311 20.952-9.54 32.743-5.82 7.452-16.964 16.6-37.341 17.87l-11.178-0.008c-20.014-1.262-31.177-10.413-36.995-17.862-9.228-11.792-10.767-26.048-9.555-32.743 1.787-9.774 2.49-22.358 1.984-24.736-0.097-0.42-0.263-0.779-0.408-1.149-1.361-3.541-2.328-7.301-0.264-17.628 2.344-11.728 6-17.874 8.704-21.005 0.933-7.254 3.623-15.334 5.884-20.144 1.654-3.516 2.442-8.303 2.442-15.065 0-6.293-0.246-6.37-1.656-6.82-18.308-5.409-47.468-15.94-58.334-20.694-8.622-3.697-10.72-10.334-10.72-16.318 0-1.673 0-4.293 0-7.245h16.785v7.248c0 0.269 0.016 0.476 0.032 0.639 0.147 0.082 0.344 0.18 0.624 0.293 10.326 4.524 38.928 14.834 56.696 20.079 13.357 4.245 13.357 16.784 13.357 22.817 0 9.293-1.279 16.358-4.031 22.228-1.688 3.582-3.754 9.93-4.428 15.137l-0.654 5.007-3.293 3.82c-0.508 0.574-3.066 3.902-4.951 13.326-1.278 6.358-0.82 7.54-0.558 8.228 0.442 1.082 0.82 2.163 1.163 3.688 1.476 6.786-0.475 23.73-1.85 31.282-0.459 2.475 0.197 11.677 6.245 19.419 5.31 6.794 13.506 10.634 24.357 11.412l10.064 0.008c11.048-0.786 19.341-4.625 24.653-11.424 6.065-7.738 6.704-16.94 6.262-19.403-1.377-7.548-3.328-24.486-1.869-31.313l0.146-0.652 0.18-0.64c0.231-0.73 0.476-1.442 0.838-2.377 0.279-0.697 0.736-1.87-0.524-8.209-1.903-9.433-4.476-12.793-4.986-13.375l-3.262-3.788-0.656-4.966c-0.689-5.22-2.752-11.603-4.426-15.178-2.72-5.753-5.82-13.459-5.82-21.996 0-6.033 0-18.589 13.769-22.948 16.768-4.952 44.879-14.654 56.564-19.541 1.77-0.754 2.41-1.686 2.593-2.033v-6.786h16.785c0 2.952 0 5.572 0 7.245-0 5.988-4.149 13.298-12.754 17.002z" horiz-adv-x="437" /> -<glyph unicode="" d="M210.149 306.852h-16.786v-95.784l52.813-52.812 11.868 11.868-47.896 47.894zM439.13 324.875l-118.686 118.687-89.397-89.405c-9.458 1.983-19.244 3.049-29.291 3.049-78.66 0-142.667-63.999-142.667-142.664 0-10.033 1.082-19.832 3.048-29.291l-62.138-62.138 24.718-95.928 93.969-22.75 68.22 68.219c4.884-0.491 9.834-0.77 14.85-0.77 78.676 0 142.667 64 142.667 142.658 0 5.015-0.264 9.97-0.771 14.855l95.478 95.48zM320.445 419.824l94.952-94.949-75.463-75.456c-11.688 46.288-45.978 83.562-90.48 99.411l70.99 70.993zM113.474 22.957l-75.004 18.161-19.834 76.9 48.828 48.827c15.867-44.502 53.139-78.784 99.429-90.469l-53.422-53.418zM201.756 88.668c-69.4 0-125.882 56.459-125.882 125.875 0 69.412 56.483 125.877 125.882 125.877 69.415 0 125.883-56.466 125.883-125.877 0-69.416-56.467-125.875-125.882-125.875z" horiz-adv-x="439" /> -<glyph unicode="" d="M50.434 253.398c0-88.061 71.382-159.444 159.434-159.444 88.089 0 159.468 71.382 159.468 159.444 0 88.076-71.379 159.458-159.468 159.458-88.050-0.002-159.434-71.38-159.434-159.458zM209.871 396.068c78.677 0 142.682-64.002 142.682-142.671 0-78.659-64.007-142.657-142.682-142.657-78.66 0-142.653 63.998-142.653 142.657 0.001 78.669 63.99 142.672 142.653 142.672zM304.94 66.204l8.079-16.324 15.048 7.442-22.818 46.074-15.046-7.458 7.277-14.67c-26.995-13.752-57.058-21.046-87.611-21.046-106.474 0-193.084 86.658-193.084 193.176 0 72.563 41.109 139.118 105.312 171.99l7.802-15.752 15.031 7.45-22.818 46.063-15.030-7.451 7.573-15.28c-69.891-35.692-114.654-108.082-114.654-187.022 0-112.959 89.642-205.32 201.494-209.747v-25.538c-38.75-1.507-74.841-13.457-105.46-33.257h35.109c24.030 10.752 50.632 16.784 78.628 16.784 27.506 0 54.139-5.966 78.447-16.784h35.258c-30.995 19.964-67.219 31.7-105.197 33.257v25.603c30.224 1.214 59.826 8.868 86.659 22.49z" horiz-adv-x="370" /> -<glyph unicode="" d="M218.166 395.616l-122.983-98.038h-95.183v-75.878l-0.066-0.044 0.066-0.044v-75.091h95.674l122.49-96.126v96.125h0.032v151.060h-0.032v98.038h0.002zM201.414 163.303h-0.032v-78.399l-99.904 78.399h-84.692v117.491h84.266l100.329 79.98v-63.196l0.032-16.784v-117.49h0.001zM257.389 308.339c18.26-24.329 27.914-53.322 27.914-83.851 0-31.163-10.030-60.652-28.995-85.278l13.308-10.236c21.243 27.587 32.471 60.615 32.471 95.516 0 34.191-10.818 66.67-31.274 93.924l-13.425-10.074zM325 369.173l-12.948-10.686c31.536-38.188 48.91-86.553 48.91-136.192 0-49.050-16.144-95.19-46.666-133.425l13.13-10.474c32.913 41.24 50.32 90.995 50.32 143.899 0.002 53.529-18.733 105.692-52.745 146.88zM377.255 423.669l-12.59-11.088c46.289-52.566 71.776-120.163 71.776-190.346 0-68.76-24.601-135.332-69.267-187.438l12.736-10.916c47.289 55.139 73.318 125.588 73.318 198.356-0.002 74.267-26.98 145.806-75.974 201.433z" horiz-adv-x="454" /> -<glyph unicode="" d="M0.001 128.040c0-7.344 0-29.12 0-33.922s2.852-13.014 13.146-13.014c7.9 0 71.006 0 99.918 0 8.754 0 14.406 0 14.406 0h2.476c0 0 1.656 0 4.328 0 0-7.736 0-14.786 0-17.483 0-5.94 3.524-16.088 16.276-16.088 9.786 0 88.15 0 123.93 0 10.834 0 17.85 0 17.85 0h3.065c0 0 6.884 0 17.555 0 35.666 0 114.149 0 123.951 0 12.735 0 16.274 10.147 16.274 16.088s0 32.874 0 41.961-3.212 19.161-16.274 24.776c-16.508 7.228-60.78 23.226-88.596 31.438-2.147 0.68-2.508 0.793-2.508 10.342 0 10.277 1.18 17.548 3.688 22.89 3.442 7.302 7.507 19.579 8.95 30.594 4.096 4.737 9.654 14.080 13.209 31.888 3.149 15.695 1.673 21.406-0.394 26.766-0.229 0.566-0.459 1.123-0.623 1.754-0.771 3.606 0.294 22.726 3 37.568 1.85 10.171-0.476 31.815-14.49 49.723-8.849 11.317-25.798 25.208-56.204 27.126l-16.964 0.016c-30.93-1.934-47.861-15.826-56.712-27.142-14.012-17.908-16.34-39.552-14.488-49.731 2.688-14.834 3.769-33.955 2.983-37.634-0.164-0.558-0.393-1.115-0.607-1.68-2.082-5.36-3.541-11.072-0.41-26.766 3.572-17.808 9.13-27.152 13.21-31.888 1.459-11.014 5.524-23.292 8.951-30.594 3.162-6.72 6.407-14.662 6.407-22.546 0-9.546-0.361-9.661-2.654-10.382-5.721-1.68-12.21-3.705-19.030-5.892-16.063 5.966-36.272 12.95-50.928 17.286-1.737 0.546-2.031 0.639-2.031 8.36 0 8.31 0.966 14.185 2.982 18.505 2.788 5.909 6.066 15.825 7.246 24.734 3.294 3.827 7.786 11.384 10.671 25.784 2.542 12.686 1.344 17.3-0.328 21.636-0.18 0.458-0.361 0.909-0.49 1.418-0.624 2.918 0.23 18.375 2.407 30.374 1.492 8.22-0.375 25.717-11.702 40.207-7.146 9.138-20.849 20.374-45.404 21.93h-13.701c-24.998-1.556-38.666-12.793-45.83-21.93-11.326-14.49-13.21-31.986-11.704-40.207 2.164-11.998 3.049-27.456 2.409-30.438-0.13-0.442-0.328-0.894-0.492-1.352-1.689-4.335-2.868-8.95-0.328-21.636 2.885-14.399 7.376-21.956 10.671-25.784 1.18-8.907 4.458-18.823 7.228-24.734 2.556-5.433 5.18-11.851 5.18-18.226 0-7.72-0.296-7.812-2.147-8.401-21.734-6.418-56.844-18.605-71.71-24.824-10.553-4.534-15.62-13.515-15.62-20.866zM151.061 105.584c0 2.491 2.49 7.515 9.18 10.384 17.653 7.375 60.892 22.284 87.167 30.038 14.685 4.613 14.685 17.252 14.685 26.479 0 11.18-4.048 21.286-8.014 29.692-2.738 5.86-6.263 16.4-7.49 25.653l-0.655 4.958-3.278 3.794c-1.804 2.094-6.345 8.654-9.459 24.234-2.426 12.17-1.359 14.94-0.409 17.387l0.017 0.024 0.146 0.414c0.347 0.861 0.656 1.726 0.904 2.582l0.18 0.606 0.131 0.623c1.72 8.024-0.524 31.114-2.884 44.133-1.066 5.86 0.279 22.439 11.194 36.396 9.72 12.416 24.52 19.378 44.028 20.702l15.882-0.016c23.882-1.639 36.848-12.134 43.536-20.68 10.932-13.961 12.26-30.536 11.194-36.376-2.31-12.688-4.589-36.166-2.901-44.084l0.082-0.356 0.098-0.357c0.346-1.356 0.786-2.574 1.277-3.786 0.87-2.258 1.952-5.065-0.474-17.214-3.115-15.592-7.654-22.124-9.459-24.206l-3.294-3.811-0.639-4.99c-1.229-9.26-4.736-19.767-7.507-25.618-3.606-7.697-5.279-17.236-5.279-30.046 0-9.212 0-21.832 14.209-26.34 27.078-7.998 71.039-23.858 86.938-30.817 4.736-2.032 6.229-4.31 6.229-9.4v-41.264h-285.25l-0.082 41.262zM16.785 128.040c0.032 0.654 1.066 3.557 5.459 5.44 14.392 6.024 49.058 18.014 69.842 24.152 14.178 4.508 14.178 17.022 14.178 24.497 0 9.652-3.426 18.241-6.786 25.373-2.18 4.663-4.868 12.981-5.77 19.792l-0.656 4.958-3.262 3.786c-1.016 1.173-4.492 5.946-6.933 18.129-1.786 8.917-1.066 10.765-0.492 12.252l0.098 0.221 0.066 0.221c0.344 0.869 0.573 1.558 0.77 2.234l0.197 0.62 0.13 0.63c1.656 7.736-0.722 28.209-2.311 36.945-0.737 4.106 0.344 16.538 8.424 26.881 7.245 9.252 18.391 14.465 33.142 15.481h12.604c18.030-1.274 27.75-9.106 32.734-15.486 8.064-10.326 9.162-22.779 8.424-26.874-1.689-9.228-3.901-29.458-2.328-36.872l0.082-0.347 0.082-0.346c0.314-1.18 0.689-2.246 1.099-3.307 0.574-1.471 1.294-3.356-0.476-12.256-2.442-12.186-5.917-16.944-6.934-18.112l-3.262-3.794-0.655-4.964c-0.918-6.844-3.607-15.147-5.803-19.801-3.113-6.671-4.572-14.808-4.572-25.642 0-7.485 0-20.014 13.751-24.368 8.686-2.572 19.506-6.128 30.192-9.849-17.654-6.048-34.487-12.18-44.208-16.243-13.081-5.614-19.341-16.719-19.341-25.808 0-1.894 0-4.598 0-7.695h-117.492v30.151z" horiz-adv-x="453" /> -<glyph unicode="" d="M201.34 425.413c-111.246 0-201.412-90.183-201.412-201.413s90.166-201.412 201.412-201.412c111.23 0 201.411 90.182 201.411 201.412s-90.183 201.413-201.411 201.413zM90.864 76.152c12.326 4.534 25.848 9.106 37.88 13.147 41.093 13.81 47.419 15.93 47.419 29.791v32.413l-14.031 2.336c-1 0.173-24.636 4.072-40.518 4.072-8.195 0-12.85 0.204-17.343 3.154 11.556 25.292 23.505 64.86 28.029 96.162l0.869-0.298 1.246 22.181c1.968 35.54 31.356 63.38 66.924 63.38 35.552 0 64.941-27.84 66.924-63.38l1.459-22.1 0.639 0.217c4.524-31.302 16.473-70.87 28.029-96.162-4.474-2.95-9.146-3.154-17.325-3.154-16.112 0-38.944-5.080-41.484-5.663l-13.066-2.966v-30.192c0-13.71 6.556-16.031 49.238-31.11 11.064-3.918 23.438-8.302 34.913-12.647-30.634-22.578-68.45-35.962-109.327-35.962-41.387-0.002-79.644 13.685-110.475 36.779zM325.582 87.553c-34.24 13.548-82.281 28.438-82.281 31.538 0 3.846 0 16.792 0 16.792s23.078 5.244 37.764 5.244 25.178 0.918 37.766 16.652c-15.736 27.798-33.57 90.347-33.57 122.343l-0.245-0.082c-2.442 44.157-38.912 79.234-83.676 79.234s-81.234-35.077-83.692-79.234l-0.23 0.082c0-31.996-17.834-94.543-33.57-122.343 12.59-15.736 23.078-16.652 37.764-16.652s37.766-3.844 37.766-3.844 0-14.348 0-18.194c0-3.147-49.141-17.301-83.299-30.576-36.486 33.757-59.368 81.986-59.368 135.486 0 101.805 82.824 184.628 184.628 184.628s184.626-82.824 184.626-184.628c0.002-53.998-23.304-102.654-60.382-136.446z" horiz-adv-x="403" /> -<glyph unicode="" d="M419.541 224c0 115.884-93.936 209.804-209.804 209.804s-209.804-93.92-209.804-209.804c0-115.868 93.936-209.804 209.805-209.804 115.867 0 209.804 93.937 209.804 209.804zM16.715 224c0 106.435 86.594 193.020 193.020 193.020 106.442 0 193.020-86.585 193.020-193.020s-86.578-193.020-193.020-193.020c-106.427 0-193.020 86.586-193.020 193.020zM299.934 236.736l11.868 11.868-102.065 102.058-102.052-102.058 11.87-11.868 81.791 81.799v-203.632h16.782v203.632z" horiz-adv-x="420" /> -<glyph unicode="" d="M302.118 224c0 83.43-67.629 151.060-151.059 151.060s-151.060-67.628-151.060-151.060c0-83.43 67.629-151.060 151.060-151.060s151.059 67.63 151.059 151.060zM151.060 89.724c-74.038 0-134.274 60.238-134.274 134.276s60.237 134.275 134.274 134.275c74.038 0 134.274-60.237 134.274-134.275s-60.237-134.275-134.274-134.275zM352.471 375.060h-128.734c9.769-4.721 18.998-10.343 27.602-16.784h101.132c74.041 0 134.274-60.236 134.274-134.275s-60.236-134.275-134.274-134.275h-101.132c-8.606-6.442-17.834-12.063-27.602-16.784h128.734c83.43 0 151.060 67.63 151.060 151.060s-67.63 151.060-151.060 151.060z" horiz-adv-x="504" /> -<glyph unicode="" d="M216.555 189.514l250.438-1.902-14.39 14.466c-1.067 1.067-106.788 104.5-248.242 5.35l-44.877 65.916c5.689 4.728 10.606 10.597 14.31 17.534 15.276 28.639 4.441 64.216-24.178 79.484-28.636 15.276-64.22 4.454-79.48-24.176-15.276-28.626-4.459-64.207 24.177-79.488 16.374-8.728 34.994-8.892 50.829-2.114l39.518-58.042-67.597 0.51c-2.228 18.406-13.064 35.46-30.651 44.841-28.636 15.272-64.204 4.446-79.48-24.19-15.277-28.618-4.458-64.202 24.177-79.479 28.619-15.26 64.22-4.442 79.48 24.178 3.082 5.755 5.032 11.786 6.066 17.866l78.464-0.591c-1.904-41.96 5.671-75.399 18.078-102.18h-28.57v-16.784h50.352v8.392h1.049c-0.361 0.606-0.689 1.279-1.049 1.902v6.49h-3.572c-10.802 21.021-18.358 46.993-19.653 79.226l53.958-79.226h-13.95v-16.784h50.354v16.784h-16.113l-69.448 102.019zM406.591 214.396c6.096-3.262 11.442-6.565 15.982-9.673l-189.201 1.452c75.792 44.124 137.373 27.332 173.219 8.221zM102.212 281.508c-20.406 10.891-28.16 36.362-17.276 56.77 10.884 20.414 36.355 28.168 56.778 17.276 20.406-10.884 28.16-36.356 17.26-56.774-10.884-20.416-36.355-28.16-56.761-17.272zM95.786 180.301c-10.884-20.406-36.355-28.144-56.778-17.26-20.407 10.882-28.16 36.354-17.276 56.762 10.9 20.419 36.355 28.168 56.779 17.276 20.407-10.887 28.159-36.356 17.276-56.779zM117.488 87.496h50.353v-16.784h-50.353v16.784zM318.9 87.496h50.353v-16.784h-50.353v16.784zM50.35 87.496h50.353v-16.784h-50.353v16.784zM386.038 87.496h50.351v-16.784h-50.351v16.784z" horiz-adv-x="467" /> -<glyph unicode="" d="M209.804 299.529c-38.862 0-70.858-29.372-75.038-67.137h-17.276v-16.784h17.276c4.18-37.764 36.174-67.138 75.038-67.138 41.716 0 75.53 33.815 75.53 75.53s-33.814 75.53-75.53 75.53zM209.804 165.255c-29.536 0-53.975 21.93-58.072 50.353h58.072v16.785h-58.072c4.097 28.422 28.538 50.352 58.072 50.352 32.389 0 58.744-26.356 58.744-58.745s-26.356-58.745-58.745-58.745zM50.353 147.421v50.353h-16.784v-67.137h16.784zM50.353 265.961v50.353h-16.784v-67.137h16.784zM67.138 366.666v-285.336h285.334v285.336h-285.334zM335.688 98.118h-251.766v251.766h251.766v-251.766h0zM0.001 417.020v-386.041h419.608v386.041h-419.608zM402.825 47.764h-386.041v352.472h386.042v-352.472h-0.002z" horiz-adv-x="420" /> -<glyph unicode="" d="M209.766 14.195c115.884 0 209.804 93.936 209.804 209.805s-93.921 209.804-209.804 209.804c-115.868 0-209.804-93.936-209.804-209.804s93.938-209.804 209.804-209.804zM209.766 417.020c106.427 0 193.022-86.594 193.022-193.020 0-106.435-86.594-193.020-193.020-193.020-106.442 0-193.020 86.586-193.020 193.020-0 106.427 86.576 193.020 193.019 193.020zM222.5 133.8l11.868-11.866 102.050 102.067-102.050 102.058-11.868-11.868 81.792-81.798h-203.626v-16.784h203.626z" horiz-adv-x="420" /> -<glyph unicode="" d="M300.87 184.695l-132.29-132.292-0.065 0.084c-0.492-0.51-0.904-1.067-1.41-1.558-34.356-34.354-90.264-34.354-124.621 0-33.355 33.356-34.224 86.957-2.819 121.49l17.654-17.637 27.88 27.865c37.421-17.849 83.544-11.392 114.541 19.603l47.487 47.472 11.867-11.868 11.868 11.868-47.486 47.468 71.217 71.211-11.868 11.867-71.219-71.21-47.469 47.476 71.202 71.211-11.85 11.875-71.22-71.219-47.466 47.476-11.868-11.867 11.868-11.868-47.486-47.476c-30.996-30.995-37.454-77.119-19.587-114.548l-27.881-27.869 17.948-17.964c-37.946-41.092-37.077-105.327 2.82-145.224 40.895-40.912 107.459-40.912 148.354 0l133.768 133.767c29.306 29.308 77.004 29.308 106.327 0l11.868 11.868c-35.863 35.851-94.216 35.851-130.064-0zM69.186 332.799l47.484 47.469 118.671-118.68-47.468-47.471c-32.718-32.718-85.956-32.718-118.688 0-32.717 32.719-32.717 85.957-0.001 118.682zM46.517 215.18c3.228-4.522 6.752-8.884 10.801-12.932 4.065-4.064 8.424-7.589 12.932-10.8l-12.932-12.932-23.734 23.735 12.934 12.93z" horiz-adv-x="431" /> -<glyph unicode="" d="M0 315.462l8.081-5.752c1.427-1.017 14.72-9.934 41.666-9.934 4.328 0 8.802 0.246 13.374 0.705 60.025-69.53 102.574-119.556 112.966-132.783-19.636-43.764-22.718-92.921-8.589-138.98l4.097-13.342 122.081 122.096 132.948-132.947 11.866 11.868-132.947 132.948 122.097 122.096-13.342 4.082c-45.272 13.882-95.772 10.75-138.98-8.59-13.195 10.375-63.072 52.795-132.472 112.706 1.754 10.704 3.688 34.93-9.196 55.058l-5.638 8.786-128.012-128.016zM27.668 319.38l96.511 96.526c6.162-17.948 1.442-37.109 1.376-37.339l-1.278-5.032 3.916-3.425c118.54-102.363 138.095-118.246 143.864-120.737l-0.034-0.097 3.115-0.934 2.967 1.393c36.11 17.261 78.447 22.046 117.49 13.375l-215.704-215.69c-8.802 39.519-4.197 80.726 13.391 117.474l1.672 3.491-1.571 3.541-0.492-0.212c-5.148 10.113-29.291 38.074-119.966 143.108l-2.966 3.442-4.508-0.607c-5.41-0.721-10.687-1.098-15.703-1.098-9.524-0.002-16.85 1.326-22.080 2.817z" horiz-adv-x="439" /> -<glyph unicode="" d="M33.574 385.55c20.948 20.947 48.796 32.486 78.431 32.486v0c29.633 0 57.483-11.539 78.43-32.486l224.558-224.572c29.913-29.914 29.913-78.612 0-108.526-14.49-14.506-33.767-22.486-54.272-22.486-20.504 0-39.78 7.982-54.268 22.486l-99.151 99.134 0.082 0.080-118.507 118.524c-8.047 8.032-12.474 18.736-12.474 30.094 0 11.375 4.426 22.062 12.474 30.11 8.032 8.031 18.718 12.474 30.094 12.474 11.375 0 22.063-4.442 30.095-12.474l189.938-189.922-11.868-11.868-189.94 189.922c-9.736 9.736-26.716 9.736-36.453 0-4.868-4.868-7.556-11.342-7.556-18.242 0-6.885 2.688-13.36 7.556-18.228l217.574-217.738c11.324-11.342 26.374-17.57 42.403-17.57 16.014 0 31.078 6.229 42.404 17.57 23.374 23.375 23.374 61.416 0 84.792l-224.555 224.572c-17.786 17.784-41.42 27.569-66.564 27.569-25.144 0-48.78-9.785-66.564-27.569s-27.586-41.42-27.586-66.564c0-25.144 9.802-48.796 27.586-66.582l196.823-196.821-11.868-11.868-196.822 196.825c-20.964 20.964-32.504 48.812-32.504 78.447s11.54 57.483 32.504 78.432z" horiz-adv-x="439" /> -<glyph unicode="" d="M100.707 253.373h201.413v-16.784h-201.412v16.784zM100.707 186.236h201.413v-16.784h-201.412v16.784zM100.707 119.090h134.274v-16.786h-134.274v16.786zM251.012 421.216c-4 23.804-24.654 41.962-49.599 41.962-24.939 0-45.593-18.158-49.598-41.962h-151.816v-436.394h402.824v436.394h-151.811zM167.845 382.685v30.139c0 18.51 15.063 33.57 33.57 33.57 18.514 0 33.57-15.060 33.57-33.57v-30.142l8.488-4.827c16.482-9.38 29.119-23.636 36.372-40.56h-156.845c7.251 16.928 19.889 31.18 36.372 40.56l8.474 4.832zM386.040 1.606h-369.256v402.825h134.275v-11.989c-26.201-14.916-45.19-41.064-50.352-71.932h201.412c-5.148 30.872-24.144 57.015-50.352 71.932v11.989h134.274v-402.825z" horiz-adv-x="403" /> -<glyph unicode="" d="M327.296 190.432v41.972h-117.49v25.172h75.53v167.824h-167.844v-167.824h75.53v-25.172h-117.492v-41.973h-75.53v-167.836h167.843v167.836h-75.528v25.192h218.197v-25.192h-75.53v-167.837h167.846v167.837h-75.531zM134.274 408.616h134.276v-134.255h-134.276v134.255zM151.058 39.38h-134.274v134.267h134.275l-0.001-134.267zM386.040 39.38h-134.274v134.267h134.274v-134.267z" horiz-adv-x="403" /> -<glyph unicode="" d="M388.795 406.53l-11.868 11.868-114.279-114.294v93.15l-122.998-98.035h-95.182v-75.882l-0.050-0.041 0.050-0.048v-75.088h62.22l-106.689-106.688 11.867-11.868 118.556 118.556h0.426l16.047 16.039-0.246 0.188 99.231 99.231v-0.427l16.786 16.785v0.426l126.128 126.129zM61.252 164.943v117.49h84.282l100.329 79.972v-63.188l0.016-11.884-122.407-122.391h-62.22zM245.882 164.943h-0.018v-78.414l-85.675 67.236-11.95-11.957 114.409-89.782v96.132h0.017v108.082l-16.784-16.785z" horiz-adv-x="389" /> -<glyph unicode="" d="M217.721 275.48c10.226 24.312 42.433 102.128 42.433 118.625v64.876h-218.195v-64.875c0-16.538 31.995-94.83 41.978-118.851-49.699-24.734-83.939-75.889-83.939-135.176 0-83.43 67.628-151.060 151.060-151.060 83.43 0 151.060 67.628 151.060 151.060-0 59.464-34.454 110.762-84.397 135.401zM58.744 394.106v48.091h83.626v-114.827h16.784v114.827h84.219v-48.091c0-9.2-20.588-63.36-41.108-112.062-16.014 5.778-33.208 9.089-51.206 9.089-18.178 0-35.535-3.381-51.68-9.268-17.44 41.978-40.634 102.12-40.634 112.242zM151.059 5.803c-74.038 0-134.275 60.236-134.275 134.276 0 74.038 60.237 134.27 134.275 134.27 74.038 0 134.275-60.234 134.275-134.27 0-74.038-60.238-134.276-134.275-134.276zM151.059 240.78c-55.614 0-100.707-45.087-100.707-100.701 0-55.625 45.092-100.708 100.707-100.708 55.631 0 100.706 45.084 100.706 100.708-0 55.615-45.076 100.702-100.706 100.702zM151.059 56.156c-46.272 0-83.922 37.651-83.922 83.923 0 46.271 37.65 83.916 83.922 83.916 46.288 0 83.922-37.646 83.922-83.916 0-46.272-37.634-83.923-83.923-83.923z" horiz-adv-x="302" /> -<glyph unicode="" d="M436.394 229.794c0 20.612-16.325 36.511-37.98 36.511h-136.57c8.721 20.234 24.39 62.704 24.39 106.541 0 50.042-25.111 60.544-46.175 60.544-13.064 0-31.928-9.896-31.928-27.79 0-7.548-1.196-74.731-42.222-109.152-43.716-36.666-56.139-46.255-80.087-46.255-27.93 0-77.546-0.614-77.546-0.614l-8.277-0.106v-195.299h91.396c5.933 0 23.734-7.932 39.453-14.916 25.947-11.556 55.336-24.652 75.137-24.652l131.995 0.050c21.488 0 38.98 16.899 38.98 37.666 0 8.458-3.017 16.195-7.902 22.486 15.752 4.507 27.375 18.882 27.375 36.060 0 8.63-3.033 16.498-7.933 22.868 15.49 4.95 26.832 19.317 26.832 36.435 0 8.606-2.95 16.49-7.752 22.9 16.503 4.13 28.815 18.964 28.815 36.724zM398.416 208.608h-29.159v-16.784h7.638c11.932 0 21.652-9.712 21.652-21.652 0-11.932-9.72-21.644-21.652-21.644h-24.423v-16.786h6.312c11.507 0 20.866-9.368 20.866-20.875 0-11.522-9.36-20.88-20.866-20.88h-23.092v-16.786h2.292c12.23 0 22.194-9.375 22.194-20.88 0-11.522-9.964-20.882-22.194-20.882h-21.438v-0.050h-110.558c-16.227 0-45.108 12.868-68.319 23.193-22.799 10.146-37.224 16.375-46.272 16.375h-74.611v161.935c15.276 0.172 48.206 0.516 69.040 0.516 31.043 0 47.336 13.671 90.871 50.18 45.894 38.495 48.221 108.39 48.221 122.012 0 6.848 10.508 11.006 15.146 11.006 8.787 0 29.388 0 29.388-43.76 0-55.303-27.912-110.558-28.191-111.115l-6.244-12.21h102.82c0.296-0.214 0.476 0 0.476 0h60.106c12.277 0 21.192-8.507 21.192-19.727-0.002-11.68-9.509-21.187-21.195-21.187z" horiz-adv-x="437" /> -<glyph unicode="" d="M209.82 433.8c-115.884 0-209.82-93.933-209.82-209.8s93.936-209.804 209.82-209.804c115.868 0 209.79 93.937 209.79 209.804s-93.921 209.801-209.79 209.801zM209.82 30.979c-106.442 0-193.036 86.594-193.036 193.021 0 106.43 86.594 193.016 193.036 193.016 106.428 0 193.006-86.585 193.006-193.016-0-106.428-86.579-193.020-193.006-193.020zM197.084 314.196l-11.865 11.867-102.066-102.062 102.066-102.066 11.865 11.866-81.806 81.808h203.624v16.785h-203.624z" horiz-adv-x="420" /> -<glyph unicode="" d="M109.099 383.452h16.784v-67.138h-16.784v67.138zM234.982 333.099c0 64.892-52.615 117.49-117.49 117.49-64.892 0-117.492-52.599-117.492-117.49 0-49.976 31.259-92.56 75.268-109.541v-226.147h83.922v58.483l25.438 25.438-25.438 25.438v33.043l42.222 42.224-41.567 41.57c43.928 17.014 75.138 59.565 75.138 109.492zM153.78 239.26l-11.375-4.393v-17.556l35.256-35.274-35.257-35.272v-46.944l18.472-18.49-18.472-18.488v-48.649h-50.354v220.884l-10.752 4.148c-39.191 15.113-64.514 51.959-64.514 93.872 0 55.532 45.174 100.706 100.707 100.706 55.516 0 100.708-45.173 100.708-100.706-0-41.863-25.292-78.694-64.418-93.839z" horiz-adv-x="235" /> -<glyph unicode="" d="M348.161 276.394c-32.041 0-65.513-28.962-104.786-33.077v16.736c0.23 41.108 31.029 83.48 82.495 83.48h9.752c47.354 0 96.052 37.486 101.248 100.706h-16.802c-5.031-52.73-45.288-83.922-84.447-83.922h-9.752c-60.892 0-98.704-51.534-99.246-99.658h-0.032v-0.639c0-0.131-0.017-0.279-0.017-0.41h0.017v-16.292c-39.256 4.114-72.744 33.078-104.772 33.078-34.502 0-121.817-68.431-121.817-202.56 0-67.924 45.846-70.070 51.681-70.070 0.394 0 0.606 0 0.606 0 28.471 0 54.746 13.687 87.594 46.536 32.847 32.847 45.976 41.469 69.793 41.469 9.489 0 20.899 0 24.636 0 0.786 0 1.361 0 1.361 0 3.736 0 15.146 0 24.636 0 23.818 0 36.945-8.623 69.792-41.469 32.847-32.847 59.125-46.536 87.596-46.536 0 0 0.209 0 0.604 0 5.82 0 51.664 2.149 51.664 70.070 0 134.126-87.313 202.56-121.802 202.56zM418.479 20.53l-0.394 0.017h-0.394c-23.899 0-46.55 12.44-75.728 41.617-32.24 32.24-49.712 46.387-81.659 46.387h-50.632c-31.946 0-49.418-14.146-81.661-46.387-29.176-29.176-51.828-41.616-75.726-41.616l0.032 0.048-0.639-0.048c-8.195 0-34.897 3.836-34.897 53.286 0 128.161 83.48 185.776 105.034 185.776 12.669 0 27.702-6.754 43.616-13.899 20.308-9.114 43.32-19.458 69.694-19.671 26.096 0.214 49.106 10.556 69.416 19.671 15.914 7.146 30.945 13.899 43.615 13.899 21.541 0 105.018-57.615 105.018-185.776 0.002-49.45-26.697-53.286-34.697-53.303zM134.343 209.257h-16.786v-33.57h-33.569v-16.784h33.569v-33.568h16.786v33.568h33.566v16.784h-33.566zM310.512 192.521c-13.9 0-25.178-11.262-25.178-25.178 0-13.899 11.277-25.176 25.178-25.176 13.916 0 25.176 11.277 25.176 25.176 0 13.918-11.26 25.178-25.176 25.178zM310.512 158.952c-4.623 0-8.392 3.769-8.392 8.392 0 4.639 3.769 8.394 8.392 8.394 4.638 0 8.392-3.755 8.392-8.394 0-4.623-3.754-8.392-8.392-8.392zM377.65 175.736c-13.901 0-25.178-11.262-25.178-25.178 0-13.901 11.276-25.176 25.178-25.176 13.916 0 25.176 11.276 25.176 25.176 0 13.918-11.26 25.178-25.176 25.178zM377.65 142.168c-4.624 0-8.394 3.77-8.394 8.392 0 4.638 3.769 8.392 8.394 8.392 4.638 0 8.39-3.754 8.39-8.392 0-4.623-3.752-8.392-8.39-8.392z" horiz-adv-x="470" /> -<glyph unicode="" d="M0 400.236v-352.472h419.61v352.472h-419.61zM67.138 64.548h-50.353v67.137h50.353v-67.137zM67.138 148.47h-50.353v67.138h50.353v-67.138zM67.138 232.388h-50.353v67.138h50.353v-67.137zM67.138 316.31h-50.353v67.138h50.353v-67.138zM335.688 288.339v-223.791h-251.764v318.899h251.764v-95.108zM402.825 64.548h-50.353v67.137h50.353v-67.137zM402.825 148.47h-50.353v67.138h50.353v-67.138zM402.825 232.388h-50.353v67.138h50.353v-67.137zM402.825 316.31h-50.353v67.138h50.353v-67.138zM167.845 291.838v-135.664l117.489 67.822-117.49 67.842zM184.629 262.76l67.138-38.764-67.138-38.762v77.525z" horiz-adv-x="420" /> -<glyph unicode="" d="M209.804 182.055c23.179 0 41.962 18.784 41.962 41.948 0 23.178-18.785 41.953-41.962 41.953-23.168 0-41.96-18.774-41.96-41.952-0-23.164 18.791-41.949 41.96-41.949zM209.804 249.173c13.882 0 25.178-11.292 25.178-25.168 0-13.87-11.293-25.164-25.178-25.164s-25.177 11.293-25.177 25.165c0 13.875 11.293 25.168 25.177 25.168zM417.945 197.971c1.058 8.539 1.663 17.209 1.663 26.032 0 115.876-93.93 209.804-209.794 209.804v0c-0.010 0-0.010 0-0.010 0-79.57 0-148.79-44.297-184.358-109.573-0.032-0.074-0.082-0.148-0.122-0.221-0.672-1.23-1.278-2.508-1.926-3.754-2.466-4.769-4.803-9.613-6.909-14.587-0.32-0.754-0.598-1.524-0.902-2.287-10.023-24.496-15.588-51.279-15.588-79.381 0-115.872 93.93-209.808 209.805-209.808 104.248 0 190.692 76.055 206.993 175.68 0.443 2.686 0.812 5.39 1.147 8.094zM402.456 212.608c-0.067-1.148-0.173-2.296-0.264-3.426-0.197-2.673-0.452-5.344-0.764-7.984-0.149-1.229-0.303-2.474-0.466-3.704-0.377-2.721-0.82-5.409-1.312-8.098-0.172-0.983-0.328-1.964-0.524-2.95-0.73-3.673-1.541-7.327-2.474-10.932-0.010-0.034-0.017-0.050-0.034-0.082-0.918-3.557-1.966-7.048-3.080-10.508-0.279-0.884-0.592-1.754-0.894-2.639-0.902-2.673-1.86-5.312-2.876-7.918-0.352-0.918-0.712-1.836-1.082-2.753-1.148-2.82-2.352-5.589-3.623-8.326-0.256-0.572-0.5-1.148-0.764-1.705-1.615-3.409-3.32-6.769-5.13-10.064l-100.476 60.68c4.442 9.638 6.99 20.325 6.99 31.63 0 41.805-33.898 75.702-75.709 75.702-0.024 0-0.048-0.008-0.083-0.008-0.032 0-0.065 0.008-0.089 0.008-0.294 0-0.582-0.050-0.876-0.058-2.51-0.032-4.984-0.172-7.426-0.442-0.262-0.032-0.514-0.090-0.779-0.123-14.268-1.745-27.298-7.434-37.978-15.982l-83.287 83.293c16.719 15.342 36.159 27.75 57.484 36.478v-0.008c11.236 4.597 22.996 8.18 35.159 10.613 0.172 0.033 0.351 0.058 0.524 0.090 2.851 0.562 5.72 1.069 8.613 1.504 0.631 0.094 1.27 0.152 1.91 0.242 2.458 0.344 4.932 0.672 7.424 0.922 1.293 0.13 2.623 0.196 3.933 0.299 1.861 0.148 3.713 0.324 5.59 0.418 3.097 0.156 6.22 0.23 9.359 0.238 0.114 0 0.236 0.008 0.361 0.008 96.445 0 176.603-71.112 190.784-163.664 1.467-9.572 2.229-19.382 2.229-29.356-0.002-3.828-0.14-7.627-0.37-11.396zM357.224 99.608c-2.072-2.459-4.204-4.851-6.382-7.195-0.394-0.409-0.795-0.82-1.188-1.23-1.992-2.098-4.026-4.163-6.106-6.163-0.466-0.442-0.934-0.885-1.409-1.327-2.123-2.016-4.293-3.966-6.507-5.868-0.394-0.346-0.795-0.707-1.197-1.048-2.533-2.148-5.114-4.228-7.745-6.244-0.082-0.050-0.154-0.115-0.236-0.18-5.688-4.327-11.622-8.344-17.776-12.031l-55.674 103.245c6.499 4.509 12.211 10.015 17.014 16.276l100.444-60.661c-3.959-5.952-8.245-11.638-12.818-17.098-0.13-0.163-0.278-0.312-0.418-0.474zM272.606 41.536c-2.483-0.868-4.984-1.688-7.507-2.442-0.966-0.293-1.959-0.558-2.934-0.836-2.312-0.654-4.639-1.262-6.982-1.836-1.107-0.262-2.22-0.524-3.336-0.77-2.269-0.509-4.556-0.966-6.859-1.394-1.149-0.212-2.303-0.426-3.458-0.623-2.361-0.394-4.736-0.722-7.123-1.033-1.097-0.132-2.188-0.296-3.286-0.409-2.673-0.296-5.351-0.526-8.047-0.707-0.828-0.048-1.648-0.128-2.476-0.18-3.572-0.196-7.162-0.312-10.786-0.312-103.108 0-187.596 81.25-192.775 183.088-0.172 3.296-0.254 6.594-0.254 9.921 0 3.27 0.090 6.516 0.246 9.744 0.122 2.468 0.336 4.917 0.549 7.36 0.066 0.721 0.099 1.442 0.165 2.148 1.901 18.932 6.572 37.060 13.556 53.992 0.017 0.091 0.041 0.172 0.066 0.254 8.711 21.079 21.038 40.289 36.224 56.852l83.29-83.291c-9.269-11.58-15.17-25.938-16.319-41.625-0.139-1.803-0.286-3.597-0.286-5.434 0-0.025 0.008-0.057 0.008-0.090s-0.008-0.058-0.008-0.082c0-41.81 33.896-75.708 75.701-75.708 9.998 0 19.506 1.985 28.242 5.491l55.696-103.313c-6.197-3-12.58-5.688-19.12-8.032-0.717-0.257-1.464-0.488-2.184-0.733zM268.55 224.004c0-32.393-26.347-58.732-58.745-58.732-32.364 0-58.688 26.291-58.736 58.642 0.048 32.422 26.404 58.778 58.826 58.827 32.348-0.049 58.655-26.374 58.655-58.738z" horiz-adv-x="420" /> -<glyph unicode="" d="M299.563 131.392c-18.408 7.688-62.139 22.766-89.038 30.708-2.293 0.721-2.654 0.837-2.654 10.382 0 7.884 3.244 15.826 6.408 22.546 3.427 7.302 7.49 19.579 8.95 30.594 4.081 4.737 9.636 14.080 13.21 31.888 3.13 15.695 1.672 21.406-0.41 26.766-0.212 0.566-0.444 1.123-0.607 1.68-0.786 3.679 0.294 22.8 2.984 37.634 1.852 10.178-0.476 31.822-14.489 49.731-8.85 11.317-25.782 25.209-56.71 27.142l-16.965-0.016c-30.404-1.917-47.353-15.809-56.206-27.126-14.014-17.908-16.341-39.552-14.488-49.722 2.704-14.842 3.769-33.962 3-37.568-0.164-0.632-0.394-1.189-0.624-1.754-2.066-5.36-3.54-11.072-0.394-26.766 3.558-17.809 9.114-27.152 13.212-31.888 1.442-11.014 5.508-23.292 8.95-30.594 2.508-5.344 3.688-12.613 3.688-22.89 0-9.548-0.361-9.662-2.508-10.342-27.816-8.212-72.087-24.209-88.594-31.438-13.080-5.615-16.276-15.687-16.276-24.776s0-36.019 0-41.961c0-5.94 3.524-16.088 16.276-16.088 9.802 0 88.282 0 123.931 0 10.686 0 17.57 0 17.57 0h3.066c0 0 7 0 17.833 0 35.797 0 114.163 0 123.95 0 12.736 0 16.276 10.147 16.276 16.088s0 32.874 0 41.961-6.276 20.195-19.339 25.808zM302.020 64.32h-285.236v41.264c0 5.090 1.491 7.368 6.229 9.4 15.883 6.959 59.86 22.819 86.921 30.817 14.228 4.508 14.228 17.127 14.228 26.34 0 12.81-1.672 22.349-5.293 30.046-2.754 5.849-6.278 16.358-7.49 25.619l-0.656 4.99-3.294 3.811c-1.802 2.082-6.326 8.613-9.441 24.206-2.442 12.15-1.361 14.958-0.492 17.214 0.492 1.213 0.951 2.43 1.294 3.786l0.097 0.356 0.067 0.356c1.689 7.918-0.59 31.397-2.903 44.084-1.066 5.839 0.278 22.414 11.212 36.375 6.671 8.548 19.653 19.042 43.534 20.68l15.867 0.017c19.506-1.324 34.322-8.286 44.042-20.702 10.918-13.958 12.244-30.537 11.18-36.397-2.361-13.018-4.59-36.109-2.869-44.132l0.132-0.624 0.18-0.606c0.244-0.856 0.556-1.721 0.884-2.582l0.165-0.414v-0.024c0.951-2.446 2.031-5.216-0.394-17.387-3.13-15.58-7.671-22.141-9.474-24.234l-3.263-3.794-0.654-4.958c-1.231-9.253-4.755-19.792-7.508-25.653-3.95-8.408-8-18.514-8-29.692 0-9.228 0-21.866 14.686-26.479 26.258-7.753 69.514-22.661 87.167-30.038 6.688-2.868 9.18-7.892 9.18-10.384l-0.099-41.262zM372.731 240.554l43.878 43.874-11.882 11.868-43.863-43.875-43.88 43.875-11.866-11.868 43.878-43.875-43.879-43.878 11.866-11.868 43.88 43.874 43.878-43.874 11.866 11.868z" horiz-adv-x="417" /> -<glyph unicode="" d="M0 224c0-115.884 93.936-209.804 209.805-209.804 115.868 0 209.804 93.921 209.804 209.804 0 115.868-93.936 209.804-209.805 209.804-115.868 0-209.804-93.936-209.804-209.804zM402.825 224c0-106.435-86.594-193.020-193.022-193.020-106.442 0-193.020 86.586-193.020 193.020s86.578 193.020 193.020 193.020c106.428 0 193.022-86.586 193.022-193.020zM119.605 211.264l-11.868-11.866 102.066-102.058 102.052 102.058-11.868 11.866-81.791-81.799v203.634h-16.784v-203.634z" horiz-adv-x="420" /> -<glyph unicode="" d="M299.562 131.392c-18.406 7.688-62.138 22.766-89.037 30.708-2.293 0.721-2.654 0.837-2.654 10.382 0 7.884 3.246 15.826 6.41 22.546 3.424 7.302 7.488 19.579 8.948 30.594 4.082 4.737 9.639 14.080 13.21 31.888 3.13 15.695 1.672 21.406-0.41 26.766-0.212 0.566-0.44 1.123-0.605 1.68-0.788 3.679 0.293 22.8 2.983 37.634 1.851 10.178-0.476 31.822-14.489 49.731-8.85 11.317-25.782 25.209-56.712 27.142l-16.965-0.016c-30.404-1.917-47.352-15.809-56.204-27.126-14.014-17.908-16.342-39.552-14.489-49.722 2.704-14.842 3.77-33.962 2.999-37.568-0.164-0.632-0.394-1.189-0.623-1.754-2.066-5.36-3.54-11.072-0.394-26.766 3.556-17.809 9.114-27.152 13.212-31.888 1.442-11.014 5.507-23.292 8.95-30.594 2.507-5.344 3.688-12.613 3.688-22.89 0-9.548-0.361-9.662-2.508-10.342-27.816-8.212-72.088-24.209-88.594-31.438-13.082-5.614-16.277-15.686-16.277-24.774s0-36.019 0-41.961c0-5.94 3.524-16.088 16.276-16.088 9.802 0 88.282 0 123.932 0 10.686 0 17.57 0 17.57 0h3.067c0 0 6.999 0 17.834 0 35.798 0 114.162 0 123.95 0 12.736 0 16.276 10.147 16.276 16.088s0 32.874 0 41.961-6.278 20.194-19.341 25.808zM302.021 64.32h-285.236v41.264c0 5.090 1.476 7.368 6.212 9.4 15.899 6.959 59.86 22.819 86.936 30.817 14.228 4.508 14.228 17.127 14.228 26.34 0 12.81-1.689 22.349-5.294 30.046-2.754 5.849-6.278 16.358-7.49 25.619l-0.654 4.99-3.294 3.811c-1.803 2.082-6.328 8.613-9.442 24.206-2.442 12.15-1.361 14.958-0.492 17.214 0.492 1.213 0.934 2.43 1.296 3.786l0.082 0.356 0.082 0.356c1.688 7.918-0.591 31.397-2.903 44.084-1.066 5.839 0.278 22.414 11.195 36.375 6.688 8.548 19.67 19.042 43.55 20.68l15.866 0.017c19.506-1.324 34.322-8.286 44.026-20.702 10.916-13.958 12.262-30.537 11.196-36.397-2.361-13.018-4.59-36.109-2.886-44.132l0.131-0.624 0.18-0.606c0.263-0.856 0.572-1.721 0.903-2.582l0.148-0.414 0.016-0.024c0.952-2.446 2.034-5.216-0.392-17.387-3.131-15.58-7.672-22.141-9.476-24.234l-3.262-3.794-0.672-4.958c-1.214-9.253-4.736-19.792-7.488-25.653-3.952-8.408-7.999-18.514-7.999-29.692 0-9.228 0-21.866 14.684-26.479 26.26-7.753 69.514-22.661 87.168-30.038 6.686-2.868 9.18-7.892 9.18-10.384l-0.099-41.262zM369.256 248.947v66.961h-16.784v-66.961h-66.974v-16.785h66.974v-66.956h16.784v66.957h66.956v16.785z" horiz-adv-x="436" /> -<glyph unicode="" d="M0 428.8v-409.6h460.8v409.6h-460.8zM17.067 411.733h42.666v-375.466h-42.666v375.466zM443.733 36.267h-366.933v375.466h366.933v-375.466zM264.534 61.866c89.6 0 162.134 72.534 162.134 162.134s-72.534 162.134-162.134 162.134c-89.6 0-162.133-72.534-162.133-162.134s72.534-162.134 162.133-162.134zM264.534 369.067c80.214 0 145.067-64.853 145.067-145.067s-64.853-145.067-145.067-145.067c-80.214 0-145.066 64.853-145.066 145.067s64.853 145.067 145.066 145.067zM264.534 172.8c28.16 0 51.2 23.040 51.2 51.2s-23.040 51.2-51.2 51.2c-28.16 0-51.2-23.040-51.2-51.2s23.040-51.2 51.2-51.2zM264.534 258.134c18.774 0 34.134-15.36 34.134-34.134s-15.36-34.134-34.134-34.134-34.133 15.36-34.133 34.134c0 18.774 15.36 34.134 34.133 34.134zM273.067 224c0-4.713-3.82-8.534-8.534-8.534s-8.534 3.82-8.534 8.534c0 4.713 3.82 8.534 8.534 8.534s8.534-3.821 8.534-8.534z" horiz-adv-x="461" /> -<glyph unicode="" d="M359.253 358.827l47.786 47.786v-39.253h17.067v68.266h-68.267v-17.067h39.253l-47.786-47.786c-43.52 40.96-100.694 65.707-164.694 65.707-69.974 0-136.534-30.72-182.613-82.774l12.8-11.094c1.707 1.707 3.413 3.413 5.12 5.12l152.747-153.6-57.173-57.173h-42.666l-59.733-59.733h54.614v-54.613l59.733 59.733v42.666l57.173 57.173 152.747-152.746c-1.707-1.707-3.413-3.413-5.12-5.12l11.094-12.8c52.906 46.080 82.774 112.64 82.774 182.613 0.853 64-23.894 122.026-64.853 164.693zM108.374 90.026l-25.6-25.6v30.72h-29.867l25.6 25.6h30.72v-30.72zM29.866 359.68c40.96 38.4 95.573 59.733 152.746 59.733 58.88 0 112.64-23.040 152.747-59.733l-152.746-152.747-152.746 152.746zM347.307 346.88c37.546-40.106 59.733-93.867 59.733-152.746 0-57.173-21.334-110.933-59.733-152.746l-152.746 152.746 152.746 152.746z" horiz-adv-x="425" /> -<glyph unicode="" d="M85.334 279.466v-283.307h392.534v392.534h-307.2v64l-170.667-116.053 85.334-57.173zM153.6 387.84c0 0 0-0.854 0 0v0-17.067h16.214c0 0 0 0 0.853 0 0 0 0.853 0 0.853 0h0.853c80.213 0 133.12-44.374 156.16-100.694-48.64 40.96-111.786 46.080-142.506 46.080-0.853 0-0.853 0-1.707 0h-30.72v-17.067c0 0 0 0 0 0v-45.226l-122.88 82.774 122.88 83.626v-32.426zM102.4 267.52l68.266-46.080v76.8c3.413 0 8.534 0.853 15.36 0.853 42.666 0 133.974-11.094 172.373-98.133 0 71.68-36.693 139.094-104.96 169.813h207.36v-358.4h-358.4v255.147z" horiz-adv-x="478" /> -<glyph unicode="" d="M469.334 347.733l-108.373 108.373c-3.413 3.413-7.68 5.12-11.947 5.12s-8.534-1.706-11.947-5.12l-331.947-331.947c-6.827-6.827-6.827-17.067 0-23.894l108.374-108.374c3.413-3.413 7.68-5.12 11.947-5.12s8.533 1.707 11.947 5.12l331.947 331.947c6.827 5.974 6.827 17.067 0 23.894zM240.64 119.040l-108.374 108.374 96.427 96.427 108.374-108.374-96.427-96.427zM125.44 3.84l-108.374 108.373 103.254 103.254 108.374-108.374-103.254-103.254zM349.014 227.413l-108.374 108.374 108.374 108.373c0 0 0 0 0 0v0l108.374-108.373-108.374-108.374zM345.6 372.48c0-4.713-3.82-8.534-8.534-8.534s-8.534 3.82-8.534 8.534c0 4.713 3.82 8.534 8.534 8.534s8.534-3.821 8.534-8.534zM394.24 323.84c0-4.713-3.82-8.534-8.534-8.534s-8.534 3.82-8.534 8.534c0 4.713 3.82 8.534 8.534 8.534s8.534-3.821 8.534-8.534zM309.76 335.786c0-4.713-3.82-8.534-8.534-8.534s-8.534 3.82-8.534 8.534c0 4.713 3.82 8.534 8.534 8.534s8.534-3.82 8.534-8.534zM357.546 288c0-4.713-3.82-8.534-8.534-8.534s-8.534 3.821-8.534 8.534c0 4.713 3.82 8.534 8.534 8.534s8.534-3.821 8.534-8.534zM128.853 154.88c0-4.713-3.82-8.534-8.534-8.534s-8.534 3.82-8.534 8.534c0 4.713 3.82 8.534 8.534 8.534s8.534-3.82 8.534-8.534zM176.64 107.094c0-4.713-3.821-8.534-8.534-8.534s-8.534 3.82-8.534 8.534c0 4.713 3.821 8.534 8.534 8.534s8.534-3.82 8.534-8.534zM92.16 119.040c0-4.713-3.82-8.534-8.534-8.534s-8.534 3.82-8.534 8.534c0 4.713 3.82 8.534 8.534 8.534s8.534-3.82 8.534-8.534zM140.8 70.4c0-4.713-3.821-8.534-8.534-8.534s-8.534 3.82-8.534 8.534c0 4.713 3.82 8.534 8.534 8.534s8.534-3.82 8.534-8.534z" horiz-adv-x="475" /> -<glyph unicode="" d="M93.867 232.534c-18.773 0-34.133-15.36-34.133-34.134s15.36-34.134 34.133-34.134 34.133 15.36 34.133 34.134-15.36 34.133-34.133 34.133zM93.867 181.334c-9.386 0-17.067 7.68-17.067 17.067s7.68 17.067 17.067 17.067c9.386 0 17.067-7.68 17.067-17.067s-7.68-17.067-17.067-17.067zM366.933 232.534c-18.774 0-34.134-15.36-34.134-34.134s15.36-34.134 34.134-34.134c18.774 0 34.134 15.36 34.134 34.134s-15.36 34.133-34.134 34.133zM366.933 181.334c-9.387 0-17.067 7.68-17.067 17.067s7.68 17.067 17.067 17.067c9.387 0 17.067-7.68 17.067-17.067s-7.68-17.067-17.067-17.067zM401.92 300.8l-14.507 68.267c-5.974 22.186-23.040 34.133-46.080 34.133h-221.867c-23.894 0-37.547-11.946-44.374-34.133l-15.36-68.267h-59.733v-17.066h55.467v-0.854c-26.453-1.707-46.934-23.893-46.934-51.2v-118.613h25.6v-25.6c0-23.894 18.773-42.666 42.666-42.666s42.666 18.774 42.666 42.666v25.6h221.866v-25.6c0-23.894 18.774-42.666 42.666-42.666s42.666 18.774 42.666 42.666v25.6h25.6v118.613c0 26.454-20.48 48.64-46.080 51.2v0.853h54.613v17.066h-58.88zM91.306 363.947c5.12 15.36 12.8 22.186 28.16 22.186h221.866c16.214 0 25.6-6.826 29.866-21.334l17.067-81.92h-315.733l18.773 81.067zM102.4 87.466c0-14.507-11.094-25.6-25.6-25.6s-25.6 11.094-25.6 25.6v25.6h51.2v-25.6zM409.6 87.466c0-14.507-11.094-25.6-25.6-25.6s-25.6 11.094-25.6 25.6v25.6h51.2v-25.6zM435.2 231.68v-101.546h-409.6v101.546c0 18.774 15.36 34.133 34.133 34.133h341.334c18.774 0 34.134-15.36 34.134-34.133z" horiz-adv-x="461" /> -<glyph unicode="" d="M439.466 309.333l-100.693 119.466h-230.4l-100.694-119.466-7.68-8.534 6.827-8.534 216.746-273.067 223.573 281.6-7.68 8.534zM417.28 309.333h-171.52l85.333 101.547 86.187-101.547zM222.72 309.333l-88.746 102.4h175.786l-87.040-102.4zM114.347 409.173l86.187-99.84h-170.667l84.48 99.84zM215.040 292.267v-234.666l-186.88 234.667h186.88zM232.107 57.6v234.667h186.027l-186.026-234.667z" horiz-adv-x="447" /> -<glyph unicode="" d="M213.333 437.334c-117.76 0-213.333-95.574-213.333-213.334s95.573-213.333 213.333-213.333c117.76 0 213.333 95.573 213.333 213.333s-95.574 213.333-213.333 213.333zM213.333 27.733c-108.374 0-196.267 87.894-196.267 196.267s87.894 196.267 196.267 196.267c108.374 0 196.267-87.894 196.267-196.267s-87.894-196.267-196.267-196.267zM281.6 275.2c0 37.546-30.72 68.267-68.267 68.267s-68.267-30.72-68.267-68.267c0-25.6 14.506-48.64 35.84-59.733l-35.84-102.4h136.534l-34.987 102.4c20.48 11.947 34.987 34.133 34.987 59.733zM257.707 130.134h-88.746l27.306 79.36 5.12 13.654-12.8 6.827c-16.214 9.387-26.453 26.453-26.453 45.226 0 28.16 23.040 51.2 51.2 51.2s51.2-23.040 51.2-51.2c0-18.774-10.24-35.84-26.453-44.374l-12.8-6.827 4.267-13.653 28.16-80.214z" horiz-adv-x="427" /> -<glyph unicode="" d="M395.094 410.88c-13.654 13.654-32.426 20.48-50.346 20.48s-36.694-6.827-50.346-20.48l-61.44-61.44-34.987 34.987-11.946-11.947 40.96-40.96-185.173-184.32c-22.186-22.187-24.747-58.026-5.974-82.774l-35.84-35.84 11.947-11.947 35.84 35.84c11.093-8.534 24.746-12.8 38.4-12.8 16.213 0 32.427 5.974 44.374 18.774l185.173 184.32 38.4-38.4 11.947 11.947-33.28 33.28 61.44 61.44c28.16 27.306 28.16 71.68 0.853 99.84zM118.614 69.546c-8.534-8.534-20.48-13.654-32.426-13.654s-23.894 5.12-32.426 13.654c-17.92 17.92-17.92 46.933 0 64.853l185.173 185.173 64.854-64.853-185.173-185.173zM321.707 260.693l-76.8 76.8 61.44 61.44c10.24 10.24 23.894 16.214 38.4 16.214s28.16-5.974 38.4-16.214c10.24-10.24 16.214-23.894 16.214-38.4s-5.974-28.16-16.214-38.4l-61.44-61.44z" horiz-adv-x="416" /> -<glyph unicode="" d="M248.32 197.546c57.173 57.173 57.173 148.48 0 205.654-28.16 28.16-65.707 42.666-102.4 42.666-37.547 0-75.094-13.654-103.254-42.666-57.173-57.173-57.173-148.48 0-205.654 26.453-26.454 59.733-40.106 93.867-41.813v-68.267h-68.266v-17.067h68.266v-68.267h17.066v68.267h68.267v17.067h-68.267v68.267c34.133 1.707 68.267 16.214 94.72 41.813zM54.614 391.254c23.894 24.746 56.32 37.546 90.454 37.546s66.56-13.654 90.454-37.546c50.346-50.346 50.346-131.413 0-181.76-23.893-23.894-56.32-36.693-90.454-36.693s-66.56 13.654-90.454 37.546c-50.346 49.493-50.346 131.413 0 180.906z" horiz-adv-x="291" /> -<glyph unicode="" d="M512 232.534h-50.346v102.4h-51.2v42.667h-68.267v-145.067h-170.667v145.067h-68.266v-42.667h-51.2v-102.4h-52.053v-17.066h52.053v-102.4h51.2v-42.666h68.266v145.066h170.667v-145.067h68.267v42.666h51.2v102.4h50.346v17.066zM69.12 130.134v187.733h34.133v-187.733h-34.133zM154.453 87.466h-34.133v273.067h34.133v-273.067zM393.387 87.466h-34.133v273.067h34.134v-273.067zM444.587 130.134h-34.134v187.733h34.134v-187.733z" /> -<glyph unicode="" d="M455.68 247.040l-11.947-12.8-199.68 199.68 12.8 11.947-11.947 11.947-12.8-11.947-128.853-129.707 11.947-11.947 8.534 8.534 93.866-93.866-217.6-216.746 11.947-11.947 217.6 217.6 93.867-93.866-8.534-8.534 11.947-11.947 141.654 141.654-12.8 11.947zM334.507 125.866l-29.866 29.866 96.426 97.28 29.866-29.867-96.427-97.28zM292.693 168.534l-114.346 114.346 96.427 96.427 114.346-114.347-96.427-96.426zM232.107 421.974l29.867-29.867-95.573-97.28-29.867 29.866 95.573 97.28z" horiz-adv-x="468" /> -<glyph unicode="" d="M426.666 249.6c0 117.76-95.574 213.333-213.333 213.333s-213.333-95.573-213.333-213.333v-87.040h0.854c0-2.56 0-5.12 0-6.827 0-56.32 45.227-102.4 101.546-102.4v0 204.8h-0.853c-35.84 0-66.56-17.92-84.48-46.080v37.547c0 108.374 87.894 196.266 196.267 196.266s196.267-87.893 196.267-196.266v-37.547c-17.92 27.306-49.493 46.080-84.48 46.080h-0.853v-204.8h0.853c8.534 0 16.214 0.853 24.747 3.413-25.6-24.747-57.173-41.813-93.013-50.346v29.866h-86.186v-51.2h85.333v3.413c54.613 11.094 101.546 42.666 132.267 87.040 23.040 18.774 38.4 47.786 38.4 80.214 0 2.56 0 5.12 0 6.827v0 87.040zM85.334 239.36v-167.254c-38.4 7.68-68.266 42.666-68.266 83.626s29.867 75.947 68.266 83.626zM238.934 2.134h-51.2v17.067h51.2v-17.067zM341.334 72.106v167.254c39.253-7.68 68.267-42.667 68.267-83.626s-29.014-75.947-68.267-83.627z" horiz-adv-x="427" /> -<glyph unicode="" d="M494.933 215.466v17.066h-59.733c-1.707 46.080-19.627 87.040-48.64 119.467l42.666 42.666-11.947 11.946-42.666-42.666c-31.574 29.014-72.534 46.934-117.76 48.64v58.88h-17.066v-58.88c-45.227-1.707-86.186-20.48-117.76-48.64l-42.666 42.666-11.947-11.946 42.666-42.666c-29.867-32.427-48.64-73.387-50.346-119.467h-59.733v-17.066h59.733c2.56-45.226 20.48-86.187 48.64-116.906l-42.666-42.666 11.947-11.947 42.666 42.666c31.574-29.014 72.533-46.933 117.76-48.64v-61.44h17.066v60.587c45.226 1.707 87.040 20.48 117.76 48.64l42.666-42.666 11.947 11.947-42.666 42.666c28.16 31.574 46.933 71.68 48.64 116.906h61.44zM418.134 232.534h-102.4c-1.707 12.8-6.827 24.746-14.507 34.134l72.534 72.534c25.6-28.16 41.813-65.707 44.373-106.667zM247.466 172.8c-28.16 0-51.2 23.040-51.2 51.2s23.040 51.2 51.2 51.2c28.16 0 51.2-23.040 51.2-51.2s-23.040-51.2-51.2-51.2zM361.813 351.147l-73.387-73.387c-9.387 6.827-20.48 11.947-32.426 13.654v104.106c40.96-2.56 77.654-18.774 105.813-44.373zM238.934 395.52v-103.253c-11.946-1.707-23.040-5.974-32.427-13.654l-73.387 73.387c28.16 24.746 64.853 40.96 105.814 43.52zM121.174 339.2l72.533-72.534c-7.68-9.387-12.8-21.334-14.506-34.133h-102.4c2.56 40.96 18.773 78.506 44.374 106.667zM77.653 215.466h102.4c1.707-11.947 5.974-23.040 13.654-32.426l-71.68-71.68c-26.453 27.307-42.666 64-44.374 104.106zM133.12 98.56l71.68 71.68c9.387-7.68 21.334-12.8 34.133-14.507v-101.546c-40.96 2.56-77.653 18.774-105.814 44.373zM256 55.040v101.546c12.8 1.707 24.747 6.827 34.134 14.507l71.68-71.68c-28.16-26.454-64.853-42.666-105.814-44.373zM373.76 110.507l-71.68 71.68c6.827 9.387 11.947 20.48 13.654 32.426h102.4c-2.56-39.253-18.774-75.947-44.373-104.106z" horiz-adv-x="495" /> -<glyph unicode="" d="M255.147 318.72v101.546h43.52v17.066h-298.666v-17.066h42.666v-101.546c0-28.16 11.093-62.293 86.187-98.987-64-30.72-86.186-58.026-86.186-103.253v-88.746h-42.666v-17.067h298.666v17.067h-43.52v88.746c0 45.226-22.186 72.534-86.186 104.106 75.094 35.84 86.186 69.974 86.186 98.134zM238.080 116.48v-88.746h-178.346v88.746c0 35.84 14.507 60.587 89.6 94.72 74.24-34.986 88.746-59.733 88.746-94.72zM148.48 229.12c-78.507 35.84-88.746 65.707-88.746 89.6v101.546h178.346v-101.546c0-23.894-11.094-53.76-89.6-89.6z" horiz-adv-x="299" /> -<glyph unicode="" d="M273.067 212.906c0 114.346-76.8 197.974-136.534 267.094-59.733-69.12-136.534-152.746-136.534-267.094 0-107.52 79.36-135.68 128-151.040v-93.866h17.066v93.866c48.64 15.36 128 43.52 128 151.040zM145.066 79.786v66.56l53.76 53.76-11.946 11.947-41.814-41.813v173.226h-17.067v-81.92l-44.373 44.373-11.947-11.946 56.32-56.32v-157.866c-46.934 15.36-110.933 41.813-110.933 133.12 0 99.84 62.294 174.933 119.467 240.64 57.173-65.707 119.466-140.8 119.466-240.64 0-91.307-64-117.76-110.933-133.12z" horiz-adv-x="273" /> -<glyph unicode="" d="M-0.113 28.229l222.651 222.651 12.068-12.068-222.651-222.652-12.068 12.068zM159.573 312.746h68.266v-17.066h-68.267v17.066zM347.307 312.746h68.267v-17.066h-68.267v17.066zM279.040 244.48h17.067v-68.266h-17.067v68.267zM279.040 432.214h17.067v-68.267h-17.067v68.267zM383.854 388.529l-48.278-48.264-12.066 12.070 48.278 48.264 12.066-12.070zM371.935 207.325l-48.278 48.264 12.066 12.070 48.278-48.264-12.066-12.070zM239.773 340.148l-48.278 48.264 12.066 12.069 48.278-48.264-12.066-12.069z" horiz-adv-x="416" /> -<glyph unicode="" d="M236.374 388.693l3.413-16.213 130.56 29.866-128.853-129.707c-25.6 23.040-58.88 36.693-96.427 36.693-80.213 0-145.066-64.853-145.066-145.066s64.853-145.066 145.066-145.066c80.213 0 145.066 64.853 145.066 145.067 0 36.693-13.654 70.827-36.694 96.427l129.706 129.707-30.72-130.56 16.214-4.266 40.96 173.227-173.226-40.107zM145.066 36.267c-70.826 0-128 57.173-128 128s57.173 128 128 128c70.826 0 128-57.173 128-128s-57.173-128-128-128z" horiz-adv-x="410" /> -<glyph unicode="" d="M256 202.666l-51.2 29.013v104.107c29.013 4.267 51.2 29.013 51.2 58.88 0 33.28-26.453 59.733-59.733 59.733s-59.733-26.453-59.733-59.733c0-29.867 22.186-54.613 51.2-58.88v-93.867l-51.2 29.013-136.534-55.466v-209.067l136.534 55.466 119.466-68.267 136.534 68.267v209.067l-136.534-68.267zM119.466 72.96l-102.4-40.96v172.374l102.4 41.814v-173.227zM153.6 394.666c0 23.894 18.773 42.666 42.667 42.666s42.666-18.773 42.666-42.666c0-23.893-18.774-42.666-42.666-42.666s-42.666 18.774-42.666 42.666zM256 12.373l-119.466 68.267v170.667l51.2-29.013v-75.094h17.066v65.707l51.2-29.014v-171.52zM375.466 72.106l-102.4-51.2v170.666l102.4 51.2v-170.666z" horiz-adv-x="393" /> -<glyph unicode="" d="M477.866 336.64l-170.667 116.053v-64h-307.2v-392.534h392.534v283.307l85.334 57.173zM324.267 420.267l122.88-82.774-122.88-83.626v45.227c0 0 0 0 0 0v17.066h-30.72c-0.853 0-0.853 0-1.707 0-30.72 0-93.867-5.973-142.506-46.080 23.040 56.32 75.946 100.694 156.16 100.694v0c0 0 0.853 0 0.853 0s0 0 0.853 0h17.067v16.213c0 0 0 0 0 0.853v32.427zM375.466 12.373h-358.4v358.4h207.36c-68.267-29.867-104.96-98.133-104.96-168.96 39.253 87.040 130.56 98.134 172.373 98.134 5.974 0 11.094 0 15.36-0.854v-76.8l68.267 46.080v-256z" horiz-adv-x="478" /> -<glyph unicode="" d="M357.546 242.774v0l-166.4 167.254-3.413-2.56v4.267c0 28.16-23.040 51.2-51.2 51.2s-51.2-23.040-51.2-51.2v-106.666l-70.826-70.827c-19.627-19.627-19.627-51.2 0-70.827l96.427-96.427c9.386-10.24 23.040-14.507 35.84-14.507s25.6 5.12 35.84 14.507l122.027 122.88h104.96l-52.053 52.906zM102.4 411.733c0 18.774 15.36 34.134 34.133 34.134s34.133-15.36 34.133-34.134v-21.334l-68.266-68.266v89.6zM297.813 206.933l-128-128c-5.974-5.974-14.506-9.387-23.893-9.387-8.534 0-17.066 3.413-23.040 9.387l-96.427 96.427c-12.8 12.8-12.8 34.134 0 46.933l144.214 143.36v-107.52h17.066v124.587l2.56 2.56 178.346-178.346h-70.827zM451.413 48.214c-5.12 46.080-54.613 107.52-54.613 107.52s-50.346-62.293-54.613-108.373c0-2.56 0-4.267 0-6.827 0-30.72 24.747-55.466 55.466-55.466s55.466 24.747 55.466 55.466c-0.853 2.56-0.853 5.12-1.707 7.68zM396.8 2.134c-21.334 0-38.4 17.067-38.4 38.4 0 1.707 0 2.56 0 4.267v0 0c2.56 25.6 22.187 58.88 37.546 81.92 15.36-22.187 34.986-56.32 38.4-81.067 0-1.707 0-3.413 0-5.12 0.853-21.334-16.214-38.4-37.546-38.4z" horiz-adv-x="453" /> -<glyph unicode="" d="M187.733 317.866v136.534h-136.534v-136.534h-51.2v-277.333c0-25.6 21.334-46.933 46.934-46.933h145.066c25.6 0 46.934 21.334 46.934 46.933v277.334h-51.2zM68.266 437.334h102.4v-119.466h-102.4v119.466zM221.867 40.534c0-16.214-13.654-29.866-29.867-29.866h-145.066c-16.213 0-29.866 13.654-29.866 29.866v260.267h204.8v-260.267zM85.334 411.733h17.067v-42.666h-17.067v42.666zM136.534 411.733h17.066v-42.666h-17.066v42.666z" horiz-adv-x="239" /> -<glyph unicode="" d="M0 428.8v-409.6h426.666v409.6h-426.666zM17.067 171.094l119.466 125.44 118.614-118.613 59.733 51.2 88.746-90.454h-386.56v32.426zM409.6 36.267h-392.534v85.334h392.534v-85.334zM409.6 156.587l-93.014 96.427-59.733-51.2-120.32 119.466-119.466-125.44v215.893h392.534v-255.146zM315.733 292.267c23.894 0 42.666 18.774 42.666 42.666s-18.774 42.666-42.666 42.666c-23.894 0-42.666-18.773-42.666-42.666s18.774-42.666 42.666-42.666zM315.733 360.534c14.507 0 25.6-11.094 25.6-25.6s-11.094-25.6-25.6-25.6c-14.507 0-25.6 11.094-25.6 25.6s11.094 25.6 25.6 25.6z" horiz-adv-x="427" /> -<glyph unicode="" d="M444.587 241.066h-9.387c-12.8 33.28-38.4 61.44-72.534 81.92 0 45.226 4.267 55.466 13.654 84.48-34.986-5.12-69.974-26.454-87.894-57.173-11.947 2.56-23.894 3.413-35.84 4.266 1.707 6.827 3.413 14.507 3.413 23.040 0 42.666-34.133 76.8-76.8 76.8s-76.8-34.134-76.8-76.8c0-21.334 8.534-40.106 23.040-54.613-33.28-19.626-58.88-46.933-72.534-79.36-23.040 8.534-35.84 21.334-35.84 37.547 0 17.92 14.507 34.133 27.306 38.4l-5.12 16.214c-21.334-5.974-39.254-29.867-39.254-52.906 0-13.654 5.973-39.254 46.934-54.613-3.413-11.094-4.267-22.187-4.267-34.133 0-42.666 21.334-81.92 55.467-110.933l-10.24-29.866c-6.826-20.48 3.413-41.813 23.894-48.64l23.894-8.534c4.267-1.707 8.534-2.56 12.8-2.56 16.214 0 30.72 10.24 36.694 25.6l6.827 19.627c17.066-3.413 34.133-5.974 52.906-5.974 11.946 0 23.893 0.853 34.987 2.56l10.24-21.334c6.827-13.654 20.48-21.334 34.986-21.334 5.974 0 11.094 0.853 17.067 4.267l22.187 11.094c18.774 9.387 27.307 32.426 17.92 51.2l-5.974 12.8c23.040 15.36 40.96 34.986 53.76 58.026h17.067c23.040 0 41.813 18.774 41.813 41.813v27.306c-2.56 23.040-21.334 41.814-44.373 41.814zM119.466 377.6c0 33.28 26.453 59.733 59.733 59.733s59.733-26.454 59.733-59.733c0-8.534-1.707-16.214-5.12-23.894-34.133-0.853-65.707-9.387-93.013-22.187-12.8 11.094-21.334 27.307-21.334 46.080zM469.334 171.947c0-13.654-11.094-24.747-24.747-24.747h-27.307l-5.12-8.534c-11.094-19.627-27.307-37.546-47.786-52.053l-11.947-8.534 6.827-12.8 5.974-12.8c5.12-10.24 0.853-23.894-10.24-29.014l-22.187-10.24c-2.56-1.707-5.974-2.56-9.387-2.56-8.534 0-15.36 4.267-19.627 11.947l-10.24 21.334-5.12 11.094-12.8-1.707c-11.094-1.707-22.186-2.56-32.427-2.56-16.214 0-33.28 1.707-49.494 5.12l-14.506 3.413-4.267-14.507-6.827-19.627c-3.413-8.534-11.094-14.507-20.48-14.507-2.56 0-5.12 0-6.827 0.853l-23.894 8.534c-11.094 4.267-17.067 16.214-12.8 27.306l10.24 30.72 4.266 11.094-9.386 7.68c-32.426 26.454-49.493 60.587-49.493 97.28 0 78.507 82.774 143.36 183.466 143.36 13.654 0 28.16-1.707 41.813-3.413l11.947-2.56 5.974 10.24c10.24 17.92 28.16 32.426 47.786 40.96-3.413-14.506-5.12-30.72-5.974-59.733v-9.387l8.534-5.12c30.72-18.773 54.613-44.373 65.707-73.386l4.267-11.094h21.334c13.654 0 24.747-11.094 24.747-24.747v-27.307zM375.466 228.267c0-11.782-9.551-21.334-21.334-21.334s-21.334 9.551-21.334 21.334c0 11.782 9.551 21.334 21.334 21.334s21.334-9.552 21.334-21.334z" horiz-adv-x="487" /> -<glyph unicode="" d="M230.4 326.4c-37.547 0-68.266-18.773-68.266-42.666s30.72-42.666 68.267-42.666c37.546 0 68.267 18.774 68.267 42.666s-30.72 42.666-68.267 42.666zM230.4 258.134c-29.013 0-51.2 13.654-51.2 25.6s22.186 25.6 51.2 25.6 51.2-13.654 51.2-25.6-22.187-25.6-51.2-25.6zM429.226 317.866c4.267 5.12 5.974 11.094 5.974 17.92 0 23.894-30.72 42.666-68.267 42.666-19.627 0-36.693-5.12-48.64-12.8l-22.187 9.386c1.707 3.413 2.56 7.68 2.56 11.947 0 23.894-30.72 42.666-68.267 42.666s-68.267-18.773-68.267-42.666c0-4.267 0.853-7.68 2.56-11.947l-17.066-7.68c-11.946 6.826-28.16 11.093-45.227 11.093-37.546 0-68.266-18.773-68.266-42.666 0-5.12 1.706-10.24 4.267-15.36l-38.4-17.066v-168.96l230.4-98.134 230.4 98.986v168.106l-31.574 14.507zM230.4 212.053l-200.534 86.187 21.334 8.534c12.8-8.534 30.72-14.507 51.2-14.507 37.547 0 68.266 18.774 68.266 42.666 0 6.827-2.56 13.654-7.68 19.626l12.8 5.12c12.8-10.24 32.427-17.066 54.613-17.066s41.813 6.827 54.613 17.067l19.627-8.534c-3.413-5.12-5.974-11.094-5.974-17.066 0-23.894 30.72-42.667 68.267-42.667 18.774 0 35.84 4.267 47.786 11.947l16.214-6.827-200.534-84.48zM418.134 335.786c0-11.947-22.187-25.6-51.2-25.6s-51.2 13.654-51.2 25.6 22.187 25.6 51.2 25.6c29.014 0 51.2-13.654 51.2-25.6zM230.4 411.733c29.013 0 51.2-13.653 51.2-25.6s-22.187-25.6-51.2-25.6-51.2 13.654-51.2 25.6 22.186 25.6 51.2 25.6zM102.4 361.387c29.013 0 51.2-13.654 51.2-25.6s-22.186-25.6-51.2-25.6c-29.014 0-51.2 13.654-51.2 25.6s22.186 25.6 51.2 25.6zM17.067 285.44l204.8-87.894v-139.094l-204.8 87.894v139.094zM238.934 58.454v139.094l204.8 87.894v-139.094l-204.8-87.894z" horiz-adv-x="461" /> -<glyph unicode="" d="M327.68 182.187l-17.92-125.44 122.026 18.774-47.786 48.64c16.214 29.866 25.6 63.147 25.6 99.84 0 113.494-91.307 204.8-204.8 204.8v-17.067c103.253 0 187.733-84.48 187.733-187.733 0-31.574-7.68-60.587-21.334-87.040l-43.52 45.226zM329.387 77.226l10.24 68.267 56.32-58.026-66.56-10.24zM17.067 224c0 45.226 16.213 86.187 42.666 118.613l52.053-52.906 17.92 125.44-122.026-19.627 39.254-40.96c-29.014-34.987-46.934-81.067-46.934-130.56 0-113.493 91.306-204.8 204.8-204.8v17.067c-103.254 0-187.733 84.48-187.733 187.733zM109.227 393.813l-10.24-68.266-56.32 58.026 66.56 10.24z" horiz-adv-x="431" /> -<glyph unicode="" d="M170.667 360.534c-23.893 0-42.667-18.774-42.667-42.666s18.774-42.666 42.666-42.666c23.893 0 42.666 18.774 42.666 42.666s-18.774 42.666-42.666 42.666zM170.667 292.267c-14.506 0-25.6 11.094-25.6 25.6s11.094 25.6 25.6 25.6c14.506 0 25.6-11.094 25.6-25.6s-11.094-25.6-25.6-25.6zM256 177.067c0 61.44 0 131.413 0 157.014 0 47.786-31.573 112.64-85.334 145.92-53.76-33.28-85.334-98.134-85.334-146.774 0-25.6 0-95.573 0-157.014l-85.334-105.813h341.333l-85.334 106.666zM85.334 87.466h-49.493l49.493 62.293v-62.293zM238.934 87.466h-136.534v245.76c0 38.4 23.894 93.866 68.266 126.293 44.374-32.426 68.267-87.040 68.267-126.293v-245.76zM256 149.76l49.493-62.293h-49.493c0 14.507 0 36.693 0 62.293zM162.133 53.334h17.066v-85.334h-17.066v85.334zM204.8 53.334h17.066v-51.2h-17.066v51.2zM119.466 53.334h17.066v-51.2h-17.067v51.2z" horiz-adv-x="342" /> -<glyph unicode="" d="M409.6 184.747l68.267 6.827v64l-68.267 6.827c-4.267 20.48-12.8 39.253-23.040 55.466l38.4 51.2-39.253 39.254-51.2-38.4c-16.214 10.24-34.986 18.773-54.613 23.040l-7.68 68.267h-64l-7.68-68.267c-19.626-4.267-37.547-11.947-53.76-22.187l-52.906 37.547-39.254-39.254 37.547-52.906c-10.24-16.214-17.92-34.134-22.186-53.76l-68.266-7.68v-64l68.266-7.68c4.266-19.627 12.8-38.4 23.040-55.466l-38.4-51.2 39.253-39.254 51.2 38.4c16.214-10.24 34.987-18.774 54.613-23.040l8.534-68.267h64l8.534 68.267c19.627 4.267 37.546 11.947 53.76 22.187l52.053-37.546 39.253 39.254-38.4 53.76c10.24 17.067 17.92 34.986 22.187 54.613zM460.8 241.066v-33.28l-51.2-5.12c0.853 6.827 1.707 14.507 1.707 22.186s-0.853 14.506-1.707 22.186l51.2-5.974zM383.147 387.84l18.774-18.774-28.16-38.4c-8.534 11.093-17.92 20.48-29.014 29.013l38.4 28.16zM221.867 445.866h34.133l5.974-51.2c-7.68 0.853-15.36 1.707-22.186 1.707-7.68 0-15.36-0.853-22.186-1.707l4.267 51.2zM75.094 368.214l19.626 19.627 39.254-27.307c-5.974-4.267-11.094-9.387-16.213-14.506s-10.24-10.24-14.507-16.214l-28.16 38.4zM17.067 206.933v34.133l51.2 5.974c-0.853-7.68-1.707-15.36-1.707-23.040s0.853-15.36 1.707-22.187l-51.2 5.12zM94.72 61.014l-18.773 17.92 28.16 38.4c8.534-10.24 17.92-20.48 28.16-28.16l-37.547-28.16zM256 2.134h-34.133l-5.974 51.2c7.68-0.853 15.36-1.707 23.040-1.707v0 0c7.68 0 15.36 0.853 23.040 1.707l-5.974-51.2zM238.934 69.546c-85.333 0-154.453 69.12-154.453 154.454 0 40.96 16.213 80.214 45.226 109.226s68.267 45.226 109.226 45.226v0c85.334 0 154.453-69.12 154.453-154.453 0-40.96-16.214-80.214-45.226-109.226s-67.413-45.226-109.226-45.226zM402.774 79.786l-18.774-18.774-39.254 28.16c5.974 4.267 11.094 9.387 16.214 14.507s9.387 10.24 14.507 16.214l27.307-40.106z" horiz-adv-x="478" /> -<glyph unicode="" d="M162.133 437.334l-162.133-30.72c0 0 0-194.56 0-229.546 0-55.466 48.64-127.147 162.133-166.4 113.494 39.254 162.133 110.933 162.133 166.4 0 34.986 0 229.547 0 229.547l-162.133 30.72zM307.2 177.067c0-47.786-45.226-111.786-145.066-148.48-99.84 36.693-145.066 100.693-145.066 148.48v215.040l145.066 28.16 145.066-27.306v-215.894zM113.493 307.626l-12.8-11.946 51.2-51.2-51.2-51.2 12.8-11.947 50.346 51.2 51.2-51.2 11.947 11.947-51.2 51.2 51.2 51.2-11.947 11.947-51.2-51.2z" horiz-adv-x="325" /> -<glyph unicode="" d="M204.8 428.8c-113.493 0-204.8-91.307-204.8-204.8s91.306-204.8 204.8-204.8c113.493 0 204.8 91.306 204.8 204.8s-91.307 204.8-204.8 204.8zM204.8 36.267c-103.254 0-187.733 84.48-187.733 187.733s84.48 187.733 187.733 187.733c103.253 0 187.733-84.48 187.733-187.733s-84.48-187.733-187.733-187.733zM311.466 175.36c-4.267 1.707-9.387 0.853-11.094-3.413-18.774-36.693-55.466-58.88-95.573-58.88-40.96 0-76.8 22.187-95.573 58.88-1.707 4.267-6.826 5.974-11.094 3.413-4.266-1.707-5.974-6.827-4.266-11.094 21.334-41.813 63.146-68.267 110.933-68.267 46.934 0 89.6 26.454 110.080 68.267 2.56 4.267 0.853 9.387-3.413 11.094zM162.133 266.667c0-14.139-11.462-25.6-25.6-25.6s-25.6 11.462-25.6 25.6c0 14.138 11.462 25.6 25.6 25.6s25.6-11.462 25.6-25.6zM298.666 266.667c0-14.139-11.462-25.6-25.6-25.6s-25.6 11.462-25.6 25.6c0 14.138 11.461 25.6 25.6 25.6s25.6-11.462 25.6-25.6z" horiz-adv-x="410" /> -<glyph unicode="" d="M229.547 377.6h-58.88v-58.88h25.6v-40.96c0-9.387 0-15.36-9.387-24.746l-58.88-58.027v238.080l11.947-19.627 14.506 8.534-34.987 58.026-34.987-58.026 14.507-8.534 11.947 19.627v-308.053l-53.76 53.76c-9.386 9.387-14.507 17.067-14.507 23.040v40.106c14.507 3.413 25.6 17.066 25.6 33.28 0 18.773-15.36 34.133-34.133 34.133s-34.133-15.36-34.133-34.133c0-16.214 11.094-29.014 25.6-33.28v-40.106c0-14.507 10.24-26.454 19.627-34.986l66.56-66.56v-47.786c-19.626-4.267-34.133-21.334-34.133-41.813 0-23.894 18.773-42.666 42.666-42.666s42.666 18.774 42.666 42.666c0 20.48-14.506 37.546-34.133 41.813v117.76l70.826 70.827c14.506 14.506 14.506 26.454 14.506 36.694v40.96h16.214v58.88zM17.067 275.2c0 9.387 7.68 17.066 17.067 17.066s17.066-7.68 17.066-17.066c0-9.387-7.68-17.066-17.067-17.066s-17.067 7.68-17.067 17.066zM145.066 10.666c0-14.507-11.094-25.6-25.6-25.6s-25.6 11.094-25.6 25.6c0 14.507 11.094 25.6 25.6 25.6s25.6-11.094 25.6-25.6zM187.733 360.534h24.746v-24.746h-24.746v24.746z" horiz-adv-x="230" /> -<glyph unicode="" d="M426.666 322.134l-15.36-15.36c-33.28 29.014-75.947 45.226-120.32 45.226-29.866 0-59.733-7.68-85.334-21.333l64.853 64.853c5.12-3.413 11.094-5.12 17.067-5.12 8.534 0 17.067 3.413 23.894 10.24 13.654 13.654 13.654 34.987 0 48.64-6.827 6.827-15.36 10.24-23.894 10.24s-17.067-3.413-23.894-10.24c-11.094-11.946-12.8-29.013-5.12-41.813l-81.92-81.92-15.36 15.36-41.814-41.814 15.36-15.36-83.626-83.627c-5.12 3.413-11.093 5.12-17.067 5.12-8.534 0-17.067-3.413-23.893-10.24-13.653-13.654-13.653-34.986 0-48.64 6.826-5.974 15.36-9.387 23.893-9.387s17.067 3.413 23.894 10.24c11.094 11.094 12.8 28.16 5.12 41.813l64.853 64.853c-34.133-65.707-26.453-147.626 23.893-205.654l-15.36-16.214 42.666-41.813 41.814 41.813-41.814 41.813-14.506-14.507c-49.493 58.026-52.053 141.654-10.24 203.094l6.827-6.827 42.667 41.814-7.68 6.827c27.306 19.626 60.587 29.866 94.72 29.866 40.106 0 77.654-14.506 108.374-40.106l-15.36-14.506 42.666-41.814 41.813 41.814-41.813 42.666zM197.12 32l-17.92-17.92-17.92 17.92 17.92 17.92 17.92-17.92zM275.627 436.48c3.413 3.413 7.68 5.12 11.947 5.12s8.534-1.707 11.947-5.12c6.827-6.827 6.827-17.067 0-23.894-3.413-3.413-7.68-5.12-11.947-5.12s-8.534 1.707-11.947 5.12c-6.827 5.974-6.827 17.067 0 23.894zM46.080 159.147c-3.413-3.413-7.68-5.12-11.947-5.12s-8.534 1.707-11.947 5.12c-3.413 2.56-5.12 6.827-5.12 11.947 0 4.267 1.706 8.534 5.12 11.947s7.68 5.12 11.947 5.12c4.267 0 8.534-1.707 11.947-5.12 6.827-6.827 6.827-17.92 0-23.894zM160.427 279.466l-17.92 17.92 17.92 17.92 17.92-17.92-17.92-17.92zM426.666 261.547l-17.92 17.92 17.92 17.92 17.92-17.92-17.92-17.92z" horiz-adv-x="469" /> -<glyph unicode="" d="M253.44 453.546v0l-89.6-89.6c-54.614-54.613-56.32-141.654-5.974-198.827l-72.534-72.534-72.534 72.534-12.8-13.654 157.013-157.014 11.947 11.947-72.534 72.534 72.534 72.534c57.173-50.346 144.214-48.64 198.827 5.974l47.786 47.786h1.707v1.707l40.96 40.96-204.8 205.654zM355.84 169.387c-49.493-49.493-131.413-49.493-180.906 0-11.094 11.094-18.774 23.040-25.6 35.84h242.346l-35.84-35.84zM408.747 223.147h-265.387c-13.654 43.52-2.56 93.013 31.573 128l78.506 77.654 180.906-180.906-25.6-24.747z" horiz-adv-x="458" /> -</font></defs></svg>
\ No newline at end of file diff --git a/minionlivesmatter/templates/assets/fonts/Pe-icon-7-stroke.ttf b/minionlivesmatter/templates/assets/fonts/Pe-icon-7-stroke.ttf Binary files differdeleted file mode 100755 index bc8a269..0000000 --- a/minionlivesmatter/templates/assets/fonts/Pe-icon-7-stroke.ttf +++ /dev/null diff --git a/minionlivesmatter/templates/assets/fonts/Pe-icon-7-stroke.woff b/minionlivesmatter/templates/assets/fonts/Pe-icon-7-stroke.woff Binary files differdeleted file mode 100755 index c205e6f..0000000 --- a/minionlivesmatter/templates/assets/fonts/Pe-icon-7-stroke.woff +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/CrystalMiner.jpg b/minionlivesmatter/templates/assets/images/CrystalMiner.jpg Binary files differdeleted file mode 100644 index eab06b1..0000000 --- a/minionlivesmatter/templates/assets/images/CrystalMiner.jpg +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/flares.jpg b/minionlivesmatter/templates/assets/images/flares.jpg Binary files differdeleted file mode 100644 index 1b09e27..0000000 --- a/minionlivesmatter/templates/assets/images/flares.jpg +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/fountain.jpeg b/minionlivesmatter/templates/assets/images/fountain.jpeg Binary files differdeleted file mode 100644 index 9fce577..0000000 --- a/minionlivesmatter/templates/assets/images/fountain.jpeg +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/infusions.jpg b/minionlivesmatter/templates/assets/images/infusions.jpg Binary files differdeleted file mode 100644 index 04c4de8..0000000 --- a/minionlivesmatter/templates/assets/images/infusions.jpg +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/aegis.png b/minionlivesmatter/templates/assets/images/items/aegis.png Binary files differdeleted file mode 100644 index 275bb8c..0000000 --- a/minionlivesmatter/templates/assets/images/items/aegis.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/aftershock.png b/minionlivesmatter/templates/assets/images/items/aftershock.png Binary files differdeleted file mode 100644 index 8ea1d9b..0000000 --- a/minionlivesmatter/templates/assets/images/items/aftershock.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/alternating-current.png b/minionlivesmatter/templates/assets/images/items/alternating-current.png Binary files differdeleted file mode 100644 index dc90733..0000000 --- a/minionlivesmatter/templates/assets/images/items/alternating-current.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/atlas-pauldron.png b/minionlivesmatter/templates/assets/images/items/atlas-pauldron.png Binary files differdeleted file mode 100644 index 37dc715..0000000 --- a/minionlivesmatter/templates/assets/images/items/atlas-pauldron.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/barbed-needle.png b/minionlivesmatter/templates/assets/images/items/barbed-needle.png Binary files differdeleted file mode 100644 index 73b5b35..0000000 --- a/minionlivesmatter/templates/assets/images/items/barbed-needle.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/blazing-salvo.png b/minionlivesmatter/templates/assets/images/items/blazing-salvo.png Binary files differdeleted file mode 100644 index 45f7356..0000000 --- a/minionlivesmatter/templates/assets/images/items/blazing-salvo.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/bonesaw.png b/minionlivesmatter/templates/assets/images/items/bonesaw.png Binary files differdeleted file mode 100644 index 1f5ad02..0000000 --- a/minionlivesmatter/templates/assets/images/items/bonesaw.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/book-of-eulogies.png b/minionlivesmatter/templates/assets/images/items/book-of-eulogies.png Binary files differdeleted file mode 100644 index 6f6f870..0000000 --- a/minionlivesmatter/templates/assets/images/items/book-of-eulogies.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/breaking-point.png b/minionlivesmatter/templates/assets/images/items/breaking-point.png Binary files differdeleted file mode 100644 index 87cc589..0000000 --- a/minionlivesmatter/templates/assets/images/items/breaking-point.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/broken-myth.png b/minionlivesmatter/templates/assets/images/items/broken-myth.png Binary files differdeleted file mode 100644 index 635d195..0000000 --- a/minionlivesmatter/templates/assets/images/items/broken-myth.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/chronograph.png b/minionlivesmatter/templates/assets/images/items/chronograph.png Binary files differdeleted file mode 100644 index b7ec2e6..0000000 --- a/minionlivesmatter/templates/assets/images/items/chronograph.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/clockwork.png b/minionlivesmatter/templates/assets/images/items/clockwork.png Binary files differdeleted file mode 100644 index f35c6d6..0000000 --- a/minionlivesmatter/templates/assets/images/items/clockwork.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/coat-of-plates.png b/minionlivesmatter/templates/assets/images/items/coat-of-plates.png Binary files differdeleted file mode 100644 index 7704515..0000000 --- a/minionlivesmatter/templates/assets/images/items/coat-of-plates.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/contraption.png b/minionlivesmatter/templates/assets/images/items/contraption.png Binary files differdeleted file mode 100644 index 083c507..0000000 --- a/minionlivesmatter/templates/assets/images/items/contraption.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/crucible.png b/minionlivesmatter/templates/assets/images/items/crucible.png Binary files differdeleted file mode 100644 index e0bfd74..0000000 --- a/minionlivesmatter/templates/assets/images/items/crucible.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/crystal-bit.png b/minionlivesmatter/templates/assets/images/items/crystal-bit.png Binary files differdeleted file mode 100644 index 4bb9558..0000000 --- a/minionlivesmatter/templates/assets/images/items/crystal-bit.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/crystal-infusion.png b/minionlivesmatter/templates/assets/images/items/crystal-infusion.png Binary files differdeleted file mode 100644 index 99a73d0..0000000 --- a/minionlivesmatter/templates/assets/images/items/crystal-infusion.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/dragon-heart.png b/minionlivesmatter/templates/assets/images/items/dragon-heart.png Binary files differdeleted file mode 100644 index 7a246f5..0000000 --- a/minionlivesmatter/templates/assets/images/items/dragon-heart.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/dragonblood-contract.png b/minionlivesmatter/templates/assets/images/items/dragonblood-contract.png Binary files differdeleted file mode 100644 index aeabe0d..0000000 --- a/minionlivesmatter/templates/assets/images/items/dragonblood-contract.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/echo.png b/minionlivesmatter/templates/assets/images/items/echo.png Binary files differdeleted file mode 100644 index 08ae9d3..0000000 --- a/minionlivesmatter/templates/assets/images/items/echo.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/eclipse-prism.png b/minionlivesmatter/templates/assets/images/items/eclipse-prism.png Binary files differdeleted file mode 100644 index 86bf5a6..0000000 --- a/minionlivesmatter/templates/assets/images/items/eclipse-prism.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/energy-battery.png b/minionlivesmatter/templates/assets/images/items/energy-battery.png Binary files differdeleted file mode 100644 index f8326a0..0000000 --- a/minionlivesmatter/templates/assets/images/items/energy-battery.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/eve-of-harvest.png b/minionlivesmatter/templates/assets/images/items/eve-of-harvest.png Binary files differdeleted file mode 100644 index 1dffd23..0000000 --- a/minionlivesmatter/templates/assets/images/items/eve-of-harvest.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/flare-gun.png b/minionlivesmatter/templates/assets/images/items/flare-gun.png Binary files differdeleted file mode 100644 index 8436193..0000000 --- a/minionlivesmatter/templates/assets/images/items/flare-gun.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/flare.png b/minionlivesmatter/templates/assets/images/items/flare.png Binary files differdeleted file mode 100644 index e28d016..0000000 --- a/minionlivesmatter/templates/assets/images/items/flare.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/fountain-of-renewal.png b/minionlivesmatter/templates/assets/images/items/fountain-of-renewal.png Binary files differdeleted file mode 100644 index 1f07b2f..0000000 --- a/minionlivesmatter/templates/assets/images/items/fountain-of-renewal.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/frostburn.png b/minionlivesmatter/templates/assets/images/items/frostburn.png Binary files differdeleted file mode 100644 index de81ded..0000000 --- a/minionlivesmatter/templates/assets/images/items/frostburn.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/halcyon-chargers.png b/minionlivesmatter/templates/assets/images/items/halcyon-chargers.png Binary files differdeleted file mode 100644 index 1f05c6a..0000000 --- a/minionlivesmatter/templates/assets/images/items/halcyon-chargers.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/halcyon-potion.png b/minionlivesmatter/templates/assets/images/items/halcyon-potion.png Binary files differdeleted file mode 100644 index f46e77e..0000000 --- a/minionlivesmatter/templates/assets/images/items/halcyon-potion.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/heavy-prism.png b/minionlivesmatter/templates/assets/images/items/heavy-prism.png Binary files differdeleted file mode 100644 index 5f760ce..0000000 --- a/minionlivesmatter/templates/assets/images/items/heavy-prism.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/heavy-steel.png b/minionlivesmatter/templates/assets/images/items/heavy-steel.png Binary files differdeleted file mode 100644 index 20eb766..0000000 --- a/minionlivesmatter/templates/assets/images/items/heavy-steel.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/hour-glass.png b/minionlivesmatter/templates/assets/images/items/hour-glass.png Binary files differdeleted file mode 100644 index 8bbd390..0000000 --- a/minionlivesmatter/templates/assets/images/items/hour-glass.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/ironguard-contract.png b/minionlivesmatter/templates/assets/images/items/ironguard-contract.png Binary files differdeleted file mode 100644 index 761eb86..0000000 --- a/minionlivesmatter/templates/assets/images/items/ironguard-contract.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/journey-boots.png b/minionlivesmatter/templates/assets/images/items/journey-boots.png Binary files differdeleted file mode 100644 index 6e50262..0000000 --- a/minionlivesmatter/templates/assets/images/items/journey-boots.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/kinetic-shield.png b/minionlivesmatter/templates/assets/images/items/kinetic-shield.png Binary files differdeleted file mode 100644 index c729d4d..0000000 --- a/minionlivesmatter/templates/assets/images/items/kinetic-shield.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/level-juice.png b/minionlivesmatter/templates/assets/images/items/level-juice.png Binary files differdeleted file mode 100644 index 13c74de..0000000 --- a/minionlivesmatter/templates/assets/images/items/level-juice.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/lifespring.png b/minionlivesmatter/templates/assets/images/items/lifespring.png Binary files differdeleted file mode 100644 index 432c9bf..0000000 --- a/minionlivesmatter/templates/assets/images/items/lifespring.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/light-armor.png b/minionlivesmatter/templates/assets/images/items/light-armor.png Binary files differdeleted file mode 100644 index 3ccb098..0000000 --- a/minionlivesmatter/templates/assets/images/items/light-armor.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/light-shield.png b/minionlivesmatter/templates/assets/images/items/light-shield.png Binary files differdeleted file mode 100644 index 5e638e6..0000000 --- a/minionlivesmatter/templates/assets/images/items/light-shield.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/lucky-strike.png b/minionlivesmatter/templates/assets/images/items/lucky-strike.png Binary files differdeleted file mode 100644 index 36288d4..0000000 --- a/minionlivesmatter/templates/assets/images/items/lucky-strike.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/metal-jacket.png b/minionlivesmatter/templates/assets/images/items/metal-jacket.png Binary files differdeleted file mode 100644 index d598727..0000000 --- a/minionlivesmatter/templates/assets/images/items/metal-jacket.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/minion-candy.png b/minionlivesmatter/templates/assets/images/items/minion-candy.png Binary files differdeleted file mode 100644 index 0cb2594..0000000 --- a/minionlivesmatter/templates/assets/images/items/minion-candy.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/minions-foot.png b/minionlivesmatter/templates/assets/images/items/minions-foot.png Binary files differdeleted file mode 100644 index a1a8137..0000000 --- a/minionlivesmatter/templates/assets/images/items/minions-foot.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/nullwave-gauntlet.png b/minionlivesmatter/templates/assets/images/items/nullwave-gauntlet.png Binary files differdeleted file mode 100644 index 453a5c0..0000000 --- a/minionlivesmatter/templates/assets/images/items/nullwave-gauntlet.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/oak-heart.png b/minionlivesmatter/templates/assets/images/items/oak-heart.png Binary files differdeleted file mode 100644 index a678cf3..0000000 --- a/minionlivesmatter/templates/assets/images/items/oak-heart.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/piercing-shard.png b/minionlivesmatter/templates/assets/images/items/piercing-shard.png Binary files differdeleted file mode 100644 index c97b9bb..0000000 --- a/minionlivesmatter/templates/assets/images/items/piercing-shard.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/piercing-spear.png b/minionlivesmatter/templates/assets/images/items/piercing-spear.png Binary files differdeleted file mode 100644 index e4fd737..0000000 --- a/minionlivesmatter/templates/assets/images/items/piercing-spear.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/poisoned-shiv.png b/minionlivesmatter/templates/assets/images/items/poisoned-shiv.png Binary files differdeleted file mode 100644 index cd23987..0000000 --- a/minionlivesmatter/templates/assets/images/items/poisoned-shiv.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/pot-of-gold.png b/minionlivesmatter/templates/assets/images/items/pot-of-gold.png Binary files differdeleted file mode 100644 index 6142778..0000000 --- a/minionlivesmatter/templates/assets/images/items/pot-of-gold.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/protector-contract.png b/minionlivesmatter/templates/assets/images/items/protector-contract.png Binary files differdeleted file mode 100644 index cc856ab..0000000 --- a/minionlivesmatter/templates/assets/images/items/protector-contract.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/reflex-block.png b/minionlivesmatter/templates/assets/images/items/reflex-block.png Binary files differdeleted file mode 100644 index aadae9f..0000000 --- a/minionlivesmatter/templates/assets/images/items/reflex-block.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/scout-trap.png b/minionlivesmatter/templates/assets/images/items/scout-trap.png Binary files differdeleted file mode 100644 index ef78d67..0000000 --- a/minionlivesmatter/templates/assets/images/items/scout-trap.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/serpent-mask.png b/minionlivesmatter/templates/assets/images/items/serpent-mask.png Binary files differdeleted file mode 100644 index 424766f..0000000 --- a/minionlivesmatter/templates/assets/images/items/serpent-mask.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/shatter-glass.png b/minionlivesmatter/templates/assets/images/items/shatter-glass.png Binary files differdeleted file mode 100644 index 1ba732e..0000000 --- a/minionlivesmatter/templates/assets/images/items/shatter-glass.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/shiversteel.png b/minionlivesmatter/templates/assets/images/items/shiversteel.png Binary files differdeleted file mode 100644 index d41f5bf..0000000 --- a/minionlivesmatter/templates/assets/images/items/shiversteel.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/six-sins.png b/minionlivesmatter/templates/assets/images/items/six-sins.png Binary files differdeleted file mode 100644 index 28f7fd3..0000000 --- a/minionlivesmatter/templates/assets/images/items/six-sins.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/slumbering-husk.png b/minionlivesmatter/templates/assets/images/items/slumbering-husk.png Binary files differdeleted file mode 100644 index 797b1af..0000000 --- a/minionlivesmatter/templates/assets/images/items/slumbering-husk.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/sorrow-blade.png b/minionlivesmatter/templates/assets/images/items/sorrow-blade.png Binary files differdeleted file mode 100644 index 1de0394..0000000 --- a/minionlivesmatter/templates/assets/images/items/sorrow-blade.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/sprint-boots.png b/minionlivesmatter/templates/assets/images/items/sprint-boots.png Binary files differdeleted file mode 100644 index 837a685..0000000 --- a/minionlivesmatter/templates/assets/images/items/sprint-boots.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/stormcrown.png b/minionlivesmatter/templates/assets/images/items/stormcrown.png Binary files differdeleted file mode 100644 index de04715..0000000 --- a/minionlivesmatter/templates/assets/images/items/stormcrown.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/stormguard-banner.png b/minionlivesmatter/templates/assets/images/items/stormguard-banner.png Binary files differdeleted file mode 100644 index 02c7fcc..0000000 --- a/minionlivesmatter/templates/assets/images/items/stormguard-banner.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/swift-shooter.png b/minionlivesmatter/templates/assets/images/items/swift-shooter.png Binary files differdeleted file mode 100644 index 47bb6fe..0000000 --- a/minionlivesmatter/templates/assets/images/items/swift-shooter.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/tension-bow.png b/minionlivesmatter/templates/assets/images/items/tension-bow.png Binary files differdeleted file mode 100644 index 7a5ef1f..0000000 --- a/minionlivesmatter/templates/assets/images/items/tension-bow.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/tornado-trigger.png b/minionlivesmatter/templates/assets/images/items/tornado-trigger.png Binary files differdeleted file mode 100644 index f624285..0000000 --- a/minionlivesmatter/templates/assets/images/items/tornado-trigger.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/travel-boots.png b/minionlivesmatter/templates/assets/images/items/travel-boots.png Binary files differdeleted file mode 100644 index 1ad722f..0000000 --- a/minionlivesmatter/templates/assets/images/items/travel-boots.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/tyrants-monocle.png b/minionlivesmatter/templates/assets/images/items/tyrants-monocle.png Binary files differdeleted file mode 100644 index cae719a..0000000 --- a/minionlivesmatter/templates/assets/images/items/tyrants-monocle.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/void-battery.png b/minionlivesmatter/templates/assets/images/items/void-battery.png Binary files differdeleted file mode 100644 index 4eecb37..0000000 --- a/minionlivesmatter/templates/assets/images/items/void-battery.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/war-treads.png b/minionlivesmatter/templates/assets/images/items/war-treads.png Binary files differdeleted file mode 100644 index 32f0c43..0000000 --- a/minionlivesmatter/templates/assets/images/items/war-treads.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/weapon-blade.png b/minionlivesmatter/templates/assets/images/items/weapon-blade.png Binary files differdeleted file mode 100644 index fce79c1..0000000 --- a/minionlivesmatter/templates/assets/images/items/weapon-blade.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/items/weapon-infusion.png b/minionlivesmatter/templates/assets/images/items/weapon-infusion.png Binary files differdeleted file mode 100644 index e5f8112..0000000 --- a/minionlivesmatter/templates/assets/images/items/weapon-infusion.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/kraken.jpg b/minionlivesmatter/templates/assets/images/kraken.jpg Binary files differdeleted file mode 100644 index 5ce944f..0000000 --- a/minionlivesmatter/templates/assets/images/kraken.jpg +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/logo-blue.png b/minionlivesmatter/templates/assets/images/logo-blue.png Binary files differdeleted file mode 100755 index 4fc8de9..0000000 --- a/minionlivesmatter/templates/assets/images/logo-blue.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/minion-died.jpg b/minionlivesmatter/templates/assets/images/minion-died.jpg Binary files differdeleted file mode 100644 index b63a9c6..0000000 --- a/minionlivesmatter/templates/assets/images/minion-died.jpg +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/minion-top.jpg b/minionlivesmatter/templates/assets/images/minion-top.jpg Binary files differdeleted file mode 100644 index 2ba7ce8..0000000 --- a/minionlivesmatter/templates/assets/images/minion-top.jpg +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/minioncandy.jpg b/minionlivesmatter/templates/assets/images/minioncandy.jpg Binary files differdeleted file mode 100644 index 0cb2594..0000000 --- a/minionlivesmatter/templates/assets/images/minioncandy.jpg +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/minions-for-nothing.jpeg b/minionlivesmatter/templates/assets/images/minions-for-nothing.jpeg Binary files differdeleted file mode 100644 index e13a73a..0000000 --- a/minionlivesmatter/templates/assets/images/minions-for-nothing.jpeg +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/saw-turrets.jpeg b/minionlivesmatter/templates/assets/images/saw-turrets.jpeg Binary files differdeleted file mode 100644 index 9633a7c..0000000 --- a/minionlivesmatter/templates/assets/images/saw-turrets.jpeg +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/scout-traps.jpeg b/minionlivesmatter/templates/assets/images/scout-traps.jpeg Binary files differdeleted file mode 100644 index c4ac2ea..0000000 --- a/minionlivesmatter/templates/assets/images/scout-traps.jpeg +++ /dev/null diff --git a/minionlivesmatter/templates/assets/images/turrets.png b/minionlivesmatter/templates/assets/images/turrets.png Binary files differdeleted file mode 100644 index 808e2bc..0000000 --- a/minionlivesmatter/templates/assets/images/turrets.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/img/650-google-fonts-infographic-new.jpg b/minionlivesmatter/templates/assets/img/650-google-fonts-infographic-new.jpg Binary files differdeleted file mode 100644 index ce66177..0000000 --- a/minionlivesmatter/templates/assets/img/650-google-fonts-infographic-new.jpg +++ /dev/null diff --git a/minionlivesmatter/templates/assets/img/beard-1.jpg b/minionlivesmatter/templates/assets/img/beard-1.jpg Binary files differdeleted file mode 100644 index 446552a..0000000 --- a/minionlivesmatter/templates/assets/img/beard-1.jpg +++ /dev/null diff --git a/minionlivesmatter/templates/assets/img/city-1.jpg b/minionlivesmatter/templates/assets/img/city-1.jpg Binary files differdeleted file mode 100644 index 793ca8d..0000000 --- a/minionlivesmatter/templates/assets/img/city-1.jpg +++ /dev/null diff --git a/minionlivesmatter/templates/assets/img/city-2.png b/minionlivesmatter/templates/assets/img/city-2.png Binary files differdeleted file mode 100644 index 6b34c5b..0000000 --- a/minionlivesmatter/templates/assets/img/city-2.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/img/fashion-1.jpg b/minionlivesmatter/templates/assets/img/fashion-1.jpg Binary files differdeleted file mode 100644 index 1ee1d18..0000000 --- a/minionlivesmatter/templates/assets/img/fashion-1.jpg +++ /dev/null diff --git a/minionlivesmatter/templates/assets/img/favicon.ico b/minionlivesmatter/templates/assets/img/favicon.ico Binary files differdeleted file mode 100644 index 7482a65..0000000 --- a/minionlivesmatter/templates/assets/img/favicon.ico +++ /dev/null diff --git a/minionlivesmatter/templates/assets/img/home-1.jpg b/minionlivesmatter/templates/assets/img/home-1.jpg Binary files differdeleted file mode 100644 index 5dd8c77..0000000 --- a/minionlivesmatter/templates/assets/img/home-1.jpg +++ /dev/null diff --git a/minionlivesmatter/templates/assets/img/lifestyle-1.jpg b/minionlivesmatter/templates/assets/img/lifestyle-1.jpg Binary files differdeleted file mode 100644 index 78dd078..0000000 --- a/minionlivesmatter/templates/assets/img/lifestyle-1.jpg +++ /dev/null diff --git a/minionlivesmatter/templates/assets/img/lifestyle-2.jpg b/minionlivesmatter/templates/assets/img/lifestyle-2.jpg Binary files differdeleted file mode 100644 index 9be8044..0000000 --- a/minionlivesmatter/templates/assets/img/lifestyle-2.jpg +++ /dev/null diff --git a/minionlivesmatter/templates/assets/img/lifestyle-3.jpg b/minionlivesmatter/templates/assets/img/lifestyle-3.jpg Binary files differdeleted file mode 100644 index 3322619..0000000 --- a/minionlivesmatter/templates/assets/img/lifestyle-3.jpg +++ /dev/null diff --git a/minionlivesmatter/templates/assets/img/lifestyle-5.jpg b/minionlivesmatter/templates/assets/img/lifestyle-5.jpg Binary files differdeleted file mode 100644 index 83437d4..0000000 --- a/minionlivesmatter/templates/assets/img/lifestyle-5.jpg +++ /dev/null diff --git a/minionlivesmatter/templates/assets/img/lifestyle-6.jpg b/minionlivesmatter/templates/assets/img/lifestyle-6.jpg Binary files differdeleted file mode 100644 index 7cb9231..0000000 --- a/minionlivesmatter/templates/assets/img/lifestyle-6.jpg +++ /dev/null diff --git a/minionlivesmatter/templates/assets/img/lifestyle-7.jpg b/minionlivesmatter/templates/assets/img/lifestyle-7.jpg Binary files differdeleted file mode 100644 index 9f5bb08..0000000 --- a/minionlivesmatter/templates/assets/img/lifestyle-7.jpg +++ /dev/null diff --git a/minionlivesmatter/templates/assets/img/lifestyle-8.jpg b/minionlivesmatter/templates/assets/img/lifestyle-8.jpg Binary files differdeleted file mode 100644 index 91b0c31..0000000 --- a/minionlivesmatter/templates/assets/img/lifestyle-8.jpg +++ /dev/null diff --git a/minionlivesmatter/templates/assets/img/lifestyle-9.jpg b/minionlivesmatter/templates/assets/img/lifestyle-9.jpg Binary files differdeleted file mode 100644 index 9d676bc..0000000 --- a/minionlivesmatter/templates/assets/img/lifestyle-9.jpg +++ /dev/null diff --git a/minionlivesmatter/templates/assets/img/music-3.jpg b/minionlivesmatter/templates/assets/img/music-3.jpg Binary files differdeleted file mode 100644 index 0fd816e..0000000 --- a/minionlivesmatter/templates/assets/img/music-3.jpg +++ /dev/null diff --git a/minionlivesmatter/templates/assets/img/tim_80x80.png b/minionlivesmatter/templates/assets/img/tim_80x80.png Binary files differdeleted file mode 100644 index 1f7aa0d..0000000 --- a/minionlivesmatter/templates/assets/img/tim_80x80.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/jquery/.bower.json b/minionlivesmatter/templates/assets/jquery/.bower.json deleted file mode 100644 index 8411b9b..0000000 --- a/minionlivesmatter/templates/assets/jquery/.bower.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "jquery", - "main": "dist/jquery.js", - "license": "MIT", - "ignore": [ - "package.json" - ], - "keywords": [ - "jquery", - "javascript", - "browser", - "library" - ], - "homepage": "https://github.com/jquery/jquery-dist", - "version": "2.2.4", - "_release": "2.2.4", - "_resolution": { - "type": "version", - "tag": "2.2.4", - "commit": "c0185ab7c75aab88762c5aae780b9d83b80eda72" - }, - "_source": "https://github.com/jquery/jquery-dist.git", - "_target": "^2.2", - "_originalSource": "jquery" -}
\ No newline at end of file diff --git a/minionlivesmatter/templates/assets/jquery/AUTHORS.txt b/minionlivesmatter/templates/assets/jquery/AUTHORS.txt deleted file mode 100644 index dde64ca..0000000 --- a/minionlivesmatter/templates/assets/jquery/AUTHORS.txt +++ /dev/null @@ -1,278 +0,0 @@ -Authors ordered by first contribution. - -John Resig <jeresig@gmail.com> -Gilles van den Hoven <gilles0181@gmail.com> -Michael Geary <mike@geary.com> -Stefan Petre <stefan.petre@gmail.com> -Yehuda Katz <wycats@gmail.com> -Corey Jewett <cj@syntheticplayground.com> -Klaus Hartl <klaus.hartl@gmail.com> -Franck Marcia <franck.marcia@gmail.com> -Jörn Zaefferer <joern.zaefferer@gmail.com> -Paul Bakaus <paul.bakaus@gmail.com> -Brandon Aaron <brandon.aaron@gmail.com> -Mike Alsup <malsup@gmail.com> -Dave Methvin <dave.methvin@gmail.com> -Ed Engelhardt <edengelhardt@gmail.com> -Sean Catchpole <littlecooldude@gmail.com> -Paul Mclanahan <pmclanahan@gmail.com> -David Serduke <davidserduke@gmail.com> -Richard D. Worth <rdworth@gmail.com> -Scott González <scott.gonzalez@gmail.com> -Ariel Flesler <aflesler@gmail.com> -Jon Evans <jon@springyweb.com> -TJ Holowaychuk <tj@vision-media.ca> -Michael Bensoussan <mickey@seesmic.com> -Robert Katić <robert.katic@gmail.com> -Louis-Rémi Babé <lrbabe@gmail.com> -Earle Castledine <mrspeaker@gmail.com> -Damian Janowski <damian.janowski@gmail.com> -Rich Dougherty <rich@rd.gen.nz> -Kim Dalsgaard <kim@kimdalsgaard.com> -Andrea Giammarchi <andrea.giammarchi@gmail.com> -Mark Gibson <jollytoad@gmail.com> -Karl Swedberg <kswedberg@gmail.com> -Justin Meyer <justinbmeyer@gmail.com> -Ben Alman <cowboy@rj3.net> -James Padolsey <cla@padolsey.net> -David Petersen <public@petersendidit.com> -Batiste Bieler <batiste.bieler@gmail.com> -Alexander Farkas <info@corrupt-system.de> -Rick Waldron <waldron.rick@gmail.com> -Filipe Fortes <filipe@fortes.com> -Neeraj Singh <neerajdotname@gmail.com> -Paul Irish <paul.irish@gmail.com> -Iraê Carvalho <irae@irae.pro.br> -Matt Curry <matt@pseudocoder.com> -Michael Monteleone <michael@michaelmonteleone.net> -Noah Sloan <noah.sloan@gmail.com> -Tom Viner <github@viner.tv> -Douglas Neiner <doug@dougneiner.com> -Adam J. Sontag <ajpiano@ajpiano.com> -Dave Reed <dareed@microsoft.com> -Ralph Whitbeck <ralph.whitbeck@gmail.com> -Carl Fürstenberg <azatoth@gmail.com> -Jacob Wright <jacwright@gmail.com> -J. Ryan Stinnett <jryans@gmail.com> -unknown <Igen005@.upcorp.ad.uprr.com> -temp01 <temp01irc@gmail.com> -Heungsub Lee <h@subl.ee> -Colin Snover <github.com@zetafleet.com> -Ryan W Tenney <ryan@10e.us> -Pinhook <contact@pinhooklabs.com> -Ron Otten <r.j.g.otten@gmail.com> -Jephte Clain <Jephte.Clain@univ-reunion.fr> -Anton Matzneller <obhvsbypqghgc@gmail.com> -Alex Sexton <AlexSexton@gmail.com> -Dan Heberden <danheberden@gmail.com> -Henri Wiechers <hwiechers@gmail.com> -Russell Holbrook <russell.holbrook@patch.com> -Julian Aubourg <aubourg.julian@gmail.com> -Gianni Alessandro Chiappetta <gianni@runlevel6.org> -Scott Jehl <scottjehl@gmail.com> -James Burke <jrburke@gmail.com> -Jonas Pfenniger <jonas@pfenniger.name> -Xavi Ramirez <xavi.rmz@gmail.com> -Jared Grippe <jared@deadlyicon.com> -Sylvester Keil <sylvester@keil.or.at> -Brandon Sterne <bsterne@mozilla.com> -Mathias Bynens <mathias@qiwi.be> -Timmy Willison <timmywillisn@gmail.com> -Corey Frang <gnarf37@gmail.com> -Digitalxero <digitalxero> -Anton Kovalyov <anton@kovalyov.net> -David Murdoch <david@davidmurdoch.com> -Josh Varner <josh.varner@gmail.com> -Charles McNulty <cmcnulty@kznf.com> -Jordan Boesch <jboesch26@gmail.com> -Jess Thrysoee <jess@thrysoee.dk> -Michael Murray <m@murz.net> -Lee Carpenter <elcarpie@gmail.com> -Alexis Abril <me@alexisabril.com> -Rob Morgan <robbym@gmail.com> -John Firebaugh <john_firebaugh@bigfix.com> -Sam Bisbee <sam@sbisbee.com> -Gilmore Davidson <gilmoreorless@gmail.com> -Brian Brennan <me@brianlovesthings.com> -Xavier Montillet <xavierm02.net@gmail.com> -Daniel Pihlstrom <sciolist.se@gmail.com> -Sahab Yazdani <sahab.yazdani+github@gmail.com> -avaly <github-com@agachi.name> -Scott Hughes <hi@scott-hughes.me> -Mike Sherov <mike.sherov@gmail.com> -Greg Hazel <ghazel@gmail.com> -Schalk Neethling <schalk@ossreleasefeed.com> -Denis Knauf <Denis.Knauf@gmail.com> -Timo Tijhof <krinklemail@gmail.com> -Steen Nielsen <swinedk@gmail.com> -Anton Ryzhov <anton@ryzhov.me> -Shi Chuan <shichuanr@gmail.com> -Berker Peksag <berker.peksag@gmail.com> -Toby Brain <tobyb@freshview.com> -Matt Mueller <mattmuelle@gmail.com> -Justin <drakefjustin@gmail.com> -Daniel Herman <daniel.c.herman@gmail.com> -Oleg Gaidarenko <markelog@gmail.com> -Richard Gibson <richard.gibson@gmail.com> -Rafaël Blais Masson <rafbmasson@gmail.com> -cmc3cn <59194618@qq.com> -Joe Presbrey <presbrey@gmail.com> -Sindre Sorhus <sindresorhus@gmail.com> -Arne de Bree <arne@bukkie.nl> -Vladislav Zarakovsky <vlad.zar@gmail.com> -Andrew E Monat <amonat@gmail.com> -Oskari <admin@o-programs.com> -Joao Henrique de Andrade Bruni <joaohbruni@yahoo.com.br> -tsinha <tsinha@Anthonys-MacBook-Pro.local> -Matt Farmer <matt@frmr.me> -Trey Hunner <treyhunner@gmail.com> -Jason Moon <jmoon@socialcast.com> -Jeffery To <jeffery.to@gmail.com> -Kris Borchers <kris.borchers@gmail.com> -Vladimir Zhuravlev <private.face@gmail.com> -Jacob Thornton <jacobthornton@gmail.com> -Chad Killingsworth <chadkillingsworth@missouristate.edu> -Nowres Rafid <nowres.rafed@gmail.com> -David Benjamin <davidben@mit.edu> -Uri Gilad <antishok@gmail.com> -Chris Faulkner <thefaulkner@gmail.com> -Elijah Manor <elijah.manor@gmail.com> -Daniel Chatfield <chatfielddaniel@gmail.com> -Nikita Govorov <nikita.govorov@gmail.com> -Wesley Walser <waw325@gmail.com> -Mike Pennisi <mike@mikepennisi.com> -Markus Staab <markus.staab@redaxo.de> -Dave Riddle <david@joyvuu.com> -Callum Macrae <callum@lynxphp.com> -Benjamin Truyman <bentruyman@gmail.com> -James Huston <james@jameshuston.net> -Erick Ruiz de Chávez <erickrdch@gmail.com> -David Bonner <dbonner@cogolabs.com> -Akintayo Akinwunmi <aakinwunmi@judge.com> -MORGAN <morgan@morgangraphics.com> -Ismail Khair <ismail.khair@gmail.com> -Carl Danley <carldanley@gmail.com> -Mike Petrovich <michael.c.petrovich@gmail.com> -Greg Lavallee <greglavallee@wapolabs.com> -Daniel Gálvez <dgalvez@editablething.com> -Sai Lung Wong <sai.wong@huffingtonpost.com> -Tom H Fuertes <TomFuertes@gmail.com> -Roland Eckl <eckl.roland@googlemail.com> -Jay Merrifield <fracmak@gmail.com> -Allen J Schmidt Jr <cobrasoft@gmail.com> -Jonathan Sampson <jjdsampson@gmail.com> -Marcel Greter <marcel.greter@ocbnet.ch> -Matthias Jäggli <matthias.jaeggli@gmail.com> -David Fox <dfoxinator@gmail.com> -Yiming He <yiminghe@gmail.com> -Devin Cooper <cooper.semantics@gmail.com> -Paul Ramos <paul.b.ramos@gmail.com> -Rod Vagg <rod@vagg.org> -Bennett Sorbo <bsorbo@gmail.com> -Sebastian Burkhard <sebi.burkhard@gmail.com> -Zachary Adam Kaplan <razic@viralkitty.com> -nanto_vi <nanto@moon.email.ne.jp> -nanto <nanto@moon.email.ne.jp> -Danil Somsikov <danilasomsikov@gmail.com> -Ryunosuke SATO <tricknotes.rs@gmail.com> -Jean Boussier <jean.boussier@gmail.com> -Adam Coulombe <me@adam.co> -Andrew Plummer <plummer.andrew@gmail.com> -Mark Raddatz <mraddatz@gmail.com> -Isaac Z. Schlueter <i@izs.me> -Karl Sieburg <ksieburg@yahoo.com> -Pascal Borreli <pascal@borreli.com> -Nguyen Phuc Lam <ruado1987@gmail.com> -Dmitry Gusev <dmitry.gusev@gmail.com> -Michał Gołębiowski <m.goleb@gmail.com> -Li Xudong <istonelee@gmail.com> -Steven Benner <admin@stevenbenner.com> -Tom H Fuertes <tomfuertes@gmail.com> -Renato Oliveira dos Santos <ros3@cin.ufpe.br> -ros3cin <ros3@cin.ufpe.br> -Jason Bedard <jason+jquery@jbedard.ca> -Kyle Robinson Young <kyle@dontkry.com> -Chris Talkington <chris@talkingtontech.com> -Eddie Monge <eddie@eddiemonge.com> -Terry Jones <terry@jon.es> -Jason Merino <jasonmerino@gmail.com> -Jeremy Dunck <jdunck@gmail.com> -Chris Price <price.c@gmail.com> -Guy Bedford <guybedford@gmail.com> -Amey Sakhadeo <me@ameyms.com> -Mike Sidorov <mikes.ekb@gmail.com> -Anthony Ryan <anthonyryan1@gmail.com> -Dominik D. Geyer <dominik.geyer@gmail.com> -George Kats <katsgeorgeek@gmail.com> -Lihan Li <frankieteardrop@gmail.com> -Ronny Springer <springer.ronny@gmail.com> -Chris Antaki <ChrisAntaki@gmail.com> -Marian Sollmann <marian.sollmann@cargomedia.ch> -njhamann <njhamann@gmail.com> -Ilya Kantor <iliakan@gmail.com> -David Hong <d.hong@me.com> -John Paul <john@johnkpaul.com> -Jakob Stoeck <jakob@pokermania.de> -Christopher Jones <chris@cjqed.com> -Forbes Lindesay <forbes@lindesay.co.uk> -S. Andrew Sheppard <andrew@wq.io> -Leonardo Balter <leonardo.balter@gmail.com> -Roman Reiß <me@silverwind.io> -Benjy Cui <benjytrys@gmail.com> -Rodrigo Rosenfeld Rosas <rr.rosas@gmail.com> -John Hoven <hovenj@gmail.com> -Philip Jägenstedt <philip@foolip.org> -Christian Kosmowski <ksmwsk@gmail.com> -Liang Peng <poppinlp@gmail.com> -TJ VanToll <tj.vantoll@gmail.com> -Senya Pugach <upisfree@outlook.com> -Aurelio De Rosa <aurelioderosa@gmail.com> -Nazar Mokrynskyi <nazar@mokrynskyi.com> -Amit Merchant <bullredeyes@gmail.com> -Jason Bedard <jason+github@jbedard.ca> -Arthur Verschaeve <contact@arthurverschaeve.be> -Dan Hart <danhart@notonthehighstreet.com> -Bin Xin <rhyzix@gmail.com> -David Corbacho <davidcorbacho@gmail.com> -Veaceslav Grimalschi <grimalschi@yandex.ru> -Daniel Husar <dano.husar@gmail.com> -Frederic Hemberger <mail@frederic-hemberger.de> -Ben Toews <mastahyeti@gmail.com> -Aditya Raghavan <araghavan3@gmail.com> -Victor Homyakov <vkhomyackov@gmail.com> -Shivaji Varma <contact@shivajivarma.com> -Nicolas HENRY <icewil@gmail.com> -Anne-Gaelle Colom <coloma@westminster.ac.uk> -George Mauer <gmauer@gmail.com> -Leonardo Braga <leonardo.braga@gmail.com> -Stephen Edgar <stephen@netweb.com.au> -Thomas Tortorini <thomastortorini@gmail.com> -Winston Howes <winstonhowes@gmail.com> -Jon Hester <jon.d.hester@gmail.com> -Alexander O'Mara <me@alexomara.com> -Bastian Buchholz <buchholz.bastian@googlemail.com> -Arthur Stolyar <nekr.fabula@gmail.com> -Calvin Metcalf <calvin.metcalf@gmail.com> -Mu Haibao <mhbseal@163.com> -Richard McDaniel <rm0026@uah.edu> -Chris Rebert <github@rebertia.com> -Gabriel Schulhof <gabriel.schulhof@intel.com> -Gilad Peleg <giladp007@gmail.com> -Martin Naumann <martin@geekonaut.de> -Marek Lewandowski <m.lewandowski@cksource.com> -Bruno Pérel <brunoperel@gmail.com> -Reed Loden <reed@reedloden.com> -Daniel Nill <daniellnill@gmail.com> -Yongwoo Jeon <yongwoo.jeon@navercorp.com> -Sean Henderson <seanh.za@gmail.com> -Richard Kraaijenhagen <stdin+git@riichard.com> -Connor Atherton <c.liam.atherton@gmail.com> -Gary Ye <garysye@gmail.com> -Christian Grete <webmaster@christiangrete.com> -Liza Ramo <liza.h.ramo@gmail.com> -Julian Alexander Murillo <julian.alexander.murillo@gmail.com> -Joelle Fleurantin <joasqueeniebee@gmail.com> -Jun Sun <klsforever@gmail.com> -Devin Wilson <dwilson6.github@gmail.com> -Todor Prikumov <tono_pr@abv.bg> -Zack Hall <zackhall@outlook.com> diff --git a/minionlivesmatter/templates/assets/jquery/LICENSE.txt b/minionlivesmatter/templates/assets/jquery/LICENSE.txt deleted file mode 100644 index 5312a4c..0000000 --- a/minionlivesmatter/templates/assets/jquery/LICENSE.txt +++ /dev/null @@ -1,36 +0,0 @@ -Copyright jQuery Foundation and other contributors, https://jquery.org/ - -This software consists of voluntary contributions made by many -individuals. For exact contribution history, see the revision history -available at https://github.com/jquery/jquery - -The following license applies to all parts of this software except as -documented below: - -==== - -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. - -==== - -All files located in the node_modules and external directories are -externally maintained libraries used by this software which have their -own licenses; we recommend you read them, as their terms may differ from -the terms above. diff --git a/minionlivesmatter/templates/assets/jquery/README.md b/minionlivesmatter/templates/assets/jquery/README.md deleted file mode 100644 index ba3174a..0000000 --- a/minionlivesmatter/templates/assets/jquery/README.md +++ /dev/null @@ -1,65 +0,0 @@ -# jQuery - -> jQuery is a fast, small, and feature-rich JavaScript library. - -For information on how to get started and how to use jQuery, please see [jQuery's documentation](http://api.jquery.com/). -For source files and issues, please visit the [jQuery repo](https://github.com/jquery/jquery). - -## Including jQuery - -Below are some of the most common ways to include jQuery. - -### Browser - -#### Script tag - -```html -<script src="https://code.jquery.com/jquery-2.2.0.min.js"></script> -``` - -#### Babel - -[Babel](http://babeljs.io/) is a next generation JavaScript compiler. One of the features is the ability to use ES6/ES2015 modules now, even though browsers do not yet support this feature natively. - -```js -import $ from "jquery"; -``` - -#### Browserify/Webpack - -There are several ways to use [Browserify](http://browserify.org/) and [Webpack](https://webpack.github.io/). For more information on using these tools, please refer to the corresponding project's documention. In the script, including jQuery will usually look like this... - -```js -var $ = require("jquery"); -``` - -#### AMD (Asynchronous Module Definition) - -AMD is a module format built for the browser. For more information, we recommend [require.js' documentation](http://requirejs.org/docs/whyamd.html). - -```js -define(["jquery"], function($) { - -}); -``` - -### Node - -To include jQuery in [Node](nodejs.org), first install with npm. - -```sh -npm install jquery -``` - -For jQuery to work in Node, a window with a document is required. Since no such window exists natively in Node, one can be mocked by tools such as [jsdom](https://github.com/tmpvar/jsdom). This can be useful for testing purposes. - -```js -require("jsdom").env("", function(err, window) { - if (err) { - console.error(err); - return; - } - - var $ = require("jquery")(window); -}); -``` diff --git a/minionlivesmatter/templates/assets/jquery/bower.json b/minionlivesmatter/templates/assets/jquery/bower.json deleted file mode 100644 index 95798d5..0000000 --- a/minionlivesmatter/templates/assets/jquery/bower.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "name": "jquery", - "main": "dist/jquery.js", - "license": "MIT", - "ignore": [ - "package.json" - ], - "keywords": [ - "jquery", - "javascript", - "browser", - "library" - ] -}
\ No newline at end of file diff --git a/minionlivesmatter/templates/assets/jquery/external/sizzle/LICENSE.txt b/minionlivesmatter/templates/assets/jquery/external/sizzle/LICENSE.txt deleted file mode 100644 index dd7ce94..0000000 --- a/minionlivesmatter/templates/assets/jquery/external/sizzle/LICENSE.txt +++ /dev/null @@ -1,36 +0,0 @@ -Copyright jQuery Foundation and other contributors, https://jquery.org/ - -This software consists of voluntary contributions made by many -individuals. For exact contribution history, see the revision history -available at https://github.com/jquery/sizzle - -The following license applies to all parts of this software except as -documented below: - -==== - -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. - -==== - -All files located in the node_modules and external directories are -externally maintained libraries used by this software which have their -own licenses; we recommend you read them, as their terms may differ from -the terms above. diff --git a/minionlivesmatter/templates/assets/jquery/src/.jshintrc b/minionlivesmatter/templates/assets/jquery/src/.jshintrc deleted file mode 100644 index ea3549d..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/.jshintrc +++ /dev/null @@ -1,29 +0,0 @@ -{ - "boss": true, - "curly": true, - "eqeqeq": true, - "eqnull": true, - "expr": true, - "immed": true, - "noarg": true, - "quotmark": "double", - "undef": true, - "unused": true, - - "sub": true, - - // Support: IE < 10, Android < 4.1 - // The above browsers are failing a lot of tests in the ES5 - // test suite at http://test262.ecmascript.org. - "es3": true, - - "globals": { - "window": true, - "JSON": false, - - "jQuery": true, - "define": true, - "module": true, - "noGlobal": true - } -} diff --git a/minionlivesmatter/templates/assets/jquery/src/ajax.js b/minionlivesmatter/templates/assets/jquery/src/ajax.js deleted file mode 100644 index ba32248..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/ajax.js +++ /dev/null @@ -1,845 +0,0 @@ -define( [ - "./core", - "./var/document", - "./var/rnotwhite", - "./ajax/var/location", - "./ajax/var/nonce", - "./ajax/var/rquery", - - "./core/init", - "./ajax/parseJSON", - "./ajax/parseXML", - "./event/trigger", - "./deferred" -], function( jQuery, document, rnotwhite, location, nonce, rquery ) { - -var - rhash = /#.*$/, - rts = /([?&])_=[^&]*/, - rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, - - // #7653, #8125, #8152: local protocol detection - rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, - rnoContent = /^(?:GET|HEAD)$/, - rprotocol = /^\/\//, - - /* Prefilters - * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) - * 2) These are called: - * - BEFORE asking for a transport - * - AFTER param serialization (s.data is a string if s.processData is true) - * 3) key is the dataType - * 4) the catchall symbol "*" can be used - * 5) execution will start with transport dataType and THEN continue down to "*" if needed - */ - prefilters = {}, - - /* Transports bindings - * 1) key is the dataType - * 2) the catchall symbol "*" can be used - * 3) selection will start with transport dataType and THEN go to "*" if needed - */ - transports = {}, - - // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression - allTypes = "*/".concat( "*" ), - - // Anchor tag for parsing the document origin - originAnchor = document.createElement( "a" ); - originAnchor.href = location.href; - -// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport -function addToPrefiltersOrTransports( structure ) { - - // dataTypeExpression is optional and defaults to "*" - return function( dataTypeExpression, func ) { - - if ( typeof dataTypeExpression !== "string" ) { - func = dataTypeExpression; - dataTypeExpression = "*"; - } - - var dataType, - i = 0, - dataTypes = dataTypeExpression.toLowerCase().match( rnotwhite ) || []; - - if ( jQuery.isFunction( func ) ) { - - // For each dataType in the dataTypeExpression - while ( ( dataType = dataTypes[ i++ ] ) ) { - - // Prepend if requested - if ( dataType[ 0 ] === "+" ) { - dataType = dataType.slice( 1 ) || "*"; - ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); - - // Otherwise append - } else { - ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); - } - } - } - }; -} - -// Base inspection function for prefilters and transports -function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { - - var inspected = {}, - seekingTransport = ( structure === transports ); - - function inspect( dataType ) { - var selected; - inspected[ dataType ] = true; - jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { - var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); - if ( typeof dataTypeOrTransport === "string" && - !seekingTransport && !inspected[ dataTypeOrTransport ] ) { - - options.dataTypes.unshift( dataTypeOrTransport ); - inspect( dataTypeOrTransport ); - return false; - } else if ( seekingTransport ) { - return !( selected = dataTypeOrTransport ); - } - } ); - return selected; - } - - return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); -} - -// A special extend for ajax options -// that takes "flat" options (not to be deep extended) -// Fixes #9887 -function ajaxExtend( target, src ) { - var key, deep, - flatOptions = jQuery.ajaxSettings.flatOptions || {}; - - for ( key in src ) { - if ( src[ key ] !== undefined ) { - ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; - } - } - if ( deep ) { - jQuery.extend( true, target, deep ); - } - - return target; -} - -/* Handles responses to an ajax request: - * - finds the right dataType (mediates between content-type and expected dataType) - * - returns the corresponding response - */ -function ajaxHandleResponses( s, jqXHR, responses ) { - - var ct, type, finalDataType, firstDataType, - contents = s.contents, - dataTypes = s.dataTypes; - - // Remove auto dataType and get content-type in the process - while ( dataTypes[ 0 ] === "*" ) { - dataTypes.shift(); - if ( ct === undefined ) { - ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); - } - } - - // Check if we're dealing with a known content-type - if ( ct ) { - for ( type in contents ) { - if ( contents[ type ] && contents[ type ].test( ct ) ) { - dataTypes.unshift( type ); - break; - } - } - } - - // Check to see if we have a response for the expected dataType - if ( dataTypes[ 0 ] in responses ) { - finalDataType = dataTypes[ 0 ]; - } else { - - // Try convertible dataTypes - for ( type in responses ) { - if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { - finalDataType = type; - break; - } - if ( !firstDataType ) { - firstDataType = type; - } - } - - // Or just use first one - finalDataType = finalDataType || firstDataType; - } - - // If we found a dataType - // We add the dataType to the list if needed - // and return the corresponding response - if ( finalDataType ) { - if ( finalDataType !== dataTypes[ 0 ] ) { - dataTypes.unshift( finalDataType ); - } - return responses[ finalDataType ]; - } -} - -/* Chain conversions given the request and the original response - * Also sets the responseXXX fields on the jqXHR instance - */ -function ajaxConvert( s, response, jqXHR, isSuccess ) { - var conv2, current, conv, tmp, prev, - converters = {}, - - // Work with a copy of dataTypes in case we need to modify it for conversion - dataTypes = s.dataTypes.slice(); - - // Create converters map with lowercased keys - if ( dataTypes[ 1 ] ) { - for ( conv in s.converters ) { - converters[ conv.toLowerCase() ] = s.converters[ conv ]; - } - } - - current = dataTypes.shift(); - - // Convert to each sequential dataType - while ( current ) { - - if ( s.responseFields[ current ] ) { - jqXHR[ s.responseFields[ current ] ] = response; - } - - // Apply the dataFilter if provided - if ( !prev && isSuccess && s.dataFilter ) { - response = s.dataFilter( response, s.dataType ); - } - - prev = current; - current = dataTypes.shift(); - - if ( current ) { - - // There's only work to do if current dataType is non-auto - if ( current === "*" ) { - - current = prev; - - // Convert response if prev dataType is non-auto and differs from current - } else if ( prev !== "*" && prev !== current ) { - - // Seek a direct converter - conv = converters[ prev + " " + current ] || converters[ "* " + current ]; - - // If none found, seek a pair - if ( !conv ) { - for ( conv2 in converters ) { - - // If conv2 outputs current - tmp = conv2.split( " " ); - if ( tmp[ 1 ] === current ) { - - // If prev can be converted to accepted input - conv = converters[ prev + " " + tmp[ 0 ] ] || - converters[ "* " + tmp[ 0 ] ]; - if ( conv ) { - - // Condense equivalence converters - if ( conv === true ) { - conv = converters[ conv2 ]; - - // Otherwise, insert the intermediate dataType - } else if ( converters[ conv2 ] !== true ) { - current = tmp[ 0 ]; - dataTypes.unshift( tmp[ 1 ] ); - } - break; - } - } - } - } - - // Apply converter (if not an equivalence) - if ( conv !== true ) { - - // Unless errors are allowed to bubble, catch and return them - if ( conv && s.throws ) { - response = conv( response ); - } else { - try { - response = conv( response ); - } catch ( e ) { - return { - state: "parsererror", - error: conv ? e : "No conversion from " + prev + " to " + current - }; - } - } - } - } - } - } - - return { state: "success", data: response }; -} - -jQuery.extend( { - - // Counter for holding the number of active queries - active: 0, - - // Last-Modified header cache for next request - lastModified: {}, - etag: {}, - - ajaxSettings: { - url: location.href, - type: "GET", - isLocal: rlocalProtocol.test( location.protocol ), - global: true, - processData: true, - async: true, - contentType: "application/x-www-form-urlencoded; charset=UTF-8", - /* - timeout: 0, - data: null, - dataType: null, - username: null, - password: null, - cache: null, - throws: false, - traditional: false, - headers: {}, - */ - - accepts: { - "*": allTypes, - text: "text/plain", - html: "text/html", - xml: "application/xml, text/xml", - json: "application/json, text/javascript" - }, - - contents: { - xml: /\bxml\b/, - html: /\bhtml/, - json: /\bjson\b/ - }, - - responseFields: { - xml: "responseXML", - text: "responseText", - json: "responseJSON" - }, - - // Data converters - // Keys separate source (or catchall "*") and destination types with a single space - converters: { - - // Convert anything to text - "* text": String, - - // Text to html (true = no transformation) - "text html": true, - - // Evaluate text as a json expression - "text json": jQuery.parseJSON, - - // Parse text as xml - "text xml": jQuery.parseXML - }, - - // For options that shouldn't be deep extended: - // you can add your own custom options here if - // and when you create one that shouldn't be - // deep extended (see ajaxExtend) - flatOptions: { - url: true, - context: true - } - }, - - // Creates a full fledged settings object into target - // with both ajaxSettings and settings fields. - // If target is omitted, writes into ajaxSettings. - ajaxSetup: function( target, settings ) { - return settings ? - - // Building a settings object - ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : - - // Extending ajaxSettings - ajaxExtend( jQuery.ajaxSettings, target ); - }, - - ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), - ajaxTransport: addToPrefiltersOrTransports( transports ), - - // Main method - ajax: function( url, options ) { - - // If url is an object, simulate pre-1.5 signature - if ( typeof url === "object" ) { - options = url; - url = undefined; - } - - // Force options to be an object - options = options || {}; - - var transport, - - // URL without anti-cache param - cacheURL, - - // Response headers - responseHeadersString, - responseHeaders, - - // timeout handle - timeoutTimer, - - // Url cleanup var - urlAnchor, - - // To know if global events are to be dispatched - fireGlobals, - - // Loop variable - i, - - // Create the final options object - s = jQuery.ajaxSetup( {}, options ), - - // Callbacks context - callbackContext = s.context || s, - - // Context for global events is callbackContext if it is a DOM node or jQuery collection - globalEventContext = s.context && - ( callbackContext.nodeType || callbackContext.jquery ) ? - jQuery( callbackContext ) : - jQuery.event, - - // Deferreds - deferred = jQuery.Deferred(), - completeDeferred = jQuery.Callbacks( "once memory" ), - - // Status-dependent callbacks - statusCode = s.statusCode || {}, - - // Headers (they are sent all at once) - requestHeaders = {}, - requestHeadersNames = {}, - - // The jqXHR state - state = 0, - - // Default abort message - strAbort = "canceled", - - // Fake xhr - jqXHR = { - readyState: 0, - - // Builds headers hashtable if needed - getResponseHeader: function( key ) { - var match; - if ( state === 2 ) { - if ( !responseHeaders ) { - responseHeaders = {}; - while ( ( match = rheaders.exec( responseHeadersString ) ) ) { - responseHeaders[ match[ 1 ].toLowerCase() ] = match[ 2 ]; - } - } - match = responseHeaders[ key.toLowerCase() ]; - } - return match == null ? null : match; - }, - - // Raw string - getAllResponseHeaders: function() { - return state === 2 ? responseHeadersString : null; - }, - - // Caches the header - setRequestHeader: function( name, value ) { - var lname = name.toLowerCase(); - if ( !state ) { - name = requestHeadersNames[ lname ] = requestHeadersNames[ lname ] || name; - requestHeaders[ name ] = value; - } - return this; - }, - - // Overrides response content-type header - overrideMimeType: function( type ) { - if ( !state ) { - s.mimeType = type; - } - return this; - }, - - // Status-dependent callbacks - statusCode: function( map ) { - var code; - if ( map ) { - if ( state < 2 ) { - for ( code in map ) { - - // Lazy-add the new callback in a way that preserves old ones - statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; - } - } else { - - // Execute the appropriate callbacks - jqXHR.always( map[ jqXHR.status ] ); - } - } - return this; - }, - - // Cancel the request - abort: function( statusText ) { - var finalText = statusText || strAbort; - if ( transport ) { - transport.abort( finalText ); - } - done( 0, finalText ); - return this; - } - }; - - // Attach deferreds - deferred.promise( jqXHR ).complete = completeDeferred.add; - jqXHR.success = jqXHR.done; - jqXHR.error = jqXHR.fail; - - // Remove hash character (#7531: and string promotion) - // Add protocol if not provided (prefilters might expect it) - // Handle falsy url in the settings object (#10093: consistency with old signature) - // We also use the url parameter if available - s.url = ( ( url || s.url || location.href ) + "" ).replace( rhash, "" ) - .replace( rprotocol, location.protocol + "//" ); - - // Alias method option to type as per ticket #12004 - s.type = options.method || options.type || s.method || s.type; - - // Extract dataTypes list - s.dataTypes = jQuery.trim( s.dataType || "*" ).toLowerCase().match( rnotwhite ) || [ "" ]; - - // A cross-domain request is in order when the origin doesn't match the current origin. - if ( s.crossDomain == null ) { - urlAnchor = document.createElement( "a" ); - - // Support: IE8-11+ - // IE throws exception if url is malformed, e.g. http://example.com:80x/ - try { - urlAnchor.href = s.url; - - // Support: IE8-11+ - // Anchor's host property isn't correctly set when s.url is relative - urlAnchor.href = urlAnchor.href; - s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== - urlAnchor.protocol + "//" + urlAnchor.host; - } catch ( e ) { - - // If there is an error parsing the URL, assume it is crossDomain, - // it can be rejected by the transport if it is invalid - s.crossDomain = true; - } - } - - // Convert data if not already a string - if ( s.data && s.processData && typeof s.data !== "string" ) { - s.data = jQuery.param( s.data, s.traditional ); - } - - // Apply prefilters - inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); - - // If request was aborted inside a prefilter, stop there - if ( state === 2 ) { - return jqXHR; - } - - // We can fire global events as of now if asked to - // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) - fireGlobals = jQuery.event && s.global; - - // Watch for a new set of requests - if ( fireGlobals && jQuery.active++ === 0 ) { - jQuery.event.trigger( "ajaxStart" ); - } - - // Uppercase the type - s.type = s.type.toUpperCase(); - - // Determine if request has content - s.hasContent = !rnoContent.test( s.type ); - - // Save the URL in case we're toying with the If-Modified-Since - // and/or If-None-Match header later on - cacheURL = s.url; - - // More options handling for requests with no content - if ( !s.hasContent ) { - - // If data is available, append data to url - if ( s.data ) { - cacheURL = ( s.url += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data ); - - // #9682: remove data so that it's not used in an eventual retry - delete s.data; - } - - // Add anti-cache in url if needed - if ( s.cache === false ) { - s.url = rts.test( cacheURL ) ? - - // If there is already a '_' parameter, set its value - cacheURL.replace( rts, "$1_=" + nonce++ ) : - - // Otherwise add one to the end - cacheURL + ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + nonce++; - } - } - - // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. - if ( s.ifModified ) { - if ( jQuery.lastModified[ cacheURL ] ) { - jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); - } - if ( jQuery.etag[ cacheURL ] ) { - jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); - } - } - - // Set the correct header, if data is being sent - if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { - jqXHR.setRequestHeader( "Content-Type", s.contentType ); - } - - // Set the Accepts header for the server, depending on the dataType - jqXHR.setRequestHeader( - "Accept", - s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? - s.accepts[ s.dataTypes[ 0 ] ] + - ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : - s.accepts[ "*" ] - ); - - // Check for headers option - for ( i in s.headers ) { - jqXHR.setRequestHeader( i, s.headers[ i ] ); - } - - // Allow custom headers/mimetypes and early abort - if ( s.beforeSend && - ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || state === 2 ) ) { - - // Abort if not done already and return - return jqXHR.abort(); - } - - // Aborting is no longer a cancellation - strAbort = "abort"; - - // Install callbacks on deferreds - for ( i in { success: 1, error: 1, complete: 1 } ) { - jqXHR[ i ]( s[ i ] ); - } - - // Get transport - transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); - - // If no transport, we auto-abort - if ( !transport ) { - done( -1, "No Transport" ); - } else { - jqXHR.readyState = 1; - - // Send global event - if ( fireGlobals ) { - globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); - } - - // If request was aborted inside ajaxSend, stop there - if ( state === 2 ) { - return jqXHR; - } - - // Timeout - if ( s.async && s.timeout > 0 ) { - timeoutTimer = window.setTimeout( function() { - jqXHR.abort( "timeout" ); - }, s.timeout ); - } - - try { - state = 1; - transport.send( requestHeaders, done ); - } catch ( e ) { - - // Propagate exception as error if not done - if ( state < 2 ) { - done( -1, e ); - - // Simply rethrow otherwise - } else { - throw e; - } - } - } - - // Callback for when everything is done - function done( status, nativeStatusText, responses, headers ) { - var isSuccess, success, error, response, modified, - statusText = nativeStatusText; - - // Called once - if ( state === 2 ) { - return; - } - - // State is "done" now - state = 2; - - // Clear timeout if it exists - if ( timeoutTimer ) { - window.clearTimeout( timeoutTimer ); - } - - // Dereference transport for early garbage collection - // (no matter how long the jqXHR object will be used) - transport = undefined; - - // Cache response headers - responseHeadersString = headers || ""; - - // Set readyState - jqXHR.readyState = status > 0 ? 4 : 0; - - // Determine if successful - isSuccess = status >= 200 && status < 300 || status === 304; - - // Get response data - if ( responses ) { - response = ajaxHandleResponses( s, jqXHR, responses ); - } - - // Convert no matter what (that way responseXXX fields are always set) - response = ajaxConvert( s, response, jqXHR, isSuccess ); - - // If successful, handle type chaining - if ( isSuccess ) { - - // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. - if ( s.ifModified ) { - modified = jqXHR.getResponseHeader( "Last-Modified" ); - if ( modified ) { - jQuery.lastModified[ cacheURL ] = modified; - } - modified = jqXHR.getResponseHeader( "etag" ); - if ( modified ) { - jQuery.etag[ cacheURL ] = modified; - } - } - - // if no content - if ( status === 204 || s.type === "HEAD" ) { - statusText = "nocontent"; - - // if not modified - } else if ( status === 304 ) { - statusText = "notmodified"; - - // If we have data, let's convert it - } else { - statusText = response.state; - success = response.data; - error = response.error; - isSuccess = !error; - } - } else { - - // Extract error from statusText and normalize for non-aborts - error = statusText; - if ( status || !statusText ) { - statusText = "error"; - if ( status < 0 ) { - status = 0; - } - } - } - - // Set data for the fake xhr object - jqXHR.status = status; - jqXHR.statusText = ( nativeStatusText || statusText ) + ""; - - // Success/Error - if ( isSuccess ) { - deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); - } else { - deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); - } - - // Status-dependent callbacks - jqXHR.statusCode( statusCode ); - statusCode = undefined; - - if ( fireGlobals ) { - globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", - [ jqXHR, s, isSuccess ? success : error ] ); - } - - // Complete - completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); - - if ( fireGlobals ) { - globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); - - // Handle the global AJAX counter - if ( !( --jQuery.active ) ) { - jQuery.event.trigger( "ajaxStop" ); - } - } - } - - return jqXHR; - }, - - getJSON: function( url, data, callback ) { - return jQuery.get( url, data, callback, "json" ); - }, - - getScript: function( url, callback ) { - return jQuery.get( url, undefined, callback, "script" ); - } -} ); - -jQuery.each( [ "get", "post" ], function( i, method ) { - jQuery[ method ] = function( url, data, callback, type ) { - - // Shift arguments if data argument was omitted - if ( jQuery.isFunction( data ) ) { - type = type || callback; - callback = data; - data = undefined; - } - - // The url can be an options object (which then must have .url) - return jQuery.ajax( jQuery.extend( { - url: url, - type: method, - dataType: type, - data: data, - success: callback - }, jQuery.isPlainObject( url ) && url ) ); - }; -} ); - -return jQuery; -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/ajax/jsonp.js b/minionlivesmatter/templates/assets/jquery/src/ajax/jsonp.js deleted file mode 100644 index 666e5d1..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/ajax/jsonp.js +++ /dev/null @@ -1,100 +0,0 @@ -define( [ - "../core", - "./var/nonce", - "./var/rquery", - "../ajax" -], function( jQuery, nonce, rquery ) { - -var oldCallbacks = [], - rjsonp = /(=)\?(?=&|$)|\?\?/; - -// Default jsonp settings -jQuery.ajaxSetup( { - jsonp: "callback", - jsonpCallback: function() { - var callback = oldCallbacks.pop() || ( jQuery.expando + "_" + ( nonce++ ) ); - this[ callback ] = true; - return callback; - } -} ); - -// Detect, normalize options and install callbacks for jsonp requests -jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) { - - var callbackName, overwritten, responseContainer, - jsonProp = s.jsonp !== false && ( rjsonp.test( s.url ) ? - "url" : - typeof s.data === "string" && - ( s.contentType || "" ) - .indexOf( "application/x-www-form-urlencoded" ) === 0 && - rjsonp.test( s.data ) && "data" - ); - - // Handle iff the expected data type is "jsonp" or we have a parameter to set - if ( jsonProp || s.dataTypes[ 0 ] === "jsonp" ) { - - // Get callback name, remembering preexisting value associated with it - callbackName = s.jsonpCallback = jQuery.isFunction( s.jsonpCallback ) ? - s.jsonpCallback() : - s.jsonpCallback; - - // Insert callback into url or form data - if ( jsonProp ) { - s[ jsonProp ] = s[ jsonProp ].replace( rjsonp, "$1" + callbackName ); - } else if ( s.jsonp !== false ) { - s.url += ( rquery.test( s.url ) ? "&" : "?" ) + s.jsonp + "=" + callbackName; - } - - // Use data converter to retrieve json after script execution - s.converters[ "script json" ] = function() { - if ( !responseContainer ) { - jQuery.error( callbackName + " was not called" ); - } - return responseContainer[ 0 ]; - }; - - // Force json dataType - s.dataTypes[ 0 ] = "json"; - - // Install callback - overwritten = window[ callbackName ]; - window[ callbackName ] = function() { - responseContainer = arguments; - }; - - // Clean-up function (fires after converters) - jqXHR.always( function() { - - // If previous value didn't exist - remove it - if ( overwritten === undefined ) { - jQuery( window ).removeProp( callbackName ); - - // Otherwise restore preexisting value - } else { - window[ callbackName ] = overwritten; - } - - // Save back as free - if ( s[ callbackName ] ) { - - // Make sure that re-using the options doesn't screw things around - s.jsonpCallback = originalSettings.jsonpCallback; - - // Save the callback name for future use - oldCallbacks.push( callbackName ); - } - - // Call if it was a function and we have a response - if ( responseContainer && jQuery.isFunction( overwritten ) ) { - overwritten( responseContainer[ 0 ] ); - } - - responseContainer = overwritten = undefined; - } ); - - // Delegate to script - return "script"; - } -} ); - -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/ajax/load.js b/minionlivesmatter/templates/assets/jquery/src/ajax/load.js deleted file mode 100644 index 5ec3fa2..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/ajax/load.js +++ /dev/null @@ -1,83 +0,0 @@ -define( [ - "../core", - "../core/parseHTML", - "../ajax", - "../traversing", - "../manipulation", - "../selector", - - // Optional event/alias dependency - "../event/alias" -], function( jQuery ) { - -// Keep a copy of the old load method -var _load = jQuery.fn.load; - -/** - * Load a url into a page - */ -jQuery.fn.load = function( url, params, callback ) { - if ( typeof url !== "string" && _load ) { - return _load.apply( this, arguments ); - } - - var selector, type, response, - self = this, - off = url.indexOf( " " ); - - if ( off > -1 ) { - selector = jQuery.trim( url.slice( off ) ); - url = url.slice( 0, off ); - } - - // If it's a function - if ( jQuery.isFunction( params ) ) { - - // We assume that it's the callback - callback = params; - params = undefined; - - // Otherwise, build a param string - } else if ( params && typeof params === "object" ) { - type = "POST"; - } - - // If we have elements to modify, make the request - if ( self.length > 0 ) { - jQuery.ajax( { - url: url, - - // If "type" variable is undefined, then "GET" method will be used. - // Make value of this field explicit since - // user can override it through ajaxSetup method - type: type || "GET", - dataType: "html", - data: params - } ).done( function( responseText ) { - - // Save response for use in complete callback - response = arguments; - - self.html( selector ? - - // If a selector was specified, locate the right elements in a dummy div - // Exclude scripts to avoid IE 'Permission Denied' errors - jQuery( "<div>" ).append( jQuery.parseHTML( responseText ) ).find( selector ) : - - // Otherwise use the full result - responseText ); - - // If the request succeeds, this function gets "data", "status", "jqXHR" - // but they are ignored because response was set above. - // If it fails, this function gets "jqXHR", "status", "error" - } ).always( callback && function( jqXHR, status ) { - self.each( function() { - callback.apply( this, response || [ jqXHR.responseText, status, jqXHR ] ); - } ); - } ); - } - - return this; -}; - -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/ajax/parseJSON.js b/minionlivesmatter/templates/assets/jquery/src/ajax/parseJSON.js deleted file mode 100644 index 11918b0..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/ajax/parseJSON.js +++ /dev/null @@ -1,13 +0,0 @@ -define( [ - "../core" -], function( jQuery ) { - -// Support: Android 2.3 -// Workaround failure to string-cast null input -jQuery.parseJSON = function( data ) { - return JSON.parse( data + "" ); -}; - -return jQuery.parseJSON; - -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/ajax/parseXML.js b/minionlivesmatter/templates/assets/jquery/src/ajax/parseXML.js deleted file mode 100644 index 6599aaf..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/ajax/parseXML.js +++ /dev/null @@ -1,27 +0,0 @@ -define( [ - "../core" -], function( jQuery ) { - -// Cross-browser xml parsing -jQuery.parseXML = function( data ) { - var xml; - if ( !data || typeof data !== "string" ) { - return null; - } - - // Support: IE9 - try { - xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); - } catch ( e ) { - xml = undefined; - } - - if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) { - jQuery.error( "Invalid XML: " + data ); - } - return xml; -}; - -return jQuery.parseXML; - -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/ajax/script.js b/minionlivesmatter/templates/assets/jquery/src/ajax/script.js deleted file mode 100644 index 945bea9..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/ajax/script.js +++ /dev/null @@ -1,68 +0,0 @@ -define( [ - "../core", - "../var/document", - "../ajax" -], function( jQuery, document ) { - -// Install script dataType -jQuery.ajaxSetup( { - accepts: { - script: "text/javascript, application/javascript, " + - "application/ecmascript, application/x-ecmascript" - }, - contents: { - script: /\b(?:java|ecma)script\b/ - }, - converters: { - "text script": function( text ) { - jQuery.globalEval( text ); - return text; - } - } -} ); - -// Handle cache's special case and crossDomain -jQuery.ajaxPrefilter( "script", function( s ) { - if ( s.cache === undefined ) { - s.cache = false; - } - if ( s.crossDomain ) { - s.type = "GET"; - } -} ); - -// Bind script tag hack transport -jQuery.ajaxTransport( "script", function( s ) { - - // This transport only deals with cross domain requests - if ( s.crossDomain ) { - var script, callback; - return { - send: function( _, complete ) { - script = jQuery( "<script>" ).prop( { - charset: s.scriptCharset, - src: s.url - } ).on( - "load error", - callback = function( evt ) { - script.remove(); - callback = null; - if ( evt ) { - complete( evt.type === "error" ? 404 : 200, evt.type ); - } - } - ); - - // Use native DOM manipulation to avoid our domManip AJAX trickery - document.head.appendChild( script[ 0 ] ); - }, - abort: function() { - if ( callback ) { - callback(); - } - } - }; - } -} ); - -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/ajax/xhr.js b/minionlivesmatter/templates/assets/jquery/src/ajax/xhr.js deleted file mode 100644 index db670ff..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/ajax/xhr.js +++ /dev/null @@ -1,167 +0,0 @@ -define( [ - "../core", - "../var/support", - "../ajax" -], function( jQuery, support ) { - -jQuery.ajaxSettings.xhr = function() { - try { - return new window.XMLHttpRequest(); - } catch ( e ) {} -}; - -var xhrSuccessStatus = { - - // File protocol always yields status code 0, assume 200 - 0: 200, - - // Support: IE9 - // #1450: sometimes IE returns 1223 when it should be 204 - 1223: 204 - }, - xhrSupported = jQuery.ajaxSettings.xhr(); - -support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); -support.ajax = xhrSupported = !!xhrSupported; - -jQuery.ajaxTransport( function( options ) { - var callback, errorCallback; - - // Cross domain only allowed if supported through XMLHttpRequest - if ( support.cors || xhrSupported && !options.crossDomain ) { - return { - send: function( headers, complete ) { - var i, - xhr = options.xhr(); - - xhr.open( - options.type, - options.url, - options.async, - options.username, - options.password - ); - - // Apply custom fields if provided - if ( options.xhrFields ) { - for ( i in options.xhrFields ) { - xhr[ i ] = options.xhrFields[ i ]; - } - } - - // Override mime type if needed - if ( options.mimeType && xhr.overrideMimeType ) { - xhr.overrideMimeType( options.mimeType ); - } - - // X-Requested-With header - // For cross-domain requests, seeing as conditions for a preflight are - // akin to a jigsaw puzzle, we simply never set it to be sure. - // (it can always be set on a per-request basis or even using ajaxSetup) - // For same-domain requests, won't change header if already provided. - if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) { - headers[ "X-Requested-With" ] = "XMLHttpRequest"; - } - - // Set headers - for ( i in headers ) { - xhr.setRequestHeader( i, headers[ i ] ); - } - - // Callback - callback = function( type ) { - return function() { - if ( callback ) { - callback = errorCallback = xhr.onload = - xhr.onerror = xhr.onabort = xhr.onreadystatechange = null; - - if ( type === "abort" ) { - xhr.abort(); - } else if ( type === "error" ) { - - // Support: IE9 - // On a manual native abort, IE9 throws - // errors on any property access that is not readyState - if ( typeof xhr.status !== "number" ) { - complete( 0, "error" ); - } else { - complete( - - // File: protocol always yields status 0; see #8605, #14207 - xhr.status, - xhr.statusText - ); - } - } else { - complete( - xhrSuccessStatus[ xhr.status ] || xhr.status, - xhr.statusText, - - // Support: IE9 only - // IE9 has no XHR2 but throws on binary (trac-11426) - // For XHR2 non-text, let the caller handle it (gh-2498) - ( xhr.responseType || "text" ) !== "text" || - typeof xhr.responseText !== "string" ? - { binary: xhr.response } : - { text: xhr.responseText }, - xhr.getAllResponseHeaders() - ); - } - } - }; - }; - - // Listen to events - xhr.onload = callback(); - errorCallback = xhr.onerror = callback( "error" ); - - // Support: IE9 - // Use onreadystatechange to replace onabort - // to handle uncaught aborts - if ( xhr.onabort !== undefined ) { - xhr.onabort = errorCallback; - } else { - xhr.onreadystatechange = function() { - - // Check readyState before timeout as it changes - if ( xhr.readyState === 4 ) { - - // Allow onerror to be called first, - // but that will not handle a native abort - // Also, save errorCallback to a variable - // as xhr.onerror cannot be accessed - window.setTimeout( function() { - if ( callback ) { - errorCallback(); - } - } ); - } - }; - } - - // Create the abort callback - callback = callback( "abort" ); - - try { - - // Do send the request (this may raise an exception) - xhr.send( options.hasContent && options.data || null ); - } catch ( e ) { - - // #14683: Only rethrow if this hasn't been notified as an error yet - if ( callback ) { - throw e; - } - } - }, - - abort: function() { - if ( callback ) { - callback(); - } - } - }; - } -} ); - -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/attributes.js b/minionlivesmatter/templates/assets/jquery/src/attributes.js deleted file mode 100644 index 691e0c0..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/attributes.js +++ /dev/null @@ -1,11 +0,0 @@ -define( [ - "./core", - "./attributes/attr", - "./attributes/prop", - "./attributes/classes", - "./attributes/val" -], function( jQuery ) { - -// Return jQuery for attributes-only inclusion -return jQuery; -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/attributes/attr.js b/minionlivesmatter/templates/assets/jquery/src/attributes/attr.js deleted file mode 100644 index f888083..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/attributes/attr.js +++ /dev/null @@ -1,142 +0,0 @@ -define( [ - "../core", - "../core/access", - "./support", - "../var/rnotwhite", - "../selector" -], function( jQuery, access, support, rnotwhite ) { - -var boolHook, - attrHandle = jQuery.expr.attrHandle; - -jQuery.fn.extend( { - attr: function( name, value ) { - return access( this, jQuery.attr, name, value, arguments.length > 1 ); - }, - - removeAttr: function( name ) { - return this.each( function() { - jQuery.removeAttr( this, name ); - } ); - } -} ); - -jQuery.extend( { - attr: function( elem, name, value ) { - var ret, hooks, - nType = elem.nodeType; - - // Don't get/set attributes on text, comment and attribute nodes - if ( nType === 3 || nType === 8 || nType === 2 ) { - return; - } - - // Fallback to prop when attributes are not supported - if ( typeof elem.getAttribute === "undefined" ) { - return jQuery.prop( elem, name, value ); - } - - // All attributes are lowercase - // Grab necessary hook if one is defined - if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { - name = name.toLowerCase(); - hooks = jQuery.attrHooks[ name ] || - ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined ); - } - - if ( value !== undefined ) { - if ( value === null ) { - jQuery.removeAttr( elem, name ); - return; - } - - if ( hooks && "set" in hooks && - ( ret = hooks.set( elem, value, name ) ) !== undefined ) { - return ret; - } - - elem.setAttribute( name, value + "" ); - return value; - } - - if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { - return ret; - } - - ret = jQuery.find.attr( elem, name ); - - // Non-existent attributes return null, we normalize to undefined - return ret == null ? undefined : ret; - }, - - attrHooks: { - type: { - set: function( elem, value ) { - if ( !support.radioValue && value === "radio" && - jQuery.nodeName( elem, "input" ) ) { - var val = elem.value; - elem.setAttribute( "type", value ); - if ( val ) { - elem.value = val; - } - return value; - } - } - } - }, - - removeAttr: function( elem, value ) { - var name, propName, - i = 0, - attrNames = value && value.match( rnotwhite ); - - if ( attrNames && elem.nodeType === 1 ) { - while ( ( name = attrNames[ i++ ] ) ) { - propName = jQuery.propFix[ name ] || name; - - // Boolean attributes get special treatment (#10870) - if ( jQuery.expr.match.bool.test( name ) ) { - - // Set corresponding property to false - elem[ propName ] = false; - } - - elem.removeAttribute( name ); - } - } - } -} ); - -// Hooks for boolean attributes -boolHook = { - set: function( elem, value, name ) { - if ( value === false ) { - - // Remove boolean attributes when set to false - jQuery.removeAttr( elem, name ); - } else { - elem.setAttribute( name, name ); - } - return name; - } -}; -jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( i, name ) { - var getter = attrHandle[ name ] || jQuery.find.attr; - - attrHandle[ name ] = function( elem, name, isXML ) { - var ret, handle; - if ( !isXML ) { - - // Avoid an infinite loop by temporarily removing this function from the getter - handle = attrHandle[ name ]; - attrHandle[ name ] = ret; - ret = getter( elem, name, isXML ) != null ? - name.toLowerCase() : - null; - attrHandle[ name ] = handle; - } - return ret; - }; -} ); - -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/attributes/classes.js b/minionlivesmatter/templates/assets/jquery/src/attributes/classes.js deleted file mode 100644 index 7933873..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/attributes/classes.js +++ /dev/null @@ -1,177 +0,0 @@ -define( [ - "../core", - "../var/rnotwhite", - "../data/var/dataPriv", - "../core/init" -], function( jQuery, rnotwhite, dataPriv ) { - -var rclass = /[\t\r\n\f]/g; - -function getClass( elem ) { - return elem.getAttribute && elem.getAttribute( "class" ) || ""; -} - -jQuery.fn.extend( { - addClass: function( value ) { - var classes, elem, cur, curValue, clazz, j, finalValue, - i = 0; - - if ( jQuery.isFunction( value ) ) { - return this.each( function( j ) { - jQuery( this ).addClass( value.call( this, j, getClass( this ) ) ); - } ); - } - - if ( typeof value === "string" && value ) { - classes = value.match( rnotwhite ) || []; - - while ( ( elem = this[ i++ ] ) ) { - curValue = getClass( elem ); - cur = elem.nodeType === 1 && - ( " " + curValue + " " ).replace( rclass, " " ); - - if ( cur ) { - j = 0; - while ( ( clazz = classes[ j++ ] ) ) { - if ( cur.indexOf( " " + clazz + " " ) < 0 ) { - cur += clazz + " "; - } - } - - // Only assign if different to avoid unneeded rendering. - finalValue = jQuery.trim( cur ); - if ( curValue !== finalValue ) { - elem.setAttribute( "class", finalValue ); - } - } - } - } - - return this; - }, - - removeClass: function( value ) { - var classes, elem, cur, curValue, clazz, j, finalValue, - i = 0; - - if ( jQuery.isFunction( value ) ) { - return this.each( function( j ) { - jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) ); - } ); - } - - if ( !arguments.length ) { - return this.attr( "class", "" ); - } - - if ( typeof value === "string" && value ) { - classes = value.match( rnotwhite ) || []; - - while ( ( elem = this[ i++ ] ) ) { - curValue = getClass( elem ); - - // This expression is here for better compressibility (see addClass) - cur = elem.nodeType === 1 && - ( " " + curValue + " " ).replace( rclass, " " ); - - if ( cur ) { - j = 0; - while ( ( clazz = classes[ j++ ] ) ) { - - // Remove *all* instances - while ( cur.indexOf( " " + clazz + " " ) > -1 ) { - cur = cur.replace( " " + clazz + " ", " " ); - } - } - - // Only assign if different to avoid unneeded rendering. - finalValue = jQuery.trim( cur ); - if ( curValue !== finalValue ) { - elem.setAttribute( "class", finalValue ); - } - } - } - } - - return this; - }, - - toggleClass: function( value, stateVal ) { - var type = typeof value; - - if ( typeof stateVal === "boolean" && type === "string" ) { - return stateVal ? this.addClass( value ) : this.removeClass( value ); - } - - if ( jQuery.isFunction( value ) ) { - return this.each( function( i ) { - jQuery( this ).toggleClass( - value.call( this, i, getClass( this ), stateVal ), - stateVal - ); - } ); - } - - return this.each( function() { - var className, i, self, classNames; - - if ( type === "string" ) { - - // Toggle individual class names - i = 0; - self = jQuery( this ); - classNames = value.match( rnotwhite ) || []; - - while ( ( className = classNames[ i++ ] ) ) { - - // Check each className given, space separated list - if ( self.hasClass( className ) ) { - self.removeClass( className ); - } else { - self.addClass( className ); - } - } - - // Toggle whole class name - } else if ( value === undefined || type === "boolean" ) { - className = getClass( this ); - if ( className ) { - - // Store className if set - dataPriv.set( this, "__className__", className ); - } - - // If the element has a class name or if we're passed `false`, - // then remove the whole classname (if there was one, the above saved it). - // Otherwise bring back whatever was previously saved (if anything), - // falling back to the empty string if nothing was stored. - if ( this.setAttribute ) { - this.setAttribute( "class", - className || value === false ? - "" : - dataPriv.get( this, "__className__" ) || "" - ); - } - } - } ); - }, - - hasClass: function( selector ) { - var className, elem, - i = 0; - - className = " " + selector + " "; - while ( ( elem = this[ i++ ] ) ) { - if ( elem.nodeType === 1 && - ( " " + getClass( elem ) + " " ).replace( rclass, " " ) - .indexOf( className ) > -1 - ) { - return true; - } - } - - return false; - } -} ); - -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/attributes/prop.js b/minionlivesmatter/templates/assets/jquery/src/attributes/prop.js deleted file mode 100644 index e127bb0..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/attributes/prop.js +++ /dev/null @@ -1,125 +0,0 @@ -define( [ - "../core", - "../core/access", - "./support", - "../selector" -], function( jQuery, access, support ) { - -var rfocusable = /^(?:input|select|textarea|button)$/i, - rclickable = /^(?:a|area)$/i; - -jQuery.fn.extend( { - prop: function( name, value ) { - return access( this, jQuery.prop, name, value, arguments.length > 1 ); - }, - - removeProp: function( name ) { - return this.each( function() { - delete this[ jQuery.propFix[ name ] || name ]; - } ); - } -} ); - -jQuery.extend( { - prop: function( elem, name, value ) { - var ret, hooks, - nType = elem.nodeType; - - // Don't get/set properties on text, comment and attribute nodes - if ( nType === 3 || nType === 8 || nType === 2 ) { - return; - } - - if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { - - // Fix name and attach hooks - name = jQuery.propFix[ name ] || name; - hooks = jQuery.propHooks[ name ]; - } - - if ( value !== undefined ) { - if ( hooks && "set" in hooks && - ( ret = hooks.set( elem, value, name ) ) !== undefined ) { - return ret; - } - - return ( elem[ name ] = value ); - } - - if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { - return ret; - } - - return elem[ name ]; - }, - - propHooks: { - tabIndex: { - get: function( elem ) { - - // elem.tabIndex doesn't always return the - // correct value when it hasn't been explicitly set - // http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ - // Use proper attribute retrieval(#12072) - var tabindex = jQuery.find.attr( elem, "tabindex" ); - - return tabindex ? - parseInt( tabindex, 10 ) : - rfocusable.test( elem.nodeName ) || - rclickable.test( elem.nodeName ) && elem.href ? - 0 : - -1; - } - } - }, - - propFix: { - "for": "htmlFor", - "class": "className" - } -} ); - -// Support: IE <=11 only -// Accessing the selectedIndex property -// forces the browser to respect setting selected -// on the option -// The getter ensures a default option is selected -// when in an optgroup -if ( !support.optSelected ) { - jQuery.propHooks.selected = { - get: function( elem ) { - var parent = elem.parentNode; - if ( parent && parent.parentNode ) { - parent.parentNode.selectedIndex; - } - return null; - }, - set: function( elem ) { - var parent = elem.parentNode; - if ( parent ) { - parent.selectedIndex; - - if ( parent.parentNode ) { - parent.parentNode.selectedIndex; - } - } - } - }; -} - -jQuery.each( [ - "tabIndex", - "readOnly", - "maxLength", - "cellSpacing", - "cellPadding", - "rowSpan", - "colSpan", - "useMap", - "frameBorder", - "contentEditable" -], function() { - jQuery.propFix[ this.toLowerCase() ] = this; -} ); - -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/attributes/support.js b/minionlivesmatter/templates/assets/jquery/src/attributes/support.js deleted file mode 100644 index e8d02b5..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/attributes/support.js +++ /dev/null @@ -1,36 +0,0 @@ -define( [ - "../var/document", - "../var/support" -], function( document, support ) { - -( function() { - var input = document.createElement( "input" ), - select = document.createElement( "select" ), - opt = select.appendChild( document.createElement( "option" ) ); - - input.type = "checkbox"; - - // Support: iOS<=5.1, Android<=4.2+ - // Default value for a checkbox should be "on" - support.checkOn = input.value !== ""; - - // Support: IE<=11+ - // Must access selectedIndex to make default options select - support.optSelected = opt.selected; - - // Support: Android<=2.3 - // Options inside disabled selects are incorrectly marked as disabled - select.disabled = true; - support.optDisabled = !opt.disabled; - - // Support: IE<=11+ - // An input loses its value after becoming a radio - input = document.createElement( "input" ); - input.value = "t"; - input.type = "radio"; - support.radioValue = input.value === "t"; -} )(); - -return support; - -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/attributes/val.js b/minionlivesmatter/templates/assets/jquery/src/attributes/val.js deleted file mode 100644 index 1fa9171..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/attributes/val.js +++ /dev/null @@ -1,177 +0,0 @@ -define( [ - "../core", - "./support", - "../core/init" -], function( jQuery, support ) { - -var rreturn = /\r/g, - rspaces = /[\x20\t\r\n\f]+/g; - -jQuery.fn.extend( { - val: function( value ) { - var hooks, ret, isFunction, - elem = this[ 0 ]; - - if ( !arguments.length ) { - if ( elem ) { - hooks = jQuery.valHooks[ elem.type ] || - jQuery.valHooks[ elem.nodeName.toLowerCase() ]; - - if ( hooks && - "get" in hooks && - ( ret = hooks.get( elem, "value" ) ) !== undefined - ) { - return ret; - } - - ret = elem.value; - - return typeof ret === "string" ? - - // Handle most common string cases - ret.replace( rreturn, "" ) : - - // Handle cases where value is null/undef or number - ret == null ? "" : ret; - } - - return; - } - - isFunction = jQuery.isFunction( value ); - - return this.each( function( i ) { - var val; - - if ( this.nodeType !== 1 ) { - return; - } - - if ( isFunction ) { - val = value.call( this, i, jQuery( this ).val() ); - } else { - val = value; - } - - // Treat null/undefined as ""; convert numbers to string - if ( val == null ) { - val = ""; - - } else if ( typeof val === "number" ) { - val += ""; - - } else if ( jQuery.isArray( val ) ) { - val = jQuery.map( val, function( value ) { - return value == null ? "" : value + ""; - } ); - } - - hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; - - // If set returns undefined, fall back to normal setting - if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) { - this.value = val; - } - } ); - } -} ); - -jQuery.extend( { - valHooks: { - option: { - get: function( elem ) { - - var val = jQuery.find.attr( elem, "value" ); - return val != null ? - val : - - // Support: IE10-11+ - // option.text throws exceptions (#14686, #14858) - // Strip and collapse whitespace - // https://html.spec.whatwg.org/#strip-and-collapse-whitespace - jQuery.trim( jQuery.text( elem ) ).replace( rspaces, " " ); - } - }, - select: { - get: function( elem ) { - var value, option, - options = elem.options, - index = elem.selectedIndex, - one = elem.type === "select-one" || index < 0, - values = one ? null : [], - max = one ? index + 1 : options.length, - i = index < 0 ? - max : - one ? index : 0; - - // Loop through all the selected options - for ( ; i < max; i++ ) { - option = options[ i ]; - - // IE8-9 doesn't update selected after form reset (#2551) - if ( ( option.selected || i === index ) && - - // Don't return options that are disabled or in a disabled optgroup - ( support.optDisabled ? - !option.disabled : option.getAttribute( "disabled" ) === null ) && - ( !option.parentNode.disabled || - !jQuery.nodeName( option.parentNode, "optgroup" ) ) ) { - - // Get the specific value for the option - value = jQuery( option ).val(); - - // We don't need an array for one selects - if ( one ) { - return value; - } - - // Multi-Selects return an array - values.push( value ); - } - } - - return values; - }, - - set: function( elem, value ) { - var optionSet, option, - options = elem.options, - values = jQuery.makeArray( value ), - i = options.length; - - while ( i-- ) { - option = options[ i ]; - if ( option.selected = - jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 - ) { - optionSet = true; - } - } - - // Force browsers to behave consistently when non-matching value is set - if ( !optionSet ) { - elem.selectedIndex = -1; - } - return values; - } - } - } -} ); - -// Radios and checkboxes getter/setter -jQuery.each( [ "radio", "checkbox" ], function() { - jQuery.valHooks[ this ] = { - set: function( elem, value ) { - if ( jQuery.isArray( value ) ) { - return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 ); - } - } - }; - if ( !support.checkOn ) { - jQuery.valHooks[ this ].get = function( elem ) { - return elem.getAttribute( "value" ) === null ? "on" : elem.value; - }; - } -} ); - -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/callbacks.js b/minionlivesmatter/templates/assets/jquery/src/callbacks.js deleted file mode 100644 index df7c7cf..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/callbacks.js +++ /dev/null @@ -1,232 +0,0 @@ -define( [ - "./core", - "./var/rnotwhite" -], function( jQuery, rnotwhite ) { - -// Convert String-formatted options into Object-formatted ones -function createOptions( options ) { - var object = {}; - jQuery.each( options.match( rnotwhite ) || [], function( _, flag ) { - object[ flag ] = true; - } ); - return object; -} - -/* - * Create a callback list using the following parameters: - * - * options: an optional list of space-separated options that will change how - * the callback list behaves or a more traditional option object - * - * By default a callback list will act like an event callback list and can be - * "fired" multiple times. - * - * Possible options: - * - * once: will ensure the callback list can only be fired once (like a Deferred) - * - * memory: will keep track of previous values and will call any callback added - * after the list has been fired right away with the latest "memorized" - * values (like a Deferred) - * - * unique: will ensure a callback can only be added once (no duplicate in the list) - * - * stopOnFalse: interrupt callings when a callback returns false - * - */ -jQuery.Callbacks = function( options ) { - - // Convert options from String-formatted to Object-formatted if needed - // (we check in cache first) - options = typeof options === "string" ? - createOptions( options ) : - jQuery.extend( {}, options ); - - var // Flag to know if list is currently firing - firing, - - // Last fire value for non-forgettable lists - memory, - - // Flag to know if list was already fired - fired, - - // Flag to prevent firing - locked, - - // Actual callback list - list = [], - - // Queue of execution data for repeatable lists - queue = [], - - // Index of currently firing callback (modified by add/remove as needed) - firingIndex = -1, - - // Fire callbacks - fire = function() { - - // Enforce single-firing - locked = options.once; - - // Execute callbacks for all pending executions, - // respecting firingIndex overrides and runtime changes - fired = firing = true; - for ( ; queue.length; firingIndex = -1 ) { - memory = queue.shift(); - while ( ++firingIndex < list.length ) { - - // Run callback and check for early termination - if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && - options.stopOnFalse ) { - - // Jump to end and forget the data so .add doesn't re-fire - firingIndex = list.length; - memory = false; - } - } - } - - // Forget the data if we're done with it - if ( !options.memory ) { - memory = false; - } - - firing = false; - - // Clean up if we're done firing for good - if ( locked ) { - - // Keep an empty list if we have data for future add calls - if ( memory ) { - list = []; - - // Otherwise, this object is spent - } else { - list = ""; - } - } - }, - - // Actual Callbacks object - self = { - - // Add a callback or a collection of callbacks to the list - add: function() { - if ( list ) { - - // If we have memory from a past run, we should fire after adding - if ( memory && !firing ) { - firingIndex = list.length - 1; - queue.push( memory ); - } - - ( function add( args ) { - jQuery.each( args, function( _, arg ) { - if ( jQuery.isFunction( arg ) ) { - if ( !options.unique || !self.has( arg ) ) { - list.push( arg ); - } - } else if ( arg && arg.length && jQuery.type( arg ) !== "string" ) { - - // Inspect recursively - add( arg ); - } - } ); - } )( arguments ); - - if ( memory && !firing ) { - fire(); - } - } - return this; - }, - - // Remove a callback from the list - remove: function() { - jQuery.each( arguments, function( _, arg ) { - var index; - while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { - list.splice( index, 1 ); - - // Handle firing indexes - if ( index <= firingIndex ) { - firingIndex--; - } - } - } ); - return this; - }, - - // Check if a given callback is in the list. - // If no argument is given, return whether or not list has callbacks attached. - has: function( fn ) { - return fn ? - jQuery.inArray( fn, list ) > -1 : - list.length > 0; - }, - - // Remove all callbacks from the list - empty: function() { - if ( list ) { - list = []; - } - return this; - }, - - // Disable .fire and .add - // Abort any current/pending executions - // Clear all callbacks and values - disable: function() { - locked = queue = []; - list = memory = ""; - return this; - }, - disabled: function() { - return !list; - }, - - // Disable .fire - // Also disable .add unless we have memory (since it would have no effect) - // Abort any pending executions - lock: function() { - locked = queue = []; - if ( !memory ) { - list = memory = ""; - } - return this; - }, - locked: function() { - return !!locked; - }, - - // Call all callbacks with the given context and arguments - fireWith: function( context, args ) { - if ( !locked ) { - args = args || []; - args = [ context, args.slice ? args.slice() : args ]; - queue.push( args ); - if ( !firing ) { - fire(); - } - } - return this; - }, - - // Call all the callbacks with the given arguments - fire: function() { - self.fireWith( this, arguments ); - return this; - }, - - // To know if the callbacks have already been called at least once - fired: function() { - return !!fired; - } - }; - - return self; -}; - -return jQuery; -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/core.js b/minionlivesmatter/templates/assets/jquery/src/core.js deleted file mode 100644 index 713c1a3..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/core.js +++ /dev/null @@ -1,494 +0,0 @@ -define( [ - "./var/arr", - "./var/document", - "./var/slice", - "./var/concat", - "./var/push", - "./var/indexOf", - "./var/class2type", - "./var/toString", - "./var/hasOwn", - "./var/support" -], function( arr, document, slice, concat, push, indexOf, class2type, toString, hasOwn, support ) { - -var - version = "@VERSION", - - // Define a local copy of jQuery - jQuery = function( selector, context ) { - - // The jQuery object is actually just the init constructor 'enhanced' - // Need init if jQuery is called (just allow error to be thrown if not included) - return new jQuery.fn.init( selector, context ); - }, - - // Support: Android<4.1 - // Make sure we trim BOM and NBSP - rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, - - // Matches dashed string for camelizing - rmsPrefix = /^-ms-/, - rdashAlpha = /-([\da-z])/gi, - - // Used by jQuery.camelCase as callback to replace() - fcamelCase = function( all, letter ) { - return letter.toUpperCase(); - }; - -jQuery.fn = jQuery.prototype = { - - // The current version of jQuery being used - jquery: version, - - constructor: jQuery, - - // Start with an empty selector - selector: "", - - // The default length of a jQuery object is 0 - length: 0, - - toArray: function() { - return slice.call( this ); - }, - - // Get the Nth element in the matched element set OR - // Get the whole matched element set as a clean array - get: function( num ) { - return num != null ? - - // Return just the one element from the set - ( num < 0 ? this[ num + this.length ] : this[ num ] ) : - - // Return all the elements in a clean array - slice.call( this ); - }, - - // Take an array of elements and push it onto the stack - // (returning the new matched element set) - pushStack: function( elems ) { - - // Build a new jQuery matched element set - var ret = jQuery.merge( this.constructor(), elems ); - - // Add the old object onto the stack (as a reference) - ret.prevObject = this; - ret.context = this.context; - - // Return the newly-formed element set - return ret; - }, - - // Execute a callback for every element in the matched set. - each: function( callback ) { - return jQuery.each( this, callback ); - }, - - map: function( callback ) { - return this.pushStack( jQuery.map( this, function( elem, i ) { - return callback.call( elem, i, elem ); - } ) ); - }, - - slice: function() { - return this.pushStack( slice.apply( this, arguments ) ); - }, - - first: function() { - return this.eq( 0 ); - }, - - last: function() { - return this.eq( -1 ); - }, - - eq: function( i ) { - var len = this.length, - j = +i + ( i < 0 ? len : 0 ); - return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); - }, - - end: function() { - return this.prevObject || this.constructor(); - }, - - // For internal use only. - // Behaves like an Array's method, not like a jQuery method. - push: push, - sort: arr.sort, - splice: arr.splice -}; - -jQuery.extend = jQuery.fn.extend = function() { - var options, name, src, copy, copyIsArray, clone, - target = arguments[ 0 ] || {}, - i = 1, - length = arguments.length, - deep = false; - - // Handle a deep copy situation - if ( typeof target === "boolean" ) { - deep = target; - - // Skip the boolean and the target - target = arguments[ i ] || {}; - i++; - } - - // Handle case when target is a string or something (possible in deep copy) - if ( typeof target !== "object" && !jQuery.isFunction( target ) ) { - target = {}; - } - - // Extend jQuery itself if only one argument is passed - if ( i === length ) { - target = this; - i--; - } - - for ( ; i < length; i++ ) { - - // Only deal with non-null/undefined values - if ( ( options = arguments[ i ] ) != null ) { - - // Extend the base object - for ( name in options ) { - src = target[ name ]; - copy = options[ name ]; - - // Prevent never-ending loop - if ( target === copy ) { - continue; - } - - // Recurse if we're merging plain objects or arrays - if ( deep && copy && ( jQuery.isPlainObject( copy ) || - ( copyIsArray = jQuery.isArray( copy ) ) ) ) { - - if ( copyIsArray ) { - copyIsArray = false; - clone = src && jQuery.isArray( src ) ? src : []; - - } else { - clone = src && jQuery.isPlainObject( src ) ? src : {}; - } - - // Never move original objects, clone them - target[ name ] = jQuery.extend( deep, clone, copy ); - - // Don't bring in undefined values - } else if ( copy !== undefined ) { - target[ name ] = copy; - } - } - } - } - - // Return the modified object - return target; -}; - -jQuery.extend( { - - // Unique for each copy of jQuery on the page - expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), - - // Assume jQuery is ready without the ready module - isReady: true, - - error: function( msg ) { - throw new Error( msg ); - }, - - noop: function() {}, - - isFunction: function( obj ) { - return jQuery.type( obj ) === "function"; - }, - - isArray: Array.isArray, - - isWindow: function( obj ) { - return obj != null && obj === obj.window; - }, - - isNumeric: function( obj ) { - - // parseFloat NaNs numeric-cast false positives (null|true|false|"") - // ...but misinterprets leading-number strings, particularly hex literals ("0x...") - // subtraction forces infinities to NaN - // adding 1 corrects loss of precision from parseFloat (#15100) - var realStringObj = obj && obj.toString(); - return !jQuery.isArray( obj ) && ( realStringObj - parseFloat( realStringObj ) + 1 ) >= 0; - }, - - isPlainObject: function( obj ) { - var key; - - // Not plain objects: - // - Any object or value whose internal [[Class]] property is not "[object Object]" - // - DOM nodes - // - window - if ( jQuery.type( obj ) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) { - return false; - } - - // Not own constructor property must be Object - if ( obj.constructor && - !hasOwn.call( obj, "constructor" ) && - !hasOwn.call( obj.constructor.prototype || {}, "isPrototypeOf" ) ) { - return false; - } - - // Own properties are enumerated firstly, so to speed up, - // if last one is own, then all properties are own - for ( key in obj ) {} - - return key === undefined || hasOwn.call( obj, key ); - }, - - isEmptyObject: function( obj ) { - var name; - for ( name in obj ) { - return false; - } - return true; - }, - - type: function( obj ) { - if ( obj == null ) { - return obj + ""; - } - - // Support: Android<4.0, iOS<6 (functionish RegExp) - return typeof obj === "object" || typeof obj === "function" ? - class2type[ toString.call( obj ) ] || "object" : - typeof obj; - }, - - // Evaluates a script in a global context - globalEval: function( code ) { - var script, - indirect = eval; - - code = jQuery.trim( code ); - - if ( code ) { - - // If the code includes a valid, prologue position - // strict mode pragma, execute code by injecting a - // script tag into the document. - if ( code.indexOf( "use strict" ) === 1 ) { - script = document.createElement( "script" ); - script.text = code; - document.head.appendChild( script ).parentNode.removeChild( script ); - } else { - - // Otherwise, avoid the DOM node creation, insertion - // and removal by using an indirect global eval - - indirect( code ); - } - } - }, - - // Convert dashed to camelCase; used by the css and data modules - // Support: IE9-11+ - // Microsoft forgot to hump their vendor prefix (#9572) - camelCase: function( string ) { - return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); - }, - - nodeName: function( elem, name ) { - return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); - }, - - each: function( obj, callback ) { - var length, i = 0; - - if ( isArrayLike( obj ) ) { - length = obj.length; - for ( ; i < length; i++ ) { - if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { - break; - } - } - } else { - for ( i in obj ) { - if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { - break; - } - } - } - - return obj; - }, - - // Support: Android<4.1 - trim: function( text ) { - return text == null ? - "" : - ( text + "" ).replace( rtrim, "" ); - }, - - // results is for internal usage only - makeArray: function( arr, results ) { - var ret = results || []; - - if ( arr != null ) { - if ( isArrayLike( Object( arr ) ) ) { - jQuery.merge( ret, - typeof arr === "string" ? - [ arr ] : arr - ); - } else { - push.call( ret, arr ); - } - } - - return ret; - }, - - inArray: function( elem, arr, i ) { - return arr == null ? -1 : indexOf.call( arr, elem, i ); - }, - - merge: function( first, second ) { - var len = +second.length, - j = 0, - i = first.length; - - for ( ; j < len; j++ ) { - first[ i++ ] = second[ j ]; - } - - first.length = i; - - return first; - }, - - grep: function( elems, callback, invert ) { - var callbackInverse, - matches = [], - i = 0, - length = elems.length, - callbackExpect = !invert; - - // Go through the array, only saving the items - // that pass the validator function - for ( ; i < length; i++ ) { - callbackInverse = !callback( elems[ i ], i ); - if ( callbackInverse !== callbackExpect ) { - matches.push( elems[ i ] ); - } - } - - return matches; - }, - - // arg is for internal usage only - map: function( elems, callback, arg ) { - var length, value, - i = 0, - ret = []; - - // Go through the array, translating each of the items to their new values - if ( isArrayLike( elems ) ) { - length = elems.length; - for ( ; i < length; i++ ) { - value = callback( elems[ i ], i, arg ); - - if ( value != null ) { - ret.push( value ); - } - } - - // Go through every key on the object, - } else { - for ( i in elems ) { - value = callback( elems[ i ], i, arg ); - - if ( value != null ) { - ret.push( value ); - } - } - } - - // Flatten any nested arrays - return concat.apply( [], ret ); - }, - - // A global GUID counter for objects - guid: 1, - - // Bind a function to a context, optionally partially applying any - // arguments. - proxy: function( fn, context ) { - var tmp, args, proxy; - - if ( typeof context === "string" ) { - tmp = fn[ context ]; - context = fn; - fn = tmp; - } - - // Quick check to determine if target is callable, in the spec - // this throws a TypeError, but we will just return undefined. - if ( !jQuery.isFunction( fn ) ) { - return undefined; - } - - // Simulated bind - args = slice.call( arguments, 2 ); - proxy = function() { - return fn.apply( context || this, args.concat( slice.call( arguments ) ) ); - }; - - // Set the guid of unique handler to the same of original handler, so it can be removed - proxy.guid = fn.guid = fn.guid || jQuery.guid++; - - return proxy; - }, - - now: Date.now, - - // jQuery.support is not used in Core but other projects attach their - // properties to it so it needs to exist. - support: support -} ); - -// JSHint would error on this code due to the Symbol not being defined in ES5. -// Defining this global in .jshintrc would create a danger of using the global -// unguarded in another place, it seems safer to just disable JSHint for these -// three lines. -/* jshint ignore: start */ -if ( typeof Symbol === "function" ) { - jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; -} -/* jshint ignore: end */ - -// Populate the class2type map -jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), -function( i, name ) { - class2type[ "[object " + name + "]" ] = name.toLowerCase(); -} ); - -function isArrayLike( obj ) { - - // Support: iOS 8.2 (not reproducible in simulator) - // `in` check used to prevent JIT error (gh-2145) - // hasOwn isn't used here due to false negatives - // regarding Nodelist length in IE - var length = !!obj && "length" in obj && obj.length, - type = jQuery.type( obj ); - - if ( type === "function" || jQuery.isWindow( obj ) ) { - return false; - } - - return type === "array" || length === 0 || - typeof length === "number" && length > 0 && ( length - 1 ) in obj; -} - -return jQuery; -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/core/access.js b/minionlivesmatter/templates/assets/jquery/src/core/access.js deleted file mode 100644 index 19f79ef..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/core/access.js +++ /dev/null @@ -1,65 +0,0 @@ -define( [ - "../core" -], function( jQuery ) { - -// Multifunctional method to get and set values of a collection -// The value/s can optionally be executed if it's a function -var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { - var i = 0, - len = elems.length, - bulk = key == null; - - // Sets many values - if ( jQuery.type( key ) === "object" ) { - chainable = true; - for ( i in key ) { - access( elems, fn, i, key[ i ], true, emptyGet, raw ); - } - - // Sets one value - } else if ( value !== undefined ) { - chainable = true; - - if ( !jQuery.isFunction( value ) ) { - raw = true; - } - - if ( bulk ) { - - // Bulk operations run against the entire set - if ( raw ) { - fn.call( elems, value ); - fn = null; - - // ...except when executing function values - } else { - bulk = fn; - fn = function( elem, key, value ) { - return bulk.call( jQuery( elem ), value ); - }; - } - } - - if ( fn ) { - for ( ; i < len; i++ ) { - fn( - elems[ i ], key, raw ? - value : - value.call( elems[ i ], i, fn( elems[ i ], key ) ) - ); - } - } - } - - return chainable ? - elems : - - // Gets - bulk ? - fn.call( elems ) : - len ? fn( elems[ 0 ], key ) : emptyGet; -}; - -return access; - -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/core/init.js b/minionlivesmatter/templates/assets/jquery/src/core/init.js deleted file mode 100644 index c2b6c94..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/core/init.js +++ /dev/null @@ -1,134 +0,0 @@ -// Initialize a jQuery object -define( [ - "../core", - "../var/document", - "./var/rsingleTag", - "../traversing/findFilter" -], function( jQuery, document, rsingleTag ) { - -// A central reference to the root jQuery(document) -var rootjQuery, - - // A simple way to check for HTML strings - // Prioritize #id over <tag> to avoid XSS via location.hash (#9521) - // Strict HTML recognition (#11290: must start with <) - rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/, - - init = jQuery.fn.init = function( selector, context, root ) { - var match, elem; - - // HANDLE: $(""), $(null), $(undefined), $(false) - if ( !selector ) { - return this; - } - - // Method init() accepts an alternate rootjQuery - // so migrate can support jQuery.sub (gh-2101) - root = root || rootjQuery; - - // Handle HTML strings - if ( typeof selector === "string" ) { - if ( selector[ 0 ] === "<" && - selector[ selector.length - 1 ] === ">" && - selector.length >= 3 ) { - - // Assume that strings that start and end with <> are HTML and skip the regex check - match = [ null, selector, null ]; - - } else { - match = rquickExpr.exec( selector ); - } - - // Match html or make sure no context is specified for #id - if ( match && ( match[ 1 ] || !context ) ) { - - // HANDLE: $(html) -> $(array) - if ( match[ 1 ] ) { - context = context instanceof jQuery ? context[ 0 ] : context; - - // Option to run scripts is true for back-compat - // Intentionally let the error be thrown if parseHTML is not present - jQuery.merge( this, jQuery.parseHTML( - match[ 1 ], - context && context.nodeType ? context.ownerDocument || context : document, - true - ) ); - - // HANDLE: $(html, props) - if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { - for ( match in context ) { - - // Properties of context are called as methods if possible - if ( jQuery.isFunction( this[ match ] ) ) { - this[ match ]( context[ match ] ); - - // ...and otherwise set as attributes - } else { - this.attr( match, context[ match ] ); - } - } - } - - return this; - - // HANDLE: $(#id) - } else { - elem = document.getElementById( match[ 2 ] ); - - // Support: Blackberry 4.6 - // gEBID returns nodes no longer in the document (#6963) - if ( elem && elem.parentNode ) { - - // Inject the element directly into the jQuery object - this.length = 1; - this[ 0 ] = elem; - } - - this.context = document; - this.selector = selector; - return this; - } - - // HANDLE: $(expr, $(...)) - } else if ( !context || context.jquery ) { - return ( context || root ).find( selector ); - - // HANDLE: $(expr, context) - // (which is just equivalent to: $(context).find(expr) - } else { - return this.constructor( context ).find( selector ); - } - - // HANDLE: $(DOMElement) - } else if ( selector.nodeType ) { - this.context = this[ 0 ] = selector; - this.length = 1; - return this; - - // HANDLE: $(function) - // Shortcut for document ready - } else if ( jQuery.isFunction( selector ) ) { - return root.ready !== undefined ? - root.ready( selector ) : - - // Execute immediately if ready is not present - selector( jQuery ); - } - - if ( selector.selector !== undefined ) { - this.selector = selector.selector; - this.context = selector.context; - } - - return jQuery.makeArray( selector, this ); - }; - -// Give the init function the jQuery prototype for later instantiation -init.prototype = jQuery.fn; - -// Initialize central reference -rootjQuery = jQuery( document ); - -return init; - -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/core/parseHTML.js b/minionlivesmatter/templates/assets/jquery/src/core/parseHTML.js deleted file mode 100644 index 3524abd..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/core/parseHTML.js +++ /dev/null @@ -1,41 +0,0 @@ -define( [ - "../core", - "../var/document", - "./var/rsingleTag", - "../manipulation/buildFragment" -], function( jQuery, document, rsingleTag, buildFragment ) { - -// Argument "data" should be string of html -// context (optional): If specified, the fragment will be created in this context, -// defaults to document -// keepScripts (optional): If true, will include scripts passed in the html string -jQuery.parseHTML = function( data, context, keepScripts ) { - if ( !data || typeof data !== "string" ) { - return null; - } - if ( typeof context === "boolean" ) { - keepScripts = context; - context = false; - } - context = context || document; - - var parsed = rsingleTag.exec( data ), - scripts = !keepScripts && []; - - // Single tag - if ( parsed ) { - return [ context.createElement( parsed[ 1 ] ) ]; - } - - parsed = buildFragment( [ data ], context, scripts ); - - if ( scripts && scripts.length ) { - jQuery( scripts ).remove(); - } - - return jQuery.merge( [], parsed.childNodes ); -}; - -return jQuery.parseHTML; - -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/core/ready.js b/minionlivesmatter/templates/assets/jquery/src/core/ready.js deleted file mode 100644 index 7d93e67..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/core/ready.js +++ /dev/null @@ -1,103 +0,0 @@ -define( [ - "../core", - "../var/document", - "../core/init", - "../deferred" -], function( jQuery, document ) { - -// The deferred used on DOM ready -var readyList; - -jQuery.fn.ready = function( fn ) { - - // Add the callback - jQuery.ready.promise().done( fn ); - - return this; -}; - -jQuery.extend( { - - // Is the DOM ready to be used? Set to true once it occurs. - isReady: false, - - // A counter to track how many items to wait for before - // the ready event fires. See #6781 - readyWait: 1, - - // Hold (or release) the ready event - holdReady: function( hold ) { - if ( hold ) { - jQuery.readyWait++; - } else { - jQuery.ready( true ); - } - }, - - // Handle when the DOM is ready - ready: function( wait ) { - - // Abort if there are pending holds or we're already ready - if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { - return; - } - - // Remember that the DOM is ready - jQuery.isReady = true; - - // If a normal DOM Ready event fired, decrement, and wait if need be - if ( wait !== true && --jQuery.readyWait > 0 ) { - return; - } - - // If there are functions bound, to execute - readyList.resolveWith( document, [ jQuery ] ); - - // Trigger any bound ready events - if ( jQuery.fn.triggerHandler ) { - jQuery( document ).triggerHandler( "ready" ); - jQuery( document ).off( "ready" ); - } - } -} ); - -/** - * The ready event handler and self cleanup method - */ -function completed() { - document.removeEventListener( "DOMContentLoaded", completed ); - window.removeEventListener( "load", completed ); - jQuery.ready(); -} - -jQuery.ready.promise = function( obj ) { - if ( !readyList ) { - - readyList = jQuery.Deferred(); - - // Catch cases where $(document).ready() is called - // after the browser event has already occurred. - // Support: IE9-10 only - // Older IE sometimes signals "interactive" too soon - if ( document.readyState === "complete" || - ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { - - // Handle it asynchronously to allow scripts the opportunity to delay ready - window.setTimeout( jQuery.ready ); - - } else { - - // Use the handy event callback - document.addEventListener( "DOMContentLoaded", completed ); - - // A fallback to window.onload, that will always work - window.addEventListener( "load", completed ); - } - } - return readyList.promise( obj ); -}; - -// Kick off the DOM ready check even if the user does not -jQuery.ready.promise(); - -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/css.js b/minionlivesmatter/templates/assets/jquery/src/css.js deleted file mode 100644 index bd13139..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/css.js +++ /dev/null @@ -1,502 +0,0 @@ -define( [ - "./core", - "./var/pnum", - "./core/access", - "./css/var/rmargin", - "./var/document", - "./var/rcssNum", - "./css/var/rnumnonpx", - "./css/var/cssExpand", - "./css/var/isHidden", - "./css/var/getStyles", - "./css/var/swap", - "./css/curCSS", - "./css/adjustCSS", - "./css/defaultDisplay", - "./css/addGetHookIf", - "./css/support", - "./data/var/dataPriv", - - "./core/init", - "./core/ready", - "./selector" // contains -], function( jQuery, pnum, access, rmargin, document, rcssNum, rnumnonpx, cssExpand, isHidden, - getStyles, swap, curCSS, adjustCSS, defaultDisplay, addGetHookIf, support, dataPriv ) { - -var - - // Swappable if display is none or starts with table - // except "table", "table-cell", or "table-caption" - // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display - rdisplayswap = /^(none|table(?!-c[ea]).+)/, - - cssShow = { position: "absolute", visibility: "hidden", display: "block" }, - cssNormalTransform = { - letterSpacing: "0", - fontWeight: "400" - }, - - cssPrefixes = [ "Webkit", "O", "Moz", "ms" ], - emptyStyle = document.createElement( "div" ).style; - -// Return a css property mapped to a potentially vendor prefixed property -function vendorPropName( name ) { - - // Shortcut for names that are not vendor prefixed - if ( name in emptyStyle ) { - return name; - } - - // Check for vendor prefixed names - var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), - i = cssPrefixes.length; - - while ( i-- ) { - name = cssPrefixes[ i ] + capName; - if ( name in emptyStyle ) { - return name; - } - } -} - -function setPositiveNumber( elem, value, subtract ) { - - // Any relative (+/-) values have already been - // normalized at this point - var matches = rcssNum.exec( value ); - return matches ? - - // Guard against undefined "subtract", e.g., when used as in cssHooks - Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) : - value; -} - -function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) { - var i = extra === ( isBorderBox ? "border" : "content" ) ? - - // If we already have the right measurement, avoid augmentation - 4 : - - // Otherwise initialize for horizontal or vertical properties - name === "width" ? 1 : 0, - - val = 0; - - for ( ; i < 4; i += 2 ) { - - // Both box models exclude margin, so add it if we want it - if ( extra === "margin" ) { - val += jQuery.css( elem, extra + cssExpand[ i ], true, styles ); - } - - if ( isBorderBox ) { - - // border-box includes padding, so remove it if we want content - if ( extra === "content" ) { - val -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); - } - - // At this point, extra isn't border nor margin, so remove border - if ( extra !== "margin" ) { - val -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); - } - } else { - - // At this point, extra isn't content, so add padding - val += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); - - // At this point, extra isn't content nor padding, so add border - if ( extra !== "padding" ) { - val += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); - } - } - } - - return val; -} - -function getWidthOrHeight( elem, name, extra ) { - - // Start with offset property, which is equivalent to the border-box value - var valueIsBorderBox = true, - val = name === "width" ? elem.offsetWidth : elem.offsetHeight, - styles = getStyles( elem ), - isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; - - // Some non-html elements return undefined for offsetWidth, so check for null/undefined - // svg - https://bugzilla.mozilla.org/show_bug.cgi?id=649285 - // MathML - https://bugzilla.mozilla.org/show_bug.cgi?id=491668 - if ( val <= 0 || val == null ) { - - // Fall back to computed then uncomputed css if necessary - val = curCSS( elem, name, styles ); - if ( val < 0 || val == null ) { - val = elem.style[ name ]; - } - - // Computed unit is not pixels. Stop here and return. - if ( rnumnonpx.test( val ) ) { - return val; - } - - // Check for style in case a browser which returns unreliable values - // for getComputedStyle silently falls back to the reliable elem.style - valueIsBorderBox = isBorderBox && - ( support.boxSizingReliable() || val === elem.style[ name ] ); - - // Normalize "", auto, and prepare for extra - val = parseFloat( val ) || 0; - } - - // Use the active box-sizing model to add/subtract irrelevant styles - return ( val + - augmentWidthOrHeight( - elem, - name, - extra || ( isBorderBox ? "border" : "content" ), - valueIsBorderBox, - styles - ) - ) + "px"; -} - -function showHide( elements, show ) { - var display, elem, hidden, - values = [], - index = 0, - length = elements.length; - - for ( ; index < length; index++ ) { - elem = elements[ index ]; - if ( !elem.style ) { - continue; - } - - values[ index ] = dataPriv.get( elem, "olddisplay" ); - display = elem.style.display; - if ( show ) { - - // Reset the inline display of this element to learn if it is - // being hidden by cascaded rules or not - if ( !values[ index ] && display === "none" ) { - elem.style.display = ""; - } - - // Set elements which have been overridden with display: none - // in a stylesheet to whatever the default browser style is - // for such an element - if ( elem.style.display === "" && isHidden( elem ) ) { - values[ index ] = dataPriv.access( - elem, - "olddisplay", - defaultDisplay( elem.nodeName ) - ); - } - } else { - hidden = isHidden( elem ); - - if ( display !== "none" || !hidden ) { - dataPriv.set( - elem, - "olddisplay", - hidden ? display : jQuery.css( elem, "display" ) - ); - } - } - } - - // Set the display of most of the elements in a second loop - // to avoid the constant reflow - for ( index = 0; index < length; index++ ) { - elem = elements[ index ]; - if ( !elem.style ) { - continue; - } - if ( !show || elem.style.display === "none" || elem.style.display === "" ) { - elem.style.display = show ? values[ index ] || "" : "none"; - } - } - - return elements; -} - -jQuery.extend( { - - // Add in style property hooks for overriding the default - // behavior of getting and setting a style property - cssHooks: { - opacity: { - get: function( elem, computed ) { - if ( computed ) { - - // We should always get a number back from opacity - var ret = curCSS( elem, "opacity" ); - return ret === "" ? "1" : ret; - } - } - } - }, - - // Don't automatically add "px" to these possibly-unitless properties - cssNumber: { - "animationIterationCount": true, - "columnCount": true, - "fillOpacity": true, - "flexGrow": true, - "flexShrink": true, - "fontWeight": true, - "lineHeight": true, - "opacity": true, - "order": true, - "orphans": true, - "widows": true, - "zIndex": true, - "zoom": true - }, - - // Add in properties whose names you wish to fix before - // setting or getting the value - cssProps: { - "float": "cssFloat" - }, - - // Get and set the style property on a DOM Node - style: function( elem, name, value, extra ) { - - // Don't set styles on text and comment nodes - if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { - return; - } - - // Make sure that we're working with the right name - var ret, type, hooks, - origName = jQuery.camelCase( name ), - style = elem.style; - - name = jQuery.cssProps[ origName ] || - ( jQuery.cssProps[ origName ] = vendorPropName( origName ) || origName ); - - // Gets hook for the prefixed version, then unprefixed version - hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; - - // Check if we're setting a value - if ( value !== undefined ) { - type = typeof value; - - // Convert "+=" or "-=" to relative numbers (#7345) - if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) { - value = adjustCSS( elem, name, ret ); - - // Fixes bug #9237 - type = "number"; - } - - // Make sure that null and NaN values aren't set (#7116) - if ( value == null || value !== value ) { - return; - } - - // If a number was passed in, add the unit (except for certain CSS properties) - if ( type === "number" ) { - value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" ); - } - - // Support: IE9-11+ - // background-* props affect original clone's values - if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { - style[ name ] = "inherit"; - } - - // If a hook was provided, use that value, otherwise just set the specified value - if ( !hooks || !( "set" in hooks ) || - ( value = hooks.set( elem, value, extra ) ) !== undefined ) { - - style[ name ] = value; - } - - } else { - - // If a hook was provided get the non-computed value from there - if ( hooks && "get" in hooks && - ( ret = hooks.get( elem, false, extra ) ) !== undefined ) { - - return ret; - } - - // Otherwise just get the value from the style object - return style[ name ]; - } - }, - - css: function( elem, name, extra, styles ) { - var val, num, hooks, - origName = jQuery.camelCase( name ); - - // Make sure that we're working with the right name - name = jQuery.cssProps[ origName ] || - ( jQuery.cssProps[ origName ] = vendorPropName( origName ) || origName ); - - // Try prefixed name followed by the unprefixed name - hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; - - // If a hook was provided get the computed value from there - if ( hooks && "get" in hooks ) { - val = hooks.get( elem, true, extra ); - } - - // Otherwise, if a way to get the computed value exists, use that - if ( val === undefined ) { - val = curCSS( elem, name, styles ); - } - - // Convert "normal" to computed value - if ( val === "normal" && name in cssNormalTransform ) { - val = cssNormalTransform[ name ]; - } - - // Make numeric if forced or a qualifier was provided and val looks numeric - if ( extra === "" || extra ) { - num = parseFloat( val ); - return extra === true || isFinite( num ) ? num || 0 : val; - } - return val; - } -} ); - -jQuery.each( [ "height", "width" ], function( i, name ) { - jQuery.cssHooks[ name ] = { - get: function( elem, computed, extra ) { - if ( computed ) { - - // Certain elements can have dimension info if we invisibly show them - // but it must have a current display style that would benefit - return rdisplayswap.test( jQuery.css( elem, "display" ) ) && - elem.offsetWidth === 0 ? - swap( elem, cssShow, function() { - return getWidthOrHeight( elem, name, extra ); - } ) : - getWidthOrHeight( elem, name, extra ); - } - }, - - set: function( elem, value, extra ) { - var matches, - styles = extra && getStyles( elem ), - subtract = extra && augmentWidthOrHeight( - elem, - name, - extra, - jQuery.css( elem, "boxSizing", false, styles ) === "border-box", - styles - ); - - // Convert to pixels if value adjustment is needed - if ( subtract && ( matches = rcssNum.exec( value ) ) && - ( matches[ 3 ] || "px" ) !== "px" ) { - - elem.style[ name ] = value; - value = jQuery.css( elem, name ); - } - - return setPositiveNumber( elem, value, subtract ); - } - }; -} ); - -jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, - function( elem, computed ) { - if ( computed ) { - return ( parseFloat( curCSS( elem, "marginLeft" ) ) || - elem.getBoundingClientRect().left - - swap( elem, { marginLeft: 0 }, function() { - return elem.getBoundingClientRect().left; - } ) - ) + "px"; - } - } -); - -// Support: Android 2.3 -jQuery.cssHooks.marginRight = addGetHookIf( support.reliableMarginRight, - function( elem, computed ) { - if ( computed ) { - return swap( elem, { "display": "inline-block" }, - curCSS, [ elem, "marginRight" ] ); - } - } -); - -// These hooks are used by animate to expand properties -jQuery.each( { - margin: "", - padding: "", - border: "Width" -}, function( prefix, suffix ) { - jQuery.cssHooks[ prefix + suffix ] = { - expand: function( value ) { - var i = 0, - expanded = {}, - - // Assumes a single number if not a string - parts = typeof value === "string" ? value.split( " " ) : [ value ]; - - for ( ; i < 4; i++ ) { - expanded[ prefix + cssExpand[ i ] + suffix ] = - parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; - } - - return expanded; - } - }; - - if ( !rmargin.test( prefix ) ) { - jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; - } -} ); - -jQuery.fn.extend( { - css: function( name, value ) { - return access( this, function( elem, name, value ) { - var styles, len, - map = {}, - i = 0; - - if ( jQuery.isArray( name ) ) { - styles = getStyles( elem ); - len = name.length; - - for ( ; i < len; i++ ) { - map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); - } - - return map; - } - - return value !== undefined ? - jQuery.style( elem, name, value ) : - jQuery.css( elem, name ); - }, name, value, arguments.length > 1 ); - }, - show: function() { - return showHide( this, true ); - }, - hide: function() { - return showHide( this ); - }, - toggle: function( state ) { - if ( typeof state === "boolean" ) { - return state ? this.show() : this.hide(); - } - - return this.each( function() { - if ( isHidden( this ) ) { - jQuery( this ).show(); - } else { - jQuery( this ).hide(); - } - } ); - } -} ); - -return jQuery; -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/css/addGetHookIf.js b/minionlivesmatter/templates/assets/jquery/src/css/addGetHookIf.js deleted file mode 100644 index 9cd21f6..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/css/addGetHookIf.js +++ /dev/null @@ -1,24 +0,0 @@ -define( function() { - -function addGetHookIf( conditionFn, hookFn ) { - - // Define the hook, we'll check on the first run if it's really needed. - return { - get: function() { - if ( conditionFn() ) { - - // Hook not needed (or it's not possible to use it due - // to missing dependency), remove it. - delete this.get; - return; - } - - // Hook needed; redefine it so that the support test is not executed again. - return ( this.get = hookFn ).apply( this, arguments ); - } - }; -} - -return addGetHookIf; - -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/css/adjustCSS.js b/minionlivesmatter/templates/assets/jquery/src/css/adjustCSS.js deleted file mode 100644 index 48fcfec..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/css/adjustCSS.js +++ /dev/null @@ -1,65 +0,0 @@ -define( [ - "../core", - "../var/rcssNum" -], function( jQuery, rcssNum ) { - -function adjustCSS( elem, prop, valueParts, tween ) { - var adjusted, - scale = 1, - maxIterations = 20, - currentValue = tween ? - function() { return tween.cur(); } : - function() { return jQuery.css( elem, prop, "" ); }, - initial = currentValue(), - unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), - - // Starting value computation is required for potential unit mismatches - initialInUnit = ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && - rcssNum.exec( jQuery.css( elem, prop ) ); - - if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { - - // Trust units reported by jQuery.css - unit = unit || initialInUnit[ 3 ]; - - // Make sure we update the tween properties later on - valueParts = valueParts || []; - - // Iteratively approximate from a nonzero starting point - initialInUnit = +initial || 1; - - do { - - // If previous iteration zeroed out, double until we get *something*. - // Use string for doubling so we don't accidentally see scale as unchanged below - scale = scale || ".5"; - - // Adjust and apply - initialInUnit = initialInUnit / scale; - jQuery.style( elem, prop, initialInUnit + unit ); - - // Update scale, tolerating zero or NaN from tween.cur() - // Break the loop if scale is unchanged or perfect, or if we've just had enough. - } while ( - scale !== ( scale = currentValue() / initial ) && scale !== 1 && --maxIterations - ); - } - - if ( valueParts ) { - initialInUnit = +initialInUnit || +initial || 0; - - // Apply relative offset (+=/-=) if specified - adjusted = valueParts[ 1 ] ? - initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : - +valueParts[ 2 ]; - if ( tween ) { - tween.unit = unit; - tween.start = initialInUnit; - tween.end = adjusted; - } - } - return adjusted; -} - -return adjustCSS; -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/css/curCSS.js b/minionlivesmatter/templates/assets/jquery/src/css/curCSS.js deleted file mode 100644 index 084f8c7..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/css/curCSS.js +++ /dev/null @@ -1,60 +0,0 @@ -define( [ - "../core", - "./var/rnumnonpx", - "./var/rmargin", - "./var/getStyles", - "./support", - "../selector" // Get jQuery.contains -], function( jQuery, rnumnonpx, rmargin, getStyles, support ) { - -function curCSS( elem, name, computed ) { - var width, minWidth, maxWidth, ret, - style = elem.style; - - computed = computed || getStyles( elem ); - ret = computed ? computed.getPropertyValue( name ) || computed[ name ] : undefined; - - // Support: Opera 12.1x only - // Fall back to style even without computed - // computed is undefined for elems on document fragments - if ( ( ret === "" || ret === undefined ) && !jQuery.contains( elem.ownerDocument, elem ) ) { - ret = jQuery.style( elem, name ); - } - - // Support: IE9 - // getPropertyValue is only needed for .css('filter') (#12537) - if ( computed ) { - - // A tribute to the "awesome hack by Dean Edwards" - // Android Browser returns percentage for some values, - // but width seems to be reliably pixels. - // This is against the CSSOM draft spec: - // http://dev.w3.org/csswg/cssom/#resolved-values - if ( !support.pixelMarginRight() && rnumnonpx.test( ret ) && rmargin.test( name ) ) { - - // Remember the original values - width = style.width; - minWidth = style.minWidth; - maxWidth = style.maxWidth; - - // Put in the new values to get a computed value out - style.minWidth = style.maxWidth = style.width = ret; - ret = computed.width; - - // Revert the changed values - style.width = width; - style.minWidth = minWidth; - style.maxWidth = maxWidth; - } - } - - return ret !== undefined ? - - // Support: IE9-11+ - // IE returns zIndex value as an integer. - ret + "" : - ret; -} - -return curCSS; -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/css/defaultDisplay.js b/minionlivesmatter/templates/assets/jquery/src/css/defaultDisplay.js deleted file mode 100644 index b1fb577..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/css/defaultDisplay.js +++ /dev/null @@ -1,72 +0,0 @@ -define( [ - "../core", - "../var/document", - "../manipulation" // appendTo -], function( jQuery, document ) { - -var iframe, - elemdisplay = { - - // Support: Firefox - // We have to pre-define these values for FF (#10227) - HTML: "block", - BODY: "block" - }; - -/** - * Retrieve the actual display of a element - * @param {String} name nodeName of the element - * @param {Object} doc Document object - */ - -// Called only from within defaultDisplay -function actualDisplay( name, doc ) { - var elem = jQuery( doc.createElement( name ) ).appendTo( doc.body ), - - display = jQuery.css( elem[ 0 ], "display" ); - - // We don't have any data stored on the element, - // so use "detach" method as fast way to get rid of the element - elem.detach(); - - return display; -} - -/** - * Try to determine the default display value of an element - * @param {String} nodeName - */ -function defaultDisplay( nodeName ) { - var doc = document, - display = elemdisplay[ nodeName ]; - - if ( !display ) { - display = actualDisplay( nodeName, doc ); - - // If the simple way fails, read from inside an iframe - if ( display === "none" || !display ) { - - // Use the already-created iframe if possible - iframe = ( iframe || jQuery( "<iframe frameborder='0' width='0' height='0'/>" ) ) - .appendTo( doc.documentElement ); - - // Always write a new HTML skeleton so Webkit and Firefox don't choke on reuse - doc = iframe[ 0 ].contentDocument; - - // Support: IE - doc.write(); - doc.close(); - - display = actualDisplay( nodeName, doc ); - iframe.detach(); - } - - // Store the correct default display - elemdisplay[ nodeName ] = display; - } - - return display; -} - -return defaultDisplay; -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/css/hiddenVisibleSelectors.js b/minionlivesmatter/templates/assets/jquery/src/css/hiddenVisibleSelectors.js deleted file mode 100644 index cf0955d..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/css/hiddenVisibleSelectors.js +++ /dev/null @@ -1,18 +0,0 @@ -define( [ - "../core", - "../selector" -], function( jQuery ) { - -jQuery.expr.filters.hidden = function( elem ) { - return !jQuery.expr.filters.visible( elem ); -}; -jQuery.expr.filters.visible = function( elem ) { - - // Support: Opera <= 12.12 - // Opera reports offsetWidths and offsetHeights less than zero on some elements - // Use OR instead of AND as the element is not visible if either is true - // See tickets #10406 and #13132 - return elem.offsetWidth > 0 || elem.offsetHeight > 0 || elem.getClientRects().length > 0; -}; - -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/css/showHide.js b/minionlivesmatter/templates/assets/jquery/src/css/showHide.js deleted file mode 100644 index 35e15bd..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/css/showHide.js +++ /dev/null @@ -1,48 +0,0 @@ -define( [ - "../data/var/dataPriv" -], function( dataPriv ) { - -function showHide( elements, show ) { - var display, elem, - values = [], - index = 0, - length = elements.length; - - // Determine new display value for elements that need to change - for ( ; index < length; index++ ) { - elem = elements[ index ]; - if ( !elem.style ) { - continue; - } - - display = elem.style.display; - if ( show ) { - if ( display === "none" ) { - - // Restore a pre-hide() value if we have one - values[ index ] = dataPriv.get( elem, "display" ) || ""; - } - } else { - if ( display !== "none" ) { - values[ index ] = "none"; - - // Remember the value we're replacing - dataPriv.set( elem, "display", display ); - } - } - } - - // Set the display of the elements in a second loop - // to avoid the constant reflow - for ( index = 0; index < length; index++ ) { - if ( values[ index ] != null ) { - elements[ index ].style.display = values[ index ]; - } - } - - return elements; -} - -return showHide; - -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/css/support.js b/minionlivesmatter/templates/assets/jquery/src/css/support.js deleted file mode 100644 index 7e6e513..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/css/support.js +++ /dev/null @@ -1,121 +0,0 @@ -define( [ - "../core", - "../var/document", - "../var/documentElement", - "../var/support" -], function( jQuery, document, documentElement, support ) { - -( function() { - var pixelPositionVal, boxSizingReliableVal, pixelMarginRightVal, reliableMarginLeftVal, - container = document.createElement( "div" ), - div = document.createElement( "div" ); - - // Finish early in limited (non-browser) environments - if ( !div.style ) { - return; - } - - // Support: IE9-11+ - // Style of cloned element affects source element cloned (#8908) - div.style.backgroundClip = "content-box"; - div.cloneNode( true ).style.backgroundClip = ""; - support.clearCloneStyle = div.style.backgroundClip === "content-box"; - - container.style.cssText = "border:0;width:8px;height:0;top:0;left:-9999px;" + - "padding:0;margin-top:1px;position:absolute"; - container.appendChild( div ); - - // Executing both pixelPosition & boxSizingReliable tests require only one layout - // so they're executed at the same time to save the second computation. - function computeStyleTests() { - div.style.cssText = - - // Support: Firefox<29, Android 2.3 - // Vendor-prefix box-sizing - "-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;" + - "position:relative;display:block;" + - "margin:auto;border:1px;padding:1px;" + - "top:1%;width:50%"; - div.innerHTML = ""; - documentElement.appendChild( container ); - - var divStyle = window.getComputedStyle( div ); - pixelPositionVal = divStyle.top !== "1%"; - reliableMarginLeftVal = divStyle.marginLeft === "2px"; - boxSizingReliableVal = divStyle.width === "4px"; - - // Support: Android 4.0 - 4.3 only - // Some styles come back with percentage values, even though they shouldn't - div.style.marginRight = "50%"; - pixelMarginRightVal = divStyle.marginRight === "4px"; - - documentElement.removeChild( container ); - } - - jQuery.extend( support, { - pixelPosition: function() { - - // This test is executed only once but we still do memoizing - // since we can use the boxSizingReliable pre-computing. - // No need to check if the test was already performed, though. - computeStyleTests(); - return pixelPositionVal; - }, - boxSizingReliable: function() { - if ( boxSizingReliableVal == null ) { - computeStyleTests(); - } - return boxSizingReliableVal; - }, - pixelMarginRight: function() { - - // Support: Android 4.0-4.3 - // We're checking for boxSizingReliableVal here instead of pixelMarginRightVal - // since that compresses better and they're computed together anyway. - if ( boxSizingReliableVal == null ) { - computeStyleTests(); - } - return pixelMarginRightVal; - }, - reliableMarginLeft: function() { - - // Support: IE <=8 only, Android 4.0 - 4.3 only, Firefox <=3 - 37 - if ( boxSizingReliableVal == null ) { - computeStyleTests(); - } - return reliableMarginLeftVal; - }, - reliableMarginRight: function() { - - // Support: Android 2.3 - // Check if div with explicit width and no margin-right incorrectly - // gets computed margin-right based on width of container. (#3333) - // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right - // This support function is only executed once so no memoizing is needed. - var ret, - marginDiv = div.appendChild( document.createElement( "div" ) ); - - // Reset CSS: box-sizing; display; margin; border; padding - marginDiv.style.cssText = div.style.cssText = - - // Support: Android 2.3 - // Vendor-prefix box-sizing - "-webkit-box-sizing:content-box;box-sizing:content-box;" + - "display:block;margin:0;border:0;padding:0"; - marginDiv.style.marginRight = marginDiv.style.width = "0"; - div.style.width = "1px"; - documentElement.appendChild( container ); - - ret = !parseFloat( window.getComputedStyle( marginDiv ).marginRight ); - - documentElement.removeChild( container ); - div.removeChild( marginDiv ); - - return ret; - } - } ); -} )(); - -return support; - -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/data.js b/minionlivesmatter/templates/assets/jquery/src/data.js deleted file mode 100644 index b626fda..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/data.js +++ /dev/null @@ -1,187 +0,0 @@ -define( [ - "./core", - "./core/access", - "./data/var/dataPriv", - "./data/var/dataUser" -], function( jQuery, access, dataPriv, dataUser ) { - -// Implementation Summary -// -// 1. Enforce API surface and semantic compatibility with 1.9.x branch -// 2. Improve the module's maintainability by reducing the storage -// paths to a single mechanism. -// 3. Use the same single mechanism to support "private" and "user" data. -// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) -// 5. Avoid exposing implementation details on user objects (eg. expando properties) -// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 - -var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, - rmultiDash = /[A-Z]/g; - -function dataAttr( elem, key, data ) { - var name; - - // If nothing was found internally, try to fetch any - // data from the HTML5 data-* attribute - if ( data === undefined && elem.nodeType === 1 ) { - name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); - data = elem.getAttribute( name ); - - if ( typeof data === "string" ) { - try { - data = data === "true" ? true : - data === "false" ? false : - data === "null" ? null : - - // Only convert to a number if it doesn't change the string - +data + "" === data ? +data : - rbrace.test( data ) ? jQuery.parseJSON( data ) : - data; - } catch ( e ) {} - - // Make sure we set the data so it isn't changed later - dataUser.set( elem, key, data ); - } else { - data = undefined; - } - } - return data; -} - -jQuery.extend( { - hasData: function( elem ) { - return dataUser.hasData( elem ) || dataPriv.hasData( elem ); - }, - - data: function( elem, name, data ) { - return dataUser.access( elem, name, data ); - }, - - removeData: function( elem, name ) { - dataUser.remove( elem, name ); - }, - - // TODO: Now that all calls to _data and _removeData have been replaced - // with direct calls to dataPriv methods, these can be deprecated. - _data: function( elem, name, data ) { - return dataPriv.access( elem, name, data ); - }, - - _removeData: function( elem, name ) { - dataPriv.remove( elem, name ); - } -} ); - -jQuery.fn.extend( { - data: function( key, value ) { - var i, name, data, - elem = this[ 0 ], - attrs = elem && elem.attributes; - - // Gets all values - if ( key === undefined ) { - if ( this.length ) { - data = dataUser.get( elem ); - - if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { - i = attrs.length; - while ( i-- ) { - - // Support: IE11+ - // The attrs elements can be null (#14894) - if ( attrs[ i ] ) { - name = attrs[ i ].name; - if ( name.indexOf( "data-" ) === 0 ) { - name = jQuery.camelCase( name.slice( 5 ) ); - dataAttr( elem, name, data[ name ] ); - } - } - } - dataPriv.set( elem, "hasDataAttrs", true ); - } - } - - return data; - } - - // Sets multiple values - if ( typeof key === "object" ) { - return this.each( function() { - dataUser.set( this, key ); - } ); - } - - return access( this, function( value ) { - var data, camelKey; - - // The calling jQuery object (element matches) is not empty - // (and therefore has an element appears at this[ 0 ]) and the - // `value` parameter was not undefined. An empty jQuery object - // will result in `undefined` for elem = this[ 0 ] which will - // throw an exception if an attempt to read a data cache is made. - if ( elem && value === undefined ) { - - // Attempt to get data from the cache - // with the key as-is - data = dataUser.get( elem, key ) || - - // Try to find dashed key if it exists (gh-2779) - // This is for 2.2.x only - dataUser.get( elem, key.replace( rmultiDash, "-$&" ).toLowerCase() ); - - if ( data !== undefined ) { - return data; - } - - camelKey = jQuery.camelCase( key ); - - // Attempt to get data from the cache - // with the key camelized - data = dataUser.get( elem, camelKey ); - if ( data !== undefined ) { - return data; - } - - // Attempt to "discover" the data in - // HTML5 custom data-* attrs - data = dataAttr( elem, camelKey, undefined ); - if ( data !== undefined ) { - return data; - } - - // We tried really hard, but the data doesn't exist. - return; - } - - // Set the data... - camelKey = jQuery.camelCase( key ); - this.each( function() { - - // First, attempt to store a copy or reference of any - // data that might've been store with a camelCased key. - var data = dataUser.get( this, camelKey ); - - // For HTML5 data-* attribute interop, we have to - // store property names with dashes in a camelCase form. - // This might not apply to all properties...* - dataUser.set( this, camelKey, value ); - - // *... In the case of properties that might _actually_ - // have dashes, we need to also store a copy of that - // unchanged property. - if ( key.indexOf( "-" ) > -1 && data !== undefined ) { - dataUser.set( this, key, value ); - } - } ); - }, null, value, arguments.length > 1, null, true ); - }, - - removeData: function( key ) { - return this.each( function() { - dataUser.remove( this, key ); - } ); - } -} ); - -return jQuery; -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/data/Data.js b/minionlivesmatter/templates/assets/jquery/src/data/Data.js deleted file mode 100644 index 0e29c1f..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/data/Data.js +++ /dev/null @@ -1,200 +0,0 @@ -define( [ - "../core", - "../var/rnotwhite", - "./var/acceptData" -], function( jQuery, rnotwhite, acceptData ) { - -function Data() { - this.expando = jQuery.expando + Data.uid++; -} - -Data.uid = 1; - -Data.prototype = { - - register: function( owner, initial ) { - var value = initial || {}; - - // If it is a node unlikely to be stringify-ed or looped over - // use plain assignment - if ( owner.nodeType ) { - owner[ this.expando ] = value; - - // Otherwise secure it in a non-enumerable, non-writable property - // configurability must be true to allow the property to be - // deleted with the delete operator - } else { - Object.defineProperty( owner, this.expando, { - value: value, - writable: true, - configurable: true - } ); - } - return owner[ this.expando ]; - }, - cache: function( owner ) { - - // We can accept data for non-element nodes in modern browsers, - // but we should not, see #8335. - // Always return an empty object. - if ( !acceptData( owner ) ) { - return {}; - } - - // Check if the owner object already has a cache - var value = owner[ this.expando ]; - - // If not, create one - if ( !value ) { - value = {}; - - // We can accept data for non-element nodes in modern browsers, - // but we should not, see #8335. - // Always return an empty object. - if ( acceptData( owner ) ) { - - // If it is a node unlikely to be stringify-ed or looped over - // use plain assignment - if ( owner.nodeType ) { - owner[ this.expando ] = value; - - // Otherwise secure it in a non-enumerable property - // configurable must be true to allow the property to be - // deleted when data is removed - } else { - Object.defineProperty( owner, this.expando, { - value: value, - configurable: true - } ); - } - } - } - - return value; - }, - set: function( owner, data, value ) { - var prop, - cache = this.cache( owner ); - - // Handle: [ owner, key, value ] args - if ( typeof data === "string" ) { - cache[ data ] = value; - - // Handle: [ owner, { properties } ] args - } else { - - // Copy the properties one-by-one to the cache object - for ( prop in data ) { - cache[ prop ] = data[ prop ]; - } - } - return cache; - }, - get: function( owner, key ) { - return key === undefined ? - this.cache( owner ) : - owner[ this.expando ] && owner[ this.expando ][ key ]; - }, - access: function( owner, key, value ) { - var stored; - - // In cases where either: - // - // 1. No key was specified - // 2. A string key was specified, but no value provided - // - // Take the "read" path and allow the get method to determine - // which value to return, respectively either: - // - // 1. The entire cache object - // 2. The data stored at the key - // - if ( key === undefined || - ( ( key && typeof key === "string" ) && value === undefined ) ) { - - stored = this.get( owner, key ); - - return stored !== undefined ? - stored : this.get( owner, jQuery.camelCase( key ) ); - } - - // When the key is not a string, or both a key and value - // are specified, set or extend (existing objects) with either: - // - // 1. An object of properties - // 2. A key and value - // - this.set( owner, key, value ); - - // Since the "set" path can have two possible entry points - // return the expected data based on which path was taken[*] - return value !== undefined ? value : key; - }, - remove: function( owner, key ) { - var i, name, camel, - cache = owner[ this.expando ]; - - if ( cache === undefined ) { - return; - } - - if ( key === undefined ) { - this.register( owner ); - - } else { - - // Support array or space separated string of keys - if ( jQuery.isArray( key ) ) { - - // If "name" is an array of keys... - // When data is initially created, via ("key", "val") signature, - // keys will be converted to camelCase. - // Since there is no way to tell _how_ a key was added, remove - // both plain key and camelCase key. #12786 - // This will only penalize the array argument path. - name = key.concat( key.map( jQuery.camelCase ) ); - } else { - camel = jQuery.camelCase( key ); - - // Try the string as a key before any manipulation - if ( key in cache ) { - name = [ key, camel ]; - } else { - - // If a key with the spaces exists, use it. - // Otherwise, create an array by matching non-whitespace - name = camel; - name = name in cache ? - [ name ] : ( name.match( rnotwhite ) || [] ); - } - } - - i = name.length; - - while ( i-- ) { - delete cache[ name[ i ] ]; - } - } - - // Remove the expando if there's no more data - if ( key === undefined || jQuery.isEmptyObject( cache ) ) { - - // Support: Chrome <= 35-45+ - // Webkit & Blink performance suffers when deleting properties - // from DOM nodes, so set to undefined instead - // https://code.google.com/p/chromium/issues/detail?id=378607 - if ( owner.nodeType ) { - owner[ this.expando ] = undefined; - } else { - delete owner[ this.expando ]; - } - } - }, - hasData: function( owner ) { - var cache = owner[ this.expando ]; - return cache !== undefined && !jQuery.isEmptyObject( cache ); - } -}; - -return Data; -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/deferred.js b/minionlivesmatter/templates/assets/jquery/src/deferred.js deleted file mode 100644 index d2cd608..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/deferred.js +++ /dev/null @@ -1,158 +0,0 @@ -define( [ - "./core", - "./var/slice", - "./callbacks" -], function( jQuery, slice ) { - -jQuery.extend( { - - Deferred: function( func ) { - var tuples = [ - - // action, add listener, listener list, final state - [ "resolve", "done", jQuery.Callbacks( "once memory" ), "resolved" ], - [ "reject", "fail", jQuery.Callbacks( "once memory" ), "rejected" ], - [ "notify", "progress", jQuery.Callbacks( "memory" ) ] - ], - state = "pending", - promise = { - state: function() { - return state; - }, - always: function() { - deferred.done( arguments ).fail( arguments ); - return this; - }, - then: function( /* fnDone, fnFail, fnProgress */ ) { - var fns = arguments; - return jQuery.Deferred( function( newDefer ) { - jQuery.each( tuples, function( i, tuple ) { - var fn = jQuery.isFunction( fns[ i ] ) && fns[ i ]; - - // deferred[ done | fail | progress ] for forwarding actions to newDefer - deferred[ tuple[ 1 ] ]( function() { - var returned = fn && fn.apply( this, arguments ); - if ( returned && jQuery.isFunction( returned.promise ) ) { - returned.promise() - .progress( newDefer.notify ) - .done( newDefer.resolve ) - .fail( newDefer.reject ); - } else { - newDefer[ tuple[ 0 ] + "With" ]( - this === promise ? newDefer.promise() : this, - fn ? [ returned ] : arguments - ); - } - } ); - } ); - fns = null; - } ).promise(); - }, - - // Get a promise for this deferred - // If obj is provided, the promise aspect is added to the object - promise: function( obj ) { - return obj != null ? jQuery.extend( obj, promise ) : promise; - } - }, - deferred = {}; - - // Keep pipe for back-compat - promise.pipe = promise.then; - - // Add list-specific methods - jQuery.each( tuples, function( i, tuple ) { - var list = tuple[ 2 ], - stateString = tuple[ 3 ]; - - // promise[ done | fail | progress ] = list.add - promise[ tuple[ 1 ] ] = list.add; - - // Handle state - if ( stateString ) { - list.add( function() { - - // state = [ resolved | rejected ] - state = stateString; - - // [ reject_list | resolve_list ].disable; progress_list.lock - }, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock ); - } - - // deferred[ resolve | reject | notify ] - deferred[ tuple[ 0 ] ] = function() { - deferred[ tuple[ 0 ] + "With" ]( this === deferred ? promise : this, arguments ); - return this; - }; - deferred[ tuple[ 0 ] + "With" ] = list.fireWith; - } ); - - // Make the deferred a promise - promise.promise( deferred ); - - // Call given func if any - if ( func ) { - func.call( deferred, deferred ); - } - - // All done! - return deferred; - }, - - // Deferred helper - when: function( subordinate /* , ..., subordinateN */ ) { - var i = 0, - resolveValues = slice.call( arguments ), - length = resolveValues.length, - - // the count of uncompleted subordinates - remaining = length !== 1 || - ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0, - - // the master Deferred. - // If resolveValues consist of only a single Deferred, just use that. - deferred = remaining === 1 ? subordinate : jQuery.Deferred(), - - // Update function for both resolve and progress values - updateFunc = function( i, contexts, values ) { - return function( value ) { - contexts[ i ] = this; - values[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; - if ( values === progressValues ) { - deferred.notifyWith( contexts, values ); - } else if ( !( --remaining ) ) { - deferred.resolveWith( contexts, values ); - } - }; - }, - - progressValues, progressContexts, resolveContexts; - - // Add listeners to Deferred subordinates; treat others as resolved - if ( length > 1 ) { - progressValues = new Array( length ); - progressContexts = new Array( length ); - resolveContexts = new Array( length ); - for ( ; i < length; i++ ) { - if ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) { - resolveValues[ i ].promise() - .progress( updateFunc( i, progressContexts, progressValues ) ) - .done( updateFunc( i, resolveContexts, resolveValues ) ) - .fail( deferred.reject ); - } else { - --remaining; - } - } - } - - // If we're not waiting on anything, resolve the master - if ( !remaining ) { - deferred.resolveWith( resolveContexts, resolveValues ); - } - - return deferred.promise(); - } -} ); - -return jQuery; -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/deprecated.js b/minionlivesmatter/templates/assets/jquery/src/deprecated.js deleted file mode 100644 index c829890..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/deprecated.js +++ /dev/null @@ -1,32 +0,0 @@ -define( [ - "./core" -], function( jQuery ) { - -jQuery.fn.extend( { - - bind: function( types, data, fn ) { - return this.on( types, null, data, fn ); - }, - unbind: function( types, fn ) { - return this.off( types, null, fn ); - }, - - delegate: function( selector, types, data, fn ) { - return this.on( types, selector, data, fn ); - }, - undelegate: function( selector, types, fn ) { - - // ( namespace ) or ( selector, types [, fn] ) - return arguments.length === 1 ? - this.off( selector, "**" ) : - this.off( types, selector || "**", fn ); - }, - size: function() { - return this.length; - } -} ); - -jQuery.fn.andSelf = jQuery.fn.addBack; - -} ); - diff --git a/minionlivesmatter/templates/assets/jquery/src/dimensions.js b/minionlivesmatter/templates/assets/jquery/src/dimensions.js deleted file mode 100644 index 30b55fb..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/dimensions.js +++ /dev/null @@ -1,54 +0,0 @@ -define( [ - "./core", - "./core/access", - "./css" -], function( jQuery, access ) { - -// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods -jQuery.each( { Height: "height", Width: "width" }, function( name, type ) { - jQuery.each( { padding: "inner" + name, content: type, "": "outer" + name }, - function( defaultExtra, funcName ) { - - // Margin is only for outerHeight, outerWidth - jQuery.fn[ funcName ] = function( margin, value ) { - var chainable = arguments.length && ( defaultExtra || typeof margin !== "boolean" ), - extra = defaultExtra || ( margin === true || value === true ? "margin" : "border" ); - - return access( this, function( elem, type, value ) { - var doc; - - if ( jQuery.isWindow( elem ) ) { - - // As of 5/8/2012 this will yield incorrect results for Mobile Safari, but there - // isn't a whole lot we can do. See pull request at this URL for discussion: - // https://github.com/jquery/jquery/pull/764 - return elem.document.documentElement[ "client" + name ]; - } - - // Get document width or height - if ( elem.nodeType === 9 ) { - doc = elem.documentElement; - - // Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height], - // whichever is greatest - return Math.max( - elem.body[ "scroll" + name ], doc[ "scroll" + name ], - elem.body[ "offset" + name ], doc[ "offset" + name ], - doc[ "client" + name ] - ); - } - - return value === undefined ? - - // Get width or height on the element, requesting but not forcing parseFloat - jQuery.css( elem, type, extra ) : - - // Set width or height on the element - jQuery.style( elem, type, value, extra ); - }, type, chainable ? margin : undefined, chainable, null ); - }; - } ); -} ); - -return jQuery; -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/effects.js b/minionlivesmatter/templates/assets/jquery/src/effects.js deleted file mode 100644 index 178fa42..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/effects.js +++ /dev/null @@ -1,629 +0,0 @@ -define( [ - "./core", - "./var/document", - "./var/rcssNum", - "./css/var/cssExpand", - "./var/rnotwhite", - "./css/var/isHidden", - "./css/adjustCSS", - "./css/defaultDisplay", - "./data/var/dataPriv", - - "./core/init", - "./effects/Tween", - "./queue", - "./css", - "./deferred", - "./traversing" -], function( jQuery, document, rcssNum, cssExpand, rnotwhite, - isHidden, adjustCSS, defaultDisplay, dataPriv ) { - -var - fxNow, timerId, - rfxtypes = /^(?:toggle|show|hide)$/, - rrun = /queueHooks$/; - -// Animations created synchronously will run synchronously -function createFxNow() { - window.setTimeout( function() { - fxNow = undefined; - } ); - return ( fxNow = jQuery.now() ); -} - -// Generate parameters to create a standard animation -function genFx( type, includeWidth ) { - var which, - i = 0, - attrs = { height: type }; - - // If we include width, step value is 1 to do all cssExpand values, - // otherwise step value is 2 to skip over Left and Right - includeWidth = includeWidth ? 1 : 0; - for ( ; i < 4 ; i += 2 - includeWidth ) { - which = cssExpand[ i ]; - attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; - } - - if ( includeWidth ) { - attrs.opacity = attrs.width = type; - } - - return attrs; -} - -function createTween( value, prop, animation ) { - var tween, - collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), - index = 0, - length = collection.length; - for ( ; index < length; index++ ) { - if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { - - // We're done with this property - return tween; - } - } -} - -function defaultPrefilter( elem, props, opts ) { - /* jshint validthis: true */ - var prop, value, toggle, tween, hooks, oldfire, display, checkDisplay, - anim = this, - orig = {}, - style = elem.style, - hidden = elem.nodeType && isHidden( elem ), - dataShow = dataPriv.get( elem, "fxshow" ); - - // Handle queue: false promises - if ( !opts.queue ) { - hooks = jQuery._queueHooks( elem, "fx" ); - if ( hooks.unqueued == null ) { - hooks.unqueued = 0; - oldfire = hooks.empty.fire; - hooks.empty.fire = function() { - if ( !hooks.unqueued ) { - oldfire(); - } - }; - } - hooks.unqueued++; - - anim.always( function() { - - // Ensure the complete handler is called before this completes - anim.always( function() { - hooks.unqueued--; - if ( !jQuery.queue( elem, "fx" ).length ) { - hooks.empty.fire(); - } - } ); - } ); - } - - // Height/width overflow pass - if ( elem.nodeType === 1 && ( "height" in props || "width" in props ) ) { - - // Make sure that nothing sneaks out - // Record all 3 overflow attributes because IE9-10 do not - // change the overflow attribute when overflowX and - // overflowY are set to the same value - opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; - - // Set display property to inline-block for height/width - // animations on inline elements that are having width/height animated - display = jQuery.css( elem, "display" ); - - // Test default display if display is currently "none" - checkDisplay = display === "none" ? - dataPriv.get( elem, "olddisplay" ) || defaultDisplay( elem.nodeName ) : display; - - if ( checkDisplay === "inline" && jQuery.css( elem, "float" ) === "none" ) { - style.display = "inline-block"; - } - } - - if ( opts.overflow ) { - style.overflow = "hidden"; - anim.always( function() { - style.overflow = opts.overflow[ 0 ]; - style.overflowX = opts.overflow[ 1 ]; - style.overflowY = opts.overflow[ 2 ]; - } ); - } - - // show/hide pass - for ( prop in props ) { - value = props[ prop ]; - if ( rfxtypes.exec( value ) ) { - delete props[ prop ]; - toggle = toggle || value === "toggle"; - if ( value === ( hidden ? "hide" : "show" ) ) { - - // If there is dataShow left over from a stopped hide or show - // and we are going to proceed with show, we should pretend to be hidden - if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { - hidden = true; - } else { - continue; - } - } - orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); - - // Any non-fx value stops us from restoring the original display value - } else { - display = undefined; - } - } - - if ( !jQuery.isEmptyObject( orig ) ) { - if ( dataShow ) { - if ( "hidden" in dataShow ) { - hidden = dataShow.hidden; - } - } else { - dataShow = dataPriv.access( elem, "fxshow", {} ); - } - - // Store state if its toggle - enables .stop().toggle() to "reverse" - if ( toggle ) { - dataShow.hidden = !hidden; - } - if ( hidden ) { - jQuery( elem ).show(); - } else { - anim.done( function() { - jQuery( elem ).hide(); - } ); - } - anim.done( function() { - var prop; - - dataPriv.remove( elem, "fxshow" ); - for ( prop in orig ) { - jQuery.style( elem, prop, orig[ prop ] ); - } - } ); - for ( prop in orig ) { - tween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); - - if ( !( prop in dataShow ) ) { - dataShow[ prop ] = tween.start; - if ( hidden ) { - tween.end = tween.start; - tween.start = prop === "width" || prop === "height" ? 1 : 0; - } - } - } - - // If this is a noop like .hide().hide(), restore an overwritten display value - } else if ( ( display === "none" ? defaultDisplay( elem.nodeName ) : display ) === "inline" ) { - style.display = display; - } -} - -function propFilter( props, specialEasing ) { - var index, name, easing, value, hooks; - - // camelCase, specialEasing and expand cssHook pass - for ( index in props ) { - name = jQuery.camelCase( index ); - easing = specialEasing[ name ]; - value = props[ index ]; - if ( jQuery.isArray( value ) ) { - easing = value[ 1 ]; - value = props[ index ] = value[ 0 ]; - } - - if ( index !== name ) { - props[ name ] = value; - delete props[ index ]; - } - - hooks = jQuery.cssHooks[ name ]; - if ( hooks && "expand" in hooks ) { - value = hooks.expand( value ); - delete props[ name ]; - - // Not quite $.extend, this won't overwrite existing keys. - // Reusing 'index' because we have the correct "name" - for ( index in value ) { - if ( !( index in props ) ) { - props[ index ] = value[ index ]; - specialEasing[ index ] = easing; - } - } - } else { - specialEasing[ name ] = easing; - } - } -} - -function Animation( elem, properties, options ) { - var result, - stopped, - index = 0, - length = Animation.prefilters.length, - deferred = jQuery.Deferred().always( function() { - - // Don't match elem in the :animated selector - delete tick.elem; - } ), - tick = function() { - if ( stopped ) { - return false; - } - var currentTime = fxNow || createFxNow(), - remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), - - // Support: Android 2.3 - // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) - temp = remaining / animation.duration || 0, - percent = 1 - temp, - index = 0, - length = animation.tweens.length; - - for ( ; index < length ; index++ ) { - animation.tweens[ index ].run( percent ); - } - - deferred.notifyWith( elem, [ animation, percent, remaining ] ); - - if ( percent < 1 && length ) { - return remaining; - } else { - deferred.resolveWith( elem, [ animation ] ); - return false; - } - }, - animation = deferred.promise( { - elem: elem, - props: jQuery.extend( {}, properties ), - opts: jQuery.extend( true, { - specialEasing: {}, - easing: jQuery.easing._default - }, options ), - originalProperties: properties, - originalOptions: options, - startTime: fxNow || createFxNow(), - duration: options.duration, - tweens: [], - createTween: function( prop, end ) { - var tween = jQuery.Tween( elem, animation.opts, prop, end, - animation.opts.specialEasing[ prop ] || animation.opts.easing ); - animation.tweens.push( tween ); - return tween; - }, - stop: function( gotoEnd ) { - var index = 0, - - // If we are going to the end, we want to run all the tweens - // otherwise we skip this part - length = gotoEnd ? animation.tweens.length : 0; - if ( stopped ) { - return this; - } - stopped = true; - for ( ; index < length ; index++ ) { - animation.tweens[ index ].run( 1 ); - } - - // Resolve when we played the last frame; otherwise, reject - if ( gotoEnd ) { - deferred.notifyWith( elem, [ animation, 1, 0 ] ); - deferred.resolveWith( elem, [ animation, gotoEnd ] ); - } else { - deferred.rejectWith( elem, [ animation, gotoEnd ] ); - } - return this; - } - } ), - props = animation.props; - - propFilter( props, animation.opts.specialEasing ); - - for ( ; index < length ; index++ ) { - result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); - if ( result ) { - if ( jQuery.isFunction( result.stop ) ) { - jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = - jQuery.proxy( result.stop, result ); - } - return result; - } - } - - jQuery.map( props, createTween, animation ); - - if ( jQuery.isFunction( animation.opts.start ) ) { - animation.opts.start.call( elem, animation ); - } - - jQuery.fx.timer( - jQuery.extend( tick, { - elem: elem, - anim: animation, - queue: animation.opts.queue - } ) - ); - - // attach callbacks from options - return animation.progress( animation.opts.progress ) - .done( animation.opts.done, animation.opts.complete ) - .fail( animation.opts.fail ) - .always( animation.opts.always ); -} - -jQuery.Animation = jQuery.extend( Animation, { - tweeners: { - "*": [ function( prop, value ) { - var tween = this.createTween( prop, value ); - adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); - return tween; - } ] - }, - - tweener: function( props, callback ) { - if ( jQuery.isFunction( props ) ) { - callback = props; - props = [ "*" ]; - } else { - props = props.match( rnotwhite ); - } - - var prop, - index = 0, - length = props.length; - - for ( ; index < length ; index++ ) { - prop = props[ index ]; - Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; - Animation.tweeners[ prop ].unshift( callback ); - } - }, - - prefilters: [ defaultPrefilter ], - - prefilter: function( callback, prepend ) { - if ( prepend ) { - Animation.prefilters.unshift( callback ); - } else { - Animation.prefilters.push( callback ); - } - } -} ); - -jQuery.speed = function( speed, easing, fn ) { - var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { - complete: fn || !fn && easing || - jQuery.isFunction( speed ) && speed, - duration: speed, - easing: fn && easing || easing && !jQuery.isFunction( easing ) && easing - }; - - opt.duration = jQuery.fx.off ? 0 : typeof opt.duration === "number" ? - opt.duration : opt.duration in jQuery.fx.speeds ? - jQuery.fx.speeds[ opt.duration ] : jQuery.fx.speeds._default; - - // Normalize opt.queue - true/undefined/null -> "fx" - if ( opt.queue == null || opt.queue === true ) { - opt.queue = "fx"; - } - - // Queueing - opt.old = opt.complete; - - opt.complete = function() { - if ( jQuery.isFunction( opt.old ) ) { - opt.old.call( this ); - } - - if ( opt.queue ) { - jQuery.dequeue( this, opt.queue ); - } - }; - - return opt; -}; - -jQuery.fn.extend( { - fadeTo: function( speed, to, easing, callback ) { - - // Show any hidden elements after setting opacity to 0 - return this.filter( isHidden ).css( "opacity", 0 ).show() - - // Animate to the value specified - .end().animate( { opacity: to }, speed, easing, callback ); - }, - animate: function( prop, speed, easing, callback ) { - var empty = jQuery.isEmptyObject( prop ), - optall = jQuery.speed( speed, easing, callback ), - doAnimation = function() { - - // Operate on a copy of prop so per-property easing won't be lost - var anim = Animation( this, jQuery.extend( {}, prop ), optall ); - - // Empty animations, or finishing resolves immediately - if ( empty || dataPriv.get( this, "finish" ) ) { - anim.stop( true ); - } - }; - doAnimation.finish = doAnimation; - - return empty || optall.queue === false ? - this.each( doAnimation ) : - this.queue( optall.queue, doAnimation ); - }, - stop: function( type, clearQueue, gotoEnd ) { - var stopQueue = function( hooks ) { - var stop = hooks.stop; - delete hooks.stop; - stop( gotoEnd ); - }; - - if ( typeof type !== "string" ) { - gotoEnd = clearQueue; - clearQueue = type; - type = undefined; - } - if ( clearQueue && type !== false ) { - this.queue( type || "fx", [] ); - } - - return this.each( function() { - var dequeue = true, - index = type != null && type + "queueHooks", - timers = jQuery.timers, - data = dataPriv.get( this ); - - if ( index ) { - if ( data[ index ] && data[ index ].stop ) { - stopQueue( data[ index ] ); - } - } else { - for ( index in data ) { - if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { - stopQueue( data[ index ] ); - } - } - } - - for ( index = timers.length; index--; ) { - if ( timers[ index ].elem === this && - ( type == null || timers[ index ].queue === type ) ) { - - timers[ index ].anim.stop( gotoEnd ); - dequeue = false; - timers.splice( index, 1 ); - } - } - - // Start the next in the queue if the last step wasn't forced. - // Timers currently will call their complete callbacks, which - // will dequeue but only if they were gotoEnd. - if ( dequeue || !gotoEnd ) { - jQuery.dequeue( this, type ); - } - } ); - }, - finish: function( type ) { - if ( type !== false ) { - type = type || "fx"; - } - return this.each( function() { - var index, - data = dataPriv.get( this ), - queue = data[ type + "queue" ], - hooks = data[ type + "queueHooks" ], - timers = jQuery.timers, - length = queue ? queue.length : 0; - - // Enable finishing flag on private data - data.finish = true; - - // Empty the queue first - jQuery.queue( this, type, [] ); - - if ( hooks && hooks.stop ) { - hooks.stop.call( this, true ); - } - - // Look for any active animations, and finish them - for ( index = timers.length; index--; ) { - if ( timers[ index ].elem === this && timers[ index ].queue === type ) { - timers[ index ].anim.stop( true ); - timers.splice( index, 1 ); - } - } - - // Look for any animations in the old queue and finish them - for ( index = 0; index < length; index++ ) { - if ( queue[ index ] && queue[ index ].finish ) { - queue[ index ].finish.call( this ); - } - } - - // Turn off finishing flag - delete data.finish; - } ); - } -} ); - -jQuery.each( [ "toggle", "show", "hide" ], function( i, name ) { - var cssFn = jQuery.fn[ name ]; - jQuery.fn[ name ] = function( speed, easing, callback ) { - return speed == null || typeof speed === "boolean" ? - cssFn.apply( this, arguments ) : - this.animate( genFx( name, true ), speed, easing, callback ); - }; -} ); - -// Generate shortcuts for custom animations -jQuery.each( { - slideDown: genFx( "show" ), - slideUp: genFx( "hide" ), - slideToggle: genFx( "toggle" ), - fadeIn: { opacity: "show" }, - fadeOut: { opacity: "hide" }, - fadeToggle: { opacity: "toggle" } -}, function( name, props ) { - jQuery.fn[ name ] = function( speed, easing, callback ) { - return this.animate( props, speed, easing, callback ); - }; -} ); - -jQuery.timers = []; -jQuery.fx.tick = function() { - var timer, - i = 0, - timers = jQuery.timers; - - fxNow = jQuery.now(); - - for ( ; i < timers.length; i++ ) { - timer = timers[ i ]; - - // Checks the timer has not already been removed - if ( !timer() && timers[ i ] === timer ) { - timers.splice( i--, 1 ); - } - } - - if ( !timers.length ) { - jQuery.fx.stop(); - } - fxNow = undefined; -}; - -jQuery.fx.timer = function( timer ) { - jQuery.timers.push( timer ); - if ( timer() ) { - jQuery.fx.start(); - } else { - jQuery.timers.pop(); - } -}; - -jQuery.fx.interval = 13; -jQuery.fx.start = function() { - if ( !timerId ) { - timerId = window.setInterval( jQuery.fx.tick, jQuery.fx.interval ); - } -}; - -jQuery.fx.stop = function() { - window.clearInterval( timerId ); - - timerId = null; -}; - -jQuery.fx.speeds = { - slow: 600, - fast: 200, - - // Default speed - _default: 400 -}; - -return jQuery; -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/effects/Tween.js b/minionlivesmatter/templates/assets/jquery/src/effects/Tween.js deleted file mode 100644 index d26ddd9..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/effects/Tween.js +++ /dev/null @@ -1,121 +0,0 @@ -define( [ - "../core", - "../css" -], function( jQuery ) { - -function Tween( elem, options, prop, end, easing ) { - return new Tween.prototype.init( elem, options, prop, end, easing ); -} -jQuery.Tween = Tween; - -Tween.prototype = { - constructor: Tween, - init: function( elem, options, prop, end, easing, unit ) { - this.elem = elem; - this.prop = prop; - this.easing = easing || jQuery.easing._default; - this.options = options; - this.start = this.now = this.cur(); - this.end = end; - this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); - }, - cur: function() { - var hooks = Tween.propHooks[ this.prop ]; - - return hooks && hooks.get ? - hooks.get( this ) : - Tween.propHooks._default.get( this ); - }, - run: function( percent ) { - var eased, - hooks = Tween.propHooks[ this.prop ]; - - if ( this.options.duration ) { - this.pos = eased = jQuery.easing[ this.easing ]( - percent, this.options.duration * percent, 0, 1, this.options.duration - ); - } else { - this.pos = eased = percent; - } - this.now = ( this.end - this.start ) * eased + this.start; - - if ( this.options.step ) { - this.options.step.call( this.elem, this.now, this ); - } - - if ( hooks && hooks.set ) { - hooks.set( this ); - } else { - Tween.propHooks._default.set( this ); - } - return this; - } -}; - -Tween.prototype.init.prototype = Tween.prototype; - -Tween.propHooks = { - _default: { - get: function( tween ) { - var result; - - // Use a property on the element directly when it is not a DOM element, - // or when there is no matching style property that exists. - if ( tween.elem.nodeType !== 1 || - tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) { - return tween.elem[ tween.prop ]; - } - - // Passing an empty string as a 3rd parameter to .css will automatically - // attempt a parseFloat and fallback to a string if the parse fails. - // Simple values such as "10px" are parsed to Float; - // complex values such as "rotate(1rad)" are returned as-is. - result = jQuery.css( tween.elem, tween.prop, "" ); - - // Empty strings, null, undefined and "auto" are converted to 0. - return !result || result === "auto" ? 0 : result; - }, - set: function( tween ) { - - // Use step hook for back compat. - // Use cssHook if its there. - // Use .style if available and use plain properties where available. - if ( jQuery.fx.step[ tween.prop ] ) { - jQuery.fx.step[ tween.prop ]( tween ); - } else if ( tween.elem.nodeType === 1 && - ( tween.elem.style[ jQuery.cssProps[ tween.prop ] ] != null || - jQuery.cssHooks[ tween.prop ] ) ) { - jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); - } else { - tween.elem[ tween.prop ] = tween.now; - } - } - } -}; - -// Support: IE9 -// Panic based approach to setting things on disconnected nodes -Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { - set: function( tween ) { - if ( tween.elem.nodeType && tween.elem.parentNode ) { - tween.elem[ tween.prop ] = tween.now; - } - } -}; - -jQuery.easing = { - linear: function( p ) { - return p; - }, - swing: function( p ) { - return 0.5 - Math.cos( p * Math.PI ) / 2; - }, - _default: "swing" -}; - -jQuery.fx = Tween.prototype.init; - -// Back Compat <1.8 extension point -jQuery.fx.step = {}; - -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/effects/animatedSelector.js b/minionlivesmatter/templates/assets/jquery/src/effects/animatedSelector.js deleted file mode 100644 index d84c9c7..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/effects/animatedSelector.js +++ /dev/null @@ -1,13 +0,0 @@ -define( [ - "../core", - "../selector", - "../effects" -], function( jQuery ) { - -jQuery.expr.filters.animated = function( elem ) { - return jQuery.grep( jQuery.timers, function( fn ) { - return elem === fn.elem; - } ).length; -}; - -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/event.js b/minionlivesmatter/templates/assets/jquery/src/event.js deleted file mode 100644 index 9ebbe2f..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/event.js +++ /dev/null @@ -1,711 +0,0 @@ -define( [ - "./core", - "./var/document", - "./var/rnotwhite", - "./var/slice", - "./data/var/dataPriv", - - "./core/init", - "./selector" -], function( jQuery, document, rnotwhite, slice, dataPriv ) { - -var - rkeyEvent = /^key/, - rmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, - rtypenamespace = /^([^.]*)(?:\.(.+)|)/; - -function returnTrue() { - return true; -} - -function returnFalse() { - return false; -} - -// Support: IE9 -// See #13393 for more info -function safeActiveElement() { - try { - return document.activeElement; - } catch ( err ) { } -} - -function on( elem, types, selector, data, fn, one ) { - var origFn, type; - - // Types can be a map of types/handlers - if ( typeof types === "object" ) { - - // ( types-Object, selector, data ) - if ( typeof selector !== "string" ) { - - // ( types-Object, data ) - data = data || selector; - selector = undefined; - } - for ( type in types ) { - on( elem, type, selector, data, types[ type ], one ); - } - return elem; - } - - if ( data == null && fn == null ) { - - // ( types, fn ) - fn = selector; - data = selector = undefined; - } else if ( fn == null ) { - if ( typeof selector === "string" ) { - - // ( types, selector, fn ) - fn = data; - data = undefined; - } else { - - // ( types, data, fn ) - fn = data; - data = selector; - selector = undefined; - } - } - if ( fn === false ) { - fn = returnFalse; - } else if ( !fn ) { - return elem; - } - - if ( one === 1 ) { - origFn = fn; - fn = function( event ) { - - // Can use an empty set, since event contains the info - jQuery().off( event ); - return origFn.apply( this, arguments ); - }; - - // Use same guid so caller can remove using origFn - fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); - } - return elem.each( function() { - jQuery.event.add( this, types, fn, data, selector ); - } ); -} - -/* - * Helper functions for managing events -- not part of the public interface. - * Props to Dean Edwards' addEvent library for many of the ideas. - */ -jQuery.event = { - - global: {}, - - add: function( elem, types, handler, data, selector ) { - - var handleObjIn, eventHandle, tmp, - events, t, handleObj, - special, handlers, type, namespaces, origType, - elemData = dataPriv.get( elem ); - - // Don't attach events to noData or text/comment nodes (but allow plain objects) - if ( !elemData ) { - return; - } - - // Caller can pass in an object of custom data in lieu of the handler - if ( handler.handler ) { - handleObjIn = handler; - handler = handleObjIn.handler; - selector = handleObjIn.selector; - } - - // Make sure that the handler has a unique ID, used to find/remove it later - if ( !handler.guid ) { - handler.guid = jQuery.guid++; - } - - // Init the element's event structure and main handler, if this is the first - if ( !( events = elemData.events ) ) { - events = elemData.events = {}; - } - if ( !( eventHandle = elemData.handle ) ) { - eventHandle = elemData.handle = function( e ) { - - // Discard the second event of a jQuery.event.trigger() and - // when an event is called after a page has unloaded - return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? - jQuery.event.dispatch.apply( elem, arguments ) : undefined; - }; - } - - // Handle multiple events separated by a space - types = ( types || "" ).match( rnotwhite ) || [ "" ]; - t = types.length; - while ( t-- ) { - tmp = rtypenamespace.exec( types[ t ] ) || []; - type = origType = tmp[ 1 ]; - namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); - - // There *must* be a type, no attaching namespace-only handlers - if ( !type ) { - continue; - } - - // If event changes its type, use the special event handlers for the changed type - special = jQuery.event.special[ type ] || {}; - - // If selector defined, determine special event api type, otherwise given type - type = ( selector ? special.delegateType : special.bindType ) || type; - - // Update special based on newly reset type - special = jQuery.event.special[ type ] || {}; - - // handleObj is passed to all event handlers - handleObj = jQuery.extend( { - type: type, - origType: origType, - data: data, - handler: handler, - guid: handler.guid, - selector: selector, - needsContext: selector && jQuery.expr.match.needsContext.test( selector ), - namespace: namespaces.join( "." ) - }, handleObjIn ); - - // Init the event handler queue if we're the first - if ( !( handlers = events[ type ] ) ) { - handlers = events[ type ] = []; - handlers.delegateCount = 0; - - // Only use addEventListener if the special events handler returns false - if ( !special.setup || - special.setup.call( elem, data, namespaces, eventHandle ) === false ) { - - if ( elem.addEventListener ) { - elem.addEventListener( type, eventHandle ); - } - } - } - - if ( special.add ) { - special.add.call( elem, handleObj ); - - if ( !handleObj.handler.guid ) { - handleObj.handler.guid = handler.guid; - } - } - - // Add to the element's handler list, delegates in front - if ( selector ) { - handlers.splice( handlers.delegateCount++, 0, handleObj ); - } else { - handlers.push( handleObj ); - } - - // Keep track of which events have ever been used, for event optimization - jQuery.event.global[ type ] = true; - } - - }, - - // Detach an event or set of events from an element - remove: function( elem, types, handler, selector, mappedTypes ) { - - var j, origCount, tmp, - events, t, handleObj, - special, handlers, type, namespaces, origType, - elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); - - if ( !elemData || !( events = elemData.events ) ) { - return; - } - - // Once for each type.namespace in types; type may be omitted - types = ( types || "" ).match( rnotwhite ) || [ "" ]; - t = types.length; - while ( t-- ) { - tmp = rtypenamespace.exec( types[ t ] ) || []; - type = origType = tmp[ 1 ]; - namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); - - // Unbind all events (on this namespace, if provided) for the element - if ( !type ) { - for ( type in events ) { - jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); - } - continue; - } - - special = jQuery.event.special[ type ] || {}; - type = ( selector ? special.delegateType : special.bindType ) || type; - handlers = events[ type ] || []; - tmp = tmp[ 2 ] && - new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); - - // Remove matching events - origCount = j = handlers.length; - while ( j-- ) { - handleObj = handlers[ j ]; - - if ( ( mappedTypes || origType === handleObj.origType ) && - ( !handler || handler.guid === handleObj.guid ) && - ( !tmp || tmp.test( handleObj.namespace ) ) && - ( !selector || selector === handleObj.selector || - selector === "**" && handleObj.selector ) ) { - handlers.splice( j, 1 ); - - if ( handleObj.selector ) { - handlers.delegateCount--; - } - if ( special.remove ) { - special.remove.call( elem, handleObj ); - } - } - } - - // Remove generic event handler if we removed something and no more handlers exist - // (avoids potential for endless recursion during removal of special event handlers) - if ( origCount && !handlers.length ) { - if ( !special.teardown || - special.teardown.call( elem, namespaces, elemData.handle ) === false ) { - - jQuery.removeEvent( elem, type, elemData.handle ); - } - - delete events[ type ]; - } - } - - // Remove data and the expando if it's no longer used - if ( jQuery.isEmptyObject( events ) ) { - dataPriv.remove( elem, "handle events" ); - } - }, - - dispatch: function( event ) { - - // Make a writable jQuery.Event from the native event object - event = jQuery.event.fix( event ); - - var i, j, ret, matched, handleObj, - handlerQueue = [], - args = slice.call( arguments ), - handlers = ( dataPriv.get( this, "events" ) || {} )[ event.type ] || [], - special = jQuery.event.special[ event.type ] || {}; - - // Use the fix-ed jQuery.Event rather than the (read-only) native event - args[ 0 ] = event; - event.delegateTarget = this; - - // Call the preDispatch hook for the mapped type, and let it bail if desired - if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { - return; - } - - // Determine handlers - handlerQueue = jQuery.event.handlers.call( this, event, handlers ); - - // Run delegates first; they may want to stop propagation beneath us - i = 0; - while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { - event.currentTarget = matched.elem; - - j = 0; - while ( ( handleObj = matched.handlers[ j++ ] ) && - !event.isImmediatePropagationStopped() ) { - - // Triggered event must either 1) have no namespace, or 2) have namespace(s) - // a subset or equal to those in the bound event (both can have no namespace). - if ( !event.rnamespace || event.rnamespace.test( handleObj.namespace ) ) { - - event.handleObj = handleObj; - event.data = handleObj.data; - - ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || - handleObj.handler ).apply( matched.elem, args ); - - if ( ret !== undefined ) { - if ( ( event.result = ret ) === false ) { - event.preventDefault(); - event.stopPropagation(); - } - } - } - } - } - - // Call the postDispatch hook for the mapped type - if ( special.postDispatch ) { - special.postDispatch.call( this, event ); - } - - return event.result; - }, - - handlers: function( event, handlers ) { - var i, matches, sel, handleObj, - handlerQueue = [], - delegateCount = handlers.delegateCount, - cur = event.target; - - // Support (at least): Chrome, IE9 - // Find delegate handlers - // Black-hole SVG <use> instance trees (#13180) - // - // Support: Firefox<=42+ - // Avoid non-left-click in FF but don't block IE radio events (#3861, gh-2343) - if ( delegateCount && cur.nodeType && - ( event.type !== "click" || isNaN( event.button ) || event.button < 1 ) ) { - - for ( ; cur !== this; cur = cur.parentNode || this ) { - - // Don't check non-elements (#13208) - // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) - if ( cur.nodeType === 1 && ( cur.disabled !== true || event.type !== "click" ) ) { - matches = []; - for ( i = 0; i < delegateCount; i++ ) { - handleObj = handlers[ i ]; - - // Don't conflict with Object.prototype properties (#13203) - sel = handleObj.selector + " "; - - if ( matches[ sel ] === undefined ) { - matches[ sel ] = handleObj.needsContext ? - jQuery( sel, this ).index( cur ) > -1 : - jQuery.find( sel, this, null, [ cur ] ).length; - } - if ( matches[ sel ] ) { - matches.push( handleObj ); - } - } - if ( matches.length ) { - handlerQueue.push( { elem: cur, handlers: matches } ); - } - } - } - } - - // Add the remaining (directly-bound) handlers - if ( delegateCount < handlers.length ) { - handlerQueue.push( { elem: this, handlers: handlers.slice( delegateCount ) } ); - } - - return handlerQueue; - }, - - // Includes some event props shared by KeyEvent and MouseEvent - props: ( "altKey bubbles cancelable ctrlKey currentTarget detail eventPhase " + - "metaKey relatedTarget shiftKey target timeStamp view which" ).split( " " ), - - fixHooks: {}, - - keyHooks: { - props: "char charCode key keyCode".split( " " ), - filter: function( event, original ) { - - // Add which for key events - if ( event.which == null ) { - event.which = original.charCode != null ? original.charCode : original.keyCode; - } - - return event; - } - }, - - mouseHooks: { - props: ( "button buttons clientX clientY offsetX offsetY pageX pageY " + - "screenX screenY toElement" ).split( " " ), - filter: function( event, original ) { - var eventDoc, doc, body, - button = original.button; - - // Calculate pageX/Y if missing and clientX/Y available - if ( event.pageX == null && original.clientX != null ) { - eventDoc = event.target.ownerDocument || document; - doc = eventDoc.documentElement; - body = eventDoc.body; - - event.pageX = original.clientX + - ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - - ( doc && doc.clientLeft || body && body.clientLeft || 0 ); - event.pageY = original.clientY + - ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - - ( doc && doc.clientTop || body && body.clientTop || 0 ); - } - - // Add which for click: 1 === left; 2 === middle; 3 === right - // Note: button is not normalized, so don't use it - if ( !event.which && button !== undefined ) { - event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) ); - } - - return event; - } - }, - - fix: function( event ) { - if ( event[ jQuery.expando ] ) { - return event; - } - - // Create a writable copy of the event object and normalize some properties - var i, prop, copy, - type = event.type, - originalEvent = event, - fixHook = this.fixHooks[ type ]; - - if ( !fixHook ) { - this.fixHooks[ type ] = fixHook = - rmouseEvent.test( type ) ? this.mouseHooks : - rkeyEvent.test( type ) ? this.keyHooks : - {}; - } - copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props; - - event = new jQuery.Event( originalEvent ); - - i = copy.length; - while ( i-- ) { - prop = copy[ i ]; - event[ prop ] = originalEvent[ prop ]; - } - - // Support: Cordova 2.5 (WebKit) (#13255) - // All events should have a target; Cordova deviceready doesn't - if ( !event.target ) { - event.target = document; - } - - // Support: Safari 6.0+, Chrome<28 - // Target should not be a text node (#504, #13143) - if ( event.target.nodeType === 3 ) { - event.target = event.target.parentNode; - } - - return fixHook.filter ? fixHook.filter( event, originalEvent ) : event; - }, - - special: { - load: { - - // Prevent triggered image.load events from bubbling to window.load - noBubble: true - }, - focus: { - - // Fire native event if possible so blur/focus sequence is correct - trigger: function() { - if ( this !== safeActiveElement() && this.focus ) { - this.focus(); - return false; - } - }, - delegateType: "focusin" - }, - blur: { - trigger: function() { - if ( this === safeActiveElement() && this.blur ) { - this.blur(); - return false; - } - }, - delegateType: "focusout" - }, - click: { - - // For checkbox, fire native event so checked state will be right - trigger: function() { - if ( this.type === "checkbox" && this.click && jQuery.nodeName( this, "input" ) ) { - this.click(); - return false; - } - }, - - // For cross-browser consistency, don't fire native .click() on links - _default: function( event ) { - return jQuery.nodeName( event.target, "a" ); - } - }, - - beforeunload: { - postDispatch: function( event ) { - - // Support: Firefox 20+ - // Firefox doesn't alert if the returnValue field is not set. - if ( event.result !== undefined && event.originalEvent ) { - event.originalEvent.returnValue = event.result; - } - } - } - } -}; - -jQuery.removeEvent = function( elem, type, handle ) { - - // This "if" is needed for plain objects - if ( elem.removeEventListener ) { - elem.removeEventListener( type, handle ); - } -}; - -jQuery.Event = function( src, props ) { - - // Allow instantiation without the 'new' keyword - if ( !( this instanceof jQuery.Event ) ) { - return new jQuery.Event( src, props ); - } - - // Event object - if ( src && src.type ) { - this.originalEvent = src; - this.type = src.type; - - // Events bubbling up the document may have been marked as prevented - // by a handler lower down the tree; reflect the correct value. - this.isDefaultPrevented = src.defaultPrevented || - src.defaultPrevented === undefined && - - // Support: Android<4.0 - src.returnValue === false ? - returnTrue : - returnFalse; - - // Event type - } else { - this.type = src; - } - - // Put explicitly provided properties onto the event object - if ( props ) { - jQuery.extend( this, props ); - } - - // Create a timestamp if incoming event doesn't have one - this.timeStamp = src && src.timeStamp || jQuery.now(); - - // Mark it as fixed - this[ jQuery.expando ] = true; -}; - -// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding -// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html -jQuery.Event.prototype = { - constructor: jQuery.Event, - isDefaultPrevented: returnFalse, - isPropagationStopped: returnFalse, - isImmediatePropagationStopped: returnFalse, - isSimulated: false, - - preventDefault: function() { - var e = this.originalEvent; - - this.isDefaultPrevented = returnTrue; - - if ( e && !this.isSimulated ) { - e.preventDefault(); - } - }, - stopPropagation: function() { - var e = this.originalEvent; - - this.isPropagationStopped = returnTrue; - - if ( e && !this.isSimulated ) { - e.stopPropagation(); - } - }, - stopImmediatePropagation: function() { - var e = this.originalEvent; - - this.isImmediatePropagationStopped = returnTrue; - - if ( e && !this.isSimulated ) { - e.stopImmediatePropagation(); - } - - this.stopPropagation(); - } -}; - -// Create mouseenter/leave events using mouseover/out and event-time checks -// so that event delegation works in jQuery. -// Do the same for pointerenter/pointerleave and pointerover/pointerout -// -// Support: Safari 7 only -// Safari sends mouseenter too often; see: -// https://code.google.com/p/chromium/issues/detail?id=470258 -// for the description of the bug (it existed in older Chrome versions as well). -jQuery.each( { - mouseenter: "mouseover", - mouseleave: "mouseout", - pointerenter: "pointerover", - pointerleave: "pointerout" -}, function( orig, fix ) { - jQuery.event.special[ orig ] = { - delegateType: fix, - bindType: fix, - - handle: function( event ) { - var ret, - target = this, - related = event.relatedTarget, - handleObj = event.handleObj; - - // For mouseenter/leave call the handler if related is outside the target. - // NB: No relatedTarget if the mouse left/entered the browser window - if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { - event.type = handleObj.origType; - ret = handleObj.handler.apply( this, arguments ); - event.type = fix; - } - return ret; - } - }; -} ); - -jQuery.fn.extend( { - on: function( types, selector, data, fn ) { - return on( this, types, selector, data, fn ); - }, - one: function( types, selector, data, fn ) { - return on( this, types, selector, data, fn, 1 ); - }, - off: function( types, selector, fn ) { - var handleObj, type; - if ( types && types.preventDefault && types.handleObj ) { - - // ( event ) dispatched jQuery.Event - handleObj = types.handleObj; - jQuery( types.delegateTarget ).off( - handleObj.namespace ? - handleObj.origType + "." + handleObj.namespace : - handleObj.origType, - handleObj.selector, - handleObj.handler - ); - return this; - } - if ( typeof types === "object" ) { - - // ( types-object [, selector] ) - for ( type in types ) { - this.off( type, selector, types[ type ] ); - } - return this; - } - if ( selector === false || typeof selector === "function" ) { - - // ( types [, fn] ) - fn = selector; - selector = undefined; - } - if ( fn === false ) { - fn = returnFalse; - } - return this.each( function() { - jQuery.event.remove( this, types, fn, selector ); - } ); - } -} ); - -return jQuery; -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/event/ajax.js b/minionlivesmatter/templates/assets/jquery/src/event/ajax.js deleted file mode 100644 index 98e194b..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/event/ajax.js +++ /dev/null @@ -1,20 +0,0 @@ -define( [ - "../core", - "../event" -], function( jQuery ) { - -// Attach a bunch of functions for handling common AJAX events -jQuery.each( [ - "ajaxStart", - "ajaxStop", - "ajaxComplete", - "ajaxError", - "ajaxSuccess", - "ajaxSend" -], function( i, type ) { - jQuery.fn[ type ] = function( fn ) { - return this.on( type, fn ); - }; -} ); - -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/event/alias.js b/minionlivesmatter/templates/assets/jquery/src/event/alias.js deleted file mode 100644 index 161c893..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/event/alias.js +++ /dev/null @@ -1,27 +0,0 @@ -define( [ - "../core", - - "../event", - "./trigger" -], function( jQuery ) { - -jQuery.each( ( "blur focus focusin focusout load resize scroll unload click dblclick " + - "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " + - "change select submit keydown keypress keyup error contextmenu" ).split( " " ), - function( i, name ) { - - // Handle event binding - jQuery.fn[ name ] = function( data, fn ) { - return arguments.length > 0 ? - this.on( name, null, data, fn ) : - this.trigger( name ); - }; -} ); - -jQuery.fn.extend( { - hover: function( fnOver, fnOut ) { - return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver ); - } -} ); - -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/event/focusin.js b/minionlivesmatter/templates/assets/jquery/src/event/focusin.js deleted file mode 100644 index ae7f831..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/event/focusin.js +++ /dev/null @@ -1,53 +0,0 @@ -define( [ - "../core", - "../data/var/dataPriv", - "./support", - - "../event", - "./trigger" -], function( jQuery, dataPriv, support ) { - -// Support: Firefox -// Firefox doesn't have focus(in | out) events -// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 -// -// Support: Chrome, Safari -// focus(in | out) events fire after focus & blur events, -// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order -// Related ticket - https://code.google.com/p/chromium/issues/detail?id=449857 -if ( !support.focusin ) { - jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) { - - // Attach a single capturing handler on the document while someone wants focusin/focusout - var handler = function( event ) { - jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) ); - }; - - jQuery.event.special[ fix ] = { - setup: function() { - var doc = this.ownerDocument || this, - attaches = dataPriv.access( doc, fix ); - - if ( !attaches ) { - doc.addEventListener( orig, handler, true ); - } - dataPriv.access( doc, fix, ( attaches || 0 ) + 1 ); - }, - teardown: function() { - var doc = this.ownerDocument || this, - attaches = dataPriv.access( doc, fix ) - 1; - - if ( !attaches ) { - doc.removeEventListener( orig, handler, true ); - dataPriv.remove( doc, fix ); - - } else { - dataPriv.access( doc, fix, attaches ); - } - } - }; - } ); -} - -return jQuery; -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/event/support.js b/minionlivesmatter/templates/assets/jquery/src/event/support.js deleted file mode 100644 index 1c4d416..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/event/support.js +++ /dev/null @@ -1,9 +0,0 @@ -define( [ - "../var/support" -], function( support ) { - -support.focusin = "onfocusin" in window; - -return support; - -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/event/trigger.js b/minionlivesmatter/templates/assets/jquery/src/event/trigger.js deleted file mode 100644 index 75b9dd2..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/event/trigger.js +++ /dev/null @@ -1,183 +0,0 @@ -define( [ - "../core", - "../var/document", - "../data/var/dataPriv", - "../data/var/acceptData", - "../var/hasOwn", - - "../event" -], function( jQuery, document, dataPriv, acceptData, hasOwn ) { - -var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/; - -jQuery.extend( jQuery.event, { - - trigger: function( event, data, elem, onlyHandlers ) { - - var i, cur, tmp, bubbleType, ontype, handle, special, - eventPath = [ elem || document ], - type = hasOwn.call( event, "type" ) ? event.type : event, - namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : []; - - cur = tmp = elem = elem || document; - - // Don't do events on text and comment nodes - if ( elem.nodeType === 3 || elem.nodeType === 8 ) { - return; - } - - // focus/blur morphs to focusin/out; ensure we're not firing them right now - if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { - return; - } - - if ( type.indexOf( "." ) > -1 ) { - - // Namespaced trigger; create a regexp to match event type in handle() - namespaces = type.split( "." ); - type = namespaces.shift(); - namespaces.sort(); - } - ontype = type.indexOf( ":" ) < 0 && "on" + type; - - // Caller can pass in a jQuery.Event object, Object, or just an event type string - event = event[ jQuery.expando ] ? - event : - new jQuery.Event( type, typeof event === "object" && event ); - - // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) - event.isTrigger = onlyHandlers ? 2 : 3; - event.namespace = namespaces.join( "." ); - event.rnamespace = event.namespace ? - new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) : - null; - - // Clean up the event in case it is being reused - event.result = undefined; - if ( !event.target ) { - event.target = elem; - } - - // Clone any incoming data and prepend the event, creating the handler arg list - data = data == null ? - [ event ] : - jQuery.makeArray( data, [ event ] ); - - // Allow special events to draw outside the lines - special = jQuery.event.special[ type ] || {}; - if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { - return; - } - - // Determine event propagation path in advance, per W3C events spec (#9951) - // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) - if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) { - - bubbleType = special.delegateType || type; - if ( !rfocusMorph.test( bubbleType + type ) ) { - cur = cur.parentNode; - } - for ( ; cur; cur = cur.parentNode ) { - eventPath.push( cur ); - tmp = cur; - } - - // Only add window if we got to document (e.g., not plain obj or detached DOM) - if ( tmp === ( elem.ownerDocument || document ) ) { - eventPath.push( tmp.defaultView || tmp.parentWindow || window ); - } - } - - // Fire handlers on the event path - i = 0; - while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) { - - event.type = i > 1 ? - bubbleType : - special.bindType || type; - - // jQuery handler - handle = ( dataPriv.get( cur, "events" ) || {} )[ event.type ] && - dataPriv.get( cur, "handle" ); - if ( handle ) { - handle.apply( cur, data ); - } - - // Native handler - handle = ontype && cur[ ontype ]; - if ( handle && handle.apply && acceptData( cur ) ) { - event.result = handle.apply( cur, data ); - if ( event.result === false ) { - event.preventDefault(); - } - } - } - event.type = type; - - // If nobody prevented the default action, do it now - if ( !onlyHandlers && !event.isDefaultPrevented() ) { - - if ( ( !special._default || - special._default.apply( eventPath.pop(), data ) === false ) && - acceptData( elem ) ) { - - // Call a native DOM method on the target with the same name name as the event. - // Don't do default actions on window, that's where global variables be (#6170) - if ( ontype && jQuery.isFunction( elem[ type ] ) && !jQuery.isWindow( elem ) ) { - - // Don't re-trigger an onFOO event when we call its FOO() method - tmp = elem[ ontype ]; - - if ( tmp ) { - elem[ ontype ] = null; - } - - // Prevent re-triggering of the same event, since we already bubbled it above - jQuery.event.triggered = type; - elem[ type ](); - jQuery.event.triggered = undefined; - - if ( tmp ) { - elem[ ontype ] = tmp; - } - } - } - } - - return event.result; - }, - - // Piggyback on a donor event to simulate a different one - // Used only for `focus(in | out)` events - simulate: function( type, elem, event ) { - var e = jQuery.extend( - new jQuery.Event(), - event, - { - type: type, - isSimulated: true - } - ); - - jQuery.event.trigger( e, null, elem ); - } - -} ); - -jQuery.fn.extend( { - - trigger: function( type, data ) { - return this.each( function() { - jQuery.event.trigger( type, data, this ); - } ); - }, - triggerHandler: function( type, data ) { - var elem = this[ 0 ]; - if ( elem ) { - return jQuery.event.trigger( type, data, elem, true ); - } - } -} ); - -return jQuery; -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/exports/amd.js b/minionlivesmatter/templates/assets/jquery/src/exports/amd.js deleted file mode 100644 index add6eb9..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/exports/amd.js +++ /dev/null @@ -1,24 +0,0 @@ -define( [ - "../core" -], function( jQuery ) { - -// Register as a named AMD module, since jQuery can be concatenated with other -// files that may use define, but not via a proper concatenation script that -// understands anonymous AMD modules. A named AMD is safest and most robust -// way to register. Lowercase jquery is used because AMD module names are -// derived from file names, and jQuery is normally delivered in a lowercase -// file name. Do this after creating the global so that if an AMD module wants -// to call noConflict to hide this version of jQuery, it will work. - -// Note that for maximum portability, libraries that are not jQuery should -// declare themselves as anonymous modules, and avoid setting a global if an -// AMD loader is present. jQuery is a special case. For more information, see -// https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon - -if ( typeof define === "function" && define.amd ) { - define( "jquery", [], function() { - return jQuery; - } ); -} - -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/exports/global.js b/minionlivesmatter/templates/assets/jquery/src/exports/global.js deleted file mode 100644 index be9cbfb..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/exports/global.js +++ /dev/null @@ -1,26 +0,0 @@ -var - - // Map over jQuery in case of overwrite - _jQuery = window.jQuery, - - // Map over the $ in case of overwrite - _$ = window.$; - -jQuery.noConflict = function( deep ) { - if ( window.$ === jQuery ) { - window.$ = _$; - } - - if ( deep && window.jQuery === jQuery ) { - window.jQuery = _jQuery; - } - - return jQuery; -}; - -// Expose jQuery and $ identifiers, even in AMD -// (#7102#comment:10, https://github.com/jquery/jquery/pull/557) -// and CommonJS for browser emulators (#13566) -if ( !noGlobal ) { - window.jQuery = window.$ = jQuery; -} diff --git a/minionlivesmatter/templates/assets/jquery/src/intro.js b/minionlivesmatter/templates/assets/jquery/src/intro.js deleted file mode 100644 index aab47c2..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/intro.js +++ /dev/null @@ -1,44 +0,0 @@ -/*! - * jQuery JavaScript Library v@VERSION - * http://jquery.com/ - * - * Includes Sizzle.js - * http://sizzlejs.com/ - * - * Copyright jQuery Foundation and other contributors - * Released under the MIT license - * http://jquery.org/license - * - * Date: @DATE - */ - -(function( global, factory ) { - - if ( typeof module === "object" && typeof module.exports === "object" ) { - // For CommonJS and CommonJS-like environments where a proper `window` - // is present, execute the factory and get jQuery. - // For environments that do not have a `window` with a `document` - // (such as Node.js), expose a factory as module.exports. - // This accentuates the need for the creation of a real `window`. - // e.g. var jQuery = require("jquery")(window); - // See ticket #14549 for more info. - module.exports = global.document ? - factory( global, true ) : - function( w ) { - if ( !w.document ) { - throw new Error( "jQuery requires a window with a document" ); - } - return factory( w ); - }; - } else { - factory( global ); - } - -// Pass this if window is not defined yet -}(typeof window !== "undefined" ? window : this, function( window, noGlobal ) { - -// Support: Firefox 18+ -// Can't be in strict mode, several libs including ASP.NET trace -// the stack via arguments.caller.callee and Firefox dies if -// you try to trace through "use strict" call chains. (#13335) -//"use strict"; diff --git a/minionlivesmatter/templates/assets/jquery/src/jquery.js b/minionlivesmatter/templates/assets/jquery/src/jquery.js deleted file mode 100644 index 2faa9c3..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/jquery.js +++ /dev/null @@ -1,37 +0,0 @@ -define( [ - "./core", - "./selector", - "./traversing", - "./callbacks", - "./deferred", - "./core/ready", - "./data", - "./queue", - "./queue/delay", - "./attributes", - "./event", - "./event/alias", - "./event/focusin", - "./manipulation", - "./manipulation/_evalUrl", - "./wrap", - "./css", - "./css/hiddenVisibleSelectors", - "./serialize", - "./ajax", - "./ajax/xhr", - "./ajax/script", - "./ajax/jsonp", - "./ajax/load", - "./event/ajax", - "./effects", - "./effects/animatedSelector", - "./offset", - "./dimensions", - "./deprecated", - "./exports/amd" -], function( jQuery ) { - -return ( window.jQuery = window.$ = jQuery ); - -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/manipulation.js b/minionlivesmatter/templates/assets/jquery/src/manipulation.js deleted file mode 100644 index afd5091..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/manipulation.js +++ /dev/null @@ -1,481 +0,0 @@ -define( [ - "./core", - "./var/concat", - "./var/push", - "./core/access", - "./manipulation/var/rcheckableType", - "./manipulation/var/rtagName", - "./manipulation/var/rscriptType", - "./manipulation/wrapMap", - "./manipulation/getAll", - "./manipulation/setGlobalEval", - "./manipulation/buildFragment", - "./manipulation/support", - - "./data/var/dataPriv", - "./data/var/dataUser", - "./data/var/acceptData", - - "./core/init", - "./traversing", - "./selector", - "./event" -], function( jQuery, concat, push, access, - rcheckableType, rtagName, rscriptType, - wrapMap, getAll, setGlobalEval, buildFragment, support, - dataPriv, dataUser, acceptData ) { - -var - rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi, - - // Support: IE 10-11, Edge 10240+ - // In IE/Edge using regex groups here causes severe slowdowns. - // See https://connect.microsoft.com/IE/feedback/details/1736512/ - rnoInnerhtml = /<script|<style|<link/i, - - // checked="checked" or checked - rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i, - rscriptTypeMasked = /^true\/(.*)/, - rcleanScript = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g; - -// Manipulating tables requires a tbody -function manipulationTarget( elem, content ) { - return jQuery.nodeName( elem, "table" ) && - jQuery.nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ? - - elem.getElementsByTagName( "tbody" )[ 0 ] || - elem.appendChild( elem.ownerDocument.createElement( "tbody" ) ) : - elem; -} - -// Replace/restore the type attribute of script elements for safe DOM manipulation -function disableScript( elem ) { - elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; - return elem; -} -function restoreScript( elem ) { - var match = rscriptTypeMasked.exec( elem.type ); - - if ( match ) { - elem.type = match[ 1 ]; - } else { - elem.removeAttribute( "type" ); - } - - return elem; -} - -function cloneCopyEvent( src, dest ) { - var i, l, type, pdataOld, pdataCur, udataOld, udataCur, events; - - if ( dest.nodeType !== 1 ) { - return; - } - - // 1. Copy private data: events, handlers, etc. - if ( dataPriv.hasData( src ) ) { - pdataOld = dataPriv.access( src ); - pdataCur = dataPriv.set( dest, pdataOld ); - events = pdataOld.events; - - if ( events ) { - delete pdataCur.handle; - pdataCur.events = {}; - - for ( type in events ) { - for ( i = 0, l = events[ type ].length; i < l; i++ ) { - jQuery.event.add( dest, type, events[ type ][ i ] ); - } - } - } - } - - // 2. Copy user data - if ( dataUser.hasData( src ) ) { - udataOld = dataUser.access( src ); - udataCur = jQuery.extend( {}, udataOld ); - - dataUser.set( dest, udataCur ); - } -} - -// Fix IE bugs, see support tests -function fixInput( src, dest ) { - var nodeName = dest.nodeName.toLowerCase(); - - // Fails to persist the checked state of a cloned checkbox or radio button. - if ( nodeName === "input" && rcheckableType.test( src.type ) ) { - dest.checked = src.checked; - - // Fails to return the selected option to the default selected state when cloning options - } else if ( nodeName === "input" || nodeName === "textarea" ) { - dest.defaultValue = src.defaultValue; - } -} - -function domManip( collection, args, callback, ignored ) { - - // Flatten any nested arrays - args = concat.apply( [], args ); - - var fragment, first, scripts, hasScripts, node, doc, - i = 0, - l = collection.length, - iNoClone = l - 1, - value = args[ 0 ], - isFunction = jQuery.isFunction( value ); - - // We can't cloneNode fragments that contain checked, in WebKit - if ( isFunction || - ( l > 1 && typeof value === "string" && - !support.checkClone && rchecked.test( value ) ) ) { - return collection.each( function( index ) { - var self = collection.eq( index ); - if ( isFunction ) { - args[ 0 ] = value.call( this, index, self.html() ); - } - domManip( self, args, callback, ignored ); - } ); - } - - if ( l ) { - fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); - first = fragment.firstChild; - - if ( fragment.childNodes.length === 1 ) { - fragment = first; - } - - // Require either new content or an interest in ignored elements to invoke the callback - if ( first || ignored ) { - scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); - hasScripts = scripts.length; - - // Use the original fragment for the last item - // instead of the first because it can end up - // being emptied incorrectly in certain situations (#8070). - for ( ; i < l; i++ ) { - node = fragment; - - if ( i !== iNoClone ) { - node = jQuery.clone( node, true, true ); - - // Keep references to cloned scripts for later restoration - if ( hasScripts ) { - - // Support: Android<4.1, PhantomJS<2 - // push.apply(_, arraylike) throws on ancient WebKit - jQuery.merge( scripts, getAll( node, "script" ) ); - } - } - - callback.call( collection[ i ], node, i ); - } - - if ( hasScripts ) { - doc = scripts[ scripts.length - 1 ].ownerDocument; - - // Reenable scripts - jQuery.map( scripts, restoreScript ); - - // Evaluate executable scripts on first document insertion - for ( i = 0; i < hasScripts; i++ ) { - node = scripts[ i ]; - if ( rscriptType.test( node.type || "" ) && - !dataPriv.access( node, "globalEval" ) && - jQuery.contains( doc, node ) ) { - - if ( node.src ) { - - // Optional AJAX dependency, but won't run scripts if not present - if ( jQuery._evalUrl ) { - jQuery._evalUrl( node.src ); - } - } else { - jQuery.globalEval( node.textContent.replace( rcleanScript, "" ) ); - } - } - } - } - } - } - - return collection; -} - -function remove( elem, selector, keepData ) { - var node, - nodes = selector ? jQuery.filter( selector, elem ) : elem, - i = 0; - - for ( ; ( node = nodes[ i ] ) != null; i++ ) { - if ( !keepData && node.nodeType === 1 ) { - jQuery.cleanData( getAll( node ) ); - } - - if ( node.parentNode ) { - if ( keepData && jQuery.contains( node.ownerDocument, node ) ) { - setGlobalEval( getAll( node, "script" ) ); - } - node.parentNode.removeChild( node ); - } - } - - return elem; -} - -jQuery.extend( { - htmlPrefilter: function( html ) { - return html.replace( rxhtmlTag, "<$1></$2>" ); - }, - - clone: function( elem, dataAndEvents, deepDataAndEvents ) { - var i, l, srcElements, destElements, - clone = elem.cloneNode( true ), - inPage = jQuery.contains( elem.ownerDocument, elem ); - - // Fix IE cloning issues - if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && - !jQuery.isXMLDoc( elem ) ) { - - // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2 - destElements = getAll( clone ); - srcElements = getAll( elem ); - - for ( i = 0, l = srcElements.length; i < l; i++ ) { - fixInput( srcElements[ i ], destElements[ i ] ); - } - } - - // Copy the events from the original to the clone - if ( dataAndEvents ) { - if ( deepDataAndEvents ) { - srcElements = srcElements || getAll( elem ); - destElements = destElements || getAll( clone ); - - for ( i = 0, l = srcElements.length; i < l; i++ ) { - cloneCopyEvent( srcElements[ i ], destElements[ i ] ); - } - } else { - cloneCopyEvent( elem, clone ); - } - } - - // Preserve script evaluation history - destElements = getAll( clone, "script" ); - if ( destElements.length > 0 ) { - setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); - } - - // Return the cloned set - return clone; - }, - - cleanData: function( elems ) { - var data, elem, type, - special = jQuery.event.special, - i = 0; - - for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { - if ( acceptData( elem ) ) { - if ( ( data = elem[ dataPriv.expando ] ) ) { - if ( data.events ) { - for ( type in data.events ) { - if ( special[ type ] ) { - jQuery.event.remove( elem, type ); - - // This is a shortcut to avoid jQuery.event.remove's overhead - } else { - jQuery.removeEvent( elem, type, data.handle ); - } - } - } - - // Support: Chrome <= 35-45+ - // Assign undefined instead of using delete, see Data#remove - elem[ dataPriv.expando ] = undefined; - } - if ( elem[ dataUser.expando ] ) { - - // Support: Chrome <= 35-45+ - // Assign undefined instead of using delete, see Data#remove - elem[ dataUser.expando ] = undefined; - } - } - } - } -} ); - -jQuery.fn.extend( { - - // Keep domManip exposed until 3.0 (gh-2225) - domManip: domManip, - - detach: function( selector ) { - return remove( this, selector, true ); - }, - - remove: function( selector ) { - return remove( this, selector ); - }, - - text: function( value ) { - return access( this, function( value ) { - return value === undefined ? - jQuery.text( this ) : - this.empty().each( function() { - if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { - this.textContent = value; - } - } ); - }, null, value, arguments.length ); - }, - - append: function() { - return domManip( this, arguments, function( elem ) { - if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { - var target = manipulationTarget( this, elem ); - target.appendChild( elem ); - } - } ); - }, - - prepend: function() { - return domManip( this, arguments, function( elem ) { - if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { - var target = manipulationTarget( this, elem ); - target.insertBefore( elem, target.firstChild ); - } - } ); - }, - - before: function() { - return domManip( this, arguments, function( elem ) { - if ( this.parentNode ) { - this.parentNode.insertBefore( elem, this ); - } - } ); - }, - - after: function() { - return domManip( this, arguments, function( elem ) { - if ( this.parentNode ) { - this.parentNode.insertBefore( elem, this.nextSibling ); - } - } ); - }, - - empty: function() { - var elem, - i = 0; - - for ( ; ( elem = this[ i ] ) != null; i++ ) { - if ( elem.nodeType === 1 ) { - - // Prevent memory leaks - jQuery.cleanData( getAll( elem, false ) ); - - // Remove any remaining nodes - elem.textContent = ""; - } - } - - return this; - }, - - clone: function( dataAndEvents, deepDataAndEvents ) { - dataAndEvents = dataAndEvents == null ? false : dataAndEvents; - deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; - - return this.map( function() { - return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); - } ); - }, - - html: function( value ) { - return access( this, function( value ) { - var elem = this[ 0 ] || {}, - i = 0, - l = this.length; - - if ( value === undefined && elem.nodeType === 1 ) { - return elem.innerHTML; - } - - // See if we can take a shortcut and just use innerHTML - if ( typeof value === "string" && !rnoInnerhtml.test( value ) && - !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { - - value = jQuery.htmlPrefilter( value ); - - try { - for ( ; i < l; i++ ) { - elem = this[ i ] || {}; - - // Remove element nodes and prevent memory leaks - if ( elem.nodeType === 1 ) { - jQuery.cleanData( getAll( elem, false ) ); - elem.innerHTML = value; - } - } - - elem = 0; - - // If using innerHTML throws an exception, use the fallback method - } catch ( e ) {} - } - - if ( elem ) { - this.empty().append( value ); - } - }, null, value, arguments.length ); - }, - - replaceWith: function() { - var ignored = []; - - // Make the changes, replacing each non-ignored context element with the new content - return domManip( this, arguments, function( elem ) { - var parent = this.parentNode; - - if ( jQuery.inArray( this, ignored ) < 0 ) { - jQuery.cleanData( getAll( this ) ); - if ( parent ) { - parent.replaceChild( elem, this ); - } - } - - // Force callback invocation - }, ignored ); - } -} ); - -jQuery.each( { - appendTo: "append", - prependTo: "prepend", - insertBefore: "before", - insertAfter: "after", - replaceAll: "replaceWith" -}, function( name, original ) { - jQuery.fn[ name ] = function( selector ) { - var elems, - ret = [], - insert = jQuery( selector ), - last = insert.length - 1, - i = 0; - - for ( ; i <= last; i++ ) { - elems = i === last ? this : this.clone( true ); - jQuery( insert[ i ] )[ original ]( elems ); - - // Support: QtWebKit - // .get() because push.apply(_, arraylike) throws - push.apply( ret, elems.get() ); - } - - return this.pushStack( ret ); - }; -} ); - -return jQuery; -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/manipulation/_evalUrl.js b/minionlivesmatter/templates/assets/jquery/src/manipulation/_evalUrl.js deleted file mode 100644 index 85ca2c6..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/manipulation/_evalUrl.js +++ /dev/null @@ -1,20 +0,0 @@ -define( [ - "../ajax" -], function( jQuery ) { - -jQuery._evalUrl = function( url ) { - return jQuery.ajax( { - url: url, - - // Make this explicit, since user can override this through ajaxSetup (#11264) - type: "GET", - dataType: "script", - async: false, - global: false, - "throws": true - } ); -}; - -return jQuery._evalUrl; - -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/manipulation/buildFragment.js b/minionlivesmatter/templates/assets/jquery/src/manipulation/buildFragment.js deleted file mode 100644 index cfdd1c0..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/manipulation/buildFragment.js +++ /dev/null @@ -1,102 +0,0 @@ -define( [ - "../core", - "./var/rtagName", - "./var/rscriptType", - "./wrapMap", - "./getAll", - "./setGlobalEval" -], function( jQuery, rtagName, rscriptType, wrapMap, getAll, setGlobalEval ) { - -var rhtml = /<|&#?\w+;/; - -function buildFragment( elems, context, scripts, selection, ignored ) { - var elem, tmp, tag, wrap, contains, j, - fragment = context.createDocumentFragment(), - nodes = [], - i = 0, - l = elems.length; - - for ( ; i < l; i++ ) { - elem = elems[ i ]; - - if ( elem || elem === 0 ) { - - // Add nodes directly - if ( jQuery.type( elem ) === "object" ) { - - // Support: Android<4.1, PhantomJS<2 - // push.apply(_, arraylike) throws on ancient WebKit - jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); - - // Convert non-html into a text node - } else if ( !rhtml.test( elem ) ) { - nodes.push( context.createTextNode( elem ) ); - - // Convert html into DOM nodes - } else { - tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); - - // Deserialize a standard representation - tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); - wrap = wrapMap[ tag ] || wrapMap._default; - tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; - - // Descend through wrappers to the right content - j = wrap[ 0 ]; - while ( j-- ) { - tmp = tmp.lastChild; - } - - // Support: Android<4.1, PhantomJS<2 - // push.apply(_, arraylike) throws on ancient WebKit - jQuery.merge( nodes, tmp.childNodes ); - - // Remember the top-level container - tmp = fragment.firstChild; - - // Ensure the created nodes are orphaned (#12392) - tmp.textContent = ""; - } - } - } - - // Remove wrapper from fragment - fragment.textContent = ""; - - i = 0; - while ( ( elem = nodes[ i++ ] ) ) { - - // Skip elements already in the context collection (trac-4087) - if ( selection && jQuery.inArray( elem, selection ) > -1 ) { - if ( ignored ) { - ignored.push( elem ); - } - continue; - } - - contains = jQuery.contains( elem.ownerDocument, elem ); - - // Append to fragment - tmp = getAll( fragment.appendChild( elem ), "script" ); - - // Preserve script evaluation history - if ( contains ) { - setGlobalEval( tmp ); - } - - // Capture executables - if ( scripts ) { - j = 0; - while ( ( elem = tmp[ j++ ] ) ) { - if ( rscriptType.test( elem.type || "" ) ) { - scripts.push( elem ); - } - } - } - } - - return fragment; -} - -return buildFragment; -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/manipulation/getAll.js b/minionlivesmatter/templates/assets/jquery/src/manipulation/getAll.js deleted file mode 100644 index cc913f2..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/manipulation/getAll.js +++ /dev/null @@ -1,21 +0,0 @@ -define( [ - "../core" -], function( jQuery ) { - -function getAll( context, tag ) { - - // Support: IE9-11+ - // Use typeof to avoid zero-argument method invocation on host objects (#15151) - var ret = typeof context.getElementsByTagName !== "undefined" ? - context.getElementsByTagName( tag || "*" ) : - typeof context.querySelectorAll !== "undefined" ? - context.querySelectorAll( tag || "*" ) : - []; - - return tag === undefined || tag && jQuery.nodeName( context, tag ) ? - jQuery.merge( [ context ], ret ) : - ret; -} - -return getAll; -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/manipulation/setGlobalEval.js b/minionlivesmatter/templates/assets/jquery/src/manipulation/setGlobalEval.js deleted file mode 100644 index 8ca69a0..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/manipulation/setGlobalEval.js +++ /dev/null @@ -1,20 +0,0 @@ -define( [ - "../data/var/dataPriv" -], function( dataPriv ) { - -// Mark scripts as having already been evaluated -function setGlobalEval( elems, refElements ) { - var i = 0, - l = elems.length; - - for ( ; i < l; i++ ) { - dataPriv.set( - elems[ i ], - "globalEval", - !refElements || dataPriv.get( refElements[ i ], "globalEval" ) - ); - } -} - -return setGlobalEval; -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/manipulation/support.js b/minionlivesmatter/templates/assets/jquery/src/manipulation/support.js deleted file mode 100644 index cd4081e..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/manipulation/support.js +++ /dev/null @@ -1,33 +0,0 @@ -define( [ - "../var/document", - "../var/support" -], function( document, support ) { - -( function() { - var fragment = document.createDocumentFragment(), - div = fragment.appendChild( document.createElement( "div" ) ), - input = document.createElement( "input" ); - - // Support: Android 4.0-4.3, Safari<=5.1 - // Check state lost if the name is set (#11217) - // Support: Windows Web Apps (WWA) - // `name` and `type` must use .setAttribute for WWA (#14901) - input.setAttribute( "type", "radio" ); - input.setAttribute( "checked", "checked" ); - input.setAttribute( "name", "t" ); - - div.appendChild( input ); - - // Support: Safari<=5.1, Android<4.2 - // Older WebKit doesn't clone checked state correctly in fragments - support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; - - // Support: IE<=11+ - // Make sure textarea (and checkbox) defaultValue is properly cloned - div.innerHTML = "<textarea>x</textarea>"; - support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; -} )(); - -return support; - -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/manipulation/wrapMap.js b/minionlivesmatter/templates/assets/jquery/src/manipulation/wrapMap.js deleted file mode 100644 index fdb430a..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/manipulation/wrapMap.js +++ /dev/null @@ -1,27 +0,0 @@ -define( function() { - -// We have to close these tags to support XHTML (#13200) -var wrapMap = { - - // Support: IE9 - option: [ 1, "<select multiple='multiple'>", "</select>" ], - - // XHTML parsers do not magically insert elements in the - // same way that tag soup parsers do. So we cannot shorten - // this by omitting <tbody> or other required elements. - thead: [ 1, "<table>", "</table>" ], - col: [ 2, "<table><colgroup>", "</colgroup></table>" ], - tr: [ 2, "<table><tbody>", "</tbody></table>" ], - td: [ 3, "<table><tbody><tr>", "</tr></tbody></table>" ], - - _default: [ 0, "", "" ] -}; - -// Support: IE9 -wrapMap.optgroup = wrapMap.option; - -wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; -wrapMap.th = wrapMap.td; - -return wrapMap; -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/offset.js b/minionlivesmatter/templates/assets/jquery/src/offset.js deleted file mode 100644 index 08a4543..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/offset.js +++ /dev/null @@ -1,218 +0,0 @@ -define( [ - "./core", - "./core/access", - "./var/document", - "./var/documentElement", - "./css/var/rnumnonpx", - "./css/curCSS", - "./css/addGetHookIf", - "./css/support", - - "./core/init", - "./css", - "./selector" // contains -], function( jQuery, access, document, documentElement, rnumnonpx, curCSS, addGetHookIf, support ) { - -/** - * Gets a window from an element - */ -function getWindow( elem ) { - return jQuery.isWindow( elem ) ? elem : elem.nodeType === 9 && elem.defaultView; -} - -jQuery.offset = { - setOffset: function( elem, options, i ) { - var curPosition, curLeft, curCSSTop, curTop, curOffset, curCSSLeft, calculatePosition, - position = jQuery.css( elem, "position" ), - curElem = jQuery( elem ), - props = {}; - - // Set position first, in-case top/left are set even on static elem - if ( position === "static" ) { - elem.style.position = "relative"; - } - - curOffset = curElem.offset(); - curCSSTop = jQuery.css( elem, "top" ); - curCSSLeft = jQuery.css( elem, "left" ); - calculatePosition = ( position === "absolute" || position === "fixed" ) && - ( curCSSTop + curCSSLeft ).indexOf( "auto" ) > -1; - - // Need to be able to calculate position if either - // top or left is auto and position is either absolute or fixed - if ( calculatePosition ) { - curPosition = curElem.position(); - curTop = curPosition.top; - curLeft = curPosition.left; - - } else { - curTop = parseFloat( curCSSTop ) || 0; - curLeft = parseFloat( curCSSLeft ) || 0; - } - - if ( jQuery.isFunction( options ) ) { - - // Use jQuery.extend here to allow modification of coordinates argument (gh-1848) - options = options.call( elem, i, jQuery.extend( {}, curOffset ) ); - } - - if ( options.top != null ) { - props.top = ( options.top - curOffset.top ) + curTop; - } - if ( options.left != null ) { - props.left = ( options.left - curOffset.left ) + curLeft; - } - - if ( "using" in options ) { - options.using.call( elem, props ); - - } else { - curElem.css( props ); - } - } -}; - -jQuery.fn.extend( { - offset: function( options ) { - if ( arguments.length ) { - return options === undefined ? - this : - this.each( function( i ) { - jQuery.offset.setOffset( this, options, i ); - } ); - } - - var docElem, win, - elem = this[ 0 ], - box = { top: 0, left: 0 }, - doc = elem && elem.ownerDocument; - - if ( !doc ) { - return; - } - - docElem = doc.documentElement; - - // Make sure it's not a disconnected DOM node - if ( !jQuery.contains( docElem, elem ) ) { - return box; - } - - box = elem.getBoundingClientRect(); - win = getWindow( doc ); - return { - top: box.top + win.pageYOffset - docElem.clientTop, - left: box.left + win.pageXOffset - docElem.clientLeft - }; - }, - - position: function() { - if ( !this[ 0 ] ) { - return; - } - - var offsetParent, offset, - elem = this[ 0 ], - parentOffset = { top: 0, left: 0 }; - - // Fixed elements are offset from window (parentOffset = {top:0, left: 0}, - // because it is its only offset parent - if ( jQuery.css( elem, "position" ) === "fixed" ) { - - // Assume getBoundingClientRect is there when computed position is fixed - offset = elem.getBoundingClientRect(); - - } else { - - // Get *real* offsetParent - offsetParent = this.offsetParent(); - - // Get correct offsets - offset = this.offset(); - if ( !jQuery.nodeName( offsetParent[ 0 ], "html" ) ) { - parentOffset = offsetParent.offset(); - } - - // Add offsetParent borders - parentOffset.top += jQuery.css( offsetParent[ 0 ], "borderTopWidth", true ); - parentOffset.left += jQuery.css( offsetParent[ 0 ], "borderLeftWidth", true ); - } - - // Subtract parent offsets and element margins - return { - top: offset.top - parentOffset.top - jQuery.css( elem, "marginTop", true ), - left: offset.left - parentOffset.left - jQuery.css( elem, "marginLeft", true ) - }; - }, - - // This method will return documentElement in the following cases: - // 1) For the element inside the iframe without offsetParent, this method will return - // documentElement of the parent window - // 2) For the hidden or detached element - // 3) For body or html element, i.e. in case of the html node - it will return itself - // - // but those exceptions were never presented as a real life use-cases - // and might be considered as more preferable results. - // - // This logic, however, is not guaranteed and can change at any point in the future - offsetParent: function() { - return this.map( function() { - var offsetParent = this.offsetParent; - - while ( offsetParent && jQuery.css( offsetParent, "position" ) === "static" ) { - offsetParent = offsetParent.offsetParent; - } - - return offsetParent || documentElement; - } ); - } -} ); - -// Create scrollLeft and scrollTop methods -jQuery.each( { scrollLeft: "pageXOffset", scrollTop: "pageYOffset" }, function( method, prop ) { - var top = "pageYOffset" === prop; - - jQuery.fn[ method ] = function( val ) { - return access( this, function( elem, method, val ) { - var win = getWindow( elem ); - - if ( val === undefined ) { - return win ? win[ prop ] : elem[ method ]; - } - - if ( win ) { - win.scrollTo( - !top ? val : win.pageXOffset, - top ? val : win.pageYOffset - ); - - } else { - elem[ method ] = val; - } - }, method, val, arguments.length ); - }; -} ); - -// Support: Safari<7-8+, Chrome<37-44+ -// Add the top/left cssHooks using jQuery.fn.position -// Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084 -// Blink bug: https://code.google.com/p/chromium/issues/detail?id=229280 -// getComputedStyle returns percent when specified for top/left/bottom/right; -// rather than make the css module depend on the offset module, just check for it here -jQuery.each( [ "top", "left" ], function( i, prop ) { - jQuery.cssHooks[ prop ] = addGetHookIf( support.pixelPosition, - function( elem, computed ) { - if ( computed ) { - computed = curCSS( elem, prop ); - - // If curCSS returns percentage, fallback to offset - return rnumnonpx.test( computed ) ? - jQuery( elem ).position()[ prop ] + "px" : - computed; - } - } - ); -} ); - -return jQuery; -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/outro.js b/minionlivesmatter/templates/assets/jquery/src/outro.js deleted file mode 100644 index d792ffb..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/outro.js +++ /dev/null @@ -1,2 +0,0 @@ -return jQuery; -})); diff --git a/minionlivesmatter/templates/assets/jquery/src/queue.js b/minionlivesmatter/templates/assets/jquery/src/queue.js deleted file mode 100644 index 813c41c..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/queue.js +++ /dev/null @@ -1,143 +0,0 @@ -define( [ - "./core", - "./data/var/dataPriv", - "./deferred", - "./callbacks" -], function( jQuery, dataPriv ) { - -jQuery.extend( { - queue: function( elem, type, data ) { - var queue; - - if ( elem ) { - type = ( type || "fx" ) + "queue"; - queue = dataPriv.get( elem, type ); - - // Speed up dequeue by getting out quickly if this is just a lookup - if ( data ) { - if ( !queue || jQuery.isArray( data ) ) { - queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); - } else { - queue.push( data ); - } - } - return queue || []; - } - }, - - dequeue: function( elem, type ) { - type = type || "fx"; - - var queue = jQuery.queue( elem, type ), - startLength = queue.length, - fn = queue.shift(), - hooks = jQuery._queueHooks( elem, type ), - next = function() { - jQuery.dequeue( elem, type ); - }; - - // If the fx queue is dequeued, always remove the progress sentinel - if ( fn === "inprogress" ) { - fn = queue.shift(); - startLength--; - } - - if ( fn ) { - - // Add a progress sentinel to prevent the fx queue from being - // automatically dequeued - if ( type === "fx" ) { - queue.unshift( "inprogress" ); - } - - // Clear up the last queue stop function - delete hooks.stop; - fn.call( elem, next, hooks ); - } - - if ( !startLength && hooks ) { - hooks.empty.fire(); - } - }, - - // Not public - generate a queueHooks object, or return the current one - _queueHooks: function( elem, type ) { - var key = type + "queueHooks"; - return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { - empty: jQuery.Callbacks( "once memory" ).add( function() { - dataPriv.remove( elem, [ type + "queue", key ] ); - } ) - } ); - } -} ); - -jQuery.fn.extend( { - queue: function( type, data ) { - var setter = 2; - - if ( typeof type !== "string" ) { - data = type; - type = "fx"; - setter--; - } - - if ( arguments.length < setter ) { - return jQuery.queue( this[ 0 ], type ); - } - - return data === undefined ? - this : - this.each( function() { - var queue = jQuery.queue( this, type, data ); - - // Ensure a hooks for this queue - jQuery._queueHooks( this, type ); - - if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { - jQuery.dequeue( this, type ); - } - } ); - }, - dequeue: function( type ) { - return this.each( function() { - jQuery.dequeue( this, type ); - } ); - }, - clearQueue: function( type ) { - return this.queue( type || "fx", [] ); - }, - - // Get a promise resolved when queues of a certain type - // are emptied (fx is the type by default) - promise: function( type, obj ) { - var tmp, - count = 1, - defer = jQuery.Deferred(), - elements = this, - i = this.length, - resolve = function() { - if ( !( --count ) ) { - defer.resolveWith( elements, [ elements ] ); - } - }; - - if ( typeof type !== "string" ) { - obj = type; - type = undefined; - } - type = type || "fx"; - - while ( i-- ) { - tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); - if ( tmp && tmp.empty ) { - count++; - tmp.empty.add( resolve ); - } - } - resolve(); - return defer.promise( obj ); - } -} ); - -return jQuery; -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/queue/delay.js b/minionlivesmatter/templates/assets/jquery/src/queue/delay.js deleted file mode 100644 index 8d5844d..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/queue/delay.js +++ /dev/null @@ -1,22 +0,0 @@ -define( [ - "../core", - "../queue", - "../effects" // Delay is optional because of this dependency -], function( jQuery ) { - -// Based off of the plugin by Clint Helfers, with permission. -// http://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ -jQuery.fn.delay = function( time, type ) { - time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; - type = type || "fx"; - - return this.queue( type, function( next, hooks ) { - var timeout = window.setTimeout( next, time ); - hooks.stop = function() { - window.clearTimeout( timeout ); - }; - } ); -}; - -return jQuery.fn.delay; -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/selector-native.js b/minionlivesmatter/templates/assets/jquery/src/selector-native.js deleted file mode 100644 index ee81483..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/selector-native.js +++ /dev/null @@ -1,211 +0,0 @@ -define( [ - "./core", - "./var/document", - "./var/documentElement", - "./var/hasOwn", - "./var/indexOf" -], function( jQuery, document, documentElement, hasOwn, indexOf ) { - -/* - * Optional (non-Sizzle) selector module for custom builds. - * - * Note that this DOES NOT SUPPORT many documented jQuery - * features in exchange for its smaller size: - * - * Attribute not equal selector - * Positional selectors (:first; :eq(n); :odd; etc.) - * Type selectors (:input; :checkbox; :button; etc.) - * State-based selectors (:animated; :visible; :hidden; etc.) - * :has(selector) - * :not(complex selector) - * custom selectors via Sizzle extensions - * Leading combinators (e.g., $collection.find("> *")) - * Reliable functionality on XML fragments - * Requiring all parts of a selector to match elements under context - * (e.g., $div.find("div > *") now matches children of $div) - * Matching against non-elements - * Reliable sorting of disconnected nodes - * querySelectorAll bug fixes (e.g., unreliable :focus on WebKit) - * - * If any of these are unacceptable tradeoffs, either use Sizzle or - * customize this stub for the project's specific needs. - */ - -var hasDuplicate, sortInput, - sortStable = jQuery.expando.split( "" ).sort( sortOrder ).join( "" ) === jQuery.expando, - matches = documentElement.matches || - documentElement.webkitMatchesSelector || - documentElement.mozMatchesSelector || - documentElement.oMatchesSelector || - documentElement.msMatchesSelector; - -function sortOrder( a, b ) { - - // Flag for duplicate removal - if ( a === b ) { - hasDuplicate = true; - return 0; - } - - // Sort on method existence if only one input has compareDocumentPosition - var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; - if ( compare ) { - return compare; - } - - // Calculate position if both inputs belong to the same document - compare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ? - a.compareDocumentPosition( b ) : - - // Otherwise we know they are disconnected - 1; - - // Disconnected nodes - if ( compare & 1 ) { - - // Choose the first element that is related to our preferred document - if ( a === document || a.ownerDocument === document && - jQuery.contains( document, a ) ) { - return -1; - } - if ( b === document || b.ownerDocument === document && - jQuery.contains( document, b ) ) { - return 1; - } - - // Maintain original order - return sortInput ? - ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) : - 0; - } - - return compare & 4 ? -1 : 1; -} - -function uniqueSort( results ) { - var elem, - duplicates = [], - j = 0, - i = 0; - - hasDuplicate = false; - sortInput = !sortStable && results.slice( 0 ); - results.sort( sortOrder ); - - if ( hasDuplicate ) { - while ( ( elem = results[ i++ ] ) ) { - if ( elem === results[ i ] ) { - j = duplicates.push( i ); - } - } - while ( j-- ) { - results.splice( duplicates[ j ], 1 ); - } - } - - // Clear input after sorting to release objects - // See https://github.com/jquery/sizzle/pull/225 - sortInput = null; - - return results; -} - -jQuery.extend( { - find: function( selector, context, results, seed ) { - var elem, nodeType, - i = 0; - - results = results || []; - context = context || document; - - // Same basic safeguard as Sizzle - if ( !selector || typeof selector !== "string" ) { - return results; - } - - // Early return if context is not an element or document - if ( ( nodeType = context.nodeType ) !== 1 && nodeType !== 9 ) { - return []; - } - - if ( seed ) { - while ( ( elem = seed[ i++ ] ) ) { - if ( jQuery.find.matchesSelector( elem, selector ) ) { - results.push( elem ); - } - } - } else { - jQuery.merge( results, context.querySelectorAll( selector ) ); - } - - return results; - }, - uniqueSort: uniqueSort, - unique: uniqueSort, - text: function( elem ) { - var node, - ret = "", - i = 0, - nodeType = elem.nodeType; - - if ( !nodeType ) { - - // If no nodeType, this is expected to be an array - while ( ( node = elem[ i++ ] ) ) { - - // Do not traverse comment nodes - ret += jQuery.text( node ); - } - } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { - - // Use textContent for elements - return elem.textContent; - } else if ( nodeType === 3 || nodeType === 4 ) { - return elem.nodeValue; - } - - // Do not include comment or processing instruction nodes - - return ret; - }, - contains: function( a, b ) { - var adown = a.nodeType === 9 ? a.documentElement : a, - bup = b && b.parentNode; - return a === bup || !!( bup && bup.nodeType === 1 && adown.contains( bup ) ); - }, - isXMLDoc: function( elem ) { - - // documentElement is verified for cases where it doesn't yet exist - // (such as loading iframes in IE - #4833) - var documentElement = elem && ( elem.ownerDocument || elem ).documentElement; - return documentElement ? documentElement.nodeName !== "HTML" : false; - }, - expr: { - attrHandle: {}, - match: { - bool: new RegExp( "^(?:checked|selected|async|autofocus|autoplay|controls|defer" + - "|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)$", "i" ), - needsContext: /^[\x20\t\r\n\f]*[>+~]/ - } - } -} ); - -jQuery.extend( jQuery.find, { - matches: function( expr, elements ) { - return jQuery.find( expr, null, null, elements ); - }, - matchesSelector: function( elem, expr ) { - return matches.call( elem, expr ); - }, - attr: function( elem, name ) { - var fn = jQuery.expr.attrHandle[ name.toLowerCase() ], - - // Don't get fooled by Object.prototype properties (jQuery #13807) - value = fn && hasOwn.call( jQuery.expr.attrHandle, name.toLowerCase() ) ? - fn( elem, name, jQuery.isXMLDoc( elem ) ) : - undefined; - return value !== undefined ? value : elem.getAttribute( name ); - } -} ); - -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/selector-sizzle.js b/minionlivesmatter/templates/assets/jquery/src/selector-sizzle.js deleted file mode 100644 index 9728a1f..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/selector-sizzle.js +++ /dev/null @@ -1,14 +0,0 @@ -define( [ - "./core", - "../external/sizzle/dist/sizzle" -], function( jQuery, Sizzle ) { - -jQuery.find = Sizzle; -jQuery.expr = Sizzle.selectors; -jQuery.expr[ ":" ] = jQuery.expr.pseudos; -jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; -jQuery.text = Sizzle.getText; -jQuery.isXMLDoc = Sizzle.isXML; -jQuery.contains = Sizzle.contains; - -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/selector.js b/minionlivesmatter/templates/assets/jquery/src/selector.js deleted file mode 100644 index e13f585..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/selector.js +++ /dev/null @@ -1 +0,0 @@ -define( [ "./selector-sizzle" ], function() {} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/serialize.js b/minionlivesmatter/templates/assets/jquery/src/serialize.js deleted file mode 100644 index 94698fc..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/serialize.js +++ /dev/null @@ -1,125 +0,0 @@ -define( [ - "./core", - "./manipulation/var/rcheckableType", - "./core/init", - "./traversing", // filter - "./attributes/prop" -], function( jQuery, rcheckableType ) { - -var r20 = /%20/g, - rbracket = /\[\]$/, - rCRLF = /\r?\n/g, - rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, - rsubmittable = /^(?:input|select|textarea|keygen)/i; - -function buildParams( prefix, obj, traditional, add ) { - var name; - - if ( jQuery.isArray( obj ) ) { - - // Serialize array item. - jQuery.each( obj, function( i, v ) { - if ( traditional || rbracket.test( prefix ) ) { - - // Treat each array item as a scalar. - add( prefix, v ); - - } else { - - // Item is non-scalar (array or object), encode its numeric index. - buildParams( - prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]", - v, - traditional, - add - ); - } - } ); - - } else if ( !traditional && jQuery.type( obj ) === "object" ) { - - // Serialize object item. - for ( name in obj ) { - buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); - } - - } else { - - // Serialize scalar item. - add( prefix, obj ); - } -} - -// Serialize an array of form elements or a set of -// key/values into a query string -jQuery.param = function( a, traditional ) { - var prefix, - s = [], - add = function( key, value ) { - - // If value is a function, invoke it and return its value - value = jQuery.isFunction( value ) ? value() : ( value == null ? "" : value ); - s[ s.length ] = encodeURIComponent( key ) + "=" + encodeURIComponent( value ); - }; - - // Set traditional to true for jQuery <= 1.3.2 behavior. - if ( traditional === undefined ) { - traditional = jQuery.ajaxSettings && jQuery.ajaxSettings.traditional; - } - - // If an array was passed in, assume that it is an array of form elements. - if ( jQuery.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { - - // Serialize the form elements - jQuery.each( a, function() { - add( this.name, this.value ); - } ); - - } else { - - // If traditional, encode the "old" way (the way 1.3.2 or older - // did it), otherwise encode params recursively. - for ( prefix in a ) { - buildParams( prefix, a[ prefix ], traditional, add ); - } - } - - // Return the resulting serialization - return s.join( "&" ).replace( r20, "+" ); -}; - -jQuery.fn.extend( { - serialize: function() { - return jQuery.param( this.serializeArray() ); - }, - serializeArray: function() { - return this.map( function() { - - // Can add propHook for "elements" to filter or add form elements - var elements = jQuery.prop( this, "elements" ); - return elements ? jQuery.makeArray( elements ) : this; - } ) - .filter( function() { - var type = this.type; - - // Use .is( ":disabled" ) so that fieldset[disabled] works - return this.name && !jQuery( this ).is( ":disabled" ) && - rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && - ( this.checked || !rcheckableType.test( type ) ); - } ) - .map( function( i, elem ) { - var val = jQuery( this ).val(); - - return val == null ? - null : - jQuery.isArray( val ) ? - jQuery.map( val, function( val ) { - return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; - } ) : - { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; - } ).get(); - } -} ); - -return jQuery; -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/traversing.js b/minionlivesmatter/templates/assets/jquery/src/traversing.js deleted file mode 100644 index 0d4c1c4..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/traversing.js +++ /dev/null @@ -1,175 +0,0 @@ -define( [ - "./core", - "./var/indexOf", - "./traversing/var/dir", - "./traversing/var/siblings", - "./traversing/var/rneedsContext", - "./core/init", - "./traversing/findFilter", - "./selector" -], function( jQuery, indexOf, dir, siblings, rneedsContext ) { - -var rparentsprev = /^(?:parents|prev(?:Until|All))/, - - // Methods guaranteed to produce a unique set when starting from a unique set - guaranteedUnique = { - children: true, - contents: true, - next: true, - prev: true - }; - -jQuery.fn.extend( { - has: function( target ) { - var targets = jQuery( target, this ), - l = targets.length; - - return this.filter( function() { - var i = 0; - for ( ; i < l; i++ ) { - if ( jQuery.contains( this, targets[ i ] ) ) { - return true; - } - } - } ); - }, - - closest: function( selectors, context ) { - var cur, - i = 0, - l = this.length, - matched = [], - pos = rneedsContext.test( selectors ) || typeof selectors !== "string" ? - jQuery( selectors, context || this.context ) : - 0; - - for ( ; i < l; i++ ) { - for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { - - // Always skip document fragments - if ( cur.nodeType < 11 && ( pos ? - pos.index( cur ) > -1 : - - // Don't pass non-elements to Sizzle - cur.nodeType === 1 && - jQuery.find.matchesSelector( cur, selectors ) ) ) { - - matched.push( cur ); - break; - } - } - } - - return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); - }, - - // Determine the position of an element within the set - index: function( elem ) { - - // No argument, return index in parent - if ( !elem ) { - return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; - } - - // Index in selector - if ( typeof elem === "string" ) { - return indexOf.call( jQuery( elem ), this[ 0 ] ); - } - - // Locate the position of the desired element - return indexOf.call( this, - - // If it receives a jQuery object, the first element is used - elem.jquery ? elem[ 0 ] : elem - ); - }, - - add: function( selector, context ) { - return this.pushStack( - jQuery.uniqueSort( - jQuery.merge( this.get(), jQuery( selector, context ) ) - ) - ); - }, - - addBack: function( selector ) { - return this.add( selector == null ? - this.prevObject : this.prevObject.filter( selector ) - ); - } -} ); - -function sibling( cur, dir ) { - while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} - return cur; -} - -jQuery.each( { - parent: function( elem ) { - var parent = elem.parentNode; - return parent && parent.nodeType !== 11 ? parent : null; - }, - parents: function( elem ) { - return dir( elem, "parentNode" ); - }, - parentsUntil: function( elem, i, until ) { - return dir( elem, "parentNode", until ); - }, - next: function( elem ) { - return sibling( elem, "nextSibling" ); - }, - prev: function( elem ) { - return sibling( elem, "previousSibling" ); - }, - nextAll: function( elem ) { - return dir( elem, "nextSibling" ); - }, - prevAll: function( elem ) { - return dir( elem, "previousSibling" ); - }, - nextUntil: function( elem, i, until ) { - return dir( elem, "nextSibling", until ); - }, - prevUntil: function( elem, i, until ) { - return dir( elem, "previousSibling", until ); - }, - siblings: function( elem ) { - return siblings( ( elem.parentNode || {} ).firstChild, elem ); - }, - children: function( elem ) { - return siblings( elem.firstChild ); - }, - contents: function( elem ) { - return elem.contentDocument || jQuery.merge( [], elem.childNodes ); - } -}, function( name, fn ) { - jQuery.fn[ name ] = function( until, selector ) { - var matched = jQuery.map( this, fn, until ); - - if ( name.slice( -5 ) !== "Until" ) { - selector = until; - } - - if ( selector && typeof selector === "string" ) { - matched = jQuery.filter( selector, matched ); - } - - if ( this.length > 1 ) { - - // Remove duplicates - if ( !guaranteedUnique[ name ] ) { - jQuery.uniqueSort( matched ); - } - - // Reverse order for parents* and prev-derivatives - if ( rparentsprev.test( name ) ) { - matched.reverse(); - } - } - - return this.pushStack( matched ); - }; -} ); - -return jQuery; -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/traversing/findFilter.js b/minionlivesmatter/templates/assets/jquery/src/traversing/findFilter.js deleted file mode 100644 index 7d4b2ca..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/traversing/findFilter.js +++ /dev/null @@ -1,100 +0,0 @@ -define( [ - "../core", - "../var/indexOf", - "./var/rneedsContext", - "../selector" -], function( jQuery, indexOf, rneedsContext ) { - -var risSimple = /^.[^:#\[\.,]*$/; - -// Implement the identical functionality for filter and not -function winnow( elements, qualifier, not ) { - if ( jQuery.isFunction( qualifier ) ) { - return jQuery.grep( elements, function( elem, i ) { - /* jshint -W018 */ - return !!qualifier.call( elem, i, elem ) !== not; - } ); - - } - - if ( qualifier.nodeType ) { - return jQuery.grep( elements, function( elem ) { - return ( elem === qualifier ) !== not; - } ); - - } - - if ( typeof qualifier === "string" ) { - if ( risSimple.test( qualifier ) ) { - return jQuery.filter( qualifier, elements, not ); - } - - qualifier = jQuery.filter( qualifier, elements ); - } - - return jQuery.grep( elements, function( elem ) { - return ( indexOf.call( qualifier, elem ) > -1 ) !== not; - } ); -} - -jQuery.filter = function( expr, elems, not ) { - var elem = elems[ 0 ]; - - if ( not ) { - expr = ":not(" + expr + ")"; - } - - return elems.length === 1 && elem.nodeType === 1 ? - jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [] : - jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { - return elem.nodeType === 1; - } ) ); -}; - -jQuery.fn.extend( { - find: function( selector ) { - var i, - len = this.length, - ret = [], - self = this; - - if ( typeof selector !== "string" ) { - return this.pushStack( jQuery( selector ).filter( function() { - for ( i = 0; i < len; i++ ) { - if ( jQuery.contains( self[ i ], this ) ) { - return true; - } - } - } ) ); - } - - for ( i = 0; i < len; i++ ) { - jQuery.find( selector, self[ i ], ret ); - } - - // Needed because $( selector, context ) becomes $( context ).find( selector ) - ret = this.pushStack( len > 1 ? jQuery.unique( ret ) : ret ); - ret.selector = this.selector ? this.selector + " " + selector : selector; - return ret; - }, - filter: function( selector ) { - return this.pushStack( winnow( this, selector || [], false ) ); - }, - not: function( selector ) { - return this.pushStack( winnow( this, selector || [], true ) ); - }, - is: function( selector ) { - return !!winnow( - this, - - // If this is a positional/relative selector, check membership in the returned set - // so $("p:first").is("p:last") won't return true for a doc with two "p". - typeof selector === "string" && rneedsContext.test( selector ) ? - jQuery( selector ) : - selector || [], - false - ).length; - } -} ); - -} ); diff --git a/minionlivesmatter/templates/assets/jquery/src/wrap.js b/minionlivesmatter/templates/assets/jquery/src/wrap.js deleted file mode 100644 index 4d2c3b2..0000000 --- a/minionlivesmatter/templates/assets/jquery/src/wrap.js +++ /dev/null @@ -1,79 +0,0 @@ -define( [ - "./core", - "./core/init", - "./manipulation", // clone - "./traversing" // parent, contents -], function( jQuery ) { - -jQuery.fn.extend( { - wrapAll: function( html ) { - var wrap; - - if ( jQuery.isFunction( html ) ) { - return this.each( function( i ) { - jQuery( this ).wrapAll( html.call( this, i ) ); - } ); - } - - if ( this[ 0 ] ) { - - // The elements to wrap the target around - wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true ); - - if ( this[ 0 ].parentNode ) { - wrap.insertBefore( this[ 0 ] ); - } - - wrap.map( function() { - var elem = this; - - while ( elem.firstElementChild ) { - elem = elem.firstElementChild; - } - - return elem; - } ).append( this ); - } - - return this; - }, - - wrapInner: function( html ) { - if ( jQuery.isFunction( html ) ) { - return this.each( function( i ) { - jQuery( this ).wrapInner( html.call( this, i ) ); - } ); - } - - return this.each( function() { - var self = jQuery( this ), - contents = self.contents(); - - if ( contents.length ) { - contents.wrapAll( html ); - - } else { - self.append( html ); - } - } ); - }, - - wrap: function( html ) { - var isFunction = jQuery.isFunction( html ); - - return this.each( function( i ) { - jQuery( this ).wrapAll( isFunction ? html.call( this, i ) : html ); - } ); - }, - - unwrap: function() { - return this.parent().each( function() { - if ( !jQuery.nodeName( this, "body" ) ) { - jQuery( this ).replaceWith( this.childNodes ); - } - } ).end(); - } -} ); - -return jQuery; -} ); diff --git a/minionlivesmatter/templates/assets/js/bootstrap.min.js b/minionlivesmatter/templates/assets/js/bootstrap.min.js deleted file mode 100644 index 133aeec..0000000 --- a/minionlivesmatter/templates/assets/js/bootstrap.min.js +++ /dev/null @@ -1,7 +0,0 @@ -/*! - * Bootstrap v3.3.5 (http://getbootstrap.com) - * Copyright 2011-2015 Twitter, Inc. - * Licensed under the MIT license - */ -if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){return a(b.target).is(this)?b.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.3.5",d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){g.detach().trigger("closed.bs.alert").remove()}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a(f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.3.5",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c))},this),0)},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")?(c.prop("checked")&&(a=!1),b.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==c.prop("type")&&(c.prop("checked")!==this.$element.hasClass("active")&&(a=!1),this.$element.toggleClass("active")),c.prop("checked",this.$element.hasClass("active")),a&&c.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target);d.hasClass("btn")||(d=d.closest(".btn")),b.call(d,"toggle"),a(c.target).is('input[type="radio"]')||a(c.target).is('input[type="checkbox"]')||c.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){a(b.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(b.type))})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.3.5",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()}},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.getItemForDirection=function(a,b){var c=this.getItemIndex(b),d="prev"==a&&0===c||"next"==a&&c==this.$items.length-1;if(d&&!this.options.wrap)return b;var e="prev"==a?-1:1,f=(c+e)%this.$items.length;return this.$items.eq(f)},c.prototype.to=function(a){var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));return a>this.$items.length-1||0>a?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a)}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){return this.sliding?void 0:this.slide("next")},c.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},c.prototype.slide=function(b,d){var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next"==b?"left":"right",i=this;if(f.hasClass("active"))return this.sliding=!1;var j=f[0],k=a.Event("slide.bs.carousel",{relatedTarget:j,direction:h});if(this.$element.trigger(k),!k.isDefaultPrevented()){if(this.sliding=!0,g&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(f)]);l&&l.addClass("active")}var m=a.Event("slid.bs.carousel",{relatedTarget:j,direction:h});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger(m)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(m)),g&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this};var e=function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){var c,d=b.attr("data-target")||(c=b.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return a(d)}function c(b){return this.each(function(){var c=a(this),e=c.data("bs.collapse"),f=a.extend({},d.DEFAULTS,c.data(),"object"==typeof b&&b);!e&&f.toggle&&/show|hide/.test(b)&&(f.toggle=!1),e||c.data("bs.collapse",e=new d(this,f)),"string"==typeof b&&e[b]()})}var d=function(b,c){this.$element=a(b),this.options=a.extend({},d.DEFAULTS,c),this.$trigger=a('[data-toggle="collapse"][href="#'+b.id+'"],[data-toggle="collapse"][data-target="#'+b.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};d.VERSION="3.3.5",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0},d.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},d.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(b=e.data("bs.collapse"),b&&b.transitioning))){var f=a.Event("show.bs.collapse");if(this.$element.trigger(f),!f.isDefaultPrevented()){e&&e.length&&(c.call(e,"hide"),b||e.data("bs.collapse",null));var g=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var h=function(){this.$element.removeClass("collapsing").addClass("collapse in")[g](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return h.call(this);var i=a.camelCase(["scroll",g].join("-"));this.$element.one("bsTransitionEnd",a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i])}}}},d.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(d.TRANSITION_DURATION):e.call(this)}}},d.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},d.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(c,d){var e=a(d);this.addAriaAndCollapsedClass(b(e),e)},this)).end()},d.prototype.addAriaAndCollapsedClass=function(a,b){var c=a.hasClass("in");a.attr("aria-expanded",c),b.toggleClass("collapsed",!c).attr("aria-expanded",c)};var e=a.fn.collapse;a.fn.collapse=c,a.fn.collapse.Constructor=d,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(d){var e=a(this);e.attr("data-target")||d.preventDefault();var f=b(e),g=f.data("bs.collapse"),h=g?"toggle":e.data();c.call(f,h)})}(jQuery),+function(a){"use strict";function b(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function c(c){c&&3===c.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=b(d),f={relatedTarget:this};e.hasClass("open")&&(c&&"click"==c.type&&/input|textarea/i.test(c.target.tagName)&&a.contains(e[0],c.target)||(e.trigger(c=a.Event("hide.bs.dropdown",f)),c.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger("hidden.bs.dropdown",f))))}))}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.3.5",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=b(e),g=f.hasClass("open");if(c(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",c);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),f.toggleClass("open").trigger("shown.bs.dropdown",h)}return!1}},g.prototype.keydown=function(c){if(/(38|40|27|32)/.test(c.which)&&!/input|textarea/i.test(c.target.tagName)){var d=a(this);if(c.preventDefault(),c.stopPropagation(),!d.is(".disabled, :disabled")){var e=b(d),g=e.hasClass("open");if(!g&&27!=c.which||g&&27==c.which)return 27==c.which&&e.find(f).trigger("focus"),d.trigger("click");var h=" li:not(.disabled):visible a",i=e.find(".dropdown-menu"+h);if(i.length){var j=i.index(c.target);38==c.which&&j>0&&j--,40==c.which&&j<i.length-1&&j++,~j||(j=0),i.eq(j).trigger("focus")}}}};var h=a.fn.dropdown;a.fn.dropdown=d,a.fn.dropdown.Constructor=g,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=h,this},a(document).on("click.bs.dropdown.data-api",c).on("click.bs.dropdown.data-api",".dropdown form",function(a){a.stopPropagation()}).on("click.bs.dropdown.data-api",f,g.prototype.toggle).on("keydown.bs.dropdown.data-api",f,g.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",g.prototype.keydown)}(jQuery),+function(a){"use strict";function b(b,d){return this.each(function(){var e=a(this),f=e.data("bs.modal"),g=a.extend({},c.DEFAULTS,e.data(),"object"==typeof b&&b);f||e.data("bs.modal",f=new c(this,g)),"string"==typeof b?f[b](d):g.show&&f.show(d)})}var c=function(b,c){this.options=c,this.$body=a(document.body),this.$element=a(b),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,a.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};c.VERSION="3.3.5",c.TRANSITION_DURATION=300,c.BACKDROP_TRANSITION_DURATION=150,c.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},c.prototype.toggle=function(a){return this.isShown?this.hide():this.show(a)},c.prototype.show=function(b){var d=this,e=a.Event("show.bs.modal",{relatedTarget:b});this.$element.trigger(e),this.isShown||e.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',a.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){d.$element.one("mouseup.dismiss.bs.modal",function(b){a(b.target).is(d.$element)&&(d.ignoreBackdropClick=!0)})}),this.backdrop(function(){var e=a.support.transition&&d.$element.hasClass("fade");d.$element.parent().length||d.$element.appendTo(d.$body),d.$element.show().scrollTop(0),d.adjustDialog(),e&&d.$element[0].offsetWidth,d.$element.addClass("in"),d.enforceFocus();var f=a.Event("shown.bs.modal",{relatedTarget:b});e?d.$dialog.one("bsTransitionEnd",function(){d.$element.trigger("focus").trigger(f)}).emulateTransitionEnd(c.TRANSITION_DURATION):d.$element.trigger("focus").trigger(f)}))},c.prototype.hide=function(b){b&&b.preventDefault(),b=a.Event("hide.bs.modal"),this.$element.trigger(b),this.isShown&&!b.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),a(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),a.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",a.proxy(this.hideModal,this)).emulateTransitionEnd(c.TRANSITION_DURATION):this.hideModal())},c.prototype.enforceFocus=function(){a(document).off("focusin.bs.modal").on("focusin.bs.modal",a.proxy(function(a){this.$element[0]===a.target||this.$element.has(a.target).length||this.$element.trigger("focus")},this))},c.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",a.proxy(function(a){27==a.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},c.prototype.resize=function(){this.isShown?a(window).on("resize.bs.modal",a.proxy(this.handleUpdate,this)):a(window).off("resize.bs.modal")},c.prototype.hideModal=function(){var a=this;this.$element.hide(),this.backdrop(function(){a.$body.removeClass("modal-open"),a.resetAdjustments(),a.resetScrollbar(),a.$element.trigger("hidden.bs.modal")})},c.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},c.prototype.backdrop=function(b){var d=this,e=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var f=a.support.transition&&e;if(this.$backdrop=a(document.createElement("div")).addClass("modal-backdrop "+e).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",a.proxy(function(a){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(a.target===a.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))},this)),f&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!b)return;f?this.$backdrop.one("bsTransitionEnd",b).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION):b()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var g=function(){d.removeBackdrop(),b&&b()};a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",g).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION):g()}else b&&b()},c.prototype.handleUpdate=function(){this.adjustDialog()},c.prototype.adjustDialog=function(){var a=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&a?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!a?this.scrollbarWidth:""})},c.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},c.prototype.checkScrollbar=function(){var a=window.innerWidth;if(!a){var b=document.documentElement.getBoundingClientRect();a=b.right-Math.abs(b.left)}this.bodyIsOverflowing=document.body.clientWidth<a,this.scrollbarWidth=this.measureScrollbar()},c.prototype.setScrollbar=function(){var a=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",a+this.scrollbarWidth)},c.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},c.prototype.measureScrollbar=function(){var a=document.createElement("div");a.className="modal-scrollbar-measure",this.$body.append(a);var b=a.offsetWidth-a.clientWidth;return this.$body[0].removeChild(a),b};var d=a.fn.modal;a.fn.modal=b,a.fn.modal.Constructor=c,a.fn.modal.noConflict=function(){return a.fn.modal=d,this},a(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(c){var d=a(this),e=d.attr("href"),f=a(d.attr("data-target")||e&&e.replace(/.*(?=#[^\s]+$)/,"")),g=f.data("bs.modal")?"toggle":a.extend({remote:!/#/.test(e)&&e},f.data(),d.data());d.is("a")&&c.preventDefault(),f.one("show.bs.modal",function(a){a.isDefaultPrevented()||f.one("hidden.bs.modal",function(){d.is(":visible")&&d.trigger("focus")})}),b.call(f,g,this)})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tooltip"),f="object"==typeof b&&b;(e||!/destroy|hide/.test(b))&&(e||d.data("bs.tooltip",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",a,b)};c.VERSION="3.3.5",c.TRANSITION_DURATION=150,c.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(b,c,d){if(this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&a(a.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},c.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},c.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusin"==b.type?"focus":"hover"]=!0),c.tip().hasClass("in")||"in"==c.hoverState?void(c.hoverState="in"):(clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show())},c.prototype.isInStateTrue=function(){for(var a in this.inState)if(this.inState[a])return!0;return!1},c.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusout"==b.type?"focus":"hover"]=!1),c.isInStateTrue()?void 0:(clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide())},c.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var d=a.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(b.isDefaultPrevented()||!d)return;var e=this,f=this.tip(),g=this.getUID(this.type);this.setContent(),f.attr("id",g),this.$element.attr("aria-describedby",g),this.options.animation&&f.addClass("fade");var h="function"==typeof this.options.placement?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,i=/\s?auto?\s?/i,j=i.test(h);j&&(h=h.replace(i,"")||"top"),f.detach().css({top:0,left:0,display:"block"}).addClass(h).data("bs."+this.type,this),this.options.container?f.appendTo(this.options.container):f.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var k=this.getPosition(),l=f[0].offsetWidth,m=f[0].offsetHeight;if(j){var n=h,o=this.getPosition(this.$viewport);h="bottom"==h&&k.bottom+m>o.bottom?"top":"top"==h&&k.top-m<o.top?"bottom":"right"==h&&k.right+l>o.width?"left":"left"==h&&k.left-l<o.left?"right":h,f.removeClass(n).addClass(h)}var p=this.getCalculatedOffset(h,k,l,m);this.applyPlacement(p,h);var q=function(){var a=e.hoverState;e.$element.trigger("shown.bs."+e.type),e.hoverState=null,"out"==a&&e.leave(e)};a.support.transition&&this.$tip.hasClass("fade")?f.one("bsTransitionEnd",q).emulateTransitionEnd(c.TRANSITION_DURATION):q()}},c.prototype.applyPlacement=function(b,c){var d=this.tip(),e=d[0].offsetWidth,f=d[0].offsetHeight,g=parseInt(d.css("margin-top"),10),h=parseInt(d.css("margin-left"),10);isNaN(g)&&(g=0),isNaN(h)&&(h=0),b.top+=g,b.left+=h,a.offset.setOffset(d[0],a.extend({using:function(a){d.css({top:Math.round(a.top),left:Math.round(a.left)})}},b),0),d.addClass("in");var i=d[0].offsetWidth,j=d[0].offsetHeight;"top"==c&&j!=f&&(b.top=b.top+f-j);var k=this.getViewportAdjustedDelta(c,b,i,j);k.left?b.left+=k.left:b.top+=k.top;var l=/top|bottom/.test(c),m=l?2*k.left-e+i:2*k.top-f+j,n=l?"offsetWidth":"offsetHeight";d.offset(b),this.replaceArrow(m,d[0][n],l)},c.prototype.replaceArrow=function(a,b,c){this.arrow().css(c?"left":"top",50*(1-a/b)+"%").css(c?"top":"left","")},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle();a.find(".tooltip-inner")[this.options.html?"html":"text"](b),a.removeClass("fade in top bottom left right")},c.prototype.hide=function(b){function d(){"in"!=e.hoverState&&f.detach(),e.$element.removeAttr("aria-describedby").trigger("hidden.bs."+e.type),b&&b()}var e=this,f=a(this.$tip),g=a.Event("hide.bs."+this.type);return this.$element.trigger(g),g.isDefaultPrevented()?void 0:(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one("bsTransitionEnd",d).emulateTransitionEnd(c.TRANSITION_DURATION):d(),this.hoverState=null,this)},c.prototype.fixTitle=function(){var a=this.$element;(a.attr("title")||"string"!=typeof a.attr("data-original-title"))&&a.attr("data-original-title",a.attr("title")||"").attr("title","")},c.prototype.hasContent=function(){return this.getTitle()},c.prototype.getPosition=function(b){b=b||this.$element;var c=b[0],d="BODY"==c.tagName,e=c.getBoundingClientRect();null==e.width&&(e=a.extend({},e,{width:e.right-e.left,height:e.bottom-e.top}));var f=d?{top:0,left:0}:b.offset(),g={scroll:d?document.documentElement.scrollTop||document.body.scrollTop:b.scrollTop()},h=d?{width:a(window).width(),height:a(window).height()}:null;return a.extend({},e,g,h,f)},c.prototype.getCalculatedOffset=function(a,b,c,d){return"bottom"==a?{top:b.top+b.height,left:b.left+b.width/2-c/2}:"top"==a?{top:b.top-d,left:b.left+b.width/2-c/2}:"left"==a?{top:b.top+b.height/2-d/2,left:b.left-c}:{top:b.top+b.height/2-d/2,left:b.left+b.width}},c.prototype.getViewportAdjustedDelta=function(a,b,c,d){var e={top:0,left:0};if(!this.$viewport)return e;var f=this.options.viewport&&this.options.viewport.padding||0,g=this.getPosition(this.$viewport);if(/right|left/.test(a)){var h=b.top-f-g.scroll,i=b.top+f-g.scroll+d;h<g.top?e.top=g.top-h:i>g.top+g.height&&(e.top=g.top+g.height-i)}else{var j=b.left-f,k=b.left+f+c;j<g.left?e.left=g.left-j:k>g.right&&(e.left=g.left+g.width-k)}return e},c.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a},c.prototype.tip=function(){if(!this.$tip&&(this.$tip=a(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),b?(c.inState.click=!c.inState.click,c.isInStateTrue()?c.enter(c):c.leave(c)):c.tip().hasClass("in")?c.leave(c):c.enter(c)},c.prototype.destroy=function(){var a=this;clearTimeout(this.timeout),this.hide(function(){a.$element.off("."+a.type).removeData("bs."+a.type),a.$tip&&a.$tip.detach(),a.$tip=null,a.$arrow=null,a.$viewport=null})};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this}}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b;(e||!/destroy|hide/.test(b))&&(e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.3.5",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),c.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function(){return a.fn.popover=d,this}}(jQuery),+function(a){"use strict";function b(c,d){this.$body=a(document.body),this.$scrollElement=a(a(c).is(document.body)?window:c),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",a.proxy(this.process,this)),this.refresh(),this.process()}function c(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})}b.VERSION="3.3.5",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},b.prototype.refresh=function(){var b=this,c="offset",d=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),a.isWindow(this.$scrollElement[0])||(c="position",d=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var b=a(this),e=b.data("target")||b.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[c]().top+d,e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){b.offsets.push(this[0]),b.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.getScrollHeight(),d=this.options.offset+c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(this.scrollHeight!=c&&this.refresh(),b>=d)return g!=(a=f[f.length-1])&&this.activate(a);if(g&&b<e[0])return this.activeTarget=null,this.clear();for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(void 0===e[a+1]||b<e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,this.clear();var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")), -d.trigger("activate.bs.scrollspy")},b.prototype.clear=function(){a(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var d=a.fn.scrollspy;a.fn.scrollspy=c,a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=d,this},a(window).on("load.bs.scrollspy.data-api",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);c.call(b,b.data())})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new c(this)),"string"==typeof b&&e[b]()})}var c=function(b){this.element=a(b)};c.VERSION="3.3.5",c.TRANSITION_DURATION=150,c.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a"),f=a.Event("hide.bs.tab",{relatedTarget:b[0]}),g=a.Event("show.bs.tab",{relatedTarget:e[0]});if(e.trigger(f),b.trigger(g),!g.isDefaultPrevented()&&!f.isDefaultPrevented()){var h=a(d);this.activate(b.closest("li"),c),this.activate(h,h.parent(),function(){e.trigger({type:"hidden.bs.tab",relatedTarget:b[0]}),b.trigger({type:"shown.bs.tab",relatedTarget:e[0]})})}}},c.prototype.activate=function(b,d,e){function f(){g.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),b.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),h?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu").length&&b.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),e&&e()}var g=d.find("> .active"),h=e&&a.support.transition&&(g.length&&g.hasClass("fade")||!!d.find("> .fade").length);g.length&&h?g.one("bsTransitionEnd",f).emulateTransitionEnd(c.TRANSITION_DURATION):f(),g.removeClass("in")};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this};var e=function(c){c.preventDefault(),b.call(a(this),"show")};a(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(b),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};c.VERSION="3.3.5",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(a,b,c,d){var e=this.$target.scrollTop(),f=this.$element.offset(),g=this.$target.height();if(null!=c&&"top"==this.affixed)return c>e?"top":!1;if("bottom"==this.affixed)return null!=c?e+this.unpin<=f.top?!1:"bottom":a-d>=e+g?!1:"bottom";var h=null==this.affixed,i=h?e:f.top,j=h?g:b;return null!=c&&c>=e?"top":null!=d&&i+j>=a-d?"bottom":!1},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=this.$element.height(),d=this.options.offset,e=d.top,f=d.bottom,g=Math.max(a(document).height(),a(document.body).height());"object"!=typeof d&&(f=e=d),"function"==typeof e&&(e=d.top(this.$element)),"function"==typeof f&&(f=d.bottom(this.$element));var h=this.getState(g,b,e,f);if(this.affixed!=h){null!=this.unpin&&this.$element.css("top","");var i="affix"+(h?"-"+h:""),j=a.Event(i+".bs.affix");if(this.$element.trigger(j),j.isDefaultPrevented())return;this.affixed=h,this.unpin="bottom"==h?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix")}"bottom"==h&&this.$element.offset({top:g-b-f})}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},null!=d.offsetBottom&&(d.offset.bottom=d.offsetBottom),null!=d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery);
\ No newline at end of file diff --git a/minionlivesmatter/templates/assets/js/hipster-cards.js b/minionlivesmatter/templates/assets/js/hipster-cards.js deleted file mode 100644 index f74de6b..0000000 --- a/minionlivesmatter/templates/assets/js/hipster-cards.js +++ /dev/null @@ -1,49 +0,0 @@ -$(document).ready(function(){ - window_width = $(window).width(); - - // Make the images from the card fill the hole space - hipster_cards.fitBackgroundForCards(); - -}); - -hipster_cards = { - misc:{ - navbar_menu_visible: 0 - }, - - fitBackgroundForCards: function(){ - $('[data-background="image"]').each(function(){ - $this = $(this); - - background_src = $this.data("src"); - - if(background_src != "undefined"){ - new_css = { - "background-image": "url('" + background_src + "')", - "background-position": "center center", - "background-size": "cover" - }; - - $this.css(new_css); - } - }); - - $('.card .header img').each(function(){ - $card = $(this).parent().parent(); - $header = $(this).parent(); - - background_src = $(this).attr("src"); - - if(background_src != "undefined"){ - new_css = { - "background-image": "url('" + background_src + "')", - "background-position": "center center", - "background-size": "cover" - }; - - $header.css(new_css); - } - }); - - }, -}
\ No newline at end of file diff --git a/minionlivesmatter/templates/assets/js/jquery-1.10.2.js b/minionlivesmatter/templates/assets/js/jquery-1.10.2.js deleted file mode 100644 index d6f6ac8..0000000 --- a/minionlivesmatter/templates/assets/js/jquery-1.10.2.js +++ /dev/null @@ -1,9789 +0,0 @@ -/*! - * jQuery JavaScript Library v1.10.2 - * http://jquery.com/ - * - * Includes Sizzle.js - * http://sizzlejs.com/ - * - * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors - * Released under the MIT license - * http://jquery.org/license - * - * Date: 2013-07-03T13:48Z - */ -(function( window, undefined ) { - -// Can't do this because several apps including ASP.NET trace -// the stack via arguments.caller.callee and Firefox dies if -// you try to trace through "use strict" call chains. (#13335) -// Support: Firefox 18+ -//"use strict"; -var - // The deferred used on DOM ready - readyList, - - // A central reference to the root jQuery(document) - rootjQuery, - - // Support: IE<10 - // For `typeof xmlNode.method` instead of `xmlNode.method !== undefined` - core_strundefined = typeof undefined, - - // Use the correct document accordingly with window argument (sandbox) - location = window.location, - document = window.document, - docElem = document.documentElement, - - // Map over jQuery in case of overwrite - _jQuery = window.jQuery, - - // Map over the $ in case of overwrite - _$ = window.$, - - // [[Class]] -> type pairs - class2type = {}, - - // List of deleted data cache ids, so we can reuse them - core_deletedIds = [], - - core_version = "1.10.2", - - // Save a reference to some core methods - core_concat = core_deletedIds.concat, - core_push = core_deletedIds.push, - core_slice = core_deletedIds.slice, - core_indexOf = core_deletedIds.indexOf, - core_toString = class2type.toString, - core_hasOwn = class2type.hasOwnProperty, - core_trim = core_version.trim, - - // Define a local copy of jQuery - jQuery = function( selector, context ) { - // The jQuery object is actually just the init constructor 'enhanced' - return new jQuery.fn.init( selector, context, rootjQuery ); - }, - - // Used for matching numbers - core_pnum = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, - - // Used for splitting on whitespace - core_rnotwhite = /\S+/g, - - // Make sure we trim BOM and NBSP (here's looking at you, Safari 5.0 and IE) - rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, - - // A simple way to check for HTML strings - // Prioritize #id over <tag> to avoid XSS via location.hash (#9521) - // Strict HTML recognition (#11290: must start with <) - rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/, - - // Match a standalone tag - rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>|)$/, - - // JSON RegExp - rvalidchars = /^[\],:{}\s]*$/, - rvalidbraces = /(?:^|:|,)(?:\s*\[)+/g, - rvalidescape = /\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g, - rvalidtokens = /"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g, - - // Matches dashed string for camelizing - rmsPrefix = /^-ms-/, - rdashAlpha = /-([\da-z])/gi, - - // Used by jQuery.camelCase as callback to replace() - fcamelCase = function( all, letter ) { - return letter.toUpperCase(); - }, - - // The ready event handler - completed = function( event ) { - - // readyState === "complete" is good enough for us to call the dom ready in oldIE - if ( document.addEventListener || event.type === "load" || document.readyState === "complete" ) { - detach(); - jQuery.ready(); - } - }, - // Clean-up method for dom ready events - detach = function() { - if ( document.addEventListener ) { - document.removeEventListener( "DOMContentLoaded", completed, false ); - window.removeEventListener( "load", completed, false ); - - } else { - document.detachEvent( "onreadystatechange", completed ); - window.detachEvent( "onload", completed ); - } - }; - -jQuery.fn = jQuery.prototype = { - // The current version of jQuery being used - jquery: core_version, - - constructor: jQuery, - init: function( selector, context, rootjQuery ) { - var match, elem; - - // HANDLE: $(""), $(null), $(undefined), $(false) - if ( !selector ) { - return this; - } - - // Handle HTML strings - if ( typeof selector === "string" ) { - if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) { - // Assume that strings that start and end with <> are HTML and skip the regex check - match = [ null, selector, null ]; - - } else { - match = rquickExpr.exec( selector ); - } - - // Match html or make sure no context is specified for #id - if ( match && (match[1] || !context) ) { - - // HANDLE: $(html) -> $(array) - if ( match[1] ) { - context = context instanceof jQuery ? context[0] : context; - - // scripts is true for back-compat - jQuery.merge( this, jQuery.parseHTML( - match[1], - context && context.nodeType ? context.ownerDocument || context : document, - true - ) ); - - // HANDLE: $(html, props) - if ( rsingleTag.test( match[1] ) && jQuery.isPlainObject( context ) ) { - for ( match in context ) { - // Properties of context are called as methods if possible - if ( jQuery.isFunction( this[ match ] ) ) { - this[ match ]( context[ match ] ); - - // ...and otherwise set as attributes - } else { - this.attr( match, context[ match ] ); - } - } - } - - return this; - - // HANDLE: $(#id) - } else { - elem = document.getElementById( match[2] ); - - // Check parentNode to catch when Blackberry 4.6 returns - // nodes that are no longer in the document #6963 - if ( elem && elem.parentNode ) { - // Handle the case where IE and Opera return items - // by name instead of ID - if ( elem.id !== match[2] ) { - return rootjQuery.find( selector ); - } - - // Otherwise, we inject the element directly into the jQuery object - this.length = 1; - this[0] = elem; - } - - this.context = document; - this.selector = selector; - return this; - } - - // HANDLE: $(expr, $(...)) - } else if ( !context || context.jquery ) { - return ( context || rootjQuery ).find( selector ); - - // HANDLE: $(expr, context) - // (which is just equivalent to: $(context).find(expr) - } else { - return this.constructor( context ).find( selector ); - } - - // HANDLE: $(DOMElement) - } else if ( selector.nodeType ) { - this.context = this[0] = selector; - this.length = 1; - return this; - - // HANDLE: $(function) - // Shortcut for document ready - } else if ( jQuery.isFunction( selector ) ) { - return rootjQuery.ready( selector ); - } - - if ( selector.selector !== undefined ) { - this.selector = selector.selector; - this.context = selector.context; - } - - return jQuery.makeArray( selector, this ); - }, - - // Start with an empty selector - selector: "", - - // The default length of a jQuery object is 0 - length: 0, - - toArray: function() { - return core_slice.call( this ); - }, - - // Get the Nth element in the matched element set OR - // Get the whole matched element set as a clean array - get: function( num ) { - return num == null ? - - // Return a 'clean' array - this.toArray() : - - // Return just the object - ( num < 0 ? this[ this.length + num ] : this[ num ] ); - }, - - // Take an array of elements and push it onto the stack - // (returning the new matched element set) - pushStack: function( elems ) { - - // Build a new jQuery matched element set - var ret = jQuery.merge( this.constructor(), elems ); - - // Add the old object onto the stack (as a reference) - ret.prevObject = this; - ret.context = this.context; - - // Return the newly-formed element set - return ret; - }, - - // Execute a callback for every element in the matched set. - // (You can seed the arguments with an array of args, but this is - // only used internally.) - each: function( callback, args ) { - return jQuery.each( this, callback, args ); - }, - - ready: function( fn ) { - // Add the callback - jQuery.ready.promise().done( fn ); - - return this; - }, - - slice: function() { - return this.pushStack( core_slice.apply( this, arguments ) ); - }, - - first: function() { - return this.eq( 0 ); - }, - - last: function() { - return this.eq( -1 ); - }, - - eq: function( i ) { - var len = this.length, - j = +i + ( i < 0 ? len : 0 ); - return this.pushStack( j >= 0 && j < len ? [ this[j] ] : [] ); - }, - - map: function( callback ) { - return this.pushStack( jQuery.map(this, function( elem, i ) { - return callback.call( elem, i, elem ); - })); - }, - - end: function() { - return this.prevObject || this.constructor(null); - }, - - // For internal use only. - // Behaves like an Array's method, not like a jQuery method. - push: core_push, - sort: [].sort, - splice: [].splice -}; - -// Give the init function the jQuery prototype for later instantiation -jQuery.fn.init.prototype = jQuery.fn; - -jQuery.extend = jQuery.fn.extend = function() { - var src, copyIsArray, copy, name, options, clone, - target = arguments[0] || {}, - i = 1, - length = arguments.length, - deep = false; - - // Handle a deep copy situation - if ( typeof target === "boolean" ) { - deep = target; - target = arguments[1] || {}; - // skip the boolean and the target - i = 2; - } - - // Handle case when target is a string or something (possible in deep copy) - if ( typeof target !== "object" && !jQuery.isFunction(target) ) { - target = {}; - } - - // extend jQuery itself if only one argument is passed - if ( length === i ) { - target = this; - --i; - } - - for ( ; i < length; i++ ) { - // Only deal with non-null/undefined values - if ( (options = arguments[ i ]) != null ) { - // Extend the base object - for ( name in options ) { - src = target[ name ]; - copy = options[ name ]; - - // Prevent never-ending loop - if ( target === copy ) { - continue; - } - - // Recurse if we're merging plain objects or arrays - if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) { - if ( copyIsArray ) { - copyIsArray = false; - clone = src && jQuery.isArray(src) ? src : []; - - } else { - clone = src && jQuery.isPlainObject(src) ? src : {}; - } - - // Never move original objects, clone them - target[ name ] = jQuery.extend( deep, clone, copy ); - - // Don't bring in undefined values - } else if ( copy !== undefined ) { - target[ name ] = copy; - } - } - } - } - - // Return the modified object - return target; -}; - -jQuery.extend({ - // Unique for each copy of jQuery on the page - // Non-digits removed to match rinlinejQuery - expando: "jQuery" + ( core_version + Math.random() ).replace( /\D/g, "" ), - - noConflict: function( deep ) { - if ( window.$ === jQuery ) { - window.$ = _$; - } - - if ( deep && window.jQuery === jQuery ) { - window.jQuery = _jQuery; - } - - return jQuery; - }, - - // Is the DOM ready to be used? Set to true once it occurs. - isReady: false, - - // A counter to track how many items to wait for before - // the ready event fires. See #6781 - readyWait: 1, - - // Hold (or release) the ready event - holdReady: function( hold ) { - if ( hold ) { - jQuery.readyWait++; - } else { - jQuery.ready( true ); - } - }, - - // Handle when the DOM is ready - ready: function( wait ) { - - // Abort if there are pending holds or we're already ready - if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { - return; - } - - // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). - if ( !document.body ) { - return setTimeout( jQuery.ready ); - } - - // Remember that the DOM is ready - jQuery.isReady = true; - - // If a normal DOM Ready event fired, decrement, and wait if need be - if ( wait !== true && --jQuery.readyWait > 0 ) { - return; - } - - // If there are functions bound, to execute - readyList.resolveWith( document, [ jQuery ] ); - - // Trigger any bound ready events - if ( jQuery.fn.trigger ) { - jQuery( document ).trigger("ready").off("ready"); - } - }, - - // See test/unit/core.js for details concerning isFunction. - // Since version 1.3, DOM methods and functions like alert - // aren't supported. They return false on IE (#2968). - isFunction: function( obj ) { - return jQuery.type(obj) === "function"; - }, - - isArray: Array.isArray || function( obj ) { - return jQuery.type(obj) === "array"; - }, - - isWindow: function( obj ) { - /* jshint eqeqeq: false */ - return obj != null && obj == obj.window; - }, - - isNumeric: function( obj ) { - return !isNaN( parseFloat(obj) ) && isFinite( obj ); - }, - - type: function( obj ) { - if ( obj == null ) { - return String( obj ); - } - return typeof obj === "object" || typeof obj === "function" ? - class2type[ core_toString.call(obj) ] || "object" : - typeof obj; - }, - - isPlainObject: function( obj ) { - var key; - - // Must be an Object. - // Because of IE, we also have to check the presence of the constructor property. - // Make sure that DOM nodes and window objects don't pass through, as well - if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) { - return false; - } - - try { - // Not own constructor property must be Object - if ( obj.constructor && - !core_hasOwn.call(obj, "constructor") && - !core_hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) { - return false; - } - } catch ( e ) { - // IE8,9 Will throw exceptions on certain host objects #9897 - return false; - } - - // Support: IE<9 - // Handle iteration over inherited properties before own properties. - if ( jQuery.support.ownLast ) { - for ( key in obj ) { - return core_hasOwn.call( obj, key ); - } - } - - // Own properties are enumerated firstly, so to speed up, - // if last one is own, then all properties are own. - for ( key in obj ) {} - - return key === undefined || core_hasOwn.call( obj, key ); - }, - - isEmptyObject: function( obj ) { - var name; - for ( name in obj ) { - return false; - } - return true; - }, - - error: function( msg ) { - throw new Error( msg ); - }, - - // data: string of html - // context (optional): If specified, the fragment will be created in this context, defaults to document - // keepScripts (optional): If true, will include scripts passed in the html string - parseHTML: function( data, context, keepScripts ) { - if ( !data || typeof data !== "string" ) { - return null; - } - if ( typeof context === "boolean" ) { - keepScripts = context; - context = false; - } - context = context || document; - - var parsed = rsingleTag.exec( data ), - scripts = !keepScripts && []; - - // Single tag - if ( parsed ) { - return [ context.createElement( parsed[1] ) ]; - } - - parsed = jQuery.buildFragment( [ data ], context, scripts ); - if ( scripts ) { - jQuery( scripts ).remove(); - } - return jQuery.merge( [], parsed.childNodes ); - }, - - parseJSON: function( data ) { - // Attempt to parse using the native JSON parser first - if ( window.JSON && window.JSON.parse ) { - return window.JSON.parse( data ); - } - - if ( data === null ) { - return data; - } - - if ( typeof data === "string" ) { - - // Make sure leading/trailing whitespace is removed (IE can't handle it) - data = jQuery.trim( data ); - - if ( data ) { - // Make sure the incoming data is actual JSON - // Logic borrowed from http://json.org/json2.js - if ( rvalidchars.test( data.replace( rvalidescape, "@" ) - .replace( rvalidtokens, "]" ) - .replace( rvalidbraces, "")) ) { - - return ( new Function( "return " + data ) )(); - } - } - } - - jQuery.error( "Invalid JSON: " + data ); - }, - - // Cross-browser xml parsing - parseXML: function( data ) { - var xml, tmp; - if ( !data || typeof data !== "string" ) { - return null; - } - try { - if ( window.DOMParser ) { // Standard - tmp = new DOMParser(); - xml = tmp.parseFromString( data , "text/xml" ); - } else { // IE - xml = new ActiveXObject( "Microsoft.XMLDOM" ); - xml.async = "false"; - xml.loadXML( data ); - } - } catch( e ) { - xml = undefined; - } - if ( !xml || !xml.documentElement || xml.getElementsByTagName( "parsererror" ).length ) { - jQuery.error( "Invalid XML: " + data ); - } - return xml; - }, - - noop: function() {}, - - // Evaluates a script in a global context - // Workarounds based on findings by Jim Driscoll - // http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context - globalEval: function( data ) { - if ( data && jQuery.trim( data ) ) { - // We use execScript on Internet Explorer - // We use an anonymous function so that context is window - // rather than jQuery in Firefox - ( window.execScript || function( data ) { - window[ "eval" ].call( window, data ); - } )( data ); - } - }, - - // Convert dashed to camelCase; used by the css and data modules - // Microsoft forgot to hump their vendor prefix (#9572) - camelCase: function( string ) { - return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); - }, - - nodeName: function( elem, name ) { - return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); - }, - - // args is for internal usage only - each: function( obj, callback, args ) { - var value, - i = 0, - length = obj.length, - isArray = isArraylike( obj ); - - if ( args ) { - if ( isArray ) { - for ( ; i < length; i++ ) { - value = callback.apply( obj[ i ], args ); - - if ( value === false ) { - break; - } - } - } else { - for ( i in obj ) { - value = callback.apply( obj[ i ], args ); - - if ( value === false ) { - break; - } - } - } - - // A special, fast, case for the most common use of each - } else { - if ( isArray ) { - for ( ; i < length; i++ ) { - value = callback.call( obj[ i ], i, obj[ i ] ); - - if ( value === false ) { - break; - } - } - } else { - for ( i in obj ) { - value = callback.call( obj[ i ], i, obj[ i ] ); - - if ( value === false ) { - break; - } - } - } - } - - return obj; - }, - - // Use native String.trim function wherever possible - trim: core_trim && !core_trim.call("\uFEFF\xA0") ? - function( text ) { - return text == null ? - "" : - core_trim.call( text ); - } : - - // Otherwise use our own trimming functionality - function( text ) { - return text == null ? - "" : - ( text + "" ).replace( rtrim, "" ); - }, - - // results is for internal usage only - makeArray: function( arr, results ) { - var ret = results || []; - - if ( arr != null ) { - if ( isArraylike( Object(arr) ) ) { - jQuery.merge( ret, - typeof arr === "string" ? - [ arr ] : arr - ); - } else { - core_push.call( ret, arr ); - } - } - - return ret; - }, - - inArray: function( elem, arr, i ) { - var len; - - if ( arr ) { - if ( core_indexOf ) { - return core_indexOf.call( arr, elem, i ); - } - - len = arr.length; - i = i ? i < 0 ? Math.max( 0, len + i ) : i : 0; - - for ( ; i < len; i++ ) { - // Skip accessing in sparse arrays - if ( i in arr && arr[ i ] === elem ) { - return i; - } - } - } - - return -1; - }, - - merge: function( first, second ) { - var l = second.length, - i = first.length, - j = 0; - - if ( typeof l === "number" ) { - for ( ; j < l; j++ ) { - first[ i++ ] = second[ j ]; - } - } else { - while ( second[j] !== undefined ) { - first[ i++ ] = second[ j++ ]; - } - } - - first.length = i; - - return first; - }, - - grep: function( elems, callback, inv ) { - var retVal, - ret = [], - i = 0, - length = elems.length; - inv = !!inv; - - // Go through the array, only saving the items - // that pass the validator function - for ( ; i < length; i++ ) { - retVal = !!callback( elems[ i ], i ); - if ( inv !== retVal ) { - ret.push( elems[ i ] ); - } - } - - return ret; - }, - - // arg is for internal usage only - map: function( elems, callback, arg ) { - var value, - i = 0, - length = elems.length, - isArray = isArraylike( elems ), - ret = []; - - // Go through the array, translating each of the items to their - if ( isArray ) { - for ( ; i < length; i++ ) { - value = callback( elems[ i ], i, arg ); - - if ( value != null ) { - ret[ ret.length ] = value; - } - } - - // Go through every key on the object, - } else { - for ( i in elems ) { - value = callback( elems[ i ], i, arg ); - - if ( value != null ) { - ret[ ret.length ] = value; - } - } - } - - // Flatten any nested arrays - return core_concat.apply( [], ret ); - }, - - // A global GUID counter for objects - guid: 1, - - // Bind a function to a context, optionally partially applying any - // arguments. - proxy: function( fn, context ) { - var args, proxy, tmp; - - if ( typeof context === "string" ) { - tmp = fn[ context ]; - context = fn; - fn = tmp; - } - - // Quick check to determine if target is callable, in the spec - // this throws a TypeError, but we will just return undefined. - if ( !jQuery.isFunction( fn ) ) { - return undefined; - } - - // Simulated bind - args = core_slice.call( arguments, 2 ); - proxy = function() { - return fn.apply( context || this, args.concat( core_slice.call( arguments ) ) ); - }; - - // Set the guid of unique handler to the same of original handler, so it can be removed - proxy.guid = fn.guid = fn.guid || jQuery.guid++; - - return proxy; - }, - - // Multifunctional method to get and set values of a collection - // The value/s can optionally be executed if it's a function - access: function( elems, fn, key, value, chainable, emptyGet, raw ) { - var i = 0, - length = elems.length, - bulk = key == null; - - // Sets many values - if ( jQuery.type( key ) === "object" ) { - chainable = true; - for ( i in key ) { - jQuery.access( elems, fn, i, key[i], true, emptyGet, raw ); - } - - // Sets one value - } else if ( value !== undefined ) { - chainable = true; - - if ( !jQuery.isFunction( value ) ) { - raw = true; - } - - if ( bulk ) { - // Bulk operations run against the entire set - if ( raw ) { - fn.call( elems, value ); - fn = null; - - // ...except when executing function values - } else { - bulk = fn; - fn = function( elem, key, value ) { - return bulk.call( jQuery( elem ), value ); - }; - } - } - - if ( fn ) { - for ( ; i < length; i++ ) { - fn( elems[i], key, raw ? value : value.call( elems[i], i, fn( elems[i], key ) ) ); - } - } - } - - return chainable ? - elems : - - // Gets - bulk ? - fn.call( elems ) : - length ? fn( elems[0], key ) : emptyGet; - }, - - now: function() { - return ( new Date() ).getTime(); - }, - - // A method for quickly swapping in/out CSS properties to get correct calculations. - // Note: this method belongs to the css module but it's needed here for the support module. - // If support gets modularized, this method should be moved back to the css module. - swap: function( elem, options, callback, args ) { - var ret, name, - old = {}; - - // Remember the old values, and insert the new ones - for ( name in options ) { - old[ name ] = elem.style[ name ]; - elem.style[ name ] = options[ name ]; - } - - ret = callback.apply( elem, args || [] ); - - // Revert the old values - for ( name in options ) { - elem.style[ name ] = old[ name ]; - } - - return ret; - } -}); - -jQuery.ready.promise = function( obj ) { - if ( !readyList ) { - - readyList = jQuery.Deferred(); - - // Catch cases where $(document).ready() is called after the browser event has already occurred. - // we once tried to use readyState "interactive" here, but it caused issues like the one - // discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15 - if ( document.readyState === "complete" ) { - // Handle it asynchronously to allow scripts the opportunity to delay ready - setTimeout( jQuery.ready ); - - // Standards-based browsers support DOMContentLoaded - } else if ( document.addEventListener ) { - // Use the handy event callback - document.addEventListener( "DOMContentLoaded", completed, false ); - - // A fallback to window.onload, that will always work - window.addEventListener( "load", completed, false ); - - // If IE event model is used - } else { - // Ensure firing before onload, maybe late but safe also for iframes - document.attachEvent( "onreadystatechange", completed ); - - // A fallback to window.onload, that will always work - window.attachEvent( "onload", completed ); - - // If IE and not a frame - // continually check to see if the document is ready - var top = false; - - try { - top = window.frameElement == null && document.documentElement; - } catch(e) {} - - if ( top && top.doScroll ) { - (function doScrollCheck() { - if ( !jQuery.isReady ) { - - try { - // Use the trick by Diego Perini - // http://javascript.nwbox.com/IEContentLoaded/ - top.doScroll("left"); - } catch(e) { - return setTimeout( doScrollCheck, 50 ); - } - - // detach all dom ready events - detach(); - - // and execute any waiting functions - jQuery.ready(); - } - })(); - } - } - } - return readyList.promise( obj ); -}; - -// Populate the class2type map -jQuery.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function(i, name) { - class2type[ "[object " + name + "]" ] = name.toLowerCase(); -}); - -function isArraylike( obj ) { - var length = obj.length, - type = jQuery.type( obj ); - - if ( jQuery.isWindow( obj ) ) { - return false; - } - - if ( obj.nodeType === 1 && length ) { - return true; - } - - return type === "array" || type !== "function" && - ( length === 0 || - typeof length === "number" && length > 0 && ( length - 1 ) in obj ); -} - -// All jQuery objects should point back to these -rootjQuery = jQuery(document); -/*! - * Sizzle CSS Selector Engine v1.10.2 - * http://sizzlejs.com/ - * - * Copyright 2013 jQuery Foundation, Inc. and other contributors - * Released under the MIT license - * http://jquery.org/license - * - * Date: 2013-07-03 - */ -(function( window, undefined ) { - -var i, - support, - cachedruns, - Expr, - getText, - isXML, - compile, - outermostContext, - sortInput, - - // Local document vars - setDocument, - document, - docElem, - documentIsHTML, - rbuggyQSA, - rbuggyMatches, - matches, - contains, - - // Instance-specific data - expando = "sizzle" + -(new Date()), - preferredDoc = window.document, - dirruns = 0, - done = 0, - classCache = createCache(), - tokenCache = createCache(), - compilerCache = createCache(), - hasDuplicate = false, - sortOrder = function( a, b ) { - if ( a === b ) { - hasDuplicate = true; - return 0; - } - return 0; - }, - - // General-purpose constants - strundefined = typeof undefined, - MAX_NEGATIVE = 1 << 31, - - // Instance methods - hasOwn = ({}).hasOwnProperty, - arr = [], - pop = arr.pop, - push_native = arr.push, - push = arr.push, - slice = arr.slice, - // Use a stripped-down indexOf if we can't use a native one - indexOf = arr.indexOf || function( elem ) { - var i = 0, - len = this.length; - for ( ; i < len; i++ ) { - if ( this[i] === elem ) { - return i; - } - } - return -1; - }, - - booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", - - // Regular expressions - - // Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace - whitespace = "[\\x20\\t\\r\\n\\f]", - // http://www.w3.org/TR/css3-syntax/#characters - characterEncoding = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+", - - // Loosely modeled on CSS identifier characters - // An unquoted value should be a CSS identifier http://www.w3.org/TR/css3-selectors/#attribute-selectors - // Proper syntax: http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier - identifier = characterEncoding.replace( "w", "w#" ), - - // Acceptable operators http://www.w3.org/TR/selectors/#attribute-selectors - attributes = "\\[" + whitespace + "*(" + characterEncoding + ")" + whitespace + - "*(?:([*^$|!~]?=)" + whitespace + "*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|(" + identifier + ")|)|)" + whitespace + "*\\]", - - // Prefer arguments quoted, - // then not containing pseudos/brackets, - // then attribute selectors/non-parenthetical expressions, - // then anything else - // These preferences are here to reduce the number of selectors - // needing tokenize in the PSEUDO preFilter - pseudos = ":(" + characterEncoding + ")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|" + attributes.replace( 3, 8 ) + ")*)|.*)\\)|)", - - // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter - rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), - - rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), - rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ), - - rsibling = new RegExp( whitespace + "*[+~]" ), - rattributeQuotes = new RegExp( "=" + whitespace + "*([^\\]'\"]*)" + whitespace + "*\\]", "g" ), - - rpseudo = new RegExp( pseudos ), - ridentifier = new RegExp( "^" + identifier + "$" ), - - matchExpr = { - "ID": new RegExp( "^#(" + characterEncoding + ")" ), - "CLASS": new RegExp( "^\\.(" + characterEncoding + ")" ), - "TAG": new RegExp( "^(" + characterEncoding.replace( "w", "w*" ) + ")" ), - "ATTR": new RegExp( "^" + attributes ), - "PSEUDO": new RegExp( "^" + pseudos ), - "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + - "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + - "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), - "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), - // For use in libraries implementing .is() - // We use this for POS matching in `select` - "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + - whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) - }, - - rnative = /^[^{]+\{\s*\[native \w/, - - // Easily-parseable/retrievable ID or TAG or CLASS selectors - rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, - - rinputs = /^(?:input|select|textarea|button)$/i, - rheader = /^h\d$/i, - - rescape = /'|\\/g, - - // CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters - runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ), - funescape = function( _, escaped, escapedWhitespace ) { - var high = "0x" + escaped - 0x10000; - // NaN means non-codepoint - // Support: Firefox - // Workaround erroneous numeric interpretation of +"0x" - return high !== high || escapedWhitespace ? - escaped : - // BMP codepoint - high < 0 ? - String.fromCharCode( high + 0x10000 ) : - // Supplemental Plane codepoint (surrogate pair) - String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); - }; - -// Optimize for push.apply( _, NodeList ) -try { - push.apply( - (arr = slice.call( preferredDoc.childNodes )), - preferredDoc.childNodes - ); - // Support: Android<4.0 - // Detect silently failing push.apply - arr[ preferredDoc.childNodes.length ].nodeType; -} catch ( e ) { - push = { apply: arr.length ? - - // Leverage slice if possible - function( target, els ) { - push_native.apply( target, slice.call(els) ); - } : - - // Support: IE<9 - // Otherwise append directly - function( target, els ) { - var j = target.length, - i = 0; - // Can't trust NodeList.length - while ( (target[j++] = els[i++]) ) {} - target.length = j - 1; - } - }; -} - -function Sizzle( selector, context, results, seed ) { - var match, elem, m, nodeType, - // QSA vars - i, groups, old, nid, newContext, newSelector; - - if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) { - setDocument( context ); - } - - context = context || document; - results = results || []; - - if ( !selector || typeof selector !== "string" ) { - return results; - } - - if ( (nodeType = context.nodeType) !== 1 && nodeType !== 9 ) { - return []; - } - - if ( documentIsHTML && !seed ) { - - // Shortcuts - if ( (match = rquickExpr.exec( selector )) ) { - // Speed-up: Sizzle("#ID") - if ( (m = match[1]) ) { - if ( nodeType === 9 ) { - elem = context.getElementById( m ); - // Check parentNode to catch when Blackberry 4.6 returns - // nodes that are no longer in the document #6963 - if ( elem && elem.parentNode ) { - // Handle the case where IE, Opera, and Webkit return items - // by name instead of ID - if ( elem.id === m ) { - results.push( elem ); - return results; - } - } else { - return results; - } - } else { - // Context is not a document - if ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) && - contains( context, elem ) && elem.id === m ) { - results.push( elem ); - return results; - } - } - - // Speed-up: Sizzle("TAG") - } else if ( match[2] ) { - push.apply( results, context.getElementsByTagName( selector ) ); - return results; - - // Speed-up: Sizzle(".CLASS") - } else if ( (m = match[3]) && support.getElementsByClassName && context.getElementsByClassName ) { - push.apply( results, context.getElementsByClassName( m ) ); - return results; - } - } - - // QSA path - if ( support.qsa && (!rbuggyQSA || !rbuggyQSA.test( selector )) ) { - nid = old = expando; - newContext = context; - newSelector = nodeType === 9 && selector; - - // qSA works strangely on Element-rooted queries - // We can work around this by specifying an extra ID on the root - // and working up from there (Thanks to Andrew Dupont for the technique) - // IE 8 doesn't work on object elements - if ( nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) { - groups = tokenize( selector ); - - if ( (old = context.getAttribute("id")) ) { - nid = old.replace( rescape, "\\$&" ); - } else { - context.setAttribute( "id", nid ); - } - nid = "[id='" + nid + "'] "; - - i = groups.length; - while ( i-- ) { - groups[i] = nid + toSelector( groups[i] ); - } - newContext = rsibling.test( selector ) && context.parentNode || context; - newSelector = groups.join(","); - } - - if ( newSelector ) { - try { - push.apply( results, - newContext.querySelectorAll( newSelector ) - ); - return results; - } catch(qsaError) { - } finally { - if ( !old ) { - context.removeAttribute("id"); - } - } - } - } - } - - // All others - return select( selector.replace( rtrim, "$1" ), context, results, seed ); -} - -/** - * Create key-value caches of limited size - * @returns {Function(string, Object)} Returns the Object data after storing it on itself with - * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) - * deleting the oldest entry - */ -function createCache() { - var keys = []; - - function cache( key, value ) { - // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) - if ( keys.push( key += " " ) > Expr.cacheLength ) { - // Only keep the most recent entries - delete cache[ keys.shift() ]; - } - return (cache[ key ] = value); - } - return cache; -} - -/** - * Mark a function for special use by Sizzle - * @param {Function} fn The function to mark - */ -function markFunction( fn ) { - fn[ expando ] = true; - return fn; -} - -/** - * Support testing using an element - * @param {Function} fn Passed the created div and expects a boolean result - */ -function assert( fn ) { - var div = document.createElement("div"); - - try { - return !!fn( div ); - } catch (e) { - return false; - } finally { - // Remove from its parent by default - if ( div.parentNode ) { - div.parentNode.removeChild( div ); - } - // release memory in IE - div = null; - } -} - -/** - * Adds the same handler for all of the specified attrs - * @param {String} attrs Pipe-separated list of attributes - * @param {Function} handler The method that will be applied - */ -function addHandle( attrs, handler ) { - var arr = attrs.split("|"), - i = attrs.length; - - while ( i-- ) { - Expr.attrHandle[ arr[i] ] = handler; - } -} - -/** - * Checks document order of two siblings - * @param {Element} a - * @param {Element} b - * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b - */ -function siblingCheck( a, b ) { - var cur = b && a, - diff = cur && a.nodeType === 1 && b.nodeType === 1 && - ( ~b.sourceIndex || MAX_NEGATIVE ) - - ( ~a.sourceIndex || MAX_NEGATIVE ); - - // Use IE sourceIndex if available on both nodes - if ( diff ) { - return diff; - } - - // Check if b follows a - if ( cur ) { - while ( (cur = cur.nextSibling) ) { - if ( cur === b ) { - return -1; - } - } - } - - return a ? 1 : -1; -} - -/** - * Returns a function to use in pseudos for input types - * @param {String} type - */ -function createInputPseudo( type ) { - return function( elem ) { - var name = elem.nodeName.toLowerCase(); - return name === "input" && elem.type === type; - }; -} - -/** - * Returns a function to use in pseudos for buttons - * @param {String} type - */ -function createButtonPseudo( type ) { - return function( elem ) { - var name = elem.nodeName.toLowerCase(); - return (name === "input" || name === "button") && elem.type === type; - }; -} - -/** - * Returns a function to use in pseudos for positionals - * @param {Function} fn - */ -function createPositionalPseudo( fn ) { - return markFunction(function( argument ) { - argument = +argument; - return markFunction(function( seed, matches ) { - var j, - matchIndexes = fn( [], seed.length, argument ), - i = matchIndexes.length; - - // Match elements found at the specified indexes - while ( i-- ) { - if ( seed[ (j = matchIndexes[i]) ] ) { - seed[j] = !(matches[j] = seed[j]); - } - } - }); - }); -} - -/** - * Detect xml - * @param {Element|Object} elem An element or a document - */ -isXML = Sizzle.isXML = function( elem ) { - // documentElement is verified for cases where it doesn't yet exist - // (such as loading iframes in IE - #4833) - var documentElement = elem && (elem.ownerDocument || elem).documentElement; - return documentElement ? documentElement.nodeName !== "HTML" : false; -}; - -// Expose support vars for convenience -support = Sizzle.support = {}; - -/** - * Sets document-related variables once based on the current document - * @param {Element|Object} [doc] An element or document object to use to set the document - * @returns {Object} Returns the current document - */ -setDocument = Sizzle.setDocument = function( node ) { - var doc = node ? node.ownerDocument || node : preferredDoc, - parent = doc.defaultView; - - // If no document and documentElement is available, return - if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) { - return document; - } - - // Set our document - document = doc; - docElem = doc.documentElement; - - // Support tests - documentIsHTML = !isXML( doc ); - - // Support: IE>8 - // If iframe document is assigned to "document" variable and if iframe has been reloaded, - // IE will throw "permission denied" error when accessing "document" variable, see jQuery #13936 - // IE6-8 do not support the defaultView property so parent will be undefined - if ( parent && parent.attachEvent && parent !== parent.top ) { - parent.attachEvent( "onbeforeunload", function() { - setDocument(); - }); - } - - /* Attributes - ---------------------------------------------------------------------- */ - - // Support: IE<8 - // Verify that getAttribute really returns attributes and not properties (excepting IE8 booleans) - support.attributes = assert(function( div ) { - div.className = "i"; - return !div.getAttribute("className"); - }); - - /* getElement(s)By* - ---------------------------------------------------------------------- */ - - // Check if getElementsByTagName("*") returns only elements - support.getElementsByTagName = assert(function( div ) { - div.appendChild( doc.createComment("") ); - return !div.getElementsByTagName("*").length; - }); - - // Check if getElementsByClassName can be trusted - support.getElementsByClassName = assert(function( div ) { - div.innerHTML = "<div class='a'></div><div class='a i'></div>"; - - // Support: Safari<4 - // Catch class over-caching - div.firstChild.className = "i"; - // Support: Opera<10 - // Catch gEBCN failure to find non-leading classes - return div.getElementsByClassName("i").length === 2; - }); - - // Support: IE<10 - // Check if getElementById returns elements by name - // The broken getElementById methods don't pick up programatically-set names, - // so use a roundabout getElementsByName test - support.getById = assert(function( div ) { - docElem.appendChild( div ).id = expando; - return !doc.getElementsByName || !doc.getElementsByName( expando ).length; - }); - - // ID find and filter - if ( support.getById ) { - Expr.find["ID"] = function( id, context ) { - if ( typeof context.getElementById !== strundefined && documentIsHTML ) { - var m = context.getElementById( id ); - // Check parentNode to catch when Blackberry 4.6 returns - // nodes that are no longer in the document #6963 - return m && m.parentNode ? [m] : []; - } - }; - Expr.filter["ID"] = function( id ) { - var attrId = id.replace( runescape, funescape ); - return function( elem ) { - return elem.getAttribute("id") === attrId; - }; - }; - } else { - // Support: IE6/7 - // getElementById is not reliable as a find shortcut - delete Expr.find["ID"]; - - Expr.filter["ID"] = function( id ) { - var attrId = id.replace( runescape, funescape ); - return function( elem ) { - var node = typeof elem.getAttributeNode !== strundefined && elem.getAttributeNode("id"); - return node && node.value === attrId; - }; - }; - } - - // Tag - Expr.find["TAG"] = support.getElementsByTagName ? - function( tag, context ) { - if ( typeof context.getElementsByTagName !== strundefined ) { - return context.getElementsByTagName( tag ); - } - } : - function( tag, context ) { - var elem, - tmp = [], - i = 0, - results = context.getElementsByTagName( tag ); - - // Filter out possible comments - if ( tag === "*" ) { - while ( (elem = results[i++]) ) { - if ( elem.nodeType === 1 ) { - tmp.push( elem ); - } - } - - return tmp; - } - return results; - }; - - // Class - Expr.find["CLASS"] = support.getElementsByClassName && function( className, context ) { - if ( typeof context.getElementsByClassName !== strundefined && documentIsHTML ) { - return context.getElementsByClassName( className ); - } - }; - - /* QSA/matchesSelector - ---------------------------------------------------------------------- */ - - // QSA and matchesSelector support - - // matchesSelector(:active) reports false when true (IE9/Opera 11.5) - rbuggyMatches = []; - - // qSa(:focus) reports false when true (Chrome 21) - // We allow this because of a bug in IE8/9 that throws an error - // whenever `document.activeElement` is accessed on an iframe - // So, we allow :focus to pass through QSA all the time to avoid the IE error - // See http://bugs.jquery.com/ticket/13378 - rbuggyQSA = []; - - if ( (support.qsa = rnative.test( doc.querySelectorAll )) ) { - // Build QSA regex - // Regex strategy adopted from Diego Perini - assert(function( div ) { - // Select is set to empty string on purpose - // This is to test IE's treatment of not explicitly - // setting a boolean content attribute, - // since its presence should be enough - // http://bugs.jquery.com/ticket/12359 - div.innerHTML = "<select><option selected=''></option></select>"; - - // Support: IE8 - // Boolean attributes and "value" are not treated correctly - if ( !div.querySelectorAll("[selected]").length ) { - rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); - } - - // Webkit/Opera - :checked should return selected option elements - // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked - // IE8 throws error here and will not see later tests - if ( !div.querySelectorAll(":checked").length ) { - rbuggyQSA.push(":checked"); - } - }); - - assert(function( div ) { - - // Support: Opera 10-12/IE8 - // ^= $= *= and empty values - // Should not select anything - // Support: Windows 8 Native Apps - // The type attribute is restricted during .innerHTML assignment - var input = doc.createElement("input"); - input.setAttribute( "type", "hidden" ); - div.appendChild( input ).setAttribute( "t", "" ); - - if ( div.querySelectorAll("[t^='']").length ) { - rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); - } - - // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) - // IE8 throws error here and will not see later tests - if ( !div.querySelectorAll(":enabled").length ) { - rbuggyQSA.push( ":enabled", ":disabled" ); - } - - // Opera 10-11 does not throw on post-comma invalid pseudos - div.querySelectorAll("*,:x"); - rbuggyQSA.push(",.*:"); - }); - } - - if ( (support.matchesSelector = rnative.test( (matches = docElem.webkitMatchesSelector || - docElem.mozMatchesSelector || - docElem.oMatchesSelector || - docElem.msMatchesSelector) )) ) { - - assert(function( div ) { - // Check to see if it's possible to do matchesSelector - // on a disconnected node (IE 9) - support.disconnectedMatch = matches.call( div, "div" ); - - // This should fail with an exception - // Gecko does not error, returns false instead - matches.call( div, "[s!='']:x" ); - rbuggyMatches.push( "!=", pseudos ); - }); - } - - rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") ); - rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") ); - - /* Contains - ---------------------------------------------------------------------- */ - - // Element contains another - // Purposefully does not implement inclusive descendent - // As in, an element does not contain itself - contains = rnative.test( docElem.contains ) || docElem.compareDocumentPosition ? - function( a, b ) { - var adown = a.nodeType === 9 ? a.documentElement : a, - bup = b && b.parentNode; - return a === bup || !!( bup && bup.nodeType === 1 && ( - adown.contains ? - adown.contains( bup ) : - a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 - )); - } : - function( a, b ) { - if ( b ) { - while ( (b = b.parentNode) ) { - if ( b === a ) { - return true; - } - } - } - return false; - }; - - /* Sorting - ---------------------------------------------------------------------- */ - - // Document order sorting - sortOrder = docElem.compareDocumentPosition ? - function( a, b ) { - - // Flag for duplicate removal - if ( a === b ) { - hasDuplicate = true; - return 0; - } - - var compare = b.compareDocumentPosition && a.compareDocumentPosition && a.compareDocumentPosition( b ); - - if ( compare ) { - // Disconnected nodes - if ( compare & 1 || - (!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) { - - // Choose the first element that is related to our preferred document - if ( a === doc || contains(preferredDoc, a) ) { - return -1; - } - if ( b === doc || contains(preferredDoc, b) ) { - return 1; - } - - // Maintain original order - return sortInput ? - ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) : - 0; - } - - return compare & 4 ? -1 : 1; - } - - // Not directly comparable, sort on existence of method - return a.compareDocumentPosition ? -1 : 1; - } : - function( a, b ) { - var cur, - i = 0, - aup = a.parentNode, - bup = b.parentNode, - ap = [ a ], - bp = [ b ]; - - // Exit early if the nodes are identical - if ( a === b ) { - hasDuplicate = true; - return 0; - - // Parentless nodes are either documents or disconnected - } else if ( !aup || !bup ) { - return a === doc ? -1 : - b === doc ? 1 : - aup ? -1 : - bup ? 1 : - sortInput ? - ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) : - 0; - - // If the nodes are siblings, we can do a quick check - } else if ( aup === bup ) { - return siblingCheck( a, b ); - } - - // Otherwise we need full lists of their ancestors for comparison - cur = a; - while ( (cur = cur.parentNode) ) { - ap.unshift( cur ); - } - cur = b; - while ( (cur = cur.parentNode) ) { - bp.unshift( cur ); - } - - // Walk down the tree looking for a discrepancy - while ( ap[i] === bp[i] ) { - i++; - } - - return i ? - // Do a sibling check if the nodes have a common ancestor - siblingCheck( ap[i], bp[i] ) : - - // Otherwise nodes in our document sort first - ap[i] === preferredDoc ? -1 : - bp[i] === preferredDoc ? 1 : - 0; - }; - - return doc; -}; - -Sizzle.matches = function( expr, elements ) { - return Sizzle( expr, null, null, elements ); -}; - -Sizzle.matchesSelector = function( elem, expr ) { - // Set document vars if needed - if ( ( elem.ownerDocument || elem ) !== document ) { - setDocument( elem ); - } - - // Make sure that attribute selectors are quoted - expr = expr.replace( rattributeQuotes, "='$1']" ); - - if ( support.matchesSelector && documentIsHTML && - ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && - ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { - - try { - var ret = matches.call( elem, expr ); - - // IE 9's matchesSelector returns false on disconnected nodes - if ( ret || support.disconnectedMatch || - // As well, disconnected nodes are said to be in a document - // fragment in IE 9 - elem.document && elem.document.nodeType !== 11 ) { - return ret; - } - } catch(e) {} - } - - return Sizzle( expr, document, null, [elem] ).length > 0; -}; - -Sizzle.contains = function( context, elem ) { - // Set document vars if needed - if ( ( context.ownerDocument || context ) !== document ) { - setDocument( context ); - } - return contains( context, elem ); -}; - -Sizzle.attr = function( elem, name ) { - // Set document vars if needed - if ( ( elem.ownerDocument || elem ) !== document ) { - setDocument( elem ); - } - - var fn = Expr.attrHandle[ name.toLowerCase() ], - // Don't get fooled by Object.prototype properties (jQuery #13807) - val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? - fn( elem, name, !documentIsHTML ) : - undefined; - - return val === undefined ? - support.attributes || !documentIsHTML ? - elem.getAttribute( name ) : - (val = elem.getAttributeNode(name)) && val.specified ? - val.value : - null : - val; -}; - -Sizzle.error = function( msg ) { - throw new Error( "Syntax error, unrecognized expression: " + msg ); -}; - -/** - * Document sorting and removing duplicates - * @param {ArrayLike} results - */ -Sizzle.uniqueSort = function( results ) { - var elem, - duplicates = [], - j = 0, - i = 0; - - // Unless we *know* we can detect duplicates, assume their presence - hasDuplicate = !support.detectDuplicates; - sortInput = !support.sortStable && results.slice( 0 ); - results.sort( sortOrder ); - - if ( hasDuplicate ) { - while ( (elem = results[i++]) ) { - if ( elem === results[ i ] ) { - j = duplicates.push( i ); - } - } - while ( j-- ) { - results.splice( duplicates[ j ], 1 ); - } - } - - return results; -}; - -/** - * Utility function for retrieving the text value of an array of DOM nodes - * @param {Array|Element} elem - */ -getText = Sizzle.getText = function( elem ) { - var node, - ret = "", - i = 0, - nodeType = elem.nodeType; - - if ( !nodeType ) { - // If no nodeType, this is expected to be an array - for ( ; (node = elem[i]); i++ ) { - // Do not traverse comment nodes - ret += getText( node ); - } - } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { - // Use textContent for elements - // innerText usage removed for consistency of new lines (see #11153) - if ( typeof elem.textContent === "string" ) { - return elem.textContent; - } else { - // Traverse its children - for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { - ret += getText( elem ); - } - } - } else if ( nodeType === 3 || nodeType === 4 ) { - return elem.nodeValue; - } - // Do not include comment or processing instruction nodes - - return ret; -}; - -Expr = Sizzle.selectors = { - - // Can be adjusted by the user - cacheLength: 50, - - createPseudo: markFunction, - - match: matchExpr, - - attrHandle: {}, - - find: {}, - - relative: { - ">": { dir: "parentNode", first: true }, - " ": { dir: "parentNode" }, - "+": { dir: "previousSibling", first: true }, - "~": { dir: "previousSibling" } - }, - - preFilter: { - "ATTR": function( match ) { - match[1] = match[1].replace( runescape, funescape ); - - // Move the given value to match[3] whether quoted or unquoted - match[3] = ( match[4] || match[5] || "" ).replace( runescape, funescape ); - - if ( match[2] === "~=" ) { - match[3] = " " + match[3] + " "; - } - - return match.slice( 0, 4 ); - }, - - "CHILD": function( match ) { - /* matches from matchExpr["CHILD"] - 1 type (only|nth|...) - 2 what (child|of-type) - 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) - 4 xn-component of xn+y argument ([+-]?\d*n|) - 5 sign of xn-component - 6 x of xn-component - 7 sign of y-component - 8 y of y-component - */ - match[1] = match[1].toLowerCase(); - - if ( match[1].slice( 0, 3 ) === "nth" ) { - // nth-* requires argument - if ( !match[3] ) { - Sizzle.error( match[0] ); - } - - // numeric x and y parameters for Expr.filter.CHILD - // remember that false/true cast respectively to 0/1 - match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) ); - match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" ); - - // other types prohibit arguments - } else if ( match[3] ) { - Sizzle.error( match[0] ); - } - - return match; - }, - - "PSEUDO": function( match ) { - var excess, - unquoted = !match[5] && match[2]; - - if ( matchExpr["CHILD"].test( match[0] ) ) { - return null; - } - - // Accept quoted arguments as-is - if ( match[3] && match[4] !== undefined ) { - match[2] = match[4]; - - // Strip excess characters from unquoted arguments - } else if ( unquoted && rpseudo.test( unquoted ) && - // Get excess from tokenize (recursively) - (excess = tokenize( unquoted, true )) && - // advance to the next closing parenthesis - (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) { - - // excess is a negative index - match[0] = match[0].slice( 0, excess ); - match[2] = unquoted.slice( 0, excess ); - } - - // Return only captures needed by the pseudo filter method (type and argument) - return match.slice( 0, 3 ); - } - }, - - filter: { - - "TAG": function( nodeNameSelector ) { - var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); - return nodeNameSelector === "*" ? - function() { return true; } : - function( elem ) { - return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; - }; - }, - - "CLASS": function( className ) { - var pattern = classCache[ className + " " ]; - - return pattern || - (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) && - classCache( className, function( elem ) { - return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== strundefined && elem.getAttribute("class") || "" ); - }); - }, - - "ATTR": function( name, operator, check ) { - return function( elem ) { - var result = Sizzle.attr( elem, name ); - - if ( result == null ) { - return operator === "!="; - } - if ( !operator ) { - return true; - } - - result += ""; - - return operator === "=" ? result === check : - operator === "!=" ? result !== check : - operator === "^=" ? check && result.indexOf( check ) === 0 : - operator === "*=" ? check && result.indexOf( check ) > -1 : - operator === "$=" ? check && result.slice( -check.length ) === check : - operator === "~=" ? ( " " + result + " " ).indexOf( check ) > -1 : - operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : - false; - }; - }, - - "CHILD": function( type, what, argument, first, last ) { - var simple = type.slice( 0, 3 ) !== "nth", - forward = type.slice( -4 ) !== "last", - ofType = what === "of-type"; - - return first === 1 && last === 0 ? - - // Shortcut for :nth-*(n) - function( elem ) { - return !!elem.parentNode; - } : - - function( elem, context, xml ) { - var cache, outerCache, node, diff, nodeIndex, start, - dir = simple !== forward ? "nextSibling" : "previousSibling", - parent = elem.parentNode, - name = ofType && elem.nodeName.toLowerCase(), - useCache = !xml && !ofType; - - if ( parent ) { - - // :(first|last|only)-(child|of-type) - if ( simple ) { - while ( dir ) { - node = elem; - while ( (node = node[ dir ]) ) { - if ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) { - return false; - } - } - // Reverse direction for :only-* (if we haven't yet done so) - start = dir = type === "only" && !start && "nextSibling"; - } - return true; - } - - start = [ forward ? parent.firstChild : parent.lastChild ]; - - // non-xml :nth-child(...) stores cache data on `parent` - if ( forward && useCache ) { - // Seek `elem` from a previously-cached index - outerCache = parent[ expando ] || (parent[ expando ] = {}); - cache = outerCache[ type ] || []; - nodeIndex = cache[0] === dirruns && cache[1]; - diff = cache[0] === dirruns && cache[2]; - node = nodeIndex && parent.childNodes[ nodeIndex ]; - - while ( (node = ++nodeIndex && node && node[ dir ] || - - // Fallback to seeking `elem` from the start - (diff = nodeIndex = 0) || start.pop()) ) { - - // When found, cache indexes on `parent` and break - if ( node.nodeType === 1 && ++diff && node === elem ) { - outerCache[ type ] = [ dirruns, nodeIndex, diff ]; - break; - } - } - - // Use previously-cached element index if available - } else if ( useCache && (cache = (elem[ expando ] || (elem[ expando ] = {}))[ type ]) && cache[0] === dirruns ) { - diff = cache[1]; - - // xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...) - } else { - // Use the same loop as above to seek `elem` from the start - while ( (node = ++nodeIndex && node && node[ dir ] || - (diff = nodeIndex = 0) || start.pop()) ) { - - if ( ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff ) { - // Cache the index of each encountered element - if ( useCache ) { - (node[ expando ] || (node[ expando ] = {}))[ type ] = [ dirruns, diff ]; - } - - if ( node === elem ) { - break; - } - } - } - } - - // Incorporate the offset, then check against cycle size - diff -= last; - return diff === first || ( diff % first === 0 && diff / first >= 0 ); - } - }; - }, - - "PSEUDO": function( pseudo, argument ) { - // pseudo-class names are case-insensitive - // http://www.w3.org/TR/selectors/#pseudo-classes - // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters - // Remember that setFilters inherits from pseudos - var args, - fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || - Sizzle.error( "unsupported pseudo: " + pseudo ); - - // The user may use createPseudo to indicate that - // arguments are needed to create the filter function - // just as Sizzle does - if ( fn[ expando ] ) { - return fn( argument ); - } - - // But maintain support for old signatures - if ( fn.length > 1 ) { - args = [ pseudo, pseudo, "", argument ]; - return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? - markFunction(function( seed, matches ) { - var idx, - matched = fn( seed, argument ), - i = matched.length; - while ( i-- ) { - idx = indexOf.call( seed, matched[i] ); - seed[ idx ] = !( matches[ idx ] = matched[i] ); - } - }) : - function( elem ) { - return fn( elem, 0, args ); - }; - } - - return fn; - } - }, - - pseudos: { - // Potentially complex pseudos - "not": markFunction(function( selector ) { - // Trim the selector passed to compile - // to avoid treating leading and trailing - // spaces as combinators - var input = [], - results = [], - matcher = compile( selector.replace( rtrim, "$1" ) ); - - return matcher[ expando ] ? - markFunction(function( seed, matches, context, xml ) { - var elem, - unmatched = matcher( seed, null, xml, [] ), - i = seed.length; - - // Match elements unmatched by `matcher` - while ( i-- ) { - if ( (elem = unmatched[i]) ) { - seed[i] = !(matches[i] = elem); - } - } - }) : - function( elem, context, xml ) { - input[0] = elem; - matcher( input, null, xml, results ); - return !results.pop(); - }; - }), - - "has": markFunction(function( selector ) { - return function( elem ) { - return Sizzle( selector, elem ).length > 0; - }; - }), - - "contains": markFunction(function( text ) { - return function( elem ) { - return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1; - }; - }), - - // "Whether an element is represented by a :lang() selector - // is based solely on the element's language value - // being equal to the identifier C, - // or beginning with the identifier C immediately followed by "-". - // The matching of C against the element's language value is performed case-insensitively. - // The identifier C does not have to be a valid language name." - // http://www.w3.org/TR/selectors/#lang-pseudo - "lang": markFunction( function( lang ) { - // lang value must be a valid identifier - if ( !ridentifier.test(lang || "") ) { - Sizzle.error( "unsupported lang: " + lang ); - } - lang = lang.replace( runescape, funescape ).toLowerCase(); - return function( elem ) { - var elemLang; - do { - if ( (elemLang = documentIsHTML ? - elem.lang : - elem.getAttribute("xml:lang") || elem.getAttribute("lang")) ) { - - elemLang = elemLang.toLowerCase(); - return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; - } - } while ( (elem = elem.parentNode) && elem.nodeType === 1 ); - return false; - }; - }), - - // Miscellaneous - "target": function( elem ) { - var hash = window.location && window.location.hash; - return hash && hash.slice( 1 ) === elem.id; - }, - - "root": function( elem ) { - return elem === docElem; - }, - - "focus": function( elem ) { - return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex); - }, - - // Boolean properties - "enabled": function( elem ) { - return elem.disabled === false; - }, - - "disabled": function( elem ) { - return elem.disabled === true; - }, - - "checked": function( elem ) { - // In CSS3, :checked should return both checked and selected elements - // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked - var nodeName = elem.nodeName.toLowerCase(); - return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected); - }, - - "selected": function( elem ) { - // Accessing this property makes selected-by-default - // options in Safari work properly - if ( elem.parentNode ) { - elem.parentNode.selectedIndex; - } - - return elem.selected === true; - }, - - // Contents - "empty": function( elem ) { - // http://www.w3.org/TR/selectors/#empty-pseudo - // :empty is only affected by element nodes and content nodes(including text(3), cdata(4)), - // not comment, processing instructions, or others - // Thanks to Diego Perini for the nodeName shortcut - // Greater than "@" means alpha characters (specifically not starting with "#" or "?") - for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { - if ( elem.nodeName > "@" || elem.nodeType === 3 || elem.nodeType === 4 ) { - return false; - } - } - return true; - }, - - "parent": function( elem ) { - return !Expr.pseudos["empty"]( elem ); - }, - - // Element/input types - "header": function( elem ) { - return rheader.test( elem.nodeName ); - }, - - "input": function( elem ) { - return rinputs.test( elem.nodeName ); - }, - - "button": function( elem ) { - var name = elem.nodeName.toLowerCase(); - return name === "input" && elem.type === "button" || name === "button"; - }, - - "text": function( elem ) { - var attr; - // IE6 and 7 will map elem.type to 'text' for new HTML5 types (search, etc) - // use getAttribute instead to test this case - return elem.nodeName.toLowerCase() === "input" && - elem.type === "text" && - ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === elem.type ); - }, - - // Position-in-collection - "first": createPositionalPseudo(function() { - return [ 0 ]; - }), - - "last": createPositionalPseudo(function( matchIndexes, length ) { - return [ length - 1 ]; - }), - - "eq": createPositionalPseudo(function( matchIndexes, length, argument ) { - return [ argument < 0 ? argument + length : argument ]; - }), - - "even": createPositionalPseudo(function( matchIndexes, length ) { - var i = 0; - for ( ; i < length; i += 2 ) { - matchIndexes.push( i ); - } - return matchIndexes; - }), - - "odd": createPositionalPseudo(function( matchIndexes, length ) { - var i = 1; - for ( ; i < length; i += 2 ) { - matchIndexes.push( i ); - } - return matchIndexes; - }), - - "lt": createPositionalPseudo(function( matchIndexes, length, argument ) { - var i = argument < 0 ? argument + length : argument; - for ( ; --i >= 0; ) { - matchIndexes.push( i ); - } - return matchIndexes; - }), - - "gt": createPositionalPseudo(function( matchIndexes, length, argument ) { - var i = argument < 0 ? argument + length : argument; - for ( ; ++i < length; ) { - matchIndexes.push( i ); - } - return matchIndexes; - }) - } -}; - -Expr.pseudos["nth"] = Expr.pseudos["eq"]; - -// Add button/input type pseudos -for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { - Expr.pseudos[ i ] = createInputPseudo( i ); -} -for ( i in { submit: true, reset: true } ) { - Expr.pseudos[ i ] = createButtonPseudo( i ); -} - -// Easy API for creating new setFilters -function setFilters() {} -setFilters.prototype = Expr.filters = Expr.pseudos; -Expr.setFilters = new setFilters(); - -function tokenize( selector, parseOnly ) { - var matched, match, tokens, type, - soFar, groups, preFilters, - cached = tokenCache[ selector + " " ]; - - if ( cached ) { - return parseOnly ? 0 : cached.slice( 0 ); - } - - soFar = selector; - groups = []; - preFilters = Expr.preFilter; - - while ( soFar ) { - - // Comma and first run - if ( !matched || (match = rcomma.exec( soFar )) ) { - if ( match ) { - // Don't consume trailing commas as valid - soFar = soFar.slice( match[0].length ) || soFar; - } - groups.push( tokens = [] ); - } - - matched = false; - - // Combinators - if ( (match = rcombinators.exec( soFar )) ) { - matched = match.shift(); - tokens.push({ - value: matched, - // Cast descendant combinators to space - type: match[0].replace( rtrim, " " ) - }); - soFar = soFar.slice( matched.length ); - } - - // Filters - for ( type in Expr.filter ) { - if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] || - (match = preFilters[ type ]( match ))) ) { - matched = match.shift(); - tokens.push({ - value: matched, - type: type, - matches: match - }); - soFar = soFar.slice( matched.length ); - } - } - - if ( !matched ) { - break; - } - } - - // Return the length of the invalid excess - // if we're just parsing - // Otherwise, throw an error or return tokens - return parseOnly ? - soFar.length : - soFar ? - Sizzle.error( selector ) : - // Cache the tokens - tokenCache( selector, groups ).slice( 0 ); -} - -function toSelector( tokens ) { - var i = 0, - len = tokens.length, - selector = ""; - for ( ; i < len; i++ ) { - selector += tokens[i].value; - } - return selector; -} - -function addCombinator( matcher, combinator, base ) { - var dir = combinator.dir, - checkNonElements = base && dir === "parentNode", - doneName = done++; - - return combinator.first ? - // Check against closest ancestor/preceding element - function( elem, context, xml ) { - while ( (elem = elem[ dir ]) ) { - if ( elem.nodeType === 1 || checkNonElements ) { - return matcher( elem, context, xml ); - } - } - } : - - // Check against all ancestor/preceding elements - function( elem, context, xml ) { - var data, cache, outerCache, - dirkey = dirruns + " " + doneName; - - // We can't set arbitrary data on XML nodes, so they don't benefit from dir caching - if ( xml ) { - while ( (elem = elem[ dir ]) ) { - if ( elem.nodeType === 1 || checkNonElements ) { - if ( matcher( elem, context, xml ) ) { - return true; - } - } - } - } else { - while ( (elem = elem[ dir ]) ) { - if ( elem.nodeType === 1 || checkNonElements ) { - outerCache = elem[ expando ] || (elem[ expando ] = {}); - if ( (cache = outerCache[ dir ]) && cache[0] === dirkey ) { - if ( (data = cache[1]) === true || data === cachedruns ) { - return data === true; - } - } else { - cache = outerCache[ dir ] = [ dirkey ]; - cache[1] = matcher( elem, context, xml ) || cachedruns; - if ( cache[1] === true ) { - return true; - } - } - } - } - } - }; -} - -function elementMatcher( matchers ) { - return matchers.length > 1 ? - function( elem, context, xml ) { - var i = matchers.length; - while ( i-- ) { - if ( !matchers[i]( elem, context, xml ) ) { - return false; - } - } - return true; - } : - matchers[0]; -} - -function condense( unmatched, map, filter, context, xml ) { - var elem, - newUnmatched = [], - i = 0, - len = unmatched.length, - mapped = map != null; - - for ( ; i < len; i++ ) { - if ( (elem = unmatched[i]) ) { - if ( !filter || filter( elem, context, xml ) ) { - newUnmatched.push( elem ); - if ( mapped ) { - map.push( i ); - } - } - } - } - - return newUnmatched; -} - -function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { - if ( postFilter && !postFilter[ expando ] ) { - postFilter = setMatcher( postFilter ); - } - if ( postFinder && !postFinder[ expando ] ) { - postFinder = setMatcher( postFinder, postSelector ); - } - return markFunction(function( seed, results, context, xml ) { - var temp, i, elem, - preMap = [], - postMap = [], - preexisting = results.length, - - // Get initial elements from seed or context - elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ), - - // Prefilter to get matcher input, preserving a map for seed-results synchronization - matcherIn = preFilter && ( seed || !selector ) ? - condense( elems, preMap, preFilter, context, xml ) : - elems, - - matcherOut = matcher ? - // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, - postFinder || ( seed ? preFilter : preexisting || postFilter ) ? - - // ...intermediate processing is necessary - [] : - - // ...otherwise use results directly - results : - matcherIn; - - // Find primary matches - if ( matcher ) { - matcher( matcherIn, matcherOut, context, xml ); - } - - // Apply postFilter - if ( postFilter ) { - temp = condense( matcherOut, postMap ); - postFilter( temp, [], context, xml ); - - // Un-match failing elements by moving them back to matcherIn - i = temp.length; - while ( i-- ) { - if ( (elem = temp[i]) ) { - matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem); - } - } - } - - if ( seed ) { - if ( postFinder || preFilter ) { - if ( postFinder ) { - // Get the final matcherOut by condensing this intermediate into postFinder contexts - temp = []; - i = matcherOut.length; - while ( i-- ) { - if ( (elem = matcherOut[i]) ) { - // Restore matcherIn since elem is not yet a final match - temp.push( (matcherIn[i] = elem) ); - } - } - postFinder( null, (matcherOut = []), temp, xml ); - } - - // Move matched elements from seed to results to keep them synchronized - i = matcherOut.length; - while ( i-- ) { - if ( (elem = matcherOut[i]) && - (temp = postFinder ? indexOf.call( seed, elem ) : preMap[i]) > -1 ) { - - seed[temp] = !(results[temp] = elem); - } - } - } - - // Add elements to results, through postFinder if defined - } else { - matcherOut = condense( - matcherOut === results ? - matcherOut.splice( preexisting, matcherOut.length ) : - matcherOut - ); - if ( postFinder ) { - postFinder( null, results, matcherOut, xml ); - } else { - push.apply( results, matcherOut ); - } - } - }); -} - -function matcherFromTokens( tokens ) { - var checkContext, matcher, j, - len = tokens.length, - leadingRelative = Expr.relative[ tokens[0].type ], - implicitRelative = leadingRelative || Expr.relative[" "], - i = leadingRelative ? 1 : 0, - - // The foundational matcher ensures that elements are reachable from top-level context(s) - matchContext = addCombinator( function( elem ) { - return elem === checkContext; - }, implicitRelative, true ), - matchAnyContext = addCombinator( function( elem ) { - return indexOf.call( checkContext, elem ) > -1; - }, implicitRelative, true ), - matchers = [ function( elem, context, xml ) { - return ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( - (checkContext = context).nodeType ? - matchContext( elem, context, xml ) : - matchAnyContext( elem, context, xml ) ); - } ]; - - for ( ; i < len; i++ ) { - if ( (matcher = Expr.relative[ tokens[i].type ]) ) { - matchers = [ addCombinator(elementMatcher( matchers ), matcher) ]; - } else { - matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches ); - - // Return special upon seeing a positional matcher - if ( matcher[ expando ] ) { - // Find the next relative operator (if any) for proper handling - j = ++i; - for ( ; j < len; j++ ) { - if ( Expr.relative[ tokens[j].type ] ) { - break; - } - } - return setMatcher( - i > 1 && elementMatcher( matchers ), - i > 1 && toSelector( - // If the preceding token was a descendant combinator, insert an implicit any-element `*` - tokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === " " ? "*" : "" }) - ).replace( rtrim, "$1" ), - matcher, - i < j && matcherFromTokens( tokens.slice( i, j ) ), - j < len && matcherFromTokens( (tokens = tokens.slice( j )) ), - j < len && toSelector( tokens ) - ); - } - matchers.push( matcher ); - } - } - - return elementMatcher( matchers ); -} - -function matcherFromGroupMatchers( elementMatchers, setMatchers ) { - // A counter to specify which element is currently being matched - var matcherCachedRuns = 0, - bySet = setMatchers.length > 0, - byElement = elementMatchers.length > 0, - superMatcher = function( seed, context, xml, results, expandContext ) { - var elem, j, matcher, - setMatched = [], - matchedCount = 0, - i = "0", - unmatched = seed && [], - outermost = expandContext != null, - contextBackup = outermostContext, - // We must always have either seed elements or context - elems = seed || byElement && Expr.find["TAG"]( "*", expandContext && context.parentNode || context ), - // Use integer dirruns iff this is the outermost matcher - dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1); - - if ( outermost ) { - outermostContext = context !== document && context; - cachedruns = matcherCachedRuns; - } - - // Add elements passing elementMatchers directly to results - // Keep `i` a string if there are no elements so `matchedCount` will be "00" below - for ( ; (elem = elems[i]) != null; i++ ) { - if ( byElement && elem ) { - j = 0; - while ( (matcher = elementMatchers[j++]) ) { - if ( matcher( elem, context, xml ) ) { - results.push( elem ); - break; - } - } - if ( outermost ) { - dirruns = dirrunsUnique; - cachedruns = ++matcherCachedRuns; - } - } - - // Track unmatched elements for set filters - if ( bySet ) { - // They will have gone through all possible matchers - if ( (elem = !matcher && elem) ) { - matchedCount--; - } - - // Lengthen the array for every element, matched or not - if ( seed ) { - unmatched.push( elem ); - } - } - } - - // Apply set filters to unmatched elements - matchedCount += i; - if ( bySet && i !== matchedCount ) { - j = 0; - while ( (matcher = setMatchers[j++]) ) { - matcher( unmatched, setMatched, context, xml ); - } - - if ( seed ) { - // Reintegrate element matches to eliminate the need for sorting - if ( matchedCount > 0 ) { - while ( i-- ) { - if ( !(unmatched[i] || setMatched[i]) ) { - setMatched[i] = pop.call( results ); - } - } - } - - // Discard index placeholder values to get only actual matches - setMatched = condense( setMatched ); - } - - // Add matches to results - push.apply( results, setMatched ); - - // Seedless set matches succeeding multiple successful matchers stipulate sorting - if ( outermost && !seed && setMatched.length > 0 && - ( matchedCount + setMatchers.length ) > 1 ) { - - Sizzle.uniqueSort( results ); - } - } - - // Override manipulation of globals by nested matchers - if ( outermost ) { - dirruns = dirrunsUnique; - outermostContext = contextBackup; - } - - return unmatched; - }; - - return bySet ? - markFunction( superMatcher ) : - superMatcher; -} - -compile = Sizzle.compile = function( selector, group /* Internal Use Only */ ) { - var i, - setMatchers = [], - elementMatchers = [], - cached = compilerCache[ selector + " " ]; - - if ( !cached ) { - // Generate a function of recursive functions that can be used to check each element - if ( !group ) { - group = tokenize( selector ); - } - i = group.length; - while ( i-- ) { - cached = matcherFromTokens( group[i] ); - if ( cached[ expando ] ) { - setMatchers.push( cached ); - } else { - elementMatchers.push( cached ); - } - } - - // Cache the compiled function - cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) ); - } - return cached; -}; - -function multipleContexts( selector, contexts, results ) { - var i = 0, - len = contexts.length; - for ( ; i < len; i++ ) { - Sizzle( selector, contexts[i], results ); - } - return results; -} - -function select( selector, context, results, seed ) { - var i, tokens, token, type, find, - match = tokenize( selector ); - - if ( !seed ) { - // Try to minimize operations if there is only one group - if ( match.length === 1 ) { - - // Take a shortcut and set the context if the root selector is an ID - tokens = match[0] = match[0].slice( 0 ); - if ( tokens.length > 2 && (token = tokens[0]).type === "ID" && - support.getById && context.nodeType === 9 && documentIsHTML && - Expr.relative[ tokens[1].type ] ) { - - context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0]; - if ( !context ) { - return results; - } - selector = selector.slice( tokens.shift().value.length ); - } - - // Fetch a seed set for right-to-left matching - i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length; - while ( i-- ) { - token = tokens[i]; - - // Abort if we hit a combinator - if ( Expr.relative[ (type = token.type) ] ) { - break; - } - if ( (find = Expr.find[ type ]) ) { - // Search, expanding context for leading sibling combinators - if ( (seed = find( - token.matches[0].replace( runescape, funescape ), - rsibling.test( tokens[0].type ) && context.parentNode || context - )) ) { - - // If seed is empty or no tokens remain, we can return early - tokens.splice( i, 1 ); - selector = seed.length && toSelector( tokens ); - if ( !selector ) { - push.apply( results, seed ); - return results; - } - - break; - } - } - } - } - } - - // Compile and execute a filtering function - // Provide `match` to avoid retokenization if we modified the selector above - compile( selector, match )( - seed, - context, - !documentIsHTML, - results, - rsibling.test( selector ) - ); - return results; -} - -// One-time assignments - -// Sort stability -support.sortStable = expando.split("").sort( sortOrder ).join("") === expando; - -// Support: Chrome<14 -// Always assume duplicates if they aren't passed to the comparison function -support.detectDuplicates = hasDuplicate; - -// Initialize against the default document -setDocument(); - -// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) -// Detached nodes confoundingly follow *each other* -support.sortDetached = assert(function( div1 ) { - // Should return 1, but returns 4 (following) - return div1.compareDocumentPosition( document.createElement("div") ) & 1; -}); - -// Support: IE<8 -// Prevent attribute/property "interpolation" -// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx -if ( !assert(function( div ) { - div.innerHTML = "<a href='#'></a>"; - return div.firstChild.getAttribute("href") === "#" ; -}) ) { - addHandle( "type|href|height|width", function( elem, name, isXML ) { - if ( !isXML ) { - return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); - } - }); -} - -// Support: IE<9 -// Use defaultValue in place of getAttribute("value") -if ( !support.attributes || !assert(function( div ) { - div.innerHTML = "<input/>"; - div.firstChild.setAttribute( "value", "" ); - return div.firstChild.getAttribute( "value" ) === ""; -}) ) { - addHandle( "value", function( elem, name, isXML ) { - if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { - return elem.defaultValue; - } - }); -} - -// Support: IE<9 -// Use getAttributeNode to fetch booleans when getAttribute lies -if ( !assert(function( div ) { - return div.getAttribute("disabled") == null; -}) ) { - addHandle( booleans, function( elem, name, isXML ) { - var val; - if ( !isXML ) { - return (val = elem.getAttributeNode( name )) && val.specified ? - val.value : - elem[ name ] === true ? name.toLowerCase() : null; - } - }); -} - -jQuery.find = Sizzle; -jQuery.expr = Sizzle.selectors; -jQuery.expr[":"] = jQuery.expr.pseudos; -jQuery.unique = Sizzle.uniqueSort; -jQuery.text = Sizzle.getText; -jQuery.isXMLDoc = Sizzle.isXML; -jQuery.contains = Sizzle.contains; - - -})( window ); -// String to Object options format cache -var optionsCache = {}; - -// Convert String-formatted options into Object-formatted ones and store in cache -function createOptions( options ) { - var object = optionsCache[ options ] = {}; - jQuery.each( options.match( core_rnotwhite ) || [], function( _, flag ) { - object[ flag ] = true; - }); - return object; -} - -/* - * Create a callback list using the following parameters: - * - * options: an optional list of space-separated options that will change how - * the callback list behaves or a more traditional option object - * - * By default a callback list will act like an event callback list and can be - * "fired" multiple times. - * - * Possible options: - * - * once: will ensure the callback list can only be fired once (like a Deferred) - * - * memory: will keep track of previous values and will call any callback added - * after the list has been fired right away with the latest "memorized" - * values (like a Deferred) - * - * unique: will ensure a callback can only be added once (no duplicate in the list) - * - * stopOnFalse: interrupt callings when a callback returns false - * - */ -jQuery.Callbacks = function( options ) { - - // Convert options from String-formatted to Object-formatted if needed - // (we check in cache first) - options = typeof options === "string" ? - ( optionsCache[ options ] || createOptions( options ) ) : - jQuery.extend( {}, options ); - - var // Flag to know if list is currently firing - firing, - // Last fire value (for non-forgettable lists) - memory, - // Flag to know if list was already fired - fired, - // End of the loop when firing - firingLength, - // Index of currently firing callback (modified by remove if needed) - firingIndex, - // First callback to fire (used internally by add and fireWith) - firingStart, - // Actual callback list - list = [], - // Stack of fire calls for repeatable lists - stack = !options.once && [], - // Fire callbacks - fire = function( data ) { - memory = options.memory && data; - fired = true; - firingIndex = firingStart || 0; - firingStart = 0; - firingLength = list.length; - firing = true; - for ( ; list && firingIndex < firingLength; firingIndex++ ) { - if ( list[ firingIndex ].apply( data[ 0 ], data[ 1 ] ) === false && options.stopOnFalse ) { - memory = false; // To prevent further calls using add - break; - } - } - firing = false; - if ( list ) { - if ( stack ) { - if ( stack.length ) { - fire( stack.shift() ); - } - } else if ( memory ) { - list = []; - } else { - self.disable(); - } - } - }, - // Actual Callbacks object - self = { - // Add a callback or a collection of callbacks to the list - add: function() { - if ( list ) { - // First, we save the current length - var start = list.length; - (function add( args ) { - jQuery.each( args, function( _, arg ) { - var type = jQuery.type( arg ); - if ( type === "function" ) { - if ( !options.unique || !self.has( arg ) ) { - list.push( arg ); - } - } else if ( arg && arg.length && type !== "string" ) { - // Inspect recursively - add( arg ); - } - }); - })( arguments ); - // Do we need to add the callbacks to the - // current firing batch? - if ( firing ) { - firingLength = list.length; - // With memory, if we're not firing then - // we should call right away - } else if ( memory ) { - firingStart = start; - fire( memory ); - } - } - return this; - }, - // Remove a callback from the list - remove: function() { - if ( list ) { - jQuery.each( arguments, function( _, arg ) { - var index; - while( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { - list.splice( index, 1 ); - // Handle firing indexes - if ( firing ) { - if ( index <= firingLength ) { - firingLength--; - } - if ( index <= firingIndex ) { - firingIndex--; - } - } - } - }); - } - return this; - }, - // Check if a given callback is in the list. - // If no argument is given, return whether or not list has callbacks attached. - has: function( fn ) { - return fn ? jQuery.inArray( fn, list ) > -1 : !!( list && list.length ); - }, - // Remove all callbacks from the list - empty: function() { - list = []; - firingLength = 0; - return this; - }, - // Have the list do nothing anymore - disable: function() { - list = stack = memory = undefined; - return this; - }, - // Is it disabled? - disabled: function() { - return !list; - }, - // Lock the list in its current state - lock: function() { - stack = undefined; - if ( !memory ) { - self.disable(); - } - return this; - }, - // Is it locked? - locked: function() { - return !stack; - }, - // Call all callbacks with the given context and arguments - fireWith: function( context, args ) { - if ( list && ( !fired || stack ) ) { - args = args || []; - args = [ context, args.slice ? args.slice() : args ]; - if ( firing ) { - stack.push( args ); - } else { - fire( args ); - } - } - return this; - }, - // Call all the callbacks with the given arguments - fire: function() { - self.fireWith( this, arguments ); - return this; - }, - // To know if the callbacks have already been called at least once - fired: function() { - return !!fired; - } - }; - - return self; -}; -jQuery.extend({ - - Deferred: function( func ) { - var tuples = [ - // action, add listener, listener list, final state - [ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ], - [ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ], - [ "notify", "progress", jQuery.Callbacks("memory") ] - ], - state = "pending", - promise = { - state: function() { - return state; - }, - always: function() { - deferred.done( arguments ).fail( arguments ); - return this; - }, - then: function( /* fnDone, fnFail, fnProgress */ ) { - var fns = arguments; - return jQuery.Deferred(function( newDefer ) { - jQuery.each( tuples, function( i, tuple ) { - var action = tuple[ 0 ], - fn = jQuery.isFunction( fns[ i ] ) && fns[ i ]; - // deferred[ done | fail | progress ] for forwarding actions to newDefer - deferred[ tuple[1] ](function() { - var returned = fn && fn.apply( this, arguments ); - if ( returned && jQuery.isFunction( returned.promise ) ) { - returned.promise() - .done( newDefer.resolve ) - .fail( newDefer.reject ) - .progress( newDefer.notify ); - } else { - newDefer[ action + "With" ]( this === promise ? newDefer.promise() : this, fn ? [ returned ] : arguments ); - } - }); - }); - fns = null; - }).promise(); - }, - // Get a promise for this deferred - // If obj is provided, the promise aspect is added to the object - promise: function( obj ) { - return obj != null ? jQuery.extend( obj, promise ) : promise; - } - }, - deferred = {}; - - // Keep pipe for back-compat - promise.pipe = promise.then; - - // Add list-specific methods - jQuery.each( tuples, function( i, tuple ) { - var list = tuple[ 2 ], - stateString = tuple[ 3 ]; - - // promise[ done | fail | progress ] = list.add - promise[ tuple[1] ] = list.add; - - // Handle state - if ( stateString ) { - list.add(function() { - // state = [ resolved | rejected ] - state = stateString; - - // [ reject_list | resolve_list ].disable; progress_list.lock - }, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock ); - } - - // deferred[ resolve | reject | notify ] - deferred[ tuple[0] ] = function() { - deferred[ tuple[0] + "With" ]( this === deferred ? promise : this, arguments ); - return this; - }; - deferred[ tuple[0] + "With" ] = list.fireWith; - }); - - // Make the deferred a promise - promise.promise( deferred ); - - // Call given func if any - if ( func ) { - func.call( deferred, deferred ); - } - - // All done! - return deferred; - }, - - // Deferred helper - when: function( subordinate /* , ..., subordinateN */ ) { - var i = 0, - resolveValues = core_slice.call( arguments ), - length = resolveValues.length, - - // the count of uncompleted subordinates - remaining = length !== 1 || ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0, - - // the master Deferred. If resolveValues consist of only a single Deferred, just use that. - deferred = remaining === 1 ? subordinate : jQuery.Deferred(), - - // Update function for both resolve and progress values - updateFunc = function( i, contexts, values ) { - return function( value ) { - contexts[ i ] = this; - values[ i ] = arguments.length > 1 ? core_slice.call( arguments ) : value; - if( values === progressValues ) { - deferred.notifyWith( contexts, values ); - } else if ( !( --remaining ) ) { - deferred.resolveWith( contexts, values ); - } - }; - }, - - progressValues, progressContexts, resolveContexts; - - // add listeners to Deferred subordinates; treat others as resolved - if ( length > 1 ) { - progressValues = new Array( length ); - progressContexts = new Array( length ); - resolveContexts = new Array( length ); - for ( ; i < length; i++ ) { - if ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) { - resolveValues[ i ].promise() - .done( updateFunc( i, resolveContexts, resolveValues ) ) - .fail( deferred.reject ) - .progress( updateFunc( i, progressContexts, progressValues ) ); - } else { - --remaining; - } - } - } - - // if we're not waiting on anything, resolve the master - if ( !remaining ) { - deferred.resolveWith( resolveContexts, resolveValues ); - } - - return deferred.promise(); - } -}); -jQuery.support = (function( support ) { - - var all, a, input, select, fragment, opt, eventName, isSupported, i, - div = document.createElement("div"); - - // Setup - div.setAttribute( "className", "t" ); - div.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>"; - - // Finish early in limited (non-browser) environments - all = div.getElementsByTagName("*") || []; - a = div.getElementsByTagName("a")[ 0 ]; - if ( !a || !a.style || !all.length ) { - return support; - } - - // First batch of tests - select = document.createElement("select"); - opt = select.appendChild( document.createElement("option") ); - input = div.getElementsByTagName("input")[ 0 ]; - - a.style.cssText = "top:1px;float:left;opacity:.5"; - - // Test setAttribute on camelCase class. If it works, we need attrFixes when doing get/setAttribute (ie6/7) - support.getSetAttribute = div.className !== "t"; - - // IE strips leading whitespace when .innerHTML is used - support.leadingWhitespace = div.firstChild.nodeType === 3; - - // Make sure that tbody elements aren't automatically inserted - // IE will insert them into empty tables - support.tbody = !div.getElementsByTagName("tbody").length; - - // Make sure that link elements get serialized correctly by innerHTML - // This requires a wrapper element in IE - support.htmlSerialize = !!div.getElementsByTagName("link").length; - - // Get the style information from getAttribute - // (IE uses .cssText instead) - support.style = /top/.test( a.getAttribute("style") ); - - // Make sure that URLs aren't manipulated - // (IE normalizes it by default) - support.hrefNormalized = a.getAttribute("href") === "/a"; - - // Make sure that element opacity exists - // (IE uses filter instead) - // Use a regex to work around a WebKit issue. See #5145 - support.opacity = /^0.5/.test( a.style.opacity ); - - // Verify style float existence - // (IE uses styleFloat instead of cssFloat) - support.cssFloat = !!a.style.cssFloat; - - // Check the default checkbox/radio value ("" on WebKit; "on" elsewhere) - support.checkOn = !!input.value; - - // Make sure that a selected-by-default option has a working selected property. - // (WebKit defaults to false instead of true, IE too, if it's in an optgroup) - support.optSelected = opt.selected; - - // Tests for enctype support on a form (#6743) - support.enctype = !!document.createElement("form").enctype; - - // Makes sure cloning an html5 element does not cause problems - // Where outerHTML is undefined, this still works - support.html5Clone = document.createElement("nav").cloneNode( true ).outerHTML !== "<:nav></:nav>"; - - // Will be defined later - support.inlineBlockNeedsLayout = false; - support.shrinkWrapBlocks = false; - support.pixelPosition = false; - support.deleteExpando = true; - support.noCloneEvent = true; - support.reliableMarginRight = true; - support.boxSizingReliable = true; - - // Make sure checked status is properly cloned - input.checked = true; - support.noCloneChecked = input.cloneNode( true ).checked; - - // Make sure that the options inside disabled selects aren't marked as disabled - // (WebKit marks them as disabled) - select.disabled = true; - support.optDisabled = !opt.disabled; - - // Support: IE<9 - try { - delete div.test; - } catch( e ) { - support.deleteExpando = false; - } - - // Check if we can trust getAttribute("value") - input = document.createElement("input"); - input.setAttribute( "value", "" ); - support.input = input.getAttribute( "value" ) === ""; - - // Check if an input maintains its value after becoming a radio - input.value = "t"; - input.setAttribute( "type", "radio" ); - support.radioValue = input.value === "t"; - - // #11217 - WebKit loses check when the name is after the checked attribute - input.setAttribute( "checked", "t" ); - input.setAttribute( "name", "t" ); - - fragment = document.createDocumentFragment(); - fragment.appendChild( input ); - - // Check if a disconnected checkbox will retain its checked - // value of true after appended to the DOM (IE6/7) - support.appendChecked = input.checked; - - // WebKit doesn't clone checked state correctly in fragments - support.checkClone = fragment.cloneNode( true ).cloneNode( true ).lastChild.checked; - - // Support: IE<9 - // Opera does not clone events (and typeof div.attachEvent === undefined). - // IE9-10 clones events bound via attachEvent, but they don't trigger with .click() - if ( div.attachEvent ) { - div.attachEvent( "onclick", function() { - support.noCloneEvent = false; - }); - - div.cloneNode( true ).click(); - } - - // Support: IE<9 (lack submit/change bubble), Firefox 17+ (lack focusin event) - // Beware of CSP restrictions (https://developer.mozilla.org/en/Security/CSP) - for ( i in { submit: true, change: true, focusin: true }) { - div.setAttribute( eventName = "on" + i, "t" ); - - support[ i + "Bubbles" ] = eventName in window || div.attributes[ eventName ].expando === false; - } - - div.style.backgroundClip = "content-box"; - div.cloneNode( true ).style.backgroundClip = ""; - support.clearCloneStyle = div.style.backgroundClip === "content-box"; - - // Support: IE<9 - // Iteration over object's inherited properties before its own. - for ( i in jQuery( support ) ) { - break; - } - support.ownLast = i !== "0"; - - // Run tests that need a body at doc ready - jQuery(function() { - var container, marginDiv, tds, - divReset = "padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;", - body = document.getElementsByTagName("body")[0]; - - if ( !body ) { - // Return for frameset docs that don't have a body - return; - } - - container = document.createElement("div"); - container.style.cssText = "border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px"; - - body.appendChild( container ).appendChild( div ); - - // Support: IE8 - // Check if table cells still have offsetWidth/Height when they are set - // to display:none and there are still other visible table cells in a - // table row; if so, offsetWidth/Height are not reliable for use when - // determining if an element has been hidden directly using - // display:none (it is still safe to use offsets if a parent element is - // hidden; don safety goggles and see bug #4512 for more information). - div.innerHTML = "<table><tr><td></td><td>t</td></tr></table>"; - tds = div.getElementsByTagName("td"); - tds[ 0 ].style.cssText = "padding:0;margin:0;border:0;display:none"; - isSupported = ( tds[ 0 ].offsetHeight === 0 ); - - tds[ 0 ].style.display = ""; - tds[ 1 ].style.display = "none"; - - // Support: IE8 - // Check if empty table cells still have offsetWidth/Height - support.reliableHiddenOffsets = isSupported && ( tds[ 0 ].offsetHeight === 0 ); - - // Check box-sizing and margin behavior. - div.innerHTML = ""; - div.style.cssText = "box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;"; - - // Workaround failing boxSizing test due to offsetWidth returning wrong value - // with some non-1 values of body zoom, ticket #13543 - jQuery.swap( body, body.style.zoom != null ? { zoom: 1 } : {}, function() { - support.boxSizing = div.offsetWidth === 4; - }); - - // Use window.getComputedStyle because jsdom on node.js will break without it. - if ( window.getComputedStyle ) { - support.pixelPosition = ( window.getComputedStyle( div, null ) || {} ).top !== "1%"; - support.boxSizingReliable = ( window.getComputedStyle( div, null ) || { width: "4px" } ).width === "4px"; - - // Check if div with explicit width and no margin-right incorrectly - // gets computed margin-right based on width of container. (#3333) - // Fails in WebKit before Feb 2011 nightlies - // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right - marginDiv = div.appendChild( document.createElement("div") ); - marginDiv.style.cssText = div.style.cssText = divReset; - marginDiv.style.marginRight = marginDiv.style.width = "0"; - div.style.width = "1px"; - - support.reliableMarginRight = - !parseFloat( ( window.getComputedStyle( marginDiv, null ) || {} ).marginRight ); - } - - if ( typeof div.style.zoom !== core_strundefined ) { - // Support: IE<8 - // Check if natively block-level elements act like inline-block - // elements when setting their display to 'inline' and giving - // them layout - div.innerHTML = ""; - div.style.cssText = divReset + "width:1px;padding:1px;display:inline;zoom:1"; - support.inlineBlockNeedsLayout = ( div.offsetWidth === 3 ); - - // Support: IE6 - // Check if elements with layout shrink-wrap their children - div.style.display = "block"; - div.innerHTML = "<div></div>"; - div.firstChild.style.width = "5px"; - support.shrinkWrapBlocks = ( div.offsetWidth !== 3 ); - - if ( support.inlineBlockNeedsLayout ) { - // Prevent IE 6 from affecting layout for positioned elements #11048 - // Prevent IE from shrinking the body in IE 7 mode #12869 - // Support: IE<8 - body.style.zoom = 1; - } - } - - body.removeChild( container ); - - // Null elements to avoid leaks in IE - container = div = tds = marginDiv = null; - }); - - // Null elements to avoid leaks in IE - all = select = fragment = opt = a = input = null; - - return support; -})({}); - -var rbrace = /(?:\{[\s\S]*\}|\[[\s\S]*\])$/, - rmultiDash = /([A-Z])/g; - -function internalData( elem, name, data, pvt /* Internal Use Only */ ){ - if ( !jQuery.acceptData( elem ) ) { - return; - } - - var ret, thisCache, - internalKey = jQuery.expando, - - // We have to handle DOM nodes and JS objects differently because IE6-7 - // can't GC object references properly across the DOM-JS boundary - isNode = elem.nodeType, - - // Only DOM nodes need the global jQuery cache; JS object data is - // attached directly to the object so GC can occur automatically - cache = isNode ? jQuery.cache : elem, - - // Only defining an ID for JS objects if its cache already exists allows - // the code to shortcut on the same path as a DOM node with no cache - id = isNode ? elem[ internalKey ] : elem[ internalKey ] && internalKey; - - // Avoid doing any more work than we need to when trying to get data on an - // object that has no data at all - if ( (!id || !cache[id] || (!pvt && !cache[id].data)) && data === undefined && typeof name === "string" ) { - return; - } - - if ( !id ) { - // Only DOM nodes need a new unique ID for each element since their data - // ends up in the global cache - if ( isNode ) { - id = elem[ internalKey ] = core_deletedIds.pop() || jQuery.guid++; - } else { - id = internalKey; - } - } - - if ( !cache[ id ] ) { - // Avoid exposing jQuery metadata on plain JS objects when the object - // is serialized using JSON.stringify - cache[ id ] = isNode ? {} : { toJSON: jQuery.noop }; - } - - // An object can be passed to jQuery.data instead of a key/value pair; this gets - // shallow copied over onto the existing cache - if ( typeof name === "object" || typeof name === "function" ) { - if ( pvt ) { - cache[ id ] = jQuery.extend( cache[ id ], name ); - } else { - cache[ id ].data = jQuery.extend( cache[ id ].data, name ); - } - } - - thisCache = cache[ id ]; - - // jQuery data() is stored in a separate object inside the object's internal data - // cache in order to avoid key collisions between internal data and user-defined - // data. - if ( !pvt ) { - if ( !thisCache.data ) { - thisCache.data = {}; - } - - thisCache = thisCache.data; - } - - if ( data !== undefined ) { - thisCache[ jQuery.camelCase( name ) ] = data; - } - - // Check for both converted-to-camel and non-converted data property names - // If a data property was specified - if ( typeof name === "string" ) { - - // First Try to find as-is property data - ret = thisCache[ name ]; - - // Test for null|undefined property data - if ( ret == null ) { - - // Try to find the camelCased property - ret = thisCache[ jQuery.camelCase( name ) ]; - } - } else { - ret = thisCache; - } - - return ret; -} - -function internalRemoveData( elem, name, pvt ) { - if ( !jQuery.acceptData( elem ) ) { - return; - } - - var thisCache, i, - isNode = elem.nodeType, - - // See jQuery.data for more information - cache = isNode ? jQuery.cache : elem, - id = isNode ? elem[ jQuery.expando ] : jQuery.expando; - - // If there is already no cache entry for this object, there is no - // purpose in continuing - if ( !cache[ id ] ) { - return; - } - - if ( name ) { - - thisCache = pvt ? cache[ id ] : cache[ id ].data; - - if ( thisCache ) { - - // Support array or space separated string names for data keys - if ( !jQuery.isArray( name ) ) { - - // try the string as a key before any manipulation - if ( name in thisCache ) { - name = [ name ]; - } else { - - // split the camel cased version by spaces unless a key with the spaces exists - name = jQuery.camelCase( name ); - if ( name in thisCache ) { - name = [ name ]; - } else { - name = name.split(" "); - } - } - } else { - // If "name" is an array of keys... - // When data is initially created, via ("key", "val") signature, - // keys will be converted to camelCase. - // Since there is no way to tell _how_ a key was added, remove - // both plain key and camelCase key. #12786 - // This will only penalize the array argument path. - name = name.concat( jQuery.map( name, jQuery.camelCase ) ); - } - - i = name.length; - while ( i-- ) { - delete thisCache[ name[i] ]; - } - - // If there is no data left in the cache, we want to continue - // and let the cache object itself get destroyed - if ( pvt ? !isEmptyDataObject(thisCache) : !jQuery.isEmptyObject(thisCache) ) { - return; - } - } - } - - // See jQuery.data for more information - if ( !pvt ) { - delete cache[ id ].data; - - // Don't destroy the parent cache unless the internal data object - // had been the only thing left in it - if ( !isEmptyDataObject( cache[ id ] ) ) { - return; - } - } - - // Destroy the cache - if ( isNode ) { - jQuery.cleanData( [ elem ], true ); - - // Use delete when supported for expandos or `cache` is not a window per isWindow (#10080) - /* jshint eqeqeq: false */ - } else if ( jQuery.support.deleteExpando || cache != cache.window ) { - /* jshint eqeqeq: true */ - delete cache[ id ]; - - // When all else fails, null - } else { - cache[ id ] = null; - } -} - -jQuery.extend({ - cache: {}, - - // The following elements throw uncatchable exceptions if you - // attempt to add expando properties to them. - noData: { - "applet": true, - "embed": true, - // Ban all objects except for Flash (which handle expandos) - "object": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" - }, - - hasData: function( elem ) { - elem = elem.nodeType ? jQuery.cache[ elem[jQuery.expando] ] : elem[ jQuery.expando ]; - return !!elem && !isEmptyDataObject( elem ); - }, - - data: function( elem, name, data ) { - return internalData( elem, name, data ); - }, - - removeData: function( elem, name ) { - return internalRemoveData( elem, name ); - }, - - // For internal use only. - _data: function( elem, name, data ) { - return internalData( elem, name, data, true ); - }, - - _removeData: function( elem, name ) { - return internalRemoveData( elem, name, true ); - }, - - // A method for determining if a DOM node can handle the data expando - acceptData: function( elem ) { - // Do not set data on non-element because it will not be cleared (#8335). - if ( elem.nodeType && elem.nodeType !== 1 && elem.nodeType !== 9 ) { - return false; - } - - var noData = elem.nodeName && jQuery.noData[ elem.nodeName.toLowerCase() ]; - - // nodes accept data unless otherwise specified; rejection can be conditional - return !noData || noData !== true && elem.getAttribute("classid") === noData; - } -}); - -jQuery.fn.extend({ - data: function( key, value ) { - var attrs, name, - data = null, - i = 0, - elem = this[0]; - - // Special expections of .data basically thwart jQuery.access, - // so implement the relevant behavior ourselves - - // Gets all values - if ( key === undefined ) { - if ( this.length ) { - data = jQuery.data( elem ); - - if ( elem.nodeType === 1 && !jQuery._data( elem, "parsedAttrs" ) ) { - attrs = elem.attributes; - for ( ; i < attrs.length; i++ ) { - name = attrs[i].name; - - if ( name.indexOf("data-") === 0 ) { - name = jQuery.camelCase( name.slice(5) ); - - dataAttr( elem, name, data[ name ] ); - } - } - jQuery._data( elem, "parsedAttrs", true ); - } - } - - return data; - } - - // Sets multiple values - if ( typeof key === "object" ) { - return this.each(function() { - jQuery.data( this, key ); - }); - } - - return arguments.length > 1 ? - - // Sets one value - this.each(function() { - jQuery.data( this, key, value ); - }) : - - // Gets one value - // Try to fetch any internally stored data first - elem ? dataAttr( elem, key, jQuery.data( elem, key ) ) : null; - }, - - removeData: function( key ) { - return this.each(function() { - jQuery.removeData( this, key ); - }); - } -}); - -function dataAttr( elem, key, data ) { - // If nothing was found internally, try to fetch any - // data from the HTML5 data-* attribute - if ( data === undefined && elem.nodeType === 1 ) { - - var name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase(); - - data = elem.getAttribute( name ); - - if ( typeof data === "string" ) { - try { - data = data === "true" ? true : - data === "false" ? false : - data === "null" ? null : - // Only convert to a number if it doesn't change the string - +data + "" === data ? +data : - rbrace.test( data ) ? jQuery.parseJSON( data ) : - data; - } catch( e ) {} - - // Make sure we set the data so it isn't changed later - jQuery.data( elem, key, data ); - - } else { - data = undefined; - } - } - - return data; -} - -// checks a cache object for emptiness -function isEmptyDataObject( obj ) { - var name; - for ( name in obj ) { - - // if the public data object is empty, the private is still empty - if ( name === "data" && jQuery.isEmptyObject( obj[name] ) ) { - continue; - } - if ( name !== "toJSON" ) { - return false; - } - } - - return true; -} -jQuery.extend({ - queue: function( elem, type, data ) { - var queue; - - if ( elem ) { - type = ( type || "fx" ) + "queue"; - queue = jQuery._data( elem, type ); - - // Speed up dequeue by getting out quickly if this is just a lookup - if ( data ) { - if ( !queue || jQuery.isArray(data) ) { - queue = jQuery._data( elem, type, jQuery.makeArray(data) ); - } else { - queue.push( data ); - } - } - return queue || []; - } - }, - - dequeue: function( elem, type ) { - type = type || "fx"; - - var queue = jQuery.queue( elem, type ), - startLength = queue.length, - fn = queue.shift(), - hooks = jQuery._queueHooks( elem, type ), - next = function() { - jQuery.dequeue( elem, type ); - }; - - // If the fx queue is dequeued, always remove the progress sentinel - if ( fn === "inprogress" ) { - fn = queue.shift(); - startLength--; - } - - if ( fn ) { - - // Add a progress sentinel to prevent the fx queue from being - // automatically dequeued - if ( type === "fx" ) { - queue.unshift( "inprogress" ); - } - - // clear up the last queue stop function - delete hooks.stop; - fn.call( elem, next, hooks ); - } - - if ( !startLength && hooks ) { - hooks.empty.fire(); - } - }, - - // not intended for public consumption - generates a queueHooks object, or returns the current one - _queueHooks: function( elem, type ) { - var key = type + "queueHooks"; - return jQuery._data( elem, key ) || jQuery._data( elem, key, { - empty: jQuery.Callbacks("once memory").add(function() { - jQuery._removeData( elem, type + "queue" ); - jQuery._removeData( elem, key ); - }) - }); - } -}); - -jQuery.fn.extend({ - queue: function( type, data ) { - var setter = 2; - - if ( typeof type !== "string" ) { - data = type; - type = "fx"; - setter--; - } - - if ( arguments.length < setter ) { - return jQuery.queue( this[0], type ); - } - - return data === undefined ? - this : - this.each(function() { - var queue = jQuery.queue( this, type, data ); - - // ensure a hooks for this queue - jQuery._queueHooks( this, type ); - - if ( type === "fx" && queue[0] !== "inprogress" ) { - jQuery.dequeue( this, type ); - } - }); - }, - dequeue: function( type ) { - return this.each(function() { - jQuery.dequeue( this, type ); - }); - }, - // Based off of the plugin by Clint Helfers, with permission. - // http://blindsignals.com/index.php/2009/07/jquery-delay/ - delay: function( time, type ) { - time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; - type = type || "fx"; - - return this.queue( type, function( next, hooks ) { - var timeout = setTimeout( next, time ); - hooks.stop = function() { - clearTimeout( timeout ); - }; - }); - }, - clearQueue: function( type ) { - return this.queue( type || "fx", [] ); - }, - // Get a promise resolved when queues of a certain type - // are emptied (fx is the type by default) - promise: function( type, obj ) { - var tmp, - count = 1, - defer = jQuery.Deferred(), - elements = this, - i = this.length, - resolve = function() { - if ( !( --count ) ) { - defer.resolveWith( elements, [ elements ] ); - } - }; - - if ( typeof type !== "string" ) { - obj = type; - type = undefined; - } - type = type || "fx"; - - while( i-- ) { - tmp = jQuery._data( elements[ i ], type + "queueHooks" ); - if ( tmp && tmp.empty ) { - count++; - tmp.empty.add( resolve ); - } - } - resolve(); - return defer.promise( obj ); - } -}); -var nodeHook, boolHook, - rclass = /[\t\r\n\f]/g, - rreturn = /\r/g, - rfocusable = /^(?:input|select|textarea|button|object)$/i, - rclickable = /^(?:a|area)$/i, - ruseDefault = /^(?:checked|selected)$/i, - getSetAttribute = jQuery.support.getSetAttribute, - getSetInput = jQuery.support.input; - -jQuery.fn.extend({ - attr: function( name, value ) { - return jQuery.access( this, jQuery.attr, name, value, arguments.length > 1 ); - }, - - removeAttr: function( name ) { - return this.each(function() { - jQuery.removeAttr( this, name ); - }); - }, - - prop: function( name, value ) { - return jQuery.access( this, jQuery.prop, name, value, arguments.length > 1 ); - }, - - removeProp: function( name ) { - name = jQuery.propFix[ name ] || name; - return this.each(function() { - // try/catch handles cases where IE balks (such as removing a property on window) - try { - this[ name ] = undefined; - delete this[ name ]; - } catch( e ) {} - }); - }, - - addClass: function( value ) { - var classes, elem, cur, clazz, j, - i = 0, - len = this.length, - proceed = typeof value === "string" && value; - - if ( jQuery.isFunction( value ) ) { - return this.each(function( j ) { - jQuery( this ).addClass( value.call( this, j, this.className ) ); - }); - } - - if ( proceed ) { - // The disjunction here is for better compressibility (see removeClass) - classes = ( value || "" ).match( core_rnotwhite ) || []; - - for ( ; i < len; i++ ) { - elem = this[ i ]; - cur = elem.nodeType === 1 && ( elem.className ? - ( " " + elem.className + " " ).replace( rclass, " " ) : - " " - ); - - if ( cur ) { - j = 0; - while ( (clazz = classes[j++]) ) { - if ( cur.indexOf( " " + clazz + " " ) < 0 ) { - cur += clazz + " "; - } - } - elem.className = jQuery.trim( cur ); - - } - } - } - - return this; - }, - - removeClass: function( value ) { - var classes, elem, cur, clazz, j, - i = 0, - len = this.length, - proceed = arguments.length === 0 || typeof value === "string" && value; - - if ( jQuery.isFunction( value ) ) { - return this.each(function( j ) { - jQuery( this ).removeClass( value.call( this, j, this.className ) ); - }); - } - if ( proceed ) { - classes = ( value || "" ).match( core_rnotwhite ) || []; - - for ( ; i < len; i++ ) { - elem = this[ i ]; - // This expression is here for better compressibility (see addClass) - cur = elem.nodeType === 1 && ( elem.className ? - ( " " + elem.className + " " ).replace( rclass, " " ) : - "" - ); - - if ( cur ) { - j = 0; - while ( (clazz = classes[j++]) ) { - // Remove *all* instances - while ( cur.indexOf( " " + clazz + " " ) >= 0 ) { - cur = cur.replace( " " + clazz + " ", " " ); - } - } - elem.className = value ? jQuery.trim( cur ) : ""; - } - } - } - - return this; - }, - - toggleClass: function( value, stateVal ) { - var type = typeof value; - - if ( typeof stateVal === "boolean" && type === "string" ) { - return stateVal ? this.addClass( value ) : this.removeClass( value ); - } - - if ( jQuery.isFunction( value ) ) { - return this.each(function( i ) { - jQuery( this ).toggleClass( value.call(this, i, this.className, stateVal), stateVal ); - }); - } - - return this.each(function() { - if ( type === "string" ) { - // toggle individual class names - var className, - i = 0, - self = jQuery( this ), - classNames = value.match( core_rnotwhite ) || []; - - while ( (className = classNames[ i++ ]) ) { - // check each className given, space separated list - if ( self.hasClass( className ) ) { - self.removeClass( className ); - } else { - self.addClass( className ); - } - } - - // Toggle whole class name - } else if ( type === core_strundefined || type === "boolean" ) { - if ( this.className ) { - // store className if set - jQuery._data( this, "__className__", this.className ); - } - - // If the element has a class name or if we're passed "false", - // then remove the whole classname (if there was one, the above saved it). - // Otherwise bring back whatever was previously saved (if anything), - // falling back to the empty string if nothing was stored. - this.className = this.className || value === false ? "" : jQuery._data( this, "__className__" ) || ""; - } - }); - }, - - hasClass: function( selector ) { - var className = " " + selector + " ", - i = 0, - l = this.length; - for ( ; i < l; i++ ) { - if ( this[i].nodeType === 1 && (" " + this[i].className + " ").replace(rclass, " ").indexOf( className ) >= 0 ) { - return true; - } - } - - return false; - }, - - val: function( value ) { - var ret, hooks, isFunction, - elem = this[0]; - - if ( !arguments.length ) { - if ( elem ) { - hooks = jQuery.valHooks[ elem.type ] || jQuery.valHooks[ elem.nodeName.toLowerCase() ]; - - if ( hooks && "get" in hooks && (ret = hooks.get( elem, "value" )) !== undefined ) { - return ret; - } - - ret = elem.value; - - return typeof ret === "string" ? - // handle most common string cases - ret.replace(rreturn, "") : - // handle cases where value is null/undef or number - ret == null ? "" : ret; - } - - return; - } - - isFunction = jQuery.isFunction( value ); - - return this.each(function( i ) { - var val; - - if ( this.nodeType !== 1 ) { - return; - } - - if ( isFunction ) { - val = value.call( this, i, jQuery( this ).val() ); - } else { - val = value; - } - - // Treat null/undefined as ""; convert numbers to string - if ( val == null ) { - val = ""; - } else if ( typeof val === "number" ) { - val += ""; - } else if ( jQuery.isArray( val ) ) { - val = jQuery.map(val, function ( value ) { - return value == null ? "" : value + ""; - }); - } - - hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; - - // If set returns undefined, fall back to normal setting - if ( !hooks || !("set" in hooks) || hooks.set( this, val, "value" ) === undefined ) { - this.value = val; - } - }); - } -}); - -jQuery.extend({ - valHooks: { - option: { - get: function( elem ) { - // Use proper attribute retrieval(#6932, #12072) - var val = jQuery.find.attr( elem, "value" ); - return val != null ? - val : - elem.text; - } - }, - select: { - get: function( elem ) { - var value, option, - options = elem.options, - index = elem.selectedIndex, - one = elem.type === "select-one" || index < 0, - values = one ? null : [], - max = one ? index + 1 : options.length, - i = index < 0 ? - max : - one ? index : 0; - - // Loop through all the selected options - for ( ; i < max; i++ ) { - option = options[ i ]; - - // oldIE doesn't update selected after form reset (#2551) - if ( ( option.selected || i === index ) && - // Don't return options that are disabled or in a disabled optgroup - ( jQuery.support.optDisabled ? !option.disabled : option.getAttribute("disabled") === null ) && - ( !option.parentNode.disabled || !jQuery.nodeName( option.parentNode, "optgroup" ) ) ) { - - // Get the specific value for the option - value = jQuery( option ).val(); - - // We don't need an array for one selects - if ( one ) { - return value; - } - - // Multi-Selects return an array - values.push( value ); - } - } - - return values; - }, - - set: function( elem, value ) { - var optionSet, option, - options = elem.options, - values = jQuery.makeArray( value ), - i = options.length; - - while ( i-- ) { - option = options[ i ]; - if ( (option.selected = jQuery.inArray( jQuery(option).val(), values ) >= 0) ) { - optionSet = true; - } - } - - // force browsers to behave consistently when non-matching value is set - if ( !optionSet ) { - elem.selectedIndex = -1; - } - return values; - } - } - }, - - attr: function( elem, name, value ) { - var hooks, ret, - nType = elem.nodeType; - - // don't get/set attributes on text, comment and attribute nodes - if ( !elem || nType === 3 || nType === 8 || nType === 2 ) { - return; - } - - // Fallback to prop when attributes are not supported - if ( typeof elem.getAttribute === core_strundefined ) { - return jQuery.prop( elem, name, value ); - } - - // All attributes are lowercase - // Grab necessary hook if one is defined - if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { - name = name.toLowerCase(); - hooks = jQuery.attrHooks[ name ] || - ( jQuery.expr.match.bool.test( name ) ? boolHook : nodeHook ); - } - - if ( value !== undefined ) { - - if ( value === null ) { - jQuery.removeAttr( elem, name ); - - } else if ( hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ) { - return ret; - - } else { - elem.setAttribute( name, value + "" ); - return value; - } - - } else if ( hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== null ) { - return ret; - - } else { - ret = jQuery.find.attr( elem, name ); - - // Non-existent attributes return null, we normalize to undefined - return ret == null ? - undefined : - ret; - } - }, - - removeAttr: function( elem, value ) { - var name, propName, - i = 0, - attrNames = value && value.match( core_rnotwhite ); - - if ( attrNames && elem.nodeType === 1 ) { - while ( (name = attrNames[i++]) ) { - propName = jQuery.propFix[ name ] || name; - - // Boolean attributes get special treatment (#10870) - if ( jQuery.expr.match.bool.test( name ) ) { - // Set corresponding property to false - if ( getSetInput && getSetAttribute || !ruseDefault.test( name ) ) { - elem[ propName ] = false; - // Support: IE<9 - // Also clear defaultChecked/defaultSelected (if appropriate) - } else { - elem[ jQuery.camelCase( "default-" + name ) ] = - elem[ propName ] = false; - } - - // See #9699 for explanation of this approach (setting first, then removal) - } else { - jQuery.attr( elem, name, "" ); - } - - elem.removeAttribute( getSetAttribute ? name : propName ); - } - } - }, - - attrHooks: { - type: { - set: function( elem, value ) { - if ( !jQuery.support.radioValue && value === "radio" && jQuery.nodeName(elem, "input") ) { - // Setting the type on a radio button after the value resets the value in IE6-9 - // Reset value to default in case type is set after value during creation - var val = elem.value; - elem.setAttribute( "type", value ); - if ( val ) { - elem.value = val; - } - return value; - } - } - } - }, - - propFix: { - "for": "htmlFor", - "class": "className" - }, - - prop: function( elem, name, value ) { - var ret, hooks, notxml, - nType = elem.nodeType; - - // don't get/set properties on text, comment and attribute nodes - if ( !elem || nType === 3 || nType === 8 || nType === 2 ) { - return; - } - - notxml = nType !== 1 || !jQuery.isXMLDoc( elem ); - - if ( notxml ) { - // Fix name and attach hooks - name = jQuery.propFix[ name ] || name; - hooks = jQuery.propHooks[ name ]; - } - - if ( value !== undefined ) { - return hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ? - ret : - ( elem[ name ] = value ); - - } else { - return hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== null ? - ret : - elem[ name ]; - } - }, - - propHooks: { - tabIndex: { - get: function( elem ) { - // elem.tabIndex doesn't always return the correct value when it hasn't been explicitly set - // http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ - // Use proper attribute retrieval(#12072) - var tabindex = jQuery.find.attr( elem, "tabindex" ); - - return tabindex ? - parseInt( tabindex, 10 ) : - rfocusable.test( elem.nodeName ) || rclickable.test( elem.nodeName ) && elem.href ? - 0 : - -1; - } - } - } -}); - -// Hooks for boolean attributes -boolHook = { - set: function( elem, value, name ) { - if ( value === false ) { - // Remove boolean attributes when set to false - jQuery.removeAttr( elem, name ); - } else if ( getSetInput && getSetAttribute || !ruseDefault.test( name ) ) { - // IE<8 needs the *property* name - elem.setAttribute( !getSetAttribute && jQuery.propFix[ name ] || name, name ); - - // Use defaultChecked and defaultSelected for oldIE - } else { - elem[ jQuery.camelCase( "default-" + name ) ] = elem[ name ] = true; - } - - return name; - } -}; -jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( i, name ) { - var getter = jQuery.expr.attrHandle[ name ] || jQuery.find.attr; - - jQuery.expr.attrHandle[ name ] = getSetInput && getSetAttribute || !ruseDefault.test( name ) ? - function( elem, name, isXML ) { - var fn = jQuery.expr.attrHandle[ name ], - ret = isXML ? - undefined : - /* jshint eqeqeq: false */ - (jQuery.expr.attrHandle[ name ] = undefined) != - getter( elem, name, isXML ) ? - - name.toLowerCase() : - null; - jQuery.expr.attrHandle[ name ] = fn; - return ret; - } : - function( elem, name, isXML ) { - return isXML ? - undefined : - elem[ jQuery.camelCase( "default-" + name ) ] ? - name.toLowerCase() : - null; - }; -}); - -// fix oldIE attroperties -if ( !getSetInput || !getSetAttribute ) { - jQuery.attrHooks.value = { - set: function( elem, value, name ) { - if ( jQuery.nodeName( elem, "input" ) ) { - // Does not return so that setAttribute is also used - elem.defaultValue = value; - } else { - // Use nodeHook if defined (#1954); otherwise setAttribute is fine - return nodeHook && nodeHook.set( elem, value, name ); - } - } - }; -} - -// IE6/7 do not support getting/setting some attributes with get/setAttribute -if ( !getSetAttribute ) { - - // Use this for any attribute in IE6/7 - // This fixes almost every IE6/7 issue - nodeHook = { - set: function( elem, value, name ) { - // Set the existing or create a new attribute node - var ret = elem.getAttributeNode( name ); - if ( !ret ) { - elem.setAttributeNode( - (ret = elem.ownerDocument.createAttribute( name )) - ); - } - - ret.value = value += ""; - - // Break association with cloned elements by also using setAttribute (#9646) - return name === "value" || value === elem.getAttribute( name ) ? - value : - undefined; - } - }; - jQuery.expr.attrHandle.id = jQuery.expr.attrHandle.name = jQuery.expr.attrHandle.coords = - // Some attributes are constructed with empty-string values when not defined - function( elem, name, isXML ) { - var ret; - return isXML ? - undefined : - (ret = elem.getAttributeNode( name )) && ret.value !== "" ? - ret.value : - null; - }; - jQuery.valHooks.button = { - get: function( elem, name ) { - var ret = elem.getAttributeNode( name ); - return ret && ret.specified ? - ret.value : - undefined; - }, - set: nodeHook.set - }; - - // Set contenteditable to false on removals(#10429) - // Setting to empty string throws an error as an invalid value - jQuery.attrHooks.contenteditable = { - set: function( elem, value, name ) { - nodeHook.set( elem, value === "" ? false : value, name ); - } - }; - - // Set width and height to auto instead of 0 on empty string( Bug #8150 ) - // This is for removals - jQuery.each([ "width", "height" ], function( i, name ) { - jQuery.attrHooks[ name ] = { - set: function( elem, value ) { - if ( value === "" ) { - elem.setAttribute( name, "auto" ); - return value; - } - } - }; - }); -} - - -// Some attributes require a special call on IE -// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx -if ( !jQuery.support.hrefNormalized ) { - // href/src property should get the full normalized URL (#10299/#12915) - jQuery.each([ "href", "src" ], function( i, name ) { - jQuery.propHooks[ name ] = { - get: function( elem ) { - return elem.getAttribute( name, 4 ); - } - }; - }); -} - -if ( !jQuery.support.style ) { - jQuery.attrHooks.style = { - get: function( elem ) { - // Return undefined in the case of empty string - // Note: IE uppercases css property names, but if we were to .toLowerCase() - // .cssText, that would destroy case senstitivity in URL's, like in "background" - return elem.style.cssText || undefined; - }, - set: function( elem, value ) { - return ( elem.style.cssText = value + "" ); - } - }; -} - -// Safari mis-reports the default selected property of an option -// Accessing the parent's selectedIndex property fixes it -if ( !jQuery.support.optSelected ) { - jQuery.propHooks.selected = { - get: function( elem ) { - var parent = elem.parentNode; - - if ( parent ) { - parent.selectedIndex; - - // Make sure that it also works with optgroups, see #5701 - if ( parent.parentNode ) { - parent.parentNode.selectedIndex; - } - } - return null; - } - }; -} - -jQuery.each([ - "tabIndex", - "readOnly", - "maxLength", - "cellSpacing", - "cellPadding", - "rowSpan", - "colSpan", - "useMap", - "frameBorder", - "contentEditable" -], function() { - jQuery.propFix[ this.toLowerCase() ] = this; -}); - -// IE6/7 call enctype encoding -if ( !jQuery.support.enctype ) { - jQuery.propFix.enctype = "encoding"; -} - -// Radios and checkboxes getter/setter -jQuery.each([ "radio", "checkbox" ], function() { - jQuery.valHooks[ this ] = { - set: function( elem, value ) { - if ( jQuery.isArray( value ) ) { - return ( elem.checked = jQuery.inArray( jQuery(elem).val(), value ) >= 0 ); - } - } - }; - if ( !jQuery.support.checkOn ) { - jQuery.valHooks[ this ].get = function( elem ) { - // Support: Webkit - // "" is returned instead of "on" if a value isn't specified - return elem.getAttribute("value") === null ? "on" : elem.value; - }; - } -}); -var rformElems = /^(?:input|select|textarea)$/i, - rkeyEvent = /^key/, - rmouseEvent = /^(?:mouse|contextmenu)|click/, - rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, - rtypenamespace = /^([^.]*)(?:\.(.+)|)$/; - -function returnTrue() { - return true; -} - -function returnFalse() { - return false; -} - -function safeActiveElement() { - try { - return document.activeElement; - } catch ( err ) { } -} - -/* - * Helper functions for managing events -- not part of the public interface. - * Props to Dean Edwards' addEvent library for many of the ideas. - */ -jQuery.event = { - - global: {}, - - add: function( elem, types, handler, data, selector ) { - var tmp, events, t, handleObjIn, - special, eventHandle, handleObj, - handlers, type, namespaces, origType, - elemData = jQuery._data( elem ); - - // Don't attach events to noData or text/comment nodes (but allow plain objects) - if ( !elemData ) { - return; - } - - // Caller can pass in an object of custom data in lieu of the handler - if ( handler.handler ) { - handleObjIn = handler; - handler = handleObjIn.handler; - selector = handleObjIn.selector; - } - - // Make sure that the handler has a unique ID, used to find/remove it later - if ( !handler.guid ) { - handler.guid = jQuery.guid++; - } - - // Init the element's event structure and main handler, if this is the first - if ( !(events = elemData.events) ) { - events = elemData.events = {}; - } - if ( !(eventHandle = elemData.handle) ) { - eventHandle = elemData.handle = function( e ) { - // Discard the second event of a jQuery.event.trigger() and - // when an event is called after a page has unloaded - return typeof jQuery !== core_strundefined && (!e || jQuery.event.triggered !== e.type) ? - jQuery.event.dispatch.apply( eventHandle.elem, arguments ) : - undefined; - }; - // Add elem as a property of the handle fn to prevent a memory leak with IE non-native events - eventHandle.elem = elem; - } - - // Handle multiple events separated by a space - types = ( types || "" ).match( core_rnotwhite ) || [""]; - t = types.length; - while ( t-- ) { - tmp = rtypenamespace.exec( types[t] ) || []; - type = origType = tmp[1]; - namespaces = ( tmp[2] || "" ).split( "." ).sort(); - - // There *must* be a type, no attaching namespace-only handlers - if ( !type ) { - continue; - } - - // If event changes its type, use the special event handlers for the changed type - special = jQuery.event.special[ type ] || {}; - - // If selector defined, determine special event api type, otherwise given type - type = ( selector ? special.delegateType : special.bindType ) || type; - - // Update special based on newly reset type - special = jQuery.event.special[ type ] || {}; - - // handleObj is passed to all event handlers - handleObj = jQuery.extend({ - type: type, - origType: origType, - data: data, - handler: handler, - guid: handler.guid, - selector: selector, - needsContext: selector && jQuery.expr.match.needsContext.test( selector ), - namespace: namespaces.join(".") - }, handleObjIn ); - - // Init the event handler queue if we're the first - if ( !(handlers = events[ type ]) ) { - handlers = events[ type ] = []; - handlers.delegateCount = 0; - - // Only use addEventListener/attachEvent if the special events handler returns false - if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) { - // Bind the global event handler to the element - if ( elem.addEventListener ) { - elem.addEventListener( type, eventHandle, false ); - - } else if ( elem.attachEvent ) { - elem.attachEvent( "on" + type, eventHandle ); - } - } - } - - if ( special.add ) { - special.add.call( elem, handleObj ); - - if ( !handleObj.handler.guid ) { - handleObj.handler.guid = handler.guid; - } - } - - // Add to the element's handler list, delegates in front - if ( selector ) { - handlers.splice( handlers.delegateCount++, 0, handleObj ); - } else { - handlers.push( handleObj ); - } - - // Keep track of which events have ever been used, for event optimization - jQuery.event.global[ type ] = true; - } - - // Nullify elem to prevent memory leaks in IE - elem = null; - }, - - // Detach an event or set of events from an element - remove: function( elem, types, handler, selector, mappedTypes ) { - var j, handleObj, tmp, - origCount, t, events, - special, handlers, type, - namespaces, origType, - elemData = jQuery.hasData( elem ) && jQuery._data( elem ); - - if ( !elemData || !(events = elemData.events) ) { - return; - } - - // Once for each type.namespace in types; type may be omitted - types = ( types || "" ).match( core_rnotwhite ) || [""]; - t = types.length; - while ( t-- ) { - tmp = rtypenamespace.exec( types[t] ) || []; - type = origType = tmp[1]; - namespaces = ( tmp[2] || "" ).split( "." ).sort(); - - // Unbind all events (on this namespace, if provided) for the element - if ( !type ) { - for ( type in events ) { - jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); - } - continue; - } - - special = jQuery.event.special[ type ] || {}; - type = ( selector ? special.delegateType : special.bindType ) || type; - handlers = events[ type ] || []; - tmp = tmp[2] && new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ); - - // Remove matching events - origCount = j = handlers.length; - while ( j-- ) { - handleObj = handlers[ j ]; - - if ( ( mappedTypes || origType === handleObj.origType ) && - ( !handler || handler.guid === handleObj.guid ) && - ( !tmp || tmp.test( handleObj.namespace ) ) && - ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) { - handlers.splice( j, 1 ); - - if ( handleObj.selector ) { - handlers.delegateCount--; - } - if ( special.remove ) { - special.remove.call( elem, handleObj ); - } - } - } - - // Remove generic event handler if we removed something and no more handlers exist - // (avoids potential for endless recursion during removal of special event handlers) - if ( origCount && !handlers.length ) { - if ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) { - jQuery.removeEvent( elem, type, elemData.handle ); - } - - delete events[ type ]; - } - } - - // Remove the expando if it's no longer used - if ( jQuery.isEmptyObject( events ) ) { - delete elemData.handle; - - // removeData also checks for emptiness and clears the expando if empty - // so use it instead of delete - jQuery._removeData( elem, "events" ); - } - }, - - trigger: function( event, data, elem, onlyHandlers ) { - var handle, ontype, cur, - bubbleType, special, tmp, i, - eventPath = [ elem || document ], - type = core_hasOwn.call( event, "type" ) ? event.type : event, - namespaces = core_hasOwn.call( event, "namespace" ) ? event.namespace.split(".") : []; - - cur = tmp = elem = elem || document; - - // Don't do events on text and comment nodes - if ( elem.nodeType === 3 || elem.nodeType === 8 ) { - return; - } - - // focus/blur morphs to focusin/out; ensure we're not firing them right now - if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { - return; - } - - if ( type.indexOf(".") >= 0 ) { - // Namespaced trigger; create a regexp to match event type in handle() - namespaces = type.split("."); - type = namespaces.shift(); - namespaces.sort(); - } - ontype = type.indexOf(":") < 0 && "on" + type; - - // Caller can pass in a jQuery.Event object, Object, or just an event type string - event = event[ jQuery.expando ] ? - event : - new jQuery.Event( type, typeof event === "object" && event ); - - // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) - event.isTrigger = onlyHandlers ? 2 : 3; - event.namespace = namespaces.join("."); - event.namespace_re = event.namespace ? - new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ) : - null; - - // Clean up the event in case it is being reused - event.result = undefined; - if ( !event.target ) { - event.target = elem; - } - - // Clone any incoming data and prepend the event, creating the handler arg list - data = data == null ? - [ event ] : - jQuery.makeArray( data, [ event ] ); - - // Allow special events to draw outside the lines - special = jQuery.event.special[ type ] || {}; - if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { - return; - } - - // Determine event propagation path in advance, per W3C events spec (#9951) - // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) - if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) { - - bubbleType = special.delegateType || type; - if ( !rfocusMorph.test( bubbleType + type ) ) { - cur = cur.parentNode; - } - for ( ; cur; cur = cur.parentNode ) { - eventPath.push( cur ); - tmp = cur; - } - - // Only add window if we got to document (e.g., not plain obj or detached DOM) - if ( tmp === (elem.ownerDocument || document) ) { - eventPath.push( tmp.defaultView || tmp.parentWindow || window ); - } - } - - // Fire handlers on the event path - i = 0; - while ( (cur = eventPath[i++]) && !event.isPropagationStopped() ) { - - event.type = i > 1 ? - bubbleType : - special.bindType || type; - - // jQuery handler - handle = ( jQuery._data( cur, "events" ) || {} )[ event.type ] && jQuery._data( cur, "handle" ); - if ( handle ) { - handle.apply( cur, data ); - } - - // Native handler - handle = ontype && cur[ ontype ]; - if ( handle && jQuery.acceptData( cur ) && handle.apply && handle.apply( cur, data ) === false ) { - event.preventDefault(); - } - } - event.type = type; - - // If nobody prevented the default action, do it now - if ( !onlyHandlers && !event.isDefaultPrevented() ) { - - if ( (!special._default || special._default.apply( eventPath.pop(), data ) === false) && - jQuery.acceptData( elem ) ) { - - // Call a native DOM method on the target with the same name name as the event. - // Can't use an .isFunction() check here because IE6/7 fails that test. - // Don't do default actions on window, that's where global variables be (#6170) - if ( ontype && elem[ type ] && !jQuery.isWindow( elem ) ) { - - // Don't re-trigger an onFOO event when we call its FOO() method - tmp = elem[ ontype ]; - - if ( tmp ) { - elem[ ontype ] = null; - } - - // Prevent re-triggering of the same event, since we already bubbled it above - jQuery.event.triggered = type; - try { - elem[ type ](); - } catch ( e ) { - // IE<9 dies on focus/blur to hidden element (#1486,#12518) - // only reproducible on winXP IE8 native, not IE9 in IE8 mode - } - jQuery.event.triggered = undefined; - - if ( tmp ) { - elem[ ontype ] = tmp; - } - } - } - } - - return event.result; - }, - - dispatch: function( event ) { - - // Make a writable jQuery.Event from the native event object - event = jQuery.event.fix( event ); - - var i, ret, handleObj, matched, j, - handlerQueue = [], - args = core_slice.call( arguments ), - handlers = ( jQuery._data( this, "events" ) || {} )[ event.type ] || [], - special = jQuery.event.special[ event.type ] || {}; - - // Use the fix-ed jQuery.Event rather than the (read-only) native event - args[0] = event; - event.delegateTarget = this; - - // Call the preDispatch hook for the mapped type, and let it bail if desired - if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { - return; - } - - // Determine handlers - handlerQueue = jQuery.event.handlers.call( this, event, handlers ); - - // Run delegates first; they may want to stop propagation beneath us - i = 0; - while ( (matched = handlerQueue[ i++ ]) && !event.isPropagationStopped() ) { - event.currentTarget = matched.elem; - - j = 0; - while ( (handleObj = matched.handlers[ j++ ]) && !event.isImmediatePropagationStopped() ) { - - // Triggered event must either 1) have no namespace, or - // 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace). - if ( !event.namespace_re || event.namespace_re.test( handleObj.namespace ) ) { - - event.handleObj = handleObj; - event.data = handleObj.data; - - ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler ) - .apply( matched.elem, args ); - - if ( ret !== undefined ) { - if ( (event.result = ret) === false ) { - event.preventDefault(); - event.stopPropagation(); - } - } - } - } - } - - // Call the postDispatch hook for the mapped type - if ( special.postDispatch ) { - special.postDispatch.call( this, event ); - } - - return event.result; - }, - - handlers: function( event, handlers ) { - var sel, handleObj, matches, i, - handlerQueue = [], - delegateCount = handlers.delegateCount, - cur = event.target; - - // Find delegate handlers - // Black-hole SVG <use> instance trees (#13180) - // Avoid non-left-click bubbling in Firefox (#3861) - if ( delegateCount && cur.nodeType && (!event.button || event.type !== "click") ) { - - /* jshint eqeqeq: false */ - for ( ; cur != this; cur = cur.parentNode || this ) { - /* jshint eqeqeq: true */ - - // Don't check non-elements (#13208) - // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) - if ( cur.nodeType === 1 && (cur.disabled !== true || event.type !== "click") ) { - matches = []; - for ( i = 0; i < delegateCount; i++ ) { - handleObj = handlers[ i ]; - - // Don't conflict with Object.prototype properties (#13203) - sel = handleObj.selector + " "; - - if ( matches[ sel ] === undefined ) { - matches[ sel ] = handleObj.needsContext ? - jQuery( sel, this ).index( cur ) >= 0 : - jQuery.find( sel, this, null, [ cur ] ).length; - } - if ( matches[ sel ] ) { - matches.push( handleObj ); - } - } - if ( matches.length ) { - handlerQueue.push({ elem: cur, handlers: matches }); - } - } - } - } - - // Add the remaining (directly-bound) handlers - if ( delegateCount < handlers.length ) { - handlerQueue.push({ elem: this, handlers: handlers.slice( delegateCount ) }); - } - - return handlerQueue; - }, - - fix: function( event ) { - if ( event[ jQuery.expando ] ) { - return event; - } - - // Create a writable copy of the event object and normalize some properties - var i, prop, copy, - type = event.type, - originalEvent = event, - fixHook = this.fixHooks[ type ]; - - if ( !fixHook ) { - this.fixHooks[ type ] = fixHook = - rmouseEvent.test( type ) ? this.mouseHooks : - rkeyEvent.test( type ) ? this.keyHooks : - {}; - } - copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props; - - event = new jQuery.Event( originalEvent ); - - i = copy.length; - while ( i-- ) { - prop = copy[ i ]; - event[ prop ] = originalEvent[ prop ]; - } - - // Support: IE<9 - // Fix target property (#1925) - if ( !event.target ) { - event.target = originalEvent.srcElement || document; - } - - // Support: Chrome 23+, Safari? - // Target should not be a text node (#504, #13143) - if ( event.target.nodeType === 3 ) { - event.target = event.target.parentNode; - } - - // Support: IE<9 - // For mouse/key events, metaKey==false if it's undefined (#3368, #11328) - event.metaKey = !!event.metaKey; - - return fixHook.filter ? fixHook.filter( event, originalEvent ) : event; - }, - - // Includes some event props shared by KeyEvent and MouseEvent - props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "), - - fixHooks: {}, - - keyHooks: { - props: "char charCode key keyCode".split(" "), - filter: function( event, original ) { - - // Add which for key events - if ( event.which == null ) { - event.which = original.charCode != null ? original.charCode : original.keyCode; - } - - return event; - } - }, - - mouseHooks: { - props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "), - filter: function( event, original ) { - var body, eventDoc, doc, - button = original.button, - fromElement = original.fromElement; - - // Calculate pageX/Y if missing and clientX/Y available - if ( event.pageX == null && original.clientX != null ) { - eventDoc = event.target.ownerDocument || document; - doc = eventDoc.documentElement; - body = eventDoc.body; - - event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 ); - event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc && doc.clientTop || body && body.clientTop || 0 ); - } - - // Add relatedTarget, if necessary - if ( !event.relatedTarget && fromElement ) { - event.relatedTarget = fromElement === event.target ? original.toElement : fromElement; - } - - // Add which for click: 1 === left; 2 === middle; 3 === right - // Note: button is not normalized, so don't use it - if ( !event.which && button !== undefined ) { - event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) ); - } - - return event; - } - }, - - special: { - load: { - // Prevent triggered image.load events from bubbling to window.load - noBubble: true - }, - focus: { - // Fire native event if possible so blur/focus sequence is correct - trigger: function() { - if ( this !== safeActiveElement() && this.focus ) { - try { - this.focus(); - return false; - } catch ( e ) { - // Support: IE<9 - // If we error on focus to hidden element (#1486, #12518), - // let .trigger() run the handlers - } - } - }, - delegateType: "focusin" - }, - blur: { - trigger: function() { - if ( this === safeActiveElement() && this.blur ) { - this.blur(); - return false; - } - }, - delegateType: "focusout" - }, - click: { - // For checkbox, fire native event so checked state will be right - trigger: function() { - if ( jQuery.nodeName( this, "input" ) && this.type === "checkbox" && this.click ) { - this.click(); - return false; - } - }, - - // For cross-browser consistency, don't fire native .click() on links - _default: function( event ) { - return jQuery.nodeName( event.target, "a" ); - } - }, - - beforeunload: { - postDispatch: function( event ) { - - // Even when returnValue equals to undefined Firefox will still show alert - if ( event.result !== undefined ) { - event.originalEvent.returnValue = event.result; - } - } - } - }, - - simulate: function( type, elem, event, bubble ) { - // Piggyback on a donor event to simulate a different one. - // Fake originalEvent to avoid donor's stopPropagation, but if the - // simulated event prevents default then we do the same on the donor. - var e = jQuery.extend( - new jQuery.Event(), - event, - { - type: type, - isSimulated: true, - originalEvent: {} - } - ); - if ( bubble ) { - jQuery.event.trigger( e, null, elem ); - } else { - jQuery.event.dispatch.call( elem, e ); - } - if ( e.isDefaultPrevented() ) { - event.preventDefault(); - } - } -}; - -jQuery.removeEvent = document.removeEventListener ? - function( elem, type, handle ) { - if ( elem.removeEventListener ) { - elem.removeEventListener( type, handle, false ); - } - } : - function( elem, type, handle ) { - var name = "on" + type; - - if ( elem.detachEvent ) { - - // #8545, #7054, preventing memory leaks for custom events in IE6-8 - // detachEvent needed property on element, by name of that event, to properly expose it to GC - if ( typeof elem[ name ] === core_strundefined ) { - elem[ name ] = null; - } - - elem.detachEvent( name, handle ); - } - }; - -jQuery.Event = function( src, props ) { - // Allow instantiation without the 'new' keyword - if ( !(this instanceof jQuery.Event) ) { - return new jQuery.Event( src, props ); - } - - // Event object - if ( src && src.type ) { - this.originalEvent = src; - this.type = src.type; - - // Events bubbling up the document may have been marked as prevented - // by a handler lower down the tree; reflect the correct value. - this.isDefaultPrevented = ( src.defaultPrevented || src.returnValue === false || - src.getPreventDefault && src.getPreventDefault() ) ? returnTrue : returnFalse; - - // Event type - } else { - this.type = src; - } - - // Put explicitly provided properties onto the event object - if ( props ) { - jQuery.extend( this, props ); - } - - // Create a timestamp if incoming event doesn't have one - this.timeStamp = src && src.timeStamp || jQuery.now(); - - // Mark it as fixed - this[ jQuery.expando ] = true; -}; - -// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding -// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html -jQuery.Event.prototype = { - isDefaultPrevented: returnFalse, - isPropagationStopped: returnFalse, - isImmediatePropagationStopped: returnFalse, - - preventDefault: function() { - var e = this.originalEvent; - - this.isDefaultPrevented = returnTrue; - if ( !e ) { - return; - } - - // If preventDefault exists, run it on the original event - if ( e.preventDefault ) { - e.preventDefault(); - - // Support: IE - // Otherwise set the returnValue property of the original event to false - } else { - e.returnValue = false; - } - }, - stopPropagation: function() { - var e = this.originalEvent; - - this.isPropagationStopped = returnTrue; - if ( !e ) { - return; - } - // If stopPropagation exists, run it on the original event - if ( e.stopPropagation ) { - e.stopPropagation(); - } - - // Support: IE - // Set the cancelBubble property of the original event to true - e.cancelBubble = true; - }, - stopImmediatePropagation: function() { - this.isImmediatePropagationStopped = returnTrue; - this.stopPropagation(); - } -}; - -// Create mouseenter/leave events using mouseover/out and event-time checks -jQuery.each({ - mouseenter: "mouseover", - mouseleave: "mouseout" -}, function( orig, fix ) { - jQuery.event.special[ orig ] = { - delegateType: fix, - bindType: fix, - - handle: function( event ) { - var ret, - target = this, - related = event.relatedTarget, - handleObj = event.handleObj; - - // For mousenter/leave call the handler if related is outside the target. - // NB: No relatedTarget if the mouse left/entered the browser window - if ( !related || (related !== target && !jQuery.contains( target, related )) ) { - event.type = handleObj.origType; - ret = handleObj.handler.apply( this, arguments ); - event.type = fix; - } - return ret; - } - }; -}); - -// IE submit delegation -if ( !jQuery.support.submitBubbles ) { - - jQuery.event.special.submit = { - setup: function() { - // Only need this for delegated form submit events - if ( jQuery.nodeName( this, "form" ) ) { - return false; - } - - // Lazy-add a submit handler when a descendant form may potentially be submitted - jQuery.event.add( this, "click._submit keypress._submit", function( e ) { - // Node name check avoids a VML-related crash in IE (#9807) - var elem = e.target, - form = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ? elem.form : undefined; - if ( form && !jQuery._data( form, "submitBubbles" ) ) { - jQuery.event.add( form, "submit._submit", function( event ) { - event._submit_bubble = true; - }); - jQuery._data( form, "submitBubbles", true ); - } - }); - // return undefined since we don't need an event listener - }, - - postDispatch: function( event ) { - // If form was submitted by the user, bubble the event up the tree - if ( event._submit_bubble ) { - delete event._submit_bubble; - if ( this.parentNode && !event.isTrigger ) { - jQuery.event.simulate( "submit", this.parentNode, event, true ); - } - } - }, - - teardown: function() { - // Only need this for delegated form submit events - if ( jQuery.nodeName( this, "form" ) ) { - return false; - } - - // Remove delegated handlers; cleanData eventually reaps submit handlers attached above - jQuery.event.remove( this, "._submit" ); - } - }; -} - -// IE change delegation and checkbox/radio fix -if ( !jQuery.support.changeBubbles ) { - - jQuery.event.special.change = { - - setup: function() { - - if ( rformElems.test( this.nodeName ) ) { - // IE doesn't fire change on a check/radio until blur; trigger it on click - // after a propertychange. Eat the blur-change in special.change.handle. - // This still fires onchange a second time for check/radio after blur. - if ( this.type === "checkbox" || this.type === "radio" ) { - jQuery.event.add( this, "propertychange._change", function( event ) { - if ( event.originalEvent.propertyName === "checked" ) { - this._just_changed = true; - } - }); - jQuery.event.add( this, "click._change", function( event ) { - if ( this._just_changed && !event.isTrigger ) { - this._just_changed = false; - } - // Allow triggered, simulated change events (#11500) - jQuery.event.simulate( "change", this, event, true ); - }); - } - return false; - } - // Delegated event; lazy-add a change handler on descendant inputs - jQuery.event.add( this, "beforeactivate._change", function( e ) { - var elem = e.target; - - if ( rformElems.test( elem.nodeName ) && !jQuery._data( elem, "changeBubbles" ) ) { - jQuery.event.add( elem, "change._change", function( event ) { - if ( this.parentNode && !event.isSimulated && !event.isTrigger ) { - jQuery.event.simulate( "change", this.parentNode, event, true ); - } - }); - jQuery._data( elem, "changeBubbles", true ); - } - }); - }, - - handle: function( event ) { - var elem = event.target; - - // Swallow native change events from checkbox/radio, we already triggered them above - if ( this !== elem || event.isSimulated || event.isTrigger || (elem.type !== "radio" && elem.type !== "checkbox") ) { - return event.handleObj.handler.apply( this, arguments ); - } - }, - - teardown: function() { - jQuery.event.remove( this, "._change" ); - - return !rformElems.test( this.nodeName ); - } - }; -} - -// Create "bubbling" focus and blur events -if ( !jQuery.support.focusinBubbles ) { - jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) { - - // Attach a single capturing handler while someone wants focusin/focusout - var attaches = 0, - handler = function( event ) { - jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true ); - }; - - jQuery.event.special[ fix ] = { - setup: function() { - if ( attaches++ === 0 ) { - document.addEventListener( orig, handler, true ); - } - }, - teardown: function() { - if ( --attaches === 0 ) { - document.removeEventListener( orig, handler, true ); - } - } - }; - }); -} - -jQuery.fn.extend({ - - on: function( types, selector, data, fn, /*INTERNAL*/ one ) { - var type, origFn; - - // Types can be a map of types/handlers - if ( typeof types === "object" ) { - // ( types-Object, selector, data ) - if ( typeof selector !== "string" ) { - // ( types-Object, data ) - data = data || selector; - selector = undefined; - } - for ( type in types ) { - this.on( type, selector, data, types[ type ], one ); - } - return this; - } - - if ( data == null && fn == null ) { - // ( types, fn ) - fn = selector; - data = selector = undefined; - } else if ( fn == null ) { - if ( typeof selector === "string" ) { - // ( types, selector, fn ) - fn = data; - data = undefined; - } else { - // ( types, data, fn ) - fn = data; - data = selector; - selector = undefined; - } - } - if ( fn === false ) { - fn = returnFalse; - } else if ( !fn ) { - return this; - } - - if ( one === 1 ) { - origFn = fn; - fn = function( event ) { - // Can use an empty set, since event contains the info - jQuery().off( event ); - return origFn.apply( this, arguments ); - }; - // Use same guid so caller can remove using origFn - fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); - } - return this.each( function() { - jQuery.event.add( this, types, fn, data, selector ); - }); - }, - one: function( types, selector, data, fn ) { - return this.on( types, selector, data, fn, 1 ); - }, - off: function( types, selector, fn ) { - var handleObj, type; - if ( types && types.preventDefault && types.handleObj ) { - // ( event ) dispatched jQuery.Event - handleObj = types.handleObj; - jQuery( types.delegateTarget ).off( - handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType, - handleObj.selector, - handleObj.handler - ); - return this; - } - if ( typeof types === "object" ) { - // ( types-object [, selector] ) - for ( type in types ) { - this.off( type, selector, types[ type ] ); - } - return this; - } - if ( selector === false || typeof selector === "function" ) { - // ( types [, fn] ) - fn = selector; - selector = undefined; - } - if ( fn === false ) { - fn = returnFalse; - } - return this.each(function() { - jQuery.event.remove( this, types, fn, selector ); - }); - }, - - trigger: function( type, data ) { - return this.each(function() { - jQuery.event.trigger( type, data, this ); - }); - }, - triggerHandler: function( type, data ) { - var elem = this[0]; - if ( elem ) { - return jQuery.event.trigger( type, data, elem, true ); - } - } -}); -var isSimple = /^.[^:#\[\.,]*$/, - rparentsprev = /^(?:parents|prev(?:Until|All))/, - rneedsContext = jQuery.expr.match.needsContext, - // methods guaranteed to produce a unique set when starting from a unique set - guaranteedUnique = { - children: true, - contents: true, - next: true, - prev: true - }; - -jQuery.fn.extend({ - find: function( selector ) { - var i, - ret = [], - self = this, - len = self.length; - - if ( typeof selector !== "string" ) { - return this.pushStack( jQuery( selector ).filter(function() { - for ( i = 0; i < len; i++ ) { - if ( jQuery.contains( self[ i ], this ) ) { - return true; - } - } - }) ); - } - - for ( i = 0; i < len; i++ ) { - jQuery.find( selector, self[ i ], ret ); - } - - // Needed because $( selector, context ) becomes $( context ).find( selector ) - ret = this.pushStack( len > 1 ? jQuery.unique( ret ) : ret ); - ret.selector = this.selector ? this.selector + " " + selector : selector; - return ret; - }, - - has: function( target ) { - var i, - targets = jQuery( target, this ), - len = targets.length; - - return this.filter(function() { - for ( i = 0; i < len; i++ ) { - if ( jQuery.contains( this, targets[i] ) ) { - return true; - } - } - }); - }, - - not: function( selector ) { - return this.pushStack( winnow(this, selector || [], true) ); - }, - - filter: function( selector ) { - return this.pushStack( winnow(this, selector || [], false) ); - }, - - is: function( selector ) { - return !!winnow( - this, - - // If this is a positional/relative selector, check membership in the returned set - // so $("p:first").is("p:last") won't return true for a doc with two "p". - typeof selector === "string" && rneedsContext.test( selector ) ? - jQuery( selector ) : - selector || [], - false - ).length; - }, - - closest: function( selectors, context ) { - var cur, - i = 0, - l = this.length, - ret = [], - pos = rneedsContext.test( selectors ) || typeof selectors !== "string" ? - jQuery( selectors, context || this.context ) : - 0; - - for ( ; i < l; i++ ) { - for ( cur = this[i]; cur && cur !== context; cur = cur.parentNode ) { - // Always skip document fragments - if ( cur.nodeType < 11 && (pos ? - pos.index(cur) > -1 : - - // Don't pass non-elements to Sizzle - cur.nodeType === 1 && - jQuery.find.matchesSelector(cur, selectors)) ) { - - cur = ret.push( cur ); - break; - } - } - } - - return this.pushStack( ret.length > 1 ? jQuery.unique( ret ) : ret ); - }, - - // Determine the position of an element within - // the matched set of elements - index: function( elem ) { - - // No argument, return index in parent - if ( !elem ) { - return ( this[0] && this[0].parentNode ) ? this.first().prevAll().length : -1; - } - - // index in selector - if ( typeof elem === "string" ) { - return jQuery.inArray( this[0], jQuery( elem ) ); - } - - // Locate the position of the desired element - return jQuery.inArray( - // If it receives a jQuery object, the first element is used - elem.jquery ? elem[0] : elem, this ); - }, - - add: function( selector, context ) { - var set = typeof selector === "string" ? - jQuery( selector, context ) : - jQuery.makeArray( selector && selector.nodeType ? [ selector ] : selector ), - all = jQuery.merge( this.get(), set ); - - return this.pushStack( jQuery.unique(all) ); - }, - - addBack: function( selector ) { - return this.add( selector == null ? - this.prevObject : this.prevObject.filter(selector) - ); - } -}); - -function sibling( cur, dir ) { - do { - cur = cur[ dir ]; - } while ( cur && cur.nodeType !== 1 ); - - return cur; -} - -jQuery.each({ - parent: function( elem ) { - var parent = elem.parentNode; - return parent && parent.nodeType !== 11 ? parent : null; - }, - parents: function( elem ) { - return jQuery.dir( elem, "parentNode" ); - }, - parentsUntil: function( elem, i, until ) { - return jQuery.dir( elem, "parentNode", until ); - }, - next: function( elem ) { - return sibling( elem, "nextSibling" ); - }, - prev: function( elem ) { - return sibling( elem, "previousSibling" ); - }, - nextAll: function( elem ) { - return jQuery.dir( elem, "nextSibling" ); - }, - prevAll: function( elem ) { - return jQuery.dir( elem, "previousSibling" ); - }, - nextUntil: function( elem, i, until ) { - return jQuery.dir( elem, "nextSibling", until ); - }, - prevUntil: function( elem, i, until ) { - return jQuery.dir( elem, "previousSibling", until ); - }, - siblings: function( elem ) { - return jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem ); - }, - children: function( elem ) { - return jQuery.sibling( elem.firstChild ); - }, - contents: function( elem ) { - return jQuery.nodeName( elem, "iframe" ) ? - elem.contentDocument || elem.contentWindow.document : - jQuery.merge( [], elem.childNodes ); - } -}, function( name, fn ) { - jQuery.fn[ name ] = function( until, selector ) { - var ret = jQuery.map( this, fn, until ); - - if ( name.slice( -5 ) !== "Until" ) { - selector = until; - } - - if ( selector && typeof selector === "string" ) { - ret = jQuery.filter( selector, ret ); - } - - if ( this.length > 1 ) { - // Remove duplicates - if ( !guaranteedUnique[ name ] ) { - ret = jQuery.unique( ret ); - } - - // Reverse order for parents* and prev-derivatives - if ( rparentsprev.test( name ) ) { - ret = ret.reverse(); - } - } - - return this.pushStack( ret ); - }; -}); - -jQuery.extend({ - filter: function( expr, elems, not ) { - var elem = elems[ 0 ]; - - if ( not ) { - expr = ":not(" + expr + ")"; - } - - return elems.length === 1 && elem.nodeType === 1 ? - jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [] : - jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { - return elem.nodeType === 1; - })); - }, - - dir: function( elem, dir, until ) { - var matched = [], - cur = elem[ dir ]; - - while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) { - if ( cur.nodeType === 1 ) { - matched.push( cur ); - } - cur = cur[dir]; - } - return matched; - }, - - sibling: function( n, elem ) { - var r = []; - - for ( ; n; n = n.nextSibling ) { - if ( n.nodeType === 1 && n !== elem ) { - r.push( n ); - } - } - - return r; - } -}); - -// Implement the identical functionality for filter and not -function winnow( elements, qualifier, not ) { - if ( jQuery.isFunction( qualifier ) ) { - return jQuery.grep( elements, function( elem, i ) { - /* jshint -W018 */ - return !!qualifier.call( elem, i, elem ) !== not; - }); - - } - - if ( qualifier.nodeType ) { - return jQuery.grep( elements, function( elem ) { - return ( elem === qualifier ) !== not; - }); - - } - - if ( typeof qualifier === "string" ) { - if ( isSimple.test( qualifier ) ) { - return jQuery.filter( qualifier, elements, not ); - } - - qualifier = jQuery.filter( qualifier, elements ); - } - - return jQuery.grep( elements, function( elem ) { - return ( jQuery.inArray( elem, qualifier ) >= 0 ) !== not; - }); -} -function createSafeFragment( document ) { - var list = nodeNames.split( "|" ), - safeFrag = document.createDocumentFragment(); - - if ( safeFrag.createElement ) { - while ( list.length ) { - safeFrag.createElement( - list.pop() - ); - } - } - return safeFrag; -} - -var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|" + - "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video", - rinlinejQuery = / jQuery\d+="(?:null|\d+)"/g, - rnoshimcache = new RegExp("<(?:" + nodeNames + ")[\\s/>]", "i"), - rleadingWhitespace = /^\s+/, - rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi, - rtagName = /<([\w:]+)/, - rtbody = /<tbody/i, - rhtml = /<|&#?\w+;/, - rnoInnerhtml = /<(?:script|style|link)/i, - manipulation_rcheckableType = /^(?:checkbox|radio)$/i, - // checked="checked" or checked - rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i, - rscriptType = /^$|\/(?:java|ecma)script/i, - rscriptTypeMasked = /^true\/(.*)/, - rcleanScript = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g, - - // We have to close these tags to support XHTML (#13200) - wrapMap = { - option: [ 1, "<select multiple='multiple'>", "</select>" ], - legend: [ 1, "<fieldset>", "</fieldset>" ], - area: [ 1, "<map>", "</map>" ], - param: [ 1, "<object>", "</object>" ], - thead: [ 1, "<table>", "</table>" ], - tr: [ 2, "<table><tbody>", "</tbody></table>" ], - col: [ 2, "<table><tbody></tbody><colgroup>", "</colgroup></table>" ], - td: [ 3, "<table><tbody><tr>", "</tr></tbody></table>" ], - - // IE6-8 can't serialize link, script, style, or any html5 (NoScope) tags, - // unless wrapped in a div with non-breaking characters in front of it. - _default: jQuery.support.htmlSerialize ? [ 0, "", "" ] : [ 1, "X<div>", "</div>" ] - }, - safeFragment = createSafeFragment( document ), - fragmentDiv = safeFragment.appendChild( document.createElement("div") ); - -wrapMap.optgroup = wrapMap.option; -wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; -wrapMap.th = wrapMap.td; - -jQuery.fn.extend({ - text: function( value ) { - return jQuery.access( this, function( value ) { - return value === undefined ? - jQuery.text( this ) : - this.empty().append( ( this[0] && this[0].ownerDocument || document ).createTextNode( value ) ); - }, null, value, arguments.length ); - }, - - append: function() { - return this.domManip( arguments, function( elem ) { - if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { - var target = manipulationTarget( this, elem ); - target.appendChild( elem ); - } - }); - }, - - prepend: function() { - return this.domManip( arguments, function( elem ) { - if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { - var target = manipulationTarget( this, elem ); - target.insertBefore( elem, target.firstChild ); - } - }); - }, - - before: function() { - return this.domManip( arguments, function( elem ) { - if ( this.parentNode ) { - this.parentNode.insertBefore( elem, this ); - } - }); - }, - - after: function() { - return this.domManip( arguments, function( elem ) { - if ( this.parentNode ) { - this.parentNode.insertBefore( elem, this.nextSibling ); - } - }); - }, - - // keepData is for internal use only--do not document - remove: function( selector, keepData ) { - var elem, - elems = selector ? jQuery.filter( selector, this ) : this, - i = 0; - - for ( ; (elem = elems[i]) != null; i++ ) { - - if ( !keepData && elem.nodeType === 1 ) { - jQuery.cleanData( getAll( elem ) ); - } - - if ( elem.parentNode ) { - if ( keepData && jQuery.contains( elem.ownerDocument, elem ) ) { - setGlobalEval( getAll( elem, "script" ) ); - } - elem.parentNode.removeChild( elem ); - } - } - - return this; - }, - - empty: function() { - var elem, - i = 0; - - for ( ; (elem = this[i]) != null; i++ ) { - // Remove element nodes and prevent memory leaks - if ( elem.nodeType === 1 ) { - jQuery.cleanData( getAll( elem, false ) ); - } - - // Remove any remaining nodes - while ( elem.firstChild ) { - elem.removeChild( elem.firstChild ); - } - - // If this is a select, ensure that it displays empty (#12336) - // Support: IE<9 - if ( elem.options && jQuery.nodeName( elem, "select" ) ) { - elem.options.length = 0; - } - } - - return this; - }, - - clone: function( dataAndEvents, deepDataAndEvents ) { - dataAndEvents = dataAndEvents == null ? false : dataAndEvents; - deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; - - return this.map( function () { - return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); - }); - }, - - html: function( value ) { - return jQuery.access( this, function( value ) { - var elem = this[0] || {}, - i = 0, - l = this.length; - - if ( value === undefined ) { - return elem.nodeType === 1 ? - elem.innerHTML.replace( rinlinejQuery, "" ) : - undefined; - } - - // See if we can take a shortcut and just use innerHTML - if ( typeof value === "string" && !rnoInnerhtml.test( value ) && - ( jQuery.support.htmlSerialize || !rnoshimcache.test( value ) ) && - ( jQuery.support.leadingWhitespace || !rleadingWhitespace.test( value ) ) && - !wrapMap[ ( rtagName.exec( value ) || ["", ""] )[1].toLowerCase() ] ) { - - value = value.replace( rxhtmlTag, "<$1></$2>" ); - - try { - for (; i < l; i++ ) { - // Remove element nodes and prevent memory leaks - elem = this[i] || {}; - if ( elem.nodeType === 1 ) { - jQuery.cleanData( getAll( elem, false ) ); - elem.innerHTML = value; - } - } - - elem = 0; - - // If using innerHTML throws an exception, use the fallback method - } catch(e) {} - } - - if ( elem ) { - this.empty().append( value ); - } - }, null, value, arguments.length ); - }, - - replaceWith: function() { - var - // Snapshot the DOM in case .domManip sweeps something relevant into its fragment - args = jQuery.map( this, function( elem ) { - return [ elem.nextSibling, elem.parentNode ]; - }), - i = 0; - - // Make the changes, replacing each context element with the new content - this.domManip( arguments, function( elem ) { - var next = args[ i++ ], - parent = args[ i++ ]; - - if ( parent ) { - // Don't use the snapshot next if it has moved (#13810) - if ( next && next.parentNode !== parent ) { - next = this.nextSibling; - } - jQuery( this ).remove(); - parent.insertBefore( elem, next ); - } - // Allow new content to include elements from the context set - }, true ); - - // Force removal if there was no new content (e.g., from empty arguments) - return i ? this : this.remove(); - }, - - detach: function( selector ) { - return this.remove( selector, true ); - }, - - domManip: function( args, callback, allowIntersection ) { - - // Flatten any nested arrays - args = core_concat.apply( [], args ); - - var first, node, hasScripts, - scripts, doc, fragment, - i = 0, - l = this.length, - set = this, - iNoClone = l - 1, - value = args[0], - isFunction = jQuery.isFunction( value ); - - // We can't cloneNode fragments that contain checked, in WebKit - if ( isFunction || !( l <= 1 || typeof value !== "string" || jQuery.support.checkClone || !rchecked.test( value ) ) ) { - return this.each(function( index ) { - var self = set.eq( index ); - if ( isFunction ) { - args[0] = value.call( this, index, self.html() ); - } - self.domManip( args, callback, allowIntersection ); - }); - } - - if ( l ) { - fragment = jQuery.buildFragment( args, this[ 0 ].ownerDocument, false, !allowIntersection && this ); - first = fragment.firstChild; - - if ( fragment.childNodes.length === 1 ) { - fragment = first; - } - - if ( first ) { - scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); - hasScripts = scripts.length; - - // Use the original fragment for the last item instead of the first because it can end up - // being emptied incorrectly in certain situations (#8070). - for ( ; i < l; i++ ) { - node = fragment; - - if ( i !== iNoClone ) { - node = jQuery.clone( node, true, true ); - - // Keep references to cloned scripts for later restoration - if ( hasScripts ) { - jQuery.merge( scripts, getAll( node, "script" ) ); - } - } - - callback.call( this[i], node, i ); - } - - if ( hasScripts ) { - doc = scripts[ scripts.length - 1 ].ownerDocument; - - // Reenable scripts - jQuery.map( scripts, restoreScript ); - - // Evaluate executable scripts on first document insertion - for ( i = 0; i < hasScripts; i++ ) { - node = scripts[ i ]; - if ( rscriptType.test( node.type || "" ) && - !jQuery._data( node, "globalEval" ) && jQuery.contains( doc, node ) ) { - - if ( node.src ) { - // Hope ajax is available... - jQuery._evalUrl( node.src ); - } else { - jQuery.globalEval( ( node.text || node.textContent || node.innerHTML || "" ).replace( rcleanScript, "" ) ); - } - } - } - } - - // Fix #11809: Avoid leaking memory - fragment = first = null; - } - } - - return this; - } -}); - -// Support: IE<8 -// Manipulating tables requires a tbody -function manipulationTarget( elem, content ) { - return jQuery.nodeName( elem, "table" ) && - jQuery.nodeName( content.nodeType === 1 ? content : content.firstChild, "tr" ) ? - - elem.getElementsByTagName("tbody")[0] || - elem.appendChild( elem.ownerDocument.createElement("tbody") ) : - elem; -} - -// Replace/restore the type attribute of script elements for safe DOM manipulation -function disableScript( elem ) { - elem.type = (jQuery.find.attr( elem, "type" ) !== null) + "/" + elem.type; - return elem; -} -function restoreScript( elem ) { - var match = rscriptTypeMasked.exec( elem.type ); - if ( match ) { - elem.type = match[1]; - } else { - elem.removeAttribute("type"); - } - return elem; -} - -// Mark scripts as having already been evaluated -function setGlobalEval( elems, refElements ) { - var elem, - i = 0; - for ( ; (elem = elems[i]) != null; i++ ) { - jQuery._data( elem, "globalEval", !refElements || jQuery._data( refElements[i], "globalEval" ) ); - } -} - -function cloneCopyEvent( src, dest ) { - - if ( dest.nodeType !== 1 || !jQuery.hasData( src ) ) { - return; - } - - var type, i, l, - oldData = jQuery._data( src ), - curData = jQuery._data( dest, oldData ), - events = oldData.events; - - if ( events ) { - delete curData.handle; - curData.events = {}; - - for ( type in events ) { - for ( i = 0, l = events[ type ].length; i < l; i++ ) { - jQuery.event.add( dest, type, events[ type ][ i ] ); - } - } - } - - // make the cloned public data object a copy from the original - if ( curData.data ) { - curData.data = jQuery.extend( {}, curData.data ); - } -} - -function fixCloneNodeIssues( src, dest ) { - var nodeName, e, data; - - // We do not need to do anything for non-Elements - if ( dest.nodeType !== 1 ) { - return; - } - - nodeName = dest.nodeName.toLowerCase(); - - // IE6-8 copies events bound via attachEvent when using cloneNode. - if ( !jQuery.support.noCloneEvent && dest[ jQuery.expando ] ) { - data = jQuery._data( dest ); - - for ( e in data.events ) { - jQuery.removeEvent( dest, e, data.handle ); - } - - // Event data gets referenced instead of copied if the expando gets copied too - dest.removeAttribute( jQuery.expando ); - } - - // IE blanks contents when cloning scripts, and tries to evaluate newly-set text - if ( nodeName === "script" && dest.text !== src.text ) { - disableScript( dest ).text = src.text; - restoreScript( dest ); - - // IE6-10 improperly clones children of object elements using classid. - // IE10 throws NoModificationAllowedError if parent is null, #12132. - } else if ( nodeName === "object" ) { - if ( dest.parentNode ) { - dest.outerHTML = src.outerHTML; - } - - // This path appears unavoidable for IE9. When cloning an object - // element in IE9, the outerHTML strategy above is not sufficient. - // If the src has innerHTML and the destination does not, - // copy the src.innerHTML into the dest.innerHTML. #10324 - if ( jQuery.support.html5Clone && ( src.innerHTML && !jQuery.trim(dest.innerHTML) ) ) { - dest.innerHTML = src.innerHTML; - } - - } else if ( nodeName === "input" && manipulation_rcheckableType.test( src.type ) ) { - // IE6-8 fails to persist the checked state of a cloned checkbox - // or radio button. Worse, IE6-7 fail to give the cloned element - // a checked appearance if the defaultChecked value isn't also set - - dest.defaultChecked = dest.checked = src.checked; - - // IE6-7 get confused and end up setting the value of a cloned - // checkbox/radio button to an empty string instead of "on" - if ( dest.value !== src.value ) { - dest.value = src.value; - } - - // IE6-8 fails to return the selected option to the default selected - // state when cloning options - } else if ( nodeName === "option" ) { - dest.defaultSelected = dest.selected = src.defaultSelected; - - // IE6-8 fails to set the defaultValue to the correct value when - // cloning other types of input fields - } else if ( nodeName === "input" || nodeName === "textarea" ) { - dest.defaultValue = src.defaultValue; - } -} - -jQuery.each({ - appendTo: "append", - prependTo: "prepend", - insertBefore: "before", - insertAfter: "after", - replaceAll: "replaceWith" -}, function( name, original ) { - jQuery.fn[ name ] = function( selector ) { - var elems, - i = 0, - ret = [], - insert = jQuery( selector ), - last = insert.length - 1; - - for ( ; i <= last; i++ ) { - elems = i === last ? this : this.clone(true); - jQuery( insert[i] )[ original ]( elems ); - - // Modern browsers can apply jQuery collections as arrays, but oldIE needs a .get() - core_push.apply( ret, elems.get() ); - } - - return this.pushStack( ret ); - }; -}); - -function getAll( context, tag ) { - var elems, elem, - i = 0, - found = typeof context.getElementsByTagName !== core_strundefined ? context.getElementsByTagName( tag || "*" ) : - typeof context.querySelectorAll !== core_strundefined ? context.querySelectorAll( tag || "*" ) : - undefined; - - if ( !found ) { - for ( found = [], elems = context.childNodes || context; (elem = elems[i]) != null; i++ ) { - if ( !tag || jQuery.nodeName( elem, tag ) ) { - found.push( elem ); - } else { - jQuery.merge( found, getAll( elem, tag ) ); - } - } - } - - return tag === undefined || tag && jQuery.nodeName( context, tag ) ? - jQuery.merge( [ context ], found ) : - found; -} - -// Used in buildFragment, fixes the defaultChecked property -function fixDefaultChecked( elem ) { - if ( manipulation_rcheckableType.test( elem.type ) ) { - elem.defaultChecked = elem.checked; - } -} - -jQuery.extend({ - clone: function( elem, dataAndEvents, deepDataAndEvents ) { - var destElements, node, clone, i, srcElements, - inPage = jQuery.contains( elem.ownerDocument, elem ); - - if ( jQuery.support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ) { - clone = elem.cloneNode( true ); - - // IE<=8 does not properly clone detached, unknown element nodes - } else { - fragmentDiv.innerHTML = elem.outerHTML; - fragmentDiv.removeChild( clone = fragmentDiv.firstChild ); - } - - if ( (!jQuery.support.noCloneEvent || !jQuery.support.noCloneChecked) && - (elem.nodeType === 1 || elem.nodeType === 11) && !jQuery.isXMLDoc(elem) ) { - - // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2 - destElements = getAll( clone ); - srcElements = getAll( elem ); - - // Fix all IE cloning issues - for ( i = 0; (node = srcElements[i]) != null; ++i ) { - // Ensure that the destination node is not null; Fixes #9587 - if ( destElements[i] ) { - fixCloneNodeIssues( node, destElements[i] ); - } - } - } - - // Copy the events from the original to the clone - if ( dataAndEvents ) { - if ( deepDataAndEvents ) { - srcElements = srcElements || getAll( elem ); - destElements = destElements || getAll( clone ); - - for ( i = 0; (node = srcElements[i]) != null; i++ ) { - cloneCopyEvent( node, destElements[i] ); - } - } else { - cloneCopyEvent( elem, clone ); - } - } - - // Preserve script evaluation history - destElements = getAll( clone, "script" ); - if ( destElements.length > 0 ) { - setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); - } - - destElements = srcElements = node = null; - - // Return the cloned set - return clone; - }, - - buildFragment: function( elems, context, scripts, selection ) { - var j, elem, contains, - tmp, tag, tbody, wrap, - l = elems.length, - - // Ensure a safe fragment - safe = createSafeFragment( context ), - - nodes = [], - i = 0; - - for ( ; i < l; i++ ) { - elem = elems[ i ]; - - if ( elem || elem === 0 ) { - - // Add nodes directly - if ( jQuery.type( elem ) === "object" ) { - jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); - - // Convert non-html into a text node - } else if ( !rhtml.test( elem ) ) { - nodes.push( context.createTextNode( elem ) ); - - // Convert html into DOM nodes - } else { - tmp = tmp || safe.appendChild( context.createElement("div") ); - - // Deserialize a standard representation - tag = ( rtagName.exec( elem ) || ["", ""] )[1].toLowerCase(); - wrap = wrapMap[ tag ] || wrapMap._default; - - tmp.innerHTML = wrap[1] + elem.replace( rxhtmlTag, "<$1></$2>" ) + wrap[2]; - - // Descend through wrappers to the right content - j = wrap[0]; - while ( j-- ) { - tmp = tmp.lastChild; - } - - // Manually add leading whitespace removed by IE - if ( !jQuery.support.leadingWhitespace && rleadingWhitespace.test( elem ) ) { - nodes.push( context.createTextNode( rleadingWhitespace.exec( elem )[0] ) ); - } - - // Remove IE's autoinserted <tbody> from table fragments - if ( !jQuery.support.tbody ) { - - // String was a <table>, *may* have spurious <tbody> - elem = tag === "table" && !rtbody.test( elem ) ? - tmp.firstChild : - - // String was a bare <thead> or <tfoot> - wrap[1] === "<table>" && !rtbody.test( elem ) ? - tmp : - 0; - - j = elem && elem.childNodes.length; - while ( j-- ) { - if ( jQuery.nodeName( (tbody = elem.childNodes[j]), "tbody" ) && !tbody.childNodes.length ) { - elem.removeChild( tbody ); - } - } - } - - jQuery.merge( nodes, tmp.childNodes ); - - // Fix #12392 for WebKit and IE > 9 - tmp.textContent = ""; - - // Fix #12392 for oldIE - while ( tmp.firstChild ) { - tmp.removeChild( tmp.firstChild ); - } - - // Remember the top-level container for proper cleanup - tmp = safe.lastChild; - } - } - } - - // Fix #11356: Clear elements from fragment - if ( tmp ) { - safe.removeChild( tmp ); - } - - // Reset defaultChecked for any radios and checkboxes - // about to be appended to the DOM in IE 6/7 (#8060) - if ( !jQuery.support.appendChecked ) { - jQuery.grep( getAll( nodes, "input" ), fixDefaultChecked ); - } - - i = 0; - while ( (elem = nodes[ i++ ]) ) { - - // #4087 - If origin and destination elements are the same, and this is - // that element, do not do anything - if ( selection && jQuery.inArray( elem, selection ) !== -1 ) { - continue; - } - - contains = jQuery.contains( elem.ownerDocument, elem ); - - // Append to fragment - tmp = getAll( safe.appendChild( elem ), "script" ); - - // Preserve script evaluation history - if ( contains ) { - setGlobalEval( tmp ); - } - - // Capture executables - if ( scripts ) { - j = 0; - while ( (elem = tmp[ j++ ]) ) { - if ( rscriptType.test( elem.type || "" ) ) { - scripts.push( elem ); - } - } - } - } - - tmp = null; - - return safe; - }, - - cleanData: function( elems, /* internal */ acceptData ) { - var elem, type, id, data, - i = 0, - internalKey = jQuery.expando, - cache = jQuery.cache, - deleteExpando = jQuery.support.deleteExpando, - special = jQuery.event.special; - - for ( ; (elem = elems[i]) != null; i++ ) { - - if ( acceptData || jQuery.acceptData( elem ) ) { - - id = elem[ internalKey ]; - data = id && cache[ id ]; - - if ( data ) { - if ( data.events ) { - for ( type in data.events ) { - if ( special[ type ] ) { - jQuery.event.remove( elem, type ); - - // This is a shortcut to avoid jQuery.event.remove's overhead - } else { - jQuery.removeEvent( elem, type, data.handle ); - } - } - } - - // Remove cache only if it was not already removed by jQuery.event.remove - if ( cache[ id ] ) { - - delete cache[ id ]; - - // IE does not allow us to delete expando properties from nodes, - // nor does it have a removeAttribute function on Document nodes; - // we must handle all of these cases - if ( deleteExpando ) { - delete elem[ internalKey ]; - - } else if ( typeof elem.removeAttribute !== core_strundefined ) { - elem.removeAttribute( internalKey ); - - } else { - elem[ internalKey ] = null; - } - - core_deletedIds.push( id ); - } - } - } - } - }, - - _evalUrl: function( url ) { - return jQuery.ajax({ - url: url, - type: "GET", - dataType: "script", - async: false, - global: false, - "throws": true - }); - } -}); -jQuery.fn.extend({ - wrapAll: function( html ) { - if ( jQuery.isFunction( html ) ) { - return this.each(function(i) { - jQuery(this).wrapAll( html.call(this, i) ); - }); - } - - if ( this[0] ) { - // The elements to wrap the target around - var wrap = jQuery( html, this[0].ownerDocument ).eq(0).clone(true); - - if ( this[0].parentNode ) { - wrap.insertBefore( this[0] ); - } - - wrap.map(function() { - var elem = this; - - while ( elem.firstChild && elem.firstChild.nodeType === 1 ) { - elem = elem.firstChild; - } - - return elem; - }).append( this ); - } - - return this; - }, - - wrapInner: function( html ) { - if ( jQuery.isFunction( html ) ) { - return this.each(function(i) { - jQuery(this).wrapInner( html.call(this, i) ); - }); - } - - return this.each(function() { - var self = jQuery( this ), - contents = self.contents(); - - if ( contents.length ) { - contents.wrapAll( html ); - - } else { - self.append( html ); - } - }); - }, - - wrap: function( html ) { - var isFunction = jQuery.isFunction( html ); - - return this.each(function(i) { - jQuery( this ).wrapAll( isFunction ? html.call(this, i) : html ); - }); - }, - - unwrap: function() { - return this.parent().each(function() { - if ( !jQuery.nodeName( this, "body" ) ) { - jQuery( this ).replaceWith( this.childNodes ); - } - }).end(); - } -}); -var iframe, getStyles, curCSS, - ralpha = /alpha\([^)]*\)/i, - ropacity = /opacity\s*=\s*([^)]*)/, - rposition = /^(top|right|bottom|left)$/, - // swappable if display is none or starts with table except "table", "table-cell", or "table-caption" - // see here for display values: https://developer.mozilla.org/en-US/docs/CSS/display - rdisplayswap = /^(none|table(?!-c[ea]).+)/, - rmargin = /^margin/, - rnumsplit = new RegExp( "^(" + core_pnum + ")(.*)$", "i" ), - rnumnonpx = new RegExp( "^(" + core_pnum + ")(?!px)[a-z%]+$", "i" ), - rrelNum = new RegExp( "^([+-])=(" + core_pnum + ")", "i" ), - elemdisplay = { BODY: "block" }, - - cssShow = { position: "absolute", visibility: "hidden", display: "block" }, - cssNormalTransform = { - letterSpacing: 0, - fontWeight: 400 - }, - - cssExpand = [ "Top", "Right", "Bottom", "Left" ], - cssPrefixes = [ "Webkit", "O", "Moz", "ms" ]; - -// return a css property mapped to a potentially vendor prefixed property -function vendorPropName( style, name ) { - - // shortcut for names that are not vendor prefixed - if ( name in style ) { - return name; - } - - // check for vendor prefixed names - var capName = name.charAt(0).toUpperCase() + name.slice(1), - origName = name, - i = cssPrefixes.length; - - while ( i-- ) { - name = cssPrefixes[ i ] + capName; - if ( name in style ) { - return name; - } - } - - return origName; -} - -function isHidden( elem, el ) { - // isHidden might be called from jQuery#filter function; - // in that case, element will be second argument - elem = el || elem; - return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem ); -} - -function showHide( elements, show ) { - var display, elem, hidden, - values = [], - index = 0, - length = elements.length; - - for ( ; index < length; index++ ) { - elem = elements[ index ]; - if ( !elem.style ) { - continue; - } - - values[ index ] = jQuery._data( elem, "olddisplay" ); - display = elem.style.display; - if ( show ) { - // Reset the inline display of this element to learn if it is - // being hidden by cascaded rules or not - if ( !values[ index ] && display === "none" ) { - elem.style.display = ""; - } - - // Set elements which have been overridden with display: none - // in a stylesheet to whatever the default browser style is - // for such an element - if ( elem.style.display === "" && isHidden( elem ) ) { - values[ index ] = jQuery._data( elem, "olddisplay", css_defaultDisplay(elem.nodeName) ); - } - } else { - - if ( !values[ index ] ) { - hidden = isHidden( elem ); - - if ( display && display !== "none" || !hidden ) { - jQuery._data( elem, "olddisplay", hidden ? display : jQuery.css( elem, "display" ) ); - } - } - } - } - - // Set the display of most of the elements in a second loop - // to avoid the constant reflow - for ( index = 0; index < length; index++ ) { - elem = elements[ index ]; - if ( !elem.style ) { - continue; - } - if ( !show || elem.style.display === "none" || elem.style.display === "" ) { - elem.style.display = show ? values[ index ] || "" : "none"; - } - } - - return elements; -} - -jQuery.fn.extend({ - css: function( name, value ) { - return jQuery.access( this, function( elem, name, value ) { - var len, styles, - map = {}, - i = 0; - - if ( jQuery.isArray( name ) ) { - styles = getStyles( elem ); - len = name.length; - - for ( ; i < len; i++ ) { - map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); - } - - return map; - } - - return value !== undefined ? - jQuery.style( elem, name, value ) : - jQuery.css( elem, name ); - }, name, value, arguments.length > 1 ); - }, - show: function() { - return showHide( this, true ); - }, - hide: function() { - return showHide( this ); - }, - toggle: function( state ) { - if ( typeof state === "boolean" ) { - return state ? this.show() : this.hide(); - } - - return this.each(function() { - if ( isHidden( this ) ) { - jQuery( this ).show(); - } else { - jQuery( this ).hide(); - } - }); - } -}); - -jQuery.extend({ - // Add in style property hooks for overriding the default - // behavior of getting and setting a style property - cssHooks: { - opacity: { - get: function( elem, computed ) { - if ( computed ) { - // We should always get a number back from opacity - var ret = curCSS( elem, "opacity" ); - return ret === "" ? "1" : ret; - } - } - } - }, - - // Don't automatically add "px" to these possibly-unitless properties - cssNumber: { - "columnCount": true, - "fillOpacity": true, - "fontWeight": true, - "lineHeight": true, - "opacity": true, - "order": true, - "orphans": true, - "widows": true, - "zIndex": true, - "zoom": true - }, - - // Add in properties whose names you wish to fix before - // setting or getting the value - cssProps: { - // normalize float css property - "float": jQuery.support.cssFloat ? "cssFloat" : "styleFloat" - }, - - // Get and set the style property on a DOM Node - style: function( elem, name, value, extra ) { - // Don't set styles on text and comment nodes - if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { - return; - } - - // Make sure that we're working with the right name - var ret, type, hooks, - origName = jQuery.camelCase( name ), - style = elem.style; - - name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( style, origName ) ); - - // gets hook for the prefixed version - // followed by the unprefixed version - hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; - - // Check if we're setting a value - if ( value !== undefined ) { - type = typeof value; - - // convert relative number strings (+= or -=) to relative numbers. #7345 - if ( type === "string" && (ret = rrelNum.exec( value )) ) { - value = ( ret[1] + 1 ) * ret[2] + parseFloat( jQuery.css( elem, name ) ); - // Fixes bug #9237 - type = "number"; - } - - // Make sure that NaN and null values aren't set. See: #7116 - if ( value == null || type === "number" && isNaN( value ) ) { - return; - } - - // If a number was passed in, add 'px' to the (except for certain CSS properties) - if ( type === "number" && !jQuery.cssNumber[ origName ] ) { - value += "px"; - } - - // Fixes #8908, it can be done more correctly by specifing setters in cssHooks, - // but it would mean to define eight (for every problematic property) identical functions - if ( !jQuery.support.clearCloneStyle && value === "" && name.indexOf("background") === 0 ) { - style[ name ] = "inherit"; - } - - // If a hook was provided, use that value, otherwise just set the specified value - if ( !hooks || !("set" in hooks) || (value = hooks.set( elem, value, extra )) !== undefined ) { - - // Wrapped to prevent IE from throwing errors when 'invalid' values are provided - // Fixes bug #5509 - try { - style[ name ] = value; - } catch(e) {} - } - - } else { - // If a hook was provided get the non-computed value from there - if ( hooks && "get" in hooks && (ret = hooks.get( elem, false, extra )) !== undefined ) { - return ret; - } - - // Otherwise just get the value from the style object - return style[ name ]; - } - }, - - css: function( elem, name, extra, styles ) { - var num, val, hooks, - origName = jQuery.camelCase( name ); - - // Make sure that we're working with the right name - name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( elem.style, origName ) ); - - // gets hook for the prefixed version - // followed by the unprefixed version - hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; - - // If a hook was provided get the computed value from there - if ( hooks && "get" in hooks ) { - val = hooks.get( elem, true, extra ); - } - - // Otherwise, if a way to get the computed value exists, use that - if ( val === undefined ) { - val = curCSS( elem, name, styles ); - } - - //convert "normal" to computed value - if ( val === "normal" && name in cssNormalTransform ) { - val = cssNormalTransform[ name ]; - } - - // Return, converting to number if forced or a qualifier was provided and val looks numeric - if ( extra === "" || extra ) { - num = parseFloat( val ); - return extra === true || jQuery.isNumeric( num ) ? num || 0 : val; - } - return val; - } -}); - -// NOTE: we've included the "window" in window.getComputedStyle -// because jsdom on node.js will break without it. -if ( window.getComputedStyle ) { - getStyles = function( elem ) { - return window.getComputedStyle( elem, null ); - }; - - curCSS = function( elem, name, _computed ) { - var width, minWidth, maxWidth, - computed = _computed || getStyles( elem ), - - // getPropertyValue is only needed for .css('filter') in IE9, see #12537 - ret = computed ? computed.getPropertyValue( name ) || computed[ name ] : undefined, - style = elem.style; - - if ( computed ) { - - if ( ret === "" && !jQuery.contains( elem.ownerDocument, elem ) ) { - ret = jQuery.style( elem, name ); - } - - // A tribute to the "awesome hack by Dean Edwards" - // Chrome < 17 and Safari 5.0 uses "computed value" instead of "used value" for margin-right - // Safari 5.1.7 (at least) returns percentage for a larger set of values, but width seems to be reliably pixels - // this is against the CSSOM draft spec: http://dev.w3.org/csswg/cssom/#resolved-values - if ( rnumnonpx.test( ret ) && rmargin.test( name ) ) { - - // Remember the original values - width = style.width; - minWidth = style.minWidth; - maxWidth = style.maxWidth; - - // Put in the new values to get a computed value out - style.minWidth = style.maxWidth = style.width = ret; - ret = computed.width; - - // Revert the changed values - style.width = width; - style.minWidth = minWidth; - style.maxWidth = maxWidth; - } - } - - return ret; - }; -} else if ( document.documentElement.currentStyle ) { - getStyles = function( elem ) { - return elem.currentStyle; - }; - - curCSS = function( elem, name, _computed ) { - var left, rs, rsLeft, - computed = _computed || getStyles( elem ), - ret = computed ? computed[ name ] : undefined, - style = elem.style; - - // Avoid setting ret to empty string here - // so we don't default to auto - if ( ret == null && style && style[ name ] ) { - ret = style[ name ]; - } - - // From the awesome hack by Dean Edwards - // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291 - - // If we're not dealing with a regular pixel number - // but a number that has a weird ending, we need to convert it to pixels - // but not position css attributes, as those are proportional to the parent element instead - // and we can't measure the parent instead because it might trigger a "stacking dolls" problem - if ( rnumnonpx.test( ret ) && !rposition.test( name ) ) { - - // Remember the original values - left = style.left; - rs = elem.runtimeStyle; - rsLeft = rs && rs.left; - - // Put in the new values to get a computed value out - if ( rsLeft ) { - rs.left = elem.currentStyle.left; - } - style.left = name === "fontSize" ? "1em" : ret; - ret = style.pixelLeft + "px"; - - // Revert the changed values - style.left = left; - if ( rsLeft ) { - rs.left = rsLeft; - } - } - - return ret === "" ? "auto" : ret; - }; -} - -function setPositiveNumber( elem, value, subtract ) { - var matches = rnumsplit.exec( value ); - return matches ? - // Guard against undefined "subtract", e.g., when used as in cssHooks - Math.max( 0, matches[ 1 ] - ( subtract || 0 ) ) + ( matches[ 2 ] || "px" ) : - value; -} - -function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) { - var i = extra === ( isBorderBox ? "border" : "content" ) ? - // If we already have the right measurement, avoid augmentation - 4 : - // Otherwise initialize for horizontal or vertical properties - name === "width" ? 1 : 0, - - val = 0; - - for ( ; i < 4; i += 2 ) { - // both box models exclude margin, so add it if we want it - if ( extra === "margin" ) { - val += jQuery.css( elem, extra + cssExpand[ i ], true, styles ); - } - - if ( isBorderBox ) { - // border-box includes padding, so remove it if we want content - if ( extra === "content" ) { - val -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); - } - - // at this point, extra isn't border nor margin, so remove border - if ( extra !== "margin" ) { - val -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); - } - } else { - // at this point, extra isn't content, so add padding - val += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); - - // at this point, extra isn't content nor padding, so add border - if ( extra !== "padding" ) { - val += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); - } - } - } - - return val; -} - -function getWidthOrHeight( elem, name, extra ) { - - // Start with offset property, which is equivalent to the border-box value - var valueIsBorderBox = true, - val = name === "width" ? elem.offsetWidth : elem.offsetHeight, - styles = getStyles( elem ), - isBorderBox = jQuery.support.boxSizing && jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; - - // some non-html elements return undefined for offsetWidth, so check for null/undefined - // svg - https://bugzilla.mozilla.org/show_bug.cgi?id=649285 - // MathML - https://bugzilla.mozilla.org/show_bug.cgi?id=491668 - if ( val <= 0 || val == null ) { - // Fall back to computed then uncomputed css if necessary - val = curCSS( elem, name, styles ); - if ( val < 0 || val == null ) { - val = elem.style[ name ]; - } - - // Computed unit is not pixels. Stop here and return. - if ( rnumnonpx.test(val) ) { - return val; - } - - // we need the check for style in case a browser which returns unreliable values - // for getComputedStyle silently falls back to the reliable elem.style - valueIsBorderBox = isBorderBox && ( jQuery.support.boxSizingReliable || val === elem.style[ name ] ); - - // Normalize "", auto, and prepare for extra - val = parseFloat( val ) || 0; - } - - // use the active box-sizing model to add/subtract irrelevant styles - return ( val + - augmentWidthOrHeight( - elem, - name, - extra || ( isBorderBox ? "border" : "content" ), - valueIsBorderBox, - styles - ) - ) + "px"; -} - -// Try to determine the default display value of an element -function css_defaultDisplay( nodeName ) { - var doc = document, - display = elemdisplay[ nodeName ]; - - if ( !display ) { - display = actualDisplay( nodeName, doc ); - - // If the simple way fails, read from inside an iframe - if ( display === "none" || !display ) { - // Use the already-created iframe if possible - iframe = ( iframe || - jQuery("<iframe frameborder='0' width='0' height='0'/>") - .css( "cssText", "display:block !important" ) - ).appendTo( doc.documentElement ); - - // Always write a new HTML skeleton so Webkit and Firefox don't choke on reuse - doc = ( iframe[0].contentWindow || iframe[0].contentDocument ).document; - doc.write("<!doctype html><html><body>"); - doc.close(); - - display = actualDisplay( nodeName, doc ); - iframe.detach(); - } - - // Store the correct default display - elemdisplay[ nodeName ] = display; - } - - return display; -} - -// Called ONLY from within css_defaultDisplay -function actualDisplay( name, doc ) { - var elem = jQuery( doc.createElement( name ) ).appendTo( doc.body ), - display = jQuery.css( elem[0], "display" ); - elem.remove(); - return display; -} - -jQuery.each([ "height", "width" ], function( i, name ) { - jQuery.cssHooks[ name ] = { - get: function( elem, computed, extra ) { - if ( computed ) { - // certain elements can have dimension info if we invisibly show them - // however, it must have a current display style that would benefit from this - return elem.offsetWidth === 0 && rdisplayswap.test( jQuery.css( elem, "display" ) ) ? - jQuery.swap( elem, cssShow, function() { - return getWidthOrHeight( elem, name, extra ); - }) : - getWidthOrHeight( elem, name, extra ); - } - }, - - set: function( elem, value, extra ) { - var styles = extra && getStyles( elem ); - return setPositiveNumber( elem, value, extra ? - augmentWidthOrHeight( - elem, - name, - extra, - jQuery.support.boxSizing && jQuery.css( elem, "boxSizing", false, styles ) === "border-box", - styles - ) : 0 - ); - } - }; -}); - -if ( !jQuery.support.opacity ) { - jQuery.cssHooks.opacity = { - get: function( elem, computed ) { - // IE uses filters for opacity - return ropacity.test( (computed && elem.currentStyle ? elem.currentStyle.filter : elem.style.filter) || "" ) ? - ( 0.01 * parseFloat( RegExp.$1 ) ) + "" : - computed ? "1" : ""; - }, - - set: function( elem, value ) { - var style = elem.style, - currentStyle = elem.currentStyle, - opacity = jQuery.isNumeric( value ) ? "alpha(opacity=" + value * 100 + ")" : "", - filter = currentStyle && currentStyle.filter || style.filter || ""; - - // IE has trouble with opacity if it does not have layout - // Force it by setting the zoom level - style.zoom = 1; - - // if setting opacity to 1, and no other filters exist - attempt to remove filter attribute #6652 - // if value === "", then remove inline opacity #12685 - if ( ( value >= 1 || value === "" ) && - jQuery.trim( filter.replace( ralpha, "" ) ) === "" && - style.removeAttribute ) { - - // Setting style.filter to null, "" & " " still leave "filter:" in the cssText - // if "filter:" is present at all, clearType is disabled, we want to avoid this - // style.removeAttribute is IE Only, but so apparently is this code path... - style.removeAttribute( "filter" ); - - // if there is no filter style applied in a css rule or unset inline opacity, we are done - if ( value === "" || currentStyle && !currentStyle.filter ) { - return; - } - } - - // otherwise, set new filter values - style.filter = ralpha.test( filter ) ? - filter.replace( ralpha, opacity ) : - filter + " " + opacity; - } - }; -} - -// These hooks cannot be added until DOM ready because the support test -// for it is not run until after DOM ready -jQuery(function() { - if ( !jQuery.support.reliableMarginRight ) { - jQuery.cssHooks.marginRight = { - get: function( elem, computed ) { - if ( computed ) { - // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right - // Work around by temporarily setting element display to inline-block - return jQuery.swap( elem, { "display": "inline-block" }, - curCSS, [ elem, "marginRight" ] ); - } - } - }; - } - - // Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084 - // getComputedStyle returns percent when specified for top/left/bottom/right - // rather than make the css module depend on the offset module, we just check for it here - if ( !jQuery.support.pixelPosition && jQuery.fn.position ) { - jQuery.each( [ "top", "left" ], function( i, prop ) { - jQuery.cssHooks[ prop ] = { - get: function( elem, computed ) { - if ( computed ) { - computed = curCSS( elem, prop ); - // if curCSS returns percentage, fallback to offset - return rnumnonpx.test( computed ) ? - jQuery( elem ).position()[ prop ] + "px" : - computed; - } - } - }; - }); - } - -}); - -if ( jQuery.expr && jQuery.expr.filters ) { - jQuery.expr.filters.hidden = function( elem ) { - // Support: Opera <= 12.12 - // Opera reports offsetWidths and offsetHeights less than zero on some elements - return elem.offsetWidth <= 0 && elem.offsetHeight <= 0 || - (!jQuery.support.reliableHiddenOffsets && ((elem.style && elem.style.display) || jQuery.css( elem, "display" )) === "none"); - }; - - jQuery.expr.filters.visible = function( elem ) { - return !jQuery.expr.filters.hidden( elem ); - }; -} - -// These hooks are used by animate to expand properties -jQuery.each({ - margin: "", - padding: "", - border: "Width" -}, function( prefix, suffix ) { - jQuery.cssHooks[ prefix + suffix ] = { - expand: function( value ) { - var i = 0, - expanded = {}, - - // assumes a single number if not a string - parts = typeof value === "string" ? value.split(" ") : [ value ]; - - for ( ; i < 4; i++ ) { - expanded[ prefix + cssExpand[ i ] + suffix ] = - parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; - } - - return expanded; - } - }; - - if ( !rmargin.test( prefix ) ) { - jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; - } -}); -var r20 = /%20/g, - rbracket = /\[\]$/, - rCRLF = /\r?\n/g, - rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, - rsubmittable = /^(?:input|select|textarea|keygen)/i; - -jQuery.fn.extend({ - serialize: function() { - return jQuery.param( this.serializeArray() ); - }, - serializeArray: function() { - return this.map(function(){ - // Can add propHook for "elements" to filter or add form elements - var elements = jQuery.prop( this, "elements" ); - return elements ? jQuery.makeArray( elements ) : this; - }) - .filter(function(){ - var type = this.type; - // Use .is(":disabled") so that fieldset[disabled] works - return this.name && !jQuery( this ).is( ":disabled" ) && - rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && - ( this.checked || !manipulation_rcheckableType.test( type ) ); - }) - .map(function( i, elem ){ - var val = jQuery( this ).val(); - - return val == null ? - null : - jQuery.isArray( val ) ? - jQuery.map( val, function( val ){ - return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; - }) : - { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; - }).get(); - } -}); - -//Serialize an array of form elements or a set of -//key/values into a query string -jQuery.param = function( a, traditional ) { - var prefix, - s = [], - add = function( key, value ) { - // If value is a function, invoke it and return its value - value = jQuery.isFunction( value ) ? value() : ( value == null ? "" : value ); - s[ s.length ] = encodeURIComponent( key ) + "=" + encodeURIComponent( value ); - }; - - // Set traditional to true for jQuery <= 1.3.2 behavior. - if ( traditional === undefined ) { - traditional = jQuery.ajaxSettings && jQuery.ajaxSettings.traditional; - } - - // If an array was passed in, assume that it is an array of form elements. - if ( jQuery.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { - // Serialize the form elements - jQuery.each( a, function() { - add( this.name, this.value ); - }); - - } else { - // If traditional, encode the "old" way (the way 1.3.2 or older - // did it), otherwise encode params recursively. - for ( prefix in a ) { - buildParams( prefix, a[ prefix ], traditional, add ); - } - } - - // Return the resulting serialization - return s.join( "&" ).replace( r20, "+" ); -}; - -function buildParams( prefix, obj, traditional, add ) { - var name; - - if ( jQuery.isArray( obj ) ) { - // Serialize array item. - jQuery.each( obj, function( i, v ) { - if ( traditional || rbracket.test( prefix ) ) { - // Treat each array item as a scalar. - add( prefix, v ); - - } else { - // Item is non-scalar (array or object), encode its numeric index. - buildParams( prefix + "[" + ( typeof v === "object" ? i : "" ) + "]", v, traditional, add ); - } - }); - - } else if ( !traditional && jQuery.type( obj ) === "object" ) { - // Serialize object item. - for ( name in obj ) { - buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); - } - - } else { - // Serialize scalar item. - add( prefix, obj ); - } -} -jQuery.each( ("blur focus focusin focusout load resize scroll unload click dblclick " + - "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " + - "change select submit keydown keypress keyup error contextmenu").split(" "), function( i, name ) { - - // Handle event binding - jQuery.fn[ name ] = function( data, fn ) { - return arguments.length > 0 ? - this.on( name, null, data, fn ) : - this.trigger( name ); - }; -}); - -jQuery.fn.extend({ - hover: function( fnOver, fnOut ) { - return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver ); - }, - - bind: function( types, data, fn ) { - return this.on( types, null, data, fn ); - }, - unbind: function( types, fn ) { - return this.off( types, null, fn ); - }, - - delegate: function( selector, types, data, fn ) { - return this.on( types, selector, data, fn ); - }, - undelegate: function( selector, types, fn ) { - // ( namespace ) or ( selector, types [, fn] ) - return arguments.length === 1 ? this.off( selector, "**" ) : this.off( types, selector || "**", fn ); - } -}); -var - // Document location - ajaxLocParts, - ajaxLocation, - ajax_nonce = jQuery.now(), - - ajax_rquery = /\?/, - rhash = /#.*$/, - rts = /([?&])_=[^&]*/, - rheaders = /^(.*?):[ \t]*([^\r\n]*)\r?$/mg, // IE leaves an \r character at EOL - // #7653, #8125, #8152: local protocol detection - rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, - rnoContent = /^(?:GET|HEAD)$/, - rprotocol = /^\/\//, - rurl = /^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/, - - // Keep a copy of the old load method - _load = jQuery.fn.load, - - /* Prefilters - * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) - * 2) These are called: - * - BEFORE asking for a transport - * - AFTER param serialization (s.data is a string if s.processData is true) - * 3) key is the dataType - * 4) the catchall symbol "*" can be used - * 5) execution will start with transport dataType and THEN continue down to "*" if needed - */ - prefilters = {}, - - /* Transports bindings - * 1) key is the dataType - * 2) the catchall symbol "*" can be used - * 3) selection will start with transport dataType and THEN go to "*" if needed - */ - transports = {}, - - // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression - allTypes = "*/".concat("*"); - -// #8138, IE may throw an exception when accessing -// a field from window.location if document.domain has been set -try { - ajaxLocation = location.href; -} catch( e ) { - // Use the href attribute of an A element - // since IE will modify it given document.location - ajaxLocation = document.createElement( "a" ); - ajaxLocation.href = ""; - ajaxLocation = ajaxLocation.href; -} - -// Segment location into parts -ajaxLocParts = rurl.exec( ajaxLocation.toLowerCase() ) || []; - -// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport -function addToPrefiltersOrTransports( structure ) { - - // dataTypeExpression is optional and defaults to "*" - return function( dataTypeExpression, func ) { - - if ( typeof dataTypeExpression !== "string" ) { - func = dataTypeExpression; - dataTypeExpression = "*"; - } - - var dataType, - i = 0, - dataTypes = dataTypeExpression.toLowerCase().match( core_rnotwhite ) || []; - - if ( jQuery.isFunction( func ) ) { - // For each dataType in the dataTypeExpression - while ( (dataType = dataTypes[i++]) ) { - // Prepend if requested - if ( dataType[0] === "+" ) { - dataType = dataType.slice( 1 ) || "*"; - (structure[ dataType ] = structure[ dataType ] || []).unshift( func ); - - // Otherwise append - } else { - (structure[ dataType ] = structure[ dataType ] || []).push( func ); - } - } - } - }; -} - -// Base inspection function for prefilters and transports -function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { - - var inspected = {}, - seekingTransport = ( structure === transports ); - - function inspect( dataType ) { - var selected; - inspected[ dataType ] = true; - jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { - var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); - if( typeof dataTypeOrTransport === "string" && !seekingTransport && !inspected[ dataTypeOrTransport ] ) { - options.dataTypes.unshift( dataTypeOrTransport ); - inspect( dataTypeOrTransport ); - return false; - } else if ( seekingTransport ) { - return !( selected = dataTypeOrTransport ); - } - }); - return selected; - } - - return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); -} - -// A special extend for ajax options -// that takes "flat" options (not to be deep extended) -// Fixes #9887 -function ajaxExtend( target, src ) { - var deep, key, - flatOptions = jQuery.ajaxSettings.flatOptions || {}; - - for ( key in src ) { - if ( src[ key ] !== undefined ) { - ( flatOptions[ key ] ? target : ( deep || (deep = {}) ) )[ key ] = src[ key ]; - } - } - if ( deep ) { - jQuery.extend( true, target, deep ); - } - - return target; -} - -jQuery.fn.load = function( url, params, callback ) { - if ( typeof url !== "string" && _load ) { - return _load.apply( this, arguments ); - } - - var selector, response, type, - self = this, - off = url.indexOf(" "); - - if ( off >= 0 ) { - selector = url.slice( off, url.length ); - url = url.slice( 0, off ); - } - - // If it's a function - if ( jQuery.isFunction( params ) ) { - - // We assume that it's the callback - callback = params; - params = undefined; - - // Otherwise, build a param string - } else if ( params && typeof params === "object" ) { - type = "POST"; - } - - // If we have elements to modify, make the request - if ( self.length > 0 ) { - jQuery.ajax({ - url: url, - - // if "type" variable is undefined, then "GET" method will be used - type: type, - dataType: "html", - data: params - }).done(function( responseText ) { - - // Save response for use in complete callback - response = arguments; - - self.html( selector ? - - // If a selector was specified, locate the right elements in a dummy div - // Exclude scripts to avoid IE 'Permission Denied' errors - jQuery("<div>").append( jQuery.parseHTML( responseText ) ).find( selector ) : - - // Otherwise use the full result - responseText ); - - }).complete( callback && function( jqXHR, status ) { - self.each( callback, response || [ jqXHR.responseText, status, jqXHR ] ); - }); - } - - return this; -}; - -// Attach a bunch of functions for handling common AJAX events -jQuery.each( [ "ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend" ], function( i, type ){ - jQuery.fn[ type ] = function( fn ){ - return this.on( type, fn ); - }; -}); - -jQuery.extend({ - - // Counter for holding the number of active queries - active: 0, - - // Last-Modified header cache for next request - lastModified: {}, - etag: {}, - - ajaxSettings: { - url: ajaxLocation, - type: "GET", - isLocal: rlocalProtocol.test( ajaxLocParts[ 1 ] ), - global: true, - processData: true, - async: true, - contentType: "application/x-www-form-urlencoded; charset=UTF-8", - /* - timeout: 0, - data: null, - dataType: null, - username: null, - password: null, - cache: null, - throws: false, - traditional: false, - headers: {}, - */ - - accepts: { - "*": allTypes, - text: "text/plain", - html: "text/html", - xml: "application/xml, text/xml", - json: "application/json, text/javascript" - }, - - contents: { - xml: /xml/, - html: /html/, - json: /json/ - }, - - responseFields: { - xml: "responseXML", - text: "responseText", - json: "responseJSON" - }, - - // Data converters - // Keys separate source (or catchall "*") and destination types with a single space - converters: { - - // Convert anything to text - "* text": String, - - // Text to html (true = no transformation) - "text html": true, - - // Evaluate text as a json expression - "text json": jQuery.parseJSON, - - // Parse text as xml - "text xml": jQuery.parseXML - }, - - // For options that shouldn't be deep extended: - // you can add your own custom options here if - // and when you create one that shouldn't be - // deep extended (see ajaxExtend) - flatOptions: { - url: true, - context: true - } - }, - - // Creates a full fledged settings object into target - // with both ajaxSettings and settings fields. - // If target is omitted, writes into ajaxSettings. - ajaxSetup: function( target, settings ) { - return settings ? - - // Building a settings object - ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : - - // Extending ajaxSettings - ajaxExtend( jQuery.ajaxSettings, target ); - }, - - ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), - ajaxTransport: addToPrefiltersOrTransports( transports ), - - // Main method - ajax: function( url, options ) { - - // If url is an object, simulate pre-1.5 signature - if ( typeof url === "object" ) { - options = url; - url = undefined; - } - - // Force options to be an object - options = options || {}; - - var // Cross-domain detection vars - parts, - // Loop variable - i, - // URL without anti-cache param - cacheURL, - // Response headers as string - responseHeadersString, - // timeout handle - timeoutTimer, - - // To know if global events are to be dispatched - fireGlobals, - - transport, - // Response headers - responseHeaders, - // Create the final options object - s = jQuery.ajaxSetup( {}, options ), - // Callbacks context - callbackContext = s.context || s, - // Context for global events is callbackContext if it is a DOM node or jQuery collection - globalEventContext = s.context && ( callbackContext.nodeType || callbackContext.jquery ) ? - jQuery( callbackContext ) : - jQuery.event, - // Deferreds - deferred = jQuery.Deferred(), - completeDeferred = jQuery.Callbacks("once memory"), - // Status-dependent callbacks - statusCode = s.statusCode || {}, - // Headers (they are sent all at once) - requestHeaders = {}, - requestHeadersNames = {}, - // The jqXHR state - state = 0, - // Default abort message - strAbort = "canceled", - // Fake xhr - jqXHR = { - readyState: 0, - - // Builds headers hashtable if needed - getResponseHeader: function( key ) { - var match; - if ( state === 2 ) { - if ( !responseHeaders ) { - responseHeaders = {}; - while ( (match = rheaders.exec( responseHeadersString )) ) { - responseHeaders[ match[1].toLowerCase() ] = match[ 2 ]; - } - } - match = responseHeaders[ key.toLowerCase() ]; - } - return match == null ? null : match; - }, - - // Raw string - getAllResponseHeaders: function() { - return state === 2 ? responseHeadersString : null; - }, - - // Caches the header - setRequestHeader: function( name, value ) { - var lname = name.toLowerCase(); - if ( !state ) { - name = requestHeadersNames[ lname ] = requestHeadersNames[ lname ] || name; - requestHeaders[ name ] = value; - } - return this; - }, - - // Overrides response content-type header - overrideMimeType: function( type ) { - if ( !state ) { - s.mimeType = type; - } - return this; - }, - - // Status-dependent callbacks - statusCode: function( map ) { - var code; - if ( map ) { - if ( state < 2 ) { - for ( code in map ) { - // Lazy-add the new callback in a way that preserves old ones - statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; - } - } else { - // Execute the appropriate callbacks - jqXHR.always( map[ jqXHR.status ] ); - } - } - return this; - }, - - // Cancel the request - abort: function( statusText ) { - var finalText = statusText || strAbort; - if ( transport ) { - transport.abort( finalText ); - } - done( 0, finalText ); - return this; - } - }; - - // Attach deferreds - deferred.promise( jqXHR ).complete = completeDeferred.add; - jqXHR.success = jqXHR.done; - jqXHR.error = jqXHR.fail; - - // Remove hash character (#7531: and string promotion) - // Add protocol if not provided (#5866: IE7 issue with protocol-less urls) - // Handle falsy url in the settings object (#10093: consistency with old signature) - // We also use the url parameter if available - s.url = ( ( url || s.url || ajaxLocation ) + "" ).replace( rhash, "" ).replace( rprotocol, ajaxLocParts[ 1 ] + "//" ); - - // Alias method option to type as per ticket #12004 - s.type = options.method || options.type || s.method || s.type; - - // Extract dataTypes list - s.dataTypes = jQuery.trim( s.dataType || "*" ).toLowerCase().match( core_rnotwhite ) || [""]; - - // A cross-domain request is in order when we have a protocol:host:port mismatch - if ( s.crossDomain == null ) { - parts = rurl.exec( s.url.toLowerCase() ); - s.crossDomain = !!( parts && - ( parts[ 1 ] !== ajaxLocParts[ 1 ] || parts[ 2 ] !== ajaxLocParts[ 2 ] || - ( parts[ 3 ] || ( parts[ 1 ] === "http:" ? "80" : "443" ) ) !== - ( ajaxLocParts[ 3 ] || ( ajaxLocParts[ 1 ] === "http:" ? "80" : "443" ) ) ) - ); - } - - // Convert data if not already a string - if ( s.data && s.processData && typeof s.data !== "string" ) { - s.data = jQuery.param( s.data, s.traditional ); - } - - // Apply prefilters - inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); - - // If request was aborted inside a prefilter, stop there - if ( state === 2 ) { - return jqXHR; - } - - // We can fire global events as of now if asked to - fireGlobals = s.global; - - // Watch for a new set of requests - if ( fireGlobals && jQuery.active++ === 0 ) { - jQuery.event.trigger("ajaxStart"); - } - - // Uppercase the type - s.type = s.type.toUpperCase(); - - // Determine if request has content - s.hasContent = !rnoContent.test( s.type ); - - // Save the URL in case we're toying with the If-Modified-Since - // and/or If-None-Match header later on - cacheURL = s.url; - - // More options handling for requests with no content - if ( !s.hasContent ) { - - // If data is available, append data to url - if ( s.data ) { - cacheURL = ( s.url += ( ajax_rquery.test( cacheURL ) ? "&" : "?" ) + s.data ); - // #9682: remove data so that it's not used in an eventual retry - delete s.data; - } - - // Add anti-cache in url if needed - if ( s.cache === false ) { - s.url = rts.test( cacheURL ) ? - - // If there is already a '_' parameter, set its value - cacheURL.replace( rts, "$1_=" + ajax_nonce++ ) : - - // Otherwise add one to the end - cacheURL + ( ajax_rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ajax_nonce++; - } - } - - // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. - if ( s.ifModified ) { - if ( jQuery.lastModified[ cacheURL ] ) { - jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); - } - if ( jQuery.etag[ cacheURL ] ) { - jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); - } - } - - // Set the correct header, if data is being sent - if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { - jqXHR.setRequestHeader( "Content-Type", s.contentType ); - } - - // Set the Accepts header for the server, depending on the dataType - jqXHR.setRequestHeader( - "Accept", - s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[0] ] ? - s.accepts[ s.dataTypes[0] ] + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : - s.accepts[ "*" ] - ); - - // Check for headers option - for ( i in s.headers ) { - jqXHR.setRequestHeader( i, s.headers[ i ] ); - } - - // Allow custom headers/mimetypes and early abort - if ( s.beforeSend && ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || state === 2 ) ) { - // Abort if not done already and return - return jqXHR.abort(); - } - - // aborting is no longer a cancellation - strAbort = "abort"; - - // Install callbacks on deferreds - for ( i in { success: 1, error: 1, complete: 1 } ) { - jqXHR[ i ]( s[ i ] ); - } - - // Get transport - transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); - - // If no transport, we auto-abort - if ( !transport ) { - done( -1, "No Transport" ); - } else { - jqXHR.readyState = 1; - - // Send global event - if ( fireGlobals ) { - globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); - } - // Timeout - if ( s.async && s.timeout > 0 ) { - timeoutTimer = setTimeout(function() { - jqXHR.abort("timeout"); - }, s.timeout ); - } - - try { - state = 1; - transport.send( requestHeaders, done ); - } catch ( e ) { - // Propagate exception as error if not done - if ( state < 2 ) { - done( -1, e ); - // Simply rethrow otherwise - } else { - throw e; - } - } - } - - // Callback for when everything is done - function done( status, nativeStatusText, responses, headers ) { - var isSuccess, success, error, response, modified, - statusText = nativeStatusText; - - // Called once - if ( state === 2 ) { - return; - } - - // State is "done" now - state = 2; - - // Clear timeout if it exists - if ( timeoutTimer ) { - clearTimeout( timeoutTimer ); - } - - // Dereference transport for early garbage collection - // (no matter how long the jqXHR object will be used) - transport = undefined; - - // Cache response headers - responseHeadersString = headers || ""; - - // Set readyState - jqXHR.readyState = status > 0 ? 4 : 0; - - // Determine if successful - isSuccess = status >= 200 && status < 300 || status === 304; - - // Get response data - if ( responses ) { - response = ajaxHandleResponses( s, jqXHR, responses ); - } - - // Convert no matter what (that way responseXXX fields are always set) - response = ajaxConvert( s, response, jqXHR, isSuccess ); - - // If successful, handle type chaining - if ( isSuccess ) { - - // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. - if ( s.ifModified ) { - modified = jqXHR.getResponseHeader("Last-Modified"); - if ( modified ) { - jQuery.lastModified[ cacheURL ] = modified; - } - modified = jqXHR.getResponseHeader("etag"); - if ( modified ) { - jQuery.etag[ cacheURL ] = modified; - } - } - - // if no content - if ( status === 204 || s.type === "HEAD" ) { - statusText = "nocontent"; - - // if not modified - } else if ( status === 304 ) { - statusText = "notmodified"; - - // If we have data, let's convert it - } else { - statusText = response.state; - success = response.data; - error = response.error; - isSuccess = !error; - } - } else { - // We extract error from statusText - // then normalize statusText and status for non-aborts - error = statusText; - if ( status || !statusText ) { - statusText = "error"; - if ( status < 0 ) { - status = 0; - } - } - } - - // Set data for the fake xhr object - jqXHR.status = status; - jqXHR.statusText = ( nativeStatusText || statusText ) + ""; - - // Success/Error - if ( isSuccess ) { - deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); - } else { - deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); - } - - // Status-dependent callbacks - jqXHR.statusCode( statusCode ); - statusCode = undefined; - - if ( fireGlobals ) { - globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", - [ jqXHR, s, isSuccess ? success : error ] ); - } - - // Complete - completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); - - if ( fireGlobals ) { - globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); - // Handle the global AJAX counter - if ( !( --jQuery.active ) ) { - jQuery.event.trigger("ajaxStop"); - } - } - } - - return jqXHR; - }, - - getJSON: function( url, data, callback ) { - return jQuery.get( url, data, callback, "json" ); - }, - - getScript: function( url, callback ) { - return jQuery.get( url, undefined, callback, "script" ); - } -}); - -jQuery.each( [ "get", "post" ], function( i, method ) { - jQuery[ method ] = function( url, data, callback, type ) { - // shift arguments if data argument was omitted - if ( jQuery.isFunction( data ) ) { - type = type || callback; - callback = data; - data = undefined; - } - - return jQuery.ajax({ - url: url, - type: method, - dataType: type, - data: data, - success: callback - }); - }; -}); - -/* Handles responses to an ajax request: - * - finds the right dataType (mediates between content-type and expected dataType) - * - returns the corresponding response - */ -function ajaxHandleResponses( s, jqXHR, responses ) { - var firstDataType, ct, finalDataType, type, - contents = s.contents, - dataTypes = s.dataTypes; - - // Remove auto dataType and get content-type in the process - while( dataTypes[ 0 ] === "*" ) { - dataTypes.shift(); - if ( ct === undefined ) { - ct = s.mimeType || jqXHR.getResponseHeader("Content-Type"); - } - } - - // Check if we're dealing with a known content-type - if ( ct ) { - for ( type in contents ) { - if ( contents[ type ] && contents[ type ].test( ct ) ) { - dataTypes.unshift( type ); - break; - } - } - } - - // Check to see if we have a response for the expected dataType - if ( dataTypes[ 0 ] in responses ) { - finalDataType = dataTypes[ 0 ]; - } else { - // Try convertible dataTypes - for ( type in responses ) { - if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[0] ] ) { - finalDataType = type; - break; - } - if ( !firstDataType ) { - firstDataType = type; - } - } - // Or just use first one - finalDataType = finalDataType || firstDataType; - } - - // If we found a dataType - // We add the dataType to the list if needed - // and return the corresponding response - if ( finalDataType ) { - if ( finalDataType !== dataTypes[ 0 ] ) { - dataTypes.unshift( finalDataType ); - } - return responses[ finalDataType ]; - } -} - -/* Chain conversions given the request and the original response - * Also sets the responseXXX fields on the jqXHR instance - */ -function ajaxConvert( s, response, jqXHR, isSuccess ) { - var conv2, current, conv, tmp, prev, - converters = {}, - // Work with a copy of dataTypes in case we need to modify it for conversion - dataTypes = s.dataTypes.slice(); - - // Create converters map with lowercased keys - if ( dataTypes[ 1 ] ) { - for ( conv in s.converters ) { - converters[ conv.toLowerCase() ] = s.converters[ conv ]; - } - } - - current = dataTypes.shift(); - - // Convert to each sequential dataType - while ( current ) { - - if ( s.responseFields[ current ] ) { - jqXHR[ s.responseFields[ current ] ] = response; - } - - // Apply the dataFilter if provided - if ( !prev && isSuccess && s.dataFilter ) { - response = s.dataFilter( response, s.dataType ); - } - - prev = current; - current = dataTypes.shift(); - - if ( current ) { - - // There's only work to do if current dataType is non-auto - if ( current === "*" ) { - - current = prev; - - // Convert response if prev dataType is non-auto and differs from current - } else if ( prev !== "*" && prev !== current ) { - - // Seek a direct converter - conv = converters[ prev + " " + current ] || converters[ "* " + current ]; - - // If none found, seek a pair - if ( !conv ) { - for ( conv2 in converters ) { - - // If conv2 outputs current - tmp = conv2.split( " " ); - if ( tmp[ 1 ] === current ) { - - // If prev can be converted to accepted input - conv = converters[ prev + " " + tmp[ 0 ] ] || - converters[ "* " + tmp[ 0 ] ]; - if ( conv ) { - // Condense equivalence converters - if ( conv === true ) { - conv = converters[ conv2 ]; - - // Otherwise, insert the intermediate dataType - } else if ( converters[ conv2 ] !== true ) { - current = tmp[ 0 ]; - dataTypes.unshift( tmp[ 1 ] ); - } - break; - } - } - } - } - - // Apply converter (if not an equivalence) - if ( conv !== true ) { - - // Unless errors are allowed to bubble, catch and return them - if ( conv && s[ "throws" ] ) { - response = conv( response ); - } else { - try { - response = conv( response ); - } catch ( e ) { - return { state: "parsererror", error: conv ? e : "No conversion from " + prev + " to " + current }; - } - } - } - } - } - } - - return { state: "success", data: response }; -} -// Install script dataType -jQuery.ajaxSetup({ - accepts: { - script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript" - }, - contents: { - script: /(?:java|ecma)script/ - }, - converters: { - "text script": function( text ) { - jQuery.globalEval( text ); - return text; - } - } -}); - -// Handle cache's special case and global -jQuery.ajaxPrefilter( "script", function( s ) { - if ( s.cache === undefined ) { - s.cache = false; - } - if ( s.crossDomain ) { - s.type = "GET"; - s.global = false; - } -}); - -// Bind script tag hack transport -jQuery.ajaxTransport( "script", function(s) { - - // This transport only deals with cross domain requests - if ( s.crossDomain ) { - - var script, - head = document.head || jQuery("head")[0] || document.documentElement; - - return { - - send: function( _, callback ) { - - script = document.createElement("script"); - - script.async = true; - - if ( s.scriptCharset ) { - script.charset = s.scriptCharset; - } - - script.src = s.url; - - // Attach handlers for all browsers - script.onload = script.onreadystatechange = function( _, isAbort ) { - - if ( isAbort || !script.readyState || /loaded|complete/.test( script.readyState ) ) { - - // Handle memory leak in IE - script.onload = script.onreadystatechange = null; - - // Remove the script - if ( script.parentNode ) { - script.parentNode.removeChild( script ); - } - - // Dereference the script - script = null; - - // Callback if not abort - if ( !isAbort ) { - callback( 200, "success" ); - } - } - }; - - // Circumvent IE6 bugs with base elements (#2709 and #4378) by prepending - // Use native DOM manipulation to avoid our domManip AJAX trickery - head.insertBefore( script, head.firstChild ); - }, - - abort: function() { - if ( script ) { - script.onload( undefined, true ); - } - } - }; - } -}); -var oldCallbacks = [], - rjsonp = /(=)\?(?=&|$)|\?\?/; - -// Default jsonp settings -jQuery.ajaxSetup({ - jsonp: "callback", - jsonpCallback: function() { - var callback = oldCallbacks.pop() || ( jQuery.expando + "_" + ( ajax_nonce++ ) ); - this[ callback ] = true; - return callback; - } -}); - -// Detect, normalize options and install callbacks for jsonp requests -jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) { - - var callbackName, overwritten, responseContainer, - jsonProp = s.jsonp !== false && ( rjsonp.test( s.url ) ? - "url" : - typeof s.data === "string" && !( s.contentType || "" ).indexOf("application/x-www-form-urlencoded") && rjsonp.test( s.data ) && "data" - ); - - // Handle iff the expected data type is "jsonp" or we have a parameter to set - if ( jsonProp || s.dataTypes[ 0 ] === "jsonp" ) { - - // Get callback name, remembering preexisting value associated with it - callbackName = s.jsonpCallback = jQuery.isFunction( s.jsonpCallback ) ? - s.jsonpCallback() : - s.jsonpCallback; - - // Insert callback into url or form data - if ( jsonProp ) { - s[ jsonProp ] = s[ jsonProp ].replace( rjsonp, "$1" + callbackName ); - } else if ( s.jsonp !== false ) { - s.url += ( ajax_rquery.test( s.url ) ? "&" : "?" ) + s.jsonp + "=" + callbackName; - } - - // Use data converter to retrieve json after script execution - s.converters["script json"] = function() { - if ( !responseContainer ) { - jQuery.error( callbackName + " was not called" ); - } - return responseContainer[ 0 ]; - }; - - // force json dataType - s.dataTypes[ 0 ] = "json"; - - // Install callback - overwritten = window[ callbackName ]; - window[ callbackName ] = function() { - responseContainer = arguments; - }; - - // Clean-up function (fires after converters) - jqXHR.always(function() { - // Restore preexisting value - window[ callbackName ] = overwritten; - - // Save back as free - if ( s[ callbackName ] ) { - // make sure that re-using the options doesn't screw things around - s.jsonpCallback = originalSettings.jsonpCallback; - - // save the callback name for future use - oldCallbacks.push( callbackName ); - } - - // Call if it was a function and we have a response - if ( responseContainer && jQuery.isFunction( overwritten ) ) { - overwritten( responseContainer[ 0 ] ); - } - - responseContainer = overwritten = undefined; - }); - - // Delegate to script - return "script"; - } -}); -var xhrCallbacks, xhrSupported, - xhrId = 0, - // #5280: Internet Explorer will keep connections alive if we don't abort on unload - xhrOnUnloadAbort = window.ActiveXObject && function() { - // Abort all pending requests - var key; - for ( key in xhrCallbacks ) { - xhrCallbacks[ key ]( undefined, true ); - } - }; - -// Functions to create xhrs -function createStandardXHR() { - try { - return new window.XMLHttpRequest(); - } catch( e ) {} -} - -function createActiveXHR() { - try { - return new window.ActiveXObject("Microsoft.XMLHTTP"); - } catch( e ) {} -} - -// Create the request object -// (This is still attached to ajaxSettings for backward compatibility) -jQuery.ajaxSettings.xhr = window.ActiveXObject ? - /* Microsoft failed to properly - * implement the XMLHttpRequest in IE7 (can't request local files), - * so we use the ActiveXObject when it is available - * Additionally XMLHttpRequest can be disabled in IE7/IE8 so - * we need a fallback. - */ - function() { - return !this.isLocal && createStandardXHR() || createActiveXHR(); - } : - // For all other browsers, use the standard XMLHttpRequest object - createStandardXHR; - -// Determine support properties -xhrSupported = jQuery.ajaxSettings.xhr(); -jQuery.support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); -xhrSupported = jQuery.support.ajax = !!xhrSupported; - -// Create transport if the browser can provide an xhr -if ( xhrSupported ) { - - jQuery.ajaxTransport(function( s ) { - // Cross domain only allowed if supported through XMLHttpRequest - if ( !s.crossDomain || jQuery.support.cors ) { - - var callback; - - return { - send: function( headers, complete ) { - - // Get a new xhr - var handle, i, - xhr = s.xhr(); - - // Open the socket - // Passing null username, generates a login popup on Opera (#2865) - if ( s.username ) { - xhr.open( s.type, s.url, s.async, s.username, s.password ); - } else { - xhr.open( s.type, s.url, s.async ); - } - - // Apply custom fields if provided - if ( s.xhrFields ) { - for ( i in s.xhrFields ) { - xhr[ i ] = s.xhrFields[ i ]; - } - } - - // Override mime type if needed - if ( s.mimeType && xhr.overrideMimeType ) { - xhr.overrideMimeType( s.mimeType ); - } - - // X-Requested-With header - // For cross-domain requests, seeing as conditions for a preflight are - // akin to a jigsaw puzzle, we simply never set it to be sure. - // (it can always be set on a per-request basis or even using ajaxSetup) - // For same-domain requests, won't change header if already provided. - if ( !s.crossDomain && !headers["X-Requested-With"] ) { - headers["X-Requested-With"] = "XMLHttpRequest"; - } - - // Need an extra try/catch for cross domain requests in Firefox 3 - try { - for ( i in headers ) { - xhr.setRequestHeader( i, headers[ i ] ); - } - } catch( err ) {} - - // Do send the request - // This may raise an exception which is actually - // handled in jQuery.ajax (so no try/catch here) - xhr.send( ( s.hasContent && s.data ) || null ); - - // Listener - callback = function( _, isAbort ) { - var status, responseHeaders, statusText, responses; - - // Firefox throws exceptions when accessing properties - // of an xhr when a network error occurred - // http://helpful.knobs-dials.com/index.php/Component_returned_failure_code:_0x80040111_(NS_ERROR_NOT_AVAILABLE) - try { - - // Was never called and is aborted or complete - if ( callback && ( isAbort || xhr.readyState === 4 ) ) { - - // Only called once - callback = undefined; - - // Do not keep as active anymore - if ( handle ) { - xhr.onreadystatechange = jQuery.noop; - if ( xhrOnUnloadAbort ) { - delete xhrCallbacks[ handle ]; - } - } - - // If it's an abort - if ( isAbort ) { - // Abort it manually if needed - if ( xhr.readyState !== 4 ) { - xhr.abort(); - } - } else { - responses = {}; - status = xhr.status; - responseHeaders = xhr.getAllResponseHeaders(); - - // When requesting binary data, IE6-9 will throw an exception - // on any attempt to access responseText (#11426) - if ( typeof xhr.responseText === "string" ) { - responses.text = xhr.responseText; - } - - // Firefox throws an exception when accessing - // statusText for faulty cross-domain requests - try { - statusText = xhr.statusText; - } catch( e ) { - // We normalize with Webkit giving an empty statusText - statusText = ""; - } - - // Filter status for non standard behaviors - - // If the request is local and we have data: assume a success - // (success with no data won't get notified, that's the best we - // can do given current implementations) - if ( !status && s.isLocal && !s.crossDomain ) { - status = responses.text ? 200 : 404; - // IE - #1450: sometimes returns 1223 when it should be 204 - } else if ( status === 1223 ) { - status = 204; - } - } - } - } catch( firefoxAccessException ) { - if ( !isAbort ) { - complete( -1, firefoxAccessException ); - } - } - - // Call complete if needed - if ( responses ) { - complete( status, statusText, responses, responseHeaders ); - } - }; - - if ( !s.async ) { - // if we're in sync mode we fire the callback - callback(); - } else if ( xhr.readyState === 4 ) { - // (IE6 & IE7) if it's in cache and has been - // retrieved directly we need to fire the callback - setTimeout( callback ); - } else { - handle = ++xhrId; - if ( xhrOnUnloadAbort ) { - // Create the active xhrs callbacks list if needed - // and attach the unload handler - if ( !xhrCallbacks ) { - xhrCallbacks = {}; - jQuery( window ).unload( xhrOnUnloadAbort ); - } - // Add to list of active xhrs callbacks - xhrCallbacks[ handle ] = callback; - } - xhr.onreadystatechange = callback; - } - }, - - abort: function() { - if ( callback ) { - callback( undefined, true ); - } - } - }; - } - }); -} -var fxNow, timerId, - rfxtypes = /^(?:toggle|show|hide)$/, - rfxnum = new RegExp( "^(?:([+-])=|)(" + core_pnum + ")([a-z%]*)$", "i" ), - rrun = /queueHooks$/, - animationPrefilters = [ defaultPrefilter ], - tweeners = { - "*": [function( prop, value ) { - var tween = this.createTween( prop, value ), - target = tween.cur(), - parts = rfxnum.exec( value ), - unit = parts && parts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), - - // Starting value computation is required for potential unit mismatches - start = ( jQuery.cssNumber[ prop ] || unit !== "px" && +target ) && - rfxnum.exec( jQuery.css( tween.elem, prop ) ), - scale = 1, - maxIterations = 20; - - if ( start && start[ 3 ] !== unit ) { - // Trust units reported by jQuery.css - unit = unit || start[ 3 ]; - - // Make sure we update the tween properties later on - parts = parts || []; - - // Iteratively approximate from a nonzero starting point - start = +target || 1; - - do { - // If previous iteration zeroed out, double until we get *something* - // Use a string for doubling factor so we don't accidentally see scale as unchanged below - scale = scale || ".5"; - - // Adjust and apply - start = start / scale; - jQuery.style( tween.elem, prop, start + unit ); - - // Update scale, tolerating zero or NaN from tween.cur() - // And breaking the loop if scale is unchanged or perfect, or if we've just had enough - } while ( scale !== (scale = tween.cur() / target) && scale !== 1 && --maxIterations ); - } - - // Update tween properties - if ( parts ) { - start = tween.start = +start || +target || 0; - tween.unit = unit; - // If a +=/-= token was provided, we're doing a relative animation - tween.end = parts[ 1 ] ? - start + ( parts[ 1 ] + 1 ) * parts[ 2 ] : - +parts[ 2 ]; - } - - return tween; - }] - }; - -// Animations created synchronously will run synchronously -function createFxNow() { - setTimeout(function() { - fxNow = undefined; - }); - return ( fxNow = jQuery.now() ); -} - -function createTween( value, prop, animation ) { - var tween, - collection = ( tweeners[ prop ] || [] ).concat( tweeners[ "*" ] ), - index = 0, - length = collection.length; - for ( ; index < length; index++ ) { - if ( (tween = collection[ index ].call( animation, prop, value )) ) { - - // we're done with this property - return tween; - } - } -} - -function Animation( elem, properties, options ) { - var result, - stopped, - index = 0, - length = animationPrefilters.length, - deferred = jQuery.Deferred().always( function() { - // don't match elem in the :animated selector - delete tick.elem; - }), - tick = function() { - if ( stopped ) { - return false; - } - var currentTime = fxNow || createFxNow(), - remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), - // archaic crash bug won't allow us to use 1 - ( 0.5 || 0 ) (#12497) - temp = remaining / animation.duration || 0, - percent = 1 - temp, - index = 0, - length = animation.tweens.length; - - for ( ; index < length ; index++ ) { - animation.tweens[ index ].run( percent ); - } - - deferred.notifyWith( elem, [ animation, percent, remaining ]); - - if ( percent < 1 && length ) { - return remaining; - } else { - deferred.resolveWith( elem, [ animation ] ); - return false; - } - }, - animation = deferred.promise({ - elem: elem, - props: jQuery.extend( {}, properties ), - opts: jQuery.extend( true, { specialEasing: {} }, options ), - originalProperties: properties, - originalOptions: options, - startTime: fxNow || createFxNow(), - duration: options.duration, - tweens: [], - createTween: function( prop, end ) { - var tween = jQuery.Tween( elem, animation.opts, prop, end, - animation.opts.specialEasing[ prop ] || animation.opts.easing ); - animation.tweens.push( tween ); - return tween; - }, - stop: function( gotoEnd ) { - var index = 0, - // if we are going to the end, we want to run all the tweens - // otherwise we skip this part - length = gotoEnd ? animation.tweens.length : 0; - if ( stopped ) { - return this; - } - stopped = true; - for ( ; index < length ; index++ ) { - animation.tweens[ index ].run( 1 ); - } - - // resolve when we played the last frame - // otherwise, reject - if ( gotoEnd ) { - deferred.resolveWith( elem, [ animation, gotoEnd ] ); - } else { - deferred.rejectWith( elem, [ animation, gotoEnd ] ); - } - return this; - } - }), - props = animation.props; - - propFilter( props, animation.opts.specialEasing ); - - for ( ; index < length ; index++ ) { - result = animationPrefilters[ index ].call( animation, elem, props, animation.opts ); - if ( result ) { - return result; - } - } - - jQuery.map( props, createTween, animation ); - - if ( jQuery.isFunction( animation.opts.start ) ) { - animation.opts.start.call( elem, animation ); - } - - jQuery.fx.timer( - jQuery.extend( tick, { - elem: elem, - anim: animation, - queue: animation.opts.queue - }) - ); - - // attach callbacks from options - return animation.progress( animation.opts.progress ) - .done( animation.opts.done, animation.opts.complete ) - .fail( animation.opts.fail ) - .always( animation.opts.always ); -} - -function propFilter( props, specialEasing ) { - var index, name, easing, value, hooks; - - // camelCase, specialEasing and expand cssHook pass - for ( index in props ) { - name = jQuery.camelCase( index ); - easing = specialEasing[ name ]; - value = props[ index ]; - if ( jQuery.isArray( value ) ) { - easing = value[ 1 ]; - value = props[ index ] = value[ 0 ]; - } - - if ( index !== name ) { - props[ name ] = value; - delete props[ index ]; - } - - hooks = jQuery.cssHooks[ name ]; - if ( hooks && "expand" in hooks ) { - value = hooks.expand( value ); - delete props[ name ]; - - // not quite $.extend, this wont overwrite keys already present. - // also - reusing 'index' from above because we have the correct "name" - for ( index in value ) { - if ( !( index in props ) ) { - props[ index ] = value[ index ]; - specialEasing[ index ] = easing; - } - } - } else { - specialEasing[ name ] = easing; - } - } -} - -jQuery.Animation = jQuery.extend( Animation, { - - tweener: function( props, callback ) { - if ( jQuery.isFunction( props ) ) { - callback = props; - props = [ "*" ]; - } else { - props = props.split(" "); - } - - var prop, - index = 0, - length = props.length; - - for ( ; index < length ; index++ ) { - prop = props[ index ]; - tweeners[ prop ] = tweeners[ prop ] || []; - tweeners[ prop ].unshift( callback ); - } - }, - - prefilter: function( callback, prepend ) { - if ( prepend ) { - animationPrefilters.unshift( callback ); - } else { - animationPrefilters.push( callback ); - } - } -}); - -function defaultPrefilter( elem, props, opts ) { - /* jshint validthis: true */ - var prop, value, toggle, tween, hooks, oldfire, - anim = this, - orig = {}, - style = elem.style, - hidden = elem.nodeType && isHidden( elem ), - dataShow = jQuery._data( elem, "fxshow" ); - - // handle queue: false promises - if ( !opts.queue ) { - hooks = jQuery._queueHooks( elem, "fx" ); - if ( hooks.unqueued == null ) { - hooks.unqueued = 0; - oldfire = hooks.empty.fire; - hooks.empty.fire = function() { - if ( !hooks.unqueued ) { - oldfire(); - } - }; - } - hooks.unqueued++; - - anim.always(function() { - // doing this makes sure that the complete handler will be called - // before this completes - anim.always(function() { - hooks.unqueued--; - if ( !jQuery.queue( elem, "fx" ).length ) { - hooks.empty.fire(); - } - }); - }); - } - - // height/width overflow pass - if ( elem.nodeType === 1 && ( "height" in props || "width" in props ) ) { - // Make sure that nothing sneaks out - // Record all 3 overflow attributes because IE does not - // change the overflow attribute when overflowX and - // overflowY are set to the same value - opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; - - // Set display property to inline-block for height/width - // animations on inline elements that are having width/height animated - if ( jQuery.css( elem, "display" ) === "inline" && - jQuery.css( elem, "float" ) === "none" ) { - - // inline-level elements accept inline-block; - // block-level elements need to be inline with layout - if ( !jQuery.support.inlineBlockNeedsLayout || css_defaultDisplay( elem.nodeName ) === "inline" ) { - style.display = "inline-block"; - - } else { - style.zoom = 1; - } - } - } - - if ( opts.overflow ) { - style.overflow = "hidden"; - if ( !jQuery.support.shrinkWrapBlocks ) { - anim.always(function() { - style.overflow = opts.overflow[ 0 ]; - style.overflowX = opts.overflow[ 1 ]; - style.overflowY = opts.overflow[ 2 ]; - }); - } - } - - - // show/hide pass - for ( prop in props ) { - value = props[ prop ]; - if ( rfxtypes.exec( value ) ) { - delete props[ prop ]; - toggle = toggle || value === "toggle"; - if ( value === ( hidden ? "hide" : "show" ) ) { - continue; - } - orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); - } - } - - if ( !jQuery.isEmptyObject( orig ) ) { - if ( dataShow ) { - if ( "hidden" in dataShow ) { - hidden = dataShow.hidden; - } - } else { - dataShow = jQuery._data( elem, "fxshow", {} ); - } - - // store state if its toggle - enables .stop().toggle() to "reverse" - if ( toggle ) { - dataShow.hidden = !hidden; - } - if ( hidden ) { - jQuery( elem ).show(); - } else { - anim.done(function() { - jQuery( elem ).hide(); - }); - } - anim.done(function() { - var prop; - jQuery._removeData( elem, "fxshow" ); - for ( prop in orig ) { - jQuery.style( elem, prop, orig[ prop ] ); - } - }); - for ( prop in orig ) { - tween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); - - if ( !( prop in dataShow ) ) { - dataShow[ prop ] = tween.start; - if ( hidden ) { - tween.end = tween.start; - tween.start = prop === "width" || prop === "height" ? 1 : 0; - } - } - } - } -} - -function Tween( elem, options, prop, end, easing ) { - return new Tween.prototype.init( elem, options, prop, end, easing ); -} -jQuery.Tween = Tween; - -Tween.prototype = { - constructor: Tween, - init: function( elem, options, prop, end, easing, unit ) { - this.elem = elem; - this.prop = prop; - this.easing = easing || "swing"; - this.options = options; - this.start = this.now = this.cur(); - this.end = end; - this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); - }, - cur: function() { - var hooks = Tween.propHooks[ this.prop ]; - - return hooks && hooks.get ? - hooks.get( this ) : - Tween.propHooks._default.get( this ); - }, - run: function( percent ) { - var eased, - hooks = Tween.propHooks[ this.prop ]; - - if ( this.options.duration ) { - this.pos = eased = jQuery.easing[ this.easing ]( - percent, this.options.duration * percent, 0, 1, this.options.duration - ); - } else { - this.pos = eased = percent; - } - this.now = ( this.end - this.start ) * eased + this.start; - - if ( this.options.step ) { - this.options.step.call( this.elem, this.now, this ); - } - - if ( hooks && hooks.set ) { - hooks.set( this ); - } else { - Tween.propHooks._default.set( this ); - } - return this; - } -}; - -Tween.prototype.init.prototype = Tween.prototype; - -Tween.propHooks = { - _default: { - get: function( tween ) { - var result; - - if ( tween.elem[ tween.prop ] != null && - (!tween.elem.style || tween.elem.style[ tween.prop ] == null) ) { - return tween.elem[ tween.prop ]; - } - - // passing an empty string as a 3rd parameter to .css will automatically - // attempt a parseFloat and fallback to a string if the parse fails - // so, simple values such as "10px" are parsed to Float. - // complex values such as "rotate(1rad)" are returned as is. - result = jQuery.css( tween.elem, tween.prop, "" ); - // Empty strings, null, undefined and "auto" are converted to 0. - return !result || result === "auto" ? 0 : result; - }, - set: function( tween ) { - // use step hook for back compat - use cssHook if its there - use .style if its - // available and use plain properties where available - if ( jQuery.fx.step[ tween.prop ] ) { - jQuery.fx.step[ tween.prop ]( tween ); - } else if ( tween.elem.style && ( tween.elem.style[ jQuery.cssProps[ tween.prop ] ] != null || jQuery.cssHooks[ tween.prop ] ) ) { - jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); - } else { - tween.elem[ tween.prop ] = tween.now; - } - } - } -}; - -// Support: IE <=9 -// Panic based approach to setting things on disconnected nodes - -Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { - set: function( tween ) { - if ( tween.elem.nodeType && tween.elem.parentNode ) { - tween.elem[ tween.prop ] = tween.now; - } - } -}; - -jQuery.each([ "toggle", "show", "hide" ], function( i, name ) { - var cssFn = jQuery.fn[ name ]; - jQuery.fn[ name ] = function( speed, easing, callback ) { - return speed == null || typeof speed === "boolean" ? - cssFn.apply( this, arguments ) : - this.animate( genFx( name, true ), speed, easing, callback ); - }; -}); - -jQuery.fn.extend({ - fadeTo: function( speed, to, easing, callback ) { - - // show any hidden elements after setting opacity to 0 - return this.filter( isHidden ).css( "opacity", 0 ).show() - - // animate to the value specified - .end().animate({ opacity: to }, speed, easing, callback ); - }, - animate: function( prop, speed, easing, callback ) { - var empty = jQuery.isEmptyObject( prop ), - optall = jQuery.speed( speed, easing, callback ), - doAnimation = function() { - // Operate on a copy of prop so per-property easing won't be lost - var anim = Animation( this, jQuery.extend( {}, prop ), optall ); - - // Empty animations, or finishing resolves immediately - if ( empty || jQuery._data( this, "finish" ) ) { - anim.stop( true ); - } - }; - doAnimation.finish = doAnimation; - - return empty || optall.queue === false ? - this.each( doAnimation ) : - this.queue( optall.queue, doAnimation ); - }, - stop: function( type, clearQueue, gotoEnd ) { - var stopQueue = function( hooks ) { - var stop = hooks.stop; - delete hooks.stop; - stop( gotoEnd ); - }; - - if ( typeof type !== "string" ) { - gotoEnd = clearQueue; - clearQueue = type; - type = undefined; - } - if ( clearQueue && type !== false ) { - this.queue( type || "fx", [] ); - } - - return this.each(function() { - var dequeue = true, - index = type != null && type + "queueHooks", - timers = jQuery.timers, - data = jQuery._data( this ); - - if ( index ) { - if ( data[ index ] && data[ index ].stop ) { - stopQueue( data[ index ] ); - } - } else { - for ( index in data ) { - if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { - stopQueue( data[ index ] ); - } - } - } - - for ( index = timers.length; index--; ) { - if ( timers[ index ].elem === this && (type == null || timers[ index ].queue === type) ) { - timers[ index ].anim.stop( gotoEnd ); - dequeue = false; - timers.splice( index, 1 ); - } - } - - // start the next in the queue if the last step wasn't forced - // timers currently will call their complete callbacks, which will dequeue - // but only if they were gotoEnd - if ( dequeue || !gotoEnd ) { - jQuery.dequeue( this, type ); - } - }); - }, - finish: function( type ) { - if ( type !== false ) { - type = type || "fx"; - } - return this.each(function() { - var index, - data = jQuery._data( this ), - queue = data[ type + "queue" ], - hooks = data[ type + "queueHooks" ], - timers = jQuery.timers, - length = queue ? queue.length : 0; - - // enable finishing flag on private data - data.finish = true; - - // empty the queue first - jQuery.queue( this, type, [] ); - - if ( hooks && hooks.stop ) { - hooks.stop.call( this, true ); - } - - // look for any active animations, and finish them - for ( index = timers.length; index--; ) { - if ( timers[ index ].elem === this && timers[ index ].queue === type ) { - timers[ index ].anim.stop( true ); - timers.splice( index, 1 ); - } - } - - // look for any animations in the old queue and finish them - for ( index = 0; index < length; index++ ) { - if ( queue[ index ] && queue[ index ].finish ) { - queue[ index ].finish.call( this ); - } - } - - // turn off finishing flag - delete data.finish; - }); - } -}); - -// Generate parameters to create a standard animation -function genFx( type, includeWidth ) { - var which, - attrs = { height: type }, - i = 0; - - // if we include width, step value is 1 to do all cssExpand values, - // if we don't include width, step value is 2 to skip over Left and Right - includeWidth = includeWidth? 1 : 0; - for( ; i < 4 ; i += 2 - includeWidth ) { - which = cssExpand[ i ]; - attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; - } - - if ( includeWidth ) { - attrs.opacity = attrs.width = type; - } - - return attrs; -} - -// Generate shortcuts for custom animations -jQuery.each({ - slideDown: genFx("show"), - slideUp: genFx("hide"), - slideToggle: genFx("toggle"), - fadeIn: { opacity: "show" }, - fadeOut: { opacity: "hide" }, - fadeToggle: { opacity: "toggle" } -}, function( name, props ) { - jQuery.fn[ name ] = function( speed, easing, callback ) { - return this.animate( props, speed, easing, callback ); - }; -}); - -jQuery.speed = function( speed, easing, fn ) { - var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { - complete: fn || !fn && easing || - jQuery.isFunction( speed ) && speed, - duration: speed, - easing: fn && easing || easing && !jQuery.isFunction( easing ) && easing - }; - - opt.duration = jQuery.fx.off ? 0 : typeof opt.duration === "number" ? opt.duration : - opt.duration in jQuery.fx.speeds ? jQuery.fx.speeds[ opt.duration ] : jQuery.fx.speeds._default; - - // normalize opt.queue - true/undefined/null -> "fx" - if ( opt.queue == null || opt.queue === true ) { - opt.queue = "fx"; - } - - // Queueing - opt.old = opt.complete; - - opt.complete = function() { - if ( jQuery.isFunction( opt.old ) ) { - opt.old.call( this ); - } - - if ( opt.queue ) { - jQuery.dequeue( this, opt.queue ); - } - }; - - return opt; -}; - -jQuery.easing = { - linear: function( p ) { - return p; - }, - swing: function( p ) { - return 0.5 - Math.cos( p*Math.PI ) / 2; - } -}; - -jQuery.timers = []; -jQuery.fx = Tween.prototype.init; -jQuery.fx.tick = function() { - var timer, - timers = jQuery.timers, - i = 0; - - fxNow = jQuery.now(); - - for ( ; i < timers.length; i++ ) { - timer = timers[ i ]; - // Checks the timer has not already been removed - if ( !timer() && timers[ i ] === timer ) { - timers.splice( i--, 1 ); - } - } - - if ( !timers.length ) { - jQuery.fx.stop(); - } - fxNow = undefined; -}; - -jQuery.fx.timer = function( timer ) { - if ( timer() && jQuery.timers.push( timer ) ) { - jQuery.fx.start(); - } -}; - -jQuery.fx.interval = 13; - -jQuery.fx.start = function() { - if ( !timerId ) { - timerId = setInterval( jQuery.fx.tick, jQuery.fx.interval ); - } -}; - -jQuery.fx.stop = function() { - clearInterval( timerId ); - timerId = null; -}; - -jQuery.fx.speeds = { - slow: 600, - fast: 200, - // Default speed - _default: 400 -}; - -// Back Compat <1.8 extension point -jQuery.fx.step = {}; - -if ( jQuery.expr && jQuery.expr.filters ) { - jQuery.expr.filters.animated = function( elem ) { - return jQuery.grep(jQuery.timers, function( fn ) { - return elem === fn.elem; - }).length; - }; -} -jQuery.fn.offset = function( options ) { - if ( arguments.length ) { - return options === undefined ? - this : - this.each(function( i ) { - jQuery.offset.setOffset( this, options, i ); - }); - } - - var docElem, win, - box = { top: 0, left: 0 }, - elem = this[ 0 ], - doc = elem && elem.ownerDocument; - - if ( !doc ) { - return; - } - - docElem = doc.documentElement; - - // Make sure it's not a disconnected DOM node - if ( !jQuery.contains( docElem, elem ) ) { - return box; - } - - // If we don't have gBCR, just use 0,0 rather than error - // BlackBerry 5, iOS 3 (original iPhone) - if ( typeof elem.getBoundingClientRect !== core_strundefined ) { - box = elem.getBoundingClientRect(); - } - win = getWindow( doc ); - return { - top: box.top + ( win.pageYOffset || docElem.scrollTop ) - ( docElem.clientTop || 0 ), - left: box.left + ( win.pageXOffset || docElem.scrollLeft ) - ( docElem.clientLeft || 0 ) - }; -}; - -jQuery.offset = { - - setOffset: function( elem, options, i ) { - var position = jQuery.css( elem, "position" ); - - // set position first, in-case top/left are set even on static elem - if ( position === "static" ) { - elem.style.position = "relative"; - } - - var curElem = jQuery( elem ), - curOffset = curElem.offset(), - curCSSTop = jQuery.css( elem, "top" ), - curCSSLeft = jQuery.css( elem, "left" ), - calculatePosition = ( position === "absolute" || position === "fixed" ) && jQuery.inArray("auto", [curCSSTop, curCSSLeft]) > -1, - props = {}, curPosition = {}, curTop, curLeft; - - // need to be able to calculate position if either top or left is auto and position is either absolute or fixed - if ( calculatePosition ) { - curPosition = curElem.position(); - curTop = curPosition.top; - curLeft = curPosition.left; - } else { - curTop = parseFloat( curCSSTop ) || 0; - curLeft = parseFloat( curCSSLeft ) || 0; - } - - if ( jQuery.isFunction( options ) ) { - options = options.call( elem, i, curOffset ); - } - - if ( options.top != null ) { - props.top = ( options.top - curOffset.top ) + curTop; - } - if ( options.left != null ) { - props.left = ( options.left - curOffset.left ) + curLeft; - } - - if ( "using" in options ) { - options.using.call( elem, props ); - } else { - curElem.css( props ); - } - } -}; - - -jQuery.fn.extend({ - - position: function() { - if ( !this[ 0 ] ) { - return; - } - - var offsetParent, offset, - parentOffset = { top: 0, left: 0 }, - elem = this[ 0 ]; - - // fixed elements are offset from window (parentOffset = {top:0, left: 0}, because it is it's only offset parent - if ( jQuery.css( elem, "position" ) === "fixed" ) { - // we assume that getBoundingClientRect is available when computed position is fixed - offset = elem.getBoundingClientRect(); - } else { - // Get *real* offsetParent - offsetParent = this.offsetParent(); - - // Get correct offsets - offset = this.offset(); - if ( !jQuery.nodeName( offsetParent[ 0 ], "html" ) ) { - parentOffset = offsetParent.offset(); - } - - // Add offsetParent borders - parentOffset.top += jQuery.css( offsetParent[ 0 ], "borderTopWidth", true ); - parentOffset.left += jQuery.css( offsetParent[ 0 ], "borderLeftWidth", true ); - } - - // Subtract parent offsets and element margins - // note: when an element has margin: auto the offsetLeft and marginLeft - // are the same in Safari causing offset.left to incorrectly be 0 - return { - top: offset.top - parentOffset.top - jQuery.css( elem, "marginTop", true ), - left: offset.left - parentOffset.left - jQuery.css( elem, "marginLeft", true) - }; - }, - - offsetParent: function() { - return this.map(function() { - var offsetParent = this.offsetParent || docElem; - while ( offsetParent && ( !jQuery.nodeName( offsetParent, "html" ) && jQuery.css( offsetParent, "position") === "static" ) ) { - offsetParent = offsetParent.offsetParent; - } - return offsetParent || docElem; - }); - } -}); - - -// Create scrollLeft and scrollTop methods -jQuery.each( {scrollLeft: "pageXOffset", scrollTop: "pageYOffset"}, function( method, prop ) { - var top = /Y/.test( prop ); - - jQuery.fn[ method ] = function( val ) { - return jQuery.access( this, function( elem, method, val ) { - var win = getWindow( elem ); - - if ( val === undefined ) { - return win ? (prop in win) ? win[ prop ] : - win.document.documentElement[ method ] : - elem[ method ]; - } - - if ( win ) { - win.scrollTo( - !top ? val : jQuery( win ).scrollLeft(), - top ? val : jQuery( win ).scrollTop() - ); - - } else { - elem[ method ] = val; - } - }, method, val, arguments.length, null ); - }; -}); - -function getWindow( elem ) { - return jQuery.isWindow( elem ) ? - elem : - elem.nodeType === 9 ? - elem.defaultView || elem.parentWindow : - false; -} -// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods -jQuery.each( { Height: "height", Width: "width" }, function( name, type ) { - jQuery.each( { padding: "inner" + name, content: type, "": "outer" + name }, function( defaultExtra, funcName ) { - // margin is only for outerHeight, outerWidth - jQuery.fn[ funcName ] = function( margin, value ) { - var chainable = arguments.length && ( defaultExtra || typeof margin !== "boolean" ), - extra = defaultExtra || ( margin === true || value === true ? "margin" : "border" ); - - return jQuery.access( this, function( elem, type, value ) { - var doc; - - if ( jQuery.isWindow( elem ) ) { - // As of 5/8/2012 this will yield incorrect results for Mobile Safari, but there - // isn't a whole lot we can do. See pull request at this URL for discussion: - // https://github.com/jquery/jquery/pull/764 - return elem.document.documentElement[ "client" + name ]; - } - - // Get document width or height - if ( elem.nodeType === 9 ) { - doc = elem.documentElement; - - // Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height], whichever is greatest - // unfortunately, this causes bug #3838 in IE6/8 only, but there is currently no good, small way to fix it. - return Math.max( - elem.body[ "scroll" + name ], doc[ "scroll" + name ], - elem.body[ "offset" + name ], doc[ "offset" + name ], - doc[ "client" + name ] - ); - } - - return value === undefined ? - // Get width or height on the element, requesting but not forcing parseFloat - jQuery.css( elem, type, extra ) : - - // Set width or height on the element - jQuery.style( elem, type, value, extra ); - }, type, chainable ? margin : undefined, chainable, null ); - }; - }); -}); -// Limit scope pollution from any deprecated API -// (function() { - -// The number of elements contained in the matched element set -jQuery.fn.size = function() { - return this.length; -}; - -jQuery.fn.andSelf = jQuery.fn.addBack; - -// })(); -if ( typeof module === "object" && module && typeof module.exports === "object" ) { - // Expose jQuery as module.exports in loaders that implement the Node - // module pattern (including browserify). Do not create the global, since - // the user will be storing it themselves locally, and globals are frowned - // upon in the Node module world. - module.exports = jQuery; -} else { - // Otherwise expose jQuery to the global object as usual - window.jQuery = window.$ = jQuery; - - // Register as a named AMD module, since jQuery can be concatenated with other - // files that may use define, but not via a proper concatenation script that - // understands anonymous AMD modules. A named AMD is safest and most robust - // way to register. Lowercase jquery is used because AMD module names are - // derived from file names, and jQuery is normally delivered in a lowercase - // file name. Do this after creating the global so that if an AMD module wants - // to call noConflict to hide this version of jQuery, it will work. - if ( typeof define === "function" && define.amd ) { - define( "jquery", [], function () { return jQuery; } ); - } -} - -})( window );
\ No newline at end of file diff --git a/minionlivesmatter/templates/assets/sass/hipster_cards.scss b/minionlivesmatter/templates/assets/sass/hipster_cards.scss deleted file mode 100755 index 4af9e0b..0000000 --- a/minionlivesmatter/templates/assets/sass/hipster_cards.scss +++ /dev/null @@ -1,22 +0,0 @@ -@import "hipster_cards/variables"; -@import "hipster_cards/mixins"; - -@import "hipster_cards/typography"; - -// Core CSS -@import "hipster_cards/misc"; -@import "hipster_cards/buttons"; - -@import "hipster_cards/labels"; -@import "hipster_cards/sections"; - -// Fancy Stuff -@import "hipster_cards/social-buttons"; - -@import "hipster_cards/cards"; - -@import "hipster_cards/responsive"; - - - - diff --git a/minionlivesmatter/templates/assets/sass/hipster_cards/_buttons.scss b/minionlivesmatter/templates/assets/sass/hipster_cards/_buttons.scss deleted file mode 100755 index 64020dc..0000000 --- a/minionlivesmatter/templates/assets/sass/hipster_cards/_buttons.scss +++ /dev/null @@ -1,108 +0,0 @@ -.btn{ - border-width: $border-thin; - background-color: $transparent-bg; - font-weight: $font-weight-normal; - - @include opacity(.8); - padding: $padding-base-vertical $padding-base-horizontal; - - @include btn-styles($default-color, $default-states-color); - - &:hover, - &:focus{ - @include opacity(1); - outline: 0 !important; - } - &:active, - &.active, - .open > &.dropdown-toggle { - @include box-shadow(none); - outline: 0 !important; - } - - &.btn-icon{ - padding: $padding-base-vertical; - } - -} - -// Apply the mixin to the buttons -//.btn-default { @include btn-styles($default-color, $default-states-color); } -.btn-primary { @include btn-styles($primary-color, $primary-states-color); } -.btn-success { @include btn-styles($success-color, $success-states-color); } -.btn-info { @include btn-styles($info-color, $info-states-color); } -.btn-warning { @include btn-styles($warning-color, $warning-states-color); } -.btn-danger { @include btn-styles($danger-color, $danger-states-color); } -.btn-neutral { - @include btn-styles($white-color, $white-color); - - &:active, - &.active, - .open > &.dropdown-toggle{ - background-color: $white-color; - color: $default-color; - } - - &.btn-fill, - &.btn-fill:hover, - &.btn-fill:focus{ - color: $default-color; - } - - &.btn-simple:active, - &.btn-simple.active{ - background-color: transparent; - } -} - -.btn{ - &:disabled, - &[disabled], - &.disabled{ - @include opacity(.5); - } -} -.btn-round{ - border-width: $border-thin; - border-radius: $btn-round-radius !important; - padding: $padding-round-vertical $padding-round-horizontal; - - &.btn-icon{ - padding: $padding-round-vertical; - } -} -.btn-simple{ - border: $none; - font-size: $font-size-medium; - padding: $padding-base-vertical $padding-base-horizontal; - - &.btn-icon{ - padding: $padding-base-vertical; - } -} -.btn-lg{ - @include btn-size($padding-large-vertical, $padding-large-horizontal, $font-size-large, $border-radius-large); - font-weight: $font-weight-normal; -} -.btn-sm{ - @include btn-size($padding-small-vertical, $padding-small-horizontal, $font-size-small, $border-radius-small); -} -.btn-xs { - @include btn-size($padding-xs-vertical, $padding-xs-horizontal, $font-size-small, $border-radius-small); -} -.btn-wd { - min-width: 140px; -} - -.btn-group.select{ - width: 100%; -} -.btn-group.select .btn{ - text-align: left; -} -.btn-group.select .caret{ - position: absolute; - top: 50%; - margin-top: -1px; - right: 8px; -} diff --git a/minionlivesmatter/templates/assets/sass/hipster_cards/_cards.scss b/minionlivesmatter/templates/assets/sass/hipster_cards/_cards.scss deleted file mode 100644 index c28deea..0000000 --- a/minionlivesmatter/templates/assets/sass/hipster_cards/_cards.scss +++ /dev/null @@ -1,466 +0,0 @@ -.card{ - border-radius: $border-radius-small; - box-shadow: 0 1px 4px rgba(0,0,0,.23); - background-color: #FFFFFF; - margin-bottom: 20px; - position: relative; - - max-width: 320px; - margin-left: auto; - margin-right: auto; - - .title, - .stats, - .category, - .description, - .social-line, - .actions, - .content, - .footer, - small, - a{ - position: relative; - z-index: 3; - } - - a{ - color: $black-hr; - - &:hover, - &:focus{ - color: $black-color; - } - } - - &[data-radius="none"]{ - border-radius: $border-radius-none; - - .header{ - border-radius: $border-radius-none-top; - - img{ - border-radius: $border-radius-none-top; - } - } - } - - &.card-plain{ - box-shadow: none; - } - - .btn{ - text-shadow: none; - font-weight: bold; - } - - .title-uppercase{ - text-transform: uppercase; - } - - .header{ - position: relative; - border-radius: $border-radius-small-top; - height: 200px; - z-index: 3; - - img{ - @include opacity(0); - display: none; - } - - .category{ - padding: 15px; - } - - .social-line{ - position: absolute; - bottom: 0; - width: 100%; - @include opacity(0); - display: block; - transition: all 0.4s; - -webkit-transition: all 0.4s; - - .btn, - a{ - font-family: "Roboto","Helvetica","Arial", sans-serif; - font-weight: 400; - } - - &.social-line-visible{ - @include opacity(1); - } - } - } - - .content{ - .price{ - border: 2px solid rgba(255,255,255,.7); - color: white; - border-radius: 50%; - width: 152px; - height: 152px; - margin: 50px auto; - text-align: center; - vertical-align: middle; - line-height: 200px; - - h4{ - margin: 5px 0 0; - font-size: 36px; - } - - h6{ - margin-top: 45px; - font-size: 16px; - } - - .currency{ - font-size: 22px; - font-weight: normal; - } - } - } - .actions{ - padding: 10px 15px; - } - - .social-line{ - .btn{ - float: left; - display: block; - - transition: all 0.2s; - -webkit-transition: all 0.2s; - } - - .btn-social{ - border: 1px solid #EEEEEE; - border-radius: 0; - border-left: 0; - background-color: #FFFFFF; - padding: 12px 4px; - - &:last-child{ - border-right: 0; - } - } - - &[data-buttons="5"]{ - .btn{ - width: 20%; - } - } - - &[data-buttons="4"]{ - .btn{ - width: 25%; - } - } - - &[data-buttons="3"]{ - .btn{ - width: 33.3333333%; - } - } - - &[data-buttons="2"]{ - .btn{ - width: 50%; - } - } - - &:after{ - clear: both; - display: table; - content: " "; - } - - } - - .filter, - .header .actions{ - position: absolute; - z-index: 2; - background-color: rgba(0,0,0,.76); - top: 0; - left: 0; - width: 100%; - height: 100%; - text-align: center; - - @include opacity(0); - } - - .header .actions{ - background-color: transparent; - z-index: 3; - - .btn{ - @include vertical-align(); - } - } - - &:hover{ - .filter{ - @include opacity(.7); - } - - .header .social-line, - .header .actions{ - @include opacity(1); - } - } - - .category, - .label{ - font-size: $font-size-base; - margin-bottom: 0px; - i{ - font-size: $font-paragraph; - } - } - .category{ - color: $dark-gray; - } - .label{ - text-shadow: none; - } - .title{ - color: $black-color; - } - - > .title{ - margin: 0; - padding: 30px 0 0; - } - - .content{ - padding: 15px 15px 5px 15px; - - .title{ - margin: 10px 0 20px 0; - } - - .category ~ .title{ - margin-top: 0px; - } - - .description ~ .title { - margin-top: -10px; - } - } - - .description{ - font-size: $font-paragraph; - color: $dark-gray; - } - - h6{ - font-size: $font-size-small; - margin: 0; - } - - .footer{ - padding: 0 15px 15px; - - .social-line{ - .btn:first-child{ - border-radius: 0 0 0 6px; - } - .btn:last-child{ - border-radius: 0 0 6px 0; - } - } - } - - - &.card-separator:after{ - height: 100%; - right: -15px; - top: 0; - width: 1px; - background-color: $medium-gray; - content: ""; - position: absolute; - } - - .icon{ - display: block; - margin: 0 auto; - top: 50%; - position: relative; - transform: translateY(-50%); - -webkit-transform: translateY(-50%); - text-align: center; - - i{ - font-size: 60px; - border: 2px solid rgba(0,0,0, 0.3); - padding: 18px; - border-radius: 50%; - } - } - - .col-lg-4 &{ - .icon{ - i{ - font-size: 80px; - padding: 22px; - } - } - } - - &.card-with-border{ - .content{ - padding: 15px 15px 25px 15px; - } - - .footer{ - padding-bottom: 25px; - } - } - - &.card-with-border:after{ - position: absolute; - display: block; - width: calc(100% - 10px); - height: calc(100% - 10px); - content: ""; - top: 5px; - left: 5px; - border: 1px solid rgba(0,0,0, 0.15); - z-index: 1; - border-radius: 5px; - } - - &.card-just-text{ - .content{ - padding: 50px 65px; - text-align: center; - } - } - - &[data-background="image"], - &[data-background="color"]{ - .image{ - border-radius: $border-radius-large; - } - - .title{ - font-weight: bold; - } - - .filter{ - border-radius: $border-radius-large; - } - - .title, - .stats, - .category, - .description, - .content, - .footer, - small, - a{ - color: $white-color; - } - - a:hover, - a:focus{ - color: $white-color; - } - - .icon{ - i{ - color: #FFFFFF; - border: 2px solid rgba(255,255,255,.6); - } - } - - &.card-with-border:after{ - border: 1px solid rgba(255, 255, 255, 0.45); - } - } - - &[data-background="image"]{ - text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5); - - .filter{ - @include opacity(0.55); - } - - &:hover .filter{ - @include opacity(0.75); - } - - } - - &[data-color="blue"]{ - @include card-radial-gradient ($icon-blue-color-top, $icon-blue-color-bottom); - } - - &[data-color="azure"]{ - @include card-radial-gradient ($icon-azure-color-top, $icon-azure-color-bottom); - } - - &[data-color="green"]{ - @include card-radial-gradient ($icon-green-color-top, $icon-green-color-bottom); - } - - &[data-color="orange"]{ - @include card-radial-gradient ($icon-orange-color-top, $icon-orange-color-bottom); - } - - &[data-color="red"]{ - @include card-radial-gradient ($icon-red-color-top, $icon-red-color-bottom); - } - - &[data-color="black"]{ - @include card-radial-gradient ($icon-black-color-top, $icon-black-color-bottom); - } -} - - -.filter.filter-white{ - @include filter($white-color); -} -.filter.filter-blue{ - @include card-radial-gradient ($icon-blue-color-top, $icon-blue-color-bottom); -} -.filter.filter-azure{ - @include card-radial-gradient ($icon-azure-color-top, $icon-azure-color-bottom); -} -.filter.filter-green{ - @include card-radial-gradient ($icon-green-color-top, $icon-green-color-bottom); -} -.filter.filter-orange{ - @include card-radial-gradient ($icon-orange-color-top, $icon-orange-color-bottom); -} -.filter.filter-red{ - @include card-radial-gradient ($icon-red-color-top, $icon-red-color-bottom); -} - -@media (min-width: 1200px){ - .card{ - .header{ - height: 265px; - } - - &[data-background="color"]{ - .header{ - height: 230px; - } - } - } - - .col-md-3 .card, - .col-sm-3 .card, - .col-xs-3 .card, - .col-lg-3 .card{ - .header{ - height: 185px; - } - } -} - diff --git a/minionlivesmatter/templates/assets/sass/hipster_cards/_labels.scss b/minionlivesmatter/templates/assets/sass/hipster_cards/_labels.scss deleted file mode 100644 index ecc6fb4..0000000 --- a/minionlivesmatter/templates/assets/sass/hipster_cards/_labels.scss +++ /dev/null @@ -1,24 +0,0 @@ -/* Labels & Progress-bar */ -.label{ - padding: 10px 13px; - border-radius: 2px; - font-weight: 500; - font-size: 11px; - text-transform: uppercase; - display: inline-block; -} -.label-primary{ - background-color: #3472F7; -} -.label-info{ - background-color: #2CA8FF; -} -.label-success{ - background-color: #05AE0E; -} -.label-warning{ - background-color: #FF9500; -} -.label-danger{ - background-color: #FF3B30; -}
\ No newline at end of file diff --git a/minionlivesmatter/templates/assets/sass/hipster_cards/_misc.scss b/minionlivesmatter/templates/assets/sass/hipster_cards/_misc.scss deleted file mode 100755 index ec1bad8..0000000 --- a/minionlivesmatter/templates/assets/sass/hipster_cards/_misc.scss +++ /dev/null @@ -1,56 +0,0 @@ -/* General overwrite */ -body{ - font-family: "Helvetica Neue","Open Sans",Arial,sans-serif; - background-color: #cccccc; -} -a{ - color: $info-color; - - &:hover, &:focus{ - color: $info-states-color; - text-decoration: none; - } -} - -a:focus, a:active, -button::-moz-focus-inner, -input[type="reset"]::-moz-focus-inner, -input[type="button"]::-moz-focus-inner, -input[type="submit"]::-moz-focus-inner, -select::-moz-focus-inner, -input[type="file"] > input[type="button"]::-moz-focus-inner { - outline : 0; -} -.ui-slider-handle:focus, -.navbar-toggle { - outline : 0 !important; -} - -/* Animations */ -.form-control, -.input-group-addon, -.tagsinput, -.navbar, -.navbar .alert{ - @include transition($general-transition-time, linear); -} -.tagsinput .tag, -.tagsinput-remove-link, -.filter, -.btn-hover, -[data-toggle="collapse"] i{ - @include transition($fast-transition-time, linear); -} - -.btn-morphing .fa, -.btn-morphing .circle, -.gsdk-collapse{ - @include transition($slow-transition-time, linear); -} - -.margin-top{ - margin-top: 50px; -} -.btn-center{ - text-align: center; -} diff --git a/minionlivesmatter/templates/assets/sass/hipster_cards/_mixins.scss b/minionlivesmatter/templates/assets/sass/hipster_cards/_mixins.scss deleted file mode 100644 index 0e5c70d..0000000 --- a/minionlivesmatter/templates/assets/sass/hipster_cards/_mixins.scss +++ /dev/null @@ -1,15 +0,0 @@ -//Utilities - -@import "mixins/transparency"; -@import "mixins/vendor-prefixes"; - -//Components - -@import "mixins/buttons"; - -@import "mixins/labels"; - -@import "mixins/icons"; -@import "mixins/social-buttons"; - -@import "mixins/cards";
\ No newline at end of file diff --git a/minionlivesmatter/templates/assets/sass/hipster_cards/_responsive.scss b/minionlivesmatter/templates/assets/sass/hipster_cards/_responsive.scss deleted file mode 100644 index cae571a..0000000 --- a/minionlivesmatter/templates/assets/sass/hipster_cards/_responsive.scss +++ /dev/null @@ -1,20 +0,0 @@ -/* Changes for small display */ - -@media (max-width: 767px){ - .navbar-transparent{ - padding-top: 15px; - background-color: rgba(0, 0, 0, 0.45); - } - body { - position: relative; - } - - - .social-line .btn{ - margin: $margin-bottom; - } - .card .header .social-line .btn{ - margin: 0; - } -} - diff --git a/minionlivesmatter/templates/assets/sass/hipster_cards/_sections.scss b/minionlivesmatter/templates/assets/sass/hipster_cards/_sections.scss deleted file mode 100644 index 9682b41..0000000 --- a/minionlivesmatter/templates/assets/sass/hipster_cards/_sections.scss +++ /dev/null @@ -1,12 +0,0 @@ -.section{ - padding: 30px 0; - - position: relative; - background-color: #FFFFFF; -} -.section-gray{ - background-color: #EEEEEE; -} -.section-white{ - background-color: #FFFFFF; -}
\ No newline at end of file diff --git a/minionlivesmatter/templates/assets/sass/hipster_cards/_social-buttons.scss b/minionlivesmatter/templates/assets/sass/hipster_cards/_social-buttons.scss deleted file mode 100644 index 697ed69..0000000 --- a/minionlivesmatter/templates/assets/sass/hipster_cards/_social-buttons.scss +++ /dev/null @@ -1,76 +0,0 @@ -.btn-social { - //@include btn-styles($default-color, $default-states-color); - opacity: 0.93; - padding: 8px 9px; - - .fa { - font-size: 18px; - vertical-align: middle; - display: inline-block; - } - - &.btn-round { - padding: 9px 10px; - } - - &.btn-simple { - padding: 9px 5px; - font-size: 16px; - - .fa{ - font-size: 20px; - position: relative; - top: -2px; - width: 24px; - } - } - -} - -.btn-facebook { - @include social-buttons-color($social-facebook); -} - -.btn-twitter { - @include social-buttons-color($social-twitter); -} - -.btn-pinterest { - @include social-buttons-color($social-pinterest); -} - -.btn-google { - @include social-buttons-color($social-google); -} - -.btn-linkedin { - @include social-buttons-color($social-linkedin); -} - -.btn-dribbble { - @include social-buttons-color($social-dribbble); -} - -.btn-github { - @include social-buttons-color($social-github); -} - -.btn-youtube { - @include social-buttons-color($social-youtube); -} - -.btn-stumbleupon { - @include social-buttons-color($social-stumbleupon); -} - -.btn-reddit { - @include social-buttons-color($social-reddit); -} - -.btn-tumblr { - @include social-buttons-color($social-tumblr); -} - -.btn-behance{ - @include social-buttons-color($social-behance); -}
\ No newline at end of file diff --git a/minionlivesmatter/templates/assets/sass/hipster_cards/_typography.scss b/minionlivesmatter/templates/assets/sass/hipster_cards/_typography.scss deleted file mode 100644 index a1c7dab..0000000 --- a/minionlivesmatter/templates/assets/sass/hipster_cards/_typography.scss +++ /dev/null @@ -1,78 +0,0 @@ -/* Font Smoothing */ - -.card{ - h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, p, .navbar, .brand, .btn, a, .td-name, td{ - -moz-osx-font-smoothing: grayscale; - -webkit-font-smoothing: antialiased; - font-family: "Playfair Display","Raleway","Helvetica Neue",Arial,sans-serif; - } - - h1, .h1, h2, .h2, h3, .h3, h4, .h4{ - font-weight: $font-weight-normal; - margin: $margin-large-vertical 0 $margin-base-vertical; - } - - h1, .h1 { - font-size: $font-size-h1; - } - h2, .h2{ - font-size: $font-size-h2; - } - h3, .h3{ - font-size: $font-size-h3; - margin: 20px 0 10px; - } - h4, .h4{ - font-size: $font-size-h4; - line-height: 30px; - } - h5, .h5 { - font-size: $font-size-h5; - margin-bottom: 15px; - } - h6, .h6{ - font-size: $font-size-h6; - font-weight: $font-weight-bold; - text-transform: uppercase; - } - p{ - font-size: $font-paragraph; - line-height: $line-height-general; - font-family: "Raleway","Helvetica","Arial", sans-serif; - } - - .category, - .label, - .title-modern, - .btn-modern, - .price h4{ - font-family: "Raleway","Helvetica","Arial", sans-serif; - } - - h1 small, h2 small, h3 small, h4 small, h5 small, h6 small, .h1 small, .h2 small, .h3 small, .h4 small, .h5 small, .h6 small, h1 .small, h2 .small, h3 .small, h4 .small, h5 .small, h6 .small, .h1 .small, .h2 .small, .h3 .small, .h4 .small, .h5 .small, .h6 .small { - color: $dark-gray; - font-weight: $font-weight-light; - line-height: $line-height-general; - } - - h1 small, h2 small, h3 small, h1 .small, h2 .small, h3 .small { - font-size: 60%; - } - - .text-primary, .text-primary:hover{ - color: #1D62F0 !important; - } - .text-info, .text-info:hover{ - color: #109CFF !important; - } - .text-success, .text-success:hover{ - color: #0C9C14 !important; - } - .text-warning, .text-warning:hover{ - color: #ED8D00 !important; - } - .text-danger, .text-danger:hover{ - color: #EE2D20 !important; - } -} - diff --git a/minionlivesmatter/templates/assets/sass/hipster_cards/_variables.scss b/minionlivesmatter/templates/assets/sass/hipster_cards/_variables.scss deleted file mode 100644 index c530b1c..0000000 --- a/minionlivesmatter/templates/assets/sass/hipster_cards/_variables.scss +++ /dev/null @@ -1,260 +0,0 @@ -//== Buttons -// -//## For each of Bootstrap's buttons, define text, background and border color. - -$none: 0 !default; -$border-thin: 1px !default; -$border-thick: 2px !default; - -$white-color: #FFFFFF !default; -$white-bg: #FFFFFF !default; - -$smoke-bg: #F5F5F5 !default; - -$black-bg: rgba(30,30,30,.97) !default; - -$black-color: #333333 !default; -$black-hr: #444444 !default; - -$light-gray: #E3E3E3 !default; -$medium-gray: #DDDDDD !default; -$dark-gray: #9A9A9A !default; - -$transparent-bg: transparent !default; - -$default-color: #888888 !default; -$default-bg: #888888 !default; -$default-states-color: #777777 !default; - -$primary-color: #3472F7 !default; -$primary-bg: #3472F7 !default; -$primary-states-color: #1D62F0 !default; - -$success-color: #05AE0E !default; -$success-bg: #05AE0E !default; -$success-states-color: #049F0C !default; - -$info-color: #2CA8FF !default; -$info-bg: #2CA8FF !default; -$info-states-color: #109CFF !default; - -$warning-color: #FF9500 !default; -$warning-bg: #FF9500 !default; -$warning-states-color: #ED8D00 !default; - - -$danger-color: #FF3B30 !default; -$danger-bg: #FF3B30 !default; -$danger-states-color: #EE2D20 !default; - - - -$link-disabled-color: #666666 !default; - - -/* light colors */ -$light-blue: rgba($primary-color, .2); -$light-azure: rgba($info-color, .2); -$light-green: rgba($success-color, .2); -$light-orange: rgba($warning-color, .2); -$light-red: rgba($danger-color, .2); - - -//== Components -// - -$padding-base-vertical: 8px !default; -$padding-base-horizontal: 16px !default; - -$padding-round-vertical: 9px !default; -$padding-round-horizontal: 18px !default; - -$padding-simple-vertical: 10px !default; -$padding-simple-horizontal: 18px !default; - -$padding-large-vertical: 14px !default; -$padding-large-horizontal: 30px !default; - -$padding-small-vertical: 5px !default; -$padding-small-horizontal: 10px !default; - -$padding-xs-vertical: 1px !default; -$padding-xs-horizontal: 5px !default; - -$padding-label-vertical: 2px !default; -$padding-label-horizontal: 12px !default; - -$margin-large-vertical: 30px !default; -$margin-base-vertical: 15px !default; - -$margin-bottom: 0 0 10px 0 !default; - -$border-radius-none: 0px !default; -$border-radius-small: 6px !default; -$border-radius-grande: 10px !default; -$border-radius-venti: 20px !default; - -$border-radius-small: 3px !default; -$border-radius-base: 4px !default; -$border-radius-large: 6px !default; -$border-radius-extreme: 10px !default; - -$border-radius-none-top: $border-radius-none $border-radius-none 0 0 !default; -$border-radius-none-bottom: 0 0 $border-radius-none $border-radius-none !default; - -$border-radius-small-top: $border-radius-small $border-radius-small 0 0 !default; -$border-radius-small-bottom: 0 0 $border-radius-small $border-radius-small !default; - -$btn-round-radius: 30px !default; - -$height-base: 40px !default; - -$font-size-base: 14px !default; -$font-size-small: 12px !default; -$font-size-medium: 16px !default; -$font-size-large: 18px !default; -$font-size-large-navbar: 20px !default; - -$font-size-h1: 52px !default; -$font-size-h2: 36px !default; -$font-size-h3: 28px !default; -$font-size-h4: 24px !default; -$font-size-h5: 18px !default; -$font-size-h6: 14px !default; -$font-paragraph: 16px !default; -$font-size-navbar: 16px !default; -$font-size-small: 12px !default; - -$font-weight-light: 300 !default; -$font-weight-normal: 400 !default; -$font-weight-semi: 500 !default; -$font-weight-bold: 600 !default; - -$line-height-general: 1.3 !default; -$line-height: 20px !default; -$line-height-lg: 54px !default; - - -$border-radius-top: 10px 10px 0 0 !default; -$border-radius-bottom: 0 0 10px 10px !default; - -$dropdown-shadow: 1px 2px 3px rgba(0, 0, 0, 0.125); - -$general-transition-time: 300ms !default; - -$slow-transition-time: 370ms !default; -$dropdown-coordinates: 29px -50px !default; - -$fast-transition-time: 150ms !default; -$select-coordinates: 50% -40px !default; - -$transition-linear: linear !default; -$transition-bezier: cubic-bezier(0.34, 1.61, 0.7, 1) !default; -$transition-ease: ease 0s; - -$navbar-padding-a: 10px 15px; -$navbar-margin-a: 15px 3px; - -$padding-social-a: 10px 5px; - -$navbar-margin-a-btn: 15px 3px; -$navbar-margin-a-btn-round: 16px 3px; - -$navbar-padding-a-icons: 6px 15px; -$navbar-margin-a-icons: 6px 3px; - -$navbar-padding-brand: 20px 15px; -$navbar-margin-brand: 5px 0px; - -$navbar-margin-brand-icons: 12px auto; - -$navbar-margin-btn: 15px 3px; - -$height-icon: 64px !default; -$width-icon: 64px !default; -$padding-icon: 12px !default; -$border-radius-icon: 15px !default; - -$size-icon: 64px; -$size-icon-sm: 32px; - - -$height-icon-sm: 32px; -$width-icon-sm: 32px; -$padding-icon-sm: 4px; -$border-radius-icon-sm: 7px; - -$height-icon-message: 40px; -$width-icon-message: 40px; - -$height-icon-message-sm: 20px; -$width-icon-message-sm: 20px; - - - -$white-navbar: rgba(#FFFFFF, .96); -$blue-navbar: rgba(#34ACDC, .98); -$azure-navbar: rgba(#5BCAFF, .98); -$green-navbar: rgba(#4CD964, .98); -$orange-navbar: rgba(#FF9500, .98); -$red-navbar: rgba(#FF4C40, .98); - -$icon-default-color-top: #d9d9d9 !default; -$icon-default-color-bottom: #909297 !default; - -$icon-blue-color-top: #4087ea; -$icon-blue-color-bottom: #533ce1; - -$icon-azure-color-top: #45c0fd; -$icon-azure-color-bottom: #4091ff; - -$icon-green-color-top: #a1eb3a; -$icon-green-color-bottom: #53A319; - - - -$icon-orange-color-top: #ffb33b; -$icon-orange-color-bottom: #ff5221; - -$icon-red-color-top: #ff3b30; -$icon-red-color-bottom: #bb0502; - -$icon-purple-color-top: #df55e1; -$icon-purple-color-bottom: #943bea; - -$icon-pink-color-top: #ff2a63; -$icon-pink-color-bottom: #ff2e2e; - -$icon-black-color-top: #787878; -$icon-black-color-bottom: #343434; - -$social-facebook: #3b5998; -$social-twitter: #55acee; -$social-pinterest: #cc2127; -$social-google: #dd4b39; -$social-linkedin: #0976b4; -$social-dribbble: #ea4c89; -$social-github: #333333; -$social-youtube: #e52d27; -$social-stumbleupon: #eb4924; -$social-reddit: #ff4500; -$social-tumblr: #35465c; -$social-behance: #1769ff; - - -$filter-blue: darken($primary-color, 10%); -$filter-azure: darken($info-color, 10%); -$filter-green: darken($success-color, 10%); -$filter-orange: darken($warning-color, 10%); -$filter-red: darken($danger-color, 10%); - - -$topbar-x: topbar-x !default; -$topbar-back: topbar-back !default; -$bottombar-x: bottombar-x !default; -$bottombar-back: bottombar-back !default; - - - - - diff --git a/minionlivesmatter/templates/assets/sass/hipster_cards/mixins/_buttons.scss b/minionlivesmatter/templates/assets/sass/hipster_cards/mixins/_buttons.scss deleted file mode 100644 index 8322b05..0000000 --- a/minionlivesmatter/templates/assets/sass/hipster_cards/mixins/_buttons.scss +++ /dev/null @@ -1,70 +0,0 @@ -// Mixin for generating new styles -@mixin btn-styles($btn-color, $btn-states-color) { - border-color: $btn-color; - color: $btn-color; - - &:hover, - &:focus, - &:active, - &.active, - .open > &.dropdown-toggle { - background-color: $transparent-bg; - color: $btn-states-color; - border-color: $btn-states-color; - } - - &.disabled, - &:disabled, - &[disabled], - fieldset[disabled] & { - &, - &:hover, - &:focus, - &.focus, - &:active, - &.active { - background-color: $transparent-bg; - border-color: $btn-color; - } - } - - - &.btn-fill { - color: $white-color; - background-color: $btn-color; - @include opacity(1); - - &:hover, - &:focus, - &:active, - &.active, - .open > &.dropdown-toggle{ - background-color: $btn-states-color; - color: $white-color; - } - - .caret{ - border-top-color: $white-color; - } - } - - .caret{ - border-top-color: $btn-color; - } -} - - -@mixin btn-size($padding-vertical, $padding-horizontal, $font-size, $border){ - font-size: $font-size; - border-radius: $border; - padding: $padding-vertical $padding-horizontal; - - &.btn-round{ - padding: $padding-vertical + 1 $padding-horizontal; - } - - &.btn-simple{ - padding: $padding-vertical + 2 $padding-horizontal; - } - -}
\ No newline at end of file diff --git a/minionlivesmatter/templates/assets/sass/hipster_cards/mixins/_cards.scss b/minionlivesmatter/templates/assets/sass/hipster_cards/mixins/_cards.scss deleted file mode 100644 index af1f955..0000000 --- a/minionlivesmatter/templates/assets/sass/hipster_cards/mixins/_cards.scss +++ /dev/null @@ -1,8 +0,0 @@ -@mixin filter($color){ - @if $color == #FFFFFF{ - background-color: rgba($color,.91); - } @else { - background-color: rgba($color,.69); - } -} - diff --git a/minionlivesmatter/templates/assets/sass/hipster_cards/mixins/_icons.scss b/minionlivesmatter/templates/assets/sass/hipster_cards/mixins/_icons.scss deleted file mode 100644 index 80df4df..0000000 --- a/minionlivesmatter/templates/assets/sass/hipster_cards/mixins/_icons.scss +++ /dev/null @@ -1,13 +0,0 @@ -@mixin icon-background ($icon-url){ - background-image : url($icon-url); - -} - -@mixin icon-shape ($size, $padding, $border-radius) { - height: $size; - width: $size; - padding: $padding; - border-radius: $border-radius; - display: inline-table; - -}
\ No newline at end of file diff --git a/minionlivesmatter/templates/assets/sass/hipster_cards/mixins/_labels.scss b/minionlivesmatter/templates/assets/sass/hipster_cards/mixins/_labels.scss deleted file mode 100644 index 8a2bdd5..0000000 --- a/minionlivesmatter/templates/assets/sass/hipster_cards/mixins/_labels.scss +++ /dev/null @@ -1,21 +0,0 @@ -@mixin label-style(){ - padding: $padding-label-vertical $padding-label-horizontal; - border: 1px solid $default-color; - border-radius: $border-radius-small; - color: $default-color; - font-weight: $font-weight-semi; - font-size: $font-size-small; - text-transform: uppercase; - display: inline-block; - vertical-align: middle; -} - -@mixin label-color($color){ - border-color: $color; - color: $color; -} -@mixin label-color-fill($color){ - border-color: $color; - color: $white-color; - background-color: $color; -}
\ No newline at end of file diff --git a/minionlivesmatter/templates/assets/sass/hipster_cards/mixins/_social-buttons.scss b/minionlivesmatter/templates/assets/sass/hipster_cards/mixins/_social-buttons.scss deleted file mode 100644 index 38a7d4b..0000000 --- a/minionlivesmatter/templates/assets/sass/hipster_cards/mixins/_social-buttons.scss +++ /dev/null @@ -1,43 +0,0 @@ -@mixin social-buttons-color ($color){ - - border-color: $color; - color: $color; - - &:hover, - &:focus, - &:active, - &.active, - .open > &.dropdown-toggle { - background-color: $transparent-bg; - color: $color; - border-color: $color; - opacity: 1; - } - - &:disabled, - &[disabled], - &.disabled { - background-color: $transparent-bg; - border-color: $color; - } - - &.btn-fill { - color: $white-color; - background-color: $color; - opacity: 0.9; - - &:hover, - &:focus, - &:active, - &.active, - .open > &.dropdown-toggle{ - background-color: $color; - color: $white-color; - opacity: 1; - } - - } - - -} -
\ No newline at end of file diff --git a/minionlivesmatter/templates/assets/sass/hipster_cards/mixins/_transparency.scss b/minionlivesmatter/templates/assets/sass/hipster_cards/mixins/_transparency.scss deleted file mode 100644 index da32b74..0000000 --- a/minionlivesmatter/templates/assets/sass/hipster_cards/mixins/_transparency.scss +++ /dev/null @@ -1,20 +0,0 @@ -// Opacity - -@mixin opacity($opacity) { - opacity: $opacity; - // IE8 filter - $opacity-ie: ($opacity * 100); - filter: #{alpha(opacity=$opacity-ie)}; -} - -@mixin black-filter($opacity){ - top: 0; - left: 0; - height: 100%; - width: 100%; - position: absolute; - background-color: rgba(17,17,17,$opacity); - display: block; - content: ""; - z-index: 1; -}
\ No newline at end of file diff --git a/minionlivesmatter/templates/assets/sass/hipster_cards/mixins/_vendor-prefixes.scss b/minionlivesmatter/templates/assets/sass/hipster_cards/mixins/_vendor-prefixes.scss deleted file mode 100644 index 0f1ed17..0000000 --- a/minionlivesmatter/templates/assets/sass/hipster_cards/mixins/_vendor-prefixes.scss +++ /dev/null @@ -1,199 +0,0 @@ -// User select -// For selecting text on the page - -@mixin user-select($select) { - -webkit-user-select: $select; - -moz-user-select: $select; - -ms-user-select: $select; // IE10+ - user-select: $select; -} - -@mixin box-shadow($shadow...) { - -webkit-box-shadow: $shadow; // iOS <4.3 & Android <4.1 - box-shadow: $shadow; -} - -// Box sizing -@mixin box-sizing($boxmodel) { - -webkit-box-sizing: $boxmodel; - -moz-box-sizing: $boxmodel; - box-sizing: $boxmodel; -} - - -@mixin transition($time, $type){ - -webkit-transition: all $time $type; - -moz-transition: all $time $type; - -o-transition: all $time $type; - -ms-transition: all $time $type; - transition: all $time $type; -} - -@mixin transform-scale($value){ - -webkit-transform: scale($value); - -moz-transform: scale($value); - -o-transform: scale($value); - -ms-transform: scale($value); - transform: scale($value); -} - -@mixin transform-translate-x($value){ - -webkit-transform: translate3d($value, 0, 0); - -moz-transform: translate3d($value, 0, 0); - -o-transform: translate3d($value, 0, 0); - -ms-transform: translate3d($value, 0, 0); - transform: translate3d($value, 0, 0); -} - -@mixin transform-origin($coordinates){ - -webkit-transform-origin: $coordinates; - -moz-transform-origin: $coordinates; - -o-transform-origin: $coordinates; - -ms-transform-origin: $coordinates; - transform-origin: $coordinates; -} - -@mixin icon-gradient ($top-color, $bottom-color){ - background: $top-color; - background: -moz-linear-gradient(top, $top-color 0%, $bottom-color 100%); - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,$top-color), color-stop(100%,$bottom-color)); - background: -webkit-linear-gradient(top, $top-color 0%,$bottom-color 100%); - background: -o-linear-gradient(top, $top-color 0%,$bottom-color 100%); - background: -ms-linear-gradient(top, $top-color 0%,$bottom-color 100%); - background: linear-gradient(to bottom, $top-color 0%,$bottom-color 100%); -} - -@mixin card-gradient ($bottom-color, $top-color){ - background: $top-color; - background: -moz-linear-gradient(30deg, $top-color 0%, $bottom-color 100%); - background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,$top-color), color-stop(100%,$bottom-color)); - background: -webkit-linear-gradient(30deg, $top-color 0%,$bottom-color 100%); - background: -o-linear-gradient(30deg, $top-color 0%,$bottom-color 100%); - background: -ms-linear-gradient(30deg, $top-color 0%,$bottom-color 100%); - background: linear-gradient(30deg, $top-color 0%,$bottom-color 100%); - -} - -@mixin card-radial-gradient($extern-color, $center-color){ - background: $extern-color; - background: -moz-radial-gradient(center, ellipse cover, $center-color 0%, $extern-color 100%); /* FF3.6+ */ - background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,$center-color), color-stop(100%,$extern-color)); /* Chrome,Safari4+ */ - background: -webkit-radial-gradient(center, ellipse cover, $center-color 0%,$extern-color 100%); /* Chrome10+,Safari5.1+ */ - background: -o-radial-gradient(center, ellipse cover, $center-color 0%,$extern-color 100%); /* Opera 12+ */ - background: -ms-radial-gradient(center, ellipse cover, $center-color 0%,$extern-color 100%); /* IE10+ */ - background: radial-gradient(ellipse at center, $center-color 0%,$extern-color 100%); /* W3C */ - background-size: 250% 250%; -} - -@mixin vertical-align { - position: relative; - top: 50%; - -webkit-transform: translateY(-50%); - -ms-transform: translateY(-50%); - transform: translateY(-50%); -} - -@mixin rotate-180(){ - filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2); - -webkit-transform: rotate(180deg); - -ms-transform: rotate(180deg); - transform: rotate(180deg); -} - -@mixin bar-animation($type){ - -webkit-animation: $type 500ms linear 0s; - -moz-animation: $type 500ms linear 0s; - animation: $type 500ms 0s; - -webkit-animation-fill-mode: forwards; - -moz-animation-fill-mode: forwards; - animation-fill-mode: forwards; -} - -@mixin topbar-x-rotation(){ - @keyframes topbar-x { - 0% {top: 0px; transform: rotate(0deg); } - 45% {top: 6px; transform: rotate(145deg); } - 75% {transform: rotate(130deg); } - 100% {transform: rotate(135deg); } - } - @-webkit-keyframes topbar-x { - 0% {top: 0px; -webkit-transform: rotate(0deg); } - 45% {top: 6px; -webkit-transform: rotate(145deg); } - 75% {-webkit-transform: rotate(130deg); } - 100% { -webkit-transform: rotate(135deg); } - } - @-moz-keyframes topbar-x { - 0% {top: 0px; -moz-transform: rotate(0deg); } - 45% {top: 6px; -moz-transform: rotate(145deg); } - 75% {-moz-transform: rotate(130deg); } - 100% { -moz-transform: rotate(135deg); } - } -} - -@mixin topbar-back-rotation(){ - @keyframes topbar-back { - 0% { top: 6px; transform: rotate(135deg); } - 45% { transform: rotate(-10deg); } - 75% { transform: rotate(5deg); } - 100% { top: 0px; transform: rotate(0); } - } - - @-webkit-keyframes topbar-back { - 0% { top: 6px; -webkit-transform: rotate(135deg); } - 45% { -webkit-transform: rotate(-10deg); } - 75% { -webkit-transform: rotate(5deg); } - 100% { top: 0px; -webkit-transform: rotate(0); } - } - - @-moz-keyframes topbar-back { - 0% { top: 6px; -moz-transform: rotate(135deg); } - 45% { -moz-transform: rotate(-10deg); } - 75% { -moz-transform: rotate(5deg); } - 100% { top: 0px; -moz-transform: rotate(0); } - } -} - -@mixin bottombar-x-rotation(){ - @keyframes bottombar-x { - 0% {bottom: 0px; transform: rotate(0deg);} - 45% {bottom: 6px; transform: rotate(-145deg);} - 75% {transform: rotate(-130deg);} - 100% {transform: rotate(-135deg);} - } - @-webkit-keyframes bottombar-x { - 0% {bottom: 0px; -webkit-transform: rotate(0deg);} - 45% {bottom: 6px; -webkit-transform: rotate(-145deg);} - 75% {-webkit-transform: rotate(-130deg);} - 100% {-webkit-transform: rotate(-135deg);} - } - @-moz-keyframes bottombar-x { - 0% {bottom: 0px; -moz-transform: rotate(0deg);} - 45% {bottom: 6px; -moz-transform: rotate(-145deg);} - 75% {-moz-transform: rotate(-130deg);} - 100% {-moz-transform: rotate(-135deg);} - } -} - -@mixin bottombar-back-rotation{ - @keyframes bottombar-back { - 0% { bottom: 6px;transform: rotate(-135deg);} - 45% { transform: rotate(10deg);} - 75% { transform: rotate(-5deg);} - 100% { bottom: 0px;transform: rotate(0);} - } - @-webkit-keyframes bottombar-back { - 0% {bottom: 6px;-webkit-transform: rotate(-135deg);} - 45% {-webkit-transform: rotate(10deg);} - 75% {-webkit-transform: rotate(-5deg);} - 100% {bottom: 0px;-webkit-transform: rotate(0);} - } - @-moz-keyframes bottombar-back { - 0% {bottom: 6px;-moz-transform: rotate(-135deg);} - 45% {-moz-transform: rotate(10deg);} - 75% {-moz-transform: rotate(-5deg);} - 100% {bottom: 0px;-moz-transform: rotate(0);} - } - -} - - diff --git a/minionlivesmatter/templates/assets/tether/.bower.json b/minionlivesmatter/templates/assets/tether/.bower.json deleted file mode 100644 index 42bcd65..0000000 --- a/minionlivesmatter/templates/assets/tether/.bower.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "tether", - "version": "1.4.0", - "homepage": "http://github.hubspot.com/tether", - "authors": [ - "Zack Bloom <zackbloom@gmail.com>", - "Adam Schwartz <adam.flynn.schwartz@gmail.com>" - ], - "maintainers": [ - "Nicholas Hwang <nick.joosung.hwang@gmail.com>", - "Trevor Burnham <trevorburnham@gmail.com>" - ], - "description": "A client-side library to make absolutely positioned elements attach to elements in the page efficiently.", - "keywords": [ - "javascript" - ], - "license": "MIT", - "main": "dist/js/tether.js", - "ignore": [ - "**/.*", - "node_modules", - "bower_components", - "test", - "tests" - ], - "_release": "1.4.0", - "_resolution": { - "type": "version", - "tag": "v1.4.0", - "commit": "3d7119e590661f8c9e9e566c8a7640c189687215" - }, - "_source": "https://github.com/HubSpot/tether.git", - "_target": "^1.2", - "_originalSource": "tether" -}
\ No newline at end of file diff --git a/minionlivesmatter/templates/assets/tether/CHANGELOG.md b/minionlivesmatter/templates/assets/tether/CHANGELOG.md deleted file mode 100644 index d5a8047..0000000 --- a/minionlivesmatter/templates/assets/tether/CHANGELOG.md +++ /dev/null @@ -1,13 +0,0 @@ -## v1.3.0 -- Tether instances now fire an 'update' event when attachments change due to constraints (#119) - -## v1.0.1 -- Update arrow mixin to change arrow pointer event - - -## v1.0.0 -- Coffeescript -> ES6 -- Proper UMD Wrapper -- Update build steps -- Add changelog -- Provide minified CSS diff --git a/minionlivesmatter/templates/assets/tether/CONTRIBUTING.md b/minionlivesmatter/templates/assets/tether/CONTRIBUTING.md deleted file mode 100644 index 8e4b9c5..0000000 --- a/minionlivesmatter/templates/assets/tether/CONTRIBUTING.md +++ /dev/null @@ -1,59 +0,0 @@ -# Contributing Guide - -You will need: - -- Node.js/io.js & npm -- Bower -- Gulp - - -## Getting started - -1. Fork the project -2. Clone your forked project by running `git clone git@github.com:{ - YOUR_USERNAME }/tether.git` -3. Run `npm install` to install both node modules and bower components -4. Test that you can build the source by moving/renaming the existing `dist` - directory and running `npm run build` -5. Assuming everything went well, you should now have a `dist` directory that - matches the one you moved in step 4 - - -## Writing code! - -We use `gulp` to facilitate things like transpilation, minification, etc. so -can you focus on writing relevant code. If there is a fix or feature you would like -to contribute, we ask that you take the following steps: - -1. Most of the _editable_ code lives in the `src` directory while built code - will end up in the `dist` directory upon running `npm run build`. - -2. Depending on how big your changes are, bump the version numbers appropriately - in `bower.json` and `package.json`. We try to follow semver, so a good rule - of thumb for how to bump the version is: - - A fix to existing code, perform a patch bump e.g. x.x.0 -> x.x.1 - - New feature, perform a minor bump e.g. x.0.x -> x.1.x - - Breaking changes such a rewrite, perform a major bump e.g. - 1.x.x -> 2.x.x - - Versioning is hard, so just use good judgement and we'll be more than happy - to help out. - - __NOTE__: There is a `gulp` task that will automate some of the versioning. - You can run `gulp version:{type}` where type is `patch|minor|major` to - update both `bower.json` and `package.json` as well as add the appropriate - git tag. - -3. Provide a thoughtful commit message and push your changes to your fork using - `git push origin master` (assuming your forked project is using `origin` for - the remote name and you are on the `master` branch). - -4. Open a Pull Request on GitHub with a description of your changes. - - -## Testing - -Work in progress. We are hoping to add some tests, so if you would like to help -us get started, feel free to contact us through the Issues or open a Pull -Request. - diff --git a/minionlivesmatter/templates/assets/tether/LICENSE b/minionlivesmatter/templates/assets/tether/LICENSE deleted file mode 100644 index 0e08c0a..0000000 --- a/minionlivesmatter/templates/assets/tether/LICENSE +++ /dev/null @@ -1,8 +0,0 @@ -Copyright (c) 2014-2016 HubSpot, Inc. - -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. - diff --git a/minionlivesmatter/templates/assets/tether/README.md b/minionlivesmatter/templates/assets/tether/README.md deleted file mode 100644 index e7db893..0000000 --- a/minionlivesmatter/templates/assets/tether/README.md +++ /dev/null @@ -1,106 +0,0 @@ -## Tether - -[](http://badge.fury.io/gh/HubSpot%2Ftether) - -[Tether](http://github.hubspot.com/tether/) is a small, focused JavaScript library for defining and managing the position of user interface (UI) elements in relation to one another on a web page. It is a tool for web developers building features that require certain UI elements to be precisely positioned based on the location of another UI element. - -There are often situations in UI development where elements need to be attached to other elements, but placing them right next to each other in the [DOM tree](https://en.wikipedia.org/wiki/Document_Object_Model) can be problematic based on the context. For example, what happens if the element we’re attaching other elements to is fixed to the center of the screen? Or what if the element is inside a scrollable container? How can we prevent the attached element from being clipped as it disappears from view while a user is scrolling? Tether can solve all of these problems and more. - -Some common UI elements that have been built with Tether are [tooltips](http://github.hubspot.com/tooltip/docs/welcome), [select menus](http://github.hubspot.com/select/docs/welcome), [dropdown menus](http://github.hubspot.com/drop/docs/welcome), and [guided tours](http://github.hubspot.com/shepherd/docs/welcome). Tether is flexible and can be used to [solve](http://github.hubspot.com/tether/examples/out-of-bounds/) [all](http://github.hubspot.com/tether/examples/content-visible) [kinds](http://github.hubspot.com/tether/examples/element-scroll) [of](http://github.hubspot.com/tether/examples/enable-disable) interesting [problems](http://github.hubspot.com/tether/examples/viewport); it ensures UI elements stay where they need to be, based on the various user interactions (click, scroll, etc) and layout contexts (fixed positioning, inside scrollable containers, etc). - -Please have a look at the [documentation](http://github.hubspot.com/tether/) for a more detailed explanation of why you might need Tether for your next project. - -## What to Use Tether for and When to Use It - -Tether is a small, focused JavaScript library. For those who might be new to JavaScript, a library is simply a JavaScript file (or files) that contain useful JavaScript code to help achieve tasks easier and faster. Since Tether is a JavaScript user interface (**UI**) library, it contains code to help you to manage the way your website or web app appears. - -Tether’s goal to is to help you position your elements side-by-side when needed. - -Let’s say you’ve started working on your dream project—a fancy web app that’s sure to become the next big thing! An important feature of your new app is to allow users to comment on shared photos. However, due to limited vertical space and the overall layout of your new app, you’d like to display the comments **next** to the image, similar to how Instagram does it. - -Your HTML code might look something like this: - -```html -<div class="container"> - <img src="awesome-picture.jpg" alt="Awesome Picture" class="picture"> - <div class="comments"> - ... - </div> -</div> -``` - -Now, you could achieve this with some CSS using its `position` property, but going this route can be problematic since many of `position`’s values take elements **out** of the natural DOM flow. For example, if you have an element at the bottom of your HTML document, using `position: absolute` or `position: fixed` might could move it all the way to the top of your website in the browser. - -Not only that, but you also have to make manual adjustments to ensure **other** elements aren’t negatively affected by the positioned elements. Not to mention, you probably want your comment box to be **responsive**, and look good across different device sizes. Coding a solution for this manually is a challenge all on its own. - -**Enter Tether!** - -After installing Tether and including it in your project, you can begin using it! - -1. In your JavaScript file, create a new instance (or constructor function) of the `Tether` object: - - ```javascript - new Tether({}); - ``` - -2. Within the curly braces (`{}`) you can configure the library’s options. Tether’s extensive list of options can be found in the [Tether documentation](http://github.hubspot.com/tether/). - - ```javascript - new Tether({ - element: '.comments', - target: '.picture', - attachment: 'top right' - targetAttachment: 'top left' - }); - ``` - -Now you have a perfectly placed comment section to go with your awesome picture! It’ll even stay attached to the element when a user resizes their browser window. - -There are tons of other useful features of Tether as well, instead of “comment boxes” you could also build: - -* Tooltips for useful hints and tricks, -* Dropdown menus, -* Autocomplete popups for forms, -* and [more](http://github.hubspot.com/tether/examples/list_of_examples/)! - -## Install - -__npm__ -```sh -$ npm install tether -``` - -__bower__ -```sh -$ bower install tether -``` - -__download__ - -Or just download from the [releases](https://github.com/HubSpot/tether/releases). - -## Usage -You only need to include [tether.min.js](https://github.com/HubSpot/tether/blob/master/dist/js/tether.min.js) in your page: -``` -<script src="path/to/dist/js/tether.min.js"></script> -``` -Or just use a CDN: -``` -<script src="//cdnjs.cloudflare.com/ajax/libs/tether/1.3.1/js/tether.min.js"></script> -``` - -The css files in the [dist/css](https://github.com/HubSpot/tether/tree/master/dist/css) folder are not required to get tether running. - -For more details jump straight in to the detailed [Usage](http://github.hubspot.com/tether/#usage) page. - -[](http://github.hubspot.com/tether/#usage) - -[Demo & API Documentation](http://github.hubspot.com/tether/) - -## Contributing - -We encourage contributions of all kinds. If you would like to contribute in some way, please review our [guidelines for contributing](CONTRIBUTING.md). - -## License -Copyright © 2014-2016 HubSpot - [MIT License](LICENSE) diff --git a/minionlivesmatter/templates/assets/tether/bower.json b/minionlivesmatter/templates/assets/tether/bower.json deleted file mode 100644 index ea9b6b7..0000000 --- a/minionlivesmatter/templates/assets/tether/bower.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "name": "tether", - "version": "1.4.0", - "homepage": "http://github.hubspot.com/tether", - "authors": [ - "Zack Bloom <zackbloom@gmail.com>", - "Adam Schwartz <adam.flynn.schwartz@gmail.com>" - ], - "maintainers": [ - "Nicholas Hwang <nick.joosung.hwang@gmail.com>", - "Trevor Burnham <trevorburnham@gmail.com>" - ], - "description": "A client-side library to make absolutely positioned elements attach to elements in the page efficiently.", - "keywords": [ - "javascript" - ], - "license": "MIT", - "main": "dist/js/tether.js", - "ignore": [ - "**/.*", - "node_modules", - "bower_components", - "test", - "tests" - ] -} diff --git a/minionlivesmatter/templates/assets/tether/component.json b/minionlivesmatter/templates/assets/tether/component.json deleted file mode 100644 index 1e81c50..0000000 --- a/minionlivesmatter/templates/assets/tether/component.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "tether", - "repo": "HubSpot/tether", - "version": "1.3.9", - "description": "A client-side library to make absolutely positioned elements attach to elements in the page efficiently.", - "authors": [ - "Zack Bloom <zackbloom@gmail.com>", - "Adam Schwartz <adam.flynn.schwartz@gmail.com>" - ], - "maintainers": [ - "Nicholas Hwang <nick.joosung.hwang@gmail.com>" - ], - "license": "MIT", - "demo": "http://github.hubspot.com/tether/docs/welcome/", - "main": "dist/js/tether.js", - "styles": [ - "dist/css/tether.css" - ], - "scripts": [ - "dist/js/tether.js" - ] -} diff --git a/minionlivesmatter/templates/assets/tether/docs/1-Overview/1-why_you_should_use_tether.md b/minionlivesmatter/templates/assets/tether/docs/1-Overview/1-why_you_should_use_tether.md deleted file mode 100644 index 6147d25..0000000 --- a/minionlivesmatter/templates/assets/tether/docs/1-Overview/1-why_you_should_use_tether.md +++ /dev/null @@ -1,43 +0,0 @@ -## Why You Should Use Tether - -Virtually every app includes some sort of overlay attached to an element on the page. -Things like [tooltips](http://github.hubspot.com/tooltip/docs/welcome), -[dropdowns](http://github.hubspot.com/select/docs/welcome), [hover-activated info boxes](http://github.hubspot.com/drop/docs/welcome), etc. - -Those elements need to be attached to something on the page. Actually placing them next to -the element in the DOM causes problems though, if any parent element is anything -but `overflow: visible`, the element gets cut off. So you need absolute positioning -in the body. - -Some of the time absolute positioning is right, but what about if the thing we're -attached to is fixed to the center of the screen? We'll have to move it every -time the user scrolls. What about if the element is in a scrollable container, -if the overlay is inside of it (so no clipping), it would be cool if the code -were smart enough to move it inside when that area is scrolled. That way we -need to reposition it even less. - -It would also be nice if the code could somehow figure out whether positioning it -from the top, bottom, left, or right would result in the fewest repositionings -as the user scrolls or resizes. - -Most of the time you're building these elements it would be nice for the element to -flip to the other side of the element if it hits the edge of the screen, or a scrollable -container it might be in. It would be nice if we could confine the element -to within some area, or even hide it when it leaves. - -It would be nice for the element to be repositioned with CSS transforms -rather than top and left when possible, to allow the positioning to be done entirely -in the GPU. - -Now that the positioning is so fancy, you're going to use it for more and more -elements. It would be cool if the library could optimize all of their repositioning -into a single repaint. - -All of that is baked into Tether. - -### tl;dr - -- Optimized GPU-accelerated repositioning for 60fps scrolling -- Reliable positioning on any possible corner, edge or point in between. -- Support for repositioning or pinning the element when it would be offscreen -- Designed to be embeddable in other libraries diff --git a/minionlivesmatter/templates/assets/tether/docs/1-Overview/2-repositioning.md b/minionlivesmatter/templates/assets/tether/docs/1-Overview/2-repositioning.md deleted file mode 100644 index 6c02483..0000000 --- a/minionlivesmatter/templates/assets/tether/docs/1-Overview/2-repositioning.md +++ /dev/null @@ -1,46 +0,0 @@ -Repositioning ------ - -Tethers will be automatically repositioned when the page is resized, and when any element containing the Tether is scrolled. -If the element moves for some other reason (e.g. with JavaScript), Tether won't know to reposition the element. - -#### Manually Repositioning - -The simplest way to reposition every Tether on the page is to call `Tether.position()`. It will efficiently reposition every -Tether in a single repaint, making it more efficient than manually repositioning many Tethers individually. - -```javascript -Tether.position() -``` - -#### Repositioning a Single Tether - -If you have many Tethers on screen, it may be more efficient to just reposition the tether that needs it. You can do this -by calling the `.position` method on the Tether instance: - -```javascript -tether = new Tether({ ... }) - -// Later: -tether.position() -``` - -#### Tethering Hidden Elements - -If you are creating a tether involving elements which are `display: none`, or not actually in the DOM, -your Tether may not be able to position itself properly. One way around this is to -ensure that a position call happens after all layouts have finished: - -```javascript -myElement.style.display = 'block' - -tether = new Tether({ ... }) - -setTimeout(function(){ - tether.position(); -}) -``` - -In general however, you shouldn't have any trouble if both the element and the target are visible and in the DOM when you -create the Tether. If that is not the case, create the Tether disabled (option `enabled`: `false`), and enable it when -the elements are ready. diff --git a/minionlivesmatter/templates/assets/tether/docs/1-Overview/3-why_we_dont_support_IE_8.md b/minionlivesmatter/templates/assets/tether/docs/1-Overview/3-why_we_dont_support_IE_8.md deleted file mode 100644 index 841de9e..0000000 --- a/minionlivesmatter/templates/assets/tether/docs/1-Overview/3-why_we_dont_support_IE_8.md +++ /dev/null @@ -1,47 +0,0 @@ -Why we don't support IE 8 -------------------------- - -We've been living in 2007 for a while now, pretending that new browser features don't -exist because they aren't in IE8. You might not even know about some of these features, -or think they are only enabled by jQuery or underscore, simply because it hasn't -been an option to rely upon them. - -Here is the list of features you don't have if you choose to support IE 8: - -- HTML5 audio and video -- SVG -- Canvas -- TrueType fonts -- Media Queries -- CSS Transforms -- Multiple Backgrounds -- CSS3 Units (vh, vw, rem) -- Custom DOM events -- Hardware accelerated graphics -- The DOMContentLoaded event -- addEventListener -- Object.create, .seal, .freeze, .defineProperty -- Array.isArray, .indexOf, .every, .some, .forEach, .map, .filter, .reduce -- A modern JavaScript engine -- A real developer tools -- A consistent box model -- jQuery 2 -- Google Apps -- Tether - -It's true that IE 8 still holds a big chunk of the browsing population, but the reasons -why they can't update are dwindling. There are two big reasons for continuing IE 8 support. - -#### Enterprises - - Microsoft is dropping support for XP in April, organizations who want security updates will have to upgrade. - -#### China uses XP - - Chrome, Firefox and Opera all support XP. Nothing prevents users from upgrading, except the inertia of - organizations who still support IE 8. - -#### The Future - -We are skating towards where the puck will be, and we hope that as you decide to drop IE 8 support, -you choose to add Tether to the list of awesome things you can do. diff --git a/minionlivesmatter/templates/assets/tether/docs/2-Examples/1-list_of_examples.md b/minionlivesmatter/templates/assets/tether/docs/2-Examples/1-list_of_examples.md deleted file mode 100644 index bbb7fd5..0000000 --- a/minionlivesmatter/templates/assets/tether/docs/2-Examples/1-list_of_examples.md +++ /dev/null @@ -1,27 +0,0 @@ -### Examples - -It's our goal to create a wide variety of example of how Tether -can be used. Here's what we have so far, please send a PR with -any examples you might create. - -#### Beginner - -- [simple](../../examples/simple): A simple example to get you started -- [out-of-bounds](../../examples/out-of-bounds): How to hide the element when it would -otherwise be offscreen -- [pin](../../examples/pin): How to pin the element so it never goes offscreen -- [enable-disable](../../examples/enable-disable): How to enable and disable the Tether -in JavaScript - -#### Advanced - -- [content-visible](../../examples/content-visible): Demonstrates using the `'visible'` -`targetModifier` to align an element with the visible portion of another. -- [dolls](../../examples/dolls): A performance test to show several dozen elements, -each tethered to the previous. Try dragging the top left tether. -- [element-scroll](../../examples/element-scroll): Demonstrates using the `'scroll-handle'` -`targetModifier` to align an element with the scrollbar of an element. -- [scroll](../../examples/scroll): Demonstrates using the `'scroll-handle'` `targetModifier` -to align an element with the body's scroll handle. -- [viewport](../../examples/viewport): Demonstrates aligning an element with the -viewport by using the `'visible'` `targetModifier` when tethered to the body. diff --git a/minionlivesmatter/templates/assets/tether/docs/2-Examples/2-projects_using_tether.md b/minionlivesmatter/templates/assets/tether/docs/2-Examples/2-projects_using_tether.md deleted file mode 100644 index b9086b2..0000000 --- a/minionlivesmatter/templates/assets/tether/docs/2-Examples/2-projects_using_tether.md +++ /dev/null @@ -1,37 +0,0 @@ -## Projects Using Tether - -Here at HubSpot we have built a bunch of libraries on top of Tether, -both because we wanted Tether-performance, and because we saw opportunities -to improve on what was available in the client-side ecosystem. - -### [Select](http://github.hubspot.com/select/docs/welcome) - -Select is a replacement for native browser select elements that is fully stylable. - -### [Shepherd](http://github.hubspot.com/shepherd/docs/welcome) - -Shepherd is a library for making tours of your app to help onboard users and show off -new features. - -### [Tooltip](http://github.hubspot.com/tooltip/docs/welcome) - -A simple, easy-to-use implementation of tooltips that works well. - -### [Drop](http://github.hubspot.com/drop/docs/welcome) - -Where Tether does general-purpose positioning, Drop assumes that you are interested -in making something which pops up next to something the user clicks or hovers on. - -If you're building something that fits that pattern, Drop can make things a little easier. - -### [React Datepicker](https://github.com/Hacker0x01/react-datepicker) - -A simple and reusable datepicker component for React - -### [ember-tether](https://github.com/yapplabs/ember-tether) - -An Ember.js-friendly interface for tether. - -### Your Project Here - -If you have a cool open-source library built on Tether, PR this doc. diff --git a/minionlivesmatter/templates/assets/tether/docs/3-Advanced/1-embedding_tether.md b/minionlivesmatter/templates/assets/tether/docs/3-Advanced/1-embedding_tether.md deleted file mode 100644 index f47be16..0000000 --- a/minionlivesmatter/templates/assets/tether/docs/3-Advanced/1-embedding_tether.md +++ /dev/null @@ -1,9 +0,0 @@ -## Embedding Tether - -Tether is designed to be embeddable in other libraries. - -There is one thing you should think about doing to create an embedded Tether: - -- Set the `classPrefix` of the tethers you create. That prefix will replace `'tether'` in -all of the classes. You can also disable classes you don't intend on using with the `classes` -option. diff --git a/minionlivesmatter/templates/assets/tether/docs/3-Advanced/2-extending_tether.md b/minionlivesmatter/templates/assets/tether/docs/3-Advanced/2-extending_tether.md deleted file mode 100644 index fa357b2..0000000 --- a/minionlivesmatter/templates/assets/tether/docs/3-Advanced/2-extending_tether.md +++ /dev/null @@ -1,54 +0,0 @@ -Extending Tether ------ - -Tether has a module system which can be used to modify Tether's positioning, or just do something each time the Tether is moved. - -Tether has an array called `Tether.modules`, push onto it to add a module: - -```coffeescript -Tether.modules.push - position: ({top, left}) -> - top += 10 - - {top, left} -``` - -#### Position - -Your position function can either return a new object with `top` and `left`, `null`/`undefined` to leave the coordinates unchanged, or -`false` to cancel the positioning. - -The position function is passed an object with the following elements: - -```javascript -{ - left, // The element's new position, from the top left corner of the page - top, - targetAttachment, // The targetAttachment, with 'auto' resolved to an actual attachment - targetPos, // The coordinates of the target - attachment, // The attachment, as passed in the option - elementPos, // The coordinates of the element - offset, // The offset, after it's converted into pixels and the manual offset is added - targetOffset, // The attachment is converted into an offset and is included in these values - manualOffset, // The manual offset, in pixels - manualTargetOffset -} -``` - -It is called with the Tether instance as its context (`this`). - -#### Initialize - -Modules can also have an `initialize` function which will be called when a new tether is created. The initialize function -is also called with the Tether instance as its context. - -```coffeescript -Tether.modules.push - initialize: -> - console.log "New Tether Created!", @ -``` - -#### Examples - -[Constraints](https://github.com/HubSpot/tether/blob/master/src/js/constraint.js) and [shift](https://github.com/HubSpot/tether/blob/master/src/js/shift.js) are both implemented as modules. -[Mark Attachment](https://github.com/HubSpot/tether/blob/master/src/js/markAttachment.js) is used by the docs. diff --git a/minionlivesmatter/templates/assets/tether/docs/coffee/intro.coffee b/minionlivesmatter/templates/assets/tether/docs/coffee/intro.coffee deleted file mode 100644 index 52a305d..0000000 --- a/minionlivesmatter/templates/assets/tether/docs/coffee/intro.coffee +++ /dev/null @@ -1,113 +0,0 @@ -{uniqueId} = Tether.Utils - -SETUP_JS = """ -yellowBox = $('.yellow-box', $output); -greenBox = $('.green-box', $output); -scrollBox = $('.scroll-box', $output); -""" - -OUTPUT_HTML = (key) -> """ -<div class="scroll-box"> - <div class="scroll-content"> - <div class="yellow-box" data-example="#{ key }"></div> - <div class="green-box" data-example="#{ key }"></div> - </div> -</div> -""" - -tethers = {} - -getOutput = ($block) -> - key = $block.data('example') - if key and typeof key is 'string' - return $("output[data-example='#{ key }']") - else - return $block.parents('pre').nextAll('output').first() - -run = (key) -> - if typeof key is 'string' - $block = $("code[data-example='#{ key }']") - else - $block = key - - key = $block.attr('data-example') - - $output = getOutput $block - - code = $block.text() - code = SETUP_JS + code - - window.$output = $output - tethers[key] = eval code - -setupBlock = ($block) -> - key = $block.data('example') - - $output = getOutput $block - - if not key - key = uniqueId() - $block.attr('data-example', key) - $output.attr('data-example', key) - $output.find('.tether-element').attr('data-example', key) - - $output.html OUTPUT_HTML(key) - - $scrollBox = $output.find('.scroll-box') - $scrollContent = $scrollBox.find('.scroll-content') - $scrollBox.scrollTop(parseInt($scrollContent.css('height')) / 2 - $scrollBox.height() / 2) - $scrollBox.scrollLeft(parseInt($scrollContent.css('width')) / 2 - $scrollBox.width() / 2) - setTimeout -> - $scrollBox.on 'scroll', -> - $output.addClass 'scrolled' - - $scrollBox.css 'height', "#{ $block.parent().outerHeight() }px" - - if not $output.attr('deactivated')? - run $block - -$(document.body).on 'click', (e) -> - if $(e.target).is('output[deactivated]') - activate $(e.target) - false - else if $(e.target).is('output[activated]') - deactivate $(e.target) - false - -activate = ($output) -> - $block = $output.prev().find('code') - - run $block - - $output.find('.tether-element').show() - - key = $output.data('example') - $(tethers[key].element).show() - tethers[key].enable() - - $output.removeAttr('deactivated') - $output.attr('activated', true) - -deactivate = ($output) -> - $block = $output.prev().find('code') - key = $output.data('example') - - tethers[key].disable() - - $el = $(tethers[key].element) - $el.detach() - $output.find('.scroll-content').append $el - $el.hide() - - $output.removeAttr('activated') - $output.attr('deactivated', true) - -init = -> - $blocks = $('code[data-example]') - - setupBlock($ block) for block in $blocks - -window.EXECUTR_OPTIONS = - codeSelector: 'code[executable]' - -$ init diff --git a/minionlivesmatter/templates/assets/tether/docs/css/intro.css b/minionlivesmatter/templates/assets/tether/docs/css/intro.css deleted file mode 100644 index 44303fd..0000000 --- a/minionlivesmatter/templates/assets/tether/docs/css/intro.css +++ /dev/null @@ -1,218 +0,0 @@ -@charset "UTF-8"; -*, *:after, *:before { - box-sizing: border-box; } - -body { - position: relative; } - -.yellow-box { - width: 100px; - height: 100px; - background-color: #fe8; - pointer-events: none; } - -.green-box { - margin-top: 65px; - margin-left: 100px; - width: 200px; - height: 50px; - background-color: #4e9; } - .no-green .green-box { - display: none; } - -.scroll-box { - height: 150px; - border: 10px solid #eee; - background: #fbfbfb; - overflow: auto; - position: relative; } - -.scroll-content { - height: 2000px; - width: 2000px; - padding: 910px 809px; } - -pre.pre-with-output { - margin: 0; - width: 50%; - float: left; } - pre.pre-with-output code mark { - background: #b8daff; - color: #000; } - -p, h2, h3 { - clear: both; } - -output { - display: block; - position: relative; - width: 50%; - float: right; - margin-bottom: 15px; } - output.scroll-page .scroll-box { - overflow: hidden; } - output.scroll-page:after { - content: "↕ scroll the page ↕"; } - output:after { - content: "↕ scroll this area ↕"; - position: absolute; - bottom: 25px; - width: 100%; - text-align: center; - font-size: 16px; - font-variant: small-caps; - color: #777; - opacity: 1; - -webkit-transition: opacity 0.2s; - transition: opacity 0.2s; } - output.scrolled:after { - opacity: 0; } - output[deactivated], output[activated] { - cursor: pointer; } - output[deactivated] .scroll-box, output[activated] .scroll-box { - pointer-events: none; } - output[deactivated]:after, output[activated]:after { - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - opacity: 1; - content: "Click To Show"; - background-color: #AAA; - border-left: 10px solid #EEE; - color: white; - font-size: 24px; - font-variant: normal; - padding-top: 80px; } - output[activated]:after { - content: "Click To Hide"; } - output[activated].visible-enabled:after { - height: 35px; - padding-top: 5px; } - -.attachment-mark, .tether-marker-dot { - position: relative; } - .attachment-mark:after, .tether-marker-dot:after { - content: "A"; - width: 10px; - height: 10px; - background-color: red; - display: inline-block; - line-height: 10px; - font-size: 9px; - color: white; - text-align: center; - position: absolute; } - -span.attachment-mark:after, span.tether-marker-dot:after { - position: relative; - top: -1px; - margin-right: 1px; } - -.tether-marker-dot { - position: absolute; } - .tether-marker-dot:after { - top: -5px; - left: -5px; } - -.tether-target-marker { - position: absolute; } - div.tether-target-attached-left .tether-target-marker { - left: 0; } - div.tether-target-attached-top .tether-target-marker { - top: 0; } - div.tether-target-attached-bottom .tether-target-marker { - bottom: 0; } - div.tether-target-attached-right .tether-target-marker { - right: 0; } - div.tether-target-attached-center .tether-target-marker { - left: 50%; } - -.tether-element-marker { - position: absolute; } - div.tether-element-attached-left .tether-element-marker { - left: 0; } - div.tether-element-attached-top .tether-element-marker { - top: 0; } - div.tether-element-attached-bottom .tether-element-marker { - bottom: 0; } - div.tether-element-attached-right .tether-element-marker { - right: 0; } - div.tether-element-attached-center .tether-element-marker { - left: 50%; } - -.tether-element-attached-middle .tether-element-marker { - top: 50px; } - -.tether-target-attached-middle .tether-target-marker { - top: 25px; } - -.tether-element { - position: relative; } - .tether-element.tether-pinned-left { - box-shadow: inset 2px 0 0 0 red; } - .tether-element.tether-pinned-right { - box-shadow: inset -2px 0 0 0 red; } - .tether-element.tether-pinned-top { - box-shadow: inset 0 2px 0 0 red; } - .tether-element.tether-pinned-bottom { - box-shadow: inset 0 -2px 0 0 red; } - -.tether-target { - position: relative; } - -.tether-element.tether-out-of-bounds[data-example="hide"] { - display: none; } - -[data-example^="optimizer"].lang-javascript { - /* This should just be a `code` selector, but sass doesn't allow that with & */ - min-height: 220px; } - -[data-example^="optimizer"].tether-element:before { - margin-top: 26px; - display: block; - text-align: center; - content: "I'm in the body"; - line-height: 1.2; - font-size: 15px; - padding: 4px; - color: #666; } - -[data-example^="optimizer"] .scroll-box .tether-element:before { - content: "I'm in my scroll parent!"; } - -.tether-element[data-example="scroll-visible"] { - height: 30px; } - .tether-element[data-example="scroll-visible"] .tether-marker-dot { - display: none; } - -.hs-doc-content h2.projects-header { - text-align: center; - font-weight: 300; } - -.projects-paragraph { - text-align: center; } - .projects-paragraph a { - display: inline-block; - vertical-align: middle; - *vertical-align: auto; - *zoom: 1; - *display: inline; - text-align: center; - margin-right: 30px; - color: inherit; } - .projects-paragraph a span { - display: inline-block; - vertical-align: middle; - *vertical-align: auto; - *zoom: 1; - *display: inline; - margin-bottom: 20px; - font-size: 20px; - color: inherit; - font-weight: 300; } - .projects-paragraph a img { - display: block; - max-width: 100%; - width: 100px; } diff --git a/minionlivesmatter/templates/assets/tether/docs/intro.md b/minionlivesmatter/templates/assets/tether/docs/intro.md deleted file mode 100644 index aaf5ab5..0000000 --- a/minionlivesmatter/templates/assets/tether/docs/intro.md +++ /dev/null @@ -1,591 +0,0 @@ -<script src="dist/js/tether.js"></script> -<script src="docs/js/markAttachment.js"></script> -<script src="docs/js/intro.js"></script> -<link rel="stylesheet" href="docs/css/intro.css"></link> - -Tether -====== - -Tether is a JavaScript library for efficiently making an absolutely positioned -element stay next to another element on the page. For example, you might -want a tooltip or dialog to open, and remain, next to the relevant item -on the page. - -Tether includes the ability to constrain the element within the viewport, its -scroll parent, any other element on the page, or a fixed bounding box. When it -exceeds those constraints it can be pinned to the edge, flip to the other -side of its target, or hide itself. - -Tether optimizes its location placement to result in the minimum amount of -'jankyness' as the page is scrolled and resized. The page can maintain 60fps -scrolling even with dozens or hundreds of tethers on screen (pop open the -devtools timeline as you scroll this page). - -Tether is 5kb minified and gzipped, and supports IE9+, and all modern -browsers. - -<h2 class="projects-header">Projects Built With Tether</h2> -<p class="projects-paragraph"> -<a href="http://github.hubspot.com/select/docs/welcome"><span>Select</span><img src="http://github.hubspot.com/os-icons/select-icon.png" /></a> -<a href="http://github.hubspot.com/drop/docs/welcome"><span>Drop</span><img src="http://github.hubspot.com/os-icons/drop-icon.png" /></a> -<a href="http://github.hubspot.com/tooltip/docs/welcome"><span>Tooltip</span><img src="http://github.hubspot.com/os-icons/tooltip-icon.png" /></a> -<a href="http://github.hubspot.com/shepherd/docs/welcome"><span>Shepherd</span><img src="http://github.hubspot.com/os-icons/shepherd-icon.png" /></a> -</p> - -Usage ------ - -The element to be moved is called the 'element'. -The element in the page it's to be attached to is called the 'target'. - -To use Tether, you define a point on the target and a point on the element. -Tether moves the element to keep those two points on top of each other. - -That point is called the attachment (we've marked it in the examples with -a red <span class="attachment-mark"></span>). For example, if you'd like -the element to sit on the left of the target: - -<pre class="pre-with-output"><code class="lang-javascript" data-example='usage'>new Tether({ - element: yellowBox, - target: greenBox, - attachment: 'top right', - targetAttachment: 'top left' -}); -</code></pre><output data-example='usage'></output> - -Attachment ----------- - -You can move the attachment points of both the element and the target. - -For example, lets move the element's attachment: - -<pre class="pre-with-output"><code class="lang-javascript" data-example>new Tether({ - element: yellowBox, - target: greenBox, - attachment: <mark>'bottom left'</mark>, - targetAttachment: 'top left' -}); -</code></pre><output></output> - -We can also change the target's attachment point: - -<pre class="pre-with-output"><code class="lang-javascript" data-example>new Tether({ - element: yellowBox, - target: greenBox, - attachment: 'bottom left', - targetAttachment: <mark>'bottom right'</mark> -}); -</code></pre><output></output> - -There are two more attachment points we haven't seen yet, center and middle: - -<pre class="pre-with-output"><code class="lang-javascript" data-example>new Tether({ - element: yellowBox, - target: greenBox, - attachment: <mark>'middle center'</mark>, - targetAttachment: <mark>'middle center'</mark> -}); -</code></pre><output></output> - -All told, Tether provides six built in attachment positions: - -- left -- center -- right -- top -- middle -- bottom - -The syntax of the attachment properties is: `"vertical-attachment horizontal-attachment"`. - -You must always supply an `attachment`. If you don't supply a `target-attachment`, it is -assumed to be the mirror image of `attachment`. - -### Offset - -The six attachment points we provide are not always enough to place the element -exactly where you want it. To correct this, we provide two more properties, -`offset` and `targetOffset`. - -<pre class="pre-with-output"><code class="lang-javascript" data-example>new Tether({ - element: yellowBox, - target: greenBox, - attachment: 'top right', - targetAttachment: 'top left', - <mark>offset: '0 10px'</mark> -}); -</code></pre><output></output> - -As you can see, we've moved the attachment point of the element 10px to the right. -We can also move the attachment point of the target: - -<pre class="pre-with-output"><code class="lang-javascript" data-example>new Tether({ - element: yellowBox, - target: greenBox, - attachment: 'top right', - targetAttachment: 'top left', - offset: '0 10px', - <mark>targetOffset: '20px 0'</mark> -}); -</code></pre><output></output> - -The offset properties also accept percentages. Percentages in `offset` refer to -the height and width of the element, `targetOffset` the height and width of -the target. - -<pre class="pre-with-output"><code class="lang-javascript" data-example>new Tether({ - element: yellowBox, - target: greenBox, - attachment: 'top right', - targetAttachment: 'top left', - targetOffset: <mark>'0 75%'</mark> -}); -</code></pre><output></output> - -The syntax of the offset properties is `"vertical-offset horizontal-offset"` - -Tether offers a couple of special attachments, using the `targetModifier` -option: - -<pre class="pre-with-output"><code class="lang-javascript" data-example>new Tether({ - element: yellowBox, - target: scrollBox, - attachment: 'middle right', - targetAttachment: 'middle left', - targetModifier: 'scroll-handle' -}); -</code></pre><output></output> - -Set the target to `document.body` to have the element follow the page's scroll bar. - -The `targetModifier` `visible` can be used to attach an element to the visible part -of an element: - -<pre class="pre-with-output"><code class="lang-javascript" data-example>new Tether({ - element: yellowBox, - target: document.body, - attachment: 'middle center', - targetAttachment: 'middle center', - <mark>targetModifier: 'visible'</mark> -}); -</code></pre><output deactivated></output> - -<pre class="pre-with-output"><code class="lang-javascript" data-example="scroll-visible">new Tether({ - element: yellowBox, - <mark>target: scrollBox</mark>, - attachment: 'middle center', - targetAttachment: 'middle center', - targetModifier: 'visible' -}); -</code></pre><output class="no-green scroll-page" data-example="scroll-visible"></output> - -Constraints ------------ - -If you have tried any of the previous examples, you'll notice that it's pretty -easy to scroll the regions in such a way that the element is hanging out on -its own, with no target in sight. - -Constraints allow you to control what happens when the tethered element would -have to fall outside of a defined region to maintain the attachment. - -<pre class="pre-with-output"><code class="lang-javascript" data-example>new Tether({ - element: yellowBox, - target: greenBox, - attachment: 'middle left', - targetAttachment: 'middle left', - <mark>constraints</mark>: [ - { - to: 'scrollParent', - pin: true - } - ] -}); -</code></pre><output></output> - -We've created a constraint which will keep the element within its scroll -parent by 'pinning' it to the edges if it tries to escape. For the sake -of the example, we're also highlighting the pinned edge in red. - -Specify an array of sides if you'd only like to pin those edges: - -<pre class="pre-with-output"><code class="lang-javascript" data-example>new Tether({ - element: yellowBox, - target: greenBox, - attachment: 'middle left', - targetAttachment: 'middle left', - constraints: [ - { - to: 'scrollParent', - pin: <mark>['top']</mark> - } - ] -}); -</code></pre><output></output> - -You might want to allow the element to change its attachment, if doing so -would keep more of it within its assigned region: - -<pre class="pre-with-output"><code class="lang-javascript" data-example>new Tether({ - element: yellowBox, - target: greenBox, - attachment: 'top left', - targetAttachment: 'bottom left', - constraints: [ - { - to: 'scrollParent', - <mark>attachment: 'together'</mark> - } - ] -}); -</code></pre><output></output> - -If you scroll the example a bit, you'll see it flip the attachment when necessary. -You can combine `pin` and `attachment` as well: - -<pre class="pre-with-output"><code class="lang-javascript" data-example>new Tether({ - element: yellowBox, - target: greenBox, - attachment: 'top left', - targetAttachment: 'bottom left', - constraints: [ - { - to: 'scrollParent', - attachment: 'together', - <mark>pin: true</mark> - } - ] -}); -</code></pre><output></output> - -Attachment will accept any of these values: - -- `element`: Only change the element's attachment -- `target`: Only change the target's attachment -- `both`: Change either's attachment (or both), as needed -- `together`: Change both the element's and target's attachment at the same time (to -'flip' the element to the other side of the attachment) -- `none`: Don't allow changes to attachment (the default) - -Together is the option you will use most commonly: - -<pre class="pre-with-output"><code class="lang-javascript" data-example>new Tether({ - element: yellowBox, - target: greenBox, - attachment: 'top right', - targetAttachment: 'bottom left', - constraints: [ - { - to: 'scrollParent', - attachment: <mark>'together'</mark> - } - ] -}); -</code></pre><output></output> - -You can also provide different settings for the vertical and horizontal attachments: - -<pre class="pre-with-output"><code class="lang-javascript" data-example>new Tether({ - element: yellowBox, - target: greenBox, - attachment: 'top left', - targetAttachment: 'bottom left', - constraints: [ - { - to: 'scrollParent', - attachment: <mark>'together none'</mark> - } - ] -}); -</code></pre><output></output> - -Whenever the element is out of the constrained area, we add the `tether-out-of-bounds` -class to it. If you add some CSS to make items with that class `display: none`, the -tether will hide. - -<pre class="pre-with-output"><code class="lang-javascript" data-example="hide">new Tether({ - element: yellowBox, - target: greenBox, - attachment: 'middle center', - targetAttachment: 'middle center', - constraints: [ - { - to: 'scrollParent' - } - ] -}); -</code></pre><output data-example="hide"></output> - -You can also constrain the element to the viewport, you'll have to scroll the -page to see this one. - -<pre class="pre-with-output"><code class="lang-javascript" data-example="window">new Tether({ - element: yellowBox, - target: greenBox, - attachment: 'top left', - targetAttachment: 'bottom left', - constraints: [ - { - to: <mark>'window'</mark>, - attachment: 'together' - } - ] -}); -</code></pre><output data-example="window" class="scroll-page"></output> - -You can, of course, use pin with the window as well to -make it always visible no matter where the user scrolls: - -<pre class="pre-with-output"><code class="lang-javascript" data-example>new Tether({ - element: yellowBox, - target: greenBox, - attachment: 'top left', - targetAttachment: 'bottom left', - constraints: [ - { - to: 'window', - attachment: 'together', - <mark>pin: true</mark> - } - ] -}); -</code></pre><output deactivated class="scroll-page visible-enabled"></output> - -`to` can be any of: - -- `'scrollParent'` -- `'window'` -- any DOM element -- an array of bound points relative to the body `[X1, Y1, X2, Y2]` - -You can also provide multiple constraints, keeping in mind that they are -processed in the order supplied (the last one always has the final word). - -<pre class="pre-with-output"><code class="lang-javascript" data-example>new Tether({ - element: yellowBox, - target: greenBox, - attachment: 'top left', - targetAttachment: 'bottom left', - constraints: [ - { - to: <mark>'scrollParent'</mark>, - pin: true - }, - { - to: <mark>'window'</mark>, - attachment: 'together' - } - ] -}); -</code></pre><output></output> - -Optimization ------------- - -### Element Moving - -The goal of Tether's optimizer is to not have to change the positioning -CSS as the page is scrolled or resized. To accomplish this it looks at the -last few positions, finds commonalities, and uses them to decide whether to -position the element absolutely or with fixed positioning. - -If the element is fully contained within its scroll parent, its DOM node -can also be moved inside the scroll parent, to avoid repaints as the -container is scrolled. - -<pre class="pre-with-output"><code class="lang-javascript" data-example="optimizer">new Tether({ - element: yellowBox, - target: greenBox, - attachment: 'top left', - targetAttachment: 'bottom left' -}); -</code></pre><output data-example="optimizer"></output> - -We are moving where the DOM node is, so if you have CSS which styles elements -within the offset parent, you may see some rendering changes. Also note -that this optimization works best if the scroll parent is the offset parent. -In other words, **the scroll parent should be made position relative, fixed or -absolute to enable this optimization.** - -If you do see stylistic changes occur when the element is moved, -you might want to disable this optimization. You can do that by -setting `optimizations.moveElement` to false. - -<pre class="pre-with-output"><code class="lang-javascript" data-example="optimizer2">new Tether({ - element: yellowBox, - target: greenBox, - attachment: 'top left', - targetAttachment: 'bottom left', - optimizations: { - <mark>moveElement: false</mark> - } -}); -</code></pre><output data-example="optimizer2"></output> - -### GPU - -By default tether positions elements using CSS transforms. These transforms allow the -tethered element to be moved as its own layer to not force a repaint of the underlying -page. - -This method of positioning can cause some issues however, including color shifts and artifacts. - -If you experience these issues, you can disable this optimization by setting `optimizations.gpu` -to false: - -<pre class="pre-with-output"><code class="lang-javascript" data-example>new Tether({ - element: yellowBox, - target: greenBox, - attachment: 'top left', - optimizations: { - <mark>gpu: false</mark> - } -}); -</code></pre><output></output> - -Methods -------- - -The `Tether` constructor we've been using in these examples returns us a -`Tether` object. - -The `Tether` object has these methods: - -- `setOptions({ options })` - Update any of the options (such as attachment) -- `disable()` - Disable the tethering -- `enable()` - Enable the tethering -- `destroy()` - Disable and remove all references -- `position()` - Manually trigger a repositioning - -Options -------- - -The full list of options which can be passed to the `Tether` constructor and -`setOptions`: - -- `element`: The DOM element, jQuery element, or a selector string of an element which will be moved -- `target`: The DOM element, jQuery element, or a selector string of an element which the `element` will be attached to -- `attachment`: A string of the form `'vert-attachment horiz-attachment'` - - `vert-attachment` can be any of `'top'`, `'middle'`, `'bottom'` - - `horiz-attachment` can be any of `'left'`, `'center'`, `'right'` -- `targetAttachment`: A string similar to `attachment`. - The one difference is that, if it's not provided, targetAttachment will assume the mirror - image of `attachment`. -- `offset`: A string of the form `'vert-offset horiz-offset'` - - `vert-offset` and `horiz-offset` can be of the form `"20px"` or `"55%"` -- `targetOffset`: A string similar to `offset`, but refering to the offset of the target -- `targetModifier`: Can be set to `'visible'` or `'scroll-handle'` -- `enabled`: Should the tether be enabled initially? Defaults to `true`. -- `classes`: A hash of classes which should be changed or disabled -- `classPrefix`: The prefix placed at the beginning of the default classes, defaults to `'tether'` -- `optimizations`: A hash of optimizations, used to disable them -- `constraints`: An array of constraint definition objects. Each definition is of the form: - - `to`: A DOM element, bounding box, the string `'window'`, or the string `'scrollParent'` - - `pin`: `true` or an array of strings representing the sides of the constraint - - `attachment`: A string of the form `"vert-modifier horiz-modifier"`, or a single value - representing both - - Each modifier should be one of `"none"`, `"together"`, `"element"`, `"target"`, or `"both"`. - - `outOfBoundsClass`: An alternative to `"tether-out-of-bounds"`, useful if the class - needs to be differentiated from that of another constraint. - - `pinnedClass`: An alternative to `"tether-pinned"`, similar to `outOfBoundsClass`. - -Classes -------- - -Tether adds a variety of classes to the element and target to allow you to style -them based on their tethering. - -You can change the prefix of the classes with the `classPrefix` option. It is `'tether'` by -default, but you could, for example, change it to be `'bill'` if you were building the bill -library and all the classes would be `'bill-*'`. - -```javascript -new Tether({ - classPrefix: 'bill' -}); -``` - -The sass/css is similarily configurable, see -[tooltip](https://github.com/HubSpot/tooltip/blob/master/sass/tooltip-theme-arrows.sass#L14) for -an example of how to make your own prefixed css file. - -All classes can be changed or disabled with the `classes` option. For example, to change the -`tether-element` class to be `my-box`: - -```javascript -new Tether({ - classes: { - element: 'my-box' - } -}); -``` - -You can also disable classes you're not going to use: - -```javascript -new Tether({ - classes: { - out-of-bounds: false - } -}); -``` - -- `tether-element` is added to the element -- `tether-target` is added to the target -- `tether-enabled` is added to both elements when tether is not disabled -- `tether-element-attached-[left,right,top,bottom,middle,center]` is added to both -elements based on the elements attachment, if the element becomes detached (for -example, if it's pinned), that class is removed. The class reflects how the -element is actually attached, so if a constraint changes the attachment, that -change will be reflected in the class. -- `tether-target-attached-[left,right,top,bottom,middle,center]` is added to both -elements based on the target's attachment. All of the characteristics are the -same as for element-attached. - -### Constraint-related Classes - -- `tether-out-of-bounds`, `tether-out-of-bounds-[side]` are added to both the element and the target -when the element is placed outside of its constraint. -- `tether-pinned`, `tether-pinned-[side]` are added to both the element and target when a constraint -has pinned the element to the [side] of the container. - -Browser Support ---------------- - -Tether supports IE9+, and all modern browsers. - -Google doesn't support IE8, Microsoft is dropping support in a few months, and not supporting it saves -us a whole lot of trouble. If you are interested in adding support, get in touch, we're happy to accept -a PR. - -Contributing ------------- - -Please contribute! Tether is developed in Coffeescript, but if that's problematic for you, feel free -to submit pull requests which just change the JavaScript files, we can adapt them as needed. - -To build Tether, you need: - -- Node.js - -#### Instructions - -- Install the build tool - -```bash -npm install -g gulp -``` - -- Install the project - -```bash -# In the project directory -npm install -``` - -- Build / Watch - -```bash -gulp -``` diff --git a/minionlivesmatter/templates/assets/tether/docs/js/intro.js b/minionlivesmatter/templates/assets/tether/docs/js/intro.js deleted file mode 100644 index 47ed6e5..0000000 --- a/minionlivesmatter/templates/assets/tether/docs/js/intro.js +++ /dev/null @@ -1,117 +0,0 @@ -(function() { - var OUTPUT_HTML, SETUP_JS, activate, deactivate, getOutput, init, run, setupBlock, tethers, uniqueId; - - uniqueId = Tether.Utils.uniqueId; - - SETUP_JS = "yellowBox = $('.yellow-box', $output);\ngreenBox = $('.green-box', $output);\nscrollBox = $('.scroll-box', $output);"; - - OUTPUT_HTML = function(key) { - return "<div class=\"scroll-box\">\n <div class=\"scroll-content\">\n <div class=\"yellow-box\" data-example=\"" + key + "\"></div>\n <div class=\"green-box\" data-example=\"" + key + "\"></div>\n </div>\n</div>"; - }; - - tethers = {}; - - getOutput = function($block) { - var key; - key = $block.data('example'); - if (key && typeof key === 'string') { - return $("output[data-example='" + key + "']"); - } else { - return $block.parents('pre').nextAll('output').first(); - } - }; - - run = function(key) { - var $block, $output, code; - if (typeof key === 'string') { - $block = $("code[data-example='" + key + "']"); - } else { - $block = key; - } - key = $block.attr('data-example'); - $output = getOutput($block); - code = $block.text(); - code = SETUP_JS + code; - window.$output = $output; - return tethers[key] = eval(code); - }; - - setupBlock = function($block) { - var $output, $scrollBox, $scrollContent, key; - key = $block.data('example'); - $output = getOutput($block); - if (!key) { - key = uniqueId(); - $block.attr('data-example', key); - $output.attr('data-example', key); - $output.find('.tether-element').attr('data-example', key); - } - $output.html(OUTPUT_HTML(key)); - $scrollBox = $output.find('.scroll-box'); - $scrollContent = $scrollBox.find('.scroll-content'); - $scrollBox.scrollTop(parseInt($scrollContent.css('height')) / 2 - $scrollBox.height() / 2); - $scrollBox.scrollLeft(parseInt($scrollContent.css('width')) / 2 - $scrollBox.width() / 2); - setTimeout(function() { - return $scrollBox.on('scroll', function() { - return $output.addClass('scrolled'); - }); - }); - $scrollBox.css('height', "" + ($block.parent().outerHeight()) + "px"); - if ($output.attr('deactivated') == null) { - return run($block); - } - }; - - $(document.body).on('click', function(e) { - if ($(e.target).is('output[deactivated]')) { - activate($(e.target)); - return false; - } else if ($(e.target).is('output[activated]')) { - deactivate($(e.target)); - return false; - } - }); - - activate = function($output) { - var $block, key; - $block = $output.prev().find('code'); - run($block); - $output.find('.tether-element').show(); - key = $output.data('example'); - $(tethers[key].element).show(); - tethers[key].enable(); - $output.removeAttr('deactivated'); - return $output.attr('activated', true); - }; - - deactivate = function($output) { - var $block, $el, key; - $block = $output.prev().find('code'); - key = $output.data('example'); - tethers[key].disable(); - $el = $(tethers[key].element); - $el.detach(); - $output.find('.scroll-content').append($el); - $el.hide(); - $output.removeAttr('activated'); - return $output.attr('deactivated', true); - }; - - init = function() { - var $blocks, block, _i, _len, _results; - $blocks = $('code[data-example]'); - _results = []; - for (_i = 0, _len = $blocks.length; _i < _len; _i++) { - block = $blocks[_i]; - _results.push(setupBlock($(block))); - } - return _results; - }; - - window.EXECUTR_OPTIONS = { - codeSelector: 'code[executable]' - }; - - $(init); - -}).call(this); diff --git a/minionlivesmatter/templates/assets/tether/docs/js/markAttachment.js b/minionlivesmatter/templates/assets/tether/docs/js/markAttachment.js deleted file mode 100644 index c7d34f0..0000000 --- a/minionlivesmatter/templates/assets/tether/docs/js/markAttachment.js +++ /dev/null @@ -1,51 +0,0 @@ -/* globals Tether */ - -'use strict'; - -Tether.modules.push({ - initialize: function initialize() { - var _this = this; - - this.markers = {}; - - ['target', 'element'].forEach(function (type) { - var el = document.createElement('div'); - el.className = _this.getClass('' + type + '-marker'); - - var dot = document.createElement('div'); - dot.className = _this.getClass('marker-dot'); - el.appendChild(dot); - - _this[type].appendChild(el); - - _this.markers[type] = { dot: dot, el: el }; - }); - }, - - position: function position(_ref) { - var manualOffset = _ref.manualOffset; - var manualTargetOffset = _ref.manualTargetOffset; - - var offsets = { - element: manualOffset, - target: manualTargetOffset - }; - - for (var type in offsets) { - var offset = offsets[type]; - for (var side in offset) { - var val = offset[side]; - var notString = typeof val !== 'string'; - if (notString || val.indexOf('%') === -1 && val.indexOf('px') === -1) { - val += 'px'; - } - - if (this.markers[type].dot.style[side] !== val) { - this.markers[type].dot.style[side] = val; - } - } - } - - return true; - } -}); diff --git a/minionlivesmatter/templates/assets/tether/docs/sass/intro.sass b/minionlivesmatter/templates/assets/tether/docs/sass/intro.sass deleted file mode 100644 index 8456a20..0000000 --- a/minionlivesmatter/templates/assets/tether/docs/sass/intro.sass +++ /dev/null @@ -1,233 +0,0 @@ -$scrollableArea: 2000px -$exampleWidth: 400px -$exampleHeight: 180px - -@mixin inline-block - display: inline-block - vertical-align: middle - *vertical-align: auto - *zoom: 1 - *display: inline - -*, *:after, *:before - box-sizing: border-box - -body - position: relative - -.yellow-box - width: 100px - height: 100px - background-color: #fe8 - pointer-events: none - -.green-box - margin-top: ($exampleHeight - 50px) / 2 - margin-left: ($exampleWidth - 200px) / 2 - width: 200px - height: 50px - background-color: #4e9 - - .no-green & - display: none - -.scroll-box - height: 150px - border: 10px solid #eee - background: #fbfbfb - overflow: auto - position: relative - -.scroll-content - height: $scrollableArea - width: $scrollableArea - padding: ($scrollableArea - $exampleHeight)/2 ($scrollableArea - $exampleWidth)/2 + 9 - -pre.pre-with-output - margin: 0 - width: 50% - float: left - - code mark - background: #b8daff - color: #000 - -p, h2, h3 - clear: both - -output - display: block - position: relative - width: 50% - float: right - margin-bottom: 15px - - &.scroll-page - .scroll-box - overflow: hidden - - &:after - content: "↕ scroll the page ↕" - - &:after - content: "↕ scroll this area ↕" - position: absolute - bottom: 25px - width: 100% - text-align: center - font-size: 16px - font-variant: small-caps - color: #777 - opacity: 1 - transition: opacity 0.2s - - &.scrolled:after - opacity: 0 - - &[deactivated], &[activated] - .scroll-box - pointer-events: none - - cursor: pointer - - &:after - position: absolute - top: 0 - left: 0 - right: 0 - bottom: 0 - opacity: 1 - content: "Click To Show" - background-color: #AAA - border-left: 10px solid #EEE - color: white - font-size: 24px - font-variant: normal - padding-top: 80px - - &[activated] - &:after - content: "Click To Hide" - - &.visible-enabled - &:after - height: 35px - padding-top: 5px - -.attachment-mark - position: relative - - &:after - content: "A" - width: 10px - height: 10px - background-color: red - display: inline-block - - line-height: 10px - font-size: 9px - color: white - text-align: center - - position: absolute - -span.attachment-mark - &:after - position: relative - top: -1px - margin-right: 1px - -.tether-marker-dot - @extend .attachment-mark - - position: absolute - - &:after - top: -5px - left: -5px - -@each $type in target, element - .tether-#{ $type }-marker - position: absolute - - @each $side in left, top, bottom, right - div.tether-#{ $type }-attached-#{ $side } & - #{ $side }: 0 - - div.tether-#{ $type }-attached-center & - left: 50% - -.tether-element-attached-middle .tether-element-marker - top: 50px - -.tether-target-attached-middle .tether-target-marker - top: 25px - -.tether-element - position: relative - - &.tether-pinned-left - box-shadow: inset 2px 0 0 0 red - &.tether-pinned-right - box-shadow: inset -2px 0 0 0 red - &.tether-pinned-top - box-shadow: inset 0 2px 0 0 red - &.tether-pinned-bottom - box-shadow: inset 0 -2px 0 0 red - -.tether-target - position: relative - -.tether-element.tether-out-of-bounds[data-example="hide"] - display: none - -[data-example^="optimizer"] - &.lang-javascript - /* This should just be a `code` selector, but sass doesn't allow that with & */ - min-height: 220px - - &.tether-element - - &:before - margin-top: 26px - display: block - text-align: center - content: "I'm in the body" - line-height: 1.2 - font-size: 15px - padding: 4px - color: #666 - - .scroll-box .tether-element:before - content: "I'm in my scroll parent!" - -.tether-element[data-example="scroll-visible"] - height: 30px - - .tether-marker-dot - display: none - -.hs-doc-content h2.projects-header - text-align: center - font-weight: 300 - -.projects-paragraph - text-align: center - - a - +inline-block - text-align: center - margin-right: 30px - color: inherit - - span - +inline-block - margin-bottom: 20px - font-size: 20px - color: inherit - font-weight: 300 - - img - display: block - max-width: 100% - width: 100px diff --git a/minionlivesmatter/templates/assets/tether/docs/welcome/browser-demo.html b/minionlivesmatter/templates/assets/tether/docs/welcome/browser-demo.html deleted file mode 100644 index 6c175bc..0000000 --- a/minionlivesmatter/templates/assets/tether/docs/welcome/browser-demo.html +++ /dev/null @@ -1,76 +0,0 @@ -<!doctype html> -<head> - <meta charset="utf-8"> - <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> - <title>Drop – Browser Demo</title> - <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> - <link rel="icon" href="http://static.hubspot.com/favicon.ico"> - - <script type="text/javascript" src="//use.typekit.net/ghy0wve.js"></script> - <script type="text/javascript">try{Typekit.load();}catch(e){}</script> - - <!-- Drop themes --> - <link rel="stylesheet" href="//github.hubspot.com/tether/dist/css/tether-theme-arrows-dark.css" /> - - <!-- Browser demo styles --> - <link rel="stylesheet" href="//github.hubspot.com/tether/docs/welcome/css/browser-demo.css" /> -</head> -<body> - <div class="browser-demo"> - <div class="top"><div class="title"></div></div> - <div class="bottom"> - <div class="left"> - <div class="item"></div> - <div class="item"></div> - <div class="item"></div> - <div class="item"></div> - <div class="item"></div> - <div class="item"></div> - <div class="item"></div> - <div class="item"></div> - <div class="item"></div> - <div class="item"></div> - <div class="item"></div> - <div class="item"></div> - <div class="item"></div> - <div class="item"></div> - <div class="item"></div> - <div class="item"></div> - <div class="item"></div> - <div class="item"></div> - <div class="item"></div> - <div class="item"></div> - <div class="item"></div> - <div class="item"></div> - <div class="item"></div> - <div class="item"></div> - <div class="item"></div> - <div class="item"></div> - <div class="item"></div> - <div class="item"></div> - <div class="item"></div> - <div class="item"></div> - <div class="item"></div> - <div class="item"></div> - </div> - <div class="right"> - <div class="title"></div> - <p> - <div class="word"></div><div class="word"></div><div class="word"></div><div class="word"></div><div class="word"></div><div class="word"></div><div class="word"></div><div class="word"></div><div class="word"></div><div class="word"></div><div class="word"></div><div class="word"></div><div class="word"></div> - </p> - <p> - <div class="word"></div><div class="word"></div><div class="word"></div><div class="word"></div><div class="word"></div><div class="word"></div><div class="word"></div><div class="word"></div><div class="word"></div><div class="word"></div><div class="word"></div><div class="word"></div><div class="word"></div><div class="word"></div><div class="word"></div><div class="word"></div><div class="word"></div><div class="word"></div><div class="word"></div> - </p> - </div> - </div> - </div> - - <!-- Tether javascript --> - <script src="//github.hubspot.com/tether/dist/js/tether.min.js"></script> - - <!-- Welcome docs javascript --> - <script src="//github.hubspot.com/tether/docs/welcome/js/log.js"></script> - <script src="//github.hubspot.com/tether/docs/welcome/js/jquery.js"></script> - <script src="//github.hubspot.com/tether/docs/welcome/js/drop.js"></script> -</body> -</html> diff --git a/minionlivesmatter/templates/assets/tether/docs/welcome/coffee/welcome.coffee b/minionlivesmatter/templates/assets/tether/docs/welcome/coffee/welcome.coffee deleted file mode 100644 index a431602..0000000 --- a/minionlivesmatter/templates/assets/tether/docs/welcome/coffee/welcome.coffee +++ /dev/null @@ -1,212 +0,0 @@ -_Drop = Drop.createContext classPrefix: 'tether' - -isMobile = $(window).width() < 567 - -init = -> - setupHero() - setupBrowserDemo() - -setupHero = -> - $target = $('.tether-target-demo') - - positions = [ - 'top left' - 'left top' - 'left middle' - 'left bottom' - 'bottom left' - 'bottom center' - 'bottom right' - 'right bottom' - 'right middle' - 'right top' - 'top right' - 'top center' - ] - - if isMobile - positions = [ - 'top left' - 'bottom left' - 'bottom right' - 'top right' - ] - - window.drops = {} - - for position in positions - drops[position] = new _Drop - target: $target[0] - classes: 'tether-theme-arrows-dark' - position: position - constrainToWindow: false - openOn: '' - content: '<div style="height: 50px; width: 50px"></div>' - - openIndex = 0 - frames = 0 - frameLengthMS = 10 - - openAllDrops = -> - for position, drop of drops - drop.open() - - openNextDrop = -> - for position, drop of drops - drop.close() - - drops[positions[openIndex]].open() - drops[positions[(openIndex + 6) % positions.length]].open() - - openIndex = (openIndex + 1) % positions.length - - if frames > 5 - finalDropState() - return - - frames += 1 - - setTimeout openNextDrop, frameLengthMS * frames - - finalDropState = -> - $(drops['top left'].dropContent).html('Marrying DOM elements for life.') - $(drops['bottom right'].dropContent).html('<a class="button" href="http://github.com/HubSpot/tether">★ On Github</a>') - drops['top left'].open() - drops['bottom right'].open() - - if true or isMobile - drops['top left'].open() - drops['top left'].tether.position() - drops['bottom right'].open() - drops['bottom right'].tether.position() - finalDropState() - - else - openNextDrop() - -setupBrowserDemo = -> - $browserDemo = $('.browser-demo.showcase') - - $startPoint = $('.browser-demo-start-point') - $stopPoint = $('.browser-demo-stop-point') - - $iframe = $('.browser-window iframe') - $browserContents = $('.browser-content .browser-demo-inner') - - $sections = $('.browser-demo-section') - - $('body').append """ - <style> - table.showcase.browser-demo.fixed-bottom { - top: #{ $sections.length }00% - } - </style> - """ - - $(window).scroll -> - scrollTop = $(window).scrollTop() - - if $startPoint.position().top < scrollTop and scrollTop + window.innerHeight < $stopPoint.position().top - $browserDemo.removeClass('fixed-bottom') - $browserDemo.addClass('fixed') - - $sections.each -> - $section = $ @ - - if $section.position().top < scrollTop < $section.position().top + $section.outerHeight() - setSection $section.data('section') - - return true - - else - $browserDemo.removeAttr('data-section') - $browserDemo.removeClass('fixed') - - if scrollTop + window.innerHeight > $stopPoint.position().top - $browserDemo.addClass('fixed-bottom') - else - $browserDemo.removeClass('fixed-bottom') - - $iframe.load -> - iframeWindow = $iframe[0].contentWindow - - $items = $iframe.contents().find('.item') - - $items.each (i) -> - $item = $(@) - - _iframeWindowDrop = iframeWindow.Drop.createContext classPrefix: 'tether' - - drop = new _iframeWindowDrop - target: $item[0] - classes: 'tether-theme-arrows-dark' - position: 'right top' - constrainToWindow: true - openOn: 'click' - content: ''' - <ul> - <li>Action 1</li> - <li>Action 2</li> - <li>Action 3</li> - </ul> - ''' - - $item.data('drop', drop) - - scrollInterval = undefined - scrollTop = 0 - scrollTopDirection = 1 - - setSection = (section) -> - $browserDemo.attr('data-section', section) - - $('.section-copy').removeClass('active') - $(""".section-copy[data-section="#{ section }"]""").addClass('active') - - openExampleItem = -> - if isMobile - $iframe.contents().find('.item:first').data().drop.open() - else - $iframe.contents().find('.item:eq(2)').data().drop.open() - - closeAllItems = -> - $iframe.contents().find('.item').each -> $(@).data().drop.close() or true - - scrollLeftSection = -> - scrollInterval = setInterval -> - $iframe.contents().find('.left').scrollTop scrollTop - scrollTop += scrollTopDirection - if scrollTop > 50 - scrollTopDirection = -1 - if scrollTop < 0 - scrollTopDirection = 1 - , 30 - - stopScrollingLeftSection = -> - clearInterval scrollInterval - - switch section - - when 'what' - closeAllItems() - openExampleItem() - stopScrollingLeftSection() - - when 'how' - closeAllItems() - openExampleItem() - stopScrollingLeftSection() - scrollLeftSection() - - when 'why' - closeAllItems() - openExampleItem() - stopScrollingLeftSection() - scrollLeftSection() - - when 'outro' - closeAllItems() - openExampleItem() - stopScrollingLeftSection() - -init()
\ No newline at end of file diff --git a/minionlivesmatter/templates/assets/tether/docs/welcome/css/browser-demo.css b/minionlivesmatter/templates/assets/tether/docs/welcome/css/browser-demo.css deleted file mode 100644 index 0bd007b..0000000 --- a/minionlivesmatter/templates/assets/tether/docs/welcome/css/browser-demo.css +++ /dev/null @@ -1,86 +0,0 @@ -html, body { - height: 100%; - overflow: hidden; - font-family: "proxima-nova", sans-serif; } - -.tether.tether-theme-arrows-dark .tether-content { - -webkit-filter: none; - filter: none; - background: #000; } - .tether.tether-theme-arrows-dark .tether-content ul { - color: #fff; - list-style: none; - padding: 0; - margin: 0; } - -.tether.tether-theme-arrows-dark.tether-element-attached-top.tether-element-attached-left.tether-target-attached-right .tether-content:before { - border-right-color: #000; } - -.browser-demo { - position: absolute; - top: 0; - left: 0; - bottom: 0; - right: 0; } - .browser-demo *, .browser-demo *:after, .browser-demo *:before { - box-sizing: border-box; } - .browser-demo .top { - position: absolute; - height: 60px; - padding: 20px; - line-height: 40px; - width: 100%; - border-bottom: 1px solid rgba(0, 0, 0, 0.1); } - .browser-demo .bottom { - position: absolute; - top: 60px; - bottom: 0; - width: 100%; } - .browser-demo .bottom .left { - border-right: 1px solid rgba(0, 0, 0, 0.1); - position: absolute; - width: 30%; - height: 100%; - overflow: auto; } - .browser-demo .bottom .left .item { - height: 64px; - border-bottom: 1px solid rgba(0, 0, 0, 0.1); - cursor: pointer; } - .browser-demo .bottom .left .item:hover, .browser-demo .bottom .left .item.tether-open { - background: rgba(0, 0, 0, 0.1); - border-bottom: 1px solid transparent; } - .browser-demo .bottom .left .item:last-child { - border-bottom: 0; } - .browser-demo .bottom .right { - position: absolute; - width: 70%; - right: 0; - height: 100%; - padding: 20px; } - .browser-demo .title { - display: inline-block; - vertical-align: middle; - *vertical-align: auto; - *zoom: 1; - *display: inline; - background: rgba(0, 0, 0, 0.1); - width: 150px; - height: 15px; - margin-bottom: 20px; } - .browser-demo .word { - display: inline-block; - vertical-align: middle; - *vertical-align: auto; - *zoom: 1; - *display: inline; - background: rgba(0, 0, 0, 0.1); - width: 50px; - height: 8px; - margin-right: 5px; - margin-bottom: 5px; } - .browser-demo .word:nth-last-child(4n+1) { - width: 73px; } - .browser-demo .word:nth-last-child(10n+1) { - width: 14px; } - .browser-demo .word:nth-last-child(9n+1) { - width: 80px; } diff --git a/minionlivesmatter/templates/assets/tether/docs/welcome/css/prism.css b/minionlivesmatter/templates/assets/tether/docs/welcome/css/prism.css deleted file mode 100644 index b86d1c2..0000000 --- a/minionlivesmatter/templates/assets/tether/docs/welcome/css/prism.css +++ /dev/null @@ -1,2 +0,0 @@ -/* Prism.js */ -code[class*="language-"], pre[class*="language-"] {color: black; font-family: Consolas, Monaco, 'Andale Mono', monospace; direction: ltr; text-align: left; white-space: pre; word-spacing: normal; -moz-tab-size: 4; -o-tab-size: 4; tab-size: 4; -webkit-hyphens: none; -moz-hyphens: none; -ms-hyphens: none; hyphens: none; } /* Code blocks */ pre[class*="language-"] {padding: 1em; margin: .5em 0; overflow: auto; font-size: 14px; } :not(pre) > code[class*="language-"], pre[class*="language-"] {background: rgba(0, 0, 0, .05); } /* Inline code */ :not(pre) > code[class*="language-"] {padding: .1em; border-radius: .3em; } .token.comment, .token.prolog, .token.doctype, .token.cdata {color: slategray; } .token.punctuation {color: #999; } .namespace {opacity: .7; } .token.property, .token.tag, .token.boolean, .token.number, .token.constant, .token.symbol {color: #905; } .token.selector, .token.attr-name, .token.string, .token.builtin {color: #690; } .token.operator, .token.entity, .token.url, .language-css .token.string, .style .token.string, .token.variable {color: #a67f59; } .token.atrule, .token.attr-value, .token.keyword {color: #07a; } .token.regex, .token.important {color: #e90; } .token.important {font-weight: bold; } .token.entity {cursor: help; }
\ No newline at end of file diff --git a/minionlivesmatter/templates/assets/tether/docs/welcome/css/welcome.css b/minionlivesmatter/templates/assets/tether/docs/welcome/css/welcome.css deleted file mode 100644 index 8b7a6ad..0000000 --- a/minionlivesmatter/templates/assets/tether/docs/welcome/css/welcome.css +++ /dev/null @@ -1,247 +0,0 @@ -html, body { - height: 100%; } - -body { - margin: 0; - font-family: "proxima-nova", "Helvetica Neue", sans-serif; } - -.button { - display: inline-block; - border: 2px solid #333; - color: #333; - padding: 1em 1.25em; - font-weight: 500; - text-transform: uppercase; - letter-spacing: 3px; - text-decoration: none; - cursor: pointer; - width: 140px; - font-size: .8em; - line-height: 1.3em; - text-align: center; } - -.tether-element.tether-theme-arrows-dark .tether-content { - padding: 1em; - font-size: 1.1em; } - .tether-element.tether-theme-arrows-dark .tether-content .button { - border-color: #fff; - color: #fff; - width: 170px; - pointer-events: all; } - -.mobile-copy { - display: none; } - @media (max-width: 568px) { - .mobile-copy { - display: block; } } - -.button.dark { - background: #333; - color: #fff; } - -.hero-wrap { - height: 100%; - overflow: hidden; } - -table.showcase { - height: 100%; - width: 100%; - position: relative; } - table.showcase:after { - content: ""; - display: block; - position: absolute; - left: 0; - right: 0; - bottom: 20px; - margin: auto; - height: 0; - width: 0; - border-width: 18px; - border-style: solid; - border-color: transparent; - border-top-color: rgba(0, 0, 0, 0.2); } - table.showcase.no-next-arrow:after { - display: none; } - table.showcase .showcase-inner { - margin: 40px auto 60px; - padding: 10px; } - table.showcase .showcase-inner h1 { - font-size: 50px; - text-align: center; - font-weight: 300; } - @media (max-width: 567px) { - table.showcase .showcase-inner h1 { - font-size: 40px; } } - table.showcase .showcase-inner h2 { - font-size: 24px; - text-align: center; - font-weight: 300; - margin: 1em 0 1em; } - @media (max-width: 567px) { - table.showcase .showcase-inner h2 { - font-size: 14px; } } - table.showcase .showcase-inner p { - text-align: center; } - table.showcase.hero { - text-align: center; } - table.showcase.hero .tether-target-demo { - display: inline-block; - vertical-align: middle; - *vertical-align: auto; - *zoom: 1; - *display: inline; - border: 2px dotted #000; - margin: 5rem auto; - padding: 5rem; } - @media (max-width: 567px) { - table.showcase.hero .tether-target-demo { - padding: 1rem; } } - table.showcase.share { - background: #f3f3f3; } - table.showcase.projects-showcase .showcase-inner .projects-list { - width: 80%; - max-width: 1200px; - margin: 0 auto; } - table.showcase.projects-showcase .showcase-inner .projects-list .project { - color: inherit; - text-decoration: none; - position: relative; - width: 50%; - float: left; - text-align: center; - margin-bottom: 2rem; } - table.showcase.projects-showcase .showcase-inner .projects-list .project:nth-child(odd) { - clear: left; } - table.showcase.projects-showcase .showcase-inner .projects-list .os-icon { - width: 8rem; - height: 8rem; - margin-bottom: 1rem; - background-size: 100%; } - table.showcase.projects-showcase .showcase-inner .projects-list h1 { - font-size: 2.5rem; } - table.showcase.projects-showcase .showcase-inner .projects-list p { - font-size: 1.3rem; } - table.showcase.browser-demo { - background-image: -webkit-linear-gradient(top left, #723362 0%, #9d223c 100%); - background-image: linear-gradient(top left, #723362 0%, #9d223c 100%); - background-color: #9d223c; - position: absolute; - top: 100%; } - table.showcase.browser-demo.fixed { - position: fixed; - top: 0; - bottom: 0; - left: 0; - right: 0; - z-index: 1; } - table.showcase.browser-demo.fixed .browser-demo-inner { - -webkit-transition: width 2s ease-in-out, height 2s ease-in-out; - transition: width 2s ease-in-out, height 2s ease-in-out; } - table.showcase.browser-demo.fixed[data-section="what"] { - box-shadow: 0 0 0 0; } - table.showcase.browser-demo.fixed[data-section="why"] .browser-demo-inner { - width: 70%; } - table.showcase.browser-demo.fixed[data-section="outro"] .showcase-inner { - pointer-events: all; } - table.showcase.browser-demo .showcase-inner { - pointer-events: none; - position: absolute; - left: 10%; - right: 40%; - top: 220px; - bottom: 120px; - margin: 0; - padding: 0; } - @media (max-width: 567px) { - table.showcase.browser-demo .showcase-inner { - bottom: 90px; - top: 180px; } } - table.showcase.browser-demo .browser-demo-inner { - height: 100%; - width: 100%; } - table.showcase.browser-demo .section-copy { - -webkit-transition: opacity 0.5s ease-in-out, top 0.5s ease-in-out; - transition: opacity 0.5s ease-in-out, top 0.5s ease-in-out; - opacity: 0; - position: absolute; - top: 0; - position: absolute; - height: 200px; - color: #fff; - text-align: center; - width: 100%; } - table.showcase.browser-demo .section-copy.active { - opacity: 1; - top: -150px; } - @media (max-width: 567px) { - table.showcase.browser-demo .section-copy.active { - top: -130px; } } - table.showcase.browser-demo .section-copy h2 { - font-size: 40px; - font-weight: bold; - line-height: 1; - margin: 25px 0 15px; } - @media (max-width: 567px) { - table.showcase.browser-demo .section-copy h2 { - font-size: 30px; } } - table.showcase.browser-demo .browser-window { - border-radius: 4px; - background: #fff; - position: relative; - height: 100%; - width: 100%; - max-width: 1200px; - margin: 0 auto; } - table.showcase.browser-demo .browser-window .browser-titlebar { - position: absolute; - top: 0; - left: 0; - right: 0; - border-bottom: 1px solid #eee; - height: 55px; } - table.showcase.browser-demo .browser-window .browser-titlebar .browser-dots { - padding: 16px; } - table.showcase.browser-demo .browser-window .browser-titlebar .browser-dots b { - display: inline-block; - vertical-align: middle; - *vertical-align: auto; - *zoom: 1; - *display: inline; - border-radius: 50%; - width: 10px; - height: 10px; - margin-right: 7px; - background: rgba(0, 0, 0, 0.1); } - table.showcase.browser-demo .browser-window .browser-frame { - position: absolute; - top: 55px; - left: 0; - right: 0; - bottom: 0; } - table.showcase.browser-demo .browser-window .browser-frame iframe { - border-radius: 0 0 4px 4px; - border: 0; - width: 100%; - height: 100%; } - table.showcase.browser-demo-section .section-scroll-copy { - position: relative; - z-index: 10; - color: #fff; - width: 100%; - font-size: 22px; } - table.showcase.browser-demo-section .section-scroll-copy .section-scroll-copy-inner { - position: absolute; - z-index: 10; - color: #fff; - right: 10%; - width: 23%; } - table.showcase.browser-demo-section .section-scroll-copy .section-scroll-copy-inner a { - color: inherit; } - table.showcase.browser-demo-section .section-scroll-copy .section-scroll-copy-inner .example-paragraph { - border-radius: 4px; - background: #000; - padding: 1rem; } - -.browser-content { - display: none; } diff --git a/minionlivesmatter/templates/assets/tether/docs/welcome/index.html b/minionlivesmatter/templates/assets/tether/docs/welcome/index.html deleted file mode 100644 index d70d00d..0000000 --- a/minionlivesmatter/templates/assets/tether/docs/welcome/index.html +++ /dev/null @@ -1,226 +0,0 @@ -<!doctype html> -<head> - <meta charset="utf-8"> - <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> - <title>Tether – Marrying elements for life</title> - <meta name="description" content="Tether is a JavaScript and CSS library. It is free and open source and was developed by HubSpot developers Adam Schwartz (@adamfschwartz) and Zack Bloom (@zackbloom)."> - <link rel="icon" href="http://static.hubspot.com/favicon.ico"> - - <script type="text/javascript" src="//use.typekit.net/ghy0wve.js"></script> - <script type="text/javascript">try{Typekit.load();}catch(e){}</script> - - <!-- Tether themes --> - <link rel="stylesheet" href="//github.hubspot.com/tether/dist/css/tether-theme-arrows-dark.css" /> - - <!-- Welcome docs styles --> - <link rel="stylesheet" href="//github.hubspot.com/tether/docs/welcome/css/prism.css" /> - <link rel="stylesheet" href="//github.hubspot.com/tether/docs/welcome/css/welcome.css" /> - - <!-- OS icons --> - <link rel="stylesheet" href="http://github.hubspot.com/os-icons/os-icons.css" /> -</head> -<body> - <div class="hero-wrap"> - <table class="showcase hero"><tr><td> - <div class="showcase-inner"> - <div class="tether-target-demo"> - <h1>Tether</h1> - <div class="mobile-copy"> - <h2>Marrying elements for life</h2> - <p> - <a class="button" href="http://github.com/HubSpot/tether">★ On Github</a> - </p> - </div> - </div> - </div> - </td></tr></table> - </div> - - <div class="browser-demo-start-point"></div> - - <table class="showcase browser-demo"><tr><td> - <div class="showcase-inner"> - <div class="section-copy" data-section="what"> - <h2>What is Tether?</h2> - </div> - <div class="section-copy" data-section="how"> - <h2>How Tether works.</h2> - </div> - <div class="section-copy" data-section="why"> - <h2>Tether is powerful.</h2> - </div> - <div class="section-copy" data-section="outro"> - <h2>Play with Tether</h2> - </div> - <div class="browser-demo-inner"> - <div class="browser-window"> - <div class="browser-titlebar"> - <div class="browser-dots"><b></b><b></b><b></b></div> - </div> - <div class="browser-frame"> - <iframe src="browser-demo.html"></iframe> - </div> - </div> - </div> - </div> - </td></tr></table> - - <table class="showcase browser-demo-section no-next-arrow" data-section="what"><tr><td> - <div class="section-scroll-copy"> - <div class="section-scroll-copy-inner"> - <p>Tether is a low-level UI library that can be used to position any element on a page <i>next to any other element</i>.</p> - <p>It can be used for dropdown menus, tooltips, popovers, tours, help information, scroll guides, autocompletes, etc. The possibilities are endless.</p> - <p class="example-paragraph">In this example we're showing an action menu <em>tethered</em> to a list item.</p> - </div> - </div> - </td></tr></table> - - <table class="showcase browser-demo-section no-next-arrow" data-section="how"><tr><td> - <div class="section-scroll-copy"> - <div class="section-scroll-copy-inner"> - <p>Tether works by creating an absolutely positioned element and meticulously tracking the movements of a <i>target</i> which you specify.</p> - <p>The <i>target</i> and <i>element</i> can be tethered together in a variety of different ways.</p> - <p class="example-paragraph">Notice how the <i>tethered element</i> stays tethered to its <i>target</i> list item even as the left pane is scrolled up and down.</p> - </div> - </div> - </td></tr></table> - - <table class="showcase browser-demo-section no-next-arrow" data-section="why"><tr><td> - <div class="section-scroll-copy"> - <div class="section-scroll-copy-inner"> - <p>Tether can keep your element positioned properly even in some tough situations.</p> - <p>Tether handles all of the common pain points:</p> - <ul> - <li>Automatically detect collisions with the edge of the page or edge of the scrollParent</li> - <li>Automatically reposition on browser resize, scroll, and other events,</li> - <li>Constrain the position to any bounding box,</li> - </ul> - <p>...and a lot more.</p> - </div> - </div> - </td></tr></table> - - <table class="showcase browser-demo-section no-next-arrow" data-section="outro"><tr><td> - <div class="section-scroll-copy"> - <div class="section-scroll-copy-inner"> - <p class="example-paragraph">Interact with this demo.</p> - <p> </p> - <p>To learn more, check out our <a href="/">documentation</a>.</p> - </div> - </div> - </td></tr></table> - - <table class="showcase browser-demo-section no-next-arrow" data-section="__empty"><tr><td></td></tr></table> - - <div class="browser-demo-stop-point"></div> - - <table class="showcase projects-showcase no-next-arrow"><tr><td> - <div class="showcase-inner"> - <h1>Tether Family</h1> - <h2>These projects are all powered by Tether's positioning engine.</h2> - <div class="projects-list"> - <a href="//github.hubspot.com/drop/docs/welcome" class="project"> - <h1>Drop</h1> - <span class="os-icon drop-icon"></span> - <p>Create dropdowns, popovers, and more.</p> - </a> - <a href="//github.hubspot.com/tooltip/docs/welcome" class="project"> - <h1>Tooltip</h1> - <span class="os-icon tooltip-icon"></span> - <p>Stylable tooltips built on Tether.</p> - </a> - <a href="//github.hubspot.com/select/docs/welcome" class="project"> - <h1>Select</h1> - <span class="os-icon select-icon"></span> - <p>Stylable select elements built on Tether.</p> - </a> - <a href="//github.hubspot.com/shepherd/docs/welcome" class="project"> - <h1>Shepherd</h1> - <span class="os-icon shepherd-icon"></span> - <p>Guide your users through a tour of your app.</p> - </a> - </div> - </div> - </td></tr></table> - - <table class="showcase last-showcase no-next-arrow share"><tr><td> - <div class="showcase-inner"> - <h1>Share</h1> - <h2>Help us spread the word.</h2> - <!-- Share --> - <style> - .share-buttons { - margin: 4em auto; - text-align: center; - } - .share-button { - display: inline-block; - } - .retweet-button { - width: 100px; - margin-left: 20px; - } - .github-stars { - width: 100px; - } - </style> - <div class="share-buttons"> - <div class="share-button retweet-button"> - <a href="http://twitter.com/share" class="twitter-share-button" data-url="http://github.hubspot.com/tether/docs/welcome" data-text="Tether.js - A positioning engine for JavaScript" data-count="horizontal" data-via="HubSpotDev">Tweet</a> - <script> - (function(){ - var recommends, button; - - if (Math.random() >= 0.5) { - recommends = ['hubspotdev', 'zackbloom', 'adamfschwartz']; - } else { - recommends = ['hubspotdev', 'adamfschwartz', 'zackbloom']; - } - - button = document.querySelector('.twitter-share-button'); - - if (button) { - button.setAttribute('data-related', recommends.join(',')); - } - })(); - </script> - <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script> - </div> - <div class="share-button github-stars-button"> - <iframe src="http://ghbtns.com/github-btn.html?user=HubSpot&repo=tether&type=watch&count=true&size=small" allowtransparency="true" frameborder="0" scrolling="0" width="100" height="20"></iframe> - </div> - </p> - </div> - </td></tr></table> - - <!-- Tether javascript --> - <script src="//github.hubspot.com/tether/dist/js/tether.min.js"></script> - - <!-- Welcome docs javascript --> - <script src="//github.hubspot.com/tether/docs/welcome/js/log.js"></script> - <script src="//github.hubspot.com/tether/docs/welcome/js/jquery.js"></script> - <script src="//github.hubspot.com/tether/docs/welcome/js/drop.js"></script> - <script src="//github.hubspot.com/tether/docs/welcome/js/welcome.js"></script> - - <!-- HubSpot analytics --> - <script type="text/javascript"> - (function(d,s,i,r) { - if (d.getElementById(i)){return;} - var n=d.createElement(s),e=d.getElementsByTagName(s)[0]; - n.id=i;n.src='//js.hubspot.com/analytics/'+(Math.ceil(new Date()/r)*r)+'/51294.js'; - e.parentNode.insertBefore(n, e); - })(document,"script","hs-analytics",300000); - </script> - - <!-- Google analytics --> - <script> - (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ - (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), - m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) - })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); - - ga('create', 'UA-45159009-1', 'auto'); - ga('send', 'pageview'); - </script> -</body> -</html> diff --git a/minionlivesmatter/templates/assets/tether/docs/welcome/js/drop.js b/minionlivesmatter/templates/assets/tether/docs/welcome/js/drop.js deleted file mode 100644 index 0058819..0000000 --- a/minionlivesmatter/templates/assets/tether/docs/welcome/js/drop.js +++ /dev/null @@ -1,239 +0,0 @@ -(function() { - var Evented, MIRROR_ATTACH, addClass, allDrops, clickEvent, createContext, extend, hasClass, removeClass, sortAttach, touchDevice, _ref, - __hasProp = {}.hasOwnProperty, - __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, - __indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; }; - - _ref = Tether.Utils, extend = _ref.extend, addClass = _ref.addClass, removeClass = _ref.removeClass, hasClass = _ref.hasClass, Evented = _ref.Evented; - - touchDevice = 'ontouchstart' in document.documentElement; - - clickEvent = touchDevice ? 'touchstart' : 'click'; - - sortAttach = function(str) { - var first, second, _ref1, _ref2; - _ref1 = str.split(' '), first = _ref1[0], second = _ref1[1]; - if (first === 'left' || first === 'right') { - _ref2 = [second, first], first = _ref2[0], second = _ref2[1]; - } - return [first, second].join(' '); - }; - - MIRROR_ATTACH = { - left: 'right', - right: 'left', - top: 'bottom', - bottom: 'top', - middle: 'middle', - center: 'center' - }; - - allDrops = {}; - - createContext = function(options) { - var DropInstance, defaultOptions, drop, _name; - if (options == null) { - options = {}; - } - drop = function() { - return (function(func, args, ctor) { - ctor.prototype = func.prototype; - var child = new ctor, result = func.apply(child, args); - return Object(result) === result ? result : child; - })(DropInstance, arguments, function(){}); - }; - extend(drop, { - createContext: createContext, - drops: [], - defaults: {} - }); - defaultOptions = { - classPrefix: 'drop', - defaults: { - attach: 'bottom left', - openOn: 'click', - constrainToScrollParent: true, - constrainToWindow: true, - classes: '', - tetherOptions: {} - } - }; - extend(drop, defaultOptions, options); - extend(drop.defaults, defaultOptions.defaults, options.defaults); - if (allDrops[_name = drop.classPrefix] == null) { - allDrops[_name] = []; - } - drop.updateBodyClasses = function() { - var anyOpen, _drop, _i, _len, _ref1; - anyOpen = false; - _ref1 = allDrops[drop.classPrefix]; - for (_i = 0, _len = _ref1.length; _i < _len; _i++) { - _drop = _ref1[_i]; - if (!(_drop.isOpened())) { - continue; - } - anyOpen = true; - break; - } - if (anyOpen) { - return addClass(document.body, "" + drop.classPrefix + "-open"); - } else { - return removeClass(document.body, "" + drop.classPrefix + "-open"); - } - }; - DropInstance = (function(_super) { - __extends(DropInstance, _super); - - function DropInstance(options) { - this.options = options; - this.options = extend({}, drop.defaults, this.options); - this.target = this.options.target; - if (this.target == null) { - throw new Error('Drop Error: You must provide a target.'); - } - drop.drops.push(this); - allDrops[drop.classPrefix].push(this); - this.setupElements(); - this.setupEvents(); - this.setupTether(); - } - - DropInstance.prototype.setupElements = function() { - this.drop = document.createElement('div'); - addClass(this.drop, drop.classPrefix); - if (this.options.classes) { - addClass(this.drop, this.options.classes); - } - this.dropContent = document.createElement('div'); - addClass(this.dropContent, "" + drop.classPrefix + "-content"); - if (typeof this.options.content === 'object') { - this.dropContent.appendChild(this.options.content); - } else { - this.dropContent.innerHTML = this.options.content; - } - return this.drop.appendChild(this.dropContent); - }; - - DropInstance.prototype.setupTether = function() { - var constraints, dropAttach; - dropAttach = this.options.position.split(' '); - dropAttach[0] = MIRROR_ATTACH[dropAttach[0]]; - dropAttach = dropAttach.join(' '); - constraints = []; - if (this.options.constrainToScrollParent) { - constraints.push({ - to: 'scrollParent', - pin: 'top, bottom', - attachment: 'together none' - }); - } - if (this.options.constrainToWindow !== false) { - constraints.push({ - to: 'window', - pin: true, - attachment: 'together' - }); - } - constraints.push({ - to: 'scrollParent' - }); - options = { - element: this.drop, - target: this.target, - attachment: sortAttach(dropAttach), - targetAttachment: sortAttach(this.options.position), - classPrefix: drop.classPrefix, - offset: '0 0', - targetOffset: '0 0', - enabled: false, - constraints: constraints - }; - if (this.options.tether !== false) { - return this.tether = new Tether(extend({}, options, this.options.tether)); - } - }; - - DropInstance.prototype.setupEvents = function() { - var events, - _this = this; - if (!this.options.openOn) { - return; - } - events = this.options.openOn.split(' '); - if (__indexOf.call(events, 'click') >= 0) { - this.target.addEventListener(clickEvent, function() { - return _this.toggle(); - }); - document.addEventListener(clickEvent, function(event) { - if (!_this.isOpened()) { - return; - } - if (event.target === _this.drop || _this.drop.contains(event.target)) { - return; - } - if (event.target === _this.target || _this.target.contains(event.target)) { - return; - } - return _this.close(); - }); - } - if (__indexOf.call(events, 'hover') >= 0) { - this.target.addEventListener('mouseover', function() { - return _this.open(); - }); - return this.target.addEventListener('mouseout', function() { - return _this.close(); - }); - } - }; - - DropInstance.prototype.isOpened = function() { - return hasClass(this.drop, "" + drop.classPrefix + "-open"); - }; - - DropInstance.prototype.toggle = function() { - if (this.isOpened()) { - return this.close(); - } else { - return this.open(); - } - }; - - DropInstance.prototype.open = function() { - var _ref1; - if (!this.drop.parentNode) { - document.body.appendChild(this.drop); - } - addClass(this.target, "" + drop.classPrefix + "-open"); - addClass(this.drop, "" + drop.classPrefix + "-open"); - if ((_ref1 = this.tether) != null) { - _ref1.enable(); - } - this.trigger('open'); - return drop.updateBodyClasses(); - }; - - DropInstance.prototype.close = function() { - var _ref1; - removeClass(this.target, "" + drop.classPrefix + "-open"); - removeClass(this.drop, "" + drop.classPrefix + "-open"); - this.trigger('close'); - if ((_ref1 = this.tether) != null) { - _ref1.disable(); - } - return drop.updateBodyClasses(); - }; - - return DropInstance; - - })(Evented); - return drop; - }; - - window.Drop = createContext(); - - document.addEventListener('DOMContentLoaded', function() { - return Drop.updateBodyClasses(); - }); - -}).call(this);
\ No newline at end of file diff --git a/minionlivesmatter/templates/assets/tether/docs/welcome/js/jquery.js b/minionlivesmatter/templates/assets/tether/docs/welcome/js/jquery.js deleted file mode 100644 index dfdf619..0000000 --- a/minionlivesmatter/templates/assets/tether/docs/welcome/js/jquery.js +++ /dev/null @@ -1,9597 +0,0 @@ -/*! - * jQuery JavaScript Library v1.9.1 - * http://jquery.com/ - * - * Includes Sizzle.js - * http://sizzlejs.com/ - * - * Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors - * Released under the MIT license - * http://jquery.org/license - * - * Date: 2013-2-4 - */ -(function( window, undefined ) { - -// Can't do this because several apps including ASP.NET trace -// the stack via arguments.caller.callee and Firefox dies if -// you try to trace through "use strict" call chains. (#13335) -// Support: Firefox 18+ -//"use strict"; -var - // The deferred used on DOM ready - readyList, - - // A central reference to the root jQuery(document) - rootjQuery, - - // Support: IE<9 - // For `typeof node.method` instead of `node.method !== undefined` - core_strundefined = typeof undefined, - - // Use the correct document accordingly with window argument (sandbox) - document = window.document, - location = window.location, - - // Map over jQuery in case of overwrite - _jQuery = window.jQuery, - - // Map over the $ in case of overwrite - _$ = window.$, - - // [[Class]] -> type pairs - class2type = {}, - - // List of deleted data cache ids, so we can reuse them - core_deletedIds = [], - - core_version = "1.9.1", - - // Save a reference to some core methods - core_concat = core_deletedIds.concat, - core_push = core_deletedIds.push, - core_slice = core_deletedIds.slice, - core_indexOf = core_deletedIds.indexOf, - core_toString = class2type.toString, - core_hasOwn = class2type.hasOwnProperty, - core_trim = core_version.trim, - - // Define a local copy of jQuery - jQuery = function( selector, context ) { - // The jQuery object is actually just the init constructor 'enhanced' - return new jQuery.fn.init( selector, context, rootjQuery ); - }, - - // Used for matching numbers - core_pnum = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, - - // Used for splitting on whitespace - core_rnotwhite = /\S+/g, - - // Make sure we trim BOM and NBSP (here's looking at you, Safari 5.0 and IE) - rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, - - // A simple way to check for HTML strings - // Prioritize #id over <tag> to avoid XSS via location.hash (#9521) - // Strict HTML recognition (#11290: must start with <) - rquickExpr = /^(?:(<[\w\W]+>)[^>]*|#([\w-]*))$/, - - // Match a standalone tag - rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>|)$/, - - // JSON RegExp - rvalidchars = /^[\],:{}\s]*$/, - rvalidbraces = /(?:^|:|,)(?:\s*\[)+/g, - rvalidescape = /\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g, - rvalidtokens = /"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g, - - // Matches dashed string for camelizing - rmsPrefix = /^-ms-/, - rdashAlpha = /-([\da-z])/gi, - - // Used by jQuery.camelCase as callback to replace() - fcamelCase = function( all, letter ) { - return letter.toUpperCase(); - }, - - // The ready event handler - completed = function( event ) { - - // readyState === "complete" is good enough for us to call the dom ready in oldIE - if ( document.addEventListener || event.type === "load" || document.readyState === "complete" ) { - detach(); - jQuery.ready(); - } - }, - // Clean-up method for dom ready events - detach = function() { - if ( document.addEventListener ) { - document.removeEventListener( "DOMContentLoaded", completed, false ); - window.removeEventListener( "load", completed, false ); - - } else { - document.detachEvent( "onreadystatechange", completed ); - window.detachEvent( "onload", completed ); - } - }; - -jQuery.fn = jQuery.prototype = { - // The current version of jQuery being used - jquery: core_version, - - constructor: jQuery, - init: function( selector, context, rootjQuery ) { - var match, elem; - - // HANDLE: $(""), $(null), $(undefined), $(false) - if ( !selector ) { - return this; - } - - // Handle HTML strings - if ( typeof selector === "string" ) { - if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) { - // Assume that strings that start and end with <> are HTML and skip the regex check - match = [ null, selector, null ]; - - } else { - match = rquickExpr.exec( selector ); - } - - // Match html or make sure no context is specified for #id - if ( match && (match[1] || !context) ) { - - // HANDLE: $(html) -> $(array) - if ( match[1] ) { - context = context instanceof jQuery ? context[0] : context; - - // scripts is true for back-compat - jQuery.merge( this, jQuery.parseHTML( - match[1], - context && context.nodeType ? context.ownerDocument || context : document, - true - ) ); - - // HANDLE: $(html, props) - if ( rsingleTag.test( match[1] ) && jQuery.isPlainObject( context ) ) { - for ( match in context ) { - // Properties of context are called as methods if possible - if ( jQuery.isFunction( this[ match ] ) ) { - this[ match ]( context[ match ] ); - - // ...and otherwise set as attributes - } else { - this.attr( match, context[ match ] ); - } - } - } - - return this; - - // HANDLE: $(#id) - } else { - elem = document.getElementById( match[2] ); - - // Check parentNode to catch when Blackberry 4.6 returns - // nodes that are no longer in the document #6963 - if ( elem && elem.parentNode ) { - // Handle the case where IE and Opera return items - // by name instead of ID - if ( elem.id !== match[2] ) { - return rootjQuery.find( selector ); - } - - // Otherwise, we inject the element directly into the jQuery object - this.length = 1; - this[0] = elem; - } - - this.context = document; - this.selector = selector; - return this; - } - - // HANDLE: $(expr, $(...)) - } else if ( !context || context.jquery ) { - return ( context || rootjQuery ).find( selector ); - - // HANDLE: $(expr, context) - // (which is just equivalent to: $(context).find(expr) - } else { - return this.constructor( context ).find( selector ); - } - - // HANDLE: $(DOMElement) - } else if ( selector.nodeType ) { - this.context = this[0] = selector; - this.length = 1; - return this; - - // HANDLE: $(function) - // Shortcut for document ready - } else if ( jQuery.isFunction( selector ) ) { - return rootjQuery.ready( selector ); - } - - if ( selector.selector !== undefined ) { - this.selector = selector.selector; - this.context = selector.context; - } - - return jQuery.makeArray( selector, this ); - }, - - // Start with an empty selector - selector: "", - - // The default length of a jQuery object is 0 - length: 0, - - // The number of elements contained in the matched element set - size: function() { - return this.length; - }, - - toArray: function() { - return core_slice.call( this ); - }, - - // Get the Nth element in the matched element set OR - // Get the whole matched element set as a clean array - get: function( num ) { - return num == null ? - - // Return a 'clean' array - this.toArray() : - - // Return just the object - ( num < 0 ? this[ this.length + num ] : this[ num ] ); - }, - - // Take an array of elements and push it onto the stack - // (returning the new matched element set) - pushStack: function( elems ) { - - // Build a new jQuery matched element set - var ret = jQuery.merge( this.constructor(), elems ); - - // Add the old object onto the stack (as a reference) - ret.prevObject = this; - ret.context = this.context; - - // Return the newly-formed element set - return ret; - }, - - // Execute a callback for every element in the matched set. - // (You can seed the arguments with an array of args, but this is - // only used internally.) - each: function( callback, args ) { - return jQuery.each( this, callback, args ); - }, - - ready: function( fn ) { - // Add the callback - jQuery.ready.promise().done( fn ); - - return this; - }, - - slice: function() { - return this.pushStack( core_slice.apply( this, arguments ) ); - }, - - first: function() { - return this.eq( 0 ); - }, - - last: function() { - return this.eq( -1 ); - }, - - eq: function( i ) { - var len = this.length, - j = +i + ( i < 0 ? len : 0 ); - return this.pushStack( j >= 0 && j < len ? [ this[j] ] : [] ); - }, - - map: function( callback ) { - return this.pushStack( jQuery.map(this, function( elem, i ) { - return callback.call( elem, i, elem ); - })); - }, - - end: function() { - return this.prevObject || this.constructor(null); - }, - - // For internal use only. - // Behaves like an Array's method, not like a jQuery method. - push: core_push, - sort: [].sort, - splice: [].splice -}; - -// Give the init function the jQuery prototype for later instantiation -jQuery.fn.init.prototype = jQuery.fn; - -jQuery.extend = jQuery.fn.extend = function() { - var src, copyIsArray, copy, name, options, clone, - target = arguments[0] || {}, - i = 1, - length = arguments.length, - deep = false; - - // Handle a deep copy situation - if ( typeof target === "boolean" ) { - deep = target; - target = arguments[1] || {}; - // skip the boolean and the target - i = 2; - } - - // Handle case when target is a string or something (possible in deep copy) - if ( typeof target !== "object" && !jQuery.isFunction(target) ) { - target = {}; - } - - // extend jQuery itself if only one argument is passed - if ( length === i ) { - target = this; - --i; - } - - for ( ; i < length; i++ ) { - // Only deal with non-null/undefined values - if ( (options = arguments[ i ]) != null ) { - // Extend the base object - for ( name in options ) { - src = target[ name ]; - copy = options[ name ]; - - // Prevent never-ending loop - if ( target === copy ) { - continue; - } - - // Recurse if we're merging plain objects or arrays - if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) { - if ( copyIsArray ) { - copyIsArray = false; - clone = src && jQuery.isArray(src) ? src : []; - - } else { - clone = src && jQuery.isPlainObject(src) ? src : {}; - } - - // Never move original objects, clone them - target[ name ] = jQuery.extend( deep, clone, copy ); - - // Don't bring in undefined values - } else if ( copy !== undefined ) { - target[ name ] = copy; - } - } - } - } - - // Return the modified object - return target; -}; - -jQuery.extend({ - noConflict: function( deep ) { - if ( window.$ === jQuery ) { - window.$ = _$; - } - - if ( deep && window.jQuery === jQuery ) { - window.jQuery = _jQuery; - } - - return jQuery; - }, - - // Is the DOM ready to be used? Set to true once it occurs. - isReady: false, - - // A counter to track how many items to wait for before - // the ready event fires. See #6781 - readyWait: 1, - - // Hold (or release) the ready event - holdReady: function( hold ) { - if ( hold ) { - jQuery.readyWait++; - } else { - jQuery.ready( true ); - } - }, - - // Handle when the DOM is ready - ready: function( wait ) { - - // Abort if there are pending holds or we're already ready - if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { - return; - } - - // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). - if ( !document.body ) { - return setTimeout( jQuery.ready ); - } - - // Remember that the DOM is ready - jQuery.isReady = true; - - // If a normal DOM Ready event fired, decrement, and wait if need be - if ( wait !== true && --jQuery.readyWait > 0 ) { - return; - } - - // If there are functions bound, to execute - readyList.resolveWith( document, [ jQuery ] ); - - // Trigger any bound ready events - if ( jQuery.fn.trigger ) { - jQuery( document ).trigger("ready").off("ready"); - } - }, - - // See test/unit/core.js for details concerning isFunction. - // Since version 1.3, DOM methods and functions like alert - // aren't supported. They return false on IE (#2968). - isFunction: function( obj ) { - return jQuery.type(obj) === "function"; - }, - - isArray: Array.isArray || function( obj ) { - return jQuery.type(obj) === "array"; - }, - - isWindow: function( obj ) { - return obj != null && obj == obj.window; - }, - - isNumeric: function( obj ) { - return !isNaN( parseFloat(obj) ) && isFinite( obj ); - }, - - type: function( obj ) { - if ( obj == null ) { - return String( obj ); - } - return typeof obj === "object" || typeof obj === "function" ? - class2type[ core_toString.call(obj) ] || "object" : - typeof obj; - }, - - isPlainObject: function( obj ) { - // Must be an Object. - // Because of IE, we also have to check the presence of the constructor property. - // Make sure that DOM nodes and window objects don't pass through, as well - if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) { - return false; - } - - try { - // Not own constructor property must be Object - if ( obj.constructor && - !core_hasOwn.call(obj, "constructor") && - !core_hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) { - return false; - } - } catch ( e ) { - // IE8,9 Will throw exceptions on certain host objects #9897 - return false; - } - - // Own properties are enumerated firstly, so to speed up, - // if last one is own, then all properties are own. - - var key; - for ( key in obj ) {} - - return key === undefined || core_hasOwn.call( obj, key ); - }, - - isEmptyObject: function( obj ) { - var name; - for ( name in obj ) { - return false; - } - return true; - }, - - error: function( msg ) { - throw new Error( msg ); - }, - - // data: string of html - // context (optional): If specified, the fragment will be created in this context, defaults to document - // keepScripts (optional): If true, will include scripts passed in the html string - parseHTML: function( data, context, keepScripts ) { - if ( !data || typeof data !== "string" ) { - return null; - } - if ( typeof context === "boolean" ) { - keepScripts = context; - context = false; - } - context = context || document; - - var parsed = rsingleTag.exec( data ), - scripts = !keepScripts && []; - - // Single tag - if ( parsed ) { - return [ context.createElement( parsed[1] ) ]; - } - - parsed = jQuery.buildFragment( [ data ], context, scripts ); - if ( scripts ) { - jQuery( scripts ).remove(); - } - return jQuery.merge( [], parsed.childNodes ); - }, - - parseJSON: function( data ) { - // Attempt to parse using the native JSON parser first - if ( window.JSON && window.JSON.parse ) { - return window.JSON.parse( data ); - } - - if ( data === null ) { - return data; - } - - if ( typeof data === "string" ) { - - // Make sure leading/trailing whitespace is removed (IE can't handle it) - data = jQuery.trim( data ); - - if ( data ) { - // Make sure the incoming data is actual JSON - // Logic borrowed from http://json.org/json2.js - if ( rvalidchars.test( data.replace( rvalidescape, "@" ) - .replace( rvalidtokens, "]" ) - .replace( rvalidbraces, "")) ) { - - return ( new Function( "return " + data ) )(); - } - } - } - - jQuery.error( "Invalid JSON: " + data ); - }, - - // Cross-browser xml parsing - parseXML: function( data ) { - var xml, tmp; - if ( !data || typeof data !== "string" ) { - return null; - } - try { - if ( window.DOMParser ) { // Standard - tmp = new DOMParser(); - xml = tmp.parseFromString( data , "text/xml" ); - } else { // IE - xml = new ActiveXObject( "Microsoft.XMLDOM" ); - xml.async = "false"; - xml.loadXML( data ); - } - } catch( e ) { - xml = undefined; - } - if ( !xml || !xml.documentElement || xml.getElementsByTagName( "parsererror" ).length ) { - jQuery.error( "Invalid XML: " + data ); - } - return xml; - }, - - noop: function() {}, - - // Evaluates a script in a global context - // Workarounds based on findings by Jim Driscoll - // http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context - globalEval: function( data ) { - if ( data && jQuery.trim( data ) ) { - // We use execScript on Internet Explorer - // We use an anonymous function so that context is window - // rather than jQuery in Firefox - ( window.execScript || function( data ) { - window[ "eval" ].call( window, data ); - } )( data ); - } - }, - - // Convert dashed to camelCase; used by the css and data modules - // Microsoft forgot to hump their vendor prefix (#9572) - camelCase: function( string ) { - return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); - }, - - nodeName: function( elem, name ) { - return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); - }, - - // args is for internal usage only - each: function( obj, callback, args ) { - var value, - i = 0, - length = obj.length, - isArray = isArraylike( obj ); - - if ( args ) { - if ( isArray ) { - for ( ; i < length; i++ ) { - value = callback.apply( obj[ i ], args ); - - if ( value === false ) { - break; - } - } - } else { - for ( i in obj ) { - value = callback.apply( obj[ i ], args ); - - if ( value === false ) { - break; - } - } - } - - // A special, fast, case for the most common use of each - } else { - if ( isArray ) { - for ( ; i < length; i++ ) { - value = callback.call( obj[ i ], i, obj[ i ] ); - - if ( value === false ) { - break; - } - } - } else { - for ( i in obj ) { - value = callback.call( obj[ i ], i, obj[ i ] ); - - if ( value === false ) { - break; - } - } - } - } - - return obj; - }, - - // Use native String.trim function wherever possible - trim: core_trim && !core_trim.call("\uFEFF\xA0") ? - function( text ) { - return text == null ? - "" : - core_trim.call( text ); - } : - - // Otherwise use our own trimming functionality - function( text ) { - return text == null ? - "" : - ( text + "" ).replace( rtrim, "" ); - }, - - // results is for internal usage only - makeArray: function( arr, results ) { - var ret = results || []; - - if ( arr != null ) { - if ( isArraylike( Object(arr) ) ) { - jQuery.merge( ret, - typeof arr === "string" ? - [ arr ] : arr - ); - } else { - core_push.call( ret, arr ); - } - } - - return ret; - }, - - inArray: function( elem, arr, i ) { - var len; - - if ( arr ) { - if ( core_indexOf ) { - return core_indexOf.call( arr, elem, i ); - } - - len = arr.length; - i = i ? i < 0 ? Math.max( 0, len + i ) : i : 0; - - for ( ; i < len; i++ ) { - // Skip accessing in sparse arrays - if ( i in arr && arr[ i ] === elem ) { - return i; - } - } - } - - return -1; - }, - - merge: function( first, second ) { - var l = second.length, - i = first.length, - j = 0; - - if ( typeof l === "number" ) { - for ( ; j < l; j++ ) { - first[ i++ ] = second[ j ]; - } - } else { - while ( second[j] !== undefined ) { - first[ i++ ] = second[ j++ ]; - } - } - - first.length = i; - - return first; - }, - - grep: function( elems, callback, inv ) { - var retVal, - ret = [], - i = 0, - length = elems.length; - inv = !!inv; - - // Go through the array, only saving the items - // that pass the validator function - for ( ; i < length; i++ ) { - retVal = !!callback( elems[ i ], i ); - if ( inv !== retVal ) { - ret.push( elems[ i ] ); - } - } - - return ret; - }, - - // arg is for internal usage only - map: function( elems, callback, arg ) { - var value, - i = 0, - length = elems.length, - isArray = isArraylike( elems ), - ret = []; - - // Go through the array, translating each of the items to their - if ( isArray ) { - for ( ; i < length; i++ ) { - value = callback( elems[ i ], i, arg ); - - if ( value != null ) { - ret[ ret.length ] = value; - } - } - - // Go through every key on the object, - } else { - for ( i in elems ) { - value = callback( elems[ i ], i, arg ); - - if ( value != null ) { - ret[ ret.length ] = value; - } - } - } - - // Flatten any nested arrays - return core_concat.apply( [], ret ); - }, - - // A global GUID counter for objects - guid: 1, - - // Bind a function to a context, optionally partially applying any - // arguments. - proxy: function( fn, context ) { - var args, proxy, tmp; - - if ( typeof context === "string" ) { - tmp = fn[ context ]; - context = fn; - fn = tmp; - } - - // Quick check to determine if target is callable, in the spec - // this throws a TypeError, but we will just return undefined. - if ( !jQuery.isFunction( fn ) ) { - return undefined; - } - - // Simulated bind - args = core_slice.call( arguments, 2 ); - proxy = function() { - return fn.apply( context || this, args.concat( core_slice.call( arguments ) ) ); - }; - - // Set the guid of unique handler to the same of original handler, so it can be removed - proxy.guid = fn.guid = fn.guid || jQuery.guid++; - - return proxy; - }, - - // Multifunctional method to get and set values of a collection - // The value/s can optionally be executed if it's a function - access: function( elems, fn, key, value, chainable, emptyGet, raw ) { - var i = 0, - length = elems.length, - bulk = key == null; - - // Sets many values - if ( jQuery.type( key ) === "object" ) { - chainable = true; - for ( i in key ) { - jQuery.access( elems, fn, i, key[i], true, emptyGet, raw ); - } - - // Sets one value - } else if ( value !== undefined ) { - chainable = true; - - if ( !jQuery.isFunction( value ) ) { - raw = true; - } - - if ( bulk ) { - // Bulk operations run against the entire set - if ( raw ) { - fn.call( elems, value ); - fn = null; - - // ...except when executing function values - } else { - bulk = fn; - fn = function( elem, key, value ) { - return bulk.call( jQuery( elem ), value ); - }; - } - } - - if ( fn ) { - for ( ; i < length; i++ ) { - fn( elems[i], key, raw ? value : value.call( elems[i], i, fn( elems[i], key ) ) ); - } - } - } - - return chainable ? - elems : - - // Gets - bulk ? - fn.call( elems ) : - length ? fn( elems[0], key ) : emptyGet; - }, - - now: function() { - return ( new Date() ).getTime(); - } -}); - -jQuery.ready.promise = function( obj ) { - if ( !readyList ) { - - readyList = jQuery.Deferred(); - - // Catch cases where $(document).ready() is called after the browser event has already occurred. - // we once tried to use readyState "interactive" here, but it caused issues like the one - // discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15 - if ( document.readyState === "complete" ) { - // Handle it asynchronously to allow scripts the opportunity to delay ready - setTimeout( jQuery.ready ); - - // Standards-based browsers support DOMContentLoaded - } else if ( document.addEventListener ) { - // Use the handy event callback - document.addEventListener( "DOMContentLoaded", completed, false ); - - // A fallback to window.onload, that will always work - window.addEventListener( "load", completed, false ); - - // If IE event model is used - } else { - // Ensure firing before onload, maybe late but safe also for iframes - document.attachEvent( "onreadystatechange", completed ); - - // A fallback to window.onload, that will always work - window.attachEvent( "onload", completed ); - - // If IE and not a frame - // continually check to see if the document is ready - var top = false; - - try { - top = window.frameElement == null && document.documentElement; - } catch(e) {} - - if ( top && top.doScroll ) { - (function doScrollCheck() { - if ( !jQuery.isReady ) { - - try { - // Use the trick by Diego Perini - // http://javascript.nwbox.com/IEContentLoaded/ - top.doScroll("left"); - } catch(e) { - return setTimeout( doScrollCheck, 50 ); - } - - // detach all dom ready events - detach(); - - // and execute any waiting functions - jQuery.ready(); - } - })(); - } - } - } - return readyList.promise( obj ); -}; - -// Populate the class2type map -jQuery.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function(i, name) { - class2type[ "[object " + name + "]" ] = name.toLowerCase(); -}); - -function isArraylike( obj ) { - var length = obj.length, - type = jQuery.type( obj ); - - if ( jQuery.isWindow( obj ) ) { - return false; - } - - if ( obj.nodeType === 1 && length ) { - return true; - } - - return type === "array" || type !== "function" && - ( length === 0 || - typeof length === "number" && length > 0 && ( length - 1 ) in obj ); -} - -// All jQuery objects should point back to these -rootjQuery = jQuery(document); -// String to Object options format cache -var optionsCache = {}; - -// Convert String-formatted options into Object-formatted ones and store in cache -function createOptions( options ) { - var object = optionsCache[ options ] = {}; - jQuery.each( options.match( core_rnotwhite ) || [], function( _, flag ) { - object[ flag ] = true; - }); - return object; -} - -/* - * Create a callback list using the following parameters: - * - * options: an optional list of space-separated options that will change how - * the callback list behaves or a more traditional option object - * - * By default a callback list will act like an event callback list and can be - * "fired" multiple times. - * - * Possible options: - * - * once: will ensure the callback list can only be fired once (like a Deferred) - * - * memory: will keep track of previous values and will call any callback added - * after the list has been fired right away with the latest "memorized" - * values (like a Deferred) - * - * unique: will ensure a callback can only be added once (no duplicate in the list) - * - * stopOnFalse: interrupt callings when a callback returns false - * - */ -jQuery.Callbacks = function( options ) { - - // Convert options from String-formatted to Object-formatted if needed - // (we check in cache first) - options = typeof options === "string" ? - ( optionsCache[ options ] || createOptions( options ) ) : - jQuery.extend( {}, options ); - - var // Flag to know if list is currently firing - firing, - // Last fire value (for non-forgettable lists) - memory, - // Flag to know if list was already fired - fired, - // End of the loop when firing - firingLength, - // Index of currently firing callback (modified by remove if needed) - firingIndex, - // First callback to fire (used internally by add and fireWith) - firingStart, - // Actual callback list - list = [], - // Stack of fire calls for repeatable lists - stack = !options.once && [], - // Fire callbacks - fire = function( data ) { - memory = options.memory && data; - fired = true; - firingIndex = firingStart || 0; - firingStart = 0; - firingLength = list.length; - firing = true; - for ( ; list && firingIndex < firingLength; firingIndex++ ) { - if ( list[ firingIndex ].apply( data[ 0 ], data[ 1 ] ) === false && options.stopOnFalse ) { - memory = false; // To prevent further calls using add - break; - } - } - firing = false; - if ( list ) { - if ( stack ) { - if ( stack.length ) { - fire( stack.shift() ); - } - } else if ( memory ) { - list = []; - } else { - self.disable(); - } - } - }, - // Actual Callbacks object - self = { - // Add a callback or a collection of callbacks to the list - add: function() { - if ( list ) { - // First, we save the current length - var start = list.length; - (function add( args ) { - jQuery.each( args, function( _, arg ) { - var type = jQuery.type( arg ); - if ( type === "function" ) { - if ( !options.unique || !self.has( arg ) ) { - list.push( arg ); - } - } else if ( arg && arg.length && type !== "string" ) { - // Inspect recursively - add( arg ); - } - }); - })( arguments ); - // Do we need to add the callbacks to the - // current firing batch? - if ( firing ) { - firingLength = list.length; - // With memory, if we're not firing then - // we should call right away - } else if ( memory ) { - firingStart = start; - fire( memory ); - } - } - return this; - }, - // Remove a callback from the list - remove: function() { - if ( list ) { - jQuery.each( arguments, function( _, arg ) { - var index; - while( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { - list.splice( index, 1 ); - // Handle firing indexes - if ( firing ) { - if ( index <= firingLength ) { - firingLength--; - } - if ( index <= firingIndex ) { - firingIndex--; - } - } - } - }); - } - return this; - }, - // Check if a given callback is in the list. - // If no argument is given, return whether or not list has callbacks attached. - has: function( fn ) { - return fn ? jQuery.inArray( fn, list ) > -1 : !!( list && list.length ); - }, - // Remove all callbacks from the list - empty: function() { - list = []; - return this; - }, - // Have the list do nothing anymore - disable: function() { - list = stack = memory = undefined; - return this; - }, - // Is it disabled? - disabled: function() { - return !list; - }, - // Lock the list in its current state - lock: function() { - stack = undefined; - if ( !memory ) { - self.disable(); - } - return this; - }, - // Is it locked? - locked: function() { - return !stack; - }, - // Call all callbacks with the given context and arguments - fireWith: function( context, args ) { - args = args || []; - args = [ context, args.slice ? args.slice() : args ]; - if ( list && ( !fired || stack ) ) { - if ( firing ) { - stack.push( args ); - } else { - fire( args ); - } - } - return this; - }, - // Call all the callbacks with the given arguments - fire: function() { - self.fireWith( this, arguments ); - return this; - }, - // To know if the callbacks have already been called at least once - fired: function() { - return !!fired; - } - }; - - return self; -}; -jQuery.extend({ - - Deferred: function( func ) { - var tuples = [ - // action, add listener, listener list, final state - [ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ], - [ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ], - [ "notify", "progress", jQuery.Callbacks("memory") ] - ], - state = "pending", - promise = { - state: function() { - return state; - }, - always: function() { - deferred.done( arguments ).fail( arguments ); - return this; - }, - then: function( /* fnDone, fnFail, fnProgress */ ) { - var fns = arguments; - return jQuery.Deferred(function( newDefer ) { - jQuery.each( tuples, function( i, tuple ) { - var action = tuple[ 0 ], - fn = jQuery.isFunction( fns[ i ] ) && fns[ i ]; - // deferred[ done | fail | progress ] for forwarding actions to newDefer - deferred[ tuple[1] ](function() { - var returned = fn && fn.apply( this, arguments ); - if ( returned && jQuery.isFunction( returned.promise ) ) { - returned.promise() - .done( newDefer.resolve ) - .fail( newDefer.reject ) - .progress( newDefer.notify ); - } else { - newDefer[ action + "With" ]( this === promise ? newDefer.promise() : this, fn ? [ returned ] : arguments ); - } - }); - }); - fns = null; - }).promise(); - }, - // Get a promise for this deferred - // If obj is provided, the promise aspect is added to the object - promise: function( obj ) { - return obj != null ? jQuery.extend( obj, promise ) : promise; - } - }, - deferred = {}; - - // Keep pipe for back-compat - promise.pipe = promise.then; - - // Add list-specific methods - jQuery.each( tuples, function( i, tuple ) { - var list = tuple[ 2 ], - stateString = tuple[ 3 ]; - - // promise[ done | fail | progress ] = list.add - promise[ tuple[1] ] = list.add; - - // Handle state - if ( stateString ) { - list.add(function() { - // state = [ resolved | rejected ] - state = stateString; - - // [ reject_list | resolve_list ].disable; progress_list.lock - }, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock ); - } - - // deferred[ resolve | reject | notify ] - deferred[ tuple[0] ] = function() { - deferred[ tuple[0] + "With" ]( this === deferred ? promise : this, arguments ); - return this; - }; - deferred[ tuple[0] + "With" ] = list.fireWith; - }); - - // Make the deferred a promise - promise.promise( deferred ); - - // Call given func if any - if ( func ) { - func.call( deferred, deferred ); - } - - // All done! - return deferred; - }, - - // Deferred helper - when: function( subordinate /* , ..., subordinateN */ ) { - var i = 0, - resolveValues = core_slice.call( arguments ), - length = resolveValues.length, - - // the count of uncompleted subordinates - remaining = length !== 1 || ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0, - - // the master Deferred. If resolveValues consist of only a single Deferred, just use that. - deferred = remaining === 1 ? subordinate : jQuery.Deferred(), - - // Update function for both resolve and progress values - updateFunc = function( i, contexts, values ) { - return function( value ) { - contexts[ i ] = this; - values[ i ] = arguments.length > 1 ? core_slice.call( arguments ) : value; - if( values === progressValues ) { - deferred.notifyWith( contexts, values ); - } else if ( !( --remaining ) ) { - deferred.resolveWith( contexts, values ); - } - }; - }, - - progressValues, progressContexts, resolveContexts; - - // add listeners to Deferred subordinates; treat others as resolved - if ( length > 1 ) { - progressValues = new Array( length ); - progressContexts = new Array( length ); - resolveContexts = new Array( length ); - for ( ; i < length; i++ ) { - if ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) { - resolveValues[ i ].promise() - .done( updateFunc( i, resolveContexts, resolveValues ) ) - .fail( deferred.reject ) - .progress( updateFunc( i, progressContexts, progressValues ) ); - } else { - --remaining; - } - } - } - - // if we're not waiting on anything, resolve the master - if ( !remaining ) { - deferred.resolveWith( resolveContexts, resolveValues ); - } - - return deferred.promise(); - } -}); -jQuery.support = (function() { - - var support, all, a, - input, select, fragment, - opt, eventName, isSupported, i, - div = document.createElement("div"); - - // Setup - div.setAttribute( "className", "t" ); - div.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>"; - - // Support tests won't run in some limited or non-browser environments - all = div.getElementsByTagName("*"); - a = div.getElementsByTagName("a")[ 0 ]; - if ( !all || !a || !all.length ) { - return {}; - } - - // First batch of tests - select = document.createElement("select"); - opt = select.appendChild( document.createElement("option") ); - input = div.getElementsByTagName("input")[ 0 ]; - - a.style.cssText = "top:1px;float:left;opacity:.5"; - support = { - // Test setAttribute on camelCase class. If it works, we need attrFixes when doing get/setAttribute (ie6/7) - getSetAttribute: div.className !== "t", - - // IE strips leading whitespace when .innerHTML is used - leadingWhitespace: div.firstChild.nodeType === 3, - - // Make sure that tbody elements aren't automatically inserted - // IE will insert them into empty tables - tbody: !div.getElementsByTagName("tbody").length, - - // Make sure that link elements get serialized correctly by innerHTML - // This requires a wrapper element in IE - htmlSerialize: !!div.getElementsByTagName("link").length, - - // Get the style information from getAttribute - // (IE uses .cssText instead) - style: /top/.test( a.getAttribute("style") ), - - // Make sure that URLs aren't manipulated - // (IE normalizes it by default) - hrefNormalized: a.getAttribute("href") === "/a", - - // Make sure that element opacity exists - // (IE uses filter instead) - // Use a regex to work around a WebKit issue. See #5145 - opacity: /^0.5/.test( a.style.opacity ), - - // Verify style float existence - // (IE uses styleFloat instead of cssFloat) - cssFloat: !!a.style.cssFloat, - - // Check the default checkbox/radio value ("" on WebKit; "on" elsewhere) - checkOn: !!input.value, - - // Make sure that a selected-by-default option has a working selected property. - // (WebKit defaults to false instead of true, IE too, if it's in an optgroup) - optSelected: opt.selected, - - // Tests for enctype support on a form (#6743) - enctype: !!document.createElement("form").enctype, - - // Makes sure cloning an html5 element does not cause problems - // Where outerHTML is undefined, this still works - html5Clone: document.createElement("nav").cloneNode( true ).outerHTML !== "<:nav></:nav>", - - // jQuery.support.boxModel DEPRECATED in 1.8 since we don't support Quirks Mode - boxModel: document.compatMode === "CSS1Compat", - - // Will be defined later - deleteExpando: true, - noCloneEvent: true, - inlineBlockNeedsLayout: false, - shrinkWrapBlocks: false, - reliableMarginRight: true, - boxSizingReliable: true, - pixelPosition: false - }; - - // Make sure checked status is properly cloned - input.checked = true; - support.noCloneChecked = input.cloneNode( true ).checked; - - // Make sure that the options inside disabled selects aren't marked as disabled - // (WebKit marks them as disabled) - select.disabled = true; - support.optDisabled = !opt.disabled; - - // Support: IE<9 - try { - delete div.test; - } catch( e ) { - support.deleteExpando = false; - } - - // Check if we can trust getAttribute("value") - input = document.createElement("input"); - input.setAttribute( "value", "" ); - support.input = input.getAttribute( "value" ) === ""; - - // Check if an input maintains its value after becoming a radio - input.value = "t"; - input.setAttribute( "type", "radio" ); - support.radioValue = input.value === "t"; - - // #11217 - WebKit loses check when the name is after the checked attribute - input.setAttribute( "checked", "t" ); - input.setAttribute( "name", "t" ); - - fragment = document.createDocumentFragment(); - fragment.appendChild( input ); - - // Check if a disconnected checkbox will retain its checked - // value of true after appended to the DOM (IE6/7) - support.appendChecked = input.checked; - - // WebKit doesn't clone checked state correctly in fragments - support.checkClone = fragment.cloneNode( true ).cloneNode( true ).lastChild.checked; - - // Support: IE<9 - // Opera does not clone events (and typeof div.attachEvent === undefined). - // IE9-10 clones events bound via attachEvent, but they don't trigger with .click() - if ( div.attachEvent ) { - div.attachEvent( "onclick", function() { - support.noCloneEvent = false; - }); - - div.cloneNode( true ).click(); - } - - // Support: IE<9 (lack submit/change bubble), Firefox 17+ (lack focusin event) - // Beware of CSP restrictions (https://developer.mozilla.org/en/Security/CSP), test/csp.php - for ( i in { submit: true, change: true, focusin: true }) { - div.setAttribute( eventName = "on" + i, "t" ); - - support[ i + "Bubbles" ] = eventName in window || div.attributes[ eventName ].expando === false; - } - - div.style.backgroundClip = "content-box"; - div.cloneNode( true ).style.backgroundClip = ""; - support.clearCloneStyle = div.style.backgroundClip === "content-box"; - - // Run tests that need a body at doc ready - jQuery(function() { - var container, marginDiv, tds, - divReset = "padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;", - body = document.getElementsByTagName("body")[0]; - - if ( !body ) { - // Return for frameset docs that don't have a body - return; - } - - container = document.createElement("div"); - container.style.cssText = "border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px"; - - body.appendChild( container ).appendChild( div ); - - // Support: IE8 - // Check if table cells still have offsetWidth/Height when they are set - // to display:none and there are still other visible table cells in a - // table row; if so, offsetWidth/Height are not reliable for use when - // determining if an element has been hidden directly using - // display:none (it is still safe to use offsets if a parent element is - // hidden; don safety goggles and see bug #4512 for more information). - div.innerHTML = "<table><tr><td></td><td>t</td></tr></table>"; - tds = div.getElementsByTagName("td"); - tds[ 0 ].style.cssText = "padding:0;margin:0;border:0;display:none"; - isSupported = ( tds[ 0 ].offsetHeight === 0 ); - - tds[ 0 ].style.display = ""; - tds[ 1 ].style.display = "none"; - - // Support: IE8 - // Check if empty table cells still have offsetWidth/Height - support.reliableHiddenOffsets = isSupported && ( tds[ 0 ].offsetHeight === 0 ); - - // Check box-sizing and margin behavior - div.innerHTML = ""; - div.style.cssText = "box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;"; - support.boxSizing = ( div.offsetWidth === 4 ); - support.doesNotIncludeMarginInBodyOffset = ( body.offsetTop !== 1 ); - - // Use window.getComputedStyle because jsdom on node.js will break without it. - if ( window.getComputedStyle ) { - support.pixelPosition = ( window.getComputedStyle( div, null ) || {} ).top !== "1%"; - support.boxSizingReliable = ( window.getComputedStyle( div, null ) || { width: "4px" } ).width === "4px"; - - // Check if div with explicit width and no margin-right incorrectly - // gets computed margin-right based on width of container. (#3333) - // Fails in WebKit before Feb 2011 nightlies - // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right - marginDiv = div.appendChild( document.createElement("div") ); - marginDiv.style.cssText = div.style.cssText = divReset; - marginDiv.style.marginRight = marginDiv.style.width = "0"; - div.style.width = "1px"; - - support.reliableMarginRight = - !parseFloat( ( window.getComputedStyle( marginDiv, null ) || {} ).marginRight ); - } - - if ( typeof div.style.zoom !== core_strundefined ) { - // Support: IE<8 - // Check if natively block-level elements act like inline-block - // elements when setting their display to 'inline' and giving - // them layout - div.innerHTML = ""; - div.style.cssText = divReset + "width:1px;padding:1px;display:inline;zoom:1"; - support.inlineBlockNeedsLayout = ( div.offsetWidth === 3 ); - - // Support: IE6 - // Check if elements with layout shrink-wrap their children - div.style.display = "block"; - div.innerHTML = "<div></div>"; - div.firstChild.style.width = "5px"; - support.shrinkWrapBlocks = ( div.offsetWidth !== 3 ); - - if ( support.inlineBlockNeedsLayout ) { - // Prevent IE 6 from affecting layout for positioned elements #11048 - // Prevent IE from shrinking the body in IE 7 mode #12869 - // Support: IE<8 - body.style.zoom = 1; - } - } - - body.removeChild( container ); - - // Null elements to avoid leaks in IE - container = div = tds = marginDiv = null; - }); - - // Null elements to avoid leaks in IE - all = select = fragment = opt = a = input = null; - - return support; -})(); - -var rbrace = /(?:\{[\s\S]*\}|\[[\s\S]*\])$/, - rmultiDash = /([A-Z])/g; - -function internalData( elem, name, data, pvt /* Internal Use Only */ ){ - if ( !jQuery.acceptData( elem ) ) { - return; - } - - var thisCache, ret, - internalKey = jQuery.expando, - getByName = typeof name === "string", - - // We have to handle DOM nodes and JS objects differently because IE6-7 - // can't GC object references properly across the DOM-JS boundary - isNode = elem.nodeType, - - // Only DOM nodes need the global jQuery cache; JS object data is - // attached directly to the object so GC can occur automatically - cache = isNode ? jQuery.cache : elem, - - // Only defining an ID for JS objects if its cache already exists allows - // the code to shortcut on the same path as a DOM node with no cache - id = isNode ? elem[ internalKey ] : elem[ internalKey ] && internalKey; - - // Avoid doing any more work than we need to when trying to get data on an - // object that has no data at all - if ( (!id || !cache[id] || (!pvt && !cache[id].data)) && getByName && data === undefined ) { - return; - } - - if ( !id ) { - // Only DOM nodes need a new unique ID for each element since their data - // ends up in the global cache - if ( isNode ) { - elem[ internalKey ] = id = core_deletedIds.pop() || jQuery.guid++; - } else { - id = internalKey; - } - } - - if ( !cache[ id ] ) { - cache[ id ] = {}; - - // Avoids exposing jQuery metadata on plain JS objects when the object - // is serialized using JSON.stringify - if ( !isNode ) { - cache[ id ].toJSON = jQuery.noop; - } - } - - // An object can be passed to jQuery.data instead of a key/value pair; this gets - // shallow copied over onto the existing cache - if ( typeof name === "object" || typeof name === "function" ) { - if ( pvt ) { - cache[ id ] = jQuery.extend( cache[ id ], name ); - } else { - cache[ id ].data = jQuery.extend( cache[ id ].data, name ); - } - } - - thisCache = cache[ id ]; - - // jQuery data() is stored in a separate object inside the object's internal data - // cache in order to avoid key collisions between internal data and user-defined - // data. - if ( !pvt ) { - if ( !thisCache.data ) { - thisCache.data = {}; - } - - thisCache = thisCache.data; - } - - if ( data !== undefined ) { - thisCache[ jQuery.camelCase( name ) ] = data; - } - - // Check for both converted-to-camel and non-converted data property names - // If a data property was specified - if ( getByName ) { - - // First Try to find as-is property data - ret = thisCache[ name ]; - - // Test for null|undefined property data - if ( ret == null ) { - - // Try to find the camelCased property - ret = thisCache[ jQuery.camelCase( name ) ]; - } - } else { - ret = thisCache; - } - - return ret; -} - -function internalRemoveData( elem, name, pvt ) { - if ( !jQuery.acceptData( elem ) ) { - return; - } - - var i, l, thisCache, - isNode = elem.nodeType, - - // See jQuery.data for more information - cache = isNode ? jQuery.cache : elem, - id = isNode ? elem[ jQuery.expando ] : jQuery.expando; - - // If there is already no cache entry for this object, there is no - // purpose in continuing - if ( !cache[ id ] ) { - return; - } - - if ( name ) { - - thisCache = pvt ? cache[ id ] : cache[ id ].data; - - if ( thisCache ) { - - // Support array or space separated string names for data keys - if ( !jQuery.isArray( name ) ) { - - // try the string as a key before any manipulation - if ( name in thisCache ) { - name = [ name ]; - } else { - - // split the camel cased version by spaces unless a key with the spaces exists - name = jQuery.camelCase( name ); - if ( name in thisCache ) { - name = [ name ]; - } else { - name = name.split(" "); - } - } - } else { - // If "name" is an array of keys... - // When data is initially created, via ("key", "val") signature, - // keys will be converted to camelCase. - // Since there is no way to tell _how_ a key was added, remove - // both plain key and camelCase key. #12786 - // This will only penalize the array argument path. - name = name.concat( jQuery.map( name, jQuery.camelCase ) ); - } - - for ( i = 0, l = name.length; i < l; i++ ) { - delete thisCache[ name[i] ]; - } - - // If there is no data left in the cache, we want to continue - // and let the cache object itself get destroyed - if ( !( pvt ? isEmptyDataObject : jQuery.isEmptyObject )( thisCache ) ) { - return; - } - } - } - - // See jQuery.data for more information - if ( !pvt ) { - delete cache[ id ].data; - - // Don't destroy the parent cache unless the internal data object - // had been the only thing left in it - if ( !isEmptyDataObject( cache[ id ] ) ) { - return; - } - } - - // Destroy the cache - if ( isNode ) { - jQuery.cleanData( [ elem ], true ); - - // Use delete when supported for expandos or `cache` is not a window per isWindow (#10080) - } else if ( jQuery.support.deleteExpando || cache != cache.window ) { - delete cache[ id ]; - - // When all else fails, null - } else { - cache[ id ] = null; - } -} - -jQuery.extend({ - cache: {}, - - // Unique for each copy of jQuery on the page - // Non-digits removed to match rinlinejQuery - expando: "jQuery" + ( core_version + Math.random() ).replace( /\D/g, "" ), - - // The following elements throw uncatchable exceptions if you - // attempt to add expando properties to them. - noData: { - "embed": true, - // Ban all objects except for Flash (which handle expandos) - "object": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000", - "applet": true - }, - - hasData: function( elem ) { - elem = elem.nodeType ? jQuery.cache[ elem[jQuery.expando] ] : elem[ jQuery.expando ]; - return !!elem && !isEmptyDataObject( elem ); - }, - - data: function( elem, name, data ) { - return internalData( elem, name, data ); - }, - - removeData: function( elem, name ) { - return internalRemoveData( elem, name ); - }, - - // For internal use only. - _data: function( elem, name, data ) { - return internalData( elem, name, data, true ); - }, - - _removeData: function( elem, name ) { - return internalRemoveData( elem, name, true ); - }, - - // A method for determining if a DOM node can handle the data expando - acceptData: function( elem ) { - // Do not set data on non-element because it will not be cleared (#8335). - if ( elem.nodeType && elem.nodeType !== 1 && elem.nodeType !== 9 ) { - return false; - } - - var noData = elem.nodeName && jQuery.noData[ elem.nodeName.toLowerCase() ]; - - // nodes accept data unless otherwise specified; rejection can be conditional - return !noData || noData !== true && elem.getAttribute("classid") === noData; - } -}); - -jQuery.fn.extend({ - data: function( key, value ) { - var attrs, name, - elem = this[0], - i = 0, - data = null; - - // Gets all values - if ( key === undefined ) { - if ( this.length ) { - data = jQuery.data( elem ); - - if ( elem.nodeType === 1 && !jQuery._data( elem, "parsedAttrs" ) ) { - attrs = elem.attributes; - for ( ; i < attrs.length; i++ ) { - name = attrs[i].name; - - if ( !name.indexOf( "data-" ) ) { - name = jQuery.camelCase( name.slice(5) ); - - dataAttr( elem, name, data[ name ] ); - } - } - jQuery._data( elem, "parsedAttrs", true ); - } - } - - return data; - } - - // Sets multiple values - if ( typeof key === "object" ) { - return this.each(function() { - jQuery.data( this, key ); - }); - } - - return jQuery.access( this, function( value ) { - - if ( value === undefined ) { - // Try to fetch any internally stored data first - return elem ? dataAttr( elem, key, jQuery.data( elem, key ) ) : null; - } - - this.each(function() { - jQuery.data( this, key, value ); - }); - }, null, value, arguments.length > 1, null, true ); - }, - - removeData: function( key ) { - return this.each(function() { - jQuery.removeData( this, key ); - }); - } -}); - -function dataAttr( elem, key, data ) { - // If nothing was found internally, try to fetch any - // data from the HTML5 data-* attribute - if ( data === undefined && elem.nodeType === 1 ) { - - var name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase(); - - data = elem.getAttribute( name ); - - if ( typeof data === "string" ) { - try { - data = data === "true" ? true : - data === "false" ? false : - data === "null" ? null : - // Only convert to a number if it doesn't change the string - +data + "" === data ? +data : - rbrace.test( data ) ? jQuery.parseJSON( data ) : - data; - } catch( e ) {} - - // Make sure we set the data so it isn't changed later - jQuery.data( elem, key, data ); - - } else { - data = undefined; - } - } - - return data; -} - -// checks a cache object for emptiness -function isEmptyDataObject( obj ) { - var name; - for ( name in obj ) { - - // if the public data object is empty, the private is still empty - if ( name === "data" && jQuery.isEmptyObject( obj[name] ) ) { - continue; - } - if ( name !== "toJSON" ) { - return false; - } - } - - return true; -} -jQuery.extend({ - queue: function( elem, type, data ) { - var queue; - - if ( elem ) { - type = ( type || "fx" ) + "queue"; - queue = jQuery._data( elem, type ); - - // Speed up dequeue by getting out quickly if this is just a lookup - if ( data ) { - if ( !queue || jQuery.isArray(data) ) { - queue = jQuery._data( elem, type, jQuery.makeArray(data) ); - } else { - queue.push( data ); - } - } - return queue || []; - } - }, - - dequeue: function( elem, type ) { - type = type || "fx"; - - var queue = jQuery.queue( elem, type ), - startLength = queue.length, - fn = queue.shift(), - hooks = jQuery._queueHooks( elem, type ), - next = function() { - jQuery.dequeue( elem, type ); - }; - - // If the fx queue is dequeued, always remove the progress sentinel - if ( fn === "inprogress" ) { - fn = queue.shift(); - startLength--; - } - - hooks.cur = fn; - if ( fn ) { - - // Add a progress sentinel to prevent the fx queue from being - // automatically dequeued - if ( type === "fx" ) { - queue.unshift( "inprogress" ); - } - - // clear up the last queue stop function - delete hooks.stop; - fn.call( elem, next, hooks ); - } - - if ( !startLength && hooks ) { - hooks.empty.fire(); - } - }, - - // not intended for public consumption - generates a queueHooks object, or returns the current one - _queueHooks: function( elem, type ) { - var key = type + "queueHooks"; - return jQuery._data( elem, key ) || jQuery._data( elem, key, { - empty: jQuery.Callbacks("once memory").add(function() { - jQuery._removeData( elem, type + "queue" ); - jQuery._removeData( elem, key ); - }) - }); - } -}); - -jQuery.fn.extend({ - queue: function( type, data ) { - var setter = 2; - - if ( typeof type !== "string" ) { - data = type; - type = "fx"; - setter--; - } - - if ( arguments.length < setter ) { - return jQuery.queue( this[0], type ); - } - - return data === undefined ? - this : - this.each(function() { - var queue = jQuery.queue( this, type, data ); - - // ensure a hooks for this queue - jQuery._queueHooks( this, type ); - - if ( type === "fx" && queue[0] !== "inprogress" ) { - jQuery.dequeue( this, type ); - } - }); - }, - dequeue: function( type ) { - return this.each(function() { - jQuery.dequeue( this, type ); - }); - }, - // Based off of the plugin by Clint Helfers, with permission. - // http://blindsignals.com/index.php/2009/07/jquery-delay/ - delay: function( time, type ) { - time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; - type = type || "fx"; - - return this.queue( type, function( next, hooks ) { - var timeout = setTimeout( next, time ); - hooks.stop = function() { - clearTimeout( timeout ); - }; - }); - }, - clearQueue: function( type ) { - return this.queue( type || "fx", [] ); - }, - // Get a promise resolved when queues of a certain type - // are emptied (fx is the type by default) - promise: function( type, obj ) { - var tmp, - count = 1, - defer = jQuery.Deferred(), - elements = this, - i = this.length, - resolve = function() { - if ( !( --count ) ) { - defer.resolveWith( elements, [ elements ] ); - } - }; - - if ( typeof type !== "string" ) { - obj = type; - type = undefined; - } - type = type || "fx"; - - while( i-- ) { - tmp = jQuery._data( elements[ i ], type + "queueHooks" ); - if ( tmp && tmp.empty ) { - count++; - tmp.empty.add( resolve ); - } - } - resolve(); - return defer.promise( obj ); - } -}); -var nodeHook, boolHook, - rclass = /[\t\r\n]/g, - rreturn = /\r/g, - rfocusable = /^(?:input|select|textarea|button|object)$/i, - rclickable = /^(?:a|area)$/i, - rboolean = /^(?:checked|selected|autofocus|autoplay|async|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped)$/i, - ruseDefault = /^(?:checked|selected)$/i, - getSetAttribute = jQuery.support.getSetAttribute, - getSetInput = jQuery.support.input; - -jQuery.fn.extend({ - attr: function( name, value ) { - return jQuery.access( this, jQuery.attr, name, value, arguments.length > 1 ); - }, - - removeAttr: function( name ) { - return this.each(function() { - jQuery.removeAttr( this, name ); - }); - }, - - prop: function( name, value ) { - return jQuery.access( this, jQuery.prop, name, value, arguments.length > 1 ); - }, - - removeProp: function( name ) { - name = jQuery.propFix[ name ] || name; - return this.each(function() { - // try/catch handles cases where IE balks (such as removing a property on window) - try { - this[ name ] = undefined; - delete this[ name ]; - } catch( e ) {} - }); - }, - - addClass: function( value ) { - var classes, elem, cur, clazz, j, - i = 0, - len = this.length, - proceed = typeof value === "string" && value; - - if ( jQuery.isFunction( value ) ) { - return this.each(function( j ) { - jQuery( this ).addClass( value.call( this, j, this.className ) ); - }); - } - - if ( proceed ) { - // The disjunction here is for better compressibility (see removeClass) - classes = ( value || "" ).match( core_rnotwhite ) || []; - - for ( ; i < len; i++ ) { - elem = this[ i ]; - cur = elem.nodeType === 1 && ( elem.className ? - ( " " + elem.className + " " ).replace( rclass, " " ) : - " " - ); - - if ( cur ) { - j = 0; - while ( (clazz = classes[j++]) ) { - if ( cur.indexOf( " " + clazz + " " ) < 0 ) { - cur += clazz + " "; - } - } - elem.className = jQuery.trim( cur ); - - } - } - } - - return this; - }, - - removeClass: function( value ) { - var classes, elem, cur, clazz, j, - i = 0, - len = this.length, - proceed = arguments.length === 0 || typeof value === "string" && value; - - if ( jQuery.isFunction( value ) ) { - return this.each(function( j ) { - jQuery( this ).removeClass( value.call( this, j, this.className ) ); - }); - } - if ( proceed ) { - classes = ( value || "" ).match( core_rnotwhite ) || []; - - for ( ; i < len; i++ ) { - elem = this[ i ]; - // This expression is here for better compressibility (see addClass) - cur = elem.nodeType === 1 && ( elem.className ? - ( " " + elem.className + " " ).replace( rclass, " " ) : - "" - ); - - if ( cur ) { - j = 0; - while ( (clazz = classes[j++]) ) { - // Remove *all* instances - while ( cur.indexOf( " " + clazz + " " ) >= 0 ) { - cur = cur.replace( " " + clazz + " ", " " ); - } - } - elem.className = value ? jQuery.trim( cur ) : ""; - } - } - } - - return this; - }, - - toggleClass: function( value, stateVal ) { - var type = typeof value, - isBool = typeof stateVal === "boolean"; - - if ( jQuery.isFunction( value ) ) { - return this.each(function( i ) { - jQuery( this ).toggleClass( value.call(this, i, this.className, stateVal), stateVal ); - }); - } - - return this.each(function() { - if ( type === "string" ) { - // toggle individual class names - var className, - i = 0, - self = jQuery( this ), - state = stateVal, - classNames = value.match( core_rnotwhite ) || []; - - while ( (className = classNames[ i++ ]) ) { - // check each className given, space separated list - state = isBool ? state : !self.hasClass( className ); - self[ state ? "addClass" : "removeClass" ]( className ); - } - - // Toggle whole class name - } else if ( type === core_strundefined || type === "boolean" ) { - if ( this.className ) { - // store className if set - jQuery._data( this, "__className__", this.className ); - } - - // If the element has a class name or if we're passed "false", - // then remove the whole classname (if there was one, the above saved it). - // Otherwise bring back whatever was previously saved (if anything), - // falling back to the empty string if nothing was stored. - this.className = this.className || value === false ? "" : jQuery._data( this, "__className__" ) || ""; - } - }); - }, - - hasClass: function( selector ) { - var className = " " + selector + " ", - i = 0, - l = this.length; - for ( ; i < l; i++ ) { - if ( this[i].nodeType === 1 && (" " + this[i].className + " ").replace(rclass, " ").indexOf( className ) >= 0 ) { - return true; - } - } - - return false; - }, - - val: function( value ) { - var ret, hooks, isFunction, - elem = this[0]; - - if ( !arguments.length ) { - if ( elem ) { - hooks = jQuery.valHooks[ elem.type ] || jQuery.valHooks[ elem.nodeName.toLowerCase() ]; - - if ( hooks && "get" in hooks && (ret = hooks.get( elem, "value" )) !== undefined ) { - return ret; - } - - ret = elem.value; - - return typeof ret === "string" ? - // handle most common string cases - ret.replace(rreturn, "") : - // handle cases where value is null/undef or number - ret == null ? "" : ret; - } - - return; - } - - isFunction = jQuery.isFunction( value ); - - return this.each(function( i ) { - var val, - self = jQuery(this); - - if ( this.nodeType !== 1 ) { - return; - } - - if ( isFunction ) { - val = value.call( this, i, self.val() ); - } else { - val = value; - } - - // Treat null/undefined as ""; convert numbers to string - if ( val == null ) { - val = ""; - } else if ( typeof val === "number" ) { - val += ""; - } else if ( jQuery.isArray( val ) ) { - val = jQuery.map(val, function ( value ) { - return value == null ? "" : value + ""; - }); - } - - hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; - - // If set returns undefined, fall back to normal setting - if ( !hooks || !("set" in hooks) || hooks.set( this, val, "value" ) === undefined ) { - this.value = val; - } - }); - } -}); - -jQuery.extend({ - valHooks: { - option: { - get: function( elem ) { - // attributes.value is undefined in Blackberry 4.7 but - // uses .value. See #6932 - var val = elem.attributes.value; - return !val || val.specified ? elem.value : elem.text; - } - }, - select: { - get: function( elem ) { - var value, option, - options = elem.options, - index = elem.selectedIndex, - one = elem.type === "select-one" || index < 0, - values = one ? null : [], - max = one ? index + 1 : options.length, - i = index < 0 ? - max : - one ? index : 0; - - // Loop through all the selected options - for ( ; i < max; i++ ) { - option = options[ i ]; - - // oldIE doesn't update selected after form reset (#2551) - if ( ( option.selected || i === index ) && - // Don't return options that are disabled or in a disabled optgroup - ( jQuery.support.optDisabled ? !option.disabled : option.getAttribute("disabled") === null ) && - ( !option.parentNode.disabled || !jQuery.nodeName( option.parentNode, "optgroup" ) ) ) { - - // Get the specific value for the option - value = jQuery( option ).val(); - - // We don't need an array for one selects - if ( one ) { - return value; - } - - // Multi-Selects return an array - values.push( value ); - } - } - - return values; - }, - - set: function( elem, value ) { - var values = jQuery.makeArray( value ); - - jQuery(elem).find("option").each(function() { - this.selected = jQuery.inArray( jQuery(this).val(), values ) >= 0; - }); - - if ( !values.length ) { - elem.selectedIndex = -1; - } - return values; - } - } - }, - - attr: function( elem, name, value ) { - var hooks, notxml, ret, - nType = elem.nodeType; - - // don't get/set attributes on text, comment and attribute nodes - if ( !elem || nType === 3 || nType === 8 || nType === 2 ) { - return; - } - - // Fallback to prop when attributes are not supported - if ( typeof elem.getAttribute === core_strundefined ) { - return jQuery.prop( elem, name, value ); - } - - notxml = nType !== 1 || !jQuery.isXMLDoc( elem ); - - // All attributes are lowercase - // Grab necessary hook if one is defined - if ( notxml ) { - name = name.toLowerCase(); - hooks = jQuery.attrHooks[ name ] || ( rboolean.test( name ) ? boolHook : nodeHook ); - } - - if ( value !== undefined ) { - - if ( value === null ) { - jQuery.removeAttr( elem, name ); - - } else if ( hooks && notxml && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ) { - return ret; - - } else { - elem.setAttribute( name, value + "" ); - return value; - } - - } else if ( hooks && notxml && "get" in hooks && (ret = hooks.get( elem, name )) !== null ) { - return ret; - - } else { - - // In IE9+, Flash objects don't have .getAttribute (#12945) - // Support: IE9+ - if ( typeof elem.getAttribute !== core_strundefined ) { - ret = elem.getAttribute( name ); - } - - // Non-existent attributes return null, we normalize to undefined - return ret == null ? - undefined : - ret; - } - }, - - removeAttr: function( elem, value ) { - var name, propName, - i = 0, - attrNames = value && value.match( core_rnotwhite ); - - if ( attrNames && elem.nodeType === 1 ) { - while ( (name = attrNames[i++]) ) { - propName = jQuery.propFix[ name ] || name; - - // Boolean attributes get special treatment (#10870) - if ( rboolean.test( name ) ) { - // Set corresponding property to false for boolean attributes - // Also clear defaultChecked/defaultSelected (if appropriate) for IE<8 - if ( !getSetAttribute && ruseDefault.test( name ) ) { - elem[ jQuery.camelCase( "default-" + name ) ] = - elem[ propName ] = false; - } else { - elem[ propName ] = false; - } - - // See #9699 for explanation of this approach (setting first, then removal) - } else { - jQuery.attr( elem, name, "" ); - } - - elem.removeAttribute( getSetAttribute ? name : propName ); - } - } - }, - - attrHooks: { - type: { - set: function( elem, value ) { - if ( !jQuery.support.radioValue && value === "radio" && jQuery.nodeName(elem, "input") ) { - // Setting the type on a radio button after the value resets the value in IE6-9 - // Reset value to default in case type is set after value during creation - var val = elem.value; - elem.setAttribute( "type", value ); - if ( val ) { - elem.value = val; - } - return value; - } - } - } - }, - - propFix: { - tabindex: "tabIndex", - readonly: "readOnly", - "for": "htmlFor", - "class": "className", - maxlength: "maxLength", - cellspacing: "cellSpacing", - cellpadding: "cellPadding", - rowspan: "rowSpan", - colspan: "colSpan", - usemap: "useMap", - frameborder: "frameBorder", - contenteditable: "contentEditable" - }, - - prop: function( elem, name, value ) { - var ret, hooks, notxml, - nType = elem.nodeType; - - // don't get/set properties on text, comment and attribute nodes - if ( !elem || nType === 3 || nType === 8 || nType === 2 ) { - return; - } - - notxml = nType !== 1 || !jQuery.isXMLDoc( elem ); - - if ( notxml ) { - // Fix name and attach hooks - name = jQuery.propFix[ name ] || name; - hooks = jQuery.propHooks[ name ]; - } - - if ( value !== undefined ) { - if ( hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ) { - return ret; - - } else { - return ( elem[ name ] = value ); - } - - } else { - if ( hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== null ) { - return ret; - - } else { - return elem[ name ]; - } - } - }, - - propHooks: { - tabIndex: { - get: function( elem ) { - // elem.tabIndex doesn't always return the correct value when it hasn't been explicitly set - // http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ - var attributeNode = elem.getAttributeNode("tabindex"); - - return attributeNode && attributeNode.specified ? - parseInt( attributeNode.value, 10 ) : - rfocusable.test( elem.nodeName ) || rclickable.test( elem.nodeName ) && elem.href ? - 0 : - undefined; - } - } - } -}); - -// Hook for boolean attributes -boolHook = { - get: function( elem, name ) { - var - // Use .prop to determine if this attribute is understood as boolean - prop = jQuery.prop( elem, name ), - - // Fetch it accordingly - attr = typeof prop === "boolean" && elem.getAttribute( name ), - detail = typeof prop === "boolean" ? - - getSetInput && getSetAttribute ? - attr != null : - // oldIE fabricates an empty string for missing boolean attributes - // and conflates checked/selected into attroperties - ruseDefault.test( name ) ? - elem[ jQuery.camelCase( "default-" + name ) ] : - !!attr : - - // fetch an attribute node for properties not recognized as boolean - elem.getAttributeNode( name ); - - return detail && detail.value !== false ? - name.toLowerCase() : - undefined; - }, - set: function( elem, value, name ) { - if ( value === false ) { - // Remove boolean attributes when set to false - jQuery.removeAttr( elem, name ); - } else if ( getSetInput && getSetAttribute || !ruseDefault.test( name ) ) { - // IE<8 needs the *property* name - elem.setAttribute( !getSetAttribute && jQuery.propFix[ name ] || name, name ); - - // Use defaultChecked and defaultSelected for oldIE - } else { - elem[ jQuery.camelCase( "default-" + name ) ] = elem[ name ] = true; - } - - return name; - } -}; - -// fix oldIE value attroperty -if ( !getSetInput || !getSetAttribute ) { - jQuery.attrHooks.value = { - get: function( elem, name ) { - var ret = elem.getAttributeNode( name ); - return jQuery.nodeName( elem, "input" ) ? - - // Ignore the value *property* by using defaultValue - elem.defaultValue : - - ret && ret.specified ? ret.value : undefined; - }, - set: function( elem, value, name ) { - if ( jQuery.nodeName( elem, "input" ) ) { - // Does not return so that setAttribute is also used - elem.defaultValue = value; - } else { - // Use nodeHook if defined (#1954); otherwise setAttribute is fine - return nodeHook && nodeHook.set( elem, value, name ); - } - } - }; -} - -// IE6/7 do not support getting/setting some attributes with get/setAttribute -if ( !getSetAttribute ) { - - // Use this for any attribute in IE6/7 - // This fixes almost every IE6/7 issue - nodeHook = jQuery.valHooks.button = { - get: function( elem, name ) { - var ret = elem.getAttributeNode( name ); - return ret && ( name === "id" || name === "name" || name === "coords" ? ret.value !== "" : ret.specified ) ? - ret.value : - undefined; - }, - set: function( elem, value, name ) { - // Set the existing or create a new attribute node - var ret = elem.getAttributeNode( name ); - if ( !ret ) { - elem.setAttributeNode( - (ret = elem.ownerDocument.createAttribute( name )) - ); - } - - ret.value = value += ""; - - // Break association with cloned elements by also using setAttribute (#9646) - return name === "value" || value === elem.getAttribute( name ) ? - value : - undefined; - } - }; - - // Set contenteditable to false on removals(#10429) - // Setting to empty string throws an error as an invalid value - jQuery.attrHooks.contenteditable = { - get: nodeHook.get, - set: function( elem, value, name ) { - nodeHook.set( elem, value === "" ? false : value, name ); - } - }; - - // Set width and height to auto instead of 0 on empty string( Bug #8150 ) - // This is for removals - jQuery.each([ "width", "height" ], function( i, name ) { - jQuery.attrHooks[ name ] = jQuery.extend( jQuery.attrHooks[ name ], { - set: function( elem, value ) { - if ( value === "" ) { - elem.setAttribute( name, "auto" ); - return value; - } - } - }); - }); -} - - -// Some attributes require a special call on IE -// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx -if ( !jQuery.support.hrefNormalized ) { - jQuery.each([ "href", "src", "width", "height" ], function( i, name ) { - jQuery.attrHooks[ name ] = jQuery.extend( jQuery.attrHooks[ name ], { - get: function( elem ) { - var ret = elem.getAttribute( name, 2 ); - return ret == null ? undefined : ret; - } - }); - }); - - // href/src property should get the full normalized URL (#10299/#12915) - jQuery.each([ "href", "src" ], function( i, name ) { - jQuery.propHooks[ name ] = { - get: function( elem ) { - return elem.getAttribute( name, 4 ); - } - }; - }); -} - -if ( !jQuery.support.style ) { - jQuery.attrHooks.style = { - get: function( elem ) { - // Return undefined in the case of empty string - // Note: IE uppercases css property names, but if we were to .toLowerCase() - // .cssText, that would destroy case senstitivity in URL's, like in "background" - return elem.style.cssText || undefined; - }, - set: function( elem, value ) { - return ( elem.style.cssText = value + "" ); - } - }; -} - -// Safari mis-reports the default selected property of an option -// Accessing the parent's selectedIndex property fixes it -if ( !jQuery.support.optSelected ) { - jQuery.propHooks.selected = jQuery.extend( jQuery.propHooks.selected, { - get: function( elem ) { - var parent = elem.parentNode; - - if ( parent ) { - parent.selectedIndex; - - // Make sure that it also works with optgroups, see #5701 - if ( parent.parentNode ) { - parent.parentNode.selectedIndex; - } - } - return null; - } - }); -} - -// IE6/7 call enctype encoding -if ( !jQuery.support.enctype ) { - jQuery.propFix.enctype = "encoding"; -} - -// Radios and checkboxes getter/setter -if ( !jQuery.support.checkOn ) { - jQuery.each([ "radio", "checkbox" ], function() { - jQuery.valHooks[ this ] = { - get: function( elem ) { - // Handle the case where in Webkit "" is returned instead of "on" if a value isn't specified - return elem.getAttribute("value") === null ? "on" : elem.value; - } - }; - }); -} -jQuery.each([ "radio", "checkbox" ], function() { - jQuery.valHooks[ this ] = jQuery.extend( jQuery.valHooks[ this ], { - set: function( elem, value ) { - if ( jQuery.isArray( value ) ) { - return ( elem.checked = jQuery.inArray( jQuery(elem).val(), value ) >= 0 ); - } - } - }); -}); -var rformElems = /^(?:input|select|textarea)$/i, - rkeyEvent = /^key/, - rmouseEvent = /^(?:mouse|contextmenu)|click/, - rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, - rtypenamespace = /^([^.]*)(?:\.(.+)|)$/; - -function returnTrue() { - return true; -} - -function returnFalse() { - return false; -} - -/* - * Helper functions for managing events -- not part of the public interface. - * Props to Dean Edwards' addEvent library for many of the ideas. - */ -jQuery.event = { - - global: {}, - - add: function( elem, types, handler, data, selector ) { - var tmp, events, t, handleObjIn, - special, eventHandle, handleObj, - handlers, type, namespaces, origType, - elemData = jQuery._data( elem ); - - // Don't attach events to noData or text/comment nodes (but allow plain objects) - if ( !elemData ) { - return; - } - - // Caller can pass in an object of custom data in lieu of the handler - if ( handler.handler ) { - handleObjIn = handler; - handler = handleObjIn.handler; - selector = handleObjIn.selector; - } - - // Make sure that the handler has a unique ID, used to find/remove it later - if ( !handler.guid ) { - handler.guid = jQuery.guid++; - } - - // Init the element's event structure and main handler, if this is the first - if ( !(events = elemData.events) ) { - events = elemData.events = {}; - } - if ( !(eventHandle = elemData.handle) ) { - eventHandle = elemData.handle = function( e ) { - // Discard the second event of a jQuery.event.trigger() and - // when an event is called after a page has unloaded - return typeof jQuery !== core_strundefined && (!e || jQuery.event.triggered !== e.type) ? - jQuery.event.dispatch.apply( eventHandle.elem, arguments ) : - undefined; - }; - // Add elem as a property of the handle fn to prevent a memory leak with IE non-native events - eventHandle.elem = elem; - } - - // Handle multiple events separated by a space - // jQuery(...).bind("mouseover mouseout", fn); - types = ( types || "" ).match( core_rnotwhite ) || [""]; - t = types.length; - while ( t-- ) { - tmp = rtypenamespace.exec( types[t] ) || []; - type = origType = tmp[1]; - namespaces = ( tmp[2] || "" ).split( "." ).sort(); - - // If event changes its type, use the special event handlers for the changed type - special = jQuery.event.special[ type ] || {}; - - // If selector defined, determine special event api type, otherwise given type - type = ( selector ? special.delegateType : special.bindType ) || type; - - // Update special based on newly reset type - special = jQuery.event.special[ type ] || {}; - - // handleObj is passed to all event handlers - handleObj = jQuery.extend({ - type: type, - origType: origType, - data: data, - handler: handler, - guid: handler.guid, - selector: selector, - needsContext: selector && jQuery.expr.match.needsContext.test( selector ), - namespace: namespaces.join(".") - }, handleObjIn ); - - // Init the event handler queue if we're the first - if ( !(handlers = events[ type ]) ) { - handlers = events[ type ] = []; - handlers.delegateCount = 0; - - // Only use addEventListener/attachEvent if the special events handler returns false - if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) { - // Bind the global event handler to the element - if ( elem.addEventListener ) { - elem.addEventListener( type, eventHandle, false ); - - } else if ( elem.attachEvent ) { - elem.attachEvent( "on" + type, eventHandle ); - } - } - } - - if ( special.add ) { - special.add.call( elem, handleObj ); - - if ( !handleObj.handler.guid ) { - handleObj.handler.guid = handler.guid; - } - } - - // Add to the element's handler list, delegates in front - if ( selector ) { - handlers.splice( handlers.delegateCount++, 0, handleObj ); - } else { - handlers.push( handleObj ); - } - - // Keep track of which events have ever been used, for event optimization - jQuery.event.global[ type ] = true; - } - - // Nullify elem to prevent memory leaks in IE - elem = null; - }, - - // Detach an event or set of events from an element - remove: function( elem, types, handler, selector, mappedTypes ) { - var j, handleObj, tmp, - origCount, t, events, - special, handlers, type, - namespaces, origType, - elemData = jQuery.hasData( elem ) && jQuery._data( elem ); - - if ( !elemData || !(events = elemData.events) ) { - return; - } - - // Once for each type.namespace in types; type may be omitted - types = ( types || "" ).match( core_rnotwhite ) || [""]; - t = types.length; - while ( t-- ) { - tmp = rtypenamespace.exec( types[t] ) || []; - type = origType = tmp[1]; - namespaces = ( tmp[2] || "" ).split( "." ).sort(); - - // Unbind all events (on this namespace, if provided) for the element - if ( !type ) { - for ( type in events ) { - jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); - } - continue; - } - - special = jQuery.event.special[ type ] || {}; - type = ( selector ? special.delegateType : special.bindType ) || type; - handlers = events[ type ] || []; - tmp = tmp[2] && new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ); - - // Remove matching events - origCount = j = handlers.length; - while ( j-- ) { - handleObj = handlers[ j ]; - - if ( ( mappedTypes || origType === handleObj.origType ) && - ( !handler || handler.guid === handleObj.guid ) && - ( !tmp || tmp.test( handleObj.namespace ) ) && - ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) { - handlers.splice( j, 1 ); - - if ( handleObj.selector ) { - handlers.delegateCount--; - } - if ( special.remove ) { - special.remove.call( elem, handleObj ); - } - } - } - - // Remove generic event handler if we removed something and no more handlers exist - // (avoids potential for endless recursion during removal of special event handlers) - if ( origCount && !handlers.length ) { - if ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) { - jQuery.removeEvent( elem, type, elemData.handle ); - } - - delete events[ type ]; - } - } - - // Remove the expando if it's no longer used - if ( jQuery.isEmptyObject( events ) ) { - delete elemData.handle; - - // removeData also checks for emptiness and clears the expando if empty - // so use it instead of delete - jQuery._removeData( elem, "events" ); - } - }, - - trigger: function( event, data, elem, onlyHandlers ) { - var handle, ontype, cur, - bubbleType, special, tmp, i, - eventPath = [ elem || document ], - type = core_hasOwn.call( event, "type" ) ? event.type : event, - namespaces = core_hasOwn.call( event, "namespace" ) ? event.namespace.split(".") : []; - - cur = tmp = elem = elem || document; - - // Don't do events on text and comment nodes - if ( elem.nodeType === 3 || elem.nodeType === 8 ) { - return; - } - - // focus/blur morphs to focusin/out; ensure we're not firing them right now - if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { - return; - } - - if ( type.indexOf(".") >= 0 ) { - // Namespaced trigger; create a regexp to match event type in handle() - namespaces = type.split("."); - type = namespaces.shift(); - namespaces.sort(); - } - ontype = type.indexOf(":") < 0 && "on" + type; - - // Caller can pass in a jQuery.Event object, Object, or just an event type string - event = event[ jQuery.expando ] ? - event : - new jQuery.Event( type, typeof event === "object" && event ); - - event.isTrigger = true; - event.namespace = namespaces.join("."); - event.namespace_re = event.namespace ? - new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ) : - null; - - // Clean up the event in case it is being reused - event.result = undefined; - if ( !event.target ) { - event.target = elem; - } - - // Clone any incoming data and prepend the event, creating the handler arg list - data = data == null ? - [ event ] : - jQuery.makeArray( data, [ event ] ); - - // Allow special events to draw outside the lines - special = jQuery.event.special[ type ] || {}; - if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { - return; - } - - // Determine event propagation path in advance, per W3C events spec (#9951) - // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) - if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) { - - bubbleType = special.delegateType || type; - if ( !rfocusMorph.test( bubbleType + type ) ) { - cur = cur.parentNode; - } - for ( ; cur; cur = cur.parentNode ) { - eventPath.push( cur ); - tmp = cur; - } - - // Only add window if we got to document (e.g., not plain obj or detached DOM) - if ( tmp === (elem.ownerDocument || document) ) { - eventPath.push( tmp.defaultView || tmp.parentWindow || window ); - } - } - - // Fire handlers on the event path - i = 0; - while ( (cur = eventPath[i++]) && !event.isPropagationStopped() ) { - - event.type = i > 1 ? - bubbleType : - special.bindType || type; - - // jQuery handler - handle = ( jQuery._data( cur, "events" ) || {} )[ event.type ] && jQuery._data( cur, "handle" ); - if ( handle ) { - handle.apply( cur, data ); - } - - // Native handler - handle = ontype && cur[ ontype ]; - if ( handle && jQuery.acceptData( cur ) && handle.apply && handle.apply( cur, data ) === false ) { - event.preventDefault(); - } - } - event.type = type; - - // If nobody prevented the default action, do it now - if ( !onlyHandlers && !event.isDefaultPrevented() ) { - - if ( (!special._default || special._default.apply( elem.ownerDocument, data ) === false) && - !(type === "click" && jQuery.nodeName( elem, "a" )) && jQuery.acceptData( elem ) ) { - - // Call a native DOM method on the target with the same name name as the event. - // Can't use an .isFunction() check here because IE6/7 fails that test. - // Don't do default actions on window, that's where global variables be (#6170) - if ( ontype && elem[ type ] && !jQuery.isWindow( elem ) ) { - - // Don't re-trigger an onFOO event when we call its FOO() method - tmp = elem[ ontype ]; - - if ( tmp ) { - elem[ ontype ] = null; - } - - // Prevent re-triggering of the same event, since we already bubbled it above - jQuery.event.triggered = type; - try { - elem[ type ](); - } catch ( e ) { - // IE<9 dies on focus/blur to hidden element (#1486,#12518) - // only reproducible on winXP IE8 native, not IE9 in IE8 mode - } - jQuery.event.triggered = undefined; - - if ( tmp ) { - elem[ ontype ] = tmp; - } - } - } - } - - return event.result; - }, - - dispatch: function( event ) { - - // Make a writable jQuery.Event from the native event object - event = jQuery.event.fix( event ); - - var i, ret, handleObj, matched, j, - handlerQueue = [], - args = core_slice.call( arguments ), - handlers = ( jQuery._data( this, "events" ) || {} )[ event.type ] || [], - special = jQuery.event.special[ event.type ] || {}; - - // Use the fix-ed jQuery.Event rather than the (read-only) native event - args[0] = event; - event.delegateTarget = this; - - // Call the preDispatch hook for the mapped type, and let it bail if desired - if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { - return; - } - - // Determine handlers - handlerQueue = jQuery.event.handlers.call( this, event, handlers ); - - // Run delegates first; they may want to stop propagation beneath us - i = 0; - while ( (matched = handlerQueue[ i++ ]) && !event.isPropagationStopped() ) { - event.currentTarget = matched.elem; - - j = 0; - while ( (handleObj = matched.handlers[ j++ ]) && !event.isImmediatePropagationStopped() ) { - - // Triggered event must either 1) have no namespace, or - // 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace). - if ( !event.namespace_re || event.namespace_re.test( handleObj.namespace ) ) { - - event.handleObj = handleObj; - event.data = handleObj.data; - - ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler ) - .apply( matched.elem, args ); - - if ( ret !== undefined ) { - if ( (event.result = ret) === false ) { - event.preventDefault(); - event.stopPropagation(); - } - } - } - } - } - - // Call the postDispatch hook for the mapped type - if ( special.postDispatch ) { - special.postDispatch.call( this, event ); - } - - return event.result; - }, - - handlers: function( event, handlers ) { - var sel, handleObj, matches, i, - handlerQueue = [], - delegateCount = handlers.delegateCount, - cur = event.target; - - // Find delegate handlers - // Black-hole SVG <use> instance trees (#13180) - // Avoid non-left-click bubbling in Firefox (#3861) - if ( delegateCount && cur.nodeType && (!event.button || event.type !== "click") ) { - - for ( ; cur != this; cur = cur.parentNode || this ) { - - // Don't check non-elements (#13208) - // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) - if ( cur.nodeType === 1 && (cur.disabled !== true || event.type !== "click") ) { - matches = []; - for ( i = 0; i < delegateCount; i++ ) { - handleObj = handlers[ i ]; - - // Don't conflict with Object.prototype properties (#13203) - sel = handleObj.selector + " "; - - if ( matches[ sel ] === undefined ) { - matches[ sel ] = handleObj.needsContext ? - jQuery( sel, this ).index( cur ) >= 0 : - jQuery.find( sel, this, null, [ cur ] ).length; - } - if ( matches[ sel ] ) { - matches.push( handleObj ); - } - } - if ( matches.length ) { - handlerQueue.push({ elem: cur, handlers: matches }); - } - } - } - } - - // Add the remaining (directly-bound) handlers - if ( delegateCount < handlers.length ) { - handlerQueue.push({ elem: this, handlers: handlers.slice( delegateCount ) }); - } - - return handlerQueue; - }, - - fix: function( event ) { - if ( event[ jQuery.expando ] ) { - return event; - } - - // Create a writable copy of the event object and normalize some properties - var i, prop, copy, - type = event.type, - originalEvent = event, - fixHook = this.fixHooks[ type ]; - - if ( !fixHook ) { - this.fixHooks[ type ] = fixHook = - rmouseEvent.test( type ) ? this.mouseHooks : - rkeyEvent.test( type ) ? this.keyHooks : - {}; - } - copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props; - - event = new jQuery.Event( originalEvent ); - - i = copy.length; - while ( i-- ) { - prop = copy[ i ]; - event[ prop ] = originalEvent[ prop ]; - } - - // Support: IE<9 - // Fix target property (#1925) - if ( !event.target ) { - event.target = originalEvent.srcElement || document; - } - - // Support: Chrome 23+, Safari? - // Target should not be a text node (#504, #13143) - if ( event.target.nodeType === 3 ) { - event.target = event.target.parentNode; - } - - // Support: IE<9 - // For mouse/key events, metaKey==false if it's undefined (#3368, #11328) - event.metaKey = !!event.metaKey; - - return fixHook.filter ? fixHook.filter( event, originalEvent ) : event; - }, - - // Includes some event props shared by KeyEvent and MouseEvent - props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "), - - fixHooks: {}, - - keyHooks: { - props: "char charCode key keyCode".split(" "), - filter: function( event, original ) { - - // Add which for key events - if ( event.which == null ) { - event.which = original.charCode != null ? original.charCode : original.keyCode; - } - - return event; - } - }, - - mouseHooks: { - props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "), - filter: function( event, original ) { - var body, eventDoc, doc, - button = original.button, - fromElement = original.fromElement; - - // Calculate pageX/Y if missing and clientX/Y available - if ( event.pageX == null && original.clientX != null ) { - eventDoc = event.target.ownerDocument || document; - doc = eventDoc.documentElement; - body = eventDoc.body; - - event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 ); - event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc && doc.clientTop || body && body.clientTop || 0 ); - } - - // Add relatedTarget, if necessary - if ( !event.relatedTarget && fromElement ) { - event.relatedTarget = fromElement === event.target ? original.toElement : fromElement; - } - - // Add which for click: 1 === left; 2 === middle; 3 === right - // Note: button is not normalized, so don't use it - if ( !event.which && button !== undefined ) { - event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) ); - } - - return event; - } - }, - - special: { - load: { - // Prevent triggered image.load events from bubbling to window.load - noBubble: true - }, - click: { - // For checkbox, fire native event so checked state will be right - trigger: function() { - if ( jQuery.nodeName( this, "input" ) && this.type === "checkbox" && this.click ) { - this.click(); - return false; - } - } - }, - focus: { - // Fire native event if possible so blur/focus sequence is correct - trigger: function() { - if ( this !== document.activeElement && this.focus ) { - try { - this.focus(); - return false; - } catch ( e ) { - // Support: IE<9 - // If we error on focus to hidden element (#1486, #12518), - // let .trigger() run the handlers - } - } - }, - delegateType: "focusin" - }, - blur: { - trigger: function() { - if ( this === document.activeElement && this.blur ) { - this.blur(); - return false; - } - }, - delegateType: "focusout" - }, - - beforeunload: { - postDispatch: function( event ) { - - // Even when returnValue equals to undefined Firefox will still show alert - if ( event.result !== undefined ) { - event.originalEvent.returnValue = event.result; - } - } - } - }, - - simulate: function( type, elem, event, bubble ) { - // Piggyback on a donor event to simulate a different one. - // Fake originalEvent to avoid donor's stopPropagation, but if the - // simulated event prevents default then we do the same on the donor. - var e = jQuery.extend( - new jQuery.Event(), - event, - { type: type, - isSimulated: true, - originalEvent: {} - } - ); - if ( bubble ) { - jQuery.event.trigger( e, null, elem ); - } else { - jQuery.event.dispatch.call( elem, e ); - } - if ( e.isDefaultPrevented() ) { - event.preventDefault(); - } - } -}; - -jQuery.removeEvent = document.removeEventListener ? - function( elem, type, handle ) { - if ( elem.removeEventListener ) { - elem.removeEventListener( type, handle, false ); - } - } : - function( elem, type, handle ) { - var name = "on" + type; - - if ( elem.detachEvent ) { - - // #8545, #7054, preventing memory leaks for custom events in IE6-8 - // detachEvent needed property on element, by name of that event, to properly expose it to GC - if ( typeof elem[ name ] === core_strundefined ) { - elem[ name ] = null; - } - - elem.detachEvent( name, handle ); - } - }; - -jQuery.Event = function( src, props ) { - // Allow instantiation without the 'new' keyword - if ( !(this instanceof jQuery.Event) ) { - return new jQuery.Event( src, props ); - } - - // Event object - if ( src && src.type ) { - this.originalEvent = src; - this.type = src.type; - - // Events bubbling up the document may have been marked as prevented - // by a handler lower down the tree; reflect the correct value. - this.isDefaultPrevented = ( src.defaultPrevented || src.returnValue === false || - src.getPreventDefault && src.getPreventDefault() ) ? returnTrue : returnFalse; - - // Event type - } else { - this.type = src; - } - - // Put explicitly provided properties onto the event object - if ( props ) { - jQuery.extend( this, props ); - } - - // Create a timestamp if incoming event doesn't have one - this.timeStamp = src && src.timeStamp || jQuery.now(); - - // Mark it as fixed - this[ jQuery.expando ] = true; -}; - -// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding -// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html -jQuery.Event.prototype = { - isDefaultPrevented: returnFalse, - isPropagationStopped: returnFalse, - isImmediatePropagationStopped: returnFalse, - - preventDefault: function() { - var e = this.originalEvent; - - this.isDefaultPrevented = returnTrue; - if ( !e ) { - return; - } - - // If preventDefault exists, run it on the original event - if ( e.preventDefault ) { - e.preventDefault(); - - // Support: IE - // Otherwise set the returnValue property of the original event to false - } else { - e.returnValue = false; - } - }, - stopPropagation: function() { - var e = this.originalEvent; - - this.isPropagationStopped = returnTrue; - if ( !e ) { - return; - } - // If stopPropagation exists, run it on the original event - if ( e.stopPropagation ) { - e.stopPropagation(); - } - - // Support: IE - // Set the cancelBubble property of the original event to true - e.cancelBubble = true; - }, - stopImmediatePropagation: function() { - this.isImmediatePropagationStopped = returnTrue; - this.stopPropagation(); - } -}; - -// Create mouseenter/leave events using mouseover/out and event-time checks -jQuery.each({ - mouseenter: "mouseover", - mouseleave: "mouseout" -}, function( orig, fix ) { - jQuery.event.special[ orig ] = { - delegateType: fix, - bindType: fix, - - handle: function( event ) { - var ret, - target = this, - related = event.relatedTarget, - handleObj = event.handleObj; - - // For mousenter/leave call the handler if related is outside the target. - // NB: No relatedTarget if the mouse left/entered the browser window - if ( !related || (related !== target && !jQuery.contains( target, related )) ) { - event.type = handleObj.origType; - ret = handleObj.handler.apply( this, arguments ); - event.type = fix; - } - return ret; - } - }; -}); - -// IE submit delegation -if ( !jQuery.support.submitBubbles ) { - - jQuery.event.special.submit = { - setup: function() { - // Only need this for delegated form submit events - if ( jQuery.nodeName( this, "form" ) ) { - return false; - } - - // Lazy-add a submit handler when a descendant form may potentially be submitted - jQuery.event.add( this, "click._submit keypress._submit", function( e ) { - // Node name check avoids a VML-related crash in IE (#9807) - var elem = e.target, - form = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ? elem.form : undefined; - if ( form && !jQuery._data( form, "submitBubbles" ) ) { - jQuery.event.add( form, "submit._submit", function( event ) { - event._submit_bubble = true; - }); - jQuery._data( form, "submitBubbles", true ); - } - }); - // return undefined since we don't need an event listener - }, - - postDispatch: function( event ) { - // If form was submitted by the user, bubble the event up the tree - if ( event._submit_bubble ) { - delete event._submit_bubble; - if ( this.parentNode && !event.isTrigger ) { - jQuery.event.simulate( "submit", this.parentNode, event, true ); - } - } - }, - - teardown: function() { - // Only need this for delegated form submit events - if ( jQuery.nodeName( this, "form" ) ) { - return false; - } - - // Remove delegated handlers; cleanData eventually reaps submit handlers attached above - jQuery.event.remove( this, "._submit" ); - } - }; -} - -// IE change delegation and checkbox/radio fix -if ( !jQuery.support.changeBubbles ) { - - jQuery.event.special.change = { - - setup: function() { - - if ( rformElems.test( this.nodeName ) ) { - // IE doesn't fire change on a check/radio until blur; trigger it on click - // after a propertychange. Eat the blur-change in special.change.handle. - // This still fires onchange a second time for check/radio after blur. - if ( this.type === "checkbox" || this.type === "radio" ) { - jQuery.event.add( this, "propertychange._change", function( event ) { - if ( event.originalEvent.propertyName === "checked" ) { - this._just_changed = true; - } - }); - jQuery.event.add( this, "click._change", function( event ) { - if ( this._just_changed && !event.isTrigger ) { - this._just_changed = false; - } - // Allow triggered, simulated change events (#11500) - jQuery.event.simulate( "change", this, event, true ); - }); - } - return false; - } - // Delegated event; lazy-add a change handler on descendant inputs - jQuery.event.add( this, "beforeactivate._change", function( e ) { - var elem = e.target; - - if ( rformElems.test( elem.nodeName ) && !jQuery._data( elem, "changeBubbles" ) ) { - jQuery.event.add( elem, "change._change", function( event ) { - if ( this.parentNode && !event.isSimulated && !event.isTrigger ) { - jQuery.event.simulate( "change", this.parentNode, event, true ); - } - }); - jQuery._data( elem, "changeBubbles", true ); - } - }); - }, - - handle: function( event ) { - var elem = event.target; - - // Swallow native change events from checkbox/radio, we already triggered them above - if ( this !== elem || event.isSimulated || event.isTrigger || (elem.type !== "radio" && elem.type !== "checkbox") ) { - return event.handleObj.handler.apply( this, arguments ); - } - }, - - teardown: function() { - jQuery.event.remove( this, "._change" ); - - return !rformElems.test( this.nodeName ); - } - }; -} - -// Create "bubbling" focus and blur events -if ( !jQuery.support.focusinBubbles ) { - jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) { - - // Attach a single capturing handler while someone wants focusin/focusout - var attaches = 0, - handler = function( event ) { - jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true ); - }; - - jQuery.event.special[ fix ] = { - setup: function() { - if ( attaches++ === 0 ) { - document.addEventListener( orig, handler, true ); - } - }, - teardown: function() { - if ( --attaches === 0 ) { - document.removeEventListener( orig, handler, true ); - } - } - }; - }); -} - -jQuery.fn.extend({ - - on: function( types, selector, data, fn, /*INTERNAL*/ one ) { - var type, origFn; - - // Types can be a map of types/handlers - if ( typeof types === "object" ) { - // ( types-Object, selector, data ) - if ( typeof selector !== "string" ) { - // ( types-Object, data ) - data = data || selector; - selector = undefined; - } - for ( type in types ) { - this.on( type, selector, data, types[ type ], one ); - } - return this; - } - - if ( data == null && fn == null ) { - // ( types, fn ) - fn = selector; - data = selector = undefined; - } else if ( fn == null ) { - if ( typeof selector === "string" ) { - // ( types, selector, fn ) - fn = data; - data = undefined; - } else { - // ( types, data, fn ) - fn = data; - data = selector; - selector = undefined; - } - } - if ( fn === false ) { - fn = returnFalse; - } else if ( !fn ) { - return this; - } - - if ( one === 1 ) { - origFn = fn; - fn = function( event ) { - // Can use an empty set, since event contains the info - jQuery().off( event ); - return origFn.apply( this, arguments ); - }; - // Use same guid so caller can remove using origFn - fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); - } - return this.each( function() { - jQuery.event.add( this, types, fn, data, selector ); - }); - }, - one: function( types, selector, data, fn ) { - return this.on( types, selector, data, fn, 1 ); - }, - off: function( types, selector, fn ) { - var handleObj, type; - if ( types && types.preventDefault && types.handleObj ) { - // ( event ) dispatched jQuery.Event - handleObj = types.handleObj; - jQuery( types.delegateTarget ).off( - handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType, - handleObj.selector, - handleObj.handler - ); - return this; - } - if ( typeof types === "object" ) { - // ( types-object [, selector] ) - for ( type in types ) { - this.off( type, selector, types[ type ] ); - } - return this; - } - if ( selector === false || typeof selector === "function" ) { - // ( types [, fn] ) - fn = selector; - selector = undefined; - } - if ( fn === false ) { - fn = returnFalse; - } - return this.each(function() { - jQuery.event.remove( this, types, fn, selector ); - }); - }, - - bind: function( types, data, fn ) { - return this.on( types, null, data, fn ); - }, - unbind: function( types, fn ) { - return this.off( types, null, fn ); - }, - - delegate: function( selector, types, data, fn ) { - return this.on( types, selector, data, fn ); - }, - undelegate: function( selector, types, fn ) { - // ( namespace ) or ( selector, types [, fn] ) - return arguments.length === 1 ? this.off( selector, "**" ) : this.off( types, selector || "**", fn ); - }, - - trigger: function( type, data ) { - return this.each(function() { - jQuery.event.trigger( type, data, this ); - }); - }, - triggerHandler: function( type, data ) { - var elem = this[0]; - if ( elem ) { - return jQuery.event.trigger( type, data, elem, true ); - } - } -}); -/*! - * Sizzle CSS Selector Engine - * Copyright 2012 jQuery Foundation and other contributors - * Released under the MIT license - * http://sizzlejs.com/ - */ -(function( window, undefined ) { - -var i, - cachedruns, - Expr, - getText, - isXML, - compile, - hasDuplicate, - outermostContext, - - // Local document vars - setDocument, - document, - docElem, - documentIsXML, - rbuggyQSA, - rbuggyMatches, - matches, - contains, - sortOrder, - - // Instance-specific data - expando = "sizzle" + -(new Date()), - preferredDoc = window.document, - support = {}, - dirruns = 0, - done = 0, - classCache = createCache(), - tokenCache = createCache(), - compilerCache = createCache(), - - // General-purpose constants - strundefined = typeof undefined, - MAX_NEGATIVE = 1 << 31, - - // Array methods - arr = [], - pop = arr.pop, - push = arr.push, - slice = arr.slice, - // Use a stripped-down indexOf if we can't use a native one - indexOf = arr.indexOf || function( elem ) { - var i = 0, - len = this.length; - for ( ; i < len; i++ ) { - if ( this[i] === elem ) { - return i; - } - } - return -1; - }, - - - // Regular expressions - - // Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace - whitespace = "[\\x20\\t\\r\\n\\f]", - // http://www.w3.org/TR/css3-syntax/#characters - characterEncoding = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+", - - // Loosely modeled on CSS identifier characters - // An unquoted value should be a CSS identifier http://www.w3.org/TR/css3-selectors/#attribute-selectors - // Proper syntax: http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier - identifier = characterEncoding.replace( "w", "w#" ), - - // Acceptable operators http://www.w3.org/TR/selectors/#attribute-selectors - operators = "([*^$|!~]?=)", - attributes = "\\[" + whitespace + "*(" + characterEncoding + ")" + whitespace + - "*(?:" + operators + whitespace + "*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|(" + identifier + ")|)|)" + whitespace + "*\\]", - - // Prefer arguments quoted, - // then not containing pseudos/brackets, - // then attribute selectors/non-parenthetical expressions, - // then anything else - // These preferences are here to reduce the number of selectors - // needing tokenize in the PSEUDO preFilter - pseudos = ":(" + characterEncoding + ")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|" + attributes.replace( 3, 8 ) + ")*)|.*)\\)|)", - - // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter - rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), - - rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), - rcombinators = new RegExp( "^" + whitespace + "*([\\x20\\t\\r\\n\\f>+~])" + whitespace + "*" ), - rpseudo = new RegExp( pseudos ), - ridentifier = new RegExp( "^" + identifier + "$" ), - - matchExpr = { - "ID": new RegExp( "^#(" + characterEncoding + ")" ), - "CLASS": new RegExp( "^\\.(" + characterEncoding + ")" ), - "NAME": new RegExp( "^\\[name=['\"]?(" + characterEncoding + ")['\"]?\\]" ), - "TAG": new RegExp( "^(" + characterEncoding.replace( "w", "w*" ) + ")" ), - "ATTR": new RegExp( "^" + attributes ), - "PSEUDO": new RegExp( "^" + pseudos ), - "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + - "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + - "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), - // For use in libraries implementing .is() - // We use this for POS matching in `select` - "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + - whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) - }, - - rsibling = /[\x20\t\r\n\f]*[+~]/, - - rnative = /^[^{]+\{\s*\[native code/, - - // Easily-parseable/retrievable ID or TAG or CLASS selectors - rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, - - rinputs = /^(?:input|select|textarea|button)$/i, - rheader = /^h\d$/i, - - rescape = /'|\\/g, - rattributeQuotes = /\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g, - - // CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters - runescape = /\\([\da-fA-F]{1,6}[\x20\t\r\n\f]?|.)/g, - funescape = function( _, escaped ) { - var high = "0x" + escaped - 0x10000; - // NaN means non-codepoint - return high !== high ? - escaped : - // BMP codepoint - high < 0 ? - String.fromCharCode( high + 0x10000 ) : - // Supplemental Plane codepoint (surrogate pair) - String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); - }; - -// Use a stripped-down slice if we can't use a native one -try { - slice.call( preferredDoc.documentElement.childNodes, 0 )[0].nodeType; -} catch ( e ) { - slice = function( i ) { - var elem, - results = []; - while ( (elem = this[i++]) ) { - results.push( elem ); - } - return results; - }; -} - -/** - * For feature detection - * @param {Function} fn The function to test for native support - */ -function isNative( fn ) { - return rnative.test( fn + "" ); -} - -/** - * Create key-value caches of limited size - * @returns {Function(string, Object)} Returns the Object data after storing it on itself with - * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) - * deleting the oldest entry - */ -function createCache() { - var cache, - keys = []; - - return (cache = function( key, value ) { - // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) - if ( keys.push( key += " " ) > Expr.cacheLength ) { - // Only keep the most recent entries - delete cache[ keys.shift() ]; - } - return (cache[ key ] = value); - }); -} - -/** - * Mark a function for special use by Sizzle - * @param {Function} fn The function to mark - */ -function markFunction( fn ) { - fn[ expando ] = true; - return fn; -} - -/** - * Support testing using an element - * @param {Function} fn Passed the created div and expects a boolean result - */ -function assert( fn ) { - var div = document.createElement("div"); - - try { - return fn( div ); - } catch (e) { - return false; - } finally { - // release memory in IE - div = null; - } -} - -function Sizzle( selector, context, results, seed ) { - var match, elem, m, nodeType, - // QSA vars - i, groups, old, nid, newContext, newSelector; - - if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) { - setDocument( context ); - } - - context = context || document; - results = results || []; - - if ( !selector || typeof selector !== "string" ) { - return results; - } - - if ( (nodeType = context.nodeType) !== 1 && nodeType !== 9 ) { - return []; - } - - if ( !documentIsXML && !seed ) { - - // Shortcuts - if ( (match = rquickExpr.exec( selector )) ) { - // Speed-up: Sizzle("#ID") - if ( (m = match[1]) ) { - if ( nodeType === 9 ) { - elem = context.getElementById( m ); - // Check parentNode to catch when Blackberry 4.6 returns - // nodes that are no longer in the document #6963 - if ( elem && elem.parentNode ) { - // Handle the case where IE, Opera, and Webkit return items - // by name instead of ID - if ( elem.id === m ) { - results.push( elem ); - return results; - } - } else { - return results; - } - } else { - // Context is not a document - if ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) && - contains( context, elem ) && elem.id === m ) { - results.push( elem ); - return results; - } - } - - // Speed-up: Sizzle("TAG") - } else if ( match[2] ) { - push.apply( results, slice.call(context.getElementsByTagName( selector ), 0) ); - return results; - - // Speed-up: Sizzle(".CLASS") - } else if ( (m = match[3]) && support.getByClassName && context.getElementsByClassName ) { - push.apply( results, slice.call(context.getElementsByClassName( m ), 0) ); - return results; - } - } - - // QSA path - if ( support.qsa && !rbuggyQSA.test(selector) ) { - old = true; - nid = expando; - newContext = context; - newSelector = nodeType === 9 && selector; - - // qSA works strangely on Element-rooted queries - // We can work around this by specifying an extra ID on the root - // and working up from there (Thanks to Andrew Dupont for the technique) - // IE 8 doesn't work on object elements - if ( nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) { - groups = tokenize( selector ); - - if ( (old = context.getAttribute("id")) ) { - nid = old.replace( rescape, "\\$&" ); - } else { - context.setAttribute( "id", nid ); - } - nid = "[id='" + nid + "'] "; - - i = groups.length; - while ( i-- ) { - groups[i] = nid + toSelector( groups[i] ); - } - newContext = rsibling.test( selector ) && context.parentNode || context; - newSelector = groups.join(","); - } - - if ( newSelector ) { - try { - push.apply( results, slice.call( newContext.querySelectorAll( - newSelector - ), 0 ) ); - return results; - } catch(qsaError) { - } finally { - if ( !old ) { - context.removeAttribute("id"); - } - } - } - } - } - - // All others - return select( selector.replace( rtrim, "$1" ), context, results, seed ); -} - -/** - * Detect xml - * @param {Element|Object} elem An element or a document - */ -isXML = Sizzle.isXML = function( elem ) { - // documentElement is verified for cases where it doesn't yet exist - // (such as loading iframes in IE - #4833) - var documentElement = elem && (elem.ownerDocument || elem).documentElement; - return documentElement ? documentElement.nodeName !== "HTML" : false; -}; - -/** - * Sets document-related variables once based on the current document - * @param {Element|Object} [doc] An element or document object to use to set the document - * @returns {Object} Returns the current document - */ -setDocument = Sizzle.setDocument = function( node ) { - var doc = node ? node.ownerDocument || node : preferredDoc; - - // If no document and documentElement is available, return - if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) { - return document; - } - - // Set our document - document = doc; - docElem = doc.documentElement; - - // Support tests - documentIsXML = isXML( doc ); - - // Check if getElementsByTagName("*") returns only elements - support.tagNameNoComments = assert(function( div ) { - div.appendChild( doc.createComment("") ); - return !div.getElementsByTagName("*").length; - }); - - // Check if attributes should be retrieved by attribute nodes - support.attributes = assert(function( div ) { - div.innerHTML = "<select></select>"; - var type = typeof div.lastChild.getAttribute("multiple"); - // IE8 returns a string for some attributes even when not present - return type !== "boolean" && type !== "string"; - }); - - // Check if getElementsByClassName can be trusted - support.getByClassName = assert(function( div ) { - // Opera can't find a second classname (in 9.6) - div.innerHTML = "<div class='hidden e'></div><div class='hidden'></div>"; - if ( !div.getElementsByClassName || !div.getElementsByClassName("e").length ) { - return false; - } - - // Safari 3.2 caches class attributes and doesn't catch changes - div.lastChild.className = "e"; - return div.getElementsByClassName("e").length === 2; - }); - - // Check if getElementById returns elements by name - // Check if getElementsByName privileges form controls or returns elements by ID - support.getByName = assert(function( div ) { - // Inject content - div.id = expando + 0; - div.innerHTML = "<a name='" + expando + "'></a><div name='" + expando + "'></div>"; - docElem.insertBefore( div, docElem.firstChild ); - - // Test - var pass = doc.getElementsByName && - // buggy browsers will return fewer than the correct 2 - doc.getElementsByName( expando ).length === 2 + - // buggy browsers will return more than the correct 0 - doc.getElementsByName( expando + 0 ).length; - support.getIdNotName = !doc.getElementById( expando ); - - // Cleanup - docElem.removeChild( div ); - - return pass; - }); - - // IE6/7 return modified attributes - Expr.attrHandle = assert(function( div ) { - div.innerHTML = "<a href='#'></a>"; - return div.firstChild && typeof div.firstChild.getAttribute !== strundefined && - div.firstChild.getAttribute("href") === "#"; - }) ? - {} : - { - "href": function( elem ) { - return elem.getAttribute( "href", 2 ); - }, - "type": function( elem ) { - return elem.getAttribute("type"); - } - }; - - // ID find and filter - if ( support.getIdNotName ) { - Expr.find["ID"] = function( id, context ) { - if ( typeof context.getElementById !== strundefined && !documentIsXML ) { - var m = context.getElementById( id ); - // Check parentNode to catch when Blackberry 4.6 returns - // nodes that are no longer in the document #6963 - return m && m.parentNode ? [m] : []; - } - }; - Expr.filter["ID"] = function( id ) { - var attrId = id.replace( runescape, funescape ); - return function( elem ) { - return elem.getAttribute("id") === attrId; - }; - }; - } else { - Expr.find["ID"] = function( id, context ) { - if ( typeof context.getElementById !== strundefined && !documentIsXML ) { - var m = context.getElementById( id ); - - return m ? - m.id === id || typeof m.getAttributeNode !== strundefined && m.getAttributeNode("id").value === id ? - [m] : - undefined : - []; - } - }; - Expr.filter["ID"] = function( id ) { - var attrId = id.replace( runescape, funescape ); - return function( elem ) { - var node = typeof elem.getAttributeNode !== strundefined && elem.getAttributeNode("id"); - return node && node.value === attrId; - }; - }; - } - - // Tag - Expr.find["TAG"] = support.tagNameNoComments ? - function( tag, context ) { - if ( typeof context.getElementsByTagName !== strundefined ) { - return context.getElementsByTagName( tag ); - } - } : - function( tag, context ) { - var elem, - tmp = [], - i = 0, - results = context.getElementsByTagName( tag ); - - // Filter out possible comments - if ( tag === "*" ) { - while ( (elem = results[i++]) ) { - if ( elem.nodeType === 1 ) { - tmp.push( elem ); - } - } - - return tmp; - } - return results; - }; - - // Name - Expr.find["NAME"] = support.getByName && function( tag, context ) { - if ( typeof context.getElementsByName !== strundefined ) { - return context.getElementsByName( name ); - } - }; - - // Class - Expr.find["CLASS"] = support.getByClassName && function( className, context ) { - if ( typeof context.getElementsByClassName !== strundefined && !documentIsXML ) { - return context.getElementsByClassName( className ); - } - }; - - // QSA and matchesSelector support - - // matchesSelector(:active) reports false when true (IE9/Opera 11.5) - rbuggyMatches = []; - - // qSa(:focus) reports false when true (Chrome 21), - // no need to also add to buggyMatches since matches checks buggyQSA - // A support test would require too much code (would include document ready) - rbuggyQSA = [ ":focus" ]; - - if ( (support.qsa = isNative(doc.querySelectorAll)) ) { - // Build QSA regex - // Regex strategy adopted from Diego Perini - assert(function( div ) { - // Select is set to empty string on purpose - // This is to test IE's treatment of not explictly - // setting a boolean content attribute, - // since its presence should be enough - // http://bugs.jquery.com/ticket/12359 - div.innerHTML = "<select><option selected=''></option></select>"; - - // IE8 - Some boolean attributes are not treated correctly - if ( !div.querySelectorAll("[selected]").length ) { - rbuggyQSA.push( "\\[" + whitespace + "*(?:checked|disabled|ismap|multiple|readonly|selected|value)" ); - } - - // Webkit/Opera - :checked should return selected option elements - // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked - // IE8 throws error here and will not see later tests - if ( !div.querySelectorAll(":checked").length ) { - rbuggyQSA.push(":checked"); - } - }); - - assert(function( div ) { - - // Opera 10-12/IE8 - ^= $= *= and empty values - // Should not select anything - div.innerHTML = "<input type='hidden' i=''/>"; - if ( div.querySelectorAll("[i^='']").length ) { - rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:\"\"|'')" ); - } - - // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) - // IE8 throws error here and will not see later tests - if ( !div.querySelectorAll(":enabled").length ) { - rbuggyQSA.push( ":enabled", ":disabled" ); - } - - // Opera 10-11 does not throw on post-comma invalid pseudos - div.querySelectorAll("*,:x"); - rbuggyQSA.push(",.*:"); - }); - } - - if ( (support.matchesSelector = isNative( (matches = docElem.matchesSelector || - docElem.mozMatchesSelector || - docElem.webkitMatchesSelector || - docElem.oMatchesSelector || - docElem.msMatchesSelector) )) ) { - - assert(function( div ) { - // Check to see if it's possible to do matchesSelector - // on a disconnected node (IE 9) - support.disconnectedMatch = matches.call( div, "div" ); - - // This should fail with an exception - // Gecko does not error, returns false instead - matches.call( div, "[s!='']:x" ); - rbuggyMatches.push( "!=", pseudos ); - }); - } - - rbuggyQSA = new RegExp( rbuggyQSA.join("|") ); - rbuggyMatches = new RegExp( rbuggyMatches.join("|") ); - - // Element contains another - // Purposefully does not implement inclusive descendent - // As in, an element does not contain itself - contains = isNative(docElem.contains) || docElem.compareDocumentPosition ? - function( a, b ) { - var adown = a.nodeType === 9 ? a.documentElement : a, - bup = b && b.parentNode; - return a === bup || !!( bup && bup.nodeType === 1 && ( - adown.contains ? - adown.contains( bup ) : - a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 - )); - } : - function( a, b ) { - if ( b ) { - while ( (b = b.parentNode) ) { - if ( b === a ) { - return true; - } - } - } - return false; - }; - - // Document order sorting - sortOrder = docElem.compareDocumentPosition ? - function( a, b ) { - var compare; - - if ( a === b ) { - hasDuplicate = true; - return 0; - } - - if ( (compare = b.compareDocumentPosition && a.compareDocumentPosition && a.compareDocumentPosition( b )) ) { - if ( compare & 1 || a.parentNode && a.parentNode.nodeType === 11 ) { - if ( a === doc || contains( preferredDoc, a ) ) { - return -1; - } - if ( b === doc || contains( preferredDoc, b ) ) { - return 1; - } - return 0; - } - return compare & 4 ? -1 : 1; - } - - return a.compareDocumentPosition ? -1 : 1; - } : - function( a, b ) { - var cur, - i = 0, - aup = a.parentNode, - bup = b.parentNode, - ap = [ a ], - bp = [ b ]; - - // Exit early if the nodes are identical - if ( a === b ) { - hasDuplicate = true; - return 0; - - // Parentless nodes are either documents or disconnected - } else if ( !aup || !bup ) { - return a === doc ? -1 : - b === doc ? 1 : - aup ? -1 : - bup ? 1 : - 0; - - // If the nodes are siblings, we can do a quick check - } else if ( aup === bup ) { - return siblingCheck( a, b ); - } - - // Otherwise we need full lists of their ancestors for comparison - cur = a; - while ( (cur = cur.parentNode) ) { - ap.unshift( cur ); - } - cur = b; - while ( (cur = cur.parentNode) ) { - bp.unshift( cur ); - } - - // Walk down the tree looking for a discrepancy - while ( ap[i] === bp[i] ) { - i++; - } - - return i ? - // Do a sibling check if the nodes have a common ancestor - siblingCheck( ap[i], bp[i] ) : - - // Otherwise nodes in our document sort first - ap[i] === preferredDoc ? -1 : - bp[i] === preferredDoc ? 1 : - 0; - }; - - // Always assume the presence of duplicates if sort doesn't - // pass them to our comparison function (as in Google Chrome). - hasDuplicate = false; - [0, 0].sort( sortOrder ); - support.detectDuplicates = hasDuplicate; - - return document; -}; - -Sizzle.matches = function( expr, elements ) { - return Sizzle( expr, null, null, elements ); -}; - -Sizzle.matchesSelector = function( elem, expr ) { - // Set document vars if needed - if ( ( elem.ownerDocument || elem ) !== document ) { - setDocument( elem ); - } - - // Make sure that attribute selectors are quoted - expr = expr.replace( rattributeQuotes, "='$1']" ); - - // rbuggyQSA always contains :focus, so no need for an existence check - if ( support.matchesSelector && !documentIsXML && (!rbuggyMatches || !rbuggyMatches.test(expr)) && !rbuggyQSA.test(expr) ) { - try { - var ret = matches.call( elem, expr ); - - // IE 9's matchesSelector returns false on disconnected nodes - if ( ret || support.disconnectedMatch || - // As well, disconnected nodes are said to be in a document - // fragment in IE 9 - elem.document && elem.document.nodeType !== 11 ) { - return ret; - } - } catch(e) {} - } - - return Sizzle( expr, document, null, [elem] ).length > 0; -}; - -Sizzle.contains = function( context, elem ) { - // Set document vars if needed - if ( ( context.ownerDocument || context ) !== document ) { - setDocument( context ); - } - return contains( context, elem ); -}; - -Sizzle.attr = function( elem, name ) { - var val; - - // Set document vars if needed - if ( ( elem.ownerDocument || elem ) !== document ) { - setDocument( elem ); - } - - if ( !documentIsXML ) { - name = name.toLowerCase(); - } - if ( (val = Expr.attrHandle[ name ]) ) { - return val( elem ); - } - if ( documentIsXML || support.attributes ) { - return elem.getAttribute( name ); - } - return ( (val = elem.getAttributeNode( name )) || elem.getAttribute( name ) ) && elem[ name ] === true ? - name : - val && val.specified ? val.value : null; -}; - -Sizzle.error = function( msg ) { - throw new Error( "Syntax error, unrecognized expression: " + msg ); -}; - -// Document sorting and removing duplicates -Sizzle.uniqueSort = function( results ) { - var elem, - duplicates = [], - i = 1, - j = 0; - - // Unless we *know* we can detect duplicates, assume their presence - hasDuplicate = !support.detectDuplicates; - results.sort( sortOrder ); - - if ( hasDuplicate ) { - for ( ; (elem = results[i]); i++ ) { - if ( elem === results[ i - 1 ] ) { - j = duplicates.push( i ); - } - } - while ( j-- ) { - results.splice( duplicates[ j ], 1 ); - } - } - - return results; -}; - -function siblingCheck( a, b ) { - var cur = b && a, - diff = cur && ( ~b.sourceIndex || MAX_NEGATIVE ) - ( ~a.sourceIndex || MAX_NEGATIVE ); - - // Use IE sourceIndex if available on both nodes - if ( diff ) { - return diff; - } - - // Check if b follows a - if ( cur ) { - while ( (cur = cur.nextSibling) ) { - if ( cur === b ) { - return -1; - } - } - } - - return a ? 1 : -1; -} - -// Returns a function to use in pseudos for input types -function createInputPseudo( type ) { - return function( elem ) { - var name = elem.nodeName.toLowerCase(); - return name === "input" && elem.type === type; - }; -} - -// Returns a function to use in pseudos for buttons -function createButtonPseudo( type ) { - return function( elem ) { - var name = elem.nodeName.toLowerCase(); - return (name === "input" || name === "button") && elem.type === type; - }; -} - -// Returns a function to use in pseudos for positionals -function createPositionalPseudo( fn ) { - return markFunction(function( argument ) { - argument = +argument; - return markFunction(function( seed, matches ) { - var j, - matchIndexes = fn( [], seed.length, argument ), - i = matchIndexes.length; - - // Match elements found at the specified indexes - while ( i-- ) { - if ( seed[ (j = matchIndexes[i]) ] ) { - seed[j] = !(matches[j] = seed[j]); - } - } - }); - }); -} - -/** - * Utility function for retrieving the text value of an array of DOM nodes - * @param {Array|Element} elem - */ -getText = Sizzle.getText = function( elem ) { - var node, - ret = "", - i = 0, - nodeType = elem.nodeType; - - if ( !nodeType ) { - // If no nodeType, this is expected to be an array - for ( ; (node = elem[i]); i++ ) { - // Do not traverse comment nodes - ret += getText( node ); - } - } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { - // Use textContent for elements - // innerText usage removed for consistency of new lines (see #11153) - if ( typeof elem.textContent === "string" ) { - return elem.textContent; - } else { - // Traverse its children - for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { - ret += getText( elem ); - } - } - } else if ( nodeType === 3 || nodeType === 4 ) { - return elem.nodeValue; - } - // Do not include comment or processing instruction nodes - - return ret; -}; - -Expr = Sizzle.selectors = { - - // Can be adjusted by the user - cacheLength: 50, - - createPseudo: markFunction, - - match: matchExpr, - - find: {}, - - relative: { - ">": { dir: "parentNode", first: true }, - " ": { dir: "parentNode" }, - "+": { dir: "previousSibling", first: true }, - "~": { dir: "previousSibling" } - }, - - preFilter: { - "ATTR": function( match ) { - match[1] = match[1].replace( runescape, funescape ); - - // Move the given value to match[3] whether quoted or unquoted - match[3] = ( match[4] || match[5] || "" ).replace( runescape, funescape ); - - if ( match[2] === "~=" ) { - match[3] = " " + match[3] + " "; - } - - return match.slice( 0, 4 ); - }, - - "CHILD": function( match ) { - /* matches from matchExpr["CHILD"] - 1 type (only|nth|...) - 2 what (child|of-type) - 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) - 4 xn-component of xn+y argument ([+-]?\d*n|) - 5 sign of xn-component - 6 x of xn-component - 7 sign of y-component - 8 y of y-component - */ - match[1] = match[1].toLowerCase(); - - if ( match[1].slice( 0, 3 ) === "nth" ) { - // nth-* requires argument - if ( !match[3] ) { - Sizzle.error( match[0] ); - } - - // numeric x and y parameters for Expr.filter.CHILD - // remember that false/true cast respectively to 0/1 - match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) ); - match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" ); - - // other types prohibit arguments - } else if ( match[3] ) { - Sizzle.error( match[0] ); - } - - return match; - }, - - "PSEUDO": function( match ) { - var excess, - unquoted = !match[5] && match[2]; - - if ( matchExpr["CHILD"].test( match[0] ) ) { - return null; - } - - // Accept quoted arguments as-is - if ( match[4] ) { - match[2] = match[4]; - - // Strip excess characters from unquoted arguments - } else if ( unquoted && rpseudo.test( unquoted ) && - // Get excess from tokenize (recursively) - (excess = tokenize( unquoted, true )) && - // advance to the next closing parenthesis - (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) { - - // excess is a negative index - match[0] = match[0].slice( 0, excess ); - match[2] = unquoted.slice( 0, excess ); - } - - // Return only captures needed by the pseudo filter method (type and argument) - return match.slice( 0, 3 ); - } - }, - - filter: { - - "TAG": function( nodeName ) { - if ( nodeName === "*" ) { - return function() { return true; }; - } - - nodeName = nodeName.replace( runescape, funescape ).toLowerCase(); - return function( elem ) { - return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; - }; - }, - - "CLASS": function( className ) { - var pattern = classCache[ className + " " ]; - - return pattern || - (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) && - classCache( className, function( elem ) { - return pattern.test( elem.className || (typeof elem.getAttribute !== strundefined && elem.getAttribute("class")) || "" ); - }); - }, - - "ATTR": function( name, operator, check ) { - return function( elem ) { - var result = Sizzle.attr( elem, name ); - - if ( result == null ) { - return operator === "!="; - } - if ( !operator ) { - return true; - } - - result += ""; - - return operator === "=" ? result === check : - operator === "!=" ? result !== check : - operator === "^=" ? check && result.indexOf( check ) === 0 : - operator === "*=" ? check && result.indexOf( check ) > -1 : - operator === "$=" ? check && result.slice( -check.length ) === check : - operator === "~=" ? ( " " + result + " " ).indexOf( check ) > -1 : - operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : - false; - }; - }, - - "CHILD": function( type, what, argument, first, last ) { - var simple = type.slice( 0, 3 ) !== "nth", - forward = type.slice( -4 ) !== "last", - ofType = what === "of-type"; - - return first === 1 && last === 0 ? - - // Shortcut for :nth-*(n) - function( elem ) { - return !!elem.parentNode; - } : - - function( elem, context, xml ) { - var cache, outerCache, node, diff, nodeIndex, start, - dir = simple !== forward ? "nextSibling" : "previousSibling", - parent = elem.parentNode, - name = ofType && elem.nodeName.toLowerCase(), - useCache = !xml && !ofType; - - if ( parent ) { - - // :(first|last|only)-(child|of-type) - if ( simple ) { - while ( dir ) { - node = elem; - while ( (node = node[ dir ]) ) { - if ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) { - return false; - } - } - // Reverse direction for :only-* (if we haven't yet done so) - start = dir = type === "only" && !start && "nextSibling"; - } - return true; - } - - start = [ forward ? parent.firstChild : parent.lastChild ]; - - // non-xml :nth-child(...) stores cache data on `parent` - if ( forward && useCache ) { - // Seek `elem` from a previously-cached index - outerCache = parent[ expando ] || (parent[ expando ] = {}); - cache = outerCache[ type ] || []; - nodeIndex = cache[0] === dirruns && cache[1]; - diff = cache[0] === dirruns && cache[2]; - node = nodeIndex && parent.childNodes[ nodeIndex ]; - - while ( (node = ++nodeIndex && node && node[ dir ] || - - // Fallback to seeking `elem` from the start - (diff = nodeIndex = 0) || start.pop()) ) { - - // When found, cache indexes on `parent` and break - if ( node.nodeType === 1 && ++diff && node === elem ) { - outerCache[ type ] = [ dirruns, nodeIndex, diff ]; - break; - } - } - - // Use previously-cached element index if available - } else if ( useCache && (cache = (elem[ expando ] || (elem[ expando ] = {}))[ type ]) && cache[0] === dirruns ) { - diff = cache[1]; - - // xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...) - } else { - // Use the same loop as above to seek `elem` from the start - while ( (node = ++nodeIndex && node && node[ dir ] || - (diff = nodeIndex = 0) || start.pop()) ) { - - if ( ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff ) { - // Cache the index of each encountered element - if ( useCache ) { - (node[ expando ] || (node[ expando ] = {}))[ type ] = [ dirruns, diff ]; - } - - if ( node === elem ) { - break; - } - } - } - } - - // Incorporate the offset, then check against cycle size - diff -= last; - return diff === first || ( diff % first === 0 && diff / first >= 0 ); - } - }; - }, - - "PSEUDO": function( pseudo, argument ) { - // pseudo-class names are case-insensitive - // http://www.w3.org/TR/selectors/#pseudo-classes - // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters - // Remember that setFilters inherits from pseudos - var args, - fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || - Sizzle.error( "unsupported pseudo: " + pseudo ); - - // The user may use createPseudo to indicate that - // arguments are needed to create the filter function - // just as Sizzle does - if ( fn[ expando ] ) { - return fn( argument ); - } - - // But maintain support for old signatures - if ( fn.length > 1 ) { - args = [ pseudo, pseudo, "", argument ]; - return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? - markFunction(function( seed, matches ) { - var idx, - matched = fn( seed, argument ), - i = matched.length; - while ( i-- ) { - idx = indexOf.call( seed, matched[i] ); - seed[ idx ] = !( matches[ idx ] = matched[i] ); - } - }) : - function( elem ) { - return fn( elem, 0, args ); - }; - } - - return fn; - } - }, - - pseudos: { - // Potentially complex pseudos - "not": markFunction(function( selector ) { - // Trim the selector passed to compile - // to avoid treating leading and trailing - // spaces as combinators - var input = [], - results = [], - matcher = compile( selector.replace( rtrim, "$1" ) ); - - return matcher[ expando ] ? - markFunction(function( seed, matches, context, xml ) { - var elem, - unmatched = matcher( seed, null, xml, [] ), - i = seed.length; - - // Match elements unmatched by `matcher` - while ( i-- ) { - if ( (elem = unmatched[i]) ) { - seed[i] = !(matches[i] = elem); - } - } - }) : - function( elem, context, xml ) { - input[0] = elem; - matcher( input, null, xml, results ); - return !results.pop(); - }; - }), - - "has": markFunction(function( selector ) { - return function( elem ) { - return Sizzle( selector, elem ).length > 0; - }; - }), - - "contains": markFunction(function( text ) { - return function( elem ) { - return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1; - }; - }), - - // "Whether an element is represented by a :lang() selector - // is based solely on the element's language value - // being equal to the identifier C, - // or beginning with the identifier C immediately followed by "-". - // The matching of C against the element's language value is performed case-insensitively. - // The identifier C does not have to be a valid language name." - // http://www.w3.org/TR/selectors/#lang-pseudo - "lang": markFunction( function( lang ) { - // lang value must be a valid identifider - if ( !ridentifier.test(lang || "") ) { - Sizzle.error( "unsupported lang: " + lang ); - } - lang = lang.replace( runescape, funescape ).toLowerCase(); - return function( elem ) { - var elemLang; - do { - if ( (elemLang = documentIsXML ? - elem.getAttribute("xml:lang") || elem.getAttribute("lang") : - elem.lang) ) { - - elemLang = elemLang.toLowerCase(); - return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; - } - } while ( (elem = elem.parentNode) && elem.nodeType === 1 ); - return false; - }; - }), - - // Miscellaneous - "target": function( elem ) { - var hash = window.location && window.location.hash; - return hash && hash.slice( 1 ) === elem.id; - }, - - "root": function( elem ) { - return elem === docElem; - }, - - "focus": function( elem ) { - return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex); - }, - - // Boolean properties - "enabled": function( elem ) { - return elem.disabled === false; - }, - - "disabled": function( elem ) { - return elem.disabled === true; - }, - - "checked": function( elem ) { - // In CSS3, :checked should return both checked and selected elements - // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked - var nodeName = elem.nodeName.toLowerCase(); - return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected); - }, - - "selected": function( elem ) { - // Accessing this property makes selected-by-default - // options in Safari work properly - if ( elem.parentNode ) { - elem.parentNode.selectedIndex; - } - - return elem.selected === true; - }, - - // Contents - "empty": function( elem ) { - // http://www.w3.org/TR/selectors/#empty-pseudo - // :empty is only affected by element nodes and content nodes(including text(3), cdata(4)), - // not comment, processing instructions, or others - // Thanks to Diego Perini for the nodeName shortcut - // Greater than "@" means alpha characters (specifically not starting with "#" or "?") - for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { - if ( elem.nodeName > "@" || elem.nodeType === 3 || elem.nodeType === 4 ) { - return false; - } - } - return true; - }, - - "parent": function( elem ) { - return !Expr.pseudos["empty"]( elem ); - }, - - // Element/input types - "header": function( elem ) { - return rheader.test( elem.nodeName ); - }, - - "input": function( elem ) { - return rinputs.test( elem.nodeName ); - }, - - "button": function( elem ) { - var name = elem.nodeName.toLowerCase(); - return name === "input" && elem.type === "button" || name === "button"; - }, - - "text": function( elem ) { - var attr; - // IE6 and 7 will map elem.type to 'text' for new HTML5 types (search, etc) - // use getAttribute instead to test this case - return elem.nodeName.toLowerCase() === "input" && - elem.type === "text" && - ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === elem.type ); - }, - - // Position-in-collection - "first": createPositionalPseudo(function() { - return [ 0 ]; - }), - - "last": createPositionalPseudo(function( matchIndexes, length ) { - return [ length - 1 ]; - }), - - "eq": createPositionalPseudo(function( matchIndexes, length, argument ) { - return [ argument < 0 ? argument + length : argument ]; - }), - - "even": createPositionalPseudo(function( matchIndexes, length ) { - var i = 0; - for ( ; i < length; i += 2 ) { - matchIndexes.push( i ); - } - return matchIndexes; - }), - - "odd": createPositionalPseudo(function( matchIndexes, length ) { - var i = 1; - for ( ; i < length; i += 2 ) { - matchIndexes.push( i ); - } - return matchIndexes; - }), - - "lt": createPositionalPseudo(function( matchIndexes, length, argument ) { - var i = argument < 0 ? argument + length : argument; - for ( ; --i >= 0; ) { - matchIndexes.push( i ); - } - return matchIndexes; - }), - - "gt": createPositionalPseudo(function( matchIndexes, length, argument ) { - var i = argument < 0 ? argument + length : argument; - for ( ; ++i < length; ) { - matchIndexes.push( i ); - } - return matchIndexes; - }) - } -}; - -// Add button/input type pseudos -for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { - Expr.pseudos[ i ] = createInputPseudo( i ); -} -for ( i in { submit: true, reset: true } ) { - Expr.pseudos[ i ] = createButtonPseudo( i ); -} - -function tokenize( selector, parseOnly ) { - var matched, match, tokens, type, - soFar, groups, preFilters, - cached = tokenCache[ selector + " " ]; - - if ( cached ) { - return parseOnly ? 0 : cached.slice( 0 ); - } - - soFar = selector; - groups = []; - preFilters = Expr.preFilter; - - while ( soFar ) { - - // Comma and first run - if ( !matched || (match = rcomma.exec( soFar )) ) { - if ( match ) { - // Don't consume trailing commas as valid - soFar = soFar.slice( match[0].length ) || soFar; - } - groups.push( tokens = [] ); - } - - matched = false; - - // Combinators - if ( (match = rcombinators.exec( soFar )) ) { - matched = match.shift(); - tokens.push( { - value: matched, - // Cast descendant combinators to space - type: match[0].replace( rtrim, " " ) - } ); - soFar = soFar.slice( matched.length ); - } - - // Filters - for ( type in Expr.filter ) { - if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] || - (match = preFilters[ type ]( match ))) ) { - matched = match.shift(); - tokens.push( { - value: matched, - type: type, - matches: match - } ); - soFar = soFar.slice( matched.length ); - } - } - - if ( !matched ) { - break; - } - } - - // Return the length of the invalid excess - // if we're just parsing - // Otherwise, throw an error or return tokens - return parseOnly ? - soFar.length : - soFar ? - Sizzle.error( selector ) : - // Cache the tokens - tokenCache( selector, groups ).slice( 0 ); -} - -function toSelector( tokens ) { - var i = 0, - len = tokens.length, - selector = ""; - for ( ; i < len; i++ ) { - selector += tokens[i].value; - } - return selector; -} - -function addCombinator( matcher, combinator, base ) { - var dir = combinator.dir, - checkNonElements = base && dir === "parentNode", - doneName = done++; - - return combinator.first ? - // Check against closest ancestor/preceding element - function( elem, context, xml ) { - while ( (elem = elem[ dir ]) ) { - if ( elem.nodeType === 1 || checkNonElements ) { - return matcher( elem, context, xml ); - } - } - } : - - // Check against all ancestor/preceding elements - function( elem, context, xml ) { - var data, cache, outerCache, - dirkey = dirruns + " " + doneName; - - // We can't set arbitrary data on XML nodes, so they don't benefit from dir caching - if ( xml ) { - while ( (elem = elem[ dir ]) ) { - if ( elem.nodeType === 1 || checkNonElements ) { - if ( matcher( elem, context, xml ) ) { - return true; - } - } - } - } else { - while ( (elem = elem[ dir ]) ) { - if ( elem.nodeType === 1 || checkNonElements ) { - outerCache = elem[ expando ] || (elem[ expando ] = {}); - if ( (cache = outerCache[ dir ]) && cache[0] === dirkey ) { - if ( (data = cache[1]) === true || data === cachedruns ) { - return data === true; - } - } else { - cache = outerCache[ dir ] = [ dirkey ]; - cache[1] = matcher( elem, context, xml ) || cachedruns; - if ( cache[1] === true ) { - return true; - } - } - } - } - } - }; -} - -function elementMatcher( matchers ) { - return matchers.length > 1 ? - function( elem, context, xml ) { - var i = matchers.length; - while ( i-- ) { - if ( !matchers[i]( elem, context, xml ) ) { - return false; - } - } - return true; - } : - matchers[0]; -} - -function condense( unmatched, map, filter, context, xml ) { - var elem, - newUnmatched = [], - i = 0, - len = unmatched.length, - mapped = map != null; - - for ( ; i < len; i++ ) { - if ( (elem = unmatched[i]) ) { - if ( !filter || filter( elem, context, xml ) ) { - newUnmatched.push( elem ); - if ( mapped ) { - map.push( i ); - } - } - } - } - - return newUnmatched; -} - -function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { - if ( postFilter && !postFilter[ expando ] ) { - postFilter = setMatcher( postFilter ); - } - if ( postFinder && !postFinder[ expando ] ) { - postFinder = setMatcher( postFinder, postSelector ); - } - return markFunction(function( seed, results, context, xml ) { - var temp, i, elem, - preMap = [], - postMap = [], - preexisting = results.length, - - // Get initial elements from seed or context - elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ), - - // Prefilter to get matcher input, preserving a map for seed-results synchronization - matcherIn = preFilter && ( seed || !selector ) ? - condense( elems, preMap, preFilter, context, xml ) : - elems, - - matcherOut = matcher ? - // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, - postFinder || ( seed ? preFilter : preexisting || postFilter ) ? - - // ...intermediate processing is necessary - [] : - - // ...otherwise use results directly - results : - matcherIn; - - // Find primary matches - if ( matcher ) { - matcher( matcherIn, matcherOut, context, xml ); - } - - // Apply postFilter - if ( postFilter ) { - temp = condense( matcherOut, postMap ); - postFilter( temp, [], context, xml ); - - // Un-match failing elements by moving them back to matcherIn - i = temp.length; - while ( i-- ) { - if ( (elem = temp[i]) ) { - matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem); - } - } - } - - if ( seed ) { - if ( postFinder || preFilter ) { - if ( postFinder ) { - // Get the final matcherOut by condensing this intermediate into postFinder contexts - temp = []; - i = matcherOut.length; - while ( i-- ) { - if ( (elem = matcherOut[i]) ) { - // Restore matcherIn since elem is not yet a final match - temp.push( (matcherIn[i] = elem) ); - } - } - postFinder( null, (matcherOut = []), temp, xml ); - } - - // Move matched elements from seed to results to keep them synchronized - i = matcherOut.length; - while ( i-- ) { - if ( (elem = matcherOut[i]) && - (temp = postFinder ? indexOf.call( seed, elem ) : preMap[i]) > -1 ) { - - seed[temp] = !(results[temp] = elem); - } - } - } - - // Add elements to results, through postFinder if defined - } else { - matcherOut = condense( - matcherOut === results ? - matcherOut.splice( preexisting, matcherOut.length ) : - matcherOut - ); - if ( postFinder ) { - postFinder( null, results, matcherOut, xml ); - } else { - push.apply( results, matcherOut ); - } - } - }); -} - -function matcherFromTokens( tokens ) { - var checkContext, matcher, j, - len = tokens.length, - leadingRelative = Expr.relative[ tokens[0].type ], - implicitRelative = leadingRelative || Expr.relative[" "], - i = leadingRelative ? 1 : 0, - - // The foundational matcher ensures that elements are reachable from top-level context(s) - matchContext = addCombinator( function( elem ) { - return elem === checkContext; - }, implicitRelative, true ), - matchAnyContext = addCombinator( function( elem ) { - return indexOf.call( checkContext, elem ) > -1; - }, implicitRelative, true ), - matchers = [ function( elem, context, xml ) { - return ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( - (checkContext = context).nodeType ? - matchContext( elem, context, xml ) : - matchAnyContext( elem, context, xml ) ); - } ]; - - for ( ; i < len; i++ ) { - if ( (matcher = Expr.relative[ tokens[i].type ]) ) { - matchers = [ addCombinator(elementMatcher( matchers ), matcher) ]; - } else { - matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches ); - - // Return special upon seeing a positional matcher - if ( matcher[ expando ] ) { - // Find the next relative operator (if any) for proper handling - j = ++i; - for ( ; j < len; j++ ) { - if ( Expr.relative[ tokens[j].type ] ) { - break; - } - } - return setMatcher( - i > 1 && elementMatcher( matchers ), - i > 1 && toSelector( tokens.slice( 0, i - 1 ) ).replace( rtrim, "$1" ), - matcher, - i < j && matcherFromTokens( tokens.slice( i, j ) ), - j < len && matcherFromTokens( (tokens = tokens.slice( j )) ), - j < len && toSelector( tokens ) - ); - } - matchers.push( matcher ); - } - } - - return elementMatcher( matchers ); -} - -function matcherFromGroupMatchers( elementMatchers, setMatchers ) { - // A counter to specify which element is currently being matched - var matcherCachedRuns = 0, - bySet = setMatchers.length > 0, - byElement = elementMatchers.length > 0, - superMatcher = function( seed, context, xml, results, expandContext ) { - var elem, j, matcher, - setMatched = [], - matchedCount = 0, - i = "0", - unmatched = seed && [], - outermost = expandContext != null, - contextBackup = outermostContext, - // We must always have either seed elements or context - elems = seed || byElement && Expr.find["TAG"]( "*", expandContext && context.parentNode || context ), - // Use integer dirruns iff this is the outermost matcher - dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1); - - if ( outermost ) { - outermostContext = context !== document && context; - cachedruns = matcherCachedRuns; - } - - // Add elements passing elementMatchers directly to results - // Keep `i` a string if there are no elements so `matchedCount` will be "00" below - for ( ; (elem = elems[i]) != null; i++ ) { - if ( byElement && elem ) { - j = 0; - while ( (matcher = elementMatchers[j++]) ) { - if ( matcher( elem, context, xml ) ) { - results.push( elem ); - break; - } - } - if ( outermost ) { - dirruns = dirrunsUnique; - cachedruns = ++matcherCachedRuns; - } - } - - // Track unmatched elements for set filters - if ( bySet ) { - // They will have gone through all possible matchers - if ( (elem = !matcher && elem) ) { - matchedCount--; - } - - // Lengthen the array for every element, matched or not - if ( seed ) { - unmatched.push( elem ); - } - } - } - - // Apply set filters to unmatched elements - matchedCount += i; - if ( bySet && i !== matchedCount ) { - j = 0; - while ( (matcher = setMatchers[j++]) ) { - matcher( unmatched, setMatched, context, xml ); - } - - if ( seed ) { - // Reintegrate element matches to eliminate the need for sorting - if ( matchedCount > 0 ) { - while ( i-- ) { - if ( !(unmatched[i] || setMatched[i]) ) { - setMatched[i] = pop.call( results ); - } - } - } - - // Discard index placeholder values to get only actual matches - setMatched = condense( setMatched ); - } - - // Add matches to results - push.apply( results, setMatched ); - - // Seedless set matches succeeding multiple successful matchers stipulate sorting - if ( outermost && !seed && setMatched.length > 0 && - ( matchedCount + setMatchers.length ) > 1 ) { - - Sizzle.uniqueSort( results ); - } - } - - // Override manipulation of globals by nested matchers - if ( outermost ) { - dirruns = dirrunsUnique; - outermostContext = contextBackup; - } - - return unmatched; - }; - - return bySet ? - markFunction( superMatcher ) : - superMatcher; -} - -compile = Sizzle.compile = function( selector, group /* Internal Use Only */ ) { - var i, - setMatchers = [], - elementMatchers = [], - cached = compilerCache[ selector + " " ]; - - if ( !cached ) { - // Generate a function of recursive functions that can be used to check each element - if ( !group ) { - group = tokenize( selector ); - } - i = group.length; - while ( i-- ) { - cached = matcherFromTokens( group[i] ); - if ( cached[ expando ] ) { - setMatchers.push( cached ); - } else { - elementMatchers.push( cached ); - } - } - - // Cache the compiled function - cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) ); - } - return cached; -}; - -function multipleContexts( selector, contexts, results ) { - var i = 0, - len = contexts.length; - for ( ; i < len; i++ ) { - Sizzle( selector, contexts[i], results ); - } - return results; -} - -function select( selector, context, results, seed ) { - var i, tokens, token, type, find, - match = tokenize( selector ); - - if ( !seed ) { - // Try to minimize operations if there is only one group - if ( match.length === 1 ) { - - // Take a shortcut and set the context if the root selector is an ID - tokens = match[0] = match[0].slice( 0 ); - if ( tokens.length > 2 && (token = tokens[0]).type === "ID" && - context.nodeType === 9 && !documentIsXML && - Expr.relative[ tokens[1].type ] ) { - - context = Expr.find["ID"]( token.matches[0].replace( runescape, funescape ), context )[0]; - if ( !context ) { - return results; - } - - selector = selector.slice( tokens.shift().value.length ); - } - - // Fetch a seed set for right-to-left matching - i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length; - while ( i-- ) { - token = tokens[i]; - - // Abort if we hit a combinator - if ( Expr.relative[ (type = token.type) ] ) { - break; - } - if ( (find = Expr.find[ type ]) ) { - // Search, expanding context for leading sibling combinators - if ( (seed = find( - token.matches[0].replace( runescape, funescape ), - rsibling.test( tokens[0].type ) && context.parentNode || context - )) ) { - - // If seed is empty or no tokens remain, we can return early - tokens.splice( i, 1 ); - selector = seed.length && toSelector( tokens ); - if ( !selector ) { - push.apply( results, slice.call( seed, 0 ) ); - return results; - } - - break; - } - } - } - } - } - - // Compile and execute a filtering function - // Provide `match` to avoid retokenization if we modified the selector above - compile( selector, match )( - seed, - context, - documentIsXML, - results, - rsibling.test( selector ) - ); - return results; -} - -// Deprecated -Expr.pseudos["nth"] = Expr.pseudos["eq"]; - -// Easy API for creating new setFilters -function setFilters() {} -Expr.filters = setFilters.prototype = Expr.pseudos; -Expr.setFilters = new setFilters(); - -// Initialize with the default document -setDocument(); - -// Override sizzle attribute retrieval -Sizzle.attr = jQuery.attr; -jQuery.find = Sizzle; -jQuery.expr = Sizzle.selectors; -jQuery.expr[":"] = jQuery.expr.pseudos; -jQuery.unique = Sizzle.uniqueSort; -jQuery.text = Sizzle.getText; -jQuery.isXMLDoc = Sizzle.isXML; -jQuery.contains = Sizzle.contains; - - -})( window ); -var runtil = /Until$/, - rparentsprev = /^(?:parents|prev(?:Until|All))/, - isSimple = /^.[^:#\[\.,]*$/, - rneedsContext = jQuery.expr.match.needsContext, - // methods guaranteed to produce a unique set when starting from a unique set - guaranteedUnique = { - children: true, - contents: true, - next: true, - prev: true - }; - -jQuery.fn.extend({ - find: function( selector ) { - var i, ret, self, - len = this.length; - - if ( typeof selector !== "string" ) { - self = this; - return this.pushStack( jQuery( selector ).filter(function() { - for ( i = 0; i < len; i++ ) { - if ( jQuery.contains( self[ i ], this ) ) { - return true; - } - } - }) ); - } - - ret = []; - for ( i = 0; i < len; i++ ) { - jQuery.find( selector, this[ i ], ret ); - } - - // Needed because $( selector, context ) becomes $( context ).find( selector ) - ret = this.pushStack( len > 1 ? jQuery.unique( ret ) : ret ); - ret.selector = ( this.selector ? this.selector + " " : "" ) + selector; - return ret; - }, - - has: function( target ) { - var i, - targets = jQuery( target, this ), - len = targets.length; - - return this.filter(function() { - for ( i = 0; i < len; i++ ) { - if ( jQuery.contains( this, targets[i] ) ) { - return true; - } - } - }); - }, - - not: function( selector ) { - return this.pushStack( winnow(this, selector, false) ); - }, - - filter: function( selector ) { - return this.pushStack( winnow(this, selector, true) ); - }, - - is: function( selector ) { - return !!selector && ( - typeof selector === "string" ? - // If this is a positional/relative selector, check membership in the returned set - // so $("p:first").is("p:last") won't return true for a doc with two "p". - rneedsContext.test( selector ) ? - jQuery( selector, this.context ).index( this[0] ) >= 0 : - jQuery.filter( selector, this ).length > 0 : - this.filter( selector ).length > 0 ); - }, - - closest: function( selectors, context ) { - var cur, - i = 0, - l = this.length, - ret = [], - pos = rneedsContext.test( selectors ) || typeof selectors !== "string" ? - jQuery( selectors, context || this.context ) : - 0; - - for ( ; i < l; i++ ) { - cur = this[i]; - - while ( cur && cur.ownerDocument && cur !== context && cur.nodeType !== 11 ) { - if ( pos ? pos.index(cur) > -1 : jQuery.find.matchesSelector(cur, selectors) ) { - ret.push( cur ); - break; - } - cur = cur.parentNode; - } - } - - return this.pushStack( ret.length > 1 ? jQuery.unique( ret ) : ret ); - }, - - // Determine the position of an element within - // the matched set of elements - index: function( elem ) { - - // No argument, return index in parent - if ( !elem ) { - return ( this[0] && this[0].parentNode ) ? this.first().prevAll().length : -1; - } - - // index in selector - if ( typeof elem === "string" ) { - return jQuery.inArray( this[0], jQuery( elem ) ); - } - - // Locate the position of the desired element - return jQuery.inArray( - // If it receives a jQuery object, the first element is used - elem.jquery ? elem[0] : elem, this ); - }, - - add: function( selector, context ) { - var set = typeof selector === "string" ? - jQuery( selector, context ) : - jQuery.makeArray( selector && selector.nodeType ? [ selector ] : selector ), - all = jQuery.merge( this.get(), set ); - - return this.pushStack( jQuery.unique(all) ); - }, - - addBack: function( selector ) { - return this.add( selector == null ? - this.prevObject : this.prevObject.filter(selector) - ); - } -}); - -jQuery.fn.andSelf = jQuery.fn.addBack; - -function sibling( cur, dir ) { - do { - cur = cur[ dir ]; - } while ( cur && cur.nodeType !== 1 ); - - return cur; -} - -jQuery.each({ - parent: function( elem ) { - var parent = elem.parentNode; - return parent && parent.nodeType !== 11 ? parent : null; - }, - parents: function( elem ) { - return jQuery.dir( elem, "parentNode" ); - }, - parentsUntil: function( elem, i, until ) { - return jQuery.dir( elem, "parentNode", until ); - }, - next: function( elem ) { - return sibling( elem, "nextSibling" ); - }, - prev: function( elem ) { - return sibling( elem, "previousSibling" ); - }, - nextAll: function( elem ) { - return jQuery.dir( elem, "nextSibling" ); - }, - prevAll: function( elem ) { - return jQuery.dir( elem, "previousSibling" ); - }, - nextUntil: function( elem, i, until ) { - return jQuery.dir( elem, "nextSibling", until ); - }, - prevUntil: function( elem, i, until ) { - return jQuery.dir( elem, "previousSibling", until ); - }, - siblings: function( elem ) { - return jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem ); - }, - children: function( elem ) { - return jQuery.sibling( elem.firstChild ); - }, - contents: function( elem ) { - return jQuery.nodeName( elem, "iframe" ) ? - elem.contentDocument || elem.contentWindow.document : - jQuery.merge( [], elem.childNodes ); - } -}, function( name, fn ) { - jQuery.fn[ name ] = function( until, selector ) { - var ret = jQuery.map( this, fn, until ); - - if ( !runtil.test( name ) ) { - selector = until; - } - - if ( selector && typeof selector === "string" ) { - ret = jQuery.filter( selector, ret ); - } - - ret = this.length > 1 && !guaranteedUnique[ name ] ? jQuery.unique( ret ) : ret; - - if ( this.length > 1 && rparentsprev.test( name ) ) { - ret = ret.reverse(); - } - - return this.pushStack( ret ); - }; -}); - -jQuery.extend({ - filter: function( expr, elems, not ) { - if ( not ) { - expr = ":not(" + expr + ")"; - } - - return elems.length === 1 ? - jQuery.find.matchesSelector(elems[0], expr) ? [ elems[0] ] : [] : - jQuery.find.matches(expr, elems); - }, - - dir: function( elem, dir, until ) { - var matched = [], - cur = elem[ dir ]; - - while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) { - if ( cur.nodeType === 1 ) { - matched.push( cur ); - } - cur = cur[dir]; - } - return matched; - }, - - sibling: function( n, elem ) { - var r = []; - - for ( ; n; n = n.nextSibling ) { - if ( n.nodeType === 1 && n !== elem ) { - r.push( n ); - } - } - - return r; - } -}); - -// Implement the identical functionality for filter and not -function winnow( elements, qualifier, keep ) { - - // Can't pass null or undefined to indexOf in Firefox 4 - // Set to 0 to skip string check - qualifier = qualifier || 0; - - if ( jQuery.isFunction( qualifier ) ) { - return jQuery.grep(elements, function( elem, i ) { - var retVal = !!qualifier.call( elem, i, elem ); - return retVal === keep; - }); - - } else if ( qualifier.nodeType ) { - return jQuery.grep(elements, function( elem ) { - return ( elem === qualifier ) === keep; - }); - - } else if ( typeof qualifier === "string" ) { - var filtered = jQuery.grep(elements, function( elem ) { - return elem.nodeType === 1; - }); - - if ( isSimple.test( qualifier ) ) { - return jQuery.filter(qualifier, filtered, !keep); - } else { - qualifier = jQuery.filter( qualifier, filtered ); - } - } - - return jQuery.grep(elements, function( elem ) { - return ( jQuery.inArray( elem, qualifier ) >= 0 ) === keep; - }); -} -function createSafeFragment( document ) { - var list = nodeNames.split( "|" ), - safeFrag = document.createDocumentFragment(); - - if ( safeFrag.createElement ) { - while ( list.length ) { - safeFrag.createElement( - list.pop() - ); - } - } - return safeFrag; -} - -var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|" + - "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video", - rinlinejQuery = / jQuery\d+="(?:null|\d+)"/g, - rnoshimcache = new RegExp("<(?:" + nodeNames + ")[\\s/>]", "i"), - rleadingWhitespace = /^\s+/, - rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi, - rtagName = /<([\w:]+)/, - rtbody = /<tbody/i, - rhtml = /<|&#?\w+;/, - rnoInnerhtml = /<(?:script|style|link)/i, - manipulation_rcheckableType = /^(?:checkbox|radio)$/i, - // checked="checked" or checked - rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i, - rscriptType = /^$|\/(?:java|ecma)script/i, - rscriptTypeMasked = /^true\/(.*)/, - rcleanScript = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g, - - // We have to close these tags to support XHTML (#13200) - wrapMap = { - option: [ 1, "<select multiple='multiple'>", "</select>" ], - legend: [ 1, "<fieldset>", "</fieldset>" ], - area: [ 1, "<map>", "</map>" ], - param: [ 1, "<object>", "</object>" ], - thead: [ 1, "<table>", "</table>" ], - tr: [ 2, "<table><tbody>", "</tbody></table>" ], - col: [ 2, "<table><tbody></tbody><colgroup>", "</colgroup></table>" ], - td: [ 3, "<table><tbody><tr>", "</tr></tbody></table>" ], - - // IE6-8 can't serialize link, script, style, or any html5 (NoScope) tags, - // unless wrapped in a div with non-breaking characters in front of it. - _default: jQuery.support.htmlSerialize ? [ 0, "", "" ] : [ 1, "X<div>", "</div>" ] - }, - safeFragment = createSafeFragment( document ), - fragmentDiv = safeFragment.appendChild( document.createElement("div") ); - -wrapMap.optgroup = wrapMap.option; -wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; -wrapMap.th = wrapMap.td; - -jQuery.fn.extend({ - text: function( value ) { - return jQuery.access( this, function( value ) { - return value === undefined ? - jQuery.text( this ) : - this.empty().append( ( this[0] && this[0].ownerDocument || document ).createTextNode( value ) ); - }, null, value, arguments.length ); - }, - - wrapAll: function( html ) { - if ( jQuery.isFunction( html ) ) { - return this.each(function(i) { - jQuery(this).wrapAll( html.call(this, i) ); - }); - } - - if ( this[0] ) { - // The elements to wrap the target around - var wrap = jQuery( html, this[0].ownerDocument ).eq(0).clone(true); - - if ( this[0].parentNode ) { - wrap.insertBefore( this[0] ); - } - - wrap.map(function() { - var elem = this; - - while ( elem.firstChild && elem.firstChild.nodeType === 1 ) { - elem = elem.firstChild; - } - - return elem; - }).append( this ); - } - - return this; - }, - - wrapInner: function( html ) { - if ( jQuery.isFunction( html ) ) { - return this.each(function(i) { - jQuery(this).wrapInner( html.call(this, i) ); - }); - } - - return this.each(function() { - var self = jQuery( this ), - contents = self.contents(); - - if ( contents.length ) { - contents.wrapAll( html ); - - } else { - self.append( html ); - } - }); - }, - - wrap: function( html ) { - var isFunction = jQuery.isFunction( html ); - - return this.each(function(i) { - jQuery( this ).wrapAll( isFunction ? html.call(this, i) : html ); - }); - }, - - unwrap: function() { - return this.parent().each(function() { - if ( !jQuery.nodeName( this, "body" ) ) { - jQuery( this ).replaceWith( this.childNodes ); - } - }).end(); - }, - - append: function() { - return this.domManip(arguments, true, function( elem ) { - if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { - this.appendChild( elem ); - } - }); - }, - - prepend: function() { - return this.domManip(arguments, true, function( elem ) { - if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { - this.insertBefore( elem, this.firstChild ); - } - }); - }, - - before: function() { - return this.domManip( arguments, false, function( elem ) { - if ( this.parentNode ) { - this.parentNode.insertBefore( elem, this ); - } - }); - }, - - after: function() { - return this.domManip( arguments, false, function( elem ) { - if ( this.parentNode ) { - this.parentNode.insertBefore( elem, this.nextSibling ); - } - }); - }, - - // keepData is for internal use only--do not document - remove: function( selector, keepData ) { - var elem, - i = 0; - - for ( ; (elem = this[i]) != null; i++ ) { - if ( !selector || jQuery.filter( selector, [ elem ] ).length > 0 ) { - if ( !keepData && elem.nodeType === 1 ) { - jQuery.cleanData( getAll( elem ) ); - } - - if ( elem.parentNode ) { - if ( keepData && jQuery.contains( elem.ownerDocument, elem ) ) { - setGlobalEval( getAll( elem, "script" ) ); - } - elem.parentNode.removeChild( elem ); - } - } - } - - return this; - }, - - empty: function() { - var elem, - i = 0; - - for ( ; (elem = this[i]) != null; i++ ) { - // Remove element nodes and prevent memory leaks - if ( elem.nodeType === 1 ) { - jQuery.cleanData( getAll( elem, false ) ); - } - - // Remove any remaining nodes - while ( elem.firstChild ) { - elem.removeChild( elem.firstChild ); - } - - // If this is a select, ensure that it displays empty (#12336) - // Support: IE<9 - if ( elem.options && jQuery.nodeName( elem, "select" ) ) { - elem.options.length = 0; - } - } - - return this; - }, - - clone: function( dataAndEvents, deepDataAndEvents ) { - dataAndEvents = dataAndEvents == null ? false : dataAndEvents; - deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; - - return this.map( function () { - return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); - }); - }, - - html: function( value ) { - return jQuery.access( this, function( value ) { - var elem = this[0] || {}, - i = 0, - l = this.length; - - if ( value === undefined ) { - return elem.nodeType === 1 ? - elem.innerHTML.replace( rinlinejQuery, "" ) : - undefined; - } - - // See if we can take a shortcut and just use innerHTML - if ( typeof value === "string" && !rnoInnerhtml.test( value ) && - ( jQuery.support.htmlSerialize || !rnoshimcache.test( value ) ) && - ( jQuery.support.leadingWhitespace || !rleadingWhitespace.test( value ) ) && - !wrapMap[ ( rtagName.exec( value ) || ["", ""] )[1].toLowerCase() ] ) { - - value = value.replace( rxhtmlTag, "<$1></$2>" ); - - try { - for (; i < l; i++ ) { - // Remove element nodes and prevent memory leaks - elem = this[i] || {}; - if ( elem.nodeType === 1 ) { - jQuery.cleanData( getAll( elem, false ) ); - elem.innerHTML = value; - } - } - - elem = 0; - - // If using innerHTML throws an exception, use the fallback method - } catch(e) {} - } - - if ( elem ) { - this.empty().append( value ); - } - }, null, value, arguments.length ); - }, - - replaceWith: function( value ) { - var isFunc = jQuery.isFunction( value ); - - // Make sure that the elements are removed from the DOM before they are inserted - // this can help fix replacing a parent with child elements - if ( !isFunc && typeof value !== "string" ) { - value = jQuery( value ).not( this ).detach(); - } - - return this.domManip( [ value ], true, function( elem ) { - var next = this.nextSibling, - parent = this.parentNode; - - if ( parent ) { - jQuery( this ).remove(); - parent.insertBefore( elem, next ); - } - }); - }, - - detach: function( selector ) { - return this.remove( selector, true ); - }, - - domManip: function( args, table, callback ) { - - // Flatten any nested arrays - args = core_concat.apply( [], args ); - - var first, node, hasScripts, - scripts, doc, fragment, - i = 0, - l = this.length, - set = this, - iNoClone = l - 1, - value = args[0], - isFunction = jQuery.isFunction( value ); - - // We can't cloneNode fragments that contain checked, in WebKit - if ( isFunction || !( l <= 1 || typeof value !== "string" || jQuery.support.checkClone || !rchecked.test( value ) ) ) { - return this.each(function( index ) { - var self = set.eq( index ); - if ( isFunction ) { - args[0] = value.call( this, index, table ? self.html() : undefined ); - } - self.domManip( args, table, callback ); - }); - } - - if ( l ) { - fragment = jQuery.buildFragment( args, this[ 0 ].ownerDocument, false, this ); - first = fragment.firstChild; - - if ( fragment.childNodes.length === 1 ) { - fragment = first; - } - - if ( first ) { - table = table && jQuery.nodeName( first, "tr" ); - scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); - hasScripts = scripts.length; - - // Use the original fragment for the last item instead of the first because it can end up - // being emptied incorrectly in certain situations (#8070). - for ( ; i < l; i++ ) { - node = fragment; - - if ( i !== iNoClone ) { - node = jQuery.clone( node, true, true ); - - // Keep references to cloned scripts for later restoration - if ( hasScripts ) { - jQuery.merge( scripts, getAll( node, "script" ) ); - } - } - - callback.call( - table && jQuery.nodeName( this[i], "table" ) ? - findOrAppend( this[i], "tbody" ) : - this[i], - node, - i - ); - } - - if ( hasScripts ) { - doc = scripts[ scripts.length - 1 ].ownerDocument; - - // Reenable scripts - jQuery.map( scripts, restoreScript ); - - // Evaluate executable scripts on first document insertion - for ( i = 0; i < hasScripts; i++ ) { - node = scripts[ i ]; - if ( rscriptType.test( node.type || "" ) && - !jQuery._data( node, "globalEval" ) && jQuery.contains( doc, node ) ) { - - if ( node.src ) { - // Hope ajax is available... - jQuery.ajax({ - url: node.src, - type: "GET", - dataType: "script", - async: false, - global: false, - "throws": true - }); - } else { - jQuery.globalEval( ( node.text || node.textContent || node.innerHTML || "" ).replace( rcleanScript, "" ) ); - } - } - } - } - - // Fix #11809: Avoid leaking memory - fragment = first = null; - } - } - - return this; - } -}); - -function findOrAppend( elem, tag ) { - return elem.getElementsByTagName( tag )[0] || elem.appendChild( elem.ownerDocument.createElement( tag ) ); -} - -// Replace/restore the type attribute of script elements for safe DOM manipulation -function disableScript( elem ) { - var attr = elem.getAttributeNode("type"); - elem.type = ( attr && attr.specified ) + "/" + elem.type; - return elem; -} -function restoreScript( elem ) { - var match = rscriptTypeMasked.exec( elem.type ); - if ( match ) { - elem.type = match[1]; - } else { - elem.removeAttribute("type"); - } - return elem; -} - -// Mark scripts as having already been evaluated -function setGlobalEval( elems, refElements ) { - var elem, - i = 0; - for ( ; (elem = elems[i]) != null; i++ ) { - jQuery._data( elem, "globalEval", !refElements || jQuery._data( refElements[i], "globalEval" ) ); - } -} - -function cloneCopyEvent( src, dest ) { - - if ( dest.nodeType !== 1 || !jQuery.hasData( src ) ) { - return; - } - - var type, i, l, - oldData = jQuery._data( src ), - curData = jQuery._data( dest, oldData ), - events = oldData.events; - - if ( events ) { - delete curData.handle; - curData.events = {}; - - for ( type in events ) { - for ( i = 0, l = events[ type ].length; i < l; i++ ) { - jQuery.event.add( dest, type, events[ type ][ i ] ); - } - } - } - - // make the cloned public data object a copy from the original - if ( curData.data ) { - curData.data = jQuery.extend( {}, curData.data ); - } -} - -function fixCloneNodeIssues( src, dest ) { - var nodeName, e, data; - - // We do not need to do anything for non-Elements - if ( dest.nodeType !== 1 ) { - return; - } - - nodeName = dest.nodeName.toLowerCase(); - - // IE6-8 copies events bound via attachEvent when using cloneNode. - if ( !jQuery.support.noCloneEvent && dest[ jQuery.expando ] ) { - data = jQuery._data( dest ); - - for ( e in data.events ) { - jQuery.removeEvent( dest, e, data.handle ); - } - - // Event data gets referenced instead of copied if the expando gets copied too - dest.removeAttribute( jQuery.expando ); - } - - // IE blanks contents when cloning scripts, and tries to evaluate newly-set text - if ( nodeName === "script" && dest.text !== src.text ) { - disableScript( dest ).text = src.text; - restoreScript( dest ); - - // IE6-10 improperly clones children of object elements using classid. - // IE10 throws NoModificationAllowedError if parent is null, #12132. - } else if ( nodeName === "object" ) { - if ( dest.parentNode ) { - dest.outerHTML = src.outerHTML; - } - - // This path appears unavoidable for IE9. When cloning an object - // element in IE9, the outerHTML strategy above is not sufficient. - // If the src has innerHTML and the destination does not, - // copy the src.innerHTML into the dest.innerHTML. #10324 - if ( jQuery.support.html5Clone && ( src.innerHTML && !jQuery.trim(dest.innerHTML) ) ) { - dest.innerHTML = src.innerHTML; - } - - } else if ( nodeName === "input" && manipulation_rcheckableType.test( src.type ) ) { - // IE6-8 fails to persist the checked state of a cloned checkbox - // or radio button. Worse, IE6-7 fail to give the cloned element - // a checked appearance if the defaultChecked value isn't also set - - dest.defaultChecked = dest.checked = src.checked; - - // IE6-7 get confused and end up setting the value of a cloned - // checkbox/radio button to an empty string instead of "on" - if ( dest.value !== src.value ) { - dest.value = src.value; - } - - // IE6-8 fails to return the selected option to the default selected - // state when cloning options - } else if ( nodeName === "option" ) { - dest.defaultSelected = dest.selected = src.defaultSelected; - - // IE6-8 fails to set the defaultValue to the correct value when - // cloning other types of input fields - } else if ( nodeName === "input" || nodeName === "textarea" ) { - dest.defaultValue = src.defaultValue; - } -} - -jQuery.each({ - appendTo: "append", - prependTo: "prepend", - insertBefore: "before", - insertAfter: "after", - replaceAll: "replaceWith" -}, function( name, original ) { - jQuery.fn[ name ] = function( selector ) { - var elems, - i = 0, - ret = [], - insert = jQuery( selector ), - last = insert.length - 1; - - for ( ; i <= last; i++ ) { - elems = i === last ? this : this.clone(true); - jQuery( insert[i] )[ original ]( elems ); - - // Modern browsers can apply jQuery collections as arrays, but oldIE needs a .get() - core_push.apply( ret, elems.get() ); - } - - return this.pushStack( ret ); - }; -}); - -function getAll( context, tag ) { - var elems, elem, - i = 0, - found = typeof context.getElementsByTagName !== core_strundefined ? context.getElementsByTagName( tag || "*" ) : - typeof context.querySelectorAll !== core_strundefined ? context.querySelectorAll( tag || "*" ) : - undefined; - - if ( !found ) { - for ( found = [], elems = context.childNodes || context; (elem = elems[i]) != null; i++ ) { - if ( !tag || jQuery.nodeName( elem, tag ) ) { - found.push( elem ); - } else { - jQuery.merge( found, getAll( elem, tag ) ); - } - } - } - - return tag === undefined || tag && jQuery.nodeName( context, tag ) ? - jQuery.merge( [ context ], found ) : - found; -} - -// Used in buildFragment, fixes the defaultChecked property -function fixDefaultChecked( elem ) { - if ( manipulation_rcheckableType.test( elem.type ) ) { - elem.defaultChecked = elem.checked; - } -} - -jQuery.extend({ - clone: function( elem, dataAndEvents, deepDataAndEvents ) { - var destElements, node, clone, i, srcElements, - inPage = jQuery.contains( elem.ownerDocument, elem ); - - if ( jQuery.support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ) { - clone = elem.cloneNode( true ); - - // IE<=8 does not properly clone detached, unknown element nodes - } else { - fragmentDiv.innerHTML = elem.outerHTML; - fragmentDiv.removeChild( clone = fragmentDiv.firstChild ); - } - - if ( (!jQuery.support.noCloneEvent || !jQuery.support.noCloneChecked) && - (elem.nodeType === 1 || elem.nodeType === 11) && !jQuery.isXMLDoc(elem) ) { - - // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2 - destElements = getAll( clone ); - srcElements = getAll( elem ); - - // Fix all IE cloning issues - for ( i = 0; (node = srcElements[i]) != null; ++i ) { - // Ensure that the destination node is not null; Fixes #9587 - if ( destElements[i] ) { - fixCloneNodeIssues( node, destElements[i] ); - } - } - } - - // Copy the events from the original to the clone - if ( dataAndEvents ) { - if ( deepDataAndEvents ) { - srcElements = srcElements || getAll( elem ); - destElements = destElements || getAll( clone ); - - for ( i = 0; (node = srcElements[i]) != null; i++ ) { - cloneCopyEvent( node, destElements[i] ); - } - } else { - cloneCopyEvent( elem, clone ); - } - } - - // Preserve script evaluation history - destElements = getAll( clone, "script" ); - if ( destElements.length > 0 ) { - setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); - } - - destElements = srcElements = node = null; - - // Return the cloned set - return clone; - }, - - buildFragment: function( elems, context, scripts, selection ) { - var j, elem, contains, - tmp, tag, tbody, wrap, - l = elems.length, - - // Ensure a safe fragment - safe = createSafeFragment( context ), - - nodes = [], - i = 0; - - for ( ; i < l; i++ ) { - elem = elems[ i ]; - - if ( elem || elem === 0 ) { - - // Add nodes directly - if ( jQuery.type( elem ) === "object" ) { - jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); - - // Convert non-html into a text node - } else if ( !rhtml.test( elem ) ) { - nodes.push( context.createTextNode( elem ) ); - - // Convert html into DOM nodes - } else { - tmp = tmp || safe.appendChild( context.createElement("div") ); - - // Deserialize a standard representation - tag = ( rtagName.exec( elem ) || ["", ""] )[1].toLowerCase(); - wrap = wrapMap[ tag ] || wrapMap._default; - - tmp.innerHTML = wrap[1] + elem.replace( rxhtmlTag, "<$1></$2>" ) + wrap[2]; - - // Descend through wrappers to the right content - j = wrap[0]; - while ( j-- ) { - tmp = tmp.lastChild; - } - - // Manually add leading whitespace removed by IE - if ( !jQuery.support.leadingWhitespace && rleadingWhitespace.test( elem ) ) { - nodes.push( context.createTextNode( rleadingWhitespace.exec( elem )[0] ) ); - } - - // Remove IE's autoinserted <tbody> from table fragments - if ( !jQuery.support.tbody ) { - - // String was a <table>, *may* have spurious <tbody> - elem = tag === "table" && !rtbody.test( elem ) ? - tmp.firstChild : - - // String was a bare <thead> or <tfoot> - wrap[1] === "<table>" && !rtbody.test( elem ) ? - tmp : - 0; - - j = elem && elem.childNodes.length; - while ( j-- ) { - if ( jQuery.nodeName( (tbody = elem.childNodes[j]), "tbody" ) && !tbody.childNodes.length ) { - elem.removeChild( tbody ); - } - } - } - - jQuery.merge( nodes, tmp.childNodes ); - - // Fix #12392 for WebKit and IE > 9 - tmp.textContent = ""; - - // Fix #12392 for oldIE - while ( tmp.firstChild ) { - tmp.removeChild( tmp.firstChild ); - } - - // Remember the top-level container for proper cleanup - tmp = safe.lastChild; - } - } - } - - // Fix #11356: Clear elements from fragment - if ( tmp ) { - safe.removeChild( tmp ); - } - - // Reset defaultChecked for any radios and checkboxes - // about to be appended to the DOM in IE 6/7 (#8060) - if ( !jQuery.support.appendChecked ) { - jQuery.grep( getAll( nodes, "input" ), fixDefaultChecked ); - } - - i = 0; - while ( (elem = nodes[ i++ ]) ) { - - // #4087 - If origin and destination elements are the same, and this is - // that element, do not do anything - if ( selection && jQuery.inArray( elem, selection ) !== -1 ) { - continue; - } - - contains = jQuery.contains( elem.ownerDocument, elem ); - - // Append to fragment - tmp = getAll( safe.appendChild( elem ), "script" ); - - // Preserve script evaluation history - if ( contains ) { - setGlobalEval( tmp ); - } - - // Capture executables - if ( scripts ) { - j = 0; - while ( (elem = tmp[ j++ ]) ) { - if ( rscriptType.test( elem.type || "" ) ) { - scripts.push( elem ); - } - } - } - } - - tmp = null; - - return safe; - }, - - cleanData: function( elems, /* internal */ acceptData ) { - var elem, type, id, data, - i = 0, - internalKey = jQuery.expando, - cache = jQuery.cache, - deleteExpando = jQuery.support.deleteExpando, - special = jQuery.event.special; - - for ( ; (elem = elems[i]) != null; i++ ) { - - if ( acceptData || jQuery.acceptData( elem ) ) { - - id = elem[ internalKey ]; - data = id && cache[ id ]; - - if ( data ) { - if ( data.events ) { - for ( type in data.events ) { - if ( special[ type ] ) { - jQuery.event.remove( elem, type ); - - // This is a shortcut to avoid jQuery.event.remove's overhead - } else { - jQuery.removeEvent( elem, type, data.handle ); - } - } - } - - // Remove cache only if it was not already removed by jQuery.event.remove - if ( cache[ id ] ) { - - delete cache[ id ]; - - // IE does not allow us to delete expando properties from nodes, - // nor does it have a removeAttribute function on Document nodes; - // we must handle all of these cases - if ( deleteExpando ) { - delete elem[ internalKey ]; - - } else if ( typeof elem.removeAttribute !== core_strundefined ) { - elem.removeAttribute( internalKey ); - - } else { - elem[ internalKey ] = null; - } - - core_deletedIds.push( id ); - } - } - } - } - } -}); -var iframe, getStyles, curCSS, - ralpha = /alpha\([^)]*\)/i, - ropacity = /opacity\s*=\s*([^)]*)/, - rposition = /^(top|right|bottom|left)$/, - // swappable if display is none or starts with table except "table", "table-cell", or "table-caption" - // see here for display values: https://developer.mozilla.org/en-US/docs/CSS/display - rdisplayswap = /^(none|table(?!-c[ea]).+)/, - rmargin = /^margin/, - rnumsplit = new RegExp( "^(" + core_pnum + ")(.*)$", "i" ), - rnumnonpx = new RegExp( "^(" + core_pnum + ")(?!px)[a-z%]+$", "i" ), - rrelNum = new RegExp( "^([+-])=(" + core_pnum + ")", "i" ), - elemdisplay = { BODY: "block" }, - - cssShow = { position: "absolute", visibility: "hidden", display: "block" }, - cssNormalTransform = { - letterSpacing: 0, - fontWeight: 400 - }, - - cssExpand = [ "Top", "Right", "Bottom", "Left" ], - cssPrefixes = [ "Webkit", "O", "Moz", "ms" ]; - -// return a css property mapped to a potentially vendor prefixed property -function vendorPropName( style, name ) { - - // shortcut for names that are not vendor prefixed - if ( name in style ) { - return name; - } - - // check for vendor prefixed names - var capName = name.charAt(0).toUpperCase() + name.slice(1), - origName = name, - i = cssPrefixes.length; - - while ( i-- ) { - name = cssPrefixes[ i ] + capName; - if ( name in style ) { - return name; - } - } - - return origName; -} - -function isHidden( elem, el ) { - // isHidden might be called from jQuery#filter function; - // in that case, element will be second argument - elem = el || elem; - return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem ); -} - -function showHide( elements, show ) { - var display, elem, hidden, - values = [], - index = 0, - length = elements.length; - - for ( ; index < length; index++ ) { - elem = elements[ index ]; - if ( !elem.style ) { - continue; - } - - values[ index ] = jQuery._data( elem, "olddisplay" ); - display = elem.style.display; - if ( show ) { - // Reset the inline display of this element to learn if it is - // being hidden by cascaded rules or not - if ( !values[ index ] && display === "none" ) { - elem.style.display = ""; - } - - // Set elements which have been overridden with display: none - // in a stylesheet to whatever the default browser style is - // for such an element - if ( elem.style.display === "" && isHidden( elem ) ) { - values[ index ] = jQuery._data( elem, "olddisplay", css_defaultDisplay(elem.nodeName) ); - } - } else { - - if ( !values[ index ] ) { - hidden = isHidden( elem ); - - if ( display && display !== "none" || !hidden ) { - jQuery._data( elem, "olddisplay", hidden ? display : jQuery.css( elem, "display" ) ); - } - } - } - } - - // Set the display of most of the elements in a second loop - // to avoid the constant reflow - for ( index = 0; index < length; index++ ) { - elem = elements[ index ]; - if ( !elem.style ) { - continue; - } - if ( !show || elem.style.display === "none" || elem.style.display === "" ) { - elem.style.display = show ? values[ index ] || "" : "none"; - } - } - - return elements; -} - -jQuery.fn.extend({ - css: function( name, value ) { - return jQuery.access( this, function( elem, name, value ) { - var len, styles, - map = {}, - i = 0; - - if ( jQuery.isArray( name ) ) { - styles = getStyles( elem ); - len = name.length; - - for ( ; i < len; i++ ) { - map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); - } - - return map; - } - - return value !== undefined ? - jQuery.style( elem, name, value ) : - jQuery.css( elem, name ); - }, name, value, arguments.length > 1 ); - }, - show: function() { - return showHide( this, true ); - }, - hide: function() { - return showHide( this ); - }, - toggle: function( state ) { - var bool = typeof state === "boolean"; - - return this.each(function() { - if ( bool ? state : isHidden( this ) ) { - jQuery( this ).show(); - } else { - jQuery( this ).hide(); - } - }); - } -}); - -jQuery.extend({ - // Add in style property hooks for overriding the default - // behavior of getting and setting a style property - cssHooks: { - opacity: { - get: function( elem, computed ) { - if ( computed ) { - // We should always get a number back from opacity - var ret = curCSS( elem, "opacity" ); - return ret === "" ? "1" : ret; - } - } - } - }, - - // Exclude the following css properties to add px - cssNumber: { - "columnCount": true, - "fillOpacity": true, - "fontWeight": true, - "lineHeight": true, - "opacity": true, - "orphans": true, - "widows": true, - "zIndex": true, - "zoom": true - }, - - // Add in properties whose names you wish to fix before - // setting or getting the value - cssProps: { - // normalize float css property - "float": jQuery.support.cssFloat ? "cssFloat" : "styleFloat" - }, - - // Get and set the style property on a DOM Node - style: function( elem, name, value, extra ) { - // Don't set styles on text and comment nodes - if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { - return; - } - - // Make sure that we're working with the right name - var ret, type, hooks, - origName = jQuery.camelCase( name ), - style = elem.style; - - name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( style, origName ) ); - - // gets hook for the prefixed version - // followed by the unprefixed version - hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; - - // Check if we're setting a value - if ( value !== undefined ) { - type = typeof value; - - // convert relative number strings (+= or -=) to relative numbers. #7345 - if ( type === "string" && (ret = rrelNum.exec( value )) ) { - value = ( ret[1] + 1 ) * ret[2] + parseFloat( jQuery.css( elem, name ) ); - // Fixes bug #9237 - type = "number"; - } - - // Make sure that NaN and null values aren't set. See: #7116 - if ( value == null || type === "number" && isNaN( value ) ) { - return; - } - - // If a number was passed in, add 'px' to the (except for certain CSS properties) - if ( type === "number" && !jQuery.cssNumber[ origName ] ) { - value += "px"; - } - - // Fixes #8908, it can be done more correctly by specifing setters in cssHooks, - // but it would mean to define eight (for every problematic property) identical functions - if ( !jQuery.support.clearCloneStyle && value === "" && name.indexOf("background") === 0 ) { - style[ name ] = "inherit"; - } - - // If a hook was provided, use that value, otherwise just set the specified value - if ( !hooks || !("set" in hooks) || (value = hooks.set( elem, value, extra )) !== undefined ) { - - // Wrapped to prevent IE from throwing errors when 'invalid' values are provided - // Fixes bug #5509 - try { - style[ name ] = value; - } catch(e) {} - } - - } else { - // If a hook was provided get the non-computed value from there - if ( hooks && "get" in hooks && (ret = hooks.get( elem, false, extra )) !== undefined ) { - return ret; - } - - // Otherwise just get the value from the style object - return style[ name ]; - } - }, - - css: function( elem, name, extra, styles ) { - var num, val, hooks, - origName = jQuery.camelCase( name ); - - // Make sure that we're working with the right name - name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( elem.style, origName ) ); - - // gets hook for the prefixed version - // followed by the unprefixed version - hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; - - // If a hook was provided get the computed value from there - if ( hooks && "get" in hooks ) { - val = hooks.get( elem, true, extra ); - } - - // Otherwise, if a way to get the computed value exists, use that - if ( val === undefined ) { - val = curCSS( elem, name, styles ); - } - - //convert "normal" to computed value - if ( val === "normal" && name in cssNormalTransform ) { - val = cssNormalTransform[ name ]; - } - - // Return, converting to number if forced or a qualifier was provided and val looks numeric - if ( extra === "" || extra ) { - num = parseFloat( val ); - return extra === true || jQuery.isNumeric( num ) ? num || 0 : val; - } - return val; - }, - - // A method for quickly swapping in/out CSS properties to get correct calculations - swap: function( elem, options, callback, args ) { - var ret, name, - old = {}; - - // Remember the old values, and insert the new ones - for ( name in options ) { - old[ name ] = elem.style[ name ]; - elem.style[ name ] = options[ name ]; - } - - ret = callback.apply( elem, args || [] ); - - // Revert the old values - for ( name in options ) { - elem.style[ name ] = old[ name ]; - } - - return ret; - } -}); - -// NOTE: we've included the "window" in window.getComputedStyle -// because jsdom on node.js will break without it. -if ( window.getComputedStyle ) { - getStyles = function( elem ) { - return window.getComputedStyle( elem, null ); - }; - - curCSS = function( elem, name, _computed ) { - var width, minWidth, maxWidth, - computed = _computed || getStyles( elem ), - - // getPropertyValue is only needed for .css('filter') in IE9, see #12537 - ret = computed ? computed.getPropertyValue( name ) || computed[ name ] : undefined, - style = elem.style; - - if ( computed ) { - - if ( ret === "" && !jQuery.contains( elem.ownerDocument, elem ) ) { - ret = jQuery.style( elem, name ); - } - - // A tribute to the "awesome hack by Dean Edwards" - // Chrome < 17 and Safari 5.0 uses "computed value" instead of "used value" for margin-right - // Safari 5.1.7 (at least) returns percentage for a larger set of values, but width seems to be reliably pixels - // this is against the CSSOM draft spec: http://dev.w3.org/csswg/cssom/#resolved-values - if ( rnumnonpx.test( ret ) && rmargin.test( name ) ) { - - // Remember the original values - width = style.width; - minWidth = style.minWidth; - maxWidth = style.maxWidth; - - // Put in the new values to get a computed value out - style.minWidth = style.maxWidth = style.width = ret; - ret = computed.width; - - // Revert the changed values - style.width = width; - style.minWidth = minWidth; - style.maxWidth = maxWidth; - } - } - - return ret; - }; -} else if ( document.documentElement.currentStyle ) { - getStyles = function( elem ) { - return elem.currentStyle; - }; - - curCSS = function( elem, name, _computed ) { - var left, rs, rsLeft, - computed = _computed || getStyles( elem ), - ret = computed ? computed[ name ] : undefined, - style = elem.style; - - // Avoid setting ret to empty string here - // so we don't default to auto - if ( ret == null && style && style[ name ] ) { - ret = style[ name ]; - } - - // From the awesome hack by Dean Edwards - // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291 - - // If we're not dealing with a regular pixel number - // but a number that has a weird ending, we need to convert it to pixels - // but not position css attributes, as those are proportional to the parent element instead - // and we can't measure the parent instead because it might trigger a "stacking dolls" problem - if ( rnumnonpx.test( ret ) && !rposition.test( name ) ) { - - // Remember the original values - left = style.left; - rs = elem.runtimeStyle; - rsLeft = rs && rs.left; - - // Put in the new values to get a computed value out - if ( rsLeft ) { - rs.left = elem.currentStyle.left; - } - style.left = name === "fontSize" ? "1em" : ret; - ret = style.pixelLeft + "px"; - - // Revert the changed values - style.left = left; - if ( rsLeft ) { - rs.left = rsLeft; - } - } - - return ret === "" ? "auto" : ret; - }; -} - -function setPositiveNumber( elem, value, subtract ) { - var matches = rnumsplit.exec( value ); - return matches ? - // Guard against undefined "subtract", e.g., when used as in cssHooks - Math.max( 0, matches[ 1 ] - ( subtract || 0 ) ) + ( matches[ 2 ] || "px" ) : - value; -} - -function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) { - var i = extra === ( isBorderBox ? "border" : "content" ) ? - // If we already have the right measurement, avoid augmentation - 4 : - // Otherwise initialize for horizontal or vertical properties - name === "width" ? 1 : 0, - - val = 0; - - for ( ; i < 4; i += 2 ) { - // both box models exclude margin, so add it if we want it - if ( extra === "margin" ) { - val += jQuery.css( elem, extra + cssExpand[ i ], true, styles ); - } - - if ( isBorderBox ) { - // border-box includes padding, so remove it if we want content - if ( extra === "content" ) { - val -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); - } - - // at this point, extra isn't border nor margin, so remove border - if ( extra !== "margin" ) { - val -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); - } - } else { - // at this point, extra isn't content, so add padding - val += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); - - // at this point, extra isn't content nor padding, so add border - if ( extra !== "padding" ) { - val += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); - } - } - } - - return val; -} - -function getWidthOrHeight( elem, name, extra ) { - - // Start with offset property, which is equivalent to the border-box value - var valueIsBorderBox = true, - val = name === "width" ? elem.offsetWidth : elem.offsetHeight, - styles = getStyles( elem ), - isBorderBox = jQuery.support.boxSizing && jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; - - // some non-html elements return undefined for offsetWidth, so check for null/undefined - // svg - https://bugzilla.mozilla.org/show_bug.cgi?id=649285 - // MathML - https://bugzilla.mozilla.org/show_bug.cgi?id=491668 - if ( val <= 0 || val == null ) { - // Fall back to computed then uncomputed css if necessary - val = curCSS( elem, name, styles ); - if ( val < 0 || val == null ) { - val = elem.style[ name ]; - } - - // Computed unit is not pixels. Stop here and return. - if ( rnumnonpx.test(val) ) { - return val; - } - - // we need the check for style in case a browser which returns unreliable values - // for getComputedStyle silently falls back to the reliable elem.style - valueIsBorderBox = isBorderBox && ( jQuery.support.boxSizingReliable || val === elem.style[ name ] ); - - // Normalize "", auto, and prepare for extra - val = parseFloat( val ) || 0; - } - - // use the active box-sizing model to add/subtract irrelevant styles - return ( val + - augmentWidthOrHeight( - elem, - name, - extra || ( isBorderBox ? "border" : "content" ), - valueIsBorderBox, - styles - ) - ) + "px"; -} - -// Try to determine the default display value of an element -function css_defaultDisplay( nodeName ) { - var doc = document, - display = elemdisplay[ nodeName ]; - - if ( !display ) { - display = actualDisplay( nodeName, doc ); - - // If the simple way fails, read from inside an iframe - if ( display === "none" || !display ) { - // Use the already-created iframe if possible - iframe = ( iframe || - jQuery("<iframe frameborder='0' width='0' height='0'/>") - .css( "cssText", "display:block !important" ) - ).appendTo( doc.documentElement ); - - // Always write a new HTML skeleton so Webkit and Firefox don't choke on reuse - doc = ( iframe[0].contentWindow || iframe[0].contentDocument ).document; - doc.write("<!doctype html><html><body>"); - doc.close(); - - display = actualDisplay( nodeName, doc ); - iframe.detach(); - } - - // Store the correct default display - elemdisplay[ nodeName ] = display; - } - - return display; -} - -// Called ONLY from within css_defaultDisplay -function actualDisplay( name, doc ) { - var elem = jQuery( doc.createElement( name ) ).appendTo( doc.body ), - display = jQuery.css( elem[0], "display" ); - elem.remove(); - return display; -} - -jQuery.each([ "height", "width" ], function( i, name ) { - jQuery.cssHooks[ name ] = { - get: function( elem, computed, extra ) { - if ( computed ) { - // certain elements can have dimension info if we invisibly show them - // however, it must have a current display style that would benefit from this - return elem.offsetWidth === 0 && rdisplayswap.test( jQuery.css( elem, "display" ) ) ? - jQuery.swap( elem, cssShow, function() { - return getWidthOrHeight( elem, name, extra ); - }) : - getWidthOrHeight( elem, name, extra ); - } - }, - - set: function( elem, value, extra ) { - var styles = extra && getStyles( elem ); - return setPositiveNumber( elem, value, extra ? - augmentWidthOrHeight( - elem, - name, - extra, - jQuery.support.boxSizing && jQuery.css( elem, "boxSizing", false, styles ) === "border-box", - styles - ) : 0 - ); - } - }; -}); - -if ( !jQuery.support.opacity ) { - jQuery.cssHooks.opacity = { - get: function( elem, computed ) { - // IE uses filters for opacity - return ropacity.test( (computed && elem.currentStyle ? elem.currentStyle.filter : elem.style.filter) || "" ) ? - ( 0.01 * parseFloat( RegExp.$1 ) ) + "" : - computed ? "1" : ""; - }, - - set: function( elem, value ) { - var style = elem.style, - currentStyle = elem.currentStyle, - opacity = jQuery.isNumeric( value ) ? "alpha(opacity=" + value * 100 + ")" : "", - filter = currentStyle && currentStyle.filter || style.filter || ""; - - // IE has trouble with opacity if it does not have layout - // Force it by setting the zoom level - style.zoom = 1; - - // if setting opacity to 1, and no other filters exist - attempt to remove filter attribute #6652 - // if value === "", then remove inline opacity #12685 - if ( ( value >= 1 || value === "" ) && - jQuery.trim( filter.replace( ralpha, "" ) ) === "" && - style.removeAttribute ) { - - // Setting style.filter to null, "" & " " still leave "filter:" in the cssText - // if "filter:" is present at all, clearType is disabled, we want to avoid this - // style.removeAttribute is IE Only, but so apparently is this code path... - style.removeAttribute( "filter" ); - - // if there is no filter style applied in a css rule or unset inline opacity, we are done - if ( value === "" || currentStyle && !currentStyle.filter ) { - return; - } - } - - // otherwise, set new filter values - style.filter = ralpha.test( filter ) ? - filter.replace( ralpha, opacity ) : - filter + " " + opacity; - } - }; -} - -// These hooks cannot be added until DOM ready because the support test -// for it is not run until after DOM ready -jQuery(function() { - if ( !jQuery.support.reliableMarginRight ) { - jQuery.cssHooks.marginRight = { - get: function( elem, computed ) { - if ( computed ) { - // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right - // Work around by temporarily setting element display to inline-block - return jQuery.swap( elem, { "display": "inline-block" }, - curCSS, [ elem, "marginRight" ] ); - } - } - }; - } - - // Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084 - // getComputedStyle returns percent when specified for top/left/bottom/right - // rather than make the css module depend on the offset module, we just check for it here - if ( !jQuery.support.pixelPosition && jQuery.fn.position ) { - jQuery.each( [ "top", "left" ], function( i, prop ) { - jQuery.cssHooks[ prop ] = { - get: function( elem, computed ) { - if ( computed ) { - computed = curCSS( elem, prop ); - // if curCSS returns percentage, fallback to offset - return rnumnonpx.test( computed ) ? - jQuery( elem ).position()[ prop ] + "px" : - computed; - } - } - }; - }); - } - -}); - -if ( jQuery.expr && jQuery.expr.filters ) { - jQuery.expr.filters.hidden = function( elem ) { - // Support: Opera <= 12.12 - // Opera reports offsetWidths and offsetHeights less than zero on some elements - return elem.offsetWidth <= 0 && elem.offsetHeight <= 0 || - (!jQuery.support.reliableHiddenOffsets && ((elem.style && elem.style.display) || jQuery.css( elem, "display" )) === "none"); - }; - - jQuery.expr.filters.visible = function( elem ) { - return !jQuery.expr.filters.hidden( elem ); - }; -} - -// These hooks are used by animate to expand properties -jQuery.each({ - margin: "", - padding: "", - border: "Width" -}, function( prefix, suffix ) { - jQuery.cssHooks[ prefix + suffix ] = { - expand: function( value ) { - var i = 0, - expanded = {}, - - // assumes a single number if not a string - parts = typeof value === "string" ? value.split(" ") : [ value ]; - - for ( ; i < 4; i++ ) { - expanded[ prefix + cssExpand[ i ] + suffix ] = - parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; - } - - return expanded; - } - }; - - if ( !rmargin.test( prefix ) ) { - jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; - } -}); -var r20 = /%20/g, - rbracket = /\[\]$/, - rCRLF = /\r?\n/g, - rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, - rsubmittable = /^(?:input|select|textarea|keygen)/i; - -jQuery.fn.extend({ - serialize: function() { - return jQuery.param( this.serializeArray() ); - }, - serializeArray: function() { - return this.map(function(){ - // Can add propHook for "elements" to filter or add form elements - var elements = jQuery.prop( this, "elements" ); - return elements ? jQuery.makeArray( elements ) : this; - }) - .filter(function(){ - var type = this.type; - // Use .is(":disabled") so that fieldset[disabled] works - return this.name && !jQuery( this ).is( ":disabled" ) && - rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && - ( this.checked || !manipulation_rcheckableType.test( type ) ); - }) - .map(function( i, elem ){ - var val = jQuery( this ).val(); - - return val == null ? - null : - jQuery.isArray( val ) ? - jQuery.map( val, function( val ){ - return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; - }) : - { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; - }).get(); - } -}); - -//Serialize an array of form elements or a set of -//key/values into a query string -jQuery.param = function( a, traditional ) { - var prefix, - s = [], - add = function( key, value ) { - // If value is a function, invoke it and return its value - value = jQuery.isFunction( value ) ? value() : ( value == null ? "" : value ); - s[ s.length ] = encodeURIComponent( key ) + "=" + encodeURIComponent( value ); - }; - - // Set traditional to true for jQuery <= 1.3.3 behavior. - if ( traditional === undefined ) { - traditional = jQuery.ajaxSettings && jQuery.ajaxSettings.traditional; - } - - // If an array was passed in, assume that it is an array of form elements. - if ( jQuery.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { - // Serialize the form elements - jQuery.each( a, function() { - add( this.name, this.value ); - }); - - } else { - // If traditional, encode the "old" way (the way 1.3.3 or older - // did it), otherwise encode params recursively. - for ( prefix in a ) { - buildParams( prefix, a[ prefix ], traditional, add ); - } - } - - // Return the resulting serialization - return s.join( "&" ).replace( r20, "+" ); -}; - -function buildParams( prefix, obj, traditional, add ) { - var name; - - if ( jQuery.isArray( obj ) ) { - // Serialize array item. - jQuery.each( obj, function( i, v ) { - if ( traditional || rbracket.test( prefix ) ) { - // Treat each array item as a scalar. - add( prefix, v ); - - } else { - // Item is non-scalar (array or object), encode its numeric index. - buildParams( prefix + "[" + ( typeof v === "object" ? i : "" ) + "]", v, traditional, add ); - } - }); - - } else if ( !traditional && jQuery.type( obj ) === "object" ) { - // Serialize object item. - for ( name in obj ) { - buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); - } - - } else { - // Serialize scalar item. - add( prefix, obj ); - } -} -jQuery.each( ("blur focus focusin focusout load resize scroll unload click dblclick " + - "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " + - "change select submit keydown keypress keyup error contextmenu").split(" "), function( i, name ) { - - // Handle event binding - jQuery.fn[ name ] = function( data, fn ) { - return arguments.length > 0 ? - this.on( name, null, data, fn ) : - this.trigger( name ); - }; -}); - -jQuery.fn.hover = function( fnOver, fnOut ) { - return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver ); -}; -var - // Document location - ajaxLocParts, - ajaxLocation, - ajax_nonce = jQuery.now(), - - ajax_rquery = /\?/, - rhash = /#.*$/, - rts = /([?&])_=[^&]*/, - rheaders = /^(.*?):[ \t]*([^\r\n]*)\r?$/mg, // IE leaves an \r character at EOL - // #7653, #8125, #8152: local protocol detection - rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, - rnoContent = /^(?:GET|HEAD)$/, - rprotocol = /^\/\//, - rurl = /^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/, - - // Keep a copy of the old load method - _load = jQuery.fn.load, - - /* Prefilters - * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) - * 2) These are called: - * - BEFORE asking for a transport - * - AFTER param serialization (s.data is a string if s.processData is true) - * 3) key is the dataType - * 4) the catchall symbol "*" can be used - * 5) execution will start with transport dataType and THEN continue down to "*" if needed - */ - prefilters = {}, - - /* Transports bindings - * 1) key is the dataType - * 2) the catchall symbol "*" can be used - * 3) selection will start with transport dataType and THEN go to "*" if needed - */ - transports = {}, - - // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression - allTypes = "*/".concat("*"); - -// #8138, IE may throw an exception when accessing -// a field from window.location if document.domain has been set -try { - ajaxLocation = location.href; -} catch( e ) { - // Use the href attribute of an A element - // since IE will modify it given document.location - ajaxLocation = document.createElement( "a" ); - ajaxLocation.href = ""; - ajaxLocation = ajaxLocation.href; -} - -// Segment location into parts -ajaxLocParts = rurl.exec( ajaxLocation.toLowerCase() ) || []; - -// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport -function addToPrefiltersOrTransports( structure ) { - - // dataTypeExpression is optional and defaults to "*" - return function( dataTypeExpression, func ) { - - if ( typeof dataTypeExpression !== "string" ) { - func = dataTypeExpression; - dataTypeExpression = "*"; - } - - var dataType, - i = 0, - dataTypes = dataTypeExpression.toLowerCase().match( core_rnotwhite ) || []; - - if ( jQuery.isFunction( func ) ) { - // For each dataType in the dataTypeExpression - while ( (dataType = dataTypes[i++]) ) { - // Prepend if requested - if ( dataType[0] === "+" ) { - dataType = dataType.slice( 1 ) || "*"; - (structure[ dataType ] = structure[ dataType ] || []).unshift( func ); - - // Otherwise append - } else { - (structure[ dataType ] = structure[ dataType ] || []).push( func ); - } - } - } - }; -} - -// Base inspection function for prefilters and transports -function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { - - var inspected = {}, - seekingTransport = ( structure === transports ); - - function inspect( dataType ) { - var selected; - inspected[ dataType ] = true; - jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { - var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); - if( typeof dataTypeOrTransport === "string" && !seekingTransport && !inspected[ dataTypeOrTransport ] ) { - options.dataTypes.unshift( dataTypeOrTransport ); - inspect( dataTypeOrTransport ); - return false; - } else if ( seekingTransport ) { - return !( selected = dataTypeOrTransport ); - } - }); - return selected; - } - - return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); -} - -// A special extend for ajax options -// that takes "flat" options (not to be deep extended) -// Fixes #9887 -function ajaxExtend( target, src ) { - var deep, key, - flatOptions = jQuery.ajaxSettings.flatOptions || {}; - - for ( key in src ) { - if ( src[ key ] !== undefined ) { - ( flatOptions[ key ] ? target : ( deep || (deep = {}) ) )[ key ] = src[ key ]; - } - } - if ( deep ) { - jQuery.extend( true, target, deep ); - } - - return target; -} - -jQuery.fn.load = function( url, params, callback ) { - if ( typeof url !== "string" && _load ) { - return _load.apply( this, arguments ); - } - - var selector, response, type, - self = this, - off = url.indexOf(" "); - - if ( off >= 0 ) { - selector = url.slice( off, url.length ); - url = url.slice( 0, off ); - } - - // If it's a function - if ( jQuery.isFunction( params ) ) { - - // We assume that it's the callback - callback = params; - params = undefined; - - // Otherwise, build a param string - } else if ( params && typeof params === "object" ) { - type = "POST"; - } - - // If we have elements to modify, make the request - if ( self.length > 0 ) { - jQuery.ajax({ - url: url, - - // if "type" variable is undefined, then "GET" method will be used - type: type, - dataType: "html", - data: params - }).done(function( responseText ) { - - // Save response for use in complete callback - response = arguments; - - self.html( selector ? - - // If a selector was specified, locate the right elements in a dummy div - // Exclude scripts to avoid IE 'Permission Denied' errors - jQuery("<div>").append( jQuery.parseHTML( responseText ) ).find( selector ) : - - // Otherwise use the full result - responseText ); - - }).complete( callback && function( jqXHR, status ) { - self.each( callback, response || [ jqXHR.responseText, status, jqXHR ] ); - }); - } - - return this; -}; - -// Attach a bunch of functions for handling common AJAX events -jQuery.each( [ "ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend" ], function( i, type ){ - jQuery.fn[ type ] = function( fn ){ - return this.on( type, fn ); - }; -}); - -jQuery.each( [ "get", "post" ], function( i, method ) { - jQuery[ method ] = function( url, data, callback, type ) { - // shift arguments if data argument was omitted - if ( jQuery.isFunction( data ) ) { - type = type || callback; - callback = data; - data = undefined; - } - - return jQuery.ajax({ - url: url, - type: method, - dataType: type, - data: data, - success: callback - }); - }; -}); - -jQuery.extend({ - - // Counter for holding the number of active queries - active: 0, - - // Last-Modified header cache for next request - lastModified: {}, - etag: {}, - - ajaxSettings: { - url: ajaxLocation, - type: "GET", - isLocal: rlocalProtocol.test( ajaxLocParts[ 1 ] ), - global: true, - processData: true, - async: true, - contentType: "application/x-www-form-urlencoded; charset=UTF-8", - /* - timeout: 0, - data: null, - dataType: null, - username: null, - password: null, - cache: null, - throws: false, - traditional: false, - headers: {}, - */ - - accepts: { - "*": allTypes, - text: "text/plain", - html: "text/html", - xml: "application/xml, text/xml", - json: "application/json, text/javascript" - }, - - contents: { - xml: /xml/, - html: /html/, - json: /json/ - }, - - responseFields: { - xml: "responseXML", - text: "responseText" - }, - - // Data converters - // Keys separate source (or catchall "*") and destination types with a single space - converters: { - - // Convert anything to text - "* text": window.String, - - // Text to html (true = no transformation) - "text html": true, - - // Evaluate text as a json expression - "text json": jQuery.parseJSON, - - // Parse text as xml - "text xml": jQuery.parseXML - }, - - // For options that shouldn't be deep extended: - // you can add your own custom options here if - // and when you create one that shouldn't be - // deep extended (see ajaxExtend) - flatOptions: { - url: true, - context: true - } - }, - - // Creates a full fledged settings object into target - // with both ajaxSettings and settings fields. - // If target is omitted, writes into ajaxSettings. - ajaxSetup: function( target, settings ) { - return settings ? - - // Building a settings object - ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : - - // Extending ajaxSettings - ajaxExtend( jQuery.ajaxSettings, target ); - }, - - ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), - ajaxTransport: addToPrefiltersOrTransports( transports ), - - // Main method - ajax: function( url, options ) { - - // If url is an object, simulate pre-1.5 signature - if ( typeof url === "object" ) { - options = url; - url = undefined; - } - - // Force options to be an object - options = options || {}; - - var // Cross-domain detection vars - parts, - // Loop variable - i, - // URL without anti-cache param - cacheURL, - // Response headers as string - responseHeadersString, - // timeout handle - timeoutTimer, - - // To know if global events are to be dispatched - fireGlobals, - - transport, - // Response headers - responseHeaders, - // Create the final options object - s = jQuery.ajaxSetup( {}, options ), - // Callbacks context - callbackContext = s.context || s, - // Context for global events is callbackContext if it is a DOM node or jQuery collection - globalEventContext = s.context && ( callbackContext.nodeType || callbackContext.jquery ) ? - jQuery( callbackContext ) : - jQuery.event, - // Deferreds - deferred = jQuery.Deferred(), - completeDeferred = jQuery.Callbacks("once memory"), - // Status-dependent callbacks - statusCode = s.statusCode || {}, - // Headers (they are sent all at once) - requestHeaders = {}, - requestHeadersNames = {}, - // The jqXHR state - state = 0, - // Default abort message - strAbort = "canceled", - // Fake xhr - jqXHR = { - readyState: 0, - - // Builds headers hashtable if needed - getResponseHeader: function( key ) { - var match; - if ( state === 2 ) { - if ( !responseHeaders ) { - responseHeaders = {}; - while ( (match = rheaders.exec( responseHeadersString )) ) { - responseHeaders[ match[1].toLowerCase() ] = match[ 2 ]; - } - } - match = responseHeaders[ key.toLowerCase() ]; - } - return match == null ? null : match; - }, - - // Raw string - getAllResponseHeaders: function() { - return state === 2 ? responseHeadersString : null; - }, - - // Caches the header - setRequestHeader: function( name, value ) { - var lname = name.toLowerCase(); - if ( !state ) { - name = requestHeadersNames[ lname ] = requestHeadersNames[ lname ] || name; - requestHeaders[ name ] = value; - } - return this; - }, - - // Overrides response content-type header - overrideMimeType: function( type ) { - if ( !state ) { - s.mimeType = type; - } - return this; - }, - - // Status-dependent callbacks - statusCode: function( map ) { - var code; - if ( map ) { - if ( state < 2 ) { - for ( code in map ) { - // Lazy-add the new callback in a way that preserves old ones - statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; - } - } else { - // Execute the appropriate callbacks - jqXHR.always( map[ jqXHR.status ] ); - } - } - return this; - }, - - // Cancel the request - abort: function( statusText ) { - var finalText = statusText || strAbort; - if ( transport ) { - transport.abort( finalText ); - } - done( 0, finalText ); - return this; - } - }; - - // Attach deferreds - deferred.promise( jqXHR ).complete = completeDeferred.add; - jqXHR.success = jqXHR.done; - jqXHR.error = jqXHR.fail; - - // Remove hash character (#7531: and string promotion) - // Add protocol if not provided (#5866: IE7 issue with protocol-less urls) - // Handle falsy url in the settings object (#10093: consistency with old signature) - // We also use the url parameter if available - s.url = ( ( url || s.url || ajaxLocation ) + "" ).replace( rhash, "" ).replace( rprotocol, ajaxLocParts[ 1 ] + "//" ); - - // Alias method option to type as per ticket #12004 - s.type = options.method || options.type || s.method || s.type; - - // Extract dataTypes list - s.dataTypes = jQuery.trim( s.dataType || "*" ).toLowerCase().match( core_rnotwhite ) || [""]; - - // A cross-domain request is in order when we have a protocol:host:port mismatch - if ( s.crossDomain == null ) { - parts = rurl.exec( s.url.toLowerCase() ); - s.crossDomain = !!( parts && - ( parts[ 1 ] !== ajaxLocParts[ 1 ] || parts[ 2 ] !== ajaxLocParts[ 2 ] || - ( parts[ 3 ] || ( parts[ 1 ] === "http:" ? 80 : 443 ) ) != - ( ajaxLocParts[ 3 ] || ( ajaxLocParts[ 1 ] === "http:" ? 80 : 443 ) ) ) - ); - } - - // Convert data if not already a string - if ( s.data && s.processData && typeof s.data !== "string" ) { - s.data = jQuery.param( s.data, s.traditional ); - } - - // Apply prefilters - inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); - - // If request was aborted inside a prefilter, stop there - if ( state === 2 ) { - return jqXHR; - } - - // We can fire global events as of now if asked to - fireGlobals = s.global; - - // Watch for a new set of requests - if ( fireGlobals && jQuery.active++ === 0 ) { - jQuery.event.trigger("ajaxStart"); - } - - // Uppercase the type - s.type = s.type.toUpperCase(); - - // Determine if request has content - s.hasContent = !rnoContent.test( s.type ); - - // Save the URL in case we're toying with the If-Modified-Since - // and/or If-None-Match header later on - cacheURL = s.url; - - // More options handling for requests with no content - if ( !s.hasContent ) { - - // If data is available, append data to url - if ( s.data ) { - cacheURL = ( s.url += ( ajax_rquery.test( cacheURL ) ? "&" : "?" ) + s.data ); - // #9682: remove data so that it's not used in an eventual retry - delete s.data; - } - - // Add anti-cache in url if needed - if ( s.cache === false ) { - s.url = rts.test( cacheURL ) ? - - // If there is already a '_' parameter, set its value - cacheURL.replace( rts, "$1_=" + ajax_nonce++ ) : - - // Otherwise add one to the end - cacheURL + ( ajax_rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ajax_nonce++; - } - } - - // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. - if ( s.ifModified ) { - if ( jQuery.lastModified[ cacheURL ] ) { - jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); - } - if ( jQuery.etag[ cacheURL ] ) { - jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); - } - } - - // Set the correct header, if data is being sent - if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { - jqXHR.setRequestHeader( "Content-Type", s.contentType ); - } - - // Set the Accepts header for the server, depending on the dataType - jqXHR.setRequestHeader( - "Accept", - s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[0] ] ? - s.accepts[ s.dataTypes[0] ] + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : - s.accepts[ "*" ] - ); - - // Check for headers option - for ( i in s.headers ) { - jqXHR.setRequestHeader( i, s.headers[ i ] ); - } - - // Allow custom headers/mimetypes and early abort - if ( s.beforeSend && ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || state === 2 ) ) { - // Abort if not done already and return - return jqXHR.abort(); - } - - // aborting is no longer a cancellation - strAbort = "abort"; - - // Install callbacks on deferreds - for ( i in { success: 1, error: 1, complete: 1 } ) { - jqXHR[ i ]( s[ i ] ); - } - - // Get transport - transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); - - // If no transport, we auto-abort - if ( !transport ) { - done( -1, "No Transport" ); - } else { - jqXHR.readyState = 1; - - // Send global event - if ( fireGlobals ) { - globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); - } - // Timeout - if ( s.async && s.timeout > 0 ) { - timeoutTimer = setTimeout(function() { - jqXHR.abort("timeout"); - }, s.timeout ); - } - - try { - state = 1; - transport.send( requestHeaders, done ); - } catch ( e ) { - // Propagate exception as error if not done - if ( state < 2 ) { - done( -1, e ); - // Simply rethrow otherwise - } else { - throw e; - } - } - } - - // Callback for when everything is done - function done( status, nativeStatusText, responses, headers ) { - var isSuccess, success, error, response, modified, - statusText = nativeStatusText; - - // Called once - if ( state === 2 ) { - return; - } - - // State is "done" now - state = 2; - - // Clear timeout if it exists - if ( timeoutTimer ) { - clearTimeout( timeoutTimer ); - } - - // Dereference transport for early garbage collection - // (no matter how long the jqXHR object will be used) - transport = undefined; - - // Cache response headers - responseHeadersString = headers || ""; - - // Set readyState - jqXHR.readyState = status > 0 ? 4 : 0; - - // Get response data - if ( responses ) { - response = ajaxHandleResponses( s, jqXHR, responses ); - } - - // If successful, handle type chaining - if ( status >= 200 && status < 300 || status === 304 ) { - - // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. - if ( s.ifModified ) { - modified = jqXHR.getResponseHeader("Last-Modified"); - if ( modified ) { - jQuery.lastModified[ cacheURL ] = modified; - } - modified = jqXHR.getResponseHeader("etag"); - if ( modified ) { - jQuery.etag[ cacheURL ] = modified; - } - } - - // if no content - if ( status === 204 ) { - isSuccess = true; - statusText = "nocontent"; - - // if not modified - } else if ( status === 304 ) { - isSuccess = true; - statusText = "notmodified"; - - // If we have data, let's convert it - } else { - isSuccess = ajaxConvert( s, response ); - statusText = isSuccess.state; - success = isSuccess.data; - error = isSuccess.error; - isSuccess = !error; - } - } else { - // We extract error from statusText - // then normalize statusText and status for non-aborts - error = statusText; - if ( status || !statusText ) { - statusText = "error"; - if ( status < 0 ) { - status = 0; - } - } - } - - // Set data for the fake xhr object - jqXHR.status = status; - jqXHR.statusText = ( nativeStatusText || statusText ) + ""; - - // Success/Error - if ( isSuccess ) { - deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); - } else { - deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); - } - - // Status-dependent callbacks - jqXHR.statusCode( statusCode ); - statusCode = undefined; - - if ( fireGlobals ) { - globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", - [ jqXHR, s, isSuccess ? success : error ] ); - } - - // Complete - completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); - - if ( fireGlobals ) { - globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); - // Handle the global AJAX counter - if ( !( --jQuery.active ) ) { - jQuery.event.trigger("ajaxStop"); - } - } - } - - return jqXHR; - }, - - getScript: function( url, callback ) { - return jQuery.get( url, undefined, callback, "script" ); - }, - - getJSON: function( url, data, callback ) { - return jQuery.get( url, data, callback, "json" ); - } -}); - -/* Handles responses to an ajax request: - * - sets all responseXXX fields accordingly - * - finds the right dataType (mediates between content-type and expected dataType) - * - returns the corresponding response - */ -function ajaxHandleResponses( s, jqXHR, responses ) { - var firstDataType, ct, finalDataType, type, - contents = s.contents, - dataTypes = s.dataTypes, - responseFields = s.responseFields; - - // Fill responseXXX fields - for ( type in responseFields ) { - if ( type in responses ) { - jqXHR[ responseFields[type] ] = responses[ type ]; - } - } - - // Remove auto dataType and get content-type in the process - while( dataTypes[ 0 ] === "*" ) { - dataTypes.shift(); - if ( ct === undefined ) { - ct = s.mimeType || jqXHR.getResponseHeader("Content-Type"); - } - } - - // Check if we're dealing with a known content-type - if ( ct ) { - for ( type in contents ) { - if ( contents[ type ] && contents[ type ].test( ct ) ) { - dataTypes.unshift( type ); - break; - } - } - } - - // Check to see if we have a response for the expected dataType - if ( dataTypes[ 0 ] in responses ) { - finalDataType = dataTypes[ 0 ]; - } else { - // Try convertible dataTypes - for ( type in responses ) { - if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[0] ] ) { - finalDataType = type; - break; - } - if ( !firstDataType ) { - firstDataType = type; - } - } - // Or just use first one - finalDataType = finalDataType || firstDataType; - } - - // If we found a dataType - // We add the dataType to the list if needed - // and return the corresponding response - if ( finalDataType ) { - if ( finalDataType !== dataTypes[ 0 ] ) { - dataTypes.unshift( finalDataType ); - } - return responses[ finalDataType ]; - } -} - -// Chain conversions given the request and the original response -function ajaxConvert( s, response ) { - var conv2, current, conv, tmp, - converters = {}, - i = 0, - // Work with a copy of dataTypes in case we need to modify it for conversion - dataTypes = s.dataTypes.slice(), - prev = dataTypes[ 0 ]; - - // Apply the dataFilter if provided - if ( s.dataFilter ) { - response = s.dataFilter( response, s.dataType ); - } - - // Create converters map with lowercased keys - if ( dataTypes[ 1 ] ) { - for ( conv in s.converters ) { - converters[ conv.toLowerCase() ] = s.converters[ conv ]; - } - } - - // Convert to each sequential dataType, tolerating list modification - for ( ; (current = dataTypes[++i]); ) { - - // There's only work to do if current dataType is non-auto - if ( current !== "*" ) { - - // Convert response if prev dataType is non-auto and differs from current - if ( prev !== "*" && prev !== current ) { - - // Seek a direct converter - conv = converters[ prev + " " + current ] || converters[ "* " + current ]; - - // If none found, seek a pair - if ( !conv ) { - for ( conv2 in converters ) { - - // If conv2 outputs current - tmp = conv2.split(" "); - if ( tmp[ 1 ] === current ) { - - // If prev can be converted to accepted input - conv = converters[ prev + " " + tmp[ 0 ] ] || - converters[ "* " + tmp[ 0 ] ]; - if ( conv ) { - // Condense equivalence converters - if ( conv === true ) { - conv = converters[ conv2 ]; - - // Otherwise, insert the intermediate dataType - } else if ( converters[ conv2 ] !== true ) { - current = tmp[ 0 ]; - dataTypes.splice( i--, 0, current ); - } - - break; - } - } - } - } - - // Apply converter (if not an equivalence) - if ( conv !== true ) { - - // Unless errors are allowed to bubble, catch and return them - if ( conv && s["throws"] ) { - response = conv( response ); - } else { - try { - response = conv( response ); - } catch ( e ) { - return { state: "parsererror", error: conv ? e : "No conversion from " + prev + " to " + current }; - } - } - } - } - - // Update prev for next iteration - prev = current; - } - } - - return { state: "success", data: response }; -} -// Install script dataType -jQuery.ajaxSetup({ - accepts: { - script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript" - }, - contents: { - script: /(?:java|ecma)script/ - }, - converters: { - "text script": function( text ) { - jQuery.globalEval( text ); - return text; - } - } -}); - -// Handle cache's special case and global -jQuery.ajaxPrefilter( "script", function( s ) { - if ( s.cache === undefined ) { - s.cache = false; - } - if ( s.crossDomain ) { - s.type = "GET"; - s.global = false; - } -}); - -// Bind script tag hack transport -jQuery.ajaxTransport( "script", function(s) { - - // This transport only deals with cross domain requests - if ( s.crossDomain ) { - - var script, - head = document.head || jQuery("head")[0] || document.documentElement; - - return { - - send: function( _, callback ) { - - script = document.createElement("script"); - - script.async = true; - - if ( s.scriptCharset ) { - script.charset = s.scriptCharset; - } - - script.src = s.url; - - // Attach handlers for all browsers - script.onload = script.onreadystatechange = function( _, isAbort ) { - - if ( isAbort || !script.readyState || /loaded|complete/.test( script.readyState ) ) { - - // Handle memory leak in IE - script.onload = script.onreadystatechange = null; - - // Remove the script - if ( script.parentNode ) { - script.parentNode.removeChild( script ); - } - - // Dereference the script - script = null; - - // Callback if not abort - if ( !isAbort ) { - callback( 200, "success" ); - } - } - }; - - // Circumvent IE6 bugs with base elements (#2709 and #4378) by prepending - // Use native DOM manipulation to avoid our domManip AJAX trickery - head.insertBefore( script, head.firstChild ); - }, - - abort: function() { - if ( script ) { - script.onload( undefined, true ); - } - } - }; - } -}); -var oldCallbacks = [], - rjsonp = /(=)\?(?=&|$)|\?\?/; - -// Default jsonp settings -jQuery.ajaxSetup({ - jsonp: "callback", - jsonpCallback: function() { - var callback = oldCallbacks.pop() || ( jQuery.expando + "_" + ( ajax_nonce++ ) ); - this[ callback ] = true; - return callback; - } -}); - -// Detect, normalize options and install callbacks for jsonp requests -jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) { - - var callbackName, overwritten, responseContainer, - jsonProp = s.jsonp !== false && ( rjsonp.test( s.url ) ? - "url" : - typeof s.data === "string" && !( s.contentType || "" ).indexOf("application/x-www-form-urlencoded") && rjsonp.test( s.data ) && "data" - ); - - // Handle iff the expected data type is "jsonp" or we have a parameter to set - if ( jsonProp || s.dataTypes[ 0 ] === "jsonp" ) { - - // Get callback name, remembering preexisting value associated with it - callbackName = s.jsonpCallback = jQuery.isFunction( s.jsonpCallback ) ? - s.jsonpCallback() : - s.jsonpCallback; - - // Insert callback into url or form data - if ( jsonProp ) { - s[ jsonProp ] = s[ jsonProp ].replace( rjsonp, "$1" + callbackName ); - } else if ( s.jsonp !== false ) { - s.url += ( ajax_rquery.test( s.url ) ? "&" : "?" ) + s.jsonp + "=" + callbackName; - } - - // Use data converter to retrieve json after script execution - s.converters["script json"] = function() { - if ( !responseContainer ) { - jQuery.error( callbackName + " was not called" ); - } - return responseContainer[ 0 ]; - }; - - // force json dataType - s.dataTypes[ 0 ] = "json"; - - // Install callback - overwritten = window[ callbackName ]; - window[ callbackName ] = function() { - responseContainer = arguments; - }; - - // Clean-up function (fires after converters) - jqXHR.always(function() { - // Restore preexisting value - window[ callbackName ] = overwritten; - - // Save back as free - if ( s[ callbackName ] ) { - // make sure that re-using the options doesn't screw things around - s.jsonpCallback = originalSettings.jsonpCallback; - - // save the callback name for future use - oldCallbacks.push( callbackName ); - } - - // Call if it was a function and we have a response - if ( responseContainer && jQuery.isFunction( overwritten ) ) { - overwritten( responseContainer[ 0 ] ); - } - - responseContainer = overwritten = undefined; - }); - - // Delegate to script - return "script"; - } -}); -var xhrCallbacks, xhrSupported, - xhrId = 0, - // #5280: Internet Explorer will keep connections alive if we don't abort on unload - xhrOnUnloadAbort = window.ActiveXObject && function() { - // Abort all pending requests - var key; - for ( key in xhrCallbacks ) { - xhrCallbacks[ key ]( undefined, true ); - } - }; - -// Functions to create xhrs -function createStandardXHR() { - try { - return new window.XMLHttpRequest(); - } catch( e ) {} -} - -function createActiveXHR() { - try { - return new window.ActiveXObject("Microsoft.XMLHTTP"); - } catch( e ) {} -} - -// Create the request object -// (This is still attached to ajaxSettings for backward compatibility) -jQuery.ajaxSettings.xhr = window.ActiveXObject ? - /* Microsoft failed to properly - * implement the XMLHttpRequest in IE7 (can't request local files), - * so we use the ActiveXObject when it is available - * Additionally XMLHttpRequest can be disabled in IE7/IE8 so - * we need a fallback. - */ - function() { - return !this.isLocal && createStandardXHR() || createActiveXHR(); - } : - // For all other browsers, use the standard XMLHttpRequest object - createStandardXHR; - -// Determine support properties -xhrSupported = jQuery.ajaxSettings.xhr(); -jQuery.support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); -xhrSupported = jQuery.support.ajax = !!xhrSupported; - -// Create transport if the browser can provide an xhr -if ( xhrSupported ) { - - jQuery.ajaxTransport(function( s ) { - // Cross domain only allowed if supported through XMLHttpRequest - if ( !s.crossDomain || jQuery.support.cors ) { - - var callback; - - return { - send: function( headers, complete ) { - - // Get a new xhr - var handle, i, - xhr = s.xhr(); - - // Open the socket - // Passing null username, generates a login popup on Opera (#2865) - if ( s.username ) { - xhr.open( s.type, s.url, s.async, s.username, s.password ); - } else { - xhr.open( s.type, s.url, s.async ); - } - - // Apply custom fields if provided - if ( s.xhrFields ) { - for ( i in s.xhrFields ) { - xhr[ i ] = s.xhrFields[ i ]; - } - } - - // Override mime type if needed - if ( s.mimeType && xhr.overrideMimeType ) { - xhr.overrideMimeType( s.mimeType ); - } - - // X-Requested-With header - // For cross-domain requests, seeing as conditions for a preflight are - // akin to a jigsaw puzzle, we simply never set it to be sure. - // (it can always be set on a per-request basis or even using ajaxSetup) - // For same-domain requests, won't change header if already provided. - if ( !s.crossDomain && !headers["X-Requested-With"] ) { - headers["X-Requested-With"] = "XMLHttpRequest"; - } - - // Need an extra try/catch for cross domain requests in Firefox 3 - try { - for ( i in headers ) { - xhr.setRequestHeader( i, headers[ i ] ); - } - } catch( err ) {} - - // Do send the request - // This may raise an exception which is actually - // handled in jQuery.ajax (so no try/catch here) - xhr.send( ( s.hasContent && s.data ) || null ); - - // Listener - callback = function( _, isAbort ) { - var status, responseHeaders, statusText, responses; - - // Firefox throws exceptions when accessing properties - // of an xhr when a network error occurred - // http://helpful.knobs-dials.com/index.php/Component_returned_failure_code:_0x80040111_(NS_ERROR_NOT_AVAILABLE) - try { - - // Was never called and is aborted or complete - if ( callback && ( isAbort || xhr.readyState === 4 ) ) { - - // Only called once - callback = undefined; - - // Do not keep as active anymore - if ( handle ) { - xhr.onreadystatechange = jQuery.noop; - if ( xhrOnUnloadAbort ) { - delete xhrCallbacks[ handle ]; - } - } - - // If it's an abort - if ( isAbort ) { - // Abort it manually if needed - if ( xhr.readyState !== 4 ) { - xhr.abort(); - } - } else { - responses = {}; - status = xhr.status; - responseHeaders = xhr.getAllResponseHeaders(); - - // When requesting binary data, IE6-9 will throw an exception - // on any attempt to access responseText (#11426) - if ( typeof xhr.responseText === "string" ) { - responses.text = xhr.responseText; - } - - // Firefox throws an exception when accessing - // statusText for faulty cross-domain requests - try { - statusText = xhr.statusText; - } catch( e ) { - // We normalize with Webkit giving an empty statusText - statusText = ""; - } - - // Filter status for non standard behaviors - - // If the request is local and we have data: assume a success - // (success with no data won't get notified, that's the best we - // can do given current implementations) - if ( !status && s.isLocal && !s.crossDomain ) { - status = responses.text ? 200 : 404; - // IE - #1450: sometimes returns 1223 when it should be 204 - } else if ( status === 1223 ) { - status = 204; - } - } - } - } catch( firefoxAccessException ) { - if ( !isAbort ) { - complete( -1, firefoxAccessException ); - } - } - - // Call complete if needed - if ( responses ) { - complete( status, statusText, responses, responseHeaders ); - } - }; - - if ( !s.async ) { - // if we're in sync mode we fire the callback - callback(); - } else if ( xhr.readyState === 4 ) { - // (IE6 & IE7) if it's in cache and has been - // retrieved directly we need to fire the callback - setTimeout( callback ); - } else { - handle = ++xhrId; - if ( xhrOnUnloadAbort ) { - // Create the active xhrs callbacks list if needed - // and attach the unload handler - if ( !xhrCallbacks ) { - xhrCallbacks = {}; - jQuery( window ).unload( xhrOnUnloadAbort ); - } - // Add to list of active xhrs callbacks - xhrCallbacks[ handle ] = callback; - } - xhr.onreadystatechange = callback; - } - }, - - abort: function() { - if ( callback ) { - callback( undefined, true ); - } - } - }; - } - }); -} -var fxNow, timerId, - rfxtypes = /^(?:toggle|show|hide)$/, - rfxnum = new RegExp( "^(?:([+-])=|)(" + core_pnum + ")([a-z%]*)$", "i" ), - rrun = /queueHooks$/, - animationPrefilters = [ defaultPrefilter ], - tweeners = { - "*": [function( prop, value ) { - var end, unit, - tween = this.createTween( prop, value ), - parts = rfxnum.exec( value ), - target = tween.cur(), - start = +target || 0, - scale = 1, - maxIterations = 20; - - if ( parts ) { - end = +parts[2]; - unit = parts[3] || ( jQuery.cssNumber[ prop ] ? "" : "px" ); - - // We need to compute starting value - if ( unit !== "px" && start ) { - // Iteratively approximate from a nonzero starting point - // Prefer the current property, because this process will be trivial if it uses the same units - // Fallback to end or a simple constant - start = jQuery.css( tween.elem, prop, true ) || end || 1; - - do { - // If previous iteration zeroed out, double until we get *something* - // Use a string for doubling factor so we don't accidentally see scale as unchanged below - scale = scale || ".5"; - - // Adjust and apply - start = start / scale; - jQuery.style( tween.elem, prop, start + unit ); - - // Update scale, tolerating zero or NaN from tween.cur() - // And breaking the loop if scale is unchanged or perfect, or if we've just had enough - } while ( scale !== (scale = tween.cur() / target) && scale !== 1 && --maxIterations ); - } - - tween.unit = unit; - tween.start = start; - // If a +=/-= token was provided, we're doing a relative animation - tween.end = parts[1] ? start + ( parts[1] + 1 ) * end : end; - } - return tween; - }] - }; - -// Animations created synchronously will run synchronously -function createFxNow() { - setTimeout(function() { - fxNow = undefined; - }); - return ( fxNow = jQuery.now() ); -} - -function createTweens( animation, props ) { - jQuery.each( props, function( prop, value ) { - var collection = ( tweeners[ prop ] || [] ).concat( tweeners[ "*" ] ), - index = 0, - length = collection.length; - for ( ; index < length; index++ ) { - if ( collection[ index ].call( animation, prop, value ) ) { - - // we're done with this property - return; - } - } - }); -} - -function Animation( elem, properties, options ) { - var result, - stopped, - index = 0, - length = animationPrefilters.length, - deferred = jQuery.Deferred().always( function() { - // don't match elem in the :animated selector - delete tick.elem; - }), - tick = function() { - if ( stopped ) { - return false; - } - var currentTime = fxNow || createFxNow(), - remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), - // archaic crash bug won't allow us to use 1 - ( 0.5 || 0 ) (#12497) - temp = remaining / animation.duration || 0, - percent = 1 - temp, - index = 0, - length = animation.tweens.length; - - for ( ; index < length ; index++ ) { - animation.tweens[ index ].run( percent ); - } - - deferred.notifyWith( elem, [ animation, percent, remaining ]); - - if ( percent < 1 && length ) { - return remaining; - } else { - deferred.resolveWith( elem, [ animation ] ); - return false; - } - }, - animation = deferred.promise({ - elem: elem, - props: jQuery.extend( {}, properties ), - opts: jQuery.extend( true, { specialEasing: {} }, options ), - originalProperties: properties, - originalOptions: options, - startTime: fxNow || createFxNow(), - duration: options.duration, - tweens: [], - createTween: function( prop, end ) { - var tween = jQuery.Tween( elem, animation.opts, prop, end, - animation.opts.specialEasing[ prop ] || animation.opts.easing ); - animation.tweens.push( tween ); - return tween; - }, - stop: function( gotoEnd ) { - var index = 0, - // if we are going to the end, we want to run all the tweens - // otherwise we skip this part - length = gotoEnd ? animation.tweens.length : 0; - if ( stopped ) { - return this; - } - stopped = true; - for ( ; index < length ; index++ ) { - animation.tweens[ index ].run( 1 ); - } - - // resolve when we played the last frame - // otherwise, reject - if ( gotoEnd ) { - deferred.resolveWith( elem, [ animation, gotoEnd ] ); - } else { - deferred.rejectWith( elem, [ animation, gotoEnd ] ); - } - return this; - } - }), - props = animation.props; - - propFilter( props, animation.opts.specialEasing ); - - for ( ; index < length ; index++ ) { - result = animationPrefilters[ index ].call( animation, elem, props, animation.opts ); - if ( result ) { - return result; - } - } - - createTweens( animation, props ); - - if ( jQuery.isFunction( animation.opts.start ) ) { - animation.opts.start.call( elem, animation ); - } - - jQuery.fx.timer( - jQuery.extend( tick, { - elem: elem, - anim: animation, - queue: animation.opts.queue - }) - ); - - // attach callbacks from options - return animation.progress( animation.opts.progress ) - .done( animation.opts.done, animation.opts.complete ) - .fail( animation.opts.fail ) - .always( animation.opts.always ); -} - -function propFilter( props, specialEasing ) { - var value, name, index, easing, hooks; - - // camelCase, specialEasing and expand cssHook pass - for ( index in props ) { - name = jQuery.camelCase( index ); - easing = specialEasing[ name ]; - value = props[ index ]; - if ( jQuery.isArray( value ) ) { - easing = value[ 1 ]; - value = props[ index ] = value[ 0 ]; - } - - if ( index !== name ) { - props[ name ] = value; - delete props[ index ]; - } - - hooks = jQuery.cssHooks[ name ]; - if ( hooks && "expand" in hooks ) { - value = hooks.expand( value ); - delete props[ name ]; - - // not quite $.extend, this wont overwrite keys already present. - // also - reusing 'index' from above because we have the correct "name" - for ( index in value ) { - if ( !( index in props ) ) { - props[ index ] = value[ index ]; - specialEasing[ index ] = easing; - } - } - } else { - specialEasing[ name ] = easing; - } - } -} - -jQuery.Animation = jQuery.extend( Animation, { - - tweener: function( props, callback ) { - if ( jQuery.isFunction( props ) ) { - callback = props; - props = [ "*" ]; - } else { - props = props.split(" "); - } - - var prop, - index = 0, - length = props.length; - - for ( ; index < length ; index++ ) { - prop = props[ index ]; - tweeners[ prop ] = tweeners[ prop ] || []; - tweeners[ prop ].unshift( callback ); - } - }, - - prefilter: function( callback, prepend ) { - if ( prepend ) { - animationPrefilters.unshift( callback ); - } else { - animationPrefilters.push( callback ); - } - } -}); - -function defaultPrefilter( elem, props, opts ) { - /*jshint validthis:true */ - var prop, index, length, - value, dataShow, toggle, - tween, hooks, oldfire, - anim = this, - style = elem.style, - orig = {}, - handled = [], - hidden = elem.nodeType && isHidden( elem ); - - // handle queue: false promises - if ( !opts.queue ) { - hooks = jQuery._queueHooks( elem, "fx" ); - if ( hooks.unqueued == null ) { - hooks.unqueued = 0; - oldfire = hooks.empty.fire; - hooks.empty.fire = function() { - if ( !hooks.unqueued ) { - oldfire(); - } - }; - } - hooks.unqueued++; - - anim.always(function() { - // doing this makes sure that the complete handler will be called - // before this completes - anim.always(function() { - hooks.unqueued--; - if ( !jQuery.queue( elem, "fx" ).length ) { - hooks.empty.fire(); - } - }); - }); - } - - // height/width overflow pass - if ( elem.nodeType === 1 && ( "height" in props || "width" in props ) ) { - // Make sure that nothing sneaks out - // Record all 3 overflow attributes because IE does not - // change the overflow attribute when overflowX and - // overflowY are set to the same value - opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; - - // Set display property to inline-block for height/width - // animations on inline elements that are having width/height animated - if ( jQuery.css( elem, "display" ) === "inline" && - jQuery.css( elem, "float" ) === "none" ) { - - // inline-level elements accept inline-block; - // block-level elements need to be inline with layout - if ( !jQuery.support.inlineBlockNeedsLayout || css_defaultDisplay( elem.nodeName ) === "inline" ) { - style.display = "inline-block"; - - } else { - style.zoom = 1; - } - } - } - - if ( opts.overflow ) { - style.overflow = "hidden"; - if ( !jQuery.support.shrinkWrapBlocks ) { - anim.always(function() { - style.overflow = opts.overflow[ 0 ]; - style.overflowX = opts.overflow[ 1 ]; - style.overflowY = opts.overflow[ 2 ]; - }); - } - } - - - // show/hide pass - for ( index in props ) { - value = props[ index ]; - if ( rfxtypes.exec( value ) ) { - delete props[ index ]; - toggle = toggle || value === "toggle"; - if ( value === ( hidden ? "hide" : "show" ) ) { - continue; - } - handled.push( index ); - } - } - - length = handled.length; - if ( length ) { - dataShow = jQuery._data( elem, "fxshow" ) || jQuery._data( elem, "fxshow", {} ); - if ( "hidden" in dataShow ) { - hidden = dataShow.hidden; - } - - // store state if its toggle - enables .stop().toggle() to "reverse" - if ( toggle ) { - dataShow.hidden = !hidden; - } - if ( hidden ) { - jQuery( elem ).show(); - } else { - anim.done(function() { - jQuery( elem ).hide(); - }); - } - anim.done(function() { - var prop; - jQuery._removeData( elem, "fxshow" ); - for ( prop in orig ) { - jQuery.style( elem, prop, orig[ prop ] ); - } - }); - for ( index = 0 ; index < length ; index++ ) { - prop = handled[ index ]; - tween = anim.createTween( prop, hidden ? dataShow[ prop ] : 0 ); - orig[ prop ] = dataShow[ prop ] || jQuery.style( elem, prop ); - - if ( !( prop in dataShow ) ) { - dataShow[ prop ] = tween.start; - if ( hidden ) { - tween.end = tween.start; - tween.start = prop === "width" || prop === "height" ? 1 : 0; - } - } - } - } -} - -function Tween( elem, options, prop, end, easing ) { - return new Tween.prototype.init( elem, options, prop, end, easing ); -} -jQuery.Tween = Tween; - -Tween.prototype = { - constructor: Tween, - init: function( elem, options, prop, end, easing, unit ) { - this.elem = elem; - this.prop = prop; - this.easing = easing || "swing"; - this.options = options; - this.start = this.now = this.cur(); - this.end = end; - this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); - }, - cur: function() { - var hooks = Tween.propHooks[ this.prop ]; - - return hooks && hooks.get ? - hooks.get( this ) : - Tween.propHooks._default.get( this ); - }, - run: function( percent ) { - var eased, - hooks = Tween.propHooks[ this.prop ]; - - if ( this.options.duration ) { - this.pos = eased = jQuery.easing[ this.easing ]( - percent, this.options.duration * percent, 0, 1, this.options.duration - ); - } else { - this.pos = eased = percent; - } - this.now = ( this.end - this.start ) * eased + this.start; - - if ( this.options.step ) { - this.options.step.call( this.elem, this.now, this ); - } - - if ( hooks && hooks.set ) { - hooks.set( this ); - } else { - Tween.propHooks._default.set( this ); - } - return this; - } -}; - -Tween.prototype.init.prototype = Tween.prototype; - -Tween.propHooks = { - _default: { - get: function( tween ) { - var result; - - if ( tween.elem[ tween.prop ] != null && - (!tween.elem.style || tween.elem.style[ tween.prop ] == null) ) { - return tween.elem[ tween.prop ]; - } - - // passing an empty string as a 3rd parameter to .css will automatically - // attempt a parseFloat and fallback to a string if the parse fails - // so, simple values such as "10px" are parsed to Float. - // complex values such as "rotate(1rad)" are returned as is. - result = jQuery.css( tween.elem, tween.prop, "" ); - // Empty strings, null, undefined and "auto" are converted to 0. - return !result || result === "auto" ? 0 : result; - }, - set: function( tween ) { - // use step hook for back compat - use cssHook if its there - use .style if its - // available and use plain properties where available - if ( jQuery.fx.step[ tween.prop ] ) { - jQuery.fx.step[ tween.prop ]( tween ); - } else if ( tween.elem.style && ( tween.elem.style[ jQuery.cssProps[ tween.prop ] ] != null || jQuery.cssHooks[ tween.prop ] ) ) { - jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); - } else { - tween.elem[ tween.prop ] = tween.now; - } - } - } -}; - -// Remove in 2.0 - this supports IE8's panic based approach -// to setting things on disconnected nodes - -Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { - set: function( tween ) { - if ( tween.elem.nodeType && tween.elem.parentNode ) { - tween.elem[ tween.prop ] = tween.now; - } - } -}; - -jQuery.each([ "toggle", "show", "hide" ], function( i, name ) { - var cssFn = jQuery.fn[ name ]; - jQuery.fn[ name ] = function( speed, easing, callback ) { - return speed == null || typeof speed === "boolean" ? - cssFn.apply( this, arguments ) : - this.animate( genFx( name, true ), speed, easing, callback ); - }; -}); - -jQuery.fn.extend({ - fadeTo: function( speed, to, easing, callback ) { - - // show any hidden elements after setting opacity to 0 - return this.filter( isHidden ).css( "opacity", 0 ).show() - - // animate to the value specified - .end().animate({ opacity: to }, speed, easing, callback ); - }, - animate: function( prop, speed, easing, callback ) { - var empty = jQuery.isEmptyObject( prop ), - optall = jQuery.speed( speed, easing, callback ), - doAnimation = function() { - // Operate on a copy of prop so per-property easing won't be lost - var anim = Animation( this, jQuery.extend( {}, prop ), optall ); - doAnimation.finish = function() { - anim.stop( true ); - }; - // Empty animations, or finishing resolves immediately - if ( empty || jQuery._data( this, "finish" ) ) { - anim.stop( true ); - } - }; - doAnimation.finish = doAnimation; - - return empty || optall.queue === false ? - this.each( doAnimation ) : - this.queue( optall.queue, doAnimation ); - }, - stop: function( type, clearQueue, gotoEnd ) { - var stopQueue = function( hooks ) { - var stop = hooks.stop; - delete hooks.stop; - stop( gotoEnd ); - }; - - if ( typeof type !== "string" ) { - gotoEnd = clearQueue; - clearQueue = type; - type = undefined; - } - if ( clearQueue && type !== false ) { - this.queue( type || "fx", [] ); - } - - return this.each(function() { - var dequeue = true, - index = type != null && type + "queueHooks", - timers = jQuery.timers, - data = jQuery._data( this ); - - if ( index ) { - if ( data[ index ] && data[ index ].stop ) { - stopQueue( data[ index ] ); - } - } else { - for ( index in data ) { - if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { - stopQueue( data[ index ] ); - } - } - } - - for ( index = timers.length; index--; ) { - if ( timers[ index ].elem === this && (type == null || timers[ index ].queue === type) ) { - timers[ index ].anim.stop( gotoEnd ); - dequeue = false; - timers.splice( index, 1 ); - } - } - - // start the next in the queue if the last step wasn't forced - // timers currently will call their complete callbacks, which will dequeue - // but only if they were gotoEnd - if ( dequeue || !gotoEnd ) { - jQuery.dequeue( this, type ); - } - }); - }, - finish: function( type ) { - if ( type !== false ) { - type = type || "fx"; - } - return this.each(function() { - var index, - data = jQuery._data( this ), - queue = data[ type + "queue" ], - hooks = data[ type + "queueHooks" ], - timers = jQuery.timers, - length = queue ? queue.length : 0; - - // enable finishing flag on private data - data.finish = true; - - // empty the queue first - jQuery.queue( this, type, [] ); - - if ( hooks && hooks.cur && hooks.cur.finish ) { - hooks.cur.finish.call( this ); - } - - // look for any active animations, and finish them - for ( index = timers.length; index--; ) { - if ( timers[ index ].elem === this && timers[ index ].queue === type ) { - timers[ index ].anim.stop( true ); - timers.splice( index, 1 ); - } - } - - // look for any animations in the old queue and finish them - for ( index = 0; index < length; index++ ) { - if ( queue[ index ] && queue[ index ].finish ) { - queue[ index ].finish.call( this ); - } - } - - // turn off finishing flag - delete data.finish; - }); - } -}); - -// Generate parameters to create a standard animation -function genFx( type, includeWidth ) { - var which, - attrs = { height: type }, - i = 0; - - // if we include width, step value is 1 to do all cssExpand values, - // if we don't include width, step value is 2 to skip over Left and Right - includeWidth = includeWidth? 1 : 0; - for( ; i < 4 ; i += 2 - includeWidth ) { - which = cssExpand[ i ]; - attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; - } - - if ( includeWidth ) { - attrs.opacity = attrs.width = type; - } - - return attrs; -} - -// Generate shortcuts for custom animations -jQuery.each({ - slideDown: genFx("show"), - slideUp: genFx("hide"), - slideToggle: genFx("toggle"), - fadeIn: { opacity: "show" }, - fadeOut: { opacity: "hide" }, - fadeToggle: { opacity: "toggle" } -}, function( name, props ) { - jQuery.fn[ name ] = function( speed, easing, callback ) { - return this.animate( props, speed, easing, callback ); - }; -}); - -jQuery.speed = function( speed, easing, fn ) { - var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { - complete: fn || !fn && easing || - jQuery.isFunction( speed ) && speed, - duration: speed, - easing: fn && easing || easing && !jQuery.isFunction( easing ) && easing - }; - - opt.duration = jQuery.fx.off ? 0 : typeof opt.duration === "number" ? opt.duration : - opt.duration in jQuery.fx.speeds ? jQuery.fx.speeds[ opt.duration ] : jQuery.fx.speeds._default; - - // normalize opt.queue - true/undefined/null -> "fx" - if ( opt.queue == null || opt.queue === true ) { - opt.queue = "fx"; - } - - // Queueing - opt.old = opt.complete; - - opt.complete = function() { - if ( jQuery.isFunction( opt.old ) ) { - opt.old.call( this ); - } - - if ( opt.queue ) { - jQuery.dequeue( this, opt.queue ); - } - }; - - return opt; -}; - -jQuery.easing = { - linear: function( p ) { - return p; - }, - swing: function( p ) { - return 0.5 - Math.cos( p*Math.PI ) / 2; - } -}; - -jQuery.timers = []; -jQuery.fx = Tween.prototype.init; -jQuery.fx.tick = function() { - var timer, - timers = jQuery.timers, - i = 0; - - fxNow = jQuery.now(); - - for ( ; i < timers.length; i++ ) { - timer = timers[ i ]; - // Checks the timer has not already been removed - if ( !timer() && timers[ i ] === timer ) { - timers.splice( i--, 1 ); - } - } - - if ( !timers.length ) { - jQuery.fx.stop(); - } - fxNow = undefined; -}; - -jQuery.fx.timer = function( timer ) { - if ( timer() && jQuery.timers.push( timer ) ) { - jQuery.fx.start(); - } -}; - -jQuery.fx.interval = 13; - -jQuery.fx.start = function() { - if ( !timerId ) { - timerId = setInterval( jQuery.fx.tick, jQuery.fx.interval ); - } -}; - -jQuery.fx.stop = function() { - clearInterval( timerId ); - timerId = null; -}; - -jQuery.fx.speeds = { - slow: 600, - fast: 200, - // Default speed - _default: 400 -}; - -// Back Compat <1.8 extension point -jQuery.fx.step = {}; - -if ( jQuery.expr && jQuery.expr.filters ) { - jQuery.expr.filters.animated = function( elem ) { - return jQuery.grep(jQuery.timers, function( fn ) { - return elem === fn.elem; - }).length; - }; -} -jQuery.fn.offset = function( options ) { - if ( arguments.length ) { - return options === undefined ? - this : - this.each(function( i ) { - jQuery.offset.setOffset( this, options, i ); - }); - } - - var docElem, win, - box = { top: 0, left: 0 }, - elem = this[ 0 ], - doc = elem && elem.ownerDocument; - - if ( !doc ) { - return; - } - - docElem = doc.documentElement; - - // Make sure it's not a disconnected DOM node - if ( !jQuery.contains( docElem, elem ) ) { - return box; - } - - // If we don't have gBCR, just use 0,0 rather than error - // BlackBerry 5, iOS 3 (original iPhone) - if ( typeof elem.getBoundingClientRect !== core_strundefined ) { - box = elem.getBoundingClientRect(); - } - win = getWindow( doc ); - return { - top: box.top + ( win.pageYOffset || docElem.scrollTop ) - ( docElem.clientTop || 0 ), - left: box.left + ( win.pageXOffset || docElem.scrollLeft ) - ( docElem.clientLeft || 0 ) - }; -}; - -jQuery.offset = { - - setOffset: function( elem, options, i ) { - var position = jQuery.css( elem, "position" ); - - // set position first, in-case top/left are set even on static elem - if ( position === "static" ) { - elem.style.position = "relative"; - } - - var curElem = jQuery( elem ), - curOffset = curElem.offset(), - curCSSTop = jQuery.css( elem, "top" ), - curCSSLeft = jQuery.css( elem, "left" ), - calculatePosition = ( position === "absolute" || position === "fixed" ) && jQuery.inArray("auto", [curCSSTop, curCSSLeft]) > -1, - props = {}, curPosition = {}, curTop, curLeft; - - // need to be able to calculate position if either top or left is auto and position is either absolute or fixed - if ( calculatePosition ) { - curPosition = curElem.position(); - curTop = curPosition.top; - curLeft = curPosition.left; - } else { - curTop = parseFloat( curCSSTop ) || 0; - curLeft = parseFloat( curCSSLeft ) || 0; - } - - if ( jQuery.isFunction( options ) ) { - options = options.call( elem, i, curOffset ); - } - - if ( options.top != null ) { - props.top = ( options.top - curOffset.top ) + curTop; - } - if ( options.left != null ) { - props.left = ( options.left - curOffset.left ) + curLeft; - } - - if ( "using" in options ) { - options.using.call( elem, props ); - } else { - curElem.css( props ); - } - } -}; - - -jQuery.fn.extend({ - - position: function() { - if ( !this[ 0 ] ) { - return; - } - - var offsetParent, offset, - parentOffset = { top: 0, left: 0 }, - elem = this[ 0 ]; - - // fixed elements are offset from window (parentOffset = {top:0, left: 0}, because it is its only offset parent - if ( jQuery.css( elem, "position" ) === "fixed" ) { - // we assume that getBoundingClientRect is available when computed position is fixed - offset = elem.getBoundingClientRect(); - } else { - // Get *real* offsetParent - offsetParent = this.offsetParent(); - - // Get correct offsets - offset = this.offset(); - if ( !jQuery.nodeName( offsetParent[ 0 ], "html" ) ) { - parentOffset = offsetParent.offset(); - } - - // Add offsetParent borders - parentOffset.top += jQuery.css( offsetParent[ 0 ], "borderTopWidth", true ); - parentOffset.left += jQuery.css( offsetParent[ 0 ], "borderLeftWidth", true ); - } - - // Subtract parent offsets and element margins - // note: when an element has margin: auto the offsetLeft and marginLeft - // are the same in Safari causing offset.left to incorrectly be 0 - return { - top: offset.top - parentOffset.top - jQuery.css( elem, "marginTop", true ), - left: offset.left - parentOffset.left - jQuery.css( elem, "marginLeft", true) - }; - }, - - offsetParent: function() { - return this.map(function() { - var offsetParent = this.offsetParent || document.documentElement; - while ( offsetParent && ( !jQuery.nodeName( offsetParent, "html" ) && jQuery.css( offsetParent, "position") === "static" ) ) { - offsetParent = offsetParent.offsetParent; - } - return offsetParent || document.documentElement; - }); - } -}); - - -// Create scrollLeft and scrollTop methods -jQuery.each( {scrollLeft: "pageXOffset", scrollTop: "pageYOffset"}, function( method, prop ) { - var top = /Y/.test( prop ); - - jQuery.fn[ method ] = function( val ) { - return jQuery.access( this, function( elem, method, val ) { - var win = getWindow( elem ); - - if ( val === undefined ) { - return win ? (prop in win) ? win[ prop ] : - win.document.documentElement[ method ] : - elem[ method ]; - } - - if ( win ) { - win.scrollTo( - !top ? val : jQuery( win ).scrollLeft(), - top ? val : jQuery( win ).scrollTop() - ); - - } else { - elem[ method ] = val; - } - }, method, val, arguments.length, null ); - }; -}); - -function getWindow( elem ) { - return jQuery.isWindow( elem ) ? - elem : - elem.nodeType === 9 ? - elem.defaultView || elem.parentWindow : - false; -} -// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods -jQuery.each( { Height: "height", Width: "width" }, function( name, type ) { - jQuery.each( { padding: "inner" + name, content: type, "": "outer" + name }, function( defaultExtra, funcName ) { - // margin is only for outerHeight, outerWidth - jQuery.fn[ funcName ] = function( margin, value ) { - var chainable = arguments.length && ( defaultExtra || typeof margin !== "boolean" ), - extra = defaultExtra || ( margin === true || value === true ? "margin" : "border" ); - - return jQuery.access( this, function( elem, type, value ) { - var doc; - - if ( jQuery.isWindow( elem ) ) { - // As of 5/8/2012 this will yield incorrect results for Mobile Safari, but there - // isn't a whole lot we can do. See pull request at this URL for discussion: - // https://github.com/jquery/jquery/pull/764 - return elem.document.documentElement[ "client" + name ]; - } - - // Get document width or height - if ( elem.nodeType === 9 ) { - doc = elem.documentElement; - - // Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height], whichever is greatest - // unfortunately, this causes bug #3838 in IE6/8 only, but there is currently no good, small way to fix it. - return Math.max( - elem.body[ "scroll" + name ], doc[ "scroll" + name ], - elem.body[ "offset" + name ], doc[ "offset" + name ], - doc[ "client" + name ] - ); - } - - return value === undefined ? - // Get width or height on the element, requesting but not forcing parseFloat - jQuery.css( elem, type, extra ) : - - // Set width or height on the element - jQuery.style( elem, type, value, extra ); - }, type, chainable ? margin : undefined, chainable, null ); - }; - }); -}); -// Limit scope pollution from any deprecated API -// (function() { - -// })(); -// Expose jQuery to the global object -window.jQuery = window.$ = jQuery; - -// Expose jQuery as an AMD module, but only for AMD loaders that -// understand the issues with loading multiple versions of jQuery -// in a page that all might call define(). The loader will indicate -// they have special allowances for multiple jQuery versions by -// specifying define.amd.jQuery = true. Register as a named module, -// since jQuery can be concatenated with other files that may use define, -// but not use a proper concatenation script that understands anonymous -// AMD modules. A named AMD is safest and most robust way to register. -// Lowercase jquery is used because AMD module names are derived from -// file names, and jQuery is normally delivered in a lowercase file name. -// Do this after creating the global so that if an AMD module wants to call -// noConflict to hide this version of jQuery, it will work. -if ( typeof define === "function" && define.amd && define.amd.jQuery ) { - define( "jquery", [], function () { return jQuery; } ); -} - -})( window );
\ No newline at end of file diff --git a/minionlivesmatter/templates/assets/tether/docs/welcome/js/log.js b/minionlivesmatter/templates/assets/tether/docs/welcome/js/log.js deleted file mode 100644 index 6acd4fd..0000000 --- a/minionlivesmatter/templates/assets/tether/docs/welcome/js/log.js +++ /dev/null @@ -1,134 +0,0 @@ -(function() { - var ffSupport, formats, getOrderedMatches, hasMatches, isFF, isIE, isOpera, isSafari, log, makeArray, operaSupport, safariSupport, stringToArgs, _log; - if (!(window.console && window.console.log)) { - return; - } - log = function() { - var args; - args = []; - makeArray(arguments).forEach(function(arg) { - if (typeof arg === 'string') { - return args = args.concat(stringToArgs(arg)); - } else { - return args.push(arg); - } - }); - return _log.apply(window, args); - }; - _log = function() { - return console.log.apply(console, makeArray(arguments)); - }; - makeArray = function(arrayLikeThing) { - return Array.prototype.slice.call(arrayLikeThing); - }; - formats = [ - { - regex: /\*([^\*]+)\*/, - replacer: function(m, p1) { - return "%c" + p1 + "%c"; - }, - styles: function() { - return ['font-style: italic', '']; - } - }, { - regex: /\_([^\_]+)\_/, - replacer: function(m, p1) { - return "%c" + p1 + "%c"; - }, - styles: function() { - return ['font-weight: bold', '']; - } - }, { - regex: /\`([^\`]+)\`/, - replacer: function(m, p1) { - return "%c" + p1 + "%c"; - }, - styles: function() { - return ['background: rgb(255, 255, 219); padding: 1px 5px; border: 1px solid rgba(0, 0, 0, 0.1)', '']; - } - }, { - regex: /\[c\=(?:\"|\')?((?:(?!(?:\"|\')\]).)*)(?:\"|\')?\]((?:(?!\[c\]).)*)\[c\]/, - replacer: function(m, p1, p2) { - return "%c" + p2 + "%c"; - }, - styles: function(match) { - return [match[1], '']; - } - } - ]; - hasMatches = function(str) { - var _hasMatches; - _hasMatches = false; - formats.forEach(function(format) { - if (format.regex.test(str)) { - return _hasMatches = true; - } - }); - return _hasMatches; - }; - getOrderedMatches = function(str) { - var matches; - matches = []; - formats.forEach(function(format) { - var match; - match = str.match(format.regex); - if (match) { - return matches.push({ - format: format, - match: match - }); - } - }); - return matches.sort(function(a, b) { - return a.match.index - b.match.index; - }); - }; - stringToArgs = function(str) { - var firstMatch, matches, styles; - styles = []; - while (hasMatches(str)) { - matches = getOrderedMatches(str); - firstMatch = matches[0]; - str = str.replace(firstMatch.format.regex, firstMatch.format.replacer); - styles = styles.concat(firstMatch.format.styles(firstMatch.match)); - } - return [str].concat(styles); - }; - isSafari = function() { - return /Safari/.test(navigator.userAgent) && /Apple Computer/.test(navigator.vendor); - }; - isOpera = function() { - return /OPR/.test(navigator.userAgent) && /Opera/.test(navigator.vendor); - }; - isFF = function() { - return /Firefox/.test(navigator.userAgent); - }; - isIE = function() { - return /MSIE/.test(navigator.userAgent); - }; - safariSupport = function() { - var m; - m = navigator.userAgent.match(/AppleWebKit\/(\d+)\.(\d+)(\.|\+|\s)/); - if (!m) { - return false; - } - return 537.38 <= parseInt(m[1], 10) + (parseInt(m[2], 10) / 100); - }; - operaSupport = function() { - var m; - m = navigator.userAgent.match(/OPR\/(\d+)\./); - if (!m) { - return false; - } - return 15 <= parseInt(m[1], 10); - }; - ffSupport = function() { - return window.console.firebug || window.console.exception; - }; - if (isIE() || (isFF() && !ffSupport()) || (isOpera() && !operaSupport()) || (isSafari() && !safariSupport())) { - window.log = _log; - } else { - window.log = log; - } - window.log.l = _log; -}).call(this);
\ No newline at end of file diff --git a/minionlivesmatter/templates/assets/tether/docs/welcome/js/tether-v0.1.3.js b/minionlivesmatter/templates/assets/tether/docs/welcome/js/tether-v0.1.3.js deleted file mode 100644 index 98af16f..0000000 --- a/minionlivesmatter/templates/assets/tether/docs/welcome/js/tether-v0.1.3.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! tether.js 0.1.3 */ -(function(){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r=[].slice,s=function(a,b){return function(){return a.apply(b,arguments)}};a=jQuery,l=/msie [\w.]+/.test(navigator.userAgent.toLowerCase()),k=function(b){var c,d;return c=b.css("position"),"fixed"===c?b:(d=void 0,d="absolute"===c||l&&("static"===c||"relative"===c)?b.parents().filter(function(){var b;return("relative"===(b=a.css(this,"position"))||"absolute"===b||"fixed"===b)&&/(auto|scroll)/.test(a.css(this,"overflow")+a.css(this,"overflow-y")+a.css(this,"overflow-x"))}).first():b.parents().filter(function(){return/(auto|scroll)/.test(a.css(this,"overflow")+a.css(this,"overflow-y")+a.css(this,"overflow-x"))}).first(),d.length?d:a("html"))},b=16,j=function(a,c){var d;return null==c&&(c=b),d=!1,function(){var b,e=this;if(!d)return b=arguments,d=!0,setTimeout(function(){return d=!1,a.apply(e,b)},c),!0}},q=[],p=function(){var a,b,c;for(b=0,c=q.length;c>b;b++)a=q[b],a.position();return!0},l&&(p=j(p)),a(window).on("resize scroll",p),c={center:"center",left:"right",right:"left"},d={middle:"middle",top:"bottom",bottom:"top"},e={top:"0",left:"0",middle:"50%",center:"50%",bottom:"100%",right:"100%"},i=function(a,b){var e,f;return e=a.left,f=a.top,"auto"===e&&(e=c[b.left]),"auto"===f&&(f=d[b.top]),{left:e,top:f}},h=function(a){var b,c;return{left:null!=(b=e[a.left])?b:a.left,top:null!=(c=e[a.top])?c:a.top}},g=function(){var a,b,c,d,e,f,g;for(b=1<=arguments.length?r.call(arguments,0):[],c={top:0,left:0},e=0,f=b.length;f>e;e++)g=b[e],d=g.top,a=g.left,"string"==typeof d&&(d=parseFloat(d,10)),"string"==typeof a&&(a=parseFloat(a,10)),c.top+=d,c.left+=a;return c},m=function(b,c){return"string"==typeof b.left&&-1!==b.left.indexOf("%")&&(b.left=parseFloat(b.left,10)/100*a(c).outerWidth()),"string"==typeof b.top&&-1!==b.top.indexOf("%")&&(b.top=parseFloat(b.top,10)/100*a(c).outerHeight()),b},n=o=function(a){var b,c,d;return d=a.split(" "),c=d[0],b=d[1],{top:c,left:b}},f=function(){function b(a){this.position=s(this.position,this);var c,d,e,f,g;for(q.push(this),this.history=[],this.setOptions(a,!1),f=b.modules,d=0,e=f.length;e>d;d++)c=f[d],null!=(g=c.initialize)&&g.call(this);this.position()}return b.modules=[],b.prototype.setOptions=function(b,c){var d,e;return this.options=b,null==c&&(c=!0),d={offset:"0 0",targetOffset:"0 0",targetAttachment:"auto auto"},this.options=a.extend(d,this.options),e=this.options,this.element=e.element,this.target=e.target,this.element.jquery&&(this.$element=this.element,this.element=this.element[0]),this.target.jquery&&(this.$target=this.target,this.target=this.target[0]),null==this.$element&&(this.$element=a(this.element)),null==this.$target&&(this.$target=a(this.target)),this.$element.addClass("tether-element"),this.$target.addClass("tether-target"),this.targetAttachment=n(this.options.targetAttachment),this.attachment=n(this.options.attachment),this.offset=o(this.options.offset),this.targetOffset=o(this.options.targetOffset),null!=this.scrollParent&&this.disable(),this.scrollParent=k(a(this.target)),this.options.enabled!==!1?this.enable(c):void 0},b.prototype.enable=function(a){return null==a&&(a=!0),this.addClass("tether-enabled"),this.enabled=!0,this.scrollParent.on("scroll",this.position),a?this.position():void 0},b.prototype.disable=function(){return this.removeClass("tether-enabled"),this.enabled=!1,null!=this.scrollParent?this.scrollParent.off("scroll",this.position):void 0},b.prototype.destroy=function(){var a,b,c,d,e;for(this.disable(),e=[],a=c=0,d=q.length;d>c;a=++c){if(b=q[a],b===this){q.splice(a,1);break}e.push(void 0)}return e},b.prototype.updateAttachClasses=function(a,b){var c,d,e,f,g,h;for(null==a&&(a=this.attachment),null==b&&(b=this.targetAttachment),d=["left","top","bottom","right","middle","center"],e=0,g=d.length;g>e;e++)c=d[e],this.removeClass("tether-element-attached-"+c);for(a.top&&this.addClass("tether-element-attached-"+a.top),a.left&&this.addClass("tether-element-attached-"+a.left),f=0,h=d.length;h>f;f++)c=d[f],this.removeClass("tether-target-attached-"+c);return b.top&&this.addClass("tether-target-attached-"+b.top),b.left?this.addClass("tether-target-attached-"+b.left):void 0},b.prototype.addClass=function(a){return this.$element.addClass(a),this.$target.addClass(a)},b.prototype.removeClass=function(a){return this.$element.removeClass(a),this.$target.removeClass(a)},b.prototype.position=function(){var a,c,d,e,f,j,k,l,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F;if(this.enabled){for(u=i(this.targetAttachment,this.attachment),this.updateAttachClasses(this.attachment,u),n=m(h(this.attachment),this.element),v=m(h(u),this.target),f=m(this.offset,this.element),j=m(this.targetOffset,this.target),n=g(n,f),v=g(v,j),w=this.$target.offset(),c=this.$element.offset(),e=w.left+v.left-n.left,x=w.top+v.top-n.top,D=b.modules,z=0,B=D.length;B>z;z++)if(k=D[z],q=k.position.call(this,{left:e,top:x,targetAttachment:u,targetPos:w,elementPos:c,offset:n,targetOffset:v,manualOffset:f,manualTargetOffset:j}),null!=q&&"object"==typeof q){if(q===!1)return!1;x=q.top,e=q.left}if(y=this.$element.outerWidth(),d=this.$element.outerHeight(),l={page:{top:x,bottom:document.body.scrollHeight-x-d,left:e,right:document.body.scrollWidth-e-y},viewport:{top:x-pageYOffset,bottom:pageYOffset-x-d+innerHeight,left:e-pageXOffset,right:pageXOffset-e-y+innerWidth}},(null!=(E=this.options.optimizations)?E.moveElement:void 0)!==!1){for(a=this.$target.offsetParent(),p=a.offset(),o={},F=["top","left","bottom","right"],A=0,C=F.length;C>A;A++)t=F[A],o[t]=parseFloat(a.css("border-"+t+"-width"));p.left+=o.left,p.top+=o.top,p.right=document.body.scrollWidth-p.left-a.width(),p.bottom=document.body.scrollHeight-p.top-a.height(),l.page.top>=p.top&&l.page.bottom>=p.bottom&&l.page.left>=p.left&&l.page.right>=p.right&&(s=a.scrollTop(),r=a.scrollLeft(),l.offset={top:l.page.top-p.top+s+o.top,left:l.page.left-p.left+r+o.left,right:l.page.right-p.right-r+o.right,bottom:l.page.bottom-p.bottom-s+o.bottom})}return this.move(l),this.history.unshift(l),this.history.length>3&&this.history.pop(),!0}},b.prototype.move=function(b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v;j={};for(m in b){j[m]={};for(f in b[m]){for(e=!1,t=this.history,p=0,r=t.length;r>p;p++)if(i=t[p],(null!=(u=i[m])?u[f]:void 0)!==b[m][f]){e=!0;break}e||(j[m][f]=!0)}}if(d={top:"",left:"",right:"",bottom:""},l=function(a,b){return a.top?d.top=""+b.top+"px":d.bottom=""+b.bottom+"px",a.left?d.left=""+b.left+"px":d.right=""+b.right+"px"},g=!1,(j.page.top||j.page.bottom)&&(j.page.left||j.page.right))d.position="absolute",l(j.page,b.page);else if((j.viewport.top||j.viewport.bottom)&&(j.viewport.left||j.viewport.right))d.position="fixed",l(j.viewport,b.viewport);else if(null!=j.offset&&(j.offset.top||j.offset.bottom)&&(j.offset.left||j.offset.right)){for(d.position="absolute",c=this.$target.offsetParent(),this.$element.offsetParent()[0]!==c[0]&&(this.$element.detach(),c.append(this.$element)),h=a.extend({},b.offset),v=["top","left","bottom","right"],q=0,s=v.length;s>q;q++)k=v[q],h[k]-=parseFloat(c.css("border-"+k+"-width"),10);l(j.offset,h),g=!0}else d.position="absolute",d.top=""+b.page.top+"px",d.left=""+b.page.left+"px";g||this.$element.parent().is("body")||(this.$element.detach(),a(document.body).append(this.$element)),o=!1;for(f in d)if(n=d[f],this.$element.css(f)!==n){o=!0;break}return o?this.$element.css(d):void 0},b}(),window.Tether=f}).call(this),function(){var a,b,c,d,e=[].indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(b in this&&this[b]===a)return b;return-1};a=jQuery,c={left:"right",right:"left",top:"bottom",bottom:"top",middle:"middle"},b=["left","top","right","bottom"],d=function(c,d){var e,f,g,h,i,j;if("scrollParent"===d?d=c.scrollParent[0]:"window"===d&&(d=[pageXOffset,pageYOffset,innerWidth+pageXOffset,innerHeight+pageYOffset]),null!=d.nodeType)for(e=a(d),g=e.offset(),d=[g.left,g.top,e.width()+g.left,e.height()+g.top],f=i=0,j=b.length;j>i;f=++i)h=b[f],d[f]+=parseFloat(e.css("border-"+h+"-width"),10);return d},Tether.modules.push({position:function(c){var f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T=this;if(C=c.top,n=c.left,y=c.targetAttachment,this.options.constraints){for(u=function(a){var c,d,e,f;for(T.removeClass(a),f=[],d=0,e=b.length;e>d;d++)c=b[d],f.push(T.removeClass(""+a+"-"+c));return f},m=this.$element.outerHeight(),D=this.$element.outerWidth(),z=this.$target.outerHeight(),A=this.$target.outerWidth(),x={},l={},v=["tether-pinned","tether-out-of-bounds"],O=this.options.constraints,E=0,I=O.length;I>E;E++)k=O[E],k.outOfBoundsClass&&v.push(k.outOfBoundsClass),k.pinnedClass&&v.push(k.pinnedClass);for(F=0,J=v.length;J>F;F++)j=v[F],u(j);for(x=a.extend({},y),l=a.extend({},this.attachment),P=this.options.constraints,G=0,K=P.length;K>G;G++){if(k=P[G],B=k.to,f=k.attachment,r=k.pin,null==f&&(f=""),e.call(f," ")>=0?(Q=f.split(" "),i=Q[0],h=Q[1]):h=i=f,g=d(this,B),("target"===i||"both"===i)&&(C<g[1]&&"top"===x.top&&(C+=z,x.top="bottom"),C+m>g[3]&&"bottom"===x.top&&(C-=z,x.top="top")),"together"===i&&(C<g[1]&&"top"===x.top&&("bottom"===l.top?(C+=z,x.top="bottom",C+=m,l.top="top"):"top"===l.top&&(C+=z,x.top="bottom",C-=m,l.top="bottom")),C+m>g[3]&&"bottom"===x.top&&("top"===l.top?(C-=z,x.top="top",C-=m,l.top="bottom"):"bottom"===l.top&&(C-=z,x.top="top",C+=m,l.top="top"))),("target"===h||"both"===h)&&(n<g[0]&&"left"===x.left&&(n+=A,x.left="right"),n+D>g[2]&&"right"===x.left&&(n-=A,x.left="left")),"together"===h&&(n<g[0]&&"left"===x.left?"right"===l.left?(n+=A,x.left="right",n+=D,l.left="left"):"left"===l.left&&(n+=A,x.left="right",n-=D,l.left="right"):n+D>g[2]&&"right"===x.left&&("left"===l.left?(n-=A,x.left="left",n-=D,l.left="right"):"right"===l.left&&(n-=A,x.left="left",n+=D,l.left="left"))),("element"===i||"both"===i)&&(C<g[1]&&"bottom"===l.top&&(C+=m,l.top="top"),C+m>g[3]&&"top"===l.top&&(C-=m,l.top="bottom")),("element"===h||"both"===h)&&(n<g[0]&&"right"===l.left&&(n+=D,l.left="left"),n+D>g[2]&&"left"===l.left&&(n-=D,l.left="right")),"string"==typeof r?r=function(){var a,b,c,d;for(c=r.split(","),d=[],a=0,b=c.length;b>a;a++)q=c[a],d.push(q.trim());return d}():r===!0&&(r=["top","left","right","bottom"]),r||(r=[]),s=[],o=[],C<g[1]&&(e.call(r,"top")>=0?(C=g[1],s.push("top")):o.push("top")),C+m>g[3]&&(e.call(r,"bottom")>=0?(C=g[3]-m,s.push("bottom")):o.push("bottom")),n<g[0]&&(e.call(r,"left")>=0?(n=g[0],s.push("left")):o.push("left")),n+D>g[2]&&(e.call(r,"right")>=0?(n=g[2]-D,s.push("right")):o.push("right")),s.length)for(t=null!=(R=this.options.pinnedClass)?R:"tether-pinned",this.addClass(t),H=0,L=s.length;L>H;H++)w=s[H],this.addClass(""+t+"-"+w);if(o.length)for(p=null!=(S=this.options.outOfBoundsClass)?S:"tether-out-of-bounds",this.addClass(p),N=0,M=o.length;M>N;N++)w=o[N],this.addClass(""+p+"-"+w);(e.call(s,"left")>=0||e.call(s,"right")>=0)&&(l.left=x.left=!1),(e.call(s,"top")>=0||e.call(s,"bottom")>=0)&&(l.top=x.top=!1),(x.top!==y.top||x.left!==y.left||l.top!==this.attachment.top||l.left!==this.attachment.left)&&this.updateAttachClasses(l,x)}return{top:C,left:n}}}})}.call(this),function(){var a;a=jQuery,Tether.modules.push({position:function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y;if(l=a.top,e=a.left,d=this.$element.outerHeight(),m=this.$element.outerWidth(),i=this.$target.outerHeight(),k=this.$target.outerWidth(),j=this.$target.offset(),j.bottom=j.top+i,j.right=j.left+k,c=l+d,f=e+m,b=[],l<=j.bottom&&c>=j.top)for(v=["left","right"],n=0,r=v.length;r>n;n++)g=v[n],((w=j[g])===e||w===f)&&b.push(g);if(e<=j.right&&f>=j.left)for(x=["top","bottom"],o=0,s=x.length;s>o;o++)g=x[o],((y=j[g])===l||y===c)&&b.push(g);for(h=["left","top","right","bottom"],this.removeClass("tether-abutted"),p=0,t=h.length;t>p;p++)g=h[p],this.removeClass("tether-abutted-"+g);for(b.length&&this.addClass("tether-abutted"),q=0,u=b.length;u>q;q++)g=b[q],this.addClass("tether-abutted-"+g);return!0}})}.call(this),function(){Tether.modules.push({position:function(a){var b,c,d,e,f,g,h;return g=a.top,b=a.left,this.options.shift?(c=function(a){return"function"==typeof a?a.call(this,{top:g,left:b}):a},d=c(this.options.shift),"string"==typeof d?(d=d.split(" "),d[1]||(d[1]=d[0]),f=d[0],e=d[1],f=parseFloat(f,10),e=parseFloat(e,10)):(h=[d.top,d.left],f=h[0],e=h[1]),g+=f,b+=e,{top:g,left:b}):void 0}})}.call(this);
\ No newline at end of file diff --git a/minionlivesmatter/templates/assets/tether/docs/welcome/js/welcome.js b/minionlivesmatter/templates/assets/tether/docs/welcome/js/welcome.js deleted file mode 100644 index 6f587e6..0000000 --- a/minionlivesmatter/templates/assets/tether/docs/welcome/js/welcome.js +++ /dev/null @@ -1,193 +0,0 @@ -(function() { - var init, isMobile, setupBrowserDemo, setupHero, _Drop; - - _Drop = Drop.createContext({ - classPrefix: 'tether' - }); - - isMobile = $(window).width() < 567; - - init = function() { - setupHero(); - return setupBrowserDemo(); - }; - - setupHero = function() { - var $target, finalDropState, frameLengthMS, frames, openAllDrops, openIndex, openNextDrop, position, positions, _i, _len; - $target = $('.tether-target-demo'); - positions = ['top left', 'left top', 'left middle', 'left bottom', 'bottom left', 'bottom center', 'bottom right', 'right bottom', 'right middle', 'right top', 'top right', 'top center']; - if (isMobile) { - positions = ['top left', 'bottom left', 'bottom right', 'top right']; - } - window.drops = {}; - for (_i = 0, _len = positions.length; _i < _len; _i++) { - position = positions[_i]; - drops[position] = new _Drop({ - target: $target[0], - classes: 'tether-theme-arrows-dark', - position: position, - constrainToWindow: false, - openOn: '', - content: '<div style="height: 50px; width: 50px"></div>' - }); - } - openIndex = 0; - frames = 0; - frameLengthMS = 10; - openAllDrops = function() { - var drop, _results; - _results = []; - for (position in drops) { - drop = drops[position]; - _results.push(drop.open()); - } - return _results; - }; - openNextDrop = function() { - var drop; - for (position in drops) { - drop = drops[position]; - drop.close(); - } - drops[positions[openIndex]].open(); - drops[positions[(openIndex + 6) % positions.length]].open(); - openIndex = (openIndex + 1) % positions.length; - if (frames > 5) { - finalDropState(); - return; - } - frames += 1; - return setTimeout(openNextDrop, frameLengthMS * frames); - }; - finalDropState = function() { - $(drops['top left'].dropContent).html('Marrying DOM elements for life.'); - $(drops['bottom right'].dropContent).html('<a class="button" href="http://github.com/HubSpot/tether">★ On Github</a>'); - drops['top left'].open(); - return drops['bottom right'].open(); - }; - if (true || isMobile) { - drops['top left'].open(); - drops['top left'].tether.position(); - drops['bottom right'].open(); - drops['bottom right'].tether.position(); - return finalDropState(); - } else { - return openNextDrop(); - } - }; - - setupBrowserDemo = function() { - var $browserContents, $browserDemo, $iframe, $sections, $startPoint, $stopPoint, scrollInterval, scrollTop, scrollTopDirection, setSection; - $browserDemo = $('.browser-demo.showcase'); - $startPoint = $('.browser-demo-start-point'); - $stopPoint = $('.browser-demo-stop-point'); - $iframe = $('.browser-window iframe'); - $browserContents = $('.browser-content .browser-demo-inner'); - $sections = $('.browser-demo-section'); - $('body').append("<style>\n table.showcase.browser-demo.fixed-bottom {\n top: " + $sections.length + "00%\n }\n</style>"); - $(window).scroll(function() { - var scrollTop; - scrollTop = $(window).scrollTop(); - if ($startPoint.position().top < scrollTop && scrollTop + window.innerHeight < $stopPoint.position().top) { - $browserDemo.removeClass('fixed-bottom'); - $browserDemo.addClass('fixed'); - return $sections.each(function() { - var $section; - $section = $(this); - if (($section.position().top < scrollTop && scrollTop < $section.position().top + $section.outerHeight())) { - setSection($section.data('section')); - } - return true; - }); - } else { - $browserDemo.removeAttr('data-section'); - $browserDemo.removeClass('fixed'); - if (scrollTop + window.innerHeight > $stopPoint.position().top) { - return $browserDemo.addClass('fixed-bottom'); - } else { - return $browserDemo.removeClass('fixed-bottom'); - } - } - }); - $iframe.load(function() { - var $items, iframeWindow; - iframeWindow = $iframe[0].contentWindow; - $items = $iframe.contents().find('.item'); - return $items.each(function(i) { - var $item, drop, _iframeWindowDrop; - $item = $(this); - _iframeWindowDrop = iframeWindow.Drop.createContext({ - classPrefix: 'tether' - }); - drop = new _iframeWindowDrop({ - target: $item[0], - classes: 'tether-theme-arrows-dark', - position: 'right top', - constrainToWindow: true, - openOn: 'click', - content: '<ul>\n <li>Action 1</li>\n <li>Action 2</li>\n <li>Action 3</li>\n</ul>' - }); - return $item.data('drop', drop); - }); - }); - scrollInterval = void 0; - scrollTop = 0; - scrollTopDirection = 1; - return setSection = function(section) { - var closeAllItems, openExampleItem, scrollLeftSection, stopScrollingLeftSection; - $browserDemo.attr('data-section', section); - $('.section-copy').removeClass('active'); - $(".section-copy[data-section=\"" + section + "\"]").addClass('active'); - openExampleItem = function() { - if (isMobile) { - return $iframe.contents().find('.item:first').data().drop.open(); - } else { - return $iframe.contents().find('.item:eq(2)').data().drop.open(); - } - }; - closeAllItems = function() { - return $iframe.contents().find('.item').each(function() { - return $(this).data().drop.close() || true; - }); - }; - scrollLeftSection = function() { - return scrollInterval = setInterval(function() { - $iframe.contents().find('.left').scrollTop(scrollTop); - scrollTop += scrollTopDirection; - if (scrollTop > 50) { - scrollTopDirection = -1; - } - if (scrollTop < 0) { - return scrollTopDirection = 1; - } - }, 30); - }; - stopScrollingLeftSection = function() { - return clearInterval(scrollInterval); - }; - switch (section) { - case 'what': - closeAllItems(); - openExampleItem(); - return stopScrollingLeftSection(); - case 'how': - closeAllItems(); - openExampleItem(); - stopScrollingLeftSection(); - return scrollLeftSection(); - case 'why': - closeAllItems(); - openExampleItem(); - stopScrollingLeftSection(); - return scrollLeftSection(); - case 'outro': - closeAllItems(); - openExampleItem(); - return stopScrollingLeftSection(); - } - }; - }; - - init(); - -}).call(this); diff --git a/minionlivesmatter/templates/assets/tether/docs/welcome/sass/_inline-block.sass b/minionlivesmatter/templates/assets/tether/docs/welcome/sass/_inline-block.sass deleted file mode 100644 index 544a085..0000000 --- a/minionlivesmatter/templates/assets/tether/docs/welcome/sass/_inline-block.sass +++ /dev/null @@ -1,6 +0,0 @@ -@mixin inline-block - display: inline-block - vertical-align: middle - *vertical-align: auto - *zoom: 1 - *display: inline diff --git a/minionlivesmatter/templates/assets/tether/docs/welcome/sass/browser-demo.sass b/minionlivesmatter/templates/assets/tether/docs/welcome/sass/browser-demo.sass deleted file mode 100644 index 2073798..0000000 --- a/minionlivesmatter/templates/assets/tether/docs/welcome/sass/browser-demo.sass +++ /dev/null @@ -1,93 +0,0 @@ -@import inline-block - -html, body - height: 100% - overflow: hidden - font-family: "proxima-nova", sans-serif - -.tether.tether-theme-arrows-dark .tether-content - filter: none - background: #000 - - ul - color: #fff - list-style: none - padding: 0 - margin: 0 - -.tether.tether-theme-arrows-dark.tether-element-attached-top.tether-element-attached-left.tether-target-attached-right .tether-content:before - border-right-color: #000 - -.browser-demo - position: absolute - top: 0 - left: 0 - bottom: 0 - right: 0 - - *, *:after, *:before - box-sizing: border-box - - .top - position: absolute - height: 60px - padding: 20px - line-height: 40px - width: 100% - border-bottom: 1px solid rgba(0, 0, 0, .1) - - .bottom - position: absolute - top: 60px - bottom: 0 - width: 100% - - .left - border-right: 1px solid rgba(0, 0, 0, .1) - position: absolute - width: 30% - height: 100% - overflow: auto - - .item - height: 64px - border-bottom: 1px solid rgba(0, 0, 0, .1) - cursor: pointer - - &:hover, &.tether-open - background: rgba(0, 0, 0, .1) - border-bottom: 1px solid rgba(0, 0, 0, 0) - - &:last-child - border-bottom: 0 - - .right - position: absolute - width: 70% - right: 0 - height: 100% - padding: 20px - - .title - +inline-block - background: rgba(0, 0, 0, .1) - width: 150px - height: 15px - margin-bottom: 20px - - .word - +inline-block - background: rgba(0, 0, 0, .1) - width: 50px - height: 8px - margin-right: 5px - margin-bottom: 5px - - &:nth-last-child(4n+1) - width: 73px - - &:nth-last-child(10n+1) - width: 14px - - &:nth-last-child(9n+1) - width: 80px diff --git a/minionlivesmatter/templates/assets/tether/docs/welcome/sass/welcome.sass b/minionlivesmatter/templates/assets/tether/docs/welcome/sass/welcome.sass deleted file mode 100644 index 9299212..0000000 --- a/minionlivesmatter/templates/assets/tether/docs/welcome/sass/welcome.sass +++ /dev/null @@ -1,285 +0,0 @@ -@import inline-block - -html, body - height: 100% - -body - margin: 0 - font-family: "proxima-nova", "Helvetica Neue", sans-serif - -.button - display: inline-block - border: 2px solid #333 - color: #333 - padding: 1em 1.25em - font-weight: 500 - text-transform: uppercase - letter-spacing: 3px - text-decoration: none - cursor: pointer - width: 140px - font-size: .8em - line-height: 1.3em - text-align: center - -.tether-element.tether-theme-arrows-dark .tether-content - padding: 1em - font-size: 1.1em - - .button - border-color: #fff - color: #fff - width: 170px - pointer-events: all - -.mobile-copy - display: none - - @media (max-width: 568px) - display: block - -.button.dark - background: #333 - color: #fff - -.hero-wrap - height: 100% - overflow: hidden - -table.showcase - height: 100% - width: 100% - position: relative - - &:after - content: "" - display: block - position: absolute - left: 0 - right: 0 - bottom: 20px - margin: auto - height: 0 - width: 0 - border-width: 18px - border-style: solid - border-color: transparent - border-top-color: rgba(0, 0, 0, 0.2) - - &.no-next-arrow:after - display: none - - .showcase-inner - margin: 40px auto 60px - padding: 10px - - h1 - font-size: 50px - text-align: center - font-weight: 300 - - @media (max-width: 567px) - font-size: 40px - - h2 - font-size: 24px - text-align: center - font-weight: 300 - margin: 1em 0 1em - - @media (max-width: 567px) - font-size: 14px - - p - text-align: center - - &.hero - text-align: center - - .tether-target-demo - +inline-block - border: 2px dotted #000 - margin: 5rem auto - padding: 5rem - - @media (max-width: 567px) - padding: 1rem - - &.share - background: #f3f3f3 - - &.projects-showcase .showcase-inner - - .projects-list - width: 80% - max-width: 1200px - margin: 0 auto - - .project - color: inherit - text-decoration: none - position: relative - width: 50% - float: left - text-align: center - margin-bottom: 2rem - - &:nth-child(odd) - clear: left - - .os-icon - width: 8rem - height: 8rem - margin-bottom: 1rem - background-size: 100% - - h1 - font-size: 2.5rem - - p - font-size: 1.3rem - - &.browser-demo - background-image: linear-gradient(top left, #723362 0%, #9d223c 100%) - background-color: #9d223c - position: absolute - top: 100% - - &.fixed - position: fixed - top: 0 - bottom: 0 - left: 0 - right: 0 - z-index: 1 - - .browser-demo-inner - transition: width 2s ease-in-out, height 2s ease-in-out - - // Sections - - &[data-section="what"] - box-shadow: 0 0 0 0 - - &[data-section="why"] - - .browser-demo-inner - width: 70% - - &[data-section="outro"] - - .showcase-inner - pointer-events: all - - .showcase-inner - pointer-events: none - position: absolute - left: 10% - right: 40% - top: 220px - bottom: 120px - margin: 0 - padding: 0 - - @media (max-width: 567px) - bottom: 90px - top: 180px - - .browser-demo-inner - height: 100% - width: 100% - - .section-copy - transition: opacity .5s ease-in-out, top .5s ease-in-out - opacity: 0 - position: absolute - top: 0 - position: absolute - height: 200px - color: #fff - text-align: center - width: 100% - - &.active - opacity: 1 - top: -150px - - @media (max-width: 567px) - top: -130px - - h2 - font-size: 40px - font-weight: bold - line-height: 1 - margin: 25px 0 15px - - @media (max-width: 567px) - font-size: 30px - - .browser-window - border-radius: 4px - background: #fff - position: relative - height: 100% - width: 100% - max-width: 1200px - margin: 0 auto - - .browser-titlebar - position: absolute - top: 0 - left: 0 - right: 0 - border-bottom: 1px solid #eee - height: 55px - - .browser-dots - padding: 16px - - b - +inline-block - border-radius: 50% - width: 10px - height: 10px - margin-right: 7px - background: rgba(0, 0, 0, .1) - - .browser-frame - position: absolute - top: 55px - left: 0 - right: 0 - bottom: 0 - - iframe - border-radius: 0 0 4px 4px - border: 0 - width: 100% - height: 100% - - &.browser-demo-section - - .section-scroll-copy - position: relative - z-index: 10 - color: #fff - width: 100% - font-size: 22px - - .section-scroll-copy-inner - position: absolute - z-index: 10 - color: #fff - right: 10% - width: 23% - - a - color: inherit - - .example-paragraph - border-radius: 4px - background: #000 - padding: 1rem - -.browser-content - display: none diff --git a/minionlivesmatter/templates/assets/tether/examples/chosen/chosen-sprite.png b/minionlivesmatter/templates/assets/tether/examples/chosen/chosen-sprite.png Binary files differdeleted file mode 100644 index 3611ae4..0000000 --- a/minionlivesmatter/templates/assets/tether/examples/chosen/chosen-sprite.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/tether/examples/chosen/chosen-sprite@2x.png b/minionlivesmatter/templates/assets/tether/examples/chosen/chosen-sprite@2x.png Binary files differdeleted file mode 100644 index 6b50545..0000000 --- a/minionlivesmatter/templates/assets/tether/examples/chosen/chosen-sprite@2x.png +++ /dev/null diff --git a/minionlivesmatter/templates/assets/tether/examples/chosen/chosen.css b/minionlivesmatter/templates/assets/tether/examples/chosen/chosen.css deleted file mode 100644 index 828fe1f..0000000 --- a/minionlivesmatter/templates/assets/tether/examples/chosen/chosen.css +++ /dev/null @@ -1,430 +0,0 @@ -/* @group Base */ -.chosen-container { - position: relative; - display: inline-block; - vertical-align: middle; - font-size: 13px; - zoom: 1; - *display: inline; - -webkit-user-select: none; - -moz-user-select: none; - user-select: none; -} -.chosen-container .chosen-drop { - position: absolute; - top: 100%; - left: -9999px; - z-index: 1010; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - width: 100%; - border: 1px solid #aaa; - border-top: 0; - background: #fff; - box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15); -} -.chosen-container.chosen-with-drop .chosen-drop { - left: 0; -} -.chosen-container a { - cursor: pointer; -} - -/* @end */ -/* @group Single Chosen */ -.chosen-container-single .chosen-single { - position: relative; - display: block; - overflow: hidden; - padding: 0 0 0 8px; - height: 23px; - border: 1px solid #aaa; - border-radius: 5px; - background-color: #fff; - background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #ffffff), color-stop(50%, #f6f6f6), color-stop(52%, #eeeeee), color-stop(100%, #f4f4f4)); - background: -webkit-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%); - background: -moz-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%); - background: -o-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%); - background: linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%); - background-clip: padding-box; - box-shadow: 0 0 3px white inset, 0 1px 1px rgba(0, 0, 0, 0.1); - color: #444; - text-decoration: none; - white-space: nowrap; - line-height: 24px; -} -.chosen-container-single .chosen-default { - color: #999; -} -.chosen-container-single .chosen-single span { - display: block; - overflow: hidden; - margin-right: 26px; - text-overflow: ellipsis; - white-space: nowrap; -} -.chosen-container-single .chosen-single-with-deselect span { - margin-right: 38px; -} -.chosen-container-single .chosen-single abbr { - position: absolute; - top: 6px; - right: 26px; - display: block; - width: 12px; - height: 12px; - background: url('chosen-sprite.png') -42px 1px no-repeat; - font-size: 1px; -} -.chosen-container-single .chosen-single abbr:hover { - background-position: -42px -10px; -} -.chosen-container-single.chosen-disabled .chosen-single abbr:hover { - background-position: -42px -10px; -} -.chosen-container-single .chosen-single div { - position: absolute; - top: 0; - right: 0; - display: block; - width: 18px; - height: 100%; -} -.chosen-container-single .chosen-single div b { - display: block; - width: 100%; - height: 100%; - background: url('chosen-sprite.png') no-repeat 0px 2px; -} -.chosen-container-single .chosen-search { - position: relative; - z-index: 1010; - margin: 0; - padding: 3px 4px; - white-space: nowrap; -} -.chosen-container-single .chosen-search input[type="text"] { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - margin: 1px 0; - padding: 4px 20px 4px 5px; - width: 100%; - height: auto; - outline: 0; - border: 1px solid #aaa; - background: white url('chosen-sprite.png') no-repeat 100% -20px; - background: url('chosen-sprite.png') no-repeat 100% -20px, -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff)); - background: url('chosen-sprite.png') no-repeat 100% -20px, -webkit-linear-gradient(#eeeeee 1%, #ffffff 15%); - background: url('chosen-sprite.png') no-repeat 100% -20px, -moz-linear-gradient(#eeeeee 1%, #ffffff 15%); - background: url('chosen-sprite.png') no-repeat 100% -20px, -o-linear-gradient(#eeeeee 1%, #ffffff 15%); - background: url('chosen-sprite.png') no-repeat 100% -20px, linear-gradient(#eeeeee 1%, #ffffff 15%); - font-size: 1em; - font-family: sans-serif; - line-height: normal; - border-radius: 0; -} -.chosen-container-single .chosen-drop { - margin-top: -1px; - border-radius: 0 0 4px 4px; - background-clip: padding-box; -} -.chosen-container-single.chosen-container-single-nosearch .chosen-search { - position: absolute; - left: -9999px; -} - -/* @end */ -/* @group Results */ -.chosen-container .chosen-results { - position: relative; - overflow-x: hidden; - overflow-y: auto; - margin: 0 4px 4px 0; - padding: 0 0 0 4px; - max-height: 240px; - -webkit-overflow-scrolling: touch; -} -.chosen-container .chosen-results li { - display: none; - margin: 0; - padding: 5px 6px; - list-style: none; - line-height: 15px; -} -.chosen-container .chosen-results li.active-result { - display: list-item; - cursor: pointer; -} -.chosen-container .chosen-results li.disabled-result { - display: list-item; - color: #ccc; - cursor: default; -} -.chosen-container .chosen-results li.highlighted { - background-color: #3875d7; - background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #3875d7), color-stop(90%, #2a62bc)); - background-image: -webkit-linear-gradient(#3875d7 20%, #2a62bc 90%); - background-image: -moz-linear-gradient(#3875d7 20%, #2a62bc 90%); - background-image: -o-linear-gradient(#3875d7 20%, #2a62bc 90%); - background-image: linear-gradient(#3875d7 20%, #2a62bc 90%); - color: #fff; -} -.chosen-container .chosen-results li.no-results { - display: list-item; - background: #f4f4f4; -} -.chosen-container .chosen-results li.group-result { - display: list-item; - font-weight: bold; - cursor: default; -} -.chosen-container .chosen-results li.group-option { - padding-left: 15px; -} -.chosen-container .chosen-results li em { - font-style: normal; - text-decoration: underline; -} - -/* @end */ -/* @group Multi Chosen */ -.chosen-container-multi .chosen-choices { - position: relative; - overflow: hidden; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - margin: 0; - padding: 0; - width: 100%; - height: auto !important; - height: 1%; - border: 1px solid #aaa; - background-color: #fff; - background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff)); - background-image: -webkit-linear-gradient(#eeeeee 1%, #ffffff 15%); - background-image: -moz-linear-gradient(#eeeeee 1%, #ffffff 15%); - background-image: -o-linear-gradient(#eeeeee 1%, #ffffff 15%); - background-image: linear-gradient(#eeeeee 1%, #ffffff 15%); - cursor: text; -} -.chosen-container-multi .chosen-choices li { - float: left; - list-style: none; -} -.chosen-container-multi .chosen-choices li.search-field { - margin: 0; - padding: 0; - white-space: nowrap; -} -.chosen-container-multi .chosen-choices li.search-field input[type="text"] { - margin: 1px 0; - padding: 5px; - height: 15px; - outline: 0; - border: 0 !important; - background: transparent !important; - box-shadow: none; - color: #666; - font-size: 100%; - font-family: sans-serif; - line-height: normal; - border-radius: 0; -} -.chosen-container-multi .chosen-choices li.search-field .default { - color: #999; -} -.chosen-container-multi .chosen-choices li.search-choice { - position: relative; - margin: 3px 0 3px 5px; - padding: 3px 20px 3px 5px; - border: 1px solid #aaa; - border-radius: 3px; - background-color: #e4e4e4; - background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee)); - background-image: -webkit-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); - background-image: -moz-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); - background-image: -o-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); - background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); - background-clip: padding-box; - box-shadow: 0 0 2px white inset, 0 1px 0 rgba(0, 0, 0, 0.05); - color: #333; - line-height: 13px; - cursor: default; -} -.chosen-container-multi .chosen-choices li.search-choice .search-choice-close { - position: absolute; - top: 4px; - right: 3px; - display: block; - width: 12px; - height: 12px; - background: url('chosen-sprite.png') -42px 1px no-repeat; - font-size: 1px; -} -.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover { - background-position: -42px -10px; -} -.chosen-container-multi .chosen-choices li.search-choice-disabled { - padding-right: 5px; - border: 1px solid #ccc; - background-color: #e4e4e4; - background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee)); - background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); - background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); - background-image: -o-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); - background-image: linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%); - color: #666; -} -.chosen-container-multi .chosen-choices li.search-choice-focus { - background: #d4d4d4; -} -.chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close { - background-position: -42px -10px; -} -.chosen-container-multi .chosen-results { - margin: 0; - padding: 0; -} -.chosen-container-multi .chosen-drop .result-selected { - display: list-item; - color: #ccc; - cursor: default; -} - -/* @end */ -/* @group Active */ -.chosen-container-active .chosen-single { - border: 1px solid #5897fb; - box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); -} -.chosen-container-active.chosen-with-drop .chosen-single { - border: 1px solid #aaa; - -moz-border-radius-bottomright: 0; - border-bottom-right-radius: 0; - -moz-border-radius-bottomleft: 0; - border-bottom-left-radius: 0; - background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #eeeeee), color-stop(80%, #ffffff)); - background-image: -webkit-linear-gradient(#eeeeee 20%, #ffffff 80%); - background-image: -moz-linear-gradient(#eeeeee 20%, #ffffff 80%); - background-image: -o-linear-gradient(#eeeeee 20%, #ffffff 80%); - background-image: linear-gradient(#eeeeee 20%, #ffffff 80%); - box-shadow: 0 1px 0 #fff inset; -} -.chosen-container-active.chosen-with-drop .chosen-single div { - border-left: none; - background: transparent; -} -.chosen-container-active.chosen-with-drop .chosen-single div b { - background-position: -18px 2px; -} -.chosen-container-active .chosen-choices { - border: 1px solid #5897fb; - box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); -} -.chosen-container-active .chosen-choices li.search-field input[type="text"] { - color: #111 !important; -} - -/* @end */ -/* @group Disabled Support */ -.chosen-disabled { - opacity: 0.5 !important; - cursor: default; -} -.chosen-disabled .chosen-single { - cursor: default; -} -.chosen-disabled .chosen-choices .search-choice .search-choice-close { - cursor: default; -} - -/* @end */ -/* @group Right to Left */ -.chosen-rtl { - text-align: right; -} -.chosen-rtl .chosen-single { - overflow: visible; - padding: 0 8px 0 0; -} -.chosen-rtl .chosen-single span { - margin-right: 0; - margin-left: 26px; - direction: rtl; -} -.chosen-rtl .chosen-single-with-deselect span { - margin-left: 38px; -} -.chosen-rtl .chosen-single div { - right: auto; - left: 3px; -} -.chosen-rtl .chosen-single abbr { - right: auto; - left: 26px; -} -.chosen-rtl .chosen-choices li { - float: right; -} -.chosen-rtl .chosen-choices li.search-field input[type="text"] { - direction: rtl; -} -.chosen-rtl .chosen-choices li.search-choice { - margin: 3px 5px 3px 0; - padding: 3px 5px 3px 19px; -} -.chosen-rtl .chosen-choices li.search-choice .search-choice-close { - right: auto; - left: 4px; -} -.chosen-rtl.chosen-container-single-nosearch .chosen-search, -.chosen-rtl .chosen-drop { - left: 9999px; -} -.chosen-rtl.chosen-container-single .chosen-results { - margin: 0 0 4px 4px; - padding: 0 4px 0 0; -} -.chosen-rtl .chosen-results li.group-option { - padding-right: 15px; - padding-left: 0; -} -.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div { - border-right: none; -} -.chosen-rtl .chosen-search input[type="text"] { - padding: 4px 5px 4px 20px; - background: white url('chosen-sprite.png') no-repeat -30px -20px; - background: url('chosen-sprite.png') no-repeat -30px -20px, -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff)); - background: url('chosen-sprite.png') no-repeat -30px -20px, -webkit-linear-gradient(#eeeeee 1%, #ffffff 15%); - background: url('chosen-sprite.png') no-repeat -30px -20px, -moz-linear-gradient(#eeeeee 1%, #ffffff 15%); - background: url('chosen-sprite.png') no-repeat -30px -20px, -o-linear-gradient(#eeeeee 1%, #ffffff 15%); - background: url('chosen-sprite.png') no-repeat -30px -20px, linear-gradient(#eeeeee 1%, #ffffff 15%); - direction: rtl; -} -.chosen-rtl.chosen-container-single .chosen-single div b { - background-position: 6px 2px; -} -.chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b { - background-position: -12px 2px; -} - -/* @end */ -/* @group Retina compatibility */ -@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 144dpi) { - .chosen-rtl .chosen-search input[type="text"], - .chosen-container-single .chosen-single abbr, - .chosen-container-single .chosen-single div b, - .chosen-container-single .chosen-search input[type="text"], - .chosen-container-multi .chosen-choices .search-choice .search-choice-close, - .chosen-container .chosen-results-scroll-down span, - .chosen-container .chosen-results-scroll-up span { - background-image: url('chosen-sprite@2x.png') !important; - background-size: 52px 37px !important; - background-repeat: no-repeat !important; - } -} -/* @end */
\ No newline at end of file diff --git a/minionlivesmatter/templates/assets/tether/examples/chosen/chosen.js b/minionlivesmatter/templates/assets/tether/examples/chosen/chosen.js deleted file mode 100644 index 521556b..0000000 --- a/minionlivesmatter/templates/assets/tether/examples/chosen/chosen.js +++ /dev/null @@ -1,1166 +0,0 @@ -// Chosen, a Select Box Enhancer for jQuery and Prototype -// by Patrick Filler for Harvest, http://getharvest.com -// -// Version 1.0.0 -// Full source at https://github.com/harvesthq/chosen -// Copyright (c) 2011 Harvest http://getharvest.com - -// MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md -// This file is generated by `grunt build`, do not edit it by hand. -(function() { - var $, AbstractChosen, Chosen, SelectParser, _ref, - __hasProp = {}.hasOwnProperty, - __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; - - SelectParser = (function() { - function SelectParser() { - this.options_index = 0; - this.parsed = []; - } - - SelectParser.prototype.add_node = function(child) { - if (child.nodeName.toUpperCase() === "OPTGROUP") { - return this.add_group(child); - } else { - return this.add_option(child); - } - }; - - SelectParser.prototype.add_group = function(group) { - var group_position, option, _i, _len, _ref, _results; - - group_position = this.parsed.length; - this.parsed.push({ - array_index: group_position, - group: true, - label: this.escapeExpression(group.label), - children: 0, - disabled: group.disabled - }); - _ref = group.childNodes; - _results = []; - for (_i = 0, _len = _ref.length; _i < _len; _i++) { - option = _ref[_i]; - _results.push(this.add_option(option, group_position, group.disabled)); - } - return _results; - }; - - SelectParser.prototype.add_option = function(option, group_position, group_disabled) { - if (option.nodeName.toUpperCase() === "OPTION") { - if (option.text !== "") { - if (group_position != null) { - this.parsed[group_position].children += 1; - } - this.parsed.push({ - array_index: this.parsed.length, - options_index: this.options_index, - value: option.value, - text: option.text, - html: option.innerHTML, - selected: option.selected, - disabled: group_disabled === true ? group_disabled : option.disabled, - group_array_index: group_position, - classes: option.className, - style: option.style.cssText - }); - } else { - this.parsed.push({ - array_index: this.parsed.length, - options_index: this.options_index, - empty: true - }); - } - return this.options_index += 1; - } - }; - - SelectParser.prototype.escapeExpression = function(text) { - var map, unsafe_chars; - - if ((text == null) || text === false) { - return ""; - } - if (!/[\&\<\>\"\'\`]/.test(text)) { - return text; - } - map = { - "<": "<", - ">": ">", - '"': """, - "'": "'", - "`": "`" - }; - unsafe_chars = /&(?!\w+;)|[\<\>\"\'\`]/g; - return text.replace(unsafe_chars, function(chr) { - return map[chr] || "&"; - }); - }; - - return SelectParser; - - })(); - - SelectParser.select_to_array = function(select) { - var child, parser, _i, _len, _ref; - - parser = new SelectParser(); - _ref = select.childNodes; - for (_i = 0, _len = _ref.length; _i < _len; _i++) { - child = _ref[_i]; - parser.add_node(child); - } - return parser.parsed; - }; - - AbstractChosen = (function() { - function AbstractChosen(form_field, options) { - this.form_field = form_field; - this.options = options != null ? options : {}; - if (!AbstractChosen.browser_is_supported()) { - return; - } - this.is_multiple = this.form_field.multiple; - this.set_default_text(); - this.set_default_values(); - this.setup(); - this.set_up_html(); - this.register_observers(); - } - - AbstractChosen.prototype.set_default_values = function() { - var _this = this; - - this.click_test_action = function(evt) { - return _this.test_active_click(evt); - }; - this.activate_action = function(evt) { - return _this.activate_field(evt); - }; - this.active_field = false; - this.mouse_on_container = false; - this.results_showing = false; - this.result_highlighted = null; - this.result_single_selected = null; - this.allow_single_deselect = (this.options.allow_single_deselect != null) && (this.form_field.options[0] != null) && this.form_field.options[0].text === "" ? this.options.allow_single_deselect : false; - this.disable_search_threshold = this.options.disable_search_threshold || 0; - this.disable_search = this.options.disable_search || false; - this.enable_split_word_search = this.options.enable_split_word_search != null ? this.options.enable_split_word_search : true; - this.group_search = this.options.group_search != null ? this.options.group_search : true; - this.search_contains = this.options.search_contains || false; - this.single_backstroke_delete = this.options.single_backstroke_delete != null ? this.options.single_backstroke_delete : true; - this.max_selected_options = this.options.max_selected_options || Infinity; - this.inherit_select_classes = this.options.inherit_select_classes || false; - this.display_selected_options = this.options.display_selected_options != null ? this.options.display_selected_options : true; - return this.display_disabled_options = this.options.display_disabled_options != null ? this.options.display_disabled_options : true; - }; - - AbstractChosen.prototype.set_default_text = function() { - if (this.form_field.getAttribute("data-placeholder")) { - this.default_text = this.form_field.getAttribute("data-placeholder"); - } else if (this.is_multiple) { - this.default_text = this.options.placeholder_text_multiple || this.options.placeholder_text || AbstractChosen.default_multiple_text; - } else { - this.default_text = this.options.placeholder_text_single || this.options.placeholder_text || AbstractChosen.default_single_text; - } - return this.results_none_found = this.form_field.getAttribute("data-no_results_text") || this.options.no_results_text || AbstractChosen.default_no_result_text; - }; - - AbstractChosen.prototype.mouse_enter = function() { - return this.mouse_on_container = true; - }; - - AbstractChosen.prototype.mouse_leave = function() { - return this.mouse_on_container = false; - }; - - AbstractChosen.prototype.input_focus = function(evt) { - var _this = this; - - if (this.is_multiple) { - if (!this.active_field) { - return setTimeout((function() { - return _this.container_mousedown(); - }), 50); - } - } else { - if (!this.active_field) { - return this.activate_field(); - } - } - }; - - AbstractChosen.prototype.input_blur = function(evt) { - var _this = this; - - if (!this.mouse_on_container) { - this.active_field = false; - return setTimeout((function() { - return _this.blur_test(); - }), 100); - } - }; - - AbstractChosen.prototype.results_option_build = function(options) { - var content, data, _i, _len, _ref; - - content = ''; - _ref = this.results_data; - for (_i = 0, _len = _ref.length; _i < _len; _i++) { - data = _ref[_i]; - if (data.group) { - content += this.result_add_group(data); - } else { - content += this.result_add_option(data); - } - if (options != null ? options.first : void 0) { - if (data.selected && this.is_multiple) { - this.choice_build(data); - } else if (data.selected && !this.is_multiple) { - this.single_set_selected_text(data.text); - } - } - } - return content; - }; - - AbstractChosen.prototype.result_add_option = function(option) { - var classes, style; - - if (!option.search_match) { - return ''; - } - if (!this.include_option_in_results(option)) { - return ''; - } - classes = []; - if (!option.disabled && !(option.selected && this.is_multiple)) { - classes.push("active-result"); - } - if (option.disabled && !(option.selected && this.is_multiple)) { - classes.push("disabled-result"); - } - if (option.selected) { - classes.push("result-selected"); - } - if (option.group_array_index != null) { - classes.push("group-option"); - } - if (option.classes !== "") { - classes.push(option.classes); - } - style = option.style.cssText !== "" ? " style=\"" + option.style + "\"" : ""; - return "<li class=\"" + (classes.join(' ')) + "\"" + style + " data-option-array-index=\"" + option.array_index + "\">" + option.search_text + "</li>"; - }; - - AbstractChosen.prototype.result_add_group = function(group) { - if (!(group.search_match || group.group_match)) { - return ''; - } - if (!(group.active_options > 0)) { - return ''; - } - return "<li class=\"group-result\">" + group.search_text + "</li>"; - }; - - AbstractChosen.prototype.results_update_field = function() { - this.set_default_text(); - if (!this.is_multiple) { - this.results_reset_cleanup(); - } - this.result_clear_highlight(); - this.result_single_selected = null; - this.results_build(); - if (this.results_showing) { - return this.winnow_results(); - } - }; - - AbstractChosen.prototype.results_toggle = function() { - if (this.results_showing) { - return this.results_hide(); - } else { - return this.results_show(); - } - }; - - AbstractChosen.prototype.results_search = function(evt) { - if (this.results_showing) { - return this.winnow_results(); - } else { - return this.results_show(); - } - }; - - AbstractChosen.prototype.winnow_results = function() { - var escapedSearchText, option, regex, regexAnchor, results, results_group, searchText, startpos, text, zregex, _i, _len, _ref; - - this.no_results_clear(); - results = 0; - searchText = this.get_search_text(); - escapedSearchText = searchText.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&"); - regexAnchor = this.search_contains ? "" : "^"; - regex = new RegExp(regexAnchor + escapedSearchText, 'i'); - zregex = new RegExp(escapedSearchText, 'i'); - _ref = this.results_data; - for (_i = 0, _len = _ref.length; _i < _len; _i++) { - option = _ref[_i]; - option.search_match = false; - results_group = null; - if (this.include_option_in_results(option)) { - if (option.group) { - option.group_match = false; - option.active_options = 0; - } - if ((option.group_array_index != null) && this.results_data[option.group_array_index]) { - results_group = this.results_data[option.group_array_index]; - if (results_group.active_options === 0 && results_group.search_match) { - results += 1; - } - results_group.active_options += 1; - } - if (!(option.group && !this.group_search)) { - option.search_text = option.group ? option.label : option.html; - option.search_match = this.search_string_match(option.search_text, regex); - if (option.search_match && !option.group) { - results += 1; - } - if (option.search_match) { - if (searchText.length) { - startpos = option.search_text.search(zregex); - text = option.search_text.substr(0, startpos + searchText.length) + '</em>' + option.search_text.substr(startpos + searchText.length); - option.search_text = text.substr(0, startpos) + '<em>' + text.substr(startpos); - } - if (results_group != null) { - results_group.group_match = true; - } - } else if ((option.group_array_index != null) && this.results_data[option.group_array_index].search_match) { - option.search_match = true; - } - } - } - } - this.result_clear_highlight(); - if (results < 1 && searchText.length) { - this.update_results_content(""); - return this.no_results(searchText); - } else { - this.update_results_content(this.results_option_build()); - return this.winnow_results_set_highlight(); - } - }; - - AbstractChosen.prototype.search_string_match = function(search_string, regex) { - var part, parts, _i, _len; - - if (regex.test(search_string)) { - return true; - } else if (this.enable_split_word_search && (search_string.indexOf(" ") >= 0 || search_string.indexOf("[") === 0)) { - parts = search_string.replace(/\[|\]/g, "").split(" "); - if (parts.length) { - for (_i = 0, _len = parts.length; _i < _len; _i++) { - part = parts[_i]; - if (regex.test(part)) { - return true; - } - } - } - } - }; - - AbstractChosen.prototype.choices_count = function() { - var option, _i, _len, _ref; - - if (this.selected_option_count != null) { - return this.selected_option_count; - } - this.selected_option_count = 0; - _ref = this.form_field.options; - for (_i = 0, _len = _ref.length; _i < _len; _i++) { - option = _ref[_i]; - if (option.selected) { - this.selected_option_count += 1; - } - } - return this.selected_option_count; - }; - - AbstractChosen.prototype.choices_click = function(evt) { - evt.preventDefault(); - if (!(this.results_showing || this.is_disabled)) { - return this.results_show(); - } - }; - - AbstractChosen.prototype.keyup_checker = function(evt) { - var stroke, _ref; - - stroke = (_ref = evt.which) != null ? _ref : evt.keyCode; - this.search_field_scale(); - switch (stroke) { - case 8: - if (this.is_multiple && this.backstroke_length < 1 && this.choices_count() > 0) { - return this.keydown_backstroke(); - } else if (!this.pending_backstroke) { - this.result_clear_highlight(); - return this.results_search(); - } - break; - case 13: - evt.preventDefault(); - if (this.results_showing) { - return this.result_select(evt); - } - break; - case 27: - if (this.results_showing) { - this.results_hide(); - } - return true; - case 9: - case 38: - case 40: - case 16: - case 91: - case 17: - break; - default: - return this.results_search(); - } - }; - - AbstractChosen.prototype.container_width = function() { - if (this.options.width != null) { - return this.options.width; - } else { - return "" + this.form_field.offsetWidth + "px"; - } - }; - - AbstractChosen.prototype.include_option_in_results = function(option) { - if (this.is_multiple && (!this.display_selected_options && option.selected)) { - return false; - } - if (!this.display_disabled_options && option.disabled) { - return false; - } - if (option.empty) { - return false; - } - return true; - }; - - AbstractChosen.browser_is_supported = function() { - if (window.navigator.appName === "Microsoft Internet Explorer") { - return document.documentMode >= 8; - } - if (/iP(od|hone)/i.test(window.navigator.userAgent)) { - return false; - } - if (/Android/i.test(window.navigator.userAgent)) { - if (/Mobile/i.test(window.navigator.userAgent)) { - return false; - } - } - return true; - }; - - AbstractChosen.default_multiple_text = "Select Some Options"; - - AbstractChosen.default_single_text = "Select an Option"; - - AbstractChosen.default_no_result_text = "No results match"; - - return AbstractChosen; - - })(); - - $ = jQuery; - - $.fn.extend({ - chosen: function(options) { - if (!AbstractChosen.browser_is_supported()) { - return this; - } - return this.each(function(input_field) { - var $this, chosen; - - $this = $(this); - chosen = $this.data('chosen'); - if (options === 'destroy' && chosen) { - chosen.destroy(); - } else if (!chosen) { - $this.data('chosen', new Chosen(this, options)); - } - }); - } - }); - - Chosen = (function(_super) { - __extends(Chosen, _super); - - function Chosen() { - _ref = Chosen.__super__.constructor.apply(this, arguments); - return _ref; - } - - Chosen.prototype.setup = function() { - this.form_field_jq = $(this.form_field); - this.current_selectedIndex = this.form_field.selectedIndex; - return this.is_rtl = this.form_field_jq.hasClass("chosen-rtl"); - }; - - Chosen.prototype.set_up_html = function() { - var container_classes, container_props; - - container_classes = ["chosen-container"]; - container_classes.push("chosen-container-" + (this.is_multiple ? "multi" : "single")); - if (this.inherit_select_classes && this.form_field.className) { - container_classes.push(this.form_field.className); - } - if (this.is_rtl) { - container_classes.push("chosen-rtl"); - } - container_props = { - 'class': container_classes.join(' '), - 'style': "width: " + (this.container_width()) + ";", - 'title': this.form_field.title - }; - if (this.form_field.id.length) { - container_props.id = this.form_field.id.replace(/[^\w]/g, '_') + "_chosen"; - } - this.container = $("<div />", container_props); - if (this.is_multiple) { - this.container.html('<ul class="chosen-choices"><li class="search-field"><input type="text" value="' + this.default_text + '" class="default" autocomplete="off" style="width:25px;" /></li></ul><div class="chosen-drop"><ul class="chosen-results"></ul></div>'); - } else { - this.container.html('<a class="chosen-single chosen-default" tabindex="-1"><span>' + this.default_text + '</span><div><b></b></div></a><div class="chosen-drop"><div class="chosen-search"><input type="text" autocomplete="off" /></div><ul class="chosen-results"></ul></div>'); - } - this.form_field_jq.hide().after(this.container); - this.dropdown = this.container.find('div.chosen-drop').first(); - this.search_field = this.container.find('input').first(); - this.search_results = this.container.find('ul.chosen-results').first(); - this.search_field_scale(); - this.search_no_results = this.container.find('li.no-results').first(); - if (this.is_multiple) { - this.search_choices = this.container.find('ul.chosen-choices').first(); - this.search_container = this.container.find('li.search-field').first(); - } else { - this.search_container = this.container.find('div.chosen-search').first(); - this.selected_item = this.container.find('.chosen-single').first(); - } - this.results_build(); - this.set_tab_index(); - this.set_label_behavior(); - return this.form_field_jq.trigger("chosen:ready", { - chosen: this - }); - }; - - Chosen.prototype.register_observers = function() { - var _this = this; - - this.container.bind('mousedown.chosen', function(evt) { - _this.container_mousedown(evt); - }); - this.container.bind('mouseup.chosen', function(evt) { - _this.container_mouseup(evt); - }); - this.container.bind('mouseenter.chosen', function(evt) { - _this.mouse_enter(evt); - }); - this.container.bind('mouseleave.chosen', function(evt) { - _this.mouse_leave(evt); - }); - this.search_results.bind('mouseup.chosen', function(evt) { - _this.search_results_mouseup(evt); - }); - this.search_results.bind('mouseover.chosen', function(evt) { - _this.search_results_mouseover(evt); - }); - this.search_results.bind('mouseout.chosen', function(evt) { - _this.search_results_mouseout(evt); - }); - this.search_results.bind('mousewheel.chosen DOMMouseScroll.chosen', function(evt) { - _this.search_results_mousewheel(evt); - }); - this.form_field_jq.bind("chosen:updated.chosen", function(evt) { - _this.results_update_field(evt); - }); - this.form_field_jq.bind("chosen:activate.chosen", function(evt) { - _this.activate_field(evt); - }); - this.form_field_jq.bind("chosen:open.chosen", function(evt) { - _this.container_mousedown(evt); - }); - this.search_field.bind('blur.chosen', function(evt) { - _this.input_blur(evt); - }); - this.search_field.bind('keyup.chosen', function(evt) { - _this.keyup_checker(evt); - }); - this.search_field.bind('keydown.chosen', function(evt) { - _this.keydown_checker(evt); - }); - this.search_field.bind('focus.chosen', function(evt) { - _this.input_focus(evt); - }); - if (this.is_multiple) { - return this.search_choices.bind('click.chosen', function(evt) { - _this.choices_click(evt); - }); - } else { - return this.container.bind('click.chosen', function(evt) { - evt.preventDefault(); - }); - } - }; - - Chosen.prototype.destroy = function() { - $(document).unbind("click.chosen", this.click_test_action); - if (this.search_field[0].tabIndex) { - this.form_field_jq[0].tabIndex = this.search_field[0].tabIndex; - } - this.container.remove(); - this.form_field_jq.removeData('chosen'); - return this.form_field_jq.show(); - }; - - Chosen.prototype.search_field_disabled = function() { - this.is_disabled = this.form_field_jq[0].disabled; - if (this.is_disabled) { - this.container.addClass('chosen-disabled'); - this.search_field[0].disabled = true; - if (!this.is_multiple) { - this.selected_item.unbind("focus.chosen", this.activate_action); - } - return this.close_field(); - } else { - this.container.removeClass('chosen-disabled'); - this.search_field[0].disabled = false; - if (!this.is_multiple) { - return this.selected_item.bind("focus.chosen", this.activate_action); - } - } - }; - - Chosen.prototype.container_mousedown = function(evt) { - if (!this.is_disabled) { - if (evt && evt.type === "mousedown" && !this.results_showing) { - evt.preventDefault(); - } - if (!((evt != null) && ($(evt.target)).hasClass("search-choice-close"))) { - if (!this.active_field) { - if (this.is_multiple) { - this.search_field.val(""); - } - $(document).bind('click.chosen', this.click_test_action); - this.results_show(); - } else if (!this.is_multiple && evt && (($(evt.target)[0] === this.selected_item[0]) || $(evt.target).parents("a.chosen-single").length)) { - evt.preventDefault(); - this.results_toggle(); - } - return this.activate_field(); - } - } - }; - - Chosen.prototype.container_mouseup = function(evt) { - if (evt.target.nodeName === "ABBR" && !this.is_disabled) { - return this.results_reset(evt); - } - }; - - Chosen.prototype.search_results_mousewheel = function(evt) { - var delta, _ref1, _ref2; - - delta = -((_ref1 = evt.originalEvent) != null ? _ref1.wheelDelta : void 0) || ((_ref2 = evt.originialEvent) != null ? _ref2.detail : void 0); - if (delta != null) { - evt.preventDefault(); - if (evt.type === 'DOMMouseScroll') { - delta = delta * 40; - } - return this.search_results.scrollTop(delta + this.search_results.scrollTop()); - } - }; - - Chosen.prototype.blur_test = function(evt) { - if (!this.active_field && this.container.hasClass("chosen-container-active")) { - return this.close_field(); - } - }; - - Chosen.prototype.close_field = function() { - $(document).unbind("click.chosen", this.click_test_action); - this.active_field = false; - this.results_hide(); - this.container.removeClass("chosen-container-active"); - this.clear_backstroke(); - this.show_search_field_default(); - return this.search_field_scale(); - }; - - Chosen.prototype.activate_field = function() { - this.container.addClass("chosen-container-active"); - this.active_field = true; - this.search_field.val(this.search_field.val()); - return this.search_field.focus(); - }; - - Chosen.prototype.test_active_click = function(evt) { - if (this.container.is($(evt.target).closest('.chosen-container'))) { - return this.active_field = true; - } else { - return this.close_field(); - } - }; - - Chosen.prototype.results_build = function() { - this.parsing = true; - this.selected_option_count = null; - this.results_data = SelectParser.select_to_array(this.form_field); - if (this.is_multiple) { - this.search_choices.find("li.search-choice").remove(); - } else if (!this.is_multiple) { - this.single_set_selected_text(); - if (this.disable_search || this.form_field.options.length <= this.disable_search_threshold) { - this.search_field[0].readOnly = true; - this.container.addClass("chosen-container-single-nosearch"); - } else { - this.search_field[0].readOnly = false; - this.container.removeClass("chosen-container-single-nosearch"); - } - } - this.update_results_content(this.results_option_build({ - first: true - })); - this.search_field_disabled(); - this.show_search_field_default(); - this.search_field_scale(); - return this.parsing = false; - }; - - Chosen.prototype.result_do_highlight = function(el) { - var high_bottom, high_top, maxHeight, visible_bottom, visible_top; - - if (el.length) { - this.result_clear_highlight(); - this.result_highlight = el; - this.result_highlight.addClass("highlighted"); - maxHeight = parseInt(this.search_results.css("maxHeight"), 10); - visible_top = this.search_results.scrollTop(); - visible_bottom = maxHeight + visible_top; - high_top = this.result_highlight.position().top + this.search_results.scrollTop(); - high_bottom = high_top + this.result_highlight.outerHeight(); - if (high_bottom >= visible_bottom) { - return this.search_results.scrollTop((high_bottom - maxHeight) > 0 ? high_bottom - maxHeight : 0); - } else if (high_top < visible_top) { - return this.search_results.scrollTop(high_top); - } - } - }; - - Chosen.prototype.result_clear_highlight = function() { - if (this.result_highlight) { - this.result_highlight.removeClass("highlighted"); - } - return this.result_highlight = null; - }; - - Chosen.prototype.results_show = function() { - if (this.is_multiple && this.max_selected_options <= this.choices_count()) { - this.form_field_jq.trigger("chosen:maxselected", { - chosen: this - }); - return false; - } - this.container.addClass("chosen-with-drop"); - this.form_field_jq.trigger("chosen:showing_dropdown", { - chosen: this - }); - this.results_showing = true; - this.search_field.focus(); - this.search_field.val(this.search_field.val()); - return this.winnow_results(); - }; - - Chosen.prototype.update_results_content = function(content) { - return this.search_results.html(content); - }; - - Chosen.prototype.results_hide = function() { - if (this.results_showing) { - this.result_clear_highlight(); - this.container.removeClass("chosen-with-drop"); - this.form_field_jq.trigger("chosen:hiding_dropdown", { - chosen: this - }); - } - return this.results_showing = false; - }; - - Chosen.prototype.set_tab_index = function(el) { - var ti; - - if (this.form_field.tabIndex) { - ti = this.form_field.tabIndex; - this.form_field.tabIndex = -1; - return this.search_field[0].tabIndex = ti; - } - }; - - Chosen.prototype.set_label_behavior = function() { - var _this = this; - - this.form_field_label = this.form_field_jq.parents("label"); - if (!this.form_field_label.length && this.form_field.id.length) { - this.form_field_label = $("label[for='" + this.form_field.id + "']"); - } - if (this.form_field_label.length > 0) { - return this.form_field_label.bind('click.chosen', function(evt) { - if (_this.is_multiple) { - return _this.container_mousedown(evt); - } else { - return _this.activate_field(); - } - }); - } - }; - - Chosen.prototype.show_search_field_default = function() { - if (this.is_multiple && this.choices_count() < 1 && !this.active_field) { - this.search_field.val(this.default_text); - return this.search_field.addClass("default"); - } else { - this.search_field.val(""); - return this.search_field.removeClass("default"); - } - }; - - Chosen.prototype.search_results_mouseup = function(evt) { - var target; - - target = $(evt.target).hasClass("active-result") ? $(evt.target) : $(evt.target).parents(".active-result").first(); - if (target.length) { - this.result_highlight = target; - this.result_select(evt); - return this.search_field.focus(); - } - }; - - Chosen.prototype.search_results_mouseover = function(evt) { - var target; - - target = $(evt.target).hasClass("active-result") ? $(evt.target) : $(evt.target).parents(".active-result").first(); - if (target) { - return this.result_do_highlight(target); - } - }; - - Chosen.prototype.search_results_mouseout = function(evt) { - if ($(evt.target).hasClass("active-result" || $(evt.target).parents('.active-result').first())) { - return this.result_clear_highlight(); - } - }; - - Chosen.prototype.choice_build = function(item) { - var choice, close_link, - _this = this; - - choice = $('<li />', { - "class": "search-choice" - }).html("<span>" + item.html + "</span>"); - if (item.disabled) { - choice.addClass('search-choice-disabled'); - } else { - close_link = $('<a />', { - "class": 'search-choice-close', - 'data-option-array-index': item.array_index - }); - close_link.bind('click.chosen', function(evt) { - return _this.choice_destroy_link_click(evt); - }); - choice.append(close_link); - } - return this.search_container.before(choice); - }; - - Chosen.prototype.choice_destroy_link_click = function(evt) { - evt.preventDefault(); - evt.stopPropagation(); - if (!this.is_disabled) { - return this.choice_destroy($(evt.target)); - } - }; - - Chosen.prototype.choice_destroy = function(link) { - if (this.result_deselect(link[0].getAttribute("data-option-array-index"))) { - this.show_search_field_default(); - if (this.is_multiple && this.choices_count() > 0 && this.search_field.val().length < 1) { - this.results_hide(); - } - link.parents('li').first().remove(); - return this.search_field_scale(); - } - }; - - Chosen.prototype.results_reset = function() { - this.form_field.options[0].selected = true; - this.selected_option_count = null; - this.single_set_selected_text(); - this.show_search_field_default(); - this.results_reset_cleanup(); - this.form_field_jq.trigger("change"); - if (this.active_field) { - return this.results_hide(); - } - }; - - Chosen.prototype.results_reset_cleanup = function() { - this.current_selectedIndex = this.form_field.selectedIndex; - return this.selected_item.find("abbr").remove(); - }; - - Chosen.prototype.result_select = function(evt) { - var high, item, selected_index; - - if (this.result_highlight) { - high = this.result_highlight; - this.result_clear_highlight(); - if (this.is_multiple && this.max_selected_options <= this.choices_count()) { - this.form_field_jq.trigger("chosen:maxselected", { - chosen: this - }); - return false; - } - if (this.is_multiple) { - high.removeClass("active-result"); - } else { - if (this.result_single_selected) { - this.result_single_selected.removeClass("result-selected"); - selected_index = this.result_single_selected[0].getAttribute('data-option-array-index'); - this.results_data[selected_index].selected = false; - } - this.result_single_selected = high; - } - high.addClass("result-selected"); - item = this.results_data[high[0].getAttribute("data-option-array-index")]; - item.selected = true; - this.form_field.options[item.options_index].selected = true; - this.selected_option_count = null; - if (this.is_multiple) { - this.choice_build(item); - } else { - this.single_set_selected_text(item.text); - } - if (!((evt.metaKey || evt.ctrlKey) && this.is_multiple)) { - this.results_hide(); - } - this.search_field.val(""); - if (this.is_multiple || this.form_field.selectedIndex !== this.current_selectedIndex) { - this.form_field_jq.trigger("change", { - 'selected': this.form_field.options[item.options_index].value - }); - } - this.current_selectedIndex = this.form_field.selectedIndex; - return this.search_field_scale(); - } - }; - - Chosen.prototype.single_set_selected_text = function(text) { - if (text == null) { - text = this.default_text; - } - if (text === this.default_text) { - this.selected_item.addClass("chosen-default"); - } else { - this.single_deselect_control_build(); - this.selected_item.removeClass("chosen-default"); - } - return this.selected_item.find("span").text(text); - }; - - Chosen.prototype.result_deselect = function(pos) { - var result_data; - - result_data = this.results_data[pos]; - if (!this.form_field.options[result_data.options_index].disabled) { - result_data.selected = false; - this.form_field.options[result_data.options_index].selected = false; - this.selected_option_count = null; - this.result_clear_highlight(); - if (this.results_showing) { - this.winnow_results(); - } - this.form_field_jq.trigger("change", { - deselected: this.form_field.options[result_data.options_index].value - }); - this.search_field_scale(); - return true; - } else { - return false; - } - }; - - Chosen.prototype.single_deselect_control_build = function() { - if (!this.allow_single_deselect) { - return; - } - if (!this.selected_item.find("abbr").length) { - this.selected_item.find("span").first().after("<abbr class=\"search-choice-close\"></abbr>"); - } - return this.selected_item.addClass("chosen-single-with-deselect"); - }; - - Chosen.prototype.get_search_text = function() { - if (this.search_field.val() === this.default_text) { - return ""; - } else { - return $('<div/>').text($.trim(this.search_field.val())).html(); - } - }; - - Chosen.prototype.winnow_results_set_highlight = function() { - var do_high, selected_results; - - selected_results = !this.is_multiple ? this.search_results.find(".result-selected.active-result") : []; - do_high = selected_results.length ? selected_results.first() : this.search_results.find(".active-result").first(); - if (do_high != null) { - return this.result_do_highlight(do_high); - } - }; - - Chosen.prototype.no_results = function(terms) { - var no_results_html; - - no_results_html = $('<li class="no-results">' + this.results_none_found + ' "<span></span>"</li>'); - no_results_html.find("span").first().html(terms); - return this.search_results.append(no_results_html); - }; - - Chosen.prototype.no_results_clear = function() { - return this.search_results.find(".no-results").remove(); - }; - - Chosen.prototype.keydown_arrow = function() { - var next_sib; - - if (this.results_showing && this.result_highlight) { - next_sib = this.result_highlight.nextAll("li.active-result").first(); - if (next_sib) { - return this.result_do_highlight(next_sib); - } - } else { - return this.results_show(); - } - }; - - Chosen.prototype.keyup_arrow = function() { - var prev_sibs; - - if (!this.results_showing && !this.is_multiple) { - return this.results_show(); - } else if (this.result_highlight) { - prev_sibs = this.result_highlight.prevAll("li.active-result"); - if (prev_sibs.length) { - return this.result_do_highlight(prev_sibs.first()); - } else { - if (this.choices_count() > 0) { - this.results_hide(); - } - return this.result_clear_highlight(); - } - } - }; - - Chosen.prototype.keydown_backstroke = function() { - var next_available_destroy; - - if (this.pending_backstroke) { - this.choice_destroy(this.pending_backstroke.find("a").first()); - return this.clear_backstroke(); - } else { - next_available_destroy = this.search_container.siblings("li.search-choice").last(); - if (next_available_destroy.length && !next_available_destroy.hasClass("search-choice-disabled")) { - this.pending_backstroke = next_available_destroy; - if (this.single_backstroke_delete) { - return this.keydown_backstroke(); - } else { - return this.pending_backstroke.addClass("search-choice-focus"); - } - } - } - }; - - Chosen.prototype.clear_backstroke = function() { - if (this.pending_backstroke) { - this.pending_backstroke.removeClass("search-choice-focus"); - } - return this.pending_backstroke = null; - }; - - Chosen.prototype.keydown_checker = function(evt) { - var stroke, _ref1; - - stroke = (_ref1 = evt.which) != null ? _ref1 : evt.keyCode; - this.search_field_scale(); - if (stroke !== 8 && this.pending_backstroke) { - this.clear_backstroke(); - } - switch (stroke) { - case 8: - this.backstroke_length = this.search_field.val().length; - break; - case 9: - if (this.results_showing && !this.is_multiple) { - this.result_select(evt); - } - this.mouse_on_container = false; - break; - case 13: - evt.preventDefault(); - break; - case 38: - evt.preventDefault(); - this.keyup_arrow(); - break; - case 40: - evt.preventDefault(); - this.keydown_arrow(); - break; - } - }; - - Chosen.prototype.search_field_scale = function() { - var div, f_width, h, style, style_block, styles, w, _i, _len; - - if (this.is_multiple) { - h = 0; - w = 0; - style_block = "position:absolute; left: -1000px; top: -1000px; display:none;"; - styles = ['font-size', 'font-style', 'font-weight', 'font-family', 'line-height', 'text-transform', 'letter-spacing']; - for (_i = 0, _len = styles.length; _i < _len; _i++) { - style = styles[_i]; - style_block += style + ":" + this.search_field.css(style) + ";"; - } - div = $('<div />', { - 'style': style_block - }); - div.text(this.search_field.val()); - $('body').append(div); - w = div.width() + 25; - div.remove(); - f_width = this.container.outerWidth(); - if (w > f_width - 10) { - w = f_width - 10; - } - return this.search_field.css({ - 'width': w + 'px' - }); - } - }; - - return Chosen; - - })(AbstractChosen); - -}).call(this);
\ No newline at end of file diff --git a/minionlivesmatter/templates/assets/tether/examples/chosen/index.html b/minionlivesmatter/templates/assets/tether/examples/chosen/index.html deleted file mode 100644 index cf5b490..0000000 --- a/minionlivesmatter/templates/assets/tether/examples/chosen/index.html +++ /dev/null @@ -1,110 +0,0 @@ -<!DOCTYPE html> -<html> - <head> - <meta charset="utf-8"> - <meta http-equiv="X-UA-Compatible" content="chrome=1"> - <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> - <link rel="stylesheet" href="../../css/drop.css" /> - <link rel="stylesheet" href="../resources/css/base.css" /> - <link rel="stylesheet" href="chosen.css" /> - </head> - <body> - text<br/> - text<br/> - text<br/> - text<br/> - text<br/> - text<br/> - text<br/> - text<br/> - text<br/> - text<br/> - text<br/> - text<br/> - text<br/> - text<br/> - text<br/> - text<br/> - text<br/> - text<br/> - text<br/> - <br/> - Favorite pizza style: <br/> - <div class="drop-chosen-target chosen-container chosen-container-single chosen-with-drop" style="width: 350px"> - <a class="chosen-single chosen-default" tabindex="-1"><span>Choose a style...</span><div><b></b></div></a> - </div> - <br/> - <br/> - text<br/> - text<br/> - text<br/> - text<br/> - text<br/> - text<br/> - text<br/> - text<br/> - text<br/> - text<br/> - <script src="../resources/js/log.js"></script> - <script src="../resources/js/jquery.js"></script> - <script src="chosen.js"></script> - <script src="../../drop.js"></script> - <script> - $(function(){ - var $target, $drop; - - $target = $('.drop-chosen-target').drop({ - className: 'drop-chosen', - attach: 'bottom-left', - content: '' - }); - - $drop = $target.data().drop.$drop; - - $drop.append('<select><option>Plain</option><option>Pepperoni</option><option>Supreme</option></select>'); - - $drop.on('openDrop', function(event){ - $target.addClass('chosen-container-active'); - }).on('closeDrop', function(event){ - $target.removeClass('chosen-container-active'); - }); - - $drop.on('openDrop', function(event) { - var $select = $drop.find('select'); - - if (!$drop.find('.chosen-container').length) { - $select - .css('width', $target.outerWidth()) - .chosen({ - allow_single_deselect: true, - disable_search_threshold: 0 - }) - ; - } - - setTimeout(function(){ - $drop.find('.chosen-search input').click().focus().keyup(); - $target.drop('positionDrop'); - }, 0); - }); - }); - </script> - <style> - .drop-chosen-target > a { - outline: none; - } - - .drop.drop-chosen { - background: transparent; - } - - .drop.drop-chosen .chosen-container > .chosen-single { - display: none; - } - - .drop.drop-chosen .chosen-container .chosen-drop { - position: static; - } - </style> - </body> -</html>
\ No newline at end of file diff --git a/minionlivesmatter/templates/assets/tether/examples/common/css/style.css b/minionlivesmatter/templates/assets/tether/examples/common/css/style.css deleted file mode 100644 index 2d82380..0000000 --- a/minionlivesmatter/templates/assets/tether/examples/common/css/style.css +++ /dev/null @@ -1,48 +0,0 @@ -body { - min-height: 3000px; -} -.element { - width: 200px; - height: 200px; - background-color: #fe8; - position: absolute; - z-index: 6; -} - -.target { - width: 300px; - height: 50px; - margin: 0 35%; - background-color: #4e9; -} - -.container { - height: 600px; - overflow: scroll; - width: 600px; - border: 20px solid #CCC; - margin-top: 100px; -} - -body { - padding: 15px; -} - -body > .container { - margin: 0 auto; -} - -.pad { - height: 400px; - width: 100px; -} - -.instructions { - width: 100%; - text-align: center; - font-size: 24px; - padding: 15px; - background-color: rgba(210, 180, 140, 0.4); - margin: -15px -15px 0 -15px; -} - diff --git a/minionlivesmatter/templates/assets/tether/examples/content-visible/index.html b/minionlivesmatter/templates/assets/tether/examples/content-visible/index.html deleted file mode 100644 index fd15591..0000000 --- a/minionlivesmatter/templates/assets/tether/examples/content-visible/index.html +++ /dev/null @@ -1,64 +0,0 @@ -<!DOCTYPE html> -<html> - <head> - <link rel="stylesheet" href="../resources/css/base.css" /> - </head> - <body> - - <div class="instructions">Scroll the page</div> - - <style> - .instructions { - width: 100%; - text-align: center; - font-size: 24px; - padding: 15px; - background-color: rgba(210, 180, 140, 0.4); - } - - * { - box-sizing: border-box; - } - body { - min-height: 1200vh; - height: 100%; - } - - .content-box { - width: 600px; - border: 10px solid #999; - height: 600vh; - background-color: #439CCC; - margin: 200vh auto; - } - .element { - border: 10px solid #999; - background-color: #FFDC00; - width: 300px; - height: 200px; - padding: 0 15px; - font-size: 20px; - font-weight: bold; - } - </style> - - <div class="content-box"> - <div class="element"> - <p>This is some sort of crazy dialog.</p> - - <p>It's setup to align with the center of the visible part of the blue area.</p> - </div> - </div> - - <script src="//github.hubspot.com/tether/dist/js/tether.js"></script> - <script> - new Tether({ - element: '.element', - target: '.content-box', - attachment: 'middle center', - targetAttachment: 'middle center', - targetModifier: 'visible' - }); - </script> - </body> -</html> diff --git a/minionlivesmatter/templates/assets/tether/examples/dolls/dolls.css b/minionlivesmatter/templates/assets/tether/examples/dolls/dolls.css deleted file mode 100644 index 931c0de..0000000 --- a/minionlivesmatter/templates/assets/tether/examples/dolls/dolls.css +++ /dev/null @@ -1,18 +0,0 @@ -.tether-element, .tether-target { - width: 200px; - height: 50px; - background-color: #4cc; - position: absolute; -} -body { - width: 100%; - height: 100%; - overflow: scroll; -} -.scroll { - width: 400%; - height: 400%; -} -.tether-target:not(.tether-element) { - cursor: move; -} diff --git a/minionlivesmatter/templates/assets/tether/examples/dolls/dolls.js b/minionlivesmatter/templates/assets/tether/examples/dolls/dolls.js deleted file mode 100644 index 5d0b06b..0000000 --- a/minionlivesmatter/templates/assets/tether/examples/dolls/dolls.js +++ /dev/null @@ -1,83 +0,0 @@ -var tethers = []; - -document.addEventListener('DOMContentLoaded', function(){ - dragging = null; - - document.body.addEventListener('mouseup', function(){ - dragging = null; - }); - - document.body.addEventListener('mousemove', function(e){ - if (dragging){ - dragging.style.top = e.clientY + 'px'; - dragging.style.left = e.clientX + 'px'; - - Tether.position() - } - }); - - document.body.addEventListener('mousedown', function(e){ - if (e.target.getAttribute('data-index')) - dragging = e.target; - }) - - var count = 60; - var parent = null; - var dir = 'left'; - var first = null; - - while (count--){ - var el = document.createElement('div'); - el.setAttribute('data-index', count); - document.querySelector('.scroll').appendChild(el); - - if (!first) - first = el; - - if (count % 10 === 0) - dir = dir == 'right' ? 'left' : 'right'; - - if (parent){ - tethers.push(new Tether({ - element: el, - target: parent, - attachment: 'middle ' + dir, - targetOffset: (dir == 'left' ? '10px 10px' : '10px -10px') - })); - - } - - parent = el; - } - - initAnim(first); -}); - -function initAnim(el){ - var start = performance.now() - var last = 0; - var lastTop = 0; - var tick = function(){ - var diff = performance.now() - last; - - if (!last || diff > 50){ - last = performance.now(); - - var nextTop = 50 * Math.sin((last - start) / 1000); - - var curTop = parseFloat(el.style.top || 0); - var topChange = nextTop - lastTop; - lastTop = nextTop; - - var top = curTop + topChange; - - el.style.top = top + 'px'; - - Tether.position(); - } - - requestAnimationFrame(tick); - }; - - tick(); -} diff --git a/minionlivesmatter/templates/assets/tether/examples/dolls/index.html b/minionlivesmatter/templates/assets/tether/examples/dolls/index.html deleted file mode 100644 index 8f0167f..0000000 --- a/minionlivesmatter/templates/assets/tether/examples/dolls/index.html +++ /dev/null @@ -1,7 +0,0 @@ -<link rel="stylesheet" href="./dolls.css" /> -<script src="//github.hubspot.com/tether/dist/js/tether.js"></script> -<script src="./dolls.js"></script> -<body> - <div class="scroll"> - </div> -</body> diff --git a/minionlivesmatter/templates/assets/tether/examples/element-scroll/index.html b/minionlivesmatter/templates/assets/tether/examples/element-scroll/index.html deleted file mode 100644 index e93181a..0000000 --- a/minionlivesmatter/templates/assets/tether/examples/element-scroll/index.html +++ /dev/null @@ -1,499 +0,0 @@ -<!DOCTYPE html> -<html> - <head> - <link rel="stylesheet" href="../resources/css/base.css" /> - </head> - <body> - - <div class="scroll"> - <p>For a long time after the course of the steamer <em>Sofala</em> had been - altered for the land, the low swampy coast had retained its appearance - of a mere smudge of darkness beyond a belt of glitter. The sunrays - seemed to fall violently upon the calm sea--seemed to shatter themselves - upon an adamantine surface into sparkling dust, into a dazzling vapor - of light that blinded the eye and wearied the brain with its unsteady - brightness.</p> - - <p>Captain Whalley did not look at it. When his Serang, approaching the - roomy cane arm-chair which he filled capably, had informed him in a low - voice that the course was to be altered, he had risen at once and had - remained on his feet, face forward, while the head of his ship swung - through a quarter of a circle. He had not uttered a single word, not - even the word to steady the helm. It was the Serang, an elderly, alert, - little Malay, with a very dark skin, who murmured the order to the - helmsman. And then slowly Captain Whalley sat down again in the - arm-chair on the bridge and fixed his eyes on the deck between his feet.</p> - - <p>He could not hope to see anything new upon this lane of the sea. He had - been on these coasts for the last three years. From Low Cape to Malantan - the distance was fifty miles, six hours' steaming for the old ship with - the tide, or seven against. Then you steered straight for the land, and - by-and-by three palms would appear on the sky, tall and slim, and with - their disheveled heads in a bunch, as if in confidential criticism of - the dark mangroves. The Sofala would be headed towards the somber - strip of the coast, which at a given moment, as the ship closed with - it obliquely, would show several clean shining fractures--the brimful - estuary of a river. Then on through a brown liquid, three parts water - and one part black earth, on and on between the low shores, three parts - black earth and one part brackish water, the Sofala would plow her way - up-stream, as she had done once every month for these seven years or - more, long before he was aware of her existence, long before he had ever - thought of having anything to do with her and her invariable voyages. - The old ship ought to have known the road better than her men, who had - not been kept so long at it without a change; better than the faithful - Serang, whom he had brought over from his last ship to keep the - captain's watch; better than he himself, who had been her captain for - the last three years only. She could always be depended upon to make her - courses. Her compasses were never out. She was no trouble at all to - take about, as if her great age had given her knowledge, wisdom, and - steadiness. She made her landfalls to a degree of the bearing, and - almost to a minute of her allowed time. At any moment, as he sat on - the bridge without looking up, or lay sleepless in his bed, simply by - reckoning the days and the hours he could tell where he was--the precise - spot of the beat. He knew it well too, this monotonous huckster's - round, up and down the Straits; he knew its order and its sights and its - people. Malacca to begin with, in at daylight and out at dusk, to cross - over with a rigid phosphorescent wake this highway of the Far East. - Darkness and gleams on the water, clear stars on a black sky, perhaps - the lights of a home steamer keeping her unswerving course in the - middle, or maybe the elusive shadow of a native craft with her mat sails - flitting by silently--and the low land on the other side in sight - at daylight. At noon the three palms of the next place of call, up a - sluggish river. The only white man residing there was a retired young - sailor, with whom he had become friendly in the course of many voyages. - Sixty miles farther on there was another place of call, a deep bay with - only a couple of houses on the beach. And so on, in and out, picking - up coastwise cargo here and there, and finishing with a hundred miles' - steady steaming through the maze of an archipelago of small islands up - to a large native town at the end of the beat. There was a three days' - rest for the old ship before he started her again in inverse order, - seeing the same shores from another bearing, hearing the same voices - in the same places, back again to the Sofala's port of registry on - the great highway to the East, where he would take up a berth nearly - opposite the big stone pile of the harbor office till it was time to - start again on the old round of 1600 miles and thirty days. Not a very - enterprising life, this, for Captain Whalley, Henry Whalley, otherwise - Dare-devil Harry--Whalley of the Condor, a famous clipper in her day. - No. Not a very enterprising life for a man who had served famous firms, - who had sailed famous ships (more than one or two of them his own); who - had made famous passages, had been the pioneer of new routes and new - trades; who had steered across the unsurveyed tracts of the South Seas, - and had seen the sun rise on uncharted islands. Fifty years at sea, and - forty out in the East ("a pretty thorough apprenticeship," he used - to remark smilingly), had made him honorably known to a generation of - shipowners and merchants in all the ports from Bombay clear over to - where the East merges into the West upon the coast of the two Americas. - His fame remained writ, not very large but plain enough, on the - Admiralty charts. Was there not somewhere between Australia and China a - Whalley Island and a Condor Reef? On that dangerous coral formation the - celebrated clipper had hung stranded for three days, her captain and - crew throwing her cargo overboard with one hand and with the other, as - it were, keeping off her a flotilla of savage war-canoes. At that time - neither the island nor the reef had any official existence. Later the - officers of her Majesty's steam vessel Fusilier, dispatched to make a - survey of the route, recognized in the adoption of these two names the - enterprise of the man and the solidity of the ship. Besides, as anyone - who cares may see, the "General Directory," vol. ii. p. 410, begins the - description of the "Malotu or Whalley Passage" with the words: "This - advantageous route, first discovered in 1850 by Captain Whalley in the - ship Condor," &c., and ends by recommending it warmly to sailing vessels - leaving the China ports for the south in the months from December to - April inclusive.</p> - - <p>This was the clearest gain he had out of life. Nothing could rob him - of this kind of fame. The piercing of the Isthmus of Suez, like the - breaking of a dam, had let in upon the East a flood of new ships, new - men, new methods of trade. It had changed the face of the Eastern seas - and the very spirit of their life; so that his early experiences meant - nothing whatever to the new generation of seamen.</p> - - <p>In those bygone days he had handled many thousands of pounds of his - employers' money and of his own; he had attended faithfully, as by law - a shipmaster is expected to do, to the conflicting interests of owners, - charterers, and underwriters. He had never lost a ship or consented to - a shady transaction; and he had lasted well, outlasting in the end the - conditions that had gone to the making of his name. He had buried his - wife (in the Gulf of Petchili), had married off his daughter to the man - of her unlucky choice, and had lost more than an ample competence in the - crash of the notorious Travancore and Deccan Banking Corporation, whose - downfall had shaken the East like an earthquake. And he was sixty-five - years old.</p> - - <p>His age sat lightly enough on him; and of his ruin he was not ashamed. - He had not been alone to believe in the stability of the Banking - Corporation. Men whose judgment in matters of finance was as expert as - his seamanship had commended the prudence of his investments, and had - themselves lost much money in the great failure. The only difference - between him and them was that he had lost his all. And yet not his all. - There had remained to him from his lost fortune a very pretty little - bark, Fair Maid, which he had bought to occupy his leisure of a retired - sailor--"to play with," as he expressed it himself.</p> - - <p>He had formally declared himself tired of the sea the year preceding his - daughter's marriage. But after the young couple had gone to settle in - Melbourne he found out that he could not make himself happy on shore. He - was too much of a merchant sea-captain for mere yachting to satisfy him. - He wanted the illusion of affairs; and his acquisition of the Fair - Maid preserved the continuity of his life. He introduced her to his - acquaintances in various ports as "my last command." When he grew too - old to be trusted with a ship, he would lay her up and go ashore to be - buried, leaving directions in his will to have the bark towed out and - scuttled decently in deep water on the day of the funeral. His daughter - would not grudge him the satisfaction of knowing that no stranger would - handle his last command after him. With the fortune he was able to leave - her, the value of a 500-ton bark was neither here nor there. All this - would be said with a jocular twinkle in his eye: the vigorous old man - had too much vitality for the sentimentalism of regret; and a little - wistfully withal, because he was at home in life, taking a genuine - pleasure in its feelings and its possessions; in the dignity of his - reputation and his wealth, in his love for his daughter, and in his - satisfaction with the ship--the plaything of his lonely leisure.</p> - - <p>He had the cabin arranged in accordance with his simple ideal of comfort - at sea. A big bookcase (he was a great reader) occupied one side of his - stateroom; the portrait of his late wife, a flat bituminous oil-painting - representing the profile and one long black ringlet of a young woman, - faced his bed-place. Three chronometers ticked him to sleep and greeted - him on waking with the tiny competition of their beats. He rose at five - every day. The officer of the morning watch, drinking his early cup - of coffee aft by the wheel, would hear through the wide orifice of the - copper ventilators all the splashings, blowings, and splutterings of - his captain's toilet. These noises would be followed by a sustained - deep murmur of the Lord's Prayer recited in a loud earnest voice. Five - minutes afterwards the head and shoulders of Captain Whalley emerged - out of the companion-hatchway. Invariably he paused for a while on the - stairs, looking all round at the horizon; upwards at the trim of the - sails; inhaling deep draughts of the fresh air. Only then he would step - out on the poop, acknowledging the hand raised to the peak of the cap - with a majestic and benign "Good morning to you." He walked the deck - till eight scrupulously. Sometimes, not above twice a year, he had to - use a thick cudgel-like stick on account of a stiffness in the hip--a - slight touch of rheumatism, he supposed. Otherwise he knew nothing of - the ills of the flesh. At the ringing of the breakfast bell he went - below to feed his canaries, wind up the chronometers, and take the - head of the table. From there he had before his eyes the big carbon - photographs of his daughter, her husband, and two fat-legged babies - --his grandchildren--set in black frames into the maplewood bulkheads - of the cuddy. After breakfast he dusted the glass over these portraits - himself with a cloth, and brushed the oil painting of his wife with a - plumate kept suspended from a small brass hook by the side of the heavy - gold frame. Then with the door of his stateroom shut, he would sit down - on the couch under the portrait to read a chapter out of a thick pocket - Bible--her Bible. But on some days he only sat there for half an hour - with his finger between the leaves and the closed book resting on his - knees. Perhaps he had remembered suddenly how fond of boat-sailing she - used to be.</p> - - <p>She had been a real shipmate and a true woman too. It was like an - article of faith with him that there never had been, and never could be, - a brighter, cheerier home anywhere afloat or ashore than his home under - the poop-deck of the Condor, with the big main cabin all white and gold, - garlanded as if for a perpetual festival with an unfading wreath. She - had decorated the center of every panel with a cluster of home flowers. - It took her a twelvemonth to go round the cuddy with this labor of love. - To him it had remained a marvel of painting, the highest achievement of - taste and skill; and as to old Swinburne, his mate, every time he - came down to his meals he stood transfixed with admiration before the - progress of the work. You could almost smell these roses, he declared, - sniffing the faint flavor of turpentine which at that time pervaded the - saloon, and (as he confessed afterwards) made him somewhat less hearty - than usual in tackling his food. But there was nothing of the sort to - interfere with his enjoyment of her singing. "Mrs. Whalley is a regular - out-and-out nightingale, sir," he would pronounce with a judicial air - after listening profoundly over the skylight to the very end of the - piece. In fine weather, in the second dog-watch, the two men could hear - her trills and roulades going on to the accompaniment of the piano in - the cabin. On the very day they got engaged he had written to London - for the instrument; but they had been married for over a year before it - reached them, coming out round the Cape. The big case made part of the - first direct general cargo landed in Hong-kong harbor--an event that to - the men who walked the busy quays of to-day seemed as hazily remote as - the dark ages of history. But Captain Whalley could in a half hour of - solitude live again all his life, with its romance, its idyl, and its - sorrow. He had to close her eyes himself. She went away from under the - ensign like a sailor's wife, a sailor herself at heart. He had read - the service over her, out of her own prayer-book, without a break in his - voice. When he raised his eyes he could see old Swinburne facing him - with his cap pressed to his breast, and his rugged, weather-beaten, - impassive face streaming with drops of water like a lump of chipped red - granite in a shower. It was all very well for that old sea-dog to cry. - He had to read on to the end; but after the splash he did not remember - much of what happened for the next few days. An elderly sailor of the - crew, deft at needlework, put together a mourning frock for the child - out of one of her black skirts.</p> - - <p>He was not likely to forget; but you cannot dam up life like a sluggish - stream. It will break out and flow over a man's troubles, it will close - upon a sorrow like the sea upon a dead body, no matter how much love has - gone to the bottom. And the world is not bad. People had been very - kind to him; especially Mrs. Gardner, the wife of the senior partner - in Gardner, Patteson, & Co., the owners of the Condor. It was she who - volunteered to look after the little one, and in due course took her to - England (something of a journey in those days, even by the overland - mail route) with her own girls to finish her education. It was ten years - before he saw her again.</p> - - <p>As a little child she had never been frightened of bad weather; she - would beg to be taken up on deck in the bosom of his oilskin coat to - watch the big seas hurling themselves upon the Condor. The swirl and - crash of the waves seemed to fill her small soul with a breathless - delight. "A good boy spoiled," he used to say of her in joke. He had - named her Ivy because of the sound of the word, and obscurely fascinated - by a vague association of ideas. She had twined herself tightly round - his heart, and he intended her to cling close to her father as to a - tower of strength; forgetting, while she was little, that in the nature - of things she would probably elect to cling to someone else. But - he loved life well enough for even that event to give him a certain - satisfaction, apart from his more intimate feeling of loss.</p> - - <p>After he had purchased the Fair Maid to occupy his loneliness, he - hastened to accept a rather unprofitable freight to Australia simply for - the opportunity of seeing his daughter in her own home. What made him - dissatisfied there was not to see that she clung now to somebody else, - but that the prop she had selected seemed on closer examination "a - rather poor stick"--even in the matter of health. He disliked his - son-in-law's studied civility perhaps more than his method of - handling the sum of money he had given Ivy at her marriage. But of his - apprehensions he said nothing. Only on the day of his departure, with - the hall-door open already, holding her hands and looking steadily into - her eyes, he had said, "You know, my dear, all I have is for you and the - chicks. Mind you write to me openly." She had answered him by an almost - imperceptible movement of her head. She resembled her mother in - the color of her eyes, and in character--and also in this, that she - understood him without many words.</p> - - <p>Sure enough she had to write; and some of these letters made Captain - Whalley lift his white eye-brows. For the rest he considered he was - reaping the true reward of his life by being thus able to produce on - demand whatever was needed. He had not enjoyed himself so much in a - way since his wife had died. Characteristically enough his son-in-law's - punctuality in failure caused him at a distance to feel a sort of - kindness towards the man. The fellow was so perpetually being jammed on - a lee shore that to charge it all to his reckless navigation would be - manifestly unfair. No, no! He knew well what that meant. It was bad - luck. His own had been simply marvelous, but he had seen in his life too - many good men--seamen and others--go under with the sheer weight of bad - luck not to recognize the fatal signs. For all that, he was cogitating - on the best way of tying up very strictly every penny he had to leave, - when, with a preliminary rumble of rumors (whose first sound reached - him in Shanghai as it happened), the shock of the big failure came; - and, after passing through the phases of stupor, of incredulity, of - indignation, he had to accept the fact that he had nothing to speak of - to leave.</p> - - <p>Upon that, as if he had only waited for this catastrophe, the unlucky - man, away there in Melbourne, gave up his unprofitable game, and sat - down--in an invalid's bath-chair at that too. "He will never walk - again," wrote the wife. For the first time in his life Captain Whalley - was a bit staggered.</p> - - <p>The Fair Maid had to go to work in bitter earnest now. It was no longer - a matter of preserving alive the memory of Dare-devil Harry Whalley in - the Eastern Seas, or of keeping an old man in pocket-money and clothes, - with, perhaps, a bill for a few hundred first-class cigars thrown in at - the end of the year. He would have to buckle-to, and keep her going hard - on a scant allowance of gilt for the ginger-bread scrolls at her stem - and stern.</p> - - <p>This necessity opened his eyes to the fundamental changes of the world. - Of his past only the familiar names remained, here and there, but - the things and the men, as he had known them, were gone. The name of - Gardner, Patteson, & Co. was still displayed on the walls of warehouses - by the waterside, on the brass plates and window-panes in the business - quarters of more than one Eastern port, but there was no longer a - Gardner or a Patteson in the firm. There was no longer for Captain - Whalley an arm-chair and a welcome in the private office, with a bit of - business ready to be put in the way of an old friend, for the sake of - bygone services. The husbands of the Gardner girls sat behind the desks - in that room where, long after he had left the employ, he had kept his - right of entrance in the old man's time. Their ships now had yellow - funnels with black tops, and a time-table of appointed routes like a - confounded service of tramways. The winds of December and June were all - one to them; their captains (excellent young men he doubted not) were, - to be sure, familiar with Whalley Island, because of late years the - Government had established a white fixed light on the north end (with - a red danger sector over the Condor Reef), but most of them would have - been extremely surprised to hear that a flesh-and-blood Whalley still - existed--an old man going about the world trying to pick up a cargo here - and there for his little bark.</p> - - <p>And everywhere it was the same. Departed the men who would have nodded - appreciatively at the mention of his name, and would have thought - themselves bound in honor to do something for Dare-devil Harry Whalley. - Departed the opportunities which he would have known how to seize; and - gone with them the white-winged flock of clippers that lived in the - boisterous uncertain life of the winds, skimming big fortunes out of - the foam of the sea. In a world that pared down the profits to an - irreducible minimum, in a world that was able to count its disengaged - tonnage twice over every day, and in which lean charters were snapped up - by cable three months in advance, there were no chances of fortune for - an individual wandering haphazard with a little bark--hardly indeed any - room to exist.</p> - - <p>He found it more difficult from year to year. He suffered greatly from - the smallness of remittances he was able to send his daughter. Meantime - he had given up good cigars, and even in the matter of inferior cheroots - limited himself to six a day. He never told her of his difficulties, and - she never enlarged upon her struggle to live. Their confidence in each - other needed no explanations, and their perfect understanding endured - without protestations of gratitude or regret. He would have been shocked - if she had taken it into her head to thank him in so many words, but - he found it perfectly natural that she should tell him she needed two - hundred pounds.</p> - - <p>He had come in with the Fair Maid in ballast to look for a freight in - the Sofala's port of registry, and her letter met him there. Its tenor - was that it was no use mincing matters. Her only resource was in opening - a boarding-house, for which the prospects, she judged, were good. Good - enough, at any rate, to make her tell him frankly that with two hundred - pounds she could make a start. He had torn the envelope open, hastily, - on deck, where it was handed to him by the ship-chandler's runner, who - had brought his mail at the moment of anchoring. For the second time - in his life he was appalled, and remained stock-still at the cabin door - with the paper trembling between his fingers. Open a boarding-house! Two - hundred pounds for a start! The only resource! And he did not know where - to lay his hands on two hundred pence.</p> - - <p>All that night Captain Whalley walked the poop of his anchored ship, as - though he had been about to close with the land in thick weather, and - uncertain of his position after a run of many gray days without a sight - of sun, moon, or stars. The black night twinkled with the guiding lights - of seamen and the steady straight lines of lights on shore; and all - around the Fair Maid the riding lights of ships cast trembling trails - upon the water of the roadstead. Captain Whalley saw not a gleam - anywhere till the dawn broke and he found out that his clothing was - soaked through with the heavy dew.</p> - - <p>His ship was awake. He stopped short, stroked his wet beard, and - descended the poop ladder backwards, with tired feet. At the sight - of him the chief officer, lounging about sleepily on the quarterdeck, - remained open-mouthed in the middle of a great early-morning yawn.</p> - - <p>"Good morning to you," pronounced Captain Whalley solemnly, passing into - the cabin. But he checked himself in the doorway, and without looking - back, "By the bye," he said, "there should be an empty wooden case put - away in the lazarette. It has not been broken up--has it?"</p> - - <p>The mate shut his mouth, and then asked as if dazed, "What empty case, - sir?"</p> - - <p>"A big flat packing-case belonging to that painting in my room. Let it - be taken up on deck and tell the carpenter to look it over. I may want - to use it before long."</p> - - <p>The chief officer did not stir a limb till he had heard the door of the - captain's state-room slam within the cuddy. Then he beckoned aft the - second mate with his forefinger to tell him that there was something "in - the wind."</p> - - <p>When the bell rang Captain Whalley's authoritative voice boomed out - through a closed door, "Sit down and don't wait for me." And his - impressed officers took their places, exchanging looks and whispers - across the table. What! No breakfast? And after apparently knocking - about all night on deck, too! Clearly, there was something in the wind. - In the skylight above their heads, bowed earnestly over the plates, - three wire cages rocked and rattled to the restless jumping of the - hungry canaries; and they could detect the sounds of their "old - man's" deliberate movements within his state-room. Captain Whalley was - methodically winding up the chronometers, dusting the portrait of - his late wife, getting a clean white shirt out of the drawers, making - himself ready in his punctilious unhurried manner to go ashore. He could - not have swallowed a single mouthful of food that morning. He had made - up his mind to sell the Fair Maid.</p> - </div> - - <div class="pointer"></div> - - <style> - body { - cursor: pointer; - } - .scroll { - height: 80vh; - width: 80vw; - max-height: 600px; - position: fixed; - top: 5em; - left: 10vw; - - overflow-y: scroll; - padding: 4em; - box-sizing: border-box; - line-height: 1.2; - } - .scroll::-webkit-scrollbar, .scroll::-webkit-scrollbar-track, .scroll::-webkit-scrollbar-thumb { - display: none; - } - - .pointer { - height: 3.6em; - width: 77vw; - border: 5px solid #CCC; - border-radius: 15px; - background-color: rgba(0, 0, 0, 0.05); - pointer-events: none; - } - .highlight { - background-color: rgba(255, 255, 0, 0.3); - } - .hover { - background-color: rgba(0, 255, 255, 0.2); - } - </style> - - <script src="//github.hubspot.com/tether/dist/js/tether.js"></script> - <script> - var pointer = document.querySelector('.pointer'); - var scroll = document.querySelector('.scroll'); - - // This creates the pointer tether and links it up - // with the scroll handle - new Tether({ - element: pointer, - target: scroll, - attachment: 'middle right', - targetAttachment: 'middle left', - targetModifier: 'scroll-handle' - }); - - // Everything after this is for the highlighting effect - var paras = document.querySelectorAll('p'); - for(var i=paras.length; i--;){ - var sents = paras[i].innerHTML.split('.'); - for (var j=sents.length; j--;){ - if (sents[j].trim().length) - sents[j] = '<span>' + sents[j] + '.</span>'; - } - paras[i].innerHTML = sents.join(''); - } - - var spans = document.querySelectorAll('p span'); - - function highlight(){ - if (!spans) return; - - var bar = pointer.getBoundingClientRect(); - - for (var i=spans.length; i--;){ - var coord = spans[i].getBoundingClientRect(); - - if (bar.top < coord.top && bar.bottom > coord.top){ - spans[i].classList.add('hover'); - } else if (spans[i].classList.contains('hover')) { - spans[i].classList.remove('hover'); - } - } - - requestAnimationFrame(highlight); - } - - highlight(); - - document.body.addEventListener('click', function(){ - var els = document.querySelectorAll('.hover'); - for (var i=els.length; i--;) - els[i].classList.toggle('highlight'); - }); - </script> - </body> -</html> diff --git a/minionlivesmatter/templates/assets/tether/examples/enable-disable/index.html b/minionlivesmatter/templates/assets/tether/examples/enable-disable/index.html deleted file mode 100644 index 00036d4..0000000 --- a/minionlivesmatter/templates/assets/tether/examples/enable-disable/index.html +++ /dev/null @@ -1,37 +0,0 @@ -<!DOCTYPE html> -<html> - <head> - <meta charset="utf-8"> - <meta http-equiv="X-UA-Compatible" content="chrome=1"> - <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> - <link rel="stylesheet" href="../resources/css/base.css" /> - <link rel="stylesheet" href="../common/css/style.css" /> - </head> - <body> - <div class="instructions">Click the green target to enable/disable the tethering.</div> - - <div class="element"></div> - <div class="container"> - <div class="pad"></div> - <div class="target"></div> - <div class="pad"></div> - </div> - - <script src="//github.hubspot.com/tether/dist/js/tether.js"></script> - <script> - var tether = new Tether({ - element: '.element', - target: '.target', - attachment: 'top left', - targetAttachment: 'top right' - }); - - document.querySelector('.target').addEventListener('click', function(){ - if (tether.enabled) - tether.disable(); - else - tether.enable(); - }); - </script> - </body> -</html> diff --git a/minionlivesmatter/templates/assets/tether/examples/facebook/facebook.css b/minionlivesmatter/templates/assets/tether/examples/facebook/facebook.css deleted file mode 100644 index eae1508..0000000 --- a/minionlivesmatter/templates/assets/tether/examples/facebook/facebook.css +++ /dev/null @@ -1,86 +0,0 @@ -.drop-target.drop-open { - outline: 2px solid; -} - -.body { - position: relative; - margin-right: 300px; -} - -.page { - max-width: 100%; - width: 1080px; - padding: 0 10px; - box-sizing: border-box; - margin: 0 auto; -} - -.navigation { - background: blue; - color: #fff; - margin-right: 300px; - margin-bottom: 30px; -} - -.navigation .item a { - padding: 30px 20px; - display: inline-block; -} - -.navigation .item a { - color: inherit; -} - -.navigation .drop-target.drop-open { - background: #fff; - color: blue; - outline: none; -} - -.right-sidebar { - position: fixed; - height: 50%; - width: 300px; - background: #eee; - overflow: auto; - right: 0; -} - -.right-sidebar .drop-target.drop-open { - background: blue; - color: #fff; - outline: none; -} - -.right-sidebar .item a { - display: block; - padding: 20px; - margin-bottom: 10px; - background: rgba(0, 0, 0, .1); -} - -.right-sidebar-top { - top: 0; -} - -.right-sidebar-bottom { - top: 50%; - background: #ccc; -} - -.scroll-container { - position: relative; - overflow: auto; - background: #eee; - padding: 20px; - margin-bottom: 20px; - margin-right: 20px; - height: 200px; - width: 200px; -} - -.absolute-container { - position: absolute; - top: 20px; - right: 300px; -} diff --git a/minionlivesmatter/templates/assets/tether/examples/facebook/index.html b/minionlivesmatter/templates/assets/tether/examples/facebook/index.html deleted file mode 100644 index d4bcf8e..0000000 --- a/minionlivesmatter/templates/assets/tether/examples/facebook/index.html +++ /dev/null @@ -1,209 +0,0 @@ -<!DOCTYPE html> -<html> - <head> - <meta charset="utf-8"> - <meta http-equiv="X-UA-Compatible" content="chrome=1"> - <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> - <link rel="stylesheet" href="../../css/drop.css" /> - <link rel="stylesheet" href="../../css/drop-theme-default.css" /> - <link rel="stylesheet" href="../../css/drop-theme-arrows.css" /> - <link rel="stylesheet" href="../resources/css/base.css" /> - <link rel="stylesheet" href="facebook.css" /> - </head> - <body> - <div class="navigation"> - <div class="page"> - <span class="item">DROPBOOK</span> - <span class="item"> - <a class="drop-target" data-constrain="false" data-attach="bottom left">DROP</a> - </span> - <span class="item"> - <a class="drop-target" data-constrain="false" data-attach="bottom left">DROP</a> - </span> - <span class="item"> - <a class="drop-target" data-constrain="false" data-attach="bottom left">DROP</a> - </span> - </div> - </div> - <div class="right-sidebar right-sidebar-top"> - <div class="item"> - <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left top">DROP</a> - </div> - <div class="item"> - <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left top">DROP</a> - </div> - <div class="item"> - <a class="drop-target" data-constrain="true" data-class="drop-theme-arrows" data-attach="left top">DROP</a> - </div> - <div class="item"> - <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left top">DROP</a> - </div> - <div class="item"> - <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left top">DROP</a> - </div> - <div class="item"> - <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left top">DROP</a> - </div> - <div class="item"> - <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left top">DROP</a> - </div> - <div class="item"> - <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left top">DROP</a> - </div> - <div class="item"> - <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left top">DROP</a> - </div> - <div class="item"> - <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left top">DROP</a> - </div> - <div class="item"> - <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left top">DROP</a> - </div> - <div class="item"> - <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left top">DROP</a> - </div> - <div class="item"> - <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left top">DROP</a> - </div> - <div class="item"> - <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left top">DROP</a> - </div> - <div class="item"> - <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left top">DROP</a> - </div> - <div class="item"> - <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left top">DROP</a> - </div> - </div> - <div class="right-sidebar right-sidebar-bottom"> - <div class="item"> - <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left bottom">DROP</a> - </div> - <div class="item"> - <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left bottom">DROP</a> - </div> - <div class="item"> - <a class="drop-target" data-constrain="true" data-class="drop-theme-arrows" data-attach="left bottom">DROP</a> - </div> - <div class="item"> - <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left bottom">DROP</a> - </div> - <div class="item"> - <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left bottom">DROP</a> - </div> - <div class="item"> - <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left bottom">DROP</a> - </div> - <div class="item"> - <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left bottom">DROP</a> - </div> - <div class="item"> - <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left bottom">DROP</a> - </div> - <div class="item"> - <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left bottom">DROP</a> - </div> - <div class="item"> - <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left bottom">DROP</a> - </div> - <div class="item"> - <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left bottom">DROP</a> - </div> - <div class="item"> - <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left bottom">DROP</a> - </div> - <div class="item"> - <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left bottom">DROP</a> - </div> - <div class="item"> - <a class="drop-target" data-constrain="false" data-class="drop-theme-arrows" data-attach="left bottom">DROP</a> - </div> - </div> - <div class="body"> - <div class="page"> - Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor<br/> - incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud<br/> - exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.<br/><br/> - - Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor<br/> - incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud<br/> - exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.<br/><br/> - - Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor<br/> - incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud<br/> - exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.<br/><br/> - - Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor<br/> - incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud<br/> - exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.<br/><br/> - - <a class="drop-target" data-constrain="true" data-attach="bottom left">DROP</a><br/><br/> - <div class="scroll-container"> - Lorem ipsum dolor sit amet, consectetur adipisicing elit, - Lorem ipsum dolor sit amet, consectetur adipisicing elit, - Lorem ipsum dolor sit amet, consectetur adipisicing elit, - Lorem ipsum dolor sit amet, consectetur adipisicing elit, - Lorem ipsum dolor sit amet, consectetur adipisicing elit, - Lorem ipsum dolor sit amet, consectetur adipisicing elit, - Lorem ipsum dolor sit amet, consectetur adipisicing elit, - <br/><br/><a class="drop-target" data-constrain="true" data-attach="bottom left">DROP</a><br/><br/> sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.<br/> - Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<br/> - </div> - Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<br/><br/> - Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<br/><br/> - Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<br/><br/> - Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<br/><br/> - <div class="scroll-container"> - <br/> - <a class="drop-target" data-constrain="true" data-attach="bottom left">DROP</a><br/> - <br/> - <div style="width: 150%; background: #ccc; height: 1px"></div> - </div> - <div class="scroll-container"> - Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.<br/> - Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.<br/> - Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.<br/> - Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.<br/> - Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.<br/> - Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.<br/> - <br/><br/> - <div style="width: 150%; background: #ccc; height: 1px"> - <div style="margin-left: 100%"> - <a class="drop-target" data-constrain="true" data-attach="bottom left">DROP</a> - </div> - </div> - <br/><br/> - Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<br/> - </div> - <div class="scroll-container absolute-container"> - Lorem ipsum dolor sit amet, consectetur adipisicing elit, <br/><br/><a class="drop-target" data-constrain="false" data-attach="left top">DROP</a><br/><br/> sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.<br/> - Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<br/> - </div> - </div> - </div> - - <script src="../resources/js/log.js"></script> - <script src="../resources/js/jquery.js"></script> - <script src="../../utils.js"></script> - <script src="../../tether.js"></script> - <script src="../../drop.js"></script> - <script src="../../constraint.js"></script> - <style> - .drop .drop-content { - min-height: 100px; - min-width: 100px; - } - </style> - <script> - $('.drop-target').each(function(){ - new Drop({ - target: this, - className: $(this).data().class || 'drop-theme-default', - attach: $(this).data().attach, - constrainToScrollParent: $(this).data().constrain, - openOn: 'click' - }); - }); - </script> - </body> -</html> diff --git a/minionlivesmatter/templates/assets/tether/examples/out-of-bounds/index.html b/minionlivesmatter/templates/assets/tether/examples/out-of-bounds/index.html deleted file mode 100644 index c2a8c6d..0000000 --- a/minionlivesmatter/templates/assets/tether/examples/out-of-bounds/index.html +++ /dev/null @@ -1,38 +0,0 @@ -<!DOCTYPE html> -<html> - <head> - <meta charset="utf-8"> - <meta http-equiv="X-UA-Compatible" content="chrome=1"> - <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> - <link rel="stylesheet" href="../resources/css/base.css" /> - <link rel="stylesheet" href="../common/css/style.css" /> - <style> - .tether-element.tether-out-of-bounds { - display: none; - } - </style> - </head> - <body> - <div class="instructions">Resize the screen to see the tethered element disappear when it can't fit.</div> - - <div class="element"></div> - <div class="target"></div> - - <script src="//github.hubspot.com/tether/dist/js/tether.js"></script> - <script> - var tether = new Tether({ - element: '.element', - target: '.target', - attachment: 'top left', - targetAttachment: 'top right', - constraints: [{ - to: 'window', - attachment: 'together' - }] - }); - tether.on('update', function(event) { - console.log(event); - }); - </script> - </body> -</html> diff --git a/minionlivesmatter/templates/assets/tether/examples/pin/index.html b/minionlivesmatter/templates/assets/tether/examples/pin/index.html deleted file mode 100644 index cd040ab..0000000 --- a/minionlivesmatter/templates/assets/tether/examples/pin/index.html +++ /dev/null @@ -1,30 +0,0 @@ -<!DOCTYPE html> -<html> - <head> - <meta charset="utf-8"> - <meta http-equiv="X-UA-Compatible" content="chrome=1"> - <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> - <link rel="stylesheet" href="../resources/css/base.css" /> - <link rel="stylesheet" href="../common/css/style.css" /> - </head> - <body> - <div class="instructions">Resize the screen to see the tethered element stick to the edges of the screen when it's resized.</div> - - <div class="element"></div> - <div class="target"></div> - - <script src="//github.hubspot.com/tether/dist/js/tether.js"></script> - <script> - new Tether({ - element: '.element', - target: '.target', - attachment: 'top left', - targetAttachment: 'top right', - constraints: [{ - to: 'window', - pin: true - }] - }); - </script> - </body> -</html> diff --git a/minionlivesmatter/templates/assets/tether/examples/resources/css/base.css b/minionlivesmatter/templates/assets/tether/examples/resources/css/base.css deleted file mode 100644 index 8006e9d..0000000 --- a/minionlivesmatter/templates/assets/tether/examples/resources/css/base.css +++ /dev/null @@ -1,10 +0,0 @@ -body { - font-family: "Helvetica Neue", sans-serif; - color: #444; - margin: 0px; -} - -a { - cursor: pointer; - color: blue; -}
\ No newline at end of file diff --git a/minionlivesmatter/templates/assets/tether/examples/resources/js/jquery.js b/minionlivesmatter/templates/assets/tether/examples/resources/js/jquery.js deleted file mode 100644 index a4faed1..0000000 --- a/minionlivesmatter/templates/assets/tether/examples/resources/js/jquery.js +++ /dev/null @@ -1,9597 +0,0 @@ -/*! - * jQuery JavaScript Library v1.9.1 - * http://jquery.com/ - * - * Includes Sizzle.js - * http://sizzlejs.com/ - * - * Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors - * Released under the MIT license - * http://jquery.org/license - * - * Date: 2013-2-4 - */ -(function( window, undefined ) { - -// Can't do this because several apps including ASP.NET trace -// the stack via arguments.caller.callee and Firefox dies if -// you try to trace through "use strict" call chains. (#13335) -// Support: Firefox 18+ -//"use strict"; -var - // The deferred used on DOM ready - readyList, - - // A central reference to the root jQuery(document) - rootjQuery, - - // Support: IE<9 - // For `typeof node.method` instead of `node.method !== undefined` - core_strundefined = typeof undefined, - - // Use the correct document accordingly with window argument (sandbox) - document = window.document, - location = window.location, - - // Map over jQuery in case of overwrite - _jQuery = window.jQuery, - - // Map over the $ in case of overwrite - _$ = window.$, - - // [[Class]] -> type pairs - class2type = {}, - - // List of deleted data cache ids, so we can reuse them - core_deletedIds = [], - - core_version = "1.9.1", - - // Save a reference to some core methods - core_concat = core_deletedIds.concat, - core_push = core_deletedIds.push, - core_slice = core_deletedIds.slice, - core_indexOf = core_deletedIds.indexOf, - core_toString = class2type.toString, - core_hasOwn = class2type.hasOwnProperty, - core_trim = core_version.trim, - - // Define a local copy of jQuery - jQuery = function( selector, context ) { - // The jQuery object is actually just the init constructor 'enhanced' - return new jQuery.fn.init( selector, context, rootjQuery ); - }, - - // Used for matching numbers - core_pnum = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, - - // Used for splitting on whitespace - core_rnotwhite = /\S+/g, - - // Make sure we trim BOM and NBSP (here's looking at you, Safari 5.0 and IE) - rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, - - // A simple way to check for HTML strings - // Prioritize #id over <tag> to avoid XSS via location.hash (#9521) - // Strict HTML recognition (#11290: must start with <) - rquickExpr = /^(?:(<[\w\W]+>)[^>]*|#([\w-]*))$/, - - // Match a standalone tag - rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>|)$/, - - // JSON RegExp - rvalidchars = /^[\],:{}\s]*$/, - rvalidbraces = /(?:^|:|,)(?:\s*\[)+/g, - rvalidescape = /\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g, - rvalidtokens = /"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g, - - // Matches dashed string for camelizing - rmsPrefix = /^-ms-/, - rdashAlpha = /-([\da-z])/gi, - - // Used by jQuery.camelCase as callback to replace() - fcamelCase = function( all, letter ) { - return letter.toUpperCase(); - }, - - // The ready event handler - completed = function( event ) { - - // readyState === "complete" is good enough for us to call the dom ready in oldIE - if ( document.addEventListener || event.type === "load" || document.readyState === "complete" ) { - detach(); - jQuery.ready(); - } - }, - // Clean-up method for dom ready events - detach = function() { - if ( document.addEventListener ) { - document.removeEventListener( "DOMContentLoaded", completed, false ); - window.removeEventListener( "load", completed, false ); - - } else { - document.detachEvent( "onreadystatechange", completed ); - window.detachEvent( "onload", completed ); - } - }; - -jQuery.fn = jQuery.prototype = { - // The current version of jQuery being used - jquery: core_version, - - constructor: jQuery, - init: function( selector, context, rootjQuery ) { - var match, elem; - - // HANDLE: $(""), $(null), $(undefined), $(false) - if ( !selector ) { - return this; - } - - // Handle HTML strings - if ( typeof selector === "string" ) { - if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) { - // Assume that strings that start and end with <> are HTML and skip the regex check - match = [ null, selector, null ]; - - } else { - match = rquickExpr.exec( selector ); - } - - // Match html or make sure no context is specified for #id - if ( match && (match[1] || !context) ) { - - // HANDLE: $(html) -> $(array) - if ( match[1] ) { - context = context instanceof jQuery ? context[0] : context; - - // scripts is true for back-compat - jQuery.merge( this, jQuery.parseHTML( - match[1], - context && context.nodeType ? context.ownerDocument || context : document, - true - ) ); - - // HANDLE: $(html, props) - if ( rsingleTag.test( match[1] ) && jQuery.isPlainObject( context ) ) { - for ( match in context ) { - // Properties of context are called as methods if possible - if ( jQuery.isFunction( this[ match ] ) ) { - this[ match ]( context[ match ] ); - - // ...and otherwise set as attributes - } else { - this.attr( match, context[ match ] ); - } - } - } - - return this; - - // HANDLE: $(#id) - } else { - elem = document.getElementById( match[2] ); - - // Check parentNode to catch when Blackberry 4.6 returns - // nodes that are no longer in the document #6963 - if ( elem && elem.parentNode ) { - // Handle the case where IE and Opera return items - // by name instead of ID - if ( elem.id !== match[2] ) { - return rootjQuery.find( selector ); - } - - // Otherwise, we inject the element directly into the jQuery object - this.length = 1; - this[0] = elem; - } - - this.context = document; - this.selector = selector; - return this; - } - - // HANDLE: $(expr, $(...)) - } else if ( !context || context.jquery ) { - return ( context || rootjQuery ).find( selector ); - - // HANDLE: $(expr, context) - // (which is just equivalent to: $(context).find(expr) - } else { - return this.constructor( context ).find( selector ); - } - - // HANDLE: $(DOMElement) - } else if ( selector.nodeType ) { - this.context = this[0] = selector; - this.length = 1; - return this; - - // HANDLE: $(function) - // Shortcut for document ready - } else if ( jQuery.isFunction( selector ) ) { - return rootjQuery.ready( selector ); - } - - if ( selector.selector !== undefined ) { - this.selector = selector.selector; - this.context = selector.context; - } - - return jQuery.makeArray( selector, this ); - }, - - // Start with an empty selector - selector: "", - - // The default length of a jQuery object is 0 - length: 0, - - // The number of elements contained in the matched element set - size: function() { - return this.length; - }, - - toArray: function() { - return core_slice.call( this ); - }, - - // Get the Nth element in the matched element set OR - // Get the whole matched element set as a clean array - get: function( num ) { - return num == null ? - - // Return a 'clean' array - this.toArray() : - - // Return just the object - ( num < 0 ? this[ this.length + num ] : this[ num ] ); - }, - - // Take an array of elements and push it onto the stack - // (returning the new matched element set) - pushStack: function( elems ) { - - // Build a new jQuery matched element set - var ret = jQuery.merge( this.constructor(), elems ); - - // Add the old object onto the stack (as a reference) - ret.prevObject = this; - ret.context = this.context; - - // Return the newly-formed element set - return ret; - }, - - // Execute a callback for every element in the matched set. - // (You can seed the arguments with an array of args, but this is - // only used internally.) - each: function( callback, args ) { - return jQuery.each( this, callback, args ); - }, - - ready: function( fn ) { - // Add the callback - jQuery.ready.promise().done( fn ); - - return this; - }, - - slice: function() { - return this.pushStack( core_slice.apply( this, arguments ) ); - }, - - first: function() { - return this.eq( 0 ); - }, - - last: function() { - return this.eq( -1 ); - }, - - eq: function( i ) { - var len = this.length, - j = +i + ( i < 0 ? len : 0 ); - return this.pushStack( j >= 0 && j < len ? [ this[j] ] : [] ); - }, - - map: function( callback ) { - return this.pushStack( jQuery.map(this, function( elem, i ) { - return callback.call( elem, i, elem ); - })); - }, - - end: function() { - return this.prevObject || this.constructor(null); - }, - - // For internal use only. - // Behaves like an Array's method, not like a jQuery method. - push: core_push, - sort: [].sort, - splice: [].splice -}; - -// Give the init function the jQuery prototype for later instantiation -jQuery.fn.init.prototype = jQuery.fn; - -jQuery.extend = jQuery.fn.extend = function() { - var src, copyIsArray, copy, name, options, clone, - target = arguments[0] || {}, - i = 1, - length = arguments.length, - deep = false; - - // Handle a deep copy situation - if ( typeof target === "boolean" ) { - deep = target; - target = arguments[1] || {}; - // skip the boolean and the target - i = 2; - } - - // Handle case when target is a string or something (possible in deep copy) - if ( typeof target !== "object" && !jQuery.isFunction(target) ) { - target = {}; - } - - // extend jQuery itself if only one argument is passed - if ( length === i ) { - target = this; - --i; - } - - for ( ; i < length; i++ ) { - // Only deal with non-null/undefined values - if ( (options = arguments[ i ]) != null ) { - // Extend the base object - for ( name in options ) { - src = target[ name ]; - copy = options[ name ]; - - // Prevent never-ending loop - if ( target === copy ) { - continue; - } - - // Recurse if we're merging plain objects or arrays - if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) { - if ( copyIsArray ) { - copyIsArray = false; - clone = src && jQuery.isArray(src) ? src : []; - - } else { - clone = src && jQuery.isPlainObject(src) ? src : {}; - } - - // Never move original objects, clone them - target[ name ] = jQuery.extend( deep, clone, copy ); - - // Don't bring in undefined values - } else if ( copy !== undefined ) { - target[ name ] = copy; - } - } - } - } - - // Return the modified object - return target; -}; - -jQuery.extend({ - noConflict: function( deep ) { - if ( window.$ === jQuery ) { - window.$ = _$; - } - - if ( deep && window.jQuery === jQuery ) { - window.jQuery = _jQuery; - } - - return jQuery; - }, - - // Is the DOM ready to be used? Set to true once it occurs. - isReady: false, - - // A counter to track how many items to wait for before - // the ready event fires. See #6781 - readyWait: 1, - - // Hold (or release) the ready event - holdReady: function( hold ) { - if ( hold ) { - jQuery.readyWait++; - } else { - jQuery.ready( true ); - } - }, - - // Handle when the DOM is ready - ready: function( wait ) { - - // Abort if there are pending holds or we're already ready - if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { - return; - } - - // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). - if ( !document.body ) { - return setTimeout( jQuery.ready ); - } - - // Remember that the DOM is ready - jQuery.isReady = true; - - // If a normal DOM Ready event fired, decrement, and wait if need be - if ( wait !== true && --jQuery.readyWait > 0 ) { - return; - } - - // If there are functions bound, to execute - readyList.resolveWith( document, [ jQuery ] ); - - // Trigger any bound ready events - if ( jQuery.fn.trigger ) { - jQuery( document ).trigger("ready").off("ready"); - } - }, - - // See test/unit/core.js for details concerning isFunction. - // Since version 1.3, DOM methods and functions like alert - // aren't supported. They return false on IE (#2968). - isFunction: function( obj ) { - return jQuery.type(obj) === "function"; - }, - - isArray: Array.isArray || function( obj ) { - return jQuery.type(obj) === "array"; - }, - - isWindow: function( obj ) { - return obj != null && obj == obj.window; - }, - - isNumeric: function( obj ) { - return !isNaN( parseFloat(obj) ) && isFinite( obj ); - }, - - type: function( obj ) { - if ( obj == null ) { - return String( obj ); - } - return typeof obj === "object" || typeof obj === "function" ? - class2type[ core_toString.call(obj) ] || "object" : - typeof obj; - }, - - isPlainObject: function( obj ) { - // Must be an Object. - // Because of IE, we also have to check the presence of the constructor property. - // Make sure that DOM nodes and window objects don't pass through, as well - if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) { - return false; - } - - try { - // Not own constructor property must be Object - if ( obj.constructor && - !core_hasOwn.call(obj, "constructor") && - !core_hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) { - return false; - } - } catch ( e ) { - // IE8,9 Will throw exceptions on certain host objects #9897 - return false; - } - - // Own properties are enumerated firstly, so to speed up, - // if last one is own, then all properties are own. - - var key; - for ( key in obj ) {} - - return key === undefined || core_hasOwn.call( obj, key ); - }, - - isEmptyObject: function( obj ) { - var name; - for ( name in obj ) { - return false; - } - return true; - }, - - error: function( msg ) { - throw new Error( msg ); - }, - - // data: string of html - // context (optional): If specified, the fragment will be created in this context, defaults to document - // keepScripts (optional): If true, will include scripts passed in the html string - parseHTML: function( data, context, keepScripts ) { - if ( !data || typeof data !== "string" ) { - return null; - } - if ( typeof context === "boolean" ) { - keepScripts = context; - context = false; - } - context = context || document; - - var parsed = rsingleTag.exec( data ), - scripts = !keepScripts && []; - - // Single tag - if ( parsed ) { - return [ context.createElement( parsed[1] ) ]; - } - - parsed = jQuery.buildFragment( [ data ], context, scripts ); - if ( scripts ) { - jQuery( scripts ).remove(); - } - return jQuery.merge( [], parsed.childNodes ); - }, - - parseJSON: function( data ) { - // Attempt to parse using the native JSON parser first - if ( window.JSON && window.JSON.parse ) { - return window.JSON.parse( data ); - } - - if ( data === null ) { - return data; - } - - if ( typeof data === "string" ) { - - // Make sure leading/trailing whitespace is removed (IE can't handle it) - data = jQuery.trim( data ); - - if ( data ) { - // Make sure the incoming data is actual JSON - // Logic borrowed from http://json.org/json2.js - if ( rvalidchars.test( data.replace( rvalidescape, "@" ) - .replace( rvalidtokens, "]" ) - .replace( rvalidbraces, "")) ) { - - return ( new Function( "return " + data ) )(); - } - } - } - - jQuery.error( "Invalid JSON: " + data ); - }, - - // Cross-browser xml parsing - parseXML: function( data ) { - var xml, tmp; - if ( !data || typeof data !== "string" ) { - return null; - } - try { - if ( window.DOMParser ) { // Standard - tmp = new DOMParser(); - xml = tmp.parseFromString( data , "text/xml" ); - } else { // IE - xml = new ActiveXObject( "Microsoft.XMLDOM" ); - xml.async = "false"; - xml.loadXML( data ); - } - } catch( e ) { - xml = undefined; - } - if ( !xml || !xml.documentElement || xml.getElementsByTagName( "parsererror" ).length ) { - jQuery.error( "Invalid XML: " + data ); - } - return xml; - }, - - noop: function() {}, - - // Evaluates a script in a global context - // Workarounds based on findings by Jim Driscoll - // http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context - globalEval: function( data ) { - if ( data && jQuery.trim( data ) ) { - // We use execScript on Internet Explorer - // We use an anonymous function so that context is window - // rather than jQuery in Firefox - ( window.execScript || function( data ) { - window[ "eval" ].call( window, data ); - } )( data ); - } - }, - - // Convert dashed to camelCase; used by the css and data modules - // Microsoft forgot to hump their vendor prefix (#9572) - camelCase: function( string ) { - return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); - }, - - nodeName: function( elem, name ) { - return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); - }, - - // args is for internal usage only - each: function( obj, callback, args ) { - var value, - i = 0, - length = obj.length, - isArray = isArraylike( obj ); - - if ( args ) { - if ( isArray ) { - for ( ; i < length; i++ ) { - value = callback.apply( obj[ i ], args ); - - if ( value === false ) { - break; - } - } - } else { - for ( i in obj ) { - value = callback.apply( obj[ i ], args ); - - if ( value === false ) { - break; - } - } - } - - // A special, fast, case for the most common use of each - } else { - if ( isArray ) { - for ( ; i < length; i++ ) { - value = callback.call( obj[ i ], i, obj[ i ] ); - - if ( value === false ) { - break; - } - } - } else { - for ( i in obj ) { - value = callback.call( obj[ i ], i, obj[ i ] ); - - if ( value === false ) { - break; - } - } - } - } - - return obj; - }, - - // Use native String.trim function wherever possible - trim: core_trim && !core_trim.call("\uFEFF\xA0") ? - function( text ) { - return text == null ? - "" : - core_trim.call( text ); - } : - - // Otherwise use our own trimming functionality - function( text ) { - return text == null ? - "" : - ( text + "" ).replace( rtrim, "" ); - }, - - // results is for internal usage only - makeArray: function( arr, results ) { - var ret = results || []; - - if ( arr != null ) { - if ( isArraylike( Object(arr) ) ) { - jQuery.merge( ret, - typeof arr === "string" ? - [ arr ] : arr - ); - } else { - core_push.call( ret, arr ); - } - } - - return ret; - }, - - inArray: function( elem, arr, i ) { - var len; - - if ( arr ) { - if ( core_indexOf ) { - return core_indexOf.call( arr, elem, i ); - } - - len = arr.length; - i = i ? i < 0 ? Math.max( 0, len + i ) : i : 0; - - for ( ; i < len; i++ ) { - // Skip accessing in sparse arrays - if ( i in arr && arr[ i ] === elem ) { - return i; - } - } - } - - return -1; - }, - - merge: function( first, second ) { - var l = second.length, - i = first.length, - j = 0; - - if ( typeof l === "number" ) { - for ( ; j < l; j++ ) { - first[ i++ ] = second[ j ]; - } - } else { - while ( second[j] !== undefined ) { - first[ i++ ] = second[ j++ ]; - } - } - - first.length = i; - - return first; - }, - - grep: function( elems, callback, inv ) { - var retVal, - ret = [], - i = 0, - length = elems.length; - inv = !!inv; - - // Go through the array, only saving the items - // that pass the validator function - for ( ; i < length; i++ ) { - retVal = !!callback( elems[ i ], i ); - if ( inv !== retVal ) { - ret.push( elems[ i ] ); - } - } - - return ret; - }, - - // arg is for internal usage only - map: function( elems, callback, arg ) { - var value, - i = 0, - length = elems.length, - isArray = isArraylike( elems ), - ret = []; - - // Go through the array, translating each of the items to their - if ( isArray ) { - for ( ; i < length; i++ ) { - value = callback( elems[ i ], i, arg ); - - if ( value != null ) { - ret[ ret.length ] = value; - } - } - - // Go through every key on the object, - } else { - for ( i in elems ) { - value = callback( elems[ i ], i, arg ); - - if ( value != null ) { - ret[ ret.length ] = value; - } - } - } - - // Flatten any nested arrays - return core_concat.apply( [], ret ); - }, - - // A global GUID counter for objects - guid: 1, - - // Bind a function to a context, optionally partially applying any - // arguments. - proxy: function( fn, context ) { - var args, proxy, tmp; - - if ( typeof context === "string" ) { - tmp = fn[ context ]; - context = fn; - fn = tmp; - } - - // Quick check to determine if target is callable, in the spec - // this throws a TypeError, but we will just return undefined. - if ( !jQuery.isFunction( fn ) ) { - return undefined; - } - - // Simulated bind - args = core_slice.call( arguments, 2 ); - proxy = function() { - return fn.apply( context || this, args.concat( core_slice.call( arguments ) ) ); - }; - - // Set the guid of unique handler to the same of original handler, so it can be removed - proxy.guid = fn.guid = fn.guid || jQuery.guid++; - - return proxy; - }, - - // Multifunctional method to get and set values of a collection - // The value/s can optionally be executed if it's a function - access: function( elems, fn, key, value, chainable, emptyGet, raw ) { - var i = 0, - length = elems.length, - bulk = key == null; - - // Sets many values - if ( jQuery.type( key ) === "object" ) { - chainable = true; - for ( i in key ) { - jQuery.access( elems, fn, i, key[i], true, emptyGet, raw ); - } - - // Sets one value - } else if ( value !== undefined ) { - chainable = true; - - if ( !jQuery.isFunction( value ) ) { - raw = true; - } - - if ( bulk ) { - // Bulk operations run against the entire set - if ( raw ) { - fn.call( elems, value ); - fn = null; - - // ...except when executing function values - } else { - bulk = fn; - fn = function( elem, key, value ) { - return bulk.call( jQuery( elem ), value ); - }; - } - } - - if ( fn ) { - for ( ; i < length; i++ ) { - fn( elems[i], key, raw ? value : value.call( elems[i], i, fn( elems[i], key ) ) ); - } - } - } - - return chainable ? - elems : - - // Gets - bulk ? - fn.call( elems ) : - length ? fn( elems[0], key ) : emptyGet; - }, - - now: function() { - return ( new Date() ).getTime(); - } -}); - -jQuery.ready.promise = function( obj ) { - if ( !readyList ) { - - readyList = jQuery.Deferred(); - - // Catch cases where $(document).ready() is called after the browser event has already occurred. - // we once tried to use readyState "interactive" here, but it caused issues like the one - // discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15 - if ( document.readyState === "complete" ) { - // Handle it asynchronously to allow scripts the opportunity to delay ready - setTimeout( jQuery.ready ); - - // Standards-based browsers support DOMContentLoaded - } else if ( document.addEventListener ) { - // Use the handy event callback - document.addEventListener( "DOMContentLoaded", completed, false ); - - // A fallback to window.onload, that will always work - window.addEventListener( "load", completed, false ); - - // If IE event model is used - } else { - // Ensure firing before onload, maybe late but safe also for iframes - document.attachEvent( "onreadystatechange", completed ); - - // A fallback to window.onload, that will always work - window.attachEvent( "onload", completed ); - - // If IE and not a frame - // continually check to see if the document is ready - var top = false; - - try { - top = window.frameElement == null && document.documentElement; - } catch(e) {} - - if ( top && top.doScroll ) { - (function doScrollCheck() { - if ( !jQuery.isReady ) { - - try { - // Use the trick by Diego Perini - // http://javascript.nwbox.com/IEContentLoaded/ - top.doScroll("left"); - } catch(e) { - return setTimeout( doScrollCheck, 50 ); - } - - // detach all dom ready events - detach(); - - // and execute any waiting functions - jQuery.ready(); - } - })(); - } - } - } - return readyList.promise( obj ); -}; - -// Populate the class2type map -jQuery.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function(i, name) { - class2type[ "[object " + name + "]" ] = name.toLowerCase(); -}); - -function isArraylike( obj ) { - var length = obj.length, - type = jQuery.type( obj ); - - if ( jQuery.isWindow( obj ) ) { - return false; - } - - if ( obj.nodeType === 1 && length ) { - return true; - } - - return type === "array" || type !== "function" && - ( length === 0 || - typeof length === "number" && length > 0 && ( length - 1 ) in obj ); -} - -// All jQuery objects should point back to these -rootjQuery = jQuery(document); -// String to Object options format cache -var optionsCache = {}; - -// Convert String-formatted options into Object-formatted ones and store in cache -function createOptions( options ) { - var object = optionsCache[ options ] = {}; - jQuery.each( options.match( core_rnotwhite ) || [], function( _, flag ) { - object[ flag ] = true; - }); - return object; -} - -/* - * Create a callback list using the following parameters: - * - * options: an optional list of space-separated options that will change how - * the callback list behaves or a more traditional option object - * - * By default a callback list will act like an event callback list and can be - * "fired" multiple times. - * - * Possible options: - * - * once: will ensure the callback list can only be fired once (like a Deferred) - * - * memory: will keep track of previous values and will call any callback added - * after the list has been fired right away with the latest "memorized" - * values (like a Deferred) - * - * unique: will ensure a callback can only be added once (no duplicate in the list) - * - * stopOnFalse: interrupt callings when a callback returns false - * - */ -jQuery.Callbacks = function( options ) { - - // Convert options from String-formatted to Object-formatted if needed - // (we check in cache first) - options = typeof options === "string" ? - ( optionsCache[ options ] || createOptions( options ) ) : - jQuery.extend( {}, options ); - - var // Flag to know if list is currently firing - firing, - // Last fire value (for non-forgettable lists) - memory, - // Flag to know if list was already fired - fired, - // End of the loop when firing - firingLength, - // Index of currently firing callback (modified by remove if needed) - firingIndex, - // First callback to fire (used internally by add and fireWith) - firingStart, - // Actual callback list - list = [], - // Stack of fire calls for repeatable lists - stack = !options.once && [], - // Fire callbacks - fire = function( data ) { - memory = options.memory && data; - fired = true; - firingIndex = firingStart || 0; - firingStart = 0; - firingLength = list.length; - firing = true; - for ( ; list && firingIndex < firingLength; firingIndex++ ) { - if ( list[ firingIndex ].apply( data[ 0 ], data[ 1 ] ) === false && options.stopOnFalse ) { - memory = false; // To prevent further calls using add - break; - } - } - firing = false; - if ( list ) { - if ( stack ) { - if ( stack.length ) { - fire( stack.shift() ); - } - } else if ( memory ) { - list = []; - } else { - self.disable(); - } - } - }, - // Actual Callbacks object - self = { - // Add a callback or a collection of callbacks to the list - add: function() { - if ( list ) { - // First, we save the current length - var start = list.length; - (function add( args ) { - jQuery.each( args, function( _, arg ) { - var type = jQuery.type( arg ); - if ( type === "function" ) { - if ( !options.unique || !self.has( arg ) ) { - list.push( arg ); - } - } else if ( arg && arg.length && type !== "string" ) { - // Inspect recursively - add( arg ); - } - }); - })( arguments ); - // Do we need to add the callbacks to the - // current firing batch? - if ( firing ) { - firingLength = list.length; - // With memory, if we're not firing then - // we should call right away - } else if ( memory ) { - firingStart = start; - fire( memory ); - } - } - return this; - }, - // Remove a callback from the list - remove: function() { - if ( list ) { - jQuery.each( arguments, function( _, arg ) { - var index; - while( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { - list.splice( index, 1 ); - // Handle firing indexes - if ( firing ) { - if ( index <= firingLength ) { - firingLength--; - } - if ( index <= firingIndex ) { - firingIndex--; - } - } - } - }); - } - return this; - }, - // Check if a given callback is in the list. - // If no argument is given, return whether or not list has callbacks attached. - has: function( fn ) { - return fn ? jQuery.inArray( fn, list ) > -1 : !!( list && list.length ); - }, - // Remove all callbacks from the list - empty: function() { - list = []; - return this; - }, - // Have the list do nothing anymore - disable: function() { - list = stack = memory = undefined; - return this; - }, - // Is it disabled? - disabled: function() { - return !list; - }, - // Lock the list in its current state - lock: function() { - stack = undefined; - if ( !memory ) { - self.disable(); - } - return this; - }, - // Is it locked? - locked: function() { - return !stack; - }, - // Call all callbacks with the given context and arguments - fireWith: function( context, args ) { - args = args || []; - args = [ context, args.slice ? args.slice() : args ]; - if ( list && ( !fired || stack ) ) { - if ( firing ) { - stack.push( args ); - } else { - fire( args ); - } - } - return this; - }, - // Call all the callbacks with the given arguments - fire: function() { - self.fireWith( this, arguments ); - return this; - }, - // To know if the callbacks have already been called at least once - fired: function() { - return !!fired; - } - }; - - return self; -}; -jQuery.extend({ - - Deferred: function( func ) { - var tuples = [ - // action, add listener, listener list, final state - [ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ], - [ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ], - [ "notify", "progress", jQuery.Callbacks("memory") ] - ], - state = "pending", - promise = { - state: function() { - return state; - }, - always: function() { - deferred.done( arguments ).fail( arguments ); - return this; - }, - then: function( /* fnDone, fnFail, fnProgress */ ) { - var fns = arguments; - return jQuery.Deferred(function( newDefer ) { - jQuery.each( tuples, function( i, tuple ) { - var action = tuple[ 0 ], - fn = jQuery.isFunction( fns[ i ] ) && fns[ i ]; - // deferred[ done | fail | progress ] for forwarding actions to newDefer - deferred[ tuple[1] ](function() { - var returned = fn && fn.apply( this, arguments ); - if ( returned && jQuery.isFunction( returned.promise ) ) { - returned.promise() - .done( newDefer.resolve ) - .fail( newDefer.reject ) - .progress( newDefer.notify ); - } else { - newDefer[ action + "With" ]( this === promise ? newDefer.promise() : this, fn ? [ returned ] : arguments ); - } - }); - }); - fns = null; - }).promise(); - }, - // Get a promise for this deferred - // If obj is provided, the promise aspect is added to the object - promise: function( obj ) { - return obj != null ? jQuery.extend( obj, promise ) : promise; - } - }, - deferred = {}; - - // Keep pipe for back-compat - promise.pipe = promise.then; - - // Add list-specific methods - jQuery.each( tuples, function( i, tuple ) { - var list = tuple[ 2 ], - stateString = tuple[ 3 ]; - - // promise[ done | fail | progress ] = list.add - promise[ tuple[1] ] = list.add; - - // Handle state - if ( stateString ) { - list.add(function() { - // state = [ resolved | rejected ] - state = stateString; - - // [ reject_list | resolve_list ].disable; progress_list.lock - }, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock ); - } - - // deferred[ resolve | reject | notify ] - deferred[ tuple[0] ] = function() { - deferred[ tuple[0] + "With" ]( this === deferred ? promise : this, arguments ); - return this; - }; - deferred[ tuple[0] + "With" ] = list.fireWith; - }); - - // Make the deferred a promise - promise.promise( deferred ); - - // Call given func if any - if ( func ) { - func.call( deferred, deferred ); - } - - // All done! - return deferred; - }, - - // Deferred helper - when: function( subordinate /* , ..., subordinateN */ ) { - var i = 0, - resolveValues = core_slice.call( arguments ), - length = resolveValues.length, - - // the count of uncompleted subordinates - remaining = length !== 1 || ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0, - - // the master Deferred. If resolveValues consist of only a single Deferred, just use that. - deferred = remaining === 1 ? subordinate : jQuery.Deferred(), - - // Update function for both resolve and progress values - updateFunc = function( i, contexts, values ) { - return function( value ) { - contexts[ i ] = this; - values[ i ] = arguments.length > 1 ? core_slice.call( arguments ) : value; - if( values === progressValues ) { - deferred.notifyWith( contexts, values ); - } else if ( !( --remaining ) ) { - deferred.resolveWith( contexts, values ); - } - }; - }, - - progressValues, progressContexts, resolveContexts; - - // add listeners to Deferred subordinates; treat others as resolved - if ( length > 1 ) { - progressValues = new Array( length ); - progressContexts = new Array( length ); - resolveContexts = new Array( length ); - for ( ; i < length; i++ ) { - if ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) { - resolveValues[ i ].promise() - .done( updateFunc( i, resolveContexts, resolveValues ) ) - .fail( deferred.reject ) - .progress( updateFunc( i, progressContexts, progressValues ) ); - } else { - --remaining; - } - } - } - - // if we're not waiting on anything, resolve the master - if ( !remaining ) { - deferred.resolveWith( resolveContexts, resolveValues ); - } - - return deferred.promise(); - } -}); -jQuery.support = (function() { - - var support, all, a, - input, select, fragment, - opt, eventName, isSupported, i, - div = document.createElement("div"); - - // Setup - div.setAttribute( "className", "t" ); - div.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>"; - - // Support tests won't run in some limited or non-browser environments - all = div.getElementsByTagName("*"); - a = div.getElementsByTagName("a")[ 0 ]; - if ( !all || !a || !all.length ) { - return {}; - } - - // First batch of tests - select = document.createElement("select"); - opt = select.appendChild( document.createElement("option") ); - input = div.getElementsByTagName("input")[ 0 ]; - - a.style.cssText = "top:1px;float:left;opacity:.5"; - support = { - // Test setAttribute on camelCase class. If it works, we need attrFixes when doing get/setAttribute (ie6/7) - getSetAttribute: div.className !== "t", - - // IE strips leading whitespace when .innerHTML is used - leadingWhitespace: div.firstChild.nodeType === 3, - - // Make sure that tbody elements aren't automatically inserted - // IE will insert them into empty tables - tbody: !div.getElementsByTagName("tbody").length, - - // Make sure that link elements get serialized correctly by innerHTML - // This requires a wrapper element in IE - htmlSerialize: !!div.getElementsByTagName("link").length, - - // Get the style information from getAttribute - // (IE uses .cssText instead) - style: /top/.test( a.getAttribute("style") ), - - // Make sure that URLs aren't manipulated - // (IE normalizes it by default) - hrefNormalized: a.getAttribute("href") === "/a", - - // Make sure that element opacity exists - // (IE uses filter instead) - // Use a regex to work around a WebKit issue. See #5145 - opacity: /^0.5/.test( a.style.opacity ), - - // Verify style float existence - // (IE uses styleFloat instead of cssFloat) - cssFloat: !!a.style.cssFloat, - - // Check the default checkbox/radio value ("" on WebKit; "on" elsewhere) - checkOn: !!input.value, - - // Make sure that a selected-by-default option has a working selected property. - // (WebKit defaults to false instead of true, IE too, if it's in an optgroup) - optSelected: opt.selected, - - // Tests for enctype support on a form (#6743) - enctype: !!document.createElement("form").enctype, - - // Makes sure cloning an html5 element does not cause problems - // Where outerHTML is undefined, this still works - html5Clone: document.createElement("nav").cloneNode( true ).outerHTML !== "<:nav></:nav>", - - // jQuery.support.boxModel DEPRECATED in 1.8 since we don't support Quirks Mode - boxModel: document.compatMode === "CSS1Compat", - - // Will be defined later - deleteExpando: true, - noCloneEvent: true, - inlineBlockNeedsLayout: false, - shrinkWrapBlocks: false, - reliableMarginRight: true, - boxSizingReliable: true, - pixelPosition: false - }; - - // Make sure checked status is properly cloned - input.checked = true; - support.noCloneChecked = input.cloneNode( true ).checked; - - // Make sure that the options inside disabled selects aren't marked as disabled - // (WebKit marks them as disabled) - select.disabled = true; - support.optDisabled = !opt.disabled; - - // Support: IE<9 - try { - delete div.test; - } catch( e ) { - support.deleteExpando = false; - } - - // Check if we can trust getAttribute("value") - input = document.createElement("input"); - input.setAttribute( "value", "" ); - support.input = input.getAttribute( "value" ) === ""; - - // Check if an input maintains its value after becoming a radio - input.value = "t"; - input.setAttribute( "type", "radio" ); - support.radioValue = input.value === "t"; - - // #11217 - WebKit loses check when the name is after the checked attribute - input.setAttribute( "checked", "t" ); - input.setAttribute( "name", "t" ); - - fragment = document.createDocumentFragment(); - fragment.appendChild( input ); - - // Check if a disconnected checkbox will retain its checked - // value of true after appended to the DOM (IE6/7) - support.appendChecked = input.checked; - - // WebKit doesn't clone checked state correctly in fragments - support.checkClone = fragment.cloneNode( true ).cloneNode( true ).lastChild.checked; - - // Support: IE<9 - // Opera does not clone events (and typeof div.attachEvent === undefined). - // IE9-10 clones events bound via attachEvent, but they don't trigger with .click() - if ( div.attachEvent ) { - div.attachEvent( "onclick", function() { - support.noCloneEvent = false; - }); - - div.cloneNode( true ).click(); - } - - // Support: IE<9 (lack submit/change bubble), Firefox 17+ (lack focusin event) - // Beware of CSP restrictions (https://developer.mozilla.org/en/Security/CSP), test/csp.php - for ( i in { submit: true, change: true, focusin: true }) { - div.setAttribute( eventName = "on" + i, "t" ); - - support[ i + "Bubbles" ] = eventName in window || div.attributes[ eventName ].expando === false; - } - - div.style.backgroundClip = "content-box"; - div.cloneNode( true ).style.backgroundClip = ""; - support.clearCloneStyle = div.style.backgroundClip === "content-box"; - - // Run tests that need a body at doc ready - jQuery(function() { - var container, marginDiv, tds, - divReset = "padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;", - body = document.getElementsByTagName("body")[0]; - - if ( !body ) { - // Return for frameset docs that don't have a body - return; - } - - container = document.createElement("div"); - container.style.cssText = "border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px"; - - body.appendChild( container ).appendChild( div ); - - // Support: IE8 - // Check if table cells still have offsetWidth/Height when they are set - // to display:none and there are still other visible table cells in a - // table row; if so, offsetWidth/Height are not reliable for use when - // determining if an element has been hidden directly using - // display:none (it is still safe to use offsets if a parent element is - // hidden; don safety goggles and see bug #4512 for more information). - div.innerHTML = "<table><tr><td></td><td>t</td></tr></table>"; - tds = div.getElementsByTagName("td"); - tds[ 0 ].style.cssText = "padding:0;margin:0;border:0;display:none"; - isSupported = ( tds[ 0 ].offsetHeight === 0 ); - - tds[ 0 ].style.display = ""; - tds[ 1 ].style.display = "none"; - - // Support: IE8 - // Check if empty table cells still have offsetWidth/Height - support.reliableHiddenOffsets = isSupported && ( tds[ 0 ].offsetHeight === 0 ); - - // Check box-sizing and margin behavior - div.innerHTML = ""; - div.style.cssText = "box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;"; - support.boxSizing = ( div.offsetWidth === 4 ); - support.doesNotIncludeMarginInBodyOffset = ( body.offsetTop !== 1 ); - - // Use window.getComputedStyle because jsdom on node.js will break without it. - if ( window.getComputedStyle ) { - support.pixelPosition = ( window.getComputedStyle( div, null ) || {} ).top !== "1%"; - support.boxSizingReliable = ( window.getComputedStyle( div, null ) || { width: "4px" } ).width === "4px"; - - // Check if div with explicit width and no margin-right incorrectly - // gets computed margin-right based on width of container. (#3333) - // Fails in WebKit before Feb 2011 nightlies - // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right - marginDiv = div.appendChild( document.createElement("div") ); - marginDiv.style.cssText = div.style.cssText = divReset; - marginDiv.style.marginRight = marginDiv.style.width = "0"; - div.style.width = "1px"; - - support.reliableMarginRight = - !parseFloat( ( window.getComputedStyle( marginDiv, null ) || {} ).marginRight ); - } - - if ( typeof div.style.zoom !== core_strundefined ) { - // Support: IE<8 - // Check if natively block-level elements act like inline-block - // elements when setting their display to 'inline' and giving - // them layout - div.innerHTML = ""; - div.style.cssText = divReset + "width:1px;padding:1px;display:inline;zoom:1"; - support.inlineBlockNeedsLayout = ( div.offsetWidth === 3 ); - - // Support: IE6 - // Check if elements with layout shrink-wrap their children - div.style.display = "block"; - div.innerHTML = "<div></div>"; - div.firstChild.style.width = "5px"; - support.shrinkWrapBlocks = ( div.offsetWidth !== 3 ); - - if ( support.inlineBlockNeedsLayout ) { - // Prevent IE 6 from affecting layout for positioned elements #11048 - // Prevent IE from shrinking the body in IE 7 mode #12869 - // Support: IE<8 - body.style.zoom = 1; - } - } - - body.removeChild( container ); - - // Null elements to avoid leaks in IE - container = div = tds = marginDiv = null; - }); - - // Null elements to avoid leaks in IE - all = select = fragment = opt = a = input = null; - - return support; -})(); - -var rbrace = /(?:\{[\s\S]*\}|\[[\s\S]*\])$/, - rmultiDash = /([A-Z])/g; - -function internalData( elem, name, data, pvt /* Internal Use Only */ ){ - if ( !jQuery.acceptData( elem ) ) { - return; - } - - var thisCache, ret, - internalKey = jQuery.expando, - getByName = typeof name === "string", - - // We have to handle DOM nodes and JS objects differently because IE6-7 - // can't GC object references properly across the DOM-JS boundary - isNode = elem.nodeType, - - // Only DOM nodes need the global jQuery cache; JS object data is - // attached directly to the object so GC can occur automatically - cache = isNode ? jQuery.cache : elem, - - // Only defining an ID for JS objects if its cache already exists allows - // the code to shortcut on the same path as a DOM node with no cache - id = isNode ? elem[ internalKey ] : elem[ internalKey ] && internalKey; - - // Avoid doing any more work than we need to when trying to get data on an - // object that has no data at all - if ( (!id || !cache[id] || (!pvt && !cache[id].data)) && getByName && data === undefined ) { - return; - } - - if ( !id ) { - // Only DOM nodes need a new unique ID for each element since their data - // ends up in the global cache - if ( isNode ) { - elem[ internalKey ] = id = core_deletedIds.pop() || jQuery.guid++; - } else { - id = internalKey; - } - } - - if ( !cache[ id ] ) { - cache[ id ] = {}; - - // Avoids exposing jQuery metadata on plain JS objects when the object - // is serialized using JSON.stringify - if ( !isNode ) { - cache[ id ].toJSON = jQuery.noop; - } - } - - // An object can be passed to jQuery.data instead of a key/value pair; this gets - // shallow copied over onto the existing cache - if ( typeof name === "object" || typeof name === "function" ) { - if ( pvt ) { - cache[ id ] = jQuery.extend( cache[ id ], name ); - } else { - cache[ id ].data = jQuery.extend( cache[ id ].data, name ); - } - } - - thisCache = cache[ id ]; - - // jQuery data() is stored in a separate object inside the object's internal data - // cache in order to avoid key collisions between internal data and user-defined - // data. - if ( !pvt ) { - if ( !thisCache.data ) { - thisCache.data = {}; - } - - thisCache = thisCache.data; - } - - if ( data !== undefined ) { - thisCache[ jQuery.camelCase( name ) ] = data; - } - - // Check for both converted-to-camel and non-converted data property names - // If a data property was specified - if ( getByName ) { - - // First Try to find as-is property data - ret = thisCache[ name ]; - - // Test for null|undefined property data - if ( ret == null ) { - - // Try to find the camelCased property - ret = thisCache[ jQuery.camelCase( name ) ]; - } - } else { - ret = thisCache; - } - - return ret; -} - -function internalRemoveData( elem, name, pvt ) { - if ( !jQuery.acceptData( elem ) ) { - return; - } - - var i, l, thisCache, - isNode = elem.nodeType, - - // See jQuery.data for more information - cache = isNode ? jQuery.cache : elem, - id = isNode ? elem[ jQuery.expando ] : jQuery.expando; - - // If there is already no cache entry for this object, there is no - // purpose in continuing - if ( !cache[ id ] ) { - return; - } - - if ( name ) { - - thisCache = pvt ? cache[ id ] : cache[ id ].data; - - if ( thisCache ) { - - // Support array or space separated string names for data keys - if ( !jQuery.isArray( name ) ) { - - // try the string as a key before any manipulation - if ( name in thisCache ) { - name = [ name ]; - } else { - - // split the camel cased version by spaces unless a key with the spaces exists - name = jQuery.camelCase( name ); - if ( name in thisCache ) { - name = [ name ]; - } else { - name = name.split(" "); - } - } - } else { - // If "name" is an array of keys... - // When data is initially created, via ("key", "val") signature, - // keys will be converted to camelCase. - // Since there is no way to tell _how_ a key was added, remove - // both plain key and camelCase key. #12786 - // This will only penalize the array argument path. - name = name.concat( jQuery.map( name, jQuery.camelCase ) ); - } - - for ( i = 0, l = name.length; i < l; i++ ) { - delete thisCache[ name[i] ]; - } - - // If there is no data left in the cache, we want to continue - // and let the cache object itself get destroyed - if ( !( pvt ? isEmptyDataObject : jQuery.isEmptyObject )( thisCache ) ) { - return; - } - } - } - - // See jQuery.data for more information - if ( !pvt ) { - delete cache[ id ].data; - - // Don't destroy the parent cache unless the internal data object - // had been the only thing left in it - if ( !isEmptyDataObject( cache[ id ] ) ) { - return; - } - } - - // Destroy the cache - if ( isNode ) { - jQuery.cleanData( [ elem ], true ); - - // Use delete when supported for expandos or `cache` is not a window per isWindow (#10080) - } else if ( jQuery.support.deleteExpando || cache != cache.window ) { - delete cache[ id ]; - - // When all else fails, null - } else { - cache[ id ] = null; - } -} - -jQuery.extend({ - cache: {}, - - // Unique for each copy of jQuery on the page - // Non-digits removed to match rinlinejQuery - expando: "jQuery" + ( core_version + Math.random() ).replace( /\D/g, "" ), - - // The following elements throw uncatchable exceptions if you - // attempt to add expando properties to them. - noData: { - "embed": true, - // Ban all objects except for Flash (which handle expandos) - "object": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000", - "applet": true - }, - - hasData: function( elem ) { - elem = elem.nodeType ? jQuery.cache[ elem[jQuery.expando] ] : elem[ jQuery.expando ]; - return !!elem && !isEmptyDataObject( elem ); - }, - - data: function( elem, name, data ) { - return internalData( elem, name, data ); - }, - - removeData: function( elem, name ) { - return internalRemoveData( elem, name ); - }, - - // For internal use only. - _data: function( elem, name, data ) { - return internalData( elem, name, data, true ); - }, - - _removeData: function( elem, name ) { - return internalRemoveData( elem, name, true ); - }, - - // A method for determining if a DOM node can handle the data expando - acceptData: function( elem ) { - // Do not set data on non-element because it will not be cleared (#8335). - if ( elem.nodeType && elem.nodeType !== 1 && elem.nodeType !== 9 ) { - return false; - } - - var noData = elem.nodeName && jQuery.noData[ elem.nodeName.toLowerCase() ]; - - // nodes accept data unless otherwise specified; rejection can be conditional - return !noData || noData !== true && elem.getAttribute("classid") === noData; - } -}); - -jQuery.fn.extend({ - data: function( key, value ) { - var attrs, name, - elem = this[0], - i = 0, - data = null; - - // Gets all values - if ( key === undefined ) { - if ( this.length ) { - data = jQuery.data( elem ); - - if ( elem.nodeType === 1 && !jQuery._data( elem, "parsedAttrs" ) ) { - attrs = elem.attributes; - for ( ; i < attrs.length; i++ ) { - name = attrs[i].name; - - if ( !name.indexOf( "data-" ) ) { - name = jQuery.camelCase( name.slice(5) ); - - dataAttr( elem, name, data[ name ] ); - } - } - jQuery._data( elem, "parsedAttrs", true ); - } - } - - return data; - } - - // Sets multiple values - if ( typeof key === "object" ) { - return this.each(function() { - jQuery.data( this, key ); - }); - } - - return jQuery.access( this, function( value ) { - - if ( value === undefined ) { - // Try to fetch any internally stored data first - return elem ? dataAttr( elem, key, jQuery.data( elem, key ) ) : null; - } - - this.each(function() { - jQuery.data( this, key, value ); - }); - }, null, value, arguments.length > 1, null, true ); - }, - - removeData: function( key ) { - return this.each(function() { - jQuery.removeData( this, key ); - }); - } -}); - -function dataAttr( elem, key, data ) { - // If nothing was found internally, try to fetch any - // data from the HTML5 data-* attribute - if ( data === undefined && elem.nodeType === 1 ) { - - var name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase(); - - data = elem.getAttribute( name ); - - if ( typeof data === "string" ) { - try { - data = data === "true" ? true : - data === "false" ? false : - data === "null" ? null : - // Only convert to a number if it doesn't change the string - +data + "" === data ? +data : - rbrace.test( data ) ? jQuery.parseJSON( data ) : - data; - } catch( e ) {} - - // Make sure we set the data so it isn't changed later - jQuery.data( elem, key, data ); - - } else { - data = undefined; - } - } - - return data; -} - -// checks a cache object for emptiness -function isEmptyDataObject( obj ) { - var name; - for ( name in obj ) { - - // if the public data object is empty, the private is still empty - if ( name === "data" && jQuery.isEmptyObject( obj[name] ) ) { - continue; - } - if ( name !== "toJSON" ) { - return false; - } - } - - return true; -} -jQuery.extend({ - queue: function( elem, type, data ) { - var queue; - - if ( elem ) { - type = ( type || "fx" ) + "queue"; - queue = jQuery._data( elem, type ); - - // Speed up dequeue by getting out quickly if this is just a lookup - if ( data ) { - if ( !queue || jQuery.isArray(data) ) { - queue = jQuery._data( elem, type, jQuery.makeArray(data) ); - } else { - queue.push( data ); - } - } - return queue || []; - } - }, - - dequeue: function( elem, type ) { - type = type || "fx"; - - var queue = jQuery.queue( elem, type ), - startLength = queue.length, - fn = queue.shift(), - hooks = jQuery._queueHooks( elem, type ), - next = function() { - jQuery.dequeue( elem, type ); - }; - - // If the fx queue is dequeued, always remove the progress sentinel - if ( fn === "inprogress" ) { - fn = queue.shift(); - startLength--; - } - - hooks.cur = fn; - if ( fn ) { - - // Add a progress sentinel to prevent the fx queue from being - // automatically dequeued - if ( type === "fx" ) { - queue.unshift( "inprogress" ); - } - - // clear up the last queue stop function - delete hooks.stop; - fn.call( elem, next, hooks ); - } - - if ( !startLength && hooks ) { - hooks.empty.fire(); - } - }, - - // not intended for public consumption - generates a queueHooks object, or returns the current one - _queueHooks: function( elem, type ) { - var key = type + "queueHooks"; - return jQuery._data( elem, key ) || jQuery._data( elem, key, { - empty: jQuery.Callbacks("once memory").add(function() { - jQuery._removeData( elem, type + "queue" ); - jQuery._removeData( elem, key ); - }) - }); - } -}); - -jQuery.fn.extend({ - queue: function( type, data ) { - var setter = 2; - - if ( typeof type !== "string" ) { - data = type; - type = "fx"; - setter--; - } - - if ( arguments.length < setter ) { - return jQuery.queue( this[0], type ); - } - - return data === undefined ? - this : - this.each(function() { - var queue = jQuery.queue( this, type, data ); - - // ensure a hooks for this queue - jQuery._queueHooks( this, type ); - - if ( type === "fx" && queue[0] !== "inprogress" ) { - jQuery.dequeue( this, type ); - } - }); - }, - dequeue: function( type ) { - return this.each(function() { - jQuery.dequeue( this, type ); - }); - }, - // Based off of the plugin by Clint Helfers, with permission. - // http://blindsignals.com/index.php/2009/07/jquery-delay/ - delay: function( time, type ) { - time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; - type = type || "fx"; - - return this.queue( type, function( next, hooks ) { - var timeout = setTimeout( next, time ); - hooks.stop = function() { - clearTimeout( timeout ); - }; - }); - }, - clearQueue: function( type ) { - return this.queue( type || "fx", [] ); - }, - // Get a promise resolved when queues of a certain type - // are emptied (fx is the type by default) - promise: function( type, obj ) { - var tmp, - count = 1, - defer = jQuery.Deferred(), - elements = this, - i = this.length, - resolve = function() { - if ( !( --count ) ) { - defer.resolveWith( elements, [ elements ] ); - } - }; - - if ( typeof type !== "string" ) { - obj = type; - type = undefined; - } - type = type || "fx"; - - while( i-- ) { - tmp = jQuery._data( elements[ i ], type + "queueHooks" ); - if ( tmp && tmp.empty ) { - count++; - tmp.empty.add( resolve ); - } - } - resolve(); - return defer.promise( obj ); - } -}); -var nodeHook, boolHook, - rclass = /[\t\r\n]/g, - rreturn = /\r/g, - rfocusable = /^(?:input|select|textarea|button|object)$/i, - rclickable = /^(?:a|area)$/i, - rboolean = /^(?:checked|selected|autofocus|autoplay|async|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped)$/i, - ruseDefault = /^(?:checked|selected)$/i, - getSetAttribute = jQuery.support.getSetAttribute, - getSetInput = jQuery.support.input; - -jQuery.fn.extend({ - attr: function( name, value ) { - return jQuery.access( this, jQuery.attr, name, value, arguments.length > 1 ); - }, - - removeAttr: function( name ) { - return this.each(function() { - jQuery.removeAttr( this, name ); - }); - }, - - prop: function( name, value ) { - return jQuery.access( this, jQuery.prop, name, value, arguments.length > 1 ); - }, - - removeProp: function( name ) { - name = jQuery.propFix[ name ] || name; - return this.each(function() { - // try/catch handles cases where IE balks (such as removing a property on window) - try { - this[ name ] = undefined; - delete this[ name ]; - } catch( e ) {} - }); - }, - - addClass: function( value ) { - var classes, elem, cur, clazz, j, - i = 0, - len = this.length, - proceed = typeof value === "string" && value; - - if ( jQuery.isFunction( value ) ) { - return this.each(function( j ) { - jQuery( this ).addClass( value.call( this, j, this.className ) ); - }); - } - - if ( proceed ) { - // The disjunction here is for better compressibility (see removeClass) - classes = ( value || "" ).match( core_rnotwhite ) || []; - - for ( ; i < len; i++ ) { - elem = this[ i ]; - cur = elem.nodeType === 1 && ( elem.className ? - ( " " + elem.className + " " ).replace( rclass, " " ) : - " " - ); - - if ( cur ) { - j = 0; - while ( (clazz = classes[j++]) ) { - if ( cur.indexOf( " " + clazz + " " ) < 0 ) { - cur += clazz + " "; - } - } - elem.className = jQuery.trim( cur ); - - } - } - } - - return this; - }, - - removeClass: function( value ) { - var classes, elem, cur, clazz, j, - i = 0, - len = this.length, - proceed = arguments.length === 0 || typeof value === "string" && value; - - if ( jQuery.isFunction( value ) ) { - return this.each(function( j ) { - jQuery( this ).removeClass( value.call( this, j, this.className ) ); - }); - } - if ( proceed ) { - classes = ( value || "" ).match( core_rnotwhite ) || []; - - for ( ; i < len; i++ ) { - elem = this[ i ]; - // This expression is here for better compressibility (see addClass) - cur = elem.nodeType === 1 && ( elem.className ? - ( " " + elem.className + " " ).replace( rclass, " " ) : - "" - ); - - if ( cur ) { - j = 0; - while ( (clazz = classes[j++]) ) { - // Remove *all* instances - while ( cur.indexOf( " " + clazz + " " ) >= 0 ) { - cur = cur.replace( " " + clazz + " ", " " ); - } - } - elem.className = value ? jQuery.trim( cur ) : ""; - } - } - } - - return this; - }, - - toggleClass: function( value, stateVal ) { - var type = typeof value, - isBool = typeof stateVal === "boolean"; - - if ( jQuery.isFunction( value ) ) { - return this.each(function( i ) { - jQuery( this ).toggleClass( value.call(this, i, this.className, stateVal), stateVal ); - }); - } - - return this.each(function() { - if ( type === "string" ) { - // toggle individual class names - var className, - i = 0, - self = jQuery( this ), - state = stateVal, - classNames = value.match( core_rnotwhite ) || []; - - while ( (className = classNames[ i++ ]) ) { - // check each className given, space separated list - state = isBool ? state : !self.hasClass( className ); - self[ state ? "addClass" : "removeClass" ]( className ); - } - - // Toggle whole class name - } else if ( type === core_strundefined || type === "boolean" ) { - if ( this.className ) { - // store className if set - jQuery._data( this, "__className__", this.className ); - } - - // If the element has a class name or if we're passed "false", - // then remove the whole classname (if there was one, the above saved it). - // Otherwise bring back whatever was previously saved (if anything), - // falling back to the empty string if nothing was stored. - this.className = this.className || value === false ? "" : jQuery._data( this, "__className__" ) || ""; - } - }); - }, - - hasClass: function( selector ) { - var className = " " + selector + " ", - i = 0, - l = this.length; - for ( ; i < l; i++ ) { - if ( this[i].nodeType === 1 && (" " + this[i].className + " ").replace(rclass, " ").indexOf( className ) >= 0 ) { - return true; - } - } - - return false; - }, - - val: function( value ) { - var ret, hooks, isFunction, - elem = this[0]; - - if ( !arguments.length ) { - if ( elem ) { - hooks = jQuery.valHooks[ elem.type ] || jQuery.valHooks[ elem.nodeName.toLowerCase() ]; - - if ( hooks && "get" in hooks && (ret = hooks.get( elem, "value" )) !== undefined ) { - return ret; - } - - ret = elem.value; - - return typeof ret === "string" ? - // handle most common string cases - ret.replace(rreturn, "") : - // handle cases where value is null/undef or number - ret == null ? "" : ret; - } - - return; - } - - isFunction = jQuery.isFunction( value ); - - return this.each(function( i ) { - var val, - self = jQuery(this); - - if ( this.nodeType !== 1 ) { - return; - } - - if ( isFunction ) { - val = value.call( this, i, self.val() ); - } else { - val = value; - } - - // Treat null/undefined as ""; convert numbers to string - if ( val == null ) { - val = ""; - } else if ( typeof val === "number" ) { - val += ""; - } else if ( jQuery.isArray( val ) ) { - val = jQuery.map(val, function ( value ) { - return value == null ? "" : value + ""; - }); - } - - hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; - - // If set returns undefined, fall back to normal setting - if ( !hooks || !("set" in hooks) || hooks.set( this, val, "value" ) === undefined ) { - this.value = val; - } - }); - } -}); - -jQuery.extend({ - valHooks: { - option: { - get: function( elem ) { - // attributes.value is undefined in Blackberry 4.7 but - // uses .value. See #6932 - var val = elem.attributes.value; - return !val || val.specified ? elem.value : elem.text; - } - }, - select: { - get: function( elem ) { - var value, option, - options = elem.options, - index = elem.selectedIndex, - one = elem.type === "select-one" || index < 0, - values = one ? null : [], - max = one ? index + 1 : options.length, - i = index < 0 ? - max : - one ? index : 0; - - // Loop through all the selected options - for ( ; i < max; i++ ) { - option = options[ i ]; - - // oldIE doesn't update selected after form reset (#2551) - if ( ( option.selected || i === index ) && - // Don't return options that are disabled or in a disabled optgroup - ( jQuery.support.optDisabled ? !option.disabled : option.getAttribute("disabled") === null ) && - ( !option.parentNode.disabled || !jQuery.nodeName( option.parentNode, "optgroup" ) ) ) { - - // Get the specific value for the option - value = jQuery( option ).val(); - - // We don't need an array for one selects - if ( one ) { - return value; - } - - // Multi-Selects return an array - values.push( value ); - } - } - - return values; - }, - - set: function( elem, value ) { - var values = jQuery.makeArray( value ); - - jQuery(elem).find("option").each(function() { - this.selected = jQuery.inArray( jQuery(this).val(), values ) >= 0; - }); - - if ( !values.length ) { - elem.selectedIndex = -1; - } - return values; - } - } - }, - - attr: function( elem, name, value ) { - var hooks, notxml, ret, - nType = elem.nodeType; - - // don't get/set attributes on text, comment and attribute nodes - if ( !elem || nType === 3 || nType === 8 || nType === 2 ) { - return; - } - - // Fallback to prop when attributes are not supported - if ( typeof elem.getAttribute === core_strundefined ) { - return jQuery.prop( elem, name, value ); - } - - notxml = nType !== 1 || !jQuery.isXMLDoc( elem ); - - // All attributes are lowercase - // Grab necessary hook if one is defined - if ( notxml ) { - name = name.toLowerCase(); - hooks = jQuery.attrHooks[ name ] || ( rboolean.test( name ) ? boolHook : nodeHook ); - } - - if ( value !== undefined ) { - - if ( value === null ) { - jQuery.removeAttr( elem, name ); - - } else if ( hooks && notxml && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ) { - return ret; - - } else { - elem.setAttribute( name, value + "" ); - return value; - } - - } else if ( hooks && notxml && "get" in hooks && (ret = hooks.get( elem, name )) !== null ) { - return ret; - - } else { - - // In IE9+, Flash objects don't have .getAttribute (#12945) - // Support: IE9+ - if ( typeof elem.getAttribute !== core_strundefined ) { - ret = elem.getAttribute( name ); - } - - // Non-existent attributes return null, we normalize to undefined - return ret == null ? - undefined : - ret; - } - }, - - removeAttr: function( elem, value ) { - var name, propName, - i = 0, - attrNames = value && value.match( core_rnotwhite ); - - if ( attrNames && elem.nodeType === 1 ) { - while ( (name = attrNames[i++]) ) { - propName = jQuery.propFix[ name ] || name; - - // Boolean attributes get special treatment (#10870) - if ( rboolean.test( name ) ) { - // Set corresponding property to false for boolean attributes - // Also clear defaultChecked/defaultSelected (if appropriate) for IE<8 - if ( !getSetAttribute && ruseDefault.test( name ) ) { - elem[ jQuery.camelCase( "default-" + name ) ] = - elem[ propName ] = false; - } else { - elem[ propName ] = false; - } - - // See #9699 for explanation of this approach (setting first, then removal) - } else { - jQuery.attr( elem, name, "" ); - } - - elem.removeAttribute( getSetAttribute ? name : propName ); - } - } - }, - - attrHooks: { - type: { - set: function( elem, value ) { - if ( !jQuery.support.radioValue && value === "radio" && jQuery.nodeName(elem, "input") ) { - // Setting the type on a radio button after the value resets the value in IE6-9 - // Reset value to default in case type is set after value during creation - var val = elem.value; - elem.setAttribute( "type", value ); - if ( val ) { - elem.value = val; - } - return value; - } - } - } - }, - - propFix: { - tabindex: "tabIndex", - readonly: "readOnly", - "for": "htmlFor", - "class": "className", - maxlength: "maxLength", - cellspacing: "cellSpacing", - cellpadding: "cellPadding", - rowspan: "rowSpan", - colspan: "colSpan", - usemap: "useMap", - frameborder: "frameBorder", - contenteditable: "contentEditable" - }, - - prop: function( elem, name, value ) { - var ret, hooks, notxml, - nType = elem.nodeType; - - // don't get/set properties on text, comment and attribute nodes - if ( !elem || nType === 3 || nType === 8 || nType === 2 ) { - return; - } - - notxml = nType !== 1 || !jQuery.isXMLDoc( elem ); - - if ( notxml ) { - // Fix name and attach hooks - name = jQuery.propFix[ name ] || name; - hooks = jQuery.propHooks[ name ]; - } - - if ( value !== undefined ) { - if ( hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ) { - return ret; - - } else { - return ( elem[ name ] = value ); - } - - } else { - if ( hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== null ) { - return ret; - - } else { - return elem[ name ]; - } - } - }, - - propHooks: { - tabIndex: { - get: function( elem ) { - // elem.tabIndex doesn't always return the correct value when it hasn't been explicitly set - // http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ - var attributeNode = elem.getAttributeNode("tabindex"); - - return attributeNode && attributeNode.specified ? - parseInt( attributeNode.value, 10 ) : - rfocusable.test( elem.nodeName ) || rclickable.test( elem.nodeName ) && elem.href ? - 0 : - undefined; - } - } - } -}); - -// Hook for boolean attributes -boolHook = { - get: function( elem, name ) { - var - // Use .prop to determine if this attribute is understood as boolean - prop = jQuery.prop( elem, name ), - - // Fetch it accordingly - attr = typeof prop === "boolean" && elem.getAttribute( name ), - detail = typeof prop === "boolean" ? - - getSetInput && getSetAttribute ? - attr != null : - // oldIE fabricates an empty string for missing boolean attributes - // and conflates checked/selected into attroperties - ruseDefault.test( name ) ? - elem[ jQuery.camelCase( "default-" + name ) ] : - !!attr : - - // fetch an attribute node for properties not recognized as boolean - elem.getAttributeNode( name ); - - return detail && detail.value !== false ? - name.toLowerCase() : - undefined; - }, - set: function( elem, value, name ) { - if ( value === false ) { - // Remove boolean attributes when set to false - jQuery.removeAttr( elem, name ); - } else if ( getSetInput && getSetAttribute || !ruseDefault.test( name ) ) { - // IE<8 needs the *property* name - elem.setAttribute( !getSetAttribute && jQuery.propFix[ name ] || name, name ); - - // Use defaultChecked and defaultSelected for oldIE - } else { - elem[ jQuery.camelCase( "default-" + name ) ] = elem[ name ] = true; - } - - return name; - } -}; - -// fix oldIE value attroperty -if ( !getSetInput || !getSetAttribute ) { - jQuery.attrHooks.value = { - get: function( elem, name ) { - var ret = elem.getAttributeNode( name ); - return jQuery.nodeName( elem, "input" ) ? - - // Ignore the value *property* by using defaultValue - elem.defaultValue : - - ret && ret.specified ? ret.value : undefined; - }, - set: function( elem, value, name ) { - if ( jQuery.nodeName( elem, "input" ) ) { - // Does not return so that setAttribute is also used - elem.defaultValue = value; - } else { - // Use nodeHook if defined (#1954); otherwise setAttribute is fine - return nodeHook && nodeHook.set( elem, value, name ); - } - } - }; -} - -// IE6/7 do not support getting/setting some attributes with get/setAttribute -if ( !getSetAttribute ) { - - // Use this for any attribute in IE6/7 - // This fixes almost every IE6/7 issue - nodeHook = jQuery.valHooks.button = { - get: function( elem, name ) { - var ret = elem.getAttributeNode( name ); - return ret && ( name === "id" || name === "name" || name === "coords" ? ret.value !== "" : ret.specified ) ? - ret.value : - undefined; - }, - set: function( elem, value, name ) { - // Set the existing or create a new attribute node - var ret = elem.getAttributeNode( name ); - if ( !ret ) { - elem.setAttributeNode( - (ret = elem.ownerDocument.createAttribute( name )) - ); - } - - ret.value = value += ""; - - // Break association with cloned elements by also using setAttribute (#9646) - return name === "value" || value === elem.getAttribute( name ) ? - value : - undefined; - } - }; - - // Set contenteditable to false on removals(#10429) - // Setting to empty string throws an error as an invalid value - jQuery.attrHooks.contenteditable = { - get: nodeHook.get, - set: function( elem, value, name ) { - nodeHook.set( elem, value === "" ? false : value, name ); - } - }; - - // Set width and height to auto instead of 0 on empty string( Bug #8150 ) - // This is for removals - jQuery.each([ "width", "height" ], function( i, name ) { - jQuery.attrHooks[ name ] = jQuery.extend( jQuery.attrHooks[ name ], { - set: function( elem, value ) { - if ( value === "" ) { - elem.setAttribute( name, "auto" ); - return value; - } - } - }); - }); -} - - -// Some attributes require a special call on IE -// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx -if ( !jQuery.support.hrefNormalized ) { - jQuery.each([ "href", "src", "width", "height" ], function( i, name ) { - jQuery.attrHooks[ name ] = jQuery.extend( jQuery.attrHooks[ name ], { - get: function( elem ) { - var ret = elem.getAttribute( name, 2 ); - return ret == null ? undefined : ret; - } - }); - }); - - // href/src property should get the full normalized URL (#10299/#12915) - jQuery.each([ "href", "src" ], function( i, name ) { - jQuery.propHooks[ name ] = { - get: function( elem ) { - return elem.getAttribute( name, 4 ); - } - }; - }); -} - -if ( !jQuery.support.style ) { - jQuery.attrHooks.style = { - get: function( elem ) { - // Return undefined in the case of empty string - // Note: IE uppercases css property names, but if we were to .toLowerCase() - // .cssText, that would destroy case senstitivity in URL's, like in "background" - return elem.style.cssText || undefined; - }, - set: function( elem, value ) { - return ( elem.style.cssText = value + "" ); - } - }; -} - -// Safari mis-reports the default selected property of an option -// Accessing the parent's selectedIndex property fixes it -if ( !jQuery.support.optSelected ) { - jQuery.propHooks.selected = jQuery.extend( jQuery.propHooks.selected, { - get: function( elem ) { - var parent = elem.parentNode; - - if ( parent ) { - parent.selectedIndex; - - // Make sure that it also works with optgroups, see #5701 - if ( parent.parentNode ) { - parent.parentNode.selectedIndex; - } - } - return null; - } - }); -} - -// IE6/7 call enctype encoding -if ( !jQuery.support.enctype ) { - jQuery.propFix.enctype = "encoding"; -} - -// Radios and checkboxes getter/setter -if ( !jQuery.support.checkOn ) { - jQuery.each([ "radio", "checkbox" ], function() { - jQuery.valHooks[ this ] = { - get: function( elem ) { - // Handle the case where in Webkit "" is returned instead of "on" if a value isn't specified - return elem.getAttribute("value") === null ? "on" : elem.value; - } - }; - }); -} -jQuery.each([ "radio", "checkbox" ], function() { - jQuery.valHooks[ this ] = jQuery.extend( jQuery.valHooks[ this ], { - set: function( elem, value ) { - if ( jQuery.isArray( value ) ) { - return ( elem.checked = jQuery.inArray( jQuery(elem).val(), value ) >= 0 ); - } - } - }); -}); -var rformElems = /^(?:input|select|textarea)$/i, - rkeyEvent = /^key/, - rmouseEvent = /^(?:mouse|contextmenu)|click/, - rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, - rtypenamespace = /^([^.]*)(?:\.(.+)|)$/; - -function returnTrue() { - return true; -} - -function returnFalse() { - return false; -} - -/* - * Helper functions for managing events -- not part of the public interface. - * Props to Dean Edwards' addEvent library for many of the ideas. - */ -jQuery.event = { - - global: {}, - - add: function( elem, types, handler, data, selector ) { - var tmp, events, t, handleObjIn, - special, eventHandle, handleObj, - handlers, type, namespaces, origType, - elemData = jQuery._data( elem ); - - // Don't attach events to noData or text/comment nodes (but allow plain objects) - if ( !elemData ) { - return; - } - - // Caller can pass in an object of custom data in lieu of the handler - if ( handler.handler ) { - handleObjIn = handler; - handler = handleObjIn.handler; - selector = handleObjIn.selector; - } - - // Make sure that the handler has a unique ID, used to find/remove it later - if ( !handler.guid ) { - handler.guid = jQuery.guid++; - } - - // Init the element's event structure and main handler, if this is the first - if ( !(events = elemData.events) ) { - events = elemData.events = {}; - } - if ( !(eventHandle = elemData.handle) ) { - eventHandle = elemData.handle = function( e ) { - // Discard the second event of a jQuery.event.trigger() and - // when an event is called after a page has unloaded - return typeof jQuery !== core_strundefined && (!e || jQuery.event.triggered !== e.type) ? - jQuery.event.dispatch.apply( eventHandle.elem, arguments ) : - undefined; - }; - // Add elem as a property of the handle fn to prevent a memory leak with IE non-native events - eventHandle.elem = elem; - } - - // Handle multiple events separated by a space - // jQuery(...).bind("mouseover mouseout", fn); - types = ( types || "" ).match( core_rnotwhite ) || [""]; - t = types.length; - while ( t-- ) { - tmp = rtypenamespace.exec( types[t] ) || []; - type = origType = tmp[1]; - namespaces = ( tmp[2] || "" ).split( "." ).sort(); - - // If event changes its type, use the special event handlers for the changed type - special = jQuery.event.special[ type ] || {}; - - // If selector defined, determine special event api type, otherwise given type - type = ( selector ? special.delegateType : special.bindType ) || type; - - // Update special based on newly reset type - special = jQuery.event.special[ type ] || {}; - - // handleObj is passed to all event handlers - handleObj = jQuery.extend({ - type: type, - origType: origType, - data: data, - handler: handler, - guid: handler.guid, - selector: selector, - needsContext: selector && jQuery.expr.match.needsContext.test( selector ), - namespace: namespaces.join(".") - }, handleObjIn ); - - // Init the event handler queue if we're the first - if ( !(handlers = events[ type ]) ) { - handlers = events[ type ] = []; - handlers.delegateCount = 0; - - // Only use addEventListener/attachEvent if the special events handler returns false - if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) { - // Bind the global event handler to the element - if ( elem.addEventListener ) { - elem.addEventListener( type, eventHandle, false ); - - } else if ( elem.attachEvent ) { - elem.attachEvent( "on" + type, eventHandle ); - } - } - } - - if ( special.add ) { - special.add.call( elem, handleObj ); - - if ( !handleObj.handler.guid ) { - handleObj.handler.guid = handler.guid; - } - } - - // Add to the element's handler list, delegates in front - if ( selector ) { - handlers.splice( handlers.delegateCount++, 0, handleObj ); - } else { - handlers.push( handleObj ); - } - - // Keep track of which events have ever been used, for event optimization - jQuery.event.global[ type ] = true; - } - - // Nullify elem to prevent memory leaks in IE - elem = null; - }, - - // Detach an event or set of events from an element - remove: function( elem, types, handler, selector, mappedTypes ) { - var j, handleObj, tmp, - origCount, t, events, - special, handlers, type, - namespaces, origType, - elemData = jQuery.hasData( elem ) && jQuery._data( elem ); - - if ( !elemData || !(events = elemData.events) ) { - return; - } - - // Once for each type.namespace in types; type may be omitted - types = ( types || "" ).match( core_rnotwhite ) || [""]; - t = types.length; - while ( t-- ) { - tmp = rtypenamespace.exec( types[t] ) || []; - type = origType = tmp[1]; - namespaces = ( tmp[2] || "" ).split( "." ).sort(); - - // Unbind all events (on this namespace, if provided) for the element - if ( !type ) { - for ( type in events ) { - jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); - } - continue; - } - - special = jQuery.event.special[ type ] || {}; - type = ( selector ? special.delegateType : special.bindType ) || type; - handlers = events[ type ] || []; - tmp = tmp[2] && new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ); - - // Remove matching events - origCount = j = handlers.length; - while ( j-- ) { - handleObj = handlers[ j ]; - - if ( ( mappedTypes || origType === handleObj.origType ) && - ( !handler || handler.guid === handleObj.guid ) && - ( !tmp || tmp.test( handleObj.namespace ) ) && - ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) { - handlers.splice( j, 1 ); - - if ( handleObj.selector ) { - handlers.delegateCount--; - } - if ( special.remove ) { - special.remove.call( elem, handleObj ); - } - } - } - - // Remove generic event handler if we removed something and no more handlers exist - // (avoids potential for endless recursion during removal of special event handlers) - if ( origCount && !handlers.length ) { - if ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) { - jQuery.removeEvent( elem, type, elemData.handle ); - } - - delete events[ type ]; - } - } - - // Remove the expando if it's no longer used - if ( jQuery.isEmptyObject( events ) ) { - delete elemData.handle; - - // removeData also checks for emptiness and clears the expando if empty - // so use it instead of delete - jQuery._removeData( elem, "events" ); - } - }, - - trigger: function( event, data, elem, onlyHandlers ) { - var handle, ontype, cur, - bubbleType, special, tmp, i, - eventPath = [ elem || document ], - type = core_hasOwn.call( event, "type" ) ? event.type : event, - namespaces = core_hasOwn.call( event, "namespace" ) ? event.namespace.split(".") : []; - - cur = tmp = elem = elem || document; - - // Don't do events on text and comment nodes - if ( elem.nodeType === 3 || elem.nodeType === 8 ) { - return; - } - - // focus/blur morphs to focusin/out; ensure we're not firing them right now - if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { - return; - } - - if ( type.indexOf(".") >= 0 ) { - // Namespaced trigger; create a regexp to match event type in handle() - namespaces = type.split("."); - type = namespaces.shift(); - namespaces.sort(); - } - ontype = type.indexOf(":") < 0 && "on" + type; - - // Caller can pass in a jQuery.Event object, Object, or just an event type string - event = event[ jQuery.expando ] ? - event : - new jQuery.Event( type, typeof event === "object" && event ); - - event.isTrigger = true; - event.namespace = namespaces.join("."); - event.namespace_re = event.namespace ? - new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ) : - null; - - // Clean up the event in case it is being reused - event.result = undefined; - if ( !event.target ) { - event.target = elem; - } - - // Clone any incoming data and prepend the event, creating the handler arg list - data = data == null ? - [ event ] : - jQuery.makeArray( data, [ event ] ); - - // Allow special events to draw outside the lines - special = jQuery.event.special[ type ] || {}; - if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { - return; - } - - // Determine event propagation path in advance, per W3C events spec (#9951) - // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) - if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) { - - bubbleType = special.delegateType || type; - if ( !rfocusMorph.test( bubbleType + type ) ) { - cur = cur.parentNode; - } - for ( ; cur; cur = cur.parentNode ) { - eventPath.push( cur ); - tmp = cur; - } - - // Only add window if we got to document (e.g., not plain obj or detached DOM) - if ( tmp === (elem.ownerDocument || document) ) { - eventPath.push( tmp.defaultView || tmp.parentWindow || window ); - } - } - - // Fire handlers on the event path - i = 0; - while ( (cur = eventPath[i++]) && !event.isPropagationStopped() ) { - - event.type = i > 1 ? - bubbleType : - special.bindType || type; - - // jQuery handler - handle = ( jQuery._data( cur, "events" ) || {} )[ event.type ] && jQuery._data( cur, "handle" ); - if ( handle ) { - handle.apply( cur, data ); - } - - // Native handler - handle = ontype && cur[ ontype ]; - if ( handle && jQuery.acceptData( cur ) && handle.apply && handle.apply( cur, data ) === false ) { - event.preventDefault(); - } - } - event.type = type; - - // If nobody prevented the default action, do it now - if ( !onlyHandlers && !event.isDefaultPrevented() ) { - - if ( (!special._default || special._default.apply( elem.ownerDocument, data ) === false) && - !(type === "click" && jQuery.nodeName( elem, "a" )) && jQuery.acceptData( elem ) ) { - - // Call a native DOM method on the target with the same name name as the event. - // Can't use an .isFunction() check here because IE6/7 fails that test. - // Don't do default actions on window, that's where global variables be (#6170) - if ( ontype && elem[ type ] && !jQuery.isWindow( elem ) ) { - - // Don't re-trigger an onFOO event when we call its FOO() method - tmp = elem[ ontype ]; - - if ( tmp ) { - elem[ ontype ] = null; - } - - // Prevent re-triggering of the same event, since we already bubbled it above - jQuery.event.triggered = type; - try { - elem[ type ](); - } catch ( e ) { - // IE<9 dies on focus/blur to hidden element (#1486,#12518) - // only reproducible on winXP IE8 native, not IE9 in IE8 mode - } - jQuery.event.triggered = undefined; - - if ( tmp ) { - elem[ ontype ] = tmp; - } - } - } - } - - return event.result; - }, - - dispatch: function( event ) { - - // Make a writable jQuery.Event from the native event object - event = jQuery.event.fix( event ); - - var i, ret, handleObj, matched, j, - handlerQueue = [], - args = core_slice.call( arguments ), - handlers = ( jQuery._data( this, "events" ) || {} )[ event.type ] || [], - special = jQuery.event.special[ event.type ] || {}; - - // Use the fix-ed jQuery.Event rather than the (read-only) native event - args[0] = event; - event.delegateTarget = this; - - // Call the preDispatch hook for the mapped type, and let it bail if desired - if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { - return; - } - - // Determine handlers - handlerQueue = jQuery.event.handlers.call( this, event, handlers ); - - // Run delegates first; they may want to stop propagation beneath us - i = 0; - while ( (matched = handlerQueue[ i++ ]) && !event.isPropagationStopped() ) { - event.currentTarget = matched.elem; - - j = 0; - while ( (handleObj = matched.handlers[ j++ ]) && !event.isImmediatePropagationStopped() ) { - - // Triggered event must either 1) have no namespace, or - // 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace). - if ( !event.namespace_re || event.namespace_re.test( handleObj.namespace ) ) { - - event.handleObj = handleObj; - event.data = handleObj.data; - - ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler ) - .apply( matched.elem, args ); - - if ( ret !== undefined ) { - if ( (event.result = ret) === false ) { - event.preventDefault(); - event.stopPropagation(); - } - } - } - } - } - - // Call the postDispatch hook for the mapped type - if ( special.postDispatch ) { - special.postDispatch.call( this, event ); - } - - return event.result; - }, - - handlers: function( event, handlers ) { - var sel, handleObj, matches, i, - handlerQueue = [], - delegateCount = handlers.delegateCount, - cur = event.target; - - // Find delegate handlers - // Black-hole SVG <use> instance trees (#13180) - // Avoid non-left-click bubbling in Firefox (#3861) - if ( delegateCount && cur.nodeType && (!event.button || event.type !== "click") ) { - - for ( ; cur != this; cur = cur.parentNode || this ) { - - // Don't check non-elements (#13208) - // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) - if ( cur.nodeType === 1 && (cur.disabled !== true || event.type !== "click") ) { - matches = []; - for ( i = 0; i < delegateCount; i++ ) { - handleObj = handlers[ i ]; - - // Don't conflict with Object.prototype properties (#13203) - sel = handleObj.selector + " "; - - if ( matches[ sel ] === undefined ) { - matches[ sel ] = handleObj.needsContext ? - jQuery( sel, this ).index( cur ) >= 0 : - jQuery.find( sel, this, null, [ cur ] ).length; - } - if ( matches[ sel ] ) { - matches.push( handleObj ); - } - } - if ( matches.length ) { - handlerQueue.push({ elem: cur, handlers: matches }); - } - } - } - } - - // Add the remaining (directly-bound) handlers - if ( delegateCount < handlers.length ) { - handlerQueue.push({ elem: this, handlers: handlers.slice( delegateCount ) }); - } - - return handlerQueue; - }, - - fix: function( event ) { - if ( event[ jQuery.expando ] ) { - return event; - } - - // Create a writable copy of the event object and normalize some properties - var i, prop, copy, - type = event.type, - originalEvent = event, - fixHook = this.fixHooks[ type ]; - - if ( !fixHook ) { - this.fixHooks[ type ] = fixHook = - rmouseEvent.test( type ) ? this.mouseHooks : - rkeyEvent.test( type ) ? this.keyHooks : - {}; - } - copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props; - - event = new jQuery.Event( originalEvent ); - - i = copy.length; - while ( i-- ) { - prop = copy[ i ]; - event[ prop ] = originalEvent[ prop ]; - } - - // Support: IE<9 - // Fix target property (#1925) - if ( !event.target ) { - event.target = originalEvent.srcElement || document; - } - - // Support: Chrome 23+, Safari? - // Target should not be a text node (#504, #13143) - if ( event.target.nodeType === 3 ) { - event.target = event.target.parentNode; - } - - // Support: IE<9 - // For mouse/key events, metaKey==false if it's undefined (#3368, #11328) - event.metaKey = !!event.metaKey; - - return fixHook.filter ? fixHook.filter( event, originalEvent ) : event; - }, - - // Includes some event props shared by KeyEvent and MouseEvent - props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "), - - fixHooks: {}, - - keyHooks: { - props: "char charCode key keyCode".split(" "), - filter: function( event, original ) { - - // Add which for key events - if ( event.which == null ) { - event.which = original.charCode != null ? original.charCode : original.keyCode; - } - - return event; - } - }, - - mouseHooks: { - props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "), - filter: function( event, original ) { - var body, eventDoc, doc, - button = original.button, - fromElement = original.fromElement; - - // Calculate pageX/Y if missing and clientX/Y available - if ( event.pageX == null && original.clientX != null ) { - eventDoc = event.target.ownerDocument || document; - doc = eventDoc.documentElement; - body = eventDoc.body; - - event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 ); - event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc && doc.clientTop || body && body.clientTop || 0 ); - } - - // Add relatedTarget, if necessary - if ( !event.relatedTarget && fromElement ) { - event.relatedTarget = fromElement === event.target ? original.toElement : fromElement; - } - - // Add which for click: 1 === left; 2 === middle; 3 === right - // Note: button is not normalized, so don't use it - if ( !event.which && button !== undefined ) { - event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) ); - } - - return event; - } - }, - - special: { - load: { - // Prevent triggered image.load events from bubbling to window.load - noBubble: true - }, - click: { - // For checkbox, fire native event so checked state will be right - trigger: function() { - if ( jQuery.nodeName( this, "input" ) && this.type === "checkbox" && this.click ) { - this.click(); - return false; - } - } - }, - focus: { - // Fire native event if possible so blur/focus sequence is correct - trigger: function() { - if ( this !== document.activeElement && this.focus ) { - try { - this.focus(); - return false; - } catch ( e ) { - // Support: IE<9 - // If we error on focus to hidden element (#1486, #12518), - // let .trigger() run the handlers - } - } - }, - delegateType: "focusin" - }, - blur: { - trigger: function() { - if ( this === document.activeElement && this.blur ) { - this.blur(); - return false; - } - }, - delegateType: "focusout" - }, - - beforeunload: { - postDispatch: function( event ) { - - // Even when returnValue equals to undefined Firefox will still show alert - if ( event.result !== undefined ) { - event.originalEvent.returnValue = event.result; - } - } - } - }, - - simulate: function( type, elem, event, bubble ) { - // Piggyback on a donor event to simulate a different one. - // Fake originalEvent to avoid donor's stopPropagation, but if the - // simulated event prevents default then we do the same on the donor. - var e = jQuery.extend( - new jQuery.Event(), - event, - { type: type, - isSimulated: true, - originalEvent: {} - } - ); - if ( bubble ) { - jQuery.event.trigger( e, null, elem ); - } else { - jQuery.event.dispatch.call( elem, e ); - } - if ( e.isDefaultPrevented() ) { - event.preventDefault(); - } - } -}; - -jQuery.removeEvent = document.removeEventListener ? - function( elem, type, handle ) { - if ( elem.removeEventListener ) { - elem.removeEventListener( type, handle, false ); - } - } : - function( elem, type, handle ) { - var name = "on" + type; - - if ( elem.detachEvent ) { - - // #8545, #7054, preventing memory leaks for custom events in IE6-8 - // detachEvent needed property on element, by name of that event, to properly expose it to GC - if ( typeof elem[ name ] === core_strundefined ) { - elem[ name ] = null; - } - - elem.detachEvent( name, handle ); - } - }; - -jQuery.Event = function( src, props ) { - // Allow instantiation without the 'new' keyword - if ( !(this instanceof jQuery.Event) ) { - return new jQuery.Event( src, props ); - } - - // Event object - if ( src && src.type ) { - this.originalEvent = src; - this.type = src.type; - - // Events bubbling up the document may have been marked as prevented - // by a handler lower down the tree; reflect the correct value. - this.isDefaultPrevented = ( src.defaultPrevented || src.returnValue === false || - src.getPreventDefault && src.getPreventDefault() ) ? returnTrue : returnFalse; - - // Event type - } else { - this.type = src; - } - - // Put explicitly provided properties onto the event object - if ( props ) { - jQuery.extend( this, props ); - } - - // Create a timestamp if incoming event doesn't have one - this.timeStamp = src && src.timeStamp || jQuery.now(); - - // Mark it as fixed - this[ jQuery.expando ] = true; -}; - -// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding -// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html -jQuery.Event.prototype = { - isDefaultPrevented: returnFalse, - isPropagationStopped: returnFalse, - isImmediatePropagationStopped: returnFalse, - - preventDefault: function() { - var e = this.originalEvent; - - this.isDefaultPrevented = returnTrue; - if ( !e ) { - return; - } - - // If preventDefault exists, run it on the original event - if ( e.preventDefault ) { - e.preventDefault(); - - // Support: IE - // Otherwise set the returnValue property of the original event to false - } else { - e.returnValue = false; - } - }, - stopPropagation: function() { - var e = this.originalEvent; - - this.isPropagationStopped = returnTrue; - if ( !e ) { - return; - } - // If stopPropagation exists, run it on the original event - if ( e.stopPropagation ) { - e.stopPropagation(); - } - - // Support: IE - // Set the cancelBubble property of the original event to true - e.cancelBubble = true; - }, - stopImmediatePropagation: function() { - this.isImmediatePropagationStopped = returnTrue; - this.stopPropagation(); - } -}; - -// Create mouseenter/leave events using mouseover/out and event-time checks -jQuery.each({ - mouseenter: "mouseover", - mouseleave: "mouseout" -}, function( orig, fix ) { - jQuery.event.special[ orig ] = { - delegateType: fix, - bindType: fix, - - handle: function( event ) { - var ret, - target = this, - related = event.relatedTarget, - handleObj = event.handleObj; - - // For mousenter/leave call the handler if related is outside the target. - // NB: No relatedTarget if the mouse left/entered the browser window - if ( !related || (related !== target && !jQuery.contains( target, related )) ) { - event.type = handleObj.origType; - ret = handleObj.handler.apply( this, arguments ); - event.type = fix; - } - return ret; - } - }; -}); - -// IE submit delegation -if ( !jQuery.support.submitBubbles ) { - - jQuery.event.special.submit = { - setup: function() { - // Only need this for delegated form submit events - if ( jQuery.nodeName( this, "form" ) ) { - return false; - } - - // Lazy-add a submit handler when a descendant form may potentially be submitted - jQuery.event.add( this, "click._submit keypress._submit", function( e ) { - // Node name check avoids a VML-related crash in IE (#9807) - var elem = e.target, - form = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ? elem.form : undefined; - if ( form && !jQuery._data( form, "submitBubbles" ) ) { - jQuery.event.add( form, "submit._submit", function( event ) { - event._submit_bubble = true; - }); - jQuery._data( form, "submitBubbles", true ); - } - }); - // return undefined since we don't need an event listener - }, - - postDispatch: function( event ) { - // If form was submitted by the user, bubble the event up the tree - if ( event._submit_bubble ) { - delete event._submit_bubble; - if ( this.parentNode && !event.isTrigger ) { - jQuery.event.simulate( "submit", this.parentNode, event, true ); - } - } - }, - - teardown: function() { - // Only need this for delegated form submit events - if ( jQuery.nodeName( this, "form" ) ) { - return false; - } - - // Remove delegated handlers; cleanData eventually reaps submit handlers attached above - jQuery.event.remove( this, "._submit" ); - } - }; -} - -// IE change delegation and checkbox/radio fix -if ( !jQuery.support.changeBubbles ) { - - jQuery.event.special.change = { - - setup: function() { - - if ( rformElems.test( this.nodeName ) ) { - // IE doesn't fire change on a check/radio until blur; trigger it on click - // after a propertychange. Eat the blur-change in special.change.handle. - // This still fires onchange a second time for check/radio after blur. - if ( this.type === "checkbox" || this.type === "radio" ) { - jQuery.event.add( this, "propertychange._change", function( event ) { - if ( event.originalEvent.propertyName === "checked" ) { - this._just_changed = true; - } - }); - jQuery.event.add( this, "click._change", function( event ) { - if ( this._just_changed && !event.isTrigger ) { - this._just_changed = false; - } - // Allow triggered, simulated change events (#11500) - jQuery.event.simulate( "change", this, event, true ); - }); - } - return false; - } - // Delegated event; lazy-add a change handler on descendant inputs - jQuery.event.add( this, "beforeactivate._change", function( e ) { - var elem = e.target; - - if ( rformElems.test( elem.nodeName ) && !jQuery._data( elem, "changeBubbles" ) ) { - jQuery.event.add( elem, "change._change", function( event ) { - if ( this.parentNode && !event.isSimulated && !event.isTrigger ) { - jQuery.event.simulate( "change", this.parentNode, event, true ); - } - }); - jQuery._data( elem, "changeBubbles", true ); - } - }); - }, - - handle: function( event ) { - var elem = event.target; - - // Swallow native change events from checkbox/radio, we already triggered them above - if ( this !== elem || event.isSimulated || event.isTrigger || (elem.type !== "radio" && elem.type !== "checkbox") ) { - return event.handleObj.handler.apply( this, arguments ); - } - }, - - teardown: function() { - jQuery.event.remove( this, "._change" ); - - return !rformElems.test( this.nodeName ); - } - }; -} - -// Create "bubbling" focus and blur events -if ( !jQuery.support.focusinBubbles ) { - jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) { - - // Attach a single capturing handler while someone wants focusin/focusout - var attaches = 0, - handler = function( event ) { - jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true ); - }; - - jQuery.event.special[ fix ] = { - setup: function() { - if ( attaches++ === 0 ) { - document.addEventListener( orig, handler, true ); - } - }, - teardown: function() { - if ( --attaches === 0 ) { - document.removeEventListener( orig, handler, true ); - } - } - }; - }); -} - -jQuery.fn.extend({ - - on: function( types, selector, data, fn, /*INTERNAL*/ one ) { - var type, origFn; - - // Types can be a map of types/handlers - if ( typeof types === "object" ) { - // ( types-Object, selector, data ) - if ( typeof selector !== "string" ) { - // ( types-Object, data ) - data = data || selector; - selector = undefined; - } - for ( type in types ) { - this.on( type, selector, data, types[ type ], one ); - } - return this; - } - - if ( data == null && fn == null ) { - // ( types, fn ) - fn = selector; - data = selector = undefined; - } else if ( fn == null ) { - if ( typeof selector === "string" ) { - // ( types, selector, fn ) - fn = data; - data = undefined; - } else { - // ( types, data, fn ) - fn = data; - data = selector; - selector = undefined; - } - } - if ( fn === false ) { - fn = returnFalse; - } else if ( !fn ) { - return this; - } - - if ( one === 1 ) { - origFn = fn; - fn = function( event ) { - // Can use an empty set, since event contains the info - jQuery().off( event ); - return origFn.apply( this, arguments ); - }; - // Use same guid so caller can remove using origFn - fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); - } - return this.each( function() { - jQuery.event.add( this, types, fn, data, selector ); - }); - }, - one: function( types, selector, data, fn ) { - return this.on( types, selector, data, fn, 1 ); - }, - off: function( types, selector, fn ) { - var handleObj, type; - if ( types && types.preventDefault && types.handleObj ) { - // ( event ) dispatched jQuery.Event - handleObj = types.handleObj; - jQuery( types.delegateTarget ).off( - handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType, - handleObj.selector, - handleObj.handler - ); - return this; - } - if ( typeof types === "object" ) { - // ( types-object [, selector] ) - for ( type in types ) { - this.off( type, selector, types[ type ] ); - } - return this; - } - if ( selector === false || typeof selector === "function" ) { - // ( types [, fn] ) - fn = selector; - selector = undefined; - } - if ( fn === false ) { - fn = returnFalse; - } - return this.each(function() { - jQuery.event.remove( this, types, fn, selector ); - }); - }, - - bind: function( types, data, fn ) { - return this.on( types, null, data, fn ); - }, - unbind: function( types, fn ) { - return this.off( types, null, fn ); - }, - - delegate: function( selector, types, data, fn ) { - return this.on( types, selector, data, fn ); - }, - undelegate: function( selector, types, fn ) { - // ( namespace ) or ( selector, types [, fn] ) - return arguments.length === 1 ? this.off( selector, "**" ) : this.off( types, selector || "**", fn ); - }, - - trigger: function( type, data ) { - return this.each(function() { - jQuery.event.trigger( type, data, this ); - }); - }, - triggerHandler: function( type, data ) { - var elem = this[0]; - if ( elem ) { - return jQuery.event.trigger( type, data, elem, true ); - } - } -}); -/*! - * Sizzle CSS Selector Engine - * Copyright 2012 jQuery Foundation and other contributors - * Released under the MIT license - * http://sizzlejs.com/ - */ -(function( window, undefined ) { - -var i, - cachedruns, - Expr, - getText, - isXML, - compile, - hasDuplicate, - outermostContext, - - // Local document vars - setDocument, - document, - docElem, - documentIsXML, - rbuggyQSA, - rbuggyMatches, - matches, - contains, - sortOrder, - - // Instance-specific data - expando = "sizzle" + -(new Date()), - preferredDoc = window.document, - support = {}, - dirruns = 0, - done = 0, - classCache = createCache(), - tokenCache = createCache(), - compilerCache = createCache(), - - // General-purpose constants - strundefined = typeof undefined, - MAX_NEGATIVE = 1 << 31, - - // Array methods - arr = [], - pop = arr.pop, - push = arr.push, - slice = arr.slice, - // Use a stripped-down indexOf if we can't use a native one - indexOf = arr.indexOf || function( elem ) { - var i = 0, - len = this.length; - for ( ; i < len; i++ ) { - if ( this[i] === elem ) { - return i; - } - } - return -1; - }, - - - // Regular expressions - - // Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace - whitespace = "[\\x20\\t\\r\\n\\f]", - // http://www.w3.org/TR/css3-syntax/#characters - characterEncoding = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+", - - // Loosely modeled on CSS identifier characters - // An unquoted value should be a CSS identifier http://www.w3.org/TR/css3-selectors/#attribute-selectors - // Proper syntax: http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier - identifier = characterEncoding.replace( "w", "w#" ), - - // Acceptable operators http://www.w3.org/TR/selectors/#attribute-selectors - operators = "([*^$|!~]?=)", - attributes = "\\[" + whitespace + "*(" + characterEncoding + ")" + whitespace + - "*(?:" + operators + whitespace + "*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|(" + identifier + ")|)|)" + whitespace + "*\\]", - - // Prefer arguments quoted, - // then not containing pseudos/brackets, - // then attribute selectors/non-parenthetical expressions, - // then anything else - // These preferences are here to reduce the number of selectors - // needing tokenize in the PSEUDO preFilter - pseudos = ":(" + characterEncoding + ")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|" + attributes.replace( 3, 8 ) + ")*)|.*)\\)|)", - - // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter - rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), - - rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), - rcombinators = new RegExp( "^" + whitespace + "*([\\x20\\t\\r\\n\\f>+~])" + whitespace + "*" ), - rpseudo = new RegExp( pseudos ), - ridentifier = new RegExp( "^" + identifier + "$" ), - - matchExpr = { - "ID": new RegExp( "^#(" + characterEncoding + ")" ), - "CLASS": new RegExp( "^\\.(" + characterEncoding + ")" ), - "NAME": new RegExp( "^\\[name=['\"]?(" + characterEncoding + ")['\"]?\\]" ), - "TAG": new RegExp( "^(" + characterEncoding.replace( "w", "w*" ) + ")" ), - "ATTR": new RegExp( "^" + attributes ), - "PSEUDO": new RegExp( "^" + pseudos ), - "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + - "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + - "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), - // For use in libraries implementing .is() - // We use this for POS matching in `select` - "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + - whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) - }, - - rsibling = /[\x20\t\r\n\f]*[+~]/, - - rnative = /^[^{]+\{\s*\[native code/, - - // Easily-parseable/retrievable ID or TAG or CLASS selectors - rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, - - rinputs = /^(?:input|select|textarea|button)$/i, - rheader = /^h\d$/i, - - rescape = /'|\\/g, - rattributeQuotes = /\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g, - - // CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters - runescape = /\\([\da-fA-F]{1,6}[\x20\t\r\n\f]?|.)/g, - funescape = function( _, escaped ) { - var high = "0x" + escaped - 0x10000; - // NaN means non-codepoint - return high !== high ? - escaped : - // BMP codepoint - high < 0 ? - String.fromCharCode( high + 0x10000 ) : - // Supplemental Plane codepoint (surrogate pair) - String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); - }; - -// Use a stripped-down slice if we can't use a native one -try { - slice.call( preferredDoc.documentElement.childNodes, 0 )[0].nodeType; -} catch ( e ) { - slice = function( i ) { - var elem, - results = []; - while ( (elem = this[i++]) ) { - results.push( elem ); - } - return results; - }; -} - -/** - * For feature detection - * @param {Function} fn The function to test for native support - */ -function isNative( fn ) { - return rnative.test( fn + "" ); -} - -/** - * Create key-value caches of limited size - * @returns {Function(string, Object)} Returns the Object data after storing it on itself with - * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) - * deleting the oldest entry - */ -function createCache() { - var cache, - keys = []; - - return (cache = function( key, value ) { - // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) - if ( keys.push( key += " " ) > Expr.cacheLength ) { - // Only keep the most recent entries - delete cache[ keys.shift() ]; - } - return (cache[ key ] = value); - }); -} - -/** - * Mark a function for special use by Sizzle - * @param {Function} fn The function to mark - */ -function markFunction( fn ) { - fn[ expando ] = true; - return fn; -} - -/** - * Support testing using an element - * @param {Function} fn Passed the created div and expects a boolean result - */ -function assert( fn ) { - var div = document.createElement("div"); - - try { - return fn( div ); - } catch (e) { - return false; - } finally { - // release memory in IE - div = null; - } -} - -function Sizzle( selector, context, results, seed ) { - var match, elem, m, nodeType, - // QSA vars - i, groups, old, nid, newContext, newSelector; - - if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) { - setDocument( context ); - } - - context = context || document; - results = results || []; - - if ( !selector || typeof selector !== "string" ) { - return results; - } - - if ( (nodeType = context.nodeType) !== 1 && nodeType !== 9 ) { - return []; - } - - if ( !documentIsXML && !seed ) { - - // Shortcuts - if ( (match = rquickExpr.exec( selector )) ) { - // Speed-up: Sizzle("#ID") - if ( (m = match[1]) ) { - if ( nodeType === 9 ) { - elem = context.getElementById( m ); - // Check parentNode to catch when Blackberry 4.6 returns - // nodes that are no longer in the document #6963 - if ( elem && elem.parentNode ) { - // Handle the case where IE, Opera, and Webkit return items - // by name instead of ID - if ( elem.id === m ) { - results.push( elem ); - return results; - } - } else { - return results; - } - } else { - // Context is not a document - if ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) && - contains( context, elem ) && elem.id === m ) { - results.push( elem ); - return results; - } - } - - // Speed-up: Sizzle("TAG") - } else if ( match[2] ) { - push.apply( results, slice.call(context.getElementsByTagName( selector ), 0) ); - return results; - - // Speed-up: Sizzle(".CLASS") - } else if ( (m = match[3]) && support.getByClassName && context.getElementsByClassName ) { - push.apply( results, slice.call(context.getElementsByClassName( m ), 0) ); - return results; - } - } - - // QSA path - if ( support.qsa && !rbuggyQSA.test(selector) ) { - old = true; - nid = expando; - newContext = context; - newSelector = nodeType === 9 && selector; - - // qSA works strangely on Element-rooted queries - // We can work around this by specifying an extra ID on the root - // and working up from there (Thanks to Andrew Dupont for the technique) - // IE 8 doesn't work on object elements - if ( nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) { - groups = tokenize( selector ); - - if ( (old = context.getAttribute("id")) ) { - nid = old.replace( rescape, "\\$&" ); - } else { - context.setAttribute( "id", nid ); - } - nid = "[id='" + nid + "'] "; - - i = groups.length; - while ( i-- ) { - groups[i] = nid + toSelector( groups[i] ); - } - newContext = rsibling.test( selector ) && context.parentNode || context; - newSelector = groups.join(","); - } - - if ( newSelector ) { - try { - push.apply( results, slice.call( newContext.querySelectorAll( - newSelector - ), 0 ) ); - return results; - } catch(qsaError) { - } finally { - if ( !old ) { - context.removeAttribute("id"); - } - } - } - } - } - - // All others - return select( selector.replace( rtrim, "$1" ), context, results, seed ); -} - -/** - * Detect xml - * @param {Element|Object} elem An element or a document - */ -isXML = Sizzle.isXML = function( elem ) { - // documentElement is verified for cases where it doesn't yet exist - // (such as loading iframes in IE - #4833) - var documentElement = elem && (elem.ownerDocument || elem).documentElement; - return documentElement ? documentElement.nodeName !== "HTML" : false; -}; - -/** - * Sets document-related variables once based on the current document - * @param {Element|Object} [doc] An element or document object to use to set the document - * @returns {Object} Returns the current document - */ -setDocument = Sizzle.setDocument = function( node ) { - var doc = node ? node.ownerDocument || node : preferredDoc; - - // If no document and documentElement is available, return - if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) { - return document; - } - - // Set our document - document = doc; - docElem = doc.documentElement; - - // Support tests - documentIsXML = isXML( doc ); - - // Check if getElementsByTagName("*") returns only elements - support.tagNameNoComments = assert(function( div ) { - div.appendChild( doc.createComment("") ); - return !div.getElementsByTagName("*").length; - }); - - // Check if attributes should be retrieved by attribute nodes - support.attributes = assert(function( div ) { - div.innerHTML = "<select></select>"; - var type = typeof div.lastChild.getAttribute("multiple"); - // IE8 returns a string for some attributes even when not present - return type !== "boolean" && type !== "string"; - }); - - // Check if getElementsByClassName can be trusted - support.getByClassName = assert(function( div ) { - // Opera can't find a second classname (in 9.6) - div.innerHTML = "<div class='hidden e'></div><div class='hidden'></div>"; - if ( !div.getElementsByClassName || !div.getElementsByClassName("e").length ) { - return false; - } - - // Safari 3.2 caches class attributes and doesn't catch changes - div.lastChild.className = "e"; - return div.getElementsByClassName("e").length === 2; - }); - - // Check if getElementById returns elements by name - // Check if getElementsByName privileges form controls or returns elements by ID - support.getByName = assert(function( div ) { - // Inject content - div.id = expando + 0; - div.innerHTML = "<a name='" + expando + "'></a><div name='" + expando + "'></div>"; - docElem.insertBefore( div, docElem.firstChild ); - - // Test - var pass = doc.getElementsByName && - // buggy browsers will return fewer than the correct 2 - doc.getElementsByName( expando ).length === 2 + - // buggy browsers will return more than the correct 0 - doc.getElementsByName( expando + 0 ).length; - support.getIdNotName = !doc.getElementById( expando ); - - // Cleanup - docElem.removeChild( div ); - - return pass; - }); - - // IE6/7 return modified attributes - Expr.attrHandle = assert(function( div ) { - div.innerHTML = "<a href='#'></a>"; - return div.firstChild && typeof div.firstChild.getAttribute !== strundefined && - div.firstChild.getAttribute("href") === "#"; - }) ? - {} : - { - "href": function( elem ) { - return elem.getAttribute( "href", 2 ); - }, - "type": function( elem ) { - return elem.getAttribute("type"); - } - }; - - // ID find and filter - if ( support.getIdNotName ) { - Expr.find["ID"] = function( id, context ) { - if ( typeof context.getElementById !== strundefined && !documentIsXML ) { - var m = context.getElementById( id ); - // Check parentNode to catch when Blackberry 4.6 returns - // nodes that are no longer in the document #6963 - return m && m.parentNode ? [m] : []; - } - }; - Expr.filter["ID"] = function( id ) { - var attrId = id.replace( runescape, funescape ); - return function( elem ) { - return elem.getAttribute("id") === attrId; - }; - }; - } else { - Expr.find["ID"] = function( id, context ) { - if ( typeof context.getElementById !== strundefined && !documentIsXML ) { - var m = context.getElementById( id ); - - return m ? - m.id === id || typeof m.getAttributeNode !== strundefined && m.getAttributeNode("id").value === id ? - [m] : - undefined : - []; - } - }; - Expr.filter["ID"] = function( id ) { - var attrId = id.replace( runescape, funescape ); - return function( elem ) { - var node = typeof elem.getAttributeNode !== strundefined && elem.getAttributeNode("id"); - return node && node.value === attrId; - }; - }; - } - - // Tag - Expr.find["TAG"] = support.tagNameNoComments ? - function( tag, context ) { - if ( typeof context.getElementsByTagName !== strundefined ) { - return context.getElementsByTagName( tag ); - } - } : - function( tag, context ) { - var elem, - tmp = [], - i = 0, - results = context.getElementsByTagName( tag ); - - // Filter out possible comments - if ( tag === "*" ) { - while ( (elem = results[i++]) ) { - if ( elem.nodeType === 1 ) { - tmp.push( elem ); - } - } - - return tmp; - } - return results; - }; - - // Name - Expr.find["NAME"] = support.getByName && function( tag, context ) { - if ( typeof context.getElementsByName !== strundefined ) { - return context.getElementsByName( name ); - } - }; - - // Class - Expr.find["CLASS"] = support.getByClassName && function( className, context ) { - if ( typeof context.getElementsByClassName !== strundefined && !documentIsXML ) { - return context.getElementsByClassName( className ); - } - }; - - // QSA and matchesSelector support - - // matchesSelector(:active) reports false when true (IE9/Opera 11.5) - rbuggyMatches = []; - - // qSa(:focus) reports false when true (Chrome 21), - // no need to also add to buggyMatches since matches checks buggyQSA - // A support test would require too much code (would include document ready) - rbuggyQSA = [ ":focus" ]; - - if ( (support.qsa = isNative(doc.querySelectorAll)) ) { - // Build QSA regex - // Regex strategy adopted from Diego Perini - assert(function( div ) { - // Select is set to empty string on purpose - // This is to test IE's treatment of not explictly - // setting a boolean content attribute, - // since its presence should be enough - // http://bugs.jquery.com/ticket/12359 - div.innerHTML = "<select><option selected=''></option></select>"; - - // IE8 - Some boolean attributes are not treated correctly - if ( !div.querySelectorAll("[selected]").length ) { - rbuggyQSA.push( "\\[" + whitespace + "*(?:checked|disabled|ismap|multiple|readonly|selected|value)" ); - } - - // Webkit/Opera - :checked should return selected option elements - // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked - // IE8 throws error here and will not see later tests - if ( !div.querySelectorAll(":checked").length ) { - rbuggyQSA.push(":checked"); - } - }); - - assert(function( div ) { - - // Opera 10-12/IE8 - ^= $= *= and empty values - // Should not select anything - div.innerHTML = "<input type='hidden' i=''/>"; - if ( div.querySelectorAll("[i^='']").length ) { - rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:\"\"|'')" ); - } - - // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) - // IE8 throws error here and will not see later tests - if ( !div.querySelectorAll(":enabled").length ) { - rbuggyQSA.push( ":enabled", ":disabled" ); - } - - // Opera 10-11 does not throw on post-comma invalid pseudos - div.querySelectorAll("*,:x"); - rbuggyQSA.push(",.*:"); - }); - } - - if ( (support.matchesSelector = isNative( (matches = docElem.matchesSelector || - docElem.mozMatchesSelector || - docElem.webkitMatchesSelector || - docElem.oMatchesSelector || - docElem.msMatchesSelector) )) ) { - - assert(function( div ) { - // Check to see if it's possible to do matchesSelector - // on a disconnected node (IE 9) - support.disconnectedMatch = matches.call( div, "div" ); - - // This should fail with an exception - // Gecko does not error, returns false instead - matches.call( div, "[s!='']:x" ); - rbuggyMatches.push( "!=", pseudos ); - }); - } - - rbuggyQSA = new RegExp( rbuggyQSA.join("|") ); - rbuggyMatches = new RegExp( rbuggyMatches.join("|") ); - - // Element contains another - // Purposefully does not implement inclusive descendent - // As in, an element does not contain itself - contains = isNative(docElem.contains) || docElem.compareDocumentPosition ? - function( a, b ) { - var adown = a.nodeType === 9 ? a.documentElement : a, - bup = b && b.parentNode; - return a === bup || !!( bup && bup.nodeType === 1 && ( - adown.contains ? - adown.contains( bup ) : - a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 - )); - } : - function( a, b ) { - if ( b ) { - while ( (b = b.parentNode) ) { - if ( b === a ) { - return true; - } - } - } - return false; - }; - - // Document order sorting - sortOrder = docElem.compareDocumentPosition ? - function( a, b ) { - var compare; - - if ( a === b ) { - hasDuplicate = true; - return 0; - } - - if ( (compare = b.compareDocumentPosition && a.compareDocumentPosition && a.compareDocumentPosition( b )) ) { - if ( compare & 1 || a.parentNode && a.parentNode.nodeType === 11 ) { - if ( a === doc || contains( preferredDoc, a ) ) { - return -1; - } - if ( b === doc || contains( preferredDoc, b ) ) { - return 1; - } - return 0; - } - return compare & 4 ? -1 : 1; - } - - return a.compareDocumentPosition ? -1 : 1; - } : - function( a, b ) { - var cur, - i = 0, - aup = a.parentNode, - bup = b.parentNode, - ap = [ a ], - bp = [ b ]; - - // Exit early if the nodes are identical - if ( a === b ) { - hasDuplicate = true; - return 0; - - // Parentless nodes are either documents or disconnected - } else if ( !aup || !bup ) { - return a === doc ? -1 : - b === doc ? 1 : - aup ? -1 : - bup ? 1 : - 0; - - // If the nodes are siblings, we can do a quick check - } else if ( aup === bup ) { - return siblingCheck( a, b ); - } - - // Otherwise we need full lists of their ancestors for comparison - cur = a; - while ( (cur = cur.parentNode) ) { - ap.unshift( cur ); - } - cur = b; - while ( (cur = cur.parentNode) ) { - bp.unshift( cur ); - } - - // Walk down the tree looking for a discrepancy - while ( ap[i] === bp[i] ) { - i++; - } - - return i ? - // Do a sibling check if the nodes have a common ancestor - siblingCheck( ap[i], bp[i] ) : - - // Otherwise nodes in our document sort first - ap[i] === preferredDoc ? -1 : - bp[i] === preferredDoc ? 1 : - 0; - }; - - // Always assume the presence of duplicates if sort doesn't - // pass them to our comparison function (as in Google Chrome). - hasDuplicate = false; - [0, 0].sort( sortOrder ); - support.detectDuplicates = hasDuplicate; - - return document; -}; - -Sizzle.matches = function( expr, elements ) { - return Sizzle( expr, null, null, elements ); -}; - -Sizzle.matchesSelector = function( elem, expr ) { - // Set document vars if needed - if ( ( elem.ownerDocument || elem ) !== document ) { - setDocument( elem ); - } - - // Make sure that attribute selectors are quoted - expr = expr.replace( rattributeQuotes, "='$1']" ); - - // rbuggyQSA always contains :focus, so no need for an existence check - if ( support.matchesSelector && !documentIsXML && (!rbuggyMatches || !rbuggyMatches.test(expr)) && !rbuggyQSA.test(expr) ) { - try { - var ret = matches.call( elem, expr ); - - // IE 9's matchesSelector returns false on disconnected nodes - if ( ret || support.disconnectedMatch || - // As well, disconnected nodes are said to be in a document - // fragment in IE 9 - elem.document && elem.document.nodeType !== 11 ) { - return ret; - } - } catch(e) {} - } - - return Sizzle( expr, document, null, [elem] ).length > 0; -}; - -Sizzle.contains = function( context, elem ) { - // Set document vars if needed - if ( ( context.ownerDocument || context ) !== document ) { - setDocument( context ); - } - return contains( context, elem ); -}; - -Sizzle.attr = function( elem, name ) { - var val; - - // Set document vars if needed - if ( ( elem.ownerDocument || elem ) !== document ) { - setDocument( elem ); - } - - if ( !documentIsXML ) { - name = name.toLowerCase(); - } - if ( (val = Expr.attrHandle[ name ]) ) { - return val( elem ); - } - if ( documentIsXML || support.attributes ) { - return elem.getAttribute( name ); - } - return ( (val = elem.getAttributeNode( name )) || elem.getAttribute( name ) ) && elem[ name ] === true ? - name : - val && val.specified ? val.value : null; -}; - -Sizzle.error = function( msg ) { - throw new Error( "Syntax error, unrecognized expression: " + msg ); -}; - -// Document sorting and removing duplicates -Sizzle.uniqueSort = function( results ) { - var elem, - duplicates = [], - i = 1, - j = 0; - - // Unless we *know* we can detect duplicates, assume their presence - hasDuplicate = !support.detectDuplicates; - results.sort( sortOrder ); - - if ( hasDuplicate ) { - for ( ; (elem = results[i]); i++ ) { - if ( elem === results[ i - 1 ] ) { - j = duplicates.push( i ); - } - } - while ( j-- ) { - results.splice( duplicates[ j ], 1 ); - } - } - - return results; -}; - -function siblingCheck( a, b ) { - var cur = b && a, - diff = cur && ( ~b.sourceIndex || MAX_NEGATIVE ) - ( ~a.sourceIndex || MAX_NEGATIVE ); - - // Use IE sourceIndex if available on both nodes - if ( diff ) { - return diff; - } - - // Check if b follows a - if ( cur ) { - while ( (cur = cur.nextSibling) ) { - if ( cur === b ) { - return -1; - } - } - } - - return a ? 1 : -1; -} - -// Returns a function to use in pseudos for input types -function createInputPseudo( type ) { - return function( elem ) { - var name = elem.nodeName.toLowerCase(); - return name === "input" && elem.type === type; - }; -} - -// Returns a function to use in pseudos for buttons -function createButtonPseudo( type ) { - return function( elem ) { - var name = elem.nodeName.toLowerCase(); - return (name === "input" || name === "button") && elem.type === type; - }; -} - -// Returns a function to use in pseudos for positionals -function createPositionalPseudo( fn ) { - return markFunction(function( argument ) { - argument = +argument; - return markFunction(function( seed, matches ) { - var j, - matchIndexes = fn( [], seed.length, argument ), - i = matchIndexes.length; - - // Match elements found at the specified indexes - while ( i-- ) { - if ( seed[ (j = matchIndexes[i]) ] ) { - seed[j] = !(matches[j] = seed[j]); - } - } - }); - }); -} - -/** - * Utility function for retrieving the text value of an array of DOM nodes - * @param {Array|Element} elem - */ -getText = Sizzle.getText = function( elem ) { - var node, - ret = "", - i = 0, - nodeType = elem.nodeType; - - if ( !nodeType ) { - // If no nodeType, this is expected to be an array - for ( ; (node = elem[i]); i++ ) { - // Do not traverse comment nodes - ret += getText( node ); - } - } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { - // Use textContent for elements - // innerText usage removed for consistency of new lines (see #11153) - if ( typeof elem.textContent === "string" ) { - return elem.textContent; - } else { - // Traverse its children - for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { - ret += getText( elem ); - } - } - } else if ( nodeType === 3 || nodeType === 4 ) { - return elem.nodeValue; - } - // Do not include comment or processing instruction nodes - - return ret; -}; - -Expr = Sizzle.selectors = { - - // Can be adjusted by the user - cacheLength: 50, - - createPseudo: markFunction, - - match: matchExpr, - - find: {}, - - relative: { - ">": { dir: "parentNode", first: true }, - " ": { dir: "parentNode" }, - "+": { dir: "previousSibling", first: true }, - "~": { dir: "previousSibling" } - }, - - preFilter: { - "ATTR": function( match ) { - match[1] = match[1].replace( runescape, funescape ); - - // Move the given value to match[3] whether quoted or unquoted - match[3] = ( match[4] || match[5] || "" ).replace( runescape, funescape ); - - if ( match[2] === "~=" ) { - match[3] = " " + match[3] + " "; - } - - return match.slice( 0, 4 ); - }, - - "CHILD": function( match ) { - /* matches from matchExpr["CHILD"] - 1 type (only|nth|...) - 2 what (child|of-type) - 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) - 4 xn-component of xn+y argument ([+-]?\d*n|) - 5 sign of xn-component - 6 x of xn-component - 7 sign of y-component - 8 y of y-component - */ - match[1] = match[1].toLowerCase(); - - if ( match[1].slice( 0, 3 ) === "nth" ) { - // nth-* requires argument - if ( !match[3] ) { - Sizzle.error( match[0] ); - } - - // numeric x and y parameters for Expr.filter.CHILD - // remember that false/true cast respectively to 0/1 - match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) ); - match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" ); - - // other types prohibit arguments - } else if ( match[3] ) { - Sizzle.error( match[0] ); - } - - return match; - }, - - "PSEUDO": function( match ) { - var excess, - unquoted = !match[5] && match[2]; - - if ( matchExpr["CHILD"].test( match[0] ) ) { - return null; - } - - // Accept quoted arguments as-is - if ( match[4] ) { - match[2] = match[4]; - - // Strip excess characters from unquoted arguments - } else if ( unquoted && rpseudo.test( unquoted ) && - // Get excess from tokenize (recursively) - (excess = tokenize( unquoted, true )) && - // advance to the next closing parenthesis - (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) { - - // excess is a negative index - match[0] = match[0].slice( 0, excess ); - match[2] = unquoted.slice( 0, excess ); - } - - // Return only captures needed by the pseudo filter method (type and argument) - return match.slice( 0, 3 ); - } - }, - - filter: { - - "TAG": function( nodeName ) { - if ( nodeName === "*" ) { - return function() { return true; }; - } - - nodeName = nodeName.replace( runescape, funescape ).toLowerCase(); - return function( elem ) { - return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; - }; - }, - - "CLASS": function( className ) { - var pattern = classCache[ className + " " ]; - - return pattern || - (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) && - classCache( className, function( elem ) { - return pattern.test( elem.className || (typeof elem.getAttribute !== strundefined && elem.getAttribute("class")) || "" ); - }); - }, - - "ATTR": function( name, operator, check ) { - return function( elem ) { - var result = Sizzle.attr( elem, name ); - - if ( result == null ) { - return operator === "!="; - } - if ( !operator ) { - return true; - } - - result += ""; - - return operator === "=" ? result === check : - operator === "!=" ? result !== check : - operator === "^=" ? check && result.indexOf( check ) === 0 : - operator === "*=" ? check && result.indexOf( check ) > -1 : - operator === "$=" ? check && result.slice( -check.length ) === check : - operator === "~=" ? ( " " + result + " " ).indexOf( check ) > -1 : - operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : - false; - }; - }, - - "CHILD": function( type, what, argument, first, last ) { - var simple = type.slice( 0, 3 ) !== "nth", - forward = type.slice( -4 ) !== "last", - ofType = what === "of-type"; - - return first === 1 && last === 0 ? - - // Shortcut for :nth-*(n) - function( elem ) { - return !!elem.parentNode; - } : - - function( elem, context, xml ) { - var cache, outerCache, node, diff, nodeIndex, start, - dir = simple !== forward ? "nextSibling" : "previousSibling", - parent = elem.parentNode, - name = ofType && elem.nodeName.toLowerCase(), - useCache = !xml && !ofType; - - if ( parent ) { - - // :(first|last|only)-(child|of-type) - if ( simple ) { - while ( dir ) { - node = elem; - while ( (node = node[ dir ]) ) { - if ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) { - return false; - } - } - // Reverse direction for :only-* (if we haven't yet done so) - start = dir = type === "only" && !start && "nextSibling"; - } - return true; - } - - start = [ forward ? parent.firstChild : parent.lastChild ]; - - // non-xml :nth-child(...) stores cache data on `parent` - if ( forward && useCache ) { - // Seek `elem` from a previously-cached index - outerCache = parent[ expando ] || (parent[ expando ] = {}); - cache = outerCache[ type ] || []; - nodeIndex = cache[0] === dirruns && cache[1]; - diff = cache[0] === dirruns && cache[2]; - node = nodeIndex && parent.childNodes[ nodeIndex ]; - - while ( (node = ++nodeIndex && node && node[ dir ] || - - // Fallback to seeking `elem` from the start - (diff = nodeIndex = 0) || start.pop()) ) { - - // When found, cache indexes on `parent` and break - if ( node.nodeType === 1 && ++diff && node === elem ) { - outerCache[ type ] = [ dirruns, nodeIndex, diff ]; - break; - } - } - - // Use previously-cached element index if available - } else if ( useCache && (cache = (elem[ expando ] || (elem[ expando ] = {}))[ type ]) && cache[0] === dirruns ) { - diff = cache[1]; - - // xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...) - } else { - // Use the same loop as above to seek `elem` from the start - while ( (node = ++nodeIndex && node && node[ dir ] || - (diff = nodeIndex = 0) || start.pop()) ) { - - if ( ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff ) { - // Cache the index of each encountered element - if ( useCache ) { - (node[ expando ] || (node[ expando ] = {}))[ type ] = [ dirruns, diff ]; - } - - if ( node === elem ) { - break; - } - } - } - } - - // Incorporate the offset, then check against cycle size - diff -= last; - return diff === first || ( diff % first === 0 && diff / first >= 0 ); - } - }; - }, - - "PSEUDO": function( pseudo, argument ) { - // pseudo-class names are case-insensitive - // http://www.w3.org/TR/selectors/#pseudo-classes - // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters - // Remember that setFilters inherits from pseudos - var args, - fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || - Sizzle.error( "unsupported pseudo: " + pseudo ); - - // The user may use createPseudo to indicate that - // arguments are needed to create the filter function - // just as Sizzle does - if ( fn[ expando ] ) { - return fn( argument ); - } - - // But maintain support for old signatures - if ( fn.length > 1 ) { - args = [ pseudo, pseudo, "", argument ]; - return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? - markFunction(function( seed, matches ) { - var idx, - matched = fn( seed, argument ), - i = matched.length; - while ( i-- ) { - idx = indexOf.call( seed, matched[i] ); - seed[ idx ] = !( matches[ idx ] = matched[i] ); - } - }) : - function( elem ) { - return fn( elem, 0, args ); - }; - } - - return fn; - } - }, - - pseudos: { - // Potentially complex pseudos - "not": markFunction(function( selector ) { - // Trim the selector passed to compile - // to avoid treating leading and trailing - // spaces as combinators - var input = [], - results = [], - matcher = compile( selector.replace( rtrim, "$1" ) ); - - return matcher[ expando ] ? - markFunction(function( seed, matches, context, xml ) { - var elem, - unmatched = matcher( seed, null, xml, [] ), - i = seed.length; - - // Match elements unmatched by `matcher` - while ( i-- ) { - if ( (elem = unmatched[i]) ) { - seed[i] = !(matches[i] = elem); - } - } - }) : - function( elem, context, xml ) { - input[0] = elem; - matcher( input, null, xml, results ); - return !results.pop(); - }; - }), - - "has": markFunction(function( selector ) { - return function( elem ) { - return Sizzle( selector, elem ).length > 0; - }; - }), - - "contains": markFunction(function( text ) { - return function( elem ) { - return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1; - }; - }), - - // "Whether an element is represented by a :lang() selector - // is based solely on the element's language value - // being equal to the identifier C, - // or beginning with the identifier C immediately followed by "-". - // The matching of C against the element's language value is performed case-insensitively. - // The identifier C does not have to be a valid language name." - // http://www.w3.org/TR/selectors/#lang-pseudo - "lang": markFunction( function( lang ) { - // lang value must be a valid identifider - if ( !ridentifier.test(lang || "") ) { - Sizzle.error( "unsupported lang: " + lang ); - } - lang = lang.replace( runescape, funescape ).toLowerCase(); - return function( elem ) { - var elemLang; - do { - if ( (elemLang = documentIsXML ? - elem.getAttribute("xml:lang") || elem.getAttribute("lang") : - elem.lang) ) { - - elemLang = elemLang.toLowerCase(); - return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; - } - } while ( (elem = elem.parentNode) && elem.nodeType === 1 ); - return false; - }; - }), - - // Miscellaneous - "target": function( elem ) { - var hash = window.location && window.location.hash; - return hash && hash.slice( 1 ) === elem.id; - }, - - "root": function( elem ) { - return elem === docElem; - }, - - "focus": function( elem ) { - return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex); - }, - - // Boolean properties - "enabled": function( elem ) { - return elem.disabled === false; - }, - - "disabled": function( elem ) { - return elem.disabled === true; - }, - - "checked": function( elem ) { - // In CSS3, :checked should return both checked and selected elements - // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked - var nodeName = elem.nodeName.toLowerCase(); - return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected); - }, - - "selected": function( elem ) { - // Accessing this property makes selected-by-default - // options in Safari work properly - if ( elem.parentNode ) { - elem.parentNode.selectedIndex; - } - - return elem.selected === true; - }, - - // Contents - "empty": function( elem ) { - // http://www.w3.org/TR/selectors/#empty-pseudo - // :empty is only affected by element nodes and content nodes(including text(3), cdata(4)), - // not comment, processing instructions, or others - // Thanks to Diego Perini for the nodeName shortcut - // Greater than "@" means alpha characters (specifically not starting with "#" or "?") - for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { - if ( elem.nodeName > "@" || elem.nodeType === 3 || elem.nodeType === 4 ) { - return false; - } - } - return true; - }, - - "parent": function( elem ) { - return !Expr.pseudos["empty"]( elem ); - }, - - // Element/input types - "header": function( elem ) { - return rheader.test( elem.nodeName ); - }, - - "input": function( elem ) { - return rinputs.test( elem.nodeName ); - }, - - "button": function( elem ) { - var name = elem.nodeName.toLowerCase(); - return name === "input" && elem.type === "button" || name === "button"; - }, - - "text": function( elem ) { - var attr; - // IE6 and 7 will map elem.type to 'text' for new HTML5 types (search, etc) - // use getAttribute instead to test this case - return elem.nodeName.toLowerCase() === "input" && - elem.type === "text" && - ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === elem.type ); - }, - - // Position-in-collection - "first": createPositionalPseudo(function() { - return [ 0 ]; - }), - - "last": createPositionalPseudo(function( matchIndexes, length ) { - return [ length - 1 ]; - }), - - "eq": createPositionalPseudo(function( matchIndexes, length, argument ) { - return [ argument < 0 ? argument + length : argument ]; - }), - - "even": createPositionalPseudo(function( matchIndexes, length ) { - var i = 0; - for ( ; i < length; i += 2 ) { - matchIndexes.push( i ); - } - return matchIndexes; - }), - - "odd": createPositionalPseudo(function( matchIndexes, length ) { - var i = 1; - for ( ; i < length; i += 2 ) { - matchIndexes.push( i ); - } - return matchIndexes; - }), - - "lt": createPositionalPseudo(function( matchIndexes, length, argument ) { - var i = argument < 0 ? argument + length : argument; - for ( ; --i >= 0; ) { - matchIndexes.push( i ); - } - return matchIndexes; - }), - - "gt": createPositionalPseudo(function( matchIndexes, length, argument ) { - var i = argument < 0 ? argument + length : argument; - for ( ; ++i < length; ) { - matchIndexes.push( i ); - } - return matchIndexes; - }) - } -}; - -// Add button/input type pseudos -for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { - Expr.pseudos[ i ] = createInputPseudo( i ); -} -for ( i in { submit: true, reset: true } ) { - Expr.pseudos[ i ] = createButtonPseudo( i ); -} - -function tokenize( selector, parseOnly ) { - var matched, match, tokens, type, - soFar, groups, preFilters, - cached = tokenCache[ selector + " " ]; - - if ( cached ) { - return parseOnly ? 0 : cached.slice( 0 ); - } - - soFar = selector; - groups = []; - preFilters = Expr.preFilter; - - while ( soFar ) { - - // Comma and first run - if ( !matched || (match = rcomma.exec( soFar )) ) { - if ( match ) { - // Don't consume trailing commas as valid - soFar = soFar.slice( match[0].length ) || soFar; - } - groups.push( tokens = [] ); - } - - matched = false; - - // Combinators - if ( (match = rcombinators.exec( soFar )) ) { - matched = match.shift(); - tokens.push( { - value: matched, - // Cast descendant combinators to space - type: match[0].replace( rtrim, " " ) - } ); - soFar = soFar.slice( matched.length ); - } - - // Filters - for ( type in Expr.filter ) { - if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] || - (match = preFilters[ type ]( match ))) ) { - matched = match.shift(); - tokens.push( { - value: matched, - type: type, - matches: match - } ); - soFar = soFar.slice( matched.length ); - } - } - - if ( !matched ) { - break; - } - } - - // Return the length of the invalid excess - // if we're just parsing - // Otherwise, throw an error or return tokens - return parseOnly ? - soFar.length : - soFar ? - Sizzle.error( selector ) : - // Cache the tokens - tokenCache( selector, groups ).slice( 0 ); -} - -function toSelector( tokens ) { - var i = 0, - len = tokens.length, - selector = ""; - for ( ; i < len; i++ ) { - selector += tokens[i].value; - } - return selector; -} - -function addCombinator( matcher, combinator, base ) { - var dir = combinator.dir, - checkNonElements = base && dir === "parentNode", - doneName = done++; - - return combinator.first ? - // Check against closest ancestor/preceding element - function( elem, context, xml ) { - while ( (elem = elem[ dir ]) ) { - if ( elem.nodeType === 1 || checkNonElements ) { - return matcher( elem, context, xml ); - } - } - } : - - // Check against all ancestor/preceding elements - function( elem, context, xml ) { - var data, cache, outerCache, - dirkey = dirruns + " " + doneName; - - // We can't set arbitrary data on XML nodes, so they don't benefit from dir caching - if ( xml ) { - while ( (elem = elem[ dir ]) ) { - if ( elem.nodeType === 1 || checkNonElements ) { - if ( matcher( elem, context, xml ) ) { - return true; - } - } - } - } else { - while ( (elem = elem[ dir ]) ) { - if ( elem.nodeType === 1 || checkNonElements ) { - outerCache = elem[ expando ] || (elem[ expando ] = {}); - if ( (cache = outerCache[ dir ]) && cache[0] === dirkey ) { - if ( (data = cache[1]) === true || data === cachedruns ) { - return data === true; - } - } else { - cache = outerCache[ dir ] = [ dirkey ]; - cache[1] = matcher( elem, context, xml ) || cachedruns; - if ( cache[1] === true ) { - return true; - } - } - } - } - } - }; -} - -function elementMatcher( matchers ) { - return matchers.length > 1 ? - function( elem, context, xml ) { - var i = matchers.length; - while ( i-- ) { - if ( !matchers[i]( elem, context, xml ) ) { - return false; - } - } - return true; - } : - matchers[0]; -} - -function condense( unmatched, map, filter, context, xml ) { - var elem, - newUnmatched = [], - i = 0, - len = unmatched.length, - mapped = map != null; - - for ( ; i < len; i++ ) { - if ( (elem = unmatched[i]) ) { - if ( !filter || filter( elem, context, xml ) ) { - newUnmatched.push( elem ); - if ( mapped ) { - map.push( i ); - } - } - } - } - - return newUnmatched; -} - -function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { - if ( postFilter && !postFilter[ expando ] ) { - postFilter = setMatcher( postFilter ); - } - if ( postFinder && !postFinder[ expando ] ) { - postFinder = setMatcher( postFinder, postSelector ); - } - return markFunction(function( seed, results, context, xml ) { - var temp, i, elem, - preMap = [], - postMap = [], - preexisting = results.length, - - // Get initial elements from seed or context - elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ), - - // Prefilter to get matcher input, preserving a map for seed-results synchronization - matcherIn = preFilter && ( seed || !selector ) ? - condense( elems, preMap, preFilter, context, xml ) : - elems, - - matcherOut = matcher ? - // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, - postFinder || ( seed ? preFilter : preexisting || postFilter ) ? - - // ...intermediate processing is necessary - [] : - - // ...otherwise use results directly - results : - matcherIn; - - // Find primary matches - if ( matcher ) { - matcher( matcherIn, matcherOut, context, xml ); - } - - // Apply postFilter - if ( postFilter ) { - temp = condense( matcherOut, postMap ); - postFilter( temp, [], context, xml ); - - // Un-match failing elements by moving them back to matcherIn - i = temp.length; - while ( i-- ) { - if ( (elem = temp[i]) ) { - matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem); - } - } - } - - if ( seed ) { - if ( postFinder || preFilter ) { - if ( postFinder ) { - // Get the final matcherOut by condensing this intermediate into postFinder contexts - temp = []; - i = matcherOut.length; - while ( i-- ) { - if ( (elem = matcherOut[i]) ) { - // Restore matcherIn since elem is not yet a final match - temp.push( (matcherIn[i] = elem) ); - } - } - postFinder( null, (matcherOut = []), temp, xml ); - } - - // Move matched elements from seed to results to keep them synchronized - i = matcherOut.length; - while ( i-- ) { - if ( (elem = matcherOut[i]) && - (temp = postFinder ? indexOf.call( seed, elem ) : preMap[i]) > -1 ) { - - seed[temp] = !(results[temp] = elem); - } - } - } - - // Add elements to results, through postFinder if defined - } else { - matcherOut = condense( - matcherOut === results ? - matcherOut.splice( preexisting, matcherOut.length ) : - matcherOut - ); - if ( postFinder ) { - postFinder( null, results, matcherOut, xml ); - } else { - push.apply( results, matcherOut ); - } - } - }); -} - -function matcherFromTokens( tokens ) { - var checkContext, matcher, j, - len = tokens.length, - leadingRelative = Expr.relative[ tokens[0].type ], - implicitRelative = leadingRelative || Expr.relative[" "], - i = leadingRelative ? 1 : 0, - - // The foundational matcher ensures that elements are reachable from top-level context(s) - matchContext = addCombinator( function( elem ) { - return elem === checkContext; - }, implicitRelative, true ), - matchAnyContext = addCombinator( function( elem ) { - return indexOf.call( checkContext, elem ) > -1; - }, implicitRelative, true ), - matchers = [ function( elem, context, xml ) { - return ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( - (checkContext = context).nodeType ? - matchContext( elem, context, xml ) : - matchAnyContext( elem, context, xml ) ); - } ]; - - for ( ; i < len; i++ ) { - if ( (matcher = Expr.relative[ tokens[i].type ]) ) { - matchers = [ addCombinator(elementMatcher( matchers ), matcher) ]; - } else { - matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches ); - - // Return special upon seeing a positional matcher - if ( matcher[ expando ] ) { - // Find the next relative operator (if any) for proper handling - j = ++i; - for ( ; j < len; j++ ) { - if ( Expr.relative[ tokens[j].type ] ) { - break; - } - } - return setMatcher( - i > 1 && elementMatcher( matchers ), - i > 1 && toSelector( tokens.slice( 0, i - 1 ) ).replace( rtrim, "$1" ), - matcher, - i < j && matcherFromTokens( tokens.slice( i, j ) ), - j < len && matcherFromTokens( (tokens = tokens.slice( j )) ), - j < len && toSelector( tokens ) - ); - } - matchers.push( matcher ); - } - } - - return elementMatcher( matchers ); -} - -function matcherFromGroupMatchers( elementMatchers, setMatchers ) { - // A counter to specify which element is currently being matched - var matcherCachedRuns = 0, - bySet = setMatchers.length > 0, - byElement = elementMatchers.length > 0, - superMatcher = function( seed, context, xml, results, expandContext ) { - var elem, j, matcher, - setMatched = [], - matchedCount = 0, - i = "0", - unmatched = seed && [], - outermost = expandContext != null, - contextBackup = outermostContext, - // We must always have either seed elements or context - elems = seed || byElement && Expr.find["TAG"]( "*", expandContext && context.parentNode || context ), - // Use integer dirruns iff this is the outermost matcher - dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1); - - if ( outermost ) { - outermostContext = context !== document && context; - cachedruns = matcherCachedRuns; - } - - // Add elements passing elementMatchers directly to results - // Keep `i` a string if there are no elements so `matchedCount` will be "00" below - for ( ; (elem = elems[i]) != null; i++ ) { - if ( byElement && elem ) { - j = 0; - while ( (matcher = elementMatchers[j++]) ) { - if ( matcher( elem, context, xml ) ) { - results.push( elem ); - break; - } - } - if ( outermost ) { - dirruns = dirrunsUnique; - cachedruns = ++matcherCachedRuns; - } - } - - // Track unmatched elements for set filters - if ( bySet ) { - // They will have gone through all possible matchers - if ( (elem = !matcher && elem) ) { - matchedCount--; - } - - // Lengthen the array for every element, matched or not - if ( seed ) { - unmatched.push( elem ); - } - } - } - - // Apply set filters to unmatched elements - matchedCount += i; - if ( bySet && i !== matchedCount ) { - j = 0; - while ( (matcher = setMatchers[j++]) ) { - matcher( unmatched, setMatched, context, xml ); - } - - if ( seed ) { - // Reintegrate element matches to eliminate the need for sorting - if ( matchedCount > 0 ) { - while ( i-- ) { - if ( !(unmatched[i] || setMatched[i]) ) { - setMatched[i] = pop.call( results ); - } - } - } - - // Discard index placeholder values to get only actual matches - setMatched = condense( setMatched ); - } - - // Add matches to results - push.apply( results, setMatched ); - - // Seedless set matches succeeding multiple successful matchers stipulate sorting - if ( outermost && !seed && setMatched.length > 0 && - ( matchedCount + setMatchers.length ) > 1 ) { - - Sizzle.uniqueSort( results ); - } - } - - // Override manipulation of globals by nested matchers - if ( outermost ) { - dirruns = dirrunsUnique; - outermostContext = contextBackup; - } - - return unmatched; - }; - - return bySet ? - markFunction( superMatcher ) : - superMatcher; -} - -compile = Sizzle.compile = function( selector, group /* Internal Use Only */ ) { - var i, - setMatchers = [], - elementMatchers = [], - cached = compilerCache[ selector + " " ]; - - if ( !cached ) { - // Generate a function of recursive functions that can be used to check each element - if ( !group ) { - group = tokenize( selector ); - } - i = group.length; - while ( i-- ) { - cached = matcherFromTokens( group[i] ); - if ( cached[ expando ] ) { - setMatchers.push( cached ); - } else { - elementMatchers.push( cached ); - } - } - - // Cache the compiled function - cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) ); - } - return cached; -}; - -function multipleContexts( selector, contexts, results ) { - var i = 0, - len = contexts.length; - for ( ; i < len; i++ ) { - Sizzle( selector, contexts[i], results ); - } - return results; -} - -function select( selector, context, results, seed ) { - var i, tokens, token, type, find, - match = tokenize( selector ); - - if ( !seed ) { - // Try to minimize operations if there is only one group - if ( match.length === 1 ) { - - // Take a shortcut and set the context if the root selector is an ID - tokens = match[0] = match[0].slice( 0 ); - if ( tokens.length > 2 && (token = tokens[0]).type === "ID" && - context.nodeType === 9 && !documentIsXML && - Expr.relative[ tokens[1].type ] ) { - - context = Expr.find["ID"]( token.matches[0].replace( runescape, funescape ), context )[0]; - if ( !context ) { - return results; - } - - selector = selector.slice( tokens.shift().value.length ); - } - - // Fetch a seed set for right-to-left matching - i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length; - while ( i-- ) { - token = tokens[i]; - - // Abort if we hit a combinator - if ( Expr.relative[ (type = token.type) ] ) { - break; - } - if ( (find = Expr.find[ type ]) ) { - // Search, expanding context for leading sibling combinators - if ( (seed = find( - token.matches[0].replace( runescape, funescape ), - rsibling.test( tokens[0].type ) && context.parentNode || context - )) ) { - - // If seed is empty or no tokens remain, we can return early - tokens.splice( i, 1 ); - selector = seed.length && toSelector( tokens ); - if ( !selector ) { - push.apply( results, slice.call( seed, 0 ) ); - return results; - } - - break; - } - } - } - } - } - - // Compile and execute a filtering function - // Provide `match` to avoid retokenization if we modified the selector above - compile( selector, match )( - seed, - context, - documentIsXML, - results, - rsibling.test( selector ) - ); - return results; -} - -// Deprecated -Expr.pseudos["nth"] = Expr.pseudos["eq"]; - -// Easy API for creating new setFilters -function setFilters() {} -Expr.filters = setFilters.prototype = Expr.pseudos; -Expr.setFilters = new setFilters(); - -// Initialize with the default document -setDocument(); - -// Override sizzle attribute retrieval -Sizzle.attr = jQuery.attr; -jQuery.find = Sizzle; -jQuery.expr = Sizzle.selectors; -jQuery.expr[":"] = jQuery.expr.pseudos; -jQuery.unique = Sizzle.uniqueSort; -jQuery.text = Sizzle.getText; -jQuery.isXMLDoc = Sizzle.isXML; -jQuery.contains = Sizzle.contains; - - -})( window ); -var runtil = /Until$/, - rparentsprev = /^(?:parents|prev(?:Until|All))/, - isSimple = /^.[^:#\[\.,]*$/, - rneedsContext = jQuery.expr.match.needsContext, - // methods guaranteed to produce a unique set when starting from a unique set - guaranteedUnique = { - children: true, - contents: true, - next: true, - prev: true - }; - -jQuery.fn.extend({ - find: function( selector ) { - var i, ret, self, - len = this.length; - - if ( typeof selector !== "string" ) { - self = this; - return this.pushStack( jQuery( selector ).filter(function() { - for ( i = 0; i < len; i++ ) { - if ( jQuery.contains( self[ i ], this ) ) { - return true; - } - } - }) ); - } - - ret = []; - for ( i = 0; i < len; i++ ) { - jQuery.find( selector, this[ i ], ret ); - } - - // Needed because $( selector, context ) becomes $( context ).find( selector ) - ret = this.pushStack( len > 1 ? jQuery.unique( ret ) : ret ); - ret.selector = ( this.selector ? this.selector + " " : "" ) + selector; - return ret; - }, - - has: function( target ) { - var i, - targets = jQuery( target, this ), - len = targets.length; - - return this.filter(function() { - for ( i = 0; i < len; i++ ) { - if ( jQuery.contains( this, targets[i] ) ) { - return true; - } - } - }); - }, - - not: function( selector ) { - return this.pushStack( winnow(this, selector, false) ); - }, - - filter: function( selector ) { - return this.pushStack( winnow(this, selector, true) ); - }, - - is: function( selector ) { - return !!selector && ( - typeof selector === "string" ? - // If this is a positional/relative selector, check membership in the returned set - // so $("p:first").is("p:last") won't return true for a doc with two "p". - rneedsContext.test( selector ) ? - jQuery( selector, this.context ).index( this[0] ) >= 0 : - jQuery.filter( selector, this ).length > 0 : - this.filter( selector ).length > 0 ); - }, - - closest: function( selectors, context ) { - var cur, - i = 0, - l = this.length, - ret = [], - pos = rneedsContext.test( selectors ) || typeof selectors !== "string" ? - jQuery( selectors, context || this.context ) : - 0; - - for ( ; i < l; i++ ) { - cur = this[i]; - - while ( cur && cur.ownerDocument && cur !== context && cur.nodeType !== 11 ) { - if ( pos ? pos.index(cur) > -1 : jQuery.find.matchesSelector(cur, selectors) ) { - ret.push( cur ); - break; - } - cur = cur.parentNode; - } - } - - return this.pushStack( ret.length > 1 ? jQuery.unique( ret ) : ret ); - }, - - // Determine the position of an element within - // the matched set of elements - index: function( elem ) { - - // No argument, return index in parent - if ( !elem ) { - return ( this[0] && this[0].parentNode ) ? this.first().prevAll().length : -1; - } - - // index in selector - if ( typeof elem === "string" ) { - return jQuery.inArray( this[0], jQuery( elem ) ); - } - - // Locate the position of the desired element - return jQuery.inArray( - // If it receives a jQuery object, the first element is used - elem.jquery ? elem[0] : elem, this ); - }, - - add: function( selector, context ) { - var set = typeof selector === "string" ? - jQuery( selector, context ) : - jQuery.makeArray( selector && selector.nodeType ? [ selector ] : selector ), - all = jQuery.merge( this.get(), set ); - - return this.pushStack( jQuery.unique(all) ); - }, - - addBack: function( selector ) { - return this.add( selector == null ? - this.prevObject : this.prevObject.filter(selector) - ); - } -}); - -jQuery.fn.andSelf = jQuery.fn.addBack; - -function sibling( cur, dir ) { - do { - cur = cur[ dir ]; - } while ( cur && cur.nodeType !== 1 ); - - return cur; -} - -jQuery.each({ - parent: function( elem ) { - var parent = elem.parentNode; - return parent && parent.nodeType !== 11 ? parent : null; - }, - parents: function( elem ) { - return jQuery.dir( elem, "parentNode" ); - }, - parentsUntil: function( elem, i, until ) { - return jQuery.dir( elem, "parentNode", until ); - }, - next: function( elem ) { - return sibling( elem, "nextSibling" ); - }, - prev: function( elem ) { - return sibling( elem, "previousSibling" ); - }, - nextAll: function( elem ) { - return jQuery.dir( elem, "nextSibling" ); - }, - prevAll: function( elem ) { - return jQuery.dir( elem, "previousSibling" ); - }, - nextUntil: function( elem, i, until ) { - return jQuery.dir( elem, "nextSibling", until ); - }, - prevUntil: function( elem, i, until ) { - return jQuery.dir( elem, "previousSibling", until ); - }, - siblings: function( elem ) { - return jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem ); - }, - children: function( elem ) { - return jQuery.sibling( elem.firstChild ); - }, - contents: function( elem ) { - return jQuery.nodeName( elem, "iframe" ) ? - elem.contentDocument || elem.contentWindow.document : - jQuery.merge( [], elem.childNodes ); - } -}, function( name, fn ) { - jQuery.fn[ name ] = function( until, selector ) { - var ret = jQuery.map( this, fn, until ); - - if ( !runtil.test( name ) ) { - selector = until; - } - - if ( selector && typeof selector === "string" ) { - ret = jQuery.filter( selector, ret ); - } - - ret = this.length > 1 && !guaranteedUnique[ name ] ? jQuery.unique( ret ) : ret; - - if ( this.length > 1 && rparentsprev.test( name ) ) { - ret = ret.reverse(); - } - - return this.pushStack( ret ); - }; -}); - -jQuery.extend({ - filter: function( expr, elems, not ) { - if ( not ) { - expr = ":not(" + expr + ")"; - } - - return elems.length === 1 ? - jQuery.find.matchesSelector(elems[0], expr) ? [ elems[0] ] : [] : - jQuery.find.matches(expr, elems); - }, - - dir: function( elem, dir, until ) { - var matched = [], - cur = elem[ dir ]; - - while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) { - if ( cur.nodeType === 1 ) { - matched.push( cur ); - } - cur = cur[dir]; - } - return matched; - }, - - sibling: function( n, elem ) { - var r = []; - - for ( ; n; n = n.nextSibling ) { - if ( n.nodeType === 1 && n !== elem ) { - r.push( n ); - } - } - - return r; - } -}); - -// Implement the identical functionality for filter and not -function winnow( elements, qualifier, keep ) { - - // Can't pass null or undefined to indexOf in Firefox 4 - // Set to 0 to skip string check - qualifier = qualifier || 0; - - if ( jQuery.isFunction( qualifier ) ) { - return jQuery.grep(elements, function( elem, i ) { - var retVal = !!qualifier.call( elem, i, elem ); - return retVal === keep; - }); - - } else if ( qualifier.nodeType ) { - return jQuery.grep(elements, function( elem ) { - return ( elem === qualifier ) === keep; - }); - - } else if ( typeof qualifier === "string" ) { - var filtered = jQuery.grep(elements, function( elem ) { - return elem.nodeType === 1; - }); - - if ( isSimple.test( qualifier ) ) { - return jQuery.filter(qualifier, filtered, !keep); - } else { - qualifier = jQuery.filter( qualifier, filtered ); - } - } - - return jQuery.grep(elements, function( elem ) { - return ( jQuery.inArray( elem, qualifier ) >= 0 ) === keep; - }); -} -function createSafeFragment( document ) { - var list = nodeNames.split( "|" ), - safeFrag = document.createDocumentFragment(); - - if ( safeFrag.createElement ) { - while ( list.length ) { - safeFrag.createElement( - list.pop() - ); - } - } - return safeFrag; -} - -var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|" + - "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video", - rinlinejQuery = / jQuery\d+="(?:null|\d+)"/g, - rnoshimcache = new RegExp("<(?:" + nodeNames + ")[\\s/>]", "i"), - rleadingWhitespace = /^\s+/, - rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi, - rtagName = /<([\w:]+)/, - rtbody = /<tbody/i, - rhtml = /<|&#?\w+;/, - rnoInnerhtml = /<(?:script|style|link)/i, - manipulation_rcheckableType = /^(?:checkbox|radio)$/i, - // checked="checked" or checked - rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i, - rscriptType = /^$|\/(?:java|ecma)script/i, - rscriptTypeMasked = /^true\/(.*)/, - rcleanScript = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g, - - // We have to close these tags to support XHTML (#13200) - wrapMap = { - option: [ 1, "<select multiple='multiple'>", "</select>" ], - legend: [ 1, "<fieldset>", "</fieldset>" ], - area: [ 1, "<map>", "</map>" ], - param: [ 1, "<object>", "</object>" ], - thead: [ 1, "<table>", "</table>" ], - tr: [ 2, "<table><tbody>", "</tbody></table>" ], - col: [ 2, "<table><tbody></tbody><colgroup>", "</colgroup></table>" ], - td: [ 3, "<table><tbody><tr>", "</tr></tbody></table>" ], - - // IE6-8 can't serialize link, script, style, or any html5 (NoScope) tags, - // unless wrapped in a div with non-breaking characters in front of it. - _default: jQuery.support.htmlSerialize ? [ 0, "", "" ] : [ 1, "X<div>", "</div>" ] - }, - safeFragment = createSafeFragment( document ), - fragmentDiv = safeFragment.appendChild( document.createElement("div") ); - -wrapMap.optgroup = wrapMap.option; -wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; -wrapMap.th = wrapMap.td; - -jQuery.fn.extend({ - text: function( value ) { - return jQuery.access( this, function( value ) { - return value === undefined ? - jQuery.text( this ) : - this.empty().append( ( this[0] && this[0].ownerDocument || document ).createTextNode( value ) ); - }, null, value, arguments.length ); - }, - - wrapAll: function( html ) { - if ( jQuery.isFunction( html ) ) { - return this.each(function(i) { - jQuery(this).wrapAll( html.call(this, i) ); - }); - } - - if ( this[0] ) { - // The elements to wrap the target around - var wrap = jQuery( html, this[0].ownerDocument ).eq(0).clone(true); - - if ( this[0].parentNode ) { - wrap.insertBefore( this[0] ); - } - - wrap.map(function() { - var elem = this; - - while ( elem.firstChild && elem.firstChild.nodeType === 1 ) { - elem = elem.firstChild; - } - - return elem; - }).append( this ); - } - - return this; - }, - - wrapInner: function( html ) { - if ( jQuery.isFunction( html ) ) { - return this.each(function(i) { - jQuery(this).wrapInner( html.call(this, i) ); - }); - } - - return this.each(function() { - var self = jQuery( this ), - contents = self.contents(); - - if ( contents.length ) { - contents.wrapAll( html ); - - } else { - self.append( html ); - } - }); - }, - - wrap: function( html ) { - var isFunction = jQuery.isFunction( html ); - - return this.each(function(i) { - jQuery( this ).wrapAll( isFunction ? html.call(this, i) : html ); - }); - }, - - unwrap: function() { - return this.parent().each(function() { - if ( !jQuery.nodeName( this, "body" ) ) { - jQuery( this ).replaceWith( this.childNodes ); - } - }).end(); - }, - - append: function() { - return this.domManip(arguments, true, function( elem ) { - if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { - this.appendChild( elem ); - } - }); - }, - - prepend: function() { - return this.domManip(arguments, true, function( elem ) { - if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { - this.insertBefore( elem, this.firstChild ); - } - }); - }, - - before: function() { - return this.domManip( arguments, false, function( elem ) { - if ( this.parentNode ) { - this.parentNode.insertBefore( elem, this ); - } - }); - }, - - after: function() { - return this.domManip( arguments, false, function( elem ) { - if ( this.parentNode ) { - this.parentNode.insertBefore( elem, this.nextSibling ); - } - }); - }, - - // keepData is for internal use only--do not document - remove: function( selector, keepData ) { - var elem, - i = 0; - - for ( ; (elem = this[i]) != null; i++ ) { - if ( !selector || jQuery.filter( selector, [ elem ] ).length > 0 ) { - if ( !keepData && elem.nodeType === 1 ) { - jQuery.cleanData( getAll( elem ) ); - } - - if ( elem.parentNode ) { - if ( keepData && jQuery.contains( elem.ownerDocument, elem ) ) { - setGlobalEval( getAll( elem, "script" ) ); - } - elem.parentNode.removeChild( elem ); - } - } - } - - return this; - }, - - empty: function() { - var elem, - i = 0; - - for ( ; (elem = this[i]) != null; i++ ) { - // Remove element nodes and prevent memory leaks - if ( elem.nodeType === 1 ) { - jQuery.cleanData( getAll( elem, false ) ); - } - - // Remove any remaining nodes - while ( elem.firstChild ) { - elem.removeChild( elem.firstChild ); - } - - // If this is a select, ensure that it displays empty (#12336) - // Support: IE<9 - if ( elem.options && jQuery.nodeName( elem, "select" ) ) { - elem.options.length = 0; - } - } - - return this; - }, - - clone: function( dataAndEvents, deepDataAndEvents ) { - dataAndEvents = dataAndEvents == null ? false : dataAndEvents; - deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; - - return this.map( function () { - return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); - }); - }, - - html: function( value ) { - return jQuery.access( this, function( value ) { - var elem = this[0] || {}, - i = 0, - l = this.length; - - if ( value === undefined ) { - return elem.nodeType === 1 ? - elem.innerHTML.replace( rinlinejQuery, "" ) : - undefined; - } - - // See if we can take a shortcut and just use innerHTML - if ( typeof value === "string" && !rnoInnerhtml.test( value ) && - ( jQuery.support.htmlSerialize || !rnoshimcache.test( value ) ) && - ( jQuery.support.leadingWhitespace || !rleadingWhitespace.test( value ) ) && - !wrapMap[ ( rtagName.exec( value ) || ["", ""] )[1].toLowerCase() ] ) { - - value = value.replace( rxhtmlTag, "<$1></$2>" ); - - try { - for (; i < l; i++ ) { - // Remove element nodes and prevent memory leaks - elem = this[i] || {}; - if ( elem.nodeType === 1 ) { - jQuery.cleanData( getAll( elem, false ) ); - elem.innerHTML = value; - } - } - - elem = 0; - - // If using innerHTML throws an exception, use the fallback method - } catch(e) {} - } - - if ( elem ) { - this.empty().append( value ); - } - }, null, value, arguments.length ); - }, - - replaceWith: function( value ) { - var isFunc = jQuery.isFunction( value ); - - // Make sure that the elements are removed from the DOM before they are inserted - // this can help fix replacing a parent with child elements - if ( !isFunc && typeof value !== "string" ) { - value = jQuery( value ).not( this ).detach(); - } - - return this.domManip( [ value ], true, function( elem ) { - var next = this.nextSibling, - parent = this.parentNode; - - if ( parent ) { - jQuery( this ).remove(); - parent.insertBefore( elem, next ); - } - }); - }, - - detach: function( selector ) { - return this.remove( selector, true ); - }, - - domManip: function( args, table, callback ) { - - // Flatten any nested arrays - args = core_concat.apply( [], args ); - - var first, node, hasScripts, - scripts, doc, fragment, - i = 0, - l = this.length, - set = this, - iNoClone = l - 1, - value = args[0], - isFunction = jQuery.isFunction( value ); - - // We can't cloneNode fragments that contain checked, in WebKit - if ( isFunction || !( l <= 1 || typeof value !== "string" || jQuery.support.checkClone || !rchecked.test( value ) ) ) { - return this.each(function( index ) { - var self = set.eq( index ); - if ( isFunction ) { - args[0] = value.call( this, index, table ? self.html() : undefined ); - } - self.domManip( args, table, callback ); - }); - } - - if ( l ) { - fragment = jQuery.buildFragment( args, this[ 0 ].ownerDocument, false, this ); - first = fragment.firstChild; - - if ( fragment.childNodes.length === 1 ) { - fragment = first; - } - - if ( first ) { - table = table && jQuery.nodeName( first, "tr" ); - scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); - hasScripts = scripts.length; - - // Use the original fragment for the last item instead of the first because it can end up - // being emptied incorrectly in certain situations (#8070). - for ( ; i < l; i++ ) { - node = fragment; - - if ( i !== iNoClone ) { - node = jQuery.clone( node, true, true ); - - // Keep references to cloned scripts for later restoration - if ( hasScripts ) { - jQuery.merge( scripts, getAll( node, "script" ) ); - } - } - - callback.call( - table && jQuery.nodeName( this[i], "table" ) ? - findOrAppend( this[i], "tbody" ) : - this[i], - node, - i - ); - } - - if ( hasScripts ) { - doc = scripts[ scripts.length - 1 ].ownerDocument; - - // Reenable scripts - jQuery.map( scripts, restoreScript ); - - // Evaluate executable scripts on first document insertion - for ( i = 0; i < hasScripts; i++ ) { - node = scripts[ i ]; - if ( rscriptType.test( node.type || "" ) && - !jQuery._data( node, "globalEval" ) && jQuery.contains( doc, node ) ) { - - if ( node.src ) { - // Hope ajax is available... - jQuery.ajax({ - url: node.src, - type: "GET", - dataType: "script", - async: false, - global: false, - "throws": true - }); - } else { - jQuery.globalEval( ( node.text || node.textContent || node.innerHTML || "" ).replace( rcleanScript, "" ) ); - } - } - } - } - - // Fix #11809: Avoid leaking memory - fragment = first = null; - } - } - - return this; - } -}); - -function findOrAppend( elem, tag ) { - return elem.getElementsByTagName( tag )[0] || elem.appendChild( elem.ownerDocument.createElement( tag ) ); -} - -// Replace/restore the type attribute of script elements for safe DOM manipulation -function disableScript( elem ) { - var attr = elem.getAttributeNode("type"); - elem.type = ( attr && attr.specified ) + "/" + elem.type; - return elem; -} -function restoreScript( elem ) { - var match = rscriptTypeMasked.exec( elem.type ); - if ( match ) { - elem.type = match[1]; - } else { - elem.removeAttribute("type"); - } - return elem; -} - -// Mark scripts as having already been evaluated -function setGlobalEval( elems, refElements ) { - var elem, - i = 0; - for ( ; (elem = elems[i]) != null; i++ ) { - jQuery._data( elem, "globalEval", !refElements || jQuery._data( refElements[i], "globalEval" ) ); - } -} - -function cloneCopyEvent( src, dest ) { - - if ( dest.nodeType !== 1 || !jQuery.hasData( src ) ) { - return; - } - - var type, i, l, - oldData = jQuery._data( src ), - curData = jQuery._data( dest, oldData ), - events = oldData.events; - - if ( events ) { - delete curData.handle; - curData.events = {}; - - for ( type in events ) { - for ( i = 0, l = events[ type ].length; i < l; i++ ) { - jQuery.event.add( dest, type, events[ type ][ i ] ); - } - } - } - - // make the cloned public data object a copy from the original - if ( curData.data ) { - curData.data = jQuery.extend( {}, curData.data ); - } -} - -function fixCloneNodeIssues( src, dest ) { - var nodeName, e, data; - - // We do not need to do anything for non-Elements - if ( dest.nodeType !== 1 ) { - return; - } - - nodeName = dest.nodeName.toLowerCase(); - - // IE6-8 copies events bound via attachEvent when using cloneNode. - if ( !jQuery.support.noCloneEvent && dest[ jQuery.expando ] ) { - data = jQuery._data( dest ); - - for ( e in data.events ) { - jQuery.removeEvent( dest, e, data.handle ); - } - - // Event data gets referenced instead of copied if the expando gets copied too - dest.removeAttribute( jQuery.expando ); - } - - // IE blanks contents when cloning scripts, and tries to evaluate newly-set text - if ( nodeName === "script" && dest.text !== src.text ) { - disableScript( dest ).text = src.text; - restoreScript( dest ); - - // IE6-10 improperly clones children of object elements using classid. - // IE10 throws NoModificationAllowedError if parent is null, #12132. - } else if ( nodeName === "object" ) { - if ( dest.parentNode ) { - dest.outerHTML = src.outerHTML; - } - - // This path appears unavoidable for IE9. When cloning an object - // element in IE9, the outerHTML strategy above is not sufficient. - // If the src has innerHTML and the destination does not, - // copy the src.innerHTML into the dest.innerHTML. #10324 - if ( jQuery.support.html5Clone && ( src.innerHTML && !jQuery.trim(dest.innerHTML) ) ) { - dest.innerHTML = src.innerHTML; - } - - } else if ( nodeName === "input" && manipulation_rcheckableType.test( src.type ) ) { - // IE6-8 fails to persist the checked state of a cloned checkbox - // or radio button. Worse, IE6-7 fail to give the cloned element - // a checked appearance if the defaultChecked value isn't also set - - dest.defaultChecked = dest.checked = src.checked; - - // IE6-7 get confused and end up setting the value of a cloned - // checkbox/radio button to an empty string instead of "on" - if ( dest.value !== src.value ) { - dest.value = src.value; - } - - // IE6-8 fails to return the selected option to the default selected - // state when cloning options - } else if ( nodeName === "option" ) { - dest.defaultSelected = dest.selected = src.defaultSelected; - - // IE6-8 fails to set the defaultValue to the correct value when - // cloning other types of input fields - } else if ( nodeName === "input" || nodeName === "textarea" ) { - dest.defaultValue = src.defaultValue; - } -} - -jQuery.each({ - appendTo: "append", - prependTo: "prepend", - insertBefore: "before", - insertAfter: "after", - replaceAll: "replaceWith" -}, function( name, original ) { - jQuery.fn[ name ] = function( selector ) { - var elems, - i = 0, - ret = [], - insert = jQuery( selector ), - last = insert.length - 1; - - for ( ; i <= last; i++ ) { - elems = i === last ? this : this.clone(true); - jQuery( insert[i] )[ original ]( elems ); - - // Modern browsers can apply jQuery collections as arrays, but oldIE needs a .get() - core_push.apply( ret, elems.get() ); - } - - return this.pushStack( ret ); - }; -}); - -function getAll( context, tag ) { - var elems, elem, - i = 0, - found = typeof context.getElementsByTagName !== core_strundefined ? context.getElementsByTagName( tag || "*" ) : - typeof context.querySelectorAll !== core_strundefined ? context.querySelectorAll( tag || "*" ) : - undefined; - - if ( !found ) { - for ( found = [], elems = context.childNodes || context; (elem = elems[i]) != null; i++ ) { - if ( !tag || jQuery.nodeName( elem, tag ) ) { - found.push( elem ); - } else { - jQuery.merge( found, getAll( elem, tag ) ); - } - } - } - - return tag === undefined || tag && jQuery.nodeName( context, tag ) ? - jQuery.merge( [ context ], found ) : - found; -} - -// Used in buildFragment, fixes the defaultChecked property -function fixDefaultChecked( elem ) { - if ( manipulation_rcheckableType.test( elem.type ) ) { - elem.defaultChecked = elem.checked; - } -} - -jQuery.extend({ - clone: function( elem, dataAndEvents, deepDataAndEvents ) { - var destElements, node, clone, i, srcElements, - inPage = jQuery.contains( elem.ownerDocument, elem ); - - if ( jQuery.support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ) { - clone = elem.cloneNode( true ); - - // IE<=8 does not properly clone detached, unknown element nodes - } else { - fragmentDiv.innerHTML = elem.outerHTML; - fragmentDiv.removeChild( clone = fragmentDiv.firstChild ); - } - - if ( (!jQuery.support.noCloneEvent || !jQuery.support.noCloneChecked) && - (elem.nodeType === 1 || elem.nodeType === 11) && !jQuery.isXMLDoc(elem) ) { - - // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2 - destElements = getAll( clone ); - srcElements = getAll( elem ); - - // Fix all IE cloning issues - for ( i = 0; (node = srcElements[i]) != null; ++i ) { - // Ensure that the destination node is not null; Fixes #9587 - if ( destElements[i] ) { - fixCloneNodeIssues( node, destElements[i] ); - } - } - } - - // Copy the events from the original to the clone - if ( dataAndEvents ) { - if ( deepDataAndEvents ) { - srcElements = srcElements || getAll( elem ); - destElements = destElements || getAll( clone ); - - for ( i = 0; (node = srcElements[i]) != null; i++ ) { - cloneCopyEvent( node, destElements[i] ); - } - } else { - cloneCopyEvent( elem, clone ); - } - } - - // Preserve script evaluation history - destElements = getAll( clone, "script" ); - if ( destElements.length > 0 ) { - setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); - } - - destElements = srcElements = node = null; - - // Return the cloned set - return clone; - }, - - buildFragment: function( elems, context, scripts, selection ) { - var j, elem, contains, - tmp, tag, tbody, wrap, - l = elems.length, - - // Ensure a safe fragment - safe = createSafeFragment( context ), - - nodes = [], - i = 0; - - for ( ; i < l; i++ ) { - elem = elems[ i ]; - - if ( elem || elem === 0 ) { - - // Add nodes directly - if ( jQuery.type( elem ) === "object" ) { - jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); - - // Convert non-html into a text node - } else if ( !rhtml.test( elem ) ) { - nodes.push( context.createTextNode( elem ) ); - - // Convert html into DOM nodes - } else { - tmp = tmp || safe.appendChild( context.createElement("div") ); - - // Deserialize a standard representation - tag = ( rtagName.exec( elem ) || ["", ""] )[1].toLowerCase(); - wrap = wrapMap[ tag ] || wrapMap._default; - - tmp.innerHTML = wrap[1] + elem.replace( rxhtmlTag, "<$1></$2>" ) + wrap[2]; - - // Descend through wrappers to the right content - j = wrap[0]; - while ( j-- ) { - tmp = tmp.lastChild; - } - - // Manually add leading whitespace removed by IE - if ( !jQuery.support.leadingWhitespace && rleadingWhitespace.test( elem ) ) { - nodes.push( context.createTextNode( rleadingWhitespace.exec( elem )[0] ) ); - } - - // Remove IE's autoinserted <tbody> from table fragments - if ( !jQuery.support.tbody ) { - - // String was a <table>, *may* have spurious <tbody> - elem = tag === "table" && !rtbody.test( elem ) ? - tmp.firstChild : - - // String was a bare <thead> or <tfoot> - wrap[1] === "<table>" && !rtbody.test( elem ) ? - tmp : - 0; - - j = elem && elem.childNodes.length; - while ( j-- ) { - if ( jQuery.nodeName( (tbody = elem.childNodes[j]), "tbody" ) && !tbody.childNodes.length ) { - elem.removeChild( tbody ); - } - } - } - - jQuery.merge( nodes, tmp.childNodes ); - - // Fix #12392 for WebKit and IE > 9 - tmp.textContent = ""; - - // Fix #12392 for oldIE - while ( tmp.firstChild ) { - tmp.removeChild( tmp.firstChild ); - } - - // Remember the top-level container for proper cleanup - tmp = safe.lastChild; - } - } - } - - // Fix #11356: Clear elements from fragment - if ( tmp ) { - safe.removeChild( tmp ); - } - - // Reset defaultChecked for any radios and checkboxes - // about to be appended to the DOM in IE 6/7 (#8060) - if ( !jQuery.support.appendChecked ) { - jQuery.grep( getAll( nodes, "input" ), fixDefaultChecked ); - } - - i = 0; - while ( (elem = nodes[ i++ ]) ) { - - // #4087 - If origin and destination elements are the same, and this is - // that element, do not do anything - if ( selection && jQuery.inArray( elem, selection ) !== -1 ) { - continue; - } - - contains = jQuery.contains( elem.ownerDocument, elem ); - - // Append to fragment - tmp = getAll( safe.appendChild( elem ), "script" ); - - // Preserve script evaluation history - if ( contains ) { - setGlobalEval( tmp ); - } - - // Capture executables - if ( scripts ) { - j = 0; - while ( (elem = tmp[ j++ ]) ) { - if ( rscriptType.test( elem.type || "" ) ) { - scripts.push( elem ); - } - } - } - } - - tmp = null; - - return safe; - }, - - cleanData: function( elems, /* internal */ acceptData ) { - var elem, type, id, data, - i = 0, - internalKey = jQuery.expando, - cache = jQuery.cache, - deleteExpando = jQuery.support.deleteExpando, - special = jQuery.event.special; - - for ( ; (elem = elems[i]) != null; i++ ) { - - if ( acceptData || jQuery.acceptData( elem ) ) { - - id = elem[ internalKey ]; - data = id && cache[ id ]; - - if ( data ) { - if ( data.events ) { - for ( type in data.events ) { - if ( special[ type ] ) { - jQuery.event.remove( elem, type ); - - // This is a shortcut to avoid jQuery.event.remove's overhead - } else { - jQuery.removeEvent( elem, type, data.handle ); - } - } - } - - // Remove cache only if it was not already removed by jQuery.event.remove - if ( cache[ id ] ) { - - delete cache[ id ]; - - // IE does not allow us to delete expando properties from nodes, - // nor does it have a removeAttribute function on Document nodes; - // we must handle all of these cases - if ( deleteExpando ) { - delete elem[ internalKey ]; - - } else if ( typeof elem.removeAttribute !== core_strundefined ) { - elem.removeAttribute( internalKey ); - - } else { - elem[ internalKey ] = null; - } - - core_deletedIds.push( id ); - } - } - } - } - } -}); -var iframe, getStyles, curCSS, - ralpha = /alpha\([^)]*\)/i, - ropacity = /opacity\s*=\s*([^)]*)/, - rposition = /^(top|right|bottom|left)$/, - // swappable if display is none or starts with table except "table", "table-cell", or "table-caption" - // see here for display values: https://developer.mozilla.org/en-US/docs/CSS/display - rdisplayswap = /^(none|table(?!-c[ea]).+)/, - rmargin = /^margin/, - rnumsplit = new RegExp( "^(" + core_pnum + ")(.*)$", "i" ), - rnumnonpx = new RegExp( "^(" + core_pnum + ")(?!px)[a-z%]+$", "i" ), - rrelNum = new RegExp( "^([+-])=(" + core_pnum + ")", "i" ), - elemdisplay = { BODY: "block" }, - - cssShow = { position: "absolute", visibility: "hidden", display: "block" }, - cssNormalTransform = { - letterSpacing: 0, - fontWeight: 400 - }, - - cssExpand = [ "Top", "Right", "Bottom", "Left" ], - cssPrefixes = [ "Webkit", "O", "Moz", "ms" ]; - -// return a css property mapped to a potentially vendor prefixed property -function vendorPropName( style, name ) { - - // shortcut for names that are not vendor prefixed - if ( name in style ) { - return name; - } - - // check for vendor prefixed names - var capName = name.charAt(0).toUpperCase() + name.slice(1), - origName = name, - i = cssPrefixes.length; - - while ( i-- ) { - name = cssPrefixes[ i ] + capName; - if ( name in style ) { - return name; - } - } - - return origName; -} - -function isHidden( elem, el ) { - // isHidden might be called from jQuery#filter function; - // in that case, element will be second argument - elem = el || elem; - return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem ); -} - -function showHide( elements, show ) { - var display, elem, hidden, - values = [], - index = 0, - length = elements.length; - - for ( ; index < length; index++ ) { - elem = elements[ index ]; - if ( !elem.style ) { - continue; - } - - values[ index ] = jQuery._data( elem, "olddisplay" ); - display = elem.style.display; - if ( show ) { - // Reset the inline display of this element to learn if it is - // being hidden by cascaded rules or not - if ( !values[ index ] && display === "none" ) { - elem.style.display = ""; - } - - // Set elements which have been overridden with display: none - // in a stylesheet to whatever the default browser style is - // for such an element - if ( elem.style.display === "" && isHidden( elem ) ) { - values[ index ] = jQuery._data( elem, "olddisplay", css_defaultDisplay(elem.nodeName) ); - } - } else { - - if ( !values[ index ] ) { - hidden = isHidden( elem ); - - if ( display && display !== "none" || !hidden ) { - jQuery._data( elem, "olddisplay", hidden ? display : jQuery.css( elem, "display" ) ); - } - } - } - } - - // Set the display of most of the elements in a second loop - // to avoid the constant reflow - for ( index = 0; index < length; index++ ) { - elem = elements[ index ]; - if ( !elem.style ) { - continue; - } - if ( !show || elem.style.display === "none" || elem.style.display === "" ) { - elem.style.display = show ? values[ index ] || "" : "none"; - } - } - - return elements; -} - -jQuery.fn.extend({ - css: function( name, value ) { - return jQuery.access( this, function( elem, name, value ) { - var len, styles, - map = {}, - i = 0; - - if ( jQuery.isArray( name ) ) { - styles = getStyles( elem ); - len = name.length; - - for ( ; i < len; i++ ) { - map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); - } - - return map; - } - - return value !== undefined ? - jQuery.style( elem, name, value ) : - jQuery.css( elem, name ); - }, name, value, arguments.length > 1 ); - }, - show: function() { - return showHide( this, true ); - }, - hide: function() { - return showHide( this ); - }, - toggle: function( state ) { - var bool = typeof state === "boolean"; - - return this.each(function() { - if ( bool ? state : isHidden( this ) ) { - jQuery( this ).show(); - } else { - jQuery( this ).hide(); - } - }); - } -}); - -jQuery.extend({ - // Add in style property hooks for overriding the default - // behavior of getting and setting a style property - cssHooks: { - opacity: { - get: function( elem, computed ) { - if ( computed ) { - // We should always get a number back from opacity - var ret = curCSS( elem, "opacity" ); - return ret === "" ? "1" : ret; - } - } - } - }, - - // Exclude the following css properties to add px - cssNumber: { - "columnCount": true, - "fillOpacity": true, - "fontWeight": true, - "lineHeight": true, - "opacity": true, - "orphans": true, - "widows": true, - "zIndex": true, - "zoom": true - }, - - // Add in properties whose names you wish to fix before - // setting or getting the value - cssProps: { - // normalize float css property - "float": jQuery.support.cssFloat ? "cssFloat" : "styleFloat" - }, - - // Get and set the style property on a DOM Node - style: function( elem, name, value, extra ) { - // Don't set styles on text and comment nodes - if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { - return; - } - - // Make sure that we're working with the right name - var ret, type, hooks, - origName = jQuery.camelCase( name ), - style = elem.style; - - name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( style, origName ) ); - - // gets hook for the prefixed version - // followed by the unprefixed version - hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; - - // Check if we're setting a value - if ( value !== undefined ) { - type = typeof value; - - // convert relative number strings (+= or -=) to relative numbers. #7345 - if ( type === "string" && (ret = rrelNum.exec( value )) ) { - value = ( ret[1] + 1 ) * ret[2] + parseFloat( jQuery.css( elem, name ) ); - // Fixes bug #9237 - type = "number"; - } - - // Make sure that NaN and null values aren't set. See: #7116 - if ( value == null || type === "number" && isNaN( value ) ) { - return; - } - - // If a number was passed in, add 'px' to the (except for certain CSS properties) - if ( type === "number" && !jQuery.cssNumber[ origName ] ) { - value += "px"; - } - - // Fixes #8908, it can be done more correctly by specifing setters in cssHooks, - // but it would mean to define eight (for every problematic property) identical functions - if ( !jQuery.support.clearCloneStyle && value === "" && name.indexOf("background") === 0 ) { - style[ name ] = "inherit"; - } - - // If a hook was provided, use that value, otherwise just set the specified value - if ( !hooks || !("set" in hooks) || (value = hooks.set( elem, value, extra )) !== undefined ) { - - // Wrapped to prevent IE from throwing errors when 'invalid' values are provided - // Fixes bug #5509 - try { - style[ name ] = value; - } catch(e) {} - } - - } else { - // If a hook was provided get the non-computed value from there - if ( hooks && "get" in hooks && (ret = hooks.get( elem, false, extra )) !== undefined ) { - return ret; - } - - // Otherwise just get the value from the style object - return style[ name ]; - } - }, - - css: function( elem, name, extra, styles ) { - var num, val, hooks, - origName = jQuery.camelCase( name ); - - // Make sure that we're working with the right name - name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( elem.style, origName ) ); - - // gets hook for the prefixed version - // followed by the unprefixed version - hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; - - // If a hook was provided get the computed value from there - if ( hooks && "get" in hooks ) { - val = hooks.get( elem, true, extra ); - } - - // Otherwise, if a way to get the computed value exists, use that - if ( val === undefined ) { - val = curCSS( elem, name, styles ); - } - - //convert "normal" to computed value - if ( val === "normal" && name in cssNormalTransform ) { - val = cssNormalTransform[ name ]; - } - - // Return, converting to number if forced or a qualifier was provided and val looks numeric - if ( extra === "" || extra ) { - num = parseFloat( val ); - return extra === true || jQuery.isNumeric( num ) ? num || 0 : val; - } - return val; - }, - - // A method for quickly swapping in/out CSS properties to get correct calculations - swap: function( elem, options, callback, args ) { - var ret, name, - old = {}; - - // Remember the old values, and insert the new ones - for ( name in options ) { - old[ name ] = elem.style[ name ]; - elem.style[ name ] = options[ name ]; - } - - ret = callback.apply( elem, args || [] ); - - // Revert the old values - for ( name in options ) { - elem.style[ name ] = old[ name ]; - } - - return ret; - } -}); - -// NOTE: we've included the "window" in window.getComputedStyle -// because jsdom on node.js will break without it. -if ( window.getComputedStyle ) { - getStyles = function( elem ) { - return window.getComputedStyle( elem, null ); - }; - - curCSS = function( elem, name, _computed ) { - var width, minWidth, maxWidth, - computed = _computed || getStyles( elem ), - - // getPropertyValue is only needed for .css('filter') in IE9, see #12537 - ret = computed ? computed.getPropertyValue( name ) || computed[ name ] : undefined, - style = elem.style; - - if ( computed ) { - - if ( ret === "" && !jQuery.contains( elem.ownerDocument, elem ) ) { - ret = jQuery.style( elem, name ); - } - - // A tribute to the "awesome hack by Dean Edwards" - // Chrome < 17 and Safari 5.0 uses "computed value" instead of "used value" for margin-right - // Safari 5.1.7 (at least) returns percentage for a larger set of values, but width seems to be reliably pixels - // this is against the CSSOM draft spec: http://dev.w3.org/csswg/cssom/#resolved-values - if ( rnumnonpx.test( ret ) && rmargin.test( name ) ) { - - // Remember the original values - width = style.width; - minWidth = style.minWidth; - maxWidth = style.maxWidth; - - // Put in the new values to get a computed value out - style.minWidth = style.maxWidth = style.width = ret; - ret = computed.width; - - // Revert the changed values - style.width = width; - style.minWidth = minWidth; - style.maxWidth = maxWidth; - } - } - - return ret; - }; -} else if ( document.documentElement.currentStyle ) { - getStyles = function( elem ) { - return elem.currentStyle; - }; - - curCSS = function( elem, name, _computed ) { - var left, rs, rsLeft, - computed = _computed || getStyles( elem ), - ret = computed ? computed[ name ] : undefined, - style = elem.style; - - // Avoid setting ret to empty string here - // so we don't default to auto - if ( ret == null && style && style[ name ] ) { - ret = style[ name ]; - } - - // From the awesome hack by Dean Edwards - // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291 - - // If we're not dealing with a regular pixel number - // but a number that has a weird ending, we need to convert it to pixels - // but not position css attributes, as those are proportional to the parent element instead - // and we can't measure the parent instead because it might trigger a "stacking dolls" problem - if ( rnumnonpx.test( ret ) && !rposition.test( name ) ) { - - // Remember the original values - left = style.left; - rs = elem.runtimeStyle; - rsLeft = rs && rs.left; - - // Put in the new values to get a computed value out - if ( rsLeft ) { - rs.left = elem.currentStyle.left; - } - style.left = name === "fontSize" ? "1em" : ret; - ret = style.pixelLeft + "px"; - - // Revert the changed values - style.left = left; - if ( rsLeft ) { - rs.left = rsLeft; - } - } - - return ret === "" ? "auto" : ret; - }; -} - -function setPositiveNumber( elem, value, subtract ) { - var matches = rnumsplit.exec( value ); - return matches ? - // Guard against undefined "subtract", e.g., when used as in cssHooks - Math.max( 0, matches[ 1 ] - ( subtract || 0 ) ) + ( matches[ 2 ] || "px" ) : - value; -} - -function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) { - var i = extra === ( isBorderBox ? "border" : "content" ) ? - // If we already have the right measurement, avoid augmentation - 4 : - // Otherwise initialize for horizontal or vertical properties - name === "width" ? 1 : 0, - - val = 0; - - for ( ; i < 4; i += 2 ) { - // both box models exclude margin, so add it if we want it - if ( extra === "margin" ) { - val += jQuery.css( elem, extra + cssExpand[ i ], true, styles ); - } - - if ( isBorderBox ) { - // border-box includes padding, so remove it if we want content - if ( extra === "content" ) { - val -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); - } - - // at this point, extra isn't border nor margin, so remove border - if ( extra !== "margin" ) { - val -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); - } - } else { - // at this point, extra isn't content, so add padding - val += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); - - // at this point, extra isn't content nor padding, so add border - if ( extra !== "padding" ) { - val += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); - } - } - } - - return val; -} - -function getWidthOrHeight( elem, name, extra ) { - - // Start with offset property, which is equivalent to the border-box value - var valueIsBorderBox = true, - val = name === "width" ? elem.offsetWidth : elem.offsetHeight, - styles = getStyles( elem ), - isBorderBox = jQuery.support.boxSizing && jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; - - // some non-html elements return undefined for offsetWidth, so check for null/undefined - // svg - https://bugzilla.mozilla.org/show_bug.cgi?id=649285 - // MathML - https://bugzilla.mozilla.org/show_bug.cgi?id=491668 - if ( val <= 0 || val == null ) { - // Fall back to computed then uncomputed css if necessary - val = curCSS( elem, name, styles ); - if ( val < 0 || val == null ) { - val = elem.style[ name ]; - } - - // Computed unit is not pixels. Stop here and return. - if ( rnumnonpx.test(val) ) { - return val; - } - - // we need the check for style in case a browser which returns unreliable values - // for getComputedStyle silently falls back to the reliable elem.style - valueIsBorderBox = isBorderBox && ( jQuery.support.boxSizingReliable || val === elem.style[ name ] ); - - // Normalize "", auto, and prepare for extra - val = parseFloat( val ) || 0; - } - - // use the active box-sizing model to add/subtract irrelevant styles - return ( val + - augmentWidthOrHeight( - elem, - name, - extra || ( isBorderBox ? "border" : "content" ), - valueIsBorderBox, - styles - ) - ) + "px"; -} - -// Try to determine the default display value of an element -function css_defaultDisplay( nodeName ) { - var doc = document, - display = elemdisplay[ nodeName ]; - - if ( !display ) { - display = actualDisplay( nodeName, doc ); - - // If the simple way fails, read from inside an iframe - if ( display === "none" || !display ) { - // Use the already-created iframe if possible - iframe = ( iframe || - jQuery("<iframe frameborder='0' width='0' height='0'/>") - .css( "cssText", "display:block !important" ) - ).appendTo( doc.documentElement ); - - // Always write a new HTML skeleton so Webkit and Firefox don't choke on reuse - doc = ( iframe[0].contentWindow || iframe[0].contentDocument ).document; - doc.write("<!doctype html><html><body>"); - doc.close(); - - display = actualDisplay( nodeName, doc ); - iframe.detach(); - } - - // Store the correct default display - elemdisplay[ nodeName ] = display; - } - - return display; -} - -// Called ONLY from within css_defaultDisplay -function actualDisplay( name, doc ) { - var elem = jQuery( doc.createElement( name ) ).appendTo( doc.body ), - display = jQuery.css( elem[0], "display" ); - elem.remove(); - return display; -} - -jQuery.each([ "height", "width" ], function( i, name ) { - jQuery.cssHooks[ name ] = { - get: function( elem, computed, extra ) { - if ( computed ) { - // certain elements can have dimension info if we invisibly show them - // however, it must have a current display style that would benefit from this - return elem.offsetWidth === 0 && rdisplayswap.test( jQuery.css( elem, "display" ) ) ? - jQuery.swap( elem, cssShow, function() { - return getWidthOrHeight( elem, name, extra ); - }) : - getWidthOrHeight( elem, name, extra ); - } - }, - - set: function( elem, value, extra ) { - var styles = extra && getStyles( elem ); - return setPositiveNumber( elem, value, extra ? - augmentWidthOrHeight( - elem, - name, - extra, - jQuery.support.boxSizing && jQuery.css( elem, "boxSizing", false, styles ) === "border-box", - styles - ) : 0 - ); - } - }; -}); - -if ( !jQuery.support.opacity ) { - jQuery.cssHooks.opacity = { - get: function( elem, computed ) { - // IE uses filters for opacity - return ropacity.test( (computed && elem.currentStyle ? elem.currentStyle.filter : elem.style.filter) || "" ) ? - ( 0.01 * parseFloat( RegExp.$1 ) ) + "" : - computed ? "1" : ""; - }, - - set: function( elem, value ) { - var style = elem.style, - currentStyle = elem.currentStyle, - opacity = jQuery.isNumeric( value ) ? "alpha(opacity=" + value * 100 + ")" : "", - filter = currentStyle && currentStyle.filter || style.filter || ""; - - // IE has trouble with opacity if it does not have layout - // Force it by setting the zoom level - style.zoom = 1; - - // if setting opacity to 1, and no other filters exist - attempt to remove filter attribute #6652 - // if value === "", then remove inline opacity #12685 - if ( ( value >= 1 || value === "" ) && - jQuery.trim( filter.replace( ralpha, "" ) ) === "" && - style.removeAttribute ) { - - // Setting style.filter to null, "" & " " still leave "filter:" in the cssText - // if "filter:" is present at all, clearType is disabled, we want to avoid this - // style.removeAttribute is IE Only, but so apparently is this code path... - style.removeAttribute( "filter" ); - - // if there is no filter style applied in a css rule or unset inline opacity, we are done - if ( value === "" || currentStyle && !currentStyle.filter ) { - return; - } - } - - // otherwise, set new filter values - style.filter = ralpha.test( filter ) ? - filter.replace( ralpha, opacity ) : - filter + " " + opacity; - } - }; -} - -// These hooks cannot be added until DOM ready because the support test -// for it is not run until after DOM ready -jQuery(function() { - if ( !jQuery.support.reliableMarginRight ) { - jQuery.cssHooks.marginRight = { - get: function( elem, computed ) { - if ( computed ) { - // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right - // Work around by temporarily setting element display to inline-block - return jQuery.swap( elem, { "display": "inline-block" }, - curCSS, [ elem, "marginRight" ] ); - } - } - }; - } - - // Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084 - // getComputedStyle returns percent when specified for top/left/bottom/right - // rather than make the css module depend on the offset module, we just check for it here - if ( !jQuery.support.pixelPosition && jQuery.fn.position ) { - jQuery.each( [ "top", "left" ], function( i, prop ) { - jQuery.cssHooks[ prop ] = { - get: function( elem, computed ) { - if ( computed ) { - computed = curCSS( elem, prop ); - // if curCSS returns percentage, fallback to offset - return rnumnonpx.test( computed ) ? - jQuery( elem ).position()[ prop ] + "px" : - computed; - } - } - }; - }); - } - -}); - -if ( jQuery.expr && jQuery.expr.filters ) { - jQuery.expr.filters.hidden = function( elem ) { - // Support: Opera <= 12.12 - // Opera reports offsetWidths and offsetHeights less than zero on some elements - return elem.offsetWidth <= 0 && elem.offsetHeight <= 0 || - (!jQuery.support.reliableHiddenOffsets && ((elem.style && elem.style.display) || jQuery.css( elem, "display" )) === "none"); - }; - - jQuery.expr.filters.visible = function( elem ) { - return !jQuery.expr.filters.hidden( elem ); - }; -} - -// These hooks are used by animate to expand properties -jQuery.each({ - margin: "", - padding: "", - border: "Width" -}, function( prefix, suffix ) { - jQuery.cssHooks[ prefix + suffix ] = { - expand: function( value ) { - var i = 0, - expanded = {}, - - // assumes a single number if not a string - parts = typeof value === "string" ? value.split(" ") : [ value ]; - - for ( ; i < 4; i++ ) { - expanded[ prefix + cssExpand[ i ] + suffix ] = - parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; - } - - return expanded; - } - }; - - if ( !rmargin.test( prefix ) ) { - jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; - } -}); -var r20 = /%20/g, - rbracket = /\[\]$/, - rCRLF = /\r?\n/g, - rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, - rsubmittable = /^(?:input|select|textarea|keygen)/i; - -jQuery.fn.extend({ - serialize: function() { - return jQuery.param( this.serializeArray() ); - }, - serializeArray: function() { - return this.map(function(){ - // Can add propHook for "elements" to filter or add form elements - var elements = jQuery.prop( this, "elements" ); - return elements ? jQuery.makeArray( elements ) : this; - }) - .filter(function(){ - var type = this.type; - // Use .is(":disabled") so that fieldset[disabled] works - return this.name && !jQuery( this ).is( ":disabled" ) && - rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && - ( this.checked || !manipulation_rcheckableType.test( type ) ); - }) - .map(function( i, elem ){ - var val = jQuery( this ).val(); - - return val == null ? - null : - jQuery.isArray( val ) ? - jQuery.map( val, function( val ){ - return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; - }) : - { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; - }).get(); - } -}); - -//Serialize an array of form elements or a set of -//key/values into a query string -jQuery.param = function( a, traditional ) { - var prefix, - s = [], - add = function( key, value ) { - // If value is a function, invoke it and return its value - value = jQuery.isFunction( value ) ? value() : ( value == null ? "" : value ); - s[ s.length ] = encodeURIComponent( key ) + "=" + encodeURIComponent( value ); - }; - - // Set traditional to true for jQuery <= 1.3.3 behavior. - if ( traditional === undefined ) { - traditional = jQuery.ajaxSettings && jQuery.ajaxSettings.traditional; - } - - // If an array was passed in, assume that it is an array of form elements. - if ( jQuery.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { - // Serialize the form elements - jQuery.each( a, function() { - add( this.name, this.value ); - }); - - } else { - // If traditional, encode the "old" way (the way 1.3.3 or older - // did it), otherwise encode params recursively. - for ( prefix in a ) { - buildParams( prefix, a[ prefix ], traditional, add ); - } - } - - // Return the resulting serialization - return s.join( "&" ).replace( r20, "+" ); -}; - -function buildParams( prefix, obj, traditional, add ) { - var name; - - if ( jQuery.isArray( obj ) ) { - // Serialize array item. - jQuery.each( obj, function( i, v ) { - if ( traditional || rbracket.test( prefix ) ) { - // Treat each array item as a scalar. - add( prefix, v ); - - } else { - // Item is non-scalar (array or object), encode its numeric index. - buildParams( prefix + "[" + ( typeof v === "object" ? i : "" ) + "]", v, traditional, add ); - } - }); - - } else if ( !traditional && jQuery.type( obj ) === "object" ) { - // Serialize object item. - for ( name in obj ) { - buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); - } - - } else { - // Serialize scalar item. - add( prefix, obj ); - } -} -jQuery.each( ("blur focus focusin focusout load resize scroll unload click dblclick " + - "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " + - "change select submit keydown keypress keyup error contextmenu").split(" "), function( i, name ) { - - // Handle event binding - jQuery.fn[ name ] = function( data, fn ) { - return arguments.length > 0 ? - this.on( name, null, data, fn ) : - this.trigger( name ); - }; -}); - -jQuery.fn.hover = function( fnOver, fnOut ) { - return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver ); -}; -var - // Document location - ajaxLocParts, - ajaxLocation, - ajax_nonce = jQuery.now(), - - ajax_rquery = /\?/, - rhash = /#.*$/, - rts = /([?&])_=[^&]*/, - rheaders = /^(.*?):[ \t]*([^\r\n]*)\r?$/mg, // IE leaves an \r character at EOL - // #7653, #8125, #8152: local protocol detection - rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, - rnoContent = /^(?:GET|HEAD)$/, - rprotocol = /^\/\//, - rurl = /^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/, - - // Keep a copy of the old load method - _load = jQuery.fn.load, - - /* Prefilters - * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) - * 2) These are called: - * - BEFORE asking for a transport - * - AFTER param serialization (s.data is a string if s.processData is true) - * 3) key is the dataType - * 4) the catchall symbol "*" can be used - * 5) execution will start with transport dataType and THEN continue down to "*" if needed - */ - prefilters = {}, - - /* Transports bindings - * 1) key is the dataType - * 2) the catchall symbol "*" can be used - * 3) selection will start with transport dataType and THEN go to "*" if needed - */ - transports = {}, - - // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression - allTypes = "*/".concat("*"); - -// #8138, IE may throw an exception when accessing -// a field from window.location if document.domain has been set -try { - ajaxLocation = location.href; -} catch( e ) { - // Use the href attribute of an A element - // since IE will modify it given document.location - ajaxLocation = document.createElement( "a" ); - ajaxLocation.href = ""; - ajaxLocation = ajaxLocation.href; -} - -// Segment location into parts -ajaxLocParts = rurl.exec( ajaxLocation.toLowerCase() ) || []; - -// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport -function addToPrefiltersOrTransports( structure ) { - - // dataTypeExpression is optional and defaults to "*" - return function( dataTypeExpression, func ) { - - if ( typeof dataTypeExpression !== "string" ) { - func = dataTypeExpression; - dataTypeExpression = "*"; - } - - var dataType, - i = 0, - dataTypes = dataTypeExpression.toLowerCase().match( core_rnotwhite ) || []; - - if ( jQuery.isFunction( func ) ) { - // For each dataType in the dataTypeExpression - while ( (dataType = dataTypes[i++]) ) { - // Prepend if requested - if ( dataType[0] === "+" ) { - dataType = dataType.slice( 1 ) || "*"; - (structure[ dataType ] = structure[ dataType ] || []).unshift( func ); - - // Otherwise append - } else { - (structure[ dataType ] = structure[ dataType ] || []).push( func ); - } - } - } - }; -} - -// Base inspection function for prefilters and transports -function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { - - var inspected = {}, - seekingTransport = ( structure === transports ); - - function inspect( dataType ) { - var selected; - inspected[ dataType ] = true; - jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { - var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); - if( typeof dataTypeOrTransport === "string" && !seekingTransport && !inspected[ dataTypeOrTransport ] ) { - options.dataTypes.unshift( dataTypeOrTransport ); - inspect( dataTypeOrTransport ); - return false; - } else if ( seekingTransport ) { - return !( selected = dataTypeOrTransport ); - } - }); - return selected; - } - - return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); -} - -// A special extend for ajax options -// that takes "flat" options (not to be deep extended) -// Fixes #9887 -function ajaxExtend( target, src ) { - var deep, key, - flatOptions = jQuery.ajaxSettings.flatOptions || {}; - - for ( key in src ) { - if ( src[ key ] !== undefined ) { - ( flatOptions[ key ] ? target : ( deep || (deep = {}) ) )[ key ] = src[ key ]; - } - } - if ( deep ) { - jQuery.extend( true, target, deep ); - } - - return target; -} - -jQuery.fn.load = function( url, params, callback ) { - if ( typeof url !== "string" && _load ) { - return _load.apply( this, arguments ); - } - - var selector, response, type, - self = this, - off = url.indexOf(" "); - - if ( off >= 0 ) { - selector = url.slice( off, url.length ); - url = url.slice( 0, off ); - } - - // If it's a function - if ( jQuery.isFunction( params ) ) { - - // We assume that it's the callback - callback = params; - params = undefined; - - // Otherwise, build a param string - } else if ( params && typeof params === "object" ) { - type = "POST"; - } - - // If we have elements to modify, make the request - if ( self.length > 0 ) { - jQuery.ajax({ - url: url, - - // if "type" variable is undefined, then "GET" method will be used - type: type, - dataType: "html", - data: params - }).done(function( responseText ) { - - // Save response for use in complete callback - response = arguments; - - self.html( selector ? - - // If a selector was specified, locate the right elements in a dummy div - // Exclude scripts to avoid IE 'Permission Denied' errors - jQuery("<div>").append( jQuery.parseHTML( responseText ) ).find( selector ) : - - // Otherwise use the full result - responseText ); - - }).complete( callback && function( jqXHR, status ) { - self.each( callback, response || [ jqXHR.responseText, status, jqXHR ] ); - }); - } - - return this; -}; - -// Attach a bunch of functions for handling common AJAX events -jQuery.each( [ "ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend" ], function( i, type ){ - jQuery.fn[ type ] = function( fn ){ - return this.on( type, fn ); - }; -}); - -jQuery.each( [ "get", "post" ], function( i, method ) { - jQuery[ method ] = function( url, data, callback, type ) { - // shift arguments if data argument was omitted - if ( jQuery.isFunction( data ) ) { - type = type || callback; - callback = data; - data = undefined; - } - - return jQuery.ajax({ - url: url, - type: method, - dataType: type, - data: data, - success: callback - }); - }; -}); - -jQuery.extend({ - - // Counter for holding the number of active queries - active: 0, - - // Last-Modified header cache for next request - lastModified: {}, - etag: {}, - - ajaxSettings: { - url: ajaxLocation, - type: "GET", - isLocal: rlocalProtocol.test( ajaxLocParts[ 1 ] ), - global: true, - processData: true, - async: true, - contentType: "application/x-www-form-urlencoded; charset=UTF-8", - /* - timeout: 0, - data: null, - dataType: null, - username: null, - password: null, - cache: null, - throws: false, - traditional: false, - headers: {}, - */ - - accepts: { - "*": allTypes, - text: "text/plain", - html: "text/html", - xml: "application/xml, text/xml", - json: "application/json, text/javascript" - }, - - contents: { - xml: /xml/, - html: /html/, - json: /json/ - }, - - responseFields: { - xml: "responseXML", - text: "responseText" - }, - - // Data converters - // Keys separate source (or catchall "*") and destination types with a single space - converters: { - - // Convert anything to text - "* text": window.String, - - // Text to html (true = no transformation) - "text html": true, - - // Evaluate text as a json expression - "text json": jQuery.parseJSON, - - // Parse text as xml - "text xml": jQuery.parseXML - }, - - // For options that shouldn't be deep extended: - // you can add your own custom options here if - // and when you create one that shouldn't be - // deep extended (see ajaxExtend) - flatOptions: { - url: true, - context: true - } - }, - - // Creates a full fledged settings object into target - // with both ajaxSettings and settings fields. - // If target is omitted, writes into ajaxSettings. - ajaxSetup: function( target, settings ) { - return settings ? - - // Building a settings object - ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : - - // Extending ajaxSettings - ajaxExtend( jQuery.ajaxSettings, target ); - }, - - ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), - ajaxTransport: addToPrefiltersOrTransports( transports ), - - // Main method - ajax: function( url, options ) { - - // If url is an object, simulate pre-1.5 signature - if ( typeof url === "object" ) { - options = url; - url = undefined; - } - - // Force options to be an object - options = options || {}; - - var // Cross-domain detection vars - parts, - // Loop variable - i, - // URL without anti-cache param - cacheURL, - // Response headers as string - responseHeadersString, - // timeout handle - timeoutTimer, - - // To know if global events are to be dispatched - fireGlobals, - - transport, - // Response headers - responseHeaders, - // Create the final options object - s = jQuery.ajaxSetup( {}, options ), - // Callbacks context - callbackContext = s.context || s, - // Context for global events is callbackContext if it is a DOM node or jQuery collection - globalEventContext = s.context && ( callbackContext.nodeType || callbackContext.jquery ) ? - jQuery( callbackContext ) : - jQuery.event, - // Deferreds - deferred = jQuery.Deferred(), - completeDeferred = jQuery.Callbacks("once memory"), - // Status-dependent callbacks - statusCode = s.statusCode || {}, - // Headers (they are sent all at once) - requestHeaders = {}, - requestHeadersNames = {}, - // The jqXHR state - state = 0, - // Default abort message - strAbort = "canceled", - // Fake xhr - jqXHR = { - readyState: 0, - - // Builds headers hashtable if needed - getResponseHeader: function( key ) { - var match; - if ( state === 2 ) { - if ( !responseHeaders ) { - responseHeaders = {}; - while ( (match = rheaders.exec( responseHeadersString )) ) { - responseHeaders[ match[1].toLowerCase() ] = match[ 2 ]; - } - } - match = responseHeaders[ key.toLowerCase() ]; - } - return match == null ? null : match; - }, - - // Raw string - getAllResponseHeaders: function() { - return state === 2 ? responseHeadersString : null; - }, - - // Caches the header - setRequestHeader: function( name, value ) { - var lname = name.toLowerCase(); - if ( !state ) { - name = requestHeadersNames[ lname ] = requestHeadersNames[ lname ] || name; - requestHeaders[ name ] = value; - } - return this; - }, - - // Overrides response content-type header - overrideMimeType: function( type ) { - if ( !state ) { - s.mimeType = type; - } - return this; - }, - - // Status-dependent callbacks - statusCode: function( map ) { - var code; - if ( map ) { - if ( state < 2 ) { - for ( code in map ) { - // Lazy-add the new callback in a way that preserves old ones - statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; - } - } else { - // Execute the appropriate callbacks - jqXHR.always( map[ jqXHR.status ] ); - } - } - return this; - }, - - // Cancel the request - abort: function( statusText ) { - var finalText = statusText || strAbort; - if ( transport ) { - transport.abort( finalText ); - } - done( 0, finalText ); - return this; - } - }; - - // Attach deferreds - deferred.promise( jqXHR ).complete = completeDeferred.add; - jqXHR.success = jqXHR.done; - jqXHR.error = jqXHR.fail; - - // Remove hash character (#7531: and string promotion) - // Add protocol if not provided (#5866: IE7 issue with protocol-less urls) - // Handle falsy url in the settings object (#10093: consistency with old signature) - // We also use the url parameter if available - s.url = ( ( url || s.url || ajaxLocation ) + "" ).replace( rhash, "" ).replace( rprotocol, ajaxLocParts[ 1 ] + "//" ); - - // Alias method option to type as per ticket #12004 - s.type = options.method || options.type || s.method || s.type; - - // Extract dataTypes list - s.dataTypes = jQuery.trim( s.dataType || "*" ).toLowerCase().match( core_rnotwhite ) || [""]; - - // A cross-domain request is in order when we have a protocol:host:port mismatch - if ( s.crossDomain == null ) { - parts = rurl.exec( s.url.toLowerCase() ); - s.crossDomain = !!( parts && - ( parts[ 1 ] !== ajaxLocParts[ 1 ] || parts[ 2 ] !== ajaxLocParts[ 2 ] || - ( parts[ 3 ] || ( parts[ 1 ] === "http:" ? 80 : 443 ) ) != - ( ajaxLocParts[ 3 ] || ( ajaxLocParts[ 1 ] === "http:" ? 80 : 443 ) ) ) - ); - } - - // Convert data if not already a string - if ( s.data && s.processData && typeof s.data !== "string" ) { - s.data = jQuery.param( s.data, s.traditional ); - } - - // Apply prefilters - inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); - - // If request was aborted inside a prefilter, stop there - if ( state === 2 ) { - return jqXHR; - } - - // We can fire global events as of now if asked to - fireGlobals = s.global; - - // Watch for a new set of requests - if ( fireGlobals && jQuery.active++ === 0 ) { - jQuery.event.trigger("ajaxStart"); - } - - // Uppercase the type - s.type = s.type.toUpperCase(); - - // Determine if request has content - s.hasContent = !rnoContent.test( s.type ); - - // Save the URL in case we're toying with the If-Modified-Since - // and/or If-None-Match header later on - cacheURL = s.url; - - // More options handling for requests with no content - if ( !s.hasContent ) { - - // If data is available, append data to url - if ( s.data ) { - cacheURL = ( s.url += ( ajax_rquery.test( cacheURL ) ? "&" : "?" ) + s.data ); - // #9682: remove data so that it's not used in an eventual retry - delete s.data; - } - - // Add anti-cache in url if needed - if ( s.cache === false ) { - s.url = rts.test( cacheURL ) ? - - // If there is already a '_' parameter, set its value - cacheURL.replace( rts, "$1_=" + ajax_nonce++ ) : - - // Otherwise add one to the end - cacheURL + ( ajax_rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ajax_nonce++; - } - } - - // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. - if ( s.ifModified ) { - if ( jQuery.lastModified[ cacheURL ] ) { - jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); - } - if ( jQuery.etag[ cacheURL ] ) { - jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); - } - } - - // Set the correct header, if data is being sent - if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { - jqXHR.setRequestHeader( "Content-Type", s.contentType ); - } - - // Set the Accepts header for the server, depending on the dataType - jqXHR.setRequestHeader( - "Accept", - s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[0] ] ? - s.accepts[ s.dataTypes[0] ] + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : - s.accepts[ "*" ] - ); - - // Check for headers option - for ( i in s.headers ) { - jqXHR.setRequestHeader( i, s.headers[ i ] ); - } - - // Allow custom headers/mimetypes and early abort - if ( s.beforeSend && ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || state === 2 ) ) { - // Abort if not done already and return - return jqXHR.abort(); - } - - // aborting is no longer a cancellation - strAbort = "abort"; - - // Install callbacks on deferreds - for ( i in { success: 1, error: 1, complete: 1 } ) { - jqXHR[ i ]( s[ i ] ); - } - - // Get transport - transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); - - // If no transport, we auto-abort - if ( !transport ) { - done( -1, "No Transport" ); - } else { - jqXHR.readyState = 1; - - // Send global event - if ( fireGlobals ) { - globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); - } - // Timeout - if ( s.async && s.timeout > 0 ) { - timeoutTimer = setTimeout(function() { - jqXHR.abort("timeout"); - }, s.timeout ); - } - - try { - state = 1; - transport.send( requestHeaders, done ); - } catch ( e ) { - // Propagate exception as error if not done - if ( state < 2 ) { - done( -1, e ); - // Simply rethrow otherwise - } else { - throw e; - } - } - } - - // Callback for when everything is done - function done( status, nativeStatusText, responses, headers ) { - var isSuccess, success, error, response, modified, - statusText = nativeStatusText; - - // Called once - if ( state === 2 ) { - return; - } - - // State is "done" now - state = 2; - - // Clear timeout if it exists - if ( timeoutTimer ) { - clearTimeout( timeoutTimer ); - } - - // Dereference transport for early garbage collection - // (no matter how long the jqXHR object will be used) - transport = undefined; - - // Cache response headers - responseHeadersString = headers || ""; - - // Set readyState - jqXHR.readyState = status > 0 ? 4 : 0; - - // Get response data - if ( responses ) { - response = ajaxHandleResponses( s, jqXHR, responses ); - } - - // If successful, handle type chaining - if ( status >= 200 && status < 300 || status === 304 ) { - - // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. - if ( s.ifModified ) { - modified = jqXHR.getResponseHeader("Last-Modified"); - if ( modified ) { - jQuery.lastModified[ cacheURL ] = modified; - } - modified = jqXHR.getResponseHeader("etag"); - if ( modified ) { - jQuery.etag[ cacheURL ] = modified; - } - } - - // if no content - if ( status === 204 ) { - isSuccess = true; - statusText = "nocontent"; - - // if not modified - } else if ( status === 304 ) { - isSuccess = true; - statusText = "notmodified"; - - // If we have data, let's convert it - } else { - isSuccess = ajaxConvert( s, response ); - statusText = isSuccess.state; - success = isSuccess.data; - error = isSuccess.error; - isSuccess = !error; - } - } else { - // We extract error from statusText - // then normalize statusText and status for non-aborts - error = statusText; - if ( status || !statusText ) { - statusText = "error"; - if ( status < 0 ) { - status = 0; - } - } - } - - // Set data for the fake xhr object - jqXHR.status = status; - jqXHR.statusText = ( nativeStatusText || statusText ) + ""; - - // Success/Error - if ( isSuccess ) { - deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); - } else { - deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); - } - - // Status-dependent callbacks - jqXHR.statusCode( statusCode ); - statusCode = undefined; - - if ( fireGlobals ) { - globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", - [ jqXHR, s, isSuccess ? success : error ] ); - } - - // Complete - completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); - - if ( fireGlobals ) { - globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); - // Handle the global AJAX counter - if ( !( --jQuery.active ) ) { - jQuery.event.trigger("ajaxStop"); - } - } - } - - return jqXHR; - }, - - getScript: function( url, callback ) { - return jQuery.get( url, undefined, callback, "script" ); - }, - - getJSON: function( url, data, callback ) { - return jQuery.get( url, data, callback, "json" ); - } -}); - -/* Handles responses to an ajax request: - * - sets all responseXXX fields accordingly - * - finds the right dataType (mediates between content-type and expected dataType) - * - returns the corresponding response - */ -function ajaxHandleResponses( s, jqXHR, responses ) { - var firstDataType, ct, finalDataType, type, - contents = s.contents, - dataTypes = s.dataTypes, - responseFields = s.responseFields; - - // Fill responseXXX fields - for ( type in responseFields ) { - if ( type in responses ) { - jqXHR[ responseFields[type] ] = responses[ type ]; - } - } - - // Remove auto dataType and get content-type in the process - while( dataTypes[ 0 ] === "*" ) { - dataTypes.shift(); - if ( ct === undefined ) { - ct = s.mimeType || jqXHR.getResponseHeader("Content-Type"); - } - } - - // Check if we're dealing with a known content-type - if ( ct ) { - for ( type in contents ) { - if ( contents[ type ] && contents[ type ].test( ct ) ) { - dataTypes.unshift( type ); - break; - } - } - } - - // Check to see if we have a response for the expected dataType - if ( dataTypes[ 0 ] in responses ) { - finalDataType = dataTypes[ 0 ]; - } else { - // Try convertible dataTypes - for ( type in responses ) { - if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[0] ] ) { - finalDataType = type; - break; - } - if ( !firstDataType ) { - firstDataType = type; - } - } - // Or just use first one - finalDataType = finalDataType || firstDataType; - } - - // If we found a dataType - // We add the dataType to the list if needed - // and return the corresponding response - if ( finalDataType ) { - if ( finalDataType !== dataTypes[ 0 ] ) { - dataTypes.unshift( finalDataType ); - } - return responses[ finalDataType ]; - } -} - -// Chain conversions given the request and the original response -function ajaxConvert( s, response ) { - var conv2, current, conv, tmp, - converters = {}, - i = 0, - // Work with a copy of dataTypes in case we need to modify it for conversion - dataTypes = s.dataTypes.slice(), - prev = dataTypes[ 0 ]; - - // Apply the dataFilter if provided - if ( s.dataFilter ) { - response = s.dataFilter( response, s.dataType ); - } - - // Create converters map with lowercased keys - if ( dataTypes[ 1 ] ) { - for ( conv in s.converters ) { - converters[ conv.toLowerCase() ] = s.converters[ conv ]; - } - } - - // Convert to each sequential dataType, tolerating list modification - for ( ; (current = dataTypes[++i]); ) { - - // There's only work to do if current dataType is non-auto - if ( current !== "*" ) { - - // Convert response if prev dataType is non-auto and differs from current - if ( prev !== "*" && prev !== current ) { - - // Seek a direct converter - conv = converters[ prev + " " + current ] || converters[ "* " + current ]; - - // If none found, seek a pair - if ( !conv ) { - for ( conv2 in converters ) { - - // If conv2 outputs current - tmp = conv2.split(" "); - if ( tmp[ 1 ] === current ) { - - // If prev can be converted to accepted input - conv = converters[ prev + " " + tmp[ 0 ] ] || - converters[ "* " + tmp[ 0 ] ]; - if ( conv ) { - // Condense equivalence converters - if ( conv === true ) { - conv = converters[ conv2 ]; - - // Otherwise, insert the intermediate dataType - } else if ( converters[ conv2 ] !== true ) { - current = tmp[ 0 ]; - dataTypes.splice( i--, 0, current ); - } - - break; - } - } - } - } - - // Apply converter (if not an equivalence) - if ( conv !== true ) { - - // Unless errors are allowed to bubble, catch and return them - if ( conv && s["throws"] ) { - response = conv( response ); - } else { - try { - response = conv( response ); - } catch ( e ) { - return { state: "parsererror", error: conv ? e : "No conversion from " + prev + " to " + current }; - } - } - } - } - - // Update prev for next iteration - prev = current; - } - } - - return { state: "success", data: response }; -} -// Install script dataType -jQuery.ajaxSetup({ - accepts: { - script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript" - }, - contents: { - script: /(?:java|ecma)script/ - }, - converters: { - "text script": function( text ) { - jQuery.globalEval( text ); - return text; - } - } -}); - -// Handle cache's special case and global -jQuery.ajaxPrefilter( "script", function( s ) { - if ( s.cache === undefined ) { - s.cache = false; - } - if ( s.crossDomain ) { - s.type = "GET"; - s.global = false; - } -}); - -// Bind script tag hack transport -jQuery.ajaxTransport( "script", function(s) { - - // This transport only deals with cross domain requests - if ( s.crossDomain ) { - - var script, - head = document.head || jQuery("head")[0] || document.documentElement; - - return { - - send: function( _, callback ) { - - script = document.createElement("script"); - - script.async = true; - - if ( s.scriptCharset ) { - script.charset = s.scriptCharset; - } - - script.src = s.url; - - // Attach handlers for all browsers - script.onload = script.onreadystatechange = function( _, isAbort ) { - - if ( isAbort || !script.readyState || /loaded|complete/.test( script.readyState ) ) { - - // Handle memory leak in IE - script.onload = script.onreadystatechange = null; - - // Remove the script - if ( script.parentNode ) { - script.parentNode.removeChild( script ); - } - - // Dereference the script - script = null; - - // Callback if not abort - if ( !isAbort ) { - callback( 200, "success" ); - } - } - }; - - // Circumvent IE6 bugs with base elements (#2709 and #4378) by prepending - // Use native DOM manipulation to avoid our domManip AJAX trickery - head.insertBefore( script, head.firstChild ); - }, - - abort: function() { - if ( script ) { - script.onload( undefined, true ); - } - } - }; - } -}); -var oldCallbacks = [], - rjsonp = /(=)\?(?=&|$)|\?\?/; - -// Default jsonp settings -jQuery.ajaxSetup({ - jsonp: "callback", - jsonpCallback: function() { - var callback = oldCallbacks.pop() || ( jQuery.expando + "_" + ( ajax_nonce++ ) ); - this[ callback ] = true; - return callback; - } -}); - -// Detect, normalize options and install callbacks for jsonp requests -jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) { - - var callbackName, overwritten, responseContainer, - jsonProp = s.jsonp !== false && ( rjsonp.test( s.url ) ? - "url" : - typeof s.data === "string" && !( s.contentType || "" ).indexOf("application/x-www-form-urlencoded") && rjsonp.test( s.data ) && "data" - ); - - // Handle iff the expected data type is "jsonp" or we have a parameter to set - if ( jsonProp || s.dataTypes[ 0 ] === "jsonp" ) { - - // Get callback name, remembering preexisting value associated with it - callbackName = s.jsonpCallback = jQuery.isFunction( s.jsonpCallback ) ? - s.jsonpCallback() : - s.jsonpCallback; - - // Insert callback into url or form data - if ( jsonProp ) { - s[ jsonProp ] = s[ jsonProp ].replace( rjsonp, "$1" + callbackName ); - } else if ( s.jsonp !== false ) { - s.url += ( ajax_rquery.test( s.url ) ? "&" : "?" ) + s.jsonp + "=" + callbackName; - } - - // Use data converter to retrieve json after script execution - s.converters["script json"] = function() { - if ( !responseContainer ) { - jQuery.error( callbackName + " was not called" ); - } - return responseContainer[ 0 ]; - }; - - // force json dataType - s.dataTypes[ 0 ] = "json"; - - // Install callback - overwritten = window[ callbackName ]; - window[ callbackName ] = function() { - responseContainer = arguments; - }; - - // Clean-up function (fires after converters) - jqXHR.always(function() { - // Restore preexisting value - window[ callbackName ] = overwritten; - - // Save back as free - if ( s[ callbackName ] ) { - // make sure that re-using the options doesn't screw things around - s.jsonpCallback = originalSettings.jsonpCallback; - - // save the callback name for future use - oldCallbacks.push( callbackName ); - } - - // Call if it was a function and we have a response - if ( responseContainer && jQuery.isFunction( overwritten ) ) { - overwritten( responseContainer[ 0 ] ); - } - - responseContainer = overwritten = undefined; - }); - - // Delegate to script - return "script"; - } -}); -var xhrCallbacks, xhrSupported, - xhrId = 0, - // #5280: Internet Explorer will keep connections alive if we don't abort on unload - xhrOnUnloadAbort = window.ActiveXObject && function() { - // Abort all pending requests - var key; - for ( key in xhrCallbacks ) { - xhrCallbacks[ key ]( undefined, true ); - } - }; - -// Functions to create xhrs -function createStandardXHR() { - try { - return new window.XMLHttpRequest(); - } catch( e ) {} -} - -function createActiveXHR() { - try { - return new window.ActiveXObject("Microsoft.XMLHTTP"); - } catch( e ) {} -} - -// Create the request object -// (This is still attached to ajaxSettings for backward compatibility) -jQuery.ajaxSettings.xhr = window.ActiveXObject ? - /* Microsoft failed to properly - * implement the XMLHttpRequest in IE7 (can't request local files), - * so we use the ActiveXObject when it is available - * Additionally XMLHttpRequest can be disabled in IE7/IE8 so - * we need a fallback. - */ - function() { - return !this.isLocal && createStandardXHR() || createActiveXHR(); - } : - // For all other browsers, use the standard XMLHttpRequest object - createStandardXHR; - -// Determine support properties -xhrSupported = jQuery.ajaxSettings.xhr(); -jQuery.support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); -xhrSupported = jQuery.support.ajax = !!xhrSupported; - -// Create transport if the browser can provide an xhr -if ( xhrSupported ) { - - jQuery.ajaxTransport(function( s ) { - // Cross domain only allowed if supported through XMLHttpRequest - if ( !s.crossDomain || jQuery.support.cors ) { - - var callback; - - return { - send: function( headers, complete ) { - - // Get a new xhr - var handle, i, - xhr = s.xhr(); - - // Open the socket - // Passing null username, generates a login popup on Opera (#2865) - if ( s.username ) { - xhr.open( s.type, s.url, s.async, s.username, s.password ); - } else { - xhr.open( s.type, s.url, s.async ); - } - - // Apply custom fields if provided - if ( s.xhrFields ) { - for ( i in s.xhrFields ) { - xhr[ i ] = s.xhrFields[ i ]; - } - } - - // Override mime type if needed - if ( s.mimeType && xhr.overrideMimeType ) { - xhr.overrideMimeType( s.mimeType ); - } - - // X-Requested-With header - // For cross-domain requests, seeing as conditions for a preflight are - // akin to a jigsaw puzzle, we simply never set it to be sure. - // (it can always be set on a per-request basis or even using ajaxSetup) - // For same-domain requests, won't change header if already provided. - if ( !s.crossDomain && !headers["X-Requested-With"] ) { - headers["X-Requested-With"] = "XMLHttpRequest"; - } - - // Need an extra try/catch for cross domain requests in Firefox 3 - try { - for ( i in headers ) { - xhr.setRequestHeader( i, headers[ i ] ); - } - } catch( err ) {} - - // Do send the request - // This may raise an exception which is actually - // handled in jQuery.ajax (so no try/catch here) - xhr.send( ( s.hasContent && s.data ) || null ); - - // Listener - callback = function( _, isAbort ) { - var status, responseHeaders, statusText, responses; - - // Firefox throws exceptions when accessing properties - // of an xhr when a network error occurred - // http://helpful.knobs-dials.com/index.php/Component_returned_failure_code:_0x80040111_(NS_ERROR_NOT_AVAILABLE) - try { - - // Was never called and is aborted or complete - if ( callback && ( isAbort || xhr.readyState === 4 ) ) { - - // Only called once - callback = undefined; - - // Do not keep as active anymore - if ( handle ) { - xhr.onreadystatechange = jQuery.noop; - if ( xhrOnUnloadAbort ) { - delete xhrCallbacks[ handle ]; - } - } - - // If it's an abort - if ( isAbort ) { - // Abort it manually if needed - if ( xhr.readyState !== 4 ) { - xhr.abort(); - } - } else { - responses = {}; - status = xhr.status; - responseHeaders = xhr.getAllResponseHeaders(); - - // When requesting binary data, IE6-9 will throw an exception - // on any attempt to access responseText (#11426) - if ( typeof xhr.responseText === "string" ) { - responses.text = xhr.responseText; - } - - // Firefox throws an exception when accessing - // statusText for faulty cross-domain requests - try { - statusText = xhr.statusText; - } catch( e ) { - // We normalize with Webkit giving an empty statusText - statusText = ""; - } - - // Filter status for non standard behaviors - - // If the request is local and we have data: assume a success - // (success with no data won't get notified, that's the best we - // can do given current implementations) - if ( !status && s.isLocal && !s.crossDomain ) { - status = responses.text ? 200 : 404; - // IE - #1450: sometimes returns 1223 when it should be 204 - } else if ( status === 1223 ) { - status = 204; - } - } - } - } catch( firefoxAccessException ) { - if ( !isAbort ) { - complete( -1, firefoxAccessException ); - } - } - - // Call complete if needed - if ( responses ) { - complete( status, statusText, responses, responseHeaders ); - } - }; - - if ( !s.async ) { - // if we're in sync mode we fire the callback - callback(); - } else if ( xhr.readyState === 4 ) { - // (IE6 & IE7) if it's in cache and has been - // retrieved directly we need to fire the callback - setTimeout( callback ); - } else { - handle = ++xhrId; - if ( xhrOnUnloadAbort ) { - // Create the active xhrs callbacks list if needed - // and attach the unload handler - if ( !xhrCallbacks ) { - xhrCallbacks = {}; - jQuery( window ).unload( xhrOnUnloadAbort ); - } - // Add to list of active xhrs callbacks - xhrCallbacks[ handle ] = callback; - } - xhr.onreadystatechange = callback; - } - }, - - abort: function() { - if ( callback ) { - callback( undefined, true ); - } - } - }; - } - }); -} -var fxNow, timerId, - rfxtypes = /^(?:toggle|show|hide)$/, - rfxnum = new RegExp( "^(?:([+-])=|)(" + core_pnum + ")([a-z%]*)$", "i" ), - rrun = /queueHooks$/, - animationPrefilters = [ defaultPrefilter ], - tweeners = { - "*": [function( prop, value ) { - var end, unit, - tween = this.createTween( prop, value ), - parts = rfxnum.exec( value ), - target = tween.cur(), - start = +target || 0, - scale = 1, - maxIterations = 20; - - if ( parts ) { - end = +parts[2]; - unit = parts[3] || ( jQuery.cssNumber[ prop ] ? "" : "px" ); - - // We need to compute starting value - if ( unit !== "px" && start ) { - // Iteratively approximate from a nonzero starting point - // Prefer the current property, because this process will be trivial if it uses the same units - // Fallback to end or a simple constant - start = jQuery.css( tween.elem, prop, true ) || end || 1; - - do { - // If previous iteration zeroed out, double until we get *something* - // Use a string for doubling factor so we don't accidentally see scale as unchanged below - scale = scale || ".5"; - - // Adjust and apply - start = start / scale; - jQuery.style( tween.elem, prop, start + unit ); - - // Update scale, tolerating zero or NaN from tween.cur() - // And breaking the loop if scale is unchanged or perfect, or if we've just had enough - } while ( scale !== (scale = tween.cur() / target) && scale !== 1 && --maxIterations ); - } - - tween.unit = unit; - tween.start = start; - // If a +=/-= token was provided, we're doing a relative animation - tween.end = parts[1] ? start + ( parts[1] + 1 ) * end : end; - } - return tween; - }] - }; - -// Animations created synchronously will run synchronously -function createFxNow() { - setTimeout(function() { - fxNow = undefined; - }); - return ( fxNow = jQuery.now() ); -} - -function createTweens( animation, props ) { - jQuery.each( props, function( prop, value ) { - var collection = ( tweeners[ prop ] || [] ).concat( tweeners[ "*" ] ), - index = 0, - length = collection.length; - for ( ; index < length; index++ ) { - if ( collection[ index ].call( animation, prop, value ) ) { - - // we're done with this property - return; - } - } - }); -} - -function Animation( elem, properties, options ) { - var result, - stopped, - index = 0, - length = animationPrefilters.length, - deferred = jQuery.Deferred().always( function() { - // don't match elem in the :animated selector - delete tick.elem; - }), - tick = function() { - if ( stopped ) { - return false; - } - var currentTime = fxNow || createFxNow(), - remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), - // archaic crash bug won't allow us to use 1 - ( 0.5 || 0 ) (#12497) - temp = remaining / animation.duration || 0, - percent = 1 - temp, - index = 0, - length = animation.tweens.length; - - for ( ; index < length ; index++ ) { - animation.tweens[ index ].run( percent ); - } - - deferred.notifyWith( elem, [ animation, percent, remaining ]); - - if ( percent < 1 && length ) { - return remaining; - } else { - deferred.resolveWith( elem, [ animation ] ); - return false; - } - }, - animation = deferred.promise({ - elem: elem, - props: jQuery.extend( {}, properties ), - opts: jQuery.extend( true, { specialEasing: {} }, options ), - originalProperties: properties, - originalOptions: options, - startTime: fxNow || createFxNow(), - duration: options.duration, - tweens: [], - createTween: function( prop, end ) { - var tween = jQuery.Tween( elem, animation.opts, prop, end, - animation.opts.specialEasing[ prop ] || animation.opts.easing ); - animation.tweens.push( tween ); - return tween; - }, - stop: function( gotoEnd ) { - var index = 0, - // if we are going to the end, we want to run all the tweens - // otherwise we skip this part - length = gotoEnd ? animation.tweens.length : 0; - if ( stopped ) { - return this; - } - stopped = true; - for ( ; index < length ; index++ ) { - animation.tweens[ index ].run( 1 ); - } - - // resolve when we played the last frame - // otherwise, reject - if ( gotoEnd ) { - deferred.resolveWith( elem, [ animation, gotoEnd ] ); - } else { - deferred.rejectWith( elem, [ animation, gotoEnd ] ); - } - return this; - } - }), - props = animation.props; - - propFilter( props, animation.opts.specialEasing ); - - for ( ; index < length ; index++ ) { - result = animationPrefilters[ index ].call( animation, elem, props, animation.opts ); - if ( result ) { - return result; - } - } - - createTweens( animation, props ); - - if ( jQuery.isFunction( animation.opts.start ) ) { - animation.opts.start.call( elem, animation ); - } - - jQuery.fx.timer( - jQuery.extend( tick, { - elem: elem, - anim: animation, - queue: animation.opts.queue - }) - ); - - // attach callbacks from options - return animation.progress( animation.opts.progress ) - .done( animation.opts.done, animation.opts.complete ) - .fail( animation.opts.fail ) - .always( animation.opts.always ); -} - -function propFilter( props, specialEasing ) { - var value, name, index, easing, hooks; - - // camelCase, specialEasing and expand cssHook pass - for ( index in props ) { - name = jQuery.camelCase( index ); - easing = specialEasing[ name ]; - value = props[ index ]; - if ( jQuery.isArray( value ) ) { - easing = value[ 1 ]; - value = props[ index ] = value[ 0 ]; - } - - if ( index !== name ) { - props[ name ] = value; - delete props[ index ]; - } - - hooks = jQuery.cssHooks[ name ]; - if ( hooks && "expand" in hooks ) { - value = hooks.expand( value ); - delete props[ name ]; - - // not quite $.extend, this wont overwrite keys already present. - // also - reusing 'index' from above because we have the correct "name" - for ( index in value ) { - if ( !( index in props ) ) { - props[ index ] = value[ index ]; - specialEasing[ index ] = easing; - } - } - } else { - specialEasing[ name ] = easing; - } - } -} - -jQuery.Animation = jQuery.extend( Animation, { - - tweener: function( props, callback ) { - if ( jQuery.isFunction( props ) ) { - callback = props; - props = [ "*" ]; - } else { - props = props.split(" "); - } - - var prop, - index = 0, - length = props.length; - - for ( ; index < length ; index++ ) { - prop = props[ index ]; - tweeners[ prop ] = tweeners[ prop ] || []; - tweeners[ prop ].unshift( callback ); - } - }, - - prefilter: function( callback, prepend ) { - if ( prepend ) { - animationPrefilters.unshift( callback ); - } else { - animationPrefilters.push( callback ); - } - } -}); - -function defaultPrefilter( elem, props, opts ) { - /*jshint validthis:true */ - var prop, index, length, - value, dataShow, toggle, - tween, hooks, oldfire, - anim = this, - style = elem.style, - orig = {}, - handled = [], - hidden = elem.nodeType && isHidden( elem ); - - // handle queue: false promises - if ( !opts.queue ) { - hooks = jQuery._queueHooks( elem, "fx" ); - if ( hooks.unqueued == null ) { - hooks.unqueued = 0; - oldfire = hooks.empty.fire; - hooks.empty.fire = function() { - if ( !hooks.unqueued ) { - oldfire(); - } - }; - } - hooks.unqueued++; - - anim.always(function() { - // doing this makes sure that the complete handler will be called - // before this completes - anim.always(function() { - hooks.unqueued--; - if ( !jQuery.queue( elem, "fx" ).length ) { - hooks.empty.fire(); - } - }); - }); - } - - // height/width overflow pass - if ( elem.nodeType === 1 && ( "height" in props || "width" in props ) ) { - // Make sure that nothing sneaks out - // Record all 3 overflow attributes because IE does not - // change the overflow attribute when overflowX and - // overflowY are set to the same value - opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; - - // Set display property to inline-block for height/width - // animations on inline elements that are having width/height animated - if ( jQuery.css( elem, "display" ) === "inline" && - jQuery.css( elem, "float" ) === "none" ) { - - // inline-level elements accept inline-block; - // block-level elements need to be inline with layout - if ( !jQuery.support.inlineBlockNeedsLayout || css_defaultDisplay( elem.nodeName ) === "inline" ) { - style.display = "inline-block"; - - } else { - style.zoom = 1; - } - } - } - - if ( opts.overflow ) { - style.overflow = "hidden"; - if ( !jQuery.support.shrinkWrapBlocks ) { - anim.always(function() { - style.overflow = opts.overflow[ 0 ]; - style.overflowX = opts.overflow[ 1 ]; - style.overflowY = opts.overflow[ 2 ]; - }); - } - } - - - // show/hide pass - for ( index in props ) { - value = props[ index ]; - if ( rfxtypes.exec( value ) ) { - delete props[ index ]; - toggle = toggle || value === "toggle"; - if ( value === ( hidden ? "hide" : "show" ) ) { - continue; - } - handled.push( index ); - } - } - - length = handled.length; - if ( length ) { - dataShow = jQuery._data( elem, "fxshow" ) || jQuery._data( elem, "fxshow", {} ); - if ( "hidden" in dataShow ) { - hidden = dataShow.hidden; - } - - // store state if its toggle - enables .stop().toggle() to "reverse" - if ( toggle ) { - dataShow.hidden = !hidden; - } - if ( hidden ) { - jQuery( elem ).show(); - } else { - anim.done(function() { - jQuery( elem ).hide(); - }); - } - anim.done(function() { - var prop; - jQuery._removeData( elem, "fxshow" ); - for ( prop in orig ) { - jQuery.style( elem, prop, orig[ prop ] ); - } - }); - for ( index = 0 ; index < length ; index++ ) { - prop = handled[ index ]; - tween = anim.createTween( prop, hidden ? dataShow[ prop ] : 0 ); - orig[ prop ] = dataShow[ prop ] || jQuery.style( elem, prop ); - - if ( !( prop in dataShow ) ) { - dataShow[ prop ] = tween.start; - if ( hidden ) { - tween.end = tween.start; - tween.start = prop === "width" || prop === "height" ? 1 : 0; - } - } - } - } -} - -function Tween( elem, options, prop, end, easing ) { - return new Tween.prototype.init( elem, options, prop, end, easing ); -} -jQuery.Tween = Tween; - -Tween.prototype = { - constructor: Tween, - init: function( elem, options, prop, end, easing, unit ) { - this.elem = elem; - this.prop = prop; - this.easing = easing || "swing"; - this.options = options; - this.start = this.now = this.cur(); - this.end = end; - this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); - }, - cur: function() { - var hooks = Tween.propHooks[ this.prop ]; - - return hooks && hooks.get ? - hooks.get( this ) : - Tween.propHooks._default.get( this ); - }, - run: function( percent ) { - var eased, - hooks = Tween.propHooks[ this.prop ]; - - if ( this.options.duration ) { - this.pos = eased = jQuery.easing[ this.easing ]( - percent, this.options.duration * percent, 0, 1, this.options.duration - ); - } else { - this.pos = eased = percent; - } - this.now = ( this.end - this.start ) * eased + this.start; - - if ( this.options.step ) { - this.options.step.call( this.elem, this.now, this ); - } - - if ( hooks && hooks.set ) { - hooks.set( this ); - } else { - Tween.propHooks._default.set( this ); - } - return this; - } -}; - -Tween.prototype.init.prototype = Tween.prototype; - -Tween.propHooks = { - _default: { - get: function( tween ) { - var result; - - if ( tween.elem[ tween.prop ] != null && - (!tween.elem.style || tween.elem.style[ tween.prop ] == null) ) { - return tween.elem[ tween.prop ]; - } - - // passing an empty string as a 3rd parameter to .css will automatically - // attempt a parseFloat and fallback to a string if the parse fails - // so, simple values such as "10px" are parsed to Float. - // complex values such as "rotate(1rad)" are returned as is. - result = jQuery.css( tween.elem, tween.prop, "" ); - // Empty strings, null, undefined and "auto" are converted to 0. - return !result || result === "auto" ? 0 : result; - }, - set: function( tween ) { - // use step hook for back compat - use cssHook if its there - use .style if its - // available and use plain properties where available - if ( jQuery.fx.step[ tween.prop ] ) { - jQuery.fx.step[ tween.prop ]( tween ); - } else if ( tween.elem.style && ( tween.elem.style[ jQuery.cssProps[ tween.prop ] ] != null || jQuery.cssHooks[ tween.prop ] ) ) { - jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); - } else { - tween.elem[ tween.prop ] = tween.now; - } - } - } -}; - -// Remove in 2.0 - this supports IE8's panic based approach -// to setting things on disconnected nodes - -Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { - set: function( tween ) { - if ( tween.elem.nodeType && tween.elem.parentNode ) { - tween.elem[ tween.prop ] = tween.now; - } - } -}; - -jQuery.each([ "toggle", "show", "hide" ], function( i, name ) { - var cssFn = jQuery.fn[ name ]; - jQuery.fn[ name ] = function( speed, easing, callback ) { - return speed == null || typeof speed === "boolean" ? - cssFn.apply( this, arguments ) : - this.animate( genFx( name, true ), speed, easing, callback ); - }; -}); - -jQuery.fn.extend({ - fadeTo: function( speed, to, easing, callback ) { - - // show any hidden elements after setting opacity to 0 - return this.filter( isHidden ).css( "opacity", 0 ).show() - - // animate to the value specified - .end().animate({ opacity: to }, speed, easing, callback ); - }, - animate: function( prop, speed, easing, callback ) { - var empty = jQuery.isEmptyObject( prop ), - optall = jQuery.speed( speed, easing, callback ), - doAnimation = function() { - // Operate on a copy of prop so per-property easing won't be lost - var anim = Animation( this, jQuery.extend( {}, prop ), optall ); - doAnimation.finish = function() { - anim.stop( true ); - }; - // Empty animations, or finishing resolves immediately - if ( empty || jQuery._data( this, "finish" ) ) { - anim.stop( true ); - } - }; - doAnimation.finish = doAnimation; - - return empty || optall.queue === false ? - this.each( doAnimation ) : - this.queue( optall.queue, doAnimation ); - }, - stop: function( type, clearQueue, gotoEnd ) { - var stopQueue = function( hooks ) { - var stop = hooks.stop; - delete hooks.stop; - stop( gotoEnd ); - }; - - if ( typeof type !== "string" ) { - gotoEnd = clearQueue; - clearQueue = type; - type = undefined; - } - if ( clearQueue && type !== false ) { - this.queue( type || "fx", [] ); - } - - return this.each(function() { - var dequeue = true, - index = type != null && type + "queueHooks", - timers = jQuery.timers, - data = jQuery._data( this ); - - if ( index ) { - if ( data[ index ] && data[ index ].stop ) { - stopQueue( data[ index ] ); - } - } else { - for ( index in data ) { - if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { - stopQueue( data[ index ] ); - } - } - } - - for ( index = timers.length; index--; ) { - if ( timers[ index ].elem === this && (type == null || timers[ index ].queue === type) ) { - timers[ index ].anim.stop( gotoEnd ); - dequeue = false; - timers.splice( index, 1 ); - } - } - - // start the next in the queue if the last step wasn't forced - // timers currently will call their complete callbacks, which will dequeue - // but only if they were gotoEnd - if ( dequeue || !gotoEnd ) { - jQuery.dequeue( this, type ); - } - }); - }, - finish: function( type ) { - if ( type !== false ) { - type = type || "fx"; - } - return this.each(function() { - var index, - data = jQuery._data( this ), - queue = data[ type + "queue" ], - hooks = data[ type + "queueHooks" ], - timers = jQuery.timers, - length = queue ? queue.length : 0; - - // enable finishing flag on private data - data.finish = true; - - // empty the queue first - jQuery.queue( this, type, [] ); - - if ( hooks && hooks.cur && hooks.cur.finish ) { - hooks.cur.finish.call( this ); - } - - // look for any active animations, and finish them - for ( index = timers.length; index--; ) { - if ( timers[ index ].elem === this && timers[ index ].queue === type ) { - timers[ index ].anim.stop( true ); - timers.splice( index, 1 ); - } - } - - // look for any animations in the old queue and finish them - for ( index = 0; index < length; index++ ) { - if ( queue[ index ] && queue[ index ].finish ) { - queue[ index ].finish.call( this ); - } - } - - // turn off finishing flag - delete data.finish; - }); - } -}); - -// Generate parameters to create a standard animation -function genFx( type, includeWidth ) { - var which, - attrs = { height: type }, - i = 0; - - // if we include width, step value is 1 to do all cssExpand values, - // if we don't include width, step value is 2 to skip over Left and Right - includeWidth = includeWidth? 1 : 0; - for( ; i < 4 ; i += 2 - includeWidth ) { - which = cssExpand[ i ]; - attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; - } - - if ( includeWidth ) { - attrs.opacity = attrs.width = type; - } - - return attrs; -} - -// Generate shortcuts for custom animations -jQuery.each({ - slideDown: genFx("show"), - slideUp: genFx("hide"), - slideToggle: genFx("toggle"), - fadeIn: { opacity: "show" }, - fadeOut: { opacity: "hide" }, - fadeToggle: { opacity: "toggle" } -}, function( name, props ) { - jQuery.fn[ name ] = function( speed, easing, callback ) { - return this.animate( props, speed, easing, callback ); - }; -}); - -jQuery.speed = function( speed, easing, fn ) { - var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { - complete: fn || !fn && easing || - jQuery.isFunction( speed ) && speed, - duration: speed, - easing: fn && easing || easing && !jQuery.isFunction( easing ) && easing - }; - - opt.duration = jQuery.fx.off ? 0 : typeof opt.duration === "number" ? opt.duration : - opt.duration in jQuery.fx.speeds ? jQuery.fx.speeds[ opt.duration ] : jQuery.fx.speeds._default; - - // normalize opt.queue - true/undefined/null -> "fx" - if ( opt.queue == null || opt.queue === true ) { - opt.queue = "fx"; - } - - // Queueing - opt.old = opt.complete; - - opt.complete = function() { - if ( jQuery.isFunction( opt.old ) ) { - opt.old.call( this ); - } - - if ( opt.queue ) { - jQuery.dequeue( this, opt.queue ); - } - }; - - return opt; -}; - -jQuery.easing = { - linear: function( p ) { - return p; - }, - swing: function( p ) { - return 0.5 - Math.cos( p*Math.PI ) / 2; - } -}; - -jQuery.timers = []; -jQuery.fx = Tween.prototype.init; -jQuery.fx.tick = function() { - var timer, - timers = jQuery.timers, - i = 0; - - fxNow = jQuery.now(); - - for ( ; i < timers.length; i++ ) { - timer = timers[ i ]; - // Checks the timer has not already been removed - if ( !timer() && timers[ i ] === timer ) { - timers.splice( i--, 1 ); - } - } - - if ( !timers.length ) { - jQuery.fx.stop(); - } - fxNow = undefined; -}; - -jQuery.fx.timer = function( timer ) { - if ( timer() && jQuery.timers.push( timer ) ) { - jQuery.fx.start(); - } -}; - -jQuery.fx.interval = 13; - -jQuery.fx.start = function() { - if ( !timerId ) { - timerId = setInterval( jQuery.fx.tick, jQuery.fx.interval ); - } -}; - -jQuery.fx.stop = function() { - clearInterval( timerId ); - timerId = null; -}; - -jQuery.fx.speeds = { - slow: 600, - fast: 200, - // Default speed - _default: 400 -}; - -// Back Compat <1.8 extension point -jQuery.fx.step = {}; - -if ( jQuery.expr && jQuery.expr.filters ) { - jQuery.expr.filters.animated = function( elem ) { - return jQuery.grep(jQuery.timers, function( fn ) { - return elem === fn.elem; - }).length; - }; -} -jQuery.fn.offset = function( options ) { - if ( arguments.length ) { - return options === undefined ? - this : - this.each(function( i ) { - jQuery.offset.setOffset( this, options, i ); - }); - } - - var docElem, win, - box = { top: 0, left: 0 }, - elem = this[ 0 ], - doc = elem && elem.ownerDocument; - - if ( !doc ) { - return; - } - - docElem = doc.documentElement; - - // Make sure it's not a disconnected DOM node - if ( !jQuery.contains( docElem, elem ) ) { - return box; - } - - // If we don't have gBCR, just use 0,0 rather than error - // BlackBerry 5, iOS 3 (original iPhone) - if ( typeof elem.getBoundingClientRect !== core_strundefined ) { - box = elem.getBoundingClientRect(); - } - win = getWindow( doc ); - return { - top: box.top + ( win.pageYOffset || docElem.scrollTop ) - ( docElem.clientTop || 0 ), - left: box.left + ( win.pageXOffset || docElem.scrollLeft ) - ( docElem.clientLeft || 0 ) - }; -}; - -jQuery.offset = { - - setOffset: function( elem, options, i ) { - var position = jQuery.css( elem, "position" ); - - // set position first, in-case top/left are set even on static elem - if ( position === "static" ) { - elem.style.position = "relative"; - } - - var curElem = jQuery( elem ), - curOffset = curElem.offset(), - curCSSTop = jQuery.css( elem, "top" ), - curCSSLeft = jQuery.css( elem, "left" ), - calculatePosition = ( position === "absolute" || position === "fixed" ) && jQuery.inArray("auto", [curCSSTop, curCSSLeft]) > -1, - props = {}, curPosition = {}, curTop, curLeft; - - // need to be able to calculate position if either top or left is auto and position is either absolute or fixed - if ( calculatePosition ) { - curPosition = curElem.position(); - curTop = curPosition.top; - curLeft = curPosition.left; - } else { - curTop = parseFloat( curCSSTop ) || 0; - curLeft = parseFloat( curCSSLeft ) || 0; - } - - if ( jQuery.isFunction( options ) ) { - options = options.call( elem, i, curOffset ); - } - - if ( options.top != null ) { - props.top = ( options.top - curOffset.top ) + curTop; - } - if ( options.left != null ) { - props.left = ( options.left - curOffset.left ) + curLeft; - } - - if ( "using" in options ) { - options.using.call( elem, props ); - } else { - curElem.css( props ); - } - } -}; - - -jQuery.fn.extend({ - - position: function() { - if ( !this[ 0 ] ) { - return; - } - - var offsetParent, offset, - parentOffset = { top: 0, left: 0 }, - elem = this[ 0 ]; - - // fixed elements are offset from window (parentOffset = {top:0, left: 0}, because it is it's only offset parent - if ( jQuery.css( elem, "position" ) === "fixed" ) { - // we assume that getBoundingClientRect is available when computed position is fixed - offset = elem.getBoundingClientRect(); - } else { - // Get *real* offsetParent - offsetParent = this.offsetParent(); - - // Get correct offsets - offset = this.offset(); - if ( !jQuery.nodeName( offsetParent[ 0 ], "html" ) ) { - parentOffset = offsetParent.offset(); - } - - // Add offsetParent borders - parentOffset.top += jQuery.css( offsetParent[ 0 ], "borderTopWidth", true ); - parentOffset.left += jQuery.css( offsetParent[ 0 ], "borderLeftWidth", true ); - } - - // Subtract parent offsets and element margins - // note: when an element has margin: auto the offsetLeft and marginLeft - // are the same in Safari causing offset.left to incorrectly be 0 - return { - top: offset.top - parentOffset.top - jQuery.css( elem, "marginTop", true ), - left: offset.left - parentOffset.left - jQuery.css( elem, "marginLeft", true) - }; - }, - - offsetParent: function() { - return this.map(function() { - var offsetParent = this.offsetParent || document.documentElement; - while ( offsetParent && ( !jQuery.nodeName( offsetParent, "html" ) && jQuery.css( offsetParent, "position") === "static" ) ) { - offsetParent = offsetParent.offsetParent; - } - return offsetParent || document.documentElement; - }); - } -}); - - -// Create scrollLeft and scrollTop methods -jQuery.each( {scrollLeft: "pageXOffset", scrollTop: "pageYOffset"}, function( method, prop ) { - var top = /Y/.test( prop ); - - jQuery.fn[ method ] = function( val ) { - return jQuery.access( this, function( elem, method, val ) { - var win = getWindow( elem ); - - if ( val === undefined ) { - return win ? (prop in win) ? win[ prop ] : - win.document.documentElement[ method ] : - elem[ method ]; - } - - if ( win ) { - win.scrollTo( - !top ? val : jQuery( win ).scrollLeft(), - top ? val : jQuery( win ).scrollTop() - ); - - } else { - elem[ method ] = val; - } - }, method, val, arguments.length, null ); - }; -}); - -function getWindow( elem ) { - return jQuery.isWindow( elem ) ? - elem : - elem.nodeType === 9 ? - elem.defaultView || elem.parentWindow : - false; -} -// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods -jQuery.each( { Height: "height", Width: "width" }, function( name, type ) { - jQuery.each( { padding: "inner" + name, content: type, "": "outer" + name }, function( defaultExtra, funcName ) { - // margin is only for outerHeight, outerWidth - jQuery.fn[ funcName ] = function( margin, value ) { - var chainable = arguments.length && ( defaultExtra || typeof margin !== "boolean" ), - extra = defaultExtra || ( margin === true || value === true ? "margin" : "border" ); - - return jQuery.access( this, function( elem, type, value ) { - var doc; - - if ( jQuery.isWindow( elem ) ) { - // As of 5/8/2012 this will yield incorrect results for Mobile Safari, but there - // isn't a whole lot we can do. See pull request at this URL for discussion: - // https://github.com/jquery/jquery/pull/764 - return elem.document.documentElement[ "client" + name ]; - } - - // Get document width or height - if ( elem.nodeType === 9 ) { - doc = elem.documentElement; - - // Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height], whichever is greatest - // unfortunately, this causes bug #3838 in IE6/8 only, but there is currently no good, small way to fix it. - return Math.max( - elem.body[ "scroll" + name ], doc[ "scroll" + name ], - elem.body[ "offset" + name ], doc[ "offset" + name ], - doc[ "client" + name ] - ); - } - - return value === undefined ? - // Get width or height on the element, requesting but not forcing parseFloat - jQuery.css( elem, type, extra ) : - - // Set width or height on the element - jQuery.style( elem, type, value, extra ); - }, type, chainable ? margin : undefined, chainable, null ); - }; - }); -}); -// Limit scope pollution from any deprecated API -// (function() { - -// })(); -// Expose jQuery to the global object -window.jQuery = window.$ = jQuery; - -// Expose jQuery as an AMD module, but only for AMD loaders that -// understand the issues with loading multiple versions of jQuery -// in a page that all might call define(). The loader will indicate -// they have special allowances for multiple jQuery versions by -// specifying define.amd.jQuery = true. Register as a named module, -// since jQuery can be concatenated with other files that may use define, -// but not use a proper concatenation script that understands anonymous -// AMD modules. A named AMD is safest and most robust way to register. -// Lowercase jquery is used because AMD module names are derived from -// file names, and jQuery is normally delivered in a lowercase file name. -// Do this after creating the global so that if an AMD module wants to call -// noConflict to hide this version of jQuery, it will work. -if ( typeof define === "function" && define.amd && define.amd.jQuery ) { - define( "jquery", [], function () { return jQuery; } ); -} - -})( window );
\ No newline at end of file diff --git a/minionlivesmatter/templates/assets/tether/examples/resources/js/log.js b/minionlivesmatter/templates/assets/tether/examples/resources/js/log.js deleted file mode 100644 index 6acd4fd..0000000 --- a/minionlivesmatter/templates/assets/tether/examples/resources/js/log.js +++ /dev/null @@ -1,134 +0,0 @@ -(function() { - var ffSupport, formats, getOrderedMatches, hasMatches, isFF, isIE, isOpera, isSafari, log, makeArray, operaSupport, safariSupport, stringToArgs, _log; - if (!(window.console && window.console.log)) { - return; - } - log = function() { - var args; - args = []; - makeArray(arguments).forEach(function(arg) { - if (typeof arg === 'string') { - return args = args.concat(stringToArgs(arg)); - } else { - return args.push(arg); - } - }); - return _log.apply(window, args); - }; - _log = function() { - return console.log.apply(console, makeArray(arguments)); - }; - makeArray = function(arrayLikeThing) { - return Array.prototype.slice.call(arrayLikeThing); - }; - formats = [ - { - regex: /\*([^\*]+)\*/, - replacer: function(m, p1) { - return "%c" + p1 + "%c"; - }, - styles: function() { - return ['font-style: italic', '']; - } - }, { - regex: /\_([^\_]+)\_/, - replacer: function(m, p1) { - return "%c" + p1 + "%c"; - }, - styles: function() { - return ['font-weight: bold', '']; - } - }, { - regex: /\`([^\`]+)\`/, - replacer: function(m, p1) { - return "%c" + p1 + "%c"; - }, - styles: function() { - return ['background: rgb(255, 255, 219); padding: 1px 5px; border: 1px solid rgba(0, 0, 0, 0.1)', '']; - } - }, { - regex: /\[c\=(?:\"|\')?((?:(?!(?:\"|\')\]).)*)(?:\"|\')?\]((?:(?!\[c\]).)*)\[c\]/, - replacer: function(m, p1, p2) { - return "%c" + p2 + "%c"; - }, - styles: function(match) { - return [match[1], '']; - } - } - ]; - hasMatches = function(str) { - var _hasMatches; - _hasMatches = false; - formats.forEach(function(format) { - if (format.regex.test(str)) { - return _hasMatches = true; - } - }); - return _hasMatches; - }; - getOrderedMatches = function(str) { - var matches; - matches = []; - formats.forEach(function(format) { - var match; - match = str.match(format.regex); - if (match) { - return matches.push({ - format: format, - match: match - }); - } - }); - return matches.sort(function(a, b) { - return a.match.index - b.match.index; - }); - }; - stringToArgs = function(str) { - var firstMatch, matches, styles; - styles = []; - while (hasMatches(str)) { - matches = getOrderedMatches(str); - firstMatch = matches[0]; - str = str.replace(firstMatch.format.regex, firstMatch.format.replacer); - styles = styles.concat(firstMatch.format.styles(firstMatch.match)); - } - return [str].concat(styles); - }; - isSafari = function() { - return /Safari/.test(navigator.userAgent) && /Apple Computer/.test(navigator.vendor); - }; - isOpera = function() { - return /OPR/.test(navigator.userAgent) && /Opera/.test(navigator.vendor); - }; - isFF = function() { - return /Firefox/.test(navigator.userAgent); - }; - isIE = function() { - return /MSIE/.test(navigator.userAgent); - }; - safariSupport = function() { - var m; - m = navigator.userAgent.match(/AppleWebKit\/(\d+)\.(\d+)(\.|\+|\s)/); - if (!m) { - return false; - } - return 537.38 <= parseInt(m[1], 10) + (parseInt(m[2], 10) / 100); - }; - operaSupport = function() { - var m; - m = navigator.userAgent.match(/OPR\/(\d+)\./); - if (!m) { - return false; - } - return 15 <= parseInt(m[1], 10); - }; - ffSupport = function() { - return window.console.firebug || window.console.exception; - }; - if (isIE() || (isFF() && !ffSupport()) || (isOpera() && !operaSupport()) || (isSafari() && !safariSupport())) { - window.log = _log; - } else { - window.log = log; - } - window.log.l = _log; -}).call(this);
\ No newline at end of file diff --git a/minionlivesmatter/templates/assets/tether/examples/scroll/index.html b/minionlivesmatter/templates/assets/tether/examples/scroll/index.html deleted file mode 100644 index 4d4fd64..0000000 --- a/minionlivesmatter/templates/assets/tether/examples/scroll/index.html +++ /dev/null @@ -1,922 +0,0 @@ -<!DOCTYPE html> -<html> - <head> - <link rel="stylesheet" href="../resources/css/base.css" /> - <link rel="stylesheet" href="../common/css/style.css" /> - </head> - <body> - - <div class="instructions">Scroll the page</div> - - <h2>THE END OF THE TETHER</h2> - - <p>By Joseph Conrad</p> - - <h3>Chapter I</h3> - - <p>For a long time after the course of the steamer <em>Sofala</em> had been - altered for the land, the low swampy coast had retained its appearance - of a mere smudge of darkness beyond a belt of glitter. The sunrays - seemed to fall violently upon the calm sea--seemed to shatter themselves - upon an adamantine surface into sparkling dust, into a dazzling vapor - of light that blinded the eye and wearied the brain with its unsteady - brightness.</p> - - <p>Captain Whalley did not look at it. When his Serang, approaching the - roomy cane arm-chair which he filled capably, had informed him in a low - voice that the course was to be altered, he had risen at once and had - remained on his feet, face forward, while the head of his ship swung - through a quarter of a circle. He had not uttered a single word, not - even the word to steady the helm. It was the Serang, an elderly, alert, - little Malay, with a very dark skin, who murmured the order to the - helmsman. And then slowly Captain Whalley sat down again in the - arm-chair on the bridge and fixed his eyes on the deck between his feet.</p> - - <p>He could not hope to see anything new upon this lane of the sea. He had - been on these coasts for the last three years. From Low Cape to Malantan - the distance was fifty miles, six hours' steaming for the old ship with - the tide, or seven against. Then you steered straight for the land, and - by-and-by three palms would appear on the sky, tall and slim, and with - their disheveled heads in a bunch, as if in confidential criticism of - the dark mangroves. The Sofala would be headed towards the somber - strip of the coast, which at a given moment, as the ship closed with - it obliquely, would show several clean shining fractures--the brimful - estuary of a river. Then on through a brown liquid, three parts water - and one part black earth, on and on between the low shores, three parts - black earth and one part brackish water, the Sofala would plow her way - up-stream, as she had done once every month for these seven years or - more, long before he was aware of her existence, long before he had ever - thought of having anything to do with her and her invariable voyages. - The old ship ought to have known the road better than her men, who had - not been kept so long at it without a change; better than the faithful - Serang, whom he had brought over from his last ship to keep the - captain's watch; better than he himself, who had been her captain for - the last three years only. She could always be depended upon to make her - courses. Her compasses were never out. She was no trouble at all to - take about, as if her great age had given her knowledge, wisdom, and - steadiness. She made her landfalls to a degree of the bearing, and - almost to a minute of her allowed time. At any moment, as he sat on - the bridge without looking up, or lay sleepless in his bed, simply by - reckoning the days and the hours he could tell where he was--the precise - spot of the beat. He knew it well too, this monotonous huckster's - round, up and down the Straits; he knew its order and its sights and its - people. Malacca to begin with, in at daylight and out at dusk, to cross - over with a rigid phosphorescent wake this highway of the Far East. - Darkness and gleams on the water, clear stars on a black sky, perhaps - the lights of a home steamer keeping her unswerving course in the - middle, or maybe the elusive shadow of a native craft with her mat sails - flitting by silently--and the low land on the other side in sight - at daylight. At noon the three palms of the next place of call, up a - sluggish river. The only white man residing there was a retired young - sailor, with whom he had become friendly in the course of many voyages. - Sixty miles farther on there was another place of call, a deep bay with - only a couple of houses on the beach. And so on, in and out, picking - up coastwise cargo here and there, and finishing with a hundred miles' - steady steaming through the maze of an archipelago of small islands up - to a large native town at the end of the beat. There was a three days' - rest for the old ship before he started her again in inverse order, - seeing the same shores from another bearing, hearing the same voices - in the same places, back again to the Sofala's port of registry on - the great highway to the East, where he would take up a berth nearly - opposite the big stone pile of the harbor office till it was time to - start again on the old round of 1600 miles and thirty days. Not a very - enterprising life, this, for Captain Whalley, Henry Whalley, otherwise - Dare-devil Harry--Whalley of the Condor, a famous clipper in her day. - No. Not a very enterprising life for a man who had served famous firms, - who had sailed famous ships (more than one or two of them his own); who - had made famous passages, had been the pioneer of new routes and new - trades; who had steered across the unsurveyed tracts of the South Seas, - and had seen the sun rise on uncharted islands. Fifty years at sea, and - forty out in the East ("a pretty thorough apprenticeship," he used - to remark smilingly), had made him honorably known to a generation of - shipowners and merchants in all the ports from Bombay clear over to - where the East merges into the West upon the coast of the two Americas. - His fame remained writ, not very large but plain enough, on the - Admiralty charts. Was there not somewhere between Australia and China a - Whalley Island and a Condor Reef? On that dangerous coral formation the - celebrated clipper had hung stranded for three days, her captain and - crew throwing her cargo overboard with one hand and with the other, as - it were, keeping off her a flotilla of savage war-canoes. At that time - neither the island nor the reef had any official existence. Later the - officers of her Majesty's steam vessel Fusilier, dispatched to make a - survey of the route, recognized in the adoption of these two names the - enterprise of the man and the solidity of the ship. Besides, as anyone - who cares may see, the "General Directory," vol. ii. p. 410, begins the - description of the "Malotu or Whalley Passage" with the words: "This - advantageous route, first discovered in 1850 by Captain Whalley in the - ship Condor," &c., and ends by recommending it warmly to sailing vessels - leaving the China ports for the south in the months from December to - April inclusive.</p> - - <p>This was the clearest gain he had out of life. Nothing could rob him - of this kind of fame. The piercing of the Isthmus of Suez, like the - breaking of a dam, had let in upon the East a flood of new ships, new - men, new methods of trade. It had changed the face of the Eastern seas - and the very spirit of their life; so that his early experiences meant - nothing whatever to the new generation of seamen.</p> - - <p>In those bygone days he had handled many thousands of pounds of his - employers' money and of his own; he had attended faithfully, as by law - a shipmaster is expected to do, to the conflicting interests of owners, - charterers, and underwriters. He had never lost a ship or consented to - a shady transaction; and he had lasted well, outlasting in the end the - conditions that had gone to the making of his name. He had buried his - wife (in the Gulf of Petchili), had married off his daughter to the man - of her unlucky choice, and had lost more than an ample competence in the - crash of the notorious Travancore and Deccan Banking Corporation, whose - downfall had shaken the East like an earthquake. And he was sixty-five - years old.</p> - - <h3>Chapter II</h3> - - <p>His age sat lightly enough on him; and of his ruin he was not ashamed. - He had not been alone to believe in the stability of the Banking - Corporation. Men whose judgment in matters of finance was as expert as - his seamanship had commended the prudence of his investments, and had - themselves lost much money in the great failure. The only difference - between him and them was that he had lost his all. And yet not his all. - There had remained to him from his lost fortune a very pretty little - bark, Fair Maid, which he had bought to occupy his leisure of a retired - sailor--"to play with," as he expressed it himself.</p> - - <p>He had formally declared himself tired of the sea the year preceding his - daughter's marriage. But after the young couple had gone to settle in - Melbourne he found out that he could not make himself happy on shore. He - was too much of a merchant sea-captain for mere yachting to satisfy him. - He wanted the illusion of affairs; and his acquisition of the Fair - Maid preserved the continuity of his life. He introduced her to his - acquaintances in various ports as "my last command." When he grew too - old to be trusted with a ship, he would lay her up and go ashore to be - buried, leaving directions in his will to have the bark towed out and - scuttled decently in deep water on the day of the funeral. His daughter - would not grudge him the satisfaction of knowing that no stranger would - handle his last command after him. With the fortune he was able to leave - her, the value of a 500-ton bark was neither here nor there. All this - would be said with a jocular twinkle in his eye: the vigorous old man - had too much vitality for the sentimentalism of regret; and a little - wistfully withal, because he was at home in life, taking a genuine - pleasure in its feelings and its possessions; in the dignity of his - reputation and his wealth, in his love for his daughter, and in his - satisfaction with the ship--the plaything of his lonely leisure.</p> - - <p>He had the cabin arranged in accordance with his simple ideal of comfort - at sea. A big bookcase (he was a great reader) occupied one side of his - stateroom; the portrait of his late wife, a flat bituminous oil-painting - representing the profile and one long black ringlet of a young woman, - faced his bed-place. Three chronometers ticked him to sleep and greeted - him on waking with the tiny competition of their beats. He rose at five - every day. The officer of the morning watch, drinking his early cup - of coffee aft by the wheel, would hear through the wide orifice of the - copper ventilators all the splashings, blowings, and splutterings of - his captain's toilet. These noises would be followed by a sustained - deep murmur of the Lord's Prayer recited in a loud earnest voice. Five - minutes afterwards the head and shoulders of Captain Whalley emerged - out of the companion-hatchway. Invariably he paused for a while on the - stairs, looking all round at the horizon; upwards at the trim of the - sails; inhaling deep draughts of the fresh air. Only then he would step - out on the poop, acknowledging the hand raised to the peak of the cap - with a majestic and benign "Good morning to you." He walked the deck - till eight scrupulously. Sometimes, not above twice a year, he had to - use a thick cudgel-like stick on account of a stiffness in the hip--a - slight touch of rheumatism, he supposed. Otherwise he knew nothing of - the ills of the flesh. At the ringing of the breakfast bell he went - below to feed his canaries, wind up the chronometers, and take the - head of the table. From there he had before his eyes the big carbon - photographs of his daughter, her husband, and two fat-legged babies - --his grandchildren--set in black frames into the maplewood bulkheads - of the cuddy. After breakfast he dusted the glass over these portraits - himself with a cloth, and brushed the oil painting of his wife with a - plumate kept suspended from a small brass hook by the side of the heavy - gold frame. Then with the door of his stateroom shut, he would sit down - on the couch under the portrait to read a chapter out of a thick pocket - Bible--her Bible. But on some days he only sat there for half an hour - with his finger between the leaves and the closed book resting on his - knees. Perhaps he had remembered suddenly how fond of boat-sailing she - used to be.</p> - - <p>She had been a real shipmate and a true woman too. It was like an - article of faith with him that there never had been, and never could be, - a brighter, cheerier home anywhere afloat or ashore than his home under - the poop-deck of the Condor, with the big main cabin all white and gold, - garlanded as if for a perpetual festival with an unfading wreath. She - had decorated the center of every panel with a cluster of home flowers. - It took her a twelvemonth to go round the cuddy with this labor of love. - To him it had remained a marvel of painting, the highest achievement of - taste and skill; and as to old Swinburne, his mate, every time he - came down to his meals he stood transfixed with admiration before the - progress of the work. You could almost smell these roses, he declared, - sniffing the faint flavor of turpentine which at that time pervaded the - saloon, and (as he confessed afterwards) made him somewhat less hearty - than usual in tackling his food. But there was nothing of the sort to - interfere with his enjoyment of her singing. "Mrs. Whalley is a regular - out-and-out nightingale, sir," he would pronounce with a judicial air - after listening profoundly over the skylight to the very end of the - piece. In fine weather, in the second dog-watch, the two men could hear - her trills and roulades going on to the accompaniment of the piano in - the cabin. On the very day they got engaged he had written to London - for the instrument; but they had been married for over a year before it - reached them, coming out round the Cape. The big case made part of the - first direct general cargo landed in Hong-kong harbor--an event that to - the men who walked the busy quays of to-day seemed as hazily remote as - the dark ages of history. But Captain Whalley could in a half hour of - solitude live again all his life, with its romance, its idyl, and its - sorrow. He had to close her eyes himself. She went away from under the - ensign like a sailor's wife, a sailor herself at heart. He had read - the service over her, out of her own prayer-book, without a break in his - voice. When he raised his eyes he could see old Swinburne facing him - with his cap pressed to his breast, and his rugged, weather-beaten, - impassive face streaming with drops of water like a lump of chipped red - granite in a shower. It was all very well for that old sea-dog to cry. - He had to read on to the end; but after the splash he did not remember - much of what happened for the next few days. An elderly sailor of the - crew, deft at needlework, put together a mourning frock for the child - out of one of her black skirts.</p> - - <p>He was not likely to forget; but you cannot dam up life like a sluggish - stream. It will break out and flow over a man's troubles, it will close - upon a sorrow like the sea upon a dead body, no matter how much love has - gone to the bottom. And the world is not bad. People had been very - kind to him; especially Mrs. Gardner, the wife of the senior partner - in Gardner, Patteson, & Co., the owners of the Condor. It was she who - volunteered to look after the little one, and in due course took her to - England (something of a journey in those days, even by the overland - mail route) with her own girls to finish her education. It was ten years - before he saw her again.</p> - - <p>As a little child she had never been frightened of bad weather; she - would beg to be taken up on deck in the bosom of his oilskin coat to - watch the big seas hurling themselves upon the Condor. The swirl and - crash of the waves seemed to fill her small soul with a breathless - delight. "A good boy spoiled," he used to say of her in joke. He had - named her Ivy because of the sound of the word, and obscurely fascinated - by a vague association of ideas. She had twined herself tightly round - his heart, and he intended her to cling close to her father as to a - tower of strength; forgetting, while she was little, that in the nature - of things she would probably elect to cling to someone else. But - he loved life well enough for even that event to give him a certain - satisfaction, apart from his more intimate feeling of loss.</p> - - <p>After he had purchased the Fair Maid to occupy his loneliness, he - hastened to accept a rather unprofitable freight to Australia simply for - the opportunity of seeing his daughter in her own home. What made him - dissatisfied there was not to see that she clung now to somebody else, - but that the prop she had selected seemed on closer examination "a - rather poor stick"--even in the matter of health. He disliked his - son-in-law's studied civility perhaps more than his method of - handling the sum of money he had given Ivy at her marriage. But of his - apprehensions he said nothing. Only on the day of his departure, with - the hall-door open already, holding her hands and looking steadily into - her eyes, he had said, "You know, my dear, all I have is for you and the - chicks. Mind you write to me openly." She had answered him by an almost - imperceptible movement of her head. She resembled her mother in - the color of her eyes, and in character--and also in this, that she - understood him without many words.</p> - - <p>Sure enough she had to write; and some of these letters made Captain - Whalley lift his white eye-brows. For the rest he considered he was - reaping the true reward of his life by being thus able to produce on - demand whatever was needed. He had not enjoyed himself so much in a - way since his wife had died. Characteristically enough his son-in-law's - punctuality in failure caused him at a distance to feel a sort of - kindness towards the man. The fellow was so perpetually being jammed on - a lee shore that to charge it all to his reckless navigation would be - manifestly unfair. No, no! He knew well what that meant. It was bad - luck. His own had been simply marvelous, but he had seen in his life too - many good men--seamen and others--go under with the sheer weight of bad - luck not to recognize the fatal signs. For all that, he was cogitating - on the best way of tying up very strictly every penny he had to leave, - when, with a preliminary rumble of rumors (whose first sound reached - him in Shanghai as it happened), the shock of the big failure came; - and, after passing through the phases of stupor, of incredulity, of - indignation, he had to accept the fact that he had nothing to speak of - to leave.</p> - - <p>Upon that, as if he had only waited for this catastrophe, the unlucky - man, away there in Melbourne, gave up his unprofitable game, and sat - down--in an invalid's bath-chair at that too. "He will never walk - again," wrote the wife. For the first time in his life Captain Whalley - was a bit staggered.</p> - - <p>The Fair Maid had to go to work in bitter earnest now. It was no longer - a matter of preserving alive the memory of Dare-devil Harry Whalley in - the Eastern Seas, or of keeping an old man in pocket-money and clothes, - with, perhaps, a bill for a few hundred first-class cigars thrown in at - the end of the year. He would have to buckle-to, and keep her going hard - on a scant allowance of gilt for the ginger-bread scrolls at her stem - and stern.</p> - - <p>This necessity opened his eyes to the fundamental changes of the world. - Of his past only the familiar names remained, here and there, but - the things and the men, as he had known them, were gone. The name of - Gardner, Patteson, & Co. was still displayed on the walls of warehouses - by the waterside, on the brass plates and window-panes in the business - quarters of more than one Eastern port, but there was no longer a - Gardner or a Patteson in the firm. There was no longer for Captain - Whalley an arm-chair and a welcome in the private office, with a bit of - business ready to be put in the way of an old friend, for the sake of - bygone services. The husbands of the Gardner girls sat behind the desks - in that room where, long after he had left the employ, he had kept his - right of entrance in the old man's time. Their ships now had yellow - funnels with black tops, and a time-table of appointed routes like a - confounded service of tramways. The winds of December and June were all - one to them; their captains (excellent young men he doubted not) were, - to be sure, familiar with Whalley Island, because of late years the - Government had established a white fixed light on the north end (with - a red danger sector over the Condor Reef), but most of them would have - been extremely surprised to hear that a flesh-and-blood Whalley still - existed--an old man going about the world trying to pick up a cargo here - and there for his little bark.</p> - - <p>And everywhere it was the same. Departed the men who would have nodded - appreciatively at the mention of his name, and would have thought - themselves bound in honor to do something for Dare-devil Harry Whalley. - Departed the opportunities which he would have known how to seize; and - gone with them the white-winged flock of clippers that lived in the - boisterous uncertain life of the winds, skimming big fortunes out of - the foam of the sea. In a world that pared down the profits to an - irreducible minimum, in a world that was able to count its disengaged - tonnage twice over every day, and in which lean charters were snapped up - by cable three months in advance, there were no chances of fortune for - an individual wandering haphazard with a little bark--hardly indeed any - room to exist.</p> - - <p>He found it more difficult from year to year. He suffered greatly from - the smallness of remittances he was able to send his daughter. Meantime - he had given up good cigars, and even in the matter of inferior cheroots - limited himself to six a day. He never told her of his difficulties, and - she never enlarged upon her struggle to live. Their confidence in each - other needed no explanations, and their perfect understanding endured - without protestations of gratitude or regret. He would have been shocked - if she had taken it into her head to thank him in so many words, but - he found it perfectly natural that she should tell him she needed two - hundred pounds.</p> - - <p>He had come in with the Fair Maid in ballast to look for a freight in - the Sofala's port of registry, and her letter met him there. Its tenor - was that it was no use mincing matters. Her only resource was in opening - a boarding-house, for which the prospects, she judged, were good. Good - enough, at any rate, to make her tell him frankly that with two hundred - pounds she could make a start. He had torn the envelope open, hastily, - on deck, where it was handed to him by the ship-chandler's runner, who - had brought his mail at the moment of anchoring. For the second time - in his life he was appalled, and remained stock-still at the cabin door - with the paper trembling between his fingers. Open a boarding-house! Two - hundred pounds for a start! The only resource! And he did not know where - to lay his hands on two hundred pence.</p> - - <p>All that night Captain Whalley walked the poop of his anchored ship, as - though he had been about to close with the land in thick weather, and - uncertain of his position after a run of many gray days without a sight - of sun, moon, or stars. The black night twinkled with the guiding lights - of seamen and the steady straight lines of lights on shore; and all - around the Fair Maid the riding lights of ships cast trembling trails - upon the water of the roadstead. Captain Whalley saw not a gleam - anywhere till the dawn broke and he found out that his clothing was - soaked through with the heavy dew.</p> - - <p>His ship was awake. He stopped short, stroked his wet beard, and - descended the poop ladder backwards, with tired feet. At the sight - of him the chief officer, lounging about sleepily on the quarterdeck, - remained open-mouthed in the middle of a great early-morning yawn.</p> - - <p>"Good morning to you," pronounced Captain Whalley solemnly, passing into - the cabin. But he checked himself in the doorway, and without looking - back, "By the bye," he said, "there should be an empty wooden case put - away in the lazarette. It has not been broken up--has it?"</p> - - <p>The mate shut his mouth, and then asked as if dazed, "What empty case, - sir?"</p> - - <p>"A big flat packing-case belonging to that painting in my room. Let it - be taken up on deck and tell the carpenter to look it over. I may want - to use it before long."</p> - - <p>The chief officer did not stir a limb till he had heard the door of the - captain's state-room slam within the cuddy. Then he beckoned aft the - second mate with his forefinger to tell him that there was something "in - the wind."</p> - - <p>When the bell rang Captain Whalley's authoritative voice boomed out - through a closed door, "Sit down and don't wait for me." And his - impressed officers took their places, exchanging looks and whispers - across the table. What! No breakfast? And after apparently knocking - about all night on deck, too! Clearly, there was something in the wind. - In the skylight above their heads, bowed earnestly over the plates, - three wire cages rocked and rattled to the restless jumping of the - hungry canaries; and they could detect the sounds of their "old - man's" deliberate movements within his state-room. Captain Whalley was - methodically winding up the chronometers, dusting the portrait of - his late wife, getting a clean white shirt out of the drawers, making - himself ready in his punctilious unhurried manner to go ashore. He could - not have swallowed a single mouthful of food that morning. He had made - up his mind to sell the Fair Maid.</p> - - <h3>Chapter III</h3> - - <p>Just at that time the Japanese were casting far and wide for ships - of European build, and he had no difficulty in finding a purchaser, a - speculator who drove a hard bargain, but paid cash down for the Fair - Maid, with a view to a profitable resale. Thus it came about that - Captain Whalley found himself on a certain afternoon descending the - steps of one of the most important post-offices of the East with a slip - of bluish paper in his hand. This was the receipt of a registered letter - enclosing a draft for two hundred pounds, and addressed to Melbourne. - Captain Whalley pushed the paper into his waistcoat-pocket, took his - stick from under his arm, and walked down the street.</p> - - <p>It was a recently opened and untidy thoroughfare with rudimentary - side-walks and a soft layer of dust cushioning the whole width of - the road. One end touched the slummy street of Chinese shops near the - harbor, the other drove straight on, without houses, for a couple of - miles, through patches of jungle-like vegetation, to the yard gates - of the new Consolidated Docks Company. The crude frontages of the new - Government buildings alternated with the blank fencing of vacant plots, - and the view of the sky seemed to give an added spaciousness to the - broad vista. It was empty and shunned by natives after business - hours, as though they had expected to see one of the tigers from the - neighborhood of the New Waterworks on the hill coming at a loping canter - down the middle to get a Chinese shopkeeper for supper. Captain Whalley - was not dwarfed by the solitude of the grandly planned street. He - had too fine a presence for that. He was only a lonely figure walking - purposefully, with a great white beard like a pilgrim, and with a thick - stick that resembled a weapon. On one side the new Courts of Justice had - a low and unadorned portico of squat columns half concealed by a few old - trees left in the approach. On the other the pavilion wings of the - new Colonial Treasury came out to the line of the street. But Captain - Whalley, who had now no ship and no home, remembered in passing that - on that very site when he first came out from England there had stood a - fishing village, a few mat huts erected on piles between a muddy tidal - creek and a miry pathway that went writhing into a tangled wilderness - without any docks or waterworks.</p> - - <p>No ship--no home. And his poor Ivy away there had no home either. A - boarding-house is no sort of home though it may get you a living. His - feelings were horribly rasped by the idea of the boarding-house. In his - rank of life he had that truly aristocratic temperament characterized by - a scorn of vulgar gentility and by prejudiced views as to the derogatory - nature of certain occupations. For his own part he had always preferred - sailing merchant ships (which is a straightforward occupation) to buying - and selling merchandise, of which the essence is to get the better of - somebody in a bargain--an undignified trial of wits at best. His father - had been Colonel Whalley (retired) of the H. E. I. Company's service, - with very slender means besides his pension, but with distinguished - connections. He could remember as a boy how frequently waiters at the - inns, country tradesmen and small people of that sort, used to "My lord" - the old warrior on the strength of his appearance.</p> - - <p>Captain Whalley himself (he would have entered the Navy if his father - had not died before he was fourteen) had something of a grand air which - would have suited an old and glorious admiral; but he became lost like - a straw in the eddy of a brook amongst the swarm of brown and yellow - humanity filling a thoroughfare, that by contrast with the vast and - empty avenue he had left seemed as narrow as a lane and absolutely - riotous with life. The walls of the houses were blue; the shops of the - Chinamen yawned like cavernous lairs; heaps of nondescript merchandise - overflowed the gloom of the long range of arcades, and the fiery - serenity of sunset took the middle of the street from end to end with a - glow like the reflection of a fire. It fell on the bright colors and the - dark faces of the bare-footed crowd, on the pallid yellow backs of the - half-naked jostling coolies, on the accouterments of a tall Sikh trooper - with a parted beard and fierce mustaches on sentry before the gate of - the police compound. Looming very big above the heads in a red haze of - dust, the tightly packed car of the cable tramway navigated cautiously - up the human stream, with the incessant blare of its horn, in the manner - of a steamer groping in a fog.</p> - - <p>Captain Whalley emerged like a diver on the other side, and in the - desert shade between the walls of closed warehouses removed his hat to - cool his brow. A certain disrepute attached to the calling of a - landlady of a boarding-house. These women were said to be rapacious, - unscrupulous, untruthful; and though he contemned no class of his - fellow-creatures--God forbid!--these were suspicions to which it was - unseemly that a Whalley should lay herself open. He had not expostulated - with her, however. He was confident she shared his feelings; he was - sorry for her; he trusted her judgment; he considered it a merciful - dispensation that he could help her once more,--but in his aristocratic - heart of hearts he would have found it more easy to reconcile himself to - the idea of her turning seamstress. Vaguely he remembered reading years - ago a touching piece called the "Song of the Shirt." It was all very - well making songs about poor women. The granddaughter of Colonel - Whalley, the landlady of a boarding-house! Pooh! He replaced his hat, - dived into two pockets, and stopping a moment to apply a flaring match - to the end of a cheap cheroot, blew an embittered cloud of smoke at a - world that could hold such surprises.</p> - - <p>Of one thing he was certain--that she was the own child of a clever - mother. Now he had got over the wrench of parting with his ship, he - perceived clearly that such a step had been unavoidable. Perhaps he had - been growing aware of it all along with an unconfessed knowledge. But - she, far away there, must have had an intuitive perception of it, with - the pluck to face that truth and the courage to speak out--all the - qualities which had made her mother a woman of such excellent counsel.</p> - - <p>It would have had to come to that in the end! It was fortunate she had - forced his hand. In another year or two it would have been an utterly - barren sale. To keep the ship going he had been involving himself deeper - every year. He was defenseless before the insidious work of adversity, - to whose more open assaults he could present a firm front; like a - cliff that stands unmoved the open battering of the sea, with a lofty - ignorance of the treacherous backwash undermining its base. As it was, - every liability satisfied, her request answered, and owing no man a - penny, there remained to him from the proceeds a sum of five hundred - pounds put away safely. In addition he had upon his person some forty - odd dollars--enough to pay his hotel bill, providing he did not linger - too long in the modest bedroom where he had taken refuge.</p> - - <p>Scantily furnished, and with a waxed floor, it opened into one of - the side-verandas. The straggling building of bricks, as airy as a - bird-cage, resounded with the incessant flapping of rattan screens - worried by the wind between the white-washed square pillars of the - sea-front. The rooms were lofty, a ripple of sunshine flowed over the - ceilings; and the periodical invasions of tourists from some passenger - steamer in the harbor flitted through the wind-swept dusk of the - apartments with the tumult of their unfamiliar voices and impermanent - presences, like relays of migratory shades condemned to speed headlong - round the earth without leaving a trace. The babble of their irruptions - ebbed out as suddenly as it had arisen; the draughty corridors and - the long chairs of the verandas knew their sight-seeing hurry or - their prostrate repose no more; and Captain Whalley, substantial and - dignified, left well-nigh alone in the vast hotel by each light-hearted - skurry, felt more and more like a stranded tourist with no aim in view, - like a forlorn traveler without a home. In the solitude of his room he - smoked thoughtfully, gazing at the two sea-chests which held all that he - could call his own in this world. A thick roll of charts in a sheath - of sailcloth leaned in a corner; the flat packing-case containing the - portrait in oils and the three carbon photographs had been pushed under - the bed. He was tired of discussing terms, of assisting at surveys, of - all the routine of the business. What to the other parties was merely - the sale of a ship was to him a momentous event involving a radically - new view of existence. He knew that after this ship there would be no - other; and the hopes of his youth, the exercise of his abilities, every - feeling and achievement of his manhood, had been indissolubly connected - with ships. He had served ships; he had owned ships; and even the years - of his actual retirement from the sea had been made bearable by the idea - that he had only to stretch out his hand full of money to get a ship. He - had been at liberty to feel as though he were the owner of all the - ships in the world. The selling of this one was weary work; but when - she passed from him at last, when he signed the last receipt, it was as - though all the ships had gone out of the world together, leaving him on - the shore of inaccessible oceans with seven hundred pounds in his hands.</p> - - <p>Striding firmly, without haste, along the quay, Captain Whalley averted - his glances from the familiar roadstead. Two generations of seamen born - since his first day at sea stood between him and all these ships at the - anchorage. His own was sold, and he had been asking himself, What next?</p> - - <p>From the feeling of loneliness, of inward emptiness,--and of loss - too, as if his very soul had been taken out of him forcibly,--there had - sprung at first a desire to start right off and join his daughter. - "Here are the last pence," he would say to her; "take them, my dear. And - here's your old father: you must take him too."</p> - - <p>His soul recoiled, as if afraid of what lay hidden at the bottom of - this impulse. Give up! Never! When one is thoroughly weary all sorts of - nonsense come into one's head. A pretty gift it would have been for a - poor woman--this seven hundred pounds with the incumbrance of a hale old - fellow more than likely to last for years and years to come. Was he not - as fit to die in harness as any of the youngsters in charge of these - anchored ships out yonder? He was as solid now as ever he had been. But - as to who would give him work to do, that was another matter. Were he, - with his appearance and antecedents, to go about looking for a junior's - berth, people, he was afraid, would not take him seriously; or else if - he succeeded in impressing them, he would maybe obtain their pity, which - would be like stripping yourself naked to be kicked. He was not anxious - to give himself away for less than nothing. He had no use for anybody's - pity. On the other hand, a command--the only thing he could try for with - due regard for common decency--was not likely to be lying in wait - for him at the corner of the next street. Commands don't go a-begging - nowadays. Ever since he had come ashore to carry out the business of - the sale he had kept his ears open, but had heard no hint of one being - vacant in the port. And even if there had been one, his successful past - itself stood in his way. He had been his own employer too long. The only - credential he could produce was the testimony of his whole life. What - better recommendation could anyone require? But vaguely he felt that - the unique document would be looked upon as an archaic curiosity of the - Eastern waters, a screed traced in obsolete words--in a half-forgotten - language.</p> - - <h3>Chapter IV</h3> - - <p>Revolving these thoughts, he strolled on near the railings of the quay, - broad-chested, without a stoop, as though his big shoulders had never - felt the burden of the loads that must be carried between the cradle - and the grave. No single betraying fold or line of care disfigured the - reposeful modeling of his face. It was full and untanned; and the upper - part emerged, massively quiet, out of the downward flow of silvery hair, - with the striking delicacy of its clear complexion and the powerful - width of the forehead. The first cast of his glance fell on you candid - and swift, like a boy's; but because of the ragged snowy thatch of the - eyebrows the affability of his attention acquired the character of a - dark and searching scrutiny. With age he had put on flesh a little, had - increased his girth like an old tree presenting no symptoms of decay; - and even the opulent, lustrous ripple of white hairs upon his chest - seemed an attribute of unquenchable vitality and vigor.</p> - - <p>Once rather proud of his great bodily strength, and even of his personal - appearance, conscious of his worth, and firm in his rectitude, there had - remained to him, like the heritage of departed prosperity, the tranquil - bearing of a man who had proved himself fit in every sort of way for the - life of his choice. He strode on squarely under the projecting brim of - an ancient Panama hat. It had a low crown, a crease through its whole - diameter, a narrow black ribbon. Imperishable and a little discolored, - this headgear made it easy to pick him out from afar on thronged wharves - and in the busy streets. He had never adopted the comparatively modern - fashion of pipeclayed cork helmets. He disliked the form; and he hoped - he could manage to keep a cool head to the end of his life without all - these contrivances for hygienic ventilation. His hair was cropped close, - his linen always of immaculate whiteness; a suit of thin gray flannel, - worn threadbare but scrupulously brushed, floated about his burly limbs, - adding to his bulk by the looseness of its cut. The years had mellowed - the good-humored, imperturbable audacity of his prime into a temper - carelessly serene; and the leisurely tapping of his iron-shod stick - accompanied his footfalls with a self-confident sound on the flagstones. - It was impossible to connect such a fine presence and this unruffled - aspect with the belittling troubles of poverty; the man's whole - existence appeared to pass before you, facile and large, in the freedom - of means as ample as the clothing of his body.</p> - - <p>The irrational dread of having to break into his five hundred pounds for - personal expenses in the hotel disturbed the steady poise of his mind. - There was no time to lose. The bill was running up. He nourished the - hope that this five hundred would perhaps be the means, if everything - else failed, of obtaining some work which, keeping his body and soul - together (not a matter of great outlay), would enable him to be of use - to his daughter. To his mind it was her own money which he employed, as - it were, in backing her father and solely for her benefit. Once at work, - he would help her with the greater part of his earnings; he was good for - many years yet, and this boarding-house business, he argued to himself, - whatever the prospects, could not be much of a gold-mine from the first - start. But what work? He was ready to lay hold of anything in an honest - way so that it came quickly to his hand; because the five hundred pounds - must be preserved intact for eventual use. That was the great point. - With the entire five hundred one felt a substance at one's back; but - it seemed to him that should he let it dwindle to four-fifty or even - four-eighty, all the efficiency would be gone out of the money, as though - there were some magic power in the round figure. But what sort of work?</p> - - <p>Confronted by that haunting question as by an uneasy ghost, for whom he - had no exorcising formula, Captain Whalley stopped short on the apex - of a small bridge spanning steeply the bed of a canalized creek with - granite shores. Moored between the square blocks a seagoing Malay prau - floated half hidden under the arch of masonry, with her spars lowered - down, without a sound of life on board, and covered from stem to stern - with a ridge of palm-leaf mats. He had left behind him the overheated - pavements bordered by the stone frontages that, like the sheer face of - cliffs, followed the sweep of the quays; and an unconfined spaciousness - of orderly and sylvan aspect opened before him its wide plots of rolled - grass, like pieces of green carpet smoothly pegged out, its long ranges - of trees lined up in colossal porticos of dark shafts roofed with a - vault of branches.</p> - - <p>Some of these avenues ended at the sea. It was a terraced shore; and - beyond, upon the level expanse, profound and glistening like the gaze - of a dark-blue eye, an oblique band of stippled purple lengthened itself - indefinitely through the gap between a couple of verdant twin islets. - The masts and spars of a few ships far away, hull down in the outer - roads, sprang straight from the water in a fine maze of rosy lines - penciled on the clear shadow of the eastern board. Captain Whalley gave - them a long glance. The ship, once his own, was anchored out there. It - was staggering to think that it was open to him no longer to take a boat - at the jetty and get himself pulled off to her when the evening came. To - no ship. Perhaps never more. Before the sale was concluded, and till the - purchase-money had been paid, he had spent daily some time on board the - Fair Maid. The money had been paid this very morning, and now, all at - once, there was positively no ship that he could go on board of when he - liked; no ship that would need his presence in order to do her work--to - live. It seemed an incredible state of affairs, something too bizarre - to last. And the sea was full of craft of all sorts. There was that prau - lying so still swathed in her shroud of sewn palm-leaves--she too had - her indispensable man. They lived through each other, this Malay he had - never seen, and this high-sterned thing of no size that seemed to be - resting after a long journey. And of all the ships in sight, near and - far, each was provided with a man, the man without whom the finest ship - is a dead thing, a floating and purposeless log.</p> - - <p>After his one glance at the roadstead he went on, since there was - nothing to turn back for, and the time must be got through somehow. The - avenues of big trees ran straight over the Esplanade, cutting each other - at diverse angles, columnar below and luxuriant above. The interlaced - boughs high up there seemed to slumber; not a leaf stirred overhead: - and the reedy cast-iron lampposts in the middle of the road, gilt like - scepters, diminished in a long perspective, with their globes of white - porcelain atop, resembling a barbarous decoration of ostriches' eggs - displayed in a row. The flaming sky kindled a tiny crimson spark upon - the glistening surface of each glassy shell.</p> - - <p>With his chin sunk a little, his hands behind his back, and the end of - his stick marking the gravel with a faint wavering line at his heels, - Captain Whalley reflected that if a ship without a man was like a body - without a soul, a sailor without a ship was of not much more account - in this world than an aimless log adrift upon the sea. The log might be - sound enough by itself, tough of fiber, and hard to destroy--but what of - that! And a sudden sense of irremediable idleness weighted his feet like - a great fatigue.</p> - - <p>A succession of open carriages came bowling along the newly opened - sea-road. You could see across the wide grass-plots the discs of - vibration made by the spokes. The bright domes of the parasols swayed - lightly outwards like full-blown blossoms on the rim of a vase; and - the quiet sheet of dark-blue water, crossed by a bar of purple, made a - background for the spinning wheels and the high action of the horses, - whilst the turbaned heads of the Indian servants elevated above the line - of the sea horizon glided rapidly on the paler blue of the sky. In an - open space near the little bridge each turn-out trotted smartly in a - wide curve away from the sunset; then pulling up sharp, entered the main - alley in a long slow-moving file with the great red stillness of the sky - at the back. The trunks of mighty trees stood all touched with red on - the same side, the air seemed aflame under the high foliage, the - very ground under the hoofs of the horses was red. The wheels turned - solemnly; one after another the sunshades drooped, folding their colors - like gorgeous flowers shutting their petals at the end of the day. In - the whole half-mile of human beings no voice uttered a distinct word, - only a faint thudding noise went on mingled with slight jingling sounds, - and the motionless heads and shoulders of men and women sitting in - couples emerged stolidly above the lowered hoods--as if wooden. But one - carriage and pair coming late did not join the line.</p> - - <p>It fled along in a noiseless roll; but on entering the avenue one of the - dark bays snorted, arching his neck and shying against the steel-tipped - pole; a flake of foam fell from the bit upon the point of a satiny - shoulder, and the dusky face of the coachman leaned forward at once over - the hands taking a fresh grip of the reins. It was a long dark-green - landau, having a dignified and buoyant motion between the sharply - curved C-springs, and a sort of strictly official majesty in its supreme - elegance. It seemed more roomy than is usual, its horses seemed slightly - bigger, the appointments a shade more perfect, the servants perched - somewhat higher on the box. The dresses of three women--two young - and pretty, and one, handsome, large, of mature age--seemed to fill - completely the shallow body of the carriage. The fourth face was that - of a man, heavy lidded, distinguished and sallow, with a somber, thick, - iron-gray imperial and mustaches, which somehow had the air of solid - appendages. His Excellency--</p> - - <p>The rapid motion of that one equipage made all the others appear utterly - inferior, blighted, and reduced to crawl painfully at a snail's pace. - The landau distanced the whole file in a sort of sustained rush; the - features of the occupant whirling out of sight left behind an impression - of fixed stares and impassive vacancy; and after it had vanished in full - flight as it were, notwithstanding the long line of vehicles hugging the - curb at a walk, the whole lofty vista of the avenue seemed to lie open - and emptied of life in the enlarged impression of an august solitude.</p> - - <p>Captain Whalley had lifted his head to look, and his mind, disturbed in - its meditation, turned with wonder (as men's minds will do) to matters - of no importance. It struck him that it was to this port, where he had - just sold his last ship, that he had come with the very first he had - ever owned, and with his head full of a plan for opening a new trade - with a distant part of the Archipelago. The then governor had given - him no end of encouragement. No Excellency he--this Mr. Denham--this - governor with his jacket off; a man who tended night and day, so to - speak, the growing prosperity of the settlement with the self-forgetful - devotion of a nurse for a child she loves; a lone bachelor who lived as - in a camp with the few servants and his three dogs in what was called - then the Government Bungalow: a low-roofed structure on the half-cleared - slope of a hill, with a new flagstaff in front and a police orderly on - the veranda. He remembered toiling up that hill under a heavy sun for - his audience; the unfurnished aspect of the cool shaded room; the long - table covered at one end with piles of papers, and with two guns, a - brass telescope, a small bottle of oil with a feather stuck in the neck - at the other--and the flattering attention given to him by the man in - power. It was an undertaking full of risk he had come to expound, but a - twenty minutes' talk in the Government Bungalow on the hill had made it - go smoothly from the start. And as he was retiring Mr. Denham, already - seated before the papers, called out after him, "Next month the Dido - starts for a cruise that way, and I shall request her captain officially - to give you a look in and see how you get on." The Dido was one of the - smart frigates on the China station--and five-and-thirty years make a - big slice of time. Five-and-thirty years ago an enterprise like his had - for the colony enough importance to be looked after by a Queen's ship. - A big slice of time. Individuals were of some account then. Men like - himself; men, too, like poor Evans, for instance, with his red face, - his coal-black whiskers, and his restless eyes, who had set up the first - patent slip for repairing small ships, on the edge of the forest, in - a lonely bay three miles up the coast. Mr. Denham had encouraged that - enterprise too, and yet somehow poor Evans had ended by dying at - home deucedly hard up. His son, they said, was squeezing oil out of - cocoa-nuts for a living on some God-forsaken islet of the Indian Ocean; - but it was from that patent slip in a lonely wooded bay that had sprung - the workshops of the Consolidated Docks Company, with its three - graving basins carved out of solid rock, its wharves, its jetties, - its electric-light plant, its steam-power houses--with its gigantic - sheer-legs, fit to lift the heaviest weight ever carried afloat, and - whose head could be seen like the top of a queer white monument peeping - over bushy points of land and sandy promontories, as you approached the - New Harbor from the west.</p> - - <p>There had been a time when men counted: there were not so many carriages - in the colony then, though Mr. Denham, he fancied, had a buggy. And - Captain Whalley seemed to be swept out of the great avenue by the swirl - of a mental backwash. He remembered muddy shores, a harbor without - quays, the one solitary wooden pier (but that was a public work) jutting - out crookedly, the first coal-sheds erected on Monkey Point, that caught - fire mysteriously and smoldered for days, so that amazed ships came - into a roadstead full of sulphurous smoke, and the sun hung blood-red - at midday. He remembered the things, the faces, and something more - besides--like the faint flavor of a cup quaffed to the bottom, like a - subtle sparkle of the air that was not to be found in the atmosphere of - to-day.</p> - - <p>In this evocation, swift and full of detail like a flash of magnesium - light into the niches of a dark memorial hall, Captain Whalley - contemplated things once important, the efforts of small men, the growth - of a great place, but now robbed of all consequence by the greatness - of accomplished facts, by hopes greater still; and they gave him for a - moment such an almost physical grip upon time, such a comprehension of - our unchangeable feelings, that he stopped short, struck the ground with - his stick, and ejaculated mentally, "What the devil am I doing here!" He - seemed lost in a sort of surprise; but he heard his name called out in - wheezy tones once, twice--and turned on his heels slowly.</p> - - <p>He beheld then, waddling towards him autocratically, a man of an - old-fashioned and gouty aspect, with hair as white as his own, but with - shaved, florid cheeks, wearing a necktie--almost a neckcloth--whose - stiff ends projected far beyond his chin; with round legs, round arms, - a round body, a round face--generally producing the effect of his short - figure having been distended by means of an air-pump as much as the - seams of his clothing would stand. This was the Master-Attendant of the - port. A master-attendant is a superior sort of harbor-master; a person, - out in the East, of some consequence in his sphere; a Government - official, a magistrate for the waters of the port, and possessed of vast - but ill-defined disciplinary authority over seamen of all classes. - This particular Master-Attendant was reported to consider it miserably - inadequate, on the ground that it did not include the power of life - and death. This was a jocular exaggeration. Captain Eliott was fairly - satisfied with his position, and nursed no inconsiderable sense of such - power as he had. His conceited and tyrannical disposition did not allow - him to let it dwindle in his hands for want of use. The uproarious, - choleric frankness of his comments on people's character and conduct - caused him to be feared at bottom; though in conversation many pretended - not to mind him in the least, others would only smile sourly at the - mention of his name, and there were even some who dared to pronounce him - "a meddlesome old ruffian." But for almost all of them one of Captain - Eliott's outbreaks was nearly as distasteful to face as a chance of - annihilation.</p> - - <style> - body { - padding: 15px; - } - - .pointer { - padding: 15px; - background-color: rgba(0, 0, 0, 0.4); - color: white; - border-radius: 10px; - pointer-events: none; - opacity: 0; - - transition: opacity 300ms; - -webkit-transition: opacity 300ms; - } - - .pointer.show { - opacity: 1; - } - </style> - - - <div class="pointer"></div> - - <script src="//github.hubspot.com/tether/dist/js/tether.js"></script> - <script> - new Tether({ - element: '.pointer', - attachment: 'middle right', - targetAttachment: 'middle left', - targetModifier: 'scroll-handle', - target: document.body - }); - - var headers = document.querySelectorAll('h1,h2,h3,h4,h5,h6'); - var hideTimeout = null; - var pointer = document.querySelector('.pointer') - - var getSection = function(){ - var closest, closestTop; - for (var i=0; i < headers.length; i++){ - var rect = headers[i].getBoundingClientRect(); - - if (closestTop === undefined || (rect.top < 0 && rect.top > closestTop)){ - closestTop = rect.top; - closest = headers[i]; - } - } - return closest.innerHTML; - } - - document.addEventListener('scroll', function(){ - var percentage = Math.floor((100 * Math.max(0, pageYOffset)) / (document.body.scrollHeight - innerHeight)) + '%' - pointer.innerHTML = getSection() + ' - ' + percentage - - pointer.classList.add('show'); - - if (hideTimeout) - clearTimeout(hideTimeout); - - hideTimeout = setTimeout(function(){ - pointer.classList.remove('show'); - }, 1000); - }); - </script> - </body> -</html> diff --git a/minionlivesmatter/templates/assets/tether/examples/simple/index.html b/minionlivesmatter/templates/assets/tether/examples/simple/index.html deleted file mode 100644 index c648c64..0000000 --- a/minionlivesmatter/templates/assets/tether/examples/simple/index.html +++ /dev/null @@ -1,30 +0,0 @@ -<!DOCTYPE html> -<html> - <head> - <meta charset="utf-8"> - <meta http-equiv="X-UA-Compatible" content="chrome=1"> - <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> - <link rel="stylesheet" href="../resources/css/base.css" /> - <link rel="stylesheet" href="../common/css/style.css" /> - </head> - <body> - <div class="instructions">Resize the page to see the Tether flip.</div> - - <div class="element"></div> - <div class="target"></div> - - <script src="//github.hubspot.com/tether/dist/js/tether.js"></script> - <script> - new Tether({ - element: '.element', - target: '.target', - attachment: 'top left', - targetAttachment: 'top right', - constraints: [{ - to: 'window', - attachment: 'together' - }] - }); - </script> - </body> -</html> diff --git a/minionlivesmatter/templates/assets/tether/examples/testbed/index.html b/minionlivesmatter/templates/assets/tether/examples/testbed/index.html deleted file mode 100644 index 1a39445..0000000 --- a/minionlivesmatter/templates/assets/tether/examples/testbed/index.html +++ /dev/null @@ -1,36 +0,0 @@ -<!DOCTYPE html> -<html> - <head> - <meta charset="utf-8"> - <meta http-equiv="X-UA-Compatible" content="chrome=1"> - <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> - <link rel="stylesheet" href="../resources/css/base.css" /> - <link rel="stylesheet" href="../common/css/style.css" /> - </head> - <body> - - <div class="element"> - </div> - - <div class="container"> - <div class="pad"></div> - <div class="target"></div> - <div class="pad"></div> - <div class="pad"></div> - </div> - - <script src="//github.hubspot.com/tether/dist/js/tether.js"></script> - <script> - new Tether({ - element: '.element', - target: '.target', - attachment: 'top center', - targetAttachment: 'bottom center', - constraints: [{ - to: 'scrollParent', - attachment: 'together' - }] - }); - </script> - </body> - </html> diff --git a/minionlivesmatter/templates/assets/tether/examples/tooltip/index.html b/minionlivesmatter/templates/assets/tether/examples/tooltip/index.html deleted file mode 100644 index fbf247f..0000000 --- a/minionlivesmatter/templates/assets/tether/examples/tooltip/index.html +++ /dev/null @@ -1,86 +0,0 @@ -<!DOCTYPE html> -<html> - <head> - <meta charset="utf-8"> - <meta http-equiv="X-UA-Compatible" content="chrome=1"> - <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> - <script type="text/javascript" src="//use.typekit.net/jbn8qxr.js"></script> - <script type="text/javascript">try{Typekit.load();}catch(e){}</script> - <link rel="stylesheet" href="../../css/drop.css" /> - <link rel="stylesheet" href="../../css/drop-tooltip-theme-arrows.css" /> - <style> - body { - font-family: "proxima-nova", "Helvetica Neue", sans-serif; - color: #444; - } - - .scroll-parent { - margin: 200px; - height: 300px; - width: 300px; - display: inline-block; - overflow: auto; - border: 2px solid #eee; - padding: 40px; - } - </style> - </head> - <body> - <div class="scroll-parent"> - <p>This is a paragraph of text</p> - <p>This is a paragraph of text</p> - <p><a href="javascript:;" class="drop-tooltip" data-tooltip-content="Whoa, I'm a tooltip" data-attach="top center">Tooltip on Top</a></p> - <p>This is a paragraph of text</p> - <p>This is a paragraph of text</p> - <p><a href="javascript:;" class="drop-tooltip" data-tooltip-content="Whoa, I'm a tooltip" data-attach="bottom center">Tooltip on Bottom</a></p> - <p>This is a paragraph of text</p> - <p>This is a paragraph of text</p> - <p><a href="javascript:;" class="drop-tooltip" data-tooltip-content="Whoa, I'm a tooltip" data-attach="left middle">Tooltip on Left</a></p> - <p>This is a paragraph of text</p> - <p>This is a paragraph of text</p> - <p><a href="javascript:;" class="drop-tooltip" data-tooltip-content="Whoa, I'm a tooltip" data-attach="right middle">Tooltip on Right</a></p> - <p>This is a paragraph of text</p> - <p>This is a paragraph of text</p> - <p><a href="javascript:;" class="drop-tooltip" data-tooltip-content="Whoa, I'm a tooltip" data-attach="bottom left">Tooltip on Bottom Left</a></p> - <p>This is a paragraph of text</p> - <p>This is a paragraph of text</p> - <p><a href="javascript:;" class="drop-tooltip" data-tooltip-content="Whoa, I'm a tooltip" data-attach="bottom right">Tooltip on Bottom Right</a></p> - <p>This is a paragraph of text</p> - <p>This is a paragraph of text</p> - <p><a href="javascript:;" class="drop-tooltip" data-tooltip-content="Whoa, I'm a tooltip" data-attach="top left">Tooltip on Top Left</a></p> - <p>This is a paragraph of text</p> - <p>This is a paragraph of text</p> - <p><a href="javascript:;" class="drop-tooltip" data-tooltip-content="Whoa, I'm a tooltip" data-attach="top right">Tooltip on Top Right</a></p> - <p>This is a paragraph of text</p> - <p>This is a paragraph of text</p> - <p><a href="javascript:;" class="drop-tooltip" data-tooltip-content="Whoa, I'm a tooltip" data-attach="left bottom">Tooltip on Left Bottom</a></p> - <p>This is a paragraph of text</p> - <p>This is a paragraph of text</p> - <p><a href="javascript:;" class="drop-tooltip" data-tooltip-content="Whoa, I'm a tooltip" data-attach="left top">Tooltip on Left Top</a></p> - <p>This is a paragraph of text</p> - <p>This is a paragraph of text</p> - <p><a href="javascript:;" class="drop-tooltip" data-tooltip-content="Whoa, I'm a tooltip" data-attach="right bottom">Tooltip on Right Bottom</a></p> - <p>This is a paragraph of text</p> - <p>This is a paragraph of text</p> - <p><a href="javascript:;" class="drop-tooltip" data-tooltip-content="Whoa, I'm a tooltip" data-attach="right top">Tooltip on Right Top</a></p> - <p>This is a paragraph of text</p> - <p>This is a paragraph of text</p> - </div> - - <script src="../resources/js/log.js"></script> - <script src="../resources/js/jquery.js"></script> - <script src="../../utils.js"></script> - <script src="../../tether.js"></script> - <script src="/drop/drop.min.js"></script> - <script src="../../tooltip.js"></script> - <script src="../../constraint.js"></script> - <script> - $('.drop-tooltip').each(function(){ - new Tooltip({ - el: this, - attach: $(this).data('attach') - }); - }); - </script> - </body> -</html> diff --git a/minionlivesmatter/templates/assets/tether/examples/viewport/colors.css b/minionlivesmatter/templates/assets/tether/examples/viewport/colors.css deleted file mode 100644 index 64f8c1c..0000000 --- a/minionlivesmatter/templates/assets/tether/examples/viewport/colors.css +++ /dev/null @@ -1,145 +0,0 @@ -@charset "UTF-8"; -/**** - - colors.css v1.0 For a friendlier looking web - MIT License • http://clrs.cc • http://github.com/mrmrs/colors - - Author: mrmrs - http://mrmrs.cc - @mrmrs_ - -****/ -/* - - SKINS - • Backgrounds - • Colors - -*/ -/* Backgrounds */ -.bg-navy { - background-color: #001f3f; } - -.bg-blue { - background-color: #0074d9; } - -.bg-aqua { - background-color: #7fdbff; } - -.bg-teal { - background-color: #39cccc; } - -.bg-olive { - background-color: #3d9970; } - -.bg-green { - background-color: #2ecc40; } - -.bg-lime { - background-color: #01ff70; } - -.bg-yellow { - background-color: #ffdc00; } - -.bg-orange { - background-color: #ff851b; } - -.bg-red { - background-color: #ff4136; } - -.bg-fuchsia { - background-color: #f012be; } - -.bg-purple { - background-color: #b10dc9; } - -.bg-maroon { - background-color: #85144b; } - -.bg-white { - background-color: white; } - -.bg-gray { - background-color: #aaaaaa; } - -.bg-silver { - background-color: #dddddd; } - -.bg-black { - background-color: #111111; } - -/* Colors */ -.navy { - color: #001f3f; } - -.blue { - color: #0074d9; } - -.aqua { - color: #7fdbff; } - -.teal { - color: #39cccc; } - -.olive { - color: #3d9970; } - -.green { - color: #2ecc40; } - -.lime { - color: #01ff70; } - -.yellow { - color: #ffdc00; } - -.orange { - color: #ff851b; } - -.red { - color: #ff4136; } - -.fuchsia { - color: #f012be; } - -.purple { - color: #b10dc9; } - -.maroon { - color: #85144b; } - -.white { - color: white; } - -.silver { - color: #dddddd; } - -.gray { - color: #aaaaaa; } - -.black { - color: #111111; } - -/* PRETTIER LINKS */ -a { - text-decoration: none; - -webkit-transition: color .3s ease-in-out; - transition: color .3s ease-in-out; } - -a:link { - color: #0074d9; - -webkit-transition: color .3s ease-in-out; - transition: color .3s ease-in-out; } - -a:visited { - color: #b10dc9; } - -a:hover { - color: #7fdbff; - -webkit-transition: color .3s ease-in-out; - transition: color .3s ease-in-out; } - -a:active { - color: #ff851b; - -webkit-transition: color .3s ease-in-out; - transition: color .3s ease-in-out; } diff --git a/minionlivesmatter/templates/assets/tether/examples/viewport/index.html b/minionlivesmatter/templates/assets/tether/examples/viewport/index.html deleted file mode 100644 index 742daa6..0000000 --- a/minionlivesmatter/templates/assets/tether/examples/viewport/index.html +++ /dev/null @@ -1,70 +0,0 @@ -<!DOCTYPE html> -<html> - <head> - <link rel="stylesheet" href="../resources/css/base.css" /> - <link rel="stylesheet" href="./colors.css" /> - <style> - * { - box-sizing: border-box; - } - - .element { - background-color: #FFDC00; - width: 80%; - max-width: 300px; - padding: 0 15px; - font-size: 20px; - box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3); - } - - @media (max-width: 380px) { - .element { - font-size: 16px; - } - } - - .bit { - width: 10vw; - height: 10vw; - float: left; - } - </style> - </head> - <body> - <div class="element"> - <p>This element is tethered to the middle of the visible part of the body.</p> - - <p>Inspect the element to see how Tether decided - to use <code>position: fixed</code>.</p> - </div> - - <script src="//github.hubspot.com/tether/dist/js/tether.js"></script> - <script> - new Tether({ - element: '.element', - target: document.body, - attachment: 'middle center', - targetAttachment: 'middle center', - targetModifier: 'visible' - }); - </script> - - <script> - // Random colors bit, don't mind this - colors = ['navy', 'blue', 'aqua', 'teal', 'olive', 'green', 'lime', - 'yellow', 'orange', 'red', 'fuchsia', 'purple', 'maroon']; - - curColors = null; - for(var i=300; i--;){ - if (!curColors || !curColors.length) - curColors = colors.slice(0); - - var bit = document.createElement('div') - var index = (Math.random() * curColors.length)|0; - bit.className = 'bit bg-' + curColors[index] - curColors.splice(index, 1); - document.body.appendChild(bit); - } - </script> - </body> -</html> diff --git a/minionlivesmatter/templates/assets/tether/gulpfile.js b/minionlivesmatter/templates/assets/tether/gulpfile.js deleted file mode 100644 index 8b5e430..0000000 --- a/minionlivesmatter/templates/assets/tether/gulpfile.js +++ /dev/null @@ -1,96 +0,0 @@ -var del = require('del'); -var gulp = require('gulp'); -var babel = require('gulp-babel'); -var bump = require('gulp-bump'); -var concat = require('gulp-concat'); -var header = require('gulp-header'); -var minify = require('gulp-minify-css'); -var plumber = require('gulp-plumber'); -var prefixer = require('gulp-autoprefixer'); -var rename = require('gulp-rename'); -var uglify = require('gulp-uglify'); -var sass = require('gulp-sass'); -var umd = require('gulp-wrap-umd'); - -// Variables -var distDir = './dist'; -var pkg = require('./package.json'); -var banner = ['/*!', pkg.name, pkg.version, '*/\n'].join(' '); -var umdOptions = { - exports: 'Tether', - namespace: 'Tether' -}; - - -// Clean -gulp.task('clean', function() { - del.sync([distDir]); -}); - - -// Javascript -gulp.task('js', function() { - gulp.src([ - './src/js/utils.js', - './src/js/tether.js', - './src/js/constraint.js', - './src/js/abutment.js', - './src/js/shift.js' - ]) - .pipe(plumber()) - .pipe(babel()) - .pipe(concat('tether.js')) - .pipe(umd(umdOptions)) - .pipe(header(banner)) - - // Original - .pipe(gulp.dest(distDir + '/js')) - - // Minified - .pipe(uglify()) - .pipe(rename({suffix: '.min'})) - .pipe(gulp.dest(distDir + '/js')); -}); - - -// CSS -gulp.task('css', function() { - gulp.src('./src/css/**/*.sass') - .pipe(plumber()) - .pipe(sass()) - .pipe(prefixer()) - - // Original - .pipe(gulp.dest(distDir + '/css')) - - // Minified - .pipe(minify()) - .pipe(rename({suffix: '.min'})) - .pipe(gulp.dest(distDir + '/css')); -}); - - -// Version bump -var VERSIONS = ['patch', 'minor', 'major']; -for (var i = 0; i < VERSIONS.length; ++i){ - (function(version) { - gulp.task('version:' + version, function() { - gulp.src(['package.json', 'bower.json', 'component.json']) - .pipe(bump({type: version})) - .pipe(gulp.dest('.')); - }); - })(VERSIONS[i]); -} - - -// Watch -gulp.task('watch', ['js', 'css'], function() { - gulp.watch('./src/js/**/*', ['js']); - gulp.watch('./src/css/**/*', ['css']); -}); - - -// Defaults -gulp.task('build', ['js', 'css']); -gulp.task('default', ['build']); - diff --git a/minionlivesmatter/templates/assets/tether/package.json b/minionlivesmatter/templates/assets/tether/package.json deleted file mode 100644 index 15f28d5..0000000 --- a/minionlivesmatter/templates/assets/tether/package.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "name": "tether", - "version": "1.4.0", - "description": "A client-side library to make absolutely positioned elements attach to elements in the page efficiently.", - "authors": [ - "Zack Bloom <zackbloom@gmail.com>", - "Adam Schwartz <adam.flynn.schwartz@gmail.com>" - ], - "maintainers": [ - "Nicholas Hwang <nick.joosung.hwang@gmail.com>", - "Trevor Burnham <trevorburnham@gmail.com>" - ], - "scripts": { - "reinstall": "del node_modules && npm install", - "watch": "gulp watch", - "build": "gulp build" - }, - "repository": { - "type": "git", - "url": "https://github.com/HubSpot/tether.git" - }, - "license": "MIT", - "main": "dist/js/tether.js", - "devDependencies": { - "del": "^2.0.2", - "del-cli": "^0.2.0", - "gulp": "^3.9.0", - "gulp-autoprefixer": "^3.0.1", - "gulp-babel": "^5.2.1", - "gulp-bump": "^0.3.1", - "gulp-concat": "^2.6.0", - "gulp-header": "^1.7.1", - "gulp-minify-css": "^1.2.1", - "gulp-plumber": "^1.0.1", - "gulp-rename": "^1.2.2", - "gulp-sass": "^2.0.4", - "gulp-uglify": "^1.4.1", - "gulp-wrap-umd": "^0.2.1" - } -} diff --git a/minionlivesmatter/templates/assets/tether/src/css/helpers/_tether-theme-arrows.sass b/minionlivesmatter/templates/assets/tether/src/css/helpers/_tether-theme-arrows.sass deleted file mode 100644 index 55f2463..0000000 --- a/minionlivesmatter/templates/assets/tether/src/css/helpers/_tether-theme-arrows.sass +++ /dev/null @@ -1,192 +0,0 @@ -=tether-theme-arrows($themePrefix: "tether", $themeName: "arrows", $arrowSize: 16px, $arrowPointerEvents: null, $backgroundColor: #fff, $color: inherit, $useDropShadow: false) - .#{ $themePrefix }-element.#{ $themePrefix }-theme-#{ $themeName } - max-width: 100% - max-height: 100% - - .#{ $themePrefix }-content - border-radius: 5px - position: relative - font-family: inherit - background: $backgroundColor - color: $color - padding: 1em - font-size: 1.1em - line-height: 1.5em - - @if $useDropShadow - transform: translateZ(0) - filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .2)) - - &:before - content: "" - display: block - position: absolute - width: 0 - height: 0 - border-color: transparent - border-width: $arrowSize - border-style: solid - pointer-events: $arrowPointerEvents - - // Centers and middles - - &.#{ $themePrefix }-element-attached-bottom.#{ $themePrefix }-element-attached-center .#{ $themePrefix }-content - margin-bottom: $arrowSize - - &:before - top: 100% - left: 50% - margin-left: - $arrowSize - border-top-color: $backgroundColor - border-bottom: 0 - - &.#{ $themePrefix }-element-attached-top.#{ $themePrefix }-element-attached-center .#{ $themePrefix }-content - margin-top: $arrowSize - - &:before - bottom: 100% - left: 50% - margin-left: - $arrowSize - border-bottom-color: $backgroundColor - border-top: 0 - - &.#{ $themePrefix }-element-attached-right.#{ $themePrefix }-element-attached-middle .#{ $themePrefix }-content - margin-right: $arrowSize - - &:before - left: 100% - top: 50% - margin-top: - $arrowSize - border-left-color: $backgroundColor - border-right: 0 - - &.#{ $themePrefix }-element-attached-left.#{ $themePrefix }-element-attached-middle .#{ $themePrefix }-content - margin-left: $arrowSize - - &:before - right: 100% - top: 50% - margin-top: - $arrowSize - border-right-color: $backgroundColor - border-left: 0 - - // Target middle/center, element corner - - &.#{ $themePrefix }-element-attached-left.#{ $themePrefix }-target-attached-center .#{ $themePrefix }-content - left: - $arrowSize * 2 - - &.#{ $themePrefix }-element-attached-right.#{ $themePrefix }-target-attached-center .#{ $themePrefix }-content - left: $arrowSize * 2 - - &.#{ $themePrefix }-element-attached-top.#{ $themePrefix }-element-attached-left.#{ $themePrefix }-target-attached-middle .#{ $themePrefix }-content - margin-top: $arrowSize - - &:before - bottom: 100% - left: $arrowSize - border-bottom-color: $backgroundColor - border-top: 0 - - &.#{ $themePrefix }-element-attached-top.#{ $themePrefix }-element-attached-right.#{ $themePrefix }-target-attached-middle .#{ $themePrefix }-content - margin-top: $arrowSize - - &:before - bottom: 100% - right: $arrowSize - border-bottom-color: $backgroundColor - border-top: 0 - - &.#{ $themePrefix }-element-attached-bottom.#{ $themePrefix }-element-attached-left.#{ $themePrefix }-target-attached-middle .#{ $themePrefix }-content - margin-bottom: $arrowSize - - &:before - top: 100% - left: $arrowSize - border-top-color: $backgroundColor - border-bottom: 0 - - &.#{ $themePrefix }-element-attached-bottom.#{ $themePrefix }-element-attached-right.#{ $themePrefix }-target-attached-middle .#{ $themePrefix }-content - margin-bottom: $arrowSize - - &:before - top: 100% - right: $arrowSize - border-top-color: $backgroundColor - border-bottom: 0 - - - // Top and bottom corners - - &.#{ $themePrefix }-element-attached-top.#{ $themePrefix }-element-attached-left.#{ $themePrefix }-target-attached-bottom .#{ $themePrefix }-content - margin-top: $arrowSize - - &:before - bottom: 100% - left: $arrowSize - border-bottom-color: $backgroundColor - border-top: 0 - - &.#{ $themePrefix }-element-attached-top.#{ $themePrefix }-element-attached-right.#{ $themePrefix }-target-attached-bottom .#{ $themePrefix }-content - margin-top: $arrowSize - - &:before - bottom: 100% - right: $arrowSize - border-bottom-color: $backgroundColor - border-top: 0 - - &.#{ $themePrefix }-element-attached-bottom.#{ $themePrefix }-element-attached-left.#{ $themePrefix }-target-attached-top .#{ $themePrefix }-content - margin-bottom: $arrowSize - - &:before - top: 100% - left: $arrowSize - border-top-color: $backgroundColor - border-bottom: 0 - - &.#{ $themePrefix }-element-attached-bottom.#{ $themePrefix }-element-attached-right.#{ $themePrefix }-target-attached-top .#{ $themePrefix }-content - margin-bottom: $arrowSize - - &:before - top: 100% - right: $arrowSize - border-top-color: $backgroundColor - border-bottom: 0 - - // Side corners - - &.#{ $themePrefix }-element-attached-top.#{ $themePrefix }-element-attached-right.#{ $themePrefix }-target-attached-left .#{ $themePrefix }-content - margin-right: $arrowSize - - &:before - top: $arrowSize - left: 100% - border-left-color: $backgroundColor - border-right: 0 - - &.#{ $themePrefix }-element-attached-top.#{ $themePrefix }-element-attached-left.#{ $themePrefix }-target-attached-right .#{ $themePrefix }-content - margin-left: $arrowSize - - &:before - top: $arrowSize - right: 100% - border-right-color: $backgroundColor - border-left: 0 - - &.#{ $themePrefix }-element-attached-bottom.#{ $themePrefix }-element-attached-right.#{ $themePrefix }-target-attached-left .#{ $themePrefix }-content - margin-right: $arrowSize - - &:before - bottom: $arrowSize - left: 100% - border-left-color: $backgroundColor - border-right: 0 - - &.#{ $themePrefix }-element-attached-bottom.#{ $themePrefix }-element-attached-left.#{ $themePrefix }-target-attached-right .#{ $themePrefix }-content - margin-left: $arrowSize - - &:before - bottom: $arrowSize - right: 100% - border-right-color: $backgroundColor - border-left: 0 diff --git a/minionlivesmatter/templates/assets/tether/src/css/helpers/_tether-theme-basic.sass b/minionlivesmatter/templates/assets/tether/src/css/helpers/_tether-theme-basic.sass deleted file mode 100644 index f7e9fb7..0000000 --- a/minionlivesmatter/templates/assets/tether/src/css/helpers/_tether-theme-basic.sass +++ /dev/null @@ -1,14 +0,0 @@ -=tether-theme-basic($themePrefix: "tether", $themeName: "basic", $backgroundColor: #fff, $color: inherit) - .#{ $themePrefix }-element.#{ $themePrefix }-theme-#{ $themeName } - max-width: 100% - max-height: 100% - - .#{ $themePrefix }-content - border-radius: 5px - box-shadow: 0 2px 8px rgba(0, 0, 0, .2) - font-family: inherit - background: $backgroundColor - color: $color - padding: 1em - font-size: 1.1em - line-height: 1.5em diff --git a/minionlivesmatter/templates/assets/tether/src/css/helpers/_tether.sass b/minionlivesmatter/templates/assets/tether/src/css/helpers/_tether.sass deleted file mode 100644 index a6d8e50..0000000 --- a/minionlivesmatter/templates/assets/tether/src/css/helpers/_tether.sass +++ /dev/null @@ -1,12 +0,0 @@ -=tether($themePrefix: "tether") - .#{ $themePrefix }-element, .#{ $themePrefix }-element * - - &, &:after, &:before - box-sizing: border-box - - .#{ $themePrefix }-element - position: absolute - display: none - - &.#{ $themePrefix }-open - display: block diff --git a/minionlivesmatter/templates/assets/tether/src/css/mixins/_inline-block.sass b/minionlivesmatter/templates/assets/tether/src/css/mixins/_inline-block.sass deleted file mode 100644 index 0e98143..0000000 --- a/minionlivesmatter/templates/assets/tether/src/css/mixins/_inline-block.sass +++ /dev/null @@ -1,6 +0,0 @@ -@mixin inline-block - display: inline-block - vertical-align: middle - *vertical-align: auto - *zoom: 1 - *display: inline diff --git a/minionlivesmatter/templates/assets/tether/src/css/mixins/_pie-clearfix.sass b/minionlivesmatter/templates/assets/tether/src/css/mixins/_pie-clearfix.sass deleted file mode 100644 index ef8c9c4..0000000 --- a/minionlivesmatter/templates/assets/tether/src/css/mixins/_pie-clearfix.sass +++ /dev/null @@ -1,7 +0,0 @@ -@mixin pie-clearfix - *zoom: 1 - - &:after - content: "" - display: table - clear: both diff --git a/minionlivesmatter/templates/assets/tether/src/css/tether-theme-arrows-dark.sass b/minionlivesmatter/templates/assets/tether/src/css/tether-theme-arrows-dark.sass deleted file mode 100644 index ad1caf0..0000000 --- a/minionlivesmatter/templates/assets/tether/src/css/tether-theme-arrows-dark.sass +++ /dev/null @@ -1,12 +0,0 @@ -@import helpers/tether -@import helpers/tether-theme-arrows - -$themePrefix: "tether" -$themeName: "arrows-dark" -$arrowSize: 16px -$backgroundColor: #000 -$color: #fff -$useDropShadow: false - -+tether($themePrefix: $themePrefix) -+tether-theme-arrows($themePrefix: $themePrefix, $themeName: $themeName, $arrowSize: $arrowSize, $backgroundColor: $backgroundColor, $color: $color, $useDropShadow: $useDropShadow) diff --git a/minionlivesmatter/templates/assets/tether/src/css/tether-theme-arrows.sass b/minionlivesmatter/templates/assets/tether/src/css/tether-theme-arrows.sass deleted file mode 100644 index 87765b2..0000000 --- a/minionlivesmatter/templates/assets/tether/src/css/tether-theme-arrows.sass +++ /dev/null @@ -1,12 +0,0 @@ -@import helpers/tether -@import helpers/tether-theme-arrows - -$themePrefix: "tether" -$themeName: "arrows" -$arrowSize: 16px -$backgroundColor: #fff -$color: inherit -$useDropShadow: true - -+tether($themePrefix: $themePrefix) -+tether-theme-arrows($themePrefix: $themePrefix, $themeName: $themeName, $arrowSize: $arrowSize, $backgroundColor: $backgroundColor, $color: $color, $useDropShadow: $useDropShadow) diff --git a/minionlivesmatter/templates/assets/tether/src/css/tether-theme-basic.sass b/minionlivesmatter/templates/assets/tether/src/css/tether-theme-basic.sass deleted file mode 100644 index 9a2be06..0000000 --- a/minionlivesmatter/templates/assets/tether/src/css/tether-theme-basic.sass +++ /dev/null @@ -1,10 +0,0 @@ -@import helpers/tether -@import helpers/tether-theme-basic - -$themePrefix: "tether" -$themeName: "basic" -$backgroundColor: #fff -$color: inherit - -+tether($themePrefix: $themePrefix) -+tether-theme-basic($themePrefix: $themePrefix, $themeName: $themeName, $backgroundColor: $backgroundColor, $color: $color)
\ No newline at end of file diff --git a/minionlivesmatter/templates/assets/tether/src/css/tether.sass b/minionlivesmatter/templates/assets/tether/src/css/tether.sass deleted file mode 100644 index 6421016..0000000 --- a/minionlivesmatter/templates/assets/tether/src/css/tether.sass +++ /dev/null @@ -1,5 +0,0 @@ -@import helpers/tether - -$themePrefix: "tether" - -+tether($themePrefix: $themePrefix)
\ No newline at end of file diff --git a/minionlivesmatter/templates/assets/tether/src/js/abutment.js b/minionlivesmatter/templates/assets/tether/src/js/abutment.js deleted file mode 100644 index 9605635..0000000 --- a/minionlivesmatter/templates/assets/tether/src/js/abutment.js +++ /dev/null @@ -1,61 +0,0 @@ -/* globals TetherBase */ - -const {getBounds, updateClasses, defer} = TetherBase.Utils; - -TetherBase.modules.push({ - position({top, left}) { - const {height, width} = this.cache('element-bounds', () => { - return getBounds(this.element); - }); - - const targetPos = this.getTargetBounds(); - - const bottom = top + height; - const right = left + width; - - const abutted = []; - if (top <= targetPos.bottom && bottom >= targetPos.top) { - ['left', 'right'].forEach(side => { - const targetPosSide = targetPos[side]; - if (targetPosSide === left || targetPosSide === right) { - abutted.push(side); - } - }); - } - - if (left <= targetPos.right && right >= targetPos.left) { - ['top', 'bottom'].forEach(side => { - const targetPosSide = targetPos[side]; - if (targetPosSide === top || targetPosSide === bottom) { - abutted.push(side); - } - }); - } - - const allClasses = []; - const addClasses = []; - - const sides = ['left', 'top', 'right', 'bottom']; - allClasses.push(this.getClass('abutted')); - sides.forEach(side => { - allClasses.push(`${ this.getClass('abutted') }-${ side }`); - }); - - if (abutted.length) { - addClasses.push(this.getClass('abutted')); - } - - abutted.forEach(side => { - addClasses.push(`${ this.getClass('abutted') }-${ side }`); - }); - - defer(() => { - if (!(this.options.addTargetClasses === false)) { - updateClasses(this.target, addClasses, allClasses); - } - updateClasses(this.element, addClasses, allClasses); - }); - - return true; - } -}); diff --git a/minionlivesmatter/templates/assets/tether/src/js/constraint.js b/minionlivesmatter/templates/assets/tether/src/js/constraint.js deleted file mode 100644 index 1717149..0000000 --- a/minionlivesmatter/templates/assets/tether/src/js/constraint.js +++ /dev/null @@ -1,366 +0,0 @@ -/* globals TetherBase */ - -const { - getBounds, - extend, - updateClasses, - defer -} = TetherBase.Utils; - -const BOUNDS_FORMAT = ['left', 'top', 'right', 'bottom']; - -function getBoundingRect(tether, to) { - if (to === 'scrollParent') { - to = tether.scrollParents[0]; - } else if (to === 'window') { - to = [pageXOffset, pageYOffset, innerWidth + pageXOffset, innerHeight + pageYOffset]; - } - - if (to === document) { - to = to.documentElement; - } - - if (typeof to.nodeType !== 'undefined') { - const node = to; - const size = getBounds(to); - const pos = size; - const style = getComputedStyle(to); - - to = [pos.left, pos.top, size.width + pos.left, size.height + pos.top]; - - // Account any parent Frames scroll offset - if (node.ownerDocument !== document) { - let win = node.ownerDocument.defaultView; - to[0] += win.pageXOffset; - to[1] += win.pageYOffset; - to[2] += win.pageXOffset; - to[3] += win.pageYOffset; - } - - BOUNDS_FORMAT.forEach((side, i) => { - side = side[0].toUpperCase() + side.substr(1); - if (side === 'Top' || side === 'Left') { - to[i] += parseFloat(style[`border${ side }Width`]); - } else { - to[i] -= parseFloat(style[`border${ side }Width`]); - } - }); - } - - return to; -} - -TetherBase.modules.push({ - position({top, left, targetAttachment}) { - if (!this.options.constraints) { - return true; - } - - let {height, width} = this.cache('element-bounds', () => { - return getBounds(this.element); - }); - - if (width === 0 && height === 0 && typeof this.lastSize !== 'undefined') { - // Handle the item getting hidden as a result of our positioning without glitching - // the classes in and out - ({width, height} = this.lastSize); - } - - const targetSize = this.cache('target-bounds', () => { - return this.getTargetBounds(); - }); - - const {height: targetHeight, width: targetWidth} = targetSize; - - const allClasses = [this.getClass('pinned'), this.getClass('out-of-bounds')]; - - this.options.constraints.forEach(constraint => { - const {outOfBoundsClass, pinnedClass} = constraint; - if (outOfBoundsClass) { - allClasses.push(outOfBoundsClass); - } - if (pinnedClass) { - allClasses.push(pinnedClass); - } - }); - - allClasses.forEach(cls => { - ['left', 'top', 'right', 'bottom'].forEach(side => { - allClasses.push(`${ cls }-${ side }`); - }); - }); - - const addClasses = []; - - const tAttachment = extend({}, targetAttachment); - const eAttachment = extend({}, this.attachment); - - this.options.constraints.forEach(constraint => { - let {to, attachment, pin} = constraint; - - if (typeof attachment === 'undefined') { - attachment = ''; - } - - let changeAttachX, changeAttachY; - if (attachment.indexOf(' ') >= 0) { - [changeAttachY, changeAttachX] = attachment.split(' '); - } else { - changeAttachX = changeAttachY = attachment; - } - - const bounds = getBoundingRect(this, to); - - if (changeAttachY === 'target' || changeAttachY === 'both') { - if (top < bounds[1] && tAttachment.top === 'top') { - top += targetHeight; - tAttachment.top = 'bottom'; - } - - if (top + height > bounds[3] && tAttachment.top === 'bottom') { - top -= targetHeight; - tAttachment.top = 'top'; - } - } - - if (changeAttachY === 'together') { - if (tAttachment.top === 'top') { - if (eAttachment.top === 'bottom' && top < bounds[1]) { - top += targetHeight; - tAttachment.top = 'bottom'; - - top += height; - eAttachment.top = 'top'; - - } else if (eAttachment.top === 'top' && top + height > bounds[3] && top - (height - targetHeight) >= bounds[1]) { - top -= height - targetHeight; - tAttachment.top = 'bottom'; - - eAttachment.top = 'bottom'; - } - } - - if (tAttachment.top === 'bottom') { - if (eAttachment.top === 'top' && top + height > bounds[3]) { - top -= targetHeight; - tAttachment.top = 'top'; - - top -= height; - eAttachment.top = 'bottom'; - - } else if (eAttachment.top === 'bottom'&& top < bounds[1] && top + (height*2 - targetHeight) <= bounds[3]) { - top += height - targetHeight; - tAttachment.top = 'top'; - - eAttachment.top = 'top'; - - } - } - - if (tAttachment.top === 'middle') { - if (top + height > bounds[3] && eAttachment.top === 'top') { - top -= height; - eAttachment.top = 'bottom'; - - } else if (top < bounds[1] && eAttachment.top === 'bottom') { - top += height; - eAttachment.top = 'top'; - } - } - } - - if (changeAttachX === 'target' || changeAttachX === 'both') { - if (left < bounds[0] && tAttachment.left === 'left') { - left += targetWidth; - tAttachment.left = 'right'; - } - - if (left + width > bounds[2] && tAttachment.left === 'right') { - left -= targetWidth; - tAttachment.left = 'left'; - } - } - - if (changeAttachX === 'together') { - if (left < bounds[0] && tAttachment.left === 'left') { - if (eAttachment.left === 'right') { - left += targetWidth; - tAttachment.left = 'right'; - - left += width; - eAttachment.left = 'left'; - - } else if (eAttachment.left === 'left') { - left += targetWidth; - tAttachment.left = 'right'; - - left -= width; - eAttachment.left = 'right'; - } - - } else if (left + width > bounds[2] && tAttachment.left === 'right') { - if (eAttachment.left === 'left') { - left -= targetWidth; - tAttachment.left = 'left'; - - left -= width; - eAttachment.left = 'right'; - - } else if (eAttachment.left === 'right') { - left -= targetWidth; - tAttachment.left = 'left'; - - left += width; - eAttachment.left = 'left'; - } - - } else if (tAttachment.left === 'center') { - if (left + width > bounds[2] && eAttachment.left === 'left') { - left -= width; - eAttachment.left = 'right'; - - } else if (left < bounds[0] && eAttachment.left === 'right') { - left += width; - eAttachment.left = 'left'; - } - } - } - - if (changeAttachY === 'element' || changeAttachY === 'both') { - if (top < bounds[1] && eAttachment.top === 'bottom') { - top += height; - eAttachment.top = 'top'; - } - - if (top + height > bounds[3] && eAttachment.top === 'top') { - top -= height; - eAttachment.top = 'bottom'; - } - } - - if (changeAttachX === 'element' || changeAttachX === 'both') { - if (left < bounds[0]) { - if (eAttachment.left === 'right') { - left += width; - eAttachment.left = 'left'; - } else if (eAttachment.left === 'center') { - left += (width / 2); - eAttachment.left = 'left'; - } - } - - if (left + width > bounds[2]) { - if (eAttachment.left === 'left') { - left -= width; - eAttachment.left = 'right'; - } else if (eAttachment.left === 'center') { - left -= (width / 2); - eAttachment.left = 'right'; - } - } - } - - if (typeof pin === 'string') { - pin = pin.split(',').map(p => p.trim()); - } else if (pin === true) { - pin = ['top', 'left', 'right', 'bottom']; - } - - pin = pin || []; - - const pinned = []; - const oob = []; - - if (top < bounds[1]) { - if (pin.indexOf('top') >= 0) { - top = bounds[1]; - pinned.push('top'); - } else { - oob.push('top'); - } - } - - if (top + height > bounds[3]) { - if (pin.indexOf('bottom') >= 0) { - top = bounds[3] - height; - pinned.push('bottom'); - } else { - oob.push('bottom'); - } - } - - if (left < bounds[0]) { - if (pin.indexOf('left') >= 0) { - left = bounds[0]; - pinned.push('left'); - } else { - oob.push('left'); - } - } - - if (left + width > bounds[2]) { - if (pin.indexOf('right') >= 0) { - left = bounds[2] - width; - pinned.push('right'); - } else { - oob.push('right'); - } - } - - if (pinned.length) { - let pinnedClass; - if (typeof this.options.pinnedClass !== 'undefined') { - pinnedClass = this.options.pinnedClass; - } else { - pinnedClass = this.getClass('pinned'); - } - - addClasses.push(pinnedClass); - pinned.forEach(side => { - addClasses.push(`${ pinnedClass }-${ side }`); - }); - } - - if (oob.length) { - let oobClass; - if (typeof this.options.outOfBoundsClass !== 'undefined') { - oobClass = this.options.outOfBoundsClass; - } else { - oobClass = this.getClass('out-of-bounds'); - } - - addClasses.push(oobClass); - oob.forEach(side => { - addClasses.push(`${ oobClass }-${ side }`); - }); - } - - if (pinned.indexOf('left') >= 0 || pinned.indexOf('right') >= 0) { - eAttachment.left = tAttachment.left = false; - } - if (pinned.indexOf('top') >= 0 || pinned.indexOf('bottom') >= 0) { - eAttachment.top = tAttachment.top = false; - } - - if (tAttachment.top !== targetAttachment.top || - tAttachment.left !== targetAttachment.left || - eAttachment.top !== this.attachment.top || - eAttachment.left !== this.attachment.left) { - this.updateAttachClasses(eAttachment, tAttachment); - this.trigger('update', { - attachment: eAttachment, - targetAttachment: tAttachment, - }); - } - }); - - defer(() => { - if (!(this.options.addTargetClasses === false)) { - updateClasses(this.target, addClasses, allClasses); - } - updateClasses(this.element, addClasses, allClasses); - }); - - return {top, left}; - } -}); diff --git a/minionlivesmatter/templates/assets/tether/src/js/markAttachment.js b/minionlivesmatter/templates/assets/tether/src/js/markAttachment.js deleted file mode 100644 index edcc79a..0000000 --- a/minionlivesmatter/templates/assets/tether/src/js/markAttachment.js +++ /dev/null @@ -1,46 +0,0 @@ -/* globals Tether */ - -Tether.modules.push({ - initialize() { - this.markers = {}; - - ['target', 'element'].forEach(type => { - const el = document.createElement('div'); - el.className = this.getClass(`${ type }-marker`); - - const dot = document.createElement('div'); - dot.className = this.getClass('marker-dot'); - el.appendChild(dot); - - this[type].appendChild(el); - - this.markers[type] = {dot, el}; - }); - }, - - position({manualOffset, manualTargetOffset}) { - const offsets = { - element: manualOffset, - target: manualTargetOffset - }; - - for (let type in offsets) { - const offset = offsets[type]; - for (let side in offset) { - let val = offset[side]; - const notString = typeof val !== 'string'; - if (notString || - val.indexOf('%') === -1 && - val.indexOf('px') === -1) { - val += 'px'; - } - - if (this.markers[type].dot.style[side] !== val) { - this.markers[type].dot.style[side] = val; - } - } - } - - return true; - } -}); diff --git a/minionlivesmatter/templates/assets/tether/src/js/shift.js b/minionlivesmatter/templates/assets/tether/src/js/shift.js deleted file mode 100644 index ecc872d..0000000 --- a/minionlivesmatter/templates/assets/tether/src/js/shift.js +++ /dev/null @@ -1,32 +0,0 @@ -/* globals TetherBase */ - -TetherBase.modules.push({ - position({top, left}) { - if (!this.options.shift) { - return; - } - - let shift = this.options.shift; - if (typeof this.options.shift === 'function') { - shift = this.options.shift.call(this, {top, left}); - } - - let shiftTop, shiftLeft; - if (typeof shift === 'string') { - shift = shift.split(' '); - shift[1] = shift[1] || shift[0]; - - ([shiftTop, shiftLeft] = shift); - - shiftTop = parseFloat(shiftTop, 10); - shiftLeft = parseFloat(shiftLeft, 10); - } else { - ([shiftTop, shiftLeft] = [shift.top, shift.left]); - } - - top += shiftTop; - left += shiftLeft; - - return {top, left}; - } -}); diff --git a/minionlivesmatter/templates/assets/tether/src/js/tether.js b/minionlivesmatter/templates/assets/tether/src/js/tether.js deleted file mode 100644 index 5ebc84f..0000000 --- a/minionlivesmatter/templates/assets/tether/src/js/tether.js +++ /dev/null @@ -1,809 +0,0 @@ -/* globals TetherBase, performance */ - -if (typeof TetherBase === 'undefined') { - throw new Error('You must include the utils.js file before tether.js'); -} - -const { - getScrollParents, - getBounds, - getOffsetParent, - extend, - addClass, - removeClass, - updateClasses, - defer, - flush, - getScrollBarSize, - removeUtilElements -} = TetherBase.Utils; - -function within(a, b, diff=1) { - return (a + diff >= b && b >= a - diff); -} - -const transformKey = (() => { - if(typeof document === 'undefined') { - return ''; - } - const el = document.createElement('div'); - - const transforms = ['transform', 'WebkitTransform', 'OTransform', 'MozTransform', 'msTransform']; - for (let i = 0; i < transforms.length; ++i) { - const key = transforms[i]; - if (el.style[key] !== undefined) { - return key; - } - } -})(); - -const tethers = []; - -const position = () => { - tethers.forEach(tether => { - tether.position(false); - }); - flush(); -}; - -function now() { - if (typeof performance !== 'undefined' && typeof performance.now !== 'undefined') { - return performance.now(); - } - return +new Date; -} - -(() => { - let lastCall = null; - let lastDuration = null; - let pendingTimeout = null; - - const tick = () => { - if (typeof lastDuration !== 'undefined' && lastDuration > 16) { - // We voluntarily throttle ourselves if we can't manage 60fps - lastDuration = Math.min(lastDuration - 16, 250); - - // Just in case this is the last event, remember to position just once more - pendingTimeout = setTimeout(tick, 250); - return; - } - - if (typeof lastCall !== 'undefined' && (now() - lastCall) < 10) { - // Some browsers call events a little too frequently, refuse to run more than is reasonable - return; - } - - if (pendingTimeout != null) { - clearTimeout(pendingTimeout); - pendingTimeout = null; - } - - lastCall = now(); - position(); - lastDuration = now() - lastCall; - }; - - if(typeof window !== 'undefined' && typeof window.addEventListener !== 'undefined') { - ['resize', 'scroll', 'touchmove'].forEach(event => { - window.addEventListener(event, tick); - }); - } -})(); - -const MIRROR_LR = { - center: 'center', - left: 'right', - right: 'left' -}; - -const MIRROR_TB = { - middle: 'middle', - top: 'bottom', - bottom: 'top' -}; - -const OFFSET_MAP = { - top: 0, - left: 0, - middle: '50%', - center: '50%', - bottom: '100%', - right: '100%' -}; - -const autoToFixedAttachment = (attachment, relativeToAttachment) => { - let {left, top} = attachment; - - if (left === 'auto') { - left = MIRROR_LR[relativeToAttachment.left]; - } - - if (top === 'auto') { - top = MIRROR_TB[relativeToAttachment.top]; - } - - return {left, top}; -}; - -const attachmentToOffset = (attachment) => { - let left = attachment.left; - let top = attachment.top; - - if (typeof OFFSET_MAP[attachment.left] !== 'undefined') { - left = OFFSET_MAP[attachment.left]; - } - - if (typeof OFFSET_MAP[attachment.top] !== 'undefined') { - top = OFFSET_MAP[attachment.top]; - } - - return {left, top}; -}; - -function addOffset(...offsets) { - const out = {top: 0, left: 0}; - - offsets.forEach(({top, left}) => { - if (typeof top === 'string') { - top = parseFloat(top, 10); - } - if (typeof left === 'string') { - left = parseFloat(left, 10); - } - - out.top += top; - out.left += left; - }); - - return out; -} - -function offsetToPx(offset, size) { - if (typeof offset.left === 'string' && offset.left.indexOf('%') !== -1) { - offset.left = parseFloat(offset.left, 10) / 100 * size.width; - } - if (typeof offset.top === 'string' && offset.top.indexOf('%') !== -1) { - offset.top = parseFloat(offset.top, 10) / 100 * size.height; - } - - return offset; -} - -const parseOffset = (value) => { - const [top, left] = value.split(' '); - return {top, left}; -}; -const parseAttachment = parseOffset; - -class TetherClass extends Evented { - - constructor(options) { - super(); - this.position = this.position.bind(this); - - tethers.push(this); - - this.history = []; - - this.setOptions(options, false); - - TetherBase.modules.forEach(module => { - if (typeof module.initialize !== 'undefined') { - module.initialize.call(this); - } - }); - - this.position(); - } - - getClass(key='') { - const {classes} = this.options; - if (typeof classes !== 'undefined' && classes[key]) { - return this.options.classes[key]; - } else if (this.options.classPrefix) { - return `${ this.options.classPrefix }-${ key }`; - } else { - return key; - } - } - - setOptions(options, pos=true) { - const defaults = { - offset: '0 0', - targetOffset: '0 0', - targetAttachment: 'auto auto', - classPrefix: 'tether' - }; - - this.options = extend(defaults, options); - - let {element, target, targetModifier} = this.options; - this.element = element; - this.target = target; - this.targetModifier = targetModifier; - - if (this.target === 'viewport') { - this.target = document.body; - this.targetModifier = 'visible'; - } else if (this.target === 'scroll-handle') { - this.target = document.body; - this.targetModifier = 'scroll-handle'; - } - - ['element', 'target'].forEach(key => { - if (typeof this[key] === 'undefined') { - throw new Error('Tether Error: Both element and target must be defined'); - } - - if (typeof this[key].jquery !== 'undefined') { - this[key] = this[key][0]; - } else if (typeof this[key] === 'string') { - this[key] = document.querySelector(this[key]); - } - }); - - addClass(this.element, this.getClass('element')); - if (!(this.options.addTargetClasses === false)) { - addClass(this.target, this.getClass('target')); - } - - if (!this.options.attachment) { - throw new Error('Tether Error: You must provide an attachment'); - } - - this.targetAttachment = parseAttachment(this.options.targetAttachment); - this.attachment = parseAttachment(this.options.attachment); - this.offset = parseOffset(this.options.offset); - this.targetOffset = parseOffset(this.options.targetOffset); - - if (typeof this.scrollParents !== 'undefined') { - this.disable(); - } - - if (this.targetModifier === 'scroll-handle') { - this.scrollParents = [this.target]; - } else { - this.scrollParents = getScrollParents(this.target); - } - - if(!(this.options.enabled === false)) { - this.enable(pos); - } - } - - getTargetBounds() { - if (typeof this.targetModifier !== 'undefined') { - if (this.targetModifier === 'visible') { - if (this.target === document.body) { - return {top: pageYOffset, left: pageXOffset, height: innerHeight, width: innerWidth}; - } else { - const bounds = getBounds(this.target); - - const out = { - height: bounds.height, - width: bounds.width, - top: bounds.top, - left: bounds.left - }; - - out.height = Math.min(out.height, bounds.height - (pageYOffset - bounds.top)); - out.height = Math.min(out.height, bounds.height - ((bounds.top + bounds.height) - (pageYOffset + innerHeight))); - out.height = Math.min(innerHeight, out.height); - out.height -= 2; - - out.width = Math.min(out.width, bounds.width - (pageXOffset - bounds.left)); - out.width = Math.min(out.width, bounds.width - ((bounds.left + bounds.width) - (pageXOffset + innerWidth))); - out.width = Math.min(innerWidth, out.width); - out.width -= 2; - - if (out.top < pageYOffset) { - out.top = pageYOffset; - } - if (out.left < pageXOffset) { - out.left = pageXOffset; - } - - return out; - } - } else if (this.targetModifier === 'scroll-handle') { - let bounds; - let target = this.target; - if (target === document.body) { - target = document.documentElement; - - bounds = { - left: pageXOffset, - top: pageYOffset, - height: innerHeight, - width: innerWidth - }; - } else { - bounds = getBounds(target); - } - - const style = getComputedStyle(target); - - const hasBottomScroll = ( - target.scrollWidth > target.clientWidth || - [style.overflow, style.overflowX].indexOf('scroll') >= 0 || - this.target !== document.body - ); - - let scrollBottom = 0; - if (hasBottomScroll) { - scrollBottom = 15; - } - - const height = bounds.height - parseFloat(style.borderTopWidth) - parseFloat(style.borderBottomWidth) - scrollBottom; - - const out = { - width: 15, - height: height * 0.975 * (height / target.scrollHeight), - left: bounds.left + bounds.width - parseFloat(style.borderLeftWidth) - 15 - }; - - let fitAdj = 0; - if (height < 408 && this.target === document.body) { - fitAdj = -0.00011 * Math.pow(height, 2) - 0.00727 * height + 22.58; - } - - if (this.target !== document.body) { - out.height = Math.max(out.height, 24); - } - - const scrollPercentage = this.target.scrollTop / (target.scrollHeight - height); - out.top = scrollPercentage * (height - out.height - fitAdj) + bounds.top + parseFloat(style.borderTopWidth); - - if (this.target === document.body) { - out.height = Math.max(out.height, 24); - } - - return out; - } - } else { - return getBounds(this.target); - } - } - - clearCache() { - this._cache = {}; - } - - cache(k, getter) { - // More than one module will often need the same DOM info, so - // we keep a cache which is cleared on each position call - if (typeof this._cache === 'undefined') { - this._cache = {}; - } - - if (typeof this._cache[k] === 'undefined') { - this._cache[k] = getter.call(this); - } - - return this._cache[k]; - } - - enable(pos=true) { - if (!(this.options.addTargetClasses === false)) { - addClass(this.target, this.getClass('enabled')); - } - addClass(this.element, this.getClass('enabled')); - this.enabled = true; - - this.scrollParents.forEach((parent) => { - if (parent !== this.target.ownerDocument) { - parent.addEventListener('scroll', this.position); - } - }) - - if (pos) { - this.position(); - } - } - - disable() { - removeClass(this.target, this.getClass('enabled')); - removeClass(this.element, this.getClass('enabled')); - this.enabled = false; - - if (typeof this.scrollParents !== 'undefined') { - this.scrollParents.forEach((parent) => { - parent.removeEventListener('scroll', this.position); - }) - } - } - - destroy() { - this.disable(); - - tethers.forEach((tether, i) => { - if (tether === this) { - tethers.splice(i, 1); - } - }); - - // Remove any elements we were using for convenience from the DOM - if (tethers.length === 0) { - removeUtilElements(); - } - } - - updateAttachClasses(elementAttach, targetAttach) { - elementAttach = elementAttach || this.attachment; - targetAttach = targetAttach || this.targetAttachment; - const sides = ['left', 'top', 'bottom', 'right', 'middle', 'center']; - - if (typeof this._addAttachClasses !== 'undefined' && this._addAttachClasses.length) { - // updateAttachClasses can be called more than once in a position call, so - // we need to clean up after ourselves such that when the last defer gets - // ran it doesn't add any extra classes from previous calls. - this._addAttachClasses.splice(0, this._addAttachClasses.length); - } - - if (typeof this._addAttachClasses === 'undefined') { - this._addAttachClasses = []; - } - const add = this._addAttachClasses; - - if (elementAttach.top) { - add.push(`${ this.getClass('element-attached') }-${ elementAttach.top }`); - } - if (elementAttach.left) { - add.push(`${ this.getClass('element-attached') }-${ elementAttach.left }`); - } - if (targetAttach.top) { - add.push(`${ this.getClass('target-attached') }-${ targetAttach.top }`); - } - if (targetAttach.left) { - add.push(`${ this.getClass('target-attached') }-${ targetAttach.left }`); - } - - const all = []; - sides.forEach(side => { - all.push(`${ this.getClass('element-attached') }-${ side }`); - all.push(`${ this.getClass('target-attached') }-${ side }`); - }); - - defer(() => { - if (!(typeof this._addAttachClasses !== 'undefined')) { - return; - } - - updateClasses(this.element, this._addAttachClasses, all); - if (!(this.options.addTargetClasses === false)) { - updateClasses(this.target, this._addAttachClasses, all); - } - - delete this._addAttachClasses; - }); - } - - position(flushChanges=true) { - // flushChanges commits the changes immediately, leave true unless you are positioning multiple - // tethers (in which case call Tether.Utils.flush yourself when you're done) - - if (!this.enabled) { - return; - } - - this.clearCache(); - - // Turn 'auto' attachments into the appropriate corner or edge - const targetAttachment = autoToFixedAttachment(this.targetAttachment, this.attachment); - - this.updateAttachClasses(this.attachment, targetAttachment); - - const elementPos = this.cache('element-bounds', () => { - return getBounds(this.element); - }); - - let {width, height} = elementPos; - - if (width === 0 && height === 0 && typeof this.lastSize !== 'undefined') { - // We cache the height and width to make it possible to position elements that are - // getting hidden. - ({width, height} = this.lastSize); - } else { - this.lastSize = {width, height}; - } - - const targetPos = this.cache('target-bounds', () => { - return this.getTargetBounds(); - }); - const targetSize = targetPos; - - // Get an actual px offset from the attachment - let offset = offsetToPx(attachmentToOffset(this.attachment), {width, height}); - let targetOffset = offsetToPx(attachmentToOffset(targetAttachment), targetSize); - - const manualOffset = offsetToPx(this.offset, {width, height}); - const manualTargetOffset = offsetToPx(this.targetOffset, targetSize); - - // Add the manually provided offset - offset = addOffset(offset, manualOffset); - targetOffset = addOffset(targetOffset, manualTargetOffset); - - // It's now our goal to make (element position + offset) == (target position + target offset) - let left = targetPos.left + targetOffset.left - offset.left; - let top = targetPos.top + targetOffset.top - offset.top; - - for (let i = 0; i < TetherBase.modules.length; ++i) { - const module = TetherBase.modules[i]; - const ret = module.position.call(this, { - left, - top, - targetAttachment, - targetPos, - elementPos, - offset, - targetOffset, - manualOffset, - manualTargetOffset, - scrollbarSize, - attachment: this.attachment - }); - - if (ret === false) { - return false; - } else if (typeof ret === 'undefined' || typeof ret !== 'object') { - continue; - } else { - ({top, left} = ret); - } - } - - // We describe the position three different ways to give the optimizer - // a chance to decide the best possible way to position the element - // with the fewest repaints. - const next = { - // It's position relative to the page (absolute positioning when - // the element is a child of the body) - page: { - top: top, - left: left - }, - - // It's position relative to the viewport (fixed positioning) - viewport: { - top: top - pageYOffset, - bottom: pageYOffset - top - height + innerHeight, - left: left - pageXOffset, - right: pageXOffset - left - width + innerWidth - } - }; - - var doc = this.target.ownerDocument; - var win = doc.defaultView; - - let scrollbarSize; - if (win.innerHeight > doc.documentElement.clientHeight) { - scrollbarSize = this.cache('scrollbar-size', getScrollBarSize); - next.viewport.bottom -= scrollbarSize.height; - } - - if (win.innerWidth > doc.documentElement.clientWidth) { - scrollbarSize = this.cache('scrollbar-size', getScrollBarSize); - next.viewport.right -= scrollbarSize.width; - } - - if (['', 'static'].indexOf(doc.body.style.position) === -1 || - ['', 'static'].indexOf(doc.body.parentElement.style.position) === -1) { - // Absolute positioning in the body will be relative to the page, not the 'initial containing block' - next.page.bottom = doc.body.scrollHeight - top - height; - next.page.right = doc.body.scrollWidth - left - width; - } - - if (typeof this.options.optimizations !== 'undefined' && - this.options.optimizations.moveElement !== false && - !(typeof this.targetModifier !== 'undefined')) { - const offsetParent = this.cache('target-offsetparent', () => getOffsetParent(this.target)); - const offsetPosition = this.cache('target-offsetparent-bounds', () => getBounds(offsetParent)); - const offsetParentStyle = getComputedStyle(offsetParent); - const offsetParentSize = offsetPosition; - - const offsetBorder = {}; - ['Top', 'Left', 'Bottom', 'Right'].forEach(side => { - offsetBorder[side.toLowerCase()] = parseFloat(offsetParentStyle[`border${ side }Width`]); - }); - - offsetPosition.right = doc.body.scrollWidth - offsetPosition.left - offsetParentSize.width + offsetBorder.right; - offsetPosition.bottom = doc.body.scrollHeight - offsetPosition.top - offsetParentSize.height + offsetBorder.bottom; - - if (next.page.top >= (offsetPosition.top + offsetBorder.top) && next.page.bottom >= offsetPosition.bottom) { - if (next.page.left >= (offsetPosition.left + offsetBorder.left) && next.page.right >= offsetPosition.right) { - // We're within the visible part of the target's scroll parent - const scrollTop = offsetParent.scrollTop; - const scrollLeft = offsetParent.scrollLeft; - - // It's position relative to the target's offset parent (absolute positioning when - // the element is moved to be a child of the target's offset parent). - next.offset = { - top: next.page.top - offsetPosition.top + scrollTop - offsetBorder.top, - left: next.page.left - offsetPosition.left + scrollLeft - offsetBorder.left - }; - } - } - } - - - // We could also travel up the DOM and try each containing context, rather than only - // looking at the body, but we're gonna get diminishing returns. - - this.move(next); - - this.history.unshift(next); - - if (this.history.length > 3) { - this.history.pop(); - } - - if (flushChanges) { - flush(); - } - - return true; - } - - // THE ISSUE - move(pos) { - if (!(typeof this.element.parentNode !== 'undefined')) { - return; - } - - const same = {}; - - for (let type in pos) { - same[type] = {}; - - for (let key in pos[type]) { - let found = false; - - for (let i = 0; i < this.history.length; ++i) { - const point = this.history[i]; - if (typeof point[type] !== 'undefined' && - !within(point[type][key], pos[type][key])) { - found = true; - break; - } - - } - - if (!found) { - same[type][key] = true; - } - } - } - - let css = {top: '', left: '', right: '', bottom: ''}; - - const transcribe = (_same, _pos) => { - const hasOptimizations = typeof this.options.optimizations !== 'undefined'; - const gpu = hasOptimizations ? this.options.optimizations.gpu : null; - if (gpu !== false) { - let yPos, xPos; - if (_same.top) { - css.top = 0; - yPos = _pos.top; - } else { - css.bottom = 0; - yPos = -_pos.bottom; - } - - if (_same.left) { - css.left = 0; - xPos = _pos.left; - } else { - css.right = 0; - xPos = -_pos.right; - } - - if (window.matchMedia) { - // HubSpot/tether#207 - const retina = window.matchMedia('only screen and (min-resolution: 1.3dppx)').matches || - window.matchMedia('only screen and (-webkit-min-device-pixel-ratio: 1.3)').matches; - if (!retina) { - xPos = Math.round(xPos); - yPos = Math.round(yPos); - } - } - - css[transformKey] = `translateX(${ xPos }px) translateY(${ yPos }px)`; - - if (transformKey !== 'msTransform') { - // The Z transform will keep this in the GPU (faster, and prevents artifacts), - // but IE9 doesn't support 3d transforms and will choke. - css[transformKey] += " translateZ(0)"; - } - - } else { - if (_same.top) { - css.top = `${ _pos.top }px`; - } else { - css.bottom = `${ _pos.bottom }px`; - } - - if (_same.left) { - css.left = `${ _pos.left }px`; - } else { - css.right = `${ _pos.right }px`; - } - } - }; - - let moved = false; - if ((same.page.top || same.page.bottom) && (same.page.left || same.page.right)) { - css.position = 'absolute'; - transcribe(same.page, pos.page); - - } else if ((same.viewport.top || same.viewport.bottom) && (same.viewport.left || same.viewport.right)) { - css.position = 'fixed'; - transcribe(same.viewport, pos.viewport); - - } else if (typeof same.offset !== 'undefined' && same.offset.top && same.offset.left) { - css.position = 'absolute'; - const offsetParent = this.cache('target-offsetparent', () => getOffsetParent(this.target)); - - if (getOffsetParent(this.element) !== offsetParent) { - defer(() => { - this.element.parentNode.removeChild(this.element); - offsetParent.appendChild(this.element); - }); - } - - transcribe(same.offset, pos.offset); - moved = true; - - } else { - css.position = 'absolute'; - transcribe({top: true, left: true}, pos.page); - } - - if (!moved) { - if (this.options.bodyElement) { - this.options.bodyElement.appendChild(this.element); - } else { - let offsetParentIsBody = true; - let currentNode = this.element.parentNode; - while (currentNode && currentNode.nodeType === 1 && currentNode.tagName !== 'BODY') { - if (getComputedStyle(currentNode).position !== 'static') { - offsetParentIsBody = false; - break; - } - - currentNode = currentNode.parentNode; - } - - if (!offsetParentIsBody) { - this.element.parentNode.removeChild(this.element); - this.element.ownerDocument.body.appendChild(this.element); - } - } - } - - // Any css change will trigger a repaint, so let's avoid one if nothing changed - const writeCSS = {}; - let write = false; - for (let key in css) { - let val = css[key]; - let elVal = this.element.style[key]; - - if (elVal !== val) { - write = true; - writeCSS[key] = val; - } - } - - if (write) { - defer(() => { - extend(this.element.style, writeCSS); - this.trigger('repositioned'); - }); - } - } -} - -TetherClass.modules = []; - -TetherBase.position = position; - -let Tether = extend(TetherClass, TetherBase); diff --git a/minionlivesmatter/templates/assets/tether/src/js/utils.js b/minionlivesmatter/templates/assets/tether/src/js/utils.js deleted file mode 100644 index 19ba7fe..0000000 --- a/minionlivesmatter/templates/assets/tether/src/js/utils.js +++ /dev/null @@ -1,370 +0,0 @@ -let TetherBase; -if (typeof TetherBase === 'undefined') { - TetherBase = {modules: []}; -} - -let zeroElement = null; - -// Same as native getBoundingClientRect, except it takes into account parent <frame> offsets -// if the element lies within a nested document (<frame> or <iframe>-like). -function getActualBoundingClientRect(node) { - let boundingRect = node.getBoundingClientRect(); - - // The original object returned by getBoundingClientRect is immutable, so we clone it - // We can't use extend because the properties are not considered part of the object by hasOwnProperty in IE9 - let rect = {}; - for (var k in boundingRect) { - rect[k] = boundingRect[k]; - } - - if (node.ownerDocument !== document) { - let frameElement = node.ownerDocument.defaultView.frameElement; - if (frameElement) { - let frameRect = getActualBoundingClientRect(frameElement); - rect.top += frameRect.top; - rect.bottom += frameRect.top; - rect.left += frameRect.left; - rect.right += frameRect.left; - } - } - - return rect; -} - -function getScrollParents(el) { - // In firefox if the el is inside an iframe with display: none; window.getComputedStyle() will return null; - // https://bugzilla.mozilla.org/show_bug.cgi?id=548397 - const computedStyle = getComputedStyle(el) || {}; - const position = computedStyle.position; - let parents = []; - - if (position === 'fixed') { - return [el]; - } - - let parent = el; - while ((parent = parent.parentNode) && parent && parent.nodeType === 1) { - let style; - try { - style = getComputedStyle(parent); - } catch (err) {} - - if (typeof style === 'undefined' || style === null) { - parents.push(parent); - return parents; - } - - const {overflow, overflowX, overflowY} = style; - if (/(auto|scroll)/.test(overflow + overflowY + overflowX)) { - if (position !== 'absolute' || ['relative', 'absolute', 'fixed'].indexOf(style.position) >= 0) { - parents.push(parent) - } - } - } - - parents.push(el.ownerDocument.body); - - // If the node is within a frame, account for the parent window scroll - if (el.ownerDocument !== document) { - parents.push(el.ownerDocument.defaultView); - } - - return parents; -} - -const uniqueId = (() => { - let id = 0; - return () => ++id; -})(); - -const zeroPosCache = {}; -const getOrigin = () => { - // getBoundingClientRect is unfortunately too accurate. It introduces a pixel or two of - // jitter as the user scrolls that messes with our ability to detect if two positions - // are equivilant or not. We place an element at the top left of the page that will - // get the same jitter, so we can cancel the two out. - let node = zeroElement; - if (!node || !document.body.contains(node)) { - node = document.createElement('div'); - node.setAttribute('data-tether-id', uniqueId()); - extend(node.style, { - top: 0, - left: 0, - position: 'absolute' - }); - - document.body.appendChild(node); - - zeroElement = node; - } - - const id = node.getAttribute('data-tether-id'); - if (typeof zeroPosCache[id] === 'undefined') { - zeroPosCache[id] = getActualBoundingClientRect(node); - - // Clear the cache when this position call is done - defer(() => { - delete zeroPosCache[id]; - }); - } - - return zeroPosCache[id]; -}; - -function removeUtilElements() { - if (zeroElement) { - document.body.removeChild(zeroElement); - } - zeroElement = null; -}; - -function getBounds(el) { - let doc; - if (el === document) { - doc = document; - el = document.documentElement; - } else { - doc = el.ownerDocument; - } - - const docEl = doc.documentElement; - - const box = getActualBoundingClientRect(el); - - const origin = getOrigin(); - - box.top -= origin.top; - box.left -= origin.left; - - if (typeof box.width === 'undefined') { - box.width = document.body.scrollWidth - box.left - box.right; - } - if (typeof box.height === 'undefined') { - box.height = document.body.scrollHeight - box.top - box.bottom; - } - - box.top = box.top - docEl.clientTop; - box.left = box.left - docEl.clientLeft; - box.right = doc.body.clientWidth - box.width - box.left; - box.bottom = doc.body.clientHeight - box.height - box.top; - - return box; -} - -function getOffsetParent(el) { - return el.offsetParent || document.documentElement; -} - -let _scrollBarSize = null; -function getScrollBarSize() { - if (_scrollBarSize) { - return _scrollBarSize; - } - const inner = document.createElement('div'); - inner.style.width = '100%'; - inner.style.height = '200px'; - - const outer = document.createElement('div'); - extend(outer.style, { - position: 'absolute', - top: 0, - left: 0, - pointerEvents: 'none', - visibility: 'hidden', - width: '200px', - height: '150px', - overflow: 'hidden' - }); - - outer.appendChild(inner); - - document.body.appendChild(outer); - - const widthContained = inner.offsetWidth; - outer.style.overflow = 'scroll'; - let widthScroll = inner.offsetWidth; - - if (widthContained === widthScroll) { - widthScroll = outer.clientWidth; - } - - document.body.removeChild(outer); - - const width = widthContained - widthScroll; - - _scrollBarSize = {width, height: width}; - return _scrollBarSize; -} - -function extend(out={}) { - const args = []; - - Array.prototype.push.apply(args, arguments); - - args.slice(1).forEach(obj => { - if (obj) { - for (let key in obj) { - if ({}.hasOwnProperty.call(obj, key)) { - out[key] = obj[key]; - } - } - } - }); - - return out; -} - -function removeClass(el, name) { - if (typeof el.classList !== 'undefined') { - name.split(' ').forEach(cls => { - if (cls.trim()) { - el.classList.remove(cls); - } - }); - } else { - const regex = new RegExp(`(^| )${ name.split(' ').join('|') }( |$)`, 'gi'); - const className = getClassName(el).replace(regex, ' '); - setClassName(el, className); - } -} - -function addClass(el, name) { - if (typeof el.classList !== 'undefined') { - name.split(' ').forEach(cls => { - if (cls.trim()) { - el.classList.add(cls); - } - }); - } else { - removeClass(el, name); - const cls = getClassName(el) + ` ${name}`; - setClassName(el, cls); - } -} - -function hasClass(el, name) { - if (typeof el.classList !== 'undefined') { - return el.classList.contains(name); - } - const className = getClassName(el); - return new RegExp(`(^| )${ name }( |$)`, 'gi').test(className); -} - -function getClassName(el) { - // Can't use just SVGAnimatedString here since nodes within a Frame in IE have - // completely separately SVGAnimatedString base classes - if (el.className instanceof el.ownerDocument.defaultView.SVGAnimatedString) { - return el.className.baseVal; - } - return el.className; -} - -function setClassName(el, className) { - el.setAttribute('class', className); -} - - -function updateClasses(el, add, all) { - // Of the set of 'all' classes, we need the 'add' classes, and only the - // 'add' classes to be set. - all.forEach(cls => { - if (add.indexOf(cls) === -1 && hasClass(el, cls)) { - removeClass(el, cls); - } - }); - - add.forEach(cls => { - if (!hasClass(el, cls)) { - addClass(el, cls); - } - }); -} - -const deferred = []; - -const defer = (fn) => { - deferred.push(fn); -}; - -const flush = () => { - let fn; - while(fn = deferred.pop()) { - fn(); - } -}; - -class Evented { - on(event, handler, ctx, once=false) { - if (typeof this.bindings === 'undefined') { - this.bindings = {}; - } - if (typeof this.bindings[event] === 'undefined') { - this.bindings[event] = []; - } - this.bindings[event].push({handler, ctx, once}); - } - - once(event, handler, ctx) { - this.on(event, handler, ctx, true); - } - - off(event, handler) { - if (typeof this.bindings === 'undefined' || - typeof this.bindings[event] === 'undefined') { - return; - } - - if (typeof handler === 'undefined') { - delete this.bindings[event]; - } else { - let i = 0; - while (i < this.bindings[event].length) { - if (this.bindings[event][i].handler === handler) { - this.bindings[event].splice(i, 1); - } else { - ++i; - } - } - } - } - - trigger(event, ...args) { - if (typeof this.bindings !== 'undefined' && this.bindings[event]) { - let i = 0; - while (i < this.bindings[event].length) { - const {handler, ctx, once} = this.bindings[event][i]; - - let context = ctx; - if (typeof context === 'undefined') { - context = this; - } - - handler.apply(context, args); - - if (once) { - this.bindings[event].splice(i, 1); - } else { - ++i; - } - } - } - } -} - -TetherBase.Utils = { - getActualBoundingClientRect, - getScrollParents, - getBounds, - getOffsetParent, - extend, - addClass, - removeClass, - hasClass, - updateClasses, - defer, - flush, - uniqueId, - Evented, - getScrollBarSize, - removeUtilElements -}; diff --git a/minionlivesmatter/templates/index-2.html b/minionlivesmatter/templates/index-2.html deleted file mode 100644 index 61f262e..0000000 --- a/minionlivesmatter/templates/index-2.html +++ /dev/null @@ -1,115 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> - <head> - <meta charset="utf-8" /> - <meta http-equiv="X-UA-Compatible" content="IE=edge"> - <title>Minion Lives Matter</title> - <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport" /> - <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" /> - <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" /> - <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css" /> - <link rel="stylesheet" href="assets/tether/dist/css/tether.min.css" /> - <link rel="stylesheet" href="assets/bootstrap/dist/css/bootstrap.min.css" /> - <link rel="stylesheet" href="assets/bootstrap-material-design/dist/bootstrap-material-design.min.css" /> - </head> - <body> - <nav class="navbar navbar-inverse bg-inverse fixed-top"> - <a class="navbar-brand" href="alpha.vainsocial.com">Vainsocial</a> - </nav> - - <div class="container" style="padding: 3rem 1.5rem;"> - <div class="container"> - <h1>Minion Lives Matter</h1> - <p> - <em>Based on Vainsocial users' data from the past 24 hours that by no means is representative to the whole player base of Vainglory. {{ sql_val("SELECT COUNT(*) FROM match WHERE created_at > NOW() - '1 day'::INTERVAL") }} matches are taken into account for this calculation.</em> - <noscript>This site works without JavaScript! However, be aware that live stats won't update.</noscript> - </p> - </div> - - <div class="card"> - <div class="card-block"> - <h4 class="card-title"><span id="minions-killed-now">0</span> Minions died</h4> - <p class="card-text">since you opened this page</p> - <script type="text/javascript"> - var minions_per_second = {{ sql_val("SELECT SUM(minion_kills)/SUM(match.duration)::FLOAT FROM participant JOIN roster ON participant.roster_api_id=roster.api_id JOIN match ON roster.match_api_id=match.api_id WHERE participant.created_at > NOW() - '1 day'::INTERVAL") }}; - var minions = 0; - // sum(minions killed) / sum(game lengh s) - setInterval(() => { - minions += minions_per_second; - $("#minions-killed-now").text(Math.floor(minions)); - }, 1000); - </script> - </div> - </div> - <div class="card"> - <div class="card-block"> - <h4 class="card-title">{{ sql_val("SELECT COUNT((item_grants->>'*1045_Item_FountainOfRenewal*')::INT)-COUNT((item_uses->>'*1045_Item_FountainOfRenewal*')::INT) FROM participant WHERE created_at > NOW() - '1 day'::INTERVAL") }} Fountains</h4> - <!-- sum(FoR bought) - sum(FoR used) --> - <p class="card-text">did not help their team</p> - </div> - </div> - <div class="card"> - <div class="card-block"> - <h4 class="card-title">{{ sql_val("SELECT (SUM(match.duration)/60*5) / SUM(roster.kraken_captures) FROM match JOIN roster ON roster.match_api_id=match.api_id WHERE match.created_at > NOW() - '1 day'::INTERVAL") }} Minions</h4> - <p class="card-text">are needed to unleash a Kraken</p> - <!-- 1 wave = 3m * 1CS/m + 1m * 2CS/m = 5CS, 3 waves/min = 15CS/min = 5m/min --> - <!-- (sum(game length s / 60)min * 5m/min) / sum(krakens) --> - </div> - </div> - <div class="card"> - <div class="card-block"> - <h4 class="card-title">{{ sql_val("SELECT SUM(participant.crystal_mine_captures) FROM participant WHERE participant.created_at > NOW() - '1 day'::INTERVAL") }} Crystal Sentries</h4> - <!-- sum(miners) --> - <p class="card-text">got slaugthered</p> - </div> - </div> - <div class="card"> - <div class="card-block"> - <h4 class="card-title">{{ sql_val("SELECT SUM((participant.item_sells->>'*1038_Item_Flare*')::INT) FROM participant WHERE participant.created_at > NOW() - '1 day'::INTERVAL") }} Flares</h4> - <!-- sum(flares sold) --> - <p class="card-text">got thrown into the trash</p> - </div> - </div> - <div class="card"> - <div class="card-block"> - <h4 class="card-title">Every {{ sql_val("SELECT SUM(match.duration)/60 / (SUM((participant.item_uses->>'*1052_Item_WeaponInfusion*')::INT) + SUM((participant.item_uses->>'*1053_Item_CrystalInfusion*')::INT)) FROM participant JOIN roster ON participant.roster_api_id=roster.api_id JOIN match ON roster.match_api_id=match.api_id WHERE participant.created_at > NOW() - '1 day'::INTERVAL") }} minutes</h4> - <!-- sum(game length s)/60 / (sum(infusion wp) + sum(infusion cp)) --> - <p class="card-text">A hero gets high on infusions</p> - </div> - </div> - <div class="card"> - <div class="card-block"> - <h4 class="card-title">{{ sql_val("SELECT SUM((item_uses->>'*1054_Item_ScoutTrap*')::INT) FROM participant WHERE participant.created_at > NOW() - '1 day'::INTERVAL") }} Scout Traps</h4> - <!-- sum(game length s)/60 / (sum(infusion wp) + sum(infusion cp)) --> - <p class="card-text">Scout Traps made the Halcyon Fold a dangerous place</p> - </div> - </div> - <div class="card"> - <div class="card-block"> - <h4 class="card-title">{{ sql_val("SELECT SUM(turret_kills) FROM participant WHERE hero='*SAW*' AND created_at > NOW() - '1 day'::INTERVAL") }} Turrets</h4> - <!-- sum(turret_kills) where hero=saw --> - <p class="card-text">were pushed by a SAW</p> - </div> - </div> - <div class="card"> - <div class="card-block"> - <h4 class="card-title">{{ sql_val("SELECT SUM(turret_kills) FROM participant WHERE created_at > NOW() - '1 day'::INTERVAL") }} Turrets</h4> - <!-- sum(turret_kills) --> - <p class="card-text">need to be rebuilt by Minion Workers every day</p> - </div> - </div> - <div class="card"> - <div class="card-block"> - <h4 class="card-title">{{ sql_val("SELECT SUM(minion_kills) FROM participant WHERE NOT winner AND created_at > NOW() - '1 day'::INTERVAL") }} out of {{ sql_val("SELECT SUM(minion_kills) FROM participant WHERE created_at > NOW() - '1 day'::INTERVAL") }} Minions</h4> - <!-- sum(minions killed) where match lost --> - <!-- sum(minions killed) --> - <p class="card-text">died for nothing</p> - </div> - </div> - </div> - <script src="assets/jquery/dist/jquery.min.js" type="text/javascript"></script> - <script src="assets/tether/dist/js/tether.min.js" type="text/javascript"></script> - <script src="assets/bootstrap/dist/js/bootstrap.min.js" type="text/javascript"></script> - <script src="assets/bootstrap-material-design/dist/bootstrap-material-design.iife.min.js" type="text/javascript"></script> - </body> -</html> diff --git a/minionlivesmatter/templates/index.html b/minionlivesmatter/templates/index.html deleted file mode 100644 index e6b6ee1..0000000 --- a/minionlivesmatter/templates/index.html +++ /dev/null @@ -1,296 +0,0 @@ -<!doctype html> -<html lang="en"> -<head> - <meta charset="utf-8" /> - <link rel="icon" type="image/png" href="assets/images/logo-blue.png"> - <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> - - <title>Vainsocial Fun - Minion Lives Matter</title> - - <meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport' /> - <meta name="viewport" content="width=device-width" /> - - <link href="assets/css/bootstrap.min.css" rel="stylesheet" /> - <link href="assets/css/hipster_cards.css" rel="stylesheet"/> - - <!-- Fonts and icons --> - <link href="assets/css/pe-icon-7-stroke.css" rel="stylesheet" /> - <link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" /> - <link href='http://fonts.googleapis.com/css?family=Playfair+Display|Raleway:700,100,400|Roboto:400,700|Playfair+Display+SC:400,700' rel='stylesheet' type='text/css'> - - <style> - .card{ - margin-bottom: 70px; - } - </style> - -</head> -<body> - -<div class="wrapper"> - <div class="container"> - <div class="card-box col-md-12 col-sm-12"> - <div class="card card-just-text card-with-border" data-background="image" data-src="assets/images/minion-top.jpg"> - <div class="content"> - <div class="filter filter-red"></div> - <h4 class="title title-modern">"Minions Lives Matter."</h4> - <p class="description">shutterfly@vainsocial</p> - </div> - - <div class="filter"></div> - </div> <!-- end card --> - </div> - </div> - - - <div class="masonry-container"> - - <div class="card-box col-md-4 col-sm-6"> - <div class="card text-center" data-background="image" data-src="assets/images/minion-died.jpg"> - <h4 class="title title-modern">Minions</h4> - - <div class="content"> - <div class="price"> - <h6></h6> - <h4 id="minions-killed-now">0</h4> - </div> - <p class="description">have died since you opened this page</p> - </div> - <div class="filter"></div> - </div> <!-- end card --> - </div> - - - <div class="card-box col-md-4 col-sm-6"> - <div class="card text-center" data-background="image" data-src="assets/images/turrets.png"> - <h4 class="title title-modern">Turrets</h4> - - <div class="content"> - <div class="price"> - <h6></h6> - <h4>{{ sql_val("SELECT SUM(turret_kills) FROM participant WHERE created_at > NOW() - '1 day'::INTERVAL") }}<b class="currency"><br/></b></h4> - </div> - <p class="description">rebuilt by workers every day</p> - </div> - <div class="filter"></div> - </div> <!-- end card --> - </div> - - <div class="card-box col-md-4 col-sm-6"> - <div class="card text-center" data-background="image" data-src="assets/images/minions-for-nothing.jpeg"> - <h4 class="title title-modern">Minions</h4> - - <div class="content"> - <div class="price"> - <h6></h6> - <h4>{{ sql_val("SELECT SUM(minion_kills) FROM participant WHERE NOT winner AND created_at > NOW() - '1 day'::INTERVAL") }} <b class="currency"><br/>out of {{ sql_val("SELECT SUM(minion_kills) FROM participant WHERE created_at > NOW() - '1 day'::INTERVAL") }}<br/></b></h4> - </div> - <p class="description">died for nothing</p> - </div> - <div class="filter"></div> - </div> <!-- end card --> - </div> - - <div class="card-box col-md-4 col-sm-6"> - <div class="card text-center" data-background="image" data-src="assets/images/fountain.jpeg"> - <h4 class="title title-modern">Fountains</h4> - - <div class="content"> - <div class="price"> - <h6></h6> - <h4>{{ sql_val("SELECT COUNT((item_grants->>'*1045_Item_FountainOfRenewal*')::INT)-COUNT((item_uses->>'*1045_Item_FountainOfRenewal*')::INT) FROM participant WHERE created_at > NOW() - '1 day'::INTERVAL") }}</h4> - </div> - <p class="description">bought for the looks</p> - </div> - <div class="filter"></div> - </div> <!-- end card --> - </div> - - <div class="card-box col-md-4 col-sm-6"> - <div class="card text-center" data-background="image" data-src="assets/images/CrystalMiner.jpg"> - <h4 class="title title-modern">Crystal Sentries</h4> - - <div class="content"> - <div class="price"> - <h6></h6> - <h4>{{ sql_val("SELECT SUM(participant.crystal_mine_captures) FROM participant WHERE participant.created_at > NOW() - '1 day'::INTERVAL") }}</h4> - </div> - <p class="description">slaughtered</p> - </div> - <div class="filter"></div> - </div> <!-- end card --> - </div> - - <div class="card-box col-md-4 col-sm-6"> - <div class="card text-center" data-background="image" data-src="assets/images/flares.jpg"> - <h4 class="title title-modern">Flares</h4> - - <div class="content"> - <div class="price"> - <h6></h6> - <h4>{{ sql_val("SELECT SUM((participant.item_sells->>'*1038_Item_Flare*')::INT) FROM participant WHERE participant.created_at > NOW() - '1 day'::INTERVAL") }}</h4> - </div> - <p class="description">thrown in trash</p> - </div> - <div class="filter"></div> - </div> <!-- end card --> - </div> - - <div class="card-box col-md-4 col-sm-6"> - <div class="card text-center" data-background="image" data-src="assets/images/kraken.jpg"> - <h4 class="title title-modern">Minions</h4> - - <div class="content"> - <div class="price"> - <h6></h6> - <h4>{{ sql_val("SELECT (SUM(match.duration)/60*5) / SUM(roster.kraken_captures) FROM match JOIN roster ON roster.match_api_id=match.api_id WHERE match.created_at > NOW() - '1 day'::INTERVAL") }}</h4> - </div> - <p class="description">are needed to unleash a Kraken</p> - </div> - <div class="filter"></div> - </div> <!-- end card --> - </div> - - <div class="card-box col-md-4 col-sm-6"> - <div class="card text-center" data-background="image" data-src="assets/images/minioncandy.jpg"> - <h4 class="title title-modern">Minion Candies</h4> - - <div class="content"> - <div class="price"> - <h6></h6> - <h4>{{ sql_val("SELECT SUM((item_uses->>'*1041_Item_MinionCandy*')::INT) FROM participant WHERE created_at > NOW() - '1 day'::INTERVAL") }}</h4> - </div> - <p class="description">Minion parties</p> - </div> - <div class="filter"></div> - </div> <!-- end card --> - </div> - - <div class="card-box col-md-4 col-sm-6"> - <div class="card text-center" data-background="image" data-src="assets/images/infusions.jpg"> - <h4 class="title title-modern">Infusions</h4> - - <div class="content"> - <div class="price"> - <h6>every</h6> - <h4>{{ sql_val("SELECT SUM(match.duration)/60 / (SUM((participant.item_uses->>'*1052_Item_WeaponInfusion*')::INT) + SUM((participant.item_uses->>'*1053_Item_CrystalInfusion*')::INT)) FROM participant JOIN roster ON participant.roster_api_id=roster.api_id JOIN match ON roster.match_api_id=match.api_id WHERE participant.created_at > NOW() - '1 day'::INTERVAL") }}<b class="currency"><br/>minutes</b></h4> - </div> - <p class="description">a hero gets high</p> - </div> - <div class="filter"></div> - </div> <!-- end card --> - </div> - - - <div class="card-box col-md-4 col-sm-6"> - <div class="card text-center" data-background="image" data-src="assets/images/scout-traps.jpeg"> - <h4 class="title title-modern">Scout Traps</h4> - - <div class="content"> - <div class="price"> - <h6></h6> - <h4>{{ sql_val("SELECT SUM((item_uses->>'*1054_Item_ScoutTrap*')::INT) FROM participant WHERE participant.created_at > NOW() - '1 day'::INTERVAL") }}<b class="currency"><br/></b></h4> - </div> - <p class="description">made the Fold a Dangerous Place</p> - </div> - <div class="filter"></div> - </div> <!-- end card --> - </div> - - - <div class="card-box col-md-4 col-sm-6"> - <div class="card text-center" data-background="image" data-src="assets/images/saw-turrets.jpeg"> - <h4 class="title title-modern">Turrets</h4> - - <div class="content"> - <div class="price"> - <h6></h6> - <h4>{{ sql_val("SELECT SUM(turret_kills) FROM participant WHERE hero='*SAW*' AND created_at > NOW() - '1 day'::INTERVAL") }}<b class="currency"><br/></b></h4> - </div> - <p class="description">were pushed by SAW in the last 24h</p> - </div> - <div class="filter"></div> - </div> <!-- end card --> - </div> - - - <div class="card-box col-md-4 col-sm-6"> - <div class="card text-center"> - <h4 class="title title-modern">Data</h4> - - <div class="content"> - <p class="description"> - Based on Vainsocial users' data from the past 24 hours that by no means is representative to the whole player base of Vainglory. - </p> - <!-- {{ sql_val("SELECT COUNT(*) FROM match WHERE created_at > NOW() - '1 day'::INTERVAL") }} matches are taken into account for the calculations. --> - </div> - <div class="filter"></div> - </div> - </div> - - -<!-- <div class="card-box col-md-4 col-sm-6"> - <div class="card text-center" data-background="image" data-src=""> - <h4 class="title title-modern"></h4> - - <div class="content"> - <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> - <ins class="adsbygoogle" - style="display:block" - data-ad-client="ca-pub-9871110491651790" - data-ad-slot="9492091157" - data-ad-format="auto"></ins> - <script> - (adsbygoogle = window.adsbygoogle || []).push({}); - </script> - - <div class="filter"></div> - </div> - </div> - --> - </div> - - </div> -</div> <!-- end wrapper --> - -</body> - - <script src="assets/js/jquery-1.10.2.js" type="text/javascript"></script> - <script src="assets/js/bootstrap.min.js" type="text/javascript"></script> - <script src="assets/js/hipster-cards.js"></script> - - - <script type="text/javascript"> - var minions_per_second = {{ sql_val("SELECT SUM(minion_kills)/(24*60*60)::FLOAT FROM participant WHERE participant.created_at > NOW() - '1 day'::INTERVAL") }}; - var minions = 0; - // sum(minions killed) / (seconds per day) - setInterval(() => { - minions += minions_per_second; - $("#minions-killed-now").text(Math.floor(minions)); - }, 1000); - </script> - - <!-- Just for demo --> - <script src="https://cdnjs.cloudflare.com/ajax/libs/masonry/3.3.1/masonry.pkgd.min.js"></script> - - <script> - - $().ready(function(){ - - var $container = $('.masonry-container'); - - doc_width = $(document).width(); - - if (doc_width >= 768){ - $container.masonry({ - itemSelector : '.card-box', - columnWidth : '.card-box', - transitionDuration : 0 - }); - } else { - $('.mas-container').removeClass('mas-container').addClass('row'); - } - }); - </script> - -</html> diff --git a/minionlivesmatter/templates/index1.html b/minionlivesmatter/templates/index1.html deleted file mode 100644 index 912785f..0000000 --- a/minionlivesmatter/templates/index1.html +++ /dev/null @@ -1,418 +0,0 @@ -<!doctype html> -<html lang="en"> -<head> - <meta charset="utf-8" /> - <link rel="icon" type="image/png" href="assets/img/favicon.ico"> - <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> - - <title>Hipster as F*** Cards by Creative Tim</title> - - <meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport' /> - <meta name="viewport" content="width=device-width" /> - - <link href="assets/css/bootstrap.min.css" rel="stylesheet" /> - <link href="assets/css/hipster_cards.css" rel="stylesheet"/> - - <!-- Fonts and icons --> - <link href="assets/css/pe-icon-7-stroke.css" rel="stylesheet" /> - <link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" /> - <link href='http://fonts.googleapis.com/css?family=Playfair+Display|Raleway:700,100,400|Roboto:400,700|Playfair+Display+SC:400,700' rel='stylesheet' type='text/css'> - - <style> - .card{ - margin-bottom: 70px; - } - </style> -</head> -<body> - -<div class="wrapper"> - <div class="container"> - - <div class="container"> - <h1>Minion Lives Matter</h1> - - - <div class="card-box col-md-4 col-sm-6"> - <div class="card card-with-border card-just-text" data-background="color" data-color="black" > - <div class="content"> - <h4 class="title">"{{ sql_val("SELECT COUNT(*) FROM match WHERE created_at > NOW() - '1 day'::INTERVAL") }} matches are taken into account."</h4> - <p class="description">Using VainSocial.com players' data in last 24 hours.</p> - </div> - </div> <!-- end card --> - </div> - - <div class="card-box col-md-4 col-sm-6"> - <div class="card card-just-text card-with-border" data-background="image" data-src="assets/img/music-3.jpg"> - <div class="content"> - <div class="filter filter-red"></div> - <h4 class="title title-modern">"Minions Lives Matter."</h4> - <p class="description">Shutterfly@vaisocial</p> - </div> - - <div class="filter"></div> - </div> <!-- end card --> - </div> - - - <div class="card-box col-md-4 col-sm-6"> - <div class="card card-with-border card-just-text" data-background="color" data-color="black" > - <div class="content"> - <h4 class="title">"Since you opened this page"</h4> - <p class="description">- Hipster Quote</p> - </div> - </div> <!-- end card --> - </div> - - </div> - - <div class="masonry-container"> - <div class="card-box col-md-4 col-sm-6"> - <div class="card"> - <div class="header"> - <img src="assets/img/lifestyle-8.jpg"/> - <div class="filter"></div> - - <div class="actions"> - <button class="btn btn-round btn-fill btn-neutral btn-modern"> - Read Article - </button> - </div> - </div> - - <div class="content"> - <h6 class="category">News</h6> - <h4 class="title"><a href="#">Try the new hairstyle from this Barber Shop </a></h4> - <p class="description">When selling products it's always a good idea to go with commanding fonts that are good at showing authority and security. I feel like Raleway and Roboto do just that.</p> - </div> - </div> <!-- end card --> - </div> - - - <div class="card-box col-md-4 col-sm-6"> - <div class="card" data-background="image" data-src="assets/img/lifestyle-1.jpg"> - <div class="header"> - <div class="category"> - <h6 class="label label-danger">Hipster Tag</h6> - </div> - </div> - - <div class="content"> - <h4 class="title title-uppercase"> - <a href="">Here can be your special title for this card</a> - </h4> - <p class="description">When selling products it's always a good idea to go with commanding fonts that are good at showing authority and security. I feel like Raleway and Roboto do just that.</p> - </div> - <div class="filter"> - - </div> - </div> <!-- end card --> - </div> - - - <div class="card-box col-md-4 col-sm-6"> - <div class="card"> - <div class="content"> - <h6 class="category">Best stories</h6> - <h4 class="title"><a href="#">This is a plain Hipster Card, see for yourself</a></h4> - <p class="description">When selling products it's always a good idea to go with commanding fonts that are good at showing authority and security. I feel like Raleway and Roboto do just that.</p> - </div> - </div> <!-- end card --> - </div> - - - <div class="card-box col-md-4 col-sm-6"> - <div class="card"> - <div class="header"> - <img src="assets/img/beard-1.jpg" /> - - <div class="social-line social-line-visible" data-buttons="4"> - <button class="btn btn-social btn-facebook"> - <i class="fa fa-facebook"></i> - </button> - <button class="btn btn-social btn-twitter"> - <i class="fa fa-twitter"></i> - </button> - <button class="btn btn-social btn-pinterest"> - <i class="fa fa-pinterest"></i> - </button> - <button class="btn btn-social btn-google"> - <i class="fa fa-google-plus"></i> - </button> - </div> - </div> - - <div class="content"> - <h6 class="category">News</h6> - <h4 class="title">Use this card and see what you can achive</h4> - <p class="description">When selling products it's always a good idea to go with commanding fonts that are good at showing authority and security. I feel like Raleway and Roboto do just that.</p> - </div> - </div> <!-- end card --> - </div> - - - - <div class="card-box col-md-4 col-sm-6"> - <div class="card" data-background="image" data-src="assets/img/lifestyle-2.jpg"> - <div class="header"> - <div class="category"> - <h6 class="label label-warning">Trending Post</h6> - </div> - - <div class="social-line" data-buttons="3"> - <button class="btn btn-social btn-facebook"> - <i class="fa fa-facebook-square"></i> Share - </button> - <button class="btn btn-social btn-twitter"> - <i class="fa fa-twitter"></i> Tweet - </button> - <button class="btn btn-social btn-pinterest"> - <i class="fa fa-pinterest"></i> Pin - </button> - </div> - </div> - - <div class="content"> - <h4 class="title">Tobias Van Schneider is a German designer raised in Austria...</h4> - <p class="description">When selling products it's always a good idea to go with commanding fonts that are good at showing authority and security.</p> - </div> - <div class="filter"></div> - </div> <!-- end card --> - </div> - - - - - - <div class="card-box col-md-4 col-sm-6"> - <div class="card card-with-border" data-background="image" data-src="assets/img/fashion-1.jpg"> - <div class="header"> - </div> - - <div class="content text-center"> - <p class="description">When selling products it's always a good idea to go with commanding fonts that are good at showing authority and security. I feel like Raleway and Roboto do just that.</p> - </div> - <div class="footer text-center"> - <a href="#" class="btn btn-danger btn-fill btn-round">Read article</a> - </div> - <div class="filter"></div> - </div> <!-- end card --> - </div> - - - - <div class="card-box col-md-4 col-sm-6"> - <div class="card card-just-text card-with-border" data-background="image" data-src="assets/img/lifestyle-9.jpg"> - <div class="content"> - <h4 class="title title-modern">"I liked nutella, triangles and outerspace way before hipsters."</h4> - <p class="description">- Not A Hipster</p> - </div> - <div class="filter"></div> - </div> <!-- end card --> - </div> - - - <div class="card-box col-md-4 col-sm-6"> - <div class="card card-with-border" data-background="color" data-color="azure"> - <div class="header"> - <div class="icon"> - <i class="pe-7s-radio"></i> - </div> - </div> - <div class="content text-center"> - <h4 class="title title-modern">Nicecream.fm</h4> - <p class="description">Best vibes in the marketplace. Listen to the best music from '89. I feel like Nicecream and .fm do just that.</p> - </div> - <div class="footer text-center"> - <button class="btn btn-neutral btn-round btn-fill btn-modern">Listen Now!</button> - </div> - </div> <!-- end card --> - </div> - - - - - - <div class="card-box col-md-4 col-sm-6"> - <div class="card card-with-border" data-background="color" data-color="orange"> - <div class="content"> - <h6 class="category">Hot Article</h6> - <h4 class="title"> - <a href="#"> Try the new hairstyle from this Barber Shop</a> - </h4> - <p class="description">When selling products it's always a good idea to go with commanding fonts that are good at showing authority and security. I feel like Raleway and Roboto do just that.</p> - </div> - </div> <!-- end card --> - </div> - - - - <div class="card-box col-md-4 col-sm-6"> - <div class="card text-center" data-background="image" data-src="assets/img/city-2.png"> - <h4 class="title title-modern">Hipster Vacation</h4> - - <div class="content"> - <div class="price"> - <h6>From</h6> - <h4>2.799<b class="currency">$</b></h4> - </div> - <p class="description">When selling products it's always a good idea to go with commanding fonts that are good at showing authority and security.</p> - </div> - <div class="filter"></div> - <div class="footer btn-center"> - <button class="btn btn-neutral btn-round btn-fill">Book Now!</button> - </div> - </div> <!-- end card --> - </div> - - - - - <div class="card-box col-md-4 col-sm-6"> - <div class="card card-with-border"> - <div class="header"> - <div class="icon"> - <i class="pe-7s-glasses"></i> - </div> - </div> - <div class="content text-center"> - <h4 class="title text-center">Hipster Glasses App</h4> - <p class="description">Here can be a description about the application that is for download. I feel like this app is what I need.</p> - </div> - <div class="footer btn-center"> - <button class="btn btn-default btn-round btn-fill btn-info btn-modern">Download</button> - </div> - </div> <!-- end card --> - </div> - - - - - - - <div class="card-box col-md-4 col-sm-6"> - <div class="card card-just-text card-with-border" data-background="image" data-src="assets/img/music-3.jpg"> - <div class="content"> - <div class="filter filter-red"></div> - <h4 class="title title-modern">"I like the way you work it -No diggity, I gotta bag it up."</h4> - <p class="description">- Chet Faker</p> - </div> - - <div class="filter"></div> - </div> <!-- end card --> - </div> - - - - <div class="card-box col-md-4 col-sm-6"> - <div class="card card-with-border" data-background="color" data-color="green"> - <div class="header"> - <div class="icon"> - <i class="pe-7s-gift"></i> - </div> - - <div class="social-line" data-buttons="3"> - <button class="btn btn-social btn-facebook"> - <i class="fa fa-facebook"></i> - </button> - <button class="btn btn-social btn-twitter"> - <i class="fa fa-twitter"></i> - </button> - <button class="btn btn-social btn-pinterest"> - <i class="fa fa-pinterest"></i> - </button> - </div> - - </div> - <div class="content text-center"> - <p class="description">Your friend <b>Michael Osborn</b> has sent you a hipster gift card.</p><br> - </div> - <div class="footer btn-center"> - <button class="btn btn-neutral btn-fill btn-modern">View Gift Details</button> - </div> - </div> <!-- end card --> - </div> - - - - <div class="card-box col-md-4 col-sm-6"> - <div class="card" data-background="color" data-color="black"> - <div class="header"> - <img src="assets/img/home-1.jpg"/> - - <div class="social-line" data-buttons="2"> - <button class="btn btn-social"> - <i class="fa fa-facebook-square"></i> Share - </button> - <button class="btn btn-social"> - <i class="fa fa-twitter"></i> Tweet - </button> - </div> - </div> - - <div class="content"> - <h6 class="category">Interior Design</h6> - <h4 class="title"><a href="#">Hipster Apartment sold for $1.2 mil.</a></h4> - <p class="description">When selling products it's always a good idea to go with commanding fonts that are good at showing authority and security. I feel like Raleway and Roboto do just that.</p> - </div> - </div> <!-- end card --> - </div> - - - - <div class="card-box col-md-4 col-sm-6"> - <div class="card text-center" data-background="image" data-src="assets/img/city-1.jpg"> - <h4 class="title title-modern">Hipster City</h4> - - <div class="content"> - <div class="price"> - <h6>From</h6> - <h4>1.499<b class="currency">$</b></h4> - </div> - </div> - - <div class="footer btn-center"> - <button class="btn btn-neutral btn-round btn-modern">Buy Ticket</button> - </div> - - <div class="filter filter-blue"></div> - </div> <!-- end card --> - </div> - - - </div> - - </div> -</div> <!-- end wrapper --> - -</body> - - <script src="assets/js/jquery-1.10.2.js" type="text/javascript"></script> - <script src="assets/js/bootstrap.min.js" type="text/javascript"></script> - <script src="assets/js/hipster-cards.js"></script> - - <!-- Just for demo --> - <script src="https://cdnjs.cloudflare.com/ajax/libs/masonry/3.3.1/masonry.pkgd.min.js"></script> - - <script> - - $().ready(function(){ - - var $container = $('.masonry-container'); - - doc_width = $(document).width(); - - if (doc_width >= 768){ - $container.masonry({ - itemSelector : '.card-box', - columnWidth : '.card-box', - transitionDuration : 0 - }); - } else { - $('.mas-container').removeClass('mas-container').addClass('row'); - } - }); - </script> - -</html>
\ No newline at end of file |
