@tarojs/components
Version:
7 lines • 1.01 kB
JavaScript
function createCommonjsModule(r,e,n){return n={path:e,exports:{},require:function(r,e){return commonjsRequire()}},r(n,n.exports),n.exports}function commonjsRequire(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var classnames=createCommonjsModule((function(r){
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
(function(){var e={}.hasOwnProperty;function n(){var r=[];for(var o=0;o<arguments.length;o++){var t=arguments[o];if(!t)continue;var i=typeof t;if(i==="string"||i==="number"){r.push(t)}else if(Array.isArray(t)){if(t.length){var s=n.apply(null,t);if(s){r.push(s)}}}else if(i==="object"){if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]")){r.push(t.toString());continue}for(var u in t){if(e.call(t,u)&&t[u]){r.push(u)}}}}return r.join(" ")}if(r.exports){n.default=n;r.exports=n}else{window.classNames=n}})()}));export{classnames as c};