UNPKG

@hyper.fun/tabler-text-resize

Version:

👉 https://hyper.fun/c/tabler-text-resize/1.3.0

1 lines • 5.69 kB
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([["DUvWo7Kwed-35UMBOwFdf","XUt7oSMizugslFm-7SzH4"],{"VBDKFo0mPN-b1LXNlrAx1":(t,e,r)=>{r.d(e,{Z:()=>a});var n=r("Enu--_dWpguJg-1mZplpO"),o=r.n(n),s=r("Mn9PQmKyc4SYm9vz7Qk9Y"),c=r.n(s)()(o());c.push([t.id,"",""]);const a=c},Mn9PQmKyc4SYm9vz7Qk9Y: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 c={};if(n)for(var a=0;a<this.length;a++){var i=this[a][0];null!=i&&(c[i]=!0)}for(var l=0;l<t.length;l++){var u=[].concat(t[l]);n&&c[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}},"Enu--_dWpguJg-1mZplpO":t=>{t.exports=function(t){return t[1]}},LS6l1i0On5pCVFBgM72gQ: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={},c=[],a=0;a<t.length;a++){var i=t[a],l=n.base?i[0]+n.base:i[0],u=s[l]||0,p="".concat(l," ").concat(u);s[l]=u+1;var d=r(p),f={css:i[1],media:i[2],sourceMap:i[3],supports:i[4],layer:i[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var h=o(f,n);n.byIndex=a,e.splice(a,0,{identifier:p,updater:h,references:1})}c.push(p)}return c}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 c=0;c<s.length;c++){var a=r(s[c]);e[a].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}}},"L-cOAmddUDlaZsMibHJlX":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)}},"htWZLXtwMykobQ3H-6sSI":t=>{t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},PfQyq_0ftxJBjtJhZyo_J:(t,e,r)=>{t.exports=function(t){var e=r.nc;e&&t.setAttribute("nonce",e)}},"g-N5RbIvvQZuDZvHKcSXb":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)}}}},"up9kn9LG3ZXN-4feKsIsE":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))}}},jSRQG1wopjf9P36_S63LY:(t,e,r)=>{r.r(e),r.d(e,{default:()=>x});var n=r("LS6l1i0On5pCVFBgM72gQ"),o=r.n(n),s=r("g-N5RbIvvQZuDZvHKcSXb"),c=r.n(s),a=r("L-cOAmddUDlaZsMibHJlX"),i=r.n(a),l=r("PfQyq_0ftxJBjtJhZyo_J"),u=r.n(l),p=r("htWZLXtwMykobQ3H-6sSI"),d=r.n(p),f=r("up9kn9LG3ZXN-4feKsIsE"),h=r.n(f),v=r("VBDKFo0mPN-b1LXNlrAx1"),y={};y.styleTagTransform=h(),y.setAttributes=u(),y.insert=i().bind(null,"head"),y.domAPI=c(),y.insertStyleElement=d();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:()=>M});const b=[["xmlns","http://www.w3.org/2000/svg"],["viewBox","0 0 24 24"]];class M{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='<g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> <circle cx="5" cy="5" r="2"></circle> <circle cx="19" cy="5" r="2"></circle> <circle cx="5" cy="19" r="2"></circle> <circle cx="19" cy="19" r="2"></circle> <path d="M5 7v10"></path> <path d="M7 5h10"></path> <path d="M7 19h10"></path> <path d="M19 7v10"></path> <path d="M10 10h4"></path> <path d="M12 14v-4"></path> </g>'}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)}}M.tag="svg",M.props=[["size","class","color"],[],[]];const x=g.Z}}]);