1
0
Fork 0
QuotationMaker/wwwroot/assets/javascript/pages/cookieconsent-demo.min.js

3 lines
1.1 KiB
JavaScript

"use strict";function _classCallCheck(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,n){for(var o=0;o<n.length;o++){var t=n[o];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}}function _createClass(e,n,o){return n&&_defineProperties(e.prototype,n),o&&_defineProperties(e,o),e}var CookieconsentDemo=function(){function e(){_classCallCheck(this,e),this.init()}return _createClass(e,[{key:"init",value:function(){this.handleCookie()}},{key:"handleCookie",value:function(){window.cookieconsent.initialise({container:document.querySelector("#cookieDemo"),palette:{popup:{background:"#131D28"},button:{background:"#F7C46C"}},revokable:!1,onStatusChange:function(){},law:{regionalLaw:!1},location:!1,content:{message:"This website uses cookies to ensure you get the best experience on our website.",dismiss:"Got it"}})}}]),e}();$(document).on("theme:init",function(){new CookieconsentDemo});
//# sourceMappingURL=../../sourcemaps/pages/cookieconsent-demo.min.js.map