JSFiddle - React, Tailwind, and code Playground

JavaScript

function cookieControl(a) {
    if (typeof(a) == "undefined") {
        a = {
            pollPeriod: 25,
            pollIncrement: 1.25
        }
    }
    a.pollPeriod = a.pollPeriod || 25;
    a.pollIncrement = a.pollIncrement || 1.25;
    a.jQueryUrl = a.jQueryUrl || "http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js";
    if (typeof(jQuery) == "undefined" || parseInt(jQuery.fn.jquery.replace(/\./g, "")) < 144) {
        document.write('<script type="text/javascript" src="' + a.jQueryUrl + '"><\/script>')
    }
    _cookieControlPoll(a)
}
function _cookieControlPoll(a) {
    if (typeof(jQuery) == "undefined") {
        setTimeout(function() {
            _cookieControlPoll(a)
        }, a.pollPeriod);
        a.pollPeriod *= a.pollIncrement
    } else {
        jQuery(function() {
            CookieControl.init(a)
        })
    }
}
var CookieControl = {
    options: {
        countries: "United Kingdom",
        shape: "triangle",
        position: "left",
        theme: "light",
        introText: "~introduction_text",
        fullText: "~full_text",
        cookieName: "civicAllowCookies",
        iconStatusCookieName: "civicShowCookieIcon",
        cookiePath: "/",
        clickFadeSpeed: 200,
        acceptDelay: 400,
        startOpen: false,
        autoHide: 60000,
        subdomains: true,
        css: "div#cccwr div{font:11px/16px sans-serif;margin:0;text-align:left}div#cccwr #ccc-icon{cursor:pointer;display:none;z-index:9999;bottom:0;left:0;position:fixed}div#ccc-icon button{background:transparent...