text: /*! Case - v1.6.2 - 2020-03-24
  * Copyright (c) 2020 Nathan Bubna; Licensed MIT, GPL */
  
  (function(){"use strict";function e(e,n){return n=n||"",e.replace(/(^|-)/g,"$1\\u"+n).replace(/,/g,"\\u"+n)}function n(e,n,r,t){return e=e||l,n=n||p,r=r||o,t=t||"A|An|And|As|At|But|By|En|For|If|In|Of|On|Or|The|To|Vs?\\.?|Via",{capitalize:new RegExp("(^|["+e+"])(["+n+"])","g"),pascal:new RegExp("(^|["+e+"])+(["+n+r+"])","g"),fill:new RegExp("["+e+"]+(.|$)","g"),sentence:new RegExp('(^\\s*|[\\?\\!\\.]+"?\\s+"?|,\\s+")(['+n+"])","g"),improper:new RegExp("\\b("+t+")\\b","g"),relax:new RegExp("([^"+r+"])(["+r+"]*)(["+r+"])(?=[^"+r+"]|$)","g"),upper:new RegExp("^[^"+n+"]+$"),hole:/[^\s]\s[^\s]/,apostrophe:/'/g,room:new RegExp("["+e+"]")}}var l=e("20-26,28-2F,3A-40,5B-60,7B-7E,A0-BF,D7,F7","00"),p="a-z"+e("DF-F6,F8-FF","00"),o="A-Z"+e("C0-D6,D8-DE","00"),u=n(),c={re:u,unicodes:e,regexps:n,types:[],up:String.prototype.toUpperCase,low:String.prototype.toLowerCase,cap:function(e){return c.up.call(e.charAt(0))+e.slice(1)},decap:function(e){return c.low.call(e.charAt(0))+e.slice(1)},deapostrophe:function(e){return e.replace(u.apostrophe,"")},fill:function(e,r,n){return null!=r&&(e=e.replace(u.fill,function(e,n){return n?r+n:""})),n&&(e=c.deapostrophe(e)),e},prep:function(e,n,r,t){if(e=null==e?"":e+"",!t&&u.upper.test(e)&&(e=c.low.call(e)),!n&&!u.hole.test(e)){var l=c.fill(e," ");u.hole.test(l)&&(e=l)}return r||u.room.test(e)||(e=e.replace(u.relax,c.relax)),e},relax:function(e,n,r,t){return n+" "+(r?r+" ":"")+t}},t={_:c,of:function(e){for(var n=0,r=c.types.length;n<r;n++)if(t[c.types[n]].apply(t,arguments)===e)return c.types[n]},flip:function(e){return e.replace(/\w/g,function(e){return(e==c.up.call(e)?c.low:c.up).call(e)})},random:function(e){return e.replace(/\w/g,function(e){return(Math.round(Math.random())?c.up:c.low).call(e)})},type:function(e,n){t[e]=n,c.types.push(e)}},r={lower:function(e,n,r){return c.fill(c.low.call(c.prep(e,n)),n,r)},snake:function(e){return t.lower(e,"_",!0)},constant:function(e){return t.upper(e,"_",!0)},camel:function(e){return c.decap(t.pascal(e))},kebab:function(e){return t.lower(e,"-",!0)},upper:function(e,n,r){return c.fill(c.up.call(c.prep(e,n,!1,!0)),n,r)},capital:function(e,n,r){return c.fill(c.prep(e).replace(u.capitalize,function(e,n,r){return n+c.up.call(r)}),n,r)},header:function(e){return t.capital(e,"-",!0)},pascal:function(e){return c.fill(c.prep(e,!1,!0).replace(u.pascal,function(e,n,r){return c.up.call(r)}),"",!0)},title:function(e){return t.capital(e).replace(u.improper,function(e,n,r,t){return 0<r&&r<t.lastIndexOf(" ")?c.low.call(e):e})},sentence:function(n,e,r){return n=t.lower(n).replace(u.sentence,function(e,n,r){return n+c.up.call(r)}),e&&e.forEach(function(e){n=n.replace(new RegExp("\\b"+t.lower(e)+"\\b","g"),c.cap)}),r&&r.forEach(function(e){n=n.replace(new RegExp("(\\b"+t.lower(e)+"\\. +)(\\w)"),function(e,n,r){return n+c.low.call(r)})}),n}};for(var a in r.squish=r.pascal,t.default=t,r)t.type(a,r[a]);var i="function"==typeof i?i:function(){};i("object"==typeof module&&module.exports?module.exports=t:this.Case=t)}).call(this);
  //# sourceMappingURL=Case.min.js.map