UNPKG

@hyper.fun/carbon-icon-calculation

Version:

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

1 lines • 5.62 kB
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([["NR-SmxAbU61bOKxJVx_YF","5JeUTPQe-TgT7s-Q_6wZE"],{"0o_tjNOfdqdmbGegqNbPb":(t,e,r)=>{r.d(e,{Z:()=>c});var n=r("zbNeQ-ysVOLMF9dXfpHoD"),o=r.n(n),a=r("M9cAr6pHXgko3s7eiBfAl"),s=r.n(a)()(o());s.push([t.id,"",""]);const c=s},M9cAr6pHXgko3s7eiBfAl: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,a){"string"==typeof t&&(t=[[null,t,void 0]]);var s={};if(n)for(var c=0;c<this.length;c++){var i=this[c][0];null!=i&&(s[i]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);n&&s[u[0]]||(void 0!==a&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=a),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}},"zbNeQ-ysVOLMF9dXfpHoD":t=>{t.exports=function(t){return t[1]}},Mj2dyt5qmZ0W50D1EqTk_: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 a={},s=[],c=0;c<t.length;c++){var i=t[c],l=n.base?i[0]+n.base:i[0],u=a[l]||0,p="".concat(l," ").concat(u);a[l]=u+1;var f=r(p),d={css:i[1],media:i[2],sourceMap:i[3],supports:i[4],layer:i[5]};if(-1!==f)e[f].references++,e[f].updater(d);else{var h=o(d,n);n.byIndex=c,e.splice(c,0,{identifier:p,updater:h,references:1})}s.push(p)}return s}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 a=n(t=t||[],o=o||{});return function(t){t=t||[];for(var s=0;s<a.length;s++){var c=r(a[s]);e[c].references--}for(var i=n(t,o),l=0;l<a.length;l++){var u=r(a[l]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}a=i}}},ZaDKPHf1e58bQDoE7RYw8: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)}},vXstDCK6q_hoCwq5GWroF:t=>{t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},"RuUoyNNNvLc-rtRPeXdJB":(t,e,r)=>{t.exports=function(t){var e=r.nc;e&&t.setAttribute("nonce",e)}},GLO7yyXRv4LalBfzyJs4E: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 a=r.sourceMap;a&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleTagTransform(n,t,e.options)}(e,t,r)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},Lt5wEcmNK3Q51aXCTUT_s: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))}}},lHDXyJIO57nDA9tNfFoMx:(t,e,r)=>{r.r(e),r.d(e,{default:()=>w});var n=r("Mj2dyt5qmZ0W50D1EqTk_"),o=r.n(n),a=r("GLO7yyXRv4LalBfzyJs4E"),s=r.n(a),c=r("ZaDKPHf1e58bQDoE7RYw8"),i=r.n(c),l=r("RuUoyNNNvLc-rtRPeXdJB"),u=r.n(l),p=r("vXstDCK6q_hoCwq5GWroF"),f=r.n(p),d=r("Lt5wEcmNK3Q51aXCTUT_s"),h=r.n(d),v=r("0o_tjNOfdqdmbGegqNbPb"),y={};y.styleTagTransform=h(),y.setAttributes=u(),y.insert=i().bind(null,"head"),y.domAPI=s(),y.insertStyleElement=f();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)},b={};m.d(b,{Z:()=>L});const g=[["xmlns","http://www.w3.org/2000/svg"],["viewBox","0 0 32 32"]];class L{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="M14 8h-4V4H8v4H4v2h4v4h2v-4h4V8z" fill="currentColor"></path> <path d="M4 19h10v2H4z" fill="currentColor"></path> <path d="M4 24h10v2H4z" fill="currentColor"></path> <path d="M18 8h10v2H18z" fill="currentColor"></path> <path d="M24.41 22L28 18.41L26.59 17L23 20.59L19.41 17L18 18.41L21.59 22L18 25.59L19.41 27L23 23.41L26.59 27L28 25.59L24.41 22z" 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],a=e[o];"style"!==o?"function"==typeof a?t[o]=function(t){a(t)}:t.setAttribute(o,a):"object"==typeof a?Object.assign(t.style,a):t.style.cssText+=a}}(this.container,t.others)}}L.tag="svg",L.props=[["size","class","color"],[],[]];const w=b.Z}}]);