diff --git a/assets/cookie-modal.js b/assets/cookie-modal.js index 4e8514b..156b1d3 100644 --- a/assets/cookie-modal.js +++ b/assets/cookie-modal.js @@ -6,5 +6,5 @@ var e;!function(n){var t;if("function"==typeof e&&e.amd&&(e(n),t=!0),"object"==t },{}],"xp7R":[function(require,module,exports) { "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t=function(e,n){return this instanceof t?e instanceof t?e:("string"==typeof e&&(e=this.select(e,n)),e&&e.nodeName&&(e=[e]),void(this.nodes=this.slice(e))):new t(e,n)};t.prototype={get length(){return this.nodes.length}},t.prototype.nodes=[],t.prototype.addClass=function(){return this.eacharg(arguments,function(t,e){t.classList.add(e)})},t.prototype.adjacent=function(e,n,r){return"number"==typeof n&&(n=0===n?[]:new Array(n).join().split(",").map(Number.call,Number)),this.each(function(o,i){var c=document.createDocumentFragment();t(n||{}).map(function(n,r){var c="function"==typeof e?e.call(this,n,r,o,i):e;return"string"==typeof c?this.generate(c):t(c)}).each(function(e){this.isInPage(e)?c.appendChild(t(e).clone().first()):c.appendChild(e)}),r.call(this,o,c)})},t.prototype.after=function(t,e){return this.adjacent(t,e,function(t,e){t.parentNode.insertBefore(e,t.nextSibling)})},t.prototype.append=function(t,e){return this.adjacent(t,e,function(t,e){t.appendChild(e)})},t.prototype.args=function(t,e,n){return"function"==typeof t&&(t=t(e,n)),"string"!=typeof t&&(t=this.slice(t).map(this.str(e,n))),t.toString().split(/[\s,]+/).filter(function(t){return t.length})},t.prototype.array=function(e){e=e;var n=this;return this.nodes.reduce(function(r,o,i){var c;return e?((c=e.call(n,o,i))||(c=!1),"string"==typeof c&&(c=t(c)),c instanceof t&&(c=c.nodes)):c=o.innerHTML,r.concat(!1!==c?c:[])},[])},t.prototype.attr=function(t,e,n){return n=n?"data-":"",this.pairs(t,e,function(t,e){return t.getAttribute(n+e)},function(t,e,r){t.setAttribute(n+e,r)})},t.prototype.before=function(t,e){return this.adjacent(t,e,function(t,e){t.parentNode.insertBefore(e,t)})},t.prototype.children=function(t){return this.map(function(t){return this.slice(t.children)}).filter(t)},t.prototype.clone=function(){return this.map(function(t,e){var n=t.cloneNode(!0),r=this.getAll(n);return this.getAll(t).each(function(t,e){for(var n in this.mirror)this.mirror[n]&&this.mirror[n](t,r.nodes[e])}),n})},t.prototype.getAll=function(e){return t([e].concat(t("*",e).nodes))},t.prototype.mirror={},t.prototype.mirror.events=function(e,n){if(e._e)for(var r in e._e)e._e[r].forEach(function(e){t(n).on(r,e.callback)})},t.prototype.mirror.select=function(e,n){t(e).is("select")&&(n.value=e.value)},t.prototype.mirror.textarea=function(e,n){t(e).is("textarea")&&(n.value=e.value)},t.prototype.closest=function(e){return this.map(function(n){do{if(t(n).is(e))return n}while((n=n.parentNode)&&n!==document)})},t.prototype.data=function(t,e){return this.attr(t,e,!0)},t.prototype.each=function(t){return this.nodes.forEach(t.bind(this)),this},t.prototype.eacharg=function(t,e){return this.each(function(n,r){this.args(t,n,r).forEach(function(t){e.call(this,n,t)},this)})},t.prototype.empty=function(){return this.each(function(t){for(;t.firstChild;)t.removeChild(t.firstChild)})},t.prototype.filter=function(e){var n=function(t){return t.matches=t.matches||t.msMatchesSelector||t.webkitMatchesSelector,t.matches(e||"*")};return"function"==typeof e&&(n=e),e instanceof t&&(n=function(t){return-1!==e.nodes.indexOf(t)}),t(this.nodes.filter(n))},t.prototype.find=function(e){return this.map(function(n){return t(e||"*",n)})},t.prototype.first=function(){return this.nodes[0]||!1},t.prototype.generate=function(e){return/^\s*