UNPKG

@fe6/icon-img

Version:

Water Icon 的纯 HTML 图标

9 lines (8 loc) 4.61 kB
var IconsBytedHandLeft=function(c){"use strict";var h={size:"1em",spin:!1,strokeWidth:4,strokeLinecap:"round",strokeLinejoin:"round",rtl:!1,theme:"outline",colors:{outline:{outStrokeColor:"#333",outFillColor:"transparent"},filled:{outStrokeColor:"#333",outFillColor:"#fff"},twoTone:{outStrokeColor:"#333",outFillColor:"#2f88ff"},multiColor:{outStrokeColor:"#333",outFillColor:"#2f88ff",innerStrokeColor:"#fff",innerFillColor:"#43ccf8"}},prefix:"cube"},C=function(){return"icon-"+((1+Math.random())*4294967296|0).toString(16).substring(1)},f=function(l,r,t){var o=r?.colors||[],e=[],n=r?.theme||t.theme;switch(n){case"outline":e.push(typeof o[0]=="string"?o[0]:t.colors.outline.outStrokeColor),e.push(typeof o[1]=="string"?o[1]:t.colors.outline.outFillColor),e.push(typeof o[0]=="string"?o[0]:t.colors.outline.outStrokeColor),e.push(typeof o[1]=="string"?o[1]:t.colors.outline.outFillColor);break;case"filled":e.push(typeof o[0]=="string"?o[0]:t.colors.filled.outStrokeColor),e.push(typeof o[0]=="string"?o[0]:t.colors.filled.outStrokeColor),e.push(typeof o[1]=="string"?o[1]:t.colors.filled.outFillColor),e.push(typeof o[1]=="string"?o[1]:t.colors.filled.outFillColor);break;case"twoTone":e.push(typeof o[0]=="string"?o[0]:t.colors.twoTone.outStrokeColor),e.push(typeof o[1]=="string"?o[1]:t.colors.twoTone.outFillColor),e.push(typeof o[0]=="string"?o[0]:t.colors.twoTone.outStrokeColor),e.push(typeof o[1]=="string"?o[1]:t.colors.twoTone.outFillColor);break;case"multiColor":e.push(typeof o[0]=="string"?o[0]:t.colors.multiColor.outStrokeColor),e.push(typeof o[1]=="string"?o[1]:t.colors.multiColor.outFillColor),e.push(typeof o[2]=="string"?o[2]:t.colors.multiColor.innerStrokeColor),e.push(typeof o[3]=="string"?o[3]:t.colors.multiColor.innerFillColor);break}return{size:r?.size||t.size,strokeWidth:r?.strokeWidth||t.strokeWidth,strokeLinecap:r?.strokeLinecap||t.strokeLinecap,strokeLinejoin:r?.strokeLinejoin||t.strokeLinejoin,colors:e,svg:r?.svg||"",id:l}},k="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",g=function(l,r){for(var t="",o=0,e=l.length,n,s,u,i=r?p:k;o<e;){if(n=l.charCodeAt(o++)&255,o===e){t+=i.charAt(n>>2),t+=i.charAt((n&3)<<4),t+="==";break}if(s=l.charCodeAt(o++),o===e){t+=i.charAt(n>>2),t+=i.charAt((n&3)<<4|(s&240)>>4),t+=i.charAt((s&15)<<2),t+="=";break}u=l.charCodeAt(o++),t+=i.charAt(n>>2),t+=i.charAt((n&3)<<4|(s&240)>>4),t+=i.charAt((s&15)<<2|(u&192)>>6),t+=i.charAt(u&63)}return t},m=function(l){var r="",t,o,e=l.length;for(t=0;t<e;t++)o=l.charCodeAt(t),o>=1&&o<=127?r+=l.charAt(t):o>2047?(r+=String.fromCharCode(224|o>>12&15),r+=String.fromCharCode(128|o>>6&63),r+=String.fromCharCode(128|o>>0&63)):(r+=String.fromCharCode(192|o>>6&31),r+=String.fromCharCode(128|o>>0&63));return r},y=h,S=function(){return y},w=function(l,r,t){return function(o){var e=S(),n=["".concat(e.prefix,"-icon")];n.push("".concat(e.prefix,"-icon-").concat(l)),r&&e.rtl&&n.push("".concat(e.prefix,"-icon-rtl")),o!=null&&o.spin&&n.push("".concat(e.prefix,"-icon-spin"));var s=f(C(),o,e),u=t(s),i=g(m(u)),v="data:image/svg+xml;base64,".concat(i);return o!=null&&o.base64?v:'<span class="'.concat(n.join(" "),`"> <img class="`).concat(e.prefix,'-icon-img" src="').concat(v,`" /> </span>`)}},d=function(l){var r,t,o;return`<?xml version="1.0" encoding="UTF-8"?> <svg width="`.concat(l.size,'" height="').concat(l.size,`" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <rect width="48" height="48" fill="white" fill-opacity="0.01"/> <path d="M44 40.9998V18.9998H38V40.9998H44Z" fill="`).concat((r=l.colors)===null||r===void 0?void 0:r[1],'" stroke="').concat((t=l.colors)===null||t===void 0?void 0:t[0],'" stroke-width="').concat(l.strokeWidth,'" stroke-linejoin="').concat(l.strokeLinejoin,`"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M38 19C30.8948 12.4302 26.7757 8.66342 25.6428 7.69966C23.9433 6.25403 22.0226 6.86106 22.0226 10.4789C22.0226 14.0967 27.2864 16.2441 27.2864 19C27.2898 19.0164 20.529 19.0175 7.00404 19.0033C5.3467 19.0015 4.00175 20.3437 4 22.001C4 22.0021 4 22.0031 4 22.0042C4 23.6633 5.34501 25.0083 7.00417 25.0083H14.0165C15.2234 32.9769 15.8893 37.3099 16.0144 38.0073C16.2019 39.0535 17.199 41 20.068 41C21.9807 41 27.9581 41 38 41V19Z" stroke="`).concat((o=l.colors)===null||o===void 0?void 0:o[0],'" stroke-width="').concat(l.strokeWidth,'" stroke-linejoin="').concat(l.strokeLinejoin,`"/> </svg>`)},b=w("byted-hand-left",!1,d);return c.default=b,c.getIconBytedHandLeftSvgHtml=d,Object.defineProperty(c,"__esModule",{value:!0}),c}({});