!function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=15)}([function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,r){var n=r(5),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();t.exports=i},function(t,e,r){var n=r(1).Symbol;t.exports=n},function(t,e,r){var n=r(0),o=r(4),i=r(7),a=Math.max,u=Math.min;t.exports=function(t,e,r){var c,s,f,l,d,p,h=0,v=!1,m=!1,b=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function g(e){var r=c,n=s;return c=s=void 0,h=e,l=t.apply(n,r)}function y(t){return h=t,d=setTimeout(x,e),v?g(t):l}function w(t){var r=t-p;return void 0===p||r>=e||r<0||m&&t-h>=f}function x(){var t=o();if(w(t))return j(t);d=setTimeout(x,function(t){var r=e-(t-p);return m?u(r,f-(t-h)):r}(t))}function j(t){return d=void 0,b&&c?g(t):(c=s=void 0,l)}function E(){var t=o(),r=w(t);if(c=arguments,s=this,p=t,r){if(void 0===d)return y(p);if(m)return clearTimeout(d),d=setTimeout(x,e),g(p)}return void 0===d&&(d=setTimeout(x,e)),l}return e=i(e)||0,n(r)&&(v=!!r.leading,f=(m="maxWait"in r)?a(i(r.maxWait)||0,e):f,b="trailing"in r?!!r.trailing:b),E.cancel=function(){void 0!==d&&clearTimeout(d),h=0,c=p=s=d=void 0},E.flush=function(){return void 0===d?l:j(o())},E}},function(t,e,r){var n=r(1);t.exports=function(){return n.Date.now()}},function(t,e,r){(function(e){var r="object"==typeof e&&e&&e.Object===Object&&e;t.exports=r}).call(this,r(6))},function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){var n=r(8),o=r(0),i=r(10),a=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,s=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return NaN;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=n(t);var r=u.test(t);return r||c.test(t)?s(t.slice(2),r?2:8):a.test(t)?NaN:+t}},function(t,e,r){var n=r(9),o=/^\s+/;t.exports=function(t){return t?t.slice(0,n(t)+1).replace(o,""):t}},function(t,e){var r=/\s/;t.exports=function(t){for(var e=t.length;e--&&r.test(t.charAt(e)););return e}},function(t,e,r){var n=r(11),o=r(14);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==n(t)}},function(t,e,r){var n=r(2),o=r(12),i=r(13),a=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?o(t):i(t)}},function(t,e,r){var n=r(2),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,u=n?n.toStringTag:void 0;t.exports=function(t){var e=i.call(t,u),r=t[u];try{t[u]=void 0;var n=!0}catch(t){}var o=a.call(t);return n&&(e?t[u]=r:delete t[u]),o}},function(t,e){var r=Object.prototype.toString;t.exports=function(t){return r.call(t)}},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e,r){"use strict";r.r(e);var n=r(3),o=r.n(n),i=function(){function t(){}return Object.defineProperty(t,"isBrowser",{get:function(){return"undefined"!=typeof window},enumerable:!1,configurable:!0}),Object.defineProperty(t,"targetWindow",{get:function(){return window.parent||window.top||window},enumerable:!1,configurable:!0}),t.emitHeight=function(t){this.isBrowser&&this.targetWindow.postMessage({height:"".concat(t,"px")},"*")},t.scrollTo=function(t){this.isBrowser&&this.targetWindow.postMessage({scrollTo:t},"*")},t}(),a=function(){function t(t,e){void 0===e&&(e={}),this.emitCurrentSizeDebounced=o()((function(t){var e=t.target.getBoundingClientRect().height,r=Math.floor(e+t.offset);i.emitHeight(r)}),100),this.target=t,this.offset=e.offset||0,this.attachEventHandlers(),this.scrollParentToTop(),this.emitCurrentSize()}return t.prototype.attachEventHandlers=function(){var t=this;window.addEventListener("resize",(function(){t.emitCurrentSize()})),document.addEventListener("transitionend",(function(){t.emitCurrentSize()})),this.observer=new MutationObserver((function(){t.emitCurrentSize()})),this.observer.observe(document.body,{subtree:!0,attributes:!0,childList:!0,characterData:!0})},t.prototype.emitCurrentSize=function(){this.emitCurrentSizeDebounced(this)},t.prototype.scrollParentToTop=function(){i.scrollTo({top:0})},t}(),u=function(){function t(t,e){this.originFilter=e,this.targetIFrame=t,this.addEventListeners()}return t.prototype.addEventListeners=function(){var t=this;window.addEventListener("message",(function(e){return t.handleMessageEvent(e)}))},t.prototype.handleMessageEvent=function(t){this.originFilter&&!this.originFilter.test(t.origin)||t.data&&(t.data.height&&(this.targetIFrame.style.height=t.data.height),t.data.scrollTo&&window.scrollTo(t.data.scrollTo))},t}(),c={width:"100%",height:"500",cookieconsent:"ignore",style:"border: 0px solid grey;"},s=function(){function t(t){this.parentElement=document.getElementById(t),this.checkRequiredData(this.parentElement)}return t.prototype.create=function(){this.generateFrame(this.parentElement.dataset,c)},t.prototype.checkRequiredData=function(t){if(!t)throw console.error("please provide the %cID of the container for the iframe.","display: inline-block; border: 2px solid red; border-radius: 5px; color:green; "),new Error("no parent container provided");if(!t.getAttribute("data-frame-src"))throw console.error('please provide a "data-frame-src" attribute in the container.\n all valid attributes can be passed in prepended with \'data-frame-..\'\n %cExample:
',"display: inline-block; border: 2px solid red; border-radius: 5px; color:green; "),new Error("no frame source provided")},t.prototype.generateFrame=function(t,e){var r=document.createElement("iframe"),n=this.normalizeCustomAttributeNames(t);this.setAttributeValues(e,r),this.setAttributeValues(n,r),this.parentElement.appendChild(r)},t.prototype.normalizeCustomAttributeNames=function(t){var e={};for(var r in t){var n=r.split("frame").pop();n&&/frame[A-Z]+/.test(r)&&(e[n.toLocaleLowerCase()]=t[r])}return e},t.prototype.setAttributeValues=function(t,e){for(var r in t)e.setAttribute(r,t[r])},t}();window.CycleUtils={IFrameSizeEmitter:a,IFrameSizeListener:u,IFrameCreator:s}}]);