/*! For license information please see e-react-promotions.min.js.LICENSE.txt */
(()=>{var __webpack_modules__={2943:function(t,i,r){!function(t,i,r){"use strict";function _interopDefaultLegacy(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var a=_interopDefaultLegacy(i),o=_interopDefaultLegacy(r);function _arrayLikeToArray(t,i){(null==i||i>t.length)&&(i=t.length);for(var r=0,a=Array(i);r0&&void 0!==arguments[0]?arguments[0]:{};if(D.current){null===(i=b.current)||void 0===i||i.destroy();var o=_objectSpread2(_objectSpread2(_objectSpread2({},t),r),{},{container:D.current});return b.current=a.default.loadAnimation(o),Q(!!b.current),function(){var t;null===(t=b.current)||void 0===t||t.destroy(),b.current=void 0}}};return r.useEffect(function(){var t=j();return function(){return null==t?void 0:t()}},[l,p]),r.useEffect(function(){b.current&&(b.current.autoplay=!!c)},[c]),r.useEffect(function(){b.current&&(d?Array.isArray(d)&&d.length&&((b.current.currentRawFrame =y[y.length-1].t-this.offsetTime)a=y[y.length-1].s?y[y.length-1].s[0]:y[y.length-2].e[0],h=!0;else{for(var k,E,x,I=u,v=y.length-1,S=!0;S&&(k=y[I],!((E=y[I+1]).t-this.offsetTime>t));)I =0;o-=1)"tr"===i[o].ty?(h=r[o].transform,this.renderShapeTransform(t,h)):"sh"===i[o].ty||"el"===i[o].ty||"rc"===i[o].ty||"sr"===i[o].ty?this.renderPath(i[o],r[o]):"fl"===i[o].ty?this.renderFill(i[o],r[o],h):"st"===i[o].ty?this.renderStroke(i[o],r[o],h):"gf"===i[o].ty||"gs"===i[o].ty?this.renderGradientFill(i[o],r[o],h):"gr"===i[o].ty?this.renderShape(h,i[o].it,r[o].it):i[o].ty;a&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(t,i){if(this._isFirstFrame||i._mdf||t.transforms._mdf){var r,a,o,h=t.trNodes,l=i.paths,p=l._length;h.length=0;var c=t.transforms.finalTransform;for(o=0;o =1?g=.99:g<=-1&&(g=-.99);var u=d*g,y=Math.cos(m+i.a.v)*u+p[0],k=Math.sin(m+i.a.v)*u+p[1];a=l.createRadialGradient(y,k,0,p[0],p[1],d)}var E=t.g.p,x=i.g.c,I=1;for(h=0;h o&&"meet"===p||h=v?w.points.length-1:0;for(c=w.points[R].point.length,p=0;p1e-6?(a=Math.acos(o),h=Math.sin(a),l=Math.sin((1-r)*a)/h,p=Math.sin(r*a)/h):(l=1-r,p=r),c[0]=l*d+p*y,c[1]=l*m+p*k,c[2]=l*g+p*E,c[3]=l*u+p*x,c}function quaternionToEuler(t,i){var r=i[0],a=i[1],o=i[2],h=i[3],l=Math.atan2(2*a*h-2*r*o,1-2*a*a-2*o*o),p=Math.asin(2*r*a+2*o*h),c=Math.atan2(2*r*h-2*a*o,1-2*r*r-2*o*o);t[0]=l/degToRads,t[1]=p/degToRads,t[2]=c/degToRads}function createQuaternion(t){var i=t[0]*degToRads,r=t[1]*degToRads,a=t[2]*degToRads,o=Math.cos(i/2),h=Math.cos(r/2),l=Math.cos(a/2),p=Math.sin(i/2),c=Math.sin(r/2),d=Math.sin(a/2);return[p*c*l+o*h*d,p*h*l+o*c*d,o*c*l-p*h*d,o*h*l-p*c*d]}function getValueAtCurrentTime(){var t=this.comp.renderedFrame-this.offsetTime,i=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=r&&t>=r||this._caching.lastFrame=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var a=this.interpolateValue(t,this._caching);this.pv=a}return this._caching.lastFrame=t,this.pv}function setVValue(t){var i;if("unidimensional"===this.propType)i=t*this.mult,mathAbs(this.v-i)>1e-5&&(this.v=i,this._mdf=!0);else for(var r=0,a=this.v.length;r1e-5&&(this.v[r]=i,this._mdf=!0),r+=1}function processEffectsSequence(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var t;this.lock=!0,this._mdf=this._isFirstFrame;var i=this.effectsSequence.length,r=this.kf?this.pv:this.data.k;for(t=0;t=this._maxLength&&this.doubleArrayLength(),r){case"v":h=this.v;break;case"i":h=this.i;break;case"o":h=this.o;break;default:h=[]}(!h[a]||h[a]&&!o)&&(h[a]=pointPool.newElement()),h[a][0]=t,h[a][1]=i},ShapePath.prototype.setTripleAt=function(t,i,r,a,o,h,l,p){this.setXYAt(t,i,"v",l,p),this.setXYAt(r,a,"o",l,p),this.setXYAt(o,h,"i",l,p)},ShapePath.prototype.reverse=function(){var t=new ShapePath;t.setPathData(this.c,this._length);var i=this.v,r=this.o,a=this.i,o=0;this.c&&(t.setTripleAt(i[0][0],i[0][1],a[0][0],a[0][1],r[0][0],r[0][1],0,!1),o=1);var h,l=this._length-1,p=this._length;for(h=o;h0&&a<1?[i]:[]:[i-a,i+a].filter(function(t){return t>0&&t<1})},PolynomialBezier.prototype.split=function(t){if(t<=0)return[singlePoint(this.points[0]),this];if(t>=1)return[this,singlePoint(this.points[this.points.length-1])];var i=lerpPoint(this.points[0],this.points[1],t),r=lerpPoint(this.points[1],this.points[2],t),a=lerpPoint(this.points[2],this.points[3],t),o=lerpPoint(i,r,t),h=lerpPoint(r,a,t),l=lerpPoint(o,h,t);return[new PolynomialBezier(this.points[0],i,o,l,!0),new PolynomialBezier(l,h,a,this.points[3],!0)]},PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var t=this.bounds();return{left:t.x.min,right:t.x.max,top:t.y.min,bottom:t.y.max,width:t.x.max-t.x.min,height:t.y.max-t.y.min,cx:(t.x.max+t.x.min)/2,cy:(t.y.max+t.y.min)/2}},PolynomialBezier.prototype.intersections=function(t,i,r){void 0===i&&(i=2),void 0===r&&(r=7);var a=[];return intersectsImpl(intersectData(this,0,1),intersectData(t,0,1),0,i,a,r),a},PolynomialBezier.shapeSegment=function(t,i){var r=(i+1)%t.length();return new PolynomialBezier(t.v[i],t.o[i],t.i[r],t.v[r],!0)},PolynomialBezier.shapeSegmentInverted=function(t,i){var r=(i+1)%t.length();return new PolynomialBezier(t.v[r],t.i[r],t.o[i],t.v[i],!0)},extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(t,i){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(t,i.s,0,null,this),this.frequency=PropertyFactory.getProp(t,i.r,0,null,this),this.pointsType=PropertyFactory.getProp(t,i.pt,0,null,this),this._isAnimated=0!==this.amplitude.effectsSequence.length||0!==this.frequency.effectsSequence.length||0!==this.pointsType.effectsSequence.length},ZigZagModifier.prototype.processPath=function(t,i,r,a){var o=t._length,h=shapePool.newElement();if(h.c=t.c,t.c||(o-=1),0===o)return h;var l=-1,p=PolynomialBezier.shapeSegment(t,0);zigZagCorner(h,t,0,i,r,a,l);for(var c=0;c