!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):e.numerifyOrdinal=n()}(this,function(){"use strict";return{regexp:/o/,format:function(e,n,t,o){var r,f,i=~n.indexOf(" o")?" ":"";return n=n.replace(/\s?o/,""),i+=(f=(r=e)%10,1==~~(r%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th"),o._numberToFormat(e,n,t)+i}}});