@hyper.fun/carbon-icon-import-export
Version:
👉 https://hyper.fun/c/carbon-icon-import-export/1.3.0
1 lines • 5.53 kB
JavaScript
;(self.webpackChunk=self.webpackChunk||[]).push([["eCQ6dvP7haIFrEOyAlkrR","gDHsJ1qSt1PXgbvS66Yir"],{"EE3WaopYBs4d-aizqXO97":(t,e,r)=>{r.d(e,{Z:()=>c});var n=r("PbwuivyT8pPW5MbRTHrJv"),o=r.n(n),s=r("2E3KhksdXX3kIIMZD-ZKl"),a=r.n(s)()(o());a.push([t.id,"",""]);const c=a},"2E3KhksdXX3kIIMZD-ZKl":t=>{t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r="",n=void 0!==e[5];return e[4]&&(r+="@supports (".concat(e[4],") {")),e[2]&&(r+="@media ".concat(e[2]," {")),n&&(r+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),r+=t(e),n&&(r+="}"),e[2]&&(r+="}"),e[4]&&(r+="}"),r})).join("")},e.i=function(t,r,n,o,s){"string"==typeof t&&(t=[[null,t,void 0]]);var a={};if(n)for(var c=0;c<this.length;c++){var i=this[c][0];null!=i&&(a[i]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);n&&a[u[0]]||(void 0!==s&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=s),r&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=r):u[2]=r),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),e.push(u))}},e}},PbwuivyT8pPW5MbRTHrJv:t=>{t.exports=function(t){return t[1]}},scoE6_0FJGeZ9W__vrRVd:t=>{var e=[];function r(t){for(var r=-1,n=0;n<e.length;n++)if(e[n].identifier===t){r=n;break}return r}function n(t,n){for(var s={},a=[],c=0;c<t.length;c++){var i=t[c],l=n.base?i[0]+n.base:i[0],u=s[l]||0,d="".concat(l," ").concat(u);s[l]=u+1;var p=r(d),f={css:i[1],media:i[2],sourceMap:i[3],supports:i[4],layer:i[5]};if(-1!==p)e[p].references++,e[p].updater(f);else{var h=o(f,n);n.byIndex=c,e.splice(c,0,{identifier:d,updater:h,references:1})}a.push(d)}return a}function o(t,e){var r=e.domAPI(e);r.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;r.update(t=e)}else r.remove()}}t.exports=function(t,o){var s=n(t=t||[],o=o||{});return function(t){t=t||[];for(var a=0;a<s.length;a++){var c=r(s[a]);e[c].references--}for(var i=n(t,o),l=0;l<s.length;l++){var u=r(s[l]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}s=i}}},clgfRVrdZol6fbZKsjgt5:t=>{var e={};t.exports=function(t,r){var n=function(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(t){r=null}e[t]=r}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},"6eG1QnDFdnQoO59sAtd00":t=>{t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},jbdgnDA9E1U9dfFylSdOT:(t,e,r)=>{t.exports=function(t){var e=r.nc;e&&t.setAttribute("nonce",e)}},fKrmueJmq7dU7l_tuhXez:t=>{t.exports=function(t){var e=t.insertStyleElement(t);return{update:function(r){!function(t,e,r){var n="";r.supports&&(n+="@supports (".concat(r.supports,") {")),r.media&&(n+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(n+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),n+=r.css,o&&(n+="}"),r.media&&(n+="}"),r.supports&&(n+="}");var s=r.sourceMap;s&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(s))))," */")),e.styleTagTransform(n,t,e.options)}(e,t,r)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},YAM43Wq6ZOPc3Uhhgwcrq:t=>{t.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}},fSAGNXgZECU0YWRpGoakO:(t,e,r)=>{r.r(e),r.d(e,{default:()=>w});var n=r("scoE6_0FJGeZ9W__vrRVd"),o=r.n(n),s=r("fKrmueJmq7dU7l_tuhXez"),a=r.n(s),c=r("clgfRVrdZol6fbZKsjgt5"),i=r.n(c),l=r("jbdgnDA9E1U9dfFylSdOT"),u=r.n(l),d=r("6eG1QnDFdnQoO59sAtd00"),p=r.n(d),f=r("YAM43Wq6ZOPc3Uhhgwcrq"),h=r.n(f),v=r("EE3WaopYBs4d-aizqXO97"),y={};y.styleTagTransform=h(),y.setAttributes=u(),y.insert=i().bind(null,"head"),y.domAPI=a(),y.insertStyleElement=p();o()(v.Z,y);v.Z&&v.Z.locals&&v.Z.locals;var m={d:(t,e)=>{for(var r in e)m.o(e,r)&&!m.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e)},g={};m.d(g,{Z:()=>Z});const b=[["xmlns","http://www.w3.org/2000/svg"],["viewBox","0 0 32 32"]];class Z{constructor(t,e){this.container=t;for(let e=0;e<b.length;e++)t.setAttribute(b[e][0],b[e][1]);this.render(e),t.innerHTML='<path d="M28 24v4H4v-4H2v4l.008-.005A1.998 1.998 0 0 0 4 30h24a2 2 0 0 0 2-2v-4z" fill="currentColor"></path> <path d="M27.6 14.6L24 18.2V4h-2v14.2l-3.6-3.6L17 16l6 6l6-6l-1.4-1.4z" fill="currentColor"></path> <path d="M9 4l-6 6l1.4 1.4L8 7.8V22h2V7.8l3.6 3.6L15 10L9 4z" fill="currentColor"></path>'}changed(t){this.render(t)}disconnected(){}render(t){t.attrs.size&&(this.container.setAttribute("width",t.attrs.size),this.container.setAttribute("height",t.attrs.size)),t.attrs.class&&this.container.setAttributeNS(null,"class",t.attrs.class),t.attrs.color&&(this.container.style.fill=t.attrs.color,this.container.style.color=t.attrs.color),function(t,e){for(let r=0,n=Object.keys(e);r<n.length;r++){const o=n[r],s=e[o];"style"!==o?"function"==typeof s?t[o]=function(t){s(t)}:t.setAttribute(o,s):"object"==typeof s?Object.assign(t.style,s):t.style.cssText+=s}}(this.container,t.others)}}Z.tag="svg",Z.props=[["size","class","color"],[],[]];const w=g.Z}}]);