Sha256: 5dd11440c41503eb066faf75096d383f2b2430097e4886579cbd67d282ccd900

Contents?: true

Size: 1.28 KB

Versions: 75

Compression:

Stored size: 1.28 KB

Contents

{"version":3,"file":"trim.js","sources":["../../../../../../src/govuk/vendor/polyfills/String/prototype/trim.mjs"],"sourcesContent":["// @ts-nocheck\n(function (undefined) {\n\n    // Detection from https://github.com/mdn/content/blob/cf607d68522cd35ee7670782d3ee3a361eaef2e4/files/en-us/web/javascript/reference/global_objects/string/trim/index.md#polyfill\n    var detect = ('trim' in String.prototype)\n\n    if (detect) return\n\n    // Polyfill from https://github.com/mdn/content/blob/cf607d68522cd35ee7670782d3ee3a361eaef2e4/files/en-us/web/javascript/reference/global_objects/string/trim/index.md#polyfill\n    String.prototype.trim = function () {\n        return this.replace(/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g, '');\n    };\n\n}).call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});\n"],"names":[],"mappings":";;;;;;IAAA;IACA,CAAC,UAAU,SAAS,EAAE;;IAEtB;IACA,IAAI,IAAI,MAAM,IAAI,MAAM,IAAI,MAAM,CAAC,SAAS,EAAC;;IAE7C,IAAI,IAAI,MAAM,EAAE,MAAM;;IAEtB;IACA,IAAI,MAAM,CAAC,SAAS,CAAC,IAAI,GAAG,YAAY;IACxC,QAAQ,OAAO,IAAI,CAAC,OAAO,CAAC,oCAAoC,EAAE,EAAE,CAAC,CAAC;IACtE,KAAK,CAAC;;IAEN,CAAC,EAAE,IAAI,CAAC,QAAQ,KAAK,OAAO,MAAM,IAAI,MAAM,IAAI,QAAQ,KAAK,OAAO,IAAI,IAAI,IAAI,IAAI,QAAQ,KAAK,OAAO,MAAM,IAAI,MAAM,IAAI,EAAE,CAAC,CAAC;;;;"}

Version data entries

75 entries across 75 versions & 1 rubygems

Version Path
govuk_publishing_components-39.2.5 node_modules/govuk-frontend/govuk/vendor/polyfills/String/prototype/trim.js.map
govuk_publishing_components-39.2.4 node_modules/govuk-frontend/govuk/vendor/polyfills/String/prototype/trim.js.map
govuk_publishing_components-39.2.3 node_modules/govuk-frontend/govuk/vendor/polyfills/String/prototype/trim.js.map
govuk_publishing_components-39.2.2 node_modules/govuk-frontend/govuk/vendor/polyfills/String/prototype/trim.js.map
govuk_publishing_components-39.2.1 node_modules/govuk-frontend/govuk/vendor/polyfills/String/prototype/trim.js.map
govuk_publishing_components-39.2.0 node_modules/govuk-frontend/govuk/vendor/polyfills/String/prototype/trim.js.map
govuk_publishing_components-39.1.0 node_modules/govuk-frontend/govuk/vendor/polyfills/String/prototype/trim.js.map
govuk_publishing_components-39.0.0 node_modules/govuk-frontend/govuk/vendor/polyfills/String/prototype/trim.js.map
govuk_publishing_components-38.4.2 node_modules/govuk-frontend/govuk/vendor/polyfills/String/prototype/trim.js.map
govuk_publishing_components-38.1.1 node_modules/govuk-frontend/govuk/vendor/polyfills/String/prototype/trim.js.map
govuk_publishing_components-38.1.0 node_modules/govuk-frontend/govuk/vendor/polyfills/String/prototype/trim.js.map
govuk_publishing_components-38.0.1 node_modules/govuk-frontend/govuk/vendor/polyfills/String/prototype/trim.js.map
govuk_publishing_components-38.0.0 node_modules/govuk-frontend/govuk/vendor/polyfills/String/prototype/trim.js.map
govuk_publishing_components-37.10.0 node_modules/govuk-frontend/govuk/vendor/polyfills/String/prototype/trim.js.map
govuk_publishing_components-37.9.1 node_modules/govuk-frontend/govuk/vendor/polyfills/String/prototype/trim.js.map
govuk_publishing_components-37.9.0 node_modules/govuk-frontend/govuk/vendor/polyfills/String/prototype/trim.js.map
govuk_publishing_components-37.8.1 node_modules/govuk-frontend/govuk/vendor/polyfills/String/prototype/trim.js.map
govuk_publishing_components-37.8.0 node_modules/govuk-frontend/govuk/vendor/polyfills/String/prototype/trim.js.map
govuk_publishing_components-37.7.1 node_modules/govuk-frontend/govuk/vendor/polyfills/String/prototype/trim.js.map
govuk_publishing_components-37.7.0 node_modules/govuk-frontend/govuk/vendor/polyfills/String/prototype/trim.js.map