UNPKG

@hyper.fun/carbon-icon-container-registry

Version:

👉 https://hyper.fun/c/carbon-icon-container-registry/1.3.0

1 lines • 5.61 kB
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([["jDSIMLsVMh6ZCW8Qt405H","DlTH3CUR7sqK6RQBFAk-l"],{QDGAyMbnfkksw9vnJulLR:(t,e,n)=>{n.d(e,{Z:()=>c});var r=n("ED8uQhA55Lu216ir_mtgK"),o=n.n(r),s=n("TTUsgC6fnn6hhxx5Vceyl"),a=n.n(s)()(o());a.push([t.id,"",""]);const c=a},TTUsgC6fnn6hhxx5Vceyl:t=>{t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",r=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),r&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),r&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,r,o,s){"string"==typeof t&&(t=[[null,t,void 0]]);var a={};if(r)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]);r&&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),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),e.push(u))}},e}},ED8uQhA55Lu216ir_mtgK:t=>{t.exports=function(t){return t[1]}},oUJb3304lMyZvnOfS4I0C:t=>{var e=[];function n(t){for(var n=-1,r=0;r<e.length;r++)if(e[r].identifier===t){n=r;break}return n}function r(t,r){for(var s={},a=[],c=0;c<t.length;c++){var i=t[c],l=r.base?i[0]+r.base:i[0],u=s[l]||0,h="".concat(l," ").concat(u);s[l]=u+1;var p=n(h),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 d=o(f,r);r.byIndex=c,e.splice(c,0,{identifier:h,updater:d,references:1})}a.push(h)}return a}function o(t,e){var n=e.domAPI(e);n.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;n.update(t=e)}else n.remove()}}t.exports=function(t,o){var s=r(t=t||[],o=o||{});return function(t){t=t||[];for(var a=0;a<s.length;a++){var c=n(s[a]);e[c].references--}for(var i=r(t,o),l=0;l<s.length;l++){var u=n(s[l]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}s=i}}},CaFnM4hHDW3boCVl4K9be:t=>{var e={};t.exports=function(t,n){var r=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},iXXFvpZZiGHxP_VsQxA_0:t=>{t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},"26xg2Gr2SMhyBbeuP4Gyd":(t,e,n)=>{t.exports=function(t){var e=n.nc;e&&t.setAttribute("nonce",e)}},dtkot6vkbRaUsoJEDES7R:t=>{t.exports=function(t){var e=t.insertStyleElement(t);return{update:function(n){!function(t,e,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var s=n.sourceMap;s&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(s))))," */")),e.styleTagTransform(r,t,e.options)}(e,t,n)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},C1M3F6Amv1un8Oymzmaps: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))}}},dFjVjpLIqPHXndVmKHBAr:(t,e,n)=>{n.r(e),n.d(e,{default:()=>x});var r=n("oUJb3304lMyZvnOfS4I0C"),o=n.n(r),s=n("dtkot6vkbRaUsoJEDES7R"),a=n.n(s),c=n("CaFnM4hHDW3boCVl4K9be"),i=n.n(c),l=n("26xg2Gr2SMhyBbeuP4Gyd"),u=n.n(l),h=n("iXXFvpZZiGHxP_VsQxA_0"),p=n.n(h),f=n("C1M3F6Amv1un8Oymzmaps"),d=n.n(f),v=n("QDGAyMbnfkksw9vnJulLR"),y={};y.styleTagTransform=d(),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 n in e)m.o(e,n)&&!m.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e)},b={};m.d(b,{Z:()=>C});const g=[["xmlns","http://www.w3.org/2000/svg"],["viewBox","0 0 32 32"]];class C{constructor(t,e){this.container=t;for(let e=0;e<g.length;e++)t.setAttribute(g[e][0],g[e][1]);this.render(e),t.innerHTML='<path d="M17 13V6H8v16h16v-9zm-7-5h5v5h-5zm0 7h5v5h-5zm12 5h-5v-5h5z" fill="currentColor"></path> <path d="M28 11h-9V2h9zm-7-2h5V4h-5z" fill="currentColor"></path> <path d="M28 20h-2v2h2v6H4v-6h2v-2H4a2.002 2.002 0 0 0-2 2v6a2.002 2.002 0 0 0 2 2h24a2.002 2.002 0 0 0 2-2v-6a2.002 2.002 0 0 0-2-2z" fill="currentColor"></path> <circle cx="7" cy="25" r="1" fill="currentColor"></circle>'}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 n=0,r=Object.keys(e);n<r.length;n++){const o=r[n],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)}}C.tag="svg",C.props=[["size","class","color"],[],[]];const x=b.Z}}]);