@fe6/icon-img
Version:
Water Icon 的纯 HTML 图标
12 lines (11 loc) • 7.51 kB
JavaScript
var IconsAntdEyeInvisible=function(C){"use strict";var v={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"},h=function(){return"icon-"+((1+Math.random())*4294967296|0).toString(16).substring(1)},f=function(l,t,r){var o=t?.colors||[],e=[],i=t?.theme||r.theme;switch(i){case"outline":e.push(typeof o[0]=="string"?o[0]:r.colors.outline.outStrokeColor),e.push(typeof o[1]=="string"?o[1]:r.colors.outline.outFillColor),e.push(typeof o[0]=="string"?o[0]:r.colors.outline.outStrokeColor),e.push(typeof o[1]=="string"?o[1]:r.colors.outline.outFillColor);break;case"filled":e.push(typeof o[0]=="string"?o[0]:r.colors.filled.outStrokeColor),e.push(typeof o[0]=="string"?o[0]:r.colors.filled.outStrokeColor),e.push(typeof o[1]=="string"?o[1]:r.colors.filled.outFillColor),e.push(typeof o[1]=="string"?o[1]:r.colors.filled.outFillColor);break;case"twoTone":e.push(typeof o[0]=="string"?o[0]:r.colors.twoTone.outStrokeColor),e.push(typeof o[1]=="string"?o[1]:r.colors.twoTone.outFillColor),e.push(typeof o[0]=="string"?o[0]:r.colors.twoTone.outStrokeColor),e.push(typeof o[1]=="string"?o[1]:r.colors.twoTone.outFillColor);break;case"multiColor":e.push(typeof o[0]=="string"?o[0]:r.colors.multiColor.outStrokeColor),e.push(typeof o[1]=="string"?o[1]:r.colors.multiColor.outFillColor),e.push(typeof o[2]=="string"?o[2]:r.colors.multiColor.innerStrokeColor),e.push(typeof o[3]=="string"?o[3]:r.colors.multiColor.innerFillColor);break}return{size:t?.size||r.size,strokeWidth:t?.strokeWidth||r.strokeWidth,strokeLinecap:t?.strokeLinecap||r.strokeLinecap,strokeLinejoin:t?.strokeLinejoin||r.strokeLinejoin,colors:e,svg:t?.svg||"",id:l}},p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",k=function(l,t){for(var r="",o=0,e=l.length,i,s,u,n=t?g:p;o<e;){if(i=l.charCodeAt(o++)&255,o===e){r+=n.charAt(i>>2),r+=n.charAt((i&3)<<4),r+="==";break}if(s=l.charCodeAt(o++),o===e){r+=n.charAt(i>>2),r+=n.charAt((i&3)<<4|(s&240)>>4),r+=n.charAt((s&15)<<2),r+="=";break}u=l.charCodeAt(o++),r+=n.charAt(i>>2),r+=n.charAt((i&3)<<4|(s&240)>>4),r+=n.charAt((s&15)<<2|(u&192)>>6),r+=n.charAt(u&63)}return r},m=function(l){var t="",r,o,e=l.length;for(r=0;r<e;r++)o=l.charCodeAt(r),o>=1&&o<=127?t+=l.charAt(r):o>2047?(t+=String.fromCharCode(224|o>>12&15),t+=String.fromCharCode(128|o>>6&63),t+=String.fromCharCode(128|o>>0&63)):(t+=String.fromCharCode(192|o>>6&31),t+=String.fromCharCode(128|o>>0&63));return t},L=v,y=function(){return L},S=function(l,t,r){return function(o){var e=y(),i=["".concat(e.prefix,"-icon")];i.push("".concat(e.prefix,"-icon-").concat(l)),t&&e.rtl&&i.push("".concat(e.prefix,"-icon-rtl")),o!=null&&o.spin&&i.push("".concat(e.prefix,"-icon-spin"));var s=f(h(),o,e),u=r(s),n=k(m(u)),d="data:image/svg+xml;base64,".concat(n);return o!=null&&o.base64?d:'<span class="'.concat(i.join(" "),`">
<img class="`).concat(e.prefix,'-icon-img" src="').concat(d,`" />
</span>`)}},c=function(l){var t,r,o,e,i;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="M9.84575363,38.1366766 L16.7578638,31.2245666 C13.1390885,27.415562 13.215898,21.4163024 16.9310057,17.7011947 C20.6461133,13.986087 26.6453729,13.9092775 30.4543775,17.5280528 L37.4848362,10.4964932 C33.6202491,7.90383266 29.1248362,6.60621798 23.9985977,6.60364917 C13.4187812,6.60364917 5.52520317,12.1137409 0.317863723,23.1339244 C-0.105954574,24.0313571 -0.105954574,25.071354 0.317863723,25.9687867 C2.85988207,31.3232822 6.03584538,35.3792455 9.84575363,38.1366766 Z" fill="`).concat((t=l.colors)===null||t===void 0?void 0:t[1],`"/>
<path d="M47.6793316,23.1284198 C45.7439188,19.0517225 43.4411665,15.7269519 40.7710748,13.1541078 L32.8323592,21.0955757 C34.1907134,24.6642457 33.3273456,28.6978896 30.6272369,31.3978794 C27.9271283,34.0978692 23.8934464,34.9610595 20.3248362,33.6025482 L13.594928,40.3330069 C16.714194,41.7733739 20.1820839,42.4935574 23.9985977,42.4935574 C34.5784142,42.4935574 42.4719922,36.9834656 47.6793316,25.9632822 C48.1032277,25.0658668 48.1032277,24.0258351 47.6793316,23.1284198 Z" fill="`).concat((r=l.colors)===null||r===void 0?void 0:r[1],`"/>
<path d="M47.6793316,23.1284198 C45.7442858,19.0517225 43.4415335,15.7269519 40.7710748,13.1541078 L37.9703408,15.9548418 C40.254194,18.1374106 42.2435518,20.9926399 43.9637353,24.5486033 C39.3839188,34.0275023 32.8830014,38.5302546 23.9985977,38.5302546 C21.3318087,38.5302546 18.8754784,38.1196124 16.6296069,37.298328 L13.594928,40.3330069 C16.714194,41.7733739 20.1820839,42.4935574 23.9985977,42.4935574 C34.5784142,42.4935574 42.4719922,36.9834656 47.6793316,25.9632822 C48.1032277,25.0658668 48.1032277,24.0258351 47.6793316,23.1284198 Z" fill="`).concat((o=l.colors)===null||o===void 0?void 0:o[0],`"/>
<path d="M44.1800656,5.47851156 L41.8334601,3.12915376 C41.7508612,3.04646295 41.6387779,3 41.5219005,3 C41.405023,3 41.2929397,3.04646295 41.2103408,3.12915376 L35.1899738,9.14676844 C31.8707078,7.45135559 28.1402491,6.60364917 23.9985977,6.60364917 C13.4187812,6.60364917 5.52520317,12.1137409 0.317863723,23.1339244 C-0.105954574,24.0313571 -0.105954574,25.071354 0.317863723,25.9687867 C2.3982307,30.3504381 4.90281785,33.8625482 7.83162519,36.505117 L2.00667106,42.3284198 C1.83483311,42.5003704 1.83483311,42.7790379 2.00667106,42.9509886 L4.35657932,45.3008968 C4.52852995,45.4727348 4.8071975,45.4727348 4.97914813,45.3008968 L44.1800656,6.10163082 C44.2627564,6.01903196 44.3092193,5.90694866 44.3092193,5.79007119 C44.3092193,5.67319372 44.2627564,5.56111042 44.1800656,5.47851156 Z M4.03346006,24.5486033 C8.61878116,15.0697042 15.1196986,10.5669519 23.9985977,10.5669519 C27.0007995,10.5669519 29.7305243,11.0821813 32.2070381,12.1297042 L28.3373133,15.9994289 C24.5747106,13.9918834 19.9418378,14.6808714 16.9262601,17.6964491 C13.9106824,20.7120269 13.2216944,25.3448996 15.2292399,29.1075023 L10.6373133,33.6994289 C8.09584538,31.4563097 5.90501969,28.4172271 4.03346006,24.5486033 Z M17.6132692,24.5486033 C17.6152313,22.5798991 18.5563769,20.7302697 20.1466608,19.569754 C21.7369448,18.4092383 23.785501,18.0771216 25.660983,18.6757592 L17.9055702,26.4311721 C17.7111846,25.8225845 17.6125763,25.1874805 17.6132692,24.5486033 Z" fill="`).concat((e=l.colors)===null||e===void 0?void 0:e[0],`"/>
<path d="M23.7784142,30.7137409 C23.5879555,30.7137409 23.4002491,30.7049335 23.214194,30.6878693 L20.3066711,33.5953922 C23.8791798,34.963549 27.9222198,34.1025238 30.6272773,31.3974663 C33.3323348,28.6924089 34.19336,24.6493689 32.8252032,21.0768601 L29.9176803,23.9843831 C29.9347445,24.1704381 29.9435518,24.3581445 29.9435518,24.5486033 C29.9444286,26.183968 29.2951708,27.7526044 28.1387931,28.9089821 C26.9824154,30.0653598 25.413779,30.7146177 23.7784142,30.7137409 L23.7784142,30.7137409 Z" fill="`).concat((i=l.colors)===null||i===void 0?void 0:i[0],`"/>
</svg>`)},b=S("antd-eye-invisible",!1,c);return C.default=b,C.getIconAntdEyeInvisibleSvgHtml=c,Object.defineProperty(C,"__esModule",{value:!0}),C}({});