ak-blanket
Advanced tools
Comparing version 3.0.7 to 3.0.8
@@ -1,6 +0,18 @@ | ||
<a name="3.0.7"></a> | ||
## 3.0.7 (2016-09-29) | ||
<a name="3.0.8"></a> | ||
## 3.0.8 (2016-10-10) | ||
<a name="ak-blanket@3.0.8"></a> | ||
## ak-blanket@3.0.8 (2016-10-10) | ||
### Bug Fixes | ||
* **docs:** Button docs fixes ([fe48030](https://bitbucket.org/atlassian/atlaskit/commits/fe48030)) | ||
* fix host selectors ([a51fdb4](https://bitbucket.org/atlassian/atlaskit/commits/a51fdb4)) | ||
* hosts styles fix - initial commit ([27f0218](https://bitbucket.org/atlassian/atlaskit/commits/27f0218)) | ||
<a name="ak-blanket@3.0.6"></a> | ||
@@ -7,0 +19,0 @@ ## ak-blanket@3.0.6 (2016-09-29) |
@@ -93,6 +93,3 @@ module.exports = /******/ | ||
"number" === type || "string" === type || "object" === type && child instanceof String ? _skatejs.vdom.text(child) : "function" === type && child.__jsxDOMWrapper ? child() : Array.isArray(child) ? child.forEach(_renderArbitrary) : "object" === type && "[object Object]" === String(child) && _forOwn(child, _renderArbitrary); | ||
}; | ||
/** @jsx vdom */ | ||
__webpack_require__(4); | ||
var _skatejs = __webpack_require__(8), _shadow = __webpack_require__(9), _shadow2 = _interopRequireDefault(_shadow), _classnames = __webpack_require__(10), _classnames2 = _interopRequireDefault(_classnames), _index = __webpack_require__(11), events = _interopRequireWildcard(_index); | ||
}, _skatejs = __webpack_require__(4), _shadow = __webpack_require__(5), _shadow2 = _interopRequireDefault(_shadow), _classnames = __webpack_require__(7), _classnames2 = _interopRequireDefault(_classnames), _index = __webpack_require__(8), events = _interopRequireWildcard(_index); | ||
/** | ||
@@ -149,10 +146,4 @@ * @description Create instances of the component programmatically, or using markup. | ||
/***/ | ||
function(module, exports, __webpack_require__) { | ||
// style-loader: Adds some css to the DOM by adding a <style> tag | ||
// load the styles | ||
var content = __webpack_require__(5); | ||
"string" == typeof content && (content = [ [ module.id, content, "" ] ]); | ||
// add the styles to the DOM | ||
__webpack_require__(7)(content, {}); | ||
content.locals && (module.exports = content.locals); | ||
function(module, exports) { | ||
module.exports = require("skatejs"); | ||
}, /* 5 */ | ||
@@ -163,7 +154,11 @@ /***/ | ||
// module | ||
exports.push([ module.id, "._1xMiJAodBrAKhL8WEHwdrW,ak-blanket{display:block}._1xMiJAodBrAKhL8WEHwdrW:not([defined]),ak-blanket:not([defined]){display:none}", "" ]), | ||
exports.push([ module.id, "._1W1Nqrropv0xHevXc01L9b{bottom:0;left:0;position:fixed;right:0;top:0}._2jkUido-eka0FjtgtzHfhf{background:#091e42;opacity:.5}._3VEYBf7FbiuSuQ4zaBNSF9,ak-blanket{display:block}._3VEYBf7FbiuSuQ4zaBNSF9:not([defined]),ak-blanket:not([defined]){display:none}:host{display:block}:host(:not([defined])){display:none}", "" ]), | ||
// exports | ||
exports.locals = { | ||
"ak-blanket": "_1xMiJAodBrAKhL8WEHwdrW", | ||
akBlanket: "_1xMiJAodBrAKhL8WEHwdrW" | ||
blanket: "_1W1Nqrropv0xHevXc01L9b", | ||
blanket: "_1W1Nqrropv0xHevXc01L9b", | ||
tinted: "_2jkUido-eka0FjtgtzHfhf", | ||
tinted: "_2jkUido-eka0FjtgtzHfhf", | ||
"ak-blanket": "_3VEYBf7FbiuSuQ4zaBNSF9", | ||
akBlanket: "_3VEYBf7FbiuSuQ4zaBNSF9" | ||
}; | ||
@@ -207,166 +202,5 @@ }, /* 6 */ | ||
/***/ | ||
function(module, exports, __webpack_require__) { | ||
function addStylesToDom(styles, options) { | ||
for (var i = 0; i < styles.length; i++) { | ||
var item = styles[i], domStyle = stylesInDom[item.id]; | ||
if (domStyle) { | ||
domStyle.refs++; | ||
for (var j = 0; j < domStyle.parts.length; j++) domStyle.parts[j](item.parts[j]); | ||
for (;j < item.parts.length; j++) domStyle.parts.push(addStyle(item.parts[j], options)); | ||
} else { | ||
for (var parts = [], j = 0; j < item.parts.length; j++) parts.push(addStyle(item.parts[j], options)); | ||
stylesInDom[item.id] = { | ||
id: item.id, | ||
refs: 1, | ||
parts: parts | ||
}; | ||
} | ||
} | ||
} | ||
function listToStyles(list) { | ||
for (var styles = [], newStyles = {}, i = 0; i < list.length; i++) { | ||
var item = list[i], id = item[0], css = item[1], media = item[2], sourceMap = item[3], part = { | ||
css: css, | ||
media: media, | ||
sourceMap: sourceMap | ||
}; | ||
newStyles[id] ? newStyles[id].parts.push(part) : styles.push(newStyles[id] = { | ||
id: id, | ||
parts: [ part ] | ||
}); | ||
} | ||
return styles; | ||
} | ||
function insertStyleElement(options, styleElement) { | ||
var head = getHeadElement(), lastStyleElementInsertedAtTop = styleElementsInsertedAtTop[styleElementsInsertedAtTop.length - 1]; | ||
if ("top" === options.insertAt) lastStyleElementInsertedAtTop ? lastStyleElementInsertedAtTop.nextSibling ? head.insertBefore(styleElement, lastStyleElementInsertedAtTop.nextSibling) : head.appendChild(styleElement) : head.insertBefore(styleElement, head.firstChild), | ||
styleElementsInsertedAtTop.push(styleElement); else { | ||
if ("bottom" !== options.insertAt) throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'."); | ||
head.appendChild(styleElement); | ||
} | ||
} | ||
function removeStyleElement(styleElement) { | ||
styleElement.parentNode.removeChild(styleElement); | ||
var idx = styleElementsInsertedAtTop.indexOf(styleElement); | ||
idx >= 0 && styleElementsInsertedAtTop.splice(idx, 1); | ||
} | ||
function createStyleElement(options) { | ||
var styleElement = document.createElement("style"); | ||
return styleElement.type = "text/css", insertStyleElement(options, styleElement), | ||
styleElement; | ||
} | ||
function createLinkElement(options) { | ||
var linkElement = document.createElement("link"); | ||
return linkElement.rel = "stylesheet", insertStyleElement(options, linkElement), | ||
linkElement; | ||
} | ||
function addStyle(obj, options) { | ||
var styleElement, update, remove; | ||
if (options.singleton) { | ||
var styleIndex = singletonCounter++; | ||
styleElement = singletonElement || (singletonElement = createStyleElement(options)), | ||
update = applyToSingletonTag.bind(null, styleElement, styleIndex, !1), remove = applyToSingletonTag.bind(null, styleElement, styleIndex, !0); | ||
} else obj.sourceMap && "function" == typeof URL && "function" == typeof URL.createObjectURL && "function" == typeof URL.revokeObjectURL && "function" == typeof Blob && "function" == typeof btoa ? (styleElement = createLinkElement(options), | ||
update = updateLink.bind(null, styleElement), remove = function() { | ||
removeStyleElement(styleElement), styleElement.href && URL.revokeObjectURL(styleElement.href); | ||
}) : (styleElement = createStyleElement(options), update = applyToTag.bind(null, styleElement), | ||
remove = function() { | ||
removeStyleElement(styleElement); | ||
}); | ||
return update(obj), function(newObj) { | ||
if (newObj) { | ||
if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap) return; | ||
update(obj = newObj); | ||
} else remove(); | ||
}; | ||
} | ||
function applyToSingletonTag(styleElement, index, remove, obj) { | ||
var css = remove ? "" : obj.css; | ||
if (styleElement.styleSheet) styleElement.styleSheet.cssText = replaceText(index, css); else { | ||
var cssNode = document.createTextNode(css), childNodes = styleElement.childNodes; | ||
childNodes[index] && styleElement.removeChild(childNodes[index]), childNodes.length ? styleElement.insertBefore(cssNode, childNodes[index]) : styleElement.appendChild(cssNode); | ||
} | ||
} | ||
function applyToTag(styleElement, obj) { | ||
var css = obj.css, media = obj.media; | ||
if (media && styleElement.setAttribute("media", media), styleElement.styleSheet) styleElement.styleSheet.cssText = css; else { | ||
for (;styleElement.firstChild; ) styleElement.removeChild(styleElement.firstChild); | ||
styleElement.appendChild(document.createTextNode(css)); | ||
} | ||
} | ||
function updateLink(linkElement, obj) { | ||
var css = obj.css, sourceMap = obj.sourceMap; | ||
sourceMap && (// http://stackoverflow.com/a/26603875 | ||
css += "\n/*# sourceMappingURL=data:application/json;base64," + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + " */"); | ||
var blob = new Blob([ css ], { | ||
type: "text/css" | ||
}), oldSrc = linkElement.href; | ||
linkElement.href = URL.createObjectURL(blob), oldSrc && URL.revokeObjectURL(oldSrc); | ||
} | ||
/* | ||
MIT License http://www.opensource.org/licenses/mit-license.php | ||
Author Tobias Koppers @sokra | ||
*/ | ||
var stylesInDom = {}, memoize = function(fn) { | ||
var memo; | ||
return function() { | ||
return "undefined" == typeof memo && (memo = fn.apply(this, arguments)), memo; | ||
}; | ||
}, isOldIE = memoize(function() { | ||
return /msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase()); | ||
}), getHeadElement = memoize(function() { | ||
return document.head || document.getElementsByTagName("head")[0]; | ||
}), singletonElement = null, singletonCounter = 0, styleElementsInsertedAtTop = []; | ||
module.exports = function(list, options) { | ||
options = options || {}, // Force single-tag solution on IE6-9, which has a hard limit on the # of <style> | ||
// tags it will allow on a page | ||
"undefined" == typeof options.singleton && (options.singleton = isOldIE()), // By default, add <style> tags to the bottom of <head>. | ||
"undefined" == typeof options.insertAt && (options.insertAt = "bottom"); | ||
var styles = listToStyles(list); | ||
return addStylesToDom(styles, options), function(newList) { | ||
for (var mayRemove = [], i = 0; i < styles.length; i++) { | ||
var item = styles[i], domStyle = stylesInDom[item.id]; | ||
domStyle.refs--, mayRemove.push(domStyle); | ||
} | ||
if (newList) { | ||
var newStyles = listToStyles(newList); | ||
addStylesToDom(newStyles, options); | ||
} | ||
for (var i = 0; i < mayRemove.length; i++) { | ||
var domStyle = mayRemove[i]; | ||
if (0 === domStyle.refs) { | ||
for (var j = 0; j < domStyle.parts.length; j++) domStyle.parts[j](); | ||
delete stylesInDom[domStyle.id]; | ||
} | ||
} | ||
}; | ||
}; | ||
var replaceText = function() { | ||
var textStore = []; | ||
return function(index, replacement) { | ||
return textStore[index] = replacement, textStore.filter(Boolean).join("\n"); | ||
}; | ||
}(); | ||
}, /* 8 */ | ||
/***/ | ||
function(module, exports) { | ||
module.exports = require("skatejs"); | ||
}, /* 9 */ | ||
/***/ | ||
function(module, exports, __webpack_require__) { | ||
exports = module.exports = __webpack_require__(6)(), // imports | ||
// module | ||
exports.push([ module.id, "._1W1Nqrropv0xHevXc01L9b{bottom:0;left:0;position:fixed;right:0;top:0}._2jkUido-eka0FjtgtzHfhf{background:#091e42;opacity:.5}", "" ]), | ||
// exports | ||
exports.locals = { | ||
blanket: "_1W1Nqrropv0xHevXc01L9b", | ||
blanket: "_1W1Nqrropv0xHevXc01L9b", | ||
tinted: "_2jkUido-eka0FjtgtzHfhf", | ||
tinted: "_2jkUido-eka0FjtgtzHfhf" | ||
}; | ||
}, /* 10 */ | ||
/***/ | ||
function(module, exports) { | ||
module.exports = require("classnames"); | ||
}, /* 11 */ | ||
}, /* 8 */ | ||
/***/ | ||
@@ -373,0 +207,0 @@ function(module, exports) { |
@@ -1,1 +0,1 @@ | ||
module.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function o(e){return e&&e.__esModule?e:{"default":e}}function i(e){return function(){e.clickable&&(0,c.emit)(e,m.activate)}}Object.defineProperty(t,"__esModule",{value:!0}),t.events=void 0;var a=n(3),s=o(a),l=Object.prototype.hasOwnProperty,u=function(e,t){for(var n in e)l.call(e,n)&&t(e[n],n)},f=function y(e){var t=typeof e;"number"===t||"string"===t||"object"===t&&e instanceof String?c.vdom.text(e):"function"===t&&e.__jsxDOMWrapper?e():Array.isArray(e)?e.forEach(y):"object"===t&&"[object Object]"===String(e)&&u(e,y)};n(4);var c=n(8),d=n(9),p=o(d),v=n(10),h=o(v),b=n(11),m=r(b);t["default"]=(0,c.define)("ak-blanket",{render:function(e){var t=(0,h["default"])([p["default"].locals.blanket,(0,s["default"])({},""+p["default"].locals.tinted,e.tinted)]);return c.vdom.elementOpen("div"),c.vdom.elementOpen("style"),f(p["default"].toString()),c.vdom.elementClose("style"),c.vdom.elementOpen("div",null,null,"onClick",i(e),"onTouch",i(e),"className",t),c.vdom.elementClose("div"),c.vdom.elementClose("div")},props:{tinted:c.prop["boolean"]({attribute:!0}),clickable:c.prop["boolean"]({attribute:!0})}}),t.events=m},,,function(e,t){e.exports=require("babel-runtime/helpers/defineProperty")},function(e,t,n){var r=n(5);"string"==typeof r&&(r=[[e.id,r,""]]),n(7)(r,{}),r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(6)(),t.push([e.id,"._1xMiJAodBrAKhL8WEHwdrW,ak-blanket{display:block}._1xMiJAodBrAKhL8WEHwdrW:not([defined]),ak-blanket:not([defined]){display:none}",""]),t.locals={"ak-blanket":"_1xMiJAodBrAKhL8WEHwdrW",akBlanket:"_1xMiJAodBrAKhL8WEHwdrW"}},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<t.length;o++){var a=t[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},function(e,t,n){function r(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=p[r.id];if(o){o.refs++;for(var i=0;i<o.parts.length;i++)o.parts[i](r.parts[i]);for(;i<r.parts.length;i++)o.parts.push(u(r.parts[i],t))}else{for(var a=[],i=0;i<r.parts.length;i++)a.push(u(r.parts[i],t));p[r.id]={id:r.id,refs:1,parts:a}}}}function o(e){for(var t=[],n={},r=0;r<e.length;r++){var o=e[r],i=o[0],a=o[1],s=o[2],l=o[3],u={css:a,media:s,sourceMap:l};n[i]?n[i].parts.push(u):t.push(n[i]={id:i,parts:[u]})}return t}function i(e,t){var n=b(),r=g[g.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),g.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(t)}}function a(e){e.parentNode.removeChild(e);var t=g.indexOf(e);t>=0&&g.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",i(e,t),t}function l(e){var t=document.createElement("link");return t.rel="stylesheet",i(e,t),t}function u(e,t){var n,r,o;if(t.singleton){var i=y++;n=m||(m=s(t)),r=f.bind(null,n,i,!1),o=f.bind(null,n,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(t),r=d.bind(null,n),o=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=c.bind(null,n),o=function(){a(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}function f(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=x(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function c(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function d(e,t){var n=t.css,r=t.sourceMap;r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var o=new Blob([n],{type:"text/css"}),i=e.href;e.href=URL.createObjectURL(o),i&&URL.revokeObjectURL(i)}var p={},v=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},h=v(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),b=v(function(){return document.head||document.getElementsByTagName("head")[0]}),m=null,y=0,g=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=h()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=o(e);return r(n,t),function(e){for(var i=[],a=0;a<n.length;a++){var s=n[a],l=p[s.id];l.refs--,i.push(l)}if(e){var u=o(e);r(u,t)}for(var a=0;a<i.length;a++){var l=i[a];if(0===l.refs){for(var f=0;f<l.parts.length;f++)l.parts[f]();delete p[l.id]}}}};var x=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e,t){e.exports=require("skatejs")},function(e,t,n){t=e.exports=n(6)(),t.push([e.id,"._1W1Nqrropv0xHevXc01L9b{bottom:0;left:0;position:fixed;right:0;top:0}._2jkUido-eka0FjtgtzHfhf{background:#091e42;opacity:.5}",""]),t.locals={blanket:"_1W1Nqrropv0xHevXc01L9b",blanket:"_1W1Nqrropv0xHevXc01L9b",tinted:"_2jkUido-eka0FjtgtzHfhf",tinted:"_2jkUido-eka0FjtgtzHfhf"}},function(e,t){e.exports=require("classnames")},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.activate="activate"}]); | ||
module.exports=function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function r(e){return e&&e.__esModule?e:{"default":e}}function i(e){return function(){e.clickable&&(0,d.emit)(e,m.activate)}}Object.defineProperty(t,"__esModule",{value:!0}),t.events=void 0;var a=n(3),l=r(a),u=Object.prototype.hasOwnProperty,f=function(e,t){for(var n in e)u.call(e,n)&&t(e[n],n)},s=function h(e){var t=typeof e;"number"===t||"string"===t||"object"===t&&e instanceof String?d.vdom.text(e):"function"===t&&e.__jsxDOMWrapper?e():Array.isArray(e)?e.forEach(h):"object"===t&&"[object Object]"===String(e)&&f(e,h)},d=n(4),c=n(5),p=r(c),v=n(7),b=r(v),k=n(8),m=o(k);t["default"]=(0,d.define)("ak-blanket",{render:function(e){var t=(0,b["default"])([p["default"].locals.blanket,(0,l["default"])({},""+p["default"].locals.tinted,e.tinted)]);return d.vdom.elementOpen("div"),d.vdom.elementOpen("style"),s(p["default"].toString()),d.vdom.elementClose("style"),d.vdom.elementOpen("div",null,null,"onClick",i(e),"onTouch",i(e),"className",t),d.vdom.elementClose("div"),d.vdom.elementClose("div")},props:{tinted:d.prop["boolean"]({attribute:!0}),clickable:d.prop["boolean"]({attribute:!0})}}),t.events=m},,,function(e,t){e.exports=require("babel-runtime/helpers/defineProperty")},function(e,t){e.exports=require("skatejs")},function(e,t,n){t=e.exports=n(6)(),t.push([e.id,"._1W1Nqrropv0xHevXc01L9b{bottom:0;left:0;position:fixed;right:0;top:0}._2jkUido-eka0FjtgtzHfhf{background:#091e42;opacity:.5}._3VEYBf7FbiuSuQ4zaBNSF9,ak-blanket{display:block}._3VEYBf7FbiuSuQ4zaBNSF9:not([defined]),ak-blanket:not([defined]){display:none}:host{display:block}:host(:not([defined])){display:none}",""]),t.locals={blanket:"_1W1Nqrropv0xHevXc01L9b",blanket:"_1W1Nqrropv0xHevXc01L9b",tinted:"_2jkUido-eka0FjtgtzHfhf",tinted:"_2jkUido-eka0FjtgtzHfhf","ak-blanket":"_3VEYBf7FbiuSuQ4zaBNSF9",akBlanket:"_3VEYBf7FbiuSuQ4zaBNSF9"}},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var o={},r=0;r<this.length;r++){var i=this[r][0];"number"==typeof i&&(o[i]=!0)}for(r=0;r<t.length;r++){var a=t[r];"number"==typeof a[0]&&o[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},function(e,t){e.exports=require("classnames")},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.activate="activate"}]); |
@@ -1,2 +0,2 @@ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.akBlanket=t():e.akBlanket=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function o(e){return e&&e.__esModule?e:{"default":e}}function i(e){return function(){e.clickable&&(0,s.emit)(e,b.activate)}}Object.defineProperty(t,"__esModule",{value:!0}),t.events=void 0;var u=n(3),a=o(u),c=Object.prototype.hasOwnProperty,f=function(e,t){for(var n in e)c.call(e,n)&&t(e[n],n)},l=function m(e){var t=typeof e;"number"===t||"string"===t||"object"===t&&e instanceof String?s.vdom.text(e):"function"===t&&e.__jsxDOMWrapper?e():Array.isArray(e)?e.forEach(m):"object"===t&&"[object Object]"===String(e)&&f(e,m)};n(22);var s=n(26),d=n(28),p=o(d),v=n(29),h=o(v),y=n(30),b=r(y);t["default"]=(0,s.define)("ak-blanket",{render:function(e){var t=(0,h["default"])([p["default"].locals.blanket,(0,a["default"])({},""+p["default"].locals.tinted,e.tinted)]);return s.vdom.elementOpen("div"),s.vdom.elementOpen("style"),l(p["default"].toString()),s.vdom.elementClose("style"),s.vdom.elementOpen("div",null,null,"onClick",i(e),"onTouch",i(e),"className",t),s.vdom.elementClose("div"),s.vdom.elementClose("div")},props:{tinted:s.prop["boolean"]({attribute:!0}),clickable:s.prop["boolean"]({attribute:!0})}}),t.events=b},,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=n(4),i=r(o);t["default"]=function(e,t,n){return t in e?(0,i["default"])(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){e.exports={"default":n(5),__esModule:!0}},function(e,t,n){n(6);var r=n(9).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(7);r(r.S+r.F*!n(17),"Object",{defineProperty:n(13).f})},function(e,t,n){var r=n(8),o=n(9),i=n(10),u=n(12),a="prototype",c=function(e,t,n){var f,l,s,d=e&c.F,p=e&c.G,v=e&c.S,h=e&c.P,y=e&c.B,b=e&c.W,m=p?o:o[t]||(o[t]={}),g=m[a],_=p?r:v?r[t]:(r[t]||{})[a];p&&(n=t);for(f in n)l=!d&&_&&void 0!==_[f],l&&f in m||(s=l?_[f]:n[f],m[f]=p&&"function"!=typeof _[f]?n[f]:y&&l?i(s,r):b&&_[f]==s?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[a]=e[a],t}(s):h&&"function"==typeof s?i(Function.call,s):s,h&&((m.virtual||(m.virtual={}))[f]=s,e&c.R&&g&&!g[f]&&u(g,f,s)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){var n=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(11);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(13),o=n(21);e.exports=n(17)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(14),o=n(16),i=n(20),u=Object.defineProperty;t.f=n(17)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return u(e,t,n)}catch(a){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(15);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(17)&&!n(18)(function(){return 7!=Object.defineProperty(n(19)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){e.exports=!n(18)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t,n){var r=n(15),o=n(8).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(15);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(23);"string"==typeof r&&(r=[[e.id,r,""]]),n(25)(r,{}),r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(24)(),t.push([e.id,"._1xMiJAodBrAKhL8WEHwdrW,ak-blanket{display:block}._1xMiJAodBrAKhL8WEHwdrW:not([defined]),ak-blanket:not([defined]){display:none}",""]),t.locals={"ak-blanket":"_1xMiJAodBrAKhL8WEHwdrW",akBlanket:"_1xMiJAodBrAKhL8WEHwdrW"}},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<t.length;o++){var u=t[o];"number"==typeof u[0]&&r[u[0]]||(n&&!u[2]?u[2]=n:n&&(u[2]="("+u[2]+") and ("+n+")"),e.push(u))}},e}},function(e,t,n){function r(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=p[r.id];if(o){o.refs++;for(var i=0;i<o.parts.length;i++)o.parts[i](r.parts[i]);for(;i<r.parts.length;i++)o.parts.push(f(r.parts[i],t))}else{for(var u=[],i=0;i<r.parts.length;i++)u.push(f(r.parts[i],t));p[r.id]={id:r.id,refs:1,parts:u}}}}function o(e){for(var t=[],n={},r=0;r<e.length;r++){var o=e[r],i=o[0],u=o[1],a=o[2],c=o[3],f={css:u,media:a,sourceMap:c};n[i]?n[i].parts.push(f):t.push(n[i]={id:i,parts:[f]})}return t}function i(e,t){var n=y(),r=g[g.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),g.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(t)}}function u(e){e.parentNode.removeChild(e);var t=g.indexOf(e);t>=0&&g.splice(t,1)}function a(e){var t=document.createElement("style");return t.type="text/css",i(e,t),t}function c(e){var t=document.createElement("link");return t.rel="stylesheet",i(e,t),t}function f(e,t){var n,r,o;if(t.singleton){var i=m++;n=b||(b=a(t)),r=l.bind(null,n,i,!1),o=l.bind(null,n,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=c(t),r=d.bind(null,n),o=function(){u(n),n.href&&URL.revokeObjectURL(n.href)}):(n=a(t),r=s.bind(null,n),o=function(){u(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}function l(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=_(t,o);else{var i=document.createTextNode(o),u=e.childNodes;u[t]&&e.removeChild(u[t]),u.length?e.insertBefore(i,u[t]):e.appendChild(i)}}function s(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function d(e,t){var n=t.css,r=t.sourceMap;r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var o=new Blob([n],{type:"text/css"}),i=e.href;e.href=URL.createObjectURL(o),i&&URL.revokeObjectURL(i)}var p={},v=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},h=v(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),y=v(function(){return document.head||document.getElementsByTagName("head")[0]}),b=null,m=0,g=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=h()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=o(e);return r(n,t),function(e){for(var i=[],u=0;u<n.length;u++){var a=n[u],c=p[a.id];c.refs--,i.push(c)}if(e){var f=o(e);r(f,t)}for(var u=0;u<i.length;u++){var c=i[u];if(0===c.refs){for(var l=0;l<c.parts.length;l++)c.parts[l]();delete p[c.id]}}}};var _=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e,t,n){!function(e,r){r(t,n(27))}(this,function(e,t){function n(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.unshift({},e),B.apply(void 0,n)}}function r(e,t){var n={};return Object.keys(t).forEach(function(r){n[r]=e[r],e[r]=t[r]}),n}function o(e,t){B(e,t)}function i(e,t,n){var r=e[ke];r||(r=e[ke]={});var o=r[t];o&&e.removeEventListener(t,o),n&&e.addEventListener(t,r[t]=n)}function u(e){return"function"==typeof e?e[G]||e:"slot"===e&&me?"content":e}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;Oe=[e,t,n]}function c(){var e=Pe.apply(void 0,ye(Oe));return Oe=null,e}function f(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:je;return function r(){for(var o=arguments.length,i=Array(o),f=0;f<o;f++)i[f]=arguments[f];if(i[0]=u(i[0]),xe=null,"function"==typeof i[0])return xe=i[0],n.apply(void 0,i);if(ge.length)ge[ge.length-1].push([r,i]);else{if(e===Ce){if(Ae)return++Ae;var l=e.apply(void 0,i);return l[_e]&&++Ae,l}if(e===t.elementClose){if(1===Ae&&t.skip(),Ae&&--Ae)return;var s=e.apply(void 0,i),d=s[Z];return delete s[Z],"function"==typeof d&&d(s),s}if(!Ae||e===a||e===c)return e.apply(void 0,i)}}}function l(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];xe?xe[we][t[0]]=t[1]:ge.length?ge[ge.length-1].push([l,t]):(Oe.push(t[0]),Oe.push(t[1]))}function s(e,t,n){for(var r={key:t,statics:n},o=arguments.length,i=Array(o>3?o-3:0),u=3;u<o;u++)i[u-3]=arguments[u];for(var a=0;a<i.length;a+=2)r[i[a]]=i[a+1];e[we]=r,ge.push([])}function d(e){var t=ge.pop(),n=e[we];delete e[we];var r=e(n,function(){return t.forEach(function(e){return e[0].apply(e,ye(e[1]))})});return"function"==typeof r?r():r}function p(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Pe.apply(void 0,[e].concat(n)),Le(e)}function v(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i="undefined"==typeof t?"undefined":se(t);return"function"!==i&&"string"!==i&&"number"!==i||(r=[t]),null!==t&&"object"===i||(t={}),Se(e,t.key,t.statics),delete t.key,delete t.statics,Object.keys(t).forEach(function(e){return l(e,t[e])}),Me(e),r.forEach(function(e){var t="undefined"==typeof e?"undefined":se(e);"function"===t?e():"string"!==t&&"number"!==t||Ne(e)}),Le(e)}function h(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return v.bind.apply(v,[null].concat(t))}:t.map(function(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return v.bind.apply(v,[null,e].concat(n))}})}function y(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.enumOnly,r=void 0===n||n,o=Object[r?"keys":"getOwnPropertyNames"](e);return"function"==typeof Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(e)):o}function b(e){var t=Re(e),n=t.readyCallbacks,r=e.constructor,o=r.created,i=r.observedAttributes,u=r.props;e[X]||(e[X]=!0,e[ee]=ze(r[Q]),u&&r[Y](e),o&&o(e),e.setAttribute("defined",""),n&&(n.forEach(function(t){return t(e)}),delete t.readyCallbacks),ue&&i.forEach(function(t){var n=Re(e,"attributeLinks")[t];n||e.attributeChangedCallback(t,null,e.getAttribute(t))}))}function m(e){var t=e.constructor,n=t.attached,r=t[Q];e[q]=!0,"function"==typeof r&&r(e),"function"==typeof n&&n(e)}function g(e){var t=e.constructor.detached;e[q]=!1,"function"==typeof t&&t(e)}function _(e){var t=HTMLElement.call(this,e);return b(t),t}function k(e){var t={};return y(e.constructor.props).forEach(function(n){t[n]=e[n]}),t}function w(e,t){B(e,t),e.constructor.render&&e.constructor[Q](e)}function x(e,t,n){return"function"==typeof n["default"]?n["default"](e,{name:t}):n["default"]}function O(e,t,n){return"function"==typeof n.initial?n.initial(e,{name:t}):n.initial}function A(e,t){var n="api/property/"+("symbol"===("undefined"==typeof t?"undefined":se(t))?String(t):t);return Re(e,n)}function j(e,t){var n={configurable:!0,enumerable:!0};return n.created=function(r){var o=A(r,e),i=t.attribute===!0?De(e):t.attribute,u=r[e],a=!1;Re(r,"attributeLinks")[i]=e,Re(r,"propertyLinks")[e]=i,V(u)&&(i&&r.hasAttribute(i)?u=t.deserialize(r.getAttribute(i)):"initial"in t?(u=O(r,e,t),a=!0):"default"in t&&(u=x(r,e,t))),a?n.set.call(r,u):o.internalValue=t.coerce?t.coerce(u):u},n.get=function(){var n=A(this,e),r=n.internalValue;return"function"==typeof t.get?t.get(this,{name:e,internalValue:r}):r},n.set=function(n){var r=A(this,e),o=r.oldValue,i=!1;V(o)&&(o=null),V(n)&&(n=x(this,e,t),i=!0),"function"==typeof t.coerce&&(n=t.coerce(n)),r.internalValue=n;var u={name:e,newValue:n,oldValue:o};"function"==typeof t.set&&t.set(this,u),this[$]||this[ee](this),r.oldValue=n;var a=Re(this,"propertyLinks")[e];if(a&&!r.settingAttribute){var c=t.serialize(n),f=this.getAttribute(a),l=V(c),s=!(l&&V(f)||c===f);r.syncingAttribute=!0,i||l?this.removeAttribute(a):this.setAttribute(a,c),!s&&r.syncingAttribute&&(r.syncingAttribute=!1)}r.settingAttribute=!1},n}function E(e){var t=e.props;return y(t).reduce(function(e,n){return e[n]=t[n],"function"!=typeof e[n]&&(e[n]=We(e[n])),e},{})}function C(e){var t=E(e);return y(t).reduce(function(e,n){return e[n]=t[n](n),e},{})}function S(e){var t=e.observedAttributes,n=e.props;n&&(y(n).forEach(function(e){var r=n[e],o=r.attribute;if(o){var i=r.attribute=o===!0?De(e):o;t.indexOf(i)===-1&&t.push(i)}}),Object.defineProperty(e,"observedAttributes",{configurable:!0,enumerable:!0,get:function(){return t}}))}function M(e){var t=C(e);return function(e){t&&y(t).forEach(function(n){var r=t[n];r.created(e),Object.defineProperty(e,n,r)})}}function P(e){var t="xxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0,n="x"===e?t:3&t|8;return n.toString(16)});return e+"-"+t}function L(e,t){t[G]=e,t[Y]=M(t),t[Q]=Ve(t)}function N(e,t){var n=void 0,r=void 0;try{L(e,t),n=document.registerElement(e,t)}catch(o){r=P(e),L(r,t),n=document.registerElement(r,t)}return n}function T(e,t){var n=e;return window.customElements.get(e)&&(n=P(e)),L(n,t),window.customElements.define(n,t,{"extends":t["extends"]}),t}function R(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.detail;delete t.detail;var r=void 0;return Ie?(r=new Ie(e,t),"undefined"!=typeof n&&Object.defineProperty(r,"detail",{value:n})):(r=document.createEvent("CustomEvent"),r.initCustomEvent(e,t.bubbles,t.cancelable,n)),r}function z(e){var t=e.type;return"checkbox"===t||"radio"===t?!!e.checked&&(e.value||!0):e.value}var U=Object.assign,B=U?U.bind(Object):function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.forEach(function(t){return Object.keys(t).forEach(function(n){return e[n]=t[n]})}),e},V=function(e){return"undefined"==typeof e||null===e},D=function(e){return isNaN(e)?void 0:Number(e)},W=function(e){return V(e)?void 0:String(e)},H=n({coerce:function(e){return Array.isArray(e)?e:[e]},"default":function(){return[]},deserialize:JSON.parse,serialize:JSON.stringify}),I=n({coerce:function(e){return!!e},"default":!1,deserialize:function(e){return!(null===e)},serialize:function(e){return e?"":void 0}}),F=n({"default":0,coerce:D,deserialize:D,serialize:D}),J=n({"default":"",coerce:W,deserialize:W,serialize:W}),K=Object.freeze({create:n,array:H,"boolean":I,number:F,string:J}),q="____skate_connected",X="____skate_created",G="____skate_name",Y="____skate_props",Z="____skate_ref",Q="____skate_renderer",$="____skate_rendering",ee="____skate_rendererDebounced",te="____skate_shadowRoot",ne=Object.freeze({name:G,shadowRoot:te}),re=document,oe=window,ie=re.createElement("div"),ue=!!re.registerElement,ae=!!oe.customElements,ce=!!ie.createShadowRoot,fe=!!ie.attachShadow,le=function(e,t){return function(n){return function(){var i=r(e,t),u=n.apply(void 0,arguments);return o(e,i),u}}},se="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},de=(function(){function e(e){this.value=e}function t(t){function n(e,t){return new Promise(function(n,o){var a={key:e,arg:t,resolve:n,reject:o,next:null};u?u=u.next=a:(i=u=a,r(e,t))})}function r(n,i){try{var u=t[n](i),a=u.value;a instanceof e?Promise.resolve(a.value).then(function(e){r("next",e)},function(e){r("throw",e)}):o(u.done?"return":"normal",u.value)}catch(c){o("throw",c)}}function o(e,t){switch(e){case"return":i.resolve({value:t,done:!0});break;case"throw":i.reject(t);break;default:i.resolve({value:t,done:!1})}i=i.next,i?r(i.key,i.arg):u=null}var i,u;this._invoke=n,"function"!=typeof t["return"]&&(this["return"]=void 0)}return"function"==typeof Symbol&&Symbol.asyncIterator&&(t.prototype[Symbol.asyncIterator]=function(){return this}),t.prototype.next=function(e){return this._invoke("next",e)},t.prototype["throw"]=function(e){return this._invoke("throw",e)},t.prototype["return"]=function(e){return this._invoke("return",e)},{wrap:function(e){return function(){return new t(e.apply(this,arguments))}},await:function(t){return new e(t)}}}(),function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}),pe=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},ve=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},he=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},ye=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)},be=t.attributes[t.symbols["default"]],me=!fe&&ce,ge=[],_e="__skip",ke="__events",we="__props",xe=void 0,Oe=void 0,Ae=0,je=function(){},Ee=le(t.attributes,pe({key:je,statics:je,checked:t.applyProp,className:t.applyProp,disabled:t.applyProp,value:t.applyProp,name:function(e,t,n){"CONTENT"===e.tagName&&(t="select",n='[slot="'+n+'"]'),be(e,t,n)},ref:function(e,t,n){e[Z]=n},skip:function(e,t,n){n?e[_e]=!0:delete e[_e]}},t.symbols["default"],function(e,n,r){var o=e.constructor.props;if(o&&n in o)return t.applyProp(e,n,r);if(r!==!1){if(0===n.indexOf("on")){var u=n[2],a=void 0;if("-"===u?a=n.substring(3):u===u.toUpperCase()&&(a=u.toLowerCase()+n.substring(3)),a)return void i(e,a,r)}return n in e&&!("ownerSVGElement"in e)?void t.applyProp(e,n,r):void be(e,n,r)}})),Ce=Ee(t.elementOpen),Se=f(a,s),Me=f(c),Pe=f(Ce,s),Le=f(t.elementClose,d),Ne=f(t.text),Te=Object.freeze({element:v,builder:h,attr:l,elementClose:Le,elementOpen:Pe,elementOpenEnd:Me,elementOpenStart:Se,elementVoid:p,text:Ne}),Re=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.__SKATE_DATA||(e.__SKATE_DATA={});return t&&(n[t]||(n[t]={}))||n},ze=function(e){var t=this,n=!1;return function(){for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];n||(n=!0,setTimeout(function(){n=!1,e.apply(t,o)}))}},Ue=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return y(e,{enumOnly:!1}).reduce(function(t,n){return t[n]=Object.getOwnPropertyDescriptor(e,n),t},{})};_.observedAttributes=[],_.props={},_.extend=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,n=function(e){function t(){return de(this,t),he(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return ve(t,e),t}(t);if(!n.observedAttributes){var r=Ue(t);delete r.length,delete r.prototype,Object.defineProperties(n,r)}var o=Ue(e),i=Ue(e.prototype);return delete o.prototype,Object.defineProperties(n,o),Object.defineProperties(n.prototype,i),n},_.updated=function(e,t){if(!t)return!0;for(var n=y(t),r=0;r<n.length;r+=1)if(t[n[r]]!==e[n[r]])return!0;return!1},_.prototype=Object.create(HTMLElement.prototype,{connectedCallback:{configurable:!0,value:function(){m(this)}},disconnectedCallback:{configurable:!0,value:function(){g(this)}},attributeChangedCallback:{configurable:!0,value:function(e,t,n){var r=this.constructor,o=r.attributeChanged,i=r.observedAttributes,u=Re(this,"attributeLinks")[e];if(!ue||i.indexOf(e)!==-1){if(u){var a=Re(this,"api/property/"+u);if(a.syncingAttribute)a.syncingAttribute=!1;else{var c=this.constructor.props[u];a.settingAttribute=!0,this[u]=null!==n&&c.deserialize?c.deserialize(n):n}}o&&o(this,{name:e,newValue:n,oldValue:t})}}},createdCallback:{configurable:!0,value:function(){b(this)}},attachedCallback:{configurable:!0,value:function(){m(this)}},detachedCallback:{configurable:!0,value:function(){g(this)}}});var Be=function(e,t){return"undefined"==typeof t?k(e):w(e,t)},Ve=function(e){var n=e.render,r=e.rendered,o=e.updated;return function(e){if(!e[$]&&e[q]){e[$]=!0;var i=!0;if(o){var u=e[Y];e[Y]=Be(e),i=o(e,u)}if(!n)return void(e[$]=!1);var a=e[te];a||(a=fe?e.attachShadow({mode:"open"}):ce?e.createShadowRoot():e,e[te]=a),i&&(t.patchInner(a,function(){var t=n(e);"function"==typeof t?t():Array.isArray(t)&&t.forEach(function(e){"function"==typeof e&&e()})}),r&&r(e)),e[$]=!1}}},De=function(e){return e.split(/([A-Z])/).reduce(function(e,t,n){var r=e&&n%2!==0?"-":"";return""+e+r+t.toLowerCase()})},We=function(e){return e=e||{},"function"==typeof e&&(e={coerce:e}),function(t){return j(t,B({"default":null,deserialize:function(e){return e},serialize:function(e){return e}},e))}},He=function(e,t){if(void 0===t)throw new Error("You have to define options to register a component "+e);var n="object"===("undefined"==typeof t?"undefined":se(t))?_.extend(t):t;if(S(n),ae)return T(e,n);if(ue)return N(e,n);throw new Error("Skate requires native custom element support or a polyfill.")},Ie=function(e){if(e)try{new e("emit-init")}catch(t){return}return e}(window.Event),Fe=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return void 0===n.bubbles&&(n.bubbles=!0),void 0===n.cancelable&&(n.cancelable=!0),void 0===n.composed&&(n.composed=!0),e.dispatchEvent(R(t,n))},Je=function(e,t){return function(n){var r=z(n.target),o=t||n.target.name||"value";if(o.indexOf(".")>-1){var i=o.split("."),u=i[0],a=i.pop(),c=i.reduce(function(e,t){return e&&e[t]},e);c[a||n.target.name]=r,Be(e,pe({},u,e[u]))}else Be(e,pe({},o,r))}},Ke=function(e,t){var n=Re(e);e[X]?t(e):n.readyCallbacks?n.readyCallbacks.push(t):n.readyCallbacks=[t]},qe=h();e.Component=_,e.define=He,e.emit=Fe,e.h=qe,e.link=Je,e.prop=K,e.props=Be,e.ready=Ke,e.symbols=ne,e.vdom=Te,Object.defineProperty(e,"__esModule",{value:!0})})},function(e,t,n){/** | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.akBlanket=t():e.akBlanket=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function o(e){return e&&e.__esModule?e:{"default":e}}function i(e){return function(){e.clickable&&(0,s.emit)(e,b.activate)}}Object.defineProperty(t,"__esModule",{value:!0}),t.events=void 0;var u=n(3),a=o(u),c=Object.prototype.hasOwnProperty,f=function(e,t){for(var n in e)c.call(e,n)&&t(e[n],n)},l=function m(e){var t=typeof e;"number"===t||"string"===t||"object"===t&&e instanceof String?s.vdom.text(e):"function"===t&&e.__jsxDOMWrapper?e():Array.isArray(e)?e.forEach(m):"object"===t&&"[object Object]"===String(e)&&f(e,m)},s=n(22),d=n(24),p=o(d),v=n(26),y=o(v),h=n(27),b=r(h);t["default"]=(0,s.define)("ak-blanket",{render:function(e){var t=(0,y["default"])([p["default"].locals.blanket,(0,a["default"])({},""+p["default"].locals.tinted,e.tinted)]);return s.vdom.elementOpen("div"),s.vdom.elementOpen("style"),l(p["default"].toString()),s.vdom.elementClose("style"),s.vdom.elementOpen("div",null,null,"onClick",i(e),"onTouch",i(e),"className",t),s.vdom.elementClose("div"),s.vdom.elementClose("div")},props:{tinted:s.prop["boolean"]({attribute:!0}),clickable:s.prop["boolean"]({attribute:!0})}}),t.events=b},,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=n(4),i=r(o);t["default"]=function(e,t,n){return t in e?(0,i["default"])(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){e.exports={"default":n(5),__esModule:!0}},function(e,t,n){n(6);var r=n(9).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(7);r(r.S+r.F*!n(17),"Object",{defineProperty:n(13).f})},function(e,t,n){var r=n(8),o=n(9),i=n(10),u=n(12),a="prototype",c=function(e,t,n){var f,l,s,d=e&c.F,p=e&c.G,v=e&c.S,y=e&c.P,h=e&c.B,b=e&c.W,m=p?o:o[t]||(o[t]={}),g=m[a],_=p?r:v?r[t]:(r[t]||{})[a];p&&(n=t);for(f in n)l=!d&&_&&void 0!==_[f],l&&f in m||(s=l?_[f]:n[f],m[f]=p&&"function"!=typeof _[f]?n[f]:h&&l?i(s,r):b&&_[f]==s?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[a]=e[a],t}(s):y&&"function"==typeof s?i(Function.call,s):s,y&&((m.virtual||(m.virtual={}))[f]=s,e&c.R&&g&&!g[f]&&u(g,f,s)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){var n=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(11);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(13),o=n(21);e.exports=n(17)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(14),o=n(16),i=n(20),u=Object.defineProperty;t.f=n(17)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return u(e,t,n)}catch(a){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(15);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(17)&&!n(18)(function(){return 7!=Object.defineProperty(n(19)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){e.exports=!n(18)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t,n){var r=n(15),o=n(8).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(15);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){!function(e,r){r(t,n(23))}(this,function(e,t){function n(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.unshift({},e),L.apply(void 0,n)}}function r(e,t){var n={};return Object.keys(t).forEach(function(r){n[r]=e[r],e[r]=t[r]}),n}function o(e,t){L(e,t)}function i(e,t,n){var r=e[ke];r||(r=e[ke]={});var o=r[t];o&&e.removeEventListener(t,o),n&&e.addEventListener(t,r[t]=n)}function u(e){return"function"==typeof e?e[G]||e:"slot"===e&&me?"content":e}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;Oe=[e,t,n]}function c(){var e=Me.apply(void 0,he(Oe));return Oe=null,e}function f(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ae;return function r(){for(var o=arguments.length,i=Array(o),f=0;f<o;f++)i[f]=arguments[f];if(i[0]=u(i[0]),xe=null,"function"==typeof i[0])return xe=i[0],n.apply(void 0,i);if(ge.length)ge[ge.length-1].push([r,i]);else{if(e===Se){if(je)return++je;var l=e.apply(void 0,i);return l[_e]&&++je,l}if(e===t.elementClose){if(1===je&&t.skip(),je&&--je)return;var s=e.apply(void 0,i),d=s[K];return delete s[K],"function"==typeof d&&d(s),s}if(!je||e===a||e===c)return e.apply(void 0,i)}}}function l(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];xe?xe[we][t[0]]=t[1]:ge.length?ge[ge.length-1].push([l,t]):(Oe.push(t[0]),Oe.push(t[1]))}function s(e,t,n){for(var r={key:t,statics:n},o=arguments.length,i=Array(o>3?o-3:0),u=3;u<o;u++)i[u-3]=arguments[u];for(var a=0;a<i.length;a+=2)r[i[a]]=i[a+1];e[we]=r,ge.push([])}function d(e){var t=ge.pop(),n=e[we];delete e[we];var r=e(n,function(){return t.forEach(function(e){return e[0].apply(e,he(e[1]))})});return"function"==typeof r?r():r}function p(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Me.apply(void 0,[e].concat(n)),Ne(e)}function v(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i="undefined"==typeof t?"undefined":se(t);return"function"!==i&&"string"!==i&&"number"!==i||(r=[t]),null!==t&&"object"===i||(t={}),Ce(e,t.key,t.statics),delete t.key,delete t.statics,Object.keys(t).forEach(function(e){return l(e,t[e])}),Pe(e),r.forEach(function(e){var t="undefined"==typeof e?"undefined":se(e);"function"===t?e():"string"!==t&&"number"!==t||ze(e)}),Ne(e)}function y(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return v.bind.apply(v,[null].concat(t))}:t.map(function(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return v.bind.apply(v,[null,e].concat(n))}})}function h(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.enumOnly,r=void 0===n||n,o=Object[r?"keys":"getOwnPropertyNames"](e);return"function"==typeof Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(e)):o}function b(e){var t=Te(e),n=t.readyCallbacks,r=e.constructor,o=r.created,i=r.observedAttributes,u=r.props;e[X]||(e[X]=!0,e[ee]=De(r[Z]),u&&r[J](e),o&&o(e),e.setAttribute("defined",""),n&&(n.forEach(function(t){return t(e)}),delete t.readyCallbacks),ue&&i.forEach(function(t){var n=Te(e,"attributeLinks")[t];n||e.attributeChangedCallback(t,null,e.getAttribute(t))}))}function m(e){var t=e.constructor,n=t.attached,r=t[Z];e[Q]=!0,"function"==typeof r&&r(e),"function"==typeof n&&n(e)}function g(e){var t=e.constructor.detached;e[Q]=!1,"function"==typeof t&&t(e)}function _(e){var t=HTMLElement.call(this,e);return b(t),t}function k(e){var t={};return h(e.constructor.props).forEach(function(n){t[n]=e[n]}),t}function w(e,t){L(e,t),e.constructor.render&&e.constructor[Z](e)}function x(e,t,n){return"function"==typeof n["default"]?n["default"](e,{name:t}):n["default"]}function O(e,t,n){return"function"==typeof n.initial?n.initial(e,{name:t}):n.initial}function j(e,t){var n="api/property/"+("symbol"===("undefined"==typeof t?"undefined":se(t))?String(t):t);return Te(e,n)}function A(e,t){var n={configurable:!0,enumerable:!0};return n.created=function(r){var o=j(r,e),i=t.attribute===!0?He(e):t.attribute,u=r[e],a=!1;Te(r,"attributeLinks")[i]=e,Te(r,"propertyLinks")[e]=i,B(u)&&(i&&r.hasAttribute(i)?u=t.deserialize(r.getAttribute(i)):"initial"in t?(u=O(r,e,t),a=!0):"default"in t&&(u=x(r,e,t))),a?n.set.call(r,u):o.internalValue=t.coerce?t.coerce(u):u},n.get=function(){var n=j(this,e),r=n.internalValue;return"function"==typeof t.get?t.get(this,{name:e,internalValue:r}):r},n.set=function(n){var r=j(this,e),o=r.oldValue,i=!1;B(o)&&(o=null),B(n)&&(n=x(this,e,t),i=!0),"function"==typeof t.coerce&&(n=t.coerce(n)),r.internalValue=n;var u={name:e,newValue:n,oldValue:o};"function"==typeof t.set&&t.set(this,u),this[$]||this[ee](this),r.oldValue=n;var a=Te(this,"propertyLinks")[e];if(a&&!r.settingAttribute){var c=t.serialize(n),f=this.getAttribute(a),l=B(c),s=!(l&&B(f)||c===f);r.syncingAttribute=!0,i||l?this.removeAttribute(a):this.setAttribute(a,c),!s&&r.syncingAttribute&&(r.syncingAttribute=!1)}r.settingAttribute=!1},n}function E(e){var t=e.props;return h(t).reduce(function(e,n){return e[n]=t[n],"function"!=typeof e[n]&&(e[n]=Re(e[n])),e},{})}function S(e){var t=E(e);return h(t).reduce(function(e,n){return e[n]=t[n](n),e},{})}function C(e){var t=e.observedAttributes,n=e.props;n&&(h(n).forEach(function(e){var r=n[e],o=r.attribute;if(o){var i=r.attribute=o===!0?He(e):o;t.indexOf(i)===-1&&t.push(i)}}),Object.defineProperty(e,"observedAttributes",{configurable:!0,enumerable:!0,get:function(){return t}}))}function P(e){var t=S(e);return function(e){t&&h(t).forEach(function(n){var r=t[n];r.created(e),Object.defineProperty(e,n,r)})}}function M(e){var t="xxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0,n="x"===e?t:3&t|8;return n.toString(16)});return e+"-"+t}function N(e,t){t[G]=e,t[J]=P(t),t[Z]=Be(t)}function z(e,t){var n=void 0,r=void 0;try{N(e,t),n=document.registerElement(e,t)}catch(o){r=M(e),N(r,t),n=document.registerElement(r,t)}return n}function V(e,t){var n=e;return window.customElements.get(e)&&(n=M(e)),N(n,t),window.customElements.define(n,t,{"extends":t["extends"]}),t}function T(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.detail;delete t.detail;var r=void 0;return Ue?(r=new Ue(e,t),"undefined"!=typeof n&&Object.defineProperty(r,"detail",{value:n})):(r=document.createEvent("CustomEvent"),r.initCustomEvent(e,t.bubbles,t.cancelable,n)),r}function D(e){var t=e.type;return"checkbox"===t||"radio"===t?!!e.checked&&(e.value||!0):e.value}var F=Object.assign,L=F?F.bind(Object):function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.forEach(function(t){return Object.keys(t).forEach(function(n){return e[n]=t[n]})}),e},B=function(e){return"undefined"==typeof e||null===e},H=function(e){return isNaN(e)?void 0:Number(e)},R=function(e){return B(e)?void 0:String(e)},I=n({coerce:function(e){return Array.isArray(e)?e:[e]},"default":function(){return[]},deserialize:JSON.parse,serialize:JSON.stringify}),U=n({coerce:function(e){return!!e},"default":!1,deserialize:function(e){return!(null===e)},serialize:function(e){return e?"":void 0}}),W=n({"default":0,coerce:H,deserialize:H,serialize:H}),Y=n({"default":"",coerce:R,deserialize:R,serialize:R}),q=Object.freeze({create:n,array:I,"boolean":U,number:W,string:Y}),Q="____skate_connected",X="____skate_created",G="____skate_name",J="____skate_props",K="____skate_ref",Z="____skate_renderer",$="____skate_rendering",ee="____skate_rendererDebounced",te="____skate_shadowRoot",ne=Object.freeze({name:G,shadowRoot:te}),re=document,oe=window,ie=re.createElement("div"),ue=!!re.registerElement,ae=!!oe.customElements,ce=!!ie.createShadowRoot,fe=!!ie.attachShadow,le=function(e,t){return function(n){return function(){var i=r(e,t),u=n.apply(void 0,arguments);return o(e,i),u}}},se="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},de=(function(){function e(e){this.value=e}function t(t){function n(e,t){return new Promise(function(n,o){var a={key:e,arg:t,resolve:n,reject:o,next:null};u?u=u.next=a:(i=u=a,r(e,t))})}function r(n,i){try{var u=t[n](i),a=u.value;a instanceof e?Promise.resolve(a.value).then(function(e){r("next",e)},function(e){r("throw",e)}):o(u.done?"return":"normal",u.value)}catch(c){o("throw",c)}}function o(e,t){switch(e){case"return":i.resolve({value:t,done:!0});break;case"throw":i.reject(t);break;default:i.resolve({value:t,done:!1})}i=i.next,i?r(i.key,i.arg):u=null}var i,u;this._invoke=n,"function"!=typeof t["return"]&&(this["return"]=void 0)}return"function"==typeof Symbol&&Symbol.asyncIterator&&(t.prototype[Symbol.asyncIterator]=function(){return this}),t.prototype.next=function(e){return this._invoke("next",e)},t.prototype["throw"]=function(e){return this._invoke("throw",e)},t.prototype["return"]=function(e){return this._invoke("return",e)},{wrap:function(e){return function(){return new t(e.apply(this,arguments))}},await:function(t){return new e(t)}}}(),function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}),pe=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},ve=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},ye=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},he=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)},be=t.attributes[t.symbols["default"]],me=!fe&&ce,ge=[],_e="__skip",ke="__events",we="__props",xe=void 0,Oe=void 0,je=0,Ae=function(){},Ee=le(t.attributes,pe({key:Ae,statics:Ae,checked:t.applyProp,className:t.applyProp,disabled:t.applyProp,value:t.applyProp,name:function(e,t,n){"CONTENT"===e.tagName&&(t="select",n='[slot="'+n+'"]'),be(e,t,n)},ref:function(e,t,n){e[K]=n},skip:function(e,t,n){n?e[_e]=!0:delete e[_e]}},t.symbols["default"],function(e,n,r){var o=e.constructor.props;if(o&&n in o)return t.applyProp(e,n,r);if(r!==!1){if(0===n.indexOf("on")){var u=n[2],a=void 0;if("-"===u?a=n.substring(3):u===u.toUpperCase()&&(a=u.toLowerCase()+n.substring(3)),a)return void i(e,a,r)}return n in e&&!("ownerSVGElement"in e)?void t.applyProp(e,n,r):void be(e,n,r)}})),Se=Ee(t.elementOpen),Ce=f(a,s),Pe=f(c),Me=f(Se,s),Ne=f(t.elementClose,d),ze=f(t.text),Ve=Object.freeze({element:v,builder:y,attr:l,elementClose:Ne,elementOpen:Me,elementOpenEnd:Pe,elementOpenStart:Ce,elementVoid:p,text:ze}),Te=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.__SKATE_DATA||(e.__SKATE_DATA={});return t&&(n[t]||(n[t]={}))||n},De=function(e){var t=this,n=!1;return function(){for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];n||(n=!0,setTimeout(function(){n=!1,e.apply(t,o)}))}},Fe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return h(e,{enumOnly:!1}).reduce(function(t,n){return t[n]=Object.getOwnPropertyDescriptor(e,n),t},{})};_.observedAttributes=[],_.props={},_.extend=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,n=function(e){function t(){return de(this,t),ye(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return ve(t,e),t}(t);if(!n.observedAttributes){var r=Fe(t);delete r.length,delete r.prototype,Object.defineProperties(n,r)}var o=Fe(e),i=Fe(e.prototype);return delete o.prototype,Object.defineProperties(n,o),Object.defineProperties(n.prototype,i),n},_.updated=function(e,t){if(!t)return!0;for(var n=h(t),r=0;r<n.length;r+=1)if(t[n[r]]!==e[n[r]])return!0;return!1},_.prototype=Object.create(HTMLElement.prototype,{connectedCallback:{configurable:!0,value:function(){m(this)}},disconnectedCallback:{configurable:!0,value:function(){g(this)}},attributeChangedCallback:{configurable:!0,value:function(e,t,n){var r=this.constructor,o=r.attributeChanged,i=r.observedAttributes,u=Te(this,"attributeLinks")[e];if(!ue||i.indexOf(e)!==-1){if(u){var a=Te(this,"api/property/"+u);if(a.syncingAttribute)a.syncingAttribute=!1;else{var c=this.constructor.props[u];a.settingAttribute=!0,this[u]=null!==n&&c.deserialize?c.deserialize(n):n}}o&&o(this,{name:e,newValue:n,oldValue:t})}}},createdCallback:{configurable:!0,value:function(){b(this)}},attachedCallback:{configurable:!0,value:function(){m(this)}},detachedCallback:{configurable:!0,value:function(){g(this)}}});var Le=function(e,t){return"undefined"==typeof t?k(e):w(e,t)},Be=function(e){var n=e.render,r=e.rendered,o=e.updated;return function(e){if(!e[$]&&e[Q]){e[$]=!0;var i=!0;if(o){var u=e[J];e[J]=Le(e),i=o(e,u)}if(!n)return void(e[$]=!1);var a=e[te];a||(a=fe?e.attachShadow({mode:"open"}):ce?e.createShadowRoot():e,e[te]=a),i&&(t.patchInner(a,function(){var t=n(e);"function"==typeof t?t():Array.isArray(t)&&t.forEach(function(e){"function"==typeof e&&e()})}),r&&r(e)),e[$]=!1}}},He=function(e){return e.split(/([A-Z])/).reduce(function(e,t,n){var r=e&&n%2!==0?"-":"";return""+e+r+t.toLowerCase()})},Re=function(e){return e=e||{},"function"==typeof e&&(e={coerce:e}),function(t){return A(t,L({"default":null,deserialize:function(e){return e},serialize:function(e){return e}},e))}},Ie=function(e,t){if(void 0===t)throw new Error("You have to define options to register a component "+e);var n="object"===("undefined"==typeof t?"undefined":se(t))?_.extend(t):t;if(C(n),ae)return V(e,n);if(ue)return z(e,n);throw new Error("Skate requires native custom element support or a polyfill.")},Ue=function(e){if(e)try{new e("emit-init")}catch(t){return}return e}(window.Event),We=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return void 0===n.bubbles&&(n.bubbles=!0),void 0===n.cancelable&&(n.cancelable=!0),void 0===n.composed&&(n.composed=!0),e.dispatchEvent(T(t,n))},Ye=function(e,t){return function(n){var r=D(n.target),o=t||n.target.name||"value";if(o.indexOf(".")>-1){var i=o.split("."),u=i[0],a=i.pop(),c=i.reduce(function(e,t){return e&&e[t]},e);c[a||n.target.name]=r,Le(e,pe({},u,e[u]))}else Le(e,pe({},o,r))}},qe=function(e,t){var n=Te(e);e[X]?t(e):n.readyCallbacks?n.readyCallbacks.push(t):n.readyCallbacks=[t]},Qe=y();e.Component=_,e.define=Ie,e.emit=We,e.h=Qe,e.link=Ye,e.prop=q,e.props=Le,e.ready=qe,e.symbols=ne,e.vdom=Ve,Object.defineProperty(e,"__esModule",{value:!0})})},function(e,t,n){/** | ||
* @license | ||
@@ -17,3 +17,3 @@ * Copyright 2015 The Incremental DOM Authors. All Rights Reserved. | ||
*/ | ||
"use strict";function r(e,t){this.attrs=c(),this.attrsArr=[],this.newAttrs=c(),this.key=t,this.keyMap=null,this.keyMapValid=!0,this.nodeName=e,this.text=null}function o(){this.created=j.nodesCreated&&[],this.deleted=j.nodesDeleted&&[]}var i=Object.prototype.hasOwnProperty,u=Object.create,a=function(e,t){return i.call(e,t)},c=function(){return u(null)},f=function(e,t,n){var o=new r(t,n);return e.__incrementalDOMData=o,o},l=function(e){var t=e.__incrementalDOMData;if(!t){var n=e.nodeName.toLowerCase(),r=null;e instanceof Element&&(r=e.getAttribute("key")),t=f(e,n,r)}return t},s={"default":"__default",placeholder:"__placeholder"},d=function(e){return 0===e.lastIndexOf("xml:",0)?"http://www.w3.org/XML/1998/namespace":0===e.lastIndexOf("xlink:",0)?"http://www.w3.org/1999/xlink":void 0},p=function(e,t,n){if(null==n)e.removeAttribute(t);else{var r=d(t);r?e.setAttributeNS(r,t,n):e.setAttribute(t,n)}},v=function(e,t,n){e[t]=n},h=function(e,t,n){if("string"==typeof n)e.style.cssText=n;else{e.style.cssText="";var r=e.style,o=n;for(var i in o)a(o,i)&&(r[i]=o[i])}},y=function(e,t,n){var r=typeof n;"object"===r||"function"===r?v(e,t,n):p(e,t,n)},b=function(e,t,n){var r=l(e),o=r.attrs;if(o[t]!==n){var i=m[t]||m[s["default"]];i(e,t,n),o[t]=n}},m=c();m[s["default"]]=y,m[s.placeholder]=function(){},m.style=h;var g=function(e,t){return"svg"===e?"http://www.w3.org/2000/svg":"foreignObject"===l(t).nodeName?null:t.namespaceURI},_=function(e,t,n,r,o){var i=g(n,t),u=void 0;if(u=i?e.createElementNS(i,n):e.createElement(n),f(u,n,r),o)for(var a=0;a<o.length;a+=2)b(u,o[a],o[a+1]);return u},k=function(e){var t=e.createTextNode("");return f(t,"#text",null),t},w=function(e){for(var t=c(),n=e.firstElementChild;n;){var r=l(n).key;r&&(t[r]=n),n=n.nextElementSibling}return t},x=function(e){var t=l(e);return t.keyMap||(t.keyMap=w(e)),t.keyMap},O=function(e,t){return t?x(e)[t]:null},A=function(e,t,n){x(e)[t]=n},j={nodesCreated:null,nodesDeleted:null};o.prototype.markCreated=function(e){this.created&&this.created.push(e)},o.prototype.markDeleted=function(e){this.deleted&&this.deleted.push(e)},o.prototype.notifyChanges=function(){this.created&&this.created.length>0&&j.nodesCreated(this.created),this.deleted&&this.deleted.length>0&&j.nodesDeleted(this.deleted)};var E=null,C=null,S=null,M=null,P=null,L=function(e){var t=function(t,n,r){var i=E,u=M,a=P,c=C,f=S;E=new o,M=t,P=t.ownerDocument,S=t.parentNode,e(t,n,r),E.notifyChanges(),E=i,M=u,P=a,C=c,S=f};return t},N=L(function(e,t,n){C=e,B(),t(n),D()}),T=L(function(e,t,n){C={nextSibling:e},t(n)}),R=function(e,t){var n=l(C);return e===n.nodeName&&t==n.key},z=function(e,t,n){if(!C||!R(e,t)){var r=void 0;t&&(r=O(S,t)),r||(r="#text"===e?k(P):_(P,S,e,t,n),t&&A(S,t,r),E.markCreated(r)),C&&l(C).key?(S.replaceChild(r,C),l(S).keyMapValid=!1):S.insertBefore(r,C),C=r}},U=function(){var e=S,t=l(e),n=t.keyMap,r=t.keyMapValid,o=e.lastChild,i=void 0;if(!(o===C&&r||t.attrs[s.placeholder]&&e!==M)){for(;o!==C;)e.removeChild(o),E.markDeleted(o),i=l(o).key,i&&delete n[i],o=e.lastChild;if(!r){for(i in n)o=n[i],o.parentNode!==e&&(E.markDeleted(o),delete n[i]);t.keyMapValid=!0}}},B=function(){S=C,C=null},V=function(){C=C?C.nextSibling:S.firstChild},D=function(){U(),C=S,S=S.parentNode},W=function(e,t,n){return V(),z(e,t,n),B(),S},H=function(){return D(),C},I=function(){return V(),z("#text",null,null),C},F=function(){return S},J=function(){C=S.lastChild},K=3,q=[],X=function(e,t,n,r){for(var o=W(e,t,n),i=l(o),u=i.attrsArr,a=i.newAttrs,c=!1,f=K,s=0;f<arguments.length;f+=1,s+=1)if(u[s]!==arguments[f]){c=!0;break}for(;f<arguments.length;f+=1,s+=1)u[s]=arguments[f];if(s<u.length&&(c=!0,u.length=s),c){for(f=K;f<arguments.length;f+=2)a[arguments[f]]=arguments[f+1];for(var d in a)b(o,d,a[d]),a[d]=void 0}return o},G=function(e,t,n){q[0]=e,q[1]=t,q[2]=n},Y=function(e,t){q.push(e,t)},Z=function(){var e=X.apply(null,q);return q.length=0,e},Q=function(e){var t=H();return t},$=function(e,t,n,r){return X.apply(null,arguments),Q(e)},ee=function(e,t,n,r){return X.apply(null,arguments),J(),Q(e)},te=function(e,t){var n=I(),r=l(n);if(r.text!==e){r.text=e;for(var o=e,i=1;i<arguments.length;i+=1){var u=arguments[i];o=u(o)}n.data=o}return n};t.patch=N,t.patchInner=N,t.patchOuter=T,t.currentElement=F,t.skip=J,t.elementVoid=$,t.elementOpenStart=G,t.elementOpenEnd=Z,t.elementOpen=X,t.elementClose=Q,t.elementPlaceholder=ee,t.text=te,t.attr=Y,t.symbols=s,t.attributes=m,t.applyAttr=p,t.applyProp=v,t.notifications=j},function(e,t,n){t=e.exports=n(24)(),t.push([e.id,"._1W1Nqrropv0xHevXc01L9b{bottom:0;left:0;position:fixed;right:0;top:0}._2jkUido-eka0FjtgtzHfhf{background:#091e42;opacity:.5}",""]),t.locals={blanket:"_1W1Nqrropv0xHevXc01L9b",blanket:"_1W1Nqrropv0xHevXc01L9b",tinted:"_2jkUido-eka0FjtgtzHfhf",tinted:"_2jkUido-eka0FjtgtzHfhf"}},function(e,t,n){var r,o;/*! | ||
"use strict";function r(e,t){this.attrs=c(),this.attrsArr=[],this.newAttrs=c(),this.key=t,this.keyMap=null,this.keyMapValid=!0,this.nodeName=e,this.text=null}function o(){this.created=A.nodesCreated&&[],this.deleted=A.nodesDeleted&&[]}var i=Object.prototype.hasOwnProperty,u=Object.create,a=function(e,t){return i.call(e,t)},c=function(){return u(null)},f=function(e,t,n){var o=new r(t,n);return e.__incrementalDOMData=o,o},l=function(e){var t=e.__incrementalDOMData;if(!t){var n=e.nodeName.toLowerCase(),r=null;e instanceof Element&&(r=e.getAttribute("key")),t=f(e,n,r)}return t},s={"default":"__default",placeholder:"__placeholder"},d=function(e){return 0===e.lastIndexOf("xml:",0)?"http://www.w3.org/XML/1998/namespace":0===e.lastIndexOf("xlink:",0)?"http://www.w3.org/1999/xlink":void 0},p=function(e,t,n){if(null==n)e.removeAttribute(t);else{var r=d(t);r?e.setAttributeNS(r,t,n):e.setAttribute(t,n)}},v=function(e,t,n){e[t]=n},y=function(e,t,n){if("string"==typeof n)e.style.cssText=n;else{e.style.cssText="";var r=e.style,o=n;for(var i in o)a(o,i)&&(r[i]=o[i])}},h=function(e,t,n){var r=typeof n;"object"===r||"function"===r?v(e,t,n):p(e,t,n)},b=function(e,t,n){var r=l(e),o=r.attrs;if(o[t]!==n){var i=m[t]||m[s["default"]];i(e,t,n),o[t]=n}},m=c();m[s["default"]]=h,m[s.placeholder]=function(){},m.style=y;var g=function(e,t){return"svg"===e?"http://www.w3.org/2000/svg":"foreignObject"===l(t).nodeName?null:t.namespaceURI},_=function(e,t,n,r,o){var i=g(n,t),u=void 0;if(u=i?e.createElementNS(i,n):e.createElement(n),f(u,n,r),o)for(var a=0;a<o.length;a+=2)b(u,o[a],o[a+1]);return u},k=function(e){var t=e.createTextNode("");return f(t,"#text",null),t},w=function(e){for(var t=c(),n=e.firstElementChild;n;){var r=l(n).key;r&&(t[r]=n),n=n.nextElementSibling}return t},x=function(e){var t=l(e);return t.keyMap||(t.keyMap=w(e)),t.keyMap},O=function(e,t){return t?x(e)[t]:null},j=function(e,t,n){x(e)[t]=n},A={nodesCreated:null,nodesDeleted:null};o.prototype.markCreated=function(e){this.created&&this.created.push(e)},o.prototype.markDeleted=function(e){this.deleted&&this.deleted.push(e)},o.prototype.notifyChanges=function(){this.created&&this.created.length>0&&A.nodesCreated(this.created),this.deleted&&this.deleted.length>0&&A.nodesDeleted(this.deleted)};var E=null,S=null,C=null,P=null,M=null,N=function(e){var t=function(t,n,r){var i=E,u=P,a=M,c=S,f=C;E=new o,P=t,M=t.ownerDocument,C=t.parentNode,e(t,n,r),E.notifyChanges(),E=i,P=u,M=a,S=c,C=f};return t},z=N(function(e,t,n){S=e,L(),t(n),H()}),V=N(function(e,t,n){S={nextSibling:e},t(n)}),T=function(e,t){var n=l(S);return e===n.nodeName&&t==n.key},D=function(e,t,n){if(!S||!T(e,t)){var r=void 0;t&&(r=O(C,t)),r||(r="#text"===e?k(M):_(M,C,e,t,n),t&&j(C,t,r),E.markCreated(r)),S&&l(S).key?(C.replaceChild(r,S),l(C).keyMapValid=!1):C.insertBefore(r,S),S=r}},F=function(){var e=C,t=l(e),n=t.keyMap,r=t.keyMapValid,o=e.lastChild,i=void 0;if(!(o===S&&r||t.attrs[s.placeholder]&&e!==P)){for(;o!==S;)e.removeChild(o),E.markDeleted(o),i=l(o).key,i&&delete n[i],o=e.lastChild;if(!r){for(i in n)o=n[i],o.parentNode!==e&&(E.markDeleted(o),delete n[i]);t.keyMapValid=!0}}},L=function(){C=S,S=null},B=function(){S=S?S.nextSibling:C.firstChild},H=function(){F(),S=C,C=C.parentNode},R=function(e,t,n){return B(),D(e,t,n),L(),C},I=function(){return H(),S},U=function(){return B(),D("#text",null,null),S},W=function(){return C},Y=function(){S=C.lastChild},q=3,Q=[],X=function(e,t,n,r){for(var o=R(e,t,n),i=l(o),u=i.attrsArr,a=i.newAttrs,c=!1,f=q,s=0;f<arguments.length;f+=1,s+=1)if(u[s]!==arguments[f]){c=!0;break}for(;f<arguments.length;f+=1,s+=1)u[s]=arguments[f];if(s<u.length&&(c=!0,u.length=s),c){for(f=q;f<arguments.length;f+=2)a[arguments[f]]=arguments[f+1];for(var d in a)b(o,d,a[d]),a[d]=void 0}return o},G=function(e,t,n){Q[0]=e,Q[1]=t,Q[2]=n},J=function(e,t){Q.push(e,t)},K=function(){var e=X.apply(null,Q);return Q.length=0,e},Z=function(e){var t=I();return t},$=function(e,t,n,r){return X.apply(null,arguments),Z(e)},ee=function(e,t,n,r){return X.apply(null,arguments),Y(),Z(e)},te=function(e,t){var n=U(),r=l(n);if(r.text!==e){r.text=e;for(var o=e,i=1;i<arguments.length;i+=1){var u=arguments[i];o=u(o)}n.data=o}return n};t.patch=z,t.patchInner=z,t.patchOuter=V,t.currentElement=W,t.skip=Y,t.elementVoid=$,t.elementOpenStart=G,t.elementOpenEnd=K,t.elementOpen=X,t.elementClose=Z,t.elementPlaceholder=ee,t.text=te,t.attr=J,t.symbols=s,t.attributes=m,t.applyAttr=p,t.applyProp=v,t.notifications=A},function(e,t,n){t=e.exports=n(25)(),t.push([e.id,"._1W1Nqrropv0xHevXc01L9b{bottom:0;left:0;position:fixed;right:0;top:0}._2jkUido-eka0FjtgtzHfhf{background:#091e42;opacity:.5}._3VEYBf7FbiuSuQ4zaBNSF9,ak-blanket{display:block}._3VEYBf7FbiuSuQ4zaBNSF9:not([defined]),ak-blanket:not([defined]){display:none}:host{display:block}:host(:not([defined])){display:none}",""]),t.locals={blanket:"_1W1Nqrropv0xHevXc01L9b",blanket:"_1W1Nqrropv0xHevXc01L9b",tinted:"_2jkUido-eka0FjtgtzHfhf",tinted:"_2jkUido-eka0FjtgtzHfhf","ak-blanket":"_3VEYBf7FbiuSuQ4zaBNSF9",akBlanket:"_3VEYBf7FbiuSuQ4zaBNSF9"}},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<t.length;o++){var u=t[o];"number"==typeof u[0]&&r[u[0]]||(n&&!u[2]?u[2]=n:n&&(u[2]="("+u[2]+") and ("+n+")"),e.push(u))}},e}},function(e,t,n){var r,o;/*! | ||
Copyright (c) 2016 Jed Watson. | ||
@@ -20,0 +20,0 @@ Licensed under the MIT License (MIT), see |
!function(root, factory) { | ||
"object" == typeof exports && "object" == typeof module ? module.exports = factory(require("babel-runtime/helpers/defineProperty"), require("skatejs"), require("classnames")) : "function" == typeof define && define.amd ? define([ "babel-runtime/helpers/defineProperty", "skatejs", "classnames" ], factory) : "object" == typeof exports ? exports.akBlanket = factory(require("babel-runtime/helpers/defineProperty"), require("skatejs"), require("classnames")) : root.akBlanket = factory(root["babel-runtime/helpers/defineProperty"], root.skatejs, root.classnames); | ||
}(this, function(__WEBPACK_EXTERNAL_MODULE_3__, __WEBPACK_EXTERNAL_MODULE_8__, __WEBPACK_EXTERNAL_MODULE_10__) { | ||
}(this, function(__WEBPACK_EXTERNAL_MODULE_3__, __WEBPACK_EXTERNAL_MODULE_4__, __WEBPACK_EXTERNAL_MODULE_7__) { | ||
/******/ | ||
@@ -96,6 +96,3 @@ return function(modules) { | ||
"number" === type || "string" === type || "object" === type && child instanceof String ? _skatejs.vdom.text(child) : "function" === type && child.__jsxDOMWrapper ? child() : Array.isArray(child) ? child.forEach(_renderArbitrary) : "object" === type && "[object Object]" === String(child) && _forOwn(child, _renderArbitrary); | ||
}; | ||
/** @jsx vdom */ | ||
__webpack_require__(4); | ||
var _skatejs = __webpack_require__(8), _shadow = __webpack_require__(9), _shadow2 = _interopRequireDefault(_shadow), _classnames = __webpack_require__(10), _classnames2 = _interopRequireDefault(_classnames), _index = __webpack_require__(11), events = _interopRequireWildcard(_index); | ||
}, _skatejs = __webpack_require__(4), _shadow = __webpack_require__(5), _shadow2 = _interopRequireDefault(_shadow), _classnames = __webpack_require__(7), _classnames2 = _interopRequireDefault(_classnames), _index = __webpack_require__(8), events = _interopRequireWildcard(_index); | ||
/** | ||
@@ -152,10 +149,4 @@ * @description Create instances of the component programmatically, or using markup. | ||
/***/ | ||
function(module, exports, __webpack_require__) { | ||
// style-loader: Adds some css to the DOM by adding a <style> tag | ||
// load the styles | ||
var content = __webpack_require__(5); | ||
"string" == typeof content && (content = [ [ module.id, content, "" ] ]); | ||
// add the styles to the DOM | ||
__webpack_require__(7)(content, {}); | ||
content.locals && (module.exports = content.locals); | ||
function(module, exports) { | ||
module.exports = __WEBPACK_EXTERNAL_MODULE_4__; | ||
}, /* 5 */ | ||
@@ -166,7 +157,11 @@ /***/ | ||
// module | ||
exports.push([ module.id, "._1xMiJAodBrAKhL8WEHwdrW,ak-blanket{display:block}._1xMiJAodBrAKhL8WEHwdrW:not([defined]),ak-blanket:not([defined]){display:none}", "" ]), | ||
exports.push([ module.id, "._1W1Nqrropv0xHevXc01L9b{bottom:0;left:0;position:fixed;right:0;top:0}._2jkUido-eka0FjtgtzHfhf{background:#091e42;opacity:.5}._3VEYBf7FbiuSuQ4zaBNSF9,ak-blanket{display:block}._3VEYBf7FbiuSuQ4zaBNSF9:not([defined]),ak-blanket:not([defined]){display:none}:host{display:block}:host(:not([defined])){display:none}", "" ]), | ||
// exports | ||
exports.locals = { | ||
"ak-blanket": "_1xMiJAodBrAKhL8WEHwdrW", | ||
akBlanket: "_1xMiJAodBrAKhL8WEHwdrW" | ||
blanket: "_1W1Nqrropv0xHevXc01L9b", | ||
blanket: "_1W1Nqrropv0xHevXc01L9b", | ||
tinted: "_2jkUido-eka0FjtgtzHfhf", | ||
tinted: "_2jkUido-eka0FjtgtzHfhf", | ||
"ak-blanket": "_3VEYBf7FbiuSuQ4zaBNSF9", | ||
akBlanket: "_3VEYBf7FbiuSuQ4zaBNSF9" | ||
}; | ||
@@ -210,168 +205,7 @@ }, /* 6 */ | ||
/***/ | ||
function(module, exports, __webpack_require__) { | ||
function addStylesToDom(styles, options) { | ||
for (var i = 0; i < styles.length; i++) { | ||
var item = styles[i], domStyle = stylesInDom[item.id]; | ||
if (domStyle) { | ||
domStyle.refs++; | ||
for (var j = 0; j < domStyle.parts.length; j++) domStyle.parts[j](item.parts[j]); | ||
for (;j < item.parts.length; j++) domStyle.parts.push(addStyle(item.parts[j], options)); | ||
} else { | ||
for (var parts = [], j = 0; j < item.parts.length; j++) parts.push(addStyle(item.parts[j], options)); | ||
stylesInDom[item.id] = { | ||
id: item.id, | ||
refs: 1, | ||
parts: parts | ||
}; | ||
} | ||
} | ||
} | ||
function listToStyles(list) { | ||
for (var styles = [], newStyles = {}, i = 0; i < list.length; i++) { | ||
var item = list[i], id = item[0], css = item[1], media = item[2], sourceMap = item[3], part = { | ||
css: css, | ||
media: media, | ||
sourceMap: sourceMap | ||
}; | ||
newStyles[id] ? newStyles[id].parts.push(part) : styles.push(newStyles[id] = { | ||
id: id, | ||
parts: [ part ] | ||
}); | ||
} | ||
return styles; | ||
} | ||
function insertStyleElement(options, styleElement) { | ||
var head = getHeadElement(), lastStyleElementInsertedAtTop = styleElementsInsertedAtTop[styleElementsInsertedAtTop.length - 1]; | ||
if ("top" === options.insertAt) lastStyleElementInsertedAtTop ? lastStyleElementInsertedAtTop.nextSibling ? head.insertBefore(styleElement, lastStyleElementInsertedAtTop.nextSibling) : head.appendChild(styleElement) : head.insertBefore(styleElement, head.firstChild), | ||
styleElementsInsertedAtTop.push(styleElement); else { | ||
if ("bottom" !== options.insertAt) throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'."); | ||
head.appendChild(styleElement); | ||
} | ||
} | ||
function removeStyleElement(styleElement) { | ||
styleElement.parentNode.removeChild(styleElement); | ||
var idx = styleElementsInsertedAtTop.indexOf(styleElement); | ||
idx >= 0 && styleElementsInsertedAtTop.splice(idx, 1); | ||
} | ||
function createStyleElement(options) { | ||
var styleElement = document.createElement("style"); | ||
return styleElement.type = "text/css", insertStyleElement(options, styleElement), | ||
styleElement; | ||
} | ||
function createLinkElement(options) { | ||
var linkElement = document.createElement("link"); | ||
return linkElement.rel = "stylesheet", insertStyleElement(options, linkElement), | ||
linkElement; | ||
} | ||
function addStyle(obj, options) { | ||
var styleElement, update, remove; | ||
if (options.singleton) { | ||
var styleIndex = singletonCounter++; | ||
styleElement = singletonElement || (singletonElement = createStyleElement(options)), | ||
update = applyToSingletonTag.bind(null, styleElement, styleIndex, !1), remove = applyToSingletonTag.bind(null, styleElement, styleIndex, !0); | ||
} else obj.sourceMap && "function" == typeof URL && "function" == typeof URL.createObjectURL && "function" == typeof URL.revokeObjectURL && "function" == typeof Blob && "function" == typeof btoa ? (styleElement = createLinkElement(options), | ||
update = updateLink.bind(null, styleElement), remove = function() { | ||
removeStyleElement(styleElement), styleElement.href && URL.revokeObjectURL(styleElement.href); | ||
}) : (styleElement = createStyleElement(options), update = applyToTag.bind(null, styleElement), | ||
remove = function() { | ||
removeStyleElement(styleElement); | ||
}); | ||
return update(obj), function(newObj) { | ||
if (newObj) { | ||
if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap) return; | ||
update(obj = newObj); | ||
} else remove(); | ||
}; | ||
} | ||
function applyToSingletonTag(styleElement, index, remove, obj) { | ||
var css = remove ? "" : obj.css; | ||
if (styleElement.styleSheet) styleElement.styleSheet.cssText = replaceText(index, css); else { | ||
var cssNode = document.createTextNode(css), childNodes = styleElement.childNodes; | ||
childNodes[index] && styleElement.removeChild(childNodes[index]), childNodes.length ? styleElement.insertBefore(cssNode, childNodes[index]) : styleElement.appendChild(cssNode); | ||
} | ||
} | ||
function applyToTag(styleElement, obj) { | ||
var css = obj.css, media = obj.media; | ||
if (media && styleElement.setAttribute("media", media), styleElement.styleSheet) styleElement.styleSheet.cssText = css; else { | ||
for (;styleElement.firstChild; ) styleElement.removeChild(styleElement.firstChild); | ||
styleElement.appendChild(document.createTextNode(css)); | ||
} | ||
} | ||
function updateLink(linkElement, obj) { | ||
var css = obj.css, sourceMap = obj.sourceMap; | ||
sourceMap && (// http://stackoverflow.com/a/26603875 | ||
css += "\n/*# sourceMappingURL=data:application/json;base64," + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + " */"); | ||
var blob = new Blob([ css ], { | ||
type: "text/css" | ||
}), oldSrc = linkElement.href; | ||
linkElement.href = URL.createObjectURL(blob), oldSrc && URL.revokeObjectURL(oldSrc); | ||
} | ||
/* | ||
MIT License http://www.opensource.org/licenses/mit-license.php | ||
Author Tobias Koppers @sokra | ||
*/ | ||
var stylesInDom = {}, memoize = function(fn) { | ||
var memo; | ||
return function() { | ||
return "undefined" == typeof memo && (memo = fn.apply(this, arguments)), memo; | ||
}; | ||
}, isOldIE = memoize(function() { | ||
return /msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase()); | ||
}), getHeadElement = memoize(function() { | ||
return document.head || document.getElementsByTagName("head")[0]; | ||
}), singletonElement = null, singletonCounter = 0, styleElementsInsertedAtTop = []; | ||
module.exports = function(list, options) { | ||
options = options || {}, // Force single-tag solution on IE6-9, which has a hard limit on the # of <style> | ||
// tags it will allow on a page | ||
"undefined" == typeof options.singleton && (options.singleton = isOldIE()), // By default, add <style> tags to the bottom of <head>. | ||
"undefined" == typeof options.insertAt && (options.insertAt = "bottom"); | ||
var styles = listToStyles(list); | ||
return addStylesToDom(styles, options), function(newList) { | ||
for (var mayRemove = [], i = 0; i < styles.length; i++) { | ||
var item = styles[i], domStyle = stylesInDom[item.id]; | ||
domStyle.refs--, mayRemove.push(domStyle); | ||
} | ||
if (newList) { | ||
var newStyles = listToStyles(newList); | ||
addStylesToDom(newStyles, options); | ||
} | ||
for (var i = 0; i < mayRemove.length; i++) { | ||
var domStyle = mayRemove[i]; | ||
if (0 === domStyle.refs) { | ||
for (var j = 0; j < domStyle.parts.length; j++) domStyle.parts[j](); | ||
delete stylesInDom[domStyle.id]; | ||
} | ||
} | ||
}; | ||
}; | ||
var replaceText = function() { | ||
var textStore = []; | ||
return function(index, replacement) { | ||
return textStore[index] = replacement, textStore.filter(Boolean).join("\n"); | ||
}; | ||
}(); | ||
function(module, exports) { | ||
module.exports = __WEBPACK_EXTERNAL_MODULE_7__; | ||
}, /* 8 */ | ||
/***/ | ||
function(module, exports) { | ||
module.exports = __WEBPACK_EXTERNAL_MODULE_8__; | ||
}, /* 9 */ | ||
/***/ | ||
function(module, exports, __webpack_require__) { | ||
exports = module.exports = __webpack_require__(6)(), // imports | ||
// module | ||
exports.push([ module.id, "._1W1Nqrropv0xHevXc01L9b{bottom:0;left:0;position:fixed;right:0;top:0}._2jkUido-eka0FjtgtzHfhf{background:#091e42;opacity:.5}", "" ]), | ||
// exports | ||
exports.locals = { | ||
blanket: "_1W1Nqrropv0xHevXc01L9b", | ||
blanket: "_1W1Nqrropv0xHevXc01L9b", | ||
tinted: "_2jkUido-eka0FjtgtzHfhf", | ||
tinted: "_2jkUido-eka0FjtgtzHfhf" | ||
}; | ||
}, /* 10 */ | ||
/***/ | ||
function(module, exports) { | ||
module.exports = __WEBPACK_EXTERNAL_MODULE_10__; | ||
}, /* 11 */ | ||
/***/ | ||
function(module, exports) { | ||
"use strict"; | ||
@@ -378,0 +212,0 @@ Object.defineProperty(exports, "__esModule", { |
@@ -1,1 +0,1 @@ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("babel-runtime/helpers/defineProperty"),require("skatejs"),require("classnames")):"function"==typeof define&&define.amd?define(["babel-runtime/helpers/defineProperty","skatejs","classnames"],t):"object"==typeof exports?exports.akBlanket=t(require("babel-runtime/helpers/defineProperty"),require("skatejs"),require("classnames")):e.akBlanket=t(e["babel-runtime/helpers/defineProperty"],e.skatejs,e.classnames)}(this,function(e,t,n){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function o(e){return e&&e.__esModule?e:{"default":e}}function i(e){return function(){e.clickable&&(0,c.emit)(e,m.activate)}}Object.defineProperty(t,"__esModule",{value:!0}),t.events=void 0;var a=n(3),s=o(a),l=Object.prototype.hasOwnProperty,u=function(e,t){for(var n in e)l.call(e,n)&&t(e[n],n)},f=function y(e){var t=typeof e;"number"===t||"string"===t||"object"===t&&e instanceof String?c.vdom.text(e):"function"===t&&e.__jsxDOMWrapper?e():Array.isArray(e)?e.forEach(y):"object"===t&&"[object Object]"===String(e)&&u(e,y)};n(4);var c=n(8),d=n(9),p=o(d),v=n(10),h=o(v),b=n(11),m=r(b);t["default"]=(0,c.define)("ak-blanket",{render:function(e){var t=(0,h["default"])([p["default"].locals.blanket,(0,s["default"])({},""+p["default"].locals.tinted,e.tinted)]);return c.vdom.elementOpen("div"),c.vdom.elementOpen("style"),f(p["default"].toString()),c.vdom.elementClose("style"),c.vdom.elementOpen("div",null,null,"onClick",i(e),"onTouch",i(e),"className",t),c.vdom.elementClose("div"),c.vdom.elementClose("div")},props:{tinted:c.prop["boolean"]({attribute:!0}),clickable:c.prop["boolean"]({attribute:!0})}}),t.events=m},,,function(t,n){t.exports=e},function(e,t,n){var r=n(5);"string"==typeof r&&(r=[[e.id,r,""]]),n(7)(r,{}),r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(6)(),t.push([e.id,"._1xMiJAodBrAKhL8WEHwdrW,ak-blanket{display:block}._1xMiJAodBrAKhL8WEHwdrW:not([defined]),ak-blanket:not([defined]){display:none}",""]),t.locals={"ak-blanket":"_1xMiJAodBrAKhL8WEHwdrW",akBlanket:"_1xMiJAodBrAKhL8WEHwdrW"}},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<t.length;o++){var a=t[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},function(e,t,n){function r(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=p[r.id];if(o){o.refs++;for(var i=0;i<o.parts.length;i++)o.parts[i](r.parts[i]);for(;i<r.parts.length;i++)o.parts.push(u(r.parts[i],t))}else{for(var a=[],i=0;i<r.parts.length;i++)a.push(u(r.parts[i],t));p[r.id]={id:r.id,refs:1,parts:a}}}}function o(e){for(var t=[],n={},r=0;r<e.length;r++){var o=e[r],i=o[0],a=o[1],s=o[2],l=o[3],u={css:a,media:s,sourceMap:l};n[i]?n[i].parts.push(u):t.push(n[i]={id:i,parts:[u]})}return t}function i(e,t){var n=b(),r=g[g.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),g.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(t)}}function a(e){e.parentNode.removeChild(e);var t=g.indexOf(e);t>=0&&g.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",i(e,t),t}function l(e){var t=document.createElement("link");return t.rel="stylesheet",i(e,t),t}function u(e,t){var n,r,o;if(t.singleton){var i=y++;n=m||(m=s(t)),r=f.bind(null,n,i,!1),o=f.bind(null,n,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(t),r=d.bind(null,n),o=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=c.bind(null,n),o=function(){a(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}function f(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=k(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function c(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function d(e,t){var n=t.css,r=t.sourceMap;r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var o=new Blob([n],{type:"text/css"}),i=e.href;e.href=URL.createObjectURL(o),i&&URL.revokeObjectURL(i)}var p={},v=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},h=v(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),b=v(function(){return document.head||document.getElementsByTagName("head")[0]}),m=null,y=0,g=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=h()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=o(e);return r(n,t),function(e){for(var i=[],a=0;a<n.length;a++){var s=n[a],l=p[s.id];l.refs--,i.push(l)}if(e){var u=o(e);r(u,t)}for(var a=0;a<i.length;a++){var l=i[a];if(0===l.refs){for(var f=0;f<l.parts.length;f++)l.parts[f]();delete p[l.id]}}}};var k=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e,n){e.exports=t},function(e,t,n){t=e.exports=n(6)(),t.push([e.id,"._1W1Nqrropv0xHevXc01L9b{bottom:0;left:0;position:fixed;right:0;top:0}._2jkUido-eka0FjtgtzHfhf{background:#091e42;opacity:.5}",""]),t.locals={blanket:"_1W1Nqrropv0xHevXc01L9b",blanket:"_1W1Nqrropv0xHevXc01L9b",tinted:"_2jkUido-eka0FjtgtzHfhf",tinted:"_2jkUido-eka0FjtgtzHfhf"}},function(e,t){e.exports=n},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.activate="activate"}])}); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("babel-runtime/helpers/defineProperty"),require("skatejs"),require("classnames")):"function"==typeof define&&define.amd?define(["babel-runtime/helpers/defineProperty","skatejs","classnames"],t):"object"==typeof exports?exports.akBlanket=t(require("babel-runtime/helpers/defineProperty"),require("skatejs"),require("classnames")):e.akBlanket=t(e["babel-runtime/helpers/defineProperty"],e.skatejs,e.classnames)}(this,function(e,t,n){return function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function r(e){return e&&e.__esModule?e:{"default":e}}function i(e){return function(){e.clickable&&(0,c.emit)(e,m.activate)}}Object.defineProperty(t,"__esModule",{value:!0}),t.events=void 0;var a=n(3),l=r(a),u=Object.prototype.hasOwnProperty,s=function(e,t){for(var n in e)u.call(e,n)&&t(e[n],n)},f=function y(e){var t=typeof e;"number"===t||"string"===t||"object"===t&&e instanceof String?c.vdom.text(e):"function"===t&&e.__jsxDOMWrapper?e():Array.isArray(e)?e.forEach(y):"object"===t&&"[object Object]"===String(e)&&s(e,y)},c=n(4),d=n(5),p=r(d),b=n(7),v=r(b),k=n(8),m=o(k);t["default"]=(0,c.define)("ak-blanket",{render:function(e){var t=(0,v["default"])([p["default"].locals.blanket,(0,l["default"])({},""+p["default"].locals.tinted,e.tinted)]);return c.vdom.elementOpen("div"),c.vdom.elementOpen("style"),f(p["default"].toString()),c.vdom.elementClose("style"),c.vdom.elementOpen("div",null,null,"onClick",i(e),"onTouch",i(e),"className",t),c.vdom.elementClose("div"),c.vdom.elementClose("div")},props:{tinted:c.prop["boolean"]({attribute:!0}),clickable:c.prop["boolean"]({attribute:!0})}}),t.events=m},,,function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){t=e.exports=n(6)(),t.push([e.id,"._1W1Nqrropv0xHevXc01L9b{bottom:0;left:0;position:fixed;right:0;top:0}._2jkUido-eka0FjtgtzHfhf{background:#091e42;opacity:.5}._3VEYBf7FbiuSuQ4zaBNSF9,ak-blanket{display:block}._3VEYBf7FbiuSuQ4zaBNSF9:not([defined]),ak-blanket:not([defined]){display:none}:host{display:block}:host(:not([defined])){display:none}",""]),t.locals={blanket:"_1W1Nqrropv0xHevXc01L9b",blanket:"_1W1Nqrropv0xHevXc01L9b",tinted:"_2jkUido-eka0FjtgtzHfhf",tinted:"_2jkUido-eka0FjtgtzHfhf","ak-blanket":"_3VEYBf7FbiuSuQ4zaBNSF9",akBlanket:"_3VEYBf7FbiuSuQ4zaBNSF9"}},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var o={},r=0;r<this.length;r++){var i=this[r][0];"number"==typeof i&&(o[i]=!0)}for(r=0;r<t.length;r++){var a=t[r];"number"==typeof a[0]&&o[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},function(e,t){e.exports=n},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.activate="activate"}])}); |
{ | ||
"name": "ak-blanket", | ||
"version": "3.0.7", | ||
"version": "3.0.8", | ||
"description": "ak-blanket webcomponent", | ||
@@ -5,0 +5,0 @@ "main": "dist/bundle.js", |
@@ -0,1 +1,6 @@ | ||
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) | ||
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) | ||
[![Bug tracker](https://img.shields.io/badge/support-bugtracker-blue.svg)](https://ecosystem.atlassian.net/browse/AK) | ||
[![Support forum](https://img.shields.io/badge/support-forum-blue.svg)](https://answers.atlassian.com/questions/ask?title=AtlasKit%3A%20&topics=atlaskit,ak-blanket,ak-blanket@3.0.8) | ||
# Blanket | ||
@@ -9,3 +14,3 @@ | ||
Interact with a [live demo of the ak-blanket component](https://aui-cdn.atlassian.com/atlaskit/stories/ak-blanket/3.0.7/). | ||
Interact with a [live demo of the ak-blanket component](https://aui-cdn.atlassian.com/atlaskit/stories/ak-blanket/3.0.8/). | ||
@@ -86,2 +91,19 @@ ## Installation | ||
## Support and feedback | ||
### We're here to help! | ||
Let us know what you think of our components and docs, your feedback is really important for us. | ||
### Community support | ||
Ask a question in our [forum](https://answers.atlassian.com/questions/ask?title=AtlasKit%3A%20&topics=atlaskit,ak-blanket,ak-blanket@3.0.8). | ||
Check [if someone has already asked the same question before](https://answers.atlassian.com/questions/topics/42926171/atlaskit). | ||
### Create a support ticket | ||
Are you in trouble? [Let us know](https://ecosystem.atlassian.net/browse/AK)! | ||
<a name="Blanket"></a> | ||
@@ -147,2 +169,3 @@ | ||
**Kind**: event emitted by <code>[Blanket](#Blanket)</code> | ||
**Kind**: event emitted by <code>[Blanket](#Blanket)</code> | ||
Sorry, the diff of this file is too big to display
169
146927
2119