{"version":3,"file":"static/js/npm.jss-plugin-props-sort.786de0de.js","mappings":"4HA2BA,QAxBA,WACE,IAAIA,EAAO,SAAcC,EAAOC,GAC9B,OAAID,EAAME,SAAWD,EAAMC,OAClBF,EAAQC,EAAQ,GAAK,EAGvBD,EAAME,OAASD,EAAMC,MAC9B,EAEA,MAAO,CACLC,eAAgB,SAAwBC,EAAOC,GAC7C,GAAkB,UAAdA,EAAKC,KAAkB,OAAOF,EAIlC,IAHA,IAAIG,EAAW,CAAC,EACZC,EAAQC,OAAOC,KAAKN,GAAOL,KAAKA,GAE3BY,EAAI,EAAGA,EAAIH,EAAMN,OAAQS,IAChCJ,EAASC,EAAMG,IAAMP,EAAMI,EAAMG,IAGnC,OAAOJ,CACT,EAEJ,C","sources":["webpack://drbinaryweb/./node_modules/jss-plugin-props-sort/dist/jss-plugin-props-sort.esm.js"],"sourcesContent":["/**\n * Sort props by length.\n */\nfunction jssPropsSort() {\n var sort = function sort(prop0, prop1) {\n if (prop0.length === prop1.length) {\n return prop0 > prop1 ? 1 : -1;\n }\n\n return prop0.length - prop1.length;\n };\n\n return {\n onProcessStyle: function onProcessStyle(style, rule) {\n if (rule.type !== 'style') return style;\n var newStyle = {};\n var props = Object.keys(style).sort(sort);\n\n for (var i = 0; i < props.length; i++) {\n newStyle[props[i]] = style[props[i]];\n }\n\n return newStyle;\n }\n };\n}\n\nexport default jssPropsSort;\n"],"names":["sort","prop0","prop1","length","onProcessStyle","style","rule","type","newStyle","props","Object","keys","i"],"sourceRoot":""}