diff --git a/.babelrc b/.babelrc deleted file mode 100644 index f795e04..0000000 --- a/.babelrc +++ /dev/null @@ -1,14 +0,0 @@ -{ - "presets": [ - [ - "@babel/preset-env", - { - "targets": { - "node": "6.10", - "esmodules": true - } - } - ] - ], - "plugins": ["@babel/plugin-proposal-object-rest-spread"] -} diff --git a/.eslintrc b/.eslintrc deleted file mode 100644 index 3c43d62..0000000 --- a/.eslintrc +++ /dev/null @@ -1,262 +0,0 @@ -{ - // http://eslint.org/docs/rules/ - "extends": "eslint:recommended", - - "settings": { - "react": { - "version": "detect" - } - }, - - "env": { - "browser": true, // browser global variables. - "node": true, // Node.js global variables and Node.js-specific rules. - "amd": true, // defines require() and define() as global variables as per the amd spec. - "mocha": false, // adds all of the Mocha testing global variables. - "jasmine": false, // adds all of the Jasmine testing global variables for version 1.3 and 2.0. - "phantomjs": false, // phantomjs global variables. - "jquery": true, // jquery global variables. - "prototypejs": false, // prototypejs global variables. - "shelljs": false, // shelljs global variables. - "es6": true - }, - - "globals": { - // e.g. "angular": true - }, - - "plugins": [ - "react", - "import", - "jquery" - ], - - "parser": "babel-eslint", - - "parserOptions": { - "ecmaVersion": 6, - "sourceType": "module", - "ecmaFeatures": { - "jsx": true, - "experimentalObjectRestSpread": true - } - }, - - "rules": { - ////////// Possible Errors ////////// - - "no-comma-dangle": 0, // disallow trailing commas in object literals - "no-cond-assign": 0, // disallow assignment in conditional expressions - "no-console": 0, // disallow use of console (off by default in the node environment) - "no-constant-condition": 0, // disallow use of constant expressions in conditions - "no-control-regex": 0, // disallow control characters in regular expressions - "no-debugger": 0, // disallow use of debugger - "no-dupe-keys": 0, // disallow duplicate keys when creating object literals - "no-empty": 0, // disallow empty statements - "no-empty-class": 0, // disallow the use of empty character classes in regular expressions - "no-ex-assign": 0, // disallow assigning to the exception in a catch block - "no-extra-boolean-cast": 0, // disallow double-negation boolean casts in a boolean context - "no-extra-parens": 0, // disallow unnecessary parentheses (off by default) - "no-extra-semi": 0, // disallow unnecessary semicolons - "no-func-assign": 0, // disallow overwriting functions written as function declarations - "no-inner-declarations": 0, // disallow function or variable declarations in nested blocks - "no-invalid-regexp": 0, // disallow invalid regular expression strings in the RegExp constructor - "no-irregular-whitespace": 0, // disallow irregular whitespace outside of strings and comments - "no-negated-in-lhs": 0, // disallow negation of the left operand of an in expression - "no-obj-calls": 0, // disallow the use of object properties of the global object (Math and JSON) as functions - "no-regex-spaces": 0, // disallow multiple spaces in a regular expression literal - "no-reserved-keys": 0, // disallow reserved words being used as object literal keys (off by default) - "no-sparse-arrays": 0, // disallow sparse arrays - "no-unreachable": 0, // disallow unreachable statements after a return, throw, continue, or break statement - "use-isnan": 0, // disallow comparisons with the value NaN - "valid-jsdoc": 0, // Ensure JSDoc comments are valid (off by default) - "valid-typeof": 0, // Ensure that the results of typeof are compared against a valid string - - - ////////// Best Practices ////////// - - "block-scoped-var": 0, // treat var statements as if they were block scoped (off by default) - "complexity": 0, // specify the maximum cyclomatic complexity allowed in a program (off by default) - "consistent-return": 0, // require return statements to either always or never specify values - "curly": 0, // specify curly brace conventions for all control statements - "default-case": 0, // require default case in switch statements (off by default) - "dot-notation": 0, // encourages use of dot notation whenever possible - "eqeqeq": 0, // require the use of === and !== - "guard-for-in": 0, // make sure for-in loops have an if statement (off by default) - "no-alert": 0, // disallow the use of alert, confirm, and prompt - "no-caller": 0, // disallow use of arguments.caller or arguments.callee - "no-div-regex": 0, // disallow division operators explicitly at beginning of regular expression (off by default) - "no-else-return": 0, // disallow else after a return in an if (off by default) - "no-empty-label": 0, // disallow use of labels for anything other then loops and switches - "no-eq-null": 0, // disallow comparisons to null without a type-checking operator (off by default) - "no-eval": 0, // disallow use of eval() - "no-extend-native": 0, // disallow adding to native types - "no-extra-bind": 0, // disallow unnecessary function binding - "no-fallthrough": 0, // disallow fallthrough of case statements - "no-floating-decimal": 0, // disallow the use of leading or trailing decimal points in numeric literals (off by default) - "no-implied-eval": 0, // disallow use of eval()-like methods - "no-iterator": 0, // disallow usage of __iterator__ property - "no-labels": 0, // disallow use of labeled statements - "no-lone-blocks": 0, // disallow unnecessary nested blocks - "no-loop-func": 0, // disallow creation of functions within loops - "no-multi-spaces": 0, // disallow use of multiple spaces - "no-multi-str": 0, // disallow use of multiline strings - "no-native-reassign": 0, // disallow reassignments of native objects - "no-new": 0, // disallow use of new operator when not part of the assignment or comparison - "no-new-func": 0, // disallow use of new operator for Function object - "no-new-wrappers": 0, // disallows creating new instances of String, Number, and Boolean - "no-octal": 0, // disallow use of octal literals - "no-octal-escape": 0, // disallow use of octal escape sequences in string literals, such as var foo = "Copyright \251"; - "no-process-env": 0, // disallow use of process.env (off by default) - "no-proto": 0, // disallow usage of __proto__ property - "no-redeclare": 0, // disallow declaring the same variable more then once - "no-return-assign": 0, // disallow use of assignment in return statement - "no-script-url": 0, // disallow use of javascript: urls. - "no-self-compare": 0, // disallow comparisons where both sides are exactly the same (off by default) - "no-sequences": 0, // disallow use of comma operator - "no-unused-expressions": 0, // disallow usage of expressions in statement position - "no-void": 0, // disallow use of void operator (off by default) - "no-warning-comments": 0, // disallow usage of configurable warning terms in comments, e.g. TODO or FIXME (off by default) - "no-with": 0, // disallow use of the with statement - "radix": 0, // require use of the second argument for parseInt() (off by default) - "vars-on-top": 0, // requires to declare all vars on top of their containing scope (off by default) - "wrap-iife": 0, // require immediate function invocation to be wrapped in parentheses (off by default) - "yoda": 0, // require or disallow Yoda conditions - - - ////////// Strict Mode ////////// - - "global-strict": 0, // (deprecated) require or disallow the "use strict" pragma in the global scope (off by default in the node environment) - "no-extra-strict": 0, // (deprecated) disallow unnecessary use of "use strict"; when already in strict mode - "strict": 0, // controls location of Use Strict Directives - - - ////////// Variables ////////// - - "no-catch-shadow": 0, // disallow the catch clause parameter name being the same as a variable in the outer scope (off by default in the node environment) - "no-delete-var": 0, // disallow deletion of variables - "no-label-var": 0, // disallow labels that share a name with a variable - "no-shadow": 0, // disallow declaration of variables already declared in the outer scope - "no-shadow-restricted-names": 0, // disallow shadowing of names such as arguments - "no-undef": 0, // disallow use of undeclared variables unless mentioned in a /*global */ block - "no-undef-init": 0, // disallow use of undefined when initializing variables - "no-undefined": 0, // disallow use of undefined variable (off by default) - "no-unused-vars": 0, // disallow declaration of variables that are not used in the code - "no-use-before-define": 0, // disallow use of variables before they are defined - - - ////////// Node.js ////////// - - "handle-callback-err": 0, // enforces error handling in callbacks (off by default) (on by default in the node environment) - "no-mixed-requires": 0, // disallow mixing regular variable and require declarations (off by default) (on by default in the node environment) - "no-new-require": 0, // disallow use of new operator with the require function (off by default) (on by default in the node environment) - "no-path-concat": 0, // disallow string concatenation with __dirname and __filename (off by default) (on by default in the node environment) - "no-process-exit": 0, // disallow process.exit() (on by default in the node environment) - "no-restricted-modules": 0, // restrict usage of specified node modules (off by default) - "no-sync": 0, // disallow use of synchronous methods (off by default) - - - ////////// Stylistic Issues ////////// - - "brace-style": 0, // enforce one true brace style (off by default) - "camelcase": 0, // require camel case names - "comma-spacing": 0, // enforce spacing before and after comma - "comma-style": 0, // enforce one true comma style (off by default) - "consistent-this": 0, // enforces consistent naming when capturing the current execution context (off by default) - "eol-last": 0, // enforce newline at the end of file, with no multiple empty lines - "func-names": 0, // require function expressions to have a name (off by default) - "func-style": 0, // enforces use of function declarations or expressions (off by default) - "key-spacing": 0, // enforces spacing between keys and values in object literal properties - "max-nested-callbacks": 0, // specify the maximum depth callbacks can be nested (off by default) - "new-cap": 0, // require a capital letter for constructors - "new-parens": 0, // disallow the omission of parentheses when invoking a constructor with no arguments - "no-array-constructor": 0, // disallow use of the Array constructor - "no-inline-comments": 0, // disallow comments inline after code (off by default) - "no-lonely-if": 0, // disallow if as the only statement in an else block (off by default) - "no-mixed-spaces-and-tabs": 0, // disallow mixed spaces and tabs for indentation - "no-multiple-empty-lines": 0, // disallow multiple empty lines (off by default) - "no-nested-ternary": 0, // disallow nested ternary expressions (off by default) - "no-new-object": 0, // disallow use of the Object constructor - "no-space-before-semi": 0, // disallow space before semicolon - "no-spaced-func": 0, // disallow space between function identifier and application - "no-ternary": 0, // disallow the use of ternary operators (off by default) - "no-trailing-spaces": 0, // disallow trailing whitespace at the end of lines - "no-underscore-dangle": 0, // disallow dangling underscores in identifiers - "no-wrap-func": 0, // disallow wrapping of non-IIFE statements in parens - "one-var": 0, // allow just one var statement per function (off by default) - "operator-assignment": 0, // require assignment operator shorthand where possible or prohibit it entirely (off by default) - "padded-blocks": 0, // enforce padding within blocks (off by default) - "quote-props": 0, // require quotes around object literal property names (off by default) - "quotes": 0, // specify whether double or single quotes should be used - "semi": 0, // require or disallow use of semicolons instead of ASI - "sort-vars": 0, // sort variables within the same declaration block (off by default) - "space-after-function-name": 0, // require a space after function names (off by default) - "space-after-keywords": 0, // require a space after certain keywords (off by default) - "space-before-blocks": 0, // require or disallow space before blocks (off by default) - "space-in-brackets": 0, // require or disallow spaces inside brackets (off by default) - "space-in-parens": 0, // require or disallow spaces inside parentheses (off by default) - "space-infix-ops": 0, // require spaces around operators - "space-return-throw-case": 0, // require a space after return, throw, and case - "space-unary-ops": 0, // Require or disallow spaces before/after unary operators (words on by default, nonwords off by default) - "spaced-line-comment": 0, // require or disallow a space immediately following the // in a line comment (off by default) - "wrap-regex": 0, // require regex literals to be wrapped in parentheses (off by default) - - - ////////// ECMAScript 6 ////////// - - "no-var": 0, // require let or const instead of var (off by default) - "generator-star": 0, // enforce the position of the * in generator functions (off by default) - - - ////////// Legacy ////////// - - "max-depth": 0, // specify the maximum depth that blocks can be nested (off by default) - "max-len": 0, // specify the maximum length of a line in your program (off by default) - "max-params": 0, // limits the number of parameters that can be used in the function declaration. (off by default) - "max-statements": 0, // specify the maximum number of statement allowed in a function (off by default) - "no-bitwise": 0, // disallow use of bitwise operators (off by default) - "no-plusplus": 0, // disallow use of unary operators, ++ and -- (off by default) - - //////// Extra ////////// - "array-bracket-spacing": ["error", "never"], - "array-callback-return": "error", - "arrow-parens": ["error", "always"], - "arrow-spacing": ["error", { "before": true, "after": true }], - "comma-dangle": ["error", "always-multiline"], - "indent": ["error", 2, { "SwitchCase": 1 }], - "no-case-declarations": "error", - "no-confusing-arrow": "error", - "no-duplicate-imports": "error", - "no-param-reassign": "error", - "no-useless-escape": "error", - "object-curly-spacing": ["error", "always"], - "object-shorthand": ["error", "properties"], - "prefer-arrow-callback": "error", - "prefer-const": "error", - "prefer-template": "error", - "react/jsx-closing-bracket-location": "error", - "react/jsx-curly-spacing": ["error", "never", {"allowMultiline": true}], - "react/jsx-filename-extension": ["error", { "extensions": [".react.js", ".js", ".jsx"] }], - "react/jsx-no-duplicate-props": "error", - "react/jsx-no-bind": ["error", { "ignoreRefs": true, "allowArrowFunctions": true, "allowBind": false }], - "react/jsx-no-undef": "error", - "react/jsx-pascal-case": "error", - "react/jsx-tag-spacing": ["error", {"closingSlash": "never", "beforeSelfClosing": "always", "afterOpening": "never"}], - "react/jsx-uses-react": "error", - "react/jsx-uses-vars": "error", - "react/no-danger": "error", - "react/no-deprecated": "error", - "react/no-did-mount-set-state": "error", - "react/no-did-update-set-state": "error", - "react/no-direct-mutation-state": "error", - "react/no-is-mounted": "error", - "react/no-multi-comp": "error", - "react/prefer-es6-class": "error", - "react/prop-types": "error", - "react/require-render-return": "error", - "react/self-closing-comp": "error", - "react/sort-comp": "error", - "import/no-mutable-exports": "error", - "import/imports-first": "warn" - } -} \ No newline at end of file diff --git a/babel.config.json b/babel.config.json new file mode 100644 index 0000000..3b7f619 --- /dev/null +++ b/babel.config.json @@ -0,0 +1,27 @@ +{ + "presets": [ + [ + "@babel/preset-env", + { + "targets": { + "node": "6.10", + "esmodules": true + } + } + ], + [ + "@babel/preset-react", + { + "pragma": "dom", // default pragma is React.createElement (only in classic runtime) + "pragmaFrag": "DomFrag", // default is React.Fragment (only in classic runtime) + "throwIfNamespace": false, // defaults to true + "runtime": "classic" // defaults to classic + // "importSource": "custom-jsx-library" // defaults to react (only in automatic runtime) + } + ] + ], + "plugins": [ + "@babel/plugin-proposal-object-rest-spread", + "@babel/plugin-syntax-jsx" + ] +} diff --git a/dist/css/app_SilverShop.Page.CheckoutPageController.css b/dist/css/app_SilverShop.Page.CheckoutPageController.css deleted file mode 100644 index 1beb94c..0000000 --- a/dist/css/app_SilverShop.Page.CheckoutPageController.css +++ /dev/null @@ -1 +0,0 @@ -@keyframes pulse{0%{transform:scale(1)}50%{transform:scale(.8)}to{transform:scale(1)}}@keyframes fade{0%{opacity:1}50%{opacity:.5}to{opacity:1}}.mapAPI-map{height:30rem;margin-bottom:4rem}.mapboxgl-popup{width:16rem;height:7rem;font-size:.8rem;line-height:1.2em;position:absolute;top:0;left:0;display:flex;pointer-events:none;z-index:4}.mapboxgl-popup-anchor-bottom,.mapboxgl-popup-anchor-bottom-left,.mapboxgl-popup-anchor-bottom-right{flex-direction:column-reverse}.mapboxgl-popup-content{min-width:16rem;background:#fff;color:#212121;position:relative;pointer-events:auto;padding:.8rem;border-radius:.25rem;min-height:5rem;box-shadow:0 .1rem .8rem 0 rgba(0,0,0,.4)}.mapboxgl-popup-close-button{position:absolute;right:0;top:0;font-size:2rem;padding:.5rem;border-top-right-radius:.25rem;z-index:2}.mapboxgl-popup-close-button:focus,.mapboxgl-popup-close-button:hover{background:#2196f3;color:#fff}.mapboxgl-popup-tip{width:0;height:0;border:.8rem solid transparent;z-index:1}.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip{border-top-color:#fff;align-self:center;border-bottom:none}.mapboxgl-marker{width:30px;height:30px;font-size:30px;line-height:1em;color:#2196f3;cursor:pointer;text-align:center;display:flex;align-items:flex-end;justify-content:center}.mapboxgl-marker .fab,.mapboxgl-marker .far,.mapboxgl-marker .fas,.mapboxgl-marker .marker-icon{animation:pulse .8s linear infinite}.mapboxgl-cluster{background:#00bcd4;color:#fff;border-radius:100%;font-weight:700;font-size:1.2rem;display:flex;align-items:center;animation:pulse .8s linear infinite}.mapboxgl-cluster:after,.mapboxgl-cluster:before{content:"";display:block;position:absolute;width:140%;height:140%;transform:translate(-50%,-50%);top:50%;left:50%;background:#00bcd4;opacity:.2;border-radius:100%;z-index:-1}.mapboxgl-cluster:after{width:180%;height:180%} \ No newline at end of file diff --git a/dist/css/app_Site.Controllers.MapElementController.css b/dist/css/app_Site.Controllers.MapElementController.css deleted file mode 100644 index 1beb94c..0000000 --- a/dist/css/app_Site.Controllers.MapElementController.css +++ /dev/null @@ -1 +0,0 @@ -@keyframes pulse{0%{transform:scale(1)}50%{transform:scale(.8)}to{transform:scale(1)}}@keyframes fade{0%{opacity:1}50%{opacity:.5}to{opacity:1}}.mapAPI-map{height:30rem;margin-bottom:4rem}.mapboxgl-popup{width:16rem;height:7rem;font-size:.8rem;line-height:1.2em;position:absolute;top:0;left:0;display:flex;pointer-events:none;z-index:4}.mapboxgl-popup-anchor-bottom,.mapboxgl-popup-anchor-bottom-left,.mapboxgl-popup-anchor-bottom-right{flex-direction:column-reverse}.mapboxgl-popup-content{min-width:16rem;background:#fff;color:#212121;position:relative;pointer-events:auto;padding:.8rem;border-radius:.25rem;min-height:5rem;box-shadow:0 .1rem .8rem 0 rgba(0,0,0,.4)}.mapboxgl-popup-close-button{position:absolute;right:0;top:0;font-size:2rem;padding:.5rem;border-top-right-radius:.25rem;z-index:2}.mapboxgl-popup-close-button:focus,.mapboxgl-popup-close-button:hover{background:#2196f3;color:#fff}.mapboxgl-popup-tip{width:0;height:0;border:.8rem solid transparent;z-index:1}.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip{border-top-color:#fff;align-self:center;border-bottom:none}.mapboxgl-marker{width:30px;height:30px;font-size:30px;line-height:1em;color:#2196f3;cursor:pointer;text-align:center;display:flex;align-items:flex-end;justify-content:center}.mapboxgl-marker .fab,.mapboxgl-marker .far,.mapboxgl-marker .fas,.mapboxgl-marker .marker-icon{animation:pulse .8s linear infinite}.mapboxgl-cluster{background:#00bcd4;color:#fff;border-radius:100%;font-weight:700;font-size:1.2rem;display:flex;align-items:center;animation:pulse .8s linear infinite}.mapboxgl-cluster:after,.mapboxgl-cluster:before{content:"";display:block;position:absolute;width:140%;height:140%;transform:translate(-50%,-50%);top:50%;left:50%;background:#00bcd4;opacity:.2;border-radius:100%;z-index:-1}.mapboxgl-cluster:after{width:180%;height:180%} \ No newline at end of file diff --git a/dist/icons/manifest.json b/dist/icons/manifest.json index 56dc0ca..42486e7 100644 --- a/dist/icons/manifest.json +++ b/dist/icons/manifest.json @@ -1,6 +1,6 @@ { - "name": "@a2nt/ss-bootstrap-ui-webpack-boilerplate", - "short_name": "@a2nt/ss-bootstrap-ui-webpack-boilerplate", + "name": "@a2nt/ss-bootstrap-ui-webpack-boilerplate-react", + "short_name": "@a2nt/ss-bootstrap-ui-webpack-boilerplate-react", "description": "This UI Kit allows you to build Bootstrap 4 webapp with some extra UI features. It's easy to extend and easy to convert HTML templates to CMS templates.", "dir": "auto", "lang": "en-US", diff --git a/dist/icons/manifest.webapp b/dist/icons/manifest.webapp index c420c2a..3bc7ae3 100644 --- a/dist/icons/manifest.webapp +++ b/dist/icons/manifest.webapp @@ -1,6 +1,6 @@ { - "version": "2.8.7", - "name": "@a2nt/ss-bootstrap-ui-webpack-boilerplate", + "version": "3.0.0", + "name": "@a2nt/ss-bootstrap-ui-webpack-boilerplate-react", "description": "This UI Kit allows you to build Bootstrap 4 webapp with some extra UI features. It's easy to extend and easy to convert HTML templates to CMS templates.", "icons": { "60": "/icons/firefox_app_60x60.png", diff --git a/dist/icons/yandex-browser-manifest.json b/dist/icons/yandex-browser-manifest.json index d37ba47..15ab2e8 100644 --- a/dist/icons/yandex-browser-manifest.json +++ b/dist/icons/yandex-browser-manifest.json @@ -1,5 +1,5 @@ { - "version": "2.8.7", + "version": "3.0.0", "api_version": 1, "layout": { "logo": "/icons/yandex-browser-50x50.png", diff --git a/dist/index.html b/dist/index.html index 93fe975..8d2229d 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1,4 +1,4 @@ -Webpack Bootstrap 4 UI Demo

Flyout Demo

Lipsum .... .... ....

Content Demo

Quick start

  1. Clone quick start repository

    git clone https://github.com/a2nt/webpack-bootstrap-ui-kit-quick-start.git
  2. Install npm packages

    +Webpack Bootstrap 4 UI Demo

    Flyout Demo

    Lipsum .... .... ....

    Content Demo

    Quick start

    1. Clone quick start repository

      git clone https://github.com/a2nt/webpack-bootstrap-ui-kit-quick-start.git
    2. Install npm packages

       				cd ./webpack-bootstrap-ui-kit-quick-start.git
       				npm install
      -			
    3. Edit ./src files

    4. Start development server at https://127.0.0.1:8001/:

      yarn start

      Compile:

      yarn build

    Header #2

    Test ImageContent Text Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

    1. First
      • First
      • Second
        1. First
        2. Second
        3. Third
        • First
        • Second
        • Third
      • Content Text Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

    2. {paragraph} Second

      {paragraph} Second #2

    3. Content Text Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

    Table #1: Default

    #1#2#3
    #1-1#1-2#1-3
    #2-1#2-2#2-3
    #3-1#3-2#3-3

    Content Text Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

    Table #2: Border-less

    #1#2#3
    #1-1#1-2#1-3
    #2-1#2-2#2-3
    #3-1#3-2#3-3

    Content Header

    Some content ...
    Some kind image
    Some kind image
    Some kind image
    Some kind image

    Accordion demo

    Some content ...

    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

    It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).

    It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).

    It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).

    Find Location

    Use _consts.js to change Google Maps to Mapbox.

    Office #1
    17 Lakeside Drive
    U
    Office #2
    Flower Hill Cemetery
    N
    Office #3
    555 Phoenix Road
    U
    Office #4
    15 East Hadley Road
    U
    \ No newline at end of file +
  3. Edit ./src files

  4. Start development server at https://127.0.0.1:8001/:

    yarn start

    Compile:

    yarn build

