!function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=184)}([function(t,e,n){"use strict";n.r(e),function(t,i){n.d(e,"_gsScope",(function(){return r})),n.d(e,"TweenLite",(function(){return o})),n.d(e,"globals",(function(){return a})),n.d(e,"default",(function(){return o})),n.d(e,"SimpleTimeline",(function(){return l})),n.d(e,"Animation",(function(){return c})),n.d(e,"Ease",(function(){return u})),n.d(e,"Linear",(function(){return h})),n.d(e,"Power0",(function(){return f})),n.d(e,"Power1",(function(){return d})),n.d(e,"Power2",(function(){return p})),n.d(e,"Power3",(function(){return g})),n.d(e,"Power4",(function(){return m})),n.d(e,"TweenPlugin",(function(){return v})),n.d(e,"EventDispatcher",(function(){return y}));
/*!
 * VERSION: 2.1.3
 * DATE: 2019-05-17
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 *
 * @author: Jack Doyle, jack@greensock.com
 */
var r="undefined"!=typeof window?window:t.exports&&void 0!==i?i:{},o=function(t){var e={},n=t.document,i=t.GreenSockGlobals=t.GreenSockGlobals||t;if(i.TweenLite)return i.TweenLite;var r,o,a,s,l,c,u,h=function(t){var e,n=t.split("."),r=i;for(e=0;e<n.length;e++)r[n[e]]=r=r[n[e]]||{};return r},f=h("com.greensock"),d=function(t){var e,n=[],i=t.length;for(e=0;e!==i;n.push(t[e++]));return n},p=function(){},g=(c=Object.prototype.toString,u=c.call([]),function(t){return null!=t&&(t instanceof Array||"object"==typeof t&&!!t.push&&c.call(t)===u)}),m={},v=function(t,n,r,o){this.sc=m[t]?m[t].sc:[],m[t]=this,this.gsClass=null,this.func=r;var a=[];this.check=function(s){for(var l,c,u,f,d=n.length,p=d;--d>-1;)(l=m[n[d]]||new v(n[d],[])).gsClass?(a[d]=l.gsClass,p--):s&&l.sc.push(this);if(0===p&&r)for(u=(c=("com.greensock."+t).split(".")).pop(),f=h(c.join("."))[u]=this.gsClass=r.apply(r,a),o&&(i[u]=e[u]=f),d=0;d<this.sc.length;d++)this.sc[d].check()},this.check(!0)},y=t._gsDefine=function(t,e,n,i){return new v(t,e,n,i)},b=f._class=function(t,e,n){return e=e||function(){},y(t,[],(function(){return e}),n),e};y.globals=i;var w=[0,0,1,1],_=b("easing.Ease",(function(t,e,n,i){this._func=t,this._type=n||0,this._power=i||0,this._params=e?w.concat(e):w}),!0),x=_.map={},T=_.register=function(t,e,n,i){for(var r,o,a,s,l=e.split(","),c=l.length,u=(n||"easeIn,easeOut,easeInOut").split(",");--c>-1;)for(o=l[c],r=i?b("easing."+o,null,!0):f.easing[o]||{},a=u.length;--a>-1;)s=u[a],x[o+"."+s]=x[s+o]=r[s]=t.getRatio?t:t[s]||new t};for((a=_.prototype)._calcEnd=!1,a.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,n=this._power,i=1===e?1-t:2===e?t:t<.5?2*t:2*(1-t);return 1===n?i*=i:2===n?i*=i*i:3===n?i*=i*i*i:4===n&&(i*=i*i*i*i),1===e?1-i:2===e?i:t<.5?i/2:1-i/2},o=(r=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--o>-1;)a=r[o]+",Power"+o,T(new _(null,null,1,o),a,"easeOut",!0),T(new _(null,null,2,o),a,"easeIn"+(0===o?",easeNone":"")),T(new _(null,null,3,o),a,"easeInOut");x.linear=f.easing.Linear.easeIn,x.swing=f.easing.Quad.easeInOut;var k=b("events.EventDispatcher",(function(t){this._listeners={},this._eventTarget=t||this}));(a=k.prototype).addEventListener=function(t,e,n,i,r){r=r||0;var o,a,c=this._listeners[t],u=0;for(this!==s||l||s.wake(),null==c&&(this._listeners[t]=c=[]),a=c.length;--a>-1;)(o=c[a]).c===e&&o.s===n?c.splice(a,1):0===u&&o.pr<r&&(u=a+1);c.splice(u,0,{c:e,s:n,up:i,pr:r})},a.removeEventListener=function(t,e){var n,i=this._listeners[t];if(i)for(n=i.length;--n>-1;)if(i[n].c===e)return void i.splice(n,1)},a.dispatchEvent=function(t){var e,n,i,r=this._listeners[t];if(r)for((e=r.length)>1&&(r=r.slice(0)),n=this._eventTarget;--e>-1;)(i=r[e])&&(i.up?i.c.call(i.s||n,{type:t,target:n}):i.c.call(i.s||n))};var A=t.requestAnimationFrame,S=t.cancelAnimationFrame,C=Date.now||function(){return(new Date).getTime()},P=C();for(o=(r=["ms","moz","webkit","o"]).length;--o>-1&&!A;)A=t[r[o]+"RequestAnimationFrame"],S=t[r[o]+"CancelAnimationFrame"]||t[r[o]+"CancelRequestAnimationFrame"];b("Ticker",(function(t,e){var i,r,o,a,c,u=this,h=C(),f=!(!1===e||!A)&&"auto",d=500,g=33,m=function(t){var e,n,s=C()-P;s>d&&(h+=s-g),P+=s,u.time=(P-h)/1e3,e=u.time-c,(!i||e>0||!0===t)&&(u.frame++,c+=e+(e>=a?.004:a-e),n=!0),!0!==t&&(o=r(m)),n&&u.dispatchEvent("tick")};k.call(u),u.time=u.frame=0,u.tick=function(){m(!0)},u.lagSmoothing=function(t,e){if(!arguments.length)return d<1/1e-8;d=t||1/1e-8,g=Math.min(e,d,0)},u.sleep=function(){null!=o&&(f&&S?S(o):clearTimeout(o),r=p,o=null,u===s&&(l=!1))},u.wake=function(t){null!==o?u.sleep():t?h+=-P+(P=C()):u.frame>10&&(P=C()-d+5),r=0===i?p:f&&A?A:function(t){return setTimeout(t,1e3*(c-u.time)+1|0)},u===s&&(l=!0),m(2)},u.fps=function(t){if(!arguments.length)return i;a=1/((i=t)||60),c=this.time+a,u.wake()},u.useRAF=function(t){if(!arguments.length)return f;u.sleep(),f=t,u.fps(i)},u.fps(t),setTimeout((function(){"auto"===f&&u.frame<5&&"hidden"!==(n||{}).visibilityState&&u.useRAF(!1)}),1500)})),(a=f.Ticker.prototype=new f.events.EventDispatcher).constructor=f.Ticker;var E=b("core.Animation",(function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=!!e.immediateRender,this.data=e.data,this._reversed=!!e.reversed,G){l||s.wake();var n=this.vars.useFrames?V:G;n.add(this,n._time),this.vars.paused&&this.paused(!0)}}));s=E.ticker=new f.Ticker,(a=E.prototype)._dirty=a._gc=a._initted=a._paused=!1,a._totalTime=a._time=0,a._rawPrevTime=-1,a._next=a._last=a._onUpdate=a._timeline=a.timeline=null,a._paused=!1;var O=function(){l&&C()-P>2e3&&("hidden"!==(n||{}).visibilityState||!s.lagSmoothing())&&s.wake();var t=setTimeout(O,2e3);t.unref&&t.unref()};O(),a.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},a.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},a.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},a.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},a.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},a.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},a.render=function(t,e,n){},a.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,!this._gc&&this.timeline||this._enabled(!0),this},a.isActive=function(){var t,e=this._timeline,n=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime(!0))>=n&&t<n+this.totalDuration()/this._timeScale-1e-8},a._enabled=function(t,e){return l||s.wake(),this._gc=!t,this._active=this.isActive(),!0!==e&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},a._kill=function(t,e){return this._enabled(!1,!1)},a.kill=function(t,e){return this._kill(t,e),this},a._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},a._swapSelfInParams=function(t){for(var e=t.length,n=t.concat();--e>-1;)"{self}"===t[e]&&(n[e]=this);return n},a._callback=function(t){var e=this.vars,n=e[t],i=e[t+"Params"],r=e[t+"Scope"]||e.callbackScope||this;switch(i?i.length:0){case 0:n.call(r);break;case 1:n.call(r,i[0]);break;case 2:n.call(r,i[0],i[1]);break;default:n.apply(r,i)}},a.eventCallback=function(t,e,n,i){if("on"===(t||"").substr(0,2)){var r=this.vars;if(1===arguments.length)return r[t];null==e?delete r[t]:(r[t]=e,r[t+"Params"]=g(n)&&-1!==n.join("").indexOf("{self}")?this._swapSelfInParams(n):n,r[t+"Scope"]=i),"onUpdate"===t&&(this._onUpdate=e)}return this},a.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},a.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==t&&this.totalTime(this._totalTime*(t/this._duration),!0),this):(this._dirty=!1,this._duration)},a.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},a.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time},a.totalTime=function(t,e,n){if(l||s.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!n&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var i=this._totalDuration,r=this._timeline;if(t>i&&!n&&(t=i),this._startTime=(this._paused?this._pauseTime:r._time)-(this._reversed?i-t:t)/this._timeScale,r._dirty||this._uncache(!1),r._timeline)for(;r._timeline;)r._timeline._time!==(r._startTime+r._totalTime)/r._timeScale&&r.totalTime(r._totalTime,!0),r=r._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===t&&0!==this._duration||(M.length&&J(),this.render(t,e,!1),M.length&&J())}return this},a.progress=a.totalProgress=function(t,e){var n=this.duration();return arguments.length?this.totalTime(n*t,e):n?this._time/n:this.ratio},a.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},a.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},a.timeScale=function(t){if(!arguments.length)return this._timeScale;var e,n;for(t=t||1e-8,this._timeline&&this._timeline.smoothChildTiming&&(n=(e=this._pauseTime)||0===e?e:this._timeline.totalTime(),this._startTime=n-(n-this._startTime)*this._timeScale/t),this._timeScale=t,n=this.timeline;n&&n.timeline;)n._dirty=!0,n.totalDuration(),n=n.timeline;return this},a.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},a.paused=function(t){if(!arguments.length)return this._paused;var e,n,i=this._timeline;return t!=this._paused&&i&&(l||t||s.wake(),n=(e=i.rawTime())-this._pauseTime,!t&&i.smoothChildTiming&&(this._startTime+=n,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!==n&&this._initted&&this.duration()&&(e=i.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var R=b("core.SimpleTimeline",(function(t){E.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0}));(a=R.prototype=new E).constructor=R,a.kill()._gc=!1,a._first=a._last=a._recent=null,a._sortChildren=!1,a.add=a.insert=function(t,e,n,i){var r,o;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=this.rawTime()-(t._timeline.rawTime()-t._pauseTime)),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),r=this._last,this._sortChildren)for(o=t._startTime;r&&r._startTime>o;)r=r._prev;return r?(t._next=r._next,r._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=r,this._recent=t,this._timeline&&this._uncache(!0),this},a._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},a.render=function(t,e,n){var i,r=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;r;)i=r._next,(r._active||t>=r._startTime&&!r._paused&&!r._gc)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,n):r.render((t-r._startTime)*r._timeScale,e,n)),r=i},a.rawTime=function(){return l||s.wake(),this._totalTime};var I=b("TweenLite",(function(e,n,i){if(E.call(this,n,i),this.render=I.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:I.selector(e)||e;var r,o,a,s=e.jquery||e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?Y[I.defaultOverwrite]:"number"==typeof l?l>>0:Y[l],(s||e instanceof Array||e.push&&g(e))&&"number"!=typeof e[0])for(this._targets=a=d(e),this._propLookup=[],this._siblings=[],r=0;r<a.length;r++)(o=a[r])?"string"!=typeof o?o.length&&o!==t&&o[0]&&(o[0]===t||o[0].nodeType&&o[0].style&&!o.nodeType)?(a.splice(r--,1),this._targets=a=a.concat(d(o))):(this._siblings[r]=K(o,this,!1),1===l&&this._siblings[r].length>1&&tt(o,this,null,1,this._siblings[r])):"string"==typeof(o=a[r--]=I.selector(o))&&a.splice(r+1,1):a.splice(r--,1);else this._propLookup={},this._siblings=K(e,this,!1),1===l&&this._siblings.length>1&&tt(e,this,null,1,this._siblings);(this.vars.immediateRender||0===n&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-1e-8,this.render(Math.min(0,-this._delay)))}),!0),q=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)};(a=I.prototype=new E).constructor=I,a.kill()._gc=!1,a.ratio=0,a._firstPT=a._targets=a._overwrittenProps=a._startAt=null,a._notifyPluginsOfEnabled=a._lazy=!1,I.version="2.1.3",I.defaultEase=a._ease=new _(null,null,1,1),I.defaultOverwrite="auto",I.ticker=s,I.autoSleep=120,I.lagSmoothing=function(t,e){s.lagSmoothing(t,e)},I.selector=t.$||t.jQuery||function(e){var i=t.$||t.jQuery;return i?(I.selector=i,i(e)):(n||(n=t.document),n?n.querySelectorAll?n.querySelectorAll(e):n.getElementById("#"===e.charAt(0)?e.substr(1):e):e)};var M=[],L={},N=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,D=/[\+-]=-?[\.\d]/,F=function(t){for(var e,n=this._firstPT;n;)e=n.blob?1===t&&null!=this.end?this.end:t?this.join(""):this.start:n.c*t+n.s,n.m?e=n.m.call(this._tween,e,this._target||n.t,this._tween):e<1e-6&&e>-1e-6&&!n.blob&&(e=0),n.f?n.fp?n.t[n.p](n.fp,e):n.t[n.p](e):n.t[n.p]=e,n=n._next},z=function(t){return(1e3*t|0)/1e3+""},B=function(t,e,n,i){var r,o,a,s,l,c,u,h=[],f=0,d="",p=0;for(h.start=t,h.end=e,t=h[0]=t+"",e=h[1]=e+"",n&&(n(h),t=h[0],e=h[1]),h.length=0,r=t.match(N)||[],o=e.match(N)||[],i&&(i._next=null,i.blob=1,h._firstPT=h._applyPT=i),l=o.length,s=0;s<l;s++)u=o[s],d+=(c=e.substr(f,e.indexOf(u,f)-f))||!s?c:",",f+=c.length,p?p=(p+1)%5:"rgba("===c.substr(-5)&&(p=1),u===r[s]||r.length<=s?d+=u:(d&&(h.push(d),d=""),a=parseFloat(r[s]),h.push(a),h._firstPT={_next:h._firstPT,t:h,p:h.length-1,s:a,c:("="===u.charAt(1)?parseInt(u.charAt(0)+"1",10)*parseFloat(u.substr(2)):parseFloat(u)-a)||0,f:0,m:p&&p<4?Math.round:z}),f+=u.length;return(d+=e.substr(f))&&h.push(d),h.setRatio=F,D.test(e)&&(h.end=null),h},j=function(t,e,n,i,r,o,a,s,l){"function"==typeof i&&(i=i(l||0,t));var c=typeof t[e],u="function"!==c?"":e.indexOf("set")||"function"!=typeof t["get"+e.substr(3)]?e:"get"+e.substr(3),h="get"!==n?n:u?a?t[u](a):t[u]():t[e],f="string"==typeof i&&"="===i.charAt(1),d={t:t,p:e,s:h,f:"function"===c,pg:0,n:r||e,m:o?"function"==typeof o?o:Math.round:0,pr:0,c:f?parseInt(i.charAt(0)+"1",10)*parseFloat(i.substr(2)):parseFloat(i)-h||0};if(("number"!=typeof h||"number"!=typeof i&&!f)&&(a||isNaN(h)||!f&&isNaN(i)||"boolean"==typeof h||"boolean"==typeof i?(d.fp=a,d={t:B(h,f?parseFloat(d.s)+d.c+(d.s+"").replace(/[0-9\-\.]/g,""):i,s||I.defaultStringFilter,d),p:"setRatio",s:0,c:1,f:2,pg:0,n:r||e,pr:0,m:0}):(d.s=parseFloat(h),f||(d.c=parseFloat(i)-d.s||0))),d.c)return(d._next=this._firstPT)&&(d._next._prev=d),this._firstPT=d,d},H=I._internals={isArray:g,isSelector:q,lazyTweens:M,blobDif:B},W=I._plugins={},$=H.tweenLookup={},U=0,X=H.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1,yoyoEase:1,stagger:1},Y={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},V=E._rootFramesTimeline=new R,G=E._rootTimeline=new R,Q=30,J=H.lazyRender=function(){var t,e,n=M.length;for(L={},t=0;t<n;t++)(e=M[t])&&!1!==e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0),e._lazy=!1);M.length=0};G._startTime=s.time,V._startTime=s.frame,G._active=V._active=!0,setTimeout(J,1),E._updateRoot=I.render=function(){var t,e,n;if(M.length&&J(),G.render((s.time-G._startTime)*G._timeScale,!1,!1),V.render((s.frame-V._startTime)*V._timeScale,!1,!1),M.length&&J(),s.frame>=Q){for(n in Q=s.frame+(parseInt(I.autoSleep,10)||120),$){for(t=(e=$[n].tweens).length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete $[n]}if((!(n=G._first)||n._paused)&&I.autoSleep&&!V._first&&1===s._listeners.tick.length){for(;n&&n._paused;)n=n._next;n||s.sleep()}}},s.addEventListener("tick",E._updateRoot);var K=function(t,e,n){var i,r,o=t._gsTweenID;if($[o||(t._gsTweenID=o="t"+U++)]||($[o]={target:t,tweens:[]}),e&&((i=$[o].tweens)[r=i.length]=e,n))for(;--r>-1;)i[r]===e&&i.splice(r,1);return $[o].tweens},Z=function(t,e,n,i){var r,o,a=t.vars.onOverwrite;return a&&(r=a(t,e,n,i)),(a=I.onOverwrite)&&(o=a(t,e,n,i)),!1!==r&&!1!==o},tt=function(t,e,n,i,r){var o,a,s,l;if(1===i||i>=4){for(l=r.length,o=0;o<l;o++)if((s=r[o])!==e)s._gc||s._kill(null,t,e)&&(a=!0);else if(5===i)break;return a}var c,u=e._startTime+1e-8,h=[],f=0,d=0===e._duration;for(o=r.length;--o>-1;)(s=r[o])===e||s._gc||s._paused||(s._timeline!==e._timeline?(c=c||et(e,0,d),0===et(s,c,d)&&(h[f++]=s)):s._startTime<=u&&s._startTime+s.totalDuration()/s._timeScale>u&&((d||!s._initted)&&u-s._startTime<=2e-8||(h[f++]=s)));for(o=f;--o>-1;)if(l=(s=h[o])._firstPT,2===i&&s._kill(n,t,e)&&(a=!0),2!==i||!s._firstPT&&s._initted&&l){if(2!==i&&!Z(s,e))continue;s._enabled(!1,!1)&&(a=!0)}return a},et=function(t,e,n){for(var i=t._timeline,r=i._timeScale,o=t._startTime;i._timeline;){if(o+=i._startTime,r*=i._timeScale,i._paused)return-100;i=i._timeline}return(o/=r)>e?o-e:n&&o===e||!t._initted&&o-e<2e-8?1e-8:(o+=t.totalDuration()/t._timeScale/r)>e+1e-8?0:o-e-1e-8};a._init=function(){var t,e,n,i,r,o,a=this.vars,s=this._overwrittenProps,l=this._duration,c=!!a.immediateRender,u=a.ease,h=this._startAt;if(a.startAt){for(i in h&&(h.render(-1,!0),h.kill()),r={},a.startAt)r[i]=a.startAt[i];if(r.data="isStart",r.overwrite=!1,r.immediateRender=!0,r.lazy=c&&!1!==a.lazy,r.startAt=r.delay=null,r.onUpdate=a.onUpdate,r.onUpdateParams=a.onUpdateParams,r.onUpdateScope=a.onUpdateScope||a.callbackScope||this,this._startAt=I.to(this.target||{},0,r),c)if(this._time>0)this._startAt=null;else if(0!==l)return}else if(a.runBackwards&&0!==l)if(h)h.render(-1,!0),h.kill(),this._startAt=null;else{for(i in 0!==this._time&&(c=!1),n={},a)X[i]&&"autoCSS"!==i||(n[i]=a[i]);if(n.overwrite=0,n.data="isFromStart",n.lazy=c&&!1!==a.lazy,n.immediateRender=c,this._startAt=I.to(this.target,0,n),c){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=u=u?u instanceof _?u:"function"==typeof u?new _(u,a.easeParams):x[u]||I.defaultEase:I.defaultEase,a.easeParams instanceof Array&&u.config&&(this._ease=u.config.apply(u,a.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(o=this._targets.length,t=0;t<o;t++)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],s?s[t]:null,t)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,s,0);if(e&&I._onPluginEvent("_onInitAllProps",this),s&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),a.runBackwards)for(n=this._firstPT;n;)n.s+=n.c,n.c=-n.c,n=n._next;this._onUpdate=a.onUpdate,this._initted=!0},a._initProps=function(e,n,i,r,o){var a,s,l,c,u,h;if(null==e)return!1;for(a in L[e._gsTweenID]&&J(),this.vars.css||e.style&&e!==t&&e.nodeType&&W.css&&!1!==this.vars.autoCSS&&function(t,e){var n,i={};for(n in t)X[n]||n in e&&"transform"!==n&&"x"!==n&&"y"!==n&&"width"!==n&&"height"!==n&&"className"!==n&&"border"!==n||!(!W[n]||W[n]&&W[n]._autoCSS)||(i[n]=t[n],delete t[n]);t.css=i}(this.vars,e),this.vars)if(h=this.vars[a],X[a])h&&(h instanceof Array||h.push&&g(h))&&-1!==h.join("").indexOf("{self}")&&(this.vars[a]=h=this._swapSelfInParams(h,this));else if(W[a]&&(c=new W[a])._onInitTween(e,this.vars[a],this,o)){for(this._firstPT=u={_next:this._firstPT,t:c,p:"setRatio",s:0,c:1,f:1,n:a,pg:1,pr:c._priority,m:0},s=c._overwriteProps.length;--s>-1;)n[c._overwriteProps[s]]=this._firstPT;(c._priority||c._onInitAllProps)&&(l=!0),(c._onDisable||c._onEnable)&&(this._notifyPluginsOfEnabled=!0),u._next&&(u._next._prev=u)}else n[a]=j.call(this,e,a,"get",h,a,0,null,this.vars.stringFilter,o);return r&&this._kill(r,e)?this._initProps(e,n,i,r,o):this._overwrite>1&&this._firstPT&&i.length>1&&tt(e,this,n,this._overwrite,i)?(this._kill(n,e),this._initProps(e,n,i,r,o)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(L[e._gsTweenID]=!0),l)},a.render=function(t,e,n){var i,r,o,a,s=this._time,l=this._duration,c=this._rawPrevTime;if(t>=l-1e-8&&t>=0)this._totalTime=this._time=l,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(i=!0,r="onComplete",n=n||this._timeline.autoRemoveChildren),0===l&&(this._initted||!this.vars.lazy||n)&&(this._startTime===this._timeline._duration&&(t=0),(c<0||t<=0&&t>=-1e-8||1e-8===c&&"isPause"!==this.data)&&c!==t&&(n=!0,c>1e-8&&(r="onReverseComplete")),this._rawPrevTime=a=!e||t||c===t?t:1e-8);else if(t<1e-8)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==s||0===l&&c>0)&&(r="onReverseComplete",i=this._reversed),t>-1e-8?t=0:t<0&&(this._active=!1,0===l&&(this._initted||!this.vars.lazy||n)&&(c>=0&&(1e-8!==c||"isPause"!==this.data)&&(n=!0),this._rawPrevTime=a=!e||t||c===t?t:1e-8)),(!this._initted||this._startAt&&this._startAt.progress())&&(n=!0);else if(this._totalTime=this._time=t,this._easeType){var u=t/l,h=this._easeType,f=this._easePower;(1===h||3===h&&u>=.5)&&(u=1-u),3===h&&(u*=2),1===f?u*=u:2===f?u*=u*u:3===f?u*=u*u*u:4===f&&(u*=u*u*u*u),this.ratio=1===h?1-u:2===h?u:t/l<.5?u/2:1-u/2}else this.ratio=this._ease.getRatio(t/l);if(this._time!==s||n){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!n&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=s,this._rawPrevTime=c,M.push(this),void(this._lazy=[t,e]);this._time&&!i?this.ratio=this._ease.getRatio(this._time/l):i&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==s&&t>=0&&(this._active=!0),0===s&&(this._startAt&&(t>=0?this._startAt.render(t,!0,n):r||(r="_dummyGS")),this.vars.onStart&&(0===this._time&&0!==l||e||this._callback("onStart"))),o=this._firstPT;o;)o.f?o.t[o.p](o.c*this.ratio+o.s):o.t[o.p]=o.c*this.ratio+o.s,o=o._next;this._onUpdate&&(t<0&&this._startAt&&-1e-4!==t&&this._startAt.render(t,!0,n),e||(this._time!==s||i||n)&&this._callback("onUpdate")),r&&(this._gc&&!n||(t<0&&this._startAt&&!this._onUpdate&&-1e-4!==t&&this._startAt.render(t,!0,n),i&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[r]&&this._callback(r),0===l&&1e-8===this._rawPrevTime&&1e-8!==a&&(this._rawPrevTime=0)))}},a._kill=function(t,e,n){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);e="string"!=typeof e?e||this._targets||this.target:I.selector(e)||e;var i,r,o,a,s,l,c,u,h,f=n&&this._time&&n._startTime===this._startTime&&this._timeline===n._timeline,d=this._firstPT;if((g(e)||q(e))&&"number"!=typeof e[0])for(i=e.length;--i>-1;)this._kill(t,e[i],n)&&(l=!0);else{if(this._targets){for(i=this._targets.length;--i>-1;)if(e===this._targets[i]){s=this._propLookup[i]||{},this._overwrittenProps=this._overwrittenProps||[],r=this._overwrittenProps[i]=t?this._overwrittenProps[i]||{}:"all";break}}else{if(e!==this.target)return!1;s=this._propLookup,r=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(s){if(c=t||s,u=t!==r&&"all"!==r&&t!==s&&("object"!=typeof t||!t._tempKill),n&&(I.onOverwrite||this.vars.onOverwrite)){for(o in c)s[o]&&(h||(h=[]),h.push(o));if((h||!t)&&!Z(this,n,e,h))return!1}for(o in c)(a=s[o])&&(f&&(a.f?a.t[a.p](a.s):a.t[a.p]=a.s,l=!0),a.pg&&a.t._kill(c)&&(l=!0),a.pg&&0!==a.t._overwriteProps.length||(a._prev?a._prev._next=a._next:a===this._firstPT&&(this._firstPT=a._next),a._next&&(a._next._prev=a._prev),a._next=a._prev=null),delete s[o]),u&&(r[o]=1);!this._firstPT&&this._initted&&d&&this._enabled(!1,!1)}}return l},a.invalidate=function(){this._notifyPluginsOfEnabled&&I._onPluginEvent("_onDisable",this);var t=this._time;return this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],E.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-1e-8,this.render(t,!1,!1!==this.vars.lazy)),this},a._enabled=function(t,e){if(l||s.wake(),t&&this._gc){var n,i=this._targets;if(i)for(n=i.length;--n>-1;)this._siblings[n]=K(i[n],this,!0);else this._siblings=K(this.target,this,!0)}return E.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&I._onPluginEvent(t?"_onEnable":"_onDisable",this)},I.to=function(t,e,n){return new I(t,e,n)},I.from=function(t,e,n){return n.runBackwards=!0,n.immediateRender=0!=n.immediateRender,new I(t,e,n)},I.fromTo=function(t,e,n,i){return i.startAt=n,i.immediateRender=0!=i.immediateRender&&0!=n.immediateRender,new I(t,e,i)},I.delayedCall=function(t,e,n,i,r){return new I(e,0,{delay:t,onComplete:e,onCompleteParams:n,callbackScope:i,onReverseComplete:e,onReverseCompleteParams:n,immediateRender:!1,lazy:!1,useFrames:r,overwrite:0})},I.set=function(t,e){return new I(t,0,e)},I.getTweensOf=function(t,e){if(null==t)return[];var n,i,r,o;if(t="string"!=typeof t?t:I.selector(t)||t,(g(t)||q(t))&&"number"!=typeof t[0]){for(n=t.length,i=[];--n>-1;)i=i.concat(I.getTweensOf(t[n],e));for(n=i.length;--n>-1;)for(o=i[n],r=n;--r>-1;)o===i[r]&&i.splice(n,1)}else if(t._gsTweenID)for(n=(i=K(t).concat()).length;--n>-1;)(i[n]._gc||e&&!i[n].isActive())&&i.splice(n,1);return i||[]},I.killTweensOf=I.killDelayedCallsTo=function(t,e,n){"object"==typeof e&&(n=e,e=!1);for(var i=I.getTweensOf(t,e),r=i.length;--r>-1;)i[r]._kill(n,t)};var nt=b("plugins.TweenPlugin",(function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=nt.prototype}),!0);if(a=nt.prototype,nt.version="1.19.0",nt.API=2,a._firstPT=null,a._addTween=j,a.setRatio=F,a._kill=function(t){var e,n=this._overwriteProps,i=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=n.length;--e>-1;)null!=t[n[e]]&&n.splice(e,1);for(;i;)null!=t[i.n]&&(i._next&&(i._next._prev=i._prev),i._prev?(i._prev._next=i._next,i._prev=null):this._firstPT===i&&(this._firstPT=i._next)),i=i._next;return!1},a._mod=a._roundProps=function(t){for(var e,n=this._firstPT;n;)(e=t[this._propName]||null!=n.n&&t[n.n.split(this._propName+"_").join("")])&&"function"==typeof e&&(2===n.f?n.t._applyPT.m=e:n.m=e),n=n._next},I._onPluginEvent=function(t,e){var n,i,r,o,a,s=e._firstPT;if("_onInitAllProps"===t){for(;s;){for(a=s._next,i=r;i&&i.pr>s.pr;)i=i._next;(s._prev=i?i._prev:o)?s._prev._next=s:r=s,(s._next=i)?i._prev=s:o=s,s=a}s=e._firstPT=r}for(;s;)s.pg&&"function"==typeof s.t[t]&&s.t[t]()&&(n=!0),s=s._next;return n},nt.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===nt.API&&(W[(new t[e])._propName]=t[e]);return!0},y.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,n=t.propName,i=t.priority||0,r=t.overwriteProps,o={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},a=b("plugins."+n.charAt(0).toUpperCase()+n.substr(1)+"Plugin",(function(){nt.call(this,n,i),this._overwriteProps=r||[]}),!0===t.global),s=a.prototype=new nt(n);for(e in s.constructor=a,a.API=t.API,o)"function"==typeof t[e]&&(s[o[e]]=t[e]);return a.version=t.version,nt.activate([a]),a},r=t._gsQueue){for(o=0;o<r.length;o++)r[o]();for(a in m)m[a].func||t.console.log("GSAP encountered missing dependency: "+a)}return l=!1,I}(r),a=r.GreenSockGlobals,s=a.com.greensock,l=s.core.SimpleTimeline,c=s.core.Animation,u=a.Ease,h=a.Linear,f=h,d=a.Power1,p=a.Power2,g=a.Power3,m=a.Power4,v=a.TweenPlugin,y=s.events.EventDispatcher}.call(this,n(178)(t),n(47))},function(t,e,n){var i;
/*!
 * jQuery JavaScript Library v3.5.1
 * https://jquery.com/
 *
 * Includes Sizzle.js
 * https://sizzlejs.com/
 *
 * Copyright JS Foundation and other contributors
 * Released under the MIT license
 * https://jquery.org/license
 *
 * Date: 2020-05-04T22:49Z
 */!function(e,n){"use strict";"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,(function(n,r){"use strict";var o=[],a=Object.getPrototypeOf,s=o.slice,l=o.flat?function(t){return o.flat.call(t)}:function(t){return o.concat.apply([],t)},c=o.push,u=o.indexOf,h={},f=h.toString,d=h.hasOwnProperty,p=d.toString,g=p.call(Object),m={},v=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},y=function(t){return null!=t&&t===t.window},b=n.document,w={type:!0,src:!0,nonce:!0,noModule:!0};function _(t,e,n){var i,r,o=(n=n||b).createElement("script");if(o.text=t,e)for(i in w)(r=e[i]||e.getAttribute&&e.getAttribute(i))&&o.setAttribute(i,r);n.head.appendChild(o).parentNode.removeChild(o)}function x(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?h[f.call(t)]||"object":typeof t}var T=function(t,e){return new T.fn.init(t,e)};function k(t){var e=!!t&&"length"in t&&t.length,n=x(t);return!v(t)&&!y(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}T.fn=T.prototype={jquery:"3.5.1",constructor:T,length:0,toArray:function(){return s.call(this)},get:function(t){return null==t?s.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=T.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return T.each(this,t)},map:function(t){return this.pushStack(T.map(this,(function(e,n){return t.call(e,n,e)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(T.grep(this,(function(t,e){return(e+1)%2})))},odd:function(){return this.pushStack(T.grep(this,(function(t,e){return e%2})))},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:o.sort,splice:o.splice},T.extend=T.fn.extend=function(){var t,e,n,i,r,o,a=arguments[0]||{},s=1,l=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||v(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(t=arguments[s]))for(e in t)i=t[e],"__proto__"!==e&&a!==i&&(c&&i&&(T.isPlainObject(i)||(r=Array.isArray(i)))?(n=a[e],o=r&&!Array.isArray(n)?[]:r||T.isPlainObject(n)?n:{},r=!1,a[e]=T.extend(c,o,i)):void 0!==i&&(a[e]=i));return a},T.extend({expando:"jQuery"+("3.5.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==f.call(t))&&(!(e=a(t))||"function"==typeof(n=d.call(e,"constructor")&&e.constructor)&&p.call(n)===g)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,n){_(t,{nonce:e&&e.nonce},n)},each:function(t,e){var n,i=0;if(k(t))for(n=t.length;i<n&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(!1===e.call(t[i],i,t[i]))break;return t},makeArray:function(t,e){var n=e||[];return null!=t&&(k(Object(t))?T.merge(n,"string"==typeof t?[t]:t):c.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:u.call(e,t,n)},merge:function(t,e){for(var n=+e.length,i=0,r=t.length;i<n;i++)t[r++]=e[i];return t.length=r,t},grep:function(t,e,n){for(var i=[],r=0,o=t.length,a=!n;r<o;r++)!e(t[r],r)!==a&&i.push(t[r]);return i},map:function(t,e,n){var i,r,o=0,a=[];if(k(t))for(i=t.length;o<i;o++)null!=(r=e(t[o],o,n))&&a.push(r);else for(o in t)null!=(r=e(t[o],o,n))&&a.push(r);return l(a)},guid:1,support:m}),"function"==typeof Symbol&&(T.fn[Symbol.iterator]=o[Symbol.iterator]),T.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(t,e){h["[object "+e+"]"]=e.toLowerCase()}));var A=
/*!
 * Sizzle CSS Selector Engine v2.3.5
 * https://sizzlejs.com/
 *
 * Copyright JS Foundation and other contributors
 * Released under the MIT license
 * https://js.foundation/
 *
 * Date: 2020-03-14
 */
function(t){var e,n,i,r,o,a,s,l,c,u,h,f,d,p,g,m,v,y,b,w="sizzle"+1*new Date,_=t.document,x=0,T=0,k=lt(),A=lt(),S=lt(),C=lt(),P=function(t,e){return t===e&&(h=!0),0},E={}.hasOwnProperty,O=[],R=O.pop,I=O.push,q=O.push,M=O.slice,L=function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1},N="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",D="[\\x20\\t\\r\\n\\f]",F="(?:\\\\[\\da-fA-F]{1,6}"+D+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",z="\\["+D+"*("+F+")(?:"+D+"*([*^$|!~]?=)"+D+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+F+"))|)"+D+"*\\]",B=":("+F+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+z+")*)|.*)\\)|)",j=new RegExp(D+"+","g"),H=new RegExp("^"+D+"+|((?:^|[^\\\\])(?:\\\\.)*)"+D+"+$","g"),W=new RegExp("^"+D+"*,"+D+"*"),$=new RegExp("^"+D+"*([>+~]|"+D+")"+D+"*"),U=new RegExp(D+"|>"),X=new RegExp(B),Y=new RegExp("^"+F+"$"),V={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F+"|[*])"),ATTR:new RegExp("^"+z),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+D+"*(even|odd|(([+-]|)(\\d*)n|)"+D+"*(?:([+-]|)"+D+"*(\\d+)|))"+D+"*\\)|)","i"),bool:new RegExp("^(?:"+N+")$","i"),needsContext:new RegExp("^"+D+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+D+"*((?:-\\d)?\\d*)"+D+"*\\)|)(?=[^-]|$)","i")},G=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=new RegExp("\\\\[\\da-fA-F]{1,6}"+D+"?|\\\\([^\\r\\n\\f])","g"),nt=function(t,e){var n="0x"+t.slice(1)-65536;return e||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},it=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,rt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},ot=function(){f()},at=wt((function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{q.apply(O=M.call(_.childNodes),_.childNodes),O[_.childNodes.length].nodeType}catch(t){q={apply:O.length?function(t,e){I.apply(t,M.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}function st(t,e,i,r){var o,s,c,u,h,p,v,y=e&&e.ownerDocument,_=e?e.nodeType:9;if(i=i||[],"string"!=typeof t||!t||1!==_&&9!==_&&11!==_)return i;if(!r&&(f(e),e=e||d,g)){if(11!==_&&(h=Z.exec(t)))if(o=h[1]){if(9===_){if(!(c=e.getElementById(o)))return i;if(c.id===o)return i.push(c),i}else if(y&&(c=y.getElementById(o))&&b(e,c)&&c.id===o)return i.push(c),i}else{if(h[2])return q.apply(i,e.getElementsByTagName(t)),i;if((o=h[3])&&n.getElementsByClassName&&e.getElementsByClassName)return q.apply(i,e.getElementsByClassName(o)),i}if(n.qsa&&!C[t+" "]&&(!m||!m.test(t))&&(1!==_||"object"!==e.nodeName.toLowerCase())){if(v=t,y=e,1===_&&(U.test(t)||$.test(t))){for((y=tt.test(t)&&vt(e.parentNode)||e)===e&&n.scope||((u=e.getAttribute("id"))?u=u.replace(it,rt):e.setAttribute("id",u=w)),s=(p=a(t)).length;s--;)p[s]=(u?"#"+u:":scope")+" "+bt(p[s]);v=p.join(",")}try{return q.apply(i,y.querySelectorAll(v)),i}catch(e){C(t,!0)}finally{u===w&&e.removeAttribute("id")}}}return l(t.replace(H,"$1"),e,i,r)}function lt(){var t=[];return function e(n,r){return t.push(n+" ")>i.cacheLength&&delete e[t.shift()],e[n+" "]=r}}function ct(t){return t[w]=!0,t}function ut(t){var e=d.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ht(t,e){for(var n=t.split("|"),r=n.length;r--;)i.attrHandle[n[r]]=e}function ft(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function dt(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function pt(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function gt(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&at(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function mt(t){return ct((function(e){return e=+e,ct((function(n,i){for(var r,o=t([],n.length,e),a=o.length;a--;)n[r=o[a]]&&(n[r]=!(i[r]=n[r]))}))}))}function vt(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in n=st.support={},o=st.isXML=function(t){var e=t.namespaceURI,n=(t.ownerDocument||t).documentElement;return!G.test(e||n&&n.nodeName||"HTML")},f=st.setDocument=function(t){var e,r,a=t?t.ownerDocument||t:_;return a!=d&&9===a.nodeType&&a.documentElement?(p=(d=a).documentElement,g=!o(d),_!=d&&(r=d.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",ot,!1):r.attachEvent&&r.attachEvent("onunload",ot)),n.scope=ut((function(t){return p.appendChild(t).appendChild(d.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length})),n.attributes=ut((function(t){return t.className="i",!t.getAttribute("className")})),n.getElementsByTagName=ut((function(t){return t.appendChild(d.createComment("")),!t.getElementsByTagName("*").length})),n.getElementsByClassName=K.test(d.getElementsByClassName),n.getById=ut((function(t){return p.appendChild(t).id=w,!d.getElementsByName||!d.getElementsByName(w).length})),n.getById?(i.filter.ID=function(t){var e=t.replace(et,nt);return function(t){return t.getAttribute("id")===e}},i.find.ID=function(t,e){if(void 0!==e.getElementById&&g){var n=e.getElementById(t);return n?[n]:[]}}):(i.filter.ID=function(t){var e=t.replace(et,nt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},i.find.ID=function(t,e){if(void 0!==e.getElementById&&g){var n,i,r,o=e.getElementById(t);if(o){if((n=o.getAttributeNode("id"))&&n.value===t)return[o];for(r=e.getElementsByName(t),i=0;o=r[i++];)if((n=o.getAttributeNode("id"))&&n.value===t)return[o]}return[]}}),i.find.TAG=n.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):n.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],r=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},i.find.CLASS=n.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&g)return e.getElementsByClassName(t)},v=[],m=[],(n.qsa=K.test(d.querySelectorAll))&&(ut((function(t){var e;p.appendChild(t).innerHTML="<a id='"+w+"'></a><select id='"+w+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+D+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||m.push("\\["+D+"*(?:value|"+N+")"),t.querySelectorAll("[id~="+w+"-]").length||m.push("~="),(e=d.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||m.push("\\["+D+"*name"+D+"*="+D+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||m.push(":checked"),t.querySelectorAll("a#"+w+"+*").length||m.push(".#.+[+~]"),t.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")})),ut((function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=d.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&m.push("name"+D+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),p.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),m.push(",.*:")}))),(n.matchesSelector=K.test(y=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&ut((function(t){n.disconnectedMatch=y.call(t,"*"),y.call(t,"[s!='']:x"),v.push("!=",B)})),m=m.length&&new RegExp(m.join("|")),v=v.length&&new RegExp(v.join("|")),e=K.test(p.compareDocumentPosition),b=e||K.test(p.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},P=e?function(t,e){if(t===e)return h=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(1&(i=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!n.sortDetached&&e.compareDocumentPosition(t)===i?t==d||t.ownerDocument==_&&b(_,t)?-1:e==d||e.ownerDocument==_&&b(_,e)?1:u?L(u,t)-L(u,e):0:4&i?-1:1)}:function(t,e){if(t===e)return h=!0,0;var n,i=0,r=t.parentNode,o=e.parentNode,a=[t],s=[e];if(!r||!o)return t==d?-1:e==d?1:r?-1:o?1:u?L(u,t)-L(u,e):0;if(r===o)return ft(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)s.unshift(n);for(;a[i]===s[i];)i++;return i?ft(a[i],s[i]):a[i]==_?-1:s[i]==_?1:0},d):d},st.matches=function(t,e){return st(t,null,null,e)},st.matchesSelector=function(t,e){if(f(t),n.matchesSelector&&g&&!C[e+" "]&&(!v||!v.test(e))&&(!m||!m.test(e)))try{var i=y.call(t,e);if(i||n.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){C(e,!0)}return st(e,d,null,[t]).length>0},st.contains=function(t,e){return(t.ownerDocument||t)!=d&&f(t),b(t,e)},st.attr=function(t,e){(t.ownerDocument||t)!=d&&f(t);var r=i.attrHandle[e.toLowerCase()],o=r&&E.call(i.attrHandle,e.toLowerCase())?r(t,e,!g):void 0;return void 0!==o?o:n.attributes||!g?t.getAttribute(e):(o=t.getAttributeNode(e))&&o.specified?o.value:null},st.escape=function(t){return(t+"").replace(it,rt)},st.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},st.uniqueSort=function(t){var e,i=[],r=0,o=0;if(h=!n.detectDuplicates,u=!n.sortStable&&t.slice(0),t.sort(P),h){for(;e=t[o++];)e===t[o]&&(r=i.push(o));for(;r--;)t.splice(i[r],1)}return u=null,t},r=st.getText=function(t){var e,n="",i=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=r(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[i++];)n+=r(e);return n},(i=st.selectors={cacheLength:50,createPseudo:ct,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(et,nt),t[3]=(t[3]||t[4]||t[5]||"").replace(et,nt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||st.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&st.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return V.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&X.test(n)&&(e=a(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,nt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=k[t+" "];return e||(e=new RegExp("(^|"+D+")"+t+"("+D+"|$)"))&&k(t,(function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")}))},ATTR:function(t,e,n){return function(i){var r=st.attr(i,t);return null==r?"!="===e:!e||(r+="","="===e?r===n:"!="===e?r!==n:"^="===e?n&&0===r.indexOf(n):"*="===e?n&&r.indexOf(n)>-1:"$="===e?n&&r.slice(-n.length)===n:"~="===e?(" "+r.replace(j," ")+" ").indexOf(n)>-1:"|="===e&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,i,r){var o="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===i&&0===r?function(t){return!!t.parentNode}:function(e,n,l){var c,u,h,f,d,p,g=o!==a?"nextSibling":"previousSibling",m=e.parentNode,v=s&&e.nodeName.toLowerCase(),y=!l&&!s,b=!1;if(m){if(o){for(;g;){for(f=e;f=f[g];)if(s?f.nodeName.toLowerCase()===v:1===f.nodeType)return!1;p=g="only"===t&&!p&&"nextSibling"}return!0}if(p=[a?m.firstChild:m.lastChild],a&&y){for(b=(d=(c=(u=(h=(f=m)[w]||(f[w]={}))[f.uniqueID]||(h[f.uniqueID]={}))[t]||[])[0]===x&&c[1])&&c[2],f=d&&m.childNodes[d];f=++d&&f&&f[g]||(b=d=0)||p.pop();)if(1===f.nodeType&&++b&&f===e){u[t]=[x,d,b];break}}else if(y&&(b=d=(c=(u=(h=(f=e)[w]||(f[w]={}))[f.uniqueID]||(h[f.uniqueID]={}))[t]||[])[0]===x&&c[1]),!1===b)for(;(f=++d&&f&&f[g]||(b=d=0)||p.pop())&&((s?f.nodeName.toLowerCase()!==v:1!==f.nodeType)||!++b||(y&&((u=(h=f[w]||(f[w]={}))[f.uniqueID]||(h[f.uniqueID]={}))[t]=[x,b]),f!==e)););return(b-=r)===i||b%i==0&&b/i>=0}}},PSEUDO:function(t,e){var n,r=i.pseudos[t]||i.setFilters[t.toLowerCase()]||st.error("unsupported pseudo: "+t);return r[w]?r(e):r.length>1?(n=[t,t,"",e],i.setFilters.hasOwnProperty(t.toLowerCase())?ct((function(t,n){for(var i,o=r(t,e),a=o.length;a--;)t[i=L(t,o[a])]=!(n[i]=o[a])})):function(t){return r(t,0,n)}):r}},pseudos:{not:ct((function(t){var e=[],n=[],i=s(t.replace(H,"$1"));return i[w]?ct((function(t,e,n,r){for(var o,a=i(t,null,r,[]),s=t.length;s--;)(o=a[s])&&(t[s]=!(e[s]=o))})):function(t,r,o){return e[0]=t,i(e,null,o,n),e[0]=null,!n.pop()}})),has:ct((function(t){return function(e){return st(t,e).length>0}})),contains:ct((function(t){return t=t.replace(et,nt),function(e){return(e.textContent||r(e)).indexOf(t)>-1}})),lang:ct((function(t){return Y.test(t||"")||st.error("unsupported lang: "+t),t=t.replace(et,nt).toLowerCase(),function(e){var n;do{if(n=g?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===p},focus:function(t){return t===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:gt(!1),disabled:gt(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!i.pseudos.empty(t)},header:function(t){return J.test(t.nodeName)},input:function(t){return Q.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:mt((function(){return[0]})),last:mt((function(t,e){return[e-1]})),eq:mt((function(t,e,n){return[n<0?n+e:n]})),even:mt((function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t})),odd:mt((function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t})),lt:mt((function(t,e,n){for(var i=n<0?n+e:n>e?e:n;--i>=0;)t.push(i);return t})),gt:mt((function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t}))}}).pseudos.nth=i.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[e]=dt(e);for(e in{submit:!0,reset:!0})i.pseudos[e]=pt(e);function yt(){}function bt(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function wt(t,e,n){var i=e.dir,r=e.next,o=r||i,a=n&&"parentNode"===o,s=T++;return e.first?function(e,n,r){for(;e=e[i];)if(1===e.nodeType||a)return t(e,n,r);return!1}:function(e,n,l){var c,u,h,f=[x,s];if(l){for(;e=e[i];)if((1===e.nodeType||a)&&t(e,n,l))return!0}else for(;e=e[i];)if(1===e.nodeType||a)if(u=(h=e[w]||(e[w]={}))[e.uniqueID]||(h[e.uniqueID]={}),r&&r===e.nodeName.toLowerCase())e=e[i]||e;else{if((c=u[o])&&c[0]===x&&c[1]===s)return f[2]=c[2];if(u[o]=f,f[2]=t(e,n,l))return!0}return!1}}function _t(t){return t.length>1?function(e,n,i){for(var r=t.length;r--;)if(!t[r](e,n,i))return!1;return!0}:t[0]}function xt(t,e,n,i,r){for(var o,a=[],s=0,l=t.length,c=null!=e;s<l;s++)(o=t[s])&&(n&&!n(o,i,r)||(a.push(o),c&&e.push(s)));return a}function Tt(t,e,n,i,r,o){return i&&!i[w]&&(i=Tt(i)),r&&!r[w]&&(r=Tt(r,o)),ct((function(o,a,s,l){var c,u,h,f=[],d=[],p=a.length,g=o||function(t,e,n){for(var i=0,r=e.length;i<r;i++)st(t,e[i],n);return n}(e||"*",s.nodeType?[s]:s,[]),m=!t||!o&&e?g:xt(g,f,t,s,l),v=n?r||(o?t:p||i)?[]:a:m;if(n&&n(m,v,s,l),i)for(c=xt(v,d),i(c,[],s,l),u=c.length;u--;)(h=c[u])&&(v[d[u]]=!(m[d[u]]=h));if(o){if(r||t){if(r){for(c=[],u=v.length;u--;)(h=v[u])&&c.push(m[u]=h);r(null,v=[],c,l)}for(u=v.length;u--;)(h=v[u])&&(c=r?L(o,h):f[u])>-1&&(o[c]=!(a[c]=h))}}else v=xt(v===a?v.splice(p,v.length):v),r?r(null,a,v,l):q.apply(a,v)}))}function kt(t){for(var e,n,r,o=t.length,a=i.relative[t[0].type],s=a||i.relative[" "],l=a?1:0,u=wt((function(t){return t===e}),s,!0),h=wt((function(t){return L(e,t)>-1}),s,!0),f=[function(t,n,i){var r=!a&&(i||n!==c)||((e=n).nodeType?u(t,n,i):h(t,n,i));return e=null,r}];l<o;l++)if(n=i.relative[t[l].type])f=[wt(_t(f),n)];else{if((n=i.filter[t[l].type].apply(null,t[l].matches))[w]){for(r=++l;r<o&&!i.relative[t[r].type];r++);return Tt(l>1&&_t(f),l>1&&bt(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(H,"$1"),n,l<r&&kt(t.slice(l,r)),r<o&&kt(t=t.slice(r)),r<o&&bt(t))}f.push(n)}return _t(f)}return yt.prototype=i.filters=i.pseudos,i.setFilters=new yt,a=st.tokenize=function(t,e){var n,r,o,a,s,l,c,u=A[t+" "];if(u)return e?0:u.slice(0);for(s=t,l=[],c=i.preFilter;s;){for(a in n&&!(r=W.exec(s))||(r&&(s=s.slice(r[0].length)||s),l.push(o=[])),n=!1,(r=$.exec(s))&&(n=r.shift(),o.push({value:n,type:r[0].replace(H," ")}),s=s.slice(n.length)),i.filter)!(r=V[a].exec(s))||c[a]&&!(r=c[a](r))||(n=r.shift(),o.push({value:n,type:a,matches:r}),s=s.slice(n.length));if(!n)break}return e?s.length:s?st.error(t):A(t,l).slice(0)},s=st.compile=function(t,e){var n,r=[],o=[],s=S[t+" "];if(!s){for(e||(e=a(t)),n=e.length;n--;)(s=kt(e[n]))[w]?r.push(s):o.push(s);(s=S(t,function(t,e){var n=e.length>0,r=t.length>0,o=function(o,a,s,l,u){var h,p,m,v=0,y="0",b=o&&[],w=[],_=c,T=o||r&&i.find.TAG("*",u),k=x+=null==_?1:Math.random()||.1,A=T.length;for(u&&(c=a==d||a||u);y!==A&&null!=(h=T[y]);y++){if(r&&h){for(p=0,a||h.ownerDocument==d||(f(h),s=!g);m=t[p++];)if(m(h,a||d,s)){l.push(h);break}u&&(x=k)}n&&((h=!m&&h)&&v--,o&&b.push(h))}if(v+=y,n&&y!==v){for(p=0;m=e[p++];)m(b,w,a,s);if(o){if(v>0)for(;y--;)b[y]||w[y]||(w[y]=R.call(l));w=xt(w)}q.apply(l,w),u&&!o&&w.length>0&&v+e.length>1&&st.uniqueSort(l)}return u&&(x=k,c=_),b};return n?ct(o):o}(o,r))).selector=t}return s},l=st.select=function(t,e,n,r){var o,l,c,u,h,f="function"==typeof t&&t,d=!r&&a(t=f.selector||t);if(n=n||[],1===d.length){if((l=d[0]=d[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&9===e.nodeType&&g&&i.relative[l[1].type]){if(!(e=(i.find.ID(c.matches[0].replace(et,nt),e)||[])[0]))return n;f&&(e=e.parentNode),t=t.slice(l.shift().value.length)}for(o=V.needsContext.test(t)?0:l.length;o--&&(c=l[o],!i.relative[u=c.type]);)if((h=i.find[u])&&(r=h(c.matches[0].replace(et,nt),tt.test(l[0].type)&&vt(e.parentNode)||e))){if(l.splice(o,1),!(t=r.length&&bt(l)))return q.apply(n,r),n;break}}return(f||s(t,d))(r,e,!g,n,!e||tt.test(t)&&vt(e.parentNode)||e),n},n.sortStable=w.split("").sort(P).join("")===w,n.detectDuplicates=!!h,f(),n.sortDetached=ut((function(t){return 1&t.compareDocumentPosition(d.createElement("fieldset"))})),ut((function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")}))||ht("type|href|height|width",(function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)})),n.attributes&&ut((function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")}))||ht("value",(function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue})),ut((function(t){return null==t.getAttribute("disabled")}))||ht(N,(function(t,e,n){var i;if(!n)return!0===t[e]?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null})),st}(n);T.find=A,T.expr=A.selectors,T.expr[":"]=T.expr.pseudos,T.uniqueSort=T.unique=A.uniqueSort,T.text=A.getText,T.isXMLDoc=A.isXML,T.contains=A.contains,T.escapeSelector=A.escape;var S=function(t,e,n){for(var i=[],r=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(r&&T(t).is(n))break;i.push(t)}return i},C=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},P=T.expr.match.needsContext;function E(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var O=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function R(t,e,n){return v(e)?T.grep(t,(function(t,i){return!!e.call(t,i,t)!==n})):e.nodeType?T.grep(t,(function(t){return t===e!==n})):"string"!=typeof e?T.grep(t,(function(t){return u.call(e,t)>-1!==n})):T.filter(e,t,n)}T.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?T.find.matchesSelector(i,t)?[i]:[]:T.find.matches(t,T.grep(e,(function(t){return 1===t.nodeType})))},T.fn.extend({find:function(t){var e,n,i=this.length,r=this;if("string"!=typeof t)return this.pushStack(T(t).filter((function(){for(e=0;e<i;e++)if(T.contains(r[e],this))return!0})));for(n=this.pushStack([]),e=0;e<i;e++)T.find(t,r[e],n);return i>1?T.uniqueSort(n):n},filter:function(t){return this.pushStack(R(this,t||[],!1))},not:function(t){return this.pushStack(R(this,t||[],!0))},is:function(t){return!!R(this,"string"==typeof t&&P.test(t)?T(t):t||[],!1).length}});var I,q=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(T.fn.init=function(t,e,n){var i,r;if(!t)return this;if(n=n||I,"string"==typeof t){if(!(i="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:q.exec(t))||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof T?e[0]:e,T.merge(this,T.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:b,!0)),O.test(i[1])&&T.isPlainObject(e))for(i in e)v(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return(r=b.getElementById(i[2]))&&(this[0]=r,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):v(t)?void 0!==n.ready?n.ready(t):t(T):T.makeArray(t,this)}).prototype=T.fn,I=T(b);var M=/^(?:parents|prev(?:Until|All))/,L={children:!0,contents:!0,next:!0,prev:!0};function N(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}T.fn.extend({has:function(t){var e=T(t,this),n=e.length;return this.filter((function(){for(var t=0;t<n;t++)if(T.contains(this,e[t]))return!0}))},closest:function(t,e){var n,i=0,r=this.length,o=[],a="string"!=typeof t&&T(t);if(!P.test(t))for(;i<r;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&T.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?T.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?u.call(T(t),this[0]):u.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(T.uniqueSort(T.merge(this.get(),T(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),T.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return S(t,"parentNode")},parentsUntil:function(t,e,n){return S(t,"parentNode",n)},next:function(t){return N(t,"nextSibling")},prev:function(t){return N(t,"previousSibling")},nextAll:function(t){return S(t,"nextSibling")},prevAll:function(t){return S(t,"previousSibling")},nextUntil:function(t,e,n){return S(t,"nextSibling",n)},prevUntil:function(t,e,n){return S(t,"previousSibling",n)},siblings:function(t){return C((t.parentNode||{}).firstChild,t)},children:function(t){return C(t.firstChild)},contents:function(t){return null!=t.contentDocument&&a(t.contentDocument)?t.contentDocument:(E(t,"template")&&(t=t.content||t),T.merge([],t.childNodes))}},(function(t,e){T.fn[t]=function(n,i){var r=T.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=T.filter(i,r)),this.length>1&&(L[t]||T.uniqueSort(r),M.test(t)&&r.reverse()),this.pushStack(r)}}));var D=/[^\x20\t\r\n\f]+/g;function F(t){return t}function z(t){throw t}function B(t,e,n,i){var r;try{t&&v(r=t.promise)?r.call(t).done(e).fail(n):t&&v(r=t.then)?r.call(t,e,n):e.apply(void 0,[t].slice(i))}catch(t){n.apply(void 0,[t])}}T.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return T.each(t.match(D)||[],(function(t,n){e[n]=!0})),e}(t):T.extend({},t);var e,n,i,r,o=[],a=[],s=-1,l=function(){for(r=r||t.once,i=e=!0;a.length;s=-1)for(n=a.shift();++s<o.length;)!1===o[s].apply(n[0],n[1])&&t.stopOnFalse&&(s=o.length,n=!1);t.memory||(n=!1),e=!1,r&&(o=n?[]:"")},c={add:function(){return o&&(n&&!e&&(s=o.length-1,a.push(n)),function e(n){T.each(n,(function(n,i){v(i)?t.unique&&c.has(i)||o.push(i):i&&i.length&&"string"!==x(i)&&e(i)}))}(arguments),n&&!e&&l()),this},remove:function(){return T.each(arguments,(function(t,e){for(var n;(n=T.inArray(e,o,n))>-1;)o.splice(n,1),n<=s&&s--})),this},has:function(t){return t?T.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return r=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return r=a=[],n||e||(o=n=""),this},locked:function(){return!!r},fireWith:function(t,n){return r||(n=[t,(n=n||[]).slice?n.slice():n],a.push(n),e||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!i}};return c},T.extend({Deferred:function(t){var e=[["notify","progress",T.Callbacks("memory"),T.Callbacks("memory"),2],["resolve","done",T.Callbacks("once memory"),T.Callbacks("once memory"),0,"resolved"],["reject","fail",T.Callbacks("once memory"),T.Callbacks("once memory"),1,"rejected"]],i="pending",r={state:function(){return i},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return r.then(null,t)},pipe:function(){var t=arguments;return T.Deferred((function(n){T.each(e,(function(e,i){var r=v(t[i[4]])&&t[i[4]];o[i[1]]((function(){var t=r&&r.apply(this,arguments);t&&v(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this,r?[t]:arguments)}))})),t=null})).promise()},then:function(t,i,r){var o=0;function a(t,e,i,r){return function(){var s=this,l=arguments,c=function(){var n,c;if(!(t<o)){if((n=i.apply(s,l))===e.promise())throw new TypeError("Thenable self-resolution");c=n&&("object"==typeof n||"function"==typeof n)&&n.then,v(c)?r?c.call(n,a(o,e,F,r),a(o,e,z,r)):(o++,c.call(n,a(o,e,F,r),a(o,e,z,r),a(o,e,F,e.notifyWith))):(i!==F&&(s=void 0,l=[n]),(r||e.resolveWith)(s,l))}},u=r?c:function(){try{c()}catch(n){T.Deferred.exceptionHook&&T.Deferred.exceptionHook(n,u.stackTrace),t+1>=o&&(i!==z&&(s=void 0,l=[n]),e.rejectWith(s,l))}};t?u():(T.Deferred.getStackHook&&(u.stackTrace=T.Deferred.getStackHook()),n.setTimeout(u))}}return T.Deferred((function(n){e[0][3].add(a(0,n,v(r)?r:F,n.notifyWith)),e[1][3].add(a(0,n,v(t)?t:F)),e[2][3].add(a(0,n,v(i)?i:z))})).promise()},promise:function(t){return null!=t?T.extend(t,r):r}},o={};return T.each(e,(function(t,n){var a=n[2],s=n[5];r[n[1]]=a.add,s&&a.add((function(){i=s}),e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),a.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=a.fireWith})),r.promise(o),t&&t.call(o,o),o},when:function(t){var e=arguments.length,n=e,i=Array(n),r=s.call(arguments),o=T.Deferred(),a=function(t){return function(n){i[t]=this,r[t]=arguments.length>1?s.call(arguments):n,--e||o.resolveWith(i,r)}};if(e<=1&&(B(t,o.done(a(n)).resolve,o.reject,!e),"pending"===o.state()||v(r[n]&&r[n].then)))return o.then();for(;n--;)B(r[n],a(n),o.reject);return o.promise()}});var j=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;T.Deferred.exceptionHook=function(t,e){n.console&&n.console.warn&&t&&j.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},T.readyException=function(t){n.setTimeout((function(){throw t}))};var H=T.Deferred();function W(){b.removeEventListener("DOMContentLoaded",W),n.removeEventListener("load",W),T.ready()}T.fn.ready=function(t){return H.then(t).catch((function(t){T.readyException(t)})),this},T.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--T.readyWait:T.isReady)||(T.isReady=!0,!0!==t&&--T.readyWait>0||H.resolveWith(b,[T]))}}),T.ready.then=H.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?n.setTimeout(T.ready):(b.addEventListener("DOMContentLoaded",W),n.addEventListener("load",W));var $=function(t,e,n,i,r,o,a){var s=0,l=t.length,c=null==n;if("object"===x(n))for(s in r=!0,n)$(t,e,s,n[s],!0,o,a);else if(void 0!==i&&(r=!0,v(i)||(a=!0),c&&(a?(e.call(t,i),e=null):(c=e,e=function(t,e,n){return c.call(T(t),n)})),e))for(;s<l;s++)e(t[s],n,a?i:i.call(t[s],s,e(t[s],n)));return r?t:c?e.call(t):l?e(t[0],n):o},U=/^-ms-/,X=/-([a-z])/g;function Y(t,e){return e.toUpperCase()}function V(t){return t.replace(U,"ms-").replace(X,Y)}var G=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function Q(){this.expando=T.expando+Q.uid++}Q.uid=1,Q.prototype={cache:function(t){var e=t[this.expando];return e||(e={},G(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var i,r=this.cache(t);if("string"==typeof e)r[V(e)]=n;else for(i in e)r[V(i)]=e[i];return r},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][V(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i=t[this.expando];if(void 0!==i){if(void 0!==e){n=(e=Array.isArray(e)?e.map(V):(e=V(e))in i?[e]:e.match(D)||[]).length;for(;n--;)delete i[e[n]]}(void 0===e||T.isEmptyObject(i))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!T.isEmptyObject(e)}};var J=new Q,K=new Q,Z=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,tt=/[A-Z]/g;function et(t,e,n){var i;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(tt,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(i))){try{n=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:Z.test(t)?JSON.parse(t):t)}(n)}catch(t){}K.set(t,e,n)}else n=void 0;return n}T.extend({hasData:function(t){return K.hasData(t)||J.hasData(t)},data:function(t,e,n){return K.access(t,e,n)},removeData:function(t,e){K.remove(t,e)},_data:function(t,e,n){return J.access(t,e,n)},_removeData:function(t,e){J.remove(t,e)}}),T.fn.extend({data:function(t,e){var n,i,r,o=this[0],a=o&&o.attributes;if(void 0===t){if(this.length&&(r=K.get(o),1===o.nodeType&&!J.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(i=a[n].name).indexOf("data-")&&(i=V(i.slice(5)),et(o,i,r[i]));J.set(o,"hasDataAttrs",!0)}return r}return"object"==typeof t?this.each((function(){K.set(this,t)})):$(this,(function(e){var n;if(o&&void 0===e)return void 0!==(n=K.get(o,t))||void 0!==(n=et(o,t))?n:void 0;this.each((function(){K.set(this,t,e)}))}),null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each((function(){K.remove(this,t)}))}}),T.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=J.get(t,e),n&&(!i||Array.isArray(n)?i=J.access(t,e,T.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=T.queue(t,e),i=n.length,r=n.shift(),o=T._queueHooks(t,e);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete o.stop,r.call(t,(function(){T.dequeue(t,e)}),o)),!i&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return J.get(t,n)||J.access(t,n,{empty:T.Callbacks("once memory").add((function(){J.remove(t,[e+"queue",n])}))})}}),T.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?T.queue(this[0],t):void 0===e?this:this.each((function(){var n=T.queue(this,t,e);T._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&T.dequeue(this,t)}))},dequeue:function(t){return this.each((function(){T.dequeue(this,t)}))},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,r=T.Deferred(),o=this,a=this.length,s=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)(n=J.get(o[a],t+"queueHooks"))&&n.empty&&(i++,n.empty.add(s));return s(),r.promise(e)}});var nt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,it=new RegExp("^(?:([+-])=|)("+nt+")([a-z%]*)$","i"),rt=["Top","Right","Bottom","Left"],ot=b.documentElement,at=function(t){return T.contains(t.ownerDocument,t)},st={composed:!0};ot.getRootNode&&(at=function(t){return T.contains(t.ownerDocument,t)||t.getRootNode(st)===t.ownerDocument});var lt=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&at(t)&&"none"===T.css(t,"display")};function ct(t,e,n,i){var r,o,a=20,s=i?function(){return i.cur()}:function(){return T.css(t,e,"")},l=s(),c=n&&n[3]||(T.cssNumber[e]?"":"px"),u=t.nodeType&&(T.cssNumber[e]||"px"!==c&&+l)&&it.exec(T.css(t,e));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;a--;)T.style(t,e,u+c),(1-o)*(1-(o=s()/l||.5))<=0&&(a=0),u/=o;u*=2,T.style(t,e,u+c),n=n||[]}return n&&(u=+u||+l||0,r=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=u,i.end=r)),r}var ut={};function ht(t){var e,n=t.ownerDocument,i=t.nodeName,r=ut[i];return r||(e=n.body.appendChild(n.createElement(i)),r=T.css(e,"display"),e.parentNode.removeChild(e),"none"===r&&(r="block"),ut[i]=r,r)}function ft(t,e){for(var n,i,r=[],o=0,a=t.length;o<a;o++)(i=t[o]).style&&(n=i.style.display,e?("none"===n&&(r[o]=J.get(i,"display")||null,r[o]||(i.style.display="")),""===i.style.display&&lt(i)&&(r[o]=ht(i))):"none"!==n&&(r[o]="none",J.set(i,"display",n)));for(o=0;o<a;o++)null!=r[o]&&(t[o].style.display=r[o]);return t}T.fn.extend({show:function(){return ft(this,!0)},hide:function(){return ft(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each((function(){lt(this)?T(this).show():T(this).hide()}))}});var dt,pt,gt=/^(?:checkbox|radio)$/i,mt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,vt=/^$|^module$|\/(?:java|ecma)script/i;dt=b.createDocumentFragment().appendChild(b.createElement("div")),(pt=b.createElement("input")).setAttribute("type","radio"),pt.setAttribute("checked","checked"),pt.setAttribute("name","t"),dt.appendChild(pt),m.checkClone=dt.cloneNode(!0).cloneNode(!0).lastChild.checked,dt.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!dt.cloneNode(!0).lastChild.defaultValue,dt.innerHTML="<option></option>",m.option=!!dt.lastChild;var yt={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function bt(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&E(t,e)?T.merge([t],n):n}function wt(t,e){for(var n=0,i=t.length;n<i;n++)J.set(t[n],"globalEval",!e||J.get(e[n],"globalEval"))}yt.tbody=yt.tfoot=yt.colgroup=yt.caption=yt.thead,yt.th=yt.td,m.option||(yt.optgroup=yt.option=[1,"<select multiple='multiple'>","</select>"]);var _t=/<|&#?\w+;/;function xt(t,e,n,i,r){for(var o,a,s,l,c,u,h=e.createDocumentFragment(),f=[],d=0,p=t.length;d<p;d++)if((o=t[d])||0===o)if("object"===x(o))T.merge(f,o.nodeType?[o]:o);else if(_t.test(o)){for(a=a||h.appendChild(e.createElement("div")),s=(mt.exec(o)||["",""])[1].toLowerCase(),l=yt[s]||yt._default,a.innerHTML=l[1]+T.htmlPrefilter(o)+l[2],u=l[0];u--;)a=a.lastChild;T.merge(f,a.childNodes),(a=h.firstChild).textContent=""}else f.push(e.createTextNode(o));for(h.textContent="",d=0;o=f[d++];)if(i&&T.inArray(o,i)>-1)r&&r.push(o);else if(c=at(o),a=bt(h.appendChild(o),"script"),c&&wt(a),n)for(u=0;o=a[u++];)vt.test(o.type||"")&&n.push(o);return h}var Tt=/^key/,kt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,At=/^([^.]*)(?:\.(.+)|)/;function St(){return!0}function Ct(){return!1}function Pt(t,e){return t===function(){try{return b.activeElement}catch(t){}}()==("focus"===e)}function Et(t,e,n,i,r,o){var a,s;if("object"==typeof e){for(s in"string"!=typeof n&&(i=i||n,n=void 0),e)Et(t,s,n,i,e[s],o);return t}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=Ct;else if(!r)return t;return 1===o&&(a=r,(r=function(t){return T().off(t),a.apply(this,arguments)}).guid=a.guid||(a.guid=T.guid++)),t.each((function(){T.event.add(this,e,r,i,n)}))}function Ot(t,e,n){n?(J.set(t,e,!1),T.event.add(t,e,{namespace:!1,handler:function(t){var i,r,o=J.get(this,e);if(1&t.isTrigger&&this[e]){if(o.length)(T.event.special[e]||{}).delegateType&&t.stopPropagation();else if(o=s.call(arguments),J.set(this,e,o),i=n(this,e),this[e](),o!==(r=J.get(this,e))||i?J.set(this,e,!1):r={},o!==r)return t.stopImmediatePropagation(),t.preventDefault(),r.value}else o.length&&(J.set(this,e,{value:T.event.trigger(T.extend(o[0],T.Event.prototype),o.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===J.get(t,e)&&T.event.add(t,e,St)}T.event={global:{},add:function(t,e,n,i,r){var o,a,s,l,c,u,h,f,d,p,g,m=J.get(t);if(G(t))for(n.handler&&(n=(o=n).handler,r=o.selector),r&&T.find.matchesSelector(ot,r),n.guid||(n.guid=T.guid++),(l=m.events)||(l=m.events=Object.create(null)),(a=m.handle)||(a=m.handle=function(e){return void 0!==T&&T.event.triggered!==e.type?T.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(D)||[""]).length;c--;)d=g=(s=At.exec(e[c])||[])[1],p=(s[2]||"").split(".").sort(),d&&(h=T.event.special[d]||{},d=(r?h.delegateType:h.bindType)||d,h=T.event.special[d]||{},u=T.extend({type:d,origType:g,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&T.expr.match.needsContext.test(r),namespace:p.join(".")},o),(f=l[d])||((f=l[d]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(t,i,p,a)||t.addEventListener&&t.addEventListener(d,a)),h.add&&(h.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),r?f.splice(f.delegateCount++,0,u):f.push(u),T.event.global[d]=!0)},remove:function(t,e,n,i,r){var o,a,s,l,c,u,h,f,d,p,g,m=J.hasData(t)&&J.get(t);if(m&&(l=m.events)){for(c=(e=(e||"").match(D)||[""]).length;c--;)if(d=g=(s=At.exec(e[c])||[])[1],p=(s[2]||"").split(".").sort(),d){for(h=T.event.special[d]||{},f=l[d=(i?h.delegateType:h.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=f.length;o--;)u=f[o],!r&&g!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(f.splice(o,1),u.selector&&f.delegateCount--,h.remove&&h.remove.call(t,u));a&&!f.length&&(h.teardown&&!1!==h.teardown.call(t,p,m.handle)||T.removeEvent(t,d,m.handle),delete l[d])}else for(d in l)T.event.remove(t,d+e[c],n,i,!0);T.isEmptyObject(l)&&J.remove(t,"handle events")}},dispatch:function(t){var e,n,i,r,o,a,s=new Array(arguments.length),l=T.event.fix(t),c=(J.get(this,"events")||Object.create(null))[l.type]||[],u=T.event.special[l.type]||{};for(s[0]=l,e=1;e<arguments.length;e++)s[e]=arguments[e];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(a=T.event.handlers.call(this,l,c),e=0;(r=a[e++])&&!l.isPropagationStopped();)for(l.currentTarget=r.elem,n=0;(o=r.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==o.namespace&&!l.rnamespace.test(o.namespace)||(l.handleObj=o,l.data=o.data,void 0!==(i=((T.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,s))&&!1===(l.result=i)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(t,e){var n,i,r,o,a,s=[],l=e.delegateCount,c=t.target;if(l&&c.nodeType&&!("click"===t.type&&t.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==t.type||!0!==c.disabled)){for(o=[],a={},n=0;n<l;n++)void 0===a[r=(i=e[n]).selector+" "]&&(a[r]=i.needsContext?T(r,this).index(c)>-1:T.find(r,this,null,[c]).length),a[r]&&o.push(i);o.length&&s.push({elem:c,handlers:o})}return c=this,l<e.length&&s.push({elem:c,handlers:e.slice(l)}),s},addProp:function(t,e){Object.defineProperty(T.Event.prototype,t,{enumerable:!0,configurable:!0,get:v(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[T.expando]?t:new T.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return gt.test(e.type)&&e.click&&E(e,"input")&&Ot(e,"click",St),!1},trigger:function(t){var e=this||t;return gt.test(e.type)&&e.click&&E(e,"input")&&Ot(e,"click"),!0},_default:function(t){var e=t.target;return gt.test(e.type)&&e.click&&E(e,"input")&&J.get(e,"click")||E(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},T.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},T.Event=function(t,e){if(!(this instanceof T.Event))return new T.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?St:Ct,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&T.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[T.expando]=!0},T.Event.prototype={constructor:T.Event,isDefaultPrevented:Ct,isPropagationStopped:Ct,isImmediatePropagationStopped:Ct,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=St,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=St,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=St,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},T.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var e=t.button;return null==t.which&&Tt.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&kt.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},T.event.addProp),T.each({focus:"focusin",blur:"focusout"},(function(t,e){T.event.special[t]={setup:function(){return Ot(this,t,Pt),!1},trigger:function(){return Ot(this,t),!0},delegateType:e}})),T.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(t,e){T.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=this,r=t.relatedTarget,o=t.handleObj;return r&&(r===i||T.contains(i,r))||(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}})),T.fn.extend({on:function(t,e,n,i){return Et(this,t,e,n,i)},one:function(t,e,n,i){return Et(this,t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,T(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(r in t)this.off(r,e,t[r]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=Ct),this.each((function(){T.event.remove(this,t,n,e)}))}});var Rt=/<script|<style|<link/i,It=/checked\s*(?:[^=]|=\s*.checked.)/i,qt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Mt(t,e){return E(t,"table")&&E(11!==e.nodeType?e:e.firstChild,"tr")&&T(t).children("tbody")[0]||t}function Lt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Nt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Dt(t,e){var n,i,r,o,a,s;if(1===e.nodeType){if(J.hasData(t)&&(s=J.get(t).events))for(r in J.remove(e,"handle events"),s)for(n=0,i=s[r].length;n<i;n++)T.event.add(e,r,s[r][n]);K.hasData(t)&&(o=K.access(t),a=T.extend({},o),K.set(e,a))}}function Ft(t,e){var n=e.nodeName.toLowerCase();"input"===n&&gt.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function zt(t,e,n,i){e=l(e);var r,o,a,s,c,u,h=0,f=t.length,d=f-1,p=e[0],g=v(p);if(g||f>1&&"string"==typeof p&&!m.checkClone&&It.test(p))return t.each((function(r){var o=t.eq(r);g&&(e[0]=p.call(this,r,o.html())),zt(o,e,n,i)}));if(f&&(o=(r=xt(e,t[0].ownerDocument,!1,t,i)).firstChild,1===r.childNodes.length&&(r=o),o||i)){for(s=(a=T.map(bt(r,"script"),Lt)).length;h<f;h++)c=r,h!==d&&(c=T.clone(c,!0,!0),s&&T.merge(a,bt(c,"script"))),n.call(t[h],c,h);if(s)for(u=a[a.length-1].ownerDocument,T.map(a,Nt),h=0;h<s;h++)c=a[h],vt.test(c.type||"")&&!J.access(c,"globalEval")&&T.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?T._evalUrl&&!c.noModule&&T._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):_(c.textContent.replace(qt,""),c,u))}return t}function Bt(t,e,n){for(var i,r=e?T.filter(e,t):t,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||T.cleanData(bt(i)),i.parentNode&&(n&&at(i)&&wt(bt(i,"script")),i.parentNode.removeChild(i));return t}T.extend({htmlPrefilter:function(t){return t},clone:function(t,e,n){var i,r,o,a,s=t.cloneNode(!0),l=at(t);if(!(m.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||T.isXMLDoc(t)))for(a=bt(s),i=0,r=(o=bt(t)).length;i<r;i++)Ft(o[i],a[i]);if(e)if(n)for(o=o||bt(t),a=a||bt(s),i=0,r=o.length;i<r;i++)Dt(o[i],a[i]);else Dt(t,s);return(a=bt(s,"script")).length>0&&wt(a,!l&&bt(t,"script")),s},cleanData:function(t){for(var e,n,i,r=T.event.special,o=0;void 0!==(n=t[o]);o++)if(G(n)){if(e=n[J.expando]){if(e.events)for(i in e.events)r[i]?T.event.remove(n,i):T.removeEvent(n,i,e.handle);n[J.expando]=void 0}n[K.expando]&&(n[K.expando]=void 0)}}}),T.fn.extend({detach:function(t){return Bt(this,t,!0)},remove:function(t){return Bt(this,t)},text:function(t){return $(this,(function(t){return void 0===t?T.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)}))}),null,t,arguments.length)},append:function(){return zt(this,arguments,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Mt(this,t).appendChild(t)}))},prepend:function(){return zt(this,arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Mt(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return zt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return zt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)}))},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(T.cleanData(bt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map((function(){return T.clone(this,t,e)}))},html:function(t){return $(this,(function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Rt.test(t)&&!yt[(mt.exec(t)||["",""])[1].toLowerCase()]){t=T.htmlPrefilter(t);try{for(;n<i;n++)1===(e=this[n]||{}).nodeType&&(T.cleanData(bt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)}),null,t,arguments.length)},replaceWith:function(){var t=[];return zt(this,arguments,(function(e){var n=this.parentNode;T.inArray(this,t)<0&&(T.cleanData(bt(this)),n&&n.replaceChild(e,this))}),t)}}),T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(t,e){T.fn[t]=function(t){for(var n,i=[],r=T(t),o=r.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),T(r[a])[e](n),c.apply(i,n.get());return this.pushStack(i)}}));var jt=new RegExp("^("+nt+")(?!px)[a-z%]+$","i"),Ht=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=n),e.getComputedStyle(t)},Wt=function(t,e,n){var i,r,o={};for(r in e)o[r]=t.style[r],t.style[r]=e[r];for(r in i=n.call(t),e)t.style[r]=o[r];return i},$t=new RegExp(rt.join("|"),"i");function Ut(t,e,n){var i,r,o,a,s=t.style;return(n=n||Ht(t))&&(""!==(a=n.getPropertyValue(e)||n[e])||at(t)||(a=T.style(t,e)),!m.pixelBoxStyles()&&jt.test(a)&&$t.test(e)&&(i=s.width,r=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=i,s.minWidth=r,s.maxWidth=o)),void 0!==a?a+"":a}function Xt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function t(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ot.appendChild(c).appendChild(u);var t=n.getComputedStyle(u);i="1%"!==t.top,l=12===e(t.marginLeft),u.style.right="60%",a=36===e(t.right),r=36===e(t.width),u.style.position="absolute",o=12===e(u.offsetWidth/3),ot.removeChild(c),u=null}}function e(t){return Math.round(parseFloat(t))}var i,r,o,a,s,l,c=b.createElement("div"),u=b.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===u.style.backgroundClip,T.extend(m,{boxSizingReliable:function(){return t(),r},pixelBoxStyles:function(){return t(),a},pixelPosition:function(){return t(),i},reliableMarginLeft:function(){return t(),l},scrollboxSize:function(){return t(),o},reliableTrDimensions:function(){var t,e,i,r;return null==s&&(t=b.createElement("table"),e=b.createElement("tr"),i=b.createElement("div"),t.style.cssText="position:absolute;left:-11111px",e.style.height="1px",i.style.height="9px",ot.appendChild(t).appendChild(e).appendChild(i),r=n.getComputedStyle(e),s=parseInt(r.height)>3,ot.removeChild(t)),s}}))}();var Yt=["Webkit","Moz","ms"],Vt=b.createElement("div").style,Gt={};function Qt(t){var e=T.cssProps[t]||Gt[t];return e||(t in Vt?t:Gt[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),n=Yt.length;n--;)if((t=Yt[n]+e)in Vt)return t}(t)||t)}var Jt=/^(none|table(?!-c[ea]).+)/,Kt=/^--/,Zt={position:"absolute",visibility:"hidden",display:"block"},te={letterSpacing:"0",fontWeight:"400"};function ee(t,e,n){var i=it.exec(e);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):e}function ne(t,e,n,i,r,o){var a="width"===e?1:0,s=0,l=0;if(n===(i?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=T.css(t,n+rt[a],!0,r)),i?("content"===n&&(l-=T.css(t,"padding"+rt[a],!0,r)),"margin"!==n&&(l-=T.css(t,"border"+rt[a]+"Width",!0,r))):(l+=T.css(t,"padding"+rt[a],!0,r),"padding"!==n?l+=T.css(t,"border"+rt[a]+"Width",!0,r):s+=T.css(t,"border"+rt[a]+"Width",!0,r));return!i&&o>=0&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-o-l-s-.5))||0),l}function ie(t,e,n){var i=Ht(t),r=(!m.boxSizingReliable()||n)&&"border-box"===T.css(t,"boxSizing",!1,i),o=r,a=Ut(t,e,i),s="offset"+e[0].toUpperCase()+e.slice(1);if(jt.test(a)){if(!n)return a;a="auto"}return(!m.boxSizingReliable()&&r||!m.reliableTrDimensions()&&E(t,"tr")||"auto"===a||!parseFloat(a)&&"inline"===T.css(t,"display",!1,i))&&t.getClientRects().length&&(r="border-box"===T.css(t,"boxSizing",!1,i),(o=s in t)&&(a=t[s])),(a=parseFloat(a)||0)+ne(t,e,n||(r?"border":"content"),o,i,a)+"px"}function re(t,e,n,i,r){return new re.prototype.init(t,e,n,i,r)}T.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Ut(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,a,s=V(e),l=Kt.test(e),c=t.style;if(l||(e=Qt(s)),a=T.cssHooks[e]||T.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(r=a.get(t,!1,i))?r:c[e];"string"===(o=typeof n)&&(r=it.exec(n))&&r[1]&&(n=ct(t,e,r),o="number"),null!=n&&n==n&&("number"!==o||l||(n+=r&&r[3]||(T.cssNumber[s]?"":"px")),m.clearCloneStyle||""!==n||0!==e.indexOf("background")||(c[e]="inherit"),a&&"set"in a&&void 0===(n=a.set(t,n,i))||(l?c.setProperty(e,n):c[e]=n))}},css:function(t,e,n,i){var r,o,a,s=V(e);return Kt.test(e)||(e=Qt(s)),(a=T.cssHooks[e]||T.cssHooks[s])&&"get"in a&&(r=a.get(t,!0,n)),void 0===r&&(r=Ut(t,e,i)),"normal"===r&&e in te&&(r=te[e]),""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),T.each(["height","width"],(function(t,e){T.cssHooks[e]={get:function(t,n,i){if(n)return!Jt.test(T.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?ie(t,e,i):Wt(t,Zt,(function(){return ie(t,e,i)}))},set:function(t,n,i){var r,o=Ht(t),a=!m.scrollboxSize()&&"absolute"===o.position,s=(a||i)&&"border-box"===T.css(t,"boxSizing",!1,o),l=i?ne(t,e,i,s,o):0;return s&&a&&(l-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(o[e])-ne(t,e,"border",!1,o)-.5)),l&&(r=it.exec(n))&&"px"!==(r[3]||"px")&&(t.style[e]=n,n=T.css(t,e)),ee(0,n,l)}}})),T.cssHooks.marginLeft=Xt(m.reliableMarginLeft,(function(t,e){if(e)return(parseFloat(Ut(t,"marginLeft"))||t.getBoundingClientRect().left-Wt(t,{marginLeft:0},(function(){return t.getBoundingClientRect().left})))+"px"})),T.each({margin:"",padding:"",border:"Width"},(function(t,e){T.cssHooks[t+e]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];i<4;i++)r[t+rt[i]+e]=o[i]||o[i-2]||o[0];return r}},"margin"!==t&&(T.cssHooks[t+e].set=ee)})),T.fn.extend({css:function(t,e){return $(this,(function(t,e,n){var i,r,o={},a=0;if(Array.isArray(e)){for(i=Ht(t),r=e.length;a<r;a++)o[e[a]]=T.css(t,e[a],!1,i);return o}return void 0!==n?T.style(t,e,n):T.css(t,e)}),t,e,arguments.length>1)}}),T.Tween=re,re.prototype={constructor:re,init:function(t,e,n,i,r,o){this.elem=t,this.prop=n,this.easing=r||T.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=o||(T.cssNumber[n]?"":"px")},cur:function(){var t=re.propHooks[this.prop];return t&&t.get?t.get(this):re.propHooks._default.get(this)},run:function(t){var e,n=re.propHooks[this.prop];return this.options.duration?this.pos=e=T.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):re.propHooks._default.set(this),this}},re.prototype.init.prototype=re.prototype,re.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=T.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){T.fx.step[t.prop]?T.fx.step[t.prop](t):1!==t.elem.nodeType||!T.cssHooks[t.prop]&&null==t.elem.style[Qt(t.prop)]?t.elem[t.prop]=t.now:T.style(t.elem,t.prop,t.now+t.unit)}}},re.propHooks.scrollTop=re.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},T.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},T.fx=re.prototype.init,T.fx.step={};var oe,ae,se=/^(?:toggle|show|hide)$/,le=/queueHooks$/;function ce(){ae&&(!1===b.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(ce):n.setTimeout(ce,T.fx.interval),T.fx.tick())}function ue(){return n.setTimeout((function(){oe=void 0})),oe=Date.now()}function he(t,e){var n,i=0,r={height:t};for(e=e?1:0;i<4;i+=2-e)r["margin"+(n=rt[i])]=r["padding"+n]=t;return e&&(r.opacity=r.width=t),r}function fe(t,e,n){for(var i,r=(de.tweeners[e]||[]).concat(de.tweeners["*"]),o=0,a=r.length;o<a;o++)if(i=r[o].call(n,e,t))return i}function de(t,e,n){var i,r,o=0,a=de.prefilters.length,s=T.Deferred().always((function(){delete l.elem})),l=function(){if(r)return!1;for(var e=oe||ue(),n=Math.max(0,c.startTime+c.duration-e),i=1-(n/c.duration||0),o=0,a=c.tweens.length;o<a;o++)c.tweens[o].run(i);return s.notifyWith(t,[c,i,n]),i<1&&a?n:(a||s.notifyWith(t,[c,1,0]),s.resolveWith(t,[c]),!1)},c=s.promise({elem:t,props:T.extend({},e),opts:T.extend(!0,{specialEasing:{},easing:T.easing._default},n),originalProperties:e,originalOptions:n,startTime:oe||ue(),duration:n.duration,tweens:[],createTween:function(e,n){var i=T.Tween(t,c.opts,e,n,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(i),i},stop:function(e){var n=0,i=e?c.tweens.length:0;if(r)return this;for(r=!0;n<i;n++)c.tweens[n].run(1);return e?(s.notifyWith(t,[c,1,0]),s.resolveWith(t,[c,e])):s.rejectWith(t,[c,e]),this}}),u=c.props;for(!function(t,e){var n,i,r,o,a;for(n in t)if(r=e[i=V(n)],o=t[n],Array.isArray(o)&&(r=o[1],o=t[n]=o[0]),n!==i&&(t[i]=o,delete t[n]),(a=T.cssHooks[i])&&"expand"in a)for(n in o=a.expand(o),delete t[i],o)n in t||(t[n]=o[n],e[n]=r);else e[i]=r}(u,c.opts.specialEasing);o<a;o++)if(i=de.prefilters[o].call(c,t,u,c.opts))return v(i.stop)&&(T._queueHooks(c.elem,c.opts.queue).stop=i.stop.bind(i)),i;return T.map(u,fe,c),v(c.opts.start)&&c.opts.start.call(t,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),T.fx.timer(T.extend(l,{elem:t,anim:c,queue:c.opts.queue})),c}T.Animation=T.extend(de,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return ct(n.elem,t,it.exec(e),n),n}]},tweener:function(t,e){v(t)?(e=t,t=["*"]):t=t.match(D);for(var n,i=0,r=t.length;i<r;i++)n=t[i],de.tweeners[n]=de.tweeners[n]||[],de.tweeners[n].unshift(e)},prefilters:[function(t,e,n){var i,r,o,a,s,l,c,u,h="width"in e||"height"in e,f=this,d={},p=t.style,g=t.nodeType&&lt(t),m=J.get(t,"fxshow");for(i in n.queue||(null==(a=T._queueHooks(t,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,f.always((function(){f.always((function(){a.unqueued--,T.queue(t,"fx").length||a.empty.fire()}))}))),e)if(r=e[i],se.test(r)){if(delete e[i],o=o||"toggle"===r,r===(g?"hide":"show")){if("show"!==r||!m||void 0===m[i])continue;g=!0}d[i]=m&&m[i]||T.style(t,i)}if((l=!T.isEmptyObject(e))||!T.isEmptyObject(d))for(i in h&&1===t.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(c=m&&m.display)&&(c=J.get(t,"display")),"none"===(u=T.css(t,"display"))&&(c?u=c:(ft([t],!0),c=t.style.display||c,u=T.css(t,"display"),ft([t]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===T.css(t,"float")&&(l||(f.done((function(){p.display=c})),null==c&&(u=p.display,c="none"===u?"":u)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",f.always((function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}))),l=!1,d)l||(m?"hidden"in m&&(g=m.hidden):m=J.access(t,"fxshow",{display:c}),o&&(m.hidden=!g),g&&ft([t],!0),f.done((function(){for(i in g||ft([t]),J.remove(t,"fxshow"),d)T.style(t,i,d[i])}))),l=fe(g?m[i]:0,i,f),i in m||(m[i]=l.start,g&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?de.prefilters.unshift(t):de.prefilters.push(t)}}),T.speed=function(t,e,n){var i=t&&"object"==typeof t?T.extend({},t):{complete:n||!n&&e||v(t)&&t,duration:t,easing:n&&e||e&&!v(e)&&e};return T.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in T.fx.speeds?i.duration=T.fx.speeds[i.duration]:i.duration=T.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){v(i.old)&&i.old.call(this),i.queue&&T.dequeue(this,i.queue)},i},T.fn.extend({fadeTo:function(t,e,n,i){return this.filter(lt).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var r=T.isEmptyObject(t),o=T.speed(e,n,i),a=function(){var e=de(this,T.extend({},t),o);(r||J.get(this,"finish"))&&e.stop(!0)};return a.finish=a,r||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(t,e,n){var i=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each((function(){var e=!0,r=null!=t&&t+"queueHooks",o=T.timers,a=J.get(this);if(r)a[r]&&a[r].stop&&i(a[r]);else for(r in a)a[r]&&a[r].stop&&le.test(r)&&i(a[r]);for(r=o.length;r--;)o[r].elem!==this||null!=t&&o[r].queue!==t||(o[r].anim.stop(n),e=!1,o.splice(r,1));!e&&n||T.dequeue(this,t)}))},finish:function(t){return!1!==t&&(t=t||"fx"),this.each((function(){var e,n=J.get(this),i=n[t+"queue"],r=n[t+"queueHooks"],o=T.timers,a=i?i.length:0;for(n.finish=!0,T.queue(this,t,[]),r&&r.stop&&r.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<a;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish}))}}),T.each(["toggle","show","hide"],(function(t,e){var n=T.fn[e];T.fn[e]=function(t,i,r){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(he(e,!0),t,i,r)}})),T.each({slideDown:he("show"),slideUp:he("hide"),slideToggle:he("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(t,e){T.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}})),T.timers=[],T.fx.tick=function(){var t,e=0,n=T.timers;for(oe=Date.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||T.fx.stop(),oe=void 0},T.fx.timer=function(t){T.timers.push(t),T.fx.start()},T.fx.interval=13,T.fx.start=function(){ae||(ae=!0,ce())},T.fx.stop=function(){ae=null},T.fx.speeds={slow:600,fast:200,_default:400},T.fn.delay=function(t,e){return t=T.fx&&T.fx.speeds[t]||t,e=e||"fx",this.queue(e,(function(e,i){var r=n.setTimeout(e,t);i.stop=function(){n.clearTimeout(r)}}))},function(){var t=b.createElement("input"),e=b.createElement("select").appendChild(b.createElement("option"));t.type="checkbox",m.checkOn=""!==t.value,m.optSelected=e.selected,(t=b.createElement("input")).value="t",t.type="radio",m.radioValue="t"===t.value}();var pe,ge=T.expr.attrHandle;T.fn.extend({attr:function(t,e){return $(this,T.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each((function(){T.removeAttr(this,t)}))}}),T.extend({attr:function(t,e,n){var i,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?T.prop(t,e,n):(1===o&&T.isXMLDoc(t)||(r=T.attrHooks[e.toLowerCase()]||(T.expr.match.bool.test(e)?pe:void 0)),void 0!==n?null===n?void T.removeAttr(t,e):r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:(t.setAttribute(e,n+""),n):r&&"get"in r&&null!==(i=r.get(t,e))?i:null==(i=T.find.attr(t,e))?void 0:i)},attrHooks:{type:{set:function(t,e){if(!m.radioValue&&"radio"===e&&E(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,i=0,r=e&&e.match(D);if(r&&1===t.nodeType)for(;n=r[i++];)t.removeAttribute(n)}}),pe={set:function(t,e,n){return!1===e?T.removeAttr(t,n):t.setAttribute(n,n),n}},T.each(T.expr.match.bool.source.match(/\w+/g),(function(t,e){var n=ge[e]||T.find.attr;ge[e]=function(t,e,i){var r,o,a=e.toLowerCase();return i||(o=ge[a],ge[a]=r,r=null!=n(t,e,i)?a:null,ge[a]=o),r}}));var me=/^(?:input|select|textarea|button)$/i,ve=/^(?:a|area)$/i;function ye(t){return(t.match(D)||[]).join(" ")}function be(t){return t.getAttribute&&t.getAttribute("class")||""}function we(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(D)||[]}T.fn.extend({prop:function(t,e){return $(this,T.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each((function(){delete this[T.propFix[t]||t]}))}}),T.extend({prop:function(t,e,n){var i,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&T.isXMLDoc(t)||(e=T.propFix[e]||e,r=T.propHooks[e]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:t[e]=n:r&&"get"in r&&null!==(i=r.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=T.find.attr(t,"tabindex");return e?parseInt(e,10):me.test(t.nodeName)||ve.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(T.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),T.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){T.propFix[this.toLowerCase()]=this})),T.fn.extend({addClass:function(t){var e,n,i,r,o,a,s,l=0;if(v(t))return this.each((function(e){T(this).addClass(t.call(this,e,be(this)))}));if((e=we(t)).length)for(;n=this[l++];)if(r=be(n),i=1===n.nodeType&&" "+ye(r)+" "){for(a=0;o=e[a++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");r!==(s=ye(i))&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,i,r,o,a,s,l=0;if(v(t))return this.each((function(e){T(this).removeClass(t.call(this,e,be(this)))}));if(!arguments.length)return this.attr("class","");if((e=we(t)).length)for(;n=this[l++];)if(r=be(n),i=1===n.nodeType&&" "+ye(r)+" "){for(a=0;o=e[a++];)for(;i.indexOf(" "+o+" ")>-1;)i=i.replace(" "+o+" "," ");r!==(s=ye(i))&&n.setAttribute("class",s)}return this},toggleClass:function(t,e){var n=typeof t,i="string"===n||Array.isArray(t);return"boolean"==typeof e&&i?e?this.addClass(t):this.removeClass(t):v(t)?this.each((function(n){T(this).toggleClass(t.call(this,n,be(this),e),e)})):this.each((function(){var e,r,o,a;if(i)for(r=0,o=T(this),a=we(t);e=a[r++];)o.hasClass(e)?o.removeClass(e):o.addClass(e);else void 0!==t&&"boolean"!==n||((e=be(this))&&J.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":J.get(this,"__className__")||""))}))},hasClass:function(t){var e,n,i=0;for(e=" "+t+" ";n=this[i++];)if(1===n.nodeType&&(" "+ye(be(n))+" ").indexOf(e)>-1)return!0;return!1}});var _e=/\r/g;T.fn.extend({val:function(t){var e,n,i,r=this[0];return arguments.length?(i=v(t),this.each((function(n){var r;1===this.nodeType&&(null==(r=i?t.call(this,n,T(this).val()):t)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=T.map(r,(function(t){return null==t?"":t+""}))),(e=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))}))):r?(e=T.valHooks[r.type]||T.valHooks[r.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(_e,""):null==n?"":n:void 0}}),T.extend({valHooks:{option:{get:function(t){var e=T.find.attr(t,"value");return null!=e?e:ye(T.text(t))}},select:{get:function(t){var e,n,i,r=t.options,o=t.selectedIndex,a="select-one"===t.type,s=a?null:[],l=a?o+1:r.length;for(i=o<0?l:a?o:0;i<l;i++)if(((n=r[i]).selected||i===o)&&!n.disabled&&(!n.parentNode.disabled||!E(n.parentNode,"optgroup"))){if(e=T(n).val(),a)return e;s.push(e)}return s},set:function(t,e){for(var n,i,r=t.options,o=T.makeArray(e),a=r.length;a--;)((i=r[a]).selected=T.inArray(T.valHooks.option.get(i),o)>-1)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),T.each(["radio","checkbox"],(function(){T.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=T.inArray(T(t).val(),e)>-1}},m.checkOn||(T.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})})),m.focusin="onfocusin"in n;var xe=/^(?:focusinfocus|focusoutblur)$/,Te=function(t){t.stopPropagation()};T.extend(T.event,{trigger:function(t,e,i,r){var o,a,s,l,c,u,h,f,p=[i||b],g=d.call(t,"type")?t.type:t,m=d.call(t,"namespace")?t.namespace.split("."):[];if(a=f=s=i=i||b,3!==i.nodeType&&8!==i.nodeType&&!xe.test(g+T.event.triggered)&&(g.indexOf(".")>-1&&(m=g.split("."),g=m.shift(),m.sort()),c=g.indexOf(":")<0&&"on"+g,(t=t[T.expando]?t:new T.Event(g,"object"==typeof t&&t)).isTrigger=r?2:3,t.namespace=m.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),e=null==e?[t]:T.makeArray(e,[t]),h=T.event.special[g]||{},r||!h.trigger||!1!==h.trigger.apply(i,e))){if(!r&&!h.noBubble&&!y(i)){for(l=h.delegateType||g,xe.test(l+g)||(a=a.parentNode);a;a=a.parentNode)p.push(a),s=a;s===(i.ownerDocument||b)&&p.push(s.defaultView||s.parentWindow||n)}for(o=0;(a=p[o++])&&!t.isPropagationStopped();)f=a,t.type=o>1?l:h.bindType||g,(u=(J.get(a,"events")||Object.create(null))[t.type]&&J.get(a,"handle"))&&u.apply(a,e),(u=c&&a[c])&&u.apply&&G(a)&&(t.result=u.apply(a,e),!1===t.result&&t.preventDefault());return t.type=g,r||t.isDefaultPrevented()||h._default&&!1!==h._default.apply(p.pop(),e)||!G(i)||c&&v(i[g])&&!y(i)&&((s=i[c])&&(i[c]=null),T.event.triggered=g,t.isPropagationStopped()&&f.addEventListener(g,Te),i[g](),t.isPropagationStopped()&&f.removeEventListener(g,Te),T.event.triggered=void 0,s&&(i[c]=s)),t.result}},simulate:function(t,e,n){var i=T.extend(new T.Event,n,{type:t,isSimulated:!0});T.event.trigger(i,null,e)}}),T.fn.extend({trigger:function(t,e){return this.each((function(){T.event.trigger(t,e,this)}))},triggerHandler:function(t,e){var n=this[0];if(n)return T.event.trigger(t,e,n,!0)}}),m.focusin||T.each({focus:"focusin",blur:"focusout"},(function(t,e){var n=function(t){T.event.simulate(e,t.target,T.event.fix(t))};T.event.special[e]={setup:function(){var i=this.ownerDocument||this.document||this,r=J.access(i,e);r||i.addEventListener(t,n,!0),J.access(i,e,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,r=J.access(i,e)-1;r?J.access(i,e,r):(i.removeEventListener(t,n,!0),J.remove(i,e))}}}));var ke=n.location,Ae={guid:Date.now()},Se=/\?/;T.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new n.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||T.error("Invalid XML: "+t),e};var Ce=/\[\]$/,Pe=/\r?\n/g,Ee=/^(?:submit|button|image|reset|file)$/i,Oe=/^(?:input|select|textarea|keygen)/i;function Re(t,e,n,i){var r;if(Array.isArray(e))T.each(e,(function(e,r){n||Ce.test(t)?i(t,r):Re(t+"["+("object"==typeof r&&null!=r?e:"")+"]",r,n,i)}));else if(n||"object"!==x(e))i(t,e);else for(r in e)Re(t+"["+r+"]",e[r],n,i)}T.param=function(t,e){var n,i=[],r=function(t,e){var n=v(e)?e():e;i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!T.isPlainObject(t))T.each(t,(function(){r(this.name,this.value)}));else for(n in t)Re(n,t[n],e,r);return i.join("&")},T.fn.extend({serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var t=T.prop(this,"elements");return t?T.makeArray(t):this})).filter((function(){var t=this.type;return this.name&&!T(this).is(":disabled")&&Oe.test(this.nodeName)&&!Ee.test(t)&&(this.checked||!gt.test(t))})).map((function(t,e){var n=T(this).val();return null==n?null:Array.isArray(n)?T.map(n,(function(t){return{name:e.name,value:t.replace(Pe,"\r\n")}})):{name:e.name,value:n.replace(Pe,"\r\n")}})).get()}});var Ie=/%20/g,qe=/#.*$/,Me=/([?&])_=[^&]*/,Le=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ne=/^(?:GET|HEAD)$/,De=/^\/\//,Fe={},ze={},Be="*/".concat("*"),je=b.createElement("a");function He(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,r=0,o=e.toLowerCase().match(D)||[];if(v(n))for(;i=o[r++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function We(t,e,n,i){var r={},o=t===ze;function a(s){var l;return r[s]=!0,T.each(t[s]||[],(function(t,s){var c=s(e,n,i);return"string"!=typeof c||o||r[c]?o?!(l=c):void 0:(e.dataTypes.unshift(c),a(c),!1)})),l}return a(e.dataTypes[0])||!r["*"]&&a("*")}function $e(t,e){var n,i,r=T.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((r[n]?t:i||(i={}))[n]=e[n]);return i&&T.extend(!0,t,i),t}je.href=ke.href,T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ke.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(ke.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Be,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":T.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?$e($e(t,T.ajaxSettings),e):$e(T.ajaxSettings,t)},ajaxPrefilter:He(Fe),ajaxTransport:He(ze),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var i,r,o,a,s,l,c,u,h,f,d=T.ajaxSetup({},e),p=d.context||d,g=d.context&&(p.nodeType||p.jquery)?T(p):T.event,m=T.Deferred(),v=T.Callbacks("once memory"),y=d.statusCode||{},w={},_={},x="canceled",k={readyState:0,getResponseHeader:function(t){var e;if(c){if(!a)for(a={};e=Le.exec(o);)a[e[1].toLowerCase()+" "]=(a[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=a[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return c?o:null},setRequestHeader:function(t,e){return null==c&&(t=_[t.toLowerCase()]=_[t.toLowerCase()]||t,w[t]=e),this},overrideMimeType:function(t){return null==c&&(d.mimeType=t),this},statusCode:function(t){var e;if(t)if(c)k.always(t[k.status]);else for(e in t)y[e]=[y[e],t[e]];return this},abort:function(t){var e=t||x;return i&&i.abort(e),A(0,e),this}};if(m.promise(k),d.url=((t||d.url||ke.href)+"").replace(De,ke.protocol+"//"),d.type=e.method||e.type||d.method||d.type,d.dataTypes=(d.dataType||"*").toLowerCase().match(D)||[""],null==d.crossDomain){l=b.createElement("a");try{l.href=d.url,l.href=l.href,d.crossDomain=je.protocol+"//"+je.host!=l.protocol+"//"+l.host}catch(t){d.crossDomain=!0}}if(d.data&&d.processData&&"string"!=typeof d.data&&(d.data=T.param(d.data,d.traditional)),We(Fe,d,e,k),c)return k;for(h in(u=T.event&&d.global)&&0==T.active++&&T.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!Ne.test(d.type),r=d.url.replace(qe,""),d.hasContent?d.data&&d.processData&&0===(d.contentType||"").indexOf("application/x-www-form-urlencoded")&&(d.data=d.data.replace(Ie,"+")):(f=d.url.slice(r.length),d.data&&(d.processData||"string"==typeof d.data)&&(r+=(Se.test(r)?"&":"?")+d.data,delete d.data),!1===d.cache&&(r=r.replace(Me,"$1"),f=(Se.test(r)?"&":"?")+"_="+Ae.guid+++f),d.url=r+f),d.ifModified&&(T.lastModified[r]&&k.setRequestHeader("If-Modified-Since",T.lastModified[r]),T.etag[r]&&k.setRequestHeader("If-None-Match",T.etag[r])),(d.data&&d.hasContent&&!1!==d.contentType||e.contentType)&&k.setRequestHeader("Content-Type",d.contentType),k.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Be+"; q=0.01":""):d.accepts["*"]),d.headers)k.setRequestHeader(h,d.headers[h]);if(d.beforeSend&&(!1===d.beforeSend.call(p,k,d)||c))return k.abort();if(x="abort",v.add(d.complete),k.done(d.success),k.fail(d.error),i=We(ze,d,e,k)){if(k.readyState=1,u&&g.trigger("ajaxSend",[k,d]),c)return k;d.async&&d.timeout>0&&(s=n.setTimeout((function(){k.abort("timeout")}),d.timeout));try{c=!1,i.send(w,A)}catch(t){if(c)throw t;A(-1,t)}}else A(-1,"No Transport");function A(t,e,a,l){var h,f,b,w,_,x=e;c||(c=!0,s&&n.clearTimeout(s),i=void 0,o=l||"",k.readyState=t>0?4:0,h=t>=200&&t<300||304===t,a&&(w=function(t,e,n){for(var i,r,o,a,s=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(r in s)if(s[r]&&s[r].test(i)){l.unshift(r);break}if(l[0]in n)o=l[0];else{for(r in n){if(!l[0]||t.converters[r+" "+l[0]]){o=r;break}a||(a=r)}o=o||a}if(o)return o!==l[0]&&l.unshift(o),n[o]}(d,k,a)),!h&&T.inArray("script",d.dataTypes)>-1&&(d.converters["text script"]=function(){}),w=function(t,e,n,i){var r,o,a,s,l,c={},u=t.dataTypes.slice();if(u[1])for(a in t.converters)c[a.toLowerCase()]=t.converters[a];for(o=u.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=o,o=u.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=c[l+" "+o]||c["* "+o]))for(r in c)if((s=r.split(" "))[1]===o&&(a=c[l+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[r]:!0!==c[r]&&(o=s[0],u.unshift(s[1]));break}if(!0!==a)if(a&&t.throws)e=a(e);else try{e=a(e)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+l+" to "+o}}}return{state:"success",data:e}}(d,w,k,h),h?(d.ifModified&&((_=k.getResponseHeader("Last-Modified"))&&(T.lastModified[r]=_),(_=k.getResponseHeader("etag"))&&(T.etag[r]=_)),204===t||"HEAD"===d.type?x="nocontent":304===t?x="notmodified":(x=w.state,f=w.data,h=!(b=w.error))):(b=x,!t&&x||(x="error",t<0&&(t=0))),k.status=t,k.statusText=(e||x)+"",h?m.resolveWith(p,[f,x,k]):m.rejectWith(p,[k,x,b]),k.statusCode(y),y=void 0,u&&g.trigger(h?"ajaxSuccess":"ajaxError",[k,d,h?f:b]),v.fireWith(p,[k,x]),u&&(g.trigger("ajaxComplete",[k,d]),--T.active||T.event.trigger("ajaxStop")))}return k},getJSON:function(t,e,n){return T.get(t,e,n,"json")},getScript:function(t,e){return T.get(t,void 0,e,"script")}}),T.each(["get","post"],(function(t,e){T[e]=function(t,n,i,r){return v(n)&&(r=r||i,i=n,n=void 0),T.ajax(T.extend({url:t,type:e,dataType:r,data:n,success:i},T.isPlainObject(t)&&t))}})),T.ajaxPrefilter((function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")})),T._evalUrl=function(t,e,n){return T.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){T.globalEval(t,e,n)}})},T.fn.extend({wrapAll:function(t){var e;return this[0]&&(v(t)&&(t=t.call(this[0])),e=T(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map((function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t})).append(this)),this},wrapInner:function(t){return v(t)?this.each((function(e){T(this).wrapInner(t.call(this,e))})):this.each((function(){var e=T(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)}))},wrap:function(t){var e=v(t);return this.each((function(n){T(this).wrapAll(e?t.call(this,n):t)}))},unwrap:function(t){return this.parent(t).not("body").each((function(){T(this).replaceWith(this.childNodes)})),this}}),T.expr.pseudos.hidden=function(t){return!T.expr.pseudos.visible(t)},T.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},T.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}};var Ue={0:200,1223:204},Xe=T.ajaxSettings.xhr();m.cors=!!Xe&&"withCredentials"in Xe,m.ajax=Xe=!!Xe,T.ajaxTransport((function(t){var e,i;if(m.cors||Xe&&!t.crossDomain)return{send:function(r,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];for(a in t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)s.setRequestHeader(a,r[a]);e=function(t){return function(){e&&(e=i=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===t?s.abort():"error"===t?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Ue[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=e(),i=s.onerror=s.ontimeout=e("error"),void 0!==s.onabort?s.onabort=i:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout((function(){e&&i()}))},e=e("abort");try{s.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}})),T.ajaxPrefilter((function(t){t.crossDomain&&(t.contents.script=!1)})),T.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return T.globalEval(t),t}}}),T.ajaxPrefilter("script",(function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")})),T.ajaxTransport("script",(function(t){var e,n;if(t.crossDomain||t.scriptAttrs)return{send:function(i,r){e=T("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&r("error"===t.type?404:200,t.type)}),b.head.appendChild(e[0])},abort:function(){n&&n()}}}));var Ye,Ve=[],Ge=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ve.pop()||T.expando+"_"+Ae.guid++;return this[t]=!0,t}}),T.ajaxPrefilter("json jsonp",(function(t,e,i){var r,o,a,s=!1!==t.jsonp&&(Ge.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ge.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return r=t.jsonpCallback=v(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Ge,"$1"+r):!1!==t.jsonp&&(t.url+=(Se.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return a||T.error(r+" was not called"),a[0]},t.dataTypes[0]="json",o=n[r],n[r]=function(){a=arguments},i.always((function(){void 0===o?T(n).removeProp(r):n[r]=o,t[r]&&(t.jsonpCallback=e.jsonpCallback,Ve.push(r)),a&&v(o)&&o(a[0]),a=o=void 0})),"script"})),m.createHTMLDocument=((Ye=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Ye.childNodes.length),T.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(m.createHTMLDocument?((i=(e=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,e.head.appendChild(i)):e=b),o=!n&&[],(r=O.exec(t))?[e.createElement(r[1])]:(r=xt([t],e,o),o&&o.length&&T(o).remove(),T.merge([],r.childNodes)));var i,r,o},T.fn.load=function(t,e,n){var i,r,o,a=this,s=t.indexOf(" ");return s>-1&&(i=ye(t.slice(s)),t=t.slice(0,s)),v(e)?(n=e,e=void 0):e&&"object"==typeof e&&(r="POST"),a.length>0&&T.ajax({url:t,type:r||"GET",dataType:"html",data:e}).done((function(t){o=arguments,a.html(i?T("<div>").append(T.parseHTML(t)).find(i):t)})).always(n&&function(t,e){a.each((function(){n.apply(this,o||[t.responseText,e,t])}))}),this},T.expr.pseudos.animated=function(t){return T.grep(T.timers,(function(e){return t===e.elem})).length},T.offset={setOffset:function(t,e,n){var i,r,o,a,s,l,c=T.css(t,"position"),u=T(t),h={};"static"===c&&(t.style.position="relative"),s=u.offset(),o=T.css(t,"top"),l=T.css(t,"left"),("absolute"===c||"fixed"===c)&&(o+l).indexOf("auto")>-1?(a=(i=u.position()).top,r=i.left):(a=parseFloat(o)||0,r=parseFloat(l)||0),v(e)&&(e=e.call(t,n,T.extend({},s))),null!=e.top&&(h.top=e.top-s.top+a),null!=e.left&&(h.left=e.left-s.left+r),"using"in e?e.using.call(t,h):("number"==typeof h.top&&(h.top+="px"),"number"==typeof h.left&&(h.left+="px"),u.css(h))}},T.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each((function(e){T.offset.setOffset(this,t,e)}));var e,n,i=this[0];return i?i.getClientRects().length?(e=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,i=this[0],r={top:0,left:0};if("fixed"===T.css(i,"position"))e=i.getBoundingClientRect();else{for(e=this.offset(),n=i.ownerDocument,t=i.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===T.css(t,"position");)t=t.parentNode;t&&t!==i&&1===t.nodeType&&((r=T(t).offset()).top+=T.css(t,"borderTopWidth",!0),r.left+=T.css(t,"borderLeftWidth",!0))}return{top:e.top-r.top-T.css(i,"marginTop",!0),left:e.left-r.left-T.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var t=this.offsetParent;t&&"static"===T.css(t,"position");)t=t.offsetParent;return t||ot}))}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(t,e){var n="pageYOffset"===e;T.fn[t]=function(i){return $(this,(function(t,i,r){var o;if(y(t)?o=t:9===t.nodeType&&(o=t.defaultView),void 0===r)return o?o[e]:t[i];o?o.scrollTo(n?o.pageXOffset:r,n?r:o.pageYOffset):t[i]=r}),t,i,arguments.length)}})),T.each(["top","left"],(function(t,e){T.cssHooks[e]=Xt(m.pixelPosition,(function(t,n){if(n)return n=Ut(t,e),jt.test(n)?T(t).position()[e]+"px":n}))})),T.each({Height:"height",Width:"width"},(function(t,e){T.each({padding:"inner"+t,content:e,"":"outer"+t},(function(n,i){T.fn[i]=function(r,o){var a=arguments.length&&(n||"boolean"!=typeof r),s=n||(!0===r||!0===o?"margin":"border");return $(this,(function(e,n,r){var o;return y(e)?0===i.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===r?T.css(e,n,s):T.style(e,n,r,s)}),e,a?r:void 0,a)}}))})),T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(t,e){T.fn[e]=function(t){return this.on(e,t)}})),T.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),T.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(t,e){T.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}));var Qe=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;T.proxy=function(t,e){var n,i,r;if("string"==typeof e&&(n=t[e],e=t,t=n),v(t))return i=s.call(arguments,2),(r=function(){return t.apply(e||this,i.concat(s.call(arguments)))}).guid=t.guid=t.guid||T.guid++,r},T.holdReady=function(t){t?T.readyWait++:T.ready(!0)},T.isArray=Array.isArray,T.parseJSON=JSON.parse,T.nodeName=E,T.isFunction=v,T.isWindow=y,T.camelCase=V,T.type=x,T.now=Date.now,T.isNumeric=function(t){var e=T.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},T.trim=function(t){return null==t?"":(t+"").replace(Qe,"")},void 0===(i=function(){return T}.apply(e,[]))||(t.exports=i);var Je=n.jQuery,Ke=n.$;return T.noConflict=function(t){return n.$===T&&(n.$=Ke),t&&n.jQuery===T&&(n.jQuery=Je),T},void 0===r&&(n.jQuery=n.$=T),T}))},function(t,e,n){var i=n(9),r=n(26).f,o=n(31),a=n(28),s=n(111),l=n(139),c=n(75);t.exports=function(t,e){var n,u,h,f,d,p=t.target,g=t.global,m=t.stat;if(n=g?i:m?i[p]||s(p,{}):(i[p]||{}).prototype)for(u in e){if(f=e[u],h=t.noTargetGet?(d=r(n,u))&&d.value:n[u],!c(g?u:p+(m?".":"#")+u,t.forced)&&void 0!==h){if(typeof f==typeof h)continue;l(f,h)}(t.sham||h&&h.sham)&&o(f,"sham",!0),a(n,u,f,t)}}},function(t,e,n){"use strict";n.d(e,"d",(function(){return i.default})),n.d(e,"c",(function(){return r})),n.d(e,"b",(function(){return i.Power2})),n.d(e,"a",(function(){return P}));var i=n(0);
/*!
 * VERSION: 2.1.3
 * DATE: 2019-05-17
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 * 
 * @author: Jack Doyle, jack@greensock.com
 */i._gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],(function(){var t=function(t){i.SimpleTimeline.call(this,t);var e,n,r=this.vars;for(n in this._labels={},this.autoRemoveChildren=!!r.autoRemoveChildren,this.smoothChildTiming=!!r.smoothChildTiming,this._sortChildren=!0,this._onUpdate=r.onUpdate,r)e=r[n],o(e)&&-1!==e.join("").indexOf("{self}")&&(r[n]=this._swapSelfInParams(e));o(r.tweens)&&this.add(r.tweens,0,r.align,r.stagger)},e=i.default._internals,n=t._internals={},r=e.isSelector,o=e.isArray,a=e.lazyTweens,s=e.lazyRender,l=i._gsScope._gsDefine.globals,c=function(t){var e,n={};for(e in t)n[e]=t[e];return n},u=function(t,e,n){var i,r,o=t.cycle;for(i in o)r=o[i],t[i]="function"==typeof r?r(n,e[n],e):r[n%r.length];delete t.cycle},h=n.pauseCallback=function(){},f=function(t,e,n,i){var r="immediateRender";return r in e||(e[r]=!(n&&!1===n[r]||i)),e},d=function(t){if("function"==typeof t)return t;var e="object"==typeof t?t:{each:t},n=e.ease,i=e.from||0,r=e.base||0,o={},a=isNaN(i),s=e.axis,l={center:.5,end:1}[i]||0;return function(t,c,u){var h,f,d,p,g,m,v,y,b,w=(u||e).length,_=o[w];if(!_){if(!(b="auto"===e.grid?0:(e.grid||[1/0])[0])){for(v=-1/0;v<(v=u[b++].getBoundingClientRect().left)&&b<w;);b--}for(_=o[w]=[],h=a?Math.min(b,w)*l-.5:i%b,f=a?w*l/b-.5:i/b|0,v=0,y=1/0,m=0;m<w;m++)d=m%b-h,p=f-(m/b|0),_[m]=g=s?Math.abs("y"===s?p:d):Math.sqrt(d*d+p*p),g>v&&(v=g),g<y&&(y=g);_.max=v-y,_.min=y,_.v=w=e.amount||e.each*(b>w?w-1:s?"y"===s?w/b:b:Math.max(b,w/b))||0,_.b=w<0?r-w:r}return w=(_[t]-_.min)/_.max,_.b+(n?n.getRatio(w):w)*_.v}},p=t.prototype=new i.SimpleTimeline;return t.version="2.1.3",t.distribute=d,p.constructor=t,p.kill()._gc=p._forcingPlayhead=p._hasPause=!1,p.to=function(t,e,n,r){var o=n.repeat&&l.TweenMax||i.default;return e?this.add(new o(t,e,n),r):this.set(t,n,r)},p.from=function(t,e,n,r){return this.add((n.repeat&&l.TweenMax||i.default).from(t,e,f(0,n)),r)},p.fromTo=function(t,e,n,r,o){var a=r.repeat&&l.TweenMax||i.default;return r=f(0,r,n),e?this.add(a.fromTo(t,e,n,r),o):this.set(t,r,o)},p.staggerTo=function(e,n,o,a,s,l,h,f){var p,g,m=new t({onComplete:l,onCompleteParams:h,callbackScope:f,smoothChildTiming:this.smoothChildTiming}),v=d(o.stagger||a),y=o.startAt,b=o.cycle;for("string"==typeof e&&(e=i.default.selector(e)||e),r(e=e||[])&&(e=function(t){var e,n=[],i=t.length;for(e=0;e!==i;n.push(t[e++]));return n}(e)),g=0;g<e.length;g++)p=c(o),y&&(p.startAt=c(y),y.cycle&&u(p.startAt,e,g)),b&&(u(p,e,g),null!=p.duration&&(n=p.duration,delete p.duration)),m.to(e[g],n,p,v(g,e[g],e));return this.add(m,s)},p.staggerFrom=function(t,e,n,i,r,o,a,s){return n.runBackwards=!0,this.staggerTo(t,e,f(0,n),i,r,o,a,s)},p.staggerFromTo=function(t,e,n,i,r,o,a,s,l){return i.startAt=n,this.staggerTo(t,e,f(0,i,n),r,o,a,s,l)},p.call=function(t,e,n,r){return this.add(i.default.delayedCall(0,t,e,n),r)},p.set=function(t,e,n){return this.add(new i.default(t,0,f(0,e,null,!0)),n)},t.exportRoot=function(e,n){null==(e=e||{}).smoothChildTiming&&(e.smoothChildTiming=!0);var r,o,a,s,l=new t(e),c=l._timeline;for(null==n&&(n=!0),c._remove(l,!0),l._startTime=0,l._rawPrevTime=l._time=l._totalTime=c._time,a=c._first;a;)s=a._next,n&&a instanceof i.default&&a.target===a.vars.onComplete||((o=a._startTime-a._delay)<0&&(r=1),l.add(a,o)),a=s;return c.add(l,0),r&&l.totalDuration(),l},p.add=function(e,n,r,a){var s,l,c,u,h,f;if("number"!=typeof n&&(n=this._parseTimeOrLabel(n,0,!0,e)),!(e instanceof i.Animation)){if(e instanceof Array||e&&e.push&&o(e)){for(r=r||"normal",a=a||0,s=n,l=e.length,c=0;c<l;c++)o(u=e[c])&&(u=new t({tweens:u})),this.add(u,s),"string"!=typeof u&&"function"!=typeof u&&("sequence"===r?s=u._startTime+u.totalDuration()/u._timeScale:"start"===r&&(u._startTime-=u.delay())),s+=a;return this._uncache(!0)}if("string"==typeof e)return this.addLabel(e,n);if("function"!=typeof e)throw"Cannot add "+e+" into the timeline; it is not a tween, timeline, function, or string.";e=i.default.delayedCall(0,e)}if(i.SimpleTimeline.prototype.add.call(this,e,n),(e._time||!e._duration&&e._initted)&&(s=(this.rawTime()-e._startTime)*e._timeScale,(!e._duration||Math.abs(Math.max(0,Math.min(e.totalDuration(),s)))-e._totalTime>1e-5)&&e.render(s,!1,!1)),(this._gc||this._time===this._duration)&&!this._paused&&this._duration<this.duration())for(f=(h=this).rawTime()>e._startTime;h._timeline;)f&&h._timeline.smoothChildTiming?h.totalTime(h._totalTime,!0):h._gc&&h._enabled(!0,!1),h=h._timeline;return this},p.remove=function(t){if(t instanceof i.Animation){this._remove(t,!1);var e=t._timeline=t.vars.useFrames?i.Animation._rootFramesTimeline:i.Animation._rootTimeline;return t._startTime=(t._paused?t._pauseTime:e._time)-(t._reversed?t.totalDuration()-t._totalTime:t._totalTime)/t._timeScale,this}if(t instanceof Array||t&&t.push&&o(t)){for(var n=t.length;--n>-1;)this.remove(t[n]);return this}return"string"==typeof t?this.removeLabel(t):this.kill(null,t)},p._remove=function(t,e){return i.SimpleTimeline.prototype._remove.call(this,t,e),this._last?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},p.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},p.insert=p.insertMultiple=function(t,e,n,i){return this.add(t,e||0,n,i)},p.appendMultiple=function(t,e,n,i){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),n,i)},p.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},p.addPause=function(t,e,n,r){var o=i.default.delayedCall(0,h,n,r||this);return o.vars.onComplete=o.vars.onReverseComplete=e,o.data="isPause",this._hasPause=!0,this.add(o,t)},p.removeLabel=function(t){return delete this._labels[t],this},p.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},p._parseTimeOrLabel=function(t,e,n,r){var a,s;if(r instanceof i.Animation&&r.timeline===this)this.remove(r);else if(r&&(r instanceof Array||r.push&&o(r)))for(s=r.length;--s>-1;)r[s]instanceof i.Animation&&r[s].timeline===this&&this.remove(r[s]);if(a="number"!=typeof t||e?this.duration()>99999999999?this.recent().endTime(!1):this._duration:0,"string"==typeof e)return this._parseTimeOrLabel(e,n&&"number"==typeof t&&null==this._labels[e]?t-a:0,n);if(e=e||0,"string"!=typeof t||!isNaN(t)&&null==this._labels[t])null==t&&(t=a);else{if(-1===(s=t.indexOf("=")))return null==this._labels[t]?n?this._labels[t]=a+e:e:this._labels[t]+e;e=parseInt(t.charAt(s-1)+"1",10)*Number(t.substr(s+1)),t=s>1?this._parseTimeOrLabel(t.substr(0,s-1),0,n):a}return Number(t)+e},p.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},p.stop=function(){return this.paused(!0)},p.gotoAndPlay=function(t,e){return this.play(t,e)},p.gotoAndStop=function(t,e){return this.pause(t,e)},p.render=function(t,e,n){this._gc&&this._enabled(!0,!1);var i,r,o,l,c,u,h,f,d=this._time,p=this._dirty?this.totalDuration():this._totalDuration,g=this._startTime,m=this._timeScale,v=this._paused;if(d!==this._time&&(t+=this._time-d),this._hasPause&&!this._forcingPlayhead&&!e){if(t>d)for(i=this._first;i&&i._startTime<=t&&!u;)i._duration||"isPause"!==i.data||i.ratio||0===i._startTime&&0===this._rawPrevTime||(u=i),i=i._next;else for(i=this._last;i&&i._startTime>=t&&!u;)i._duration||"isPause"===i.data&&i._rawPrevTime>0&&(u=i),i=i._prev;u&&(this._time=this._totalTime=t=u._startTime,f=this._startTime+(this._reversed?this._duration-t:t)/this._timeScale)}if(t>=p-1e-8&&t>=0)this._totalTime=this._time=p,this._reversed||this._hasPausedChild()||(r=!0,l="onComplete",c=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&t>=-1e-8||this._rawPrevTime<0||1e-8===this._rawPrevTime)&&this._rawPrevTime!==t&&this._first&&(c=!0,this._rawPrevTime>1e-8&&(l="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-8,t=p+1e-4;else if(t<1e-8)if(this._totalTime=this._time=0,t>-1e-8&&(t=0),(0!==d||0===this._duration&&1e-8!==this._rawPrevTime&&(this._rawPrevTime>0||t<0&&this._rawPrevTime>=0))&&(l="onReverseComplete",r=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(c=r=!0,l="onReverseComplete"):this._rawPrevTime>=0&&this._first&&(c=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-8,0===t&&r)for(i=this._first;i&&0===i._startTime;)i._duration||(r=!1),i=i._next;t=0,this._initted||(c=!0)}else this._totalTime=this._time=this._rawPrevTime=t;if(this._time!==d&&this._first||n||c||u){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==d&&t>0&&(this._active=!0),0===d&&this.vars.onStart&&(0===this._time&&this._duration||e||this._callback("onStart")),(h=this._time)>=d)for(i=this._first;i&&(o=i._next,h===this._time&&(!this._paused||v));)(i._active||i._startTime<=h&&!i._paused&&!i._gc)&&(u===i&&(this.pause(),this._pauseTime=f),i._reversed?i.render((i._dirty?i.totalDuration():i._totalDuration)-(t-i._startTime)*i._timeScale,e,n):i.render((t-i._startTime)*i._timeScale,e,n)),i=o;else for(i=this._last;i&&(o=i._prev,h===this._time&&(!this._paused||v));){if(i._active||i._startTime<=d&&!i._paused&&!i._gc){if(u===i){for(u=i._prev;u&&u.endTime()>this._time;)u.render(u._reversed?u.totalDuration()-(t-u._startTime)*u._timeScale:(t-u._startTime)*u._timeScale,e,n),u=u._prev;u=null,this.pause(),this._pauseTime=f}i._reversed?i.render((i._dirty?i.totalDuration():i._totalDuration)-(t-i._startTime)*i._timeScale,e,n):i.render((t-i._startTime)*i._timeScale,e,n)}i=o}this._onUpdate&&(e||(a.length&&s(),this._callback("onUpdate"))),l&&(this._gc||g!==this._startTime&&m===this._timeScale||(0===this._time||p>=this.totalDuration())&&(r&&(a.length&&s(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[l]&&this._callback(l)))}},p._hasPausedChild=function(){for(var e=this._first;e;){if(e._paused||e instanceof t&&e._hasPausedChild())return!0;e=e._next}return!1},p.getChildren=function(t,e,n,r){r=r||-9999999999;for(var o=[],a=this._first,s=0;a;)a._startTime<r||(a instanceof i.default?!1!==e&&(o[s++]=a):(!1!==n&&(o[s++]=a),!1!==t&&(s=(o=o.concat(a.getChildren(!0,e,n))).length))),a=a._next;return o},p.getTweensOf=function(t,e){var n,r,o=this._gc,a=[],s=0;for(o&&this._enabled(!0,!0),r=(n=i.default.getTweensOf(t)).length;--r>-1;)(n[r].timeline===this||e&&this._contains(n[r]))&&(a[s++]=n[r]);return o&&this._enabled(!1,!0),a},p.recent=function(){return this._recent},p._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},p.shiftChildren=function(t,e,n){n=n||0;for(var i,r=this._first,o=this._labels;r;)r._startTime>=n&&(r._startTime+=t),r=r._next;if(e)for(i in o)o[i]>=n&&(o[i]+=t);return this._uncache(!0)},p._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var n=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),i=n.length,r=!1;--i>-1;)n[i]._kill(t,e)&&(r=!0);return r},p.clear=function(t){var e=this.getChildren(!1,!0,!0),n=e.length;for(this._time=this._totalTime=0;--n>-1;)e[n]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},p.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return i.Animation.prototype.invalidate.call(this)},p._enabled=function(t,e){if(t===this._gc)for(var n=this._first;n;)n._enabled(t,!0),n=n._next;return i.SimpleTimeline.prototype._enabled.call(this,t,e)},p.totalTime=function(t,e,n){this._forcingPlayhead=!0;var r=i.Animation.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,r},p.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},p.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,n,i=0,r=this,o=r._last,a=999999999999;o;)e=o._prev,o._dirty&&o.totalDuration(),o._startTime>a&&r._sortChildren&&!o._paused&&!r._calculatingDuration?(r._calculatingDuration=1,r.add(o,o._startTime-o._delay),r._calculatingDuration=0):a=o._startTime,o._startTime<0&&!o._paused&&(i-=o._startTime,r._timeline.smoothChildTiming&&(r._startTime+=o._startTime/r._timeScale,r._time-=o._startTime,r._totalTime-=o._startTime,r._rawPrevTime-=o._startTime),r.shiftChildren(-o._startTime,!1,-9999999999),a=0),(n=o._startTime+o._totalDuration/o._timeScale)>i&&(i=n),o=e;r._duration=r._totalDuration=i,r._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},p.paused=function(t){if(!1===t&&this._paused)for(var e=this._first;e;)e._startTime===this._time&&"isPause"===e.data&&(e._rawPrevTime=0),e=e._next;return i.Animation.prototype.paused.apply(this,arguments)},p.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===i.Animation._rootFramesTimeline},p.rawTime=function(t){return t&&(this._paused||this._repeat&&this.time()>0&&this.totalProgress()<1)?this._totalTime%(this._duration+this._repeatDelay):this._paused?this._totalTime:(this._timeline.rawTime(t)-this._startTime)*this._timeScale},t}),!0);var r=i.globals.TimelineLite;
/*!
 * VERSION: 2.1.3
 * DATE: 2019-05-17
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 * 
 * @author: Jack Doyle, jack@greensock.com
 **/i._gsScope._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],(function(){var t=function(t){var e,n=[],i=t.length;for(e=0;e!==i;n.push(t[e++]));return n},e=function(t,e,n){var i,r,o=t.cycle;for(i in o)r=o[i],t[i]="function"==typeof r?r(n,e[n],e):r[n%r.length];delete t.cycle},n=function(t){if("function"==typeof t)return t;var e="object"==typeof t?t:{each:t},n=e.ease,i=e.from||0,r=e.base||0,o={},a=isNaN(i),s=e.axis,l={center:.5,end:1}[i]||0;return function(t,c,u){var h,f,d,p,g,m,v,y,b,w=(u||e).length,_=o[w];if(!_){if(!(b="auto"===e.grid?0:(e.grid||[1/0])[0])){for(v=-1/0;v<(v=u[b++].getBoundingClientRect().left)&&b<w;);b--}for(_=o[w]=[],h=a?Math.min(b,w)*l-.5:i%b,f=a?w*l/b-.5:i/b|0,v=0,y=1/0,m=0;m<w;m++)d=m%b-h,p=f-(m/b|0),_[m]=g=s?Math.abs("y"===s?p:d):Math.sqrt(d*d+p*p),g>v&&(v=g),g<y&&(y=g);_.max=v-y,_.min=y,_.v=w=e.amount||e.each*(b>w?w-1:s?"y"===s?w/b:b:Math.max(b,w/b))||0,_.b=w<0?r-w:r}return w=(_[t]-_.min)/_.max,_.b+(n?n.getRatio(w):w)*_.v}},r=function(t,e,n){i.default.call(this,t,e,n),this._cycle=0,this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._repeat&&this._uncache(!0),this.render=r.prototype.render},o=i.default._internals,a=o.isSelector,s=o.isArray,l=r.prototype=i.default.to({},.1,{}),c=[];r.version="2.1.3",l.constructor=r,l.kill()._gc=!1,r.killTweensOf=r.killDelayedCallsTo=i.default.killTweensOf,r.getTweensOf=i.default.getTweensOf,r.lagSmoothing=i.default.lagSmoothing,r.ticker=i.default.ticker,r.render=i.default.render,r.distribute=n,l.invalidate=function(){return this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._yoyoEase=null,this._uncache(!0),i.default.prototype.invalidate.call(this)},l.updateTo=function(t,e){var n,r=this.ratio,o=this.vars.immediateRender||t.immediateRender;for(n in e&&this._startTime<this._timeline._time&&(this._startTime=this._timeline._time,this._uncache(!1),this._gc?this._enabled(!0,!1):this._timeline.insert(this,this._startTime-this._delay)),t)this.vars[n]=t[n];if(this._initted||o)if(e)this._initted=!1,o&&this.render(0,!0,!0);else if(this._gc&&this._enabled(!0,!1),this._notifyPluginsOfEnabled&&this._firstPT&&i.default._onPluginEvent("_onDisable",this),this._time/this._duration>.998){var a=this._totalTime;this.render(0,!0,!1),this._initted=!1,this.render(a,!0,!1)}else if(this._initted=!1,this._init(),this._time>0||o)for(var s,l=1/(1-r),c=this._firstPT;c;)s=c.s+c.c,c.c*=l,c.s=s-c.c,c=c._next;return this},l.render=function(t,e,n){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var r,a,s,l,c,u,h,f,d,p=this._dirty?this.totalDuration():this._totalDuration,g=this._time,m=this._totalTime,v=this._cycle,y=this._duration,b=this._rawPrevTime;if(t>=p-1e-8&&t>=0?(this._totalTime=p,this._cycle=this._repeat,this._yoyo&&0!=(1&this._cycle)?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=y,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(r=!0,a="onComplete",n=n||this._timeline.autoRemoveChildren),0===y&&(this._initted||!this.vars.lazy||n)&&(this._startTime===this._timeline._duration&&(t=0),(b<0||t<=0&&t>=-1e-8||1e-8===b&&"isPause"!==this.data)&&b!==t&&(n=!0,b>1e-8&&(a="onReverseComplete")),this._rawPrevTime=f=!e||t||b===t?t:1e-8)):t<1e-8?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==m||0===y&&b>0)&&(a="onReverseComplete",r=this._reversed),t>-1e-8?t=0:t<0&&(this._active=!1,0===y&&(this._initted||!this.vars.lazy||n)&&(b>=0&&(n=!0),this._rawPrevTime=f=!e||t||b===t?t:1e-8)),this._initted||(n=!0)):(this._totalTime=this._time=t,0!==this._repeat&&(l=y+this._repeatDelay,this._cycle=this._totalTime/l>>0,0!==this._cycle&&this._cycle===this._totalTime/l&&m<=t&&this._cycle--,this._time=this._totalTime-this._cycle*l,this._yoyo&&0!=(1&this._cycle)&&(this._time=y-this._time,(d=this._yoyoEase||this.vars.yoyoEase)&&(this._yoyoEase||(!0!==d||this._initted?this._yoyoEase=d=!0===d?this._ease:d instanceof i.Ease?d:i.Ease.map[d]:(d=this.vars.ease,this._yoyoEase=d=d?d instanceof i.Ease?d:"function"==typeof d?new i.Ease(d,this.vars.easeParams):i.Ease.map[d]||i.default.defaultEase:i.default.defaultEase)),this.ratio=d?1-d.getRatio((y-this._time)/y):0)),this._time>y?this._time=y:this._time<0&&(this._time=0)),this._easeType&&!d?(c=this._time/y,(1===(u=this._easeType)||3===u&&c>=.5)&&(c=1-c),3===u&&(c*=2),1===(h=this._easePower)?c*=c:2===h?c*=c*c:3===h?c*=c*c*c:4===h&&(c*=c*c*c*c),this.ratio=1===u?1-c:2===u?c:this._time/y<.5?c/2:1-c/2):d||(this.ratio=this._ease.getRatio(this._time/y))),g!==this._time||n||v!==this._cycle){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!n&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=g,this._totalTime=m,this._rawPrevTime=b,this._cycle=v,o.lazyTweens.push(this),void(this._lazy=[t,e]);!this._time||r||d?r&&this._ease._calcEnd&&!d&&(this.ratio=this._ease.getRatio(0===this._time?0:1)):this.ratio=this._ease.getRatio(this._time/y)}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==g&&t>=0&&(this._active=!0),0===m&&(2===this._initted&&t>0&&this._init(),this._startAt&&(t>=0?this._startAt.render(t,!0,n):a||(a="_dummyGS")),this.vars.onStart&&(0===this._totalTime&&0!==y||e||this._callback("onStart"))),s=this._firstPT;s;)s.f?s.t[s.p](s.c*this.ratio+s.s):s.t[s.p]=s.c*this.ratio+s.s,s=s._next;this._onUpdate&&(t<0&&this._startAt&&this._startTime&&this._startAt.render(t,!0,n),e||(this._totalTime!==m||a)&&this._callback("onUpdate")),this._cycle!==v&&(e||this._gc||this.vars.onRepeat&&this._callback("onRepeat")),a&&(this._gc&&!n||(t<0&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(t,!0,n),r&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[a]&&this._callback(a),0===y&&1e-8===this._rawPrevTime&&1e-8!==f&&(this._rawPrevTime=0)))}else m!==this._totalTime&&this._onUpdate&&(e||this._callback("onUpdate"))},r.to=function(t,e,n){return new r(t,e,n)},r.from=function(t,e,n){return n.runBackwards=!0,n.immediateRender=0!=n.immediateRender,new r(t,e,n)},r.fromTo=function(t,e,n,i){return i.startAt=n,i.immediateRender=0!=i.immediateRender&&0!=n.immediateRender,new r(t,e,i)},r.staggerTo=r.allTo=function(o,l,u,h,f,d,p){var g,m,v,y,b=[],w=n(u.stagger||h),_=u.cycle,x=(u.startAt||c).cycle;for(s(o)||("string"==typeof o&&(o=i.default.selector(o)||o),a(o)&&(o=t(o))),g=(o=o||[]).length-1,v=0;v<=g;v++){for(y in m={},u)m[y]=u[y];if(_&&(e(m,o,v),null!=m.duration&&(l=m.duration,delete m.duration)),x){for(y in x=m.startAt={},u.startAt)x[y]=u.startAt[y];e(m.startAt,o,v)}m.delay=w(v,o[v],o)+(m.delay||0),v===g&&f&&(m.onComplete=function(){u.onComplete&&u.onComplete.apply(u.onCompleteScope||this,arguments),f.apply(p||u.callbackScope||this,d||c)}),b[v]=new r(o[v],l,m)}return b},r.staggerFrom=r.allFrom=function(t,e,n,i,o,a,s){return n.runBackwards=!0,n.immediateRender=0!=n.immediateRender,r.staggerTo(t,e,n,i,o,a,s)},r.staggerFromTo=r.allFromTo=function(t,e,n,i,o,a,s,l){return i.startAt=n,i.immediateRender=0!=i.immediateRender&&0!=n.immediateRender,r.staggerTo(t,e,i,o,a,s,l)},r.delayedCall=function(t,e,n,i,o){return new r(e,0,{delay:t,onComplete:e,onCompleteParams:n,callbackScope:i,onReverseComplete:e,onReverseCompleteParams:n,immediateRender:!1,useFrames:o,overwrite:0})},r.set=function(t,e){return new r(t,0,e)},r.isTweening=function(t){return i.default.getTweensOf(t,!0).length>0};var u=function(t,e){for(var n=[],r=0,o=t._first;o;)o instanceof i.default?n[r++]=o:(e&&(n[r++]=o),r=(n=n.concat(u(o,e))).length),o=o._next;return n},h=r.getAllTweens=function(t){return u(i.Animation._rootTimeline,t).concat(u(i.Animation._rootFramesTimeline,t))};r.killAll=function(t,e,n,r){null==e&&(e=!0),null==n&&(n=!0);var o,a,s,l=h(0!=r),c=l.length,u=e&&n&&r;for(s=0;s<c;s++)a=l[s],(u||a instanceof i.SimpleTimeline||(o=a.target===a.vars.onComplete)&&n||e&&!o)&&(t?a.totalTime(a._reversed?0:a.totalDuration()):a._enabled(!1,!1))},r.killChildTweensOf=function(e,n){if(null!=e){var l,c,u,h,f,d=o.tweenLookup;if("string"==typeof e&&(e=i.default.selector(e)||e),a(e)&&(e=t(e)),s(e))for(h=e.length;--h>-1;)r.killChildTweensOf(e[h],n);else{for(u in l=[],d)for(c=d[u].target.parentNode;c;)c===e&&(l=l.concat(d[u].tweens)),c=c.parentNode;for(f=l.length,h=0;h<f;h++)n&&l[h].totalTime(l[h].totalDuration()),l[h]._enabled(!1,!1)}}};var f=function(t,e,n,r){e=!1!==e,n=!1!==n;for(var o,a,s=h(r=!1!==r),l=e&&n&&r,c=s.length;--c>-1;)a=s[c],(l||a instanceof i.SimpleTimeline||(o=a.target===a.vars.onComplete)&&n||e&&!o)&&a.paused(t)};return r.pauseAll=function(t,e,n){f(!0,t,e,n)},r.resumeAll=function(t,e,n){f(!1,t,e,n)},r.globalTimeScale=function(t){var e=i.Animation._rootTimeline,n=i.default.ticker.time;return arguments.length?(t=t||1e-8,e._startTime=n-(n-e._startTime)*e._timeScale/t,e=i.Animation._rootFramesTimeline,n=i.default.ticker.frame,e._startTime=n-(n-e._startTime)*e._timeScale/t,e._timeScale=i.Animation._rootTimeline._timeScale=t,t):e._timeScale},l.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this.duration()?this._time/this._duration:this.ratio},l.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},l.time=function(t,e){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var n=this._duration,i=this._cycle,r=i*(n+this._repeatDelay);return t>n&&(t=n),this.totalTime(this._yoyo&&1&i?n-t+r:this._repeat?t+r:t,e)},l.duration=function(t){return arguments.length?i.Animation.prototype.duration.call(this,t):this._duration},l.totalDuration=function(t){return arguments.length?-1===this._repeat?this:this.duration((t-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},l.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},l.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},l.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},r}),!0);var o=i.globals.TweenMax,a=n(55),s=i._gsScope._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(t,e,n,i){var r,o;if("function"!=typeof t.setAttribute)return!1;for(r in e)"function"==typeof(o=e[r])&&(o=o(i,t)),this._addTween(t,"setAttribute",t.getAttribute(r)+"",o+"",r,!1,r),this._overwriteProps.push(r);return!0}}),l=i._gsScope._gsDefine.plugin({propName:"roundProps",version:"1.7.0",priority:-1,API:2,init:function(t,e,n){return this._tween=n,!0}}),c=function(t){var e=t<1?Math.pow(10,(t+"").length-2):1;return function(n){return(Math.round(n/t)*t*e|0)/e}},u=function(t,e){for(;t;)t.f||t.blob||(t.m=e||Math.round),t=t._next},h=l.prototype;h._onInitAllProps=function(){var t,e,n,i,r=this._tween,o=r.vars.roundProps,a={},s=r._propLookup.roundProps;if("object"!=typeof o||o.push)for("string"==typeof o&&(o=o.split(",")),n=o.length;--n>-1;)a[o[n]]=Math.round;else for(i in o)a[i]=c(o[i]);for(i in a)for(t=r._firstPT;t;)e=t._next,t.pg?t.t._mod(a):t.n===i&&(2===t.f&&t.t?u(t.t._firstPT,a[i]):(this._add(t.t,i,t.s,t.c,a[i]),e&&(e._prev=t._prev),t._prev?t._prev._next=e:r._firstPT===t&&(r._firstPT=e),t._next=t._prev=null,r._propLookup[i]=s)),t=e;return!1},h._add=function(t,e,n,i,r){this._addTween(t,e,n,n+i,e,r||Math.round),this._overwriteProps.push(e)};
/*!
 * VERSION: 0.3.1
 * DATE: 2018-08-27
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 * 
 * @author: Jack Doyle, jack@greensock.com
 **/
var f=i._gsScope._gsDefine.plugin({propName:"directionalRotation",version:"0.3.1",API:2,init:function(t,e,n,i){"object"!=typeof e&&(e={rotation:e}),this.finals={};var r,o,a,s,l,c,u=!0===e.useRadians?2*Math.PI:360;for(r in e)"useRadians"!==r&&("function"==typeof(s=e[r])&&(s=s(i,t)),o=(c=(s+"").split("_"))[0],a=parseFloat("function"!=typeof t[r]?t[r]:t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)]()),l=(s=this.finals[r]="string"==typeof o&&"="===o.charAt(1)?a+parseInt(o.charAt(0)+"1",10)*Number(o.substr(2)):Number(o)||0)-a,c.length&&(-1!==(o=c.join("_")).indexOf("short")&&(l%=u)!==l%(u/2)&&(l=l<0?l+u:l-u),-1!==o.indexOf("_cw")&&l<0?l=(l+9999999999*u)%u-(l/u|0)*u:-1!==o.indexOf("ccw")&&l>0&&(l=(l-9999999999*u)%u-(l/u|0)*u)),(l>1e-6||l<-1e-6)&&(this._addTween(t,r,a,a+l,r),this._overwriteProps.push(r)));return!0},set:function(t){var e;if(1!==t)this._super.setRatio.call(this,t);else for(e=this._firstPT;e;)e.f?e.t[e.p](this.finals[e.p]):e.t[e.p]=this.finals[e.p],e=e._next}});f._autoCSS=!0,
/*!
 * VERSION: 2.1.3
 * DATE: 2019-05-17
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 * 
 * @author: Jack Doyle, jack@greensock.com
 */
i._gsScope._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],(function(){var t=function(t){r.call(this,t),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!!this.vars.yoyo,this._dirty=!0},e=i.default._internals,n=e.lazyTweens,o=e.lazyRender,a=i._gsScope._gsDefine.globals,s=new i.Ease(null,null,1,0),l=t.prototype=new r;return l.constructor=t,l.kill()._gc=!1,t.version="2.1.3",l.invalidate=function(){return this._yoyo=!!this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),r.prototype.invalidate.call(this)},l.addCallback=function(t,e,n,r){return this.add(i.default.delayedCall(0,t,n,r),e)},l.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var n=this.getTweensOf(t,!1),i=n.length,r=this._parseTimeOrLabel(e);--i>-1;)n[i]._startTime===r&&n[i]._enabled(!1,!1);return this},l.removePause=function(t){return this.removeCallback(r._internals.pauseCallback,t)},l.tweenTo=function(t,e){e=e||{};var n,r,o,l={ease:s,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},c=e.repeat&&a.TweenMax||i.default;for(r in e)l[r]=e[r];return l.time=this._parseTimeOrLabel(t),n=Math.abs(Number(l.time)-this._time)/this._timeScale||.001,o=new c(this,n,l),l.onStart=function(){o.target.paused(!0),o.vars.time===o.target.time()||n!==o.duration()||o.isFromTo||o.duration(Math.abs(o.vars.time-o.target.time())/o.target._timeScale).render(o.time(),!0,!0),e.onStart&&e.onStart.apply(e.onStartScope||e.callbackScope||o,e.onStartParams||[])},o},l.tweenFromTo=function(t,e,n){n=n||{},t=this._parseTimeOrLabel(t),n.startAt={onComplete:this.seek,onCompleteParams:[t],callbackScope:this},n.immediateRender=!1!==n.immediateRender;var i=this.tweenTo(e,n);return i.isFromTo=1,i.duration(Math.abs(i.vars.time-t)/this._timeScale||.001)},l.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var r,a,s,l,c,u,h,f,d,p=this._time,g=this._dirty?this.totalDuration():this._totalDuration,m=this._duration,v=this._totalTime,y=this._startTime,b=this._timeScale,w=this._rawPrevTime,_=this._paused,x=this._cycle;if(p!==this._time&&(t+=this._time-p),t>=g-1e-8&&t>=0)this._locked||(this._totalTime=g,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(a=!0,l="onComplete",c=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&t>=-1e-8||w<0||1e-8===w)&&w!==t&&this._first&&(c=!0,w>1e-8&&(l="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-8,this._yoyo&&1&this._cycle?this._time=t=0:(this._time=m,t=m+1e-4);else if(t<1e-8)if(this._locked||(this._totalTime=this._cycle=0),this._time=0,t>-1e-8&&(t=0),(0!==p||0===m&&1e-8!==w&&(w>0||t<0&&w>=0)&&!this._locked)&&(l="onReverseComplete",a=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(c=a=!0,l="onReverseComplete"):w>=0&&this._first&&(c=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=m||!e||t||this._rawPrevTime===t?t:1e-8,0===t&&a)for(r=this._first;r&&0===r._startTime;)r._duration||(a=!1),r=r._next;t=0,this._initted||(c=!0)}else 0===m&&w<0&&(c=!0),this._time=this._rawPrevTime=t,this._locked||(this._totalTime=t,0!==this._repeat&&(u=m+this._repeatDelay,this._cycle=this._totalTime/u>>0,this._cycle&&this._cycle===this._totalTime/u&&v<=t&&this._cycle--,this._time=this._totalTime-this._cycle*u,this._yoyo&&1&this._cycle&&(this._time=m-this._time),this._time>m?(this._time=m,t=m+1e-4):this._time<0?this._time=t=0:t=this._time));if(this._hasPause&&!this._forcingPlayhead&&!e){if((t=this._time)>p||this._repeat&&x!==this._cycle)for(r=this._first;r&&r._startTime<=t&&!h;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===this._rawPrevTime||(h=r),r=r._next;else for(r=this._last;r&&r._startTime>=t&&!h;)r._duration||"isPause"===r.data&&r._rawPrevTime>0&&(h=r),r=r._prev;h&&(d=this._startTime+(this._reversed?this._duration-h._startTime:h._startTime)/this._timeScale,h._startTime<m&&(this._time=this._rawPrevTime=t=h._startTime,this._totalTime=t+this._cycle*(this._totalDuration+this._repeatDelay)))}if(this._cycle!==x&&!this._locked){var T=this._yoyo&&0!=(1&x),k=T===(this._yoyo&&0!=(1&this._cycle)),A=this._totalTime,S=this._cycle,C=this._rawPrevTime,P=this._time;if(this._totalTime=x*m,this._cycle<x?T=!T:this._totalTime+=m,this._time=p,this._rawPrevTime=0===m?w-1e-4:w,this._cycle=x,this._locked=!0,p=T?0:m,this.render(p,e,0===m),e||this._gc||this.vars.onRepeat&&(this._cycle=S,this._locked=!1,this._callback("onRepeat")),p!==this._time)return;if(k&&(this._cycle=x,this._locked=!0,p=T?m+1e-4:-1e-4,this.render(p,!0,!1)),this._locked=!1,this._paused&&!_)return;this._time=P,this._totalTime=A,this._cycle=S,this._rawPrevTime=C}if(this._time!==p&&this._first||i||c||h){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._totalTime!==v&&t>0&&(this._active=!0),0===v&&this.vars.onStart&&(0===this._totalTime&&this._totalDuration||e||this._callback("onStart")),(f=this._time)>=p)for(r=this._first;r&&(s=r._next,f===this._time&&(!this._paused||_));)(r._active||r._startTime<=this._time&&!r._paused&&!r._gc)&&(h===r&&(this.pause(),this._pauseTime=d),r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=s;else for(r=this._last;r&&(s=r._prev,f===this._time&&(!this._paused||_));){if(r._active||r._startTime<=p&&!r._paused&&!r._gc){if(h===r){for(h=r._prev;h&&h.endTime()>this._time;)h.render(h._reversed?h.totalDuration()-(t-h._startTime)*h._timeScale:(t-h._startTime)*h._timeScale,e,i),h=h._prev;h=null,this.pause(),this._pauseTime=d}r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)}r=s}this._onUpdate&&(e||(n.length&&o(),this._callback("onUpdate"))),l&&(this._locked||this._gc||y!==this._startTime&&b===this._timeScale||(0===this._time||g>=this.totalDuration())&&(a&&(n.length&&o(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[l]&&this._callback(l)))}else v!==this._totalTime&&this._onUpdate&&(e||this._callback("onUpdate"))},l.getActive=function(t,e,n){var i,r,o=[],a=this.getChildren(t||null==t,e||null==t,!!n),s=0,l=a.length;for(i=0;i<l;i++)(r=a[i]).isActive()&&(o[s++]=r);return o},l.getLabelAfter=function(t){t||0!==t&&(t=this._time);var e,n=this.getLabelsArray(),i=n.length;for(e=0;e<i;e++)if(n[e].time>t)return n[e].name;return null},l.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),n=e.length;--n>-1;)if(e[n].time<t)return e[n].name;return null},l.getLabelsArray=function(){var t,e=[],n=0;for(t in this._labels)e[n++]={time:this._labels[t],name:t};return e.sort((function(t,e){return t.time-e.time})),e},l.invalidate=function(){return this._locked=!1,r.prototype.invalidate.call(this)},l.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this._time/this.duration()||0},l.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()||0},l.totalDuration=function(t){return arguments.length?-1!==this._repeat&&t?this.timeScale(this.totalDuration()/t):this:(this._dirty&&(r.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},l.time=function(t,e){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var n=this._duration,i=this._cycle,r=i*(n+this._repeatDelay);return t>n&&(t=n),this.totalTime(this._yoyo&&1&i?n-t+r:this._repeat?t+r:t,e)},l.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},l.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},l.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},l.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+1e-8)},t}),!0);var d=i.globals.TimelineMax,p=180/Math.PI,g=[],m=[],v=[],y={},b=i._gsScope._gsDefine.globals,w=function(t,e,n,i){n===i&&(n=i-(i-e)/1e6),t===e&&(e=t+(n-t)/1e6),this.a=t,this.b=e,this.c=n,this.d=i,this.da=i-t,this.ca=n-t,this.ba=e-t},_=function(t,e,n,i){var r={a:t},o={},a={},s={c:i},l=(t+e)/2,c=(e+n)/2,u=(n+i)/2,h=(l+c)/2,f=(c+u)/2,d=(f-h)/8;return r.b=l+(t-l)/4,o.b=h+d,r.c=o.a=(r.b+o.b)/2,o.c=a.a=(h+f)/2,a.b=f-d,s.b=u+(i-u)/4,a.c=s.a=(a.b+s.b)/2,[r,o,a,s]},x=function(t,e,n,i,r){var o,a,s,l,c,u,h,f,d,p,y,b,w,x=t.length-1,T=0,k=t[0].a;for(o=0;o<x;o++)a=(c=t[T]).a,s=c.d,l=t[T+1].d,r?(y=g[o],w=((b=m[o])+y)*e*.25/(i?.5:v[o]||.5),f=s-((u=s-(s-a)*(i?.5*e:0!==y?w/y:0))+(((h=s+(l-s)*(i?.5*e:0!==b?w/b:0))-u)*(3*y/(y+b)+.5)/4||0))):f=s-((u=s-(s-a)*e*.5)+(h=s+(l-s)*e*.5))/2,u+=f,h+=f,c.c=d=u,c.b=0!==o?k:k=c.a+.6*(c.c-c.a),c.da=s-a,c.ca=d-a,c.ba=k-a,n?(p=_(a,k,d,s),t.splice(T,1,p[0],p[1],p[2],p[3]),T+=4):T++,k=h;(c=t[T]).b=k,c.c=k+.4*(c.d-k),c.da=c.d-c.a,c.ca=c.c-c.a,c.ba=k-c.a,n&&(p=_(c.a,k,c.c,c.d),t.splice(T,1,p[0],p[1],p[2],p[3]))},T=function(t,e,n,i){var r,o,a,s,l,c,u=[];if(i)for(o=(t=[i].concat(t)).length;--o>-1;)"string"==typeof(c=t[o][e])&&"="===c.charAt(1)&&(t[o][e]=i[e]+Number(c.charAt(0)+c.substr(2)));if((r=t.length-2)<0)return u[0]=new w(t[0][e],0,0,t[0][e]),u;for(o=0;o<r;o++)a=t[o][e],s=t[o+1][e],u[o]=new w(a,0,0,s),n&&(l=t[o+2][e],g[o]=(g[o]||0)+(s-a)*(s-a),m[o]=(m[o]||0)+(l-s)*(l-s));return u[o]=new w(t[o][e],0,0,t[o+1][e]),u},k=function(t,e,n,i,r,o){var a,s,l,c,u,h,f,d,p={},b=[],w=o||t[0];for(s in r="string"==typeof r?","+r+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",null==e&&(e=1),t[0])b.push(s);if(t.length>1){for(d=t[t.length-1],f=!0,a=b.length;--a>-1;)if(s=b[a],Math.abs(w[s]-d[s])>.05){f=!1;break}f&&(t=t.concat(),o&&t.unshift(o),t.push(t[1]),o=t[t.length-3])}for(g.length=m.length=v.length=0,a=b.length;--a>-1;)s=b[a],y[s]=-1!==r.indexOf(","+s+","),p[s]=T(t,s,y[s],o);for(a=g.length;--a>-1;)g[a]=Math.sqrt(g[a]),m[a]=Math.sqrt(m[a]);if(!i){for(a=b.length;--a>-1;)if(y[s])for(h=(l=p[b[a]]).length-1,c=0;c<h;c++)u=l[c+1].da/m[c]+l[c].da/g[c]||0,v[c]=(v[c]||0)+u*u;for(a=v.length;--a>-1;)v[a]=Math.sqrt(v[a])}for(a=b.length,c=n?4:1;--a>-1;)l=p[s=b[a]],x(l,e,n,i,y[s]),f&&(l.splice(0,c),l.splice(l.length-c,c));return p},A=function(t,e,n){for(var i,r,o,a,s,l,c,u,h,f,d,p=1/n,g=t.length;--g>-1;)for(o=(f=t[g]).a,a=f.d-o,s=f.c-o,l=f.b-o,i=r=0,u=1;u<=n;u++)i=r-(r=((c=p*u)*c*a+3*(h=1-c)*(c*s+h*l))*c),e[d=g*n+u-1]=(e[d]||0)+i*i},S=i._gsScope._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.9",API:2,global:!0,init:function(t,e,n){this._target=t,e instanceof Array&&(e={values:e}),this._func={},this._mod={},this._props=[],this._timeRes=null==e.timeResolution?6:parseInt(e.timeResolution,10);var i,r,o,a,s,l=e.values||[],c={},u=l[0],h=e.autoRotate||n.vars.orientToBezier;for(i in this._autoRotate=h?h instanceof Array?h:[["x","y","rotation",!0===h?0:Number(h)||0]]:null,u)this._props.push(i);for(o=this._props.length;--o>-1;)i=this._props[o],this._overwriteProps.push(i),r=this._func[i]="function"==typeof t[i],c[i]=r?t[i.indexOf("set")||"function"!=typeof t["get"+i.substr(3)]?i:"get"+i.substr(3)]():parseFloat(t[i]),s||c[i]!==l[0][i]&&(s=c);if(this._beziers="cubic"!==e.type&&"quadratic"!==e.type&&"soft"!==e.type?k(l,isNaN(e.curviness)?1:e.curviness,!1,"thruBasic"===e.type,e.correlate,s):function(t,e,n){var i,r,o,a,s,l,c,u,h,f,d,p={},g="cubic"===(e=e||"soft")?3:2,m="soft"===e,v=[];if(m&&n&&(t=[n].concat(t)),null==t||t.length<g+1)throw"invalid Bezier data";for(h in t[0])v.push(h);for(l=v.length;--l>-1;){for(p[h=v[l]]=s=[],f=0,u=t.length,c=0;c<u;c++)i=null==n?t[c][h]:"string"==typeof(d=t[c][h])&&"="===d.charAt(1)?n[h]+Number(d.charAt(0)+d.substr(2)):Number(d),m&&c>1&&c<u-1&&(s[f++]=(i+s[f-2])/2),s[f++]=i;for(u=f-g+1,f=0,c=0;c<u;c+=g)i=s[c],r=s[c+1],o=s[c+2],a=2===g?0:s[c+3],s[f++]=d=3===g?new w(i,r,o,a):new w(i,(2*r+i)/3,(2*r+o)/3,o);s.length=f}return p}(l,e.type,c),this._segCount=this._beziers[i].length,this._timeRes){var f=function(t,e){var n,i,r,o,a=[],s=[],l=0,c=0,u=(e=e>>0||6)-1,h=[],f=[];for(n in t)A(t[n],a,e);for(r=a.length,i=0;i<r;i++)l+=Math.sqrt(a[i]),f[o=i%e]=l,o===u&&(c+=l,h[o=i/e>>0]=f,s[o]=c,l=0,f=[]);return{length:c,lengths:s,segments:h}}(this._beziers,this._timeRes);this._length=f.length,this._lengths=f.lengths,this._segments=f.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(h=this._autoRotate)for(this._initialRotations=[],h[0]instanceof Array||(this._autoRotate=h=[h]),o=h.length;--o>-1;){for(a=0;a<3;a++)i=h[o][a],this._func[i]="function"==typeof t[i]&&t[i.indexOf("set")||"function"!=typeof t["get"+i.substr(3)]?i:"get"+i.substr(3)];i=h[o][2],this._initialRotations[o]=(this._func[i]?this._func[i].call(this._target):this._target[i])||0,this._overwriteProps.push(i)}return this._startRatio=n.vars.runBackwards?1:0,!0},set:function(t){var e,n,i,r,o,a,s,l,c,u,h,f=this._segCount,d=this._func,g=this._target,m=t!==this._startRatio;if(this._timeRes){if(c=this._lengths,u=this._curSeg,h=t*this._length,i=this._li,h>this._l2&&i<f-1){for(l=f-1;i<l&&(this._l2=c[++i])<=h;);this._l1=c[i-1],this._li=i,this._curSeg=u=this._segments[i],this._s2=u[this._s1=this._si=0]}else if(h<this._l1&&i>0){for(;i>0&&(this._l1=c[--i])>=h;);0===i&&h<this._l1?this._l1=0:i++,this._l2=c[i],this._li=i,this._curSeg=u=this._segments[i],this._s1=u[(this._si=u.length-1)-1]||0,this._s2=u[this._si]}if(e=i,h-=this._l1,i=this._si,h>this._s2&&i<u.length-1){for(l=u.length-1;i<l&&(this._s2=u[++i])<=h;);this._s1=u[i-1],this._si=i}else if(h<this._s1&&i>0){for(;i>0&&(this._s1=u[--i])>=h;);0===i&&h<this._s1?this._s1=0:i++,this._s2=u[i],this._si=i}a=1===t?1:(i+(h-this._s1)/(this._s2-this._s1))*this._prec||0}else a=(t-(e=t<0?0:t>=1?f-1:f*t>>0)*(1/f))*f;for(n=1-a,i=this._props.length;--i>-1;)r=this._props[i],s=(a*a*(o=this._beziers[r][e]).da+3*n*(a*o.ca+n*o.ba))*a+o.a,this._mod[r]&&(s=this._mod[r](s,g)),d[r]?g[r](s):g[r]=s;if(this._autoRotate){var v,y,b,w,_,x,T,k=this._autoRotate;for(i=k.length;--i>-1;)r=k[i][2],x=k[i][3]||0,T=!0===k[i][4]?1:p,o=this._beziers[k[i][0]],v=this._beziers[k[i][1]],o&&v&&(o=o[e],v=v[e],y=o.a+(o.b-o.a)*a,y+=((w=o.b+(o.c-o.b)*a)-y)*a,w+=(o.c+(o.d-o.c)*a-w)*a,b=v.a+(v.b-v.a)*a,b+=((_=v.b+(v.c-v.b)*a)-b)*a,_+=(v.c+(v.d-v.c)*a-_)*a,s=m?Math.atan2(_-b,w-y)*T+x:this._initialRotations[i],this._mod[r]&&(s=this._mod[r](s,g)),d[r]?g[r](s):g[r]=s)}}}),C=S.prototype;
/*!
 * VERSION: 1.3.9
 * DATE: 2019-05-17
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 * 
 * @author: Jack Doyle, jack@greensock.com
 **/S.bezierThrough=k,S.cubicToQuadratic=_,S._autoCSS=!0,S.quadraticToCubic=function(t,e,n){return new w(t,(2*e+t)/3,(2*e+n)/3,n)},S._cssRegister=function(){var t=b.CSSPlugin;if(t){var e=t._internals,n=e._parseToProxy,i=e._setPluginRatio,r=e.CSSPropTween;e._registerComplexSpecialProp("bezier",{parser:function(t,e,o,a,s,l){e instanceof Array&&(e={values:e}),l=new S;var c,u,h,f=e.values,d=f.length-1,p=[],g={};if(d<0)return s;for(c=0;c<=d;c++)h=n(t,f[c],a,s,l,d!==c),p[c]=h.end;for(u in e)g[u]=e[u];return g.values=p,(s=new r(t,"bezier",0,0,h.pt,2)).data=h,s.plugin=l,s.setRatio=i,0===g.autoRotate&&(g.autoRotate=!0),!g.autoRotate||g.autoRotate instanceof Array||(c=!0===g.autoRotate?0:Number(g.autoRotate),g.autoRotate=null!=h.end.left?[["left","top","rotation",c,!1]]:null!=h.end.x&&[["x","y","rotation",c,!1]]),g.autoRotate&&(a._transform||a._enableTransforms(!1),h.autoRotate=a._target._gsTransform,h.proxy.rotation=h.autoRotate.rotation||0,a._overwriteProps.push("rotation")),l._onInitTween(h.proxy,g,a._tween),s}})}},C._mod=function(t){for(var e,n=this._overwriteProps,i=n.length;--i>-1;)(e=t[n[i]])&&"function"==typeof e&&(this._mod[n[i]]=e)},C._kill=function(t){var e,n,i=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],n=i.length;--n>-1;)i[n]===e&&i.splice(n,1);if(i=this._autoRotate)for(n=i.length;--n>-1;)t[i[n][2]]&&i.splice(n,1);return this._super._kill.call(this,t)},
/*!
 * VERSION: 1.16.1
 * DATE: 2018-08-27
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 * 
 * @author: Jack Doyle, jack@greensock.com
 **/
i._gsScope._gsDefine("easing.Back",["easing.Ease"],(function(){var t,e,n,r,o=i._gsScope.GreenSockGlobals||i._gsScope,a=o.com.greensock,s=2*Math.PI,l=Math.PI/2,c=a._class,u=function(t,e){var n=c("easing."+t,(function(){}),!0),r=n.prototype=new i.Ease;return r.constructor=n,r.getRatio=e,n},h=i.Ease.register||function(){},f=function(t,e,n,i,r){var o=c("easing."+t,{easeOut:new e,easeIn:new n,easeInOut:new i},!0);return h(o,t),o},d=function(t,e,n){this.t=t,this.v=e,n&&(this.next=n,n.prev=this,this.c=n.v-e,this.gap=n.t-t)},p=function(t,e){var n=c("easing."+t,(function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1}),!0),r=n.prototype=new i.Ease;return r.constructor=n,r.getRatio=e,r.config=function(t){return new n(t)},n},g=f("Back",p("BackOut",(function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1})),p("BackIn",(function(t){return t*t*((this._p1+1)*t-this._p1)})),p("BackInOut",(function(t){return(t*=2)<1?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)}))),m=c("easing.SlowMo",(function(t,e,n){e=e||0===e?e:.7,null==t?t=.7:t>1&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=!0===n}),!0),v=m.prototype=new i.Ease;return v.constructor=m,v.getRatio=function(t){var e=t+(.5-t)*this._p;return t<this._p1?this._calcEnd?1-(t=1-t/this._p1)*t:e-(t=1-t/this._p1)*t*t*t*e:t>this._p3?this._calcEnd?1===t?0:1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},m.ease=new m(.7,.7),v.config=m.config=function(t,e,n){return new m(t,e,n)},(v=(t=c("easing.SteppedEase",(function(t,e){t=t||1,this._p1=1/t,this._p2=t+(e?0:1),this._p3=e?1:0}),!0)).prototype=new i.Ease).constructor=t,v.getRatio=function(t){return t<0?t=0:t>=1&&(t=.999999999),((this._p2*t|0)+this._p3)*this._p1},v.config=t.config=function(e,n){return new t(e,n)},(v=(e=c("easing.ExpoScaleEase",(function(t,e,n){this._p1=Math.log(e/t),this._p2=e-t,this._p3=t,this._ease=n}),!0)).prototype=new i.Ease).constructor=e,v.getRatio=function(t){return this._ease&&(t=this._ease.getRatio(t)),(this._p3*Math.exp(this._p1*t)-this._p3)/this._p2},v.config=e.config=function(t,n,i){return new e(t,n,i)},(v=(n=c("easing.RoughEase",(function(t){for(var e,n,r,o,a,s,l=(t=t||{}).taper||"none",c=[],u=0,h=0|(t.points||20),f=h,p=!1!==t.randomize,g=!0===t.clamp,m=t.template instanceof i.Ease?t.template:null,v="number"==typeof t.strength?.4*t.strength:.4;--f>-1;)e=p?Math.random():1/h*f,n=m?m.getRatio(e):e,r="none"===l?v:"out"===l?(o=1-e)*o*v:"in"===l?e*e*v:e<.5?(o=2*e)*o*.5*v:(o=2*(1-e))*o*.5*v,p?n+=Math.random()*r-.5*r:f%2?n+=.5*r:n-=.5*r,g&&(n>1?n=1:n<0&&(n=0)),c[u++]={x:e,y:n};for(c.sort((function(t,e){return t.x-e.x})),s=new d(1,1,null),f=h;--f>-1;)a=c[f],s=new d(a.x,a.y,s);this._prev=new d(0,0,0!==s.t?s:s.next)}),!0)).prototype=new i.Ease).constructor=n,v.getRatio=function(t){var e=this._prev;if(t>e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&t<=e.t;)e=e.prev;return this._prev=e,e.v+(t-e.t)/e.gap*e.c},v.config=function(t){return new n(t)},n.ease=new n,f("Bounce",u("BounceOut",(function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375})),u("BounceIn",(function(t){return(t=1-t)<1/2.75?1-7.5625*t*t:t<2/2.75?1-(7.5625*(t-=1.5/2.75)*t+.75):t<2.5/2.75?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)})),u("BounceInOut",(function(t){var e=t<.5;return(t=e?1-2*t:2*t-1)<1/2.75?t*=7.5625*t:t=t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5}))),f("Circ",u("CircOut",(function(t){return Math.sqrt(1-(t-=1)*t)})),u("CircIn",(function(t){return-(Math.sqrt(1-t*t)-1)})),u("CircInOut",(function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)}))),f("Elastic",(r=function(t,e,n){var r=c("easing."+t,(function(t,e){this._p1=t>=1?t:1,this._p2=(e||n)/(t<1?t:1),this._p3=this._p2/s*(Math.asin(1/this._p1)||0),this._p2=s/this._p2}),!0),o=r.prototype=new i.Ease;return o.constructor=r,o.getRatio=e,o.config=function(t,e){return new r(t,e)},r})("ElasticOut",(function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1}),.3),r("ElasticIn",(function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)}),.3),r("ElasticInOut",(function(t){return(t*=2)<1?this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*this._p2)*.5+1}),.45)),f("Expo",u("ExpoOut",(function(t){return 1-Math.pow(2,-10*t)})),u("ExpoIn",(function(t){return Math.pow(2,10*(t-1))-.001})),u("ExpoInOut",(function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))}))),f("Sine",u("SineOut",(function(t){return Math.sin(t*l)})),u("SineIn",(function(t){return 1-Math.cos(t*l)})),u("SineInOut",(function(t){return-.5*(Math.cos(Math.PI*t)-1)}))),c("easing.EaseLookup",{find:function(t){return i.Ease.map[t]}},!0),h(o.SlowMo,"SlowMo","ease,"),h(n,"RoughEase","ease,"),h(t,"SteppedEase","ease,"),g}),!0);var P=i.globals.Back,E=i.globals.Elastic,O=i.globals.Bounce,R=i.globals.RoughEase,I=i.globals.SlowMo,q=i.globals.SteppedEase,M=i.globals.Circ,L=i.globals.Expo,N=i.globals.Sine,D=i.globals.ExpoScaleEase;o._autoActivated=[r,d,a.a,s,S,l,f,P,E,O,R,I,q,M,L,N,D]},function(t,e,n){"use strict";var i=n(1),r=n.n(i),o=globalThis.window;e.a={$window:r()(o),$body:r()("body"),$quizImageWrapper:r()("#quiz-image-wrapper"),$quizWrapper:r()("#quiz-wrapper"),$logo:r()("#logo"),$quizHeaderTitleWrapper:r()("#quiz-header-title-wrapper"),$quizHeaderTitle:r()("#quiz-header-title"),$quizHeaderNameWrapper:r()("#quiz-header-name-wrapper"),$quizHeaderName:r()("#quiz-header-name"),$quizHeaderCircle:r()("#quiz-header-circle"),$quizCloseFrame:r()("#quiz-header-close-frame"),$quizMuteSound:r()("#quiz-header-mute-sound"),$quizTitleFrontpageWrapper:r()("#quiz-title-frontpage-wrapper"),$quizFrontpageTitle:r()("#quiz-frontpage-title"),$quizStartButtonWrapper:r()("#quiz-start-button-wrapper"),$quizStartButton:r()("#quiz-start"),$quizStartShortButton:r()("#quiz-start-short"),$usernameSpacer:r()("#user-name-input-spacer"),$usernameInput:r()("#user-name-input"),$quizTaskWrapper:r()("#quiz-task-wrapper"),$quizTaskContent:r()("#quiz-task-content"),$quizTaskButtonWrapper:r()("#quiz-task-button-wrapper"),$quizTaskButton:r()("#quiz-task-button"),$quizTaskEndScreenButtons:r()("#quiz-task-endscreen-buttons"),$socialFooterWrapper:r()("#social-footer-wrapper"),$contactFooterWrapper:r()("#contact-footer-wrapper")}},function(t,e,n){"use strict";var i=n(32),r=n(4),o={registerJQEvent:function(t,e,n){r.a.$body.on(t,e,n)},unregisterJQEvent:function(t,e,n){r.a.$body.off(t,e,n)}};Object(i.c)(o).with(i.a),e.a=o},function(t,e,n){"use strict";var i=n(106),r=n.n(i),o=n(1),a=n.n(o),s=n(32),l=n(86);function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function u(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?c(Object(n),!0).forEach((function(e){r()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var h={load:function(t,e){var n=this;a.a.getJSON(t,(function(t){n.setAll(u(u({},l.a),t)),e()}))}};Object(s.c)(h).with(s.b),e.a=h},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){function n(e){return t.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},t.exports.default=t.exports,t.exports.__esModule=!0,n(e)}t.exports=n,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n(47))},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){function n(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}t.exports=function(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var i=n(12);t.exports=function(t){if(!i(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,n){var i=n(9),r=n(114),o=n(21),a=n(73),s=n(118),l=n(142),c=r("wks"),u=i.Symbol,h=l?u:u&&u.withoutSetter||a;t.exports=function(t){return o(c,t)&&(s||"string"==typeof c[t])||(s&&o(u,t)?c[t]=u[t]:c[t]=h("Symbol."+t)),c[t]}},function(t,e,n){"use strict";var i,r=n(155),o=n(17),a=n(9),s=n(12),l=n(21),c=n(82),u=n(31),h=n(28),f=n(20).f,d=n(43),p=n(66),g=n(14),m=n(73),v=a.Int8Array,y=v&&v.prototype,b=a.Uint8ClampedArray,w=b&&b.prototype,_=v&&d(v),x=y&&d(y),T=Object.prototype,k=T.isPrototypeOf,A=g("toStringTag"),S=m("TYPED_ARRAY_TAG"),C=r&&!!p&&"Opera"!==c(a.opera),P=!1,E={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},O={BigInt64Array:8,BigUint64Array:8},R=function(t){if(!s(t))return!1;var e=c(t);return l(E,e)||l(O,e)};for(i in E)a[i]||(C=!1);if((!C||"function"!=typeof _||_===Function.prototype)&&(_=function(){throw TypeError("Incorrect invocation")},C))for(i in E)a[i]&&p(a[i],_);if((!C||!x||x===T)&&(x=_.prototype,C))for(i in E)a[i]&&p(a[i].prototype,x);if(C&&d(w)!==x&&p(w,x),o&&!l(x,A))for(i in P=!0,f(x,A,{get:function(){return s(this)?this[S]:void 0}}),E)a[i]&&u(a[i],S,i);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:C,TYPED_ARRAY_TAG:P&&S,aTypedArray:function(t){if(R(t))return t;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(t){if(p){if(k.call(_,t))return t}else for(var e in E)if(l(E,i)){var n=a[e];if(n&&(t===n||k.call(n,t)))return t}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(t,e,n){if(o){if(n)for(var i in E){var r=a[i];r&&l(r.prototype,t)&&delete r.prototype[t]}x[t]&&!n||h(x,t,n?e:C&&y[t]||e)}},exportTypedArrayStaticMethod:function(t,e,n){var i,r;if(o){if(p){if(n)for(i in E)(r=a[i])&&l(r,t)&&delete r[t];if(_[t]&&!n)return;try{return h(_,t,n?e:C&&v[t]||e)}catch(t){}}for(i in E)!(r=a[i])||r[t]&&!n||h(r,t,e)}},isView:function(t){if(!s(t))return!1;var e=c(t);return"DataView"===e||l(E,e)||l(O,e)},isTypedArray:R,TypedArray:_,TypedArrayPrototype:x}},function(t,e,n){"use strict";var i=n(1),r=n.n(i),o=n(56),a=n(64),s=n(3),l=n(6),c=n(5),u=[{svgMarkup:n(388),target:".quiz-button .button-before",color:"accent2",type:"img"},{svgMarkup:n(389),target:".quiz-button .button-after",color:"accent2",type:"img"},{svgMarkup:n(390),target:".quiz-button-left .button-before",color:"accent1",type:"img"},{svgMarkup:n(391),target:".quiz-button-left .button-after",color:"accent1",type:"img"},{svgMarkup:n(392),target:"#quiz-title-frontpage-wrapper",color:"accent1",type:"bg"},{svgMarkup:n(393),target:"i.icon.i-user",color:"username",type:"bg"},{svgMarkup:n(134),target:".wrong-icon",color:"disabledText",type:"css"},{svgMarkup:n(105),target:".right-icon",color:"accent3",type:"css"},{svgMarkup:n(134),target:".wrong::after",color:"disabledText",type:"css"},{svgMarkup:n(105),target:".right::after",color:"correct",type:"css"},{svgMarkup:n(134),target:".wrong-black::after",color:"text",type:"css"},{svgMarkup:n(105),target:".right-white::after",color:"white",type:"css"},{svgMarkup:n(105),target:".right-black::after",color:"text",type:"css"},{svgMarkup:n(394),target:".arrow-left::after",color:"accentContrast3",type:"css"},{svgMarkup:n(395),target:".arrow-right::after",color:"accentContrast3",type:"css"},{svgMarkup:n(396),target:".arrow-up::after",color:"accentContrast3",type:"css"},{svgMarkup:n(397),target:".arrow-down::after",color:"accentContrast3",type:"css"},{svgMarkup:n(398),target:"#endscreen-evaluation-image",color:"correct",type:"css"}],h={accent1:[0,52,63],accentContrast1:[255,255,255],accent2:[128,192,16],accentContrast2:[255,255,255],accent3:[0,131,158],accentContrast3:[255,255,255],correct:[128,192,16],correctContrast:[255,255,255],progressInner:[0,131,158],progressSolved:[0,131,158],progressActive:[0,52,63],topIcons:[128,192,16],generalTextContrast:[255,255,255],username:[255,255,255],text:[38,38,38],disabledText:[146,146,146],white:[255,255,255],pdfTitleColor:[128,192,16]},f=n(4),d=n(70),p=globalThis.window,g=new d.a;var m=globalThis.window,v=globalThis.Math,y=function(){u.forEach((function(t){t.color=b.getCssColor(t.color),function(t){var e=t.svgMarkup,n=t.target,i=t.color,o=t.type,a=r()(e),s="";if(a.find(".st0").css("fill",i),s="data:image/svg+xml;charset=utf8,".concat(p.encodeURIComponent(r()("<div />").append(a).html())),"img"===o){var l=r()(n),c=r()("<img />");c.attr("src",s),l.html(c)}else if("bg"===o){var u=r()(n);s='url("'.concat(s,'")'),u.css({backgroundImage:s})}else"css"===o&&g.add(n,{"background-image":'url("'.concat(s,'")')}).compile()}(t)}))},b={scale:1,deviceType:"desktop",init:function(){var t,e,n,i,c,u,h,p,g,m,v,w,_;o.a.on("resize",this.resizeHandler),o.a.triggerResize(),t=a.a.browser.name.toLowerCase(),f.a.$body.addClass(t),e=new d.a,n=b.getCssColor("accent1"),i=b.getCssColor("accentContrast1"),c=b.getCssColor("accent2"),u=b.getCssColor("accentContrast2"),h=b.getCssColor("accent3"),p=b.getCssColor("accentContrast3"),g=b.getCssColor("correct"),m=b.getCssColor("correctContrast"),v=b.getCssColor("generalTextContrast"),e.add(".accent1",{color:n}).add(".accent1-bg",{"background-color":n}).add(".accent1-contrast",{color:i}).add(".accent2",{color:c}).add(".accent2-bg",{"background-color":c}).add(".accent2-contrast",{color:u}).add(".accent3",{color:h}).add(".accent3-bg",{"background-color":h}).add(".accent3-contrast",{color:p}).add(".correct-bg",{"background-color":g}).add(".correct-contrast",{color:m}).add(".text-contrast",{color:v}).add(".username-color",{color:"".concat(b.getCssColor("username")," !important")}).add(".text-color",{color:b.getCssColor("text")}).add(".text-disabled-color",{color:b.getCssColor("disabledText")}).compile(),function(){if(l.a.has("backgroundImageUrl")){var t=l.a.get("backgroundImageUrl");t&&f.a.$quizImageWrapper.css("background-image","url(".concat(t,")"))}}(),l.a.get("enableSocialShare")||f.a.$socialFooterWrapper.hide(),function(){var t=l.a.get("footerLinks");if(t.length){var e=f.a.$contactFooterWrapper;t.forEach((function(t){e.append('<a href="'.concat(t.url,'" target="_blank"><span>').concat(t.name,"</span></a>"))}))}}(),w=l.a.get("logoPath"),f.a.$logo.html('<img src="'.concat(w,'" width="100%">')),r()("meta[property=og\\:image]").attr("content",w),y(),_=b.getCssColor("topIcons",.85),f.a.$quizMuteSound.css("background-color",_),f.a.$quizCloseFrame.css("background-color",_),s.d.to(f.a.$quizImageWrapper[0],1,{opacity:1},"initBG")},getColor:function(t){var e="colorScheme.".concat(t);return l.a.has(e,!0)?l.a.get(e,!0):h[t]},getCssColor:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.getColor(t),i=n.join(",");return null!==e?"rgba(".concat(i,",").concat(e,")"):"rgb(".concat(i,")")},resizeHandler:function(t){var e=1;t.windowWidth>1024?(e=function(t,e){var n=e.windowWidth/1920,i=m.innerHeight/949,r=n<i?n:i;r=2*v.round(1e3*r/2)/1e3,s.d.set(f.a.$quizWrapper[0],{scale:r,transformOrigin:"0 0"});var o=f.a.$quizWrapper[0].getBoundingClientRect().width;return f.a.$quizWrapper.css({marginLeft:"".concat((e.windowWidth-o)/2,"px")}),r}(t.windowWidth,t),f.a.$quizImageWrapper.hasClass("desktop")||(f.a.$quizImageWrapper.addClass("desktop").removeClass("mobile"),b.deviceType="desktop",c.a.fire("deviceChange",{deviceType:b.deviceType}))):(s.d.set(f.a.$quizWrapper[0],{scale:1,transformOrigin:"0 0"}),f.a.$quizWrapper.css({marginLeft:"0px"}),f.a.$quizImageWrapper.hasClass("mobile")||(f.a.$quizImageWrapper.addClass("mobile").removeClass("desktop"),b.deviceType="mobile",c.a.fire("deviceChange",{deviceType:b.deviceType}))),b.scale=e,c.a.fire("scaleChange",{scale:e})}};e.a=b},function(t,e,n){var i=n(7);t.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,n){var i=n(39),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},function(t,e,n){"use strict";var i=n(109),r=n(6),o=n(86),a=n(5),s=n(4),l=null,c=null,u=null,h=!0,f=function(){null!==l&&(h?(l.pause(),l.mute(h)):(l.play(),l.mute(h))),null!==c&&null!==u&&(c.mute(h),u.mute(h)),s.a.$quizMuteSound.toggleClass("muted"),h=!h};e.a={init:function(){var t=r.a.get("audioSet");null!==t.atmoAudio&&(l=new i.Howl({src:[t.atmoAudio.ogg,t.atmoAudio.mp3],autoplay:!0,loop:!0,volume:.2}),r.a.set("atmoAudio",l)),null===t.rightAudio&&(t.rightAudio=o.a.rightAudio),null===t.wrongAudio&&(t.wrongAudio=o.a.wrongAudio),c=new i.Howl({src:[t.rightAudio.ogg,t.rightAudio.mp3],autoplay:!1,loop:!1,volume:.5}),u=new i.Howl({src:[t.wrongAudio.ogg,t.wrongAudio.mp3],autoplay:!1,loop:!1,volume:.5}),a.a.registerJQEvent("click","#quiz-header-mute-sound",f)},muteAtmo:function(){null!==l&&l.mute(!0)},unmuteAtmo:function(){null!==l&&l.mute(!1)},playPositiveFeedback:function(){null!==c&&c.play()},playNegativeFeedback:function(){null!==u&&u.play()}}},function(t,e,n){var i=n(17),r=n(137),o=n(13),a=n(44),s=Object.defineProperty;e.f=i?s:function(t,e,n){if(o(t),e=a(e,!0),o(n),r)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var i=n(30);t.exports=function(t){return Object(i(t))}},function(t,e,n){var i=n(399);function r(e,n,o){return"undefined"!=typeof Reflect&&Reflect.get?(t.exports=r=Reflect.get,t.exports.default=t.exports,t.exports.__esModule=!0):(t.exports=r=function(t,e,n){var r=i(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}},t.exports.default=t.exports,t.exports.__esModule=!0),r(e,n,o||e)}t.exports=r,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,n){var i=n(387);t.exports=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&i(t,e)},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,n){var i=n(27).default,r=n(135);t.exports=function(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?r(t):e},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,n){var i=n(17),r=n(88),o=n(49),a=n(33),s=n(44),l=n(21),c=n(137),u=Object.getOwnPropertyDescriptor;e.f=i?u:function(t,e){if(t=a(t),e=s(e,!0),c)try{return u(t,e)}catch(t){}if(l(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e){function n(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(t.exports=n=function(t){return typeof t},t.exports.default=t.exports,t.exports.__esModule=!0):(t.exports=n=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.default=t.exports,t.exports.__esModule=!0),n(e)}t.exports=n,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,n){var i=n(9),r=n(31),o=n(21),a=n(111),s=n(112),l=n(34),c=l.get,u=l.enforce,h=String(String).split("String");(t.exports=function(t,e,n,s){var l,c=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof e||o(n,"name")||r(n,"name",e),(l=u(n)).source||(l.source=h.join("string"==typeof e?e:""))),t!==i?(c?!d&&t[e]&&(f=!0):delete t[e],f?t[e]=n:r(t,e,n)):f?t[e]=n:a(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||s(this)}))},function(t,e,n){var i=n(52),r=n(72),o=n(22),a=n(18),s=n(78),l=[].push,c=function(t){var e=1==t,n=2==t,c=3==t,u=4==t,h=6==t,f=7==t,d=5==t||h;return function(p,g,m,v){for(var y,b,w=o(p),_=r(w),x=i(g,m,3),T=a(_.length),k=0,A=v||s,S=e?A(p,T):n||f?A(p,0):void 0;T>k;k++)if((d||k in _)&&(b=x(y=_[k],k,w),t))if(e)S[k]=b;else if(b)switch(t){case 3:return!0;case 5:return y;case 6:return k;case 2:l.call(S,y)}else switch(t){case 4:return!1;case 7:l.call(S,y)}return h?-1:c||u?u:S}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterOut:c(7)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var i=n(17),r=n(20),o=n(49);t.exports=i?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){"use strict";n.d(e,"c",(function(){return Q})),n.d(e,"a",(function(){return A})),n.d(e,"b",(function(){return R}));var i=n(27),r=n.n(i),o=n(11),a=n.n(o),s=n(10),l=n.n(s),c=n(106),u=n.n(c),h=n(24),f=n.n(h),d=n(25),p=n.n(d),g=n(8),m=n.n(g);function v(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function y(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?v(Object(n),!0).forEach((function(e){u()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function b(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return w(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return w(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function w(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function _(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=m()(t);if(e){var r=m()(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return p()(this,n)}}var x=function(t,e){return!(!e.hasOwnProperty("_events")||!e._events.hasOwnProperty(t))},T=function(t,e){for(var n=e.length;n--;)t.splice(e[n],1)},k=function(t){return function(t){f()(n,t);var e=_(n);function n(){return l()(this,n),e.apply(this,arguments)}return a()(n,[{key:"on",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t=t.split(" "),this._events=this._events||{},n.event=n.event||{},n.channel&&(n.event.channel=n.channel);var i,r=b(t);try{for(r.s();!(i=r.n()).done;){var o=i.value,a=this._events[o]||(this._events[o]=[]);a.push({handler:e,scope:n.scope,count:n.count||1/0,event:n.event,channel:n.channel,fired:0})}}catch(t){r.e(t)}finally{r.f()}return this}},{key:"once",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.count=1,this.on(t,e,n)}},{key:"off",value:function(t,e){if(x(t,this))if(void 0===e)delete this._events[t];else for(var n=this._events[t],i=n.length;i--;)n[i].handler===e&&n.splice(i,1);return this}},{key:"removeAllEventListeners",value:function(){return console.warn('Please use "removeAllListeners" instead of "removeAllEventListeners".'),this.removeAllListeners()}},{key:"removeAllListeners",value:function(){if(this.hasOwnProperty("_events")){for(var t in this._events)this._events[t].length=0;delete this._events}return this}},{key:"removeListenersByChannel",value:function(t,e){var n=this._events;n&&(e?[e]:Object.keys(n)).forEach((function(e){return function(t,e){if(Array.isArray(t))for(var n=t.length;n--;)t[n].channel===e&&t.splice(n,1)}(n[e],t)}));return this}},{key:"fire",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!x(t,this))return this;e.type=t;for(var n=this._events[t],i=n.slice(0),r=n.length,o=[],a=e.channel,s=0;s<r;s++){var l=i[s];a&&a!==l.channel||(l.handler.call(l.scope||this,y(y({},l.event),e)),l.fired++,l.fired===l.count&&o.push(s))}return T(n,o),this}}]),n}(t)};k.sorting=2;var A=k;function S(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=m()(t);if(e){var r=m()(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return p()(this,n)}}var C=globalThis.Array,P=globalThis.parseInt,E=function(t,e,n){var i,r,o=e.split("."),a=o.length-1;for(r=0;r<=a;r++)if(i=t[C.isArray(t)?P(o[r]):o[r]],r<a&&(t=i,void 0===i))return;return!0===n?[t,o[r-1]]:i},O=function(t){return function(t){f()(n,t);var e=S(n);function n(){var t;l()(this,n);for(var i=arguments.length,r=new C(i),o=0;o<i;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r)))._parameters={},t}return a()(n,[{key:"setAll",value:function(t){"object"!==r()(t)||C.isArray(t)||(this._parameters=t)}},{key:"getAll",value:function(){return this._parameters}},{key:"get",value:function(t,e){return e?E(this._parameters,t):this._parameters[t]}},{key:"getBoolean",value:function(t,e){var n=this.get(t,e);return"true"===n||"on"===n||"1"===n||"false"!==n&&"off"!==n&&"0"!==n&&Boolean(n)}},{key:"getInteger",value:function(t,e){var n,i=this.get(t,e),o=r()(i);return"number"===o?P(i):"string"===o&&!1!==(i=null!==(n=i.match(/[0-9]+/))?parseInt(n[0],10):NaN)?i:NaN}},{key:"getString",value:function(t,e){var n=this.get(t,e);return void 0===n?"":"".concat(n)}},{key:"set",value:function(t,e,n){if(n){var i=E(this._parameters,t,!0);void 0!==i&&(i[0][i[1]]=e)}else this._parameters[t]=e;return this}},{key:"has",value:function(t,e){return e?void 0!==E(this._parameters,t):!!this._parameters.hasOwnProperty(t)}},{key:"remove",value:function(t,e){if(e){var n=E(this._parameters,t,!0);return void 0!==n&&(C.isArray(n[0])?n[0].splice(P(n[1]),1):delete n[0][n[1]]),this}return delete this._parameters[t],this}},{key:"add",value:function(t){if("object"===r()(t)&&!C.isArray(t))for(var e in t)this._parameters[e]=t[e];return this}}]),n}(t)};O.sorting=1;var R=O;function I(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=m()(t);if(e){var r=m()(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return p()(this,n)}}var q=function(t){return function(t){f()(n,t);var e=I(n);function n(){var t;l()(this,n);for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))).resetLoadProgress(),t._fireLoadEvents="function"==typeof t.fire,t}return a()(n,[{key:"addLoad",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return this._load+=t,this}},{key:"completeLoad",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;if(this.getLoadProgress()>=1)return this;this._loaded+=t;var e=this.getLoadProgress();return this._fireLoadEvents&&this.fire("load",{progress:e}),e>=1&&(this._loadComplete=!0,this._fireLoadEvents&&this.fire("loaded")),this}},{key:"resetLoadProgress",value:function(){return this._load=0,this._loaded=0,this._loadComplete=!1,this}},{key:"getLoadProgress",value:function(){return 0===this._load?0:this._loaded/this._load}},{key:"cancelLoading",value:function(){}},{key:"isLoaded",value:function(){return this._loadComplete}}]),n}(t)};q.sorting=3;var M=n(136);function L(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=m()(t);if(e){var r=m()(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return p()(this,n)}}var N=globalThis.setInterval,D=globalThis.clearInterval,F=globalThis.setTimeout,z=globalThis.clearTimeout,B=function(t,e,n){for(var i=e?[e]:Object.keys(t),r=i.length;r--;){var o=i[r],a=t[o];a&&(delete t[o],n(a))}},j=function(t){return function(t){f()(n,t);var e=L(n);function n(){var t;l()(this,n);for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r)))._timerStashes={timeouts:{},intervals:{},frameTimers:{}},t}return a()(n,[{key:"setTimeout",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return this.cancelTimeout(t),this._timerStashes.timeouts[t]=F(e,n),this}},{key:"cancelTimeout",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return B(this._timerStashes.timeouts,t,(function(t){return z(t)})),this}},{key:"setInterval",value:function(t,e,n){return this.cancelInterval(t),this._timerStashes.intervals[t]=N(e,n),this}},{key:"cancelInterval",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return B(this._timerStashes.intervals,t,(function(t){return D(t)})),this}},{key:"setFrameTimer",value:function(t,e){return this.cancelFrameTimer(t),this._timerStashes.frameTimers[t]=M.a.add(e),this}},{key:"cancelFrameTimer",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return B(this._timerStashes.frameTimers,t,(function(t){return M.a.cancel(t)})),this}},{key:"cancelTimers",value:function(){return this.cancelTimeout().cancelInterval().cancelFrameTimer()}}]),n}(t)};j.sorting=4;function H(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return W(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return W(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function W(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var $=[],U=function t(){l()(this,t)},X=function(t,e){var n=function(t,e){var n,i=H($);try{for(i.s();!(n=i.n()).done;){var r=n.value;if(t===r.SuperClass&&e===r.Mixin)return r.Mixed}}catch(t){i.e(t)}finally{i.f()}return null}(t,e);return n||(n=e(t),$.push({SuperClass:t,Mixin:e,Mixed:n})),n},Y=function(t,e){return t.sorting-e.sorting},V=function(){function t(e){l()(this,t),this.SuperClass=e||U}return a()(t,[{key:"with",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.sort(Y),e.reduce((function(t,e){return X(t,e)}),this.SuperClass)}}]),t}(),G=function(){function t(e){l()(this,t),this.object=e,this.classBuilder=new V}return a()(t,[{key:"with",value:function(){var t,e=(t=this.classBuilder).with.apply(t,arguments);Object.setPrototypeOf(this.object,e.prototype);var n=new e;for(var i in n)this.object[i]=n[i];return this.object}}]),t}(),Q=function(t){if("object"===r()(t)){if(Object.getPrototypeOf(t).constructor===Object)return new G(t);throw new TypeError("Can not mix into instances of any other prototype than Object")}return new V(t)}},function(t,e,n){var i=n(72),r=n(30);t.exports=function(t){return i(r(t))}},function(t,e,n){var i,r,o,a=n(138),s=n(9),l=n(12),c=n(31),u=n(21),h=n(113),f=n(89),d=n(74),p=s.WeakMap;if(a){var g=h.state||(h.state=new p),m=g.get,v=g.has,y=g.set;i=function(t,e){return e.facade=t,y.call(g,t,e),e},r=function(t){return m.call(g,t)||{}},o=function(t){return v.call(g,t)}}else{var b=f("state");d[b]=!0,i=function(t,e){return e.facade=t,c(t,b,e),e},r=function(t){return u(t,b)?t[b]:{}},o=function(t){return u(t,b)}}t.exports={set:i,get:r,has:o,enforce:function(t){return o(t)?r(t):i(t,{})},getterFor:function(t){return function(e){var n;if(!l(e)||(n=r(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},function(t,e,n){var i=n(140),r=n(21),o=n(146),a=n(20).f;t.exports=function(t){var e=i.Symbol||(i.Symbol={});r(e,t)||a(e,t,{value:o.f(t)})}},function(t,e,n){var i=n(30),r=/"/g;t.exports=function(t,e,n,o){var a=String(i(t)),s="<"+e;return""!==n&&(s+=" "+n+'="'+String(o).replace(r,"&quot;")+'"'),s+">"+a+"</"+e+">"}},function(t,e,n){var i=n(7);t.exports=function(t){return i((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=globalThis.Math,r=function(t){var e=t.length;if(e)for(var n=e,r=e,o=e;--n;)r=t[o=i.floor(i.random()*(n+1))],t[o]=t[n],t[n]=r;return t}},function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},function(t,e,n){"use strict";var i=n(10),r=n.n(i),o=n(11),a=n.n(o),s=n(1),l=n.n(s),c=n(3),u=n(4),h=n(70),f=n(87),d=function(t,e){var n=new c.c({paused:!0,onComplete:e});return n.add("init").add("play"),"in"===t?n.set(this.$quizTaskQuestionCounter[0],{opacity:0,x:500},"init").set(this.$quizTaskQuestion[0],{opacity:0,x:500},"init").set(u.a.$quizTaskContent[0],{opacity:1},"init").to(this.$quizTaskQuestionCounter[0],.4,{opacity:1,x:0},"play").to(this.$quizTaskQuestion[0],.4,{opacity:1,x:0},"play+=0.2"):n.to(this.$quizTaskQuestionCounter[0],.4,{opacity:0,y:-100},"play+=0.5").to(this.$quizTaskQuestion[0],.4,{opacity:0,y:-100},"play+=0.6"),n},p=function(t){this.$feedbackText.is(t.target)||u.a.$quizTaskButtonWrapper.children().first().trigger("click")},g=function(){function t(e){r()(this,t),this.data=e,this._styles=new h.a,this.showCheckButton=!0}return a()(t,[{key:"destroy",value:function(){this.$quizTaskQuestionCounter.remove(),this.$quizTaskQuestion.remove(),this.$quizTaskMain.remove(),u.a.$quizTaskContent.html("")}},{key:"hasFeedback",value:function(){return this.data.feedback instanceof Object}},{key:"showFeedback",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(this.hasFeedback()&&!this.feedbackIsVisible){this.feedbackIsVisible=!0,this.$feedback=l()('<div class="feedbackWrapper"></div>'),this.$feedbackText=l()('<div class="content">'.concat(this.data.feedback.text,"</div>")).appendTo(this.$feedback),u.a.$quizTaskWrapper.append(this.$feedback);var e=this.$feedback[0],n=this.$feedback.children().first()[0],i=new c.c;t instanceof Function&&i.eventCallback("onComplete",t),i.set(e,{opacity:0,scale:.3}).add("play").to(e,.4,{opacity:1,scale:1},"play").to(n,.2,{opacity:1},"play+=0.1"),this.$feedback.on("click",p.bind(this))}else t instanceof Function&&t();return this}},{key:"hideFeedback",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(this.hasFeedback()&&this.feedbackIsVisible){this.feedbackIsVisible=!1;var n=this.$feedback[0],i=this.$feedback.children().first()[0],r=new c.c;this.$feedback.off("click",p),e instanceof Function&&r.eventCallback("onComplete",e),r.add("play").to(i,.2,{opacity:0},"play").to(n,.4,{opacity:0,scale:.3},"play+=0.1").add((function(){t.$feedback.remove()}))}else e instanceof Function&&e();return this}},{key:"getQuestionText",value:function(){return this.data.text}},{key:"generateHtml",value:function(){return this.$quizTaskQuestionCounter=l()("<div/>",{class:"accent1",attr:{id:"quiz-task-question-counter"},text:"FRAGE ".concat(f.a.getStep())}),this.$quizTaskQuestion=l()("<div/>",{class:"text-color",attr:{id:"quiz-task-question"},text:this.getQuestionText()}),this.$quizTaskMain=l()("<div/>",{class:"text-color",attr:{id:"quiz-task-main"}}),u.a.$quizTaskContent.css("opacity",0).append(this.$quizTaskQuestionCounter,this.$quizTaskQuestion,this.$quizTaskMain),this}},{key:"checkAnswers",value:function(){return{points:0,maxPoints:0}}},{key:"isQuestionSolvedCorrect",value:function(){return!1}},{key:"fadeIn",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return d.call(this,"in",t)}},{key:"fadeOut",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return d.call(this,"out",t)}},{key:"_generateStyles",value:function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=t.length,n=0;n<e;n++){var i=t[n];this._styles.add(i.selector,i.declarations)}this._styles.compile()}}],[{key:"getTypeInstance",value:function(t){return new(n(410)[t.type])(t)}}]),t}();e.a=g},function(t,e,n){var i=n(140),r=n(9),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(i[t])||o(r[t]):i[t]&&i[t][e]||r[t]&&r[t][e]}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,e,n){var i=n(21),r=n(22),o=n(89),a=n(123),s=o("IE_PROTO"),l=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=r(t),i(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?l:null}},function(t,e,n){var i=n(12);t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=!1},function(t,e,n){var i=n(20).f,r=n(21),o=n(14)("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";var i=n(2),r=n(9),o=n(17),a=n(133),s=n(15),l=n(154),c=n(54),u=n(49),h=n(31),f=n(18),d=n(156),p=n(172),g=n(44),m=n(21),v=n(82),y=n(12),b=n(51),w=n(66),_=n(57).f,x=n(173),T=n(29).forEach,k=n(67),A=n(20),S=n(26),C=n(34),P=n(96),E=C.get,O=C.set,R=A.f,I=S.f,q=Math.round,M=r.RangeError,L=l.ArrayBuffer,N=l.DataView,D=s.NATIVE_ARRAY_BUFFER_VIEWS,F=s.TYPED_ARRAY_TAG,z=s.TypedArray,B=s.TypedArrayPrototype,j=s.aTypedArrayConstructor,H=s.isTypedArray,W=function(t,e){for(var n=0,i=e.length,r=new(j(t))(i);i>n;)r[n]=e[n++];return r},$=function(t,e){R(t,e,{get:function(){return E(this)[e]}})},U=function(t){var e;return t instanceof L||"ArrayBuffer"==(e=v(t))||"SharedArrayBuffer"==e},X=function(t,e){return H(t)&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},Y=function(t,e){return X(t,e=g(e,!0))?u(2,t[e]):I(t,e)},V=function(t,e,n){return!(X(t,e=g(e,!0))&&y(n)&&m(n,"value"))||m(n,"get")||m(n,"set")||n.configurable||m(n,"writable")&&!n.writable||m(n,"enumerable")&&!n.enumerable?R(t,e,n):(t[e]=n.value,t)};o?(D||(S.f=Y,A.f=V,$(B,"buffer"),$(B,"byteOffset"),$(B,"byteLength"),$(B,"length")),i({target:"Object",stat:!0,forced:!D},{getOwnPropertyDescriptor:Y,defineProperty:V}),t.exports=function(t,e,n){var o=t.match(/\d+$/)[0]/8,s=t+(n?"Clamped":"")+"Array",l="get"+t,u="set"+t,g=r[s],m=g,v=m&&m.prototype,A={},S=function(t,e){R(t,e,{get:function(){return function(t,e){var n=E(t);return n.view[l](e*o+n.byteOffset,!0)}(this,e)},set:function(t){return function(t,e,i){var r=E(t);n&&(i=(i=q(i))<0?0:i>255?255:255&i),r.view[u](e*o+r.byteOffset,i,!0)}(this,e,t)},enumerable:!0})};D?a&&(m=e((function(t,e,n,i){return c(t,m,s),P(y(e)?U(e)?void 0!==i?new g(e,p(n,o),i):void 0!==n?new g(e,p(n,o)):new g(e):H(e)?W(m,e):x.call(m,e):new g(d(e)),t,m)})),w&&w(m,z),T(_(g),(function(t){t in m||h(m,t,g[t])})),m.prototype=v):(m=e((function(t,e,n,i){c(t,m,s);var r,a,l,u=0,h=0;if(y(e)){if(!U(e))return H(e)?W(m,e):x.call(m,e);r=e,h=p(n,o);var g=e.byteLength;if(void 0===i){if(g%o)throw M("Wrong length");if((a=g-h)<0)throw M("Wrong length")}else if((a=f(i)*o)+h>g)throw M("Wrong length");l=a/o}else l=d(e),r=new L(a=l*o);for(O(t,{buffer:r,byteOffset:h,byteLength:a,length:l,view:new N(r)});u<l;)S(t,u++)})),w&&w(m,z),v=m.prototype=b(B)),v.constructor!==m&&h(v,"constructor",m),F&&h(v,F,s),A[s]=m,i({global:!0,forced:m!=g,sham:!D},A),"BYTES_PER_ELEMENT"in m||h(m,"BYTES_PER_ELEMENT",o),"BYTES_PER_ELEMENT"in v||h(v,"BYTES_PER_ELEMENT",o),k(s)}):t.exports=function(){}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var i,r=n(13),o=n(143),a=n(116),s=n(74),l=n(144),c=n(110),u=n(89),h=u("IE_PROTO"),f=function(){},d=function(t){return"<script>"+t+"<\/script>"},p=function(){try{i=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;p=i?function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e}(i):((e=c("iframe")).style.display="none",l.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(d("document.F=Object")),t.close(),t.F);for(var n=a.length;n--;)delete p.prototype[a[n]];return p()};s[h]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(f.prototype=r(t),n=new f,f.prototype=null,n[h]=t):n=p(),void 0===e?n:o(n,e)}},function(t,e,n){var i=n(42);t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var i=n(14),r=n(51),o=n(20),a=i("unscopables"),s=Array.prototype;null==s[a]&&o.f(s,a,{configurable:!0,value:r(null)}),t.exports=function(t){s[a][t]=!0}},function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(0);
/*!
 * VERSION: 2.1.3
 * DATE: 2019-05-17
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 * 
 * @author: Jack Doyle, jack@greensock.com
 */i._gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],(function(){var t,e,n,r,o=function(){i.TweenPlugin.call(this,"css"),this._overwriteProps.length=0,this.setRatio=o.prototype.setRatio},a=i._gsScope._gsDefine.globals,s={},l=o.prototype=new i.TweenPlugin("css");l.constructor=o,o.version="2.1.3",o.API=2,o.defaultTransformPerspective=0,o.defaultSkewType="compensated",o.defaultSmoothOrigin=!0,l="px",o.suffixMap={top:l,right:l,bottom:l,left:l,width:l,height:l,fontSize:l,padding:l,margin:l,perspective:l,lineHeight:""};var c,u,h,f,d,p,g,m,v=/(?:\-|\.|\b)(\d|\.|e\-)+/g,y=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,b=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,w=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b),?/gi,_=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,x=/(?:\d|\-|\+|=|#|\.)*/g,T=/opacity *= *([^)]*)/i,k=/opacity:([^;]*)/i,A=/alpha\(opacity *=.+?\)/i,S=/^(rgb|hsl)/,C=/([A-Z])/g,P=/-([a-z])/gi,E=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,O=function(t,e){return e.toUpperCase()},R=/(?:Left|Right|Width)/i,I=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,q=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,M=/,(?=[^\)]*(?:\(|$))/gi,L=/[\s,\(]/i,N=Math.PI/180,D=180/Math.PI,F={},z={style:{}},B=i._gsScope.document||{createElement:function(){return z}},j=function(t,e){var n=B.createElementNS?B.createElementNS(e||"http://www.w3.org/1999/xhtml",t):B.createElement(t);return n.style?n:B.createElement(t)},H=j("div"),W=j("img"),$=o._internals={_specialProps:s},U=(i._gsScope.navigator||{}).userAgent||"",X=function(){var t=U.indexOf("Android"),e=j("a");return h=-1!==U.indexOf("Safari")&&-1===U.indexOf("Chrome")&&(-1===t||parseFloat(U.substr(t+8,2))>3),d=h&&parseFloat(U.substr(U.indexOf("Version/")+8,2))<6,f=-1!==U.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(U)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(U))&&(p=parseFloat(RegExp.$1)),!!e&&(e.style.cssText="top:1px;opacity:.55;",/^0.55/.test(e.style.opacity))}(),Y=function(t){return T.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},V=function(t){i._gsScope.console&&console.log(t)},G="",Q="",J=function(t,e){var n,i,r=(e=e||H).style;if(void 0!==r[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),n=["O","Moz","ms","Ms","Webkit"],i=5;--i>-1&&void 0===r[n[i]+t];);return i>=0?(G="-"+(Q=3===i?"ms":n[i]).toLowerCase()+"-",Q+t):null},K="undefined"!=typeof window?window:B.defaultView||{getComputedStyle:function(){}},Z=function(t){return K.getComputedStyle(t)},tt=o.getStyle=function(t,e,n,i,r){var o;return X||"opacity"!==e?(!i&&t.style[e]?o=t.style[e]:(n=n||Z(t))?o=n[e]||n.getPropertyValue(e)||n.getPropertyValue(e.replace(C,"-$1").toLowerCase()):t.currentStyle&&(o=t.currentStyle[e]),null==r||o&&"none"!==o&&"auto"!==o&&"auto auto"!==o?o:r):Y(t)},et=$.convertToPixels=function(t,e,n,r,a){if("px"===r||!r&&"lineHeight"!==e)return n;if("auto"===r||!n)return 0;var s,l,c,u=R.test(e),h=t,f=H.style,d=n<0,p=1===n;if(d&&(n=-n),p&&(n*=100),"lineHeight"!==e||r)if("%"===r&&-1!==e.indexOf("border"))s=n/100*(u?t.clientWidth:t.clientHeight);else{if(f.cssText="border:0 solid red;position:"+tt(t,"position")+";line-height:0;","%"!==r&&h.appendChild&&"v"!==r.charAt(0)&&"rem"!==r)f[u?"borderLeftWidth":"borderTopWidth"]=n+r;else{if(h=t.parentNode||B.body,-1!==tt(h,"display").indexOf("flex")&&(f.position="absolute"),l=h._gsCache,c=i.default.ticker.frame,l&&u&&l.time===c)return l.width*n/100;f[u?"width":"height"]=n+r}h.appendChild(H),s=parseFloat(H[u?"offsetWidth":"offsetHeight"]),h.removeChild(H),u&&"%"===r&&!1!==o.cacheWidths&&((l=h._gsCache=h._gsCache||{}).time=c,l.width=s/n*100),0!==s||a||(s=et(t,e,n,r,!0))}else l=Z(t).lineHeight,t.style.lineHeight=n,s=parseFloat(Z(t).lineHeight),t.style.lineHeight=l;return p&&(s/=100),d?-s:s},nt=$.calculateOffset=function(t,e,n){if("absolute"!==tt(t,"position",n))return 0;var i="left"===e?"Left":"Top",r=tt(t,"margin"+i,n);return t["offset"+i]-(et(t,e,parseFloat(r),r.replace(x,""))||0)},it=function(t,e){var n,i,r,o={};if(e=e||Z(t))if(n=e.length)for(;--n>-1;)-1!==(r=e[n]).indexOf("-transform")&&Mt!==r||(o[r.replace(P,O)]=e.getPropertyValue(r));else for(n in e)-1!==n.indexOf("Transform")&&qt!==n||(o[n]=e[n]);else if(e=t.currentStyle||t.style)for(n in e)"string"==typeof n&&void 0===o[n]&&(o[n.replace(P,O)]=e[n]);return X||(o.opacity=Y(t)),i=Yt(t,e,!1),o.rotation=i.rotation,o.skewX=i.skewX,o.scaleX=i.scaleX,o.scaleY=i.scaleY,o.x=i.x,o.y=i.y,Nt&&(o.z=i.z,o.rotationX=i.rotationX,o.rotationY=i.rotationY,o.scaleZ=i.scaleZ),o.filters&&delete o.filters,o},rt=function(t,e,n,i,r){var o,a,s,l={},c=t.style;for(a in n)"cssText"!==a&&"length"!==a&&isNaN(a)&&(e[a]!==(o=n[a])||r&&r[a])&&-1===a.indexOf("Origin")&&("number"!=typeof o&&"string"!=typeof o||(l[a]="auto"!==o||"left"!==a&&"top"!==a?""!==o&&"auto"!==o&&"none"!==o||"string"!=typeof e[a]||""===e[a].replace(_,"")?o:0:nt(t,a),void 0!==c[a]&&(s=new bt(c,a,c[a],s))));if(i)for(a in i)"className"!==a&&(l[a]=i[a]);return{difs:l,firstMPT:s}},ot={width:["Left","Right"],height:["Top","Bottom"]},at=["marginLeft","marginRight","marginTop","marginBottom"],st=function(t,e,n){if("svg"===(t.nodeName+"").toLowerCase())return(n||Z(t))[e]||0;if(t.getCTM&&$t(t))return t.getBBox()[e]||0;var i=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),r=ot[e],o=r.length;for(n=n||Z(t);--o>-1;)i-=parseFloat(tt(t,"padding"+r[o],n,!0))||0,i-=parseFloat(tt(t,"border"+r[o]+"Width",n,!0))||0;return i},lt=function(t,e){if("contain"===t||"auto"===t||"auto auto"===t)return t+" ";null!=t&&""!==t||(t="0 0");var n,i=t.split(" "),r=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":i[0],o=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":i[1];if(i.length>3&&!e){for(i=t.split(", ").join(",").split(","),t=[],n=0;n<i.length;n++)t.push(lt(i[n]));return t.join(",")}return null==o?o="center"===r?"50%":"0":"center"===o&&(o="50%"),("center"===r||isNaN(parseFloat(r))&&-1===(r+"").indexOf("="))&&(r="50%"),t=r+" "+o+(i.length>2?" "+i[2]:""),e&&(e.oxp=-1!==r.indexOf("%"),e.oyp=-1!==o.indexOf("%"),e.oxr="="===r.charAt(1),e.oyr="="===o.charAt(1),e.ox=parseFloat(r.replace(_,"")),e.oy=parseFloat(o.replace(_,"")),e.v=t),e||t},ct=function(t,e){return"function"==typeof t&&(t=t(m,g)),"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0},ut=function(t,e){"function"==typeof t&&(t=t(m,g));var n="string"==typeof t&&"="===t.charAt(1);return"string"==typeof t&&"v"===t.charAt(t.length-2)&&(t=(n?t.substr(0,2):0)+window["inner"+("vh"===t.substr(-2)?"Height":"Width")]*(parseFloat(n?t.substr(2):t)/100)),null==t?e:n?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0},ht=function(t,e,n,i){var r,o,a,s;return"function"==typeof t&&(t=t(m,g)),null==t?a=e:"number"==typeof t?a=t:(360,r=t.split("_"),o=((s="="===t.charAt(1))?parseInt(t.charAt(0)+"1",10)*parseFloat(r[0].substr(2)):parseFloat(r[0]))*(-1===t.indexOf("rad")?1:D)-(s?0:e),r.length&&(i&&(i[n]=e+o),-1!==t.indexOf("short")&&(o%=360)!==o%180&&(o=o<0?o+360:o-360),-1!==t.indexOf("_cw")&&o<0?o=(o+3599999999640)%360-360*(o/360|0):-1!==t.indexOf("ccw")&&o>0&&(o=(o-3599999999640)%360-360*(o/360|0))),a=e+o),a<1e-6&&a>-1e-6&&(a=0),a},ft={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},dt=function(t,e,n){return 255*(6*(t=t<0?t+1:t>1?t-1:t)<1?e+(n-e)*t*6:t<.5?n:3*t<2?e+(n-e)*(2/3-t)*6:e)+.5|0},pt=o.parseColor=function(t,e){var n,i,r,o,a,s,l,c,u,h,f;if(t)if("number"==typeof t)n=[t>>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),ft[t])n=ft[t];else if("#"===t.charAt(0))4===t.length&&(i=t.charAt(1),r=t.charAt(2),o=t.charAt(3),t="#"+i+i+r+r+o+o),n=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(n=f=t.match(v),e){if(-1!==t.indexOf("="))return t.match(y)}else a=Number(n[0])%360/360,s=Number(n[1])/100,i=2*(l=Number(n[2])/100)-(r=l<=.5?l*(s+1):l+s-l*s),n.length>3&&(n[3]=Number(n[3])),n[0]=dt(a+1/3,i,r),n[1]=dt(a,i,r),n[2]=dt(a-1/3,i,r);else n=t.match(v)||ft.transparent;n[0]=Number(n[0]),n[1]=Number(n[1]),n[2]=Number(n[2]),n.length>3&&(n[3]=Number(n[3]))}else n=ft.black;return e&&!f&&(i=n[0]/255,r=n[1]/255,o=n[2]/255,l=((c=Math.max(i,r,o))+(u=Math.min(i,r,o)))/2,c===u?a=s=0:(h=c-u,s=l>.5?h/(2-c-u):h/(c+u),a=c===i?(r-o)/h+(r<o?6:0):c===r?(o-i)/h+2:(i-r)/h+4,a*=60),n[0]=a+.5|0,n[1]=100*s+.5|0,n[2]=100*l+.5|0),n},gt=function(t,e){var n,i,r,o=t.match(mt)||[],a=0,s="";if(!o.length)return t;for(n=0;n<o.length;n++)i=o[n],a+=(r=t.substr(a,t.indexOf(i,a)-a)).length+i.length,3===(i=pt(i,e)).length&&i.push(1),s+=r+(e?"hsla("+i[0]+","+i[1]+"%,"+i[2]+"%,"+i[3]:"rgba("+i.join(","))+")";return s+t.substr(a)},mt="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(l in ft)mt+="|"+l+"\\b";mt=new RegExp(mt+")","gi"),o.colorStringFilter=function(t){var e,n=t[0]+" "+t[1];mt.test(n)&&(e=-1!==n.indexOf("hsl(")||-1!==n.indexOf("hsla("),t[0]=gt(t[0],e),t[1]=gt(t[1],e)),mt.lastIndex=0},i.default.defaultStringFilter||(i.default.defaultStringFilter=o.colorStringFilter);var vt=function(t,e,n,i){if(null==t)return function(t){return t};var r,o=e?(t.match(mt)||[""])[0]:"",a=t.split(o).join("").match(b)||[],s=t.substr(0,t.indexOf(a[0])),l=")"===t.charAt(t.length-1)?")":"",c=-1!==t.indexOf(" ")?" ":",",u=a.length,h=u>0?a[0].replace(v,""):"";return u?r=e?function(t){var e,f,d,p;if("number"==typeof t)t+=h;else if(i&&M.test(t)){for(p=t.replace(M,"|").split("|"),d=0;d<p.length;d++)p[d]=r(p[d]);return p.join(",")}if(e=(t.match(mt)||[o])[0],d=(f=t.split(e).join("").match(b)||[]).length,u>d--)for(;++d<u;)f[d]=n?f[(d-1)/2|0]:a[d];return s+f.join(c)+c+e+l+(-1!==t.indexOf("inset")?" inset":"")}:function(t){var e,o,f;if("number"==typeof t)t+=h;else if(i&&M.test(t)){for(o=t.replace(M,"|").split("|"),f=0;f<o.length;f++)o[f]=r(o[f]);return o.join(",")}if(f=(e=t.match(","===c?b:w)||[]).length,u>f--)for(;++f<u;)e[f]=n?e[(f-1)/2|0]:a[f];return(s&&"none"!==t&&t.substr(0,t.indexOf(e[0]))||s)+e.join(c)+l}:function(t){return t}},yt=function(t){return t=t.split(","),function(e,n,i,r,o,a,s){var l,c=(n+"").split(" ");for(s={},l=0;l<4;l++)s[t[l]]=c[l]=c[l]||c[(l-1)/2>>0];return r.parse(e,s,o,a)}},bt=($._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,n,i,r,o,a=this.data,s=a.proxy,l=a.firstMPT;l;)e=s[l.v],l.r?e=l.r(e):e<1e-6&&e>-1e-6&&(e=0),l.t[l.p]=e,l=l._next;if(a.autoRotate&&(a.autoRotate.rotation=a.mod?a.mod.call(this._tween,s.rotation,this.t,this._tween):s.rotation),1===t||0===t)for(l=a.firstMPT,o=1===t?"e":"b";l;){if((n=l.t).type){if(1===n.type){for(r=n.xs0+n.s+n.xs1,i=1;i<n.l;i++)r+=n["xn"+i]+n["xs"+(i+1)];n[o]=r}}else n[o]=n.s+n.xs0;l=l._next}},function(t,e,n,i,r){this.t=t,this.p=e,this.v=n,this.r=r,i&&(i._prev=this,this._next=i)}),wt=($._parseToProxy=function(t,e,n,i,r,o){var a,s,l,c,u,h=i,f={},d={},p=n._transform,g=F;for(n._transform=null,F=e,i=u=n.parse(t,e,i,r),F=g,o&&(n._transform=p,h&&(h._prev=null,h._prev&&(h._prev._next=null)));i&&i!==h;){if(i.type<=1&&(d[s=i.p]=i.s+i.c,f[s]=i.s,o||(c=new bt(i,"s",s,c,i.r),i.c=0),1===i.type))for(a=i.l;--a>0;)l="xn"+a,d[s=i.p+"_"+l]=i.data[l],f[s]=i[l],o||(c=new bt(i,l,s,c,i.rxp[l]));i=i._next}return{proxy:f,end:d,firstMPT:c,pt:u}},$.CSSPropTween=function(e,n,i,o,a,s,l,c,u,h,f){this.t=e,this.p=n,this.s=i,this.c=o,this.n=l||n,e instanceof wt||r.push(this.n),this.r=c?"function"==typeof c?c:Math.round:c,this.type=s||0,u&&(this.pr=u,t=!0),this.b=void 0===h?i:h,this.e=void 0===f?i+o:f,a&&(this._next=a,a._prev=this)}),_t=function(t,e,n,i,r,o){var a=new wt(t,e,n,i-n,r,-1,o);return a.b=n,a.e=a.xs0=i,a},xt=o.parseComplex=function(t,e,n,i,r,a,s,l,u,h){n=n||a||"","function"==typeof i&&(i=i(m,g)),s=new wt(t,e,0,0,s,h?2:1,null,!1,l,n,i),i+="",r&&mt.test(i+n)&&(i=[n,i],o.colorStringFilter(i),n=i[0],i=i[1]);var f,d,p,b,w,_,x,T,k,A,S,C,P,E=n.split(", ").join(",").split(" "),O=i.split(", ").join(",").split(" "),R=E.length,I=!1!==c;for(-1===i.indexOf(",")&&-1===n.indexOf(",")||(-1!==(i+n).indexOf("rgb")||-1!==(i+n).indexOf("hsl")?(E=E.join(" ").replace(M,", ").split(" "),O=O.join(" ").replace(M,", ").split(" ")):(E=E.join(" ").split(",").join(", ").split(" "),O=O.join(" ").split(",").join(", ").split(" ")),R=E.length),R!==O.length&&(R=(E=(a||"").split(" ")).length),s.plugin=u,s.setRatio=h,mt.lastIndex=0,f=0;f<R;f++)if(b=E[f],w=O[f]+"",(T=parseFloat(b))||0===T)s.appendXtra("",T,ct(w,T),w.replace(y,""),!(!I||-1===w.indexOf("px"))&&Math.round,!0);else if(r&&mt.test(b))C=")"+((C=w.indexOf(")")+1)?w.substr(C):""),P=-1!==w.indexOf("hsl")&&X,A=w,b=pt(b,P),w=pt(w,P),(k=b.length+w.length>6)&&!X&&0===w[3]?(s["xs"+s.l]+=s.l?" transparent":"transparent",s.e=s.e.split(O[f]).join("transparent")):(X||(k=!1),P?s.appendXtra(A.substr(0,A.indexOf("hsl"))+(k?"hsla(":"hsl("),b[0],ct(w[0],b[0]),",",!1,!0).appendXtra("",b[1],ct(w[1],b[1]),"%,",!1).appendXtra("",b[2],ct(w[2],b[2]),k?"%,":"%"+C,!1):s.appendXtra(A.substr(0,A.indexOf("rgb"))+(k?"rgba(":"rgb("),b[0],w[0]-b[0],",",Math.round,!0).appendXtra("",b[1],w[1]-b[1],",",Math.round).appendXtra("",b[2],w[2]-b[2],k?",":C,Math.round),k&&(b=b.length<4?1:b[3],s.appendXtra("",b,(w.length<4?1:w[3])-b,C,!1))),mt.lastIndex=0;else if(_=b.match(v)){if(!(x=w.match(y))||x.length!==_.length)return s;for(p=0,d=0;d<_.length;d++)S=_[d],A=b.indexOf(S,p),s.appendXtra(b.substr(p,A-p),Number(S),ct(x[d],S),"",!(!I||"px"!==b.substr(A+S.length,2))&&Math.round,0===d),p=A+S.length;s["xs"+s.l]+=b.substr(p)}else s["xs"+s.l]+=s.l||s["xs"+s.l]?" "+w:w;if(-1!==i.indexOf("=")&&s.data){for(C=s.xs0+s.data.s,f=1;f<s.l;f++)C+=s["xs"+f]+s.data["xn"+f];s.e=C+s["xs"+f]}return s.l||(s.type=-1,s.xs0=s.e),s.xfirst||s},Tt=9;for((l=wt.prototype).l=l.pr=0;--Tt>0;)l["xn"+Tt]=0,l["xs"+Tt]="";l.xs0="",l._next=l._prev=l.xfirst=l.data=l.plugin=l.setRatio=l.rxp=null,l.appendXtra=function(t,e,n,i,r,o){var a=this,s=a.l;return a["xs"+s]+=o&&(s||a["xs"+s])?" "+t:t||"",n||0===s||a.plugin?(a.l++,a.type=a.setRatio?2:1,a["xs"+a.l]=i||"",s>0?(a.data["xn"+s]=e+n,a.rxp["xn"+s]=r,a["xn"+s]=e,a.plugin||(a.xfirst=new wt(a,"xn"+s,e,n,a.xfirst||a,0,a.n,r,a.pr),a.xfirst.xs0=0),a):(a.data={s:e+n},a.rxp={},a.s=e,a.c=n,a.r=r,a)):(a["xs"+s]+=e+(i||""),a)};var kt=function(t,e){e=e||{},this.p=e.prefix&&J(t)||t,s[t]=s[this.p]=this,this.format=e.formatter||vt(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.allowFunc=e.allowFunc,this.pr=e.priority||0},At=$._registerComplexSpecialProp=function(t,e,n){"object"!=typeof e&&(e={parser:n});var i,r=t.split(","),o=e.defaultValue;for(n=n||[o],i=0;i<r.length;i++)e.prefix=0===i&&e.prefix,e.defaultValue=n[i]||o,new kt(r[i],e)},St=$._registerPluginProp=function(t){if(!s[t]){var e=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin";At(t,{parser:function(t,n,i,r,o,l,c){var u=a.com.greensock.plugins[e];return u?(u._cssRegister(),s[i].parse(t,n,i,r,o,l,c)):(V("Error: "+e+" js file not loaded."),o)}})}};(l=kt.prototype).parseComplex=function(t,e,n,i,r,o){var a,s,l,c,u,h,f=this.keyword;if(this.multi&&(M.test(n)||M.test(e)?(s=e.replace(M,"|").split("|"),l=n.replace(M,"|").split("|")):f&&(s=[e],l=[n])),l){for(c=l.length>s.length?l.length:s.length,a=0;a<c;a++)e=s[a]=s[a]||this.dflt,n=l[a]=l[a]||this.dflt,f&&(u=e.indexOf(f))!==(h=n.indexOf(f))&&(-1===h?s[a]=s[a].split(f).join(""):-1===u&&(s[a]+=" "+f));e=s.join(", "),n=l.join(", ")}return xt(t,this.p,e,n,this.clrs,this.dflt,i,this.pr,r,o)},l.parse=function(t,e,i,r,o,a,s){return this.parseComplex(t.style,this.format(tt(t,this.p,n,!1,this.dflt)),this.format(e),o,a)},o.registerSpecialProp=function(t,e,n){At(t,{parser:function(t,i,r,o,a,s,l){var c=new wt(t,r,0,0,a,2,r,!1,n);return c.plugin=s,c.setRatio=e(t,i,o._tween,r),c},priority:n})},o.useSVGTransformAttr=!0;var Ct,Pt,Et,Ot,Rt,It="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),qt=J("transform"),Mt=G+"transform",Lt=J("transformOrigin"),Nt=null!==J("perspective"),Dt=$.Transform=function(){this.perspective=parseFloat(o.defaultTransformPerspective)||0,this.force3D=!(!1===o.defaultForce3D||!Nt)&&(o.defaultForce3D||"auto")},Ft=i._gsScope.SVGElement,zt=function(t,e,n){var i,r=B.createElementNS("http://www.w3.org/2000/svg",t),o=/([a-z])([A-Z])/g;for(i in n)r.setAttributeNS(null,i.replace(o,"$1-$2").toLowerCase(),n[i]);return e.appendChild(r),r},Bt=B.documentElement||{},jt=(Rt=p||/Android/i.test(U)&&!i._gsScope.chrome,B.createElementNS&&Bt.appendChild&&!Rt&&(Pt=zt("svg",Bt),Ot=(Et=zt("rect",Pt,{width:100,height:50,x:100})).getBoundingClientRect().width,Et.style[Lt]="50% 50%",Et.style[qt]="scaleX(0.5)",Rt=Ot===Et.getBoundingClientRect().width&&!(f&&Nt),Bt.removeChild(Pt)),Rt),Ht=function(t,e,n,i,r,a){var s,l,c,u,h,f,d,p,g,m,v,y,b,w,_=t._gsTransform,x=Xt(t,!0);_&&(b=_.xOrigin,w=_.yOrigin),(!i||(s=i.split(" ")).length<2)&&(0===(d=t.getBBox()).x&&0===d.y&&d.width+d.height===0&&(d={x:parseFloat(t.hasAttribute("x")?t.getAttribute("x"):t.hasAttribute("cx")?t.getAttribute("cx"):0)||0,y:parseFloat(t.hasAttribute("y")?t.getAttribute("y"):t.hasAttribute("cy")?t.getAttribute("cy"):0)||0,width:0,height:0}),s=[(-1!==(e=lt(e).split(" "))[0].indexOf("%")?parseFloat(e[0])/100*d.width:parseFloat(e[0]))+d.x,(-1!==e[1].indexOf("%")?parseFloat(e[1])/100*d.height:parseFloat(e[1]))+d.y]),n.xOrigin=u=parseFloat(s[0]),n.yOrigin=h=parseFloat(s[1]),i&&x!==Ut&&(f=x[0],d=x[1],p=x[2],g=x[3],m=x[4],v=x[5],(y=f*g-d*p)&&(l=u*(g/y)+h*(-p/y)+(p*v-g*m)/y,c=u*(-d/y)+h*(f/y)-(f*v-d*m)/y,u=n.xOrigin=s[0]=l,h=n.yOrigin=s[1]=c)),_&&(a&&(n.xOffset=_.xOffset,n.yOffset=_.yOffset,_=n),r||!1!==r&&!1!==o.defaultSmoothOrigin?(l=u-b,c=h-w,_.xOffset+=l*x[0]+c*x[2]-l,_.yOffset+=l*x[1]+c*x[3]-c):_.xOffset=_.yOffset=0),a||t.setAttribute("data-svg-origin",s.join(" "))},Wt=function(t){var e,n=j("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,r=this.nextSibling,o=this.style.cssText;if(Bt.appendChild(n),n.appendChild(this),this.style.display="block",t)try{e=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=Wt}catch(t){}else this._originalGetBBox&&(e=this._originalGetBBox());return r?i.insertBefore(this,r):i.appendChild(this),Bt.removeChild(n),this.style.cssText=o,e},$t=function(t){return!(!Ft||!t.getCTM||t.parentNode&&!t.ownerSVGElement||!function(t){try{return t.getBBox()}catch(e){return Wt.call(t,!0)}}(t))},Ut=[1,0,0,1,0,0],Xt=function(t,e){var n,i,r,o,a,s,l,c=t._gsTransform||new Dt,u=t.style;if(qt?i=tt(t,Mt,null,!0):t.currentStyle&&(i=(i=t.currentStyle.filter.match(I))&&4===i.length?[i[0].substr(4),Number(i[2].substr(4)),Number(i[1].substr(4)),i[3].substr(4),c.x||0,c.y||0].join(","):""),n=!i||"none"===i||"matrix(1, 0, 0, 1, 0, 0)"===i,qt&&n&&!t.offsetParent&&t!==Bt&&(o=u.display,u.display="block",(l=t.parentNode)&&t.offsetParent||(a=1,s=t.nextSibling,Bt.appendChild(t)),n=!(i=tt(t,Mt,null,!0))||"none"===i||"matrix(1, 0, 0, 1, 0, 0)"===i,o?u.display=o:Jt(u,"display"),a&&(s?l.insertBefore(t,s):l?l.appendChild(t):Bt.removeChild(t))),(c.svg||t.getCTM&&$t(t))&&(n&&-1!==(u[qt]+"").indexOf("matrix")&&(i=u[qt],n=0),r=t.getAttribute("transform"),n&&r&&(i="matrix("+(r=t.transform.baseVal.consolidate().matrix).a+","+r.b+","+r.c+","+r.d+","+r.e+","+r.f+")",n=0)),n)return Ut;for(r=(i||"").match(v)||[],Tt=r.length;--Tt>-1;)o=Number(r[Tt]),r[Tt]=(a=o-(o|=0))?(1e5*a+(a<0?-.5:.5)|0)/1e5+o:o;return e&&r.length>6?[r[0],r[1],r[4],r[5],r[12],r[13]]:r},Yt=$.getTransform=function(t,e,n,r){if(t._gsTransform&&n&&!r)return t._gsTransform;var a,s,l,c,u,h,f=n&&t._gsTransform||new Dt,d=f.scaleX<0,p=1e5,g=Nt&&(parseFloat(tt(t,Lt,e,!1,"0 0 0").split(" ")[2])||f.zOrigin)||0,m=parseFloat(o.defaultTransformPerspective)||0;if(f.svg=!(!t.getCTM||!$t(t)),f.svg&&(Ht(t,tt(t,Lt,e,!1,"50% 50%")+"",f,t.getAttribute("data-svg-origin")),Ct=o.useSVGTransformAttr||jt),(a=Xt(t))!==Ut){if(16===a.length){var v,y,b,w,_,x=a[0],T=a[1],k=a[2],A=a[3],S=a[4],C=a[5],P=a[6],E=a[7],O=a[8],R=a[9],I=a[10],q=a[12],M=a[13],L=a[14],N=a[11],F=Math.atan2(P,I);f.zOrigin&&(q=O*(L=-f.zOrigin)-a[12],M=R*L-a[13],L=I*L+f.zOrigin-a[14]),f.rotationX=F*D,F&&(v=S*(w=Math.cos(-F))+O*(_=Math.sin(-F)),y=C*w+R*_,b=P*w+I*_,O=S*-_+O*w,R=C*-_+R*w,I=P*-_+I*w,N=E*-_+N*w,S=v,C=y,P=b),F=Math.atan2(-k,I),f.rotationY=F*D,F&&(y=T*(w=Math.cos(-F))-R*(_=Math.sin(-F)),b=k*w-I*_,R=T*_+R*w,I=k*_+I*w,N=A*_+N*w,x=v=x*w-O*_,T=y,k=b),F=Math.atan2(T,x),f.rotation=F*D,F&&(v=x*(w=Math.cos(F))+T*(_=Math.sin(F)),y=S*w+C*_,b=O*w+R*_,T=T*w-x*_,C=C*w-S*_,R=R*w-O*_,x=v,S=y,O=b),f.rotationX&&Math.abs(f.rotationX)+Math.abs(f.rotation)>359.9&&(f.rotationX=f.rotation=0,f.rotationY=180-f.rotationY),F=Math.atan2(S,C),f.scaleX=(Math.sqrt(x*x+T*T+k*k)*p+.5|0)/p,f.scaleY=(Math.sqrt(C*C+P*P)*p+.5|0)/p,f.scaleZ=(Math.sqrt(O*O+R*R+I*I)*p+.5|0)/p,x/=f.scaleX,S/=f.scaleY,T/=f.scaleX,C/=f.scaleY,Math.abs(F)>2e-5?(f.skewX=F*D,S=0,"simple"!==f.skewType&&(f.scaleY*=1/Math.cos(F))):f.skewX=0,f.perspective=N?1/(N<0?-N:N):0,f.x=q,f.y=M,f.z=L,f.svg&&(f.x-=f.xOrigin-(f.xOrigin*x-f.yOrigin*S),f.y-=f.yOrigin-(f.yOrigin*T-f.xOrigin*C))}else if(!Nt||r||!a.length||f.x!==a[4]||f.y!==a[5]||!f.rotationX&&!f.rotationY){var z=a.length>=6,B=z?a[0]:1,j=a[1]||0,H=a[2]||0,W=z?a[3]:1;f.x=a[4]||0,f.y=a[5]||0,l=Math.sqrt(B*B+j*j),c=Math.sqrt(W*W+H*H),u=B||j?Math.atan2(j,B)*D:f.rotation||0,h=H||W?Math.atan2(H,W)*D+u:f.skewX||0,f.scaleX=l,f.scaleY=c,f.rotation=u,f.skewX=h,Nt&&(f.rotationX=f.rotationY=f.z=0,f.perspective=m,f.scaleZ=1),f.svg&&(f.x-=f.xOrigin-(f.xOrigin*B+f.yOrigin*H),f.y-=f.yOrigin-(f.xOrigin*j+f.yOrigin*W))}for(s in Math.abs(f.skewX)>90&&Math.abs(f.skewX)<270&&(d?(f.scaleX*=-1,f.skewX+=f.rotation<=0?180:-180,f.rotation+=f.rotation<=0?180:-180):(f.scaleY*=-1,f.skewX+=f.skewX<=0?180:-180)),f.zOrigin=g,f)f[s]<2e-5&&f[s]>-2e-5&&(f[s]=0)}return n&&(t._gsTransform=f,f.svg&&(Ct&&t.style[qt]?i.default.delayedCall(.001,(function(){Jt(t.style,qt)})):!Ct&&t.getAttribute("transform")&&i.default.delayedCall(.001,(function(){t.removeAttribute("transform")})))),f},Vt=function(t){var e,n,i=this.data,r=-i.rotation*N,o=r+i.skewX*N,a=1e5,s=(Math.cos(r)*i.scaleX*a|0)/a,l=(Math.sin(r)*i.scaleX*a|0)/a,c=(Math.sin(o)*-i.scaleY*a|0)/a,u=(Math.cos(o)*i.scaleY*a|0)/a,h=this.t.style,f=this.t.currentStyle;if(f){n=l,l=-c,c=-n,e=f.filter,h.filter="";var d,g,m=this.t.offsetWidth,v=this.t.offsetHeight,y="absolute"!==f.position,b="progid:DXImageTransform.Microsoft.Matrix(M11="+s+", M12="+l+", M21="+c+", M22="+u,w=i.x+m*i.xPercent/100,_=i.y+v*i.yPercent/100;if(null!=i.ox&&(w+=(d=(i.oxp?m*i.ox*.01:i.ox)-m/2)-(d*s+(g=(i.oyp?v*i.oy*.01:i.oy)-v/2)*l),_+=g-(d*c+g*u)),b+=y?", Dx="+((d=m/2)-(d*s+(g=v/2)*l)+w)+", Dy="+(g-(d*c+g*u)+_)+")":", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?h.filter=e.replace(q,b):h.filter=b+" "+e,0!==t&&1!==t||1===s&&0===l&&0===c&&1===u&&(y&&-1===b.indexOf("Dx=0, Dy=0")||T.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&h.removeAttribute("filter")),!y){var k,A,S,C=p<8?1:-1;for(d=i.ieOffsetX||0,g=i.ieOffsetY||0,i.ieOffsetX=Math.round((m-((s<0?-s:s)*m+(l<0?-l:l)*v))/2+w),i.ieOffsetY=Math.round((v-((u<0?-u:u)*v+(c<0?-c:c)*m))/2+_),Tt=0;Tt<4;Tt++)S=(n=-1!==(k=f[A=at[Tt]]).indexOf("px")?parseFloat(k):et(this.t,A,parseFloat(k),k.replace(x,""))||0)!==i[A]?Tt<2?-i.ieOffsetX:-i.ieOffsetY:Tt<2?d-i.ieOffsetX:g-i.ieOffsetY,h[A]=(i[A]=Math.round(n-S*(0===Tt||2===Tt?1:C)))+"px"}}},Gt=$.set3DTransformRatio=$.setTransformRatio=function(t){var e,n,i,r,o,a,s,l,c,u,h,d,p,g,m,v,y,b,w,_,x,T=this.data,k=this.t.style,A=T.rotation,S=T.rotationX,C=T.rotationY,P=T.scaleX,E=T.scaleY,O=T.scaleZ,R=T.x,I=T.y,q=T.z,M=T.svg,L=T.perspective,D=T.force3D,F=T.skewY,z=T.skewX;if(F&&(z+=F,A+=F),!((1!==t&&0!==t||"auto"!==D||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&D||q||L||C||S||1!==O)||Ct&&M||!Nt)A||z||M?(A*=N,_=z*N,x=1e5,n=Math.cos(A)*P,o=Math.sin(A)*P,i=Math.sin(A-_)*-E,a=Math.cos(A-_)*E,_&&"simple"===T.skewType&&(e=Math.tan(_-F*N),i*=e=Math.sqrt(1+e*e),a*=e,F&&(e=Math.tan(F*N),n*=e=Math.sqrt(1+e*e),o*=e)),M&&(R+=T.xOrigin-(T.xOrigin*n+T.yOrigin*i)+T.xOffset,I+=T.yOrigin-(T.xOrigin*o+T.yOrigin*a)+T.yOffset,Ct&&(T.xPercent||T.yPercent)&&(m=this.t.getBBox(),R+=.01*T.xPercent*m.width,I+=.01*T.yPercent*m.height),R<(m=1e-6)&&R>-m&&(R=0),I<m&&I>-m&&(I=0)),w=(n*x|0)/x+","+(o*x|0)/x+","+(i*x|0)/x+","+(a*x|0)/x+","+R+","+I+")",M&&Ct?this.t.setAttribute("transform","matrix("+w):k[qt]=(T.xPercent||T.yPercent?"translate("+T.xPercent+"%,"+T.yPercent+"%) matrix(":"matrix(")+w):k[qt]=(T.xPercent||T.yPercent?"translate("+T.xPercent+"%,"+T.yPercent+"%) matrix(":"matrix(")+P+",0,0,"+E+","+R+","+I+")";else{if(f&&(P<(m=1e-4)&&P>-m&&(P=O=2e-5),E<m&&E>-m&&(E=O=2e-5),!L||T.z||T.rotationX||T.rotationY||(L=0)),A||z)A*=N,v=n=Math.cos(A),y=o=Math.sin(A),z&&(A-=z*N,v=Math.cos(A),y=Math.sin(A),"simple"===T.skewType&&(e=Math.tan((z-F)*N),v*=e=Math.sqrt(1+e*e),y*=e,T.skewY&&(e=Math.tan(F*N),n*=e=Math.sqrt(1+e*e),o*=e))),i=-y,a=v;else{if(!(C||S||1!==O||L||M))return void(k[qt]=(T.xPercent||T.yPercent?"translate("+T.xPercent+"%,"+T.yPercent+"%) translate3d(":"translate3d(")+R+"px,"+I+"px,"+q+"px)"+(1!==P||1!==E?" scale("+P+","+E+")":""));n=a=1,i=o=0}u=1,r=s=l=c=h=d=0,p=L?-1/L:0,g=T.zOrigin,m=1e-6,",","0",(A=C*N)&&(v=Math.cos(A),l=-(y=Math.sin(A)),h=p*-y,r=n*y,s=o*y,u=v,p*=v,n*=v,o*=v),(A=S*N)&&(e=i*(v=Math.cos(A))+r*(y=Math.sin(A)),b=a*v+s*y,c=u*y,d=p*y,r=i*-y+r*v,s=a*-y+s*v,u*=v,p*=v,i=e,a=b),1!==O&&(r*=O,s*=O,u*=O,p*=O),1!==E&&(i*=E,a*=E,c*=E,d*=E),1!==P&&(n*=P,o*=P,l*=P,h*=P),(g||M)&&(g&&(R+=r*-g,I+=s*-g,q+=u*-g+g),M&&(R+=T.xOrigin-(T.xOrigin*n+T.yOrigin*i)+T.xOffset,I+=T.yOrigin-(T.xOrigin*o+T.yOrigin*a)+T.yOffset),R<m&&R>-m&&(R="0"),I<m&&I>-m&&(I="0"),q<m&&q>-m&&(q=0)),w=T.xPercent||T.yPercent?"translate("+T.xPercent+"%,"+T.yPercent+"%) matrix3d(":"matrix3d(",w+=(n<m&&n>-m?"0":n)+","+(o<m&&o>-m?"0":o)+","+(l<m&&l>-m?"0":l),w+=","+(h<m&&h>-m?"0":h)+","+(i<m&&i>-m?"0":i)+","+(a<m&&a>-m?"0":a),S||C||1!==O?(w+=","+(c<m&&c>-m?"0":c)+","+(d<m&&d>-m?"0":d)+","+(r<m&&r>-m?"0":r),w+=","+(s<m&&s>-m?"0":s)+","+(u<m&&u>-m?"0":u)+","+(p<m&&p>-m?"0":p)+","):w+=",0,0,0,0,1,0,",w+=R+","+I+","+q+","+(L?1+-q/L:1)+")",k[qt]=w}};(l=Dt.prototype).x=l.y=l.z=l.skewX=l.skewY=l.rotation=l.rotationX=l.rotationY=l.zOrigin=l.xPercent=l.yPercent=l.xOffset=l.yOffset=0,l.scaleX=l.scaleY=l.scaleZ=1,At("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(t,e,i,r,a,s,l){if(r._lastParsedTransform===l)return a;r._lastParsedTransform=l;var c=l.scale&&"function"==typeof l.scale?l.scale:0;c&&(l.scale=c(m,t));var u,h,f,d,p,v,y,b,w,_=t._gsTransform,x=t.style,T=It.length,k=l,A={},S=Yt(t,n,!0,k.parseTransform),C=k.transform&&("function"==typeof k.transform?k.transform(m,g):k.transform);if(S.skewType=k.skewType||S.skewType||o.defaultSkewType,r._transform=S,"rotationZ"in k&&(k.rotation=k.rotationZ),C&&"string"==typeof C&&qt)(h=H.style)[qt]=C,h.display="block",h.position="absolute",-1!==C.indexOf("%")&&(h.width=tt(t,"width"),h.height=tt(t,"height")),B.body.appendChild(H),u=Yt(H,null,!1),"simple"===S.skewType&&(u.scaleY*=Math.cos(u.skewX*N)),S.svg&&(v=S.xOrigin,y=S.yOrigin,u.x-=S.xOffset,u.y-=S.yOffset,(k.transformOrigin||k.svgOrigin)&&(C={},Ht(t,lt(k.transformOrigin),C,k.svgOrigin,k.smoothOrigin,!0),v=C.xOrigin,y=C.yOrigin,u.x-=C.xOffset-S.xOffset,u.y-=C.yOffset-S.yOffset),(v||y)&&(b=Xt(H,!0),u.x-=v-(v*b[0]+y*b[2]),u.y-=y-(v*b[1]+y*b[3]))),B.body.removeChild(H),u.perspective||(u.perspective=S.perspective),null!=k.xPercent&&(u.xPercent=ut(k.xPercent,S.xPercent)),null!=k.yPercent&&(u.yPercent=ut(k.yPercent,S.yPercent));else if("object"==typeof k){if(u={scaleX:ut(null!=k.scaleX?k.scaleX:k.scale,S.scaleX),scaleY:ut(null!=k.scaleY?k.scaleY:k.scale,S.scaleY),scaleZ:ut(k.scaleZ,S.scaleZ),x:ut(k.x,S.x),y:ut(k.y,S.y),z:ut(k.z,S.z),xPercent:ut(k.xPercent,S.xPercent),yPercent:ut(k.yPercent,S.yPercent),perspective:ut(k.transformPerspective,S.perspective)},null!=(p=k.directionalRotation))if("object"==typeof p)for(h in p)k[h]=p[h];else k.rotation=p;"string"==typeof k.x&&-1!==k.x.indexOf("%")&&(u.x=0,u.xPercent=ut(k.x,S.xPercent)),"string"==typeof k.y&&-1!==k.y.indexOf("%")&&(u.y=0,u.yPercent=ut(k.y,S.yPercent)),u.rotation=ht("rotation"in k?k.rotation:"shortRotation"in k?k.shortRotation+"_short":S.rotation,S.rotation,"rotation",A),Nt&&(u.rotationX=ht("rotationX"in k?k.rotationX:"shortRotationX"in k?k.shortRotationX+"_short":S.rotationX||0,S.rotationX,"rotationX",A),u.rotationY=ht("rotationY"in k?k.rotationY:"shortRotationY"in k?k.shortRotationY+"_short":S.rotationY||0,S.rotationY,"rotationY",A)),u.skewX=ht(k.skewX,S.skewX),u.skewY=ht(k.skewY,S.skewY)}for(Nt&&null!=k.force3D&&(S.force3D=k.force3D,d=!0),(f=S.force3D||S.z||S.rotationX||S.rotationY||u.z||u.rotationX||u.rotationY||u.perspective)||null==k.scale||(u.scaleZ=1);--T>-1;)((C=u[w=It[T]]-S[w])>1e-6||C<-1e-6||null!=k[w]||null!=F[w])&&(d=!0,a=new wt(S,w,S[w],C,a),w in A&&(a.e=A[w]),a.xs0=0,a.plugin=s,r._overwriteProps.push(a.n));return C="function"==typeof k.transformOrigin?k.transformOrigin(m,g):k.transformOrigin,S.svg&&(C||k.svgOrigin)&&(v=S.xOffset,y=S.yOffset,Ht(t,lt(C),u,k.svgOrigin,k.smoothOrigin),a=_t(S,"xOrigin",(_?S:u).xOrigin,u.xOrigin,a,"transformOrigin"),a=_t(S,"yOrigin",(_?S:u).yOrigin,u.yOrigin,a,"transformOrigin"),v===S.xOffset&&y===S.yOffset||(a=_t(S,"xOffset",_?v:S.xOffset,S.xOffset,a,"transformOrigin"),a=_t(S,"yOffset",_?y:S.yOffset,S.yOffset,a,"transformOrigin")),C="0px 0px"),(C||Nt&&f&&S.zOrigin)&&(qt?(d=!0,w=Lt,C||(C=(C=(tt(t,w,n,!1,"50% 50%")+"").split(" "))[0]+" "+C[1]+" "+S.zOrigin+"px"),C+="",(a=new wt(x,w,0,0,a,-1,"transformOrigin")).b=x[w],a.plugin=s,Nt?(h=S.zOrigin,C=C.split(" "),S.zOrigin=(C.length>2?parseFloat(C[2]):h)||0,a.xs0=a.e=C[0]+" "+(C[1]||"50%")+" 0px",(a=new wt(S,"zOrigin",0,0,a,-1,a.n)).b=h,a.xs0=a.e=S.zOrigin):a.xs0=a.e=C):lt(C+"",S)),d&&(r._transformType=S.svg&&Ct||!f&&3!==this._transformType?2:3),c&&(l.scale=c),a},allowFunc:!0,prefix:!0}),At("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),At("clipPath",{defaultValue:"inset(0%)",prefix:!0,multi:!0,formatter:vt("inset(0% 0% 0% 0%)",!1,!0)}),At("borderRadius",{defaultValue:"0px",parser:function(t,i,r,o,a,s){i=this.format(i);var l,c,u,h,f,d,p,g,m,v,y,b,w,_,x,T,k=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],A=t.style;for(m=parseFloat(t.offsetWidth),v=parseFloat(t.offsetHeight),l=i.split(" "),c=0;c<k.length;c++)this.p.indexOf("border")&&(k[c]=J(k[c])),-1!==(f=h=tt(t,k[c],n,!1,"0px")).indexOf(" ")&&(h=f.split(" "),f=h[0],h=h[1]),d=u=l[c],p=parseFloat(f),b=f.substr((p+"").length),(w="="===d.charAt(1))?(g=parseInt(d.charAt(0)+"1",10),d=d.substr(2),g*=parseFloat(d),y=d.substr((g+"").length-(g<0?1:0))||""):(g=parseFloat(d),y=d.substr((g+"").length)),""===y&&(y=e[r]||b),y!==b&&(_=et(t,"borderLeft",p,b),x=et(t,"borderTop",p,b),"%"===y?(f=_/m*100+"%",h=x/v*100+"%"):"em"===y?(f=_/(T=et(t,"borderLeft",1,"em"))+"em",h=x/T+"em"):(f=_+"px",h=x+"px"),w&&(d=parseFloat(f)+g+y,u=parseFloat(h)+g+y)),a=xt(A,k[c],f+" "+h,d+" "+u,!1,"0px",a);return a},prefix:!0,formatter:vt("0px 0px 0px 0px",!1,!0)}),At("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(t,e,i,r,o,a){return xt(t.style,i,this.format(tt(t,i,n,!1,"0px 0px")),this.format(e),!1,"0px",o)},prefix:!0,formatter:vt("0px 0px",!1,!0)}),At("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,i,r,o,a){var s,l,c,u,h,f,d="background-position",g=n||Z(t),m=this.format((g?p?g.getPropertyValue(d+"-x")+" "+g.getPropertyValue(d+"-y"):g.getPropertyValue(d):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),v=this.format(e);if(-1!==m.indexOf("%")!=(-1!==v.indexOf("%"))&&v.split(",").length<2&&(f=tt(t,"backgroundImage").replace(E,""))&&"none"!==f){for(s=m.split(" "),l=v.split(" "),W.setAttribute("src",f),c=2;--c>-1;)(u=-1!==(m=s[c]).indexOf("%"))!==(-1!==l[c].indexOf("%"))&&(h=0===c?t.offsetWidth-W.width:t.offsetHeight-W.height,s[c]=u?parseFloat(m)/100*h+"px":parseFloat(m)/h*100+"%");m=s.join(" ")}return this.parseComplex(t.style,m,v,o,a)},formatter:lt}),At("backgroundSize",{defaultValue:"0 0",formatter:function(t){return"co"===(t+="").substr(0,2)?t:lt(-1===t.indexOf(" ")?t+" "+t:t)}}),At("perspective",{defaultValue:"0px",prefix:!0}),At("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),At("transformStyle",{prefix:!0}),At("backfaceVisibility",{prefix:!0}),At("userSelect",{prefix:!0}),At("margin",{parser:yt("marginTop,marginRight,marginBottom,marginLeft")}),At("padding",{parser:yt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),At("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,r,o,a){var s,l,c;return p<9?(l=t.currentStyle,c=p<8?" ":",",s="rect("+l.clipTop+c+l.clipRight+c+l.clipBottom+c+l.clipLeft+")",e=this.format(e).split(",").join(c)):(s=this.format(tt(t,this.p,n,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,s,e,o,a)}}),At("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),At("autoRound,strictUnits",{parser:function(t,e,n,i,r){return r}}),At("border",{defaultValue:"0px solid #000",parser:function(t,e,i,r,o,a){var s=tt(t,"borderTopWidth",n,!1,"0px"),l=this.format(e).split(" "),c=l[0].replace(x,"");return"px"!==c&&(s=parseFloat(s)/et(t,"borderTopWidth",1,c)+c),this.parseComplex(t.style,this.format(s+" "+tt(t,"borderTopStyle",n,!1,"solid")+" "+tt(t,"borderTopColor",n,!1,"#000")),l.join(" "),o,a)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(mt)||["#000"])[0]}}),At("borderWidth",{parser:yt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),At("float,cssFloat,styleFloat",{parser:function(t,e,n,i,r,o){var a=t.style,s="cssFloat"in a?"cssFloat":"styleFloat";return new wt(a,s,0,0,r,-1,n,!1,0,a[s],e)}});var Qt=function(t){var e,n=this.t,i=n.filter||tt(this.data,"filter")||"",r=this.s+this.c*t|0;100===r&&(-1===i.indexOf("atrix(")&&-1===i.indexOf("radient(")&&-1===i.indexOf("oader(")?(n.removeAttribute("filter"),e=!tt(this.data,"filter")):(n.filter=i.replace(A,""),e=!0)),e||(this.xn1&&(n.filter=i=i||"alpha(opacity="+r+")"),-1===i.indexOf("pacity")?0===r&&this.xn1||(n.filter=i+" alpha(opacity="+r+")"):n.filter=i.replace(T,"opacity="+r))};At("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,r,o,a){var s=parseFloat(tt(t,"opacity",n,!1,"1")),l=t.style,c="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+s),c&&1===s&&"hidden"===tt(t,"visibility",n)&&0!==e&&(s=0),X?o=new wt(l,"opacity",s,e-s,o):((o=new wt(l,"opacity",100*s,100*(e-s),o)).xn1=c?1:0,l.zoom=1,o.type=2,o.b="alpha(opacity="+o.s+")",o.e="alpha(opacity="+(o.s+o.c)+")",o.data=t,o.plugin=a,o.setRatio=Qt),c&&((o=new wt(l,"visibility",0,0,o,-1,null,!1,0,0!==s?"inherit":"hidden",0===e?"hidden":"inherit")).xs0="inherit",r._overwriteProps.push(o.n),r._overwriteProps.push(i)),o}});var Jt=function(t,e){e&&(t.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),t.removeProperty(e.replace(C,"-$1").toLowerCase())):t.removeAttribute(e))},Kt=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,n=this.t.style;e;)e.v?n[e.p]=e.v:Jt(n,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};At("className",{parser:function(e,i,r,o,a,s,l){var c,u,h,f,d,p=e.getAttribute("class")||"",g=e.style.cssText;if((a=o._classNamePT=new wt(e,r,0,0,a,2)).setRatio=Kt,a.pr=-11,t=!0,a.b=p,u=it(e,n),h=e._gsClassPT){for(f={},d=h.data;d;)f[d.p]=1,d=d._next;h.setRatio(1)}return e._gsClassPT=a,a.e="="!==i.charAt(1)?i:p.replace(new RegExp("(?:\\s|^)"+i.substr(2)+"(?![\\w-])"),"")+("+"===i.charAt(0)?" "+i.substr(2):""),e.setAttribute("class",a.e),c=rt(e,u,it(e),l,f),e.setAttribute("class",p),a.data=c.firstMPT,e.style.cssText!==g&&(e.style.cssText=g),a=a.xfirst=o.parse(e,c.difs,a,s)}});var Zt=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,n,i,r,o,a=this.t.style,l=s.transform.parse;if("all"===this.e)a.cssText="",r=!0;else for(i=(e=this.e.split(" ").join("").split(",")).length;--i>-1;)n=e[i],s[n]&&(s[n].parse===l?r=!0:n="transformOrigin"===n?Lt:s[n].p),Jt(a,n);r&&(Jt(a,qt),(o=this.t._gsTransform)&&(o.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(At("clearProps",{parser:function(e,n,i,r,o){return(o=new wt(e,i,0,0,o,2)).setRatio=Zt,o.e=n,o.pr=-10,o.data=r._tween,t=!0,o}}),l="bezier,throwProps,physicsProps,physics2D".split(","),Tt=l.length;Tt--;)St(l[Tt]);(l=o.prototype)._firstPT=l._lastParsedTransform=l._transform=null,l._onInitTween=function(i,a,l,f){if(!i.nodeType)return!1;this._target=g=i,this._tween=l,this._vars=a,m=f,c=a.autoRound,t=!1,e=a.suffixMap||o.suffixMap,n=Z(i),r=this._overwriteProps;var p,v,y,b,w,_,x,T,A,S=i.style;if(u&&""===S.zIndex&&("auto"!==(p=tt(i,"zIndex",n))&&""!==p||this._addLazySet(S,"zIndex",0)),"string"==typeof a&&(b=S.cssText,p=it(i,n),S.cssText=b+";"+a,p=rt(i,p,it(i)).difs,!X&&k.test(a)&&(p.opacity=parseFloat(RegExp.$1)),a=p,S.cssText=b),a.className?this._firstPT=v=s.className.parse(i,a.className,"className",this,null,null,a):this._firstPT=v=this.parse(i,a,null),this._transformType){for(A=3===this._transformType,qt?h&&(u=!0,""===S.zIndex&&("auto"!==(x=tt(i,"zIndex",n))&&""!==x||this._addLazySet(S,"zIndex",0)),d&&this._addLazySet(S,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(A?"visible":"hidden"))):S.zoom=1,y=v;y&&y._next;)y=y._next;T=new wt(i,"transform",0,0,null,2),this._linkCSSP(T,null,y),T.setRatio=qt?Gt:Vt,T.data=this._transform||Yt(i,n,!0),T.tween=l,T.pr=-1,r.pop()}if(t){for(;v;){for(_=v._next,y=b;y&&y.pr>v.pr;)y=y._next;(v._prev=y?y._prev:w)?v._prev._next=v:b=v,(v._next=y)?y._prev=v:w=v,v=_}this._firstPT=b}return!0},l.parse=function(t,i,r,o){var a,l,u,h,f,d,p,v,y,b,w=t.style;for(a in i){if(d=i[a],l=s[a],"function"!=typeof d||l&&l.allowFunc||(d=d(m,g)),l)r=l.parse(t,d,a,this,r,o,i);else{if("--"===a.substr(0,2)){this._tween._propLookup[a]=this._addTween.call(this._tween,t.style,"setProperty",Z(t).getPropertyValue(a)+"",d+"",a,!1,a);continue}f=tt(t,a,n)+"",y="string"==typeof d,"color"===a||"fill"===a||"stroke"===a||-1!==a.indexOf("Color")||y&&S.test(d)?(y||(d=((d=pt(d)).length>3?"rgba(":"rgb(")+d.join(",")+")"),r=xt(w,a,f,d,!0,"transparent",r,0,o)):y&&L.test(d)?r=xt(w,a,f,d,!0,null,r,0,o):(p=(u=parseFloat(f))||0===u?f.substr((u+"").length):"",""!==f&&"auto"!==f||("width"===a||"height"===a?(u=st(t,a,n),p="px"):"left"===a||"top"===a?(u=nt(t,a,n),p="px"):(u="opacity"!==a?0:1,p="")),(b=y&&"="===d.charAt(1))?(h=parseInt(d.charAt(0)+"1",10),d=d.substr(2),h*=parseFloat(d),v=d.replace(x,"")):(h=parseFloat(d),v=y?d.replace(x,""):""),""===v&&(v=a in e?e[a]:p),d=h||0===h?(b?h+u:h)+v:i[a],p!==v&&(""===v&&"lineHeight"!==a||(h||0===h)&&u&&(u=et(t,a,u,p),"%"===v?(u/=et(t,a,100,"%")/100,!0!==i.strictUnits&&(f=u+"%")):"em"===v||"rem"===v||"vw"===v||"vh"===v?u/=et(t,a,1,v):"px"!==v&&(h=et(t,a,h,v),v="px"),b&&(h||0===h)&&(d=h+u+v))),b&&(h+=u),!u&&0!==u||!h&&0!==h?void 0!==w[a]&&(d||d+""!="NaN"&&null!=d)?(r=new wt(w,a,h||u||0,0,r,-1,a,!1,0,f,d)).xs0="none"!==d||"display"!==a&&-1===a.indexOf("Style")?d:f:V("invalid "+a+" tween value: "+i[a]):(r=new wt(w,a,u,h-u,r,0,a,!1!==c&&("px"===v||"zIndex"===a),0,f,d)).xs0=v)}o&&r&&!r.plugin&&(r.plugin=o)}return r},l.setRatio=function(t){var e,n,i,r=this._firstPT;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;r;){if(e=r.c*t+r.s,r.r?e=r.r(e):e<1e-6&&e>-1e-6&&(e=0),r.type)if(1===r.type)if(2===(i=r.l))r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2;else if(3===i)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3;else if(4===i)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4;else if(5===i)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4+r.xn4+r.xs5;else{for(n=r.xs0+e+r.xs1,i=1;i<r.l;i++)n+=r["xn"+i]+r["xs"+(i+1)];r.t[r.p]=n}else-1===r.type?r.t[r.p]=r.xs0:r.setRatio&&r.setRatio(t);else r.t[r.p]=e+r.xs0;r=r._next}else for(;r;)2!==r.type?r.t[r.p]=r.b:r.setRatio(t),r=r._next;else for(;r;){if(2!==r.type)if(r.r&&-1!==r.type)if(e=r.r(r.s+r.c),r.type){if(1===r.type){for(i=r.l,n=r.xs0+e+r.xs1,i=1;i<r.l;i++)n+=r["xn"+i]+r["xs"+(i+1)];r.t[r.p]=n}}else r.t[r.p]=e+r.xs0;else r.t[r.p]=r.e;else r.setRatio(t);r=r._next}},l._enableTransforms=function(t){this._transform=this._transform||Yt(this._target,n,!0),this._transformType=this._transform.svg&&Ct||!t&&3!==this._transformType?2:3};var te=function(t){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};l._addLazySet=function(t,e,n){var i=this._firstPT=new wt(t,e,0,0,this._firstPT,2);i.e=n,i.setRatio=te,i.data=this},l._linkCSSP=function(t,e,n,i){return t&&(e&&(e._prev=t),t._next&&(t._next._prev=t._prev),t._prev?t._prev._next=t._next:this._firstPT===t&&(this._firstPT=t._next,i=!0),n?n._next=t:i||null!==this._firstPT||(this._firstPT=t),t._next=e,t._prev=n),t},l._mod=function(t){for(var e=this._firstPT;e;)"function"==typeof t[e.p]&&(e.r=t[e.p]),e=e._next},l._kill=function(t){var e,n,r,o=t;if(t.autoAlpha||t.alpha){for(n in o={},t)o[n]=t[n];o.opacity=1,o.autoAlpha&&(o.visibility=1)}for(t.className&&(e=this._classNamePT)&&((r=e.xfirst)&&r._prev?this._linkCSSP(r._prev,e._next,r._prev._prev):r===this._firstPT&&(this._firstPT=e._next),e._next&&this._linkCSSP(e._next,e._next._next,r._prev),this._classNamePT=null),e=this._firstPT;e;)e.plugin&&e.plugin!==n&&e.plugin._kill&&(e.plugin._kill(t),n=e.plugin),e=e._next;return i.TweenPlugin.prototype._kill.call(this,o)};var ee=function(t,e,n){var i,r,o,a;if(t.slice)for(r=t.length;--r>-1;)ee(t[r],e,n);else for(r=(i=t.childNodes).length;--r>-1;)a=(o=i[r]).type,o.style&&(e.push(it(o)),n&&n.push(o)),1!==a&&9!==a&&11!==a||!o.childNodes.length||ee(o,e,n)};return o.cascadeTo=function(t,e,n){var r,o,a,s,l=i.default.to(t,e,n),c=[l],u=[],h=[],f=[],d=i.default._internals.reservedProps;for(t=l._targets||l.target,ee(t,u,f),l.render(e,!0,!0),ee(t,h),l.render(0,!0,!0),l._enabled(!0),r=f.length;--r>-1;)if((o=rt(f[r],u[r],h[r])).firstMPT){for(a in o=o.difs,n)d[a]&&(o[a]=n[a]);for(a in s={},o)s[a]=u[r][a];c.push(i.default.fromTo(f[r],e,s,o))}return c},i.TweenPlugin.activate([o]),o}),!0);var r=i.globals.CSSPlugin},function(t,e,n){"use strict";var i=n(10),r=n.n(i),o=n(11),a=n.n(o),s=n(135),l=n.n(s),c=n(24),u=n.n(c),h=n(25),f=n.n(h),d=n(8),p=n.n(d),g=n(32),m=n(64),v=globalThis.Math,y=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return 0===t?0:(e=v.pow(10,e),v.round(t*e)/e)};function b(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=p()(t);if(e){var r=p()(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return f()(this,n)}}var w=globalThis.window,_=globalThis.document,x=globalThis.Math,T=globalThis.parseInt,k=_.body,A=_.head,S=function(){for(var t=A.children,e=t.length;e--;)if("META"===t[e].tagName&&"viewport"===t[e].getAttribute("name"))return t[e];var n=_.createElement("meta");return n.setAttribute("name","viewport"),n}(),C=!0,P=null,E=null,O=function(){C=!1,w.setTimeout(q.resetViewport.bind(q),1),null!==E&&(w.clearTimeout(E),E=null),E=w.setTimeout((function(){null!==P&&P.call(q),C=!0,R(),E=null}),200)},R=function(t){if(C){var e=void 0===t?"resize":t.type;"orientationchange"!==e||null===P?q.fire("resize",{bodyWidth:q.bodyWidth,windowWidth:q.windowWidth,originalType:e}):O()}},I={getFullScreenSize:function(){var t=w.screen.height,e=w.screen.width;return m.a.mobile.ios&&90===x.abs(w.orientation)&&(t=w.screen.width,e=w.screen.height),{width:e,height:t}},getVisibleScreenSize:function(){var t=k.parentNode,e={body:k.style.height,html:t.style.height};k.style.height="100%",t.style.height="100%";var n={width:w.innerWidth,height:T(w.getComputedStyle(t).height)};k.style.height=e.body,t.style.height=e.html;var i=n.width/n.height;return!n.height||!n.width||m.a.mobile.general&&(i>3||i<.3)?this.getFullScreenSize():n},getScreenOrientation:function(){var t=w.screen.orientation||w.screen.mozOrientation||w.screen.msOrientation;if("string"==typeof t)return 0===t.indexOf("landscape")?"landscape":"portrait";if("function"==typeof w.matchMedia)return w.matchMedia("(orientation: landscape)").matches?"landscape":"portrait";var e=this.getFullScreenSize();return e.width>e.height?"landscape":"portrait"},resizeViewport:function(t){var e=t.siteWidth,n=t.siteHeight,i=t.fullScreen,r=t.upScalable,o=t.saveFrameWidth,a={width:"","initial-scale":""},s="1.0";if("device-width"!==e){var l,c=i?this.getFullScreenSize():this.getVisibleScreenSize();void 0===n?(s=c.width/e,s=y(s,3)):n>c.height||e>c.width||"number"==typeof o?(e>n?(s=c.width/e)*n>=c.height&&(s=c.height/n,"number"==typeof o&&e*s>o&&(s=(l=(c.width+10)/o)<s?s:l)):(s=c.height/n)*e>=c.width&&(s=c.width/e),s=y(s,3)):n<c.height?((s=c.height/n)*e>=c.width&&(s=c.width/e),s=y(s,3)):a.height=n}return a.width=e,a["initial-scale"]=s,void 0!==r&&(a["minimum-scale"]=s,!1===r?(a["maximum-scale"]=s,a["user-scalable"]="no"):a["user-scalable"]="yes",m.a.mobile.android&&(a["user-scalable"]="yes")),m.a.mobile.android&&(a["target-densitydpi"]="device-dpi"),this.setViewportContent(function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:",",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:":",i="";for(var r in t)i+=r+n+t[r].toString()+e;return i.substr(0,i.length-e.length)}(a,", ","=")),s},setViewportContent:function(t){S.setAttribute("content",t),null===S.parentNode&&A.appendChild(S)},resetViewport:function(){this.resizeViewport({siteWidth:"device-width"})},setViewportHandlerOnOrientationChange:function(t){P="function"==typeof t?t:null},createBreakpointController:function(t){var e=[];for(var n in t)e.push({name:n,minWidth:t[n]});return e.sort((function(t,e){return t.minWidth-e.minWidth})),new M(e)},setEnabled:function(t){C=t},triggerResize:function(){R()},hasOverflowY:function(){return _.documentElement.scrollHeight>w.innerHeight},get bodyWidth(){return k.offsetWidth},get windowWidth(){return w.innerWidth}},q=Object(g.c)(I).with(g.a),M=function(t){u()(n,t);var e=b(n);function n(t){var i;return r()(this,n),(i=e.call(this))._viewports=t,i._viewportsLength=t.length,i.currentViewport="",i.viewport="",i._resizeHandler(),i._boundResizeHandler=i._resizeHandler.bind(l()(i)),q.on("resize",i._boundResizeHandler),i}return a()(n,[{key:"_resizeHandler",value:function(){for(var t,e=this._viewportsLength;e--&&(t=this._viewports[e],!(q.windowWidth>=t.minWidth)););if(t.name!==this.viewport){var n=this.viewport;this.currentViewport=t.name,this.viewport=t.name,this.fire("break",{viewport:this.viewport,oldViewport:n})}}},{key:"isViewportAbove",value:function(t,e){for(var n=this._viewportsLength,i=!1,r=0,o=0;o<n;o++){var a=this._viewports[o];if(i&&(r++,this.viewport===a.name))return!e||r;a.name===t&&(i=!0)}return!1}},{key:"isViewportBelow",value:function(t,e){for(var n=this._viewportsLength,i=!1,r=0;n--;){var o=this._viewports[n];if(i&&(r++,this.viewport===o.name))return!e||r;o.name===t&&(i=!0)}return!1}},{key:"destroy",value:function(){this.removeAllListeners(),q.off("resize",this._boundResizeHandler),this._boundResizeHandler=null,this._viewports=null}}]),n}(Object(g.c)().with(g.a));w.addEventListener("resize",R),w.addEventListener("orientationchange",R),w.addEventListener("load",R,{once:!0});e.a=q},function(t,e,n){var i=n(141),r=n(116).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},function(t,e,n){var i=n(39),r=Math.max,o=Math.min;t.exports=function(t,e){var n=i(t);return n<0?r(n+e,0):o(n,e)}},function(t,e,n){var i=n(50),r=n(9);t.exports="process"==i(r.process)},function(t,e,n){"use strict";var i=n(44),r=n(20),o=n(49);t.exports=function(t,e,n){var a=i(e);a in t?r.f(t,a,o(0,n)):t[a]=n}},function(t,e,n){var i=n(74),r=n(12),o=n(21),a=n(20).f,s=n(73),l=n(84),c=s("meta"),u=0,h=Object.isExtensible||function(){return!0},f=function(t){a(t,c,{value:{objectID:"O"+ ++u,weakData:{}}})},d=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,c)){if(!h(t))return"F";if(!e)return"E";f(t)}return t[c].objectID},getWeakData:function(t,e){if(!o(t,c)){if(!h(t))return!0;if(!e)return!1;f(t)}return t[c].weakData},onFreeze:function(t){return l&&d.REQUIRED&&h(t)&&!o(t,c)&&f(t),t}};i[c]=!0},function(t,e,n){var i=n(13),r=n(42),o=n(14)("species");t.exports=function(t,e){var n,a=i(t).constructor;return void 0===a||null==(n=i(a)[o])?e:r(n)}},function(t,e,n){"use strict";(function(t){var i,r=n(32),o={urlPath:(i=t.location.href,-1!==i.lastIndexOf("?")?i=i.substring(0,i.indexOf("?")):-1!==i.lastIndexOf("#")&&(i=i.substring(0,i.indexOf("#"))),"/"!==(i=i.replace(/\/[^/]+\.[^/]{3,4}$/g,"")).charAt(i.length-1)&&(i+="/"),i),parseQueryString:function(e){var n={};return e.replace(/\+/g," ").split("&").forEach((function(e){var i,r=e.split("="),o=t.decodeURIComponent(r[0]),a=n,s=o.split("]["),l=s.length-1;if(/\[/.test(s[0])&&/\]$/.test(s[l])?(s[l]=s[l].replace(/\]$/,""),l=(s=s.shift().split("[").concat(s)).length-1):l=0,2===r.length)if(i=t.decodeURIComponent(r[1]),l)for(var c=0;c<=l;c++)a=a[o=""===s[c]?a.length:s[c]]=c<l?a[o]||(s[c+1]&&isNaN(s[c+1])?{}:[]):i;else Array.isArray(n[o])?n[o].push(i):!{}.hasOwnProperty.call(n,o)?n[o]=i:n[o]=[n[o],i];else o&&(n[o]="")})),n}},a=o.parseQueryString(t.location.search.substring(1)),s=Object(r.c)(o).with(r.b);s.setAll(a),e.a=s}).call(this,n(47))},function(t,e,n){"use strict";var i=n(181),r=n.n(i),o=globalThis.navigator,a=globalThis.parseFloat,s=r()(o.userAgent),l={ie:0,safari:0,firefox:0,chrome:0,edge:0,version:s.browser.version};switch(s.browser.name){case"Chrome":case"Chrome WebView":case"Chromium":l.chrome=a(l.version);break;case"Firefox":l.firefox=a(l.version);break;case"Safari":case"Mobile Safari":l.safari=a(l.version);break;case"IE":case"IEMobile":l.ie=a(l.version);break;case"Edge":l.edge=a(l.version)}var c={general:!1,ios:!1,windows:!1,android:!1};"iOS"===s.os.name||"MacIntel"===o.platform&&o.maxTouchPoints>1?(c.general=!0,c.ios=!0):"Android"===s.os.name?(c.general=!0,c.android=!0):"Windows Phone"===s.os.name||"Windows Mobile"===s.os.name?(c.general=!0,c.windows=!0):("mobile"===s.device.type||"tablet"===s.device.type&&!l.ie)&&(c.general=!0),s.mobile=c,s.client=l,e.a=s},function(t,e,n){var i,r,o=n(9),a=n(91),s=o.process,l=s&&s.versions,c=l&&l.v8;c?r=(i=c.split("."))[0]+i[1]:a&&(!(i=a.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=a.match(/Chrome\/(\d+)/))&&(r=i[1]),t.exports=r&&+r},function(t,e,n){var i=n(13),r=n(153);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,o){return i(n),r(o),e?t.call(n,o):n.__proto__=o,n}}():void 0)},function(t,e,n){"use strict";var i=n(41),r=n(20),o=n(14),a=n(17),s=o("species");t.exports=function(t){var e=i(t),n=r.f;a&&e&&!e[s]&&n(e,s,{configurable:!0,get:function(){return this}})}},function(t,e,n){var i=n(28);t.exports=function(t,e,n){for(var r in e)i(t,r,e[r],n);return t}},function(t,e,n){var i=n(30),r="["+n(98)+"]",o=RegExp("^"+r+r+"*"),a=RegExp(r+r+"*$"),s=function(t){return function(e){var n=String(i(e));return 1&t&&(n=n.replace(o,"")),2&t&&(n=n.replace(a,"")),n}};t.exports={start:s(1),end:s(2),trim:s(3)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var i=n(10),r=n.n(i),o=n(11),a=n.n(o),s=globalThis.document,l=function(){function t(){r()(this,t),this._element=s.createElement("style"),this._element.setAttribute("type","text/css"),this._rules=[]}return a()(t,[{key:"add",value:function(t,e){var n="";return"string"!=typeof t||(n+=t,n+=function(t){var e="{";for(var n in t){var i=t[n];i&&(e+="".concat(n,":"),e+="number"==typeof i?"".concat(i,"px"):i,e+=";")}return"".concat(e,"}")}(e),this._rules.push(n)),this}},{key:"reset",value:function(){return this._rules.length=0,this}},{key:"detach",value:function(){return s.head.removeChild(this._element),this}},{key:"compile",value:function(){return this._element.textContent=this._rules.join("\n"),s.head.appendChild(this._element),this}},{key:"flush",value:function(){return this.compile().reset()}}]),t}()},function(t,e){"object"!=typeof globalThis&&(Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__)},function(t,e,n){var i=n(7),r=n(50),o="".split;t.exports=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==r(t)?o.call(t,""):Object(t)}:Object},function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+i).toString(36)}},function(t,e){t.exports={}},function(t,e,n){var i=n(7),r=/#|\.prototype\./,o=function(t,e){var n=s[a(t)];return n==c||n!=l&&("function"==typeof e?i(e):!!e)},a=o.normalize=function(t){return String(t).replace(r,".").toLowerCase()},s=o.data={},l=o.NATIVE="N",c=o.POLYFILL="P";t.exports=o},function(t,e,n){var i=n(50);t.exports=Array.isArray||function(t){return"Array"==i(t)}},function(t,e,n){var i=n(141),r=n(116);t.exports=Object.keys||function(t){return i(t,r)}},function(t,e,n){var i=n(12),r=n(76),o=n(14)("species");t.exports=function(t,e){var n;return r(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!r(n.prototype)?i(n)&&null===(n=n[o])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},function(t,e,n){var i=n(7),r=n(14),o=n(65),a=r("species");t.exports=function(t){return o>=51||!i((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e){t.exports={}},function(t,e,n){var i=n(82),r=n(80),o=n(14)("iterator");t.exports=function(t){if(null!=t)return t[o]||t["@@iterator"]||r[i(t)]}},function(t,e,n){var i=n(121),r=n(50),o=n(14)("toStringTag"),a="Arguments"==r(function(){return arguments}());t.exports=i?r:function(t){var e,n,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:a?r(e):"Object"==(i=r(e))&&"function"==typeof e.callee?"Arguments":i}},function(t,e,n){"use strict";var i=n(7);t.exports=function(t,e){var n=[][t];return!!n&&i((function(){n.call(null,e||function(){throw 1},1)}))}},function(t,e,n){var i=n(7);t.exports=!i((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(t,e,n){var i=n(13),r=n(120),o=n(18),a=n(52),s=n(81),l=n(150),c=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,n){var u,h,f,d,p,g,m,v=n&&n.that,y=!(!n||!n.AS_ENTRIES),b=!(!n||!n.IS_ITERATOR),w=!(!n||!n.INTERRUPTED),_=a(e,v,1+y+w),x=function(t){return u&&l(u),new c(!0,t)},T=function(t){return y?(i(t),w?_(t[0],t[1],x):_(t[0],t[1])):w?_(t,x):_(t)};if(b)u=t;else{if("function"!=typeof(h=s(t)))throw TypeError("Target is not iterable");if(r(h)){for(f=0,d=o(t.length);d>f;f++)if((p=T(t[f]))&&p instanceof c)return p;return new c(!1)}u=h.call(t)}for(g=u.next;!(m=g.call(u)).done;){try{p=T(m.value)}catch(t){throw l(u),t}if("object"==typeof p&&p&&p instanceof c)return p}return new c(!1)}},function(t,e,n){"use strict";e.a={maxQuestions:20,rightAudio:{ogg:"./res/audios/positive.ogg",mp3:"./res/audios/positive.mp3"},wrongAudio:{ogg:"./res/audios/negative.ogg",mp3:"./res/audios/negative.mp3"},enableSocialShare:!0,socialPostText:"Teste dein Wissen auf klicksafe.de!",footerLinks:[{url:"https://www.klicksafe.de/kontakt/",name:"Kontakt"},{url:"https://www.klicksafe.de/impressum/",name:"Impressum"},{url:"https://www.klicksafe.de/datenschutz/",name:"Datenschutz"}],logoPath:"./res/images/svg/ks-quiz-logo.svg",pdfBackgroundPath:"./res/images/certificate.png",pdfBackgroundThumbPath:"./res/images/certificate_thumb.png",pdfFileName:"Urkunde_Klicksafe_Quiz",pdfQuizName:"klicksafe-Quiz",feedbackButton:"ZUM FEEDBACK"}},function(t,e,n){"use strict";var i=n(3),r=n(108),o=n(56),a=n(40),s=n(4),l=n(5),c=n(6),u=n(16),h=n(10),f=n.n(h),d=n(11),p=n.n(d),g=n(1),m=n.n(g),v=(n(400),globalThis.document),y=globalThis.Math;var b=function(){function t(e,n,i,r){return f()(this,t),this._initVars(e,n,i,r),this._drawProgressChart(),this}return p()(t,[{key:"getMaxElem",value:function(){return this.maxElem}},{key:"getActiveElem",value:function(){return this.activeElem}},{key:"setActiveElem",value:function(t){var e=this.activeElem,n=[[],[]];this.activeElem=t;for(var r=-this.PI/2,o=1/this.maxElem,a=1;a<=this.maxElem;a++){var s=this.baseDoughnutRadius+(a===this.activeElem?this.settings.addRadiusToActive:0),l=o*(2*this.PI)*1,c=r+l,u=(c-r)%(2*this.PI)>this.PI?1:0,h=this.centerX+this.cos(r)*s,f=this.centerY+this.sin(r)*s,d=this.centerX+this.cos(r)*this.cutoutRadius,p=this.centerY+this.sin(r)*this.cutoutRadius,g=this.centerX+this.cos(c)*s,m=this.centerY+this.sin(c)*s,v=this.centerX+this.cos(c)*this.cutoutRadius,y=this.centerY+this.sin(c)*this.cutoutRadius;if(a===e||a===this.activeElem){var b=a===e?0:1,w=[];w=["M",h,f,"A",s,s,0,u,1,g,m,"L",v,y,"A",this.cutoutRadius,this.cutoutRadius,0,u,0,d,p,"Z"],n[b].id=a,n[b].cmd=w,i.d.to(this.$paths[a],.3,{morphSVG:w.join(" ")})}this.$paths[a].attr({fill:a<this.activeElem?this.settings.segmentColorSolved:a===this.activeElem?this.settings.segmentColorActive:this.settings.segmentColorInactive}),r+=l}return this.$questionActiveCounter.html(this.activeElem),this}},{key:"startAnimation",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return t instanceof Function&&this.initAnim.eventCallback("onComplete",t),this.initAnim.play(),this}},{key:"updateDimensions",value:function(){return this.$svg.attr("width","".concat(this.$target.width(),"px")),this.$svg.attr("height","".concat(this.$target.height(),"px")),this}},{key:"_initVars",value:function(t,e,n,r){this.$target=m()(t),this.$svg=null,this.$questionActiveCounter=null,this.$questionMaxCounter=null,this.$paths=null,this.targetW=this.$target.width(),this.targetH=this.$target.height(),this.centerX=this.targetW/2,this.centerY=this.targetH/2,this.cos=y.cos,this.sin=y.sin,this.PI=y.PI,this.maxElem=e,this.activeElem=n,this.doughnutRadius=0,this.baseDoughnutRadius=0,this.cutoutRadius=0,this.baseCutoutRadius=0,this.points=0,this.initAnim=new i.c({paused:!0}),this.settings=m.a.extend({segmentColorSolved:"#ff0000",segmentColorActive:"#00ff00",segmentColorInactive:"#0000ff",segmentShowStroke:!0,segmentStrokeColor:"#FFFFFF",segmentStrokeWidth:1,baseColor:"rgba(255,255,255,1)",baseOffset:4,edgeOffset:12,percentageInnerCutout:75,addRadiusToActive:6,innerColor:"rgba(0,131,158,0.4)",progressTextWrapperClass:"progress-text-wrapper",progressActiveCountClass:"progress-active-count",progressMaxCountClass:"progress-max-count"},r)}},{key:"_drawProgressChart",value:function(){var t;this.$svg=m()('<svg width="'.concat(this.targetW,'" height="').concat(this.targetH,'" viewBox="0 0 ').concat(this.targetW," ").concat(this.targetH,'" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"></svg>')).appendTo(this.$target),this.$paths=[],this.doughnutRadius=(t=[this.targetH/2,this.targetW/2],y.min.apply(null,t)-this.settings.edgeOffset),this.cutoutRadius=this.doughnutRadius*(this.settings.percentageInnerCutout/100),this.baseDoughnutRadius=this.doughnutRadius+this.settings.baseOffset,this.baseCutoutRadius=this.cutoutRadius-this.settings.baseOffset,m()(v.createElementNS("http://www.w3.org/2000/svg","path")).attr({d:this._getHollowCirclePath(this.baseDoughnutRadius,0),fill:this.settings.innerColor}).appendTo(this.$svg),m()(v.createElementNS("http://www.w3.org/2000/svg","path")).attr({d:this._getHollowCirclePath(this.baseDoughnutRadius,this.cutoutRadius),fill:this.settings.baseColor}).appendTo(this.$svg),this.$progressText=m()('<div class="'.concat(this.settings.progressTextWrapperClass,'" />')).appendTo(this.$target),this.$questionActiveCounter=m()('<p class="'.concat(this.settings.progressActiveCountClass,'">').concat(this.activeElem,"</p>")).appendTo(this.$progressText),this.$questionMaxCounter=m()('<p class="'.concat(this.settings.progressMaxCountClass,'">/').concat(this.maxElem,"</p>")).appendTo(this.$progressText);var e=m()(v.createElementNS("http://www.w3.org/2000/svg","g"));e.appendTo(this.$svg);for(var n=-this.PI/2,r=1/this.maxElem,o=1.75/this.maxElem,a="-=".concat(o/2),s=1;s<=this.maxElem;s++){var l=this.$paths[s];l=m()(v.createElementNS("http://www.w3.org/2000/svg","path")).attr({"stroke-width":this.settings.segmentStrokeWidth,stroke:this.settings.segmentStrokeColor,fill:s<this.activeElem?this.settings.segmentColorSolved:s===this.activeElem?this.settings.segmentColorActive:this.settings.segmentColorInactive,"data-order":s}).appendTo(e);var c=r*(2*this.PI)*1,u=n+c,h=(u-n)%(2*this.PI)>this.PI?1:0,f=this.centerX+this.cos(n)*this.baseDoughnutRadius,d=this.centerY+this.sin(n)*this.baseDoughnutRadius,p=this.centerX+this.cos(n)*this.cutoutRadius,g=this.centerY+this.sin(n)*this.cutoutRadius,b=this.centerX+this.cos(u)*this.baseDoughnutRadius,w=this.centerY+this.sin(u)*this.baseDoughnutRadius,_=this.centerX+this.cos(u)*this.cutoutRadius,x=this.centerY+this.sin(u)*this.cutoutRadius,T=[];if(s===this.activeElem){var k=this.baseDoughnutRadius+this.settings.addRadiusToActive;T=["M",f=this.centerX+this.cos(n)*k,d=this.centerY+this.sin(n)*k,"A",k,k,0,h,1,b=this.centerX+this.cos(u)*k,w=this.centerY+this.sin(u)*k,"L",_,x,"A",this.cutoutRadius,this.cutoutRadius,0,h,0,p,g,"Z"]}else T=["M",f,d,"A",this.baseDoughnutRadius,this.baseDoughnutRadius,0,h,1,b,w,"L",_,x,"A",this.cutoutRadius,this.cutoutRadius,0,h,0,p,g,"Z"];l.attr("d",T.join(" ")),i.d.set(l[0],{opacity:1,scale:1,rotation:"0deg",transformOrigin:"50% 50%"}),this.initAnim.from(l[0],o,{ease:i.b.easeOut,opacity:0,scale:2},a),n+=c,this.$paths[s]=l}}},{key:"_getHollowCirclePath",value:function(t,e){var n=this.centerX+this.cos(-1.57)*t,i=this.centerY+this.sin(-1.57)*t,r=this.centerX+this.cos(-1.57)*e,o=this.centerY+this.sin(-1.57)*e,a=["M",n,i,"A",t,t,0,1,1,this.centerX+this.cos(4.7131)*t,this.centerY+this.sin(4.7131)*t,"Z","M",this.centerX+this.cos(4.7131)*e,this.centerY+this.sin(4.7131)*e,"A",e,e,0,1,0,r,o,"Z"];return a=a.join(" ")}}]),t}(),w=globalThis.window,_=(r.a,0),x=0,T=null,k=s.a.$quizTaskButton.children().first().children().eq(1),A=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=new i.c,r=s.a.$quizTaskButtonWrapper[0];t instanceof Function&&n.eventCallback("onComplete",t);var o=e?"block":"none";n.set(r,{x:"-100%",opacity:0,display:o}).to(r,.7,{x:"0%"}).to(r,.1,{opacity:1},"-=0.3")},S=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=new i.c,n=s.a.$quizTaskButtonWrapper[0];t instanceof Function&&e.eventCallback("onComplete",t),e.to(n,.7,{x:"100%"}).to(n,.1,{opacity:0},"-=0.5").set(n,{display:"none"})},C=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=new i.c,n=s.a.$logo[0],r=s.a.$quizHeaderTitleWrapper[0],o=s.a.$quizHeaderNameWrapper[0],a=s.a.$quizHeaderCircle[0],l=s.a.$quizTaskWrapper[0];t instanceof Function&&e.eventCallback("onComplete",t),e.set(r,{scaleX:0,transformOrigin:"0% 0%"}).set(o,{y:"-100%",display:"inline-block"}).set(l,{scaleY:0,display:"block"}).to(n,.5,{className:"+=active"}).set(n,{clearProps:"all"}).add("showHeader").to(r,.2,{opacity:1},"showHeader").to(r,.4,{scaleX:1},"showHeader").to(o,.2,{opacity:1},"showHeader").to(o,.4,{y:"0%"},"showHeader").to(a,.4,{opacity:1,onComplete:function(){F.progressChartInstance.startAnimation()}},"showHeader+=0.4").to(l,.4,{scaleY:1},"showHeader+=0.4")},P=function(){i.d.to(w,.8,{scrollTo:"#quiz-task-wrapper"})},E=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];P(),A((function(){l.a.registerJQEvent("click","#quiz-task-button",t),F.quizTaskButtonHandlerClickable=!0}),e)},O=function t(){return l.a.unregisterJQEvent("click","#quiz-task-button",t),F.questionInstance.hideFeedback((function(){S((function(){P(),F.questionInstance.fadeOut((function(){F.questionInstance.destroy(),l.a.fire("questionScreenFinished")})).play(0)}))})),!1},R=function t(){return F.quizTaskButtonHandlerClickable&&(l.a.unregisterJQEvent("click","#quiz-task-button",t),F.quizTaskButtonHandlerClickable=!1,F.questionInstance.hideFeedback((function(){S((function(){k.html("AUFLÖSEN"),P(),F.questionInstance.fadeOut((function(){F.questionInstance.destroy(),_++,F.progressChartInstance.setActiveElem(_),L()})).play(0)}))}))),!1},I=function(){var t=null;_===x?(k.html("ZUR AUSWERTUNG"),t=O):(k.html("NÄCHSTE FRAGE"),t=R),E(t)},q=function t(){return F.quizTaskButtonHandlerClickable&&(F.quizTaskButtonHandlerClickable=!1,l.a.unregisterJQEvent("click","#quiz-task-button",t),P(),S((function(){F.questionInstance.showFeedback(I)}))),!1},M=function t(){var e=F.questionInstance;if(F.quizTaskButtonHandlerClickable){F.quizTaskButtonHandlerClickable=!1,l.a.unregisterJQEvent("click","#quiz-task-button",t),P();var n=e.checkAnswers();F.userInstance.addPoints(n.points).addMaxPoints(n.maxPoints).addAnsweredQuestion(F.getStep()-1,e.isQuestionSolvedCorrect()),S((function(){F.userInstance.showFeedback()&&e.hasFeedback()?(k.html(c.a.get("feedbackButton")),E(q)):I()}))}return!1},L=function(){var t=_-1;F.questionInstance=a.a.getTypeInstance(T[t]),F.questionInstance.generateHtml().fadeIn((function(){E(M,F.questionInstance.showCheckButton)})).play(0)},N=function(){_=1,k.html("AUFLÖSEN"),T=c.a.get("questions"),L()},D=function(){F.progressChartInstance.updateDimensions()},F={init:function(){this.userInstance=c.a.get("userInstance"),this.quizTaskButtonHandlerClickable=!1,l.a.on("startScreenFadeout",F.initQuestionPageHandler),l.a.on("endScreenRestart",N)},initQuestionPageHandler:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;T=c.a.get("questions"),x=T.length,_=t>x?x:t>0?t:1,c.a.set("progressChartInstance",new b("#quiz-header-circle",x,_,{percentageInnerCutout:88,innerColor:u.a.getCssColor("progressInner",.4),segmentColorSolved:u.a.getCssColor("progressSolved"),segmentColorActive:u.a.getCssColor("progressActive"),segmentColorInactive:"#b9b9b9",segmentStrokeWidth:1})),F.progressChartInstance=c.a.get("progressChartInstance"),o.a.on("resize",D),C((function(){L()}))},getStep:function(){return _}};e.a=F},function(t,e,n){"use strict";var i={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!i.call({1:2},1);e.f=o?function(t){var e=r(this,t);return!!e&&e.enumerable}:i},function(t,e,n){var i=n(114),r=n(73),o=i("keys");t.exports=function(t){return o[t]||(o[t]=r(t))}},function(t,e,n){var i=n(33),r=n(18),o=n(58),a=function(t){return function(e,n,a){var s,l=i(e),c=r(l.length),u=o(a,c);if(t&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===n)return t||u||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},function(t,e,n){var i=n(41);t.exports=i("navigator","userAgent")||""},function(t,e,n){var i=n(14)("iterator"),r=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){r=!0}};a[i]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!r)return!1;var n=!1;try{var o={};o[i]=function(){return{next:function(){return{done:n=!0}}}},t(o)}catch(t){}return n}},function(t,e,n){"use strict";var i=n(33),r=n(53),o=n(80),a=n(34),s=n(122),l=a.set,c=a.getterFor("Array Iterator");t.exports=s(Array,"Array",(function(t,e){l(this,{type:"Array Iterator",target:i(t),index:0,kind:e})}),(function(){var t=c(this),e=t.target,n=t.kind,i=t.index++;return!e||i>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:e[i],done:!1}:{value:[i,e[i]],done:!1}}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,e,n){var i=n(42),r=n(22),o=n(72),a=n(18),s=function(t){return function(e,n,s,l){i(n);var c=r(e),u=o(c),h=a(c.length),f=t?h-1:0,d=t?-1:1;if(s<2)for(;;){if(f in u){l=u[f],f+=d;break}if(f+=d,t?f<0:h<=f)throw TypeError("Reduce of empty array with no initial value")}for(;t?f>=0:h>f;f+=d)f in u&&(l=n(l,u[f],f,c));return l}};t.exports={left:s(!1),right:s(!0)}},function(t,e,n){"use strict";var i=n(2),r=n(9),o=n(75),a=n(28),s=n(61),l=n(85),c=n(54),u=n(12),h=n(7),f=n(92),d=n(46),p=n(96);t.exports=function(t,e,n){var g=-1!==t.indexOf("Map"),m=-1!==t.indexOf("Weak"),v=g?"set":"add",y=r[t],b=y&&y.prototype,w=y,_={},x=function(t){var e=b[t];a(b,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(m&&!u(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return m&&!u(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(m&&!u(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(o(t,"function"!=typeof y||!(m||b.forEach&&!h((function(){(new y).entries().next()})))))w=n.getConstructor(e,t,g,v),s.REQUIRED=!0;else if(o(t,!0)){var T=new w,k=T[v](m?{}:-0,1)!=T,A=h((function(){T.has(1)})),S=f((function(t){new y(t)})),C=!m&&h((function(){for(var t=new y,e=5;e--;)t[v](e,e);return!t.has(-0)}));S||((w=e((function(e,n){c(e,w,t);var i=p(new y,e,w);return null!=n&&l(n,i[v],{that:i,AS_ENTRIES:g}),i}))).prototype=b,b.constructor=w),(A||C)&&(x("delete"),x("has"),g&&x("get")),(C||k)&&x(v),m&&b.clear&&delete b.clear}return _[t]=w,i({global:!0,forced:w!=y},_),d(w,t),m||n.setStrong(w,t,g),w}},function(t,e,n){var i=n(12),r=n(66);t.exports=function(t,e,n){var o,a;return r&&"function"==typeof(o=e.constructor)&&o!==n&&i(a=o.prototype)&&a!==n.prototype&&r(t,a),t}},function(t,e){var n=Math.expm1,i=Math.exp;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:i(t)-1}:n},function(t,e){t.exports="\t\n\v\f\r                　\u2028\u2029\ufeff"},function(t,e,n){"use strict";var i=n(45),r=n(9),o=n(7);t.exports=i||!o((function(){var t=Math.random();__defineSetter__.call(null,t,(function(){})),delete r[t]}))},function(t,e,n){"use strict";var i=n(13);t.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){"use strict";var i,r,o=n(100),a=n(128),s=RegExp.prototype.exec,l=String.prototype.replace,c=s,u=(i=/a/,r=/b*/g,s.call(i,"a"),s.call(r,"a"),0!==i.lastIndex||0!==r.lastIndex),h=a.UNSUPPORTED_Y||a.BROKEN_CARET,f=void 0!==/()??/.exec("")[1];(u||f||h)&&(c=function(t){var e,n,i,r,a=this,c=h&&a.sticky,d=o.call(a),p=a.source,g=0,m=t;return c&&(-1===(d=d.replace("y","")).indexOf("g")&&(d+="g"),m=String(t).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==t[a.lastIndex-1])&&(p="(?: "+p+")",m=" "+m,g++),n=new RegExp("^(?:"+p+")",d)),f&&(n=new RegExp("^"+p+"$(?!\\s)",d)),u&&(e=a.lastIndex),i=s.call(c?n:a,m),c?i?(i.input=i.input.slice(g),i[0]=i[0].slice(g),i.index=a.lastIndex,a.lastIndex+=i[0].length):a.lastIndex=0:u&&i&&(a.lastIndex=a.global?i.index+i[0].length:e),f&&i&&i.length>1&&l.call(i[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)})),i}),t.exports=c},function(t,e,n){var i=n(39),r=n(30),o=function(t){return function(e,n){var o,a,s=String(r(e)),l=i(n),c=s.length;return l<0||l>=c?t?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?t?s.charAt(l):o:t?s.slice(l,l+2):a-56320+(o-55296<<10)+65536}};t.exports={codeAt:o(!1),charAt:o(!0)}},function(t,e,n){"use strict";n(168);var i=n(28),r=n(7),o=n(14),a=n(101),s=n(31),l=o("species"),c=!r((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),u="$0"==="a".replace(/./,"$0"),h=o("replace"),f=!!/./[h]&&""===/./[h]("a","$0"),d=!r((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));t.exports=function(t,e,n,h){var p=o(t),g=!r((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),m=g&&!r((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags="",n[p]=/./[p]),n.exec=function(){return e=!0,null},n[p](""),!e}));if(!g||!m||"replace"===t&&(!c||!u||f)||"split"===t&&!d){var v=/./[p],y=n(p,""[t],(function(t,e,n,i,r){return e.exec===a?g&&!r?{done:!0,value:v.call(e,n,i)}:{done:!0,value:t.call(n,e,i)}:{done:!1}}),{REPLACE_KEEPS_$0:u,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:f}),b=y[0],w=y[1];i(String.prototype,t,b),i(RegExp.prototype,p,2==e?function(t,e){return w.call(t,this,e)}:function(t){return w.call(t,this)})}h&&s(RegExp.prototype[p],"sham",!0)}},function(t,e,n){var i=n(50),r=n(101);t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var o=n.call(t,e);if("object"!=typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==i(t))throw TypeError("RegExp#exec called on incompatible receiver");return r.call(t,e)}},function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 39.14 30"><title>icn-right</title><path class="st0" d="M38.44,4.14,35,.71a2.43,2.43,0,0,0-3.43,0L15,17.3,7.58,9.85a2.37,2.37,0,0,0-1.72-.71,2.36,2.36,0,0,0-1.72.71L.71,13.28a2.44,2.44,0,0,0,0,3.44l9.14,9.14,3.43,3.43a2.44,2.44,0,0,0,3.44,0l3.43-3.43L38.44,7.58a2.36,2.36,0,0,0,.7-1.72,2.35,2.35,0,0,0-.7-1.72Z" style="fill:#fff"></path></svg>'},function(t,e){t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,n){(function(e){"object"==typeof navigator&&(t.exports=function(){"use strict";var t=function(t){return null!=t?t.constructor:null},n=function(t,e){return Boolean(t&&e&&t instanceof e)},i=function(t){return null==t},r=function(e){return t(e)===Object},o=function(e){return t(e)===String},a=function(t){return Array.isArray(t)},s=function(t){return n(t,NodeList)},l=function(t){return i(t)||(o(t)||a(t)||s(t))&&!t.length||r(t)&&!Object.keys(t).length},c={nullOrUndefined:i,object:r,number:function(e){return t(e)===Number&&!Number.isNaN(e)},string:o,boolean:function(e){return t(e)===Boolean},function:function(e){return t(e)===Function},array:a,weakMap:function(t){return n(t,WeakMap)},nodeList:s,element:function(t){return n(t,Element)},textNode:function(e){return t(e)===Text},event:function(t){return n(t,Event)},cue:function(t){return n(t,window.TextTrackCue)||n(t,window.VTTCue)},track:function(t){return n(t,TextTrack)||!i(t)&&o(t.kind)},url:function(t){if(n(t,window.URL))return!0;var e=t;t.startsWith("http://")&&t.startsWith("https://")||(e="http://"+t);try{return!l(new URL(e).hostname)}catch(t){return!1}},empty:l},u=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){return t=!0,null}});window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(t){}return t}();function h(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=this,o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(t&&"addEventListener"in t&&!c.empty(e)&&c.function(n)){var s=e.split(" "),l=a;u&&(l={passive:o,capture:a}),s.forEach((function(e){r&&r.eventListeners&&i&&r.eventListeners.push({element:t,type:e,callback:n,options:l}),t[i?"addEventListener":"removeEventListener"](e,n,l)}))}}function f(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments[2],i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];h.call(this,t,e,n,!0,i,r)}function d(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments[2],i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];h.call(this,t,e,n,!1,i,r)}function p(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments[2],i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];h.call(this,t,e,(function o(){d(t,e,o,i,r);for(var a=arguments.length,s=Array(a),l=0;l<a;l++)s[l]=arguments[l];n.apply(this,s)}),!0,i,r)}function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(c.element(t)&&!c.empty(e)){var r=new CustomEvent(e,{bubbles:n,detail:Object.assign({},i,{plyr:this})});t.dispatchEvent(r)}}var m=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},v=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),y=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},b=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);i=!0);}catch(t){r=!0,o=t}finally{try{!i&&s.return&&s.return()}finally{if(r)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function w(t,e){var n=t.length?t:[t];Array.from(n).reverse().forEach((function(t,n){var i=n>0?e.cloneNode(!0):e,r=t.parentNode,o=t.nextSibling;i.appendChild(t),o?r.insertBefore(i,o):r.appendChild(i)}))}function _(t,e){c.element(t)&&!c.empty(e)&&Object.entries(e).filter((function(t){var e=b(t,2)[1];return!c.nullOrUndefined(e)})).forEach((function(e){var n=b(e,2),i=n[0],r=n[1];return t.setAttribute(i,r)}))}function x(t,e,n){var i=document.createElement(t);return c.object(e)&&_(i,e),c.string(n)&&(i.innerText=n),i}function T(t,e,n,i){e.appendChild(x(t,n,i))}function k(t){c.nodeList(t)||c.array(t)?Array.from(t).forEach(k):c.element(t)&&c.element(t.parentNode)&&t.parentNode.removeChild(t)}function A(t){for(var e=t.childNodes.length;e>0;)t.removeChild(t.lastChild),e-=1}function S(t,e){return c.element(e)&&c.element(e.parentNode)&&c.element(t)?(e.parentNode.replaceChild(t,e),t):null}function C(t,e){if(!c.string(t)||c.empty(t))return{};var n={},i=e;return t.split(",").forEach((function(t){var e=t.trim(),r=e.replace(".",""),o=e.replace(/[[\]]/g,"").split("="),a=o[0],s=o.length>1?o[1].replace(/["']/g,""):"";switch(e.charAt(0)){case".":c.object(i)&&c.string(i.class)&&(i.class+=" "+r),n.class=r;break;case"#":n.id=e.replace("#","");break;case"[":n[a]=s}})),n}function P(t,e){if(c.element(t)){var n=e;c.boolean(n)||(n=!t.hasAttribute("hidden")),n?t.setAttribute("hidden",""):t.removeAttribute("hidden")}}function E(t,e,n){if(c.element(t)){var i="toggle";return void 0!==n&&(i=n?"add":"remove"),t.classList[i](e),t.classList.contains(e)}return null}function O(t,e){return c.element(t)&&t.classList.contains(e)}function R(t,e){var n={Element:Element};return(n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector||function(){return Array.from(document.querySelectorAll(e)).includes(this)}).call(t,e)}function I(t){return this.elements.container.querySelectorAll(t)}function q(t){return this.elements.container.querySelector(t)}function M(){var t=document.activeElement;return t&&t!==document.body?document.querySelector(":focus"):null}var L,N,D,F,z=(L=document.createElement("span"),N={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},D=Object.keys(N).find((function(t){return void 0!==L.style[t]})),!!c.string(D)&&N[D]),B={isIE:!!document.documentMode,isWebkit:"WebkitAppearance"in document.documentElement.style&&!/Edge/.test(navigator.userAgent),isIPhone:/(iPhone|iPod)/gi.test(navigator.platform),isIos:/(iPad|iPhone|iPod)/gi.test(navigator.platform)},j={"audio/ogg":"vorbis","audio/wav":"1","video/webm":"vp8, vorbis","video/mp4":"avc1.42E01E, mp4a.40.2","video/ogg":"theora"},H={audio:"canPlayType"in document.createElement("audio"),video:"canPlayType"in document.createElement("video"),check:function(t,e,n){var i=B.isIPhone&&n&&H.playsinline,r=H[t]||"html5"!==e;return{api:r,ui:r&&H.rangeInput&&("video"!==t||!B.isIPhone||i)}},pip:!B.isIPhone&&c.function(x("video").webkitSetPresentationMode),airplay:c.function(window.WebKitPlaybackTargetAvailabilityEvent),playsinline:"playsInline"in document.createElement("video"),mime:function(t){var e=t.split("/"),n=b(e,1)[0];if(!this.isHTML5||n!==this.type)return!1;var i=void 0;t&&t.includes("codecs=")?i=t:"audio/mpeg"===t?i="audio/mpeg;":t in j&&(i=t+'; codecs="'+j[t]+'"');try{return Boolean(i&&this.media.canPlayType(i).replace(/no/,""))}catch(t){return!1}},textTracks:"textTracks"in document.createElement("video"),rangeInput:(F=document.createElement("input"),F.type="range","range"===F.type),touch:"ontouchstart"in document.documentElement,transitions:!1!==z,reducedMotion:"matchMedia"in window&&window.matchMedia("(prefers-reduced-motion)").matches},W={getSources:function(){var t=this;return this.isHTML5?Array.from(this.media.querySelectorAll("source")).filter((function(e){return H.mime.call(t,e.getAttribute("type"))})):[]},getQualityOptions:function(){return W.getSources.call(this).map((function(t){return Number(t.getAttribute("size"))})).filter(Boolean)},extend:function(){if(this.isHTML5){var t=this;Object.defineProperty(t.media,"quality",{get:function(){var e=W.getSources.call(t).find((function(e){return e.getAttribute("src")===t.source}));return e&&Number(e.getAttribute("size"))},set:function(e){var n=W.getSources.call(t).find((function(t){return Number(t.getAttribute("size"))===e}));if(n){var i=t.media,r=i.currentTime,o=i.paused,a=i.preload,s=i.readyState;t.media.src=n.getAttribute("src"),("none"!==a||s)&&(t.once("loadedmetadata",(function(){t.currentTime=r,o||t.play()})),t.media.load()),g.call(t,t.media,"qualitychange",!1,{quality:e})}}})}},cancelRequests:function(){this.isHTML5&&(k(W.getSources.call(this)),this.media.setAttribute("src",this.config.blankVideo),this.media.load(),this.debug.log("Cancelled network requests"))}};function $(t,e){return e.split(".").reduce((function(t,e){return t&&t[e]}),t)}function U(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length,n=Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];if(!n.length)return t;var r=n.shift();return c.object(r)?(Object.keys(r).forEach((function(e){c.object(r[e])?(Object.keys(t).includes(e)||Object.assign(t,y({},e,{})),U(t[e],r[e])):Object.assign(t,y({},e,r[e]))})),U.apply(void 0,[t].concat(n))):t}function X(t){for(var e=arguments.length,n=Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return c.empty(t)?t:t.toString().replace(/{(\d+)}/g,(function(t,e){return n[e].toString()}))}function Y(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return t.replace(new RegExp(e.toString().replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1"),"g"),n.toString())}function V(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toString().replace(/\w\S*/g,(function(t){return t.charAt(0).toUpperCase()+t.substr(1).toLowerCase()}))}function G(t){var e=document.createElement("div");return e.appendChild(t),e.innerHTML}var Q=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(c.empty(t)||c.empty(e))return"";var n=$(e.i18n,t);if(c.empty(n))return"";var i={"{seektime}":e.seekTime,"{title}":e.title};return Object.entries(i).forEach((function(t){var e=b(t,2),i=e[0],r=e[1];n=Y(n,i,r)})),n};function J(t){return c.array(t)?t.filter((function(e,n){return t.indexOf(e)===n})):t}var K=function(){function t(e){m(this,t),this.enabled=e.config.storage.enabled,this.key=e.config.storage.key}return v(t,[{key:"get",value:function(e){if(!t.supported||!this.enabled)return null;var n=window.localStorage.getItem(this.key);if(c.empty(n))return null;var i=JSON.parse(n);return c.string(e)&&e.length?i[e]:i}},{key:"set",value:function(e){if(t.supported&&this.enabled&&c.object(e)){var n=this.get();c.empty(n)&&(n={}),U(n,e),window.localStorage.setItem(this.key,JSON.stringify(n))}}}],[{key:"supported",get:function(){try{return"localStorage"in window&&(window.localStorage.setItem("___test","___test"),window.localStorage.removeItem("___test"),!0)}catch(t){return!1}}}]),t}();function Z(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text";return new Promise((function(n,i){try{var r=new XMLHttpRequest;if(!("withCredentials"in r))return;r.addEventListener("load",(function(){if("text"===e)try{n(JSON.parse(r.responseText))}catch(t){n(r.responseText)}else n(r.response)})),r.addEventListener("error",(function(){throw new Error(r.status)})),r.open("GET",t,!0),r.responseType=e,r.send()}catch(t){i(t)}}))}function tt(t,e){if(c.string(t)){var n=c.string(e),i=function(){return null!==document.getElementById(e)},r=function(t,e){t.innerHTML=e,n&&i()||document.body.insertAdjacentElement("afterbegin",t)};if(!n||!i()){var o=K.supported,a=document.createElement("div");if(a.setAttribute("hidden",""),n&&a.setAttribute("id",e),o){var s=window.localStorage.getItem("cache-"+e);if(null!==s){var l=JSON.parse(s);r(a,l.content)}}Z(t).then((function(t){c.empty(t)||(o&&window.localStorage.setItem("cache-"+e,JSON.stringify({content:t})),r(a,t))})).catch((function(){}))}}}var et=function(t){return parseInt(t/60/60%60,10)},nt=function(t){return parseInt(t/60%60,10)},it=function(t){return parseInt(t%60,10)};function rt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!c.number(t))return rt(null,e,n);var i=function(t){return("0"+t).slice(-2)},r=et(t),o=nt(t),a=it(t);return e||r>0?r+=":":r="",(n&&t>0?"-":"")+r+i(o)+":"+i(a)}var ot={getIconUrl:function(){var t=new URL(this.config.iconUrl,window.location).host!==window.location.host||B.isIE&&!window.svg4everybody;return{url:this.config.iconUrl,cors:t}},findElements:function(){try{return this.elements.controls=q.call(this,this.config.selectors.controls.wrapper),this.elements.buttons={play:I.call(this,this.config.selectors.buttons.play),pause:q.call(this,this.config.selectors.buttons.pause),restart:q.call(this,this.config.selectors.buttons.restart),rewind:q.call(this,this.config.selectors.buttons.rewind),fastForward:q.call(this,this.config.selectors.buttons.fastForward),mute:q.call(this,this.config.selectors.buttons.mute),pip:q.call(this,this.config.selectors.buttons.pip),airplay:q.call(this,this.config.selectors.buttons.airplay),settings:q.call(this,this.config.selectors.buttons.settings),captions:q.call(this,this.config.selectors.buttons.captions),fullscreen:q.call(this,this.config.selectors.buttons.fullscreen)},this.elements.progress=q.call(this,this.config.selectors.progress),this.elements.inputs={seek:q.call(this,this.config.selectors.inputs.seek),volume:q.call(this,this.config.selectors.inputs.volume)},this.elements.display={buffer:q.call(this,this.config.selectors.display.buffer),currentTime:q.call(this,this.config.selectors.display.currentTime),duration:q.call(this,this.config.selectors.display.duration)},c.element(this.elements.progress)&&(this.elements.display.seekTooltip=this.elements.progress.querySelector("."+this.config.classNames.tooltip)),!0}catch(t){return this.debug.warn("It looks like there is a problem with your custom controls HTML",t),this.toggleNativeControls(!0),!1}},createIcon:function(t,e){var n=ot.getIconUrl.call(this),i=(n.cors?"":n.url)+"#"+this.config.iconPrefix,r=document.createElementNS("http://www.w3.org/2000/svg","svg");_(r,U(e,{role:"presentation",focusable:"false"}));var o=document.createElementNS("http://www.w3.org/2000/svg","use"),a=i+"-"+t;return"href"in o?o.setAttributeNS("http://www.w3.org/1999/xlink","href",a):o.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a),r.appendChild(o),r},createLabel:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={pip:"PIP",airplay:"AirPlay"}[t]||Q(t,this.config);return x("span",Object.assign({},e,{class:[e.class,this.config.classNames.hidden].filter(Boolean).join(" ")}),n)},createBadge:function(t){if(c.empty(t))return null;var e=x("span",{class:this.config.classNames.menu.value});return e.appendChild(x("span",{class:this.config.classNames.menu.badge},t)),e},createButton:function(t,e){var n=x("button"),i=Object.assign({},e),r=function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toString();return(t=function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toString();return t=Y(t,"-"," "),t=Y(t,"_"," "),Y(t=V(t)," ","")}(t)).charAt(0).toLowerCase()+t.slice(1)}(t),o=!1,a=void 0,s=void 0,l=void 0,u=void 0;switch("type"in i||(i.type="button"),"class"in i?i.class.includes(this.config.classNames.control)||(i.class+=" "+this.config.classNames.control):i.class=this.config.classNames.control,t){case"play":o=!0,a="play",l="pause",s="play",u="pause";break;case"mute":o=!0,a="mute",l="unmute",s="volume",u="muted";break;case"captions":o=!0,a="enableCaptions",l="disableCaptions",s="captions-off",u="captions-on";break;case"fullscreen":o=!0,a="enterFullscreen",l="exitFullscreen",s="enter-fullscreen",u="exit-fullscreen";break;case"play-large":i.class+=" "+this.config.classNames.control+"--overlaid",r="play",a="play",s="play";break;default:a=r,s=t}o?(n.appendChild(ot.createIcon.call(this,u,{class:"icon--pressed"})),n.appendChild(ot.createIcon.call(this,s,{class:"icon--not-pressed"})),n.appendChild(ot.createLabel.call(this,l,{class:"label--pressed"})),n.appendChild(ot.createLabel.call(this,a,{class:"label--not-pressed"}))):(n.appendChild(ot.createIcon.call(this,s)),n.appendChild(ot.createLabel.call(this,a))),U(i,C(this.config.selectors.buttons[r],i)),_(n,i),"play"===r?(c.array(this.elements.buttons[r])||(this.elements.buttons[r]=[]),this.elements.buttons[r].push(n)):this.elements.buttons[r]=n;var h=this.config.classNames.controlPressed;return Object.defineProperty(n,"pressed",{enumerable:!0,get:function(){return O(n,h)},set:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];E(n,h,t)}}),n},createRange:function(t,e){var n=x("input",U(C(this.config.selectors.inputs[t]),{type:"range",min:0,max:100,step:.01,value:0,autocomplete:"off",role:"slider","aria-label":Q(t,this.config),"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":0},e));return this.elements.inputs[t]=n,ot.updateRangeFill.call(this,n),n},createProgress:function(t,e){var n=x("progress",U(C(this.config.selectors.display[t]),{min:0,max:100,value:0,role:"presentation","aria-hidden":!0},e));if("volume"!==t){n.appendChild(x("span",null,"0"));var i={played:"played",buffer:"buffered"}[t],r=i?Q(i,this.config):"";n.innerText="% "+r.toLowerCase()}return this.elements.display[t]=n,n},createTime:function(t){var e=C(this.config.selectors.display[t]),n=x("div",U(e,{class:"plyr__time "+e.class,"aria-label":Q(t,this.config)}),"00:00");return this.elements.display[t]=n,n},createMenuItem:function(t){var e=t.value,n=t.list,i=t.type,r=t.title,o=t.badge,a=void 0===o?null:o,s=t.checked,l=void 0!==s&&s,u=x("li"),h=x("label",{class:this.config.classNames.control}),f=x("input",U(C(this.config.selectors.inputs[i]),{type:"radio",name:"plyr-"+i,value:e,checked:l,class:"plyr__sr-only"})),d=x("span",{hidden:""});h.appendChild(f),h.appendChild(d),h.insertAdjacentHTML("beforeend",r),c.element(a)&&h.appendChild(a),u.appendChild(h),n.appendChild(u)},formatTime:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return c.number(t)?rt(t,et(this.duration)>0,e):t},updateTimeDisplay:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];c.element(t)&&c.number(e)&&(t.innerText=ot.formatTime(e,n))},updateVolume:function(){this.supported.ui&&(c.element(this.elements.inputs.volume)&&ot.setRange.call(this,this.elements.inputs.volume,this.muted?0:this.volume),c.element(this.elements.buttons.mute)&&(this.elements.buttons.mute.pressed=this.muted||0===this.volume))},setRange:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;c.element(t)&&(t.value=e,ot.updateRangeFill.call(this,t))},updateProgress:function(t){var e=this;if(this.supported.ui&&c.event(t)){var n,i,r=0;if(t)switch(t.type){case"timeupdate":case"seeking":case"seeked":n=this.currentTime,i=this.duration,r=0===n||0===i||Number.isNaN(n)||Number.isNaN(i)?0:(n/i*100).toFixed(2),"timeupdate"===t.type&&ot.setRange.call(this,this.elements.inputs.seek,r);break;case"playing":case"progress":!function(t,n){var i=c.number(n)?n:0,r=c.element(t)?t:e.elements.display.buffer;if(c.element(r)){r.value=i;var o=r.getElementsByTagName("span")[0];c.element(o)&&(o.childNodes[0].nodeValue=i)}}(this.elements.display.buffer,100*this.buffered)}}},updateRangeFill:function(t){var e=c.event(t)?t.target:t;if(c.element(e)&&"range"===e.getAttribute("type")){if(R(e,this.config.selectors.inputs.seek)){e.setAttribute("aria-valuenow",this.currentTime);var n=ot.formatTime(this.currentTime),i=ot.formatTime(this.duration),r=Q("seekLabel",this.config);e.setAttribute("aria-valuetext",r.replace("{currentTime}",n).replace("{duration}",i))}else if(R(e,this.config.selectors.inputs.volume)){var o=100*e.value;e.setAttribute("aria-valuenow",o),e.setAttribute("aria-valuetext",o+"%")}else e.setAttribute("aria-valuenow",e.value);B.isWebkit&&e.style.setProperty("--value",e.value/e.max*100+"%")}},updateSeekTooltip:function(t){var e=this;if(this.config.tooltips.seek&&c.element(this.elements.inputs.seek)&&c.element(this.elements.display.seekTooltip)&&0!==this.duration){var n=0,i=this.elements.progress.getBoundingClientRect(),r=this.config.classNames.tooltip+"--visible",o=function(t){E(e.elements.display.seekTooltip,r,t)};if(this.touch)o(!1);else{if(c.event(t))n=100/i.width*(t.pageX-i.left);else{if(!O(this.elements.display.seekTooltip,r))return;n=parseFloat(this.elements.display.seekTooltip.style.left,10)}n<0?n=0:n>100&&(n=100),ot.updateTimeDisplay.call(this,this.elements.display.seekTooltip,this.duration/100*n),this.elements.display.seekTooltip.style.left=n+"%",c.event(t)&&["mouseenter","mouseleave"].includes(t.type)&&o("mouseenter"===t.type)}}},timeUpdate:function(t){var e=!c.element(this.elements.display.duration)&&this.config.invertTime;ot.updateTimeDisplay.call(this,this.elements.display.currentTime,e?this.duration-this.currentTime:this.currentTime,e),t&&"timeupdate"===t.type&&this.media.seeking||ot.updateProgress.call(this,t)},durationUpdate:function(){if(this.supported.ui&&(this.config.invertTime||!this.currentTime)){if(this.duration>=Math.pow(2,32))return P(this.elements.display.currentTime,!0),void P(this.elements.progress,!0);c.element(this.elements.inputs.seek)&&this.elements.inputs.seek.setAttribute("aria-valuemax",this.duration);var t=c.element(this.elements.display.duration);!t&&this.config.displayDuration&&this.paused&&ot.updateTimeDisplay.call(this,this.elements.display.currentTime,this.duration),t&&ot.updateTimeDisplay.call(this,this.elements.display.duration,this.duration),ot.updateSeekTooltip.call(this)}},toggleTab:function(t,e){P(this.elements.settings.tabs[t],!e)},setQualityMenu:function(t){var e=this;if(c.element(this.elements.settings.panes.quality)){var n=this.elements.settings.panes.quality.querySelector("ul");c.array(t)&&(this.options.quality=J(t).filter((function(t){return e.config.quality.options.includes(t)})));var i=!c.empty(this.options.quality)&&this.options.quality.length>1;ot.toggleTab.call(this,"quality",i),ot.checkMenu.call(this),i&&(A(n),this.options.quality.sort((function(t,n){var i=e.config.quality.options;return i.indexOf(t)>i.indexOf(n)?1:-1})).forEach((function(t){ot.createMenuItem.call(e,{value:t,list:n,type:"quality",title:ot.getLabel.call(e,"quality",t),badge:function(t){var n=Q("qualityBadge."+t,e.config);return n.length?ot.createBadge.call(e,n):null}(t)})})),ot.updateSetting.call(this,"quality",n))}},getLabel:function(t,e){switch(t){case"speed":return 1===e?Q("normal",this.config):e+"&times;";case"quality":if(c.number(e)){var n=Q("qualityLabel."+e,this.config);return n.length?n:e+"p"}return V(e);case"captions":return lt.getLabel.call(this);default:return null}},updateSetting:function(t,e,n){var i=this.elements.settings.panes[t],r=null,o=e;if("captions"===t)r=this.currentTrack;else{if(r=c.empty(n)?this[t]:n,c.empty(r)&&(r=this.config[t].default),!c.empty(this.options[t])&&!this.options[t].includes(r))return void this.debug.warn("Unsupported value of '"+r+"' for "+t);if(!this.config[t].options.includes(r))return void this.debug.warn("Disabled value of '"+r+"' for "+t)}if(c.element(o)||(o=i&&i.querySelector("ul")),c.element(o)){this.elements.settings.tabs[t].querySelector("."+this.config.classNames.menu.value).innerHTML=ot.getLabel.call(this,t,r);var a=o&&o.querySelector('input[value="'+r+'"]');c.element(a)&&(a.checked=!0)}},setCaptionsMenu:function(){var t=this,e=this.elements.settings.panes.captions.querySelector("ul"),n=lt.getTracks.call(this);if(ot.toggleTab.call(this,"captions",n.length),A(e),ot.checkMenu.call(this),n.length){var i=n.map((function(n,i){return{value:i,checked:t.captions.toggled&&t.currentTrack===i,title:lt.getLabel.call(t,n),badge:n.language&&ot.createBadge.call(t,n.language.toUpperCase()),list:e,type:"language"}}));i.unshift({value:-1,checked:!this.captions.toggled,title:Q("disabled",this.config),list:e,type:"language"}),i.forEach(ot.createMenuItem.bind(this)),ot.updateSetting.call(this,"captions",e)}},setSpeedMenu:function(t){var e=this;if(this.config.controls.includes("settings")&&this.config.settings.includes("speed")&&c.element(this.elements.settings.panes.speed)){c.array(t)?this.options.speed=t:(this.isHTML5||this.isVimeo)&&(this.options.speed=[.5,.75,1,1.25,1.5,1.75,2]),this.options.speed=this.options.speed.filter((function(t){return e.config.speed.options.includes(t)}));var n=!c.empty(this.options.speed)&&this.options.speed.length>1;if(ot.toggleTab.call(this,"speed",n),ot.checkMenu.call(this),n){var i=this.elements.settings.panes.speed.querySelector("ul");A(i),this.options.speed.forEach((function(t){ot.createMenuItem.call(e,{value:t,list:i,type:"speed",title:ot.getLabel.call(e,"speed",t)})})),ot.updateSetting.call(this,"speed",i)}}},checkMenu:function(){var t=this.elements.settings.tabs,e=!c.empty(t)&&Object.values(t).some((function(t){return!t.hidden}));P(this.elements.settings.menu,!e)},toggleMenu:function(t){var e=this.elements.settings.form,n=this.elements.buttons.settings;if(c.element(e)&&c.element(n)){var i=c.boolean(t)?t:c.element(e)&&e.hasAttribute("hidden");if(c.event(t)){var r=c.element(e)&&e.contains(t.target),o=t.target===this.elements.buttons.settings;if(r||!r&&!o&&i)return;o&&t.stopPropagation()}c.element(n)&&n.setAttribute("aria-expanded",i),c.element(e)&&(P(e,!i),E(this.elements.container,this.config.classNames.menu.open,i),i?e.removeAttribute("tabindex"):e.setAttribute("tabindex",-1))}},getTabSize:function(t){var e=t.cloneNode(!0);e.style.position="absolute",e.style.opacity=0,e.removeAttribute("hidden"),Array.from(e.querySelectorAll("input[name]")).forEach((function(t){var e=t.getAttribute("name");t.setAttribute("name",e+"-clone")})),t.parentNode.appendChild(e);var n=e.scrollWidth,i=e.scrollHeight;return k(e),{width:n,height:i}},showTab:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=this.elements.settings.menu,i=document.getElementById(e);if(c.element(i)&&"tabpanel"===i.getAttribute("role")){var r=n.querySelector('[role="tabpanel"]:not([hidden])'),o=r.parentNode;if(Array.from(n.querySelectorAll('[aria-controls="'+r.getAttribute("id")+'"]')).forEach((function(t){t.setAttribute("aria-expanded",!1)})),H.transitions&&!H.reducedMotion){o.style.width=r.scrollWidth+"px",o.style.height=r.scrollHeight+"px";var a=ot.getTabSize.call(this,i);f.call(this,o,z,(function e(n){n.target===o&&["width","height"].includes(n.propertyName)&&(o.style.width="",o.style.height="",d.call(t,o,z,e))})),o.style.width=a.width+"px",o.style.height=a.height+"px"}P(r,!0),r.setAttribute("tabindex",-1),P(i,!1);var s=I.call(this,'[aria-controls="'+e+'"]');Array.from(s).forEach((function(t){t.setAttribute("aria-expanded",!0)})),i.removeAttribute("tabindex"),i.querySelectorAll("button:not(:disabled), input:not(:disabled), [tabindex]")[0].focus()}},create:function(t){var e=this;if(c.empty(this.config.controls))return null;var n=x("div",C(this.config.selectors.controls.wrapper));if(this.config.controls.includes("restart")&&n.appendChild(ot.createButton.call(this,"restart")),this.config.controls.includes("rewind")&&n.appendChild(ot.createButton.call(this,"rewind")),this.config.controls.includes("play")&&n.appendChild(ot.createButton.call(this,"play")),this.config.controls.includes("fast-forward")&&n.appendChild(ot.createButton.call(this,"fast-forward")),this.config.controls.includes("progress")){var i=x("div",C(this.config.selectors.progress));if(i.appendChild(ot.createRange.call(this,"seek",{id:"plyr-seek-"+t.id})),i.appendChild(ot.createProgress.call(this,"buffer")),this.config.tooltips.seek){var r=x("span",{class:this.config.classNames.tooltip},"00:00");i.appendChild(r),this.elements.display.seekTooltip=r}this.elements.progress=i,n.appendChild(this.elements.progress)}if(this.config.controls.includes("current-time")&&n.appendChild(ot.createTime.call(this,"currentTime")),this.config.controls.includes("duration")&&n.appendChild(ot.createTime.call(this,"duration")),this.config.controls.includes("mute")&&n.appendChild(ot.createButton.call(this,"mute")),this.config.controls.includes("volume")){var o=x("div",{class:"plyr__volume"}),a={max:1,step:.05,value:this.config.volume};o.appendChild(ot.createRange.call(this,"volume",U(a,{id:"plyr-volume-"+t.id}))),this.elements.volume=o,n.appendChild(o)}if(this.config.controls.includes("captions")&&n.appendChild(ot.createButton.call(this,"captions")),this.config.controls.includes("settings")&&!c.empty(this.config.settings)){var s=x("div",{class:"plyr__menu",hidden:""});s.appendChild(ot.createButton.call(this,"settings",{id:"plyr-settings-toggle-"+t.id,"aria-haspopup":!0,"aria-controls":"plyr-settings-"+t.id,"aria-expanded":!1}));var l=x("form",{class:"plyr__menu__container",id:"plyr-settings-"+t.id,hidden:"","aria-labelled-by":"plyr-settings-toggle-"+t.id,role:"tablist",tabindex:-1}),u=x("div"),h=x("div",{id:"plyr-settings-"+t.id+"-home","aria-labelled-by":"plyr-settings-toggle-"+t.id,role:"tabpanel"}),f=x("ul",{role:"tablist"});this.config.settings.forEach((function(n){var i=x("li",{role:"tab",hidden:""}),r=x("button",U(C(e.config.selectors.buttons.settings),{type:"button",class:e.config.classNames.control+" "+e.config.classNames.control+"--forward",id:"plyr-settings-"+t.id+"-"+n+"-tab","aria-haspopup":!0,"aria-controls":"plyr-settings-"+t.id+"-"+n,"aria-expanded":!1}),Q(n,e.config)),o=x("span",{class:e.config.classNames.menu.value});o.innerHTML=t[n],r.appendChild(o),i.appendChild(r),f.appendChild(i),e.elements.settings.tabs[n]=i})),h.appendChild(f),u.appendChild(h),this.config.settings.forEach((function(n){var i=x("div",{id:"plyr-settings-"+t.id+"-"+n,hidden:"","aria-labelled-by":"plyr-settings-"+t.id+"-"+n+"-tab",role:"tabpanel",tabindex:-1}),r=x("button",{type:"button",class:e.config.classNames.control+" "+e.config.classNames.control+"--back","aria-haspopup":!0,"aria-controls":"plyr-settings-"+t.id+"-home","aria-expanded":!1},Q(n,e.config));i.appendChild(r);var o=x("ul");i.appendChild(o),u.appendChild(i),e.elements.settings.panes[n]=i})),l.appendChild(u),s.appendChild(l),n.appendChild(s),this.elements.settings.form=l,this.elements.settings.menu=s}return this.config.controls.includes("pip")&&H.pip&&n.appendChild(ot.createButton.call(this,"pip")),this.config.controls.includes("airplay")&&H.airplay&&n.appendChild(ot.createButton.call(this,"airplay")),this.config.controls.includes("fullscreen")&&n.appendChild(ot.createButton.call(this,"fullscreen")),this.config.controls.includes("play-large")&&this.elements.container.appendChild(ot.createButton.call(this,"play-large")),this.elements.controls=n,this.isHTML5&&ot.setQualityMenu.call(this,W.getQualityOptions.call(this)),ot.setSpeedMenu.call(this),n},inject:function(){var t=this;if(this.config.loadSprite){var e=ot.getIconUrl.call(this);e.cors&&tt(e.url,"sprite-plyr")}this.id=Math.floor(1e4*Math.random());var n=null;this.elements.controls=null;var i={id:this.id,seektime:this.config.seekTime,title:this.config.title},r=!0;c.string(this.config.controls)||c.element(this.config.controls)?n=this.config.controls:c.function(this.config.controls)?n=this.config.controls.call(this,i):(n=ot.create.call(this,{id:this.id,seektime:this.config.seekTime,speed:this.speed,quality:this.quality,captions:lt.getLabel.call(this)}),r=!1);var o=function(t){var e=t;return Object.entries(i).forEach((function(t){var n=b(t,2),i=n[0],r=n[1];e=Y(e,"{"+i+"}",r)})),e};r&&(c.string(this.config.controls)?n=o(n):c.element(n)&&(n.innerHTML=o(n.innerHTML)));var a,s=void 0;if(c.string(this.config.selectors.controls.container)&&(s=document.querySelector(this.config.selectors.controls.container)),c.element(s)||(s=this.elements.container),c.element(n)?s.appendChild(n):n&&s.insertAdjacentHTML("beforeend",n),c.element(this.elements.controls)||ot.findElements.call(this),window.navigator.userAgent.includes("Edge")&&(a=s,setTimeout((function(){P(a,!0),a.offsetHeight,P(a,!1)}),0)),this.config.tooltips.controls){var l=this.config,u=l.classNames,h=l.selectors,f=h.controls.wrapper+" "+h.labels+" ."+u.hidden,d=I.call(this,f);Array.from(d).forEach((function(e){E(e,t.config.classNames.hidden,!1),E(e,t.config.classNames.tooltip,!0)}))}}};function at(t){var e=t;if(!(arguments.length>1&&void 0!==arguments[1])||arguments[1]){var n=document.createElement("a");n.href=e,e=n.href}try{return new URL(e)}catch(t){return null}}function st(t){var e=new URLSearchParams;return c.object(t)&&Object.entries(t).forEach((function(t){var n=b(t,2),i=n[0],r=n[1];e.set(i,r)})),e}var lt={setup:function(){if(this.supported.ui)if(!this.isVideo||this.isYouTube||this.isHTML5&&!H.textTracks)c.array(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&ot.setCaptionsMenu.call(this);else{var t,e;if(c.element(this.elements.captions)||(this.elements.captions=x("div",C(this.config.selectors.captions)),t=this.elements.captions,(e=this.elements.wrapper).parentNode.insertBefore(t,e.nextSibling)),B.isIE&&window.URL){var n=this.media.querySelectorAll("track");Array.from(n).forEach((function(t){var e=t.getAttribute("src"),n=at(e);null!==n&&n.hostname!==window.location.href.hostname&&["http:","https:"].includes(n.protocol)&&Z(e,"blob").then((function(e){t.setAttribute("src",window.URL.createObjectURL(e))})).catch((function(){k(t)}))}))}var i=J(Array.from(navigator.languages||navigator.language||navigator.userLanguage).map((function(t){return t.split("-")[0]}))),r=(this.storage.get("language")||this.config.captions.language||"auto").toLowerCase();"auto"===r&&(r=b(i,1)[0]);var o=this.storage.get("captions");if(c.boolean(o)||(o=this.config.captions.active),Object.assign(this.captions,{toggled:!1,active:o,language:r,languages:i}),this.isHTML5){var a=this.config.captions.update?"addtrack removetrack":"removetrack";f.call(this,this.media.textTracks,a,lt.update.bind(this))}setTimeout(lt.update.bind(this),0)}},update:function(){var t=this,e=lt.getTracks.call(this,!0),n=this.captions,i=n.active,r=n.language,o=n.meta,a=n.currentTrackNode,s=Boolean(e.find((function(t){return t.language===r})));this.isHTML5&&this.isVideo&&e.filter((function(t){return!o.get(t)})).forEach((function(e){t.debug.log("Track added",e),o.set(e,{default:"showing"===e.mode}),e.mode="hidden",f.call(t,e,"cuechange",(function(){return lt.updateCues.call(t)}))})),(s&&this.language!==r||!e.includes(a))&&(lt.setLanguage.call(this,r),lt.toggle.call(this,i&&s)),E(this.elements.container,this.config.classNames.captions.enabled,!c.empty(e)),(this.config.controls||[]).includes("settings")&&this.config.settings.includes("captions")&&ot.setCaptionsMenu.call(this)},toggle:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.supported.ui){var n=this.captions.toggled,i=this.config.classNames.captions.active,r=c.nullOrUndefined(t)?!n:t;if(r!==n){if(e||(this.captions.active=r,this.storage.set({captions:r})),!this.language&&r&&!e){var o=lt.getTracks.call(this),a=lt.findTrack.call(this,[this.captions.language].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(this.captions.languages)),!0);return this.captions.language=a.language,void lt.set.call(this,o.indexOf(a))}this.elements.buttons.captions&&(this.elements.buttons.captions.pressed=r),E(this.elements.container,i,r),this.captions.toggled=r,ot.updateSetting.call(this,"captions"),g.call(this,this.media,r?"captionsenabled":"captionsdisabled")}}},set:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=lt.getTracks.call(this);if(-1!==t)if(c.number(t))if(t in n){if(this.captions.currentTrack!==t){this.captions.currentTrack=t;var i=n[t],r=(i||{}).language;this.captions.currentTrackNode=i,ot.updateSetting.call(this,"captions"),e||(this.captions.language=r,this.storage.set({language:r})),this.isVimeo&&this.embed.enableTextTrack(r),g.call(this,this.media,"languagechange")}lt.toggle.call(this,!0,e),this.isHTML5&&this.isVideo&&lt.updateCues.call(this)}else this.debug.warn("Track not found",t);else this.debug.warn("Invalid caption argument",t);else lt.toggle.call(this,!1,e)},setLanguage:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(c.string(t)){var n=t.toLowerCase();this.captions.language=n;var i=lt.getTracks.call(this),r=lt.findTrack.call(this,[n]);lt.set.call(this,i.indexOf(r),e)}else this.debug.warn("Invalid language argument",t)},getTracks:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Array.from((this.media||{}).textTracks||[]).filter((function(n){return!t.isHTML5||e||t.captions.meta.has(n)})).filter((function(t){return["captions","subtitles"].includes(t.kind)}))},findTrack:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=lt.getTracks.call(this),r=function(t){return Number((e.captions.meta.get(t)||{}).default)},o=Array.from(i).sort((function(t,e){return r(e)-r(t)})),a=void 0;return t.every((function(t){return!(a=o.find((function(e){return e.language===t})))})),a||(n?o[0]:void 0)},getCurrentTrack:function(){return lt.getTracks.call(this)[this.currentTrack]},getLabel:function(t){var e=t;return!c.track(e)&&H.textTracks&&this.captions.toggled&&(e=lt.getCurrentTrack.call(this)),c.track(e)?c.empty(e.label)?c.empty(e.language)?Q("enabled",this.config):t.language.toUpperCase():e.label:Q("disabled",this.config)},updateCues:function(t){if(this.supported.ui)if(c.element(this.elements.captions))if(c.nullOrUndefined(t)||Array.isArray(t)){var e=t;if(!e){var n=lt.getCurrentTrack.call(this);e=Array.from((n||{}).activeCues||[]).map((function(t){return t.getCueAsHTML()})).map(G)}var i=e.map((function(t){return t.trim()})).join("\n");if(i!==this.elements.captions.innerHTML){A(this.elements.captions);var r=x("span",C(this.config.selectors.caption));r.innerHTML=i,this.elements.captions.appendChild(r),g.call(this,this.media,"cuechange")}}else this.debug.warn("updateCues: Invalid input",t);else this.debug.warn("No captions element to render to")}},ct={enabled:!0,title:"",debug:!1,autoplay:!1,autopause:!0,playsinline:!0,seekTime:10,volume:1,muted:!1,duration:null,displayDuration:!0,invertTime:!0,toggleInvert:!0,ratio:"16:9",clickToPlay:!0,hideControls:!0,resetOnEnd:!1,disableContextMenu:!0,loadSprite:!0,iconPrefix:"plyr",iconUrl:"https://cdn.plyr.io/3.3.12/plyr.svg",blankVideo:"https://cdn.plyr.io/static/blank.mp4",quality:{default:576,options:[4320,2880,2160,1440,1080,720,576,480,360,240,"default"]},loop:{active:!1},speed:{selected:1,options:[.5,.75,1,1.25,1.5,1.75,2]},keyboard:{focused:!0,global:!1},tooltips:{controls:!1,seek:!0},captions:{active:!1,language:"auto",update:!1},fullscreen:{enabled:!0,fallback:!0,iosNative:!1},storage:{enabled:!0,key:"plyr"},controls:["play-large","play","progress","current-time","mute","volume","captions","settings","pip","airplay","fullscreen"],settings:["captions","quality","speed"],i18n:{restart:"Restart",rewind:"Rewind {seektime}s",play:"Play",pause:"Pause",fastForward:"Forward {seektime}s",seek:"Seek",seekLabel:"{currentTime} of {duration}",played:"Played",buffered:"Buffered",currentTime:"Current time",duration:"Duration",volume:"Volume",mute:"Mute",unmute:"Unmute",enableCaptions:"Enable captions",disableCaptions:"Disable captions",enterFullscreen:"Enter fullscreen",exitFullscreen:"Exit fullscreen",frameTitle:"Player for {title}",captions:"Captions",settings:"Settings",menuBack:"Go back to previous menu",speed:"Speed",normal:"Normal",quality:"Quality",loop:"Loop",start:"Start",end:"End",all:"All",reset:"Reset",disabled:"Disabled",enabled:"Enabled",advertisement:"Ad",qualityBadge:{2160:"4K",1440:"HD",1080:"HD",720:"HD",576:"SD",480:"SD"}},urls:{vimeo:{sdk:"https://player.vimeo.com/api/player.js",iframe:"https://player.vimeo.com/video/{0}?{1}",api:"https://vimeo.com/api/v2/video/{0}.json"},youtube:{sdk:"https://www.youtube.com/iframe_api",api:"https://www.googleapis.com/youtube/v3/videos?id={0}&key={1}&fields=items(snippet(title))&part=snippet"},googleIMA:{sdk:"https://imasdk.googleapis.com/js/sdkloader/ima3.js"}},listeners:{seek:null,play:null,pause:null,restart:null,rewind:null,fastForward:null,mute:null,volume:null,captions:null,fullscreen:null,pip:null,airplay:null,speed:null,quality:null,loop:null,language:null},events:["ended","progress","stalled","playing","waiting","canplay","canplaythrough","loadstart","loadeddata","loadedmetadata","timeupdate","volumechange","play","pause","error","seeking","seeked","emptied","ratechange","cuechange","enterfullscreen","exitfullscreen","captionsenabled","captionsdisabled","languagechange","controlshidden","controlsshown","ready","statechange","qualitychange","qualityrequested","adsloaded","adscontentpause","adscontentresume","adstarted","adsmidpoint","adscomplete","adsallcomplete","adsimpression","adsclick"],selectors:{editable:"input, textarea, select, [contenteditable]",container:".plyr",controls:{container:null,wrapper:".plyr__controls"},labels:"[data-plyr]",buttons:{play:'[data-plyr="play"]',pause:'[data-plyr="pause"]',restart:'[data-plyr="restart"]',rewind:'[data-plyr="rewind"]',fastForward:'[data-plyr="fast-forward"]',mute:'[data-plyr="mute"]',captions:'[data-plyr="captions"]',fullscreen:'[data-plyr="fullscreen"]',pip:'[data-plyr="pip"]',airplay:'[data-plyr="airplay"]',settings:'[data-plyr="settings"]',loop:'[data-plyr="loop"]'},inputs:{seek:'[data-plyr="seek"]',volume:'[data-plyr="volume"]',speed:'[data-plyr="speed"]',language:'[data-plyr="language"]',quality:'[data-plyr="quality"]'},display:{currentTime:".plyr__time--current",duration:".plyr__time--duration",buffer:".plyr__progress__buffer",loop:".plyr__progress__loop",volume:".plyr__volume--display"},progress:".plyr__progress",captions:".plyr__captions",caption:".plyr__caption",menu:{quality:".js-plyr__menu__list--quality"}},classNames:{type:"plyr--{0}",provider:"plyr--{0}",video:"plyr__video-wrapper",embed:"plyr__video-embed",embedContainer:"plyr__video-embed__container",poster:"plyr__poster",posterEnabled:"plyr__poster-enabled",ads:"plyr__ads",control:"plyr__control",controlPressed:"plyr__control--pressed",playing:"plyr--playing",paused:"plyr--paused",stopped:"plyr--stopped",loading:"plyr--loading",hover:"plyr--hover",tooltip:"plyr__tooltip",cues:"plyr__cues",hidden:"plyr__sr-only",hideControls:"plyr--hide-controls",isIos:"plyr--is-ios",isTouch:"plyr--is-touch",uiSupported:"plyr--full-ui",noTransition:"plyr--no-transition",menu:{value:"plyr__menu__value",badge:"plyr__badge",open:"plyr--menu-open"},captions:{enabled:"plyr--captions-enabled",active:"plyr--captions-active"},fullscreen:{enabled:"plyr--fullscreen-enabled",fallback:"plyr--fullscreen-fallback"},pip:{supported:"plyr--pip-supported",active:"plyr--pip-active"},airplay:{supported:"plyr--airplay-supported",active:"plyr--airplay-active"},tabFocus:"plyr__tab-focus"},attributes:{embed:{provider:"data-plyr-provider",id:"data-plyr-embed-id"}},keys:{google:null},ads:{enabled:!1,publisherId:""}},ut={html5:"html5",youtube:"youtube",vimeo:"vimeo"},ht="audio",ft="video",dt=function(){},pt=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];m(this,t),this.enabled=window.console&&e,this.enabled&&this.log("Debugging enabled")}return v(t,[{key:"log",get:function(){return this.enabled?Function.prototype.bind.call(console.log,console):dt}},{key:"warn",get:function(){return this.enabled?Function.prototype.bind.call(console.warn,console):dt}},{key:"error",get:function(){return this.enabled?Function.prototype.bind.call(console.error,console):dt}}]),t}();function gt(){if(this.enabled){var t=this.player.elements.buttons.fullscreen;c.element(t)&&(t.pressed=this.active),g.call(this.player,this.target,this.active?"enterfullscreen":"exitfullscreen",!0),B.isIos||function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(c.element(t)){var n=I.call(this,"button:not(:disabled), input:not(:disabled), [tabindex]"),i=n[0],r=n[n.length-1];h.call(this,this.elements.container,"keydown",(function(t){if("Tab"===t.key&&9===t.keyCode){var e=M();e!==r||t.shiftKey?e===i&&t.shiftKey&&(r.focus(),t.preventDefault()):(i.focus(),t.preventDefault())}}),e,!1)}}.call(this.player,this.target,this.active)}}function mt(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t?this.scrollPosition={x:window.scrollX||0,y:window.scrollY||0}:window.scrollTo(this.scrollPosition.x,this.scrollPosition.y),document.body.style.overflow=t?"hidden":"",E(this.target,this.player.config.classNames.fullscreen.fallback,t),gt.call(this)}var vt=function(){function t(e){var n=this;m(this,t),this.player=e,this.prefix=t.prefix,this.property=t.property,this.scrollPosition={x:0,y:0},f.call(this.player,document,"ms"===this.prefix?"MSFullscreenChange":this.prefix+"fullscreenchange",(function(){gt.call(n)})),f.call(this.player,this.player.elements.container,"dblclick",(function(t){c.element(n.player.elements.controls)&&n.player.elements.controls.contains(t.target)||n.toggle()})),this.update()}return v(t,[{key:"update",value:function(){this.enabled?this.player.debug.log((t.native?"Native":"Fallback")+" fullscreen enabled"):this.player.debug.log("Fullscreen not supported and fallback disabled"),E(this.player.elements.container,this.player.config.classNames.fullscreen.enabled,this.enabled)}},{key:"enter",value:function(){this.enabled&&(B.isIos&&this.player.config.fullscreen.iosNative?this.player.playing&&this.target.webkitEnterFullscreen():t.native?this.prefix?c.empty(this.prefix)||this.target[this.prefix+"Request"+this.property]():this.target.requestFullscreen():mt.call(this,!0))}},{key:"exit",value:function(){if(this.enabled)if(B.isIos&&this.player.config.fullscreen.iosNative)this.target.webkitExitFullscreen(),this.player.play();else if(t.native)if(this.prefix){if(!c.empty(this.prefix)){var e="moz"===this.prefix?"Cancel":"Exit";document[""+this.prefix+e+this.property]()}}else(document.cancelFullScreen||document.exitFullscreen).call(document);else mt.call(this,!1)}},{key:"toggle",value:function(){this.active?this.exit():this.enter()}},{key:"enabled",get:function(){return(t.native||this.player.config.fullscreen.fallback)&&this.player.config.fullscreen.enabled&&this.player.supported.ui&&this.player.isVideo}},{key:"active",get:function(){return!!this.enabled&&(t.native?(this.prefix?document[""+this.prefix+this.property+"Element"]:document.fullscreenElement)===this.target:O(this.target,this.player.config.classNames.fullscreen.fallback))}},{key:"target",get:function(){return B.isIos&&this.player.config.fullscreen.iosNative?this.player.media:this.player.elements.container}}],[{key:"native",get:function(){return!!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)}},{key:"prefix",get:function(){if(c.function(document.exitFullscreen))return"";var t="";return["webkit","moz","ms"].some((function(e){return!(!c.function(document[e+"ExitFullscreen"])&&!c.function(document[e+"CancelFullScreen"])||(t=e,0))})),t}},{key:"property",get:function(){return"moz"===this.prefix?"FullScreen":"Fullscreen"}}]),t}();function yt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return new Promise((function(n,i){var r=new Image,o=function(){delete r.onload,delete r.onerror,(r.naturalWidth>=e?n:i)(r)};Object.assign(r,{onload:o,onerror:o,src:t})}))}var bt={addStyleHook:function(){E(this.elements.container,this.config.selectors.container.replace(".",""),!0),E(this.elements.container,this.config.classNames.uiSupported,this.supported.ui)},toggleNativeControls:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.isHTML5?this.media.setAttribute("controls",""):this.media.removeAttribute("controls")},build:function(){var t=this;if(this.listeners.media(),!this.supported.ui)return this.debug.warn("Basic support only for "+this.provider+" "+this.type),void bt.toggleNativeControls.call(this,!0);c.element(this.elements.controls)||(ot.inject.call(this),this.listeners.controls()),bt.toggleNativeControls.call(this),this.isHTML5&&lt.setup.call(this),this.volume=null,this.muted=null,this.speed=null,this.loop=null,this.quality=null,ot.updateVolume.call(this),ot.timeUpdate.call(this),bt.checkPlaying.call(this),E(this.elements.container,this.config.classNames.pip.supported,H.pip&&this.isHTML5&&this.isVideo),E(this.elements.container,this.config.classNames.airplay.supported,H.airplay&&this.isHTML5),E(this.elements.container,this.config.classNames.isIos,B.isIos),E(this.elements.container,this.config.classNames.isTouch,this.touch),this.ready=!0,setTimeout((function(){g.call(t,t.media,"ready")}),0),bt.setTitle.call(this),this.poster&&bt.setPoster.call(this,this.poster,!1).catch((function(){})),this.config.duration&&ot.durationUpdate.call(this)},setTitle:function(){var t=Q("play",this.config);if(c.string(this.config.title)&&!c.empty(this.config.title)&&(t+=", "+this.config.title),Array.from(this.elements.buttons.play||[]).forEach((function(e){e.setAttribute("aria-label",t)})),this.isEmbed){var e=q.call(this,"iframe");if(!c.element(e))return;var n=c.empty(this.config.title)?"video":this.config.title,i=Q("frameTitle",this.config);e.setAttribute("title",i.replace("{title}",n))}},togglePoster:function(t){E(this.elements.container,this.config.classNames.posterEnabled,t)},setPoster:function(t){var e=this;return arguments.length>1&&void 0!==arguments[1]&&!arguments[1]||!this.poster?(this.media.setAttribute("poster",t),function(){var t=this;return new Promise((function(e){return t.ready?setTimeout(e,0):f.call(t,t.elements.container,"ready",e)})).then((function(){}))}.call(this).then((function(){return yt(t)})).catch((function(n){throw t===e.poster&&bt.togglePoster.call(e,!1),n})).then((function(){if(t!==e.poster)throw new Error("setPoster cancelled by later call to setPoster")})).then((function(){return Object.assign(e.elements.poster.style,{backgroundImage:"url('"+t+"')",backgroundSize:""}),bt.togglePoster.call(e,!0),t}))):Promise.reject(new Error("Poster already set"))},checkPlaying:function(t){var e=this;E(this.elements.container,this.config.classNames.playing,this.playing),E(this.elements.container,this.config.classNames.paused,this.paused),E(this.elements.container,this.config.classNames.stopped,this.stopped),Array.from(this.elements.buttons.play||[]).forEach((function(t){t.pressed=e.playing})),c.event(t)&&"timeupdate"===t.type||bt.toggleControls.call(this)},checkLoading:function(t){var e=this;this.loading=["stalled","waiting"].includes(t.type),clearTimeout(this.timers.loading),this.timers.loading=setTimeout((function(){E(e.elements.container,e.config.classNames.loading,e.loading),bt.toggleControls.call(e)}),this.loading?250:0)},toggleControls:function(t){var e=this.elements.controls;e&&this.config.hideControls&&this.toggleControls(Boolean(t||this.loading||this.paused||e.pressed||e.hover))}},wt=function(){function t(e){m(this,t),this.player=e,this.lastKey=null,this.handleKey=this.handleKey.bind(this),this.toggleMenu=this.toggleMenu.bind(this),this.firstTouch=this.firstTouch.bind(this)}return v(t,[{key:"handleKey",value:function(t){var e=t.keyCode?t.keyCode:t.which,n="keydown"===t.type,i=n&&e===this.lastKey;if(!(t.altKey||t.ctrlKey||t.metaKey||t.shiftKey)&&c.number(e))if(n){var r=M();if(c.element(r)&&r!==this.player.elements.inputs.seek&&R(r,this.player.config.selectors.editable))return;switch([32,37,38,39,40,48,49,50,51,52,53,54,56,57,67,70,73,75,76,77,79].includes(e)&&(t.preventDefault(),t.stopPropagation()),e){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:i||(this.player.currentTime=this.player.duration/10*(e-48));break;case 32:case 75:i||this.player.togglePlay();break;case 38:this.player.increaseVolume(.1);break;case 40:this.player.decreaseVolume(.1);break;case 77:i||(this.player.muted=!this.player.muted);break;case 39:this.player.forward();break;case 37:this.player.rewind();break;case 70:this.player.fullscreen.toggle();break;case 67:i||this.player.toggleCaptions();break;case 76:this.player.loop=!this.player.loop}!this.player.fullscreen.enabled&&this.player.fullscreen.active&&27===e&&this.player.fullscreen.toggle(),this.lastKey=e}else this.lastKey=null}},{key:"toggleMenu",value:function(t){ot.toggleMenu.call(this.player,t)}},{key:"firstTouch",value:function(){this.player.touch=!0,E(this.player.elements.container,this.player.config.classNames.isTouch,!0)}},{key:"global",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.player.config.keyboard.global&&h.call(this.player,window,"keydown keyup",this.handleKey,t,!1),h.call(this.player,document.body,"click",this.toggleMenu,t),p.call(this.player,document.body,"touchstart",this.firstTouch)}},{key:"container",value:function(){var t=this;!this.player.config.keyboard.global&&this.player.config.keyboard.focused&&f.call(this.player,this.player.elements.container,"keydown keyup",this.handleKey,!1),f.call(this.player,this.player.elements.container,"focusout",(function(e){E(e.target,t.player.config.classNames.tabFocus,!1)})),f.call(this.player,this.player.elements.container,"keydown",(function(e){9===e.keyCode&&setTimeout((function(){E(M(),t.player.config.classNames.tabFocus,!0)}),0)})),f.call(this.player,this.player.elements.container,"mousemove mouseleave touchstart touchmove enterfullscreen exitfullscreen",(function(e){var n=t.player.elements.controls;"enterfullscreen"===e.type&&(n.pressed=!1,n.hover=!1);var i=0;["touchstart","touchmove","mousemove"].includes(e.type)&&(bt.toggleControls.call(t.player,!0),i=t.player.touch?3e3:2e3),clearTimeout(t.player.timers.controls),t.player.timers.controls=setTimeout((function(){return bt.toggleControls.call(t.player,!1)}),i)}))}},{key:"media",value:function(){var t=this;if(f.call(this.player,this.player.media,"timeupdate seeking seeked",(function(e){return ot.timeUpdate.call(t.player,e)})),f.call(this.player,this.player.media,"durationchange loadeddata loadedmetadata",(function(e){return ot.durationUpdate.call(t.player,e)})),f.call(this.player,this.player.media,"canplay",(function(){P(t.player.elements.volume,!t.player.hasAudio),P(t.player.elements.buttons.mute,!t.player.hasAudio)})),f.call(this.player,this.player.media,"ended",(function(){t.player.isHTML5&&t.player.isVideo&&t.player.config.resetOnEnd&&t.player.restart()})),f.call(this.player,this.player.media,"progress playing seeking seeked",(function(e){return ot.updateProgress.call(t.player,e)})),f.call(this.player,this.player.media,"volumechange",(function(e){return ot.updateVolume.call(t.player,e)})),f.call(this.player,this.player.media,"playing play pause ended emptied timeupdate",(function(e){return bt.checkPlaying.call(t.player,e)})),f.call(this.player,this.player.media,"waiting canplay seeked playing",(function(e){return bt.checkLoading.call(t.player,e)})),f.call(this.player,this.player.media,"playing",(function(){t.player.ads&&t.player.ads.enabled&&!t.player.ads.initialized&&t.player.ads.managerPromise.then((function(){return t.player.ads.play()})).catch((function(){return t.player.play()}))})),this.player.supported.ui&&this.player.config.clickToPlay&&!this.player.isAudio){var e=q.call(this.player,"."+this.player.config.classNames.video);if(!c.element(e))return;f.call(this.player,e,"click",(function(){t.player.config.hideControls&&t.player.touch&&!t.player.paused||(t.player.paused?t.player.play():t.player.ended?(t.player.restart(),t.player.play()):t.player.pause())}))}this.player.supported.ui&&this.player.config.disableContextMenu&&f.call(this.player,this.player.elements.wrapper,"contextmenu",(function(t){t.preventDefault()}),!1),f.call(this.player,this.player.media,"volumechange",(function(){t.player.storage.set({volume:t.player.volume,muted:t.player.muted})})),f.call(this.player,this.player.media,"ratechange",(function(){ot.updateSetting.call(t.player,"speed"),t.player.storage.set({speed:t.player.speed})})),f.call(this.player,this.player.media,"qualityrequested",(function(e){t.player.storage.set({quality:e.detail.quality})})),f.call(this.player,this.player.media,"qualitychange",(function(e){ot.updateSetting.call(t.player,"quality",null,e.detail.quality)}));var n=this.player.config.events.concat(["keyup","keydown"]).join(" ");f.call(this.player,this.player.media,n,(function(e){var n=e.detail,i=void 0===n?{}:n;"error"===e.type&&(i=t.player.media.error),g.call(t.player,t.player.elements.container,e.type,!0,i)}))}},{key:"controls",value:function(){var t=this,e=B.isIE?"change":"input",n=function(e,n,i){var r=t.player.config.listeners[i],o=!0;c.function(r)&&(o=r.call(t.player,e)),o&&c.function(n)&&n.call(t.player,e)},i=function(e,i,r,o){var a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],s=t.player.config.listeners[o],l=c.function(s);f.call(t.player,e,i,(function(t){return n(t,r,o)}),a&&!l)};this.player.elements.buttons.play&&Array.from(this.player.elements.buttons.play).forEach((function(e){i(e,"click",t.player.togglePlay,"play")})),i(this.player.elements.buttons.restart,"click",this.player.restart,"restart"),i(this.player.elements.buttons.rewind,"click",this.player.rewind,"rewind"),i(this.player.elements.buttons.fastForward,"click",this.player.forward,"fastForward"),i(this.player.elements.buttons.mute,"click",(function(){t.player.muted=!t.player.muted}),"mute"),i(this.player.elements.buttons.captions,"click",(function(){return t.player.toggleCaptions()})),i(this.player.elements.buttons.fullscreen,"click",(function(){t.player.fullscreen.toggle()}),"fullscreen"),i(this.player.elements.buttons.pip,"click",(function(){t.player.pip="toggle"}),"pip"),i(this.player.elements.buttons.airplay,"click",this.player.airplay,"airplay"),i(this.player.elements.buttons.settings,"click",(function(e){ot.toggleMenu.call(t.player,e)})),i(this.player.elements.settings.form,"click",(function(e){e.stopPropagation();var i=function(){var e="plyr-settings-"+t.player.id+"-home";ot.showTab.call(t.player,e)};if(R(e.target,t.player.config.selectors.inputs.language))n(e,(function(){t.player.currentTrack=Number(e.target.value),i()}),"language");else if(R(e.target,t.player.config.selectors.inputs.quality))n(e,(function(){t.player.quality=e.target.value,i()}),"quality");else if(R(e.target,t.player.config.selectors.inputs.speed))n(e,(function(){t.player.speed=parseFloat(e.target.value),i()}),"speed");else{var r=e.target;ot.showTab.call(t.player,r.getAttribute("aria-controls"))}})),i(this.player.elements.inputs.seek,"mousedown mousemove",(function(e){var n=t.player.elements.progress.getBoundingClientRect(),i=100/n.width*(e.pageX-n.left);e.currentTarget.setAttribute("seek-value",i)})),i(this.player.elements.inputs.seek,"mousedown mouseup keydown keyup touchstart touchend",(function(e){var n=e.currentTarget,i=e.keyCode?e.keyCode:e.which,r=e.type;if("keydown"!==r&&"keyup"!==r||39===i||37===i){var o=n.hasAttribute("play-on-seeked"),a=["mouseup","touchend","keyup"].includes(e.type);o&&a?(n.removeAttribute("play-on-seeked"),t.player.play()):!a&&t.player.playing&&(n.setAttribute("play-on-seeked",""),t.player.pause())}})),i(this.player.elements.inputs.seek,e,(function(e){var n=e.currentTarget,i=n.getAttribute("seek-value");c.empty(i)&&(i=n.value),n.removeAttribute("seek-value"),t.player.currentTime=i/n.max*t.player.duration}),"seek"),this.player.config.toggleInvert&&!c.element(this.player.elements.display.duration)&&i(this.player.elements.display.currentTime,"click",(function(){0!==t.player.currentTime&&(t.player.config.invertTime=!t.player.config.invertTime,ot.timeUpdate.call(t.player))})),i(this.player.elements.inputs.volume,e,(function(e){t.player.volume=e.target.value}),"volume"),B.isWebkit&&Array.from(I.call(this.player,'input[type="range"]')).forEach((function(e){i(e,"input",(function(e){return ot.updateRangeFill.call(t.player,e.target)}))})),i(this.player.elements.progress,"mouseenter mouseleave mousemove",(function(e){return ot.updateSeekTooltip.call(t.player,e)})),i(this.player.elements.controls,"mouseenter mouseleave",(function(e){t.player.elements.controls.hover=!t.player.touch&&"mouseenter"===e.type})),i(this.player.elements.controls,"mousedown mouseup touchstart touchend touchcancel",(function(e){t.player.elements.controls.pressed=["mousedown","touchstart"].includes(e.type)})),i(this.player.elements.controls,"focusin focusout",(function(e){var n=t.player,i=n.config,r=n.elements,o=n.timers;if(E(r.controls,i.classNames.noTransition,"focusin"===e.type),bt.toggleControls.call(t.player,"focusin"===e.type),"focusin"===e.type){setTimeout((function(){E(r.controls,i.classNames.noTransition,!1)}),0);var a=t.touch?3e3:4e3;clearTimeout(o.controls),o.controls=setTimeout((function(){return bt.toggleControls.call(t.player,!1)}),a)}})),i(this.player.elements.inputs.volume,"wheel",(function(e){var n=e.webkitDirectionInvertedFromDevice,i=[e.deltaX,-e.deltaY].map((function(t){return n?-t:t})),r=b(i,2),o=r[0],a=r[1],s=Math.sign(Math.abs(o)>Math.abs(a)?o:a);t.player.increaseVolume(s/50);var l=t.player.media.volume;(1===s&&l<1||-1===s&&l>0)&&e.preventDefault()}),"volume",!1)}}]),t}();"undefined"!=typeof window?window:void 0!==e||"undefined"!=typeof self&&self;var _t,xt=(function(t,e){var n;n=function(){var t=function(){},e={},n={},i={};function r(t,e){if(t){var r=i[t];if(n[t]=e,r)for(;r.length;)r[0](t,e),r.splice(0,1)}}function o(e,n){e.call&&(e={success:e}),n.length?(e.error||t)(n):(e.success||t)(e)}function a(e,n,i,r){var o,s,l=document,c=i.async,u=(i.numRetries||0)+1,h=i.before||t,f=e.replace(/^(css|img)!/,"");r=r||0,/(^css!|\.css$)/.test(e)?(o=!0,(s=l.createElement("link")).rel="stylesheet",s.href=f):/(^img!|\.(png|gif|jpg|svg)$)/.test(e)?(s=l.createElement("img")).src=f:((s=l.createElement("script")).src=e,s.async=void 0===c||c),s.onload=s.onerror=s.onbeforeload=function(t){var l=t.type[0];if(o&&"hideFocus"in s)try{s.sheet.cssText.length||(l="e")}catch(t){l="e"}if("e"==l&&(r+=1)<u)return a(e,n,i,r);n(e,l,t.defaultPrevented)},!1!==h(e,s)&&l.head.appendChild(s)}function s(t,n,i){var s,l;if(n&&n.trim&&(s=n),l=(s?i:n)||{},s){if(s in e)throw"LoadJS";e[s]=!0}!function(t,e,n){var i,r,o=(t=t.push?t:[t]).length,s=o,l=[];for(i=function(t,n,i){if("e"==n&&l.push(t),"b"==n){if(!i)return;l.push(t)}--o||e(l)},r=0;r<s;r++)a(t[r],i,n)}(t,(function(t){o(l,t),r(s,t)}),l)}return s.ready=function(t,e){return function(t,e){t=t.push?t:[t];var r,o,a,s=[],l=t.length,c=l;for(r=function(t,n){n.length&&s.push(t),--c||e(s)};l--;)o=t[l],(a=n[o])?r(o,a):(i[o]=i[o]||[]).push(r)}(t,(function(t){o(e,t)})),s},s.done=function(t){r(t,[])},s.reset=function(){e={},n={},i={}},s.isDefined=function(t){return t in e},s},t.exports=n()}(_t={exports:{}}),_t.exports);function Tt(t){return new Promise((function(e,n){xt(t,{success:e,error:n})}))}function kt(t){t&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===t&&(this.media.paused=!t,g.call(this,this.media,t?"play":"pause"))}var At={setup:function(){var t=this;E(this.elements.wrapper,this.config.classNames.embed,!0),At.setAspectRatio.call(this),c.object(window.Vimeo)?At.ready.call(this):Tt(this.config.urls.vimeo.sdk).then((function(){At.ready.call(t)})).catch((function(e){t.debug.warn("Vimeo API failed to load",e)}))},setAspectRatio:function(t){var e=(c.string(t)?t:this.config.ratio).split(":"),n=b(e,2),i=100/n[0]*n[1];if(this.elements.wrapper.style.paddingBottom=i+"%",this.supported.ui){var r=(240-i)/4.8;this.media.style.transform="translateY(-"+r+"%)"}},ready:function(){var t=this,e=this,n=st({loop:e.config.loop.active,autoplay:e.autoplay,byline:!1,portrait:!1,title:!1,speed:!0,transparent:0,gesture:"media",playsinline:!this.config.fullscreen.iosNative}),i=e.media.getAttribute("src");c.empty(i)&&(i=e.media.getAttribute(e.config.attributes.embed.id));var r,o=c.empty(r=i)?null:c.number(Number(r))?r:r.match(/^.*(vimeo.com\/|video\/)(\d+).*/)?RegExp.$2:r,a=x("iframe"),s=X(e.config.urls.vimeo.iframe,o,n);a.setAttribute("src",s),a.setAttribute("allowfullscreen",""),a.setAttribute("allowtransparency",""),a.setAttribute("allow","autoplay");var l=x("div",{poster:e.poster,class:e.config.classNames.embedContainer});l.appendChild(a),e.media=S(l,e.media),Z(X(e.config.urls.vimeo.api,o),"json").then((function(t){if(!c.empty(t)){var n=new URL(t[0].thumbnail_large);n.pathname=n.pathname.split("_")[0]+".jpg",bt.setPoster.call(e,n.href).catch((function(){}))}})),e.embed=new window.Vimeo.Player(a,{autopause:e.config.autopause,muted:e.muted}),e.media.paused=!0,e.media.currentTime=0,e.supported.ui&&e.embed.disableTextTrack(),e.media.play=function(){return kt.call(e,!0),e.embed.play()},e.media.pause=function(){return kt.call(e,!1),e.embed.pause()},e.media.stop=function(){e.pause(),e.currentTime=0};var u=e.media.currentTime;Object.defineProperty(e.media,"currentTime",{get:function(){return u},set:function(t){var n=e.embed,i=e.media,r=e.paused,o=e.volume,a=r&&!n.hasPlayed;i.seeking=!0,g.call(e,i,"seeking"),Promise.resolve(a&&n.setVolume(0)).then((function(){return n.setCurrentTime(t)})).then((function(){return a&&n.pause()})).then((function(){return a&&n.setVolume(o)})).catch((function(){}))}});var h=e.config.speed.selected;Object.defineProperty(e.media,"playbackRate",{get:function(){return h},set:function(t){e.embed.setPlaybackRate(t).then((function(){h=t,g.call(e,e.media,"ratechange")})).catch((function(t){"Error"===t.name&&ot.setSpeedMenu.call(e,[])}))}});var f=e.config.volume;Object.defineProperty(e.media,"volume",{get:function(){return f},set:function(t){e.embed.setVolume(t).then((function(){f=t,g.call(e,e.media,"volumechange")}))}});var d=e.config.muted;Object.defineProperty(e.media,"muted",{get:function(){return d},set:function(t){var n=!!c.boolean(t)&&t;e.embed.setVolume(n?0:e.config.volume).then((function(){d=n,g.call(e,e.media,"volumechange")}))}});var p=e.config.loop;Object.defineProperty(e.media,"loop",{get:function(){return p},set:function(t){var n=c.boolean(t)?t:e.config.loop.active;e.embed.setLoop(n).then((function(){p=n}))}});var m=void 0;e.embed.getVideoUrl().then((function(t){m=t})).catch((function(e){t.debug.warn(e)})),Object.defineProperty(e.media,"currentSrc",{get:function(){return m}}),Object.defineProperty(e.media,"ended",{get:function(){return e.currentTime===e.duration}}),Promise.all([e.embed.getVideoWidth(),e.embed.getVideoHeight()]).then((function(e){var n=function(t,e){var n=function t(e,n){return 0===n?e:t(n,e%n)}(t,e);return t/n+":"+e/n}(e[0],e[1]);At.setAspectRatio.call(t,n)})),e.embed.setAutopause(e.config.autopause).then((function(t){e.config.autopause=t})),e.embed.getVideoTitle().then((function(n){e.config.title=n,bt.setTitle.call(t)})),e.embed.getCurrentTime().then((function(t){u=t,g.call(e,e.media,"timeupdate")})),e.embed.getDuration().then((function(t){e.media.duration=t,g.call(e,e.media,"durationchange")})),e.embed.getTextTracks().then((function(t){e.media.textTracks=t,lt.setup.call(e)})),e.embed.on("cuechange",(function(t){var n=t.cues,i=(void 0===n?[]:n).map((function(t){return e=t.text,n=document.createDocumentFragment(),i=document.createElement("div"),n.appendChild(i),i.innerHTML=e,n.firstChild.innerText;var e,n,i}));lt.updateCues.call(e,i)})),e.embed.on("loaded",(function(){e.embed.getPaused().then((function(t){kt.call(e,!t),t||g.call(e,e.media,"playing")})),c.element(e.embed.element)&&e.supported.ui&&e.embed.element.setAttribute("tabindex",-1)})),e.embed.on("play",(function(){kt.call(e,!0),g.call(e,e.media,"playing")})),e.embed.on("pause",(function(){kt.call(e,!1)})),e.embed.on("timeupdate",(function(t){e.media.seeking=!1,u=t.seconds,g.call(e,e.media,"timeupdate")})),e.embed.on("progress",(function(t){e.media.buffered=t.percent,g.call(e,e.media,"progress"),1===parseInt(t.percent,10)&&g.call(e,e.media,"canplaythrough"),e.embed.getDuration().then((function(t){t!==e.media.duration&&(e.media.duration=t,g.call(e,e.media,"durationchange"))}))})),e.embed.on("seeked",(function(){e.media.seeking=!1,g.call(e,e.media,"seeked")})),e.embed.on("ended",(function(){e.media.paused=!0,g.call(e,e.media,"ended")})),e.embed.on("error",(function(t){e.media.error=t,g.call(e,e.media,"error")})),setTimeout((function(){return bt.build.call(e)}),0)}};function St(t){var e=Object.entries({hd2160:2160,hd1440:1440,hd1080:1080,hd720:720,large:480,medium:360,small:240,tiny:144}).find((function(e){return e.includes(t)}));return e?e.find((function(e){return e!==t})):"default"}function Ct(t){t&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===t&&(this.media.paused=!t,g.call(this,this.media,t?"play":"pause"))}var Pt,Et={setup:function(){var t=this;E(this.elements.wrapper,this.config.classNames.embed,!0),Et.setAspectRatio.call(this),c.object(window.YT)&&c.function(window.YT.Player)?Et.ready.call(this):(Tt(this.config.urls.youtube.sdk).catch((function(e){t.debug.warn("YouTube API failed to load",e)})),window.onYouTubeReadyCallbacks=window.onYouTubeReadyCallbacks||[],window.onYouTubeReadyCallbacks.push((function(){Et.ready.call(t)})),window.onYouTubeIframeAPIReady=function(){window.onYouTubeReadyCallbacks.forEach((function(t){t()}))})},getTitle:function(t){var e=this;if(c.function(this.embed.getVideoData)){var n=this.embed.getVideoData().title;if(c.empty(n))return this.config.title=n,void bt.setTitle.call(this)}var i=this.config.keys.google;c.string(i)&&!c.empty(i)&&Z(X(this.config.urls.youtube.api,t,i)).then((function(t){c.object(t)&&(e.config.title=t.items[0].snippet.title,bt.setTitle.call(e))})).catch((function(){}))},setAspectRatio:function(){var t=this.config.ratio.split(":");this.elements.wrapper.style.paddingBottom=100/t[0]*t[1]+"%"},ready:function(){var t=this,e=t.media.getAttribute("id");if(c.empty(e)||!e.startsWith("youtube-")){var n=t.media.getAttribute("src");c.empty(n)&&(n=t.media.getAttribute(this.config.attributes.embed.id));var i,r=c.empty(i=n)?null:i.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#&?]*).*/)?RegExp.$2:i,o=t.provider+"-"+Math.floor(1e4*Math.random()),a=x("div",{id:o,poster:t.poster});t.media=S(a,t.media);var s=function(t){return"https://img.youtube.com/vi/"+r+"/"+t+"default.jpg"};yt(s("maxres"),121).catch((function(){return yt(s("sd"),121)})).catch((function(){return yt(s("hq"))})).then((function(e){return bt.setPoster.call(t,e.src)})).then((function(e){e.includes("maxres")||(t.elements.poster.style.backgroundSize="cover")})).catch((function(){})),t.embed=new window.YT.Player(o,{videoId:r,playerVars:{autoplay:t.config.autoplay?1:0,controls:t.supported.ui?0:1,rel:0,showinfo:0,iv_load_policy:3,modestbranding:1,disablekb:1,playsinline:1,widget_referrer:window?window.location.href:null,cc_load_policy:t.captions.active?1:0,cc_lang_pref:t.config.captions.language},events:{onError:function(e){if(!t.media.error){var n=e.data,i={2:"The request contains an invalid parameter value. For example, this error occurs if you specify a video ID that does not have 11 characters, or if the video ID contains invalid characters, such as exclamation points or asterisks.",5:"The requested content cannot be played in an HTML5 player or another error related to the HTML5 player has occurred.",100:"The video requested was not found. This error occurs when a video has been removed (for any reason) or has been marked as private.",101:"The owner of the requested video does not allow it to be played in embedded players.",150:"The owner of the requested video does not allow it to be played in embedded players."}[n]||"An unknown error occured";t.media.error={code:n,message:i},g.call(t,t.media,"error")}},onPlaybackQualityChange:function(){g.call(t,t.media,"qualitychange",!1,{quality:t.media.quality})},onPlaybackRateChange:function(e){var n=e.target;t.media.playbackRate=n.getPlaybackRate(),g.call(t,t.media,"ratechange")},onReady:function(e){var n=e.target;Et.getTitle.call(t,r),t.media.play=function(){Ct.call(t,!0),n.playVideo()},t.media.pause=function(){Ct.call(t,!1),n.pauseVideo()},t.media.stop=function(){n.stopVideo()},t.media.duration=n.getDuration(),t.media.paused=!0,t.media.currentTime=0,Object.defineProperty(t.media,"currentTime",{get:function(){return Number(n.getCurrentTime())},set:function(e){t.paused&&!t.embed.hasPlayed&&t.embed.mute(),t.media.seeking=!0,g.call(t,t.media,"seeking"),n.seekTo(e)}}),Object.defineProperty(t.media,"playbackRate",{get:function(){return n.getPlaybackRate()},set:function(t){n.setPlaybackRate(t)}}),Object.defineProperty(t.media,"quality",{get:function(){return St(n.getPlaybackQuality())},set:function(t){n.setPlaybackQuality(St(t))}});var i=t.config.volume;Object.defineProperty(t.media,"volume",{get:function(){return i},set:function(e){i=e,n.setVolume(100*i),g.call(t,t.media,"volumechange")}});var o=t.config.muted;Object.defineProperty(t.media,"muted",{get:function(){return o},set:function(e){var i=c.boolean(e)?e:o;o=i,n[i?"mute":"unMute"](),g.call(t,t.media,"volumechange")}}),Object.defineProperty(t.media,"currentSrc",{get:function(){return n.getVideoUrl()}}),Object.defineProperty(t.media,"ended",{get:function(){return t.currentTime===t.duration}}),t.options.speed=n.getAvailablePlaybackRates(),t.supported.ui&&t.media.setAttribute("tabindex",-1),g.call(t,t.media,"timeupdate"),g.call(t,t.media,"durationchange"),clearInterval(t.timers.buffering),t.timers.buffering=setInterval((function(){t.media.buffered=n.getVideoLoadedFraction(),(null===t.media.lastBuffered||t.media.lastBuffered<t.media.buffered)&&g.call(t,t.media,"progress"),t.media.lastBuffered=t.media.buffered,1===t.media.buffered&&(clearInterval(t.timers.buffering),g.call(t,t.media,"canplaythrough"))}),200),setTimeout((function(){return bt.build.call(t)}),50)},onStateChange:function(e){var n,i=e.target;switch(clearInterval(t.timers.playing),t.media.seeking&&[1,2].includes(e.data)&&(t.media.seeking=!1,g.call(t,t.media,"seeked")),e.data){case-1:g.call(t,t.media,"timeupdate"),t.media.buffered=i.getVideoLoadedFraction(),g.call(t,t.media,"progress");break;case 0:Ct.call(t,!1),t.media.loop?(i.stopVideo(),i.playVideo()):g.call(t,t.media,"ended");break;case 1:t.media.paused&&!t.embed.hasPlayed?t.media.pause():(Ct.call(t,!0),g.call(t,t.media,"playing"),t.timers.playing=setInterval((function(){g.call(t,t.media,"timeupdate")}),50),t.media.duration!==i.getDuration()&&(t.media.duration=i.getDuration(),g.call(t,t.media,"durationchange")),ot.setQualityMenu.call(t,(n=i.getAvailableQualityLevels(),c.empty(n)?n:J(n.map((function(t){return St(t)}))))));break;case 2:t.muted||t.embed.unMute(),Ct.call(t,!1)}g.call(t,t.elements.container,"statechange",!1,{code:e.data})}}})}}},Ot={setup:function(){this.media?(E(this.elements.container,this.config.classNames.type.replace("{0}",this.type),!0),E(this.elements.container,this.config.classNames.provider.replace("{0}",this.provider),!0),this.isEmbed&&E(this.elements.container,this.config.classNames.type.replace("{0}","video"),!0),this.isVideo&&(this.elements.wrapper=x("div",{class:this.config.classNames.video}),w(this.media,this.elements.wrapper),this.elements.poster=x("div",{class:this.config.classNames.poster}),this.elements.wrapper.appendChild(this.elements.poster)),this.isHTML5?W.extend.call(this):this.isYouTube?Et.setup.call(this):this.isVimeo&&At.setup.call(this)):this.debug.warn("No media element found!")}},Rt=function(){function t(e){var n=this;m(this,t),this.player=e,this.publisherId=e.config.ads.publisherId,this.playing=!1,this.initialized=!1,this.elements={container:null,displayContainer:null},this.manager=null,this.loader=null,this.cuePoints=null,this.events={},this.safetyTimer=null,this.countdownTimer=null,this.managerPromise=new Promise((function(t,e){n.on("loaded",t),n.on("error",e)})),this.load()}return v(t,[{key:"load",value:function(){var t=this;this.enabled&&(c.object(window.google)&&c.object(window.google.ima)?this.ready():Tt(this.player.config.urls.googleIMA.sdk).then((function(){t.ready()})).catch((function(){t.trigger("error",new Error("Google IMA SDK failed to load"))})))}},{key:"ready",value:function(){var t=this;this.startSafetyTimer(12e3,"ready()"),this.managerPromise.then((function(){t.clearSafetyTimer("onAdsManagerLoaded()")})),this.listeners(),this.setupIMA()}},{key:"setupIMA",value:function(){this.elements.container=x("div",{class:this.player.config.classNames.ads}),this.player.elements.container.appendChild(this.elements.container),google.ima.settings.setVpaidMode(google.ima.ImaSdkSettings.VpaidMode.ENABLED),google.ima.settings.setLocale(this.player.config.ads.language),this.elements.displayContainer=new google.ima.AdDisplayContainer(this.elements.container),this.requestAds()}},{key:"requestAds",value:function(){var t=this,e=this.player.elements.container;try{this.loader=new google.ima.AdsLoader(this.elements.displayContainer),this.loader.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,(function(e){return t.onAdsManagerLoaded(e)}),!1),this.loader.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,(function(e){return t.onAdError(e)}),!1);var n=new google.ima.AdsRequest;n.adTagUrl=this.tagUrl,n.linearAdSlotWidth=e.offsetWidth,n.linearAdSlotHeight=e.offsetHeight,n.nonLinearAdSlotWidth=e.offsetWidth,n.nonLinearAdSlotHeight=e.offsetHeight,n.forceNonLinearFullSlot=!1,n.setAdWillPlayMuted(!this.player.muted),this.loader.requestAds(n)}catch(t){this.onAdError(t)}}},{key:"pollCountdown",value:function(){var t=this;if(!(arguments.length>0&&void 0!==arguments[0]&&arguments[0]))return clearInterval(this.countdownTimer),void this.elements.container.removeAttribute("data-badge-text");this.countdownTimer=setInterval((function(){var e=rt(Math.max(t.manager.getRemainingTime(),0)),n=Q("advertisement",t.player.config)+" - "+e;t.elements.container.setAttribute("data-badge-text",n)}),100)}},{key:"onAdsManagerLoaded",value:function(t){var e=this,n=new google.ima.AdsRenderingSettings;n.restoreCustomPlaybackStateOnAdBreakComplete=!0,n.enablePreloading=!0,this.manager=t.getAdsManager(this.player,n),this.cuePoints=this.manager.getCuePoints(),c.empty(this.cuePoints)||this.cuePoints.forEach((function(t){if(0!==t&&-1!==t&&t<e.player.duration){var n=e.player.elements.progress;if(c.element(n)){var i=100/e.player.duration*t,r=x("span",{class:e.player.config.classNames.cues});r.style.left=i.toString()+"%",n.appendChild(r)}}})),this.manager.setVolume(this.player.volume),this.manager.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,(function(t){return e.onAdError(t)})),Object.keys(google.ima.AdEvent.Type).forEach((function(t){e.manager.addEventListener(google.ima.AdEvent.Type[t],(function(t){return e.onAdEvent(t)}))})),this.trigger("loaded")}},{key:"onAdEvent",value:function(t){var e=this,n=this.player.elements.container,i=t.getAd(),r=function(t){var n="ads"+t.replace(/_/g,"").toLowerCase();g.call(e.player,e.player.media,n)};switch(t.type){case google.ima.AdEvent.Type.LOADED:this.trigger("loaded"),r(t.type),this.pollCountdown(!0),i.isLinear()||(i.width=n.offsetWidth,i.height=n.offsetHeight);break;case google.ima.AdEvent.Type.ALL_ADS_COMPLETED:r(t.type),this.loadAds();break;case google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED:r(t.type),this.pauseContent();break;case google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED:r(t.type),this.pollCountdown(),this.resumeContent();break;case google.ima.AdEvent.Type.STARTED:case google.ima.AdEvent.Type.MIDPOINT:case google.ima.AdEvent.Type.COMPLETE:case google.ima.AdEvent.Type.IMPRESSION:case google.ima.AdEvent.Type.CLICK:r(t.type)}}},{key:"onAdError",value:function(t){this.cancel(),this.player.debug.warn("Ads error",t)}},{key:"listeners",value:function(){var t=this,e=this.player.elements.container,n=void 0;this.player.on("ended",(function(){t.loader.contentComplete()})),this.player.on("seeking",(function(){return n=t.player.currentTime})),this.player.on("seeked",(function(){var e=t.player.currentTime;c.empty(t.cuePoints)||t.cuePoints.forEach((function(i,r){n<i&&i<e&&(t.manager.discardAdBreak(),t.cuePoints.splice(r,1))}))})),window.addEventListener("resize",(function(){t.manager&&t.manager.resize(e.offsetWidth,e.offsetHeight,google.ima.ViewMode.NORMAL)}))}},{key:"play",value:function(){var t=this,e=this.player.elements.container;this.managerPromise||this.resumeContent(),this.managerPromise.then((function(){t.elements.displayContainer.initialize();try{t.initialized||(t.manager.init(e.offsetWidth,e.offsetHeight,google.ima.ViewMode.NORMAL),t.manager.start()),t.initialized=!0}catch(e){t.onAdError(e)}})).catch((function(){}))}},{key:"resumeContent",value:function(){this.elements.container.style.zIndex="",this.playing=!1,this.player.currentTime<this.player.duration&&this.player.play()}},{key:"pauseContent",value:function(){this.elements.container.style.zIndex=3,this.playing=!0,this.player.pause()}},{key:"cancel",value:function(){this.initialized&&this.resumeContent(),this.trigger("error"),this.loadAds()}},{key:"loadAds",value:function(){var t=this;this.managerPromise.then((function(){t.manager&&t.manager.destroy(),t.managerPromise=new Promise((function(e){t.on("loaded",e),t.player.debug.log(t.manager)})),t.requestAds()})).catch((function(){}))}},{key:"trigger",value:function(t){for(var e=this,n=arguments.length,i=Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];var o=this.events[t];c.array(o)&&o.forEach((function(t){c.function(t)&&t.apply(e,i)}))}},{key:"on",value:function(t,e){return c.array(this.events[t])||(this.events[t]=[]),this.events[t].push(e),this}},{key:"startSafetyTimer",value:function(t,e){var n=this;this.player.debug.log("Safety timer invoked from: "+e),this.safetyTimer=setTimeout((function(){n.cancel(),n.clearSafetyTimer("startSafetyTimer()")}),t)}},{key:"clearSafetyTimer",value:function(t){c.nullOrUndefined(this.safetyTimer)||(this.player.debug.log("Safety timer cleared from: "+t),clearTimeout(this.safetyTimer),this.safetyTimer=null)}},{key:"enabled",get:function(){return this.player.isHTML5&&this.player.isVideo&&this.player.config.ads.enabled&&!c.empty(this.publisherId)}},{key:"tagUrl",get:function(){return"https://go.aniview.com/api/adserver6/vast/?"+st({AV_PUBLISHERID:"58c25bb0073ef448b1087ad6",AV_CHANNELID:"5a0458dc28a06145e4519d21",AV_URL:window.location.hostname,cb:Date.now(),AV_WIDTH:640,AV_HEIGHT:480,AV_CDIM2:this.publisherId})}}]),t}(),It={insertElements:function(t,e){var n=this;c.string(e)?T(t,this.media,{src:e}):c.array(e)&&e.forEach((function(e){T(t,n.media,e)}))},change:function(t){var e=this;$(t,"sources.length")?(W.cancelRequests.call(this),this.destroy.call(this,(function(){e.options.quality=[],k(e.media),e.media=null,c.element(e.elements.container)&&e.elements.container.removeAttribute("class");var n=t.sources,i=t.type,r=b(n,1)[0],o=r.provider,a=void 0===o?ut.html5:o,s=r.src,l="html5"===a?i:"div",u="html5"===a?{}:{src:s};Object.assign(e,{provider:a,type:i,supported:H.check(i,a,e.config.playsinline),media:x(l,u)}),e.elements.container.appendChild(e.media),c.boolean(t.autoplay)&&(e.config.autoplay=t.autoplay),e.isHTML5&&(e.config.crossorigin&&e.media.setAttribute("crossorigin",""),e.config.autoplay&&e.media.setAttribute("autoplay",""),c.empty(t.poster)||(e.poster=t.poster),e.config.loop.active&&e.media.setAttribute("loop",""),e.config.muted&&e.media.setAttribute("muted",""),e.config.playsinline&&e.media.setAttribute("playsinline","")),bt.addStyleHook.call(e),e.isHTML5&&It.insertElements.call(e,"source",n),e.config.title=t.title,Ot.setup.call(e),e.isHTML5&&("tracks"in t&&It.insertElements.call(e,"track",t.tracks),e.media.load()),(e.isHTML5||e.isEmbed&&!e.supported.ui)&&bt.build.call(e),e.fullscreen.update()}),!0)):this.debug.warn("Invalid source format")}},qt=function(){function t(e,n){var i=this;if(m(this,t),this.timers={},this.ready=!1,this.loading=!1,this.failed=!1,this.touch=H.touch,this.media=e,c.string(this.media)&&(this.media=document.querySelectorAll(this.media)),(window.jQuery&&this.media instanceof jQuery||c.nodeList(this.media)||c.array(this.media))&&(this.media=this.media[0]),this.config=U({},ct,t.defaults,n||{},function(){try{return JSON.parse(i.media.getAttribute("data-plyr-config"))}catch(t){return{}}}()),this.elements={container:null,buttons:{},display:{},progress:{},inputs:{},settings:{menu:null,panes:{},tabs:{}},captions:null},this.captions={active:null,currentTrack:-1,meta:new WeakMap},this.fullscreen={active:!1},this.options={speed:[],quality:[]},this.debug=new pt(this.config.debug),this.debug.log("Config",this.config),this.debug.log("Support",H),!c.nullOrUndefined(this.media)&&c.element(this.media))if(this.media.plyr)this.debug.warn("Target already setup");else if(this.config.enabled)if(H.check().api){var r=this.media.cloneNode(!0);r.autoplay=!1,this.elements.original=r;var o=this.media.tagName.toLowerCase(),a=null,s=null;switch(o){case"div":if(a=this.media.querySelector("iframe"),c.element(a)){if(s=at(a.getAttribute("src")),this.provider=function(t){return/^(https?:\/\/)?(www\.)?(youtube\.com|youtu\.?be)\/.+$/.test(t)?ut.youtube:/^https?:\/\/player.vimeo.com\/video\/\d{0,9}(?=\b|\/)/.test(t)?ut.vimeo:null}(s.toString()),this.elements.container=this.media,this.media=a,this.elements.container.className="",s.searchParams.length){var l=["1","true"];l.includes(s.searchParams.get("autoplay"))&&(this.config.autoplay=!0),l.includes(s.searchParams.get("loop"))&&(this.config.loop.active=!0),this.isYouTube?this.config.playsinline=l.includes(s.searchParams.get("playsinline")):this.config.playsinline=!0}}else this.provider=this.media.getAttribute(this.config.attributes.embed.provider),this.media.removeAttribute(this.config.attributes.embed.provider);if(c.empty(this.provider)||!Object.keys(ut).includes(this.provider))return void this.debug.error("Setup failed: Invalid provider");this.type=ft;break;case"video":case"audio":this.type=o,this.provider=ut.html5,this.media.hasAttribute("crossorigin")&&(this.config.crossorigin=!0),this.media.hasAttribute("autoplay")&&(this.config.autoplay=!0),this.media.hasAttribute("playsinline")&&(this.config.playsinline=!0),this.media.hasAttribute("muted")&&(this.config.muted=!0),this.media.hasAttribute("loop")&&(this.config.loop.active=!0);break;default:return void this.debug.error("Setup failed: unsupported type")}this.supported=H.check(this.type,this.provider,this.config.playsinline),this.supported.api?(this.eventListeners=[],this.listeners=new wt(this),this.storage=new K(this),this.media.plyr=this,c.element(this.elements.container)||(this.elements.container=x("div"),w(this.media,this.elements.container)),bt.addStyleHook.call(this),Ot.setup.call(this),this.config.debug&&f.call(this,this.elements.container,this.config.events.join(" "),(function(t){i.debug.log("event: "+t.type)})),(this.isHTML5||this.isEmbed&&!this.supported.ui)&&bt.build.call(this),this.listeners.container(),this.listeners.global(),this.fullscreen=new vt(this),this.ads=new Rt(this),this.config.autoplay&&this.play()):this.debug.error("Setup failed: no support")}else this.debug.error("Setup failed: no support");else this.debug.error("Setup failed: disabled by config");else this.debug.error("Setup failed: no suitable element passed")}return v(t,[{key:"play",value:function(){return c.function(this.media.play)?this.media.play():null}},{key:"pause",value:function(){this.playing&&c.function(this.media.pause)&&this.media.pause()}},{key:"togglePlay",value:function(t){(c.boolean(t)?t:!this.playing)?this.play():this.pause()}},{key:"stop",value:function(){this.isHTML5?(this.pause(),this.restart()):c.function(this.media.stop)&&this.media.stop()}},{key:"restart",value:function(){this.currentTime=0}},{key:"rewind",value:function(t){this.currentTime=this.currentTime-(c.number(t)?t:this.config.seekTime)}},{key:"forward",value:function(t){this.currentTime=this.currentTime+(c.number(t)?t:this.config.seekTime)}},{key:"increaseVolume",value:function(t){var e=this.media.muted?0:this.volume;this.volume=e+(c.number(t)?t:0)}},{key:"decreaseVolume",value:function(t){this.increaseVolume(-t)}},{key:"toggleCaptions",value:function(t){lt.toggle.call(this,t,!1)}},{key:"airplay",value:function(){H.airplay&&this.media.webkitShowPlaybackTargetPicker()}},{key:"toggleControls",value:function(t){if(this.supported.ui&&!this.isAudio){var e=O(this.elements.container,this.config.classNames.hideControls),n=void 0===t?void 0:!t,i=E(this.elements.container,this.config.classNames.hideControls,n);if(i&&this.config.controls.includes("settings")&&!c.empty(this.config.settings)&&ot.toggleMenu.call(this,!1),i!==e){var r=i?"controlshidden":"controlsshown";g.call(this,this.media,r)}return!i}return!1}},{key:"on",value:function(t,e){f.call(this,this.elements.container,t,e)}},{key:"once",value:function(t,e){p.call(this,this.elements.container,t,e)}},{key:"off",value:function(t,e){d(this.elements.container,t,e)}},{key:"destroy",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.ready){var i=function(){document.body.style.overflow="",e.embed=null,n?(Object.keys(e.elements).length&&(k(e.elements.buttons.play),k(e.elements.captions),k(e.elements.controls),k(e.elements.wrapper),e.elements.buttons.play=null,e.elements.captions=null,e.elements.controls=null,e.elements.wrapper=null),c.function(t)&&t()):(function(){this&&this.eventListeners&&(this.eventListeners.forEach((function(t){var e=t.element,n=t.type,i=t.callback,r=t.options;e.removeEventListener(n,i,r)})),this.eventListeners=[])}.call(e),S(e.elements.original,e.elements.container),g.call(e,e.elements.original,"destroyed",!0),c.function(t)&&t.call(e.elements.original),e.ready=!1,setTimeout((function(){e.elements=null,e.media=null}),200))};this.stop(),this.isHTML5?(clearTimeout(this.timers.loading),bt.toggleNativeControls.call(this,!0),i()):this.isYouTube?(clearInterval(this.timers.buffering),clearInterval(this.timers.playing),null!==this.embed&&c.function(this.embed.destroy)&&this.embed.destroy(),i()):this.isVimeo&&(null!==this.embed&&this.embed.unload().then(i),setTimeout(i,200))}}},{key:"supports",value:function(t){return H.mime.call(this,t)}},{key:"isHTML5",get:function(){return Boolean(this.provider===ut.html5)}},{key:"isEmbed",get:function(){return Boolean(this.isYouTube||this.isVimeo)}},{key:"isYouTube",get:function(){return Boolean(this.provider===ut.youtube)}},{key:"isVimeo",get:function(){return Boolean(this.provider===ut.vimeo)}},{key:"isVideo",get:function(){return Boolean(this.type===ft)}},{key:"isAudio",get:function(){return Boolean(this.type===ht)}},{key:"playing",get:function(){return Boolean(this.ready&&!this.paused&&!this.ended)}},{key:"paused",get:function(){return Boolean(this.media.paused)}},{key:"stopped",get:function(){return Boolean(this.paused&&0===this.currentTime)}},{key:"ended",get:function(){return Boolean(this.media.ended)}},{key:"currentTime",set:function(t){if(this.duration){var e=c.number(t)&&t>0;this.media.currentTime=e?Math.min(t,this.duration):0,this.debug.log("Seeking to "+this.currentTime+" seconds")}},get:function(){return Number(this.media.currentTime)}},{key:"buffered",get:function(){var t=this.media.buffered;return c.number(t)?t:t&&t.length&&this.duration>0?t.end(0)/this.duration:0}},{key:"seeking",get:function(){return Boolean(this.media.seeking)}},{key:"duration",get:function(){var t=parseFloat(this.config.duration),e=(this.media||{}).duration,n=c.number(e)&&e!==1/0?e:0;return t||n}},{key:"volume",set:function(t){var e=t;c.string(e)&&(e=Number(e)),c.number(e)||(e=this.storage.get("volume")),c.number(e)||(e=this.config.volume),e>1&&(e=1),e<0&&(e=0),this.config.volume=e,this.media.volume=e,!c.empty(t)&&this.muted&&e>0&&(this.muted=!1)},get:function(){return Number(this.media.volume)}},{key:"muted",set:function(t){var e=t;c.boolean(e)||(e=this.storage.get("muted")),c.boolean(e)||(e=this.config.muted),this.config.muted=e,this.media.muted=e},get:function(){return Boolean(this.media.muted)}},{key:"hasAudio",get:function(){return!this.isHTML5||!!this.isAudio||Boolean(this.media.mozHasAudio)||Boolean(this.media.webkitAudioDecodedByteCount)||Boolean(this.media.audioTracks&&this.media.audioTracks.length)}},{key:"speed",set:function(t){var e=null;c.number(t)&&(e=t),c.number(e)||(e=this.storage.get("speed")),c.number(e)||(e=this.config.speed.selected),e<.1&&(e=.1),e>2&&(e=2),this.config.speed.options.includes(e)?(this.config.speed.selected=e,this.media.playbackRate=e):this.debug.warn("Unsupported speed ("+e+")")},get:function(){return Number(this.media.playbackRate)}},{key:"quality",set:function(t){var e=this.config.quality,n=this.options.quality;if(n.length){var i=[!c.empty(t)&&Number(t),this.storage.get("quality"),e.selected,e.default].find(c.number);if(!n.includes(i)){var r=function(t,e){return c.array(t)&&t.length?t.reduce((function(t,n){return Math.abs(n-e)<Math.abs(t-e)?n:t})):null}(n,i);this.debug.warn("Unsupported quality option: "+i+", using "+r+" instead"),i=r}g.call(this,this.media,"qualityrequested",!1,{quality:i}),e.selected=i,this.media.quality=i}},get:function(){return this.media.quality}},{key:"loop",set:function(t){var e=c.boolean(t)?t:this.config.loop.active;this.config.loop.active=e,this.media.loop=e},get:function(){return Boolean(this.media.loop)}},{key:"source",set:function(t){It.change.call(this,t)},get:function(){return this.media.currentSrc}},{key:"poster",set:function(t){this.isVideo?bt.setPoster.call(this,t,!1).catch((function(){})):this.debug.warn("Poster can only be set for video")},get:function(){return this.isVideo?this.media.getAttribute("poster"):null}},{key:"autoplay",set:function(t){var e=c.boolean(t)?t:this.config.autoplay;this.config.autoplay=e},get:function(){return Boolean(this.config.autoplay)}},{key:"currentTrack",set:function(t){lt.set.call(this,t,!1)},get:function(){var t=this.captions,e=t.toggled,n=t.currentTrack;return e?n:-1}},{key:"language",set:function(t){lt.setLanguage.call(this,t,!1)},get:function(){return(lt.getCurrentTrack.call(this)||{}).language}},{key:"pip",set:function(t){var e="inline";if(H.pip){var n=c.boolean(t)?t:this.pip===e;this.media.webkitSetPresentationMode(n?"picture-in-picture":e)}},get:function(){return H.pip?this.media.webkitPresentationMode:null}}],[{key:"supported",value:function(t,e,n){return H.check(t,e,n)}},{key:"loadSprite",value:function(t,e){return tt(t,e)}},{key:"setup",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null;return c.string(e)?i=Array.from(document.querySelectorAll(e)):c.nodeList(e)?i=Array.from(e):c.array(e)&&(i=e.filter(c.element)),c.empty(i)?null:i.map((function(e){return new t(e,n)}))}}]),t}();return qt.defaults=(Pt=ct,JSON.parse(JSON.stringify(Pt))),qt}())}).call(this,n(47))},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var i=n(0),r=(i._gsScope.document||{}).documentElement,o=i._gsScope,a=function(t,e){var n="x"===e?"Width":"Height",i="scroll"+n,a="client"+n,s=document.body;return t===o||t===r||t===s?Math.max(r[i],s[i])-(o["inner"+n]||r[a]||s[a]):t[i]-t["offset"+n]},s=function(t,e){var n="scroll"+("x"===e?"Left":"Top");return t===o&&(null!=t.pageXOffset?n="page"+e.toUpperCase()+"Offset":t=null!=r[n]?r:document.body),function(){return t[n]}},l=function(t,e){var n,i=(n=t,"string"==typeof n&&(n=TweenLite.selector(n)),n.length&&n!==o&&n[0]&&n[0].style&&!n.nodeType&&(n=n[0]),n===o||n.nodeType&&n.style?n:null).getBoundingClientRect(),a=document.body,l=!e||e===o||e===a,c=l?{top:r.clientTop-(window.pageYOffset||r.scrollTop||a.scrollTop||0),left:r.clientLeft-(window.pageXOffset||r.scrollLeft||a.scrollLeft||0)}:e.getBoundingClientRect(),u={x:i.left-c.left,y:i.top-c.top};return!l&&e&&(u.x+=s(e,"x")(),u.y+=s(e,"y")()),u},c=function(t,e,n,i){var r=typeof t;return isNaN(t)?"string"===r&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+i:"max"===t?a(e,n):Math.min(a(e,n),l(t,e)[n]):parseFloat(t)},u=i._gsScope._gsDefine.plugin({propName:"scrollTo",API:2,global:!0,version:"1.9.2",init:function(t,e,n){return this._wdw=t===o,this._target=t,this._tween=n,"object"!=typeof e?"string"==typeof(e={y:e}).y&&"max"!==e.y&&"="!==e.y.charAt(1)&&(e.x=e.y):e.nodeType&&(e={y:e,x:e}),this.vars=e,this._autoKill=!1!==e.autoKill,this.getX=s(t,"x"),this.getY=s(t,"y"),this.x=this.xPrev=this.getX(),this.y=this.yPrev=this.getY(),null!=e.x?(this._addTween(this,"x",this.x,c(e.x,t,"x",this.x)-(e.offsetX||0),"scrollTo_x",!0),this._overwriteProps.push("scrollTo_x")):this.skipX=!0,null!=e.y?(this._addTween(this,"y",this.y,c(e.y,t,"y",this.y)-(e.offsetY||0),"scrollTo_y",!0),this._overwriteProps.push("scrollTo_y")):this.skipY=!0,!0},set:function(t){this._super.setRatio.call(this,t);var e=this._wdw||!this.skipX?this.getX():this.xPrev,n=this._wdw||!this.skipY?this.getY():this.yPrev,i=n-this.yPrev,r=e-this.xPrev,s=u.autoKillThreshold;this.x<0&&(this.x=0),this.y<0&&(this.y=0),this._autoKill&&(!this.skipX&&(r>s||r<-s)&&e<a(this._target,"x")&&(this.skipX=!0),!this.skipY&&(i>s||i<-s)&&n<a(this._target,"y")&&(this.skipY=!0),this.skipX&&this.skipY&&(this._tween.kill(),this.vars.onAutoKill&&this.vars.onAutoKill.apply(this.vars.onAutoKillScope||this._tween,this.vars.onAutoKillParams||[]))),this._wdw?o.scrollTo(this.skipX?e:this.x,this.skipY?n:this.y):(this.skipY||(this._target.scrollTop=this.y),this.skipX||(this._target.scrollLeft=this.x)),this.xPrev=this.x,this.yPrev=this.y}}),h=u.prototype;
/*!
 * VERSION: 1.9.2
 * DATE: 2019-02-07
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 * 
 * @author: Jack Doyle, jack@greensock.com
 **/u.max=a,u.getOffset=l,u.buildGetter=s,u.autoKillThreshold=7,h._kill=function(t){return t.scrollTo_x&&(this.skipX=!0),t.scrollTo_y&&(this.skipY=!0),this._super._kill.call(this,t)}},function(t,e,n){(function(n){var i;
/*!
 *  howler.js v2.2.1
 *  howlerjs.com
 *
 *  (c) 2013-2020, James Simpson of GoldFire Studios
 *  goldfirestudios.com
 *
 *  MIT License
 */!function(){"use strict";var r=function(){this.init()};r.prototype={init:function(){var t=this||o;return t._counter=1e3,t._html5AudioPool=[],t.html5PoolSize=10,t._codecs={},t._howls=[],t._muted=!1,t._volume=1,t._canPlayEvent="canplaythrough",t._navigator="undefined"!=typeof window&&window.navigator?window.navigator:null,t.masterGain=null,t.noAudio=!1,t.usingWebAudio=!0,t.autoSuspend=!0,t.ctx=null,t.autoUnlock=!0,t._setup(),t},volume:function(t){var e=this||o;if(t=parseFloat(t),e.ctx||d(),void 0!==t&&t>=0&&t<=1){if(e._volume=t,e._muted)return e;e.usingWebAudio&&e.masterGain.gain.setValueAtTime(t,o.ctx.currentTime);for(var n=0;n<e._howls.length;n++)if(!e._howls[n]._webAudio)for(var i=e._howls[n]._getSoundIds(),r=0;r<i.length;r++){var a=e._howls[n]._soundById(i[r]);a&&a._node&&(a._node.volume=a._volume*t)}return e}return e._volume},mute:function(t){var e=this||o;e.ctx||d(),e._muted=t,e.usingWebAudio&&e.masterGain.gain.setValueAtTime(t?0:e._volume,o.ctx.currentTime);for(var n=0;n<e._howls.length;n++)if(!e._howls[n]._webAudio)for(var i=e._howls[n]._getSoundIds(),r=0;r<i.length;r++){var a=e._howls[n]._soundById(i[r]);a&&a._node&&(a._node.muted=!!t||a._muted)}return e},stop:function(){for(var t=this||o,e=0;e<t._howls.length;e++)t._howls[e].stop();return t},unload:function(){for(var t=this||o,e=t._howls.length-1;e>=0;e--)t._howls[e].unload();return t.usingWebAudio&&t.ctx&&void 0!==t.ctx.close&&(t.ctx.close(),t.ctx=null,d()),t},codecs:function(t){return(this||o)._codecs[t.replace(/^x-/,"")]},_setup:function(){var t=this||o;if(t.state=t.ctx&&t.ctx.state||"suspended",t._autoSuspend(),!t.usingWebAudio)if("undefined"!=typeof Audio)try{void 0===(new Audio).oncanplaythrough&&(t._canPlayEvent="canplay")}catch(e){t.noAudio=!0}else t.noAudio=!0;try{(new Audio).muted&&(t.noAudio=!0)}catch(t){}return t.noAudio||t._setupCodecs(),t},_setupCodecs:function(){var t=this||o,e=null;try{e="undefined"!=typeof Audio?new Audio:null}catch(e){return t}if(!e||"function"!=typeof e.canPlayType)return t;var n=e.canPlayType("audio/mpeg;").replace(/^no$/,""),i=t._navigator&&t._navigator.userAgent.match(/OPR\/([0-6].)/g),r=i&&parseInt(i[0].split("/")[1],10)<33;return t._codecs={mp3:!(r||!n&&!e.canPlayType("audio/mp3;").replace(/^no$/,"")),mpeg:!!n,opus:!!e.canPlayType('audio/ogg; codecs="opus"').replace(/^no$/,""),ogg:!!e.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),oga:!!e.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),wav:!!(e.canPlayType('audio/wav; codecs="1"')||e.canPlayType("audio/wav")).replace(/^no$/,""),aac:!!e.canPlayType("audio/aac;").replace(/^no$/,""),caf:!!e.canPlayType("audio/x-caf;").replace(/^no$/,""),m4a:!!(e.canPlayType("audio/x-m4a;")||e.canPlayType("audio/m4a;")||e.canPlayType("audio/aac;")).replace(/^no$/,""),m4b:!!(e.canPlayType("audio/x-m4b;")||e.canPlayType("audio/m4b;")||e.canPlayType("audio/aac;")).replace(/^no$/,""),mp4:!!(e.canPlayType("audio/x-mp4;")||e.canPlayType("audio/mp4;")||e.canPlayType("audio/aac;")).replace(/^no$/,""),weba:!!e.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,""),webm:!!e.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,""),dolby:!!e.canPlayType('audio/mp4; codecs="ec-3"').replace(/^no$/,""),flac:!!(e.canPlayType("audio/x-flac;")||e.canPlayType("audio/flac;")).replace(/^no$/,"")},t},_unlockAudio:function(){var t=this||o;if(!t._audioUnlocked&&t.ctx){t._audioUnlocked=!1,t.autoUnlock=!1,t._mobileUnloaded||44100===t.ctx.sampleRate||(t._mobileUnloaded=!0,t.unload()),t._scratchBuffer=t.ctx.createBuffer(1,1,22050);var e=function(n){for(;t._html5AudioPool.length<t.html5PoolSize;)try{var i=new Audio;i._unlocked=!0,t._releaseHtml5Audio(i)}catch(n){t.noAudio=!0;break}for(var r=0;r<t._howls.length;r++)if(!t._howls[r]._webAudio)for(var o=t._howls[r]._getSoundIds(),a=0;a<o.length;a++){var s=t._howls[r]._soundById(o[a]);s&&s._node&&!s._node._unlocked&&(s._node._unlocked=!0,s._node.load())}t._autoResume();var l=t.ctx.createBufferSource();l.buffer=t._scratchBuffer,l.connect(t.ctx.destination),void 0===l.start?l.noteOn(0):l.start(0),"function"==typeof t.ctx.resume&&t.ctx.resume(),l.onended=function(){l.disconnect(0),t._audioUnlocked=!0,document.removeEventListener("touchstart",e,!0),document.removeEventListener("touchend",e,!0),document.removeEventListener("click",e,!0);for(var n=0;n<t._howls.length;n++)t._howls[n]._emit("unlock")}};return document.addEventListener("touchstart",e,!0),document.addEventListener("touchend",e,!0),document.addEventListener("click",e,!0),t}},_obtainHtml5Audio:function(){var t=this||o;if(t._html5AudioPool.length)return t._html5AudioPool.pop();var e=(new Audio).play();return e&&"undefined"!=typeof Promise&&(e instanceof Promise||"function"==typeof e.then)&&e.catch((function(){console.warn("HTML5 Audio pool exhausted, returning potentially locked audio object.")})),new Audio},_releaseHtml5Audio:function(t){var e=this||o;return t._unlocked&&e._html5AudioPool.push(t),e},_autoSuspend:function(){var t=this;if(t.autoSuspend&&t.ctx&&void 0!==t.ctx.suspend&&o.usingWebAudio){for(var e=0;e<t._howls.length;e++)if(t._howls[e]._webAudio)for(var n=0;n<t._howls[e]._sounds.length;n++)if(!t._howls[e]._sounds[n]._paused)return t;return t._suspendTimer&&clearTimeout(t._suspendTimer),t._suspendTimer=setTimeout((function(){if(t.autoSuspend){t._suspendTimer=null,t.state="suspending";var e=function(){t.state="suspended",t._resumeAfterSuspend&&(delete t._resumeAfterSuspend,t._autoResume())};t.ctx.suspend().then(e,e)}}),3e4),t}},_autoResume:function(){var t=this;if(t.ctx&&void 0!==t.ctx.resume&&o.usingWebAudio)return"running"===t.state&&"interrupted"!==t.ctx.state&&t._suspendTimer?(clearTimeout(t._suspendTimer),t._suspendTimer=null):"suspended"===t.state||"running"===t.state&&"interrupted"===t.ctx.state?(t.ctx.resume().then((function(){t.state="running";for(var e=0;e<t._howls.length;e++)t._howls[e]._emit("resume")})),t._suspendTimer&&(clearTimeout(t._suspendTimer),t._suspendTimer=null)):"suspending"===t.state&&(t._resumeAfterSuspend=!0),t}};var o=new r,a=function(t){t.src&&0!==t.src.length?this.init(t):console.error("An array of source files must be passed with any new Howl.")};a.prototype={init:function(t){var e=this;return o.ctx||d(),e._autoplay=t.autoplay||!1,e._format="string"!=typeof t.format?t.format:[t.format],e._html5=t.html5||!1,e._muted=t.mute||!1,e._loop=t.loop||!1,e._pool=t.pool||5,e._preload="boolean"!=typeof t.preload&&"metadata"!==t.preload||t.preload,e._rate=t.rate||1,e._sprite=t.sprite||{},e._src="string"!=typeof t.src?t.src:[t.src],e._volume=void 0!==t.volume?t.volume:1,e._xhr={method:t.xhr&&t.xhr.method?t.xhr.method:"GET",headers:t.xhr&&t.xhr.headers?t.xhr.headers:null,withCredentials:!(!t.xhr||!t.xhr.withCredentials)&&t.xhr.withCredentials},e._duration=0,e._state="unloaded",e._sounds=[],e._endTimers={},e._queue=[],e._playLock=!1,e._onend=t.onend?[{fn:t.onend}]:[],e._onfade=t.onfade?[{fn:t.onfade}]:[],e._onload=t.onload?[{fn:t.onload}]:[],e._onloaderror=t.onloaderror?[{fn:t.onloaderror}]:[],e._onplayerror=t.onplayerror?[{fn:t.onplayerror}]:[],e._onpause=t.onpause?[{fn:t.onpause}]:[],e._onplay=t.onplay?[{fn:t.onplay}]:[],e._onstop=t.onstop?[{fn:t.onstop}]:[],e._onmute=t.onmute?[{fn:t.onmute}]:[],e._onvolume=t.onvolume?[{fn:t.onvolume}]:[],e._onrate=t.onrate?[{fn:t.onrate}]:[],e._onseek=t.onseek?[{fn:t.onseek}]:[],e._onunlock=t.onunlock?[{fn:t.onunlock}]:[],e._onresume=[],e._webAudio=o.usingWebAudio&&!e._html5,void 0!==o.ctx&&o.ctx&&o.autoUnlock&&o._unlockAudio(),o._howls.push(e),e._autoplay&&e._queue.push({event:"play",action:function(){e.play()}}),e._preload&&"none"!==e._preload&&e.load(),e},load:function(){var t=null;if(o.noAudio)this._emit("loaderror",null,"No audio support.");else{"string"==typeof this._src&&(this._src=[this._src]);for(var e=0;e<this._src.length;e++){var n,i;if(this._format&&this._format[e])n=this._format[e];else{if("string"!=typeof(i=this._src[e])){this._emit("loaderror",null,"Non-string found in selected audio sources - ignoring.");continue}(n=/^data:audio\/([^;,]+);/i.exec(i))||(n=/\.([^.]+)$/.exec(i.split("?",1)[0])),n&&(n=n[1].toLowerCase())}if(n||console.warn('No file extension was found. Consider using the "format" property or specify an extension.'),n&&o.codecs(n)){t=this._src[e];break}}if(t)return this._src=t,this._state="loading","https:"===window.location.protocol&&"http:"===t.slice(0,5)&&(this._html5=!0,this._webAudio=!1),new s(this),this._webAudio&&c(this),this;this._emit("loaderror",null,"No codec support for selected audio sources.")}},play:function(t,e){var n=this,i=null;if("number"==typeof t)i=t,t=null;else{if("string"==typeof t&&"loaded"===n._state&&!n._sprite[t])return null;if(void 0===t&&(t="__default",!n._playLock)){for(var r=0,a=0;a<n._sounds.length;a++)n._sounds[a]._paused&&!n._sounds[a]._ended&&(r++,i=n._sounds[a]._id);1===r?t=null:i=null}}var s=i?n._soundById(i):n._inactiveSound();if(!s)return null;if(i&&!t&&(t=s._sprite||"__default"),"loaded"!==n._state){s._sprite=t,s._ended=!1;var l=s._id;return n._queue.push({event:"play",action:function(){n.play(l)}}),l}if(i&&!s._paused)return e||n._loadQueue("play"),s._id;n._webAudio&&o._autoResume();var c=Math.max(0,s._seek>0?s._seek:n._sprite[t][0]/1e3),u=Math.max(0,(n._sprite[t][0]+n._sprite[t][1])/1e3-c),h=1e3*u/Math.abs(s._rate),f=n._sprite[t][0]/1e3,d=(n._sprite[t][0]+n._sprite[t][1])/1e3;s._sprite=t,s._ended=!1;var p=function(){s._paused=!1,s._seek=c,s._start=f,s._stop=d,s._loop=!(!s._loop&&!n._sprite[t][2])};if(!(c>=d)){var g=s._node;if(n._webAudio){var m=function(){n._playLock=!1,p(),n._refreshBuffer(s);var t=s._muted||n._muted?0:s._volume;g.gain.setValueAtTime(t,o.ctx.currentTime),s._playStart=o.ctx.currentTime,void 0===g.bufferSource.start?s._loop?g.bufferSource.noteGrainOn(0,c,86400):g.bufferSource.noteGrainOn(0,c,u):s._loop?g.bufferSource.start(0,c,86400):g.bufferSource.start(0,c,u),h!==1/0&&(n._endTimers[s._id]=setTimeout(n._ended.bind(n,s),h)),e||setTimeout((function(){n._emit("play",s._id),n._loadQueue()}),0)};"running"===o.state&&"interrupted"!==o.ctx.state?m():(n._playLock=!0,n.once("resume",m),n._clearTimer(s._id))}else{var v=function(){g.currentTime=c,g.muted=s._muted||n._muted||o._muted||g.muted,g.volume=s._volume*o.volume(),g.playbackRate=s._rate;try{var i=g.play();if(i&&"undefined"!=typeof Promise&&(i instanceof Promise||"function"==typeof i.then)?(n._playLock=!0,p(),i.then((function(){n._playLock=!1,g._unlocked=!0,e||(n._emit("play",s._id),n._loadQueue())})).catch((function(){n._playLock=!1,n._emit("playerror",s._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction."),s._ended=!0,s._paused=!0}))):e||(n._playLock=!1,p(),n._emit("play",s._id),n._loadQueue()),g.playbackRate=s._rate,g.paused)return void n._emit("playerror",s._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction.");"__default"!==t||s._loop?n._endTimers[s._id]=setTimeout(n._ended.bind(n,s),h):(n._endTimers[s._id]=function(){n._ended(s),g.removeEventListener("ended",n._endTimers[s._id],!1)},g.addEventListener("ended",n._endTimers[s._id],!1))}catch(t){n._emit("playerror",s._id,t)}};"data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA"===g.src&&(g.src=n._src,g.load());var y=window&&window.ejecta||!g.readyState&&o._navigator.isCocoonJS;if(g.readyState>=3||y)v();else{n._playLock=!0;var b=function(){v(),g.removeEventListener(o._canPlayEvent,b,!1)};g.addEventListener(o._canPlayEvent,b,!1),n._clearTimer(s._id)}}return s._id}n._ended(s)},pause:function(t){var e=this;if("loaded"!==e._state||e._playLock)return e._queue.push({event:"pause",action:function(){e.pause(t)}}),e;for(var n=e._getSoundIds(t),i=0;i<n.length;i++){e._clearTimer(n[i]);var r=e._soundById(n[i]);if(r&&!r._paused&&(r._seek=e.seek(n[i]),r._rateSeek=0,r._paused=!0,e._stopFade(n[i]),r._node))if(e._webAudio){if(!r._node.bufferSource)continue;void 0===r._node.bufferSource.stop?r._node.bufferSource.noteOff(0):r._node.bufferSource.stop(0),e._cleanBuffer(r._node)}else isNaN(r._node.duration)&&r._node.duration!==1/0||r._node.pause();arguments[1]||e._emit("pause",r?r._id:null)}return e},stop:function(t,e){var n=this;if("loaded"!==n._state||n._playLock)return n._queue.push({event:"stop",action:function(){n.stop(t)}}),n;for(var i=n._getSoundIds(t),r=0;r<i.length;r++){n._clearTimer(i[r]);var o=n._soundById(i[r]);o&&(o._seek=o._start||0,o._rateSeek=0,o._paused=!0,o._ended=!0,n._stopFade(i[r]),o._node&&(n._webAudio?o._node.bufferSource&&(void 0===o._node.bufferSource.stop?o._node.bufferSource.noteOff(0):o._node.bufferSource.stop(0),n._cleanBuffer(o._node)):isNaN(o._node.duration)&&o._node.duration!==1/0||(o._node.currentTime=o._start||0,o._node.pause(),o._node.duration===1/0&&n._clearSound(o._node))),e||n._emit("stop",o._id))}return n},mute:function(t,e){var n=this;if("loaded"!==n._state||n._playLock)return n._queue.push({event:"mute",action:function(){n.mute(t,e)}}),n;if(void 0===e){if("boolean"!=typeof t)return n._muted;n._muted=t}for(var i=n._getSoundIds(e),r=0;r<i.length;r++){var a=n._soundById(i[r]);a&&(a._muted=t,a._interval&&n._stopFade(a._id),n._webAudio&&a._node?a._node.gain.setValueAtTime(t?0:a._volume,o.ctx.currentTime):a._node&&(a._node.muted=!!o._muted||t),n._emit("mute",a._id))}return n},volume:function(){var t,e,n,i=this,r=arguments;if(0===r.length)return i._volume;if(1===r.length||2===r.length&&void 0===r[1]){var a=i._getSoundIds(),s=a.indexOf(r[0]);s>=0?e=parseInt(r[0],10):t=parseFloat(r[0])}else r.length>=2&&(t=parseFloat(r[0]),e=parseInt(r[1],10));if(!(void 0!==t&&t>=0&&t<=1))return(n=e?i._soundById(e):i._sounds[0])?n._volume:0;if("loaded"!==i._state||i._playLock)return i._queue.push({event:"volume",action:function(){i.volume.apply(i,r)}}),i;void 0===e&&(i._volume=t),e=i._getSoundIds(e);for(var l=0;l<e.length;l++)(n=i._soundById(e[l]))&&(n._volume=t,r[2]||i._stopFade(e[l]),i._webAudio&&n._node&&!n._muted?n._node.gain.setValueAtTime(t,o.ctx.currentTime):n._node&&!n._muted&&(n._node.volume=t*o.volume()),i._emit("volume",n._id));return i},fade:function(t,e,n,i){var r=this;if("loaded"!==r._state||r._playLock)return r._queue.push({event:"fade",action:function(){r.fade(t,e,n,i)}}),r;t=Math.min(Math.max(0,parseFloat(t)),1),e=Math.min(Math.max(0,parseFloat(e)),1),n=parseFloat(n),r.volume(t,i);for(var a=r._getSoundIds(i),s=0;s<a.length;s++){var l=r._soundById(a[s]);if(l){if(i||r._stopFade(a[s]),r._webAudio&&!l._muted){var c=o.ctx.currentTime,u=c+n/1e3;l._volume=t,l._node.gain.setValueAtTime(t,c),l._node.gain.linearRampToValueAtTime(e,u)}r._startFadeInterval(l,t,e,n,a[s],void 0===i)}}return r},_startFadeInterval:function(t,e,n,i,r,o){var a=this,s=e,l=n-e,c=Math.abs(l/.01),u=Math.max(4,c>0?i/c:i),h=Date.now();t._fadeTo=n,t._interval=setInterval((function(){var r=(Date.now()-h)/i;h=Date.now(),s+=l*r,s=Math.round(100*s)/100,s=l<0?Math.max(n,s):Math.min(n,s),a._webAudio?t._volume=s:a.volume(s,t._id,!0),o&&(a._volume=s),(n<e&&s<=n||n>e&&s>=n)&&(clearInterval(t._interval),t._interval=null,t._fadeTo=null,a.volume(n,t._id),a._emit("fade",t._id))}),u)},_stopFade:function(t){var e=this._soundById(t);return e&&e._interval&&(this._webAudio&&e._node.gain.cancelScheduledValues(o.ctx.currentTime),clearInterval(e._interval),e._interval=null,this.volume(e._fadeTo,t),e._fadeTo=null,this._emit("fade",t)),this},loop:function(){var t,e,n,i=this,r=arguments;if(0===r.length)return i._loop;if(1===r.length){if("boolean"!=typeof r[0])return!!(n=i._soundById(parseInt(r[0],10)))&&n._loop;t=r[0],i._loop=t}else 2===r.length&&(t=r[0],e=parseInt(r[1],10));for(var o=i._getSoundIds(e),a=0;a<o.length;a++)(n=i._soundById(o[a]))&&(n._loop=t,i._webAudio&&n._node&&n._node.bufferSource&&(n._node.bufferSource.loop=t,t&&(n._node.bufferSource.loopStart=n._start||0,n._node.bufferSource.loopEnd=n._stop)));return i},rate:function(){var t,e,n,i=this,r=arguments;if(0===r.length)e=i._sounds[0]._id;else if(1===r.length){var a=i._getSoundIds(),s=a.indexOf(r[0]);s>=0?e=parseInt(r[0],10):t=parseFloat(r[0])}else 2===r.length&&(t=parseFloat(r[0]),e=parseInt(r[1],10));if("number"!=typeof t)return(n=i._soundById(e))?n._rate:i._rate;if("loaded"!==i._state||i._playLock)return i._queue.push({event:"rate",action:function(){i.rate.apply(i,r)}}),i;void 0===e&&(i._rate=t),e=i._getSoundIds(e);for(var l=0;l<e.length;l++)if(n=i._soundById(e[l])){i.playing(e[l])&&(n._rateSeek=i.seek(e[l]),n._playStart=i._webAudio?o.ctx.currentTime:n._playStart),n._rate=t,i._webAudio&&n._node&&n._node.bufferSource?n._node.bufferSource.playbackRate.setValueAtTime(t,o.ctx.currentTime):n._node&&(n._node.playbackRate=t);var c=i.seek(e[l]),u=(i._sprite[n._sprite][0]+i._sprite[n._sprite][1])/1e3-c,h=1e3*u/Math.abs(n._rate);!i._endTimers[e[l]]&&n._paused||(i._clearTimer(e[l]),i._endTimers[e[l]]=setTimeout(i._ended.bind(i,n),h)),i._emit("rate",n._id)}return i},seek:function(){var t,e,n=this,i=arguments;if(0===i.length)e=n._sounds[0]._id;else if(1===i.length){var r=n._getSoundIds(),a=r.indexOf(i[0]);a>=0?e=parseInt(i[0],10):n._sounds.length&&(e=n._sounds[0]._id,t=parseFloat(i[0]))}else 2===i.length&&(t=parseFloat(i[0]),e=parseInt(i[1],10));if(void 0===e)return n;if("number"==typeof t&&("loaded"!==n._state||n._playLock))return n._queue.push({event:"seek",action:function(){n.seek.apply(n,i)}}),n;var s=n._soundById(e);if(s){if(!("number"==typeof t&&t>=0)){if(n._webAudio){var l=n.playing(e)?o.ctx.currentTime-s._playStart:0,c=s._rateSeek?s._rateSeek-s._seek:0;return s._seek+(c+l*Math.abs(s._rate))}return s._node.currentTime}var u=n.playing(e);u&&n.pause(e,!0),s._seek=t,s._ended=!1,n._clearTimer(e),n._webAudio||!s._node||isNaN(s._node.duration)||(s._node.currentTime=t);var h=function(){n._emit("seek",e),u&&n.play(e,!0)};if(u&&!n._webAudio){var f=function(){n._playLock?setTimeout(f,0):h()};setTimeout(f,0)}else h()}return n},playing:function(t){if("number"==typeof t){var e=this._soundById(t);return!!e&&!e._paused}for(var n=0;n<this._sounds.length;n++)if(!this._sounds[n]._paused)return!0;return!1},duration:function(t){var e=this._duration,n=this._soundById(t);return n&&(e=this._sprite[n._sprite][1]/1e3),e},state:function(){return this._state},unload:function(){for(var t=this,e=t._sounds,n=0;n<e.length;n++)e[n]._paused||t.stop(e[n]._id),t._webAudio||(t._clearSound(e[n]._node),e[n]._node.removeEventListener("error",e[n]._errorFn,!1),e[n]._node.removeEventListener(o._canPlayEvent,e[n]._loadFn,!1),e[n]._node.removeEventListener("ended",e[n]._endFn,!1),o._releaseHtml5Audio(e[n]._node)),delete e[n]._node,t._clearTimer(e[n]._id);var i=o._howls.indexOf(t);i>=0&&o._howls.splice(i,1);var r=!0;for(n=0;n<o._howls.length;n++)if(o._howls[n]._src===t._src||t._src.indexOf(o._howls[n]._src)>=0){r=!1;break}return l&&r&&delete l[t._src],o.noAudio=!1,t._state="unloaded",t._sounds=[],t=null,null},on:function(t,e,n,i){var r=this["_on"+t];return"function"==typeof e&&r.push(i?{id:n,fn:e,once:i}:{id:n,fn:e}),this},off:function(t,e,n){var i=this["_on"+t],r=0;if("number"==typeof e&&(n=e,e=null),e||n)for(r=0;r<i.length;r++){var o=n===i[r].id;if(e===i[r].fn&&o||!e&&o){i.splice(r,1);break}}else if(t)this["_on"+t]=[];else{var a=Object.keys(this);for(r=0;r<a.length;r++)0===a[r].indexOf("_on")&&Array.isArray(this[a[r]])&&(this[a[r]]=[])}return this},once:function(t,e,n){return this.on(t,e,n,1),this},_emit:function(t,e,n){for(var i=this["_on"+t],r=i.length-1;r>=0;r--)i[r].id&&i[r].id!==e&&"load"!==t||(setTimeout(function(t){t.call(this,e,n)}.bind(this,i[r].fn),0),i[r].once&&this.off(t,i[r].fn,i[r].id));return this._loadQueue(t),this},_loadQueue:function(t){if(this._queue.length>0){var e=this._queue[0];e.event===t&&(this._queue.shift(),this._loadQueue()),t||e.action()}return this},_ended:function(t){var e=t._sprite;if(!this._webAudio&&t._node&&!t._node.paused&&!t._node.ended&&t._node.currentTime<t._stop)return setTimeout(this._ended.bind(this,t),100),this;var n=!(!t._loop&&!this._sprite[e][2]);if(this._emit("end",t._id),!this._webAudio&&n&&this.stop(t._id,!0).play(t._id),this._webAudio&&n){this._emit("play",t._id),t._seek=t._start||0,t._rateSeek=0,t._playStart=o.ctx.currentTime;var i=1e3*(t._stop-t._start)/Math.abs(t._rate);this._endTimers[t._id]=setTimeout(this._ended.bind(this,t),i)}return this._webAudio&&!n&&(t._paused=!0,t._ended=!0,t._seek=t._start||0,t._rateSeek=0,this._clearTimer(t._id),this._cleanBuffer(t._node),o._autoSuspend()),this._webAudio||n||this.stop(t._id,!0),this},_clearTimer:function(t){if(this._endTimers[t]){if("function"!=typeof this._endTimers[t])clearTimeout(this._endTimers[t]);else{var e=this._soundById(t);e&&e._node&&e._node.removeEventListener("ended",this._endTimers[t],!1)}delete this._endTimers[t]}return this},_soundById:function(t){for(var e=0;e<this._sounds.length;e++)if(t===this._sounds[e]._id)return this._sounds[e];return null},_inactiveSound:function(){this._drain();for(var t=0;t<this._sounds.length;t++)if(this._sounds[t]._ended)return this._sounds[t].reset();return new s(this)},_drain:function(){var t=this._pool,e=0,n=0;if(!(this._sounds.length<t)){for(n=0;n<this._sounds.length;n++)this._sounds[n]._ended&&e++;for(n=this._sounds.length-1;n>=0;n--){if(e<=t)return;this._sounds[n]._ended&&(this._webAudio&&this._sounds[n]._node&&this._sounds[n]._node.disconnect(0),this._sounds.splice(n,1),e--)}}},_getSoundIds:function(t){if(void 0===t){for(var e=[],n=0;n<this._sounds.length;n++)e.push(this._sounds[n]._id);return e}return[t]},_refreshBuffer:function(t){return t._node.bufferSource=o.ctx.createBufferSource(),t._node.bufferSource.buffer=l[this._src],t._panner?t._node.bufferSource.connect(t._panner):t._node.bufferSource.connect(t._node),t._node.bufferSource.loop=t._loop,t._loop&&(t._node.bufferSource.loopStart=t._start||0,t._node.bufferSource.loopEnd=t._stop||0),t._node.bufferSource.playbackRate.setValueAtTime(t._rate,o.ctx.currentTime),this},_cleanBuffer:function(t){var e=o._navigator&&o._navigator.vendor.indexOf("Apple")>=0;if(o._scratchBuffer&&t.bufferSource&&(t.bufferSource.onended=null,t.bufferSource.disconnect(0),e))try{t.bufferSource.buffer=o._scratchBuffer}catch(t){}return t.bufferSource=null,this},_clearSound:function(t){/MSIE |Trident\//.test(o._navigator&&o._navigator.userAgent)||(t.src="data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA")}};var s=function(t){this._parent=t,this.init()};s.prototype={init:function(){var t=this._parent;return this._muted=t._muted,this._loop=t._loop,this._volume=t._volume,this._rate=t._rate,this._seek=0,this._paused=!0,this._ended=!0,this._sprite="__default",this._id=++o._counter,t._sounds.push(this),this.create(),this},create:function(){var t=this._parent,e=o._muted||this._muted||this._parent._muted?0:this._volume;return t._webAudio?(this._node=void 0===o.ctx.createGain?o.ctx.createGainNode():o.ctx.createGain(),this._node.gain.setValueAtTime(e,o.ctx.currentTime),this._node.paused=!0,this._node.connect(o.masterGain)):o.noAudio||(this._node=o._obtainHtml5Audio(),this._errorFn=this._errorListener.bind(this),this._node.addEventListener("error",this._errorFn,!1),this._loadFn=this._loadListener.bind(this),this._node.addEventListener(o._canPlayEvent,this._loadFn,!1),this._endFn=this._endListener.bind(this),this._node.addEventListener("ended",this._endFn,!1),this._node.src=t._src,this._node.preload=!0===t._preload?"auto":t._preload,this._node.volume=e*o.volume(),this._node.load()),this},reset:function(){var t=this._parent;return this._muted=t._muted,this._loop=t._loop,this._volume=t._volume,this._rate=t._rate,this._seek=0,this._rateSeek=0,this._paused=!0,this._ended=!0,this._sprite="__default",this._id=++o._counter,this},_errorListener:function(){this._parent._emit("loaderror",this._id,this._node.error?this._node.error.code:0),this._node.removeEventListener("error",this._errorFn,!1)},_loadListener:function(){var t=this._parent;t._duration=Math.ceil(10*this._node.duration)/10,0===Object.keys(t._sprite).length&&(t._sprite={__default:[0,1e3*t._duration]}),"loaded"!==t._state&&(t._state="loaded",t._emit("load"),t._loadQueue()),this._node.removeEventListener(o._canPlayEvent,this._loadFn,!1)},_endListener:function(){var t=this._parent;t._duration===1/0&&(t._duration=Math.ceil(10*this._node.duration)/10,t._sprite.__default[1]===1/0&&(t._sprite.__default[1]=1e3*t._duration),t._ended(this)),this._node.removeEventListener("ended",this._endFn,!1)}};var l={},c=function(t){var e=t._src;if(l[e])return t._duration=l[e].duration,void f(t);if(/^data:[^;]+;base64,/.test(e)){for(var n=atob(e.split(",")[1]),i=new Uint8Array(n.length),r=0;r<n.length;++r)i[r]=n.charCodeAt(r);h(i.buffer,t)}else{var o=new XMLHttpRequest;o.open(t._xhr.method,e,!0),o.withCredentials=t._xhr.withCredentials,o.responseType="arraybuffer",t._xhr.headers&&Object.keys(t._xhr.headers).forEach((function(e){o.setRequestHeader(e,t._xhr.headers[e])})),o.onload=function(){var e=(o.status+"")[0];"0"===e||"2"===e||"3"===e?h(o.response,t):t._emit("loaderror",null,"Failed loading audio file with status: "+o.status+".")},o.onerror=function(){t._webAudio&&(t._html5=!0,t._webAudio=!1,t._sounds=[],delete l[e],t.load())},u(o)}},u=function(t){try{t.send()}catch(e){t.onerror()}},h=function(t,e){var n=function(){e._emit("loaderror",null,"Decoding audio data failed.")},i=function(t){t&&e._sounds.length>0?(l[e._src]=t,f(e,t)):n()};"undefined"!=typeof Promise&&1===o.ctx.decodeAudioData.length?o.ctx.decodeAudioData(t).then(i).catch(n):o.ctx.decodeAudioData(t,i,n)},f=function(t,e){e&&!t._duration&&(t._duration=e.duration),0===Object.keys(t._sprite).length&&(t._sprite={__default:[0,1e3*t._duration]}),"loaded"!==t._state&&(t._state="loaded",t._emit("load"),t._loadQueue())},d=function(){if(o.usingWebAudio){try{"undefined"!=typeof AudioContext?o.ctx=new AudioContext:"undefined"!=typeof webkitAudioContext?o.ctx=new webkitAudioContext:o.usingWebAudio=!1}catch(t){o.usingWebAudio=!1}o.ctx||(o.usingWebAudio=!1);var t=/iP(hone|od|ad)/.test(o._navigator&&o._navigator.platform),e=o._navigator&&o._navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/),n=e?parseInt(e[1],10):null;if(t&&n&&n<9){var i=/safari/.test(o._navigator&&o._navigator.userAgent.toLowerCase());o._navigator&&!i&&(o.usingWebAudio=!1)}o.usingWebAudio&&(o.masterGain=void 0===o.ctx.createGain?o.ctx.createGainNode():o.ctx.createGain(),o.masterGain.gain.setValueAtTime(o._muted?0:o._volume,o.ctx.currentTime),o.masterGain.connect(o.ctx.destination)),o._setup()}};void 0===(i=function(){return{Howler:o,Howl:a}}.apply(e,[]))||(t.exports=i),e.Howler=o,e.Howl=a,void 0!==n?(n.HowlerGlobal=r,n.Howler=o,n.Howl=a,n.Sound=s):"undefined"!=typeof window&&(window.HowlerGlobal=r,window.Howler=o,window.Howl=a,window.Sound=s)}(),
/*!
 *  Spatial Plugin - Adds support for stereo and 3D audio where Web Audio is supported.
 *  
 *  howler.js v2.2.1
 *  howlerjs.com
 *
 *  (c) 2013-2020, James Simpson of GoldFire Studios
 *  goldfirestudios.com
 *
 *  MIT License
 */
function(){"use strict";var t;HowlerGlobal.prototype._pos=[0,0,0],HowlerGlobal.prototype._orientation=[0,0,-1,0,1,0],HowlerGlobal.prototype.stereo=function(t){if(!this.ctx||!this.ctx.listener)return this;for(var e=this._howls.length-1;e>=0;e--)this._howls[e].stereo(t);return this},HowlerGlobal.prototype.pos=function(t,e,n){return this.ctx&&this.ctx.listener?(e="number"!=typeof e?this._pos[1]:e,n="number"!=typeof n?this._pos[2]:n,"number"!=typeof t?this._pos:(this._pos=[t,e,n],void 0!==this.ctx.listener.positionX?(this.ctx.listener.positionX.setTargetAtTime(this._pos[0],Howler.ctx.currentTime,.1),this.ctx.listener.positionY.setTargetAtTime(this._pos[1],Howler.ctx.currentTime,.1),this.ctx.listener.positionZ.setTargetAtTime(this._pos[2],Howler.ctx.currentTime,.1)):this.ctx.listener.setPosition(this._pos[0],this._pos[1],this._pos[2]),this)):this},HowlerGlobal.prototype.orientation=function(t,e,n,i,r,o){if(!this.ctx||!this.ctx.listener)return this;var a=this._orientation;return e="number"!=typeof e?a[1]:e,n="number"!=typeof n?a[2]:n,i="number"!=typeof i?a[3]:i,r="number"!=typeof r?a[4]:r,o="number"!=typeof o?a[5]:o,"number"!=typeof t?a:(this._orientation=[t,e,n,i,r,o],void 0!==this.ctx.listener.forwardX?(this.ctx.listener.forwardX.setTargetAtTime(t,Howler.ctx.currentTime,.1),this.ctx.listener.forwardY.setTargetAtTime(e,Howler.ctx.currentTime,.1),this.ctx.listener.forwardZ.setTargetAtTime(n,Howler.ctx.currentTime,.1),this.ctx.listener.upX.setTargetAtTime(i,Howler.ctx.currentTime,.1),this.ctx.listener.upY.setTargetAtTime(r,Howler.ctx.currentTime,.1),this.ctx.listener.upZ.setTargetAtTime(o,Howler.ctx.currentTime,.1)):this.ctx.listener.setOrientation(t,e,n,i,r,o),this)},Howl.prototype.init=(t=Howl.prototype.init,function(e){return this._orientation=e.orientation||[1,0,0],this._stereo=e.stereo||null,this._pos=e.pos||null,this._pannerAttr={coneInnerAngle:void 0!==e.coneInnerAngle?e.coneInnerAngle:360,coneOuterAngle:void 0!==e.coneOuterAngle?e.coneOuterAngle:360,coneOuterGain:void 0!==e.coneOuterGain?e.coneOuterGain:0,distanceModel:void 0!==e.distanceModel?e.distanceModel:"inverse",maxDistance:void 0!==e.maxDistance?e.maxDistance:1e4,panningModel:void 0!==e.panningModel?e.panningModel:"HRTF",refDistance:void 0!==e.refDistance?e.refDistance:1,rolloffFactor:void 0!==e.rolloffFactor?e.rolloffFactor:1},this._onstereo=e.onstereo?[{fn:e.onstereo}]:[],this._onpos=e.onpos?[{fn:e.onpos}]:[],this._onorientation=e.onorientation?[{fn:e.onorientation}]:[],t.call(this,e)}),Howl.prototype.stereo=function(t,n){var i=this;if(!i._webAudio)return i;if("loaded"!==i._state)return i._queue.push({event:"stereo",action:function(){i.stereo(t,n)}}),i;var r=void 0===Howler.ctx.createStereoPanner?"spatial":"stereo";if(void 0===n){if("number"!=typeof t)return i._stereo;i._stereo=t,i._pos=[t,0,0]}for(var o=i._getSoundIds(n),a=0;a<o.length;a++){var s=i._soundById(o[a]);if(s){if("number"!=typeof t)return s._stereo;s._stereo=t,s._pos=[t,0,0],s._node&&(s._pannerAttr.panningModel="equalpower",s._panner&&s._panner.pan||e(s,r),"spatial"===r?void 0!==s._panner.positionX?(s._panner.positionX.setValueAtTime(t,Howler.ctx.currentTime),s._panner.positionY.setValueAtTime(0,Howler.ctx.currentTime),s._panner.positionZ.setValueAtTime(0,Howler.ctx.currentTime)):s._panner.setPosition(t,0,0):s._panner.pan.setValueAtTime(t,Howler.ctx.currentTime)),i._emit("stereo",s._id)}}return i},Howl.prototype.pos=function(t,n,i,r){var o=this;if(!o._webAudio)return o;if("loaded"!==o._state)return o._queue.push({event:"pos",action:function(){o.pos(t,n,i,r)}}),o;if(n="number"!=typeof n?0:n,i="number"!=typeof i?-.5:i,void 0===r){if("number"!=typeof t)return o._pos;o._pos=[t,n,i]}for(var a=o._getSoundIds(r),s=0;s<a.length;s++){var l=o._soundById(a[s]);if(l){if("number"!=typeof t)return l._pos;l._pos=[t,n,i],l._node&&(l._panner&&!l._panner.pan||e(l,"spatial"),void 0!==l._panner.positionX?(l._panner.positionX.setValueAtTime(t,Howler.ctx.currentTime),l._panner.positionY.setValueAtTime(n,Howler.ctx.currentTime),l._panner.positionZ.setValueAtTime(i,Howler.ctx.currentTime)):l._panner.setPosition(t,n,i)),o._emit("pos",l._id)}}return o},Howl.prototype.orientation=function(t,n,i,r){var o=this;if(!o._webAudio)return o;if("loaded"!==o._state)return o._queue.push({event:"orientation",action:function(){o.orientation(t,n,i,r)}}),o;if(n="number"!=typeof n?o._orientation[1]:n,i="number"!=typeof i?o._orientation[2]:i,void 0===r){if("number"!=typeof t)return o._orientation;o._orientation=[t,n,i]}for(var a=o._getSoundIds(r),s=0;s<a.length;s++){var l=o._soundById(a[s]);if(l){if("number"!=typeof t)return l._orientation;l._orientation=[t,n,i],l._node&&(l._panner||(l._pos||(l._pos=o._pos||[0,0,-.5]),e(l,"spatial")),void 0!==l._panner.orientationX?(l._panner.orientationX.setValueAtTime(t,Howler.ctx.currentTime),l._panner.orientationY.setValueAtTime(n,Howler.ctx.currentTime),l._panner.orientationZ.setValueAtTime(i,Howler.ctx.currentTime)):l._panner.setOrientation(t,n,i)),o._emit("orientation",l._id)}}return o},Howl.prototype.pannerAttr=function(){var t,n,i,r=this,o=arguments;if(!r._webAudio)return r;if(0===o.length)return r._pannerAttr;if(1===o.length){if("object"!=typeof o[0])return(i=r._soundById(parseInt(o[0],10)))?i._pannerAttr:r._pannerAttr;t=o[0],void 0===n&&(t.pannerAttr||(t.pannerAttr={coneInnerAngle:t.coneInnerAngle,coneOuterAngle:t.coneOuterAngle,coneOuterGain:t.coneOuterGain,distanceModel:t.distanceModel,maxDistance:t.maxDistance,refDistance:t.refDistance,rolloffFactor:t.rolloffFactor,panningModel:t.panningModel}),r._pannerAttr={coneInnerAngle:void 0!==t.pannerAttr.coneInnerAngle?t.pannerAttr.coneInnerAngle:r._coneInnerAngle,coneOuterAngle:void 0!==t.pannerAttr.coneOuterAngle?t.pannerAttr.coneOuterAngle:r._coneOuterAngle,coneOuterGain:void 0!==t.pannerAttr.coneOuterGain?t.pannerAttr.coneOuterGain:r._coneOuterGain,distanceModel:void 0!==t.pannerAttr.distanceModel?t.pannerAttr.distanceModel:r._distanceModel,maxDistance:void 0!==t.pannerAttr.maxDistance?t.pannerAttr.maxDistance:r._maxDistance,refDistance:void 0!==t.pannerAttr.refDistance?t.pannerAttr.refDistance:r._refDistance,rolloffFactor:void 0!==t.pannerAttr.rolloffFactor?t.pannerAttr.rolloffFactor:r._rolloffFactor,panningModel:void 0!==t.pannerAttr.panningModel?t.pannerAttr.panningModel:r._panningModel})}else 2===o.length&&(t=o[0],n=parseInt(o[1],10));for(var a=r._getSoundIds(n),s=0;s<a.length;s++)if(i=r._soundById(a[s])){var l=i._pannerAttr;l={coneInnerAngle:void 0!==t.coneInnerAngle?t.coneInnerAngle:l.coneInnerAngle,coneOuterAngle:void 0!==t.coneOuterAngle?t.coneOuterAngle:l.coneOuterAngle,coneOuterGain:void 0!==t.coneOuterGain?t.coneOuterGain:l.coneOuterGain,distanceModel:void 0!==t.distanceModel?t.distanceModel:l.distanceModel,maxDistance:void 0!==t.maxDistance?t.maxDistance:l.maxDistance,refDistance:void 0!==t.refDistance?t.refDistance:l.refDistance,rolloffFactor:void 0!==t.rolloffFactor?t.rolloffFactor:l.rolloffFactor,panningModel:void 0!==t.panningModel?t.panningModel:l.panningModel};var c=i._panner;c?(c.coneInnerAngle=l.coneInnerAngle,c.coneOuterAngle=l.coneOuterAngle,c.coneOuterGain=l.coneOuterGain,c.distanceModel=l.distanceModel,c.maxDistance=l.maxDistance,c.refDistance=l.refDistance,c.rolloffFactor=l.rolloffFactor,c.panningModel=l.panningModel):(i._pos||(i._pos=r._pos||[0,0,-.5]),e(i,"spatial"))}return r},Sound.prototype.init=function(t){return function(){var e=this._parent;this._orientation=e._orientation,this._stereo=e._stereo,this._pos=e._pos,this._pannerAttr=e._pannerAttr,t.call(this),this._stereo?e.stereo(this._stereo):this._pos&&e.pos(this._pos[0],this._pos[1],this._pos[2],this._id)}}(Sound.prototype.init),Sound.prototype.reset=function(t){return function(){var e=this._parent;return this._orientation=e._orientation,this._stereo=e._stereo,this._pos=e._pos,this._pannerAttr=e._pannerAttr,this._stereo?e.stereo(this._stereo):this._pos?e.pos(this._pos[0],this._pos[1],this._pos[2],this._id):this._panner&&(this._panner.disconnect(0),this._panner=void 0,e._refreshBuffer(this)),t.call(this)}}(Sound.prototype.reset);var e=function(t,e){"spatial"===(e=e||"spatial")?(t._panner=Howler.ctx.createPanner(),t._panner.coneInnerAngle=t._pannerAttr.coneInnerAngle,t._panner.coneOuterAngle=t._pannerAttr.coneOuterAngle,t._panner.coneOuterGain=t._pannerAttr.coneOuterGain,t._panner.distanceModel=t._pannerAttr.distanceModel,t._panner.maxDistance=t._pannerAttr.maxDistance,t._panner.refDistance=t._pannerAttr.refDistance,t._panner.rolloffFactor=t._pannerAttr.rolloffFactor,t._panner.panningModel=t._pannerAttr.panningModel,void 0!==t._panner.positionX?(t._panner.positionX.setValueAtTime(t._pos[0],Howler.ctx.currentTime),t._panner.positionY.setValueAtTime(t._pos[1],Howler.ctx.currentTime),t._panner.positionZ.setValueAtTime(t._pos[2],Howler.ctx.currentTime)):t._panner.setPosition(t._pos[0],t._pos[1],t._pos[2]),void 0!==t._panner.orientationX?(t._panner.orientationX.setValueAtTime(t._orientation[0],Howler.ctx.currentTime),t._panner.orientationY.setValueAtTime(t._orientation[1],Howler.ctx.currentTime),t._panner.orientationZ.setValueAtTime(t._orientation[2],Howler.ctx.currentTime)):t._panner.setOrientation(t._orientation[0],t._orientation[1],t._orientation[2])):(t._panner=Howler.ctx.createStereoPanner(),t._panner.pan.setValueAtTime(t._stereo,Howler.ctx.currentTime)),t._panner.connect(t._node),t._paused||t._parent.pause(t._id,!0).play(t._id,!0)}}()}).call(this,n(47))},function(t,e,n){var i=n(9),r=n(12),o=i.document,a=r(o)&&r(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},function(t,e,n){var i=n(9),r=n(31);t.exports=function(t,e){try{r(i,t,e)}catch(n){i[t]=e}return e}},function(t,e,n){var i=n(113),r=Function.toString;"function"!=typeof i.inspectSource&&(i.inspectSource=function(t){return r.call(t)}),t.exports=i.inspectSource},function(t,e,n){var i=n(9),r=n(111),o=i["__core-js_shared__"]||r("__core-js_shared__",{});t.exports=o},function(t,e,n){var i=n(45),r=n(113);(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.9.1",mode:i?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var i=n(41),r=n(57),o=n(117),a=n(13);t.exports=i("Reflect","ownKeys")||function(t){var e=r.f(a(t)),n=o.f;return n?e.concat(n(t)):e}},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var i=n(59),r=n(65),o=n(7);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){return!Symbol.sham&&(i?38===r:r>37&&r<41)}))},function(t,e,n){"use strict";var i=n(22),r=n(58),o=n(18);t.exports=function(t){for(var e=i(this),n=o(e.length),a=arguments.length,s=r(a>1?arguments[1]:void 0,n),l=a>2?arguments[2]:void 0,c=void 0===l?n:r(l,n);c>s;)e[s++]=t;return e}},function(t,e,n){var i=n(14),r=n(80),o=i("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||a[o]===t)}},function(t,e,n){var i={};i[n(14)("toStringTag")]="z",t.exports="[object z]"===String(i)},function(t,e,n){"use strict";var i=n(2),r=n(151),o=n(43),a=n(66),s=n(46),l=n(31),c=n(28),u=n(14),h=n(45),f=n(80),d=n(152),p=d.IteratorPrototype,g=d.BUGGY_SAFARI_ITERATORS,m=u("iterator"),v=function(){return this};t.exports=function(t,e,n,u,d,y,b){r(n,e,u);var w,_,x,T=function(t){if(t===d&&P)return P;if(!g&&t in S)return S[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},k=e+" Iterator",A=!1,S=t.prototype,C=S[m]||S["@@iterator"]||d&&S[d],P=!g&&C||T(d),E="Array"==e&&S.entries||C;if(E&&(w=o(E.call(new t)),p!==Object.prototype&&w.next&&(h||o(w)===p||(a?a(w,p):"function"!=typeof w[m]&&l(w,m,v)),s(w,k,!0,!0),h&&(f[k]=v))),"values"==d&&C&&"values"!==C.name&&(A=!0,P=function(){return C.call(this)}),h&&!b||S[m]===P||l(S,m,P),f[e]=P,d)if(_={values:T("values"),keys:y?P:T("keys"),entries:T("entries")},b)for(x in _)(g||A||!(x in S))&&c(S,x,_[x]);else i({target:e,proto:!0,forced:g||A},_);return _}},function(t,e,n){var i=n(7);t.exports=!i((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e,n){"use strict";var i=n(39),r=n(30);t.exports="".repeat||function(t){var e=String(r(this)),n="",o=i(t);if(o<0||o==1/0)throw RangeError("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(e+=e))1&o&&(n+=e);return n}},function(t,e,n){var i,r,o,a=n(9),s=n(7),l=n(52),c=n(144),u=n(110),h=n(164),f=n(59),d=a.location,p=a.setImmediate,g=a.clearImmediate,m=a.process,v=a.MessageChannel,y=a.Dispatch,b=0,w={},_=function(t){if(w.hasOwnProperty(t)){var e=w[t];delete w[t],e()}},x=function(t){return function(){_(t)}},T=function(t){_(t.data)},k=function(t){a.postMessage(t+"",d.protocol+"//"+d.host)};p&&g||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return w[++b]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},i(b),b},g=function(t){delete w[t]},f?i=function(t){m.nextTick(x(t))}:y&&y.now?i=function(t){y.now(x(t))}:v&&!h?(o=(r=new v).port2,r.port1.onmessage=T,i=l(o.postMessage,o,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts&&d&&"file:"!==d.protocol&&!s(k)?(i=k,a.addEventListener("message",T,!1)):i="onreadystatechange"in u("script")?function(t){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),_(t)}}:function(t){setTimeout(x(t),0)}),t.exports={set:p,clear:g}},function(t,e,n){var i=n(12),r=n(50),o=n(14)("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==r(t))}},function(t,e,n){"use strict";var i=n(7);function r(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=i((function(){var t=r("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=i((function(){var t=r("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},function(t,e,n){var i=n(127);t.exports=function(t){if(i(t))throw TypeError("The method doesn't accept regular expressions");return t}},function(t,e,n){var i=n(14)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[i]=!1,"/./"[t](e)}catch(t){}}return!1}},function(t,e,n){"use strict";var i=n(102).charAt;t.exports=function(t,e,n){return e+(n?i(t,e).length:1)}},function(t,e,n){var i=n(7),r=n(98);t.exports=function(t){return i((function(){return!!r[t]()||"​᠎"!="​᠎"[t]()||r[t].name!==t}))}},function(t,e,n){var i=n(9),r=n(7),o=n(92),a=n(15).NATIVE_ARRAY_BUFFER_VIEWS,s=i.ArrayBuffer,l=i.Int8Array;t.exports=!a||!r((function(){l(1)}))||!r((function(){new l(-1)}))||!o((function(t){new l,new l(null),new l(1.5),new l(t)}),!0)||r((function(){return 1!==new l(new s(2),1,void 0).length}))},function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><title>icn-wrong</title><path class="st0" d="M29.29,22.42,21.87,15l7.42-7.42A2.34,2.34,0,0,0,30,5.86a2.33,2.33,0,0,0-.71-1.71L25.86.71a2.45,2.45,0,0,0-3.43,0L15,8.13,7.58.71A2.34,2.34,0,0,0,5.86,0,2.33,2.33,0,0,0,4.15.71L.71,4.14A2.33,2.33,0,0,0,0,5.86a2.32,2.32,0,0,0,.7,1.71L8.13,15,.71,22.42a2.43,2.43,0,0,0,0,3.43l3.43,3.44a2.33,2.33,0,0,0,1.72.7h0a2.32,2.32,0,0,0,1.71-.7L15,21.87l7.42,7.42a2.43,2.43,0,0,0,3.43,0l3.44-3.43a2.33,2.33,0,0,0,.7-1.72h0A2.32,2.32,0,0,0,29.29,22.42Z" style="fill:#fff"></path></svg>'},function(t,e){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,n){"use strict";(function(t){function n(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return s=t.done,t},e:function(t){l=!0,a=t},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var r,o,a=t,s=a.window,l=a.Date,c=[],u=s.requestAnimationFrame||s.webkitRequestAnimationFrame||s.mozRequestAnimationFrame||s.msRequestAnimationFrame,h=s.cancelAnimationFrame||s.mozCancelAnimationFrame,f=0,d=!1,p=function(t){t.beforeFrames<t.after?t.beforeFrames++:(t.everyCounter++,t.everyCounter===t.every&&(t.everyCounter=0,t.repeat>=0&&(t.repeats===t.repeat&&v(t),t.repeats++),null!==t.scope?t.callback.call(t.scope,o):t.callback(o)))},g=function t(){r=u(t),o=l.now(),c.forEach(p)},m=function(t){c.push(t),d||(r=u(g),d=!0)},v=function(t){t&&c.splice(c.indexOf(t),1),0===c.length&&d&&(h(r),d=!1)};e.a={always:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this.add({callback:t,scope:e})},every:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return this.add({callback:e,every:t,scope:n,after:0,repeat:-1})},next:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this.add({callback:t,scope:e,after:0,repeat:0})},after:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return this.add({callback:e,scope:n,after:t,repeat:0})},add:function(t){var e=function(t){return f++,Object.assign({after:0,repeat:-1,every:1,scope:null},t,{beforeFrames:0,repeats:0,everyCounter:0,id:f})}(t);return m(e),e.id},cancel:function(t){v(function(t){var e,i=n(c);try{for(i.s();!(e=i.n()).done;){var r=e.value;if(r.id===t)return r}}catch(t){i.e(t)}finally{i.f()}return null}(t))}}}).call(this,n(47))},function(t,e,n){var i=n(17),r=n(7),o=n(110);t.exports=!i&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var i=n(9),r=n(112),o=i.WeakMap;t.exports="function"==typeof o&&/native code/.test(r(o))},function(t,e,n){var i=n(21),r=n(115),o=n(26),a=n(20);t.exports=function(t,e){for(var n=r(e),s=a.f,l=o.f,c=0;c<n.length;c++){var u=n[c];i(t,u)||s(t,u,l(e,u))}}},function(t,e,n){var i=n(9);t.exports=i},function(t,e,n){var i=n(21),r=n(33),o=n(90).indexOf,a=n(74);t.exports=function(t,e){var n,s=r(t),l=0,c=[];for(n in s)!i(a,n)&&i(s,n)&&c.push(n);for(;e.length>l;)i(s,n=e[l++])&&(~o(c,n)||c.push(n));return c}},function(t,e,n){var i=n(118);t.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,n){var i=n(17),r=n(20),o=n(13),a=n(77);t.exports=i?Object.defineProperties:function(t,e){o(t);for(var n,i=a(e),s=i.length,l=0;s>l;)r.f(t,n=i[l++],e[n]);return t}},function(t,e,n){var i=n(41);t.exports=i("document","documentElement")},function(t,e,n){var i=n(33),r=n(57).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?function(t){try{return r(t)}catch(t){return a.slice()}}(t):r(i(t))}},function(t,e,n){var i=n(14);e.f=i},function(t,e,n){"use strict";var i=n(22),r=n(58),o=n(18),a=Math.min;t.exports=[].copyWithin||function(t,e){var n=i(this),s=o(n.length),l=r(t,s),c=r(e,s),u=arguments.length>2?arguments[2]:void 0,h=a((void 0===u?s:r(u,s))-c,s-l),f=1;for(c<l&&l<c+h&&(f=-1,c+=h-1,l+=h-1);h-- >0;)c in n?n[l]=n[c]:delete n[l],l+=f,c+=f;return n}},function(t,e,n){"use strict";var i=n(76),r=n(18),o=n(52),a=function(t,e,n,s,l,c,u,h){for(var f,d=l,p=0,g=!!u&&o(u,h,3);p<s;){if(p in n){if(f=g?g(n[p],p,e):n[p],c>0&&i(f))d=a(t,e,f,r(f.length),d,c-1)-1;else{if(d>=9007199254740991)throw TypeError("Exceed the acceptable array length");t[d]=f}d++}p++}return d};t.exports=a},function(t,e,n){"use strict";var i=n(52),r=n(22),o=n(208),a=n(120),s=n(18),l=n(60),c=n(81);t.exports=function(t){var e,n,u,h,f,d,p=r(t),g="function"==typeof this?this:Array,m=arguments.length,v=m>1?arguments[1]:void 0,y=void 0!==v,b=c(p),w=0;if(y&&(v=i(v,m>2?arguments[2]:void 0,2)),null==b||g==Array&&a(b))for(n=new g(e=s(p.length));e>w;w++)d=y?v(p[w],w):p[w],l(n,w,d);else for(f=(h=b.call(p)).next,n=new g;!(u=f.call(h)).done;w++)d=y?o(h,v,[u.value,w],!0):u.value,l(n,w,d);return n.length=w,n}},function(t,e,n){var i=n(13);t.exports=function(t){var e=t.return;if(void 0!==e)return i(e.call(t)).value}},function(t,e,n){"use strict";var i=n(152).IteratorPrototype,r=n(51),o=n(49),a=n(46),s=n(80),l=function(){return this};t.exports=function(t,e,n){var c=e+" Iterator";return t.prototype=r(i,{next:o(1,n)}),a(t,c,!1,!0),s[c]=l,t}},function(t,e,n){"use strict";var i,r,o,a=n(7),s=n(43),l=n(31),c=n(21),u=n(14),h=n(45),f=u("iterator"),d=!1;[].keys&&("next"in(o=[].keys())?(r=s(s(o)))!==Object.prototype&&(i=r):d=!0);var p=null==i||a((function(){var t={};return i[f].call(t)!==t}));p&&(i={}),h&&!p||c(i,f)||l(i,f,(function(){return this})),t.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:d}},function(t,e,n){var i=n(12);t.exports=function(t){if(!i(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},function(t,e,n){"use strict";var i=n(9),r=n(17),o=n(155),a=n(31),s=n(68),l=n(7),c=n(54),u=n(39),h=n(18),f=n(156),d=n(221),p=n(43),g=n(66),m=n(57).f,v=n(20).f,y=n(119),b=n(46),w=n(34),_=w.get,x=w.set,T=i.ArrayBuffer,k=T,A=i.DataView,S=A&&A.prototype,C=Object.prototype,P=i.RangeError,E=d.pack,O=d.unpack,R=function(t){return[255&t]},I=function(t){return[255&t,t>>8&255]},q=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},M=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},L=function(t){return E(t,23,4)},N=function(t){return E(t,52,8)},D=function(t,e){v(t.prototype,e,{get:function(){return _(this)[e]}})},F=function(t,e,n,i){var r=f(n),o=_(t);if(r+e>o.byteLength)throw P("Wrong index");var a=_(o.buffer).bytes,s=r+o.byteOffset,l=a.slice(s,s+e);return i?l:l.reverse()},z=function(t,e,n,i,r,o){var a=f(n),s=_(t);if(a+e>s.byteLength)throw P("Wrong index");for(var l=_(s.buffer).bytes,c=a+s.byteOffset,u=i(+r),h=0;h<e;h++)l[c+h]=u[o?h:e-h-1]};if(o){if(!l((function(){T(1)}))||!l((function(){new T(-1)}))||l((function(){return new T,new T(1.5),new T(NaN),"ArrayBuffer"!=T.name}))){for(var B,j=(k=function(t){return c(this,k),new T(f(t))}).prototype=T.prototype,H=m(T),W=0;H.length>W;)(B=H[W++])in k||a(k,B,T[B]);j.constructor=k}g&&p(S)!==C&&g(S,C);var $=new A(new k(2)),U=S.setInt8;$.setInt8(0,2147483648),$.setInt8(1,2147483649),!$.getInt8(0)&&$.getInt8(1)||s(S,{setInt8:function(t,e){U.call(this,t,e<<24>>24)},setUint8:function(t,e){U.call(this,t,e<<24>>24)}},{unsafe:!0})}else k=function(t){c(this,k,"ArrayBuffer");var e=f(t);x(this,{bytes:y.call(new Array(e),0),byteLength:e}),r||(this.byteLength=e)},A=function(t,e,n){c(this,A,"DataView"),c(t,k,"DataView");var i=_(t).byteLength,o=u(e);if(o<0||o>i)throw P("Wrong offset");if(o+(n=void 0===n?i-o:h(n))>i)throw P("Wrong length");x(this,{buffer:t,byteLength:n,byteOffset:o}),r||(this.buffer=t,this.byteLength=n,this.byteOffset=o)},r&&(D(k,"byteLength"),D(A,"buffer"),D(A,"byteLength"),D(A,"byteOffset")),s(A.prototype,{getInt8:function(t){return F(this,1,t)[0]<<24>>24},getUint8:function(t){return F(this,1,t)[0]},getInt16:function(t){var e=F(this,2,t,arguments.length>1?arguments[1]:void 0);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=F(this,2,t,arguments.length>1?arguments[1]:void 0);return e[1]<<8|e[0]},getInt32:function(t){return M(F(this,4,t,arguments.length>1?arguments[1]:void 0))},getUint32:function(t){return M(F(this,4,t,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(t){return O(F(this,4,t,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(t){return O(F(this,8,t,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(t,e){z(this,1,t,R,e)},setUint8:function(t,e){z(this,1,t,R,e)},setInt16:function(t,e){z(this,2,t,I,e,arguments.length>2?arguments[2]:void 0)},setUint16:function(t,e){z(this,2,t,I,e,arguments.length>2?arguments[2]:void 0)},setInt32:function(t,e){z(this,4,t,q,e,arguments.length>2?arguments[2]:void 0)},setUint32:function(t,e){z(this,4,t,q,e,arguments.length>2?arguments[2]:void 0)},setFloat32:function(t,e){z(this,4,t,L,e,arguments.length>2?arguments[2]:void 0)},setFloat64:function(t,e){z(this,8,t,N,e,arguments.length>2?arguments[2]:void 0)}});b(k,"ArrayBuffer"),b(A,"DataView"),t.exports={ArrayBuffer:k,DataView:A}},function(t,e){t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},function(t,e,n){var i=n(39),r=n(18);t.exports=function(t){if(void 0===t)return 0;var e=i(t),n=r(e);if(e!==n)throw RangeError("Wrong length or index");return n}},function(t,e,n){"use strict";var i=n(20).f,r=n(51),o=n(68),a=n(52),s=n(54),l=n(85),c=n(122),u=n(67),h=n(17),f=n(61).fastKey,d=n(34),p=d.set,g=d.getterFor;t.exports={getConstructor:function(t,e,n,c){var u=t((function(t,i){s(t,u,e),p(t,{type:e,index:r(null),first:void 0,last:void 0,size:0}),h||(t.size=0),null!=i&&l(i,t[c],{that:t,AS_ENTRIES:n})})),d=g(e),m=function(t,e,n){var i,r,o=d(t),a=v(t,e);return a?a.value=n:(o.last=a={index:r=f(e,!0),key:e,value:n,previous:i=o.last,next:void 0,removed:!1},o.first||(o.first=a),i&&(i.next=a),h?o.size++:t.size++,"F"!==r&&(o.index[r]=a)),t},v=function(t,e){var n,i=d(t),r=f(e);if("F"!==r)return i.index[r];for(n=i.first;n;n=n.next)if(n.key==e)return n};return o(u.prototype,{clear:function(){for(var t=d(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,h?t.size=0:this.size=0},delete:function(t){var e=d(this),n=v(this,t);if(n){var i=n.next,r=n.previous;delete e.index[n.index],n.removed=!0,r&&(r.next=i),i&&(i.previous=r),e.first==n&&(e.first=i),e.last==n&&(e.last=r),h?e.size--:this.size--}return!!n},forEach:function(t){for(var e,n=d(this),i=a(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:n.first;)for(i(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!v(this,t)}}),o(u.prototype,n?{get:function(t){var e=v(this,t);return e&&e.value},set:function(t,e){return m(this,0===t?0:t,e)}}:{add:function(t){return m(this,t=0===t?0:t,t)}}),h&&i(u.prototype,"size",{get:function(){return d(this).size}}),u},setStrong:function(t,e,n){var i=e+" Iterator",r=g(e),o=g(i);c(t,e,(function(t,e){p(this,{type:i,target:t,state:r(t),kind:e,last:void 0})}),(function(){for(var t=o(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),u(e)}}},function(t,e){var n=Math.log;t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:n(1+t)}},function(t,e,n){var i=n(12),r=Math.floor;t.exports=function(t){return!i(t)&&isFinite(t)&&r(t)===t}},function(t,e,n){"use strict";var i=n(17),r=n(7),o=n(77),a=n(117),s=n(88),l=n(22),c=n(72),u=Object.assign,h=Object.defineProperty;t.exports=!u||r((function(){if(i&&1!==u({b:1},u(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol();return t[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=u({},t)[n]||"abcdefghijklmnopqrst"!=o(u({},e)).join("")}))?function(t,e){for(var n=l(t),r=arguments.length,u=1,h=a.f,f=s.f;r>u;)for(var d,p=c(arguments[u++]),g=h?o(p).concat(h(p)):o(p),m=g.length,v=0;m>v;)d=g[v++],i&&!f.call(p,d)||(n[d]=p[d]);return n}:u},function(t,e,n){var i=n(17),r=n(77),o=n(33),a=n(88).f,s=function(t){return function(e){for(var n,s=o(e),l=r(s),c=l.length,u=0,h=[];c>u;)n=l[u++],i&&!a.call(s,n)||h.push(t?[n,s[n]]:s[n]);return h}};t.exports={entries:s(!0),values:s(!1)}},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,n){var i=n(9);t.exports=i.Promise},function(t,e,n){var i=n(91);t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(i)},function(t,e,n){var i,r,o,a,s,l,c,u,h=n(9),f=n(26).f,d=n(126).set,p=n(164),g=n(285),m=n(59),v=h.MutationObserver||h.WebKitMutationObserver,y=h.document,b=h.process,w=h.Promise,_=f(h,"queueMicrotask"),x=_&&_.value;x||(i=function(){var t,e;for(m&&(t=b.domain)&&t.exit();r;){e=r.fn,r=r.next;try{e()}catch(t){throw r?a():o=void 0,t}}o=void 0,t&&t.enter()},p||m||g||!v||!y?w&&w.resolve?(c=w.resolve(void 0),u=c.then,a=function(){u.call(c,i)}):a=m?function(){b.nextTick(i)}:function(){d.call(h,i)}:(s=!0,l=y.createTextNode(""),new v(i).observe(l,{characterData:!0}),a=function(){l.data=s=!s})),t.exports=x||function(t){var e={fn:t,next:void 0};o&&(o.next=e),r||(r=e,a()),o=e}},function(t,e,n){var i=n(13),r=n(12),o=n(167);t.exports=function(t,e){if(i(t),r(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){"use strict";var i=n(42),r=function(t){var e,n;this.promise=new t((function(t,i){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=i})),this.resolve=i(e),this.reject=i(n)};t.exports.f=function(t){return new r(t)}},function(t,e,n){"use strict";var i=n(2),r=n(101);i({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},function(t,e,n){"use strict";var i=n(102).charAt,r=n(34),o=n(122),a=r.set,s=r.getterFor("String Iterator");o(String,"String",(function(t){a(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=s(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=i(n,r),e.index+=t.length,{value:t,done:!1})}))},function(t,e,n){var i=n(18),r=n(125),o=n(30),a=Math.ceil,s=function(t){return function(e,n,s){var l,c,u=String(o(e)),h=u.length,f=void 0===s?" ":String(s),d=i(n);return d<=h||""==f?u:(l=d-h,(c=r.call(f,a(l/f.length))).length>l&&(c=c.slice(0,l)),t?u+c:c+u)}};t.exports={start:s(!1),end:s(!0)}},function(t,e,n){var i=n(91);t.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(i)},function(t,e,n){var i=n(338);t.exports=function(t,e){var n=i(t);if(n%e)throw RangeError("Wrong offset");return n}},function(t,e,n){var i=n(22),r=n(18),o=n(81),a=n(120),s=n(52),l=n(15).aTypedArrayConstructor;t.exports=function(t){var e,n,c,u,h,f,d=i(t),p=arguments.length,g=p>1?arguments[1]:void 0,m=void 0!==g,v=o(d);if(null!=v&&!a(v))for(f=(h=v.call(d)).next,d=[];!(u=f.call(h)).done;)d.push(u.value);for(m&&p>2&&(g=s(g,arguments[2],2)),n=r(d.length),c=new(l(this))(n),e=0;n>e;e++)c[e]=m?g(d[e],e):d[e];return c}},function(t,e,n){"use strict";var i=n(68),r=n(61).getWeakData,o=n(13),a=n(12),s=n(54),l=n(85),c=n(29),u=n(21),h=n(34),f=h.set,d=h.getterFor,p=c.find,g=c.findIndex,m=0,v=function(t){return t.frozen||(t.frozen=new y)},y=function(){this.entries=[]},b=function(t,e){return p(t.entries,(function(t){return t[0]===e}))};y.prototype={get:function(t){var e=b(this,t);if(e)return e[1]},has:function(t){return!!b(this,t)},set:function(t,e){var n=b(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=g(this.entries,(function(e){return e[0]===t}));return~e&&this.entries.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,c){var h=t((function(t,i){s(t,h,e),f(t,{type:e,id:m++,frozen:void 0}),null!=i&&l(i,t[c],{that:t,AS_ENTRIES:n})})),p=d(e),g=function(t,e,n){var i=p(t),a=r(o(e),!0);return!0===a?v(i).set(e,n):a[i.id]=n,t};return i(h.prototype,{delete:function(t){var e=p(this);if(!a(t))return!1;var n=r(t);return!0===n?v(e).delete(t):n&&u(n,e.id)&&delete n[e.id]},has:function(t){var e=p(this);if(!a(t))return!1;var n=r(t);return!0===n?v(e).has(t):n&&u(n,e.id)}}),i(h.prototype,n?{get:function(t){var e=p(this);if(a(t)){var n=r(t);return!0===n?v(e).get(t):n?n[e.id]:void 0}},set:function(t,e){return g(this,t,e)}}:{add:function(t){return g(this,t,!0)}}),h}}},function(t,e){t.exports={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}},function(t,e,n){var i=n(7),r=n(14),o=n(45),a=r("iterator");t.exports=!i((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,n="";return t.pathname="c%20d",e.forEach((function(t,i){e.delete("b"),n+=i+t})),o&&!t.toJSON||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},function(t,e,n){"use strict";n(93);var i=n(2),r=n(41),o=n(176),a=n(28),s=n(68),l=n(46),c=n(151),u=n(34),h=n(54),f=n(21),d=n(52),p=n(82),g=n(13),m=n(12),v=n(51),y=n(49),b=n(383),w=n(81),_=n(14),x=r("fetch"),T=r("Headers"),k=_("iterator"),A=u.set,S=u.getterFor("URLSearchParams"),C=u.getterFor("URLSearchParamsIterator"),P=/\+/g,E=Array(4),O=function(t){return E[t-1]||(E[t-1]=RegExp("((?:%[\\da-f]{2}){"+t+"})","gi"))},R=function(t){try{return decodeURIComponent(t)}catch(e){return t}},I=function(t){var e=t.replace(P," "),n=4;try{return decodeURIComponent(e)}catch(t){for(;n;)e=e.replace(O(n--),R);return e}},q=/[!'()~]|%20/g,M={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},L=function(t){return M[t]},N=function(t){return encodeURIComponent(t).replace(q,L)},D=function(t,e){if(e)for(var n,i,r=e.split("&"),o=0;o<r.length;)(n=r[o++]).length&&(i=n.split("="),t.push({key:I(i.shift()),value:I(i.join("="))}))},F=function(t){this.entries.length=0,D(this.entries,t)},z=function(t,e){if(t<e)throw TypeError("Not enough arguments")},B=c((function(t,e){A(this,{type:"URLSearchParamsIterator",iterator:b(S(t).entries),kind:e})}),"Iterator",(function(){var t=C(this),e=t.kind,n=t.iterator.next(),i=n.value;return n.done||(n.value="keys"===e?i.key:"values"===e?i.value:[i.key,i.value]),n})),j=function(){h(this,j,"URLSearchParams");var t,e,n,i,r,o,a,s,l,c=arguments.length>0?arguments[0]:void 0,u=this,d=[];if(A(u,{type:"URLSearchParams",entries:d,updateURL:function(){},updateSearchParams:F}),void 0!==c)if(m(c))if("function"==typeof(t=w(c)))for(n=(e=t.call(c)).next;!(i=n.call(e)).done;){if((a=(o=(r=b(g(i.value))).next).call(r)).done||(s=o.call(r)).done||!o.call(r).done)throw TypeError("Expected sequence with length 2");d.push({key:a.value+"",value:s.value+""})}else for(l in c)f(c,l)&&d.push({key:l,value:c[l]+""});else D(d,"string"==typeof c?"?"===c.charAt(0)?c.slice(1):c:c+"")},H=j.prototype;s(H,{append:function(t,e){z(arguments.length,2);var n=S(this);n.entries.push({key:t+"",value:e+""}),n.updateURL()},delete:function(t){z(arguments.length,1);for(var e=S(this),n=e.entries,i=t+"",r=0;r<n.length;)n[r].key===i?n.splice(r,1):r++;e.updateURL()},get:function(t){z(arguments.length,1);for(var e=S(this).entries,n=t+"",i=0;i<e.length;i++)if(e[i].key===n)return e[i].value;return null},getAll:function(t){z(arguments.length,1);for(var e=S(this).entries,n=t+"",i=[],r=0;r<e.length;r++)e[r].key===n&&i.push(e[r].value);return i},has:function(t){z(arguments.length,1);for(var e=S(this).entries,n=t+"",i=0;i<e.length;)if(e[i++].key===n)return!0;return!1},set:function(t,e){z(arguments.length,1);for(var n,i=S(this),r=i.entries,o=!1,a=t+"",s=e+"",l=0;l<r.length;l++)(n=r[l]).key===a&&(o?r.splice(l--,1):(o=!0,n.value=s));o||r.push({key:a,value:s}),i.updateURL()},sort:function(){var t,e,n,i=S(this),r=i.entries,o=r.slice();for(r.length=0,n=0;n<o.length;n++){for(t=o[n],e=0;e<n;e++)if(r[e].key>t.key){r.splice(e,0,t);break}e===n&&r.push(t)}i.updateURL()},forEach:function(t){for(var e,n=S(this).entries,i=d(t,arguments.length>1?arguments[1]:void 0,3),r=0;r<n.length;)i((e=n[r++]).value,e.key,this)},keys:function(){return new B(this,"keys")},values:function(){return new B(this,"values")},entries:function(){return new B(this,"entries")}},{enumerable:!0}),a(H,k,H.entries),a(H,"toString",(function(){for(var t,e=S(this).entries,n=[],i=0;i<e.length;)t=e[i++],n.push(N(t.key)+"="+N(t.value));return n.join("&")}),{enumerable:!0}),l(j,"URLSearchParams"),i({global:!0,forced:!o},{URLSearchParams:j}),o||"function"!=typeof x||"function"!=typeof T||i({global:!0,enumerable:!0,forced:!0},{fetch:function(t){var e,n,i,r=[t];return arguments.length>1&&(m(e=arguments[1])&&(n=e.body,"URLSearchParams"===p(n)&&((i=e.headers?new T(e.headers):new T).has("content-type")||i.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),e=v(e,{body:y(0,String(n)),headers:y(0,i)}))),r.push(e)),x.apply(this,r)}}),t.exports={URLSearchParams:j,getState:S}},function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},function(t,e){(function(e){t.exports=e}).call(this,{})},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,n){var i;
/*!
 * UAParser.js v0.7.20
 * Lightweight JavaScript-based User-Agent string parser
 * https://github.com/faisalman/ua-parser-js
 *
 * Copyright © 2012-2019 Faisal Salman <f@faisalman.com>
 * Licensed under MIT License
 */!function(r,o){"use strict";var a="model",s="name",l="type",c="vendor",u="version",h="mobile",f="tablet",d={extend:function(t,e){var n={};for(var i in t)e[i]&&e[i].length%2==0?n[i]=e[i].concat(t[i]):n[i]=t[i];return n},has:function(t,e){return"string"==typeof t&&-1!==e.toLowerCase().indexOf(t.toLowerCase())},lowerize:function(t){return t.toLowerCase()},major:function(t){return"string"==typeof t?t.replace(/[^\d\.]/g,"").split(".")[0]:void 0},trim:function(t){return t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},p={rgx:function(t,e){for(var n,i,r,o,a,s,l=0;l<e.length&&!a;){var c=e[l],u=e[l+1];for(n=i=0;n<c.length&&!a;)if(a=c[n++].exec(t))for(r=0;r<u.length;r++)s=a[++i],"object"==typeof(o=u[r])&&o.length>0?2==o.length?"function"==typeof o[1]?this[o[0]]=o[1].call(this,s):this[o[0]]=o[1]:3==o.length?"function"!=typeof o[1]||o[1].exec&&o[1].test?this[o[0]]=s?s.replace(o[1],o[2]):void 0:this[o[0]]=s?o[1].call(this,s,o[2]):void 0:4==o.length&&(this[o[0]]=s?o[3].call(this,s.replace(o[1],o[2])):void 0):this[o]=s||void 0;l+=2}},str:function(t,e){for(var n in e)if("object"==typeof e[n]&&e[n].length>0){for(var i=0;i<e[n].length;i++)if(d.has(e[n][i],t))return"?"===n?void 0:n}else if(d.has(e[n],t))return"?"===n?void 0:n;return t}},g={browser:{oldsafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}}},device:{amazon:{model:{"Fire Phone":["SD","KF"]}},sprint:{model:{"Evo Shift 4G":"7373KT"},vendor:{HTC:"APA",Sprint:"Sprint"}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}}}},m={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],[s,u],[/(opios)[\/\s]+([\w\.]+)/i],[[s,"Opera Mini"],u],[/\s(opr)\/([\w\.]+)/i],[[s,"Opera"],u],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i,/(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]*)/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon)\/([\w\.-]+)/i],[s,u],[/(konqueror)\/([\w\.]+)/i],[[s,"Konqueror"],u],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[[s,"IE"],u],[/(edge|edgios|edga|edg)\/((\d+)?[\w\.]+)/i],[[s,"Edge"],u],[/(yabrowser)\/([\w\.]+)/i],[[s,"Yandex"],u],[/(puffin)\/([\w\.]+)/i],[[s,"Puffin"],u],[/(focus)\/([\w\.]+)/i],[[s,"Firefox Focus"],u],[/(opt)\/([\w\.]+)/i],[[s,"Opera Touch"],u],[/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[[s,"UCBrowser"],u],[/(comodo_dragon)\/([\w\.]+)/i],[[s,/_/g," "],u],[/(windowswechat qbcore)\/([\w\.]+)/i],[[s,"WeChat(Win) Desktop"],u],[/(micromessenger)\/([\w\.]+)/i],[[s,"WeChat"],u],[/(brave)\/([\w\.]+)/i],[[s,"Brave"],u],[/(qqbrowserlite)\/([\w\.]+)/i],[s,u],[/(QQ)\/([\d\.]+)/i],[s,u],[/m?(qqbrowser)[\/\s]?([\w\.]+)/i],[s,u],[/(BIDUBrowser)[\/\s]?([\w\.]+)/i],[s,u],[/(2345Explorer)[\/\s]?([\w\.]+)/i],[s,u],[/(MetaSr)[\/\s]?([\w\.]+)/i],[s],[/(LBBROWSER)/i],[s],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[u,[s,"MIUI Browser"]],[/;fbav\/([\w\.]+);/i],[u,[s,"Facebook"]],[/safari\s(line)\/([\w\.]+)/i,/android.+(line)\/([\w\.]+)\/iab/i],[s,u],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[u,[s,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[s,/(.+)/,"$1 WebView"],u],[/((?:oculus|samsung)browser)\/([\w\.]+)/i],[[s,/(.+(?:g|us))(.+)/,"$1 $2"],u],[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],[u,[s,"Android Browser"]],[/(sailfishbrowser)\/([\w\.]+)/i],[[s,"Sailfish Browser"],u],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[s,u],[/(dolfin)\/([\w\.]+)/i],[[s,"Dolphin"],u],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[s,"Chrome"],u],[/(coast)\/([\w\.]+)/i],[[s,"Opera Coast"],u],[/fxios\/([\w\.-]+)/i],[u,[s,"Firefox"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],[u,[s,"Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],[u,s],[/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[[s,"GSA"],u],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[s,[u,p.str,g.browser.oldsafari.version]],[/(webkit|khtml)\/([\w\.]+)/i],[s,u],[/(navigator|netscape)\/([\w\.-]+)/i],[[s,"Netscape"],u],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i,/(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]*)/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[s,u]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[["architecture","amd64"]],[/(ia32(?=;))/i],[["architecture",d.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[["architecture","ia32"]],[/windows\s(ce|mobile);\sppc;/i],[["architecture","arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[["architecture",/ower/,"",d.lowerize]],[/(sun4\w)[;\)]/i],[["architecture","sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+[;l]))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[["architecture",d.lowerize]]],device:[[/\((ipad|playbook);[\w\s\),;-]+(rim|apple)/i],[a,c,[l,f]],[/applecoremedia\/[\w\.]+ \((ipad)/],[a,[c,"Apple"],[l,f]],[/(apple\s{0,1}tv)/i],[[a,"Apple TV"],[c,"Apple"]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(hp).+(tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],[c,a,[l,f]],[/(kf[A-z]+)\sbuild\/.+silk\//i],[a,[c,"Amazon"],[l,f]],[/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i],[[a,p.str,g.device.amazon.model],[c,"Amazon"],[l,h]],[/android.+aft([bms])\sbuild/i],[a,[c,"Amazon"],[l,"smarttv"]],[/\((ip[honed|\s\w*]+);.+(apple)/i],[a,c,[l,h]],[/\((ip[honed|\s\w*]+);/i],[a,[c,"Apple"],[l,h]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],[c,a,[l,h]],[/\(bb10;\s(\w+)/i],[a,[c,"BlackBerry"],[l,h]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone|p00c)/i],[a,[c,"Asus"],[l,f]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],[[c,"Sony"],[a,"Xperia Tablet"],[l,f]],[/android.+\s([c-g]\d{4}|so[-l]\w+)(?=\sbuild\/|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[a,[c,"Sony"],[l,h]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],[c,a,[l,"console"]],[/android.+;\s(shield)\sbuild/i],[a,[c,"Nvidia"],[l,"console"]],[/(playstation\s[34portablevi]+)/i],[a,[c,"Sony"],[l,"console"]],[/(sprint\s(\w+))/i],[[c,p.str,g.device.sprint.vendor],[a,p.str,g.device.sprint.model],[l,h]],[/(htc)[;_\s-]+([\w\s]+(?=\)|\sbuild)|\w+)/i,/(zte)-(\w*)/i,/(alcatel|geeksphone|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i],[c,[a,/_/g," "],[l,h]],[/(nexus\s9)/i],[a,[c,"HTC"],[l,f]],[/d\/huawei([\w\s-]+)[;\)]/i,/(nexus\s6p)/i],[a,[c,"Huawei"],[l,h]],[/(microsoft);\s(lumia[\s\w]+)/i],[c,a,[l,h]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],[a,[c,"Microsoft"],[l,"console"]],[/(kin\.[onetw]{3})/i],[[a,/\./g," "],[c,"Microsoft"],[l,h]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)[\w\s]+build\//i,/mot[\s-]?(\w*)/i,/(XT\d{3,4}) build\//i,/(nexus\s6)/i],[a,[c,"Motorola"],[l,h]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[a,[c,"Motorola"],[l,f]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[c,d.trim],[a,d.trim],[l,"smarttv"]],[/hbbtv.+maple;(\d+)/i],[[a,/^/,"SmartTV"],[c,"Samsung"],[l,"smarttv"]],[/\(dtv[\);].+(aquos)/i],[a,[c,"Sharp"],[l,"smarttv"]],[/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i,/((SM-T\w+))/i],[[c,"Samsung"],a,[l,f]],[/smart-tv.+(samsung)/i],[c,[l,"smarttv"],a],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i,/(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i,/sec-((sgh\w+))/i],[[c,"Samsung"],a,[l,h]],[/sie-(\w*)/i],[a,[c,"Siemens"],[l,h]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]*)/i],[[c,"Nokia"],a,[l,h]],[/android[x\d\.\s;]+\s([ab][1-7]\-?[0178a]\d\d?)/i],[a,[c,"Acer"],[l,f]],[/android.+([vl]k\-?\d{3})\s+build/i],[a,[c,"LG"],[l,f]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[[c,"LG"],a,[l,f]],[/(lg) netcast\.tv/i],[c,a,[l,"smarttv"]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w*)/i,/android.+lg(\-?[\d\w]+)\s+build/i],[a,[c,"LG"],[l,h]],[/(lenovo)\s?(s(?:5000|6000)(?:[\w-]+)|tab(?:[\s\w]+))/i],[c,a,[l,f]],[/android.+(ideatab[a-z0-9\-\s]+)/i],[a,[c,"Lenovo"],[l,f]],[/(lenovo)[_\s-]?([\w-]+)/i],[c,a,[l,h]],[/linux;.+((jolla));/i],[c,a,[l,h]],[/((pebble))app\/[\d\.]+\s/i],[c,a,[l,"wearable"]],[/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[c,a,[l,h]],[/crkey/i],[[a,"Chromecast"],[c,"Google"]],[/android.+;\s(glass)\s\d/i],[a,[c,"Google"],[l,"wearable"]],[/android.+;\s(pixel c)[\s)]/i],[a,[c,"Google"],[l,f]],[/android.+;\s(pixel( [23])?( xl)?)[\s)]/i],[a,[c,"Google"],[l,h]],[/android.+;\s(\w+)\s+build\/hm\1/i,/android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:a\d|one|one[\s_]plus|note lte)?[\s_]*(?:\d?\w?)[\s_]*(?:plus)?)\s+build/i,/android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+))\s+build/i],[[a,/_/g," "],[c,"Xiaomi"],[l,h]],[/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i],[[a,/_/g," "],[c,"Xiaomi"],[l,f]],[/android.+;\s(m[1-5]\snote)\sbuild/i],[a,[c,"Meizu"],[l,h]],[/(mz)-([\w-]{2,})/i],[[c,"Meizu"],a,[l,h]],[/android.+a000(1)\s+build/i,/android.+oneplus\s(a\d{4})\s+build/i],[a,[c,"OnePlus"],[l,h]],[/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i],[a,[c,"RCA"],[l,f]],[/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i],[a,[c,"Dell"],[l,f]],[/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i],[a,[c,"Verizon"],[l,f]],[/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i],[[c,"Barnes & Noble"],a,[l,f]],[/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i],[a,[c,"NuVision"],[l,f]],[/android.+;\s(k88)\sbuild/i],[a,[c,"ZTE"],[l,f]],[/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i],[a,[c,"Swiss"],[l,h]],[/android.+[;\/]\s*(zur\d{3})\s+build/i],[a,[c,"Swiss"],[l,f]],[/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i],[a,[c,"Zeki"],[l,f]],[/(android).+[;\/]\s+([YR]\d{2})\s+build/i,/android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i],[[c,"Dragon Touch"],a,[l,f]],[/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i],[a,[c,"Insignia"],[l,f]],[/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i],[a,[c,"NextBook"],[l,f]],[/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i],[[c,"Voice"],a,[l,h]],[/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i],[[c,"LvTel"],a,[l,h]],[/android.+;\s(PH-1)\s/i],[a,[c,"Essential"],[l,h]],[/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i],[a,[c,"Envizen"],[l,f]],[/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i],[c,a,[l,f]],[/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i],[a,[c,"MachSpeed"],[l,f]],[/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i],[c,a,[l,f]],[/android.+[;\/]\s*TU_(1491)\s+build/i],[a,[c,"Rotor"],[l,f]],[/android.+(KS(.+))\s+build/i],[a,[c,"Amazon"],[l,f]],[/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i],[c,a,[l,f]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[l,d.lowerize],c,a],[/[\s\/\(](smart-?tv)[;\)]/i],[[l,"smarttv"]],[/(android[\w\.\s\-]{0,9});.+build/i],[a,[c,"Generic"]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[u,[s,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)/i],[[s,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[s,u],[/rv\:([\w\.]{1,9}).+(gecko)/i],[u,s]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[s,u],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],[s,[u,p.str,g.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[s,"Windows"],[u,p.str,g.os.windows.version]],[/\((bb)(10);/i],[[s,"BlackBerry"],u],[/(blackberry)\w*\/?([\w\.]*)/i,/(tizen)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|sailfish|contiki)[\/\s-]?([\w\.]*)/i],[s,u],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i],[[s,"Symbian"],u],[/\((series40);/i],[s],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[s,"Firefox OS"],u],[/(nintendo|playstation)\s([wids34portablevu]+)/i,/(mint)[\/\s\(]?(\w*)/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]*)/i,/(hurd|linux)\s?([\w\.]*)/i,/(gnu)\s?([\w\.]*)/i],[s,u],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[s,"Chromium OS"],u],[/(sunos)\s?([\w\.\d]*)/i],[[s,"Solaris"],u],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i],[s,u],[/(haiku)\s(\w+)/i],[s,u],[/cfnetwork\/.+darwin/i,/ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i],[[u,/_/g,"."],[s,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]*)/i,/(macintosh|mac(?=_powerpc)\s)/i],[[s,"Mac OS"],[u,/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]*)/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms|fuchsia)/i,/(unix)\s?([\w\.]*)/i],[s,u]]},v=function(t,e){if("object"==typeof t&&(e=t,t=void 0),!(this instanceof v))return new v(t,e).getResult();var n=t||(r&&r.navigator&&r.navigator.userAgent?r.navigator.userAgent:""),i=e?d.extend(m,e):m;return this.getBrowser=function(){var t={name:void 0,version:void 0};return p.rgx.call(t,n,i.browser),t.major=d.major(t.version),t},this.getCPU=function(){var t={architecture:void 0};return p.rgx.call(t,n,i.cpu),t},this.getDevice=function(){var t={vendor:void 0,model:void 0,type:void 0};return p.rgx.call(t,n,i.device),t},this.getEngine=function(){var t={name:void 0,version:void 0};return p.rgx.call(t,n,i.engine),t},this.getOS=function(){var t={name:void 0,version:void 0};return p.rgx.call(t,n,i.os),t},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(t){return n=t,this},this};v.VERSION="0.7.20",v.BROWSER={NAME:s,MAJOR:"major",VERSION:u},v.CPU={ARCHITECTURE:"architecture"},v.DEVICE={MODEL:a,VENDOR:c,TYPE:l,CONSOLE:"console",MOBILE:h,SMARTTV:"smarttv",TABLET:f,WEARABLE:"wearable",EMBEDDED:"embedded"},v.ENGINE={NAME:s,VERSION:u},v.OS={NAME:s,VERSION:u},void 0!==e?(void 0!==t&&t.exports&&(e=t.exports=v),e.UAParser=v):void 0===(i=function(){return v}.call(e,n,e,t))||(t.exports=i);var y=r&&(r.jQuery||r.Zepto);if(void 0!==y&&!y.ua){var b=new v;y.ua=b.getResult(),y.ua.get=function(){return b.getUA()},y.ua.set=function(t){b.setUA(t);var e=b.getResult();for(var n in e)y.ua[n]=e[n]}}}("object"==typeof window?window:this)},function(t,e,n){var i=n(401),r=n(402),o=n(403),a=n(404);t.exports=function(t){return i(t)||r(t)||o(t)||a()},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,n){(function(i){var r;t.exports=function(){"use strict";var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a=(function(){function t(t){this.value=t}function e(e){function n(r,o){try{var a=e[r](o),s=a.value;s instanceof t?Promise.resolve(s.value).then((function(t){n("next",t)}),(function(t){n("throw",t)})):i(a.done?"return":"normal",a.value)}catch(t){i("throw",t)}}function i(t,e){switch(t){case"return":r.resolve({value:e,done:!0});break;case"throw":r.reject(e);break;default:r.resolve({value:e,done:!1})}(r=r.next)?n(r.key,r.arg):o=null}var r,o;this._invoke=function(t,e){return new Promise((function(i,a){var s={key:t,arg:e,resolve:i,reject:a,next:null};o?o=o.next=s:(r=o=s,n(t,e))}))},"function"!=typeof e.return&&(this.return=void 0)}"function"==typeof Symbol&&Symbol.asyncIterator&&(e.prototype[Symbol.asyncIterator]=function(){return this}),e.prototype.next=function(t){return this._invoke("next",t)},e.prototype.throw=function(t){return this._invoke("throw",t)},e.prototype.return=function(t){return this._invoke("return",t)}}(),function(i){function a(t){var e={};this.subscribe=function(t,n,i){if("function"!=typeof n)return!1;e.hasOwnProperty(t)||(e[t]={});var r=Math.random().toString(35);return e[t][r]=[n,!!i],r},this.unsubscribe=function(t){for(var n in e)if(e[n][t])return delete e[n][t],!0;return!1},this.publish=function(n){if(e.hasOwnProperty(n)){var r=Array.prototype.slice.call(arguments,1),o=[];for(var a in e[n]){var s=e[n][a];try{s[0].apply(t,r)}catch(t){i.console&&console.error("jsPDF PubSub Error",t.message,t)}s[1]&&o.push(a)}o.length&&o.forEach(this.unsubscribe)}}}function s(t,e,n,r){var f={};"object"===(void 0===t?"undefined":o(t))&&(t=(f=t).orientation,e=f.unit||e,n=f.format||n,r=f.compress||f.compressPdf||r),e=e||"mm",n=n||"a4",t=(""+(t||"P")).toLowerCase(),(""+n).toLowerCase();var d,p,g,m,v,y,b,w,_,x=!!r&&"function"==typeof Uint8Array,T=f.textColor||"0 g",k=f.drawColor||"0 G",A=f.fontSize||16,S=f.lineHeight||1.15,C=f.lineWidth||.200025,P=2,E=!1,O=[],R={},I={},q=0,M=[],L=[],N=[],D=[],F=[],z=0,B=0,j=0,H={title:"",subject:"",author:"",keywords:"",creator:""},W={},$=new a(W),U=f.hotfixes||[],X=function(t){return t.toFixed(2)},Y=function(t){return t.toFixed(3)},V=function(t){return("0"+parseInt(t)).slice(-2)},G=function(t){E?M[m].push(t):(j+=t.length+1,D.push(t))},Q=function(){return P++,O[P]=j,G(P+" 0 obj"),P},J=function(t){G("stream"),G(t),G("endstream")},K=function(){var t,e,n,r,o,a,l,c,h,f=[];for(l=i.adler32cs||s.adler32cs,x&&void 0===l&&(x=!1),t=1;t<=q;t++){if(f.push(Q()),c=(v=N[t].width)*p,h=(y=N[t].height)*p,G("<</Type /Page"),G("/Parent 1 0 R"),G("/Resources 2 0 R"),G("/MediaBox [0 0 "+X(c)+" "+X(h)+"]"),$.publish("putPage",{pageNumber:t,page:M[t]}),G("/Contents "+(P+1)+" 0 R"),G(">>"),G("endobj"),e=M[t].join("\n"),Q(),x){for(n=[],r=e.length;r--;)n[r]=e.charCodeAt(r);a=l.from(e),(o=new u(6)).append(new Uint8Array(n)),e=o.flush(),(n=new Uint8Array(e.length+6)).set(new Uint8Array([120,156])),n.set(e,2),n.set(new Uint8Array([255&a,a>>8&255,a>>16&255,a>>24&255]),e.length+2),e=String.fromCharCode.apply(null,n),G("<</Length "+e.length+" /Filter [/FlateDecode]>>")}else G("<</Length "+e.length+">>");J(e),G("endobj")}O[1]=j,G("1 0 obj"),G("<</Type /Pages");var d="/Kids [";for(r=0;r<q;r++)d+=f[r]+" 0 R ";G(d+"]"),G("/Count "+q),G(">>"),G("endobj"),$.publish("postPutPages")},Z=function(t){t.objectNumber=Q(),G("<</BaseFont/"+t.PostScriptName+"/Type/Font"),"string"==typeof t.encoding&&G("/Encoding/"+t.encoding),G("/Subtype/Type1>>"),G("endobj")},tt=function(){for(var t in G("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),G("/Font <<"),R)R.hasOwnProperty(t)&&G("/"+t+" "+R[t].objectNumber+" 0 R");G(">>"),G("/XObject <<"),$.publish("putXobjectDict"),G(">>")},et=function(){(function(){for(var t in R)R.hasOwnProperty(t)&&Z(R[t])})(),$.publish("putResources"),O[2]=j,G("2 0 obj"),G("<<"),tt(),G(">>"),G("endobj"),$.publish("postPutResources")},nt=function(t,e,n){I.hasOwnProperty(e)||(I[e]={}),I[e][n]=t},it=function(t,e,n,i){var r="F"+(Object.keys(R).length+1).toString(10),o=R[r]={id:r,PostScriptName:t,fontName:e,fontStyle:n,encoding:i,metadata:{}};return nt(r,e,n),$.publish("addFont",o),r},rt=function(t,e){return function(t,e){var n,i,r,o,a,s,l,c,u;if(r=(e=e||{}).sourceEncoding||"Unicode",a=e.outputEncoding,(e.autoencode||a)&&R[d].metadata&&R[d].metadata[r]&&R[d].metadata[r].encoding&&(o=R[d].metadata[r].encoding,!a&&R[d].encoding&&(a=R[d].encoding),!a&&o.codePages&&(a=o.codePages[0]),"string"==typeof a&&(a=o[a]),a)){for(l=!1,s=[],n=0,i=t.length;n<i;n++)(c=a[t.charCodeAt(n)])?s.push(String.fromCharCode(c)):s.push(t[n]),s[n].charCodeAt(0)>>8&&(l=!0);t=s.join("")}for(n=t.length;void 0===l&&0!==n;)t.charCodeAt(n-1)>>8&&(l=!0),n--;if(!l)return t;for(s=e.noBOM?[]:[254,255],n=0,i=t.length;n<i;n++){if((u=(c=t.charCodeAt(n))>>8)>>8)throw new Error("Character at position "+n+" of string '"+t+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");s.push(u),s.push(c-(u<<8))}return String.fromCharCode.apply(void 0,s)}(t,e).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},ot=function(t,e){var n="string"==typeof e&&e.toLowerCase();if("string"==typeof t){var i=t.toLowerCase();h.hasOwnProperty(i)&&(t=h[i][0]/p,e=h[i][1]/p)}if(Array.isArray(t)&&(e=t[1],t=t[0]),n){switch(n.substr(0,1)){case"l":e>t&&(n="s");break;case"p":t>e&&(n="s")}"s"===n&&(g=t,t=e,e=g)}E=!0,M[++q]=[],N[q]={width:Number(t)||v,height:Number(e)||y},L[q]={},lt(q)},at=function(){ot.apply(this,arguments),G(X(C*p)+" w"),G(k),0!==z&&G(z+" J"),0!==B&&G(B+" j"),$.publish("addPage",{pageNumber:q})},st=function(t){t>0&&t<=q&&(M.splice(t,1),N.splice(t,1),m>--q&&(m=q),this.setPage(m))},lt=function(t){t>0&&t<=q&&(m=t,v=N[t].width,y=N[t].height)},ct=function(t,e){var n;switch(t=void 0!==t?t:R[d].fontName,e=void 0!==e?e:R[d].fontStyle,void 0!==t&&(t=t.toLowerCase()),t){case"sans-serif":case"verdana":case"arial":case"helvetica":t="helvetica";break;case"fixed":case"monospace":case"terminal":case"courier":t="courier";break;case"serif":case"cursive":case"fantasy":default:t="times"}try{n=I[t][e]}catch(t){}return n||null==(n=I.times[e])&&(n=I.times.normal),n},ut=function(){E=!1,P=2,j=0,D=[],O=[],F=[],$.publish("buildDocument"),G("%PDF-"+c),K(),function(){$.publish("putAdditionalObjects");for(var t=0;t<F.length;t++){var e=F[t];O[e.objId]=j,G(e.objId+" 0 obj"),G(e.content),G("endobj")}P+=F.length,$.publish("postPutAdditionalObjects")}(),et(),Q(),G("<<"),function(){for(var t in G("/Producer (jsPDF "+s.version+")"),H)H.hasOwnProperty(t)&&H[t]&&G("/"+t.substr(0,1).toUpperCase()+t.substr(1)+" ("+rt(H[t])+")");var e=new Date,n=e.getTimezoneOffset(),i=n<0?"+":"-",r=Math.floor(Math.abs(n/60)),o=Math.abs(n%60),a=[i,V(r),"'",V(o),"'"].join("");G(["/CreationDate (D:",e.getFullYear(),V(e.getMonth()+1),V(e.getDate()),V(e.getHours()),V(e.getMinutes()),V(e.getSeconds()),a,")"].join(""))}(),G(">>"),G("endobj"),Q(),G("<<"),function(){switch(G("/Type /Catalog"),G("/Pages 1 0 R"),w||(w="fullwidth"),w){case"fullwidth":G("/OpenAction [3 0 R /FitH null]");break;case"fullheight":G("/OpenAction [3 0 R /FitV null]");break;case"fullpage":G("/OpenAction [3 0 R /Fit]");break;case"original":G("/OpenAction [3 0 R /XYZ null null 1]");break;default:var t=""+w;"%"===t.substr(t.length-1)&&(w=parseInt(w)/100),"number"==typeof w&&G("/OpenAction [3 0 R /XYZ null null "+X(w)+"]")}switch(_||(_="continuous"),_){case"continuous":G("/PageLayout /OneColumn");break;case"single":G("/PageLayout /SinglePage");break;case"two":case"twoleft":G("/PageLayout /TwoColumnLeft");break;case"tworight":G("/PageLayout /TwoColumnRight")}b&&G("/PageMode /"+b),$.publish("putCatalog")}(),G(">>"),G("endobj");var t,e=j,n="0000000000";for(G("xref"),G("0 "+(P+1)),G(n+" 65535 f "),t=1;t<=P;t++){var i=O[t];G("function"==typeof i?(n+O[t]()).slice(-10)+" 00000 n ":(n+O[t]).slice(-10)+" 00000 n ")}return G("trailer"),G("<<"),G("/Size "+(P+1)),G("/Root "+P+" 0 R"),G("/Info "+(P-1)+" 0 R"),G(">>"),G("startxref"),G(""+e),G("%%EOF"),E=!0,D.join("\n")},ht=function(t){var e="S";return"F"===t?e="f":"FD"===t||"DF"===t?e="B":"f"!==t&&"f*"!==t&&"B"!==t&&"B*"!==t||(e=t),e},ft=function(){for(var t=ut(),e=t.length,n=new ArrayBuffer(e),i=new Uint8Array(n);e--;)i[e]=t.charCodeAt(e);return n},dt=function(){return new Blob([ft()],{type:"application/pdf"})},pt=function(t){return(t.foo=function(){try{return t.apply(this,arguments)}catch(t){var e=t.stack||"";~e.indexOf(" at ")&&(e=e.split(" at ")[1]);var n="Error in function "+e.split("\n")[0].split("<")[0]+": "+t.message;if(!i.console)throw new Error(n);i.console.error(n,t),i.alert&&alert(n)}}).bar=t,t.foo}((function(t,e){var n="dataur"===(""+t).substr(0,6)?"data:application/pdf;base64,"+btoa(ut()):0;switch(t){case void 0:return ut();case"save":if(navigator.getUserMedia&&(void 0===i.URL||void 0===i.URL.createObjectURL))return W.output("dataurlnewwindow");l(dt(),e),"function"==typeof l.unload&&i.setTimeout&&setTimeout(l.unload,911);break;case"arraybuffer":return ft();case"blob":return dt();case"bloburi":case"bloburl":return i.URL&&i.URL.createObjectURL(dt())||void 0;case"datauristring":case"dataurlstring":return n;case"dataurlnewwindow":var r=i.open(n);if(r||"undefined"==typeof safari)return r;case"datauri":case"dataurl":return i.document.location.href=n;default:throw new Error('Output type "'+t+'" is not supported.')}})),gt=function(t){return!0===Array.isArray(U)&&U.indexOf(t)>-1};switch(e){case"pt":p=1;break;case"mm":p=72/25.4000508;break;case"cm":p=72/2.54000508;break;case"in":p=72;break;case"px":p=1==gt("px_scaling")?.75:96/72;break;case"pc":case"em":p=12;break;case"ex":p=6;break;default:throw"Invalid unit: "+e}for(var mt in W.internal={pdfEscape:rt,getStyle:ht,getFont:function(){return R[ct.apply(W,arguments)]},getFontSize:function(){return A},getLineHeight:function(){return A*S},write:function(t){G(1===arguments.length?t:Array.prototype.join.call(arguments," "))},getCoordinateString:function(t){return X(t*p)},getVerticalCoordinateString:function(t){return X((y-t)*p)},collections:{},newObject:Q,newAdditionalObject:function(){var t=2*M.length+1,e={objId:t+=F.length,content:""};return F.push(e),e},newObjectDeferred:function(){return P++,O[P]=function(){return j},P},newObjectDeferredBegin:function(t){O[t]=j},putStream:J,events:$,scaleFactor:p,pageSize:{get width(){return v},get height(){return y}},output:function(t,e){return pt(t,e)},getNumberOfPages:function(){return M.length-1},pages:M,out:G,f2:X,getPageInfo:function(t){return{objId:2*(t-1)+3,pageNumber:t,pageContext:L[t]}},getCurrentPageInfo:function(){return{objId:2*(m-1)+3,pageNumber:m,pageContext:L[m]}},getPDFVersion:function(){return c},hasHotfix:gt},W.addPage=function(){return at.apply(this,arguments),this},W.setPage=function(){return lt.apply(this,arguments),this},W.insertPage=function(t){return this.addPage(),this.movePage(m,t),this},W.movePage=function(t,e){if(t>e){for(var n=M[t],i=N[t],r=L[t],o=t;o>e;o--)M[o]=M[o-1],N[o]=N[o-1],L[o]=L[o-1];M[e]=n,N[e]=i,L[e]=r,this.setPage(e)}else if(t<e){for(n=M[t],i=N[t],r=L[t],o=t;o<e;o++)M[o]=M[o+1],N[o]=N[o+1],L[o]=L[o+1];M[e]=n,N[e]=i,L[e]=r,this.setPage(e)}return this},W.deletePage=function(){return st.apply(this,arguments),this},W.setDisplayMode=function(t,e,n){if(w=t,_=e,b=n,-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(n))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+n+'" is not recognized.');return this},W.text=function(t,e,n,i,r,o){function a(t){return t=t.split("\t").join(Array(f.TabLen||9).join(" ")),rt(t,i)}"number"==typeof t&&(g=n,n=e,e=t,t=g),"string"==typeof t&&(t=t.match(/[\n\r]/)?t.split(/\r\n|\r|\n/g):[t]),"string"==typeof r&&(o=r,r=null),"string"==typeof i&&(o=i,i=null),"number"==typeof i&&(r=i,i=null);var s="",l="Td";if(r){r*=Math.PI/180;var c=Math.cos(r),u=Math.sin(r);s=[X(c),X(u),X(-1*u),X(c),""].join(" "),l="Tm"}"noBOM"in(i=i||{})||(i.noBOM=!0),"autoencode"in i||(i.autoencode=!0);var h,m="",v=this.internal.getCurrentPageInfo().pageContext;if(!0===i.stroke?!0!==v.lastTextWasStroke&&(m="1 Tr\n",v.lastTextWasStroke=!0):(v.lastTextWasStroke&&(m="0 Tr\n"),v.lastTextWasStroke=!1),void 0===this._runningPageHeight&&(this._runningPageHeight=0),"string"==typeof t)t=a(t);else{if("[object Array]"!==Object.prototype.toString.call(t))throw new Error('Type of text must be string or Array. "'+t+'" is not recognized.');for(var b=t.concat(),w=[],_=b.length;_--;)w.push(a(b.shift()));if(o){var x,k,C,P=A*S,E=t.map((function(t){return this.getStringUnitWidth(t)*A/p}),this);if(C=Math.max.apply(Math,E),"center"===o)x=e-C/2,e-=E[0]/2;else{if("right"!==o)throw new Error('Unrecognized alignment option, use "center" or "right".');x=e-C,e-=E[0]}k=e,t=w[0];var O=1;for(_=w.length;O<_;O++){var R=C-E[O];"center"===o&&(R/=2),t+=") Tj\n"+(x-k+R)+" -"+P+" Td ("+w[O],k=x+R}}else t=w.join(") Tj\nT* (")}return h=X((y-n)*p),G("BT\n/"+d+" "+A+" Tf\n"+A*S+" TL\n"+m+T+"\n"+s+X(e*p)+" "+h+" "+l+"\n("+t+") Tj\nET"),this},W.lstext=function(t,e,n,i){console.warn("jsPDF.lstext is deprecated");for(var r=0,o=t.length;r<o;r++,e+=i)this.text(t[r],e,n);return this},W.line=function(t,e,n,i){return this.lines([[n-t,i-e]],t,e)},W.clip=function(){G("W"),G("S")},W.clip_fixed=function(t){G("evenodd"===t?"W*":"W"),G("n")},W.lines=function(t,e,n,i,r,o){var a,s,l,c,u,h,f,d,m,v,b;for("number"==typeof t&&(g=n,n=e,e=t,t=g),i=i||[1,1],G(Y(e*p)+" "+Y((y-n)*p)+" m "),a=i[0],s=i[1],c=t.length,v=e,b=n,l=0;l<c;l++)2===(u=t[l]).length?(v=u[0]*a+v,b=u[1]*s+b,G(Y(v*p)+" "+Y((y-b)*p)+" l")):(h=u[0]*a+v,f=u[1]*s+b,d=u[2]*a+v,m=u[3]*s+b,v=u[4]*a+v,b=u[5]*s+b,G(Y(h*p)+" "+Y((y-f)*p)+" "+Y(d*p)+" "+Y((y-m)*p)+" "+Y(v*p)+" "+Y((y-b)*p)+" c"));return o&&G(" h"),null!==r&&G(ht(r)),this},W.rect=function(t,e,n,i,r){return ht(r),G([X(t*p),X((y-e)*p),X(n*p),X(-i*p),"re"].join(" ")),null!==r&&G(ht(r)),this},W.triangle=function(t,e,n,i,r,o,a){return this.lines([[n-t,i-e],[r-n,o-i],[t-r,e-o]],t,e,[1,1],a,!0),this},W.roundedRect=function(t,e,n,i,r,o,a){var s=4/3*(Math.SQRT2-1);return this.lines([[n-2*r,0],[r*s,0,r,o-o*s,r,o],[0,i-2*o],[0,o*s,-r*s,o,-r,o],[2*r-n,0],[-r*s,0,-r,-o*s,-r,-o],[0,2*o-i],[0,-o*s,r*s,-o,r,-o]],t+r,e,[1,1],a),this},W.ellipse=function(t,e,n,i,r){var o=4/3*(Math.SQRT2-1)*n,a=4/3*(Math.SQRT2-1)*i;return G([X((t+n)*p),X((y-e)*p),"m",X((t+n)*p),X((y-(e-a))*p),X((t+o)*p),X((y-(e-i))*p),X(t*p),X((y-(e-i))*p),"c"].join(" ")),G([X((t-o)*p),X((y-(e-i))*p),X((t-n)*p),X((y-(e-a))*p),X((t-n)*p),X((y-e)*p),"c"].join(" ")),G([X((t-n)*p),X((y-(e+a))*p),X((t-o)*p),X((y-(e+i))*p),X(t*p),X((y-(e+i))*p),"c"].join(" ")),G([X((t+o)*p),X((y-(e+i))*p),X((t+n)*p),X((y-(e+a))*p),X((t+n)*p),X((y-e)*p),"c"].join(" ")),null!==r&&G(ht(r)),this},W.circle=function(t,e,n,i){return this.ellipse(t,e,n,n,i)},W.setProperties=function(t){for(var e in H)H.hasOwnProperty(e)&&t[e]&&(H[e]=t[e]);return this},W.setFontSize=function(t){return A=t,this},W.setFont=function(t,e){return d=ct(t,e),this},W.setFontStyle=W.setFontType=function(t){return d=ct(void 0,t),this},W.getFontList=function(){var t,e,n,i={};for(t in I)if(I.hasOwnProperty(t))for(e in i[t]=n=[],I[t])I[t].hasOwnProperty(e)&&n.push(e);return i},W.addFont=function(t,e,n){it(t,e,n,"StandardEncoding")},W.setLineWidth=function(t){return G((t*p).toFixed(2)+" w"),this},W.setDrawColor=function(t,e,n,i){var r;return r=void 0===e||void 0===i&&t===e===n?"string"==typeof t?t+" G":X(t/255)+" G":void 0===i?"string"==typeof t?[t,e,n,"RG"].join(" "):[X(t/255),X(e/255),X(n/255),"RG"].join(" "):"string"==typeof t?[t,e,n,i,"K"].join(" "):[X(t),X(e),X(n),X(i),"K"].join(" "),G(r),this},W.setFillColor=function(t,e,n,i){var r;return void 0===e||void 0===i&&t===e===n?r="string"==typeof t?t+" g":X(t/255)+" g":void 0===i||"object"===(void 0===i?"undefined":o(i))?(r="string"==typeof t?[t,e,n,"rg"].join(" "):[X(t/255),X(e/255),X(n/255),"rg"].join(" "),i&&0===i.a&&(r=["255","255","255","rg"].join(" "))):r="string"==typeof t?[t,e,n,i,"k"].join(" "):[X(t),X(e),X(n),X(i),"k"].join(" "),G(r),this},W.setTextColor=function(t,e,n){if("string"==typeof t&&/^#[0-9A-Fa-f]{6}$/.test(t)){var i=parseInt(t.substr(1),16);t=i>>16&255,e=i>>8&255,n=255&i}return T=0===t&&0===e&&0===n||void 0===e?Y(t/255)+" g":[Y(t/255),Y(e/255),Y(n/255),"rg"].join(" "),this},W.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},W.setLineCap=function(t){var e=this.CapJoinStyles[t];if(void 0===e)throw new Error("Line cap style of '"+t+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return z=e,G(e+" J"),this},W.setLineJoin=function(t){var e=this.CapJoinStyles[t];if(void 0===e)throw new Error("Line join style of '"+t+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return B=e,G(e+" j"),this},W.output=pt,W.save=function(t){W.output("save",t)},s.API)s.API.hasOwnProperty(mt)&&("events"===mt&&s.API.events.length?function(t,e){var n,i,r;for(r=e.length-1;-1!==r;r--)n=e[r][0],i=e[r][1],t.subscribe.apply(t,[n].concat("function"==typeof i?[i]:i))}($,s.API.events):W[mt]=s.API[mt]);return function(){for(var t=[["Helvetica","helvetica","normal"],["Helvetica-Bold","helvetica","bold"],["Helvetica-Oblique","helvetica","italic"],["Helvetica-BoldOblique","helvetica","bolditalic"],["Courier","courier","normal"],["Courier-Bold","courier","bold"],["Courier-Oblique","courier","italic"],["Courier-BoldOblique","courier","bolditalic"],["Times-Roman","times","normal"],["Times-Bold","times","bold"],["Times-Italic","times","italic"],["Times-BoldItalic","times","bolditalic"],["ZapfDingbats","zapfdingbats"]],e=0,n=t.length;e<n;e++){var i=it(t[e][0],t[e][1],t[e][2],"StandardEncoding"),r=t[e][0].split("-");nt(i,r[0],r[1]||"")}$.publish("addFonts",{fonts:R,dictionary:I})}(),d="F1",at(n,t),$.publish("initialized"),W}var c="1.3",h={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};return s.API={events:[]},s.version="1.x-master",void 0!==(r=function(){return s}.call(e,n,e,t))&&(t.exports=r),s}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||void 0));(window.AcroForm=function(t){var e=window.AcroForm;e.scale=function(t){return t*(n.internal.scaleFactor/1)},e.antiScale=function(t){return 1/n.internal.scaleFactor*t};var n={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null};a.API.acroformPlugin=n;var i=function(){for(var t in this.acroformPlugin.acroFormDictionaryRoot.Fields){var e=this.acroformPlugin.acroFormDictionaryRoot.Fields[t];e.hasAnnotation&&o.call(this,e)}},r=function(){if(this.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");this.acroformPlugin.acroFormDictionaryRoot=new e.AcroFormDictionary,this.acroformPlugin.internal=this.internal,this.acroformPlugin.acroFormDictionaryRoot._eventID=this.internal.events.subscribe("postPutResources",c),this.internal.events.subscribe("buildDocument",i),this.internal.events.subscribe("putCatalog",l),this.internal.events.subscribe("postPutPages",u)},o=function(t){var e={type:"reference",object:t};a.API.annotationPlugin.annotations[this.internal.getPageInfo(t.page).pageNumber].push(e)},s=function(t){this.acroformPlugin.printedOut&&(this.acroformPlugin.printedOut=!1,this.acroformPlugin.acroFormDictionaryRoot=null),this.acroformPlugin.acroFormDictionaryRoot||r.call(this),this.acroformPlugin.acroFormDictionaryRoot.Fields.push(t)},l=function(){void 0!==this.acroformPlugin.acroFormDictionaryRoot?this.internal.write("/AcroForm "+this.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R"):console.log("Root missing...")},c=function(){this.internal.events.unsubscribe(this.acroformPlugin.acroFormDictionaryRoot._eventID),delete this.acroformPlugin.acroFormDictionaryRoot._eventID,this.acroformPlugin.printedOut=!0},u=function(t){var n=!t;for(var i in t||(this.internal.newObjectDeferredBegin(this.acroformPlugin.acroFormDictionaryRoot.objId),this.internal.out(this.acroformPlugin.acroFormDictionaryRoot.getString())),t=t||this.acroformPlugin.acroFormDictionaryRoot.Kids){var r=t[i],o=r.Rect;r.Rect&&(r.Rect=e.internal.calculateCoordinates.call(this,r.Rect)),this.internal.newObjectDeferredBegin(r.objId);var a="";if(a+=r.objId+" 0 obj\n",a+="<<\n"+r.getContent(),r.Rect=o,r.hasAppearanceStream&&!r.appearanceStreamContent){var s=e.internal.calculateAppearanceStream.call(this,r);a+="/AP << /N "+s+" >>\n",this.acroformPlugin.xForms.push(s)}if(r.appearanceStreamContent){for(var l in a+="/AP << ",r.appearanceStreamContent){var c=r.appearanceStreamContent[l];if(a+="/"+l+" ",a+="<< ",Object.keys(c).length>=1||Array.isArray(c))for(var i in c)"function"==typeof(u=c[i])&&(u=u.call(this,r)),a+="/"+i+" "+u+" ",this.acroformPlugin.xForms.indexOf(u)>=0||this.acroformPlugin.xForms.push(u);else{var u=c;"function"==typeof u&&(u=u.call(this,r)),a+="/"+i+" "+u+" \n",this.acroformPlugin.xForms.indexOf(u)>=0||this.acroformPlugin.xForms.push(u)}a+=" >>\n"}a+=">>\n"}a+=">>\nendobj\n",this.internal.out(a)}n&&h.call(this,this.acroformPlugin.xForms)},h=function(t){for(var e in t){var n=e,i=t[e];this.internal.newObjectDeferredBegin(i&&i.objId);var r="";r+=i?i.getString():"",this.internal.out(r),delete t[n]}};t.addField=function(t){return t instanceof e.TextField?d.call(this,t):t instanceof e.ChoiceField?p.call(this,t):t instanceof e.Button?f.call(this,t):(t instanceof e.ChildClass||t)&&s.call(this,t),t.page=this.acroformPlugin.internal.getCurrentPageInfo().pageNumber,this};var f=function(t){(t=t||new e.Field).FT="/Btn";var n=t.Ff||0;t.pushbutton&&(n=e.internal.setBitPosition(n,17),delete t.pushbutton),t.radio&&(n=e.internal.setBitPosition(n,16),delete t.radio),t.noToggleToOff&&(n=e.internal.setBitPosition(n,15)),t.Ff=n,s.call(this,t)},d=function(t){(t=t||new e.Field).FT="/Tx";var n=t.Ff||0;t.multiline&&(n|=4096),t.password&&(n|=8192),t.fileSelect&&(n|=1<<20),t.doNotSpellCheck&&(n|=1<<22),t.doNotScroll&&(n|=1<<23),t.Ff=t.Ff||n,s.call(this,t)},p=function(t){var n=t||new e.Field;n.FT="/Ch";var i=n.Ff||0;n.combo&&(i=e.internal.setBitPosition(i,18),delete n.combo),n.edit&&(i=e.internal.setBitPosition(i,19),delete n.edit),n.sort&&(i=e.internal.setBitPosition(i,20),delete n.sort),n.multiSelect&&this.internal.getPDFVersion()>=1.4&&(i=e.internal.setBitPosition(i,22),delete n.multiSelect),n.doNotSpellCheck&&this.internal.getPDFVersion()>=1.4&&(i=e.internal.setBitPosition(i,23),delete n.doNotSpellCheck),n.Ff=i,s.call(this,n)}})(a.API);var s=window.AcroForm;s.internal={},s.createFormXObject=function(t){var e=new s.FormXObject,n=s.Appearance.internal.getHeight(t)||0,i=s.Appearance.internal.getWidth(t)||0;return e.BBox=[0,0,i,n],e},s.Appearance={CheckBox:{createAppearanceStream:function(){return{N:{On:s.Appearance.CheckBox.YesNormal},D:{On:s.Appearance.CheckBox.YesPushDown,Off:s.Appearance.CheckBox.OffPushDown}}},createMK:function(){return"<< /CA (3)>>"},YesPushDown:function(t){var e=s.createFormXObject(t),n="";t.Q=1;var i=s.internal.calculateX(t,"3","ZapfDingbats",50);return n+="0.749023 g\n             0 0 "+s.Appearance.internal.getWidth(t)+" "+s.Appearance.internal.getHeight(t)+" re\n             f\n             BMC\n             q\n             0 0 1 rg\n             /F13 "+i.fontSize+" Tf 0 g\n             BT\n",n+=i.text,n+="ET\n             Q\n             EMC\n",e.stream=n,e},YesNormal:function(t){var e=s.createFormXObject(t),n="";t.Q=1;var i=s.internal.calculateX(t,"3","ZapfDingbats",.9*s.Appearance.internal.getHeight(t));return n+="1 g\n0 0 "+s.Appearance.internal.getWidth(t)+" "+s.Appearance.internal.getHeight(t)+" re\nf\nq\n0 0 1 rg\n0 0 "+(s.Appearance.internal.getWidth(t)-1)+" "+(s.Appearance.internal.getHeight(t)-1)+" re\nW\nn\n0 g\nBT\n/F13 "+i.fontSize+" Tf 0 g\n",n+=i.text,n+="ET\n             Q\n",e.stream=n,e},OffPushDown:function(t){var e=s.createFormXObject(t),n="";return n+="0.749023 g\n            0 0 "+s.Appearance.internal.getWidth(t)+" "+s.Appearance.internal.getHeight(t)+" re\n            f\n",e.stream=n,e}},RadioButton:{Circle:{createAppearanceStream:function(t){var e={D:{Off:s.Appearance.RadioButton.Circle.OffPushDown},N:{}};return e.N[t]=s.Appearance.RadioButton.Circle.YesNormal,e.D[t]=s.Appearance.RadioButton.Circle.YesPushDown,e},createMK:function(){return"<< /CA (l)>>"},YesNormal:function(t){var e=s.createFormXObject(t),n="",i=s.Appearance.internal.getWidth(t)<=s.Appearance.internal.getHeight(t)?s.Appearance.internal.getWidth(t)/4:s.Appearance.internal.getHeight(t)/4;i*=.9;var r=s.Appearance.internal.Bezier_C;return n+="q\n1 0 0 1 "+s.Appearance.internal.getWidth(t)/2+" "+s.Appearance.internal.getHeight(t)/2+" cm\n"+i+" 0 m\n"+i+" "+i*r+" "+i*r+" "+i+" 0 "+i+" c\n-"+i*r+" "+i+" -"+i+" "+i*r+" -"+i+" 0 c\n-"+i+" -"+i*r+" -"+i*r+" -"+i+" 0 -"+i+" c\n"+i*r+" -"+i+" "+i+" -"+i*r+" "+i+" 0 c\nf\nQ\n",e.stream=n,e},YesPushDown:function(t){var e=s.createFormXObject(t),n="",i=s.Appearance.internal.getWidth(t)<=s.Appearance.internal.getHeight(t)?s.Appearance.internal.getWidth(t)/4:s.Appearance.internal.getHeight(t)/4,r=2*(i*=.9),o=r*s.Appearance.internal.Bezier_C,a=i*s.Appearance.internal.Bezier_C;return n+="0.749023 g\n            q\n           1 0 0 1 "+s.Appearance.internal.getWidth(t)/2+" "+s.Appearance.internal.getHeight(t)/2+" cm\n"+r+" 0 m\n"+r+" "+o+" "+o+" "+r+" 0 "+r+" c\n-"+o+" "+r+" -"+r+" "+o+" -"+r+" 0 c\n-"+r+" -"+o+" -"+o+" -"+r+" 0 -"+r+" c\n"+o+" -"+r+" "+r+" -"+o+" "+r+" 0 c\n            f\n            Q\n            0 g\n            q\n            1 0 0 1 "+s.Appearance.internal.getWidth(t)/2+" "+s.Appearance.internal.getHeight(t)/2+" cm\n"+i+" 0 m\n"+i+" "+a+" "+a+" "+i+" 0 "+i+" c\n-"+a+" "+i+" -"+i+" "+a+" -"+i+" 0 c\n-"+i+" -"+a+" -"+a+" -"+i+" 0 -"+i+" c\n"+a+" -"+i+" "+i+" -"+a+" "+i+" 0 c\n            f\n            Q\n",e.stream=n,e},OffPushDown:function(t){var e=s.createFormXObject(t),n="",i=s.Appearance.internal.getWidth(t)<=s.Appearance.internal.getHeight(t)?s.Appearance.internal.getWidth(t)/4:s.Appearance.internal.getHeight(t)/4,r=2*(i*=.9),o=r*s.Appearance.internal.Bezier_C;return n+="0.749023 g\n            q\n 1 0 0 1 "+s.Appearance.internal.getWidth(t)/2+" "+s.Appearance.internal.getHeight(t)/2+" cm\n"+r+" 0 m\n"+r+" "+o+" "+o+" "+r+" 0 "+r+" c\n-"+o+" "+r+" -"+r+" "+o+" -"+r+" 0 c\n-"+r+" -"+o+" -"+o+" -"+r+" 0 -"+r+" c\n"+o+" -"+r+" "+r+" -"+o+" "+r+" 0 c\n            f\n            Q\n",e.stream=n,e}},Cross:{createAppearanceStream:function(t){var e={D:{Off:s.Appearance.RadioButton.Cross.OffPushDown},N:{}};return e.N[t]=s.Appearance.RadioButton.Cross.YesNormal,e.D[t]=s.Appearance.RadioButton.Cross.YesPushDown,e},createMK:function(){return"<< /CA (8)>>"},YesNormal:function(t){var e=s.createFormXObject(t),n="",i=s.Appearance.internal.calculateCross(t);return n+="q\n            1 1 "+(s.Appearance.internal.getWidth(t)-2)+" "+(s.Appearance.internal.getHeight(t)-2)+" re\n            W\n            n\n            "+i.x1.x+" "+i.x1.y+" m\n            "+i.x2.x+" "+i.x2.y+" l\n            "+i.x4.x+" "+i.x4.y+" m\n            "+i.x3.x+" "+i.x3.y+" l\n            s\n            Q\n",e.stream=n,e},YesPushDown:function(t){var e=s.createFormXObject(t),n=s.Appearance.internal.calculateCross(t),i="";return i+="0.749023 g\n            0 0 "+s.Appearance.internal.getWidth(t)+" "+s.Appearance.internal.getHeight(t)+" re\n            f\n            q\n            1 1 "+(s.Appearance.internal.getWidth(t)-2)+" "+(s.Appearance.internal.getHeight(t)-2)+" re\n            W\n            n\n            "+n.x1.x+" "+n.x1.y+" m\n            "+n.x2.x+" "+n.x2.y+" l\n            "+n.x4.x+" "+n.x4.y+" m\n            "+n.x3.x+" "+n.x3.y+" l\n            s\n            Q\n",e.stream=i,e},OffPushDown:function(t){var e=s.createFormXObject(t),n="";return n+="0.749023 g\n            0 0 "+s.Appearance.internal.getWidth(t)+" "+s.Appearance.internal.getHeight(t)+" re\n            f\n",e.stream=n,e}}},createDefaultAppearanceStream:function(t){return"/Helv 0 Tf 0 g"}},s.Appearance.internal={Bezier_C:.551915024494,calculateCross:function(t){var e=s.Appearance.internal.getWidth(t),n=s.Appearance.internal.getHeight(t),i=function(t,e){return t>e?e:t}(e,n);return{x1:{x:(e-i)/2,y:(n-i)/2+i},x2:{x:(e-i)/2+i,y:(n-i)/2},x3:{x:(e-i)/2,y:(n-i)/2},x4:{x:(e-i)/2+i,y:(n-i)/2+i}}}},s.Appearance.internal.getWidth=function(t){return t.Rect[2]},s.Appearance.internal.getHeight=function(t){return t.Rect[3]},s.internal.inherit=function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t},s.internal.arrayToPdfArray=function(t){if(Array.isArray(t)){var e=" [";for(var n in t)e+=t[n].toString(),e+=n<t.length-1?" ":"";return e+"]"}},s.internal.toPdfString=function(t){return 0!==(t=t||"").indexOf("(")&&(t="("+t),")"!=t.substring(t.length-1)&&(t+="("),t},s.PDFObject=function(){var t;Object.defineProperty(this,"objId",{get:function(){return t||(this.internal?t=this.internal.newObjectDeferred():a.API.acroformPlugin.internal&&(t=a.API.acroformPlugin.internal.newObjectDeferred())),t||console.log("Couldn't create Object ID"),t},configurable:!1})},s.PDFObject.prototype.toString=function(){return this.objId+" 0 R"},s.PDFObject.prototype.getString=function(){var t=this.objId+" 0 obj\n<<";return t+=this.getContent()+">>\n",this.stream&&(t+="stream\n",t+=this.stream,t+="endstream\n"),t+"endobj\n"},s.PDFObject.prototype.getContent=function(){return""+function(t){var e="",n=Object.keys(t).filter((function(t){return"content"!=t&&"appearanceStreamContent"!=t&&"_"!=t.substring(0,1)}));for(var i in n){var r=n[i],o=t[r];o&&(Array.isArray(o)?e+="/"+r+" "+s.internal.arrayToPdfArray(o)+"\n":o instanceof s.PDFObject?e+="/"+r+" "+o.objId+" 0 R\n":e+="/"+r+" "+o+"\n")}return e}(this)},s.FormXObject=function(){var t;s.PDFObject.call(this),this.Type="/XObject",this.Subtype="/Form",this.FormType=1,this.BBox,this.Matrix,this.Resources="2 0 R",this.PieceInfo,Object.defineProperty(this,"Length",{enumerable:!0,get:function(){return void 0!==t?t.length:0}}),Object.defineProperty(this,"stream",{enumerable:!1,set:function(e){t=e},get:function(){return t||null}})},s.internal.inherit(s.FormXObject,s.PDFObject),s.AcroFormDictionary=function(){s.PDFObject.call(this);var t=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return t.length>0?t:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!0,configurable:!0,get:function(){return t}}),this.DA},s.internal.inherit(s.AcroFormDictionary,s.PDFObject),s.Field=function(){var t;s.PDFObject.call(this),Object.defineProperty(this,"Rect",{enumerable:!0,configurable:!1,get:function(){if(t)return t},set:function(e){t=e}});var e,n,i,r="";Object.defineProperty(this,"FT",{enumerable:!0,set:function(t){r=t},get:function(){return r}}),Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,set:function(t){e=t},get:function(){if(!e||e.length<1){if(this instanceof s.ChildClass)return;return"(FieldObject"+s.Field.FieldNum+++")"}return"("==e.substring(0,1)&&e.substring(e.length-1)?e:"("+e+")"}}),Object.defineProperty(this,"DA",{enumerable:!0,get:function(){if(n)return"("+n+")"},set:function(t){n=t}}),Object.defineProperty(this,"DV",{enumerable:!0,configurable:!0,get:function(){if(i)return i},set:function(t){i=t}}),Object.defineProperty(this,"Type",{enumerable:!0,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,get:function(){return this.hasAnnotation?"/Widget":null}}),this.BG,Object.defineProperty(this,"hasAnnotation",{enumerable:!1,get:function(){return!!(this.Rect||this.BC||this.BG)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!1,configurable:!0,writable:!0}),Object.defineProperty(this,"page",{enumerable:!1,configurable:!0,writable:!0})},s.Field.FieldNum=0,s.internal.inherit(s.Field,s.PDFObject),s.ChoiceField=function(){s.Field.call(this),this.FT="/Ch",this.Opt=[],this.V="()",this.TI=0,this.combo=!1,Object.defineProperty(this,"edit",{enumerable:!0,set:function(t){1==t?(this._edit=!0,this.combo=!0):this._edit=!1},get:function(){return!!this._edit&&this._edit},configurable:!1}),this.hasAppearanceStream=!0,Object.defineProperty(this,"V",{get:function(){s.internal.toPdfString()}})},s.internal.inherit(s.ChoiceField,s.Field),window.ChoiceField=s.ChoiceField,s.ListBox=function(){s.ChoiceField.call(this)},s.internal.inherit(s.ListBox,s.ChoiceField),window.ListBox=s.ListBox,s.ComboBox=function(){s.ListBox.call(this),this.combo=!0},s.internal.inherit(s.ComboBox,s.ListBox),window.ComboBox=s.ComboBox,s.EditBox=function(){s.ComboBox.call(this),this.edit=!0},s.internal.inherit(s.EditBox,s.ComboBox),window.EditBox=s.EditBox,s.Button=function(){s.Field.call(this),this.FT="/Btn"},s.internal.inherit(s.Button,s.Field),window.Button=s.Button,s.PushButton=function(){s.Button.call(this),this.pushbutton=!0},s.internal.inherit(s.PushButton,s.Button),window.PushButton=s.PushButton,s.RadioButton=function(){s.Button.call(this),this.radio=!0;var t,e=[];Object.defineProperty(this,"Kids",{enumerable:!0,get:function(){if(e.length>0)return e}}),Object.defineProperty(this,"__Kids",{get:function(){return e}}),Object.defineProperty(this,"noToggleToOff",{enumerable:!1,get:function(){return t},set:function(e){t=e}})},s.internal.inherit(s.RadioButton,s.Button),window.RadioButton=s.RadioButton,s.ChildClass=function(t,e){s.Field.call(this),this.Parent=t,this._AppearanceType=s.Appearance.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(e),this.F=s.internal.setBitPosition(this.F,3,1),this.MK=this._AppearanceType.createMK(),this.AS="/Off",this._Name=e},s.internal.inherit(s.ChildClass,s.Field),s.RadioButton.prototype.setAppearance=function(t){if("createAppearanceStream"in t&&"createMK"in t)for(var e in this.__Kids){var n=this.__Kids[e];n.appearanceStreamContent=t.createAppearanceStream(n._Name),n.MK=t.createMK()}else console.log("Couldn't assign Appearance to RadioButton. Appearance was Invalid!")},s.RadioButton.prototype.createOption=function(t){var e=new s.ChildClass(this,t);return this.__Kids.push(e),a.API.addField(e),e},s.CheckBox=function(){Button.call(this),this.appearanceStreamContent=s.Appearance.CheckBox.createAppearanceStream(),this.MK=s.Appearance.CheckBox.createMK(),this.AS="/On",this.V="/On"},s.internal.inherit(s.CheckBox,s.Button),window.CheckBox=s.CheckBox,s.TextField=function(){var t,e;s.Field.call(this),this.DA=s.Appearance.createDefaultAppearanceStream(),this.F=4,Object.defineProperty(this,"V",{get:function(){return t?"("+t+")":t},enumerable:!0,set:function(e){t=e}}),Object.defineProperty(this,"DV",{get:function(){return e?"("+e+")":e},enumerable:!0,set:function(t){e=t}});var n=!1;Object.defineProperty(this,"multiline",{enumerable:!1,get:function(){return n},set:function(t){n=t}});var i=!1;Object.defineProperty(this,"MaxLen",{enumerable:!0,get:function(){return i},set:function(t){i=t}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!1,get:function(){return this.V||this.DV}})},s.internal.inherit(s.TextField,s.Field),window.TextField=s.TextField,s.PasswordField=function(){TextField.call(this),Object.defineProperty(this,"password",{value:!0,enumerable:!1,configurable:!1,writable:!1})},s.internal.inherit(s.PasswordField,s.TextField),window.PasswordField=s.PasswordField,s.internal.calculateFontSpace=function(t,e,n){n=n||"helvetica";var i=s.internal.calculateFontSpace.canvas||(s.internal.calculateFontSpace.canvas=document.createElement("canvas"));(a=i.getContext("2d")).save();var r=e+" "+n;a.font=r;var o=a.measureText(t);a.fontcolor="black";var a=i.getContext("2d");return o.height=1.5*a.measureText("3").width,a.restore(),o},s.internal.calculateX=function(t,e,n,i){i=i||12,n=n||"helvetica";var r={text:"",fontSize:""},o=(e=")"==(e="("==e.substr(0,1)?e.substr(1):e).substr(e.length-1)?e.substr(0,e.length-1):e).split(" "),a=i,l=s.Appearance.internal.getHeight(t)||0;l=l<0?-l:l;var c=s.Appearance.internal.getWidth(t)||0;c=c<0?-c:c,a++;t:for(;;){e="",a--;var u=s.internal.calculateFontSpace("3",a+"px",n).height,h=t.multiline?l-a:(l-u)/2,f=-2,d=h+=2,p=0,g=0,m=0;if(0==a){a=12,e="(...) Tj\n",e+="% Width of Text: "+s.internal.calculateFontSpace(e,"1px").width+", FieldWidth:"+c+"\n";break}m=s.internal.calculateFontSpace(o[0]+" ",a+"px",n).width;var v="",y=0;for(var b in o){v=" "==(v+=o[b]+" ").substr(v.length-1)?v.substr(0,v.length-1):v;var w=parseInt(b);m=s.internal.calculateFontSpace(v+" ",a+"px",n).width;var _=function(t,e,i){if(t+1<o.length){var r=e+" "+o[t+1];return s.internal.calculateFontSpace(r,i+"px",n).width<=c-4}return!1}(w,v,a),x=b>=o.length-1;if(!_||x){if(_||x){if(x)g=w;else if(t.multiline&&(u+2)*(y+2)+2>l)continue t}else{if(!t.multiline)continue t;if((u+2)*(y+2)+2>l)continue t;g=w}for(var T="",k=p;k<=g;k++)T+=o[k]+" ";switch(T=" "==T.substr(T.length-1)?T.substr(0,T.length-1):T,m=s.internal.calculateFontSpace(T,a+"px",n).width,t.Q){case 2:f=c-m-2;break;case 1:f=(c-m)/2;break;case 0:default:f=2}e+=f+" "+d+" Td\n",e+="("+T+") Tj\n",e+=-f+" 0 Td\n",d=-(a+2),m=0,p=g+1,y++,v=""}else v+=" "}break}return r.text=e,r.fontSize=a,r},s.internal.calculateAppearanceStream=function(t){if(t.appearanceStreamContent)return t.appearanceStreamContent;if(t.V||t.DV){var e="",n=t.V||t.DV,i=s.internal.calculateX(t,n);e+="/Tx BMC\nq\n/F1 "+i.fontSize+" Tf\n1 0 0 1 0 0 Tm\n",e+="BT\n",e+=i.text,e+="ET\n",e+="Q\nEMC\n";var r=new s.createFormXObject(t);return r.stream=e,r}},s.internal.calculateCoordinates=function(t,e,n,i){var r={};if(this.internal){var o=function(t){return t*this.internal.scaleFactor};Array.isArray(t)?(t[0]=s.scale(t[0]),t[1]=s.scale(t[1]),t[2]=s.scale(t[2]),t[3]=s.scale(t[3]),r.lowerLeft_X=t[0]||0,r.lowerLeft_Y=o.call(this,this.internal.pageSize.height)-t[3]-t[1]||0,r.upperRight_X=t[0]+t[2]||0,r.upperRight_Y=o.call(this,this.internal.pageSize.height)-t[1]||0):(t=s.scale(t),e=s.scale(e),n=s.scale(n),i=s.scale(i),r.lowerLeft_X=t||0,r.lowerLeft_Y=this.internal.pageSize.height-e||0,r.upperRight_X=t+n||0,r.upperRight_Y=this.internal.pageSize.height-e+i||0)}else Array.isArray(t)?(r.lowerLeft_X=t[0]||0,r.lowerLeft_Y=t[1]||0,r.upperRight_X=t[0]+t[2]||0,r.upperRight_Y=t[1]+t[3]||0):(r.lowerLeft_X=t||0,r.lowerLeft_Y=e||0,r.upperRight_X=t+n||0,r.upperRight_Y=e+i||0);return[r.lowerLeft_X,r.lowerLeft_Y,r.upperRight_X,r.upperRight_Y]},s.internal.calculateColor=function(t,e,n){var i=new Array(3);return i.r=0|t,i.g=0|e,i.b=0|n,i},s.internal.getBitPosition=function(t,e){var n=1;return(t=t||0)|(n<<=e-1)},s.internal.setBitPosition=function(t,e,n){t=t||0;var i=1;return i<<=e-1,1==(n=n||1)?t|=i:t&=~i,t},a.API.addHTML=function(t,e,n,i,r){if("undefined"==typeof html2canvas&&"undefined"==typeof rasterizeHTML)throw new Error("You need either https://github.com/niklasvh/html2canvas or https://github.com/cburgmer/rasterizeHTML.js");"number"!=typeof e&&(i=e,r=n),"function"==typeof i&&(r=i,i=null);var o=this.internal,a=o.scaleFactor,s=o.pageSize.width,l=o.pageSize.height;if((i=i||{}).onrendered=function(t){e=parseInt(e)||0,n=parseInt(n)||0;var o=i.dim||{},c=o.h||0,u=o.w||Math.min(s,t.width/a)-e,h="JPEG";if(i.format&&(h=i.format),t.height>l&&i.pagesplit){var f=function(){for(var i=0;;){var o=document.createElement("canvas");o.width=Math.min(s*a,t.width),o.height=Math.min(l*a,t.height-i),o.getContext("2d").drawImage(t,0,i,t.width,o.height,0,0,o.width,o.height);var c=[o,e,i?0:n,o.width/a,o.height/a,h,null,"SLOW"];if(this.addImage.apply(this,c),(i+=o.height)>=t.height)break;this.addPage()}r(u,i,null,c)}.bind(this);if("CANVAS"===t.nodeName){var d=new Image;d.onload=f,d.src=t.toDataURL("image/png"),t=d}else f()}else{var p=Math.random().toString(35),g=[t,e,n,u,c,h,p,"SLOW"];this.addImage.apply(this,g),r(u,c,p,g)}}.bind(this),"undefined"!=typeof html2canvas&&!i.rstz)return html2canvas(t,i);if("undefined"!=typeof rasterizeHTML){var c="drawDocument";return"string"==typeof t&&(c=/^http/.test(t)?"drawURL":"drawHTML"),i.width=i.width||s*a,rasterizeHTML[c](t,void 0,i).then((function(t){i.onrendered(t.image)}),(function(t){r(null,t)}))}return null},
/** @preserve
 * jsPDF addImage plugin
 * Copyright (c) 2012 Jason Siefken, https://github.com/siefkenj/
 *               2013 Chris Dowling, https://github.com/gingerchris
 *               2013 Trinh Ho, https://github.com/ineedfat
 *               2013 Edwin Alejandro Perez, https://github.com/eaparango
 *               2013 Norah Smith, https://github.com/burnburnrocket
 *               2014 Diego Casorran, https://github.com/diegocr
 *               2014 James Robb, https://github.com/jamesbrobb
 *
 * 
 */
function(t){var e=["jpeg","jpg","png"],n=function t(e){var n=this.internal.newObject(),i=this.internal.write,r=this.internal.putStream;if(e.n=n,i("<</Type /XObject"),i("/Subtype /Image"),i("/Width "+e.w),i("/Height "+e.h),e.cs===this.color_spaces.INDEXED?i("/ColorSpace [/Indexed /DeviceRGB "+(e.pal.length/3-1)+" "+("smask"in e?n+2:n+1)+" 0 R]"):(i("/ColorSpace /"+e.cs),e.cs===this.color_spaces.DEVICE_CMYK&&i("/Decode [1 0 1 0 1 0 1 0]")),i("/BitsPerComponent "+e.bpc),"f"in e&&i("/Filter /"+e.f),"dp"in e&&i("/DecodeParms <<"+e.dp+">>"),"trns"in e&&e.trns.constructor==Array){for(var o="",a=0,s=e.trns.length;a<s;a++)o+=e.trns[a]+" "+e.trns[a]+" ";i("/Mask ["+o+"]")}if("smask"in e&&i("/SMask "+(n+1)+" 0 R"),i("/Length "+e.data.length+">>"),r(e.data),i("endobj"),"smask"in e){var l="/Predictor "+e.p+" /Colors 1 /BitsPerComponent "+e.bpc+" /Columns "+e.w,c={w:e.w,h:e.h,cs:"DeviceGray",bpc:e.bpc,dp:l,data:e.smask};"f"in e&&(c.f=e.f),t.call(this,c)}e.cs===this.color_spaces.INDEXED&&(this.internal.newObject(),i("<< /Length "+e.pal.length+">>"),r(this.arrayBufferToBinaryString(new Uint8Array(e.pal))),i("endobj"))},i=function(){var t=this.internal.collections.addImage_images;for(var e in t)n.call(this,t[e])},r=function(){var t,e=this.internal.collections.addImage_images,n=this.internal.write;for(var i in e)n("/I"+(t=e[i]).i,t.n,"0","R")},a=function(e){return e&&"string"==typeof e&&(e=e.toUpperCase()),e in t.image_compression?e:t.image_compression.NONE},s=function(){var t=this.internal.collections.addImage_images;return t||(this.internal.collections.addImage_images=t={},this.internal.events.subscribe("putResources",i),this.internal.events.subscribe("putXobjectDict",r)),t},l=function(t){var e=0;return t&&(e=Object.keys?Object.keys(t).length:function(t){var e=0;for(var n in t)t.hasOwnProperty(n)&&e++;return e}(t)),e},c=function(t){return null==t},u=function(e){return"string"==typeof e&&t.sHashCode(e)},h=function(t){return-1===e.indexOf(t)},f=function(e){return"function"!=typeof t["process"+e.toUpperCase()]},d=function(t){return"object"===(void 0===t?"undefined":o(t))&&1===t.nodeType},p=function(t,e,n){if("IMG"===t.nodeName&&t.hasAttribute("src")){var i=""+t.getAttribute("src");if(!n&&0===i.indexOf("data:image/"))return i;!e&&/\.png(?:[?#].*)?$/i.test(i)&&(e="png")}if("CANVAS"===t.nodeName)var r=t;else{(r=document.createElement("canvas")).width=t.clientWidth||t.width,r.height=t.clientHeight||t.height;var a=r.getContext("2d");if(!a)throw"addImage requires canvas to be supported by browser.";if(n){var s,l,c,u,h,f,d,p,g=Math.PI/180;"object"===(void 0===n?"undefined":o(n))&&(s=n.x,l=n.y,c=n.bg,n=n.angle),p=n*g,u=Math.abs(Math.cos(p)),h=Math.abs(Math.sin(p)),f=r.width,d=r.height,r.width=d*h+f*u,r.height=d*u+f*h,isNaN(s)&&(s=r.width/2),isNaN(l)&&(l=r.height/2),a.clearRect(0,0,r.width,r.height),a.fillStyle=c||"white",a.fillRect(0,0,r.width,r.height),a.save(),a.translate(s,l),a.rotate(p),a.drawImage(t,-f/2,-d/2),a.rotate(-p),a.translate(-s,-l),a.restore()}else a.drawImage(t,0,0,r.width,r.height)}return r.toDataURL("png"==(""+e).toLowerCase()?"image/png":"image/jpeg")},g=function(t,e){var n;if(e)for(var i in e)if(t===e[i].alias){n=e[i];break}return n},m=function(t,e,n){return t||e||(t=-96,e=-96),t<0&&(t=-1*n.w*72/t/this.internal.scaleFactor),e<0&&(e=-1*n.h*72/e/this.internal.scaleFactor),0===t&&(t=e*n.w/n.h),0===e&&(e=t*n.h/n.w),[t,e]},v=function(t,e,n,i,r,o,a){var s=m.call(this,n,i,r),l=this.internal.getCoordinateString,c=this.internal.getVerticalCoordinateString;n=s[0],i=s[1],a[o]=r,this.internal.write("q",l(n),"0 0",l(i),l(t),c(e+i),"cm /I"+r.i,"Do Q")};t.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"},t.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"},t.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},t.sHashCode=function(t){return Array.prototype.reduce&&t.split("").reduce((function(t,e){return(t=(t<<5)-t+e.charCodeAt(0))&t}),0)},t.isString=function(t){return"string"==typeof t},t.extractInfoFromBase64DataURI=function(t){return/^data:([\w]+?\/([\w]+?));base64,(.+?)$/g.exec(t)},t.supportsArrayBuffer=function(){return"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array},t.isArrayBuffer=function(t){return!!this.supportsArrayBuffer()&&t instanceof ArrayBuffer},t.isArrayBufferView=function(t){return!!this.supportsArrayBuffer()&&"undefined"!=typeof Uint32Array&&(t instanceof Int8Array||t instanceof Uint8Array||"undefined"!=typeof Uint8ClampedArray&&t instanceof Uint8ClampedArray||t instanceof Int16Array||t instanceof Uint16Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Float32Array||t instanceof Float64Array)},t.binaryStringToUint8Array=function(t){for(var e=t.length,n=new Uint8Array(e),i=0;i<e;i++)n[i]=t.charCodeAt(i);return n},t.arrayBufferToBinaryString=function(t){if("function"==typeof window.atob)return atob(this.arrayBufferToBase64(t));for(var e=this.isArrayBuffer(t)?t:new Uint8Array(t),n="",i=Math.round(e.byteLength/20480),r=0;r<i;r++)n+=String.fromCharCode.apply(null,e.slice(20480*r,20480*r+20480));return n},t.arrayBufferToBase64=function(t){for(var e,n,i="",r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=new Uint8Array(t),a=o.byteLength,s=a%3,l=a-s,c=0;c<l;c+=3)e=(258048&(n=o[c]<<16|o[c+1]<<8|o[c+2]))>>12,i+=r[(16515072&n)>>18]+r[e]+r[(4032&n)>>6]+r[63&n];return 1==s?(e=(3&(n=o[l]))<<4,i+=r[(252&n)>>2]+r[e]+"=="):2==s&&(e=(1008&(n=o[l]<<8|o[l+1]))>>4,i+=r[(64512&n)>>10]+r[e]+r[(15&n)<<2]+"="),i},t.createImageInfo=function(t,e,n,i,r,o,a,s,l,c,u,h,f){var d={alias:s,w:e,h:n,cs:i,bpc:r,i:a,data:t};return o&&(d.f=o),l&&(d.dp=l),c&&(d.trns=c),u&&(d.pal=u),h&&(d.smask=h),f&&(d.p=f),d},t.addImage=function(t,n,i,r,m,y,b,w,_){if("string"!=typeof n){var x=y;y=m,m=r,r=i,i=n,n=x}if("object"===(void 0===t?"undefined":o(t))&&!d(t)&&"imageData"in t){var T=t;t=T.imageData,n=T.format||n,i=T.x||i||0,r=T.y||r||0,m=T.w||m,y=T.h||y,b=T.alias||b,w=T.compression||w,_=T.rotation||T.angle||_}if(isNaN(i)||isNaN(r))throw console.error("jsPDF.addImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addImage");var k,A,S=s.call(this);if(!((k=g(t,S))||(d(t)&&(t=p(t,n,_)),c(b)&&(b=u(t)),k=g(b,S)))){if(this.isString(t)){var C=this.extractInfoFromBase64DataURI(t);C?(n=C[2],t=atob(C[3])):137===t.charCodeAt(0)&&80===t.charCodeAt(1)&&78===t.charCodeAt(2)&&71===t.charCodeAt(3)&&(n="png")}if(n=(n||"JPEG").toLowerCase(),h(n))throw new Error("addImage currently only supports formats "+e+", not '"+n+"'");if(f(n))throw new Error("please ensure that the plugin for '"+n+"' support is added");if(this.supportsArrayBuffer()&&(t instanceof Uint8Array||(A=t,t=this.binaryStringToUint8Array(t))),!(k=this["process"+n.toUpperCase()](t,l(S),b,a(w),A)))throw new Error("An unkwown error occurred whilst processing the image")}return v.call(this,i,r,m,y,k,k.i,S),this};var y=function(t,e){return t.subarray(e,e+5)};t.processJPEG=function(t,e,n,i,r){var o,a=this.color_spaces.DEVICE_RGB,s=this.decode.DCT_DECODE;return this.isString(t)?(o=function(t){var e;if(255===!t.charCodeAt(0)||216===!t.charCodeAt(1)||255===!t.charCodeAt(2)||224===!t.charCodeAt(3)||!t.charCodeAt(6)==="J".charCodeAt(0)||!t.charCodeAt(7)==="F".charCodeAt(0)||!t.charCodeAt(8)==="I".charCodeAt(0)||!t.charCodeAt(9)==="F".charCodeAt(0)||0===!t.charCodeAt(10))throw new Error("getJpegSize requires a binary string jpeg file");for(var n=256*t.charCodeAt(4)+t.charCodeAt(5),i=4,r=t.length;i<r;){if(i+=n,255!==t.charCodeAt(i))throw new Error("getJpegSize could not find the size of the image");if(192===t.charCodeAt(i+1)||193===t.charCodeAt(i+1)||194===t.charCodeAt(i+1)||195===t.charCodeAt(i+1)||196===t.charCodeAt(i+1)||197===t.charCodeAt(i+1)||198===t.charCodeAt(i+1)||199===t.charCodeAt(i+1))return e=256*t.charCodeAt(i+5)+t.charCodeAt(i+6),[256*t.charCodeAt(i+7)+t.charCodeAt(i+8),e,t.charCodeAt(i+9)];i+=2,n=256*t.charCodeAt(i)+t.charCodeAt(i+1)}}(t),this.createImageInfo(t,o[0],o[1],1==o[3]?this.color_spaces.DEVICE_GRAY:a,8,s,e,n)):(this.isArrayBuffer(t)&&(t=new Uint8Array(t)),this.isArrayBufferView(t)?(o=function(t){if(65496!=(t[0]<<8|t[1]))throw new Error("Supplied data is not a JPEG");for(var e,n=t.length,i=(t[4]<<8)+t[5],r=4;r<n;){if(i=((e=y(t,r+=i))[2]<<8)+e[3],(192===e[1]||194===e[1])&&255===e[0]&&i>7)return{width:((e=y(t,r+5))[2]<<8)+e[3],height:(e[0]<<8)+e[1],numcomponents:e[4]};r+=2}throw new Error("getJpegSizeFromBytes could not find the size of the image")}(t),t=r||this.arrayBufferToBinaryString(t),this.createImageInfo(t,o.width,o.height,1==o.numcomponents?this.color_spaces.DEVICE_GRAY:a,8,s,e,n)):null)},t.processJPG=function(){return this.processJPEG.apply(this,arguments)}}(a.API),function(t){var e={annotations:[],f2:function(t){return t.toFixed(2)},notEmpty:function(t){if(void 0!==t&&""!=t)return!0}};a.API.annotationPlugin=e,a.API.events.push(["addPage",function(t){this.annotationPlugin.annotations[t.pageNumber]=[]}]),t.events.push(["putPage",function(t){for(var n=this.annotationPlugin.annotations[t.pageNumber],i=!1,r=0;r<n.length&&!i;r++)switch((c=n[r]).type){case"link":if(e.notEmpty(c.options.url)||e.notEmpty(c.options.pageNumber)){i=!0;break}case"reference":case"text":case"freetext":i=!0}if(0!=i){this.internal.write("/Annots [");var o=this.annotationPlugin.f2,a=this.internal.scaleFactor,s=this.internal.pageSize.height,l=this.internal.getPageInfo(t.pageNumber);for(r=0;r<n.length;r++){var c=n[r];switch(c.type){case"reference":this.internal.write(" "+c.object.objId+" 0 R ");break;case"text":var u=this.internal.newAdditionalObject(),h=this.internal.newAdditionalObject(),f=c.title||"Note";v="<</Type /Annot /Subtype /Text "+(p="/Rect ["+o(c.bounds.x*a)+" "+o(s-(c.bounds.y+c.bounds.h)*a)+" "+o((c.bounds.x+c.bounds.w)*a)+" "+o((s-c.bounds.y)*a)+"] ")+"/Contents ("+c.contents+")",v+=" /Popup "+h.objId+" 0 R",v+=" /P "+l.objId+" 0 R",v+=" /T ("+f+") >>",u.content=v;var d=u.objId+" 0 R";v="<</Type /Annot /Subtype /Popup "+(p="/Rect ["+o((c.bounds.x+30)*a)+" "+o(s-(c.bounds.y+c.bounds.h)*a)+" "+o((c.bounds.x+c.bounds.w+30)*a)+" "+o((s-c.bounds.y)*a)+"] ")+" /Parent "+d,c.open&&(v+=" /Open true"),v+=" >>",h.content=v,this.internal.write(u.objId,"0 R",h.objId,"0 R");break;case"freetext":var p="/Rect ["+o(c.bounds.x*a)+" "+o((s-c.bounds.y)*a)+" "+o(c.bounds.x+c.bounds.w*a)+" "+o(s-(c.bounds.y+c.bounds.h)*a)+"] ",g=c.color||"#000000";v="<</Type /Annot /Subtype /FreeText "+p+"/Contents ("+c.contents+")",v+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+g+")",v+=" /Border [0 0 0]",v+=" >>",this.internal.write(v);break;case"link":if(c.options.name){var m=this.annotations._nameMap[c.options.name];c.options.pageNumber=m.page,c.options.top=m.y}else c.options.top||(c.options.top=0);p="/Rect ["+o(c.x*a)+" "+o((s-c.y)*a)+" "+o((c.x+c.w)*a)+" "+o((s-(c.y+c.h))*a)+"] ";var v="";if(c.options.url)v="<</Type /Annot /Subtype /Link "+p+"/Border [0 0 0] /A <</S /URI /URI ("+c.options.url+") >>";else if(c.options.pageNumber)switch(v="<</Type /Annot /Subtype /Link "+p+"/Border [0 0 0] /Dest ["+(t=this.internal.getPageInfo(c.options.pageNumber)).objId+" 0 R",c.options.magFactor=c.options.magFactor||"XYZ",c.options.magFactor){case"Fit":v+=" /Fit]";break;case"FitH":v+=" /FitH "+c.options.top+"]";break;case"FitV":c.options.left=c.options.left||0,v+=" /FitV "+c.options.left+"]";break;case"XYZ":default:var y=o((s-c.options.top)*a);c.options.left=c.options.left||0,void 0===c.options.zoom&&(c.options.zoom=0),v+=" /XYZ "+c.options.left+" "+y+" "+c.options.zoom+"]"}""!=v&&(v+=" >>",this.internal.write(v))}}this.internal.write("]")}}]),t.createAnnotation=function(t){switch(t.type){case"link":this.link(t.bounds.x,t.bounds.y,t.bounds.w,t.bounds.h,t);break;case"text":case"freetext":this.annotationPlugin.annotations[this.internal.getCurrentPageInfo().pageNumber].push(t)}},t.link=function(t,e,n,i,r){this.annotationPlugin.annotations[this.internal.getCurrentPageInfo().pageNumber].push({x:t,y:e,w:n,h:i,options:r,type:"link"})},t.textWithLink=function(t,e,n,i){var r=this.getTextWidth(t),o=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(t,e,n),n+=.2*o,this.link(e,n-o,r,o,i),r},t.getTextWidth=function(t){var e=this.internal.getFontSize();return this.getStringUnitWidth(t)*e/this.internal.scaleFactor},t.getLineHeight=function(){return this.internal.getLineHeight()}}(a.API),a.API.autoPrint=function(){var t;return this.internal.events.subscribe("postPutResources",(function(){t=this.internal.newObject(),this.internal.write("<< /S/Named /Type/Action /N/Print >>","endobj")})),this.internal.events.subscribe("putCatalog",(function(){this.internal.write("/OpenAction "+t+" 0 R")})),this},function(t){t.events.push(["initialized",function(){this.canvas.pdf=this}]),t.canvas={getContext:function(t){return this.pdf.context2d._canvas=this,this.pdf.context2d},style:{}},Object.defineProperty(t.canvas,"width",{get:function(){return this._width},set:function(t){this._width=t,this.getContext("2d").pageWrapX=t+1}}),Object.defineProperty(t.canvas,"height",{get:function(){return this._height},set:function(t){this._height=t,this.getContext("2d").pageWrapY=t+1}})}(a.API),function(t){var e,n,i,r,o={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},a=1,s=function(t,e,n,i,r){o={x:t,y:e,w:n,h:i,ln:r}},l=function(){return o},c={left:0,top:0,bottom:0};t.setHeaderFunction=function(t){r=t},t.getTextDimensions=function(t){var r,o;e=this.internal.getFont().fontName,n=this.table_font_size||this.internal.getFontSize(),i=this.internal.getFont().fontStyle,(o=document.createElement("font")).id="jsPDFCell";try{o.style.fontStyle=i}catch(t){o.style.fontWeight=i}o.style.fontName=e,o.style.fontSize=n+"pt";try{o.textContent=t}catch(e){o.innerText=t}return document.body.appendChild(o),r={w:(o.offsetWidth+1)*(19.049976/25.4),h:(o.offsetHeight+1)*(19.049976/25.4)},document.body.removeChild(o),r},t.cellAddPage=function(){var t=this.margins||c;this.addPage(),s(t.left,t.top,void 0,void 0),a+=1},t.cellInitialize=function(){o={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},a=1},t.cell=function(t,e,n,i,r,o,a){var u=l(),h=!1;if(void 0!==u.ln)if(u.ln===o)t=u.x+u.w,e=u.y;else{var f=this.margins||c;u.y+u.h+i+13>=this.internal.pageSize.height-f.bottom&&(this.cellAddPage(),h=!0,this.printHeaders&&this.tableHeaderRow&&this.printHeaderRow(o,!0)),e=l().y+l().h,h&&(e=23)}if(void 0!==r[0])if(this.printingHeaderRow?this.rect(t,e,n,i,"FD"):this.rect(t,e,n,i),"right"===a){r instanceof Array||(r=[r]);for(var d=0;d<r.length;d++){var p=r[d],g=this.getStringUnitWidth(p)*this.internal.getFontSize();this.text(p,t+n-g-3,e+this.internal.getLineHeight()*(d+1))}}else this.text(r,t+3,e+this.internal.getLineHeight());return s(t,e,n,i,o),this},t.arrayMax=function(t,e){var n,i,r,o=t[0];for(n=0,i=t.length;n<i;n+=1)r=t[n],e?-1===e(o,r)&&(o=r):r>o&&(o=r);return o},t.table=function(e,n,i,r,s){if(!i)throw"No data for PDF table";var l,u,h,f,d,p,g,m,v,y,b=[],w=[],_={},x={},T=[],k=[],A=!1,S=!0,C=12,P=c;if(P.width=this.internal.pageSize.width,s&&(!0===s.autoSize&&(A=!0),!1===s.printHeaders&&(S=!1),s.fontSize&&(C=s.fontSize),s.css&&void 0!==s.css["font-size"]&&(C=16*s.css["font-size"]),s.margins&&(P=s.margins)),this.lnMod=0,o={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},a=1,this.printHeaders=S,this.margins=P,this.setFontSize(C),this.table_font_size=C,null==r)b=Object.keys(i[0]);else if(r[0]&&"string"!=typeof r[0])for(u=0,h=r.length;u<h;u+=1)l=r[u],b.push(l.name),w.push(l.prompt),x[l.name]=l.width*(19.049976/25.4);else b=r;if(A)for(y=function(t){return t[l]},u=0,h=b.length;u<h;u+=1){for(_[l=b[u]]=i.map(y),T.push(this.getTextDimensions(w[u]||l).w),g=0,f=(p=_[l]).length;g<f;g+=1)d=p[g],T.push(this.getTextDimensions(d).w);x[l]=t.arrayMax(T),T=[]}if(S){for(E=this.calculateLineHeight(b,x,w.length?w:b),u=0,h=b.length;u<h;u+=1)l=b[u],k.push([e,n,x[l],E,String(w.length?w[u]:l)]);this.setTableHeaderRow(k),this.printHeaderRow(1,!1)}for(u=0,h=i.length;u<h;u+=1){var E;for(m=i[u],E=this.calculateLineHeight(b,x,m),g=0,v=b.length;g<v;g+=1)l=b[g],this.cell(e,n,x[l],E,m[l],u+2,l.align)}return this.lastCellPos=o,this.table_x=e,this.table_y=n,this},t.calculateLineHeight=function(t,e,n){for(var i,r=0,o=0;o<t.length;o++){n[i=t[o]]=this.splitTextToSize(String(n[i]),e[i]-3);var a=this.internal.getLineHeight()*n[i].length+3;a>r&&(r=a)}return r},t.setTableHeaderRow=function(t){this.tableHeaderRow=t},t.printHeaderRow=function(t,e){if(!this.tableHeaderRow)throw"Property tableHeaderRow does not exist.";var n,i,o,l;if(this.printingHeaderRow=!0,void 0!==r){var c=r(this,a);s(c[0],c[1],c[2],c[3],-1)}this.setFontStyle("bold");var u=[];for(o=0,l=this.tableHeaderRow.length;o<l;o+=1)this.setFillColor(200,200,200),n=this.tableHeaderRow[o],e&&(this.margins.top=13,n[1]=this.margins&&this.margins.top||0,u.push(n)),i=[].concat(n),this.cell.apply(this,i.concat(t));u.length>0&&this.setTableHeaderRow(u),this.setFontStyle("normal"),this.printingHeaderRow=!1}}(a.API),function(t){function e(){this._isStrokeTransparent=!1,this._strokeOpacity=1,this.strokeStyle="#000000",this.fillStyle="#000000",this._isFillTransparent=!1,this._fillOpacity=1,this.font="12pt times",this.textBaseline="alphabetic",this.textAlign="start",this.lineWidth=1,this.lineJoin="miter",this.lineCap="butt",this._transform=[1,0,0,1,0,0],this.globalCompositeOperation="normal",this.globalAlpha=1,this._clip_path=[],this.ignoreClearRect=!1,this.copy=function(t){this._isStrokeTransparent=t._isStrokeTransparent,this._strokeOpacity=t._strokeOpacity,this.strokeStyle=t.strokeStyle,this._isFillTransparent=t._isFillTransparent,this._fillOpacity=t._fillOpacity,this.fillStyle=t.fillStyle,this.font=t.font,this.lineWidth=t.lineWidth,this.lineJoin=t.lineJoin,this.lineCap=t.lineCap,this.textBaseline=t.textBaseline,this.textAlign=t.textAlign,this._fontSize=t._fontSize,this._transform=t._transform.slice(0),this.globalCompositeOperation=t.globalCompositeOperation,this.globalAlpha=t.globalAlpha,this._clip_path=t._clip_path.slice(0),this.ignoreClearRect=t.ignoreClearRect}}t.events.push(["initialized",function(){this.context2d.pdf=this,this.context2d.internal.pdf=this,this.context2d.ctx=new e,this.context2d.ctxStack=[],this.context2d.path=[]}]),t.context2d={pageWrapXEnabled:!1,pageWrapYEnabled:!1,pageWrapX:9999999,pageWrapY:9999999,ctx:new e,f2:function(t){return t.toFixed(2)},fillRect:function(t,e,n,i){if(!this._isFillTransparent()){t=this._wrapX(t),e=this._wrapY(e);var r=this._matrix_map_rect(this.ctx._transform,{x:t,y:e,w:n,h:i});this.pdf.rect(r.x,r.y,r.w,r.h,"f")}},strokeRect:function(t,e,n,i){if(!this._isStrokeTransparent()){t=this._wrapX(t),e=this._wrapY(e);var r=this._matrix_map_rect(this.ctx._transform,{x:t,y:e,w:n,h:i});this.pdf.rect(r.x,r.y,r.w,r.h,"s")}},clearRect:function(t,e,n,i){if(!this.ctx.ignoreClearRect){t=this._wrapX(t),e=this._wrapY(e);var r=this._matrix_map_rect(this.ctx._transform,{x:t,y:e,w:n,h:i});this.save(),this.setFillStyle("#ffffff"),this.pdf.rect(r.x,r.y,r.w,r.h,"f"),this.restore()}},save:function(){this.ctx._fontSize=this.pdf.internal.getFontSize();var t=new e;t.copy(this.ctx),this.ctxStack.push(this.ctx),this.ctx=t},restore:function(){this.ctx=this.ctxStack.pop(),this.setFillStyle(this.ctx.fillStyle),this.setStrokeStyle(this.ctx.strokeStyle),this.setFont(this.ctx.font),this.pdf.setFontSize(this.ctx._fontSize),this.setLineCap(this.ctx.lineCap),this.setLineWidth(this.ctx.lineWidth),this.setLineJoin(this.ctx.lineJoin)},rect:function(t,e,n,i){this.moveTo(t,e),this.lineTo(t+n,e),this.lineTo(t+n,e+i),this.lineTo(t,e+i),this.lineTo(t,e),this.closePath()},beginPath:function(){this.path=[]},closePath:function(){this.path.push({type:"close"})},_getRGBA:function(t){var e,n,i,r;if(!t)return{r:0,g:0,b:0,a:0,style:t};if(this.internal.rxTransparent.test(t))e=0,n=0,i=0,r=0;else{var o=this.internal.rxRgb.exec(t);null!=o?(e=parseInt(o[1]),n=parseInt(o[2]),i=parseInt(o[3]),r=1):null!=(o=this.internal.rxRgba.exec(t))?(e=parseInt(o[1]),n=parseInt(o[2]),i=parseInt(o[3]),r=parseFloat(o[4])):(r=1,"#"!=t.charAt(0)&&((t=c.colorNameToHex(t))||(t="#000000")),4===t.length?(e=t.substring(1,2),e+=e,n=t.substring(2,3),n+=n,i=t.substring(3,4),i+=i):(e=t.substring(1,3),n=t.substring(3,5),i=t.substring(5,7)),e=parseInt(e,16),n=parseInt(n,16),i=parseInt(i,16))}return{r:e,g:n,b:i,a:r,style:t}},setFillStyle:function(t){var e=this._getRGBA(t);this.ctx.fillStyle=t,this.ctx._isFillTransparent=0===e.a,this.ctx._fillOpacity=e.a,this.pdf.setFillColor(e.r,e.g,e.b,{a:e.a}),this.pdf.setTextColor(e.r,e.g,e.b,{a:e.a})},setStrokeStyle:function(t){var e=this._getRGBA(t);this.ctx.strokeStyle=e.style,this.ctx._isStrokeTransparent=0===e.a,this.ctx._strokeOpacity=e.a,0===e.a?this.pdf.setDrawColor(255,255,255):(e.a,this.pdf.setDrawColor(e.r,e.g,e.b))},fillText:function(t,e,n,i){if(!this._isFillTransparent()){e=this._wrapX(e),n=this._wrapY(n);var r=this._matrix_map_point(this.ctx._transform,[e,n]);e=r[0],n=r[1];var o=57.2958*this._matrix_rotation(this.ctx._transform);if(this.ctx._clip_path.length>0){var a;(a=window.outIntercept?"group"===window.outIntercept.type?window.outIntercept.stream:window.outIntercept:this.internal.getCurrentPage()).push("q");var s=this.path;this.path=this.ctx._clip_path,this.ctx._clip_path=[],this._fill(null,!0),this.ctx._clip_path=this.path,this.path=s}var l=1;try{l=this._matrix_decompose(this._getTransform()).scale[0]}catch(t){console.warn(t)}if(l<.01)this.pdf.text(t,e,this._getBaseline(n),null,o);else{var c=this.pdf.internal.getFontSize();this.pdf.setFontSize(c*l),this.pdf.text(t,e,this._getBaseline(n),null,o),this.pdf.setFontSize(c)}this.ctx._clip_path.length>0&&a.push("Q")}},strokeText:function(t,e,n,i){if(!this._isStrokeTransparent()){e=this._wrapX(e),n=this._wrapY(n);var r=this._matrix_map_point(this.ctx._transform,[e,n]);e=r[0],n=r[1];var o=57.2958*this._matrix_rotation(this.ctx._transform);if(this.ctx._clip_path.length>0){var a;(a=window.outIntercept?"group"===window.outIntercept.type?window.outIntercept.stream:window.outIntercept:this.internal.getCurrentPage()).push("q");var s=this.path;this.path=this.ctx._clip_path,this.ctx._clip_path=[],this._fill(null,!0),this.ctx._clip_path=this.path,this.path=s}var l=1;try{l=this._matrix_decompose(this._getTransform()).scale[0]}catch(t){console.warn(t)}if(1===l)this.pdf.text(t,e,this._getBaseline(n),{stroke:!0},o);else{var c=this.pdf.internal.getFontSize();this.pdf.setFontSize(c*l),this.pdf.text(t,e,this._getBaseline(n),{stroke:!0},o),this.pdf.setFontSize(c)}this.ctx._clip_path.length>0&&a.push("Q")}},setFont:function(t){this.ctx.font=t;var e=/\s*(\w+)\s+(\w+)\s+(\w+)\s+([\d\.]+)(px|pt|em)\s+(.*)?/;if(null!=(u=e.exec(t))){var n=u[1],i=u[3],r=u[4],o=u[5],a=u[6];r="px"===o?Math.floor(parseFloat(r)):"em"===o?Math.floor(parseFloat(r)*this.pdf.getFontSize()):Math.floor(parseFloat(r)),this.pdf.setFontSize(r),"bold"===i||"700"===i?this.pdf.setFontStyle("bold"):"italic"===n?this.pdf.setFontStyle("italic"):this.pdf.setFontStyle("normal");var s,l,c=(f=a).toLowerCase().split(/\s*,\s*/);s=-1!=c.indexOf("arial")?"Arial":-1!=c.indexOf("verdana")?"Verdana":-1!=c.indexOf("helvetica")?"Helvetica":-1!=c.indexOf("sans-serif")?"sans-serif":-1!=c.indexOf("fixed")?"Fixed":-1!=c.indexOf("monospace")?"Monospace":-1!=c.indexOf("terminal")?"Terminal":-1!=c.indexOf("courier")?"Courier":-1!=c.indexOf("times")?"Times":-1!=c.indexOf("cursive")?"Cursive":-1!=c.indexOf("fantasy")?"Fantasy":(c.indexOf("serif"),"Serif"),l="bold"===i?"bold":"normal",this.pdf.setFont(s,l)}else{var u=(e=/\s*(\d+)(pt|px|em)\s+([\w "]+)\s*([\w "]+)?/).exec(t);if(null!=u){var h=u[1],f=u[3];(l=u[4])||(l="normal"),h="em"===o?Math.floor(parseFloat(r)*this.pdf.getFontSize()):Math.floor(parseFloat(h)),this.pdf.setFontSize(h),this.pdf.setFont(f,l)}}},setTextBaseline:function(t){this.ctx.textBaseline=t},getTextBaseline:function(){return this.ctx.textBaseline},setTextAlign:function(t){this.ctx.textAlign=t},getTextAlign:function(){return this.ctx.textAlign},setLineWidth:function(t){this.ctx.lineWidth=t,this.pdf.setLineWidth(t)},setLineCap:function(t){this.ctx.lineCap=t,this.pdf.setLineCap(t)},setLineJoin:function(t){this.ctx.lineJoin=t,this.pdf.setLineJoin(t)},moveTo:function(t,e){t=this._wrapX(t),e=this._wrapY(e);var n=this._matrix_map_point(this.ctx._transform,[t,e]),i={type:"mt",x:t=n[0],y:e=n[1]};this.path.push(i)},_wrapX:function(t){return this.pageWrapXEnabled?t%this.pageWrapX:t},_wrapY:function(t){return this.pageWrapYEnabled?(this._gotoPage(this._page(t)),(t-this.lastBreak)%this.pageWrapY):t},transform:function(t,e,n,i,r,o){this.ctx._transform=[t,e,n,i,r,o]},setTransform:function(t,e,n,i,r,o){this.ctx._transform=[t,e,n,i,r,o]},_getTransform:function(){return this.ctx._transform},lastBreak:0,pageBreaks:[],_page:function(t){if(this.pageWrapYEnabled){this.lastBreak=0;for(var e=0,n=0,i=0;i<this.pageBreaks.length;i++)if(t>=this.pageBreaks[i]){e++,0===this.lastBreak&&n++;var r=this.pageBreaks[i]-this.lastBreak;this.lastBreak=this.pageBreaks[i],n+=o=Math.floor(r/this.pageWrapY)}if(0===this.lastBreak){var o=Math.floor(t/this.pageWrapY)+1;n+=o}return n+e}return this.pdf.internal.getCurrentPageInfo().pageNumber},_gotoPage:function(t){},lineTo:function(t,e){t=this._wrapX(t),e=this._wrapY(e);var n=this._matrix_map_point(this.ctx._transform,[t,e]),i={type:"lt",x:t=n[0],y:e=n[1]};this.path.push(i)},bezierCurveTo:function(t,e,n,i,r,o){var a;t=this._wrapX(t),e=this._wrapY(e),n=this._wrapX(n),i=this._wrapY(i),r=this._wrapX(r),o=this._wrapY(o),r=(a=this._matrix_map_point(this.ctx._transform,[r,o]))[0],o=a[1];var s={type:"bct",x1:t=(a=this._matrix_map_point(this.ctx._transform,[t,e]))[0],y1:e=a[1],x2:n=(a=this._matrix_map_point(this.ctx._transform,[n,i]))[0],y2:i=a[1],x:r,y:o};this.path.push(s)},quadraticCurveTo:function(t,e,n,i){var r;t=this._wrapX(t),e=this._wrapY(e),n=this._wrapX(n),i=this._wrapY(i),n=(r=this._matrix_map_point(this.ctx._transform,[n,i]))[0],i=r[1];var o={type:"qct",x1:t=(r=this._matrix_map_point(this.ctx._transform,[t,e]))[0],y1:e=r[1],x:n,y:i};this.path.push(o)},arc:function(t,e,n,i,r,o){if(t=this._wrapX(t),e=this._wrapY(e),!this._matrix_is_identity(this.ctx._transform)){var a=this._matrix_map_point(this.ctx._transform,[t,e]);t=a[0],e=a[1];var s=this._matrix_map_point(this.ctx._transform,[0,0]),l=this._matrix_map_point(this.ctx._transform,[0,n]);n=Math.sqrt(Math.pow(l[0]-s[0],2)+Math.pow(l[1]-s[1],2))}var c={type:"arc",x:t,y:e,radius:n,startAngle:i,endAngle:r,anticlockwise:o};this.path.push(c)},drawImage:function(t,e,n,i,r,o,a,s,l){void 0!==o&&(e=o,n=a,i=s,r=l),e=this._wrapX(e),n=this._wrapY(n);var c,u=this._matrix_map_rect(this.ctx._transform,{x:e,y:n,w:i,h:r}),h=(this._matrix_map_rect(this.ctx._transform,{x:o,y:a,w:s,h:l}),/data:image\/(\w+).*/i.exec(t));c=null!=h?h[1]:"png",this.pdf.addImage(t,c,u.x,u.y,u.w,u.h)},_matrix_multiply:function(t,e){var n=e[0],i=e[1],r=e[2],o=e[3],a=e[4],s=e[5],l=n*t[0]+i*t[2],c=r*t[0]+o*t[2],u=a*t[0]+s*t[2]+t[4];return i=n*t[1]+i*t[3],o=r*t[1]+o*t[3],s=a*t[1]+s*t[3]+t[5],[n=l,i,r=c,o,a=u,s]},_matrix_rotation:function(t){return Math.atan2(t[2],t[0])},_matrix_decompose:function(t){var e=t[0],n=t[1],i=t[2],r=t[3],o=Math.sqrt(e*e+n*n),a=(e/=o)*i+(n/=o)*r;i-=e*a,r-=n*a;var s=Math.sqrt(i*i+r*r);return a/=s,e*(r/=s)<n*(i/=s)&&(e=-e,n=-n,a=-a,o=-o),{scale:[o,0,0,s,0,0],translate:[1,0,0,1,t[4],t[5]],rotate:[e,n,-n,e,0,0],skew:[1,0,a,1,0,0]}},_matrix_map_point:function(t,e){var n=t[0],i=t[1],r=t[2],o=t[3],a=t[4],s=t[5],l=e[0],c=e[1];return[l*n+c*r+a,l*i+c*o+s]},_matrix_map_point_obj:function(t,e){var n=this._matrix_map_point(t,[e.x,e.y]);return{x:n[0],y:n[1]}},_matrix_map_rect:function(t,e){var n=this._matrix_map_point(t,[e.x,e.y]),i=this._matrix_map_point(t,[e.x+e.w,e.y+e.h]);return{x:n[0],y:n[1],w:i[0]-n[0],h:i[1]-n[1]}},_matrix_is_identity:function(t){return 1==t[0]&&0==t[1]&&0==t[2]&&1==t[3]&&0==t[4]&&0==t[5]},rotate:function(t){var e=[Math.cos(t),Math.sin(t),-Math.sin(t),Math.cos(t),0,0];this.ctx._transform=this._matrix_multiply(this.ctx._transform,e)},scale:function(t,e){var n=[t,0,0,e,0,0];this.ctx._transform=this._matrix_multiply(this.ctx._transform,n)},translate:function(t,e){var n=[1,0,0,1,t,e];this.ctx._transform=this._matrix_multiply(this.ctx._transform,n)},stroke:function(){if(this.ctx._clip_path.length>0){var t;(t=window.outIntercept?"group"===window.outIntercept.type?window.outIntercept.stream:window.outIntercept:this.internal.getCurrentPage()).push("q");var e=this.path;this.path=this.ctx._clip_path,this.ctx._clip_path=[],this._stroke(!0),this.ctx._clip_path=this.path,this.path=e,this._stroke(!1),t.push("Q")}else this._stroke(!1)},_stroke:function(t){if(t||!this._isStrokeTransparent()){for(var e=[],n=this.path,i=0;i<n.length;i++){var r=n[i];switch(r.type){case"mt":e.push({start:r,deltas:[],abs:[]});break;case"lt":h=[r.x-n[i-1].x,r.y-n[i-1].y],e[e.length-1].deltas.push(h),e[e.length-1].abs.push(r);break;case"bct":h=[r.x1-n[i-1].x,r.y1-n[i-1].y,r.x2-n[i-1].x,r.y2-n[i-1].y,r.x-n[i-1].x,r.y-n[i-1].y],e[e.length-1].deltas.push(h);break;case"qct":var o=n[i-1].x+2/3*(r.x1-n[i-1].x),a=n[i-1].y+2/3*(r.y1-n[i-1].y),s=r.x+2/3*(r.x1-r.x),l=r.y+2/3*(r.y1-r.y),c=r.x,u=r.y,h=[o-n[i-1].x,a-n[i-1].y,s-n[i-1].x,l-n[i-1].y,c-n[i-1].x,u-n[i-1].y];e[e.length-1].deltas.push(h);break;case"arc":0==e.length&&e.push({start:{x:0,y:0},deltas:[],abs:[]}),e[e.length-1].arc=!0,e[e.length-1].abs.push(r)}}for(i=0;i<e.length;i++){var f;if(f=i==e.length-1?"s":null,e[i].arc)for(var d=e[i].abs,p=0;p<d.length;p++){var g=d[p],m=360*g.startAngle/(2*Math.PI),v=360*g.endAngle/(2*Math.PI),y=g.x,b=g.y;this.internal.arc2(this,y,b,g.radius,m,v,g.anticlockwise,f,t)}else y=e[i].start.x,b=e[i].start.y,t?(this.pdf.lines(e[i].deltas,y,b,null,null),this.pdf.clip_fixed()):this.pdf.lines(e[i].deltas,y,b,null,f)}}},_isFillTransparent:function(){return this.ctx._isFillTransparent||0==this.globalAlpha},_isStrokeTransparent:function(){return this.ctx._isStrokeTransparent||0==this.globalAlpha},fill:function(t){if(this.ctx._clip_path.length>0){var e;(e=window.outIntercept?"group"===window.outIntercept.type?window.outIntercept.stream:window.outIntercept:this.internal.getCurrentPage()).push("q");var n=this.path;this.path=this.ctx._clip_path,this.ctx._clip_path=[],this._fill(t,!0),this.ctx._clip_path=this.path,this.path=n,this._fill(t,!1),e.push("Q")}else this._fill(t,!1)},_fill:function(t,e){if(!this._isFillTransparent()){var i,r="function"==typeof this.pdf.internal.newObject2;i=window.outIntercept?"group"===window.outIntercept.type?window.outIntercept.stream:window.outIntercept:this.internal.getCurrentPage();var o=[],a=window.outIntercept;if(r)switch(this.ctx.globalCompositeOperation){case"normal":case"source-over":break;case"destination-in":case"destination-out":var s=this.pdf.internal.newStreamObject(),l=this.pdf.internal.newObject2();l.push("<</Type /ExtGState"),l.push("/SMask <</S /Alpha /G "+s.objId+" 0 R>>"),l.push(">>"),d="MASK"+l.objId,this.pdf.internal.addGraphicsState(d,l.objId);var c="/"+d+" gs";i.splice(0,0,"q"),i.splice(1,0,c),i.push("Q"),window.outIntercept=s;break;default:var u="/"+this.pdf.internal.blendModeMap[this.ctx.globalCompositeOperation.toUpperCase()];u&&this.pdf.internal.out(u+" gs")}var h=this.ctx.globalAlpha;if(this.ctx._fillOpacity<1&&(h=this.ctx._fillOpacity),r){var f=this.pdf.internal.newObject2();f.push("<</Type /ExtGState"),f.push("/CA "+h),f.push("/ca "+h),f.push(">>");var d="GS_O_"+f.objId;this.pdf.internal.addGraphicsState(d,f.objId),this.pdf.internal.out("/"+d+" gs")}for(var p=this.path,g=0;g<p.length;g++){var m=p[g];switch(m.type){case"mt":o.push({start:m,deltas:[],abs:[]});break;case"lt":T=[m.x-p[g-1].x,m.y-p[g-1].y],o[o.length-1].deltas.push(T),o[o.length-1].abs.push(m);break;case"bct":T=[m.x1-p[g-1].x,m.y1-p[g-1].y,m.x2-p[g-1].x,m.y2-p[g-1].y,m.x-p[g-1].x,m.y-p[g-1].y],o[o.length-1].deltas.push(T);break;case"qct":var v=p[g-1].x+2/3*(m.x1-p[g-1].x),y=p[g-1].y+2/3*(m.y1-p[g-1].y),b=m.x+2/3*(m.x1-m.x),w=m.y+2/3*(m.y1-m.y),_=m.x,x=m.y,T=[v-p[g-1].x,y-p[g-1].y,b-p[g-1].x,w-p[g-1].y,_-p[g-1].x,x-p[g-1].y];o[o.length-1].deltas.push(T);break;case"arc":0===o.length&&o.push({deltas:[],abs:[]}),o[o.length-1].arc=!0,o[o.length-1].abs.push(m);break;case"close":o.push({close:!0})}}for(g=0;g<o.length;g++){var k;if(g==o.length-1?(k="f","evenodd"===t&&(k+="*")):k=null,o[g].close)this.pdf.internal.out("h"),this.pdf.internal.out("f");else if(o[g].arc){o[g].start&&this.internal.move2(this,o[g].start.x,o[g].start.y);for(var A=o[g].abs,S=0;S<A.length;S++){var C=A[S];if(void 0!==C.startAngle){var P=360*C.startAngle/(2*Math.PI),E=360*C.endAngle/(2*Math.PI),O=C.x,R=C.y;0===S&&this.internal.move2(this,O,R),this.internal.arc2(this,O,R,C.radius,P,E,C.anticlockwise,null,e),S===A.length-1&&o[g].start&&(O=o[g].start.x,R=o[g].start.y,this.internal.line2(n,O,R))}else this.internal.line2(n,C.x,C.y)}}else O=o[g].start.x,R=o[g].start.y,e?(this.pdf.lines(o[g].deltas,O,R,null,null),this.pdf.clip_fixed()):this.pdf.lines(o[g].deltas,O,R,null,k)}window.outIntercept=a}},pushMask:function(){if("function"==typeof this.pdf.internal.newObject2){var t=this.pdf.internal.newStreamObject(),e=this.pdf.internal.newObject2();e.push("<</Type /ExtGState"),e.push("/SMask <</S /Alpha /G "+t.objId+" 0 R>>"),e.push(">>");var n="MASK"+e.objId;this.pdf.internal.addGraphicsState(n,e.objId);var i="/"+n+" gs";this.pdf.internal.out(i)}else console.log("jsPDF v2 not enabled")},clip:function(){if(this.ctx._clip_path.length>0)for(var t=0;t<this.path.length;t++)this.ctx._clip_path.push(this.path[t]);else this.ctx._clip_path=this.path;this.path=[]},measureText:function(t){var e=this.pdf;return{getWidth:function(){var n=e.internal.getFontSize();return e.getStringUnitWidth(t)*n/e.internal.scaleFactor*1.3333},get width(){return this.getWidth(t)}}},_getBaseline:function(t){var e=parseInt(this.pdf.internal.getFontSize()),n=.25*e;switch(this.ctx.textBaseline){case"bottom":return t-n;case"top":return t+e;case"hanging":return t+e-n;case"middle":return t+e/2-n;case"ideographic":return t;case"alphabetic":default:return t}}};var n=t.context2d;Object.defineProperty(n,"fillStyle",{set:function(t){this.setFillStyle(t)},get:function(){return this.ctx.fillStyle}}),Object.defineProperty(n,"strokeStyle",{set:function(t){this.setStrokeStyle(t)},get:function(){return this.ctx.strokeStyle}}),Object.defineProperty(n,"lineWidth",{set:function(t){this.setLineWidth(t)},get:function(){return this.ctx.lineWidth}}),Object.defineProperty(n,"lineCap",{set:function(t){this.setLineCap(t)},get:function(){return this.ctx.lineCap}}),Object.defineProperty(n,"lineJoin",{set:function(t){this.setLineJoin(t)},get:function(){return this.ctx.lineJoin}}),Object.defineProperty(n,"miterLimit",{set:function(t){this.ctx.miterLimit=t},get:function(){return this.ctx.miterLimit}}),Object.defineProperty(n,"textBaseline",{set:function(t){this.setTextBaseline(t)},get:function(){return this.getTextBaseline()}}),Object.defineProperty(n,"textAlign",{set:function(t){this.setTextAlign(t)},get:function(){return this.getTextAlign()}}),Object.defineProperty(n,"font",{set:function(t){this.setFont(t)},get:function(){return this.ctx.font}}),Object.defineProperty(n,"globalCompositeOperation",{set:function(t){this.ctx.globalCompositeOperation=t},get:function(){return this.ctx.globalCompositeOperation}}),Object.defineProperty(n,"globalAlpha",{set:function(t){this.ctx.globalAlpha=t},get:function(){return this.ctx.globalAlpha}}),Object.defineProperty(n,"ignoreClearRect",{set:function(t){this.ctx.ignoreClearRect=t},get:function(){return this.ctx.ignoreClearRect}}),n.internal={},n.internal.rxRgb=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/,n.internal.rxRgba=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d\.]+)\s*\)/,n.internal.rxTransparent=/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/,n.internal.arc=function(t,e,n,i,r,o,a,s){for(var l=this.pdf.internal.scaleFactor,c=this.pdf.internal.pageSize.height,u=this.pdf.internal.f2,h=r*(Math.PI/180),f=o*(Math.PI/180),d=this.createArc(i,h,f,a),p=0;p<d.length;p++){var g=d[p];0===p?this.pdf.internal.out([u((g.x1+e)*l),u((c-(g.y1+n))*l),"m",u((g.x2+e)*l),u((c-(g.y2+n))*l),u((g.x3+e)*l),u((c-(g.y3+n))*l),u((g.x4+e)*l),u((c-(g.y4+n))*l),"c"].join(" ")):this.pdf.internal.out([u((g.x2+e)*l),u((c-(g.y2+n))*l),u((g.x3+e)*l),u((c-(g.y3+n))*l),u((g.x4+e)*l),u((c-(g.y4+n))*l),"c"].join(" ")),t._lastPoint={x:e,y:n}}null!==s&&this.pdf.internal.out(this.pdf.internal.getStyle(s))},n.internal.arc2=function(t,e,n,i,r,o,a,s,l){var c=e,u=n;l?(this.arc(t,c,u,i,r,o,a,null),this.pdf.clip_fixed()):this.arc(t,c,u,i,r,o,a,s)},n.internal.move2=function(t,e,n){var i=this.pdf.internal.scaleFactor,r=this.pdf.internal.pageSize.height,o=this.pdf.internal.f2;this.pdf.internal.out([o(e*i),o((r-n)*i),"m"].join(" ")),t._lastPoint={x:e,y:n}},n.internal.line2=function(t,e,n){var i=this.pdf.internal.scaleFactor,r=this.pdf.internal.pageSize.height,o=this.pdf.internal.f2,a={x:e,y:n};this.pdf.internal.out([o(a.x*i),o((r-a.y)*i),"l"].join(" ")),t._lastPoint=a},n.internal.createArc=function(t,e,n,i){var r=2*Math.PI,o=Math.PI/2,a=e;for((a<r||a>r)&&(a%=r),a<0&&(a=r+a);e>n;)e-=r;var s=Math.abs(n-e);s<r&&i&&(s=r-s);for(var l=[],c=i?-1:1,u=a;s>1e-5;){var h=u+c*Math.min(s,o);l.push(this.createSmallArc(t,u,h)),s-=Math.abs(h-u),u=h}return l},n.internal.getCurrentPage=function(){return this.pdf.internal.pages[this.pdf.internal.getCurrentPageInfo().pageNumber]},n.internal.createSmallArc=function(t,e,n){var i=(n-e)/2,r=t*Math.cos(i),o=t*Math.sin(i),a=r,s=-o,l=a*a+s*s,c=l+a*r+s*o,u=4/3*(Math.sqrt(2*l*c)-c)/(a*o-s*r),h=a-u*s,f=s+u*a,d=h,p=-f,g=i+e,m=Math.cos(g),v=Math.sin(g);return{x1:t*Math.cos(e),y1:t*Math.sin(e),x2:h*m-f*v,y2:h*v+f*m,x3:d*m-p*v,y3:d*v+p*m,x4:t*Math.cos(n),y4:t*Math.sin(n)}}}(a.API),
/** @preserve
 * jsPDF fromHTML plugin. BETA stage. API subject to change. Needs browser
 * Copyright (c) 2012 Willow Systems Corporation, willow-systems.com
 *               2014 Juan Pablo Gaviria, https://github.com/juanpgaviria
 *               2014 Diego Casorran, https://github.com/diegocr
 *               2014 Daniel Husar, https://github.com/danielhusar
 *               2014 Wolfgang Gassler, https://github.com/woolfg
 *               2014 Steven Spungin, https://github.com/flamenco
 *
 * 
 * ====================================================================
 */
function(t){var e,n,i,r,a,s,l,u,h,f,d,p,g,m,v,y,b,w,_,x;e=function(){function t(){}return function(e){return t.prototype=e,new t}}(),f=function(t){var e,n,i,r,o,a,s;for(n=0,i=t.length,e=void 0,r=!1,a=!1;!r&&n!==i;)(e=t[n]=t[n].trimLeft())&&(r=!0),n++;for(n=i-1;i&&!a&&-1!==n;)(e=t[n]=t[n].trimRight())&&(a=!0),n--;for(o=/\s+$/g,s=!0,n=0;n!==i;)"\u2028"!=t[n]&&(e=t[n].replace(/\s+/g," "),s&&(e=e.trimLeft()),e&&(s=o.test(e)),t[n]=e),n++;return t},p=function(t){var e,n,r;for(e=void 0,n=(r=t.split(",")).shift();!e&&n;)e=i[n.trim().toLowerCase()],n=r.shift();return e},g=function(t){var e;return(t="auto"===t?"0px":t).indexOf("em")>-1&&!isNaN(Number(t.replace("em","")))&&(t=18.719*Number(t.replace("em",""))+"px"),t.indexOf("pt")>-1&&!isNaN(Number(t.replace("pt","")))&&(t=1.333*Number(t.replace("pt",""))+"px"),(e=m[t])?e:void 0!==(e={"xx-small":9,"x-small":11,small:13,medium:16,large:19,"x-large":23,"xx-large":28,auto:0}[{css_line_height_string:t}])||(e=parseFloat(t))?m[t]=e/16:3===(e=t.match(/([\d\.]+)(px)/)).length?m[t]=parseFloat(e[1])/16:m[t]=1},h=function(t){var e,n,i;return i=function(e){var n;return n=function(t){return document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(t,null):t.currentStyle?t.currentStyle:t.style}(t),function(t){return t=t.replace(/-\D/g,(function(t){return t.charAt(1).toUpperCase()})),n[t]}}(),n=void 0,(e={})["font-family"]=p(i("font-family"))||"times",e["font-style"]=r[i("font-style")]||"normal",e["text-align"]=a[i("text-align")]||"left","bold"===(n=s[i("font-weight")]||"normal")&&("normal"===e["font-style"]?e["font-style"]=n:e["font-style"]=n+e["font-style"]),e["font-size"]=g(i("font-size"))||1,e["line-height"]=g(i("line-height"))||1,e.display="inline"===i("display")?"inline":"block",n="block"===e.display,e["margin-top"]=n&&g(i("margin-top"))||0,e["margin-bottom"]=n&&g(i("margin-bottom"))||0,e["padding-top"]=n&&g(i("padding-top"))||0,e["padding-bottom"]=n&&g(i("padding-bottom"))||0,e["margin-left"]=n&&g(i("margin-left"))||0,e["margin-right"]=n&&g(i("margin-right"))||0,e["padding-left"]=n&&g(i("padding-left"))||0,e["padding-right"]=n&&g(i("padding-right"))||0,e["page-break-before"]=i("page-break-before")||"auto",e.float=l[i("cssFloat")]||"none",e.clear=u[i("clear")]||"none",e.color=i("color"),e},v=function(t,e,n){var i,r,o,a,s;if(o=!1,r=void 0,a=void 0,i=n["#"+t.id])if("function"==typeof i)o=i(t,e);else for(r=0,a=i.length;!o&&r!==a;)o=i[r](t,e),r++;if(i=n[t.nodeName],!o&&i)if("function"==typeof i)o=i(t,e);else for(r=0,a=i.length;!o&&r!==a;)o=i[r](t,e),r++;for(s=t.className?t.className.split(" "):[],r=0;r<s.length;r++)if(i=n["."+s[r]],!o&&i)if("function"==typeof i)o=i(t,e);else for(r=0,a=i.length;!o&&r!==a;)o=i[r](t,e),r++;return o},x=function(t,e){var n,i,r,o,a,s,l,c,u;for(n=[],i=[],r=0,u=t.rows[0].cells.length,l=t.clientWidth;r<u;)c=t.rows[0].cells[r],i[r]={name:c.textContent.toLowerCase().replace(/\s+/g,""),prompt:c.textContent.replace(/\r?\n/g,""),width:c.clientWidth/l*e.pdf.internal.pageSize.width},r++;for(r=1;r<t.rows.length;){for(s=t.rows[r],a={},o=0;o<s.cells.length;)a[i[o].name]=s.cells[o].textContent.replace(/\r?\n/g,""),o++;n.push(a),r++}return{rows:n,headers:i}};var T={SCRIPT:1,STYLE:1,NOSCRIPT:1,OBJECT:1,EMBED:1,SELECT:1},k=1;n=function(t,i,r){var a,s,l,c,u,f,d,p;for(s=t.childNodes,a=void 0,(u="block"===(l=h(t)).display)&&(i.setBlockBoundary(),i.setBlockStyle(l)),c=0,f=s.length;c<f;){if("object"===(void 0===(a=s[c])?"undefined":o(a))){if(i.executeWatchFunctions(a),1===a.nodeType&&"HEADER"===a.nodeName){var g=a,m=i.pdf.margins_doc.top;i.pdf.internal.events.subscribe("addPage",(function(t){i.y=m,n(g,i,r),i.pdf.margins_doc.top=i.y+10,i.y+=10}),!1)}if(8===a.nodeType&&"#comment"===a.nodeName)~a.textContent.indexOf("ADD_PAGE")&&(i.pdf.addPage(),i.y=i.pdf.margins_doc.top);else if(1!==a.nodeType||T[a.nodeName])if(3===a.nodeType){var b=a.nodeValue;if(a.nodeValue&&"LI"===a.parentNode.nodeName)if("OL"===a.parentNode.parentNode.nodeName)b=k+++". "+b;else{var w=l["font-size"],_=(3-.75*w)*i.pdf.internal.scaleFactor,A=.75*w*i.pdf.internal.scaleFactor,S=1.74*w/i.pdf.internal.scaleFactor;p=function(t,e){this.pdf.circle(t+_,e+A,S,"FD")}}16&a.ownerDocument.body.compareDocumentPosition(a)&&i.addText(b,l)}else"string"==typeof a&&i.addText(a,l);else{var C;if("IMG"===a.nodeName){var P=a.getAttribute("src");C=y[i.pdf.sHashCode(P)||P]}if(C){i.pdf.internal.pageSize.height-i.pdf.margins_doc.bottom<i.y+a.height&&i.y>i.pdf.margins_doc.top&&(i.pdf.addPage(),i.y=i.pdf.margins_doc.top,i.executeWatchFunctions(a));var E=h(a),O=i.x,R=12/i.pdf.internal.scaleFactor,I=(E["margin-left"]+E["padding-left"])*R,q=(E["margin-right"]+E["padding-right"])*R,M=(E["margin-top"]+E["padding-top"])*R,L=(E["margin-bottom"]+E["padding-bottom"])*R;void 0!==E.float&&"right"===E.float?O+=i.settings.width-a.width-q:O+=I,i.pdf.addImage(C,O,i.y+M,a.width,a.height),C=void 0,"right"===E.float||"left"===E.float?(i.watchFunctions.push(function(t,e,n,r){return i.y>=e?(i.x+=t,i.settings.width+=n,!0):!!(r&&1===r.nodeType&&!T[r.nodeName]&&i.x+r.width>i.pdf.margins_doc.left+i.pdf.margins_doc.width)&&(i.x+=t,i.y=e,i.settings.width+=n,!0)}.bind(this,"left"===E.float?-a.width-I-q:0,i.y+a.height+M+L,a.width)),i.watchFunctions.push(function(t,e,n){return!(i.y<t&&e===i.pdf.internal.getNumberOfPages())||1===n.nodeType&&"both"===h(n).clear&&(i.y=t,!0)}.bind(this,i.y+a.height,i.pdf.internal.getNumberOfPages())),i.settings.width-=a.width+I+q,"left"===E.float&&(i.x+=a.width+I+q)):i.y+=a.height+M+L}else if("TABLE"===a.nodeName)d=x(a,i),i.y+=10,i.pdf.table(i.x,i.y,d.rows,d.headers,{autoSize:!1,printHeaders:r.printHeaders,margins:i.pdf.margins_doc,css:h(a)}),i.y=i.pdf.lastCellPos.y+i.pdf.lastCellPos.h+20;else if("OL"===a.nodeName||"UL"===a.nodeName)k=1,v(a,i,r)||n(a,i,r),i.y+=10;else if("LI"===a.nodeName){var N=i.x;i.x+=20/i.pdf.internal.scaleFactor,i.y+=3,v(a,i,r)||n(a,i,r),i.x=N}else"BR"===a.nodeName?(i.y+=l["font-size"]*i.pdf.internal.scaleFactor,i.addText("\u2028",e(l))):v(a,i,r)||n(a,i,r)}}c++}if(r.outY=i.y,u)return i.setBlockBoundary(p)},y={},b=function(t,e,n,i){function r(){e.pdf.internal.events.publish("imagesLoaded"),i(o)}for(var o,a=t.getElementsByTagName("img"),s=a.length,l=0;s--;)!function(t,n,i){if(t){var a=new Image;o=++l,a.crossOrigin="",a.onerror=a.onload=function(){if(a.complete&&(0===a.src.indexOf("data:image/")&&(a.width=n||a.width||0,a.height=i||a.height||0),a.width+a.height)){var o=e.pdf.sHashCode(t)||t;y[o]=y[o]||a}--l||r()},a.src=t}}(a[s].getAttribute("src"),a[s].width,a[s].height);return l||r()},w=function(t,e,i){var r=t.getElementsByTagName("footer");if(r.length>0){r=r[0];var o=e.pdf.internal.write,a=e.y;e.pdf.internal.write=function(){},n(r,e,i);var s=Math.ceil(e.y-a)+5;e.y=a,e.pdf.internal.write=o,e.pdf.margins_doc.bottom+=s;for(var l=function(t){var o=void 0!==t?t.pageNumber:1,a=e.y;e.y=e.pdf.internal.pageSize.height-e.pdf.margins_doc.bottom,e.pdf.margins_doc.bottom-=s;for(var l=r.getElementsByTagName("span"),c=0;c<l.length;++c)(" "+l[c].className+" ").replace(/[\n\t]/g," ").indexOf(" pageCounter ")>-1&&(l[c].innerHTML=o),(" "+l[c].className+" ").replace(/[\n\t]/g," ").indexOf(" totalPages ")>-1&&(l[c].innerHTML="###jsPDFVarTotalPages###");n(r,e,i),e.pdf.margins_doc.bottom+=s,e.y=a},c=r.getElementsByTagName("span"),u=0;u<c.length;++u)(" "+c[u].className+" ").replace(/[\n\t]/g," ").indexOf(" totalPages ")>-1&&e.pdf.internal.events.subscribe("htmlRenderingFinished",e.pdf.putTotalPages.bind(e.pdf,"###jsPDFVarTotalPages###"),!0);e.pdf.internal.events.subscribe("addPage",l,!1),l(),T.FOOTER=1}},_=function(t,e,i,r,o,a){if(!e)return!1;"string"==typeof e||e.parentNode||(e=""+e.innerHTML),"string"==typeof e&&(e=function(t){var e,n,i;return i="jsPDFhtmlText"+Date.now().toString()+(1e3*Math.random()).toFixed(0),(n=document.createElement("div")).style.cssText="position: absolute !important;clip: rect(1px 1px 1px 1px); /* IE6, IE7 */clip: rect(1px, 1px, 1px, 1px);padding:0 !important;border:0 !important;height: 1px !important;width: 1px !important; top:auto;left:-100px;overflow: hidden;",n.innerHTML='<iframe style="height:1px;width:1px" name="'+i+'" />',document.body.appendChild(n),(e=window.frames[i]).document.open(),e.document.writeln(t),e.document.close(),e.document.body}(e.replace(/<\/?script[^>]*?>/gi,"")));var s,l=new d(t,i,r,o);return b.call(this,e,l,o.elementHandlers,(function(t){w(e,l,o.elementHandlers),n(e,l,o.elementHandlers),l.pdf.internal.events.publish("htmlRenderingFinished"),s=l.dispose(),"function"==typeof a?a(s):t&&console.error("jsPDF Warning: rendering issues? provide a callback to fromHTML!")})),s||{x:l.x,y:l.y}},(d=function(t,e,n,i){return this.pdf=t,this.x=e,this.y=n,this.settings=i,this.watchFunctions=[],this.init(),this}).prototype.init=function(){return this.paragraph={text:[],style:[]},this.pdf.internal.write("q")},d.prototype.dispose=function(){return this.pdf.internal.write("Q"),{x:this.x,y:this.y,ready:!0}},d.prototype.executeWatchFunctions=function(t){var e=!1,n=[];if(this.watchFunctions.length>0){for(var i=0;i<this.watchFunctions.length;++i)!0===this.watchFunctions[i](t)?e=!0:n.push(this.watchFunctions[i]);this.watchFunctions=n}return e},d.prototype.splitFragmentsIntoLines=function(t,n){var i,r,o,a,s,l,c,u,h,f,d,p,g,m;for(f=this.pdf.internal.scaleFactor,a={},r=void 0,h=void 0,o=void 0,s=void 0,m=void 0,u=void 0,c=void 0,l=void 0,p=[d=[]],i=0,g=this.settings.width;t.length;)if(s=t.shift(),m=n.shift(),s)if((o=a[(r=m["font-family"])+(h=m["font-style"])])||(o=this.pdf.internal.getFont(r,h).metadata.Unicode,a[r+h]=o),u={widths:o.widths,kerning:o.kerning,fontSize:12*m["font-size"],textIndent:i},c=this.pdf.getStringUnitWidth(s,u)*u.fontSize/f,"\u2028"==s)d=[],p.push(d);else if(i+c>g){for(l=this.pdf.splitTextToSize(s,g,u),d.push([l.shift(),m]);l.length;)d=[[l.shift(),m]],p.push(d);i=this.pdf.getStringUnitWidth(d[0][0],u)*u.fontSize/f}else d.push([s,m]),i+=c;if(void 0!==m["text-align"]&&("center"===m["text-align"]||"right"===m["text-align"]||"justify"===m["text-align"]))for(var v=0;v<p.length;++v){var y=this.pdf.getStringUnitWidth(p[v][0][0],u)*u.fontSize/f;v>0&&(p[v][0][1]=e(p[v][0][1]));var b=g-y;if("right"===m["text-align"])p[v][0][1]["margin-left"]=b;else if("center"===m["text-align"])p[v][0][1]["margin-left"]=b/2;else if("justify"===m["text-align"]){var w=p[v][0][0].split(" ").length-1;p[v][0][1]["word-spacing"]=b/w,v===p.length-1&&(p[v][0][1]["word-spacing"]=0)}}return p},d.prototype.RenderTextFragment=function(t,e){var n,i;i=0,this.pdf.internal.pageSize.height-this.pdf.margins_doc.bottom<this.y+this.pdf.internal.getFontSize()&&(this.pdf.internal.write("ET","Q"),this.pdf.addPage(),this.y=this.pdf.margins_doc.top,this.pdf.internal.write("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),e.color,"Td"),i=Math.max(i,e["line-height"],e["font-size"]),this.pdf.internal.write(0,(-12*i).toFixed(2),"Td")),n=this.pdf.internal.getFont(e["font-family"],e["font-style"]);var r=this.getPdfColor(e.color);r!==this.lastTextColor&&(this.pdf.internal.write(r),this.lastTextColor=r),void 0!==e["word-spacing"]&&e["word-spacing"]>0&&this.pdf.internal.write(e["word-spacing"].toFixed(2),"Tw"),this.pdf.internal.write("/"+n.id,(12*e["font-size"]).toFixed(2),"Tf","("+this.pdf.internal.pdfEscape(t)+") Tj"),void 0!==e["word-spacing"]&&this.pdf.internal.write(0,"Tw")},d.prototype.getPdfColor=function(t){var e,n,i,r=/rgb\s*\(\s*(\d+),\s*(\d+),\s*(\d+\s*)\)/.exec(t);if(null!=r?(e=parseInt(r[1]),n=parseInt(r[2]),i=parseInt(r[3])):("#"!=t.charAt(0)&&((t=c.colorNameToHex(t))||(t="#000000")),e=t.substring(1,3),e=parseInt(e,16),n=t.substring(3,5),n=parseInt(n,16),i=t.substring(5,7),i=parseInt(i,16)),"string"==typeof e&&/^#[0-9A-Fa-f]{6}$/.test(e)){var o=parseInt(e.substr(1),16);e=o>>16&255,n=o>>8&255,i=255&o}var a=this.f3;return 0===e&&0===n&&0===i||void 0===n?a(e/255)+" g":[a(e/255),a(n/255),a(i/255),"rg"].join(" ")},d.prototype.f3=function(t){return t.toFixed(3)},d.prototype.renderParagraph=function(t){var e,n,i,r,o,a,s,l,c,u,h,d,p;if(i=f(this.paragraph.text),d=this.paragraph.style,e=this.paragraph.blockstyle,this.paragraph={text:[],style:[],blockstyle:{},priorblockstyle:e},i.join("").trim()){s=this.splitFragmentsIntoLines(i,d),a=void 0,l=void 0,n=12/this.pdf.internal.scaleFactor,this.priorMarginBottom=this.priorMarginBottom||0,h=(Math.max((e["margin-top"]||0)-this.priorMarginBottom,0)+(e["padding-top"]||0))*n,u=((e["margin-bottom"]||0)+(e["padding-bottom"]||0))*n,this.priorMarginBottom=e["margin-bottom"]||0,"always"===e["page-break-before"]&&(this.pdf.addPage(),this.y=0,h=((e["margin-top"]||0)+(e["padding-top"]||0))*n),c=this.pdf.internal.write,r=void 0,o=void 0,this.y+=h,c("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td");for(var g=0;s.length;){for(l=0,r=0,o=(a=s.shift()).length;r!==o;)a[r][0].trim()&&(l=Math.max(l,a[r][1]["line-height"],a[r][1]["font-size"]),p=7*a[r][1]["font-size"]),r++;var m=0,v=0;for(void 0!==a[0][1]["margin-left"]&&a[0][1]["margin-left"]>0&&(m=(v=this.pdf.internal.getCoordinateString(a[0][1]["margin-left"]))-g,g=v),c(m+Math.max(e["margin-left"]||0,0)*n,(-12*l).toFixed(2),"Td"),r=0,o=a.length;r!==o;)a[r][0]&&this.RenderTextFragment(a[r][0],a[r][1]),r++;if(this.y+=l*n,this.executeWatchFunctions(a[0][1])&&s.length>0){var y=[],b=[];s.forEach((function(t){for(var e=0,n=t.length;e!==n;)t[e][0]&&(y.push(t[e][0]+" "),b.push(t[e][1])),++e})),s=this.splitFragmentsIntoLines(f(y),b),c("ET","Q"),c("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td")}}return t&&"function"==typeof t&&t.call(this,this.x-9,this.y-p/2),c("ET","Q"),this.y+=u}},d.prototype.setBlockBoundary=function(t){return this.renderParagraph(t)},d.prototype.setBlockStyle=function(t){return this.paragraph.blockstyle=t},d.prototype.addText=function(t,e){return this.paragraph.text.push(t),this.paragraph.style.push(e)},i={helvetica:"helvetica","sans-serif":"helvetica","times new roman":"times",serif:"times",times:"times",monospace:"courier",courier:"courier"},s={100:"normal",200:"normal",300:"normal",400:"normal",500:"bold",600:"bold",700:"bold",800:"bold",900:"bold",normal:"normal",bold:"bold",bolder:"bold",lighter:"normal"},r={normal:"normal",italic:"italic",oblique:"italic"},a={left:"left",right:"right",center:"center",justify:"justify"},l={none:"none",right:"right",left:"left"},u={none:"none",both:"both"},m={normal:1},t.fromHTML=function(t,e,n,i,r,o){return this.margins_doc=o||{top:0,bottom:0},i||(i={}),i.elementHandlers||(i.elementHandlers={}),_(this,t,isNaN(e)?4:e,isNaN(n)?4:n,i,r)}}(a.API),function(t){var e,n,i;a.API.addJS=function(t){return i=t,this.internal.events.subscribe("postPutResources",(function(t){e=this.internal.newObject(),this.internal.write("<< /Names [(EmbeddedJS) "+(e+1)+" 0 R] >>","endobj"),n=this.internal.newObject(),this.internal.write("<< /S /JavaScript /JS (",i,") >>","endobj")})),this.internal.events.subscribe("putCatalog",(function(){void 0!==e&&void 0!==n&&this.internal.write("/Names <</JavaScript "+e+" 0 R>>")})),this}}(),function(t){t.events.push(["postPutResources",function(){var t=this,e=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var n=t.outline.render().split(/\r\n/),i=0;i<n.length;i++){var r=n[i],o=e.exec(r);if(null!=o){var a=o[1];t.internal.newObjectDeferredBegin(a)}t.internal.write(r)}if(this.outline.createNamedDestinations){var s=this.internal.pages.length,l=[];for(i=0;i<s;i++){var c=t.internal.newObject();l.push(c);var u=t.internal.getPageInfo(i+1);t.internal.write("<< /D["+u.objId+" 0 R /XYZ null null null]>> endobj")}var h=t.internal.newObject();for(t.internal.write("<< /Names [ "),i=0;i<l.length;i++)t.internal.write("(page_"+(i+1)+")"+l[i]+" 0 R");t.internal.write(" ] >>","endobj"),t.internal.newObject(),t.internal.write("<< /Dests "+h+" 0 R"),t.internal.write(">>","endobj")}}]),t.events.push(["putCatalog",function(){var t=this;t.outline.root.children.length>0&&(t.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&t.internal.write("/Names "+namesOid+" 0 R"))}]),t.events.push(["initialized",function(){var t=this;t.outline={createNamedDestinations:!1,root:{children:[]}},t.outline.add=function(t,e,n){var i={title:e,options:n,children:[]};return null==t&&(t=this.root),t.children.push(i),i},t.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=t,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},t.outline.genIds_r=function(e){e.id=t.internal.newObjectDeferred();for(var n=0;n<e.children.length;n++)this.genIds_r(e.children[n])},t.outline.renderRoot=function(t){this.objStart(t),this.line("/Type /Outlines"),t.children.length>0&&(this.line("/First "+this.makeRef(t.children[0])),this.line("/Last "+this.makeRef(t.children[t.children.length-1]))),this.line("/Count "+this.count_r({count:0},t)),this.objEnd()},t.outline.renderItems=function(e){for(r=0;r<e.children.length;r++){o=e.children[r],this.objStart(o),this.line("/Title "+this.makeString(o.title)),this.line("/Parent "+this.makeRef(e)),r>0&&this.line("/Prev "+this.makeRef(e.children[r-1])),r<e.children.length-1&&this.line("/Next "+this.makeRef(e.children[r+1])),o.children.length>0&&(this.line("/First "+this.makeRef(o.children[0])),this.line("/Last "+this.makeRef(o.children[o.children.length-1])));var n=this.count=this.count_r({count:0},o);if(n>0&&this.line("/Count "+n),o.options&&o.options.pageNumber){var i=t.internal.getPageInfo(o.options.pageNumber);this.line("/Dest ["+i.objId+" 0 R /XYZ 0 "+this.ctx.pdf.internal.pageSize.height+" 0]")}this.objEnd()}for(var r=0;r<e.children.length;r++){var o=e.children[r];this.renderItems(o)}},t.outline.line=function(t){this.ctx.val+=t+"\r\n"},t.outline.makeRef=function(t){return t.id+" 0 R"},t.outline.makeString=function(e){return"("+t.internal.pdfEscape(e)+")"},t.outline.objStart=function(t){this.ctx.val+="\r\n"+t.id+" 0 obj\r\n<<\r\n"},t.outline.objEnd=function(t){this.ctx.val+=">> \r\nendobj\r\n"},t.outline.count_r=function(t,e){for(var n=0;n<e.children.length;n++)t.count++,this.count_r(t,e.children[n]);return t.count}}])}(a.API),
/**@preserve
 *  ====================================================================
 * jsPDF PNG PlugIn
 * Copyright (c) 2014 James Robb, https://github.com/jamesbrobb
 *
 * 
 * ====================================================================
 */
function(t){var e=function(){return"function"!=typeof PNG||"function"!=typeof f},n=function(e){return e!==t.image_compression.NONE&&i()},i=function(){var t="function"==typeof u;if(!t)throw new Error("requires deflate.js for compression");return t},r=function(e,n,i,r){var l=5,f=h;switch(r){case t.image_compression.FAST:l=3,f=c;break;case t.image_compression.MEDIUM:l=6,f=d;break;case t.image_compression.SLOW:l=9,f=p}e=s(e,n,i,f);var g=new Uint8Array(o(l)),m=a(e),v=new u(l),y=v.append(e),b=v.flush(),w=g.length+y.length+b.length,_=new Uint8Array(w+4);return _.set(g),_.set(y,g.length),_.set(b,g.length+y.length),_[w++]=m>>>24&255,_[w++]=m>>>16&255,_[w++]=m>>>8&255,_[w++]=255&m,t.arrayBufferToBinaryString(_)},o=function(t,e){var n=Math.LOG2E*Math.log(32768)-8<<4|8,i=n<<8;return i|=Math.min(3,(e-1&255)>>1)<<6,i|=0,[n,255&(i+=31-i%31)]},a=function(t,e){for(var n,i=1,r=0,o=t.length,a=0;o>0;){o-=n=o>e?e:o;do{r+=i+=t[a++]}while(--n);i%=65521,r%=65521}return(r<<16|i)>>>0},s=function(t,e,n,i){for(var r,o,a,s=t.length/e,l=new Uint8Array(t.length+s),c=m(),u=0;u<s;u++){if(a=u*e,r=t.subarray(a,a+e),i)l.set(i(r,n,o),a+u);else{for(var h=0,f=c.length,d=[];h<f;h++)d[h]=c[h](r,n,o);var p=v(d.concat());l.set(d[p],a+u)}o=r}return l},l=function(t,e,n){var i=Array.apply([],t);return i.unshift(0),i},c=function(t,e,n){var i,r=[],o=0,a=t.length;for(r[0]=1;o<a;o++)i=t[o-e]||0,r[o+1]=t[o]-i+256&255;return r},h=function(t,e,n){var i,r=[],o=0,a=t.length;for(r[0]=2;o<a;o++)i=n&&n[o]||0,r[o+1]=t[o]-i+256&255;return r},d=function(t,e,n){var i,r,o=[],a=0,s=t.length;for(o[0]=3;a<s;a++)i=t[a-e]||0,r=n&&n[a]||0,o[a+1]=t[a]+256-(i+r>>>1)&255;return o},p=function(t,e,n){var i,r,o,a,s=[],l=0,c=t.length;for(s[0]=4;l<c;l++)i=t[l-e]||0,r=n&&n[l]||0,o=n&&n[l-e]||0,a=g(i,r,o),s[l+1]=t[l]-a+256&255;return s},g=function(t,e,n){var i=t+e-n,r=Math.abs(i-t),o=Math.abs(i-e),a=Math.abs(i-n);return r<=o&&r<=a?t:o<=a?e:n},m=function(){return[l,c,h,d,p]},v=function(t){for(var e,n,i,r=0,o=t.length;r<o;)((e=y(t[r].slice(1)))<n||!n)&&(n=e,i=r),r++;return i},y=function(t){for(var e=0,n=t.length,i=0;e<n;)i+=Math.abs(t[e++]);return i},b=function(e){var n;switch(e){case t.image_compression.FAST:n=11;break;case t.image_compression.MEDIUM:n=13;break;case t.image_compression.SLOW:n=14;break;default:n=12}return n};t.processPNG=function(t,i,o,a,s){var l,c,u,h,f,d,p=this.color_spaces.DEVICE_RGB,g=this.decode.FLATE_DECODE,m=8;if(this.isArrayBuffer(t)&&(t=new Uint8Array(t)),this.isArrayBufferView(t)){if(e())throw new Error("PNG support requires png.js and zlib.js");if(t=(l=new PNG(t)).imgData,m=l.bits,p=l.colorSpace,h=l.colors,-1!==[4,6].indexOf(l.colorType)){if(8===l.bits)for(var v,y=(O=32==l.pixelBitlength?new Uint32Array(l.decodePixels().buffer):16==l.pixelBitlength?new Uint16Array(l.decodePixels().buffer):new Uint8Array(l.decodePixels().buffer)).length,w=new Uint8Array(y*l.colors),_=new Uint8Array(y),x=l.pixelBitlength-l.bits,T=0,k=0;T<y;T++){for(A=O[T],v=0;v<x;)w[k++]=A>>>v&255,v+=l.bits;_[T]=A>>>v&255}if(16===l.bits){y=(O=new Uint32Array(l.decodePixels().buffer)).length,w=new Uint8Array(y*(32/l.pixelBitlength)*l.colors),_=new Uint8Array(y*(32/l.pixelBitlength));for(var A,S=l.colors>1,C=(T=0,k=0,0);T<y;)A=O[T++],w[k++]=A>>>0&255,S&&(w[k++]=A>>>16&255,A=O[T++],w[k++]=A>>>0&255),_[C++]=A>>>16&255;m=8}n(a)?(t=r(w,l.width*l.colors,l.colors,a),d=r(_,l.width,1,a)):(t=w,d=_,g=null)}if(3===l.colorType&&(p=this.color_spaces.INDEXED,f=l.palette,l.transparency.indexed)){var P=l.transparency.indexed,E=0;for(T=0,y=P.length;T<y;++T)E+=P[T];if((E/=255)==y-1&&-1!==P.indexOf(0))u=[P.indexOf(0)];else if(E!==y){var O=l.decodePixels();for(_=new Uint8Array(O.length),T=0,y=O.length;T<y;T++)_[T]=P[O[T]];d=r(_,l.width,1)}}var R=b(a);return c=g===this.decode.FLATE_DECODE?"/Predictor "+R+" /Colors "+h+" /BitsPerComponent "+m+" /Columns "+l.width:"/Colors "+h+" /BitsPerComponent "+m+" /Columns "+l.width,(this.isArrayBuffer(t)||this.isArrayBufferView(t))&&(t=this.arrayBufferToBinaryString(t)),(d&&this.isArrayBuffer(d)||this.isArrayBufferView(d))&&(d=this.arrayBufferToBinaryString(d)),this.createImageInfo(t,l.width,l.height,p,m,g,i,o,c,u,f,d,R)}throw new Error("Unsupported PNG image data, try using JPEG instead.")}}(a.API),a.API.autoPrint=function(){var t;return this.internal.events.subscribe("postPutResources",(function(){t=this.internal.newObject(),this.internal.write("<< /S/Named /Type/Action /N/Print >>","endobj")})),this.internal.events.subscribe("putCatalog",(function(){this.internal.write("/OpenAction "+t+" 0 R")})),this
/** @preserve
 * jsPDF split_text_to_size plugin - MIT license.
 * Copyright (c) 2012 Willow Systems Corporation, willow-systems.com
 *               2014 Diego Casorran, https://github.com/diegocr
 */},function(t){var e=t.getCharWidthsArray=function(t,e){e||(e={});var n,i,r,o=e.widths?e.widths:this.internal.getFont().metadata.Unicode.widths,a=o.fof?o.fof:1,s=e.kerning?e.kerning:this.internal.getFont().metadata.Unicode.kerning,l=s.fof?s.fof:1,c=0,u=o[0]||a,h=[];for(n=0,i=t.length;n<i;n++)r=t.charCodeAt(n),h.push((o[r]||u)/a+(s[r]&&s[r][c]||0)/l),c=r;return h},n=function(t){for(var e=t.length,n=0;e;)n+=t[--e];return n},i=t.getStringUnitWidth=function(t,i){return n(e.call(this,t,i))},r=function(t,e,n,i){for(var r=[],o=0,a=t.length,s=0;o!==a&&s+e[o]<n;)s+=e[o],o++;r.push(t.slice(0,o));var l=o;for(s=0;o!==a;)s+e[o]>i&&(r.push(t.slice(l,o)),s=0,l=o),s+=e[o],o++;return l!==o&&r.push(t.slice(l,o)),r},o=function(t,o,a){a||(a={});var s,l,c,u,h,f,d=[],p=[d],g=a.textIndent||0,m=0,v=0,y=t.split(" "),b=e(" ",a)[0];if(f=-1===a.lineIndent?y[0].length+2:a.lineIndent||0){var w=Array(f).join(" "),_=[];y.map((function(t){(t=t.split(/\s*\n/)).length>1?_=_.concat(t.map((function(t,e){return(e&&t.length?"\n":"")+t}))):_.push(t[0])})),y=_,f=i(w,a)}for(c=0,u=y.length;c<u;c++){var x=0;if(s=y[c],f&&"\n"==s[0]&&(s=s.substr(1),x=1),l=e(s,a),g+m+(v=n(l))>o||x){if(v>o){for(h=r(s,l,o-(g+m),o),d.push(h.shift()),d=[h.pop()];h.length;)p.push([h.shift()]);v=n(l.slice(s.length-d[0].length))}else d=[s];p.push(d),g=v+f,m=b}else d.push(s),g+=m+v,m=b}if(f)T=function(t,e){return(e?w:"")+t.join(" ")};else var T=function(t){return t.join(" ")};return p.map(T)};t.splitTextToSize=function(t,e,n){n||(n={});var i,r=n.fontSize||this.internal.getFontSize(),a=function(t){var e={0:1},n={};if(t.widths&&t.kerning)return{widths:t.widths,kerning:t.kerning};var i=this.internal.getFont(t.fontName,t.fontStyle);return i.metadata.Unicode?{widths:i.metadata.Unicode.widths||e,kerning:i.metadata.Unicode.kerning||n}:{widths:e,kerning:n}}.call(this,n);i=Array.isArray(t)?t:t.split(/\r?\n/);var s=1*this.internal.scaleFactor*e/r;a.textIndent=n.textIndent?1*n.textIndent*this.internal.scaleFactor/r:0,a.lineIndent=n.lineIndent;var l,c,u=[];for(l=0,c=i.length;l<c;l++)u=u.concat(o(i[l],s,a));return u}}(a.API),
/** @preserve 
jsPDF standard_fonts_metrics plugin
Copyright (c) 2012 Willow Systems Corporation, willow-systems.com
MIT license.
*/
function(t){var e=function(t){for(var e={},n=0;n<"klmnopqrstuvwxyz".length;n++)e["klmnopqrstuvwxyz"[n]]="0123456789abcdef"[n];var i,r,o,a,s={},l=1,c=s,u=[],h="",f="",d=t.length-1;for(n=1;n!=d;)a=t[n],n+=1,"'"==a?i?(o=i.join(""),i=void 0):i=[]:i?i.push(a):"{"==a?(u.push([c,o]),c={},o=void 0):"}"==a?((r=u.pop())[0][r[1]]=c,o=void 0,c=r[0]):"-"==a?l=-1:void 0===o?e.hasOwnProperty(a)?(h+=e[a],o=parseInt(h,16)*l,l=1,h=""):h+=a:e.hasOwnProperty(a)?(f+=e[a],c[o]=parseInt(f,16)*l,l=1,o=void 0,f=""):f+=a;return s},n={codePages:["WinAnsiEncoding"],WinAnsiEncoding:e("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},i={Unicode:{Courier:n,"Courier-Bold":n,"Courier-BoldOblique":n,"Courier-Oblique":n,Helvetica:n,"Helvetica-Bold":n,"Helvetica-BoldOblique":n,"Helvetica-Oblique":n,"Times-Roman":n,"Times-Bold":n,"Times-BoldItalic":n,"Times-Italic":n}},r={Unicode:{"Courier-Oblique":e("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":e("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":e("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:e("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":e("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":e("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Helvetica:e("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":e("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),"Courier-Bold":e("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":e("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":e("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":e("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};t.events.push(["addFont",function(t){var e,n,o;(e=r.Unicode[t.PostScriptName])&&((n=t.metadata.Unicode?t.metadata.Unicode:t.metadata.Unicode={}).widths=e.widths,n.kerning=e.kerning),(o=i.Unicode[t.PostScriptName])&&((n=t.metadata.Unicode?t.metadata.Unicode:t.metadata.Unicode={}).encoding=o,o.codePages&&o.codePages.length&&(t.encoding=o.codePages[0]))}])}(a.API),a.API.addSVG=function(t,e,n,i,r){if(void 0===e||void 0===n)throw new Error("addSVG needs values for 'x' and 'y'");var o=function(t,e){var n=(e.contentWindow||e.contentDocument).document;return n.write(t),n.close(),n.getElementsByTagName("svg")[0]}(t,function(t){var e=t.createElement("iframe");return function(t,e){var n=e.createElement("style");n.type="text/css",n.styleSheet?n.styleSheet.cssText=t:n.appendChild(e.createTextNode(t)),e.getElementsByTagName("head")[0].appendChild(n)}(".jsPDF_sillysvg_iframe {display:none;position:absolute;}",t),e.name="childframe",e.setAttribute("width",0),e.setAttribute("height",0),e.setAttribute("frameborder","0"),e.setAttribute("scrolling","no"),e.setAttribute("seamless","seamless"),e.setAttribute("class","jsPDF_sillysvg_iframe"),t.body.appendChild(e),e}(document)),a=[1,1],s=parseFloat(o.getAttribute("width")),l=parseFloat(o.getAttribute("height"));s&&l&&(i&&r?a=[i/s,r/l]:i?a=[i/s,i/s]:r&&(a=[r/l,r/l]));var c,u,h,f,d=o.childNodes;for(c=0,u=d.length;c<u;c++)(h=d[c]).tagName&&"PATH"===h.tagName.toUpperCase()&&((f=function(t){for(var e=parseFloat(t[1]),n=parseFloat(t[2]),i=[],r=3,o=t.length;r<o;)"c"===t[r]?(i.push([parseFloat(t[r+1]),parseFloat(t[r+2]),parseFloat(t[r+3]),parseFloat(t[r+4]),parseFloat(t[r+5]),parseFloat(t[r+6])]),r+=7):"l"===t[r]?(i.push([parseFloat(t[r+1]),parseFloat(t[r+2])]),r+=3):r+=1;return[e,n,i]}(h.getAttribute("d").split(" ")))[0]=f[0]*a[0]+e,f[1]=f[1]*a[1]+n,this.lines.call(this,f[2],f[0],f[1],a));return this},a.API.putTotalPages=function(t){for(var e=new RegExp(t,"g"),n=1;n<=this.internal.getNumberOfPages();n++)for(var i=0;i<this.internal.pages[n].length;i++)this.internal.pages[n][i]=this.internal.pages[n][i].replace(e,this.internal.getNumberOfPages());return this},function(t){var e="",n="",i="";a.API.addMetadata=function(t,r){return n=r||"http://jspdf.default.namespaceuri/",e=t,this.internal.events.subscribe("postPutResources",(function(){if(e){var t='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+n+'"><jspdf:metadata>',r=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),o=unescape(encodeURIComponent(t)),a=unescape(encodeURIComponent(e)),s=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),l=unescape(encodeURIComponent("</x:xmpmeta>")),c=o.length+a.length+s.length+r.length+l.length;i=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+c+" >>"),this.internal.write("stream"),this.internal.write(r+o+a+s+l),this.internal.write("endstream"),this.internal.write("endobj")}else i=""})),this.internal.events.subscribe("putCatalog",(function(){i&&this.internal.write("/Metadata "+i+" 0 R")})),this}}(),function(t){if(t.URL=t.URL||t.webkitURL,t.Blob&&t.URL)try{return void new Blob}catch(t){}var e=t.BlobBuilder||t.WebKitBlobBuilder||t.MozBlobBuilder||function(t){var e=function(t){return Object.prototype.toString.call(t).match(/^\[object\s(.*)\]$/)[1]},n=function(){this.data=[]},i=function(t,e,n){this.data=t,this.size=t.length,this.type=e,this.encoding=n},r=n.prototype,o=i.prototype,a=t.FileReaderSync,s=function(t){this.code=this[this.name=t]},l="NOT_FOUND_ERR SECURITY_ERR ABORT_ERR NOT_READABLE_ERR ENCODING_ERR NO_MODIFICATION_ALLOWED_ERR INVALID_STATE_ERR SYNTAX_ERR".split(" "),c=l.length,u=t.URL||t.webkitURL||t,h=u.createObjectURL,f=u.revokeObjectURL,d=u,p=t.btoa,g=t.atob,m=t.ArrayBuffer,v=t.Uint8Array,y=/^[\w-]+:\/*\[?[\w\.:-]+\]?(?::[0-9]+)?/;for(i.fake=o.fake=!0;c--;)s.prototype[l[c]]=c+1;return u.createObjectURL||(d=t.URL=function(t){var e,n=document.createElementNS("http://www.w3.org/1999/xhtml","a");return n.href=t,"origin"in n||("data:"===n.protocol.toLowerCase()?n.origin=null:(e=t.match(y),n.origin=e&&e[1])),n}),d.createObjectURL=function(t){var e,n=t.type;return null===n&&(n="application/octet-stream"),t instanceof i?(e="data:"+n,"base64"===t.encoding?e+";base64,"+t.data:"URI"===t.encoding?e+","+decodeURIComponent(t.data):p?e+";base64,"+p(t.data):e+","+encodeURIComponent(t.data)):h?h.call(u,t):void 0},d.revokeObjectURL=function(t){"data:"!==t.substring(0,5)&&f&&f.call(u,t)},r.append=function(t){var n=this.data;if(v&&(t instanceof m||t instanceof v)){for(var r="",o=new v(t),l=0,c=o.length;l<c;l++)r+=String.fromCharCode(o[l]);n.push(r)}else if("Blob"===e(t)||"File"===e(t)){if(!a)throw new s("NOT_READABLE_ERR");var u=new a;n.push(u.readAsBinaryString(t))}else t instanceof i?"base64"===t.encoding&&g?n.push(g(t.data)):"URI"===t.encoding?n.push(decodeURIComponent(t.data)):"raw"===t.encoding&&n.push(t.data):("string"!=typeof t&&(t+=""),n.push(unescape(encodeURIComponent(t))))},r.getBlob=function(t){return arguments.length||(t=null),new i(this.data.join(""),t,"raw")},r.toString=function(){return"[object BlobBuilder]"},o.slice=function(t,e,n){var r=arguments.length;return r<3&&(n=null),new i(this.data.slice(t,r>1?e:this.data.length),n,this.encoding)},o.toString=function(){return"[object Blob]"},o.close=function(){this.size=0,delete this.data},n}(t);t.Blob=function(t,n){var i=n&&n.type||"",r=new e;if(t)for(var o=0,a=t.length;o<a;o++)Uint8Array&&t[o]instanceof Uint8Array?r.append(t[o].buffer):r.append(t[o]);var s=r.getBlob(i);return!s.slice&&s.webkitSlice&&(s.slice=s.webkitSlice),s};var n=Object.getPrototypeOf||function(t){return t.__proto__};t.Blob.prototype=n(new t.Blob)}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||(void 0).content||void 0);var l=l||function(t){if(!(void 0===t||"undefined"!=typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent))){var e=function(){return t.URL||t.webkitURL||t},n=t.document.createElementNS("http://www.w3.org/1999/xhtml","a"),i="download"in n,r=/constructor/i.test(t.HTMLElement)||t.safari,o=/CriOS\/[\d]+/.test(navigator.userAgent),a=function(e){(t.setImmediate||t.setTimeout)((function(){throw e}),0)},s=function(t){setTimeout((function(){"string"==typeof t?e().revokeObjectURL(t):t.remove()}),4e4)},l=function(t,e,n){for(var i=(e=[].concat(e)).length;i--;){var r=t["on"+e[i]];if("function"==typeof r)try{r.call(t,n||t)}catch(t){a(t)}}},c=function(t){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob([String.fromCharCode(65279),t],{type:t.type}):t},u=function(a,u,h){h||(a=c(a));var f,d=this,p="application/octet-stream"===a.type,g=function(){l(d,"writestart progress write writeend".split(" "))};if(d.readyState=d.INIT,i)return f=e().createObjectURL(a),void setTimeout((function(){n.href=f,n.download=u,function(t){var e=new MouseEvent("click");t.dispatchEvent(e)}(n),g(),s(f),d.readyState=d.DONE}));!function(){if((o||p&&r)&&t.FileReader){var n=new FileReader;return n.onloadend=function(){var e=o?n.result:n.result.replace(/^data:[^;]*;/,"data:attachment/file;");t.open(e,"_blank")||(t.location.href=e),e=void 0,d.readyState=d.DONE,g()},n.readAsDataURL(a),void(d.readyState=d.INIT)}f||(f=e().createObjectURL(a)),p?t.location.href=f:t.open(f,"_blank")||(t.location.href=f),d.readyState=d.DONE,g(),s(f)}()},h=u.prototype;return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(t,e,n){return e=e||t.name||"download",n||(t=c(t)),navigator.msSaveOrOpenBlob(t,e)}:(h.abort=function(){},h.readyState=h.INIT=0,h.WRITING=1,h.DONE=2,h.error=h.onwritestart=h.onprogress=h.onwrite=h.onabort=h.onerror=h.onwriteend=null,function(t,e,n){return new u(t,e||t.name||"download",n)})}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||(void 0).content);t.exports?t.exports.saveAs=l:null!==n(405)&&null!==n(179)&&(void 0!==(r=function(){return l}.call(e,n,e,t))&&(t.exports=r)),t.exports=function(){var t="function"==typeof ArrayBuffer&&"function"==typeof Uint8Array,e=null,n=function(){if(!t)return function(){return!1};try{var n={};"function"==typeof n.Buffer&&(e=n.Buffer)}catch(t){}return function(t){return t instanceof ArrayBuffer||null!==e&&t instanceof e}}(),i=null!==e?function(t){return new e(t,"utf8").toString("binary")}:function(t){return unescape(encodeURIComponent(t))},r=function(t,e){for(var n=65535&t,i=t>>>16,r=0,o=e.length;r<o;r++)i=(i+(n=(n+(255&e.charCodeAt(r)))%65521))%65521;return(i<<16|n)>>>0},o=function(t,e){for(var n=65535&t,i=t>>>16,r=0,o=e.length;r<o;r++)i=(i+(n=(n+e[r])%65521))%65521;return(i<<16|n)>>>0},a={},s=a.Adler32=function(){var e=function(t){if(!(this instanceof e))throw new TypeError("Constructor cannot called be as a function.");if(!isFinite(t=null==t?1:+t))throw new Error("First arguments needs to be a finite number.");this.checksum=t>>>0},a=e.prototype={};return a.constructor=e,e.from=function(t){return t.prototype=a,t}((function(t){if(!(this instanceof e))throw new TypeError("Constructor cannot called be as a function.");if(null==t)throw new Error("First argument needs to be a string.");this.checksum=r(1,t.toString())})),e.fromUtf8=function(t){return t.prototype=a,t}((function(t){if(!(this instanceof e))throw new TypeError("Constructor cannot called be as a function.");if(null==t)throw new Error("First argument needs to be a string.");var n=i(t.toString());this.checksum=r(1,n)})),t&&(e.fromBuffer=function(t){return t.prototype=a,t}((function(t){if(!(this instanceof e))throw new TypeError("Constructor cannot called be as a function.");if(!n(t))throw new Error("First argument needs to be ArrayBuffer.");var i=new Uint8Array(t);return this.checksum=o(1,i)}))),a.update=function(t){if(null==t)throw new Error("First argument needs to be a string.");return t=t.toString(),this.checksum=r(this.checksum,t)},a.updateUtf8=function(t){if(null==t)throw new Error("First argument needs to be a string.");var e=i(t.toString());return this.checksum=r(this.checksum,e)},t&&(a.updateBuffer=function(t){if(!n(t))throw new Error("First argument needs to be ArrayBuffer.");var e=new Uint8Array(t);return this.checksum=o(this.checksum,e)}),a.clone=function(){return new s(this.checksum)},e}();return a.from=function(t){if(null==t)throw new Error("First argument needs to be a string.");return r(1,t.toString())},a.fromUtf8=function(t){if(null==t)throw new Error("First argument needs to be a string.");var e=i(t.toString());return r(1,e)},t&&(a.fromBuffer=function(t){if(!n(t))throw new Error("First argument need to be ArrayBuffer.");var e=new Uint8Array(t);return o(1,e)}),a}();var c={_colorsTable:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4","indianred ":"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},colorNameToHex:function(t){return t=t.toLowerCase(),void 0!==this._colorsTable[t]&&this._colorsTable[t]}},u=function(t){function e(){function t(t){var e,n,r,o,a,l,c=i.dyn_tree,u=i.stat_desc.static_tree,h=i.stat_desc.extra_bits,d=i.stat_desc.extra_base,p=i.stat_desc.max_length,g=0;for(o=0;o<=s;o++)t.bl_count[o]=0;for(c[2*t.heap[t.heap_max]+1]=0,e=t.heap_max+1;e<f;e++)(o=c[2*c[2*(n=t.heap[e])+1]+1]+1)>p&&(o=p,g++),c[2*n+1]=o,n>i.max_code||(t.bl_count[o]++,a=0,n>=d&&(a=h[n-d]),l=c[2*n],t.opt_len+=l*(o+a),u&&(t.static_len+=l*(u[2*n+1]+a)));if(0!==g){do{for(o=p-1;0===t.bl_count[o];)o--;t.bl_count[o]--,t.bl_count[o+1]+=2,t.bl_count[p]--,g-=2}while(g>0);for(o=p;0!==o;o--)for(n=t.bl_count[o];0!==n;)(r=t.heap[--e])>i.max_code||(c[2*r+1]!=o&&(t.opt_len+=(o-c[2*r+1])*c[2*r],c[2*r+1]=o),n--)}}function e(t,e){var n=0;do{n|=1&t,t>>>=1,n<<=1}while(--e>0);return n>>>1}function n(t,n,i){var r,o,a,l=[],c=0;for(r=1;r<=s;r++)l[r]=c=c+i[r-1]<<1;for(o=0;o<=n;o++)0!==(a=t[2*o+1])&&(t[2*o]=e(l[a]++,a))}var i=this;i.build_tree=function(e){var r,o,a,s=i.dyn_tree,l=i.stat_desc.static_tree,c=i.stat_desc.elems,u=-1;for(e.heap_len=0,e.heap_max=f,r=0;r<c;r++)0!==s[2*r]?(e.heap[++e.heap_len]=u=r,e.depth[r]=0):s[2*r+1]=0;for(;e.heap_len<2;)s[2*(a=e.heap[++e.heap_len]=u<2?++u:0)]=1,e.depth[a]=0,e.opt_len--,l&&(e.static_len-=l[2*a+1]);for(i.max_code=u,r=Math.floor(e.heap_len/2);r>=1;r--)e.pqdownheap(s,r);a=c;do{r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],e.pqdownheap(s,1),o=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=o,s[2*a]=s[2*r]+s[2*o],e.depth[a]=Math.max(e.depth[r],e.depth[o])+1,s[2*r+1]=s[2*o+1]=a,e.heap[1]=a++,e.pqdownheap(s,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],t(e),n(s,i.max_code,e.bl_count)}}function n(t,e,n,i,r){var o=this;o.static_tree=t,o.extra_bits=e,o.extra_base=n,o.elems=i,o.max_length=r}function i(t,e,n,i,r){var o=this;o.good_length=t,o.max_lazy=e,o.nice_length=n,o.max_chain=i,o.func=r}function r(t,e,n,i){var r=t[2*e],o=t[2*n];return r<o||r==o&&i[e]<=i[n]}function o(){function t(){var t;for(t=0;t<h;t++)Wt[2*t]=0;for(t=0;t<l;t++)$t[2*t]=0;for(t=0;t<c;t++)Ut[2*t]=0;Wt[2*d]=1,te.opt_len=te.static_len=0,Vt=Qt=0}function i(t,e){var n,i,r=-1,o=t[1],a=0,s=7,l=4;for(0===o&&(s=138,l=3),t[2*(e+1)+1]=65535,n=0;n<=e;n++)i=o,o=t[2*(n+1)+1],++a<s&&i==o||(a<l?Ut[2*i]+=a:0!==i?(i!=r&&Ut[2*i]++,Ut[2*p]++):a<=10?Ut[2*g]++:Ut[2*m]++,a=0,r=i,0===o?(s=138,l=3):i==o?(s=6,l=3):(s=7,l=4))}function o(){var t;for(i(Wt,ee.max_code),i($t,ne.max_code),ie.build_tree(te),t=c-1;t>=3&&0===Ut[2*e.bl_order[t]+1];t--);return te.opt_len+=3*(t+1)+5+5+4,t}function a(t){te.pending_buf[te.pending++]=t}function s(t){a(255&t),a(t>>>8&255)}function f(t,e){var n,i=e;Zt>v-i?(s(Kt|=(n=t)<<Zt&65535),Kt=n>>>v-Zt,Zt+=i-v):(Kt|=t<<Zt&65535,Zt+=i)}function I(t,e){var n=2*t;f(65535&e[n],65535&e[n+1])}function et(t,e){var n,i,r=-1,o=t[1],a=0,s=7,l=4;for(0===o&&(s=138,l=3),n=0;n<=e;n++)if(i=o,o=t[2*(n+1)+1],!(++a<s&&i==o)){if(a<l)do{I(i,Ut)}while(0!=--a);else 0!==i?(i!=r&&(I(i,Ut),a--),I(p,Ut),f(a-3,2)):a<=10?(I(g,Ut),f(a-3,3)):(I(m,Ut),f(a-11,7));a=0,r=i,0===o?(s=138,l=3):i==o?(s=6,l=3):(s=7,l=4)}}function nt(t,n,i){var r;for(f(t-257,5),f(n-1,5),f(i-4,4),r=0;r<i;r++)f(Ut[2*e.bl_order[r]+1],3);et(Wt,t-1),et($t,n-1)}function it(){16==Zt?(s(Kt),Kt=0,Zt=0):Zt>=8&&(a(255&Kt),Kt>>>=8,Zt-=8)}function rt(){f(Q<<1,3),I(d,n.static_ltree),it(),1+Jt+10-Zt<9&&(f(Q<<1,3),I(d,n.static_ltree),it()),Jt=7}function ot(t,n){var i,r,o;if(te.pending_buf[Gt+2*Vt]=t>>>8&255,te.pending_buf[Gt+2*Vt+1]=255&t,te.pending_buf[Xt+Vt]=255&n,Vt++,0===t?Wt[2*n]++:(Qt++,t--,Wt[2*(e._length_code[n]+u+1)]++,$t[2*e.d_code(t)]++),0==(8191&Vt)&&zt>2){for(i=8*Vt,r=qt-Et,o=0;o<l;o++)i+=$t[2*o]*(5+e.extra_dbits[o]);if(i>>>=3,Qt<Math.floor(Vt/2)&&i<Math.floor(r/2))return!0}return Vt==Yt-1}function at(t,n){var i,r,o,a,s=0;if(0!==Vt)do{i=te.pending_buf[Gt+2*s]<<8&65280|255&te.pending_buf[Gt+2*s+1],r=255&te.pending_buf[Xt+s],s++,0===i?I(r,t):(I((o=e._length_code[r])+u+1,t),0!==(a=e.extra_lbits[o])&&f(r-=e.base_length[o],a),i--,I(o=e.d_code(i),n),0!==(a=e.extra_dbits[o])&&f(i-=e.base_dist[o],a))}while(s<Vt);I(d,t),Jt=t[2*d+1]}function st(){Zt>8?s(Kt):Zt>0&&a(255&Kt),Kt=0,Zt=0}function lt(t,e,n){f((G<<1)+(n?1:0),3),function(t,e,n){st(),Jt=8,n&&(s(e),s(~e)),te.pending_buf.set(wt.subarray(t,t+e),te.pending),te.pending+=e}(t,e,!0)}function ct(e){(function(e,i,r){var a,s,l=0;zt>0?(ee.build_tree(te),ne.build_tree(te),l=o(),a=te.opt_len+3+7>>>3,(s=te.static_len+3+7>>>3)<=a&&(a=s)):a=s=i+5,i+4<=a&&-1!=e?lt(e,i,r):s==a?(f((Q<<1)+(r?1:0),3),at(n.static_ltree,n.static_dtree)):(f((J<<1)+(r?1:0),3),nt(ee.max_code+1,ne.max_code+1,l+1),at(Wt,$t)),t(),r&&st()})(Et>=0?Et:-1,qt-Et,e),Et=qt,dt.flush_pending()}function ut(){var t,e,n,i;do{if(0==(i=_t-Lt-qt)&&0===qt&&0===Lt)i=vt;else if(-1==i)i--;else if(qt>=vt+vt-tt){wt.set(wt.subarray(vt,vt+vt),0),Mt-=vt,qt-=vt,Et-=vt,n=t=At;do{e=65535&Tt[--n],Tt[n]=e>=vt?e-vt:0}while(0!=--t);n=t=vt;do{e=65535&xt[--n],xt[n]=e>=vt?e-vt:0}while(0!=--t);i+=vt}if(0===dt.avail_in)return;t=dt.read_buf(wt,qt+Lt,i),(Lt+=t)>=K&&(kt=((kt=255&wt[qt])<<Pt^255&wt[qt+1])&Ct)}while(Lt<tt&&0!==dt.avail_in)}function ht(t){var e,n,i=Dt,r=qt,o=Nt,a=qt>vt-tt?qt-(vt-tt):0,s=Ht,l=bt,c=qt+Z,u=wt[r+o-1],h=wt[r+o];Nt>=jt&&(i>>=2),s>Lt&&(s=Lt);do{if(wt[(e=t)+o]==h&&wt[e+o-1]==u&&wt[e]==wt[r]&&wt[++e]==wt[r+1]){r+=2,e++;do{}while(wt[++r]==wt[++e]&&wt[++r]==wt[++e]&&wt[++r]==wt[++e]&&wt[++r]==wt[++e]&&wt[++r]==wt[++e]&&wt[++r]==wt[++e]&&wt[++r]==wt[++e]&&wt[++r]==wt[++e]&&r<c);if(n=Z-(c-r),r=c-Z,n>o){if(Mt=t,o=n,n>=s)break;u=wt[r+o-1],h=wt[r+o]}}}while((t=65535&xt[t&l])>a&&0!=--i);return o<=Lt?o:Lt}function ft(e){return e.total_in=e.total_out=0,e.msg=null,te.pending=0,te.pending_out=0,pt=X,mt=x,ee.dyn_tree=Wt,ee.stat_desc=n.static_l_desc,ne.dyn_tree=$t,ne.stat_desc=n.static_d_desc,ie.dyn_tree=Ut,ie.stat_desc=n.static_bl_desc,Kt=0,Zt=0,Jt=8,t(),function(){var t;for(_t=2*vt,Tt[At-1]=0,t=0;t<At-1;t++)Tt[t]=0;Ft=F[zt].max_lazy,jt=F[zt].good_length,Ht=F[zt].nice_length,Dt=F[zt].max_chain,qt=0,Et=0,Lt=0,Ot=Nt=K-1,It=0,kt=0}(),S}var dt,pt,gt,mt,vt,yt,bt,wt,_t,xt,Tt,kt,At,St,Ct,Pt,Et,Ot,Rt,It,qt,Mt,Lt,Nt,Dt,Ft,zt,Bt,jt,Ht,Wt,$t,Ut,Xt,Yt,Vt,Gt,Qt,Jt,Kt,Zt,te=this,ee=new e,ne=new e,ie=new e;te.depth=[],te.bl_count=[],te.heap=[],Wt=[],$t=[],Ut=[],te.pqdownheap=function(t,e){for(var n=te.heap,i=n[e],o=e<<1;o<=te.heap_len&&(o<te.heap_len&&r(t,n[o+1],n[o],te.depth)&&o++,!r(t,i,n[o],te.depth));)n[e]=n[o],e=o,o<<=1;n[e]=i},te.deflateInit=function(t,e,n,i,r,o){return i||(i=V),r||(r=M),o||(o=_),t.msg=null,e==y&&(e=6),r<1||r>q||i!=V||n<9||n>15||e<0||e>9||o<0||o>w?E:(t.dstate=te,bt=(vt=1<<(yt=n))-1,Ct=(At=1<<(St=r+7))-1,Pt=Math.floor((St+K-1)/K),wt=new Uint8Array(2*vt),xt=[],Tt=[],Yt=1<<r+6,te.pending_buf=new Uint8Array(4*Yt),gt=4*Yt,Gt=Math.floor(Yt/2),Xt=3*Yt,zt=e,Bt=o,ft(t))},te.deflateEnd=function(){return pt!=U&&pt!=X&&pt!=Y?E:(te.pending_buf=null,Tt=null,xt=null,wt=null,te.dstate=null,pt==X?O:S)},te.deflateParams=function(t,e,n){var i=S;return e==y&&(e=6),e<0||e>9||n<0||n>w?E:(F[zt].func!=F[e].func&&0!==t.total_in&&(i=t.deflate(T)),zt!=e&&(Ft=F[zt=e].max_lazy,jt=F[zt].good_length,Ht=F[zt].nice_length,Dt=F[zt].max_chain),Bt=n,i)},te.deflateSetDictionary=function(t,e,n){var i,r=n,o=0;if(!e||pt!=U)return E;if(r<K)return S;for(r>vt-tt&&(o=n-(r=vt-tt)),wt.set(e.subarray(o,o+r),0),qt=r,Et=r,kt=((kt=255&wt[0])<<Pt^255&wt[1])&Ct,i=0;i<=r-K;i++)kt=(kt<<Pt^255&wt[i+(K-1)])&Ct,xt[i&bt]=Tt[kt],Tt[kt]=i;return S},te.deflate=function(t,e){var n,i,r,o,s;if(e>A||e<0)return E;if(!t.next_out||!t.next_in&&0!==t.avail_in||pt==Y&&e!=A)return t.msg=z[P-E],E;if(0===t.avail_out)return t.msg=z[P-R],R;if(dt=t,o=mt,mt=e,pt==U&&(i=V+(yt-8<<4)<<8,(r=(zt-1&255)>>1)>3&&(r=3),i|=r<<6,0!==qt&&(i|=$),pt=X,function(t){a(t>>8&255),a(255&t)}(i+=31-i%31)),0!==te.pending){if(dt.flush_pending(),0===dt.avail_out)return mt=-1,S}else if(0===dt.avail_in&&e<=o&&e!=A)return dt.msg=z[P-R],R;if(pt==Y&&0!==dt.avail_in)return t.msg=z[P-R],R;if(0!==dt.avail_in||0!==Lt||e!=x&&pt!=Y){switch(s=-1,F[zt].func){case L:s=function(t){var e,n=65535;for(n>gt-5&&(n=gt-5);;){if(Lt<=1){if(ut(),0===Lt&&t==x)return B;if(0===Lt)break}if(qt+=Lt,Lt=0,e=Et+n,(0===qt||qt>=e)&&(Lt=qt-e,qt=e,ct(!1),0===dt.avail_out))return B;if(qt-Et>=vt-tt&&(ct(!1),0===dt.avail_out))return B}return ct(t==A),0===dt.avail_out?t==A?H:B:t==A?W:j}(e);break;case N:s=function(t){for(var e,n=0;;){if(Lt<tt){if(ut(),Lt<tt&&t==x)return B;if(0===Lt)break}if(Lt>=K&&(kt=(kt<<Pt^255&wt[qt+(K-1)])&Ct,n=65535&Tt[kt],xt[qt&bt]=Tt[kt],Tt[kt]=qt),0!==n&&(qt-n&65535)<=vt-tt&&Bt!=w&&(Ot=ht(n)),Ot>=K)if(e=ot(qt-Mt,Ot-K),Lt-=Ot,Ot<=Ft&&Lt>=K){Ot--;do{kt=(kt<<Pt^255&wt[++qt+(K-1)])&Ct,n=65535&Tt[kt],xt[qt&bt]=Tt[kt],Tt[kt]=qt}while(0!=--Ot);qt++}else qt+=Ot,Ot=0,kt=((kt=255&wt[qt])<<Pt^255&wt[qt+1])&Ct;else e=ot(0,255&wt[qt]),Lt--,qt++;if(e&&(ct(!1),0===dt.avail_out))return B}return ct(t==A),0===dt.avail_out?t==A?H:B:t==A?W:j}(e);break;case D:s=function(t){for(var e,n,i=0;;){if(Lt<tt){if(ut(),Lt<tt&&t==x)return B;if(0===Lt)break}if(Lt>=K&&(kt=(kt<<Pt^255&wt[qt+(K-1)])&Ct,i=65535&Tt[kt],xt[qt&bt]=Tt[kt],Tt[kt]=qt),Nt=Ot,Rt=Mt,Ot=K-1,0!==i&&Nt<Ft&&(qt-i&65535)<=vt-tt&&(Bt!=w&&(Ot=ht(i)),Ot<=5&&(Bt==b||Ot==K&&qt-Mt>4096)&&(Ot=K-1)),Nt>=K&&Ot<=Nt){n=qt+Lt-K,e=ot(qt-1-Rt,Nt-K),Lt-=Nt-1,Nt-=2;do{++qt<=n&&(kt=(kt<<Pt^255&wt[qt+(K-1)])&Ct,i=65535&Tt[kt],xt[qt&bt]=Tt[kt],Tt[kt]=qt)}while(0!=--Nt);if(It=0,Ot=K-1,qt++,e&&(ct(!1),0===dt.avail_out))return B}else if(0!==It){if((e=ot(0,255&wt[qt-1]))&&ct(!1),qt++,Lt--,0===dt.avail_out)return B}else It=1,qt++,Lt--}return 0!==It&&(e=ot(0,255&wt[qt-1]),It=0),ct(t==A),0===dt.avail_out?t==A?H:B:t==A?W:j}(e)}if(s!=H&&s!=W||(pt=Y),s==B||s==H)return 0===dt.avail_out&&(mt=-1),S;if(s==j){if(e==T)rt();else if(lt(0,0,!1),e==k)for(n=0;n<At;n++)Tt[n]=0;if(dt.flush_pending(),0===dt.avail_out)return mt=-1,S}}return e!=A?S:C}}function a(){var t=this;t.next_in_index=0,t.next_out_index=0,t.avail_in=0,t.total_in=0,t.avail_out=0,t.total_out=0}var s=15,l=30,c=19,u=256,h=u+1+29,f=2*h+1,d=256,p=16,g=17,m=18,v=16,y=-1,b=1,w=2,_=0,x=0,T=1,k=3,A=4,S=0,C=1,P=2,E=-2,O=-3,R=-5,I=[0,1,2,3,4,4,5,5,6,6,6,6,7,7,7,7,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,0,0,16,17,18,18,19,19,20,20,20,20,21,21,21,21,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29];e._length_code=[0,1,2,3,4,5,6,7,8,8,9,9,10,10,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,16,16,16,16,17,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28],e.base_length=[0,1,2,3,4,5,6,7,8,10,12,14,16,20,24,28,32,40,48,56,64,80,96,112,128,160,192,224,0],e.base_dist=[0,1,2,3,4,6,8,12,16,24,32,48,64,96,128,192,256,384,512,768,1024,1536,2048,3072,4096,6144,8192,12288,16384,24576],e.d_code=function(t){return t<256?I[t]:I[256+(t>>>7)]},e.extra_lbits=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],e.extra_dbits=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],e.extra_blbits=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],e.bl_order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],n.static_ltree=[12,8,140,8,76,8,204,8,44,8,172,8,108,8,236,8,28,8,156,8,92,8,220,8,60,8,188,8,124,8,252,8,2,8,130,8,66,8,194,8,34,8,162,8,98,8,226,8,18,8,146,8,82,8,210,8,50,8,178,8,114,8,242,8,10,8,138,8,74,8,202,8,42,8,170,8,106,8,234,8,26,8,154,8,90,8,218,8,58,8,186,8,122,8,250,8,6,8,134,8,70,8,198,8,38,8,166,8,102,8,230,8,22,8,150,8,86,8,214,8,54,8,182,8,118,8,246,8,14,8,142,8,78,8,206,8,46,8,174,8,110,8,238,8,30,8,158,8,94,8,222,8,62,8,190,8,126,8,254,8,1,8,129,8,65,8,193,8,33,8,161,8,97,8,225,8,17,8,145,8,81,8,209,8,49,8,177,8,113,8,241,8,9,8,137,8,73,8,201,8,41,8,169,8,105,8,233,8,25,8,153,8,89,8,217,8,57,8,185,8,121,8,249,8,5,8,133,8,69,8,197,8,37,8,165,8,101,8,229,8,21,8,149,8,85,8,213,8,53,8,181,8,117,8,245,8,13,8,141,8,77,8,205,8,45,8,173,8,109,8,237,8,29,8,157,8,93,8,221,8,61,8,189,8,125,8,253,8,19,9,275,9,147,9,403,9,83,9,339,9,211,9,467,9,51,9,307,9,179,9,435,9,115,9,371,9,243,9,499,9,11,9,267,9,139,9,395,9,75,9,331,9,203,9,459,9,43,9,299,9,171,9,427,9,107,9,363,9,235,9,491,9,27,9,283,9,155,9,411,9,91,9,347,9,219,9,475,9,59,9,315,9,187,9,443,9,123,9,379,9,251,9,507,9,7,9,263,9,135,9,391,9,71,9,327,9,199,9,455,9,39,9,295,9,167,9,423,9,103,9,359,9,231,9,487,9,23,9,279,9,151,9,407,9,87,9,343,9,215,9,471,9,55,9,311,9,183,9,439,9,119,9,375,9,247,9,503,9,15,9,271,9,143,9,399,9,79,9,335,9,207,9,463,9,47,9,303,9,175,9,431,9,111,9,367,9,239,9,495,9,31,9,287,9,159,9,415,9,95,9,351,9,223,9,479,9,63,9,319,9,191,9,447,9,127,9,383,9,255,9,511,9,0,7,64,7,32,7,96,7,16,7,80,7,48,7,112,7,8,7,72,7,40,7,104,7,24,7,88,7,56,7,120,7,4,7,68,7,36,7,100,7,20,7,84,7,52,7,116,7,3,8,131,8,67,8,195,8,35,8,163,8,99,8,227,8],n.static_dtree=[0,5,16,5,8,5,24,5,4,5,20,5,12,5,28,5,2,5,18,5,10,5,26,5,6,5,22,5,14,5,30,5,1,5,17,5,9,5,25,5,5,5,21,5,13,5,29,5,3,5,19,5,11,5,27,5,7,5,23,5],n.static_l_desc=new n(n.static_ltree,e.extra_lbits,u+1,h,s),n.static_d_desc=new n(n.static_dtree,e.extra_dbits,0,l,s),n.static_bl_desc=new n(null,e.extra_blbits,0,c,7);var q=9,M=8,L=0,N=1,D=2,F=[new i(0,0,0,0,L),new i(4,4,8,4,N),new i(4,5,16,8,N),new i(4,6,32,32,N),new i(4,4,16,16,D),new i(8,16,32,32,D),new i(8,16,128,128,D),new i(8,32,128,256,D),new i(32,128,258,1024,D),new i(32,258,258,4096,D)],z=["need dictionary","stream end","","","stream error","data error","","buffer error","",""],B=0,j=1,H=2,W=3,$=32,U=42,X=113,Y=666,V=8,G=0,Q=1,J=2,K=3,Z=258,tt=Z+K+1;return a.prototype={deflateInit:function(t,e){var n=this;return n.dstate=new o,e||(e=s),n.dstate.deflateInit(n,t,e)},deflate:function(t){var e=this;return e.dstate?e.dstate.deflate(e,t):E},deflateEnd:function(){var t=this;if(!t.dstate)return E;var e=t.dstate.deflateEnd();return t.dstate=null,e},deflateParams:function(t,e){var n=this;return n.dstate?n.dstate.deflateParams(n,t,e):E},deflateSetDictionary:function(t,e){var n=this;return n.dstate?n.dstate.deflateSetDictionary(n,t,e):E},read_buf:function(t,e,n){var i=this,r=i.avail_in;return r>n&&(r=n),0===r?0:(i.avail_in-=r,t.set(i.next_in.subarray(i.next_in_index,i.next_in_index+r),e),i.next_in_index+=r,i.total_in+=r,r)},flush_pending:function(){var t=this,e=t.dstate.pending;e>t.avail_out&&(e=t.avail_out),0!==e&&(t.next_out.set(t.dstate.pending_buf.subarray(t.dstate.pending_out,t.dstate.pending_out+e),t.next_out_index),t.next_out_index+=e,t.dstate.pending_out+=e,t.total_out+=e,t.avail_out-=e,t.dstate.pending-=e,0===t.dstate.pending&&(t.dstate.pending_out=0))}},function(t){var e=new a,n=x,i=new Uint8Array(512);void 0===t&&(t=y),e.deflateInit(t),e.next_out=i,this.append=function(t,r){var o,a=[],s=0,l=0,c=0;if(t.length){e.next_in_index=0,e.next_in=t,e.avail_in=t.length;do{if(e.next_out_index=0,e.avail_out=512,e.deflate(n)!=S)throw"deflating: "+e.msg;e.next_out_index&&(512==e.next_out_index?a.push(new Uint8Array(i)):a.push(new Uint8Array(i.subarray(0,e.next_out_index)))),c+=e.next_out_index,r&&e.next_in_index>0&&e.next_in_index!=s&&(r(e.next_in_index),s=e.next_in_index)}while(e.avail_in>0||0===e.avail_out);return o=new Uint8Array(c),a.forEach((function(t){o.set(t,l),l+=t.length})),o}},this.flush=function(){var t,n,r=[],o=0,a=0;do{if(e.next_out_index=0,e.avail_out=512,(t=e.deflate(A))!=C&&t!=S)throw"deflating: "+e.msg;512-e.avail_out>0&&r.push(new Uint8Array(i.subarray(0,e.next_out_index))),a+=e.next_out_index}while(e.avail_in>0||0===e.avail_out);return e.deflateEnd(),n=new Uint8Array(a),r.forEach((function(t){n.set(t,o),o+=t.length})),n}}}();t.exports=function t(e,n,i){function r(a,s){if(!n[a]){if(!e[a]){if(o)return o(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[a]={exports:{}};e[a][0].call(c.exports,(function(t){return r(e[a][1][t]||t)}),c,c.exports,t,e,n,i)}return n[a].exports}for(var o=!1,a=0;a<i.length;a++)r(i[a]);return r}({1:[function(t,e,n){(function(t){!function(i){function r(t){throw RangeError(R[t])}function o(t,e){for(var n=t.length;n--;)t[n]=e(t[n]);return t}function a(t,e){return o(t.split(O),e).join(".")}function s(t){for(var e,n,i=[],r=0,o=t.length;r<o;)(e=t.charCodeAt(r++))>=55296&&e<=56319&&r<o?56320==(64512&(n=t.charCodeAt(r++)))?i.push(((1023&e)<<10)+(1023&n)+65536):(i.push(e),r--):i.push(e);return i}function l(t){return o(t,(function(t){var e="";return t>65535&&(e+=M((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+M(t)})).join("")}function c(t){return t-48<10?t-22:t-65<26?t-65:t-97<26?t-97:w}function u(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function h(t,e,n){var i=0;for(t=n?q(t/k):t>>1,t+=q(t/e);t>I*x>>1;i+=w)t=q(t/I);return q(i+(I+1)*t/(t+T))}function f(t){var e,n,i,o,a,s,u,f,d,p,g=[],m=t.length,v=0,y=S,T=A;for((n=t.lastIndexOf(C))<0&&(n=0),i=0;i<n;++i)t.charCodeAt(i)>=128&&r("not-basic"),g.push(t.charCodeAt(i));for(o=n>0?n+1:0;o<m;){for(a=v,s=1,u=w;o>=m&&r("invalid-input"),((f=c(t.charCodeAt(o++)))>=w||f>q((b-v)/s))&&r("overflow"),v+=f*s,!(f<(d=u<=T?_:u>=T+x?x:u-T));u+=w)s>q(b/(p=w-d))&&r("overflow"),s*=p;T=h(v-a,e=g.length+1,0==a),q(v/e)>b-y&&r("overflow"),y+=q(v/e),v%=e,g.splice(v++,0,y)}return l(g)}function d(t){var e,n,i,o,a,l,c,f,d,p,g,m,v,y,T,k=[];for(m=(t=s(t)).length,e=S,n=0,a=A,l=0;l<m;++l)(g=t[l])<128&&k.push(M(g));for(i=o=k.length,o&&k.push(C);i<m;){for(c=b,l=0;l<m;++l)(g=t[l])>=e&&g<c&&(c=g);for(c-e>q((b-n)/(v=i+1))&&r("overflow"),n+=(c-e)*v,e=c,l=0;l<m;++l)if((g=t[l])<e&&++n>b&&r("overflow"),g==e){for(f=n,d=w;!(f<(p=d<=a?_:d>=a+x?x:d-a));d+=w)T=f-p,y=w-p,k.push(M(u(p+T%y,0))),f=q(T/y);k.push(M(u(f,0))),a=h(n,v,i==o),n=0,++i}++n,++e}return k.join("")}var p="object"==typeof n&&n,g="object"==typeof e&&e&&e.exports==p&&e,m="object"==typeof t&&t;m.global!==m&&m.window!==m||(i=m);var v,y,b=2147483647,w=36,_=1,x=26,T=38,k=700,A=72,S=128,C="-",P=/^xn--/,E=/[^ -~]/,O=/\x2E|\u3002|\uFF0E|\uFF61/g,R={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},I=w-_,q=Math.floor,M=String.fromCharCode;if(v={version:"1.2.4",ucs2:{decode:s,encode:l},decode:f,encode:d,toASCII:function(t){return a(t,(function(t){return E.test(t)?"xn--"+d(t):t}))},toUnicode:function(t){return a(t,(function(t){return P.test(t)?f(t.slice(4).toLowerCase()):t}))}},p&&!p.nodeType)if(g)g.exports=v;else for(y in v)v.hasOwnProperty(y)&&(p[y]=v[y]);else i.punycode=v}(this)}).call(this,void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(t,e,n){function i(t,e){for(var n=3===t.nodeType?document.createTextNode(t.nodeValue):t.cloneNode(!1),o=t.firstChild;o;)!0!==e&&1===o.nodeType&&"SCRIPT"===o.nodeName||n.appendChild(i(o,e)),o=o.nextSibling;return 1===t.nodeType&&(n._scrollTop=t.scrollTop,n._scrollLeft=t.scrollLeft,"CANVAS"===t.nodeName?function(t,e){try{e&&(e.width=t.width,e.height=t.height,e.getContext("2d").putImageData(t.getContext("2d").getImageData(0,0,t.width,t.height),0,0))}catch(e){r("Unable to copy canvas content from",t,e)}}(t,n):"TEXTAREA"!==t.nodeName&&"SELECT"!==t.nodeName||(n.value=t.value)),n}var r=t("./log");e.exports=function(t,e,n,r,o,a,s){var l=i(t.documentElement,o.javascriptEnabled),c=e.createElement("iframe");return c.className="html2canvas-container",c.style.visibility="hidden",c.style.position="fixed",c.style.left="-10000px",c.style.top="0px",c.style.border="0",c.width=n,c.height=r,c.scrolling="no",e.body.appendChild(c),new Promise((function(e){var n=c.contentWindow.document;c.contentWindow.onload=c.onload=function(){var t=setInterval((function(){n.body.childNodes.length>0&&(function t(e){if(1===e.nodeType){e.scrollTop=e._scrollTop,e.scrollLeft=e._scrollLeft;for(var n=e.firstChild;n;)t(n),n=n.nextSibling}}(n.documentElement),clearInterval(t),"view"===o.type&&(c.contentWindow.scrollTo(a,s),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||c.contentWindow.scrollY===s&&c.contentWindow.scrollX===a||(n.documentElement.style.top=-s+"px",n.documentElement.style.left=-a+"px",n.documentElement.style.position="absolute")),e(c))}),50)},n.open(),n.write("<!DOCTYPE html><html></html>"),function(t,e,n){!t.defaultView||e===t.defaultView.pageXOffset&&n===t.defaultView.pageYOffset||t.defaultView.scrollTo(e,n)}(t,a,s),n.replaceChild(n.adoptNode(l),n.documentElement),n.close()}))}},{"./log":13}],3:[function(t,e,n){function i(t){this.r=0,this.g=0,this.b=0,this.a=null,this.fromArray(t)||this.namedColor(t)||this.rgb(t)||this.rgba(t)||this.hex6(t)||this.hex3(t)}i.prototype.darken=function(t){var e=1-t;return new i([Math.round(this.r*e),Math.round(this.g*e),Math.round(this.b*e),this.a])},i.prototype.isTransparent=function(){return 0===this.a},i.prototype.isBlack=function(){return 0===this.r&&0===this.g&&0===this.b},i.prototype.fromArray=function(t){return Array.isArray(t)&&(this.r=Math.min(t[0],255),this.g=Math.min(t[1],255),this.b=Math.min(t[2],255),t.length>3&&(this.a=t[3])),Array.isArray(t)};var r=/^#([a-f0-9]{3})$/i;i.prototype.hex3=function(t){var e;return null!==(e=t.match(r))&&(this.r=parseInt(e[1][0]+e[1][0],16),this.g=parseInt(e[1][1]+e[1][1],16),this.b=parseInt(e[1][2]+e[1][2],16)),null!==e};var o=/^#([a-f0-9]{6})$/i;i.prototype.hex6=function(t){var e=null;return null!==(e=t.match(o))&&(this.r=parseInt(e[1].substring(0,2),16),this.g=parseInt(e[1].substring(2,4),16),this.b=parseInt(e[1].substring(4,6),16)),null!==e};var a=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/;i.prototype.rgb=function(t){var e;return null!==(e=t.match(a))&&(this.r=Number(e[1]),this.g=Number(e[2]),this.b=Number(e[3])),null!==e};var s=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d?\.?\d+)\s*\)$/;i.prototype.rgba=function(t){var e;return null!==(e=t.match(s))&&(this.r=Number(e[1]),this.g=Number(e[2]),this.b=Number(e[3]),this.a=Number(e[4])),null!==e},i.prototype.toString=function(){return null!==this.a&&1!==this.a?"rgba("+[this.r,this.g,this.b,this.a].join(",")+")":"rgb("+[this.r,this.g,this.b].join(",")+")"},i.prototype.namedColor=function(t){t=t.toLowerCase();var e=l[t];if(e)this.r=e[0],this.g=e[1],this.b=e[2];else if("transparent"===t)return this.r=this.g=this.b=this.a=0,!0;return!!e},i.prototype.isColor=!0;var l={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};e.exports=i},{}],4:[function(t,e,n){function i(t,e){var n=v++;if((e=e||{}).logging&&(h.options.logging=!0,h.options.start=Date.now()),e.async=void 0===e.async||e.async,e.allowTaint=void 0!==e.allowTaint&&e.allowTaint,e.removeContainer=void 0===e.removeContainer||e.removeContainer,e.javascriptEnabled=void 0!==e.javascriptEnabled&&e.javascriptEnabled,e.imageTimeout=void 0===e.imageTimeout?1e4:e.imageTimeout,e.renderer="function"==typeof e.renderer?e.renderer:s,e.strict=!!e.strict,"string"==typeof t){if("string"!=typeof e.proxy)return Promise.reject("Proxy must be used when rendering url");var i=null!=e.width?e.width:window.innerWidth,o=null!=e.height?e.height:window.innerHeight;return p(function(t){var e=document.createElement("a");return e.href=t,e.href=e.href,e}(t),e.proxy,document,i,o,e).then((function(t){return r(t.contentWindow.document.documentElement,t,e,i,o)}))}var a=(void 0===t?[document.documentElement]:t.length?t:[t])[0];return a.setAttribute(m+n,n),function(t,e,n,i,o){return d(t,t,n,i,e,t.defaultView.pageXOffset,t.defaultView.pageYOffset).then((function(a){h("Document cloned");var s=m+o,l="["+s+"='"+o+"']";t.querySelector(l).removeAttribute(s);var c=a.contentWindow,u=c.document.querySelector(l);return("function"==typeof e.onclone?Promise.resolve(e.onclone(c.document)):Promise.resolve(!0)).then((function(){return r(u,a,e,n,i)}))}))}(a.ownerDocument,e,a.ownerDocument.defaultView.innerWidth,a.ownerDocument.defaultView.innerHeight,n).then((function(t){return"function"==typeof e.onrendered&&(h("options.onrendered is deprecated, html2canvas returns a Promise containing the canvas"),e.onrendered(t)),t}))}function r(t,e,n,i,r){var s=e.contentWindow,u=new a(s.document),f=new l(n,u),d=g(t),p="view"===n.type?i:function(t){return Math.max(Math.max(t.body.scrollWidth,t.documentElement.scrollWidth),Math.max(t.body.offsetWidth,t.documentElement.offsetWidth),Math.max(t.body.clientWidth,t.documentElement.clientWidth))}(s.document),m="view"===n.type?r:function(t){return Math.max(Math.max(t.body.scrollHeight,t.documentElement.scrollHeight),Math.max(t.body.offsetHeight,t.documentElement.offsetHeight),Math.max(t.body.clientHeight,t.documentElement.clientHeight))}(s.document),v=new n.renderer(p,m,f,n,document);return new c(t,v,u,f,n).ready.then((function(){var i;return h("Finished rendering"),i="view"===n.type?o(v.canvas,{width:v.canvas.width,height:v.canvas.height,top:0,left:0,x:0,y:0}):t===s.document.body||t===s.document.documentElement||null!=n.canvas?v.canvas:o(v.canvas,{width:null!=n.width?n.width:d.width,height:null!=n.height?n.height:d.height,top:d.top,left:d.left,x:0,y:0}),function(t,e){e.removeContainer&&(t.parentNode.removeChild(t),h("Cleaned up container"))}(e,n),i}))}function o(t,e){var n=document.createElement("canvas"),i=Math.min(t.width-1,Math.max(0,e.left)),r=Math.min(t.width,Math.max(1,e.left+e.width)),o=Math.min(t.height-1,Math.max(0,e.top)),a=Math.min(t.height,Math.max(1,e.top+e.height));n.width=e.width,n.height=e.height;var s=r-i,l=a-o;return h("Cropping canvas at:","left:",e.left,"top:",e.top,"width:",s,"height:",l),h("Resulting crop with width",e.width,"and height",e.height,"with x",i,"and y",o),n.getContext("2d").drawImage(t,i,o,s,l,e.x,e.y,s,l),n}var a=t("./support"),s=t("./renderers/canvas"),l=t("./imageloader"),c=t("./nodeparser"),u=t("./nodecontainer"),h=t("./log"),f=t("./utils"),d=t("./clone"),p=t("./proxy").loadUrlDocument,g=f.getBounds,m="data-html2canvas-node",v=0;i.CanvasRenderer=s,i.NodeContainer=u,i.log=h,i.utils=f;var y="undefined"==typeof document||"function"!=typeof Object.create||"function"!=typeof document.createElement("canvas").getContext?function(){return Promise.reject("No canvas support")}:i;e.exports=y},{"./clone":2,"./imageloader":11,"./log":13,"./nodecontainer":14,"./nodeparser":15,"./proxy":16,"./renderers/canvas":20,"./support":22,"./utils":26}],5:[function(t,e,n){var i=t("./log"),r=t("./utils").smallImage;e.exports=function t(e){if(this.src=e,i("DummyImageContainer for",e),!this.promise||!this.image){i("Initiating DummyImageContainer"),t.prototype.image=new Image;var n=this.image;t.prototype.promise=new Promise((function(t,e){n.onload=t,n.onerror=e,n.src=r(),!0===n.complete&&t(n)}))}}},{"./log":13,"./utils":26}],6:[function(t,e,n){var i=t("./utils").smallImage;e.exports=function(t,e){var n,r,o=document.createElement("div"),a=document.createElement("img"),s=document.createElement("span");o.style.visibility="hidden",o.style.fontFamily=t,o.style.fontSize=e,o.style.margin=0,o.style.padding=0,document.body.appendChild(o),a.src=i(),a.width=1,a.height=1,a.style.margin=0,a.style.padding=0,a.style.verticalAlign="baseline",s.style.fontFamily=t,s.style.fontSize=e,s.style.margin=0,s.style.padding=0,s.appendChild(document.createTextNode("Hidden Text")),o.appendChild(s),o.appendChild(a),n=a.offsetTop-s.offsetTop+1,o.removeChild(s),o.appendChild(document.createTextNode("Hidden Text")),o.style.lineHeight="normal",a.style.verticalAlign="super",r=a.offsetTop-o.offsetTop+1,document.body.removeChild(o),this.baseline=n,this.lineWidth=1,this.middle=r}},{"./utils":26}],7:[function(t,e,n){function i(){this.data={}}var r=t("./font");i.prototype.getMetrics=function(t,e){return void 0===this.data[t+"-"+e]&&(this.data[t+"-"+e]=new r(t,e)),this.data[t+"-"+e]},e.exports=i},{"./font":6}],8:[function(t,e,n){function i(e,n,i){this.image=null,this.src=e;var o=this,a=r(e);this.promise=(n?new Promise((function(t){"about:blank"===e.contentWindow.document.URL||null==e.contentWindow.document.documentElement?e.contentWindow.onload=e.onload=function(){t(e)}:t(e)})):this.proxyLoad(i.proxy,a,i)).then((function(e){return t("./core")(e.contentWindow.document.documentElement,{type:"view",width:e.width,height:e.height,proxy:i.proxy,javascriptEnabled:i.javascriptEnabled,removeContainer:i.removeContainer,allowTaint:i.allowTaint,imageTimeout:i.imageTimeout/2})})).then((function(t){return o.image=t}))}var r=t("./utils").getBounds,o=t("./proxy").loadUrlDocument;i.prototype.proxyLoad=function(t,e,n){var i=this.src;return o(i.src,t,i.ownerDocument,e.width,e.height,n)},e.exports=i},{"./core":4,"./proxy":16,"./utils":26}],9:[function(t,e,n){function i(t){this.src=t.value,this.colorStops=[],this.type=null,this.x0=.5,this.y0=.5,this.x1=.5,this.y1=.5,this.promise=Promise.resolve(!0)}i.TYPES={LINEAR:1,RADIAL:2},i.REGEXP_COLORSTOP=/^\s*(rgba?\(\s*\d{1,3},\s*\d{1,3},\s*\d{1,3}(?:,\s*[0-9\.]+)?\s*\)|[a-z]{3,20}|#[a-f0-9]{3,6})(?:\s+(\d{1,3}(?:\.\d+)?)(%|px)?)?(?:\s|$)/i,e.exports=i},{}],10:[function(t,e,n){e.exports=function(t,e){this.src=t,this.image=new Image;var n=this;this.tainted=null,this.promise=new Promise((function(i,r){n.image.onload=i,n.image.onerror=r,e&&(n.image.crossOrigin="anonymous"),n.image.src=t,!0===n.image.complete&&i(n.image)}))}},{}],11:[function(t,e,n){function i(t,e){this.link=null,this.options=t,this.support=e,this.origin=this.getOrigin(window.location.href)}var r=t("./log"),o=t("./imagecontainer"),a=t("./dummyimagecontainer"),s=t("./proxyimagecontainer"),l=t("./framecontainer"),c=t("./svgcontainer"),u=t("./svgnodecontainer"),h=t("./lineargradientcontainer"),f=t("./webkitgradientcontainer"),d=t("./utils").bind;i.prototype.findImages=function(t){var e=[];return t.reduce((function(t,e){switch(e.node.nodeName){case"IMG":return t.concat([{args:[e.node.src],method:"url"}]);case"svg":case"IFRAME":return t.concat([{args:[e.node],method:e.node.nodeName}])}return t}),[]).forEach(this.addImage(e,this.loadImage),this),e},i.prototype.findBackgroundImage=function(t,e){return e.parseBackgroundImages().filter(this.hasImageBackground).forEach(this.addImage(t,this.loadImage),this),t},i.prototype.addImage=function(t,e){return function(n){n.args.forEach((function(i){this.imageExists(t,i)||(t.splice(0,0,e.call(this,n)),r("Added image #"+t.length,"string"==typeof i?i.substring(0,100):i))}),this)}},i.prototype.hasImageBackground=function(t){return"none"!==t.method},i.prototype.loadImage=function(t){if("url"===t.method){var e=t.args[0];return!this.isSVG(e)||this.support.svg||this.options.allowTaint?e.match(/data:image\/.*;base64,/i)?new o(e.replace(/url\(['"]{0,}|['"]{0,}\)$/gi,""),!1):this.isSameOrigin(e)||!0===this.options.allowTaint||this.isSVG(e)?new o(e,!1):this.support.cors&&!this.options.allowTaint&&this.options.useCORS?new o(e,!0):this.options.proxy?new s(e,this.options.proxy):new a(e):new c(e)}return"linear-gradient"===t.method?new h(t):"gradient"===t.method?new f(t):"svg"===t.method?new u(t.args[0],this.support.svg):"IFRAME"===t.method?new l(t.args[0],this.isSameOrigin(t.args[0].src),this.options):new a(t)},i.prototype.isSVG=function(t){return"svg"===t.substring(t.length-3).toLowerCase()||c.prototype.isInline(t)},i.prototype.imageExists=function(t,e){return t.some((function(t){return t.src===e}))},i.prototype.isSameOrigin=function(t){return this.getOrigin(t)===this.origin},i.prototype.getOrigin=function(t){var e=this.link||(this.link=document.createElement("a"));return e.href=t,e.href=e.href,e.protocol+e.hostname+e.port},i.prototype.getPromise=function(t){return this.timeout(t,this.options.imageTimeout).catch((function(){return new a(t.src).promise.then((function(e){t.image=e}))}))},i.prototype.get=function(t){var e=null;return this.images.some((function(n){return(e=n).src===t}))?e:null},i.prototype.fetch=function(t){return this.images=t.reduce(d(this.findBackgroundImage,this),this.findImages(t)),this.images.forEach((function(t,e){t.promise.then((function(){r("Succesfully loaded image #"+(e+1),t)}),(function(n){r("Failed loading image #"+(e+1),t,n)}))})),this.ready=Promise.all(this.images.map(this.getPromise,this)),r("Finished searching images"),this},i.prototype.timeout=function(t,e){var n,i=Promise.race([t.promise,new Promise((function(i,o){n=setTimeout((function(){r("Timed out loading image",t),o(t)}),e)}))]).then((function(t){return clearTimeout(n),t}));return i.catch((function(){clearTimeout(n)})),i},e.exports=i},{"./dummyimagecontainer":5,"./framecontainer":8,"./imagecontainer":10,"./lineargradientcontainer":12,"./log":13,"./proxyimagecontainer":17,"./svgcontainer":23,"./svgnodecontainer":24,"./utils":26,"./webkitgradientcontainer":27}],12:[function(t,e,n){function i(t){r.apply(this,arguments),this.type=r.TYPES.LINEAR;var e=i.REGEXP_DIRECTION.test(t.args[0])||!r.REGEXP_COLORSTOP.test(t.args[0]);e?t.args[0].split(/\s+/).reverse().forEach((function(t,e){switch(t){case"left":this.x0=0,this.x1=1;break;case"top":this.y0=0,this.y1=1;break;case"right":this.x0=1,this.x1=0;break;case"bottom":this.y0=1,this.y1=0;break;case"to":var n=this.y0,i=this.x0;this.y0=this.y1,this.x0=this.x1,this.x1=i,this.y1=n;break;case"center":break;default:var r=.01*parseFloat(t,10);if(isNaN(r))break;0===e?(this.y0=r,this.y1=1-this.y0):(this.x0=r,this.x1=1-this.x0)}}),this):(this.y0=0,this.y1=1),this.colorStops=t.args.slice(e?1:0).map((function(t){var e=t.match(r.REGEXP_COLORSTOP),n=+e[2],i=0===n?"%":e[3];return{color:new o(e[1]),stop:"%"===i?n/100:null}})),null===this.colorStops[0].stop&&(this.colorStops[0].stop=0),null===this.colorStops[this.colorStops.length-1].stop&&(this.colorStops[this.colorStops.length-1].stop=1),this.colorStops.forEach((function(t,e){null===t.stop&&this.colorStops.slice(e).some((function(n,i){return null!==n.stop&&(t.stop=(n.stop-this.colorStops[e-1].stop)/(i+1)+this.colorStops[e-1].stop,!0)}),this)}),this)}var r=t("./gradientcontainer"),o=t("./color");i.prototype=Object.create(r.prototype),i.REGEXP_DIRECTION=/^\s*(?:to|left|right|top|bottom|center|\d{1,3}(?:\.\d+)?%?)(?:\s|$)/i,e.exports=i},{"./color":3,"./gradientcontainer":9}],13:[function(t,e,n){var i=function(){i.options.logging&&window.console&&window.console.log&&Function.prototype.bind.call(window.console.log,window.console).apply(window.console,[Date.now()-i.options.start+"ms","html2canvas:"].concat([].slice.call(arguments,0)))};i.options={logging:!1},e.exports=i},{}],14:[function(t,e,n){function i(t,e){this.node=t,this.parent=e,this.stack=null,this.bounds=null,this.borders=null,this.clip=[],this.backgroundClip=[],this.offsetBounds=null,this.visible=null,this.computedStyles=null,this.colors={},this.styles={},this.backgroundImages=null,this.transformData=null,this.transformMatrix=null,this.isPseudoElement=!1,this.opacity=null}function r(t){return-1!==t.toString().indexOf("%")}function o(t){return t.replace("px","")}function a(t){return parseFloat(t)}var s=t("./color"),l=t("./utils"),c=l.getBounds,u=l.parseBackgrounds,h=l.offsetBounds;i.prototype.cloneTo=function(t){t.visible=this.visible,t.borders=this.borders,t.bounds=this.bounds,t.clip=this.clip,t.backgroundClip=this.backgroundClip,t.computedStyles=this.computedStyles,t.styles=this.styles,t.backgroundImages=this.backgroundImages,t.opacity=this.opacity},i.prototype.getOpacity=function(){return null===this.opacity?this.opacity=this.cssFloat("opacity"):this.opacity},i.prototype.assignStack=function(t){this.stack=t,t.children.push(this)},i.prototype.isElementVisible=function(){return this.node.nodeType===Node.TEXT_NODE?this.parent.visible:"none"!==this.css("display")&&"hidden"!==this.css("visibility")&&!this.node.hasAttribute("data-html2canvas-ignore")&&("INPUT"!==this.node.nodeName||"hidden"!==this.node.getAttribute("type"))},i.prototype.css=function(t){return this.computedStyles||(this.computedStyles=this.isPseudoElement?this.parent.computedStyle(this.before?":before":":after"):this.computedStyle(null)),this.styles[t]||(this.styles[t]=this.computedStyles[t])},i.prototype.prefixedCss=function(t){var e=this.css(t);return void 0===e&&["webkit","moz","ms","o"].some((function(n){return void 0!==(e=this.css(n+t.substr(0,1).toUpperCase()+t.substr(1)))}),this),void 0===e?null:e},i.prototype.computedStyle=function(t){return this.node.ownerDocument.defaultView.getComputedStyle(this.node,t)},i.prototype.cssInt=function(t){var e=parseInt(this.css(t),10);return isNaN(e)?0:e},i.prototype.color=function(t){return this.colors[t]||(this.colors[t]=new s(this.css(t)))},i.prototype.cssFloat=function(t){var e=parseFloat(this.css(t));return isNaN(e)?0:e},i.prototype.fontWeight=function(){var t=this.css("fontWeight");switch(parseInt(t,10)){case 401:t="bold";break;case 400:t="normal"}return t},i.prototype.parseClip=function(){var t=this.css("clip").match(this.CLIP);return t?{top:parseInt(t[1],10),right:parseInt(t[2],10),bottom:parseInt(t[3],10),left:parseInt(t[4],10)}:null},i.prototype.parseBackgroundImages=function(){return this.backgroundImages||(this.backgroundImages=u(this.css("backgroundImage")))},i.prototype.cssList=function(t,e){var n=(this.css(t)||"").split(",");return 1===(n=(n=n[e||0]||n[0]||"auto").trim().split(" ")).length&&(n=[n[0],r(n[0])?"auto":n[0]]),n},i.prototype.parseBackgroundSize=function(t,e,n){var i,o,a=this.cssList("backgroundSize",n);if(r(a[0]))i=t.width*parseFloat(a[0])/100;else{if(/contain|cover/.test(a[0])){var s=t.width/t.height,l=e.width/e.height;return s<l^"contain"===a[0]?{width:t.height*l,height:t.height}:{width:t.width,height:t.width/l}}i=parseInt(a[0],10)}return o="auto"===a[0]&&"auto"===a[1]?e.height:"auto"===a[1]?i/e.width*e.height:r(a[1])?t.height*parseFloat(a[1])/100:parseInt(a[1],10),"auto"===a[0]&&(i=o/e.height*e.width),{width:i,height:o}},i.prototype.parseBackgroundPosition=function(t,e,n,i){var o,a,s=this.cssList("backgroundPosition",n);return o=r(s[0])?(t.width-(i||e).width)*(parseFloat(s[0])/100):parseInt(s[0],10),a="auto"===s[1]?o/e.width*e.height:r(s[1])?(t.height-(i||e).height)*parseFloat(s[1])/100:parseInt(s[1],10),"auto"===s[0]&&(o=a/e.height*e.width),{left:o,top:a}},i.prototype.parseBackgroundRepeat=function(t){return this.cssList("backgroundRepeat",t)[0]},i.prototype.parseTextShadows=function(){var t=this.css("textShadow"),e=[];if(t&&"none"!==t)for(var n=t.match(this.TEXT_SHADOW_PROPERTY),i=0;n&&i<n.length;i++){var r=n[i].match(this.TEXT_SHADOW_VALUES);e.push({color:new s(r[0]),offsetX:r[1]?parseFloat(r[1].replace("px","")):0,offsetY:r[2]?parseFloat(r[2].replace("px","")):0,blur:r[3]?r[3].replace("px",""):0})}return e},i.prototype.parseTransform=function(){if(!this.transformData)if(this.hasTransform()){var t=this.parseBounds(),e=this.prefixedCss("transformOrigin").split(" ").map(o).map(a);e[0]+=t.left,e[1]+=t.top,this.transformData={origin:e,matrix:this.parseTransformMatrix()}}else this.transformData={origin:[0,0],matrix:[1,0,0,1,0,0]};return this.transformData},i.prototype.parseTransformMatrix=function(){if(!this.transformMatrix){var t=this.prefixedCss("transform"),e=t?function(t){if(t&&"matrix"===t[1])return t[2].split(",").map((function(t){return parseFloat(t.trim())}));if(t&&"matrix3d"===t[1]){var e=t[2].split(",").map((function(t){return parseFloat(t.trim())}));return[e[0],e[1],e[4],e[5],e[12],e[13]]}}(t.match(this.MATRIX_PROPERTY)):null;this.transformMatrix=e||[1,0,0,1,0,0]}return this.transformMatrix},i.prototype.parseBounds=function(){return this.bounds||(this.bounds=this.hasTransform()?h(this.node):c(this.node))},i.prototype.hasTransform=function(){return"1,0,0,1,0,0"!==this.parseTransformMatrix().join(",")||this.parent&&this.parent.hasTransform()},i.prototype.getValue=function(){var t=this.node.value||"";return"SELECT"===this.node.tagName?t=function(t){var e=t.options[t.selectedIndex||0];return e&&e.text||""}(this.node):"password"===this.node.type&&(t=Array(t.length+1).join("•")),0===t.length?this.node.placeholder||"":t},i.prototype.MATRIX_PROPERTY=/(matrix|matrix3d)\((.+)\)/,i.prototype.TEXT_SHADOW_PROPERTY=/((rgba|rgb)\([^\)]+\)(\s-?\d+px){0,})/g,i.prototype.TEXT_SHADOW_VALUES=/(-?\d+px)|(#.+)|(rgb\(.+\))|(rgba\(.+\))/g,i.prototype.CLIP=/^rect\((\d+)px,? (\d+)px,? (\d+)px,? (\d+)px\)$/,e.exports=i},{"./color":3,"./utils":26}],15:[function(t,e,n){function i(t,e,n,i,r){R("Starting NodeParser"),this.renderer=e,this.options=r,this.range=null,this.support=n,this.renderQueue=[],this.stack=new F(!0,1,t.ownerDocument,null);var o=new q(t,null);if(r.background&&e.rectangle(0,0,e.width,e.height,new D(r.background)),t===t.ownerDocument.documentElement){var a=new q(o.color("backgroundColor").isTransparent()?t.ownerDocument.body:t.ownerDocument.documentElement,null);e.rectangle(0,0,e.width,e.height,a.color("backgroundColor"))}o.visibile=o.isElementVisible(),this.createPseudoHideStyles(t.ownerDocument),this.disableAnimations(t.ownerDocument),this.nodes=E([o].concat(this.getChildren(o)).filter((function(t){return t.visible=t.isElementVisible()})).map(this.getPseudoElements,this)),this.fontMetrics=new N,R("Fetched nodes, total:",this.nodes.length),R("Calculate overflow clips"),this.calculateOverflowClips(),R("Start fetching images"),this.images=i.fetch(this.nodes.filter(T)),this.ready=this.images.ready.then(B((function(){return R("Images loaded, starting parsing"),R("Creating stacking contexts"),this.createStackingContexts(),R("Sorting stacking contexts"),this.sortStackingContexts(this.stack),this.parse(this.stack),R("Render queue created with "+this.renderQueue.length+" items"),new Promise(B((function(t){r.async?"function"==typeof r.async?r.async.call(this,this.renderQueue,t):this.renderQueue.length>0?(this.renderIndex=0,this.asyncRenderer(this.renderQueue,t)):t():(this.renderQueue.forEach(this.paint,this),t())}),this))}),this))}function r(t){return t.parent&&t.parent.clip.length}function o(t){return t.replace(/(\-[a-z])/g,(function(t){return t.toUpperCase().replace("-","")}))}function a(){}function s(t,e,n,i){return t.map((function(r,o){if(r.width>0){var a=e.left,s=e.top,l=e.width,c=e.height-t[2].width;switch(o){case 0:c=t[0].width,r.args=h({c1:[a,s],c2:[a+l,s],c3:[a+l-t[1].width,s+c],c4:[a+t[3].width,s+c]},i[0],i[1],n.topLeftOuter,n.topLeftInner,n.topRightOuter,n.topRightInner);break;case 1:a=e.left+e.width-t[1].width,l=t[1].width,r.args=h({c1:[a+l,s],c2:[a+l,s+c+t[2].width],c3:[a,s+c],c4:[a,s+t[0].width]},i[1],i[2],n.topRightOuter,n.topRightInner,n.bottomRightOuter,n.bottomRightInner);break;case 2:s=s+e.height-t[2].width,c=t[2].width,r.args=h({c1:[a+l,s+c],c2:[a,s+c],c3:[a+t[3].width,s],c4:[a+l-t[3].width,s]},i[2],i[3],n.bottomRightOuter,n.bottomRightInner,n.bottomLeftOuter,n.bottomLeftInner);break;case 3:l=t[3].width,r.args=h({c1:[a,s+c+t[2].width],c2:[a,s],c3:[a+l,s+t[0].width],c4:[a+l,s+c]},i[3],i[0],n.bottomLeftOuter,n.bottomLeftInner,n.topLeftOuter,n.topLeftInner)}}return r}))}function l(t,e,n,i){var r=(Math.sqrt(2)-1)/3*4,o=n*r,a=i*r,s=t+n,l=e+i;return{topLeft:u({x:t,y:l},{x:t,y:l-a},{x:s-o,y:e},{x:s,y:e}),topRight:u({x:t,y:e},{x:t+o,y:e},{x:s,y:l-a},{x:s,y:l}),bottomRight:u({x:s,y:e},{x:s,y:e+a},{x:t+o,y:l},{x:t,y:l}),bottomLeft:u({x:s,y:l},{x:s-o,y:l},{x:t,y:e+a},{x:t,y:e})}}function c(t,e,n){var i=t.left,r=t.top,o=t.width,a=t.height,s=e[0][0]<o/2?e[0][0]:o/2,c=e[0][1]<a/2?e[0][1]:a/2,u=e[1][0]<o/2?e[1][0]:o/2,h=e[1][1]<a/2?e[1][1]:a/2,f=e[2][0]<o/2?e[2][0]:o/2,d=e[2][1]<a/2?e[2][1]:a/2,p=e[3][0]<o/2?e[3][0]:o/2,g=e[3][1]<a/2?e[3][1]:a/2,m=o-u,v=a-d,y=o-f,b=a-g;return{topLeftOuter:l(i,r,s,c).topLeft.subdivide(.5),topLeftInner:l(i+n[3].width,r+n[0].width,Math.max(0,s-n[3].width),Math.max(0,c-n[0].width)).topLeft.subdivide(.5),topRightOuter:l(i+m,r,u,h).topRight.subdivide(.5),topRightInner:l(i+Math.min(m,o+n[3].width),r+n[0].width,m>o+n[3].width?0:u-n[3].width,h-n[0].width).topRight.subdivide(.5),bottomRightOuter:l(i+y,r+v,f,d).bottomRight.subdivide(.5),bottomRightInner:l(i+Math.min(y,o-n[3].width),r+Math.min(v,a+n[0].width),Math.max(0,f-n[1].width),d-n[2].width).bottomRight.subdivide(.5),bottomLeftOuter:l(i,r+b,p,g).bottomLeft.subdivide(.5),bottomLeftInner:l(i+n[3].width,r+b,Math.max(0,p-n[3].width),g-n[2].width).bottomLeft.subdivide(.5)}}function u(t,e,n,i){var r=function(t,e,n){return{x:t.x+(e.x-t.x)*n,y:t.y+(e.y-t.y)*n}};return{start:t,startControl:e,endControl:n,end:i,subdivide:function(o){var a=r(t,e,o),s=r(e,n,o),l=r(n,i,o),c=r(a,s,o),h=r(s,l,o),f=r(c,h,o);return[u(t,a,c,f),u(f,h,l,i)]},curveTo:function(t){t.push(["bezierCurve",e.x,e.y,n.x,n.y,i.x,i.y])},curveToReversed:function(i){i.push(["bezierCurve",n.x,n.y,e.x,e.y,t.x,t.y])}}}function h(t,e,n,i,r,o,a){var s=[];return e[0]>0||e[1]>0?(s.push(["line",i[1].start.x,i[1].start.y]),i[1].curveTo(s)):s.push(["line",t.c1[0],t.c1[1]]),n[0]>0||n[1]>0?(s.push(["line",o[0].start.x,o[0].start.y]),o[0].curveTo(s),s.push(["line",a[0].end.x,a[0].end.y]),a[0].curveToReversed(s)):(s.push(["line",t.c2[0],t.c2[1]]),s.push(["line",t.c3[0],t.c3[1]])),e[0]>0||e[1]>0?(s.push(["line",r[1].end.x,r[1].end.y]),r[1].curveToReversed(s)):s.push(["line",t.c4[0],t.c4[1]]),s}function f(t,e,n,i,r,o,a){e[0]>0||e[1]>0?(t.push(["line",i[0].start.x,i[0].start.y]),i[0].curveTo(t),i[1].curveTo(t)):t.push(["line",o,a]),(n[0]>0||n[1]>0)&&t.push(["line",r[0].start.x,r[0].start.y])}function d(t){return t.cssInt("zIndex")<0}function p(t){return t.cssInt("zIndex")>0}function g(t){return 0===t.cssInt("zIndex")}function m(t){return-1!==["inline","inline-block","inline-table"].indexOf(t.css("display"))}function v(t){return t instanceof F}function y(t){return t.node.data.trim().length>0}function b(t){return t.nodeType===Node.TEXT_NODE||t.nodeType===Node.ELEMENT_NODE}function w(t){return"static"!==t.css("position")}function _(t){return"none"!==t.css("float")}function x(t){var e=this;return function(){return!t.apply(e,arguments)}}function T(t){return t.node.nodeType===Node.ELEMENT_NODE}function k(t){return!0===t.isPseudoElement}function A(t){return t.node.nodeType===Node.TEXT_NODE}function S(t){return parseInt(t,10)}function C(t){return t.width}function P(t){return t.node.nodeType!==Node.ELEMENT_NODE||-1===["SCRIPT","HEAD","TITLE","OBJECT","BR","OPTION"].indexOf(t.node.nodeName)}function E(t){return[].concat.apply([],t)}function O(t){return-1!==[32,13,10,9,45].indexOf(t)}var R=t("./log"),I=t("punycode"),q=t("./nodecontainer"),M=t("./textcontainer"),L=t("./pseudoelementcontainer"),N=t("./fontmetrics"),D=t("./color"),F=t("./stackingcontext"),z=t("./utils"),B=z.bind,j=z.getBounds,H=z.parseBackgrounds,W=z.offsetBounds;i.prototype.calculateOverflowClips=function(){this.nodes.forEach((function(t){if(T(t)){k(t)&&t.appendToDOM(),t.borders=this.parseBorders(t);var e="hidden"===t.css("overflow")?[t.borders.clip]:[],n=t.parseClip();n&&-1!==["absolute","fixed"].indexOf(t.css("position"))&&e.push([["rect",t.bounds.left+n.left,t.bounds.top+n.top,n.right-n.left,n.bottom-n.top]]),t.clip=r(t)?t.parent.clip.concat(e):e,t.backgroundClip="hidden"!==t.css("overflow")?t.clip.concat([t.borders.clip]):t.clip,k(t)&&t.cleanDOM()}else A(t)&&(t.clip=r(t)?t.parent.clip:[]);k(t)||(t.bounds=null)}),this)},i.prototype.asyncRenderer=function(t,e,n){n=n||Date.now(),this.paint(t[this.renderIndex++]),t.length===this.renderIndex?e():n+20>Date.now()?this.asyncRenderer(t,e,n):setTimeout(B((function(){this.asyncRenderer(t,e)}),this),0)},i.prototype.createPseudoHideStyles=function(t){this.createStyles(t,"."+L.prototype.PSEUDO_HIDE_ELEMENT_CLASS_BEFORE+':before { content: "" !important; display: none !important; }.'+L.prototype.PSEUDO_HIDE_ELEMENT_CLASS_AFTER+':after { content: "" !important; display: none !important; }')},i.prototype.disableAnimations=function(t){this.createStyles(t,"* { -webkit-animation: none !important; -moz-animation: none !important; -o-animation: none !important; animation: none !important; -webkit-transition: none !important; -moz-transition: none !important; -o-transition: none !important; transition: none !important;}")},i.prototype.createStyles=function(t,e){var n=t.createElement("style");n.innerHTML=e,t.body.appendChild(n)},i.prototype.getPseudoElements=function(t){var e=[[t]];if(t.node.nodeType===Node.ELEMENT_NODE){var n=this.getPseudoElement(t,":before"),i=this.getPseudoElement(t,":after");n&&e.push(n),i&&e.push(i)}return E(e)},i.prototype.getPseudoElement=function(t,e){var n=t.computedStyle(e);if(!n||!n.content||"none"===n.content||"-moz-alt-content"===n.content||"none"===n.display)return null;for(var i=function(t){var e=t.substr(0,1);return e===t.substr(t.length-1)&&e.match(/'|"/)?t.substr(1,t.length-2):t}(n.content),r="url"===i.substr(0,3),a=document.createElement(r?"img":"html2canvaspseudoelement"),s=new L(a,t,e),l=n.length-1;l>=0;l--){var c=o(n.item(l));a.style[c]=n[c]}if(a.className=L.prototype.PSEUDO_HIDE_ELEMENT_CLASS_BEFORE+" "+L.prototype.PSEUDO_HIDE_ELEMENT_CLASS_AFTER,r)return a.src=H(i)[0].args[0],[s];var u=document.createTextNode(i);return a.appendChild(u),[s,new M(u,s)]},i.prototype.getChildren=function(t){return E([].filter.call(t.node.childNodes,b).map((function(e){var n=[e.nodeType===Node.TEXT_NODE?new M(e,t):new q(e,t)].filter(P);return e.nodeType===Node.ELEMENT_NODE&&n.length&&"TEXTAREA"!==e.tagName?n[0].isElementVisible()?n.concat(this.getChildren(n[0])):[]:n}),this))},i.prototype.newStackingContext=function(t,e){var n=new F(e,t.getOpacity(),t.node,t.parent);t.cloneTo(n),(e?n.getParentStack(this):n.parent.stack).contexts.push(n),t.stack=n},i.prototype.createStackingContexts=function(){this.nodes.forEach((function(t){T(t)&&(this.isRootElement(t)||function(t){return t.getOpacity()<1}(t)||function(t){var e=t.css("position");return"auto"!==(-1!==["absolute","relative","fixed"].indexOf(e)?t.css("zIndex"):"auto")}(t)||this.isBodyWithTransparentRoot(t)||t.hasTransform())?this.newStackingContext(t,!0):T(t)&&(w(t)&&g(t)||function(t){return-1!==["inline-block","inline-table"].indexOf(t.css("display"))}(t)||_(t))?this.newStackingContext(t,!1):t.assignStack(t.parent.stack)}),this)},i.prototype.isBodyWithTransparentRoot=function(t){return"BODY"===t.node.nodeName&&t.parent.color("backgroundColor").isTransparent()},i.prototype.isRootElement=function(t){return null===t.parent},i.prototype.sortStackingContexts=function(t){t.contexts.sort(function(t){return function(e,n){return e.cssInt("zIndex")+t.indexOf(e)/t.length-(n.cssInt("zIndex")+t.indexOf(n)/t.length)}}(t.contexts.slice(0))),t.contexts.forEach(this.sortStackingContexts,this)},i.prototype.parseTextBounds=function(t){return function(e,n,i){if("none"!==t.parent.css("textDecoration").substr(0,4)||0!==e.trim().length){if(this.support.rangeBounds&&!t.parent.hasTransform()){var r=i.slice(0,n).join("").length;return this.getRangeBounds(t.node,r,e.length)}if(t.node&&"string"==typeof t.node.data){var o=t.node.splitText(e.length),a=this.getWrapperBounds(t.node,t.parent.hasTransform());return t.node=o,a}}else this.support.rangeBounds&&!t.parent.hasTransform()||(t.node=t.node.splitText(e.length));return{}}},i.prototype.getWrapperBounds=function(t,e){var n=t.ownerDocument.createElement("html2canvaswrapper"),i=t.parentNode,r=t.cloneNode(!0);n.appendChild(t.cloneNode(!0)),i.replaceChild(n,t);var o=e?W(n):j(n);return i.replaceChild(r,n),o},i.prototype.getRangeBounds=function(t,e,n){var i=this.range||(this.range=t.ownerDocument.createRange());return i.setStart(t,e),i.setEnd(t,e+n),i.getBoundingClientRect()},i.prototype.parse=function(t){var e=t.contexts.filter(d),n=t.children.filter(T),i=n.filter(x(_)),r=i.filter(x(w)).filter(x(m)),o=n.filter(x(w)).filter(_),s=i.filter(x(w)).filter(m),l=t.contexts.concat(i.filter(w)).filter(g),c=t.children.filter(A).filter(y),u=t.contexts.filter(p);e.concat(r).concat(o).concat(s).concat(l).concat(c).concat(u).forEach((function(t){this.renderQueue.push(t),v(t)&&(this.parse(t),this.renderQueue.push(new a))}),this)},i.prototype.paint=function(t){try{t instanceof a?this.renderer.ctx.restore():A(t)?(k(t.parent)&&t.parent.appendToDOM(),this.paintText(t),k(t.parent)&&t.parent.cleanDOM()):this.paintNode(t)}catch(t){if(R(t),this.options.strict)throw t}},i.prototype.paintNode=function(t){v(t)&&(this.renderer.setOpacity(t.opacity),this.renderer.ctx.save(),t.hasTransform()&&this.renderer.setTransform(t.parseTransform())),"INPUT"===t.node.nodeName&&"checkbox"===t.node.type?this.paintCheckbox(t):"INPUT"===t.node.nodeName&&"radio"===t.node.type?this.paintRadio(t):this.paintElement(t)},i.prototype.paintElement=function(t){var e=t.parseBounds();this.renderer.clip(t.backgroundClip,(function(){this.renderer.renderBackground(t,e,t.borders.borders.map(C))}),this),this.renderer.clip(t.clip,(function(){this.renderer.renderBorders(t.borders.borders)}),this),this.renderer.clip(t.backgroundClip,(function(){switch(t.node.nodeName){case"svg":case"IFRAME":var n=this.images.get(t.node);n?this.renderer.renderImage(t,e,t.borders,n):R("Error loading <"+t.node.nodeName+">",t.node);break;case"IMG":var i=this.images.get(t.node.src);i?this.renderer.renderImage(t,e,t.borders,i):R("Error loading <img>",t.node.src);break;case"CANVAS":this.renderer.renderImage(t,e,t.borders,{image:t.node});break;case"SELECT":case"INPUT":case"TEXTAREA":this.paintFormValue(t)}}),this)},i.prototype.paintCheckbox=function(t){var e=t.parseBounds(),n=Math.min(e.width,e.height),i={width:n-1,height:n-1,top:e.top,left:e.left},r=[3,3],o=[r,r,r,r],a=[1,1,1,1].map((function(t){return{color:new D("#A5A5A5"),width:t}})),l=c(i,o,a);this.renderer.clip(t.backgroundClip,(function(){this.renderer.rectangle(i.left+1,i.top+1,i.width-2,i.height-2,new D("#DEDEDE")),this.renderer.renderBorders(s(a,i,l,o)),t.node.checked&&(this.renderer.font(new D("#424242"),"normal","normal","bold",n-3+"px","arial"),this.renderer.text("✔",i.left+n/6,i.top+n-1))}),this)},i.prototype.paintRadio=function(t){var e=t.parseBounds(),n=Math.min(e.width,e.height)-2;this.renderer.clip(t.backgroundClip,(function(){this.renderer.circleStroke(e.left+1,e.top+1,n,new D("#DEDEDE"),1,new D("#A5A5A5")),t.node.checked&&this.renderer.circle(Math.ceil(e.left+n/4)+1,Math.ceil(e.top+n/4)+1,Math.floor(n/2),new D("#424242"))}),this)},i.prototype.paintFormValue=function(t){var e=t.getValue();if(e.length>0){var n=t.node.ownerDocument,i=n.createElement("html2canvaswrapper");["lineHeight","textAlign","fontFamily","fontWeight","fontSize","color","paddingLeft","paddingTop","paddingRight","paddingBottom","width","height","borderLeftStyle","borderTopStyle","borderLeftWidth","borderTopWidth","boxSizing","whiteSpace","wordWrap"].forEach((function(e){try{i.style[e]=t.css(e)}catch(t){R("html2canvas: Parse: Exception caught in renderFormValue: "+t.message)}}));var r=t.parseBounds();i.style.position="fixed",i.style.left=r.left+"px",i.style.top=r.top+"px",i.textContent=e,n.body.appendChild(i),this.paintText(new M(i.firstChild,t)),n.body.removeChild(i)}},i.prototype.paintText=function(t){t.applyTextTransform();var e=I.ucs2.decode(t.node.data),n=this.options.letterRendering&&!function(t){return/^(normal|none|0px)$/.test(t.parent.css("letterSpacing"))}(t)||function(t){return/[^\u0000-\u00ff]/.test(t)}(t.node.data)?e.map((function(t){return I.ucs2.encode([t])})):function(t){for(var e,n=[],i=0,r=!1;t.length;)O(t[i])===r?((e=t.splice(0,i)).length&&n.push(I.ucs2.encode(e)),r=!r,i=0):i++,i>=t.length&&(e=t.splice(0,i)).length&&n.push(I.ucs2.encode(e));return n}(e),i=t.parent.fontWeight(),r=t.parent.css("fontSize"),o=t.parent.css("fontFamily"),a=t.parent.parseTextShadows();this.renderer.font(t.parent.color("color"),t.parent.css("fontStyle"),t.parent.css("fontVariant"),i,r,o),a.length?this.renderer.fontShadow(a[0].color,a[0].offsetX,a[0].offsetY,a[0].blur):this.renderer.clearShadow(),this.renderer.clip(t.parent.clip,(function(){n.map(this.parseTextBounds(t),this).forEach((function(e,i){e&&(this.renderer.text(n[i],e.left,e.bottom),this.renderTextDecoration(t.parent,e,this.fontMetrics.getMetrics(o,r)))}),this)}),this)},i.prototype.renderTextDecoration=function(t,e,n){switch(t.css("textDecoration").split(" ")[0]){case"underline":this.renderer.rectangle(e.left,Math.round(e.top+n.baseline+n.lineWidth),e.width,1,t.color("color"));break;case"overline":this.renderer.rectangle(e.left,Math.round(e.top),e.width,1,t.color("color"));break;case"line-through":this.renderer.rectangle(e.left,Math.ceil(e.top+n.middle+n.lineWidth),e.width,1,t.color("color"))}};var $={inset:[["darken",.6],["darken",.1],["darken",.1],["darken",.6]]};i.prototype.parseBorders=function(t){var e=t.parseBounds(),n=function(t){return["TopLeft","TopRight","BottomRight","BottomLeft"].map((function(e){var n=t.css("border"+e+"Radius").split(" ");return n.length<=1&&(n[1]=n[0]),n.map(S)}))}(t),i=["Top","Right","Bottom","Left"].map((function(e,n){var i=t.css("border"+e+"Style"),r=t.color("border"+e+"Color");"inset"===i&&r.isBlack()&&(r=new D([255,255,255,r.a]));var o=$[i]?$[i][n]:null;return{width:t.cssInt("border"+e+"Width"),color:o?r[o[0]](o[1]):r,args:null}})),r=c(e,n,i);return{clip:this.parseBackgroundClip(t,r,i,n,e),borders:s(i,e,r,n)}},i.prototype.parseBackgroundClip=function(t,e,n,i,r){var o=[];switch(t.css("backgroundClip")){case"content-box":case"padding-box":f(o,i[0],i[1],e.topLeftInner,e.topRightInner,r.left+n[3].width,r.top+n[0].width),f(o,i[1],i[2],e.topRightInner,e.bottomRightInner,r.left+r.width-n[1].width,r.top+n[0].width),f(o,i[2],i[3],e.bottomRightInner,e.bottomLeftInner,r.left+r.width-n[1].width,r.top+r.height-n[2].width),f(o,i[3],i[0],e.bottomLeftInner,e.topLeftInner,r.left+n[3].width,r.top+r.height-n[2].width);break;default:f(o,i[0],i[1],e.topLeftOuter,e.topRightOuter,r.left,r.top),f(o,i[1],i[2],e.topRightOuter,e.bottomRightOuter,r.left+r.width,r.top),f(o,i[2],i[3],e.bottomRightOuter,e.bottomLeftOuter,r.left+r.width,r.top+r.height),f(o,i[3],i[0],e.bottomLeftOuter,e.topLeftOuter,r.left,r.top+r.height)}return o},e.exports=i},{"./color":3,"./fontmetrics":7,"./log":13,"./nodecontainer":14,"./pseudoelementcontainer":18,"./stackingcontext":21,"./textcontainer":25,"./utils":26,punycode:1}],16:[function(t,e,n){function i(t,e,n){var i="withCredentials"in new XMLHttpRequest;if(!e)return Promise.reject("No proxy configured");var l=o(i),c=a(e,t,l);return i?s(c):r(n,c,l).then((function(t){return h(t.content)}))}function r(t,e,n){return new Promise((function(i,r){var o=t.createElement("script"),a=function(){delete window.html2canvas.proxy[n],t.body.removeChild(o)};window.html2canvas.proxy[n]=function(t){a(),i(t)},o.src=e,o.onerror=function(t){a(),r(t)},t.body.appendChild(o)}))}function o(t){return t?"":"html2canvas_"+Date.now()+"_"+ ++f+"_"+Math.round(1e5*Math.random())}function a(t,e,n){return t+"?url="+encodeURIComponent(e)+(n.length?"&callback=html2canvas.proxy."+n:"")}var s=t("./xhr"),l=t("./utils"),c=t("./log"),u=t("./clone"),h=l.decode64,f=0;n.Proxy=i,n.ProxyURL=function(t,e,n){var i="crossOrigin"in new Image,s=o(i),l=a(e,t,s);return i?Promise.resolve(l):r(n,l,s).then((function(t){return"data:"+t.type+";base64,"+t.content}))},n.loadUrlDocument=function(t,e,n,r,o,a){return new i(t,e,window.document).then(function(t){return function(e){var n,i=new DOMParser;try{n=i.parseFromString(e,"text/html")}catch(t){c("DOMParser not supported, falling back to createHTMLDocument"),n=document.implementation.createHTMLDocument("");try{n.open(),n.write(e),n.close()}catch(t){c("createHTMLDocument write not supported, falling back to document.body.innerHTML"),n.body.innerHTML=e}}var r=n.querySelector("base");if(!r||!r.href.host){var o=n.createElement("base");o.href=t,n.head.insertBefore(o,n.head.firstChild)}return n}}(t)).then((function(t){return u(t,n,r,o,a,0,0)}))}},{"./clone":2,"./log":13,"./utils":26,"./xhr":28}],17:[function(t,e,n){var i=t("./proxy").ProxyURL;e.exports=function(t,e){var n=document.createElement("a");n.href=t,t=n.href,this.src=t,this.image=new Image;var r=this;this.promise=new Promise((function(n,o){r.image.crossOrigin="Anonymous",r.image.onload=n,r.image.onerror=o,new i(t,e,document).then((function(t){r.image.src=t})).catch(o)}))}},{"./proxy":16}],18:[function(t,e,n){function i(t,e,n){r.call(this,t,e),this.isPseudoElement=!0,this.before=":before"===n}var r=t("./nodecontainer");i.prototype.cloneTo=function(t){i.prototype.cloneTo.call(this,t),t.isPseudoElement=!0,t.before=this.before},(i.prototype=Object.create(r.prototype)).appendToDOM=function(){this.before?this.parent.node.insertBefore(this.node,this.parent.node.firstChild):this.parent.node.appendChild(this.node),this.parent.node.className+=" "+this.getHideClass()},i.prototype.cleanDOM=function(){this.node.parentNode.removeChild(this.node),this.parent.node.className=this.parent.node.className.replace(this.getHideClass(),"")},i.prototype.getHideClass=function(){return this["PSEUDO_HIDE_ELEMENT_CLASS_"+(this.before?"BEFORE":"AFTER")]},i.prototype.PSEUDO_HIDE_ELEMENT_CLASS_BEFORE="___html2canvas___pseudoelement_before",i.prototype.PSEUDO_HIDE_ELEMENT_CLASS_AFTER="___html2canvas___pseudoelement_after",e.exports=i},{"./nodecontainer":14}],19:[function(t,e,n){function i(t,e,n,i,r){this.width=t,this.height=e,this.images=n,this.options=i,this.document=r}var r=t("./log");i.prototype.renderImage=function(t,e,n,i){var r=t.cssInt("paddingLeft"),o=t.cssInt("paddingTop"),a=t.cssInt("paddingRight"),s=t.cssInt("paddingBottom"),l=n.borders,c=e.width-(l[1].width+l[3].width+r+a),u=e.height-(l[0].width+l[2].width+o+s);this.drawImage(i,0,0,i.image.width||c,i.image.height||u,e.left+r+l[3].width,e.top+o+l[0].width,c,u)},i.prototype.renderBackground=function(t,e,n){e.height>0&&e.width>0&&(this.renderBackgroundColor(t,e),this.renderBackgroundImage(t,e,n))},i.prototype.renderBackgroundColor=function(t,e){var n=t.color("backgroundColor");n.isTransparent()||this.rectangle(e.left,e.top,e.width,e.height,n)},i.prototype.renderBorders=function(t){t.forEach(this.renderBorder,this)},i.prototype.renderBorder=function(t){t.color.isTransparent()||null===t.args||this.drawShape(t.args,t.color)},i.prototype.renderBackgroundImage=function(t,e,n){t.parseBackgroundImages().reverse().forEach((function(i,o,a){switch(i.method){case"url":var s=this.images.get(i.args[0]);s?this.renderBackgroundRepeating(t,e,s,a.length-(o+1),n):r("Error loading background-image",i.args[0]);break;case"linear-gradient":case"gradient":var l=this.images.get(i.value);l?this.renderBackgroundGradient(l,e,n):r("Error loading background-image",i.args[0]);break;case"none":break;default:r("Unknown background-image type",i.args[0])}}),this)},i.prototype.renderBackgroundRepeating=function(t,e,n,i,r){var o=t.parseBackgroundSize(e,n.image,i),a=t.parseBackgroundPosition(e,n.image,i,o);switch(t.parseBackgroundRepeat(i)){case"repeat-x":case"repeat no-repeat":this.backgroundRepeatShape(n,a,o,e,e.left+r[3],e.top+a.top+r[0],99999,o.height,r);break;case"repeat-y":case"no-repeat repeat":this.backgroundRepeatShape(n,a,o,e,e.left+a.left+r[3],e.top+r[0],o.width,99999,r);break;case"no-repeat":this.backgroundRepeatShape(n,a,o,e,e.left+a.left+r[3],e.top+a.top+r[0],o.width,o.height,r);break;default:this.renderBackgroundRepeat(n,a,o,{top:e.top,left:e.left},r[3],r[0])}},e.exports=i},{"./log":13}],20:[function(t,e,n){function i(t,e){o.apply(this,arguments),this.canvas=this.options.canvas||this.document.createElement("canvas"),this.options.canvas||(this.canvas.width=t,this.canvas.height=e),this.ctx=this.canvas.getContext("2d"),this.taintCtx=this.document.createElement("canvas").getContext("2d"),this.ctx.textBaseline="bottom",this.variables={},s("Initialized CanvasRenderer with size",t,"x",e)}function r(t){return t.length>0}var o=t("../renderer"),a=t("../lineargradientcontainer"),s=t("../log");(i.prototype=Object.create(o.prototype)).setFillStyle=function(t){return this.ctx.fillStyle="object"==typeof t&&t.isColor?t.toString():t,this.ctx},i.prototype.rectangle=function(t,e,n,i,r){this.setFillStyle(r).fillRect(t,e,n,i)},i.prototype.circle=function(t,e,n,i){this.setFillStyle(i),this.ctx.beginPath(),this.ctx.arc(t+n/2,e+n/2,n/2,0,2*Math.PI,!0),this.ctx.closePath(),this.ctx.fill()},i.prototype.circleStroke=function(t,e,n,i,r,o){this.circle(t,e,n,i),this.ctx.strokeStyle=o.toString(),this.ctx.stroke()},i.prototype.drawShape=function(t,e){this.shape(t),this.setFillStyle(e).fill()},i.prototype.taints=function(t){if(null===t.tainted){this.taintCtx.drawImage(t.image,0,0);try{this.taintCtx.getImageData(0,0,1,1),t.tainted=!1}catch(e){this.taintCtx=document.createElement("canvas").getContext("2d"),t.tainted=!0}}return t.tainted},i.prototype.drawImage=function(t,e,n,i,r,o,a,s,l){this.taints(t)&&!this.options.allowTaint||this.ctx.drawImage(t.image,e,n,i,r,o,a,s,l)},i.prototype.clip=function(t,e,n){this.ctx.save(),t.filter(r).forEach((function(t){this.shape(t).clip()}),this),e.call(n),this.ctx.restore()},i.prototype.shape=function(t){return this.ctx.beginPath(),t.forEach((function(t,e){"rect"===t[0]?this.ctx.rect.apply(this.ctx,t.slice(1)):this.ctx[0===e?"moveTo":t[0]+"To"].apply(this.ctx,t.slice(1))}),this),this.ctx.closePath(),this.ctx},i.prototype.font=function(t,e,n,i,r,o){this.setFillStyle(t).font=[e,n,i,r,o].join(" ").split(",")[0]},i.prototype.fontShadow=function(t,e,n,i){this.setVariable("shadowColor",t.toString()).setVariable("shadowOffsetY",e).setVariable("shadowOffsetX",n).setVariable("shadowBlur",i)},i.prototype.clearShadow=function(){this.setVariable("shadowColor","rgba(0,0,0,0)")},i.prototype.setOpacity=function(t){this.ctx.globalAlpha=t},i.prototype.setTransform=function(t){this.ctx.translate(t.origin[0],t.origin[1]),this.ctx.transform.apply(this.ctx,t.matrix),this.ctx.translate(-t.origin[0],-t.origin[1])},i.prototype.setVariable=function(t,e){return this.variables[t]!==e&&(this.variables[t]=this.ctx[t]=e),this},i.prototype.text=function(t,e,n){this.ctx.fillText(t,e,n)},i.prototype.backgroundRepeatShape=function(t,e,n,i,r,o,a,s,l){var c=[["line",Math.round(r),Math.round(o)],["line",Math.round(r+a),Math.round(o)],["line",Math.round(r+a),Math.round(s+o)],["line",Math.round(r),Math.round(s+o)]];this.clip([c],(function(){this.renderBackgroundRepeat(t,e,n,i,l[3],l[0])}),this)},i.prototype.renderBackgroundRepeat=function(t,e,n,i,r,o){var a=Math.round(i.left+e.left+r),s=Math.round(i.top+e.top+o);this.setFillStyle(this.ctx.createPattern(this.resizeImage(t,n),"repeat")),this.ctx.translate(a,s),this.ctx.fill(),this.ctx.translate(-a,-s)},i.prototype.renderBackgroundGradient=function(t,e){if(t instanceof a){var n=this.ctx.createLinearGradient(e.left+e.width*t.x0,e.top+e.height*t.y0,e.left+e.width*t.x1,e.top+e.height*t.y1);t.colorStops.forEach((function(t){n.addColorStop(t.stop,t.color.toString())})),this.rectangle(e.left,e.top,e.width,e.height,n)}},i.prototype.resizeImage=function(t,e){var n=t.image;if(n.width===e.width&&n.height===e.height)return n;var i=document.createElement("canvas");return i.width=e.width,i.height=e.height,i.getContext("2d").drawImage(n,0,0,n.width,n.height,0,0,e.width,e.height),i},e.exports=i},{"../lineargradientcontainer":12,"../log":13,"../renderer":19}],21:[function(t,e,n){function i(t,e,n,i){r.call(this,n,i),this.ownStacking=t,this.contexts=[],this.children=[],this.opacity=(this.parent?this.parent.stack.opacity:1)*e}var r=t("./nodecontainer");(i.prototype=Object.create(r.prototype)).getParentStack=function(t){var e=this.parent?this.parent.stack:null;return e?e.ownStacking?e:e.getParentStack(t):t.stack},e.exports=i},{"./nodecontainer":14}],22:[function(t,e,n){function i(t){this.rangeBounds=this.testRangeBounds(t),this.cors=this.testCORS(),this.svg=this.testSVG()}i.prototype.testRangeBounds=function(t){var e,n,i=!1;return t.createRange&&(e=t.createRange()).getBoundingClientRect&&((n=t.createElement("boundtest")).style.height="123px",n.style.display="block",t.body.appendChild(n),e.selectNode(n),123===e.getBoundingClientRect().height&&(i=!0),t.body.removeChild(n)),i},i.prototype.testCORS=function(){return void 0!==(new Image).crossOrigin},i.prototype.testSVG=function(){var t=new Image,e=document.createElement("canvas"),n=e.getContext("2d");t.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{n.drawImage(t,0,0),e.toDataURL()}catch(t){return!1}return!0},e.exports=i},{}],23:[function(t,e,n){function i(t){this.src=t,this.image=null;var e=this;this.promise=this.hasFabric().then((function(){return e.isInline(t)?Promise.resolve(e.inlineFormatting(t)):r(t)})).then((function(t){return new Promise((function(n){window.html2canvas.svg.fabric.loadSVGFromString(t,e.createCanvas.call(e,n))}))}))}var r=t("./xhr"),o=t("./utils").decode64;i.prototype.hasFabric=function(){return window.html2canvas.svg&&window.html2canvas.svg.fabric?Promise.resolve():Promise.reject(new Error("html2canvas.svg.js is not loaded, cannot render svg"))},i.prototype.inlineFormatting=function(t){return/^data:image\/svg\+xml;base64,/.test(t)?this.decode64(this.removeContentType(t)):this.removeContentType(t)},i.prototype.removeContentType=function(t){return t.replace(/^data:image\/svg\+xml(;base64)?,/,"")},i.prototype.isInline=function(t){return/^data:image\/svg\+xml/i.test(t)},i.prototype.createCanvas=function(t){var e=this;return function(n,i){var r=new window.html2canvas.svg.fabric.StaticCanvas("c");e.image=r.lowerCanvasEl,r.setWidth(i.width).setHeight(i.height).add(window.html2canvas.svg.fabric.util.groupSVGElements(n,i)).renderAll(),t(r.lowerCanvasEl)}},i.prototype.decode64=function(t){return"function"==typeof window.atob?window.atob(t):o(t)},e.exports=i},{"./utils":26,"./xhr":28}],24:[function(t,e,n){function i(t,e){this.src=t,this.image=null;var n=this;this.promise=e?new Promise((function(e,i){n.image=new Image,n.image.onload=e,n.image.onerror=i,n.image.src="data:image/svg+xml,"+(new XMLSerializer).serializeToString(t),!0===n.image.complete&&e(n.image)})):this.hasFabric().then((function(){return new Promise((function(e){window.html2canvas.svg.fabric.parseSVGDocument(t,n.createCanvas.call(n,e))}))}))}var r=t("./svgcontainer");i.prototype=Object.create(r.prototype),e.exports=i},{"./svgcontainer":23}],25:[function(t,e,n){function i(t,e){o.call(this,t,e)}function r(t,e,n){if(t.length>0)return e+n.toUpperCase()}var o=t("./nodecontainer");(i.prototype=Object.create(o.prototype)).applyTextTransform=function(){this.node.data=this.transform(this.parent.css("textTransform"))},i.prototype.transform=function(t){var e=this.node.data;switch(t){case"lowercase":return e.toLowerCase();case"capitalize":return e.replace(/(^|\s|:|-|\(|\))([a-z])/g,r);case"uppercase":return e.toUpperCase();default:return e}},e.exports=i},{"./nodecontainer":14}],26:[function(t,e,n){n.smallImage=function(){return"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"},n.bind=function(t,e){return function(){return t.apply(e,arguments)}},n.decode64=function(t){var e,n,i,r,o,a,s,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=t.length,u="";for(e=0;e<c;e+=4)o=l.indexOf(t[e])<<2|(n=l.indexOf(t[e+1]))>>4,a=(15&n)<<4|(i=l.indexOf(t[e+2]))>>2,s=(3&i)<<6|(r=l.indexOf(t[e+3])),u+=64===i?String.fromCharCode(o):64===r||-1===r?String.fromCharCode(o,a):String.fromCharCode(o,a,s);return u},n.getBounds=function(t){if(t.getBoundingClientRect){var e=t.getBoundingClientRect(),n=null==t.offsetWidth?e.width:t.offsetWidth;return{top:e.top,bottom:e.bottom||e.top+e.height,right:e.left+n,left:e.left,width:n,height:null==t.offsetHeight?e.height:t.offsetHeight}}return{}},n.offsetBounds=function(t){var e=t.offsetParent?n.offsetBounds(t.offsetParent):{top:0,left:0};return{top:t.offsetTop+e.top,bottom:t.offsetTop+t.offsetHeight+e.top,right:t.offsetLeft+e.left+t.offsetWidth,left:t.offsetLeft+e.left,width:t.offsetWidth,height:t.offsetHeight}},n.parseBackgrounds=function(t){var e,n,i,r,o,a,s,l=[],c=0,u=0,h=function(){e&&('"'===n.substr(0,1)&&(n=n.substr(1,n.length-2)),n&&s.push(n),"-"===e.substr(0,1)&&(r=e.indexOf("-",1)+1)>0&&(i=e.substr(0,r),e=e.substr(r)),l.push({prefix:i,method:e.toLowerCase(),value:o,args:s,image:null})),s=[],e=i=n=o=""};return s=[],e=i=n=o="",t.split("").forEach((function(t){if(!(0===c&&" \r\n\t".indexOf(t)>-1)){switch(t){case'"':a?a===t&&(a=null):a=t;break;case"(":if(a)break;if(0===c)return c=1,void(o+=t);u++;break;case")":if(a)break;if(1===c){if(0===u)return c=0,o+=t,void h();u--}break;case",":if(a)break;if(0===c)return void h();if(1===c&&0===u&&!e.match(/^url$/i))return s.push(n),n="",void(o+=t)}o+=t,0===c?e+=t:n+=t}})),h(),l}},{}],27:[function(t,e,n){function i(t){r.apply(this,arguments),this.type="linear"===t.args[0]?r.TYPES.LINEAR:r.TYPES.RADIAL}var r=t("./gradientcontainer");i.prototype=Object.create(r.prototype),e.exports=i},{"./gradientcontainer":9}],28:[function(t,e,n){e.exports=function(t){return new Promise((function(e,n){var i=new XMLHttpRequest;i.open("GET",t),i.onload=function(){200===i.status?e(i.responseText):n(new Error(i.statusText))},i.onerror=function(){n(new Error("Network Error"))},i.send()}))}},{}]},{},[4])(4),function(t){var e;e=function(){function e(t){var e,n,i,r,o,a,s,l,c,u,h,f,d,p;for(this.data=t,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},a=null;;){switch(e=this.readUInt32(),c=function(){var t,e;for(e=[],t=0;t<4;++t)e.push(String.fromCharCode(this.data[this.pos++]));return e}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(e);break;case"fcTL":a&&this.animation.frames.push(a),this.pos+=4,a={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},o=this.readUInt16(),r=this.readUInt16()||100,a.delay=1e3*o/r,a.disposeOp=this.data[this.pos++],a.blendOp=this.data[this.pos++],a.data=[];break;case"IDAT":case"fdAT":for("fdAT"===c&&(this.pos+=4,e-=4),t=(null!=a?a.data:void 0)||this.imgData,f=0;0<=e?f<e:f>e;0<=e?++f:--f)t.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(i=this.palette.length/3,this.transparency.indexed=this.read(e),this.transparency.indexed.length>i)throw new Error("More transparent colors than palette size");if((u=i-this.transparency.indexed.length)>0)for(d=0;0<=u?d<u:d>u;0<=u?++d:--d)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(e)[0];break;case 2:this.transparency.rgb=this.read(e)}break;case"tEXt":s=(h=this.read(e)).indexOf(0),l=String.fromCharCode.apply(String,h.slice(0,s)),this.text[l]=String.fromCharCode.apply(String,h.slice(s+1));break;case"IEND":return a&&this.animation.frames.push(a),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=4===(p=this.colorType)||6===p,n=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*n,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=e}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}var n,i,r;e.load=function(t,n,i){var r;return"function"==typeof n&&(i=n),(r=new XMLHttpRequest).open("GET",t,!0),r.responseType="arraybuffer",r.onload=function(){var t;return t=new e(new Uint8Array(r.response||r.mozResponseArrayBuffer)),"function"==typeof(null!=n?n.getContext:void 0)&&t.render(n),"function"==typeof i?i(t):void 0},r.send(null)},e.prototype.read=function(t){var e,n;for(n=[],e=0;0<=t?e<t:e>t;0<=t?++e:--e)n.push(this.data[this.pos++]);return n},e.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},e.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},e.prototype.decodePixels=function(t){var e,n,i,r,o,a,s,l,c,u,h,d,p,g,m,v,y,b,w,_,x,T,k;if(null==t&&(t=this.imgData),0===t.length)return new Uint8Array(0);for(t=(t=new f(t)).getBytes(),v=(d=this.pixelBitlength/8)*this.width,p=new Uint8Array(v*this.height),a=t.length,m=0,g=0,n=0;g<a;){switch(t[g++]){case 0:for(r=w=0;w<v;r=w+=1)p[n++]=t[g++];break;case 1:for(r=_=0;_<v;r=_+=1)e=t[g++],o=r<d?0:p[n-d],p[n++]=(e+o)%256;break;case 2:for(r=x=0;x<v;r=x+=1)e=t[g++],i=(r-r%d)/d,y=m&&p[(m-1)*v+i*d+r%d],p[n++]=(y+e)%256;break;case 3:for(r=T=0;T<v;r=T+=1)e=t[g++],i=(r-r%d)/d,o=r<d?0:p[n-d],y=m&&p[(m-1)*v+i*d+r%d],p[n++]=(e+Math.floor((o+y)/2))%256;break;case 4:for(r=k=0;k<v;r=k+=1)e=t[g++],i=(r-r%d)/d,o=r<d?0:p[n-d],0===m?y=b=0:(y=p[(m-1)*v+i*d+r%d],b=i&&p[(m-1)*v+(i-1)*d+r%d]),s=o+y-b,l=Math.abs(s-o),u=Math.abs(s-y),h=Math.abs(s-b),c=l<=u&&l<=h?o:u<=h?y:b,p[n++]=(e+c)%256;break;default:throw new Error("Invalid filter algorithm: "+t[g-1])}m++}return p},e.prototype.decodePalette=function(){var t,e,n,i,r,o,a,s,l;for(n=this.palette,o=this.transparency.indexed||[],r=new Uint8Array((o.length||0)+n.length),i=0,t=0,e=a=0,s=n.length;a<s;e=a+=3)r[i++]=n[e],r[i++]=n[e+1],r[i++]=n[e+2],r[i++]=null!=(l=o[t++])?l:255;return r},e.prototype.copyToImageData=function(t,e){var n,i,r,o,a,s,l,c,u,h,f;if(i=this.colors,u=null,n=this.hasAlphaChannel,this.palette.length&&(u=null!=(f=this._decodedPalette)?f:this._decodedPalette=this.decodePalette(),i=4,n=!0),c=(r=t.data||t).length,a=u||e,o=s=0,1===i)for(;o<c;)l=u?4*e[o/4]:s,h=a[l++],r[o++]=h,r[o++]=h,r[o++]=h,r[o++]=n?a[l++]:255,s=l;else for(;o<c;)l=u?4*e[o/4]:s,r[o++]=a[l++],r[o++]=a[l++],r[o++]=a[l++],r[o++]=n?a[l++]:255,s=l},e.prototype.decode=function(){var t;return t=new Uint8Array(this.width*this.height*4),this.copyToImageData(t,this.decodePixels()),t};try{i=t.document.createElement("canvas"),r=i.getContext("2d")}catch(t){return-1}return n=function(t){var e;return r.width=t.width,r.height=t.height,r.clearRect(0,0,t.width,t.height),r.putImageData(t,0,0),(e=new Image).src=i.toDataURL(),e},e.prototype.decodeFrames=function(t){var e,i,r,o,a,s,l,c;if(this.animation){for(c=[],i=a=0,s=(l=this.animation.frames).length;a<s;i=++a)e=l[i],r=t.createImageData(e.width,e.height),o=this.decodePixels(new Uint8Array(e.data)),this.copyToImageData(r,o),e.imageData=r,c.push(e.image=n(r));return c}},e.prototype.renderFrame=function(t,e){var n,i,r;return n=(i=this.animation.frames)[e],r=i[e-1],0===e&&t.clearRect(0,0,this.width,this.height),1===(null!=r?r.disposeOp:void 0)?t.clearRect(r.xOffset,r.yOffset,r.width,r.height):2===(null!=r?r.disposeOp:void 0)&&t.putImageData(r.imageData,r.xOffset,r.yOffset),0===n.blendOp&&t.clearRect(n.xOffset,n.yOffset,n.width,n.height),t.drawImage(n.image,n.xOffset,n.yOffset)},e.prototype.animate=function(t){var e,n,i,r,o,a,s=this;return n=0,a=this.animation,r=a.numFrames,i=a.frames,o=a.numPlays,(e=function(){var a,l;if(a=n++%r,l=i[a],s.renderFrame(t,a),r>1&&n/r<o)return s.animation._timeout=setTimeout(e,l.delay)})()},e.prototype.stopAnimation=function(){var t;return clearTimeout(null!=(t=this.animation)?t._timeout:void 0)},e.prototype.render=function(t){var e,n;return t._png&&t._png.stopAnimation(),t._png=this,t.width=this.width,t.height=this.height,e=t.getContext("2d"),this.animation?(this.decodeFrames(e),this.animate(e)):(n=e.createImageData(this.width,this.height),this.copyToImageData(n,this.decodePixels()),e.putImageData(n,0,0))},e}(),t.PNG=e}("undefined"!=typeof window&&window||void 0);var h=function(){function t(){this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=null}return t.prototype={ensureBuffer:function(t){var e=this.buffer,n=e?e.byteLength:0;if(t<n)return e;for(var i=512;i<t;)i<<=1;for(var r=new Uint8Array(i),o=0;o<n;++o)r[o]=e[o];return this.buffer=r},getByte:function(){for(var t=this.pos;this.bufferLength<=t;){if(this.eof)return null;this.readBlock()}return this.buffer[this.pos++]},getBytes:function(t){var e=this.pos;if(t){for(this.ensureBuffer(e+t),i=e+t;!this.eof&&this.bufferLength<i;)this.readBlock();var n=this.bufferLength;i>n&&(i=n)}else{for(;!this.eof;)this.readBlock();var i=this.bufferLength}return this.pos=i,this.buffer.subarray(e,i)},lookChar:function(){for(var t=this.pos;this.bufferLength<=t;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos])},getChar:function(){for(var t=this.pos;this.bufferLength<=t;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos++])},makeSubStream:function(t,e,n){for(var i=t+e;this.bufferLength<=i&&!this.eof;)this.readBlock();return new Stream(this.buffer,t,e,n)},skip:function(t){t||(t=1),this.pos+=t},reset:function(){this.pos=0}},t}(),f=function(){function t(t){throw new Error(t)}function e(e){var n=0,i=e[n++],r=e[n++];-1!=i&&-1!=r||t("Invalid header in flate stream"),8!=(15&i)&&t("Unknown compression method in flate stream"),((i<<8)+r)%31!=0&&t("Bad FCHECK in flate stream"),32&r&&t("FDICT bit set in flate stream"),this.bytes=e,this.bytesPos=2,this.codeSize=0,this.codeBuf=0,h.call(this)}if("undefined"!=typeof Uint32Array){var n=new Uint32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),i=new Uint32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),r=new Uint32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),o=[new Uint32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],a=[new Uint32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5];return e.prototype=Object.create(h.prototype),e.prototype.getBits=function(e){for(var n,i=this.codeSize,r=this.codeBuf,o=this.bytes,a=this.bytesPos;i<e;)void 0===(n=o[a++])&&t("Bad encoding in flate stream"),r|=n<<i,i+=8;return n=r&(1<<e)-1,this.codeBuf=r>>e,this.codeSize=i-=e,this.bytesPos=a,n},e.prototype.getCode=function(e){for(var n=e[0],i=e[1],r=this.codeSize,o=this.codeBuf,a=this.bytes,s=this.bytesPos;r<i;){var l;void 0===(l=a[s++])&&t("Bad encoding in flate stream"),o|=l<<r,r+=8}var c=n[o&(1<<i)-1],u=c>>16,h=65535&c;return(0==r||r<u||0==u)&&t("Bad encoding in flate stream"),this.codeBuf=o>>u,this.codeSize=r-u,this.bytesPos=s,h},e.prototype.generateHuffmanTable=function(t){for(var e=t.length,n=0,i=0;i<e;++i)t[i]>n&&(n=t[i]);for(var r=1<<n,o=new Uint32Array(r),a=1,s=0,l=2;a<=n;++a,s<<=1,l<<=1)for(var c=0;c<e;++c)if(t[c]==a){var u=0,h=s;for(i=0;i<a;++i)u=u<<1|1&h,h>>=1;for(i=u;i<r;i+=l)o[i]=a<<16|c;++s}return[o,n]},e.prototype.readBlock=function(){function e(t,e,n,i,r){for(var o=t.getBits(n)+i;o-- >0;)e[p++]=r}var s=this.getBits(3);if(1&s&&(this.eof=!0),0!=(s>>=1)){var l,c;if(1==s)l=o,c=a;else if(2==s){for(var u=this.getBits(5)+257,h=this.getBits(5)+1,f=this.getBits(4)+4,d=Array(n.length),p=0;p<f;)d[n[p++]]=this.getBits(3);for(var g=this.generateHuffmanTable(d),m=0,v=(p=0,u+h),y=new Array(v);p<v;){var b=this.getCode(g);16==b?e(this,y,2,3,m):17==b?e(this,y,3,3,m=0):18==b?e(this,y,7,11,m=0):y[p++]=m=b}l=this.generateHuffmanTable(y.slice(0,u)),c=this.generateHuffmanTable(y.slice(u,v))}else t("Unknown block type in flate stream");for(var w=(I=this.buffer)?I.length:0,_=this.bufferLength;;){var x=this.getCode(l);if(x<256)_+1>=w&&(w=(I=this.ensureBuffer(_+1)).length),I[_++]=x;else{if(256==x)return void(this.bufferLength=_);var T=(x=i[x-=257])>>16;T>0&&(T=this.getBits(T)),m=(65535&x)+T,x=this.getCode(c),(T=(x=r[x])>>16)>0&&(T=this.getBits(T));var k=(65535&x)+T;_+m>=w&&(w=(I=this.ensureBuffer(_+m)).length);for(var A=0;A<m;++A,++_)I[_]=I[_-k]}}}else{var S,C=this.bytes,P=this.bytesPos;void 0===(S=C[P++])&&t("Bad block header in flate stream");var E=S;void 0===(S=C[P++])&&t("Bad block header in flate stream"),E|=S<<8,void 0===(S=C[P++])&&t("Bad block header in flate stream");var O=S;void 0===(S=C[P++])&&t("Bad block header in flate stream"),(O|=S<<8)!=(65535&~E)&&t("Bad uncompressed block length in flate stream"),this.codeBuf=0,this.codeSize=0;var R=this.bufferLength,I=this.ensureBuffer(R+E),q=R+E;this.bufferLength=q;for(var M=R;M<q;++M){if(void 0===(S=C[P++])){this.eof=!0;break}I[M]=S}this.bytesPos=P}},e}}();return function(t){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";void 0===t.btoa&&(t.btoa=function(t){var n,i,r,o,a,s=0,l=0,c="",u=[];if(!t)return t;do{n=(a=t.charCodeAt(s++)<<16|t.charCodeAt(s++)<<8|t.charCodeAt(s++))>>18&63,i=a>>12&63,r=a>>6&63,o=63&a,u[l++]=e.charAt(n)+e.charAt(i)+e.charAt(r)+e.charAt(o)}while(s<t.length);c=u.join("");var h=t.length%3;return(h?c.slice(0,h-3):c)+"===".slice(h||3)}),void 0===t.atob&&(t.atob=function(t){var n,i,r,o,a,s,l=0,c=0,u=[];if(!t)return t;t+="";do{n=(s=e.indexOf(t.charAt(l++))<<18|e.indexOf(t.charAt(l++))<<12|(o=e.indexOf(t.charAt(l++)))<<6|(a=e.indexOf(t.charAt(l++))))>>16&255,i=s>>8&255,r=255&s,u[c++]=64==o?String.fromCharCode(n):64==a?String.fromCharCode(n,i):String.fromCharCode(n,i,r)}while(l<t.length);return u.join("")}),Array.prototype.map||(Array.prototype.map=function(t){if(null==this||"function"!=typeof t)throw new TypeError;for(var e=Object(this),n=e.length>>>0,i=new Array(n),r=arguments.length>1?arguments[1]:void 0,o=0;o<n;o++)o in e&&(i[o]=t.call(r,e[o],o,e));return i}),Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),Array.prototype.forEach||(Array.prototype.forEach=function(t,e){if(null==this||"function"!=typeof t)throw new TypeError;for(var n=Object(this),i=n.length>>>0,r=0;r<i;r++)r in n&&t.call(e,n[r],r,n)}),Object.keys||(Object.keys=function(){var t=Object.prototype.hasOwnProperty,e=!{toString:null}.propertyIsEnumerable("toString"),n=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],i=n.length;return function(r){if("object"!=typeof r&&("function"!=typeof r||null===r))throw new TypeError;var o,a,s=[];for(o in r)t.call(r,o)&&s.push(o);if(e)for(a=0;a<i;a++)t.call(r,n[a])&&s.push(n[a]);return s}}()),String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}),String.prototype.trimLeft||(String.prototype.trimLeft=function(){return this.replace(/^\s+/g,"")}),String.prototype.trimRight||(String.prototype.trimRight=function(){return this.replace(/\s+$/g,"")})}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||void 0),a}()}).call(this,n(47))},function(t,e,n){n(71),t.exports=n(411)},function(t,e,n){"use strict";var i=n(2),r=n(9),o=n(41),a=n(45),s=n(17),l=n(118),c=n(142),u=n(7),h=n(21),f=n(76),d=n(12),p=n(13),g=n(22),m=n(33),v=n(44),y=n(49),b=n(51),w=n(77),_=n(57),x=n(145),T=n(117),k=n(26),A=n(20),S=n(88),C=n(31),P=n(28),E=n(114),O=n(89),R=n(74),I=n(73),q=n(14),M=n(146),L=n(35),N=n(46),D=n(34),F=n(29).forEach,z=O("hidden"),B=q("toPrimitive"),j=D.set,H=D.getterFor("Symbol"),W=Object.prototype,$=r.Symbol,U=o("JSON","stringify"),X=k.f,Y=A.f,V=x.f,G=S.f,Q=E("symbols"),J=E("op-symbols"),K=E("string-to-symbol-registry"),Z=E("symbol-to-string-registry"),tt=E("wks"),et=r.QObject,nt=!et||!et.prototype||!et.prototype.findChild,it=s&&u((function(){return 7!=b(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?function(t,e,n){var i=X(W,e);i&&delete W[e],Y(t,e,n),i&&t!==W&&Y(W,e,i)}:Y,rt=function(t,e){var n=Q[t]=b($.prototype);return j(n,{type:"Symbol",tag:t,description:e}),s||(n.description=e),n},ot=c?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof $},at=function(t,e,n){t===W&&at(J,e,n),p(t);var i=v(e,!0);return p(n),h(Q,i)?(n.enumerable?(h(t,z)&&t[z][i]&&(t[z][i]=!1),n=b(n,{enumerable:y(0,!1)})):(h(t,z)||Y(t,z,y(1,{})),t[z][i]=!0),it(t,i,n)):Y(t,i,n)},st=function(t,e){p(t);var n=m(e),i=w(n).concat(ht(n));return F(i,(function(e){s&&!lt.call(n,e)||at(t,e,n[e])})),t},lt=function(t){var e=v(t,!0),n=G.call(this,e);return!(this===W&&h(Q,e)&&!h(J,e))&&(!(n||!h(this,e)||!h(Q,e)||h(this,z)&&this[z][e])||n)},ct=function(t,e){var n=m(t),i=v(e,!0);if(n!==W||!h(Q,i)||h(J,i)){var r=X(n,i);return!r||!h(Q,i)||h(n,z)&&n[z][i]||(r.enumerable=!0),r}},ut=function(t){var e=V(m(t)),n=[];return F(e,(function(t){h(Q,t)||h(R,t)||n.push(t)})),n},ht=function(t){var e=t===W,n=V(e?J:m(t)),i=[];return F(n,(function(t){!h(Q,t)||e&&!h(W,t)||i.push(Q[t])})),i};(l||(P(($=function(){if(this instanceof $)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=I(t),n=function(t){this===W&&n.call(J,t),h(this,z)&&h(this[z],e)&&(this[z][e]=!1),it(this,e,y(1,t))};return s&&nt&&it(W,e,{configurable:!0,set:n}),rt(e,t)}).prototype,"toString",(function(){return H(this).tag})),P($,"withoutSetter",(function(t){return rt(I(t),t)})),S.f=lt,A.f=at,k.f=ct,_.f=x.f=ut,T.f=ht,M.f=function(t){return rt(q(t),t)},s&&(Y($.prototype,"description",{configurable:!0,get:function(){return H(this).description}}),a||P(W,"propertyIsEnumerable",lt,{unsafe:!0}))),i({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:$}),F(w(tt),(function(t){L(t)})),i({target:"Symbol",stat:!0,forced:!l},{for:function(t){var e=String(t);if(h(K,e))return K[e];var n=$(e);return K[e]=n,Z[n]=e,n},keyFor:function(t){if(!ot(t))throw TypeError(t+" is not a symbol");if(h(Z,t))return Z[t]},useSetter:function(){nt=!0},useSimple:function(){nt=!1}}),i({target:"Object",stat:!0,forced:!l,sham:!s},{create:function(t,e){return void 0===e?b(t):st(b(t),e)},defineProperty:at,defineProperties:st,getOwnPropertyDescriptor:ct}),i({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:ut,getOwnPropertySymbols:ht}),i({target:"Object",stat:!0,forced:u((function(){T.f(1)}))},{getOwnPropertySymbols:function(t){return T.f(g(t))}}),U)&&i({target:"JSON",stat:!0,forced:!l||u((function(){var t=$();return"[null]"!=U([t])||"{}"!=U({a:t})||"{}"!=U(Object(t))}))},{stringify:function(t,e,n){for(var i,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(i=e,(d(e)||void 0!==t)&&!ot(t))return f(e)||(e=function(t,e){if("function"==typeof i&&(e=i.call(this,t,e)),!ot(e))return e}),r[1]=e,U.apply(null,r)}});$.prototype[B]||C($.prototype,B,$.prototype.valueOf),N($,"Symbol"),R[z]=!0},function(t,e,n){"use strict";var i=n(2),r=n(17),o=n(9),a=n(21),s=n(12),l=n(20).f,c=n(139),u=o.Symbol;if(r&&"function"==typeof u&&(!("description"in u.prototype)||void 0!==u().description)){var h={},f=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof f?new u(t):void 0===t?u():u(t);return""===t&&(h[e]=!0),e};c(f,u);var d=f.prototype=u.prototype;d.constructor=f;var p=d.toString,g="Symbol(test)"==String(u("test")),m=/^Symbol\((.*)\)[^)]+$/;l(d,"description",{configurable:!0,get:function(){var t=s(this)?this.valueOf():this,e=p.call(t);if(a(h,t))return"";var n=g?e.slice(7,-1):e.replace(m,"$1");return""===n?void 0:n}}),i({global:!0,forced:!0},{Symbol:f})}},function(t,e,n){n(35)("asyncIterator")},function(t,e,n){n(35)("hasInstance")},function(t,e,n){n(35)("isConcatSpreadable")},function(t,e,n){n(35)("iterator")},function(t,e,n){n(35)("match")},function(t,e,n){n(35)("replace")},function(t,e,n){n(35)("search")},function(t,e,n){n(35)("species")},function(t,e,n){n(35)("split")},function(t,e,n){n(35)("toPrimitive")},function(t,e,n){n(35)("toStringTag")},function(t,e,n){n(35)("unscopables")},function(t,e,n){"use strict";var i=n(2),r=n(7),o=n(76),a=n(12),s=n(22),l=n(18),c=n(60),u=n(78),h=n(79),f=n(14),d=n(65),p=f("isConcatSpreadable"),g=d>=51||!r((function(){var t=[];return t[p]=!1,t.concat()[0]!==t})),m=h("concat"),v=function(t){if(!a(t))return!1;var e=t[p];return void 0!==e?!!e:o(t)};i({target:"Array",proto:!0,forced:!g||!m},{concat:function(t){var e,n,i,r,o,a=s(this),h=u(a,0),f=0;for(e=-1,i=arguments.length;e<i;e++)if(v(o=-1===e?a:arguments[e])){if(f+(r=l(o.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<r;n++,f++)n in o&&c(h,f,o[n])}else{if(f>=9007199254740991)throw TypeError("Maximum allowed index exceeded");c(h,f++,o)}return h.length=f,h}})},function(t,e,n){var i=n(2),r=n(147),o=n(53);i({target:"Array",proto:!0},{copyWithin:r}),o("copyWithin")},function(t,e,n){var i=n(2),r=n(119),o=n(53);i({target:"Array",proto:!0},{fill:r}),o("fill")},function(t,e,n){"use strict";var i=n(2),r=n(29).filter;i({target:"Array",proto:!0,forced:!n(79)("filter")},{filter:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var i=n(2),r=n(29).find,o=n(53),a=!0;"find"in[]&&Array(1).find((function(){a=!1})),i({target:"Array",proto:!0,forced:a},{find:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),o("find")},function(t,e,n){"use strict";var i=n(2),r=n(29).findIndex,o=n(53),a=!0;"findIndex"in[]&&Array(1).findIndex((function(){a=!1})),i({target:"Array",proto:!0,forced:a},{findIndex:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),o("findIndex")},function(t,e,n){"use strict";var i=n(2),r=n(148),o=n(22),a=n(18),s=n(39),l=n(78);i({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=o(this),n=a(e.length),i=l(e,0);return i.length=r(i,e,e,n,0,void 0===t?1:s(t)),i}})},function(t,e,n){"use strict";var i=n(2),r=n(148),o=n(22),a=n(18),s=n(42),l=n(78);i({target:"Array",proto:!0},{flatMap:function(t){var e,n=o(this),i=a(n.length);return s(t),(e=l(n,0)).length=r(e,n,n,i,0,1,t,arguments.length>1?arguments[1]:void 0),e}})},function(t,e,n){var i=n(2),r=n(149);i({target:"Array",stat:!0,forced:!n(92)((function(t){Array.from(t)}))},{from:r})},function(t,e,n){var i=n(13),r=n(150);t.exports=function(t,e,n,o){try{return o?e(i(n)[0],n[1]):e(n)}catch(e){throw r(t),e}}},function(t,e,n){"use strict";var i=n(2),r=n(90).includes,o=n(53);i({target:"Array",proto:!0},{includes:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),o("includes")},function(t,e,n){"use strict";var i=n(2),r=n(72),o=n(33),a=n(83),s=[].join,l=r!=Object,c=a("join",",");i({target:"Array",proto:!0,forced:l||!c},{join:function(t){return s.call(o(this),void 0===t?",":t)}})},function(t,e,n){"use strict";var i=n(2),r=n(29).map;i({target:"Array",proto:!0,forced:!n(79)("map")},{map:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var i=n(2),r=n(7),o=n(60);i({target:"Array",stat:!0,forced:r((function(){function t(){}return!(Array.of.call(t)instanceof t)}))},{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)o(n,t,arguments[t++]);return n.length=e,n}})},function(t,e,n){"use strict";var i=n(2),r=n(94).left,o=n(83),a=n(65),s=n(59);i({target:"Array",proto:!0,forced:!o("reduce")||!s&&a>79&&a<83},{reduce:function(t){return r(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var i=n(2),r=n(94).right,o=n(83),a=n(65),s=n(59);i({target:"Array",proto:!0,forced:!o("reduceRight")||!s&&a>79&&a<83},{reduceRight:function(t){return r(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var i=n(2),r=n(12),o=n(76),a=n(58),s=n(18),l=n(33),c=n(60),u=n(14),h=n(79)("slice"),f=u("species"),d=[].slice,p=Math.max;i({target:"Array",proto:!0,forced:!h},{slice:function(t,e){var n,i,u,h=l(this),g=s(h.length),m=a(t,g),v=a(void 0===e?g:e,g);if(o(h)&&("function"!=typeof(n=h.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[f])&&(n=void 0):n=void 0,n===Array||void 0===n))return d.call(h,m,v);for(i=new(void 0===n?Array:n)(p(v-m,0)),u=0;m<v;m++,u++)m in h&&c(i,u,h[m]);return i.length=u,i}})},function(t,e,n){n(67)("Array")},function(t,e,n){"use strict";var i=n(2),r=n(58),o=n(39),a=n(18),s=n(22),l=n(78),c=n(60),u=n(79)("splice"),h=Math.max,f=Math.min;i({target:"Array",proto:!0,forced:!u},{splice:function(t,e){var n,i,u,d,p,g,m=s(this),v=a(m.length),y=r(t,v),b=arguments.length;if(0===b?n=i=0:1===b?(n=0,i=v-y):(n=b-2,i=f(h(o(e),0),v-y)),v+n-i>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(u=l(m,i),d=0;d<i;d++)(p=y+d)in m&&c(u,d,m[p]);if(u.length=i,n<i){for(d=y;d<v-i;d++)g=d+n,(p=d+i)in m?m[g]=m[p]:delete m[g];for(d=v;d>v-i+n;d--)delete m[d-1]}else if(n>i)for(d=v-i;d>y;d--)g=d+n-1,(p=d+i-1)in m?m[g]=m[p]:delete m[g];for(d=0;d<n;d++)m[d+y]=arguments[d+2];return m.length=v-i+n,u}})},function(t,e,n){n(53)("flat")},function(t,e,n){n(53)("flatMap")},function(t,e,n){"use strict";var i=n(2),r=n(9),o=n(154),a=n(67),s=o.ArrayBuffer;i({global:!0,forced:r.ArrayBuffer!==s},{ArrayBuffer:s}),a("ArrayBuffer")},function(t,e){var n=Math.abs,i=Math.pow,r=Math.floor,o=Math.log,a=Math.LN2;t.exports={pack:function(t,e,s){var l,c,u,h=new Array(s),f=8*s-e-1,d=(1<<f)-1,p=d>>1,g=23===e?i(2,-24)-i(2,-77):0,m=t<0||0===t&&1/t<0?1:0,v=0;for((t=n(t))!=t||t===1/0?(c=t!=t?1:0,l=d):(l=r(o(t)/a),t*(u=i(2,-l))<1&&(l--,u*=2),(t+=l+p>=1?g/u:g*i(2,1-p))*u>=2&&(l++,u/=2),l+p>=d?(c=0,l=d):l+p>=1?(c=(t*u-1)*i(2,e),l+=p):(c=t*i(2,p-1)*i(2,e),l=0));e>=8;h[v++]=255&c,c/=256,e-=8);for(l=l<<e|c,f+=e;f>0;h[v++]=255&l,l/=256,f-=8);return h[--v]|=128*m,h},unpack:function(t,e){var n,r=t.length,o=8*r-e-1,a=(1<<o)-1,s=a>>1,l=o-7,c=r-1,u=t[c--],h=127&u;for(u>>=7;l>0;h=256*h+t[c],c--,l-=8);for(n=h&(1<<-l)-1,h>>=-l,l+=e;l>0;n=256*n+t[c],c--,l-=8);if(0===h)h=1-s;else{if(h===a)return n?NaN:u?-1/0:1/0;n+=i(2,e),h-=s}return(u?-1:1)*n*i(2,h-e)}}},function(t,e,n){var i=n(31),r=n(223),o=n(14)("toPrimitive"),a=Date.prototype;o in a||i(a,o,r)},function(t,e,n){"use strict";var i=n(13),r=n(44);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return r(i(this),"number"!==t)}},function(t,e,n){"use strict";var i=n(12),r=n(20),o=n(43),a=n(14)("hasInstance"),s=Function.prototype;a in s||r.f(s,a,{value:function(t){if("function"!=typeof this||!i(t))return!1;if(!i(this.prototype))return t instanceof this;for(;t=o(t);)if(this.prototype===t)return!0;return!1}})},function(t,e,n){var i=n(17),r=n(20).f,o=Function.prototype,a=o.toString,s=/^\s*function ([^ (]*)/;i&&!("name"in o)&&r(o,"name",{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(t){return""}}})},function(t,e,n){var i=n(9);n(46)(i.JSON,"JSON",!0)},function(t,e,n){"use strict";var i=n(95),r=n(157);t.exports=i("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),r)},function(t,e,n){var i=n(2),r=n(158),o=Math.acosh,a=Math.log,s=Math.sqrt,l=Math.LN2;i({target:"Math",stat:!0,forced:!o||710!=Math.floor(o(Number.MAX_VALUE))||o(1/0)!=1/0},{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?a(t)+l:r(t-1+s(t-1)*s(t+1))}})},function(t,e,n){var i=n(2),r=Math.asinh,o=Math.log,a=Math.sqrt;i({target:"Math",stat:!0,forced:!(r&&1/r(0)>0)},{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):o(e+a(e*e+1)):e}})},function(t,e,n){var i=n(2),r=Math.atanh,o=Math.log;i({target:"Math",stat:!0,forced:!(r&&1/r(-0)<0)},{atanh:function(t){return 0==(t=+t)?t:o((1+t)/(1-t))/2}})},function(t,e,n){var i=n(2),r=n(124),o=Math.abs,a=Math.pow;i({target:"Math",stat:!0},{cbrt:function(t){return r(t=+t)*a(o(t),1/3)}})},function(t,e,n){var i=n(2),r=Math.floor,o=Math.log,a=Math.LOG2E;i({target:"Math",stat:!0},{clz32:function(t){return(t>>>=0)?31-r(o(t+.5)*a):32}})},function(t,e,n){var i=n(2),r=n(97),o=Math.cosh,a=Math.abs,s=Math.E;i({target:"Math",stat:!0,forced:!o||o(710)===1/0},{cosh:function(t){var e=r(a(t)-1)+1;return(e+1/(e*s*s))*(s/2)}})},function(t,e,n){var i=n(2),r=n(97);i({target:"Math",stat:!0,forced:r!=Math.expm1},{expm1:r})},function(t,e,n){n(2)({target:"Math",stat:!0},{fround:n(236)})},function(t,e,n){var i=n(124),r=Math.abs,o=Math.pow,a=o(2,-52),s=o(2,-23),l=o(2,127)*(2-s),c=o(2,-126);t.exports=Math.fround||function(t){var e,n,o=r(t),u=i(t);return o<c?u*(o/c/s+1/a-1/a)*c*s:(n=(e=(1+s/a)*o)-(e-o))>l||n!=n?u*(1/0):u*n}},function(t,e,n){var i=n(2),r=Math.hypot,o=Math.abs,a=Math.sqrt;i({target:"Math",stat:!0,forced:!!r&&r(1/0,NaN)!==1/0},{hypot:function(t,e){for(var n,i,r=0,s=0,l=arguments.length,c=0;s<l;)c<(n=o(arguments[s++]))?(r=r*(i=c/n)*i+1,c=n):r+=n>0?(i=n/c)*i:n;return c===1/0?1/0:c*a(r)}})},function(t,e,n){var i=n(2),r=n(7),o=Math.imul;i({target:"Math",stat:!0,forced:r((function(){return-5!=o(4294967295,5)||2!=o.length}))},{imul:function(t,e){var n=+t,i=+e,r=65535&n,o=65535&i;return 0|r*o+((65535&n>>>16)*o+r*(65535&i>>>16)<<16>>>0)}})},function(t,e,n){var i=n(2),r=Math.log,o=Math.LOG10E;i({target:"Math",stat:!0},{log10:function(t){return r(t)*o}})},function(t,e,n){n(2)({target:"Math",stat:!0},{log1p:n(158)})},function(t,e,n){var i=n(2),r=Math.log,o=Math.LN2;i({target:"Math",stat:!0},{log2:function(t){return r(t)/o}})},function(t,e,n){n(2)({target:"Math",stat:!0},{sign:n(124)})},function(t,e,n){var i=n(2),r=n(7),o=n(97),a=Math.abs,s=Math.exp,l=Math.E;i({target:"Math",stat:!0,forced:r((function(){return-2e-17!=Math.sinh(-2e-17)}))},{sinh:function(t){return a(t=+t)<1?(o(t)-o(-t))/2:(s(t-1)-s(-t-1))*(l/2)}})},function(t,e,n){var i=n(2),r=n(97),o=Math.exp;i({target:"Math",stat:!0},{tanh:function(t){var e=r(t=+t),n=r(-t);return e==1/0?1:n==1/0?-1:(e-n)/(o(t)+o(-t))}})},function(t,e,n){n(46)(Math,"Math",!0)},function(t,e,n){var i=n(2),r=Math.ceil,o=Math.floor;i({target:"Math",stat:!0},{trunc:function(t){return(t>0?o:r)(t)}})},function(t,e,n){"use strict";var i=n(17),r=n(9),o=n(75),a=n(28),s=n(21),l=n(50),c=n(96),u=n(44),h=n(7),f=n(51),d=n(57).f,p=n(26).f,g=n(20).f,m=n(69).trim,v=r.Number,y=v.prototype,b="Number"==l(f(y)),w=function(t){var e,n,i,r,o,a,s,l,c=u(t,!1);if("string"==typeof c&&c.length>2)if(43===(e=(c=m(c)).charCodeAt(0))||45===e){if(88===(n=c.charCodeAt(2))||120===n)return NaN}else if(48===e){switch(c.charCodeAt(1)){case 66:case 98:i=2,r=49;break;case 79:case 111:i=8,r=55;break;default:return+c}for(a=(o=c.slice(2)).length,s=0;s<a;s++)if((l=o.charCodeAt(s))<48||l>r)return NaN;return parseInt(o,i)}return+c};if(o("Number",!v(" 0o1")||!v("0b1")||v("+0x1"))){for(var _,x=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof x&&(b?h((function(){y.valueOf.call(n)})):"Number"!=l(n))?c(new v(w(e)),n,x):w(e)},T=i?d(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),k=0;T.length>k;k++)s(v,_=T[k])&&!s(x,_)&&g(x,_,p(v,_));x.prototype=y,y.constructor=x,a(r,"Number",x)}},function(t,e,n){n(2)({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},function(t,e,n){n(2)({target:"Number",stat:!0},{isFinite:n(250)})},function(t,e,n){var i=n(9).isFinite;t.exports=Number.isFinite||function(t){return"number"==typeof t&&i(t)}},function(t,e,n){n(2)({target:"Number",stat:!0},{isInteger:n(159)})},function(t,e,n){n(2)({target:"Number",stat:!0},{isNaN:function(t){return t!=t}})},function(t,e,n){var i=n(2),r=n(159),o=Math.abs;i({target:"Number",stat:!0},{isSafeInteger:function(t){return r(t)&&o(t)<=9007199254740991}})},function(t,e,n){n(2)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,n){n(2)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,n){var i=n(2),r=n(257);i({target:"Number",stat:!0,forced:Number.parseFloat!=r},{parseFloat:r})},function(t,e,n){var i=n(9),r=n(69).trim,o=n(98),a=i.parseFloat,s=1/a(o+"-0")!=-1/0;t.exports=s?function(t){var e=r(String(t)),n=a(e);return 0===n&&"-"==e.charAt(0)?-0:n}:a},function(t,e,n){var i=n(2),r=n(259);i({target:"Number",stat:!0,forced:Number.parseInt!=r},{parseInt:r})},function(t,e,n){var i=n(9),r=n(69).trim,o=n(98),a=i.parseInt,s=/^[+-]?0[Xx]/,l=8!==a(o+"08")||22!==a(o+"0x16");t.exports=l?function(t,e){var n=r(String(t));return a(n,e>>>0||(s.test(n)?16:10))}:a},function(t,e,n){"use strict";var i=n(2),r=n(39),o=n(261),a=n(125),s=n(7),l=1..toFixed,c=Math.floor,u=function(t,e,n){return 0===e?n:e%2==1?u(t,e-1,n*t):u(t*t,e/2,n)},h=function(t,e,n){for(var i=-1,r=n;++i<6;)r+=e*t[i],t[i]=r%1e7,r=c(r/1e7)},f=function(t,e){for(var n=6,i=0;--n>=0;)i+=t[n],t[n]=c(i/e),i=i%e*1e7},d=function(t){for(var e=6,n="";--e>=0;)if(""!==n||0===e||0!==t[e]){var i=String(t[e]);n=""===n?i:n+a.call("0",7-i.length)+i}return n};i({target:"Number",proto:!0,forced:l&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!s((function(){l.call({})}))},{toFixed:function(t){var e,n,i,s,l=o(this),c=r(t),p=[0,0,0,0,0,0],g="",m="0";if(c<0||c>20)throw RangeError("Incorrect fraction digits");if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(g="-",l=-l),l>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(l*u(2,69,1))-69)<0?l*u(2,-e,1):l/u(2,e,1),n*=4503599627370496,(e=52-e)>0){for(h(p,0,n),i=c;i>=7;)h(p,1e7,0),i-=7;for(h(p,u(10,i,1),0),i=e-1;i>=23;)f(p,1<<23),i-=23;f(p,1<<i),h(p,1,1),f(p,2),m=d(p)}else h(p,0,n),h(p,1<<-e,0),m=d(p)+a.call("0",c);return m=c>0?g+((s=m.length)<=c?"0."+a.call("0",c-s)+m:m.slice(0,s-c)+"."+m.slice(s-c)):g+m}})},function(t,e,n){var i=n(50);t.exports=function(t){if("number"!=typeof t&&"Number"!=i(t))throw TypeError("Incorrect invocation");return+t}},function(t,e,n){var i=n(2),r=n(160);i({target:"Object",stat:!0,forced:Object.assign!==r},{assign:r})},function(t,e,n){"use strict";var i=n(2),r=n(17),o=n(99),a=n(22),s=n(42),l=n(20);r&&i({target:"Object",proto:!0,forced:o},{__defineGetter__:function(t,e){l.f(a(this),t,{get:s(e),enumerable:!0,configurable:!0})}})},function(t,e,n){"use strict";var i=n(2),r=n(17),o=n(99),a=n(22),s=n(42),l=n(20);r&&i({target:"Object",proto:!0,forced:o},{__defineSetter__:function(t,e){l.f(a(this),t,{set:s(e),enumerable:!0,configurable:!0})}})},function(t,e,n){var i=n(2),r=n(161).entries;i({target:"Object",stat:!0},{entries:function(t){return r(t)}})},function(t,e,n){var i=n(2),r=n(84),o=n(7),a=n(12),s=n(61).onFreeze,l=Object.freeze;i({target:"Object",stat:!0,forced:o((function(){l(1)})),sham:!r},{freeze:function(t){return l&&a(t)?l(s(t)):t}})},function(t,e,n){var i=n(2),r=n(85),o=n(60);i({target:"Object",stat:!0},{fromEntries:function(t){var e={};return r(t,(function(t,n){o(e,t,n)}),{AS_ENTRIES:!0}),e}})},function(t,e,n){var i=n(2),r=n(7),o=n(33),a=n(26).f,s=n(17),l=r((function(){a(1)}));i({target:"Object",stat:!0,forced:!s||l,sham:!s},{getOwnPropertyDescriptor:function(t,e){return a(o(t),e)}})},function(t,e,n){var i=n(2),r=n(17),o=n(115),a=n(33),s=n(26),l=n(60);i({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(t){for(var e,n,i=a(t),r=s.f,c=o(i),u={},h=0;c.length>h;)void 0!==(n=r(i,e=c[h++]))&&l(u,e,n);return u}})},function(t,e,n){var i=n(2),r=n(7),o=n(145).f;i({target:"Object",stat:!0,forced:r((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:o})},function(t,e,n){var i=n(2),r=n(7),o=n(22),a=n(43),s=n(123);i({target:"Object",stat:!0,forced:r((function(){a(1)})),sham:!s},{getPrototypeOf:function(t){return a(o(t))}})},function(t,e,n){n(2)({target:"Object",stat:!0},{is:n(162)})},function(t,e,n){var i=n(2),r=n(7),o=n(12),a=Object.isExtensible;i({target:"Object",stat:!0,forced:r((function(){a(1)}))},{isExtensible:function(t){return!!o(t)&&(!a||a(t))}})},function(t,e,n){var i=n(2),r=n(7),o=n(12),a=Object.isFrozen;i({target:"Object",stat:!0,forced:r((function(){a(1)}))},{isFrozen:function(t){return!o(t)||!!a&&a(t)}})},function(t,e,n){var i=n(2),r=n(7),o=n(12),a=Object.isSealed;i({target:"Object",stat:!0,forced:r((function(){a(1)}))},{isSealed:function(t){return!o(t)||!!a&&a(t)}})},function(t,e,n){var i=n(2),r=n(22),o=n(77);i({target:"Object",stat:!0,forced:n(7)((function(){o(1)}))},{keys:function(t){return o(r(t))}})},function(t,e,n){"use strict";var i=n(2),r=n(17),o=n(99),a=n(22),s=n(44),l=n(43),c=n(26).f;r&&i({target:"Object",proto:!0,forced:o},{__lookupGetter__:function(t){var e,n=a(this),i=s(t,!0);do{if(e=c(n,i))return e.get}while(n=l(n))}})},function(t,e,n){"use strict";var i=n(2),r=n(17),o=n(99),a=n(22),s=n(44),l=n(43),c=n(26).f;r&&i({target:"Object",proto:!0,forced:o},{__lookupSetter__:function(t){var e,n=a(this),i=s(t,!0);do{if(e=c(n,i))return e.set}while(n=l(n))}})},function(t,e,n){var i=n(2),r=n(12),o=n(61).onFreeze,a=n(84),s=n(7),l=Object.preventExtensions;i({target:"Object",stat:!0,forced:s((function(){l(1)})),sham:!a},{preventExtensions:function(t){return l&&r(t)?l(o(t)):t}})},function(t,e,n){var i=n(2),r=n(12),o=n(61).onFreeze,a=n(84),s=n(7),l=Object.seal;i({target:"Object",stat:!0,forced:s((function(){l(1)})),sham:!a},{seal:function(t){return l&&r(t)?l(o(t)):t}})},function(t,e,n){var i=n(121),r=n(28),o=n(282);i||r(Object.prototype,"toString",o,{unsafe:!0})},function(t,e,n){"use strict";var i=n(121),r=n(82);t.exports=i?{}.toString:function(){return"[object "+r(this)+"]"}},function(t,e,n){var i=n(2),r=n(161).values;i({target:"Object",stat:!0},{values:function(t){return r(t)}})},function(t,e,n){"use strict";var i,r,o,a,s=n(2),l=n(45),c=n(9),u=n(41),h=n(163),f=n(28),d=n(68),p=n(46),g=n(67),m=n(12),v=n(42),y=n(54),b=n(112),w=n(85),_=n(92),x=n(62),T=n(126).set,k=n(165),A=n(166),S=n(286),C=n(167),P=n(287),E=n(34),O=n(75),R=n(14),I=n(59),q=n(65),M=R("species"),L="Promise",N=E.get,D=E.set,F=E.getterFor(L),z=h,B=c.TypeError,j=c.document,H=c.process,W=u("fetch"),$=C.f,U=$,X=!!(j&&j.createEvent&&c.dispatchEvent),Y="function"==typeof PromiseRejectionEvent,V=O(L,(function(){if(!(b(z)!==String(z))){if(66===q)return!0;if(!I&&!Y)return!0}if(l&&!z.prototype.finally)return!0;if(q>=51&&/native code/.test(z))return!1;var t=z.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[M]=e,!(t.then((function(){}))instanceof e)})),G=V||!_((function(t){z.all(t).catch((function(){}))})),Q=function(t){var e;return!(!m(t)||"function"!=typeof(e=t.then))&&e},J=function(t,e){if(!t.notified){t.notified=!0;var n=t.reactions;k((function(){for(var i=t.value,r=1==t.state,o=0;n.length>o;){var a,s,l,c=n[o++],u=r?c.ok:c.fail,h=c.resolve,f=c.reject,d=c.domain;try{u?(r||(2===t.rejection&&et(t),t.rejection=1),!0===u?a=i:(d&&d.enter(),a=u(i),d&&(d.exit(),l=!0)),a===c.promise?f(B("Promise-chain cycle")):(s=Q(a))?s.call(a,h,f):h(a)):f(i)}catch(t){d&&!l&&d.exit(),f(t)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&Z(t)}))}},K=function(t,e,n){var i,r;X?((i=j.createEvent("Event")).promise=e,i.reason=n,i.initEvent(t,!1,!0),c.dispatchEvent(i)):i={promise:e,reason:n},!Y&&(r=c["on"+t])?r(i):"unhandledrejection"===t&&S("Unhandled promise rejection",n)},Z=function(t){T.call(c,(function(){var e,n=t.facade,i=t.value;if(tt(t)&&(e=P((function(){I?H.emit("unhandledRejection",i,n):K("unhandledrejection",n,i)})),t.rejection=I||tt(t)?2:1,e.error))throw e.value}))},tt=function(t){return 1!==t.rejection&&!t.parent},et=function(t){T.call(c,(function(){var e=t.facade;I?H.emit("rejectionHandled",e):K("rejectionhandled",e,t.value)}))},nt=function(t,e,n){return function(i){t(e,i,n)}},it=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,J(t,!0))},rt=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw B("Promise can't be resolved itself");var i=Q(e);i?k((function(){var n={done:!1};try{i.call(e,nt(rt,n,t),nt(it,n,t))}catch(e){it(n,e,t)}})):(t.value=e,t.state=1,J(t,!1))}catch(e){it({done:!1},e,t)}}};V&&(z=function(t){y(this,z,L),v(t),i.call(this);var e=N(this);try{t(nt(rt,e),nt(it,e))}catch(t){it(e,t)}},(i=function(t){D(this,{type:L,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(z.prototype,{then:function(t,e){var n=F(this),i=$(x(this,z));return i.ok="function"!=typeof t||t,i.fail="function"==typeof e&&e,i.domain=I?H.domain:void 0,n.parent=!0,n.reactions.push(i),0!=n.state&&J(n,!1),i.promise},catch:function(t){return this.then(void 0,t)}}),r=function(){var t=new i,e=N(t);this.promise=t,this.resolve=nt(rt,e),this.reject=nt(it,e)},C.f=$=function(t){return t===z||t===o?new r(t):U(t)},l||"function"!=typeof h||(a=h.prototype.then,f(h.prototype,"then",(function(t,e){var n=this;return new z((function(t,e){a.call(n,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof W&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return A(z,W.apply(c,arguments))}}))),s({global:!0,wrap:!0,forced:V},{Promise:z}),p(z,L,!1,!0),g(L),o=u(L),s({target:L,stat:!0,forced:V},{reject:function(t){var e=$(this);return e.reject.call(void 0,t),e.promise}}),s({target:L,stat:!0,forced:l||V},{resolve:function(t){return A(l&&this===o?z:this,t)}}),s({target:L,stat:!0,forced:G},{all:function(t){var e=this,n=$(e),i=n.resolve,r=n.reject,o=P((function(){var n=v(e.resolve),o=[],a=0,s=1;w(t,(function(t){var l=a++,c=!1;o.push(void 0),s++,n.call(e,t).then((function(t){c||(c=!0,o[l]=t,--s||i(o))}),r)})),--s||i(o)}));return o.error&&r(o.value),n.promise},race:function(t){var e=this,n=$(e),i=n.reject,r=P((function(){var r=v(e.resolve);w(t,(function(t){r.call(e,t).then(n.resolve,i)}))}));return r.error&&i(r.value),n.promise}})},function(t,e,n){var i=n(91);t.exports=/web0s(?!.*chrome)/i.test(i)},function(t,e,n){var i=n(9);t.exports=function(t,e){var n=i.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},function(t,e,n){"use strict";var i=n(2),r=n(45),o=n(163),a=n(7),s=n(41),l=n(62),c=n(166),u=n(28);i({target:"Promise",proto:!0,real:!0,forced:!!o&&a((function(){o.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var e=l(this,s("Promise")),n="function"==typeof t;return this.then(n?function(n){return c(e,t()).then((function(){return n}))}:t,n?function(n){return c(e,t()).then((function(){throw n}))}:t)}}),r||"function"!=typeof o||o.prototype.finally||u(o.prototype,"finally",s("Promise").prototype.finally)},function(t,e,n){var i=n(2),r=n(41),o=n(42),a=n(13),s=n(7),l=r("Reflect","apply"),c=Function.apply;i({target:"Reflect",stat:!0,forced:!s((function(){l((function(){}))}))},{apply:function(t,e,n){return o(t),a(n),l?l(t,e,n):c.call(t,e,n)}})},function(t,e,n){var i=n(2),r=n(41),o=n(42),a=n(13),s=n(12),l=n(51),c=n(291),u=n(7),h=r("Reflect","construct"),f=u((function(){function t(){}return!(h((function(){}),[],t)instanceof t)})),d=!u((function(){h((function(){}))})),p=f||d;i({target:"Reflect",stat:!0,forced:p,sham:p},{construct:function(t,e){o(t),a(e);var n=arguments.length<3?t:o(arguments[2]);if(d&&!f)return h(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var i=[null];return i.push.apply(i,e),new(c.apply(t,i))}var r=n.prototype,u=l(s(r)?r:Object.prototype),p=Function.apply.call(t,u,e);return s(p)?p:u}})},function(t,e,n){"use strict";var i=n(42),r=n(12),o=[].slice,a={},s=function(t,e,n){if(!(e in a)){for(var i=[],r=0;r<e;r++)i[r]="a["+r+"]";a[e]=Function("C,a","return new C("+i.join(",")+")")}return a[e](t,n)};t.exports=Function.bind||function(t){var e=i(this),n=o.call(arguments,1),a=function(){var i=n.concat(o.call(arguments));return this instanceof a?s(e,i.length,i):e.apply(t,i)};return r(e.prototype)&&(a.prototype=e.prototype),a}},function(t,e,n){var i=n(2),r=n(17),o=n(13),a=n(44),s=n(20);i({target:"Reflect",stat:!0,forced:n(7)((function(){Reflect.defineProperty(s.f({},1,{value:1}),1,{value:2})})),sham:!r},{defineProperty:function(t,e,n){o(t);var i=a(e,!0);o(n);try{return s.f(t,i,n),!0}catch(t){return!1}}})},function(t,e,n){var i=n(2),r=n(13),o=n(26).f;i({target:"Reflect",stat:!0},{deleteProperty:function(t,e){var n=o(r(t),e);return!(n&&!n.configurable)&&delete t[e]}})},function(t,e,n){var i=n(2),r=n(12),o=n(13),a=n(21),s=n(26),l=n(43);i({target:"Reflect",stat:!0},{get:function t(e,n){var i,c,u=arguments.length<3?e:arguments[2];return o(e)===u?e[n]:(i=s.f(e,n))?a(i,"value")?i.value:void 0===i.get?void 0:i.get.call(u):r(c=l(e))?t(c,n,u):void 0}})},function(t,e,n){var i=n(2),r=n(17),o=n(13),a=n(26);i({target:"Reflect",stat:!0,sham:!r},{getOwnPropertyDescriptor:function(t,e){return a.f(o(t),e)}})},function(t,e,n){var i=n(2),r=n(13),o=n(43);i({target:"Reflect",stat:!0,sham:!n(123)},{getPrototypeOf:function(t){return o(r(t))}})},function(t,e,n){n(2)({target:"Reflect",stat:!0},{has:function(t,e){return e in t}})},function(t,e,n){var i=n(2),r=n(13),o=Object.isExtensible;i({target:"Reflect",stat:!0},{isExtensible:function(t){return r(t),!o||o(t)}})},function(t,e,n){n(2)({target:"Reflect",stat:!0},{ownKeys:n(115)})},function(t,e,n){var i=n(2),r=n(41),o=n(13);i({target:"Reflect",stat:!0,sham:!n(84)},{preventExtensions:function(t){o(t);try{var e=r("Object","preventExtensions");return e&&e(t),!0}catch(t){return!1}}})},function(t,e,n){var i=n(2),r=n(13),o=n(12),a=n(21),s=n(7),l=n(20),c=n(26),u=n(43),h=n(49);i({target:"Reflect",stat:!0,forced:s((function(){var t=function(){},e=l.f(new t,"a",{configurable:!0});return!1!==Reflect.set(t.prototype,"a",1,e)}))},{set:function t(e,n,i){var s,f,d=arguments.length<4?e:arguments[3],p=c.f(r(e),n);if(!p){if(o(f=u(e)))return t(f,n,i,d);p=h(0)}if(a(p,"value")){if(!1===p.writable||!o(d))return!1;if(s=c.f(d,n)){if(s.get||s.set||!1===s.writable)return!1;s.value=i,l.f(d,n,s)}else l.f(d,n,h(0,i));return!0}return void 0!==p.set&&(p.set.call(d,i),!0)}})},function(t,e,n){var i=n(2),r=n(13),o=n(153),a=n(66);a&&i({target:"Reflect",stat:!0},{setPrototypeOf:function(t,e){r(t),o(e);try{return a(t,e),!0}catch(t){return!1}}})},function(t,e,n){var i=n(17),r=n(9),o=n(75),a=n(96),s=n(20).f,l=n(57).f,c=n(127),u=n(100),h=n(128),f=n(28),d=n(7),p=n(34).set,g=n(67),m=n(14)("match"),v=r.RegExp,y=v.prototype,b=/a/g,w=/a/g,_=new v(b)!==b,x=h.UNSUPPORTED_Y;if(i&&o("RegExp",!_||x||d((function(){return w[m]=!1,v(b)!=b||v(w)==w||"/a/i"!=v(b,"i")})))){for(var T=function(t,e){var n,i=this instanceof T,r=c(t),o=void 0===e;if(!i&&r&&t.constructor===T&&o)return t;_?r&&!o&&(t=t.source):t instanceof T&&(o&&(e=u.call(t)),t=t.source),x&&(n=!!e&&e.indexOf("y")>-1)&&(e=e.replace(/y/g,""));var s=a(_?new v(t,e):v(t,e),i?this:y,T);return x&&n&&p(s,{sticky:n}),s},k=function(t){t in T||s(T,t,{configurable:!0,get:function(){return v[t]},set:function(e){v[t]=e}})},A=l(v),S=0;A.length>S;)k(A[S++]);y.constructor=T,T.prototype=y,f(r,"RegExp",T)}g("RegExp")},function(t,e,n){var i=n(17),r=n(20),o=n(100),a=n(128).UNSUPPORTED_Y;i&&("g"!=/./g.flags||a)&&r.f(RegExp.prototype,"flags",{configurable:!0,get:o})},function(t,e,n){"use strict";var i=n(28),r=n(13),o=n(7),a=n(100),s=RegExp.prototype,l=s.toString,c=o((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),u="toString"!=l.name;(c||u)&&i(RegExp.prototype,"toString",(function(){var t=r(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in s)?a.call(t):n)}),{unsafe:!0})},function(t,e,n){"use strict";var i=n(95),r=n(157);t.exports=i("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),r)},function(t,e,n){"use strict";var i=n(2),r=n(102).codeAt;i({target:"String",proto:!0},{codePointAt:function(t){return r(this,t)}})},function(t,e,n){"use strict";var i,r=n(2),o=n(26).f,a=n(18),s=n(129),l=n(30),c=n(130),u=n(45),h="".endsWith,f=Math.min,d=c("endsWith");r({target:"String",proto:!0,forced:!!(u||d||(i=o(String.prototype,"endsWith"),!i||i.writable))&&!d},{endsWith:function(t){var e=String(l(this));s(t);var n=arguments.length>1?arguments[1]:void 0,i=a(e.length),r=void 0===n?i:f(a(n),i),o=String(t);return h?h.call(e,o,r):e.slice(r-o.length,r)===o}})},function(t,e,n){var i=n(2),r=n(58),o=String.fromCharCode,a=String.fromCodePoint;i({target:"String",stat:!0,forced:!!a&&1!=a.length},{fromCodePoint:function(t){for(var e,n=[],i=arguments.length,a=0;i>a;){if(e=+arguments[a++],r(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?o(e):o(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},function(t,e,n){"use strict";var i=n(2),r=n(129),o=n(30);i({target:"String",proto:!0,forced:!n(130)("includes")},{includes:function(t){return!!~String(o(this)).indexOf(r(t),arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var i=n(103),r=n(13),o=n(18),a=n(30),s=n(131),l=n(104);i("match",1,(function(t,e,n){return[function(e){var n=a(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,n):new RegExp(e)[t](String(n))},function(t){var i=n(e,t,this);if(i.done)return i.value;var a=r(t),c=String(this);if(!a.global)return l(a,c);var u=a.unicode;a.lastIndex=0;for(var h,f=[],d=0;null!==(h=l(a,c));){var p=String(h[0]);f[d]=p,""===p&&(a.lastIndex=s(c,o(a.lastIndex),u)),d++}return 0===d?null:f}]}))},function(t,e,n){"use strict";var i=n(2),r=n(170).end;i({target:"String",proto:!0,forced:n(171)},{padEnd:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var i=n(2),r=n(170).start;i({target:"String",proto:!0,forced:n(171)},{padStart:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var i=n(2),r=n(33),o=n(18);i({target:"String",stat:!0},{raw:function(t){for(var e=r(t.raw),n=o(e.length),i=arguments.length,a=[],s=0;n>s;)a.push(String(e[s++])),s<i&&a.push(String(arguments[s]));return a.join("")}})},function(t,e,n){n(2)({target:"String",proto:!0},{repeat:n(125)})},function(t,e,n){"use strict";var i=n(103),r=n(13),o=n(18),a=n(39),s=n(30),l=n(131),c=n(317),u=n(104),h=Math.max,f=Math.min;i("replace",2,(function(t,e,n,i){var d=i.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,p=i.REPLACE_KEEPS_$0,g=d?"$":"$0";return[function(n,i){var r=s(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,r,i):e.call(String(r),n,i)},function(t,i){if(!d&&p||"string"==typeof i&&-1===i.indexOf(g)){var s=n(e,t,this,i);if(s.done)return s.value}var m=r(t),v=String(this),y="function"==typeof i;y||(i=String(i));var b=m.global;if(b){var w=m.unicode;m.lastIndex=0}for(var _=[];;){var x=u(m,v);if(null===x)break;if(_.push(x),!b)break;""===String(x[0])&&(m.lastIndex=l(v,o(m.lastIndex),w))}for(var T,k="",A=0,S=0;S<_.length;S++){x=_[S];for(var C=String(x[0]),P=h(f(a(x.index),v.length),0),E=[],O=1;O<x.length;O++)E.push(void 0===(T=x[O])?T:String(T));var R=x.groups;if(y){var I=[C].concat(E,P,v);void 0!==R&&I.push(R);var q=String(i.apply(void 0,I))}else q=c(C,v,P,E,R,i);P>=A&&(k+=v.slice(A,P)+q,A=P+C.length)}return k+v.slice(A)}]}))},function(t,e,n){var i=n(22),r=Math.floor,o="".replace,a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,l,c,u){var h=n+t.length,f=l.length,d=s;return void 0!==c&&(c=i(c),d=a),o.call(u,d,(function(i,o){var a;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(h);case"<":a=c[o.slice(1,-1)];break;default:var s=+o;if(0===s)return i;if(s>f){var u=r(s/10);return 0===u?i:u<=f?void 0===l[u-1]?o.charAt(1):l[u-1]+o.charAt(1):i}a=l[s-1]}return void 0===a?"":a}))}},function(t,e,n){"use strict";var i=n(103),r=n(13),o=n(30),a=n(162),s=n(104);i("search",1,(function(t,e,n){return[function(e){var n=o(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,n):new RegExp(e)[t](String(n))},function(t){var i=n(e,t,this);if(i.done)return i.value;var o=r(t),l=String(this),c=o.lastIndex;a(c,0)||(o.lastIndex=0);var u=s(o,l);return a(o.lastIndex,c)||(o.lastIndex=c),null===u?-1:u.index}]}))},function(t,e,n){"use strict";var i=n(103),r=n(127),o=n(13),a=n(30),s=n(62),l=n(131),c=n(18),u=n(104),h=n(101),f=n(7),d=[].push,p=Math.min,g=!f((function(){return!RegExp(4294967295,"y")}));i("split",2,(function(t,e,n){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var i=String(a(this)),o=void 0===n?4294967295:n>>>0;if(0===o)return[];if(void 0===t)return[i];if(!r(t))return e.call(i,t,o);for(var s,l,c,u=[],f=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),p=0,g=new RegExp(t.source,f+"g");(s=h.call(g,i))&&!((l=g.lastIndex)>p&&(u.push(i.slice(p,s.index)),s.length>1&&s.index<i.length&&d.apply(u,s.slice(1)),c=s[0].length,p=l,u.length>=o));)g.lastIndex===s.index&&g.lastIndex++;return p===i.length?!c&&g.test("")||u.push(""):u.push(i.slice(p)),u.length>o?u.slice(0,o):u}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var r=a(this),o=null==e?void 0:e[t];return void 0!==o?o.call(e,r,n):i.call(String(r),e,n)},function(t,r){var a=n(i,t,this,r,i!==e);if(a.done)return a.value;var h=o(t),f=String(this),d=s(h,RegExp),m=h.unicode,v=(h.ignoreCase?"i":"")+(h.multiline?"m":"")+(h.unicode?"u":"")+(g?"y":"g"),y=new d(g?h:"^(?:"+h.source+")",v),b=void 0===r?4294967295:r>>>0;if(0===b)return[];if(0===f.length)return null===u(y,f)?[f]:[];for(var w=0,_=0,x=[];_<f.length;){y.lastIndex=g?_:0;var T,k=u(y,g?f:f.slice(_));if(null===k||(T=p(c(y.lastIndex+(g?0:_)),f.length))===w)_=l(f,_,m);else{if(x.push(f.slice(w,_)),x.length===b)return x;for(var A=1;A<=k.length-1;A++)if(x.push(k[A]),x.length===b)return x;_=w=T}}return x.push(f.slice(w)),x}]}),!g)},function(t,e,n){"use strict";var i,r=n(2),o=n(26).f,a=n(18),s=n(129),l=n(30),c=n(130),u=n(45),h="".startsWith,f=Math.min,d=c("startsWith");r({target:"String",proto:!0,forced:!!(u||d||(i=o(String.prototype,"startsWith"),!i||i.writable))&&!d},{startsWith:function(t){var e=String(l(this));s(t);var n=a(f(arguments.length>1?arguments[1]:void 0,e.length)),i=String(t);return h?h.call(e,i,n):e.slice(n,n+i.length)===i}})},function(t,e,n){"use strict";var i=n(2),r=n(69).trim;i({target:"String",proto:!0,forced:n(132)("trim")},{trim:function(){return r(this)}})},function(t,e,n){"use strict";var i=n(2),r=n(69).end,o=n(132)("trimEnd"),a=o?function(){return r(this)}:"".trimEnd;i({target:"String",proto:!0,forced:o},{trimEnd:a,trimRight:a})},function(t,e,n){"use strict";var i=n(2),r=n(69).start,o=n(132)("trimStart"),a=o?function(){return r(this)}:"".trimStart;i({target:"String",proto:!0,forced:o},{trimStart:a,trimLeft:a})},function(t,e,n){"use strict";var i=n(2),r=n(36);i({target:"String",proto:!0,forced:n(37)("anchor")},{anchor:function(t){return r(this,"a","name",t)}})},function(t,e,n){"use strict";var i=n(2),r=n(36);i({target:"String",proto:!0,forced:n(37)("big")},{big:function(){return r(this,"big","","")}})},function(t,e,n){"use strict";var i=n(2),r=n(36);i({target:"String",proto:!0,forced:n(37)("blink")},{blink:function(){return r(this,"blink","","")}})},function(t,e,n){"use strict";var i=n(2),r=n(36);i({target:"String",proto:!0,forced:n(37)("bold")},{bold:function(){return r(this,"b","","")}})},function(t,e,n){"use strict";var i=n(2),r=n(36);i({target:"String",proto:!0,forced:n(37)("fixed")},{fixed:function(){return r(this,"tt","","")}})},function(t,e,n){"use strict";var i=n(2),r=n(36);i({target:"String",proto:!0,forced:n(37)("fontcolor")},{fontcolor:function(t){return r(this,"font","color",t)}})},function(t,e,n){"use strict";var i=n(2),r=n(36);i({target:"String",proto:!0,forced:n(37)("fontsize")},{fontsize:function(t){return r(this,"font","size",t)}})},function(t,e,n){"use strict";var i=n(2),r=n(36);i({target:"String",proto:!0,forced:n(37)("italics")},{italics:function(){return r(this,"i","","")}})},function(t,e,n){"use strict";var i=n(2),r=n(36);i({target:"String",proto:!0,forced:n(37)("link")},{link:function(t){return r(this,"a","href",t)}})},function(t,e,n){"use strict";var i=n(2),r=n(36);i({target:"String",proto:!0,forced:n(37)("small")},{small:function(){return r(this,"small","","")}})},function(t,e,n){"use strict";var i=n(2),r=n(36);i({target:"String",proto:!0,forced:n(37)("strike")},{strike:function(){return r(this,"strike","","")}})},function(t,e,n){"use strict";var i=n(2),r=n(36);i({target:"String",proto:!0,forced:n(37)("sub")},{sub:function(){return r(this,"sub","","")}})},function(t,e,n){"use strict";var i=n(2),r=n(36);i({target:"String",proto:!0,forced:n(37)("sup")},{sup:function(){return r(this,"sup","","")}})},function(t,e,n){n(48)("Float32",(function(t){return function(e,n,i){return t(this,e,n,i)}}))},function(t,e,n){var i=n(39);t.exports=function(t){var e=i(t);if(e<0)throw RangeError("The argument can't be less than 0");return e}},function(t,e,n){n(48)("Float64",(function(t){return function(e,n,i){return t(this,e,n,i)}}))},function(t,e,n){n(48)("Int8",(function(t){return function(e,n,i){return t(this,e,n,i)}}))},function(t,e,n){n(48)("Int16",(function(t){return function(e,n,i){return t(this,e,n,i)}}))},function(t,e,n){n(48)("Int32",(function(t){return function(e,n,i){return t(this,e,n,i)}}))},function(t,e,n){n(48)("Uint8",(function(t){return function(e,n,i){return t(this,e,n,i)}}))},function(t,e,n){n(48)("Uint8",(function(t){return function(e,n,i){return t(this,e,n,i)}}),!0)},function(t,e,n){n(48)("Uint16",(function(t){return function(e,n,i){return t(this,e,n,i)}}))},function(t,e,n){n(48)("Uint32",(function(t){return function(e,n,i){return t(this,e,n,i)}}))},function(t,e,n){"use strict";var i=n(15),r=n(147),o=i.aTypedArray;(0,i.exportTypedArrayMethod)("copyWithin",(function(t,e){return r.call(o(this),t,e,arguments.length>2?arguments[2]:void 0)}))},function(t,e,n){"use strict";var i=n(15),r=n(29).every,o=i.aTypedArray;(0,i.exportTypedArrayMethod)("every",(function(t){return r(o(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var i=n(15),r=n(119),o=i.aTypedArray;(0,i.exportTypedArrayMethod)("fill",(function(t){return r.apply(o(this),arguments)}))},function(t,e,n){"use strict";var i=n(15),r=n(29).filter,o=n(351),a=i.aTypedArray;(0,i.exportTypedArrayMethod)("filter",(function(t){var e=r(a(this),t,arguments.length>1?arguments[1]:void 0);return o(this,e)}))},function(t,e,n){var i=n(15).aTypedArrayConstructor,r=n(62);t.exports=function(t,e){for(var n=r(t,t.constructor),o=0,a=e.length,s=new(i(n))(a);a>o;)s[o]=e[o++];return s}},function(t,e,n){"use strict";var i=n(15),r=n(29).find,o=i.aTypedArray;(0,i.exportTypedArrayMethod)("find",(function(t){return r(o(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var i=n(15),r=n(29).findIndex,o=i.aTypedArray;(0,i.exportTypedArrayMethod)("findIndex",(function(t){return r(o(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var i=n(15),r=n(29).forEach,o=i.aTypedArray;(0,i.exportTypedArrayMethod)("forEach",(function(t){r(o(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var i=n(133);(0,n(15).exportTypedArrayStaticMethod)("from",n(173),i)},function(t,e,n){"use strict";var i=n(15),r=n(90).includes,o=i.aTypedArray;(0,i.exportTypedArrayMethod)("includes",(function(t){return r(o(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var i=n(15),r=n(90).indexOf,o=i.aTypedArray;(0,i.exportTypedArrayMethod)("indexOf",(function(t){return r(o(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var i=n(9),r=n(15),o=n(93),a=n(14)("iterator"),s=i.Uint8Array,l=o.values,c=o.keys,u=o.entries,h=r.aTypedArray,f=r.exportTypedArrayMethod,d=s&&s.prototype[a],p=!!d&&("values"==d.name||null==d.name),g=function(){return l.call(h(this))};f("entries",(function(){return u.call(h(this))})),f("keys",(function(){return c.call(h(this))})),f("values",g,!p),f(a,g,!p)},function(t,e,n){"use strict";var i=n(15),r=i.aTypedArray,o=i.exportTypedArrayMethod,a=[].join;o("join",(function(t){return a.apply(r(this),arguments)}))},function(t,e,n){"use strict";var i=n(15),r=n(361),o=i.aTypedArray;(0,i.exportTypedArrayMethod)("lastIndexOf",(function(t){return r.apply(o(this),arguments)}))},function(t,e,n){"use strict";var i=n(33),r=n(39),o=n(18),a=n(83),s=Math.min,l=[].lastIndexOf,c=!!l&&1/[1].lastIndexOf(1,-0)<0,u=a("lastIndexOf"),h=c||!u;t.exports=h?function(t){if(c)return l.apply(this,arguments)||0;var e=i(this),n=o(e.length),a=n-1;for(arguments.length>1&&(a=s(a,r(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in e&&e[a]===t)return a||0;return-1}:l},function(t,e,n){"use strict";var i=n(15),r=n(29).map,o=n(62),a=i.aTypedArray,s=i.aTypedArrayConstructor;(0,i.exportTypedArrayMethod)("map",(function(t){return r(a(this),t,arguments.length>1?arguments[1]:void 0,(function(t,e){return new(s(o(t,t.constructor)))(e)}))}))},function(t,e,n){"use strict";var i=n(15),r=n(133),o=i.aTypedArrayConstructor;(0,i.exportTypedArrayStaticMethod)("of",(function(){for(var t=0,e=arguments.length,n=new(o(this))(e);e>t;)n[t]=arguments[t++];return n}),r)},function(t,e,n){"use strict";var i=n(15),r=n(94).left,o=i.aTypedArray;(0,i.exportTypedArrayMethod)("reduce",(function(t){return r(o(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var i=n(15),r=n(94).right,o=i.aTypedArray;(0,i.exportTypedArrayMethod)("reduceRight",(function(t){return r(o(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var i=n(15),r=i.aTypedArray,o=i.exportTypedArrayMethod,a=Math.floor;o("reverse",(function(){for(var t,e=r(this).length,n=a(e/2),i=0;i<n;)t=this[i],this[i++]=this[--e],this[e]=t;return this}))},function(t,e,n){"use strict";var i=n(15),r=n(18),o=n(172),a=n(22),s=n(7),l=i.aTypedArray;(0,i.exportTypedArrayMethod)("set",(function(t){l(this);var e=o(arguments.length>1?arguments[1]:void 0,1),n=this.length,i=a(t),s=r(i.length),c=0;if(s+e>n)throw RangeError("Wrong length");for(;c<s;)this[e+c]=i[c++]}),s((function(){new Int8Array(1).set({})})))},function(t,e,n){"use strict";var i=n(15),r=n(62),o=n(7),a=i.aTypedArray,s=i.aTypedArrayConstructor,l=i.exportTypedArrayMethod,c=[].slice;l("slice",(function(t,e){for(var n=c.call(a(this),t,e),i=r(this,this.constructor),o=0,l=n.length,u=new(s(i))(l);l>o;)u[o]=n[o++];return u}),o((function(){new Int8Array(1).slice()})))},function(t,e,n){"use strict";var i=n(15),r=n(29).some,o=i.aTypedArray;(0,i.exportTypedArrayMethod)("some",(function(t){return r(o(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var i=n(15),r=i.aTypedArray,o=i.exportTypedArrayMethod,a=[].sort;o("sort",(function(t){return a.call(r(this),t)}))},function(t,e,n){"use strict";var i=n(15),r=n(18),o=n(58),a=n(62),s=i.aTypedArray;(0,i.exportTypedArrayMethod)("subarray",(function(t,e){var n=s(this),i=n.length,l=o(t,i);return new(a(n,n.constructor))(n.buffer,n.byteOffset+l*n.BYTES_PER_ELEMENT,r((void 0===e?i:o(e,i))-l))}))},function(t,e,n){"use strict";var i=n(9),r=n(15),o=n(7),a=i.Int8Array,s=r.aTypedArray,l=r.exportTypedArrayMethod,c=[].toLocaleString,u=[].slice,h=!!a&&o((function(){c.call(new a(1))}));l("toLocaleString",(function(){return c.apply(h?u.call(s(this)):s(this),arguments)}),o((function(){return[1,2].toLocaleString()!=new a([1,2]).toLocaleString()}))||!o((function(){a.prototype.toLocaleString.call([1,2])})))},function(t,e,n){"use strict";var i=n(15).exportTypedArrayMethod,r=n(7),o=n(9).Uint8Array,a=o&&o.prototype||{},s=[].toString,l=[].join;r((function(){s.call({})}))&&(s=function(){return l.call(this)});var c=a.toString!=s;i("toString",s,c)},function(t,e,n){"use strict";var i,r=n(9),o=n(68),a=n(61),s=n(95),l=n(174),c=n(12),u=n(34).enforce,h=n(138),f=!r.ActiveXObject&&"ActiveXObject"in r,d=Object.isExtensible,p=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},g=t.exports=s("WeakMap",p,l);if(h&&f){i=l.getConstructor(p,"WeakMap",!0),a.REQUIRED=!0;var m=g.prototype,v=m.delete,y=m.has,b=m.get,w=m.set;o(m,{delete:function(t){if(c(t)&&!d(t)){var e=u(this);return e.frozen||(e.frozen=new i),v.call(this,t)||e.frozen.delete(t)}return v.call(this,t)},has:function(t){if(c(t)&&!d(t)){var e=u(this);return e.frozen||(e.frozen=new i),y.call(this,t)||e.frozen.has(t)}return y.call(this,t)},get:function(t){if(c(t)&&!d(t)){var e=u(this);return e.frozen||(e.frozen=new i),y.call(this,t)?b.call(this,t):e.frozen.get(t)}return b.call(this,t)},set:function(t,e){if(c(t)&&!d(t)){var n=u(this);n.frozen||(n.frozen=new i),y.call(this,t)?w.call(this,t,e):n.frozen.set(t,e)}else w.call(this,t,e);return this}})}},function(t,e,n){"use strict";n(95)("WeakSet",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),n(174))},function(t,e,n){var i=n(9),r=n(175),o=n(377),a=n(31);for(var s in r){var l=i[s],c=l&&l.prototype;if(c&&c.forEach!==o)try{a(c,"forEach",o)}catch(t){c.forEach=o}}},function(t,e,n){"use strict";var i=n(29).forEach,r=n(83)("forEach");t.exports=r?[].forEach:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}},function(t,e,n){var i=n(9),r=n(175),o=n(93),a=n(31),s=n(14),l=s("iterator"),c=s("toStringTag"),u=o.values;for(var h in r){var f=i[h],d=f&&f.prototype;if(d){if(d[l]!==u)try{a(d,l,u)}catch(t){d[l]=u}if(d[c]||a(d,c,h),r[h])for(var p in o)if(d[p]!==o[p])try{a(d,p,o[p])}catch(t){d[p]=o[p]}}}},function(t,e,n){var i=n(2),r=n(9),o=n(126);i({global:!0,bind:!0,enumerable:!0,forced:!r.setImmediate||!r.clearImmediate},{setImmediate:o.set,clearImmediate:o.clear})},function(t,e,n){var i=n(2),r=n(9),o=n(165),a=n(59),s=r.process;i({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(t){var e=a&&s.domain;o(e?e.bind(t):t)}})},function(t,e,n){"use strict";n(169);var i,r=n(2),o=n(17),a=n(176),s=n(9),l=n(143),c=n(28),u=n(54),h=n(21),f=n(160),d=n(149),p=n(102).codeAt,g=n(382),m=n(46),v=n(177),y=n(34),b=s.URL,w=v.URLSearchParams,_=v.getState,x=y.set,T=y.getterFor("URL"),k=Math.floor,A=Math.pow,S=/[A-Za-z]/,C=/[\d+-.A-Za-z]/,P=/\d/,E=/^(0x|0X)/,O=/^[0-7]+$/,R=/^\d+$/,I=/^[\dA-Fa-f]+$/,q=/[\u0000\t\u000A\u000D #%/:?@[\\]]/,M=/[\u0000\t\u000A\u000D #/:?@[\\]]/,L=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,N=/[\t\u000A\u000D]/g,D=function(t,e){var n,i,r;if("["==e.charAt(0)){if("]"!=e.charAt(e.length-1))return"Invalid host";if(!(n=z(e.slice(1,-1))))return"Invalid host";t.host=n}else if(Y(t)){if(e=g(e),q.test(e))return"Invalid host";if(null===(n=F(e)))return"Invalid host";t.host=n}else{if(M.test(e))return"Invalid host";for(n="",i=d(e),r=0;r<i.length;r++)n+=U(i[r],j);t.host=n}},F=function(t){var e,n,i,r,o,a,s,l=t.split(".");if(l.length&&""==l[l.length-1]&&l.pop(),(e=l.length)>4)return t;for(n=[],i=0;i<e;i++){if(""==(r=l[i]))return t;if(o=10,r.length>1&&"0"==r.charAt(0)&&(o=E.test(r)?16:8,r=r.slice(8==o?1:2)),""===r)a=0;else{if(!(10==o?R:8==o?O:I).test(r))return t;a=parseInt(r,o)}n.push(a)}for(i=0;i<e;i++)if(a=n[i],i==e-1){if(a>=A(256,5-e))return null}else if(a>255)return null;for(s=n.pop(),i=0;i<n.length;i++)s+=n[i]*A(256,3-i);return s},z=function(t){var e,n,i,r,o,a,s,l=[0,0,0,0,0,0,0,0],c=0,u=null,h=0,f=function(){return t.charAt(h)};if(":"==f()){if(":"!=t.charAt(1))return;h+=2,u=++c}for(;f();){if(8==c)return;if(":"!=f()){for(e=n=0;n<4&&I.test(f());)e=16*e+parseInt(f(),16),h++,n++;if("."==f()){if(0==n)return;if(h-=n,c>6)return;for(i=0;f();){if(r=null,i>0){if(!("."==f()&&i<4))return;h++}if(!P.test(f()))return;for(;P.test(f());){if(o=parseInt(f(),10),null===r)r=o;else{if(0==r)return;r=10*r+o}if(r>255)return;h++}l[c]=256*l[c]+r,2!=++i&&4!=i||c++}if(4!=i)return;break}if(":"==f()){if(h++,!f())return}else if(f())return;l[c++]=e}else{if(null!==u)return;h++,u=++c}}if(null!==u)for(a=c-u,c=7;0!=c&&a>0;)s=l[c],l[c--]=l[u+a-1],l[u+--a]=s;else if(8!=c)return;return l},B=function(t){var e,n,i,r;if("number"==typeof t){for(e=[],n=0;n<4;n++)e.unshift(t%256),t=k(t/256);return e.join(".")}if("object"==typeof t){for(e="",i=function(t){for(var e=null,n=1,i=null,r=0,o=0;o<8;o++)0!==t[o]?(r>n&&(e=i,n=r),i=null,r=0):(null===i&&(i=o),++r);return r>n&&(e=i,n=r),e}(t),n=0;n<8;n++)r&&0===t[n]||(r&&(r=!1),i===n?(e+=n?":":"::",r=!0):(e+=t[n].toString(16),n<7&&(e+=":")));return"["+e+"]"}return t},j={},H=f({},j,{" ":1,'"':1,"<":1,">":1,"`":1}),W=f({},H,{"#":1,"?":1,"{":1,"}":1}),$=f({},W,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),U=function(t,e){var n=p(t,0);return n>32&&n<127&&!h(e,t)?t:encodeURIComponent(t)},X={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Y=function(t){return h(X,t.scheme)},V=function(t){return""!=t.username||""!=t.password},G=function(t){return!t.host||t.cannotBeABaseURL||"file"==t.scheme},Q=function(t,e){var n;return 2==t.length&&S.test(t.charAt(0))&&(":"==(n=t.charAt(1))||!e&&"|"==n)},J=function(t){var e;return t.length>1&&Q(t.slice(0,2))&&(2==t.length||"/"===(e=t.charAt(2))||"\\"===e||"?"===e||"#"===e)},K=function(t){var e=t.path,n=e.length;!n||"file"==t.scheme&&1==n&&Q(e[0],!0)||e.pop()},Z=function(t){return"."===t||"%2e"===t.toLowerCase()},tt={},et={},nt={},it={},rt={},ot={},at={},st={},lt={},ct={},ut={},ht={},ft={},dt={},pt={},gt={},mt={},vt={},yt={},bt={},wt={},_t=function(t,e,n,r){var o,a,s,l,c,u=n||tt,f=0,p="",g=!1,m=!1,v=!1;for(n||(t.scheme="",t.username="",t.password="",t.host=null,t.port=null,t.path=[],t.query=null,t.fragment=null,t.cannotBeABaseURL=!1,e=e.replace(L,"")),e=e.replace(N,""),o=d(e);f<=o.length;){switch(a=o[f],u){case tt:if(!a||!S.test(a)){if(n)return"Invalid scheme";u=nt;continue}p+=a.toLowerCase(),u=et;break;case et:if(a&&(C.test(a)||"+"==a||"-"==a||"."==a))p+=a.toLowerCase();else{if(":"!=a){if(n)return"Invalid scheme";p="",u=nt,f=0;continue}if(n&&(Y(t)!=h(X,p)||"file"==p&&(V(t)||null!==t.port)||"file"==t.scheme&&!t.host))return;if(t.scheme=p,n)return void(Y(t)&&X[t.scheme]==t.port&&(t.port=null));p="","file"==t.scheme?u=dt:Y(t)&&r&&r.scheme==t.scheme?u=it:Y(t)?u=st:"/"==o[f+1]?(u=rt,f++):(t.cannotBeABaseURL=!0,t.path.push(""),u=yt)}break;case nt:if(!r||r.cannotBeABaseURL&&"#"!=a)return"Invalid scheme";if(r.cannotBeABaseURL&&"#"==a){t.scheme=r.scheme,t.path=r.path.slice(),t.query=r.query,t.fragment="",t.cannotBeABaseURL=!0,u=wt;break}u="file"==r.scheme?dt:ot;continue;case it:if("/"!=a||"/"!=o[f+1]){u=ot;continue}u=lt,f++;break;case rt:if("/"==a){u=ct;break}u=vt;continue;case ot:if(t.scheme=r.scheme,a==i)t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.query=r.query;else if("/"==a||"\\"==a&&Y(t))u=at;else if("?"==a)t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.query="",u=bt;else{if("#"!=a){t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.path.pop(),u=vt;continue}t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,t.path=r.path.slice(),t.query=r.query,t.fragment="",u=wt}break;case at:if(!Y(t)||"/"!=a&&"\\"!=a){if("/"!=a){t.username=r.username,t.password=r.password,t.host=r.host,t.port=r.port,u=vt;continue}u=ct}else u=lt;break;case st:if(u=lt,"/"!=a||"/"!=p.charAt(f+1))continue;f++;break;case lt:if("/"!=a&&"\\"!=a){u=ct;continue}break;case ct:if("@"==a){g&&(p="%40"+p),g=!0,s=d(p);for(var y=0;y<s.length;y++){var b=s[y];if(":"!=b||v){var w=U(b,$);v?t.password+=w:t.username+=w}else v=!0}p=""}else if(a==i||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(t)){if(g&&""==p)return"Invalid authority";f-=d(p).length+1,p="",u=ut}else p+=a;break;case ut:case ht:if(n&&"file"==t.scheme){u=gt;continue}if(":"!=a||m){if(a==i||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(t)){if(Y(t)&&""==p)return"Invalid host";if(n&&""==p&&(V(t)||null!==t.port))return;if(l=D(t,p))return l;if(p="",u=mt,n)return;continue}"["==a?m=!0:"]"==a&&(m=!1),p+=a}else{if(""==p)return"Invalid host";if(l=D(t,p))return l;if(p="",u=ft,n==ht)return}break;case ft:if(!P.test(a)){if(a==i||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(t)||n){if(""!=p){var _=parseInt(p,10);if(_>65535)return"Invalid port";t.port=Y(t)&&_===X[t.scheme]?null:_,p=""}if(n)return;u=mt;continue}return"Invalid port"}p+=a;break;case dt:if(t.scheme="file","/"==a||"\\"==a)u=pt;else{if(!r||"file"!=r.scheme){u=vt;continue}if(a==i)t.host=r.host,t.path=r.path.slice(),t.query=r.query;else if("?"==a)t.host=r.host,t.path=r.path.slice(),t.query="",u=bt;else{if("#"!=a){J(o.slice(f).join(""))||(t.host=r.host,t.path=r.path.slice(),K(t)),u=vt;continue}t.host=r.host,t.path=r.path.slice(),t.query=r.query,t.fragment="",u=wt}}break;case pt:if("/"==a||"\\"==a){u=gt;break}r&&"file"==r.scheme&&!J(o.slice(f).join(""))&&(Q(r.path[0],!0)?t.path.push(r.path[0]):t.host=r.host),u=vt;continue;case gt:if(a==i||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&Q(p))u=vt;else if(""==p){if(t.host="",n)return;u=mt}else{if(l=D(t,p))return l;if("localhost"==t.host&&(t.host=""),n)return;p="",u=mt}continue}p+=a;break;case mt:if(Y(t)){if(u=vt,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=i&&(u=vt,"/"!=a))continue}else t.fragment="",u=wt;else t.query="",u=bt;break;case vt:if(a==i||"/"==a||"\\"==a&&Y(t)||!n&&("?"==a||"#"==a)){if(".."===(c=(c=p).toLowerCase())||"%2e."===c||".%2e"===c||"%2e%2e"===c?(K(t),"/"==a||"\\"==a&&Y(t)||t.path.push("")):Z(p)?"/"==a||"\\"==a&&Y(t)||t.path.push(""):("file"==t.scheme&&!t.path.length&&Q(p)&&(t.host&&(t.host=""),p=p.charAt(0)+":"),t.path.push(p)),p="","file"==t.scheme&&(a==i||"?"==a||"#"==a))for(;t.path.length>1&&""===t.path[0];)t.path.shift();"?"==a?(t.query="",u=bt):"#"==a&&(t.fragment="",u=wt)}else p+=U(a,W);break;case yt:"?"==a?(t.query="",u=bt):"#"==a?(t.fragment="",u=wt):a!=i&&(t.path[0]+=U(a,j));break;case bt:n||"#"!=a?a!=i&&("'"==a&&Y(t)?t.query+="%27":t.query+="#"==a?"%23":U(a,j)):(t.fragment="",u=wt);break;case wt:a!=i&&(t.fragment+=U(a,H))}f++}},xt=function(t){var e,n,i=u(this,xt,"URL"),r=arguments.length>1?arguments[1]:void 0,a=String(t),s=x(i,{type:"URL"});if(void 0!==r)if(r instanceof xt)e=T(r);else if(n=_t(e={},String(r)))throw TypeError(n);if(n=_t(s,a,null,e))throw TypeError(n);var l=s.searchParams=new w,c=_(l);c.updateSearchParams(s.query),c.updateURL=function(){s.query=String(l)||null},o||(i.href=kt.call(i),i.origin=At.call(i),i.protocol=St.call(i),i.username=Ct.call(i),i.password=Pt.call(i),i.host=Et.call(i),i.hostname=Ot.call(i),i.port=Rt.call(i),i.pathname=It.call(i),i.search=qt.call(i),i.searchParams=Mt.call(i),i.hash=Lt.call(i))},Tt=xt.prototype,kt=function(){var t=T(this),e=t.scheme,n=t.username,i=t.password,r=t.host,o=t.port,a=t.path,s=t.query,l=t.fragment,c=e+":";return null!==r?(c+="//",V(t)&&(c+=n+(i?":"+i:"")+"@"),c+=B(r),null!==o&&(c+=":"+o)):"file"==e&&(c+="//"),c+=t.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(c+="?"+s),null!==l&&(c+="#"+l),c},At=function(){var t=T(this),e=t.scheme,n=t.port;if("blob"==e)try{return new URL(e.path[0]).origin}catch(t){return"null"}return"file"!=e&&Y(t)?e+"://"+B(t.host)+(null!==n?":"+n:""):"null"},St=function(){return T(this).scheme+":"},Ct=function(){return T(this).username},Pt=function(){return T(this).password},Et=function(){var t=T(this),e=t.host,n=t.port;return null===e?"":null===n?B(e):B(e)+":"+n},Ot=function(){var t=T(this).host;return null===t?"":B(t)},Rt=function(){var t=T(this).port;return null===t?"":String(t)},It=function(){var t=T(this),e=t.path;return t.cannotBeABaseURL?e[0]:e.length?"/"+e.join("/"):""},qt=function(){var t=T(this).query;return t?"?"+t:""},Mt=function(){return T(this).searchParams},Lt=function(){var t=T(this).fragment;return t?"#"+t:""},Nt=function(t,e){return{get:t,set:e,configurable:!0,enumerable:!0}};if(o&&l(Tt,{href:Nt(kt,(function(t){var e=T(this),n=String(t),i=_t(e,n);if(i)throw TypeError(i);_(e.searchParams).updateSearchParams(e.query)})),origin:Nt(At),protocol:Nt(St,(function(t){var e=T(this);_t(e,String(t)+":",tt)})),username:Nt(Ct,(function(t){var e=T(this),n=d(String(t));if(!G(e)){e.username="";for(var i=0;i<n.length;i++)e.username+=U(n[i],$)}})),password:Nt(Pt,(function(t){var e=T(this),n=d(String(t));if(!G(e)){e.password="";for(var i=0;i<n.length;i++)e.password+=U(n[i],$)}})),host:Nt(Et,(function(t){var e=T(this);e.cannotBeABaseURL||_t(e,String(t),ut)})),hostname:Nt(Ot,(function(t){var e=T(this);e.cannotBeABaseURL||_t(e,String(t),ht)})),port:Nt(Rt,(function(t){var e=T(this);G(e)||(""==(t=String(t))?e.port=null:_t(e,t,ft))})),pathname:Nt(It,(function(t){var e=T(this);e.cannotBeABaseURL||(e.path=[],_t(e,t+"",mt))})),search:Nt(qt,(function(t){var e=T(this);""==(t=String(t))?e.query=null:("?"==t.charAt(0)&&(t=t.slice(1)),e.query="",_t(e,t,bt)),_(e.searchParams).updateSearchParams(e.query)})),searchParams:Nt(Mt),hash:Nt(Lt,(function(t){var e=T(this);""!=(t=String(t))?("#"==t.charAt(0)&&(t=t.slice(1)),e.fragment="",_t(e,t,wt)):e.fragment=null}))}),c(Tt,"toJSON",(function(){return kt.call(this)}),{enumerable:!0}),c(Tt,"toString",(function(){return kt.call(this)}),{enumerable:!0}),b){var Dt=b.createObjectURL,Ft=b.revokeObjectURL;Dt&&c(xt,"createObjectURL",(function(t){return Dt.apply(b,arguments)})),Ft&&c(xt,"revokeObjectURL",(function(t){return Ft.apply(b,arguments)}))}m(xt,"URL"),r({global:!0,forced:!a,sham:!o},{URL:xt})},function(t,e,n){"use strict";var i=/[^\0-\u007E]/,r=/[.\u3002\uFF0E\uFF61]/g,o="Overflow: input needs wider integers to process",a=Math.floor,s=String.fromCharCode,l=function(t){return t+22+75*(t<26)},c=function(t,e,n){var i=0;for(t=n?a(t/700):t>>1,t+=a(t/e);t>455;i+=36)t=a(t/35);return a(i+36*t/(t+38))},u=function(t){var e,n,i=[],r=(t=function(t){for(var e=[],n=0,i=t.length;n<i;){var r=t.charCodeAt(n++);if(r>=55296&&r<=56319&&n<i){var o=t.charCodeAt(n++);56320==(64512&o)?e.push(((1023&r)<<10)+(1023&o)+65536):(e.push(r),n--)}else e.push(r)}return e}(t)).length,u=128,h=0,f=72;for(e=0;e<t.length;e++)(n=t[e])<128&&i.push(s(n));var d=i.length,p=d;for(d&&i.push("-");p<r;){var g=2147483647;for(e=0;e<t.length;e++)(n=t[e])>=u&&n<g&&(g=n);var m=p+1;if(g-u>a((2147483647-h)/m))throw RangeError(o);for(h+=(g-u)*m,u=g,e=0;e<t.length;e++){if((n=t[e])<u&&++h>2147483647)throw RangeError(o);if(n==u){for(var v=h,y=36;;y+=36){var b=y<=f?1:y>=f+26?26:y-f;if(v<b)break;var w=v-b,_=36-b;i.push(s(l(b+w%_))),v=a(w/_)}i.push(s(l(v))),f=c(h,m,p==d),h=0,++p}}++h,++u}return i.join("")};t.exports=function(t){var e,n,o=[],a=t.toLowerCase().replace(r,".").split(".");for(e=0;e<a.length;e++)n=a[e],o.push(i.test(n)?"xn--"+u(n):n);return o.join(".")}},function(t,e,n){var i=n(13),r=n(81);t.exports=function(t){var e=r(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return i(e.call(t))}},function(t,e,n){"use strict";n(2)({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},function(t,e){!function(){if("undefined"!=typeof window)try{var t=new window.CustomEvent("test",{cancelable:!0});if(t.preventDefault(),!0!==t.defaultPrevented)throw new Error("Could not prevent default")}catch(t){var e=function(t,e){var n,i;return(e=e||{}).bubbles=!!e.bubbles,e.cancelable=!!e.cancelable,(n=document.createEvent("CustomEvent")).initCustomEvent(t,e.bubbles,e.cancelable,e.detail),i=n.preventDefault,n.preventDefault=function(){i.call(this);try{Object.defineProperty(this,"defaultPrevented",{get:function(){return!0}})}catch(t){this.defaultPrevented=!0}},n};e.prototype=window.Event.prototype,window.CustomEvent=e}}()},function(t,e,n){(function(t){!function(t){var e=function(){try{return!!Symbol.iterator}catch(t){return!1}}(),n=function(t){var n={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return e&&(n[Symbol.iterator]=function(){return n}),n},i=function(t){return encodeURIComponent(t).replace(/%20/g,"+")},r=function(t){return decodeURIComponent(t).replace(/\+/g," ")};"URLSearchParams"in t&&"a=1"===new URLSearchParams("?a=1").toString()||function(){var o=function(t){if(Object.defineProperty(this,"_entries",{value:{}}),"string"==typeof t){if(""!==t)for(var e,n=(t=t.replace(/^\?/,"")).split("&"),i=0;i<n.length;i++)e=n[i].split("="),this.append(r(e[0]),e.length>1?r(e[1]):"")}else if(t instanceof o){var a=this;t.forEach((function(t,e){a.append(t,e)}))}},a=o.prototype;a.append=function(t,e){t in this._entries?this._entries[t].push(e.toString()):this._entries[t]=[e.toString()]},a.delete=function(t){delete this._entries[t]},a.get=function(t){return t in this._entries?this._entries[t][0]:null},a.getAll=function(t){return t in this._entries?this._entries[t].slice(0):[]},a.has=function(t){return t in this._entries},a.set=function(t,e){this._entries[t]=[e.toString()]},a.forEach=function(t,e){var n;for(var i in this._entries)if(this._entries.hasOwnProperty(i)){n=this._entries[i];for(var r=0;r<n.length;r++)t.call(e,n[r],i,this)}},a.keys=function(){var t=[];return this.forEach((function(e,n){t.push(n)})),n(t)},a.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),n(t)},a.entries=function(){var t=[];return this.forEach((function(e,n){t.push([n,e])})),n(t)},e&&(a[Symbol.iterator]=a.entries),a.toString=function(){var t="";return this.forEach((function(e,n){t.length>0&&(t+="&"),t+=i(n)+"="+i(e)})),t},t.URLSearchParams=o}()}(void 0!==t?t:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this),function(t){if(function(){try{var t=new URL("b","http://a");return t.pathname="c%20d","http://a/c%20d"===t.href&&t.searchParams}catch(t){return!1}}()||function(){var e=t.URL,n=function(t,e){"string"!=typeof t&&(t=String(t));var n=document.implementation.createHTMLDocument("");if(window.doc=n,e){var i=n.createElement("base");i.href=e,n.head.appendChild(i)}var r=n.createElement("a");if(r.href=t,n.body.appendChild(r),r.href=r.href,":"===r.protocol||!/:/.test(r.href))throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:r})},i=n.prototype;["hash","host","hostname","port","protocol","search"].forEach((function(t){!function(t){Object.defineProperty(i,t,{get:function(){return this._anchorElement[t]},set:function(e){this._anchorElement[t]=e},enumerable:!0})}(t)})),Object.defineProperties(i,{toString:{get:function(){var t=this;return function(){return t.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(t){this._anchorElement.href=t},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(t){this._anchorElement.pathname=t},enumerable:!0},origin:{get:function(){var t={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],e=this._anchorElement.port!=t&&""!==this._anchorElement.port;return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(e?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(t){},enumerable:!0},username:{get:function(){return""},set:function(t){},enumerable:!0},searchParams:{get:function(){var t=new URLSearchParams(this.search),e=this;return["append","delete","set"].forEach((function(n){var i=t[n];t[n]=function(){i.apply(t,arguments),e.search=t.toString()}})),t},enumerable:!0}}),n.createObjectURL=function(t){return e.createObjectURL.apply(e,arguments)},n.revokeObjectURL=function(t){return e.revokeObjectURL.apply(e,arguments)},t.URL=n}(),void 0!==t.location&&!("origin"in t.location)){var e=function(){return t.location.protocol+"//"+t.location.hostname+(t.location.port?":"+t.location.port:"")};try{Object.defineProperty(t.location,"origin",{get:e,enumerable:!0})}catch(n){setInterval((function(){t.location.origin=e()}),100)}}}(void 0!==t?t:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this)}).call(this,n(47))},function(t,e){function n(e,i){return t.exports=n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},t.exports.default=t.exports,t.exports.__esModule=!0,n(e,i)}t.exports=n,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports='<svg version="1.1" id="Isolationsmodus" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 95 48" style="enable-background:new 0 0 95 48;" xml:space="preserve"><g><polygon class="st0" points="95,0 77,0 92.7,24 77,48 95,48 "></polygon><polygon class="st0" points="68.6,0 51.4,0 67,24 51.4,48 68.6,48 84.3,24 "></polygon><polygon class="st0" points="42.9,0 25.7,0 41.4,24 25.7,48 42.9,48 58.6,24 "></polygon><polygon class="st0" points="17.2,0 0,0 15.7,24 0,48 17.2,48 32.9,24 "></polygon></g></svg>'},function(t,e){t.exports='<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 20 48" style="enable-background:new 0 0 20 48;" xml:space="preserve"><style type="text/css"> .st0{fill:#FFFFFF;} </style><polygon class="st0" points="4.3,0 0,0 0,48 4.3,48 20,24 "></polygon></svg>'},function(t,e){t.exports='<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 20 48" style="enable-background:new 0 0 20 48;" xml:space="preserve"><style type="text/css"> .st0{fill:#FFFFFF;} </style><polygon class="st0" points="15.7,0 20,0 20,48 15.7,48 0,24 "></polygon></svg>'},function(t,e){t.exports='<svg version="1.1" id="Isolationsmodus" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 95 48" style="enable-background:new 0 0 95 48;" xml:space="preserve"><style type="text/css"> .st0{fill:#FFFFFF;} </style><g><polygon class="st0" points="0,0 18,0 2.3,24 18,48 0,48 "></polygon><polygon class="st0" points="26.4,0 43.6,0 28,24 43.6,48 26.4,48 10.7,24 "></polygon><polygon class="st0" points="52.1,0 69.3,0 53.6,24 69.3,48 52.1,48 36.4,24 "></polygon><polygon class="st0" points="77.8,0 95,0 79.3,24 95,48 77.8,48 62.1,24 "></polygon></g></svg>'},function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 1054 186" preserveAspectRatio="none"><path id="Rechteck_5" data-name="Rechteck 5" class="st0" d="M753.173,1136H1776l15.82,171H769Z" transform="translate(-746 -1131)"></path></svg>'},function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17.39 24"><title>icn-user</title><path class="st0" d="M8.69,10.2a5.1,5.1,0,1,0-5.1-5.1,5.1,5.1,0,0,0,5.1,5.1Z" style="fill:#fff"></path><path class="st0" d="M10.86,10.55H6.53A6.54,6.54,0,0,0,0,17.08v5.37l.37.12A29.8,29.8,0,0,0,9.26,24,18.11,18.11,0,0,0,17,22.54l.34-.17h0V17.08a6.54,6.54,0,0,0-6.53-6.53Z" style="fill:#fff"></path></svg>'},function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 23.79 37"><title>arrow-left</title><polygon points="18.5 37 23.79 31.71 10.59 18.5 23.79 5.3 18.5 0 0 18.5 18.5 37" style="fill:#fff"></polygon></svg>'},function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 23.79 37"><title>arrow-right</title><polygon points="5.29 0 0 5.29 13.21 18.5 0 31.7 5.29 37 23.79 18.5 5.29 0" style="fill:#fff"></polygon></svg>'},function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 37 23.79"><title>arrow-up</title><polygon points="0 18.5 5.29 23.79 18.5 10.59 31.7 23.79 37 18.5 18.5 0 0 18.5" style="fill:#fff"></polygon></svg>'},function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 37 23.79"><title>arrow-down</title><polygon points="37 5.29 31.71 0 18.5 13.21 5.3 0 0 5.29 18.5 23.79 37 5.29" style="fill:#fff"></polygon></svg>'},function(t,e){t.exports='<svg version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 190.742 190.742" style="fill:#fff; enable-background:new 0 0 190.742 190.742;" xml:space="preserve"><g><path class="st0" d="M46.661,69.946c0-1.72,1.397-3.118,3.118-3.118h74.303c1.723,0,3.117,1.397,3.117,3.118c0,1.723-1.395,3.118-3.117,3.118 H49.779C48.059,73.063,46.661,71.675,46.661,69.946z M49.779,100.087h74.303c1.723,0,3.117-1.4,3.117-3.117 c0-1.711-1.395-3.118-3.117-3.118H49.779c-1.72,0-3.118,1.395-3.118,3.118S48.059,100.087,49.779,100.087z M81.908,120.863H49.785 c-1.72,0-3.118,1.406-3.118,3.117c0,1.73,1.397,3.118,3.118,3.118h32.123c1.724,0,3.118-1.388,3.118-3.118 C85.026,122.258,83.632,120.863,81.908,120.863z M77.75,147.887H49.785c-1.72,0-3.118,1.395-3.118,3.118 c0,1.717,1.397,3.117,3.118,3.117H77.75c1.723,0,3.118-1.4,3.118-3.117C80.867,149.281,79.473,147.887,77.75,147.887z M165.816,151.516c0,21.635-17.585,39.227-39.226,39.227c-10.114,0-19.309-3.872-26.275-10.181c-0.006,0-0.018,0.013-0.03,0.013 H28.043c-1.723,0-3.118-1.407-3.118-3.118V31.624c0-1.721,1.395-3.118,3.118-3.118h26.33v-8.567c0-1.72,1.397-3.117,3.118-3.117 h12.778c0-0.049,0-0.106,0-0.155C70.269,7.474,77.75,0,86.941,0c9.192,0,16.669,7.474,16.669,16.666c0,0.049,0,0.106,0,0.155 h12.774c1.718,0,3.118,1.397,3.118,3.117v8.567h26.323c1.724,0,3.117,1.397,3.117,3.118v87.692 C159.131,126.41,165.816,138.193,165.816,151.516z M60.608,38.328h52.653V23.062h-13.22c-0.953,0-1.869-0.441-2.463-1.203 s-0.798-1.75-0.561-2.679c0.243-0.956,0.354-1.748,0.354-2.509c0-5.754-4.683-10.431-10.437-10.431s-10.437,4.677-10.437,10.431 c0,0.761,0.113,1.583,0.347,2.521c0.231,0.928,0.021,1.918-0.566,2.673c-0.584,0.755-1.495,1.196-2.457,1.196H60.608V38.328z M31.161,174.326h63.58c-4.625-6.43-7.383-14.297-7.383-22.811c0-21.628,17.598-39.238,39.226-39.238 c5.742,0,11.187,1.279,16.112,3.502V34.735H119.49v6.698c0,1.72-1.4,3.117-3.117,3.117H57.485c-1.72,0-3.118-1.397-3.118-3.117 v-6.698H31.155L31.161,174.326L31.161,174.326z M159.582,151.516c0-18.193-14.803-33.003-32.991-33.003S93.6,133.322,93.6,151.516 c0,18.195,14.803,32.992,32.991,32.992S159.582,169.711,159.582,151.516z M143.786,138.521l-19.096,18.311l-12.921-10.327 c-1.346-1.071-3.301-0.853-4.384,0.487c-1.072,1.352-0.853,3.3,0.486,4.384l15.053,12.044c0.572,0.451,1.261,0.67,1.948,0.67 c0.779,0,1.56-0.292,2.156-0.87l21.062-20.198c1.235-1.181,1.284-3.172,0.091-4.408 C146.989,137.359,145.022,137.334,143.786,138.521z"></path></g></svg>'},function(t,e,n){var i=n(8);t.exports=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=i(t)););return t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,n){"use strict";(function(t,e){var i,r=n(27),o=n.n(r),a=t.exports&&void 0!==e?e:window;(a._gsQueue||(a._gsQueue=[])).push((function(){var t=Math.PI/180,e=180/Math.PI,n=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,i=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,r=/(^[#\.]|[a-y][a-z])/gi,s=/[achlmqstvz]/gi,l=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/gi,c=a._gsDefine.globals.TweenLite,u=function(t){a.console&&console.log(t)},h=function(n,i,r,o,a,s,l,c,u){if(n!==c||i!==u){r=Math.abs(r),o=Math.abs(o);var h=a%360*t,f=Math.cos(h),d=Math.sin(h),p=(n-c)/2,g=(i-u)/2,m=f*p+d*g,v=-d*p+f*g,y=r*r,b=o*o,w=m*m,_=v*v,x=w/y+_/b;x>1&&(y=(r=Math.sqrt(x)*r)*r,b=(o=Math.sqrt(x)*o)*o);var T=s===l?-1:1,k=(y*b-y*_-b*w)/(y*_+b*w);k<0&&(k=0);var A=T*Math.sqrt(k),S=A*(r*v/o),C=A*(-o*m/r),P=(n+c)/2+(f*S-d*C),E=(i+u)/2+(d*S+f*C),O=(m-S)/r,R=(v-C)/o,I=(-m-S)/r,q=(-v-C)/o,M=Math.sqrt(O*O+R*R),L=O,N=(T=R<0?-1:1)*Math.acos(L/M)*e;M=Math.sqrt((O*O+R*R)*(I*I+q*q)),L=O*I+R*q;var D=(T=O*q-R*I<0?-1:1)*Math.acos(L/M)*e;!l&&D>0?D-=360:l&&D<0&&(D+=360);var F,z,B,j=function(e,n){var i,r,o,a,s,l,c=Math.ceil(Math.abs(n)/90),u=0,h=[];for(e*=t,i=(n*=t)/c,r=4/3*Math.sin(i/2)/(1+Math.cos(i/2)),l=0;l<c;l++)o=e+l*i,a=Math.cos(o),s=Math.sin(o),h[u++]=a-r*s,h[u++]=s+r*a,o+=i,a=Math.cos(o),s=Math.sin(o),h[u++]=a+r*s,h[u++]=s-r*a,h[u++]=a,h[u++]=s;return h}(N%=360,D%=360),H=f*r,W=d*r,$=d*-o,U=f*o,X=j.length-2;for(F=0;F<X;F+=2)z=j[F],B=j[F+1],j[F]=z*H+B*$+P,j[F+1]=z*W+B*U+E;return j[j.length-2]=c,j[j.length-1]=u,j}},f=function(t){var e,i,r,o,a,s,c,f,d,p,g,m,v,y=(t+"").replace(l,(function(t){var e=+t;return e<1e-4&&e>-1e-4?0:e})).match(n)||[],b=[],w=0,_=0,x=y.length,T=2,k=0;if(!t||!isNaN(y[0])||isNaN(y[1]))return u("ERROR: malformed path data: "+t),b;for(e=0;e<x;e++)if(v=a,isNaN(y[e])?s=(a=y[e].toUpperCase())!==y[e]:e--,r=+y[e+1],o=+y[e+2],s&&(r+=w,o+=_),0===e&&(f=r,d=o),"M"===a)c&&c.length<8&&(b.length-=1,T=0),w=f=r,_=d=o,c=[r,o],k+=T,T=2,b.push(c),e+=2,a="L";else if("C"===a)c||(c=[0,0]),c[T++]=r,c[T++]=o,s||(w=_=0),c[T++]=w+1*y[e+3],c[T++]=_+1*y[e+4],c[T++]=w+=1*y[e+5],c[T++]=_+=1*y[e+6],e+=6;else if("S"===a)"C"===v||"S"===v?(p=w-c[T-4],g=_-c[T-3],c[T++]=w+p,c[T++]=_+g):(c[T++]=w,c[T++]=_),c[T++]=r,c[T++]=o,s||(w=_=0),c[T++]=w+=1*y[e+3],c[T++]=_+=1*y[e+4],e+=4;else if("Q"===a)p=r-w,g=o-_,c[T++]=w+2*p/3,c[T++]=_+2*g/3,s||(w=_=0),p=r-(w+=1*y[e+3]),g=o-(_+=1*y[e+4]),c[T++]=w+2*p/3,c[T++]=_+2*g/3,c[T++]=w,c[T++]=_,e+=4;else if("T"===a)p=w-c[T-4],g=_-c[T-3],c[T++]=w+p,c[T++]=_+g,p=w+1.5*p-r,g=_+1.5*g-o,c[T++]=r+2*p/3,c[T++]=o+2*g/3,c[T++]=w=r,c[T++]=_=o,e+=2;else if("H"===a)o=_,c[T++]=w+(r-w)/3,c[T++]=_+(o-_)/3,c[T++]=w+2*(r-w)/3,c[T++]=_+2*(o-_)/3,c[T++]=w=r,c[T++]=o,e+=1;else if("V"===a)o=r,r=w,s&&(o+=_-w),c[T++]=r,c[T++]=_+(o-_)/3,c[T++]=r,c[T++]=_+2*(o-_)/3,c[T++]=r,c[T++]=_=o,e+=1;else if("L"===a||"Z"===a)"Z"===a&&(r=f,o=d,c.closed=!0),("L"===a||Math.abs(w-r)>.5||Math.abs(_-o)>.5)&&(c[T++]=w+(r-w)/3,c[T++]=_+(o-_)/3,c[T++]=w+2*(r-w)/3,c[T++]=_+2*(o-_)/3,c[T++]=r,c[T++]=o,"L"===a&&(e+=2)),w=r,_=o;else if("A"===a){if(m=h(w,_,1*y[e+1],1*y[e+2],1*y[e+3],1*y[e+4],1*y[e+5],(s?w:0)+1*y[e+6],(s?_:0)+1*y[e+7]))for(i=0;i<m.length;i++)c[T++]=m[i];w=c[T-2],_=c[T-1],e+=7}else u("Error: malformed path data: "+t);return b.totalPoints=k+T,b},d=function(t,e){var n,i,r,o,a,s,l,c,u,h,f,d,p,g,m=0,v=t.length,y=e/((v-2)/6);for(p=2;p<v;p+=6)for(m+=y;m>.999999;)n=t[p-2],i=t[p-1],r=t[p],o=t[p+1],a=t[p+2],s=t[p+3],l=t[p+4],c=t[p+5],u=n+(r-n)*(g=1/(Math.floor(m)+1)),u+=((f=r+(a-r)*g)-u)*g,f+=(a+(l-a)*g-f)*g,h=i+(o-i)*g,h+=((d=o+(s-o)*g)-h)*g,d+=(s+(c-s)*g-d)*g,t.splice(p,4,n+(r-n)*g,i+(o-i)*g,u,h,u+(f-u)*g,h+(d-h)*g,f,d,a+(l-a)*g,s+(c-s)*g),p+=6,v+=6,m--;return t},p=function(t){var e,n,i,r,o="",a=t.length;for(n=0;n<a;n++){for(o+="M"+(r=t[n])[0]+","+r[1]+" C",e=r.length,i=2;i<e;i++)o+=(100*r[i++]|0)/100+","+(100*r[i++]|0)/100+" "+(100*r[i++]|0)/100+","+(100*r[i++]|0)/100+" "+(100*r[i++]|0)/100+","+(100*r[i]|0)/100+" ";r.closed&&(o+="z")}return o},g=function(t){for(var e=[],n=t.length-1,i=0;--n>-1;)e[i++]=t[n],e[i++]=t[n+1],n--;for(n=0;n<i;n++)t[n]=e[n];t.reversed=!t.reversed},m=function(t){var e,n=t.length,i=0,r=0;for(e=0;e<n;e++)i+=t[e++],r+=t[e];return[i/(n/2),r/(n/2)]},v=function(t){var e,n,i,r=t.length,o=t[0],a=o,s=t[1],l=s;for(i=6;i<r;i+=6)(e=t[i])>o?o=e:e<a&&(a=e),(n=t[i+1])>s?s=n:n<l&&(l=n);return t.centerX=(o+a)/2,t.centerY=(s+l)/2,t.size=(o-a)*(s-l)},y=function(t){for(var e,n,i,r,o,a=t.length,s=t[0][0],l=s,c=t[0][1],u=c;--a>-1;)for(e=(o=t[a]).length,r=6;r<e;r+=6)(n=o[r])>s?s=n:n<l&&(l=n),(i=o[r+1])>c?c=i:i<u&&(u=i);return t.centerX=(s+l)/2,t.centerY=(c+u)/2,t.size=(s-l)*(c-u)},b=function(t,e){return e.length-t.length},w=function(t,e){var n=t.size||v(t),i=e.size||v(e);return Math.abs(i-n)<(n+i)/20?e.centerX-t.centerX||e.centerY-t.centerY:i-n},_=function(t,e){var n,i,r=t.slice(0),o=t.length,a=o-2;for(e|=0,n=0;n<o;n++)i=(n+e)%a,t[n++]=r[i],t[n]=r[i+1]},x=function(t,e,n,i,r){var o,a,s,l,c=t.length,u=0,h=c-2;for(n*=6,a=0;a<c;a+=6)l=t[o=(a+n)%h]-(e[a]-i),s=t[o+1]-(e[a+1]-r),u+=Math.sqrt(s*s+l*l);return u},T=function(t,e,n){var i,r,o,a=t.length,s=m(t),l=m(e),c=l[0]-s[0],u=l[1]-s[1],h=x(t,e,0,c,u),f=0;for(o=6;o<a;o+=6)(r=x(t,e,o/6,c,u))<h&&(h=r,f=o);if(n)for(i=t.slice(0),g(i),o=6;o<a;o+=6)(r=x(i,e,o/6,c,u))<h&&(h=r,f=-o);return f/6},k=function(t,e,n){for(var i,r,o,a,s,l,c=t.length,u=99999999999,h=0,f=0;--c>-1;)for(l=(i=t[c]).length,s=0;s<l;s+=6)r=i[s]-e,o=i[s+1]-n,(a=Math.sqrt(r*r+o*o))<u&&(u=a,h=i[s],f=i[s+1]);return[h,f]},A=function(t,e,n,i,r,o){var a,s,l,c,u=e.length,h=0,f=Math.min(t.size||v(t),e[n].size||v(e[n]))*i,d=999999999999,p=t.centerX+r,g=t.centerY+o;for(a=n;a<u&&!((e[a].size||v(e[a]))<f);a++)s=e[a].centerX-p,l=e[a].centerY-g,(c=Math.sqrt(s*s+l*l))<d&&(h=a,d=c);return c=e[h],e.splice(h,1),c},S=function(t,e,n,i){var r,a,s,l,c,h,f,p=e.length-t.length,m=p>0?e:t,x=p>0?t:e,S=0,C="complexity"===i?b:w,P="position"===i?0:"number"==typeof i?i:.8,E=x.length,O="object"===o()(n)&&n.push?n.slice(0):[n],R="reverse"===O[0]||O[0]<0,I="log"===n;if(x[0]){if(m.length>1&&(t.sort(C),e.sort(C),m.size||y(m),x.size||y(x),h=m.centerX-x.centerX,f=m.centerY-x.centerY,C===w))for(E=0;E<x.length;E++)m.splice(E,0,A(x[E],m,E,P,h,f));if(p)for(p<0&&(p=-p),m[0].length>x[0].length&&d(x[0],(m[0].length-x[0].length)/6|0),E=x.length;S<p;)m[E].size||v(m[E]),l=(s=k(x,m[E].centerX,m[E].centerY))[0],c=s[1],x[E++]=[l,c,l,c,l,c,l,c],x.totalPoints+=8,S++;for(E=0;E<t.length;E++)r=e[E],a=t[E],(p=r.length-a.length)<0?d(r,-p/6|0):p>0&&d(a,p/6|0),R&&!a.reversed&&g(a),(n=O[E]||0===O[E]?O[E]:"auto")&&(a.closed||Math.abs(a[0]-a[a.length-2])<.5&&Math.abs(a[1]-a[a.length-1])<.5?"auto"===n||"log"===n?(O[E]=n=T(a,r,0===E),n<0&&(R=!0,g(a),n=-n),_(a,6*n)):"reverse"!==n&&(E&&n<0&&g(a),_(a,6*(n<0?-n:n))):!R&&("auto"===n&&Math.abs(r[0]-a[0])+Math.abs(r[1]-a[1])+Math.abs(r[r.length-2]-a[a.length-2])+Math.abs(r[r.length-1]-a[a.length-1])>Math.abs(r[0]-a[a.length-2])+Math.abs(r[1]-a[a.length-1])+Math.abs(r[r.length-2]-a[0])+Math.abs(r[r.length-1]-a[1])||n%2)?(g(a),O[E]=-1,R=!0):"auto"===n?O[E]=0:"reverse"===n&&(O[E]=-1),a.closed!==r.closed&&(a.closed=r.closed=!1));return I&&u("shapeIndex:["+O.join(",")+"]"),O}},C=function(t,e,n,i){var r=f(t[0]),o=f(t[1]);S(r,o,e||0===e?e:"auto",n)&&(t[0]=p(r),t[1]=p(o),"log"!==i&&!0!==i||u('precompile:["'+t[0]+'","'+t[1]+'"]'))},P=function(t,e){var n,i,r,o,a,s,l,c=0,u=parseFloat(t[0]),h=parseFloat(t[1]),f=u+","+h+" ";for(n=.5*e/(.5*(r=t.length)-1),i=0;i<r-2;i+=2){if(c+=n,s=parseFloat(t[i+2]),l=parseFloat(t[i+3]),c>.999999)for(a=1/(Math.floor(c)+1),o=1;c>.999999;)f+=(u+(s-u)*a*o).toFixed(2)+","+(h+(l-h)*a*o).toFixed(2)+" ",c--,o++;f+=s+","+l+" ",u=s,h=l}return f},E=function(t){var e=t[0].match(i)||[],n=t[1].match(i)||[],r=n.length-e.length;r>0?t[0]=P(e,r):t[1]=P(n,-r)},O=function(t){return isNaN(t)?E:function(e){E(e),e[1]=function(t,e){if(!e)return t;var n,r,o,a=t.match(i)||[],s=a.length,l="";for("reverse"===e?(r=s-1,n=-2):(r=(2*(parseInt(e,10)||0)+1+100*s)%s,n=2),o=0;o<s;o+=2)l+=a[r-1]+","+a[r]+" ",r=(r+n)%s;return l}(e[1],parseInt(t,10))}},R=function(t,e){var n,r,o,s,l,c,u,h,f,d,p,g,m,v,y,b,w,_,x,T,k,A=t.tagName.toLowerCase(),S=.552284749831;return"path"!==A&&t.getBBox?(c=function(t,e){var n,i=a.document.createElementNS("http://www.w3.org/2000/svg","path"),r=Array.prototype.slice.call(t.attributes),o=r.length;for(e=","+e+",";--o>-1;)n=r[o].nodeName.toLowerCase(),-1===e.indexOf(","+n+",")&&i.setAttributeNS(null,n,r[o].nodeValue);return i}(t,"x,y,width,height,cx,cy,rx,ry,r,x1,x2,y1,y2,points"),"rect"===A?(s=+t.getAttribute("rx")||0,l=+t.getAttribute("ry")||0,r=+t.getAttribute("x")||0,o=+t.getAttribute("y")||0,d=(+t.getAttribute("width")||0)-2*s,p=(+t.getAttribute("height")||0)-2*l,n=s||l?"M"+(b=(v=(m=r+s)+d)+s)+","+(_=o+l)+" V"+(x=_+p)+" C"+[b,T=x+l*S,y=v+s*S,k=x+l,v,k,v-(v-m)/3,k,m+(v-m)/3,k,m,k,g=r+s*(1-S),k,r,T,r,x,r,x-(x-_)/3,r,_+(x-_)/3,r,_,r,w=o+l*(1-S),g,o,m,o,m+(v-m)/3,o,v-(v-m)/3,o,v,o,y,o,b,w,b,_].join(",")+"z":"M"+(r+d)+","+o+" v"+p+" h"+-d+" v"+-p+" h"+d+"z"):"circle"===A||"ellipse"===A?("circle"===A?h=(s=l=+t.getAttribute("r")||0)*S:(s=+t.getAttribute("rx")||0,h=(l=+t.getAttribute("ry")||0)*S),n="M"+((r=+t.getAttribute("cx")||0)+s)+","+(o=+t.getAttribute("cy")||0)+" C"+[r+s,o+h,r+(u=s*S),o+l,r,o+l,r-u,o+l,r-s,o+h,r-s,o,r-s,o-h,r-u,o-l,r,o-l,r+u,o-l,r+s,o-h,r+s,o].join(",")+"z"):"line"===A?n="M"+(t.getAttribute("x1")||0)+","+(t.getAttribute("y1")||0)+" L"+(t.getAttribute("x2")||0)+","+(t.getAttribute("y2")||0):"polyline"!==A&&"polygon"!==A||(n="M"+(r=(f=(t.getAttribute("points")+"").match(i)||[]).shift())+","+(o=f.shift())+" L"+f.join(","),"polygon"===A&&(n+=","+r+","+o+"z")),c.setAttribute("d",n),e&&t.parentNode&&(t.parentNode.insertBefore(c,t),t.parentNode.removeChild(t)),c):t},I=function(t,e,n){var o,a,s="string"==typeof t;return(!s||r.test(t)||(t.match(i)||[]).length<3)&&((o=s?c.selector(t):t&&t[0]?t:[t])&&o[0]?(a=(o=o[0]).nodeName.toUpperCase(),e&&"PATH"!==a&&(o=R(o,!1),a="PATH"),t=o.getAttribute("PATH"===a?"d":"points")||"",o===n&&(t=o.getAttributeNS(null,"data-original")||t)):(u("WARNING: invalid morph to: "+t),t=!1)),t},q="Use MorphSVGPlugin.convertToPath(elementOrSelectorText) to convert to a path before morphing.",M=a._gsDefine.plugin({propName:"morphSVG",API:2,global:!0,version:"0.8.11",init:function(t,e,n,i){var r,a,l,c,h,f,d,p;return"function"==typeof t.setAttribute&&("function"==typeof e&&(e=e(i,t)),h="POLYLINE"===(r=t.nodeName.toUpperCase())||"POLYGON"===r,"PATH"===r||h?(a="PATH"===r?"d":"points",("string"==typeof e||e.getBBox||e[0])&&(e={shape:e}),c=I(e.shape||e.d||e.points||"","d"===a,t),h&&s.test(c)?(u("WARNING: a <"+r+"> cannot accept path data. "+q),!1):(c&&(this._target=t,t.getAttributeNS(null,"data-original")||t.setAttributeNS(null,"data-original",t.getAttribute(a)),(l=this._addTween(t,"setAttribute",t.getAttribute(a)+"",c+"","morphSVG",!1,a,"object"===o()(e.precompile)?function(t){t[0]=e.precompile[0],t[1]=e.precompile[1]}:"d"===a?(f=e.shapeIndex,d=e.map||M.defaultMap,p=e.precompile,d||p||f||0===f?function(t){C(t,f,d,p)}:C):O(e.shapeIndex)))&&(this._overwriteProps.push("morphSVG"),l.end=c,l.endProp=a)),!0)):(u("WARNING: cannot morph a <"+r+"> SVG element. "+q),!1))},set:function(t){var e;if(this._super.setRatio.call(this,t),1===t)for(e=this._firstPT;e;)e.end&&this._target.setAttribute(e.endProp,e.end),e=e._next}});M.pathFilter=C,M.pointsFilter=E,M.subdivideRawBezier=d,M.defaultMap="size",M.pathDataToRawBezier=function(t){return f(I(t,!0))},M.equalizeSegmentQuantity=S,M.convertToPath=function(t,e){"string"==typeof t&&(t=c.selector(t));for(var n=t&&0!==t.length?t.length&&t[0]&&t[0].nodeType?Array.prototype.slice.call(t,0):[t]:[],i=n.length;--i>-1;)n[i]=R(n[i],!1!==e);return n},M.pathDataToBezier=function(t,e){var n,i,r,o,a,s,l,u,h=f(I(t,!0))[0]||[],d=0;if(u=(e=e||{}).align||e.relative,o=e.matrix||[1,0,0,1,0,0],a=e.offsetX||0,s=e.offsetY||0,"relative"===u||!0===u?(a-=h[0]*o[0]+h[1]*o[2],s-=h[0]*o[1]+h[1]*o[3],d="+="):(a+=o[4],s+=o[5],u&&(u="string"==typeof u?c.selector(u):u&&u[0]?u:[u])&&u[0]&&(a-=(l=u[0].getBBox()||{x:0,y:0}).x,s-=l.y)),n=[],r=h.length,o&&"1,0,0,1,0,0"!==o.join(","))for(i=0;i<r;i+=2)n.push({x:d+(h[i]*o[0]+h[i+1]*o[2]+a),y:d+(h[i]*o[1]+h[i+1]*o[3]+s)});else for(i=0;i<r;i+=2)n.push({x:d+(h[i]+a),y:d+(h[i+1]+s)});return n}})),a._gsDefine&&a._gsQueue.pop()(),i=function(){return(a.GreenSockGlobals||a).MorphSVGPlugin},t.exports?(n(0),t.exports=i()):"function"==typeof define&&n(179)&&define(["gsap/TweenLite"],i)}).call(this,n(178)(t),n(47))},function(t,e,n){var i=n(180);t.exports=function(t){if(Array.isArray(t))return i(t)},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,n){var i=n(180);t.exports=function(t,e){if(t){if("string"==typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(t,e):void 0}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(){throw new Error("define cannot be used indirect")}},,,,,function(t,e,n){"use strict";n.r(e),n.d(e,"choice",(function(){return Ae})),n.d(e,"imageChoice",(function(){return Se})),n.d(e,"correlation",(function(){return Ce})),n.d(e,"sorting",(function(){return Pe})),n.d(e,"imageHunt",(function(){return Ee}));var i=n(27),r=n.n(i),o=n(10),a=n.n(o),s=n(11),l=n.n(s),c=n(23),u=n.n(c),h=n(24),f=n.n(h),d=n(25),p=n.n(d),g=n(8),m=n.n(g),v=n(1),y=n.n(v),b=n(107),w=n.n(b),_=n(3),x=n(38),T=n(40),k=n(6),A=n(16),S=n(4),C=globalThis.Math,P=function(t,e){if(this.length<=t)return this;var n=this.substr(0,t-1);return"".concat(e?n.substr(0,n.lastIndexOf(" ")):n,"&hellip;")},E={accent1:A.a.getCssColor("accent1"),accentContrast1:A.a.getCssColor("accentContrast1"),accent2:A.a.getCssColor("accent2"),accentContrast2:A.a.getCssColor("accentContrast2"),accent3:A.a.getCssColor("accent3"),accentContrast3:A.a.getCssColor("accentContrast3"),correct:A.a.getCssColor("correct"),correctContrast:A.a.getCssColor("correctContrast"),textColor:A.a.getCssColor("text"),disabledText:A.a.getCssColor("disabledText"),generalTextContrast:A.a.getCssColor("generalTextContrast")},O=function(t,e){return A.a.getCssColor(t,e)},R=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:120,n="";if(null===t)n+='<div class="media-wrapper image">',n+='<img src="'.concat(k.a.get("backgroundImageUrl"),'" class="image no-media-placeholder" alt="Platzhalter" title="Platzhalter">');else{n+='<div class="media-wrapper '.concat(t.type,'">');var i=!(!t.hasOwnProperty("copyright")||null===t.copyright)&&t.copyright;switch(t.type){case"image":n+='<img src="'.concat(t.url,'" class="image" alt="').concat(t.description,'" title="').concat(t.title,'"'),n+=i?' data-copyright="'.concat(i,'">'):">";break;case"audio":n+='<audio class="audio" data-desc="'.concat(t.description,'" controls'),n+=i?' data-copyright="'.concat(i,'">'):">",n+='<source src="'.concat(t.url.ogg,'" type="audio/ogg">'),n+='<source src="'.concat(t.url.mp3,'" type="audio/mpeg">'),n+="Dein Browser unterstützt keine Audio-Elemente",n+="</audio>";break;case"video":n+='<video class="video" data-desc="'.concat(t.description,'" controls'),n+=i?' data-copyright="'.concat(i,'">'):">",n+='<source src="'.concat(t.url.mp4,'" type="video/mp4">'),n+='<source src="'.concat(t.url.ogv,'" type="video/ogg">'),n+="</video>";break;case"youtube":n+='<div class="youtube" data-desc="'.concat(t.description,'" data-src="').concat(t.url,'"'),n+=i?' data-copyright="'.concat(i,'">'):">",n+='<iframe width="560" height="315" src="https://www.youtube.com/embed/'.concat(t.url,'?rel=0&showinfo=0&enablejsapi=1" frameborder="0" allow="encrypted-media"  allowfullscreen="true" allowscriptaccess="always"></iframe></div>')}n+='<div class="overlay"><div class="text text-disabled-color">'.concat(P.apply(t.description,[e,!0]),'</div><a href="#" class="mediaShowLightBox"><i class="icon i-zoom"></i><span>Vergrö&szlig;ern</span></a>'),n+=i?'<a href="#" class="showCopyright text-disabled-color" title="'.concat(i,'">&copy;Copyright</a>'):"",n+="</div>"}return n+="</div>"},I=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=[t.$target.offset().left,t.$target.offset().top,t.$target.outerWidth(),t.$target.outerHeight()];n[0]/=e;var i="left"===t.positionX?n[0]:"right"===t.positionX?n[0]+n[2]:n[0]+n[2]/2,r="top"===t.positionY?n[1]:"bottom"===t.positionY?n[1]+n[3]:n[1]+n[3]/2;return{x:i,y:r,data:n}},q=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=I(t,n),r=I(e,n);return{x:i.x-r.x,y:i.y-r.y,distance:C.sqrt(C.pow(i.x-r.x,2)+C.pow(i.y-r.y,2))}},M={visible:!1,showClick:function(t){if(!this.visible){this.visible=!0,this.$copyright=y()('<div class="copyrightWrapper"></div>'),this.$copyrightHide=y()('<div class="close hideCopyright"></div>').appendTo(this.$copyright),this.$copyrightText=y()('<div class="content">'.concat(t,"</div>")).appendTo(this.$copyright),S.a.$quizTaskWrapper.append(this.$copyright),this.$copyrightHide.on("click",this.hideClick.bind(this));var e=this.$copyright[0],n=this.$copyright.children();(new _.c).set(e,{opacity:0,scale:.3}).add("play").to(e,.4,{opacity:1,scale:1},"play").to(n,.2,{opacity:1},"play+=0.1")}},hideClick:function(){var t=this;if(this.visible){this.$copyrightHide.off("click",this.hideClick);var e=this.$copyright[0],n=this.$copyright.children();(new _.c).add("play").to(n,.2,{opacity:0},"play").to(e,.4,{opacity:0,scale:.3},"play+=0.1").add((function(){t.$copyright.remove(),t.visible=!1}))}return!1}},L=[{selector:'#quiz-task-choice-answers .input-wrapper input[type="checkbox"]:checked + label .answer-wrapper .answer-before',declarations:{color:E.accent3}},{selector:"#quiz-task-choice-answers .answer-info",declarations:{color:E.disabledText}},{selector:'#quiz-task-choice-answers .input-wrapper input[type="checkbox"]:checked + label .answer-wrapper .answer-text',declarations:{color:E.accentContrast3,"border-color":E.textColor}},{selector:'.desktop #quiz-task-choice-answers .input-wrapper input[type="checkbox"] + label:hover .answer-wrapper .answer-text',declarations:{color:E.accentContrast3}},{selector:'#quiz-task-choice-answers .input-wrapper input[type="checkbox"] + label .answer-wrapper .answer-text::after',declarations:{"background-color":E.accent3}},{selector:'.desktop #quiz-task-choice-answers .input-wrapper input[type="checkbox"]:not(:checked) + label.wrong:hover .answer-wrapper .answer-text',declarations:{color:E.textColor,"border-color":"rgb(230,230,230)"}},{selector:'#quiz-task-choice-answers .input-wrapper input[type="checkbox"]:checked + label.wrong .answer-wrapper .answer-text::after',declarations:{"background-color":E.disabledText}},{selector:'#quiz-task-choice-answers .input-wrapper input[type="checkbox"]:checked + label.wrong .answer-wrapper .answer-text',declarations:{color:E.generalTextContrast}},{selector:'#quiz-task-choice-answers .input-wrapper input[type="checkbox"]:checked + label.right .answer-wrapper .answer-text::after',declarations:{"background-color":E.correct}},{selector:'#quiz-task-choice-answers .input-wrapper input[type="checkbox"]:checked + label.right .answer-wrapper .answer-before',declarations:{color:E.correct}},{selector:'#quiz-task-choice-answers .input-wrapper input[type="checkbox"] + label.right .answer-wrapper .answer-before',declarations:{color:E.accent3}},{selector:'#quiz-task-choice-answers .input-wrapper input[type="checkbox"]:not(:checked) + label.right .answer-wrapper .answer-text',declarations:{color:E.accent3,"border-color":"rgb(230,230,230)"}},{selector:'#quiz-task-choice-answers .input-wrapper input[type="checkbox"]:checked + label.wrong .answer-wrapper .answer-text::after',declarations:{"background-color":E.disabledText}},{selector:'#quiz-task-choice-answers .input-wrapper input[type="checkbox"]:checked + label.wrong .answer-wrapper .answer-text',declarations:{color:E.generalTextContrast}}],N=[{selector:'#quiz-task-image-choice-answers .input-wrapper input[type="radio"]:checked + label .answer-wrapper .answer-before',declarations:{color:E.accent3,"border-color":E.textColor}},{selector:'.desktop #quiz-task-image-choice-answers .input-wrapper input[type="radio"]:not(:disabled) + label:hover .answer-wrapper .answer-before',declarations:{color:E.accent3}},{selector:'#quiz-task-image-choice-answers .input-wrapper input[type="radio"]:checked + label .answer-wrapper .answer-content .media-wrapper .image',declarations:{"background-color":E.accent3,"border-color":"".concat(E.accent3," !important")}},{selector:'.desktop #quiz-task-image-choice-answers .input-wrapper input[type="radio"]:not(:disabled) + label:hover .answer-wrapper .answer-content .media-wrapper .image',declarations:{"background-color":E.accent3,"border-color":"".concat(E.accent3," !important")}},{selector:'#quiz-task-image-choice-answers .input-wrapper input[type="radio"]:checked + label .answer-wrapper .answer-content .media-wrapper .overlay .text',declarations:{color:"".concat(E.accent3," !important")}},{selector:'.desktop #quiz-task-image-choice-answers .input-wrapper input[type="radio"]:not(:disabled) + label:hover .answer-wrapper .answer-content .media-wrapper .overlay .text',declarations:{color:"".concat(E.accent3," !important")}},{selector:'#quiz-task-image-choice-answers .input-wrapper input[type="radio"] + label.right .answer-wrapper .answer-content .media-wrapper .image',declarations:{"background-color":E.accent3,"border-color":"".concat(E.accent3," !important")}},{selector:'#quiz-task-image-choice-answers .input-wrapper input[type="radio"]:checked + label.right .answer-wrapper .answer-content .media-wrapper .image',declarations:{"background-color":E.correct,"border-color":"".concat(E.correct," !important")}}],D=[{selector:"#quiz-task-correlation .correlation-inner-wrapper.wrapper-choice",declarations:{"border-color":E.textColor,"background-color":E.accent3,color:E.accentContrast3}},{selector:"#quiz-task-correlation .correlation-inner-wrapper .correlation-dropzone p.wrong",declarations:{color:E.disabledText}},{selector:"#quiz-task-correlation .correlation-inner-wrapper .correlation-dropzone p.right",declarations:{color:E.textColor}}],F=[{selector:"#quiz-task-sorting .sorting-wrapper",declarations:{"border-color":E.textColor,"background-color":E.accent3,color:E.accentContrast3}},{selector:"#quiz-task-sorting .sorting-wrapper.wrong",declarations:{color:E.textColor}},{selector:"#quiz-task-sorting .sorting-wrapper.right",declarations:{"background-color":E.correct}}],z=[{selector:"#quiz-task-image-hunt-wrapper #quiz-task-image-hunt-spot-overlay .image-hunt-spot",declarations:{"border-color":E.accent3,"background-color":O("accent2",.3)}},{selector:"#quiz-task-image-hunt-wrapper #quiz-task-image-hunt-spot-overlay .image-hunt-spot.right",declarations:{"border-color":E.accent3}},{selector:"#quiz-task-image-hunt-wrapper #quiz-task-image-hunt-spot-overlay .image-hunt-spot.active.right",declarations:{"border-color":E.correct,"background-color":O("correct",.7)}}],B=n(5),j=n(19),H=globalThis.document,W=globalThis.Image,$={closeOnOverlayClick:!0,closeOnEscapeKey:!0,bindToItems:!0,contentType:"image",displayType:"auto",textLengthForAutoBreak:200,captionAttribute:"alt",urlAttribute:"src",copyrightAttribute:"data-copyright",appendTarget:"body",onOpen:null,onClose:null},U=function(){var t=this,e=null!==this.options.urlAttribute?this.$item.attr(this.options.urlAttribute):null;switch(this.options.contentType){case"image":!function(t,e){var n=new W;e&&(n.onload=e(t)),n.src=t}(e,(function(){t.$media.append('<img src="'.concat(e,'">'))}));break;case"video":case"audio":this.$copiedItem.appendTo(this.$media),this.plyr=new w.a(this.$copiedItem[0]),this.plyr.on("play",j.a.muteAtmo),this.plyr.on("ended",j.a.unmuteAtmo),this.plyr.on("pause",j.a.unmuteAtmo);break;case"youtube":this.$youtubeContent=y()("<div/>",{html:this.$copiedItem.html()}).appendTo(this.$media)}},X=function(){if(!this.$popup&&(this.$popupContent=y()("<div/>",{class:"popup-content ".concat(this.options.contentType)}),this.$popupWrap=y()("<div/>",{class:"popup-wrap",html:'<button type="button" title="Schließen" class="popup-close-btn">×</button>'}).append(this.$popupContent),this.$popupOverlay=y()("<div/>",{class:"popup-overlay"}),this.$popup=y()("<div/>",{class:"popup-element"}).append(this.$popupOverlay,this.$popupWrap),"content"!==this.options.contentType)){this.$media=y()("<div/>",{class:"popup-media ".concat(this.options.contentType," ").concat(this.options.displayType)}),this.$description=y()("<div/>",{class:"popup-desc ".concat(this.options.contentType," ").concat(this.options.displayType)});var t=this.$item.attr(this.options.captionAttribute),e=this.$item.attr(this.options.copyrightAttribute);"undefined"!==r()(e)&&!1!==e&&(t+="<br/<br/><br/<br/>&copy; Copyright: <br/>".concat(e)),this.$description.html(t),this.$popupContent.append(this.$media,this.$description),U.call(this)}},Y=function(t){(y()(t.target).is(".popup-close-btn")||this.options.closeOnOverlayClick&&0===this.$popupContent.has(t.target).length&&!this.$popupContent.is(t.target))&&this.close()},V=function(t){this.options.closeOnEscapeKey&&27===t.keyCode&&this.close()},G=function(){this.$popup.on("click",Y.bind(this)),this.$document.on("keyup",V.bind(this))},Q=function(){this.$popup.off("click",Y.bind(this)),this.$document.off("keyup",V.bind(this))},J=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a()(this,t),this.options=y.a.extend({},$,n),this.$item=e,this.$copiedItem=this.$item.clone(),this.$document=y()(H),this.$target=y()(this.options.appendTarget),this.plyr=null,"auto"===this.options.displayType&&(this.options.displayType=this.$item.attr(this.options.captionAttribute).length<this.options.textLengthForAutoBreak?"fullscreen":"splitted"),X.call(this),this.options.bindToItems&&this.$item.on("click",this.show.bind(this)),this}return l()(t,[{key:"show",value:function(){this.$popup.appendTo(this.$target),this.$target.css({overflow:"hidden"}),G.call(this)}},{key:"close",value:function(){Q.call(this),this.$popup.detach(),this.$target.css({overflow:"auto"}),this.options.onClose instanceof Function&&this.options.onClose(this)}},{key:"destroy",value:function(){this.close(),null!==this.plyr&&(this.plyr.destroy(),this.plyr=null),this.$item.off("click",X),this.$popup.remove()}}]),t}();function K(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=m()(t);if(e){var r=m()(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return p()(this,n)}}var Z=globalThis.parseInt,tt=function(){this.$quizTaskChoiceMedia.children().first().children().first().children().first().get(0).contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")},et=function(){if(null!==this.popup){switch(this.data.media.type){case"audio":case"video":this.plyr.pause();break;case"youtube":tt.call(this)}this.popup.show()}return!1},nt=function(t){var e=y()(t.target).attr("title");return M.showClick(e),!1},it=function(t){f()(n,t);var e=K(n);function n(t){var i;return a()(this,n),(i=e.call(this,t)).solvedCorrect=!1,i.plyr=null,i._generateStyles(L),i}return l()(n,[{key:"generateHtml",value:function(){var t=this;u()(m()(n.prototype),"generateHtml",this).call(this);var e=this.data.answers,i=["A","B","C","D"];return this.$quizTaskChoiceAnswers=y()("<div/>",{class:"animated",attr:{id:"quiz-task-choice-answers"}}),x.a(e),e.forEach((function(e,n){var r="questionChoice".concat(n),o='<div class="input-wrapper animated" data-answer="true">';o+='<input type="checkbox" name="questionChoice" id="'.concat(r,'" data-key="').concat(n,'">'),o+='<label for="'.concat(r,'">'),o+='<div class="answer-wrapper animated">',o+='<div class="answer-before animated">'.concat(i[n],"</div>"),o+='<div class="answer-text animated">'.concat(e.text,"</div>"),o+="</div>",o+="</label>",o+="</div>",t.$quizTaskChoiceAnswers.append(o)})),this.$quizTaskChoiceAnswers.append('<div class="answer-info">Mehrfachnennung möglich</div>'),this.$quizTaskChoiceMedia=y()("<div/>",{class:"animated",attr:{id:"quiz-task-choice-media"},html:R(this.data.media)}),this.$quizTaskMain.append(this.$quizTaskChoiceAnswers,this.$quizTaskChoiceMedia),this}},{key:"fadeIn",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(null!==this.data.media){var e=this.$quizTaskChoiceMedia.children().first().children().first();if("image"===this.data.media.type)this.popup=new J(e);else if("youtube"===this.data.media.type){var i=y()(R(this.data.media)).children().first();this.popup=new J(i,{bindToItems:!1,contentType:this.data.media.type,captionAttribute:"data-desc",urlAttribute:null}),j.a.muteAtmo()}else this.popup=new J(e,{bindToItems:!1,contentType:this.data.media.type,captionAttribute:"data-desc",urlAttribute:null}),this.plyr=new w.a(e[0]),this.plyr.on("play",j.a.muteAtmo),this.plyr.on("ended",j.a.unmuteAtmo),this.plyr.on("pause",j.a.unmuteAtmo);B.a.registerJQEvent("click",".mediaShowLightBox",et.bind(this)),null!==this.data.media.copyright&&B.a.registerJQEvent("click",".showCopyright",nt)}else this.popup=null;var r=u()(m()(n.prototype),"fadeIn",this).call(this,t);return r.set(this.$quizTaskChoiceMedia[0],{opacity:0,x:500},"init").to(this.$quizTaskChoiceMedia[0],.4,{opacity:1,x:0},"play+=0.4").staggerFrom(this.$quizTaskChoiceAnswers.children(),.5,{scale:.5,opacity:0,ease:_.a.easeOut},.1,"play+=0.4"),r}},{key:"fadeOut",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=u()(m()(n.prototype),"fadeOut",this).call(this,e);return i.staggerTo(this.$quizTaskChoiceAnswers.children(),.5,{opacity:0,y:-100,ease:_.a.easeIn},.1,"play").to(this.$quizTaskChoiceMedia[0],.5,{opacity:0,y:-100,ease:_.a.easeIn},"play").add((function(){null!==t.plyr&&(t.plyr.destroy(),t.plyr=null),null!==t.popup&&(B.a.unregisterJQEvent("click",".mediaShowLightBox",et),t.popup.destroy(),t.popup=null,j.a.unmuteAtmo()),null!==t.data.media&&null!==t.data.media.copyright&&B.a.unregisterJQEvent("click",".showCopyright",nt)}),"play+=0.5"),i}},{key:"showFeedback",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;u()(m()(n.prototype),"showFeedback",this).call(this,t),null!==this.data.media&&(null!==this.plyr?this.plyr.pause():"youtube"===this.data.media.type&&tt.call(this))}},{key:"isCorrectAnswer",value:function(t){return this.data.answers[t].isCorrect}},{key:"checkAnswers",value:function(){var t=this,e=0,n=0,i=new _.c({paused:!0}),o=0;return this.$quizTaskChoiceAnswers.children().each((function(a,s){var l=y()(s),c=y()(s).attr("data-answer");if("undefined"!==r()(c)&&!1!==c){var u=l.children().first(),h=l.children().eq(1),f=t.isCorrectAnswer(Z(u.attr("data-key")));u.attr("disabled",!0),i.to(h[0],.2,{className:"+=".concat(f?"right":"wrong")},o),o+=.12,n+=f?1:0,u.is(":checked")&&(e+=f?1:-1)}})),i.play(0),e=e<0?0:e,this.solvedCorrect=e>0,this.solvedCorrect?j.a.playPositiveFeedback():j.a.playNegativeFeedback(),{points:e,maxPoints:n}}},{key:"isQuestionSolvedCorrect",value:function(){return this.solvedCorrect}}]),n}(T.a);function rt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=m()(t);if(e){var r=m()(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return p()(this,n)}}var ot=globalThis.parseInt,at=function(){return this.popup.show(),!1},st=function(t){var e=y()(t.target).attr("title");return M.showClick(e),!1},lt=function(t){f()(n,t);var e=rt(n);function n(t){var i;return a()(this,n),(i=e.call(this,t)).solvedCorrect=!1,i._generateStyles(N),i}return l()(n,[{key:"generateHtml",value:function(){var t=this;u()(m()(n.prototype),"generateHtml",this).call(this);var e=this.data.answers,i=["A","B","C"];return this.$quizTaskImageChoiceAnswers=y()("<div/>",{class:"animated",attr:{id:"quiz-task-image-choice-answers"}}),this.$quizTaskMain.append(this.$quizTaskImageChoiceAnswers),x.a(e),e.forEach((function(e,n){var r="questionImageChoice".concat(n),o=y()("<div/>",{class:"input-wrapper animated",html:'<input type="radio" name="imageChoice" id="'.concat(r,'" data-key="').concat(n,'">')}),a=y()("<label />",{attr:{for:r}}).appendTo(o),s=y()("<div/>",{class:"answer-wrapper animated",html:'<div class="answer-before animated">'.concat(i[n],'</div><div class="answer-content animated"></div>')}).appendTo(a);e.$mediaWrapper=y()(R(e.image,80)),s.children().eq(1).append(e.$mediaWrapper),t.$quizTaskImageChoiceAnswers.append(o),e.popup=new J(e.$mediaWrapper.children().first(),{bindToItems:!1}),e.$viewMoreButton=e.$mediaWrapper.children().eq(1).children().eq(1),e.$viewMoreButton.on("click",at.bind(e))})),this}},{key:"fadeIn",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=u()(m()(n.prototype),"fadeIn",this).call(this,t);return e.staggerFrom(this.$quizTaskImageChoiceAnswers.children(),.6,{opacity:0,y:-100,ease:_.a.easeOut},.1,"play+=0.6"),B.a.registerJQEvent("click",".showCopyright",st),e}},{key:"fadeOut",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;B.a.unregisterJQEvent("click",".showCopyright",st);var e=u()(m()(n.prototype),"fadeOut",this).call(this,t);return e.staggerTo(this.$quizTaskImageChoiceAnswers.children(),.5,{opacity:0,y:-100,ease:_.a.easeIn},.1,"play"),e}},{key:"isCorrectAnswer",value:function(t){return this.data.answers[t].isCorrect}},{key:"checkAnswers",value:function(){var t=this,e=0,n=0,i=new _.c({paused:!0}),r=0;return this.$quizTaskImageChoiceAnswers.children().each((function(o,a){var s=y()(a),l=s.children().first(),c=s.children().eq(1),u=t.isCorrectAnswer(ot(l.attr("data-key"),10));l.attr("disabled",!0),i.set(c[0],{className:"+=".concat(u?"right":"wrong")},r),r+=.12,n+=u?1:0,l.is(":checked")&&(e+=u?1:-1)})),i.play(0),e=e<0?0:e,this.solvedCorrect=e>0,this.solvedCorrect?j.a.playPositiveFeedback():j.a.playNegativeFeedback(),{points:e,maxPoints:n}}},{key:"isQuestionSolvedCorrect",value:function(){return this.solvedCorrect}}]),n}(T.a),ct=n(0),ut=n(55);
/*!
 * VERSION: 0.17.1
 * DATE: 2019-02-28
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * Requires TweenLite and CSSPlugin version 1.17.0 or later (TweenMax contains both TweenLite and CSSPlugin). ThrowPropsPlugin is required for momentum-based continuation of movement after the mouse/touch is released (ThrowPropsPlugin is a membership benefit of Club GreenSock - http://greensock.com/club/).
 *
 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 *
 * @author: Jack Doyle, jack@greensock.com
 */
ct._gsScope._gsDefine("utils.Draggable",["events.EventDispatcher","TweenLite","plugins.CSSPlugin"],(function(){var t,e,n,i,r,o,a,s,l={css:{},data:"_draggable"},c={css:{},data:"_draggable"},u={css:{},data:"_draggable"},h={css:{}},f=ct._gsScope._gsDefine.globals,d={},p=function(){return!1},g={style:{},appendChild:p,removeChild:p},m=ct._gsScope.document||{createElement:function(){return g}},v=m.documentElement||{},y=function(t){return m.createElementNS?m.createElementNS("http://www.w3.org/1999/xhtml",t):m.createElement(t)},b=y("div"),w=[],_=180/Math.PI,x=999999999999999,T=Date.now||function(){return(new Date).getTime()},k=!(m.addEventListener||!m.all),A=m.createElement("div"),S=[],C={},P=0,E=/^(?:a|input|textarea|button|select)$/i,O=0,R=ct._gsScope.navigator&&-1!==ct._gsScope.navigator.userAgent.toLowerCase().indexOf("android"),I=0,q={},M={},L=function(t,e){var n,i={};if(e)for(n in t)i[n]=t[n]*e;else for(n in t)i[n]=t[n];return i},N=function(){for(var t=S.length;--t>-1;)S[t]()},D=function(t){for(var e=S.length;--e>-1;)S[e]===t&&S.splice(e,1);ct.default.to(F,0,{overwrite:"all",delay:15,onComplete:F,data:"_draggable"})},F=function(){S.length||ct.default.ticker.removeEventListener("tick",N)},z=function(){return null!=window.pageYOffset?window.pageYOffset:null!=m.scrollTop?m.scrollTop:v.scrollTop||m.body.scrollTop||0},B=function(){return null!=window.pageXOffset?window.pageXOffset:null!=m.scrollLeft?m.scrollLeft:v.scrollLeft||m.body.scrollLeft||0},j=function(t,e){Pt(t,"scroll",e),W(t.parentNode)||j(t.parentNode,e)},H=function(t,e){Et(t,"scroll",e),W(t.parentNode)||H(t.parentNode,e)},W=function(t){return!(t&&t!==v&&t!==m&&t!==m.body&&t!==window&&t.nodeType&&t.parentNode)},$=function(t,e){var n="x"===e?"Width":"Height",i="scroll"+n,r="client"+n,o=m.body;return Math.max(0,W(t)?Math.max(v[i],o[i])-(window["inner"+n]||v[r]||o[r]):t[i]-t[r])},U=function(t){var e=W(t),n=$(t,"x"),i=$(t,"y");e?t=M:U(t.parentNode),t._gsMaxScrollX=n,t._gsMaxScrollY=i,t._gsScrollX=t.scrollLeft||0,t._gsScrollY=t.scrollTop||0},X=function(t,e){return t=t||window.event,d.pageX=t.clientX+m.body.scrollLeft+v.scrollLeft,d.pageY=t.clientY+m.body.scrollTop+v.scrollTop,e&&(t.returnValue=!1),d},Y=function(t){return t?("string"==typeof t&&(t=ct.default.selector(t)),t.length&&t!==window&&t[0]&&t[0].style&&!t.nodeType&&(t=t[0]),t===window||t.nodeType&&t.style?t:null):t},V=function(t,e){var n,i,r,o=t.style;if(void 0===o[e]){for(r=["O","Moz","ms","Ms","Webkit"],i=5,n=e.charAt(0).toUpperCase()+e.substr(1);--i>-1&&void 0===o[r[i]+n];);if(i<0)return"";e=(3===i?"ms":r[i])+n}return e},G=function(t,e,n){var i=t.style;i&&(void 0===i[e]&&(e=V(t,e)),null==n?i.removeProperty?i.removeProperty(e.replace(/([A-Z])/g,"-$1").toLowerCase()):i.removeAttribute(e):void 0!==i[e]&&(i[e]=n))},Q="undefined"!=typeof window?window:m.defaultView||{getComputedStyle:function(){}},J=function(t,e){return Q.getComputedStyle(t instanceof Element?t:t.host||(t.parentNode||{}).host||t,e)},K=/(?:Left|Right|Width)/i,Z=/(?:\d|\-|\+|=|#|\.)*/g,tt=function(t,e,n,i,r){if("px"===i||!i)return n;if("auto"===i||!n)return 0;var o,a=K.test(e),s=t,l=b.style,c=n<0;return c&&(n=-n),"%"===i&&-1!==e.indexOf("border")?o=n/100*(a?t.clientWidth:t.clientHeight):(l.cssText="border:0 solid red;position:"+et(t,"position",!0)+";line-height:0;","%"!==i&&s.appendChild?l[a?"borderLeftWidth":"borderTopWidth"]=n+i:(s=t.parentNode||m.body,l[a?"width":"height"]=n+i),s.appendChild(b),o=parseFloat(b[a?"offsetWidth":"offsetHeight"]),s.removeChild(b),0!==o||r||(o=tt(t,e,n,i,!0))),c?-o:o},et=function(t,e,n){var i,r=(t._gsTransform||{})[e];return r||0===r?r:(t.style&&t.style[e]?r=t.style[e]:(i=J(t))?r=(r=i.getPropertyValue(e.replace(/([A-Z])/g,"-$1").toLowerCase()))||i.length?r:i[e]:t.currentStyle&&(r=t.currentStyle[e]),"auto"!==r||"top"!==e&&"left"!==e||(r=function(t,e){if("absolute"!==et(t,"position",!0))return 0;var n="left"===e?"Left":"Top",i=et(t,"margin"+n,!0);return t["offset"+n]-(tt(t,e,parseFloat(i),(i+"").replace(Z,""))||0)}(t,e)),n?r:parseFloat(r)||0)},nt=function(t,e,n){var i=t.vars,r=i[n],o=t._listeners[e];"function"==typeof r&&r.apply(i[n+"Scope"]||i.callbackScope||t,i[n+"Params"]||[t.pointerEvent]),o&&t.dispatchEvent(e)},it=function(t,e){var n,i,r,o=Y(t);return o?kt(o,e):void 0!==t.left?(r=bt(e),{left:t.left-r.x,top:t.top-r.y,width:t.width,height:t.height}):{left:i=t.min||t.minX||t.minRotation||0,top:n=t.min||t.minY||0,width:(t.max||t.maxX||t.maxRotation||0)-i,height:(t.max||t.maxY||0)-n}},rt=function(){if(!m.createElementNS)return i=0,void(r=!1);var t,e,n,l,c=y("div"),u=m.createElementNS("http://www.w3.org/2000/svg","svg"),h=y("div"),f=c.style,d=m.body||v,p="flex"===et(d,"display",!0);m.body&&st&&(f.position="absolute",d.appendChild(h),h.appendChild(c),l=c.offsetParent,h.style[st]="rotate(1deg)",s=c.offsetParent===l,h.style.position="absolute",f.height="10px",l=c.offsetTop,h.style.border="5px solid red",a=l!==c.offsetTop,d.removeChild(h)),f=u.style,u.setAttributeNS(null,"width","400px"),u.setAttributeNS(null,"height","400px"),u.setAttributeNS(null,"viewBox","0 0 400 400"),f.display="block",f.boxSizing="border-box",f.border="0px solid red",f.transform="none",c.style.cssText="width:100px;height:100px;overflow:scroll;-ms-overflow-style:none;",d.appendChild(c),c.appendChild(u),e=(n=u.createSVGPoint().matrixTransform(u.getScreenCTM())).y,c.scrollTop=100,n.x=n.y=0,n=n.matrixTransform(u.getScreenCTM()),o=e-n.y<100.1?0:e-n.y-150,c.removeChild(u),d.removeChild(c),d.appendChild(u),p&&(d.style.display="block"),e=(t=u.getScreenCTM()).e,f.border="50px solid red",t=u.getScreenCTM(),0===e&&0===t.e&&0===t.f&&1===t.a?(i=1,r=!0):(i=e!==t.e?1:0,r=1!==t.a),p&&(d.style.display="flex"),d.removeChild(u)},ot=""!==V(b,"perspective"),at=V(b,"transformOrigin").replace(/^ms/g,"Ms").replace(/([A-Z])/g,"-$1").toLowerCase(),st=V(b,"transform"),lt=st.replace(/^ms/g,"Ms").replace(/([A-Z])/g,"-$1").toLowerCase(),ht={},ft={},dt=ct._gsScope.SVGElement,pt=function(t){return!!(dt&&"function"==typeof t.getBBox&&t.getCTM&&(!t.parentNode||t.parentNode.getBBox&&t.parentNode.getCTM))},gt=ct._gsScope.navigator&&(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(ct._gsScope.navigator.userAgent)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(ct._gsScope.navigator.userAgent))&&parseFloat(RegExp.$1)<11,mt=[],vt=[],yt=function(t){if(!t.getBoundingClientRect||!t.parentNode||!st)return{offsetTop:0,offsetLeft:0,scaleX:1,scaleY:1,offsetParent:v};if(!1!==Dt.cacheSVGData&&t._dCache&&t._dCache.lastUpdate===ct.default.ticker.frame)return t._dCache;var e,n,a,s,l,c,u,h,f,d,p,g=t,y=wt(t);if(y.lastUpdate=ct.default.ticker.frame,t.getBBox&&!y.isSVGRoot){for(g=t.parentNode,e=t.getBBox();g&&"svg"!==(g.nodeName+"").toLowerCase();)g=g.parentNode;return s=yt(g),y.offsetTop=e.y*s.scaleY,y.offsetLeft=e.x*s.scaleX,y.scaleX=s.scaleX,y.scaleY=s.scaleY,y.offsetParent=g||v,y}for((a=y.offsetParent)===m.body&&(a=v),vt.length=mt.length=0;g&&g.parentNode;)"matrix(1, 0, 0, 1, 0, 0)"!==(l=et(g,st,!0))&&"none"!==l&&"translate3d(0px, 0px, 0px)"!==l&&(vt.push(g),mt.push(g.style[st]),g.style[st]="none"),g=g.parentNode;for(n=a.getBoundingClientRect(),l=t.getScreenCTM(),u=t.createSVGPoint().matrixTransform(l),y.scaleX=Math.sqrt(l.a*l.a+l.b*l.b),y.scaleY=Math.sqrt(l.d*l.d+l.c*l.c),void 0===i&&rt(),y.borderBox&&!r&&t.getAttribute("width")&&(s=J(t)||{},h=parseFloat(s.borderLeftWidth)+parseFloat(s.borderRightWidth)||0,f=parseFloat(s.borderTopWidth)+parseFloat(s.borderBottomWidth)||0,d=parseFloat(s.width)||0,p=parseFloat(s.height)||0,y.scaleX*=(d-h)/d,y.scaleY*=(p-f)/p),o?(e=t.getBoundingClientRect(),y.offsetLeft=e.left-n.left,y.offsetTop=e.top-n.top):(y.offsetLeft=u.x-n.left,y.offsetTop=u.y-n.top),y.offsetParent=a,c=vt.length;--c>-1;)vt[c].style[st]=mt[c];return y},bt=function(t,e){if(e=e||{},!t||t===v||!t.parentNode||t===window)return{x:0,y:0};var n=J(t),i=at&&n?n.getPropertyValue(at):"50% 50%",r=i.split(" "),o=-1!==i.indexOf("left")?"0%":-1!==i.indexOf("right")?"100%":r[0],a=-1!==i.indexOf("top")?"0%":-1!==i.indexOf("bottom")?"100%":r[1];return"center"!==a&&null!=a||(a="50%"),("center"===o||isNaN(parseFloat(o)))&&(o="50%"),t.getBBox&&pt(t)?(t._gsTransform||(ct.default.set(t,{x:"+=0",overwrite:!1}),void 0===t._gsTransform.xOrigin&&console.log("Draggable requires at least GSAP 1.17.0")),i=t.getBBox(),e.x=t._gsTransform.xOrigin-i.x,e.y=t._gsTransform.yOrigin-i.y):(t.getBBox&&-1!==(o+a).indexOf("%")&&(t={offsetWidth:(t=t.getBBox()).width,offsetHeight:t.height}),e.x=-1!==o.indexOf("%")?t.offsetWidth*parseFloat(o)/100:parseFloat(o),e.y=-1!==a.indexOf("%")?t.offsetHeight*parseFloat(a)/100:parseFloat(a)),e},wt=function(t){if(!1!==Dt.cacheSVGData&&t._dCache&&t._dCache.lastUpdate===ct.default.ticker.frame)return t._dCache;var e,n=t._dCache=t._dCache||{},i=J(t),r=t.getBBox&&pt(t),o="svg"===(t.nodeName+"").toLowerCase();if(n.isSVG=r,n.isSVGRoot=o,n.borderBox="border-box"===i.boxSizing,n.computedStyle=i,o)(e=t.parentNode||v).insertBefore(b,t),n.offsetParent=b.offsetParent||v,e.removeChild(b);else if(r){for(e=t.parentNode;e&&"svg"!==(e.nodeName+"").toLowerCase();)e=e.parentNode;n.offsetParent=e}else n.offsetParent=t.offsetParent;return n},_t=function(t,e,n,r,o){if(t===window||!t||!t.style||!t.parentNode)return[1,0,0,1,0,0];var l,c,u,h,f,d,p,g,y,b,w,_,x,T,k=t._dCache||wt(t),A=t.parentNode,S=A._dCache||wt(A),C=k.computedStyle,P=k.isSVG?S.offsetParent:A.offsetParent;if(l=k.isSVG&&-1!==(t.style[st]+"").indexOf("matrix")?t.style[st]:C?C.getPropertyValue(lt):t.currentStyle?t.currentStyle[st]:"1,0,0,1,0,0",t.getBBox&&-1!==(t.getAttribute("transform")+"").indexOf("matrix")&&(l=t.getAttribute("transform")),(l=(l+"").match(/(?:\-|\.|\b)(\d|\.|e\-)+/g)||[1,0,0,1,0,0]).length>6&&(l=[l[0],l[1],l[4],l[5],l[12],l[13]]),r?l[4]=l[5]=0:k.isSVG&&(f=t._gsTransform)&&(f.xOrigin||f.yOrigin)&&(l[0]=parseFloat(l[0]),l[1]=parseFloat(l[1]),l[2]=parseFloat(l[2]),l[3]=parseFloat(l[3]),l[4]=parseFloat(l[4])-(f.xOrigin-(f.xOrigin*l[0]+f.yOrigin*l[2])),l[5]=parseFloat(l[5])-(f.yOrigin-(f.xOrigin*l[1]+f.yOrigin*l[3]))),e)if(void 0===i&&rt(),u=k.isSVG||k.isSVGRoot?yt(t):t,k.isSVG?(h=t.getBBox(),b=S.isSVGRoot?{x:0,y:0}:A.getBBox(),u={offsetLeft:h.x-b.x,offsetTop:h.y-b.y,offsetParent:k.offsetParent}):k.isSVGRoot?(w=parseInt(C.borderTopWidth,10)||0,_=parseInt(C.borderLeftWidth,10)||0,x=(l[0]-i)*_+l[2]*w,T=l[1]*_+(l[3]-i)*w,d=e.x,p=e.y,g=d-(d*l[0]+p*l[2]),y=p-(d*l[1]+p*l[3]),l[4]=parseFloat(l[4])+g,l[5]=parseFloat(l[5])+y,e.x-=g,e.y-=y,d=u.scaleX,p=u.scaleY,o||(e.x*=d,e.y*=p),l[0]*=d,l[1]*=p,l[2]*=d,l[3]*=p,gt||(e.x+=x,e.y+=T),P===m.body&&u.offsetParent===v&&(P=v)):!a&&t.offsetParent&&(e.x+=parseInt(et(t.offsetParent,"borderLeftWidth"),10)||0,e.y+=parseInt(et(t.offsetParent,"borderTopWidth"),10)||0),c=A===v||A===m.body,l[4]=Number(l[4])+e.x+(u.offsetLeft||0)-n.x-(c?0:A.scrollLeft||0),l[5]=Number(l[5])+e.y+(u.offsetTop||0)-n.y-(c?0:A.scrollTop||0),A&&"fixed"===et(t,"position",!0))for(l[4]+=B(),l[5]+=z(),A=A.offsetParent;A;)l[4]-=A.offsetLeft,l[5]-=A.offsetTop,A=A.offsetParent;else!A||A===v||P!==u.offsetParent||S.isSVG||s&&"100100"!==_t(A).join("")||(u=S.isSVGRoot?yt(A):A,l[4]-=u.offsetLeft||0,l[5]-=u.offsetTop||0,a||!S.offsetParent||k.isSVG||k.isSVGRoot||(l[4]-=parseInt(et(S.offsetParent,"borderLeftWidth"),10)||0,l[5]-=parseInt(et(S.offsetParent,"borderTopWidth"),10)||0));return l},xt=function(t,e){if(!t||t===window||!t.parentNode)return[1,0,0,1,0,0];for(var n,i,r,o,a,s,l,c,u=bt(t,ht),h=bt(t.parentNode,ft),f=_t(t,u,h,!1,!e);(t=t.parentNode)&&t.parentNode&&t!==v;)u=h,h=bt(t.parentNode,u===ht?ft:ht),l=_t(t,u,h),n=f[0],i=f[1],r=f[2],o=f[3],a=f[4],s=f[5],f[0]=n*l[0]+i*l[2],f[1]=n*l[1]+i*l[3],f[2]=r*l[0]+o*l[2],f[3]=r*l[1]+o*l[3],f[4]=a*l[0]+s*l[2]+l[4],f[5]=a*l[1]+s*l[3]+l[5];return e&&(n=f[0],i=f[1],r=f[2],o=f[3],a=f[4],s=f[5],c=n*o-i*r,f[0]=o/c,f[1]=-i/c,f[2]=-r/c,f[3]=n/c,f[4]=(r*s-o*a)/c,f[5]=-(n*s-i*a)/c),f},Tt=function(t,e,n){var i=t.x*e[0]+t.y*e[2]+e[4],r=t.x*e[1]+t.y*e[3]+e[5];return t.x=i*n[0]+r*n[2]+n[4],t.y=i*n[1]+r*n[3]+n[5],t},kt=function(t,e,n){if(!(t=Y(t)))return null;e=Y(e);var i,r,o,a,s,l,c,u,h,f,d,p,g,y,b,w,_,x,T,A,S,C,P=t.getBBox&&pt(t);if(t===window)a=z(),o=(r=B())+(v.clientWidth||t.innerWidth||m.body.clientWidth||0),s=a+((t.innerHeight||0)-20<v.clientHeight?v.clientHeight:t.innerHeight||m.body.clientHeight||0);else{if(void 0===e||e===window)return t.getBoundingClientRect();r=-(i=bt(t)).x,a=-i.y,P?(g=(p=t.getBBox()).width,y=p.height):"svg"!==(t.nodeName+"").toLowerCase()&&t.offsetWidth?(g=t.offsetWidth,y=t.offsetHeight):(S=J(t),g=parseFloat(S.width),y=parseFloat(S.height)),o=r+g,s=a+y,"svg"!==t.nodeName.toLowerCase()||k||(C=(b=yt(t)).computedStyle||{},x=(t.getAttribute("viewBox")||"0 0").split(" "),T=parseFloat(x[0]),A=parseFloat(x[1]),w=parseFloat(C.borderLeftWidth)||0,_=parseFloat(C.borderTopWidth)||0,r/=b.scaleX,a/=b.scaleY,o=r+g-(g-(g-w)/b.scaleX-T),s=a+y-(y-(y-_)/b.scaleY-A),r-=w/b.scaleX-T,a-=_/b.scaleY-A,S&&(o+=(parseFloat(C.borderRightWidth)+w)/b.scaleX,s+=(_+parseFloat(C.borderBottomWidth))/b.scaleY))}return t===e?{left:r,top:a,width:o-r,height:s-a}:(l=xt(t),c=xt(e,!0),u=Tt({x:r,y:a},l,c),h=Tt({x:o,y:a},l,c),f=Tt({x:o,y:s},l,c),d=Tt({x:r,y:s},l,c),r=Math.min(u.x,h.x,f.x,d.x),a=Math.min(u.y,h.y,f.y,d.y),q.x=q.y=0,n&&bt(e,q),{left:r+q.x,top:a+q.y,width:Math.max(u.x,h.x,f.x,d.x)-r,height:Math.max(u.y,h.y,f.y,d.y)-a})},At=function(t){return!!(t&&t.length&&t[0]&&(t[0].nodeType&&t[0].style&&!t.nodeType||t[0].length&&t[0][0]))},St="undefined"!=typeof window&&"ontouchstart"in v&&"orientation"in window,Ct=function(t){for(var n=t.split(","),i=(void 0!==b.onpointerdown?"pointerdown,pointermove,pointerup,pointercancel":void 0!==b.onmspointerdown?"MSPointerDown,MSPointerMove,MSPointerUp,MSPointerCancel":t).split(","),r={},o=4;--o>-1;)r[n[o]]=i[o],r[i[o]]=n[o];try{v.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){e=1}}))}catch(t){}return r}("touchstart,touchmove,touchend,touchcancel"),Pt=function(t,n,i,r){if(t.addEventListener){var o=Ct[n];r=r||(e?{passive:!1}:null),t.addEventListener(o||n,i,r),o&&n!==o&&t.addEventListener(n,i,r)}else t.attachEvent&&t.attachEvent("on"+n,i)},Et=function(t,e,n){if(t.removeEventListener){var i=Ct[e];t.removeEventListener(i||e,n),i&&e!==i&&t.removeEventListener(e,n)}else t.detachEvent&&t.detachEvent("on"+e,n)},Ot=function(e){t=e.touches&&O<e.touches.length,Et(e.target,"touchend",Ot)},Rt=function(e){t=e.touches&&O<e.touches.length,Pt(e.target,"touchend",Ot)},It=function(t,e,n,i,r,o){var a,s,l,c={};if(e)if(1!==r&&e instanceof Array){if(c.end=a=[],l=e.length,"object"==typeof e[0])for(s=0;s<l;s++)a[s]=L(e[s],r);else for(s=0;s<l;s++)a[s]=e[s]*r;n+=1.1,i-=1.1}else c.end="function"==typeof e?function(n){var i,o,a=e.call(t,n);if(1!==r)if("object"==typeof a){for(o in i={},a)i[o]=a[o]*r;a=i}else a*=r;return a}:e;return(n||0===n)&&(c.max=n),(i||0===i)&&(c.min=i),o&&(c.velocity=0),c},qt=function(t){var e;return!(!t||!t.getAttribute||"BODY"===t.nodeName)&&(!("true"!==(e=t.getAttribute("data-clickable"))&&("false"===e||!t.onclick&&!E.test(t.nodeName+"")&&"true"!==t.getAttribute("contentEditable")))||qt(t.parentNode))},Mt=function(t,e){for(var n,i=t.length;--i>-1;)(n=t[i]).ondragstart=n.onselectstart=e?null:p,G(n,"userSelect",e?"text":"none")},Lt=function(){var t,e=m.createElement("div"),n=m.createElement("div"),i=n.style,r=m.body||b;return i.display="inline-block",i.position="relative",e.style.cssText=n.innerHTML="width:90px; height:40px; padding:10px; overflow:auto; visibility: hidden",e.appendChild(n),r.appendChild(e),t=n.offsetHeight+18>e.scrollHeight,r.removeChild(e),t}(),Nt=function(t,e){t=Y(t),e=e||{};var n,i,r,o,a,s,l=m.createElement("div"),c=l.style,u=t.firstChild,h=0,f=0,d=t.scrollTop,p=t.scrollLeft,g=t.scrollWidth,v=t.scrollHeight,y=0,b=0,w=0;ot&&!1!==e.force3D?(a="translate3d(",s="px,0px)"):st&&(a="translate(",s="px)"),this.scrollTop=function(t,e){if(!arguments.length)return-this.top();this.top(-t,e)},this.scrollLeft=function(t,e){if(!arguments.length)return-this.left();this.left(-t,e)},this.left=function(n,i){if(!arguments.length)return-(t.scrollLeft+f);var r=t.scrollLeft-p,o=f;if((r>2||r<-2)&&!i)return p=t.scrollLeft,ct.default.killTweensOf(this,!0,{left:1,scrollLeft:1}),this.left(-p),void(e.onKill&&e.onKill());(n=-n)<0?(f=n-.5|0,n=0):n>b?(f=n-b|0,n=b):f=0,(f||o)&&(a?this._suspendTransforms||(c[st]=a+-f+"px,"+-h+s):c.left=-f+"px",f+y>=0&&(c.paddingRight=f+y+"px")),t.scrollLeft=0|n,p=t.scrollLeft},this.top=function(n,i){if(!arguments.length)return-(t.scrollTop+h);var r=t.scrollTop-d,o=h;if((r>2||r<-2)&&!i)return d=t.scrollTop,ct.default.killTweensOf(this,!0,{top:1,scrollTop:1}),this.top(-d),void(e.onKill&&e.onKill());(n=-n)<0?(h=n-.5|0,n=0):n>w?(h=n-w|0,n=w):h=0,(h||o)&&(a?this._suspendTransforms||(c[st]=a+-f+"px,"+-h+s):c.top=-h+"px"),t.scrollTop=0|n,d=t.scrollTop},this.maxScrollTop=function(){return w},this.maxScrollLeft=function(){return b},this.disable=function(){for(u=l.firstChild;u;)o=u.nextSibling,t.appendChild(u),u=o;t===l.parentNode&&t.removeChild(l)},this.enable=function(){if((u=t.firstChild)!==l){for(;u;)o=u.nextSibling,l.appendChild(u),u=o;t.appendChild(l),this.calibrate()}},this.calibrate=function(e){var o,a,s=t.clientWidth===n;d=t.scrollTop,p=t.scrollLeft,s&&t.clientHeight===i&&l.offsetHeight===r&&g===t.scrollWidth&&v===t.scrollHeight&&!e||((h||f)&&(o=this.left(),a=this.top(),this.left(-t.scrollLeft),this.top(-t.scrollTop)),s&&!e||(c.display="block",c.width="auto",c.paddingRight="0px",(y=Math.max(0,t.scrollWidth-t.clientWidth))&&(y+=et(t,"paddingLeft")+(Lt?et(t,"paddingRight"):0))),c.display="inline-block",c.position="relative",c.overflow="visible",c.verticalAlign="top",c.width="100%",c.paddingRight=y+"px",Lt&&(c.paddingBottom=et(t,"paddingBottom",!0)),k&&(c.zoom="1"),n=t.clientWidth,i=t.clientHeight,g=t.scrollWidth,v=t.scrollHeight,b=t.scrollWidth-n,w=t.scrollHeight-i,r=l.offsetHeight,c.display="block",(o||a)&&(this.left(o),this.top(a)))},this.content=l,this.element=t,this._suspendTransforms=!1,this.enable()},Dt=function(e,i){ct.EventDispatcher.call(this,e),e=Y(e),n||(n=f.com.greensock.plugins.ThrowPropsPlugin),this.vars=i=L(i||{}),this.target=e,this.x=this.y=this.rotation=0,this.dragResistance=parseFloat(i.dragResistance)||0,this.edgeResistance=isNaN(i.edgeResistance)?1:parseFloat(i.edgeResistance)||0,this.lockAxis=i.lockAxis,this.autoScroll=i.autoScroll||0,this.lockedAxis=null,this.allowEventDefault=!!i.allowEventDefault;var r,o,a,s,d,p,g,y,b,E,F,z,B,$,V,Q,J,K,Z,tt,rt,ot,at,st,lt,ht,ft,dt,gt,mt,vt,yt,wt=(i.type||(k?"top,left":"x,y")).toLowerCase(),_t=-1!==wt.indexOf("x")||-1!==wt.indexOf("y"),Tt=-1!==wt.indexOf("rotation"),kt=Tt?"rotation":_t?"x":"left",At=_t?"y":"top",Ot=-1!==wt.indexOf("x")||-1!==wt.indexOf("left")||"scroll"===wt,Lt=-1!==wt.indexOf("y")||-1!==wt.indexOf("top")||"scroll"===wt,Ft=i.minimumMovement||2,zt=this,jt=function(t){if("string"==typeof t&&(t=ct.default.selector(t)),!t||t.nodeType)return[t];var e,n=[],i=t.length;for(e=0;e!==i;n.push(t[e++]));return n}(i.trigger||i.handle||e),Ht={},Wt=0,$t=!1,Ut=i.autoScrollMarginTop||40,Xt=i.autoScrollMarginRight||40,Yt=i.autoScrollMarginBottom||40,Vt=i.autoScrollMarginLeft||40,Gt=i.clickableTest||qt,Qt=0,Jt=function(t){if(!(zt.isPressed&&t.which<2))return t.preventDefault(),t.stopPropagation(),!1;zt.endDrag()},Kt=function(t){if(zt.autoScroll&&zt.isDragging&&($t||K)){var n,i,r,a,s,l,c,u,h=e,f=15*zt.autoScroll;for($t=!1,M.scrollTop=null!=window.pageYOffset?window.pageYOffset:null!=v.scrollTop?v.scrollTop:m.body.scrollTop,M.scrollLeft=null!=window.pageXOffset?window.pageXOffset:null!=v.scrollLeft?v.scrollLeft:m.body.scrollLeft,a=zt.pointerX-M.scrollLeft,s=zt.pointerY-M.scrollTop;h&&!i;)n=(i=W(h.parentNode))?M:h.parentNode,r=i?{bottom:Math.max(v.clientHeight,window.innerHeight||0),right:Math.max(v.clientWidth,window.innerWidth||0),left:0,top:0}:n.getBoundingClientRect(),l=c=0,Lt&&((u=n._gsMaxScrollY-n.scrollTop)<0?c=u:s>r.bottom-Yt&&u?($t=!0,c=Math.min(u,f*(1-Math.max(0,r.bottom-s)/Yt)|0)):s<r.top+Ut&&n.scrollTop&&($t=!0,c=-Math.min(n.scrollTop,f*(1-Math.max(0,s-r.top)/Ut)|0)),c&&(n.scrollTop+=c)),Ot&&((u=n._gsMaxScrollX-n.scrollLeft)<0?l=u:a>r.right-Xt&&u?($t=!0,l=Math.min(u,f*(1-Math.max(0,r.right-a)/Xt)|0)):a<r.left+Vt&&n.scrollLeft&&($t=!0,l=-Math.min(n.scrollLeft,f*(1-Math.max(0,a-r.left)/Vt)|0)),l&&(n.scrollLeft+=l)),i&&(l||c)&&(window.scrollTo(n.scrollLeft,n.scrollTop),fe(zt.pointerX+l,zt.pointerY+c)),h=n}if(K){var d=zt.x,p=zt.y,g=1e-6;d<g&&d>-g&&(d=0),p<g&&p>-g&&(p=0),Tt?(zt.deltaX=d-ft.data.rotation,ft.data.rotation=zt.rotation=d,ft.setRatio(1)):o?(Lt&&(zt.deltaY=p-o.top(),o.top(p)),Ot&&(zt.deltaX=d-o.left(),o.left(d))):_t?(Lt&&(zt.deltaY=p-ft.data.y,ft.data.y=p),Ot&&(zt.deltaX=d-ft.data.x,ft.data.x=d),ft.setRatio(1)):(Lt&&(zt.deltaY=p-parseFloat(e.style.top||0),e.style.top=p+"px"),Ot&&(zt.deltaY=d-parseFloat(e.style.left||0),e.style.left=d+"px")),!y||t||mt||(mt=!0,nt(zt,"drag","onDrag"),mt=!1)}K=!1},Zt=function(t,n){var i,r=zt.x,a=zt.y;e._gsTransform||!_t&&!Tt||ct.default.set(e,{x:"+=0",overwrite:!1,data:"_draggable"}),_t?(zt.y=e._gsTransform.y,zt.x=e._gsTransform.x):Tt?zt.x=zt.rotation=e._gsTransform.rotation:o?(zt.y=o.top(),zt.x=o.left()):(zt.y=parseInt(e.style.top,10)||0,zt.x=parseInt(e.style.left,10)||0),(tt||rt||ot)&&!n&&(zt.isDragging||zt.isThrowing)&&(ot&&(q.x=zt.x,q.y=zt.y,(i=ot(q)).x!==zt.x&&(zt.x=i.x,K=!0),i.y!==zt.y&&(zt.y=i.y,K=!0)),tt&&(i=tt(zt.x))!==zt.x&&(zt.x=i,Tt&&(zt.rotation=i),K=!0),rt&&((i=rt(zt.y))!==zt.y&&(zt.y=i),K=!0)),K&&Kt(!0),t||(zt.deltaX=zt.x-r,zt.deltaY=zt.y-a,nt(zt,"throwupdate","onThrowUpdate"))},te=function(){var t,n,r,a;g=!1,o?(o.calibrate(),zt.minX=E=-o.maxScrollLeft(),zt.minY=z=-o.maxScrollTop(),zt.maxX=b=zt.maxY=F=0,g=!0):i.bounds&&(t=it(i.bounds,e.parentNode),Tt?(zt.minX=E=t.left,zt.maxX=b=t.left+t.width,zt.minY=z=zt.maxY=F=0):void 0!==i.bounds.maxX||void 0!==i.bounds.maxY?(t=i.bounds,zt.minX=E=t.minX,zt.minY=z=t.minY,zt.maxX=b=t.maxX,zt.maxY=F=t.maxY):(n=it(e,e.parentNode),zt.minX=E=et(e,kt)+t.left-n.left,zt.minY=z=et(e,At)+t.top-n.top,zt.maxX=b=E+(t.width-n.width),zt.maxY=F=z+(t.height-n.height)),E>b&&(zt.minX=b,zt.maxX=b=E,E=zt.minX),z>F&&(zt.minY=F,zt.maxY=F=z,z=zt.minY),Tt&&(zt.minRotation=E,zt.maxRotation=b),g=!0),i.liveSnap&&(a=(r=!0===i.liveSnap?i.snap||{}:i.liveSnap)instanceof Array||"function"==typeof r,Tt?(tt=le(a?r:r.rotation,E,b,1),rt=null):r.points?ot=ce(a?r:r.points,E,b,z,F,r.radius,o?-1:1):(Ot&&(tt=le(a?r:r.x||r.left||r.scrollLeft,E,b,o?-1:1)),Lt&&(rt=le(a?r:r.y||r.top||r.scrollTop,z,F,o?-1:1))))},ee=function(){zt.isThrowing=!1,nt(zt,"throwcomplete","onThrowComplete")},ne=function(){zt.isThrowing=!1},ie=function(t,r){var a,s,l,c;t&&n?(!0===t&&(s=(a=i.snap||i.liveSnap||{})instanceof Array||"function"==typeof a,t={resistance:(i.throwResistance||i.resistance||1e3)/(Tt?10:1)},Tt?t.rotation=It(zt,s?a:a.rotation,b,E,1,r):(Ot&&(t[kt]=It(zt,s?a:a.points||a.x||a.left||a.scrollLeft,b,E,o?-1:1,r||"x"===zt.lockedAxis)),Lt&&(t[At]=It(zt,s?a:a.points||a.y||a.top||a.scrollTop,F,z,o?-1:1,r||"y"===zt.lockedAxis)),(a.points||a instanceof Array&&"object"==typeof a[0])&&(t.linkedProps=kt+","+At,t.radius=a.radius))),zt.isThrowing=!0,c=isNaN(i.overshootTolerance)?1===i.edgeResistance?0:1-zt.edgeResistance+.2:i.overshootTolerance,zt.tween=l=n.to(o||e,{throwProps:t,data:"_draggable",ease:i.ease||f.Power3.easeOut,onComplete:ee,onOverwrite:ne,onUpdate:i.fastMode?nt:Zt,onUpdateParams:i.fastMode?[zt,"onthrowupdate","onThrowUpdate"]:a&&a.radius?[!1,!0]:w},Math.max(i.minDuration||0,i.maxDuration||0)||2,isNaN(i.minDuration)?0===c||"object"==typeof t&&t.resistance>1e3?0:.5:i.minDuration,c),i.fastMode||(o&&(o._suspendTransforms=!0),l.render(l.duration(),!0,!0),Zt(!0,!0),zt.endX=zt.x,zt.endY=zt.y,Tt&&(zt.endRotation=zt.x),l.play(0),Zt(!0,!0),o&&(o._suspendTransforms=!1))):g&&zt.applyBounds()},re=function(t){var n,i,r,o,l,c,u,h,f,d=lt||[1,0,0,1,0,0];lt=xt(e.parentNode,!0),t&&zt.isPressed&&d.join(",")!==lt.join(",")&&(n=d[0],i=d[1],r=d[2],o=d[3],l=d[4],c=d[5],f=a*(-i/(u=n*o-i*r))+s*(n/u)+-(n*c-i*l)/u,s=(h=a*(o/u)+s*(-r/u)+(r*c-o*l)/u)*lt[1]+f*lt[3]+lt[5],a=h*lt[0]+f*lt[2]+lt[4]),lt[1]||lt[2]||1!=lt[0]||1!=lt[3]||0!=lt[4]||0!=lt[5]||(lt=null)},oe=function(){var t=1-zt.edgeResistance;re(!1),lt&&(a=zt.pointerX*lt[0]+zt.pointerY*lt[2]+lt[4],s=zt.pointerX*lt[1]+zt.pointerY*lt[3]+lt[5]),K&&(fe(zt.pointerX,zt.pointerY),Kt(!0)),o?(te(),p=o.top(),d=o.left()):(ae()?(Zt(!0,!0),te()):zt.applyBounds(),Tt?(J=zt.rotationOrigin=function(t,e,n,i){t=Y(t);var r=xt(t,!1),o=e.x,a=e.y;return n&&(bt(t,e),o-=e.x,a-=e.y),(i=!0===i?e:i||{}).x=o*r[0]+a*r[2]+r[4],i.y=o*r[1]+a*r[3]+r[5],i}(e,{x:0,y:0}),Zt(!0,!0),d=zt.x,p=zt.y=Math.atan2(J.y-zt.pointerY,zt.pointerX-J.x)*_):(e.parentNode&&e.parentNode.scrollTop||0,e.parentNode&&e.parentNode.scrollLeft||0,p=et(e,At),d=et(e,kt))),g&&t&&(d>b?d=b+(d-b)/t:d<E&&(d=E-(E-d)/t),Tt||(p>F?p=F+(p-F)/t:p<z&&(p=z-(z-p)/t))),zt.startX=d,zt.startY=p},ae=function(){return zt.tween&&zt.tween.isActive()},se=function(){!A.parentNode||ae()||zt.isDragging||A.parentNode.removeChild(A)},le=function(t,e,n,i){return null==e&&(e=-x),null==n&&(n=x),"function"==typeof t?function(r){var o=zt.isPressed?1-zt.edgeResistance:1;return t.call(zt,r>n?n+(r-n)*o:r<e?e+(r-e)*o:r)*i}:t instanceof Array?function(i){for(var r,o,a=t.length,s=0,l=x;--a>-1;)(o=(r=t[a])-i)<0&&(o=-o),o<l&&r>=e&&r<=n&&(s=a,l=o);return t[s]}:isNaN(t)?function(t){return t}:function(){return t*i}},ce=function(t,e,n,i,r,o,a){return o=o&&o<x?o*o:x,"function"==typeof t?function(s){var l,c,u,h=zt.isPressed?1-zt.edgeResistance:1,f=s.x,d=s.y;return s.x=f=f>n?n+(f-n)*h:f<e?e+(f-e)*h:f,s.y=d=d>r?r+(d-r)*h:d<i?i+(d-i)*h:d,(l=t.call(zt,s))!==s&&(s.x=l.x,s.y=l.y),1!==a&&(s.x*=a,s.y*=a),o<x&&(c=s.x-f)*c+(u=s.y-d)*u>o&&(s.x=f,s.y=d),s}:t instanceof Array?function(e){for(var n,i,r,a,s=t.length,l=0,c=x;--s>-1;)(a=(n=(r=t[s]).x-e.x)*n+(i=r.y-e.y)*i)<c&&(l=s,c=a);return c<=o?t[l]:e}:function(t){return t}},ue=function(t,n){var l;if(r&&!zt.isPressed&&t&&("mousedown"!==t.type&&"pointerdown"!==t.type||n||!(T()-Qt<30)||!Ct[zt.pointerEvent.type])){if(ht=ae(),zt.pointerEvent=t,Ct[t.type]?(st=-1!==t.type.indexOf("touch")?t.currentTarget||t.target:m,Pt(st,"touchend",de),Pt(st,"touchmove",he),Pt(st,"touchcancel",de),Pt(m,"touchstart",Rt)):(st=null,Pt(m,"mousemove",he)),gt=null,Pt(m,"mouseup",de),t&&t.target&&Pt(t.target,"mouseup",de),at=Gt.call(zt,t.target)&&!1===i.dragClickables&&!n)return Pt(t.target,"change",de),nt(zt,"pressInit","onPressInit"),nt(zt,"press","onPress"),void Mt(jt,!0);if(dt=!(!st||Ot===Lt||!1===zt.vars.allowNativeTouchScrolling||zt.vars.allowContextMenu&&t&&(t.ctrlKey||t.which>2))&&(Ot?"y":"x"),k?t=X(t,!0):dt||zt.allowEventDefault||(t.preventDefault(),t.preventManipulation&&t.preventManipulation()),t.changedTouches?(t=V=t.changedTouches[0],Q=t.identifier):t.pointerId?Q=t.pointerId:V=Q=null,O++,function(t){S.push(t),1===S.length&&ct.default.ticker.addEventListener("tick",N,this,!1,1)}(Kt),s=zt.pointerY=t.pageY,a=zt.pointerX=t.pageX,nt(zt,"pressInit","onPressInit"),(dt||zt.autoScroll)&&U(e.parentNode),!e.parentNode||!zt.autoScroll||o||Tt||!e.parentNode._gsMaxScrollX||A.parentNode||e.getBBox||(A.style.width=e.parentNode.scrollWidth+"px",e.parentNode.appendChild(A)),oe(),zt.tween&&zt.tween.kill(),zt.isThrowing=!1,ct.default.killTweensOf(o||e,!0,Ht),o&&ct.default.killTweensOf(e,!0,{scrollTo:1}),zt.tween=zt.lockedAxis=null,(i.zIndexBoost||!Tt&&!o&&!1!==i.zIndexBoost)&&(e.style.zIndex=Dt.zIndex++),zt.isPressed=!0,y=!(!i.onDrag&&!zt._listeners.drag),!Tt&&(!1!==i.cursor||i.activeCursor))for(l=jt.length;--l>-1;)G(jt[l],"cursor",i.activeCursor||i.cursor||"move");nt(zt,"press","onPress")}},he=function(e){var n,i,o,l,c,u,h=e;if(r&&!t&&zt.isPressed&&e){if(zt.pointerEvent=e,n=e.changedTouches){if((e=n[0])!==V&&e.identifier!==Q){for(l=n.length;--l>-1&&(e=n[l]).identifier!==Q;);if(l<0)return}}else if(e.pointerId&&Q&&e.pointerId!==Q)return;if(k)e=X(e,!0);else{if(st&&dt&&!gt&&(i=e.pageX,o=e.pageY,lt&&(l=i*lt[0]+o*lt[2]+lt[4],o=i*lt[1]+o*lt[3]+lt[5],i=l),((c=Math.abs(i-a))!==(u=Math.abs(o-s))&&(c>Ft||u>Ft)||R&&dt===gt)&&(gt=c>u&&Ot?"x":"y",!1!==zt.vars.lockAxisOnTouchScroll&&(zt.lockedAxis="x"===gt?"y":"x","function"==typeof zt.vars.onLockAxis&&zt.vars.onLockAxis.call(zt,h)),R&&dt===gt)))return void de(h);zt.allowEventDefault||dt&&(!gt||dt===gt)||!1===h.cancelable||(h.preventDefault(),h.preventManipulation&&h.preventManipulation())}zt.autoScroll&&($t=!0),fe(e.pageX,e.pageY)}},fe=function(t,e){var n,i,r,o,l,c,u=1-zt.dragResistance,h=1-zt.edgeResistance;zt.pointerX=t,zt.pointerY=e,Tt?(o=Math.atan2(J.y-e,t-J.x)*_,(l=zt.y-o)>180?(p-=360,zt.y=o):l<-180&&(p+=360,zt.y=o),zt.x!==d||Math.abs(p-o)>Ft?(zt.y=o,r=d+(p-o)*u):r=d):(lt&&(c=t*lt[0]+e*lt[2]+lt[4],e=t*lt[1]+e*lt[3]+lt[5],t=c),(i=e-s)<Ft&&i>-Ft&&(i=0),(n=t-a)<Ft&&n>-Ft&&(n=0),(zt.lockAxis||zt.lockedAxis)&&(n||i)&&((c=zt.lockedAxis)||(zt.lockedAxis=c=Ot&&Math.abs(n)>Math.abs(i)?"y":Lt?"x":null,c&&"function"==typeof zt.vars.onLockAxis&&zt.vars.onLockAxis.call(zt,zt.pointerEvent)),"y"===c?i=0:"x"===c&&(n=0)),r=d+n*u,o=p+i*u),(tt||rt||ot)&&(zt.x!==r||zt.y!==o&&!Tt)?(ot&&(q.x=r,q.y=o,r=(c=ot(q)).x,o=c.y),tt&&(r=tt(r)),rt&&(o=rt(o))):g&&(r>b?r=b+(r-b)*h:r<E&&(r=E+(r-E)*h),Tt||(o>F?o=F+(o-F)*h:o<z&&(o=z+(o-z)*h))),Tt||lt||(r=Math.round(r),o=Math.round(o)),(zt.x!==r||zt.y!==o&&!Tt)&&(Tt?(zt.endRotation=zt.x=zt.endX=r,K=!0):(Lt&&(zt.y=zt.endY=o,K=!0),Ot&&(zt.x=zt.endX=r,K=!0)),!zt.isDragging&&zt.isPressed&&(zt.isDragging=!0,nt(zt,"dragstart","onDragStart")))},de=function(t,n){if(r&&zt.isPressed&&(!t||null==Q||n||!(t.pointerId&&t.pointerId!==Q||t.changedTouches&&!function(t,e){for(var n=t.length;--n>-1;)if(t[n].identifier===e)return!0;return!1}(t.changedTouches,Q)))){zt.isPressed=!1;var o,a,s,l,c,u=t,h=zt.isDragging,f=zt.vars.allowContextMenu&&t&&(t.ctrlKey||t.which>2),d=ct.default.delayedCall(.001,se);if(st?(Et(st,"touchend",de),Et(st,"touchmove",he),Et(st,"touchcancel",de),Et(m,"touchstart",Rt)):Et(m,"mousemove",he),Et(m,"mouseup",de),t&&t.target&&Et(t.target,"mouseup",de),K=!1,at&&!f)return t&&(Et(t.target,"change",de),zt.pointerEvent=u),Mt(jt,!1),nt(zt,"release","onRelease"),nt(zt,"click","onClick"),void(at=!1);if(D(Kt),!Tt)for(a=jt.length;--a>-1;)G(jt[a],"cursor",i.cursor||(!1!==i.cursor?"move":null));if(h&&(Wt=I=T(),zt.isDragging=!1),O--,t){if(k&&(t=X(t,!1)),(o=t.changedTouches)&&(t=o[0])!==V&&t.identifier!==Q){for(a=o.length;--a>-1&&(t=o[a]).identifier!==Q;);if(a<0)return}zt.pointerEvent=u,zt.pointerX=t.pageX,zt.pointerY=t.pageY}return f&&u?(u.preventDefault(),u.preventManipulation&&u.preventManipulation(),nt(zt,"release","onRelease")):u&&!h?(ht&&(i.snap||i.bounds)&&ie(i.throwProps),nt(zt,"release","onRelease"),R&&"touchmove"===u.type||-1!==u.type.indexOf("cancel")||(nt(zt,"click","onClick"),T()-Qt<300&&nt(zt,"doubleclick","onDoubleClick"),l=u.target||u.srcElement||e,Qt=T(),c=function(){Qt!==vt&&zt.enabled()&&!zt.isPressed&&(l.click?l.click():m.createEvent&&((s=m.createEvent("MouseEvents")).initMouseEvent("click",!0,!0,window,1,zt.pointerEvent.screenX,zt.pointerEvent.screenY,zt.pointerX,zt.pointerY,!1,!1,!1,!1,0,null),l.dispatchEvent(s)))},R||u.defaultPrevented||ct.default.delayedCall(1e-5,c))):(ie(i.throwProps),k||zt.allowEventDefault||!u||!1===i.dragClickables&&Gt.call(zt,u.target)||!h||dt&&(!gt||dt!==gt)||!1===u.cancelable||(u.preventDefault(),u.preventManipulation&&u.preventManipulation()),nt(zt,"release","onRelease")),ae()&&d.duration(zt.tween.duration()),h&&nt(zt,"dragend","onDragEnd"),!0}},pe=function(t){if(t&&zt.isDragging&&!o){var n=t.target||t.srcElement||e.parentNode,i=n.scrollLeft-n._gsScrollX,r=n.scrollTop-n._gsScrollY;(i||r)&&(lt?(a-=i*lt[0]+r*lt[2],s-=r*lt[3]+i*lt[1]):(a-=i,s-=r),n._gsScrollX+=i,n._gsScrollY+=r,fe(zt.pointerX,zt.pointerY))}},ge=function(t){var e=T(),n=e-Qt<40,i=e-Wt<40,r=n&&vt===Qt,o=!!t.preventDefault,a=zt.pointerEvent&&zt.pointerEvent.defaultPrevented,s=n&&yt===Qt,l=t.isTrusted||null==t.isTrusted&&n&&r;if(o&&(r||i&&!1!==zt.vars.suppressClickOnDrag)&&t.stopImmediatePropagation(),n&&(!zt.pointerEvent||!zt.pointerEvent.defaultPrevented)&&(!r||l!==s))return l&&r&&(yt=Qt),void(vt=Qt);(zt.isPressed||i||n)&&(o?l&&t.detail&&n&&!a||(t.preventDefault(),t.preventManipulation&&t.preventManipulation()):t.returnValue=!1)},me=function(t){return lt?{x:t.x*lt[0]+t.y*lt[2]+lt[4],y:t.x*lt[1]+t.y*lt[3]+lt[5]}:{x:t.x,y:t.y}};(Z=Dt.get(this.target))&&Z.kill(),this.startDrag=function(t,n){var i,r,o,l;ue(t||zt.pointerEvent,!0),n&&!zt.hitTest(t||zt.pointerEvent)&&(i=Bt(t||zt.pointerEvent),r=Bt(e),o=me({x:i.left+i.width/2,y:i.top+i.height/2}),l=me({x:r.left+r.width/2,y:r.top+r.height/2}),a-=o.x-l.x,s-=o.y-l.y),zt.isDragging||(zt.isDragging=!0,nt(zt,"dragstart","onDragStart"))},this.drag=he,this.endDrag=function(t){de(t||zt.pointerEvent,!0)},this.timeSinceDrag=function(){return zt.isDragging?0:(T()-Wt)/1e3},this.timeSinceClick=function(){return(T()-Qt)/1e3},this.hitTest=function(t,e){return Dt.hitTest(zt.target,t,e)},this.getDirection=function(t,e){var i,r,o,a,s,l,c="velocity"===t&&n?t:"object"!=typeof t||Tt?"start":"element";return"element"===c&&(s=Bt(zt.target),l=Bt(t)),i="start"===c?zt.x-d:"velocity"===c?n.getVelocity(this.target,kt):s.left+s.width/2-(l.left+l.width/2),Tt?i<0?"counter-clockwise":"clockwise":(e=e||2,r="start"===c?zt.y-p:"velocity"===c?n.getVelocity(this.target,At):s.top+s.height/2-(l.top+l.height/2),a=(o=Math.abs(i/r))<1/e?"":i<0?"left":"right",o<e&&(""!==a&&(a+="-"),a+=r<0?"up":"down"),a)},this.applyBounds=function(t){var n,r,o,a,s,l;if(t&&i.bounds!==t)return i.bounds=t,zt.update(!0);if(Zt(!0),te(),g){if(n=zt.x,r=zt.y,n>b?n=b:n<E&&(n=E),r>F?r=F:r<z&&(r=z),(zt.x!==n||zt.y!==r)&&(o=!0,zt.x=zt.endX=n,Tt?zt.endRotation=n:zt.y=zt.endY=r,K=!0,Kt(!0),zt.autoScroll&&!zt.isDragging))for(U(e.parentNode),a=e,M.scrollTop=null!=window.pageYOffset?window.pageYOffset:null!=v.scrollTop?v.scrollTop:m.body.scrollTop,M.scrollLeft=null!=window.pageXOffset?window.pageXOffset:null!=v.scrollLeft?v.scrollLeft:m.body.scrollLeft;a&&!l;)s=(l=W(a.parentNode))?M:a.parentNode,Lt&&s.scrollTop>s._gsMaxScrollY&&(s.scrollTop=s._gsMaxScrollY),Ot&&s.scrollLeft>s._gsMaxScrollX&&(s.scrollLeft=s._gsMaxScrollX),a=s;zt.isThrowing&&(o||zt.endX>b||zt.endX<E||zt.endY>F||zt.endY<z)&&ie(i.throwProps,o)}return zt},this.update=function(t,n,i){var r=zt.x,o=zt.y;return re(!n),t?zt.applyBounds():(K&&i&&Kt(!0),Zt(!0)),n&&(fe(zt.pointerX,zt.pointerY),K&&Kt(!0)),zt.isPressed&&!n&&(Ot&&Math.abs(r-zt.x)>.01||Lt&&Math.abs(o-zt.y)>.01&&!Tt)&&oe(),zt.autoScroll&&(U(e.parentNode),$t=zt.isDragging,Kt(!0)),zt.autoScroll&&(H(e,pe),j(e,pe)),zt},this.enable=function(t){var a,s,l;if("soft"!==t){for(s=jt.length;--s>-1;)l=jt[s],Pt(l,"mousedown",ue),Pt(l,"touchstart",ue),Pt(l,"click",ge,!0),Tt||!1===i.cursor||G(l,"cursor",i.cursor||"move"),G(l,"touchCallout","none"),G(l,"touchAction",Ot===Lt?"none":Ot?"pan-y":"pan-x"),pt(l)&&G(l.ownerSVGElement||l,"touchAction",Ot===Lt?"none":Ot?"pan-y":"pan-x"),this.vars.allowContextMenu||Pt(l,"contextmenu",Jt);Mt(jt,!1)}return j(e,pe),r=!0,n&&"soft"!==t&&n.track(o||e,_t?"x,y":Tt?"rotation":"top,left"),o&&o.enable(),e._gsDragID=a="d"+P++,C[a]=this,o&&(o.element._gsDragID=a),ct.default.set(e,{x:"+=0",overwrite:!1,data:"_draggable"}),ft={t:e,data:k?$:e._gsTransform,tween:{},setRatio:k?function(){ct.default.set(e,B)}:ut.a._internals.setTransformRatio||ut.a._internals.set3DTransformRatio},oe(),zt.update(!0),zt},this.disable=function(t){var i,a,s=zt.isDragging;if(!Tt)for(i=jt.length;--i>-1;)G(jt[i],"cursor",null);if("soft"!==t){for(i=jt.length;--i>-1;)a=jt[i],G(a,"touchCallout",null),G(a,"touchAction",null),Et(a,"mousedown",ue),Et(a,"touchstart",ue),Et(a,"click",ge),Et(a,"contextmenu",Jt);Mt(jt,!0),st&&(Et(st,"touchcancel",de),Et(st,"touchend",de),Et(st,"touchmove",he)),Et(m,"mouseup",de),Et(m,"mousemove",he)}return H(e,pe),r=!1,n&&"soft"!==t&&n.untrack(o||e,_t?"x,y":Tt?"rotation":"top,left"),o&&o.disable(),D(Kt),zt.isDragging=zt.isPressed=at=!1,s&&nt(zt,"dragend","onDragEnd"),zt},this.enabled=function(t,e){return arguments.length?t?zt.enable(e):zt.disable(e):r},this.kill=function(){return zt.isThrowing=!1,ct.default.killTweensOf(o||e,!0,Ht),zt.disable(),ct.default.set(jt,{clearProps:"userSelect"}),delete C[e._gsDragID],zt},-1!==wt.indexOf("scroll")&&(o=this.scrollProxy=new Nt(e,function(t,e){var n;for(n in e)void 0===t[n]&&(t[n]=e[n]);return t}({onKill:function(){zt.isPressed&&de(null)}},i)),e.style.overflowY=Lt&&!St?"auto":"hidden",e.style.overflowX=Ot&&!St?"auto":"hidden",e=o.content),!1!==i.force3D&&ct.default.set(e,{force3D:!0}),Tt?Ht.rotation=1:(Ot&&(Ht[kt]=1),Lt&&(Ht[At]=1)),Tt?($=(B=h).css,B.overwrite=!1):_t&&($=(B=Ot&&Lt?l:Ot?c:u).css,B.overwrite=!1),this.enable()},Ft=Dt.prototype=new ct.EventDispatcher;Ft.constructor=Dt,Ft.pointerX=Ft.pointerY=Ft.startX=Ft.startY=Ft.deltaX=Ft.deltaY=0,Ft.isDragging=Ft.isPressed=!1,Dt.version="0.17.1",Dt.zIndex=1e3,Pt(m,"touchcancel",(function(){})),Pt(m,"contextmenu",(function(t){var e;for(e in C)C[e].isPressed&&C[e].endDrag()})),Dt.create=function(t,e){"string"==typeof t&&(t=ct.default.selector(t));for(var n=t&&0!==t.length?At(t)?function(t){var e,n,i,r=[],o=t.length;for(e=0;e<o;e++)if(n=t[e],At(n))for(i=n.length,i=0;i<n.length;i++)r.push(n[i]);else n&&0!==n.length&&r.push(n);return r}(t):[t]:[],i=n.length;--i>-1;)n[i]=new Dt(n[i],e);return n},Dt.get=function(t){return C[(Y(t)||{})._gsDragID]},Dt.timeSinceDrag=function(){return(T()-I)/1e3};var zt={},Bt=function(t,e){if(t===window)return zt.left=zt.top=0,zt.width=zt.right=v.clientWidth||t.innerWidth||m.body.clientWidth||0,zt.height=zt.bottom=(t.innerHeight||0)-20<v.clientHeight?v.clientHeight:t.innerHeight||m.body.clientHeight||0,zt;var n=t.pageX!==e?{left:t.pageX-B(),top:t.pageY-z(),right:t.pageX-B()+1,bottom:t.pageY-z()+1}:t.nodeType||t.left===e||t.top===e?k?function(t){var e,n,i=0,r=0;for(e=(t=Y(t)).offsetWidth,n=t.offsetHeight;t;)i+=t.offsetTop,r+=t.offsetLeft,t=t.offsetParent;return{top:i,left:r,width:e,height:n}}(t):Y(t).getBoundingClientRect():t;return n.right===e&&n.width!==e?(n.right=n.left+n.width,n.bottom=n.top+n.height):n.width===e&&(n={width:n.right-n.left,height:n.bottom-n.top,right:n.right,left:n.left,bottom:n.bottom,top:n.top}),n};return Dt.hitTest=function(t,e,n){if(t===e)return!1;var i,r,o,a=Bt(t),s=Bt(e),l=s.left>a.right||s.right<a.left||s.top>a.bottom||s.bottom<a.top;return l||!n?!l:(o=-1!==(n+"").indexOf("%"),n=parseFloat(n)||0,(i={left:Math.max(a.left,s.left),top:Math.max(a.top,s.top)}).width=Math.min(a.right,s.right)-i.left,i.height=Math.min(a.bottom,s.bottom)-i.top,!(i.width<0||i.height<0)&&(o?(n*=.01,(r=i.width*i.height)>=a.width*a.height*n||r>=s.width*s.height*n):i.width>n&&i.height>n))},A.style.cssText="visibility:hidden;height:1px;top:-1px;pointer-events:none;position:relative;clear:both;",Dt}),!0);var ht=ct.globals.Draggable;function ft(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=m()(t);if(e){var r=m()(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return p()(this,n)}}var dt=globalThis.Math,pt=function(){if(_t.call(this)){var t=this.$quizTaskCorrelationContentWrapper[0],e=new _.c;this.draggableElem[0].enable(),this.clickable=!0,e.set(t,{xPercent:this.xPercent,x:0,y:100,clearProps:"visibility"}).to(t,.1,{opacity:1}).to(t,.3,{y:0},"-=0.1")}},gt=function(t){var e=new _.c({delay:.5}),n=this.$quizTaskCorrelationContentWrapper,i=n[0],r=n.children().eq(1).children().first().text(),o=t.attr("data-zone"),a=y()('<p class="inactive">'.concat(r,"</p>")),s=a[0],l=y.a.inArray(r,this.data["".concat(o,"Terms")])>-1,c=l?"right":"wrong";this.points+=l?1:0,l?j.a.playPositiveFeedback():j.a.playNegativeFeedback(),e.set(s,{opacity:0}).add("play").to(i,.3,{opacity:0},"play").add((function(){a.prependTo(t)}),"play").set(t[0],{paddingTop:0},"play+=0.1").set(s,{className:"-=inactive"},"play+=0.1").set(s,{className:"+=".concat(c)},"play+=0.1").to(s,.5,{opacity:1},"play+=0.1").set(i,{xPercent:this.xPercent,x:0,visibility:"hidden"},"play+=0.3"),e.add(pt.bind(this))},mt=function(t,e){var n,i=this.$quizTaskCorrelationContentWrapper,r=i[0],o=i.children().eq(1),a="desktop"===this.deviceType?e:"center",s=new _.c;this.draggableElem[0].disable(),n=q({$target:i,positionX:e,positionY:"top"},{$target:t,positionX:a,positionY:"top"},this.scale);var l=r._gsTransform.x-n.x;"mobile"===this.deviceType&&(l+=l<1?-parseInt(t.css("padding-right"),10):parseInt(t.css("padding-left"),10)),s.add("play").to(r,.3,{xPercent:this.xPercent,x:l,y:0},"play").to(t[0],.3,{paddingTop:"".concat(o.outerHeight(),"px")},"play"),gt.call(this,t)},vt=function(t){if(this.clickable){this.clickable=!1;var e=y()(t.currentTarget),n=this.$quizTaskCorrelationDropZoneWrong,i="left";"right"===e.attr("data-target")&&(n=this.$quizTaskCorrelationDropZoneRight,i="right"),mt.call(this,n,i)}},yt=function(){var t,e=this.$quizTaskCorrelationContentWrapper,n=e[0],i=e.outerHeight(),r=n._gsTransform.x,o=r<0?this.$quizTaskCorrelationDropZoneWrong:this.$quizTaskCorrelationDropZoneRight,a=r<0?"left":"right",s="desktop"===this.deviceType?a:"center",l=0;if(t=q({$target:e,positionX:s,positionY:"top"},{$target:o,positionX:a,positionY:"top"},this.scale),r<0){var c=dt.abs(r);l=1-t.x/(c+t.x)}else{var u=dt.abs(t.x);l=1-u/(r+u)}o.css({paddingTop:"".concat(i*l,"px")})},bt=function(t){var e=t.$quizTaskCorrelationContentWrapper[0],n=t.$quizTaskCorrelationDropZoneWrong,i=t.$quizTaskCorrelationDropZoneRight,r=null,o="left",a="mobile"===t.deviceType?"5%":"30%";if(this.hitTest(n,a))r=n;else if(this.hitTest(i,a))r=i,o="right";else{(new _.c).add("play").to(e,.3,{xPercent:this.xPercent,x:0,y:0},"play").to(n[0],.3,{paddingTop:0},"play").to(i[0],.3,{paddingTop:0},"play")}null!==r&&mt.call(t,r,o)},wt=function(){var t=this.$quizTaskCorrelationContentWrapper;return ht.create(t,{type:"x",bounds:this.$quizTaskCorrelationWrapper,trigger:t.children().eq(1),onDrag:yt.bind(this),onDragParams:[this],onRelease:bt,onReleaseParams:[this]})},_t=function(){var t,e,n=this.answers,i=(t=0,e=1,C.floor(C.random()*(e-t+1)+t)),r="",o=this.$quizTaskCorrelationContentWrapper.children().eq(1),a=n.correct.length,s=n.incorrect.length;if(a+s>0){var l=0===(i=0===i&&0===s?1:1===i&&0===a?0:i)?n.incorrect:n.correct;return r=l[0],delete l[0],l.splice(0,1),o.html("<p>".concat(r,"</p>")),!0}return S.a.$quizTaskButtonWrapper.children().first().trigger("click"),!1},xt=function(t){if("mobile"===this.deviceType){var e=y()(t.currentTarget),n=e.parent();e.scrollTop(0),this.$quizTaskCorrelationRightWrapper.hasClass("active")||this.$quizTaskCorrelationWrongWrapper.hasClass("active")?(this.$quizTaskCorrelationRightWrapper.removeClass("active"),this.$quizTaskCorrelationWrongWrapper.removeClass("active"),_.d.to(this.$quizTaskCorrelationContentWrapper[0],.3,{opacity:1,delay:.15})):(n.addClass("active"),_.d.to(this.$quizTaskCorrelationContentWrapper[0],.3,{opacity:0}))}else _.d.set(this.$quizTaskCorrelationContentWrapper[0],{opacity:1}),this.$quizTaskCorrelationRightWrapper.removeClass("active"),this.$quizTaskCorrelationWrongWrapper.removeClass("active")},Tt=function(t){this.scale=t.scale},kt=function(t){this.deviceType=t.deviceType,this.xPercent="mobile"===this.deviceType?-50:0;var e=this.$quizTaskCorrelationContentWrapper[0],n=this.$quizTaskCorrelationDropZoneWrong,i=this.$quizTaskCorrelationWrongWrapper,r=this.$quizTaskCorrelationDropZoneRight,o=this.$quizTaskCorrelationRightWrapper,a=new _.c;_.d.set(e,{opacity:1}),i.removeClass("active"),o.removeClass("active"),a.set(e,{xPercent:this.xPercent,x:0}).set(n[0],{clearProps:"width"}).set(i[0],{clearProps:"width"}).set(r[0],{clearProps:"width"}).set(o[0],{clearProps:"width"})},At=function(){B.a.registerJQEvent("click",".correlation-choice-arrow",vt.bind(this)),B.a.registerJQEvent("click",".correlation-dropzone",xt.bind(this)),B.a.on("scaleChange",Tt.bind(this)),B.a.on("deviceChange",kt.bind(this))},St=function(){B.a.unregisterJQEvent("click",".correlation-choice-arrow",vt.bind(this)),B.a.off("scaleChange",Tt.bind(this)),B.a.off("deviceChange",kt.bind(this))},Ct=function(t){f()(n,t);var e=ft(n);function n(t){var i;return a()(this,n),(i=e.call(this,t)).solvedCorrect=!1,i._generateStyles(D),i.showCheckButton=!1,i}return l()(n,[{key:"generateHtml",value:function(){return u()(m()(n.prototype),"generateHtml",this).call(this),this.answers={correct:y.a.extend([],this.data.correctTerms),incorrect:y.a.extend([],this.data.incorrectTerms)},x.a(this.answers.correct),x.a(this.answers.incorrect),this.maxPoints=this.answers.correct.length+this.answers.incorrect.length,this.points=0,this.$quizTaskCorrelationDropZoneWrong=y()("<div/>",{class:"correlation-dropzone animated",attr:{id:"correlation-wrong-dropzone","data-zone":"incorrect"}}),this.$quizTaskCorrelationDropZoneRight=y()("<div/>",{class:"correlation-dropzone animated",attr:{id:"correlation-right-dropzone","data-zone":"correct"}}),this.$quizTaskCorrelationWrongWrapper=y()("<div/>",{class:"correlation-inner-wrapper wrapper-wrong animated",html:'<div class="correlation-header">FALSCH</div>'}).append(this.$quizTaskCorrelationDropZoneWrong),this.$quizTaskCorrelationContentWrapper=y()("<div/>",{class:"correlation-inner-wrapper wrapper-choice animated",html:'<div class="correlation-choice-arrow" data-target="wrong"><div class="arrow-left"></div></div><div class="correlation-choice-content"></div><div class="correlation-choice-arrow" data-target="right"><div class="arrow-right"></div></div>'}),this.$quizTaskCorrelationRightWrapper=y()("<div/>",{class:"correlation-inner-wrapper wrapper-right animated",html:'<div class="correlation-header">RICHTIG</div>'}).append(this.$quizTaskCorrelationDropZoneRight),this.$quizTaskCorrelationWrapper=y()("<div/>",{attr:{id:"quiz-task-correlation"}}),this.$quizTaskCorrelationWrapper.append(this.$quizTaskCorrelationWrongWrapper,this.$quizTaskCorrelationContentWrapper,this.$quizTaskCorrelationRightWrapper),this.$quizTaskMain.append(this.$quizTaskCorrelationWrapper),this.draggableElem=wt.call(this),At.call(this),this.scale=A.a.scale,this.deviceType=A.a.deviceType,this.xPercent="mobile"===this.deviceType?-50:0,this}},{key:"fadeIn",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=this.$quizTaskCorrelationWrongWrapper[0],i=this.$quizTaskCorrelationContentWrapper[0],r=this.$quizTaskCorrelationRightWrapper[0];_t.call(this);var o=u()(m()(n.prototype),"fadeIn",this).call(this,t);return o.set(e,{opacity:0,x:-100},"init").set(i,{xPercent:this.xPercent,opacity:0,x:0,y:100,scaleX:.01},"init").set(r,{opacity:0,x:100},"init").to(i,.2,{opacity:1},"play+=0.4").to(i,.6,{y:0},"play+=0.4").to(i,.4,{scaleX:1},"play+=0.6").add("innerPlay","play+=0.8").to(e,.2,{opacity:1},"innerPlay").to(e,.6,{x:0},"innerPlay").to(r,.2,{opacity:1},"innerPlay").to(r,.6,{x:0},"innerPlay"),this.clickable=!0,o}},{key:"fadeOut",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=this.$quizTaskCorrelationWrongWrapper[0],i=this.$quizTaskCorrelationRightWrapper[0];St.call(this);var r=u()(m()(n.prototype),"fadeOut",this).call(this,t);return r.to(e,.4,{x:-100},"play").to(e,.2,{opacity:0},"play+=0.2").to(i,.4,{x:100},"play").to(i,.2,{opacity:0},"play+=0.2"),r}},{key:"checkAnswers",value:function(){return this.solvedCorrect=2*this.points>this.maxPoints,{points:this.points,maxPoints:this.maxPoints}}},{key:"isQuestionSolvedCorrect",value:function(){return this.solvedCorrect}}]),n}(T.a);
/*!
 * perfect-scrollbar v1.3.0
 * (c) 2017 Hyunje Jun
 * @license MIT
 */
function Pt(t){return getComputedStyle(t)}function Et(t,e){for(var n in e){var i=e[n];"number"==typeof i&&(i+="px"),t.style[n]=i}return t}function Ot(t){var e=document.createElement("div");return e.className=t,e}var Rt="undefined"!=typeof Element&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.msMatchesSelector);function It(t,e){if(!Rt)throw new Error("No element matching method supported");return Rt.call(t,e)}function qt(t){t.remove?t.remove():t.parentNode&&t.parentNode.removeChild(t)}function Mt(t,e){return Array.prototype.filter.call(t.children,(function(t){return It(t,e)}))}var Lt="ps",Nt={thumb:function(t){return"ps__thumb-"+t},rail:function(t){return"ps__rail-"+t},consuming:"ps__child--consume"},Dt={focus:"ps--focus",active:function(t){return"ps--active-"+t},scrolling:function(t){return"ps--scrolling-"+t}},Ft={x:null,y:null};function zt(t,e){var n=t.element.classList,i=Dt.scrolling(e);n.contains(i)?clearTimeout(Ft[e]):n.add(i)}function Bt(t,e){Ft[e]=setTimeout((function(){return t.isAlive&&t.element.classList.remove(Dt.scrolling(e))}),t.settings.scrollingThreshold)}var jt=function(t){this.element=t,this.handlers={}},Ht={isEmpty:{configurable:!0}};jt.prototype.bind=function(t,e){void 0===this.handlers[t]&&(this.handlers[t]=[]),this.handlers[t].push(e),this.element.addEventListener(t,e,!1)},jt.prototype.unbind=function(t,e){var n=this;this.handlers[t]=this.handlers[t].filter((function(i){return!(!e||i===e)||(n.element.removeEventListener(t,i,!1),!1)}))},jt.prototype.unbindAll=function(){for(var t in this.handlers)this.unbind(t)},Ht.isEmpty.get=function(){var t=this;return Object.keys(this.handlers).every((function(e){return 0===t.handlers[e].length}))},Object.defineProperties(jt.prototype,Ht);var Wt=function(){this.eventElements=[]};function $t(t){if("function"==typeof window.CustomEvent)return new CustomEvent(t);var e=document.createEvent("CustomEvent");return e.initCustomEvent(t,!1,!1,void 0),e}Wt.prototype.eventElement=function(t){var e=this.eventElements.filter((function(e){return e.element===t}))[0];return e||(e=new jt(t),this.eventElements.push(e)),e},Wt.prototype.bind=function(t,e,n){this.eventElement(t).bind(e,n)},Wt.prototype.unbind=function(t,e,n){var i=this.eventElement(t);i.unbind(e,n),i.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(i),1)},Wt.prototype.unbindAll=function(){this.eventElements.forEach((function(t){return t.unbindAll()})),this.eventElements=[]},Wt.prototype.once=function(t,e,n){var i=this.eventElement(t),r=function(t){i.unbind(e,r),n(t)};i.bind(e,r)};var Ut=function(t,e,n,i,r){var o;if(void 0===i&&(i=!0),void 0===r&&(r=!1),"top"===e)o=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==e)throw new Error("A proper axis should be provided");o=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function(t,e,n,i,r){var o=n[0],a=n[1],s=n[2],l=n[3],c=n[4],u=n[5];void 0===i&&(i=!0);void 0===r&&(r=!1);var h=t.element;t.reach[l]=null,h[s]<1&&(t.reach[l]="start");h[s]>t[o]-t[a]-1&&(t.reach[l]="end");e&&(h.dispatchEvent($t("ps-scroll-"+l)),e<0?h.dispatchEvent($t("ps-scroll-"+c)):e>0&&h.dispatchEvent($t("ps-scroll-"+u)),i&&function(t,e){zt(t,e),Bt(t,e)}(t,l));t.reach[l]&&(e||r)&&h.dispatchEvent($t("ps-"+l+"-reach-"+t.reach[l]))}(t,n,o,i,r)};function Xt(t){return parseInt(t,10)||0}var Yt={isWebKit:"undefined"!=typeof document&&"WebkitAppearance"in document.documentElement.style,supportsTouch:"undefined"!=typeof window&&("ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch),supportsIePointer:"undefined"!=typeof navigator&&navigator.msMaxTouchPoints,isChrome:"undefined"!=typeof navigator&&/Chrome/i.test(navigator&&navigator.userAgent)},Vt=function(t){var e=t.element;t.containerWidth=e.clientWidth,t.containerHeight=e.clientHeight,t.contentWidth=e.scrollWidth,t.contentHeight=e.scrollHeight,e.contains(t.scrollbarXRail)||(Mt(e,Nt.rail("x")).forEach((function(t){return qt(t)})),e.appendChild(t.scrollbarXRail)),e.contains(t.scrollbarYRail)||(Mt(e,Nt.rail("y")).forEach((function(t){return qt(t)})),e.appendChild(t.scrollbarYRail)),!t.settings.suppressScrollX&&t.containerWidth+t.settings.scrollXMarginOffset<t.contentWidth?(t.scrollbarXActive=!0,t.railXWidth=t.containerWidth-t.railXMarginWidth,t.railXRatio=t.containerWidth/t.railXWidth,t.scrollbarXWidth=Gt(t,Xt(t.railXWidth*t.containerWidth/t.contentWidth)),t.scrollbarXLeft=Xt((t.negativeScrollAdjustment+e.scrollLeft)*(t.railXWidth-t.scrollbarXWidth)/(t.contentWidth-t.containerWidth))):t.scrollbarXActive=!1,!t.settings.suppressScrollY&&t.containerHeight+t.settings.scrollYMarginOffset<t.contentHeight?(t.scrollbarYActive=!0,t.railYHeight=t.containerHeight-t.railYMarginHeight,t.railYRatio=t.containerHeight/t.railYHeight,t.scrollbarYHeight=Gt(t,Xt(t.railYHeight*t.containerHeight/t.contentHeight)),t.scrollbarYTop=Xt(e.scrollTop*(t.railYHeight-t.scrollbarYHeight)/(t.contentHeight-t.containerHeight))):t.scrollbarYActive=!1,t.scrollbarXLeft>=t.railXWidth-t.scrollbarXWidth&&(t.scrollbarXLeft=t.railXWidth-t.scrollbarXWidth),t.scrollbarYTop>=t.railYHeight-t.scrollbarYHeight&&(t.scrollbarYTop=t.railYHeight-t.scrollbarYHeight),function(t,e){var n={width:e.railXWidth};e.isRtl?n.left=e.negativeScrollAdjustment+t.scrollLeft+e.containerWidth-e.contentWidth:n.left=t.scrollLeft;e.isScrollbarXUsingBottom?n.bottom=e.scrollbarXBottom-t.scrollTop:n.top=e.scrollbarXTop+t.scrollTop;Et(e.scrollbarXRail,n);var i={top:t.scrollTop,height:e.railYHeight};e.isScrollbarYUsingRight?e.isRtl?i.right=e.contentWidth-(e.negativeScrollAdjustment+t.scrollLeft)-e.scrollbarYRight-e.scrollbarYOuterWidth:i.right=e.scrollbarYRight-t.scrollLeft:e.isRtl?i.left=e.negativeScrollAdjustment+t.scrollLeft+2*e.containerWidth-e.contentWidth-e.scrollbarYLeft-e.scrollbarYOuterWidth:i.left=e.scrollbarYLeft+t.scrollLeft;Et(e.scrollbarYRail,i),Et(e.scrollbarX,{left:e.scrollbarXLeft,width:e.scrollbarXWidth-e.railBorderXWidth}),Et(e.scrollbarY,{top:e.scrollbarYTop,height:e.scrollbarYHeight-e.railBorderYWidth})}(e,t),t.scrollbarXActive?e.classList.add(Dt.active("x")):(e.classList.remove(Dt.active("x")),t.scrollbarXWidth=0,t.scrollbarXLeft=0,e.scrollLeft=0),t.scrollbarYActive?e.classList.add(Dt.active("y")):(e.classList.remove(Dt.active("y")),t.scrollbarYHeight=0,t.scrollbarYTop=0,e.scrollTop=0)};function Gt(t,e){return t.settings.minScrollbarLength&&(e=Math.max(e,t.settings.minScrollbarLength)),t.settings.maxScrollbarLength&&(e=Math.min(e,t.settings.maxScrollbarLength)),e}function Qt(t,e){var n=e[0],i=e[1],r=e[2],o=e[3],a=e[4],s=e[5],l=e[6],c=e[7],u=t.element,h=null,f=null,d=null;function p(e){u[l]=h+d*(e[r]-f),zt(t,c),Vt(t),e.stopPropagation(),e.preventDefault()}function g(){Bt(t,c),t.event.unbind(t.ownerDocument,"mousemove",p)}t.event.bind(t[a],"mousedown",(function(e){h=u[l],f=e[r],d=(t[i]-t[n])/(t[o]-t[s]),t.event.bind(t.ownerDocument,"mousemove",p),t.event.once(t.ownerDocument,"mouseup",g),e.stopPropagation(),e.preventDefault()}))}var Jt={"click-rail":function(t){t.event.bind(t.scrollbarY,"mousedown",(function(t){return t.stopPropagation()})),t.event.bind(t.scrollbarYRail,"mousedown",(function(e){var n=e.pageY-window.pageYOffset-t.scrollbarYRail.getBoundingClientRect().top>t.scrollbarYTop?1:-1;t.element.scrollTop+=n*t.containerHeight,Vt(t),e.stopPropagation()})),t.event.bind(t.scrollbarX,"mousedown",(function(t){return t.stopPropagation()})),t.event.bind(t.scrollbarXRail,"mousedown",(function(e){var n=e.pageX-window.pageXOffset-t.scrollbarXRail.getBoundingClientRect().left>t.scrollbarXLeft?1:-1;t.element.scrollLeft+=n*t.containerWidth,Vt(t),e.stopPropagation()}))},"drag-thumb":function(t){Qt(t,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x"]),Qt(t,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y"])},keyboard:function(t){var e=t.element;t.event.bind(t.ownerDocument,"keydown",(function(n){if(!(n.isDefaultPrevented&&n.isDefaultPrevented()||n.defaultPrevented)&&(It(e,":hover")||It(t.scrollbarX,":focus")||It(t.scrollbarY,":focus"))){var i,r=document.activeElement?document.activeElement:t.ownerDocument.activeElement;if(r){if("IFRAME"===r.tagName)r=r.contentDocument.activeElement;else for(;r.shadowRoot;)r=r.shadowRoot.activeElement;if(It(i=r,"input,[contenteditable]")||It(i,"select,[contenteditable]")||It(i,"textarea,[contenteditable]")||It(i,"button,[contenteditable]"))return}var o=0,a=0;switch(n.which){case 37:o=n.metaKey?-t.contentWidth:n.altKey?-t.containerWidth:-30;break;case 38:a=n.metaKey?t.contentHeight:n.altKey?t.containerHeight:30;break;case 39:o=n.metaKey?t.contentWidth:n.altKey?t.containerWidth:30;break;case 40:a=n.metaKey?-t.contentHeight:n.altKey?-t.containerHeight:-30;break;case 32:a=n.shiftKey?t.containerHeight:-t.containerHeight;break;case 33:a=t.containerHeight;break;case 34:a=-t.containerHeight;break;case 36:a=t.contentHeight;break;case 35:a=-t.contentHeight;break;default:return}t.settings.suppressScrollX&&0!==o||t.settings.suppressScrollY&&0!==a||(e.scrollTop-=a,e.scrollLeft+=o,Vt(t),function(n,i){var r=e.scrollTop;if(0===n){if(!t.scrollbarYActive)return!1;if(0===r&&i>0||r>=t.contentHeight-t.containerHeight&&i<0)return!t.settings.wheelPropagation}var o=e.scrollLeft;if(0===i){if(!t.scrollbarXActive)return!1;if(0===o&&n<0||o>=t.contentWidth-t.containerWidth&&n>0)return!t.settings.wheelPropagation}return!0}(o,a)&&n.preventDefault())}}))},wheel:function(t){var e=t.element;function n(n){var i=function(t){var e=t.deltaX,n=-1*t.deltaY;return void 0!==e&&void 0!==n||(e=-1*t.wheelDeltaX/6,n=t.wheelDeltaY/6),t.deltaMode&&1===t.deltaMode&&(e*=10,n*=10),e!=e&&n!=n&&(e=0,n=t.wheelDelta),t.shiftKey?[-n,-e]:[e,n]}(n),r=i[0],o=i[1];if(!function(t,n,i){if(!Yt.isWebKit&&e.querySelector("select:focus"))return!0;if(!e.contains(t))return!1;for(var r=t;r&&r!==e;){if(r.classList.contains(Nt.consuming))return!0;var o=Pt(r);if([o.overflow,o.overflowX,o.overflowY].join("").match(/(scroll|auto)/)){var a=r.scrollHeight-r.clientHeight;if(a>0&&!(0===r.scrollTop&&i>0||r.scrollTop===a&&i<0))return!0;var s=r.scrollLeft-r.clientWidth;if(s>0&&!(0===r.scrollLeft&&n<0||r.scrollLeft===s&&n>0))return!0}r=r.parentNode}return!1}(n.target,r,o)){var a=!1;t.settings.useBothWheelAxes?t.scrollbarYActive&&!t.scrollbarXActive?(o?e.scrollTop-=o*t.settings.wheelSpeed:e.scrollTop+=r*t.settings.wheelSpeed,a=!0):t.scrollbarXActive&&!t.scrollbarYActive&&(r?e.scrollLeft+=r*t.settings.wheelSpeed:e.scrollLeft-=o*t.settings.wheelSpeed,a=!0):(e.scrollTop-=o*t.settings.wheelSpeed,e.scrollLeft+=r*t.settings.wheelSpeed),Vt(t),(a=a||function(n,i){var r=0===e.scrollTop,o=e.scrollTop+e.offsetHeight===e.scrollHeight,a=0===e.scrollLeft,s=e.scrollLeft+e.offsetWidth===e.offsetWidth;return!(Math.abs(i)>Math.abs(n)?r||o:a||s)||!t.settings.wheelPropagation}(r,o))&&!n.ctrlKey&&(n.stopPropagation(),n.preventDefault())}}void 0!==window.onwheel?t.event.bind(e,"wheel",n):void 0!==window.onmousewheel&&t.event.bind(e,"mousewheel",n)},touch:function(t){if(Yt.supportsTouch||Yt.supportsIePointer){var e=t.element,n={},i=0,r={},o=null;Yt.supportsTouch?(t.event.bind(e,"touchstart",c),t.event.bind(e,"touchmove",u),t.event.bind(e,"touchend",h)):Yt.supportsIePointer&&(window.PointerEvent?(t.event.bind(e,"pointerdown",c),t.event.bind(e,"pointermove",u),t.event.bind(e,"pointerup",h)):window.MSPointerEvent&&(t.event.bind(e,"MSPointerDown",c),t.event.bind(e,"MSPointerMove",u),t.event.bind(e,"MSPointerUp",h)))}function a(n,i){e.scrollTop-=i,e.scrollLeft-=n,Vt(t)}function s(t){return t.targetTouches?t.targetTouches[0]:t}function l(t){return(!t.pointerType||"pen"!==t.pointerType||0!==t.buttons)&&(!(!t.targetTouches||1!==t.targetTouches.length)||!(!t.pointerType||"mouse"===t.pointerType||t.pointerType===t.MSPOINTER_TYPE_MOUSE))}function c(t){if(l(t)){var e=s(t);n.pageX=e.pageX,n.pageY=e.pageY,i=(new Date).getTime(),null!==o&&clearInterval(o)}}function u(o){if(l(o)){var c=s(o),u={pageX:c.pageX,pageY:c.pageY},h=u.pageX-n.pageX,f=u.pageY-n.pageY;if(function(t,n,i){if(!e.contains(t))return!1;for(var r=t;r&&r!==e;){if(r.classList.contains(Nt.consuming))return!0;var o=Pt(r);if([o.overflow,o.overflowX,o.overflowY].join("").match(/(scroll|auto)/)){var a=r.scrollHeight-r.clientHeight;if(a>0&&!(0===r.scrollTop&&i>0||r.scrollTop===a&&i<0))return!0;var s=r.scrollLeft-r.clientWidth;if(s>0&&!(0===r.scrollLeft&&n<0||r.scrollLeft===s&&n>0))return!0}r=r.parentNode}return!1}(o.target,h,f))return;a(h,f),n=u;var d=(new Date).getTime(),p=d-i;p>0&&(r.x=h/p,r.y=f/p,i=d),function(n,i){var r=e.scrollTop,o=e.scrollLeft,a=Math.abs(n),s=Math.abs(i);if(s>a){if(i<0&&r===t.contentHeight-t.containerHeight||i>0&&0===r)return 0===window.scrollY&&i>0&&Yt.isChrome}else if(a>s&&(n<0&&o===t.contentWidth-t.containerWidth||n>0&&0===o))return!0;return!0}(h,f)&&o.preventDefault()}}function h(){t.settings.swipeEasing&&(clearInterval(o),o=setInterval((function(){t.isInitialized?clearInterval(o):r.x||r.y?Math.abs(r.x)<.01&&Math.abs(r.y)<.01?clearInterval(o):(a(30*r.x,30*r.y),r.x*=.8,r.y*=.8):clearInterval(o)}),10))}}},Kt=function(t,e){var n=this;if(void 0===e&&(e={}),"string"==typeof t&&(t=document.querySelector(t)),!t||!t.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var i in this.element=t,t.classList.add(Lt),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!1,wheelSpeed:1},e)n.settings[i]=e[i];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var r,o,a=function(){return t.classList.add(Dt.focus)},s=function(){return t.classList.remove(Dt.focus)};this.isRtl="rtl"===Pt(t).direction,this.isNegativeScroll=(o=t.scrollLeft,t.scrollLeft=-1,r=t.scrollLeft<0,t.scrollLeft=o,r),this.negativeScrollAdjustment=this.isNegativeScroll?t.scrollWidth-t.clientWidth:0,this.event=new Wt,this.ownerDocument=t.ownerDocument||document,this.scrollbarXRail=Ot(Nt.rail("x")),t.appendChild(this.scrollbarXRail),this.scrollbarX=Ot(Nt.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",a),this.event.bind(this.scrollbarX,"blur",s),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var l=Pt(this.scrollbarXRail);this.scrollbarXBottom=parseInt(l.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=Xt(l.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=Xt(l.borderLeftWidth)+Xt(l.borderRightWidth),Et(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=Xt(l.marginLeft)+Xt(l.marginRight),Et(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=Ot(Nt.rail("y")),t.appendChild(this.scrollbarYRail),this.scrollbarY=Ot(Nt.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",a),this.event.bind(this.scrollbarY,"blur",s),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var c=Pt(this.scrollbarYRail);this.scrollbarYRight=parseInt(c.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=Xt(c.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function(t){var e=Pt(t);return Xt(e.width)+Xt(e.paddingLeft)+Xt(e.paddingRight)+Xt(e.borderLeftWidth)+Xt(e.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=Xt(c.borderTopWidth)+Xt(c.borderBottomWidth),Et(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=Xt(c.marginTop)+Xt(c.marginBottom),Et(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:t.scrollLeft<=0?"start":t.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:t.scrollTop<=0?"start":t.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach((function(t){return Jt[t](n)})),this.lastScrollTop=t.scrollTop,this.lastScrollLeft=t.scrollLeft,this.event.bind(this.element,"scroll",(function(t){return n.onScroll(t)})),Vt(this)};Kt.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,Et(this.scrollbarXRail,{display:"block"}),Et(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=Xt(Pt(this.scrollbarXRail).marginLeft)+Xt(Pt(this.scrollbarXRail).marginRight),this.railYMarginHeight=Xt(Pt(this.scrollbarYRail).marginTop)+Xt(Pt(this.scrollbarYRail).marginBottom),Et(this.scrollbarXRail,{display:"none"}),Et(this.scrollbarYRail,{display:"none"}),Vt(this),Ut(this,"top",0,!1,!0),Ut(this,"left",0,!1,!0),Et(this.scrollbarXRail,{display:""}),Et(this.scrollbarYRail,{display:""}))},Kt.prototype.onScroll=function(t){this.isAlive&&(Vt(this),Ut(this,"top",this.element.scrollTop-this.lastScrollTop),Ut(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=this.element.scrollTop,this.lastScrollLeft=this.element.scrollLeft)},Kt.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),qt(this.scrollbarX),qt(this.scrollbarY),qt(this.scrollbarXRail),qt(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},Kt.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter((function(t){return!t.match(/^ps([-_].+|)$/)})).join(" ")};var Zt=Kt,te=n(108);function ee(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=m()(t);if(e){var r=m()(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return p()(this,n)}}var ne=globalThis.window,ie=globalThis.Math,re=(te.a,0),oe={showCheckButton:!0,list:[],listLen:0,offsetBetweenItems:8,offsetStart:10,offsetEnd:20,clickable:!1,_sortingInstance:null,setState:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"enable",e=this.list,n="enable"===t?"enable":"disable";this.clickable="enable"===t;for(var i=0;i<this.listLen;i++)e[i].drag[n]()},init:function(t,e){this._sortingInstance=t,this.list=e,this.listLen=e.length;for(var n=this.offsetStart,i=0;i<this.listLen;i++){var r=e[i];r.sort=i,this.initItem(r),n+=this._yCalculation(r.$selector)}this.totalH=n},initItem:function(t){var e=this,n=e.list,i=t,r=n.length,o=i.$selector,a=o[0];i.drag=new Draggable(o,{type:"y",bound:e._sortingInstance.$quizSortingWrap,onDragStart:function(){var t=e._sortingInstance.$quizSorting[0];re=t.scrollTop,_.d.to(a,.2,{scaleX:1.1,scaleY:1.1,rotation:-2})},onRelease:function(){var t=e.offsetStart;e._reorder();for(var o=0;o<r;o++){var s=n[o].$selector;i.correctPlace===n[o].correctPlace&&(n[o].y=t,_.d.to(a,.2,{y:t,scaleX:1,scaleY:1,rotation:0})),t+=e._yCalculation(s)}},onDrag:function(){var t=e.offsetStart;i.y=o[0]._gsTransform.y;var a=se(e._sortingInstance.$quizSorting[0]);i.y+=a,_.d.set(this.target,{y:this.y+a}),e._reorder();for(var s=0;s<r;s++){var l=n[s].$selector;n[s].correctPlace!==i.correctPlace&&(n[s].y=t,_.d.to(l[0],.2,{y:t})),t+=e._yCalculation(l)}},autoScroll:.5}),o.find(".sorting-click").bind("click",(function(){if(e.clickable){var t=y()(this).attr("data-direction"),n="up"===t&&0!==i.sort?-1:"down"===t&&i.sort!==r-1?1:0;e._changeIndex(i.sort,i.sort+n),e._animateY()}}))},resizeHandler:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.totalH=this._animateY((function(){t.update(),e instanceof Function&&e()}))},showItems:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.totalH=oe._animateY(t),this.clickable=!0},update:function(){for(var t=oe,e=t.list,n=0;n<t.listLen;n++)e[n].drag.update()},getTotalHeight:function(){return this.totalH+this.offsetEnd},_animateY:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=oe,n=e.list,i=new _.c({onComplete:t});i.add("play");for(var r=this.offsetStart,o=0;o<e.listLen;o++){var a=n[o].$selector;n[o].y=r,i.to(a[0],.2,{y:r},"play"),r+=e._yCalculation(a)}return this._reorder(),r},_yCalculation:function(t){return ie.ceil(t.outerHeight()+this.offsetBetweenItems)},_reorder:function(){var t=this.list;t.sort((function(t,e){return t.y-e.y}));for(var e=0;e<this.listLen;e++)t[e].sort=e},_changeIndex:function(t,e){var n=oe.list;n.splice(e,0,n.splice(t,1)[0])}},ae=function(){var t=this;oe.resizeHandler((function(){t.$quizSortingContent.css({minHeight:"".concat(oe.getTotalHeight(),"px")})})),this.scrollAble.update()},se=function(t){return 1!==A.a.scale?le(t.scrollTop-re):0},le=function(t){return(t*A.a.scale-t)/A.a.scale},ce=function(t){f()(n,t);var e=ee(n);function n(t){var i;return a()(this,n),(i=e.call(this,t)).solvedCorrect=!1,i._generateStyles(F),i.shuffledList=function(t){for(var e=t.length,n=[],i=0;i<e;i++)n.push({correctPlace:i,text:t[i],drag:null,$selector:null});return x.a(n),n}(y.a.extend([],t.list)),i.maxPoints=i.shuffledList.length,i.scrollAble=null,i}return l()(n,[{key:"generateHtml",value:function(){u()(m()(n.prototype),"generateHtml",this).call(this);var t=this.shuffledList,e=t.length;this.$quizSortingWrap=y()("<div/>",{class:"animated",attr:{id:"quiz-task-sorting-wrap"}}),this.$quizSorting=y()("<div/>",{class:"animated",attr:{id:"quiz-task-sorting"}}).appendTo(this.$quizSortingWrap),this.$quizSortingContent=y()("<div/>",{attr:{id:"quiz-task-sorting-content"}}).appendTo(this.$quizSorting);for(var i=0;i<e;i++){var r='<div class="sorting-wrapper animated">';r+='<div class="sorting-click sorting-down animated" data-direction="down" data-clickable="true"><div class="arrow-down"></div></div>',r+='<div class="sorting-content animated">'.concat(t[i].text,"</div>"),r+='<div class="sorting-click sorting-up animated" data-direction="up" data-clickable="true"><div class="arrow-up"></div></div>',r+="</div>",this.$quizSortingContent.append(r)}this.$listElements=this.$quizSortingContent.children(),this.$quizTaskMain.append(this.$quizSortingWrap);for(var o=0;o<e;o++)t[o].$selector=this.$listElements.eq(o);return oe.init(this,t),this.$quizSortingContent.css({minHeight:"".concat(oe.getTotalHeight(),"px")}),this.scrollAble=new Zt(this.$quizSorting[0],{wheelSpeed:.3,wheelPropagation:!0,minScrollbarLength:20}),this}},{key:"fadeIn",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=this.$quizSortingWrap[0],r=u()(m()(n.prototype),"fadeIn",this).call(this,e);return r.from(i,.5,{scale:.5,opacity:0,ease:Back.easeOut},"play+=0.4").add((function(){oe.showItems()}),"play+=0.3").add((function(){ne.addEventListener("resize",ae.bind(t)),ae.call(t)}),"play+=1"),r}},{key:"fadeOut",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=this.$quizSortingWrap[0],i=u()(m()(n.prototype),"fadeOut",this).call(this,t);return i.to(e,.5,{opacity:0,y:-100,ease:Back.easeIn},"play"),i}},{key:"checkAnswers",value:function(){var t=this,e=this.shuffledList,n=e.length,i=new _.c({paused:!0}),r=this.$quizSorting[0],o=0,a=0,s=0;oe.setState("disable"),i.add("scrollBefore").to(r,.5,{scrollTo:0},"scrollBefore").add("play");for(var l=function(n){var r=e[n];r.$selector.addClass("disabled"),r.correctPlace===n?(a++,o++,i.set(r.$selector[0],{className:"+=right"},"play+=".concat(s))):(o--,i.set(r.$selector[0],{className:"+=wrong"},"play+=".concat(s))),i.add((function(){r.$selector.children().first().html(r.correctPlace+1),ae.call(t)}),"play+=".concat(s)),s+=.1},c=0;c<n;c++)l(c);return s+=.15,this.solvedCorrect=o>0,i.to(r,s,{scrollTo:oe.getTotalHeight()},"play+=0.4").add((function(){t.solvedCorrect?j.a.playPositiveFeedback():j.a.playNegativeFeedback()})),i.play(0),{points:a,maxPoints:this.maxPoints}}},{key:"isQuestionSolvedCorrect",value:function(){return this.solvedCorrect}}]),n}(T.a),ue=n(56);function he(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=m()(t);if(e){var r=m()(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return p()(this,n)}}var fe=globalThis.Math,de=globalThis.Image,pe=!1,ge=function(){var t=this;this.$spots.each((function(e){var n=t.$spots.eq(e),i=n.attr("data-key"),r=t.data.spots[i],o=fe.ceil(r.width*t.ratio),a=fe.ceil(r.height*t.ratio),s=fe.ceil(r.x*t.ratio),l=fe.ceil(r.y*t.ratio);n.css({width:"".concat(o,"px"),height:"".concat(a,"px"),left:s,top:l})}))},me=function(){var t=this,e=this.data.spots;this.$spots=y()([]),e.forEach((function(e,n){var i=y()("<div/>",{class:"image-hunt-spot",attr:{"data-key":n}}).appendTo(t.$quizTaskImageHuntSpotOverlay);t.$spots=t.$spots.add(i)}))},ve=function(){this.imageHe=this.$quizTaskImageHuntImage.height(),this.imageWi=this.$quizTaskImageHuntImage.width(),this.$quizTaskImageHuntSpotOverlay.css({height:this.imageHe,width:this.imageWi}),this.ratio=this.imageHe/this.imageRealHe},ye=function(){this.imageRealHe=this.huntimage.height,this.imageRealWi=this.huntimage.width,this.$quizTaskImageHuntImage.attr("src",this.huntimage.src),ve.call(this),me.call(this),ge.call(this)},be=function(){this.huntimage=new de,this.huntimage.onload=ye.bind(this),this.huntimage.src=this.data.image.url},we=function(){pe&&y()(this).toggleClass("active")},_e=function(){ve.call(this),ge.call(this)},xe=function(){B.a.unregisterJQEvent("click",".image-hunt-spot",we),ue.a.off("resize",_e)},Te=function(){B.a.registerJQEvent("click",".image-hunt-spot",we),ue.a.on("resize",_e.bind(this))},ke=function(t){f()(n,t);var e=he(n);function n(t){var i;return a()(this,n),(i=e.call(this,t)).solvedCorrect=!1,i._generateStyles(z),i}return l()(n,[{key:"generateHtml",value:function(){return u()(m()(n.prototype),"generateHtml",this).call(this),this.$quizTaskImageHuntWrapper=y()("<div/>",{class:"animated",attr:{id:"quiz-task-image-hunt-wrapper"}}),this.$quizTaskImageHuntImage=y()("<img />",{class:"animated",attr:{id:"quiz-task-image-hunt-image"}}).appendTo(this.$quizTaskImageHuntWrapper),this.$quizTaskImageHuntSpotOverlay=y()("<div/>",{class:"animated",attr:{id:"quiz-task-image-hunt-spot-overlay"}}).appendTo(this.$quizTaskImageHuntWrapper),be.call(this),this.$quizTaskMain.append(this.$quizTaskImageHuntWrapper),Te.call(this),this}},{key:"fadeIn",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=u()(m()(n.prototype),"fadeIn",this).call(this,t),i=this.$quizTaskImageHuntWrapper[0];return e.set(i,{scale:.7,y:-75},"init").to(i,.4,{opacity:1,scale:1,y:0},"play+=0.4"),pe=!0,e}},{key:"fadeOut",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=u()(m()(n.prototype),"fadeOut",this).call(this,t),i=this.$quizTaskImageHuntWrapper[0];return xe.call(this),e.to(i,.4,{opacity:0,scale:.3,y:-200},"play"),e}},{key:"checkAnswers",value:function(){var t=this,e=this.data.spots,n=0,i=0;return pe=!1,_.d.to(this.$quizTaskImageHuntImage[0],.5,{opacity:.4}),this.$spots.each((function(r){var o=t.$spots.eq(r),a=o.attr("data-key"),s=e[a].isCorrect;i+=s?1:0,o.addClass(s?"right right-black":"wrong"),o.hasClass("active")&&(o.addClass(s?"":"wrong-black"),n+=s?1:-1)})),n=n<0?0:n,this.solvedCorrect=n>0,this.solvedCorrect?j.a.playPositiveFeedback():j.a.playNegativeFeedback(),{points:n,maxPoints:i}}},{key:"isQuestionSolvedCorrect",value:function(){return this.solvedCorrect}}]),n}(T.a),Ae=it,Se=lt,Ce=Ct,Pe=ce,Ee=ke},function(t,e,n){"use strict";n.r(e);n(185),n(186),n(187),n(188),n(189),n(190),n(191),n(192),n(193),n(194),n(195),n(196),n(197),n(198),n(199),n(200),n(201),n(202),n(203),n(204),n(205),n(206),n(207),n(209),n(93),n(210),n(211),n(212),n(213),n(214),n(215),n(216),n(217),n(218),n(219),n(220),n(222),n(224),n(225),n(226),n(227),n(228),n(229),n(230),n(231),n(232),n(233),n(234),n(235),n(237),n(238),n(239),n(240),n(241),n(242),n(243),n(244),n(245),n(246),n(247),n(248),n(249),n(251),n(252),n(253),n(254),n(255),n(256),n(258),n(260),n(262),n(263),n(264),n(265),n(266),n(267),n(268),n(269),n(270),n(271),n(272),n(273),n(274),n(275),n(276),n(277),n(278),n(279),n(280),n(281),n(283),n(284),n(288),n(289),n(290),n(292),n(293),n(294),n(295),n(296),n(297),n(298),n(299),n(300),n(301),n(302),n(303),n(168),n(304),n(305),n(306),n(307),n(308),n(309),n(310),n(169),n(311),n(312),n(313),n(314),n(315),n(316),n(318),n(319),n(320),n(321),n(322),n(323),n(324),n(325),n(326),n(327),n(328),n(329),n(330),n(331),n(332),n(333),n(334),n(335),n(336),n(337),n(339),n(340),n(341),n(342),n(343),n(344),n(345),n(346),n(347),n(348),n(349),n(350),n(352),n(353),n(354),n(355),n(356),n(357),n(358),n(359),n(360),n(362),n(363),n(364),n(365),n(366),n(367),n(368),n(369),n(370),n(371),n(372),n(373),n(374),n(375),n(376),n(378),n(379),n(380),n(381),n(384),n(177),n(385),n(386);var i=n(1),r=n.n(i),o=n(63),a=n(38),s=n(16),l=n(10),c=n.n(l),u=n(11),h=n.n(u),f=function(){function t(){return c()(this,t),this.name="",this.points=0,this.maxPoints=0,this.longVersion=!0,this.answeredQuestions=[],this.resetAnsweredQuestions(),this}return h()(t,[{key:"setName",value:function(t){return this.name=t,this}},{key:"addPoints",value:function(t){return this.points+=t,this}},{key:"addMaxPoints",value:function(t){return this.maxPoints+=t,this}},{key:"addAnsweredQuestion",value:function(t,e){return this.answeredQuestions[e?0:1].push(t),this}},{key:"getPoints",value:function(){return this.points}},{key:"getMaxPoints",value:function(){return this.maxPoints}},{key:"getName",value:function(){return this.name}},{key:"getAnsweredQuestions",value:function(){return this.answeredQuestions}},{key:"resetPoints",value:function(){return this.points=0,this.maxPoints=0,this}},{key:"resetAnsweredQuestions",value:function(){this.answeredQuestions[0]=[],this.answeredQuestions[1]=[]}},{key:"showFeedback",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null===t?this.longVersion:(this.longVersion=t,this)}}]),t}(),d=n(6),p=n(27),g=n.n(p),m=globalThis.window,v=globalThis.document,y=function(t){t.preventDefault();var e=r()(t.currentTarget),n=e.attr("data-text"),i=encodeURI("undefined"!==g()(n)&&!1!==n?n:null!==this.settings.text?this.settings.text:""),o=encodeURI(this.settings.url),a="https://";switch(e.attr("data-type")){case"facebook":a+="www.facebook.com/sharer/sharer.php?u=".concat(o,"&quote=").concat(i);break;case"twitter":a+="twitter.com/home?status=".concat(i,"%0A").concat(o)}var s=r()(m).height()/2-275,l=r()(m).width()/2-225;return m.open(a,"fbShareWindow","height=450, width=550, top=".concat(s,", left=").concat(l,", toolbar=0, location=0, menubar=0, directories=0, scrollbars=0")),!1},b=function(){function t(e,n){c()(this,t),this.selector=e,this.$body=r()("body"),this.$body.on("click",e,y.bind(this)),this.settings=r.a.extend({url:v.URL,text:null},n)}return h()(t,[{key:"destroy",value:function(){this.$body.off("click",this.selector,y)}}]),t}(),w=n(4),_=n(5),x=n(19),T=n(3),k={badWords:[],replace:!0,replacer:"*",leetLetters:{"(a|ä)":"(a|a.|a-|4|@|Á|á|À|Â|à|Â|â|Ä|ä|Ã|ã|Å|å|α|Δ|Λ|λ){1,}",b:"(b|b.|b-|8||3|ß|Β|β){1,}",c:"(c|c.|c-|Ç|ç|¢|€|<|{|©){1,}",d:"(d|d.|d-|Þ|þ|Ð|ð)",e:"(e|e.|e-|3|€|È|è|É|é|Ê|ê|∑){1,}",f:"(f|f.|f-|ƒ){1,}",g:"(g|g.|g-|6|9){1,}",h:"(h|h.|h-|Η){1,}",i:"(i|i-|1|∫|Ì|Í|Î|Ï|ì|í|î|ï|!){1,}",j:"(j|j.|j-){1,}",k:"(k|k.|k-|Κ|κ){1,}",l:"(l|1.|l-|!|||][|]|£|∫|Ì|Í|Î|Ï){1,}",m:"(m|m.|m-){1,}",n:"(n|n.|n-|η|Ν|Π){1,}","(o|ö)":"(o|o.|o-|ó|ò|ö|ô|0|Ο|ο|Φ|¤|°|ø){1,}",p:"(p|p.|p-|ρ|Ρ|¶|þ){1,}",q:"(q|q.|q-){1,}",r:"(r|r.|r-|®){1,}",s:"(s|s.|s-|5|$|§){1,}",t:"(t|t.|t-|Τ|τ|7){1,}","(u|ü)":"(u|u.|u-|ü|ú|ù|û|υ|µ){1,}",v:"(v|v.|v-|υ|ν){1,}",w:"(w|w.|w-|ω|ψ|Ψ){1,}",x:"(x|x.|x-|Χ|χ){1,}",y:"(y|y.|y-|¥|γ|ÿ|ý|Ÿ|Ý){1,}",z:"(z|z.|z-|Ζ){1,}"}},A=function(){for(var t=this.options.badWords,e=t.length,n=this.options.leetLetters,i=[],r=0;r<e;r++){var o=t[r];for(var a in n)o=o.replace(new RegExp(a,"gi"),n[a]);i[r]=new RegExp(o,"gi")}this.censorChecks=i,this.censorCheckLength=i.length},S=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c()(this,t),this.options=Object.assign({},k,e),A.call(this),this}return h()(t,[{key:"censorString",value:function(t){for(var e={clean:t,orig:t,bad:!1},n=this.options,i=0;i<this.censorCheckLength;i++)e.clean=e.clean.replace(this.censorChecks[i],(function(t){return e.bad=!0,n.replace?n.replacer.repeat(t.length):t}));return e}}]),t}(),C=function(){var t=new T.c,e=w.a.$logo[0],n=w.a.$quizTitleFrontpageWrapper[0],i=w.a.$quizStartButtonWrapper[0],r=w.a.$quizStartShortButton[0],o=w.a.$usernameSpacer[0];t.set(e,{y:"-100%",scale:.3}).set(n,{scaleY:0,opacity:0,display:"block"}).set(o,{display:"block"}).set(i,{x:"-100%",display:"block"}).set(r,{y:"20",display:"block"}).add("initStartScreen").to(e,.5,{y:"0%",scale:1},"initStartScreen").set(e,{clearProps:"all"},"initStartScreen+=0.5").to(n,.5,{scaleY:1,opacity:1},"initStartScreen+=0.5").to(o,.5,{className:"+=active"},"initStartScreen+=0.8").add((function(){w.a.$usernameInput.focus()}))},P=function(t){var e=new T.c,n=w.a.$quizStartButtonWrapper[0],i=w.a.$quizStartShortButton[0],r=w.a.$quizTitleFrontpageWrapper[0],o=w.a.$usernameSpacer[0];e.to(i,.2,{opacity:0}).add("fadeoutStartScreen").to(r,.5,{y:"-100%",opacity:0},"fadeoutStartScreen").to(o,.5,{y:"-100%",opacity:0},"fadeoutStartScreen+=0.2").to(n,.5,{x:"200%"},"fadeoutStartScreen").to(n,.1,{opacity:"0"},"fadeoutStartScreen+=0.3").set(n,{display:"none"}).set(r,{display:"none"}).set(o,{display:"none"}).add((function(){t()}))},E=function(){var t=new T.c,e=w.a.$quizStartButtonWrapper[0],n=w.a.$quizStartShortButton[0];t.to(e,.1,{opacity:1}).to(e,.7,{x:"0%"},"-0.3").to(n,.2,{y:"0",opacity:1})},O=function(){var t=w.a.$usernameInput;""!==t.val()?(t.addClass("active"),t.parent().removeClass("invalid")):(t.removeClass("active"),t.parent().addClass("invalid"))},R=function(t){var e=w.a.$usernameInput;"visible"!==L.startButton&&e.val().length>=2&&(L.startButton="visible",E()),e.parent().removeClass("profanity"),13===t.keyCode&&e.val().length>=2&&w.a.$quizStartButton.trigger("click")},I=function(){var t=w.a.$usernameInput,e=t.val();if(e.length>=2){var n=e.substring(0,22),i=L.profanityFilter.censorString(n);i.bad?(t.val(i.clean),t.parent().addClass("profanity")):(this.quizStarted=!0,_.a.unregisterJQEvent("click","#quiz-start-button-wrapper",q),_.a.unregisterJQEvent("keyup","#user-name-input",R),t.parent().removeClass("invalid"),L.userInstance.setName(i.clean),w.a.$quizHeaderName.html(i.clean),P((function(){_.a.fire("startScreenFadeout")})))}else t.focus()},q=function(t){return t.preventDefault(),this.quizStarted||I.call(this),!1},M=function(t){return t.preventDefault(),this.quizStarted||(this.userInstance.showFeedback(!1),I.call(this)),!1},L={quizStarted:!1,init:function(){_.a.registerJQEvent("focusout","#user-name-input",O),_.a.registerJQEvent("keyup","#user-name-input",R),_.a.registerJQEvent("click","#quiz-start",q.bind(this)),_.a.registerJQEvent("click","#quiz-start-short",M.bind(this)),this.userInstance=d.a.get("userInstance"),this.profanityFilter=new S({badWords:d.a.get("badWords")}),C()}},N=L,D=n(87),F=n(182),z=n.n(F),B=n(183),j=n.n(B),H=globalThis.Math,W=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"left",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=this.getMaxLineWidth()-this._pdf.getTextWidth(t),r=0;switch(e){case"right":r=i;break;case"center":r=i/2;break;case"custom":r=n;break;default:r=0}return r+this.horizontalPadding},$=function(){function t(){c()(this,t),this._pdf=new j.a,this.pageNumber=1,this.verticalPadding=20,this.horizontalPadding=20,this.textOffset=null,this.documentFontSize=14,this.footerFontSize=10,this.addFooter(),this._pdf.setFont("Verdana")}return h()(t,[{key:"getPageHeight",value:function(){return this._pdf.internal.pageSize.height}},{key:"getPageWidth",value:function(){return this._pdf.internal.pageSize.width}},{key:"getMaxLineWidth",value:function(){return this.getPageWidth()-2*this.horizontalPadding}},{key:"getLineHeight",value:function(){return this._pdf.internal.getLineHeight()/72*25.4}},{key:"getMaxLinesOnCurrentPage",value:function(){return H.floor((this.getPageHeight()-this.textOffset-this.verticalPadding)/this.getLineHeight())}},{key:"getMaxLinesOnFullPage",value:function(){return H.floor((this.getPageWidth()-2*this.verticalPadding)/this.getLineHeight())}},{key:"addText",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"normal",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"left",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:14,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;this._pdf.setFontSize(r);var s=this.getLineHeight();null===this.textOffset&&(this.textOffset=this.verticalPadding+s),0!==a&&(this.textOffset=a),this._pdf.setFontStyle(n);var l=this.getMaxLinesOnCurrentPage(),c=this._pdf.splitTextToSize(t,this.getMaxLineWidth());if(c.length>l){for(var u=this.getMaxLinesOnFullPage(),h=null;c.length>0;){(h=c.splice(0,l)).forEach((function(t){e._pdf.text(t,W.call(e,t,i,o),e.textOffset),e.textOffset+=s}));var f=c.length;(l=u)>f&&(l=f),f>0&&(this.addPage(),this.textOffset=this.verticalPadding)}c=h}else c.forEach((function(t){e._pdf.text(t,W.call(e,t,i,o),e.textOffset),e.textOffset+=s}));return this}},{key:"save",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"dokument";return this._pdf.save("".concat(t,".pdf")),this}},{key:"addPage",value:function(){return this._pdf.addPage(),this.addFooter(),this.textOffset=null,this}},{key:"addFooter",value:function(){return this}},{key:"addBackgroundImage",value:function(t,e){this._pdf.addImage(t,e,0,0,this.getPageWidth(),this.getPageHeight(),void 0,"FAST")}},{key:"setTextColor",value:function(t,e,n){this._pdf.setTextColor(t,e,n)}}]),t}(),U=globalThis.window,X=globalThis.document,Y=globalThis.Image,V={init:function(){this.cache=lt.jQueryCache,this.quizTaskContent=w.a.$quizTaskContent[0],this.quizEvaluationWrapper=this.cache.$evaluationBtn[0],this.header=this.cache.$header[0],this.headline=this.cache.$headline[0],this.social=this.cache.$socialContent[0],this.$endScreenButtons=w.a.$quizTaskEndScreenButtons,this.endScreenButtons=this.$endScreenButtons,this.leftButton=this.$endScreenButtons.children().first()[0],this.rightButton=this.$endScreenButtons.children().eq(1)[0]},fadeIn:function(){new T.c({delay:.2}).add("init").set(this.header,{opacity:0,y:50},"init").set(this.quizEvaluationWrapper,{opacity:0},"init").set(this.headline,{opacity:0,y:-50},"init").set(this.social,{opacity:0,scale:.3},"init").set(this.endScreenButtons,{opacity:1,display:"block"},"init").set(this.leftButton,{opacity:0,x:100},"init").set(this.rightButton,{opacity:0,x:-100},"init").set(this.quizTaskContent,{opacity:1},"init").add("play").to(this.header,.4,{opacity:1,y:0},"play").to(this.quizEvaluationWrapper,.4,{opacity:1},"play").to(this.headline,.4,{opacity:1,y:0},"play").to(this.social,.4,{opacity:1,scale:1},"play").add("showButtons","play+=0.6").to(this.leftButton,.2,{opacity:1},"showButtons").to(this.leftButton,.4,{x:0},"showButtons")},fadeOutRestart:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=this,n=new T.c({delay:.2});t instanceof Function&&n.eventCallback("onComplete",t),n.add("play").to(e.leftButton,.6,{x:-1e3,ease:T.a.easeIn.config(1.7)},"play").to(e.rightButton,.6,{x:400,ease:T.a.easeIn.config(1.7)},"play").to(e.social,.6,{x:400,ease:T.a.easeIn.config(1.7)},"play").to(e.headline,.6,{x:400,ease:T.a.easeIn.config(1.7)},"play").to(e.quizEvaluationWrapper,.6,{x:400,ease:T.a.easeIn.config(1.7)},"play").to(e.header,.6,{x:400,ease:T.a.easeIn.config(1.7)},"play").to(e.rightButton,.2,{opacity:0},"play+=0.4").to(e.social,.2,{opacity:0},"play+=0.4").to(e.headline,.2,{opacity:0},"play+=0.4").to(e.quizEvaluationWrapper,.2,{opacity:0},"play+=0.4").to(e.header,.2,{opacity:0},"play+=0.4").set(e.endScreenButtons,{opacity:0,display:"none"})},fadeOutShowAll:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=this,n=new T.c({delay:.2});t instanceof Function&&n.eventCallback("onComplete",t),n.add("play").to(e.leftButton,.6,{x:-400,ease:T.a.easeIn.config(1.7)},"play").to(e.rightButton,.6,{x:1e3,ease:T.a.easeIn.config(1.7)},"play").to(e.social,.6,{x:-400,ease:T.a.easeIn.config(1.7)},"play").to(e.headline,.6,{x:-400,ease:T.a.easeIn.config(1.7)},"play").to(e.quizEvaluationWrapper,.6,{x:-400,ease:T.a.easeIn.config(1.7)},"play").to(e.header,.6,{x:-400,ease:T.a.easeIn.config(1.7)},"play").to(e.leftButton,.2,{opacity:0},"play+=0.4").to(e.social,.2,{opacity:0},"play+=0.4").to(e.headline,.2,{opacity:0},"play+=0.4").to(e.quizEvaluationWrapper,.2,{opacity:0},"play+=0.4").to(e.header,.2,{opacity:0},"play+=0.4").set(e.endScreenButtons,{opacity:0,display:"none"})}},G=function(){var t=this.quizTitle,e=this.points,n=this.maxPoints,i="Du hast beim Quiz ″".concat(t,"″<br/><span>").concat(e," von ").concat(n," Punkten</span> erhalten.<p>").concat(function(t,e){for(var n=d.a.get("feedbackRange"),i=n.length,r=0!==e?t/e:1,o=0,a=0;a<i;a++){if(!(r<=n[a].maxPercentage))break;o=a}return n[o].text}(e,n),"</p>"),r="Ich habe beim Quiz <span>″".concat(t,"″</span> ").concat(e," von ").concat(n," Punkten erhalten."),o=d.a.get("socialPostText");o&&(r+="<br/><br/>".concat(o));var a='<div id="quiz-task-endscreen-header" class="accent3 animated">DEIN ERGEBNIS</div>';return a+='<div id="quiz-task-endscreen-headline" class="animated">'.concat(i,"</div>"),a+='<div id="quiz-task-endscreen-social-wrapper" class="animated">',a+='<div id="endscreen-social-evaluation-wrapper" class="animated">',a+='<div id="endscreen-evaluation-image"></div>',a+='<div id="endscreen-button-evaluation-wrapper">',a+='<button class="accent3-bg accent3-contrast" id="endscreen-evaluation-btn">Auswertung ansehen</button>',a+="</div>",a+="</div>",a+='<div id="endscreen-social-pdf-export" class="animated">',a+='<img src="'.concat(d.a.get("pdfBackgroundThumbPath"),'" class="endscreen-pdf-export">'),a+='<div id="endscreen-button-pdf-wrapper">',a+='<button class="accent3-bg accent3-contrast endscreen-pdf-export">Urkunde ausdrucken</button>',a+="</div>",a+="</div>",d.a.get("enableSocialShare")&&(a+='<div id="endscreen-social-share" class="animated">',a+='<div id="endscreen-social-share-header" class="accent3">Teile dein Ergebnis!</div>',a+='<div id="endscreen-social-share-text">'.concat(r,"</div>"),a+='<div id="endscreen-button-share-wrapper" class="animated">',a+='<button class="accent3-bg accent3-contrast endscreen-share" id="endscreen-share-fb" data-type="facebook">auf Facebook</button>',a+='<button class="accent3-bg accent3-contrast endscreen-share" id="endscreen-share-tw" data-type="twitter">auf Twitter</button>',a+="</div>",a+="</div>"),a+="</div>"},Q=function(){this.jQueryCache={$header:r()("#quiz-task-endscreen-header"),$evaluationBtn:r()("#endscreen-social-evaluation-wrapper"),$headline:r()("#quiz-task-endscreen-headline"),$socialContent:r()("#quiz-task-endscreen-social-wrapper")}},J=function(){var t=this.userInstance,e=this.progressInstance;if(this.socialShare&&(this.socialShare.destroy(),this.socialShare=null),ot(),e.setActiveElem(1),t.resetPoints(),t.resetAnsweredQuestions(),!o.a.has("step")){var n=d.a.get("defaultQuestions"),i=r.a.extend(!0,[],n);a.a(i);var s=d.a.get("maxQuestions");s=(s=s<5?5:s)>30?30:s,i.length>s&&(i=i.slice(0,s)),d.a.set("questions",i)}return V.fadeOutRestart((function(){w.a.$quizTaskContent.html(""),_.a.fire("endScreenRestart")})),!1},K=function t(){if(this.pdf.loaded)return this.doc.save(d.a.get("pdfFileName")),!1;if(null!==this.pdf.base64Image){var e;this.doc=new $;var n=this.quizTitle,i=this.points,r=this.maxPoints;return this.doc.addBackgroundImage(this.pdf.base64Image,"PNG"),this.doc.horizontalPadding=50,this.doc.textOffset=130,this.doc.setTextColor(38,38,38),this.doc.addText(this.userInstance.getName(),"bold","custom",25,22),this.doc.textOffset+=2,this.doc.addText("hat beim ".concat(d.a.get("pdfQuizName")),"bold","custom",25,22),this.doc.textOffset+=n.length>24?13:20,(e=this.doc).setTextColor.apply(e,z()(s.a.getColor("pdfTitleColor"))),this.doc.addText(n,"bold","custom",25,22),this.doc.setTextColor(38,38,38),this.doc.textOffset+=12,this.doc.addText("".concat(i," von ").concat(r," Punkten"),"bold","custom",25,22,202),this.doc.textOffset+=0,this.doc.addText("erreicht","bold","custom",25,22),this.doc.save(d.a.get("pdfFileName")),this.pdf.loaded=!0,!1}return U.setTimeout(t.bind(this),100),!1},Z=function(){var t=this;if(!this.pdf.base64Image){var e=new Y;e.onload=function(){var n=X.createElement("canvas");n.width=e.naturalWidth,n.height=e.naturalHeight,n.getContext("2d").drawImage(e,0,0),t.pdf.base64Image=n.toDataURL("image/png")},e.src=d.a.get("pdfBackgroundPath")}},tt=function(){return ot(),V.fadeOutShowAll(),!1},et=function(t,e,n){var i='<div class="evaluation-question-wrapper '.concat(n?"right correct-bg text-contrast":"wrong text-contrast",'">');return i+='<div class="underlined-header">Frage '.concat(t,"</div>"),i+=e,i+="</div>"},nt=function(){var t=this.questions,e='<div id="quiz-evaluation-header" class="accentContrast3 animated underlined-header">AUSWERTUNG</div>';return this.answeredQuestions[0].length>0&&(e+='<div id="quiz-evaluation-correct-wrapper">',e+='<div class="underlined-header">Richtig</div>',this.answeredQuestions[0].forEach((function(n){e+=et(n+1,t[n].text,!0)})),e+="</div>"),this.answeredQuestions[1].length>0&&(e+='<div id="quiz-evaluation-incorrect-wrapper">',e+='<div class="underlined-header">Falsch</div>',this.answeredQuestions[1].forEach((function(n){e+=et(n+1,t[n].text,!1)})),e+="</div>"),e},it=function(){this.$evaluation=r()('<div class="evaluationWrapper"></div>'),this.$evaluationHide=r()('<div class="close"></div>').appendTo(this.$evaluation),this.$evaluationText=r()('<div class="content">'.concat(nt.call(this),"</div>")).appendTo(this.$evaluation),this.$evaluationHide.on("click",rt.bind(this)),w.a.$quizTaskWrapper.append(this.$evaluation);var t=this.$evaluation[0],e=this.$evaluationText[0];return(new T.c).set(t,{opacity:0,scale:.3}).add("play").to(t,.4,{opacity:1,scale:1},"play").to(e,.2,{opacity:1},"play+=0.1"),this},rt=function t(){var e=this;this.$evaluationHide.off("click",t);var n=this.$evaluation[0],i=this.$evaluationText[0];(new T.c).add("play").to(i,.2,{opacity:0},"play").to(n,.4,{opacity:0,scale:.3},"play+=0.1").add((function(){e.$evaluation.remove()}))},ot=function(){_.a.unregisterJQEvent("click","#endscreen-social-evaluation-wrapper",it),_.a.unregisterJQEvent("click",".endscreen-pdf-export",K),_.a.unregisterJQEvent("click","#endscreen-quiz-repeat",J),_.a.unregisterJQEvent("click","#endscreen-quiz-show-all",tt)},at=function(){_.a.registerJQEvent("click","#endscreen-social-evaluation-wrapper",it.bind(this)),_.a.registerJQEvent("click",".endscreen-pdf-export",K.bind(this)),_.a.registerJQEvent("click","#endscreen-quiz-repeat",J.bind(this)),_.a.registerJQEvent("click","#endscreen-quiz-show-all",tt.bind(this))},st=function(){if(this.pdf.loaded=!1,this.progressInstance=d.a.get("progressChartInstance"),this.userInstance=d.a.get("userInstance"),this.questions=d.a.get("questions"),this.quizTitle=d.a.get("title"),this.points=this.userInstance.getPoints(),this.maxPoints=this.userInstance.getMaxPoints(),this.answeredQuestions=this.userInstance.getAnsweredQuestions(),w.a.$quizTaskContent.css("opacity",0).html(G.call(this)),d.a.get("enableSocialShare")){var t='Ich habe beim Quiz "'.concat(this.quizTitle,'" ').concat(this.points," von ").concat(this.maxPoints," Punkten erhalten!"),e=d.a.get("socialPostText");e&&(t+=" ".concat(e)),this.socialShare=new b(".endscreen-share",{text:t})}return Q.call(this),at.call(this),Z.call(this),V.init(),V.fadeIn(Z.bind(this)),this},lt={init:function(){this.pdf={loaded:!1,image:null,base64Image:null,doc:null},_.a.on("questionScreenFinished",st.bind(this))}},ct=lt,ut=globalThis.window,ht=globalThis.parseInt,ft=function(){var t;t=d.a.get("title"),w.a.$quizHeaderTitle.text(t),w.a.$quizFrontpageTitle.html("<h2>".concat(t,"</h2><p>").concat(d.a.get("subTitle"),"</p>")),new b(".footerShare",{text:'Teste auch du dein Wissen zum Thema "'.concat(t,'"')}),d.a.set("userInstance",(new f).setName("Kevin Justin Alexander")),w.a.$quizHeaderName.html("Kevin Justin Alexander")},dt=function(){ut.parent.postMessage("closeQuiz","*")},pt=function(){s.a.init(),ft(),x.a.init(),D.a.init(),ct.init(),_.a.registerJQEvent("click","#quiz-header-close-frame",dt.bind(this));var t=d.a.get("questions"),e=r.a.extend(!0,[],t);if(d.a.set("defaultQuestions",t),o.a.has("step"))D.a.initQuestionPageHandler(ht(o.a.get("step"),10));else{a.a(e);var n=d.a.get("maxQuestions");n=(n=n<5?5:n)>30?30:n,e.length>n&&(e=e.slice(0,n)),d.a.set("questions",e),N.init()}};(function(){"file:"===ut.location.protocol?d.a.load("./config.json",pt):o.a.has("path")&&d.a.load(ut.decodeURI(o.a.get("path")),pt)})()}]);