@everymatrix/casino-filter 1.13.10 → 1.13.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -101,11 +101,11 @@ Y.prototype.append=function(e,t){e=K(e),t=W(t);var r=this.map[e];this.map[e]=r?r
101
101
  // Search for a '_' parameter in the query string
102
102
  var o=/([?&])_=[^&]*/;if(o.test(this.url))
103
103
  // If it already exists then set the value with the current time
104
- this.url=this.url.replace(o,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function ie(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),i=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(i))}})),t}function oe(e,t){if(!(this instanceof oe))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new Y(t.headers),this.url=t.url||"",this._initBody(e)}ne.prototype.clone=function(){return new ne(this,{body:this._bodyInit})},te.call(ne.prototype),te.call(oe.prototype),oe.prototype.clone=function(){return new oe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Y(this.headers),url:this.url})},oe.error=function(){var e=new oe(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var se=[301,302,303,307,308];oe.redirect=function(e,t){if(-1===se.indexOf(t))throw new RangeError("Invalid status code");return new oe(null,{status:t,headers:{location:e}})};var ae=D.DOMException;try{new ae}catch(e){(ae=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack}).prototype=Object.create(Error.prototype),ae.prototype.constructor=ae}function le(e,t){return new Promise((function(r,n){var i=new ne(e,t);if(i.signal&&i.signal.aborted)return n(new ae("Aborted","AbortError"));var o=new XMLHttpRequest;function s(){o.abort()}if(o.onload=function(){var e=o.getAllResponseHeaders(),t=o.getResponseHeader("set-cookie");t&&(e=e.replace(t,t.replace(/\r?\n/g,", ")));var n,i,s={status:o.status,statusText:o.statusText,headers:(n=e||"",i=new Y,
104
+ this.url=this.url.replace(o,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function ie(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),i=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(i))}})),t}function oe(e,t){if(!(this instanceof oe))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new Y(t.headers),this.url=t.url||"",this._initBody(e)}ne.prototype.clone=function(){return new ne(this,{body:this._bodyInit})},te.call(ne.prototype),te.call(oe.prototype),oe.prototype.clone=function(){return new oe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Y(this.headers),url:this.url})},oe.error=function(){var e=new oe(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var se=[301,302,303,307,308];oe.redirect=function(e,t){if(-1===se.indexOf(t))throw new RangeError("Invalid status code");return new oe(null,{status:t,headers:{location:e}})};var ae=D.DOMException;try{new ae}catch(e){(ae=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack}).prototype=Object.create(Error.prototype),ae.prototype.constructor=ae}function le(e,t){return new Promise((function(r,n){var i=new ne(e,t);if(i.signal&&i.signal.aborted)return n(new ae("Aborted","AbortError"));var o=new XMLHttpRequest;function s(){o.abort()}if(o.onload=function(){var e,t,n={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new Y,
105
105
  // Avoiding split via regex to work around a common IE11 bug with the core-js 3.6.0 regex polyfill
106
106
  // https://github.com/github/fetch/issues/748
107
107
  // https://github.com/zloirock/core-js/issues/751
108
- n.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var t=e.split(":"),r=t.shift().trim();if(r){var n=t.join(":").trim();try{i.append(r,n)}catch(e){console.warn("Response "+e.message)}}})),i)};s.url="responseURL"in o?o.responseURL:s.headers.get("X-Request-URL");var a="response"in o?o.response:o.responseText;setTimeout((function(){r(new oe(a,s))}),0)},o.onerror=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},o.ontimeout=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},o.onabort=function(){setTimeout((function(){n(new ae("Aborted","AbortError"))}),0)},o.open(i.method,function(e){try{return""===e&&D.location.href?D.location.href:e}catch(t){return e}}(i.url),!0),"include"===i.credentials?o.withCredentials=!0:"omit"===i.credentials&&(o.withCredentials=!1),"responseType"in o&&($?o.responseType="blob":V&&(o.responseType="arraybuffer")),t&&"object"==typeof t.headers&&!(t.headers instanceof Y||D.Headers&&t.headers instanceof D.Headers)){var a=[];Object.getOwnPropertyNames(t.headers).forEach((function(e){a.push(K(e)),o.setRequestHeader(e,W(t.headers[e]))})),i.headers.forEach((function(e,t){-1===a.indexOf(t)&&o.setRequestHeader(t,e)}))}else i.headers.forEach((function(e,t){o.setRequestHeader(t,e)}));i.signal&&(i.signal.addEventListener("abort",s),o.onreadystatechange=function(){
108
+ e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var r=e.split(":"),n=r.shift().trim();if(n){var i=r.join(":").trim();try{t.append(n,i)}catch(e){console.warn("Response "+e.message)}}})),t)};n.url="responseURL"in o?o.responseURL:n.headers.get("X-Request-URL");var i="response"in o?o.response:o.responseText;setTimeout((function(){r(new oe(i,n))}),0)},o.onerror=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},o.ontimeout=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},o.onabort=function(){setTimeout((function(){n(new ae("Aborted","AbortError"))}),0)},o.open(i.method,function(e){try{return""===e&&D.location.href?D.location.href:e}catch(t){return e}}(i.url),!0),"include"===i.credentials?o.withCredentials=!0:"omit"===i.credentials&&(o.withCredentials=!1),"responseType"in o&&($?o.responseType="blob":V&&(o.responseType="arraybuffer")),t&&"object"==typeof t.headers&&!(t.headers instanceof Y||D.Headers&&t.headers instanceof D.Headers)){var a=[];Object.getOwnPropertyNames(t.headers).forEach((function(e){a.push(K(e)),o.setRequestHeader(e,W(t.headers[e]))})),i.headers.forEach((function(e,t){-1===a.indexOf(t)&&o.setRequestHeader(t,e)}))}else i.headers.forEach((function(e,t){o.setRequestHeader(t,e)}));i.signal&&(i.signal.addEventListener("abort",s),o.onreadystatechange=function(){
109
109
  // DONE (success or failure)
110
110
  4===o.readyState&&i.signal.removeEventListener("abort",s)}),o.send(void 0===i._bodyInit?null:i._bodyInit)}))}le.polyfill=!0,D.fetch||(D.fetch=le,D.Headers=Y,D.Request=ne,D.Response=oe),
111
111
  // the whatwg-fetch polyfill installs the fetch() function