{"version":3,"sources":["webpack:///./node_modules/tiny-slider/src/helpers/whichProperty.js"],"names":["whichProperty","props","arr","Props","charAt","toUpperCase","substr","forEach","prefix","push","el","document","createElement","i","length","prop","undefined","style"],"mappings":"0FAAO,SAASA,EAAcC,GAC5B,GAAqB,iBAAVA,EAAoB,CAC7B,IAAIC,EAAM,CAACD,GACPE,EAAQF,EAAMG,OAAO,GAAGC,cAAgBJ,EAAMK,OAAO,GAC1C,CAAC,SAAU,MAAO,KAAM,KAE9BC,SAAQ,SAASC,GACT,OAAXA,GAA6B,cAAVP,GACrBC,EAAIO,KAAKD,EAASL,MAItBF,EAAQC,EAKV,IAFA,IAAIQ,EAAKC,SAASC,cAAc,eAExBC,GADEZ,EAAMa,OACJ,GAAGD,EAAIZ,EAAMa,OAAQD,IAAI,CACnC,IAAIE,EAAOd,EAAMY,GACjB,QAAuBG,IAAnBN,EAAGO,MAAMF,GAAuB,OAAOA,EAG7C,OAAO,EAtBT","file":"whichProperty.ce9494e5.js","sourcesContent":["export function whichProperty(props){\n if (typeof props === 'string') {\n var arr = [props],\n Props = props.charAt(0).toUpperCase() + props.substr(1),\n prefixes = ['Webkit', 'Moz', 'ms', 'O'];\n \n prefixes.forEach(function(prefix) {\n if (prefix !== 'ms' || props === 'transform') {\n arr.push(prefix + Props);\n }\n });\n\n props = arr;\n }\n\n var el = document.createElement('fakeelement'),\n len = props.length;\n for(var i = 0; i < props.length; i++){\n var prop = props[i];\n if( el.style[prop] !== undefined ){ return prop; }\n }\n\n return false; // explicit for ie9-\n}\n"],"sourceRoot":""}