UNPKG

tailwindcss-js

Version:
3 lines (2 loc) 2 kB
function t(t,e,o){if(n())return Reflect.construct.apply(null,arguments);var u=[null];u.push.apply(u,e);var c=new(t.bind.apply(t,u));return o&&r(c,o.prototype),c}function n(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!t})()}function e(){return e=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},e.apply(this,arguments)}function r(t,n){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,n){return t.__proto__=n,t},r(t,n)}function o(t){var n={exports:{}};return t(n,n.exports),n.exports}var u=o(function(t,n){function e(t,n){return{handler:t,config:n}}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r}}),e.withOptions=function(t,n=(()=>({}))){const e=function(e){return{__options:e,handler:t(e),config:n(e)}};return e.__isOptionsFunction=!0,e.__pluginFunction=t,e.__configFunction=n,e};const r=e}),c=o(function(t,n){function e(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return r}});const r=/*#__PURE__*/e(u).default}),i=(c.__esModule?c:{default:c}).default.withOptions(function(n){return void 0===n&&(n={}),function(r){var o,u=r.matchUtilities,c=e({theme:r.theme,config:r.config},null!=(o=n)?o:{});u({js:function(n){var e,r=function(t){return t.replace(/_/g,"\\_").replace(/ /g,"_")};return(e={})["@apply "+r(n.slice(1,-1)).split(/(#{.*?})/g).map(function(t,n){return n%2==1?t.slice(2,-1):t}).map(function(n,e){if(e%2==0)return n;var o,u=Object.keys(c),i=Object.values(c),a=t(Function,u.concat(["return "+(o=n,o.replace(/(?<!\\)_/g," ").replace(/\\_/g,"_")+";")]));return r(""+a.apply(void 0,i))}).join("")]={},e}})}});export{i as default}; //# sourceMappingURL=index.module.js.map