From ed9e62718cf32fd21a7ec522a83286ec71d2e82f Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Wed, 25 Nov 2020 22:49:17 +0100 Subject: [PATCH] added fix option to eslint --- .eslintrc.js | 9 +- build/webpack.config.base.js | 1 + package-lock.json | 15 + package.json | 1 + .../custom/materiotheme/assets/dist/main.css | 1767 +-------------- .../custom/materiotheme/assets/dist/main.js | 1972 +---------------- .../assets/dist/main.js.LICENSE.txt | 17 + .../materiotheme/assets/scripts/main.js | 175 +- .../vuejs/store/modules/blabla.js | 48 +- .../vuejs/store/modules/common.js | 12 +- .../materiotheme/vuejs/store/modules/pages.js | 22 +- .../vuejs/store/modules/search.js | 100 +- .../vuejs/store/modules/showrooms.js | 22 +- .../materiotheme/vuejs/store/modules/user.js | 299 ++- 14 files changed, 384 insertions(+), 4076 deletions(-) create mode 100644 web/themes/custom/materiotheme/assets/dist/main.js.LICENSE.txt diff --git a/.eslintrc.js b/.eslintrc.js index 478fc30..109617d 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -11,10 +11,14 @@ module.exports = { ], plugins: [ 'vue', - 'vue-a11y' + 'vue-a11y', + 'no-autofix' ], rules: { 'no-unused-vars': ["warn"], + 'camelcase': 'warn', + 'eqeqeq': 'warn', + 'no-redeclare': 'warn' }, ignorePatterns: [ "vendor/**", @@ -33,6 +37,7 @@ module.exports = { "Modernizr": true, "Popper": true, "Sortable": true, - "CKEDITOR": true + "CKEDITOR": true, + "drupalDecoupled": true } } diff --git a/build/webpack.config.base.js b/build/webpack.config.base.js index cd20d03..1010090 100644 --- a/build/webpack.config.base.js +++ b/build/webpack.config.base.js @@ -82,6 +82,7 @@ module.exports = { }), new VueLoaderPlugin(), new ESLintPlugin({ + fix: true // exclude: ['node_modules', 'vendor', 'web/core'] // cache: false, // ignore: true, diff --git a/package-lock.json b/package-lock.json index 787352c..90c740b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6402,6 +6402,15 @@ } } }, + "eslint-plugin-no-autofix": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-no-autofix/-/eslint-plugin-no-autofix-1.0.1.tgz", + "integrity": "sha512-ZwQF1S+tsl9alr8DuoHX9KcNI+BxCK+D08I1n6NXlitIJg3AB+1EtHYMoxz0LFKKsewoUYo2M4QcHZxGqV1T7w==", + "dev": true, + "requires": { + "eslint-rule-composer": "^0.3.0" + } + }, "eslint-plugin-node": { "version": "11.1.0", "resolved": "https://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-11.1.0.tgz", @@ -6576,6 +6585,12 @@ } } }, + "eslint-rule-composer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/eslint-rule-composer/-/eslint-rule-composer-0.3.0.tgz", + "integrity": "sha512-bt+Sh8CtDmn2OajxvNO+BX7Wn4CIWMpTRm3MaiKPCQcnnlm0CS2mhui6QaoeQugs+3Kj2ESKEEGJUdVafwhiCg==", + "dev": true + }, "eslint-scope": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.3.tgz", diff --git a/package.json b/package.json index 6548744..a2f33d1 100644 --- a/package.json +++ b/package.json @@ -44,6 +44,7 @@ "eslint-config-standard": "^16.0.2", "eslint-plugin-import": "^2.22.1", "eslint-plugin-jsx-a11y": "^6.4.1", + "eslint-plugin-no-autofix": "^1.0.1", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettier": "^3.1.4", "eslint-plugin-promise": "^4.2.1", diff --git a/web/themes/custom/materiotheme/assets/dist/main.css b/web/themes/custom/materiotheme/assets/dist/main.css index b30c8c8..06f40cb 100644 --- a/web/themes/custom/materiotheme/assets/dist/main.css +++ b/web/themes/custom/materiotheme/assets/dist/main.css @@ -1,64 +1,10 @@ -.overlay[data-v-b98ce164] { - background-color: rgba(0, 0, 0, 0.8); - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 99999; -} -.modal[data-v-b98ce164] { - background-color: #fff; - position: absolute; - box-sizing: border; - max-width: 80vw; - max-height: 70vh; - top: 0; - right: 0; - bottom: 0; - left: 0; - margin: auto; - padding: 1em; - border-radius: 3px; - box-shadow: 2px 2px; -} +.overlay[data-v-b98ce164]{background-color:rgba(0,0,0,0.8);position:fixed;top:0;right:0;bottom:0;left:0;z-index:99999}.modal[data-v-b98ce164]{background-color:#fff;position:absolute;box-sizing:border;max-width:80vw;max-height:70vh;top:0;right:0;bottom:0;left:0;margin:auto;padding:1em;border-radius:3px;box-shadow:2px 2px} -.form-item[data-v-7bb795f8], -.form-actions[data-v-7bb795f8] { - display: inline-block; - max-width: 32%; - margin: 0; -} -input[data-v-7bb795f8] { - box-sizing: border-box; - max-width: 100%; -} -div.description[data-v-7bb795f8] { - display: none; -} -.form-item-persistent-login[data-v-7bb795f8] { - display: none; -} +.form-item[data-v-7bb795f8],.form-actions[data-v-7bb795f8]{display:inline-block;max-width:32%;margin:0}input[data-v-7bb795f8]{box-sizing:border-box;max-width:100%}div.description[data-v-7bb795f8]{display:none}.form-item-persistent-login[data-v-7bb795f8]{display:none} -.form-type-email[data-v-2acc57a0], -.form-type-password-confirm[data-v-2acc57a0] { - max-width: 30%; - margin: 0; -} -input[data-v-2acc57a0] { - box-sizing: content-box; - max-width: 100%; -} -label[data-v-2acc57a0], -div.description[data-v-2acc57a0] { - display: none; -} +.form-type-email[data-v-2acc57a0],.form-type-password-confirm[data-v-2acc57a0]{max-width:30%;margin:0}input[data-v-2acc57a0]{box-sizing:content-box;max-width:100%}label[data-v-2acc57a0],div.description[data-v-2acc57a0]{display:none} -fieldset[data-v-340aa566] { - padding: 0; - margin: 0; - border: none; -} +fieldset[data-v-340aa566]{padding:0;margin:0;border:none} @@ -74,1708 +20,5 @@ h4[data-v-4e9a834e]{ vertical-align: top; } -body { - background: white; } - -a { - color: inherit; - text-decoration: none; } - -a, a:focus, a:active { - outline: none; } - -a:focus { - -moz-outline-style: none; } - -ul { - margin: 0; - padding: 0; } - ul li { - margin: 0; - padding: 0; - list-style: none; } - -h1, h2, h3, h4, h5, h6 { - margin: 0; } - -p a { - position: relative; } - p a:after { - content: ''; - position: absolute; - top: 1em; - left: 0; - width: 100%; - border-bottom: 1px dotted #000; } - -.col-1, .small-col-1, .med-col-1, .large-col-1, .col-2, .small-col-2, .med-col-2, .large-col-2, .col-3, .small-col-3, .med-col-3, .large-col-3, .col-4, .small-col-4, .med-col-4, .large-col-4, .col-5, .small-col-5, .med-col-5, .large-col-5, .col-6, .small-col-6, .med-col-6, .large-col-6, .col-7, .small-col-7, .med-col-7, .large-col-7, .col-8, .small-col-8, .med-col-8, .large-col-8, .col-9, .small-col-9, .med-col-9, .large-col-9, .col-10, .small-col-10, .med-col-10, .large-col-10, .col-11, .small-col-11, .med-col-11, .large-col-11, .col-12, .small-col-12, .med-col-12, .large-col-12, .col-1-offset-1, .col-1-offset-2, .col-1-offset-3, .col-1-offset-4, .col-1-offset-5, .col-1-offset-6, .col-1-offset-7, .col-1-offset-8, .col-1-offset-9, .col-1-offset-10, .col-1-offset-11, .col-2-offset-1, .col-2-offset-2, .col-2-offset-3, .col-2-offset-4, .col-2-offset-5, .col-2-offset-6, .col-2-offset-7, .col-2-offset-8, .col-2-offset-9, .col-2-offset-10, .col-3-offset-1, .col-3-offset-2, .col-3-offset-3, .col-3-offset-4, .col-3-offset-5, .col-3-offset-6, .col-3-offset-7, .col-3-offset-8, .col-3-offset-9, .col-4-offset-1, .col-4-offset-2, .col-4-offset-3, .col-4-offset-4, .col-4-offset-5, .col-4-offset-6, .col-4-offset-7, .col-4-offset-8, .col-5-offset-1, .col-5-offset-2, .col-5-offset-3, .col-5-offset-4, .col-5-offset-5, .col-5-offset-6, .col-5-offset-7, .col-6-offset-1, .col-6-offset-2, .col-6-offset-3, .col-6-offset-4, .col-6-offset-5, .col-6-offset-6, .col-7-offset-1, .col-7-offset-2, .col-7-offset-3, .col-7-offset-4, .col-7-offset-5, .col-8-offset-1, .col-8-offset-2, .col-8-offset-3, .col-8-offset-4, .col-9-offset-1, .col-9-offset-2, .col-9-offset-3, .col-10-offset-1, .col-10-offset-2, .col-11-offset-1 { - width: 100%; - float: left; - box-sizing: border-box; } - -.row { - position: relative; } - .row:after { - content: ""; - clear: both; - display: block; } - -.col-1 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 8.33333%; } - .col-1:last-child { - padding-right: 0; } - -@media only screen and (max-width: 768px) { - .small-col-1 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 8.33333%; } - .small-col-1:last-child { - padding-right: 0; } } - -@media only screen and (min-width: 769px) and (max-width: 1080px) { - .med-col-1 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 8.33333%; } - .med-col-1:last-child { - padding-right: 0; } } - -@media only screen and (min-width: 1081px) { - .large-col-1 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 8.33333%; } - .large-col-1:last-child { - padding-right: 0; } } - -.col-2 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 16.66667%; } - .col-2:last-child { - padding-right: 0; } - -@media only screen and (max-width: 768px) { - .small-col-2 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 16.66667%; } - .small-col-2:last-child { - padding-right: 0; } } - -@media only screen and (min-width: 769px) and (max-width: 1080px) { - .med-col-2 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 16.66667%; } - .med-col-2:last-child { - padding-right: 0; } } - -@media only screen and (min-width: 1081px) { - .large-col-2 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 16.66667%; } - .large-col-2:last-child { - padding-right: 0; } } - -.col-3 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 25%; } - .col-3:last-child { - padding-right: 0; } - -@media only screen and (max-width: 768px) { - .small-col-3 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 25%; } - .small-col-3:last-child { - padding-right: 0; } } - -@media only screen and (min-width: 769px) and (max-width: 1080px) { - .med-col-3 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 25%; } - .med-col-3:last-child { - padding-right: 0; } } - -@media only screen and (min-width: 1081px) { - .large-col-3 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 25%; } - .large-col-3:last-child { - padding-right: 0; } } - -.col-4 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 33.33333%; } - .col-4:last-child { - padding-right: 0; } - -@media only screen and (max-width: 768px) { - .small-col-4 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 33.33333%; } - .small-col-4:last-child { - padding-right: 0; } } - -@media only screen and (min-width: 769px) and (max-width: 1080px) { - .med-col-4 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 33.33333%; } - .med-col-4:last-child { - padding-right: 0; } } - -@media only screen and (min-width: 1081px) { - .large-col-4 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 33.33333%; } - .large-col-4:last-child { - padding-right: 0; } } - -.col-5 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 41.66667%; } - .col-5:last-child { - padding-right: 0; } - -@media only screen and (max-width: 768px) { - .small-col-5 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 41.66667%; } - .small-col-5:last-child { - padding-right: 0; } } - -@media only screen and (min-width: 769px) and (max-width: 1080px) { - .med-col-5 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 41.66667%; } - .med-col-5:last-child { - padding-right: 0; } } - -@media only screen and (min-width: 1081px) { - .large-col-5 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 41.66667%; } - .large-col-5:last-child { - padding-right: 0; } } - -.col-6 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 50%; } - .col-6:last-child { - padding-right: 0; } - -@media only screen and (max-width: 768px) { - .small-col-6 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 50%; } - .small-col-6:last-child { - padding-right: 0; } } - -@media only screen and (min-width: 769px) and (max-width: 1080px) { - .med-col-6 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 50%; } - .med-col-6:last-child { - padding-right: 0; } } - -@media only screen and (min-width: 1081px) { - .large-col-6 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 50%; } - .large-col-6:last-child { - padding-right: 0; } } - -.col-7 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 58.33333%; } - .col-7:last-child { - padding-right: 0; } - -@media only screen and (max-width: 768px) { - .small-col-7 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 58.33333%; } - .small-col-7:last-child { - padding-right: 0; } } - -@media only screen and (min-width: 769px) and (max-width: 1080px) { - .med-col-7 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 58.33333%; } - .med-col-7:last-child { - padding-right: 0; } } - -@media only screen and (min-width: 1081px) { - .large-col-7 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 58.33333%; } - .large-col-7:last-child { - padding-right: 0; } } - -.col-8 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 66.66667%; } - .col-8:last-child { - padding-right: 0; } - -@media only screen and (max-width: 768px) { - .small-col-8 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 66.66667%; } - .small-col-8:last-child { - padding-right: 0; } } - -@media only screen and (min-width: 769px) and (max-width: 1080px) { - .med-col-8 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 66.66667%; } - .med-col-8:last-child { - padding-right: 0; } } - -@media only screen and (min-width: 1081px) { - .large-col-8 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 66.66667%; } - .large-col-8:last-child { - padding-right: 0; } } - -.col-9 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 75%; } - .col-9:last-child { - padding-right: 0; } - -@media only screen and (max-width: 768px) { - .small-col-9 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 75%; } - .small-col-9:last-child { - padding-right: 0; } } - -@media only screen and (min-width: 769px) and (max-width: 1080px) { - .med-col-9 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 75%; } - .med-col-9:last-child { - padding-right: 0; } } - -@media only screen and (min-width: 1081px) { - .large-col-9 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 75%; } - .large-col-9:last-child { - padding-right: 0; } } - -.col-10 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 83.33333%; } - .col-10:last-child { - padding-right: 0; } - -@media only screen and (max-width: 768px) { - .small-col-10 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 83.33333%; } - .small-col-10:last-child { - padding-right: 0; } } - -@media only screen and (min-width: 769px) and (max-width: 1080px) { - .med-col-10 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 83.33333%; } - .med-col-10:last-child { - padding-right: 0; } } - -@media only screen and (min-width: 1081px) { - .large-col-10 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 83.33333%; } - .large-col-10:last-child { - padding-right: 0; } } - -.col-11 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 91.66667%; } - .col-11:last-child { - padding-right: 0; } - -@media only screen and (max-width: 768px) { - .small-col-11 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 91.66667%; } - .small-col-11:last-child { - padding-right: 0; } } - -@media only screen and (min-width: 769px) and (max-width: 1080px) { - .med-col-11 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 91.66667%; } - .med-col-11:last-child { - padding-right: 0; } } - -@media only screen and (min-width: 1081px) { - .large-col-11 { - padding-left: 0em; - padding-right: 1em; - margin-left: 0%; - width: 91.66667%; } - .large-col-11:last-child { - padding-right: 0; } } - -.col-12 { - padding-left: 0em; - padding-right: 0; - margin-left: 0%; - width: 100%; } - .col-12:last-child { - padding-right: 0; } - -@media only screen and (max-width: 768px) { - .small-col-12 { - padding-left: 0em; - padding-right: 0; - margin-left: 0%; - width: 100%; } - .small-col-12:last-child { - padding-right: 0; } } - -@media only screen and (min-width: 769px) and (max-width: 1080px) { - .med-col-12 { - padding-left: 0em; - padding-right: 0; - margin-left: 0%; - width: 100%; } - .med-col-12:last-child { - padding-right: 0; } } - -@media only screen and (min-width: 1081px) { - .large-col-12 { - padding-left: 0em; - padding-right: 0; - margin-left: 0%; - width: 100%; } - .large-col-12:last-child { - padding-right: 0; } } - -.col-1-offset-1 { - padding-left: 1em; - padding-right: 1em; - margin-left: 8.33333%; - width: 8.33333%; } - .col-1-offset-1:last-child { - padding-right: 0; } - -.col-1-offset-2 { - padding-left: 2em; - padding-right: 1em; - margin-left: 16.66667%; - width: 8.33333%; } - .col-1-offset-2:last-child { - padding-right: 0; } - -.col-1-offset-3 { - padding-left: 3em; - padding-right: 1em; - margin-left: 25%; - width: 8.33333%; } - .col-1-offset-3:last-child { - padding-right: 0; } - -.col-1-offset-4 { - padding-left: 4em; - padding-right: 1em; - margin-left: 33.33333%; - width: 8.33333%; } - .col-1-offset-4:last-child { - padding-right: 0; } - -.col-1-offset-5 { - padding-left: 5em; - padding-right: 1em; - margin-left: 41.66667%; - width: 8.33333%; } - .col-1-offset-5:last-child { - padding-right: 0; } - -.col-1-offset-6 { - padding-left: 6em; - padding-right: 1em; - margin-left: 50%; - width: 8.33333%; } - .col-1-offset-6:last-child { - padding-right: 0; } - -.col-1-offset-7 { - padding-left: 7em; - padding-right: 1em; - margin-left: 58.33333%; - width: 8.33333%; } - .col-1-offset-7:last-child { - padding-right: 0; } - -.col-1-offset-8 { - padding-left: 8em; - padding-right: 1em; - margin-left: 66.66667%; - width: 8.33333%; } - .col-1-offset-8:last-child { - padding-right: 0; } - -.col-1-offset-9 { - padding-left: 9em; - padding-right: 1em; - margin-left: 75%; - width: 8.33333%; } - .col-1-offset-9:last-child { - padding-right: 0; } - -.col-1-offset-10 { - padding-left: 10em; - padding-right: 1em; - margin-left: 83.33333%; - width: 8.33333%; } - .col-1-offset-10:last-child { - padding-right: 0; } - -.col-1-offset-11 { - padding-left: 11em; - padding-right: 1em; - margin-left: 91.66667%; - width: 8.33333%; } - .col-1-offset-11:last-child { - padding-right: 0; } - -.col-2-offset-1 { - padding-left: 1em; - padding-right: 1em; - margin-left: 16.66667%; - width: 16.66667%; } - .col-2-offset-1:last-child { - padding-right: 0; } - -.col-2-offset-2 { - padding-left: 2em; - padding-right: 1em; - margin-left: 33.33333%; - width: 16.66667%; } - .col-2-offset-2:last-child { - padding-right: 0; } - -.col-2-offset-3 { - padding-left: 3em; - padding-right: 1em; - margin-left: 50%; - width: 16.66667%; } - .col-2-offset-3:last-child { - padding-right: 0; } - -.col-2-offset-4 { - padding-left: 4em; - padding-right: 1em; - margin-left: 66.66667%; - width: 16.66667%; } - .col-2-offset-4:last-child { - padding-right: 0; } - -.col-2-offset-5 { - padding-left: 5em; - padding-right: 1em; - margin-left: 83.33333%; - width: 16.66667%; } - .col-2-offset-5:last-child { - padding-right: 0; } - -.col-2-offset-6 { - padding-left: 6em; - padding-right: 1em; - margin-left: 100%; - width: 16.66667%; } - .col-2-offset-6:last-child { - padding-right: 0; } - -.col-2-offset-7 { - padding-left: 7em; - padding-right: 1em; - margin-left: 116.66667%; - width: 16.66667%; } - .col-2-offset-7:last-child { - padding-right: 0; } - -.col-2-offset-8 { - padding-left: 8em; - padding-right: 1em; - margin-left: 133.33333%; - width: 16.66667%; } - .col-2-offset-8:last-child { - padding-right: 0; } - -.col-2-offset-9 { - padding-left: 9em; - padding-right: 1em; - margin-left: 150%; - width: 16.66667%; } - .col-2-offset-9:last-child { - padding-right: 0; } - -.col-2-offset-10 { - padding-left: 10em; - padding-right: 1em; - margin-left: 166.66667%; - width: 16.66667%; } - .col-2-offset-10:last-child { - padding-right: 0; } - -.col-3-offset-1 { - padding-left: 1em; - padding-right: 1em; - margin-left: 25%; - width: 25%; } - .col-3-offset-1:last-child { - padding-right: 0; } - -.col-3-offset-2 { - padding-left: 2em; - padding-right: 1em; - margin-left: 50%; - width: 25%; } - .col-3-offset-2:last-child { - padding-right: 0; } - -.col-3-offset-3 { - padding-left: 3em; - padding-right: 1em; - margin-left: 75%; - width: 25%; } - .col-3-offset-3:last-child { - padding-right: 0; } - -.col-3-offset-4 { - padding-left: 4em; - padding-right: 1em; - margin-left: 100%; - width: 25%; } - .col-3-offset-4:last-child { - padding-right: 0; } - -.col-3-offset-5 { - padding-left: 5em; - padding-right: 1em; - margin-left: 125%; - width: 25%; } - .col-3-offset-5:last-child { - padding-right: 0; } - -.col-3-offset-6 { - padding-left: 6em; - padding-right: 1em; - margin-left: 150%; - width: 25%; } - .col-3-offset-6:last-child { - padding-right: 0; } - -.col-3-offset-7 { - padding-left: 7em; - padding-right: 1em; - margin-left: 175%; - width: 25%; } - .col-3-offset-7:last-child { - padding-right: 0; } - -.col-3-offset-8 { - padding-left: 8em; - padding-right: 1em; - margin-left: 200%; - width: 25%; } - .col-3-offset-8:last-child { - padding-right: 0; } - -.col-3-offset-9 { - padding-left: 9em; - padding-right: 1em; - margin-left: 225%; - width: 25%; } - .col-3-offset-9:last-child { - padding-right: 0; } - -.col-4-offset-1 { - padding-left: 1em; - padding-right: 1em; - margin-left: 33.33333%; - width: 33.33333%; } - .col-4-offset-1:last-child { - padding-right: 0; } - -.col-4-offset-2 { - padding-left: 2em; - padding-right: 1em; - margin-left: 66.66667%; - width: 33.33333%; } - .col-4-offset-2:last-child { - padding-right: 0; } - -.col-4-offset-3 { - padding-left: 3em; - padding-right: 1em; - margin-left: 100%; - width: 33.33333%; } - .col-4-offset-3:last-child { - padding-right: 0; } - -.col-4-offset-4 { - padding-left: 4em; - padding-right: 1em; - margin-left: 133.33333%; - width: 33.33333%; } - .col-4-offset-4:last-child { - padding-right: 0; } - -.col-4-offset-5 { - padding-left: 5em; - padding-right: 1em; - margin-left: 166.66667%; - width: 33.33333%; } - .col-4-offset-5:last-child { - padding-right: 0; } - -.col-4-offset-6 { - padding-left: 6em; - padding-right: 1em; - margin-left: 200%; - width: 33.33333%; } - .col-4-offset-6:last-child { - padding-right: 0; } - -.col-4-offset-7 { - padding-left: 7em; - padding-right: 1em; - margin-left: 233.33333%; - width: 33.33333%; } - .col-4-offset-7:last-child { - padding-right: 0; } - -.col-4-offset-8 { - padding-left: 8em; - padding-right: 1em; - margin-left: 266.66667%; - width: 33.33333%; } - .col-4-offset-8:last-child { - padding-right: 0; } - -.col-5-offset-1 { - padding-left: 1em; - padding-right: 1em; - margin-left: 41.66667%; - width: 41.66667%; } - .col-5-offset-1:last-child { - padding-right: 0; } - -.col-5-offset-2 { - padding-left: 2em; - padding-right: 1em; - margin-left: 83.33333%; - width: 41.66667%; } - .col-5-offset-2:last-child { - padding-right: 0; } - -.col-5-offset-3 { - padding-left: 3em; - padding-right: 1em; - margin-left: 125%; - width: 41.66667%; } - .col-5-offset-3:last-child { - padding-right: 0; } - -.col-5-offset-4 { - padding-left: 4em; - padding-right: 1em; - margin-left: 166.66667%; - width: 41.66667%; } - .col-5-offset-4:last-child { - padding-right: 0; } - -.col-5-offset-5 { - padding-left: 5em; - padding-right: 1em; - margin-left: 208.33333%; - width: 41.66667%; } - .col-5-offset-5:last-child { - padding-right: 0; } - -.col-5-offset-6 { - padding-left: 6em; - padding-right: 1em; - margin-left: 250%; - width: 41.66667%; } - .col-5-offset-6:last-child { - padding-right: 0; } - -.col-5-offset-7 { - padding-left: 7em; - padding-right: 1em; - margin-left: 291.66667%; - width: 41.66667%; } - .col-5-offset-7:last-child { - padding-right: 0; } - -.col-6-offset-1 { - padding-left: 1em; - padding-right: 1em; - margin-left: 50%; - width: 50%; } - .col-6-offset-1:last-child { - padding-right: 0; } - -.col-6-offset-2 { - padding-left: 2em; - padding-right: 1em; - margin-left: 100%; - width: 50%; } - .col-6-offset-2:last-child { - padding-right: 0; } - -.col-6-offset-3 { - padding-left: 3em; - padding-right: 1em; - margin-left: 150%; - width: 50%; } - .col-6-offset-3:last-child { - padding-right: 0; } - -.col-6-offset-4 { - padding-left: 4em; - padding-right: 1em; - margin-left: 200%; - width: 50%; } - .col-6-offset-4:last-child { - padding-right: 0; } - -.col-6-offset-5 { - padding-left: 5em; - padding-right: 1em; - margin-left: 250%; - width: 50%; } - .col-6-offset-5:last-child { - padding-right: 0; } - -.col-6-offset-6 { - padding-left: 6em; - padding-right: 1em; - margin-left: 300%; - width: 50%; } - .col-6-offset-6:last-child { - padding-right: 0; } - -.col-7-offset-1 { - padding-left: 1em; - padding-right: 1em; - margin-left: 58.33333%; - width: 58.33333%; } - .col-7-offset-1:last-child { - padding-right: 0; } - -.col-7-offset-2 { - padding-left: 2em; - padding-right: 1em; - margin-left: 116.66667%; - width: 58.33333%; } - .col-7-offset-2:last-child { - padding-right: 0; } - -.col-7-offset-3 { - padding-left: 3em; - padding-right: 1em; - margin-left: 175%; - width: 58.33333%; } - .col-7-offset-3:last-child { - padding-right: 0; } - -.col-7-offset-4 { - padding-left: 4em; - padding-right: 1em; - margin-left: 233.33333%; - width: 58.33333%; } - .col-7-offset-4:last-child { - padding-right: 0; } - -.col-7-offset-5 { - padding-left: 5em; - padding-right: 1em; - margin-left: 291.66667%; - width: 58.33333%; } - .col-7-offset-5:last-child { - padding-right: 0; } - -.col-8-offset-1 { - padding-left: 1em; - padding-right: 1em; - margin-left: 66.66667%; - width: 66.66667%; } - .col-8-offset-1:last-child { - padding-right: 0; } - -.col-8-offset-2 { - padding-left: 2em; - padding-right: 1em; - margin-left: 133.33333%; - width: 66.66667%; } - .col-8-offset-2:last-child { - padding-right: 0; } - -.col-8-offset-3 { - padding-left: 3em; - padding-right: 1em; - margin-left: 200%; - width: 66.66667%; } - .col-8-offset-3:last-child { - padding-right: 0; } - -.col-8-offset-4 { - padding-left: 4em; - padding-right: 1em; - margin-left: 266.66667%; - width: 66.66667%; } - .col-8-offset-4:last-child { - padding-right: 0; } - -.col-9-offset-1 { - padding-left: 1em; - padding-right: 1em; - margin-left: 75%; - width: 75%; } - .col-9-offset-1:last-child { - padding-right: 0; } - -.col-9-offset-2 { - padding-left: 2em; - padding-right: 1em; - margin-left: 150%; - width: 75%; } - .col-9-offset-2:last-child { - padding-right: 0; } - -.col-9-offset-3 { - padding-left: 3em; - padding-right: 1em; - margin-left: 225%; - width: 75%; } - .col-9-offset-3:last-child { - padding-right: 0; } - -.col-10-offset-1 { - padding-left: 1em; - padding-right: 1em; - margin-left: 83.33333%; - width: 83.33333%; } - .col-10-offset-1:last-child { - padding-right: 0; } - -.col-10-offset-2 { - padding-left: 2em; - padding-right: 1em; - margin-left: 166.66667%; - width: 83.33333%; } - .col-10-offset-2:last-child { - padding-right: 0; } - -.col-11-offset-1 { - padding-left: 1em; - padding-right: 1em; - margin-left: 91.66667%; - width: 91.66667%; } - .col-11-offset-1:last-child { - padding-right: 0; } - -.col.float-right { - float: right; - padding-right: 0; - padding-left: 1em; } - -body, html { - position: relative; - width: 100%; - height: 100%; - font-family: sans-serif; - font-style: normal; - margin: 0; - padding: 0; } - -body { - overflow-x: hidden; } - -div.dialog-off-canvas-main-canvas { - width: 100vw; - height: 100vh; - display: flex; - flex-direction: column; } - -body.toolbar-horizontal.toolbar-themes.toolbar-no-tabs { - padding-top: 24px !important; } - -header[role="banner"] .wrapper, main[role="main"] > .wrapper > * { - margin: 0 auto; } - @media only screen and (min-width: 226px) and (max-width: 450px) { - header[role="banner"] .wrapper, main[role="main"] > .wrapper > * { - width: 210px; } } - @media only screen and (min-width: 451px) and (max-width: 675px) { - header[role="banner"] .wrapper, main[role="main"] > .wrapper > * { - width: 435px; } } - @media only screen and (min-width: 676px) and (max-width: 900px) { - header[role="banner"] .wrapper, main[role="main"] > .wrapper > * { - width: 660px; } } - @media only screen and (min-width: 901px) and (max-width: 1125px) { - header[role="banner"] .wrapper, main[role="main"] > .wrapper > * { - width: 885px; } } - @media only screen and (min-width: 1126px) and (max-width: 1350px) { - header[role="banner"] .wrapper, main[role="main"] > .wrapper > * { - width: 1110px; } } - @media only screen and (min-width: 1351px) and (max-width: 1575px) { - header[role="banner"] .wrapper, main[role="main"] > .wrapper > * { - width: 1335px; } } - @media only screen and (min-width: 1576px) and (max-width: 1800px) { - header[role="banner"] .wrapper, main[role="main"] > .wrapper > * { - width: 1560px; } } - @media only screen and (min-width: 1801px) and (max-width: 2025px) { - header[role="banner"] .wrapper, main[role="main"] > .wrapper > * { - width: 1785px; } } - @media only screen and (min-width: 2026px) and (max-width: 2250px) { - header[role="banner"] .wrapper, main[role="main"] > .wrapper > * { - width: 2010px; } } - @media only screen and (min-width: 2251px) and (max-width: 2475px) { - header[role="banner"] .wrapper, main[role="main"] > .wrapper > * { - width: 2235px; } } - @media only screen and (min-width: 2476px) and (max-width: 2700px) { - header[role="banner"] .wrapper, main[role="main"] > .wrapper > * { - width: 2460px; } } - @media only screen and (min-width: 2701px) and (max-width: 2925px) { - header[role="banner"] .wrapper, main[role="main"] > .wrapper > * { - width: 2685px; } } - @media only screen and (min-width: 2926px) and (max-width: 3150px) { - header[role="banner"] .wrapper, main[role="main"] > .wrapper > * { - width: 2910px; } } - @media only screen and (min-width: 3151px) and (max-width: 3375px) { - header[role="banner"] .wrapper, main[role="main"] > .wrapper > * { - width: 3135px; } } - @media only screen and (min-width: 3376px) and (max-width: 3600px) { - header[role="banner"] .wrapper, main[role="main"] > .wrapper > * { - width: 3360px; } } - @media only screen and (min-width: 3601px) and (max-width: 3825px) { - header[role="banner"] .wrapper, main[role="main"] > .wrapper > * { - width: 3585px; } } - @media only screen and (min-width: 3826px) and (max-width: 4050px) { - header[role="banner"] .wrapper, main[role="main"] > .wrapper > * { - width: 3810px; } } - @media only screen and (min-width: 4051px) and (max-width: 4275px) { - header[role="banner"] .wrapper, main[role="main"] > .wrapper > * { - width: 4035px; } } - -header[role="banner"] { - flex: 0 0 auto; - background-color: #fff; - width: 100vw; } - header[role="banner"] .wrapper { - background-color: #fff; } - header[role="banner"] .wrapper:after { - content: ""; - clear: both; - display: block; } - header[role="banner"] .wrapper .header-block { - min-height: 15px; - font-size: 0; } - header[role="banner"] .wrapper .header-block.header-right { - text-align: right; } - header[role="banner"] .wrapper .header-block > * { - display: inline-block; - vertical-align: top; - font-size: 16px; - text-align: left; } - -main[role="main"] { - flex: 1 1 auto; - overflow-y: auto; - overflow-x: hidden; } - main[role="main"] > .wrapper { - width: 100vw; } - -@keyframes rotating { - from { - transform: rotate(0deg); - transform-origin: center; } - to { - transform: rotate(360deg); - transform-origin: center; } } - -body { - font-size: 16px; - font-family: "Ubuntu",Arial,"MS Trebuchet",sans-serif; - font-weight: 500; - font-style: normal; - line-height: 1.3; } - -aside.messages { - border: none; } - -header[role="banner"] { - padding: 0.2em 0 0 0; } - header[role="banner"] #block-userlogin h2, header[role="banner"] #user-tools h4, header[role="banner"] #user-flags h2, header[role="banner"] #user-flags li h5, header[role="banner"] #block-header ul.menu li a { - font-size: 0.9em; - font-weight: 400; } - header[role="banner"] #block-sitebranding h1 { - margin: 0; - line-height: 1; } - header[role="banner"] #block-userlogin { - position: relative; - padding: 0 1em; - overflow: visible; } - header[role="banner"] #block-userlogin h2 { - line-height: 1.38; - margin: 0; } - header[role="banner"] #block-userlogin > section { - background-color: #fff; - overflow: hidden; - width: 11em; - height: 1px; - padding: 0.01em 1em; - box-sizing: content-box; - transition: all 0.4s ease-in-out; - transition-delay: 2s; - position: absolute; - right: 0; - top: 1.7em; - box-sizing: content-box; } - header[role="banner"] #block-userlogin:hover > section { - transition-delay: 0s; - height: 12em; - padding: 1em 1em; - box-shadow: 0 0 10px #ccc; } - header[role="banner"] #block-userlogin .form-item { - margin: 0; - position: relative; - width: 100%; } - header[role="banner"] #block-userlogin .form-item.form-item-name { - margin: 2px 0 0.5em 0; } - header[role="banner"] #block-userlogin .form-item.form-item-name input { - width: 90%; - padding: 0; - box-sizing: content-box; } - header[role="banner"] #block-userlogin .form-item.form-item-pass { - margin: 0 0 0.5em 0; } - header[role="banner"] #block-userlogin .form-item.form-item-pass input { - width: 90%; - padding: 0; - box-sizing: content-box; } - header[role="banner"] #block-userlogin .form-item.form-item-persistent-login { - font-size: 0.756em; } - header[role="banner"] #block-userlogin .form-item.form-item-persistent-login label { - vertical-align: top; } - header[role="banner"] #block-userlogin #edit-actions { - margin: 0; } - header[role="banner"] #block-userlogin .item-list ul { - margin: 0; } - header[role="banner"] #block-userlogin .item-list ul li { - list-style: none; - margin: 0; } - header[role="banner"] #block-userlogin .item-list ul li a { - font-size: 0.756em; } - header[role="banner"] #block-userblock h2 { - display: none; } - header[role="banner"] #block-userblock a { - margin-right: 1em; } - header[role="banner"] #user-tools { - padding-top: 0.06em; } - header[role="banner"] #user-tools h4 { - cursor: pointer; } - header[role="banner"] #user-tools .mdi-logout::before { - margin: -0.125em 0 0 0; - vertical-align: top; } - header[role="banner"] #user-flags { - border-left: 1px solid #000; - padding-left: 0.5em; - margin-left: 0.5em; - display: inline-block; - vertical-align: top; - position: relative; } - header[role="banner"] #user-flags h2 { - cursor: pointer; } - header[role="banner"] #user-flags h2:before { - padding-right: 0.2em; } - header[role="banner"] #user-flags ul { - background-color: #fff; - overflow: hidden; - width: 11em; - max-height: 1px; - padding: 0.01em 1em; - box-sizing: content-box; - transition: all 0.4s ease-in-out; - transition-delay: 2s; - position: absolute; - right: 0; - top: 1.7em; - box-sizing: content-box; } - header[role="banner"] #user-flags:hover ul { - transition-delay: 0s; - max-height: 12em; - padding: 1em 1em; - box-shadow: 0 0 10px #ccc; } - header[role="banner"] #user-flags li { - width: 100%; - display: flex; - flex-direction: row; - align-items: baseline; - flex-wrap: nowrap; } - header[role="banner"] #user-flags li h5 { - cursor: pointer; } - header[role="banner"] #user-flags li span.mdi { - font-size: 0.9em; } - header[role="banner"] #user-flags li div.actions { - opacity: 0; - transition: opacity 0.3s ease-in-out; - padding-left: 0.5em; } - header[role="banner"] #user-flags li div.actions span.mdi { - cursor: pointer; - color: #4e4d4d; } - header[role="banner"] #user-flags li div.actions span.delete-btn.loading:before { - animation: rotating 2s linear infinite; } - header[role="banner"] #user-flags li:hover div.actions { - opacity: 1; } - header[role="banner"] #user-flags li.create-flag { - margin-top: 0.2em; } - header[role="banner"] #user-flags li.create-flag input { - align-self: flex-end; - border: 1px solid #bbb; - border-radius: 5px; - width: calc(100% - 2em); - font-size: 0.8em; } - header[role="banner"] #user-flags li.create-flag span.add-btn { - align-self: flex-end; - color: #bbb; - font-size: 1em; - padding: 0 0 0 .5em; - transition: all 0.2s ease-in-out; } - header[role="banner"] #user-flags li.create-flag span.add-btn.active { - cursor: pointer; - color: #1a1a1a; } - header[role="banner"] #user-flags li.create-flag span.add-btn.loading:before { - animation: rotating 2s linear infinite; } - header[role="banner"] #block-header { - margin-right: 1em; - padding-left: 1em; - border-left: 1px solid #000; } - header[role="banner"] #block-header ul.menu { - margin: 0; } - header[role="banner"] #block-header ul.menu li { - padding: 0; - display: inline-block; } - header[role="banner"] #block-header ul.menu li:not(:first-of-type) { - margin-left: 0.5em; } - header[role="banner"] #block-languageswitcher { - text-align: right; } - header[role="banner"] #block-languageswitcher h2 { - margin: 0.1em 0 0 0; - font-size: 0.756em; - font-weight: 400; - padding: 0.1em 0.4em 0.2em; - border-radius: 3px; - background-color: #444; - color: #fff; - display: inline-block; - vertical-align: top; } - header[role="banner"] #block-languageswitcher > ul.links { - overflow: hidden; - width: 3.5em; - height: 1px; - padding: 0.01em 0; - margin: 0; - box-sizing: content-box; - transition: all 0.4s ease-in-out; } - header[role="banner"] #block-languageswitcher:hover > ul.links { - transition-delay: 0s; - height: 2em; - padding: 0.3em 0; } - header[role="banner"] #block-languageswitcher li { - list-style: none; - padding: 0; - display: inline-block; } - header[role="banner"] #block-languageswitcher li.is-active { - display: none; } - header[role="banner"] #block-languageswitcher li a { - margin: 0; - font-size: 0.756em; - font-weight: 400; - padding: 0.2em 0.4em; - border-radius: 3px; - background-color: #444; - color: #fff; } - header[role="banner"] #block-pagetitle { - float: left; - padding: 1em 0; } - header[role="banner"] #block-pagetitle h2 { - margin: 0; - font-size: 1.512em; - text-transform: capitalize; - font-weight: 300; } - body:not(.path-home) header[role="banner"] #block-pagetitle h2 { - padding: 0.5em 1em; } - body.path-blabla header[role="banner"] #block-pagetitle h2 { - color: #fff; - background-color: #9458aa; } - body.path-showrooms header[role="banner"] #block-pagetitle h2 { - color: #fff; - background-color: #50aa3c; } - body.path-base header[role="banner"] #block-pagetitle h2 { - color: #fff; - background-color: #69cdcf; } - header[role="banner"] #block-materiosapisearchblock { - float: right; - display: inline-block; - padding: 0; } - header[role="banner"] #block-materiosapisearchblock #materio-sapi-search-form .form-item, header[role="banner"] #block-materiosapisearchblock #materio-sapi-search-form input.button { - display: inline-block; } - header[role="banner"] #block-materiosapisearchblock #materio-sapi-search-form #edit-search { - border: 1px #BBB solid; - border-radius: 14px; - padding: 0.3em; - color: #666; } - header[role="banner"] #block-materiosapisearchblock #materio-sapi-search-form #edit-submit { - border: 0; - text-indent: 50px; - overflow: hidden; - width: 20px; - height: 20px; - margin: 0; - background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAIAAAAC64paAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAATFJREFUeNqcU8sNgkAQxc9dEr1rQgEkWoBGPEOid0ygA+6asDagBZCIHUgFrBVABWoF0ME6yZqRz/jBFw7D7ryZnZk3LSGEQiHP8/M5ut9v8rfXU2ezqa7rJSdBwff9fn/Q6XQr33xuXK83dCPIy+UKvSEEEMbjSfEkSRKa7HkeOh2PIZ5DQgwBBkEGD8yA4RFZliFfxi2R9/uDvIP8ZC/iOC4mL5GhvHdpEdhIsNvknHAkjDHDWIThqX6VpmlX+QjGdtJYr+26EL6Qt9sN5xfbtutXqqrSNUNjGtdsmqY0oigiH8I5h9e+Kv9vzjBUQmF4/UFhmqYRCnMcp7IJUtvg/UXbyATjx61qyX12XVcqAeYZBAG5z5ZljUbD6j4Xc4omUFDrTZnPmqGrfzABDwEGACI/YeOOd/wDAAAAAElFTkSuQmCC); - background-position: center; - background-repeat: no-repeat; - background-size: contain; } - -aside.messages { - padding: 0; } - -article.node--type-frontpage .node__content > section.home-intro > div:nth-child(1) .field__label, article.node--type-frontpage .node__content > section.home-pricing > div:nth-child(1) .field__label, article.node--type-frontpage .node__content > section.home-database > div:nth-child(1) .field__label, article.node--type-frontpage .node__content > section.home-showrooms > div:nth-child(1) .field__label, article.node--type-frontpage .node__content > section.home-blabla > div:nth-child(1) .field__label { - font-size: 3.5em; - line-height: 1; } - -article.node--type-frontpage .node__content > section.home-intro > div:nth-child(1) .field__item, article.node--type-frontpage .node__content > section.home-pricing > div:nth-child(1) .field__item, article.node--type-frontpage .node__content > section.home-database > div:nth-child(1) .field__item, article.node--type-frontpage .node__content > section.home-showrooms > div:nth-child(1) .field__item, article.node--type-frontpage .node__content > section.home-blabla > div:nth-child(1) .field__item { - font-size: 0.9em; - line-height: 1.3; } - -article.node--type-frontpage .node__content > section.home-intro, article.node--type-frontpage .node__content > section.home-pricing { - padding: 1.5em 0; - background-color: #fff; } - article.node--type-frontpage .node__content > section.home-intro > div:nth-child(1), article.node--type-frontpage .node__content > section.home-pricing > div:nth-child(1) { - width: 80%; - margin: 0 auto; - text-align: center; } - -article.node--type-frontpage .node__content > section.home-database, article.node--type-frontpage .node__content > section.home-showrooms, article.node--type-frontpage .node__content > section.home-blabla { - display: grid; - grid-template-columns: 300px 1fr; - grid-column-gap: 2em; - padding: 2em 1em; } - article.node--type-frontpage .node__content > section.home-database > div:nth-child(1), article.node--type-frontpage .node__content > section.home-showrooms > div:nth-child(1), article.node--type-frontpage .node__content > section.home-blabla > div:nth-child(1) { - color: #fff; - grid-column: 1; } - article.node--type-frontpage .node__content > section.home-database > div:nth-child(2), article.node--type-frontpage .node__content > section.home-showrooms > div:nth-child(2), article.node--type-frontpage .node__content > section.home-blabla > div:nth-child(2) { - grid-column: 2; } - -article.node--type-frontpage .node__content > section.home-database { - background-color: #69cdcf; } - article.node--type-frontpage .node__content > section.home-database .cards-list-home { - position: relative; - max-height: 580px; - overflow-y: hidden; } - article.node--type-frontpage .node__content > section.home-database .cards-list-home ul { - width: 100%; - margin: 0; - padding: 0; - display: grid; - grid-template-columns: repeat(auto-fill, minmax(50px, 130px)); - grid-template-rows: 1fr; - grid-gap: 1em; - justify-content: start; } - article.node--type-frontpage .node__content > section.home-database .cards-list-home ul li { - position: relative; - list-style: none; - margin: 0; - padding: 0; - padding-top: 140%; } - article.node--type-frontpage .node__content > section.home-database .cards-list-home ul li .card { - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; - width: auto; - height: auto; } - article.node--type-frontpage .node__content > section.home-database .cards-list-home ul li .card .field--name-field-short-description { - font-size: 0.756em; - line-height: 0.9; } - -article.node--type-frontpage .node__content > section.home-showrooms { - background-color: #50aa3c; } - article.node--type-frontpage .node__content > section.home-showrooms .field--name-computed-showrooms-reference { - position: relative; - display: grid; - grid-template-rows: 1fr; } - @media only screen and (max-width: 1575px) { - article.node--type-frontpage .node__content > section.home-showrooms .field--name-computed-showrooms-reference { - grid-template-columns: 1fr; } - article.node--type-frontpage .node__content > section.home-showrooms .field--name-computed-showrooms-reference > .field__item { - grid-column: 1; } } - @media only screen and (min-width: 1576px) { - article.node--type-frontpage .node__content > section.home-showrooms .field--name-computed-showrooms-reference { - grid-template-columns: 1fr 1fr; - grid-gap: 1em; } - article.node--type-frontpage .node__content > section.home-showrooms .field--name-computed-showrooms-reference > .field__item:nth-child(odd) { - grid-column: 1; } - article.node--type-frontpage .node__content > section.home-showrooms .field--name-computed-showrooms-reference > .field__item:nth-child(even) { - grid-column: 2; } } - article.node--type-frontpage .node__content > section.home-showrooms .field--name-computed-showrooms-reference > .field__item { - grid-row: 1; } - article.node--type-frontpage .node__content > section.home-showrooms .field--name-computed-showrooms-reference > .field__item .taxonomy-term { - position: relative; - width: 100%; - height: 100%; } - article.node--type-frontpage .node__content > section.home-showrooms .field--name-computed-showrooms-reference > .field__item .taxonomy-term div.visuel { - width: 100%; - padding-bottom: 10em; } - article.node--type-frontpage .node__content > section.home-showrooms .field--name-computed-showrooms-reference > .field__item .taxonomy-term div.visuel img { - max-width: 100%; - height: auto; } - article.node--type-frontpage .node__content > section.home-showrooms .field--name-computed-showrooms-reference > .field__item .taxonomy-term section.text { - position: absolute; - bottom: 0; - left: 0; - width: 100%; - box-sizing: border-box; - padding: 1em 0; - background-color: #50aa3c; - color: #fff; } - article.node--type-frontpage .node__content > section.home-showrooms .field--name-computed-showrooms-reference > .field__item .taxonomy-term section.text > * { - font-size: 0.9em; } - article.node--type-frontpage .node__content > section.home-showrooms .field--name-computed-showrooms-reference > .field__item .taxonomy-term section.text h2, article.node--type-frontpage .node__content > section.home-showrooms .field--name-computed-showrooms-reference > .field__item .taxonomy-term section.text p { - margin: 0; } - -article.node--type-frontpage .node__content > section.home-blabla { - background-color: #9458aa; } - article.node--type-frontpage .node__content > section.home-blabla .cards-list-home { - position: relative; - overflow-y: hidden; } - @media only screen and (max-width: 2610px) { - article.node--type-frontpage .node__content > section.home-blabla .cards-list-home { - max-height: 630px; } } - @media only screen and (min-width: 2611px) { - article.node--type-frontpage .node__content > section.home-blabla .cards-list-home { - max-height: 310px; } } - article.node--type-frontpage .node__content > section.home-blabla .cards-list-home ul { - width: 100%; - margin: 0; - padding: 0; - display: grid; - grid-template-columns: repeat(auto-fill, minmax(80px, 420px)); - grid-gap: 1em; - justify-content: start; } - article.node--type-frontpage .node__content > section.home-blabla .cards-list-home ul li { - position: relative; - list-style: none; - margin: 0; - padding: 0; - padding-top: 67.8%; - overflow: hidden; } - article.node--type-frontpage .node__content > section.home-blabla .cards-list-home ul li .card { - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; - width: auto; - height: auto; } - article.node--type-frontpage .node__content > section.home-blabla .cards-list-home ul li .card .field--name-title { - font-size: 0.756em; - line-height: 0.9; } - -.infinite-loading-container .infinite-status-prompt i[class^="loading-"] { - width: 15px; - height: 15px; } - -.cards-list { - position: relative; } - .cards-list .search-info { - font-size: 0.756em; - font-weight: 500; - margin: 0; - padding: 0 0 0.5em 0; } - .cards-list > ul { - margin: 0; - padding: 0; - width: calc(100% + 15px); } - .cards-list > ul > li { - list-style: none; - margin: 0 15px 15px 0; - padding: 0; - display: inline-block; - vertical-align: top; } - -article.card { - position: relative; - box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); - width: 210px; - height: 295px; } - article.card.article { - width: 435px; - height: 295px; } - article.card header { - position: absolute; - bottom: 0; - z-index: 10; - color: #000; - background-color: rgba(255, 255, 255, 0.8); - padding: 0.3em 0.3em; - box-sizing: border-box; - width: 100%; } - article.card header h1, article.card header h4 { - margin: 0; - padding: 0; } - article.card header h1 { - font-size: 1.3em; - font-weight: 700; - line-height: 0.85; - margin-bottom: 0.2em; } - article.card header h4 { - font-size: 0.882em; - font-weight: 300; - line-height: 1; } - article.card header span.ref { - font-size: 0.693em; - font-weight: 300; - line-height: 1; } - article.card nav.tools { - position: absolute; - top: 0; - right: 0; - z-index: 21; - width: 1em; - background-color: #fff; - box-sizing: content-box; - padding: 0.3em 0.1em; } - article.card nav.tools > * { - overflow: visible; - position: relative; } - article.card nav.tools > * span.btn { - overflow: hidden; - font-size: 0.882em; } - article.card nav.tools > * .tool-content { - position: absolute; - top: 0px; - right: 100%; - width: 5em; - box-sizing: content-box; - padding: 0.3em; - background-color: #fff; - box-shadow: -2px 3px 4px rgba(0, 0, 0, 0.2); } - article.card nav.tools .tool.flags span.flag { - cursor: pointer; - font-size: 0.756em; - color: #bbb; - transition: color 0.3s ease-in-out; } - article.card nav.tools .tool.flags span.flag:hover, article.card nav.tools .tool.flags span.flag.isActive { - color: #1a1a1a; } - article.card section.images { - position: relative; } - article.card section.images, article.card section.images * { - width: 100%; - height: 100%; } - article.card section.images figure { - margin: 0; - position: absolute; - top: 0; - left: 0; } - article.card section.images figure:first-of-type { - z-index: 5; } - article.card section.images figure img.blank { - position: absolute; - top: 0; - left: 0; - z-index: 20; } - -#main-content > article.article div.cols { - display: grid; - grid-template-rows: 1fr; - grid-template-columns: repeat(6, 1fr); - grid-gap: 1em; } - #main-content > article.article div.cols div.col-left { - grid-column: 1; } - #main-content > article.article div.cols div.col-right { - grid-column: 2/6; } - -#main-content > article.article section.accroche figure { - width: 435px; - margin: 0 15px 0 0; } - #main-content > article.article section.accroche figure img { - width: 100%; } - -#main-content > article.article section.taxonomy { - margin: 1em 0; } - #main-content > article.article section.taxonomy ul { - margin: 0; } - #main-content > article.article section.taxonomy li { - display: inline-block; - padding: 0 0.5em 0 0; } - -#main-content > article.article div.gallery-wrapper .image { - display: inline-block; - width: 210px; - margin: 0 15px 9px 0; - height: 147.5px; - background-size: cover; } - -#main-content > article.article aside.linked-materials ul { - width: calc(100% + 15px); } - #main-content > article.article aside.linked-materials ul li { - display: inline-block; - vertical-align: top; - width: 210px; - margin: 0 15px 0 0; } - -#main-content > article.article aside.linked-materials h3.field__label { - font-size: 1em; - font-weight: 500; - margin: 2em 0 1em 0; } - -#main-content > article.article aside.linked-materials h1.title { - font-size: 1em; - font-weight: 400; } - -#main-content > article.article aside.linked-materials h3.ref { - font-size: 0.756em; - font-weight: 600; } - -#main-content > article.article aside.linked-materials h2.description { - font-size: 0.756em; - font-weight: 400; } - -#main-content > article.article nav.prevnext.bottom { - margin: 2em 0; } - -#main-content > article.article nav.prevnext ul { - padding: 0; - margin: 0; - display: grid; - grid-template-columns: 1fr 1fr; } - -#main-content > article.article nav.prevnext li { - padding: 0; - margin: 0; - list-style: none; } - #main-content > article.article nav.prevnext li a { - font-size: 0.756em; - font-weight: 700; } - #main-content > article.article nav.prevnext li:nth-child(1) { - grid-column: 1; } - #main-content > article.article nav.prevnext li:nth-child(1) a:before { - content: '< '; } - #main-content > article.article nav.prevnext li:nth-child(2) { - grid-column: 2; - text-align: right; } - #main-content > article.article nav.prevnext li:nth-child(2) a:after { - content: ' >'; } - -#showrooms { - width: calc(100% + 15px); } - #showrooms article.showroom { - width: 435px; - display: inline-block; - vertical-align: top; - margin: 0 15px 15px 0; } - #showrooms article.showroom h1 { - margin: 0; - font-weight: 4; } - #showrooms article.showroom p { - margin: 0; } - #showrooms article.showroom figure { - margin: 0; } - #showrooms article.showroom figure img { - max-width: 100%; } +body{background:white}a{color:inherit;text-decoration:none}a,a:focus,a:active{outline:none}a:focus{-moz-outline-style:none}ul{margin:0;padding:0}ul li{margin:0;padding:0;list-style:none}h1,h2,h3,h4,h5,h6{margin:0}p a{position:relative}p a:after{content:'';position:absolute;top:1em;left:0;width:100%;border-bottom:1px dotted #000}.col-1,.small-col-1,.med-col-1,.large-col-1,.col-2,.small-col-2,.med-col-2,.large-col-2,.col-3,.small-col-3,.med-col-3,.large-col-3,.col-4,.small-col-4,.med-col-4,.large-col-4,.col-5,.small-col-5,.med-col-5,.large-col-5,.col-6,.small-col-6,.med-col-6,.large-col-6,.col-7,.small-col-7,.med-col-7,.large-col-7,.col-8,.small-col-8,.med-col-8,.large-col-8,.col-9,.small-col-9,.med-col-9,.large-col-9,.col-10,.small-col-10,.med-col-10,.large-col-10,.col-11,.small-col-11,.med-col-11,.large-col-11,.col-12,.small-col-12,.med-col-12,.large-col-12,.col-1-offset-1,.col-1-offset-2,.col-1-offset-3,.col-1-offset-4,.col-1-offset-5,.col-1-offset-6,.col-1-offset-7,.col-1-offset-8,.col-1-offset-9,.col-1-offset-10,.col-1-offset-11,.col-2-offset-1,.col-2-offset-2,.col-2-offset-3,.col-2-offset-4,.col-2-offset-5,.col-2-offset-6,.col-2-offset-7,.col-2-offset-8,.col-2-offset-9,.col-2-offset-10,.col-3-offset-1,.col-3-offset-2,.col-3-offset-3,.col-3-offset-4,.col-3-offset-5,.col-3-offset-6,.col-3-offset-7,.col-3-offset-8,.col-3-offset-9,.col-4-offset-1,.col-4-offset-2,.col-4-offset-3,.col-4-offset-4,.col-4-offset-5,.col-4-offset-6,.col-4-offset-7,.col-4-offset-8,.col-5-offset-1,.col-5-offset-2,.col-5-offset-3,.col-5-offset-4,.col-5-offset-5,.col-5-offset-6,.col-5-offset-7,.col-6-offset-1,.col-6-offset-2,.col-6-offset-3,.col-6-offset-4,.col-6-offset-5,.col-6-offset-6,.col-7-offset-1,.col-7-offset-2,.col-7-offset-3,.col-7-offset-4,.col-7-offset-5,.col-8-offset-1,.col-8-offset-2,.col-8-offset-3,.col-8-offset-4,.col-9-offset-1,.col-9-offset-2,.col-9-offset-3,.col-10-offset-1,.col-10-offset-2,.col-11-offset-1{width:100%;float:left;box-sizing:border-box}.row{position:relative}.row:after{content:"";clear:both;display:block}.col-1{padding-left:0em;padding-right:1em;margin-left:0%;width:8.33333%}.col-1:last-child{padding-right:0}@media only screen and (max-width: 768px){.small-col-1{padding-left:0em;padding-right:1em;margin-left:0%;width:8.33333%}.small-col-1:last-child{padding-right:0}}@media only screen and (min-width: 769px) and (max-width: 1080px){.med-col-1{padding-left:0em;padding-right:1em;margin-left:0%;width:8.33333%}.med-col-1:last-child{padding-right:0}}@media only screen and (min-width: 1081px){.large-col-1{padding-left:0em;padding-right:1em;margin-left:0%;width:8.33333%}.large-col-1:last-child{padding-right:0}}.col-2{padding-left:0em;padding-right:1em;margin-left:0%;width:16.66667%}.col-2:last-child{padding-right:0}@media only screen and (max-width: 768px){.small-col-2{padding-left:0em;padding-right:1em;margin-left:0%;width:16.66667%}.small-col-2:last-child{padding-right:0}}@media only screen and (min-width: 769px) and (max-width: 1080px){.med-col-2{padding-left:0em;padding-right:1em;margin-left:0%;width:16.66667%}.med-col-2:last-child{padding-right:0}}@media only screen and (min-width: 1081px){.large-col-2{padding-left:0em;padding-right:1em;margin-left:0%;width:16.66667%}.large-col-2:last-child{padding-right:0}}.col-3{padding-left:0em;padding-right:1em;margin-left:0%;width:25%}.col-3:last-child{padding-right:0}@media only screen and (max-width: 768px){.small-col-3{padding-left:0em;padding-right:1em;margin-left:0%;width:25%}.small-col-3:last-child{padding-right:0}}@media only screen and (min-width: 769px) and (max-width: 1080px){.med-col-3{padding-left:0em;padding-right:1em;margin-left:0%;width:25%}.med-col-3:last-child{padding-right:0}}@media only screen and (min-width: 1081px){.large-col-3{padding-left:0em;padding-right:1em;margin-left:0%;width:25%}.large-col-3:last-child{padding-right:0}}.col-4{padding-left:0em;padding-right:1em;margin-left:0%;width:33.33333%}.col-4:last-child{padding-right:0}@media only screen and (max-width: 768px){.small-col-4{padding-left:0em;padding-right:1em;margin-left:0%;width:33.33333%}.small-col-4:last-child{padding-right:0}}@media only screen and (min-width: 769px) and (max-width: 1080px){.med-col-4{padding-left:0em;padding-right:1em;margin-left:0%;width:33.33333%}.med-col-4:last-child{padding-right:0}}@media only screen and (min-width: 1081px){.large-col-4{padding-left:0em;padding-right:1em;margin-left:0%;width:33.33333%}.large-col-4:last-child{padding-right:0}}.col-5{padding-left:0em;padding-right:1em;margin-left:0%;width:41.66667%}.col-5:last-child{padding-right:0}@media only screen and (max-width: 768px){.small-col-5{padding-left:0em;padding-right:1em;margin-left:0%;width:41.66667%}.small-col-5:last-child{padding-right:0}}@media only screen and (min-width: 769px) and (max-width: 1080px){.med-col-5{padding-left:0em;padding-right:1em;margin-left:0%;width:41.66667%}.med-col-5:last-child{padding-right:0}}@media only screen and (min-width: 1081px){.large-col-5{padding-left:0em;padding-right:1em;margin-left:0%;width:41.66667%}.large-col-5:last-child{padding-right:0}}.col-6{padding-left:0em;padding-right:1em;margin-left:0%;width:50%}.col-6:last-child{padding-right:0}@media only screen and (max-width: 768px){.small-col-6{padding-left:0em;padding-right:1em;margin-left:0%;width:50%}.small-col-6:last-child{padding-right:0}}@media only screen and (min-width: 769px) and (max-width: 1080px){.med-col-6{padding-left:0em;padding-right:1em;margin-left:0%;width:50%}.med-col-6:last-child{padding-right:0}}@media only screen and (min-width: 1081px){.large-col-6{padding-left:0em;padding-right:1em;margin-left:0%;width:50%}.large-col-6:last-child{padding-right:0}}.col-7{padding-left:0em;padding-right:1em;margin-left:0%;width:58.33333%}.col-7:last-child{padding-right:0}@media only screen and (max-width: 768px){.small-col-7{padding-left:0em;padding-right:1em;margin-left:0%;width:58.33333%}.small-col-7:last-child{padding-right:0}}@media only screen and (min-width: 769px) and (max-width: 1080px){.med-col-7{padding-left:0em;padding-right:1em;margin-left:0%;width:58.33333%}.med-col-7:last-child{padding-right:0}}@media only screen and (min-width: 1081px){.large-col-7{padding-left:0em;padding-right:1em;margin-left:0%;width:58.33333%}.large-col-7:last-child{padding-right:0}}.col-8{padding-left:0em;padding-right:1em;margin-left:0%;width:66.66667%}.col-8:last-child{padding-right:0}@media only screen and (max-width: 768px){.small-col-8{padding-left:0em;padding-right:1em;margin-left:0%;width:66.66667%}.small-col-8:last-child{padding-right:0}}@media only screen and (min-width: 769px) and (max-width: 1080px){.med-col-8{padding-left:0em;padding-right:1em;margin-left:0%;width:66.66667%}.med-col-8:last-child{padding-right:0}}@media only screen and (min-width: 1081px){.large-col-8{padding-left:0em;padding-right:1em;margin-left:0%;width:66.66667%}.large-col-8:last-child{padding-right:0}}.col-9{padding-left:0em;padding-right:1em;margin-left:0%;width:75%}.col-9:last-child{padding-right:0}@media only screen and (max-width: 768px){.small-col-9{padding-left:0em;padding-right:1em;margin-left:0%;width:75%}.small-col-9:last-child{padding-right:0}}@media only screen and (min-width: 769px) and (max-width: 1080px){.med-col-9{padding-left:0em;padding-right:1em;margin-left:0%;width:75%}.med-col-9:last-child{padding-right:0}}@media only screen and (min-width: 1081px){.large-col-9{padding-left:0em;padding-right:1em;margin-left:0%;width:75%}.large-col-9:last-child{padding-right:0}}.col-10{padding-left:0em;padding-right:1em;margin-left:0%;width:83.33333%}.col-10:last-child{padding-right:0}@media only screen and (max-width: 768px){.small-col-10{padding-left:0em;padding-right:1em;margin-left:0%;width:83.33333%}.small-col-10:last-child{padding-right:0}}@media only screen and (min-width: 769px) and (max-width: 1080px){.med-col-10{padding-left:0em;padding-right:1em;margin-left:0%;width:83.33333%}.med-col-10:last-child{padding-right:0}}@media only screen and (min-width: 1081px){.large-col-10{padding-left:0em;padding-right:1em;margin-left:0%;width:83.33333%}.large-col-10:last-child{padding-right:0}}.col-11{padding-left:0em;padding-right:1em;margin-left:0%;width:91.66667%}.col-11:last-child{padding-right:0}@media only screen and (max-width: 768px){.small-col-11{padding-left:0em;padding-right:1em;margin-left:0%;width:91.66667%}.small-col-11:last-child{padding-right:0}}@media only screen and (min-width: 769px) and (max-width: 1080px){.med-col-11{padding-left:0em;padding-right:1em;margin-left:0%;width:91.66667%}.med-col-11:last-child{padding-right:0}}@media only screen and (min-width: 1081px){.large-col-11{padding-left:0em;padding-right:1em;margin-left:0%;width:91.66667%}.large-col-11:last-child{padding-right:0}}.col-12{padding-left:0em;padding-right:0;margin-left:0%;width:100%}.col-12:last-child{padding-right:0}@media only screen and (max-width: 768px){.small-col-12{padding-left:0em;padding-right:0;margin-left:0%;width:100%}.small-col-12:last-child{padding-right:0}}@media only screen and (min-width: 769px) and (max-width: 1080px){.med-col-12{padding-left:0em;padding-right:0;margin-left:0%;width:100%}.med-col-12:last-child{padding-right:0}}@media only screen and (min-width: 1081px){.large-col-12{padding-left:0em;padding-right:0;margin-left:0%;width:100%}.large-col-12:last-child{padding-right:0}}.col-1-offset-1{padding-left:1em;padding-right:1em;margin-left:8.33333%;width:8.33333%}.col-1-offset-1:last-child{padding-right:0}.col-1-offset-2{padding-left:2em;padding-right:1em;margin-left:16.66667%;width:8.33333%}.col-1-offset-2:last-child{padding-right:0}.col-1-offset-3{padding-left:3em;padding-right:1em;margin-left:25%;width:8.33333%}.col-1-offset-3:last-child{padding-right:0}.col-1-offset-4{padding-left:4em;padding-right:1em;margin-left:33.33333%;width:8.33333%}.col-1-offset-4:last-child{padding-right:0}.col-1-offset-5{padding-left:5em;padding-right:1em;margin-left:41.66667%;width:8.33333%}.col-1-offset-5:last-child{padding-right:0}.col-1-offset-6{padding-left:6em;padding-right:1em;margin-left:50%;width:8.33333%}.col-1-offset-6:last-child{padding-right:0}.col-1-offset-7{padding-left:7em;padding-right:1em;margin-left:58.33333%;width:8.33333%}.col-1-offset-7:last-child{padding-right:0}.col-1-offset-8{padding-left:8em;padding-right:1em;margin-left:66.66667%;width:8.33333%}.col-1-offset-8:last-child{padding-right:0}.col-1-offset-9{padding-left:9em;padding-right:1em;margin-left:75%;width:8.33333%}.col-1-offset-9:last-child{padding-right:0}.col-1-offset-10{padding-left:10em;padding-right:1em;margin-left:83.33333%;width:8.33333%}.col-1-offset-10:last-child{padding-right:0}.col-1-offset-11{padding-left:11em;padding-right:1em;margin-left:91.66667%;width:8.33333%}.col-1-offset-11:last-child{padding-right:0}.col-2-offset-1{padding-left:1em;padding-right:1em;margin-left:16.66667%;width:16.66667%}.col-2-offset-1:last-child{padding-right:0}.col-2-offset-2{padding-left:2em;padding-right:1em;margin-left:33.33333%;width:16.66667%}.col-2-offset-2:last-child{padding-right:0}.col-2-offset-3{padding-left:3em;padding-right:1em;margin-left:50%;width:16.66667%}.col-2-offset-3:last-child{padding-right:0}.col-2-offset-4{padding-left:4em;padding-right:1em;margin-left:66.66667%;width:16.66667%}.col-2-offset-4:last-child{padding-right:0}.col-2-offset-5{padding-left:5em;padding-right:1em;margin-left:83.33333%;width:16.66667%}.col-2-offset-5:last-child{padding-right:0}.col-2-offset-6{padding-left:6em;padding-right:1em;margin-left:100%;width:16.66667%}.col-2-offset-6:last-child{padding-right:0}.col-2-offset-7{padding-left:7em;padding-right:1em;margin-left:116.66667%;width:16.66667%}.col-2-offset-7:last-child{padding-right:0}.col-2-offset-8{padding-left:8em;padding-right:1em;margin-left:133.33333%;width:16.66667%}.col-2-offset-8:last-child{padding-right:0}.col-2-offset-9{padding-left:9em;padding-right:1em;margin-left:150%;width:16.66667%}.col-2-offset-9:last-child{padding-right:0}.col-2-offset-10{padding-left:10em;padding-right:1em;margin-left:166.66667%;width:16.66667%}.col-2-offset-10:last-child{padding-right:0}.col-3-offset-1{padding-left:1em;padding-right:1em;margin-left:25%;width:25%}.col-3-offset-1:last-child{padding-right:0}.col-3-offset-2{padding-left:2em;padding-right:1em;margin-left:50%;width:25%}.col-3-offset-2:last-child{padding-right:0}.col-3-offset-3{padding-left:3em;padding-right:1em;margin-left:75%;width:25%}.col-3-offset-3:last-child{padding-right:0}.col-3-offset-4{padding-left:4em;padding-right:1em;margin-left:100%;width:25%}.col-3-offset-4:last-child{padding-right:0}.col-3-offset-5{padding-left:5em;padding-right:1em;margin-left:125%;width:25%}.col-3-offset-5:last-child{padding-right:0}.col-3-offset-6{padding-left:6em;padding-right:1em;margin-left:150%;width:25%}.col-3-offset-6:last-child{padding-right:0}.col-3-offset-7{padding-left:7em;padding-right:1em;margin-left:175%;width:25%}.col-3-offset-7:last-child{padding-right:0}.col-3-offset-8{padding-left:8em;padding-right:1em;margin-left:200%;width:25%}.col-3-offset-8:last-child{padding-right:0}.col-3-offset-9{padding-left:9em;padding-right:1em;margin-left:225%;width:25%}.col-3-offset-9:last-child{padding-right:0}.col-4-offset-1{padding-left:1em;padding-right:1em;margin-left:33.33333%;width:33.33333%}.col-4-offset-1:last-child{padding-right:0}.col-4-offset-2{padding-left:2em;padding-right:1em;margin-left:66.66667%;width:33.33333%}.col-4-offset-2:last-child{padding-right:0}.col-4-offset-3{padding-left:3em;padding-right:1em;margin-left:100%;width:33.33333%}.col-4-offset-3:last-child{padding-right:0}.col-4-offset-4{padding-left:4em;padding-right:1em;margin-left:133.33333%;width:33.33333%}.col-4-offset-4:last-child{padding-right:0}.col-4-offset-5{padding-left:5em;padding-right:1em;margin-left:166.66667%;width:33.33333%}.col-4-offset-5:last-child{padding-right:0}.col-4-offset-6{padding-left:6em;padding-right:1em;margin-left:200%;width:33.33333%}.col-4-offset-6:last-child{padding-right:0}.col-4-offset-7{padding-left:7em;padding-right:1em;margin-left:233.33333%;width:33.33333%}.col-4-offset-7:last-child{padding-right:0}.col-4-offset-8{padding-left:8em;padding-right:1em;margin-left:266.66667%;width:33.33333%}.col-4-offset-8:last-child{padding-right:0}.col-5-offset-1{padding-left:1em;padding-right:1em;margin-left:41.66667%;width:41.66667%}.col-5-offset-1:last-child{padding-right:0}.col-5-offset-2{padding-left:2em;padding-right:1em;margin-left:83.33333%;width:41.66667%}.col-5-offset-2:last-child{padding-right:0}.col-5-offset-3{padding-left:3em;padding-right:1em;margin-left:125%;width:41.66667%}.col-5-offset-3:last-child{padding-right:0}.col-5-offset-4{padding-left:4em;padding-right:1em;margin-left:166.66667%;width:41.66667%}.col-5-offset-4:last-child{padding-right:0}.col-5-offset-5{padding-left:5em;padding-right:1em;margin-left:208.33333%;width:41.66667%}.col-5-offset-5:last-child{padding-right:0}.col-5-offset-6{padding-left:6em;padding-right:1em;margin-left:250%;width:41.66667%}.col-5-offset-6:last-child{padding-right:0}.col-5-offset-7{padding-left:7em;padding-right:1em;margin-left:291.66667%;width:41.66667%}.col-5-offset-7:last-child{padding-right:0}.col-6-offset-1{padding-left:1em;padding-right:1em;margin-left:50%;width:50%}.col-6-offset-1:last-child{padding-right:0}.col-6-offset-2{padding-left:2em;padding-right:1em;margin-left:100%;width:50%}.col-6-offset-2:last-child{padding-right:0}.col-6-offset-3{padding-left:3em;padding-right:1em;margin-left:150%;width:50%}.col-6-offset-3:last-child{padding-right:0}.col-6-offset-4{padding-left:4em;padding-right:1em;margin-left:200%;width:50%}.col-6-offset-4:last-child{padding-right:0}.col-6-offset-5{padding-left:5em;padding-right:1em;margin-left:250%;width:50%}.col-6-offset-5:last-child{padding-right:0}.col-6-offset-6{padding-left:6em;padding-right:1em;margin-left:300%;width:50%}.col-6-offset-6:last-child{padding-right:0}.col-7-offset-1{padding-left:1em;padding-right:1em;margin-left:58.33333%;width:58.33333%}.col-7-offset-1:last-child{padding-right:0}.col-7-offset-2{padding-left:2em;padding-right:1em;margin-left:116.66667%;width:58.33333%}.col-7-offset-2:last-child{padding-right:0}.col-7-offset-3{padding-left:3em;padding-right:1em;margin-left:175%;width:58.33333%}.col-7-offset-3:last-child{padding-right:0}.col-7-offset-4{padding-left:4em;padding-right:1em;margin-left:233.33333%;width:58.33333%}.col-7-offset-4:last-child{padding-right:0}.col-7-offset-5{padding-left:5em;padding-right:1em;margin-left:291.66667%;width:58.33333%}.col-7-offset-5:last-child{padding-right:0}.col-8-offset-1{padding-left:1em;padding-right:1em;margin-left:66.66667%;width:66.66667%}.col-8-offset-1:last-child{padding-right:0}.col-8-offset-2{padding-left:2em;padding-right:1em;margin-left:133.33333%;width:66.66667%}.col-8-offset-2:last-child{padding-right:0}.col-8-offset-3{padding-left:3em;padding-right:1em;margin-left:200%;width:66.66667%}.col-8-offset-3:last-child{padding-right:0}.col-8-offset-4{padding-left:4em;padding-right:1em;margin-left:266.66667%;width:66.66667%}.col-8-offset-4:last-child{padding-right:0}.col-9-offset-1{padding-left:1em;padding-right:1em;margin-left:75%;width:75%}.col-9-offset-1:last-child{padding-right:0}.col-9-offset-2{padding-left:2em;padding-right:1em;margin-left:150%;width:75%}.col-9-offset-2:last-child{padding-right:0}.col-9-offset-3{padding-left:3em;padding-right:1em;margin-left:225%;width:75%}.col-9-offset-3:last-child{padding-right:0}.col-10-offset-1{padding-left:1em;padding-right:1em;margin-left:83.33333%;width:83.33333%}.col-10-offset-1:last-child{padding-right:0}.col-10-offset-2{padding-left:2em;padding-right:1em;margin-left:166.66667%;width:83.33333%}.col-10-offset-2:last-child{padding-right:0}.col-11-offset-1{padding-left:1em;padding-right:1em;margin-left:91.66667%;width:91.66667%}.col-11-offset-1:last-child{padding-right:0}.col.float-right{float:right;padding-right:0;padding-left:1em}body,html{position:relative;width:100%;height:100%;font-family:sans-serif;font-style:normal;margin:0;padding:0}body{overflow-x:hidden}div.dialog-off-canvas-main-canvas{width:100vw;height:100vh;display:flex;flex-direction:column}body.toolbar-horizontal.toolbar-themes.toolbar-no-tabs{padding-top:24px !important}header[role="banner"] .wrapper,main[role="main"]>.wrapper>*{margin:0 auto}@media only screen and (min-width: 226px) and (max-width: 450px){header[role="banner"] .wrapper,main[role="main"]>.wrapper>*{width:210px}}@media only screen and (min-width: 451px) and (max-width: 675px){header[role="banner"] .wrapper,main[role="main"]>.wrapper>*{width:435px}}@media only screen and (min-width: 676px) and (max-width: 900px){header[role="banner"] .wrapper,main[role="main"]>.wrapper>*{width:660px}}@media only screen and (min-width: 901px) and (max-width: 1125px){header[role="banner"] .wrapper,main[role="main"]>.wrapper>*{width:885px}}@media only screen and (min-width: 1126px) and (max-width: 1350px){header[role="banner"] .wrapper,main[role="main"]>.wrapper>*{width:1110px}}@media only screen and (min-width: 1351px) and (max-width: 1575px){header[role="banner"] .wrapper,main[role="main"]>.wrapper>*{width:1335px}}@media only screen and (min-width: 1576px) and (max-width: 1800px){header[role="banner"] .wrapper,main[role="main"]>.wrapper>*{width:1560px}}@media only screen and (min-width: 1801px) and (max-width: 2025px){header[role="banner"] .wrapper,main[role="main"]>.wrapper>*{width:1785px}}@media only screen and (min-width: 2026px) and (max-width: 2250px){header[role="banner"] .wrapper,main[role="main"]>.wrapper>*{width:2010px}}@media only screen and (min-width: 2251px) and (max-width: 2475px){header[role="banner"] .wrapper,main[role="main"]>.wrapper>*{width:2235px}}@media only screen and (min-width: 2476px) and (max-width: 2700px){header[role="banner"] .wrapper,main[role="main"]>.wrapper>*{width:2460px}}@media only screen and (min-width: 2701px) and (max-width: 2925px){header[role="banner"] .wrapper,main[role="main"]>.wrapper>*{width:2685px}}@media only screen and (min-width: 2926px) and (max-width: 3150px){header[role="banner"] .wrapper,main[role="main"]>.wrapper>*{width:2910px}}@media only screen and (min-width: 3151px) and (max-width: 3375px){header[role="banner"] .wrapper,main[role="main"]>.wrapper>*{width:3135px}}@media only screen and (min-width: 3376px) and (max-width: 3600px){header[role="banner"] .wrapper,main[role="main"]>.wrapper>*{width:3360px}}@media only screen and (min-width: 3601px) and (max-width: 3825px){header[role="banner"] .wrapper,main[role="main"]>.wrapper>*{width:3585px}}@media only screen and (min-width: 3826px) and (max-width: 4050px){header[role="banner"] .wrapper,main[role="main"]>.wrapper>*{width:3810px}}@media only screen and (min-width: 4051px) and (max-width: 4275px){header[role="banner"] .wrapper,main[role="main"]>.wrapper>*{width:4035px}}header[role="banner"]{flex:0 0 auto;background-color:#fff;width:100vw}header[role="banner"] .wrapper{background-color:#fff}header[role="banner"] .wrapper:after{content:"";clear:both;display:block}header[role="banner"] .wrapper .header-block{min-height:15px;font-size:0}header[role="banner"] .wrapper .header-block.header-right{text-align:right}header[role="banner"] .wrapper .header-block>*{display:inline-block;vertical-align:top;font-size:16px;text-align:left}main[role="main"]{flex:1 1 auto;overflow-y:auto;overflow-x:hidden}main[role="main"]>.wrapper{width:100vw}@keyframes rotating{from{transform:rotate(0deg);transform-origin:center}to{transform:rotate(360deg);transform-origin:center}}body{font-size:16px;font-family:"Ubuntu",Arial,"MS Trebuchet",sans-serif;font-weight:500;font-style:normal;line-height:1.3}aside.messages{border:none}header[role="banner"]{padding:0.2em 0 0 0}header[role="banner"] #block-userlogin h2,header[role="banner"] #user-tools h4,header[role="banner"] #user-flags h2,header[role="banner"] #user-flags li h5,header[role="banner"] #block-header ul.menu li a{font-size:0.9em;font-weight:400}header[role="banner"] #block-sitebranding h1{margin:0;line-height:1}header[role="banner"] #block-userlogin{position:relative;padding:0 1em;overflow:visible}header[role="banner"] #block-userlogin h2{line-height:1.38;margin:0}header[role="banner"] #block-userlogin>section{background-color:#fff;overflow:hidden;width:11em;height:1px;padding:0.01em 1em;box-sizing:content-box;transition:all 0.4s ease-in-out;transition-delay:2s;position:absolute;right:0;top:1.7em;box-sizing:content-box}header[role="banner"] #block-userlogin:hover>section{transition-delay:0s;height:12em;padding:1em 1em;box-shadow:0 0 10px #ccc}header[role="banner"] #block-userlogin .form-item{margin:0;position:relative;width:100%}header[role="banner"] #block-userlogin .form-item.form-item-name{margin:2px 0 0.5em 0}header[role="banner"] #block-userlogin .form-item.form-item-name input{width:90%;padding:0;box-sizing:content-box}header[role="banner"] #block-userlogin .form-item.form-item-pass{margin:0 0 0.5em 0}header[role="banner"] #block-userlogin .form-item.form-item-pass input{width:90%;padding:0;box-sizing:content-box}header[role="banner"] #block-userlogin .form-item.form-item-persistent-login{font-size:0.756em}header[role="banner"] #block-userlogin .form-item.form-item-persistent-login label{vertical-align:top}header[role="banner"] #block-userlogin #edit-actions{margin:0}header[role="banner"] #block-userlogin .item-list ul{margin:0}header[role="banner"] #block-userlogin .item-list ul li{list-style:none;margin:0}header[role="banner"] #block-userlogin .item-list ul li a{font-size:0.756em}header[role="banner"] #block-userblock h2{display:none}header[role="banner"] #block-userblock a{margin-right:1em}header[role="banner"] #user-tools{padding-top:0.06em}header[role="banner"] #user-tools h4{cursor:pointer}header[role="banner"] #user-tools .mdi-logout::before{margin:-0.125em 0 0 0;vertical-align:top}header[role="banner"] #user-flags{border-left:1px solid #000;padding-left:0.5em;margin-left:0.5em;display:inline-block;vertical-align:top;position:relative}header[role="banner"] #user-flags h2{cursor:pointer}header[role="banner"] #user-flags h2:before{padding-right:0.2em}header[role="banner"] #user-flags ul{background-color:#fff;overflow:hidden;width:11em;max-height:1px;padding:0.01em 1em;box-sizing:content-box;transition:all 0.4s ease-in-out;transition-delay:2s;position:absolute;right:0;top:1.7em;box-sizing:content-box}header[role="banner"] #user-flags:hover ul{transition-delay:0s;max-height:12em;padding:1em 1em;box-shadow:0 0 10px #ccc}header[role="banner"] #user-flags li{width:100%;display:flex;flex-direction:row;align-items:baseline;flex-wrap:nowrap}header[role="banner"] #user-flags li h5{cursor:pointer}header[role="banner"] #user-flags li span.mdi{font-size:0.9em}header[role="banner"] #user-flags li div.actions{opacity:0;transition:opacity 0.3s ease-in-out;padding-left:0.5em}header[role="banner"] #user-flags li div.actions span.mdi{cursor:pointer;color:#4e4d4d}header[role="banner"] #user-flags li div.actions span.delete-btn.loading:before{animation:rotating 2s linear infinite}header[role="banner"] #user-flags li:hover div.actions{opacity:1}header[role="banner"] #user-flags li.create-flag{margin-top:0.2em}header[role="banner"] #user-flags li.create-flag input{align-self:flex-end;border:1px solid #bbb;border-radius:5px;width:calc(100% - 2em);font-size:0.8em}header[role="banner"] #user-flags li.create-flag span.add-btn{align-self:flex-end;color:#bbb;font-size:1em;padding:0 0 0 .5em;transition:all 0.2s ease-in-out}header[role="banner"] #user-flags li.create-flag span.add-btn.active{cursor:pointer;color:#1a1a1a}header[role="banner"] #user-flags li.create-flag span.add-btn.loading:before{animation:rotating 2s linear infinite}header[role="banner"] #block-header{margin-right:1em;padding-left:1em;border-left:1px solid #000}header[role="banner"] #block-header ul.menu{margin:0}header[role="banner"] #block-header ul.menu li{padding:0;display:inline-block}header[role="banner"] #block-header ul.menu li:not(:first-of-type){margin-left:0.5em}header[role="banner"] #block-languageswitcher{text-align:right}header[role="banner"] #block-languageswitcher h2{margin:0.1em 0 0 0;font-size:0.756em;font-weight:400;padding:0.1em 0.4em 0.2em;border-radius:3px;background-color:#444;color:#fff;display:inline-block;vertical-align:top}header[role="banner"] #block-languageswitcher>ul.links{overflow:hidden;width:3.5em;height:1px;padding:0.01em 0;margin:0;box-sizing:content-box;transition:all 0.4s ease-in-out}header[role="banner"] #block-languageswitcher:hover>ul.links{transition-delay:0s;height:2em;padding:0.3em 0}header[role="banner"] #block-languageswitcher li{list-style:none;padding:0;display:inline-block}header[role="banner"] #block-languageswitcher li.is-active{display:none}header[role="banner"] #block-languageswitcher li a{margin:0;font-size:0.756em;font-weight:400;padding:0.2em 0.4em;border-radius:3px;background-color:#444;color:#fff}header[role="banner"] #block-pagetitle{float:left;padding:1em 0}header[role="banner"] #block-pagetitle h2{margin:0;font-size:1.512em;text-transform:capitalize;font-weight:300}body:not(.path-home) header[role="banner"] #block-pagetitle h2{padding:0.5em 1em}body.path-blabla header[role="banner"] #block-pagetitle h2{color:#fff;background-color:#9458aa}body.path-showrooms header[role="banner"] #block-pagetitle h2{color:#fff;background-color:#50aa3c}body.path-base header[role="banner"] #block-pagetitle h2{color:#fff;background-color:#69cdcf}header[role="banner"] #block-materiosapisearchblock{float:right;display:inline-block;padding:0}header[role="banner"] #block-materiosapisearchblock #materio-sapi-search-form .form-item,header[role="banner"] #block-materiosapisearchblock #materio-sapi-search-form input.button{display:inline-block}header[role="banner"] #block-materiosapisearchblock #materio-sapi-search-form #edit-search{border:1px #BBB solid;border-radius:14px;padding:0.3em;color:#666}header[role="banner"] #block-materiosapisearchblock #materio-sapi-search-form #edit-submit{border:0;text-indent:50px;overflow:hidden;width:20px;height:20px;margin:0;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAIAAAAC64paAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAATFJREFUeNqcU8sNgkAQxc9dEr1rQgEkWoBGPEOid0ygA+6asDagBZCIHUgFrBVABWoF0ME6yZqRz/jBFw7D7ryZnZk3LSGEQiHP8/M5ut9v8rfXU2ezqa7rJSdBwff9fn/Q6XQr33xuXK83dCPIy+UKvSEEEMbjSfEkSRKa7HkeOh2PIZ5DQgwBBkEGD8yA4RFZliFfxi2R9/uDvIP8ZC/iOC4mL5GhvHdpEdhIsNvknHAkjDHDWIThqX6VpmlX+QjGdtJYr+26EL6Qt9sN5xfbtutXqqrSNUNjGtdsmqY0oigiH8I5h9e+Kv9vzjBUQmF4/UFhmqYRCnMcp7IJUtvg/UXbyATjx61qyX12XVcqAeYZBAG5z5ZljUbD6j4Xc4omUFDrTZnPmqGrfzABDwEGACI/YeOOd/wDAAAAAElFTkSuQmCC);background-position:center;background-repeat:no-repeat;background-size:contain}aside.messages{padding:0}article.node--type-frontpage .node__content>section.home-intro>div:nth-child(1) .field__label,article.node--type-frontpage .node__content>section.home-pricing>div:nth-child(1) .field__label,article.node--type-frontpage .node__content>section.home-database>div:nth-child(1) .field__label,article.node--type-frontpage .node__content>section.home-showrooms>div:nth-child(1) .field__label,article.node--type-frontpage .node__content>section.home-blabla>div:nth-child(1) .field__label{font-size:3.5em;line-height:1}article.node--type-frontpage .node__content>section.home-intro>div:nth-child(1) .field__item,article.node--type-frontpage .node__content>section.home-pricing>div:nth-child(1) .field__item,article.node--type-frontpage .node__content>section.home-database>div:nth-child(1) .field__item,article.node--type-frontpage .node__content>section.home-showrooms>div:nth-child(1) .field__item,article.node--type-frontpage .node__content>section.home-blabla>div:nth-child(1) .field__item{font-size:0.9em;line-height:1.3}article.node--type-frontpage .node__content>section.home-intro,article.node--type-frontpage .node__content>section.home-pricing{padding:1.5em 0;background-color:#fff}article.node--type-frontpage .node__content>section.home-intro>div:nth-child(1),article.node--type-frontpage .node__content>section.home-pricing>div:nth-child(1){width:80%;margin:0 auto;text-align:center}article.node--type-frontpage .node__content>section.home-database,article.node--type-frontpage .node__content>section.home-showrooms,article.node--type-frontpage .node__content>section.home-blabla{display:grid;grid-template-columns:300px 1fr;grid-column-gap:2em;padding:2em 1em}article.node--type-frontpage .node__content>section.home-database>div:nth-child(1),article.node--type-frontpage .node__content>section.home-showrooms>div:nth-child(1),article.node--type-frontpage .node__content>section.home-blabla>div:nth-child(1){color:#fff;grid-column:1}article.node--type-frontpage .node__content>section.home-database>div:nth-child(2),article.node--type-frontpage .node__content>section.home-showrooms>div:nth-child(2),article.node--type-frontpage .node__content>section.home-blabla>div:nth-child(2){grid-column:2}article.node--type-frontpage .node__content>section.home-database{background-color:#69cdcf}article.node--type-frontpage .node__content>section.home-database .cards-list-home{position:relative;max-height:580px;overflow-y:hidden}article.node--type-frontpage .node__content>section.home-database .cards-list-home ul{width:100%;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill, minmax(50px, 130px));grid-template-rows:1fr;grid-gap:1em;justify-content:start}article.node--type-frontpage .node__content>section.home-database .cards-list-home ul li{position:relative;list-style:none;margin:0;padding:0;padding-top:140%}article.node--type-frontpage .node__content>section.home-database .cards-list-home ul li .card{position:absolute;top:0;bottom:0;left:0;right:0;width:auto;height:auto}article.node--type-frontpage .node__content>section.home-database .cards-list-home ul li .card .field--name-field-short-description{font-size:0.756em;line-height:0.9}article.node--type-frontpage .node__content>section.home-showrooms{background-color:#50aa3c}article.node--type-frontpage .node__content>section.home-showrooms .field--name-computed-showrooms-reference{position:relative;display:grid;grid-template-rows:1fr}@media only screen and (max-width: 1575px){article.node--type-frontpage .node__content>section.home-showrooms .field--name-computed-showrooms-reference{grid-template-columns:1fr}article.node--type-frontpage .node__content>section.home-showrooms .field--name-computed-showrooms-reference>.field__item{grid-column:1}}@media only screen and (min-width: 1576px){article.node--type-frontpage .node__content>section.home-showrooms .field--name-computed-showrooms-reference{grid-template-columns:1fr 1fr;grid-gap:1em}article.node--type-frontpage .node__content>section.home-showrooms .field--name-computed-showrooms-reference>.field__item:nth-child(odd){grid-column:1}article.node--type-frontpage .node__content>section.home-showrooms .field--name-computed-showrooms-reference>.field__item:nth-child(even){grid-column:2}}article.node--type-frontpage .node__content>section.home-showrooms .field--name-computed-showrooms-reference>.field__item{grid-row:1}article.node--type-frontpage .node__content>section.home-showrooms .field--name-computed-showrooms-reference>.field__item .taxonomy-term{position:relative;width:100%;height:100%}article.node--type-frontpage .node__content>section.home-showrooms .field--name-computed-showrooms-reference>.field__item .taxonomy-term div.visuel{width:100%;padding-bottom:10em}article.node--type-frontpage .node__content>section.home-showrooms .field--name-computed-showrooms-reference>.field__item .taxonomy-term div.visuel img{max-width:100%;height:auto}article.node--type-frontpage .node__content>section.home-showrooms .field--name-computed-showrooms-reference>.field__item .taxonomy-term section.text{position:absolute;bottom:0;left:0;width:100%;box-sizing:border-box;padding:1em 0;background-color:#50aa3c;color:#fff}article.node--type-frontpage .node__content>section.home-showrooms .field--name-computed-showrooms-reference>.field__item .taxonomy-term section.text>*{font-size:0.9em}article.node--type-frontpage .node__content>section.home-showrooms .field--name-computed-showrooms-reference>.field__item .taxonomy-term section.text h2,article.node--type-frontpage .node__content>section.home-showrooms .field--name-computed-showrooms-reference>.field__item .taxonomy-term section.text p{margin:0}article.node--type-frontpage .node__content>section.home-blabla{background-color:#9458aa}article.node--type-frontpage .node__content>section.home-blabla .cards-list-home{position:relative;overflow-y:hidden}@media only screen and (max-width: 2610px){article.node--type-frontpage .node__content>section.home-blabla .cards-list-home{max-height:630px}}@media only screen and (min-width: 2611px){article.node--type-frontpage .node__content>section.home-blabla .cards-list-home{max-height:310px}}article.node--type-frontpage .node__content>section.home-blabla .cards-list-home ul{width:100%;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill, minmax(80px, 420px));grid-gap:1em;justify-content:start}article.node--type-frontpage .node__content>section.home-blabla .cards-list-home ul li{position:relative;list-style:none;margin:0;padding:0;padding-top:67.8%;overflow:hidden}article.node--type-frontpage .node__content>section.home-blabla .cards-list-home ul li .card{position:absolute;top:0;bottom:0;left:0;right:0;width:auto;height:auto}article.node--type-frontpage .node__content>section.home-blabla .cards-list-home ul li .card .field--name-title{font-size:0.756em;line-height:0.9}.infinite-loading-container .infinite-status-prompt i[class^="loading-"]{width:15px;height:15px}.cards-list{position:relative}.cards-list .search-info{font-size:0.756em;font-weight:500;margin:0;padding:0 0 0.5em 0}.cards-list>ul{margin:0;padding:0;width:calc(100% + 15px)}.cards-list>ul>li{list-style:none;margin:0 15px 15px 0;padding:0;display:inline-block;vertical-align:top}article.card{position:relative;box-shadow:0 0 5px rgba(0,0,0,0.2);width:210px;height:295px}article.card.article{width:435px;height:295px}article.card header{position:absolute;bottom:0;z-index:10;color:#000;background-color:rgba(255,255,255,0.8);padding:0.3em 0.3em;box-sizing:border-box;width:100%}article.card header h1,article.card header h4{margin:0;padding:0}article.card header h1{font-size:1.3em;font-weight:700;line-height:0.85;margin-bottom:0.2em}article.card header h4{font-size:0.882em;font-weight:300;line-height:1}article.card header span.ref{font-size:0.693em;font-weight:300;line-height:1}article.card nav.tools{position:absolute;top:0;right:0;z-index:21;width:1em;background-color:#fff;box-sizing:content-box;padding:0.3em 0.1em}article.card nav.tools>*{overflow:visible;position:relative}article.card nav.tools>* span.btn{overflow:hidden;font-size:0.882em}article.card nav.tools>* .tool-content{position:absolute;top:0px;right:100%;width:5em;box-sizing:content-box;padding:0.3em;background-color:#fff;box-shadow:-2px 3px 4px rgba(0,0,0,0.2)}article.card nav.tools .tool.flags span.flag{cursor:pointer;font-size:0.756em;color:#bbb;transition:color 0.3s ease-in-out}article.card nav.tools .tool.flags span.flag:hover,article.card nav.tools .tool.flags span.flag.isActive{color:#1a1a1a}article.card section.images{position:relative}article.card section.images,article.card section.images *{width:100%;height:100%}article.card section.images figure{margin:0;position:absolute;top:0;left:0}article.card section.images figure:first-of-type{z-index:5}article.card section.images figure img.blank{position:absolute;top:0;left:0;z-index:20}#main-content>article.article div.cols{display:grid;grid-template-rows:1fr;grid-template-columns:repeat(6, 1fr);grid-gap:1em}#main-content>article.article div.cols div.col-left{grid-column:1}#main-content>article.article div.cols div.col-right{grid-column:2/6}#main-content>article.article section.accroche figure{width:435px;margin:0 15px 0 0}#main-content>article.article section.accroche figure img{width:100%}#main-content>article.article section.taxonomy{margin:1em 0}#main-content>article.article section.taxonomy ul{margin:0}#main-content>article.article section.taxonomy li{display:inline-block;padding:0 0.5em 0 0}#main-content>article.article div.gallery-wrapper .image{display:inline-block;width:210px;margin:0 15px 9px 0;height:147.5px;background-size:cover}#main-content>article.article aside.linked-materials ul{width:calc(100% + 15px)}#main-content>article.article aside.linked-materials ul li{display:inline-block;vertical-align:top;width:210px;margin:0 15px 0 0}#main-content>article.article aside.linked-materials h3.field__label{font-size:1em;font-weight:500;margin:2em 0 1em 0}#main-content>article.article aside.linked-materials h1.title{font-size:1em;font-weight:400}#main-content>article.article aside.linked-materials h3.ref{font-size:0.756em;font-weight:600}#main-content>article.article aside.linked-materials h2.description{font-size:0.756em;font-weight:400}#main-content>article.article nav.prevnext.bottom{margin:2em 0}#main-content>article.article nav.prevnext ul{padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr}#main-content>article.article nav.prevnext li{padding:0;margin:0;list-style:none}#main-content>article.article nav.prevnext li a{font-size:0.756em;font-weight:700}#main-content>article.article nav.prevnext li:nth-child(1){grid-column:1}#main-content>article.article nav.prevnext li:nth-child(1) a:before{content:'< '}#main-content>article.article nav.prevnext li:nth-child(2){grid-column:2;text-align:right}#main-content>article.article nav.prevnext li:nth-child(2) a:after{content:' >'}#showrooms{width:calc(100% + 15px)}#showrooms article.showroom{width:435px;display:inline-block;vertical-align:top;margin:0 15px 15px 0}#showrooms article.showroom h1{margin:0;font-weight:4}#showrooms article.showroom p{margin:0}#showrooms article.showroom figure{margin:0}#showrooms article.showroom figure img{max-width:100%} diff --git a/web/themes/custom/materiotheme/assets/dist/main.js b/web/themes/custom/materiotheme/assets/dist/main.js index 2095f2a..98b10bf 100644 --- a/web/themes/custom/materiotheme/assets/dist/main.js +++ b/web/themes/custom/materiotheme/assets/dist/main.js @@ -1,1970 +1,2 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./web/themes/custom/materiotheme/assets/scripts/main.js"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./node_modules/axios/index.js": -/*!*************************************!*\ - !*** ./node_modules/axios/index.js ***! - \*************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("module.exports = __webpack_require__(/*! ./lib/axios */ \"./node_modules/axios/lib/axios.js\");\n\n//# sourceURL=webpack:///./node_modules/axios/index.js?"); - -/***/ }), - -/***/ "./node_modules/axios/lib/adapters/xhr.js": -/*!************************************************!*\ - !*** ./node_modules/axios/lib/adapters/xhr.js ***! - \************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar utils = __webpack_require__(/*! ./../utils */ \"./node_modules/axios/lib/utils.js\");\n\nvar settle = __webpack_require__(/*! ./../core/settle */ \"./node_modules/axios/lib/core/settle.js\");\n\nvar buildURL = __webpack_require__(/*! ./../helpers/buildURL */ \"./node_modules/axios/lib/helpers/buildURL.js\");\n\nvar parseHeaders = __webpack_require__(/*! ./../helpers/parseHeaders */ \"./node_modules/axios/lib/helpers/parseHeaders.js\");\n\nvar isURLSameOrigin = __webpack_require__(/*! ./../helpers/isURLSameOrigin */ \"./node_modules/axios/lib/helpers/isURLSameOrigin.js\");\n\nvar createError = __webpack_require__(/*! ../core/createError */ \"./node_modules/axios/lib/core/createError.js\");\n\nmodule.exports = function xhrAdapter(config) {\n return new Promise(function dispatchXhrRequest(resolve, reject) {\n var requestData = config.data;\n var requestHeaders = config.headers;\n\n if (utils.isFormData(requestData)) {\n delete requestHeaders['Content-Type']; // Let the browser set it\n }\n\n var request = new XMLHttpRequest(); // HTTP basic authentication\n\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password || '';\n requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);\n }\n\n request.open(config.method.toUpperCase(), buildURL(config.url, config.params, config.paramsSerializer), true); // Set the request timeout in MS\n\n request.timeout = config.timeout; // Listen for ready state\n\n request.onreadystatechange = function handleLoad() {\n if (!request || request.readyState !== 4) {\n return;\n } // The request errored out and we didn't get a response, this will be\n // handled by onerror instead\n // With one exception: request that using file: protocol, most browsers\n // will return status as 0 even though it's a successful request\n\n\n if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {\n return;\n } // Prepare the response\n\n\n var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;\n var responseData = !config.responseType || config.responseType === 'text' ? request.responseText : request.response;\n var response = {\n data: responseData,\n status: request.status,\n statusText: request.statusText,\n headers: responseHeaders,\n config: config,\n request: request\n };\n settle(resolve, reject, response); // Clean up request\n\n request = null;\n }; // Handle low level network errors\n\n\n request.onerror = function handleError() {\n // Real errors are hidden from us by the browser\n // onerror should only fire if it's a network error\n reject(createError('Network Error', config, null, request)); // Clean up request\n\n request = null;\n }; // Handle timeout\n\n\n request.ontimeout = function handleTimeout() {\n reject(createError('timeout of ' + config.timeout + 'ms exceeded', config, 'ECONNABORTED', request)); // Clean up request\n\n request = null;\n }; // Add xsrf header\n // This is only done if running in a standard browser environment.\n // Specifically not if we're in a web worker, or react-native.\n\n\n if (utils.isStandardBrowserEnv()) {\n var cookies = __webpack_require__(/*! ./../helpers/cookies */ \"./node_modules/axios/lib/helpers/cookies.js\"); // Add xsrf header\n\n\n var xsrfValue = (config.withCredentials || isURLSameOrigin(config.url)) && config.xsrfCookieName ? cookies.read(config.xsrfCookieName) : undefined;\n\n if (xsrfValue) {\n requestHeaders[config.xsrfHeaderName] = xsrfValue;\n }\n } // Add headers to the request\n\n\n if ('setRequestHeader' in request) {\n utils.forEach(requestHeaders, function setRequestHeader(val, key) {\n if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {\n // Remove Content-Type if data is undefined\n delete requestHeaders[key];\n } else {\n // Otherwise add header to the request\n request.setRequestHeader(key, val);\n }\n });\n } // Add withCredentials to request if needed\n\n\n if (config.withCredentials) {\n request.withCredentials = true;\n } // Add responseType to request if needed\n\n\n if (config.responseType) {\n try {\n request.responseType = config.responseType;\n } catch (e) {\n // Expected DOMException thrown by browsers not compatible XMLHttpRequest Level 2.\n // But, this can be suppressed for 'json' type as it can be parsed by default 'transformResponse' function.\n if (config.responseType !== 'json') {\n throw e;\n }\n }\n } // Handle progress if needed\n\n\n if (typeof config.onDownloadProgress === 'function') {\n request.addEventListener('progress', config.onDownloadProgress);\n } // Not all browsers support upload events\n\n\n if (typeof config.onUploadProgress === 'function' && request.upload) {\n request.upload.addEventListener('progress', config.onUploadProgress);\n }\n\n if (config.cancelToken) {\n // Handle cancellation\n config.cancelToken.promise.then(function onCanceled(cancel) {\n if (!request) {\n return;\n }\n\n request.abort();\n reject(cancel); // Clean up request\n\n request = null;\n });\n }\n\n if (requestData === undefined) {\n requestData = null;\n } // Send the request\n\n\n request.send(requestData);\n });\n};\n\n//# sourceURL=webpack:///./node_modules/axios/lib/adapters/xhr.js?"); - -/***/ }), - -/***/ "./node_modules/axios/lib/axios.js": -/*!*****************************************!*\ - !*** ./node_modules/axios/lib/axios.js ***! - \*****************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar utils = __webpack_require__(/*! ./utils */ \"./node_modules/axios/lib/utils.js\");\n\nvar bind = __webpack_require__(/*! ./helpers/bind */ \"./node_modules/axios/lib/helpers/bind.js\");\n\nvar Axios = __webpack_require__(/*! ./core/Axios */ \"./node_modules/axios/lib/core/Axios.js\");\n\nvar defaults = __webpack_require__(/*! ./defaults */ \"./node_modules/axios/lib/defaults.js\");\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n * @return {Axios} A new instance of Axios\n */\n\n\nfunction createInstance(defaultConfig) {\n var context = new Axios(defaultConfig);\n var instance = bind(Axios.prototype.request, context); // Copy axios.prototype to instance\n\n utils.extend(instance, Axios.prototype, context); // Copy context to instance\n\n utils.extend(instance, context);\n return instance;\n} // Create the default instance to be exported\n\n\nvar axios = createInstance(defaults); // Expose Axios class to allow class inheritance\n\naxios.Axios = Axios; // Factory for creating new instances\n\naxios.create = function create(instanceConfig) {\n return createInstance(utils.merge(defaults, instanceConfig));\n}; // Expose Cancel & CancelToken\n\n\naxios.Cancel = __webpack_require__(/*! ./cancel/Cancel */ \"./node_modules/axios/lib/cancel/Cancel.js\");\naxios.CancelToken = __webpack_require__(/*! ./cancel/CancelToken */ \"./node_modules/axios/lib/cancel/CancelToken.js\");\naxios.isCancel = __webpack_require__(/*! ./cancel/isCancel */ \"./node_modules/axios/lib/cancel/isCancel.js\"); // Expose all/spread\n\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\n\naxios.spread = __webpack_require__(/*! ./helpers/spread */ \"./node_modules/axios/lib/helpers/spread.js\");\nmodule.exports = axios; // Allow use of default import syntax in TypeScript\n\nmodule.exports.default = axios;\n\n//# sourceURL=webpack:///./node_modules/axios/lib/axios.js?"); - -/***/ }), - -/***/ "./node_modules/axios/lib/cancel/Cancel.js": -/*!*************************************************!*\ - !*** ./node_modules/axios/lib/cancel/Cancel.js ***! - \*************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n/**\n * A `Cancel` is an object that is thrown when an operation is canceled.\n *\n * @class\n * @param {string=} message The message.\n */\n\nfunction Cancel(message) {\n this.message = message;\n}\n\nCancel.prototype.toString = function toString() {\n return 'Cancel' + (this.message ? ': ' + this.message : '');\n};\n\nCancel.prototype.__CANCEL__ = true;\nmodule.exports = Cancel;\n\n//# sourceURL=webpack:///./node_modules/axios/lib/cancel/Cancel.js?"); - -/***/ }), - -/***/ "./node_modules/axios/lib/cancel/CancelToken.js": -/*!******************************************************!*\ - !*** ./node_modules/axios/lib/cancel/CancelToken.js ***! - \******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar Cancel = __webpack_require__(/*! ./Cancel */ \"./node_modules/axios/lib/cancel/Cancel.js\");\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @class\n * @param {Function} executor The executor function.\n */\n\n\nfunction CancelToken(executor) {\n if (typeof executor !== 'function') {\n throw new TypeError('executor must be a function.');\n }\n\n var resolvePromise;\n this.promise = new Promise(function promiseExecutor(resolve) {\n resolvePromise = resolve;\n });\n var token = this;\n executor(function cancel(message) {\n if (token.reason) {\n // Cancellation has already been requested\n return;\n }\n\n token.reason = new Cancel(message);\n resolvePromise(token.reason);\n });\n}\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\n\n\nCancelToken.prototype.throwIfRequested = function throwIfRequested() {\n if (this.reason) {\n throw this.reason;\n }\n};\n/**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\n\n\nCancelToken.source = function source() {\n var cancel;\n var token = new CancelToken(function executor(c) {\n cancel = c;\n });\n return {\n token: token,\n cancel: cancel\n };\n};\n\nmodule.exports = CancelToken;\n\n//# sourceURL=webpack:///./node_modules/axios/lib/cancel/CancelToken.js?"); - -/***/ }), - -/***/ "./node_modules/axios/lib/cancel/isCancel.js": -/*!***************************************************!*\ - !*** ./node_modules/axios/lib/cancel/isCancel.js ***! - \***************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nmodule.exports = function isCancel(value) {\n return !!(value && value.__CANCEL__);\n};\n\n//# sourceURL=webpack:///./node_modules/axios/lib/cancel/isCancel.js?"); - -/***/ }), - -/***/ "./node_modules/axios/lib/core/Axios.js": -/*!**********************************************!*\ - !*** ./node_modules/axios/lib/core/Axios.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar defaults = __webpack_require__(/*! ./../defaults */ \"./node_modules/axios/lib/defaults.js\");\n\nvar utils = __webpack_require__(/*! ./../utils */ \"./node_modules/axios/lib/utils.js\");\n\nvar InterceptorManager = __webpack_require__(/*! ./InterceptorManager */ \"./node_modules/axios/lib/core/InterceptorManager.js\");\n\nvar dispatchRequest = __webpack_require__(/*! ./dispatchRequest */ \"./node_modules/axios/lib/core/dispatchRequest.js\");\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n */\n\n\nfunction Axios(instanceConfig) {\n this.defaults = instanceConfig;\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager()\n };\n}\n/**\n * Dispatch a request\n *\n * @param {Object} config The config specific for this request (merged with this.defaults)\n */\n\n\nAxios.prototype.request = function request(config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof config === 'string') {\n config = utils.merge({\n url: arguments[0]\n }, arguments[1]);\n }\n\n config = utils.merge(defaults, {\n method: 'get'\n }, this.defaults, config);\n config.method = config.method.toLowerCase(); // Hook up interceptors middleware\n\n var chain = [dispatchRequest, undefined];\n var promise = Promise.resolve(config);\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n chain.unshift(interceptor.fulfilled, interceptor.rejected);\n });\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n chain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n while (chain.length) {\n promise = promise.then(chain.shift(), chain.shift());\n }\n\n return promise;\n}; // Provide aliases for supported request methods\n\n\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function (url, config) {\n return this.request(utils.merge(config || {}, {\n method: method,\n url: url\n }));\n };\n});\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function (url, data, config) {\n return this.request(utils.merge(config || {}, {\n method: method,\n url: url,\n data: data\n }));\n };\n});\nmodule.exports = Axios;\n\n//# sourceURL=webpack:///./node_modules/axios/lib/core/Axios.js?"); - -/***/ }), - -/***/ "./node_modules/axios/lib/core/InterceptorManager.js": -/*!***********************************************************!*\ - !*** ./node_modules/axios/lib/core/InterceptorManager.js ***! - \***********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar utils = __webpack_require__(/*! ./../utils */ \"./node_modules/axios/lib/utils.js\");\n\nfunction InterceptorManager() {\n this.handlers = [];\n}\n/**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n *\n * @return {Number} An ID used to remove interceptor later\n */\n\n\nInterceptorManager.prototype.use = function use(fulfilled, rejected) {\n this.handlers.push({\n fulfilled: fulfilled,\n rejected: rejected\n });\n return this.handlers.length - 1;\n};\n/**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n */\n\n\nInterceptorManager.prototype.eject = function eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n};\n/**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n */\n\n\nInterceptorManager.prototype.forEach = function forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n};\n\nmodule.exports = InterceptorManager;\n\n//# sourceURL=webpack:///./node_modules/axios/lib/core/InterceptorManager.js?"); - -/***/ }), - -/***/ "./node_modules/axios/lib/core/createError.js": -/*!****************************************************!*\ - !*** ./node_modules/axios/lib/core/createError.js ***! - \****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar enhanceError = __webpack_require__(/*! ./enhanceError */ \"./node_modules/axios/lib/core/enhanceError.js\");\n/**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The created error.\n */\n\n\nmodule.exports = function createError(message, config, code, request, response) {\n var error = new Error(message);\n return enhanceError(error, config, code, request, response);\n};\n\n//# sourceURL=webpack:///./node_modules/axios/lib/core/createError.js?"); - -/***/ }), - -/***/ "./node_modules/axios/lib/core/dispatchRequest.js": -/*!********************************************************!*\ - !*** ./node_modules/axios/lib/core/dispatchRequest.js ***! - \********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar utils = __webpack_require__(/*! ./../utils */ \"./node_modules/axios/lib/utils.js\");\n\nvar transformData = __webpack_require__(/*! ./transformData */ \"./node_modules/axios/lib/core/transformData.js\");\n\nvar isCancel = __webpack_require__(/*! ../cancel/isCancel */ \"./node_modules/axios/lib/cancel/isCancel.js\");\n\nvar defaults = __webpack_require__(/*! ../defaults */ \"./node_modules/axios/lib/defaults.js\");\n\nvar isAbsoluteURL = __webpack_require__(/*! ./../helpers/isAbsoluteURL */ \"./node_modules/axios/lib/helpers/isAbsoluteURL.js\");\n\nvar combineURLs = __webpack_require__(/*! ./../helpers/combineURLs */ \"./node_modules/axios/lib/helpers/combineURLs.js\");\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\n\n\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n}\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n * @returns {Promise} The Promise to be fulfilled\n */\n\n\nmodule.exports = function dispatchRequest(config) {\n throwIfCancellationRequested(config); // Support baseURL config\n\n if (config.baseURL && !isAbsoluteURL(config.url)) {\n config.url = combineURLs(config.baseURL, config.url);\n } // Ensure headers exist\n\n\n config.headers = config.headers || {}; // Transform request data\n\n config.data = transformData(config.data, config.headers, config.transformRequest); // Flatten headers\n\n config.headers = utils.merge(config.headers.common || {}, config.headers[config.method] || {}, config.headers || {});\n utils.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'common'], function cleanHeaderConfig(method) {\n delete config.headers[method];\n });\n var adapter = config.adapter || defaults.adapter;\n return adapter(config).then(function onAdapterResolution(response) {\n throwIfCancellationRequested(config); // Transform response data\n\n response.data = transformData(response.data, response.headers, config.transformResponse);\n return response;\n }, function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config); // Transform response data\n\n if (reason && reason.response) {\n reason.response.data = transformData(reason.response.data, reason.response.headers, config.transformResponse);\n }\n }\n\n return Promise.reject(reason);\n });\n};\n\n//# sourceURL=webpack:///./node_modules/axios/lib/core/dispatchRequest.js?"); - -/***/ }), - -/***/ "./node_modules/axios/lib/core/enhanceError.js": -/*!*****************************************************!*\ - !*** ./node_modules/axios/lib/core/enhanceError.js ***! - \*****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n/**\n * Update an Error with the specified config, error code, and response.\n *\n * @param {Error} error The error to update.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The error.\n */\n\nmodule.exports = function enhanceError(error, config, code, request, response) {\n error.config = config;\n\n if (code) {\n error.code = code;\n }\n\n error.request = request;\n error.response = response;\n return error;\n};\n\n//# sourceURL=webpack:///./node_modules/axios/lib/core/enhanceError.js?"); - -/***/ }), - -/***/ "./node_modules/axios/lib/core/settle.js": -/*!***********************************************!*\ - !*** ./node_modules/axios/lib/core/settle.js ***! - \***********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar createError = __webpack_require__(/*! ./createError */ \"./node_modules/axios/lib/core/createError.js\");\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n */\n\n\nmodule.exports = function settle(resolve, reject, response) {\n var validateStatus = response.config.validateStatus; // Note: status is not exposed by XDomainRequest\n\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(createError('Request failed with status code ' + response.status, response.config, null, response.request, response));\n }\n};\n\n//# sourceURL=webpack:///./node_modules/axios/lib/core/settle.js?"); - -/***/ }), - -/***/ "./node_modules/axios/lib/core/transformData.js": -/*!******************************************************!*\ - !*** ./node_modules/axios/lib/core/transformData.js ***! - \******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar utils = __webpack_require__(/*! ./../utils */ \"./node_modules/axios/lib/utils.js\");\n/**\n * Transform the data for a request or a response\n *\n * @param {Object|String} data The data to be transformed\n * @param {Array} headers The headers for the request or response\n * @param {Array|Function} fns A single function or Array of functions\n * @returns {*} The resulting transformed data\n */\n\n\nmodule.exports = function transformData(data, headers, fns) {\n /*eslint no-param-reassign:0*/\n utils.forEach(fns, function transform(fn) {\n data = fn(data, headers);\n });\n return data;\n};\n\n//# sourceURL=webpack:///./node_modules/axios/lib/core/transformData.js?"); - -/***/ }), - -/***/ "./node_modules/axios/lib/defaults.js": -/*!********************************************!*\ - !*** ./node_modules/axios/lib/defaults.js ***! - \********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("/* WEBPACK VAR INJECTION */(function(process) {\n\nvar utils = __webpack_require__(/*! ./utils */ \"./node_modules/axios/lib/utils.js\");\n\nvar normalizeHeaderName = __webpack_require__(/*! ./helpers/normalizeHeaderName */ \"./node_modules/axios/lib/helpers/normalizeHeaderName.js\");\n\nvar DEFAULT_CONTENT_TYPE = {\n 'Content-Type': 'application/x-www-form-urlencoded'\n};\n\nfunction setContentTypeIfUnset(headers, value) {\n if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {\n headers['Content-Type'] = value;\n }\n}\n\nfunction getDefaultAdapter() {\n var adapter;\n\n if (typeof XMLHttpRequest !== 'undefined') {\n // For browsers use XHR adapter\n adapter = __webpack_require__(/*! ./adapters/xhr */ \"./node_modules/axios/lib/adapters/xhr.js\");\n } else if (typeof process !== 'undefined') {\n // For node use HTTP adapter\n adapter = __webpack_require__(/*! ./adapters/http */ \"./node_modules/axios/lib/adapters/xhr.js\");\n }\n\n return adapter;\n}\n\nvar defaults = {\n adapter: getDefaultAdapter(),\n transformRequest: [function transformRequest(data, headers) {\n normalizeHeaderName(headers, 'Content-Type');\n\n if (utils.isFormData(data) || utils.isArrayBuffer(data) || utils.isBuffer(data) || utils.isStream(data) || utils.isFile(data) || utils.isBlob(data)) {\n return data;\n }\n\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n\n if (utils.isURLSearchParams(data)) {\n setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');\n return data.toString();\n }\n\n if (utils.isObject(data)) {\n setContentTypeIfUnset(headers, 'application/json;charset=utf-8');\n return JSON.stringify(data);\n }\n\n return data;\n }],\n transformResponse: [function transformResponse(data) {\n /*eslint no-param-reassign:0*/\n if (typeof data === 'string') {\n try {\n data = JSON.parse(data);\n } catch (e) {\n /* Ignore */\n }\n }\n\n return data;\n }],\n\n /**\n * A timeout in milliseconds to abort a request. If set to 0 (default) a\n * timeout is not created.\n */\n timeout: 0,\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n maxContentLength: -1,\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n }\n};\ndefaults.headers = {\n common: {\n 'Accept': 'application/json, text/plain, */*'\n }\n};\nutils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {\n defaults.headers[method] = {};\n});\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);\n});\nmodule.exports = defaults;\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../process/browser.js */ \"./node_modules/process/browser.js\")))\n\n//# sourceURL=webpack:///./node_modules/axios/lib/defaults.js?"); - -/***/ }), - -/***/ "./node_modules/axios/lib/helpers/bind.js": -/*!************************************************!*\ - !*** ./node_modules/axios/lib/helpers/bind.js ***! - \************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nmodule.exports = function bind(fn, thisArg) {\n return function wrap() {\n var args = new Array(arguments.length);\n\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n\n return fn.apply(thisArg, args);\n };\n};\n\n//# sourceURL=webpack:///./node_modules/axios/lib/helpers/bind.js?"); - -/***/ }), - -/***/ "./node_modules/axios/lib/helpers/buildURL.js": -/*!****************************************************!*\ - !*** ./node_modules/axios/lib/helpers/buildURL.js ***! - \****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar utils = __webpack_require__(/*! ./../utils */ \"./node_modules/axios/lib/utils.js\");\n\nfunction encode(val) {\n return encodeURIComponent(val).replace(/%40/gi, '@').replace(/%3A/gi, ':').replace(/%24/g, '$').replace(/%2C/gi, ',').replace(/%20/g, '+').replace(/%5B/gi, '[').replace(/%5D/gi, ']');\n}\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @returns {string} The formatted url\n */\n\n\nmodule.exports = function buildURL(url, params, paramsSerializer) {\n /*eslint no-param-reassign:0*/\n if (!params) {\n return url;\n }\n\n var serializedParams;\n\n if (paramsSerializer) {\n serializedParams = paramsSerializer(params);\n } else if (utils.isURLSearchParams(params)) {\n serializedParams = params.toString();\n } else {\n var parts = [];\n utils.forEach(params, function serialize(val, key) {\n if (val === null || typeof val === 'undefined') {\n return;\n }\n\n if (utils.isArray(val)) {\n key = key + '[]';\n } else {\n val = [val];\n }\n\n utils.forEach(val, function parseValue(v) {\n if (utils.isDate(v)) {\n v = v.toISOString();\n } else if (utils.isObject(v)) {\n v = JSON.stringify(v);\n }\n\n parts.push(encode(key) + '=' + encode(v));\n });\n });\n serializedParams = parts.join('&');\n }\n\n if (serializedParams) {\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n};\n\n//# sourceURL=webpack:///./node_modules/axios/lib/helpers/buildURL.js?"); - -/***/ }), - -/***/ "./node_modules/axios/lib/helpers/combineURLs.js": -/*!*******************************************************!*\ - !*** ./node_modules/axios/lib/helpers/combineURLs.js ***! - \*******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n * @returns {string} The combined URL\n */\n\nmodule.exports = function combineURLs(baseURL, relativeURL) {\n return relativeURL ? baseURL.replace(/\\/+$/, '') + '/' + relativeURL.replace(/^\\/+/, '') : baseURL;\n};\n\n//# sourceURL=webpack:///./node_modules/axios/lib/helpers/combineURLs.js?"); - -/***/ }), - -/***/ "./node_modules/axios/lib/helpers/cookies.js": -/*!***************************************************!*\ - !*** ./node_modules/axios/lib/helpers/cookies.js ***! - \***************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar utils = __webpack_require__(/*! ./../utils */ \"./node_modules/axios/lib/utils.js\");\n\nmodule.exports = utils.isStandardBrowserEnv() ? // Standard browser envs support document.cookie\nfunction standardBrowserEnv() {\n return {\n write: function write(name, value, expires, path, domain, secure) {\n var cookie = [];\n cookie.push(name + '=' + encodeURIComponent(value));\n\n if (utils.isNumber(expires)) {\n cookie.push('expires=' + new Date(expires).toGMTString());\n }\n\n if (utils.isString(path)) {\n cookie.push('path=' + path);\n }\n\n if (utils.isString(domain)) {\n cookie.push('domain=' + domain);\n }\n\n if (secure === true) {\n cookie.push('secure');\n }\n\n document.cookie = cookie.join('; ');\n },\n read: function read(name) {\n var match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n return match ? decodeURIComponent(match[3]) : null;\n },\n remove: function remove(name) {\n this.write(name, '', Date.now() - 86400000);\n }\n };\n}() : // Non standard browser env (web workers, react-native) lack needed support.\nfunction nonStandardBrowserEnv() {\n return {\n write: function write() {},\n read: function read() {\n return null;\n },\n remove: function remove() {}\n };\n}();\n\n//# sourceURL=webpack:///./node_modules/axios/lib/helpers/cookies.js?"); - -/***/ }), - -/***/ "./node_modules/axios/lib/helpers/isAbsoluteURL.js": -/*!*********************************************************!*\ - !*** ./node_modules/axios/lib/helpers/isAbsoluteURL.js ***! - \*********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\n\nmodule.exports = function isAbsoluteURL(url) {\n // A URL is considered absolute if it begins with \"://\" or \"//\" (protocol-relative URL).\n // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n // by any combination of letters, digits, plus, period, or hyphen.\n return /^([a-z][a-z\\d\\+\\-\\.]*:)?\\/\\//i.test(url);\n};\n\n//# sourceURL=webpack:///./node_modules/axios/lib/helpers/isAbsoluteURL.js?"); - -/***/ }), - -/***/ "./node_modules/axios/lib/helpers/isURLSameOrigin.js": -/*!***********************************************************!*\ - !*** ./node_modules/axios/lib/helpers/isURLSameOrigin.js ***! - \***********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar utils = __webpack_require__(/*! ./../utils */ \"./node_modules/axios/lib/utils.js\");\n\nmodule.exports = utils.isStandardBrowserEnv() ? // Standard browser envs have full support of the APIs needed to test\n// whether the request URL is of the same origin as current location.\nfunction standardBrowserEnv() {\n var msie = /(msie|trident)/i.test(navigator.userAgent);\n var urlParsingNode = document.createElement('a');\n var originURL;\n /**\n * Parse a URL to discover it's components\n *\n * @param {String} url The URL to be parsed\n * @returns {Object}\n */\n\n function resolveURL(url) {\n var href = url;\n\n if (msie) {\n // IE needs attribute set twice to normalize properties\n urlParsingNode.setAttribute('href', href);\n href = urlParsingNode.href;\n }\n\n urlParsingNode.setAttribute('href', href); // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils\n\n return {\n href: urlParsingNode.href,\n protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',\n host: urlParsingNode.host,\n search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\?/, '') : '',\n hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',\n hostname: urlParsingNode.hostname,\n port: urlParsingNode.port,\n pathname: urlParsingNode.pathname.charAt(0) === '/' ? urlParsingNode.pathname : '/' + urlParsingNode.pathname\n };\n }\n\n originURL = resolveURL(window.location.href);\n /**\n * Determine if a URL shares the same origin as the current location\n *\n * @param {String} requestURL The URL to test\n * @returns {boolean} True if URL shares the same origin, otherwise false\n */\n\n return function isURLSameOrigin(requestURL) {\n var parsed = utils.isString(requestURL) ? resolveURL(requestURL) : requestURL;\n return parsed.protocol === originURL.protocol && parsed.host === originURL.host;\n };\n}() : // Non standard browser envs (web workers, react-native) lack needed support.\nfunction nonStandardBrowserEnv() {\n return function isURLSameOrigin() {\n return true;\n };\n}();\n\n//# sourceURL=webpack:///./node_modules/axios/lib/helpers/isURLSameOrigin.js?"); - -/***/ }), - -/***/ "./node_modules/axios/lib/helpers/normalizeHeaderName.js": -/*!***************************************************************!*\ - !*** ./node_modules/axios/lib/helpers/normalizeHeaderName.js ***! - \***************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar utils = __webpack_require__(/*! ../utils */ \"./node_modules/axios/lib/utils.js\");\n\nmodule.exports = function normalizeHeaderName(headers, normalizedName) {\n utils.forEach(headers, function processHeader(value, name) {\n if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {\n headers[normalizedName] = value;\n delete headers[name];\n }\n });\n};\n\n//# sourceURL=webpack:///./node_modules/axios/lib/helpers/normalizeHeaderName.js?"); - -/***/ }), - -/***/ "./node_modules/axios/lib/helpers/parseHeaders.js": -/*!********************************************************!*\ - !*** ./node_modules/axios/lib/helpers/parseHeaders.js ***! - \********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar utils = __webpack_require__(/*! ./../utils */ \"./node_modules/axios/lib/utils.js\"); // Headers whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\n\n\nvar ignoreDuplicateOf = ['age', 'authorization', 'content-length', 'content-type', 'etag', 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since', 'last-modified', 'location', 'max-forwards', 'proxy-authorization', 'referer', 'retry-after', 'user-agent'];\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} headers Headers needing to be parsed\n * @returns {Object} Headers parsed into an object\n */\n\nmodule.exports = function parseHeaders(headers) {\n var parsed = {};\n var key;\n var val;\n var i;\n\n if (!headers) {\n return parsed;\n }\n\n utils.forEach(headers.split('\\n'), function parser(line) {\n i = line.indexOf(':');\n key = utils.trim(line.substr(0, i)).toLowerCase();\n val = utils.trim(line.substr(i + 1));\n\n if (key) {\n if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {\n return;\n }\n\n if (key === 'set-cookie') {\n parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);\n } else {\n parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n }\n }\n });\n return parsed;\n};\n\n//# sourceURL=webpack:///./node_modules/axios/lib/helpers/parseHeaders.js?"); - -/***/ }), - -/***/ "./node_modules/axios/lib/helpers/spread.js": -/*!**************************************************!*\ - !*** ./node_modules/axios/lib/helpers/spread.js ***! - \**************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * var args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n * @returns {Function}\n */\n\nmodule.exports = function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n};\n\n//# sourceURL=webpack:///./node_modules/axios/lib/helpers/spread.js?"); - -/***/ }), - -/***/ "./node_modules/axios/lib/utils.js": -/*!*****************************************!*\ - !*** ./node_modules/axios/lib/utils.js ***! - \*****************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nvar bind = __webpack_require__(/*! ./helpers/bind */ \"./node_modules/axios/lib/helpers/bind.js\");\n\nvar isBuffer = __webpack_require__(/*! is-buffer */ \"./node_modules/is-buffer/index.js\");\n/*global toString:true*/\n// utils is a library of generic helper functions non-specific to axios\n\n\nvar toString = Object.prototype.toString;\n/**\n * Determine if a value is an Array\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Array, otherwise false\n */\n\nfunction isArray(val) {\n return toString.call(val) === '[object Array]';\n}\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\n\n\nfunction isArrayBuffer(val) {\n return toString.call(val) === '[object ArrayBuffer]';\n}\n/**\n * Determine if a value is a FormData\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an FormData, otherwise false\n */\n\n\nfunction isFormData(val) {\n return typeof FormData !== 'undefined' && val instanceof FormData;\n}\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\n\n\nfunction isArrayBufferView(val) {\n var result;\n\n if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView) {\n result = ArrayBuffer.isView(val);\n } else {\n result = val && val.buffer && val.buffer instanceof ArrayBuffer;\n }\n\n return result;\n}\n/**\n * Determine if a value is a String\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a String, otherwise false\n */\n\n\nfunction isString(val) {\n return typeof val === 'string';\n}\n/**\n * Determine if a value is a Number\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Number, otherwise false\n */\n\n\nfunction isNumber(val) {\n return typeof val === 'number';\n}\n/**\n * Determine if a value is undefined\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if the value is undefined, otherwise false\n */\n\n\nfunction isUndefined(val) {\n return typeof val === 'undefined';\n}\n/**\n * Determine if a value is an Object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Object, otherwise false\n */\n\n\nfunction isObject(val) {\n return val !== null && typeof val === 'object';\n}\n/**\n * Determine if a value is a Date\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Date, otherwise false\n */\n\n\nfunction isDate(val) {\n return toString.call(val) === '[object Date]';\n}\n/**\n * Determine if a value is a File\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a File, otherwise false\n */\n\n\nfunction isFile(val) {\n return toString.call(val) === '[object File]';\n}\n/**\n * Determine if a value is a Blob\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Blob, otherwise false\n */\n\n\nfunction isBlob(val) {\n return toString.call(val) === '[object Blob]';\n}\n/**\n * Determine if a value is a Function\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\n\n\nfunction isFunction(val) {\n return toString.call(val) === '[object Function]';\n}\n/**\n * Determine if a value is a Stream\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Stream, otherwise false\n */\n\n\nfunction isStream(val) {\n return isObject(val) && isFunction(val.pipe);\n}\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\n\n\nfunction isURLSearchParams(val) {\n return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams;\n}\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n * @returns {String} The String freed of excess whitespace\n */\n\n\nfunction trim(str) {\n return str.replace(/^\\s*/, '').replace(/\\s*$/, '');\n}\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n */\n\n\nfunction isStandardBrowserEnv() {\n if (typeof navigator !== 'undefined' && navigator.product === 'ReactNative') {\n return false;\n }\n\n return typeof window !== 'undefined' && typeof document !== 'undefined';\n}\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n */\n\n\nfunction forEach(obj, fn) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n } // Force an array if not already something iterable\n\n\n if (typeof obj !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n\n if (isArray(obj)) {\n // Iterate over array values\n for (var i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Iterate over object keys\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n fn.call(null, obj[key], key, obj);\n }\n }\n }\n}\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * var result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n * @returns {Object} Result of all merge properties\n */\n\n\nfunction merge()\n/* obj1, obj2, obj3, ... */\n{\n var result = {};\n\n function assignValue(val, key) {\n if (typeof result[key] === 'object' && typeof val === 'object') {\n result[key] = merge(result[key], val);\n } else {\n result[key] = val;\n }\n }\n\n for (var i = 0, l = arguments.length; i < l; i++) {\n forEach(arguments[i], assignValue);\n }\n\n return result;\n}\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n * @return {Object} The resulting value of object a\n */\n\n\nfunction extend(a, b, thisArg) {\n forEach(b, function assignValue(val, key) {\n if (thisArg && typeof val === 'function') {\n a[key] = bind(val, thisArg);\n } else {\n a[key] = val;\n }\n });\n return a;\n}\n\nmodule.exports = {\n isArray: isArray,\n isArrayBuffer: isArrayBuffer,\n isBuffer: isBuffer,\n isFormData: isFormData,\n isArrayBufferView: isArrayBufferView,\n isString: isString,\n isNumber: isNumber,\n isObject: isObject,\n isUndefined: isUndefined,\n isDate: isDate,\n isFile: isFile,\n isBlob: isBlob,\n isFunction: isFunction,\n isStream: isStream,\n isURLSearchParams: isURLSearchParams,\n isStandardBrowserEnv: isStandardBrowserEnv,\n forEach: forEach,\n merge: merge,\n extend: extend,\n trim: trim\n};\n\n//# sourceURL=webpack:///./node_modules/axios/lib/utils.js?"); - -/***/ }), - -/***/ "./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./web/themes/custom/materiotheme/vuejs/components/Block/LoginBlock.vue?vue&type=script&lang=js&": -/*!*****************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./web/themes/custom/materiotheme/vuejs/components/Block/LoginBlock.vue?vue&type=script&lang=js& ***! - \*****************************************************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _vue = _interopRequireDefault(__webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.js\"));\n\nvar _vuex = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nvar _default = {\n props: ['title', 'block'],\n data: function data() {\n return {\n template: null,\n mail: '',\n password: ''\n };\n },\n // computed: {\n // ...mapState(['User'])\n // },\n methods: _objectSpread({}, (0, _vuex.mapActions)({\n userLogin: 'User/userLogin'\n }), {\n login: function login() {\n this.userLogin({\n mail: this.mail,\n pass: this.password\n });\n },\n request_password: function request_password() {\n console.log('request_password');\n },\n create_account: function create_account() {\n console.log('create_account');\n }\n }),\n beforeMount: function beforeMount() {\n var _this = this;\n\n // console.log('LoginBlock beforeMount', this._props.block);\n if (this._props.block) {\n // console.log('LoginBlock beforeMount if this._props.block ok');\n this.template = _vue.default.compile(this._props.block);\n this.$options.staticRenderFns = [];\n this._staticTrees = [];\n this.template.staticRenderFns.map(function (fn) {\n return _this.$options.staticRenderFns.push(fn);\n });\n }\n },\n mounted: function mounted() {\n // console.log('LoginBlock mounted');\n Drupal.attachBehaviors(this.$el);\n },\n render: function render(h) {\n // console.log('LoginBlock render');\n if (!this.template) {\n // console.log('LoginBlock render NAN');\n return h('span', 'Loading ...');\n } else {\n // console.log('LoginBlock render template');\n return this.template.render.call(this);\n }\n }\n};\nexports.default = _default;\n\n//# sourceURL=webpack:///./web/themes/custom/materiotheme/vuejs/components/Block/LoginBlock.vue?./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./web/themes/custom/materiotheme/vuejs/components/Block/SearchBlock.vue?vue&type=script&lang=js&": -/*!******************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./web/themes/custom/materiotheme/vuejs/components/Block/SearchBlock.vue?vue&type=script&lang=js& ***! - \******************************************************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _SearchForm = _interopRequireDefault(__webpack_require__(/*! vuejs/components/Form/SearchForm */ \"./web/themes/custom/materiotheme/vuejs/components/Form/SearchForm.vue\"));\n\nvar _vuex = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n\nvar _maAxios = __webpack_require__(/*! vuejs/api/ma-axios */ \"./web/themes/custom/materiotheme/vuejs/api/ma-axios.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nvar _default = {\n props: ['blockid', 'formhtml'],\n data: function data() {\n return {\n form: null\n };\n },\n computed: _objectSpread({}, (0, _vuex.mapState)({\n canSearch: function canSearch(state) {\n return state.User.canSearch;\n }\n }), {\n displayform: function displayform() {\n // console.log('computed displayform');\n return this.canSearch && this.form;\n }\n }),\n beforeMount: function beforeMount() {\n // console.log('SearchBlock beforeMount');\n this.form = this.formhtml;\n },\n watch: {\n canSearch: function canSearch(new_value, old_value) {\n // console.log('canSearch changed, old: '+old_value+\", new: \"+new_value);\n if (new_value && !this.form) {\n this.getSearchForm();\n }\n\n if (!new_value && this.form) {\n this.form = null;\n }\n }\n },\n methods: {\n getSearchForm: function getSearchForm() {\n var _this = this;\n\n _maAxios.MA.get(\"/materio_sapi/search_form\").then(function (_ref) {\n var data = _ref.data;\n // console.log(\"getSearchForm\");\n _this.form = data.rendered;\n }).catch(function (error) {\n console.warn('Issue with get searchform', error);\n });\n }\n },\n components: {\n SearchForm: _SearchForm.default\n }\n};\nexports.default = _default;\n\n//# sourceURL=webpack:///./web/themes/custom/materiotheme/vuejs/components/Block/SearchBlock.vue?./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./web/themes/custom/materiotheme/vuejs/components/Block/UserBlock.vue?vue&type=script&lang=js&": -/*!****************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./web/themes/custom/materiotheme/vuejs/components/Block/UserBlock.vue?vue&type=script&lang=js& ***! - \****************************************************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _vuex = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n\nvar _LoginBlock = _interopRequireDefault(__webpack_require__(/*! vuejs/components/Block/LoginBlock */ \"./web/themes/custom/materiotheme/vuejs/components/Block/LoginBlock.vue\"));\n\nvar _UserTools = _interopRequireDefault(__webpack_require__(/*! vuejs/components/User/UserTools */ \"./web/themes/custom/materiotheme/vuejs/components/User/UserTools.vue\"));\n\nvar _maAxios = __webpack_require__(/*! vuejs/api/ma-axios */ \"./web/themes/custom/materiotheme/vuejs/api/ma-axios.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nvar _default = {\n props: ['title', 'loginblock'],\n data: function data() {\n return {\n block: null\n };\n },\n computed: _objectSpread({}, (0, _vuex.mapState)({\n isloggedin: function isloggedin(state) {\n return state.User.isloggedin;\n }\n })),\n beforeMount: function beforeMount() {\n console.log('UserBlock beforeMount');\n\n if (this.loginblock) {\n this.block = this.loginblock;\n } else {\n this.getLoginBlock();\n }\n },\n methods: {\n getLoginBlock: function getLoginBlock() {\n var _this = this;\n\n _maAxios.MA.get(\"/materio_user/login_block\").then(function (_ref) {\n var data = _ref.data;\n // console.log(\"getLoginBlock data\", data);\n _this.block = data.rendered;\n }).catch(function (error) {\n console.warn('Issue with getLoginBlock', error);\n });\n }\n },\n components: {\n LoginBlock: _LoginBlock.default,\n UserTools: _UserTools.default\n }\n};\nexports.default = _default;\n\n//# sourceURL=webpack:///./web/themes/custom/materiotheme/vuejs/components/Block/UserBlock.vue?./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./web/themes/custom/materiotheme/vuejs/components/Content/ArticleCard.vue?vue&type=script&lang=js&": -/*!********************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./web/themes/custom/materiotheme/vuejs/components/Content/ArticleCard.vue?vue&type=script&lang=js& ***! - \********************************************************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _jsonAxios = __webpack_require__(/*! vuejs/api/json-axios */ \"./web/themes/custom/materiotheme/vuejs/api/json-axios.js\");\n\nvar _route = _interopRequireDefault(__webpack_require__(/*! vuejs/route */ \"./web/themes/custom/materiotheme/vuejs/route/index.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nvar basePath = drupalSettings.path.baseUrl + drupalSettings.path.pathPrefix;\nvar _default = {\n name: \"ArticleCard\",\n router: _route.default,\n props: ['item'],\n data: function data() {\n return {\n alias: this.item.view_node.replace(/^.?\\/blabla\\//g, '')\n };\n },\n methods: {\n onclick: function onclick() {\n console.log('clicked on article', this.alias);\n this.$router.push({\n name: \"article\",\n params: {\n alias: this.alias\n },\n query: {\n uuid: this.item.uuid\n } // meta: { uuid:this.item.uuid },\n\n });\n }\n }\n};\nexports.default = _default;\n\n//# sourceURL=webpack:///./web/themes/custom/materiotheme/vuejs/components/Content/ArticleCard.vue?./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./web/themes/custom/materiotheme/vuejs/components/Content/Card.vue?vue&type=script&lang=js&": -/*!*************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./web/themes/custom/materiotheme/vuejs/components/Content/Card.vue?vue&type=script&lang=js& ***! - \*************************************************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _vuex = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nvar _default = {\n name: \"Card\",\n props: ['item'],\n data: function data() {\n return {\n blanksrc: \"\".concat(drupalSettings.path.themePath, \"/assets/img/blank.gif\"),\n loadingFlag: false\n };\n },\n computed: _objectSpread({}, (0, _vuex.mapState)({\n flagcolls: function flagcolls(state) {\n return state.User.flagcolls;\n }\n })),\n directives: {\n lazy: {\n bind: function bind(img, binding) {\n // console.log('lazy bind', img, binding);\n if (binding.value === 0) {\n img.setAttribute('src', img.getAttribute('data-src'));\n img.removeAttribute('data-src');\n img.classList.remove('lazy');\n }\n }\n },\n switcher: {\n inserted: function inserted(el, binding) {\n // switch images on mousemove\n el.addEventListener('mousemove', function (event) {\n var figs = this.querySelectorAll('figure'); // console.log('mousemove', this, event, figs.length);\n // let len = figs.length\n // let w = this.clientWidth;\n // let g = w / len;\n // let delta = Math.floor(event.layerX / g)\n\n var delta = Math.floor(event.layerX / (this.clientWidth / figs.length)); // console.log('delta', delta);\n\n figs.forEach(function (fig, index) {\n // console.log(index);\n if (index == delta) {\n fig.style.display = \"block\";\n } else {\n fig.style.display = \"none\";\n }\n });\n });\n }\n }\n },\n mounted: function mounted() {\n // lazy load images on mouseover\n this.$el.addEventListener('mouseover', function (event) {\n var imgs = this.querySelectorAll('.images figure img.lazy'); // console.log('mouseover', this, imgs);\n\n imgs.forEach(function (img) {\n // console.log('forEach img',img);\n img.setAttribute('src', img.getAttribute('data-src'));\n img.removeAttribute('data-src');\n img.classList.remove('lazy');\n });\n }, {\n once: true\n });\n },\n methods: _objectSpread({}, (0, _vuex.mapActions)({\n flag: 'User/flag',\n unFlag: 'User/unFlag'\n }), {\n flagIsActive: function flagIsActive(collid) {\n // console.log(this.item.uuid);\n // console.log(this.flagcolls[collid].items_uuids);\n return this.flagcolls[collid].items_uuids.indexOf(this.item.uuid) !== -1;\n },\n flagIsLoading: function flagIsLoading(collid) {\n // console.log(this.item.uuid);\n // console.log(this.flagcolls[collid].items_uuids);\n return collid === this.loadingFlag;\n },\n onFlagActionCard: function onFlagActionCard(e) {\n var _this = this;\n\n console.log(\"Card onFlagActionCard\", e);\n\n if (!this.loadingFlag) {\n var collid = e.target.getAttribute('collid');\n var isActive = this.flagIsActive(collid); // console.log('collid', collid);\n // console.log(\"this.item\", this.item);\n\n this.loadingFlag = collid;\n\n if (isActive) {\n this.unFlag({\n uuid: this.item.uuid,\n collid: collid\n }).then(function (data) {\n console.log(\"onFlagActionCard then\", data);\n _this.loadingFlag = false;\n });\n } else {\n this.flag({\n uuid: this.item.uuid,\n collid: collid\n }).then(function (data) {\n console.log(\"onFlagActionCard then\", data);\n _this.loadingFlag = false;\n });\n }\n }\n }\n })\n};\nexports.default = _default;\n\n//# sourceURL=webpack:///./web/themes/custom/materiotheme/vuejs/components/Content/Card.vue?./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./web/themes/custom/materiotheme/vuejs/components/Content/MainContent.vue?vue&type=script&lang=js&": -/*!********************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./web/themes/custom/materiotheme/vuejs/components/Content/MainContent.vue?vue&type=script&lang=js& ***! - \********************************************************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _vuex = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n\nvar _maAxios = __webpack_require__(/*! vuejs/api/ma-axios */ \"./web/themes/custom/materiotheme/vuejs/api/ma-axios.js\");\n\nvar _route = _interopRequireDefault(__webpack_require__(/*! vuejs/route */ \"./web/themes/custom/materiotheme/vuejs/route/index.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n//\n//\n//\n//\n//\n//\n//\n//\nvar _default = {\n router: _route.default,\n props: ['id', 'html', 'isfront'],\n data: function data() {\n return {\n home_template_src: null\n };\n },\n beforeMount: function beforeMount() {\n // console.log('MainContent beforeMount this.html', this.html);\n if (!this.home_template_src) {\n // console.log('no home_template_src');\n if (this.html && this.isfront) {\n // if html prop is available and we are landing on home then record it has data\n this.home_template_src = this.html;\n } else {\n // else get it from ajax (e.g. if we didn't load the page from home)\n this.getHomeHtml();\n }\n }\n },\n methods: {\n getHomeHtml: function getHomeHtml() {\n var _this = this;\n\n _maAxios.MA.get('materio_home/ajax/gethome').then(function (_ref) {\n var data = _ref.data;\n // console.log('Home getHomeHtml data', data);\n _this.home_template_src = data.rendered; // record the html src into data\n }).catch(function (error) {\n console.warn('Issue with getHomeHtml', error);\n });\n }\n }\n};\nexports.default = _default;\n\n//# sourceURL=webpack:///./web/themes/custom/materiotheme/vuejs/components/Content/MainContent.vue?./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./web/themes/custom/materiotheme/vuejs/components/Content/Product.vue?vue&type=script&lang=js&": -/*!****************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./web/themes/custom/materiotheme/vuejs/components/Content/Product.vue?vue&type=script&lang=js& ***! - \****************************************************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _restAxios = __webpack_require__(/*! vuejs/api/rest-axios */ \"./web/themes/custom/materiotheme/vuejs/api/rest-axios.js\");\n\nvar _route = _interopRequireDefault(__webpack_require__(/*! vuejs/route */ \"./web/themes/custom/materiotheme/vuejs/route/index.js\"));\n\nvar _vuex = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n\nvar _Modal = _interopRequireDefault(__webpack_require__(/*! vuejs/components/Helper/Modal */ \"./web/themes/custom/materiotheme/vuejs/components/Helper/Modal.vue\"));\n\nvar _LoginRegister = _interopRequireDefault(__webpack_require__(/*! vuejs/components/Helper/LoginRegister */ \"./web/themes/custom/materiotheme/vuejs/components/Helper/LoginRegister.vue\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nvar basePath = drupalSettings.path.baseUrl + drupalSettings.path.pathPrefix;\nvar _default = {\n name: \"Product\",\n router: _route.default,\n props: ['product'],\n data: function data() {\n return {\n quantity: 1,\n showLoginModal: false\n };\n },\n computed: _objectSpread({}, (0, _vuex.mapState)({\n isloggedin: function isloggedin(state) {\n return state.User.isloggedin;\n },\n isAdherent: function isAdherent(state) {\n return state.User.isAdherent;\n },\n csrftoken: function csrftoken(state) {\n return state.User.csrftoken;\n }\n })),\n methods: {\n // ...mapActions({\n // userLogin: 'User/userLogin'\n // }),\n closeModal: function closeModal() {\n this.showLoginModal = false;\n },\n checkaddtocart: function checkaddtocart() {\n console.log('checkaddtocart');\n\n if (!this.isloggedin) {\n // show popup for login or register\n // login or register event will be catched by onLogedin or onRegistered\n this.showLoginModal = true;\n } else {\n // if already logedin directly goes to cart operations\n this.addtocart();\n }\n },\n // event bubbled from modal login form\n onLogedIn: function onLogedIn() {\n console.log('Product: onLogedIn');\n this.addtocart();\n },\n // event bubbled from modal register form\n onRegistered: function onRegistered() {\n console.log('Product: onRegistered');\n this.addtocart();\n },\n getCarts: function getCarts() {\n // this is bugging on stage\n return _restAxios.REST.get(\"/cart?_format=json\", {}, {\n 'X-CSRF-Token': this.csrftoken\n }) // .then(({ data }) => {\n // console.log('current user carts: data', data)\n // })\n .catch(function (error) {\n console.warn('Issue with get cart', error);\n Promise.reject(error);\n });\n },\n deleteCart: function deleteCart(order_id) {\n console.log('deleting cart ', order_id);\n return _restAxios.REST.delete(\"/cart/\".concat(order_id, \"/items?_format=json\")).then(function (_ref) {\n var data = _ref.data;\n console.log(\"product cart \".concat(order_id, \" deleted: data\"), data);\n }).catch(function (error) {\n console.warn(\"Issue with cart \".concat(order_id, \" deleting\"), error);\n Promise.reject(error);\n });\n },\n clearCarts: function clearCarts(data) {\n var promises = []; // clear each cart as a promise\n\n for (var i = 0; i < data.length; i++) {\n promises.push(this.deleteCart(data[i].order_id));\n } // return all the promises as one\n\n\n return Promise.all(promises);\n },\n addtocart: function addtocart() {\n var _this = this;\n\n console.log(\"addtocart\");\n this.getCarts().then(function (_ref2) {\n var data = _ref2.data;\n console.log('current user carts: data', data);\n\n _this.clearCarts(data).then(function () {\n console.log('all carts cleared'); // fill the cart with new product\n\n _restAxios.REST.post(\"/cart/add?_format=json\", [{\n \"purchased_entity_type\": \"commerce_product_variation\",\n \"purchased_entity_id\": _this.product.variation_id,\n \"quantity\": _this.quantity\n }]).then(function (_ref3) {\n var data = _ref3.data;\n console.log('product added to cart: data', data);\n\n _this.closeModal(); // redirect to /cart\n // window.location.href = \"/cart\"\n // TODO: redirect to checkout instead of cart\n\n\n window.location.href = \"/checkout/\".concat(data[0].order_id, \"/order_information\");\n }).catch(function (error) {\n console.warn('Issue with product add to cart', error);\n Promise.reject(error);\n });\n });\n });\n }\n },\n components: {\n Modal: _Modal.default,\n LoginRegister: _LoginRegister.default\n }\n};\nexports.default = _default;\n\n//# sourceURL=webpack:///./web/themes/custom/materiotheme/vuejs/components/Content/Product.vue?./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./web/themes/custom/materiotheme/vuejs/components/Content/Showroom.vue?vue&type=script&lang=js&": -/*!*****************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./web/themes/custom/materiotheme/vuejs/components/Content/Showroom.vue?vue&type=script&lang=js& ***! - \*****************************************************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _jsonAxios = __webpack_require__(/*! vuejs/api/json-axios */ \"./web/themes/custom/materiotheme/vuejs/api/json-axios.js\");\n\nvar _route = _interopRequireDefault(__webpack_require__(/*! vuejs/route */ \"./web/themes/custom/materiotheme/vuejs/route/index.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nvar basePath = drupalSettings.path.baseUrl + drupalSettings.path.pathPrefix;\nvar _default = {\n name: \"Showroom\",\n router: _route.default,\n props: ['item'] // data(){\n // return {\n // alias: this.item.view_node.replace(/^.?\\/showroom\\//g, '')\n // }\n // },\n // methods:{}\n\n};\nexports.default = _default;\n\n//# sourceURL=webpack:///./web/themes/custom/materiotheme/vuejs/components/Content/Showroom.vue?./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./web/themes/custom/materiotheme/vuejs/components/Form/LoginForm.vue?vue&type=script&lang=js&": -/*!***************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./web/themes/custom/materiotheme/vuejs/components/Form/LoginForm.vue?vue&type=script&lang=js& ***! - \***************************************************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _vue = _interopRequireDefault(__webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.js\"));\n\nvar _vuex = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n\nvar _maAxios = __webpack_require__(/*! vuejs/api/ma-axios */ \"./web/themes/custom/materiotheme/vuejs/api/ma-axios.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nvar _default = {\n name: \"LoginForm\",\n data: function data() {\n return {\n form: null,\n mail: null,\n password: null\n };\n },\n methods: _objectSpread({}, (0, _vuex.mapActions)({\n userLogin: 'User/userLogin'\n }), {\n getLoginForm: function getLoginForm() {\n var _this = this;\n\n // Form through ajax is provided by materio_user drupal custom module\n // vuejs attributes a inserted by form alter in same module\n _maAxios.MA.get(\"/materio_user/login_form\").then(function (_ref) {\n var data = _ref.data;\n console.log(\"getLoginForm data\");\n _this.form = _vue.default.compile(data.rendered);\n _this.$options.staticRenderFns = [];\n _this._staticTrees = [];\n\n _this.form.staticRenderFns.map(function (fn) {\n return _this.$options.staticRenderFns.push(fn);\n });\n }).catch(function (error) {\n console.warn('Issue with getLoginForm', error);\n });\n },\n login: function login() {\n var _this2 = this;\n\n this.userLogin({\n mail: this.mail,\n pass: this.password\n }).then(function () {\n console.log('logedin from login component');\n\n _this2.$emit('onLogedIn');\n }).catch(function (error) {\n console.warn('Issue with login from login component', error);\n Promise.reject(error);\n });\n }\n }),\n beforeMount: function beforeMount() {\n if (!this.form) {\n this.getLoginForm();\n }\n },\n mounted: function mounted() {\n // console.log('LoginBlock mounted');\n Drupal.attachBehaviors(this.$el);\n },\n render: function render(h) {\n // console.log('LoginBlock render');\n if (!this.form) {\n // console.log('LoginBlock render NAN');\n return h('span', 'Loading ...');\n } else {\n // console.log('LoginBlock render template');\n return this.form.render.call(this);\n }\n }\n};\nexports.default = _default;\n\n//# sourceURL=webpack:///./web/themes/custom/materiotheme/vuejs/components/Form/LoginForm.vue?./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./web/themes/custom/materiotheme/vuejs/components/Form/RegisterForm.vue?vue&type=script&lang=js&": -/*!******************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./web/themes/custom/materiotheme/vuejs/components/Form/RegisterForm.vue?vue&type=script&lang=js& ***! - \******************************************************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _vue = _interopRequireDefault(__webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.js\"));\n\nvar _vuex = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n\nvar _maAxios = __webpack_require__(/*! vuejs/api/ma-axios */ \"./web/themes/custom/materiotheme/vuejs/api/ma-axios.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nvar _default = {\n name: \"RegisterForm\",\n data: function data() {\n return {\n form: null,\n mail: null,\n pass1: null,\n pass2: null\n };\n },\n methods: _objectSpread({}, (0, _vuex.mapActions)({\n userRegister: 'User/userRegister'\n }), {\n getRegisterForm: function getRegisterForm() {\n var _this = this;\n\n // Form through ajax is provided by materio_user drupal custom module\n // vuejs attributes a inserted by form alter in same module\n _maAxios.MA.get(\"/materio_user/register_form\").then(function (_ref) {\n var data = _ref.data;\n console.log(\"getRegisterForm data\", data);\n _this.form = _vue.default.compile(data.rendered);\n _this.$options.staticRenderFns = [];\n _this._staticTrees = [];\n\n _this.form.staticRenderFns.map(function (fn) {\n return _this.$options.staticRenderFns.push(fn);\n });\n }).catch(function (error) {\n console.warn('Issue with getRegisterForm', error);\n });\n },\n register: function register() {\n var _this2 = this;\n\n console.log('register', this.mail, this.pass1, this.pass2); // TODO: check for identical password\n // TODO: check for valide email\n // TODO: check for unique email\n\n if (this.pass1 === this.pass2) {\n this.userRegister({\n name: this.mail,\n mail: this.mail,\n pass: this.pass1\n }).then(function () {\n console.log('registered from register component');\n\n _this2.$emit('onRegistered');\n }).catch(function (error) {\n console.warn('Issue with register from registerform component', error);\n Promise.reject(error);\n });\n }\n }\n }),\n beforeMount: function beforeMount() {\n if (!this.form) {\n this.getRegisterForm();\n }\n },\n mounted: function mounted() {\n // console.log('LoginBlock mounted');\n Drupal.attachBehaviors(this.$el);\n },\n render: function render(h) {\n // console.log('LoginBlock render');\n if (!this.form) {\n // console.log('LoginBlock render NAN');\n return h('span', 'Loading ...');\n } else {\n // console.log('LoginBlock render template');\n return this.form.render.call(this);\n }\n }\n};\nexports.default = _default;\n\n//# sourceURL=webpack:///./web/themes/custom/materiotheme/vuejs/components/Form/RegisterForm.vue?./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./web/themes/custom/materiotheme/vuejs/components/Form/SearchForm.vue?vue&type=script&lang=js&": -/*!****************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./web/themes/custom/materiotheme/vuejs/components/Form/SearchForm.vue?vue&type=script&lang=js& ***! - \****************************************************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _vue = _interopRequireDefault(__webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.js\"));\n\nvar _route = _interopRequireDefault(__webpack_require__(/*! vuejs/route */ \"./web/themes/custom/materiotheme/vuejs/route/index.js\"));\n\nvar _vuex = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nvar _default = {\n router: _route.default,\n props: ['form'],\n data: function data() {\n return {\n template: null,\n typed: null,\n autocomplete: null // basePath: drupalSettings.path.baseUrl + drupalSettings.path.pathPrefix\n\n };\n },\n computed: _objectSpread({}, (0, _vuex.mapState)({\n keys: function keys(state) {\n return state.Search.keys;\n },\n term: function term(state) {\n return state.Search.term;\n }\n })),\n methods: {\n submit: function submit() {\n console.log(\"search clicked\", this.typed, this.autocomplete); // New search is triggered by Base.vue with router (which will also fill the store)\n\n this.$router.push({\n name: 'base',\n query: {\n keys: this.typed,\n term: this.autocomplete\n }\n }); // this.$router.push({\n // path:`${this.basePath}/base`,\n // query:{keys:this.typed,term:this.autocomplete}\n // })\n },\n onAutoCompleteSelect: function onAutoCompleteSelect(event, ui) {\n event.preventDefault(); // console.log('autoCompleteSelect', event, ui);\n\n this.typed = ui.item.label;\n this.autocomplete = ui.item.value;\n }\n },\n directives: {\n focus: {\n // directive definition\n inserted: function inserted(el) {\n el.focus();\n }\n }\n },\n beforeMount: function beforeMount() {\n var _this = this;\n\n // console.log('SearchForm beforeMount');\n if (this._props.form) {\n // console.log('SearchForm beforeMount if this._props.form ok');\n this.template = _vue.default.compile(this._props.form); // https://github.com/vuejs/vue/issues/9911\n\n this.$options.staticRenderFns = [];\n this._staticTrees = [];\n this.template.staticRenderFns.map(function (fn) {\n return _this.$options.staticRenderFns.push(fn);\n });\n }\n },\n watch: {\n keys: function keys(n, o) {\n console.log('keys changed', n, o);\n this.typed = n;\n },\n term: function term(n, o) {\n console.log('autocomplete changed', n, o);\n this.autocomplete = n;\n }\n },\n created: function created() {\n this.typed = this.keys;\n this.autocomplete = this.term;\n },\n mounted: function mounted() {\n // console.log('SearchForm mounted');\n Drupal.attachBehaviors(this.$el); // get the search input\n\n var $input = this.$el.querySelector('#edit-search'); // // focus on input\n // $input.focus()\n // Catch the jquery ui events for autocmplete widget\n\n jQuery($input).on('autocompleteselect', this.onAutoCompleteSelect);\n },\n render: function render(h) {\n // console.log('searchForm render');\n if (!this.template) {\n return h('span', 'Loading ...');\n } else {\n return this.template.render.call(this);\n }\n }\n};\nexports.default = _default;\n\n//# sourceURL=webpack:///./web/themes/custom/materiotheme/vuejs/components/Form/SearchForm.vue?./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./web/themes/custom/materiotheme/vuejs/components/Helper/LoginRegister.vue?vue&type=script&lang=js&": -/*!*********************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./web/themes/custom/materiotheme/vuejs/components/Helper/LoginRegister.vue?vue&type=script&lang=js& ***! - \*********************************************************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _vuex = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n\nvar _LoginForm = _interopRequireDefault(__webpack_require__(/*! vuejs/components/Form/LoginForm */ \"./web/themes/custom/materiotheme/vuejs/components/Form/LoginForm.vue\"));\n\nvar _RegisterForm = _interopRequireDefault(__webpack_require__(/*! vuejs/components/Form/RegisterForm */ \"./web/themes/custom/materiotheme/vuejs/components/Form/RegisterForm.vue\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nvar _default = {\n name: \"LoginRegister\",\n data: function data() {\n return {\n loginEmail: null,\n password: null,\n registerEmail: null\n };\n },\n methods: _objectSpread({}, (0, _vuex.mapActions)({\n userLogin: 'User/userLogin',\n userRegister: 'User/userRegister'\n }), {\n onLogedIn: function onLogedIn() {\n this.$emit('onLogedIn');\n },\n onRegistered: function onRegistered() {\n this.$emit('onRegistered');\n }\n }),\n components: {\n LoginForm: _LoginForm.default,\n RegisterForm: _RegisterForm.default\n }\n};\nexports.default = _default;\n\n//# sourceURL=webpack:///./web/themes/custom/materiotheme/vuejs/components/Helper/LoginRegister.vue?./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./web/themes/custom/materiotheme/vuejs/components/Helper/Modal.vue?vue&type=script&lang=js&": -/*!*************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./web/themes/custom/materiotheme/vuejs/components/Helper/Modal.vue?vue&type=script&lang=js& ***! - \*************************************************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nvar _default2 = {\n name: \"\",\n props: {\n styles: {\n default: function _default() {\n return {\n width: '500px',\n height: '350px'\n };\n },\n type: Object\n }\n },\n data: function data() {\n return {};\n },\n methods: {\n close: function close() {\n console.log('click close');\n this.$emit('close');\n }\n }\n};\nexports.default = _default2;\n\n//# sourceURL=webpack:///./web/themes/custom/materiotheme/vuejs/components/Helper/Modal.vue?./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./web/themes/custom/materiotheme/vuejs/components/Pages/Article.vue?vue&type=script&lang=js&": -/*!**************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./web/themes/custom/materiotheme/vuejs/components/Pages/Article.vue?vue&type=script&lang=js& ***! - \**************************************************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _route = _interopRequireDefault(__webpack_require__(/*! vuejs/route */ \"./web/themes/custom/materiotheme/vuejs/route/index.js\"));\n\nvar _store = _interopRequireDefault(__webpack_require__(/*! vuejs/store */ \"./web/themes/custom/materiotheme/vuejs/store/index.js\"));\n\nvar _jsonAxios = __webpack_require__(/*! vuejs/api/json-axios */ \"./web/themes/custom/materiotheme/vuejs/api/json-axios.js\");\n\nvar _querystring = _interopRequireDefault(__webpack_require__(/*! querystring */ \"./node_modules/querystring-es3/index.js\"));\n\nvar _Card = _interopRequireDefault(__webpack_require__(/*! vuejs/components/Content/Card */ \"./web/themes/custom/materiotheme/vuejs/components/Content/Card.vue\"));\n\nvar _vuex = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _typeof(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _wrapRegExp(re, groups) { _wrapRegExp = function _wrapRegExp(re, groups) { return new BabelRegExp(re, undefined, groups); }; var _RegExp = _wrapNativeSuper(RegExp); var _super = RegExp.prototype; var _groups = new WeakMap(); function BabelRegExp(re, flags, groups) { var _this = _RegExp.call(this, re, flags); _groups.set(_this, groups || _groups.get(re)); return _this; } _inherits(BabelRegExp, _RegExp); BabelRegExp.prototype.exec = function (str) { var result = _super.exec.call(this, str); if (result) result.groups = buildGroups(result, this); return result; }; BabelRegExp.prototype[Symbol.replace] = function (str, substitution) { if (typeof substitution === \"string\") { var groups = _groups.get(this); return _super[Symbol.replace].call(this, str, substitution.replace(/\\$<([^>]+)>/g, function (_, name) { return \"$\" + groups[name]; })); } else if (typeof substitution === \"function\") { var _this = this; return _super[Symbol.replace].call(this, str, function () { var args = []; args.push.apply(args, arguments); if (_typeof(args[args.length - 1]) !== \"object\") { args.push(buildGroups(args, _this)); } return substitution.apply(this, args); }); } else { return _super[Symbol.replace].call(this, str, substitution); } }; function buildGroups(result, re) { var g = _groups.get(re); return Object.keys(g).reduce(function (groups, name) { groups[name] = result[g[name]]; return groups; }, Object.create(null)); } return _wrapRegExp.apply(this, arguments); }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _wrapNativeSuper(Class) { var _cache = typeof Map === \"function\" ? new Map() : undefined; _wrapNativeSuper = function _wrapNativeSuper(Class) { if (Class === null || !_isNativeFunction(Class)) return Class; if (typeof Class !== \"function\") { throw new TypeError(\"Super expression must either be null or a function\"); } if (typeof _cache !== \"undefined\") { if (_cache.has(Class)) return _cache.get(Class); _cache.set(Class, Wrapper); } function Wrapper() { return _construct(Class, arguments, _getPrototypeOf(this).constructor); } Wrapper.prototype = Object.create(Class.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } }); return _setPrototypeOf(Wrapper, Class); }; return _wrapNativeSuper(Class); }\n\nfunction isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _construct(Parent, args, Class) { if (isNativeReflectConstruct()) { _construct = Reflect.construct; } else { _construct = function _construct(Parent, args, Class) { var a = [null]; a.push.apply(a, args); var Constructor = Function.bind.apply(Parent, a); var instance = new Constructor(); if (Class) _setPrototypeOf(instance, Class.prototype); return instance; }; } return _construct.apply(null, arguments); }\n\nfunction _isNativeFunction(fn) { return Function.toString.call(fn).indexOf(\"[native code]\") !== -1; }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nvar _default = {\n name: \"Article\",\n router: _route.default,\n store: _store.default,\n props: ['item'],\n data: function data() {\n return {\n index: -1,\n prevnext: {},\n uuid: null,\n content: null,\n loading: true,\n lightbox_index: null\n };\n },\n computed: _objectSpread({}, (0, _vuex.mapState)({\n items: function items(state) {\n return state.Blabla.items;\n }\n })),\n created: function created() {\n this.getArticle();\n },\n methods: _objectSpread({}, (0, _vuex.mapActions)({\n getItems: 'Blabla/getItems',\n getItemIndex: 'Blabla/getItemIndex',\n getPrevNextItems: 'Blabla/getPrevNextItems'\n }), {\n getArticle: function getArticle() {\n var _this = this;\n\n console.log(this.$route); // get the article uuid\n\n if (this.$route.query.uuid) {\n // we come from internal link with vuejs\n // directly record uuid\n this.uuid = this.$route.query.uuid;\n } else if (drupalDecoupled.entity_type == 'node' && drupalDecoupled.entity_bundle == 'article') {\n // we landed in an internal page\n // get the uuid from drupalDeclouped, provided by materio_decoupled.module\n this.uuid = drupalDecoupled.entity_uuid;\n }\n\n if (this.uuid) {\n this.loadArticle(); // get the prev next items\n\n if (!this.items.length) {\n // if items list not yet loaded preload them\n this.getItems().then(function () {\n // then get the index\n _this.getIndex();\n });\n } else {\n // or directly get the index\n this.getIndex();\n }\n } else {\n // if for any reason we dont have the uuid\n // redirect to home\n this.$route.replace('home');\n }\n },\n getIndex: function getIndex() {\n var _this2 = this;\n\n console.log(\"Article getIndex\");\n this.getItemIndex(this.uuid).then(function (index) {\n _this2.index = index; // console.log('article index', index, this);\n\n _this2.getPrevNextItems(index).then(function (pn) {\n _this2.prevnext = pn;\n });\n });\n },\n loadArticle: function loadArticle() {\n var _this3 = this;\n\n console.log('loadArticle', this.uuid);\n this.loading = true;\n var params = {\n include: 'field_linked_materials.images,field_showroom,field_tags,field_thesaurus,field_visuel,uid'\n };\n\n var q = _querystring.default.stringify(params);\n\n _jsonAxios.JSONAPI.get(\"node/article/\".concat(this.uuid, \"?\").concat(q)).then(function (_ref) {\n var data = _ref.data;\n console.log('loadArticle data', data);\n\n _this3.parseData(data);\n }).catch(function (error) {\n console.warn('Issue with loadArticle', error);\n Promise.reject(error);\n });\n },\n parseData: function parseData(data) {\n var _this4 = this;\n\n var attrs = data.data.attributes;\n var relations = data.data.relationships;\n console.log('relations', relations);\n var inc = data.included;\n console.log('included', inc);\n this.content = {\n title: attrs.title,\n body: attrs.body.value\n }; // build lightbox array\n // will be filled by videos and field_visuel\n\n this.content.lightbox_items = []; // parse embeded videos pushing it in lightbox\n\n for (var key in attrs.field_video) {\n var videolink = attrs.field_video[key]; // console.log('videolink', videolink);\n\n var provider_regex = _wrapRegExp(/https:\\/\\/(www\\.)?(youtube|vimeo)\\.com\\/.+/, {\n provider: 2\n });\n\n var match = provider_regex.exec(videolink); // console.log('provider', match.groups.provider);\n\n var video_id = null;\n var video_thumb = null;\n\n switch (match.groups.provider) {\n case 'vimeo':\n var vimeo_regex = _wrapRegExp(/https:\\/\\/vimeo\\.com\\/([0-9]+)/, {\n id: 1\n });\n\n video_id = vimeo_regex.exec(videolink).groups.id || null; // TODO: get the vimeo thumb https://coderwall.com/p/fdrdmg/get-a-thumbnail-from-a-vimeo-video\n\n video_thumb = \"http://blogpeda.ac-poitiers.fr/ent-lyc/files/2015/06/Vimeo_icon_block.png\";\n break;\n\n case 'youtube':\n var youtube_regex = _wrapRegExp(/https:\\/\\/(www\\.)?youtube\\.com\\/watch\\?v=(.+)/, {\n id: 2\n });\n\n video_id = youtube_regex.exec(videolink).groups.id || null;\n video_thumb = \"http://img.youtube.com/vi/\" + video_id + \"/0.jpg\";\n break;\n } // console.log('video_id', video_id);\n\n\n this.content.lightbox_items.push({\n src: videolink,\n title: \"\",\n description: \"\",\n thumb: video_thumb\n }); // this.content.videos.push({\n // provider: match.groups.provider,\n // id: video_id,\n // href: videolink\n // });\n } // parse all relationships\n\n\n var _loop = function _loop(_key) {\n // skip loop if the property is from prototype\n if (!relations.hasOwnProperty(_key)) return \"continue\";\n var relation_obj = relations[_key];\n console.log(\"relation\", _key, relation_obj); // console.log('typeof relation_obj.data', typeof relation_obj.data);\n\n if (!relation_obj.data) return \"continue\"; // showroom is unique field so no array in data\n // we parse it here\n\n switch (_key) {\n case 'field_showroom':\n var included = inc.find(function (i) {\n return i.id == relation_obj.data.id;\n }); // console.log('included',included);\n\n _this4.content[_key] = included.attributes;\n break;\n } // skip relation_obj if data is not array\n\n\n if (!Array.isArray(relation_obj.data)) return \"continue\"; // create empty field array\n\n _this4.content[_key] = []; // parse relationship values using included\n\n var field = {}; // loop through all relation items\n\n relation_obj.data.forEach(function (e) {\n // get the included values for each item using id\n var included = inc.find(function (i) {\n return i.id == e.id;\n }); // if we not found an included item skip the item\n\n if (typeof included != 'undefined') {\n // fill the item values\n switch (_key) {\n case 'field_visuel':\n // build the field object (not used for now)\n field = e.meta;\n field.id = e.id;\n field.src = included.attributes.uri.url;\n field.thumb = included.links.article_card_medium.href;\n break;\n\n case 'field_linked_materials':\n field = included.attributes;\n field.id = included.id; // get the linked material included images\n\n field.images = [];\n included.relationships.images.data.forEach(function (img) {\n // console.log('href', img.meta.imageDerivatives.links.card_medium.href);\n if (img.meta.imageDerivatives) {\n field.images.push({\n title: img.meta.title,\n url: img.meta.imageDerivatives.links.card_medium.href\n });\n }\n });\n break;\n\n case 'field_thesaurus':\n case 'field_tags':\n field = included.attributes;\n field.id = included.id;\n break;\n\n default:\n }\n\n _this4.content[_key].push(field);\n }\n });\n };\n\n for (var _key in relations) {\n var _ret = _loop(_key);\n\n if (_ret === \"continue\") continue;\n } // extract first visuel as accroche\n\n\n this.content.image_accroche = this.content.field_visuel.shift(); // fill the lightbox\n\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = this.content.field_visuel[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var visuel = _step.value;\n this.content.lightbox_items.push(visuel);\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n\n console.log('this.content.lightbox_items', this.content.lightbox_items); // update main page title\n\n this.$store.commit('Common/setPagetitle', this.content.title);\n this.loading = false;\n console.log('article.content', this.content);\n },\n onNext: function onNext() {\n // console.log('clicked on next', this.prevnext.next);\n var alias = this.prevnext.next.view_node.replace(/^.?\\/blabla\\//g, '');\n this.$router.push({\n name: \"article\",\n params: {\n alias: alias\n },\n query: {\n uuid: this.prevnext.next.uuid\n }\n });\n },\n onPrev: function onPrev() {\n // console.log('clicked on prev', this.prevnext.next);\n var alias = this.prevnext.prev.view_node.replace(/^.?\\/blabla\\//g, '');\n this.$router.push({\n name: \"article\",\n params: {\n alias: alias\n },\n query: {\n uuid: this.prevnext.prev.uuid\n }\n });\n },\n setLightboxIndex: function setLightboxIndex(index) {\n this.lightbox_index = index;\n }\n }),\n components: {\n Card: _Card.default\n },\n watch: {\n '$route': function $route(to, from) {\n console.log('route change');\n this.getArticle();\n }\n }\n};\nexports.default = _default;\n\n//# sourceURL=webpack:///./web/themes/custom/materiotheme/vuejs/components/Pages/Article.vue?./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./web/themes/custom/materiotheme/vuejs/components/Pages/Base.vue?vue&type=script&lang=js&": -/*!***********************************************************************************************************************************************************************************!*\ - !*** ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./web/themes/custom/materiotheme/vuejs/components/Pages/Base.vue?vue&type=script&lang=js& ***! - \***********************************************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _Card = _interopRequireDefault(__webpack_require__(/*! vuejs/components/Content/Card */ \"./web/themes/custom/materiotheme/vuejs/components/Content/Card.vue\"));\n\nvar _vuex = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nvar _default = {\n name: \"Base\",\n data: function data() {\n return {\n pagetitle: \"Base\" // searchinfos: null\n\n };\n },\n computed: _objectSpread({}, (0, _vuex.mapState)({\n items: function items(state) {\n return state.Search.items;\n },\n searchinfos: function searchinfos(state) {\n return state.Search.infos;\n },\n count: function count(state) {\n return state.Search.count;\n },\n limit: function limit(state) {\n return state.Search.limit;\n }\n })),\n methods: _objectSpread({}, (0, _vuex.mapActions)({\n newSearch: 'Search/newSearch',\n nextPage: 'Search/nextPage'\n })),\n created: function created() {\n // at first page load or first route entering launch a search if params exists in url query\n console.log('Base created() location', window.location);\n var params = new URLSearchParams(window.location.search);\n\n if (params.has('keys') || params.has('term')) {\n this.$store.commit('Search/setKeys', params.get('keys'));\n this.$store.commit('Search/setTerm', params.get('term'));\n this.pagetitle = params.get('keys');\n this.newSearch();\n }\n },\n beforeRouteUpdate: function beforeRouteUpdate(to, from, next) {\n // when query change launch a new search\n console.log('Base beforeRouteUpdate', to, from, next);\n this.$store.commit('Search/setKeys', to.query.keys);\n this.$store.commit('Search/setTerm', to.query.term);\n this.pagetitle = to.query.keys;\n this.newSearch();\n next();\n },\n components: {\n Card: _Card.default\n }\n};\nexports.default = _default;\n\n//# sourceURL=webpack:///./web/themes/custom/materiotheme/vuejs/components/Pages/Base.vue?./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./web/themes/custom/materiotheme/vuejs/components/Pages/Blabla.vue?vue&type=script&lang=js&": -/*!*************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./web/themes/custom/materiotheme/vuejs/components/Pages/Blabla.vue?vue&type=script&lang=js& ***! - \*************************************************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _ArticleCard = _interopRequireDefault(__webpack_require__(/*! vuejs/components/Content/ArticleCard */ \"./web/themes/custom/materiotheme/vuejs/components/Content/ArticleCard.vue\"));\n\nvar _vuex = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nvar _default = {\n name: \"Blabla\",\n // data() {\n // return {\n // items:[],\n // page:0\n // }\n // },\n computed: _objectSpread({}, (0, _vuex.mapState)({\n items: function items(state) {\n return state.Blabla.items;\n }\n })),\n created: function created() {\n if (!this.items.length) this.getItems();\n },\n methods: _objectSpread({}, (0, _vuex.mapActions)({\n getItems: 'Blabla/getItems',\n nextPage: 'Blabla/nextPage'\n })),\n components: {\n ArticleCard: _ArticleCard.default\n }\n};\nexports.default = _default;\n\n//# sourceURL=webpack:///./web/themes/custom/materiotheme/vuejs/components/Pages/Blabla.vue?./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./web/themes/custom/materiotheme/vuejs/components/Pages/Home.vue?vue&type=script&lang=js&": -/*!***********************************************************************************************************************************************************************************!*\ - !*** ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./web/themes/custom/materiotheme/vuejs/components/Pages/Home.vue?vue&type=script&lang=js& ***! - \***********************************************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _vue = _interopRequireDefault(__webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar _default = {\n props: ['html'],\n // get the html from parent with props\n data: function data() {\n return {\n template: null // compiled template from html used in render\n\n };\n },\n beforeMount: function beforeMount() {\n var _this = this;\n\n // console.log('Home beforeMount');\n // compile the html src (coming from parent with props or from ajax call)\n if (this.html) {\n // console.log('html', this.html);\n this.template = _vue.default.compile(this.html);\n this.$options.staticRenderFns = [];\n this._staticTrees = [];\n this.template.staticRenderFns.map(function (fn) {\n return _this.$options.staticRenderFns.push(fn);\n });\n }\n },\n render: function render(h) {\n if (!this.template) {\n return h('span', 'Loading ...');\n } else {\n return this.template.render.call(this);\n }\n }\n};\nexports.default = _default;\n\n//# sourceURL=webpack:///./web/themes/custom/materiotheme/vuejs/components/Pages/Home.vue?./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./web/themes/custom/materiotheme/vuejs/components/Pages/Pricing.vue?vue&type=script&lang=js&": -/*!**************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./web/themes/custom/materiotheme/vuejs/components/Pages/Pricing.vue?vue&type=script&lang=js& ***! - \**************************************************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _Product = _interopRequireDefault(__webpack_require__(/*! vuejs/components/Content/Product */ \"./web/themes/custom/materiotheme/vuejs/components/Content/Product.vue\"));\n\nvar _vuex = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nvar _default = {\n name: \"Pricing\",\n // data() {\n // return {\n // items:[],\n // page:0\n // }\n // },\n computed: _objectSpread({}, (0, _vuex.mapState)({\n pricing: function pricing(state) {\n return state.Pages.pricing;\n }\n })),\n created: function created() {\n if (!this.pricing.length) this.getPricing();\n },\n methods: _objectSpread({}, (0, _vuex.mapActions)({\n getPricing: 'Pages/getPricing'\n })),\n components: {\n Product: _Product.default\n }\n};\nexports.default = _default;\n\n//# sourceURL=webpack:///./web/themes/custom/materiotheme/vuejs/components/Pages/Pricing.vue?./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./web/themes/custom/materiotheme/vuejs/components/Pages/Showrooms.vue?vue&type=script&lang=js&": -/*!****************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./web/themes/custom/materiotheme/vuejs/components/Pages/Showrooms.vue?vue&type=script&lang=js& ***! - \****************************************************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _Showroom = _interopRequireDefault(__webpack_require__(/*! vuejs/components/Content/Showroom */ \"./web/themes/custom/materiotheme/vuejs/components/Content/Showroom.vue\"));\n\nvar _vuex = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nvar _default = {\n name: \"Showrooms\",\n // data() {\n // return {\n // items:[],\n // page:0\n // }\n // },\n computed: _objectSpread({}, (0, _vuex.mapState)({\n items: function items(state) {\n return state.Showrooms.items;\n }\n })),\n created: function created() {\n if (!this.items.length) this.getItems();\n },\n methods: _objectSpread({}, (0, _vuex.mapActions)({\n getItems: 'Showrooms/getItems'\n })),\n components: {\n Showroom: _Showroom.default\n }\n};\nexports.default = _default;\n\n//# sourceURL=webpack:///./web/themes/custom/materiotheme/vuejs/components/Pages/Showrooms.vue?./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./web/themes/custom/materiotheme/vuejs/components/User/UserFlags.vue?vue&type=script&lang=js&": -/*!***************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./web/themes/custom/materiotheme/vuejs/components/User/UserFlags.vue?vue&type=script&lang=js& ***! - \***************************************************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _vuex = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nvar _default = {\n name: \"userFlags\",\n data: function data() {\n return {\n new_folder_name: \"\",\n is_creating_folder: false,\n is_deleting_folder: false\n };\n },\n computed: _objectSpread({}, (0, _vuex.mapState)({\n flagcolls: function flagcolls(state) {\n return state.User.flagcolls;\n }\n }), {\n addFlagBtnClassObj: function addFlagBtnClassObj() {\n return {\n 'mdi-plus-circle-outline': !this.is_creating_folder,\n 'mdi-loading': this.is_creating_folder,\n active: this.new_folder_name.length > 4 && !this.is_creating_folder,\n loading: this.is_creating_folder\n };\n },\n flagDeletingClassObj: function flagDeletingClassObj() {\n return {\n 'mdi-trash-can-outline': !this.is_deleting_folder,\n 'mdi-loading': this.is_deleting_folder,\n 'loading': this.is_deleting_folder\n };\n }\n }),\n methods: _objectSpread({}, (0, _vuex.mapActions)({\n createFlagColl: 'User/createFlagColl',\n deleteFlagColl: 'User/deleteFlagColl'\n }), {\n onCreateFlagColl: function onCreateFlagColl() {\n var _this = this;\n\n console.log(\"UserFlags onCreateFlagColl\", this.new_folder_name);\n this.is_creating_folder = true;\n this.createFlagColl(this.new_folder_name).then(function (data) {\n console.log(\"onCreateFlagColl then\", data);\n _this.new_folder_name = \"\";\n _this.is_creating_folder = false;\n });\n },\n onDeleteFlagColl: function onDeleteFlagColl(e) {\n var _this2 = this;\n\n var flagcollid = e.target.getAttribute('flagcollid');\n console.log(\"UserFlags onDeleteFlagColl\", flagcollid);\n this.is_deleting_folder = flagcollid;\n this.deleteFlagColl(flagcollid).then(function () {\n // console.log(\"onDeleteFlagColl then\", data);\n _this2.is_deleting_folder = false;\n });\n }\n })\n};\nexports.default = _default;\n\n//# sourceURL=webpack:///./web/themes/custom/materiotheme/vuejs/components/User/UserFlags.vue?./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./web/themes/custom/materiotheme/vuejs/components/User/UserTools.vue?vue&type=script&lang=js&": -/*!***************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./web/themes/custom/materiotheme/vuejs/components/User/UserTools.vue?vue&type=script&lang=js& ***! - \***************************************************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _vuex = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n\nvar _UserFlags = _interopRequireDefault(__webpack_require__(/*! vuejs/components/User/UserFlags */ \"./web/themes/custom/materiotheme/vuejs/components/User/UserFlags.vue\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nvar _default = {\n components: {\n UserFlags: _UserFlags.default\n },\n // data () {\n // return {\n // mail: \"Hello User!\"\n // }\n // },\n computed: _objectSpread({}, (0, _vuex.mapState)({\n mail: function mail(state) {\n return state.User.mail;\n },\n isAdmin: function isAdmin(state) {\n return state.User.isAdmin;\n },\n flags: function flags(state) {\n return state.User.flags;\n }\n })),\n methods: _objectSpread({}, (0, _vuex.mapActions)({\n userLogout: 'User/userLogout'\n }), {\n onLogout: function onLogout() {\n console.log(\"UserTools onLogout\");\n this.userLogout();\n }\n })\n};\nexports.default = _default;\n\n//# sourceURL=webpack:///./web/themes/custom/materiotheme/vuejs/components/User/UserTools.vue?./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/is-buffer/index.js": -/*!*****************************************!*\ - !*** ./node_modules/is-buffer/index.js ***! - \*****************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/*!\n * Determine if an object is a Buffer\n *\n * @author Feross Aboukhadijeh \n * @license MIT\n */\nmodule.exports = function isBuffer(obj) {\n return obj != null && obj.constructor != null && typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj);\n};\n\n//# sourceURL=webpack:///./node_modules/is-buffer/index.js?"); - -/***/ }), - -/***/ "./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib/index.js?!./web/themes/custom/materiotheme/vuejs/components/Block/LoginBlock.vue?vue&type=style&index=0&id=08f975e8&lang=scss&scoped=true&": -/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib??vue-loader-options!./web/themes/custom/materiotheme/vuejs/components/Block/LoginBlock.vue?vue&type=style&index=0&id=08f975e8&lang=scss&scoped=true& ***! - \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("// extracted by mini-css-extract-plugin\n\n//# sourceURL=webpack:///./web/themes/custom/materiotheme/vuejs/components/Block/LoginBlock.vue?./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib/index.js?!./web/themes/custom/materiotheme/vuejs/components/Form/LoginForm.vue?vue&type=style&index=0&id=7bb795f8&lang=scss&scoped=true&": -/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib??vue-loader-options!./web/themes/custom/materiotheme/vuejs/components/Form/LoginForm.vue?vue&type=style&index=0&id=7bb795f8&lang=scss&scoped=true& ***! - \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("// extracted by mini-css-extract-plugin\n\n//# sourceURL=webpack:///./web/themes/custom/materiotheme/vuejs/components/Form/LoginForm.vue?./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib/index.js?!./web/themes/custom/materiotheme/vuejs/components/Form/RegisterForm.vue?vue&type=style&index=0&id=2acc57a0&lang=scss&scoped=true&": -/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib??vue-loader-options!./web/themes/custom/materiotheme/vuejs/components/Form/RegisterForm.vue?vue&type=style&index=0&id=2acc57a0&lang=scss&scoped=true& ***! - \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("// extracted by mini-css-extract-plugin\n\n//# sourceURL=webpack:///./web/themes/custom/materiotheme/vuejs/components/Form/RegisterForm.vue?./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib/index.js?!./web/themes/custom/materiotheme/vuejs/components/Helper/LoginRegister.vue?vue&type=style&index=0&id=340aa566&lang=scss&scoped=true&": -/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib??vue-loader-options!./web/themes/custom/materiotheme/vuejs/components/Helper/LoginRegister.vue?vue&type=style&index=0&id=340aa566&lang=scss&scoped=true& ***! - \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("// extracted by mini-css-extract-plugin\n\n//# sourceURL=webpack:///./web/themes/custom/materiotheme/vuejs/components/Helper/LoginRegister.vue?./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib/index.js?!./web/themes/custom/materiotheme/vuejs/components/Helper/Modal.vue?vue&type=style&index=0&id=b98ce164&lang=scss&scoped=true&": -/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib??vue-loader-options!./web/themes/custom/materiotheme/vuejs/components/Helper/Modal.vue?vue&type=style&index=0&id=b98ce164&lang=scss&scoped=true& ***! - \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("// extracted by mini-css-extract-plugin\n\n//# sourceURL=webpack:///./web/themes/custom/materiotheme/vuejs/components/Helper/Modal.vue?./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/vue-loader/lib/index.js?!./web/themes/custom/materiotheme/vuejs/components/User/UserTools.vue?vue&type=style&index=0&id=4e9a834e&lang=css&scoped=true&": -/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/vue-loader/lib??vue-loader-options!./web/themes/custom/materiotheme/vuejs/components/User/UserTools.vue?vue&type=style&index=0&id=4e9a834e&lang=css&scoped=true& ***! - \********************************************************************************************************************************************************************************************************************************************************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("// extracted by mini-css-extract-plugin\n\n//# sourceURL=webpack:///./web/themes/custom/materiotheme/vuejs/components/User/UserTools.vue?./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/vue-loader/lib??vue-loader-options"); - -/***/ }), - -/***/ "./node_modules/process/browser.js": -/*!*****************************************!*\ - !*** ./node_modules/process/browser.js ***! - \*****************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("// shim for using process in browser\nvar process = module.exports = {}; // cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\n\nfunction defaultClearTimeout() {\n throw new Error('clearTimeout has not been defined');\n}\n\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n})();\n\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n } // if setTimeout wasn't available but was latter defined\n\n\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch (e) {\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch (e) {\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n}\n\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n } // if clearTimeout wasn't available but was latter defined\n\n\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e) {\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e) {\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n}\n\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n\n draining = false;\n\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n var len = queue.length;\n\n while (len) {\n currentQueue = queue;\n queue = [];\n\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n\n queueIndex = -1;\n len = queue.length;\n }\n\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n\n queue.push(new Item(fun, args));\n\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n}; // v8 likes predictible objects\n\n\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\n\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\n\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\n\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) {\n return [];\n};\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () {\n return '/';\n};\n\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\n\nprocess.umask = function () {\n return 0;\n};\n\n//# sourceURL=webpack:///./node_modules/process/browser.js?"); - -/***/ }), - -/***/ "./node_modules/querystring-es3/decode.js": -/*!************************************************!*\ - !*** ./node_modules/querystring-es3/decode.js ***! - \************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n // If obj.hasOwnProperty has been overridden, then calling\n// obj.hasOwnProperty(prop) will break.\n// See: https://github.com/joyent/node/issues/1707\n\nfunction hasOwnProperty(obj, prop) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n}\n\nmodule.exports = function (qs, sep, eq, options) {\n sep = sep || '&';\n eq = eq || '=';\n var obj = {};\n\n if (typeof qs !== 'string' || qs.length === 0) {\n return obj;\n }\n\n var regexp = /\\+/g;\n qs = qs.split(sep);\n var maxKeys = 1000;\n\n if (options && typeof options.maxKeys === 'number') {\n maxKeys = options.maxKeys;\n }\n\n var len = qs.length; // maxKeys <= 0 means that we should not limit keys count\n\n if (maxKeys > 0 && len > maxKeys) {\n len = maxKeys;\n }\n\n for (var i = 0; i < len; ++i) {\n var x = qs[i].replace(regexp, '%20'),\n idx = x.indexOf(eq),\n kstr,\n vstr,\n k,\n v;\n\n if (idx >= 0) {\n kstr = x.substr(0, idx);\n vstr = x.substr(idx + 1);\n } else {\n kstr = x;\n vstr = '';\n }\n\n k = decodeURIComponent(kstr);\n v = decodeURIComponent(vstr);\n\n if (!hasOwnProperty(obj, k)) {\n obj[k] = v;\n } else if (isArray(obj[k])) {\n obj[k].push(v);\n } else {\n obj[k] = [obj[k], v];\n }\n }\n\n return obj;\n};\n\nvar isArray = Array.isArray || function (xs) {\n return Object.prototype.toString.call(xs) === '[object Array]';\n};\n\n//# sourceURL=webpack:///./node_modules/querystring-es3/decode.js?"); - -/***/ }), - -/***/ "./node_modules/querystring-es3/encode.js": -/*!************************************************!*\ - !*** ./node_modules/querystring-es3/encode.js ***! - \************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\nvar stringifyPrimitive = function (v) {\n switch (typeof v) {\n case 'string':\n return v;\n\n case 'boolean':\n return v ? 'true' : 'false';\n\n case 'number':\n return isFinite(v) ? v : '';\n\n default:\n return '';\n }\n};\n\nmodule.exports = function (obj, sep, eq, name) {\n sep = sep || '&';\n eq = eq || '=';\n\n if (obj === null) {\n obj = undefined;\n }\n\n if (typeof obj === 'object') {\n return map(objectKeys(obj), function (k) {\n var ks = encodeURIComponent(stringifyPrimitive(k)) + eq;\n\n if (isArray(obj[k])) {\n return map(obj[k], function (v) {\n return ks + encodeURIComponent(stringifyPrimitive(v));\n }).join(sep);\n } else {\n return ks + encodeURIComponent(stringifyPrimitive(obj[k]));\n }\n }).join(sep);\n }\n\n if (!name) return '';\n return encodeURIComponent(stringifyPrimitive(name)) + eq + encodeURIComponent(stringifyPrimitive(obj));\n};\n\nvar isArray = Array.isArray || function (xs) {\n return Object.prototype.toString.call(xs) === '[object Array]';\n};\n\nfunction map(xs, f) {\n if (xs.map) return xs.map(f);\n var res = [];\n\n for (var i = 0; i < xs.length; i++) {\n res.push(f(xs[i], i));\n }\n\n return res;\n}\n\nvar objectKeys = Object.keys || function (obj) {\n var res = [];\n\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) res.push(key);\n }\n\n return res;\n};\n\n//# sourceURL=webpack:///./node_modules/querystring-es3/encode.js?"); - -/***/ }), - -/***/ "./node_modules/querystring-es3/index.js": -/*!***********************************************!*\ - !*** ./node_modules/querystring-es3/index.js ***! - \***********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nexports.decode = exports.parse = __webpack_require__(/*! ./decode */ \"./node_modules/querystring-es3/decode.js\");\nexports.encode = exports.stringify = __webpack_require__(/*! ./encode */ \"./node_modules/querystring-es3/encode.js\");\n\n//# sourceURL=webpack:///./node_modules/querystring-es3/index.js?"); - -/***/ }), - -/***/ "./node_modules/setimmediate/setImmediate.js": -/*!***************************************************!*\ - !*** ./node_modules/setimmediate/setImmediate.js ***! - \***************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("/* WEBPACK VAR INJECTION */(function(global, process) {(function (global, undefined) {\n \"use strict\";\n\n if (global.setImmediate) {\n return;\n }\n\n var nextHandle = 1; // Spec says greater than zero\n\n var tasksByHandle = {};\n var currentlyRunningATask = false;\n var doc = global.document;\n var registerImmediate;\n\n function setImmediate(callback) {\n // Callback can either be a function or a string\n if (typeof callback !== \"function\") {\n callback = new Function(\"\" + callback);\n } // Copy function arguments\n\n\n var args = new Array(arguments.length - 1);\n\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i + 1];\n } // Store and register the task\n\n\n var task = {\n callback: callback,\n args: args\n };\n tasksByHandle[nextHandle] = task;\n registerImmediate(nextHandle);\n return nextHandle++;\n }\n\n function clearImmediate(handle) {\n delete tasksByHandle[handle];\n }\n\n function run(task) {\n var callback = task.callback;\n var args = task.args;\n\n switch (args.length) {\n case 0:\n callback();\n break;\n\n case 1:\n callback(args[0]);\n break;\n\n case 2:\n callback(args[0], args[1]);\n break;\n\n case 3:\n callback(args[0], args[1], args[2]);\n break;\n\n default:\n callback.apply(undefined, args);\n break;\n }\n }\n\n function runIfPresent(handle) {\n // From the spec: \"Wait until any invocations of this algorithm started before this one have completed.\"\n // So if we're currently running a task, we'll need to delay this invocation.\n if (currentlyRunningATask) {\n // Delay by doing a setTimeout. setImmediate was tried instead, but in Firefox 7 it generated a\n // \"too much recursion\" error.\n setTimeout(runIfPresent, 0, handle);\n } else {\n var task = tasksByHandle[handle];\n\n if (task) {\n currentlyRunningATask = true;\n\n try {\n run(task);\n } finally {\n clearImmediate(handle);\n currentlyRunningATask = false;\n }\n }\n }\n }\n\n function installNextTickImplementation() {\n registerImmediate = function (handle) {\n process.nextTick(function () {\n runIfPresent(handle);\n });\n };\n }\n\n function canUsePostMessage() {\n // The test against `importScripts` prevents this implementation from being installed inside a web worker,\n // where `global.postMessage` means something completely different and can't be used for this purpose.\n if (global.postMessage && !global.importScripts) {\n var postMessageIsAsynchronous = true;\n var oldOnMessage = global.onmessage;\n\n global.onmessage = function () {\n postMessageIsAsynchronous = false;\n };\n\n global.postMessage(\"\", \"*\");\n global.onmessage = oldOnMessage;\n return postMessageIsAsynchronous;\n }\n }\n\n function installPostMessageImplementation() {\n // Installs an event handler on `global` for the `message` event: see\n // * https://developer.mozilla.org/en/DOM/window.postMessage\n // * http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html#crossDocumentMessages\n var messagePrefix = \"setImmediate$\" + Math.random() + \"$\";\n\n var onGlobalMessage = function (event) {\n if (event.source === global && typeof event.data === \"string\" && event.data.indexOf(messagePrefix) === 0) {\n runIfPresent(+event.data.slice(messagePrefix.length));\n }\n };\n\n if (global.addEventListener) {\n global.addEventListener(\"message\", onGlobalMessage, false);\n } else {\n global.attachEvent(\"onmessage\", onGlobalMessage);\n }\n\n registerImmediate = function (handle) {\n global.postMessage(messagePrefix + handle, \"*\");\n };\n }\n\n function installMessageChannelImplementation() {\n var channel = new MessageChannel();\n\n channel.port1.onmessage = function (event) {\n var handle = event.data;\n runIfPresent(handle);\n };\n\n registerImmediate = function (handle) {\n channel.port2.postMessage(handle);\n };\n }\n\n function installReadyStateChangeImplementation() {\n var html = doc.documentElement;\n\n registerImmediate = function (handle) {\n // Create a