GoScrobble/web/node_modules/.cache/babel-loader/b9e41db0483e680e20639c87443bf25e.json

1 line
2.9 KiB
JSON

{"ast":null,"code":"function toVal(mix) {\n var k,\n y,\n str = '';\n\n if (typeof mix === 'string' || typeof mix === 'number') {\n str += mix;\n } else if (typeof mix === 'object') {\n if (Array.isArray(mix)) {\n for (k = 0; k < mix.length; k++) {\n if (mix[k]) {\n if (y = toVal(mix[k])) {\n str && (str += ' ');\n str += y;\n }\n }\n }\n } else {\n for (k in mix) {\n if (mix[k]) {\n str && (str += ' ');\n str += k;\n }\n }\n }\n }\n\n return str;\n}\n\nexport default function () {\n var i = 0,\n tmp,\n x,\n str = '';\n\n while (i < arguments.length) {\n if (tmp = arguments[i++]) {\n if (x = toVal(tmp)) {\n str && (str += ' ');\n str += x;\n }\n }\n }\n\n return str;\n}","map":{"version":3,"sources":["/app/node_modules/clsx/dist/clsx.m.js"],"names":["toVal","mix","k","y","str","Array","isArray","length","i","tmp","x","arguments"],"mappings":"AAAA,SAASA,KAAT,CAAeC,GAAf,EAAoB;AACnB,MAAIC,CAAJ;AAAA,MAAOC,CAAP;AAAA,MAAUC,GAAG,GAAC,EAAd;;AAEA,MAAI,OAAOH,GAAP,KAAe,QAAf,IAA2B,OAAOA,GAAP,KAAe,QAA9C,EAAwD;AACvDG,IAAAA,GAAG,IAAIH,GAAP;AACA,GAFD,MAEO,IAAI,OAAOA,GAAP,KAAe,QAAnB,EAA6B;AACnC,QAAII,KAAK,CAACC,OAAN,CAAcL,GAAd,CAAJ,EAAwB;AACvB,WAAKC,CAAC,GAAC,CAAP,EAAUA,CAAC,GAAGD,GAAG,CAACM,MAAlB,EAA0BL,CAAC,EAA3B,EAA+B;AAC9B,YAAID,GAAG,CAACC,CAAD,CAAP,EAAY;AACX,cAAIC,CAAC,GAAGH,KAAK,CAACC,GAAG,CAACC,CAAD,CAAJ,CAAb,EAAuB;AACtBE,YAAAA,GAAG,KAAKA,GAAG,IAAI,GAAZ,CAAH;AACAA,YAAAA,GAAG,IAAID,CAAP;AACA;AACD;AACD;AACD,KATD,MASO;AACN,WAAKD,CAAL,IAAUD,GAAV,EAAe;AACd,YAAIA,GAAG,CAACC,CAAD,CAAP,EAAY;AACXE,UAAAA,GAAG,KAAKA,GAAG,IAAI,GAAZ,CAAH;AACAA,UAAAA,GAAG,IAAIF,CAAP;AACA;AACD;AACD;AACD;;AAED,SAAOE,GAAP;AACA;;AAED,eAAe,YAAY;AAC1B,MAAII,CAAC,GAAC,CAAN;AAAA,MAASC,GAAT;AAAA,MAAcC,CAAd;AAAA,MAAiBN,GAAG,GAAC,EAArB;;AACA,SAAOI,CAAC,GAAGG,SAAS,CAACJ,MAArB,EAA6B;AAC5B,QAAIE,GAAG,GAAGE,SAAS,CAACH,CAAC,EAAF,CAAnB,EAA0B;AACzB,UAAIE,CAAC,GAAGV,KAAK,CAACS,GAAD,CAAb,EAAoB;AACnBL,QAAAA,GAAG,KAAKA,GAAG,IAAI,GAAZ,CAAH;AACAA,QAAAA,GAAG,IAAIM,CAAP;AACA;AACD;AACD;;AACD,SAAON,GAAP;AACA","sourcesContent":["function toVal(mix) {\n\tvar k, y, str='';\n\n\tif (typeof mix === 'string' || typeof mix === 'number') {\n\t\tstr += mix;\n\t} else if (typeof mix === 'object') {\n\t\tif (Array.isArray(mix)) {\n\t\t\tfor (k=0; k < mix.length; k++) {\n\t\t\t\tif (mix[k]) {\n\t\t\t\t\tif (y = toVal(mix[k])) {\n\t\t\t\t\t\tstr && (str += ' ');\n\t\t\t\t\t\tstr += y;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tfor (k in mix) {\n\t\t\t\tif (mix[k]) {\n\t\t\t\t\tstr && (str += ' ');\n\t\t\t\t\tstr += k;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn str;\n}\n\nexport default function () {\n\tvar i=0, tmp, x, str='';\n\twhile (i < arguments.length) {\n\t\tif (tmp = arguments[i++]) {\n\t\t\tif (x = toVal(tmp)) {\n\t\t\t\tstr && (str += ' ');\n\t\t\t\tstr += x\n\t\t\t}\n\t\t}\n\t}\n\treturn str;\n}\n"]},"metadata":{},"sourceType":"module"}