Header #2

Test ImageContent Text Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

  1. First
    • First
    • Second
      1. First
      2. Second
      3. Third
      • First
      • Second
      • Third
    • Content Text Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

  2. {paragraph} Second

    {paragraph} Second #2

  3. Content Text Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

Table #1: Default

#1#2#3
#1-1#1-2#1-3
#2-1#2-2#2-3
#3-1#3-2#3-3

Content Text Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

Table #2: Border-less

#1#2#3
#1-1#1-2#1-3
#2-1#2-2#2-3
#3-1#3-2#3-3

Content Header

Some content ...
Some kind image
Some kind image
Some kind image
Some kind image

Accordion demo

Some content ...

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).

Find Location

Use _consts.js to change Google Maps to Mapbox.

Office #1
17 Lakeside Drive
U
Office #2
Flower Hill Cemetery
N
Office #3
555 Phoenix Road
U
Office #4
15 East Hadley Road
U
\ No newline at end of file diff --git a/dist/js/app.js b/dist/js/app.js index 1b09323..3cf60d1 100644 --- a/dist/js/app.js +++ b/dist/js/app.js @@ -1,2 +1 @@ -/*! For license information please see app.js.LICENSE.txt */ -!function(){var i={3313:function(i,d,h){i.exports=h(3906)},5161:function(i,d,h){"use strict";var g=h(1572),v=h(5969),_=h(352),y=h(8067),b=h(3066),w=h(8109),C=h(1706),T=h(9536);i.exports=function xhrAdapter(i){return new Promise((function dispatchXhrRequest(d,h){var S=i.data,k=i.headers;g.isFormData(S)&&delete k["Content-Type"];var A=new XMLHttpRequest;if(i.auth){var P=i.auth.username||"",O=i.auth.password?unescape(encodeURIComponent(i.auth.password)):"";k.Authorization="Basic "+btoa(P+":"+O)}var M=b(i.baseURL,i.url);if(A.open(i.method.toUpperCase(),y(M,i.params,i.paramsSerializer),!0),A.timeout=i.timeout,A.onreadystatechange=function handleLoad(){if(A&&4===A.readyState&&(0!==A.status||A.responseURL&&0===A.responseURL.indexOf("file:"))){var g="getAllResponseHeaders"in A?w(A.getAllResponseHeaders()):null,_={data:i.responseType&&"text"!==i.responseType?A.response:A.responseText,status:A.status,statusText:A.statusText,headers:g,config:i,request:A};v(d,h,_),A=null}},A.onabort=function handleAbort(){A&&(h(T("Request aborted",i,"ECONNABORTED",A)),A=null)},A.onerror=function handleError(){h(T("Network Error",i,null,A)),A=null},A.ontimeout=function handleTimeout(){var d="timeout of "+i.timeout+"ms exceeded";i.timeoutErrorMessage&&(d=i.timeoutErrorMessage),h(T(d,i,"ECONNABORTED",A)),A=null},g.isStandardBrowserEnv()){var D=(i.withCredentials||C(M))&&i.xsrfCookieName?_.read(i.xsrfCookieName):void 0;D&&(k[i.xsrfHeaderName]=D)}if("setRequestHeader"in A&&g.forEach(k,(function setRequestHeader(i,d){"undefined"===typeof S&&"content-type"===d.toLowerCase()?delete k[d]:A.setRequestHeader(d,i)})),g.isUndefined(i.withCredentials)||(A.withCredentials=!!i.withCredentials),i.responseType)try{A.responseType=i.responseType}catch(R){if("json"!==i.responseType)throw R}"function"===typeof i.onDownloadProgress&&A.addEventListener("progress",i.onDownloadProgress),"function"===typeof i.onUploadProgress&&A.upload&&A.upload.addEventListener("progress",i.onUploadProgress),i.cancelToken&&i.cancelToken.promise.then((function onCanceled(i){A&&(A.abort(),h(i),A=null)})),S||(S=null),A.send(S)}))}},3906:function(i,d,h){"use strict";var g=h(1572),v=h(1202),_=h(6160),y=h(2032);function createInstance(i){var d=new _(i),h=v(_.prototype.request,d);return g.extend(h,_.prototype,d),g.extend(h,d),h}var b=createInstance(h(3178));b.Axios=_,b.create=function create(i){return createInstance(y(b.defaults,i))},b.Cancel=h(4619),b.CancelToken=h(5801),b.isCancel=h(3327),b.all=function all(i){return Promise.all(i)},b.spread=h(428),b.isAxiosError=h(2513),i.exports=b,i.exports.default=b},4619:function(i){"use strict";function Cancel(i){this.message=i}Cancel.prototype.toString=function toString(){return"Cancel"+(this.message?": "+this.message:"")},Cancel.prototype.__CANCEL__=!0,i.exports=Cancel},5801:function(i,d,h){"use strict";var g=h(4619);function CancelToken(i){if("function"!==typeof i)throw new TypeError("executor must be a function.");var d;this.promise=new Promise((function promiseExecutor(i){d=i}));var h=this;i((function cancel(i){h.reason||(h.reason=new g(i),d(h.reason))}))}CancelToken.prototype.throwIfRequested=function throwIfRequested(){if(this.reason)throw this.reason},CancelToken.source=function source(){var i;return{token:new CancelToken((function executor(d){i=d})),cancel:i}},i.exports=CancelToken},3327:function(i){"use strict";i.exports=function isCancel(i){return!(!i||!i.__CANCEL__)}},6160:function(i,d,h){"use strict";var g=h(1572),v=h(8067),_=h(5664),y=h(8457),b=h(2032);function Axios(i){this.defaults=i,this.interceptors={request:new _,response:new _}}Axios.prototype.request=function request(i){"string"===typeof i?(i=arguments[1]||{}).url=arguments[0]:i=i||{},(i=b(this.defaults,i)).method?i.method=i.method.toLowerCase():this.defaults.method?i.method=this.defaults.method.toLowerCase():i.method="get";var d=[y,void 0],h=Promise.resolve(i);for(this.interceptors.request.forEach((function unshiftRequestInterceptors(i){d.unshift(i.fulfilled,i.rejected)})),this.interceptors.response.forEach((function pushResponseInterceptors(i){d.push(i.fulfilled,i.rejected)}));d.length;)h=h.then(d.shift(),d.shift());return h},Axios.prototype.getUri=function getUri(i){return i=b(this.defaults,i),v(i.url,i.params,i.paramsSerializer).replace(/^\?/,"")},g.forEach(["delete","get","head","options"],(function forEachMethodNoData(i){Axios.prototype[i]=function(d,h){return this.request(b(h||{},{method:i,url:d,data:(h||{}).data}))}})),g.forEach(["post","put","patch"],(function forEachMethodWithData(i){Axios.prototype[i]=function(d,h,g){return this.request(b(g||{},{method:i,url:d,data:h}))}})),i.exports=Axios},5664:function(i,d,h){"use strict";var g=h(1572);function InterceptorManager(){this.handlers=[]}InterceptorManager.prototype.use=function use(i,d){return this.handlers.push({fulfilled:i,rejected:d}),this.handlers.length-1},InterceptorManager.prototype.eject=function eject(i){this.handlers[i]&&(this.handlers[i]=null)},InterceptorManager.prototype.forEach=function forEach(i){g.forEach(this.handlers,(function forEachHandler(d){null!==d&&i(d)}))},i.exports=InterceptorManager},3066:function(i,d,h){"use strict";var g=h(5096),v=h(1431);i.exports=function buildFullPath(i,d){return i&&!g(d)?v(i,d):d}},9536:function(i,d,h){"use strict";var g=h(6706);i.exports=function createError(i,d,h,v,_){var y=new Error(i);return g(y,d,h,v,_)}},8457:function(i,d,h){"use strict";var g=h(1572),v=h(6427),_=h(3327),y=h(3178);function throwIfCancellationRequested(i){i.cancelToken&&i.cancelToken.throwIfRequested()}i.exports=function dispatchRequest(i){return throwIfCancellationRequested(i),i.headers=i.headers||{},i.data=v(i.data,i.headers,i.transformRequest),i.headers=g.merge(i.headers.common||{},i.headers[i.method]||{},i.headers),g.forEach(["delete","get","head","post","put","patch","common"],(function cleanHeaderConfig(d){delete i.headers[d]})),(i.adapter||y.adapter)(i).then((function onAdapterResolution(d){return throwIfCancellationRequested(i),d.data=v(d.data,d.headers,i.transformResponse),d}),(function onAdapterRejection(d){return _(d)||(throwIfCancellationRequested(i),d&&d.response&&(d.response.data=v(d.response.data,d.response.headers,i.transformResponse))),Promise.reject(d)}))}},6706:function(i){"use strict";i.exports=function enhanceError(i,d,h,g,v){return i.config=d,h&&(i.code=h),i.request=g,i.response=v,i.isAxiosError=!0,i.toJSON=function toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},i}},2032:function(i,d,h){"use strict";var g=h(1572);i.exports=function mergeConfig(i,d){d=d||{};var h={},v=["url","method","data"],_=["headers","auth","proxy","params"],y=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],b=["validateStatus"];function getMergedValue(i,d){return g.isPlainObject(i)&&g.isPlainObject(d)?g.merge(i,d):g.isPlainObject(d)?g.merge({},d):g.isArray(d)?d.slice():d}function mergeDeepProperties(v){g.isUndefined(d[v])?g.isUndefined(i[v])||(h[v]=getMergedValue(void 0,i[v])):h[v]=getMergedValue(i[v],d[v])}g.forEach(v,(function valueFromConfig2(i){g.isUndefined(d[i])||(h[i]=getMergedValue(void 0,d[i]))})),g.forEach(_,mergeDeepProperties),g.forEach(y,(function defaultToConfig2(v){g.isUndefined(d[v])?g.isUndefined(i[v])||(h[v]=getMergedValue(void 0,i[v])):h[v]=getMergedValue(void 0,d[v])})),g.forEach(b,(function merge(g){g in d?h[g]=getMergedValue(i[g],d[g]):g in i&&(h[g]=getMergedValue(void 0,i[g]))}));var w=v.concat(_).concat(y).concat(b),C=Object.keys(i).concat(Object.keys(d)).filter((function filterAxiosKeys(i){return-1===w.indexOf(i)}));return g.forEach(C,mergeDeepProperties),h}},5969:function(i,d,h){"use strict";var g=h(9536);i.exports=function settle(i,d,h){var v=h.config.validateStatus;h.status&&v&&!v(h.status)?d(g("Request failed with status code "+h.status,h.config,null,h.request,h)):i(h)}},6427:function(i,d,h){"use strict";var g=h(1572);i.exports=function transformData(i,d,h){return g.forEach(h,(function transform(h){i=h(i,d)})),i}},3178:function(i,d,h){"use strict";var g=h(1572),v=h(418),_={"Content-Type":"application/x-www-form-urlencoded"};function setContentTypeIfUnset(i,d){!g.isUndefined(i)&&g.isUndefined(i["Content-Type"])&&(i["Content-Type"]=d)}var y={adapter:function getDefaultAdapter(){var i;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(i=h(5161)),i}(),transformRequest:[function transformRequest(i,d){return v(d,"Accept"),v(d,"Content-Type"),g.isFormData(i)||g.isArrayBuffer(i)||g.isBuffer(i)||g.isStream(i)||g.isFile(i)||g.isBlob(i)?i:g.isArrayBufferView(i)?i.buffer:g.isURLSearchParams(i)?(setContentTypeIfUnset(d,"application/x-www-form-urlencoded;charset=utf-8"),i.toString()):g.isObject(i)?(setContentTypeIfUnset(d,"application/json;charset=utf-8"),JSON.stringify(i)):i}],transformResponse:[function transformResponse(i){if("string"===typeof i)try{i=JSON.parse(i)}catch(d){}return i}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function validateStatus(i){return i>=200&&i<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};g.forEach(["delete","get","head"],(function forEachMethodNoData(i){y.headers[i]={}})),g.forEach(["post","put","patch"],(function forEachMethodWithData(i){y.headers[i]=g.merge(_)})),i.exports=y},1202:function(i){"use strict";i.exports=function bind(i,d){return function wrap(){for(var h=new Array(arguments.length),g=0;g=0)return;y[d]="set-cookie"===d?(y[d]?y[d]:[]).concat([h]):y[d]?y[d]+", "+h:h}})),y):y}},428:function(i){"use strict";i.exports=function spread(i){return function wrap(d){return i.apply(null,d)}}},1572:function(i,d,h){"use strict";function _typeof(i){return(_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(i){return typeof i}:function _typeof(i){return i&&"function"===typeof Symbol&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i})(i)}var g=h(1202),v=Object.prototype.toString;function isArray(i){return"[object Array]"===v.call(i)}function isUndefined(i){return"undefined"===typeof i}function isObject(i){return null!==i&&"object"===_typeof(i)}function isPlainObject(i){if("[object Object]"!==v.call(i))return!1;var d=Object.getPrototypeOf(i);return null===d||d===Object.prototype}function isFunction(i){return"[object Function]"===v.call(i)}function forEach(i,d){if(null!==i&&"undefined"!==typeof i)if("object"!==_typeof(i)&&(i=[i]),isArray(i))for(var h=0,g=i.length;h=0&&C>0){for(g=[],_=h.length;T>=0&&!b;)T==w?(g.push(T),w=h.indexOf(i,T+1)):1==g.length?b=[g.pop(),C]:((v=g.pop())<_&&(_=v,y=C),C=h.indexOf(d,T+1)),T=w=0?w:C;g.length&&(b=[_,y])}return b}i.exports=balanced,balanced.range=range},5470:function(i,d,h){var g,v,_,y;function _typeof(i){return(_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(i){return typeof i}:function _typeof(i){return i&&"function"===typeof Symbol&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i})(i)}y=function($,i){"use strict";function _interopDefaultLegacy(i){return i&&"object"===_typeof(i)&&"default"in i?i:{default:i}}var d=_interopDefaultLegacy($),h=_interopDefaultLegacy(i);function _defineProperties(i,d){for(var h=0;h0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var i=Carousel.prototype;return i.next=function next(){this._isSliding||this._slide(C)},i.nextWhenVisible=function nextWhenVisible(){var i=d.default(this._element);!document.hidden&&i.is(":visible")&&"hidden"!==i.css("visibility")&&this.next()},i.prev=function prev(){this._isSliding||this._slide(T)},i.pause=function pause(i){i||(this._isPaused=!0),this._element.querySelector(".carousel-item-next, .carousel-item-prev")&&(h.default.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},i.cycle=function cycle(i){i||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},i.to=function to(i){var h=this;this._activeElement=this._element.querySelector(A);var g=this._getItemIndex(this._activeElement);if(!(i>this._items.length-1||i<0))if(this._isSliding)d.default(this._element).one(S,(function(){return h.to(i)}));else{if(g===i)return this.pause(),void this.cycle();var v=i>g?C:T;this._slide(v,this._items[i])}},i.dispose=function dispose(){d.default(this._element).off(_),d.default.removeData(this._element,v),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},i._getConfig=function _getConfig(i){return i=_extends({},b,i),h.default.typeCheckConfig(g,i,w),i},i._handleSwipe=function _handleSwipe(){var i=Math.abs(this.touchDeltaX);if(!(i<=40)){var d=i/this.touchDeltaX;this.touchDeltaX=0,d>0&&this.prev(),d<0&&this.next()}},i._addEventListeners=function _addEventListeners(){var i=this;this._config.keyboard&&d.default(this._element).on("keydown.bs.carousel",(function(d){return i._keydown(d)})),"hover"===this._config.pause&&d.default(this._element).on("mouseenter.bs.carousel",(function(d){return i.pause(d)})).on("mouseleave.bs.carousel",(function(d){return i.cycle(d)})),this._config.touch&&this._addTouchEventListeners()},i._addTouchEventListeners=function _addTouchEventListeners(){var i=this;if(this._touchSupported){var h=function start(d){i._pointerEvent&&P[d.originalEvent.pointerType.toUpperCase()]?i.touchStartX=d.originalEvent.clientX:i._pointerEvent||(i.touchStartX=d.originalEvent.touches[0].clientX)},g=function end(d){i._pointerEvent&&P[d.originalEvent.pointerType.toUpperCase()]&&(i.touchDeltaX=d.originalEvent.clientX-i.touchStartX),i._handleSwipe(),"hover"===i._config.pause&&(i.pause(),i.touchTimeout&&clearTimeout(i.touchTimeout),i.touchTimeout=setTimeout((function(d){return i.cycle(d)}),500+i._config.interval))};d.default(this._element.querySelectorAll(".carousel-item img")).on("dragstart.bs.carousel",(function(i){return i.preventDefault()})),this._pointerEvent?(d.default(this._element).on("pointerdown.bs.carousel",(function(i){return h(i)})),d.default(this._element).on("pointerup.bs.carousel",(function(i){return g(i)})),this._element.classList.add("pointer-event")):(d.default(this._element).on("touchstart.bs.carousel",(function(i){return h(i)})),d.default(this._element).on("touchmove.bs.carousel",(function(d){return function move(d){d.originalEvent.touches&&d.originalEvent.touches.length>1?i.touchDeltaX=0:i.touchDeltaX=d.originalEvent.touches[0].clientX-i.touchStartX}(d)})),d.default(this._element).on("touchend.bs.carousel",(function(i){return g(i)})))}},i._keydown=function _keydown(i){if(!/input|textarea/i.test(i.target.tagName))switch(i.which){case 37:i.preventDefault(),this.prev();break;case 39:i.preventDefault(),this.next()}},i._getItemIndex=function _getItemIndex(i){return this._items=i&&i.parentNode?[].slice.call(i.parentNode.querySelectorAll(".carousel-item")):[],this._items.indexOf(i)},i._getItemByDirection=function _getItemByDirection(i,d){var h=i===C,g=i===T,v=this._getItemIndex(d),_=this._items.length-1;if((g&&0===v||h&&v===_)&&!this._config.wrap)return d;var y=(v+(i===T?-1:1))%this._items.length;return-1===y?this._items[this._items.length-1]:this._items[y]},i._triggerSlideEvent=function _triggerSlideEvent(i,h){var g=this._getItemIndex(i),v=this._getItemIndex(this._element.querySelector(A)),_=d.default.Event("slide.bs.carousel",{relatedTarget:i,direction:h,from:v,to:g});return d.default(this._element).trigger(_),_},i._setActiveIndicatorElement=function _setActiveIndicatorElement(i){if(this._indicatorsElement){var h=[].slice.call(this._indicatorsElement.querySelectorAll(".active"));d.default(h).removeClass(k);var g=this._indicatorsElement.children[this._getItemIndex(i)];g&&d.default(g).addClass(k)}},i._updateInterval=function _updateInterval(){var i=this._activeElement||this._element.querySelector(A);if(i){var d=parseInt(i.getAttribute("data-interval"),10);d?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=d):this._config.interval=this._config.defaultInterval||this._config.interval}},i._slide=function _slide(i,g){var v,_,y,b=this,w=this._element.querySelector(A),T=this._getItemIndex(w),P=g||w&&this._getItemByDirection(i,w),O=this._getItemIndex(P),M=Boolean(this._interval);if(i===C?(v="carousel-item-left",_="carousel-item-next",y="left"):(v="carousel-item-right",_="carousel-item-prev",y="right"),P&&d.default(P).hasClass(k))this._isSliding=!1;else if(!this._triggerSlideEvent(P,y).isDefaultPrevented()&&w&&P){this._isSliding=!0,M&&this.pause(),this._setActiveIndicatorElement(P),this._activeElement=P;var D=d.default.Event(S,{relatedTarget:P,direction:y,from:T,to:O});if(d.default(this._element).hasClass("slide")){d.default(P).addClass(_),h.default.reflow(P),d.default(w).addClass(v),d.default(P).addClass(v);var R=h.default.getTransitionDurationFromElement(w);d.default(w).one(h.default.TRANSITION_END,(function(){d.default(P).removeClass(v+" "+_).addClass(k),d.default(w).removeClass("active "+_+" "+v),b._isSliding=!1,setTimeout((function(){return d.default(b._element).trigger(D)}),0)})).emulateTransitionEnd(R)}else d.default(w).removeClass(k),d.default(P).addClass(k),this._isSliding=!1,d.default(this._element).trigger(D);M&&this.cycle()}},Carousel._jQueryInterface=function _jQueryInterface(i){return this.each((function(){var h=d.default(this).data(v),g=_extends({},b,d.default(this).data());"object"===_typeof(i)&&(g=_extends({},g,i));var _="string"===typeof i?i:g.slide;if(h||(h=new Carousel(this,g),d.default(this).data(v,h)),"number"===typeof i)h.to(i);else if("string"===typeof _){if("undefined"===typeof h[_])throw new TypeError('No method named "'+_+'"');h[_]()}else g.interval&&g.ride&&(h.pause(),h.cycle())}))},Carousel._dataApiClickHandler=function _dataApiClickHandler(i){var g=h.default.getSelectorFromElement(this);if(g){var _=d.default(g)[0];if(_&&d.default(_).hasClass("carousel")){var y=_extends({},d.default(_).data(),d.default(this).data()),b=this.getAttribute("data-slide-to");b&&(y.interval=!1),Carousel._jQueryInterface.call(d.default(_),y),b&&d.default(_).data(v).to(b),i.preventDefault()}}},function _createClass(i,d,h){return d&&_defineProperties(i.prototype,d),h&&_defineProperties(i,h),i}(Carousel,null,[{key:"VERSION",get:function get(){return"4.6.0"}},{key:"Default",get:function get(){return b}}]),Carousel}();return d.default(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",O._dataApiClickHandler),d.default(window).on("load.bs.carousel.data-api",(function(){for(var i=[].slice.call(document.querySelectorAll('[data-ride="carousel"]')),h=0,g=i.length;h0&&(this._selector=b,this._triggerArray.push(y))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var i=Collapse.prototype;return i.toggle=function toggle(){d.default(this._element).hasClass(w)?this.hide():this.show()},i.show=function show(){var i,g,_=this;if(!this._isTransitioning&&!d.default(this._element).hasClass(w)&&(this._parent&&0===(i=[].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter((function(i){return"string"===typeof _._config.parent?i.getAttribute("data-parent")===_._config.parent:i.classList.contains(C)}))).length&&(i=null),!(i&&(g=d.default(i).not(this._selector).data(v))&&g._isTransitioning))){var y=d.default.Event("show.bs.collapse");if(d.default(this._element).trigger(y),!y.isDefaultPrevented()){i&&(Collapse._jQueryInterface.call(d.default(i).not(this._selector),"hide"),g||d.default(i).data(v,null));var b=this._getDimension();d.default(this._element).removeClass(C).addClass(T),this._element.style[b]=0,this._triggerArray.length&&d.default(this._triggerArray).removeClass(S).attr("aria-expanded",!0),this.setTransitioning(!0);var k="scroll"+(b[0].toUpperCase()+b.slice(1)),A=h.default.getTransitionDurationFromElement(this._element);d.default(this._element).one(h.default.TRANSITION_END,(function complete(){d.default(_._element).removeClass(T).addClass("collapse show"),_._element.style[b]="",_.setTransitioning(!1),d.default(_._element).trigger("shown.bs.collapse")})).emulateTransitionEnd(A),this._element.style[b]=this._element[k]+"px"}}},i.hide=function hide(){var i=this;if(!this._isTransitioning&&d.default(this._element).hasClass(w)){var g=d.default.Event("hide.bs.collapse");if(d.default(this._element).trigger(g),!g.isDefaultPrevented()){var v=this._getDimension();this._element.style[v]=this._element.getBoundingClientRect()[v]+"px",h.default.reflow(this._element),d.default(this._element).addClass(T).removeClass("collapse show");var _=this._triggerArray.length;if(_>0)for(var y=0;y<_;y++){var b=this._triggerArray[y],k=h.default.getSelectorFromElement(b);null!==k&&(d.default([].slice.call(document.querySelectorAll(k))).hasClass(w)||d.default(b).addClass(S).attr("aria-expanded",!1))}this.setTransitioning(!0),this._element.style[v]="";var A=h.default.getTransitionDurationFromElement(this._element);d.default(this._element).one(h.default.TRANSITION_END,(function complete(){i.setTransitioning(!1),d.default(i._element).removeClass(T).addClass(C).trigger("hidden.bs.collapse")})).emulateTransitionEnd(A)}}},i.setTransitioning=function setTransitioning(i){this._isTransitioning=i},i.dispose=function dispose(){d.default.removeData(this._element,v),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},i._getConfig=function _getConfig(i){return(i=_extends({},y,i)).toggle=Boolean(i.toggle),h.default.typeCheckConfig(g,i,b),i},i._getDimension=function _getDimension(){return d.default(this._element).hasClass(k)?k:"height"},i._getParent=function _getParent(){var i,g=this;h.default.isElement(this._config.parent)?(i=this._config.parent,"undefined"!==typeof this._config.parent.jquery&&(i=this._config.parent[0])):i=document.querySelector(this._config.parent);var v='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',_=[].slice.call(i.querySelectorAll(v));return d.default(_).each((function(i,d){g._addAriaAndCollapsedClass(Collapse._getTargetFromElement(d),[d])})),i},i._addAriaAndCollapsedClass=function _addAriaAndCollapsedClass(i,h){var g=d.default(i).hasClass(w);h.length&&d.default(h).toggleClass(S,!g).attr("aria-expanded",g)},Collapse._getTargetFromElement=function _getTargetFromElement(i){var d=h.default.getSelectorFromElement(i);return d?document.querySelector(d):null},Collapse._jQueryInterface=function _jQueryInterface(i){return this.each((function(){var h=d.default(this),g=h.data(v),_=_extends({},y,h.data(),"object"===_typeof(i)&&i?i:{});if(!g&&_.toggle&&"string"===typeof i&&/show|hide/.test(i)&&(_.toggle=!1),g||(g=new Collapse(this,_),h.data(v,g)),"string"===typeof i){if("undefined"===typeof g[i])throw new TypeError('No method named "'+i+'"');g[i]()}}))},function _createClass(i,d,h){return d&&_defineProperties(i.prototype,d),h&&_defineProperties(i,h),i}(Collapse,null,[{key:"VERSION",get:function get(){return"4.6.0"}},{key:"Default",get:function get(){return y}}]),Collapse}();return d.default(document).on("click.bs.collapse.data-api",A,(function(i){"A"===i.currentTarget.tagName&&i.preventDefault();var g=d.default(this),_=h.default.getSelectorFromElement(this),y=[].slice.call(document.querySelectorAll(_));d.default(y).each((function(){var i=d.default(this),h=i.data(v)?"toggle":g.data();P._jQueryInterface.call(i,h)}))})),d.default.fn[g]=P._jQueryInterface,d.default.fn[g].Constructor=P,d.default.fn[g].noConflict=function(){return d.default.fn[g]=_,P._jQueryInterface},P},"object"===_typeof(d)?i.exports=y(h(3609),h(670)):(v=[h(3609),h(670)],void 0===(_="function"===typeof(g=y)?g.apply(d,v):g)||(i.exports=_))},2034:function(i,d,h){var g,v,_,y;function _typeof(i){return(_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(i){return typeof i}:function _typeof(i){return i&&"function"===typeof Symbol&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i})(i)}y=function($,i){"use strict";function _interopDefaultLegacy(i){return i&&"object"===_typeof(i)&&"default"in i?i:{default:i}}var d=_interopDefaultLegacy($),h=_interopDefaultLegacy(i);function _defineProperties(i,d){for(var h=0;hdocument.documentElement.clientHeight;v||(this._element.style.overflowY="hidden"),this._element.classList.add(j);var _=h.default.getTransitionDurationFromElement(this._dialog);d.default(this._element).off(h.default.TRANSITION_END),d.default(this._element).one(h.default.TRANSITION_END,(function(){i._element.classList.remove(j),v||d.default(i._element).one(h.default.TRANSITION_END,(function(){i._element.style.overflowY=""})).emulateTransitionEnd(i._element,_)})).emulateTransitionEnd(_),this._element.focus()}},i._showElement=function _showElement(i){var g=this,v=d.default(this._element).hasClass(D),_=this._dialog?this._dialog.querySelector(".modal-body"):null;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),d.default(this._dialog).hasClass("modal-dialog-scrollable")&&_?_.scrollTop=0:this._element.scrollTop=0,v&&h.default.reflow(this._element),d.default(this._element).addClass(R),this._config.focus&&this._enforceFocus();var y=d.default.Event("shown.bs.modal",{relatedTarget:i}),b=function transitionComplete(){g._config.focus&&g._element.focus(),g._isTransitioning=!1,d.default(g._element).trigger(y)};if(v){var w=h.default.getTransitionDurationFromElement(this._dialog);d.default(this._dialog).one(h.default.TRANSITION_END,b).emulateTransitionEnd(w)}else b()},i._enforceFocus=function _enforceFocus(){var i=this;d.default(document).off(S).on(S,(function(h){document!==h.target&&i._element!==h.target&&0===d.default(i._element).has(h.target).length&&i._element.focus()}))},i._setEscapeEvent=function _setEscapeEvent(){var i=this;this._isShown?d.default(this._element).on(P,(function(d){i._config.keyboard&&27===d.which?(d.preventDefault(),i.hide()):i._config.keyboard||27!==d.which||i._triggerBackdropTransition()})):this._isShown||d.default(this._element).off(P)},i._setResizeEvent=function _setResizeEvent(){var i=this;this._isShown?d.default(window).on(k,(function(d){return i.handleUpdate(d)})):d.default(window).off(k)},i._hideModal=function _hideModal(){var i=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop((function(){d.default(document.body).removeClass(M),i._resetAdjustments(),i._resetScrollbar(),d.default(i._element).trigger(C)}))},i._removeBackdrop=function _removeBackdrop(){this._backdrop&&(d.default(this._backdrop).remove(),this._backdrop=null)},i._showBackdrop=function _showBackdrop(i){var g=this,v=d.default(this._element).hasClass(D)?D:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",v&&this._backdrop.classList.add(v),d.default(this._backdrop).appendTo(document.body),d.default(this._element).on(A,(function(i){g._ignoreBackdropClick?g._ignoreBackdropClick=!1:i.target===i.currentTarget&&("static"===g._config.backdrop?g._triggerBackdropTransition():g.hide())})),v&&h.default.reflow(this._backdrop),d.default(this._backdrop).addClass(R),!i)return;if(!v)return void i();var _=h.default.getTransitionDurationFromElement(this._backdrop);d.default(this._backdrop).one(h.default.TRANSITION_END,i).emulateTransitionEnd(_)}else if(!this._isShown&&this._backdrop){d.default(this._backdrop).removeClass(R);var y=function callbackRemove(){g._removeBackdrop(),i&&i()};if(d.default(this._element).hasClass(D)){var b=h.default.getTransitionDurationFromElement(this._backdrop);d.default(this._backdrop).one(h.default.TRANSITION_END,y).emulateTransitionEnd(b)}else y()}else i&&i()},i._adjustDialog=function _adjustDialog(){var i=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&i&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!i&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},i._resetAdjustments=function _resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},i._checkScrollbar=function _checkScrollbar(){var i=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(i.left+i.right)

'}),C=_extends({},h.default.DefaultType,{content:"(string|element|function)"}),T={HIDE:"hide"+_,HIDDEN:"hidden"+_,SHOW:"show"+_,SHOWN:"shown"+_,INSERTED:"inserted"+_,CLICK:"click"+_,FOCUSIN:"focusin"+_,FOCUSOUT:"focusout"+_,MOUSEENTER:"mouseenter"+_,MOUSELEAVE:"mouseleave"+_},S=function(i){function Popover(){return i.apply(this,arguments)||this}!function _inheritsLoose(i,d){i.prototype=Object.create(d.prototype),i.prototype.constructor=i,i.__proto__=d}(Popover,i);var h=Popover.prototype;return h.isWithContent=function isWithContent(){return this.getTitle()||this._getContent()},h.addAttachmentClass=function addAttachmentClass(i){d.default(this.getTipElement()).addClass("bs-popover-"+i)},h.getTipElement=function getTipElement(){return this.tip=this.tip||d.default(this.config.template)[0],this.tip},h.setContent=function setContent(){var i=d.default(this.getTipElement());this.setElementContent(i.find(".popover-header"),this.getTitle());var h=this._getContent();"function"===typeof h&&(h=h.call(this.element)),this.setElementContent(i.find(".popover-body"),h),i.removeClass("fade show")},h._getContent=function _getContent(){return this.element.getAttribute("data-content")||this.config.content},h._cleanTipClass=function _cleanTipClass(){var i=d.default(this.getTipElement()),h=i.attr("class").match(b);null!==h&&h.length>0&&i.removeClass(h.join(""))},Popover._jQueryInterface=function _jQueryInterface(i){return this.each((function(){var h=d.default(this).data(v),g="object"===_typeof(i)?i:null;if((h||!/dispose|hide/.test(i))&&(h||(h=new Popover(this,g),d.default(this).data(v,h)),"string"===typeof i)){if("undefined"===typeof h[i])throw new TypeError('No method named "'+i+'"');h[i]()}}))},function _createClass(i,d,h){return d&&_defineProperties(i.prototype,d),h&&_defineProperties(i,h),i}(Popover,null,[{key:"VERSION",get:function get(){return"4.6.0"}},{key:"Default",get:function get(){return w}},{key:"NAME",get:function get(){return g}},{key:"DATA_KEY",get:function get(){return v}},{key:"Event",get:function get(){return T}},{key:"EVENT_KEY",get:function get(){return _}},{key:"DefaultType",get:function get(){return C}}]),Popover}(h.default);return d.default.fn[g]=S._jQueryInterface,d.default.fn[g].Constructor=S,d.default.fn[g].noConflict=function(){return d.default.fn[g]=y,S._jQueryInterface},S},"object"===_typeof(d)?i.exports=y(h(3609),h(6569)):(v=[h(3609),h(6569)],void 0===(_="function"===typeof(g=y)?g.apply(d,v):g)||(i.exports=_))},8349:function(i,d,h){var g,v,_,y;function _typeof(i){return(_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(i){return typeof i}:function _typeof(i){return i&&"function"===typeof Symbol&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i})(i)}y=function($,i){"use strict";function _interopDefaultLegacy(i){return i&&"object"===_typeof(i)&&"default"in i?i:{default:i}}var d=_interopDefaultLegacy($),h=_interopDefaultLegacy(i);function _defineProperties(i,d){for(var h=0;h=h){var g=this._targets[this._targets.length-1];this._activeTarget!==g&&this._activate(g)}else{if(this._activeTarget&&i0)return this._activeTarget=null,void this._clear();for(var v=this._offsets.length;v--;)this._activeTarget!==this._targets[v]&&i>=this._offsets[v]&&("undefined"===typeof this._offsets[v+1]||i li > .active",T=function(){function Tab(i){this._element=i}var i=Tab.prototype;return i.show=function show(){var i=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&d.default(this._element).hasClass(_)||d.default(this._element).hasClass("disabled"))){var g,v,y=d.default(this._element).closest(".nav, .list-group")[0],b=h.default.getSelectorFromElement(this._element);if(y){var T="UL"===y.nodeName||"OL"===y.nodeName?C:w;v=(v=d.default.makeArray(d.default(y).find(T)))[v.length-1]}var S=d.default.Event("hide.bs.tab",{relatedTarget:this._element}),k=d.default.Event("show.bs.tab",{relatedTarget:v});if(v&&d.default(v).trigger(S),d.default(this._element).trigger(k),!k.isDefaultPrevented()&&!S.isDefaultPrevented()){b&&(g=document.querySelector(b)),this._activate(this._element,y);var A=function complete(){var h=d.default.Event("hidden.bs.tab",{relatedTarget:i._element}),g=d.default.Event("shown.bs.tab",{relatedTarget:v});d.default(v).trigger(h),d.default(i._element).trigger(g)};g?this._activate(g,g.parentNode,A):A()}}},i.dispose=function dispose(){d.default.removeData(this._element,g),this._element=null},i._activate=function _activate(i,g,v){var _=this,T=(!g||"UL"!==g.nodeName&&"OL"!==g.nodeName?d.default(g).children(w):d.default(g).find(C))[0],S=v&&T&&d.default(T).hasClass(y),k=function complete(){return _._transitionComplete(i,T,v)};if(T&&S){var A=h.default.getTransitionDurationFromElement(T);d.default(T).removeClass(b).one(h.default.TRANSITION_END,k).emulateTransitionEnd(A)}else k()},i._transitionComplete=function _transitionComplete(i,g,v){if(g){d.default(g).removeClass(_);var w=d.default(g.parentNode).find("> .dropdown-menu .active")[0];w&&d.default(w).removeClass(_),"tab"===g.getAttribute("role")&&g.setAttribute("aria-selected",!1)}if(d.default(i).addClass(_),"tab"===i.getAttribute("role")&&i.setAttribute("aria-selected",!0),h.default.reflow(i),i.classList.contains(y)&&i.classList.add(b),i.parentNode&&d.default(i.parentNode).hasClass("dropdown-menu")){var C=d.default(i).closest(".dropdown")[0];if(C){var T=[].slice.call(C.querySelectorAll(".dropdown-toggle"));d.default(T).addClass(_)}i.setAttribute("aria-expanded",!0)}v&&v()},Tab._jQueryInterface=function _jQueryInterface(i){return this.each((function(){var h=d.default(this),v=h.data(g);if(v||(v=new Tab(this),h.data(g,v)),"string"===typeof i){if("undefined"===typeof v[i])throw new TypeError('No method named "'+i+'"');v[i]()}}))},function _createClass(i,d,h){return d&&_defineProperties(i.prototype,d),h&&_defineProperties(i,h),i}(Tab,null,[{key:"VERSION",get:function get(){return"4.6.0"}}]),Tab}();return d.default(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',(function(i){i.preventDefault(),T._jQueryInterface.call(d.default(this),"show")})),d.default.fn.tab=T._jQueryInterface,d.default.fn.tab.Constructor=T,d.default.fn.tab.noConflict=function(){return d.default.fn.tab=v,T._jQueryInterface},T},"object"===_typeof(d)?i.exports=y(h(3609),h(670)):(v=[h(3609),h(670)],void 0===(_="function"===typeof(g=y)?g.apply(d,v):g)||(i.exports=_))},6569:function(i,d,h){var g,v,_,y;function _typeof(i){return(_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(i){return typeof i}:function _typeof(i){return i&&"function"===typeof Symbol&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i})(i)}y=function($,i,d){"use strict";function _interopDefaultLegacy(i){return i&&"object"===_typeof(i)&&"default"in i?i:{default:i}}var h=_interopDefaultLegacy($),g=_interopDefaultLegacy(i),v=_interopDefaultLegacy(d);function _defineProperties(i,d){for(var h=0;h
',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",customClass:"",sanitize:!0,sanitizeFn:null,whiteList:y,popperConfig:null},R="show",j="out",N={HIDE:"hide"+S,HIDDEN:"hidden"+S,SHOW:"show"+S,SHOWN:"shown"+S,INSERTED:"inserted"+S,CLICK:"click"+S,FOCUSIN:"focusin"+S,FOCUSOUT:"focusout"+S,MOUSEENTER:"mouseenter"+S,MOUSELEAVE:"mouseleave"+S},U="fade",z="show",B="hover",q="focus",W=function(){function Tooltip(i,d){if("undefined"===typeof g.default)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=i,this.config=this._getConfig(d),this.tip=null,this._setListeners()}var i=Tooltip.prototype;return i.enable=function enable(){this._isEnabled=!0},i.disable=function disable(){this._isEnabled=!1},i.toggleEnabled=function toggleEnabled(){this._isEnabled=!this._isEnabled},i.toggle=function toggle(i){if(this._isEnabled)if(i){var d=this.constructor.DATA_KEY,g=h.default(i.currentTarget).data(d);g||(g=new this.constructor(i.currentTarget,this._getDelegateConfig()),h.default(i.currentTarget).data(d,g)),g._activeTrigger.click=!g._activeTrigger.click,g._isWithActiveTrigger()?g._enter(null,g):g._leave(null,g)}else{if(h.default(this.getTipElement()).hasClass(z))return void this._leave(null,this);this._enter(null,this)}},i.dispose=function dispose(){clearTimeout(this._timeout),h.default.removeData(this.element,this.constructor.DATA_KEY),h.default(this.element).off(this.constructor.EVENT_KEY),h.default(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&h.default(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},i.show=function show(){var i=this;if("none"===h.default(this.element).css("display"))throw new Error("Please use show on visible elements");var d=h.default.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){h.default(this.element).trigger(d);var _=v.default.findShadowRoot(this.element),y=h.default.contains(null!==_?_:this.element.ownerDocument.documentElement,this.element);if(d.isDefaultPrevented()||!y)return;var b=this.getTipElement(),w=v.default.getUID(this.constructor.NAME);b.setAttribute("id",w),this.element.setAttribute("aria-describedby",w),this.setContent(),this.config.animation&&h.default(b).addClass(U);var C="function"===typeof this.config.placement?this.config.placement.call(this,b,this.element):this.config.placement,T=this._getAttachment(C);this.addAttachmentClass(T);var S=this._getContainer();h.default(b).data(this.constructor.DATA_KEY,this),h.default.contains(this.element.ownerDocument.documentElement,this.tip)||h.default(b).appendTo(S),h.default(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new g.default(this.element,b,this._getPopperConfig(T)),h.default(b).addClass(z),h.default(b).addClass(this.config.customClass),"ontouchstart"in document.documentElement&&h.default(document.body).children().on("mouseover",null,h.default.noop);var k=function complete(){i.config.animation&&i._fixTransition();var d=i._hoverState;i._hoverState=null,h.default(i.element).trigger(i.constructor.Event.SHOWN),d===j&&i._leave(null,i)};if(h.default(this.tip).hasClass(U)){var A=v.default.getTransitionDurationFromElement(this.tip);h.default(this.tip).one(v.default.TRANSITION_END,k).emulateTransitionEnd(A)}else k()}},i.hide=function hide(i){var d=this,g=this.getTipElement(),_=h.default.Event(this.constructor.Event.HIDE),y=function complete(){d._hoverState!==R&&g.parentNode&&g.parentNode.removeChild(g),d._cleanTipClass(),d.element.removeAttribute("aria-describedby"),h.default(d.element).trigger(d.constructor.Event.HIDDEN),null!==d._popper&&d._popper.destroy(),i&&i()};if(h.default(this.element).trigger(_),!_.isDefaultPrevented()){if(h.default(g).removeClass(z),"ontouchstart"in document.documentElement&&h.default(document.body).children().off("mouseover",null,h.default.noop),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,h.default(this.tip).hasClass(U)){var b=v.default.getTransitionDurationFromElement(g);h.default(g).one(v.default.TRANSITION_END,y).emulateTransitionEnd(b)}else y();this._hoverState=""}},i.update=function update(){null!==this._popper&&this._popper.scheduleUpdate()},i.isWithContent=function isWithContent(){return Boolean(this.getTitle())},i.addAttachmentClass=function addAttachmentClass(i){h.default(this.getTipElement()).addClass("bs-tooltip-"+i)},i.getTipElement=function getTipElement(){return this.tip=this.tip||h.default(this.config.template)[0],this.tip},i.setContent=function setContent(){var i=this.getTipElement();this.setElementContent(h.default(i.querySelectorAll(".tooltip-inner")),this.getTitle()),h.default(i).removeClass("fade show")},i.setElementContent=function setElementContent(i,d){"object"!==_typeof(d)||!d.nodeType&&!d.jquery?this.config.html?(this.config.sanitize&&(d=sanitizeHtml(d,this.config.whiteList,this.config.sanitizeFn)),i.html(d)):i.text(d):this.config.html?h.default(d).parent().is(i)||i.empty().append(d):i.text(h.default(d).text())},i.getTitle=function getTitle(){var i=this.element.getAttribute("data-original-title");return i||(i="function"===typeof this.config.title?this.config.title.call(this.element):this.config.title),i},i._getPopperConfig=function _getPopperConfig(i){var d=this;return _extends({},{placement:i,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function onCreate(i){i.originalPlacement!==i.placement&&d._handlePopperPlacementChange(i)},onUpdate:function onUpdate(i){return d._handlePopperPlacementChange(i)}},this.config.popperConfig)},i._getOffset=function _getOffset(){var i=this,d={};return"function"===typeof this.config.offset?d.fn=function(d){return d.offsets=_extends({},d.offsets,i.config.offset(d.offsets,i.element)||{}),d}:d.offset=this.config.offset,d},i._getContainer=function _getContainer(){return!1===this.config.container?document.body:v.default.isElement(this.config.container)?h.default(this.config.container):h.default(document).find(this.config.container)},i._getAttachment=function _getAttachment(i){return M[i.toUpperCase()]},i._setListeners=function _setListeners(){var i=this;this.config.trigger.split(" ").forEach((function(d){if("click"===d)h.default(i.element).on(i.constructor.Event.CLICK,i.config.selector,(function(d){return i.toggle(d)}));else if("manual"!==d){var g=d===B?i.constructor.Event.MOUSEENTER:i.constructor.Event.FOCUSIN,v=d===B?i.constructor.Event.MOUSELEAVE:i.constructor.Event.FOCUSOUT;h.default(i.element).on(g,i.config.selector,(function(d){return i._enter(d)})).on(v,i.config.selector,(function(d){return i._leave(d)}))}})),this._hideModalHandler=function(){i.element&&i.hide()},h.default(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=_extends({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},i._fixTitle=function _fixTitle(){var i=_typeof(this.element.getAttribute("data-original-title"));(this.element.getAttribute("title")||"string"!==i)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},i._enter=function _enter(i,d){var g=this.constructor.DATA_KEY;(d=d||h.default(i.currentTarget).data(g))||(d=new this.constructor(i.currentTarget,this._getDelegateConfig()),h.default(i.currentTarget).data(g,d)),i&&(d._activeTrigger["focusin"===i.type?q:B]=!0),h.default(d.getTipElement()).hasClass(z)||d._hoverState===R?d._hoverState=R:(clearTimeout(d._timeout),d._hoverState=R,d.config.delay&&d.config.delay.show?d._timeout=setTimeout((function(){d._hoverState===R&&d.show()}),d.config.delay.show):d.show())},i._leave=function _leave(i,d){var g=this.constructor.DATA_KEY;(d=d||h.default(i.currentTarget).data(g))||(d=new this.constructor(i.currentTarget,this._getDelegateConfig()),h.default(i.currentTarget).data(g,d)),i&&(d._activeTrigger["focusout"===i.type?q:B]=!1),d._isWithActiveTrigger()||(clearTimeout(d._timeout),d._hoverState=j,d.config.delay&&d.config.delay.hide?d._timeout=setTimeout((function(){d._hoverState===j&&d.hide()}),d.config.delay.hide):d.hide())},i._isWithActiveTrigger=function _isWithActiveTrigger(){for(var i in this._activeTrigger)if(this._activeTrigger[i])return!0;return!1},i._getConfig=function _getConfig(i){var d=h.default(this.element).data();return Object.keys(d).forEach((function(i){-1!==P.indexOf(i)&&delete d[i]})),"number"===typeof(i=_extends({},this.constructor.Default,d,"object"===_typeof(i)&&i?i:{})).delay&&(i.delay={show:i.delay,hide:i.delay}),"number"===typeof i.title&&(i.title=i.title.toString()),"number"===typeof i.content&&(i.content=i.content.toString()),v.default.typeCheckConfig(C,i,this.constructor.DefaultType),i.sanitize&&(i.template=sanitizeHtml(i.template,i.whiteList,i.sanitizeFn)),i},i._getDelegateConfig=function _getDelegateConfig(){var i={};if(this.config)for(var d in this.config)this.constructor.Default[d]!==this.config[d]&&(i[d]=this.config[d]);return i},i._cleanTipClass=function _cleanTipClass(){var i=h.default(this.getTipElement()),d=i.attr("class").match(A);null!==d&&d.length&&i.removeClass(d.join(""))},i._handlePopperPlacementChange=function _handlePopperPlacementChange(i){this.tip=i.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(i.placement))},i._fixTransition=function _fixTransition(){var i=this.getTipElement(),d=this.config.animation;null===i.getAttribute("x-placement")&&(h.default(i).removeClass(U),this.config.animation=!1,this.hide(),this.show(),this.config.animation=d)},Tooltip._jQueryInterface=function _jQueryInterface(i){return this.each((function(){var d=h.default(this),g=d.data(T),v="object"===_typeof(i)&&i;if((g||!/dispose|hide/.test(i))&&(g||(g=new Tooltip(this,v),d.data(T,g)),"string"===typeof i)){if("undefined"===typeof g[i])throw new TypeError('No method named "'+i+'"');g[i]()}}))},function _createClass(i,d,h){return d&&_defineProperties(i.prototype,d),h&&_defineProperties(i,h),i}(Tooltip,null,[{key:"VERSION",get:function get(){return"4.6.0"}},{key:"Default",get:function get(){return D}},{key:"NAME",get:function get(){return C}},{key:"DATA_KEY",get:function get(){return T}},{key:"Event",get:function get(){return N}},{key:"EVENT_KEY",get:function get(){return S}},{key:"DefaultType",get:function get(){return O}}]),Tooltip}();return h.default.fn[C]=W._jQueryInterface,h.default.fn[C].Constructor=W,h.default.fn[C].noConflict=function(){return h.default.fn[C]=k,W._jQueryInterface},W},"object"===_typeof(d)?i.exports=y(h(3609),h(2330),h(670)):(v=[h(3609),h(2330),h(670)],void 0===(_="function"===typeof(g=y)?g.apply(d,v):g)||(i.exports=_))},670:function(i,d,h){var g,v,_,y;function _typeof(i){return(_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(i){return typeof i}:function _typeof(i){return i&&"function"===typeof Symbol&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i})(i)}y=function($){"use strict";function _interopDefaultLegacy(i){return i&&"object"===_typeof(i)&&"default"in i?i:{default:i}}var i=_interopDefaultLegacy($),d="transitionend";function transitionEndEmulator(d){var g=this,v=!1;return i.default(this).one(h.TRANSITION_END,(function(){v=!0})),setTimeout((function(){v||h.triggerTransitionEnd(g)}),d),this}var h={TRANSITION_END:"bsTransitionEnd",getUID:function getUID(i){do{i+=~~(1e6*Math.random())}while(document.getElementById(i));return i},getSelectorFromElement:function getSelectorFromElement(i){var d=i.getAttribute("data-target");if(!d||"#"===d){var h=i.getAttribute("href");d=h&&"#"!==h?h.trim():""}try{return document.querySelector(d)?d:null}catch(g){return null}},getTransitionDurationFromElement:function getTransitionDurationFromElement(d){if(!d)return 0;var h=i.default(d).css("transition-duration"),g=i.default(d).css("transition-delay"),v=parseFloat(h),_=parseFloat(g);return v||_?(h=h.split(",")[0],g=g.split(",")[0],1e3*(parseFloat(h)+parseFloat(g))):0},reflow:function reflow(i){return i.offsetHeight},triggerTransitionEnd:function triggerTransitionEnd(h){i.default(h).trigger(d)},supportsTransitionEnd:function supportsTransitionEnd(){return Boolean(d)},isElement:function isElement(i){return(i[0]||i).nodeType},typeCheckConfig:function typeCheckConfig(i,d,g){for(var v in g)if(Object.prototype.hasOwnProperty.call(g,v)){var _=g[v],y=d[v],b=y&&h.isElement(y)?"element":null===(w=y)||"undefined"===typeof w?""+w:{}.toString.call(w).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(_).test(b))throw new Error(i.toUpperCase()+': Option "'+v+'" provided type "'+b+'" but expected type "'+_+'".')}var w},findShadowRoot:function findShadowRoot(i){if(!document.documentElement.attachShadow)return null;if("function"===typeof i.getRootNode){var d=i.getRootNode();return d instanceof ShadowRoot?d:null}return i instanceof ShadowRoot?i:i.parentNode?h.findShadowRoot(i.parentNode):null},jQueryDetection:function jQueryDetection(){if("undefined"===typeof i.default)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var d=i.default.fn.jquery.split(" ")[0].split(".");if(d[0]<2&&d[1]<9||1===d[0]&&9===d[1]&&d[2]<1||d[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};return h.jQueryDetection(),function setTransitionEndSupport(){i.default.fn.emulateTransitionEnd=transitionEndEmulator,i.default.event.special[h.TRANSITION_END]=function getSpecialTransitionEndEvent(){return{bindType:d,delegateType:d,handle:function handle(d){if(i.default(d.target).is(this))return d.handleObj.handler.apply(this,arguments)}}}()}(),h},"object"===_typeof(d)?i.exports=y(h(3609)):(v=[h(3609)],void 0===(_="function"===typeof(g=y)?g.apply(d,v):g)||(i.exports=_))},708:function(i,d,h){var g=h(3417);i.exports=function expandTop(i){if(!i)return[];"{}"===i.substr(0,2)&&(i="\\{\\}"+i.substr(2));return expand(function escapeBraces(i){return i.split("\\\\").join(v).split("\\{").join(_).split("\\}").join(y).split("\\,").join(b).split("\\.").join(w)}(i),!0).map(unescapeBraces)};var v="\0SLASH"+Math.random()+"\0",_="\0OPEN"+Math.random()+"\0",y="\0CLOSE"+Math.random()+"\0",b="\0COMMA"+Math.random()+"\0",w="\0PERIOD"+Math.random()+"\0";function numeric(i){return parseInt(i,10)==i?parseInt(i,10):i.charCodeAt(0)}function unescapeBraces(i){return i.split(v).join("\\").split(_).join("{").split(y).join("}").split(b).join(",").split(w).join(".")}function parseCommaParts(i){if(!i)return[""];var d=[],h=g("{","}",i);if(!h)return i.split(",");var v=h.pre,_=h.body,y=h.post,b=v.split(",");b[b.length-1]+="{"+_+"}";var w=parseCommaParts(y);return y.length&&(b[b.length-1]+=w.shift(),b.push.apply(b,w)),d.push.apply(d,b),d}function embrace(i){return"{"+i+"}"}function isPadded(i){return/^-?0\d/.test(i)}function lte(i,d){return i<=d}function gte(i,d){return i>=d}function expand(i,d){var h=[],v=g("{","}",i);if(!v||/\$$/.test(v.pre))return[i];var _,b=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(v.body),w=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(v.body),C=b||w,T=v.body.indexOf(",")>=0;if(!C&&!T)return v.post.match(/,.*\}/)?expand(i=v.pre+"{"+v.body+y+v.post):[i];if(C)_=v.body.split(/\.\./);else if(1===(_=parseCommaParts(v.body)).length&&1===(_=expand(_[0],!1).map(embrace)).length)return(A=v.post.length?expand(v.post,!1):[""]).map((function(i){return v.pre+_[0]+i}));var S,k=v.pre,A=v.post.length?expand(v.post,!1):[""];if(C){var P=numeric(_[0]),O=numeric(_[1]),M=Math.max(_[0].length,_[1].length),D=3==_.length?Math.abs(numeric(_[2])):1,R=lte;O0){var B=new Array(z+1).join("0");U=N<0?"-"+B+U.slice(1):B+U}}S.push(U)}}else{S=[];for(var q=0;q<_.length;q++)S.push.apply(S,expand(_[q],!1))}for(q=0;q\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",_=v.console&&(v.console.warn||v.console.log);return _&&_.call(v.console,g,h),i.apply(this,arguments)}}w="function"!==typeof Object.assign?function assign(i){if(i===b||null===i)throw new TypeError("Cannot convert undefined or null to object");for(var d=Object(i),h=1;h-1}function splitStr(i){return i.trim().split(/\s+/g)}function inArray(i,d,h){if(i.indexOf&&!h)return i.indexOf(d);for(var g=0;gh[d]})):g.sort()),g}function prefixed(i,d){for(var h,g,v=d[0].toUpperCase()+d.slice(1),_=0;_1&&!h.firstMultiple?h.firstMultiple=simpleCloneInputData(d):1===v&&(h.firstMultiple=!1);var _=h.firstInput,y=h.firstMultiple,w=y?y.center:_.center,C=d.center=getCenter(g);d.timeStamp=A(),d.deltaTime=d.timeStamp-_.timeStamp,d.angle=getAngle(w,C),d.distance=getDistance(w,C),function computeDeltaXY(i,d){var h=d.center,g=i.offsetDelta||{},v=i.prevDelta||{},_=i.prevInput||{};1!==d.eventType&&4!==_.eventType||(v=i.prevDelta={x:_.deltaX||0,y:_.deltaY||0},g=i.offsetDelta={x:h.x,y:h.y});d.deltaX=v.x+(h.x-g.x),d.deltaY=v.y+(h.y-g.y)}(h,d),d.offsetDirection=getDirection(d.deltaX,d.deltaY);var T=getVelocity(d.deltaTime,d.deltaX,d.deltaY);d.overallVelocityX=T.x,d.overallVelocityY=T.y,d.overallVelocity=k(T.x)>k(T.y)?T.x:T.y,d.scale=y?function getScale(i,d){return getDistance(d[0],d[1],q)/getDistance(i[0],i[1],q)}(y.pointers,g):1,d.rotation=y?function getRotation(i,d){return getAngle(d[1],d[0],q)+getAngle(i[1],i[0],q)}(y.pointers,g):0,d.maxPointers=h.prevInput?d.pointers.length>h.prevInput.maxPointers?d.pointers.length:h.prevInput.maxPointers:d.pointers.length,function computeIntervalInputData(i,d){var h,g,v,_,y=i.lastInterval||d,w=d.timeStamp-y.timeStamp;if(8!=d.eventType&&(w>25||y.velocity===b)){var C=d.deltaX-y.deltaX,T=d.deltaY-y.deltaY,S=getVelocity(w,C,T);g=S.x,v=S.y,h=k(S.x)>k(S.y)?S.x:S.y,_=getDirection(C,T),i.lastInterval=d}else h=y.velocity,g=y.velocityX,v=y.velocityY,_=y.direction;d.velocity=h,d.velocityX=g,d.velocityY=v,d.direction=_}(h,d);var S=i.element;hasParent(d.srcEvent.target,S)&&(S=d.srcEvent.target);d.target=S}(i,h),i.emit("hammer.input",h),i.recognize(h),i.session.prevInput=h}function simpleCloneInputData(i){for(var d=[],h=0;h=k(d)?i<0?2:4:d<0?8:16}function getDistance(i,d,h){h||(h=B);var g=d[h[0]]-i[h[0]],v=d[h[1]]-i[h[1]];return Math.sqrt(g*g+v*v)}function getAngle(i,d,h){h||(h=B);var g=d[h[0]]-i[h[0]],v=d[h[1]]-i[h[1]];return 180*Math.atan2(v,g)/Math.PI}Input.prototype={handler:function handler(){},init:function init(){this.evEl&&addEventListeners(this.element,this.evEl,this.domHandler),this.evTarget&&addEventListeners(this.target,this.evTarget,this.domHandler),this.evWin&&addEventListeners(getWindowForElement(this.element),this.evWin,this.domHandler)},destroy:function destroy(){this.evEl&&removeEventListeners(this.element,this.evEl,this.domHandler),this.evTarget&&removeEventListeners(this.target,this.evTarget,this.domHandler),this.evWin&&removeEventListeners(getWindowForElement(this.element),this.evWin,this.domHandler)}};var W={mousedown:1,mousemove:2,mouseup:4},V="mousedown",Y="mousemove mouseup";function MouseInput(){this.evEl=V,this.evWin=Y,this.pressed=!1,Input.apply(this,arguments)}inherit(MouseInput,Input,{handler:function MEhandler(i){var d=W[i.type];1&d&&0===i.button&&(this.pressed=!0),2&d&&1!==i.which&&(d=4),this.pressed&&(4&d&&(this.pressed=!1),this.callback(this.manager,d,{pointers:[i],changedPointers:[i],pointerType:U,srcEvent:i}))}});var Q={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},X={2:N,3:"pen",4:U,5:"kinect"},G="pointerdown",Z="pointermove pointerup pointercancel";function PointerEventInput(){this.evEl=G,this.evWin=Z,Input.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}v.MSPointerEvent&&!v.PointerEvent&&(G="MSPointerDown",Z="MSPointerMove MSPointerUp MSPointerCancel"),inherit(PointerEventInput,Input,{handler:function PEhandler(i){var d=this.store,h=!1,g=i.type.toLowerCase().replace("ms",""),v=Q[g],_=X[i.pointerType]||i.pointerType,y=_==N,b=inArray(d,i.pointerId,"pointerId");1&v&&(0===i.button||y)?b<0&&(d.push(i),b=d.length-1):12&v&&(h=!0),b<0||(d[b]=i,this.callback(this.manager,v,{pointers:d,changedPointers:[i],pointerType:_,srcEvent:i}),h&&d.splice(b,1))}});var J={touchstart:1,touchmove:2,touchend:4,touchcancel:8},K="touchstart",ee="touchstart touchmove touchend touchcancel";function SingleTouchInput(){this.evTarget=K,this.evWin=ee,this.started=!1,Input.apply(this,arguments)}function normalizeSingleTouches(i,d){var h=toArray(i.touches),g=toArray(i.changedTouches);return 12&d&&(h=uniqueArray(h.concat(g),"identifier",!0)),[h,g]}inherit(SingleTouchInput,Input,{handler:function TEhandler(i){var d=J[i.type];if(1===d&&(this.started=!0),this.started){var h=normalizeSingleTouches.call(this,i,d);12&d&&h[0].length-h[1].length===0&&(this.started=!1),this.callback(this.manager,d,{pointers:h[0],changedPointers:h[1],pointerType:N,srcEvent:i})}}});var te={touchstart:1,touchmove:2,touchend:4,touchcancel:8},ne="touchstart touchmove touchend touchcancel";function TouchInput(){this.evTarget=ne,this.targetIds={},Input.apply(this,arguments)}function getTouches(i,d){var h=toArray(i.touches),g=this.targetIds;if(3&d&&1===h.length)return g[h[0].identifier]=!0,[h,h];var v,_,y=toArray(i.changedTouches),b=[],w=this.target;if(_=h.filter((function(i){return hasParent(i.target,w)})),1===d)for(v=0;v<_.length;)g[_[v].identifier]=!0,v++;for(v=0;v-1&&g.splice(i,1)}),2500)}}function isSyntheticEvent(i){for(var d=i.srcEvent.clientX,h=i.srcEvent.clientY,g=0;g-1&&this.requireFail.splice(d,1),this},hasRequireFailures:function hasRequireFailures(){return this.requireFail.length>0},canRecognizeWith:function canRecognizeWith(i){return!!this.simultaneous[i.id]},emit:function emit(i){var d=this,h=this.state;function emit(h){d.manager.emit(h,i)}h<8&&emit(d.options.event+stateStr(h)),emit(d.options.event),i.additionalEvent&&emit(i.additionalEvent),h>=8&&emit(d.options.event+stateStr(h))},tryEmit:function tryEmit(i){if(this.canEmit())return this.emit(i);this.state=de},canEmit:function canEmit(){for(var i=0;id.threshold&&v&d.direction},attrTest:function attrTest(i){return AttrRecognizer.prototype.attrTest.call(this,i)&&(2&this.state||!(2&this.state)&&this.directionTest(i))},emit:function emit(i){this.pX=i.deltaX,this.pY=i.deltaY;var d=directionStr(i.direction);d&&(i.additionalEvent=this.options.event+d),this._super.emit.call(this,i)}}),inherit(PinchRecognizer,AttrRecognizer,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function getTouchAction(){return[le]},attrTest:function attrTest(i){return this._super.attrTest.call(this,i)&&(Math.abs(i.scale-1)>this.options.threshold||2&this.state)},emit:function emit(i){if(1!==i.scale){var d=i.scale<1?"in":"out";i.additionalEvent=this.options.event+d}this._super.emit.call(this,i)}}),inherit(PressRecognizer,Recognizer,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function getTouchAction(){return[ae]},process:function process(i){var d=this.options,h=i.pointers.length===d.pointers,g=i.distanced.time;if(this._input=i,!g||!h||12&i.eventType&&!v)this.reset();else if(1&i.eventType)this.reset(),this._timer=setTimeoutContext((function(){this.state=8,this.tryEmit()}),d.time,this);else if(4&i.eventType)return 8;return de},reset:function reset(){clearTimeout(this._timer)},emit:function emit(i){8===this.state&&(i&&4&i.eventType?this.manager.emit(this.options.event+"up",i):(this._input.timeStamp=A(),this.manager.emit(this.options.event,this._input)))}}),inherit(RotateRecognizer,AttrRecognizer,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function getTouchAction(){return[le]},attrTest:function attrTest(i){return this._super.attrTest.call(this,i)&&(Math.abs(i.rotation)>this.options.threshold||2&this.state)}}),inherit(SwipeRecognizer,AttrRecognizer,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function getTouchAction(){return PanRecognizer.prototype.getTouchAction.call(this)},attrTest:function attrTest(i){var d,h=this.options.direction;return 30&h?d=i.overallVelocity:6&h?d=i.overallVelocityX:h&z&&(d=i.overallVelocityY),this._super.attrTest.call(this,i)&&h&i.offsetDirection&&i.distance>this.options.threshold&&i.maxPointers==this.options.pointers&&k(d)>this.options.velocity&&4&i.eventType},emit:function emit(i){var d=directionStr(i.offsetDirection);d&&this.manager.emit(this.options.event+d,i),this.manager.emit(this.options.event,i)}}),inherit(TapRecognizer,Recognizer,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function getTouchAction(){return[se]},process:function process(i){var d=this.options,h=i.pointers.length===d.pointers,g=i.distance65536)throw new TypeError("pattern is too long");var h=this.options;if(!h.noglobstar&&"**"===i)return v;if(""===i)return"";var g,_="",T=!!h.nocase,A=!1,P=[],O=[],M=!1,D=-1,R=-1,j="."===i.charAt(0)?"":h.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",N=this;function clearStateChar(){if(g){switch(g){case"*":_+=w,T=!0;break;case"?":_+=b,T=!0;break;default:_+="\\"+g}N.debug("clearStateChar %j %j",g,_),g=!1}}for(var U,z=0,B=i.length;z-1;G--){var Z=O[G],J=_.slice(0,Z.reStart),K=_.slice(Z.reStart,Z.reEnd-8),ee=_.slice(Z.reEnd-8,Z.reEnd),te=_.slice(Z.reEnd);ee+=te;var ne=J.split("(").length-1,re=te;for(z=0;z=0&&!(v=i[_]);_--);for(_=0;_>> no match, partial?",i,k,d,A),k!==b))}if("string"===typeof T?(C=g.nocase?S.toLowerCase()===T.toLowerCase():S===T,this.debug("string match",T,S,C)):(C=S.match(T),this.debug("pattern match",T,S,C)),!C)return!1}if(_===b&&y===w)return!0;if(_===b)return h;if(y===w)return _===b-1&&""===i[_];throw new Error("wtf?")}},2330:function(i,d,h){"use strict";h.r(d);var g="undefined"!==typeof window&&"undefined"!==typeof document&&"undefined"!==typeof navigator,v=function(){for(var i=["Edge","Trident","Firefox"],d=0;d=0)return 1;return 0}();var _=g&&window.Promise?function microtaskDebounce(i){var d=!1;return function(){d||(d=!0,window.Promise.resolve().then((function(){d=!1,i()})))}}:function taskDebounce(i){var d=!1;return function(){d||(d=!0,setTimeout((function(){d=!1,i()}),v))}};function isFunction(i){return i&&"[object Function]"==={}.toString.call(i)}function getStyleComputedProperty(i,d){if(1!==i.nodeType)return[];var h=i.ownerDocument.defaultView.getComputedStyle(i,null);return d?h[d]:h}function getParentNode(i){return"HTML"===i.nodeName?i:i.parentNode||i.host}function getScrollParent(i){if(!i)return document.body;switch(i.nodeName){case"HTML":case"BODY":return i.ownerDocument.body;case"#document":return i.body}var d=getStyleComputedProperty(i),h=d.overflow,g=d.overflowX,v=d.overflowY;return/(auto|scroll|overlay)/.test(h+v+g)?i:getScrollParent(getParentNode(i))}function getReferenceNode(i){return i&&i.referenceNode?i.referenceNode:i}var y=g&&!(!window.MSInputMethodContext||!document.documentMode),b=g&&/MSIE 10/.test(navigator.userAgent);function isIE(i){return 11===i?y:10===i?b:y||b}function getOffsetParent(i){if(!i)return document.documentElement;for(var d=isIE(10)?document.body:null,h=i.offsetParent||null;h===d&&i.nextElementSibling;)h=(i=i.nextElementSibling).offsetParent;var g=h&&h.nodeName;return g&&"BODY"!==g&&"HTML"!==g?-1!==["TH","TD","TABLE"].indexOf(h.nodeName)&&"static"===getStyleComputedProperty(h,"position")?getOffsetParent(h):h:i?i.ownerDocument.documentElement:document.documentElement}function getRoot(i){return null!==i.parentNode?getRoot(i.parentNode):i}function findCommonOffsetParent(i,d){if(!i||!i.nodeType||!d||!d.nodeType)return document.documentElement;var h=i.compareDocumentPosition(d)&Node.DOCUMENT_POSITION_FOLLOWING,g=h?i:d,v=h?d:i,_=document.createRange();_.setStart(g,0),_.setEnd(v,0);var y=_.commonAncestorContainer;if(i!==y&&d!==y||g.contains(v))return function isOffsetContainer(i){var d=i.nodeName;return"BODY"!==d&&("HTML"===d||getOffsetParent(i.firstElementChild)===i)}(y)?y:getOffsetParent(y);var b=getRoot(i);return b.host?findCommonOffsetParent(b.host,d):findCommonOffsetParent(i,getRoot(d).host)}function getScroll(i){var d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",h="top"===d?"scrollTop":"scrollLeft",g=i.nodeName;if("BODY"===g||"HTML"===g){var v=i.ownerDocument.documentElement,_=i.ownerDocument.scrollingElement||v;return _[h]}return i[h]}function includeScroll(i,d){var h=arguments.length>2&&void 0!==arguments[2]&&arguments[2],g=getScroll(d,"top"),v=getScroll(d,"left"),_=h?-1:1;return i.top+=g*_,i.bottom+=g*_,i.left+=v*_,i.right+=v*_,i}function getBordersSize(i,d){var h="x"===d?"Left":"Top",g="Left"===h?"Right":"Bottom";return parseFloat(i["border"+h+"Width"])+parseFloat(i["border"+g+"Width"])}function getSize(i,d,h,g){return Math.max(d["offset"+i],d["scroll"+i],h["client"+i],h["offset"+i],h["scroll"+i],isIE(10)?parseInt(h["offset"+i])+parseInt(g["margin"+("Height"===i?"Top":"Left")])+parseInt(g["margin"+("Height"===i?"Bottom":"Right")]):0)}function getWindowSizes(i){var d=i.body,h=i.documentElement,g=isIE(10)&&getComputedStyle(h);return{height:getSize("Height",d,h,g),width:getSize("Width",d,h,g)}}var w=function classCallCheck(i,d){if(!(i instanceof d))throw new TypeError("Cannot call a class as a function")},C=function(){function defineProperties(i,d){for(var h=0;h2&&void 0!==arguments[2]&&arguments[2],g=isIE(10),v="HTML"===d.nodeName,_=getBoundingClientRect(i),y=getBoundingClientRect(d),b=getScrollParent(i),w=getStyleComputedProperty(d),C=parseFloat(w.borderTopWidth),T=parseFloat(w.borderLeftWidth);h&&v&&(y.top=Math.max(y.top,0),y.left=Math.max(y.left,0));var S=getClientRect({top:_.top-y.top-C,left:_.left-y.left-T,width:_.width,height:_.height});if(S.marginTop=0,S.marginLeft=0,!g&&v){var k=parseFloat(w.marginTop),A=parseFloat(w.marginLeft);S.top-=C-k,S.bottom-=C-k,S.left-=T-A,S.right-=T-A,S.marginTop=k,S.marginLeft=A}return(g&&!h?d.contains(b):d===b&&"BODY"!==b.nodeName)&&(S=includeScroll(S,d)),S}function getViewportOffsetRectRelativeToArtbitraryNode(i){var d=arguments.length>1&&void 0!==arguments[1]&&arguments[1],h=i.ownerDocument.documentElement,g=getOffsetRectRelativeToArbitraryNode(i,h),v=Math.max(h.clientWidth,window.innerWidth||0),_=Math.max(h.clientHeight,window.innerHeight||0),y=d?0:getScroll(h),b=d?0:getScroll(h,"left"),w={top:y-g.top+g.marginTop,left:b-g.left+g.marginLeft,width:v,height:_};return getClientRect(w)}function isFixed(i){var d=i.nodeName;if("BODY"===d||"HTML"===d)return!1;if("fixed"===getStyleComputedProperty(i,"position"))return!0;var h=getParentNode(i);return!!h&&isFixed(h)}function getFixedPositionOffsetParent(i){if(!i||!i.parentElement||isIE())return document.documentElement;for(var d=i.parentElement;d&&"none"===getStyleComputedProperty(d,"transform");)d=d.parentElement;return d||document.documentElement}function getBoundaries(i,d,h,g){var v=arguments.length>4&&void 0!==arguments[4]&&arguments[4],_={top:0,left:0},y=v?getFixedPositionOffsetParent(i):findCommonOffsetParent(i,getReferenceNode(d));if("viewport"===g)_=getViewportOffsetRectRelativeToArtbitraryNode(y,v);else{var b=void 0;"scrollParent"===g?"BODY"===(b=getScrollParent(getParentNode(d))).nodeName&&(b=i.ownerDocument.documentElement):b="window"===g?i.ownerDocument.documentElement:g;var w=getOffsetRectRelativeToArbitraryNode(b,y,v);if("HTML"!==b.nodeName||isFixed(y))_=w;else{var C=getWindowSizes(i.ownerDocument),T=C.height,S=C.width;_.top+=w.top-w.marginTop,_.bottom=T+w.top,_.left+=w.left-w.marginLeft,_.right=S+w.left}}var k="number"===typeof(h=h||0);return _.left+=k?h:h.left||0,_.top+=k?h:h.top||0,_.right-=k?h:h.right||0,_.bottom-=k?h:h.bottom||0,_}function getArea(i){return i.width*i.height}function computeAutoPlacement(i,d,h,g,v){var _=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===i.indexOf("auto"))return i;var y=getBoundaries(h,g,_,v),b={top:{width:y.width,height:d.top-y.top},right:{width:y.right-d.right,height:y.height},bottom:{width:y.width,height:y.bottom-d.bottom},left:{width:d.left-y.left,height:y.height}},w=Object.keys(b).map((function(i){return S({key:i},b[i],{area:getArea(b[i])})})).sort((function(i,d){return d.area-i.area})),C=w.filter((function(i){var d=i.width,g=i.height;return d>=h.clientWidth&&g>=h.clientHeight})),T=C.length>0?C[0].key:w[0].key,k=i.split("-")[1];return T+(k?"-"+k:"")}function getReferenceOffsets(i,d,h){var g=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,v=g?getFixedPositionOffsetParent(d):findCommonOffsetParent(d,getReferenceNode(h));return getOffsetRectRelativeToArbitraryNode(h,v,g)}function getOuterSizes(i){var d=i.ownerDocument.defaultView.getComputedStyle(i),h=parseFloat(d.marginTop||0)+parseFloat(d.marginBottom||0),g=parseFloat(d.marginLeft||0)+parseFloat(d.marginRight||0);return{width:i.offsetWidth+g,height:i.offsetHeight+h}}function getOppositePlacement(i){var d={left:"right",right:"left",bottom:"top",top:"bottom"};return i.replace(/left|right|bottom|top/g,(function(i){return d[i]}))}function getPopperOffsets(i,d,h){h=h.split("-")[0];var g=getOuterSizes(i),v={width:g.width,height:g.height},_=-1!==["right","left"].indexOf(h),y=_?"top":"left",b=_?"left":"top",w=_?"height":"width",C=_?"width":"height";return v[y]=d[y]+d[w]/2-g[w]/2,v[b]=h===b?d[b]-g[C]:d[getOppositePlacement(b)],v}function find(i,d){return Array.prototype.find?i.find(d):i.filter(d)[0]}function runModifiers(i,d,h){return(void 0===h?i:i.slice(0,function findIndex(i,d,h){if(Array.prototype.findIndex)return i.findIndex((function(i){return i[d]===h}));var g=find(i,(function(i){return i[d]===h}));return i.indexOf(g)}(i,"name",h))).forEach((function(i){i.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var h=i.function||i.fn;i.enabled&&isFunction(h)&&(d.offsets.popper=getClientRect(d.offsets.popper),d.offsets.reference=getClientRect(d.offsets.reference),d=h(d,i))})),d}function update(){if(!this.state.isDestroyed){var i={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};i.offsets.reference=getReferenceOffsets(this.state,this.popper,this.reference,this.options.positionFixed),i.placement=computeAutoPlacement(this.options.placement,i.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),i.originalPlacement=i.placement,i.positionFixed=this.options.positionFixed,i.offsets.popper=getPopperOffsets(this.popper,i.offsets.reference,i.placement),i.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",i=runModifiers(this.modifiers,i),this.state.isCreated?this.options.onUpdate(i):(this.state.isCreated=!0,this.options.onCreate(i))}}function isModifierEnabled(i,d){return i.some((function(i){var h=i.name;return i.enabled&&h===d}))}function getSupportedPropertyName(i){for(var d=[!1,"ms","Webkit","Moz","O"],h=i.charAt(0).toUpperCase()+i.slice(1),g=0;g1&&void 0!==arguments[1]&&arguments[1],h=P.indexOf(i),g=P.slice(h+1).concat(P.slice(0,h));return d?g.reverse():g}var O="flip",M="clockwise",D="counterclockwise";function parseOffset(i,d,h,g){var v=[0,0],_=-1!==["right","left"].indexOf(g),y=i.split(/(\+|\-)/).map((function(i){return i.trim()})),b=y.indexOf(find(y,(function(i){return-1!==i.search(/,|\s/)})));y[b]&&-1===y[b].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var w=/\s*,\s*|\s+/,C=-1!==b?[y.slice(0,b).concat([y[b].split(w)[0]]),[y[b].split(w)[1]].concat(y.slice(b+1))]:[y];return(C=C.map((function(i,g){var v=(1===g?!_:_)?"height":"width",y=!1;return i.reduce((function(i,d){return""===i[i.length-1]&&-1!==["+","-"].indexOf(d)?(i[i.length-1]=d,y=!0,i):y?(i[i.length-1]+=d,y=!1,i):i.concat(d)}),[]).map((function(i){return function toValue(i,d,h,g){var v=i.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),_=+v[1],y=v[2];if(!_)return i;if(0===y.indexOf("%")){var b=void 0;switch(y){case"%p":b=h;break;case"%":case"%r":default:b=g}return getClientRect(b)[d]/100*_}if("vh"===y||"vw"===y)return("vh"===y?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*_;return _}(i,v,d,h)}))}))).forEach((function(i,d){i.forEach((function(h,g){isNumeric(h)&&(v[d]+=h*("-"===i[g-1]?-1:1))}))})),v}var R={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function onCreate(){},onUpdate:function onUpdate(){},modifiers:{shift:{order:100,enabled:!0,fn:function shift(i){var d=i.placement,h=d.split("-")[0],g=d.split("-")[1];if(g){var v=i.offsets,_=v.reference,y=v.popper,b=-1!==["bottom","top"].indexOf(h),w=b?"left":"top",C=b?"width":"height",k={start:T({},w,_[w]),end:T({},w,_[w]+_[C]-y[C])};i.offsets.popper=S({},y,k[g])}return i}},offset:{order:200,enabled:!0,fn:function offset(i,d){var h=d.offset,g=i.placement,v=i.offsets,_=v.popper,y=v.reference,b=g.split("-")[0],w=void 0;return w=isNumeric(+h)?[+h,0]:parseOffset(h,_,y,b),"left"===b?(_.top+=w[0],_.left-=w[1]):"right"===b?(_.top+=w[0],_.left+=w[1]):"top"===b?(_.left+=w[0],_.top-=w[1]):"bottom"===b&&(_.left+=w[0],_.top+=w[1]),i.popper=_,i},offset:0},preventOverflow:{order:300,enabled:!0,fn:function preventOverflow(i,d){var h=d.boundariesElement||getOffsetParent(i.instance.popper);i.instance.reference===h&&(h=getOffsetParent(h));var g=getSupportedPropertyName("transform"),v=i.instance.popper.style,_=v.top,y=v.left,b=v[g];v.top="",v.left="",v[g]="";var w=getBoundaries(i.instance.popper,i.instance.reference,d.padding,h,i.positionFixed);v.top=_,v.left=y,v[g]=b,d.boundaries=w;var C=d.priority,k=i.offsets.popper,A={primary:function primary(i){var h=k[i];return k[i]w[i]&&!d.escapeWithReference&&(g=Math.min(k[h],w[i]-("right"===i?k.width:k.height))),T({},h,g)}};return C.forEach((function(i){var d=-1!==["left","top"].indexOf(i)?"primary":"secondary";k=S({},k,A[d](i))})),i.offsets.popper=k,i},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function keepTogether(i){var d=i.offsets,h=d.popper,g=d.reference,v=i.placement.split("-")[0],_=Math.floor,y=-1!==["top","bottom"].indexOf(v),b=y?"right":"bottom",w=y?"left":"top",C=y?"width":"height";return h[b]<_(g[w])&&(i.offsets.popper[w]=_(g[w])-h[C]),h[w]>_(g[b])&&(i.offsets.popper[w]=_(g[b])),i}},arrow:{order:500,enabled:!0,fn:function arrow(i,d){var h;if(!isModifierRequired(i.instance.modifiers,"arrow","keepTogether"))return i;var g=d.element;if("string"===typeof g){if(!(g=i.instance.popper.querySelector(g)))return i}else if(!i.instance.popper.contains(g))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),i;var v=i.placement.split("-")[0],_=i.offsets,y=_.popper,b=_.reference,w=-1!==["left","right"].indexOf(v),C=w?"height":"width",S=w?"Top":"Left",k=S.toLowerCase(),A=w?"left":"top",P=w?"bottom":"right",O=getOuterSizes(g)[C];b[P]-Oy[P]&&(i.offsets.popper[k]+=b[k]+O-y[P]),i.offsets.popper=getClientRect(i.offsets.popper);var M=b[k]+b[C]/2-O/2,D=getStyleComputedProperty(i.instance.popper),R=parseFloat(D["margin"+S]),j=parseFloat(D["border"+S+"Width"]),N=M-i.offsets.popper[k]-R-j;return N=Math.max(Math.min(y[C]-O,N),0),i.arrowElement=g,i.offsets.arrow=(T(h={},k,Math.round(N)),T(h,A,""),h),i},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function flip(i,d){if(isModifierEnabled(i.instance.modifiers,"inner"))return i;if(i.flipped&&i.placement===i.originalPlacement)return i;var h=getBoundaries(i.instance.popper,i.instance.reference,d.padding,d.boundariesElement,i.positionFixed),g=i.placement.split("-")[0],v=getOppositePlacement(g),_=i.placement.split("-")[1]||"",y=[];switch(d.behavior){case O:y=[g,v];break;case M:y=clockwise(g);break;case D:y=clockwise(g,!0);break;default:y=d.behavior}return y.forEach((function(b,w){if(g!==b||y.length===w+1)return i;g=i.placement.split("-")[0],v=getOppositePlacement(g);var C=i.offsets.popper,T=i.offsets.reference,k=Math.floor,A="left"===g&&k(C.right)>k(T.left)||"right"===g&&k(C.left)k(T.top)||"bottom"===g&&k(C.top)k(h.right),M=k(C.top)k(h.bottom),R="left"===g&&P||"right"===g&&O||"top"===g&&M||"bottom"===g&&D,j=-1!==["top","bottom"].indexOf(g),N=!!d.flipVariations&&(j&&"start"===_&&P||j&&"end"===_&&O||!j&&"start"===_&&M||!j&&"end"===_&&D),U=!!d.flipVariationsByContent&&(j&&"start"===_&&O||j&&"end"===_&&P||!j&&"start"===_&&D||!j&&"end"===_&&M),z=N||U;(A||R||z)&&(i.flipped=!0,(A||R)&&(g=y[w+1]),z&&(_=function getOppositeVariation(i){return"end"===i?"start":"start"===i?"end":i}(_)),i.placement=g+(_?"-"+_:""),i.offsets.popper=S({},i.offsets.popper,getPopperOffsets(i.instance.popper,i.offsets.reference,i.placement)),i=runModifiers(i.instance.modifiers,i,"flip"))})),i},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function inner(i){var d=i.placement,h=d.split("-")[0],g=i.offsets,v=g.popper,_=g.reference,y=-1!==["left","right"].indexOf(h),b=-1===["top","left"].indexOf(h);return v[y?"left":"top"]=_[h]-(b?v[y?"width":"height"]:0),i.placement=getOppositePlacement(d),i.offsets.popper=getClientRect(v),i}},hide:{order:800,enabled:!0,fn:function hide(i){if(!isModifierRequired(i.instance.modifiers,"hide","preventOverflow"))return i;var d=i.offsets.reference,h=find(i.instance.modifiers,(function(i){return"preventOverflow"===i.name})).boundaries;if(d.bottomh.right||d.top>h.bottom||d.right2&&void 0!==arguments[2]?arguments[2]:{};w(this,Popper),this.scheduleUpdate=function(){return requestAnimationFrame(h.update)},this.update=_(this.update.bind(this)),this.options=S({},Popper.Defaults,g),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=i&&i.jquery?i[0]:i,this.popper=d&&d.jquery?d[0]:d,this.options.modifiers={},Object.keys(S({},Popper.Defaults.modifiers,g.modifiers)).forEach((function(i){h.options.modifiers[i]=S({},Popper.Defaults.modifiers[i]||{},g.modifiers?g.modifiers[i]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(i){return S({name:i},h.options.modifiers[i])})).sort((function(i,d){return i.order-d.order})),this.modifiers.forEach((function(i){i.enabled&&isFunction(i.onLoad)&&i.onLoad(h.reference,h.popper,h.options,i,h.state)})),this.update();var v=this.options.eventsEnabled;v&&this.enableEventListeners(),this.state.eventsEnabled=v}return C(Popper,[{key:"update",value:function update$$1(){return update.call(this)}},{key:"destroy",value:function destroy$$1(){return destroy.call(this)}},{key:"enableEventListeners",value:function enableEventListeners$$1(){return enableEventListeners.call(this)}},{key:"disableEventListeners",value:function disableEventListeners$$1(){return disableEventListeners.call(this)}}]),Popper}();j.Utils=("undefined"!==typeof window?window:h.g).PopperUtils,j.placements=A,j.Defaults=R,d.default=j},2555:function(i,d,h){var g,v,_,y;function _typeof(i){return(_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(i){return typeof i}:function _typeof(i){return i&&"function"===typeof Symbol&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i})(i)}y=function(i,d,h,g){"use strict";function o(i){return i&&"object"==_typeof(i)&&"default"in i?i:{default:i}}var v=o(d),_=o(h),y=o(g),b=function a(){return(b=Object.assign||function(i){for(var d,h=1,g=arguments.length;h0&&v[v.length-1])||6!==_[0]&&2!==_[0])){y=0;continue}if(3===_[0]&&(!v||_[1]>v[0]&&_[1]j.durationMax?j.durationMax:j.durationMin&&N=X)return P.cancelScroll(!0),y(g,h,O),b("scrollStop",S,g,w),!(A=U=null)}(B,Y)||(A=i.requestAnimationFrame(E),U=d)};0===i.pageYOffset&&i.scrollTo(0,0),q=g,W=S,O||history.pushState&&W.updateURL&&history.pushState({smoothScroll:JSON.stringify(W),anchor:q.id},document.title,q===document.documentElement?"#top":"#"+q.id),"matchMedia"in i&&i.matchMedia("(prefers-reduced-motion)").matches?y(g,Math.floor(Y),!1):(b("scrollStart",S,g,w),P.cancelScroll(!0),i.requestAnimationFrame(J))}}},O=function t(d){if(!d.defaultPrevented&&!(0!==d.button||d.metaKey||d.ctrlKey||d.shiftKey)&&"closest"in d.target&&(S=d.target.closest(w))&&"a"===S.tagName.toLowerCase()&&!d.target.closest(T.ignore)&&S.hostname===i.location.hostname&&S.pathname===i.location.pathname&&/#/.test(S.href)){var t,h;try{t=g(decodeURIComponent(S.hash))}catch(d){t=g(S.hash)}if("#"===t){if(!T.topOnEmptyHash)return;h=document.documentElement}else h=document.querySelector(t);(h=h||"#top"!==t?h:document.documentElement)&&(d.preventDefault(),function(d){if(history.replaceState&&d.updateURL&&!history.state){var h=i.location.hash;h=h||"",history.replaceState({smoothScroll:JSON.stringify(d),anchor:h||i.pageYOffset},document.title,h||i.location.href)}}(T),P.animateScroll(h,S))}},M=function n(i){if(null!==history.state&&history.state.smoothScroll&&history.state.smoothScroll===JSON.stringify(T)){var d=history.state.anchor;"string"==typeof d&&d&&!(d=document.querySelector(g(history.state.anchor)))||P.animateScroll(d,null,{updateURL:!1})}};return P.destroy=function(){T&&(document.removeEventListener("click",O,!1),i.removeEventListener("popstate",M,!1),P.cancelScroll(),A=k=S=T=null)},function(){if(!("querySelector"in document&&"addEventListener"in i&&"requestAnimationFrame"in i&&"closest"in i.Element.prototype))throw"Smooth Scroll: This browser does not support the required JavaScript methods and browser APIs.";P.destroy(),T=h(d,C||{}),k=T.header?document.querySelector(T.header):null,document.addEventListener("click",O,!1),T.updateURL&&T.popstate&&i.addEventListener("popstate",M,!1)}(),P}}(v)}.apply(d,[]))||(i.exports=g)},2878:function(){function _gaLt(i){if("function"===typeof ga){for(var d=i.srcElement||i.target;d&&("undefined"==typeof d.tagName||"a"!=d.tagName.toLowerCase()||!d.href);)d=d.parentNode;if(d&&d.href){var h=d.href;if(-1==h.indexOf(location.host)&&!h.match(/^javascript:/i)){var g=!(!d.target||d.target.match(/^_(self|parent|top)$/i))&&d.target;ga("send","event","Outgoing Links",h,document.location.pathname+document.location.search,{hitCallback:function hitBack(i,d){d?window.open(i,d):window.location.href=i}(h,g)}),i.preventDefault?i.preventDefault():i.returnValue=!1}}}}var i=window;i.addEventListener?i.addEventListener("load",(function(){document.body.addEventListener("click",_gaLt,!1)}),!1):i.attachEvent&&i.attachEvent("onload",(function(){document.body.attachEvent("onclick",_gaLt)}))},8928:function(i,d,h){"use strict";h.r(d),d.default="../fonts/photo3.svg"},5319:function(i){i.exports="../img/bg.png"},1690:function(i){i.exports="../img/logo.png"},2475:function(i){i.exports="../img/photo1.png"},1921:function(i){i.exports="../img/photo2.jpg"},3761:function(i){function webpackEmptyContext(i){var d=new Error("Cannot find module '"+i+"'");throw d.code="MODULE_NOT_FOUND",d}webpackEmptyContext.keys=function(){return[]},webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id=3761,i.exports=webpackEmptyContext},9310:function(i,d,h){var g={"./bg.png":5319,"./logo.png":1690,"./photo1.png":2475,"./photo2.jpg":1921,"./photo3.svg":8928,"bg.png":5319,"img/bg.png":5319,"img/logo.png":1690,"img/photo1.png":2475,"img/photo2.jpg":1921,"img/photo3.svg":8928,"logo.png":1690,"photo1.png":2475,"photo2.jpg":1921,"photo3.svg":8928,"src/img/bg.png":5319,"src/img/logo.png":1690,"src/img/photo1.png":2475,"src/img/photo2.jpg":1921,"src/img/photo3.svg":8928};function webpackContext(i){var d=webpackContextResolve(i);return h(d)}function webpackContextResolve(i){if(!h.o(g,i)){var d=new Error("Cannot find module '"+i+"'");throw d.code="MODULE_NOT_FOUND",d}return g[i]}webpackContext.keys=function webpackContextKeys(){return Object.keys(g)},webpackContext.resolve=webpackContextResolve,i.exports=webpackContext,webpackContext.id=9310},3804:function(i){"use strict";i.exports=React},3609:function(i){"use strict";i.exports=jQuery},1386:function(){}},d={};function __webpack_require__(h){if(d[h])return d[h].exports;var g=d[h]={exports:{}};return i[h].call(g.exports,g,g.exports,__webpack_require__),g.exports}__webpack_require__.n=function(i){var d=i&&i.__esModule?function(){return i.default}:function(){return i};return __webpack_require__.d(d,{a:d}),d},__webpack_require__.d=function(i,d){for(var h in d)__webpack_require__.o(d,h)&&!__webpack_require__.o(i,h)&&Object.defineProperty(i,h,{enumerable:!0,get:d[h]})},__webpack_require__.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(i){if("object"===typeof window)return window}}(),__webpack_require__.o=function(i,d){return Object.prototype.hasOwnProperty.call(i,d)},__webpack_require__.r=function(i){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},function(){"use strict";var i=__webpack_require__(3609),d=__webpack_require__.n(i),h=(__webpack_require__(670),__webpack_require__(5470),__webpack_require__(4472),__webpack_require__(8362),__webpack_require__(3378),__webpack_require__(9779),__webpack_require__(6043),{AJAX:"ajax-load",AJAXMAIN:"ajax-main-load",MAININIT:"main-init",TABHIDDEN:"tab-hidden",TABFOCUSED:"tab-focused",OFFLINE:"offline",ONLINE:"online",BACKONLINE:"back-online",TOUCHENABLE:"touch-enabled",TOUCHDISABLED:"touch-disabled",LOADED:"load",SWIPELEFT:"swipeleft panleft",SWIPERIGHT:"swiperight panright",ALLERTAPPEARED:"alert-appeared",ALERTREMOVED:"alert-removed",LODEDANDREADY:"load-ready",LAZYIMAGEREADY:"image-lazy-bg-loaded",LAZYIMAGESREADY:"images-lazy-loaded",MAPLOADED:"map-loaded",MAPAPILOADED:"map-api-loaded",MAPMARKERCLICK:"map-marker-click",MAPPOPUPCLOSE:"map-popup-close",SCROLL:"scroll",RESIZE:"resize",CAROUSEL_READY:"bs.carousel.ready",SET_TARGET_UPDATE:"set-target-update",RESTORE_FIELD:"restore-field",FORM_INIT_BASICS:"form-basics",FORM_INIT_STEPPED:"form-init-stepped",FORM_INIT_VALIDATE:"form-init-validate",FORM_INIT_VALIDATE_FIELD:"form-init-validate-field",FORM_INIT_STORAGE:"form-init-storage",FORM_VALIDATION_FAILED:"form-validation-failed",FORM_STEPPED_NEW_STEP:"form-new-step",FORM_STEPPED_FIRST_STEP:"form-first-step",FORM_STEPPED_LAST_STEP:"form-last-step",FORM_FIELDS:"input,textarea,select"}),g=(__webpack_require__(984),function extendStatics(i,d){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,d){i.__proto__=d}||function(i,d){for(var h in d)Object.prototype.hasOwnProperty.call(d,h)&&(i[h]=d[h])})(i,d)});function __extends(i,d){function __(){this.constructor=i}g(i,d),i.prototype=null===d?Object.create(d):(__.prototype=d.prototype,new __)}var v=function __assign(){return(v=Object.assign||function __assign(i){for(var d,h=1,g=arguments.length;h=332&&google.maps.event.addDomListener(this.div_,"touchstart",(function(i){i.stopPropagation()})),google.maps.event.addDomListener(this.div_,"click",(function(v){if(i=!1,!d){if(google.maps.event.trigger(g,"click",h.cluster_),google.maps.event.trigger(g,"clusterclick",h.cluster_),g.getZoomOnClick()){var _=g.getMaxZoom(),y=h.cluster_.getBounds();g.getMap().fitBounds(y),setTimeout((function(){g.getMap().fitBounds(y),null!==_&&g.getMap().getZoom()>_&&g.getMap().setZoom(_+1)}),100)}v.cancelBubble=!0,v.stopPropagation&&v.stopPropagation()}})),google.maps.event.addDomListener(this.div_,"mouseover",(function(){google.maps.event.trigger(g,"mouseover",h.cluster_)})),google.maps.event.addDomListener(this.div_,"mouseout",(function(){google.maps.event.trigger(g,"mouseout",h.cluster_)}))},ClusterIcon.prototype.onRemove=function(){this.div_&&this.div_.parentNode&&(this.hide(),google.maps.event.removeListener(this.boundsChangedListener_),google.maps.event.clearInstanceListeners(this.div_),this.div_.parentNode.removeChild(this.div_),this.div_=null)},ClusterIcon.prototype.draw=function(){if(this.visible_){var i=this.getPosFromLatLng_(this.center_);this.div_.style.top=i.y+"px",this.div_.style.left=i.x+"px"}},ClusterIcon.prototype.hide=function(){this.div_&&(this.div_.style.display="none"),this.visible_=!1},ClusterIcon.prototype.show=function(){this.div_&&(this.div_.className=this.className_,this.div_.style.cssText=this.createCss_(this.getPosFromLatLng_(this.center_)),this.div_.innerHTML=(this.style.url?this.getImageElementHtml():"")+this.getLabelDivHtml(),"undefined"===typeof this.sums_.title||""===this.sums_.title?this.div_.title=this.cluster_.getMarkerClusterer().getTitle():this.div_.title=this.sums_.title,this.div_.style.display=""),this.visible_=!0},ClusterIcon.prototype.getLabelDivHtml=function(){return'\n
\n \n
\n"},ClusterIcon.prototype.getImageElementHtml=function(){var i=(this.style.backgroundPosition||"0 0").split(" "),d=parseInt(i[0].replace(/^\s+|\s+$/g,""),10),h=parseInt(i[1].replace(/^\s+|\s+$/g,""),10),g={};if(this.cluster_.getMarkerClusterer().getEnableRetinaIcons())g={width:coercePixels(this.style.width),height:coercePixels(this.style.height)};else{var _=[-1*h,-1*d+this.style.width,-1*h+this.style.height,-1*d];g={clip:"rect("+_[0]+"px, "+_[1]+"px, "+_[2]+"px, "+_[3]+"px)"}}var y=toCssText(v({position:"absolute",top:coercePixels(h),left:coercePixels(d)},g));return''},ClusterIcon.prototype.useStyle=function(i){this.sums_=i;var d=Math.max(0,i.index-1);d=Math.min(this.styles_.length-1,d),this.style=this.styles_[d],this.anchorText_=this.style.anchorText||[0,0],this.anchorIcon_=this.style.anchorIcon||[Math.floor(this.style.height/2),Math.floor(this.style.width/2)],this.className_=this.cluster_.getMarkerClusterer().getClusterClass()+" "+(this.style.className||"cluster-"+d)},ClusterIcon.prototype.setCenter=function(i){this.center_=i},ClusterIcon.prototype.createCss_=function(i){return toCssText({"z-index":""+this.cluster_.getMarkerClusterer().getZIndex(),top:coercePixels(i.y),left:coercePixels(i.x),width:coercePixels(this.style.width),height:coercePixels(this.style.height),cursor:"pointer",position:"absolute","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-o-user-select":"none","user-select":"none"})},ClusterIcon.prototype.getPosFromLatLng_=function(i){var d=this.getProjection().fromLatLngToDivPixel(i);return d.x=Math.floor(d.x-this.anchorIcon_[1]),d.y=Math.floor(d.y-this.anchorIcon_[0]),d},ClusterIcon}(_),b=function(){function Cluster(i){this.markerClusterer_=i,this.map_=this.markerClusterer_.getMap(),this.minClusterSize_=this.markerClusterer_.getMinimumClusterSize(),this.averageCenter_=this.markerClusterer_.getAverageCenter(),this.markers_=[],this.center_=null,this.bounds_=null,this.clusterIcon_=new y(this,this.markerClusterer_.getStyles())}return Cluster.prototype.getSize=function(){return this.markers_.length},Cluster.prototype.getMarkers=function(){return this.markers_},Cluster.prototype.getCenter=function(){return this.center_},Cluster.prototype.getMap=function(){return this.map_},Cluster.prototype.getMarkerClusterer=function(){return this.markerClusterer_},Cluster.prototype.getBounds=function(){for(var i=new google.maps.LatLngBounds(this.center_,this.center_),d=this.getMarkers(),h=0;h_)i.getMap()!==this.map_&&i.setMap(this.map_);else if(vd)this.clusterIcon_.hide();else if(i0))for(var i=0;i3?new google.maps.LatLngBounds(this.getMap().getBounds().getSouthWest(),this.getMap().getBounds().getNorthEast()):new google.maps.LatLngBounds(new google.maps.LatLng(85.02070771743472,-178.48388434375),new google.maps.LatLng(-85.08136444384544,178.00048865625));for(var g=this.getExtendedBounds(h),v=Math.min(i+this.batchSize_,this.markers_.length),_=i;_',g.divClass=i.divClass,g.align=i.align,g.isDebugMode=i.debug,g.onClick=i.onClick,g.onMouseOver=i.onMouseOver,g.isBoolean=function(i){return"boolean"===typeof i},g.isNotUndefined=function(i){return"undefined"!==typeof i},g.hasContent=function(i){return i.length>0},g.isString=function(i){return"string"===typeof i},g.isFunction=function(i){return"function"===typeof i},d}return function _createClass(i,d,h){return d&&_defineProperties(i.prototype,d),h&&_defineProperties(i,h),i}(GoogleMapsHtmlOverlay,[{key:"onAdd",value:function onAdd(){var i=this;i.div=document.createElement("div"),i.div.style.position="absolute",i.isNotUndefined(i.divClass)&&i.hasContent(i.divClass)&&(i.div.className=i.divClass),i.isNotUndefined(i.html)&&i.hasContent(i.html)&&i.isString(i.html)&&(i.div.innerHTML=i.html),i.isBoolean(i.isDebugMode)&&i.isDebugMode&&(i.div.className="debug-mode",i.div.innerHTML='
Debug mode
',i.div.setAttribute("style","position: absolute;border: 5px dashed red;height: 150px;width: 150px;display: flex;justify-content: center;align-items: center;")),i.getPanes().overlayMouseTarget.appendChild(i.div),google.maps.event.addDomListener(i.div,"click",(function(d){google.maps.event.trigger(i,"click"),i.isFunction(i.onClick)&&i.onClick(),d.stopPropagation()})),google.maps.event.addDomListener(i.div,"mouseover",(function(d){google.maps.event.trigger(i,"mouseover"),i.isFunction(i.onMouseOver)&&i.onMouseOver(),d.stopPropagation()}))}},{key:"draw",value:function draw(){var i=this,h=d()(i.div).find(".mapboxgl-marker,.marker-pin,.mapboxgl-popup,.popup");h.length||(h=d()(i.div));var g=i.getProjection();if(!g)return console.log("GoogleMapsHtmlOverlay: current map is missing"),null;var v=g.fromLatLngToDivPixel(i.getPosition()),_={y:void 0,x:void 0},y=h.outerWidth(),b=h.outerHeight();switch(Array.isArray(i.align)?i.align.join(" "):""){case"left top":_.y=b,_.x=y;break;case"left center":_.y=b/2,_.x=y;break;case"left bottom":_.y=0,_.x=y;break;case"center top":_.y=b,_.x=y/2;break;case"center center":_.y=b/2,_.x=y/2;break;case"center bottom":_.y=0,_.x=y/2;break;case"right top":_.y=b,_.x=0;break;case"right center":_.y=b/2,_.x=0;break;case"right bottom":_.y=0,_.x=0;break;default:_.y=b/2,_.x=y/2}i.div.style.top="".concat(v.y-_.y,"px"),i.div.style.left="".concat(v.x-_.x,"px")}},{key:"getPosition",value:function getPosition(){return new google.maps.LatLng(this.position)}},{key:"getDiv",value:function getDiv(){return this.div}},{key:"setPosition",value:function setPosition(i,d){var h=this;h.position=i,h.align=d,h.draw()}},{key:"remove",value:function remove(){this.setMap(null),this.div.remove()}},{key:"getDraggable",value:function getDraggable(){return!1}}]),GoogleMapsHtmlOverlay}()}};function _map_google_defineProperties(i,d){for(var h=0;h1&&void 0!==arguments[1]?arguments[1]:[],h=this,g=window;h.$el=i,h.config=d,h.markers=[],g["init".concat(h.getName())]=function(){h.googleApiLoaded()},$("body").append(' diff --git a/eslint.config.json b/eslint.config.json new file mode 100644 index 0000000..76361fd --- /dev/null +++ b/eslint.config.json @@ -0,0 +1,272 @@ +{ + // http://eslint.org/docs/rules/ + "extends": "eslint:recommended", + + "settings": { + "react": { + "version": "detect" + } + }, + + "env": { + "browser": true, // browser global variables. + "node": true, // Node.js global variables and Node.js-specific rules. + "amd": true, // defines require() and define() as global variables as per the amd spec. + "mocha": false, // adds all of the Mocha testing global variables. + "jasmine": false, // adds all of the Jasmine testing global variables for version 1.3 and 2.0. + "phantomjs": false, // phantomjs global variables. + "jquery": true, // jquery global variables. + "prototypejs": false, // prototypejs global variables. + "shelljs": false, // shelljs global variables. + "es6": true + }, + + "globals": { + // e.g. "angular": true + }, + + "plugins": ["react", "import", "jquery"], + + "parser": "@babel/eslint-parser", + + "parserOptions": { + "ecmaVersion": 6, + "sourceType": "module", + "ecmaFeatures": { + "jsx": true, + "experimentalObjectRestSpread": true + } + }, + + "rules": { + ////////// Possible Errors ////////// + + "no-comma-dangle": 0, // disallow trailing commas in object literals + "no-cond-assign": 0, // disallow assignment in conditional expressions + "no-console": 0, // disallow use of console (off by default in the node environment) + "no-constant-condition": 0, // disallow use of constant expressions in conditions + "no-control-regex": 0, // disallow control characters in regular expressions + "no-debugger": 0, // disallow use of debugger + "no-dupe-keys": 0, // disallow duplicate keys when creating object literals + "no-empty": 0, // disallow empty statements + "no-empty-class": 0, // disallow the use of empty character classes in regular expressions + "no-ex-assign": 0, // disallow assigning to the exception in a catch block + "no-extra-boolean-cast": 0, // disallow double-negation boolean casts in a boolean context + "no-extra-parens": 0, // disallow unnecessary parentheses (off by default) + "no-extra-semi": 0, // disallow unnecessary semicolons + "no-func-assign": 0, // disallow overwriting functions written as function declarations + "no-inner-declarations": 0, // disallow function or variable declarations in nested blocks + "no-invalid-regexp": 0, // disallow invalid regular expression strings in the RegExp constructor + "no-irregular-whitespace": 0, // disallow irregular whitespace outside of strings and comments + "no-negated-in-lhs": 0, // disallow negation of the left operand of an in expression + "no-obj-calls": 0, // disallow the use of object properties of the global object (Math and JSON) as functions + "no-regex-spaces": 0, // disallow multiple spaces in a regular expression literal + "no-reserved-keys": 0, // disallow reserved words being used as object literal keys (off by default) + "no-sparse-arrays": 0, // disallow sparse arrays + "no-unreachable": 0, // disallow unreachable statements after a return, throw, continue, or break statement + "use-isnan": 0, // disallow comparisons with the value NaN + "valid-jsdoc": 0, // Ensure JSDoc comments are valid (off by default) + "valid-typeof": 0, // Ensure that the results of typeof are compared against a valid string + + ////////// Best Practices ////////// + + "block-scoped-var": 0, // treat var statements as if they were block scoped (off by default) + "complexity": 0, // specify the maximum cyclomatic complexity allowed in a program (off by default) + "consistent-return": 0, // require return statements to either always or never specify values + "curly": 0, // specify curly brace conventions for all control statements + "default-case": 0, // require default case in switch statements (off by default) + "dot-notation": 0, // encourages use of dot notation whenever possible + "eqeqeq": 0, // require the use of === and !== + "guard-for-in": 0, // make sure for-in loops have an if statement (off by default) + "no-alert": 0, // disallow the use of alert, confirm, and prompt + "no-caller": 0, // disallow use of arguments.caller or arguments.callee + "no-div-regex": 0, // disallow division operators explicitly at beginning of regular expression (off by default) + "no-else-return": 0, // disallow else after a return in an if (off by default) + "no-empty-label": 0, // disallow use of labels for anything other then loops and switches + "no-eq-null": 0, // disallow comparisons to null without a type-checking operator (off by default) + "no-eval": 0, // disallow use of eval() + "no-extend-native": 0, // disallow adding to native types + "no-extra-bind": 0, // disallow unnecessary function binding + "no-fallthrough": 0, // disallow fallthrough of case statements + "no-floating-decimal": 0, // disallow the use of leading or trailing decimal points in numeric literals (off by default) + "no-implied-eval": 0, // disallow use of eval()-like methods + "no-iterator": 0, // disallow usage of __iterator__ property + "no-labels": 0, // disallow use of labeled statements + "no-lone-blocks": 0, // disallow unnecessary nested blocks + "no-loop-func": 0, // disallow creation of functions within loops + "no-multi-spaces": 0, // disallow use of multiple spaces + "no-multi-str": 0, // disallow use of multiline strings + "no-native-reassign": 0, // disallow reassignments of native objects + "no-new": 0, // disallow use of new operator when not part of the assignment or comparison + "no-new-func": 0, // disallow use of new operator for Function object + "no-new-wrappers": 0, // disallows creating new instances of String, Number, and Boolean + "no-octal": 0, // disallow use of octal literals + "no-octal-escape": 0, // disallow use of octal escape sequences in string literals, such as var foo = "Copyright \251"; + "no-process-env": 0, // disallow use of process.env (off by default) + "no-proto": 0, // disallow usage of __proto__ property + "no-redeclare": 0, // disallow declaring the same variable more then once + "no-return-assign": 0, // disallow use of assignment in return statement + "no-script-url": 0, // disallow use of javascript: urls. + "no-self-compare": 0, // disallow comparisons where both sides are exactly the same (off by default) + "no-sequences": 0, // disallow use of comma operator + "no-unused-expressions": 0, // disallow usage of expressions in statement position + "no-void": 0, // disallow use of void operator (off by default) + "no-warning-comments": 0, // disallow usage of configurable warning terms in comments, e.g. TODO or FIXME (off by default) + "no-with": 0, // disallow use of the with statement + "radix": 0, // require use of the second argument for parseInt() (off by default) + "vars-on-top": 0, // requires to declare all vars on top of their containing scope (off by default) + "wrap-iife": 0, // require immediate function invocation to be wrapped in parentheses (off by default) + "yoda": 0, // require or disallow Yoda conditions + + ////////// Strict Mode ////////// + + "global-strict": 0, // (deprecated) require or disallow the "use strict" pragma in the global scope (off by default in the node environment) + "no-extra-strict": 0, // (deprecated) disallow unnecessary use of "use strict"; when already in strict mode + "strict": 0, // controls location of Use Strict Directives + + ////////// Variables ////////// + + "no-catch-shadow": 0, // disallow the catch clause parameter name being the same as a variable in the outer scope (off by default in the node environment) + "no-delete-var": 0, // disallow deletion of variables + "no-label-var": 0, // disallow labels that share a name with a variable + "no-shadow": 0, // disallow declaration of variables already declared in the outer scope + "no-shadow-restricted-names": 0, // disallow shadowing of names such as arguments + "no-undef": 0, // disallow use of undeclared variables unless mentioned in a /*global */ block + "no-undef-init": 0, // disallow use of undefined when initializing variables + "no-undefined": 0, // disallow use of undefined variable (off by default) + "no-unused-vars": 0, // disallow declaration of variables that are not used in the code + "no-use-before-define": 0, // disallow use of variables before they are defined + + ////////// Node.js ////////// + + "handle-callback-err": 0, // enforces error handling in callbacks (off by default) (on by default in the node environment) + "no-mixed-requires": 0, // disallow mixing regular variable and require declarations (off by default) (on by default in the node environment) + "no-new-require": 0, // disallow use of new operator with the require function (off by default) (on by default in the node environment) + "no-path-concat": 0, // disallow string concatenation with __dirname and __filename (off by default) (on by default in the node environment) + "no-process-exit": 0, // disallow process.exit() (on by default in the node environment) + "no-restricted-modules": 0, // restrict usage of specified node modules (off by default) + "no-sync": 0, // disallow use of synchronous methods (off by default) + + ////////// Stylistic Issues ////////// + + "brace-style": 0, // enforce one true brace style (off by default) + "camelcase": 0, // require camel case names + "comma-spacing": 0, // enforce spacing before and after comma + "comma-style": 0, // enforce one true comma style (off by default) + "consistent-this": 0, // enforces consistent naming when capturing the current execution context (off by default) + "eol-last": 0, // enforce newline at the end of file, with no multiple empty lines + "func-names": 0, // require function expressions to have a name (off by default) + "func-style": 0, // enforces use of function declarations or expressions (off by default) + "key-spacing": 0, // enforces spacing between keys and values in object literal properties + "max-nested-callbacks": 0, // specify the maximum depth callbacks can be nested (off by default) + "new-cap": 0, // require a capital letter for constructors + "new-parens": 0, // disallow the omission of parentheses when invoking a constructor with no arguments + "no-array-constructor": 0, // disallow use of the Array constructor + "no-inline-comments": 0, // disallow comments inline after code (off by default) + "no-lonely-if": 0, // disallow if as the only statement in an else block (off by default) + "no-mixed-spaces-and-tabs": 0, // disallow mixed spaces and tabs for indentation + "no-multiple-empty-lines": 0, // disallow multiple empty lines (off by default) + "no-nested-ternary": 0, // disallow nested ternary expressions (off by default) + "no-new-object": 0, // disallow use of the Object constructor + "no-space-before-semi": 0, // disallow space before semicolon + "no-spaced-func": 0, // disallow space between function identifier and application + "no-ternary": 0, // disallow the use of ternary operators (off by default) + "no-trailing-spaces": 0, // disallow trailing whitespace at the end of lines + "no-underscore-dangle": 0, // disallow dangling underscores in identifiers + "no-wrap-func": 0, // disallow wrapping of non-IIFE statements in parens + "one-var": 0, // allow just one var statement per function (off by default) + "operator-assignment": 0, // require assignment operator shorthand where possible or prohibit it entirely (off by default) + "padded-blocks": 0, // enforce padding within blocks (off by default) + "quote-props": 0, // require quotes around object literal property names (off by default) + "quotes": 0, // specify whether double or single quotes should be used + "semi": 0, // require or disallow use of semicolons instead of ASI + "sort-vars": 0, // sort variables within the same declaration block (off by default) + "space-after-function-name": 0, // require a space after function names (off by default) + "space-after-keywords": 0, // require a space after certain keywords (off by default) + "space-before-blocks": 0, // require or disallow space before blocks (off by default) + "space-in-brackets": 0, // require or disallow spaces inside brackets (off by default) + "space-in-parens": 0, // require or disallow spaces inside parentheses (off by default) + "space-infix-ops": 0, // require spaces around operators + "space-return-throw-case": 0, // require a space after return, throw, and case + "space-unary-ops": 0, // Require or disallow spaces before/after unary operators (words on by default, nonwords off by default) + "spaced-line-comment": 0, // require or disallow a space immediately following the // in a line comment (off by default) + "wrap-regex": 0, // require regex literals to be wrapped in parentheses (off by default) + + ////////// ECMAScript 6 ////////// + + "no-var": 0, // require let or const instead of var (off by default) + "generator-star": 0, // enforce the position of the * in generator functions (off by default) + + ////////// Legacy ////////// + + "max-depth": 0, // specify the maximum depth that blocks can be nested (off by default) + "max-len": 0, // specify the maximum length of a line in your program (off by default) + "max-params": 0, // limits the number of parameters that can be used in the function declaration. (off by default) + "max-statements": 0, // specify the maximum number of statement allowed in a function (off by default) + "no-bitwise": 0, // disallow use of bitwise operators (off by default) + "no-plusplus": 0, // disallow use of unary operators, ++ and -- (off by default) + + //////// Extra ////////// + "array-bracket-spacing": ["error", "never"], + "array-callback-return": "error", + "arrow-parens": ["error", "always"], + "arrow-spacing": ["error", { "before": true, "after": true }], + "comma-dangle": ["error", "always-multiline"], + "indent": ["error", 2, { "SwitchCase": 1 }], + "no-case-declarations": "error", + "no-confusing-arrow": "error", + "no-duplicate-imports": "error", + "no-param-reassign": "error", + "no-useless-escape": "error", + "object-curly-spacing": ["error", "always"], + "object-shorthand": ["error", "properties"], + "prefer-arrow-callback": "error", + "prefer-const": "error", + "prefer-template": "error", + "react/jsx-closing-bracket-location": "error", + "react/jsx-curly-spacing": [ + "error", + "never", + { "allowMultiline": true } + ], + "react/jsx-filename-extension": [ + "error", + { "extensions": [".react.js", ".js", ".jsx"] } + ], + "react/jsx-no-duplicate-props": "error", + "react/jsx-no-bind": [ + "error", + { + "ignoreRefs": true, + "allowArrowFunctions": true, + "allowBind": false + } + ], + "react/jsx-no-undef": "error", + "react/jsx-pascal-case": "error", + "react/jsx-tag-spacing": [ + "error", + { + "closingSlash": "never", + "beforeSelfClosing": "always", + "afterOpening": "never" + } + ], + "react/jsx-uses-react": "error", + "react/jsx-uses-vars": "error", + "react/no-danger": "error", + "react/no-deprecated": "error", + "react/no-did-mount-set-state": "error", + "react/no-did-update-set-state": "error", + "react/no-direct-mutation-state": "error", + "react/no-is-mounted": "error", + "react/no-multi-comp": "error", + "react/prefer-es6-class": "error", + "react/prop-types": "error", + "react/require-render-return": "error", + "react/self-closing-comp": "error", + "react/sort-comp": "error", + "import/no-mutable-exports": "error", + "import/imports-first": "warn" + } +} diff --git a/package.json b/package.json index 046144d..9a047a7 100644 --- a/package.json +++ b/package.json @@ -17,10 +17,10 @@ "start": "cross-env NODE_ENV=development webpack-dev-server --https --config webpack.config.serve.js", "dash": "cross-env NODE_ENV=development webpack-dashboard -- webpack-dev-server --config webpack.config.serve.js", "build": "cross-env NODE_ENV=production webpack --progress --stats-all", - "lint:check": "eslint ./src --config .eslintrc && sass-lint ./src --config .sasslintrc -v -q", - "lint:fix": "eslint ./src --config .eslintrc --fix && sass-lint ./src --config .sasslintrc -v -q --fix", - "lint:js": "eslint ./src --config .eslintrc", - "lint:sass": "sass-lint ./src --config .sasslintrc -v -q", + "lint:check": "eslint ./src --config eslint.config.json && sass-lint ./src --config sass-lint.yml -v -q", + "lint:fix": "eslint ./src --config eslint.config.json --fix && sass-lint ./src --config sass-lint.yml -v -q --fix", + "lint:js": "eslint ./src --config eslint.config.json", + "lint:sass": "sass-lint ./src --config sass-lint.yml -v -q", "prebuild": "yarn lint:fix && rimraf dist", "prepare": "yarn lint:fix && yarn build", "prunecaches": "rimraf ./node_modules/.cache/", @@ -78,10 +78,10 @@ "minimatch": "^3.0.4", "moment": "^2.29.1", "offcanvas-bootstrap": "^2.5.2", - "popper.js": "*", "punycode": "^2.1.1", "querystring": "^0.2.0", "react": "^17.0.1", + "react-bootstrap": "^1.4.3", "react-dom": "^17.0.1", "react-tiny-oembed": "^1.0.1", "select2": "^4.0.13", @@ -95,17 +95,21 @@ "devDependencies": { "@a2nt/image-sprite-webpack-plugin": "^0.2.5", "@babel/core": "^7.12.10", + "@babel/eslint-parser": "^7.12.1", "@babel/plugin-proposal-class-properties": "^7.12.1", "@babel/plugin-proposal-object-rest-spread": "^7.12.1", + "@babel/plugin-syntax-jsx": "^7.12.1", "@babel/plugin-transform-react-jsx": "^7.12.12", "@babel/preset-env": "^7.12.11", + "@babel/preset-react": "^7.12.10", + "@babel/runtime": "^7.12.5", "@googlemaps/markerclustererplus": "*", "animate.css": "^4.1.1", "ansi-html": "^0.0.7", "ansi-regex": "^5.0.0", "autoprefixer": "^10.2.4", - "babel-eslint": "^10.1.0", "babel-loader": "^8.2.2", + "classnames": "^2.2.6", "copy-webpack-plugin": "^7.0.0", "croppie": "^2.6.5", "cross-env": "^7.0.3", @@ -149,7 +153,6 @@ "sass-lint-fix": "^1.12.1", "sass-loader": "^10.1.1", "scheduler": "^0.20.1", - "script-ext-html-webpack-plugin": "^2.1.5", "shallowequal": "^1.1.0", "strip-ansi": "^6.0.0", "style-loader": "^2.0.0", diff --git a/sass-lint.yml b/sass-lint.yml new file mode 100644 index 0000000..75c4759 --- /dev/null +++ b/sass-lint.yml @@ -0,0 +1,173 @@ +# sass-lint config to match the AirBNB style guide +files: + include: 'src/**/*.scss' + ignore: + - 'src/thirdparty/*' +options: + formatter: stylish + merge-default-rules: false +rules: + # Warnings + # Things that require actual refactoring are marked as warnings + class-name-format: + - 1 + - convention: hyphenatedbem + placeholder-name-format: + - 1 + - convention: hyphenatedlowercase + nesting-depth: + - 1 + - max-depth: 3 + no-ids: 1 + no-important: 1 + no-misspelled-properties: + - 1 + - extra-properties: + - '-moz-border-radius-topleft' + - '-moz-border-radius-topright' + - '-moz-border-radius-bottomleft' + - '-moz-border-radius-bottomright' + variable-name-format: + - 1 + - allow-leading-underscore: true + convention: hyphenatedlowercase + no-extends: 1 + + # Warnings: these things are preferential rather than mandatory + no-css-comments: 1 + + # Errors + # Things that can be easily fixed are marked as errors + indentation: + - 2 + - size: 2 + final-newline: + - 2 + - include: true + no-trailing-whitespace: 2 + border-zero: + - 2 + - convention: '0' + brace-style: + - 2 + - allow-single-line: true + clean-import-paths: + - 2 + - filename-extension: false + leading-underscore: false + no-debug: 2 + no-empty-rulesets: 2 + no-invalid-hex: 2 + no-mergeable-selectors: 2 + # no-qualifying-elements: + # - 1 + # - allow-element-with-attribute: false + # allow-element-with-class: false + # allow-element-with-id: false + no-trailing-zero: 2 + no-url-protocols: 2 + quotes: + - 2 + - style: double + space-after-bang: + - 2 + - include: false + space-after-colon: + - 2 + - include: true + space-after-comma: + - 2 + - include: true + space-before-bang: + - 2 + - include: true + space-before-brace: + - 2 + - include: true + space-before-colon: 2 + space-between-parens: + - 2 + - include: false + trailing-semicolon: 2 + url-quotes: 2 + zero-unit: 2 + single-line-per-selector: 2 + one-declaration-per-line: 2 + empty-line-between-blocks: + - 2 + - ignore-single-line-rulesets: true + # Missing rules + # There are no sass-lint rules for the following AirBNB style items, but thess + # - Put comments on their own line + # - Put property delcarations before mixins + # Disabled rules + # These are other rules that we may wish to consider using in the future + # They are not part of the AirBNB CSS standard but they would introduce some strictness + # bem-depth: 0 + # variable-for-property: 0 + # no-transition-all: 0 + # hex-length: + # - 1 + # - style: short + # hex-notation: + # - 1 + # - style: lowercase + # property-units: + # - 1 + # - global: + # - ch + # - em + # - ex + # - rem + # - cm + # - in + # - mm + # - pc + # - pt + # - px + # - q + # - vh + # - vw + # - vmin + # - vmax + # - deg + # - grad + # - rad + # - turn + # - ms + # - s + # - Hz + # - kHz + # - dpi + # - dpcm + # - dppx + # - '%' + # per-property: {} + # force-attribute-nesting: 1 + # force-element-nesting: 1 + # force-pseudo-nesting: 1 + # function-name-format: + # - 1 + # - allow-leading-underscore: true + # convention: hyphenatedlowercase + # no-color-literals: 1 + # no-duplicate-properties: 1 + # mixin-name-format: + # - 1 + # - allow-leading-underscore: true + # convention: hyphenatedlowercase + # shorthand-values: + # - 1 + # - allowed-shorthands: + # - 1 + # - 2 + # - 3 + # leading-zero: + # - 1 + # - include: false + # no-vendor-prefixes: + # - 1 + # - additional-identifiers: [] + # excluded-identifiers: [] + # placeholder-in-extend: 1 + # no-color-keywords: 2 diff --git a/src/html/Last.html b/src/html/Last.html index 8770fd5..e4bc234 100644 --- a/src/html/Last.html +++ b/src/html/Last.html @@ -1,2 +1,13 @@ - - \ No newline at end of file + + + + + + diff --git a/src/index.html b/src/index.html index 7b91e9d..2648df1 100644 --- a/src/index.html +++ b/src/index.html @@ -92,6 +92,8 @@
<%= require('html-loader!./html/Footer.html') %>
- <%= require('html-loader!./html/Last.html') %> + + + <%= REACT_SCRIPTS %> <%= require('html-loader!./html/Last.html') %> diff --git a/src/js/app.js b/src/js/app.js index a65adef..f5d8a05 100755 --- a/src/js/app.js +++ b/src/js/app.js @@ -1,18 +1,12 @@ 'use strict'; -import $ from 'jquery'; +//import $ from 'jquery'; import '../scss/app.scss'; -// import Bootstrap -import 'popper.js'; -import 'bootstrap/js/dist/util'; -import 'bootstrap/js/dist/alert'; -import 'bootstrap/js/dist/button'; -import 'bootstrap/js/dist/carousel'; -import 'bootstrap/js/dist/collapse'; +import Button from 'react-bootstrap/Button'; -import 'hammerjs/hammer'; -import 'jquery-hammerjs/jquery.hammer'; +//import 'hammerjs/hammer'; +//import 'jquery-hammerjs/jquery.hammer'; // Routie //import 'pouchdb/dist/pouchdb'; @@ -20,7 +14,7 @@ import 'jquery-hammerjs/jquery.hammer'; // conflicts with _components/_ui.hover.js (shows dropdown on hover) //import 'bootstrap/js/dist/dropdown'; -import './_components/_ui.hover'; +/*import './_components/_ui.hover'; import './_components/_ui.carousel'; import './_components/_ui.menu'; @@ -29,7 +23,7 @@ import 'bootstrap/js/dist/modal'; import 'bootstrap/js/dist/tooltip'; import 'bootstrap/js/dist/popover'; import 'bootstrap/js/dist/scrollspy'; -import 'bootstrap/js/dist/tab'; +import 'bootstrap/js/dist/tab';*/ // // Offcanvas menu @@ -39,10 +33,10 @@ import 'bootstrap/js/dist/tab'; //import 'jquery-zoom/jquery.zoom'; // FlyoutUI -import FlyoutUI from './_components/_ui.flyout'; +//import FlyoutUI from './_components/_ui.flyout'; // Sticky sidebar -import SidebarUI from './_components/_ui.sidebar'; +//import SidebarUI from './_components/_ui.sidebar'; // Toggle bootstrap form fields //import FormToggleUI from './_components/_ui.form.fields.toggle'; @@ -66,7 +60,7 @@ import SidebarUI from './_components/_ui.sidebar'; //import NoCaptcha from './_components/_ui.nocaptcha'; // youtube video preview image -import './_components/_ui.video.preview'; +//import './_components/_ui.video.preview'; // Meta Lightbox import '@a2nt/meta-lightbox-react/src/js/app'; @@ -79,11 +73,11 @@ import '@a2nt/meta-lightbox-react/src/js/app'; //import FormSelect2 from './_components/_ui.form.select2'; -import './_main'; -import './_layout'; +//import './_main'; +//import './_layout'; // Google Analytics -import './_components/drivers/_google.track.external.links'; +//import './_components/drivers/_google.track.external.links'; function importAll(r) { return r.keys().map(r); diff --git a/src/js/types/SilverShop.Page.CheckoutPageController.js b/src/js/types/SilverShop.Page.CheckoutPageController.js index 172471a..fa5d605 100755 --- a/src/js/types/SilverShop.Page.CheckoutPageController.js +++ b/src/js/types/SilverShop.Page.CheckoutPageController.js @@ -1,4 +1,5 @@ 'use strict'; -import $ from 'jquery'; +/*import $ from 'jquery'; import '../_components/_ui.map.api'; +*/ diff --git a/src/js/types/Site.Controllers.MapElementController.js b/src/js/types/Site.Controllers.MapElementController.js index 8e37a4d..6911060 100755 --- a/src/js/types/Site.Controllers.MapElementController.js +++ b/src/js/types/Site.Controllers.MapElementController.js @@ -1,6 +1,6 @@ -"use strict"; +'use strict'; -import $ from 'jquery'; +/*import $ from 'jquery'; import Events from '../_events'; // Mapbox API @@ -60,3 +60,4 @@ const LocationUI = (($) => { })($); export default LocationUI; +*/