diff --git a/README.md b/README.md
index 6bb464f..0ec7fd4 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,12 @@ An accessible polyfill for ` ` elements.
Demo available here: https://dan503.github.io/time-input-polyfill/
-**Note:** If the recommended version in this documentation is out of sync with the npm version, this is because npm only allows readme edits to be committed through full releases. To prevent needless cache invalidation, I'll only update the recommended version number when there are actual changes to the polyfill code. The current recommended version is `1.0.7`. As long as you are using a version that is equal to or higher than that, you are using the latest version of the polyfill.
+
+ The recommended version is 1.0.9
or higher.
+
+If the recommended version in this documentation is out of sync with the npm version, this is because npm only allows readme edits to be committed through full releases. To prevent needless cache invalidation, I'll only update the recommended version number when there are actual changes to the polyfill code. The current recommended version is 1.0.9
. As long as you are using a version that is equal to or higher than that, you are using the latest version of the polyfill.
+
+
## Pre-built components
@@ -54,7 +59,7 @@ You didn't load the actual polyfill onto the page, you loaded a much smaller aut
1. The initialiser checks if the browser supports `input[type="time"]` elements.
2. If it **does**, it skips the rest of the functionality.
3. If it does **not**, it will:
- 1. load `https://cdn.jsdelivr.net/npm/time-input-polyfill@1.0.7/dist/time-input-polyfill.min.js` (the actual polyfill).
+ 1. load `https://cdn.jsdelivr.net/npm/time-input-polyfill@1.0.9/dist/time-input-polyfill.min.js` (the actual polyfill).
2. Collect all existing `input[type="time"]` elements on the page.
3. Loop through each `input[type="time"]` element and apply the polyfill to it.
@@ -97,7 +102,7 @@ if (!supportsTime) {
First check for `input[type="time"]` support.
```html
-
+
```
```js
if (!supportsTime) {
@@ -108,8 +113,8 @@ if (!supportsTime) {
Then gather a list of all `input[type="time"]` elements on the page, and loop through them to apply the polyfill.
```html
-
-
+
+
```
```js
if (!supportsTime) {
diff --git a/auto.js b/auto.js
index 7ff198c..67d0f6e 100644
--- a/auto.js
+++ b/auto.js
@@ -4,15 +4,15 @@ var loadJS = require('./core/helpers/loadJS')
document.addEventListener('DOMContentLoaded', function() {
if (!supports_time) {
loadJS(
- 'https://cdn.jsdelivr.net/npm/time-input-polyfill@1.0.7/dist/time-input-polyfill.min.js',
+ 'https://cdn.jsdelivr.net/npm/time-input-polyfill@1.0.9/dist/time-input-polyfill.min.js',
function() {
var $inputs = [].slice.call(
- document.querySelectorAll('input[type="time"]'),
+ document.querySelectorAll('input[type="time"]')
)
$inputs.forEach(function($input) {
new TimePolyfill($input)
})
- },
+ }
)
}
})
diff --git a/core/accessibility/create_a11y_block.js b/core/accessibility/create_a11y_block.js
index 1c045b3..28f8415 100644
--- a/core/accessibility/create_a11y_block.js
+++ b/core/accessibility/create_a11y_block.js
@@ -3,7 +3,7 @@ module.exports = function create_accessibility_block() {
$block.setAttribute('aria-live', 'assertive')
$block.setAttribute(
'style',
- 'position: absolute; opacity: 0; height: 0; width: 0; overflow: hidden; pointer-events: none;',
+ 'position: absolute; opacity: 0; height: 0; width: 0; overflow: hidden; pointer-events: none;'
)
$block.classList.add('time-input-polyfill-accessibility-block')
document.querySelector('body').appendChild($block)
diff --git a/core/converters/convert_to_12hr_time.js b/core/converters/convert_to_12hr_time.js
index 83bc4ac..d8e432b 100644
--- a/core/converters/convert_to_12hr_time.js
+++ b/core/converters/convert_to_12hr_time.js
@@ -9,7 +9,7 @@ module.exports = function convert_to_12hr_time(timeString_24hr) {
var hrs_24 = convert_number(result[1])
var min = result[2]
var hrs_12 = convert_hours_to_12hr_time(hrs_24)
- var isPM = hrs_24 > 12
+ var isPM = hrs_24 >= 12
var mode = isPM ? 'PM' : 'AM'
return [leading_zero(hrs_12), ':', min, ' ', mode].join('')
}
diff --git a/dist/time-input-polyfill.auto.min.js b/dist/time-input-polyfill.auto.min.js
index 3c34e74..43648f9 100644
--- a/dist/time-input-polyfill.auto.min.js
+++ b/dist/time-input-polyfill.auto.min.js
@@ -3,7 +3,7 @@
// If not supported, it will load the real polyfill, then apply it to all input[type=time] elements.
// The actual polyfill is found here:
-// https://cdn.jsdelivr.net/npm/time-input-polyfill@1.0.7/dist/time-input-polyfill.min.js
+// https://cdn.jsdelivr.net/npm/time-input-polyfill@1.0.9/dist/time-input-polyfill.min.js
-!function(){function e(t,r,n){function o(u,c){if(!r[u]){if(!t[u]){var l="function"==typeof require&&require;if(!c&&l)return l(u,!0);if(i)return i(u,!0);var p=new Error("Cannot find module '"+u+"'");throw p.code="MODULE_NOT_FOUND",p}var a=r[u]={exports:{}};t[u][0].call(a.exports,function(e){var r=t[u][1][e];return o(r||e)},a,a.exports,e,t,r,n)}return r[u].exports}for(var i="function"==typeof require&&require,u=0;u"+_.join("
")+"
";v=v.replace(/\$label/g,e.polyfill.label),v=v.replace(/\$segmentName/g,c),v=v.replace(/\$segmentValue/g,i),v=v.replace(/\$fullValue/g,l),e.polyfill.$a11y.innerHTML=v},1)}},{"../getters/get_current_segment":14,"../getters/get_values":17}],3:[function(e,t,r){t.exports=function(e){return e<=12?0===e?12:e:e-12}},{}],4:[function(e,t,r){t.exports=function(e){return isNaN(e)?e:parseInt(e)}},{}],5:[function(e,t,r){var n=e("./convert_number"),s=e("./convert_hours_to_12hr_time"),a=e("./leading_zero");t.exports=function(e){if(""===e)return"--:-- --";var t=/([0-9]{2})\:([0-9]{2})/,r=t.exec(e),o=n(r[1]),i=r[2],c=s(o),u=o>12,_=u?"PM":"AM";return[a(c),":",i," ",_].join("")}},{"./convert_hours_to_12hr_time":3,"./convert_number":4,"./leading_zero":7}],6:[function(e,t,r){var n=e("./leading_zero");t.exports=function(e){if(/-/.test(e))return"";var t,r=e.indexOf("PM")>-1,s=/^([0-9]{2})/.exec(e),a=s?parseInt(s[1]):"";t=12===a?r?12:0:r?a+12:a;var o=24===t?0:t,i=/^[0-9]{2}:([0-9]{2}) (AM|PM)/;return e.replace(i,n(o)+":$1")}},{"./leading_zero":7}],7:[function(e,t,r){t.exports=function(e){if(isNaN(e))return e;var t=parseInt(e);return t<10?"0"+t:e}},{}],8:[function(e,t,r){function n(e){e.polyfill.autoSwap&&(d(e,24),setTimeout(function(){d(e,12)},1))}var s=e("../helpers/values"),a=e("../selectors/select_segment"),o=e("../selectors/next_segment"),i=e("../selectors/prev_segment"),c=e("../selectors/select_cursor_segment"),u=e("../getters/get_current_segment"),_=e("../setters/reset"),l=e("../setters/manual_number_entry"),v=e("../setters/clear_segment"),f=e("../setters/increment_current_segment"),g=e("../setters/decrement_current_segment"),m=e("../setters/set_mode"),d=e("../setters/switch_times"),p=e("../events/handle_tab"),h=e("../static-values/all_number_keys"),b=e("../static-values/named_keys"),x=e("../accessibility/update_a11y");t.exports=function(e){var t="",r=!1;document.addEventListener("keydown",function(e){r=e.shiftKey}),document.addEventListener("keyup",function(e){r=e.shiftKey}),e.form&&e.form.addEventListener("submit",function(){n(e)});var d=!1;e.addEventListener("mousedown",function(){d=!0}),e.addEventListener("mouseup",function(){setTimeout(function(){""===e.value&&_(e)},1)}),e.addEventListener("click",function(t){c(e)}),e.addEventListener("blur",function(){var r=e.dataset.value;r!==t&&(t=r),d=!1}),e.addEventListener("focus",function(t){if(!d){t.preventDefault();var n=r?"mode":"hrs";a(e,n)}x(e,["initial","select"])}),e.addEventListener("keydown",function(t){var r=13===t.which;if(r)return!0;var n=h.indexOf(t.which)>-1,a=s(b).indexOf(t.which)>-1,c=[b.ArrowDown,b.ArrowRight,b.ArrowUp,b.ArrowLeft].indexOf(t.which)>-1,d=[b.a,b.p].indexOf(t.which)>-1,x=[b.Delete,b.Backspace].indexOf(t.which)>-1;if((!a||c||n||d||x)&&t.preventDefault(),n&&l(e,t.which),x){var y=u(e);v(e,y)}switch(t.which){case b.ArrowRight:o(e);break;case b.ArrowLeft:i(e);break;case b.ArrowUp:f(e);break;case b.ArrowDown:g(e);break;case b.Escape:_(e);break;case b.a:m(e,"AM");break;case b.p:m(e,"PM");break;case b.Tab:p(e,t)}})}},{"../accessibility/update_a11y":2,"../events/handle_tab":10,"../getters/get_current_segment":14,"../helpers/values":19,"../selectors/next_segment":20,"../selectors/prev_segment":21,"../selectors/select_cursor_segment":22,"../selectors/select_segment":23,"../setters/clear_segment":26,"../setters/decrement_current_segment":28,"../setters/increment_current_segment":30,"../setters/manual_number_entry":31,"../setters/reset":33,"../setters/set_mode":35,"../setters/switch_times":39,"../static-values/all_number_keys":42,"../static-values/named_keys":43}],9:[function(e,t,r){t.exports=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!0),t}},{}],10:[function(e,t,r){var n=e("../getters/get_current_segment"),s=e("../selectors/prev_segment"),a=e("../selectors/next_segment");t.exports=function(e,t){var r=n(e),o=t.shiftKey&&"hrs"===r,i=!t.shiftKey&&"mode"===r;o||i||(t.preventDefault(),t.shiftKey?s(e):a(e))}},{"../getters/get_current_segment":14,"../selectors/next_segment":20,"../selectors/prev_segment":21}],11:[function(e,t,r){var n=e("./trigger_event");t.exports=function(e){n(e,"input"),n(e,"change")}},{"./trigger_event":12}],12:[function(e,t,r){function n(e){return!/--/.test(e.value)}var s=e("./create_event"),a=s("input"),o=s("change");t.exports=function(e,t){var r={input:a,change:o}[t];n(e)&&e.dispatchEvent(r)}},{"./create_event":9}],13:[function(e,t,r){t.exports=function(e,t){for(var r=e,n=[];r;){n.push(r);var s=r.msMatchesSelector?r.msMatchesSelector(t):r.matches(t);if(s)return n;r=r.parentElement}return n}},{}],14:[function(e,t,r){var n=e("../static-values/ranges"),s=e("./get_selected_range");t.exports=function(e){var t=s(e);for(var r in n){var a=n[r],o=a.start<=t.start,i=a.end>=t.end;if(o&&i)return r}return"hrs"}},{"../static-values/ranges":44,"./get_selected_range":16}],15:[function(e,t,r){function n(e){var t=e.getAttribute("aria-labelledby");if(t){var r=document.getElementById(t);if(r)return r.textContent}return!1}function s(e){var t=e.getAttribute("aria-label");return!!t&&t}function a(e){if(e.id){var t=document.querySelector('label[for="'+e.id+'"]');if(t)return t.textContent}return!1}function o(e){var t=c(e,"label"),r=t[t.length-1];return"LABEL"==r.nodeName&&r.textContent}function i(e){var t=e.getAttribute("title");return!!t&&t}var c=e("./get_ancestors");t.exports=function(e){var t=n(e)||s(e)||a(e)||o(e)||i(e);if(t)return t;throw console.error("Label text for input not found.",e),new Error("Cannot polyfill time input due to a missing label.")}},{"./get_ancestors":13}],16:[function(e,t,r){t.exports=function(e){return{start:e.selectionStart,end:e.selectionEnd}}},{}],17:[function(e,t,r){var n=e("../converters/convert_number");t.exports=function(e,t){var r=t?t:e.value,s=/([0-9-]{1,2})\:([0-9-]{1,2})\s?(AM|PM|\-\-)?/,a=s.exec(r);return{hrs:n(a[1]),min:n(a[2]),mode:a[3]}}},{"../converters/convert_number":4}],18:[function(e,t,r){function n(){o=[]}function s(e){o.push(e)}function a(){return o}var o=[];t.exports={items:a,clear:n,add:s}},{}],19:[function(e,t,r){t.exports=function(e){var t=[];for(var r in e)t.push(e[r]);return t}},{}],20:[function(e,t,r){var n=e("./traverse");t.exports=function(e){n(e,"next")}},{"./traverse":24}],21:[function(e,t,r){var n=e("./traverse");t.exports=function(e){n(e,"prev")}},{"./traverse":24}],22:[function(e,t,r){var n=e("../getters/get_current_segment"),s=e("./select_segment");t.exports=function(e){var t=n(e);s(e,t)}},{"../getters/get_current_segment":14,"./select_segment":23}],23:[function(e,t,r){t.exports=function(e,t){function r(){var r="mode"===t?"text":"tel";e.setAttribute("type",r)}function n(t,r){return function(){e.setSelectionRange(t,r)}}r();var s={hrs:n(0,2),min:n(3,5),mode:n(6,8)};s[t](e)}},{}],24:[function(e,t,r){var n=e("../getters/get_current_segment"),s=e("../selectors/select_segment"),a=e("../helpers/manual_entry_log"),o=e("../static-values/segments"),i=e("../accessibility/update_a11y");t.exports=function(e,t){var r=n(e),c="next"===t?1:-1,u=o.indexOf(r)+c,_={next:o[u]||"mode",prev:u<0?"hrs":o[u]}[t];s(e,_),a.clear(),i(e,["select"])}},{"../accessibility/update_a11y":2,"../getters/get_current_segment":14,"../helpers/manual_entry_log":18,"../selectors/select_segment":23,"../static-values/segments":45}],25:[function(e,t,r){var n=e("../setters/set_data_attribute"),s=e("../events/trigger_both_events");t.exports=function(e){e.value="--:-- --",n(e,""),s(e)}},{"../events/trigger_both_events":11,"../setters/set_data_attribute":34}],26:[function(e,t,r){var n=e("./set_segment"),s=e("../accessibility/update_a11y");t.exports=function(e,t){n(e,t,"--"),s(e,["update"])}},{"../accessibility/update_a11y":2,"./set_segment":36}],27:[function(e,t,r){var n=e("./switch_mode"),s=e("./nudge_time_segment"),a=e("../accessibility/update_a11y");t.exports=function(e,t){"mode"===t?n(e,"PM"):s(e,t,"down"),a(e,["update"])}},{"../accessibility/update_a11y":2,"./nudge_time_segment":32,"./switch_mode":38}],28:[function(e,t,r){var n=e("../getters/get_current_segment"),s=e("../setters/decrement");t.exports=function(e){var t=n(e);s(e,t)}},{"../getters/get_current_segment":14,"../setters/decrement":27}],29:[function(e,t,r){var n=e("./switch_mode"),s=e("./nudge_time_segment"),a=e("../accessibility/update_a11y");t.exports=function(e,t){"mode"===t?n(e,"AM"):s(e,t,"up"),a(e,["update"])}},{"../accessibility/update_a11y":2,"./nudge_time_segment":32,"./switch_mode":38}],30:[function(e,t,r){var n=e("../getters/get_current_segment"),s=e("../setters/increment");t.exports=function(e){var t=n(e);s(e,t)}},{"../getters/get_current_segment":14,"../setters/increment":29}],31:[function(e,t,r){var n=e("../getters/get_current_segment"),s=e("./set_segment"),a=e("../selectors/next_segment"),o=e("../helpers/manual_entry_log"),i=e("../static-values/sorted_number_keys");t.exports=function(e,t){var r=i[t],c=n(e);if("mode"!==c){var u=o.items().length,_={hrs:[1,2],min:[5,9]},l=_[c][u];u<2&&o.add(r);var v=parseInt(_[c].join("")),f=parseInt(o.items().join(""));v>=f&&s(e,c,f);var g=r>l||2===o.items().length;g&&a(e)}}},{"../getters/get_current_segment":14,"../helpers/manual_entry_log":18,"../selectors/next_segment":20,"../static-values/sorted_number_keys":46,"./set_segment":36}],32:[function(e,t,r){var n=e("../getters/get_values"),s=e("../converters/convert_hours_to_12hr_time"),a=e("../converters/leading_zero"),o=e("./set_segment");t.exports=function(e,t,r){var i,c=n(e),u="up"===r?1:-1;if("--"===c[t]){var _=new Date;i={hrs:s(_.getHours()),min:_.getMinutes()}}else{var l={up:c.min<59?c.min+u:0,down:0===c.min?59:c.min+u};i={hrs:s(c.hrs+u),min:l[r]}}o(e,t,a(i[t]))}},{"../converters/convert_hours_to_12hr_time":3,"../converters/leading_zero":7,"../getters/get_values":17,"./set_segment":36}],33:[function(e,t,r){var n=e("./apply_default"),s=e("../selectors/select_segment");t.exports=function(e){n(e),s(e,"hrs")}},{"../selectors/select_segment":23,"./apply_default":25}],34:[function(e,t,r){var n=e("../converters/convert_to_24hr_time");t.exports=function(e,t){var r=t.indexOf("-")>-1?"":t,s=n(r);e.setAttribute("data-value",s)}},{"../converters/convert_to_24hr_time":6}],35:[function(e,t,r){var n=e("../getters/get_current_segment"),s=e("./set_segment");t.exports=function(e,t){var r=n(e);"mode"===r&&s(e,r,t)}},{"../getters/get_current_segment":14,"./set_segment":36}],36:[function(e,t,r){var n=e("../getters/get_values"),s=e("../converters/leading_zero"),a=e("../selectors/select_segment"),o=e("./set_data_attribute"),i=e("../events/trigger_both_events");t.exports=function(e,t,r){var c=n(e);c[t]=r;var u=[s(c.hrs),":",s(c.min)," ",c.mode].join("");e.value=u,a(e,t),o(e,u),i(e)}},{"../converters/leading_zero":7,"../events/trigger_both_events":11,"../getters/get_values":17,"../selectors/select_segment":23,"./set_data_attribute":34}],37:[function(e,t,r){var n=e("../converters/convert_to_12hr_time"),s=e("../setters/set_data_attribute");t.exports=function(e,t){var r=n(t);e.value=r,s(e,t)}},{"../converters/convert_to_12hr_time":5,"../setters/set_data_attribute":34}],38:[function(e,t,r){var n=e("../getters/get_values"),s=e("./set_segment");t.exports=function(e,t){t=t||"AM";var r=n(e).mode,a={"--":t,AM:"PM",PM:"AM"}[r];s(e,"mode",a)}},{"../getters/get_values":17,"./set_segment":36}],39:[function(e,t,r){var n=e("./switch_to_data_value"),s=e("./set_time");t.exports=function(e,t){var r=/\s/.test(e.value);12!=t&&24!=t&&(t=r?24:12);var a={12:function(){r||s(e,e.dataset.value)},24:function(){r&&n(e)}};a[t]()}},{"./set_time":37,"./switch_to_data_value":40}],40:[function(e,t,r){t.exports=function(e){var t=e.dataset.value;e.value=t}},{}],41:[function(e,t,r){var n=e("../setters/set_time");t.exports=function(e){return n(e,e.value),e}},{"../setters/set_time":37}],42:[function(e,t,r){var n=[48,49,50,51,52,53,54,55,56,57,96,97,98,99,100,101,102,103,104,105];t.exports=n},{}],43:[function(e,t,r){var n={ArrowDown:40,ArrowRight:39,ArrowUp:38,ArrowLeft:37,Backspace:8,Delete:46,Tab:9,Shift:16,Escape:27,a:65,p:80};t.exports=n},{}],44:[function(e,t,r){var n={hrs:{start:0,end:2},min:{start:3,end:5},mode:{start:6,end:8}};t.exports=n},{}],45:[function(e,t,r){var n=e("./ranges"),s=Object.keys(n);t.exports=s},{"./ranges":44}],46:[function(e,t,r){var n=e("./all_number_keys"),s={};n.forEach(function(e,t){var r=t>9?t-10:t;s[e]=r}),t.exports=s},{"./all_number_keys":42}],47:[function(e,t,r){function n(e){e.setAttribute("autocomplete","off"),e.setAttribute("aria-hidden",!0),v||(s=l(),v=!0);var t=_(e);e.polyfill={$a11y:s,label:t,autoSwap:!0,update:function(){o(e)},swap:function(t){u(e,t)}},""===e.value||/--/.test(e.value)?(a(e),i(e,"")):(o(e),i(e,e.value)),c(e)}var s,a=e("./core/setters/apply_default"),o=e("./core/setters/update_time"),i=e("./core/setters/set_data_attribute"),c=e("./core/events/bind_events"),u=e("./core/setters/switch_times"),_=e("./core/getters/get_label"),l=e("./core/accessibility/create_a11y_block"),v=!1;window&&(window.TimePolyfill=n),t&&(t.exports=n)},{"./core/accessibility/create_a11y_block":1,"./core/events/bind_events":8,"./core/getters/get_label":15,"./core/setters/apply_default":25,"./core/setters/set_data_attribute":34,"./core/setters/switch_times":39,"./core/setters/update_time":41}]},{},[47]);
+!function(){function e(t,r,n){function s(o,i){if(!r[o]){if(!t[o]){var c="function"==typeof require&&require;if(!i&&c)return c(o,!0);if(a)return a(o,!0);var u=new Error("Cannot find module '"+o+"'");throw u.code="MODULE_NOT_FOUND",u}var _=r[o]={exports:{}};t[o][0].call(_.exports,function(e){var r=t[o][1][e];return s(r||e)},_,_.exports,e,t,r,n)}return r[o].exports}for(var a="function"==typeof require&&require,o=0;o"+_.join("")+"
";v=v.replace(/\$label/g,e.polyfill.label),v=v.replace(/\$segmentName/g,c),v=v.replace(/\$segmentValue/g,i),v=v.replace(/\$fullValue/g,l),e.polyfill.$a11y.innerHTML=v},1)}},{"../getters/get_current_segment":14,"../getters/get_values":17}],3:[function(e,t,r){t.exports=function(e){return e<=12?0===e?12:e:e-12}},{}],4:[function(e,t,r){t.exports=function(e){return isNaN(e)?e:parseInt(e)}},{}],5:[function(e,t,r){var n=e("./convert_number"),s=e("./convert_hours_to_12hr_time"),a=e("./leading_zero");t.exports=function(e){if(""===e)return"--:-- --";var t=/([0-9]{2})\:([0-9]{2})/,r=t.exec(e),o=n(r[1]),i=r[2],c=s(o),u=o>=12,_=u?"PM":"AM";return[a(c),":",i," ",_].join("")}},{"./convert_hours_to_12hr_time":3,"./convert_number":4,"./leading_zero":7}],6:[function(e,t,r){var n=e("./leading_zero");t.exports=function(e){if(/-/.test(e))return"";var t,r=e.indexOf("PM")>-1,s=/^([0-9]{2})/.exec(e),a=s?parseInt(s[1]):"";t=12===a?r?12:0:r?a+12:a;var o=24===t?0:t,i=/^[0-9]{2}:([0-9]{2}) (AM|PM)/;return e.replace(i,n(o)+":$1")}},{"./leading_zero":7}],7:[function(e,t,r){t.exports=function(e){if(isNaN(e))return e;var t=parseInt(e);return t<10?"0"+t:e}},{}],8:[function(e,t,r){function n(e){e.polyfill.autoSwap&&(d(e,24),setTimeout(function(){d(e,12)},1))}var s=e("../helpers/values"),a=e("../selectors/select_segment"),o=e("../selectors/next_segment"),i=e("../selectors/prev_segment"),c=e("../selectors/select_cursor_segment"),u=e("../getters/get_current_segment"),_=e("../setters/reset"),l=e("../setters/manual_number_entry"),v=e("../setters/clear_segment"),f=e("../setters/increment_current_segment"),g=e("../setters/decrement_current_segment"),m=e("../setters/set_mode"),d=e("../setters/switch_times"),p=e("../events/handle_tab"),h=e("../static-values/all_number_keys"),b=e("../static-values/named_keys"),x=e("../accessibility/update_a11y");t.exports=function(e){var t="",r=!1;document.addEventListener("keydown",function(e){r=e.shiftKey}),document.addEventListener("keyup",function(e){r=e.shiftKey}),e.form&&e.form.addEventListener("submit",function(){n(e)});var d=!1;e.addEventListener("mousedown",function(){d=!0}),e.addEventListener("mouseup",function(){setTimeout(function(){""===e.value&&_(e)},1)}),e.addEventListener("click",function(t){c(e)}),e.addEventListener("blur",function(){var r=e.dataset.value;r!==t&&(t=r),d=!1}),e.addEventListener("focus",function(t){if(!d){t.preventDefault();var n=r?"mode":"hrs";a(e,n)}x(e,["initial","select"])}),e.addEventListener("keydown",function(t){var r=13===t.which;if(r)return!0;var n=h.indexOf(t.which)>-1,a=s(b).indexOf(t.which)>-1,c=[b.ArrowDown,b.ArrowRight,b.ArrowUp,b.ArrowLeft].indexOf(t.which)>-1,d=[b.a,b.p].indexOf(t.which)>-1,x=[b.Delete,b.Backspace].indexOf(t.which)>-1;if((!a||c||n||d||x)&&t.preventDefault(),n&&l(e,t.which),x){var y=u(e);v(e,y)}switch(t.which){case b.ArrowRight:o(e);break;case b.ArrowLeft:i(e);break;case b.ArrowUp:f(e);break;case b.ArrowDown:g(e);break;case b.Escape:_(e);break;case b.a:m(e,"AM");break;case b.p:m(e,"PM");break;case b.Tab:p(e,t)}})}},{"../accessibility/update_a11y":2,"../events/handle_tab":10,"../getters/get_current_segment":14,"../helpers/values":19,"../selectors/next_segment":20,"../selectors/prev_segment":21,"../selectors/select_cursor_segment":22,"../selectors/select_segment":23,"../setters/clear_segment":26,"../setters/decrement_current_segment":28,"../setters/increment_current_segment":30,"../setters/manual_number_entry":31,"../setters/reset":33,"../setters/set_mode":35,"../setters/switch_times":39,"../static-values/all_number_keys":42,"../static-values/named_keys":43}],9:[function(e,t,r){t.exports=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!0),t}},{}],10:[function(e,t,r){var n=e("../getters/get_current_segment"),s=e("../selectors/prev_segment"),a=e("../selectors/next_segment");t.exports=function(e,t){var r=n(e),o=t.shiftKey&&"hrs"===r,i=!t.shiftKey&&"mode"===r;o||i||(t.preventDefault(),t.shiftKey?s(e):a(e))}},{"../getters/get_current_segment":14,"../selectors/next_segment":20,"../selectors/prev_segment":21}],11:[function(e,t,r){var n=e("./trigger_event");t.exports=function(e){n(e,"input"),n(e,"change")}},{"./trigger_event":12}],12:[function(e,t,r){function n(e){return!/--/.test(e.value)}var s=e("./create_event"),a=s("input"),o=s("change");t.exports=function(e,t){var r={input:a,change:o}[t];n(e)&&e.dispatchEvent(r)}},{"./create_event":9}],13:[function(e,t,r){t.exports=function(e,t){for(var r=e,n=[];r;){n.push(r);var s=r.msMatchesSelector?r.msMatchesSelector(t):r.matches(t);if(s)return n;r=r.parentElement}return n}},{}],14:[function(e,t,r){var n=e("../static-values/ranges"),s=e("./get_selected_range");t.exports=function(e){var t=s(e);for(var r in n){var a=n[r],o=a.start<=t.start,i=a.end>=t.end;if(o&&i)return r}return"hrs"}},{"../static-values/ranges":44,"./get_selected_range":16}],15:[function(e,t,r){function n(e){var t=e.getAttribute("aria-labelledby");if(t){var r=document.getElementById(t);if(r)return r.textContent}return!1}function s(e){var t=e.getAttribute("aria-label");return!!t&&t}function a(e){if(e.id){var t=document.querySelector('label[for="'+e.id+'"]');if(t)return t.textContent}return!1}function o(e){var t=c(e,"label"),r=t[t.length-1];return"LABEL"==r.nodeName&&r.textContent}function i(e){var t=e.getAttribute("title");return!!t&&t}var c=e("./get_ancestors");t.exports=function(e){var t=n(e)||s(e)||a(e)||o(e)||i(e);if(t)return t;throw console.error("Label text for input not found.",e),new Error("Cannot polyfill time input due to a missing label.")}},{"./get_ancestors":13}],16:[function(e,t,r){t.exports=function(e){return{start:e.selectionStart,end:e.selectionEnd}}},{}],17:[function(e,t,r){var n=e("../converters/convert_number");t.exports=function(e,t){var r=t?t:e.value,s=/([0-9-]{1,2})\:([0-9-]{1,2})\s?(AM|PM|\-\-)?/,a=s.exec(r);return{hrs:n(a[1]),min:n(a[2]),mode:a[3]}}},{"../converters/convert_number":4}],18:[function(e,t,r){function n(){o=[]}function s(e){o.push(e)}function a(){return o}var o=[];t.exports={items:a,clear:n,add:s}},{}],19:[function(e,t,r){t.exports=function(e){var t=[];for(var r in e)t.push(e[r]);return t}},{}],20:[function(e,t,r){var n=e("./traverse");t.exports=function(e){n(e,"next")}},{"./traverse":24}],21:[function(e,t,r){var n=e("./traverse");t.exports=function(e){n(e,"prev")}},{"./traverse":24}],22:[function(e,t,r){var n=e("../getters/get_current_segment"),s=e("./select_segment");t.exports=function(e){var t=n(e);s(e,t)}},{"../getters/get_current_segment":14,"./select_segment":23}],23:[function(e,t,r){t.exports=function(e,t){function r(){var r="mode"===t?"text":"tel";e.setAttribute("type",r)}function n(t,r){return function(){e.setSelectionRange(t,r)}}r();var s={hrs:n(0,2),min:n(3,5),mode:n(6,8)};s[t](e)}},{}],24:[function(e,t,r){var n=e("../getters/get_current_segment"),s=e("../selectors/select_segment"),a=e("../helpers/manual_entry_log"),o=e("../static-values/segments"),i=e("../accessibility/update_a11y");t.exports=function(e,t){var r=n(e),c="next"===t?1:-1,u=o.indexOf(r)+c,_={next:o[u]||"mode",prev:u<0?"hrs":o[u]}[t];s(e,_),a.clear(),i(e,["select"])}},{"../accessibility/update_a11y":2,"../getters/get_current_segment":14,"../helpers/manual_entry_log":18,"../selectors/select_segment":23,"../static-values/segments":45}],25:[function(e,t,r){var n=e("../setters/set_data_attribute"),s=e("../events/trigger_both_events");t.exports=function(e){e.value="--:-- --",n(e,""),s(e)}},{"../events/trigger_both_events":11,"../setters/set_data_attribute":34}],26:[function(e,t,r){var n=e("./set_segment"),s=e("../accessibility/update_a11y");t.exports=function(e,t){n(e,t,"--"),s(e,["update"])}},{"../accessibility/update_a11y":2,"./set_segment":36}],27:[function(e,t,r){var n=e("./switch_mode"),s=e("./nudge_time_segment"),a=e("../accessibility/update_a11y");t.exports=function(e,t){"mode"===t?n(e,"PM"):s(e,t,"down"),a(e,["update"])}},{"../accessibility/update_a11y":2,"./nudge_time_segment":32,"./switch_mode":38}],28:[function(e,t,r){var n=e("../getters/get_current_segment"),s=e("../setters/decrement");t.exports=function(e){var t=n(e);s(e,t)}},{"../getters/get_current_segment":14,"../setters/decrement":27}],29:[function(e,t,r){var n=e("./switch_mode"),s=e("./nudge_time_segment"),a=e("../accessibility/update_a11y");t.exports=function(e,t){"mode"===t?n(e,"AM"):s(e,t,"up"),a(e,["update"])}},{"../accessibility/update_a11y":2,"./nudge_time_segment":32,"./switch_mode":38}],30:[function(e,t,r){var n=e("../getters/get_current_segment"),s=e("../setters/increment");t.exports=function(e){var t=n(e);s(e,t)}},{"../getters/get_current_segment":14,"../setters/increment":29}],31:[function(e,t,r){var n=e("../getters/get_current_segment"),s=e("./set_segment"),a=e("../selectors/next_segment"),o=e("../helpers/manual_entry_log"),i=e("../static-values/sorted_number_keys");t.exports=function(e,t){var r=i[t],c=n(e);if("mode"!==c){var u=o.items().length,_={hrs:[1,2],min:[5,9]},l=_[c][u];u<2&&o.add(r);var v=parseInt(_[c].join("")),f=parseInt(o.items().join(""));v>=f&&s(e,c,f);var g=r>l||2===o.items().length;g&&a(e)}}},{"../getters/get_current_segment":14,"../helpers/manual_entry_log":18,"../selectors/next_segment":20,"../static-values/sorted_number_keys":46,"./set_segment":36}],32:[function(e,t,r){var n=e("../getters/get_values"),s=e("../converters/convert_hours_to_12hr_time"),a=e("../converters/leading_zero"),o=e("./set_segment");t.exports=function(e,t,r){var i,c=n(e),u="up"===r?1:-1;if("--"===c[t]){var _=new Date;i={hrs:s(_.getHours()),min:_.getMinutes()}}else{var l={up:c.min<59?c.min+u:0,down:0===c.min?59:c.min+u};i={hrs:s(c.hrs+u),min:l[r]}}o(e,t,a(i[t]))}},{"../converters/convert_hours_to_12hr_time":3,"../converters/leading_zero":7,"../getters/get_values":17,"./set_segment":36}],33:[function(e,t,r){var n=e("./apply_default"),s=e("../selectors/select_segment");t.exports=function(e){n(e),s(e,"hrs")}},{"../selectors/select_segment":23,"./apply_default":25}],34:[function(e,t,r){var n=e("../converters/convert_to_24hr_time");t.exports=function(e,t){var r=t.indexOf("-")>-1?"":t,s=n(r);e.setAttribute("data-value",s)}},{"../converters/convert_to_24hr_time":6}],35:[function(e,t,r){var n=e("../getters/get_current_segment"),s=e("./set_segment");t.exports=function(e,t){var r=n(e);"mode"===r&&s(e,r,t)}},{"../getters/get_current_segment":14,"./set_segment":36}],36:[function(e,t,r){var n=e("../getters/get_values"),s=e("../converters/leading_zero"),a=e("../selectors/select_segment"),o=e("./set_data_attribute"),i=e("../events/trigger_both_events");t.exports=function(e,t,r){var c=n(e);c[t]=r;var u=[s(c.hrs),":",s(c.min)," ",c.mode].join("");e.value=u,a(e,t),o(e,u),i(e)}},{"../converters/leading_zero":7,"../events/trigger_both_events":11,"../getters/get_values":17,"../selectors/select_segment":23,"./set_data_attribute":34}],37:[function(e,t,r){var n=e("../converters/convert_to_12hr_time"),s=e("../setters/set_data_attribute");t.exports=function(e,t){var r=n(t);e.value=r,s(e,t)}},{"../converters/convert_to_12hr_time":5,"../setters/set_data_attribute":34}],38:[function(e,t,r){var n=e("../getters/get_values"),s=e("./set_segment");t.exports=function(e,t){t=t||"AM";var r=n(e).mode,a={"--":t,AM:"PM",PM:"AM"}[r];s(e,"mode",a)}},{"../getters/get_values":17,"./set_segment":36}],39:[function(e,t,r){var n=e("./switch_to_data_value"),s=e("./set_time");t.exports=function(e,t){var r=/\s/.test(e.value);12!=t&&24!=t&&(t=r?24:12);var a={12:function(){r||s(e,e.dataset.value)},24:function(){r&&n(e)}};a[t]()}},{"./set_time":37,"./switch_to_data_value":40}],40:[function(e,t,r){t.exports=function(e){var t=e.dataset.value;e.value=t}},{}],41:[function(e,t,r){var n=e("../setters/set_time");t.exports=function(e){return n(e,e.value),e}},{"../setters/set_time":37}],42:[function(e,t,r){var n=[48,49,50,51,52,53,54,55,56,57,96,97,98,99,100,101,102,103,104,105];t.exports=n},{}],43:[function(e,t,r){var n={ArrowDown:40,ArrowRight:39,ArrowUp:38,ArrowLeft:37,Backspace:8,Delete:46,Tab:9,Shift:16,Escape:27,a:65,p:80};t.exports=n},{}],44:[function(e,t,r){var n={hrs:{start:0,end:2},min:{start:3,end:5},mode:{start:6,end:8}};t.exports=n},{}],45:[function(e,t,r){var n=e("./ranges"),s=Object.keys(n);t.exports=s},{"./ranges":44}],46:[function(e,t,r){var n=e("./all_number_keys"),s={};n.forEach(function(e,t){var r=t>9?t-10:t;s[e]=r}),t.exports=s},{"./all_number_keys":42}],47:[function(e,t,r){function n(e){e.setAttribute("autocomplete","off"),e.setAttribute("aria-hidden",!0),v||(s=l(),v=!0);var t=_(e);e.polyfill={$a11y:s,label:t,autoSwap:!0,update:function(){o(e)},swap:function(t){u(e,t)}},""===e.value||/--/.test(e.value)?(a(e),i(e,"")):(o(e),i(e,e.value)),c(e)}var s,a=e("./core/setters/apply_default"),o=e("./core/setters/update_time"),i=e("./core/setters/set_data_attribute"),c=e("./core/events/bind_events"),u=e("./core/setters/switch_times"),_=e("./core/getters/get_label"),l=e("./core/accessibility/create_a11y_block"),v=!1;window&&(window.TimePolyfill=n),t&&(t.exports=n)},{"./core/accessibility/create_a11y_block":1,"./core/events/bind_events":8,"./core/getters/get_label":15,"./core/setters/apply_default":25,"./core/setters/set_data_attribute":34,"./core/setters/switch_times":39,"./core/setters/update_time":41}]},{},[47]);
//# sourceMappingURL=time-input-polyfill.min.js.map
diff --git a/dist/time-input-polyfill.min.js.map b/dist/time-input-polyfill.min.js.map
index a8c3d82..e4f3344 100644
--- a/dist/time-input-polyfill.min.js.map
+++ b/dist/time-input-polyfill.min.js.map
@@ -1 +1 @@
-{"version":3,"sources":["node_modules/browser-pack/_prelude.js","core/accessibility/create_a11y_block.js","index.js","core/accessibility/update_a11y.js","core/converters/convert_hours_to_12hr_time.js","core/converters/convert_number.js","core/converters/convert_to_12hr_time.js","core/converters/convert_to_24hr_time.js","core/converters/leading_zero.js","core/events/bind_events.js","core/events/create_event.js","core/events/handle_tab.js","core/events/trigger_both_events.js","core/events/trigger_event.js","core/getters/get_ancestors.js","core/getters/get_current_segment.js","core/getters/get_label.js","core/getters/get_selected_range.js","core/getters/get_values.js","core/helpers/manual_entry_log.js","core/helpers/values.js","core/selectors/next_segment.js","core/selectors/prev_segment.js","core/selectors/select_cursor_segment.js","core/selectors/select_segment.js","core/selectors/traverse.js","core/setters/apply_default.js","core/setters/clear_segment.js","core/setters/decrement.js","core/setters/decrement_current_segment.js","core/setters/increment.js","core/setters/increment_current_segment.js","core/setters/manual_number_entry.js","core/setters/nudge_time_segment.js","core/setters/reset.js","core/setters/set_data_attribute.js","core/setters/set_mode.js","core/setters/set_segment.js","core/setters/set_time.js","core/setters/switch_mode.js","core/setters/switch_times.js","core/setters/switch_to_data_value.js","core/setters/update_time.js","core/static-values/all_number_keys.js","core/static-values/named_keys.js","core/static-values/ranges.js","core/static-values/segments.js","core/static-values/sorted_number_keys.js"],"names":["r","e","n","t","o","i","f","c","require","u","a","Error","code","p","exports","call","length","1","module","$block","document","createElement","setAttribute","classList","add","querySelector","appendChild","2","get_current_segment","get_values","$input","announcementArray","setTimeout","current_segment","values","value","finalValue","segmentName","hrs","min","mode","announcements","initial","select","update","textArray","map","providedString","fullValue","replace","html","join","polyfill","label","$a11y","innerHTML","../getters/get_current_segment","../getters/get_values","3","hours","4","number","isNaN","parseInt","5","convert_number","convert_hours_to_12hr_time","leading_zero","timeString_24hr","twentyFour_regex","result","exec","hrs_24","hrs_12","isPM","./convert_hours_to_12hr_time","./convert_number","./leading_zero","6","timeString_12hr","test","newHrs","indexOf","timeResult","finalHrs","timeRegEx","7","purified","8","auto_swap","autoSwap","switch_times","select_segment","next_segment","prev_segment","select_cursor_segment","reset","manual_number_entry","clear_segment","increment_current_segment","decrement_current_segment","set_mode","handle_tab","all_number_keys","named_keys","update_a11y","prev_value","shiftKey","addEventListener","form","focused_via_click","current_value","dataset","preventDefault","segment","is_enter_key","which","is_number_key","is_named_key","is_arrow_key","ArrowDown","ArrowRight","ArrowUp","ArrowLeft","is_mode_key","is_delete_key","Delete","Backspace","Escape","Tab","../accessibility/update_a11y","../events/handle_tab","../helpers/values","../selectors/next_segment","../selectors/prev_segment","../selectors/select_cursor_segment","../selectors/select_segment","../setters/clear_segment","../setters/decrement_current_segment","../setters/increment_current_segment","../setters/manual_number_entry","../setters/reset","../setters/set_mode","../setters/switch_times","../static-values/all_number_keys","../static-values/named_keys","9","eventName","event","createEvent","initEvent","10","backwards_and_first","forwards_and_last","11","trigger_event","./trigger_event","12","can_trigger_change","create_event","inputEvent","changeEvent","input","change","dispatchEvent","./create_event","13","selectorString","$elem","ancestors","push","matchesSelector","msMatchesSelector","matches","parentElement","14","ranges","get_selected_range","selection","range","aboveMin","start","belowMax","end","../static-values/ranges","./get_selected_range","15","aria_labelledby","ariaLabelByID","getAttribute","$ariaLabelBy","getElementById","textContent","aria_label","ariaLabel","for_attribute","id","$forLabel","label_wrapper_element","get_ancestors","$parentLabel","nodeName","title_attribute","titleLabel","labelText","console","error","./get_ancestors","16","selectionStart","selectionEnd","17","timeString","regEx","../converters/convert_number","18","clear","manual_entry_log","entry","items","19","obj","key_values","key","20","traverse","./traverse","21","22","./select_segment","23","set_input_type","type","setSelectionRange","actions","24","segments","direction","modifier","next_segment_index","next","prev","../helpers/manual_entry_log","../static-values/segments","25","set_data_attribute","trigger_both_events","../events/trigger_both_events","../setters/set_data_attribute","26","set_segment","./set_segment","27","switch_mode","nudge_time_segment","./nudge_time_segment","./switch_mode","28","decrement","../setters/decrement","29","30","increment","../setters/increment","31","sorted_number_keys","key_value","entry_count","upper_limits","limit","full_limit","full_entry","at_limit","../static-values/sorted_number_keys","32","time","current_values","current_time","Date","getHours","getMinutes","minutes","up","down","../converters/convert_hours_to_12hr_time","../converters/leading_zero","33","apply_default","./apply_default","34","convert_to_24hr_time","filteredString","time24hr","../converters/convert_to_24hr_time","35","36","newInputVal","./set_data_attribute","37","convert_to_12hr_time","time_string_24hr","twelveHr","../converters/convert_to_12hr_time","38","default_mode","current_mode","new_mode","--","AM","PM","39","switch_to_data_value","set_time","format","is12hr","./set_time","./switch_to_data_value","40","replacementVal","41","../setters/set_time","42","43","Shift","44","45","Object","keys","./ranges","46","forEach","index","number_val","./all_number_keys","47","TimePolyfill","accessibility_block_created","create_a11y_block","get_label","update_time","swap","forcedFormat","bind_events","window","./core/accessibility/create_a11y_block","./core/events/bind_events","./core/getters/get_label","./core/setters/apply_default","./core/setters/set_data_attribute","./core/setters/switch_times","./core/setters/update_time"],"mappings":";;;;;;;;CAAA,WAAA,QAAAA,GAAAC,EAAAC,EAAAC,GAAA,QAAAC,GAAAC,EAAAC,GAAA,IAAAJ,EAAAG,GAAA,CAAA,IAAAJ,EAAAI,GAAA,CAAA,GAAAE,GAAA,kBAAAC,UAAAA,OAAA,KAAAF,GAAAC,EAAA,MAAAA,GAAAF,GAAA,EAAA,IAAAI,EAAA,MAAAA,GAAAJ,GAAA,EAAA,IAAAK,GAAA,GAAAC,OAAA,uBAAAN,EAAA,IAAA,MAAAK,GAAAE,KAAA,mBAAAF,EAAA,GAAAG,GAAAX,EAAAG,IAAAS,WAAAb,GAAAI,GAAA,GAAAU,KAAAF,EAAAC,QAAA,SAAAd,GAAA,GAAAE,GAAAD,EAAAI,GAAA,GAAAL,EAAA,OAAAI,GAAAF,GAAAF,IAAAa,EAAAA,EAAAC,QAAAd,EAAAC,EAAAC,EAAAC,GAAA,MAAAD,GAAAG,GAAAS,QAAA,IAAA,GAAAL,GAAA,kBAAAD,UAAAA,QAAAH,EAAA,EAAAA,EAAAF,EAAAa,OAAAX,IAAAD,EAAAD,EAAAE,GAAA,OAAAD,GAAA,MAAAJ,OAAAiB,GAAA,SAAAT,EAAAU,EAAAJ,GCCAI,EAAAJ,QAAA,WACA,GAAAK,GAAAC,SAAAC,cAAA,MAKA,OAJAF,GAAAG,aAAA,YAAA,aACAH,EAAAG,aAAA,QAAA,gGACAH,EAAAI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,EAAArT,GACAuN,EAAAvN,EAAAA,EAAAK,QAGAmT,EAAAxT,GA9CA,GAUAwB,GAVAyO,EAAAvR,EAAA,gCACA2U,EAAA3U,EAAA,8BACA6O,EAAA7O,EAAA,qCACA8U,EAAA9U,EAAA,6BACAmF,EAAAnF,EAAA,+BACA0U,EAAA1U,EAAA,4BAEAyU,EAAAzU,EAAA,0CAEAwU,GAAA,CAwCAO,UAAAA,OAAAR,aAAAA,GACA7T,IAAAA,EAAAJ,QAAAiU,KA81BGS,yCAAyC,EAAEC,4BAA4B,EAAEC,2BAA2B,GAAGC,+BAA+B,GAAGC,oCAAoC,GAAGC,8BAA8B,GAAGC,6BAA6B,UAAU","file":"time-input-polyfill.min.js","sourcesContent":["(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c=\"function\"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error(\"Cannot find module '\"+i+\"'\");throw a.code=\"MODULE_NOT_FOUND\",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u=\"function\"==typeof require&&require,i=0;i') + '
';\r\n\t\thtml = html.replace(/\\$label/g, $input.polyfill.label);\r\n\t\thtml = html.replace(/\\$segmentName/g, segmentName);\r\n\t\thtml = html.replace(/\\$segmentValue/g, finalValue);\r\n\t\thtml = html.replace(/\\$fullValue/g, fullValue);\r\n\r\n\t\t$input.polyfill.$a11y.innerHTML = html;\r\n\t}, 1);\r\n}\r\n","\r\nmodule.exports = function convert_hours_to_12hr_time (hours) {\r\n\treturn hours <= 12 ? hours === 0 ? 12 : hours : hours - 12;\r\n}\r\n","\r\nmodule.exports = function convert_number (number) {\r\n\treturn isNaN(number) ? number : parseInt(number);\r\n}\r\n","\r\nvar convert_number = require('./convert_number');\r\nvar convert_hours_to_12hr_time = require('./convert_hours_to_12hr_time');\r\nvar leading_zero = require('./leading_zero');\r\n\r\nmodule.exports = function convert_to_12hr_time (timeString_24hr) {\r\n\tif (timeString_24hr === '') return '--:-- --';\r\n\tvar twentyFour_regex = /([0-9]{2})\\:([0-9]{2})/;\r\n\tvar result = twentyFour_regex.exec(timeString_24hr);\r\n\tvar hrs_24 = convert_number(result[1]);\r\n\tvar min = result[2];\r\n\tvar hrs_12 = convert_hours_to_12hr_time(hrs_24);\r\n\tvar isPM = hrs_24 > 12;\r\n\tvar mode = isPM ? 'PM' : 'AM';\r\n\treturn [leading_zero(hrs_12), ':', min, ' ', mode].join('');\r\n}\r\n","\r\nvar leading_zero = require('./leading_zero');\r\n\r\nmodule.exports = function convert_to_24hr_time (timeString_12hr) {\r\n\tif (/-/.test(timeString_12hr)) return '';\r\n\tvar isPM = timeString_12hr.indexOf('PM') > -1;\r\n\tvar timeResult = /^([0-9]{2})/.exec(timeString_12hr);\r\n\tvar hrs = timeResult ? parseInt(timeResult[1]) : '';\r\n\tvar newHrs;\r\n\tif (hrs === 12) {\r\n\t\tnewHrs = isPM ? 12 : 0;\r\n\t} else {\r\n\t\tnewHrs = isPM ? hrs + 12 : hrs;\r\n\t}\r\n\tvar finalHrs = newHrs === 24 ? 0 : newHrs;\r\n\tvar timeRegEx = /^[0-9]{2}:([0-9]{2}) (AM|PM)/;\r\n\treturn timeString_12hr.replace(timeRegEx, leading_zero(finalHrs)+':$1');\r\n}\r\n","\r\nmodule.exports = function leading_zero (number) {\r\n\tif (isNaN(number)) return number;\r\n\tvar purified = parseInt(number);\r\n\treturn purified < 10 ? '0' + purified : number;\r\n}\r\n","\r\nvar values = require('../helpers/values');\r\n\r\nvar select_segment = require('../selectors/select_segment');\r\n\r\nvar next_segment = require('../selectors/next_segment');\r\nvar prev_segment = require('../selectors/prev_segment');\r\nvar select_cursor_segment = require('../selectors/select_cursor_segment');\r\n\r\nvar get_current_segment = require('../getters/get_current_segment');\r\n\r\nvar reset = require('../setters/reset');\r\nvar manual_number_entry = require('../setters/manual_number_entry');\r\nvar clear_segment = require('../setters/clear_segment');\r\nvar increment_current_segment = require('../setters/increment_current_segment');\r\nvar decrement_current_segment = require('../setters/decrement_current_segment');\r\nvar set_mode = require('../setters/set_mode');\r\nvar switch_times = require('../setters/switch_times');\r\n\r\nvar handle_tab = require('../events/handle_tab');\r\n\r\nvar all_number_keys = require('../static-values/all_number_keys');\r\nvar named_keys = require('../static-values/named_keys');\r\n\r\nvar update_a11y = require('../accessibility/update_a11y');\r\n\r\nmodule.exports = function bind_events ($input) {\r\n\r\n\tvar prev_value = '';\r\n\r\n\tvar shiftKey = false;\r\n\r\n\tdocument.addEventListener('keydown', function(e){\r\n\t\tshiftKey = e.shiftKey;\r\n\t})\r\n\tdocument.addEventListener('keyup', function(e){\r\n\t\tshiftKey = e.shiftKey;\r\n\t})\r\n\r\n\tif ($input.form) {\r\n\t\t$input.form.addEventListener('submit', function(){\r\n\t\t\tauto_swap($input);\r\n\t\t})\r\n\t}\r\n\r\n\tvar focused_via_click = false;\r\n\r\n\t$input.addEventListener('mousedown', function(){\r\n\t\tfocused_via_click = true;\r\n\t});\r\n\r\n\t// Turns the IE clear button into a reset button\r\n\t$input.addEventListener('mouseup', function(){\r\n\t\tsetTimeout(function(){\r\n\t\t\tif ($input.value === '') reset($input);\r\n\t\t}, 1)\r\n\t});\r\n\r\n\t$input.addEventListener('click', function(e){\r\n\t\tselect_cursor_segment($input);\r\n\t});\r\n\r\n\t$input.addEventListener('blur', function(){\r\n\t\tvar current_value = $input.dataset.value;\r\n\t\tif (current_value !== prev_value) {\r\n\t\t\tprev_value = current_value;\r\n\t\t}\r\n\t\tfocused_via_click = false;\r\n\t});\r\n\r\n\t$input.addEventListener('focus', function(e){\r\n\t\tif (!focused_via_click) {\r\n\t\t\te.preventDefault();\r\n\t\t\tvar segment = shiftKey ? 'mode' : 'hrs';\r\n\t\t\tselect_segment($input, segment);\r\n\t\t}\r\n\t\tupdate_a11y($input, [\r\n\t\t\t'initial',\r\n\t\t\t'select'\r\n\t\t])\r\n\t});\r\n\r\n\t$input.addEventListener('keydown', function(e) {\r\n\t\tvar is_enter_key = e.which === 13;\r\n\t\tif (is_enter_key) return true;\r\n\r\n\t\tvar is_number_key = all_number_keys.indexOf(e.which) > -1;\r\n\t\tvar is_named_key = values(named_keys).indexOf(e.which) > -1;\r\n\t\tvar is_arrow_key = [named_keys.ArrowDown, named_keys.ArrowRight, named_keys.ArrowUp, named_keys.ArrowLeft].indexOf(e.which) > -1;\r\n\t\tvar is_mode_key = [named_keys.a, named_keys.p].indexOf(e.which) > -1;\r\n\t\tvar is_delete_key = [named_keys.Delete, named_keys.Backspace].indexOf(e.which) > -1;\r\n\r\n\t\tif (!is_named_key || is_arrow_key || is_number_key || is_mode_key || is_delete_key) { e.preventDefault(); }\r\n\r\n\t\tif (is_number_key) {\r\n\t\t\tmanual_number_entry($input, e.which);\r\n\t\t}\r\n\r\n\t\tif (is_delete_key) {\r\n\t\t\tvar segment = get_current_segment($input);\r\n\t\t\tclear_segment($input, segment);\r\n\t\t}\r\n\r\n\t\tswitch (e.which) {\r\n\t\t\tcase named_keys.ArrowRight: next_segment($input); break;\r\n\t\t\tcase named_keys.ArrowLeft: prev_segment($input); break;\r\n\t\t\tcase named_keys.ArrowUp: increment_current_segment($input); break;\r\n\t\t\tcase named_keys.ArrowDown: decrement_current_segment($input); break;\r\n\t\t\tcase named_keys.Escape: reset($input); break;\r\n\t\t\tcase named_keys.a: set_mode($input, 'AM'); break;\r\n\t\t\tcase named_keys.p: set_mode($input, 'PM'); break;\r\n\t\t\tcase named_keys.Tab: handle_tab($input, e); break;\r\n\t\t}\r\n\t})\r\n}\r\n\r\nfunction auto_swap($input) {\r\n\tif ($input.polyfill.autoSwap) {\r\n\t\tswitch_times($input, 24);\r\n\t\tsetTimeout(function(){\r\n\t\t\tswitch_times($input, 12);\r\n\t\t}, 1);\r\n\t}\r\n}\r\n","\r\nmodule.exports = function create_event(eventName){\r\n\tvar event = document.createEvent('Event');\r\n\tevent.initEvent(eventName, true, true);\r\n\treturn event;\r\n}\r\n","\r\nvar get_current_segment = require('../getters/get_current_segment');\r\nvar prev_segment = require('../selectors/prev_segment');\r\nvar next_segment = require('../selectors/next_segment');\r\n\r\nmodule.exports = function handle_tab($input, e) {\r\n\tvar current_segment = get_current_segment($input);\r\n\tvar backwards_and_first = e.shiftKey && current_segment === 'hrs';\r\n\tvar forwards_and_last = !e.shiftKey && current_segment === 'mode';\r\n\r\n\tif (!backwards_and_first && !forwards_and_last) {\r\n\t\te.preventDefault();\r\n\t\tif (e.shiftKey) {\r\n\t\t\tprev_segment($input);\r\n\t\t} else {\r\n\t\t\tnext_segment($input);\r\n\t\t}\r\n\t}\r\n}\r\n","\r\nvar trigger_event = require('./trigger_event');\r\n\r\n// It seems that oninput and onchange are treated the same way by browsers :/\r\nmodule.exports = function trigger_both_events($input) {\r\n\t// the event only ever fires if there is a full valid value available\r\n\ttrigger_event($input, 'input');\r\n\ttrigger_event($input,'change');\r\n}\r\n","\r\nvar create_event = require('./create_event');\r\n\r\nvar inputEvent = create_event('input');\r\nvar changeEvent = create_event('change');\r\n\r\nmodule.exports = function trigger_event($input, eventName) {\r\n\tvar event = {\r\n\t\tinput: inputEvent,\r\n\t\tchange: changeEvent,\r\n\t}[eventName];\r\n\r\n\tif (can_trigger_change($input)) {\r\n\t\t$input.dispatchEvent(event);\r\n\t}\r\n}\r\n\r\n// Browsers only send out input and change events if the time element has a full valid value\r\nfunction can_trigger_change ($input) {\r\n\treturn !/--/.test($input.value);\r\n}\r\n","// selector is optional, it allows for an early exit\r\nmodule.exports = function ($input, selectorString) {\r\n\tvar $elem = $input;\r\n\r\n\t// https://stackoverflow.com/a/8729274/1611058\r\n\tvar ancestors = [];\r\n\twhile ($elem) {\r\n\t\tancestors.push($elem);\r\n\t\tvar matchesSelector = $elem.msMatchesSelector ?\r\n\t\t\t$elem.msMatchesSelector(selectorString) :\r\n\t\t\t$elem.matches(selectorString);\r\n\t\tif (matchesSelector) {\r\n\t\t\treturn ancestors;\r\n\t\t}\r\n\t\t$elem = $elem.parentElement;\r\n\t}\r\n\r\n\treturn ancestors;\r\n}\r\n","\r\nvar ranges = require('../static-values/ranges');\r\nvar get_selected_range = require('./get_selected_range');\r\n\r\nmodule.exports = function get_current_segment ($input) {\r\n\tvar selection = get_selected_range($input);\r\n\tfor (var segment in ranges) {\r\n\t\tvar range = ranges[segment];\r\n\t\tvar aboveMin = range.start <= selection.start;\r\n\t\tvar belowMax = range.end >= selection.end;\r\n\t\tif (aboveMin && belowMax) {\r\n\t\t\treturn segment;\r\n\t\t}\r\n\t}\r\n\treturn 'hrs';\r\n}\r\n","\r\nvar get_ancestors = require('./get_ancestors');\r\n\r\nmodule.exports = function get_label ($input) {\r\n\r\n\tvar labelText =\r\n\t\taria_labelledby($input) ||\r\n\t\taria_label($input) ||\r\n\t\tfor_attribute($input) ||\r\n\t\tlabel_wrapper_element($input) ||\r\n\t\ttitle_attribute($input);\r\n\r\n\tif (labelText) return labelText;\r\n\r\n\tconsole.error('Label text for input not found.', $input);\r\n\tthrow new Error('Cannot polyfill time input due to a missing label.');\r\n}\r\n\r\nfunction aria_labelledby($input){\r\n\tvar ariaLabelByID = $input.getAttribute('aria-labelledby');\r\n\tif (ariaLabelByID) {\r\n\t\tvar $ariaLabelBy = document.getElementById(ariaLabelByID);\r\n\t\tif ($ariaLabelBy) return $ariaLabelBy.textContent;\r\n\t}\r\n\treturn false;\r\n}\r\n\r\nfunction aria_label($input){\r\n\tvar ariaLabel = $input.getAttribute('aria-label');\r\n\tif (ariaLabel) return ariaLabel;\r\n\treturn false;\r\n}\r\n\r\nfunction for_attribute($input){\r\n\tif ($input.id) {\r\n\t\tvar $forLabel = document.querySelector('label[for=\"'+$input.id+'\"]');\r\n\t\tif ($forLabel) return $forLabel.textContent;\r\n\t}\r\n\treturn false;\r\n}\r\n\r\nfunction label_wrapper_element($input){\r\n\tvar ancestors = get_ancestors($input, 'label');\r\n\tvar $parentLabel = ancestors[ancestors.length - 1];\r\n\tif ($parentLabel.nodeName == 'LABEL') return $parentLabel.textContent;\r\n\treturn false\r\n}\r\n\r\nfunction title_attribute($input){\r\n\tvar titleLabel = $input.getAttribute('title');\r\n\tif (titleLabel) return titleLabel;\r\n\treturn false\r\n}\r\n","\r\nmodule.exports = function get_selected_range ($input) {\r\n\treturn { start: $input.selectionStart, end: $input.selectionEnd };\r\n}\r\n","\r\nvar convert_number = require('../converters/convert_number');\r\n\r\nmodule.exports = function get_values ($input, timeString) {\r\n\tvar value = timeString ? timeString : $input.value;\r\n\tvar regEx = /([0-9-]{1,2})\\:([0-9-]{1,2})\\s?(AM|PM|\\-\\-)?/;\r\n\tvar result = regEx.exec(value);\r\n\r\n\treturn {\r\n\t\thrs: convert_number(result[1]),\r\n\t\tmin: convert_number(result[2]),\r\n\t\tmode: result[3],\r\n\t}\r\n}\r\n","\r\nvar manual_entry_log = [];\r\n\r\nfunction clear () {\r\n\tmanual_entry_log = [];\r\n}\r\n\r\nfunction add (entry) {\r\n\tmanual_entry_log.push(entry);\r\n}\r\n\r\nfunction items(){\r\n\treturn manual_entry_log;\r\n}\r\n\r\nmodule.exports = {\r\n\titems: items,\r\n\tclear: clear,\r\n\tadd: add,\r\n}\r\n","\r\n// IE11 doesn't support Object.values()\r\nmodule.exports = function values (obj) {\r\n\tvar key_values = [];\r\n\tfor (var key in obj) {\r\n\t\tkey_values.push(obj[key]);\r\n\t}\r\n\treturn key_values;\r\n}\r\n","\r\nvar traverse = require('./traverse');\r\n\r\nmodule.exports = function next_segment ($input) {\r\n\ttraverse($input, 'next');\r\n}\r\n","\r\nvar traverse = require('./traverse');\r\n\r\nmodule.exports = function prev_segment ($input) {\r\n\ttraverse($input, 'prev');\r\n}\r\n","\r\nvar get_current_segment = require('../getters/get_current_segment');\r\nvar select_segment = require('./select_segment');\r\n\r\nmodule.exports = function select_cursor_segment ($input) {\r\n\tvar current_segment = get_current_segment($input);\r\n\tselect_segment($input, current_segment);\r\n}\r\n","\r\nmodule.exports = function select_segment ($input, segment) {\r\n\r\n\tset_input_type();\r\n\r\n\tvar actions = {\r\n\t\thrs: select(0, 2),\r\n\t\tmin: select(3, 5),\r\n\t\tmode: select(6, 8),\r\n\t};\r\n\r\n\tactions[segment]($input);\r\n\r\n\tfunction set_input_type() {\r\n\t\tvar type = segment === 'mode' ? 'text' : 'tel';\r\n\t\t$input.setAttribute('type', type);\r\n\t}\r\n\r\n\tfunction select (start, end) {\r\n\t\treturn function () {\r\n\t\t\t$input.setSelectionRange(start, end);\r\n\t\t}\r\n\t}\r\n}\r\n","\r\nvar get_current_segment = require('../getters/get_current_segment');\r\nvar select_segment = require('../selectors/select_segment');\r\n\r\nvar manual_entry_log = require('../helpers/manual_entry_log');\r\nvar segments = require('../static-values/segments');\r\n\r\nvar update_a11y = require('../accessibility/update_a11y');\r\n\r\nmodule.exports = function traverse ($input, direction) {\r\n\tvar segment = get_current_segment($input);\r\n\r\n\tvar modifier = direction === 'next' ? 1 : -1;\r\n\tvar next_segment_index = segments.indexOf(segment) + modifier;\r\n\r\n\tvar next_segment = {\r\n\t\tnext: segments[next_segment_index] || 'mode',\r\n\t\tprev: next_segment_index < 0 ? 'hrs' : segments[next_segment_index],\r\n\t}[direction];\r\n\r\n\tselect_segment($input, next_segment);\r\n\tmanual_entry_log.clear();\r\n\tupdate_a11y($input, ['select'])\r\n}\r\n","\r\n// I need to keep this separate from reset so that\r\n// I can reset without attracting focus\r\n\r\nvar set_data_attribute = require('../setters/set_data_attribute');\r\nvar trigger_both_events = require('../events/trigger_both_events');\r\n\r\nmodule.exports = function apply_default ($input) {\r\n\t$input.value = '--:-- --';\r\n\tset_data_attribute($input, '');\r\n\ttrigger_both_events($input);\r\n}\r\n","\r\nvar set_segment = require('./set_segment');\r\nvar update_a11y = require('../accessibility/update_a11y');\r\n\r\nmodule.exports = function clear_segment ($input, segment) {\r\n\tset_segment($input, segment, '--');\r\n\tupdate_a11y($input, ['update']);\r\n}\r\n","\r\nvar switch_mode = require('./switch_mode');\r\nvar nudge_time_segment = require('./nudge_time_segment');\r\nvar update_a11y = require('../accessibility/update_a11y');\r\n\r\nmodule.exports = function decrement ($input, segment) {\r\n\tif (segment === 'mode') {\r\n\t\tswitch_mode($input, 'PM')\r\n\t} else {\r\n\t\tnudge_time_segment($input, segment, 'down');\r\n\t}\r\n\tupdate_a11y($input, ['update']);\r\n}\r\n","\r\nvar get_current_segment = require('../getters/get_current_segment');\r\nvar decrement = require('../setters/decrement');\r\n\r\nmodule.exports = function decrement_current_segment ($input){\r\n\tvar current_segment = get_current_segment($input);\r\n\tdecrement($input, current_segment);\r\n}\r\n","\r\nvar switch_mode = require('./switch_mode');\r\nvar nudge_time_segment = require('./nudge_time_segment');\r\nvar update_a11y = require('../accessibility/update_a11y');\r\n\r\nmodule.exports = function increment ($input, segment) {\r\n\tif (segment === 'mode') {\r\n\t\tswitch_mode($input, 'AM')\r\n\t} else {\r\n\t\tnudge_time_segment($input, segment, 'up');\r\n\t}\r\n\tupdate_a11y($input, ['update']);\r\n}\r\n\r\n","\r\nvar get_current_segment = require('../getters/get_current_segment');\r\nvar increment = require('../setters/increment');\r\n\r\nmodule.exports = function increment_current_segment ($input) {\r\n\tvar current_segment = get_current_segment($input);\r\n\tincrement($input, current_segment);\r\n}\r\n","\r\nvar get_current_segment = require('../getters/get_current_segment');\r\nvar set_segment = require('./set_segment');\r\nvar next_segment = require('../selectors/next_segment');\r\n\r\nvar manual_entry_log = require('../helpers/manual_entry_log');\r\nvar sorted_number_keys = require('../static-values/sorted_number_keys');\r\n\r\nmodule.exports = function manual_number_entry($input, key) {\r\n\tvar key_value = sorted_number_keys[key];\r\n\tvar segment = get_current_segment($input);\r\n\r\n\tif (segment !== 'mode') {\r\n\t\tvar entry_count = manual_entry_log.items().length;\r\n\r\n\t\tvar upper_limits = {\r\n\t\t\thrs: [1,2],\r\n\t\t\tmin: [5,9],\r\n\t\t}\r\n\t\tvar limit = upper_limits[segment][entry_count];\r\n\r\n\t\tif (entry_count < 2) {\r\n\t\t\tmanual_entry_log.add(key_value);\r\n\t\t}\r\n\r\n\t\tvar full_limit = parseInt(upper_limits[segment].join(''));\r\n\t\tvar full_entry = parseInt(manual_entry_log.items().join(''));\r\n\r\n\t\tif (full_limit >= full_entry) {\r\n\t\t\tset_segment($input, segment, full_entry);\r\n\t\t}\r\n\r\n\t\tvar at_limit = key_value > limit || manual_entry_log.items().length === 2;\r\n\r\n\t\tif (at_limit) {\r\n\t\t\tnext_segment($input);\r\n\t\t}\r\n\t}\r\n}\r\n","\r\nvar get_values = require('../getters/get_values');\r\nvar convert_hours_to_12hr_time = require('../converters/convert_hours_to_12hr_time');\r\nvar leading_zero = require('../converters/leading_zero');\r\nvar set_segment = require('./set_segment');\r\n\r\nmodule.exports = function nudge_time_segment ($input, segment, direction) {\r\n\tvar current_values = get_values($input);\r\n\tvar time;\r\n\r\n\tvar modifier = direction === 'up' ? 1 : -1;\r\n\r\n\tif (current_values[segment] === '--') {\r\n\t\tvar current_time = new Date();\r\n\t\ttime = {\r\n\t\t\thrs: convert_hours_to_12hr_time(current_time.getHours()),\r\n\t\t\tmin: current_time.getMinutes(),\r\n\t\t}\r\n\t} else {\r\n\t\tvar minutes = {\r\n\t\t\tup : current_values.min < 59 ? current_values.min + modifier : 0,\r\n\t\t\tdown : current_values.min === 0 ? 59 : current_values.min + modifier,\r\n\t\t}\r\n\t\ttime = {\r\n\t\t\thrs: convert_hours_to_12hr_time(current_values.hrs + modifier),\r\n\t\t\tmin: minutes[direction],\r\n\t\t}\r\n\t}\r\n\r\n\tset_segment($input, segment, leading_zero(time[segment]) );\r\n}\r\n","\r\nvar apply_default = require('./apply_default');\r\nvar select_segment = require('../selectors/select_segment');\r\n\r\nmodule.exports = function reset ($input) {\r\n\tapply_default($input);\r\n\tselect_segment($input, 'hrs');\r\n}\r\n","\r\nvar convert_to_24hr_time = require('../converters/convert_to_24hr_time')\r\n\r\nmodule.exports = function set_data_attribute($input, timeString_12hr){\r\n\tvar filteredString = timeString_12hr.indexOf('-') > -1 ? '' : timeString_12hr;\r\n\tvar time24hr = convert_to_24hr_time(filteredString);\r\n\t$input.setAttribute('data-value', time24hr);\r\n}\r\n","\r\nvar get_current_segment = require('../getters/get_current_segment');\r\nvar set_segment = require('./set_segment');\r\n\r\nmodule.exports = function set_mode ($input, type) {\r\n\tvar segment = get_current_segment($input);\r\n\tif (segment === 'mode') {\r\n\t\tset_segment($input, segment, type);\r\n\t}\r\n}\r\n","\r\nvar get_values = require('../getters/get_values');\r\nvar leading_zero = require('../converters/leading_zero');\r\nvar select_segment = require('../selectors/select_segment');\r\nvar set_data_attribute = require('./set_data_attribute');\r\nvar trigger_both_events = require('../events/trigger_both_events');\r\n\r\nmodule.exports = function set_segment ($input, segment, value) {\r\n\tvar values = get_values($input);\r\n\tvalues[segment] = value;\r\n\tvar newInputVal = [\r\n\t\tleading_zero(values.hrs),':',\r\n\t\tleading_zero(values.min),' ',\r\n\t\tvalues.mode\r\n\t].join('');\r\n\t$input.value = newInputVal;\r\n\tselect_segment($input, segment);\r\n\tset_data_attribute($input, newInputVal);\r\n\ttrigger_both_events($input);\r\n}\r\n","\r\nvar convert_to_12hr_time = require('../converters/convert_to_12hr_time');\r\nvar set_data_attribute = require('../setters/set_data_attribute');\r\n\r\nmodule.exports = function set_time($input, time_string_24hr) {\r\n\tvar twelveHr = convert_to_12hr_time(time_string_24hr);\r\n\t$input.value = twelveHr;\r\n\tset_data_attribute($input, time_string_24hr);\r\n}\r\n","\r\nvar get_values = require('../getters/get_values');\r\nvar set_segment = require('./set_segment');\r\n\r\nmodule.exports = function switch_mode ($input, default_mode) {\r\n\tdefault_mode = default_mode || 'AM';\r\n\tvar current_mode = get_values($input).mode;\r\n\tvar new_mode = {\r\n\t\t'--' : default_mode,\r\n\t\t'AM' : 'PM',\r\n\t\t'PM' : 'AM',\r\n\t}[current_mode];\r\n\tset_segment($input, 'mode', new_mode);\r\n}\r\n","\r\nvar switch_to_data_value = require('./switch_to_data_value');\r\nvar set_time = require('./set_time');\r\n\r\nmodule.exports = function switch_times ($input, format) {\r\n\tvar is12hr = /\\s/.test($input.value);\r\n\r\n\tif (format != 12 && format != 24) {\r\n\t\tformat = is12hr ? 24 : 12;\r\n\t}\r\n\r\n\tvar actions = {\r\n\t\t12: function(){\r\n\t\t\tif (!is12hr) {\r\n\t\t\t\tset_time($input, $input.dataset.value);\r\n\t\t\t}\r\n\t\t},\r\n\t\t24: function(){\r\n\t\t\tif (is12hr) {\r\n\t\t\t\tswitch_to_data_value($input);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\tactions[format]();\r\n}\r\n","\r\nmodule.exports = function($input) {\r\n\tvar replacementVal = $input.dataset.value;\r\n\t$input.value = replacementVal;\r\n}\r\n","\r\nvar set_time = require('../setters/set_time');\r\n\r\nmodule.exports = function update_time($input) {\r\n\tset_time($input, $input.value);\r\n\treturn $input;\r\n}\r\n","var all_number_keys = [\r\n // 0, 1, 2, 3, 4, 5, 6, 7, 8, 9\r\n 48, 49, 50, 51, 52, 53, 54, 55, 56, 57,\r\n 96, 97, 98, 99,100,101,102,103,104,105\r\n];\r\n\r\nmodule.exports = all_number_keys;\r\n","var named_keys = {\r\n\tArrowDown: 40,\r\n\tArrowRight: 39,\r\n\tArrowUp: 38,\r\n\tArrowLeft: 37,\r\n\tBackspace: 8,\r\n\tDelete: 46,\r\n\tTab: 9,\r\n\tShift: 16,\r\n\tEscape: 27,\r\n\ta: 65,\r\n\tp: 80,\r\n}\r\n\r\nmodule.exports = named_keys;\r\n","\r\nvar ranges = {\r\n\thrs : { start: 0, end: 2 },\r\n\tmin : { start: 3, end: 5 },\r\n\tmode : { start: 6, end: 8 },\r\n}\r\n\r\nmodule.exports = ranges;\r\n","\r\nvar ranges = require('./ranges');\r\n\r\nvar segments = Object.keys(ranges);\r\n\r\nmodule.exports = segments;\r\n","\r\nvar all_number_keys = require('./all_number_keys');\r\n\r\nvar sorted_number_keys = {};\r\n// sorted_number_keys = { 48: 0, 49: 1, 96: 0, 97: 1, ... };\r\nall_number_keys.forEach(function(key, index) {\r\n\tvar number_val = index > 9 ? index - 10 : index;\r\n\tsorted_number_keys[key] = number_val;\r\n});\r\n\r\nmodule.exports = sorted_number_keys;\r\n"],"sourceRoot":"/source/"}
\ No newline at end of file
+{"version":3,"sources":["node_modules/browser-pack/_prelude.js","core/accessibility/create_a11y_block.js","index.js","core/accessibility/update_a11y.js","core/converters/convert_hours_to_12hr_time.js","core/converters/convert_number.js","core/converters/convert_to_12hr_time.js","core/converters/convert_to_24hr_time.js","core/converters/leading_zero.js","core/events/bind_events.js","core/events/create_event.js","core/events/handle_tab.js","core/events/trigger_both_events.js","core/events/trigger_event.js","core/getters/get_ancestors.js","core/getters/get_current_segment.js","core/getters/get_label.js","core/getters/get_selected_range.js","core/getters/get_values.js","core/helpers/manual_entry_log.js","core/helpers/values.js","core/selectors/next_segment.js","core/selectors/prev_segment.js","core/selectors/select_cursor_segment.js","core/selectors/select_segment.js","core/selectors/traverse.js","core/setters/apply_default.js","core/setters/clear_segment.js","core/setters/decrement.js","core/setters/decrement_current_segment.js","core/setters/increment.js","core/setters/increment_current_segment.js","core/setters/manual_number_entry.js","core/setters/nudge_time_segment.js","core/setters/reset.js","core/setters/set_data_attribute.js","core/setters/set_mode.js","core/setters/set_segment.js","core/setters/set_time.js","core/setters/switch_mode.js","core/setters/switch_times.js","core/setters/switch_to_data_value.js","core/setters/update_time.js","core/static-values/all_number_keys.js","core/static-values/named_keys.js","core/static-values/ranges.js","core/static-values/segments.js","core/static-values/sorted_number_keys.js"],"names":["r","e","n","t","o","i","f","c","require","u","a","Error","code","p","exports","call","length","1","module","$block","document","createElement","setAttribute","classList","add","querySelector","appendChild","2","get_current_segment","get_values","$input","announcementArray","setTimeout","current_segment","values","value","finalValue","segmentName","hrs","min","mode","announcements","initial","select","update","textArray","map","providedString","fullValue","replace","html","join","polyfill","label","$a11y","innerHTML","../getters/get_current_segment","../getters/get_values","3","hours","4","number","isNaN","parseInt","5","convert_number","convert_hours_to_12hr_time","leading_zero","timeString_24hr","twentyFour_regex","result","exec","hrs_24","hrs_12","isPM","./convert_hours_to_12hr_time","./convert_number","./leading_zero","6","timeString_12hr","test","newHrs","indexOf","timeResult","finalHrs","timeRegEx","7","purified","8","auto_swap","autoSwap","switch_times","select_segment","next_segment","prev_segment","select_cursor_segment","reset","manual_number_entry","clear_segment","increment_current_segment","decrement_current_segment","set_mode","handle_tab","all_number_keys","named_keys","update_a11y","prev_value","shiftKey","addEventListener","form","focused_via_click","current_value","dataset","preventDefault","segment","is_enter_key","which","is_number_key","is_named_key","is_arrow_key","ArrowDown","ArrowRight","ArrowUp","ArrowLeft","is_mode_key","is_delete_key","Delete","Backspace","Escape","Tab","../accessibility/update_a11y","../events/handle_tab","../helpers/values","../selectors/next_segment","../selectors/prev_segment","../selectors/select_cursor_segment","../selectors/select_segment","../setters/clear_segment","../setters/decrement_current_segment","../setters/increment_current_segment","../setters/manual_number_entry","../setters/reset","../setters/set_mode","../setters/switch_times","../static-values/all_number_keys","../static-values/named_keys","9","eventName","event","createEvent","initEvent","10","backwards_and_first","forwards_and_last","11","trigger_event","./trigger_event","12","can_trigger_change","create_event","inputEvent","changeEvent","input","change","dispatchEvent","./create_event","13","selectorString","$elem","ancestors","push","matchesSelector","msMatchesSelector","matches","parentElement","14","ranges","get_selected_range","selection","range","aboveMin","start","belowMax","end","../static-values/ranges","./get_selected_range","15","aria_labelledby","ariaLabelByID","getAttribute","$ariaLabelBy","getElementById","textContent","aria_label","ariaLabel","for_attribute","id","$forLabel","label_wrapper_element","get_ancestors","$parentLabel","nodeName","title_attribute","titleLabel","labelText","console","error","./get_ancestors","16","selectionStart","selectionEnd","17","timeString","regEx","../converters/convert_number","18","clear","manual_entry_log","entry","items","19","obj","key_values","key","20","traverse","./traverse","21","22","./select_segment","23","set_input_type","type","setSelectionRange","actions","24","segments","direction","modifier","next_segment_index","next","prev","../helpers/manual_entry_log","../static-values/segments","25","set_data_attribute","trigger_both_events","../events/trigger_both_events","../setters/set_data_attribute","26","set_segment","./set_segment","27","switch_mode","nudge_time_segment","./nudge_time_segment","./switch_mode","28","decrement","../setters/decrement","29","30","increment","../setters/increment","31","sorted_number_keys","key_value","entry_count","upper_limits","limit","full_limit","full_entry","at_limit","../static-values/sorted_number_keys","32","time","current_values","current_time","Date","getHours","getMinutes","minutes","up","down","../converters/convert_hours_to_12hr_time","../converters/leading_zero","33","apply_default","./apply_default","34","convert_to_24hr_time","filteredString","time24hr","../converters/convert_to_24hr_time","35","36","newInputVal","./set_data_attribute","37","convert_to_12hr_time","time_string_24hr","twelveHr","../converters/convert_to_12hr_time","38","default_mode","current_mode","new_mode","--","AM","PM","39","switch_to_data_value","set_time","format","is12hr","./set_time","./switch_to_data_value","40","replacementVal","41","../setters/set_time","42","43","Shift","44","45","Object","keys","./ranges","46","forEach","index","number_val","./all_number_keys","47","TimePolyfill","accessibility_block_created","create_a11y_block","get_label","update_time","swap","forcedFormat","bind_events","window","./core/accessibility/create_a11y_block","./core/events/bind_events","./core/getters/get_label","./core/setters/apply_default","./core/setters/set_data_attribute","./core/setters/switch_times","./core/setters/update_time"],"mappings":";;;;;;;;CAAA,WAAA,QAAAA,GAAAC,EAAAC,EAAAC,GAAA,QAAAC,GAAAC,EAAAC,GAAA,IAAAJ,EAAAG,GAAA,CAAA,IAAAJ,EAAAI,GAAA,CAAA,GAAAE,GAAA,kBAAAC,UAAAA,OAAA,KAAAF,GAAAC,EAAA,MAAAA,GAAAF,GAAA,EAAA,IAAAI,EAAA,MAAAA,GAAAJ,GAAA,EAAA,IAAAK,GAAA,GAAAC,OAAA,uBAAAN,EAAA,IAAA,MAAAK,GAAAE,KAAA,mBAAAF,EAAA,GAAAG,GAAAX,EAAAG,IAAAS,WAAAb,GAAAI,GAAA,GAAAU,KAAAF,EAAAC,QAAA,SAAAd,GAAA,GAAAE,GAAAD,EAAAI,GAAA,GAAAL,EAAA,OAAAI,GAAAF,GAAAF,IAAAa,EAAAA,EAAAC,QAAAd,EAAAC,EAAAC,EAAAC,GAAA,MAAAD,GAAAG,GAAAS,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EAGA,IAAA3R,GAAA6R,EAAApT,EAEAA,GAAAsB,UACAE,MAAAA,EACAD,MAAAA,EACAqC,UAAA,EACA9C,OAAA,WACAuS,EAAArT,IAEAsT,KAAA,SAAAC,GACA1P,EAAA7D,EAAAuT,KAIA,KAAAvT,EAAAK,OAAA,KAAA6C,KAAAlD,EAAAK,QACA4P,EAAAjQ,GACAuN,EAAAvN,EAAA,MAEAqT,EAAArT,GACAuN,EAAAvN,EAAAA,EAAAK,QAGAmT,EAAAxT,GA7CA,GAUAwB,GAVAyO,EAAAvR,EAAA,gCACA2U,EAAA3U,EAAA,8BACA6O,EAAA7O,EAAA,qCACA8U,EAAA9U,EAAA,6BACAmF,EAAAnF,EAAA,+BACA0U,EAAA1U,EAAA,4BAEAyU,EAAAzU,EAAA,0CAEAwU,GAAA,CAuCAO,UAAAA,OAAAR,aAAAA,GACA7T,IAAAA,EAAAJ,QAAAiU,KAg1BGS,yCAAyC,EAAEC,4BAA4B,EAAEC,2BAA2B,GAAGC,+BAA+B,GAAGC,oCAAoC,GAAGC,8BAA8B,GAAGC,6BAA6B,UAAU","file":"time-input-polyfill.min.js","sourcesContent":["(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c=\"function\"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error(\"Cannot find module '\"+i+\"'\");throw a.code=\"MODULE_NOT_FOUND\",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u=\"function\"==typeof require&&require,i=0;i') + '
'\r\n html = html.replace(/\\$label/g, $input.polyfill.label)\r\n html = html.replace(/\\$segmentName/g, segmentName)\r\n html = html.replace(/\\$segmentValue/g, finalValue)\r\n html = html.replace(/\\$fullValue/g, fullValue)\r\n\r\n $input.polyfill.$a11y.innerHTML = html\r\n }, 1)\r\n}\r\n","module.exports = function convert_hours_to_12hr_time(hours) {\r\n return hours <= 12 ? (hours === 0 ? 12 : hours) : hours - 12\r\n}\r\n","module.exports = function convert_number(number) {\r\n return isNaN(number) ? number : parseInt(number)\r\n}\r\n","var convert_number = require('./convert_number')\r\nvar convert_hours_to_12hr_time = require('./convert_hours_to_12hr_time')\r\nvar leading_zero = require('./leading_zero')\r\n\r\nmodule.exports = function convert_to_12hr_time(timeString_24hr) {\r\n if (timeString_24hr === '') return '--:-- --'\r\n var twentyFour_regex = /([0-9]{2})\\:([0-9]{2})/\r\n var result = twentyFour_regex.exec(timeString_24hr)\r\n var hrs_24 = convert_number(result[1])\r\n var min = result[2]\r\n var hrs_12 = convert_hours_to_12hr_time(hrs_24)\r\n var isPM = hrs_24 >= 12\r\n var mode = isPM ? 'PM' : 'AM'\r\n return [leading_zero(hrs_12), ':', min, ' ', mode].join('')\r\n}\r\n","var leading_zero = require('./leading_zero')\r\n\r\nmodule.exports = function convert_to_24hr_time(timeString_12hr) {\r\n if (/-/.test(timeString_12hr)) return ''\r\n var isPM = timeString_12hr.indexOf('PM') > -1\r\n var timeResult = /^([0-9]{2})/.exec(timeString_12hr)\r\n var hrs = timeResult ? parseInt(timeResult[1]) : ''\r\n var newHrs\r\n if (hrs === 12) {\r\n newHrs = isPM ? 12 : 0\r\n } else {\r\n newHrs = isPM ? hrs + 12 : hrs\r\n }\r\n var finalHrs = newHrs === 24 ? 0 : newHrs\r\n var timeRegEx = /^[0-9]{2}:([0-9]{2}) (AM|PM)/\r\n return timeString_12hr.replace(timeRegEx, leading_zero(finalHrs) + ':$1')\r\n}\r\n","module.exports = function leading_zero(number) {\r\n if (isNaN(number)) return number\r\n var purified = parseInt(number)\r\n return purified < 10 ? '0' + purified : number\r\n}\r\n","var values = require('../helpers/values')\r\n\r\nvar select_segment = require('../selectors/select_segment')\r\n\r\nvar next_segment = require('../selectors/next_segment')\r\nvar prev_segment = require('../selectors/prev_segment')\r\nvar select_cursor_segment = require('../selectors/select_cursor_segment')\r\n\r\nvar get_current_segment = require('../getters/get_current_segment')\r\n\r\nvar reset = require('../setters/reset')\r\nvar manual_number_entry = require('../setters/manual_number_entry')\r\nvar clear_segment = require('../setters/clear_segment')\r\nvar increment_current_segment = require('../setters/increment_current_segment')\r\nvar decrement_current_segment = require('../setters/decrement_current_segment')\r\nvar set_mode = require('../setters/set_mode')\r\nvar switch_times = require('../setters/switch_times')\r\n\r\nvar handle_tab = require('../events/handle_tab')\r\n\r\nvar all_number_keys = require('../static-values/all_number_keys')\r\nvar named_keys = require('../static-values/named_keys')\r\n\r\nvar update_a11y = require('../accessibility/update_a11y')\r\n\r\nmodule.exports = function bind_events($input) {\r\n var prev_value = ''\r\n\r\n var shiftKey = false\r\n\r\n document.addEventListener('keydown', function(e) {\r\n shiftKey = e.shiftKey\r\n })\r\n document.addEventListener('keyup', function(e) {\r\n shiftKey = e.shiftKey\r\n })\r\n\r\n if ($input.form) {\r\n $input.form.addEventListener('submit', function() {\r\n auto_swap($input)\r\n })\r\n }\r\n\r\n var focused_via_click = false\r\n\r\n $input.addEventListener('mousedown', function() {\r\n focused_via_click = true\r\n })\r\n\r\n // Turns the IE clear button into a reset button\r\n $input.addEventListener('mouseup', function() {\r\n setTimeout(function() {\r\n if ($input.value === '') reset($input)\r\n }, 1)\r\n })\r\n\r\n $input.addEventListener('click', function(e) {\r\n select_cursor_segment($input)\r\n })\r\n\r\n $input.addEventListener('blur', function() {\r\n var current_value = $input.dataset.value\r\n if (current_value !== prev_value) {\r\n prev_value = current_value\r\n }\r\n focused_via_click = false\r\n })\r\n\r\n $input.addEventListener('focus', function(e) {\r\n if (!focused_via_click) {\r\n e.preventDefault()\r\n var segment = shiftKey ? 'mode' : 'hrs'\r\n select_segment($input, segment)\r\n }\r\n update_a11y($input, ['initial', 'select'])\r\n })\r\n\r\n $input.addEventListener('keydown', function(e) {\r\n var is_enter_key = e.which === 13\r\n if (is_enter_key) return true\r\n\r\n var is_number_key = all_number_keys.indexOf(e.which) > -1\r\n var is_named_key = values(named_keys).indexOf(e.which) > -1\r\n var is_arrow_key =\r\n [\r\n named_keys.ArrowDown,\r\n named_keys.ArrowRight,\r\n named_keys.ArrowUp,\r\n named_keys.ArrowLeft,\r\n ].indexOf(e.which) > -1\r\n var is_mode_key = [named_keys.a, named_keys.p].indexOf(e.which) > -1\r\n var is_delete_key =\r\n [named_keys.Delete, named_keys.Backspace].indexOf(e.which) > -1\r\n\r\n if (\r\n !is_named_key ||\r\n is_arrow_key ||\r\n is_number_key ||\r\n is_mode_key ||\r\n is_delete_key\r\n ) {\r\n e.preventDefault()\r\n }\r\n\r\n if (is_number_key) {\r\n manual_number_entry($input, e.which)\r\n }\r\n\r\n if (is_delete_key) {\r\n var segment = get_current_segment($input)\r\n clear_segment($input, segment)\r\n }\r\n\r\n switch (e.which) {\r\n case named_keys.ArrowRight:\r\n next_segment($input)\r\n break\r\n case named_keys.ArrowLeft:\r\n prev_segment($input)\r\n break\r\n case named_keys.ArrowUp:\r\n increment_current_segment($input)\r\n break\r\n case named_keys.ArrowDown:\r\n decrement_current_segment($input)\r\n break\r\n case named_keys.Escape:\r\n reset($input)\r\n break\r\n case named_keys.a:\r\n set_mode($input, 'AM')\r\n break\r\n case named_keys.p:\r\n set_mode($input, 'PM')\r\n break\r\n case named_keys.Tab:\r\n handle_tab($input, e)\r\n break\r\n }\r\n })\r\n}\r\n\r\nfunction auto_swap($input) {\r\n if ($input.polyfill.autoSwap) {\r\n switch_times($input, 24)\r\n setTimeout(function() {\r\n switch_times($input, 12)\r\n }, 1)\r\n }\r\n}\r\n","module.exports = function create_event(eventName) {\r\n var event = document.createEvent('Event')\r\n event.initEvent(eventName, true, true)\r\n return event\r\n}\r\n","var get_current_segment = require('../getters/get_current_segment')\r\nvar prev_segment = require('../selectors/prev_segment')\r\nvar next_segment = require('../selectors/next_segment')\r\n\r\nmodule.exports = function handle_tab($input, e) {\r\n var current_segment = get_current_segment($input)\r\n var backwards_and_first = e.shiftKey && current_segment === 'hrs'\r\n var forwards_and_last = !e.shiftKey && current_segment === 'mode'\r\n\r\n if (!backwards_and_first && !forwards_and_last) {\r\n e.preventDefault()\r\n if (e.shiftKey) {\r\n prev_segment($input)\r\n } else {\r\n next_segment($input)\r\n }\r\n }\r\n}\r\n","var trigger_event = require('./trigger_event')\r\n\r\n// It seems that oninput and onchange are treated the same way by browsers :/\r\nmodule.exports = function trigger_both_events($input) {\r\n // the event only ever fires if there is a full valid value available\r\n trigger_event($input, 'input')\r\n trigger_event($input, 'change')\r\n}\r\n","var create_event = require('./create_event')\r\n\r\nvar inputEvent = create_event('input')\r\nvar changeEvent = create_event('change')\r\n\r\nmodule.exports = function trigger_event($input, eventName) {\r\n var event = {\r\n input: inputEvent,\r\n change: changeEvent,\r\n }[eventName]\r\n\r\n if (can_trigger_change($input)) {\r\n $input.dispatchEvent(event)\r\n }\r\n}\r\n\r\n// Browsers only send out input and change events if the time element has a full valid value\r\nfunction can_trigger_change($input) {\r\n return !/--/.test($input.value)\r\n}\r\n","// selector is optional, it allows for an early exit\r\nmodule.exports = function($input, selectorString) {\r\n var $elem = $input\r\n\r\n // https://stackoverflow.com/a/8729274/1611058\r\n var ancestors = []\r\n while ($elem) {\r\n ancestors.push($elem)\r\n var matchesSelector = $elem.msMatchesSelector\r\n ? $elem.msMatchesSelector(selectorString)\r\n : $elem.matches(selectorString)\r\n if (matchesSelector) {\r\n return ancestors\r\n }\r\n $elem = $elem.parentElement\r\n }\r\n\r\n return ancestors\r\n}\r\n","var ranges = require('../static-values/ranges')\r\nvar get_selected_range = require('./get_selected_range')\r\n\r\nmodule.exports = function get_current_segment($input) {\r\n var selection = get_selected_range($input)\r\n for (var segment in ranges) {\r\n var range = ranges[segment]\r\n var aboveMin = range.start <= selection.start\r\n var belowMax = range.end >= selection.end\r\n if (aboveMin && belowMax) {\r\n return segment\r\n }\r\n }\r\n return 'hrs'\r\n}\r\n","var get_ancestors = require('./get_ancestors')\r\n\r\nmodule.exports = function get_label($input) {\r\n var labelText =\r\n aria_labelledby($input) ||\r\n aria_label($input) ||\r\n for_attribute($input) ||\r\n label_wrapper_element($input) ||\r\n title_attribute($input)\r\n\r\n if (labelText) return labelText\r\n\r\n console.error('Label text for input not found.', $input)\r\n throw new Error('Cannot polyfill time input due to a missing label.')\r\n}\r\n\r\nfunction aria_labelledby($input) {\r\n var ariaLabelByID = $input.getAttribute('aria-labelledby')\r\n if (ariaLabelByID) {\r\n var $ariaLabelBy = document.getElementById(ariaLabelByID)\r\n if ($ariaLabelBy) return $ariaLabelBy.textContent\r\n }\r\n return false\r\n}\r\n\r\nfunction aria_label($input) {\r\n var ariaLabel = $input.getAttribute('aria-label')\r\n if (ariaLabel) return ariaLabel\r\n return false\r\n}\r\n\r\nfunction for_attribute($input) {\r\n if ($input.id) {\r\n var $forLabel = document.querySelector('label[for=\"' + $input.id + '\"]')\r\n if ($forLabel) return $forLabel.textContent\r\n }\r\n return false\r\n}\r\n\r\nfunction label_wrapper_element($input) {\r\n var ancestors = get_ancestors($input, 'label')\r\n var $parentLabel = ancestors[ancestors.length - 1]\r\n if ($parentLabel.nodeName == 'LABEL') return $parentLabel.textContent\r\n return false\r\n}\r\n\r\nfunction title_attribute($input) {\r\n var titleLabel = $input.getAttribute('title')\r\n if (titleLabel) return titleLabel\r\n return false\r\n}\r\n","module.exports = function get_selected_range($input) {\r\n return { start: $input.selectionStart, end: $input.selectionEnd }\r\n}\r\n","var convert_number = require('../converters/convert_number')\r\n\r\nmodule.exports = function get_values($input, timeString) {\r\n var value = timeString ? timeString : $input.value\r\n var regEx = /([0-9-]{1,2})\\:([0-9-]{1,2})\\s?(AM|PM|\\-\\-)?/\r\n var result = regEx.exec(value)\r\n\r\n return {\r\n hrs: convert_number(result[1]),\r\n min: convert_number(result[2]),\r\n mode: result[3],\r\n }\r\n}\r\n","var manual_entry_log = []\r\n\r\nfunction clear() {\r\n manual_entry_log = []\r\n}\r\n\r\nfunction add(entry) {\r\n manual_entry_log.push(entry)\r\n}\r\n\r\nfunction items() {\r\n return manual_entry_log\r\n}\r\n\r\nmodule.exports = {\r\n items: items,\r\n clear: clear,\r\n add: add,\r\n}\r\n","// IE11 doesn't support Object.values()\r\nmodule.exports = function values(obj) {\r\n var key_values = []\r\n for (var key in obj) {\r\n key_values.push(obj[key])\r\n }\r\n return key_values\r\n}\r\n","var traverse = require('./traverse')\r\n\r\nmodule.exports = function next_segment($input) {\r\n traverse($input, 'next')\r\n}\r\n","var traverse = require('./traverse')\r\n\r\nmodule.exports = function prev_segment($input) {\r\n traverse($input, 'prev')\r\n}\r\n","var get_current_segment = require('../getters/get_current_segment')\r\nvar select_segment = require('./select_segment')\r\n\r\nmodule.exports = function select_cursor_segment($input) {\r\n var current_segment = get_current_segment($input)\r\n select_segment($input, current_segment)\r\n}\r\n","module.exports = function select_segment($input, segment) {\r\n set_input_type()\r\n\r\n var actions = {\r\n hrs: select(0, 2),\r\n min: select(3, 5),\r\n mode: select(6, 8),\r\n }\r\n\r\n actions[segment]($input)\r\n\r\n function set_input_type() {\r\n var type = segment === 'mode' ? 'text' : 'tel'\r\n $input.setAttribute('type', type)\r\n }\r\n\r\n function select(start, end) {\r\n return function() {\r\n $input.setSelectionRange(start, end)\r\n }\r\n }\r\n}\r\n","var get_current_segment = require('../getters/get_current_segment')\r\nvar select_segment = require('../selectors/select_segment')\r\n\r\nvar manual_entry_log = require('../helpers/manual_entry_log')\r\nvar segments = require('../static-values/segments')\r\n\r\nvar update_a11y = require('../accessibility/update_a11y')\r\n\r\nmodule.exports = function traverse($input, direction) {\r\n var segment = get_current_segment($input)\r\n\r\n var modifier = direction === 'next' ? 1 : -1\r\n var next_segment_index = segments.indexOf(segment) + modifier\r\n\r\n var next_segment = {\r\n next: segments[next_segment_index] || 'mode',\r\n prev: next_segment_index < 0 ? 'hrs' : segments[next_segment_index],\r\n }[direction]\r\n\r\n select_segment($input, next_segment)\r\n manual_entry_log.clear()\r\n update_a11y($input, ['select'])\r\n}\r\n","// I need to keep this separate from reset so that\r\n// I can reset without attracting focus\r\n\r\nvar set_data_attribute = require('../setters/set_data_attribute')\r\nvar trigger_both_events = require('../events/trigger_both_events')\r\n\r\nmodule.exports = function apply_default($input) {\r\n $input.value = '--:-- --'\r\n set_data_attribute($input, '')\r\n trigger_both_events($input)\r\n}\r\n","var set_segment = require('./set_segment')\r\nvar update_a11y = require('../accessibility/update_a11y')\r\n\r\nmodule.exports = function clear_segment($input, segment) {\r\n set_segment($input, segment, '--')\r\n update_a11y($input, ['update'])\r\n}\r\n","var switch_mode = require('./switch_mode')\r\nvar nudge_time_segment = require('./nudge_time_segment')\r\nvar update_a11y = require('../accessibility/update_a11y')\r\n\r\nmodule.exports = function decrement($input, segment) {\r\n if (segment === 'mode') {\r\n switch_mode($input, 'PM')\r\n } else {\r\n nudge_time_segment($input, segment, 'down')\r\n }\r\n update_a11y($input, ['update'])\r\n}\r\n","var get_current_segment = require('../getters/get_current_segment')\r\nvar decrement = require('../setters/decrement')\r\n\r\nmodule.exports = function decrement_current_segment($input) {\r\n var current_segment = get_current_segment($input)\r\n decrement($input, current_segment)\r\n}\r\n","var switch_mode = require('./switch_mode')\r\nvar nudge_time_segment = require('./nudge_time_segment')\r\nvar update_a11y = require('../accessibility/update_a11y')\r\n\r\nmodule.exports = function increment($input, segment) {\r\n if (segment === 'mode') {\r\n switch_mode($input, 'AM')\r\n } else {\r\n nudge_time_segment($input, segment, 'up')\r\n }\r\n update_a11y($input, ['update'])\r\n}\r\n","var get_current_segment = require('../getters/get_current_segment')\r\nvar increment = require('../setters/increment')\r\n\r\nmodule.exports = function increment_current_segment($input) {\r\n var current_segment = get_current_segment($input)\r\n increment($input, current_segment)\r\n}\r\n","var get_current_segment = require('../getters/get_current_segment')\r\nvar set_segment = require('./set_segment')\r\nvar next_segment = require('../selectors/next_segment')\r\n\r\nvar manual_entry_log = require('../helpers/manual_entry_log')\r\nvar sorted_number_keys = require('../static-values/sorted_number_keys')\r\n\r\nmodule.exports = function manual_number_entry($input, key) {\r\n var key_value = sorted_number_keys[key]\r\n var segment = get_current_segment($input)\r\n\r\n if (segment !== 'mode') {\r\n var entry_count = manual_entry_log.items().length\r\n\r\n var upper_limits = {\r\n hrs: [1, 2],\r\n min: [5, 9],\r\n }\r\n var limit = upper_limits[segment][entry_count]\r\n\r\n if (entry_count < 2) {\r\n manual_entry_log.add(key_value)\r\n }\r\n\r\n var full_limit = parseInt(upper_limits[segment].join(''))\r\n var full_entry = parseInt(manual_entry_log.items().join(''))\r\n\r\n if (full_limit >= full_entry) {\r\n set_segment($input, segment, full_entry)\r\n }\r\n\r\n var at_limit = key_value > limit || manual_entry_log.items().length === 2\r\n\r\n if (at_limit) {\r\n next_segment($input)\r\n }\r\n }\r\n}\r\n","var get_values = require('../getters/get_values')\r\nvar convert_hours_to_12hr_time = require('../converters/convert_hours_to_12hr_time')\r\nvar leading_zero = require('../converters/leading_zero')\r\nvar set_segment = require('./set_segment')\r\n\r\nmodule.exports = function nudge_time_segment($input, segment, direction) {\r\n var current_values = get_values($input)\r\n var time\r\n\r\n var modifier = direction === 'up' ? 1 : -1\r\n\r\n if (current_values[segment] === '--') {\r\n var current_time = new Date()\r\n time = {\r\n hrs: convert_hours_to_12hr_time(current_time.getHours()),\r\n min: current_time.getMinutes(),\r\n }\r\n } else {\r\n var minutes = {\r\n up: current_values.min < 59 ? current_values.min + modifier : 0,\r\n down: current_values.min === 0 ? 59 : current_values.min + modifier,\r\n }\r\n time = {\r\n hrs: convert_hours_to_12hr_time(current_values.hrs + modifier),\r\n min: minutes[direction],\r\n }\r\n }\r\n\r\n set_segment($input, segment, leading_zero(time[segment]))\r\n}\r\n","var apply_default = require('./apply_default')\r\nvar select_segment = require('../selectors/select_segment')\r\n\r\nmodule.exports = function reset($input) {\r\n apply_default($input)\r\n select_segment($input, 'hrs')\r\n}\r\n","var convert_to_24hr_time = require('../converters/convert_to_24hr_time')\r\n\r\nmodule.exports = function set_data_attribute($input, timeString_12hr) {\r\n var filteredString = timeString_12hr.indexOf('-') > -1 ? '' : timeString_12hr\r\n var time24hr = convert_to_24hr_time(filteredString)\r\n $input.setAttribute('data-value', time24hr)\r\n}\r\n","var get_current_segment = require('../getters/get_current_segment')\r\nvar set_segment = require('./set_segment')\r\n\r\nmodule.exports = function set_mode($input, type) {\r\n var segment = get_current_segment($input)\r\n if (segment === 'mode') {\r\n set_segment($input, segment, type)\r\n }\r\n}\r\n","var get_values = require('../getters/get_values')\r\nvar leading_zero = require('../converters/leading_zero')\r\nvar select_segment = require('../selectors/select_segment')\r\nvar set_data_attribute = require('./set_data_attribute')\r\nvar trigger_both_events = require('../events/trigger_both_events')\r\n\r\nmodule.exports = function set_segment($input, segment, value) {\r\n var values = get_values($input)\r\n values[segment] = value\r\n var newInputVal = [\r\n leading_zero(values.hrs),\r\n ':',\r\n leading_zero(values.min),\r\n ' ',\r\n values.mode,\r\n ].join('')\r\n $input.value = newInputVal\r\n select_segment($input, segment)\r\n set_data_attribute($input, newInputVal)\r\n trigger_both_events($input)\r\n}\r\n","var convert_to_12hr_time = require('../converters/convert_to_12hr_time')\r\nvar set_data_attribute = require('../setters/set_data_attribute')\r\n\r\nmodule.exports = function set_time($input, time_string_24hr) {\r\n var twelveHr = convert_to_12hr_time(time_string_24hr)\r\n $input.value = twelveHr\r\n set_data_attribute($input, time_string_24hr)\r\n}\r\n","var get_values = require('../getters/get_values')\r\nvar set_segment = require('./set_segment')\r\n\r\nmodule.exports = function switch_mode($input, default_mode) {\r\n default_mode = default_mode || 'AM'\r\n var current_mode = get_values($input).mode\r\n var new_mode = {\r\n '--': default_mode,\r\n AM: 'PM',\r\n PM: 'AM',\r\n }[current_mode]\r\n set_segment($input, 'mode', new_mode)\r\n}\r\n","var switch_to_data_value = require('./switch_to_data_value')\r\nvar set_time = require('./set_time')\r\n\r\nmodule.exports = function switch_times($input, format) {\r\n var is12hr = /\\s/.test($input.value)\r\n\r\n if (format != 12 && format != 24) {\r\n format = is12hr ? 24 : 12\r\n }\r\n\r\n var actions = {\r\n 12: function() {\r\n if (!is12hr) {\r\n set_time($input, $input.dataset.value)\r\n }\r\n },\r\n 24: function() {\r\n if (is12hr) {\r\n switch_to_data_value($input)\r\n }\r\n },\r\n }\r\n actions[format]()\r\n}\r\n","module.exports = function($input) {\r\n var replacementVal = $input.dataset.value\r\n $input.value = replacementVal\r\n}\r\n","var set_time = require('../setters/set_time')\r\n\r\nmodule.exports = function update_time($input) {\r\n set_time($input, $input.value)\r\n return $input\r\n}\r\n","var all_number_keys = [\r\n // 0, 1, 2, 3, 4, 5, 6, 7, 8, 9\r\n 48, 49, 50, 51, 52, 53, 54, 55, 56, 57,\r\n 96, 97, 98, 99,100,101,102,103,104,105\r\n];\r\n\r\nmodule.exports = all_number_keys;\r\n","var named_keys = {\r\n ArrowDown: 40,\r\n ArrowRight: 39,\r\n ArrowUp: 38,\r\n ArrowLeft: 37,\r\n Backspace: 8,\r\n Delete: 46,\r\n Tab: 9,\r\n Shift: 16,\r\n Escape: 27,\r\n a: 65,\r\n p: 80,\r\n}\r\n\r\nmodule.exports = named_keys\r\n","var ranges = {\r\n hrs: { start: 0, end: 2 },\r\n min: { start: 3, end: 5 },\r\n mode: { start: 6, end: 8 },\r\n}\r\n\r\nmodule.exports = ranges\r\n","var ranges = require('./ranges')\r\n\r\nvar segments = Object.keys(ranges)\r\n\r\nmodule.exports = segments\r\n","var all_number_keys = require('./all_number_keys')\r\n\r\nvar sorted_number_keys = {}\r\n// sorted_number_keys = { 48: 0, 49: 1, 96: 0, 97: 1, ... };\r\nall_number_keys.forEach(function(key, index) {\r\n var number_val = index > 9 ? index - 10 : index\r\n sorted_number_keys[key] = number_val\r\n})\r\n\r\nmodule.exports = sorted_number_keys\r\n"],"sourceRoot":"/source/"}
\ No newline at end of file
diff --git a/docs/index.html b/docs/index.html
index 6d7ca15..d043f7b 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -16,7 +16,7 @@
-
+
@@ -24,7 +24,7 @@
-
+
@@ -44,7 +44,7 @@
Time Input Polyfill
-
v1.0.7
+
v1.0.9
Fork me on GitHub
The demos on this page have been applied manually in order to demonstrate the difference between a real time input and a polyfill time input in modern browsers.
@@ -83,8 +83,8 @@
Download via npm:
View documentation:
diff --git a/docs/scripts/main.js b/docs/scripts/main.js
index 70a19f7..f995b4d 100644
--- a/docs/scripts/main.js
+++ b/docs/scripts/main.js
@@ -1,2 +1,2 @@
-!function(){function e(t,n,r){function s(a,i){if(!n[a]){if(!t[a]){var c="function"==typeof require&&require;if(!i&&c)return c(a,!0);if(o)return o(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var l=n[a]={exports:{}};t[a][0].call(l.exports,function(e){var n=t[a][1][e];return s(n||e)},l,l.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a
"+l.join("")+"
";v=v.replace(/\$label/g,e.polyfill.label),v=v.replace(/\$segmentName/g,c),v=v.replace(/\$segmentValue/g,i),v=v.replace(/\$fullValue/g,_),e.polyfill.$a11y.innerHTML=v},1)}},{"../getters/get_current_segment":15,"../getters/get_values":18}],3:[function(e,t,n){t.exports=function(e){return e<=12?0===e?12:e:e-12}},{}],4:[function(e,t,n){t.exports=function(e){return isNaN(e)?e:parseInt(e)}},{}],5:[function(e,t,n){var r=e("./convert_number"),s=e("./convert_hours_to_12hr_time"),o=e("./leading_zero");t.exports=function(e){if(""===e)return"--:-- --";var t=/([0-9]{2})\:([0-9]{2})/,n=t.exec(e),a=r(n[1]),i=n[2],c=s(a),u=a>12,l=u?"PM":"AM";return[o(c),":",i," ",l].join("")}},{"./convert_hours_to_12hr_time":3,"./convert_number":4,"./leading_zero":7}],6:[function(e,t,n){var r=e("./leading_zero");t.exports=function(e){if(/-/.test(e))return"";var t,n=e.indexOf("PM")>-1,s=/^([0-9]{2})/.exec(e),o=s?parseInt(s[1]):"";t=12===o?n?12:0:n?o+12:o;var a=24===t?0:t,i=/^[0-9]{2}:([0-9]{2}) (AM|PM)/;return e.replace(i,r(a)+":$1")}},{"./leading_zero":7}],7:[function(e,t,n){t.exports=function(e){if(isNaN(e))return e;var t=parseInt(e);return t<10?"0"+t:e}},{}],8:[function(e,t,n){t.exports=function(e){return Array.prototype.slice.call(e,0)}},{}],9:[function(e,t,n){function r(e){e.polyfill.autoSwap&&(d(e,24),setTimeout(function(){d(e,12)},1))}var s=e("../helpers/values"),o=e("../selectors/select_segment"),a=e("../selectors/next_segment"),i=e("../selectors/prev_segment"),c=e("../selectors/select_cursor_segment"),u=e("../getters/get_current_segment"),l=e("../setters/reset"),_=e("../setters/manual_number_entry"),v=e("../setters/clear_segment"),f=e("../setters/increment_current_segment"),g=e("../setters/decrement_current_segment"),m=e("../setters/set_mode"),d=e("../setters/switch_times"),p=e("../events/handle_tab"),h=e("../static-values/all_number_keys"),b=e("../static-values/named_keys"),y=e("../accessibility/update_a11y");t.exports=function(e){var t="",n=!1;document.addEventListener("keydown",function(e){n=e.shiftKey}),document.addEventListener("keyup",function(e){n=e.shiftKey}),e.form&&e.form.addEventListener("submit",function(){r(e)});var d=!1;e.addEventListener("mousedown",function(){d=!0}),e.addEventListener("mouseup",function(){setTimeout(function(){""===e.value&&l(e)},1)}),e.addEventListener("click",function(t){c(e)}),e.addEventListener("blur",function(){var n=e.dataset.value;n!==t&&(t=n),d=!1}),e.addEventListener("focus",function(t){if(!d){t.preventDefault();var r=n?"mode":"hrs";o(e,r)}y(e,["initial","select"])}),e.addEventListener("keydown",function(t){var n=13===t.which;if(n)return!0;var r=h.indexOf(t.which)>-1,o=s(b).indexOf(t.which)>-1,c=[b.ArrowDown,b.ArrowRight,b.ArrowUp,b.ArrowLeft].indexOf(t.which)>-1,d=[b.a,b.p].indexOf(t.which)>-1,y=[b.Delete,b.Backspace].indexOf(t.which)>-1;if((!o||c||r||d||y)&&t.preventDefault(),r&&_(e,t.which),y){var x=u(e);v(e,x)}switch(t.which){case b.ArrowRight:a(e);break;case b.ArrowLeft:i(e);break;case b.ArrowUp:f(e);break;case b.ArrowDown:g(e);break;case b.Escape:l(e);break;case b.a:m(e,"AM");break;case b.p:m(e,"PM");break;case b.Tab:p(e,t)}})}},{"../accessibility/update_a11y":2,"../events/handle_tab":11,"../getters/get_current_segment":15,"../helpers/values":20,"../selectors/next_segment":22,"../selectors/prev_segment":23,"../selectors/select_cursor_segment":24,"../selectors/select_segment":25,"../setters/clear_segment":28,"../setters/decrement_current_segment":30,"../setters/increment_current_segment":32,"../setters/manual_number_entry":33,"../setters/reset":35,"../setters/set_mode":37,"../setters/switch_times":41,"../static-values/all_number_keys":44,"../static-values/named_keys":45}],10:[function(e,t,n){t.exports=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!0),t}},{}],11:[function(e,t,n){var r=e("../getters/get_current_segment"),s=e("../selectors/prev_segment"),o=e("../selectors/next_segment");t.exports=function(e,t){var n=r(e),a=t.shiftKey&&"hrs"===n,i=!t.shiftKey&&"mode"===n;a||i||(t.preventDefault(),t.shiftKey?s(e):o(e))}},{"../getters/get_current_segment":15,"../selectors/next_segment":22,"../selectors/prev_segment":23}],12:[function(e,t,n){var r=e("./trigger_event");t.exports=function(e){r(e,"input"),r(e,"change")}},{"./trigger_event":13}],13:[function(e,t,n){function r(e){return!/--/.test(e.value)}var s=e("./create_event"),o=s("input"),a=s("change");t.exports=function(e,t){var n={input:o,change:a}[t];r(e)&&e.dispatchEvent(n)}},{"./create_event":10}],14:[function(e,t,n){t.exports=function(e,t){for(var n=e,r=[];n;){r.push(n);var s=n.msMatchesSelector?n.msMatchesSelector(t):n.matches(t);if(s)return r;n=n.parentElement}return r}},{}],15:[function(e,t,n){var r=e("../static-values/ranges"),s=e("./get_selected_range");t.exports=function(e){var t=s(e);for(var n in r){var o=r[n],a=o.start<=t.start,i=o.end>=t.end;if(a&&i)return n}return"hrs"}},{"../static-values/ranges":46,"./get_selected_range":17}],16:[function(e,t,n){function r(e){var t=e.getAttribute("aria-labelledby");if(t){var n=document.getElementById(t);if(n)return n.textContent}return!1}function s(e){var t=e.getAttribute("aria-label");return!!t&&t}function o(e){if(e.id){var t=document.querySelector('label[for="'+e.id+'"]');if(t)return t.textContent}return!1}function a(e){var t=c(e,"label"),n=t[t.length-1];return"LABEL"==n.nodeName&&n.textContent}function i(e){var t=e.getAttribute("title");return!!t&&t}var c=e("./get_ancestors");t.exports=function(e){var t=r(e)||s(e)||o(e)||a(e)||i(e);if(t)return t;throw console.error("Label text for input not found.",e),new Error("Cannot polyfill time input due to a missing label.")}},{"./get_ancestors":14}],17:[function(e,t,n){t.exports=function(e){return{start:e.selectionStart,end:e.selectionEnd}}},{}],18:[function(e,t,n){var r=e("../converters/convert_number");t.exports=function(e,t){var n=t?t:e.value,s=/([0-9-]{1,2})\:([0-9-]{1,2})\s?(AM|PM|\-\-)?/,o=s.exec(n);return{hrs:r(o[1]),min:r(o[2]),mode:o[3]}}},{"../converters/convert_number":4}],19:[function(e,t,n){function r(){a=[]}function s(e){a.push(e)}function o(){return a}var a=[];t.exports={items:o,clear:r,add:s}},{}],20:[function(e,t,n){t.exports=function(e){var t=[];for(var n in e)t.push(e[n]);return t}},{}],21:[function(e,t,n){var r=e("../converters/toArray");t.exports=function(e){var t=document.querySelectorAll(e);return r(t)}},{"../converters/toArray":8}],22:[function(e,t,n){var r=e("./traverse");t.exports=function(e){r(e,"next")}},{"./traverse":26}],23:[function(e,t,n){var r=e("./traverse");t.exports=function(e){r(e,"prev")}},{"./traverse":26}],24:[function(e,t,n){var r=e("../getters/get_current_segment"),s=e("./select_segment");t.exports=function(e){var t=r(e);s(e,t)}},{"../getters/get_current_segment":15,"./select_segment":25}],25:[function(e,t,n){t.exports=function(e,t){function n(){var n="mode"===t?"text":"tel";e.setAttribute("type",n)}function r(t,n){return function(){e.setSelectionRange(t,n)}}n();var s={hrs:r(0,2),min:r(3,5),mode:r(6,8)};s[t](e)}},{}],26:[function(e,t,n){var r=e("../getters/get_current_segment"),s=e("../selectors/select_segment"),o=e("../helpers/manual_entry_log"),a=e("../static-values/segments"),i=e("../accessibility/update_a11y");t.exports=function(e,t){var n=r(e),c="next"===t?1:-1,u=a.indexOf(n)+c,l={next:a[u]||"mode",prev:u<0?"hrs":a[u]}[t];s(e,l),o.clear(),i(e,["select"])}},{"../accessibility/update_a11y":2,"../getters/get_current_segment":15,"../helpers/manual_entry_log":19,"../selectors/select_segment":25,"../static-values/segments":47}],27:[function(e,t,n){var r=e("../setters/set_data_attribute"),s=e("../events/trigger_both_events");t.exports=function(e){e.value="--:-- --",r(e,""),s(e)}},{"../events/trigger_both_events":12,"../setters/set_data_attribute":36}],28:[function(e,t,n){var r=e("./set_segment"),s=e("../accessibility/update_a11y");t.exports=function(e,t){r(e,t,"--"),s(e,["update"])}},{"../accessibility/update_a11y":2,"./set_segment":38}],29:[function(e,t,n){var r=e("./switch_mode"),s=e("./nudge_time_segment"),o=e("../accessibility/update_a11y");t.exports=function(e,t){"mode"===t?r(e,"PM"):s(e,t,"down"),o(e,["update"])}},{"../accessibility/update_a11y":2,"./nudge_time_segment":34,"./switch_mode":40}],30:[function(e,t,n){var r=e("../getters/get_current_segment"),s=e("../setters/decrement");t.exports=function(e){var t=r(e);s(e,t)}},{"../getters/get_current_segment":15,"../setters/decrement":29}],31:[function(e,t,n){var r=e("./switch_mode"),s=e("./nudge_time_segment"),o=e("../accessibility/update_a11y");t.exports=function(e,t){"mode"===t?r(e,"AM"):s(e,t,"up"),o(e,["update"])}},{"../accessibility/update_a11y":2,"./nudge_time_segment":34,"./switch_mode":40}],32:[function(e,t,n){var r=e("../getters/get_current_segment"),s=e("../setters/increment");t.exports=function(e){var t=r(e);s(e,t)}},{"../getters/get_current_segment":15,"../setters/increment":31}],33:[function(e,t,n){var r=e("../getters/get_current_segment"),s=e("./set_segment"),o=e("../selectors/next_segment"),a=e("../helpers/manual_entry_log"),i=e("../static-values/sorted_number_keys");t.exports=function(e,t){var n=i[t],c=r(e);if("mode"!==c){var u=a.items().length,l={hrs:[1,2],min:[5,9]},_=l[c][u];u<2&&a.add(n);var v=parseInt(l[c].join("")),f=parseInt(a.items().join(""));v>=f&&s(e,c,f);var g=n>_||2===a.items().length;g&&o(e)}}},{"../getters/get_current_segment":15,"../helpers/manual_entry_log":19,"../selectors/next_segment":22,"../static-values/sorted_number_keys":48,"./set_segment":38}],34:[function(e,t,n){var r=e("../getters/get_values"),s=e("../converters/convert_hours_to_12hr_time"),o=e("../converters/leading_zero"),a=e("./set_segment");t.exports=function(e,t,n){var i,c=r(e),u="up"===n?1:-1;if("--"===c[t]){var l=new Date;i={hrs:s(l.getHours()),min:l.getMinutes()}}else{var _={up:c.min<59?c.min+u:0,down:0===c.min?59:c.min+u};i={hrs:s(c.hrs+u),min:_[n]}}a(e,t,o(i[t]))}},{"../converters/convert_hours_to_12hr_time":3,"../converters/leading_zero":7,"../getters/get_values":18,"./set_segment":38}],35:[function(e,t,n){var r=e("./apply_default"),s=e("../selectors/select_segment");t.exports=function(e){r(e),s(e,"hrs")}},{"../selectors/select_segment":25,"./apply_default":27}],36:[function(e,t,n){var r=e("../converters/convert_to_24hr_time");t.exports=function(e,t){var n=t.indexOf("-")>-1?"":t,s=r(n);e.setAttribute("data-value",s)}},{"../converters/convert_to_24hr_time":6}],37:[function(e,t,n){var r=e("../getters/get_current_segment"),s=e("./set_segment");t.exports=function(e,t){var n=r(e);"mode"===n&&s(e,n,t)}},{"../getters/get_current_segment":15,"./set_segment":38}],38:[function(e,t,n){var r=e("../getters/get_values"),s=e("../converters/leading_zero"),o=e("../selectors/select_segment"),a=e("./set_data_attribute"),i=e("../events/trigger_both_events");t.exports=function(e,t,n){var c=r(e);c[t]=n;var u=[s(c.hrs),":",s(c.min)," ",c.mode].join("");e.value=u,o(e,t),a(e,u),i(e)}},{"../converters/leading_zero":7,"../events/trigger_both_events":12,"../getters/get_values":18,"../selectors/select_segment":25,"./set_data_attribute":36}],39:[function(e,t,n){var r=e("../converters/convert_to_12hr_time"),s=e("../setters/set_data_attribute");t.exports=function(e,t){var n=r(t);e.value=n,s(e,t)}},{"../converters/convert_to_12hr_time":5,"../setters/set_data_attribute":36}],40:[function(e,t,n){var r=e("../getters/get_values"),s=e("./set_segment");t.exports=function(e,t){t=t||"AM";var n=r(e).mode,o={"--":t,AM:"PM",PM:"AM"}[n];s(e,"mode",o)}},{"../getters/get_values":18,"./set_segment":38}],41:[function(e,t,n){var r=e("./switch_to_data_value"),s=e("./set_time");t.exports=function(e,t){var n=/\s/.test(e.value);12!=t&&24!=t&&(t=n?24:12);var o={12:function(){n||s(e,e.dataset.value)},24:function(){n&&r(e)}};o[t]()}},{"./set_time":39,"./switch_to_data_value":42}],42:[function(e,t,n){t.exports=function(e){var t=e.dataset.value;e.value=t}},{}],43:[function(e,t,n){var r=e("../setters/set_time");t.exports=function(e){return r(e,e.value),e}},{"../setters/set_time":39}],44:[function(e,t,n){var r=[48,49,50,51,52,53,54,55,56,57,96,97,98,99,100,101,102,103,104,105];t.exports=r},{}],45:[function(e,t,n){var r={ArrowDown:40,ArrowRight:39,ArrowUp:38,ArrowLeft:37,Backspace:8,Delete:46,Tab:9,Shift:16,Escape:27,a:65,p:80};t.exports=r},{}],46:[function(e,t,n){var r={hrs:{start:0,end:2},min:{start:3,end:5},mode:{start:6,end:8}};t.exports=r},{}],47:[function(e,t,n){var r=e("./ranges"),s=Object.keys(r);t.exports=s},{"./ranges":46}],48:[function(e,t,n){var r=e("./all_number_keys"),s={};r.forEach(function(e,t){var n=t>9?t-10:t;s[e]=n}),t.exports=s},{"./all_number_keys":44}],49:[function(e,t,n){function r(e){e.setAttribute("autocomplete","off"),e.setAttribute("aria-hidden",!0),v||(s=_(),v=!0);var t=l(e);e.polyfill={$a11y:s,label:t,autoSwap:!0,update:function(){a(e)},swap:function(t){u(e,t)}},""===e.value||/--/.test(e.value)?(o(e),i(e,"")):(a(e),i(e,e.value)),c(e)}var s,o=e("./core/setters/apply_default"),a=e("./core/setters/update_time"),i=e("./core/setters/set_data_attribute"),c=e("./core/events/bind_events"),u=e("./core/setters/switch_times"),l=e("./core/getters/get_label"),_=e("./core/accessibility/create_a11y_block"),v=!1;window&&(window.TimePolyfill=r),t&&(t.exports=r)},{"./core/accessibility/create_a11y_block":1,"./core/events/bind_events":9,"./core/getters/get_label":16,"./core/setters/apply_default":27,"./core/setters/set_data_attribute":36,"./core/setters/switch_times":41,"./core/setters/update_time":43}],50:[function(e,t,n){t.exports=function(e,t){var n=e.querySelector(".result__list"),r=e.querySelector(".result__close"),s="";for(var o in t){var a=t[o].replace(/^$/,'blank ');s+=['','
',o," ",'"',a,'" ',""].join("")}n.innerHTML=s,e.classList.add("-visible"),r.onclick=function(){e.classList.remove("-visible")}}},{}],51:[function(e,t,n){t.exports=function(e,t){if("undefined"!=typeof gtag)t?gtag("event",e,{event_category:t[0],event_label:t[1],value:t[2]}):gtag("event",e);else{t={};var n={action:e,event_category:t.category||"general",event_label:t.label||"(not set)",value:t.value};console.log("GA event =",n,"* = required")}}},{}],52:[function(e,t,n){"use strict";var r=e("../../index"),s=e("../../core/selectors/_$$"),o=e("../../core/converters/toArray"),a=e("../_modules/result/result"),i=e("./_helpers/gtag");document.addEventListener("DOMContentLoaded",function(){var e=s("input.time");e.forEach(function(e){new r(e),e.oninput=function(){console.log("input",e.dataset.value)},e.onchange=function(){console.log("change",e.dataset.value)},e.addEventListener("change",function(){console.log("listener change")}),e.addEventListener("input",function(){console.log("listener input")})}),document.querySelector("form").onsubmit=function(e){function t(e){var t=[];return o(e.children).forEach(function(e){var n=e.querySelector("label");n&&t.push(n.textContent)}),t}function n(e,t){var n={};return o(e.elements).forEach(function(e,r){"INPUT"===e.nodeName&&(n[t[r]]=e.value)}),n}e.preventDefault();var r=t(this),s=n(this,r),c=document.querySelector(".result");i("form submit"),a(c,s),c.focus()}})},{"../../core/converters/toArray":8,"../../core/selectors/_$$":21,"../../index":49,"../_modules/result/result":50,"./_helpers/gtag":51}]},{},[52]);
+!function(){function e(t,n,r){function s(a,i){if(!n[a]){if(!t[a]){var c="function"==typeof require&&require;if(!i&&c)return c(a,!0);if(o)return o(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var l=n[a]={exports:{}};t[a][0].call(l.exports,function(e){var n=t[a][1][e];return s(n||e)},l,l.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a"+l.join("")+"
";v=v.replace(/\$label/g,e.polyfill.label),v=v.replace(/\$segmentName/g,c),v=v.replace(/\$segmentValue/g,i),v=v.replace(/\$fullValue/g,_),e.polyfill.$a11y.innerHTML=v},1)}},{"../getters/get_current_segment":15,"../getters/get_values":18}],3:[function(e,t,n){t.exports=function(e){return e<=12?0===e?12:e:e-12}},{}],4:[function(e,t,n){t.exports=function(e){return isNaN(e)?e:parseInt(e)}},{}],5:[function(e,t,n){var r=e("./convert_number"),s=e("./convert_hours_to_12hr_time"),o=e("./leading_zero");t.exports=function(e){if(""===e)return"--:-- --";var t=/([0-9]{2})\:([0-9]{2})/,n=t.exec(e),a=r(n[1]),i=n[2],c=s(a),u=a>=12,l=u?"PM":"AM";return[o(c),":",i," ",l].join("")}},{"./convert_hours_to_12hr_time":3,"./convert_number":4,"./leading_zero":7}],6:[function(e,t,n){var r=e("./leading_zero");t.exports=function(e){if(/-/.test(e))return"";var t,n=e.indexOf("PM")>-1,s=/^([0-9]{2})/.exec(e),o=s?parseInt(s[1]):"";t=12===o?n?12:0:n?o+12:o;var a=24===t?0:t,i=/^[0-9]{2}:([0-9]{2}) (AM|PM)/;return e.replace(i,r(a)+":$1")}},{"./leading_zero":7}],7:[function(e,t,n){t.exports=function(e){if(isNaN(e))return e;var t=parseInt(e);return t<10?"0"+t:e}},{}],8:[function(e,t,n){t.exports=function(e){return Array.prototype.slice.call(e,0)}},{}],9:[function(e,t,n){function r(e){e.polyfill.autoSwap&&(d(e,24),setTimeout(function(){d(e,12)},1))}var s=e("../helpers/values"),o=e("../selectors/select_segment"),a=e("../selectors/next_segment"),i=e("../selectors/prev_segment"),c=e("../selectors/select_cursor_segment"),u=e("../getters/get_current_segment"),l=e("../setters/reset"),_=e("../setters/manual_number_entry"),v=e("../setters/clear_segment"),f=e("../setters/increment_current_segment"),g=e("../setters/decrement_current_segment"),m=e("../setters/set_mode"),d=e("../setters/switch_times"),p=e("../events/handle_tab"),h=e("../static-values/all_number_keys"),b=e("../static-values/named_keys"),y=e("../accessibility/update_a11y");t.exports=function(e){var t="",n=!1;document.addEventListener("keydown",function(e){n=e.shiftKey}),document.addEventListener("keyup",function(e){n=e.shiftKey}),e.form&&e.form.addEventListener("submit",function(){r(e)});var d=!1;e.addEventListener("mousedown",function(){d=!0}),e.addEventListener("mouseup",function(){setTimeout(function(){""===e.value&&l(e)},1)}),e.addEventListener("click",function(t){c(e)}),e.addEventListener("blur",function(){var n=e.dataset.value;n!==t&&(t=n),d=!1}),e.addEventListener("focus",function(t){if(!d){t.preventDefault();var r=n?"mode":"hrs";o(e,r)}y(e,["initial","select"])}),e.addEventListener("keydown",function(t){var n=13===t.which;if(n)return!0;var r=h.indexOf(t.which)>-1,o=s(b).indexOf(t.which)>-1,c=[b.ArrowDown,b.ArrowRight,b.ArrowUp,b.ArrowLeft].indexOf(t.which)>-1,d=[b.a,b.p].indexOf(t.which)>-1,y=[b.Delete,b.Backspace].indexOf(t.which)>-1;if((!o||c||r||d||y)&&t.preventDefault(),r&&_(e,t.which),y){var x=u(e);v(e,x)}switch(t.which){case b.ArrowRight:a(e);break;case b.ArrowLeft:i(e);break;case b.ArrowUp:f(e);break;case b.ArrowDown:g(e);break;case b.Escape:l(e);break;case b.a:m(e,"AM");break;case b.p:m(e,"PM");break;case b.Tab:p(e,t)}})}},{"../accessibility/update_a11y":2,"../events/handle_tab":11,"../getters/get_current_segment":15,"../helpers/values":20,"../selectors/next_segment":22,"../selectors/prev_segment":23,"../selectors/select_cursor_segment":24,"../selectors/select_segment":25,"../setters/clear_segment":28,"../setters/decrement_current_segment":30,"../setters/increment_current_segment":32,"../setters/manual_number_entry":33,"../setters/reset":35,"../setters/set_mode":37,"../setters/switch_times":41,"../static-values/all_number_keys":44,"../static-values/named_keys":45}],10:[function(e,t,n){t.exports=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!0),t}},{}],11:[function(e,t,n){var r=e("../getters/get_current_segment"),s=e("../selectors/prev_segment"),o=e("../selectors/next_segment");t.exports=function(e,t){var n=r(e),a=t.shiftKey&&"hrs"===n,i=!t.shiftKey&&"mode"===n;a||i||(t.preventDefault(),t.shiftKey?s(e):o(e))}},{"../getters/get_current_segment":15,"../selectors/next_segment":22,"../selectors/prev_segment":23}],12:[function(e,t,n){var r=e("./trigger_event");t.exports=function(e){r(e,"input"),r(e,"change")}},{"./trigger_event":13}],13:[function(e,t,n){function r(e){return!/--/.test(e.value)}var s=e("./create_event"),o=s("input"),a=s("change");t.exports=function(e,t){var n={input:o,change:a}[t];r(e)&&e.dispatchEvent(n)}},{"./create_event":10}],14:[function(e,t,n){t.exports=function(e,t){for(var n=e,r=[];n;){r.push(n);var s=n.msMatchesSelector?n.msMatchesSelector(t):n.matches(t);if(s)return r;n=n.parentElement}return r}},{}],15:[function(e,t,n){var r=e("../static-values/ranges"),s=e("./get_selected_range");t.exports=function(e){var t=s(e);for(var n in r){var o=r[n],a=o.start<=t.start,i=o.end>=t.end;if(a&&i)return n}return"hrs"}},{"../static-values/ranges":46,"./get_selected_range":17}],16:[function(e,t,n){function r(e){var t=e.getAttribute("aria-labelledby");if(t){var n=document.getElementById(t);if(n)return n.textContent}return!1}function s(e){var t=e.getAttribute("aria-label");return!!t&&t}function o(e){if(e.id){var t=document.querySelector('label[for="'+e.id+'"]');if(t)return t.textContent}return!1}function a(e){var t=c(e,"label"),n=t[t.length-1];return"LABEL"==n.nodeName&&n.textContent}function i(e){var t=e.getAttribute("title");return!!t&&t}var c=e("./get_ancestors");t.exports=function(e){var t=r(e)||s(e)||o(e)||a(e)||i(e);if(t)return t;throw console.error("Label text for input not found.",e),new Error("Cannot polyfill time input due to a missing label.")}},{"./get_ancestors":14}],17:[function(e,t,n){t.exports=function(e){return{start:e.selectionStart,end:e.selectionEnd}}},{}],18:[function(e,t,n){var r=e("../converters/convert_number");t.exports=function(e,t){var n=t?t:e.value,s=/([0-9-]{1,2})\:([0-9-]{1,2})\s?(AM|PM|\-\-)?/,o=s.exec(n);return{hrs:r(o[1]),min:r(o[2]),mode:o[3]}}},{"../converters/convert_number":4}],19:[function(e,t,n){function r(){a=[]}function s(e){a.push(e)}function o(){return a}var a=[];t.exports={items:o,clear:r,add:s}},{}],20:[function(e,t,n){t.exports=function(e){var t=[];for(var n in e)t.push(e[n]);return t}},{}],21:[function(e,t,n){var r=e("../converters/toArray");t.exports=function(e){var t=document.querySelectorAll(e);return r(t)}},{"../converters/toArray":8}],22:[function(e,t,n){var r=e("./traverse");t.exports=function(e){r(e,"next")}},{"./traverse":26}],23:[function(e,t,n){var r=e("./traverse");t.exports=function(e){r(e,"prev")}},{"./traverse":26}],24:[function(e,t,n){var r=e("../getters/get_current_segment"),s=e("./select_segment");t.exports=function(e){var t=r(e);s(e,t)}},{"../getters/get_current_segment":15,"./select_segment":25}],25:[function(e,t,n){t.exports=function(e,t){function n(){var n="mode"===t?"text":"tel";e.setAttribute("type",n)}function r(t,n){return function(){e.setSelectionRange(t,n)}}n();var s={hrs:r(0,2),min:r(3,5),mode:r(6,8)};s[t](e)}},{}],26:[function(e,t,n){var r=e("../getters/get_current_segment"),s=e("../selectors/select_segment"),o=e("../helpers/manual_entry_log"),a=e("../static-values/segments"),i=e("../accessibility/update_a11y");t.exports=function(e,t){var n=r(e),c="next"===t?1:-1,u=a.indexOf(n)+c,l={next:a[u]||"mode",prev:u<0?"hrs":a[u]}[t];s(e,l),o.clear(),i(e,["select"])}},{"../accessibility/update_a11y":2,"../getters/get_current_segment":15,"../helpers/manual_entry_log":19,"../selectors/select_segment":25,"../static-values/segments":47}],27:[function(e,t,n){var r=e("../setters/set_data_attribute"),s=e("../events/trigger_both_events");t.exports=function(e){e.value="--:-- --",r(e,""),s(e)}},{"../events/trigger_both_events":12,"../setters/set_data_attribute":36}],28:[function(e,t,n){var r=e("./set_segment"),s=e("../accessibility/update_a11y");t.exports=function(e,t){r(e,t,"--"),s(e,["update"])}},{"../accessibility/update_a11y":2,"./set_segment":38}],29:[function(e,t,n){var r=e("./switch_mode"),s=e("./nudge_time_segment"),o=e("../accessibility/update_a11y");t.exports=function(e,t){"mode"===t?r(e,"PM"):s(e,t,"down"),o(e,["update"])}},{"../accessibility/update_a11y":2,"./nudge_time_segment":34,"./switch_mode":40}],30:[function(e,t,n){var r=e("../getters/get_current_segment"),s=e("../setters/decrement");t.exports=function(e){var t=r(e);s(e,t)}},{"../getters/get_current_segment":15,"../setters/decrement":29}],31:[function(e,t,n){var r=e("./switch_mode"),s=e("./nudge_time_segment"),o=e("../accessibility/update_a11y");t.exports=function(e,t){"mode"===t?r(e,"AM"):s(e,t,"up"),o(e,["update"])}},{"../accessibility/update_a11y":2,"./nudge_time_segment":34,"./switch_mode":40}],32:[function(e,t,n){var r=e("../getters/get_current_segment"),s=e("../setters/increment");t.exports=function(e){var t=r(e);s(e,t)}},{"../getters/get_current_segment":15,"../setters/increment":31}],33:[function(e,t,n){var r=e("../getters/get_current_segment"),s=e("./set_segment"),o=e("../selectors/next_segment"),a=e("../helpers/manual_entry_log"),i=e("../static-values/sorted_number_keys");t.exports=function(e,t){var n=i[t],c=r(e);if("mode"!==c){var u=a.items().length,l={hrs:[1,2],min:[5,9]},_=l[c][u];u<2&&a.add(n);var v=parseInt(l[c].join("")),f=parseInt(a.items().join(""));v>=f&&s(e,c,f);var g=n>_||2===a.items().length;g&&o(e)}}},{"../getters/get_current_segment":15,"../helpers/manual_entry_log":19,"../selectors/next_segment":22,"../static-values/sorted_number_keys":48,"./set_segment":38}],34:[function(e,t,n){var r=e("../getters/get_values"),s=e("../converters/convert_hours_to_12hr_time"),o=e("../converters/leading_zero"),a=e("./set_segment");t.exports=function(e,t,n){var i,c=r(e),u="up"===n?1:-1;if("--"===c[t]){var l=new Date;i={hrs:s(l.getHours()),min:l.getMinutes()}}else{var _={up:c.min<59?c.min+u:0,down:0===c.min?59:c.min+u};i={hrs:s(c.hrs+u),min:_[n]}}a(e,t,o(i[t]))}},{"../converters/convert_hours_to_12hr_time":3,"../converters/leading_zero":7,"../getters/get_values":18,"./set_segment":38}],35:[function(e,t,n){var r=e("./apply_default"),s=e("../selectors/select_segment");t.exports=function(e){r(e),s(e,"hrs")}},{"../selectors/select_segment":25,"./apply_default":27}],36:[function(e,t,n){var r=e("../converters/convert_to_24hr_time");t.exports=function(e,t){var n=t.indexOf("-")>-1?"":t,s=r(n);e.setAttribute("data-value",s)}},{"../converters/convert_to_24hr_time":6}],37:[function(e,t,n){var r=e("../getters/get_current_segment"),s=e("./set_segment");t.exports=function(e,t){var n=r(e);"mode"===n&&s(e,n,t)}},{"../getters/get_current_segment":15,"./set_segment":38}],38:[function(e,t,n){var r=e("../getters/get_values"),s=e("../converters/leading_zero"),o=e("../selectors/select_segment"),a=e("./set_data_attribute"),i=e("../events/trigger_both_events");t.exports=function(e,t,n){var c=r(e);c[t]=n;var u=[s(c.hrs),":",s(c.min)," ",c.mode].join("");e.value=u,o(e,t),a(e,u),i(e)}},{"../converters/leading_zero":7,"../events/trigger_both_events":12,"../getters/get_values":18,"../selectors/select_segment":25,"./set_data_attribute":36}],39:[function(e,t,n){var r=e("../converters/convert_to_12hr_time"),s=e("../setters/set_data_attribute");t.exports=function(e,t){var n=r(t);e.value=n,s(e,t)}},{"../converters/convert_to_12hr_time":5,"../setters/set_data_attribute":36}],40:[function(e,t,n){var r=e("../getters/get_values"),s=e("./set_segment");t.exports=function(e,t){t=t||"AM";var n=r(e).mode,o={"--":t,AM:"PM",PM:"AM"}[n];s(e,"mode",o)}},{"../getters/get_values":18,"./set_segment":38}],41:[function(e,t,n){var r=e("./switch_to_data_value"),s=e("./set_time");t.exports=function(e,t){var n=/\s/.test(e.value);12!=t&&24!=t&&(t=n?24:12);var o={12:function(){n||s(e,e.dataset.value)},24:function(){n&&r(e)}};o[t]()}},{"./set_time":39,"./switch_to_data_value":42}],42:[function(e,t,n){t.exports=function(e){var t=e.dataset.value;e.value=t}},{}],43:[function(e,t,n){var r=e("../setters/set_time");t.exports=function(e){return r(e,e.value),e}},{"../setters/set_time":39}],44:[function(e,t,n){var r=[48,49,50,51,52,53,54,55,56,57,96,97,98,99,100,101,102,103,104,105];t.exports=r},{}],45:[function(e,t,n){var r={ArrowDown:40,ArrowRight:39,ArrowUp:38,ArrowLeft:37,Backspace:8,Delete:46,Tab:9,Shift:16,Escape:27,a:65,p:80};t.exports=r},{}],46:[function(e,t,n){var r={hrs:{start:0,end:2},min:{start:3,end:5},mode:{start:6,end:8}};t.exports=r},{}],47:[function(e,t,n){var r=e("./ranges"),s=Object.keys(r);t.exports=s},{"./ranges":46}],48:[function(e,t,n){var r=e("./all_number_keys"),s={};r.forEach(function(e,t){var n=t>9?t-10:t;s[e]=n}),t.exports=s},{"./all_number_keys":44}],49:[function(e,t,n){function r(e){e.setAttribute("autocomplete","off"),e.setAttribute("aria-hidden",!0),v||(s=_(),v=!0);var t=l(e);e.polyfill={$a11y:s,label:t,autoSwap:!0,update:function(){a(e)},swap:function(t){u(e,t)}},""===e.value||/--/.test(e.value)?(o(e),i(e,"")):(a(e),i(e,e.value)),c(e)}var s,o=e("./core/setters/apply_default"),a=e("./core/setters/update_time"),i=e("./core/setters/set_data_attribute"),c=e("./core/events/bind_events"),u=e("./core/setters/switch_times"),l=e("./core/getters/get_label"),_=e("./core/accessibility/create_a11y_block"),v=!1;window&&(window.TimePolyfill=r),t&&(t.exports=r)},{"./core/accessibility/create_a11y_block":1,"./core/events/bind_events":9,"./core/getters/get_label":16,"./core/setters/apply_default":27,"./core/setters/set_data_attribute":36,"./core/setters/switch_times":41,"./core/setters/update_time":43}],50:[function(e,t,n){t.exports=function(e,t){var n=e.querySelector(".result__list"),r=e.querySelector(".result__close"),s="";for(var o in t){var a=t[o].replace(/^$/,'blank ');s+=['','
',o," ",'"',a,'" ',""].join("")}n.innerHTML=s,e.classList.add("-visible"),r.onclick=function(){e.classList.remove("-visible")}}},{}],51:[function(e,t,n){t.exports=function(e,t){if("undefined"!=typeof gtag)t?gtag("event",e,{event_category:t[0],event_label:t[1],value:t[2]}):gtag("event",e);else{t={};var n={action:e,event_category:t.category||"general",event_label:t.label||"(not set)",value:t.value};console.log("GA event =",n,"* = required")}}},{}],52:[function(e,t,n){"use strict";var r=e("../../index"),s=e("../../core/selectors/_$$"),o=e("../../core/converters/toArray"),a=e("../_modules/result/result"),i=e("./_helpers/gtag");document.addEventListener("DOMContentLoaded",function(){var e=s("input.time");e.forEach(function(e){new r(e),e.oninput=function(){console.log("input",e.dataset.value)},e.onchange=function(){console.log("change",e.dataset.value)},e.addEventListener("change",function(){console.log("listener change")}),e.addEventListener("input",function(){console.log("listener input")})}),document.querySelector("form").onsubmit=function(e){function t(e){var t=[];return o(e.children).forEach(function(e){var n=e.querySelector("label");n&&t.push(n.textContent)}),t}function n(e,t){var n={};return o(e.elements).forEach(function(e,r){"INPUT"===e.nodeName&&(n[t[r]]=e.value)}),n}e.preventDefault();var r=t(this),s=n(this,r),c=document.querySelector(".result");i("form submit"),a(c,s),c.focus()}})},{"../../core/converters/toArray":8,"../../core/selectors/_$$":21,"../../index":49,"../_modules/result/result":50,"./_helpers/gtag":51}]},{},[52]);
//# sourceMappingURL=main.js.map
diff --git a/docs/scripts/main.js.map b/docs/scripts/main.js.map
index 84ba574..1b77fa0 100644
--- a/docs/scripts/main.js.map
+++ b/docs/scripts/main.js.map
@@ -1 +1 @@
-{"version":3,"sources":["src/_scripts/node_modules/browser-pack/_prelude.js","src/_scripts/core/accessibility/create_a11y_block.js","src/_scripts/main.js","src/_scripts/core/accessibility/update_a11y.js","src/_scripts/core/converters/convert_hours_to_12hr_time.js","src/_scripts/core/converters/convert_number.js","src/_scripts/core/converters/convert_to_12hr_time.js","src/_scripts/core/converters/convert_to_24hr_time.js","src/_scripts/core/converters/leading_zero.js","src/_scripts/core/converters/toArray.js","src/_scripts/core/events/bind_events.js","src/_scripts/core/events/create_event.js","src/_scripts/core/events/handle_tab.js","src/_scripts/core/events/trigger_both_events.js","src/_scripts/core/events/trigger_event.js","src/_scripts/core/getters/get_ancestors.js","src/_scripts/core/getters/get_current_segment.js","src/_scripts/core/getters/get_label.js","src/_scripts/core/getters/get_selected_range.js","src/_scripts/core/getters/get_values.js","src/_scripts/core/helpers/manual_entry_log.js","src/_scripts/core/helpers/values.js","src/_scripts/core/selectors/_$$.js","src/_scripts/core/selectors/next_segment.js","src/_scripts/core/selectors/prev_segment.js","src/_scripts/core/selectors/select_cursor_segment.js","src/_scripts/core/selectors/select_segment.js","src/_scripts/core/selectors/traverse.js","src/_scripts/core/setters/apply_default.js","src/_scripts/core/setters/clear_segment.js","src/_scripts/core/setters/decrement.js","src/_scripts/core/setters/decrement_current_segment.js","src/_scripts/core/setters/increment.js","src/_scripts/core/setters/increment_current_segment.js","src/_scripts/core/setters/manual_number_entry.js","src/_scripts/core/setters/nudge_time_segment.js","src/_scripts/core/setters/reset.js","src/_scripts/core/setters/set_data_attribute.js","src/_scripts/core/setters/set_mode.js","src/_scripts/core/setters/set_segment.js","src/_scripts/core/setters/set_time.js","src/_scripts/core/setters/switch_mode.js","src/_scripts/core/setters/switch_times.js","src/_scripts/core/setters/switch_to_data_value.js","src/_scripts/core/setters/update_time.js","src/_scripts/core/static-values/all_number_keys.js","src/_scripts/core/static-values/named_keys.js","src/_scripts/core/static-values/ranges.js","src/_scripts/core/static-values/segments.js","src/_scripts/core/static-values/sorted_number_keys.js","src/_scripts/index.js","src/_scripts/src/_modules/result/result.js","src/_scripts/src/_scripts/_helpers/gtag.js","src/_scripts/src/_scripts/main.js"],"names":["r","e","n","t","o","i","f","c","require","u","a","Error","code","p","exports","call","length","1","module","$block","document","createElement","setAttribute","classList","add","querySelector","appendChild","2","get_current_segment","get_values","$input","announcementArray","setTimeout","current_segment","values","value","finalValue","segmentName","hrs","min","mode","announcements","initial","select","update","textArray","map","providedString","fullValue","replace","html","join","polyfill","label","$a11y","innerHTML","../getters/get_current_segment","../getters/get_values","3","hours","4","number","isNaN","parseInt","5","convert_number","convert_hours_to_12hr_time","leading_zero","timeString_24hr","twentyFour_regex","result","exec","hrs_24","hrs_12","isPM","./convert_hours_to_12hr_time","./convert_number","./leading_zero","6","timeString_12hr","test","newHrs","indexOf","timeResult","finalHrs","timeRegEx","7","purified","8","array","Array","prototype","slice","9","auto_swap","autoSwap","switch_times","select_segment","next_segment","prev_segment","select_cursor_segment","reset","manual_number_entry","clear_segment","increment_current_segment","decrement_current_segment","set_mode","handle_tab","all_number_keys","named_keys","update_a11y","prev_value","shiftKey","addEventListener","form","focused_via_click","current_value","dataset","preventDefault","segment","is_enter_key","which","is_number_key","is_named_key","is_arrow_key","ArrowDown","ArrowRight","ArrowUp","ArrowLeft","is_mode_key","is_delete_key","Delete","Backspace","Escape","Tab","../accessibility/update_a11y","../events/handle_tab","../helpers/values","../selectors/next_segment","../selectors/prev_segment","../selectors/select_cursor_segment","../selectors/select_segment","../setters/clear_segment","../setters/decrement_current_segment","../setters/increment_current_segment","../setters/manual_number_entry","../setters/reset","../setters/set_mode","../setters/switch_times","../static-values/all_number_keys","../static-values/named_keys","10","eventName","event","createEvent","initEvent","11","backwards_and_first","forwards_and_last","12","trigger_event","./trigger_event","13","can_trigger_change","create_event","inputEvent","changeEvent","input","change","dispatchEvent","./create_event","14","selectorString","$elem","ancestors","push","matchesSelector","msMatchesSelector","matches","parentElement","15","ranges","get_selected_range","selection","range","aboveMin","start","belowMax","end","../static-values/ranges","./get_selected_range","16","aria_labelledby","ariaLabelByID","getAttribute","$ariaLabelBy","getElementById","textContent","aria_label","ariaLabel","for_attribute","id","$forLabel","label_wrapper_element","get_ancestors","$parentLabel","nodeName","title_attribute","titleLabel","labelText","console","error","./get_ancestors","17","selectionStart","selectionEnd","18","timeString","regEx","../converters/convert_number","19","clear","manual_entry_log","entry","items","20","obj","key_values","key","21","toArray","selector","elements","querySelectorAll","../converters/toArray","22","traverse","./traverse","23","24","./select_segment","25","set_input_type","type","setSelectionRange","actions","26","segments","direction","modifier","next_segment_index","next","prev","../helpers/manual_entry_log","../static-values/segments","27","set_data_attribute","trigger_both_events","../events/trigger_both_events","../setters/set_data_attribute","28","set_segment","./set_segment","29","switch_mode","nudge_time_segment","./nudge_time_segment","./switch_mode","30","decrement","../setters/decrement","31","32","increment","../setters/increment","33","sorted_number_keys","key_value","entry_count","upper_limits","limit","full_limit","full_entry","at_limit","../static-values/sorted_number_keys","34","time","current_values","current_time","Date","getHours","getMinutes","minutes","up","down","../converters/convert_hours_to_12hr_time","../converters/leading_zero","35","apply_default","./apply_default","36","convert_to_24hr_time","filteredString","time24hr","../converters/convert_to_24hr_time","37","38","newInputVal","./set_data_attribute","39","convert_to_12hr_time","time_string_24hr","twelveHr","../converters/convert_to_12hr_time","40","default_mode","current_mode","new_mode","--","AM","PM","41","switch_to_data_value","set_time","format","is12hr","./set_time","./switch_to_data_value","42","replacementVal","43","../setters/set_time","44","45","Shift","46","47","Object","keys","./ranges","48","forEach","index","number_val","./all_number_keys","49","TimePolyfill","accessibility_block_created","create_a11y_block","get_label","update_time","swap","forcedFormat","bind_events","window","./core/accessibility/create_a11y_block","./core/events/bind_events","./core/getters/get_label","./core/setters/apply_default","./core/setters/set_data_attribute","./core/setters/switch_times","./core/setters/update_time","50","$result","$list","$close","onclick","remove","51","action","categoryLabelValue","gtag","event_category","event_label","data","category","log","52","_$$","ga","$$timeInputs","element","oninput","onchange","onsubmit","get_labels","labelList","children","$label","labels","valuesList","this","focus","../../core/converters/toArray","../../core/selectors/_$$","../../index","../_modules/result/result","./_helpers/gtag"],"mappings":"CAAA,WAAA,QAAAA,GAAAC,EAAAC,EAAAC,GAAA,QAAAC,GAAAC,EAAAC,GAAA,IAAAJ,EAAAG,GAAA,CAAA,IAAAJ,EAAAI,GAAA,CAAA,GAAAE,GAAA,kBAAAC,UAAAA,OAAA,KAAAF,GAAAC,EAAA,MAAAA,GAAAF,GAAA,EAAA,IAAAI,EAAA,MAAAA,GAAAJ,GAAA,EAAA,IAAAK,GAAA,GAAAC,OAAA,uBAAAN,EAAA,IAAA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AGA0V,EAAA5Q,iBAAA,SAAA,WACAiG,QAAAsK,IAAA,qBAEAK,EAAA5Q,iBAAA,QAAA,WACAiG,QAAAsK,IAAA,sBAIApW,SAAAK,cAAA,QAAAuW,SAAA,SAAA/X,GAWA,QAAAgY,GAAA/Q,GACA,GAAAgR,KAOA,OANA5J,GAAApH,EAAAiR,UAAA9C,QAAA,SAAAwC,GACA,GAAAO,GAAAP,EAAApW,cAAA,QACA2W,IACAF,EAAAnN,KAAAqN,EAAA/L,eAGA6L,EAGA,QAAArW,GAAAqF,EAAAmR,GACA,GAAAC,KAMA,OALAhK,GAAApH,EAAAsH,UAAA6G,QAAA,SAAAwC,EAAAxX,GACA,UAAAwX,EAAA/K,WACAwL,EAAAD,EAAAhY,IAAAwX,EAAA1V,SAGAmW,EA5BArY,EAAAqH,gBACA,IAAA+Q,GAAAJ,EAAAM,MACArW,EAAAL,EAAA0W,KAAAF,GACA1B,EAAAvV,SAAAK,cAAA,UAEAkW,GAAA,eAEArT,EAAAqS,EAAAzU,GACAyU,EAAA6B,anDi/BGC,gCAAgC,EAAEC,2BAA2B,GAAGC,cAAc,GAAGC,4BAA4B,GAAGC,kBAAkB,UAAU","file":"scripts/main.js","sourcesContent":["(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c=\"function\"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error(\"Cannot find module '\"+i+\"'\");throw a.code=\"MODULE_NOT_FOUND\",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u=\"function\"==typeof require&&require,i=0;i') + '
';\r\n\t\thtml = html.replace(/\\$label/g, $input.polyfill.label);\r\n\t\thtml = html.replace(/\\$segmentName/g, segmentName);\r\n\t\thtml = html.replace(/\\$segmentValue/g, finalValue);\r\n\t\thtml = html.replace(/\\$fullValue/g, fullValue);\r\n\r\n\t\t$input.polyfill.$a11y.innerHTML = html;\r\n\t}, 1);\r\n}\r\n\n},{\"../getters/get_current_segment\":15,\"../getters/get_values\":18}],3:[function(require,module,exports){\n\r\nmodule.exports = function convert_hours_to_12hr_time (hours) {\r\n\treturn hours <= 12 ? hours === 0 ? 12 : hours : hours - 12;\r\n}\r\n\n},{}],4:[function(require,module,exports){\n\r\nmodule.exports = function convert_number (number) {\r\n\treturn isNaN(number) ? number : parseInt(number);\r\n}\r\n\n},{}],5:[function(require,module,exports){\n\r\nvar convert_number = require('./convert_number');\r\nvar convert_hours_to_12hr_time = require('./convert_hours_to_12hr_time');\r\nvar leading_zero = require('./leading_zero');\r\n\r\nmodule.exports = function convert_to_12hr_time (timeString_24hr) {\r\n\tif (timeString_24hr === '') return '--:-- --';\r\n\tvar twentyFour_regex = /([0-9]{2})\\:([0-9]{2})/;\r\n\tvar result = twentyFour_regex.exec(timeString_24hr);\r\n\tvar hrs_24 = convert_number(result[1]);\r\n\tvar min = result[2];\r\n\tvar hrs_12 = convert_hours_to_12hr_time(hrs_24);\r\n\tvar isPM = hrs_24 > 12;\r\n\tvar mode = isPM ? 'PM' : 'AM';\r\n\treturn [leading_zero(hrs_12), ':', min, ' ', mode].join('');\r\n}\r\n\n},{\"./convert_hours_to_12hr_time\":3,\"./convert_number\":4,\"./leading_zero\":7}],6:[function(require,module,exports){\n\r\nvar leading_zero = require('./leading_zero');\r\n\r\nmodule.exports = function convert_to_24hr_time (timeString_12hr) {\r\n\tif (/-/.test(timeString_12hr)) return '';\r\n\tvar isPM = timeString_12hr.indexOf('PM') > -1;\r\n\tvar timeResult = /^([0-9]{2})/.exec(timeString_12hr);\r\n\tvar hrs = timeResult ? parseInt(timeResult[1]) : '';\r\n\tvar newHrs;\r\n\tif (hrs === 12) {\r\n\t\tnewHrs = isPM ? 12 : 0;\r\n\t} else {\r\n\t\tnewHrs = isPM ? hrs + 12 : hrs;\r\n\t}\r\n\tvar finalHrs = newHrs === 24 ? 0 : newHrs;\r\n\tvar timeRegEx = /^[0-9]{2}:([0-9]{2}) (AM|PM)/;\r\n\treturn timeString_12hr.replace(timeRegEx, leading_zero(finalHrs)+':$1');\r\n}\r\n\n},{\"./leading_zero\":7}],7:[function(require,module,exports){\n\r\nmodule.exports = function leading_zero (number) {\r\n\tif (isNaN(number)) return number;\r\n\tvar purified = parseInt(number);\r\n\treturn purified < 10 ? '0' + purified : number;\r\n}\r\n\n},{}],8:[function(require,module,exports){\n\r\nmodule.exports = function(array){\r\n\treturn Array.prototype.slice.call(array, 0);\r\n}\r\n\n},{}],9:[function(require,module,exports){\n\r\nvar values = require('../helpers/values');\r\n\r\nvar select_segment = require('../selectors/select_segment');\r\n\r\nvar next_segment = require('../selectors/next_segment');\r\nvar prev_segment = require('../selectors/prev_segment');\r\nvar select_cursor_segment = require('../selectors/select_cursor_segment');\r\n\r\nvar get_current_segment = require('../getters/get_current_segment');\r\n\r\nvar reset = require('../setters/reset');\r\nvar manual_number_entry = require('../setters/manual_number_entry');\r\nvar clear_segment = require('../setters/clear_segment');\r\nvar increment_current_segment = require('../setters/increment_current_segment');\r\nvar decrement_current_segment = require('../setters/decrement_current_segment');\r\nvar set_mode = require('../setters/set_mode');\r\nvar switch_times = require('../setters/switch_times');\r\n\r\nvar handle_tab = require('../events/handle_tab');\r\n\r\nvar all_number_keys = require('../static-values/all_number_keys');\r\nvar named_keys = require('../static-values/named_keys');\r\n\r\nvar update_a11y = require('../accessibility/update_a11y');\r\n\r\nmodule.exports = function bind_events ($input) {\r\n\r\n\tvar prev_value = '';\r\n\r\n\tvar shiftKey = false;\r\n\r\n\tdocument.addEventListener('keydown', function(e){\r\n\t\tshiftKey = e.shiftKey;\r\n\t})\r\n\tdocument.addEventListener('keyup', function(e){\r\n\t\tshiftKey = e.shiftKey;\r\n\t})\r\n\r\n\tif ($input.form) {\r\n\t\t$input.form.addEventListener('submit', function(){\r\n\t\t\tauto_swap($input);\r\n\t\t})\r\n\t}\r\n\r\n\tvar focused_via_click = false;\r\n\r\n\t$input.addEventListener('mousedown', function(){\r\n\t\tfocused_via_click = true;\r\n\t});\r\n\r\n\t// Turns the IE clear button into a reset button\r\n\t$input.addEventListener('mouseup', function(){\r\n\t\tsetTimeout(function(){\r\n\t\t\tif ($input.value === '') reset($input);\r\n\t\t}, 1)\r\n\t});\r\n\r\n\t$input.addEventListener('click', function(e){\r\n\t\tselect_cursor_segment($input);\r\n\t});\r\n\r\n\t$input.addEventListener('blur', function(){\r\n\t\tvar current_value = $input.dataset.value;\r\n\t\tif (current_value !== prev_value) {\r\n\t\t\tprev_value = current_value;\r\n\t\t}\r\n\t\tfocused_via_click = false;\r\n\t});\r\n\r\n\t$input.addEventListener('focus', function(e){\r\n\t\tif (!focused_via_click) {\r\n\t\t\te.preventDefault();\r\n\t\t\tvar segment = shiftKey ? 'mode' : 'hrs';\r\n\t\t\tselect_segment($input, segment);\r\n\t\t}\r\n\t\tupdate_a11y($input, [\r\n\t\t\t'initial',\r\n\t\t\t'select'\r\n\t\t])\r\n\t});\r\n\r\n\t$input.addEventListener('keydown', function(e) {\r\n\t\tvar is_enter_key = e.which === 13;\r\n\t\tif (is_enter_key) return true;\r\n\r\n\t\tvar is_number_key = all_number_keys.indexOf(e.which) > -1;\r\n\t\tvar is_named_key = values(named_keys).indexOf(e.which) > -1;\r\n\t\tvar is_arrow_key = [named_keys.ArrowDown, named_keys.ArrowRight, named_keys.ArrowUp, named_keys.ArrowLeft].indexOf(e.which) > -1;\r\n\t\tvar is_mode_key = [named_keys.a, named_keys.p].indexOf(e.which) > -1;\r\n\t\tvar is_delete_key = [named_keys.Delete, named_keys.Backspace].indexOf(e.which) > -1;\r\n\r\n\t\tif (!is_named_key || is_arrow_key || is_number_key || is_mode_key || is_delete_key) { e.preventDefault(); }\r\n\r\n\t\tif (is_number_key) {\r\n\t\t\tmanual_number_entry($input, e.which);\r\n\t\t}\r\n\r\n\t\tif (is_delete_key) {\r\n\t\t\tvar segment = get_current_segment($input);\r\n\t\t\tclear_segment($input, segment);\r\n\t\t}\r\n\r\n\t\tswitch (e.which) {\r\n\t\t\tcase named_keys.ArrowRight: next_segment($input); break;\r\n\t\t\tcase named_keys.ArrowLeft: prev_segment($input); break;\r\n\t\t\tcase named_keys.ArrowUp: increment_current_segment($input); break;\r\n\t\t\tcase named_keys.ArrowDown: decrement_current_segment($input); break;\r\n\t\t\tcase named_keys.Escape: reset($input); break;\r\n\t\t\tcase named_keys.a: set_mode($input, 'AM'); break;\r\n\t\t\tcase named_keys.p: set_mode($input, 'PM'); break;\r\n\t\t\tcase named_keys.Tab: handle_tab($input, e); break;\r\n\t\t}\r\n\t})\r\n}\r\n\r\nfunction auto_swap($input) {\r\n\tif ($input.polyfill.autoSwap) {\r\n\t\tswitch_times($input, 24);\r\n\t\tsetTimeout(function(){\r\n\t\t\tswitch_times($input, 12);\r\n\t\t}, 1);\r\n\t}\r\n}\r\n\n},{\"../accessibility/update_a11y\":2,\"../events/handle_tab\":11,\"../getters/get_current_segment\":15,\"../helpers/values\":20,\"../selectors/next_segment\":22,\"../selectors/prev_segment\":23,\"../selectors/select_cursor_segment\":24,\"../selectors/select_segment\":25,\"../setters/clear_segment\":28,\"../setters/decrement_current_segment\":30,\"../setters/increment_current_segment\":32,\"../setters/manual_number_entry\":33,\"../setters/reset\":35,\"../setters/set_mode\":37,\"../setters/switch_times\":41,\"../static-values/all_number_keys\":44,\"../static-values/named_keys\":45}],10:[function(require,module,exports){\n\r\nmodule.exports = function create_event(eventName){\r\n\tvar event = document.createEvent('Event');\r\n\tevent.initEvent(eventName, true, true);\r\n\treturn event;\r\n}\r\n\n},{}],11:[function(require,module,exports){\n\r\nvar get_current_segment = require('../getters/get_current_segment');\r\nvar prev_segment = require('../selectors/prev_segment');\r\nvar next_segment = require('../selectors/next_segment');\r\n\r\nmodule.exports = function handle_tab($input, e) {\r\n\tvar current_segment = get_current_segment($input);\r\n\tvar backwards_and_first = e.shiftKey && current_segment === 'hrs';\r\n\tvar forwards_and_last = !e.shiftKey && current_segment === 'mode';\r\n\r\n\tif (!backwards_and_first && !forwards_and_last) {\r\n\t\te.preventDefault();\r\n\t\tif (e.shiftKey) {\r\n\t\t\tprev_segment($input);\r\n\t\t} else {\r\n\t\t\tnext_segment($input);\r\n\t\t}\r\n\t}\r\n}\r\n\n},{\"../getters/get_current_segment\":15,\"../selectors/next_segment\":22,\"../selectors/prev_segment\":23}],12:[function(require,module,exports){\n\r\nvar trigger_event = require('./trigger_event');\r\n\r\n// It seems that oninput and onchange are treated the same way by browsers :/\r\nmodule.exports = function trigger_both_events($input) {\r\n\t// the event only ever fires if there is a full valid value available\r\n\ttrigger_event($input, 'input');\r\n\ttrigger_event($input,'change');\r\n}\r\n\n},{\"./trigger_event\":13}],13:[function(require,module,exports){\n\r\nvar create_event = require('./create_event');\r\n\r\nvar inputEvent = create_event('input');\r\nvar changeEvent = create_event('change');\r\n\r\nmodule.exports = function trigger_event($input, eventName) {\r\n\tvar event = {\r\n\t\tinput: inputEvent,\r\n\t\tchange: changeEvent,\r\n\t}[eventName];\r\n\r\n\tif (can_trigger_change($input)) {\r\n\t\t$input.dispatchEvent(event);\r\n\t}\r\n}\r\n\r\n// Browsers only send out input and change events if the time element has a full valid value\r\nfunction can_trigger_change ($input) {\r\n\treturn !/--/.test($input.value);\r\n}\r\n\n},{\"./create_event\":10}],14:[function(require,module,exports){\n// selector is optional, it allows for an early exit\r\nmodule.exports = function ($input, selectorString) {\r\n\tvar $elem = $input;\r\n\r\n\t// https://stackoverflow.com/a/8729274/1611058\r\n\tvar ancestors = [];\r\n\twhile ($elem) {\r\n\t\tancestors.push($elem);\r\n\t\tvar matchesSelector = $elem.msMatchesSelector ?\r\n\t\t\t$elem.msMatchesSelector(selectorString) :\r\n\t\t\t$elem.matches(selectorString);\r\n\t\tif (matchesSelector) {\r\n\t\t\treturn ancestors;\r\n\t\t}\r\n\t\t$elem = $elem.parentElement;\r\n\t}\r\n\r\n\treturn ancestors;\r\n}\r\n\n},{}],15:[function(require,module,exports){\n\r\nvar ranges = require('../static-values/ranges');\r\nvar get_selected_range = require('./get_selected_range');\r\n\r\nmodule.exports = function get_current_segment ($input) {\r\n\tvar selection = get_selected_range($input);\r\n\tfor (var segment in ranges) {\r\n\t\tvar range = ranges[segment];\r\n\t\tvar aboveMin = range.start <= selection.start;\r\n\t\tvar belowMax = range.end >= selection.end;\r\n\t\tif (aboveMin && belowMax) {\r\n\t\t\treturn segment;\r\n\t\t}\r\n\t}\r\n\treturn 'hrs';\r\n}\r\n\n},{\"../static-values/ranges\":46,\"./get_selected_range\":17}],16:[function(require,module,exports){\n\r\nvar get_ancestors = require('./get_ancestors');\r\n\r\nmodule.exports = function get_label ($input) {\r\n\r\n\tvar labelText =\r\n\t\taria_labelledby($input) ||\r\n\t\taria_label($input) ||\r\n\t\tfor_attribute($input) ||\r\n\t\tlabel_wrapper_element($input) ||\r\n\t\ttitle_attribute($input);\r\n\r\n\tif (labelText) return labelText;\r\n\r\n\tconsole.error('Label text for input not found.', $input);\r\n\tthrow new Error('Cannot polyfill time input due to a missing label.');\r\n}\r\n\r\nfunction aria_labelledby($input){\r\n\tvar ariaLabelByID = $input.getAttribute('aria-labelledby');\r\n\tif (ariaLabelByID) {\r\n\t\tvar $ariaLabelBy = document.getElementById(ariaLabelByID);\r\n\t\tif ($ariaLabelBy) return $ariaLabelBy.textContent;\r\n\t}\r\n\treturn false;\r\n}\r\n\r\nfunction aria_label($input){\r\n\tvar ariaLabel = $input.getAttribute('aria-label');\r\n\tif (ariaLabel) return ariaLabel;\r\n\treturn false;\r\n}\r\n\r\nfunction for_attribute($input){\r\n\tif ($input.id) {\r\n\t\tvar $forLabel = document.querySelector('label[for=\"'+$input.id+'\"]');\r\n\t\tif ($forLabel) return $forLabel.textContent;\r\n\t}\r\n\treturn false;\r\n}\r\n\r\nfunction label_wrapper_element($input){\r\n\tvar ancestors = get_ancestors($input, 'label');\r\n\tvar $parentLabel = ancestors[ancestors.length - 1];\r\n\tif ($parentLabel.nodeName == 'LABEL') return $parentLabel.textContent;\r\n\treturn false\r\n}\r\n\r\nfunction title_attribute($input){\r\n\tvar titleLabel = $input.getAttribute('title');\r\n\tif (titleLabel) return titleLabel;\r\n\treturn false\r\n}\r\n\n},{\"./get_ancestors\":14}],17:[function(require,module,exports){\n\r\nmodule.exports = function get_selected_range ($input) {\r\n\treturn { start: $input.selectionStart, end: $input.selectionEnd };\r\n}\r\n\n},{}],18:[function(require,module,exports){\n\r\nvar convert_number = require('../converters/convert_number');\r\n\r\nmodule.exports = function get_values ($input, timeString) {\r\n\tvar value = timeString ? timeString : $input.value;\r\n\tvar regEx = /([0-9-]{1,2})\\:([0-9-]{1,2})\\s?(AM|PM|\\-\\-)?/;\r\n\tvar result = regEx.exec(value);\r\n\r\n\treturn {\r\n\t\thrs: convert_number(result[1]),\r\n\t\tmin: convert_number(result[2]),\r\n\t\tmode: result[3],\r\n\t}\r\n}\r\n\n},{\"../converters/convert_number\":4}],19:[function(require,module,exports){\n\r\nvar manual_entry_log = [];\r\n\r\nfunction clear () {\r\n\tmanual_entry_log = [];\r\n}\r\n\r\nfunction add (entry) {\r\n\tmanual_entry_log.push(entry);\r\n}\r\n\r\nfunction items(){\r\n\treturn manual_entry_log;\r\n}\r\n\r\nmodule.exports = {\r\n\titems: items,\r\n\tclear: clear,\r\n\tadd: add,\r\n}\r\n\n},{}],20:[function(require,module,exports){\n\r\n// IE11 doesn't support Object.values()\r\nmodule.exports = function values (obj) {\r\n\tvar key_values = [];\r\n\tfor (var key in obj) {\r\n\t\tkey_values.push(obj[key]);\r\n\t}\r\n\treturn key_values;\r\n}\r\n\n},{}],21:[function(require,module,exports){\n\r\nvar toArray = require('../converters/toArray');\r\n\r\nmodule.exports = function _$$ (selector) {\r\n\tvar elements = document.querySelectorAll(selector);\r\n\treturn toArray(elements);\r\n}\r\n\n},{\"../converters/toArray\":8}],22:[function(require,module,exports){\n\r\nvar traverse = require('./traverse');\r\n\r\nmodule.exports = function next_segment ($input) {\r\n\ttraverse($input, 'next');\r\n}\r\n\n},{\"./traverse\":26}],23:[function(require,module,exports){\n\r\nvar traverse = require('./traverse');\r\n\r\nmodule.exports = function prev_segment ($input) {\r\n\ttraverse($input, 'prev');\r\n}\r\n\n},{\"./traverse\":26}],24:[function(require,module,exports){\n\r\nvar get_current_segment = require('../getters/get_current_segment');\r\nvar select_segment = require('./select_segment');\r\n\r\nmodule.exports = function select_cursor_segment ($input) {\r\n\tvar current_segment = get_current_segment($input);\r\n\tselect_segment($input, current_segment);\r\n}\r\n\n},{\"../getters/get_current_segment\":15,\"./select_segment\":25}],25:[function(require,module,exports){\n\r\nmodule.exports = function select_segment ($input, segment) {\r\n\r\n\tset_input_type();\r\n\r\n\tvar actions = {\r\n\t\thrs: select(0, 2),\r\n\t\tmin: select(3, 5),\r\n\t\tmode: select(6, 8),\r\n\t};\r\n\r\n\tactions[segment]($input);\r\n\r\n\tfunction set_input_type() {\r\n\t\tvar type = segment === 'mode' ? 'text' : 'tel';\r\n\t\t$input.setAttribute('type', type);\r\n\t}\r\n\r\n\tfunction select (start, end) {\r\n\t\treturn function () {\r\n\t\t\t$input.setSelectionRange(start, end);\r\n\t\t}\r\n\t}\r\n}\r\n\n},{}],26:[function(require,module,exports){\n\r\nvar get_current_segment = require('../getters/get_current_segment');\r\nvar select_segment = require('../selectors/select_segment');\r\n\r\nvar manual_entry_log = require('../helpers/manual_entry_log');\r\nvar segments = require('../static-values/segments');\r\n\r\nvar update_a11y = require('../accessibility/update_a11y');\r\n\r\nmodule.exports = function traverse ($input, direction) {\r\n\tvar segment = get_current_segment($input);\r\n\r\n\tvar modifier = direction === 'next' ? 1 : -1;\r\n\tvar next_segment_index = segments.indexOf(segment) + modifier;\r\n\r\n\tvar next_segment = {\r\n\t\tnext: segments[next_segment_index] || 'mode',\r\n\t\tprev: next_segment_index < 0 ? 'hrs' : segments[next_segment_index],\r\n\t}[direction];\r\n\r\n\tselect_segment($input, next_segment);\r\n\tmanual_entry_log.clear();\r\n\tupdate_a11y($input, ['select'])\r\n}\r\n\n},{\"../accessibility/update_a11y\":2,\"../getters/get_current_segment\":15,\"../helpers/manual_entry_log\":19,\"../selectors/select_segment\":25,\"../static-values/segments\":47}],27:[function(require,module,exports){\n\r\n// I need to keep this separate from reset so that\r\n// I can reset without attracting focus\r\n\r\nvar set_data_attribute = require('../setters/set_data_attribute');\r\nvar trigger_both_events = require('../events/trigger_both_events');\r\n\r\nmodule.exports = function apply_default ($input) {\r\n\t$input.value = '--:-- --';\r\n\tset_data_attribute($input, '');\r\n\ttrigger_both_events($input);\r\n}\r\n\n},{\"../events/trigger_both_events\":12,\"../setters/set_data_attribute\":36}],28:[function(require,module,exports){\n\r\nvar set_segment = require('./set_segment');\r\nvar update_a11y = require('../accessibility/update_a11y');\r\n\r\nmodule.exports = function clear_segment ($input, segment) {\r\n\tset_segment($input, segment, '--');\r\n\tupdate_a11y($input, ['update']);\r\n}\r\n\n},{\"../accessibility/update_a11y\":2,\"./set_segment\":38}],29:[function(require,module,exports){\n\r\nvar switch_mode = require('./switch_mode');\r\nvar nudge_time_segment = require('./nudge_time_segment');\r\nvar update_a11y = require('../accessibility/update_a11y');\r\n\r\nmodule.exports = function decrement ($input, segment) {\r\n\tif (segment === 'mode') {\r\n\t\tswitch_mode($input, 'PM')\r\n\t} else {\r\n\t\tnudge_time_segment($input, segment, 'down');\r\n\t}\r\n\tupdate_a11y($input, ['update']);\r\n}\r\n\n},{\"../accessibility/update_a11y\":2,\"./nudge_time_segment\":34,\"./switch_mode\":40}],30:[function(require,module,exports){\n\r\nvar get_current_segment = require('../getters/get_current_segment');\r\nvar decrement = require('../setters/decrement');\r\n\r\nmodule.exports = function decrement_current_segment ($input){\r\n\tvar current_segment = get_current_segment($input);\r\n\tdecrement($input, current_segment);\r\n}\r\n\n},{\"../getters/get_current_segment\":15,\"../setters/decrement\":29}],31:[function(require,module,exports){\n\r\nvar switch_mode = require('./switch_mode');\r\nvar nudge_time_segment = require('./nudge_time_segment');\r\nvar update_a11y = require('../accessibility/update_a11y');\r\n\r\nmodule.exports = function increment ($input, segment) {\r\n\tif (segment === 'mode') {\r\n\t\tswitch_mode($input, 'AM')\r\n\t} else {\r\n\t\tnudge_time_segment($input, segment, 'up');\r\n\t}\r\n\tupdate_a11y($input, ['update']);\r\n}\r\n\r\n\n},{\"../accessibility/update_a11y\":2,\"./nudge_time_segment\":34,\"./switch_mode\":40}],32:[function(require,module,exports){\n\r\nvar get_current_segment = require('../getters/get_current_segment');\r\nvar increment = require('../setters/increment');\r\n\r\nmodule.exports = function increment_current_segment ($input) {\r\n\tvar current_segment = get_current_segment($input);\r\n\tincrement($input, current_segment);\r\n}\r\n\n},{\"../getters/get_current_segment\":15,\"../setters/increment\":31}],33:[function(require,module,exports){\n\r\nvar get_current_segment = require('../getters/get_current_segment');\r\nvar set_segment = require('./set_segment');\r\nvar next_segment = require('../selectors/next_segment');\r\n\r\nvar manual_entry_log = require('../helpers/manual_entry_log');\r\nvar sorted_number_keys = require('../static-values/sorted_number_keys');\r\n\r\nmodule.exports = function manual_number_entry($input, key) {\r\n\tvar key_value = sorted_number_keys[key];\r\n\tvar segment = get_current_segment($input);\r\n\r\n\tif (segment !== 'mode') {\r\n\t\tvar entry_count = manual_entry_log.items().length;\r\n\r\n\t\tvar upper_limits = {\r\n\t\t\thrs: [1,2],\r\n\t\t\tmin: [5,9],\r\n\t\t}\r\n\t\tvar limit = upper_limits[segment][entry_count];\r\n\r\n\t\tif (entry_count < 2) {\r\n\t\t\tmanual_entry_log.add(key_value);\r\n\t\t}\r\n\r\n\t\tvar full_limit = parseInt(upper_limits[segment].join(''));\r\n\t\tvar full_entry = parseInt(manual_entry_log.items().join(''));\r\n\r\n\t\tif (full_limit >= full_entry) {\r\n\t\t\tset_segment($input, segment, full_entry);\r\n\t\t}\r\n\r\n\t\tvar at_limit = key_value > limit || manual_entry_log.items().length === 2;\r\n\r\n\t\tif (at_limit) {\r\n\t\t\tnext_segment($input);\r\n\t\t}\r\n\t}\r\n}\r\n\n},{\"../getters/get_current_segment\":15,\"../helpers/manual_entry_log\":19,\"../selectors/next_segment\":22,\"../static-values/sorted_number_keys\":48,\"./set_segment\":38}],34:[function(require,module,exports){\n\r\nvar get_values = require('../getters/get_values');\r\nvar convert_hours_to_12hr_time = require('../converters/convert_hours_to_12hr_time');\r\nvar leading_zero = require('../converters/leading_zero');\r\nvar set_segment = require('./set_segment');\r\n\r\nmodule.exports = function nudge_time_segment ($input, segment, direction) {\r\n\tvar current_values = get_values($input);\r\n\tvar time;\r\n\r\n\tvar modifier = direction === 'up' ? 1 : -1;\r\n\r\n\tif (current_values[segment] === '--') {\r\n\t\tvar current_time = new Date();\r\n\t\ttime = {\r\n\t\t\thrs: convert_hours_to_12hr_time(current_time.getHours()),\r\n\t\t\tmin: current_time.getMinutes(),\r\n\t\t}\r\n\t} else {\r\n\t\tvar minutes = {\r\n\t\t\tup : current_values.min < 59 ? current_values.min + modifier : 0,\r\n\t\t\tdown : current_values.min === 0 ? 59 : current_values.min + modifier,\r\n\t\t}\r\n\t\ttime = {\r\n\t\t\thrs: convert_hours_to_12hr_time(current_values.hrs + modifier),\r\n\t\t\tmin: minutes[direction],\r\n\t\t}\r\n\t}\r\n\r\n\tset_segment($input, segment, leading_zero(time[segment]) );\r\n}\r\n\n},{\"../converters/convert_hours_to_12hr_time\":3,\"../converters/leading_zero\":7,\"../getters/get_values\":18,\"./set_segment\":38}],35:[function(require,module,exports){\n\r\nvar apply_default = require('./apply_default');\r\nvar select_segment = require('../selectors/select_segment');\r\n\r\nmodule.exports = function reset ($input) {\r\n\tapply_default($input);\r\n\tselect_segment($input, 'hrs');\r\n}\r\n\n},{\"../selectors/select_segment\":25,\"./apply_default\":27}],36:[function(require,module,exports){\n\r\nvar convert_to_24hr_time = require('../converters/convert_to_24hr_time')\r\n\r\nmodule.exports = function set_data_attribute($input, timeString_12hr){\r\n\tvar filteredString = timeString_12hr.indexOf('-') > -1 ? '' : timeString_12hr;\r\n\tvar time24hr = convert_to_24hr_time(filteredString);\r\n\t$input.setAttribute('data-value', time24hr);\r\n}\r\n\n},{\"../converters/convert_to_24hr_time\":6}],37:[function(require,module,exports){\n\r\nvar get_current_segment = require('../getters/get_current_segment');\r\nvar set_segment = require('./set_segment');\r\n\r\nmodule.exports = function set_mode ($input, type) {\r\n\tvar segment = get_current_segment($input);\r\n\tif (segment === 'mode') {\r\n\t\tset_segment($input, segment, type);\r\n\t}\r\n}\r\n\n},{\"../getters/get_current_segment\":15,\"./set_segment\":38}],38:[function(require,module,exports){\n\r\nvar get_values = require('../getters/get_values');\r\nvar leading_zero = require('../converters/leading_zero');\r\nvar select_segment = require('../selectors/select_segment');\r\nvar set_data_attribute = require('./set_data_attribute');\r\nvar trigger_both_events = require('../events/trigger_both_events');\r\n\r\nmodule.exports = function set_segment ($input, segment, value) {\r\n\tvar values = get_values($input);\r\n\tvalues[segment] = value;\r\n\tvar newInputVal = [\r\n\t\tleading_zero(values.hrs),':',\r\n\t\tleading_zero(values.min),' ',\r\n\t\tvalues.mode\r\n\t].join('');\r\n\t$input.value = newInputVal;\r\n\tselect_segment($input, segment);\r\n\tset_data_attribute($input, newInputVal);\r\n\ttrigger_both_events($input);\r\n}\r\n\n},{\"../converters/leading_zero\":7,\"../events/trigger_both_events\":12,\"../getters/get_values\":18,\"../selectors/select_segment\":25,\"./set_data_attribute\":36}],39:[function(require,module,exports){\n\r\nvar convert_to_12hr_time = require('../converters/convert_to_12hr_time');\r\nvar set_data_attribute = require('../setters/set_data_attribute');\r\n\r\nmodule.exports = function set_time($input, time_string_24hr) {\r\n\tvar twelveHr = convert_to_12hr_time(time_string_24hr);\r\n\t$input.value = twelveHr;\r\n\tset_data_attribute($input, time_string_24hr);\r\n}\r\n\n},{\"../converters/convert_to_12hr_time\":5,\"../setters/set_data_attribute\":36}],40:[function(require,module,exports){\n\r\nvar get_values = require('../getters/get_values');\r\nvar set_segment = require('./set_segment');\r\n\r\nmodule.exports = function switch_mode ($input, default_mode) {\r\n\tdefault_mode = default_mode || 'AM';\r\n\tvar current_mode = get_values($input).mode;\r\n\tvar new_mode = {\r\n\t\t'--' : default_mode,\r\n\t\t'AM' : 'PM',\r\n\t\t'PM' : 'AM',\r\n\t}[current_mode];\r\n\tset_segment($input, 'mode', new_mode);\r\n}\r\n\n},{\"../getters/get_values\":18,\"./set_segment\":38}],41:[function(require,module,exports){\n\r\nvar switch_to_data_value = require('./switch_to_data_value');\r\nvar set_time = require('./set_time');\r\n\r\nmodule.exports = function switch_times ($input, format) {\r\n\tvar is12hr = /\\s/.test($input.value);\r\n\r\n\tif (format != 12 && format != 24) {\r\n\t\tformat = is12hr ? 24 : 12;\r\n\t}\r\n\r\n\tvar actions = {\r\n\t\t12: function(){\r\n\t\t\tif (!is12hr) {\r\n\t\t\t\tset_time($input, $input.dataset.value);\r\n\t\t\t}\r\n\t\t},\r\n\t\t24: function(){\r\n\t\t\tif (is12hr) {\r\n\t\t\t\tswitch_to_data_value($input);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\tactions[format]();\r\n}\r\n\n},{\"./set_time\":39,\"./switch_to_data_value\":42}],42:[function(require,module,exports){\n\r\nmodule.exports = function($input) {\r\n\tvar replacementVal = $input.dataset.value;\r\n\t$input.value = replacementVal;\r\n}\r\n\n},{}],43:[function(require,module,exports){\n\r\nvar set_time = require('../setters/set_time');\r\n\r\nmodule.exports = function update_time($input) {\r\n\tset_time($input, $input.value);\r\n\treturn $input;\r\n}\r\n\n},{\"../setters/set_time\":39}],44:[function(require,module,exports){\nvar all_number_keys = [\r\n // 0, 1, 2, 3, 4, 5, 6, 7, 8, 9\r\n 48, 49, 50, 51, 52, 53, 54, 55, 56, 57,\r\n 96, 97, 98, 99,100,101,102,103,104,105\r\n];\r\n\r\nmodule.exports = all_number_keys;\r\n\n},{}],45:[function(require,module,exports){\nvar named_keys = {\r\n\tArrowDown: 40,\r\n\tArrowRight: 39,\r\n\tArrowUp: 38,\r\n\tArrowLeft: 37,\r\n\tBackspace: 8,\r\n\tDelete: 46,\r\n\tTab: 9,\r\n\tShift: 16,\r\n\tEscape: 27,\r\n\ta: 65,\r\n\tp: 80,\r\n}\r\n\r\nmodule.exports = named_keys;\r\n\n},{}],46:[function(require,module,exports){\n\r\nvar ranges = {\r\n\thrs : { start: 0, end: 2 },\r\n\tmin : { start: 3, end: 5 },\r\n\tmode : { start: 6, end: 8 },\r\n}\r\n\r\nmodule.exports = ranges;\r\n\n},{}],47:[function(require,module,exports){\n\r\nvar ranges = require('./ranges');\r\n\r\nvar segments = Object.keys(ranges);\r\n\r\nmodule.exports = segments;\r\n\n},{\"./ranges\":46}],48:[function(require,module,exports){\n\r\nvar all_number_keys = require('./all_number_keys');\r\n\r\nvar sorted_number_keys = {};\r\n// sorted_number_keys = { 48: 0, 49: 1, 96: 0, 97: 1, ... };\r\nall_number_keys.forEach(function(key, index) {\r\n\tvar number_val = index > 9 ? index - 10 : index;\r\n\tsorted_number_keys[key] = number_val;\r\n});\r\n\r\nmodule.exports = sorted_number_keys;\r\n\n},{\"./all_number_keys\":44}],49:[function(require,module,exports){\n\r\nvar apply_default = require('./core/setters/apply_default');\r\nvar update_time = require('./core/setters/update_time');\r\nvar set_data_attribute = require('./core/setters/set_data_attribute');\r\nvar bind_events = require('./core/events/bind_events');\r\nvar switch_times = require('./core/setters/switch_times');\r\nvar get_label = require('./core/getters/get_label');\r\n\r\nvar create_a11y_block = require('./core/accessibility/create_a11y_block');\r\n\r\nvar accessibility_block_created = false;\r\nvar $a11y;\r\n\r\nfunction TimePolyfill($input) {\r\n\r\n\t$input.setAttribute('autocomplete','off');\r\n\r\n\t// Prevent screen reader from announcing the default stuff\r\n\t$input.setAttribute('aria-hidden', true);\r\n\r\n\tif (!accessibility_block_created) {\r\n\t\t$a11y = create_a11y_block();\r\n\t\taccessibility_block_created = true;\r\n\t}\r\n\r\n\tvar label = get_label($input);\r\n\r\n\t$input.polyfill = {\r\n\t\t$a11y: $a11y,\r\n\t\tlabel: label,\r\n\t\tautoSwap: true,\r\n\t\tupdate: function() {\r\n\t\t\tupdate_time($input);\r\n\t\t},\r\n\t\tswap: function(forcedFormat) {\r\n\t\t\tswitch_times($input, forcedFormat);\r\n\t\t}\r\n\t}\r\n\r\n\tif ($input.value === '' || /--/.test($input.value)) {\r\n\t\tapply_default($input);\r\n\t\tset_data_attribute($input, '');\r\n\t} else {\r\n\t\tupdate_time($input);\r\n\t\tset_data_attribute($input, $input.value);\r\n\t}\r\n\r\n\tbind_events($input);\r\n}\r\n\r\nif (window) window.TimePolyfill = TimePolyfill;\r\nif (module) module.exports = TimePolyfill;\r\n\n},{\"./core/accessibility/create_a11y_block\":1,\"./core/events/bind_events\":9,\"./core/getters/get_label\":16,\"./core/setters/apply_default\":27,\"./core/setters/set_data_attribute\":36,\"./core/setters/switch_times\":41,\"./core/setters/update_time\":43}],50:[function(require,module,exports){\n\r\nmodule.exports = function($result, values){\r\n\tvar $list = $result.querySelector('.result__list');\r\n\tvar $close = $result.querySelector('.result__close');\r\n\r\n\tvar html = '';\r\n\tfor (var label in values) {\r\n\t\tvar value = values[label].replace(/^$/,'blank ');\r\n\t\thtml = html + [\r\n\t\t\t'',\r\n\t\t\t\t'
',label,' ',\r\n\t\t\t\t'\"',value,'\" ',\r\n\t\t\t''\r\n\t\t].join('');\r\n\t}\r\n\t$list.innerHTML = html;\r\n\t$result.classList.add('-visible');\r\n\r\n\t$close.onclick = function(){\r\n\t\t$result.classList.remove('-visible');\r\n\t}\r\n}\r\n\n},{}],51:[function(require,module,exports){\n\r\n//Code for tracking Google Analytics events\r\nmodule.exports = function GA_trackEvent(action, categoryLabelValue) {\r\n\r\n\tif (typeof gtag !== 'undefined') {\r\n\r\n\t\tif (categoryLabelValue) {\r\n\t\t\tgtag('event', action, {\r\n\t\t\t\tevent_category: categoryLabelValue[0],\r\n\t\t\t\tevent_label: categoryLabelValue[1],\r\n\t\t\t\tvalue: categoryLabelValue[2],\r\n\t\t\t});\r\n\t\t} else {\r\n\t\t\tgtag('event', action);\r\n\t\t}\r\n\r\n\t} else {\r\n\t\tcategoryLabelValue = {};\r\n\t\tvar data = {\r\n\t\t\taction: action,\r\n\t\t\tevent_category: categoryLabelValue.category || 'general',\r\n\t\t\tevent_label: categoryLabelValue.label || '(not set)',\r\n\t\t\tvalue: categoryLabelValue.value\r\n\t\t}\r\n\r\n\t\tconsole.log(\"GA event =\", data, '* = required');\r\n\t}\r\n}\r\n\n},{}],52:[function(require,module,exports){\n// Main javascript entry point\r\n// Should handle bootstrapping/starting application\r\n\r\n'use strict';\r\n\r\n// Time input polyfill\r\nvar TimePolyfill = require('../../index');\r\nvar _$$ = require('../../core/selectors/_$$');\r\nvar toArray = require('../../core/converters/toArray');\r\n\r\nvar result = require('../_modules/result/result');\r\n\r\nvar ga = require('./_helpers/gtag');\r\n\r\ndocument.addEventListener(\"DOMContentLoaded\", function() {\r\n\t// var $$timeInputs = _$$('input[type=\"time\"]');\r\n\tvar $$timeInputs = _$$('input.time');\r\n\t$$timeInputs.forEach(function (element) {\r\n\t\tnew TimePolyfill(element);\r\n\r\n\t\t// Disable auto swap\r\n\t\t// element.polyfill.autoSwap = false;\r\n\r\n\t\telement.oninput = function(){\r\n\t\t\tconsole.log('input', element.dataset.value);\r\n\t\t}\r\n\t\telement.onchange = function(){\r\n\t\t\tconsole.log('change', element.dataset.value);\r\n\t\t}\r\n\r\n\t\telement.addEventListener('change', function(){\r\n\t\t\tconsole.log('listener change');\r\n\t\t});\r\n\t\telement.addEventListener('input', function(){\r\n\t\t\tconsole.log('listener input');\r\n\t\t});\r\n\t});\r\n\r\n\tdocument.querySelector('form').onsubmit = function(e){\r\n\t\te.preventDefault();\r\n\t\tvar labels = get_labels(this);\r\n\t\tvar values = get_values(this, labels);\r\n\t\tvar $result = document.querySelector('.result');\r\n\r\n\t\tga('form submit');\r\n\r\n\t\tresult($result, values);\r\n\t\t$result.focus();\r\n\r\n\t\tfunction get_labels (form) {\r\n\t\t\tvar labelList = [];\r\n\t\t\ttoArray(form.children).forEach(function(element){\r\n\t\t\t\tvar $label = element.querySelector('label');\r\n\t\t\t\tif ($label) {\r\n\t\t\t\t\tlabelList.push($label.textContent);\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\treturn labelList;\r\n\t\t}\r\n\r\n\t\tfunction get_values (form, labels) {\r\n\t\t\tvar valuesList = {};\r\n\t\t\ttoArray(form.elements).forEach(function(element, i){\r\n\t\t\t\tif (element.nodeName === 'INPUT') {\r\n\t\t\t\t\tvaluesList[labels[i]] = element.value\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\treturn valuesList;\r\n\t\t}\r\n\t}\r\n\r\n});\r\n\n},{\"../../core/converters/toArray\":8,\"../../core/selectors/_$$\":21,\"../../index\":49,\"../_modules/result/result\":50,\"./_helpers/gtag\":51}]},{},[52])\n\n","\r\nvar get_current_segment = require('../getters/get_current_segment');\r\nvar get_values = require('../getters/get_values');\r\n\r\nmodule.exports = function update_a11y ($input, announcementArray) {\r\n\t// Timeout helps ensure that the input has stabilized\r\n\tsetTimeout(function(){\r\n\t\tvar current_segment = get_current_segment($input);\r\n\t\tvar values = get_values($input);\r\n\t\tvar value = values[current_segment];\r\n\t\tvar finalValue = value == '--' ? 'blank' : value;\r\n\r\n\t\tvar segmentName = {\r\n\t\t\thrs: 'Hours',\r\n\t\t\tmin: 'Minutes',\r\n\t\t\tmode: 'AM/PM'\r\n\t\t}[current_segment];\r\n\r\n\t\tvar announcements = {\r\n\t\t\tinitial: '$label grouping $fullValue.',\r\n\t\t\tselect: '$segmentName spin button $segmentValue.',\r\n\t\t\tupdate: '$segmentValue.',\r\n\t\t}\r\n\r\n\t\tvar textArray = announcementArray.map(function(providedString){\r\n\t\t\tif (announcements[providedString]) {\r\n\t\t\t\treturn announcements[providedString];\r\n\t\t\t}\r\n\t\t\treturn providedString;\r\n\t\t});\r\n\r\n\t\tvar fullValue = $input.value.replace(/--/g,'blank');\r\n\r\n\t\tvar html = '' + textArray.join('
') + '
';\r\n\t\thtml = html.replace(/\\$label/g, $input.polyfill.label);\r\n\t\thtml = html.replace(/\\$segmentName/g, segmentName);\r\n\t\thtml = html.replace(/\\$segmentValue/g, finalValue);\r\n\t\thtml = html.replace(/\\$fullValue/g, fullValue);\r\n\r\n\t\t$input.polyfill.$a11y.innerHTML = html;\r\n\t}, 1);\r\n}\r\n","\r\nmodule.exports = function convert_hours_to_12hr_time (hours) {\r\n\treturn hours <= 12 ? hours === 0 ? 12 : hours : hours - 12;\r\n}\r\n","\r\nmodule.exports = function convert_number (number) {\r\n\treturn isNaN(number) ? number : parseInt(number);\r\n}\r\n","\r\nvar convert_number = require('./convert_number');\r\nvar convert_hours_to_12hr_time = require('./convert_hours_to_12hr_time');\r\nvar leading_zero = require('./leading_zero');\r\n\r\nmodule.exports = function convert_to_12hr_time (timeString_24hr) {\r\n\tif (timeString_24hr === '') return '--:-- --';\r\n\tvar twentyFour_regex = /([0-9]{2})\\:([0-9]{2})/;\r\n\tvar result = twentyFour_regex.exec(timeString_24hr);\r\n\tvar hrs_24 = convert_number(result[1]);\r\n\tvar min = result[2];\r\n\tvar hrs_12 = convert_hours_to_12hr_time(hrs_24);\r\n\tvar isPM = hrs_24 > 12;\r\n\tvar mode = isPM ? 'PM' : 'AM';\r\n\treturn [leading_zero(hrs_12), ':', min, ' ', mode].join('');\r\n}\r\n","\r\nvar leading_zero = require('./leading_zero');\r\n\r\nmodule.exports = function convert_to_24hr_time (timeString_12hr) {\r\n\tif (/-/.test(timeString_12hr)) return '';\r\n\tvar isPM = timeString_12hr.indexOf('PM') > -1;\r\n\tvar timeResult = /^([0-9]{2})/.exec(timeString_12hr);\r\n\tvar hrs = timeResult ? parseInt(timeResult[1]) : '';\r\n\tvar newHrs;\r\n\tif (hrs === 12) {\r\n\t\tnewHrs = isPM ? 12 : 0;\r\n\t} else {\r\n\t\tnewHrs = isPM ? hrs + 12 : hrs;\r\n\t}\r\n\tvar finalHrs = newHrs === 24 ? 0 : newHrs;\r\n\tvar timeRegEx = /^[0-9]{2}:([0-9]{2}) (AM|PM)/;\r\n\treturn timeString_12hr.replace(timeRegEx, leading_zero(finalHrs)+':$1');\r\n}\r\n","\r\nmodule.exports = function leading_zero (number) {\r\n\tif (isNaN(number)) return number;\r\n\tvar purified = parseInt(number);\r\n\treturn purified < 10 ? '0' + purified : number;\r\n}\r\n","\r\nmodule.exports = function(array){\r\n\treturn Array.prototype.slice.call(array, 0);\r\n}\r\n","\r\nvar values = require('../helpers/values');\r\n\r\nvar select_segment = require('../selectors/select_segment');\r\n\r\nvar next_segment = require('../selectors/next_segment');\r\nvar prev_segment = require('../selectors/prev_segment');\r\nvar select_cursor_segment = require('../selectors/select_cursor_segment');\r\n\r\nvar get_current_segment = require('../getters/get_current_segment');\r\n\r\nvar reset = require('../setters/reset');\r\nvar manual_number_entry = require('../setters/manual_number_entry');\r\nvar clear_segment = require('../setters/clear_segment');\r\nvar increment_current_segment = require('../setters/increment_current_segment');\r\nvar decrement_current_segment = require('../setters/decrement_current_segment');\r\nvar set_mode = require('../setters/set_mode');\r\nvar switch_times = require('../setters/switch_times');\r\n\r\nvar handle_tab = require('../events/handle_tab');\r\n\r\nvar all_number_keys = require('../static-values/all_number_keys');\r\nvar named_keys = require('../static-values/named_keys');\r\n\r\nvar update_a11y = require('../accessibility/update_a11y');\r\n\r\nmodule.exports = function bind_events ($input) {\r\n\r\n\tvar prev_value = '';\r\n\r\n\tvar shiftKey = false;\r\n\r\n\tdocument.addEventListener('keydown', function(e){\r\n\t\tshiftKey = e.shiftKey;\r\n\t})\r\n\tdocument.addEventListener('keyup', function(e){\r\n\t\tshiftKey = e.shiftKey;\r\n\t})\r\n\r\n\tif ($input.form) {\r\n\t\t$input.form.addEventListener('submit', function(){\r\n\t\t\tauto_swap($input);\r\n\t\t})\r\n\t}\r\n\r\n\tvar focused_via_click = false;\r\n\r\n\t$input.addEventListener('mousedown', function(){\r\n\t\tfocused_via_click = true;\r\n\t});\r\n\r\n\t// Turns the IE clear button into a reset button\r\n\t$input.addEventListener('mouseup', function(){\r\n\t\tsetTimeout(function(){\r\n\t\t\tif ($input.value === '') reset($input);\r\n\t\t}, 1)\r\n\t});\r\n\r\n\t$input.addEventListener('click', function(e){\r\n\t\tselect_cursor_segment($input);\r\n\t});\r\n\r\n\t$input.addEventListener('blur', function(){\r\n\t\tvar current_value = $input.dataset.value;\r\n\t\tif (current_value !== prev_value) {\r\n\t\t\tprev_value = current_value;\r\n\t\t}\r\n\t\tfocused_via_click = false;\r\n\t});\r\n\r\n\t$input.addEventListener('focus', function(e){\r\n\t\tif (!focused_via_click) {\r\n\t\t\te.preventDefault();\r\n\t\t\tvar segment = shiftKey ? 'mode' : 'hrs';\r\n\t\t\tselect_segment($input, segment);\r\n\t\t}\r\n\t\tupdate_a11y($input, [\r\n\t\t\t'initial',\r\n\t\t\t'select'\r\n\t\t])\r\n\t});\r\n\r\n\t$input.addEventListener('keydown', function(e) {\r\n\t\tvar is_enter_key = e.which === 13;\r\n\t\tif (is_enter_key) return true;\r\n\r\n\t\tvar is_number_key = all_number_keys.indexOf(e.which) > -1;\r\n\t\tvar is_named_key = values(named_keys).indexOf(e.which) > -1;\r\n\t\tvar is_arrow_key = [named_keys.ArrowDown, named_keys.ArrowRight, named_keys.ArrowUp, named_keys.ArrowLeft].indexOf(e.which) > -1;\r\n\t\tvar is_mode_key = [named_keys.a, named_keys.p].indexOf(e.which) > -1;\r\n\t\tvar is_delete_key = [named_keys.Delete, named_keys.Backspace].indexOf(e.which) > -1;\r\n\r\n\t\tif (!is_named_key || is_arrow_key || is_number_key || is_mode_key || is_delete_key) { e.preventDefault(); }\r\n\r\n\t\tif (is_number_key) {\r\n\t\t\tmanual_number_entry($input, e.which);\r\n\t\t}\r\n\r\n\t\tif (is_delete_key) {\r\n\t\t\tvar segment = get_current_segment($input);\r\n\t\t\tclear_segment($input, segment);\r\n\t\t}\r\n\r\n\t\tswitch (e.which) {\r\n\t\t\tcase named_keys.ArrowRight: next_segment($input); break;\r\n\t\t\tcase named_keys.ArrowLeft: prev_segment($input); break;\r\n\t\t\tcase named_keys.ArrowUp: increment_current_segment($input); break;\r\n\t\t\tcase named_keys.ArrowDown: decrement_current_segment($input); break;\r\n\t\t\tcase named_keys.Escape: reset($input); break;\r\n\t\t\tcase named_keys.a: set_mode($input, 'AM'); break;\r\n\t\t\tcase named_keys.p: set_mode($input, 'PM'); break;\r\n\t\t\tcase named_keys.Tab: handle_tab($input, e); break;\r\n\t\t}\r\n\t})\r\n}\r\n\r\nfunction auto_swap($input) {\r\n\tif ($input.polyfill.autoSwap) {\r\n\t\tswitch_times($input, 24);\r\n\t\tsetTimeout(function(){\r\n\t\t\tswitch_times($input, 12);\r\n\t\t}, 1);\r\n\t}\r\n}\r\n","\r\nmodule.exports = function create_event(eventName){\r\n\tvar event = document.createEvent('Event');\r\n\tevent.initEvent(eventName, true, true);\r\n\treturn event;\r\n}\r\n","\r\nvar get_current_segment = require('../getters/get_current_segment');\r\nvar prev_segment = require('../selectors/prev_segment');\r\nvar next_segment = require('../selectors/next_segment');\r\n\r\nmodule.exports = function handle_tab($input, e) {\r\n\tvar current_segment = get_current_segment($input);\r\n\tvar backwards_and_first = e.shiftKey && current_segment === 'hrs';\r\n\tvar forwards_and_last = !e.shiftKey && current_segment === 'mode';\r\n\r\n\tif (!backwards_and_first && !forwards_and_last) {\r\n\t\te.preventDefault();\r\n\t\tif (e.shiftKey) {\r\n\t\t\tprev_segment($input);\r\n\t\t} else {\r\n\t\t\tnext_segment($input);\r\n\t\t}\r\n\t}\r\n}\r\n","\r\nvar trigger_event = require('./trigger_event');\r\n\r\n// It seems that oninput and onchange are treated the same way by browsers :/\r\nmodule.exports = function trigger_both_events($input) {\r\n\t// the event only ever fires if there is a full valid value available\r\n\ttrigger_event($input, 'input');\r\n\ttrigger_event($input,'change');\r\n}\r\n","\r\nvar create_event = require('./create_event');\r\n\r\nvar inputEvent = create_event('input');\r\nvar changeEvent = create_event('change');\r\n\r\nmodule.exports = function trigger_event($input, eventName) {\r\n\tvar event = {\r\n\t\tinput: inputEvent,\r\n\t\tchange: changeEvent,\r\n\t}[eventName];\r\n\r\n\tif (can_trigger_change($input)) {\r\n\t\t$input.dispatchEvent(event);\r\n\t}\r\n}\r\n\r\n// Browsers only send out input and change events if the time element has a full valid value\r\nfunction can_trigger_change ($input) {\r\n\treturn !/--/.test($input.value);\r\n}\r\n","// selector is optional, it allows for an early exit\r\nmodule.exports = function ($input, selectorString) {\r\n\tvar $elem = $input;\r\n\r\n\t// https://stackoverflow.com/a/8729274/1611058\r\n\tvar ancestors = [];\r\n\twhile ($elem) {\r\n\t\tancestors.push($elem);\r\n\t\tvar matchesSelector = $elem.msMatchesSelector ?\r\n\t\t\t$elem.msMatchesSelector(selectorString) :\r\n\t\t\t$elem.matches(selectorString);\r\n\t\tif (matchesSelector) {\r\n\t\t\treturn ancestors;\r\n\t\t}\r\n\t\t$elem = $elem.parentElement;\r\n\t}\r\n\r\n\treturn ancestors;\r\n}\r\n","\r\nvar ranges = require('../static-values/ranges');\r\nvar get_selected_range = require('./get_selected_range');\r\n\r\nmodule.exports = function get_current_segment ($input) {\r\n\tvar selection = get_selected_range($input);\r\n\tfor (var segment in ranges) {\r\n\t\tvar range = ranges[segment];\r\n\t\tvar aboveMin = range.start <= selection.start;\r\n\t\tvar belowMax = range.end >= selection.end;\r\n\t\tif (aboveMin && belowMax) {\r\n\t\t\treturn segment;\r\n\t\t}\r\n\t}\r\n\treturn 'hrs';\r\n}\r\n","\r\nvar get_ancestors = require('./get_ancestors');\r\n\r\nmodule.exports = function get_label ($input) {\r\n\r\n\tvar labelText =\r\n\t\taria_labelledby($input) ||\r\n\t\taria_label($input) ||\r\n\t\tfor_attribute($input) ||\r\n\t\tlabel_wrapper_element($input) ||\r\n\t\ttitle_attribute($input);\r\n\r\n\tif (labelText) return labelText;\r\n\r\n\tconsole.error('Label text for input not found.', $input);\r\n\tthrow new Error('Cannot polyfill time input due to a missing label.');\r\n}\r\n\r\nfunction aria_labelledby($input){\r\n\tvar ariaLabelByID = $input.getAttribute('aria-labelledby');\r\n\tif (ariaLabelByID) {\r\n\t\tvar $ariaLabelBy = document.getElementById(ariaLabelByID);\r\n\t\tif ($ariaLabelBy) return $ariaLabelBy.textContent;\r\n\t}\r\n\treturn false;\r\n}\r\n\r\nfunction aria_label($input){\r\n\tvar ariaLabel = $input.getAttribute('aria-label');\r\n\tif (ariaLabel) return ariaLabel;\r\n\treturn false;\r\n}\r\n\r\nfunction for_attribute($input){\r\n\tif ($input.id) {\r\n\t\tvar $forLabel = document.querySelector('label[for=\"'+$input.id+'\"]');\r\n\t\tif ($forLabel) return $forLabel.textContent;\r\n\t}\r\n\treturn false;\r\n}\r\n\r\nfunction label_wrapper_element($input){\r\n\tvar ancestors = get_ancestors($input, 'label');\r\n\tvar $parentLabel = ancestors[ancestors.length - 1];\r\n\tif ($parentLabel.nodeName == 'LABEL') return $parentLabel.textContent;\r\n\treturn false\r\n}\r\n\r\nfunction title_attribute($input){\r\n\tvar titleLabel = $input.getAttribute('title');\r\n\tif (titleLabel) return titleLabel;\r\n\treturn false\r\n}\r\n","\r\nmodule.exports = function get_selected_range ($input) {\r\n\treturn { start: $input.selectionStart, end: $input.selectionEnd };\r\n}\r\n","\r\nvar convert_number = require('../converters/convert_number');\r\n\r\nmodule.exports = function get_values ($input, timeString) {\r\n\tvar value = timeString ? timeString : $input.value;\r\n\tvar regEx = /([0-9-]{1,2})\\:([0-9-]{1,2})\\s?(AM|PM|\\-\\-)?/;\r\n\tvar result = regEx.exec(value);\r\n\r\n\treturn {\r\n\t\thrs: convert_number(result[1]),\r\n\t\tmin: convert_number(result[2]),\r\n\t\tmode: result[3],\r\n\t}\r\n}\r\n","\r\nvar manual_entry_log = [];\r\n\r\nfunction clear () {\r\n\tmanual_entry_log = [];\r\n}\r\n\r\nfunction add (entry) {\r\n\tmanual_entry_log.push(entry);\r\n}\r\n\r\nfunction items(){\r\n\treturn manual_entry_log;\r\n}\r\n\r\nmodule.exports = {\r\n\titems: items,\r\n\tclear: clear,\r\n\tadd: add,\r\n}\r\n","\r\n// IE11 doesn't support Object.values()\r\nmodule.exports = function values (obj) {\r\n\tvar key_values = [];\r\n\tfor (var key in obj) {\r\n\t\tkey_values.push(obj[key]);\r\n\t}\r\n\treturn key_values;\r\n}\r\n","\r\nvar toArray = require('../converters/toArray');\r\n\r\nmodule.exports = function _$$ (selector) {\r\n\tvar elements = document.querySelectorAll(selector);\r\n\treturn toArray(elements);\r\n}\r\n","\r\nvar traverse = require('./traverse');\r\n\r\nmodule.exports = function next_segment ($input) {\r\n\ttraverse($input, 'next');\r\n}\r\n","\r\nvar traverse = require('./traverse');\r\n\r\nmodule.exports = function prev_segment ($input) {\r\n\ttraverse($input, 'prev');\r\n}\r\n","\r\nvar get_current_segment = require('../getters/get_current_segment');\r\nvar select_segment = require('./select_segment');\r\n\r\nmodule.exports = function select_cursor_segment ($input) {\r\n\tvar current_segment = get_current_segment($input);\r\n\tselect_segment($input, current_segment);\r\n}\r\n","\r\nmodule.exports = function select_segment ($input, segment) {\r\n\r\n\tset_input_type();\r\n\r\n\tvar actions = {\r\n\t\thrs: select(0, 2),\r\n\t\tmin: select(3, 5),\r\n\t\tmode: select(6, 8),\r\n\t};\r\n\r\n\tactions[segment]($input);\r\n\r\n\tfunction set_input_type() {\r\n\t\tvar type = segment === 'mode' ? 'text' : 'tel';\r\n\t\t$input.setAttribute('type', type);\r\n\t}\r\n\r\n\tfunction select (start, end) {\r\n\t\treturn function () {\r\n\t\t\t$input.setSelectionRange(start, end);\r\n\t\t}\r\n\t}\r\n}\r\n","\r\nvar get_current_segment = require('../getters/get_current_segment');\r\nvar select_segment = require('../selectors/select_segment');\r\n\r\nvar manual_entry_log = require('../helpers/manual_entry_log');\r\nvar segments = require('../static-values/segments');\r\n\r\nvar update_a11y = require('../accessibility/update_a11y');\r\n\r\nmodule.exports = function traverse ($input, direction) {\r\n\tvar segment = get_current_segment($input);\r\n\r\n\tvar modifier = direction === 'next' ? 1 : -1;\r\n\tvar next_segment_index = segments.indexOf(segment) + modifier;\r\n\r\n\tvar next_segment = {\r\n\t\tnext: segments[next_segment_index] || 'mode',\r\n\t\tprev: next_segment_index < 0 ? 'hrs' : segments[next_segment_index],\r\n\t}[direction];\r\n\r\n\tselect_segment($input, next_segment);\r\n\tmanual_entry_log.clear();\r\n\tupdate_a11y($input, ['select'])\r\n}\r\n","\r\n// I need to keep this separate from reset so that\r\n// I can reset without attracting focus\r\n\r\nvar set_data_attribute = require('../setters/set_data_attribute');\r\nvar trigger_both_events = require('../events/trigger_both_events');\r\n\r\nmodule.exports = function apply_default ($input) {\r\n\t$input.value = '--:-- --';\r\n\tset_data_attribute($input, '');\r\n\ttrigger_both_events($input);\r\n}\r\n","\r\nvar set_segment = require('./set_segment');\r\nvar update_a11y = require('../accessibility/update_a11y');\r\n\r\nmodule.exports = function clear_segment ($input, segment) {\r\n\tset_segment($input, segment, '--');\r\n\tupdate_a11y($input, ['update']);\r\n}\r\n","\r\nvar switch_mode = require('./switch_mode');\r\nvar nudge_time_segment = require('./nudge_time_segment');\r\nvar update_a11y = require('../accessibility/update_a11y');\r\n\r\nmodule.exports = function decrement ($input, segment) {\r\n\tif (segment === 'mode') {\r\n\t\tswitch_mode($input, 'PM')\r\n\t} else {\r\n\t\tnudge_time_segment($input, segment, 'down');\r\n\t}\r\n\tupdate_a11y($input, ['update']);\r\n}\r\n","\r\nvar get_current_segment = require('../getters/get_current_segment');\r\nvar decrement = require('../setters/decrement');\r\n\r\nmodule.exports = function decrement_current_segment ($input){\r\n\tvar current_segment = get_current_segment($input);\r\n\tdecrement($input, current_segment);\r\n}\r\n","\r\nvar switch_mode = require('./switch_mode');\r\nvar nudge_time_segment = require('./nudge_time_segment');\r\nvar update_a11y = require('../accessibility/update_a11y');\r\n\r\nmodule.exports = function increment ($input, segment) {\r\n\tif (segment === 'mode') {\r\n\t\tswitch_mode($input, 'AM')\r\n\t} else {\r\n\t\tnudge_time_segment($input, segment, 'up');\r\n\t}\r\n\tupdate_a11y($input, ['update']);\r\n}\r\n\r\n","\r\nvar get_current_segment = require('../getters/get_current_segment');\r\nvar increment = require('../setters/increment');\r\n\r\nmodule.exports = function increment_current_segment ($input) {\r\n\tvar current_segment = get_current_segment($input);\r\n\tincrement($input, current_segment);\r\n}\r\n","\r\nvar get_current_segment = require('../getters/get_current_segment');\r\nvar set_segment = require('./set_segment');\r\nvar next_segment = require('../selectors/next_segment');\r\n\r\nvar manual_entry_log = require('../helpers/manual_entry_log');\r\nvar sorted_number_keys = require('../static-values/sorted_number_keys');\r\n\r\nmodule.exports = function manual_number_entry($input, key) {\r\n\tvar key_value = sorted_number_keys[key];\r\n\tvar segment = get_current_segment($input);\r\n\r\n\tif (segment !== 'mode') {\r\n\t\tvar entry_count = manual_entry_log.items().length;\r\n\r\n\t\tvar upper_limits = {\r\n\t\t\thrs: [1,2],\r\n\t\t\tmin: [5,9],\r\n\t\t}\r\n\t\tvar limit = upper_limits[segment][entry_count];\r\n\r\n\t\tif (entry_count < 2) {\r\n\t\t\tmanual_entry_log.add(key_value);\r\n\t\t}\r\n\r\n\t\tvar full_limit = parseInt(upper_limits[segment].join(''));\r\n\t\tvar full_entry = parseInt(manual_entry_log.items().join(''));\r\n\r\n\t\tif (full_limit >= full_entry) {\r\n\t\t\tset_segment($input, segment, full_entry);\r\n\t\t}\r\n\r\n\t\tvar at_limit = key_value > limit || manual_entry_log.items().length === 2;\r\n\r\n\t\tif (at_limit) {\r\n\t\t\tnext_segment($input);\r\n\t\t}\r\n\t}\r\n}\r\n","\r\nvar get_values = require('../getters/get_values');\r\nvar convert_hours_to_12hr_time = require('../converters/convert_hours_to_12hr_time');\r\nvar leading_zero = require('../converters/leading_zero');\r\nvar set_segment = require('./set_segment');\r\n\r\nmodule.exports = function nudge_time_segment ($input, segment, direction) {\r\n\tvar current_values = get_values($input);\r\n\tvar time;\r\n\r\n\tvar modifier = direction === 'up' ? 1 : -1;\r\n\r\n\tif (current_values[segment] === '--') {\r\n\t\tvar current_time = new Date();\r\n\t\ttime = {\r\n\t\t\thrs: convert_hours_to_12hr_time(current_time.getHours()),\r\n\t\t\tmin: current_time.getMinutes(),\r\n\t\t}\r\n\t} else {\r\n\t\tvar minutes = {\r\n\t\t\tup : current_values.min < 59 ? current_values.min + modifier : 0,\r\n\t\t\tdown : current_values.min === 0 ? 59 : current_values.min + modifier,\r\n\t\t}\r\n\t\ttime = {\r\n\t\t\thrs: convert_hours_to_12hr_time(current_values.hrs + modifier),\r\n\t\t\tmin: minutes[direction],\r\n\t\t}\r\n\t}\r\n\r\n\tset_segment($input, segment, leading_zero(time[segment]) );\r\n}\r\n","\r\nvar apply_default = require('./apply_default');\r\nvar select_segment = require('../selectors/select_segment');\r\n\r\nmodule.exports = function reset ($input) {\r\n\tapply_default($input);\r\n\tselect_segment($input, 'hrs');\r\n}\r\n","\r\nvar convert_to_24hr_time = require('../converters/convert_to_24hr_time')\r\n\r\nmodule.exports = function set_data_attribute($input, timeString_12hr){\r\n\tvar filteredString = timeString_12hr.indexOf('-') > -1 ? '' : timeString_12hr;\r\n\tvar time24hr = convert_to_24hr_time(filteredString);\r\n\t$input.setAttribute('data-value', time24hr);\r\n}\r\n","\r\nvar get_current_segment = require('../getters/get_current_segment');\r\nvar set_segment = require('./set_segment');\r\n\r\nmodule.exports = function set_mode ($input, type) {\r\n\tvar segment = get_current_segment($input);\r\n\tif (segment === 'mode') {\r\n\t\tset_segment($input, segment, type);\r\n\t}\r\n}\r\n","\r\nvar get_values = require('../getters/get_values');\r\nvar leading_zero = require('../converters/leading_zero');\r\nvar select_segment = require('../selectors/select_segment');\r\nvar set_data_attribute = require('./set_data_attribute');\r\nvar trigger_both_events = require('../events/trigger_both_events');\r\n\r\nmodule.exports = function set_segment ($input, segment, value) {\r\n\tvar values = get_values($input);\r\n\tvalues[segment] = value;\r\n\tvar newInputVal = [\r\n\t\tleading_zero(values.hrs),':',\r\n\t\tleading_zero(values.min),' ',\r\n\t\tvalues.mode\r\n\t].join('');\r\n\t$input.value = newInputVal;\r\n\tselect_segment($input, segment);\r\n\tset_data_attribute($input, newInputVal);\r\n\ttrigger_both_events($input);\r\n}\r\n","\r\nvar convert_to_12hr_time = require('../converters/convert_to_12hr_time');\r\nvar set_data_attribute = require('../setters/set_data_attribute');\r\n\r\nmodule.exports = function set_time($input, time_string_24hr) {\r\n\tvar twelveHr = convert_to_12hr_time(time_string_24hr);\r\n\t$input.value = twelveHr;\r\n\tset_data_attribute($input, time_string_24hr);\r\n}\r\n","\r\nvar get_values = require('../getters/get_values');\r\nvar set_segment = require('./set_segment');\r\n\r\nmodule.exports = function switch_mode ($input, default_mode) {\r\n\tdefault_mode = default_mode || 'AM';\r\n\tvar current_mode = get_values($input).mode;\r\n\tvar new_mode = {\r\n\t\t'--' : default_mode,\r\n\t\t'AM' : 'PM',\r\n\t\t'PM' : 'AM',\r\n\t}[current_mode];\r\n\tset_segment($input, 'mode', new_mode);\r\n}\r\n","\r\nvar switch_to_data_value = require('./switch_to_data_value');\r\nvar set_time = require('./set_time');\r\n\r\nmodule.exports = function switch_times ($input, format) {\r\n\tvar is12hr = /\\s/.test($input.value);\r\n\r\n\tif (format != 12 && format != 24) {\r\n\t\tformat = is12hr ? 24 : 12;\r\n\t}\r\n\r\n\tvar actions = {\r\n\t\t12: function(){\r\n\t\t\tif (!is12hr) {\r\n\t\t\t\tset_time($input, $input.dataset.value);\r\n\t\t\t}\r\n\t\t},\r\n\t\t24: function(){\r\n\t\t\tif (is12hr) {\r\n\t\t\t\tswitch_to_data_value($input);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\tactions[format]();\r\n}\r\n","\r\nmodule.exports = function($input) {\r\n\tvar replacementVal = $input.dataset.value;\r\n\t$input.value = replacementVal;\r\n}\r\n","\r\nvar set_time = require('../setters/set_time');\r\n\r\nmodule.exports = function update_time($input) {\r\n\tset_time($input, $input.value);\r\n\treturn $input;\r\n}\r\n","var all_number_keys = [\r\n // 0, 1, 2, 3, 4, 5, 6, 7, 8, 9\r\n 48, 49, 50, 51, 52, 53, 54, 55, 56, 57,\r\n 96, 97, 98, 99,100,101,102,103,104,105\r\n];\r\n\r\nmodule.exports = all_number_keys;\r\n","var named_keys = {\r\n\tArrowDown: 40,\r\n\tArrowRight: 39,\r\n\tArrowUp: 38,\r\n\tArrowLeft: 37,\r\n\tBackspace: 8,\r\n\tDelete: 46,\r\n\tTab: 9,\r\n\tShift: 16,\r\n\tEscape: 27,\r\n\ta: 65,\r\n\tp: 80,\r\n}\r\n\r\nmodule.exports = named_keys;\r\n","\r\nvar ranges = {\r\n\thrs : { start: 0, end: 2 },\r\n\tmin : { start: 3, end: 5 },\r\n\tmode : { start: 6, end: 8 },\r\n}\r\n\r\nmodule.exports = ranges;\r\n","\r\nvar ranges = require('./ranges');\r\n\r\nvar segments = Object.keys(ranges);\r\n\r\nmodule.exports = segments;\r\n","\r\nvar all_number_keys = require('./all_number_keys');\r\n\r\nvar sorted_number_keys = {};\r\n// sorted_number_keys = { 48: 0, 49: 1, 96: 0, 97: 1, ... };\r\nall_number_keys.forEach(function(key, index) {\r\n\tvar number_val = index > 9 ? index - 10 : index;\r\n\tsorted_number_keys[key] = number_val;\r\n});\r\n\r\nmodule.exports = sorted_number_keys;\r\n","\r\nvar apply_default = require('./core/setters/apply_default');\r\nvar update_time = require('./core/setters/update_time');\r\nvar set_data_attribute = require('./core/setters/set_data_attribute');\r\nvar bind_events = require('./core/events/bind_events');\r\nvar switch_times = require('./core/setters/switch_times');\r\nvar get_label = require('./core/getters/get_label');\r\n\r\nvar create_a11y_block = require('./core/accessibility/create_a11y_block');\r\n\r\nvar accessibility_block_created = false;\r\nvar $a11y;\r\n\r\nfunction TimePolyfill($input) {\r\n\r\n\t$input.setAttribute('autocomplete','off');\r\n\r\n\t// Prevent screen reader from announcing the default stuff\r\n\t$input.setAttribute('aria-hidden', true);\r\n\r\n\tif (!accessibility_block_created) {\r\n\t\t$a11y = create_a11y_block();\r\n\t\taccessibility_block_created = true;\r\n\t}\r\n\r\n\tvar label = get_label($input);\r\n\r\n\t$input.polyfill = {\r\n\t\t$a11y: $a11y,\r\n\t\tlabel: label,\r\n\t\tautoSwap: true,\r\n\t\tupdate: function() {\r\n\t\t\tupdate_time($input);\r\n\t\t},\r\n\t\tswap: function(forcedFormat) {\r\n\t\t\tswitch_times($input, forcedFormat);\r\n\t\t}\r\n\t}\r\n\r\n\tif ($input.value === '' || /--/.test($input.value)) {\r\n\t\tapply_default($input);\r\n\t\tset_data_attribute($input, '');\r\n\t} else {\r\n\t\tupdate_time($input);\r\n\t\tset_data_attribute($input, $input.value);\r\n\t}\r\n\r\n\tbind_events($input);\r\n}\r\n\r\nif (window) window.TimePolyfill = TimePolyfill;\r\nif (module) module.exports = TimePolyfill;\r\n","\r\nmodule.exports = function($result, values){\r\n\tvar $list = $result.querySelector('.result__list');\r\n\tvar $close = $result.querySelector('.result__close');\r\n\r\n\tvar html = '';\r\n\tfor (var label in values) {\r\n\t\tvar value = values[label].replace(/^$/,'blank ');\r\n\t\thtml = html + [\r\n\t\t\t'',\r\n\t\t\t\t'
',label,' ',\r\n\t\t\t\t'\"',value,'\" ',\r\n\t\t\t''\r\n\t\t].join('');\r\n\t}\r\n\t$list.innerHTML = html;\r\n\t$result.classList.add('-visible');\r\n\r\n\t$close.onclick = function(){\r\n\t\t$result.classList.remove('-visible');\r\n\t}\r\n}\r\n","\r\n//Code for tracking Google Analytics events\r\nmodule.exports = function GA_trackEvent(action, categoryLabelValue) {\r\n\r\n\tif (typeof gtag !== 'undefined') {\r\n\r\n\t\tif (categoryLabelValue) {\r\n\t\t\tgtag('event', action, {\r\n\t\t\t\tevent_category: categoryLabelValue[0],\r\n\t\t\t\tevent_label: categoryLabelValue[1],\r\n\t\t\t\tvalue: categoryLabelValue[2],\r\n\t\t\t});\r\n\t\t} else {\r\n\t\t\tgtag('event', action);\r\n\t\t}\r\n\r\n\t} else {\r\n\t\tcategoryLabelValue = {};\r\n\t\tvar data = {\r\n\t\t\taction: action,\r\n\t\t\tevent_category: categoryLabelValue.category || 'general',\r\n\t\t\tevent_label: categoryLabelValue.label || '(not set)',\r\n\t\t\tvalue: categoryLabelValue.value\r\n\t\t}\r\n\r\n\t\tconsole.log(\"GA event =\", data, '* = required');\r\n\t}\r\n}\r\n","// Main javascript entry point\r\n// Should handle bootstrapping/starting application\r\n\r\n'use strict';\r\n\r\n// Time input polyfill\r\nvar TimePolyfill = require('../../index');\r\nvar _$$ = require('../../core/selectors/_$$');\r\nvar toArray = require('../../core/converters/toArray');\r\n\r\nvar result = require('../_modules/result/result');\r\n\r\nvar ga = require('./_helpers/gtag');\r\n\r\ndocument.addEventListener(\"DOMContentLoaded\", function() {\r\n\t// var $$timeInputs = _$$('input[type=\"time\"]');\r\n\tvar $$timeInputs = _$$('input.time');\r\n\t$$timeInputs.forEach(function (element) {\r\n\t\tnew TimePolyfill(element);\r\n\r\n\t\t// Disable auto swap\r\n\t\t// element.polyfill.autoSwap = false;\r\n\r\n\t\telement.oninput = function(){\r\n\t\t\tconsole.log('input', element.dataset.value);\r\n\t\t}\r\n\t\telement.onchange = function(){\r\n\t\t\tconsole.log('change', element.dataset.value);\r\n\t\t}\r\n\r\n\t\telement.addEventListener('change', function(){\r\n\t\t\tconsole.log('listener change');\r\n\t\t});\r\n\t\telement.addEventListener('input', function(){\r\n\t\t\tconsole.log('listener input');\r\n\t\t});\r\n\t});\r\n\r\n\tdocument.querySelector('form').onsubmit = function(e){\r\n\t\te.preventDefault();\r\n\t\tvar labels = get_labels(this);\r\n\t\tvar values = get_values(this, labels);\r\n\t\tvar $result = document.querySelector('.result');\r\n\r\n\t\tga('form submit');\r\n\r\n\t\tresult($result, values);\r\n\t\t$result.focus();\r\n\r\n\t\tfunction get_labels (form) {\r\n\t\t\tvar labelList = [];\r\n\t\t\ttoArray(form.children).forEach(function(element){\r\n\t\t\t\tvar $label = element.querySelector('label');\r\n\t\t\t\tif ($label) {\r\n\t\t\t\t\tlabelList.push($label.textContent);\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\treturn labelList;\r\n\t\t}\r\n\r\n\t\tfunction get_values (form, labels) {\r\n\t\t\tvar valuesList = {};\r\n\t\t\ttoArray(form.elements).forEach(function(element, i){\r\n\t\t\t\tif (element.nodeName === 'INPUT') {\r\n\t\t\t\t\tvaluesList[labels[i]] = element.value\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\treturn valuesList;\r\n\t\t}\r\n\t}\r\n\r\n});\r\n"],"sourceRoot":"/source/"}
\ No newline at end of file
+{"version":3,"sources":["src/_scripts/node_modules/browser-pack/_prelude.js","src/_scripts/core/accessibility/create_a11y_block.js","src/_scripts/main.js","src/_scripts/core/accessibility/update_a11y.js","src/_scripts/core/converters/convert_hours_to_12hr_time.js","src/_scripts/core/converters/convert_number.js","src/_scripts/core/converters/convert_to_12hr_time.js","src/_scripts/core/converters/convert_to_24hr_time.js","src/_scripts/core/converters/leading_zero.js","src/_scripts/core/converters/toArray.js","src/_scripts/core/events/bind_events.js","src/_scripts/core/events/create_event.js","src/_scripts/core/events/handle_tab.js","src/_scripts/core/events/trigger_both_events.js","src/_scripts/core/events/trigger_event.js","src/_scripts/core/getters/get_ancestors.js","src/_scripts/core/getters/get_current_segment.js","src/_scripts/core/getters/get_label.js","src/_scripts/core/getters/get_selected_range.js","src/_scripts/core/getters/get_values.js","src/_scripts/core/helpers/manual_entry_log.js","src/_scripts/core/helpers/values.js","src/_scripts/core/selectors/_$$.js","src/_scripts/core/selectors/next_segment.js","src/_scripts/core/selectors/prev_segment.js","src/_scripts/core/selectors/select_cursor_segment.js","src/_scripts/core/selectors/select_segment.js","src/_scripts/core/selectors/traverse.js","src/_scripts/core/setters/apply_default.js","src/_scripts/core/setters/clear_segment.js","src/_scripts/core/setters/decrement.js","src/_scripts/core/setters/decrement_current_segment.js","src/_scripts/core/setters/increment.js","src/_scripts/core/setters/increment_current_segment.js","src/_scripts/core/setters/manual_number_entry.js","src/_scripts/core/setters/nudge_time_segment.js","src/_scripts/core/setters/reset.js","src/_scripts/core/setters/set_data_attribute.js","src/_scripts/core/setters/set_mode.js","src/_scripts/core/setters/set_segment.js","src/_scripts/core/setters/set_time.js","src/_scripts/core/setters/switch_mode.js","src/_scripts/core/setters/switch_times.js","src/_scripts/core/setters/switch_to_data_value.js","src/_scripts/core/setters/update_time.js","src/_scripts/core/static-values/all_number_keys.js","src/_scripts/core/static-values/named_keys.js","src/_scripts/core/static-values/ranges.js","src/_scripts/core/static-values/segments.js","src/_scripts/core/static-values/sorted_number_keys.js","src/_scripts/index.js","src/_scripts/src/_modules/result/result.js","src/_scripts/src/_scripts/_helpers/gtag.js","src/_scripts/src/_scripts/main.js"],"names":["r","e","n","t","o","i","f","c","require","u","a","Error","code","p","exports","call","length","1","module","$block","document","createElement","setAttribute","classList","add","querySelector","appendChild","2","get_current_segment","get_values","$input","announcementArray","setTimeout","current_segment","values","value","finalValue","segmentName","hrs","min","mode","announcements","initial","select","update","textArray","map","providedString","fullValue","replace","html","join","polyfill","label","$a11y","innerHTML","../getters/get_current_segment","../getters/get_values","3","hours","4","number","isNaN","parseInt","5","convert_number","convert_hours_to_12hr_time","leading_zero","timeString_24hr","twentyFour_regex","result","exec","hrs_24","hrs_12","isPM","./convert_hours_to_12hr_time","./convert_number","./leading_zero","6","timeString_12hr","test","newHrs","indexOf","timeResult","finalHrs","timeRegEx","7","purified","8","array","Array","prototype","slice","9","auto_swap","autoSwap","switch_times","select_segment","next_segment","prev_segment","select_cursor_segment","reset","manual_number_entry","clear_segment","increment_current_segment","decrement_current_segment","set_mode","handle_tab","all_number_keys","named_keys","update_a11y","prev_value","shiftKey","addEventListener","form","focused_via_click","current_value","dataset","preventDefault","segment","is_enter_key","which","is_number_key","is_named_key","is_arrow_key","ArrowDown","ArrowRight","ArrowUp","ArrowLeft","is_mode_key","is_delete_key","Delete","Backspace","Escape","Tab","../accessibility/update_a11y","../events/handle_tab","../helpers/values","../selectors/next_segment","../selectors/prev_segment","../selectors/select_cursor_segment","../selectors/select_segment","../setters/clear_segment","../setters/decrement_current_segment","../setters/increment_current_segment","../setters/manual_number_entry","../setters/reset","../setters/set_mode","../setters/switch_times","../static-values/all_number_keys","../static-values/named_keys","10","eventName","event","createEvent","initEvent","11","backwards_and_first","forwards_and_last","12","trigger_event","./trigger_event","13","can_trigger_change","create_event","inputEvent","changeEvent","input","change","dispatchEvent","./create_event","14","selectorString","$elem","ancestors","push","matchesSelector","msMatchesSelector","matches","parentElement","15","ranges","get_selected_range","selection","range","aboveMin","start","belowMax","end","../static-values/ranges","./get_selected_range","16","aria_labelledby","ariaLabelByID","getAttribute","$ariaLabelBy","getElementById","textContent","aria_label","ariaLabel","for_attribute","id","$forLabel","label_wrapper_element","get_ancestors","$parentLabel","nodeName","title_attribute","titleLabel","labelText","console","error","./get_ancestors","17","selectionStart","selectionEnd","18","timeString","regEx","../converters/convert_number","19","clear","manual_entry_log","entry","items","20","obj","key_values","key","21","toArray","selector","elements","querySelectorAll","../converters/toArray","22","traverse","./traverse","23","24","./select_segment","25","set_input_type","type","setSelectionRange","actions","26","segments","direction","modifier","next_segment_index","next","prev","../helpers/manual_entry_log","../static-values/segments","27","set_data_attribute","trigger_both_events","../events/trigger_both_events","../setters/set_data_attribute","28","set_segment","./set_segment","29","switch_mode","nudge_time_segment","./nudge_time_segment","./switch_mode","30","decrement","../setters/decrement","31","32","increment","../setters/increment","33","sorted_number_keys","key_value","entry_count","upper_limits","limit","full_limit","full_entry","at_limit","../static-values/sorted_number_keys","34","time","current_values","current_time","Date","getHours","getMinutes","minutes","up","down","../converters/convert_hours_to_12hr_time","../converters/leading_zero","35","apply_default","./apply_default","36","convert_to_24hr_time","filteredString","time24hr","../converters/convert_to_24hr_time","37","38","newInputVal","./set_data_attribute","39","convert_to_12hr_time","time_string_24hr","twelveHr","../converters/convert_to_12hr_time","40","default_mode","current_mode","new_mode","--","AM","PM","41","switch_to_data_value","set_time","format","is12hr","./set_time","./switch_to_data_value","42","replacementVal","43","../setters/set_time","44","45","Shift","46","47","Object","keys","./ranges","48","forEach","index","number_val","./all_number_keys","49","TimePolyfill","accessibility_block_created","create_a11y_block","get_label","update_time","swap","forcedFormat","bind_events","window","./core/accessibility/create_a11y_block","./core/events/bind_events","./core/getters/get_label","./core/setters/apply_default","./core/setters/set_data_attribute","./core/setters/switch_times","./core/setters/update_time","50","$result","$list","$close","onclick","remove","51","action","categoryLabelValue","gtag","event_category","event_label","data","category","log","52","_$$","ga","$$timeInputs","element","oninput","onchange","onsubmit","get_labels","labelList","children","$label","labels","valuesList","this","focus","../../core/converters/toArray","../../core/selectors/_$$","../../index","../_modules/result/result","./_helpers/gtag"],"mappings":"CAAA,WAAA,QAAAA,GAAAC,EAAAC,EAAAC,GAAA,QAAAC,GAAAC,EAAAC,GAAA,IAAAJ,EAAAG,GAAA,CAAA,IAAAJ,EAAAI,GAAA,CAAA,GAAAE,GAAA,kBAAAC,UAAAA,OAAA,KAAAF,GAAAC,EAAA,MAAAA,GAAAF,GAAA,EAAA,IAAAI,EAAA,MAAAA,GAAAJ,GAAA,EAAA,IAAAK,GAAA,GAAAC,OAAA,uBAAAN,EAAA,IAAA,MAAAK,GAAAE,KAAA,mBAAAF,EAAA,GAAAG,GAAAX,EAAAG,IAAAS,WAAAb,GAAAI,GAAA,GAAAU,KAAAF,EAAAC,QAAA,SAAAd,GAAA,GAAAE,GAAAD,EAAAI,GAAA,GAAAL,EAAA,OAAAI,GAAAF,GAAAF,IAAAa,EAAAA,EAAAC,QAAAd,EAAAC,EAAAC,EAAAC,GAAA,MAAAD,GAAAG,GAAAS,QAAA,IAAA,GAAAL,GAAA,kBAAAD,UAAAA,QAAAH,EAAA,EAAAA,EAAAF,EAAAa,OAAAX,IAAAD,EAAAD,EAAAE,GAAA,OAAAD,GAAA,MAAAJ,OAAAiB,GAAA,SAAAT,EAAAU,EAAAJ,GCAAI,EAAAJ,QAAA,WACA,GAAAK,GAAAC,SAAAC,cAAA,MAQA,OAPAF,GAAAG,aAAA,YAAA,aACAH,EAAAG,aACA,QACA,gGAEAH,EAAAI,UAAAC,IAAA,2CACAJ,SAAAK,cAAA,QAAAC,YAAAP,GACAA,QCIMQ,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BGC,gCAAgC,EAAEC,2BAA2B,GAAGC,cAAc,GAAGC,4BAA4B,GAAGC,kBAAkB,UAAU","file":"scripts/main.js","sourcesContent":["(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c=\"function\"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error(\"Cannot find module '\"+i+\"'\");throw a.code=\"MODULE_NOT_FOUND\",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u=\"function\"==typeof require&&require,i=0;i') + '
'\r\n html = html.replace(/\\$label/g, $input.polyfill.label)\r\n html = html.replace(/\\$segmentName/g, segmentName)\r\n html = html.replace(/\\$segmentValue/g, finalValue)\r\n html = html.replace(/\\$fullValue/g, fullValue)\r\n\r\n $input.polyfill.$a11y.innerHTML = html\r\n }, 1)\r\n}\r\n\n},{\"../getters/get_current_segment\":15,\"../getters/get_values\":18}],3:[function(require,module,exports){\nmodule.exports = function convert_hours_to_12hr_time(hours) {\r\n return hours <= 12 ? (hours === 0 ? 12 : hours) : hours - 12\r\n}\r\n\n},{}],4:[function(require,module,exports){\nmodule.exports = function convert_number(number) {\r\n return isNaN(number) ? number : parseInt(number)\r\n}\r\n\n},{}],5:[function(require,module,exports){\nvar convert_number = require('./convert_number')\r\nvar convert_hours_to_12hr_time = require('./convert_hours_to_12hr_time')\r\nvar leading_zero = require('./leading_zero')\r\n\r\nmodule.exports = function convert_to_12hr_time(timeString_24hr) {\r\n if (timeString_24hr === '') return '--:-- --'\r\n var twentyFour_regex = /([0-9]{2})\\:([0-9]{2})/\r\n var result = twentyFour_regex.exec(timeString_24hr)\r\n var hrs_24 = convert_number(result[1])\r\n var min = result[2]\r\n var hrs_12 = convert_hours_to_12hr_time(hrs_24)\r\n var isPM = hrs_24 >= 12\r\n var mode = isPM ? 'PM' : 'AM'\r\n return [leading_zero(hrs_12), ':', min, ' ', mode].join('')\r\n}\r\n\n},{\"./convert_hours_to_12hr_time\":3,\"./convert_number\":4,\"./leading_zero\":7}],6:[function(require,module,exports){\nvar leading_zero = require('./leading_zero')\r\n\r\nmodule.exports = function convert_to_24hr_time(timeString_12hr) {\r\n if (/-/.test(timeString_12hr)) return ''\r\n var isPM = timeString_12hr.indexOf('PM') > -1\r\n var timeResult = /^([0-9]{2})/.exec(timeString_12hr)\r\n var hrs = timeResult ? parseInt(timeResult[1]) : ''\r\n var newHrs\r\n if (hrs === 12) {\r\n newHrs = isPM ? 12 : 0\r\n } else {\r\n newHrs = isPM ? hrs + 12 : hrs\r\n }\r\n var finalHrs = newHrs === 24 ? 0 : newHrs\r\n var timeRegEx = /^[0-9]{2}:([0-9]{2}) (AM|PM)/\r\n return timeString_12hr.replace(timeRegEx, leading_zero(finalHrs) + ':$1')\r\n}\r\n\n},{\"./leading_zero\":7}],7:[function(require,module,exports){\nmodule.exports = function leading_zero(number) {\r\n if (isNaN(number)) return number\r\n var purified = parseInt(number)\r\n return purified < 10 ? '0' + purified : number\r\n}\r\n\n},{}],8:[function(require,module,exports){\nmodule.exports = function(array) {\r\n return Array.prototype.slice.call(array, 0)\r\n}\r\n\n},{}],9:[function(require,module,exports){\nvar values = require('../helpers/values')\r\n\r\nvar select_segment = require('../selectors/select_segment')\r\n\r\nvar next_segment = require('../selectors/next_segment')\r\nvar prev_segment = require('../selectors/prev_segment')\r\nvar select_cursor_segment = require('../selectors/select_cursor_segment')\r\n\r\nvar get_current_segment = require('../getters/get_current_segment')\r\n\r\nvar reset = require('../setters/reset')\r\nvar manual_number_entry = require('../setters/manual_number_entry')\r\nvar clear_segment = require('../setters/clear_segment')\r\nvar increment_current_segment = require('../setters/increment_current_segment')\r\nvar decrement_current_segment = require('../setters/decrement_current_segment')\r\nvar set_mode = require('../setters/set_mode')\r\nvar switch_times = require('../setters/switch_times')\r\n\r\nvar handle_tab = require('../events/handle_tab')\r\n\r\nvar all_number_keys = require('../static-values/all_number_keys')\r\nvar named_keys = require('../static-values/named_keys')\r\n\r\nvar update_a11y = require('../accessibility/update_a11y')\r\n\r\nmodule.exports = function bind_events($input) {\r\n var prev_value = ''\r\n\r\n var shiftKey = false\r\n\r\n document.addEventListener('keydown', function(e) {\r\n shiftKey = e.shiftKey\r\n })\r\n document.addEventListener('keyup', function(e) {\r\n shiftKey = e.shiftKey\r\n })\r\n\r\n if ($input.form) {\r\n $input.form.addEventListener('submit', function() {\r\n auto_swap($input)\r\n })\r\n }\r\n\r\n var focused_via_click = false\r\n\r\n $input.addEventListener('mousedown', function() {\r\n focused_via_click = true\r\n })\r\n\r\n // Turns the IE clear button into a reset button\r\n $input.addEventListener('mouseup', function() {\r\n setTimeout(function() {\r\n if ($input.value === '') reset($input)\r\n }, 1)\r\n })\r\n\r\n $input.addEventListener('click', function(e) {\r\n select_cursor_segment($input)\r\n })\r\n\r\n $input.addEventListener('blur', function() {\r\n var current_value = $input.dataset.value\r\n if (current_value !== prev_value) {\r\n prev_value = current_value\r\n }\r\n focused_via_click = false\r\n })\r\n\r\n $input.addEventListener('focus', function(e) {\r\n if (!focused_via_click) {\r\n e.preventDefault()\r\n var segment = shiftKey ? 'mode' : 'hrs'\r\n select_segment($input, segment)\r\n }\r\n update_a11y($input, ['initial', 'select'])\r\n })\r\n\r\n $input.addEventListener('keydown', function(e) {\r\n var is_enter_key = e.which === 13\r\n if (is_enter_key) return true\r\n\r\n var is_number_key = all_number_keys.indexOf(e.which) > -1\r\n var is_named_key = values(named_keys).indexOf(e.which) > -1\r\n var is_arrow_key =\r\n [\r\n named_keys.ArrowDown,\r\n named_keys.ArrowRight,\r\n named_keys.ArrowUp,\r\n named_keys.ArrowLeft,\r\n ].indexOf(e.which) > -1\r\n var is_mode_key = [named_keys.a, named_keys.p].indexOf(e.which) > -1\r\n var is_delete_key =\r\n [named_keys.Delete, named_keys.Backspace].indexOf(e.which) > -1\r\n\r\n if (\r\n !is_named_key ||\r\n is_arrow_key ||\r\n is_number_key ||\r\n is_mode_key ||\r\n is_delete_key\r\n ) {\r\n e.preventDefault()\r\n }\r\n\r\n if (is_number_key) {\r\n manual_number_entry($input, e.which)\r\n }\r\n\r\n if (is_delete_key) {\r\n var segment = get_current_segment($input)\r\n clear_segment($input, segment)\r\n }\r\n\r\n switch (e.which) {\r\n case named_keys.ArrowRight:\r\n next_segment($input)\r\n break\r\n case named_keys.ArrowLeft:\r\n prev_segment($input)\r\n break\r\n case named_keys.ArrowUp:\r\n increment_current_segment($input)\r\n break\r\n case named_keys.ArrowDown:\r\n decrement_current_segment($input)\r\n break\r\n case named_keys.Escape:\r\n reset($input)\r\n break\r\n case named_keys.a:\r\n set_mode($input, 'AM')\r\n break\r\n case named_keys.p:\r\n set_mode($input, 'PM')\r\n break\r\n case named_keys.Tab:\r\n handle_tab($input, e)\r\n break\r\n }\r\n })\r\n}\r\n\r\nfunction auto_swap($input) {\r\n if ($input.polyfill.autoSwap) {\r\n switch_times($input, 24)\r\n setTimeout(function() {\r\n switch_times($input, 12)\r\n }, 1)\r\n }\r\n}\r\n\n},{\"../accessibility/update_a11y\":2,\"../events/handle_tab\":11,\"../getters/get_current_segment\":15,\"../helpers/values\":20,\"../selectors/next_segment\":22,\"../selectors/prev_segment\":23,\"../selectors/select_cursor_segment\":24,\"../selectors/select_segment\":25,\"../setters/clear_segment\":28,\"../setters/decrement_current_segment\":30,\"../setters/increment_current_segment\":32,\"../setters/manual_number_entry\":33,\"../setters/reset\":35,\"../setters/set_mode\":37,\"../setters/switch_times\":41,\"../static-values/all_number_keys\":44,\"../static-values/named_keys\":45}],10:[function(require,module,exports){\nmodule.exports = function create_event(eventName) {\r\n var event = document.createEvent('Event')\r\n event.initEvent(eventName, true, true)\r\n return event\r\n}\r\n\n},{}],11:[function(require,module,exports){\nvar get_current_segment = require('../getters/get_current_segment')\r\nvar prev_segment = require('../selectors/prev_segment')\r\nvar next_segment = require('../selectors/next_segment')\r\n\r\nmodule.exports = function handle_tab($input, e) {\r\n var current_segment = get_current_segment($input)\r\n var backwards_and_first = e.shiftKey && current_segment === 'hrs'\r\n var forwards_and_last = !e.shiftKey && current_segment === 'mode'\r\n\r\n if (!backwards_and_first && !forwards_and_last) {\r\n e.preventDefault()\r\n if (e.shiftKey) {\r\n prev_segment($input)\r\n } else {\r\n next_segment($input)\r\n }\r\n }\r\n}\r\n\n},{\"../getters/get_current_segment\":15,\"../selectors/next_segment\":22,\"../selectors/prev_segment\":23}],12:[function(require,module,exports){\nvar trigger_event = require('./trigger_event')\r\n\r\n// It seems that oninput and onchange are treated the same way by browsers :/\r\nmodule.exports = function trigger_both_events($input) {\r\n // the event only ever fires if there is a full valid value available\r\n trigger_event($input, 'input')\r\n trigger_event($input, 'change')\r\n}\r\n\n},{\"./trigger_event\":13}],13:[function(require,module,exports){\nvar create_event = require('./create_event')\r\n\r\nvar inputEvent = create_event('input')\r\nvar changeEvent = create_event('change')\r\n\r\nmodule.exports = function trigger_event($input, eventName) {\r\n var event = {\r\n input: inputEvent,\r\n change: changeEvent,\r\n }[eventName]\r\n\r\n if (can_trigger_change($input)) {\r\n $input.dispatchEvent(event)\r\n }\r\n}\r\n\r\n// Browsers only send out input and change events if the time element has a full valid value\r\nfunction can_trigger_change($input) {\r\n return !/--/.test($input.value)\r\n}\r\n\n},{\"./create_event\":10}],14:[function(require,module,exports){\n// selector is optional, it allows for an early exit\r\nmodule.exports = function($input, selectorString) {\r\n var $elem = $input\r\n\r\n // https://stackoverflow.com/a/8729274/1611058\r\n var ancestors = []\r\n while ($elem) {\r\n ancestors.push($elem)\r\n var matchesSelector = $elem.msMatchesSelector\r\n ? $elem.msMatchesSelector(selectorString)\r\n : $elem.matches(selectorString)\r\n if (matchesSelector) {\r\n return ancestors\r\n }\r\n $elem = $elem.parentElement\r\n }\r\n\r\n return ancestors\r\n}\r\n\n},{}],15:[function(require,module,exports){\nvar ranges = require('../static-values/ranges')\r\nvar get_selected_range = require('./get_selected_range')\r\n\r\nmodule.exports = function get_current_segment($input) {\r\n var selection = get_selected_range($input)\r\n for (var segment in ranges) {\r\n var range = ranges[segment]\r\n var aboveMin = range.start <= selection.start\r\n var belowMax = range.end >= selection.end\r\n if (aboveMin && belowMax) {\r\n return segment\r\n }\r\n }\r\n return 'hrs'\r\n}\r\n\n},{\"../static-values/ranges\":46,\"./get_selected_range\":17}],16:[function(require,module,exports){\nvar get_ancestors = require('./get_ancestors')\r\n\r\nmodule.exports = function get_label($input) {\r\n var labelText =\r\n aria_labelledby($input) ||\r\n aria_label($input) ||\r\n for_attribute($input) ||\r\n label_wrapper_element($input) ||\r\n title_attribute($input)\r\n\r\n if (labelText) return labelText\r\n\r\n console.error('Label text for input not found.', $input)\r\n throw new Error('Cannot polyfill time input due to a missing label.')\r\n}\r\n\r\nfunction aria_labelledby($input) {\r\n var ariaLabelByID = $input.getAttribute('aria-labelledby')\r\n if (ariaLabelByID) {\r\n var $ariaLabelBy = document.getElementById(ariaLabelByID)\r\n if ($ariaLabelBy) return $ariaLabelBy.textContent\r\n }\r\n return false\r\n}\r\n\r\nfunction aria_label($input) {\r\n var ariaLabel = $input.getAttribute('aria-label')\r\n if (ariaLabel) return ariaLabel\r\n return false\r\n}\r\n\r\nfunction for_attribute($input) {\r\n if ($input.id) {\r\n var $forLabel = document.querySelector('label[for=\"' + $input.id + '\"]')\r\n if ($forLabel) return $forLabel.textContent\r\n }\r\n return false\r\n}\r\n\r\nfunction label_wrapper_element($input) {\r\n var ancestors = get_ancestors($input, 'label')\r\n var $parentLabel = ancestors[ancestors.length - 1]\r\n if ($parentLabel.nodeName == 'LABEL') return $parentLabel.textContent\r\n return false\r\n}\r\n\r\nfunction title_attribute($input) {\r\n var titleLabel = $input.getAttribute('title')\r\n if (titleLabel) return titleLabel\r\n return false\r\n}\r\n\n},{\"./get_ancestors\":14}],17:[function(require,module,exports){\nmodule.exports = function get_selected_range($input) {\r\n return { start: $input.selectionStart, end: $input.selectionEnd }\r\n}\r\n\n},{}],18:[function(require,module,exports){\nvar convert_number = require('../converters/convert_number')\r\n\r\nmodule.exports = function get_values($input, timeString) {\r\n var value = timeString ? timeString : $input.value\r\n var regEx = /([0-9-]{1,2})\\:([0-9-]{1,2})\\s?(AM|PM|\\-\\-)?/\r\n var result = regEx.exec(value)\r\n\r\n return {\r\n hrs: convert_number(result[1]),\r\n min: convert_number(result[2]),\r\n mode: result[3],\r\n }\r\n}\r\n\n},{\"../converters/convert_number\":4}],19:[function(require,module,exports){\nvar manual_entry_log = []\r\n\r\nfunction clear() {\r\n manual_entry_log = []\r\n}\r\n\r\nfunction add(entry) {\r\n manual_entry_log.push(entry)\r\n}\r\n\r\nfunction items() {\r\n return manual_entry_log\r\n}\r\n\r\nmodule.exports = {\r\n items: items,\r\n clear: clear,\r\n add: add,\r\n}\r\n\n},{}],20:[function(require,module,exports){\n// IE11 doesn't support Object.values()\r\nmodule.exports = function values(obj) {\r\n var key_values = []\r\n for (var key in obj) {\r\n key_values.push(obj[key])\r\n }\r\n return key_values\r\n}\r\n\n},{}],21:[function(require,module,exports){\nvar toArray = require('../converters/toArray')\r\n\r\nmodule.exports = function _$$(selector) {\r\n var elements = document.querySelectorAll(selector)\r\n return toArray(elements)\r\n}\r\n\n},{\"../converters/toArray\":8}],22:[function(require,module,exports){\nvar traverse = require('./traverse')\r\n\r\nmodule.exports = function next_segment($input) {\r\n traverse($input, 'next')\r\n}\r\n\n},{\"./traverse\":26}],23:[function(require,module,exports){\nvar traverse = require('./traverse')\r\n\r\nmodule.exports = function prev_segment($input) {\r\n traverse($input, 'prev')\r\n}\r\n\n},{\"./traverse\":26}],24:[function(require,module,exports){\nvar get_current_segment = require('../getters/get_current_segment')\r\nvar select_segment = require('./select_segment')\r\n\r\nmodule.exports = function select_cursor_segment($input) {\r\n var current_segment = get_current_segment($input)\r\n select_segment($input, current_segment)\r\n}\r\n\n},{\"../getters/get_current_segment\":15,\"./select_segment\":25}],25:[function(require,module,exports){\nmodule.exports = function select_segment($input, segment) {\r\n set_input_type()\r\n\r\n var actions = {\r\n hrs: select(0, 2),\r\n min: select(3, 5),\r\n mode: select(6, 8),\r\n }\r\n\r\n actions[segment]($input)\r\n\r\n function set_input_type() {\r\n var type = segment === 'mode' ? 'text' : 'tel'\r\n $input.setAttribute('type', type)\r\n }\r\n\r\n function select(start, end) {\r\n return function() {\r\n $input.setSelectionRange(start, end)\r\n }\r\n }\r\n}\r\n\n},{}],26:[function(require,module,exports){\nvar get_current_segment = require('../getters/get_current_segment')\r\nvar select_segment = require('../selectors/select_segment')\r\n\r\nvar manual_entry_log = require('../helpers/manual_entry_log')\r\nvar segments = require('../static-values/segments')\r\n\r\nvar update_a11y = require('../accessibility/update_a11y')\r\n\r\nmodule.exports = function traverse($input, direction) {\r\n var segment = get_current_segment($input)\r\n\r\n var modifier = direction === 'next' ? 1 : -1\r\n var next_segment_index = segments.indexOf(segment) + modifier\r\n\r\n var next_segment = {\r\n next: segments[next_segment_index] || 'mode',\r\n prev: next_segment_index < 0 ? 'hrs' : segments[next_segment_index],\r\n }[direction]\r\n\r\n select_segment($input, next_segment)\r\n manual_entry_log.clear()\r\n update_a11y($input, ['select'])\r\n}\r\n\n},{\"../accessibility/update_a11y\":2,\"../getters/get_current_segment\":15,\"../helpers/manual_entry_log\":19,\"../selectors/select_segment\":25,\"../static-values/segments\":47}],27:[function(require,module,exports){\n// I need to keep this separate from reset so that\r\n// I can reset without attracting focus\r\n\r\nvar set_data_attribute = require('../setters/set_data_attribute')\r\nvar trigger_both_events = require('../events/trigger_both_events')\r\n\r\nmodule.exports = function apply_default($input) {\r\n $input.value = '--:-- --'\r\n set_data_attribute($input, '')\r\n trigger_both_events($input)\r\n}\r\n\n},{\"../events/trigger_both_events\":12,\"../setters/set_data_attribute\":36}],28:[function(require,module,exports){\nvar set_segment = require('./set_segment')\r\nvar update_a11y = require('../accessibility/update_a11y')\r\n\r\nmodule.exports = function clear_segment($input, segment) {\r\n set_segment($input, segment, '--')\r\n update_a11y($input, ['update'])\r\n}\r\n\n},{\"../accessibility/update_a11y\":2,\"./set_segment\":38}],29:[function(require,module,exports){\nvar switch_mode = require('./switch_mode')\r\nvar nudge_time_segment = require('./nudge_time_segment')\r\nvar update_a11y = require('../accessibility/update_a11y')\r\n\r\nmodule.exports = function decrement($input, segment) {\r\n if (segment === 'mode') {\r\n switch_mode($input, 'PM')\r\n } else {\r\n nudge_time_segment($input, segment, 'down')\r\n }\r\n update_a11y($input, ['update'])\r\n}\r\n\n},{\"../accessibility/update_a11y\":2,\"./nudge_time_segment\":34,\"./switch_mode\":40}],30:[function(require,module,exports){\nvar get_current_segment = require('../getters/get_current_segment')\r\nvar decrement = require('../setters/decrement')\r\n\r\nmodule.exports = function decrement_current_segment($input) {\r\n var current_segment = get_current_segment($input)\r\n decrement($input, current_segment)\r\n}\r\n\n},{\"../getters/get_current_segment\":15,\"../setters/decrement\":29}],31:[function(require,module,exports){\nvar switch_mode = require('./switch_mode')\r\nvar nudge_time_segment = require('./nudge_time_segment')\r\nvar update_a11y = require('../accessibility/update_a11y')\r\n\r\nmodule.exports = function increment($input, segment) {\r\n if (segment === 'mode') {\r\n switch_mode($input, 'AM')\r\n } else {\r\n nudge_time_segment($input, segment, 'up')\r\n }\r\n update_a11y($input, ['update'])\r\n}\r\n\n},{\"../accessibility/update_a11y\":2,\"./nudge_time_segment\":34,\"./switch_mode\":40}],32:[function(require,module,exports){\nvar get_current_segment = require('../getters/get_current_segment')\r\nvar increment = require('../setters/increment')\r\n\r\nmodule.exports = function increment_current_segment($input) {\r\n var current_segment = get_current_segment($input)\r\n increment($input, current_segment)\r\n}\r\n\n},{\"../getters/get_current_segment\":15,\"../setters/increment\":31}],33:[function(require,module,exports){\nvar get_current_segment = require('../getters/get_current_segment')\r\nvar set_segment = require('./set_segment')\r\nvar next_segment = require('../selectors/next_segment')\r\n\r\nvar manual_entry_log = require('../helpers/manual_entry_log')\r\nvar sorted_number_keys = require('../static-values/sorted_number_keys')\r\n\r\nmodule.exports = function manual_number_entry($input, key) {\r\n var key_value = sorted_number_keys[key]\r\n var segment = get_current_segment($input)\r\n\r\n if (segment !== 'mode') {\r\n var entry_count = manual_entry_log.items().length\r\n\r\n var upper_limits = {\r\n hrs: [1, 2],\r\n min: [5, 9],\r\n }\r\n var limit = upper_limits[segment][entry_count]\r\n\r\n if (entry_count < 2) {\r\n manual_entry_log.add(key_value)\r\n }\r\n\r\n var full_limit = parseInt(upper_limits[segment].join(''))\r\n var full_entry = parseInt(manual_entry_log.items().join(''))\r\n\r\n if (full_limit >= full_entry) {\r\n set_segment($input, segment, full_entry)\r\n }\r\n\r\n var at_limit = key_value > limit || manual_entry_log.items().length === 2\r\n\r\n if (at_limit) {\r\n next_segment($input)\r\n }\r\n }\r\n}\r\n\n},{\"../getters/get_current_segment\":15,\"../helpers/manual_entry_log\":19,\"../selectors/next_segment\":22,\"../static-values/sorted_number_keys\":48,\"./set_segment\":38}],34:[function(require,module,exports){\nvar get_values = require('../getters/get_values')\r\nvar convert_hours_to_12hr_time = require('../converters/convert_hours_to_12hr_time')\r\nvar leading_zero = require('../converters/leading_zero')\r\nvar set_segment = require('./set_segment')\r\n\r\nmodule.exports = function nudge_time_segment($input, segment, direction) {\r\n var current_values = get_values($input)\r\n var time\r\n\r\n var modifier = direction === 'up' ? 1 : -1\r\n\r\n if (current_values[segment] === '--') {\r\n var current_time = new Date()\r\n time = {\r\n hrs: convert_hours_to_12hr_time(current_time.getHours()),\r\n min: current_time.getMinutes(),\r\n }\r\n } else {\r\n var minutes = {\r\n up: current_values.min < 59 ? current_values.min + modifier : 0,\r\n down: current_values.min === 0 ? 59 : current_values.min + modifier,\r\n }\r\n time = {\r\n hrs: convert_hours_to_12hr_time(current_values.hrs + modifier),\r\n min: minutes[direction],\r\n }\r\n }\r\n\r\n set_segment($input, segment, leading_zero(time[segment]))\r\n}\r\n\n},{\"../converters/convert_hours_to_12hr_time\":3,\"../converters/leading_zero\":7,\"../getters/get_values\":18,\"./set_segment\":38}],35:[function(require,module,exports){\nvar apply_default = require('./apply_default')\r\nvar select_segment = require('../selectors/select_segment')\r\n\r\nmodule.exports = function reset($input) {\r\n apply_default($input)\r\n select_segment($input, 'hrs')\r\n}\r\n\n},{\"../selectors/select_segment\":25,\"./apply_default\":27}],36:[function(require,module,exports){\nvar convert_to_24hr_time = require('../converters/convert_to_24hr_time')\r\n\r\nmodule.exports = function set_data_attribute($input, timeString_12hr) {\r\n var filteredString = timeString_12hr.indexOf('-') > -1 ? '' : timeString_12hr\r\n var time24hr = convert_to_24hr_time(filteredString)\r\n $input.setAttribute('data-value', time24hr)\r\n}\r\n\n},{\"../converters/convert_to_24hr_time\":6}],37:[function(require,module,exports){\nvar get_current_segment = require('../getters/get_current_segment')\r\nvar set_segment = require('./set_segment')\r\n\r\nmodule.exports = function set_mode($input, type) {\r\n var segment = get_current_segment($input)\r\n if (segment === 'mode') {\r\n set_segment($input, segment, type)\r\n }\r\n}\r\n\n},{\"../getters/get_current_segment\":15,\"./set_segment\":38}],38:[function(require,module,exports){\nvar get_values = require('../getters/get_values')\r\nvar leading_zero = require('../converters/leading_zero')\r\nvar select_segment = require('../selectors/select_segment')\r\nvar set_data_attribute = require('./set_data_attribute')\r\nvar trigger_both_events = require('../events/trigger_both_events')\r\n\r\nmodule.exports = function set_segment($input, segment, value) {\r\n var values = get_values($input)\r\n values[segment] = value\r\n var newInputVal = [\r\n leading_zero(values.hrs),\r\n ':',\r\n leading_zero(values.min),\r\n ' ',\r\n values.mode,\r\n ].join('')\r\n $input.value = newInputVal\r\n select_segment($input, segment)\r\n set_data_attribute($input, newInputVal)\r\n trigger_both_events($input)\r\n}\r\n\n},{\"../converters/leading_zero\":7,\"../events/trigger_both_events\":12,\"../getters/get_values\":18,\"../selectors/select_segment\":25,\"./set_data_attribute\":36}],39:[function(require,module,exports){\nvar convert_to_12hr_time = require('../converters/convert_to_12hr_time')\r\nvar set_data_attribute = require('../setters/set_data_attribute')\r\n\r\nmodule.exports = function set_time($input, time_string_24hr) {\r\n var twelveHr = convert_to_12hr_time(time_string_24hr)\r\n $input.value = twelveHr\r\n set_data_attribute($input, time_string_24hr)\r\n}\r\n\n},{\"../converters/convert_to_12hr_time\":5,\"../setters/set_data_attribute\":36}],40:[function(require,module,exports){\nvar get_values = require('../getters/get_values')\r\nvar set_segment = require('./set_segment')\r\n\r\nmodule.exports = function switch_mode($input, default_mode) {\r\n default_mode = default_mode || 'AM'\r\n var current_mode = get_values($input).mode\r\n var new_mode = {\r\n '--': default_mode,\r\n AM: 'PM',\r\n PM: 'AM',\r\n }[current_mode]\r\n set_segment($input, 'mode', new_mode)\r\n}\r\n\n},{\"../getters/get_values\":18,\"./set_segment\":38}],41:[function(require,module,exports){\nvar switch_to_data_value = require('./switch_to_data_value')\r\nvar set_time = require('./set_time')\r\n\r\nmodule.exports = function switch_times($input, format) {\r\n var is12hr = /\\s/.test($input.value)\r\n\r\n if (format != 12 && format != 24) {\r\n format = is12hr ? 24 : 12\r\n }\r\n\r\n var actions = {\r\n 12: function() {\r\n if (!is12hr) {\r\n set_time($input, $input.dataset.value)\r\n }\r\n },\r\n 24: function() {\r\n if (is12hr) {\r\n switch_to_data_value($input)\r\n }\r\n },\r\n }\r\n actions[format]()\r\n}\r\n\n},{\"./set_time\":39,\"./switch_to_data_value\":42}],42:[function(require,module,exports){\nmodule.exports = function($input) {\r\n var replacementVal = $input.dataset.value\r\n $input.value = replacementVal\r\n}\r\n\n},{}],43:[function(require,module,exports){\nvar set_time = require('../setters/set_time')\r\n\r\nmodule.exports = function update_time($input) {\r\n set_time($input, $input.value)\r\n return $input\r\n}\r\n\n},{\"../setters/set_time\":39}],44:[function(require,module,exports){\nvar all_number_keys = [\r\n // 0, 1, 2, 3, 4, 5, 6, 7, 8, 9\r\n 48, 49, 50, 51, 52, 53, 54, 55, 56, 57,\r\n 96, 97, 98, 99,100,101,102,103,104,105\r\n];\r\n\r\nmodule.exports = all_number_keys;\r\n\n},{}],45:[function(require,module,exports){\nvar named_keys = {\r\n ArrowDown: 40,\r\n ArrowRight: 39,\r\n ArrowUp: 38,\r\n ArrowLeft: 37,\r\n Backspace: 8,\r\n Delete: 46,\r\n Tab: 9,\r\n Shift: 16,\r\n Escape: 27,\r\n a: 65,\r\n p: 80,\r\n}\r\n\r\nmodule.exports = named_keys\r\n\n},{}],46:[function(require,module,exports){\nvar ranges = {\r\n hrs: { start: 0, end: 2 },\r\n min: { start: 3, end: 5 },\r\n mode: { start: 6, end: 8 },\r\n}\r\n\r\nmodule.exports = ranges\r\n\n},{}],47:[function(require,module,exports){\nvar ranges = require('./ranges')\r\n\r\nvar segments = Object.keys(ranges)\r\n\r\nmodule.exports = segments\r\n\n},{\"./ranges\":46}],48:[function(require,module,exports){\nvar all_number_keys = require('./all_number_keys')\r\n\r\nvar sorted_number_keys = {}\r\n// sorted_number_keys = { 48: 0, 49: 1, 96: 0, 97: 1, ... };\r\nall_number_keys.forEach(function(key, index) {\r\n var number_val = index > 9 ? index - 10 : index\r\n sorted_number_keys[key] = number_val\r\n})\r\n\r\nmodule.exports = sorted_number_keys\r\n\n},{\"./all_number_keys\":44}],49:[function(require,module,exports){\nvar apply_default = require('./core/setters/apply_default')\r\nvar update_time = require('./core/setters/update_time')\r\nvar set_data_attribute = require('./core/setters/set_data_attribute')\r\nvar bind_events = require('./core/events/bind_events')\r\nvar switch_times = require('./core/setters/switch_times')\r\nvar get_label = require('./core/getters/get_label')\r\n\r\nvar create_a11y_block = require('./core/accessibility/create_a11y_block')\r\n\r\nvar accessibility_block_created = false\r\nvar $a11y\r\n\r\nfunction TimePolyfill($input) {\r\n $input.setAttribute('autocomplete', 'off')\r\n\r\n // Prevent screen reader from announcing the default stuff\r\n $input.setAttribute('aria-hidden', true)\r\n\r\n if (!accessibility_block_created) {\r\n $a11y = create_a11y_block()\r\n accessibility_block_created = true\r\n }\r\n\r\n var label = get_label($input)\r\n\r\n $input.polyfill = {\r\n $a11y: $a11y,\r\n label: label,\r\n autoSwap: true,\r\n update: function() {\r\n update_time($input)\r\n },\r\n swap: function(forcedFormat) {\r\n switch_times($input, forcedFormat)\r\n },\r\n }\r\n\r\n if ($input.value === '' || /--/.test($input.value)) {\r\n apply_default($input)\r\n set_data_attribute($input, '')\r\n } else {\r\n update_time($input)\r\n set_data_attribute($input, $input.value)\r\n }\r\n\r\n bind_events($input)\r\n}\r\n\r\nif (window) window.TimePolyfill = TimePolyfill\r\nif (module) module.exports = TimePolyfill\r\n\n},{\"./core/accessibility/create_a11y_block\":1,\"./core/events/bind_events\":9,\"./core/getters/get_label\":16,\"./core/setters/apply_default\":27,\"./core/setters/set_data_attribute\":36,\"./core/setters/switch_times\":41,\"./core/setters/update_time\":43}],50:[function(require,module,exports){\n\r\nmodule.exports = function($result, values){\r\n\tvar $list = $result.querySelector('.result__list');\r\n\tvar $close = $result.querySelector('.result__close');\r\n\r\n\tvar html = '';\r\n\tfor (var label in values) {\r\n\t\tvar value = values[label].replace(/^$/,'blank ');\r\n\t\thtml = html + [\r\n\t\t\t'',\r\n\t\t\t\t'
',label,' ',\r\n\t\t\t\t'\"',value,'\" ',\r\n\t\t\t''\r\n\t\t].join('');\r\n\t}\r\n\t$list.innerHTML = html;\r\n\t$result.classList.add('-visible');\r\n\r\n\t$close.onclick = function(){\r\n\t\t$result.classList.remove('-visible');\r\n\t}\r\n}\r\n\n},{}],51:[function(require,module,exports){\n\r\n//Code for tracking Google Analytics events\r\nmodule.exports = function GA_trackEvent(action, categoryLabelValue) {\r\n\r\n\tif (typeof gtag !== 'undefined') {\r\n\r\n\t\tif (categoryLabelValue) {\r\n\t\t\tgtag('event', action, {\r\n\t\t\t\tevent_category: categoryLabelValue[0],\r\n\t\t\t\tevent_label: categoryLabelValue[1],\r\n\t\t\t\tvalue: categoryLabelValue[2],\r\n\t\t\t});\r\n\t\t} else {\r\n\t\t\tgtag('event', action);\r\n\t\t}\r\n\r\n\t} else {\r\n\t\tcategoryLabelValue = {};\r\n\t\tvar data = {\r\n\t\t\taction: action,\r\n\t\t\tevent_category: categoryLabelValue.category || 'general',\r\n\t\t\tevent_label: categoryLabelValue.label || '(not set)',\r\n\t\t\tvalue: categoryLabelValue.value\r\n\t\t}\r\n\r\n\t\tconsole.log(\"GA event =\", data, '* = required');\r\n\t}\r\n}\r\n\n},{}],52:[function(require,module,exports){\n// Main javascript entry point\r\n// Should handle bootstrapping/starting application\r\n\r\n'use strict';\r\n\r\n// Time input polyfill\r\nvar TimePolyfill = require('../../index');\r\nvar _$$ = require('../../core/selectors/_$$');\r\nvar toArray = require('../../core/converters/toArray');\r\n\r\nvar result = require('../_modules/result/result');\r\n\r\nvar ga = require('./_helpers/gtag');\r\n\r\ndocument.addEventListener(\"DOMContentLoaded\", function() {\r\n\t// var $$timeInputs = _$$('input[type=\"time\"]');\r\n\tvar $$timeInputs = _$$('input.time');\r\n\t$$timeInputs.forEach(function (element) {\r\n\t\tnew TimePolyfill(element);\r\n\r\n\t\t// Disable auto swap\r\n\t\t// element.polyfill.autoSwap = false;\r\n\r\n\t\telement.oninput = function(){\r\n\t\t\tconsole.log('input', element.dataset.value);\r\n\t\t}\r\n\t\telement.onchange = function(){\r\n\t\t\tconsole.log('change', element.dataset.value);\r\n\t\t}\r\n\r\n\t\telement.addEventListener('change', function(){\r\n\t\t\tconsole.log('listener change');\r\n\t\t});\r\n\t\telement.addEventListener('input', function(){\r\n\t\t\tconsole.log('listener input');\r\n\t\t});\r\n\t});\r\n\r\n\tdocument.querySelector('form').onsubmit = function(e){\r\n\t\te.preventDefault();\r\n\t\tvar labels = get_labels(this);\r\n\t\tvar values = get_values(this, labels);\r\n\t\tvar $result = document.querySelector('.result');\r\n\r\n\t\tga('form submit');\r\n\r\n\t\tresult($result, values);\r\n\t\t$result.focus();\r\n\r\n\t\tfunction get_labels (form) {\r\n\t\t\tvar labelList = [];\r\n\t\t\ttoArray(form.children).forEach(function(element){\r\n\t\t\t\tvar $label = element.querySelector('label');\r\n\t\t\t\tif ($label) {\r\n\t\t\t\t\tlabelList.push($label.textContent);\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\treturn labelList;\r\n\t\t}\r\n\r\n\t\tfunction get_values (form, labels) {\r\n\t\t\tvar valuesList = {};\r\n\t\t\ttoArray(form.elements).forEach(function(element, i){\r\n\t\t\t\tif (element.nodeName === 'INPUT') {\r\n\t\t\t\t\tvaluesList[labels[i]] = element.value\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\treturn valuesList;\r\n\t\t}\r\n\t}\r\n\r\n});\r\n\n},{\"../../core/converters/toArray\":8,\"../../core/selectors/_$$\":21,\"../../index\":49,\"../_modules/result/result\":50,\"./_helpers/gtag\":51}]},{},[52])\n\n","var get_current_segment = require('../getters/get_current_segment')\r\nvar get_values = require('../getters/get_values')\r\n\r\nmodule.exports = function update_a11y($input, announcementArray) {\r\n // Timeout helps ensure that the input has stabilized\r\n setTimeout(function() {\r\n var current_segment = get_current_segment($input)\r\n var values = get_values($input)\r\n var value = values[current_segment]\r\n var finalValue = value == '--' ? 'blank' : value\r\n\r\n var segmentName = {\r\n hrs: 'Hours',\r\n min: 'Minutes',\r\n mode: 'AM/PM',\r\n }[current_segment]\r\n\r\n var announcements = {\r\n initial: '$label grouping $fullValue.',\r\n select: '$segmentName spin button $segmentValue.',\r\n update: '$segmentValue.',\r\n }\r\n\r\n var textArray = announcementArray.map(function(providedString) {\r\n if (announcements[providedString]) {\r\n return announcements[providedString]\r\n }\r\n return providedString\r\n })\r\n\r\n var fullValue = $input.value.replace(/--/g, 'blank')\r\n\r\n var html = '' + textArray.join('
') + '
'\r\n html = html.replace(/\\$label/g, $input.polyfill.label)\r\n html = html.replace(/\\$segmentName/g, segmentName)\r\n html = html.replace(/\\$segmentValue/g, finalValue)\r\n html = html.replace(/\\$fullValue/g, fullValue)\r\n\r\n $input.polyfill.$a11y.innerHTML = html\r\n }, 1)\r\n}\r\n","module.exports = function convert_hours_to_12hr_time(hours) {\r\n return hours <= 12 ? (hours === 0 ? 12 : hours) : hours - 12\r\n}\r\n","module.exports = function convert_number(number) {\r\n return isNaN(number) ? number : parseInt(number)\r\n}\r\n","var convert_number = require('./convert_number')\r\nvar convert_hours_to_12hr_time = require('./convert_hours_to_12hr_time')\r\nvar leading_zero = require('./leading_zero')\r\n\r\nmodule.exports = function convert_to_12hr_time(timeString_24hr) {\r\n if (timeString_24hr === '') return '--:-- --'\r\n var twentyFour_regex = /([0-9]{2})\\:([0-9]{2})/\r\n var result = twentyFour_regex.exec(timeString_24hr)\r\n var hrs_24 = convert_number(result[1])\r\n var min = result[2]\r\n var hrs_12 = convert_hours_to_12hr_time(hrs_24)\r\n var isPM = hrs_24 >= 12\r\n var mode = isPM ? 'PM' : 'AM'\r\n return [leading_zero(hrs_12), ':', min, ' ', mode].join('')\r\n}\r\n","var leading_zero = require('./leading_zero')\r\n\r\nmodule.exports = function convert_to_24hr_time(timeString_12hr) {\r\n if (/-/.test(timeString_12hr)) return ''\r\n var isPM = timeString_12hr.indexOf('PM') > -1\r\n var timeResult = /^([0-9]{2})/.exec(timeString_12hr)\r\n var hrs = timeResult ? parseInt(timeResult[1]) : ''\r\n var newHrs\r\n if (hrs === 12) {\r\n newHrs = isPM ? 12 : 0\r\n } else {\r\n newHrs = isPM ? hrs + 12 : hrs\r\n }\r\n var finalHrs = newHrs === 24 ? 0 : newHrs\r\n var timeRegEx = /^[0-9]{2}:([0-9]{2}) (AM|PM)/\r\n return timeString_12hr.replace(timeRegEx, leading_zero(finalHrs) + ':$1')\r\n}\r\n","module.exports = function leading_zero(number) {\r\n if (isNaN(number)) return number\r\n var purified = parseInt(number)\r\n return purified < 10 ? '0' + purified : number\r\n}\r\n","module.exports = function(array) {\r\n return Array.prototype.slice.call(array, 0)\r\n}\r\n","var values = require('../helpers/values')\r\n\r\nvar select_segment = require('../selectors/select_segment')\r\n\r\nvar next_segment = require('../selectors/next_segment')\r\nvar prev_segment = require('../selectors/prev_segment')\r\nvar select_cursor_segment = require('../selectors/select_cursor_segment')\r\n\r\nvar get_current_segment = require('../getters/get_current_segment')\r\n\r\nvar reset = require('../setters/reset')\r\nvar manual_number_entry = require('../setters/manual_number_entry')\r\nvar clear_segment = require('../setters/clear_segment')\r\nvar increment_current_segment = require('../setters/increment_current_segment')\r\nvar decrement_current_segment = require('../setters/decrement_current_segment')\r\nvar set_mode = require('../setters/set_mode')\r\nvar switch_times = require('../setters/switch_times')\r\n\r\nvar handle_tab = require('../events/handle_tab')\r\n\r\nvar all_number_keys = require('../static-values/all_number_keys')\r\nvar named_keys = require('../static-values/named_keys')\r\n\r\nvar update_a11y = require('../accessibility/update_a11y')\r\n\r\nmodule.exports = function bind_events($input) {\r\n var prev_value = ''\r\n\r\n var shiftKey = false\r\n\r\n document.addEventListener('keydown', function(e) {\r\n shiftKey = e.shiftKey\r\n })\r\n document.addEventListener('keyup', function(e) {\r\n shiftKey = e.shiftKey\r\n })\r\n\r\n if ($input.form) {\r\n $input.form.addEventListener('submit', function() {\r\n auto_swap($input)\r\n })\r\n }\r\n\r\n var focused_via_click = false\r\n\r\n $input.addEventListener('mousedown', function() {\r\n focused_via_click = true\r\n })\r\n\r\n // Turns the IE clear button into a reset button\r\n $input.addEventListener('mouseup', function() {\r\n setTimeout(function() {\r\n if ($input.value === '') reset($input)\r\n }, 1)\r\n })\r\n\r\n $input.addEventListener('click', function(e) {\r\n select_cursor_segment($input)\r\n })\r\n\r\n $input.addEventListener('blur', function() {\r\n var current_value = $input.dataset.value\r\n if (current_value !== prev_value) {\r\n prev_value = current_value\r\n }\r\n focused_via_click = false\r\n })\r\n\r\n $input.addEventListener('focus', function(e) {\r\n if (!focused_via_click) {\r\n e.preventDefault()\r\n var segment = shiftKey ? 'mode' : 'hrs'\r\n select_segment($input, segment)\r\n }\r\n update_a11y($input, ['initial', 'select'])\r\n })\r\n\r\n $input.addEventListener('keydown', function(e) {\r\n var is_enter_key = e.which === 13\r\n if (is_enter_key) return true\r\n\r\n var is_number_key = all_number_keys.indexOf(e.which) > -1\r\n var is_named_key = values(named_keys).indexOf(e.which) > -1\r\n var is_arrow_key =\r\n [\r\n named_keys.ArrowDown,\r\n named_keys.ArrowRight,\r\n named_keys.ArrowUp,\r\n named_keys.ArrowLeft,\r\n ].indexOf(e.which) > -1\r\n var is_mode_key = [named_keys.a, named_keys.p].indexOf(e.which) > -1\r\n var is_delete_key =\r\n [named_keys.Delete, named_keys.Backspace].indexOf(e.which) > -1\r\n\r\n if (\r\n !is_named_key ||\r\n is_arrow_key ||\r\n is_number_key ||\r\n is_mode_key ||\r\n is_delete_key\r\n ) {\r\n e.preventDefault()\r\n }\r\n\r\n if (is_number_key) {\r\n manual_number_entry($input, e.which)\r\n }\r\n\r\n if (is_delete_key) {\r\n var segment = get_current_segment($input)\r\n clear_segment($input, segment)\r\n }\r\n\r\n switch (e.which) {\r\n case named_keys.ArrowRight:\r\n next_segment($input)\r\n break\r\n case named_keys.ArrowLeft:\r\n prev_segment($input)\r\n break\r\n case named_keys.ArrowUp:\r\n increment_current_segment($input)\r\n break\r\n case named_keys.ArrowDown:\r\n decrement_current_segment($input)\r\n break\r\n case named_keys.Escape:\r\n reset($input)\r\n break\r\n case named_keys.a:\r\n set_mode($input, 'AM')\r\n break\r\n case named_keys.p:\r\n set_mode($input, 'PM')\r\n break\r\n case named_keys.Tab:\r\n handle_tab($input, e)\r\n break\r\n }\r\n })\r\n}\r\n\r\nfunction auto_swap($input) {\r\n if ($input.polyfill.autoSwap) {\r\n switch_times($input, 24)\r\n setTimeout(function() {\r\n switch_times($input, 12)\r\n }, 1)\r\n }\r\n}\r\n","module.exports = function create_event(eventName) {\r\n var event = document.createEvent('Event')\r\n event.initEvent(eventName, true, true)\r\n return event\r\n}\r\n","var get_current_segment = require('../getters/get_current_segment')\r\nvar prev_segment = require('../selectors/prev_segment')\r\nvar next_segment = require('../selectors/next_segment')\r\n\r\nmodule.exports = function handle_tab($input, e) {\r\n var current_segment = get_current_segment($input)\r\n var backwards_and_first = e.shiftKey && current_segment === 'hrs'\r\n var forwards_and_last = !e.shiftKey && current_segment === 'mode'\r\n\r\n if (!backwards_and_first && !forwards_and_last) {\r\n e.preventDefault()\r\n if (e.shiftKey) {\r\n prev_segment($input)\r\n } else {\r\n next_segment($input)\r\n }\r\n }\r\n}\r\n","var trigger_event = require('./trigger_event')\r\n\r\n// It seems that oninput and onchange are treated the same way by browsers :/\r\nmodule.exports = function trigger_both_events($input) {\r\n // the event only ever fires if there is a full valid value available\r\n trigger_event($input, 'input')\r\n trigger_event($input, 'change')\r\n}\r\n","var create_event = require('./create_event')\r\n\r\nvar inputEvent = create_event('input')\r\nvar changeEvent = create_event('change')\r\n\r\nmodule.exports = function trigger_event($input, eventName) {\r\n var event = {\r\n input: inputEvent,\r\n change: changeEvent,\r\n }[eventName]\r\n\r\n if (can_trigger_change($input)) {\r\n $input.dispatchEvent(event)\r\n }\r\n}\r\n\r\n// Browsers only send out input and change events if the time element has a full valid value\r\nfunction can_trigger_change($input) {\r\n return !/--/.test($input.value)\r\n}\r\n","// selector is optional, it allows for an early exit\r\nmodule.exports = function($input, selectorString) {\r\n var $elem = $input\r\n\r\n // https://stackoverflow.com/a/8729274/1611058\r\n var ancestors = []\r\n while ($elem) {\r\n ancestors.push($elem)\r\n var matchesSelector = $elem.msMatchesSelector\r\n ? $elem.msMatchesSelector(selectorString)\r\n : $elem.matches(selectorString)\r\n if (matchesSelector) {\r\n return ancestors\r\n }\r\n $elem = $elem.parentElement\r\n }\r\n\r\n return ancestors\r\n}\r\n","var ranges = require('../static-values/ranges')\r\nvar get_selected_range = require('./get_selected_range')\r\n\r\nmodule.exports = function get_current_segment($input) {\r\n var selection = get_selected_range($input)\r\n for (var segment in ranges) {\r\n var range = ranges[segment]\r\n var aboveMin = range.start <= selection.start\r\n var belowMax = range.end >= selection.end\r\n if (aboveMin && belowMax) {\r\n return segment\r\n }\r\n }\r\n return 'hrs'\r\n}\r\n","var get_ancestors = require('./get_ancestors')\r\n\r\nmodule.exports = function get_label($input) {\r\n var labelText =\r\n aria_labelledby($input) ||\r\n aria_label($input) ||\r\n for_attribute($input) ||\r\n label_wrapper_element($input) ||\r\n title_attribute($input)\r\n\r\n if (labelText) return labelText\r\n\r\n console.error('Label text for input not found.', $input)\r\n throw new Error('Cannot polyfill time input due to a missing label.')\r\n}\r\n\r\nfunction aria_labelledby($input) {\r\n var ariaLabelByID = $input.getAttribute('aria-labelledby')\r\n if (ariaLabelByID) {\r\n var $ariaLabelBy = document.getElementById(ariaLabelByID)\r\n if ($ariaLabelBy) return $ariaLabelBy.textContent\r\n }\r\n return false\r\n}\r\n\r\nfunction aria_label($input) {\r\n var ariaLabel = $input.getAttribute('aria-label')\r\n if (ariaLabel) return ariaLabel\r\n return false\r\n}\r\n\r\nfunction for_attribute($input) {\r\n if ($input.id) {\r\n var $forLabel = document.querySelector('label[for=\"' + $input.id + '\"]')\r\n if ($forLabel) return $forLabel.textContent\r\n }\r\n return false\r\n}\r\n\r\nfunction label_wrapper_element($input) {\r\n var ancestors = get_ancestors($input, 'label')\r\n var $parentLabel = ancestors[ancestors.length - 1]\r\n if ($parentLabel.nodeName == 'LABEL') return $parentLabel.textContent\r\n return false\r\n}\r\n\r\nfunction title_attribute($input) {\r\n var titleLabel = $input.getAttribute('title')\r\n if (titleLabel) return titleLabel\r\n return false\r\n}\r\n","module.exports = function get_selected_range($input) {\r\n return { start: $input.selectionStart, end: $input.selectionEnd }\r\n}\r\n","var convert_number = require('../converters/convert_number')\r\n\r\nmodule.exports = function get_values($input, timeString) {\r\n var value = timeString ? timeString : $input.value\r\n var regEx = /([0-9-]{1,2})\\:([0-9-]{1,2})\\s?(AM|PM|\\-\\-)?/\r\n var result = regEx.exec(value)\r\n\r\n return {\r\n hrs: convert_number(result[1]),\r\n min: convert_number(result[2]),\r\n mode: result[3],\r\n }\r\n}\r\n","var manual_entry_log = []\r\n\r\nfunction clear() {\r\n manual_entry_log = []\r\n}\r\n\r\nfunction add(entry) {\r\n manual_entry_log.push(entry)\r\n}\r\n\r\nfunction items() {\r\n return manual_entry_log\r\n}\r\n\r\nmodule.exports = {\r\n items: items,\r\n clear: clear,\r\n add: add,\r\n}\r\n","// IE11 doesn't support Object.values()\r\nmodule.exports = function values(obj) {\r\n var key_values = []\r\n for (var key in obj) {\r\n key_values.push(obj[key])\r\n }\r\n return key_values\r\n}\r\n","var toArray = require('../converters/toArray')\r\n\r\nmodule.exports = function _$$(selector) {\r\n var elements = document.querySelectorAll(selector)\r\n return toArray(elements)\r\n}\r\n","var traverse = require('./traverse')\r\n\r\nmodule.exports = function next_segment($input) {\r\n traverse($input, 'next')\r\n}\r\n","var traverse = require('./traverse')\r\n\r\nmodule.exports = function prev_segment($input) {\r\n traverse($input, 'prev')\r\n}\r\n","var get_current_segment = require('../getters/get_current_segment')\r\nvar select_segment = require('./select_segment')\r\n\r\nmodule.exports = function select_cursor_segment($input) {\r\n var current_segment = get_current_segment($input)\r\n select_segment($input, current_segment)\r\n}\r\n","module.exports = function select_segment($input, segment) {\r\n set_input_type()\r\n\r\n var actions = {\r\n hrs: select(0, 2),\r\n min: select(3, 5),\r\n mode: select(6, 8),\r\n }\r\n\r\n actions[segment]($input)\r\n\r\n function set_input_type() {\r\n var type = segment === 'mode' ? 'text' : 'tel'\r\n $input.setAttribute('type', type)\r\n }\r\n\r\n function select(start, end) {\r\n return function() {\r\n $input.setSelectionRange(start, end)\r\n }\r\n }\r\n}\r\n","var get_current_segment = require('../getters/get_current_segment')\r\nvar select_segment = require('../selectors/select_segment')\r\n\r\nvar manual_entry_log = require('../helpers/manual_entry_log')\r\nvar segments = require('../static-values/segments')\r\n\r\nvar update_a11y = require('../accessibility/update_a11y')\r\n\r\nmodule.exports = function traverse($input, direction) {\r\n var segment = get_current_segment($input)\r\n\r\n var modifier = direction === 'next' ? 1 : -1\r\n var next_segment_index = segments.indexOf(segment) + modifier\r\n\r\n var next_segment = {\r\n next: segments[next_segment_index] || 'mode',\r\n prev: next_segment_index < 0 ? 'hrs' : segments[next_segment_index],\r\n }[direction]\r\n\r\n select_segment($input, next_segment)\r\n manual_entry_log.clear()\r\n update_a11y($input, ['select'])\r\n}\r\n","// I need to keep this separate from reset so that\r\n// I can reset without attracting focus\r\n\r\nvar set_data_attribute = require('../setters/set_data_attribute')\r\nvar trigger_both_events = require('../events/trigger_both_events')\r\n\r\nmodule.exports = function apply_default($input) {\r\n $input.value = '--:-- --'\r\n set_data_attribute($input, '')\r\n trigger_both_events($input)\r\n}\r\n","var set_segment = require('./set_segment')\r\nvar update_a11y = require('../accessibility/update_a11y')\r\n\r\nmodule.exports = function clear_segment($input, segment) {\r\n set_segment($input, segment, '--')\r\n update_a11y($input, ['update'])\r\n}\r\n","var switch_mode = require('./switch_mode')\r\nvar nudge_time_segment = require('./nudge_time_segment')\r\nvar update_a11y = require('../accessibility/update_a11y')\r\n\r\nmodule.exports = function decrement($input, segment) {\r\n if (segment === 'mode') {\r\n switch_mode($input, 'PM')\r\n } else {\r\n nudge_time_segment($input, segment, 'down')\r\n }\r\n update_a11y($input, ['update'])\r\n}\r\n","var get_current_segment = require('../getters/get_current_segment')\r\nvar decrement = require('../setters/decrement')\r\n\r\nmodule.exports = function decrement_current_segment($input) {\r\n var current_segment = get_current_segment($input)\r\n decrement($input, current_segment)\r\n}\r\n","var switch_mode = require('./switch_mode')\r\nvar nudge_time_segment = require('./nudge_time_segment')\r\nvar update_a11y = require('../accessibility/update_a11y')\r\n\r\nmodule.exports = function increment($input, segment) {\r\n if (segment === 'mode') {\r\n switch_mode($input, 'AM')\r\n } else {\r\n nudge_time_segment($input, segment, 'up')\r\n }\r\n update_a11y($input, ['update'])\r\n}\r\n","var get_current_segment = require('../getters/get_current_segment')\r\nvar increment = require('../setters/increment')\r\n\r\nmodule.exports = function increment_current_segment($input) {\r\n var current_segment = get_current_segment($input)\r\n increment($input, current_segment)\r\n}\r\n","var get_current_segment = require('../getters/get_current_segment')\r\nvar set_segment = require('./set_segment')\r\nvar next_segment = require('../selectors/next_segment')\r\n\r\nvar manual_entry_log = require('../helpers/manual_entry_log')\r\nvar sorted_number_keys = require('../static-values/sorted_number_keys')\r\n\r\nmodule.exports = function manual_number_entry($input, key) {\r\n var key_value = sorted_number_keys[key]\r\n var segment = get_current_segment($input)\r\n\r\n if (segment !== 'mode') {\r\n var entry_count = manual_entry_log.items().length\r\n\r\n var upper_limits = {\r\n hrs: [1, 2],\r\n min: [5, 9],\r\n }\r\n var limit = upper_limits[segment][entry_count]\r\n\r\n if (entry_count < 2) {\r\n manual_entry_log.add(key_value)\r\n }\r\n\r\n var full_limit = parseInt(upper_limits[segment].join(''))\r\n var full_entry = parseInt(manual_entry_log.items().join(''))\r\n\r\n if (full_limit >= full_entry) {\r\n set_segment($input, segment, full_entry)\r\n }\r\n\r\n var at_limit = key_value > limit || manual_entry_log.items().length === 2\r\n\r\n if (at_limit) {\r\n next_segment($input)\r\n }\r\n }\r\n}\r\n","var get_values = require('../getters/get_values')\r\nvar convert_hours_to_12hr_time = require('../converters/convert_hours_to_12hr_time')\r\nvar leading_zero = require('../converters/leading_zero')\r\nvar set_segment = require('./set_segment')\r\n\r\nmodule.exports = function nudge_time_segment($input, segment, direction) {\r\n var current_values = get_values($input)\r\n var time\r\n\r\n var modifier = direction === 'up' ? 1 : -1\r\n\r\n if (current_values[segment] === '--') {\r\n var current_time = new Date()\r\n time = {\r\n hrs: convert_hours_to_12hr_time(current_time.getHours()),\r\n min: current_time.getMinutes(),\r\n }\r\n } else {\r\n var minutes = {\r\n up: current_values.min < 59 ? current_values.min + modifier : 0,\r\n down: current_values.min === 0 ? 59 : current_values.min + modifier,\r\n }\r\n time = {\r\n hrs: convert_hours_to_12hr_time(current_values.hrs + modifier),\r\n min: minutes[direction],\r\n }\r\n }\r\n\r\n set_segment($input, segment, leading_zero(time[segment]))\r\n}\r\n","var apply_default = require('./apply_default')\r\nvar select_segment = require('../selectors/select_segment')\r\n\r\nmodule.exports = function reset($input) {\r\n apply_default($input)\r\n select_segment($input, 'hrs')\r\n}\r\n","var convert_to_24hr_time = require('../converters/convert_to_24hr_time')\r\n\r\nmodule.exports = function set_data_attribute($input, timeString_12hr) {\r\n var filteredString = timeString_12hr.indexOf('-') > -1 ? '' : timeString_12hr\r\n var time24hr = convert_to_24hr_time(filteredString)\r\n $input.setAttribute('data-value', time24hr)\r\n}\r\n","var get_current_segment = require('../getters/get_current_segment')\r\nvar set_segment = require('./set_segment')\r\n\r\nmodule.exports = function set_mode($input, type) {\r\n var segment = get_current_segment($input)\r\n if (segment === 'mode') {\r\n set_segment($input, segment, type)\r\n }\r\n}\r\n","var get_values = require('../getters/get_values')\r\nvar leading_zero = require('../converters/leading_zero')\r\nvar select_segment = require('../selectors/select_segment')\r\nvar set_data_attribute = require('./set_data_attribute')\r\nvar trigger_both_events = require('../events/trigger_both_events')\r\n\r\nmodule.exports = function set_segment($input, segment, value) {\r\n var values = get_values($input)\r\n values[segment] = value\r\n var newInputVal = [\r\n leading_zero(values.hrs),\r\n ':',\r\n leading_zero(values.min),\r\n ' ',\r\n values.mode,\r\n ].join('')\r\n $input.value = newInputVal\r\n select_segment($input, segment)\r\n set_data_attribute($input, newInputVal)\r\n trigger_both_events($input)\r\n}\r\n","var convert_to_12hr_time = require('../converters/convert_to_12hr_time')\r\nvar set_data_attribute = require('../setters/set_data_attribute')\r\n\r\nmodule.exports = function set_time($input, time_string_24hr) {\r\n var twelveHr = convert_to_12hr_time(time_string_24hr)\r\n $input.value = twelveHr\r\n set_data_attribute($input, time_string_24hr)\r\n}\r\n","var get_values = require('../getters/get_values')\r\nvar set_segment = require('./set_segment')\r\n\r\nmodule.exports = function switch_mode($input, default_mode) {\r\n default_mode = default_mode || 'AM'\r\n var current_mode = get_values($input).mode\r\n var new_mode = {\r\n '--': default_mode,\r\n AM: 'PM',\r\n PM: 'AM',\r\n }[current_mode]\r\n set_segment($input, 'mode', new_mode)\r\n}\r\n","var switch_to_data_value = require('./switch_to_data_value')\r\nvar set_time = require('./set_time')\r\n\r\nmodule.exports = function switch_times($input, format) {\r\n var is12hr = /\\s/.test($input.value)\r\n\r\n if (format != 12 && format != 24) {\r\n format = is12hr ? 24 : 12\r\n }\r\n\r\n var actions = {\r\n 12: function() {\r\n if (!is12hr) {\r\n set_time($input, $input.dataset.value)\r\n }\r\n },\r\n 24: function() {\r\n if (is12hr) {\r\n switch_to_data_value($input)\r\n }\r\n },\r\n }\r\n actions[format]()\r\n}\r\n","module.exports = function($input) {\r\n var replacementVal = $input.dataset.value\r\n $input.value = replacementVal\r\n}\r\n","var set_time = require('../setters/set_time')\r\n\r\nmodule.exports = function update_time($input) {\r\n set_time($input, $input.value)\r\n return $input\r\n}\r\n","var all_number_keys = [\r\n // 0, 1, 2, 3, 4, 5, 6, 7, 8, 9\r\n 48, 49, 50, 51, 52, 53, 54, 55, 56, 57,\r\n 96, 97, 98, 99,100,101,102,103,104,105\r\n];\r\n\r\nmodule.exports = all_number_keys;\r\n","var named_keys = {\r\n ArrowDown: 40,\r\n ArrowRight: 39,\r\n ArrowUp: 38,\r\n ArrowLeft: 37,\r\n Backspace: 8,\r\n Delete: 46,\r\n Tab: 9,\r\n Shift: 16,\r\n Escape: 27,\r\n a: 65,\r\n p: 80,\r\n}\r\n\r\nmodule.exports = named_keys\r\n","var ranges = {\r\n hrs: { start: 0, end: 2 },\r\n min: { start: 3, end: 5 },\r\n mode: { start: 6, end: 8 },\r\n}\r\n\r\nmodule.exports = ranges\r\n","var ranges = require('./ranges')\r\n\r\nvar segments = Object.keys(ranges)\r\n\r\nmodule.exports = segments\r\n","var all_number_keys = require('./all_number_keys')\r\n\r\nvar sorted_number_keys = {}\r\n// sorted_number_keys = { 48: 0, 49: 1, 96: 0, 97: 1, ... };\r\nall_number_keys.forEach(function(key, index) {\r\n var number_val = index > 9 ? index - 10 : index\r\n sorted_number_keys[key] = number_val\r\n})\r\n\r\nmodule.exports = sorted_number_keys\r\n","var apply_default = require('./core/setters/apply_default')\r\nvar update_time = require('./core/setters/update_time')\r\nvar set_data_attribute = require('./core/setters/set_data_attribute')\r\nvar bind_events = require('./core/events/bind_events')\r\nvar switch_times = require('./core/setters/switch_times')\r\nvar get_label = require('./core/getters/get_label')\r\n\r\nvar create_a11y_block = require('./core/accessibility/create_a11y_block')\r\n\r\nvar accessibility_block_created = false\r\nvar $a11y\r\n\r\nfunction TimePolyfill($input) {\r\n $input.setAttribute('autocomplete', 'off')\r\n\r\n // Prevent screen reader from announcing the default stuff\r\n $input.setAttribute('aria-hidden', true)\r\n\r\n if (!accessibility_block_created) {\r\n $a11y = create_a11y_block()\r\n accessibility_block_created = true\r\n }\r\n\r\n var label = get_label($input)\r\n\r\n $input.polyfill = {\r\n $a11y: $a11y,\r\n label: label,\r\n autoSwap: true,\r\n update: function() {\r\n update_time($input)\r\n },\r\n swap: function(forcedFormat) {\r\n switch_times($input, forcedFormat)\r\n },\r\n }\r\n\r\n if ($input.value === '' || /--/.test($input.value)) {\r\n apply_default($input)\r\n set_data_attribute($input, '')\r\n } else {\r\n update_time($input)\r\n set_data_attribute($input, $input.value)\r\n }\r\n\r\n bind_events($input)\r\n}\r\n\r\nif (window) window.TimePolyfill = TimePolyfill\r\nif (module) module.exports = TimePolyfill\r\n","\r\nmodule.exports = function($result, values){\r\n\tvar $list = $result.querySelector('.result__list');\r\n\tvar $close = $result.querySelector('.result__close');\r\n\r\n\tvar html = '';\r\n\tfor (var label in values) {\r\n\t\tvar value = values[label].replace(/^$/,'blank ');\r\n\t\thtml = html + [\r\n\t\t\t'',\r\n\t\t\t\t'
',label,' ',\r\n\t\t\t\t'\"',value,'\" ',\r\n\t\t\t''\r\n\t\t].join('');\r\n\t}\r\n\t$list.innerHTML = html;\r\n\t$result.classList.add('-visible');\r\n\r\n\t$close.onclick = function(){\r\n\t\t$result.classList.remove('-visible');\r\n\t}\r\n}\r\n","\r\n//Code for tracking Google Analytics events\r\nmodule.exports = function GA_trackEvent(action, categoryLabelValue) {\r\n\r\n\tif (typeof gtag !== 'undefined') {\r\n\r\n\t\tif (categoryLabelValue) {\r\n\t\t\tgtag('event', action, {\r\n\t\t\t\tevent_category: categoryLabelValue[0],\r\n\t\t\t\tevent_label: categoryLabelValue[1],\r\n\t\t\t\tvalue: categoryLabelValue[2],\r\n\t\t\t});\r\n\t\t} else {\r\n\t\t\tgtag('event', action);\r\n\t\t}\r\n\r\n\t} else {\r\n\t\tcategoryLabelValue = {};\r\n\t\tvar data = {\r\n\t\t\taction: action,\r\n\t\t\tevent_category: categoryLabelValue.category || 'general',\r\n\t\t\tevent_label: categoryLabelValue.label || '(not set)',\r\n\t\t\tvalue: categoryLabelValue.value\r\n\t\t}\r\n\r\n\t\tconsole.log(\"GA event =\", data, '* = required');\r\n\t}\r\n}\r\n","// Main javascript entry point\r\n// Should handle bootstrapping/starting application\r\n\r\n'use strict';\r\n\r\n// Time input polyfill\r\nvar TimePolyfill = require('../../index');\r\nvar _$$ = require('../../core/selectors/_$$');\r\nvar toArray = require('../../core/converters/toArray');\r\n\r\nvar result = require('../_modules/result/result');\r\n\r\nvar ga = require('./_helpers/gtag');\r\n\r\ndocument.addEventListener(\"DOMContentLoaded\", function() {\r\n\t// var $$timeInputs = _$$('input[type=\"time\"]');\r\n\tvar $$timeInputs = _$$('input.time');\r\n\t$$timeInputs.forEach(function (element) {\r\n\t\tnew TimePolyfill(element);\r\n\r\n\t\t// Disable auto swap\r\n\t\t// element.polyfill.autoSwap = false;\r\n\r\n\t\telement.oninput = function(){\r\n\t\t\tconsole.log('input', element.dataset.value);\r\n\t\t}\r\n\t\telement.onchange = function(){\r\n\t\t\tconsole.log('change', element.dataset.value);\r\n\t\t}\r\n\r\n\t\telement.addEventListener('change', function(){\r\n\t\t\tconsole.log('listener change');\r\n\t\t});\r\n\t\telement.addEventListener('input', function(){\r\n\t\t\tconsole.log('listener input');\r\n\t\t});\r\n\t});\r\n\r\n\tdocument.querySelector('form').onsubmit = function(e){\r\n\t\te.preventDefault();\r\n\t\tvar labels = get_labels(this);\r\n\t\tvar values = get_values(this, labels);\r\n\t\tvar $result = document.querySelector('.result');\r\n\r\n\t\tga('form submit');\r\n\r\n\t\tresult($result, values);\r\n\t\t$result.focus();\r\n\r\n\t\tfunction get_labels (form) {\r\n\t\t\tvar labelList = [];\r\n\t\t\ttoArray(form.children).forEach(function(element){\r\n\t\t\t\tvar $label = element.querySelector('label');\r\n\t\t\t\tif ($label) {\r\n\t\t\t\t\tlabelList.push($label.textContent);\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\treturn labelList;\r\n\t\t}\r\n\r\n\t\tfunction get_values (form, labels) {\r\n\t\t\tvar valuesList = {};\r\n\t\t\ttoArray(form.elements).forEach(function(element, i){\r\n\t\t\t\tif (element.nodeName === 'INPUT') {\r\n\t\t\t\t\tvaluesList[labels[i]] = element.value\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\treturn valuesList;\r\n\t\t}\r\n\t}\r\n\r\n});\r\n"],"sourceRoot":"/source/"}
\ No newline at end of file
diff --git a/gulp/sass.js b/gulp/sass.js
index 62dabde..969fc0e 100644
--- a/gulp/sass.js
+++ b/gulp/sass.js
@@ -42,19 +42,15 @@ module.exports = function(
})
.on('error', plugins.sass.logError),
)
- .pipe(
- plugins.postcss([
- autoprefixer({
- browsers: [
- 'last 2 version',
- '> 5%',
- 'safari 5',
- 'ios 6',
- 'android 4',
- ],
- }),
- ]),
- )
+ // .pipe(
+ // plugins.postcss([
+ // autoprefixer({
+ // overrideBrowserslist: [
+ // '> 0.5%',
+ // ],
+ // }),
+ // ]),
+ // )
.pipe(
plugins.rename(function(filepath) {
// Remove 'source' directory as well as prefixed folder underscores
diff --git a/package-lock.json b/package-lock.json
index 63e9c96..af2db1a 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,19 +1,34 @@
{
"name": "time-input-polyfill",
- "version": "1.0.4",
+ "version": "1.0.9",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
+ "@types/babel-types": {
+ "version": "7.0.7",
+ "resolved": "https://registry.npmjs.org/@types/babel-types/-/babel-types-7.0.7.tgz",
+ "integrity": "sha512-dBtBbrc+qTHy1WdfHYjBwRln4+LWqASWakLHsWHR2NWHIFkv4W3O070IGoGLEBrJBvct3r0L1BUPuvURi7kYUQ==",
+ "dev": true
+ },
+ "@types/babylon": {
+ "version": "6.16.5",
+ "resolved": "https://registry.npmjs.org/@types/babylon/-/babylon-6.16.5.tgz",
+ "integrity": "sha512-xH2e58elpj1X4ynnKp9qSnWlsRTIs6n3tgLGNfwAGHwePw0mulHQllV34n0T25uYSu1k0hRKkWXF890B1yS47w==",
+ "dev": true,
+ "requires": {
+ "@types/babel-types": "*"
+ }
+ },
"@types/pug": {
"version": "2.0.4",
- "resolved": "http://registry.npmjs.org/@types/pug/-/pug-2.0.4.tgz",
+ "resolved": "https://registry.npmjs.org/@types/pug/-/pug-2.0.4.tgz",
"integrity": "sha1-h3L80EGOPNLMFxVV1zAHQVBR9LI=",
"dev": true
},
"JSONStream": {
- "version": "1.3.4",
- "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.4.tgz",
- "integrity": "sha512-Y7vfi3I5oMOYIr+WxV8NZxDSwcbNgzdKYsTNInmycOq9bUYwGg9ryu57Wg5NLmCjqdFPNUmpMBo3kSJN9tCbXg==",
+ "version": "1.3.5",
+ "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz",
+ "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==",
"dev": true,
"requires": {
"jsonparse": "^1.2.0",
@@ -27,36 +42,53 @@
"dev": true
},
"accepts": {
- "version": "1.3.5",
- "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.5.tgz",
- "integrity": "sha1-63d99gEXI6OxTopywIBcjoZ0a9I=",
+ "version": "1.3.7",
+ "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz",
+ "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==",
"dev": true,
"requires": {
- "mime-types": "~2.1.18",
- "negotiator": "0.6.1"
+ "mime-types": "~2.1.24",
+ "negotiator": "0.6.2"
}
},
"acorn": {
- "version": "6.0.2",
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.0.2.tgz",
- "integrity": "sha512-GXmKIvbrN3TV7aVqAzVFaMW8F8wzVX7voEBRO3bDA64+EX37YSayggRJP5Xig6HYHBkWKpFg9W5gg6orklubhg==",
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.1.0.tgz",
+ "integrity": "sha512-kL5CuoXA/dgxlBbVrflsflzQ3PAas7RYZB52NOm/6839iVYJgKMJ3cQJD+t2i5+qFa8h3MDpEOJiS64E8JLnSQ==",
"dev": true
},
+ "acorn-globals": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-3.1.0.tgz",
+ "integrity": "sha1-/YJw9x+7SZawBPqIDuXUZXOnMb8=",
+ "dev": true,
+ "requires": {
+ "acorn": "^4.0.4"
+ },
+ "dependencies": {
+ "acorn": {
+ "version": "4.0.13",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-4.0.13.tgz",
+ "integrity": "sha1-EFSVrlNh1pe9GVyCUZLhrX8lN4c=",
+ "dev": true
+ }
+ }
+ },
"acorn-node": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/acorn-node/-/acorn-node-1.6.0.tgz",
- "integrity": "sha512-ZsysjEh+Y3i14f7YXCAKJy99RXbd56wHKYBzN4FlFtICIZyFpYwK6OwNJhcz8A/FMtxoUZkJofH1v9KIfNgWmw==",
+ "version": "1.8.2",
+ "resolved": "https://registry.npmjs.org/acorn-node/-/acorn-node-1.8.2.tgz",
+ "integrity": "sha512-8mt+fslDufLYntIoPAaIMUe/lrbrehIiwmR3t2k9LljIzoigEPF27eLk2hy8zSGzmR/ogr7zbRKINMo1u0yh5A==",
"dev": true,
"requires": {
- "acorn": "^6.0.1",
- "acorn-walk": "^6.0.1",
- "xtend": "^4.0.1"
+ "acorn": "^7.0.0",
+ "acorn-walk": "^7.0.0",
+ "xtend": "^4.0.2"
}
},
"acorn-walk": {
- "version": "6.1.0",
- "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-6.1.0.tgz",
- "integrity": "sha512-ugTb7Lq7u4GfWSqqpwE0bGyoBZNMTok/zDBXxfEG0QM50jNlGhIWjRC1pPN7bvV1anhF+bs+/gNcRw+o55Evbg==",
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.0.0.tgz",
+ "integrity": "sha512-7Bv1We7ZGuU79zZbb6rRqcpxo3OY+zrdtloZWoyD8fmGX+FeXRjE+iuGkZjSXLVovLzrsvMGMy0EkwA0E0umxg==",
"dev": true
},
"after": {
@@ -66,23 +98,15 @@
"dev": true
},
"ajv": {
- "version": "5.5.2",
- "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz",
- "integrity": "sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU=",
+ "version": "6.10.2",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.2.tgz",
+ "integrity": "sha512-TXtUUEYHuaTEbLZWIKUr5pmBuhDLy+8KYtPYdcV8qC+pOZL+NKqYwvWSRrVXHn+ZmRRAu8vJTAznH7Oag6RVRw==",
"dev": true,
"requires": {
- "co": "^4.6.0",
- "fast-deep-equal": "^1.0.0",
+ "fast-deep-equal": "^2.0.1",
"fast-json-stable-stringify": "^2.0.0",
- "json-schema-traverse": "^0.3.0"
- },
- "dependencies": {
- "co": {
- "version": "4.6.0",
- "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz",
- "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=",
- "dev": true
- }
+ "json-schema-traverse": "^0.4.1",
+ "uri-js": "^4.2.2"
}
},
"align-text": {
@@ -110,7 +134,7 @@
},
"ansi-colors": {
"version": "1.1.0",
- "resolved": "http://registry.npmjs.org/ansi-colors/-/ansi-colors-1.1.0.tgz",
+ "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-1.1.0.tgz",
"integrity": "sha512-SFKX67auSNoVR38N3L+nvsPjOE0bybKTYbkf5tRvushrAPQ9V75huw0ZxBkKVeRU9kqH3d6HA4xTckbwZ4ixmA==",
"dev": true,
"requires": {
@@ -139,10 +163,13 @@
"dev": true
},
"ansi-styles": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
- "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
- "dev": true
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
+ "dev": true,
+ "requires": {
+ "color-convert": "^1.9.0"
+ }
},
"ansi-wrap": {
"version": "0.1.0",
@@ -233,30 +260,12 @@
"integrity": "sha1-p5SvDAWrF1KEbudTofIRoFugxE8=",
"dev": true
},
- "array-filter": {
- "version": "0.0.1",
- "resolved": "https://registry.npmjs.org/array-filter/-/array-filter-0.0.1.tgz",
- "integrity": "sha1-fajPLiZijtcygDWB/SH2fKzS7uw=",
- "dev": true
- },
"array-find-index": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz",
"integrity": "sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E=",
"dev": true
},
- "array-map": {
- "version": "0.0.0",
- "resolved": "https://registry.npmjs.org/array-map/-/array-map-0.0.0.tgz",
- "integrity": "sha1-iKK6tz0c97zVwbEYoAP2b2ZfpmI=",
- "dev": true
- },
- "array-reduce": {
- "version": "0.0.0",
- "resolved": "https://registry.npmjs.org/array-reduce/-/array-reduce-0.0.0.tgz",
- "integrity": "sha1-FziZ0//Rx9k4PkR5Ul2+J4yrXys=",
- "dev": true
- },
"array-slice": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/array-slice/-/array-slice-1.1.0.tgz",
@@ -296,6 +305,12 @@
"integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=",
"dev": true
},
+ "asap": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz",
+ "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=",
+ "dev": true
+ },
"asn1": {
"version": "0.2.4",
"resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz",
@@ -362,7 +377,7 @@
},
"async": {
"version": "1.5.2",
- "resolved": "http://registry.npmjs.org/async/-/async-1.5.2.tgz",
+ "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz",
"integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=",
"dev": true
},
@@ -397,106 +412,104 @@
"dev": true
},
"autoprefixer": {
- "version": "9.1.5",
- "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-9.1.5.tgz",
- "integrity": "sha512-kk4Zb6RUc58ld7gdosERHMF3DzIYJc2fp5sX46qEsGXQQy5bXsu8qyLjoxuY1NuQ/cJuCYnx99BfjwnRggrYIw==",
+ "version": "9.7.3",
+ "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-9.7.3.tgz",
+ "integrity": "sha512-8T5Y1C5Iyj6PgkPSFd0ODvK9DIleuPKUPYniNxybS47g2k2wFgLZ46lGQHlBuGKIAEV8fbCDfKCCRS1tvOgc3Q==",
"dev": true,
"requires": {
- "browserslist": "^4.1.0",
- "caniuse-lite": "^1.0.30000884",
+ "browserslist": "^4.8.0",
+ "caniuse-lite": "^1.0.30001012",
+ "chalk": "^2.4.2",
"normalize-range": "^0.1.2",
"num2fraction": "^1.2.2",
- "postcss": "^7.0.2",
- "postcss-value-parser": "^3.2.3"
+ "postcss": "^7.0.23",
+ "postcss-value-parser": "^4.0.2"
+ }
+ },
+ "aws-sign2": {
+ "version": "0.7.0",
+ "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz",
+ "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=",
+ "dev": true
+ },
+ "aws4": {
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.9.0.tgz",
+ "integrity": "sha512-Uvq6hVe90D0B2WEnUqtdgY1bATGz3mw33nH9Y+dmA+w5DHvUmBgkr5rM/KCHpCsiFNRUfokW/szpPPgMK2hm4A==",
+ "dev": true
+ },
+ "axios": {
+ "version": "0.19.0",
+ "resolved": "https://registry.npmjs.org/axios/-/axios-0.19.0.tgz",
+ "integrity": "sha512-1uvKqKQta3KBxIz14F2v06AEHZ/dIoeKfbTRkK1E5oqjDnuEerLmYTgJB5AiQZHJcljpg1TuRzdjDR06qNk0DQ==",
+ "dev": true,
+ "requires": {
+ "follow-redirects": "1.5.10",
+ "is-buffer": "^2.0.2"
},
"dependencies": {
- "ansi-styles": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
- "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
- "dev": true,
- "requires": {
- "color-convert": "^1.9.0"
- }
- },
- "browserslist": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.2.0.tgz",
- "integrity": "sha512-Berls1CHL7qfQz8Lct6QxYA5d2Tvt4doDWHcjvAISybpd+EKZVppNtXgXhaN6SdrPKo7YLTSZuYBs5cYrSWN8w==",
- "dev": true,
- "requires": {
- "caniuse-lite": "^1.0.30000889",
- "electron-to-chromium": "^1.3.73",
- "node-releases": "^1.0.0-alpha.12"
- }
- },
- "chalk": {
- "version": "2.4.1",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz",
- "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==",
+ "debug": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz",
+ "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==",
"dev": true,
"requires": {
- "ansi-styles": "^3.2.1",
- "escape-string-regexp": "^1.0.7",
- "supports-color": "^5.3.0"
+ "ms": "2.0.0"
}
},
- "has-flag": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
- "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
- "dev": true
- },
- "postcss": {
- "version": "7.0.5",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.5.tgz",
- "integrity": "sha512-HBNpviAUFCKvEh7NZhw1e8MBPivRszIiUnhrJ+sBFVSYSqubrzwX3KG51mYgcRHX8j/cAgZJedONZcm5jTBdgQ==",
+ "follow-redirects": {
+ "version": "1.5.10",
+ "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.5.10.tgz",
+ "integrity": "sha512-0V5l4Cizzvqt5D44aTXbFZz+FtyXV1vrDN6qrelxtfYQKW0KO0W2T/hkE8xvGa/540LkZlkaUjO4ailYTFtHVQ==",
"dev": true,
"requires": {
- "chalk": "^2.4.1",
- "source-map": "^0.6.1",
- "supports-color": "^5.5.0"
+ "debug": "=3.1.0"
}
},
- "source-map": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
+ "is-buffer": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.4.tgz",
+ "integrity": "sha512-Kq1rokWXOPXWuaMAqZiJW4XxsmD9zGx9q4aePabbn3qCRGedtH7Cm+zV8WETitMfu1wdh+Rvd6w5egwSngUX2A==",
"dev": true
- },
- "supports-color": {
- "version": "5.5.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
- "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
- "dev": true,
- "requires": {
- "has-flag": "^3.0.0"
- }
}
}
},
- "aws-sign2": {
- "version": "0.7.0",
- "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz",
- "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=",
- "dev": true
- },
- "aws4": {
- "version": "1.8.0",
- "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz",
- "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==",
- "dev": true
+ "babel-runtime": {
+ "version": "6.26.0",
+ "resolved": "https://registry.npmjs.org/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"
+ }
},
- "axios": {
- "version": "0.17.1",
- "resolved": "https://registry.npmjs.org/axios/-/axios-0.17.1.tgz",
- "integrity": "sha1-LY4+XQvb1zJ/kbyBT1xXZg+Bgk0=",
+ "babel-types": {
+ "version": "6.26.0",
+ "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz",
+ "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=",
"dev": true,
"requires": {
- "follow-redirects": "^1.2.5",
- "is-buffer": "^1.1.5"
+ "babel-runtime": "^6.26.0",
+ "esutils": "^2.0.2",
+ "lodash": "^4.17.4",
+ "to-fast-properties": "^1.0.3"
+ },
+ "dependencies": {
+ "lodash": {
+ "version": "4.17.15",
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz",
+ "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==",
+ "dev": true
+ }
}
},
+ "babylon": {
+ "version": "6.18.0",
+ "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz",
+ "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==",
+ "dev": true
+ },
"backo2": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz",
@@ -589,9 +602,9 @@
"dev": true
},
"base64-js": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.0.tgz",
- "integrity": "sha512-ccav/yGvoa80BQDljCxsmmQ3Xvx60/UpBIij5QN21W3wBi/hhIC9OoO+KLpu9IJTS9j4DRVJ3aDDF9cMSoa2lw==",
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.1.tgz",
+ "integrity": "sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g==",
"dev": true
},
"base64id": {
@@ -611,7 +624,6 @@
"resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz",
"integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=",
"dev": true,
- "optional": true,
"requires": {
"tweetnacl": "^0.14.3"
}
@@ -624,7 +636,7 @@
},
"benchmark": {
"version": "1.0.0",
- "resolved": "http://registry.npmjs.org/benchmark/-/benchmark-1.0.0.tgz",
+ "resolved": "https://registry.npmjs.org/benchmark/-/benchmark-1.0.0.tgz",
"integrity": "sha1-Lx4vpMNZ8REiqhgwgiGOlX45DHM=",
"dev": true
},
@@ -705,14 +717,24 @@
}
},
"binary-extensions": {
- "version": "1.12.0",
- "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.12.0.tgz",
- "integrity": "sha512-DYWGk01lDcxeS/K9IHPGWfT8PsJmbXRtRd2Sx72Tnb8pcYZQFF1oSDb8hJtS1vhp212q1Rzi5dUf9+nq0o9UIg==",
+ "version": "1.13.1",
+ "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz",
+ "integrity": "sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==",
"dev": true
},
+ "bindings": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz",
+ "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==",
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "file-uri-to-path": "1.0.0"
+ }
+ },
"bl": {
"version": "1.2.2",
- "resolved": "http://registry.npmjs.org/bl/-/bl-1.2.2.tgz",
+ "resolved": "https://registry.npmjs.org/bl/-/bl-1.2.2.tgz",
"integrity": "sha512-e8tQYnZodmebYDWGH7KMRvtzKXaJHx3BbilrgZCfvyLUYdKpK1t5PSPmpkny/SgiTSCnjfLW7v5rlONXVFkQEA==",
"dev": true,
"requires": {
@@ -801,14 +823,14 @@
},
"browser-sync": {
"version": "2.11.2",
- "resolved": "http://registry.npmjs.org/browser-sync/-/browser-sync-2.11.2.tgz",
+ "resolved": "https://registry.npmjs.org/browser-sync/-/browser-sync-2.11.2.tgz",
"integrity": "sha1-vjqrWDSdpwoasDFOdl85bWhMOdU=",
"dev": true,
"requires": {
"async-each-series": "^0.1.1",
"browser-sync-client": "^2.3.3",
"browser-sync-ui": "^0.5.16",
- "bs-recipes": "^1.0.7",
+ "bs-recipes": "^1.0.5",
"chokidar": "1.4.1",
"connect": "^3.4.0",
"dev-ip": "^1.0.1",
@@ -836,25 +858,27 @@
"dependencies": {
"lodash": {
"version": "3.10.1",
- "resolved": "http://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz",
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz",
"integrity": "sha1-W/Rejkm6QYnhfUgnid/RW9FAt7Y=",
"dev": true
}
}
},
"browser-sync-client": {
- "version": "2.5.1",
- "resolved": "https://registry.npmjs.org/browser-sync-client/-/browser-sync-client-2.5.1.tgz",
- "integrity": "sha1-7BrWmknC4tS2RbGLHAbCmz2a+Os=",
+ "version": "2.26.6",
+ "resolved": "https://registry.npmjs.org/browser-sync-client/-/browser-sync-client-2.26.6.tgz",
+ "integrity": "sha512-mGrkZdNzttKdf/16I+y+2dTQxoMCIpKbVIMJ/uP8ZpnKu9f9qa/2CYVtLtbjZG8nsM14EwiCrjuFTGBEnT3Gjw==",
"dev": true,
"requires": {
- "etag": "^1.7.0",
- "fresh": "^0.3.0"
+ "etag": "1.8.1",
+ "fresh": "0.5.2",
+ "mitt": "^1.1.3",
+ "rxjs": "^5.5.6"
}
},
"browser-sync-ui": {
"version": "0.5.19",
- "resolved": "http://registry.npmjs.org/browser-sync-ui/-/browser-sync-ui-0.5.19.tgz",
+ "resolved": "https://registry.npmjs.org/browser-sync-ui/-/browser-sync-ui-0.5.19.tgz",
"integrity": "sha1-EAP/a8UtCR8PckBUJjch+2otv3s=",
"dev": true,
"requires": {
@@ -867,7 +891,7 @@
},
"browserify": {
"version": "13.0.1",
- "resolved": "http://registry.npmjs.org/browserify/-/browserify-13.0.1.tgz",
+ "resolved": "https://registry.npmjs.org/browserify/-/browserify-13.0.1.tgz",
"integrity": "sha1-03F5y7IiF57Pcw7H5iXpmGd5AtQ=",
"dev": true,
"requires": {
@@ -942,7 +966,7 @@
},
"browserify-aes": {
"version": "1.2.0",
- "resolved": "http://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz",
+ "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz",
"integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==",
"dev": true,
"requires": {
@@ -979,7 +1003,7 @@
},
"browserify-rsa": {
"version": "4.0.1",
- "resolved": "http://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.0.1.tgz",
+ "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.0.1.tgz",
"integrity": "sha1-IeCr+vbyApzy+vsTNWenAdQTVSQ=",
"dev": true,
"requires": {
@@ -1012,12 +1036,14 @@
}
},
"browserslist": {
- "version": "1.3.6",
- "resolved": "http://registry.npmjs.org/browserslist/-/browserslist-1.3.6.tgz",
- "integrity": "sha1-lS/0jVZGPTtTj4XvL46t39KEsTM=",
+ "version": "4.8.3",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.8.3.tgz",
+ "integrity": "sha512-iU43cMMknxG1ClEZ2MDKeonKE1CCrFVkQK2AqO2YWFmvIrx4JWrvQ4w4hQez6EpVI8rHTtqh/ruHHDHSOKxvUg==",
"dev": true,
"requires": {
- "caniuse-db": "^1.0.30000525"
+ "caniuse-lite": "^1.0.30001017",
+ "electron-to-chromium": "^1.3.322",
+ "node-releases": "^1.1.44"
}
},
"bs-recipes": {
@@ -1027,9 +1053,9 @@
"dev": true
},
"buffer": {
- "version": "4.9.1",
- "resolved": "http://registry.npmjs.org/buffer/-/buffer-4.9.1.tgz",
- "integrity": "sha1-bRu2AbB6TvztlwlBMgkwJ8lbwpg=",
+ "version": "4.9.2",
+ "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz",
+ "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==",
"dev": true,
"requires": {
"base64-js": "^1.0.2",
@@ -1111,12 +1137,6 @@
"readable-stream": "^2.0.2"
}
},
- "builtin-modules": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz",
- "integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=",
- "dev": true
- },
"builtin-status-codes": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz",
@@ -1149,9 +1169,9 @@
}
},
"cached-path-relative": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/cached-path-relative/-/cached-path-relative-1.0.1.tgz",
- "integrity": "sha1-0JxLUoAKpMB44t2BqGmqyQ0uVOc=",
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/cached-path-relative/-/cached-path-relative-1.0.2.tgz",
+ "integrity": "sha512-5r2GqsoEb4qMTTN9J+WzXfjov+hjxT+j3u5K+kIVNIwAd99DLCJE9pBIMP1qVeybV6JiijL385Oz0DcYxfbOIg==",
"dev": true
},
"callsite": {
@@ -1198,6 +1218,16 @@
"lodash.uniq": "^4.5.0"
},
"dependencies": {
+ "browserslist": {
+ "version": "1.7.7",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-1.7.7.tgz",
+ "integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=",
+ "dev": true,
+ "requires": {
+ "caniuse-db": "^1.0.30000639",
+ "electron-to-chromium": "^1.2.7"
+ }
+ },
"lodash.memoize": {
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz",
@@ -1207,15 +1237,15 @@
}
},
"caniuse-db": {
- "version": "1.0.30000889",
- "resolved": "https://registry.npmjs.org/caniuse-db/-/caniuse-db-1.0.30000889.tgz",
- "integrity": "sha512-Rf9Sbm2KS7s6Rk8iNeI5zJdquqctXBXAfy/bb1tCCYRds5RAaHNdyt2D4z8TSRToDkYsAwiSBV/bFHR+4IgTiw==",
+ "version": "1.0.30001018",
+ "resolved": "https://registry.npmjs.org/caniuse-db/-/caniuse-db-1.0.30001018.tgz",
+ "integrity": "sha512-ekRopMEbImnTKy+H0+h+1Bz/naGJmiPLfw5ib4jDxmjM/pPhrKgrBoLRYLKzkCPEH4346Wya1ip6vaNTG4acAg==",
"dev": true
},
"caniuse-lite": {
- "version": "1.0.30000890",
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000890.tgz",
- "integrity": "sha512-4NI3s4Y6ROm+SgZN5sLUG4k7nVWQnedis3c/RWkynV5G6cHSY7+a8fwFyn2yoBDE3E6VswhTNNwR3PvzGqlTkg==",
+ "version": "1.0.30001018",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001018.tgz",
+ "integrity": "sha512-GTHI7xdD2EX/U9UgNCEdekriT81N6ZwipsTGKAI1hrv3VEC96BvS5RVoc9Odlf9ftS92oxgflAGbYLi8UjIiVA==",
"dev": true
},
"capture-stack-trace": {
@@ -1261,24 +1291,14 @@
}
},
"chalk": {
- "version": "1.1.3",
- "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
- "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
"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"
- },
- "dependencies": {
- "supports-color": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
- "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
- "dev": true
- }
+ "ansi-styles": "^3.2.1",
+ "escape-string-regexp": "^1.0.5",
+ "supports-color": "^5.3.0"
}
},
"change-case": {
@@ -1305,9 +1325,18 @@
"upper-case-first": "^1.1.0"
}
},
+ "character-parser": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/character-parser/-/character-parser-2.2.0.tgz",
+ "integrity": "sha1-x84o821LzZdE5f/CxfzeHHMmH8A=",
+ "dev": true,
+ "requires": {
+ "is-regex": "^1.0.3"
+ }
+ },
"chokidar": {
"version": "1.4.1",
- "resolved": "http://registry.npmjs.org/chokidar/-/chokidar-1.4.1.tgz",
+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-1.4.1.tgz",
"integrity": "sha1-3x2QZ2lwGg899JLDfcw8s15kUOQ=",
"dev": true,
"requires": {
@@ -1345,6 +1374,33 @@
"dev": true,
"requires": {
"chalk": "^1.1.3"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "dev": true
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/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"
+ }
+ },
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "dev": true
+ }
}
},
"class-utils": {
@@ -1388,7 +1444,7 @@
"dependencies": {
"commander": {
"version": "2.8.1",
- "resolved": "http://registry.npmjs.org/commander/-/commander-2.8.1.tgz",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.8.1.tgz",
"integrity": "sha1-Br42f+v9oMMwqh4qBy09yXYkJdQ=",
"dev": true,
"requires": {
@@ -1543,21 +1599,29 @@
"inline-source-map": "~0.6.0",
"lodash.memoize": "~3.0.3",
"source-map": "~0.5.3"
+ },
+ "dependencies": {
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
+ }
}
},
"combined-stream": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.7.tgz",
- "integrity": "sha512-brWl9y6vOB1xYPZcpZde3N9zDByXTosAeMDo4p1wzo6UMOX4vumB+TP1RZ76sfE6Md68Q0NJSrE/gbezd4Ul+w==",
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
+ "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
"dev": true,
"requires": {
"delayed-stream": "~1.0.0"
}
},
"commander": {
- "version": "2.18.0",
- "resolved": "https://registry.npmjs.org/commander/-/commander-2.18.0.tgz",
- "integrity": "sha512-6CYPa+JP2ftfRU2qkDK+UTVeQYosOg/2GbcjIcKPHfinyOLPVGXu/ovN86RP49Re5ndJK1N0kuiidFFuepc4ZQ==",
+ "version": "2.20.3",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
+ "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",
"dev": true
},
"commoner": {
@@ -1592,13 +1656,13 @@
},
"minimist": {
"version": "0.0.8",
- "resolved": "http://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
"integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=",
"dev": true
},
"mkdirp": {
"version": "0.5.1",
- "resolved": "http://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
+ "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
"integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
"dev": true,
"requires": {
@@ -1614,9 +1678,9 @@
"dev": true
},
"component-emitter": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz",
- "integrity": "sha1-E3kY1teCg/ffemt8WmPhQOaUJeY=",
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz",
+ "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==",
"dev": true
},
"component-inherit": {
@@ -1650,14 +1714,14 @@
},
"readable-stream": {
"version": "2.0.6",
- "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.0.6.tgz",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.0.6.tgz",
"integrity": "sha1-j5A0HmilPMySh4jaz80Rs265t44=",
"dev": true,
"requires": {
"core-util-is": "~1.0.0",
"inherits": "~2.0.1",
"isarray": "~1.0.0",
- "process-nextick-args": "~1.0.7",
+ "process-nextick-args": "~1.0.6",
"string_decoder": "~0.10.x",
"util-deprecate": "~1.0.1"
}
@@ -1677,42 +1741,31 @@
"dev": true,
"requires": {
"source-map": "^0.6.1"
- },
- "dependencies": {
- "source-map": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
- "dev": true
- }
}
},
"connect": {
- "version": "3.6.6",
- "resolved": "https://registry.npmjs.org/connect/-/connect-3.6.6.tgz",
- "integrity": "sha1-Ce/2xVr3I24TcTWnJXSFi2eG9SQ=",
+ "version": "3.7.0",
+ "resolved": "https://registry.npmjs.org/connect/-/connect-3.7.0.tgz",
+ "integrity": "sha512-ZqRXc+tZukToSNmh5C2iWMSoV3X1YUcPbqEM4DkEG5tNQXrQUZCNVGGv3IuicnkMtPfGf3Xtp8WCXs295iQ1pQ==",
"dev": true,
"requires": {
"debug": "2.6.9",
- "finalhandler": "1.1.0",
- "parseurl": "~1.3.2",
+ "finalhandler": "1.1.2",
+ "parseurl": "~1.3.3",
"utils-merge": "1.0.1"
}
},
"connect-history-api-fallback": {
- "version": "1.5.0",
- "resolved": "https://registry.npmjs.org/connect-history-api-fallback/-/connect-history-api-fallback-1.5.0.tgz",
- "integrity": "sha1-sGhzk0vF40T+9hGhlqb6rgruAVo=",
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/connect-history-api-fallback/-/connect-history-api-fallback-1.6.0.tgz",
+ "integrity": "sha512-e54B99q/OUoH64zYYRf3HBP5z24G38h5D3qXu23JGRoigpX5Ss4r9ZnDk3g0Z8uQC2x2lPaJ+UlWBc1ZWBWdLg==",
"dev": true
},
"console-browserify": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.1.0.tgz",
- "integrity": "sha1-8CQcRXMKn8YyOyBtvzjtx0HQuxA=",
- "dev": true,
- "requires": {
- "date-now": "^0.1.4"
- }
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.2.0.tgz",
+ "integrity": "sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA==",
+ "dev": true
},
"console-control-strings": {
"version": "1.1.0",
@@ -1737,20 +1790,15 @@
}
},
"constantinople": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/constantinople/-/constantinople-3.0.2.tgz",
- "integrity": "sha1-S5RdmTeQe82Y7ldRIsOBdRZUQUE=",
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/constantinople/-/constantinople-3.1.2.tgz",
+ "integrity": "sha512-yePcBqEFhLOqSBtwYOGGS1exHo/s1xjekXiinh4itpNQGCu4KA1euPh1fg07N2wMITZXQkBz75Ntdt1ctGZouw==",
"dev": true,
"requires": {
- "acorn": "^2.1.0"
- },
- "dependencies": {
- "acorn": {
- "version": "2.7.0",
- "resolved": "http://registry.npmjs.org/acorn/-/acorn-2.7.0.tgz",
- "integrity": "sha1-q259nYhqrKiwhbwzEreaGYQz8Oc=",
- "dev": true
- }
+ "@types/babel-types": "^7.0.0",
+ "@types/babylon": "^6.16.2",
+ "babel-types": "^6.26.0",
+ "babylon": "^6.18.0"
}
},
"constants-browserify": {
@@ -1761,7 +1809,7 @@
},
"convert-source-map": {
"version": "1.1.3",
- "resolved": "http://registry.npmjs.org/convert-source-map/-/convert-source-map-1.1.3.tgz",
+ "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.1.3.tgz",
"integrity": "sha1-SCnId+n+SbMWHzvzZziI4gRpmGA=",
"dev": true
},
@@ -1771,6 +1819,12 @@
"integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=",
"dev": true
},
+ "core-js": {
+ "version": "2.6.11",
+ "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.11.tgz",
+ "integrity": "sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg==",
+ "dev": true
+ },
"core-util-is": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
@@ -1798,7 +1852,7 @@
},
"create-hash": {
"version": "1.2.0",
- "resolved": "http://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz",
+ "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz",
"integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==",
"dev": true,
"requires": {
@@ -1811,7 +1865,7 @@
},
"create-hmac": {
"version": "1.1.7",
- "resolved": "http://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz",
+ "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz",
"integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==",
"dev": true,
"requires": {
@@ -1834,9 +1888,9 @@
},
"dependencies": {
"lru-cache": {
- "version": "4.1.3",
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.3.tgz",
- "integrity": "sha512-fFEhvcgzuIoJVUF8fYr5KR0YqxD238zgObTps31YdADwPPAp82a4M8TrckkWyx7ekNlf9aBcVn81cFwwXngrJA==",
+ "version": "4.1.5",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz",
+ "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==",
"dev": true,
"requires": {
"pseudomap": "^1.0.2",
@@ -1872,7 +1926,7 @@
},
"cssnano": {
"version": "3.10.0",
- "resolved": "http://registry.npmjs.org/cssnano/-/cssnano-3.10.0.tgz",
+ "resolved": "https://registry.npmjs.org/cssnano/-/cssnano-3.10.0.tgz",
"integrity": "sha1-Tzj2zqK5sX+gFJDyPx3GjqZcHDg=",
"dev": true,
"requires": {
@@ -1910,6 +1964,12 @@
"postcss-zindex": "^2.0.1"
},
"dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "dev": true
+ },
"autoprefixer": {
"version": "6.7.7",
"resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-6.7.7.tgz",
@@ -1934,11 +1994,71 @@
"electron-to-chromium": "^1.2.7"
}
},
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/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"
+ },
+ "dependencies": {
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "dev": true
+ }
+ }
+ },
+ "has-flag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
+ "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
+ "dev": true
+ },
"object-assign": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
"integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=",
"dev": true
+ },
+ "postcss": {
+ "version": "5.2.18",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
+ "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
+ "dev": true,
+ "requires": {
+ "chalk": "^1.1.3",
+ "js-base64": "^2.1.9",
+ "source-map": "^0.5.6",
+ "supports-color": "^3.2.3"
+ }
+ },
+ "postcss-value-parser": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",
+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",
+ "dev": true
+ },
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
+ },
+ "supports-color": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
+ "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "dev": true,
+ "requires": {
+ "has-flag": "^1.0.0"
+ }
}
}
},
@@ -1950,6 +2070,14 @@
"requires": {
"clap": "^1.0.9",
"source-map": "^0.5.3"
+ },
+ "dependencies": {
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
+ }
}
},
"currently-unhandled": {
@@ -1962,14 +2090,21 @@
}
},
"d": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/d/-/d-1.0.0.tgz",
- "integrity": "sha1-dUu1v+VUUdpppYuU1F9MWwRi1Y8=",
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz",
+ "integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==",
"dev": true,
"requires": {
- "es5-ext": "^0.10.9"
+ "es5-ext": "^0.10.50",
+ "type": "^1.0.1"
}
},
+ "dash-ast": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/dash-ast/-/dash-ast-1.0.0.tgz",
+ "integrity": "sha512-Vy4dx7gquTeMcQR/hDkYLGUnwVil6vk4FOOct+djUnHOUWt+zJPJAaRIXaAFkPXtJjvlY7o3rfRu0/3hpnwoUA==",
+ "dev": true
+ },
"dashdash": {
"version": "1.14.1",
"resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz",
@@ -1979,12 +2114,6 @@
"assert-plus": "^1.0.0"
}
},
- "date-now": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/date-now/-/date-now-0.1.4.tgz",
- "integrity": "sha1-6vQ5/U1ISK105cx9vvIAZyueNFs=",
- "dev": true
- },
"dateformat": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/dateformat/-/dateformat-2.2.0.tgz",
@@ -2076,7 +2205,7 @@
"dependencies": {
"readable-stream": {
"version": "1.0.34",
- "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
"integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=",
"dev": true,
"requires": {
@@ -2119,15 +2248,6 @@
"integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=",
"dev": true
},
- "json-stable-stringify": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz",
- "integrity": "sha1-mnWdOcXy/1A/1TAGRu1EX4jE+a8=",
- "dev": true,
- "requires": {
- "jsonify": "~0.0.0"
- }
- },
"micromatch": {
"version": "2.3.11",
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz",
@@ -2168,13 +2288,13 @@
},
"minimist": {
"version": "0.0.8",
- "resolved": "http://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
"integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=",
"dev": true
},
"mkdirp": {
"version": "0.5.1",
- "resolved": "http://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
+ "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
"integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
"dev": true,
"requires": {
@@ -2204,13 +2324,25 @@
"dev": true
},
"unique-stream": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/unique-stream/-/unique-stream-2.2.1.tgz",
- "integrity": "sha1-WqADz76Uxf+GbE59ZouxxNuts2k=",
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/unique-stream/-/unique-stream-2.3.1.tgz",
+ "integrity": "sha512-2nY4TnBE70yoxHkDli7DMazpWiP7xMdCYqU2nBRO0UB+ZpEkGsSija7MvmvnZFUeC+mrgiUfcHSr3LmRFIg4+A==",
"dev": true,
"requires": {
- "json-stable-stringify": "^1.0.0",
- "through2-filter": "^2.0.0"
+ "json-stable-stringify-without-jsonify": "^1.0.1",
+ "through2-filter": "^3.0.0"
+ },
+ "dependencies": {
+ "through2-filter": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/through2-filter/-/through2-filter-3.0.0.tgz",
+ "integrity": "sha512-jaRjI2WxN3W1V8/FMZ9HKIBXixtiqs3SQSX4/YGIiP3gL6djW48VoZq9tDqeCWs3MT8YY5wb/zli8VW8snY1CA==",
+ "dev": true,
+ "requires": {
+ "through2": "~2.0.0",
+ "xtend": "~4.0.0"
+ }
+ }
}
},
"vinyl": {
@@ -2285,7 +2417,7 @@
},
"readable-stream": {
"version": "1.0.34",
- "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
"integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=",
"dev": true,
"requires": {
@@ -2358,7 +2490,7 @@
},
"readable-stream": {
"version": "1.0.34",
- "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
"integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=",
"dev": true,
"requires": {
@@ -2430,7 +2562,7 @@
},
"readable-stream": {
"version": "1.0.34",
- "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
"integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=",
"dev": true,
"requires": {
@@ -2624,21 +2756,21 @@
"dev": true
},
"deps-sort": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/deps-sort/-/deps-sort-2.0.0.tgz",
- "integrity": "sha1-CRckkC6EZYJg65EHSMzNGvbiH7U=",
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/deps-sort/-/deps-sort-2.0.1.tgz",
+ "integrity": "sha512-1orqXQr5po+3KI6kQb9A4jnXT1PBwggGl2d7Sq2xsnOeI9GPcE/tGcF9UiSZtZBM7MukY4cAh7MemS6tZYipfw==",
"dev": true,
"requires": {
"JSONStream": "^1.0.3",
- "shasum": "^1.0.0",
+ "shasum-object": "^1.0.0",
"subarg": "^1.0.0",
"through2": "^2.0.0"
}
},
"des.js": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.0.tgz",
- "integrity": "sha1-wHTS4qpqipoH29YfmhXCzYPsjsw=",
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz",
+ "integrity": "sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA==",
"dev": true,
"requires": {
"inherits": "^2.0.1",
@@ -2683,7 +2815,7 @@
},
"diffie-hellman": {
"version": "5.0.3",
- "resolved": "http://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz",
+ "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz",
"integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==",
"dev": true,
"requires": {
@@ -2801,7 +2933,7 @@
"dependencies": {
"readable-stream": {
"version": "1.0.34",
- "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
"integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=",
"dev": true,
"requires": {
@@ -2844,15 +2976,6 @@
"integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=",
"dev": true
},
- "json-stable-stringify": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz",
- "integrity": "sha1-mnWdOcXy/1A/1TAGRu1EX4jE+a8=",
- "dev": true,
- "requires": {
- "jsonify": "~0.0.0"
- }
- },
"micromatch": {
"version": "2.3.11",
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz",
@@ -2893,13 +3016,13 @@
},
"minimist": {
"version": "0.0.8",
- "resolved": "http://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
"integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=",
"dev": true
},
"mkdirp": {
"version": "0.5.1",
- "resolved": "http://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
+ "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
"integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
"dev": true,
"requires": {
@@ -2929,13 +3052,25 @@
"dev": true
},
"unique-stream": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/unique-stream/-/unique-stream-2.2.1.tgz",
- "integrity": "sha1-WqADz76Uxf+GbE59ZouxxNuts2k=",
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/unique-stream/-/unique-stream-2.3.1.tgz",
+ "integrity": "sha512-2nY4TnBE70yoxHkDli7DMazpWiP7xMdCYqU2nBRO0UB+ZpEkGsSija7MvmvnZFUeC+mrgiUfcHSr3LmRFIg4+A==",
"dev": true,
"requires": {
- "json-stable-stringify": "^1.0.0",
- "through2-filter": "^2.0.0"
+ "json-stable-stringify-without-jsonify": "^1.0.1",
+ "through2-filter": "^3.0.0"
+ },
+ "dependencies": {
+ "through2-filter": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/through2-filter/-/through2-filter-3.0.0.tgz",
+ "integrity": "sha512-jaRjI2WxN3W1V8/FMZ9HKIBXixtiqs3SQSX4/YGIiP3gL6djW48VoZq9tDqeCWs3MT8YY5wb/zli8VW8snY1CA==",
+ "dev": true,
+ "requires": {
+ "through2": "~2.0.0",
+ "xtend": "~4.0.0"
+ }
+ }
}
},
"vinyl": {
@@ -2986,9 +3121,9 @@
}
},
"duplexify": {
- "version": "3.6.0",
- "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.6.0.tgz",
- "integrity": "sha512-fO3Di4tBKJpYTFHAxTU00BcfWMY9w24r/x21a6rZRbsD/ToUgGxsMbiGRmB7uVAXeGKXD9MwiLZa5E97EVgIRQ==",
+ "version": "3.7.1",
+ "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.7.1.tgz",
+ "integrity": "sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g==",
"dev": true,
"requires": {
"end-of-stream": "^1.0.0",
@@ -2998,9 +3133,9 @@
},
"dependencies": {
"end-of-stream": {
- "version": "1.4.1",
- "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz",
- "integrity": "sha512-1MkrZNvWTKCaigbn+W15elq2BB/L22nqrSY5DKlo3X6+vclJm8Bb5djXJBmEX6fS3+zCh/F4VBK5Z2KxJt4s2Q==",
+ "version": "1.4.4",
+ "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",
+ "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==",
"dev": true,
"requires": {
"once": "^1.4.0"
@@ -3028,9 +3163,9 @@
},
"dependencies": {
"lodash": {
- "version": "4.17.11",
- "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz",
- "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==",
+ "version": "4.17.15",
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz",
+ "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==",
"dev": true
}
}
@@ -3051,7 +3186,6 @@
"resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz",
"integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=",
"dev": true,
- "optional": true,
"requires": {
"jsbn": "~0.1.0",
"safer-buffer": "^2.1.0"
@@ -3064,15 +3198,15 @@
"dev": true
},
"electron-to-chromium": {
- "version": "1.3.73",
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.73.tgz",
- "integrity": "sha512-6PIg7v9zRoVGh6EheRF8h6Plti+3Yo/qtHobS4/Htyt53DNHmKKGFqSae1AIk0k1S4gCQvt7I2WgpbuZNcDY+g==",
+ "version": "1.3.323",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.323.tgz",
+ "integrity": "sha512-c7pOUGnqNv6otzwcedViWOTGMEUG70PkhrTzVtc20Txh9nDC4s8zWvocJl7q+OpoC0ACXtxud8PX2y8zk/RZiw==",
"dev": true
},
"elliptic": {
- "version": "6.4.1",
- "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.4.1.tgz",
- "integrity": "sha512-BsXLz5sqX8OHcsh7CqBMztyXARmGQ3LWPtGjJi6DiJHq5C/qvi9P3OqgswKSDftbu8+IoI/QDTAm2fFnQ9SZSQ==",
+ "version": "6.5.2",
+ "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.2.tgz",
+ "integrity": "sha512-f4x70okzZbIQl/NSRLkI/+tteV/9WqL98zx+SQ69KbXxmVrmjwsNUPn/gYJJ0sHvEak24cZgHIPegRePAtA/xw==",
"dev": true,
"requires": {
"bn.js": "^4.4.0",
@@ -3141,7 +3275,7 @@
},
"debug": {
"version": "2.2.0",
- "resolved": "http://registry.npmjs.org/debug/-/debug-2.2.0.tgz",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.2.0.tgz",
"integrity": "sha1-+HBX6ZWxofauaklgZkE3vFbwOdo=",
"dev": true,
"requires": {
@@ -3165,7 +3299,7 @@
},
"ms": {
"version": "0.7.1",
- "resolved": "http://registry.npmjs.org/ms/-/ms-0.7.1.tgz",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.1.tgz",
"integrity": "sha1-nNE8A62/8ltl7/3nzoZO6VIBcJg=",
"dev": true
},
@@ -3205,7 +3339,7 @@
},
"debug": {
"version": "2.2.0",
- "resolved": "http://registry.npmjs.org/debug/-/debug-2.2.0.tgz",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.2.0.tgz",
"integrity": "sha1-+HBX6ZWxofauaklgZkE3vFbwOdo=",
"dev": true,
"requires": {
@@ -3214,7 +3348,7 @@
},
"ms": {
"version": "0.7.1",
- "resolved": "http://registry.npmjs.org/ms/-/ms-0.7.1.tgz",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.1.tgz",
"integrity": "sha1-nNE8A62/8ltl7/3nzoZO6VIBcJg=",
"dev": true
}
@@ -3271,14 +3405,14 @@
}
},
"es5-ext": {
- "version": "0.10.46",
- "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.46.tgz",
- "integrity": "sha512-24XxRvJXNFwEMpJb3nOkiRJKRoupmjYmOPVlI65Qy2SrtxwOTB+g6ODjBKOtwEHbYrhWRty9xxOWLNdClT2djw==",
+ "version": "0.10.53",
+ "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.53.tgz",
+ "integrity": "sha512-Xs2Stw6NiNHWypzRTY1MtaG/uJlwCk8kH81920ma8mvN8Xq1gsfhZvpkImLQArw8AHnv8MT2I45J3c0R8slE+Q==",
"dev": true,
"requires": {
"es6-iterator": "~2.0.3",
- "es6-symbol": "~3.1.1",
- "next-tick": "1"
+ "es6-symbol": "~3.1.3",
+ "next-tick": "~1.0.0"
}
},
"es6-iterator": {
@@ -3317,27 +3451,39 @@
"es6-iterator": "~2.0.1",
"es6-symbol": "3.1.1",
"event-emitter": "~0.3.5"
+ },
+ "dependencies": {
+ "es6-symbol": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.1.tgz",
+ "integrity": "sha1-vwDvT9q2uhtG7Le2KbTH7VcVzHc=",
+ "dev": true,
+ "requires": {
+ "d": "1",
+ "es5-ext": "~0.10.14"
+ }
+ }
}
},
"es6-symbol": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.1.tgz",
- "integrity": "sha1-vwDvT9q2uhtG7Le2KbTH7VcVzHc=",
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz",
+ "integrity": "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==",
"dev": true,
"requires": {
- "d": "1",
- "es5-ext": "~0.10.14"
+ "d": "^1.0.1",
+ "ext": "^1.1.2"
}
},
"es6-weak-map": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.2.tgz",
- "integrity": "sha1-XjqzIlH/0VOKH45f+hNXdy+S2W8=",
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.3.tgz",
+ "integrity": "sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA==",
"dev": true,
"requires": {
"d": "1",
- "es5-ext": "^0.10.14",
- "es6-iterator": "^2.0.1",
+ "es5-ext": "^0.10.46",
+ "es6-iterator": "^2.0.3",
"es6-symbol": "^3.1.1"
}
},
@@ -3348,8 +3494,8 @@
"dev": true
},
"escape-string-regexp": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.7.tgz",
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
"integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",
"dev": true
},
@@ -3367,7 +3513,7 @@
},
"eslint": {
"version": "1.10.3",
- "resolved": "http://registry.npmjs.org/eslint/-/eslint-1.10.3.tgz",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-1.10.3.tgz",
"integrity": "sha1-+xmpGxPBWAgrvKKUsX2Xm8g1Ogo=",
"dev": true,
"requires": {
@@ -3406,6 +3552,25 @@
"xml-escape": "~1.0.0"
},
"dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "dev": true
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/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"
+ }
+ },
"espree": {
"version": "2.2.5",
"resolved": "https://registry.npmjs.org/espree/-/espree-2.2.5.tgz",
@@ -3487,13 +3652,13 @@
},
"minimist": {
"version": "0.0.8",
- "resolved": "http://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
"integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=",
"dev": true
},
"mkdirp": {
"version": "0.5.1",
- "resolved": "http://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
+ "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
"integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
"dev": true,
"requires": {
@@ -3506,6 +3671,12 @@
"integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=",
"dev": true
},
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "dev": true
+ },
"user-home": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/user-home/-/user-home-2.0.0.tgz",
@@ -3533,9 +3704,9 @@
}
},
"estraverse": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.2.0.tgz",
- "integrity": "sha1-De4/7TH81GlhjOc0IJn8GvoL2xM=",
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz",
+ "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==",
"dev": true
},
"estraverse-fb": {
@@ -3545,9 +3716,9 @@
"dev": true
},
"esutils": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz",
- "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=",
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
+ "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
"dev": true
},
"etag": {
@@ -3567,14 +3738,14 @@
}
},
"eventemitter3": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-3.1.0.tgz",
- "integrity": "sha512-ivIvhpq/Y0uSjcHDcOIccjmYjGLcP09MFGE7ysAwkAvkXfpZlC985pH2/ui64DKazbTW/4kN3yqozUxlXzI6cA==",
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.0.tgz",
+ "integrity": "sha512-qerSRB0p+UDEssxTtm6EDKcE7W4OaoisfIMl4CngyEhjpYglocpNg6UEqCvemdGhosAsg4sO2dXJOdyBifPGCg==",
"dev": true
},
"events": {
"version": "1.1.1",
- "resolved": "http://registry.npmjs.org/events/-/events-1.1.1.tgz",
+ "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz",
"integrity": "sha1-nr23Y1rQmccNzEwqH1AEKI6L2SQ=",
"dev": true
},
@@ -3667,7 +3838,7 @@
},
"express": {
"version": "2.5.11",
- "resolved": "http://registry.npmjs.org/express/-/express-2.5.11.tgz",
+ "resolved": "https://registry.npmjs.org/express/-/express-2.5.11.tgz",
"integrity": "sha1-TOjqHzY15p5J8Ou0l7aksKUc5vA=",
"dev": true,
"requires": {
@@ -3690,6 +3861,23 @@
}
}
},
+ "ext": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/ext/-/ext-1.4.0.tgz",
+ "integrity": "sha512-Key5NIsUxdqKg3vIsdw9dSuXpPCQ297y6wBjL30edxwPgt2E44WcWBZey/ZvUc6sERLTxKdyCu4gZFmUbk1Q7A==",
+ "dev": true,
+ "requires": {
+ "type": "^2.0.0"
+ },
+ "dependencies": {
+ "type": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/type/-/type-2.0.0.tgz",
+ "integrity": "sha512-KBt58xCHry4Cejnc2ISQAF7QY+ORngsWfxezO68+12hKV6lQY8P/psIkcbjeHWn7MqcgciWJyCCevFMJdIXpow==",
+ "dev": true
+ }
+ }
+ },
"extend": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
@@ -3733,26 +3921,27 @@
"dev": true
},
"fancy-log": {
- "version": "1.3.2",
- "resolved": "https://registry.npmjs.org/fancy-log/-/fancy-log-1.3.2.tgz",
- "integrity": "sha1-9BEl49hPLn2JpD0G2VjI94vha+E=",
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/fancy-log/-/fancy-log-1.3.3.tgz",
+ "integrity": "sha512-k9oEhlyc0FrVh25qYuSELjr8oxsCoc4/LEZfg2iJJrfEk/tZL9bCoJE47gqAvI2m/AUjluCS4+3I0eTx8n3AEw==",
"dev": true,
"requires": {
"ansi-gray": "^0.1.1",
"color-support": "^1.1.3",
+ "parse-node-version": "^1.0.0",
"time-stamp": "^1.0.0"
}
},
"fast-deep-equal": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz",
- "integrity": "sha1-wFNHeBfIa1HaqFPIHgWbcz0CNhQ=",
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz",
+ "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=",
"dev": true
},
"fast-json-stable-stringify": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz",
- "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=",
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
+ "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",
"dev": true
},
"fast-levenshtein": {
@@ -3761,6 +3950,12 @@
"integrity": "sha1-AXjc3uAjuSkFGTrwlZ6KdjnP3Lk=",
"dev": true
},
+ "fast-safe-stringify": {
+ "version": "2.0.7",
+ "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.0.7.tgz",
+ "integrity": "sha512-Utm6CdzT+6xsDk2m8S6uL8VHxNwI6Jub+e9NYTcAms28T84pTa25GJQV9j0CY0N1rM8hK4x6grpF2BQf+2qwVA==",
+ "dev": true
+ },
"fd-slicer": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz",
@@ -3776,7 +3971,7 @@
"integrity": "sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=",
"dev": true,
"requires": {
- "escape-string-regexp": "^1.0.7",
+ "escape-string-regexp": "^1.0.5",
"object-assign": "^4.1.0"
},
"dependencies": {
@@ -3818,6 +4013,13 @@
"integrity": "sha1-JXoHg4TR24CHvESdEH1SpSZyuek=",
"dev": true
},
+ "file-uri-to-path": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",
+ "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==",
+ "dev": true,
+ "optional": true
+ },
"filename-regex": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.1.tgz",
@@ -3855,17 +4057,17 @@
}
},
"finalhandler": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.0.tgz",
- "integrity": "sha1-zgtoVbRYU+eRsvzGgARtiCU91/U=",
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz",
+ "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==",
"dev": true,
"requires": {
"debug": "2.6.9",
- "encodeurl": "~1.0.1",
+ "encodeurl": "~1.0.2",
"escape-html": "~1.0.3",
"on-finished": "~2.3.0",
- "parseurl": "~1.3.2",
- "statuses": "~1.3.1",
+ "parseurl": "~1.3.3",
+ "statuses": "~1.5.0",
"unpipe": "~1.0.0"
}
},
@@ -4243,9 +4445,9 @@
}
},
"fined": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/fined/-/fined-1.1.0.tgz",
- "integrity": "sha1-s33IRLdqL15wgeiE98CuNE8VNHY=",
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/fined/-/fined-1.2.0.tgz",
+ "integrity": "sha512-ZYDqPLGxDkDhDZBjZBb+oD1+j0rA4E0pXY50eplAAOPg2N/gUBSSk5IM1/QhPfyVo19lJ+CvXpqfvk+b2p/8Ng==",
"dev": true,
"requires": {
"expand-tilde": "^2.0.2",
@@ -4262,27 +4464,61 @@
"dev": true
},
"flagged-respawn": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/flagged-respawn/-/flagged-respawn-1.0.0.tgz",
- "integrity": "sha1-Tnmumy6zi/hrO7Vr8+ClaqX8q9c=",
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/flagged-respawn/-/flagged-respawn-1.0.1.tgz",
+ "integrity": "sha512-lNaHNVymajmk0OJMBn8fVUAU1BtDeKIqKoVhk4xAALB57aALg6b4W0MfJ/cUE0g9YBXy5XhSlPIpYIJ7HaY/3Q==",
"dev": true
},
"flat-cache": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.3.0.tgz",
- "integrity": "sha1-0wMLMrOBVPTjt+nHCfSQ9++XxIE=",
+ "version": "1.3.4",
+ "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.3.4.tgz",
+ "integrity": "sha512-VwyB3Lkgacfik2vhqR4uv2rvebqmDvFu4jlN/C1RzWoJEo8I7z4Q404oiqYCkq41mni8EzQnm95emU9seckwtg==",
"dev": true,
"requires": {
"circular-json": "^0.3.1",
- "del": "^2.0.2",
"graceful-fs": "^4.1.2",
+ "rimraf": "~2.6.2",
"write": "^0.2.1"
+ },
+ "dependencies": {
+ "glob": {
+ "version": "7.1.6",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
+ "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==",
+ "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"
+ }
+ },
+ "minimatch": {
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
+ "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
+ "dev": true,
+ "requires": {
+ "brace-expansion": "^1.1.7"
+ }
+ },
+ "rimraf": {
+ "version": "2.6.3",
+ "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz",
+ "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==",
+ "dev": true,
+ "requires": {
+ "glob": "^7.1.3"
+ }
+ }
}
},
"flatten": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/flatten/-/flatten-1.0.2.tgz",
- "integrity": "sha1-2uRqnXj74lKSJYzB54CkHZXAN4I=",
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/flatten/-/flatten-1.0.3.tgz",
+ "integrity": "sha512-dVsPA/UwQ8+2uoFe5GHtiBMu48dWLTdsuEd7CKGlZlD78r1TTWBvDuFaFGKCo/ZfEr95Uk56vZoX86OsHkUeIg==",
"dev": true
},
"foldero": {
@@ -4292,22 +4528,28 @@
"dev": true
},
"follow-redirects": {
- "version": "1.5.8",
- "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.5.8.tgz",
- "integrity": "sha512-sy1mXPmv7kLAMKW/8XofG7o9T+6gAjzdZK4AJF6ryqQYUa/hnzgiypoeUecZ53x7XiqKNEpNqLtS97MshW2nxg==",
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.9.0.tgz",
+ "integrity": "sha512-CRcPzsSIbXyVDl0QI01muNDu69S8trU4jArW9LpOt2WtC6LyUJetcIrmfHsRBx7/Jb6GHJUiuqyYxPooFfNt6A==",
"dev": true,
"requires": {
- "debug": "=3.1.0"
+ "debug": "^3.0.0"
},
"dependencies": {
"debug": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz",
- "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==",
+ "version": "3.2.6",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz",
+ "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==",
"dev": true,
"requires": {
- "ms": "2.0.0"
+ "ms": "^2.1.1"
}
+ },
+ "ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
+ "dev": true
}
}
},
@@ -4339,25 +4581,14 @@
"dev": true
},
"form-data": {
- "version": "2.3.2",
- "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.2.tgz",
- "integrity": "sha1-SXBJi+YEwgwAXU9cI67NIda0kJk=",
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz",
+ "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==",
"dev": true,
"requires": {
"asynckit": "^0.4.0",
- "combined-stream": "1.0.7",
+ "combined-stream": "^1.0.6",
"mime-types": "^2.1.12"
- },
- "dependencies": {
- "combined-stream": {
- "version": "1.0.7",
- "resolved": "http://registry.npmjs.org/combined-stream/-/combined-stream-1.0.7.tgz",
- "integrity": "sha1-cj599ugBrFYTETp+RFqbactjKBg=",
- "dev": true,
- "requires": {
- "delayed-stream": "~1.0.0"
- }
- }
}
},
"formidable": {
@@ -4402,9 +4633,9 @@
}
},
"fresh": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.3.0.tgz",
- "integrity": "sha1-ZR+DjiJCTnVm3hYdg1jKoZn4PU8=",
+ "version": "0.5.2",
+ "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
+ "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=",
"dev": true
},
"fs-constants": {
@@ -4439,14 +4670,15 @@
"dev": true
},
"fsevents": {
- "version": "1.2.4",
- "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.4.tgz",
- "integrity": "sha512-z8H8/diyk76B7q5wg+Ud0+CqzcAF3mBBI/bA5ne5zrRUUIvNkJY//D3BqyH571KuAC4Nr7Rw7CjWX4r0y9DvNg==",
+ "version": "1.2.11",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.11.tgz",
+ "integrity": "sha512-+ux3lx6peh0BpvY0JebGyZoiR4D+oYzdPZMKJwkZ+sFkNJzpL7tXc/wehS49gUAxg3tmMHPHZkA8JU2rhhgDHw==",
"dev": true,
"optional": true,
"requires": {
- "nan": "^2.9.2",
- "node-pre-gyp": "^0.10.0"
+ "bindings": "^1.5.0",
+ "nan": "^2.12.1",
+ "node-pre-gyp": "*"
},
"dependencies": {
"abbrev": {
@@ -4468,7 +4700,7 @@
"optional": true
},
"are-we-there-yet": {
- "version": "1.1.4",
+ "version": "1.1.5",
"bundled": true,
"dev": true,
"optional": true,
@@ -4494,7 +4726,7 @@
}
},
"chownr": {
- "version": "1.0.1",
+ "version": "1.1.3",
"bundled": true,
"dev": true,
"optional": true
@@ -4524,16 +4756,16 @@
"optional": true
},
"debug": {
- "version": "2.6.9",
+ "version": "3.2.6",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
- "ms": "2.0.0"
+ "ms": "^2.1.1"
}
},
"deep-extend": {
- "version": "0.5.1",
+ "version": "0.6.0",
"bundled": true,
"dev": true,
"optional": true
@@ -4551,12 +4783,12 @@
"optional": true
},
"fs-minipass": {
- "version": "1.2.5",
+ "version": "1.2.7",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
- "minipass": "^2.2.1"
+ "minipass": "^2.6.0"
}
},
"fs.realpath": {
@@ -4582,7 +4814,7 @@
}
},
"glob": {
- "version": "7.1.2",
+ "version": "7.1.6",
"bundled": true,
"dev": true,
"optional": true,
@@ -4602,16 +4834,16 @@
"optional": true
},
"iconv-lite": {
- "version": "0.4.21",
+ "version": "0.4.24",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
- "safer-buffer": "^2.1.0"
+ "safer-buffer": ">= 2.1.2 < 3"
}
},
"ignore-walk": {
- "version": "3.0.1",
+ "version": "3.0.3",
"bundled": true,
"dev": true,
"optional": true,
@@ -4620,7 +4852,7 @@
}
},
"inflight": {
- "version": "1.0.7",
+ "version": "1.0.6",
"bundled": true,
"dev": true,
"optional": true,
@@ -4630,7 +4862,7 @@
}
},
"inherits": {
- "version": "2.0.3",
+ "version": "2.0.4",
"bundled": true,
"dev": true,
"optional": true
@@ -4672,22 +4904,22 @@
"optional": true
},
"minipass": {
- "version": "2.2.4",
+ "version": "2.9.0",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
- "safe-buffer": "^5.1.1",
+ "safe-buffer": "^5.1.2",
"yallist": "^3.0.0"
}
},
"minizlib": {
- "version": "1.1.0",
+ "version": "1.3.3",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
- "minipass": "^2.2.1"
+ "minipass": "^2.9.0"
}
},
"mkdirp": {
@@ -4700,38 +4932,38 @@
}
},
"ms": {
- "version": "2.0.0",
+ "version": "2.1.2",
"bundled": true,
"dev": true,
"optional": true
},
"needle": {
- "version": "2.2.0",
+ "version": "2.4.0",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
- "debug": "^2.1.2",
+ "debug": "^3.2.6",
"iconv-lite": "^0.4.4",
"sax": "^1.2.4"
}
},
"node-pre-gyp": {
- "version": "0.10.0",
+ "version": "0.14.0",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"detect-libc": "^1.0.2",
"mkdirp": "^0.5.1",
- "needle": "^2.2.0",
+ "needle": "^2.2.1",
"nopt": "^4.0.1",
"npm-packlist": "^1.1.6",
"npmlog": "^4.0.2",
- "rc": "^1.1.7",
+ "rc": "^1.2.7",
"rimraf": "^2.6.1",
"semver": "^5.3.0",
- "tar": "^4"
+ "tar": "^4.4.2"
}
},
"nopt": {
@@ -4745,13 +4977,22 @@
}
},
"npm-bundled": {
- "version": "1.0.3",
+ "version": "1.1.1",
+ "bundled": true,
+ "dev": true,
+ "optional": true,
+ "requires": {
+ "npm-normalize-package-bin": "^1.0.1"
+ }
+ },
+ "npm-normalize-package-bin": {
+ "version": "1.0.1",
"bundled": true,
"dev": true,
"optional": true
},
"npm-packlist": {
- "version": "1.1.10",
+ "version": "1.4.7",
"bundled": true,
"dev": true,
"optional": true,
@@ -4822,18 +5063,18 @@
"optional": true
},
"process-nextick-args": {
- "version": "2.0.0",
+ "version": "2.0.1",
"bundled": true,
"dev": true,
"optional": true
},
"rc": {
- "version": "1.2.7",
+ "version": "1.2.8",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
- "deep-extend": "^0.5.1",
+ "deep-extend": "^0.6.0",
"ini": "~1.3.0",
"minimist": "^1.2.0",
"strip-json-comments": "~2.0.1"
@@ -4863,16 +5104,16 @@
}
},
"rimraf": {
- "version": "2.6.2",
+ "version": "2.7.1",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
- "glob": "^7.0.5"
+ "glob": "^7.1.3"
}
},
"safe-buffer": {
- "version": "5.1.1",
+ "version": "5.1.2",
"bundled": true,
"dev": true,
"optional": true
@@ -4890,7 +5131,7 @@
"optional": true
},
"semver": {
- "version": "5.5.0",
+ "version": "5.7.1",
"bundled": true,
"dev": true,
"optional": true
@@ -4943,18 +5184,18 @@
"optional": true
},
"tar": {
- "version": "4.4.1",
+ "version": "4.4.13",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
- "chownr": "^1.0.1",
+ "chownr": "^1.1.1",
"fs-minipass": "^1.2.5",
- "minipass": "^2.2.4",
- "minizlib": "^1.1.0",
+ "minipass": "^2.8.6",
+ "minizlib": "^1.2.1",
"mkdirp": "^0.5.0",
- "safe-buffer": "^5.1.1",
- "yallist": "^3.0.2"
+ "safe-buffer": "^5.1.2",
+ "yallist": "^3.0.3"
}
},
"util-deprecate": {
@@ -4964,12 +5205,12 @@
"optional": true
},
"wide-align": {
- "version": "1.1.2",
+ "version": "1.1.3",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
- "string-width": "^1.0.2"
+ "string-width": "^1.0.2 || 2"
}
},
"wrappy": {
@@ -4979,7 +5220,7 @@
"optional": true
},
"yallist": {
- "version": "3.0.2",
+ "version": "3.1.1",
"bundled": true,
"dev": true,
"optional": true
@@ -4987,9 +5228,9 @@
}
},
"fstream": {
- "version": "1.0.11",
- "resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.11.tgz",
- "integrity": "sha1-XB+x8RdHcRTwYyoOtLcbPLD9MXE=",
+ "version": "1.0.12",
+ "resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.12.tgz",
+ "integrity": "sha512-WvJ193OHa0GHPEL+AycEJgxvBEwyfRkN1vhjca23OaPVMCaLCXTd5qAu82AjTcgP1UJmytkOKb63Ypde7raDIg==",
"dev": true,
"requires": {
"graceful-fs": "^4.1.2",
@@ -5000,13 +5241,13 @@
"dependencies": {
"minimist": {
"version": "0.0.8",
- "resolved": "http://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
"integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=",
"dev": true
},
"mkdirp": {
"version": "0.5.1",
- "resolved": "http://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
+ "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
"integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
"dev": true,
"requires": {
@@ -5192,7 +5433,7 @@
},
"readable-stream": {
"version": "1.0.34",
- "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
"integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=",
"dev": true,
"requires": {
@@ -5264,7 +5505,7 @@
},
"globals": {
"version": "8.18.0",
- "resolved": "http://registry.npmjs.org/globals/-/globals-8.18.0.tgz",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-8.18.0.tgz",
"integrity": "sha1-k9SmK9ysOM+vr8R9awNHaMsP/LQ=",
"dev": true
},
@@ -5283,9 +5524,9 @@
},
"dependencies": {
"glob": {
- "version": "7.1.3",
- "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz",
- "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==",
+ "version": "7.1.6",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
+ "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==",
"dev": true,
"requires": {
"fs.realpath": "^1.0.0",
@@ -5349,7 +5590,7 @@
},
"lodash": {
"version": "1.0.2",
- "resolved": "http://registry.npmjs.org/lodash/-/lodash-1.0.2.tgz",
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-1.0.2.tgz",
"integrity": "sha1-j1dWDIO1n8JwvT1WG2kAQ0MOJVE=",
"dev": true
},
@@ -5366,9 +5607,9 @@
}
},
"glogg": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/glogg/-/glogg-1.0.1.tgz",
- "integrity": "sha512-ynYqXLoluBKf9XGR1gA59yEJisIL7YHEH4xr3ZziHB5/yl4qWfaK8Js9jGe6gBGCSCKVqiyO30WnRZADvemUNw==",
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/glogg/-/glogg-1.0.2.tgz",
+ "integrity": "sha512-5mwUoSuBk44Y4EshyiqcH95ZntbDdTQqA3QYSrxmzj28Ai0vXBGMH1ApSANH14j2sIRtqCEyg6PfsuP7ElOEDA==",
"dev": true,
"requires": {
"sparkles": "^1.0.0"
@@ -5376,7 +5617,7 @@
},
"got": {
"version": "5.7.1",
- "resolved": "http://registry.npmjs.org/got/-/got-5.7.1.tgz",
+ "resolved": "https://registry.npmjs.org/got/-/got-5.7.1.tgz",
"integrity": "sha1-X4FjWmHkplifGAVp6k44FoClHzU=",
"dev": true,
"requires": {
@@ -5406,9 +5647,9 @@
}
},
"graceful-fs": {
- "version": "4.1.11",
- "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz",
- "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=",
+ "version": "4.2.3",
+ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.3.tgz",
+ "integrity": "sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ==",
"dev": true
},
"graceful-readlink": {
@@ -5419,7 +5660,7 @@
},
"gulp": {
"version": "3.9.1",
- "resolved": "http://registry.npmjs.org/gulp/-/gulp-3.9.1.tgz",
+ "resolved": "https://registry.npmjs.org/gulp/-/gulp-3.9.1.tgz",
"integrity": "sha1-VxzkWSjdQK9lFPxAEYZgFsE4RbQ=",
"dev": true,
"requires": {
@@ -5438,11 +5679,36 @@
"vinyl-fs": "^0.3.0"
},
"dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "dev": true
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/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"
+ }
+ },
"semver": {
"version": "4.3.6",
"resolved": "https://registry.npmjs.org/semver/-/semver-4.3.6.tgz",
"integrity": "sha1-MAvG4OhjdPe6YQaLWx7NV/xlMto=",
"dev": true
+ },
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "dev": true
}
}
},
@@ -5521,89 +5787,52 @@
}
},
"gulp-file-loader": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/gulp-file-loader/-/gulp-file-loader-2.0.1.tgz",
- "integrity": "sha512-LmIHDGyfYiTzXOzGW6/5O6M9XgtB+TKl1eTG8OUloszcGfNdKqtxyfwWXUdfQAYWE7R2Pvi7NuMzRhQ3lb1vag==",
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/gulp-file-loader/-/gulp-file-loader-2.1.3.tgz",
+ "integrity": "sha512-Ly43eSwUSDzZ2jY6StsyLrJdzsnVg7rsywRLlnXjgo+DdrQWkSWhiL7AARieAKX9pAhEkx6WDnTsepoGzUTWYg==",
"dev": true,
"requires": {
"chalk": "^2.4.1",
"file-exists": "^5.0.1",
- "relative": "^3.0.2",
"through2": "^2.0.3"
- },
- "dependencies": {
- "ansi-styles": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
- "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
- "dev": true,
- "requires": {
- "color-convert": "^1.9.0"
- }
- },
- "chalk": {
- "version": "2.4.1",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz",
- "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==",
- "dev": true,
- "requires": {
- "ansi-styles": "^3.2.1",
- "escape-string-regexp": "^1.0.7",
- "supports-color": "^5.3.0"
- }
- },
- "has-flag": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
- "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
- "dev": true
- },
- "supports-color": {
- "version": "5.5.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
- "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
- "dev": true,
- "requires": {
- "has-flag": "^3.0.0"
- }
- }
}
},
"gulp-header": {
- "version": "2.0.5",
- "resolved": "https://registry.npmjs.org/gulp-header/-/gulp-header-2.0.5.tgz",
- "integrity": "sha512-7bOIiHvM1GUHIG3LRH+UIanOxyjSys0FbzzgUBlV2cZIIZihEW+KKKKm0ejUBNGvRdhISEFFr6HlptXoa28gtQ==",
+ "version": "2.0.9",
+ "resolved": "https://registry.npmjs.org/gulp-header/-/gulp-header-2.0.9.tgz",
+ "integrity": "sha512-LMGiBx+qH8giwrOuuZXSGvswcIUh0OiioNkUpLhNyvaC6/Ga8X6cfAeme2L5PqsbXMhL8o8b/OmVqIQdxprhcQ==",
"dev": true,
"requires": {
- "concat-with-sourcemaps": "*",
- "lodash.template": "^4.4.0",
+ "concat-with-sourcemaps": "^1.1.0",
+ "lodash.template": "^4.5.0",
+ "map-stream": "0.0.7",
"through2": "^2.0.0"
},
"dependencies": {
"lodash.template": {
- "version": "4.4.0",
- "resolved": "https://registry.npmjs.org/lodash.template/-/lodash.template-4.4.0.tgz",
- "integrity": "sha1-5zoDhcg1VZF0bgILmWecaQ5o+6A=",
+ "version": "4.5.0",
+ "resolved": "https://registry.npmjs.org/lodash.template/-/lodash.template-4.5.0.tgz",
+ "integrity": "sha512-84vYFxIkmidUiFxidA/KjjH9pAycqW+h980j7Fuz5qxRtO9pgB7MDFTdys1N7A5mcucRiDyEq4fusljItR1T/A==",
"dev": true,
"requires": {
- "lodash._reinterpolate": "~3.0.0",
+ "lodash._reinterpolate": "^3.0.0",
"lodash.templatesettings": "^4.0.0"
}
},
"lodash.templatesettings": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/lodash.templatesettings/-/lodash.templatesettings-4.1.0.tgz",
- "integrity": "sha1-K01OlbpEDZFf8IvImeRVNmZxMxY=",
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/lodash.templatesettings/-/lodash.templatesettings-4.2.0.tgz",
+ "integrity": "sha512-stgLz+i3Aa9mZgnjr/O+v9ruKZsPsndy7qPZOchbqk2cnTU1ZaldKK+v7m54WoKIyxiuMZTKT2H81F8BeAc3ZQ==",
"dev": true,
"requires": {
- "lodash._reinterpolate": "~3.0.0"
+ "lodash._reinterpolate": "^3.0.0"
}
}
}
},
"gulp-htmlmin": {
"version": "1.3.0",
- "resolved": "http://registry.npmjs.org/gulp-htmlmin/-/gulp-htmlmin-1.3.0.tgz",
+ "resolved": "https://registry.npmjs.org/gulp-htmlmin/-/gulp-htmlmin-1.3.0.tgz",
"integrity": "sha1-tH/ij+7UCKjsYwRdN6nHjFhr4gI=",
"dev": true,
"requires": {
@@ -5649,11 +5878,36 @@
"through2-concurrent": "^1.1.0"
},
"dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "dev": true
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/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"
+ }
+ },
"object-assign": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
"integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=",
"dev": true
+ },
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "dev": true
}
}
},
@@ -5764,9 +6018,9 @@
}
},
"gulp-match": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/gulp-match/-/gulp-match-1.0.3.tgz",
- "integrity": "sha1-kcfA1/Kb7NZgbVfYCn+Hdqh6uo4=",
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/gulp-match/-/gulp-match-1.1.0.tgz",
+ "integrity": "sha512-DlyVxa1Gj24DitY2OjEsS+X6tDpretuxD6wTfhXE/Rw2hweqc1f6D/XtsJmoiCwLWfXgR87W9ozEityPCVzGtQ==",
"dev": true,
"requires": {
"minimatch": "^3.0.3"
@@ -5812,17 +6066,79 @@
"gulp-util": "^3.0.4",
"postcss": "^5.0.0",
"vinyl-sourcemaps-apply": "^0.2.0"
- }
- },
- "gulp-pug": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/gulp-pug/-/gulp-pug-4.0.1.tgz",
- "integrity": "sha512-RsayLPwJtKKMub9bbO4VYlMPVnImUPdK8+BjvkiulkorrjWnahTbI3a3Li/7YkD0xs7ap7ePciNiPwweoVEPMQ==",
- "dev": true,
- "requires": {
- "@types/pug": "^2.0.4",
- "fancy-log": "^1.3.2",
- "plugin-error": "^1.0.1",
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "dev": true
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/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"
+ },
+ "dependencies": {
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "dev": true
+ }
+ }
+ },
+ "has-flag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
+ "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
+ "dev": true
+ },
+ "postcss": {
+ "version": "5.2.18",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
+ "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
+ "dev": true,
+ "requires": {
+ "chalk": "^1.1.3",
+ "js-base64": "^2.1.9",
+ "source-map": "^0.5.6",
+ "supports-color": "^3.2.3"
+ }
+ },
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
+ },
+ "supports-color": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
+ "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "dev": true,
+ "requires": {
+ "has-flag": "^1.0.0"
+ }
+ }
+ }
+ },
+ "gulp-pug": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/gulp-pug/-/gulp-pug-4.0.1.tgz",
+ "integrity": "sha512-RsayLPwJtKKMub9bbO4VYlMPVnImUPdK8+BjvkiulkorrjWnahTbI3a3Li/7YkD0xs7ap7ePciNiPwweoVEPMQ==",
+ "dev": true,
+ "requires": {
+ "@types/pug": "^2.0.4",
+ "fancy-log": "^1.3.2",
+ "plugin-error": "^1.0.1",
"pug": "^2.0.3",
"replace-ext": "^1.0.0",
"through2": "^2.0.3"
@@ -5843,9 +6159,9 @@
"dev": true
},
"gulp-sass": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/gulp-sass/-/gulp-sass-4.0.1.tgz",
- "integrity": "sha512-OMQEgWNggpog8Tc5v1MuI6eo+5iiPkVeLL76iBhDoEEScLUPfZlpvzmgTnLkpcqdrNodZxpz5qcv6mS2rulk3g==",
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/gulp-sass/-/gulp-sass-4.0.2.tgz",
+ "integrity": "sha512-q8psj4+aDrblJMMtRxihNBdovfzGrXJp1l4JU0Sz4b/Mhsi2DPrKFYCGDwjIWRENs04ELVHxdOJQ7Vs98OFohg==",
"dev": true,
"requires": {
"chalk": "^2.3.0",
@@ -5864,32 +6180,6 @@
"integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=",
"dev": true
},
- "ansi-styles": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
- "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
- "dev": true,
- "requires": {
- "color-convert": "^1.9.0"
- }
- },
- "chalk": {
- "version": "2.4.1",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz",
- "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==",
- "dev": true,
- "requires": {
- "ansi-styles": "^3.2.1",
- "escape-string-regexp": "^1.0.7",
- "supports-color": "^5.3.0"
- }
- },
- "has-flag": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
- "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
- "dev": true
- },
"lodash.clonedeep": {
"version": "4.5.0",
"resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz",
@@ -5910,15 +6200,6 @@
"requires": {
"ansi-regex": "^3.0.0"
}
- },
- "supports-color": {
- "version": "5.5.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
- "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
- "dev": true,
- "requires": {
- "has-flag": "^3.0.0"
- }
}
}
},
@@ -5966,7 +6247,7 @@
"dependencies": {
"async": {
"version": "0.2.10",
- "resolved": "http://registry.npmjs.org/async/-/async-0.2.10.tgz",
+ "resolved": "https://registry.npmjs.org/async/-/async-0.2.10.tgz",
"integrity": "sha1-trvgsGdLnXGXCMo43owjfLUmw9E=",
"dev": true
},
@@ -5981,9 +6262,15 @@
"wordwrap": "0.0.2"
}
},
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
+ },
"uglify-js": {
"version": "2.6.4",
- "resolved": "http://registry.npmjs.org/uglify-js/-/uglify-js-2.6.4.tgz",
+ "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.6.4.tgz",
"integrity": "sha1-ZeovswWck5RpLxX+2HwrNsFrmt8=",
"dev": true,
"requires": {
@@ -6001,7 +6288,7 @@
},
"yargs": {
"version": "3.10.0",
- "resolved": "http://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz",
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz",
"integrity": "sha1-9+572FfdfB0tOMDnTvvWgdFDH9E=",
"dev": true,
"requires": {
@@ -6037,6 +6324,33 @@
"replace-ext": "0.0.1",
"through2": "^2.0.0",
"vinyl": "^0.5.0"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "dev": true
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/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"
+ }
+ },
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "dev": true
+ }
}
},
"gulplog": {
@@ -6049,38 +6363,15 @@
}
},
"handlebars": {
- "version": "4.0.12",
- "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.0.12.tgz",
- "integrity": "sha512-RhmTekP+FZL+XNhwS1Wf+bTTZpdLougwt5pcgA1tuz6Jcx0fpH/7z0qd71RKnZHBCxIRBHfBOnio4gViPemNzA==",
+ "version": "4.5.3",
+ "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.5.3.tgz",
+ "integrity": "sha512-3yPecJoJHK/4c6aZhSvxOyG4vJKDshV36VHp0iVCDVh7o9w2vwi3NSnL2MMPj3YdduqaBcu7cGbggJQM0br9xA==",
"dev": true,
"requires": {
- "async": "^2.5.0",
+ "neo-async": "^2.6.0",
"optimist": "^0.6.1",
"source-map": "^0.6.1",
"uglify-js": "^3.1.4"
- },
- "dependencies": {
- "async": {
- "version": "2.6.1",
- "resolved": "https://registry.npmjs.org/async/-/async-2.6.1.tgz",
- "integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==",
- "dev": true,
- "requires": {
- "lodash": "^4.17.10"
- }
- },
- "lodash": {
- "version": "4.17.11",
- "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz",
- "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==",
- "dev": true
- },
- "source-map": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
- "dev": true
- }
}
},
"har-schema": {
@@ -6090,12 +6381,12 @@
"dev": true
},
"har-validator": {
- "version": "5.0.3",
- "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.0.3.tgz",
- "integrity": "sha1-ukAsJmGU8VlW7xXg/PJCmT9qff0=",
+ "version": "5.1.3",
+ "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.3.tgz",
+ "integrity": "sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g==",
"dev": true,
"requires": {
- "ajv": "^5.1.0",
+ "ajv": "^6.5.5",
"har-schema": "^2.0.0"
}
},
@@ -6141,9 +6432,9 @@
"dev": true
},
"has-flag": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
- "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
"dev": true
},
"has-gulplog": {
@@ -6232,9 +6523,9 @@
}
},
"hash.js": {
- "version": "1.1.5",
- "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.5.tgz",
- "integrity": "sha512-eWI5HG9Np+eHV1KQhisXWwM+4EPPYe5dFX1UZZH7k/E3JzDEazVH+VGlZi6R94ZqImq+A3D1mCEtrFIfg/E7sA==",
+ "version": "1.1.7",
+ "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz",
+ "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==",
"dev": true,
"requires": {
"inherits": "^2.0.3",
@@ -6243,7 +6534,7 @@
},
"he": {
"version": "1.0.0",
- "resolved": "http://registry.npmjs.org/he/-/he-1.0.0.tgz",
+ "resolved": "https://registry.npmjs.org/he/-/he-1.0.0.tgz",
"integrity": "sha1-baWyZdfyw7XkgHSRaODhWdBXKNo=",
"dev": true
},
@@ -6259,24 +6550,24 @@
}
},
"homedir-polyfill": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.1.tgz",
- "integrity": "sha1-TCu8inWJmP7r9e1oWA921GdotLw=",
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz",
+ "integrity": "sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==",
"dev": true,
"requires": {
"parse-passwd": "^1.0.0"
}
},
"hosted-git-info": {
- "version": "2.7.1",
- "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.7.1.tgz",
- "integrity": "sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w==",
+ "version": "2.8.5",
+ "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.5.tgz",
+ "integrity": "sha512-kssjab8CvdXfcXMXVcvsXum4Hwdq9XGtRD3TteMEvEbq0LXyiNQr6AprqKqfeaDXze7SxWvRxdpwE6ku7ikLkg==",
"dev": true
},
"html-comment-regex": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/html-comment-regex/-/html-comment-regex-1.1.1.tgz",
- "integrity": "sha1-ZouTd26q5V696POtRkswekljYl4=",
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/html-comment-regex/-/html-comment-regex-1.1.2.tgz",
+ "integrity": "sha512-P+M65QY2JQ5Y0G9KKdlDpo0zK+/OHptU5AaBwUfAIDJZk1MYf32Frm84EcOytfJE0t5JvkAnKlmjsXDnWzCJmQ==",
"dev": true
},
"html-minifier": {
@@ -6297,7 +6588,7 @@
"dependencies": {
"async": {
"version": "0.2.10",
- "resolved": "http://registry.npmjs.org/async/-/async-0.2.10.tgz",
+ "resolved": "https://registry.npmjs.org/async/-/async-0.2.10.tgz",
"integrity": "sha1-trvgsGdLnXGXCMo43owjfLUmw9E=",
"dev": true
},
@@ -6314,16 +6605,22 @@
},
"commander": {
"version": "2.9.0",
- "resolved": "http://registry.npmjs.org/commander/-/commander-2.9.0.tgz",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.9.0.tgz",
"integrity": "sha1-nJkJQXbhIkDLItbFFGCYQA/g99Q=",
"dev": true,
"requires": {
"graceful-readlink": ">= 1.0.0"
}
},
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
+ },
"uglify-js": {
"version": "2.6.4",
- "resolved": "http://registry.npmjs.org/uglify-js/-/uglify-js-2.6.4.tgz",
+ "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.6.4.tgz",
"integrity": "sha1-ZeovswWck5RpLxX+2HwrNsFrmt8=",
"dev": true,
"requires": {
@@ -6341,7 +6638,7 @@
},
"yargs": {
"version": "3.10.0",
- "resolved": "http://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz",
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz",
"integrity": "sha1-9+572FfdfB0tOMDnTvvWgdFDH9E=",
"dev": true,
"requires": {
@@ -6361,7 +6658,7 @@
},
"http-errors": {
"version": "1.6.3",
- "resolved": "http://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz",
+ "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz",
"integrity": "sha1-i1VoC7S+KDoLW/TqLjhYC+HZMg0=",
"dev": true,
"requires": {
@@ -6371,21 +6668,21 @@
"statuses": ">= 1.4.0 < 2"
},
"dependencies": {
- "statuses": {
- "version": "1.5.0",
- "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz",
- "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=",
+ "inherits": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
+ "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=",
"dev": true
}
}
},
"http-proxy": {
- "version": "1.17.0",
- "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.17.0.tgz",
- "integrity": "sha512-Taqn+3nNvYRfJ3bGvKfBSRwy1v6eePlm3oc/aWVxZp57DQr5Eq3xhKJi7Z4hZpS8PC3H4qI+Yly5EmFacGuA/g==",
+ "version": "1.18.0",
+ "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.18.0.tgz",
+ "integrity": "sha512-84I2iJM/n1d4Hdgc6y2+qY5mDaz2PUVjlg9znE9byl+q0uC3DeByqBGReQu5tpLK0TAqTIXScRUV+dg7+bUPpQ==",
"dev": true,
"requires": {
- "eventemitter3": "^3.0.0",
+ "eventemitter3": "^4.0.0",
"follow-redirects": "^1.0.0",
"requires-port": "^1.0.0"
}
@@ -6417,9 +6714,9 @@
}
},
"ieee754": {
- "version": "1.1.12",
- "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.12.tgz",
- "integrity": "sha512-GguP+DRY+pJ3soyIiGPTvdiVXjZ+DbXOxGpXn3eMvNW4x4irjqXm4wHKscC+TfxSJ0yw/S1F24tqdMNsMZTiLA==",
+ "version": "1.1.13",
+ "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz",
+ "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==",
"dev": true
},
"imagemin": {
@@ -6481,7 +6778,7 @@
"dependencies": {
"readable-stream": {
"version": "1.0.34",
- "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
"integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=",
"dev": true,
"requires": {
@@ -6524,15 +6821,6 @@
"integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=",
"dev": true
},
- "json-stable-stringify": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz",
- "integrity": "sha1-mnWdOcXy/1A/1TAGRu1EX4jE+a8=",
- "dev": true,
- "requires": {
- "jsonify": "~0.0.0"
- }
- },
"micromatch": {
"version": "2.3.11",
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz",
@@ -6573,13 +6861,13 @@
},
"minimist": {
"version": "0.0.8",
- "resolved": "http://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
"integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=",
"dev": true
},
"mkdirp": {
"version": "0.5.1",
- "resolved": "http://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
+ "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
"integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
"dev": true,
"requires": {
@@ -6609,13 +6897,25 @@
"dev": true
},
"unique-stream": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/unique-stream/-/unique-stream-2.2.1.tgz",
- "integrity": "sha1-WqADz76Uxf+GbE59ZouxxNuts2k=",
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/unique-stream/-/unique-stream-2.3.1.tgz",
+ "integrity": "sha512-2nY4TnBE70yoxHkDli7DMazpWiP7xMdCYqU2nBRO0UB+ZpEkGsSija7MvmvnZFUeC+mrgiUfcHSr3LmRFIg4+A==",
"dev": true,
"requires": {
- "json-stable-stringify": "^1.0.0",
- "through2-filter": "^2.0.0"
+ "json-stable-stringify-without-jsonify": "^1.0.1",
+ "through2-filter": "^3.0.0"
+ },
+ "dependencies": {
+ "through2-filter": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/through2-filter/-/through2-filter-3.0.0.tgz",
+ "integrity": "sha512-jaRjI2WxN3W1V8/FMZ9HKIBXixtiqs3SQSX4/YGIiP3gL6djW48VoZq9tDqeCWs3MT8YY5wb/zli8VW8snY1CA==",
+ "dev": true,
+ "requires": {
+ "through2": "~2.0.0",
+ "xtend": "~4.0.0"
+ }
+ }
}
},
"vinyl": {
@@ -6677,7 +6977,7 @@
},
"readable-stream": {
"version": "1.0.34",
- "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
"integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=",
"dev": true,
"optional": true,
@@ -6742,7 +7042,7 @@
},
"readable-stream": {
"version": "1.0.34",
- "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
"integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=",
"dev": true,
"optional": true,
@@ -6829,22 +7129,28 @@
},
"minimist": {
"version": "0.0.8",
- "resolved": "http://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
"integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=",
"dev": true
},
"mkdirp": {
"version": "0.5.1",
- "resolved": "http://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
+ "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
"integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
"dev": true,
"requires": {
"minimist": "0.0.8"
}
},
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
+ },
"svgo": {
"version": "0.6.6",
- "resolved": "http://registry.npmjs.org/svgo/-/svgo-0.6.6.tgz",
+ "resolved": "https://registry.npmjs.org/svgo/-/svgo-0.6.6.tgz",
"integrity": "sha1-s0CIkDbyD5tEdUMHfQ9Vc+0ETAg=",
"dev": true,
"requires": {
@@ -6895,8 +7201,8 @@
"dev": true
},
"inflight": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.7.tgz",
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
"integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
"dev": true,
"requires": {
@@ -6905,9 +7211,9 @@
}
},
"inherits": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
- "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=",
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
"dev": true
},
"ini": {
@@ -6923,11 +7229,19 @@
"dev": true,
"requires": {
"source-map": "~0.5.3"
+ },
+ "dependencies": {
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
+ }
}
},
"inquirer": {
"version": "0.11.4",
- "resolved": "http://registry.npmjs.org/inquirer/-/inquirer-0.11.4.tgz",
+ "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-0.11.4.tgz",
"integrity": "sha1-geM3ToNhvq/y2XAWIG01nQsy+k0=",
"dev": true,
"requires": {
@@ -6946,11 +7260,36 @@
"through": "^2.3.6"
},
"dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "dev": true
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/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"
+ }
+ },
"lodash": {
"version": "3.10.1",
- "resolved": "http://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz",
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz",
"integrity": "sha1-W/Rejkm6QYnhfUgnid/RW9FAt7Y=",
"dev": true
+ },
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "dev": true
}
}
},
@@ -6987,9 +7326,9 @@
}
},
"interpret": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.1.0.tgz",
- "integrity": "sha1-ftGxQQxqDg94z5XTuEQMY/eLhhQ=",
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.2.0.tgz",
+ "integrity": "sha512-mT34yGKMNceBQUoVn7iCDKDntA7SC6gycMAWzGx1z/CMCTV7b2AAtXlo3nRyHZ1FelRkQbQjprHSYGwzLtkVbw==",
"dev": true
},
"invert-kv": {
@@ -7056,15 +7395,6 @@
"integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==",
"dev": true
},
- "is-builtin-module": {
- "version": "1.0.0",
- "resolved": "http://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz",
- "integrity": "sha1-VAVy0096wxGfj3bDDLwbHgN6/74=",
- "dev": true,
- "requires": {
- "builtin-modules": "^1.0.0"
- }
- },
"is-bzip2": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/is-bzip2/-/is-bzip2-1.0.0.tgz",
@@ -7213,9 +7543,9 @@
"dev": true
},
"is-my-json-valid": {
- "version": "2.19.0",
- "resolved": "https://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.19.0.tgz",
- "integrity": "sha512-mG0f/unGX1HZ5ep4uhRaPOS8EkAY8/j6mDRMJrutq4CqhoJWYp7qAlonIPy3TV7p3ju4TK9fo/PbnoksWmsp5Q==",
+ "version": "2.20.0",
+ "resolved": "https://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.20.0.tgz",
+ "integrity": "sha512-XTHBZSIIxNsIsZXg7XB5l8z/OBFosl1Wao4tXLpeC7eKU4Vm/kdop2azkPqULwnfGQjmeDIyey9g7afMMtdWAA==",
"dev": true,
"requires": {
"generate-function": "^2.0.0",
@@ -7242,7 +7572,7 @@
},
"is-obj": {
"version": "1.0.1",
- "resolved": "http://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz",
+ "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz",
"integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=",
"dev": true
},
@@ -7330,12 +7660,12 @@
"dev": true
},
"is-regex": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.4.tgz",
- "integrity": "sha1-VRdIm1RwkbCTDglWVM7SXul+lJE=",
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz",
+ "integrity": "sha512-vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ==",
"dev": true,
"requires": {
- "has": "^1.0.1"
+ "has": "^1.0.3"
}
},
"is-relative": {
@@ -7354,9 +7684,9 @@
"dev": true
},
"is-retry-allowed": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.1.0.tgz",
- "integrity": "sha1-EaBgVotnM5REAz0BJaYaINVk+zQ=",
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.2.0.tgz",
+ "integrity": "sha512-RUbUeKwvm3XG2VYamhJL1xFktgjvPzL0Hq8C+6yrWIswDy3BIXGqCxhxkc30N9jqK311gVU137K8Ei55/zVJRg==",
"dev": true
},
"is-stream": {
@@ -7474,9 +7804,9 @@
}
},
"js-base64": {
- "version": "2.4.9",
- "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.4.9.tgz",
- "integrity": "sha512-xcinL3AuDJk7VSzsHgb9DvvIXayBbadtMZ4HFPx8rUszbW1MuNMlwYVC4zzCZ6e1sqZpnNS5ZFYOhXqA39T7LQ==",
+ "version": "2.5.1",
+ "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.5.1.tgz",
+ "integrity": "sha512-M7kLczedRMYX4L8Mdh4MzyAMM9O5osx+4FcOQuTvr3A9F2D9S5JXheN0ewNbrvK2UatkTRhL5ejGmGSjNMiZuw==",
"dev": true
},
"js-stringify": {
@@ -7507,8 +7837,7 @@
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz",
"integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=",
- "dev": true,
- "optional": true
+ "dev": true
},
"json-schema": {
"version": "0.2.3",
@@ -7517,9 +7846,9 @@
"dev": true
},
"json-schema-traverse": {
- "version": "0.3.1",
- "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz",
- "integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A=",
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
+ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
"dev": true
},
"json-stable-stringify": {
@@ -7531,6 +7860,12 @@
"jsonify": "~0.0.0"
}
},
+ "json-stable-stringify-without-jsonify": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",
+ "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=",
+ "dev": true
+ },
"json-stringify-safe": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",
@@ -7545,7 +7880,7 @@
},
"jsonfile": {
"version": "2.4.0",
- "resolved": "http://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz",
+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz",
"integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=",
"dev": true,
"requires": {
@@ -7612,6 +7947,16 @@
}
}
},
+ "jstransformer": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/jstransformer/-/jstransformer-1.0.0.tgz",
+ "integrity": "sha1-7Yvwkh4vPx7U1cGkT2hwntJHIsM=",
+ "dev": true,
+ "requires": {
+ "is-promise": "^2.0.0",
+ "promise": "^7.0.1"
+ }
+ },
"kew": {
"version": "0.7.0",
"resolved": "https://registry.npmjs.org/kew/-/kew-0.7.0.tgz",
@@ -7637,22 +7982,13 @@
}
},
"labeled-stream-splicer": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/labeled-stream-splicer/-/labeled-stream-splicer-2.0.1.tgz",
- "integrity": "sha512-MC94mHZRvJ3LfykJlTUipBqenZz1pacOZEMhhQ8dMGcDHs0SBE5GbsavUXV7YtP3icBW17W0Zy1I0lfASmo9Pg==",
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/labeled-stream-splicer/-/labeled-stream-splicer-2.0.2.tgz",
+ "integrity": "sha512-Ca4LSXFFZUjPScRaqOcFxneA0VpKZr4MMYCljyQr4LIewTLb3Y0IUTIsnBBsVubIeEfxeSZpSjSsRM8APEQaAw==",
"dev": true,
"requires": {
"inherits": "^2.0.1",
- "isarray": "^2.0.4",
"stream-splicer": "^2.0.0"
- },
- "dependencies": {
- "isarray": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.4.tgz",
- "integrity": "sha512-GMxXOiUirWg1xTKRipM0Ek07rX+ubx4nNVElTJdNLYmNO/2YrDkgJGw9CljXn+r4EWiDQg/8lsRdHyg2PJuUaA==",
- "dev": true
- }
}
},
"lazy-cache": {
@@ -7712,14 +8048,14 @@
}
},
"limiter": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/limiter/-/limiter-1.1.3.tgz",
- "integrity": "sha512-zrycnIMsLw/3ZxTbW7HCez56rcFGecWTx5OZNplzcXUUmJLmoYArC6qdJzmAN5BWiNXGcpjhF9RQ1HSv5zebEw==",
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/limiter/-/limiter-1.1.4.tgz",
+ "integrity": "sha512-XCpr5bElgDI65vVgstP8TWjv6/QKWm9GU5UG0Pr5sLQ3QLo8NVKsioe+Jed5/3vFOe3IQuqE7DKwTvKQkjTHvg==",
"dev": true
},
"load-json-file": {
"version": "1.1.0",
- "resolved": "http://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz",
+ "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz",
"integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=",
"dev": true,
"requires": {
@@ -7731,20 +8067,37 @@
}
},
"localtunnel": {
- "version": "1.9.1",
- "resolved": "https://registry.npmjs.org/localtunnel/-/localtunnel-1.9.1.tgz",
- "integrity": "sha512-HWrhOslklDvxgOGFLxi6fQVnvpl6XdX4sPscfqMZkzi3gtt9V7LKBWYvNUcpHSVvjwCQ6xzXacVvICNbNcyPnQ==",
+ "version": "1.9.2",
+ "resolved": "https://registry.npmjs.org/localtunnel/-/localtunnel-1.9.2.tgz",
+ "integrity": "sha512-NEKF7bDJE9U3xzJu3kbayF0WTvng6Pww7tzqNb/XtEARYwqw7CKEX7BvOMg98FtE9es2CRizl61gkV3hS8dqYg==",
"dev": true,
"requires": {
- "axios": "0.17.1",
- "debug": "2.6.9",
+ "axios": "0.19.0",
+ "debug": "4.1.1",
"openurl": "1.1.1",
"yargs": "6.6.0"
+ },
+ "dependencies": {
+ "debug": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
+ "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
+ "dev": true,
+ "requires": {
+ "ms": "^2.1.1"
+ }
+ },
+ "ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
+ "dev": true
+ }
}
},
"lodash": {
"version": "4.0.1",
- "resolved": "http://registry.npmjs.org/lodash/-/lodash-4.0.1.tgz",
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.0.1.tgz",
"integrity": "sha1-zYyQLJ4D8uac4+DkVtUFq4nrmPQ=",
"dev": true
},
@@ -7917,12 +8270,6 @@
"integrity": "sha1-+6HEUkwZ7ppfgTa0YJ8BfPTe1pI=",
"dev": true
},
- "lodash.assign": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/lodash.assign/-/lodash.assign-4.2.0.tgz",
- "integrity": "sha1-DZnzzNem0mHRm9rrkkUAXShYCOc=",
- "dev": true
- },
"lodash.clonedeep": {
"version": "4.3.1",
"resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.3.1.tgz",
@@ -8022,12 +8369,6 @@
"lodash.toplainobject": "^3.0.0"
}
},
- "lodash.mergewith": {
- "version": "4.6.1",
- "resolved": "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.1.tgz",
- "integrity": "sha512-eWw5r+PYICtEBgrBE5hhlT6aAa75f411bgDz/ZL2KZqYV03USvucsxcHUIlGTDTECs1eunpI7HOV7U+WLDvNdQ==",
- "dev": true
- },
"lodash.omit": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/lodash.omit/-/lodash.omit-3.1.0.tgz",
@@ -8207,6 +8548,12 @@
"integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=",
"dev": true
},
+ "map-stream": {
+ "version": "0.0.7",
+ "resolved": "https://registry.npmjs.org/map-stream/-/map-stream-0.0.7.tgz",
+ "integrity": "sha1-ih8HiW2CsQkmvTdEokIACfiJdKg=",
+ "dev": true
+ },
"map-visit": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz",
@@ -8223,9 +8570,9 @@
"dev": true
},
"math-random": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/math-random/-/math-random-1.0.1.tgz",
- "integrity": "sha1-izqsWIuKZuSXXjzepn97sylgH6w=",
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/math-random/-/math-random-1.0.4.tgz",
+ "integrity": "sha512-rUxjysqif/BZQH2yhd5Aaq7vXMSx9NdEsQcyA07uEzIvxgI7zIr33gGsh+RU0/XjmQpCW7RsVof1vlkvQVCK5A==",
"dev": true
},
"md5.js": {
@@ -8299,18 +8646,18 @@
"dev": true
},
"mime-db": {
- "version": "1.36.0",
- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.36.0.tgz",
- "integrity": "sha512-L+xvyD9MkoYMXb1jAmzI/lWYAxAMCPvIBSWur0PZ5nOf5euahRLVqH//FKW9mWp2lkqUgYiXPgkzfMUFi4zVDw==",
+ "version": "1.42.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.42.0.tgz",
+ "integrity": "sha512-UbfJCR4UAVRNgMpfImz05smAXK7+c+ZntjaA26ANtkXLlOe947Aag5zdIcKQULAiF9Cq4WxBi9jUs5zkA84bYQ==",
"dev": true
},
"mime-types": {
- "version": "2.1.20",
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.20.tgz",
- "integrity": "sha512-HrkrPaP9vGuWbLK1B1FfgAkbqNjIuy4eHlIYnFi7kamZyLLrGlo2mpcx0bBmNpKqBtYtAfGbodDddIgddSJC2A==",
+ "version": "2.1.25",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.25.tgz",
+ "integrity": "sha512-5KhStqB5xpTAeGqKBAMgwaYMnQik7teQN4IAzC7npDv6kzeU6prfkR67bc87J1kWMPGkoaZSq1npmexMgkmEVg==",
"dev": true,
"requires": {
- "mime-db": "~1.36.0"
+ "mime-db": "1.42.0"
}
},
"minimalistic-assert": {
@@ -8336,14 +8683,20 @@
},
"minimist": {
"version": "1.2.0",
- "resolved": "http://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
"integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=",
"dev": true
},
+ "mitt": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/mitt/-/mitt-1.2.0.tgz",
+ "integrity": "sha512-r6lj77KlwqLhIUku9UWYes7KJtsczvolZkzp8hbaDPPaE24OmWl5s539Mytlj22siEQKosZ26qCBgda2PKwoJw==",
+ "dev": true
+ },
"mixin-deep": {
- "version": "1.3.1",
- "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.1.tgz",
- "integrity": "sha512-8ZItLHeEgaqEvd5lYBXfm4EZSFCX29Jb9K+lAHhDKzReKBQKj3R+7NOF6tjqYi9t4oI8VUfaWITJQm86wnXGNQ==",
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz",
+ "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==",
"dev": true,
"requires": {
"for-in": "^1.0.2",
@@ -8363,7 +8716,7 @@
},
"mkdirp": {
"version": "0.3.0",
- "resolved": "http://registry.npmjs.org/mkdirp/-/mkdirp-0.3.0.tgz",
+ "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.0.tgz",
"integrity": "sha1-G79asbqCevI1dRQ0kEJkVfSB/h4=",
"dev": true
},
@@ -8422,7 +8775,7 @@
},
"readable-stream": {
"version": "1.1.14",
- "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz",
"integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=",
"dev": true,
"requires": {
@@ -8447,9 +8800,9 @@
"dev": true
},
"nan": {
- "version": "2.11.1",
- "resolved": "https://registry.npmjs.org/nan/-/nan-2.11.1.tgz",
- "integrity": "sha512-iji6k87OSXa0CcrLl9z+ZiYSuR2o+c0bGuNmXdrhTQTakxytAFsC56SArGYoiHlJlFoHSnvmhpceZJaXkVuOtA==",
+ "version": "2.14.0",
+ "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.0.tgz",
+ "integrity": "sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==",
"dev": true
},
"nanomatch": {
@@ -8492,9 +8845,9 @@
}
},
"natives": {
- "version": "1.1.5",
- "resolved": "https://registry.npmjs.org/natives/-/natives-1.1.5.tgz",
- "integrity": "sha512-1pJ+02gl2KJgCPFtpZGtuD4lGSJnIZvvFHCQTOeDRMSXjfu2GmYWuhI8NFMA4W2I5NNFRbfy/YCiVt4CgNpP8A==",
+ "version": "1.1.6",
+ "resolved": "https://registry.npmjs.org/natives/-/natives-1.1.6.tgz",
+ "integrity": "sha512-6+TDFewD4yxY14ptjKaS63GVdtKiES1pTPyxn9Jb0rBqPMZ7VcCiooEhPNsr+mqHtMGxa/5c/HhcC4uPEUw/nA==",
"dev": true
},
"ncname": {
@@ -8507,9 +8860,15 @@
}
},
"negotiator": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.1.tgz",
- "integrity": "sha1-KzJxhOiZIQEXeyhWP7XnECrNDKk=",
+ "version": "0.6.2",
+ "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz",
+ "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==",
+ "dev": true
+ },
+ "neo-async": {
+ "version": "2.6.1",
+ "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.1.tgz",
+ "integrity": "sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw==",
"dev": true
},
"next-tick": {
@@ -8539,9 +8898,9 @@
},
"dependencies": {
"glob": {
- "version": "7.1.3",
- "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz",
- "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==",
+ "version": "7.1.6",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
+ "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==",
"dev": true,
"requires": {
"fs.realpath": "^1.0.0",
@@ -8563,13 +8922,13 @@
},
"minimist": {
"version": "0.0.8",
- "resolved": "http://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
"integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=",
"dev": true
},
"mkdirp": {
"version": "0.5.1",
- "resolved": "http://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
+ "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
"integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
"dev": true,
"requires": {
@@ -8585,18 +8944,18 @@
}
},
"node-releases": {
- "version": "1.0.0-alpha.12",
- "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.0.0-alpha.12.tgz",
- "integrity": "sha512-VPB4rTPqpVyWKBHbSa4YPFme3+8WHsOSpvbp0Mfj0bWsC8TEjt4HQrLl1hsBDELlp1nB4lflSgSuGTYiuyaP7Q==",
+ "version": "1.1.44",
+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.44.tgz",
+ "integrity": "sha512-NwbdvJyR7nrcGrXvKAvzc5raj/NkoJudkarh2yIpJ4t0NH4aqjUDz/486P+ynIW5eokKOfzGNRdYoLfBlomruw==",
"dev": true,
"requires": {
- "semver": "^5.3.0"
+ "semver": "^6.3.0"
}
},
"node-sass": {
- "version": "4.9.3",
- "resolved": "https://registry.npmjs.org/node-sass/-/node-sass-4.9.3.tgz",
- "integrity": "sha512-XzXyGjO+84wxyH7fV6IwBOTrEBe2f0a6SBze9QWWYR/cL74AcQUks2AsqcCZenl/Fp/JVbuEaLpgrLtocwBUww==",
+ "version": "4.13.0",
+ "resolved": "https://registry.npmjs.org/node-sass/-/node-sass-4.13.0.tgz",
+ "integrity": "sha512-W1XBrvoJ1dy7VsvTAS5q1V45lREbTlZQqFbiHb3R3OTTCma0XBtuG6xZ6Z4506nR4lmHPTqVRwxT6KgtWC97CA==",
"dev": true,
"requires": {
"async-foreach": "^0.1.3",
@@ -8606,20 +8965,24 @@
"get-stdin": "^4.0.1",
"glob": "^7.0.3",
"in-publish": "^2.0.0",
- "lodash.assign": "^4.2.0",
- "lodash.clonedeep": "^4.3.2",
- "lodash.mergewith": "^4.6.0",
+ "lodash": "^4.17.15",
"meow": "^3.7.0",
"mkdirp": "^0.5.1",
- "nan": "^2.10.0",
+ "nan": "^2.13.2",
"node-gyp": "^3.8.0",
"npmlog": "^4.0.0",
- "request": "2.87.0",
+ "request": "^2.88.0",
"sass-graph": "^2.2.4",
"stdout-stream": "^1.4.0",
"true-case-path": "^1.0.2"
},
"dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "dev": true
+ },
"camelcase": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz",
@@ -8636,6 +8999,19 @@
"map-obj": "^1.0.0"
}
},
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/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"
+ }
+ },
"gaze": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/gaze/-/gaze-1.1.3.tgz",
@@ -8646,9 +9022,9 @@
}
},
"glob": {
- "version": "7.1.3",
- "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz",
- "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==",
+ "version": "7.1.6",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
+ "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==",
"dev": true,
"requires": {
"fs.realpath": "^1.0.0",
@@ -8660,9 +9036,9 @@
}
},
"globule": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/globule/-/globule-1.2.1.tgz",
- "integrity": "sha512-g7QtgWF4uYSL5/dn71WxubOrS7JVGCnFPEnoeChJmBnyR9Mw8nGoEwOgJL/RC2Te0WhbsEUCejfH8SZNJ+adYQ==",
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/globule/-/globule-1.3.0.tgz",
+ "integrity": "sha512-YlD4kdMqRCQHrhVdonet4TdRtv1/sZKepvoxNT4Nrhrp5HI8XFfc8kFlGlBn2myBo80aGp8Eft259mbcUJhgSg==",
"dev": true,
"requires": {
"glob": "~7.1.1",
@@ -8671,15 +9047,9 @@
}
},
"lodash": {
- "version": "4.17.11",
- "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz",
- "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==",
- "dev": true
- },
- "lodash.clonedeep": {
- "version": "4.5.0",
- "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz",
- "integrity": "sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=",
+ "version": "4.17.15",
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz",
+ "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==",
"dev": true
},
"meow": {
@@ -8711,7 +9081,7 @@
},
"mkdirp": {
"version": "0.5.1",
- "resolved": "http://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
+ "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
"integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
"dev": true,
"requires": {
@@ -8720,7 +9090,7 @@
"dependencies": {
"minimist": {
"version": "0.0.8",
- "resolved": "http://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
"integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=",
"dev": true
}
@@ -8731,6 +9101,12 @@
"resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
"integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=",
"dev": true
+ },
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "dev": true
}
}
},
@@ -8750,19 +9126,27 @@
}
},
"normalize-package-data": {
- "version": "2.4.0",
- "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.4.0.tgz",
- "integrity": "sha512-9jjUFbTPfEy3R/ad/2oNbKtW9Hgovl5O1FvFWKkKblNXoN/Oou6+9+KKohPK13Yc3/TyunyWhJp6gvRNR/PPAw==",
+ "version": "2.5.0",
+ "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz",
+ "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==",
"dev": true,
"requires": {
"hosted-git-info": "^2.1.4",
- "is-builtin-module": "^1.0.0",
+ "resolve": "^1.10.0",
"semver": "2 || 3 || 4 || 5",
"validate-npm-package-license": "^3.0.1"
- }
- },
- "normalize-path": {
- "version": "2.1.1",
+ },
+ "dependencies": {
+ "semver": {
+ "version": "5.7.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
+ "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
+ "dev": true
+ }
+ }
+ },
+ "normalize-path": {
+ "version": "2.1.1",
"resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz",
"integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=",
"dev": true,
@@ -8837,9 +9221,9 @@
"dev": true
},
"oauth-sign": {
- "version": "0.8.2",
- "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.8.2.tgz",
- "integrity": "sha1-Rqarfwrq2N6unsBWV4C31O/rnUM=",
+ "version": "0.9.0",
+ "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz",
+ "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==",
"dev": true
},
"object-assign": {
@@ -8996,7 +9380,7 @@
},
"onetime": {
"version": "1.1.0",
- "resolved": "http://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz",
+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-1.1.0.tgz",
"integrity": "sha1-ofeDj4MUxRbwXs78vEzP4EtO14k=",
"dev": true
},
@@ -9008,7 +9392,7 @@
},
"opn": {
"version": "3.0.3",
- "resolved": "http://registry.npmjs.org/opn/-/opn-3.0.3.tgz",
+ "resolved": "https://registry.npmjs.org/opn/-/opn-3.0.3.tgz",
"integrity": "sha1-ttmec5n3jWXDuq/+8fsojpuFJDo=",
"dev": true,
"requires": {
@@ -9035,7 +9419,7 @@
"dependencies": {
"lodash": {
"version": "3.10.1",
- "resolved": "http://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz",
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz",
"integrity": "sha1-W/Rejkm6QYnhfUgnid/RW9FAt7Y=",
"dev": true
}
@@ -9053,7 +9437,7 @@
"dependencies": {
"minimist": {
"version": "0.0.10",
- "resolved": "http://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz",
"integrity": "sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8=",
"dev": true
}
@@ -9072,7 +9456,7 @@
"dev": true,
"requires": {
"deep-is": "~0.1.3",
- "fast-levenshtein": "~1.0.7",
+ "fast-levenshtein": "~1.0.6",
"levn": "~0.2.5",
"prelude-ls": "~1.1.1",
"type-check": "~0.3.1",
@@ -9134,7 +9518,7 @@
},
"os-locale": {
"version": "1.4.0",
- "resolved": "http://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz",
+ "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz",
"integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=",
"dev": true,
"requires": {
@@ -9191,16 +9575,17 @@
}
},
"parse-asn1": {
- "version": "5.1.1",
- "resolved": "http://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.1.tgz",
- "integrity": "sha512-KPx7flKXg775zZpnp9SxJlz00gTd4BmJ2yJufSc44gMCRrRQ7NSzAcSJQfifuOLgW6bEi+ftrALtsgALeB2Adw==",
+ "version": "5.1.5",
+ "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.5.tgz",
+ "integrity": "sha512-jkMYn1dcJqF6d5CpU689bq7w/b5ALS9ROVSpQDPrZsqqesUJii9qutvoT5ltGedNXMO2e16YUWIghG9KxaViTQ==",
"dev": true,
"requires": {
"asn1.js": "^4.0.0",
"browserify-aes": "^1.0.0",
"create-hash": "^1.1.0",
"evp_bytestokey": "^1.0.0",
- "pbkdf2": "^3.0.3"
+ "pbkdf2": "^3.0.3",
+ "safe-buffer": "^5.1.1"
}
},
"parse-filepath": {
@@ -9235,6 +9620,12 @@
"error-ex": "^1.2.0"
}
},
+ "parse-node-version": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/parse-node-version/-/parse-node-version-1.0.1.tgz",
+ "integrity": "sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA==",
+ "dev": true
+ },
"parse-passwd": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz",
@@ -9269,9 +9660,9 @@
}
},
"parseurl": {
- "version": "1.3.2",
- "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.2.tgz",
- "integrity": "sha1-/CidTtiZMRlGDBViUyYs3I3mW/M=",
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
+ "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==",
"dev": true
},
"pascal-case": {
@@ -9333,8 +9724,8 @@
"dev": true
},
"path-parse": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz",
"integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==",
"dev": true
},
@@ -9472,26 +9863,98 @@
"dev": true
},
"postcss": {
- "version": "5.2.18",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
- "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
+ "version": "7.0.26",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.26.tgz",
+ "integrity": "sha512-IY4oRjpXWYshuTDFxMVkJDtWIk2LhsTlu8bZnbEJA4+bYT16Lvpo8Qv6EvDumhYRgzjZl489pmsY3qVgJQ08nA==",
"dev": true,
"requires": {
- "chalk": "^1.1.3",
- "js-base64": "^2.1.9",
- "source-map": "^0.5.6",
- "supports-color": "^3.2.3"
+ "chalk": "^2.4.2",
+ "source-map": "^0.6.1",
+ "supports-color": "^6.1.0"
+ },
+ "dependencies": {
+ "supports-color": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",
+ "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",
+ "dev": true,
+ "requires": {
+ "has-flag": "^3.0.0"
+ }
+ }
}
},
"postcss-calc": {
"version": "5.3.1",
- "resolved": "http://registry.npmjs.org/postcss-calc/-/postcss-calc-5.3.1.tgz",
+ "resolved": "https://registry.npmjs.org/postcss-calc/-/postcss-calc-5.3.1.tgz",
"integrity": "sha1-d7rnypKK2FcW4v2kLyYb98HWW14=",
"dev": true,
"requires": {
"postcss": "^5.0.2",
"postcss-message-helpers": "^2.0.0",
"reduce-css-calc": "^1.2.6"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "dev": true
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/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"
+ },
+ "dependencies": {
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "dev": true
+ }
+ }
+ },
+ "has-flag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
+ "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
+ "dev": true
+ },
+ "postcss": {
+ "version": "5.2.18",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
+ "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
+ "dev": true,
+ "requires": {
+ "chalk": "^1.1.3",
+ "js-base64": "^2.1.9",
+ "source-map": "^0.5.6",
+ "supports-color": "^3.2.3"
+ }
+ },
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
+ },
+ "supports-color": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
+ "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "dev": true,
+ "requires": {
+ "has-flag": "^1.0.0"
+ }
+ }
}
},
"postcss-colormin": {
@@ -9500,9 +9963,77 @@
"integrity": "sha1-ZjFBfV8OkJo9fsJrJMio0eT5bks=",
"dev": true,
"requires": {
- "colormin": "^1.0.7",
+ "colormin": "^1.0.5",
"postcss": "^5.0.13",
"postcss-value-parser": "^3.2.3"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "dev": true
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/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"
+ },
+ "dependencies": {
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "dev": true
+ }
+ }
+ },
+ "has-flag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
+ "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
+ "dev": true
+ },
+ "postcss": {
+ "version": "5.2.18",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
+ "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
+ "dev": true,
+ "requires": {
+ "chalk": "^1.1.3",
+ "js-base64": "^2.1.9",
+ "source-map": "^0.5.6",
+ "supports-color": "^3.2.3"
+ }
+ },
+ "postcss-value-parser": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",
+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",
+ "dev": true
+ },
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
+ },
+ "supports-color": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
+ "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "dev": true,
+ "requires": {
+ "has-flag": "^1.0.0"
+ }
+ }
}
},
"postcss-convert-values": {
@@ -9513,15 +10044,145 @@
"requires": {
"postcss": "^5.0.11",
"postcss-value-parser": "^3.1.2"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "dev": true
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/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"
+ },
+ "dependencies": {
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "dev": true
+ }
+ }
+ },
+ "has-flag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
+ "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
+ "dev": true
+ },
+ "postcss": {
+ "version": "5.2.18",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
+ "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
+ "dev": true,
+ "requires": {
+ "chalk": "^1.1.3",
+ "js-base64": "^2.1.9",
+ "source-map": "^0.5.6",
+ "supports-color": "^3.2.3"
+ }
+ },
+ "postcss-value-parser": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",
+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",
+ "dev": true
+ },
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
+ },
+ "supports-color": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
+ "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "dev": true,
+ "requires": {
+ "has-flag": "^1.0.0"
+ }
+ }
}
},
"postcss-discard-comments": {
"version": "2.0.4",
- "resolved": "http://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-2.0.4.tgz",
+ "resolved": "https://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-2.0.4.tgz",
"integrity": "sha1-vv6J+v1bPazlzM5Rt2uBUUvgDj0=",
"dev": true,
"requires": {
"postcss": "^5.0.14"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "dev": true
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/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"
+ },
+ "dependencies": {
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "dev": true
+ }
+ }
+ },
+ "has-flag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
+ "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
+ "dev": true
+ },
+ "postcss": {
+ "version": "5.2.18",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
+ "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
+ "dev": true,
+ "requires": {
+ "chalk": "^1.1.3",
+ "js-base64": "^2.1.9",
+ "source-map": "^0.5.6",
+ "supports-color": "^3.2.3"
+ }
+ },
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
+ },
+ "supports-color": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
+ "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "dev": true,
+ "requires": {
+ "has-flag": "^1.0.0"
+ }
+ }
}
},
"postcss-discard-duplicates": {
@@ -9531,54 +10192,432 @@
"dev": true,
"requires": {
"postcss": "^5.0.4"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "dev": true
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/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"
+ },
+ "dependencies": {
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "dev": true
+ }
+ }
+ },
+ "has-flag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
+ "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
+ "dev": true
+ },
+ "postcss": {
+ "version": "5.2.18",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
+ "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
+ "dev": true,
+ "requires": {
+ "chalk": "^1.1.3",
+ "js-base64": "^2.1.9",
+ "source-map": "^0.5.6",
+ "supports-color": "^3.2.3"
+ }
+ },
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
+ },
+ "supports-color": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
+ "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "dev": true,
+ "requires": {
+ "has-flag": "^1.0.0"
+ }
+ }
}
},
"postcss-discard-empty": {
"version": "2.1.0",
- "resolved": "http://registry.npmjs.org/postcss-discard-empty/-/postcss-discard-empty-2.1.0.tgz",
+ "resolved": "https://registry.npmjs.org/postcss-discard-empty/-/postcss-discard-empty-2.1.0.tgz",
"integrity": "sha1-0rS9nVztXr2Nyt52QMfXzX9PkrU=",
"dev": true,
"requires": {
"postcss": "^5.0.14"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "dev": true
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/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"
+ },
+ "dependencies": {
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "dev": true
+ }
+ }
+ },
+ "has-flag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
+ "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
+ "dev": true
+ },
+ "postcss": {
+ "version": "5.2.18",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
+ "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
+ "dev": true,
+ "requires": {
+ "chalk": "^1.1.3",
+ "js-base64": "^2.1.9",
+ "source-map": "^0.5.6",
+ "supports-color": "^3.2.3"
+ }
+ },
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
+ },
+ "supports-color": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
+ "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "dev": true,
+ "requires": {
+ "has-flag": "^1.0.0"
+ }
+ }
}
},
"postcss-discard-overridden": {
"version": "0.1.1",
- "resolved": "http://registry.npmjs.org/postcss-discard-overridden/-/postcss-discard-overridden-0.1.1.tgz",
+ "resolved": "https://registry.npmjs.org/postcss-discard-overridden/-/postcss-discard-overridden-0.1.1.tgz",
"integrity": "sha1-ix6vVU9ob7KIzYdMVWZ7CqNmjVg=",
"dev": true,
"requires": {
"postcss": "^5.0.16"
- }
- },
- "postcss-discard-unused": {
- "version": "2.2.3",
- "resolved": "http://registry.npmjs.org/postcss-discard-unused/-/postcss-discard-unused-2.2.3.tgz",
- "integrity": "sha1-vOMLLMWR/8Y0Mitfs0ZLbZNPRDM=",
- "dev": true,
- "requires": {
- "postcss": "^5.0.14",
- "uniqs": "^2.0.0"
- }
- },
- "postcss-filter-plugins": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/postcss-filter-plugins/-/postcss-filter-plugins-2.0.3.tgz",
- "integrity": "sha512-T53GVFsdinJhgwm7rg1BzbeBRomOg9y5MBVhGcsV0CxurUdVj1UlPdKtn7aqYA/c/QVkzKMjq2bSV5dKG5+AwQ==",
- "dev": true,
- "requires": {
- "postcss": "^5.0.4"
- }
- },
- "postcss-merge-idents": {
- "version": "2.1.7",
- "resolved": "http://registry.npmjs.org/postcss-merge-idents/-/postcss-merge-idents-2.1.7.tgz",
- "integrity": "sha1-TFUwMTwI4dWzu/PSu8dH4njuonA=",
- "dev": true,
- "requires": {
- "has": "^1.0.1",
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "dev": true
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/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"
+ },
+ "dependencies": {
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "dev": true
+ }
+ }
+ },
+ "has-flag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
+ "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
+ "dev": true
+ },
+ "postcss": {
+ "version": "5.2.18",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
+ "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
+ "dev": true,
+ "requires": {
+ "chalk": "^1.1.3",
+ "js-base64": "^2.1.9",
+ "source-map": "^0.5.6",
+ "supports-color": "^3.2.3"
+ }
+ },
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
+ },
+ "supports-color": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
+ "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "dev": true,
+ "requires": {
+ "has-flag": "^1.0.0"
+ }
+ }
+ }
+ },
+ "postcss-discard-unused": {
+ "version": "2.2.3",
+ "resolved": "https://registry.npmjs.org/postcss-discard-unused/-/postcss-discard-unused-2.2.3.tgz",
+ "integrity": "sha1-vOMLLMWR/8Y0Mitfs0ZLbZNPRDM=",
+ "dev": true,
+ "requires": {
+ "postcss": "^5.0.14",
+ "uniqs": "^2.0.0"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "dev": true
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/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"
+ },
+ "dependencies": {
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "dev": true
+ }
+ }
+ },
+ "has-flag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
+ "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
+ "dev": true
+ },
+ "postcss": {
+ "version": "5.2.18",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
+ "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
+ "dev": true,
+ "requires": {
+ "chalk": "^1.1.3",
+ "js-base64": "^2.1.9",
+ "source-map": "^0.5.6",
+ "supports-color": "^3.2.3"
+ }
+ },
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
+ },
+ "supports-color": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
+ "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "dev": true,
+ "requires": {
+ "has-flag": "^1.0.0"
+ }
+ }
+ }
+ },
+ "postcss-filter-plugins": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/postcss-filter-plugins/-/postcss-filter-plugins-2.0.3.tgz",
+ "integrity": "sha512-T53GVFsdinJhgwm7rg1BzbeBRomOg9y5MBVhGcsV0CxurUdVj1UlPdKtn7aqYA/c/QVkzKMjq2bSV5dKG5+AwQ==",
+ "dev": true,
+ "requires": {
+ "postcss": "^5.0.4"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "dev": true
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/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"
+ },
+ "dependencies": {
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "dev": true
+ }
+ }
+ },
+ "has-flag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
+ "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
+ "dev": true
+ },
+ "postcss": {
+ "version": "5.2.18",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
+ "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
+ "dev": true,
+ "requires": {
+ "chalk": "^1.1.3",
+ "js-base64": "^2.1.9",
+ "source-map": "^0.5.6",
+ "supports-color": "^3.2.3"
+ }
+ },
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
+ },
+ "supports-color": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
+ "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "dev": true,
+ "requires": {
+ "has-flag": "^1.0.0"
+ }
+ }
+ }
+ },
+ "postcss-merge-idents": {
+ "version": "2.1.7",
+ "resolved": "https://registry.npmjs.org/postcss-merge-idents/-/postcss-merge-idents-2.1.7.tgz",
+ "integrity": "sha1-TFUwMTwI4dWzu/PSu8dH4njuonA=",
+ "dev": true,
+ "requires": {
+ "has": "^1.0.1",
"postcss": "^5.0.10",
"postcss-value-parser": "^3.1.1"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "dev": true
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/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"
+ },
+ "dependencies": {
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "dev": true
+ }
+ }
+ },
+ "has-flag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
+ "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
+ "dev": true
+ },
+ "postcss": {
+ "version": "5.2.18",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
+ "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
+ "dev": true,
+ "requires": {
+ "chalk": "^1.1.3",
+ "js-base64": "^2.1.9",
+ "source-map": "^0.5.6",
+ "supports-color": "^3.2.3"
+ }
+ },
+ "postcss-value-parser": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",
+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",
+ "dev": true
+ },
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
+ },
+ "supports-color": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
+ "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "dev": true,
+ "requires": {
+ "has-flag": "^1.0.0"
+ }
+ }
}
},
"postcss-merge-longhand": {
@@ -9588,6 +10627,68 @@
"dev": true,
"requires": {
"postcss": "^5.0.4"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "dev": true
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/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"
+ },
+ "dependencies": {
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "dev": true
+ }
+ }
+ },
+ "has-flag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
+ "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
+ "dev": true
+ },
+ "postcss": {
+ "version": "5.2.18",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
+ "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
+ "dev": true,
+ "requires": {
+ "chalk": "^1.1.3",
+ "js-base64": "^2.1.9",
+ "source-map": "^0.5.6",
+ "supports-color": "^3.2.3"
+ }
+ },
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
+ },
+ "supports-color": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
+ "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "dev": true,
+ "requires": {
+ "has-flag": "^1.0.0"
+ }
+ }
}
},
"postcss-merge-rules": {
@@ -9603,6 +10704,12 @@
"vendors": "^1.0.0"
},
"dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "dev": true
+ },
"browserslist": {
"version": "1.7.7",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-1.7.7.tgz",
@@ -9612,6 +10719,60 @@
"caniuse-db": "^1.0.30000639",
"electron-to-chromium": "^1.2.7"
}
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/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"
+ },
+ "dependencies": {
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "dev": true
+ }
+ }
+ },
+ "has-flag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
+ "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
+ "dev": true
+ },
+ "postcss": {
+ "version": "5.2.18",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
+ "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
+ "dev": true,
+ "requires": {
+ "chalk": "^1.1.3",
+ "js-base64": "^2.1.9",
+ "source-map": "^0.5.6",
+ "supports-color": "^3.2.3"
+ }
+ },
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
+ },
+ "supports-color": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
+ "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "dev": true,
+ "requires": {
+ "has-flag": "^1.0.0"
+ }
}
}
},
@@ -9622,8 +10783,8 @@
"dev": true
},
"postcss-minify-font-values": {
- "version": "1.0.7",
- "resolved": "http://registry.npmjs.org/postcss-minify-font-values/-/postcss-minify-font-values-1.0.7.tgz",
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/postcss-minify-font-values/-/postcss-minify-font-values-1.0.5.tgz",
"integrity": "sha1-S1jttWZB66fIR0qzUmyv17vey2k=",
"dev": true,
"requires": {
@@ -9632,27 +10793,161 @@
"postcss-value-parser": "^3.0.2"
},
"dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "dev": true
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/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"
+ },
+ "dependencies": {
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "dev": true
+ }
+ }
+ },
+ "has-flag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
+ "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
+ "dev": true
+ },
"object-assign": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
"integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=",
"dev": true
+ },
+ "postcss": {
+ "version": "5.2.18",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
+ "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
+ "dev": true,
+ "requires": {
+ "chalk": "^1.1.3",
+ "js-base64": "^2.1.9",
+ "source-map": "^0.5.6",
+ "supports-color": "^3.2.3"
+ }
+ },
+ "postcss-value-parser": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",
+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",
+ "dev": true
+ },
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
+ },
+ "supports-color": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
+ "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "dev": true,
+ "requires": {
+ "has-flag": "^1.0.0"
+ }
}
}
},
"postcss-minify-gradients": {
- "version": "1.0.7",
- "resolved": "http://registry.npmjs.org/postcss-minify-gradients/-/postcss-minify-gradients-1.0.7.tgz",
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/postcss-minify-gradients/-/postcss-minify-gradients-1.0.5.tgz",
"integrity": "sha1-Xb2hE3NwP4PPtKPqOIHY11/15uE=",
"dev": true,
"requires": {
"postcss": "^5.0.12",
"postcss-value-parser": "^3.3.0"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "dev": true
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/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"
+ },
+ "dependencies": {
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "dev": true
+ }
+ }
+ },
+ "has-flag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
+ "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
+ "dev": true
+ },
+ "postcss": {
+ "version": "5.2.18",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
+ "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
+ "dev": true,
+ "requires": {
+ "chalk": "^1.1.3",
+ "js-base64": "^2.1.9",
+ "source-map": "^0.5.6",
+ "supports-color": "^3.2.3"
+ }
+ },
+ "postcss-value-parser": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",
+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",
+ "dev": true
+ },
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
+ },
+ "supports-color": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
+ "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "dev": true,
+ "requires": {
+ "has-flag": "^1.0.0"
+ }
+ }
}
},
"postcss-minify-params": {
"version": "1.2.2",
- "resolved": "http://registry.npmjs.org/postcss-minify-params/-/postcss-minify-params-1.2.2.tgz",
+ "resolved": "https://registry.npmjs.org/postcss-minify-params/-/postcss-minify-params-1.2.2.tgz",
"integrity": "sha1-rSzgcTc7lDs9kwo/pZo1jCjW8fM=",
"dev": true,
"requires": {
@@ -9660,11 +10955,79 @@
"postcss": "^5.0.2",
"postcss-value-parser": "^3.0.2",
"uniqs": "^2.0.0"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "dev": true
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/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"
+ },
+ "dependencies": {
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "dev": true
+ }
+ }
+ },
+ "has-flag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
+ "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
+ "dev": true
+ },
+ "postcss": {
+ "version": "5.2.18",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
+ "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
+ "dev": true,
+ "requires": {
+ "chalk": "^1.1.3",
+ "js-base64": "^2.1.9",
+ "source-map": "^0.5.6",
+ "supports-color": "^3.2.3"
+ }
+ },
+ "postcss-value-parser": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",
+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",
+ "dev": true
+ },
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
+ },
+ "supports-color": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
+ "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "dev": true,
+ "requires": {
+ "has-flag": "^1.0.0"
+ }
+ }
}
},
"postcss-minify-selectors": {
"version": "2.1.1",
- "resolved": "http://registry.npmjs.org/postcss-minify-selectors/-/postcss-minify-selectors-2.1.1.tgz",
+ "resolved": "https://registry.npmjs.org/postcss-minify-selectors/-/postcss-minify-selectors-2.1.1.tgz",
"integrity": "sha1-ssapjAByz5G5MtGkllCBFDEXNb8=",
"dev": true,
"requires": {
@@ -9672,20 +11035,144 @@
"has": "^1.0.1",
"postcss": "^5.0.14",
"postcss-selector-parser": "^2.0.0"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "dev": true
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/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"
+ },
+ "dependencies": {
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "dev": true
+ }
+ }
+ },
+ "has-flag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
+ "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
+ "dev": true
+ },
+ "postcss": {
+ "version": "5.2.18",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
+ "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
+ "dev": true,
+ "requires": {
+ "chalk": "^1.1.3",
+ "js-base64": "^2.1.9",
+ "source-map": "^0.5.6",
+ "supports-color": "^3.2.3"
+ }
+ },
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
+ },
+ "supports-color": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
+ "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "dev": true,
+ "requires": {
+ "has-flag": "^1.0.0"
+ }
+ }
}
},
"postcss-normalize-charset": {
"version": "1.1.1",
- "resolved": "http://registry.npmjs.org/postcss-normalize-charset/-/postcss-normalize-charset-1.1.1.tgz",
+ "resolved": "https://registry.npmjs.org/postcss-normalize-charset/-/postcss-normalize-charset-1.1.1.tgz",
"integrity": "sha1-757nEhLX/nWceO0WL2HtYrXLk/E=",
"dev": true,
"requires": {
"postcss": "^5.0.5"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "dev": true
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/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"
+ },
+ "dependencies": {
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "dev": true
+ }
+ }
+ },
+ "has-flag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
+ "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
+ "dev": true
+ },
+ "postcss": {
+ "version": "5.2.18",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
+ "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
+ "dev": true,
+ "requires": {
+ "chalk": "^1.1.3",
+ "js-base64": "^2.1.9",
+ "source-map": "^0.5.6",
+ "supports-color": "^3.2.3"
+ }
+ },
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
+ },
+ "supports-color": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
+ "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "dev": true,
+ "requires": {
+ "has-flag": "^1.0.0"
+ }
+ }
}
},
"postcss-normalize-url": {
"version": "3.0.8",
- "resolved": "http://registry.npmjs.org/postcss-normalize-url/-/postcss-normalize-url-3.0.8.tgz",
+ "resolved": "https://registry.npmjs.org/postcss-normalize-url/-/postcss-normalize-url-3.0.8.tgz",
"integrity": "sha1-EI90s/L82viRov+j6kWSJ5/HgiI=",
"dev": true,
"requires": {
@@ -9693,6 +11180,74 @@
"normalize-url": "^1.4.0",
"postcss": "^5.0.14",
"postcss-value-parser": "^3.2.3"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "dev": true
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/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"
+ },
+ "dependencies": {
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "dev": true
+ }
+ }
+ },
+ "has-flag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
+ "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
+ "dev": true
+ },
+ "postcss": {
+ "version": "5.2.18",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
+ "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
+ "dev": true,
+ "requires": {
+ "chalk": "^1.1.3",
+ "js-base64": "^2.1.9",
+ "source-map": "^0.5.6",
+ "supports-color": "^3.2.3"
+ }
+ },
+ "postcss-value-parser": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",
+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",
+ "dev": true
+ },
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
+ },
+ "supports-color": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
+ "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "dev": true,
+ "requires": {
+ "has-flag": "^1.0.0"
+ }
+ }
}
},
"postcss-ordered-values": {
@@ -9703,36 +11258,302 @@
"requires": {
"postcss": "^5.0.4",
"postcss-value-parser": "^3.0.1"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "dev": true
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/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"
+ },
+ "dependencies": {
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "dev": true
+ }
+ }
+ },
+ "has-flag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
+ "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
+ "dev": true
+ },
+ "postcss": {
+ "version": "5.2.18",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
+ "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
+ "dev": true,
+ "requires": {
+ "chalk": "^1.1.3",
+ "js-base64": "^2.1.9",
+ "source-map": "^0.5.6",
+ "supports-color": "^3.2.3"
+ }
+ },
+ "postcss-value-parser": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",
+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",
+ "dev": true
+ },
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
+ },
+ "supports-color": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
+ "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "dev": true,
+ "requires": {
+ "has-flag": "^1.0.0"
+ }
+ }
}
},
"postcss-reduce-idents": {
"version": "2.4.0",
- "resolved": "http://registry.npmjs.org/postcss-reduce-idents/-/postcss-reduce-idents-2.4.0.tgz",
+ "resolved": "https://registry.npmjs.org/postcss-reduce-idents/-/postcss-reduce-idents-2.4.0.tgz",
"integrity": "sha1-wsbSDMlYKE9qv75j92Cb9AkFmtM=",
"dev": true,
"requires": {
"postcss": "^5.0.4",
"postcss-value-parser": "^3.0.2"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "dev": true
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/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"
+ },
+ "dependencies": {
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "dev": true
+ }
+ }
+ },
+ "has-flag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
+ "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
+ "dev": true
+ },
+ "postcss": {
+ "version": "5.2.18",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
+ "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
+ "dev": true,
+ "requires": {
+ "chalk": "^1.1.3",
+ "js-base64": "^2.1.9",
+ "source-map": "^0.5.6",
+ "supports-color": "^3.2.3"
+ }
+ },
+ "postcss-value-parser": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",
+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",
+ "dev": true
+ },
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
+ },
+ "supports-color": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
+ "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "dev": true,
+ "requires": {
+ "has-flag": "^1.0.0"
+ }
+ }
}
},
"postcss-reduce-initial": {
"version": "1.0.1",
- "resolved": "http://registry.npmjs.org/postcss-reduce-initial/-/postcss-reduce-initial-1.0.1.tgz",
+ "resolved": "https://registry.npmjs.org/postcss-reduce-initial/-/postcss-reduce-initial-1.0.1.tgz",
"integrity": "sha1-aPgGlfBF0IJjqHmtJA343WT2ROo=",
"dev": true,
"requires": {
"postcss": "^5.0.4"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "dev": true
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/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"
+ },
+ "dependencies": {
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "dev": true
+ }
+ }
+ },
+ "has-flag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
+ "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
+ "dev": true
+ },
+ "postcss": {
+ "version": "5.2.18",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
+ "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
+ "dev": true,
+ "requires": {
+ "chalk": "^1.1.3",
+ "js-base64": "^2.1.9",
+ "source-map": "^0.5.6",
+ "supports-color": "^3.2.3"
+ }
+ },
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
+ },
+ "supports-color": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
+ "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "dev": true,
+ "requires": {
+ "has-flag": "^1.0.0"
+ }
+ }
}
},
"postcss-reduce-transforms": {
"version": "1.0.4",
- "resolved": "http://registry.npmjs.org/postcss-reduce-transforms/-/postcss-reduce-transforms-1.0.4.tgz",
+ "resolved": "https://registry.npmjs.org/postcss-reduce-transforms/-/postcss-reduce-transforms-1.0.4.tgz",
"integrity": "sha1-/3b02CEkN7McKYpC0uFEQCV3GuE=",
"dev": true,
"requires": {
"has": "^1.0.1",
"postcss": "^5.0.8",
"postcss-value-parser": "^3.0.1"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "dev": true
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/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"
+ },
+ "dependencies": {
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "dev": true
+ }
+ }
+ },
+ "has-flag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
+ "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
+ "dev": true
+ },
+ "postcss": {
+ "version": "5.2.18",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
+ "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
+ "dev": true,
+ "requires": {
+ "chalk": "^1.1.3",
+ "js-base64": "^2.1.9",
+ "source-map": "^0.5.6",
+ "supports-color": "^3.2.3"
+ }
+ },
+ "postcss-value-parser": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",
+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",
+ "dev": true
+ },
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
+ },
+ "supports-color": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
+ "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "dev": true,
+ "requires": {
+ "has-flag": "^1.0.0"
+ }
+ }
}
},
"postcss-selector-parser": {
@@ -9748,7 +11569,7 @@
},
"postcss-svgo": {
"version": "2.1.6",
- "resolved": "http://registry.npmjs.org/postcss-svgo/-/postcss-svgo-2.1.6.tgz",
+ "resolved": "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-2.1.6.tgz",
"integrity": "sha1-tt8YqmE7Zm4TPwittSGcJoSsEI0=",
"dev": true,
"requires": {
@@ -9756,34 +11577,226 @@
"postcss": "^5.0.14",
"postcss-value-parser": "^3.2.3",
"svgo": "^0.7.0"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "dev": true
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/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"
+ },
+ "dependencies": {
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "dev": true
+ }
+ }
+ },
+ "has-flag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
+ "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
+ "dev": true
+ },
+ "postcss": {
+ "version": "5.2.18",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
+ "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
+ "dev": true,
+ "requires": {
+ "chalk": "^1.1.3",
+ "js-base64": "^2.1.9",
+ "source-map": "^0.5.6",
+ "supports-color": "^3.2.3"
+ }
+ },
+ "postcss-value-parser": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",
+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",
+ "dev": true
+ },
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
+ },
+ "supports-color": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
+ "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "dev": true,
+ "requires": {
+ "has-flag": "^1.0.0"
+ }
+ }
}
},
"postcss-unique-selectors": {
"version": "2.0.2",
- "resolved": "http://registry.npmjs.org/postcss-unique-selectors/-/postcss-unique-selectors-2.0.2.tgz",
+ "resolved": "https://registry.npmjs.org/postcss-unique-selectors/-/postcss-unique-selectors-2.0.2.tgz",
"integrity": "sha1-mB1X0p3csz57Hf4f1DuGSfkzyh0=",
"dev": true,
"requires": {
"alphanum-sort": "^1.0.1",
"postcss": "^5.0.4",
"uniqs": "^2.0.0"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "dev": true
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/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"
+ },
+ "dependencies": {
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "dev": true
+ }
+ }
+ },
+ "has-flag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
+ "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
+ "dev": true
+ },
+ "postcss": {
+ "version": "5.2.18",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
+ "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
+ "dev": true,
+ "requires": {
+ "chalk": "^1.1.3",
+ "js-base64": "^2.1.9",
+ "source-map": "^0.5.6",
+ "supports-color": "^3.2.3"
+ }
+ },
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
+ },
+ "supports-color": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
+ "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "dev": true,
+ "requires": {
+ "has-flag": "^1.0.0"
+ }
+ }
}
},
"postcss-value-parser": {
- "version": "3.3.0",
- "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.0.tgz",
- "integrity": "sha1-h/OPnxj3dKSrTIojL1xc6IcqnRU=",
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.0.2.tgz",
+ "integrity": "sha512-LmeoohTpp/K4UiyQCwuGWlONxXamGzCMtFxLq4W1nZVGIQLYvMCJx3yAF9qyyuFpflABI9yVdtJAqbihOsCsJQ==",
"dev": true
},
"postcss-zindex": {
"version": "2.2.0",
- "resolved": "http://registry.npmjs.org/postcss-zindex/-/postcss-zindex-2.2.0.tgz",
+ "resolved": "https://registry.npmjs.org/postcss-zindex/-/postcss-zindex-2.2.0.tgz",
"integrity": "sha1-0hCd3AVbka9n/EyzsCWUZjnSryI=",
"dev": true,
"requires": {
"has": "^1.0.1",
"postcss": "^5.0.4",
"uniqs": "^2.0.0"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "dev": true
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/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"
+ },
+ "dependencies": {
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "dev": true
+ }
+ }
+ },
+ "has-flag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
+ "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
+ "dev": true
+ },
+ "postcss": {
+ "version": "5.2.18",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
+ "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
+ "dev": true,
+ "requires": {
+ "chalk": "^1.1.3",
+ "js-base64": "^2.1.9",
+ "source-map": "^0.5.6",
+ "supports-color": "^3.2.3"
+ }
+ },
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
+ },
+ "supports-color": {
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
+ "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "dev": true,
+ "requires": {
+ "has-flag": "^1.0.0"
+ }
+ }
}
},
"prelude-ls": {
@@ -9834,17 +11847,32 @@
"dev": true
},
"process-nextick-args": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz",
- "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==",
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",
+ "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==",
"dev": true
},
+ "promise": {
+ "version": "7.3.1",
+ "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz",
+ "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==",
+ "dev": true,
+ "requires": {
+ "asap": "~2.0.3"
+ }
+ },
"pseudomap": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz",
"integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=",
"dev": true
},
+ "psl": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/psl/-/psl-1.7.0.tgz",
+ "integrity": "sha512-5NsSEDv8zY70ScRnOTn7bK7eanl2MvFrOrS/R6x+dBt5g1ghnj9Zv90kO8GwT8gxcu2ANyFprnFYB85IogIJOQ==",
+ "dev": true
+ },
"public-encrypt": {
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz",
@@ -9860,110 +11888,69 @@
}
},
"pug": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/pug/-/pug-2.0.3.tgz",
- "integrity": "sha1-ccuoJTfJWl6rftBGluQiH1Oqh44=",
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/pug/-/pug-2.0.4.tgz",
+ "integrity": "sha512-XhoaDlvi6NIzL49nu094R2NA6P37ijtgMDuWE+ofekDChvfKnzFal60bhSdiy8y2PBO6fmz3oMEIcfpBVRUdvw==",
"dev": true,
"requires": {
- "pug-code-gen": "^2.0.1",
- "pug-filters": "^3.1.0",
- "pug-lexer": "^4.0.0",
- "pug-linker": "^3.0.5",
- "pug-load": "^2.0.11",
- "pug-parser": "^5.0.0",
- "pug-runtime": "^2.0.4",
- "pug-strip-comments": "^1.0.3"
+ "pug-code-gen": "^2.0.2",
+ "pug-filters": "^3.1.1",
+ "pug-lexer": "^4.1.0",
+ "pug-linker": "^3.0.6",
+ "pug-load": "^2.0.12",
+ "pug-parser": "^5.0.1",
+ "pug-runtime": "^2.0.5",
+ "pug-strip-comments": "^1.0.4"
}
},
"pug-attrs": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/pug-attrs/-/pug-attrs-2.0.3.tgz",
- "integrity": "sha1-owlflw5kFR972tlX7vVftdeQXRU=",
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/pug-attrs/-/pug-attrs-2.0.4.tgz",
+ "integrity": "sha512-TaZ4Z2TWUPDJcV3wjU3RtUXMrd3kM4Wzjbe3EWnSsZPsJ3LDI0F3yCnf2/W7PPFF+edUFQ0HgDL1IoxSz5K8EQ==",
"dev": true,
"requires": {
"constantinople": "^3.0.1",
"js-stringify": "^1.0.1",
- "pug-runtime": "^2.0.4"
+ "pug-runtime": "^2.0.5"
}
},
"pug-code-gen": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/pug-code-gen/-/pug-code-gen-2.0.1.tgz",
- "integrity": "sha1-CVHsgyJddNjPxHan+Zolm199BQw=",
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/pug-code-gen/-/pug-code-gen-2.0.2.tgz",
+ "integrity": "sha512-kROFWv/AHx/9CRgoGJeRSm+4mLWchbgpRzTEn8XCiwwOy6Vh0gAClS8Vh5TEJ9DBjaP8wCjS3J6HKsEsYdvaCw==",
"dev": true,
"requires": {
- "constantinople": "^3.0.1",
+ "constantinople": "^3.1.2",
"doctypes": "^1.1.0",
"js-stringify": "^1.0.1",
- "pug-attrs": "^2.0.3",
- "pug-error": "^1.3.2",
- "pug-runtime": "^2.0.4",
+ "pug-attrs": "^2.0.4",
+ "pug-error": "^1.3.3",
+ "pug-runtime": "^2.0.5",
"void-elements": "^2.0.1",
"with": "^5.0.0"
- },
- "dependencies": {
- "acorn": {
- "version": "3.3.0",
- "resolved": "http://registry.npmjs.org/acorn/-/acorn-3.3.0.tgz",
- "integrity": "sha1-ReN/s56No/JbruP/U2niu18iAXo=",
- "dev": true
- },
- "acorn-globals": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-3.1.0.tgz",
- "integrity": "sha1-/YJw9x+7SZawBPqIDuXUZXOnMb8=",
- "dev": true,
- "requires": {
- "acorn": "^4.0.4"
- },
- "dependencies": {
- "acorn": {
- "version": "4.0.13",
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-4.0.13.tgz",
- "integrity": "sha1-EFSVrlNh1pe9GVyCUZLhrX8lN4c=",
- "dev": true
- }
- }
- },
- "with": {
- "version": "5.1.1",
- "resolved": "https://registry.npmjs.org/with/-/with-5.1.1.tgz",
- "integrity": "sha1-+k2qktrzLE6pTtRTyB8EaGtXXf4=",
- "dev": true,
- "requires": {
- "acorn": "^3.1.0",
- "acorn-globals": "^3.0.0"
- }
- }
}
},
"pug-error": {
- "version": "1.3.2",
- "resolved": "https://registry.npmjs.org/pug-error/-/pug-error-1.3.2.tgz",
- "integrity": "sha1-U659nSm7A89WRJOgJhCfVMR/XyY=",
+ "version": "1.3.3",
+ "resolved": "https://registry.npmjs.org/pug-error/-/pug-error-1.3.3.tgz",
+ "integrity": "sha512-qE3YhESP2mRAWMFJgKdtT5D7ckThRScXRwkfo+Erqga7dyJdY3ZquspprMCj/9sJ2ijm5hXFWQE/A3l4poMWiQ==",
"dev": true
},
"pug-filters": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/pug-filters/-/pug-filters-3.1.0.tgz",
- "integrity": "sha1-JxZVVbwEwjbkqisDZiRt+gIbYm4=",
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/pug-filters/-/pug-filters-3.1.1.tgz",
+ "integrity": "sha512-lFfjNyGEyVWC4BwX0WyvkoWLapI5xHSM3xZJFUhx4JM4XyyRdO8Aucc6pCygnqV2uSgJFaJWW3Ft1wCWSoQkQg==",
"dev": true,
"requires": {
"clean-css": "^4.1.11",
"constantinople": "^3.0.1",
"jstransformer": "1.0.0",
- "pug-error": "^1.3.2",
- "pug-walk": "^1.1.7",
+ "pug-error": "^1.3.3",
+ "pug-walk": "^1.1.8",
"resolve": "^1.1.6",
"uglify-js": "^2.6.1"
},
"dependencies": {
- "asap": {
- "version": "2.0.6",
- "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz",
- "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=",
- "dev": true
- },
"clean-css": {
"version": "4.2.1",
"resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.2.1.tgz",
@@ -9984,31 +11971,6 @@
"wordwrap": "0.0.2"
}
},
- "jstransformer": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/jstransformer/-/jstransformer-1.0.0.tgz",
- "integrity": "sha1-7Yvwkh4vPx7U1cGkT2hwntJHIsM=",
- "dev": true,
- "requires": {
- "is-promise": "^2.0.0",
- "promise": "^7.0.1"
- }
- },
- "promise": {
- "version": "7.3.1",
- "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz",
- "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==",
- "dev": true,
- "requires": {
- "asap": "~2.0.3"
- }
- },
- "source-map": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
- "dev": true
- },
"uglify-js": {
"version": "2.8.29",
"resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.8.29.tgz",
@@ -10036,7 +11998,7 @@
},
"yargs": {
"version": "3.10.0",
- "resolved": "http://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz",
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz",
"integrity": "sha1-9+572FfdfB0tOMDnTvvWgdFDH9E=",
"dev": true,
"requires": {
@@ -10047,47 +12009,36 @@
}
}
}
- },
- "pug-lexer": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/pug-lexer/-/pug-lexer-4.0.0.tgz",
- "integrity": "sha1-IQwYRX7y4XYCQnQMXmR715TOwng=",
- "dev": true,
- "requires": {
- "character-parser": "^2.1.1",
- "is-expression": "^3.0.0",
- "pug-error": "^1.3.2"
- },
- "dependencies": {
- "character-parser": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/character-parser/-/character-parser-2.2.0.tgz",
- "integrity": "sha1-x84o821LzZdE5f/CxfzeHHMmH8A=",
- "dev": true,
- "requires": {
- "is-regex": "^1.0.3"
- }
- }
+ },
+ "pug-lexer": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/pug-lexer/-/pug-lexer-4.1.0.tgz",
+ "integrity": "sha512-i55yzEBtjm0mlplW4LoANq7k3S8gDdfC6+LThGEvsK4FuobcKfDAwt6V4jKPH9RtiE3a2Akfg5UpafZ1OksaPA==",
+ "dev": true,
+ "requires": {
+ "character-parser": "^2.1.1",
+ "is-expression": "^3.0.0",
+ "pug-error": "^1.3.3"
}
},
"pug-linker": {
- "version": "3.0.5",
- "resolved": "https://registry.npmjs.org/pug-linker/-/pug-linker-3.0.5.tgz",
- "integrity": "sha1-npp65ABWgtAn3uuWsAD4juuDoC8=",
+ "version": "3.0.6",
+ "resolved": "https://registry.npmjs.org/pug-linker/-/pug-linker-3.0.6.tgz",
+ "integrity": "sha512-bagfuHttfQOpANGy1Y6NJ+0mNb7dD2MswFG2ZKj22s8g0wVsojpRlqveEQHmgXXcfROB2RT6oqbPYr9EN2ZWzg==",
"dev": true,
"requires": {
- "pug-error": "^1.3.2",
- "pug-walk": "^1.1.7"
+ "pug-error": "^1.3.3",
+ "pug-walk": "^1.1.8"
}
},
"pug-load": {
- "version": "2.0.11",
- "resolved": "https://registry.npmjs.org/pug-load/-/pug-load-2.0.11.tgz",
- "integrity": "sha1-5kjlftET/iwfRdV4WOorrWvAFSc=",
+ "version": "2.0.12",
+ "resolved": "https://registry.npmjs.org/pug-load/-/pug-load-2.0.12.tgz",
+ "integrity": "sha512-UqpgGpyyXRYgJs/X60sE6SIf8UBsmcHYKNaOccyVLEuT6OPBIMo6xMPhoJnqtB3Q3BbO4Z3Bjz5qDsUWh4rXsg==",
"dev": true,
"requires": {
"object-assign": "^4.1.0",
- "pug-walk": "^1.1.7"
+ "pug-walk": "^1.1.8"
},
"dependencies": {
"object-assign": {
@@ -10099,34 +12050,34 @@
}
},
"pug-parser": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/pug-parser/-/pug-parser-5.0.0.tgz",
- "integrity": "sha1-45Stmz/KkxI5QK/4hcBuRKt+aOQ=",
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/pug-parser/-/pug-parser-5.0.1.tgz",
+ "integrity": "sha512-nGHqK+w07p5/PsPIyzkTQfzlYfuqoiGjaoqHv1LjOv2ZLXmGX1O+4Vcvps+P4LhxZ3drYSljjq4b+Naid126wA==",
"dev": true,
"requires": {
- "pug-error": "^1.3.2",
+ "pug-error": "^1.3.3",
"token-stream": "0.0.1"
}
},
"pug-runtime": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/pug-runtime/-/pug-runtime-2.0.4.tgz",
- "integrity": "sha1-4XjhvaaKsujArPybztLFT9iM61g=",
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/pug-runtime/-/pug-runtime-2.0.5.tgz",
+ "integrity": "sha512-P+rXKn9un4fQY77wtpcuFyvFaBww7/91f3jHa154qU26qFAnOe6SW1CbIDcxiG5lLK9HazYrMCCuDvNgDQNptw==",
"dev": true
},
"pug-strip-comments": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/pug-strip-comments/-/pug-strip-comments-1.0.3.tgz",
- "integrity": "sha1-8VWVkiBu3G+FMQ2s9K+0igJa9Z8=",
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/pug-strip-comments/-/pug-strip-comments-1.0.4.tgz",
+ "integrity": "sha512-i5j/9CS4yFhSxHp5iKPHwigaig/VV9g+FgReLJWWHEHbvKsbqL0oP/K5ubuLco6Wu3Kan5p7u7qk8A4oLLh6vw==",
"dev": true,
"requires": {
- "pug-error": "^1.3.2"
+ "pug-error": "^1.3.3"
}
},
"pug-walk": {
- "version": "1.1.7",
- "resolved": "https://registry.npmjs.org/pug-walk/-/pug-walk-1.1.7.tgz",
- "integrity": "sha1-wA1cUSi6xYBr7BXSt+fNq+QlMfM=",
+ "version": "1.1.8",
+ "resolved": "https://registry.npmjs.org/pug-walk/-/pug-walk-1.1.8.tgz",
+ "integrity": "sha512-GMu3M5nUL3fju4/egXwZO0XLi6fW/K3T3VTgFQ14GxNi8btlxgT5qZL//JwZFm/2Fa64J/PNS8AZeys3wiMkVA==",
"dev": true
},
"punycode": {
@@ -10149,7 +12100,7 @@
},
"query-string": {
"version": "2.4.2",
- "resolved": "http://registry.npmjs.org/query-string/-/query-string-2.4.2.tgz",
+ "resolved": "https://registry.npmjs.org/query-string/-/query-string-2.4.2.tgz",
"integrity": "sha1-fbBmZCCAS6qSrp8miWKFWnYUPfs=",
"dev": true,
"requires": {
@@ -10169,9 +12120,9 @@
"dev": true
},
"randomatic": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/randomatic/-/randomatic-3.1.0.tgz",
- "integrity": "sha512-KnGPVE0lo2WoXxIZ7cPR8YBpiol4gsSuOwDSg410oHh80ZMp5EiypNqL2K4Z77vJn6lB5rap7IkAmcUlalcnBQ==",
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/randomatic/-/randomatic-3.1.1.tgz",
+ "integrity": "sha512-TuDE5KxZ0J461RVjrJZCJc+J+zCkTb1MbH9AQUq68sMhOMcy9jLcb3BrZKgp9q9Ncltdg4QVqWrH02W2EFFVYw==",
"dev": true,
"requires": {
"is-number": "^4.0.0",
@@ -10194,9 +12145,9 @@
}
},
"randombytes": {
- "version": "2.0.6",
- "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.0.6.tgz",
- "integrity": "sha512-CIQ5OFxf4Jou6uOKe9t1AOgqpeU5fd70A8NPdHSGeYXqXsPe6peOwI0cUl88RWZ6sP1vPMV3avd/R6cZ5/sP1A==",
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz",
+ "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==",
"dev": true,
"requires": {
"safe-buffer": "^5.1.0"
@@ -10213,9 +12164,9 @@
}
},
"range-parser": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.0.tgz",
- "integrity": "sha1-9JvmtIeJTdxA3MlKMi9hEJLgDV4=",
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
+ "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==",
"dev": true
},
"rc": {
@@ -10280,7 +12231,7 @@
},
"readable-stream": {
"version": "2.3.6",
- "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
"integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==",
"dev": true,
"requires": {
@@ -10608,6 +12559,12 @@
"resolved": "https://registry.npmjs.org/esprima/-/esprima-3.1.3.tgz",
"integrity": "sha1-/cpRzuYTOJXjyI1TXOSdv/YqRjM=",
"dev": true
+ },
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
}
}
},
@@ -10652,7 +12609,7 @@
},
"reduce-css-calc": {
"version": "1.3.0",
- "resolved": "http://registry.npmjs.org/reduce-css-calc/-/reduce-css-calc-1.3.0.tgz",
+ "resolved": "https://registry.npmjs.org/reduce-css-calc/-/reduce-css-calc-1.3.0.tgz",
"integrity": "sha1-dHyRTgSWFKTJz7umKYca0dKSdxY=",
"dev": true,
"requires": {
@@ -10670,22 +12627,20 @@
}
},
"reduce-function-call": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/reduce-function-call/-/reduce-function-call-1.0.2.tgz",
- "integrity": "sha1-WiAL+S4ON3UXUv5FsKszD9S2vpk=",
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/reduce-function-call/-/reduce-function-call-1.0.3.tgz",
+ "integrity": "sha512-Hl/tuV2VDgWgCSEeWMLwxLZqX7OK59eU1guxXsRKTAyeYimivsKdtcV4fu3r710tpG5GmDKDhQ0HSZLExnNmyQ==",
"dev": true,
"requires": {
- "balanced-match": "^0.4.2"
- },
- "dependencies": {
- "balanced-match": {
- "version": "0.4.2",
- "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-0.4.2.tgz",
- "integrity": "sha1-yz8+PHMtwPAe5wtAPzAuYddwmDg=",
- "dev": true
- }
+ "balanced-match": "^1.0.0"
}
},
+ "regenerator-runtime": {
+ "version": "0.11.1",
+ "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz",
+ "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==",
+ "dev": true
+ },
"regex-cache": {
"version": "0.4.4",
"resolved": "https://registry.npmjs.org/regex-cache/-/regex-cache-0.4.4.tgz",
@@ -10711,15 +12666,6 @@
"integrity": "sha1-VNvzd+UUQKypCkzSdGANP/LYiKk=",
"dev": true
},
- "relative": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/relative/-/relative-3.0.2.tgz",
- "integrity": "sha1-Dc2OxUpdNaPBXhBFA9ZTdbWlNn8=",
- "dev": true,
- "requires": {
- "isobject": "^2.0.0"
- }
- },
"remove-trailing-separator": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz",
@@ -10754,31 +12700,31 @@
"dev": true
},
"request": {
- "version": "2.87.0",
- "resolved": "https://registry.npmjs.org/request/-/request-2.87.0.tgz",
- "integrity": "sha512-fcogkm7Az5bsS6Sl0sibkbhcKsnyon/jV1kF3ajGmF0c8HrttdKTPRT9hieOaQHA5HEq6r8OyWOo/o781C1tNw==",
+ "version": "2.88.0",
+ "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz",
+ "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==",
"dev": true,
"requires": {
"aws-sign2": "~0.7.0",
- "aws4": "^1.6.0",
+ "aws4": "^1.8.0",
"caseless": "~0.12.0",
- "combined-stream": "~1.0.7",
- "extend": "~3.0.1",
+ "combined-stream": "~1.0.6",
+ "extend": "~3.0.2",
"forever-agent": "~0.6.1",
- "form-data": "~2.3.1",
- "har-validator": "~5.0.3",
+ "form-data": "~2.3.2",
+ "har-validator": "~5.1.0",
"http-signature": "~1.2.0",
"is-typedarray": "~1.0.0",
"isstream": "~0.1.2",
"json-stringify-safe": "~5.0.1",
- "mime-types": "~2.1.17",
- "oauth-sign": "~0.8.2",
+ "mime-types": "~2.1.19",
+ "oauth-sign": "~0.9.0",
"performance-now": "^2.1.0",
- "qs": "~6.5.1",
- "safe-buffer": "^5.1.1",
- "tough-cookie": "~2.3.3",
+ "qs": "~6.5.2",
+ "safe-buffer": "^5.1.2",
+ "tough-cookie": "~2.4.3",
"tunnel-agent": "^0.6.0",
- "uuid": "^3.1.0"
+ "uuid": "^3.3.2"
},
"dependencies": {
"qs": {
@@ -10797,9 +12743,9 @@
}
},
"uuid": {
- "version": "3.3.2",
- "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz",
- "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==",
+ "version": "3.3.3",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.3.tgz",
+ "integrity": "sha512-pW0No1RGHgzlpHJO1nsVrHKpOEIxkGg1xB+v0ZmdNH5OAeAwzAVrCnI2/6Mtx+Uys6iaylxa+D3g4j63IKKjSQ==",
"dev": true
}
}
@@ -10823,12 +12769,12 @@
"dev": true
},
"resolve": {
- "version": "1.8.1",
- "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.8.1.tgz",
- "integrity": "sha512-AicPrAC7Qu1JxPCZ9ZgCZlY35QgFnNqc+0LtbRNxnVw4TXvjQ72wnuL9JQcEBgXkI9JM8MsT9kaQoHcpCRJOYA==",
+ "version": "1.14.1",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.14.1.tgz",
+ "integrity": "sha512-fn5Wobh4cxbLzuHaE+nphztHy43/b++4M6SsGFC2gB8uYwf0C8LcarfCz1un7UTW8OFQg9iNjZ4xpcFVGebDPg==",
"dev": true,
"requires": {
- "path-parse": "^1.0.7"
+ "path-parse": "^1.0.6"
}
},
"resolve-dir": {
@@ -10884,7 +12830,7 @@
},
"rimraf": {
"version": "2.5.4",
- "resolved": "http://registry.npmjs.org/rimraf/-/rimraf-2.5.4.tgz",
+ "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.5.4.tgz",
"integrity": "sha1-loAAk8vxoMhr2VtGJUZ1NcKd+gQ=",
"dev": true,
"requires": {
@@ -10892,9 +12838,9 @@
},
"dependencies": {
"glob": {
- "version": "7.1.3",
- "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz",
- "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==",
+ "version": "7.1.6",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
+ "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==",
"dev": true,
"requires": {
"fs.realpath": "^1.0.0",
@@ -10941,6 +12887,15 @@
"integrity": "sha1-Gc5QLKVyZl87ZHsQk5+X/RYV8QI=",
"dev": true
},
+ "rxjs": {
+ "version": "5.5.12",
+ "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-5.5.12.tgz",
+ "integrity": "sha512-xx2itnL5sBbqeeiVgNPVuQQ1nC8Jp2WfNJhXWHmElW9YmrpS9UVnNzhP3EH3HFqexO5Tlp8GhYY+WEcqcVMvGw==",
+ "dev": true,
+ "requires": {
+ "symbol-observable": "1.0.1"
+ }
+ },
"safe-buffer": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
@@ -10981,9 +12936,9 @@
"dev": true
},
"glob": {
- "version": "7.1.3",
- "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz",
- "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==",
+ "version": "7.1.6",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
+ "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==",
"dev": true,
"requires": {
"fs.realpath": "^1.0.0",
@@ -11063,8 +13018,8 @@
}
},
"seek-bzip": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/seek-bzip/-/seek-bzip-1.0.7.tgz",
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/seek-bzip/-/seek-bzip-1.0.5.tgz",
"integrity": "sha1-z+kXyz0nS8/6x5J1ivUxc+sfq9w=",
"dev": true,
"requires": {
@@ -11073,7 +13028,7 @@
"dependencies": {
"commander": {
"version": "2.8.1",
- "resolved": "http://registry.npmjs.org/commander/-/commander-2.8.1.tgz",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.8.1.tgz",
"integrity": "sha1-Br42f+v9oMMwqh4qBy09yXYkJdQ=",
"dev": true,
"requires": {
@@ -11083,9 +13038,9 @@
}
},
"semver": {
- "version": "5.5.1",
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.1.tgz",
- "integrity": "sha512-PqpAxfrEhlSUWge8dwIp4tZnQ25DIOthpiaHNIthsjEFQD6EvqUKUDM7L8O2rShkFccYo1VjJR0coWfNkCubRw==",
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
+ "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
"dev": true
},
"semver-regex": {
@@ -11101,12 +13056,20 @@
"dev": true,
"requires": {
"semver": "^5.3.0"
+ },
+ "dependencies": {
+ "semver": {
+ "version": "5.7.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
+ "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
+ "dev": true
+ }
}
},
"send": {
- "version": "0.16.2",
- "resolved": "https://registry.npmjs.org/send/-/send-0.16.2.tgz",
- "integrity": "sha512-E64YFPUssFHEFBvpbbjr44NCLtI1AohxQ8ZSiJjQLskAdKuriYEP6VyGEsRDH8ScozGpkaX1BGvhanqCwkcEZw==",
+ "version": "0.17.1",
+ "resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz",
+ "integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==",
"dev": true,
"requires": {
"debug": "2.6.9",
@@ -11116,30 +13079,43 @@
"escape-html": "~1.0.3",
"etag": "~1.8.1",
"fresh": "0.5.2",
- "http-errors": "~1.6.2",
- "mime": "1.4.1",
- "ms": "2.0.0",
+ "http-errors": "~1.7.2",
+ "mime": "1.6.0",
+ "ms": "2.1.1",
"on-finished": "~2.3.0",
- "range-parser": "~1.2.0",
- "statuses": "~1.4.0"
+ "range-parser": "~1.2.1",
+ "statuses": "~1.5.0"
},
"dependencies": {
- "fresh": {
- "version": "0.5.2",
- "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
- "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=",
- "dev": true
+ "http-errors": {
+ "version": "1.7.3",
+ "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.3.tgz",
+ "integrity": "sha512-ZTTX0MWrsQ2ZAhA1cejAwDLycFsd7I7nVtnkT3Ol0aqodaKW+0CTZDQ1uBv5whptCnc8e8HeRRJxRs0kmm/Qfw==",
+ "dev": true,
+ "requires": {
+ "depd": "~1.1.2",
+ "inherits": "2.0.4",
+ "setprototypeof": "1.1.1",
+ "statuses": ">= 1.5.0 < 2",
+ "toidentifier": "1.0.0"
+ }
},
"mime": {
- "version": "1.4.1",
- "resolved": "https://registry.npmjs.org/mime/-/mime-1.4.1.tgz",
- "integrity": "sha512-KI1+qOZu5DcW6wayYHSzR/tXKCDC5Om4s1z2QJjDULzLcmf3DvzS7oluY4HCTrc+9FiKmWUgeNLg7W3uIQvxtQ==",
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
+ "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==",
"dev": true
},
- "statuses": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.4.0.tgz",
- "integrity": "sha512-zhSCtt8v2NDrRlPQpCNtw/heZLtfUDqxBM1udqikb/Hbk52LK4nQSwr10u77iopCW5LsyHpuXS0GnEc48mLeew==",
+ "ms": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz",
+ "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==",
+ "dev": true
+ },
+ "setprototypeof": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz",
+ "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==",
"dev": true
}
}
@@ -11175,15 +13151,15 @@
}
},
"serve-static": {
- "version": "1.13.2",
- "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.13.2.tgz",
- "integrity": "sha512-p/tdJrO4U387R9oMjb1oj7qSMaMfmOyd4j9hOFoxZe2baQszgHcSWjuya/CiT5kgZZKRudHNOA0pYXOl8rQ5nw==",
+ "version": "1.14.1",
+ "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz",
+ "integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==",
"dev": true,
"requires": {
"encodeurl": "~1.0.2",
"escape-html": "~1.0.3",
- "parseurl": "~1.3.2",
- "send": "0.16.2"
+ "parseurl": "~1.3.3",
+ "send": "0.17.1"
}
},
"set-blocking": {
@@ -11199,9 +13175,9 @@
"dev": true
},
"set-value": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.0.tgz",
- "integrity": "sha512-hw0yxk9GT/Hr5yJEYnHNKYXkIA8mVJgd9ditYZCe16ZczcaELYYcfvaXesNACk2O8O0nTiPQcQhGUQj8JLzeeg==",
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz",
+ "integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==",
"dev": true,
"requires": {
"extend-shallow": "^2.0.1",
@@ -11229,7 +13205,7 @@
},
"sha.js": {
"version": "2.4.11",
- "resolved": "http://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz",
+ "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz",
"integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==",
"dev": true,
"requires": {
@@ -11239,7 +13215,7 @@
},
"shasum": {
"version": "1.0.2",
- "resolved": "http://registry.npmjs.org/shasum/-/shasum-1.0.2.tgz",
+ "resolved": "https://registry.npmjs.org/shasum/-/shasum-1.0.2.tgz",
"integrity": "sha1-5wEjENj0F/TetXEhUOVni4euVl8=",
"dev": true,
"requires": {
@@ -11247,18 +13223,21 @@
"sha.js": "~2.4.4"
}
},
- "shell-quote": {
- "version": "1.6.1",
- "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.6.1.tgz",
- "integrity": "sha1-9HgZSczkAmlxJ0MOo7PFR29IF2c=",
+ "shasum-object": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/shasum-object/-/shasum-object-1.0.0.tgz",
+ "integrity": "sha512-Iqo5rp/3xVi6M4YheapzZhhGPVs0yZwHj7wvwQ1B9z8H6zk+FEnI7y3Teq7qwnekfEhu8WmG2z0z4iWZaxLWVg==",
"dev": true,
"requires": {
- "array-filter": "~0.0.0",
- "array-map": "~0.0.0",
- "array-reduce": "~0.0.0",
- "jsonify": "~0.0.0"
+ "fast-safe-stringify": "^2.0.7"
}
},
+ "shell-quote": {
+ "version": "1.7.2",
+ "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.7.2.tgz",
+ "integrity": "sha512-mRz/m/JVscCrkMyPqHc/bczi3OQHkLTqXHEFu0zDhK/qfv3UcOA4SVmRCLmos4bhjr9ekVQubj/R7waKapmiQg==",
+ "dev": true
+ },
"shelljs": {
"version": "0.5.3",
"resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.5.3.tgz",
@@ -11325,6 +13304,12 @@
"requires": {
"is-extendable": "^0.1.0"
}
+ },
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
}
}
},
@@ -11416,7 +13401,7 @@
"dependencies": {
"debug": {
"version": "2.2.0",
- "resolved": "http://registry.npmjs.org/debug/-/debug-2.2.0.tgz",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.2.0.tgz",
"integrity": "sha1-+HBX6ZWxofauaklgZkE3vFbwOdo=",
"dev": true,
"requires": {
@@ -11425,7 +13410,7 @@
},
"ms": {
"version": "0.7.1",
- "resolved": "http://registry.npmjs.org/ms/-/ms-0.7.1.tgz",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.1.tgz",
"integrity": "sha1-nNE8A62/8ltl7/3nzoZO6VIBcJg=",
"dev": true
}
@@ -11449,7 +13434,7 @@
},
"debug": {
"version": "2.2.0",
- "resolved": "http://registry.npmjs.org/debug/-/debug-2.2.0.tgz",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.2.0.tgz",
"integrity": "sha1-+HBX6ZWxofauaklgZkE3vFbwOdo=",
"dev": true,
"requires": {
@@ -11464,7 +13449,7 @@
},
"ms": {
"version": "0.7.1",
- "resolved": "http://registry.npmjs.org/ms/-/ms-0.7.1.tgz",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.1.tgz",
"integrity": "sha1-nNE8A62/8ltl7/3nzoZO6VIBcJg=",
"dev": true
},
@@ -11483,7 +13468,7 @@
"dependencies": {
"debug": {
"version": "0.7.4",
- "resolved": "http://registry.npmjs.org/debug/-/debug-0.7.4.tgz",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-0.7.4.tgz",
"integrity": "sha1-BuHqgILCyxTjmAbiLi9vdX+Srzk=",
"dev": true
}
@@ -11518,7 +13503,7 @@
},
"debug": {
"version": "2.2.0",
- "resolved": "http://registry.npmjs.org/debug/-/debug-2.2.0.tgz",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.2.0.tgz",
"integrity": "sha1-+HBX6ZWxofauaklgZkE3vFbwOdo=",
"dev": true,
"requires": {
@@ -11527,7 +13512,7 @@
},
"ms": {
"version": "0.7.1",
- "resolved": "http://registry.npmjs.org/ms/-/ms-0.7.1.tgz",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.1.tgz",
"integrity": "sha1-nNE8A62/8ltl7/3nzoZO6VIBcJg=",
"dev": true
}
@@ -11554,7 +13539,7 @@
},
"debug": {
"version": "2.2.0",
- "resolved": "http://registry.npmjs.org/debug/-/debug-2.2.0.tgz",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.2.0.tgz",
"integrity": "sha1-+HBX6ZWxofauaklgZkE3vFbwOdo=",
"dev": true,
"requires": {
@@ -11575,7 +13560,7 @@
},
"ms": {
"version": "0.7.1",
- "resolved": "http://registry.npmjs.org/ms/-/ms-0.7.1.tgz",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.1.tgz",
"integrity": "sha1-nNE8A62/8ltl7/3nzoZO6VIBcJg=",
"dev": true
}
@@ -11591,18 +13576,18 @@
}
},
"source-map": {
- "version": "0.5.7",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
- "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
"dev": true
},
"source-map-resolve": {
- "version": "0.5.2",
- "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.2.tgz",
- "integrity": "sha512-MjqsvNwyz1s0k81Goz/9vRBe9SZdB09Bdw+/zYyO+3CuPk6fouTaxscHkgtE8jKvf01kVfl8riHzERQ/kefaSA==",
+ "version": "0.5.3",
+ "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz",
+ "integrity": "sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==",
"dev": true,
"requires": {
- "atob": "^2.1.1",
+ "atob": "^2.1.2",
"decode-uri-component": "^0.2.0",
"resolve-url": "^0.2.1",
"source-map-url": "^0.4.0",
@@ -11622,9 +13607,9 @@
"dev": true
},
"spdx-correct": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.0.2.tgz",
- "integrity": "sha512-q9hedtzyXHr5S0A1vEPoK/7l8NpfkFYTq6iCY+Pno2ZbdZR6WexZFtqeVGkGxW3TEJMN914Z55EnAGMmenlIQQ==",
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz",
+ "integrity": "sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q==",
"dev": true,
"requires": {
"spdx-expression-parse": "^3.0.0",
@@ -11648,9 +13633,9 @@
}
},
"spdx-license-ids": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.1.tgz",
- "integrity": "sha512-TfOfPcYGBB5sDuPn3deByxPhmfegAhpDYKSOXZQN81Oyrrif8ZCodOLzK3AesELnCx03kikhyDwh0pfvvQvF8w==",
+ "version": "3.0.5",
+ "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.5.tgz",
+ "integrity": "sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q==",
"dev": true
},
"split-string": {
@@ -11677,12 +13662,39 @@
"chalk": "^1.0.0",
"console-stream": "^0.1.1",
"lpad-align": "^1.0.1"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "dev": true
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/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"
+ }
+ },
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "dev": true
+ }
}
},
"sshpk": {
- "version": "1.14.2",
- "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.14.2.tgz",
- "integrity": "sha1-xvxhZIo9nE52T9P8306hBeSSupg=",
+ "version": "1.16.1",
+ "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz",
+ "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==",
"dev": true,
"requires": {
"asn1": "~0.2.3",
@@ -11724,9 +13736,9 @@
}
},
"statuses": {
- "version": "1.3.1",
- "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.3.1.tgz",
- "integrity": "sha1-+vUbnrdKrvOzrPStX2Gr8ky3uT4=",
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz",
+ "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=",
"dev": true
},
"stdout-stream": {
@@ -11739,9 +13751,9 @@
}
},
"stream-browserify": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.1.tgz",
- "integrity": "sha1-ZiZu5fm9uZQKTkUUyvtDu3Hlyds=",
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.2.tgz",
+ "integrity": "sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg==",
"dev": true,
"requires": {
"inherits": "~2.0.1",
@@ -11778,15 +13790,15 @@
}
},
"stream-shift": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.0.tgz",
- "integrity": "sha1-1cdSgl5TZ+eG944Y5EXqIjoVWVI=",
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.1.tgz",
+ "integrity": "sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ==",
"dev": true
},
"stream-splicer": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/stream-splicer/-/stream-splicer-2.0.0.tgz",
- "integrity": "sha1-G2O+Q4oTPktnHMGTUZdgAXWRDYM=",
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/stream-splicer/-/stream-splicer-2.0.1.tgz",
+ "integrity": "sha512-Xizh4/NPuYSyAXyT7g8IvdJ9HJpxIGL9PjyhtywCZvvP0OPIdqyrr4dMikeuvY8xahpdKEBlBTySe583totajg==",
"dev": true,
"requires": {
"inherits": "^2.0.1",
@@ -11800,7 +13812,7 @@
"dev": true,
"requires": {
"commander": "^2.2.0",
- "limiter": "^1.0.7"
+ "limiter": "^1.0.5"
}
},
"strict-uri-encode": {
@@ -11831,7 +13843,7 @@
},
"strip-ansi": {
"version": "3.0.1",
- "resolved": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
"integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
"dev": true,
"requires": {
@@ -11859,7 +13871,7 @@
},
"strip-dirs": {
"version": "1.1.1",
- "resolved": "http://registry.npmjs.org/strip-dirs/-/strip-dirs-1.1.1.tgz",
+ "resolved": "https://registry.npmjs.org/strip-dirs/-/strip-dirs-1.1.1.tgz",
"integrity": "sha1-lgu9EoeETzl1pFWKoQOoJV4kVqA=",
"dev": true,
"requires": {
@@ -11871,6 +13883,25 @@
"sum-up": "^1.0.1"
},
"dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "dev": true
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/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"
+ }
+ },
"is-absolute": {
"version": "0.1.7",
"resolved": "https://registry.npmjs.org/is-absolute/-/is-absolute-0.1.7.tgz",
@@ -11885,6 +13916,12 @@
"resolved": "https://registry.npmjs.org/is-relative/-/is-relative-0.1.3.tgz",
"integrity": "sha1-kF/uiuhvRbPsYUvDwVyGnfCHboI=",
"dev": true
+ },
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "dev": true
}
}
},
@@ -11928,15 +13965,42 @@
"dev": true,
"requires": {
"chalk": "^1.0.0"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "dev": true
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/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"
+ }
+ },
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "dev": true
+ }
}
},
"supports-color": {
- "version": "3.2.3",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
- "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
"dev": true,
"requires": {
- "has-flag": "^1.0.0"
+ "has-flag": "^3.0.0"
}
},
"svgo": {
@@ -11972,13 +14036,13 @@
},
"minimist": {
"version": "0.0.8",
- "resolved": "http://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
"integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=",
"dev": true
},
"mkdirp": {
"version": "0.5.1",
- "resolved": "http://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
+ "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
"integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
"dev": true,
"requires": {
@@ -11997,6 +14061,12 @@
"upper-case": "^1.1.1"
}
},
+ "symbol-observable": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.0.1.tgz",
+ "integrity": "sha1-g0D8RwLDEi310iKI+IKD9RPT/dQ=",
+ "dev": true
+ },
"syntax-error": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/syntax-error/-/syntax-error-1.4.0.tgz",
@@ -12007,13 +14077,13 @@
}
},
"tar": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/tar/-/tar-2.2.1.tgz",
- "integrity": "sha1-jk0qJWwOIYXGsYrWlK7JaLg8sdE=",
+ "version": "2.2.2",
+ "resolved": "https://registry.npmjs.org/tar/-/tar-2.2.2.tgz",
+ "integrity": "sha512-FCEhQ/4rE1zYv9rYXJw/msRqsnmlje5jHP6huWeBZ704jUTy02c5AZyWujpMR1ax6mVw9NyJMfuK2CMDWVIfgA==",
"dev": true,
"requires": {
"block-stream": "*",
- "fstream": "^1.0.2",
+ "fstream": "^1.0.12",
"inherits": "2"
}
},
@@ -12033,9 +14103,9 @@
},
"dependencies": {
"end-of-stream": {
- "version": "1.4.1",
- "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz",
- "integrity": "sha512-1MkrZNvWTKCaigbn+W15elq2BB/L22nqrSY5DKlo3X6+vclJm8Bb5djXJBmEX6fS3+zCh/F4VBK5Z2KxJt4s2Q==",
+ "version": "1.4.4",
+ "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz",
+ "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==",
"dev": true,
"requires": {
"once": "^1.4.0"
@@ -12054,9 +14124,9 @@
}
},
"ternary-stream": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/ternary-stream/-/ternary-stream-2.0.1.tgz",
- "integrity": "sha1-Bk5Im0tb9gumpre8fy9cJ07Pgmk=",
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/ternary-stream/-/ternary-stream-2.1.1.tgz",
+ "integrity": "sha512-j6ei9hxSoyGlqTmoMjOm+QNvUKDOIY6bNl4Uh1lhBvl6yjPW2iLqxDUYyfDPZknQ4KdRziFl+ec99iT4l7g0cw==",
"dev": true,
"requires": {
"duplexify": "^3.5.0",
@@ -12079,21 +14149,48 @@
"requires": {
"chalk": "^1.1.1",
"object-path": "^0.9.0"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
+ "dev": true
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/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"
+ }
+ },
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
+ "dev": true
+ }
}
},
"through": {
"version": "2.3.8",
- "resolved": "http://registry.npmjs.org/through/-/through-2.3.8.tgz",
+ "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz",
"integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=",
"dev": true
},
"through2": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.3.tgz",
- "integrity": "sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=",
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz",
+ "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==",
"dev": true,
"requires": {
- "readable-stream": "^2.1.5",
+ "readable-stream": "~2.3.6",
"xtend": "~4.0.1"
}
},
@@ -12194,6 +14291,12 @@
"integrity": "sha512-lx9B5iv7msuFYE3dytT+KE5tap+rNYw+K4jVkb9R/asAb+pbBSM17jtunHplhBe6RRJdZx3Pn2Jph24O32mOVg==",
"dev": true
},
+ "to-fast-properties": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz",
+ "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=",
+ "dev": true
+ },
"to-object-path": {
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz",
@@ -12236,6 +14339,12 @@
}
}
},
+ "toidentifier": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz",
+ "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==",
+ "dev": true
+ },
"token-stream": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/token-stream/-/token-stream-0.0.1.tgz",
@@ -12243,11 +14352,12 @@
"dev": true
},
"tough-cookie": {
- "version": "2.3.4",
- "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.4.tgz",
- "integrity": "sha512-TZ6TTfI5NtZnuyy/Kecv+CnoROnyXn2DN97LontgQpCwsX2XyLYCC0ENhYkehSOwAp8rTQKc/NUIF7BkQ5rKLA==",
+ "version": "2.4.3",
+ "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz",
+ "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==",
"dev": true,
"requires": {
+ "psl": "^1.1.24",
"punycode": "^1.4.1"
}
},
@@ -12276,9 +14386,9 @@
},
"dependencies": {
"glob": {
- "version": "7.1.3",
- "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz",
- "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==",
+ "version": "7.1.6",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
+ "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==",
"dev": true,
"requires": {
"fs.realpath": "^1.0.0",
@@ -12322,8 +14432,13 @@
"version": "0.14.5",
"resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz",
"integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=",
- "dev": true,
- "optional": true
+ "dev": true
+ },
+ "type": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz",
+ "integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==",
+ "dev": true
},
"type-check": {
"version": "0.3.2",
@@ -12341,9 +14456,9 @@
"dev": true
},
"ua-parser-js": {
- "version": "0.7.18",
- "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.18.tgz",
- "integrity": "sha512-LtzwHlVHwFGTptfNSgezHp7WUlwiqb0gA9AALRbKaERfxwJoiX0A73QbTToxteIAuIaFshhgIZfqK8s7clqgnA==",
+ "version": "0.7.21",
+ "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.21.tgz",
+ "integrity": "sha512-+O8/qh/Qj8CgC6eYBVBykMrNtp5Gebn4dlGD/kKXVkJNDwyrAwSIqwz8CDf+tsAIWVycKcku6gIXJ0qwx/ZXaQ==",
"dev": true
},
"ucfirst": {
@@ -12353,30 +14468,14 @@
"dev": true
},
"uglify-js": {
- "version": "3.4.9",
- "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.4.9.tgz",
- "integrity": "sha512-8CJsbKOtEbnJsTyv6LE6m6ZKniqMiFWmm9sRbopbkGs3gMPPfd3Fh8iIA4Ykv5MgaTbqHr4BaoGLJLZNhsrW1Q==",
+ "version": "3.7.3",
+ "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.7.3.tgz",
+ "integrity": "sha512-7tINm46/3puUA4hCkKYo4Xdts+JDaVC9ZPRcG8Xw9R4nhO/gZgUM3TENq8IF4Vatk8qCig4MzP/c8G4u2BkVQg==",
"dev": true,
"optional": true,
"requires": {
- "commander": "~2.17.1",
+ "commander": "~2.20.3",
"source-map": "~0.6.1"
- },
- "dependencies": {
- "commander": {
- "version": "2.17.1",
- "resolved": "https://registry.npmjs.org/commander/-/commander-2.17.1.tgz",
- "integrity": "sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg==",
- "dev": true,
- "optional": true
- },
- "source-map": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
- "dev": true,
- "optional": true
- }
}
},
"uglify-save-license": {
@@ -12410,12 +14509,13 @@
"dev": true
},
"undeclared-identifiers": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/undeclared-identifiers/-/undeclared-identifiers-1.1.2.tgz",
- "integrity": "sha512-13EaeocO4edF/3JKime9rD7oB6QI8llAGhgn5fKOPyfkJbRb6NFv9pYV6dFEmpa4uRjKeBqLZP8GpuzqHlKDMQ==",
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/undeclared-identifiers/-/undeclared-identifiers-1.1.3.tgz",
+ "integrity": "sha512-pJOW4nxjlmfwKApE4zvxLScM/njmwj/DiUBv7EabwE4O8kRUy+HIwxQtZLBPll/jx1LJyBcqNfB3/cpv9EZwOw==",
"dev": true,
"requires": {
"acorn-node": "^1.3.0",
+ "dash-ast": "^1.0.0",
"get-assigned-identifiers": "^1.2.0",
"simple-concat": "^1.0.0",
"xtend": "^4.0.1"
@@ -12428,38 +14528,15 @@
"dev": true
},
"union-value": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.0.tgz",
- "integrity": "sha1-XHHDTLW61dzr4+oM0IIHulqhrqQ=",
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz",
+ "integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==",
"dev": true,
"requires": {
"arr-union": "^3.1.0",
"get-value": "^2.0.6",
"is-extendable": "^0.1.1",
- "set-value": "^0.4.3"
- },
- "dependencies": {
- "extend-shallow": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
- "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
- "dev": true,
- "requires": {
- "is-extendable": "^0.1.0"
- }
- },
- "set-value": {
- "version": "0.4.3",
- "resolved": "https://registry.npmjs.org/set-value/-/set-value-0.4.3.tgz",
- "integrity": "sha1-fbCPnT0i3H945Trzw79GZuzfzPE=",
- "dev": true,
- "requires": {
- "extend-shallow": "^2.0.1",
- "is-extendable": "^0.1.1",
- "is-plain-object": "^2.0.1",
- "to-object-path": "^0.3.0"
- }
- }
+ "set-value": "^2.0.1"
}
},
"uniq": {
@@ -12553,6 +14630,23 @@
"upper-case": "^1.1.1"
}
},
+ "uri-js": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz",
+ "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==",
+ "dev": true,
+ "requires": {
+ "punycode": "^2.1.0"
+ },
+ "dependencies": {
+ "punycode": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
+ "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==",
+ "dev": true
+ }
+ }
+ },
"urix": {
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz",
@@ -12620,6 +14714,14 @@
"dev": true,
"requires": {
"inherits": "2.0.3"
+ },
+ "dependencies": {
+ "inherits": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
+ "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=",
+ "dev": true
+ }
}
},
"util-deprecate": {
@@ -12642,7 +14744,7 @@
},
"uuid": {
"version": "2.0.3",
- "resolved": "http://registry.npmjs.org/uuid/-/uuid-2.0.3.tgz",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.3.tgz",
"integrity": "sha1-Z+LoY3lyFVMN/zGOW/nc6/1Hsho=",
"dev": true
},
@@ -12672,9 +14774,9 @@
}
},
"vendors": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/vendors/-/vendors-1.0.2.tgz",
- "integrity": "sha512-w/hry/368nO21AN9QljsaIhb9ZiZtZARoVH5f3CsFbawdLdayCgKRPup7CggujvySMxx0I91NOyxdVENohprLQ==",
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/vendors/-/vendors-1.0.3.tgz",
+ "integrity": "sha512-fOi47nsJP5Wqefa43kyWSg80qF+Q3XA6MUkgi7Hp1HQaKDQW4cQrK2D0P7mmbFtsV1N89am55Yru/nyEwRubcw==",
"dev": true
},
"verror": {
@@ -12750,12 +14852,12 @@
"dev": true
},
"graceful-fs": {
- "version": "3.0.11",
- "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-3.0.11.tgz",
- "integrity": "sha1-dhPHeKGv6mLyXGMKCG1/Osu92Bg=",
+ "version": "3.0.12",
+ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-3.0.12.tgz",
+ "integrity": "sha512-J55gaCS4iTTJfTXIxSVw3EMQckcqkpdRv3IR7gu6sq0+tbC363Zx6KH/SEwXASK9JRbhyZmVjJEVJIOxYsB3Qg==",
"dev": true,
"requires": {
- "natives": "^1.1.0"
+ "natives": "^1.1.3"
}
},
"isarray": {
@@ -12766,13 +14868,13 @@
},
"minimist": {
"version": "0.0.8",
- "resolved": "http://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
"integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=",
"dev": true
},
"mkdirp": {
"version": "0.5.1",
- "resolved": "http://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
+ "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
"integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
"dev": true,
"requires": {
@@ -12781,7 +14883,7 @@
},
"readable-stream": {
"version": "1.0.34",
- "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz",
"integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=",
"dev": true,
"requires": {
@@ -12864,6 +14966,14 @@
"dev": true,
"requires": {
"source-map": "^0.5.1"
+ },
+ "dependencies": {
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
+ }
}
},
"vm-browserify": {
@@ -12952,6 +15062,24 @@
"integrity": "sha1-VDjNLqk7IC76Ohn+iIeu58lPnJ0=",
"dev": true
},
+ "with": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/with/-/with-5.1.1.tgz",
+ "integrity": "sha1-+k2qktrzLE6pTtRTyB8EaGtXXf4=",
+ "dev": true,
+ "requires": {
+ "acorn": "^3.1.0",
+ "acorn-globals": "^3.0.0"
+ },
+ "dependencies": {
+ "acorn": {
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-3.3.0.tgz",
+ "integrity": "sha1-ReN/s56No/JbruP/U2niu18iAXo=",
+ "dev": true
+ }
+ }
+ },
"wordwrap": {
"version": "0.0.3",
"resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz",
@@ -12960,7 +15088,7 @@
},
"wrap-ansi": {
"version": "2.1.0",
- "resolved": "http://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz",
"integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=",
"dev": true,
"requires": {
@@ -13000,13 +15128,13 @@
"dependencies": {
"minimist": {
"version": "0.0.8",
- "resolved": "http://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
"integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=",
"dev": true
},
"mkdirp": {
"version": "0.5.1",
- "resolved": "http://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
+ "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
"integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
"dev": true,
"requires": {
@@ -13017,7 +15145,7 @@
},
"ws": {
"version": "1.0.1",
- "resolved": "http://registry.npmjs.org/ws/-/ws-1.0.1.tgz",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-1.0.1.tgz",
"integrity": "sha1-fQsqLljN3YGQOcKcneZQReGzEOk=",
"dev": true,
"requires": {
@@ -13044,9 +15172,9 @@
"dev": true
},
"xtend": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz",
- "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68=",
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz",
+ "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==",
"dev": true
},
"y18n": {
@@ -13063,7 +15191,7 @@
},
"yargs": {
"version": "6.6.0",
- "resolved": "http://registry.npmjs.org/yargs/-/yargs-6.6.0.tgz",
+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-6.6.0.tgz",
"integrity": "sha1-eC7CHvQDNF+DCoCMo9UTr1YGUgg=",
"dev": true,
"requires": {
diff --git a/package.json b/package.json
index 69390dc..ed4606f 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "time-input-polyfill",
- "description": "An accessible polyfill for ` ` elements modeled after the Chrome & Firefox desktop implementations.",
- "version": "1.0.8",
+ "description": "An accessible polyfill for `[input type='time']` elements modeled after the Chrome & Firefox desktop implementations.",
+ "version": "1.0.9",
"main": "index.js",
"jsdelivr": "dist/time-input-polyfill.auto.min.js",
"dependencies": {},
diff --git a/src/index.pug b/src/index.pug
index 1dbfb78..4c7817a 100644
--- a/src/index.pug
+++ b/src/index.pug
@@ -43,9 +43,9 @@ block content
+downloadMethod('Download via CDN:')
pre
- code <script src="https://cdn.jsdelivr.net/npm/time-input-polyfill@#{pkg.version}"></script>
+ code <script src="https://cdn.jsdelivr.net/npm/time-input-polyfill"></script>
p
- a(href=`https://cdn.jsdelivr.net/npm/time-input-polyfill@${pkg.version}`) https://cdn.jsdelivr.net/npm/time-input-polyfill@#{pkg.version}
+ a(href=`https://cdn.jsdelivr.net/npm/time-input-polyfill`) https://cdn.jsdelivr.net/npm/time-input-polyfill
+downloadMethod('View documentation:')
p: a(href='https://github.com/Dan503/time-input-polyfill#readme') https://github.com/Dan503/time-input-polyfill