{"version":3,"file":"stringPolyfills.CajUyLTs.js","sources":["../Client/shared/Polyfills/String.ts"],"sourcesContent":["if (!String.prototype.includes) {\r\n    String.prototype.includes = function (search) {\r\n        return this.indexOf(search) > -1;\r\n    };\r\n}\r\n\r\n// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/startsWith#Polyfill\r\nif (!String.prototype.startsWith) {\r\n    Object.defineProperty(String.prototype, 'startsWith', {\r\n        value: function (search, rawPos) {\r\n            let pos = rawPos > 0 ? rawPos | 0 : 0;\r\n            return this.substring(pos, pos + search.length) === search;\r\n        },\r\n    });\r\n}\r\n\r\nString.prototype.capitalize = function () {\r\n    return this.length ? this[0].toUpperCase() + this.substring(1).toLowerCase() : '';\r\n};\r\n"],"names":["search","rawPos","pos"],"mappings":"AAAK,OAAO,UAAU,WACX,OAAA,UAAU,SAAW,SAAUA,EAAQ,CACnC,OAAA,KAAK,QAAQA,CAAM,EAAI,EAClC,GAIC,OAAO,UAAU,YACX,OAAA,eAAe,OAAO,UAAW,aAAc,CAClD,MAAO,SAAUA,EAAQC,EAAQ,CAC7B,IAAIC,EAAMD,EAAS,EAAIA,EAAS,EAAI,EACpC,OAAO,KAAK,UAAUC,EAAKA,EAAMF,EAAO,MAAM,IAAMA,CAAA,CACxD,CACH,EAGL,OAAO,UAAU,WAAa,UAAY,CACtC,OAAO,KAAK,OAAS,KAAK,CAAC,EAAE,cAAgB,KAAK,UAAU,CAAC,EAAE,YAAgB,EAAA,EACnF"}