diff --git a/css/uhr.css b/css/uhr.css index 7ea3917..8ce5203 100644 --- a/css/uhr.css +++ b/css/uhr.css @@ -14,7 +14,7 @@ along with this program. If not, see . */ @font-face { font-family: 'Uhrenfont'; - src: url('../resources/uhr.woff') format('woff'); + src: url('../resources/assets/fonts/uhr.woff') format('woff'); } body { @@ -206,7 +206,7 @@ body { a.uhr-configlink { cursor: pointer; - background: url("../resources/settings.png") no-repeat; + background: url("../resources/assets/images/settings.png") no-repeat; width: 24px; height: 24px; display: inline-block; @@ -236,7 +236,7 @@ a.uhr-closecontrolpanel { top: -1em; width: 24px; height: 24px; - background: url("../resources/close.png") no-repeat; + background: url("../resources/assets/images/close.png") no-repeat; } #disclaimer { diff --git a/css/uhr.scss b/css/uhr.scss new file mode 100644 index 0000000..75abec8 --- /dev/null +++ b/css/uhr.scss @@ -0,0 +1,254 @@ +/*! + * Copyright (C) Schweizerische Bundesbahnen SBB, 2019. + */ + +/* +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ +@font-face { + font-family: 'Uhrenfont'; + src: url('../resources/assets/fonts/uhr.woff') format('woff'); +} + +body { + font-family: 'Uhrenfont', sans-serif; +} + +.uhr { + position: relative; + margin: 0; + transition: background-color 0.5s; + + .reflection { + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + background: radial-gradient(225em 45em at 160% 0, rgba(255, 255, 255, 0.4) 0, rgba(255, 255, 255, 0.05) 40%, rgba(255, 255, 255, 0) 40%) no-repeat scroll; + display: block; + margin: 0.15em; + } +} + +#themeswitcher { +} + +.uhr .letterarea { + display: block; + position: absolute; + top: 12%; + bottom: 12%; + left: 12%; + right: 12%; + overflow: hidden; + font-size: 200%; +} + +.item { + transition: box-shadow 0.5s, text-shadow 0.5s, border-color 0.5s, color 0.5s; +} + +.dot { + position: absolute; + display: block; + height: 0; + width: 0; + border: 0.2em solid; + border-radius: 1em; +} + +.dot.active { + border-color: #eee; + box-shadow: 0 0 0.2em #eee; +} + +.dot1 { + top: 3.75%; + left: 3.75%; +} + +.dot2 { + top: 3.75%; + right: 3.75%; +} + +.dot3 { + bottom: 3.75%; + right: 3.75%; +} + +.dot4 { + bottom: 3.75%; + left: 3.75%; +} + +.letter { + height: 10%; + width: 9.0909%; + padding: 0; + margin: 0; + display: inline-block; + text-align: center; + line-height: 160%; +} + +.letter.active { + color: #eee; + text-shadow: 0 0 0.2em #eee; +} + +.onoffswitch { + position: relative; + width: 86px; + margin: 1em; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; +} + +.onoffswitch-checkbox { + display: none; +} + +.onoffswitch-label { + display: block; + overflow: hidden; + cursor: pointer; + border: 2px solid #999; + border-radius: 50px; +} + +.onoffswitch-inner, .modeswitch-inner { + width: 200%; + margin-left: -100%; + -moz-transition: margin 0.3s ease-in 0s; + -webkit-transition: margin 0.3s ease-in 0s; + -o-transition: margin 0.3s ease-in 0s; + transition: margin 0.3s ease-in 0s; +} + +.onoffswitch-inner:before, .onoffswitch-inner:after, .modeswitch-inner:before, .modeswitch-inner:after { + float: left; + width: 50%; + height: 24px; + padding: 0; + line-height: 24px; + font-size: 18px; + color: white; + font-weight: bold; + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} + +.onoffswitch-inner:before { + content: "EIN"; + padding-left: 12px; + color: #eee; + transition: background-color 0.5s; +} + +.onoffswitch-inner:after { + content: "AUS"; + padding-right: 12px; + background-color: #eee; + color: #999; + text-align: right; +} + +.onoffswitch-switch { + width: 30px; + margin: -3px; + background: #fff; + border: 2px solid #999; + border-radius: 50px; + position: absolute; + top: 0; + bottom: 0; + right: 58px; + -moz-transition: all 0.3s ease-in 0s; + -webkit-transition: all 0.3s ease-in 0s; + -o-transition: all 0.3s ease-in 0s; + transition: all 0.3s ease-in 0s; +} + +.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner, +.onoffswitch-checkbox:checked + .onoffswitch-label .modeswitch-inner { + margin-left: 0; +} + +.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch { + right: 0; +} + +.modeswitch-inner:before { + content: "MIN"; + padding-left: 12px; + background-color: #fff; + color: #000; +} + +.modeswitch-inner:after { + content: "SEC"; + padding-right: 12px; + background-color: #fff; + color: #000; + text-align: right; +} + +a.uhr-configlink { + cursor: pointer; + background: url("../resources/assets/images/settings.png") no-repeat; + width: 24px; + height: 24px; + display: inline-block; + margin: 2px; + vertical-align: top; +} + +.uhr-controlpanel { + border-radius: 0.5em; + box-shadow: 0 0 1em black; + background-color: #fff; + display: inline-block; + padding: 0.5em; + position: sticky; + bottom: 0; + margin-left: 1em; +} + +.uhr-controlpanel .content { + position: relative; +} + +a.uhr-closecontrolpanel { + cursor: pointer; + display: inline-block; + position: absolute; + right: 0; + top: -1em; + width: 24px; + height: 24px; + background: url("../resources/assets/images/close.png") no-repeat; +} + +#disclaimer { + font-size: 0.5em; +} + +#disclaimer a { + color: #444; + text-decoration: underline; +} diff --git a/resources/close.png b/dist/assets/close.png similarity index 100% rename from resources/close.png rename to dist/assets/close.png diff --git a/resources/settings.png b/dist/assets/settings.png similarity index 100% rename from resources/settings.png rename to dist/assets/settings.png diff --git a/dist/assets/uhr-black.css b/dist/assets/uhr-black.css new file mode 100644 index 0000000..886e0fd --- /dev/null +++ b/dist/assets/uhr-black.css @@ -0,0 +1 @@ +.uhr.black{background-color:#111}.black .onoffswitch-inner:before{background-color:#111}.uhr.black .dot:not(.active){border-color:rgba(255,255,255,0.1);box-shadow:0 0 0.1em rgba(255,255,255,0.1)}.uhr.black .letter:not(.active){color:rgba(255,255,255,0.1);text-shadow:0 0 0.1em rgba(255,255,255,0.1)} diff --git a/dist/assets/uhr-blue.css b/dist/assets/uhr-blue.css new file mode 100644 index 0000000..85d8597 --- /dev/null +++ b/dist/assets/uhr-blue.css @@ -0,0 +1 @@ +.uhr.blue{background-color:#00a}.blue .onoffswitch-inner:before{background-color:#00a}.uhr.blue .dot:not(.active){border-color:rgba(255,255,255,0.1);box-shadow:0 0 0.1em rgba(255,255,255,0.1)}.uhr.blue .letter:not(.active){color:rgba(255,255,255,0.1);text-shadow:0 0 0.1em rgba(255,255,255,0.1)} diff --git a/dist/assets/uhr-green.css b/dist/assets/uhr-green.css new file mode 100644 index 0000000..cdd5d56 --- /dev/null +++ b/dist/assets/uhr-green.css @@ -0,0 +1 @@ +.uhr.green{background-color:#0c0}.green .onoffswitch-inner:before{background-color:#0c0}.uhr.green .dot:not(.active){border-color:rgba(0,0,0,0.1);box-shadow:0 0 0.1em rgba(0,0,0,0.1)}.uhr.green .letter:not(.active){color:rgba(0,0,0,0.1);text-shadow:0 0 0.1em rgba(0,0,0,0.1)} diff --git a/dist/assets/uhr-pink.css b/dist/assets/uhr-pink.css new file mode 100644 index 0000000..657023f --- /dev/null +++ b/dist/assets/uhr-pink.css @@ -0,0 +1 @@ +.uhr.pink{background-color:#f0a}.uhr.pink .dot.active{border-color:#fff;box-shadow:0 0 0.1em #fff}.uhr.pink .letter.active{color:#fff;text-shadow:0 0 0.1em #fff}.pink .onoffswitch-inner:before{background-color:#f0a}.uhr.pink .dot:not(.active){border-color:rgba(255,255,255,0.1);box-shadow:0 0 0.1em rgba(255,255,255,0.1)}.uhr.pink .letter:not(.active){color:rgba(255,255,255,0.1);text-shadow:0 0 0.1em rgba(255,255,255,0.1)} diff --git a/dist/assets/uhr-red.css b/dist/assets/uhr-red.css new file mode 100644 index 0000000..b572799 --- /dev/null +++ b/dist/assets/uhr-red.css @@ -0,0 +1 @@ +.uhr.red{background-color:#700}.red .onoffswitch-inner:before{background-color:#700}.uhr.red .dot:not(.active){border-color:rgba(255,255,255,0.1);box-shadow:0 0 0.1em rgba(255,255,255,0.1)}.uhr.red .letter:not(.active){color:rgba(255,255,255,0.1);text-shadow:0 0 0.1em rgba(255,255,255,0.1)} diff --git a/dist/assets/uhr-white.css b/dist/assets/uhr-white.css new file mode 100644 index 0000000..92639d2 --- /dev/null +++ b/dist/assets/uhr-white.css @@ -0,0 +1 @@ +.uhr.white{background-color:#ccc}.uhr.white .dot.active{border-color:#fff;box-shadow:0 0 0.1em #fff}.uhr.white .letter.active{color:#fff;text-shadow:0 0 0.1em #fff}.white .onoffswitch-inner:before{background-color:#ccc}.uhr.white .dot:not(.active){border-color:rgba(0,0,0,0.1);box-shadow:0 0 0.1em rgba(0,0,0,0.1)}.uhr.white .letter:not(.active){color:rgba(0,0,0,0.1);text-shadow:0 0 0.1em rgba(0,0,0,0.1)} diff --git a/dist/assets/uhr-yellow.css b/dist/assets/uhr-yellow.css new file mode 100644 index 0000000..7292498 --- /dev/null +++ b/dist/assets/uhr-yellow.css @@ -0,0 +1 @@ +.uhr.yellow{background-color:#fd0}.uhr.yellow .dot.active{border-color:#fff;box-shadow:0 0 0.1em #fff}.uhr.yellow .letter.active{color:#fff;text-shadow:0 0 0.1em #fff}.yellow .onoffswitch-inner:before{background-color:#fd0}.uhr.yellow .dot:not(.active){border-color:rgba(0,0,0,0.05);box-shadow:0 0 0.1em rgba(0,0,0,0.05)}.uhr.yellow .letter:not(.active){color:rgba(0,0,0,0.05);text-shadow:0 0 0.1em rgba(0,0,0,0.05)} diff --git a/dist/assets/uhr.css b/dist/assets/uhr.css new file mode 100644 index 0000000..5e4b4c5 --- /dev/null +++ b/dist/assets/uhr.css @@ -0,0 +1,3 @@ +/*! + * Copyright (C) Schweizerische Bundesbahnen SBB, 2019. + */@font-face{font-family:'Uhrenfont';src:url(../assets/uhr.woff) format("woff")}body{font-family:'Uhrenfont', sans-serif}.uhr{position:relative;margin:0;transition:background-color 0.5s}.uhr .reflection{position:absolute;top:0;bottom:0;left:0;right:0;background:radial-gradient(225em 45em at 160% 0, rgba(255,255,255,0.4) 0, rgba(255,255,255,0.05) 40%, rgba(255,255,255,0) 40%) no-repeat scroll;display:block;margin:0.15em}.uhr .letterarea{display:block;position:absolute;top:12%;bottom:12%;left:12%;right:12%;overflow:hidden;font-size:200%}.item{transition:box-shadow 0.5s, text-shadow 0.5s, border-color 0.5s, color 0.5s}.dot{position:absolute;display:block;height:0;width:0;border:0.2em solid;border-radius:1em}.dot.active{border-color:#eee;box-shadow:0 0 0.2em #eee}.dot1{top:3.75%;left:3.75%}.dot2{top:3.75%;right:3.75%}.dot3{bottom:3.75%;right:3.75%}.dot4{bottom:3.75%;left:3.75%}.letter{height:10%;width:9.0909%;padding:0;margin:0;display:inline-block;text-align:center;line-height:160%}.letter.active{color:#eee;text-shadow:0 0 0.2em #eee}.onoffswitch{position:relative;width:86px;margin:1em;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.onoffswitch-checkbox{display:none}.onoffswitch-label{display:block;overflow:hidden;cursor:pointer;border:2px solid #999;border-radius:50px}.onoffswitch-inner,.modeswitch-inner{width:200%;margin-left:-100%;-moz-transition:margin 0.3s ease-in 0s;-webkit-transition:margin 0.3s ease-in 0s;-o-transition:margin 0.3s ease-in 0s;transition:margin 0.3s ease-in 0s}.onoffswitch-inner:before,.onoffswitch-inner:after,.modeswitch-inner:before,.modeswitch-inner:after{float:left;width:50%;height:24px;padding:0;line-height:24px;font-size:18px;color:white;font-weight:bold;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.onoffswitch-inner:before{content:"EIN";padding-left:12px;color:#eee;transition:background-color 0.5s}.onoffswitch-inner:after{content:"AUS";padding-right:12px;background-color:#eee;color:#999;text-align:right}.onoffswitch-switch{width:30px;margin:-3px;background:#fff;border:2px solid #999;border-radius:50px;position:absolute;top:0;bottom:0;right:58px;-moz-transition:all 0.3s ease-in 0s;-webkit-transition:all 0.3s ease-in 0s;-o-transition:all 0.3s ease-in 0s;transition:all 0.3s ease-in 0s}.onoffswitch-checkbox:checked+.onoffswitch-label .onoffswitch-inner,.onoffswitch-checkbox:checked+.onoffswitch-label .modeswitch-inner{margin-left:0}.onoffswitch-checkbox:checked+.onoffswitch-label .onoffswitch-switch{right:0}.modeswitch-inner:before{content:"MIN";padding-left:12px;background-color:#fff;color:#000}.modeswitch-inner:after{content:"SEC";padding-right:12px;background-color:#fff;color:#000;text-align:right}a.uhr-configlink{cursor:pointer;background:url(../assets/settings.png) no-repeat;width:24px;height:24px;display:inline-block;margin:2px;vertical-align:top}.uhr-controlpanel{border-radius:0.5em;box-shadow:0 0 1em black;background-color:#fff;display:inline-block;padding:0.5em;position:sticky;bottom:0;margin-left:1em}.uhr-controlpanel .content{position:relative}a.uhr-closecontrolpanel{cursor:pointer;display:inline-block;position:absolute;right:0;top:-1em;width:24px;height:24px;background:url(../assets/close.png) no-repeat}#disclaimer{font-size:0.5em}#disclaimer a{color:#444;text-decoration:underline} diff --git a/resources/uhr.woff b/dist/assets/uhr.woff similarity index 100% rename from resources/uhr.woff rename to dist/assets/uhr.woff diff --git a/dist/uhr.js b/dist/uhr.js index 1337a72..e90e06e 100644 --- a/dist/uhr.js +++ b/dist/uhr.js @@ -1 +1 @@ -var uhr=function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=2)}([function(t,e){t.exports=jQuery},function(t,e){t.exports=Cookies},function(t,e,n){t.exports=n(3)},function(t,e,n){"use strict";n.r(e);var i=function(){function t(){}return t.registerTheme=function(e,n){t.themes.some(function(t){return t.name===e})?console.log("Theme with name '"+e+"' already registered; ignoring register request for styleClass '"+n+"'."):t.themes.push({name:e,styleClass:n})},t.hasThemes=function(){return t.themes.length>0},t.hasMultipleThemes=function(){return t.themes.length>1},t.getFirstTheme=function(){return t.getTheme(0)},t.getTheme=function(e){return t.themes[e]},t.getThemes=function(){return t.themes},t.registerLayout=function(e){!t.layouts.some(function(t){return e.code===t.code&&(console.error("Error: Language code '"+e.code+"' cannot be registered for layout '"+e.prettyName+"' \n because it is already registered for layout '"+t.prettyName+"'!"),!0)})&&(t.layouts.push(e),t.layouts.sort(function(t,e){return t.prettyName.localeCompare(e.prettyName)}))},t.hasLayouts=function(){return t.layouts.length>0},t.hasMultipleLayouts=function(){return t.layouts.length>1},t.getFirstLayout=function(){return t.layouts[0]},t.getLayouts=function(){return t.layouts},t.layouts=[],t.themes=[],t}(),o=n(0);var s=function(){function t(t,e){this.style="",this.value=t,e&&(this.style=e)}return t.prototype.addStyle=function(t){""===this.style?this.style=t:this.style+=" "+t},t.prototype.toString=function(){return''+this.value+""},t}(),r=function(){function t(t){this.layout=t}return t.prototype.parse=function(){var e=[];return this.layout.letters.forEach(function(t){for(var n=[],i=0;i")}),t&&t(),e.renderarea.fadeIn("fast")})},t}(),u={code:null,hours:null,letters:[],minutes:null,permanent:[],prettyName:null,version:2},h=n(1),c=function(){function t(t){this.widgetInstance=t,this.timer=null,this.currentMinute=null;var e=this.widgetInstance.options.time;void 0===this.widgetInstance.options.time&&(this.widgetInstance.options.time=new Date),this.parseHash(),this.setupHTML(),this.wireFunctionality(),void 0!==e&&this.setTime(e)}return t.prototype.destroy=function(){this.timer&&(window.clearInterval(this.timer),this.timer=null),this.widgetInstance.element.removeAttr("style").removeAttr("class").empty(),$("#uhr-configlink"+this.widgetInstance.uuid).remove(),$("#uhr-controlpanel"+this.widgetInstance.uuid).remove()},t.prototype.start=function(){var t=this;this.isOn()||(this.timer=window.setInterval(function(){t.widgetInstance.options.time=new Date,t.update()},1e3),this.update(),this.setCookie("uhr-status","on"))},t.prototype.stop=function(){this.isOn()&&(window.clearInterval(this.timer),this.timer=null,this.update(),this.setCookie("uhr-status","off"))},t.prototype.toggle=function(){this.isOn()?this.stop():this.start()},t.prototype.setLanguage=function(t){var e=this;t!==this.widgetInstance.options.language&&(this.widgetInstance.options.language=t,new a(this.getCurrentLayout(),this.widgetInstance.element.find(".letterarea")).render(function(){e.currentMinute=-1,e.update()}),this.setCookie("uhr-language",t),this.update())},t.prototype.setTheme=function(t){t!==this.widgetInstance.options.theme&&(this.widgetInstance.element.removeClass(this.widgetInstance.options.theme).addClass(t),$("#uhr-onoffswitch"+this.widgetInstance.uuid).removeClass(this.widgetInstance.options.theme).addClass(t),this.widgetInstance.options.theme=t,this.setCookie("uhr-theme",t))},t.prototype.setTime=function(t){this.currentMinute=null,null===t?this.widgetInstance.options.time=new Date:(null!==this.timer&&window.clearInterval(this.timer),this.widgetInstance.options.time=t),this.update()},t.prototype.setMode=function(t){this.widgetInstance.options.mode=t,this.currentMinute=null,this.update(),this.setCookie("uhr-mode",t)},t.prototype.setWidth=function(t){var e=this.widgetInstance.element;e.css("width",t);var n=e.width();e.width(n),e.height(n),e.css("font-size",n/40+"px")},t.prototype.setupHTML=function(){var t=this,e=this.widgetInstance.element;if(e.addClass("uhr").empty().append('').append('').append('').append('').append('
').append('
'),this.setWidth(this.widgetInstance.options.width),this.widgetInstance.options.controls){var n=$('
'),o=$('
');n.append(o);var s=$('
');s.append(''),s.append(''),o.append(s);var r=$('
');if(r.append(''),r.append(''),o.append(r),i.hasMultipleLayouts()){var a=$('');i.getLayouts().forEach(function(t){a.append('")}),o.append(a)}if(i.hasMultipleThemes()){var u=$('');i.getThemes().forEach(function(t){u.append('")}),o.append(u)}var h=$('');h.on("click",function(){return $("#uhr-controlpanel"+t.widgetInstance.uuid).hide("fast")}),o.append(h),e.after(n),n.hide();var c=$('');c.on({click:function(){return t.toggleConfigScreen()}}),e.after(c)}},t.prototype.wireFunctionality=function(){var t=this,e=$("#uhr-onoffswitch-checkbox"+this.widgetInstance.uuid);e.on({click:function(){return t.toggle()}});var n=this.getCookie("uhr-status");(void 0===n||this.widgetInstance.options.force)&&(n=this.widgetInstance.options.status),e.prop("checked","on"===n),"on"===n?this.start():this.stop();var o=$("#uhr-modeswitch-checkbox"+this.widgetInstance.uuid);o.on({click:function(){"seconds"===t.widgetInstance.options.mode?t.setMode("normal"):t.setMode("seconds")}});var s=this.getCookie("uhr-mode");(void 0===s||this.widgetInstance.options.force)&&(s=this.widgetInstance.options.mode),o.prop("checked","seconds"!==s),"seconds"===s?this.setMode("seconds"):this.setMode("normal");var r=$("#uhr-languagechooser"+this.widgetInstance.uuid);r.on({change:function(){var e=$("#uhr-languagechooser"+t.widgetInstance.uuid).val();t.setLanguage(e)}});var a=this.getCookie("uhr-language");(void 0===a||this.widgetInstance.options.force)&&(a=this.widgetInstance.options.language);var u=i.getLayouts().some(function(t){return a===t.code});if(!u){var h=void 0;h=i.hasLayouts()?i.getFirstLayout().code:"",console.warn("Language '"+a+"' not found! Using fallback '"+h+"'."),a=h}r.val(a),this.widgetInstance.options.language="",this.setLanguage(a);var c=$("#uhr-themechooser"+this.widgetInstance.uuid);c.on({change:function(){var e=$("#uhr-themechooser"+t.widgetInstance.uuid).val();t.setTheme(e)}});var d=this.getCookie("uhr-theme");if((void 0===d||this.widgetInstance.options.force)&&(d=this.widgetInstance.options.theme),!(u=i.getThemes().some(function(t){return d===t.styleClass}))){var l=i.getFirstTheme().styleClass;console.warn("Theme '"+d+"' not found! Using fallback '"+l+"'."),d=l}c.val(d),this.widgetInstance.options.theme="",this.setTheme(d),this.widgetInstance.options.autoresize&&$(window).on({resize:function(){var e=t.widgetInstance.element.parent(),n=$(window),i=e.width(),o=e.height(),s=n.width(),r=n.height(),a=Math.min(i,o,s,r)+"px";t.setWidth(a)}})},t.prototype.isOn=function(){return null!==this.timer},t.prototype.getCookie=function(t){return h.get(t+this.widgetInstance.uuid)},t.prototype.setCookie=function(t,e){var n;n=void 0!==this.widgetInstance.options.cookiePath?{expires:365,path:this.widgetInstance.options.cookiePath}:{expires:365},h.set(t+this.widgetInstance.uuid,e,n)},t.prototype.update=function(){if(this.isOn()){var t=this.widgetInstance.options.time;if(!this.getCurrentLayout().hasOwnProperty("seconds")&&"seconds"!==this.widgetInstance.options.mode){if(t.getMinutes()===this.currentMinute)return;this.currentMinute=t.getMinutes()}this.show(t)}else this.clear(),this.currentMinute=-1},t.prototype.show=function(t){var e=this.getSecond(t),n=this.getDotMinute(t),i=this.getHour(t),o=this.getCoarseMinute(t);if(this.clear(),"seconds"===this.widgetInstance.options.mode)this.highlight("second"+e);else{this.highlight("on");for(var s=1;s<=n;s++)this.highlight("dot"+s);this.highlight("minute"+o),this.highlight("hour"+i)}},t.prototype.clear=function(){this.widgetInstance.element.find(".item").removeClass("active")},t.prototype.highlight=function(t){this.widgetInstance.element.find(".item."+t).addClass("active")},t.prototype.getSecond=function(t){return"function"==typeof this.getCurrentLayout().getSeconds?this.getCurrentLayout().getSeconds(t):t.getSeconds()},t.prototype.getDotMinute=function(t){return"function"==typeof this.getCurrentLayout().getDotMinute?this.getCurrentLayout().getDotMinute(t):t.getMinutes()%5},t.prototype.getCoarseMinute=function(t){return"function"==typeof this.getCurrentLayout().getCoarseMinute?this.getCurrentLayout().getCoarseMinute(t):t.getMinutes()},t.prototype.getHour=function(t){if("function"==typeof this.getCurrentLayout().getHour)return this.getCurrentLayout().getHour(t);var e=t.getHours();return t.getMinutes()>=25?(e+1)%24:e},t.prototype.toggleConfigScreen=function(){$("#uhr-controlpanel"+this.widgetInstance.uuid).toggle("fast")},t.prototype.parseHash=function(){var t=this,e=window.location.hash;void 0!==e&&"#"===e.charAt(0)&&(e=e.substring(1),(e=decodeURIComponent(e)).split("&").forEach(function(e){var n=e.split("="),i=n[0],o=n[1];switch(i){case"l":case"language":t.widgetInstance.options.language=o,t.widgetInstance.options.force=!0;break;case"t":case"theme":t.widgetInstance.options.theme=o,t.widgetInstance.options.force=!0;break;case"m":case"mode":t.widgetInstance.options.mode=o,t.widgetInstance.options.force=!0;break;case"s":case"status":t.widgetInstance.options.status=o,t.widgetInstance.options.force=!0}}))},t.prototype.getCurrentLayout=function(){var t=this,e=i.getLayouts().filter(function(e){return e.code===t.widgetInstance.options.language},this);return e.length>0?e[0]:u},t}(),d={4:[1,2]},l={3:[9,10,11]},p={4:[4,5,6,7,8]},g={1:[9,10,11]},f={2:[9,10,11]},v={2:[1,2,3,4,5,6]},I={3:[1,2,3,4,5,6]},m={code:"de_CH",hours:{"0,12":{10:[1,2,3,4,5,6]},"1,13":{5:[1,2,3]},"2,14":{5:[4,5,6,7]},"3,15":{5:[9,10,11]},"4,16":{6:[1,2,3,4,5]},"5,17":{6:[6,7,8,9]},"6,18":{7:[1,2,3,4,5,6]},"7,19":{7:[7,8,9,10,11]},"8,20":{8:[1,2,3,4,5]},"9,21":{8:[6,7,8,9]},"10,22":{9:[1,2,3,4]},"11,23":{9:[8,9,10,11]}},letters:["ESKISCHAFÜF","VIERTUBFZÄÄ","ZWÄNZGSIVOR","ABOHAUBIEGE","EISZWÖISDRÜ","VIERIFÜFIQT","SÄCHSISIBNI","ACHTINÜNIEL","ZÄNIERBEUFI","ZWÖUFINAUHR"],minutes:{"5,6,7,8,9":[g,d],"10,11,12,13,14":[f,d],"15,16,17,18,19":[v,d],"20,21,22,23,24":[I,d],"25,26,27,28,29":[g,l,p],"30,31,32,33,34":p,"35,36,37,38,39":[g,d,p],"40,41,42,43,44":[I,l],"45,46,47,48,49":[v,l],"50,51,52,53,54":[f,l],"55,56,57,58,59":[g,l]},permanent:{1:[1,2,4,5,6,7]},prettyName:"Bärndütsch",version:2},E={4:[4,5]},y={4:[1,2,3]},w={4:[7,8,9,10,11]},T={1:[9,10,11]},N={2:[9,10,11]},O={2:[1,2,3,4,5,6]},C={3:[1,2,3,4,5,6]},S={code:"de_CH_genau",hours:{"0,12":{10:[1,2,3,4,5,6]},"1,13":{5:[1,2,3]},"2,14":{5:[4,5,6,7]},"3,15":{5:[9,10,11]},"4,16":{6:[1,2,3,4,5]},"5,17":{6:[6,7,8,9]},"6,18":{7:[1,2,3,4,5,6]},"7,19":{7:[7,8,9,10,11]},"8,20":{8:[1,2,3,4,5]},"9,21":{8:[6,7,8,9]},"10,22":{9:[1,2,3,4]},"11,23":{9:[8,9,10,11]}},letters:["ESKISCHAFÜF","VIERTUBFZÄÄ","ZWÄNZGGENAU","VORABOHAUBI","EISZWÖISDRÜ","VIERIFÜFIQT","SÄCHSISIBNI","ACHTINÜNIEL","ZÄNIERBEUFI","ZWÖUFINAUHR"],minutes:{0:{3:[7,8,9,10,11]},"5,6,7,8,9":[T,E],"10,11,12,13,14":[N,E],"15,16,17,18,19":[O,E],"20,21,22,23,24":[C,E],"25,26,27,28,29":[T,y,w],"30,31,32,33,34":w,"35,36,37,38,39":[T,E,w],"40,41,42,43,44":[C,y],"45,46,47,48,49":[O,y],"50,51,52,53,54":[N,y],"55,56,57,58,59":[T,y]},permanent:{1:[1,2,4,5,6,7]},prettyName:"Bärndütsch (genau)",version:2},L={4:[8,9,10,11]},M={4:[1,2,3]},A={5:[1,2,3,4]},R={1:[8,9,10,11]},_={2:[1,2,3,4]},H={2:[5,6,7,8,9,10,11]},b={code:"de",hours:{"0,12":{9:[7,8,9,10,11]},"1,13":{6:[1,2,3,4]},"2,14":{6:[8,9,10,11]},"3,15":{7:[1,2,3,4]},"4,16":{7:[8,9,10,11]},"5,17":{5:[8,9,10,11]},"6,18":{8:[1,2,3,4,5]},"7,19":{9:[1,2,3,4,5,6]},"8,20":{8:[8,9,10,11]},"9,21":{10:[4,5,6,7]},"10,22":{10:[1,2,3,4]},"11,23":{5:[6,7,8]}},letters:["ESKISTAFÜNF","ZEHNZWANZIG","DREIVIERTEL","VORFUNKNACH","HALBAELFÜNF","EINSXAMZWEI","DREIPMJVIER","SECHSNLACHT","SIEBENZWÖLF","ZEHNEUNKUHR"],minutes:{"0,1,2,3,4":{10:[9,10,11]},"5,6,7,8,9":[R,L],"10,11,12,13,14":[_,L],"15,16,17,18,19":[{3:[5,6,7,8,9,10,11]},L],"20,21,22,23,24":[H,L],"25,26,27,28,29":[R,M,A],"30,31,32,33,34":A,"35,36,37,38,39":[R,L,A],"40,41,42,43,44":[H,M],"45,46,47,48,49":{3:[1,2,3,4,5,6,7,8,9,10,11]},"50,51,52,53,54":[_,M],"55,56,57,58,59":[R,M]},permanent:{1:[1,2,4,5,6]},prettyName:"Deutsch",version:2},U={4:[4,5,6,7,8,9,10,11]},k={5:[8]},F={5:[4,5,6,7]},V={2:[1,2,3]},D={4:[1,2]},Z={3:[4,5,6,7,8]},x={2:[4,5,6,7]},P={6:[8,9,10,11]},W={code:"dk",hours:{"0,12":{10:[8,9,10,11]},"1,13":{7:[1,2]},"2,14":{7:[3,4]},"3,15":{7:[5,6,7]},"4,16":{7:[8,9,10,11]},"5,17":{8:[1,2,3]},"6,18":{8:[4,5,6,7]},"7,19":{8:[9,10,11]},"8,20":{9:[1,2,3,4]},"9,21":{9:[6,7]},"10,22":{9:[10,11]},"11,23":{10:[1,2,3,4,5,6]}},letters:["KLOKKENVERO","FEMTYVESKLA","OJEKVARTVAT","TIAMINUTTER","VEMOVERILMF","MONALISHALV","ETTOTREFIRE","FEMSEKSRSYV","OTTERNIMETI","ELLEVEATOLV"],minutes:{"5,6,7,8,9":[V,U,F],"10,11,12,13,14":[D,U,F],"15,16,17,18,19":[Z,F],"20,21,22,23,24":[x,U,F],"25,26,27,28,29":[V,U,k,P],"30,31,32,33,34":[P],"35,36,37,38,39":[V,U,F,P],"40,41,42,43,44":[x,U,k],"45,46,47,48,49":[Z,k],"50,51,52,53,54":[D,U,k],"55,56,57,58,59":[V,U,k]},permanent:{1:[1,2,3,4,5,6,7,9,10]},prettyName:"Dansk",version:2},B={4:[10,11]},j={5:[1,2,3,4]},K={3:[7,8,9,10]},Q={4:[6,7,8]},G={2:[1,3,4,5,6,7,8,9]},Y={3:[1,2,3,4,5,6]},X={3:[1,2,3,4,5,6,7,8,9,10]},z={code:"en",getHour:function(t){var e=t.getHours();return t.getMinutes()>=35?(e+1)%24:e},hours:{"0,12":{9:[6,7,8,9,10,11]},"1,13":{6:[1,2,3]},"2,14":{7:[9,10,11]},"3,15":{6:[7,8,9,10,11]},"4,16":{7:[1,2,3,4]},"5,17":{7:[5,6,7,8]},"6,18":{6:[4,5,6]},"7,19":{9:[1,2,3,4,5]},"8,20":{8:[1,2,3,4,5]},"9,21":{5:[8,9,10,11]},"10,22":{10:[1,2,3]},"11,23":{8:[6,7,8,9,10,11]}},letters:["ITLISBFAMPM","ACQUARTERDC","TWENTYFIVEX","HALFBTENFTO","PASTERUNINE","ONESIXTHREE","FOURFIVETWO","EIGHTELEVEN","SEVENTWELVE","TENSO'CLOCK"],minutes:{"0,1,2,3,4":{10:[5,6,7,8,9,10,11]},"5,6,7,8,9":[K,j],"10,11,12,13,14":[Q,j],"15,16,17,18,19":[G,j],"20,21,22,23,24":[Y,j],"25,26,27,28,29":[X,j],"30,31,32,33,34":[{4:[1,2,3,4]},j],"35,36,37,38,39":[X,B],"40,41,42,43,44":[Y,B],"45,46,47,48,49":[G,B],"50,51,52,53,54":[Q,B],"55,56,57,58,59":[K,B]},permanent:{1:[1,2,4,5]},prettyName:"English",version:2},J={1:[2,3,4,6,7,8]},q={7:[6]},tt={7:[7,8,9,10,11]},et={9:[7,8,9,10,11]},nt={8:[8,9,10,11]},it={10:[6,7,8,9,10,11]},ot={8:[2,3,4,5,6,7]},st={9:[1,2,3,4,5,6,7,8,9,10,11]},rt={code:"es",getHour:function(t){var e=t.getHours();return t.getMinutes()>=35?(e+1)%24:e},hours:{"0,12":[J,{7:[1,2,3,4]}],"1,13":[{1:[1,2,6,7]},{1:[9,10,11]}],"2,14":[J,{2:[1,2,3]}],"3,15":[J,{2:[5,6,7,8]}],"4,16":[J,{3:[1,2,3,4,5,6]}],"5,17":[J,{3:[7,8,9,10,11]}],"6,18":[J,{4:[1,2,3,4]}],"7,19":[J,{4:[6,7,8,9,10]}],"8,20":[J,{5:[1,2,3,4]}],"9,21":[J,{5:[5,6,7,8,9]}],"10,22":[J,{6:[3,4,5,6]}],"11,23":[J,{6:[8,9,10,11]}]},letters:["ESONELASUNA","DOSITRESORE","CUATROCINCO","SEISASIETEN","OCHONUEVEYO","LADIEZSONCE","DOCELYMENOS","OVEINTEDIEZ","VEINTICINCO","MEDIACUARTO"],minutes:{"5,6,7,8,9":[q,et],"10,11,12,13,14":[q,nt],"15,16,17,18,19":[q,it],"20,21,22,23,24":[q,ot],"25,26,27,28,29":[q,st],"30,31,32,33,34":[q,{10:[1,2,3,4,5]}],"35,36,37,38,39":[tt,st],"40,41,42,43,44":[tt,ot],"45,46,47,48,49":[tt,it],"50,51,52,53,54":[tt,nt],"55,56,57,58,59":[tt,et]},permanent:null,prettyName:"Español",version:2},at={8:[1,2]},ut={7:[1,2,3,4,5]},ht={6:[6,7,8,9,10,11]},ct={9:[7,8,9,10]},dt={7:[9,10,11]},lt={8:[4,5,6,7,8]},pt={9:[1,2,3,4,5]},gt={9:[1,2,3,4,5,6,7,8,9,10]},ft={code:"fr",getHour:function(t){var e=t.getHours();return t.getMinutes()>=35?(e+1)%24:e},hours:{0:{5:[6,7,8,9,10,11]},"1,13":[{3:[5,6,7]},ht],"2,14":[{1:[8,9,10,11]},ht],"3,15":[{2:[7,8,9,10,11]},ht],"4,16":[{2:[1,2,3,4,5,6]},ht],"5,17":[{4:[8,9,10,11]},ht],"6,18":[{4:[5,6,7]},ht],"7,19":[{3:[8,9,10,11]},ht],"8,20":[{4:[1,2,3,4]},ht],"9,21":[{3:[1,2,3,4]},ht],"10,22":[{5:[3,4,5]},ht],"11,23":[{6:[1,2,3,4]},ht],12:{5:[1,2,3,4]}},letters:["ILNESTODEUX","QUATRETROIS","NEUFUNESEPT","HUITSIXCINQ","MIDIXMINUIT","ONZERHEURES","MOINSOLEDIX","ETRQUARTPMD","VINGT-CINQU","ETSDEMIEPAM"],minutes:{"5,6,7,8,9":ct,"10,11,12,13,14":dt,"15,16,17,18,19":[at,lt],"20,21,22,23,24":pt,"25,26,27,28,29":gt,"30,31,32,33,34":[at,{10:[4,5,6,7,8]}],"35,36,37,38,39":[ut,gt],"40,41,42,43,44":[ut,pt],"45,46,47,48,49":[ut,{7:[7,8]},lt],"50,51,52,53,54":[ut,dt],"55,56,57,58,59":[ut,ct]},permanent:{1:[1,2,4,5,6]},prettyName:"Français",version:2},vt={1:[1,2,3,4,6,7]},It={8:[1]},mt={7:[8,9,10,11]},Et={9:[6,7,8,9,10,11]},yt={10:[1,2,3,4,5]},wt={8:[3,4,6,7,8,9,10,11]},Tt={9:[1,2,3,4,5]},Nt={9:[1,2,3,4,5,6,7,8,9,10,11]},Ot={code:"it",getHour:function(t){var e=t.getHours();return t.getMinutes()>=35?(e+1)%24:e},hours:{"0,12":[vt,{5:[1,2,3,4,5,6]}],"1,13":[{2:[1,3,4]},{2:[5,6,7]}],"2,14":[vt,{2:[9,10,11]}],"3,15":[vt,{3:[1,2,3]}],"4,16":[vt,{6:[1,2,3,4,5,6,7]}],"5,17":[vt,{7:[1,2,3,4,5,6]}],"6,18":[vt,{6:[9,10,11]}],"7,19":[vt,{5:[7,8,9,10,11]}],"8,20":[vt,{3:[4,5,6,7]}],"9,21":[vt,{3:[8,9,10,11]}],"10,22":[vt,{4:[1,2,3,4,5]}],"11,23":[vt,{4:[6,7,8,9,10,11]}]},letters:["SONORLEBORE","ÈRL'UNASDUE","TREOTTONOVE","DIECIUNDICI","DODICISETTE","QUATTROCSEI","CINQUEAMENO","ECUNOQUARTO","VENTICINQUE","DIECIPMEZZA"],minutes:{"5,6,7,8,9":[It,Et],"10,11,12,13,14":[It,yt],"15,16,17,18,19":[It,wt],"20,21,22,23,24":[It,Tt],"25,26,27,28,29":[It,Nt],"30,31,32,33,34":[It,{10:[7,8,9,10,11]}],"35,36,37,38,39":[mt,Nt],"40,41,42,43,44":[mt,Tt],"45,46,47,48,49":[mt,wt],"50,51,52,53,54":[mt,yt],"55,56,57,58,59":[mt,Et]},permanent:null,prettyName:"Italiano",version:2},Ct={3:[1,2,3,4]},St={2:[8,9,10,11]},Lt={4:[1,2,3,4]},Mt={1:[8,9,10,11]},At={2:[1,2,3,4]},Rt={3:[7,8,9,10,11]},_t={code:"nl",getHour:function(t){var e=t.getHours();return t.getMinutes()>=20?(e+1)%24:e},hours:{"0,12":{10:[1,2,3,4,5,6]},"1,13":{5:[8,9,10]},"2,14":{6:[1,2,3,4]},"3,15":{6:[8,9,10,11]},"4,16":{7:[1,2,3,4]},"5,17":{7:[5,6,7,8]},"6,18":{7:[9,10,11]},"7,19":{8:[1,2,3,4,5]},"8,20":{9:[1,2,3,4]},"9,21":{8:[7,8,9,10,11]},"10,22":{9:[5,6,7,8]},"11,23":{9:[9,10,11]}},letters:["HETKISAVIJF","TIENBTZVOOR","OVERMEKWART","HALFSPWOVER","VOORTHGEENS","TWEEPVCDRIE","VIERVIJFZES","ZEVENONEGEN","ACHTTIENELF","TWAALFBFUUR"],minutes:{"0,1,2,3,4":{10:[9,10,11]},"5,6,7,8,9":[Mt,Ct],"10,11,12,13,14":[At,Ct],"15,16,17,18,19":[Rt,{4:[8,9,10,11]}],"20,21,22,23,24":[At,St,Lt],"25,26,27,28,29":[Mt,St,Lt],"30,31,32,33,34":Lt,"35,36,37,38,39":[Mt,Ct,Lt],"40,41,42,43,44":[At,Ct,Lt],"45,46,47,48,49":[Rt,{5:[1,2,3,4]}],"50,51,52,53,54":[At,St],"55,56,57,58,59":[Mt,St]},permanent:{1:[1,2,3,5,6]},prettyName:"Nederlands",version:2},Ht={1:[1]},bt={1:[2,3,4]},Ut={7:[8]},kt={10:[5]},Ft={7:[7,8,9,10,11]},Vt={10:[7,8,9,10,11]},Dt={10:[1,2,3]},Zt={9:[1,2,4,5,6,7,8,9]},xt={8:[1,2,3,4,5]},$t={code:"pt",getHour:function(t){var e=t.getHours();return t.getMinutes()>=35?(e+1)%24:e},hours:{0:[Ht,{6:[2,3,4,5,7,8,9,10,11]}],12:[Ht,{2:[1,2,3,4,6,7,8]}],"1,13":[Ht,{1:[5,6,7]}],"2,14":[bt,{3:[1,2,3,4]}],"3,15":[bt,{1:[8,9,10,11]}],"4,16":[bt,{4:[1,2,3,4,5,6]}],"5,17":[bt,{5:[1,2,3,4,5]}],"6,18":[bt,{3:[4,5,6,7]}],"7,19":[bt,{3:[7,8,9,10]}],"8,20":[bt,{5:[5,6,7,8]}],"9,21":[bt,{4:[8,9,10,11]}],"10,22":[bt,{2:[9,10,11]}],"11,23":[bt,{5:[8,9,10,11]}]},letters:["ÉSÃOUMATRÊS","MEIOLDIADEZ","DUASEISETEY","QUATROHNOVE","CINCOITONZE","ZMEIALNOITE","HORASYMENOS","VINTECAMEIA","UMVQUARTOPM","DEZOEYCINCO"],minutes:{"5,6,7,8,9":[Ut,Vt],"10,11,12,13,14":[Ut,Dt],"15,16,17,18,19":[Ut,Zt],"20,21,22,23,24":[Ut,xt],"25,26,27,28,29":[Ut,xt,kt,Vt],"30,31,32,33,34":[Ut,{8:[8,9,10,11]}],"35,36,37,38,39":[Ft,xt,kt,Vt],"40,41,42,43,44":[Ft,xt],"45,46,47,48,49":[Ft,Zt],"50,51,52,53,54":[Ft,Dt],"55,56,57,58,59":[Ft,Vt]},permanent:null,prettyName:"Português",version:2};o("link[rel=stylesheet]").each(function(t,e){var n=o(e),s=n.attr("data-class");if(void 0!==s){var r=n.attr("data-name");void 0===r&&(r=s),i.registerTheme(r,s)}}),i.hasThemes()||i.registerTheme("",""),i.registerLayout(m),i.registerLayout(S),i.registerLayout(b),i.registerLayout(W),i.registerLayout(z),i.registerLayout(rt),i.registerLayout(ft),i.registerLayout(Ot),i.registerLayout(_t),i.registerLayout($t),$.widget("fritteli.uhr",{options:{width:"100%",status:"on",language:"de_CH",theme:i.getFirstTheme().styleClass,force:!1,controls:!0,cookiePath:void 0,autoresize:!0,mode:"normal"},start:function(){this.__fritteli_uhr_instance.start()},stop:function(){this.__fritteli_uhr_instance.stop()},toggle:function(){this.__fritteli_uhr_instance.toggle()},language:function(t){this.__fritteli_uhr_instance.setLanguage(t)},theme:function(t){this.__fritteli_uhr_instance.setTheme(t)},time:function(t){this.__fritteli_uhr_instance.setTime(t)},mode:function(t){this.__fritteli_uhr_instance.setMode(t)},width:function(t){this.__fritteli_uhr_instance.setWidth(t)},_create:function(){this.__fritteli_uhr_instance=new c(this)},_destroy:function(){this.__fritteli_uhr_instance.destroy()},__fritteli_uhr_instance:null}),$.fritteli.uhr.register=i.registerLayout}]); \ No newline at end of file +var uhr=function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=10)}({0:function(t,e){t.exports=jQuery},1:function(t,e){t.exports=Cookies},10:function(t,e,n){"use strict";n.r(e);var i=function(){function t(){}return t.registerTheme=function(e,n){t.themes.some(function(t){return t.name===e})?console.log("Theme with name '"+e+"' already registered; ignoring register request for styleClass '"+n+"'."):t.themes.push({name:e,styleClass:n})},t.hasThemes=function(){return t.themes.length>0},t.hasMultipleThemes=function(){return t.themes.length>1},t.getFirstTheme=function(){return t.getTheme(0)},t.getTheme=function(e){return t.themes[e]},t.getThemes=function(){return t.themes},t.registerLayout=function(e){!t.layouts.some(function(t){return e.code===t.code&&(console.error("Error: Language code '"+e.code+"' cannot be registered for layout '"+e.prettyName+"' \n because it is already registered for layout '"+t.prettyName+"'!"),!0)})&&(t.layouts.push(e),t.layouts.sort(function(t,e){return t.prettyName.localeCompare(e.prettyName)}))},t.hasLayouts=function(){return t.layouts.length>0},t.hasMultipleLayouts=function(){return t.layouts.length>1},t.getFirstLayout=function(){return t.layouts[0]},t.getLayouts=function(){return t.layouts},t.layouts=[],t.themes=[],t}(),o=n(0);var s=function(){function t(t,e){this.style="",this.value=t,e&&(this.style=e)}return t.prototype.addStyle=function(t){""===this.style?this.style=t:this.style+=" "+t},t.prototype.toString=function(){return''+this.value+""},t}(),r=function(){function t(t){this.layout=t}return t.prototype.parse=function(){var e=[];return this.layout.letters.forEach(function(t){for(var n=[],i=0;i")}),t&&t(),e.renderarea.fadeIn("fast")})},t}(),u={code:null,hours:null,letters:[],minutes:null,permanent:[],prettyName:null,version:2},h=n(1),c=function(){function t(t){this.widgetInstance=t,this.timer=null,this.currentMinute=null;var e=this.widgetInstance.options.time;void 0===this.widgetInstance.options.time&&(this.widgetInstance.options.time=new Date),this.parseHash(),this.setupHTML(),this.wireFunctionality(),void 0!==e&&this.setTime(e)}return t.prototype.destroy=function(){this.timer&&(window.clearInterval(this.timer),this.timer=null),this.widgetInstance.element.removeAttr("style").removeAttr("class").empty(),$("#uhr-configlink"+this.widgetInstance.uuid).remove(),$("#uhr-controlpanel"+this.widgetInstance.uuid).remove()},t.prototype.start=function(){var t=this;this.isOn()||(this.timer=window.setInterval(function(){t.widgetInstance.options.time=new Date,t.update()},1e3),this.update(),this.setCookie("uhr-status","on"))},t.prototype.stop=function(){this.isOn()&&(window.clearInterval(this.timer),this.timer=null,this.update(),this.setCookie("uhr-status","off"))},t.prototype.toggle=function(){this.isOn()?this.stop():this.start()},t.prototype.setLanguage=function(t){var e=this;t!==this.widgetInstance.options.language&&(this.widgetInstance.options.language=t,new a(this.getCurrentLayout(),this.widgetInstance.element.find(".letterarea")).render(function(){e.currentMinute=-1,e.update()}),this.setCookie("uhr-language",t),this.update())},t.prototype.setTheme=function(t){t!==this.widgetInstance.options.theme&&(this.widgetInstance.element.removeClass(this.widgetInstance.options.theme).addClass(t),$("#uhr-onoffswitch"+this.widgetInstance.uuid).removeClass(this.widgetInstance.options.theme).addClass(t),this.widgetInstance.options.theme=t,this.setCookie("uhr-theme",t))},t.prototype.setTime=function(t){this.currentMinute=null,null===t?this.widgetInstance.options.time=new Date:(null!==this.timer&&window.clearInterval(this.timer),this.widgetInstance.options.time=t),this.update()},t.prototype.setMode=function(t){this.widgetInstance.options.mode=t,this.currentMinute=null,this.update(),this.setCookie("uhr-mode",t)},t.prototype.setWidth=function(t){var e=this.widgetInstance.element;e.css("width",t);var n=e.width();e.width(n),e.height(n),e.css("font-size",n/40+"px")},t.prototype.setupHTML=function(){var t=this,e=this.widgetInstance.element;if(e.addClass("uhr").empty().append('').append('').append('').append('').append('
').append('
'),this.setWidth(this.widgetInstance.options.width),this.widgetInstance.options.controls){var n=$('
'),o=$('
');n.append(o);var s=$('
');s.append(''),s.append(''),o.append(s);var r=$('
');if(r.append(''),r.append(''),o.append(r),i.hasMultipleLayouts()){var a=$('');i.getLayouts().forEach(function(t){a.append('")}),o.append(a)}if(i.hasMultipleThemes()){var u=$('');i.getThemes().forEach(function(t){u.append('")}),o.append(u)}var h=$('');h.on("click",function(){return $("#uhr-controlpanel"+t.widgetInstance.uuid).hide("fast")}),o.append(h),e.after(n),n.hide();var c=$('');c.on({click:function(){return t.toggleConfigScreen()}}),e.after(c)}},t.prototype.wireFunctionality=function(){var t=this,e=$("#uhr-onoffswitch-checkbox"+this.widgetInstance.uuid);e.on({click:function(){return t.toggle()}});var n=this.getCookie("uhr-status");(void 0===n||this.widgetInstance.options.force)&&(n=this.widgetInstance.options.status),e.prop("checked","on"===n),"on"===n?this.start():this.stop();var o=$("#uhr-modeswitch-checkbox"+this.widgetInstance.uuid);o.on({click:function(){"seconds"===t.widgetInstance.options.mode?t.setMode("normal"):t.setMode("seconds")}});var s=this.getCookie("uhr-mode");(void 0===s||this.widgetInstance.options.force)&&(s=this.widgetInstance.options.mode),o.prop("checked","seconds"!==s),"seconds"===s?this.setMode("seconds"):this.setMode("normal");var r=$("#uhr-languagechooser"+this.widgetInstance.uuid);r.on({change:function(){var e=$("#uhr-languagechooser"+t.widgetInstance.uuid).val();t.setLanguage(e)}});var a=this.getCookie("uhr-language");(void 0===a||this.widgetInstance.options.force)&&(a=this.widgetInstance.options.language);var u=i.getLayouts().some(function(t){return a===t.code});if(!u){var h=void 0;h=i.hasLayouts()?i.getFirstLayout().code:"",console.warn("Language '"+a+"' not found! Using fallback '"+h+"'."),a=h}r.val(a),this.widgetInstance.options.language="",this.setLanguage(a);var c=$("#uhr-themechooser"+this.widgetInstance.uuid);c.on({change:function(){var e=$("#uhr-themechooser"+t.widgetInstance.uuid).val();t.setTheme(e)}});var d=this.getCookie("uhr-theme");if((void 0===d||this.widgetInstance.options.force)&&(d=this.widgetInstance.options.theme),!(u=i.getThemes().some(function(t){return d===t.styleClass}))){var l=i.getFirstTheme().styleClass;console.warn("Theme '"+d+"' not found! Using fallback '"+l+"'."),d=l}c.val(d),this.widgetInstance.options.theme="",this.setTheme(d),this.widgetInstance.options.autoresize&&$(window).on({resize:function(){var e=t.widgetInstance.element.parent(),n=$(window),i=e.width(),o=e.height(),s=n.width(),r=n.height(),a=Math.min(i,o,s,r)+"px";t.setWidth(a)}})},t.prototype.isOn=function(){return null!==this.timer},t.prototype.getCookie=function(t){return h.get(t+this.widgetInstance.uuid)},t.prototype.setCookie=function(t,e){var n;n=void 0!==this.widgetInstance.options.cookiePath?{expires:365,path:this.widgetInstance.options.cookiePath}:{expires:365},h.set(t+this.widgetInstance.uuid,e,n)},t.prototype.update=function(){if(this.isOn()){var t=this.widgetInstance.options.time;if(!this.getCurrentLayout().hasOwnProperty("seconds")&&"seconds"!==this.widgetInstance.options.mode){if(t.getMinutes()===this.currentMinute)return;this.currentMinute=t.getMinutes()}this.show(t)}else this.clear(),this.currentMinute=-1},t.prototype.show=function(t){var e=this.getSecond(t),n=this.getDotMinute(t),i=this.getHour(t),o=this.getCoarseMinute(t);if(this.clear(),"seconds"===this.widgetInstance.options.mode)this.highlight("second"+e);else{this.highlight("on");for(var s=1;s<=n;s++)this.highlight("dot"+s);this.highlight("minute"+o),this.highlight("hour"+i)}},t.prototype.clear=function(){this.widgetInstance.element.find(".item").removeClass("active")},t.prototype.highlight=function(t){this.widgetInstance.element.find(".item."+t).addClass("active")},t.prototype.getSecond=function(t){return"function"==typeof this.getCurrentLayout().getSeconds?this.getCurrentLayout().getSeconds(t):t.getSeconds()},t.prototype.getDotMinute=function(t){return"function"==typeof this.getCurrentLayout().getDotMinute?this.getCurrentLayout().getDotMinute(t):t.getMinutes()%5},t.prototype.getCoarseMinute=function(t){return"function"==typeof this.getCurrentLayout().getCoarseMinute?this.getCurrentLayout().getCoarseMinute(t):t.getMinutes()},t.prototype.getHour=function(t){if("function"==typeof this.getCurrentLayout().getHour)return this.getCurrentLayout().getHour(t);var e=t.getHours();return t.getMinutes()>=25?(e+1)%24:e},t.prototype.toggleConfigScreen=function(){$("#uhr-controlpanel"+this.widgetInstance.uuid).toggle("fast")},t.prototype.parseHash=function(){var t=this,e=window.location.hash;void 0!==e&&"#"===e.charAt(0)&&(e=e.substring(1),(e=decodeURIComponent(e)).split("&").forEach(function(e){var n=e.split("="),i=n[0],o=n[1];switch(i){case"l":case"language":t.widgetInstance.options.language=o,t.widgetInstance.options.force=!0;break;case"t":case"theme":t.widgetInstance.options.theme=o,t.widgetInstance.options.force=!0;break;case"m":case"mode":t.widgetInstance.options.mode=o,t.widgetInstance.options.force=!0;break;case"s":case"status":t.widgetInstance.options.status=o,t.widgetInstance.options.force=!0}}))},t.prototype.getCurrentLayout=function(){var t=this,e=i.getLayouts().filter(function(e){return e.code===t.widgetInstance.options.language},this);return e.length>0?e[0]:u},t}(),d={4:[1,2]},l={3:[9,10,11]},p={4:[4,5,6,7,8]},g={1:[9,10,11]},f={2:[9,10,11]},v={2:[1,2,3,4,5,6]},I={3:[1,2,3,4,5,6]},m={code:"de_CH",hours:{"0,12":{10:[1,2,3,4,5,6]},"1,13":{5:[1,2,3]},"2,14":{5:[4,5,6,7]},"3,15":{5:[9,10,11]},"4,16":{6:[1,2,3,4,5]},"5,17":{6:[6,7,8,9]},"6,18":{7:[1,2,3,4,5,6]},"7,19":{7:[7,8,9,10,11]},"8,20":{8:[1,2,3,4,5]},"9,21":{8:[6,7,8,9]},"10,22":{9:[1,2,3,4]},"11,23":{9:[8,9,10,11]}},letters:["ESKISCHAFÜF","VIERTUBFZÄÄ","ZWÄNZGSIVOR","ABOHAUBIEGE","EISZWÖISDRÜ","VIERIFÜFIQT","SÄCHSISIBNI","ACHTINÜNIEL","ZÄNIERBEUFI","ZWÖUFINAUHR"],minutes:{"5,6,7,8,9":[g,d],"10,11,12,13,14":[f,d],"15,16,17,18,19":[v,d],"20,21,22,23,24":[I,d],"25,26,27,28,29":[g,l,p],"30,31,32,33,34":p,"35,36,37,38,39":[g,d,p],"40,41,42,43,44":[I,l],"45,46,47,48,49":[v,l],"50,51,52,53,54":[f,l],"55,56,57,58,59":[g,l]},permanent:{1:[1,2,4,5,6,7]},prettyName:"Bärndütsch",version:2},E={4:[4,5]},y={4:[1,2,3]},w={4:[7,8,9,10,11]},T={1:[9,10,11]},N={2:[9,10,11]},O={2:[1,2,3,4,5,6]},C={3:[1,2,3,4,5,6]},S={code:"de_CH_genau",hours:{"0,12":{10:[1,2,3,4,5,6]},"1,13":{5:[1,2,3]},"2,14":{5:[4,5,6,7]},"3,15":{5:[9,10,11]},"4,16":{6:[1,2,3,4,5]},"5,17":{6:[6,7,8,9]},"6,18":{7:[1,2,3,4,5,6]},"7,19":{7:[7,8,9,10,11]},"8,20":{8:[1,2,3,4,5]},"9,21":{8:[6,7,8,9]},"10,22":{9:[1,2,3,4]},"11,23":{9:[8,9,10,11]}},letters:["ESKISCHAFÜF","VIERTUBFZÄÄ","ZWÄNZGGENAU","VORABOHAUBI","EISZWÖISDRÜ","VIERIFÜFIQT","SÄCHSISIBNI","ACHTINÜNIEL","ZÄNIERBEUFI","ZWÖUFINAUHR"],minutes:{0:{3:[7,8,9,10,11]},"5,6,7,8,9":[T,E],"10,11,12,13,14":[N,E],"15,16,17,18,19":[O,E],"20,21,22,23,24":[C,E],"25,26,27,28,29":[T,y,w],"30,31,32,33,34":w,"35,36,37,38,39":[T,E,w],"40,41,42,43,44":[C,y],"45,46,47,48,49":[O,y],"50,51,52,53,54":[N,y],"55,56,57,58,59":[T,y]},permanent:{1:[1,2,4,5,6,7]},prettyName:"Bärndütsch (genau)",version:2},L={4:[8,9,10,11]},M={4:[1,2,3]},A={5:[1,2,3,4]},R={1:[8,9,10,11]},_={2:[1,2,3,4]},H={2:[5,6,7,8,9,10,11]},b={code:"de",hours:{"0,12":{9:[7,8,9,10,11]},"1,13":{6:[1,2,3,4]},"2,14":{6:[8,9,10,11]},"3,15":{7:[1,2,3,4]},"4,16":{7:[8,9,10,11]},"5,17":{5:[8,9,10,11]},"6,18":{8:[1,2,3,4,5]},"7,19":{9:[1,2,3,4,5,6]},"8,20":{8:[8,9,10,11]},"9,21":{10:[4,5,6,7]},"10,22":{10:[1,2,3,4]},"11,23":{5:[6,7,8]}},letters:["ESKISTAFÜNF","ZEHNZWANZIG","DREIVIERTEL","VORFUNKNACH","HALBAELFÜNF","EINSXAMZWEI","DREIPMJVIER","SECHSNLACHT","SIEBENZWÖLF","ZEHNEUNKUHR"],minutes:{"0,1,2,3,4":{10:[9,10,11]},"5,6,7,8,9":[R,L],"10,11,12,13,14":[_,L],"15,16,17,18,19":[{3:[5,6,7,8,9,10,11]},L],"20,21,22,23,24":[H,L],"25,26,27,28,29":[R,M,A],"30,31,32,33,34":A,"35,36,37,38,39":[R,L,A],"40,41,42,43,44":[H,M],"45,46,47,48,49":{3:[1,2,3,4,5,6,7,8,9,10,11]},"50,51,52,53,54":[_,M],"55,56,57,58,59":[R,M]},permanent:{1:[1,2,4,5,6]},prettyName:"Deutsch",version:2},U={4:[4,5,6,7,8,9,10,11]},k={5:[8]},F={5:[4,5,6,7]},V={2:[1,2,3]},D={4:[1,2]},Z={3:[4,5,6,7,8]},x={2:[4,5,6,7]},P={6:[8,9,10,11]},W={code:"dk",hours:{"0,12":{10:[8,9,10,11]},"1,13":{7:[1,2]},"2,14":{7:[3,4]},"3,15":{7:[5,6,7]},"4,16":{7:[8,9,10,11]},"5,17":{8:[1,2,3]},"6,18":{8:[4,5,6,7]},"7,19":{8:[9,10,11]},"8,20":{9:[1,2,3,4]},"9,21":{9:[6,7]},"10,22":{9:[10,11]},"11,23":{10:[1,2,3,4,5,6]}},letters:["KLOKKENVERO","FEMTYVESKLA","OJEKVARTVAT","TIAMINUTTER","VEMOVERILMF","MONALISHALV","ETTOTREFIRE","FEMSEKSRSYV","OTTERNIMETI","ELLEVEATOLV"],minutes:{"5,6,7,8,9":[V,U,F],"10,11,12,13,14":[D,U,F],"15,16,17,18,19":[Z,F],"20,21,22,23,24":[x,U,F],"25,26,27,28,29":[V,U,k,P],"30,31,32,33,34":[P],"35,36,37,38,39":[V,U,F,P],"40,41,42,43,44":[x,U,k],"45,46,47,48,49":[Z,k],"50,51,52,53,54":[D,U,k],"55,56,57,58,59":[V,U,k]},permanent:{1:[1,2,3,4,5,6,7,9,10]},prettyName:"Dansk",version:2},B={4:[10,11]},j={5:[1,2,3,4]},K={3:[7,8,9,10]},Q={4:[6,7,8]},G={2:[1,3,4,5,6,7,8,9]},Y={3:[1,2,3,4,5,6]},X={3:[1,2,3,4,5,6,7,8,9,10]},z={code:"en",getHour:function(t){var e=t.getHours();return t.getMinutes()>=35?(e+1)%24:e},hours:{"0,12":{9:[6,7,8,9,10,11]},"1,13":{6:[1,2,3]},"2,14":{7:[9,10,11]},"3,15":{6:[7,8,9,10,11]},"4,16":{7:[1,2,3,4]},"5,17":{7:[5,6,7,8]},"6,18":{6:[4,5,6]},"7,19":{9:[1,2,3,4,5]},"8,20":{8:[1,2,3,4,5]},"9,21":{5:[8,9,10,11]},"10,22":{10:[1,2,3]},"11,23":{8:[6,7,8,9,10,11]}},letters:["ITLISBFAMPM","ACQUARTERDC","TWENTYFIVEX","HALFBTENFTO","PASTERUNINE","ONESIXTHREE","FOURFIVETWO","EIGHTELEVEN","SEVENTWELVE","TENSO'CLOCK"],minutes:{"0,1,2,3,4":{10:[5,6,7,8,9,10,11]},"5,6,7,8,9":[K,j],"10,11,12,13,14":[Q,j],"15,16,17,18,19":[G,j],"20,21,22,23,24":[Y,j],"25,26,27,28,29":[X,j],"30,31,32,33,34":[{4:[1,2,3,4]},j],"35,36,37,38,39":[X,B],"40,41,42,43,44":[Y,B],"45,46,47,48,49":[G,B],"50,51,52,53,54":[Q,B],"55,56,57,58,59":[K,B]},permanent:{1:[1,2,4,5]},prettyName:"English",version:2},J={1:[2,3,4,6,7,8]},q={7:[6]},tt={7:[7,8,9,10,11]},et={9:[7,8,9,10,11]},nt={8:[8,9,10,11]},it={10:[6,7,8,9,10,11]},ot={8:[2,3,4,5,6,7]},st={9:[1,2,3,4,5,6,7,8,9,10,11]},rt={code:"es",getHour:function(t){var e=t.getHours();return t.getMinutes()>=35?(e+1)%24:e},hours:{"0,12":[J,{7:[1,2,3,4]}],"1,13":[{1:[1,2,6,7]},{1:[9,10,11]}],"2,14":[J,{2:[1,2,3]}],"3,15":[J,{2:[5,6,7,8]}],"4,16":[J,{3:[1,2,3,4,5,6]}],"5,17":[J,{3:[7,8,9,10,11]}],"6,18":[J,{4:[1,2,3,4]}],"7,19":[J,{4:[6,7,8,9,10]}],"8,20":[J,{5:[1,2,3,4]}],"9,21":[J,{5:[5,6,7,8,9]}],"10,22":[J,{6:[3,4,5,6]}],"11,23":[J,{6:[8,9,10,11]}]},letters:["ESONELASUNA","DOSITRESORE","CUATROCINCO","SEISASIETEN","OCHONUEVEYO","LADIEZSONCE","DOCELYMENOS","OVEINTEDIEZ","VEINTICINCO","MEDIACUARTO"],minutes:{"5,6,7,8,9":[q,et],"10,11,12,13,14":[q,nt],"15,16,17,18,19":[q,it],"20,21,22,23,24":[q,ot],"25,26,27,28,29":[q,st],"30,31,32,33,34":[q,{10:[1,2,3,4,5]}],"35,36,37,38,39":[tt,st],"40,41,42,43,44":[tt,ot],"45,46,47,48,49":[tt,it],"50,51,52,53,54":[tt,nt],"55,56,57,58,59":[tt,et]},permanent:null,prettyName:"Español",version:2},at={8:[1,2]},ut={7:[1,2,3,4,5]},ht={6:[6,7,8,9,10,11]},ct={9:[7,8,9,10]},dt={7:[9,10,11]},lt={8:[4,5,6,7,8]},pt={9:[1,2,3,4,5]},gt={9:[1,2,3,4,5,6,7,8,9,10]},ft={code:"fr",getHour:function(t){var e=t.getHours();return t.getMinutes()>=35?(e+1)%24:e},hours:{0:{5:[6,7,8,9,10,11]},"1,13":[{3:[5,6,7]},ht],"2,14":[{1:[8,9,10,11]},ht],"3,15":[{2:[7,8,9,10,11]},ht],"4,16":[{2:[1,2,3,4,5,6]},ht],"5,17":[{4:[8,9,10,11]},ht],"6,18":[{4:[5,6,7]},ht],"7,19":[{3:[8,9,10,11]},ht],"8,20":[{4:[1,2,3,4]},ht],"9,21":[{3:[1,2,3,4]},ht],"10,22":[{5:[3,4,5]},ht],"11,23":[{6:[1,2,3,4]},ht],12:{5:[1,2,3,4]}},letters:["ILNESTODEUX","QUATRETROIS","NEUFUNESEPT","HUITSIXCINQ","MIDIXMINUIT","ONZERHEURES","MOINSOLEDIX","ETRQUARTPMD","VINGT-CINQU","ETSDEMIEPAM"],minutes:{"5,6,7,8,9":ct,"10,11,12,13,14":dt,"15,16,17,18,19":[at,lt],"20,21,22,23,24":pt,"25,26,27,28,29":gt,"30,31,32,33,34":[at,{10:[4,5,6,7,8]}],"35,36,37,38,39":[ut,gt],"40,41,42,43,44":[ut,pt],"45,46,47,48,49":[ut,{7:[7,8]},lt],"50,51,52,53,54":[ut,dt],"55,56,57,58,59":[ut,ct]},permanent:{1:[1,2,4,5,6]},prettyName:"Français",version:2},vt={1:[1,2,3,4,6,7]},It={8:[1]},mt={7:[8,9,10,11]},Et={9:[6,7,8,9,10,11]},yt={10:[1,2,3,4,5]},wt={8:[3,4,6,7,8,9,10,11]},Tt={9:[1,2,3,4,5]},Nt={9:[1,2,3,4,5,6,7,8,9,10,11]},Ot={code:"it",getHour:function(t){var e=t.getHours();return t.getMinutes()>=35?(e+1)%24:e},hours:{"0,12":[vt,{5:[1,2,3,4,5,6]}],"1,13":[{2:[1,3,4]},{2:[5,6,7]}],"2,14":[vt,{2:[9,10,11]}],"3,15":[vt,{3:[1,2,3]}],"4,16":[vt,{6:[1,2,3,4,5,6,7]}],"5,17":[vt,{7:[1,2,3,4,5,6]}],"6,18":[vt,{6:[9,10,11]}],"7,19":[vt,{5:[7,8,9,10,11]}],"8,20":[vt,{3:[4,5,6,7]}],"9,21":[vt,{3:[8,9,10,11]}],"10,22":[vt,{4:[1,2,3,4,5]}],"11,23":[vt,{4:[6,7,8,9,10,11]}]},letters:["SONORLEBORE","ÈRL'UNASDUE","TREOTTONOVE","DIECIUNDICI","DODICISETTE","QUATTROCSEI","CINQUEAMENO","ECUNOQUARTO","VENTICINQUE","DIECIPMEZZA"],minutes:{"5,6,7,8,9":[It,Et],"10,11,12,13,14":[It,yt],"15,16,17,18,19":[It,wt],"20,21,22,23,24":[It,Tt],"25,26,27,28,29":[It,Nt],"30,31,32,33,34":[It,{10:[7,8,9,10,11]}],"35,36,37,38,39":[mt,Nt],"40,41,42,43,44":[mt,Tt],"45,46,47,48,49":[mt,wt],"50,51,52,53,54":[mt,yt],"55,56,57,58,59":[mt,Et]},permanent:null,prettyName:"Italiano",version:2},Ct={3:[1,2,3,4]},St={2:[8,9,10,11]},Lt={4:[1,2,3,4]},Mt={1:[8,9,10,11]},At={2:[1,2,3,4]},Rt={3:[7,8,9,10,11]},_t={code:"nl",getHour:function(t){var e=t.getHours();return t.getMinutes()>=20?(e+1)%24:e},hours:{"0,12":{10:[1,2,3,4,5,6]},"1,13":{5:[8,9,10]},"2,14":{6:[1,2,3,4]},"3,15":{6:[8,9,10,11]},"4,16":{7:[1,2,3,4]},"5,17":{7:[5,6,7,8]},"6,18":{7:[9,10,11]},"7,19":{8:[1,2,3,4,5]},"8,20":{9:[1,2,3,4]},"9,21":{8:[7,8,9,10,11]},"10,22":{9:[5,6,7,8]},"11,23":{9:[9,10,11]}},letters:["HETKISAVIJF","TIENBTZVOOR","OVERMEKWART","HALFSPWOVER","VOORTHGEENS","TWEEPVCDRIE","VIERVIJFZES","ZEVENONEGEN","ACHTTIENELF","TWAALFBFUUR"],minutes:{"0,1,2,3,4":{10:[9,10,11]},"5,6,7,8,9":[Mt,Ct],"10,11,12,13,14":[At,Ct],"15,16,17,18,19":[Rt,{4:[8,9,10,11]}],"20,21,22,23,24":[At,St,Lt],"25,26,27,28,29":[Mt,St,Lt],"30,31,32,33,34":Lt,"35,36,37,38,39":[Mt,Ct,Lt],"40,41,42,43,44":[At,Ct,Lt],"45,46,47,48,49":[Rt,{5:[1,2,3,4]}],"50,51,52,53,54":[At,St],"55,56,57,58,59":[Mt,St]},permanent:{1:[1,2,3,5,6]},prettyName:"Nederlands",version:2},Ht={1:[1]},bt={1:[2,3,4]},Ut={7:[8]},kt={10:[5]},Ft={7:[7,8,9,10,11]},Vt={10:[7,8,9,10,11]},Dt={10:[1,2,3]},Zt={9:[1,2,4,5,6,7,8,9]},$t={8:[1,2,3,4,5]},xt={code:"pt",getHour:function(t){var e=t.getHours();return t.getMinutes()>=35?(e+1)%24:e},hours:{0:[Ht,{6:[2,3,4,5,7,8,9,10,11]}],12:[Ht,{2:[1,2,3,4,6,7,8]}],"1,13":[Ht,{1:[5,6,7]}],"2,14":[bt,{3:[1,2,3,4]}],"3,15":[bt,{1:[8,9,10,11]}],"4,16":[bt,{4:[1,2,3,4,5,6]}],"5,17":[bt,{5:[1,2,3,4,5]}],"6,18":[bt,{3:[4,5,6,7]}],"7,19":[bt,{3:[7,8,9,10]}],"8,20":[bt,{5:[5,6,7,8]}],"9,21":[bt,{4:[8,9,10,11]}],"10,22":[bt,{2:[9,10,11]}],"11,23":[bt,{5:[8,9,10,11]}]},letters:["ÉSÃOUMATRÊS","MEIOLDIADEZ","DUASEISETEY","QUATROHNOVE","CINCOITONZE","ZMEIALNOITE","HORASYMENOS","VINTECAMEIA","UMVQUARTOPM","DEZOEYCINCO"],minutes:{"5,6,7,8,9":[Ut,Vt],"10,11,12,13,14":[Ut,Dt],"15,16,17,18,19":[Ut,Zt],"20,21,22,23,24":[Ut,$t],"25,26,27,28,29":[Ut,$t,kt,Vt],"30,31,32,33,34":[Ut,{8:[8,9,10,11]}],"35,36,37,38,39":[Ft,$t,kt,Vt],"40,41,42,43,44":[Ft,$t],"45,46,47,48,49":[Ft,Zt],"50,51,52,53,54":[Ft,Dt],"55,56,57,58,59":[Ft,Vt]},permanent:null,prettyName:"Português",version:2};o("link[rel=stylesheet]").each(function(t,e){var n=o(e),s=n.attr("data-class");if(void 0!==s){var r=n.attr("data-name");void 0===r&&(r=s),i.registerTheme(r,s)}}),i.hasThemes()||i.registerTheme("",""),i.registerLayout(m),i.registerLayout(S),i.registerLayout(b),i.registerLayout(W),i.registerLayout(z),i.registerLayout(rt),i.registerLayout(ft),i.registerLayout(Ot),i.registerLayout(_t),i.registerLayout(xt),$.widget("fritteli.uhr",{options:{width:"100%",status:"on",language:"de_CH",theme:i.getFirstTheme().styleClass,force:!1,controls:!0,cookiePath:void 0,autoresize:!0,mode:"normal"},start:function(){this.__fritteli_uhr_instance.start()},stop:function(){this.__fritteli_uhr_instance.stop()},toggle:function(){this.__fritteli_uhr_instance.toggle()},language:function(t){this.__fritteli_uhr_instance.setLanguage(t)},theme:function(t){this.__fritteli_uhr_instance.setTheme(t)},time:function(t){this.__fritteli_uhr_instance.setTime(t)},mode:function(t){this.__fritteli_uhr_instance.setMode(t)},width:function(t){this.__fritteli_uhr_instance.setWidth(t)},_create:function(){this.__fritteli_uhr_instance=new c(this)},_destroy:function(){this.__fritteli_uhr_instance.destroy()},__fritteli_uhr_instance:null}),$.fritteli.uhr.register=i.registerLayout}}); \ No newline at end of file diff --git a/index.html b/index.html index 92cb65e..b98a95a 100644 --- a/index.html +++ b/index.html @@ -21,8 +21,8 @@ along with this program. If not, see . - - + + diff --git a/package-lock.json b/package-lock.json index 216b12b..c67eee2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,6 +24,23 @@ "js-tokens": "^4.0.0" } }, + "@types/events": { + "version": "3.0.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/@types/events/-/events-3.0.0.tgz", + "integrity": "sha1-KGLz9Yqaf3w+eNefEw3U1xwlwqc=", + "dev": true + }, + "@types/glob": { + "version": "7.1.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/@types/glob/-/glob-7.1.1.tgz", + "integrity": "sha1-qlmhxuP7xCHgfM0xqUTDDrpSFXU=", + "dev": true, + "requires": { + "@types/events": "*", + "@types/minimatch": "*", + "@types/node": "*" + } + }, "@types/jquery": { "version": "3.3.29", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/@types/jquery/-/jquery-3.3.29.tgz", @@ -48,6 +65,18 @@ "integrity": "sha1-hOiEjhTURBhybOtS3Yh8e/5F1ng=", "dev": true }, + "@types/minimatch": { + "version": "3.0.3", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/@types/minimatch/-/minimatch-3.0.3.tgz", + "integrity": "sha1-PcoOPzOyAPx9ETnAzZbBJoyt/Z0=", + "dev": true + }, + "@types/node": { + "version": "12.0.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/@types/node/-/node-12.0.0.tgz", + "integrity": "sha1-0RgTucD/iqyinwTLwSgX9MfWVuU=", + "dev": true + }, "@types/sizzle": { "version": "2.3.2", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/@types/sizzle/-/sizzle-2.3.2.tgz", @@ -271,6 +300,12 @@ "integrity": "sha1-0pHGpOl5ibXGHZrPOWrk/hM6cY0=", "dev": true }, + "abbrev": { + "version": "1.1.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/abbrev/-/abbrev-1.1.1.tgz", + "integrity": "sha1-+PLIh60Qv2f2NPAFtph/7TF5qsg=", + "dev": true + }, "acorn": { "version": "6.1.1", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/acorn/-/acorn-6.1.1.tgz", @@ -313,6 +348,12 @@ "integrity": "sha1-S4Mee1MUFafMUYzUBOc/YZPGNJ0=", "dev": true }, + "amdefine": { + "version": "1.0.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/amdefine/-/amdefine-1.0.1.tgz", + "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=", + "dev": true + }, "ansi-colors": { "version": "3.2.3", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/ansi-colors/-/ansi-colors-3.2.3.tgz", @@ -367,6 +408,16 @@ "integrity": "sha1-aALmJk79GMeQobDVF/DyYnvyyUo=", "dev": true }, + "are-we-there-yet": { + "version": "1.1.5", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz", + "integrity": "sha1-SzXClE8GKov82mZBB2A1D+nd/CE=", + "dev": true, + "requires": { + "delegates": "^1.0.0", + "readable-stream": "^2.0.6" + } + }, "argparse": { "version": "1.0.10", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/argparse/-/argparse-1.0.10.tgz", @@ -402,6 +453,27 @@ "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=", "dev": true }, + "array-find-index": { + "version": "1.0.2", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/array-find-index/-/array-find-index-1.0.2.tgz", + "integrity": "sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E=", + "dev": true + }, + "array-union": { + "version": "1.0.2", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/array-union/-/array-union-1.0.2.tgz", + "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", + "dev": true, + "requires": { + "array-uniq": "^1.0.1" + } + }, + "array-uniq": { + "version": "1.0.3", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/array-uniq/-/array-uniq-1.0.3.tgz", + "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=", + "dev": true + }, "array-unique": { "version": "0.3.2", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/array-unique/-/array-unique-0.3.2.tgz", @@ -435,6 +507,23 @@ "dev": true, "requires": { "util": "0.10.3" + }, + "dependencies": { + "inherits": { + "version": "2.0.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/inherits/-/inherits-2.0.1.tgz", + "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=", + "dev": true + }, + "util": { + "version": "0.10.3", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/util/-/util-0.10.3.tgz", + "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", + "dev": true, + "requires": { + "inherits": "2.0.1" + } + } } }, "assert-plus": { @@ -467,6 +556,12 @@ "integrity": "sha1-tyfb+H12UWAvBvTUrDh/R9kbDL8=", "dev": true }, + "async-foreach": { + "version": "0.1.3", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/async-foreach/-/async-foreach-0.1.3.tgz", + "integrity": "sha1-NhIfhFwFeBct5Bmpfb6x0W7DRUI=", + "dev": true + }, "asynckit": { "version": "0.4.0", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/asynckit/-/asynckit-0.4.0.tgz", @@ -491,6 +586,16 @@ "integrity": "sha1-8OAD2cqef1nHpQiUXXsu+aBKVC8=", "dev": true }, + "babel-runtime": { + "version": "6.26.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/babel-runtime/-/babel-runtime-6.26.0.tgz", + "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", + "dev": true, + "requires": { + "core-js": "^2.4.0", + "regenerator-runtime": "^0.11.0" + } + }, "balanced-match": { "version": "1.0.0", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/balanced-match/-/balanced-match-1.0.0.tgz", @@ -579,6 +684,15 @@ "integrity": "sha1-WYr+VHVbKGilMw0q/51Ou1Mgm2U=", "dev": true }, + "block-stream": { + "version": "0.0.9", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/block-stream/-/block-stream-0.0.9.tgz", + "integrity": "sha1-E+v+d4oDIFz+A3UUgeu0szAMEmo=", + "dev": true, + "requires": { + "inherits": "~2.0.0" + } + }, "bluebird": { "version": "3.5.4", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/bluebird/-/bluebird-3.5.4.tgz", @@ -713,6 +827,12 @@ "pako": "~1.0.5" } }, + "btoa": { + "version": "1.2.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/btoa/-/btoa-1.2.1.tgz", + "integrity": "sha1-AamQn4ssk/a/aAuiYTHrMPf6PXM=", + "dev": true + }, "buffer": { "version": "4.9.1", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/buffer/-/buffer-4.9.1.tgz", @@ -764,19 +884,20 @@ "y18n": "^4.0.0" }, "dependencies": { - "glob": { - "version": "7.1.3", - "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/glob/-/glob-7.1.3.tgz", - "integrity": "sha1-OWCDLT8VdBCDQtr9OmezMsCWnfE=", + "lru-cache": { + "version": "5.1.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha1-HaJ+ZxAnGUdpXa9oSOhH8B2EuSA=", "dev": true, "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "yallist": "^3.0.2" } + }, + "yallist": { + "version": "3.0.3", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/yallist/-/yallist-3.0.3.tgz", + "integrity": "sha1-tLBJ4xS+VF486AIjbWzSLNkcPek=", + "dev": true } } }, @@ -803,6 +924,22 @@ "integrity": "sha1-s2MKvYlDQy9Us/BRkjjjPNffL3M=", "dev": true }, + "camelcase": { + "version": "2.1.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/camelcase/-/camelcase-2.1.1.tgz", + "integrity": "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=", + "dev": true + }, + "camelcase-keys": { + "version": "2.1.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/camelcase-keys/-/camelcase-keys-2.1.0.tgz", + "integrity": "sha1-MIvur/3ygRkFHvodkyITyRuPkuc=", + "dev": true, + "requires": { + "camelcase": "^2.0.0", + "map-obj": "^1.0.0" + } + }, "caseless": { "version": "0.12.0", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/caseless/-/caseless-0.12.0.tgz", @@ -925,6 +1062,15 @@ } } }, + "clean-webpack-plugin": { + "version": "2.0.2", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/clean-webpack-plugin/-/clean-webpack-plugin-2.0.2.tgz", + "integrity": "sha1-gFoZ/yDUagYSUpiiXrMRQuytIWY=", + "dev": true, + "requires": { + "del": "^4.0.0" + } + }, "cli-cursor": { "version": "2.1.0", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/cli-cursor/-/cli-cursor-2.1.0.tgz", @@ -968,6 +1114,18 @@ } } }, + "clone-deep": { + "version": "2.0.2", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/clone-deep/-/clone-deep-2.0.2.tgz", + "integrity": "sha1-ANs6Hhc2VnMNEYjD1qztbX6pdxM=", + "dev": true, + "requires": { + "for-own": "^1.0.0", + "is-plain-object": "^2.0.4", + "kind-of": "^6.0.0", + "shallow-clone": "^1.0.0" + } + }, "code-point-at": { "version": "1.1.0", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/code-point-at/-/code-point-at-1.1.0.tgz", @@ -1053,6 +1211,12 @@ "date-now": "^0.1.4" } }, + "console-control-strings": { + "version": "1.1.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/console-control-strings/-/console-control-strings-1.1.0.tgz", + "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", + "dev": true + }, "constants-browserify": { "version": "1.0.0", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/constants-browserify/-/constants-browserify-1.0.0.tgz", @@ -1079,6 +1243,12 @@ "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", "dev": true }, + "core-js": { + "version": "2.6.5", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/core-js/-/core-js-2.6.5.tgz", + "integrity": "sha1-RLyNJJ5/sv9dAOA0Gn/7lPv2eJU=", + "dev": true + }, "core-util-is": { "version": "1.0.2", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/core-util-is/-/core-util-is-1.0.2.tgz", @@ -1154,6 +1324,48 @@ "randomfill": "^1.0.3" } }, + "css-loader": { + "version": "2.1.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/css-loader/-/css-loader-2.1.1.tgz", + "integrity": "sha1-2CVPcuQSuyI4u0TdZ0/770lzM+o=", + "dev": true, + "requires": { + "camelcase": "^5.2.0", + "icss-utils": "^4.1.0", + "loader-utils": "^1.2.3", + "normalize-path": "^3.0.0", + "postcss": "^7.0.14", + "postcss-modules-extract-imports": "^2.0.0", + "postcss-modules-local-by-default": "^2.0.6", + "postcss-modules-scope": "^2.1.0", + "postcss-modules-values": "^2.0.0", + "postcss-value-parser": "^3.3.0", + "schema-utils": "^1.0.0" + }, + "dependencies": { + "camelcase": { + "version": "5.3.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha1-48mzFWnhBoEd8kL3FXJaH0xJQyA=", + "dev": true + } + } + }, + "cssesc": { + "version": "3.0.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/cssesc/-/cssesc-3.0.0.tgz", + "integrity": "sha1-N3QZGZA7hoVl4cCep0dEXNGJg+4=", + "dev": true + }, + "currently-unhandled": { + "version": "0.4.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/currently-unhandled/-/currently-unhandled-0.4.1.tgz", + "integrity": "sha1-mI3zP+qxke95mmE2nddsF635V+o=", + "dev": true, + "requires": { + "array-find-index": "^1.0.1" + } + }, "cyclist": { "version": "0.2.2", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/cyclist/-/cyclist-0.2.2.tgz", @@ -1261,12 +1473,41 @@ } } }, + "del": { + "version": "4.1.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/del/-/del-4.1.1.tgz", + "integrity": "sha1-no8RciLqRKMf86FWwEm5kFKp8LQ=", + "dev": true, + "requires": { + "@types/glob": "^7.1.1", + "globby": "^6.1.0", + "is-path-cwd": "^2.0.0", + "is-path-in-cwd": "^2.0.0", + "p-map": "^2.0.0", + "pify": "^4.0.1", + "rimraf": "^2.6.3" + }, + "dependencies": { + "pify": { + "version": "4.0.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/pify/-/pify-4.0.1.tgz", + "integrity": "sha1-SyzSXFDVmHNcUCkiJP2MbfQeMjE=", + "dev": true + } + } + }, "delayed-stream": { "version": "1.0.0", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/delayed-stream/-/delayed-stream-1.0.0.tgz", "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", "dev": true }, + "delegates": { + "version": "1.0.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/delegates/-/delegates-1.0.0.tgz", + "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", + "dev": true + }, "des.js": { "version": "1.0.0", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/des.js/-/des.js-1.0.0.tgz", @@ -1393,6 +1634,15 @@ "prr": "~1.0.1" } }, + "error-ex": { + "version": "1.3.2", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha1-tKxAZIEH/c3PriQvQovqihTU8b8=", + "dev": true, + "requires": { + "is-arrayish": "^0.2.1" + } + }, "es-abstract": { "version": "1.13.0", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/es-abstract/-/es-abstract-1.13.0.tgz", @@ -1588,6 +1838,12 @@ "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=", "dev": true }, + "events": { + "version": "3.0.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/events/-/events-3.0.0.tgz", + "integrity": "sha1-mgoN+vYok9krh1uPJpjKQRSXPog=", + "dev": true + }, "evp_bytestokey": { "version": "1.0.3", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", @@ -1760,6 +2016,18 @@ } } }, + "extract-loader": { + "version": "3.1.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/extract-loader/-/extract-loader-3.1.0.tgz", + "integrity": "sha1-1LX+UXudKPA1hSYCyutKIV6kHcM=", + "dev": true, + "requires": { + "babel-runtime": "^6.26.0", + "btoa": "^1.2.1", + "loader-utils": "^1.1.0", + "resolve": "^1.8.1" + } + }, "extract-zip": { "version": "1.6.7", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/extract-zip/-/extract-zip-1.6.7.tgz", @@ -1829,6 +2097,16 @@ "flat-cache": "^2.0.1" } }, + "file-loader": { + "version": "3.0.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/file-loader/-/file-loader-3.0.1.tgz", + "integrity": "sha1-+OC6C1mZGLUa3+RdZtHnca1WD6o=", + "dev": true, + "requires": { + "loader-utils": "^1.0.2", + "schema-utils": "^1.0.0" + } + }, "fill-range": { "version": "4.0.0", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/fill-range/-/fill-range-4.0.0.tgz", @@ -1923,6 +2201,15 @@ "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", "dev": true }, + "for-own": { + "version": "1.0.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/for-own/-/for-own-1.0.0.tgz", + "integrity": "sha1-xjMy9BXO3EsE2/5wz4NklMU8tEs=", + "dev": true, + "requires": { + "for-in": "^1.0.1" + } + }, "forever-agent": { "version": "0.6.1", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/forever-agent/-/forever-agent-0.6.1.tgz", @@ -2517,6 +2804,18 @@ } } }, + "fstream": { + "version": "1.0.11", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/fstream/-/fstream-1.0.11.tgz", + "integrity": "sha1-XB+x8RdHcRTwYyoOtLcbPLD9MXE=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "inherits": "~2.0.0", + "mkdirp": ">=0.5 0", + "rimraf": "2" + } + }, "function-bind": { "version": "1.1.1", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/function-bind/-/function-bind-1.1.1.tgz", @@ -2529,6 +2828,53 @@ "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", "dev": true }, + "gauge": { + "version": "2.7.4", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/gauge/-/gauge-2.7.4.tgz", + "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", + "dev": true, + "requires": { + "aproba": "^1.0.3", + "console-control-strings": "^1.0.0", + "has-unicode": "^2.0.0", + "object-assign": "^4.1.0", + "signal-exit": "^3.0.0", + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wide-align": "^1.1.0" + }, + "dependencies": { + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "requires": { + "number-is-nan": "^1.0.0" + } + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "requires": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + } + } + } + }, + "gaze": { + "version": "1.1.3", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/gaze/-/gaze-1.1.3.tgz", + "integrity": "sha1-xEFzPhO5J6yMD/C0w7Az8ogSkko=", + "dev": true, + "requires": { + "globule": "^1.0.0" + } + }, "get-caller-file": { "version": "2.0.5", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/get-caller-file/-/get-caller-file-2.0.5.tgz", @@ -2541,6 +2887,12 @@ "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=", "dev": true }, + "get-stdin": { + "version": "4.0.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/get-stdin/-/get-stdin-4.0.1.tgz", + "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=", + "dev": true + }, "get-stream": { "version": "4.1.0", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/get-stream/-/get-stream-4.1.0.tgz", @@ -2619,6 +2971,30 @@ "integrity": "sha1-q4eVM4hooLq9hSV1gBjCp+uVxC4=", "dev": true }, + "globby": { + "version": "6.1.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/globby/-/globby-6.1.0.tgz", + "integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=", + "dev": true, + "requires": { + "array-union": "^1.0.1", + "glob": "^7.0.3", + "object-assign": "^4.0.1", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" + } + }, + "globule": { + "version": "1.2.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/globule/-/globule-1.2.1.tgz", + "integrity": "sha1-Xf+xsZHyLSB5epNptJ6rTpg5aW0=", + "dev": true, + "requires": { + "glob": "~7.1.1", + "lodash": "~4.17.10", + "minimatch": "~3.0.2" + } + }, "graceful-fs": { "version": "4.1.15", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/graceful-fs/-/graceful-fs-4.1.15.tgz", @@ -2656,6 +3032,15 @@ "function-bind": "^1.1.1" } }, + "has-ansi": { + "version": "2.0.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/has-ansi/-/has-ansi-2.0.0.tgz", + "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", + "dev": true, + "requires": { + "ansi-regex": "^2.0.0" + } + }, "has-flag": { "version": "3.0.0", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/has-flag/-/has-flag-3.0.0.tgz", @@ -2668,6 +3053,12 @@ "integrity": "sha1-uhqPGvKg/DllD1yFA2dwQSIGO0Q=", "dev": true }, + "has-unicode": { + "version": "2.0.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/has-unicode/-/has-unicode-2.0.1.tgz", + "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", + "dev": true + }, "has-value": { "version": "1.0.0", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/has-value/-/has-value-1.0.0.tgz", @@ -2756,6 +3147,12 @@ "parse-passwd": "^1.0.0" } }, + "hosted-git-info": { + "version": "2.7.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/hosted-git-info/-/hosted-git-info-2.7.1.tgz", + "integrity": "sha1-l/I2l3vW4SVAiTD/bePuxigewEc=", + "dev": true + }, "http-signature": { "version": "1.2.0", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/http-signature/-/http-signature-1.2.0.tgz", @@ -2767,6 +3164,12 @@ "sshpk": "^1.7.0" } }, + "https-browserify": { + "version": "1.0.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/https-browserify/-/https-browserify-1.0.0.tgz", + "integrity": "sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=", + "dev": true + }, "iconv-lite": { "version": "0.4.24", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/iconv-lite/-/iconv-lite-0.4.24.tgz", @@ -2776,6 +3179,21 @@ "safer-buffer": ">= 2.1.2 < 3" } }, + "icss-replace-symbols": { + "version": "1.1.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/icss-replace-symbols/-/icss-replace-symbols-1.1.0.tgz", + "integrity": "sha1-Bupvg2ead0njhs/h/oEq5dsiPe0=", + "dev": true + }, + "icss-utils": { + "version": "4.1.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/icss-utils/-/icss-utils-4.1.0.tgz", + "integrity": "sha1-M527/7n4cpokO3AeHCnUzFjFLw4=", + "dev": true, + "requires": { + "postcss": "^7.0.14" + } + }, "ieee754": { "version": "1.1.13", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/ieee754/-/ieee754-1.1.13.tgz", @@ -2820,6 +3238,27 @@ "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", "dev": true }, + "in-publish": { + "version": "2.0.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/in-publish/-/in-publish-2.0.0.tgz", + "integrity": "sha1-4g/146KvwmkDILbcVSaCqcf631E=", + "dev": true + }, + "indent-string": { + "version": "2.1.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/indent-string/-/indent-string-2.1.0.tgz", + "integrity": "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=", + "dev": true, + "requires": { + "repeating": "^2.0.0" + } + }, + "indexes-of": { + "version": "1.0.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/indexes-of/-/indexes-of-1.0.1.tgz", + "integrity": "sha1-8w9xbI4r00bHtn0985FVZqfAVgc=", + "dev": true + }, "indexof": { "version": "0.0.1", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/indexof/-/indexof-0.0.1.tgz", @@ -2918,6 +3357,12 @@ } } }, + "is-arrayish": { + "version": "0.2.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", + "dev": true + }, "is-binary-path": { "version": "1.0.1", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/is-binary-path/-/is-binary-path-1.0.1.tgz", @@ -2996,6 +3441,15 @@ "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", "dev": true }, + "is-finite": { + "version": "1.0.2", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/is-finite/-/is-finite-1.0.2.tgz", + "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=", + "dev": true, + "requires": { + "number-is-nan": "^1.0.0" + } + }, "is-fullwidth-code-point": { "version": "2.0.0", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", @@ -3031,6 +3485,36 @@ } } }, + "is-path-cwd": { + "version": "2.1.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/is-path-cwd/-/is-path-cwd-2.1.0.tgz", + "integrity": "sha1-Lgx+Rj/1t6DrYIUthRpoCTR6Ekw=", + "dev": true + }, + "is-path-in-cwd": { + "version": "2.1.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/is-path-in-cwd/-/is-path-in-cwd-2.1.0.tgz", + "integrity": "sha1-v+Lcomxp85cmWkAJljYCk1oFOss=", + "dev": true, + "requires": { + "is-path-inside": "^2.1.0" + } + }, + "is-path-inside": { + "version": "2.1.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/is-path-inside/-/is-path-inside-2.1.0.tgz", + "integrity": "sha1-fJgQWH1lmkDSe8201WFuqwWUlLI=", + "dev": true, + "requires": { + "path-is-inside": "^1.0.2" + } + }, + "is-plain-obj": { + "version": "1.1.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/is-plain-obj/-/is-plain-obj-1.1.0.tgz", + "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=", + "dev": true + }, "is-plain-object": { "version": "2.0.4", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/is-plain-object/-/is-plain-object-2.0.4.tgz", @@ -3076,6 +3560,12 @@ "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", "dev": true }, + "is-utf8": { + "version": "0.2.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/is-utf8/-/is-utf8-0.2.1.tgz", + "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=", + "dev": true + }, "is-windows": { "version": "1.0.2", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/is-windows/-/is-windows-1.0.2.tgz", @@ -3116,6 +3606,12 @@ "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/jquery-ui/-/jquery-ui-1.12.1.tgz", "integrity": "sha1-vLQEXI3QU5wTS8FIjN0+dop6nlE=" }, + "js-base64": { + "version": "2.5.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/js-base64/-/js-base64-2.5.1.tgz", + "integrity": "sha1-Hvo57yxfeYC7F4St5KivLeMpESE=", + "dev": true + }, "js-cookie": { "version": "2.2.0", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/js-cookie/-/js-cookie-2.2.0.tgz", @@ -3243,6 +3739,19 @@ "type-check": "~0.3.2" } }, + "load-json-file": { + "version": "1.1.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/load-json-file/-/load-json-file-1.1.0.tgz", + "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "parse-json": "^2.2.0", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0", + "strip-bom": "^2.0.0" + } + }, "loader-fs-cache": { "version": "1.0.2", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/loader-fs-cache/-/loader-fs-cache-1.0.2.tgz", @@ -3298,19 +3807,36 @@ "integrity": "sha1-s56mIp72B+zYniyN8SU2iRysm40=", "dev": true }, + "lodash.tail": { + "version": "4.1.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/lodash.tail/-/lodash.tail-4.1.1.tgz", + "integrity": "sha1-0jM6NtnncXyK0vfKyv7HwytERmQ=", + "dev": true + }, "lodash.unescape": { "version": "4.0.1", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/lodash.unescape/-/lodash.unescape-4.0.1.tgz", "integrity": "sha1-vyJJiGzlFM2hEvrpIYzcBlIR/Jw=", "dev": true }, - "lru-cache": { - "version": "5.1.1", - "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/lru-cache/-/lru-cache-5.1.1.tgz", - "integrity": "sha1-HaJ+ZxAnGUdpXa9oSOhH8B2EuSA=", + "loud-rejection": { + "version": "1.6.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/loud-rejection/-/loud-rejection-1.6.0.tgz", + "integrity": "sha1-W0b4AUft7leIcPCG0Eghz5mOVR8=", "dev": true, "requires": { - "yallist": "^3.0.2" + "currently-unhandled": "^0.4.1", + "signal-exit": "^3.0.0" + } + }, + "lru-cache": { + "version": "4.1.5", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/lru-cache/-/lru-cache-4.1.5.tgz", + "integrity": "sha1-i75Q6oW+1ZvJ4z3KuCNe6bz0Q80=", + "dev": true, + "requires": { + "pseudomap": "^1.0.2", + "yallist": "^2.1.2" } }, "make-dir": { @@ -3352,6 +3878,12 @@ "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=", "dev": true }, + "map-obj": { + "version": "1.0.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/map-obj/-/map-obj-1.0.1.tgz", + "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=", + "dev": true + }, "map-visit": { "version": "1.0.0", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/map-visit/-/map-visit-1.0.0.tgz", @@ -3393,6 +3925,24 @@ "readable-stream": "^2.0.1" } }, + "meow": { + "version": "3.7.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/meow/-/meow-3.7.0.tgz", + "integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=", + "dev": true, + "requires": { + "camelcase-keys": "^2.0.0", + "decamelize": "^1.1.2", + "loud-rejection": "^1.0.0", + "map-obj": "^1.0.1", + "minimist": "^1.1.3", + "normalize-package-data": "^2.3.4", + "object-assign": "^4.0.1", + "read-pkg-up": "^1.0.1", + "redent": "^1.0.0", + "trim-newlines": "^1.0.0" + } + }, "micromatch": { "version": "3.1.10", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/micromatch/-/micromatch-3.1.10.tgz", @@ -3445,6 +3995,18 @@ "integrity": "sha1-ftLCzMyvhNP/y3pptXcR/CCDQBs=", "dev": true }, + "mini-css-extract-plugin": { + "version": "0.6.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/mini-css-extract-plugin/-/mini-css-extract-plugin-0.6.0.tgz", + "integrity": "sha1-o/Ezctb83pEvPuTNA5ZlcEgB47k=", + "dev": true, + "requires": { + "loader-utils": "^1.1.0", + "normalize-url": "^2.0.1", + "schema-utils": "^1.0.0", + "webpack-sources": "^1.1.0" + } + }, "minimalistic-assert": { "version": "1.0.1", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", @@ -3511,6 +4073,24 @@ } } }, + "mixin-object": { + "version": "2.0.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/mixin-object/-/mixin-object-2.0.1.tgz", + "integrity": "sha1-T7lJRB2rGCVA8f4DW6YOGUel5X4=", + "dev": true, + "requires": { + "for-in": "^0.1.3", + "is-extendable": "^0.1.1" + }, + "dependencies": { + "for-in": { + "version": "0.1.8", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/for-in/-/for-in-0.1.8.tgz", + "integrity": "sha1-2Hc5COMSVhCZUrH9ubP6hn0ndeE=", + "dev": true + } + } + }, "mkdirp": { "version": "0.5.1", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/mkdirp/-/mkdirp-0.5.1.tgz", @@ -3693,8 +4273,7 @@ "version": "2.13.2", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/nan/-/nan-2.13.2.tgz", "integrity": "sha1-9R3Hrma6fV1V4ebU2AkugCya7+c=", - "dev": true, - "optional": true + "dev": true }, "nanomatch": { "version": "1.2.13", @@ -3743,6 +4322,34 @@ "semver": "^5.7.0" } }, + "node-gyp": { + "version": "3.8.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/node-gyp/-/node-gyp-3.8.0.tgz", + "integrity": "sha1-VAMEJhwzDoDQ1e3OJTpoyzlkIYw=", + "dev": true, + "requires": { + "fstream": "^1.0.0", + "glob": "^7.0.3", + "graceful-fs": "^4.1.2", + "mkdirp": "^0.5.0", + "nopt": "2 || 3", + "npmlog": "0 || 1 || 2 || 3 || 4", + "osenv": "0", + "request": "^2.87.0", + "rimraf": "2", + "semver": "~5.3.0", + "tar": "^2.0.0", + "which": "1" + }, + "dependencies": { + "semver": { + "version": "5.3.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/semver/-/semver-5.3.0.tgz", + "integrity": "sha1-myzl094C0XxgEq0yaqa00M9U+U8=", + "dev": true + } + } + }, "node-libs-browser": { "version": "2.2.0", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/node-libs-browser/-/node-libs-browser-2.2.0.tgz", @@ -3772,46 +4379,108 @@ "url": "^0.11.0", "util": "^0.11.0", "vm-browserify": "0.0.4" + } + }, + "node-sass": { + "version": "4.12.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/node-sass/-/node-sass-4.12.0.tgz", + "integrity": "sha1-CRT1MZMjgBFKMMxfpPpjIzol8Bc=", + "dev": true, + "requires": { + "async-foreach": "^0.1.3", + "chalk": "^1.1.1", + "cross-spawn": "^3.0.0", + "gaze": "^1.0.0", + "get-stdin": "^4.0.1", + "glob": "^7.0.3", + "in-publish": "^2.0.0", + "lodash": "^4.17.11", + "meow": "^3.7.0", + "mkdirp": "^0.5.1", + "nan": "^2.13.2", + "node-gyp": "^3.8.0", + "npmlog": "^4.0.0", + "request": "^2.88.0", + "sass-graph": "^2.2.4", + "stdout-stream": "^1.4.0", + "true-case-path": "^1.0.2" }, "dependencies": { - "events": { - "version": "3.0.0", - "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/events/-/events-3.0.0.tgz", - "integrity": "sha1-mgoN+vYok9krh1uPJpjKQRSXPog=", + "ansi-styles": { + "version": "2.2.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", "dev": true }, - "https-browserify": { - "version": "1.0.0", - "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/https-browserify/-/https-browserify-1.0.0.tgz", - "integrity": "sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=", + "chalk": { + "version": "1.1.3", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "dev": true, + "requires": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + } + }, + "cross-spawn": { + "version": "3.0.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/cross-spawn/-/cross-spawn-3.0.1.tgz", + "integrity": "sha1-ElYDfsufDF9549bvE14wdwGEuYI=", + "dev": true, + "requires": { + "lru-cache": "^4.0.1", + "which": "^1.2.9" + } + }, + "supports-color": { + "version": "2.0.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", "dev": true - }, - "timers-browserify": { - "version": "2.0.10", - "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/timers-browserify/-/timers-browserify-2.0.10.tgz", - "integrity": "sha1-HSjj0qrfHVpZlsTp+VYBzQU0gK4=", - "dev": true, - "requires": { - "setimmediate": "^1.0.4" - } - }, - "util": { - "version": "0.11.1", - "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/util/-/util-0.11.1.tgz", - "integrity": "sha1-MjZzNyDsZLsn9uJvQhqqLhtYjWE=", - "dev": true, - "requires": { - "inherits": "2.0.3" - } } } }, + "nopt": { + "version": "3.0.6", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/nopt/-/nopt-3.0.6.tgz", + "integrity": "sha1-xkZdvwirzU2zWTF/eaxopkayj/k=", + "dev": true, + "requires": { + "abbrev": "1" + } + }, + "normalize-package-data": { + "version": "2.5.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha1-5m2xg4sgDB38IzIl0SyzZSDiNKg=", + "dev": true, + "requires": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, "normalize-path": { "version": "3.0.0", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/normalize-path/-/normalize-path-3.0.0.tgz", "integrity": "sha1-Dc1p/yOhybEf0JeDFmRKA4ghamU=", "dev": true }, + "normalize-url": { + "version": "2.0.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/normalize-url/-/normalize-url-2.0.1.tgz", + "integrity": "sha1-g1qdoVUfom9w6SMpBpojqmV01+Y=", + "dev": true, + "requires": { + "prepend-http": "^2.0.0", + "query-string": "^5.0.1", + "sort-keys": "^2.0.0" + } + }, "npm-run-path": { "version": "2.0.2", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/npm-run-path/-/npm-run-path-2.0.2.tgz", @@ -3821,6 +4490,18 @@ "path-key": "^2.0.0" } }, + "npmlog": { + "version": "4.1.2", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/npmlog/-/npmlog-4.1.2.tgz", + "integrity": "sha1-CKfyqL9zRgR3mp76StXMcXq7lUs=", + "dev": true, + "requires": { + "are-we-there-yet": "~1.1.2", + "console-control-strings": "~1.1.0", + "gauge": "~2.7.3", + "set-blocking": "~2.0.0" + } + }, "number-is-nan": { "version": "1.0.1", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/number-is-nan/-/number-is-nan-1.0.1.tgz", @@ -3968,6 +4649,12 @@ "integrity": "sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc=", "dev": true }, + "os-homedir": { + "version": "1.0.2", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/os-homedir/-/os-homedir-1.0.2.tgz", + "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", + "dev": true + }, "os-locale": { "version": "3.1.0", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/os-locale/-/os-locale-3.1.0.tgz", @@ -3985,6 +4672,16 @@ "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", "dev": true }, + "osenv": { + "version": "0.1.5", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/osenv/-/osenv-0.1.5.tgz", + "integrity": "sha1-hc36+uso6Gd/QW4odZK18/SepBA=", + "dev": true, + "requires": { + "os-homedir": "^1.0.0", + "os-tmpdir": "^1.0.0" + } + }, "p-defer": { "version": "1.0.0", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/p-defer/-/p-defer-1.0.0.tgz", @@ -4003,6 +4700,12 @@ "integrity": "sha1-kYzrrqJIpiz3/6uOO8qMX4gvxC4=", "dev": true }, + "p-map": { + "version": "2.1.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/p-map/-/p-map-2.1.0.tgz", + "integrity": "sha1-MQko/u+cnsxltosXaTAYpmXOoXU=", + "dev": true + }, "pako": { "version": "1.0.10", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/pako/-/pako-1.0.10.tgz", @@ -4043,6 +4746,15 @@ "safe-buffer": "^5.1.1" } }, + "parse-json": { + "version": "2.2.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/parse-json/-/parse-json-2.2.0.tgz", + "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", + "dev": true, + "requires": { + "error-ex": "^1.2.0" + } + }, "parse-passwd": { "version": "1.0.0", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/parse-passwd/-/parse-passwd-1.0.0.tgz", @@ -4094,6 +4806,23 @@ "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", "dev": true }, + "path-parse": { + "version": "1.0.6", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/path-parse/-/path-parse-1.0.6.tgz", + "integrity": "sha1-1i27VnlAXXLEc37FhgDp3c8G0kw=", + "dev": true + }, + "path-type": { + "version": "1.1.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/path-type/-/path-type-1.1.0.tgz", + "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" + } + }, "pathval": { "version": "1.1.0", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/pathval/-/pathval-1.1.0.tgz", @@ -4150,6 +4879,12 @@ } } }, + "pify": { + "version": "2.3.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + }, "pinkie": { "version": "2.0.4", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/pinkie/-/pinkie-2.0.4.tgz", @@ -4231,12 +4966,103 @@ "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=", "dev": true }, + "postcss": { + "version": "7.0.16", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/postcss/-/postcss-7.0.16.tgz", + "integrity": "sha1-SPZPG0tVjLi1LIiYdyQ1mssBDaI=", + "dev": true, + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha1-dHIq8y6WFOnCh6jQu95IteLxomM=", + "dev": true + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha1-B2Srxpxj1ayELdSGfo0CXogN+PM=", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "postcss-modules-extract-imports": { + "version": "2.0.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/postcss-modules-extract-imports/-/postcss-modules-extract-imports-2.0.0.tgz", + "integrity": "sha1-gYcZoa4doyX5gyRGsBE27rSTzX4=", + "dev": true, + "requires": { + "postcss": "^7.0.5" + } + }, + "postcss-modules-local-by-default": { + "version": "2.0.6", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/postcss-modules-local-by-default/-/postcss-modules-local-by-default-2.0.6.tgz", + "integrity": "sha1-3ZlT9t1Ha1/R7y2IMMiSl2C1bmM=", + "dev": true, + "requires": { + "postcss": "^7.0.6", + "postcss-selector-parser": "^6.0.0", + "postcss-value-parser": "^3.3.1" + } + }, + "postcss-modules-scope": { + "version": "2.1.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/postcss-modules-scope/-/postcss-modules-scope-2.1.0.tgz", + "integrity": "sha1-rT9b94VhFPb8q5AbBQLiorw51Os=", + "dev": true, + "requires": { + "postcss": "^7.0.6", + "postcss-selector-parser": "^6.0.0" + } + }, + "postcss-modules-values": { + "version": "2.0.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/postcss-modules-values/-/postcss-modules-values-2.0.0.tgz", + "integrity": "sha1-R5tG3Axco9x/pScIUYNrnscVL2Q=", + "dev": true, + "requires": { + "icss-replace-symbols": "^1.1.0", + "postcss": "^7.0.6" + } + }, + "postcss-selector-parser": { + "version": "6.0.2", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/postcss-selector-parser/-/postcss-selector-parser-6.0.2.tgz", + "integrity": "sha1-k0z3mdAWyDQRhZ4J3Oyt4BKG7Fw=", + "dev": true, + "requires": { + "cssesc": "^3.0.0", + "indexes-of": "^1.0.1", + "uniq": "^1.0.1" + } + }, + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha1-n/giVH4okyE88cMO+lGsX9G6goE=", + "dev": true + }, "prelude-ls": { "version": "1.1.2", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/prelude-ls/-/prelude-ls-1.1.2.tgz", "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", "dev": true }, + "prepend-http": { + "version": "2.0.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/prepend-http/-/prepend-http-2.0.0.tgz", + "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=", + "dev": true + }, "process": { "version": "0.11.10", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/process/-/process-0.11.10.tgz", @@ -4267,6 +5093,12 @@ "integrity": "sha1-0/wRS6BplaRexok/SEzrHXj19HY=", "dev": true }, + "pseudomap": { + "version": "1.0.2", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/pseudomap/-/pseudomap-1.0.2.tgz", + "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=", + "dev": true + }, "psl": { "version": "1.1.31", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/psl/-/psl-1.1.31.tgz", @@ -4321,11 +5153,22 @@ } }, "punycode": { - "version": "1.3.2", - "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/punycode/-/punycode-1.3.2.tgz", - "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=", + "version": "1.4.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=", "dev": true }, + "query-string": { + "version": "5.1.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/query-string/-/query-string-5.1.1.tgz", + "integrity": "sha1-p4wBK3HBfgXy4/ojGd0zBoLvs8s=", + "dev": true, + "requires": { + "decode-uri-component": "^0.2.0", + "object-assign": "^4.1.0", + "strict-uri-encode": "^1.0.0" + } + }, "querystring": { "version": "0.2.0", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/querystring/-/querystring-0.2.0.tgz", @@ -4357,6 +5200,27 @@ "safe-buffer": "^5.1.0" } }, + "read-pkg": { + "version": "1.1.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/read-pkg/-/read-pkg-1.1.0.tgz", + "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", + "dev": true, + "requires": { + "load-json-file": "^1.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^1.0.0" + } + }, + "read-pkg-up": { + "version": "1.0.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/read-pkg-up/-/read-pkg-up-1.0.1.tgz", + "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", + "dev": true, + "requires": { + "find-up": "^1.0.0", + "read-pkg": "^1.0.0" + } + }, "readable-stream": { "version": "2.3.6", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/readable-stream/-/readable-stream-2.3.6.tgz", @@ -4383,6 +5247,22 @@ "readable-stream": "^2.0.2" } }, + "redent": { + "version": "1.0.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/redent/-/redent-1.0.0.tgz", + "integrity": "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=", + "dev": true, + "requires": { + "indent-string": "^2.1.0", + "strip-indent": "^1.0.1" + } + }, + "regenerator-runtime": { + "version": "0.11.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", + "integrity": "sha1-vgWtf5v30i4Fb5cmzuUBf78Z4uk=", + "dev": true + }, "regex-not": { "version": "1.0.2", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/regex-not/-/regex-not-1.0.2.tgz", @@ -4417,6 +5297,15 @@ "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", "dev": true }, + "repeating": { + "version": "2.0.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/repeating/-/repeating-2.0.1.tgz", + "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", + "dev": true, + "requires": { + "is-finite": "^1.0.0" + } + }, "request": { "version": "2.88.0", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/request/-/request-2.88.0.tgz", @@ -4474,6 +5363,15 @@ "integrity": "sha1-0LMp7MfMD2Fkn2IhW+aa9UqomJs=", "dev": true }, + "resolve": { + "version": "1.10.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/resolve/-/resolve-1.10.1.tgz", + "integrity": "sha1-ZkhCrJYHlbvnWCIc3M2mH7ZLXxg=", + "dev": true, + "requires": { + "path-parse": "^1.0.6" + } + }, "resolve-cwd": { "version": "2.0.0", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/resolve-cwd/-/resolve-cwd-2.0.0.tgz", @@ -4612,6 +5510,157 @@ "integrity": "sha1-RPoWGwGHuVSd2Eu5GAL5vYOFzWo=", "dev": true }, + "sass-graph": { + "version": "2.2.4", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/sass-graph/-/sass-graph-2.2.4.tgz", + "integrity": "sha1-E/vWPNHK8JCLn9k0dq1DpR0eC0k=", + "dev": true, + "requires": { + "glob": "^7.0.0", + "lodash": "^4.0.0", + "scss-tokenizer": "^0.2.3", + "yargs": "^7.0.0" + }, + "dependencies": { + "camelcase": { + "version": "3.0.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/camelcase/-/camelcase-3.0.0.tgz", + "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=", + "dev": true + }, + "cliui": { + "version": "3.2.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/cliui/-/cliui-3.2.0.tgz", + "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=", + "dev": true, + "requires": { + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wrap-ansi": "^2.0.0" + } + }, + "get-caller-file": { + "version": "1.0.3", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/get-caller-file/-/get-caller-file-1.0.3.tgz", + "integrity": "sha1-+Xj6TJDR3+f/LWvtoqUV5xO9z0o=", + "dev": true + }, + "invert-kv": { + "version": "1.0.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/invert-kv/-/invert-kv-1.0.0.tgz", + "integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "requires": { + "number-is-nan": "^1.0.0" + } + }, + "lcid": { + "version": "1.0.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/lcid/-/lcid-1.0.0.tgz", + "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=", + "dev": true, + "requires": { + "invert-kv": "^1.0.0" + } + }, + "os-locale": { + "version": "1.4.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/os-locale/-/os-locale-1.4.0.tgz", + "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=", + "dev": true, + "requires": { + "lcid": "^1.0.0" + } + }, + "require-main-filename": { + "version": "1.0.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/require-main-filename/-/require-main-filename-1.0.1.tgz", + "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=", + "dev": true + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "requires": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + } + }, + "which-module": { + "version": "1.0.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/which-module/-/which-module-1.0.0.tgz", + "integrity": "sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8=", + "dev": true + }, + "y18n": { + "version": "3.2.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/y18n/-/y18n-3.2.1.tgz", + "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=", + "dev": true + }, + "yargs": { + "version": "7.1.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/yargs/-/yargs-7.1.0.tgz", + "integrity": "sha1-a6MY6xaWFyf10oT46gA+jWFU0Mg=", + "dev": true, + "requires": { + "camelcase": "^3.0.0", + "cliui": "^3.2.0", + "decamelize": "^1.1.1", + "get-caller-file": "^1.0.1", + "os-locale": "^1.4.0", + "read-pkg-up": "^1.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^1.0.1", + "set-blocking": "^2.0.0", + "string-width": "^1.0.2", + "which-module": "^1.0.0", + "y18n": "^3.2.1", + "yargs-parser": "^5.0.0" + } + }, + "yargs-parser": { + "version": "5.0.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/yargs-parser/-/yargs-parser-5.0.0.tgz", + "integrity": "sha1-J17PDX/+Bcd+ZOfIbkzZS/DhIoo=", + "dev": true, + "requires": { + "camelcase": "^3.0.0" + } + } + } + }, + "sass-loader": { + "version": "7.1.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/sass-loader/-/sass-loader-7.1.0.tgz", + "integrity": "sha1-Fv1ROMuLQkv4p1lSihly1yqtBp0=", + "dev": true, + "requires": { + "clone-deep": "^2.0.1", + "loader-utils": "^1.0.1", + "lodash.tail": "^4.1.1", + "neo-async": "^2.5.0", + "pify": "^3.0.0", + "semver": "^5.5.0" + }, + "dependencies": { + "pify": { + "version": "3.0.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/pify/-/pify-3.0.0.tgz", + "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", + "dev": true + } + } + }, "schema-utils": { "version": "1.0.0", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/schema-utils/-/schema-utils-1.0.0.tgz", @@ -4623,6 +5672,27 @@ "ajv-keywords": "^3.1.0" } }, + "scss-tokenizer": { + "version": "0.2.3", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/scss-tokenizer/-/scss-tokenizer-0.2.3.tgz", + "integrity": "sha1-jrBtualyMzOCTT9VMGQRSYR85dE=", + "dev": true, + "requires": { + "js-base64": "^2.1.8", + "source-map": "^0.4.2" + }, + "dependencies": { + "source-map": { + "version": "0.4.4", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/source-map/-/source-map-0.4.4.tgz", + "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=", + "dev": true, + "requires": { + "amdefine": ">=0.0.4" + } + } + } + }, "semver": { "version": "5.7.0", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/semver/-/semver-5.7.0.tgz", @@ -4680,6 +5750,25 @@ "safe-buffer": "^5.0.1" } }, + "shallow-clone": { + "version": "1.0.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/shallow-clone/-/shallow-clone-1.0.0.tgz", + "integrity": "sha1-RIDNBuiC72iyrYij6lSDLixItXE=", + "dev": true, + "requires": { + "is-extendable": "^0.1.1", + "kind-of": "^5.0.0", + "mixin-object": "^2.0.1" + }, + "dependencies": { + "kind-of": { + "version": "5.1.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha1-cpyR4thXt6QZofmqZWhcTDP1hF0=", + "dev": true + } + } + }, "shebang-command": { "version": "1.2.0", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/shebang-command/-/shebang-command-1.2.0.tgz", @@ -4819,6 +5908,15 @@ } } }, + "sort-keys": { + "version": "2.0.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/sort-keys/-/sort-keys-2.0.0.tgz", + "integrity": "sha1-ZYU1WEhh7JfXMNbPQYIuH1ZoQSg=", + "dev": true, + "requires": { + "is-plain-obj": "^1.0.0" + } + }, "source-list-map": { "version": "2.0.1", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/source-list-map/-/source-list-map-2.0.1.tgz", @@ -4868,6 +5966,38 @@ "integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=", "dev": true }, + "spdx-correct": { + "version": "3.1.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/spdx-correct/-/spdx-correct-3.1.0.tgz", + "integrity": "sha1-+4PlBERSaPFUsHTiGMh8ADzTHfQ=", + "dev": true, + "requires": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-exceptions": { + "version": "2.2.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz", + "integrity": "sha1-LqRQrudPKom/uUUZwH/Nb0EyKXc=", + "dev": true + }, + "spdx-expression-parse": { + "version": "3.0.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz", + "integrity": "sha1-meEZt6XaAOBUkcn6M4t5BII7QdA=", + "dev": true, + "requires": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-license-ids": { + "version": "3.0.4", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/spdx-license-ids/-/spdx-license-ids-3.0.4.tgz", + "integrity": "sha1-dezRqI3owYTvAV6vtRtbSL/RG7E=", + "dev": true + }, "split-string": { "version": "3.1.0", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/split-string/-/split-string-3.1.0.tgz", @@ -4924,10 +6054,19 @@ } } }, + "stdout-stream": { + "version": "1.4.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/stdout-stream/-/stdout-stream-1.4.1.tgz", + "integrity": "sha1-WsF0zdXNcmEEqgwLK9g4FdjVNd4=", + "dev": true, + "requires": { + "readable-stream": "^2.0.1" + } + }, "stream-browserify": { - "version": "2.0.1", - "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/stream-browserify/-/stream-browserify-2.0.1.tgz", - "integrity": "sha1-ZiZu5fm9uZQKTkUUyvtDu3Hlyds=", + "version": "2.0.2", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/stream-browserify/-/stream-browserify-2.0.2.tgz", + "integrity": "sha1-h1IdOKRKp+6RzhzSpH3wy0ndZgs=", "dev": true, "requires": { "inherits": "~2.0.1", @@ -4963,6 +6102,12 @@ "integrity": "sha1-1cdSgl5TZ+eG944Y5EXqIjoVWVI=", "dev": true }, + "strict-uri-encode": { + "version": "1.1.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz", + "integrity": "sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM=", + "dev": true + }, "string-width": { "version": "2.1.1", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/string-width/-/string-width-2.1.1.tgz", @@ -5008,18 +6153,46 @@ "ansi-regex": "^2.0.0" } }, + "strip-bom": { + "version": "2.0.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/strip-bom/-/strip-bom-2.0.0.tgz", + "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", + "dev": true, + "requires": { + "is-utf8": "^0.2.0" + } + }, "strip-eof": { "version": "1.0.0", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/strip-eof/-/strip-eof-1.0.0.tgz", "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=", "dev": true }, + "strip-indent": { + "version": "1.0.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/strip-indent/-/strip-indent-1.0.1.tgz", + "integrity": "sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=", + "dev": true, + "requires": { + "get-stdin": "^4.0.1" + } + }, "strip-json-comments": { "version": "2.0.1", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/strip-json-comments/-/strip-json-comments-2.0.1.tgz", "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", "dev": true }, + "style-loader": { + "version": "0.23.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/style-loader/-/style-loader-0.23.1.tgz", + "integrity": "sha1-y5FUYG8+dxq2xKtjcCahBJF02SU=", + "dev": true, + "requires": { + "loader-utils": "^1.1.0", + "schema-utils": "^1.0.0" + } + }, "supports-color": { "version": "5.5.0", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/supports-color/-/supports-color-5.5.0.tgz", @@ -5075,6 +6248,17 @@ "integrity": "sha1-ofzMBrWNth/XpF2i2kT186Pme6I=", "dev": true }, + "tar": { + "version": "2.2.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/tar/-/tar-2.2.1.tgz", + "integrity": "sha1-jk0qJWwOIYXGsYrWlK7JaLg8sdE=", + "dev": true, + "requires": { + "block-stream": "*", + "fstream": "^1.0.2", + "inherits": "2" + } + }, "terser": { "version": "3.17.0", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/terser/-/terser-3.17.0.tgz", @@ -5146,6 +6330,15 @@ "xtend": "~4.0.1" } }, + "timers-browserify": { + "version": "2.0.10", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/timers-browserify/-/timers-browserify-2.0.10.tgz", + "integrity": "sha1-HSjj0qrfHVpZlsTp+VYBzQU0gK4=", + "dev": true, + "requires": { + "setimmediate": "^1.0.4" + } + }, "tmp": { "version": "0.0.33", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/tmp/-/tmp-0.0.33.tgz", @@ -5221,6 +6414,21 @@ } } }, + "trim-newlines": { + "version": "1.0.0", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/trim-newlines/-/trim-newlines-1.0.0.tgz", + "integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM=", + "dev": true + }, + "true-case-path": { + "version": "1.0.3", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/true-case-path/-/true-case-path-1.0.3.tgz", + "integrity": "sha1-+BO1qMhrQNpZYGcisUTjIleZ9H0=", + "dev": true, + "requires": { + "glob": "^7.1.2" + } + }, "ts-loader": { "version": "5.4.5", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/ts-loader/-/ts-loader-5.4.5.tgz", @@ -5323,6 +6531,12 @@ } } }, + "uniq": { + "version": "1.0.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/uniq/-/uniq-1.0.1.tgz", + "integrity": "sha1-sxxa6CVIRKOoKBVBzisEuGWnNP8=", + "dev": true + }, "unique-filename": { "version": "1.1.1", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/unique-filename/-/unique-filename-1.1.1.tgz", @@ -5418,6 +6632,14 @@ "requires": { "punycode": "1.3.2", "querystring": "0.2.0" + }, + "dependencies": { + "punycode": { + "version": "1.3.2", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/punycode/-/punycode-1.3.2.tgz", + "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=", + "dev": true + } } }, "use": { @@ -5427,20 +6649,12 @@ "dev": true }, "util": { - "version": "0.10.3", - "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/util/-/util-0.10.3.tgz", - "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", + "version": "0.11.1", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/util/-/util-0.11.1.tgz", + "integrity": "sha1-MjZzNyDsZLsn9uJvQhqqLhtYjWE=", "dev": true, "requires": { - "inherits": "2.0.1" - }, - "dependencies": { - "inherits": { - "version": "2.0.1", - "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/inherits/-/inherits-2.0.1.tgz", - "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=", - "dev": true - } + "inherits": "2.0.3" } }, "util-deprecate": { @@ -5461,6 +6675,16 @@ "integrity": "sha1-pCiyi7JnkHNMT8i8n6EG/M6/amw=", "dev": true }, + "validate-npm-package-license": { + "version": "3.0.4", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha1-/JH2uce6FchX9MssXe/uw51PQQo=", + "dev": true, + "requires": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, "verror": { "version": "1.10.0", "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/verror/-/verror-1.10.0.tgz", @@ -5771,9 +6995,9 @@ "dev": true }, "yallist": { - "version": "3.0.3", - "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/yallist/-/yallist-3.0.3.tgz", - "integrity": "sha1-tLBJ4xS+VF486AIjbWzSLNkcPek=", + "version": "2.1.2", + "resolved": "https://bin.sbb.ch/artifactory/api/npm/npm/yallist/-/yallist-2.1.2.tgz", + "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=", "dev": true }, "yargs": { diff --git a/package.json b/package.json index a532c8b..f2399a9 100644 --- a/package.json +++ b/package.json @@ -37,10 +37,18 @@ "@types/js-cookie": "2.2.2", "@typescript-eslint/parser": "1.7.0", "chai": "4.2.0", + "clean-webpack-plugin": "2.0.2", + "css-loader": "2.1.1", "eslint": "5.16.0", "eslint-loader": "2.1.2", + "extract-loader": "3.1.0", + "file-loader": "3.0.1", + "mini-css-extract-plugin": "0.6.0", "mocha": "6.1.4", + "node-sass": "4.12.0", "phantomjs-prebuilt": "2.1.16", + "sass-loader": "7.1.0", + "style-loader": "0.23.1", "ts-loader": "5.4.5", "typescript": "3.4.5", "webpack": "4.30.0", diff --git a/resources/assets/fonts/uhr.woff b/resources/assets/fonts/uhr.woff new file mode 100644 index 0000000..325ef20 Binary files /dev/null and b/resources/assets/fonts/uhr.woff differ diff --git a/resources/assets/images/close.png b/resources/assets/images/close.png new file mode 100644 index 0000000..5b0301d Binary files /dev/null and b/resources/assets/images/close.png differ diff --git a/resources/assets/images/settings.png b/resources/assets/images/settings.png new file mode 100644 index 0000000..b6c8a5f Binary files /dev/null and b/resources/assets/images/settings.png differ diff --git a/resources/styles/uhr.scss b/resources/styles/uhr.scss new file mode 100644 index 0000000..7a4a0a4 --- /dev/null +++ b/resources/styles/uhr.scss @@ -0,0 +1,254 @@ +/*! + * Copyright (C) Schweizerische Bundesbahnen SBB, 2019. + */ + +/* +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ +@font-face { + font-family: 'Uhrenfont'; + src: url('../assets/fonts/uhr.woff') format('woff'); +} + +body { + font-family: 'Uhrenfont', sans-serif; +} + +.uhr { + position: relative; + margin: 0; + transition: background-color 0.5s; + + .reflection { + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + background: radial-gradient(225em 45em at 160% 0, rgba(255, 255, 255, 0.4) 0, rgba(255, 255, 255, 0.05) 40%, rgba(255, 255, 255, 0) 40%) no-repeat scroll; + display: block; + margin: 0.15em; + } +} + +#themeswitcher { +} + +.uhr .letterarea { + display: block; + position: absolute; + top: 12%; + bottom: 12%; + left: 12%; + right: 12%; + overflow: hidden; + font-size: 200%; +} + +.item { + transition: box-shadow 0.5s, text-shadow 0.5s, border-color 0.5s, color 0.5s; +} + +.dot { + position: absolute; + display: block; + height: 0; + width: 0; + border: 0.2em solid; + border-radius: 1em; +} + +.dot.active { + border-color: #eee; + box-shadow: 0 0 0.2em #eee; +} + +.dot1 { + top: 3.75%; + left: 3.75%; +} + +.dot2 { + top: 3.75%; + right: 3.75%; +} + +.dot3 { + bottom: 3.75%; + right: 3.75%; +} + +.dot4 { + bottom: 3.75%; + left: 3.75%; +} + +.letter { + height: 10%; + width: 9.0909%; + padding: 0; + margin: 0; + display: inline-block; + text-align: center; + line-height: 160%; +} + +.letter.active { + color: #eee; + text-shadow: 0 0 0.2em #eee; +} + +.onoffswitch { + position: relative; + width: 86px; + margin: 1em; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; +} + +.onoffswitch-checkbox { + display: none; +} + +.onoffswitch-label { + display: block; + overflow: hidden; + cursor: pointer; + border: 2px solid #999; + border-radius: 50px; +} + +.onoffswitch-inner, .modeswitch-inner { + width: 200%; + margin-left: -100%; + -moz-transition: margin 0.3s ease-in 0s; + -webkit-transition: margin 0.3s ease-in 0s; + -o-transition: margin 0.3s ease-in 0s; + transition: margin 0.3s ease-in 0s; +} + +.onoffswitch-inner:before, .onoffswitch-inner:after, .modeswitch-inner:before, .modeswitch-inner:after { + float: left; + width: 50%; + height: 24px; + padding: 0; + line-height: 24px; + font-size: 18px; + color: white; + font-weight: bold; + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} + +.onoffswitch-inner:before { + content: "EIN"; + padding-left: 12px; + color: #eee; + transition: background-color 0.5s; +} + +.onoffswitch-inner:after { + content: "AUS"; + padding-right: 12px; + background-color: #eee; + color: #999; + text-align: right; +} + +.onoffswitch-switch { + width: 30px; + margin: -3px; + background: #fff; + border: 2px solid #999; + border-radius: 50px; + position: absolute; + top: 0; + bottom: 0; + right: 58px; + -moz-transition: all 0.3s ease-in 0s; + -webkit-transition: all 0.3s ease-in 0s; + -o-transition: all 0.3s ease-in 0s; + transition: all 0.3s ease-in 0s; +} + +.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner, +.onoffswitch-checkbox:checked + .onoffswitch-label .modeswitch-inner { + margin-left: 0; +} + +.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch { + right: 0; +} + +.modeswitch-inner:before { + content: "MIN"; + padding-left: 12px; + background-color: #fff; + color: #000; +} + +.modeswitch-inner:after { + content: "SEC"; + padding-right: 12px; + background-color: #fff; + color: #000; + text-align: right; +} + +a.uhr-configlink { + cursor: pointer; + background: url("../assets/images/settings.png") no-repeat; + width: 24px; + height: 24px; + display: inline-block; + margin: 2px; + vertical-align: top; +} + +.uhr-controlpanel { + border-radius: 0.5em; + box-shadow: 0 0 1em black; + background-color: #fff; + display: inline-block; + padding: 0.5em; + position: sticky; + bottom: 0; + margin-left: 1em; +} + +.uhr-controlpanel .content { + position: relative; +} + +a.uhr-closecontrolpanel { + cursor: pointer; + display: inline-block; + position: absolute; + right: 0; + top: -1em; + width: 24px; + height: 24px; + background: url("../assets/images/close.png") no-repeat; +} + +#disclaimer { + font-size: 0.5em; +} + +#disclaimer a { + color: #444; + text-decoration: underline; +} diff --git a/src/index.ts b/src/index.ts index 1cb5a41..8a40d99 100644 --- a/src/index.ts +++ b/src/index.ts @@ -94,9 +94,10 @@ $.widget('fritteli.uhr', { $.fritteli.uhr.register = Globals.registerLayout; declare namespace $ { - const fritteli: Fritteli; + const fritteli: Fritteli.Fritteli; const widget: JQueryUI.Widget; - +} +declare namespace Fritteli { interface Fritteli { uhr: Uhr; } diff --git a/webpack.config.js b/webpack.config.js index 3f24b7b..520bf6e 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,13 +1,19 @@ -/* - * Copyright (C) Schweizerische Bundesbahnen SBB, 2019. - */ - const path = require('path'); +const CleanWebpackPlugin = require('clean-webpack-plugin'); module.exports = { - entry: [ - './src/index.ts' - ], + entry: { + uhr: './src/index.ts', + style_main: require.resolve('./resources/styles/uhr.scss'), + style_black: require.resolve('./css/uhr-black.css'), + style_blue: require.resolve('./css/uhr-blue.css'), + style_green: require.resolve('./css/uhr-green.css'), + style_pink: require.resolve('./css/uhr-pink.css'), + style_red: require.resolve('./css/uhr-red.css'), + style_white: require.resolve('./css/uhr-white.css'), + style_yellow: require.resolve('./css/uhr-yellow.css') + + }, // devtool: 'inline-source-map', mode: 'production', module: { @@ -17,18 +23,73 @@ module.exports = { test: /\.tsx?$/, exclude: /node_modules/, use: 'eslint-loader' - }, { + }, + { + test: /\.(png|svg|jpg|gif|woff)$/, + use: [ + { + loader: 'file-loader', + options: { + name: 'assets/[name].[ext]' + } + } + ] + }, + + ////// + + { + test: /\.s?css$/, + use: [ + { + loader: 'file-loader', + options: { + name: 'assets/[name].css' + } + }, + { + loader: 'extract-loader', + options: { + publicPath: '../', + } + }, + 'css-loader', + { + loader: 'sass-loader', + options: { + outputStyle: 'compressed' + } + } + ] + }, + // { + // test: /\.s?css$/, + // use: [ + // // fallback to style-loader in development + // process.env.NODE_ENV !== 'production' ? 'style-loader' : MiniCssExtractPlugin.loader, + // 'css-loader', + // 'sass-loader' + // ] + // }, + { test: /\.tsx?$/, exclude: /node_modules/, use: 'ts-loader' } ] }, + plugins: [ + new CleanWebpackPlugin({ + dry: false, + cleanAfterEveryBuildPatterns: ['**/deleteme_*.del'], + dangerouslyAllowCleanPatternsOutsideProject: false + }) + ], resolve: { extensions: ['.tsx', '.ts', '.js'] }, output: { - filename: 'uhr.js', + filename: (chunkData) => chunkData.chunk.name === 'uhr' ? 'uhr.js' : 'deleteme_[name].del', library: 'uhr', path: path.resolve(__dirname, 'dist') },