From d1b8b8a2ea5495ce236bb9b57d617fabfce12822 Mon Sep 17 00:00:00 2001 From: Yulqen <246857+yulqen@users.noreply.github.com> Date: Wed, 17 Apr 2024 14:57:02 +0100 Subject: Initial commit --- govuk-frontend/govuk-frontend-4.0.0.min.js | 1 + 1 file changed, 1 insertion(+) create mode 100644 govuk-frontend/govuk-frontend-4.0.0.min.js (limited to 'govuk-frontend/govuk-frontend-4.0.0.min.js') diff --git a/govuk-frontend/govuk-frontend-4.0.0.min.js b/govuk-frontend/govuk-frontend-4.0.0.min.js new file mode 100644 index 0000000..56ea78f --- /dev/null +++ b/govuk-frontend/govuk-frontend-4.0.0.min.js @@ -0,0 +1 @@ +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define("GOVUKFrontend",["exports"],e):e(t.GOVUKFrontend={})}(this,function(t){"use strict";function s(t,e){if(window.NodeList.prototype.forEach)return t.forEach(e);for(var n=0;n>>0,"object"==typeof i[s]?i[s].baseVal=a.join(" "):i[s]=a.join(" "),u())},r.remove=function(){d.apply(r,t=arguments);for(var t,e={},n=0,o=[];n>>0,"object"==typeof i[s]?i[s].baseVal=a.join(" "):i[s]=a.join(" "),u()},r.toggle=function(t,e){return d.apply(r,[t]),o!==e?e?(r.add(t),!0):(r.remove(t),!1):l[t]?(r.remove(t),!1):(r.add(t),!0)},r}}()),"classList"in(n=document.createElement("span"))&&(n.classList.toggle("x",!1),n.classList.contains("x")&&(n.classList.constructor.prototype.toggle=function(t){var e=arguments[1];if(e!==o)return this[(e=!!e)?"add":"remove"](t),e;var n=!this.contains(t);return this[n?"add":"remove"](t),n})),function(){var t=document.createElement("span");if("classList"in t&&(t.classList.add("a","b"),!t.classList.contains("b"))){var o=t.classList.constructor.prototype.add;t.classList.constructor.prototype.add=function(){for(var t=arguments,e=arguments.length,n=0;n