noredink-ui/styleguide-app/assets/generated_svgs.js

23 lines
44 KiB
JavaScript
Raw Normal View History

(function () {
2018-05-04 14:43:35 +03:00
var hack = document.documentElement.doScroll;
var loaded = (hack ? /^loaded|^c/ : /^loaded|^i|^c/).test(document.readyState);
2018-05-04 14:43:35 +03:00
function onLoad() {
var container = document.createElement('div');
container.style.display = 'none';
container.id = 'icon-sprite';
container.setAttribute('data-build-sh256', "bedaa2188d8274f7ad19fb7c8eb9abdc726b0ec16b09b209b60c03333bb9a50a");
container.innerHTML = "<svg><symbol id=\"icon-underline\" viewBox=\"0 0 14.3 18.4\"><path d=\"M0 17h14.3v1.4H0zM14.3 14.1H8.5v-.7c.5 0 .9-.1 1.3-.2.3-.1.5-.2.5-.4v-.2c0-.1 0-.2-.1-.2L9.1 9.3H4.2c-.2.4-.3.8-.5 1.1-.1.3-.2.7-.3.9-.1.3-.1.5-.2.7s0 .3 0 .4c0 .3.2.5.6.6s.9.2 1.4.3v.7H0v-.7c.2 0 .4-.1.6-.1s.5-.1.6-.2c.3-.2.5-.4.6-.6s.3-.5.4-.8C3 9.9 3.8 8 4.6 5.8S6.2 1.7 6.8 0h.8l4.6 12c.1.3.2.5.3.6l.5.5c.1.1.3.2.6.2s.4.1.6.1v.7zM8.7 8.4L6.6 3 4.5 8.4h4.2z\"/></symbol><symbol id=\"icon-checkmark\" viewBox=\"0 0 21.7 17.1\"><path d=\"M7.6 17.1c-.5 0-1-.2-1.4-.6L.6 11.1c-.8-.8-.8-2-.1-2.8.8-.8 2-.8 2.8-.1l4.1 4L18.2.7c.8-.8 2-.9 2.8-.1s.9 2 .1 2.8l-12 13c-.4.5-.9.7-1.5.7.1 0 0 0 0 0\"/></symbol><symbol id=\"icon-skip\" viewBox=\"0 0 40 25\"><path d=\"M24.8 23.437c0 .416-.16.811-.447 1.104-.286.293-.676.46-1.08.46h-.882c-.845 0-1.53-.7-1.53-1.564v-8.874L4.406 24.58l-.23.14h-.105a2.158 2.158 0 0 1-.917.203c-1.134.035-2.088-.859-2.154-2.016V2.063C1.04.89 2.003-.034 3.154.001c.341.006.676.09.977.252h.106l.138.079L20.86 10.407V1.566C20.86.7 21.545 0 22.39 0h.882c.404 0 .794.167 1.08.46.287.293.447.689.447 1.105l.001 21.87z\" fill-rule=\"evenodd\"/></symbol><symbol id=\"icon-arrow-down\" viewBox=\"0 0 25 15\"><path d=\"M19.268 20.732a2.5 2.5 0 1 1-3.536 3.536l-10-10a2.5 2.5 0 0 1 0-3.536l10-10a2.5 2.5 0 1 1 3.536 3.536L11.036 12.5l8.232 8.232z\" fill-rule=\"evenodd\" transform=\"rotate(-90 10 10)\"/></symbol><symbol id=\"icon-list\" viewBox=\"0 0 16 12.6\"><path d=\"M1.7 3.4C.8 3.4 0 2.7 0 1.7S.8 0 1.7 0s1.7.8 1.7 1.7-.7 1.7-1.7 1.7zm0 4.6C.8 8 0 7.2 0 6.3s.8-1.7 1.7-1.7 1.7.8 1.7 1.7S2.7 8 1.7 8zm0 4.6c-.9 0-1.7-.8-1.7-1.7s.8-1.7 1.7-1.7 1.7.8 1.7 1.7-.7 1.7-1.7 1.7zM16 2.6c0 .2-.1.3-.3.3H4.9c-.2 0-.3-.1-.3-.3V.9c0-.2.1-.3.3-.3h10.9c.2 0 .3.1.3.3v1.7zm0 4.5c0 .2-.1.3-.3.3H4.9c-.2 0-.3-.1-.3-.3V5.4c0-.2.1-.3.3-.3h10.9c.2 0 .3.1.3.3v1.7zm0 4.6c0 .2-.1.3-.3.3H4.9c-.2 0-.3-.1-.3-.3V10c0-.2.1-.3.3-.3h10.9c.2 0 .3.1.3.3v1.7z\"/></symbol><symbol id=\"icon-bulb\" viewBox=\"0 0 23 25\"><path d=\"M21.6 12.5H19c-.3 0-.6.3-.6.6s.3.6.6.6h2.6c.3 0 .6-.3.6-.6s-.3-.6-.6-.6zM18.1 9.3c.1 0 .2 0 .3-.1l2.3-1.4c.2-.1.3-.5.1-.8-.2-.3-.5-.4-.8-.2l-2.3 1.4c-.2.1-.3.4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1-.3.3-.7.4-1.5.4-2.3 0-3.3-2.5-6-5.6-6zM10.9 9c-.6 0-1.2.2-1.7.5-1.1.7-1.6 1.9-1.7 3.5 0 .3-.3.6-.6.6-.1 0-.3-.1-.4-.2-.1-.1-.2-.3-.2-.4 0-2.7 1.3-4 2.3-4.6.7-.4 1.4-.6 2.2-.7.3 0 .6.3.6.6.1.4-.2.7-.5.7z\" transform=\"translate(.208 .052)\"/></symbol><symbol id=\"icon-flipper\" viewBox=\"0 0 21 18\"><path d=\"M6 12.59h8.59V4H6v8.59zm.955-.954h6.681V4.955H6.955v6.681zm-.273 4.568a.477.477 0 1 1 0 .955H5.25a3.345 3.345 0 0 1-3.341-3.34v-2.19L.815 12.724a.477.477 0 1 1-.675-.675l1.909-1.91a.477.477 0 0 1 .675 0l1.909 1.91a.477.477 0 1 1-.675.675l-1.094-1.095v2.19a2.388 2.388 0 0 0 2.386 2.385h1.432zM20.86 4.435a.477.477 0 0 0-.675 0L19.091 5.53V3.34A3.345 3.345 0 0 0 15.75 0h-1.432a.477.477 0 1 0 0 .955h1.432a2.388 2.388 0 0 1 2.386 2.386V5.53l-1.094-1.095a.477.477 0 1 0-.675.675l1.91 1.91a.475.475 0 0 0 .674 0l1.91-1.91a.477.477 0 0 0 0-.675\" fill-rule=\"evenodd\"/><path d=\
2018-05-04 14:43:35 +03:00
document.body.insertBefore(container, document.body.firstChild);
}
if (!loaded) {
document.addEventListener('DOMContentLoaded', function listener() {
document.removeEventListener('DOMContentLoaded', listener);
2018-05-04 14:43:35 +03:00
onLoad();
});
} else {
onLoad();
}
}())