diff --git a/CHANGELOG.md b/CHANGELOG.md index cbcc63a8..1a120df7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [2.2.4] - 2021-06-04 +- Minor dependency version updates + ## [2.2.3] - 2021-05-21 ## Changed - updated `singlePlay` response to not return an object containing the boolean, but just the boolean itself. diff --git a/dist/SpringRoll-Container-umd.js b/dist/SpringRoll-Container-umd.js index 6dcdae74..ac895682 100644 --- a/dist/SpringRoll-Container-umd.js +++ b/dist/SpringRoll-Container-umd.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("bellhop-iframe")):"function"==typeof define&&define.amd?define(["exports","bellhop-iframe"],t):t((e=e||self).springroll=e.springroll||{},e.Bellhop)}(this,(function(e,t){"use strict";var n="URLSearchParams"in self,r="Symbol"in self&&"iterator"in Symbol,o="FileReader"in self&&"Blob"in self&&function(){try{return new Blob,!0}catch(e){return!1}}(),i="FormData"in self,s="ArrayBuffer"in self;if(s)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=ArrayBuffer.isView||function(e){return e&&a.indexOf(Object.prototype.toString.call(e))>-1};function l(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function c(e){return"string"!=typeof e&&(e=String(e)),e}function d(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return r&&(t[Symbol.iterator]=function(){return t}),t}function h(e){this.map={},e instanceof h?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function f(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function p(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function v(e){var t=new FileReader,n=p(t);return t.readAsArrayBuffer(e),n}function y(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function g(){return this.bodyUsed=!1,this._initBody=function(e){var t;this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:o&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:i&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:n&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():s&&o&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=y(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):s&&(ArrayBuffer.prototype.isPrototypeOf(e)||u(e))?this._bodyArrayBuffer=y(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o&&(this.blob=function(){var e=f(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?f(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(v)}),this.text=function(){var e=f(this);if(e)return e;if(this._bodyBlob)return function(e){var t=new FileReader,n=p(t);return t.readAsText(e),n}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function S(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}})),t}function k(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new h(t.headers),this.url=t.url||"",this._initBody(e)}b.prototype.clone=function(){return new b(this,{body:this._bodyInit})},g.call(b.prototype),g.call(k.prototype),k.prototype.clone=function(){return new k(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},k.error=function(){var e=new k(null,{status:0,statusText:""});return e.type="error",e};var w=[301,302,303,307,308];k.redirect=function(e,t){if(-1===w.indexOf(t))throw new RangeError("Invalid status code");return new k(null,{status:t,headers:{location:e}})};var B=self.DOMException;try{new B}catch(e){(B=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),B.prototype.constructor=B}function E(e,t){return new Promise((function(n,r){var i=new b(e,t);if(i.signal&&i.signal.aborted)return r(new B("Aborted","AbortError"));var s=new XMLHttpRequest;function a(){s.abort()}s.onload=function(){var e,t,r={status:s.status,statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",t=new h,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}})),t)};r.url="responseURL"in s?s.responseURL:r.headers.get("X-Request-URL");var o="response"in s?s.response:s.responseText;n(new k(o,r))},s.onerror=function(){r(new TypeError("Network request failed"))},s.ontimeout=function(){r(new TypeError("Network request failed"))},s.onabort=function(){r(new B("Aborted","AbortError"))},s.open(i.method,i.url,!0),"include"===i.credentials?s.withCredentials=!0:"omit"===i.credentials&&(s.withCredentials=!1),"responseType"in s&&o&&(s.responseType="blob"),i.headers.forEach((function(e,t){s.setRequestHeader(t,e)})),i.signal&&(i.signal.addEventListener("abort",a),s.onreadystatechange=function(){4===s.readyState&&i.signal.removeEventListener("abort",a)}),s.send(void 0===i._bodyInit?null:i._bodyInit)}))}E.polyfill=!0,self.fetch||(self.fetch=E,self.Headers=h,self.Request=b,self.Response=k);var P="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function x(e,t){return e(t={exports:{}},t.exports),t.exports}var L=function(e){return e&&e.Math==Math&&e},A=L("object"==typeof globalThis&&globalThis)||L("object"==typeof window&&window)||L("object"==typeof self&&self)||L("object"==typeof P&&P)||Function("return this")(),C={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},D=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},V=function(e,t,n){if(D(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}},_=function(e){try{return!!e()}catch(e){return!0}},O={}.toString,I=function(e){return O.call(e).slice(8,-1)},R="".split,T=_((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==I(e)?R.call(e,""):Object(e)}:Object,M=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},j=function(e){return Object(M(e))},N=Math.ceil,K=Math.floor,F=function(e){return isNaN(e=+e)?0:(e>0?K:N)(e)},G=Math.min,U=function(e){return e>0?G(F(e),9007199254740991):0},H=function(e){return"object"==typeof e?null!==e:"function"==typeof e},z=Array.isArray||function(e){return"Array"==I(e)},q=!_((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),W=A.document,X=H(W)&&H(W.createElement),$=function(e){return X?W.createElement(e):{}},Y=!q&&!_((function(){return 7!=Object.defineProperty($("div"),"a",{get:function(){return 7}}).a})),J=function(e){if(!H(e))throw TypeError(String(e)+" is not an object");return e},Q=function(e,t){if(!H(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!H(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!H(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!H(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},Z=Object.defineProperty,ee={f:q?Z:function(e,t,n){if(J(e),t=Q(t,!0),J(n),Y)try{return Z(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},te=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},ne=q?function(e,t,n){return ee.f(e,t,te(1,n))}:function(e,t,n){return e[t]=n,e},re=function(e,t){try{ne(A,e,t)}catch(n){A[e]=t}return t},oe="__core-js_shared__",ie=A[oe]||re(oe,{}),se=x((function(e){(e.exports=function(e,t){return ie[e]||(ie[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),ae={}.hasOwnProperty,ue=function(e,t){return ae.call(e,t)},le=0,ce=Math.random(),de=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++le+ce).toString(36)},he=!!Object.getOwnPropertySymbols&&!_((function(){return!String(Symbol())})),fe=he&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,pe=se("wks"),ve=A.Symbol,ye=fe?ve:ve&&ve.withoutSetter||de,ge=function(e){return ue(pe,e)||(he&&ue(ve,e)?pe[e]=ve[e]:pe[e]=ye("Symbol."+e)),pe[e]},me=ge("species"),be=function(e,t){var n;return z(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!z(n.prototype)?H(n)&&null===(n=n[me])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)},Se=[].push,ke=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,s=5==e||i;return function(a,u,l,c){for(var d,h,f=j(a),p=T(f),v=V(u,l,3),y=U(p.length),g=0,m=c||be,b=t?m(a,y):n?m(a,0):void 0;y>g;g++)if((s||g in p)&&(h=v(d=p[g],g,f),e))if(t)b[g]=h;else if(h)switch(e){case 3:return!0;case 5:return d;case 6:return g;case 2:Se.call(b,d)}else if(o)return!1;return i?-1:r||o?o:b}},we={forEach:ke(0),map:ke(1),filter:ke(2),some:ke(3),every:ke(4),find:ke(5),findIndex:ke(6)},Be=function(e,t){var n=[][e];return!!n&&_((function(){n.call(null,t||function(){throw 1},1)}))},Ee=Object.defineProperty,Pe={},xe=function(e){throw e},Le=function(e,t){if(ue(Pe,e))return Pe[e];t||(t={});var n=[][e],r=!!ue(t,"ACCESSORS")&&t.ACCESSORS,o=ue(t,0)?t[0]:xe,i=ue(t,1)?t[1]:void 0;return Pe[e]=!!n&&!_((function(){if(r&&!q)return!0;var e={length:-1};r?Ee(e,1,{enumerable:!0,get:xe}):e[1]=1,n.call(e,o,i)}))},Ae=we.forEach,Ce=Be("forEach"),De=Le("forEach"),Ve=Ce&&De?[].forEach:function(e){return Ae(this,e,arguments.length>1?arguments[1]:void 0)};for(var _e in C){var Oe=A[_e],Ie=Oe&&Oe.prototype;if(Ie&&Ie.forEach!==Ve)try{ne(Ie,"forEach",Ve)}catch(e){Ie.forEach=Ve}}var Re,Te=function(e){return T(M(e))},Me=Math.max,je=Math.min,Ne=function(e){return function(t,n,r){var o,i=Te(t),s=U(i.length),a=function(e,t){var n=F(e);return n<0?Me(n+t,0):je(n,t)}(r,s);if(e&&n!=n){for(;s>a;)if((o=i[a++])!=o)return!0}else for(;s>a;a++)if((e||a in i)&&i[a]===n)return e||a||0;return!e&&-1}},Ke={includes:Ne(!0),indexOf:Ne(!1)},Fe={},Ge=Ke.indexOf,Ue=function(e,t){var n,r=Te(e),o=0,i=[];for(n in r)!ue(Fe,n)&&ue(r,n)&&i.push(n);for(;t.length>o;)ue(r,n=t[o++])&&(~Ge(i,n)||i.push(n));return i},He=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ze=Object.keys||function(e){return Ue(e,He)},qe=q?Object.defineProperties:function(e,t){J(e);for(var n,r=ze(t),o=r.length,i=0;o>i;)ee.f(e,n=r[i++],t[n]);return e},We=A,Xe=function(e){return"function"==typeof e?e:void 0},$e=function(e,t){return arguments.length<2?Xe(We[e])||Xe(A[e]):We[e]&&We[e][t]||A[e]&&A[e][t]},Ye=$e("document","documentElement"),Je=se("keys"),Qe=function(e){return Je[e]||(Je[e]=de(e))},Ze=Qe("IE_PROTO"),et=function(){},tt=function(e){return"