iBet uBet web content aggregator. Adding the entire web to your favor.
iBet uBet web content aggregator. Adding the entire web to your favor.



Link to original content: https://cdn.vhx.tv/assets/vite/text-helpers.6e258858.js
import{c as z,g as k}from"./styled-components.browser.esm.b15de927.js";import{_ as j}from"./_isArray.3eafb232.js";import{a as l,_ as f,b as d}from"./_curry2.6f920f03.js";function q(r){throw new Error('Could not dynamically require "'+r+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var x={exports:{}};(function(r,n){(function(i,t){typeof q=="function"?r.exports=t():i.pluralize=t()})(z,function(){var i=[],t=[],p={},s={},o={};function y(e){return typeof e=="string"?new RegExp("^"+e+"$","i"):e}function g(e,a){return e===a?a:e===e.toLowerCase()?a.toLowerCase():e===e.toUpperCase()?a.toUpperCase():e[0]===e[0].toUpperCase()?a.charAt(0).toUpperCase()+a.substr(1).toLowerCase():a.toLowerCase()}function C(e,a){return e.replace(/\$(\d{1,2})/g,function(h,c){return a[c]||""})}function R(e,a){return e.replace(a[0],function(h,c){var m=C(a[1],arguments);return g(h===""?e[c-1]:h,m)})}function v(e,a,h){if(!e.length||p.hasOwnProperty(e))return a;for(var c=h.length;c--;){var m=h[c];if(m[0].test(a))return R(a,m)}return a}function b(e,a,h){return function(c){var m=c.toLowerCase();return a.hasOwnProperty(m)?g(c,m):e.hasOwnProperty(m)?g(c,e[m]):v(m,c,h)}}function w(e,a,h,c){return function(m){var $=m.toLowerCase();return a.hasOwnProperty($)?!0:e.hasOwnProperty($)?!1:v($,$,h)===$}}function u(e,a,h){var c=a===1?u.singular(e):u.plural(e);return(h?a+" ":"")+c}return u.plural=b(o,s,i),u.isPlural=w(o,s,i),u.singular=b(s,o,t),u.isSingular=w(s,o,t),u.addPluralRule=function(e,a){i.push([y(e),a])},u.addSingularRule=function(e,a){t.push([y(e),a])},u.addUncountableRule=function(e){if(typeof e=="string"){p[e.toLowerCase()]=!0;return}u.addPluralRule(e,"$0"),u.addSingularRule(e,"$0")},u.addIrregularRule=function(e,a){a=a.toLowerCase(),e=e.toLowerCase(),o[e]=a,s[a]=e},[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["passerby","passersby"]].forEach(function(e){return u.addIrregularRule(e[0],e[1])}),[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]].forEach(function(e){return u.addPluralRule(e[0],e[1])}),[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/\b((?:tit)?m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i,"$1"],[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]].forEach(function(e){return u.addSingularRule(e[0],e[1])}),["adulthood","advice","agenda","aid","aircraft","alcohol","ammo","analytics","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","firmware","flounder","fun","gallows","garbage","graffiti","hardware","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","mud","manga","news","only","personnel","pike","plankton","pliers","police","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","software","species","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[eé]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(u.addUncountableRule),u})})(x);var P=x.exports;const L=k(P);function E(r){return function n(i,t,p){switch(arguments.length){case 0:return n;case 1:return l(i)?n:f(function(s,o){return r(i,s,o)});case 2:return l(i)&&l(t)?n:l(i)?f(function(s,o){return r(s,t,o)}):l(t)?f(function(s,o){return r(i,s,o)}):d(function(s){return r(i,t,s)});default:return l(i)&&l(t)&&l(p)?n:l(i)&&l(t)?f(function(s,o){return r(s,o,p)}):l(i)&&l(p)?f(function(s,o){return r(s,t,o)}):l(t)&&l(p)?f(function(s,o){return r(i,s,o)}):l(i)?d(function(s){return r(s,t,p)}):l(t)?d(function(s){return r(i,s,p)}):l(p)?d(function(s){return r(i,t,s)}):r(i,t,p)}}}function _(r,n){return function(){var i=arguments.length;if(i===0)return n();var t=arguments[i-1];return j(t)||typeof t[r]!="function"?n.apply(this,arguments):t[r].apply(t,Array.prototype.slice.call(arguments,0,i-1))}}var U=E(_("slice",function(n,i,t){return Array.prototype.slice.call(t,n,i)}));const A=U,I=r=>typeof r=="string"?r.charAt(0).toUpperCase()+r.slice(1):r,W=(r,n,i)=>r?r.length<=i?r.substring(n,i):`${r.substring(n,i)} ...`:"",D=(r,n)=>{const i=r.match(/[^.,!?]+[.,!?]+/g);return r.length<=n?r:i!==null?i[0]:`${r.slice(0,n-3)}...`},T=(r,n)=>L(r,n),B=r=>A(0,1,r||"").toUpperCase();export{E as _,_ as a,A as b,I as c,q as d,B as g,T as p,D as s,W as t}; //# sourceMappingURL=text-helpers.6e258858.js.map