website-utilities 1.0.285 → 1.0.286
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{font → fonts}/glyphicons-halflings/glyphicons-halflings-regular.woff +0 -0
- package/{font → fonts}/glyphicons-halflings/glyphicons-halflings-regular.woff2 +0 -0
- package/{font → fonts}/glyphicons-halflings/glyphicons-halflings-social-regular.woff +0 -0
- package/{font → fonts}/glyphicons-halflings/glyphicons-halflings-social-regular.woff2 +0 -0
- package/{font → fonts}/open-sans/bold/open-sans-bold.woff +0 -0
- package/{font → fonts}/open-sans/bold/open-sans-bold.woff2 +0 -0
- package/{font → fonts}/open-sans/bold-italic/open-sans-bold-italic.woff +0 -0
- package/{font → fonts}/open-sans/bold-italic/open-sans-bold-italic.woff2 +0 -0
- package/{font → fonts}/open-sans/extra-bold/open-sans-extra-bold.woff +0 -0
- package/{font → fonts}/open-sans/extra-bold/open-sans-extra-bold.woff2 +0 -0
- package/{font → fonts}/open-sans/extra-bold-italic/open-sans-extra-bold-italic.woff +0 -0
- package/{font → fonts}/open-sans/extra-bold-italic/open-sans-extra-bold-italic.woff2 +0 -0
- package/{font → fonts}/open-sans/italic/open-sans-italic.woff +0 -0
- package/{font → fonts}/open-sans/italic/open-sans-italic.woff2 +0 -0
- package/{font → fonts}/open-sans/light/open-sans-light.woff +0 -0
- package/{font → fonts}/open-sans/light/open-sans-light.woff2 +0 -0
- package/{font → fonts}/open-sans/light-italic/open-sans-light-italic.woff +0 -0
- package/{font → fonts}/open-sans/light-italic/open-sans-light-italic.woff2 +0 -0
- package/{font → fonts}/open-sans/regular/open-sans-regular.woff +0 -0
- package/{font → fonts}/open-sans/regular/open-sans-regular.woff2 +0 -0
- package/{font → fonts}/open-sans/semi-bold/open-sans-semi-bold.woff +0 -0
- package/{font → fonts}/open-sans/semi-bold/open-sans-semi-bold.woff2 +0 -0
- package/{font → fonts}/open-sans/semi-bold-italic/open-sans-semi-bold-italic.woff +0 -0
- package/{font → fonts}/open-sans/semi-bold-italic/open-sans-semi-bold-italic.woff2 +0 -0
- package/{font → fonts}/open-sans-condensed/condensed-bold/open-sans-condensed-bold.woff +0 -0
- package/{font → fonts}/open-sans-condensed/condensed-bold/open-sans-condensed-bold.woff2 +0 -0
- package/{font → fonts}/open-sans-condensed/condensed-light/open-sans-condensed-light.woff +0 -0
- package/{font → fonts}/open-sans-condensed/condensed-light/open-sans-condensed-light.woff2 +0 -0
- package/{font → fonts}/open-sans-condensed/condensed-light-italic/open-sans-condensed-light-italic.woff +0 -0
- package/{font → fonts}/open-sans-condensed/condensed-light-italic/open-sans-condensed-light-italic.woff2 +0 -0
- package/{font.compiled → fonts.compiled}/glyphicons-halflings-regular.woff +0 -0
- package/{font.compiled → fonts.compiled}/glyphicons-halflings-regular.woff2 +0 -0
- package/{font.compiled → fonts.compiled}/glyphicons-halflings-social-regular.woff +0 -0
- package/{font.compiled → fonts.compiled}/glyphicons-halflings-social-regular.woff2 +0 -0
- package/{font.compiled → fonts.compiled}/open-sans-bold-italic.woff +0 -0
- package/{font.compiled → fonts.compiled}/open-sans-bold-italic.woff2 +0 -0
- package/{font.compiled → fonts.compiled}/open-sans-bold.woff +0 -0
- package/{font.compiled → fonts.compiled}/open-sans-bold.woff2 +0 -0
- package/{font.compiled → fonts.compiled}/open-sans-condensed-bold.woff +0 -0
- package/{font.compiled → fonts.compiled}/open-sans-condensed-bold.woff2 +0 -0
- package/{font.compiled → fonts.compiled}/open-sans-condensed-light-italic.woff +0 -0
- package/{font.compiled → fonts.compiled}/open-sans-condensed-light-italic.woff2 +0 -0
- package/{font.compiled → fonts.compiled}/open-sans-condensed-light.woff +0 -0
- package/{font.compiled → fonts.compiled}/open-sans-condensed-light.woff2 +0 -0
- package/{font.compiled → fonts.compiled}/open-sans-extra-bold-italic.woff +0 -0
- package/{font.compiled → fonts.compiled}/open-sans-extra-bold-italic.woff2 +0 -0
- package/{font.compiled → fonts.compiled}/open-sans-extra-bold.woff +0 -0
- package/{font.compiled → fonts.compiled}/open-sans-extra-bold.woff2 +0 -0
- package/{font.compiled → fonts.compiled}/open-sans-italic.woff +0 -0
- package/{font.compiled → fonts.compiled}/open-sans-italic.woff2 +0 -0
- package/{font.compiled → fonts.compiled}/open-sans-light-italic.woff +0 -0
- package/{font.compiled → fonts.compiled}/open-sans-light-italic.woff2 +0 -0
- package/{font.compiled → fonts.compiled}/open-sans-light.woff +0 -0
- package/{font.compiled → fonts.compiled}/open-sans-light.woff2 +0 -0
- package/{font.compiled → fonts.compiled}/open-sans-regular.woff +0 -0
- package/{font.compiled → fonts.compiled}/open-sans-regular.woff2 +0 -0
- package/{font.compiled → fonts.compiled}/open-sans-semi-bold-italic.woff +0 -0
- package/{font.compiled → fonts.compiled}/open-sans-semi-bold-italic.woff2 +0 -0
- package/{font.compiled → fonts.compiled}/open-sans-semi-bold.woff +0 -0
- package/{font.compiled → fonts.compiled}/open-sans-semi-bold.woff2 +0 -0
- package/index.compiled.css +1 -2
- package/index.js +1 -1
- package/package.json +33 -14
- package/type.d.ts +1 -0
- package/deploy.js +0 -3
- package/index.css +0 -510
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/index.compiled.css
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
/* !/usr/bin/env css
|
|
2
|
-
-*- coding: utf-8 -*- */@font-face{font-family:open-sans;src:url(font.compiled/open-sans-light.woff2?md5=ded2efe0682deca1e711) format("woff2"),url(font.compiled/open-sans-light.woff?md5=5f5617ab2d7f7ae9d8a5) format("woff");font-weight:300;font-style:normal}@font-face{font-family:open-sans;src:url(font.compiled/open-sans-light-italic.woff2?md5=2c80dd810ca80ed7441f) format("woff2"),url(font.compiled/open-sans-light-italic.woff?md5=c246bd09361a014795ae) format("woff");font-weight:300;font-style:italic}@font-face{font-family:open-sans;src:url(font.compiled/open-sans-regular.woff2?md5=6399f5b3b46842462174) format("woff2"),url(font.compiled/open-sans-regular.woff?md5=d02e6dd3b1bbbc101343) format("woff");font-weight:400;font-style:normal}@font-face{font-family:open-sans;src:url(font.compiled/open-sans-italic.woff2?md5=473eeb886be6660b9a86) format("woff2"),url(font.compiled/open-sans-italic.woff?md5=d78071284e62fcd478af) format("woff");font-weight:400;font-style:italic}@font-face{font-family:open-sans;src:url(font.compiled/open-sans-semi-bold.woff2?md5=ae33326b599cfd071cfc) format("woff2"),url(font.compiled/open-sans-semi-bold.woff?md5=f90df377945fccdef88f) format("woff");font-weight:600;font-style:normal}@font-face{font-family:open-sans;src:url(font.compiled/open-sans-semi-bold-italic.woff2?md5=0f73259fcbe5b12157ce) format("woff2"),url(font.compiled/open-sans-semi-bold-italic.woff?md5=1e25c8a28fdf9a87ff38) format("woff");font-weight:600;font-style:italic}@font-face{font-family:open-sans;src:url(font.compiled/open-sans-bold.woff2?md5=50cc1a94a36420ff2bcd) format("woff2"),url(font.compiled/open-sans-bold.woff?md5=40084899144c3b75bcdd) format("woff");font-weight:700;font-style:normal}@font-face{font-family:open-sans;src:url(font.compiled/open-sans-bold-italic.woff2?md5=89b1196ae05d10f50fbc) format("woff2"),url(font.compiled/open-sans-bold-italic.woff?md5=41c0cadf1dd0548086ae) format("woff");font-weight:700;font-style:italic}@font-face{font-family:open-sans;src:url(font.compiled/open-sans-extra-bold.woff2?md5=6ef03d4820d032580837) format("woff2"),url(font.compiled/open-sans-extra-bold.woff?md5=e640a97717802cc57574) format("woff");font-weight:800;font-style:normal}@font-face{font-family:open-sans;src:url(font.compiled/open-sans-extra-bold-italic.woff2?md5=b3979a57edfd488799d4) format("woff2"),url(font.compiled/open-sans-extra-bold-italic.woff?md5=adb47ef059f0de41b7d4) format("woff");font-weight:800;font-style:italic}@font-face{font-family:open-sans-condensed;src:url(font.compiled/open-sans-condensed-bold.woff2?md5=317baafbc9215400181a) format("woff2"),url(font.compiled/open-sans-condensed-bold.woff?md5=c8139621e15d27cd8855) format("woff");font-weight:700;font-style:normal}@font-face{font-family:open-sans-condensed;src:url(font.compiled/open-sans-condensed-light.woff2?md5=f517762310d125f06126) format("woff2"),url(font.compiled/open-sans-condensed-light.woff?md5=607164d33679b5de46cf) format("woff");font-weight:300;font-style:normal}@font-face{font-family:open-sans-condensed;src:url(font.compiled/open-sans-condensed-light-italic.woff2?md5=796dc8ebbf7a438a6764) format("woff2"),url(font.compiled/open-sans-condensed-light-italic.woff?md5=f3677299a479a3de0867) format("woff");font-weight:300;font-style:italic}@font-face{font-family:Glyphicons Halflings;src:url(font.compiled/glyphicons-halflings-regular.woff2?md5=fc23729e157a16266ab6) format("woff2"),url(font.compiled/glyphicons-halflings-regular.woff?md5=fa2772327f55d8198301) format("woff")}@font-face{font-family:Glyphicons Social Regular;src:url(font.compiled/glyphicons-halflings-social-regular.woff2?md5=77ecb63f7ef6ad236696) format("woff2"),url(font.compiled/glyphicons-halflings-social-regular.woff?md5=b8cd97250d7a149a69ca) format("woff")}.wu{--default-space:20px;--extra-extra-small-width:360px;--extra-small-width:500px;--small-width:768px;--medium-width:992px;--large-width:1200px;@custom-media --extra-extra-small (min-width: 360px);@custom-media --extra-small (min-width: 500px);@custom-media --small (min-width: 768px);@custom-media --medium (min-width: 992px);@custom-media --large (min-width: 1200px);--background-color:#fff;--disabled-color:#eee;--font-color:#555;--border-color:#ccc;--font-family:"Open Sans",open-sans,sans-serif;--font-family-condensed:"Open Sans Condensed",open-sans-condensed,sans-serif;margin:0;font-family:var(--font-family);font-size:14px}.wu-lang-replacement,.wu lang-replacement{display:none}.wu-h1,.wu-h2,.wu-h3,.wu-h4,.wu-h5,.wu-h6,.wu h1,.wu h2,.wu h3,.wu h4,.wu h5,.wu h6{font-family:var(--font-family);line-height:1.1}.wu-h1,.wu-h2,.wu h1,.wu h2{font-family:var(--font-family-condensed);font-weight:400;font-size:3em}.wu-h2,.wu h2{font-size:2em}.wu a,.wu a:focus,.wu a:hover,.wu a:visited,a.wu-a,a.wu-a:focus,a.wu-a:hover,a.wu-a:visited{outline:none;text-decoration:none}.tools-disable-scrolling{height:100%!important;overflow:hidden!important}.wu-action,.wu .action{cursor:pointer}.wu-window-loading-cover,.wu .window-loading-cover{z-index:1002!important;}.wu-window-loading-cover,.wu .window-loading-cover{background-color:var(--background-color);position:fixed;height:100%;width:100%;}.wu-window-loading-cover>div,.wu .window-loading-cover>div{position:absolute;top:50%;left:50%}.wu-icon,.wu-icon-social,.wu .icon,.wu .icon-social{font-family:Glyphicons Halflings,sans-serif;font-style:normal;font-weight:400;line-height:1;display:inline-block;position:relative;text-decoration:none;top:1px;vertical-align:middle;zoom:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}.wu-icon:before,.wu-icon-social:before,.wu .icon:before,.wu .icon-social:before{font-family:Glyphicons Halflings,sans-serif;display:inline-block;left:0;margin:0 5px 0 0;position:absolute;top:0}.wu-icon-arrow-left:before,.wu .icon-arrow-left:before{content:"\E091"}.wu-icon-social:before,.wu .icon-social:before{font:24px/1em Glyphicons Social Regular,sans-serif}.wu-icon-social-white:before,.wu .icon-social-white:before{color:#fff}.wu-icon-social-pinterest:before,.wu .icon-social-pinterest:before{content:"\E001"}.wu-icon-social-dropbox:before,.wu .icon-social-dropbox:before{content:"\E002"}.wu-icon-social-google_plus:before,.wu .icon-social-google_plus:before{content:"\E003"}.wu-icon-social-jolicloud:before,.wu .icon-social-jolicloud:before{content:"\E004"}.wu-icon-social-yahoo:before,.wu .icon-social-yahoo:before{content:"\E005"}.wu-icon-social-blogger:before,.wu .icon-social-blogger:before{content:"\E006"}.wu-icon-social-picasa:before,.wu .icon-social-picasa:before{content:"\E007"}.wu-icon-social-amazon:before,.wu .icon-social-amazon:before{content:"\E008"}.wu-icon-social-tumblr:before,.wu .icon-social-tumblr:before{content:"\E009"}.wu-icon-social-wordpress:before,.wu .icon-social-wordpress:before{content:"\E010"}.wu-icon-social-instapaper:before,.wu .icon-social-instapaper:before{content:"\E011"}.wu-icon-social-evernote:before,.wu .icon-social-evernote:before{content:"\E012"}.wu-icon-social-xing:before,.wu .icon-social-xing:before{content:"\E013"}.wu-icon-social-zootool:before,.wu .icon-social-zootool:before{content:"\E014"}.wu-icon-social-dribbble:before,.wu .icon-social-dribbble:before{content:"\E015"}.wu-icon-social-deviantart:before,.wu .icon-social-deviantart:before{content:"\E016"}.wu-icon-social-read_it_later:before,.wu .icon-social-read_it_later:before{content:"\E017"}.wu-icon-social-linked_in:before,.wu .icon-social-linked_in:before{content:"\E018"}.wu-icon-social-forrst:before,.wu .icon-social-forrst:before{content:"\E019"}.wu-icon-social-pinboard:before,.wu .icon-social-pinboard:before{content:"\E020"}.wu-icon-social-behance:before,.wu .icon-social-behance:before{content:"\E021"}.wu-icon-social-github:before,.wu .icon-social-github:before{content:"\E022"}.wu-icon-social-youtube:before,.wu .icon-social-youtube:before{content:"\E023"}.wu-icon-social-skitch:before,.wu .icon-social-skitch:before{content:"\E024"}.wu-icon-social-foursquare:before,.wu .icon-social-foursquare:before{content:"\E025"}.wu-icon-social-quora:before,.wu .icon-social-quora:before{content:"\E026"}.wu-icon-social-badoo:before,.wu .icon-social-badoo:before{content:"\E027"}.wu-icon-social-spotify:before,.wu .icon-social-spotify:before{content:"\E028"}.wu-icon-social-stumbleupon:before,.wu .icon-social-stumbleupon:before{content:"\E029"}.wu-icon-social-readability:before,.wu .icon-social-readability:before{content:"\E030"}.wu-icon-social-facebook:before,.wu .icon-social-facebook:before{content:"\E031"}.wu-icon-social-twitter:before,.wu .icon-social-twitter:before{content:"\E032"}.wu-icon-social-instagram:before,.wu .icon-social-instagram:before{content:"\E033"}.wu-icon-social-posterous_spaces:before,.wu .icon-social-posterous_spaces:before{content:"\E034"}.wu-icon-social-vimeo:before,.wu .icon-social-vimeo:before{content:"\E035"}.wu-icon-social-flickr:before,.wu .icon-social-flickr:before{content:"\E036"}.wu-icon-social-last_fm:before,.wu .icon-social-last_fm:before{content:"\E037"}.wu-icon-social-rss:before,.wu .icon-social-rss:before{content:"\E038"}.wu-icon-social-skype:before,.wu .icon-social-skype:before{content:"\E039"}.wu-icon-social-e-mail:before,.wu .icon-social-e-mail:before{content:"\E040"}.wu-icon-social-vine:before,.wu .icon-social-vine:before{content:"\E041"}.wu-icon-social-myspace:before,.wu .icon-social-myspace:before{content:"\E042"}.wu-icon-social-goodreads:before,.wu .icon-social-goodreads:before{content:"\E043"}.wu-icon-social-apple:before,.wu .icon-social-apple:before{content:"\F8FF"}.wu-icon-social-windows:before,.wu .icon-social-windows:before{content:"\E045"}.wu-icon-social-yelp:before,.wu .icon-social-yelp:before{content:"\E046"}.wu-icon-social-playstation:before,.wu .icon-social-playstation:before{content:"\E047"}.wu-icon-social-xbox:before,.wu .icon-social-xbox:before{content:"\E048"}.wu-icon-social-android:before,.wu .icon-social-android:before{content:"\E049"}.wu-icon-social-ios:before,.wu .icon-social-ios:before{content:"\E050"}.wu-select,.wu .select{position:relative;}.wu-select__arrow,.wu .select__arrow{position:absolute;top:3px;right:15px;pointer-events:none;}.wu-select__arrow span,.wu .select__arrow span{vertical-align:bottom;font-size:10px}.wu-select select,.wu .select select{position:static!important;padding-left:7px!important;padding-right:25px!important;}.wu-select select::-ms-expand,.wu .select select::-ms-expand{display:none}.wu-checkbox,.wu .checkbox{margin-top:2px;padding-top:3px;}.wu-checkbox label,.wu .checkbox label{padding-left:40px;}.wu-checkbox label .checkbox__wrapper,.wu .checkbox label .checkbox__wrapper{margin-top:-2px;margin-left:-40px;position:absolute;}.wu-checkbox label .checkbox__wrapper .checkbox__wrapper__styled,.wu .checkbox label .checkbox__wrapper .checkbox__wrapper__styled{border-radius:4px;border:2px solid var(--border-color);cursor:pointer;float:right;height:25px;padding:0;width:25px;}.wu-checkbox label .checkbox__wrapper .checkbox__wrapper__styled .checkbox__wrapper__styled__checked,.wu .checkbox label .checkbox__wrapper .checkbox__wrapper__styled .checkbox__wrapper__styled__checked{background:transparent;border:3px solid var(--font-color);border-top:none;border-right:none;height:8px;left:4px;opacity:0;position:absolute;top:5px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);width:13px}.wu-checkbox label .checkbox__wrapper input[type=checkbox],.wu .checkbox label .checkbox__wrapper input[type=checkbox]{display:none;}.wu-checkbox label .checkbox__wrapper input[type=checkbox]:checked~span.checkbox-styled>span.checkbox-styled-checked,.wu .checkbox label .checkbox__wrapper input[type=checkbox]:checked~span.checkbox-styled>span.checkbox-styled-checked{opacity:1}.wu-checkbox label .checkbox__wrapper input[type=checkbox]:disabled~span.checkbox-styled,.wu .checkbox label .checkbox__wrapper input[type=checkbox]:disabled~span.checkbox-styled{background-color:var(--disabled-color)}.tools-hidden-on-javascript-enabled{display:none}.tools-visible-on-javascript-enabled{display:inline;display:initial}@-webkit-keyframes spinner-line-fade-more{0%,to{opacity:0}1%{opacity:1}}@keyframes spinner-line-fade-more{0%,to{opacity:0}1%{opacity:1}}@-webkit-keyframes spinner-line-fade-quick{0%,39%,to{opacity:.25}40%{opacity:1}}@keyframes spinner-line-fade-quick{0%,39%,to{opacity:.25}40%{opacity:1}}@-webkit-keyframes spinner-line-fade-default{0%,to{opacity:.22}1%{opacity:1}}@keyframes spinner-line-fade-default{0%,to{opacity:.22}1%{opacity:1}}
|
|
1
|
+
@font-face{font-family:open-sans;src:url(fonts.compiled/open-sans-light.woff2?md5=ded2efe0682deca1e711) format("woff2"),url(fonts.compiled/open-sans-light.woff?md5=5f5617ab2d7f7ae9d8a5) format("woff");font-weight:300;font-style:normal}@font-face{font-family:open-sans;src:url(fonts.compiled/open-sans-light-italic.woff2?md5=2c80dd810ca80ed7441f) format("woff2"),url(fonts.compiled/open-sans-light-italic.woff?md5=c246bd09361a014795ae) format("woff");font-weight:300;font-style:italic}@font-face{font-family:open-sans;src:url(fonts.compiled/open-sans-regular.woff2?md5=6399f5b3b46842462174) format("woff2"),url(fonts.compiled/open-sans-regular.woff?md5=d02e6dd3b1bbbc101343) format("woff");font-weight:400;font-style:normal}@font-face{font-family:open-sans;src:url(fonts.compiled/open-sans-italic.woff2?md5=473eeb886be6660b9a86) format("woff2"),url(fonts.compiled/open-sans-italic.woff?md5=d78071284e62fcd478af) format("woff");font-weight:400;font-style:italic}@font-face{font-family:open-sans;src:url(fonts.compiled/open-sans-semi-bold.woff2?md5=ae33326b599cfd071cfc) format("woff2"),url(fonts.compiled/open-sans-semi-bold.woff?md5=f90df377945fccdef88f) format("woff");font-weight:600;font-style:normal}@font-face{font-family:open-sans;src:url(fonts.compiled/open-sans-semi-bold-italic.woff2?md5=0f73259fcbe5b12157ce) format("woff2"),url(fonts.compiled/open-sans-semi-bold-italic.woff?md5=1e25c8a28fdf9a87ff38) format("woff");font-weight:600;font-style:italic}@font-face{font-family:open-sans;src:url(fonts.compiled/open-sans-bold.woff2?md5=50cc1a94a36420ff2bcd) format("woff2"),url(fonts.compiled/open-sans-bold.woff?md5=40084899144c3b75bcdd) format("woff");font-weight:700;font-style:normal}@font-face{font-family:open-sans;src:url(fonts.compiled/open-sans-bold-italic.woff2?md5=89b1196ae05d10f50fbc) format("woff2"),url(fonts.compiled/open-sans-bold-italic.woff?md5=41c0cadf1dd0548086ae) format("woff");font-weight:700;font-style:italic}@font-face{font-family:open-sans;src:url(fonts.compiled/open-sans-extra-bold.woff2?md5=6ef03d4820d032580837) format("woff2"),url(fonts.compiled/open-sans-extra-bold.woff?md5=e640a97717802cc57574) format("woff");font-weight:800;font-style:normal}@font-face{font-family:open-sans;src:url(fonts.compiled/open-sans-extra-bold-italic.woff2?md5=b3979a57edfd488799d4) format("woff2"),url(fonts.compiled/open-sans-extra-bold-italic.woff?md5=adb47ef059f0de41b7d4) format("woff");font-weight:800;font-style:italic}@font-face{font-family:open-sans-condensed;src:url(fonts.compiled/open-sans-condensed-bold.woff2?md5=317baafbc9215400181a) format("woff2"),url(fonts.compiled/open-sans-condensed-bold.woff?md5=c8139621e15d27cd8855) format("woff");font-weight:700;font-style:normal}@font-face{font-family:open-sans-condensed;src:url(fonts.compiled/open-sans-condensed-light.woff2?md5=f517762310d125f06126) format("woff2"),url(fonts.compiled/open-sans-condensed-light.woff?md5=607164d33679b5de46cf) format("woff");font-weight:300;font-style:normal}@font-face{font-family:open-sans-condensed;src:url(fonts.compiled/open-sans-condensed-light-italic.woff2?md5=796dc8ebbf7a438a6764) format("woff2"),url(fonts.compiled/open-sans-condensed-light-italic.woff?md5=f3677299a479a3de0867) format("woff");font-weight:300;font-style:italic}@font-face{font-family:Glyphicons Halflings;src:url(fonts.compiled/glyphicons-halflings-regular.woff2?md5=fc23729e157a16266ab6) format("woff2"),url(fonts.compiled/glyphicons-halflings-regular.woff?md5=fa2772327f55d8198301) format("woff")}@font-face{font-family:Glyphicons Social Regular;src:url(fonts.compiled/glyphicons-halflings-social-regular.woff2?md5=77ecb63f7ef6ad236696) format("woff2"),url(fonts.compiled/glyphicons-halflings-social-regular.woff?md5=b8cd97250d7a149a69ca) format("woff")}:root{--w-default-space:v.$default-space;--w-extra-extra-small-width:v.$extra-extra-small-width;--w-extra-small-width:v.$extra-small-width;--w-small-width:v.$small-width;--w-medium-width:v.$medium-width;--w-large-width:v.$large-width;@custom-media --w-extra-extra-small (min-width: v.$extra-extra-small-width);@custom-media --w-extra-small (min-width: v.$extra-small-width));@custom-media --w-small (min-width: v.$small-width);@custom-media --medium (min-width: v.$medium-width);@custom-media --large (min-width: v.$large-width);--w-background-color:v.$theme-background;--w-theme-primary:$theme-primary;--w-theme-on-primary:$theme-on-primary;--w-theme-secondary:$theme-secondary;--w-theme-on-secondary:$theme-on-secondary;--w-theme-error:$theme-error;--w-theme-on-error:$theme-on-error;--w-theme-surface:$theme-surface;--w-theme-on-surface:$theme-on-surface;--w-font-family:$typography-font-family;--w-font-family-headline:$typography-font-family-headline}.wu{margin:0;font-family:$typography-font-family;font-family:var(--w-font-family,"Open Sans",open-sans,sans-serif);font-size:14px}.wu-lang-replacement,.wu lang-replacement{display:none}.wu-h1,.wu-h2,.wu-h3,.wu-h4,.wu-h5,.wu-h6,.wu h1,.wu h2,.wu h3,.wu h4,.wu h5,.wu h6{font-family:$typography-font-family;font-family:var(--w-font-family,"Open Sans",open-sans,sans-serif);line-height:1.1}.wu-h1,.wu-h2,.wu h1,.wu h2{font-family:$typography-font-family-headline;font-family:var(--w-font-family-headline,"Open Sans Condensed",open-sans-condensed,sans-serif);font-weight:400;font-size:3em}.wu-h2,.wu h2{font-size:2em}.wu a,.wu a:focus,.wu a:hover,.wu a:visited,a.wu-a,a.wu-a:focus,a.wu-a:hover,a.wu-a:visited{outline:none;text-decoration:none}.tools-disable-scrolling{height:100%!important;overflow:hidden!important}.wu-action,.wu .action{cursor:pointer}.wu-window-loading-cover,.wu .window-loading-cover{z-index:1002!important}.wu-window-loading-cover,.wu .window-loading-cover{background-color:v.$theme-background;background-color:var(--w-background-color,#fff);position:fixed;height:100%;width:100%}.wu-window-loading-cover>div,.wu .window-loading-cover>div{position:absolute;top:50%;left:50%}.wu-icon,.wu-icon-social,.wu .icon,.wu .icon-social{font-family:"Glyphicons Halflings",sans-serif;font-family:var(--w-font-family-social,"Glyphicons Halflings",sans-serif);font-style:normal;font-weight:400;line-height:1;display:inline-block;position:relative;text-decoration:none;top:1px;vertical-align:middle;zoom:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wu-icon-social:before,.wu-icon:before,.wu .icon-social:before,.wu .icon:before{font-family:"Glyphicons Halflings",sans-serif;font-family:var(--w-font-family-social,"Glyphicons Halflings",sans-serif);display:inline-block;left:0;margin:0 5px 0 0;position:absolute;top:0}.wu-icon-arrow-left:before,.wu .icon-arrow-left:before{content:""}.wu-icon-social:before,.wu .icon-social:before{font:24px/1em Glyphicons Social Regular,sans-serif}.wu-icon-social-white:before,.wu .icon-social-white:before{color:#fff}.wu-icon-social-pinterest:before,.wu .icon-social-pinterest:before{content:""}.wu-icon-social-dropbox:before,.wu .icon-social-dropbox:before{content:""}.wu-icon-social-google_plus:before,.wu .icon-social-google_plus:before{content:""}.wu-icon-social-jolicloud:before,.wu .icon-social-jolicloud:before{content:""}.wu-icon-social-yahoo:before,.wu .icon-social-yahoo:before{content:""}.wu-icon-social-blogger:before,.wu .icon-social-blogger:before{content:""}.wu-icon-social-picasa:before,.wu .icon-social-picasa:before{content:""}.wu-icon-social-amazon:before,.wu .icon-social-amazon:before{content:""}.wu-icon-social-tumblr:before,.wu .icon-social-tumblr:before{content:""}.wu-icon-social-wordpress:before,.wu .icon-social-wordpress:before{content:""}.wu-icon-social-instapaper:before,.wu .icon-social-instapaper:before{content:""}.wu-icon-social-evernote:before,.wu .icon-social-evernote:before{content:""}.wu-icon-social-xing:before,.wu .icon-social-xing:before{content:""}.wu-icon-social-zootool:before,.wu .icon-social-zootool:before{content:""}.wu-icon-social-dribbble:before,.wu .icon-social-dribbble:before{content:""}.wu-icon-social-deviantart:before,.wu .icon-social-deviantart:before{content:""}.wu-icon-social-read_it_later:before,.wu .icon-social-read_it_later:before{content:""}.wu-icon-social-linked_in:before,.wu .icon-social-linked_in:before{content:""}.wu-icon-social-forrst:before,.wu .icon-social-forrst:before{content:""}.wu-icon-social-pinboard:before,.wu .icon-social-pinboard:before{content:""}.wu-icon-social-behance:before,.wu .icon-social-behance:before{content:""}.wu-icon-social-github:before,.wu .icon-social-github:before{content:""}.wu-icon-social-youtube:before,.wu .icon-social-youtube:before{content:""}.wu-icon-social-skitch:before,.wu .icon-social-skitch:before{content:""}.wu-icon-social-foursquare:before,.wu .icon-social-foursquare:before{content:""}.wu-icon-social-quora:before,.wu .icon-social-quora:before{content:""}.wu-icon-social-badoo:before,.wu .icon-social-badoo:before{content:""}.wu-icon-social-spotify:before,.wu .icon-social-spotify:before{content:""}.wu-icon-social-stumbleupon:before,.wu .icon-social-stumbleupon:before{content:""}.wu-icon-social-readability:before,.wu .icon-social-readability:before{content:""}.wu-icon-social-facebook:before,.wu .icon-social-facebook:before{content:""}.wu-icon-social-twitter:before,.wu .icon-social-twitter:before{content:""}.wu-icon-social-instagram:before,.wu .icon-social-instagram:before{content:""}.wu-icon-social-posterous_spaces:before,.wu .icon-social-posterous_spaces:before{content:""}.wu-icon-social-vimeo:before,.wu .icon-social-vimeo:before{content:""}.wu-icon-social-flickr:before,.wu .icon-social-flickr:before{content:""}.wu-icon-social-last_fm:before,.wu .icon-social-last_fm:before{content:""}.wu-icon-social-rss:before,.wu .icon-social-rss:before{content:""}.wu-icon-social-skype:before,.wu .icon-social-skype:before{content:""}.wu-icon-social-e-mail:before,.wu .icon-social-e-mail:before{content:""}.wu-icon-social-vine:before,.wu .icon-social-vine:before{content:""}.wu-icon-social-myspace:before,.wu .icon-social-myspace:before{content:""}.wu-icon-social-goodreads:before,.wu .icon-social-goodreads:before{content:""}.wu-icon-social-apple:before,.wu .icon-social-apple:before{content:""}.wu-icon-social-windows:before,.wu .icon-social-windows:before{content:""}.wu-icon-social-yelp:before,.wu .icon-social-yelp:before{content:""}.wu-icon-social-playstation:before,.wu .icon-social-playstation:before{content:""}.wu-icon-social-xbox:before,.wu .icon-social-xbox:before{content:""}.wu-icon-social-android:before,.wu .icon-social-android:before{content:""}.wu-icon-social-ios:before,.wu .icon-social-ios:before{content:""}.wu-select,.wu .select{position:relative}.wu-select__arrow,.wu .select__arrow{position:absolute;top:3px;right:15px;pointer-events:none}.wu-select__arrow span,.wu .select__arrow span{vertical-align:bottom;font-size:10px}.wu-select select,.wu .select select{position:static!important;padding-left:7px!important;padding-right:25px!important}.wu-select select::-ms-expand,.wu .select select::-ms-expand{display:none}.wu-checkbox,.wu .checkbox{margin-top:2px;padding-top:3px}.wu-checkbox label,.wu .checkbox label{padding-left:40px}.wu-checkbox label .checkbox__wrapper,.wu .checkbox label .checkbox__wrapper{margin-top:-2px;margin-left:-40px;position:absolute}.wu-checkbox label .checkbox__wrapper .checkbox__wrapper__styled,.wu .checkbox label .checkbox__wrapper .checkbox__wrapper__styled{border-radius:4px;border:2px solid $theme-primary;border:2px solid var(--w-theme-primary,#76b82a);cursor:pointer;float:right;height:25px;padding:0;width:25px}.wu-checkbox label .checkbox__wrapper .checkbox__wrapper__styled .checkbox__wrapper__styled__checked,.wu .checkbox label .checkbox__wrapper .checkbox__wrapper__styled .checkbox__wrapper__styled__checked{background:transparent;border:3px solid $theme-on-primary;border:3px solid var(--w-theme-on-primary,#f0f6fc);border-top:none;border-right:none;height:8px;left:4px;opacity:0;position:absolute;top:5px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);width:13px}.wu-checkbox label .checkbox__wrapper input[type=checkbox],.wu .checkbox label .checkbox__wrapper input[type=checkbox]{display:none}.wu-checkbox label .checkbox__wrapper input[type=checkbox]:checked~.checkbox-styled>.checkbox-styled-checked,.wu .checkbox label .checkbox__wrapper input[type=checkbox]:checked~.checkbox-styled>.checkbox-styled-checked{opacity:1}.wu-checkbox label .checkbox__wrapper input[type=checkbox]:disabled~.checkbox-styled,.wu .checkbox label .checkbox__wrapper input[type=checkbox]:disabled~.checkbox-styled{background-color:$theme-surface;background-color:var(--w-theme-surface,#21262d)}.tools-hidden-on-javascript-enabled{display:none}.tools-visible-on-javascript-enabled{display:inline;display:initial}@-webkit-keyframes spinner-line-fade-more{0%,to{opacity:0}1%{opacity:1}}@keyframes spinner-line-fade-more{0%,to{opacity:0}1%{opacity:1}}@-webkit-keyframes spinner-line-fade-quick{0%,39%,to{opacity:.25}40%{opacity:1}}@keyframes spinner-line-fade-quick{0%,39%,to{opacity:.25}40%{opacity:1}}@-webkit-keyframes spinner-line-fade-default{0%,to{opacity:.22}1%{opacity:1}}@keyframes spinner-line-fade-default{0%,to{opacity:.22}1%{opacity:1}}
|
package/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';if(typeof module!=='undefined'&&module!==null&&eval('typeof require')!=='undefined'&&eval('require')!==null&&'main'in eval('require')&&eval('typeof require.main')!=='undefined'&&eval('require.main')!==null){var ORIGINAL_MAIN_MODULE=module;if(module!==eval('require.main')&&'paths'in module&&'paths'in eval('require.main')&&typeof __dirname!=='undefined'&&__dirname!==null)module.paths=eval('require.main.paths').concat(module.paths.filter(function(path){return eval('require.main.paths').includes(path)}))};if(typeof window==='undefined'||window===null)var window=(typeof global==='undefined'||global===null)?{}:global;!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/helpers/extends"),require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/regenerator"),require("clientnode"));else if("function"==typeof define&&define.amd)define(["@babel/runtime/helpers/asyncToGenerator","@babel/runtime/helpers/extends","@babel/runtime/helpers/inheritsLoose","@babel/runtime/regenerator","clientnode"],e);else{var o="object"==typeof exports?e(require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/helpers/extends"),require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/regenerator"),require("clientnode")):e(t["@babel/runtime/helpers/asyncToGenerator"],t["@babel/runtime/helpers/extends"],t["@babel/runtime/helpers/inheritsLoose"],t["@babel/runtime/regenerator"],t.clientnode);for(var n in o)("object"==typeof exports?exports:t)[n]=o[n]}}(this,(function(t,e,o,n,i){return function(){"use strict";var r=[,function(e){e.exports=t},function(t){t.exports=e},function(t){t.exports=o},function(t){t.exports=n},function(t){t.exports=i}],a={};function s(t){var e=a[t];if(void 0!==e)return e.exports;var o=a[t]={exports:{}};return r[t](o,o.exports,s),o.exports}s.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return s.d(e,{a:e}),e},s.d=function(t,e){for(var o in e)s.o(e,o)&&!s.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},s.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var l={};return function(){s.r(l),s.d(l,{WebsiteUtilities:function(){return T},default:function(){return x}});var t=s(1),e=s.n(t),o=s(2),n=s.n(o),i=s(3),r=s.n(i),a=s(4),d=s.n(a),c=s(5),u=s.n(c),p=function(){return p=Object.assign||function(t){for(var e,o=1,n=arguments.length;o<n;o++)for(var i in e=arguments[o])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},p.apply(this,arguments)},h={lines:12,length:7,width:5,radius:10,scale:1,corners:1,color:"#000",fadeColor:"transparent",animation:"spinner-line-fade-default",rotate:0,direction:1,speed:1,zIndex:2e9,className:"spinner",top:"50%",left:"50%",shadow:"0 0 1px transparent",position:"absolute"},m=function(){function t(t){void 0===t&&(t={}),this.opts=p(p({},h),t)}return t.prototype.spin=function(t){return this.stop(),this.el=document.createElement("div"),this.el.className=this.opts.className,this.el.setAttribute("role","progressbar"),f(this.el,{position:this.opts.position,width:0,zIndex:this.opts.zIndex,left:this.opts.left,top:this.opts.top,transform:"scale("+this.opts.scale+")"}),t&&t.insertBefore(this.el,t.firstChild||null),function(t,e){var o=Math.round(e.corners*e.width*500)/1e3+"px",n="none";!0===e.shadow?n="0 2px 4px #000":"string"==typeof e.shadow&&(n=e.shadow);for(var i=function(t){for(var e=/^\s*([a-zA-Z]+\s+)?(-?\d+(\.\d+)?)([a-zA-Z]*)\s+(-?\d+(\.\d+)?)([a-zA-Z]*)(.*)$/,o=[],n=0,i=t.split(",");n<i.length;n++){var r=i[n].match(e);if(null!==r){var a=+r[2],s=+r[5],l=r[4],d=r[7];0!==a||l||(l=d),0!==s||d||(d=l),l===d&&o.push({prefix:r[1]||"",x:a,y:s,xUnits:l,yUnits:d,end:r[8]})}}return o}(n),r=0;r<e.lines;r++){var a=~~(360/e.lines*r+e.rotate),s=f(document.createElement("div"),{position:"absolute",top:-e.width/2+"px",width:e.length+e.width+"px",height:e.width+"px",background:g(e.fadeColor,r),borderRadius:o,transformOrigin:"left",transform:"rotate("+a+"deg) translateX("+e.radius+"px)"}),l=r*e.direction/e.lines/e.speed;l-=1/e.speed;var d=f(document.createElement("div"),{width:"100%",height:"100%",background:g(e.color,r),borderRadius:o,boxShadow:w(i,a),animation:1/e.speed+"s linear "+l+"s infinite "+e.animation});s.appendChild(d),t.appendChild(s)}}(this.el,this.opts),this},t.prototype.stop=function(){return this.el&&("undefined"!=typeof requestAnimationFrame?cancelAnimationFrame(this.animateId):clearTimeout(this.animateId),this.el.parentNode&&this.el.parentNode.removeChild(this.el),this.el=void 0),this},t}();function f(t,e){for(var o in e)t.style[o]=e[o];return t}function g(t,e){return"string"==typeof t?t:t[e%t.length]}function w(t,e){for(var o=[],n=0,i=t;n<i.length;n++){var r=i[n],a=v(r.x,r.y,e);o.push(r.prefix+a[0]+r.xUnits+" "+a[1]+r.yUnits+r.end)}return o.join(", ")}function v(t,e,o){var n=o*Math.PI/180,i=Math.sin(n),r=Math.cos(n);return[Math.round(1e3*(t*r+e*i))/1e3,Math.round(1e3*(-t*i+e*r))/1e3]}function b(t,e){var o="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(o)return(o=o.call(t)).next.bind(o);if(Array.isArray(t)||(o=function(t,e){if(!t)return;if("string"==typeof t)return y(t,e);var o=Object.prototype.toString.call(t).slice(8,-1);"Object"===o&&t.constructor&&(o=t.constructor.name);if("Map"===o||"Set"===o)return Array.from(t);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return y(t,e)}(t))||e&&t&&"number"==typeof t.length){o&&(t=o);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var o=0,n=new Array(e);o<e;o++)n[o]=t[o];return n}var T=function(t){function o(){for(var e,o=arguments.length,n=new Array(o),i=0;i<o;i++)n[i]=arguments[i];return(e=t.call.apply(t,[this].concat(n))||this).options=null,e.$domNodes=null,e.currentMediaQueryMode="",e.currentSectionName="home",e.languageHandler=null,e.startUpAnimationIsComplete=!1,e.viewportIsOnTop=!1,e.windowLoaded=!1,e.windowLoadingSpinner=null,e._onViewportMovesToTop=u().debounce((function(){"hidden"===e.$domNodes.scrollToTopButton.css("visibility")?e.$domNodes.scrollToTopButton.css("opacity",0):(e.options.scrollToTop.button.hideAnimationOptions.always=function(){return e.$domNodes.scrollToTopButton.css({bottom:"-="+e.options.scrollToTop.button.slideDistanceInPixel,display:"none"})},e.$domNodes.scrollToTopButton.finish().animate({bottom:"+="+String(e.options.scrollToTop.button.slideDistanceInPixel),opacity:0},e.options.scrollToTop.button.hideAnimationOptions))})),e._onViewportMovesAwayFromTop=u().debounce((function(){"hidden"===e.$domNodes.scrollToTopButton.css("visibility")?e.$domNodes.scrollToTopButton.css("opacity",1):e.$domNodes.scrollToTopButton.finish().css({bottom:"+="+String(e.options.scrollToTop.button.slideDistanceInPixel),display:"block",opacity:0}).animate({bottom:"-="+String(e.options.scrollToTop.button.slideDistanceInPixel),queue:!1,opacity:1},e.options.scrollToTop.button.showAnimationOptions)})),e}r()(o,t);var i=o.prototype;return i.initialize=function(e){var n=this;return void 0===e&&(e={}),t.prototype.initialize.call(this,u().extend(!0,{},o._defaultOptions,e)),this.$domNodes=this.grabDomNodes(this.options.domNodes),this.disableScrolling(),new Promise((function(t){n.$domNodes.windowLoadingSpinner.length&&(n.windowLoadingSpinner=new m(n.options.windowLoadingSpinner),n.windowLoadingSpinner.spin(n.$domNodes.windowLoadingSpinner[0])),n._bindScrollEvents(),n.$domNodes.parent.show();var e=function(){n.windowLoaded||(n.windowLoaded=!0,n._removeLoadingCover().then((function(){n._performStartUpEffects(),t(n)})))};(0,c.$)((function(){u().timeout(e,n.options.windowLoadedTimeoutAfterDocLoadedInMSec)})),n.on(n.$domNodes.window,"load",e),n._bindClickTracking(),n.options.language.logging||(n.options.language.logging=n.options.logging),n.options.activateLanguageSupport&&!n.languageHandler&&(0,c.$)(n.$domNodes.parent).Internationalisation(n.options.language).then((function(t){n.languageHandler=t.data("Internationalisation")})),n._bindNavigationEvents(),n._bindMediaQueryChangeEvents(),n._triggerWindowResizeEvents()}))},i.scrollToTop=function(){return c.globalContext.document&&(0,c.$)("html, body").stop().animate({scrollTop:0},this.options.scrollToTop.options),this},i.disableScrolling=function(){return this.$domNodes.parent.addClass("disable-scrolling").on("touchmove",(function(t){return t.preventDefault()})),this},i.enableScrolling=function(){return this.$domNodes.parent.removeClass(["disable-scrolling","touchmove"]),this.off(this.$domNodes.parent),this},i.track=function(t){if(c.globalContext.window.location&&this.options.tracking){var e=n()({context:c.globalContext.window.location.pathname+"#"+this.currentSectionName},t);(isNaN(e.value)||"number"!=typeof e.value)&&(e.value=1),this.debug('Run tracking code: "event" with arguments:'),this.debug(e);try{this.options.tracking.track(e)}catch(t){this.warn('Problem in tracking "'+u().represent(e)+'": '+u().represent(t))}}return this},i._onChangeMediaQueryMode=function(t,e){},i._onChangeToLargeMode=function(t,e){},i._onChangeToMediumMode=function(t,e){},i._onChangeToSmallMode=function(t,e){},i._onChangeToExtraSmallMode=function(t,e){},i._onSwitchSection=function(t){var e;if(c.globalContext.window.location&&null!=(e=this.options.tracking)&&e.sectionSwitch&&this.currentSectionName!==t){this.currentSectionName=t,this.debug('Run section switch tracking on section "'+this.currentSectionName+'".');try{this.options.tracking.sectionSwitch.call(this,this.currentSectionName)}catch(t){this.warn('Problem due to track section switch to "'+this.currentSectionName+'": '+u().represent(t))}}},i._onStartUpAnimationComplete=function(){this.startUpAnimationIsComplete=!0},i._bindMediaQueryChangeEvents=function(){this.on(this.$domNodes.window,"resize",this._triggerWindowResizeEvents.bind(this))},i._triggerWindowResizeEvents=function(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];for(var n,i=b(this.options.mediaQueryClassNameIndicator);!(n=i()).done;){var r=n.value;this.$domNodes.mediaQueryIndicator.prependTo(this.$domNodes.parent).addClass("hidden-"+r[1]),this.$domNodes.mediaQueryIndicator.is(":hidden")&&r[0]!==this.currentMediaQueryMode&&(this.fireEvent.apply(this,["changeMediaQueryMode",!1,this,this.currentMediaQueryMode,r[0]].concat(e)),this.fireEvent.apply(this,["changeTo"+u().stringCapitalize(r[0])+"Mode",!1,this,this.currentMediaQueryMode,r[0]].concat(e)),this.currentMediaQueryMode=r[0]),this.$domNodes.mediaQueryIndicator.removeClass("hidden-"+r[1])}},i._bindScrollEvents=function(){for(var t=this,e=arguments.length,o=new Array(e),n=0;n<e;n++)o[n]=arguments[n];var i=(0,c.$)("body, html").add(this.$domNodes.window);i.on(this.options.knownScrollEventNames.join(" "),(function(e){t.options.switchToManualScrollingIndicator(e)&&i.stop(!0)})),this.on(this.$domNodes.window,"scroll",(function(){t.$domNodes.window.scrollTop()?t.viewportIsOnTop&&(t.viewportIsOnTop=!1,t.fireEvent.apply(t,["viewportMovesAwayFromTop",!1,t].concat(o))):t.viewportIsOnTop||(t.viewportIsOnTop=!0,t.fireEvent.apply(t,["viewportMovesToTop",!1,t].concat(o)))})),this.$domNodes.window.scrollTop()?(this.viewportIsOnTop=!1,this.fireEvent.apply(this,["viewportMovesAwayFromTop",!1,this].concat(o))):(this.viewportIsOnTop=!0,this.fireEvent.apply(this,["viewportMovesToTop",!1,this].concat(o)))},i._removeLoadingCover=function(){var t=e()(d().mark((function t(){var e=this;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,u().timeout(this.options.additionalPageLoadingTimeInMilliseconds);case 2:return(0,c.$)(u().stringFormat('[class^="{1}"], [class*=" {1}"]',this.sliceDomNodeSelectorPrefix(this.options.domNodes.startUpAnimationClassPrefix).substr(1))).css(this.options.startUpHide),t.next=5,new Promise((function(t){e.$domNodes.windowLoadingCover.length?(e.enableScrolling(),e.$domNodes.windowLoadingCover.animate(e.options.windowLoadingCoverHideAnimation,{always:function(){return t()}})):t()}));case 5:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}(),i._performStartUpEffects=function(){var t=e()(d().mark((function t(e){var o,n=this;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===e&&(e=1),this.$domNodes.windowLoadingCover.hide(),this.windowLoadingSpinner&&this.windowLoadingSpinner.stop(),!(0,c.$)(u().stringFormat('[class^="{1}"], [class*=" {1}"]',this.sliceDomNodeSelectorPrefix(this.options.domNodes.startUpAnimationClassPrefix).substr(1))).length){t.next=17;break}return t.next=6,u().timeout(this.options.startUpAnimationElementDelayInMiliseconds);case 6:if(o=!1,(0,c.$)(this.options.domNodes.startUpAnimationClassPrefix+""+e).animate(this.options.startUpShowAnimation,{always:function(){o&&n.fireEvent("startUpAnimationComplete")}}),!(0,c.$)(this.options.domNodes.startUpAnimationClassPrefix+""+(e+1)).length){t.next=14;break}return t.next=12,this._performStartUpEffects(e+1);case 12:t.next=15;break;case 14:o=!0;case 15:t.next=18;break;case 17:this.fireEvent("startUpAnimationComplete");case 18:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}(),i._bindNavigationEvents=function(){var t=this;c.globalContext.window.addEventListener("hashchange",(function(e){t.startUpAnimationIsComplete&&t.fireEvent("switchSection",!1,t,location.hash.substring("#".length),e)}),!1),this._bindScrollToTopButton()},i._bindScrollToTopButton=function(){var t=this;this.on(this.$domNodes.scrollToTopButton,"click",(function(e){e.preventDefault(),t.scrollToTop()}))},i._bindClickTracking=function(){var t=this;this.options.tracking&&(this.options.tracking.linkClick&&this.on(this.$domNodes.parent.find("a"),"click",(function(e){return t.options.tracking.linkClick.call(t,(0,c.$)(e.target),e)})),this.options.tracking.buttonClick&&this.on(this.$domNodes.parent.find("button"),"click",(function(e){return t.options.tracking.buttonClick.call(t,(0,c.$)(e.target),e)})))},o}(u());T._defaultOptions={activateLanguageSupport:!0,additionalPageLoadingTimeInMilliseconds:0,domain:"auto",domNodes:{mediaQueryIndicator:'<div class="wu-media-query-indicator">',scrollToTopButton:'a[href="#top"]',startUpAnimationClassPrefix:".wu-start-up-animation-number-",top:"header",windowLoadingCover:".window-loading-cover, .wu-window-loading-cover",windowLoadingSpinner:".window-loading-cover > div, .wu-window-loading-cover > div"},domNodeSelectorInfix:"wu",domNodeSelectorPrefix:"body.{1}",initialSectionName:"home",knownScrollEventNames:["DOMMouseScroll","keyup","mousedown","mousewheel","scroll","touchmove","wheel"],language:{},mediaQueryClassNameIndicator:[["extraSmall","xs"],["small","sm"],["medium","md"],["large","lg"]],name:"WebsiteUtilities",onChangeMediaQueryMode:u().noop,onChangeToExtraSmallMode:u().noop,onChangeToLargeMode:u().noop,onChangeToMediumMode:u().noop,onChangeToSmallMode:u().noop,onViewportMovesAwayFromTop:u().noop,onViewportMovesToTop:u().noop,onSwitchSection:u().noop,onStartUpAnimationComplete:u().noop,scrollToTop:{button:{hideAnimationOptions:{},showAnimationOptions:{},slideDistanceInPixel:30},options:{duration:"fast"}},startUpAnimationElementDelayInMiliseconds:100,startUpHide:{opacity:0},startUpShowAnimation:{opacity:1},switchToManualScrollingIndicator:function(t){return"number"==typeof t.which&&t.which>0||"mousedown"===t.type||"mousewheel"===t.type||"touchmove"===t.type},tracking:{buttonClick:function(t,e){this.track({event:"buttonClick",eventType:"click",label:t.text(),reference:t.attr("action")||t.attr("target")||t.attr("type")||t.text(),subject:"button",value:parseInt(t.attr("website-analytics-value")),userInteraction:!0})},linkClick:function(t,e){this.track({event:"linkClick",eventType:"click",label:t.text(),reference:t.attr("href")||t.attr("action")||t.attr("target")||t.attr("type")||t.text(),subject:"link",value:parseInt(t.attr("website-analytics-value")),userInteraction:!0})},sectionSwitch:function(t){this.track({event:"sectionSwitch",eventType:"sectionSwitch",label:t,reference:c.globalContext.window.location.pathname+"#"+t,subject:"url",userInteraction:!1})},track:function(t){var e;null==(e=c.globalContext.dataLayer)||e.push(t)}},windowLoadingCoverHideAnimation:{opacity:0},windowLoadingSpinner:{animation:"spinner-line-fade-quick",className:"spinner",color:"#000",corners:1,direction:1,fadeColor:"transparent",left:"auto",length:23,lines:9,position:"absolute",radius:40,rotate:0,scale:1,shadow:!1,speed:1.1,top:"auto",width:11,zIndex:2e9},windowLoadedTimeoutAfterDocLoadedInMSec:2e3};var x=T;c.$.WebsiteUtilities=function(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return u().controller(T,e)},c.$.WebsiteUtilities.class=T}(),l}()}));
|
|
1
|
+
'use strict';if(typeof module!=='undefined'&&module!==null&&eval('typeof require')!=='undefined'&&eval('require')!==null&&'main'in eval('require')&&eval('typeof require.main')!=='undefined'&&eval('require.main')!==null){var ORIGINAL_MAIN_MODULE=module;if(module!==eval('require.main')&&'paths'in module&&'paths'in eval('require.main')&&typeof __dirname!=='undefined'&&__dirname!==null)module.paths=eval('require.main.paths').concat(module.paths.filter(function(path){return eval('require.main.paths').includes(path)}))};if(typeof window==='undefined'||window===null)var window=(typeof global==='undefined'||global===null)?{}:global;!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/helpers/extends"),require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/regenerator"),require("clientnode"));else if("function"==typeof define&&define.amd)define(["@babel/runtime/helpers/asyncToGenerator","@babel/runtime/helpers/extends","@babel/runtime/helpers/inheritsLoose","@babel/runtime/regenerator","clientnode"],e);else{var o="object"==typeof exports?e(require("@babel/runtime/helpers/asyncToGenerator"),require("@babel/runtime/helpers/extends"),require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/regenerator"),require("clientnode")):e(t["@babel/runtime/helpers/asyncToGenerator"],t["@babel/runtime/helpers/extends"],t["@babel/runtime/helpers/inheritsLoose"],t["@babel/runtime/regenerator"],t.clientnode);for(var n in o)("object"==typeof exports?exports:t)[n]=o[n]}}(this,(function(t,e,o,n,i){return function(){"use strict";var r=[,,function(e){e.exports=t},function(t){t.exports=e},function(t){t.exports=o},function(t){t.exports=n},function(t){t.exports=i}],a={};function s(t){var e=a[t];if(void 0!==e)return e.exports;var o=a[t]={exports:{}};return r[t](o,o.exports,s),o.exports}s.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return s.d(e,{a:e}),e},s.d=function(t,e){for(var o in e)s.o(e,o)&&!s.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},s.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var l={};return function(){s.r(l),s.d(l,{WebsiteUtilities:function(){return T},default:function(){return x}});var t=s(2),e=s.n(t),o=s(3),n=s.n(o),i=s(4),r=s.n(i),a=s(5),d=s.n(a),c=s(6),u=s.n(c),p=function(){return p=Object.assign||function(t){for(var e,o=1,n=arguments.length;o<n;o++)for(var i in e=arguments[o])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},p.apply(this,arguments)},h={lines:12,length:7,width:5,radius:10,scale:1,corners:1,color:"#000",fadeColor:"transparent",animation:"spinner-line-fade-default",rotate:0,direction:1,speed:1,zIndex:2e9,className:"spinner",top:"50%",left:"50%",shadow:"0 0 1px transparent",position:"absolute"},m=function(){function t(t){void 0===t&&(t={}),this.opts=p(p({},h),t)}return t.prototype.spin=function(t){return this.stop(),this.el=document.createElement("div"),this.el.className=this.opts.className,this.el.setAttribute("role","progressbar"),f(this.el,{position:this.opts.position,width:0,zIndex:this.opts.zIndex,left:this.opts.left,top:this.opts.top,transform:"scale("+this.opts.scale+")"}),t&&t.insertBefore(this.el,t.firstChild||null),function(t,e){var o=Math.round(e.corners*e.width*500)/1e3+"px",n="none";!0===e.shadow?n="0 2px 4px #000":"string"==typeof e.shadow&&(n=e.shadow);for(var i=function(t){for(var e=/^\s*([a-zA-Z]+\s+)?(-?\d+(\.\d+)?)([a-zA-Z]*)\s+(-?\d+(\.\d+)?)([a-zA-Z]*)(.*)$/,o=[],n=0,i=t.split(",");n<i.length;n++){var r=i[n].match(e);if(null!==r){var a=+r[2],s=+r[5],l=r[4],d=r[7];0!==a||l||(l=d),0!==s||d||(d=l),l===d&&o.push({prefix:r[1]||"",x:a,y:s,xUnits:l,yUnits:d,end:r[8]})}}return o}(n),r=0;r<e.lines;r++){var a=~~(360/e.lines*r+e.rotate),s=f(document.createElement("div"),{position:"absolute",top:-e.width/2+"px",width:e.length+e.width+"px",height:e.width+"px",background:g(e.fadeColor,r),borderRadius:o,transformOrigin:"left",transform:"rotate("+a+"deg) translateX("+e.radius+"px)"}),l=r*e.direction/e.lines/e.speed;l-=1/e.speed;var d=f(document.createElement("div"),{width:"100%",height:"100%",background:g(e.color,r),borderRadius:o,boxShadow:w(i,a),animation:1/e.speed+"s linear "+l+"s infinite "+e.animation});s.appendChild(d),t.appendChild(s)}}(this.el,this.opts),this},t.prototype.stop=function(){return this.el&&("undefined"!=typeof requestAnimationFrame?cancelAnimationFrame(this.animateId):clearTimeout(this.animateId),this.el.parentNode&&this.el.parentNode.removeChild(this.el),this.el=void 0),this},t}();function f(t,e){for(var o in e)t.style[o]=e[o];return t}function g(t,e){return"string"==typeof t?t:t[e%t.length]}function w(t,e){for(var o=[],n=0,i=t;n<i.length;n++){var r=i[n],a=v(r.x,r.y,e);o.push(r.prefix+a[0]+r.xUnits+" "+a[1]+r.yUnits+r.end)}return o.join(", ")}function v(t,e,o){var n=o*Math.PI/180,i=Math.sin(n),r=Math.cos(n);return[Math.round(1e3*(t*r+e*i))/1e3,Math.round(1e3*(-t*i+e*r))/1e3]}function b(t,e){var o="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(o)return(o=o.call(t)).next.bind(o);if(Array.isArray(t)||(o=function(t,e){if(!t)return;if("string"==typeof t)return y(t,e);var o=Object.prototype.toString.call(t).slice(8,-1);"Object"===o&&t.constructor&&(o=t.constructor.name);if("Map"===o||"Set"===o)return Array.from(t);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return y(t,e)}(t))||e&&t&&"number"==typeof t.length){o&&(t=o);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var o=0,n=new Array(e);o<e;o++)n[o]=t[o];return n}var T=function(t){function o(){for(var e,o=arguments.length,n=new Array(o),i=0;i<o;i++)n[i]=arguments[i];return(e=t.call.apply(t,[this].concat(n))||this).options=null,e.$domNodes=null,e.currentMediaQueryMode="",e.currentSectionName="home",e.languageHandler=null,e.startUpAnimationIsComplete=!1,e.viewportIsOnTop=!1,e.windowLoaded=!1,e.windowLoadingSpinner=null,e._onViewportMovesToTop=u().debounce((function(){"hidden"===e.$domNodes.scrollToTopButton.css("visibility")?e.$domNodes.scrollToTopButton.css("opacity",0):(e.options.scrollToTop.button.hideAnimationOptions.always=function(){return e.$domNodes.scrollToTopButton.css({bottom:"-="+e.options.scrollToTop.button.slideDistanceInPixel,display:"none"})},e.$domNodes.scrollToTopButton.finish().animate({bottom:"+="+String(e.options.scrollToTop.button.slideDistanceInPixel),opacity:0},e.options.scrollToTop.button.hideAnimationOptions))})),e._onViewportMovesAwayFromTop=u().debounce((function(){"hidden"===e.$domNodes.scrollToTopButton.css("visibility")?e.$domNodes.scrollToTopButton.css("opacity",1):e.$domNodes.scrollToTopButton.finish().css({bottom:"+="+String(e.options.scrollToTop.button.slideDistanceInPixel),display:"block",opacity:0}).animate({bottom:"-="+String(e.options.scrollToTop.button.slideDistanceInPixel),queue:!1,opacity:1},e.options.scrollToTop.button.showAnimationOptions)})),e}r()(o,t);var i=o.prototype;return i.initialize=function(e){var n=this;return void 0===e&&(e={}),t.prototype.initialize.call(this,u().extend(!0,{},o._defaultOptions,e)),this.$domNodes=this.grabDomNodes(this.options.domNodes),this.disableScrolling(),new Promise((function(t){n.$domNodes.windowLoadingSpinner.length&&(n.windowLoadingSpinner=new m(n.options.windowLoadingSpinner),n.windowLoadingSpinner.spin(n.$domNodes.windowLoadingSpinner[0])),n._bindScrollEvents(),n.$domNodes.parent.show();var e=function(){n.windowLoaded||(n.windowLoaded=!0,n._removeLoadingCover().then((function(){n._performStartUpEffects(),t(n)})))};(0,c.$)((function(){u().timeout(e,n.options.windowLoadedTimeoutAfterDocLoadedInMSec)})),n.on(n.$domNodes.window,"load",e),n._bindClickTracking(),n.options.language.logging||(n.options.language.logging=n.options.logging),n.options.activateLanguageSupport&&!n.languageHandler&&(0,c.$)(n.$domNodes.parent).Internationalisation(n.options.language).then((function(t){n.languageHandler=t.data("Internationalisation")})),n._bindNavigationEvents(),n._bindMediaQueryChangeEvents(),n._triggerWindowResizeEvents()}))},i.scrollToTop=function(){return c.globalContext.document&&(0,c.$)("html, body").stop().animate({scrollTop:0},this.options.scrollToTop.options),this},i.disableScrolling=function(){return this.$domNodes.parent.addClass("disable-scrolling").on("touchmove",(function(t){return t.preventDefault()})),this},i.enableScrolling=function(){return this.$domNodes.parent.removeClass(["disable-scrolling","touchmove"]),this.off(this.$domNodes.parent),this},i.track=function(t){if(c.globalContext.window.location&&this.options.tracking){var e=n()({context:c.globalContext.window.location.pathname+"#"+this.currentSectionName},t);(isNaN(e.value)||"number"!=typeof e.value)&&(e.value=1),this.debug('Run tracking code: "event" with arguments:'),this.debug(e);try{this.options.tracking.track(e)}catch(t){this.warn('Problem in tracking "'+u().represent(e)+'": '+u().represent(t))}}return this},i._onChangeMediaQueryMode=function(t,e){},i._onChangeToLargeMode=function(t,e){},i._onChangeToMediumMode=function(t,e){},i._onChangeToSmallMode=function(t,e){},i._onChangeToExtraSmallMode=function(t,e){},i._onSwitchSection=function(t){var e;if(c.globalContext.window.location&&null!=(e=this.options.tracking)&&e.sectionSwitch&&this.currentSectionName!==t){this.currentSectionName=t,this.debug('Run section switch tracking on section "'+this.currentSectionName+'".');try{this.options.tracking.sectionSwitch.call(this,this.currentSectionName)}catch(t){this.warn('Problem due to track section switch to "'+this.currentSectionName+'": '+u().represent(t))}}},i._onStartUpAnimationComplete=function(){this.startUpAnimationIsComplete=!0},i._bindMediaQueryChangeEvents=function(){this.on(this.$domNodes.window,"resize",this._triggerWindowResizeEvents.bind(this))},i._triggerWindowResizeEvents=function(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];for(var n,i=b(this.options.mediaQueryClassNameIndicator);!(n=i()).done;){var r=n.value;this.$domNodes.mediaQueryIndicator.prependTo(this.$domNodes.parent).addClass("hidden-"+r[1]),this.$domNodes.mediaQueryIndicator.is(":hidden")&&r[0]!==this.currentMediaQueryMode&&(this.fireEvent.apply(this,["changeMediaQueryMode",!1,this,this.currentMediaQueryMode,r[0]].concat(e)),this.fireEvent.apply(this,["changeTo"+u().stringCapitalize(r[0])+"Mode",!1,this,this.currentMediaQueryMode,r[0]].concat(e)),this.currentMediaQueryMode=r[0]),this.$domNodes.mediaQueryIndicator.removeClass("hidden-"+r[1])}},i._bindScrollEvents=function(){for(var t=this,e=arguments.length,o=new Array(e),n=0;n<e;n++)o[n]=arguments[n];var i=(0,c.$)("body, html").add(this.$domNodes.window);i.on(this.options.knownScrollEventNames.join(" "),(function(e){t.options.switchToManualScrollingIndicator(e)&&i.stop(!0)})),this.on(this.$domNodes.window,"scroll",(function(){t.$domNodes.window.scrollTop()?t.viewportIsOnTop&&(t.viewportIsOnTop=!1,t.fireEvent.apply(t,["viewportMovesAwayFromTop",!1,t].concat(o))):t.viewportIsOnTop||(t.viewportIsOnTop=!0,t.fireEvent.apply(t,["viewportMovesToTop",!1,t].concat(o)))})),this.$domNodes.window.scrollTop()?(this.viewportIsOnTop=!1,this.fireEvent.apply(this,["viewportMovesAwayFromTop",!1,this].concat(o))):(this.viewportIsOnTop=!0,this.fireEvent.apply(this,["viewportMovesToTop",!1,this].concat(o)))},i._removeLoadingCover=function(){var t=e()(d().mark((function t(){var e=this;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,u().timeout(this.options.additionalPageLoadingTimeInMilliseconds);case 2:return(0,c.$)(u().stringFormat('[class^="{1}"], [class*=" {1}"]',this.sliceDomNodeSelectorPrefix(this.options.domNodes.startUpAnimationClassPrefix).substr(1))).css(this.options.startUpHide),t.next=5,new Promise((function(t){e.$domNodes.windowLoadingCover.length?(e.enableScrolling(),e.$domNodes.windowLoadingCover.animate(e.options.windowLoadingCoverHideAnimation,{always:function(){return t()}})):t()}));case 5:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}(),i._performStartUpEffects=function(){var t=e()(d().mark((function t(e){var o,n=this;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===e&&(e=1),this.$domNodes.windowLoadingCover.hide(),this.windowLoadingSpinner&&this.windowLoadingSpinner.stop(),!(0,c.$)(u().stringFormat('[class^="{1}"], [class*=" {1}"]',this.sliceDomNodeSelectorPrefix(this.options.domNodes.startUpAnimationClassPrefix).substr(1))).length){t.next=17;break}return t.next=6,u().timeout(this.options.startUpAnimationElementDelayInMiliseconds);case 6:if(o=!1,(0,c.$)(this.options.domNodes.startUpAnimationClassPrefix+""+e).animate(this.options.startUpShowAnimation,{always:function(){o&&n.fireEvent("startUpAnimationComplete")}}),!(0,c.$)(this.options.domNodes.startUpAnimationClassPrefix+""+(e+1)).length){t.next=14;break}return t.next=12,this._performStartUpEffects(e+1);case 12:t.next=15;break;case 14:o=!0;case 15:t.next=18;break;case 17:this.fireEvent("startUpAnimationComplete");case 18:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}(),i._bindNavigationEvents=function(){var t=this;c.globalContext.window.addEventListener("hashchange",(function(e){t.startUpAnimationIsComplete&&t.fireEvent("switchSection",!1,t,location.hash.substring("#".length),e)}),!1),this._bindScrollToTopButton()},i._bindScrollToTopButton=function(){var t=this;this.on(this.$domNodes.scrollToTopButton,"click",(function(e){e.preventDefault(),t.scrollToTop()}))},i._bindClickTracking=function(){var t=this;this.options.tracking&&(this.options.tracking.linkClick&&this.on(this.$domNodes.parent.find("a"),"click",(function(e){return t.options.tracking.linkClick.call(t,(0,c.$)(e.target),e)})),this.options.tracking.buttonClick&&this.on(this.$domNodes.parent.find("button"),"click",(function(e){return t.options.tracking.buttonClick.call(t,(0,c.$)(e.target),e)})))},o}(u());T._defaultOptions={activateLanguageSupport:!0,additionalPageLoadingTimeInMilliseconds:0,domain:"auto",domNodes:{mediaQueryIndicator:'<div class="wu-media-query-indicator">',scrollToTopButton:'a[href="#top"]',startUpAnimationClassPrefix:".wu-start-up-animation-number-",top:"header",windowLoadingCover:".window-loading-cover, .wu-window-loading-cover",windowLoadingSpinner:".window-loading-cover > div, .wu-window-loading-cover > div"},domNodeSelectorInfix:"wu",domNodeSelectorPrefix:"body.{1}",initialSectionName:"home",knownScrollEventNames:["DOMMouseScroll","keyup","mousedown","mousewheel","scroll","touchmove","wheel"],language:{},mediaQueryClassNameIndicator:[["extraSmall","xs"],["small","sm"],["medium","md"],["large","lg"]],name:"WebsiteUtilities",onChangeMediaQueryMode:u().noop,onChangeToExtraSmallMode:u().noop,onChangeToLargeMode:u().noop,onChangeToMediumMode:u().noop,onChangeToSmallMode:u().noop,onViewportMovesAwayFromTop:u().noop,onViewportMovesToTop:u().noop,onSwitchSection:u().noop,onStartUpAnimationComplete:u().noop,scrollToTop:{button:{hideAnimationOptions:{},showAnimationOptions:{},slideDistanceInPixel:30},options:{duration:"fast"}},startUpAnimationElementDelayInMiliseconds:100,startUpHide:{opacity:0},startUpShowAnimation:{opacity:1},switchToManualScrollingIndicator:function(t){return"number"==typeof t.which&&t.which>0||"mousedown"===t.type||"mousewheel"===t.type||"touchmove"===t.type},tracking:{buttonClick:function(t,e){this.track({event:"buttonClick",eventType:"click",label:t.text(),reference:t.attr("action")||t.attr("target")||t.attr("type")||t.text(),subject:"button",value:parseInt(t.attr("website-analytics-value")),userInteraction:!0})},linkClick:function(t,e){this.track({event:"linkClick",eventType:"click",label:t.text(),reference:t.attr("href")||t.attr("action")||t.attr("target")||t.attr("type")||t.text(),subject:"link",value:parseInt(t.attr("website-analytics-value")),userInteraction:!0})},sectionSwitch:function(t){this.track({event:"sectionSwitch",eventType:"sectionSwitch",label:t,reference:c.globalContext.window.location.pathname+"#"+t,subject:"url",userInteraction:!1})},track:function(t){var e;null==(e=c.globalContext.dataLayer)||e.push(t)}},windowLoadingCoverHideAnimation:{opacity:0},windowLoadingSpinner:{animation:"spinner-line-fade-quick",className:"spinner",color:"#000",corners:1,direction:1,fadeColor:"transparent",left:"auto",length:23,lines:9,position:"absolute",radius:40,rotate:0,scale:1,shadow:!1,speed:1.1,top:"auto",width:11,zIndex:2e9},windowLoadedTimeoutAfterDocLoadedInMSec:2e3};var x=T;c.$.WebsiteUtilities=function(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return u().controller(T,e)},c.$.WebsiteUtilities.class=T}(),l}()}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "website-utilities",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.286",
|
|
4
4
|
"description": "extend your web app",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jquery",
|
|
@@ -23,10 +23,9 @@
|
|
|
23
23
|
"deploy.js",
|
|
24
24
|
"index.d.ts",
|
|
25
25
|
"index.js",
|
|
26
|
-
"index.css",
|
|
27
26
|
"index.compiled.css",
|
|
28
|
-
"
|
|
29
|
-
"
|
|
27
|
+
"fonts",
|
|
28
|
+
"fonts.compiled",
|
|
30
29
|
"type.d.ts"
|
|
31
30
|
],
|
|
32
31
|
"bin": {
|
|
@@ -49,7 +48,7 @@
|
|
|
49
48
|
"deploy": "./deploy.js",
|
|
50
49
|
"document": "weboptimizer document",
|
|
51
50
|
"lint": "weboptimizer lint",
|
|
52
|
-
"postversion": "yarn publish --non-interactive
|
|
51
|
+
"postversion": "yarn publish --non-interactive; git push --tags && git push",
|
|
53
52
|
"prepare": "yarn build",
|
|
54
53
|
"serve": "weboptimizer serve",
|
|
55
54
|
"start": "yarn serve",
|
|
@@ -90,14 +89,16 @@
|
|
|
90
89
|
"postcss-fontpath": "*",
|
|
91
90
|
"postcss-import": "<=12",
|
|
92
91
|
"postcss-loader": "*",
|
|
93
|
-
"postcss-nested": "*",
|
|
94
92
|
"postcss-preset-env": "*",
|
|
93
|
+
"postcss-scss": "*",
|
|
95
94
|
"postcss-sprites": "*",
|
|
96
95
|
"postcss-url": "<=9",
|
|
96
|
+
"sass": "*",
|
|
97
|
+
"sass-loader": "*",
|
|
97
98
|
"spin.js": "*",
|
|
98
99
|
"style-loader": "*",
|
|
99
100
|
"stylelint": "*",
|
|
100
|
-
"stylelint-config-standard": "*",
|
|
101
|
+
"stylelint-config-standard-scss": "*",
|
|
101
102
|
"weboptimizer": "*",
|
|
102
103
|
"webpack-dev-server": "*"
|
|
103
104
|
},
|
|
@@ -139,6 +140,22 @@
|
|
|
139
140
|
},
|
|
140
141
|
"webOptimizer": {
|
|
141
142
|
"commandLine": {
|
|
143
|
+
"lint": {
|
|
144
|
+
"__remove__": "__0__",
|
|
145
|
+
"__prepend__": {
|
|
146
|
+
"arguments": [
|
|
147
|
+
{
|
|
148
|
+
"__evaluate__": "path.resolve(self.path.source.asset.cascadingStyleSheet, '**/*.scss')"
|
|
149
|
+
},
|
|
150
|
+
"--config",
|
|
151
|
+
{
|
|
152
|
+
"__evaluate__": "path.relative(self.path.context, path.resolve(webOptimizerPath, 'stylelintConfigurator.js'))"
|
|
153
|
+
}
|
|
154
|
+
],
|
|
155
|
+
"command": "stylelint",
|
|
156
|
+
"indicator": "self.needed.cascadingStyleSheet"
|
|
157
|
+
}
|
|
158
|
+
},
|
|
142
159
|
"test": {
|
|
143
160
|
"environments": [
|
|
144
161
|
"jsdom"
|
|
@@ -149,6 +166,10 @@
|
|
|
149
166
|
"autoExclude": {
|
|
150
167
|
"__append__": "./deploy.ts"
|
|
151
168
|
},
|
|
169
|
+
"chunks": false,
|
|
170
|
+
"entry": {
|
|
171
|
+
"__evaluate__": "2 < self.givenCommandLineArguments.length && self.givenCommandLineArguments[2].startsWith('test') ? {testBundle: './test'} : {index: ['./index.scss', './index.ts']}"
|
|
172
|
+
},
|
|
152
173
|
"external": {
|
|
153
174
|
"implicit": {
|
|
154
175
|
"pattern": {
|
|
@@ -166,12 +187,12 @@
|
|
|
166
187
|
"path": {
|
|
167
188
|
"source": {
|
|
168
189
|
"asset": {
|
|
169
|
-
"font": "
|
|
190
|
+
"font": "fonts/"
|
|
170
191
|
}
|
|
171
192
|
},
|
|
172
193
|
"target": {
|
|
173
194
|
"asset": {
|
|
174
|
-
"font": "
|
|
195
|
+
"font": "fonts.compiled/"
|
|
175
196
|
}
|
|
176
197
|
}
|
|
177
198
|
},
|
|
@@ -186,11 +207,9 @@
|
|
|
186
207
|
"preprocessor": {
|
|
187
208
|
"cascadingStyleSheet": {
|
|
188
209
|
"additional": {
|
|
189
|
-
"
|
|
190
|
-
"
|
|
191
|
-
|
|
192
|
-
}
|
|
193
|
-
}
|
|
210
|
+
"post": [
|
|
211
|
+
"{loader: 'sass-loader'}"
|
|
212
|
+
]
|
|
194
213
|
}
|
|
195
214
|
},
|
|
196
215
|
"javaScript": {
|
package/type.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="jquery" />
|
|
1
2
|
import { DomNodes as BaseDomNodes, FirstParameter, Mapping, Options as BaseOptions, ProcedureFunction, $T } from 'clientnode/type';
|
|
2
3
|
import { Options as InternationalisationOptions } from 'internationalisation/type';
|
|
3
4
|
import { SpinnerOptions } from 'spin.js';
|
package/deploy.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
// -*- coding: utf-8 -*-
|
|
3
|
-
'use strict';if(typeof module!=='undefined'&&module!==null&&eval('typeof require')!=='undefined'&&eval('require')!==null&&'main'in eval('require')&&eval('typeof require.main')!=='undefined'&&eval('require.main')!==null){var ORIGINAL_MAIN_MODULE=module;if(module!==eval('require.main')&&'paths'in module&&'paths'in eval('require.main')&&typeof __dirname!=='undefined'&&__dirname!==null)module.paths=eval('require.main.paths').concat(module.paths.filter(function(path){return eval('require.main.paths').includes(path)}))};(()=>{"use strict";var e={r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},o={};e.r(o);const c=require("child_process"),i=require("path"),t=(e,o={})=>(0,c.execSync)(e,{encoding:"utf-8",shell:"/bin/bash",...o});if(t("git branch").includes("* master")){console.info("Build new web page."),t("yarn build");const e=t("pwd"),o=(0,i.resolve)(e,"../",`${(0,i.basename)(e)}.github.io`);let c="./",d="./";t("git branch").includes("gh-pages")?(console.info("Checkout distribution branch."),t("git checkout gh-pages")):o?(c=`${o}/build/`,d=o):console.warn("No website target found."),console.info("Update page data."),t(`\n rsync './build/' '${c}' $ILU_RSYNC_DEFAULT_ARGUMENTS --exclude=CNAME --exclude='.*' --exclude=node_modules --exclude=readme.md --exclude=./build\n `),t("rm --recursive --force ./build"),console.info("Upload compiled webpage"),t("git pull",{cwd:d}),t("git add --all",{cwd:d}),t("git commit --message 'Automatic page build update.'",{cwd:d}),t("git push",{cwd:d}),t("git branch").includes("gh-pages")?console.info("Switch back to source directory."):(console.info("Switch back to master branch."),t("git checkout master"))}module.exports=o})();
|
package/index.css
DELETED
|
@@ -1,510 +0,0 @@
|
|
|
1
|
-
/* !/usr/bin/env css
|
|
2
|
-
-*- coding: utf-8 -*- */
|
|
3
|
-
/* region header
|
|
4
|
-
Copyright Torben Sickert (info["~at~"]torben.website) 16.12.2012
|
|
5
|
-
|
|
6
|
-
License
|
|
7
|
-
-------
|
|
8
|
-
|
|
9
|
-
This library written by Torben Sickert stand under a creative commons naming
|
|
10
|
-
3.0 unported license. See https://creativecommons.org/licenses/by/3.0/deed.de
|
|
11
|
-
endregion */
|
|
12
|
-
/* region font */
|
|
13
|
-
/** region open sans */
|
|
14
|
-
/*** region light */
|
|
15
|
-
@font-face {
|
|
16
|
-
font-family: open-sans;
|
|
17
|
-
/* stylelint-disable property-no-unknown */
|
|
18
|
-
font-path: "font/open-sans/light/open-sans-light";
|
|
19
|
-
/* stylelint-enable property-no-unknown */
|
|
20
|
-
font-weight: 300;
|
|
21
|
-
font-style: normal;
|
|
22
|
-
}
|
|
23
|
-
/*** endregion */
|
|
24
|
-
/*** region light italic */
|
|
25
|
-
@font-face {
|
|
26
|
-
font-family: open-sans;
|
|
27
|
-
/* stylelint-disable property-no-unknown */
|
|
28
|
-
font-path: "font/open-sans/light-italic/open-sans-light-italic";
|
|
29
|
-
/* stylelint-enable property-no-unknown */
|
|
30
|
-
font-weight: 300;
|
|
31
|
-
font-style: italic;
|
|
32
|
-
}
|
|
33
|
-
/*** endregion */
|
|
34
|
-
/*** region regular */
|
|
35
|
-
@font-face {
|
|
36
|
-
font-family: open-sans;
|
|
37
|
-
/* stylelint-disable property-no-unknown */
|
|
38
|
-
font-path: "font/open-sans/regular/open-sans-regular";
|
|
39
|
-
/* stylelint-enable property-no-unknown */
|
|
40
|
-
font-weight: normal;
|
|
41
|
-
font-style: normal;
|
|
42
|
-
}
|
|
43
|
-
/*** endregion */
|
|
44
|
-
/*** region italic */
|
|
45
|
-
@font-face {
|
|
46
|
-
font-family: open-sans;
|
|
47
|
-
/* stylelint-disable property-no-unknown */
|
|
48
|
-
font-path: "font/open-sans/italic/open-sans-italic";
|
|
49
|
-
/* stylelint-enable property-no-unknown */
|
|
50
|
-
font-weight: normal;
|
|
51
|
-
font-style: italic;
|
|
52
|
-
}
|
|
53
|
-
/*** endregion */
|
|
54
|
-
/*** region semi-bold */
|
|
55
|
-
@font-face {
|
|
56
|
-
font-family: open-sans;
|
|
57
|
-
/* stylelint-disable property-no-unknown */
|
|
58
|
-
font-path: "font/open-sans/semi-bold/open-sans-semi-bold";
|
|
59
|
-
/* stylelint-enable property-no-unknown */
|
|
60
|
-
font-weight: 600;
|
|
61
|
-
font-style: normal;
|
|
62
|
-
}
|
|
63
|
-
/*** endregion */
|
|
64
|
-
/*** region semi-bold italic */
|
|
65
|
-
@font-face {
|
|
66
|
-
font-family: open-sans;
|
|
67
|
-
/* stylelint-disable property-no-unknown */
|
|
68
|
-
font-path: "font/open-sans/semi-bold-italic/open-sans-semi-bold-italic";
|
|
69
|
-
/* stylelint-enable property-no-unknown */
|
|
70
|
-
font-weight: 600;
|
|
71
|
-
font-style: italic;
|
|
72
|
-
}
|
|
73
|
-
/*** endregion */
|
|
74
|
-
/*** region bold */
|
|
75
|
-
@font-face {
|
|
76
|
-
font-family: open-sans;
|
|
77
|
-
/* stylelint-disable property-no-unknown */
|
|
78
|
-
font-path: "font/open-sans/bold/open-sans-bold";
|
|
79
|
-
/* stylelint-enable property-no-unknown */
|
|
80
|
-
font-weight: bold;
|
|
81
|
-
font-style: normal;
|
|
82
|
-
}
|
|
83
|
-
/*** endregion */
|
|
84
|
-
/*** region bold italic */
|
|
85
|
-
@font-face {
|
|
86
|
-
font-family: open-sans;
|
|
87
|
-
/* stylelint-disable property-no-unknown */
|
|
88
|
-
font-path: "font/open-sans/bold-italic/open-sans-bold-italic";
|
|
89
|
-
/* stylelint-enable property-no-unknown */
|
|
90
|
-
font-weight: bold;
|
|
91
|
-
font-style: italic;
|
|
92
|
-
}
|
|
93
|
-
/*** endregion */
|
|
94
|
-
/*** region extrabold */
|
|
95
|
-
@font-face {
|
|
96
|
-
font-family: open-sans;
|
|
97
|
-
/* stylelint-disable property-no-unknown */
|
|
98
|
-
font-path: "font/open-sans/extra-bold/open-sans-extra-bold";
|
|
99
|
-
/* stylelint-enable property-no-unknown */
|
|
100
|
-
font-weight: 800;
|
|
101
|
-
font-style: normal;
|
|
102
|
-
}
|
|
103
|
-
/*** endregion */
|
|
104
|
-
/*** region extrabold italic */
|
|
105
|
-
@font-face {
|
|
106
|
-
font-family: open-sans;
|
|
107
|
-
/* stylelint-disable property-no-unknown */
|
|
108
|
-
font-path: "font/open-sans/extra-bold-italic/open-sans-extra-bold-italic";
|
|
109
|
-
/* stylelint-enable property-no-unknown */
|
|
110
|
-
font-weight: 800;
|
|
111
|
-
font-style: italic;
|
|
112
|
-
}
|
|
113
|
-
/*** endregion */
|
|
114
|
-
/** endregion */
|
|
115
|
-
/** region open sans condensed */
|
|
116
|
-
/*** region bold */
|
|
117
|
-
@font-face {
|
|
118
|
-
font-family: open-sans-condensed;
|
|
119
|
-
/* stylelint-disable property-no-unknown */
|
|
120
|
-
font-path: "font/open-sans-condensed/condensed-bold/open-sans-condensed-bold";
|
|
121
|
-
/* stylelint-enable property-no-unknown */
|
|
122
|
-
font-weight: bold;
|
|
123
|
-
font-style: normal;
|
|
124
|
-
}
|
|
125
|
-
/*** endregion */
|
|
126
|
-
/*** region open sans light */
|
|
127
|
-
@font-face {
|
|
128
|
-
font-family: open-sans-condensed;
|
|
129
|
-
/* stylelint-disable property-no-unknown */
|
|
130
|
-
font-path: "font/open-sans-condensed/condensed-light/open-sans-condensed-light";
|
|
131
|
-
/* stylelint-enable property-no-unknown */
|
|
132
|
-
font-weight: 300;
|
|
133
|
-
font-style: normal;
|
|
134
|
-
}
|
|
135
|
-
/*** endregion */
|
|
136
|
-
/*** region open sans italic */
|
|
137
|
-
@font-face {
|
|
138
|
-
font-family: open-sans-condensed;
|
|
139
|
-
/* stylelint-disable property-no-unknown */
|
|
140
|
-
font-path: "font/open-sans-condensed/condensed-light-italic/open-sans-condensed-light-italic";
|
|
141
|
-
/* stylelint-enable property-no-unknown */
|
|
142
|
-
font-weight: 300;
|
|
143
|
-
font-style: italic;
|
|
144
|
-
}
|
|
145
|
-
/*** endregion */
|
|
146
|
-
/** endregion */
|
|
147
|
-
/** region glyphicons halflings */
|
|
148
|
-
@font-face {
|
|
149
|
-
font-family: "Glyphicons Halflings";
|
|
150
|
-
/* stylelint-disable property-no-unknown */
|
|
151
|
-
font-path: "font/glyphicons-halflings/glyphicons-halflings-regular";
|
|
152
|
-
/* stylelint-enable property-no-unknown */
|
|
153
|
-
}
|
|
154
|
-
/** endregion */
|
|
155
|
-
/** region glyphicons social regular */
|
|
156
|
-
@font-face {
|
|
157
|
-
font-family: "Glyphicons Social Regular";
|
|
158
|
-
/* stylelint-disable property-no-unknown */
|
|
159
|
-
font-path: "font/glyphicons-halflings/glyphicons-halflings-social-regular";
|
|
160
|
-
/* stylelint-enable property-no-unknown */
|
|
161
|
-
}
|
|
162
|
-
/** endregion */
|
|
163
|
-
/* endregion */
|
|
164
|
-
.wu {
|
|
165
|
-
/* region constants */
|
|
166
|
-
--default-space: 20px;
|
|
167
|
-
/** region dimensions */
|
|
168
|
-
--extra-extra-small-width: 360px;
|
|
169
|
-
--extra-small-width: 500px;
|
|
170
|
-
--small-width: 768px;
|
|
171
|
-
--medium-width: 992px;
|
|
172
|
-
--large-width: 1200px;
|
|
173
|
-
/*** region extra small dimension */
|
|
174
|
-
/*
|
|
175
|
-
@custom-media --extra-extra-small (min-width: var(--extra-extra-small-width));
|
|
176
|
-
@custom-media --extra-small (min-width: var(--extra-small-width));
|
|
177
|
-
*/
|
|
178
|
-
@custom-media --extra-extra-small (min-width: 360px);
|
|
179
|
-
@custom-media --extra-small (min-width: 500px);
|
|
180
|
-
/*** endregion */
|
|
181
|
-
/*** region default media query dimensions */
|
|
182
|
-
/*
|
|
183
|
-
@custom-media --small (min-width: var(--small-width));
|
|
184
|
-
@custom-media --medium (min-width: var(--medium-width));
|
|
185
|
-
@custom-media --large (min-width: var(--large-width));
|
|
186
|
-
*/
|
|
187
|
-
@custom-media --small (min-width: 768px);
|
|
188
|
-
@custom-media --medium (min-width: 992px);
|
|
189
|
-
@custom-media --large (min-width: 1200px);
|
|
190
|
-
/*** endregion */
|
|
191
|
-
/** endregion */
|
|
192
|
-
/** region color */
|
|
193
|
-
--background-color: #fff;
|
|
194
|
-
--disabled-color: #eee;
|
|
195
|
-
--font-color: #555;
|
|
196
|
-
--border-color: #ccc;
|
|
197
|
-
/** endregion */
|
|
198
|
-
/** region font */
|
|
199
|
-
--font-family: "Open Sans", open-sans, sans-serif;
|
|
200
|
-
--font-family-condensed: "Open Sans Condensed", open-sans-condensed, sans-serif;
|
|
201
|
-
/** endregion */
|
|
202
|
-
/* endregion */
|
|
203
|
-
margin: 0;
|
|
204
|
-
|
|
205
|
-
font-family: var(--font-family);
|
|
206
|
-
font-size: 14px;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
.wu-lang-replacement,
|
|
210
|
-
.wu lang-replacement {
|
|
211
|
-
display: none;
|
|
212
|
-
}
|
|
213
|
-
/* region generic dom nodes */
|
|
214
|
-
/** region headline */
|
|
215
|
-
.wu-h1,
|
|
216
|
-
.wu h1,
|
|
217
|
-
.wu-h2,
|
|
218
|
-
.wu h2,
|
|
219
|
-
.wu-h3,
|
|
220
|
-
.wu h3,
|
|
221
|
-
.wu-h4,
|
|
222
|
-
.wu h4,
|
|
223
|
-
.wu-h5,
|
|
224
|
-
.wu h5,
|
|
225
|
-
.wu-h6,
|
|
226
|
-
.wu h6 {
|
|
227
|
-
font-family: var(--font-family);
|
|
228
|
-
line-height: 1.1;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
.wu-h1,
|
|
232
|
-
.wu h1,
|
|
233
|
-
.wu-h2,
|
|
234
|
-
.wu h2 {
|
|
235
|
-
font-family: var(--font-family-condensed);
|
|
236
|
-
font-weight: normal;
|
|
237
|
-
font-size: 3em;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
.wu-h2,
|
|
241
|
-
.wu h2 {
|
|
242
|
-
font-size: 2em;
|
|
243
|
-
}
|
|
244
|
-
/** endregion */
|
|
245
|
-
/** region link */
|
|
246
|
-
a.wu-a,
|
|
247
|
-
.wu a,
|
|
248
|
-
a.wu-a:hover,
|
|
249
|
-
.wu a:hover,
|
|
250
|
-
a.wu-a:focus,
|
|
251
|
-
.wu a:focus,
|
|
252
|
-
a.wu-a:visited,
|
|
253
|
-
.wu a:visited {
|
|
254
|
-
outline: none;
|
|
255
|
-
text-decoration: none;
|
|
256
|
-
}
|
|
257
|
-
/** endregion */
|
|
258
|
-
/* endregion */
|
|
259
|
-
/* region generic classes */
|
|
260
|
-
/* Disables and hides a scrolling and scrollbar. */
|
|
261
|
-
.tools-disable-scrolling {
|
|
262
|
-
height: 100% !important;
|
|
263
|
-
overflow: hidden !important;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
.wu-action,
|
|
267
|
-
.wu .action {
|
|
268
|
-
cursor: pointer;
|
|
269
|
-
}
|
|
270
|
-
/* Overlay the whole page till everything is loaded completely. */
|
|
271
|
-
.wu-window-loading-cover,
|
|
272
|
-
.wu .window-loading-cover {
|
|
273
|
-
background-color: var(--background-color);
|
|
274
|
-
/* always cover full viewport */
|
|
275
|
-
position: fixed;
|
|
276
|
-
height: 100%;
|
|
277
|
-
width: 100%;
|
|
278
|
-
z-index: 1002 !important;
|
|
279
|
-
|
|
280
|
-
& > div {
|
|
281
|
-
/* Positioning the loading spinner in center in the loading overlay. */
|
|
282
|
-
position: absolute;
|
|
283
|
-
top: 50%;
|
|
284
|
-
left: 50%;
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
/** region icons */
|
|
288
|
-
.wu-icon,
|
|
289
|
-
.wu .icon,
|
|
290
|
-
.wu-icon-social,
|
|
291
|
-
.wu .icon-social {
|
|
292
|
-
font-family: "Glyphicons Halflings", sans-serif;
|
|
293
|
-
font-style: normal;
|
|
294
|
-
font-weight: 400;
|
|
295
|
-
|
|
296
|
-
line-height: 1;
|
|
297
|
-
|
|
298
|
-
display: inline-block;
|
|
299
|
-
position: relative;
|
|
300
|
-
|
|
301
|
-
text-decoration: none;
|
|
302
|
-
|
|
303
|
-
top: 1px;
|
|
304
|
-
vertical-align: middle;
|
|
305
|
-
|
|
306
|
-
zoom: 1;
|
|
307
|
-
|
|
308
|
-
-webkit-font-smoothing: antialiased;
|
|
309
|
-
-moz-osx-font-smoothing: grayscale;
|
|
310
|
-
|
|
311
|
-
&::before {
|
|
312
|
-
font-family: "Glyphicons Halflings", sans-serif;
|
|
313
|
-
|
|
314
|
-
display: inline-block;
|
|
315
|
-
|
|
316
|
-
left: 0;
|
|
317
|
-
margin: 0 5px 0 0;
|
|
318
|
-
position: absolute;
|
|
319
|
-
top: 0;
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
.wu-icon,
|
|
324
|
-
.wu .icon {
|
|
325
|
-
&-arrow-left::before { content: "\E091"; }
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
.wu-icon-social,
|
|
329
|
-
.wu .icon-social {
|
|
330
|
-
&::before {
|
|
331
|
-
font: 24px/1em "Glyphicons Social Regular", sans-serif;
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
&-white::before { color: #fff; }
|
|
335
|
-
&-pinterest::before { content: "\E001"; }
|
|
336
|
-
&-dropbox::before { content: "\E002"; }
|
|
337
|
-
&-google_plus::before { content: "\E003"; }
|
|
338
|
-
&-jolicloud::before { content: "\E004"; }
|
|
339
|
-
&-yahoo::before { content: "\E005"; }
|
|
340
|
-
&-blogger::before { content: "\E006"; }
|
|
341
|
-
&-picasa::before { content: "\E007"; }
|
|
342
|
-
&-amazon::before { content: "\E008"; }
|
|
343
|
-
&-tumblr::before { content: "\E009"; }
|
|
344
|
-
&-wordpress::before { content: "\E010"; }
|
|
345
|
-
&-instapaper::before { content: "\E011"; }
|
|
346
|
-
&-evernote::before { content: "\E012"; }
|
|
347
|
-
&-xing::before { content: "\E013"; }
|
|
348
|
-
&-zootool::before { content: "\E014"; }
|
|
349
|
-
&-dribbble::before { content: "\E015"; }
|
|
350
|
-
&-deviantart::before { content: "\E016"; }
|
|
351
|
-
&-read_it_later::before { content: "\E017"; }
|
|
352
|
-
&-linked_in::before { content: "\E018"; }
|
|
353
|
-
&-forrst::before { content: "\E019"; }
|
|
354
|
-
&-pinboard::before { content: "\E020"; }
|
|
355
|
-
&-behance::before { content: "\E021"; }
|
|
356
|
-
&-github::before { content: "\E022"; }
|
|
357
|
-
&-youtube::before { content: "\E023"; }
|
|
358
|
-
&-skitch::before { content: "\E024"; }
|
|
359
|
-
&-foursquare::before { content: "\E025"; }
|
|
360
|
-
&-quora::before { content: "\E026"; }
|
|
361
|
-
&-badoo::before { content: "\E027"; }
|
|
362
|
-
&-spotify::before { content: "\E028"; }
|
|
363
|
-
&-stumbleupon::before { content: "\E029"; }
|
|
364
|
-
&-readability::before { content: "\E030"; }
|
|
365
|
-
&-facebook::before { content: "\E031"; }
|
|
366
|
-
&-twitter::before { content: "\E032"; }
|
|
367
|
-
&-instagram::before { content: "\E033"; }
|
|
368
|
-
&-posterous_spaces::before { content: "\E034"; }
|
|
369
|
-
&-vimeo::before { content: "\E035"; }
|
|
370
|
-
&-flickr::before { content: "\E036"; }
|
|
371
|
-
&-last_fm::before { content: "\E037"; }
|
|
372
|
-
&-rss::before { content: "\E038"; }
|
|
373
|
-
&-skype::before { content: "\E039"; }
|
|
374
|
-
&-e-mail::before { content: "\E040"; }
|
|
375
|
-
&-vine::before { content: "\E041"; }
|
|
376
|
-
&-myspace::before { content: "\E042"; }
|
|
377
|
-
&-goodreads::before { content: "\E043"; }
|
|
378
|
-
&-apple::before { content: "\F8FF"; }
|
|
379
|
-
&-windows::before { content: "\E045"; }
|
|
380
|
-
&-yelp::before { content: "\E046"; }
|
|
381
|
-
&-playstation::before { content: "\E047"; }
|
|
382
|
-
&-xbox::before { content: "\E048"; }
|
|
383
|
-
&-android::before { content: "\E049"; }
|
|
384
|
-
&-ios::before { content: "\E050"; }
|
|
385
|
-
}
|
|
386
|
-
/** endregion */
|
|
387
|
-
/** region form */
|
|
388
|
-
/*** region styled select */
|
|
389
|
-
.wu-select,
|
|
390
|
-
.wu .select {
|
|
391
|
-
position: relative;
|
|
392
|
-
|
|
393
|
-
&__arrow {
|
|
394
|
-
position: absolute;
|
|
395
|
-
top: 3px;
|
|
396
|
-
right: 15px;
|
|
397
|
-
pointer-events: none;
|
|
398
|
-
|
|
399
|
-
& span {
|
|
400
|
-
vertical-align: bottom;
|
|
401
|
-
font-size: 10px;
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
& select {
|
|
406
|
-
position: initial !important;
|
|
407
|
-
padding-left: 7px !important;
|
|
408
|
-
padding-right: 25px !important;
|
|
409
|
-
/* hide default down arrow in IE10 */
|
|
410
|
-
&::-ms-expand { display: none; }
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
|
-
/*** endregion */
|
|
414
|
-
/*** region styled checkbox */
|
|
415
|
-
.wu-checkbox,
|
|
416
|
-
.wu .checkbox {
|
|
417
|
-
margin-top: 2px;
|
|
418
|
-
padding-top: 3px;
|
|
419
|
-
|
|
420
|
-
& label {
|
|
421
|
-
padding-left: 40px;
|
|
422
|
-
|
|
423
|
-
& .checkbox__wrapper {
|
|
424
|
-
margin-top: -2px;
|
|
425
|
-
margin-left: -40px;
|
|
426
|
-
position: absolute;
|
|
427
|
-
|
|
428
|
-
& .checkbox__wrapper__styled {
|
|
429
|
-
border-radius: 4px;
|
|
430
|
-
border: 2px solid var(--border-color);
|
|
431
|
-
cursor: pointer;
|
|
432
|
-
float: right;
|
|
433
|
-
height: 25px;
|
|
434
|
-
padding: 0;
|
|
435
|
-
width: 25px;
|
|
436
|
-
|
|
437
|
-
& .checkbox__wrapper__styled__checked {
|
|
438
|
-
background: transparent;
|
|
439
|
-
border: 3px solid var(--font-color);
|
|
440
|
-
border-top: none;
|
|
441
|
-
border-right: none;
|
|
442
|
-
height: 8px;
|
|
443
|
-
left: 4px;
|
|
444
|
-
opacity: 0;
|
|
445
|
-
position: absolute;
|
|
446
|
-
top: 5px;
|
|
447
|
-
transform: rotate(-45deg);
|
|
448
|
-
width: 13px;
|
|
449
|
-
}
|
|
450
|
-
}
|
|
451
|
-
|
|
452
|
-
& input[type="checkbox"] {
|
|
453
|
-
display: none;
|
|
454
|
-
|
|
455
|
-
&:checked ~ span.checkbox-styled > span {
|
|
456
|
-
&.checkbox-styled-checked {
|
|
457
|
-
opacity: 1;
|
|
458
|
-
}
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
&:disabled ~ span.checkbox-styled {
|
|
462
|
-
background-color: var(--disabled-color);
|
|
463
|
-
}
|
|
464
|
-
}
|
|
465
|
-
}
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
|
-
/*** endregion */
|
|
469
|
-
/** endregion */
|
|
470
|
-
/* endregion */
|
|
471
|
-
/* Initially hide/show javaScript dependent dom nodes. */
|
|
472
|
-
.tools-hidden-on-javascript-enabled { display: none; }
|
|
473
|
-
.tools-visible-on-javascript-enabled { display: initial; }
|
|
474
|
-
/* region spinner animation */
|
|
475
|
-
@keyframes spinner-line-fade-more {
|
|
476
|
-
0%,
|
|
477
|
-
100% {
|
|
478
|
-
opacity: 0;
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
1% {
|
|
482
|
-
opacity: 1;
|
|
483
|
-
}
|
|
484
|
-
}
|
|
485
|
-
@keyframes spinner-line-fade-quick {
|
|
486
|
-
0%,
|
|
487
|
-
39%,
|
|
488
|
-
100% {
|
|
489
|
-
opacity: 0.25;
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
40% {
|
|
493
|
-
opacity: 1;
|
|
494
|
-
}
|
|
495
|
-
}
|
|
496
|
-
@keyframes spinner-line-fade-default {
|
|
497
|
-
0%,
|
|
498
|
-
100% {
|
|
499
|
-
opacity: 0.22;
|
|
500
|
-
}
|
|
501
|
-
|
|
502
|
-
1% {
|
|
503
|
-
opacity: 1;
|
|
504
|
-
}
|
|
505
|
-
}
|
|
506
|
-
/* endregion */
|
|
507
|
-
/* region vim modline
|
|
508
|
-
vim: set tabstop=4 shiftwidth=4 expandtab:
|
|
509
|
-
vim: foldmethod=marker foldmarker=region,endregion:
|
|
510
|
-
endregion */
|