UNPKG

294 kBJavaScriptView Raw
1(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("vue")):"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["amoe-butterworth-widgets"]=e(require("vue")):t["amoe-butterworth-widgets"]=e(t["Vue"])})("undefined"!==typeof self?self:this,function(t){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},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="fae3")}({"0811":function(t,e,n){"use strict";var r=n("2a2e"),i=n.n(r);i.a},"1b1f":function(t,e,n){"use strict";var r=n("52bf"),i=n.n(r);i.a},"1d77":function(t,e,n){"use strict";var r=n("bdc0"),i=n.n(r);i.a},"1f6c":function(t,e,n){"use strict";var r=n("a10e"),i=n.n(r);i.a},"2a2e":function(t,e,n){},"2e20":function(t,e,n){"use strict";(function(t,r){n.d(e,"c",function(){return i}),n.d(e,"e",function(){return a}),n.d(e,"d",function(){return o}),n.d(e,"b",function(){return c}),n.d(e,"a",function(){return l});
2/*!
3 * VERSION: 2.0.2
4 * DATE: 2018-08-27
5 * UPDATES AND DOCS AT: http://greensock.com
6 *
7 * @license Copyright (c) 2008-2018, GreenSock. All rights reserved.
8 * This work is subject to the terms at http://greensock.com/standard-license or for
9 * Club GreenSock members, the software agreement that was issued with your membership.
10 *
11 * @author: Jack Doyle, jack@greensock.com
12 */
13var i="undefined"!==typeof window?window:t.exports&&"undefined"!==typeof r?r:{},o=function(t,e){var n={},r=t.document,i=t.GreenSockGlobals=t.GreenSockGlobals||t;if(i.TweenLite)return i.TweenLite;var o,a,s,c,l,f=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},u=f("com.greensock"),d=1e-10,h=function(t){var e,n=[],r=t.length;for(e=0;e!==r;n.push(t[e++]));return n},p=function(){},g=function(){var t=Object.prototype.toString,e=t.call([]);return function(n){return null!=n&&(n instanceof Array||"object"===typeof n&&!!n.push&&t.call(n)===e)}}(),v={},b=function(t,e,r,o){this.sc=v[t]?v[t].sc:[],v[t]=this,this.gsClass=null,this.func=r;var a=[];this.check=function(s){var c,l,u,d,h=e.length,p=h;while(--h>-1)(c=v[e[h]]||new b(e[h],[])).gsClass?(a[h]=c.gsClass,p--):s&&c.sc.push(this);if(0===p&&r)for(l=("com.greensock."+t).split("."),u=l.pop(),d=f(l.join("."))[u]=this.gsClass=r.apply(r,a),o&&(i[u]=n[u]=d),h=0;h<this.sc.length;h++)this.sc[h].check()},this.check(!0)},m=t._gsDefine=function(t,e,n,r){return new b(t,e,n,r)},y=u._class=function(t,e,n){return e=e||function(){},m(t,[],function(){return e},n),e};m.globals=i;var _=[0,0,1,1],w=y("easing.Ease",function(t,e,n,r){this._func=t,this._type=n||0,this._power=r||0,this._params=e?_.concat(e):_},!0),x=w.map={},T=w.register=function(t,e,n,r){var i,o,a,s,c=e.split(","),l=c.length,f=(n||"easeIn,easeOut,easeInOut").split(",");while(--l>-1){o=c[l],i=r?y("easing."+o,null,!0):u.easing[o]||{},a=f.length;while(--a>-1)s=f[a],x[o+"."+s]=x[s+o]=i[s]=t.getRatio?t:t[s]||new t}};s=w.prototype,s._calcEnd=!1,s.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,n=this._power,r=1===e?1-t:2===e?t:t<.5?2*t:2*(1-t);return 1===n?r*=r:2===n?r*=r*r:3===n?r*=r*r*r:4===n&&(r*=r*r*r*r),1===e?1-r:2===e?r:t<.5?r/2:1-r/2},o=["Linear","Quad","Cubic","Quart","Quint,Strong"],a=o.length;while(--a>-1)s=o[a]+",Power"+a,T(new w(null,null,1,a),s,"easeOut",!0),T(new w(null,null,2,a),s,"easeIn"+(0===a?",easeNone":"")),T(new w(null,null,3,a),s,"easeInOut");x.linear=u.easing.Linear.easeIn,x.swing=u.easing.Quad.easeInOut;var S=y("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});s=S.prototype,s.addEventListener=function(t,e,n,r,i){i=i||0;var o,a,s=this._listeners[t],f=0;this!==c||l||c.wake(),null==s&&(this._listeners[t]=s=[]),a=s.length;while(--a>-1)o=s[a],o.c===e&&o.s===n?s.splice(a,1):0===f&&o.pr<i&&(f=a+1);s.splice(f,0,{c:e,s:n,up:r,pr:i})},s.removeEventListener=function(t,e){var n,r=this._listeners[t];if(r){n=r.length;while(--n>-1)if(r[n].c===e)return void r.splice(n,1)}},s.dispatchEvent=function(t){var e,n,r,i=this._listeners[t];if(i){e=i.length,e>1&&(i=i.slice(0)),n=this._eventTarget;while(--e>-1)r=i[e],r&&(r.up?r.c.call(r.s||n,{type:t,target:n}):r.c.call(r.s||n))}};var C=t.requestAnimationFrame,P=t.cancelAnimationFrame,O=Date.now||function(){return(new Date).getTime()},A=O();o=["ms","moz","webkit","o"],a=o.length;while(--a>-1&&!C)C=t[o[a]+"RequestAnimationFrame"],P=t[o[a]+"CancelAnimationFrame"]||t[o[a]+"CancelRequestAnimationFrame"];y("Ticker",function(t,e){var n,i,o,a,s,f=this,u=O(),h=!(!1===e||!C)&&"auto",g=500,v=33,b="tick",m=function(t){var e,r,c=O()-A;c>g&&(u+=c-v),A+=c,f.time=(A-u)/1e3,e=f.time-s,(!n||e>0||!0===t)&&(f.frame++,s+=e+(e>=a?.004:a-e),r=!0),!0!==t&&(o=i(m)),r&&f.dispatchEvent(b)};S.call(f),f.time=f.frame=0,f.tick=function(){m(!0)},f.lagSmoothing=function(t,e){if(!arguments.length)return g<1/d;g=t||1/d,v=Math.min(e,g,0)},f.sleep=function(){null!=o&&(h&&P?P(o):clearTimeout(o),i=p,o=null,f===c&&(l=!1))},f.wake=function(t){null!==o?f.sleep():t?u+=-A+(A=O()):f.frame>10&&(A=O()-g+5),i=0===n?p:h&&C?C:function(t){return setTimeout(t,1e3*(s-f.time)+1|0)},f===c&&(l=!0),m(2)},f.fps=function(t){if(!arguments.length)return n;n=t,a=1/(n||60),s=this.time+a,f.wake()},f.useRAF=function(t){if(!arguments.length)return h;f.sleep(),h=t,f.fps(n)},f.fps(t),setTimeout(function(){"auto"===h&&f.frame<5&&"hidden"!==(r||{}).visibilityState&&f.useRAF(!1)},1500)}),s=u.Ticker.prototype=new u.events.EventDispatcher,s.constructor=u.Ticker;var M=y("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=!0===e.immediateRender,this.data=e.data,this._reversed=!0===e.reversed,q){l||c.wake();var n=this.vars.useFrames?G:q;n.add(this,n._time),this.vars.paused&&this.paused(!0)}});c=M.ticker=new u.Ticker,s=M.prototype,s._dirty=s._gc=s._initted=s._paused=!1,s._totalTime=s._time=0,s._rawPrevTime=-1,s._next=s._last=s._onUpdate=s._timeline=s.timeline=null,s._paused=!1;var k=function(){l&&O()-A>2e3&&("hidden"!==(r||{}).visibilityState||!c.lagSmoothing())&&c.wake();var t=setTimeout(k,2e3);t.unref&&t.unref()};k(),s.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},s.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},s.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},s.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},s.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},s.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},s.render=function(t,e,n){},s.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,!this._gc&&this.timeline||this._enabled(!0),this},s.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-7},s._enabled=function(t,e){return l||c.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},s._kill=function(t,e){return this._enabled(!1,!1)},s.kill=function(t,e){return this._kill(t,e),this},s._uncache=function(t){var e=t?this:this.timeline;while(e)e._dirty=!0,e=e.timeline;return this},s._swapSelfInParams=function(t){var e=t.length,n=t.concat();while(--e>-1)"{self}"===t[e]&&(n[e]=this);return n},s._callback=function(t){var e=this.vars,n=e[t],r=e[t+"Params"],i=e[t+"Scope"]||e.callbackScope||this,o=r?r.length:0;switch(o){case 0:n.call(i);break;case 1:n.call(i,r[0]);break;case 2:n.call(i,r[0],r[1]);break;default:n.apply(i,r)}},s.eventCallback=function(t,e,n,r){if("on"===(t||"").substr(0,2)){var i=this.vars;if(1===arguments.length)return i[t];null==e?delete i[t]:(i[t]=e,i[t+"Params"]=g(n)&&-1!==n.join("").indexOf("{self}")?this._swapSelfInParams(n):n,i[t+"Scope"]=r),"onUpdate"===t&&(this._onUpdate=e)}return this},s.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},s.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)},s.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},s.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time},s.totalTime=function(t,e,n){if(l||c.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!n&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var r=this._totalDuration,i=this._timeline;if(t>r&&!n&&(t=r),this._startTime=(this._paused?this._pauseTime:i._time)-(this._reversed?r-t:t)/this._timeScale,i._dirty||this._uncache(!1),i._timeline)while(i._timeline)i._timeline._time!==(i._startTime+i._totalTime)/i._timeScale&&i.totalTime(i._totalTime,!0),i=i._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===t&&0!==this._duration||(N.length&&K(),this.render(t,e,!1),N.length&&K())}return this},s.progress=s.totalProgress=function(t,e){var n=this.duration();return arguments.length?this.totalTime(n*t,e):n?this._time/n:this.ratio},s.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},s.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},s.timeScale=function(t){if(!arguments.length)return this._timeScale;var e,n;t=t||d,this._timeline&&this._timeline.smoothChildTiming&&(e=this._pauseTime,n=e||0===e?e:this._timeline.totalTime(),this._startTime=n-(n-this._startTime)*this._timeScale/t),this._timeScale=t,n=this.timeline;while(n&&n.timeline)n._dirty=!0,n.totalDuration(),n=n.timeline;return this},s.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},s.paused=function(t){if(!arguments.length)return this._paused;var e,n,r=this._timeline;return t!=this._paused&&r&&(l||t||c.wake(),e=r.rawTime(),n=e-this._pauseTime,!t&&r.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=r.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var E=y("core.SimpleTimeline",function(t){M.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});s=E.prototype=new M,s.constructor=E,s.kill()._gc=!1,s._first=s._last=s._recent=null,s._sortChildren=!1,s.add=s.insert=function(t,e,n,r){var i,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),i=this._last,this._sortChildren){o=t._startTime;while(i&&i._startTime>o)i=i._prev}return i?(t._next=i._next,i._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=i,this._recent=t,this._timeline&&this._uncache(!0),this},s._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},s.render=function(t,e,n){var r,i=this._first;this._totalTime=this._time=this._rawPrevTime=t;while(i)r=i._next,(i._active||t>=i._startTime&&!i._paused&&!i._gc)&&(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=r},s.rawTime=function(){return l||c.wake(),this._totalTime};var R=y("TweenLite",function(e,n,r){if(M.call(this,n,r),this.render=R.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!==typeof e?e:R.selector(e)||e;var i,o,a,s=e.jquery||e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType),c=this.vars.overwrite;if(this._overwrite=c=null==c?$[R.defaultOverwrite]:"number"===typeof c?c>>0:$[c],(s||e instanceof Array||e.push&&g(e))&&"number"!==typeof e[0])for(this._targets=a=h(e),this._propLookup=[],this._siblings=[],i=0;i<a.length;i++)o=a[i],o?"string"!==typeof o?o.length&&o!==t&&o[0]&&(o[0]===t||o[0].nodeType&&o[0].style&&!o.nodeType)?(a.splice(i--,1),this._targets=a=a.concat(h(o))):(this._siblings[i]=Q(o,this,!1),1===c&&this._siblings[i].length>1&&tt(o,this,null,1,this._siblings[i])):(o=a[i--]=R.selector(o),"string"===typeof o&&a.splice(i+1,1)):a.splice(i--,1);else this._propLookup={},this._siblings=Q(e,this,!1),1===c&&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=-d,this.render(Math.min(0,-this._delay)))},!0),L=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)},D=function(t,e){var n,r={};for(n in t)V[n]||n in e&&"transform"!==n&&"x"!==n&&"y"!==n&&"width"!==n&&"height"!==n&&"className"!==n&&"border"!==n||!(!U[n]||U[n]&&U[n]._autoCSS)||(r[n]=t[n],delete t[n]);t.css=r};s=R.prototype=new M,s.constructor=R,s.kill()._gc=!1,s.ratio=0,s._firstPT=s._targets=s._overwrittenProps=s._startAt=null,s._notifyPluginsOfEnabled=s._lazy=!1,R.version="2.0.2",R.defaultEase=s._ease=new w(null,null,1,1),R.defaultOverwrite="auto",R.ticker=c,R.autoSleep=120,R.lagSmoothing=function(t,e){c.lagSmoothing(t,e)},R.selector=t.$||t.jQuery||function(e){var n=t.$||t.jQuery;return n?(R.selector=n,n(e)):(r||(r=t.document),r?r.querySelectorAll?r.querySelectorAll(e):r.getElementById("#"===e.charAt(0)?e.substr(1):e):e)};var N=[],I={},W=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,X=/[\+-]=-?[\.\d]/,Y=function(t){var e,n=this._firstPT,r=1e-6;while(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<r&&e>-r&&!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},F=function(t,e,n,r){var i,o,a,s,c,l,f,u=[],d=0,h="",p=0;for(u.start=t,u.end=e,t=u[0]=t+"",e=u[1]=e+"",n&&(n(u),t=u[0],e=u[1]),u.length=0,i=t.match(W)||[],o=e.match(W)||[],r&&(r._next=null,r.blob=1,u._firstPT=u._applyPT=r),c=o.length,s=0;s<c;s++)f=o[s],l=e.substr(d,e.indexOf(f,d)-d),h+=l||!s?l:",",d+=l.length,p?p=(p+1)%5:"rgba("===l.substr(-5)&&(p=1),f===i[s]||i.length<=s?h+=f:(h&&(u.push(h),h=""),a=parseFloat(i[s]),u.push(a),u._firstPT={_next:u._firstPT,t:u,p:u.length-1,s:a,c:("="===f.charAt(1)?parseInt(f.charAt(0)+"1",10)*parseFloat(f.substr(2)):parseFloat(f)-a)||0,f:0,m:p&&p<4?Math.round:0}),d+=f.length;return h+=e.substr(d),h&&u.push(h),u.setRatio=Y,X.test(e)&&(u.end=null),u},j=function(t,e,n,r,i,o,a,s,c){"function"===typeof r&&(r=r(c||0,t));var l,f=typeof t[e],u="function"!==f?"":e.indexOf("set")||"function"!==typeof t["get"+e.substr(3)]?e:"get"+e.substr(3),d="get"!==n?n:u?a?t[u](a):t[u]():t[e],h="string"===typeof r&&"="===r.charAt(1),p={t:t,p:e,s:d,f:"function"===f,pg:0,n:i||e,m:o?"function"===typeof o?o:Math.round:0,pr:0,c:h?parseInt(r.charAt(0)+"1",10)*parseFloat(r.substr(2)):parseFloat(r)-d||0};if(("number"!==typeof d||"number"!==typeof r&&!h)&&(a||isNaN(d)||!h&&isNaN(r)||"boolean"===typeof d||"boolean"===typeof r?(p.fp=a,l=F(d,h?parseFloat(p.s)+p.c+(p.s+"").replace(/[0-9\-\.]/g,""):r,s||R.defaultStringFilter,p),p={t:l,p:"setRatio",s:0,c:1,f:2,pg:0,n:i||e,pr:0,m:0}):(p.s=parseFloat(d),h||(p.c=parseFloat(r)-p.s||0))),p.c)return(p._next=this._firstPT)&&(p._next._prev=p),this._firstPT=p,p},B=R._internals={isArray:g,isSelector:L,lazyTweens:N,blobDif:F},U=R._plugins={},H=B.tweenLookup={},z=0,V=B.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},$={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},G=M._rootFramesTimeline=new E,q=M._rootTimeline=new E,Z=30,K=B.lazyRender=function(){var t,e=N.length;I={};while(--e>-1)t=N[e],t&&!1!==t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0),t._lazy=!1);N.length=0};q._startTime=c.time,G._startTime=c.frame,q._active=G._active=!0,setTimeout(K,1),M._updateRoot=R.render=function(){var t,e,n;if(N.length&&K(),q.render((c.time-q._startTime)*q._timeScale,!1,!1),G.render((c.frame-G._startTime)*G._timeScale,!1,!1),N.length&&K(),c.frame>=Z){for(n in Z=c.frame+(parseInt(R.autoSleep,10)||120),H){e=H[n].tweens,t=e.length;while(--t>-1)e[t]._gc&&e.splice(t,1);0===e.length&&delete H[n]}if(n=q._first,(!n||n._paused)&&R.autoSleep&&!G._first&&1===c._listeners.tick.length){while(n&&n._paused)n=n._next;n||c.sleep()}}},c.addEventListener("tick",M._updateRoot);var Q=function(t,e,n){var r,i,o=t._gsTweenID;if(H[o||(t._gsTweenID=o="t"+z++)]||(H[o]={target:t,tweens:[]}),e&&(r=H[o].tweens,r[i=r.length]=e,n))while(--i>-1)r[i]===e&&r.splice(i,1);return H[o].tweens},J=function(t,e,n,r){var i,o,a=t.vars.onOverwrite;return a&&(i=a(t,e,n,r)),a=R.onOverwrite,a&&(o=a(t,e,n,r)),!1!==i&&!1!==o},tt=function(t,e,n,r,i){var o,a,s,c;if(1===r||r>=4){for(c=i.length,o=0;o<c;o++)if((s=i[o])!==e)s._gc||s._kill(null,t,e)&&(a=!0);else if(5===r)break;return a}var l,f=e._startTime+d,u=[],h=0,p=0===e._duration;o=i.length;while(--o>-1)(s=i[o])===e||s._gc||s._paused||(s._timeline!==e._timeline?(l=l||et(e,0,p),0===et(s,l,p)&&(u[h++]=s)):s._startTime<=f&&s._startTime+s.totalDuration()/s._timeScale>f&&((p||!s._initted)&&f-s._startTime<=2e-10||(u[h++]=s)));o=h;while(--o>-1)if(s=u[o],c=s._firstPT,2===r&&s._kill(n,t,e)&&(a=!0),2!==r||!s._firstPT&&s._initted&&c){if(2!==r&&!J(s,e))continue;s._enabled(!1,!1)&&(a=!0)}return a},et=function(t,e,n){var r=t._timeline,i=r._timeScale,o=t._startTime;while(r._timeline){if(o+=r._startTime,i*=r._timeScale,r._paused)return-100;r=r._timeline}return o/=i,o>e?o-e:n&&o===e||!t._initted&&o-e<2*d?d:(o+=t.totalDuration()/t._timeScale/i)>e+d?0:o-e-d};s._init=function(){var t,e,n,r,i,o,a=this.vars,s=this._overwrittenProps,c=this._duration,l=!!a.immediateRender,f=a.ease;if(a.startAt){for(r in this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),i={},a.startAt)i[r]=a.startAt[r];if(i.data="isStart",i.overwrite=!1,i.immediateRender=!0,i.lazy=l&&!1!==a.lazy,i.startAt=i.delay=null,i.onUpdate=a.onUpdate,i.onUpdateParams=a.onUpdateParams,i.onUpdateScope=a.onUpdateScope||a.callbackScope||this,this._startAt=R.to(this.target||{},0,i),l)if(this._time>0)this._startAt=null;else if(0!==c)return}else if(a.runBackwards&&0!==c)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{for(r in 0!==this._time&&(l=!1),n={},a)V[r]&&"autoCSS"!==r||(n[r]=a[r]);if(n.overwrite=0,n.data="isFromStart",n.lazy=l&&!1!==a.lazy,n.immediateRender=l,this._startAt=R.to(this.target,0,n),l){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=f=f?f instanceof w?f:"function"===typeof f?new w(f,a.easeParams):x[f]||R.defaultEase:R.defaultEase,a.easeParams instanceof Array&&f.config&&(this._ease=f.config.apply(f,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&&R._onPluginEvent("_onInitAllProps",this),s&&(this._firstPT||"function"!==typeof this.target&&this._enabled(!1,!1)),a.runBackwards){n=this._firstPT;while(n)n.s+=n.c,n.c=-n.c,n=n._next}this._onUpdate=a.onUpdate,this._initted=!0},s._initProps=function(e,n,r,i,o){var a,s,c,l,f,u;if(null==e)return!1;for(a in I[e._gsTweenID]&&K(),this.vars.css||e.style&&e!==t&&e.nodeType&&U.css&&!1!==this.vars.autoCSS&&D(this.vars,e),this.vars)if(u=this.vars[a],V[a])u&&(u instanceof Array||u.push&&g(u))&&-1!==u.join("").indexOf("{self}")&&(this.vars[a]=u=this._swapSelfInParams(u,this));else if(U[a]&&(l=new U[a])._onInitTween(e,this.vars[a],this,o)){this._firstPT=f={_next:this._firstPT,t:l,p:"setRatio",s:0,c:1,f:1,n:a,pg:1,pr:l._priority,m:0},s=l._overwriteProps.length;while(--s>-1)n[l._overwriteProps[s]]=this._firstPT;(l._priority||l._onInitAllProps)&&(c=!0),(l._onDisable||l._onEnable)&&(this._notifyPluginsOfEnabled=!0),f._next&&(f._next._prev=f)}else n[a]=j.call(this,e,a,"get",u,a,0,null,this.vars.stringFilter,o);return i&&this._kill(i,e)?this._initProps(e,n,r,i,o):this._overwrite>1&&this._firstPT&&r.length>1&&tt(e,this,n,this._overwrite,r)?(this._kill(n,e),this._initProps(e,n,r,i,o)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(I[e._gsTweenID]=!0),c)},s.render=function(t,e,n){var r,i,o,a,s=this._time,c=this._duration,l=this._rawPrevTime;if(t>=c-1e-7&&t>=0)this._totalTime=this._time=c,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(r=!0,i="onComplete",n=n||this._timeline.autoRemoveChildren),0===c&&(this._initted||!this.vars.lazy||n)&&(this._startTime===this._timeline._duration&&(t=0),(l<0||t<=0&&t>=-1e-7||l===d&&"isPause"!==this.data)&&l!==t&&(n=!0,l>d&&(i="onReverseComplete")),this._rawPrevTime=a=!e||t||l===t?t:d);else if(t<1e-7)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==s||0===c&&l>0)&&(i="onReverseComplete",r=this._reversed),t<0&&(this._active=!1,0===c&&(this._initted||!this.vars.lazy||n)&&(l>=0&&(l!==d||"isPause"!==this.data)&&(n=!0),this._rawPrevTime=a=!e||t||l===t?t:d)),(!this._initted||this._startAt&&this._startAt.progress())&&(n=!0);else if(this._totalTime=this._time=t,this._easeType){var f=t/c,u=this._easeType,h=this._easePower;(1===u||3===u&&f>=.5)&&(f=1-f),3===u&&(f*=2),1===h?f*=f:2===h?f*=f*f:3===h?f*=f*f*f:4===h&&(f*=f*f*f*f),this.ratio=1===u?1-f:2===u?f:t/c<.5?f/2:1-f/2}else this.ratio=this._ease.getRatio(t/c);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=l,N.push(this),void(this._lazy=[t,e]);this._time&&!r?this.ratio=this._ease.getRatio(this._time/c):r&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}!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):i||(i="_dummyGS")),this.vars.onStart&&(0===this._time&&0!==c||e||this._callback("onStart"))),o=this._firstPT;while(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||r||n)&&this._callback("onUpdate")),i&&(this._gc&&!n||(t<0&&this._startAt&&!this._onUpdate&&-1e-4!==t&&this._startAt.render(t,!0,n),r&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[i]&&this._callback(i),0===c&&this._rawPrevTime===d&&a!==d&&(this._rawPrevTime=0)))}},s._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:R.selector(e)||e;var r,i,o,a,s,c,l,f,u,d=n&&this._time&&n._startTime===this._startTime&&this._timeline===n._timeline,h=this._firstPT;if((g(e)||L(e))&&"number"!==typeof e[0]){r=e.length;while(--r>-1)this._kill(t,e[r],n)&&(c=!0)}else{if(this._targets){r=this._targets.length;while(--r>-1)if(e===this._targets[r]){s=this._propLookup[r]||{},this._overwrittenProps=this._overwrittenProps||[],i=this._overwrittenProps[r]=t?this._overwrittenProps[r]||{}:"all";break}}else{if(e!==this.target)return!1;s=this._propLookup,i=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(s){if(l=t||s,f=t!==i&&"all"!==i&&t!==s&&("object"!==typeof t||!t._tempKill),n&&(R.onOverwrite||this.vars.onOverwrite)){for(o in l)s[o]&&(u||(u=[]),u.push(o));if((u||!t)&&!J(this,n,e,u))return!1}for(o in l)(a=s[o])&&(d&&(a.f?a.t[a.p](a.s):a.t[a.p]=a.s,c=!0),a.pg&&a.t._kill(l)&&(c=!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]),f&&(i[o]=1);!this._firstPT&&this._initted&&h&&this._enabled(!1,!1)}}return c},s.invalidate=function(){return this._notifyPluginsOfEnabled&&R._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],M.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-d,this.render(Math.min(0,-this._delay))),this},s._enabled=function(t,e){if(l||c.wake(),t&&this._gc){var n,r=this._targets;if(r){n=r.length;while(--n>-1)this._siblings[n]=Q(r[n],this,!0)}else this._siblings=Q(this.target,this,!0)}return M.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&R._onPluginEvent(t?"_onEnable":"_onDisable",this)},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,r){return r.startAt=n,r.immediateRender=0!=r.immediateRender&&0!=n.immediateRender,new R(t,e,r)},R.delayedCall=function(t,e,n,r,i){return new R(e,0,{delay:t,onComplete:e,onCompleteParams:n,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:n,immediateRender:!1,lazy:!1,useFrames:i,overwrite:0})},R.set=function(t,e){return new R(t,0,e)},R.getTweensOf=function(t,e){if(null==t)return[];var n,r,i,o;if(t="string"!==typeof t?t:R.selector(t)||t,(g(t)||L(t))&&"number"!==typeof t[0]){n=t.length,r=[];while(--n>-1)r=r.concat(R.getTweensOf(t[n],e));n=r.length;while(--n>-1){o=r[n],i=n;while(--i>-1)o===r[i]&&r.splice(n,1)}}else if(t._gsTweenID){r=Q(t).concat(),n=r.length;while(--n>-1)(r[n]._gc||e&&!r[n].isActive())&&r.splice(n,1)}return r||[]},R.killTweensOf=R.killDelayedCallsTo=function(t,e,n){"object"===typeof e&&(n=e,e=!1);var r=R.getTweensOf(t,e),i=r.length;while(--i>-1)r[i]._kill(n,t)};var nt=y("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=nt.prototype},!0);if(s=nt.prototype,nt.version="1.19.0",nt.API=2,s._firstPT=null,s._addTween=j,s.setRatio=Y,s._kill=function(t){var e,n=this._overwriteProps,r=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else{e=n.length;while(--e>-1)null!=t[n[e]]&&n.splice(e,1)}while(r)null!=t[r.n]&&(r._next&&(r._next._prev=r._prev),r._prev?(r._prev._next=r._next,r._prev=null):this._firstPT===r&&(this._firstPT=r._next)),r=r._next;return!1},s._mod=s._roundProps=function(t){var e,n=this._firstPT;while(n)e=t[this._propName]||null!=n.n&&t[n.n.split(this._propName+"_").join("")],e&&"function"===typeof e&&(2===n.f?n.t._applyPT.m=e:n.m=e),n=n._next},R._onPluginEvent=function(t,e){var n,r,i,o,a,s=e._firstPT;if("_onInitAllProps"===t){while(s){a=s._next,r=i;while(r&&r.pr>s.pr)r=r._next;(s._prev=r?r._prev:o)?s._prev._next=s:i=s,(s._next=r)?r._prev=s:o=s,s=a}s=e._firstPT=i}while(s)s.pg&&"function"===typeof s.t[t]&&s.t[t]()&&(n=!0),s=s._next;return n},nt.activate=function(t){var e=t.length;while(--e>-1)t[e].API===nt.API&&(U[(new t[e])._propName]=t[e]);return!0},m.plugin=function(t){if(!t||!t.propName||!t.init||!t.API)throw"illegal plugin definition.";var e,n=t.propName,r=t.priority||0,i=t.overwriteProps,o={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},a=y("plugins."+n.charAt(0).toUpperCase()+n.substr(1)+"Plugin",function(){nt.call(this,n,r),this._overwriteProps=i||[]},!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},o=t._gsQueue,o){for(a=0;a<o.length;a++)o[a]();for(s in v)v[s].func||t.console.log("GSAP encountered missing dependency: "+s)}return l=!1,R}(i),a=i.GreenSockGlobals,s=a.com.greensock,c=(s.core.SimpleTimeline,s.core.Animation,a.Ease,a.Linear,a.Power1,a.Power2,a.Power3,a.Power4,a.TweenPlugin),l=s.events.EventDispatcher}).call(this,n("dd40")(t),n("c8ba"))},"2ef0":function(t,e,n){(function(t,r){var i;
14/**
15 * @license
16 * Lodash <https://lodash.com/>
17 * Copyright JS Foundation and other contributors <https://js.foundation/>
18 * Released under MIT license <https://lodash.com/license>
19 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
20 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
21 */(function(){var o,a="4.17.11",s=200,c="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",f="__lodash_hash_undefined__",u=500,d="__lodash_placeholder__",h=1,p=2,g=4,v=1,b=2,m=1,y=2,_=4,w=8,x=16,T=32,S=64,C=128,P=256,O=512,A=30,M="...",k=800,E=16,R=1,L=2,D=3,N=1/0,I=9007199254740991,W=1.7976931348623157e308,X=NaN,Y=4294967295,F=Y-1,j=Y>>>1,B=[["ary",C],["bind",m],["bindKey",y],["curry",w],["curryRight",x],["flip",O],["partial",T],["partialRight",S],["rearg",P]],U="[object Arguments]",H="[object Array]",z="[object AsyncFunction]",V="[object Boolean]",$="[object Date]",G="[object DOMException]",q="[object Error]",Z="[object Function]",K="[object GeneratorFunction]",Q="[object Map]",J="[object Number]",tt="[object Null]",et="[object Object]",nt="[object Promise]",rt="[object Proxy]",it="[object RegExp]",ot="[object Set]",at="[object String]",st="[object Symbol]",ct="[object Undefined]",lt="[object WeakMap]",ft="[object WeakSet]",ut="[object ArrayBuffer]",dt="[object DataView]",ht="[object Float32Array]",pt="[object Float64Array]",gt="[object Int8Array]",vt="[object Int16Array]",bt="[object Int32Array]",mt="[object Uint8Array]",yt="[object Uint8ClampedArray]",_t="[object Uint16Array]",wt="[object Uint32Array]",xt=/\b__p \+= '';/g,Tt=/\b(__p \+=) '' \+/g,St=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ct=/&(?:amp|lt|gt|quot|#39);/g,Pt=/[&<>"']/g,Ot=RegExp(Ct.source),At=RegExp(Pt.source),Mt=/<%-([\s\S]+?)%>/g,kt=/<%([\s\S]+?)%>/g,Et=/<%=([\s\S]+?)%>/g,Rt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Lt=/^\w*$/,Dt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Nt=/[\\^$.*+?()[\]{}|]/g,It=RegExp(Nt.source),Wt=/^\s+|\s+$/g,Xt=/^\s+/,Yt=/\s+$/,Ft=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,jt=/\{\n\/\* \[wrapped with (.+)\] \*/,Bt=/,? & /,Ut=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ht=/\\(\\)?/g,zt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Vt=/\w*$/,$t=/^[-+]0x[0-9a-f]+$/i,Gt=/^0b[01]+$/i,qt=/^\[object .+?Constructor\]$/,Zt=/^0o[0-7]+$/i,Kt=/^(?:0|[1-9]\d*)$/,Qt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Jt=/($^)/,te=/['\n\r\u2028\u2029\\]/g,ee="\\ud800-\\udfff",ne="\\u0300-\\u036f",re="\\ufe20-\\ufe2f",ie="\\u20d0-\\u20ff",oe=ne+re+ie,ae="\\u2700-\\u27bf",se="a-z\\xdf-\\xf6\\xf8-\\xff",ce="\\xac\\xb1\\xd7\\xf7",le="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",fe="\\u2000-\\u206f",ue=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",de="A-Z\\xc0-\\xd6\\xd8-\\xde",he="\\ufe0e\\ufe0f",pe=ce+le+fe+ue,ge="['’]",ve="["+ee+"]",be="["+pe+"]",me="["+oe+"]",ye="\\d+",_e="["+ae+"]",we="["+se+"]",xe="[^"+ee+pe+ye+ae+se+de+"]",Te="\\ud83c[\\udffb-\\udfff]",Se="(?:"+me+"|"+Te+")",Ce="[^"+ee+"]",Pe="(?:\\ud83c[\\udde6-\\uddff]){2}",Oe="[\\ud800-\\udbff][\\udc00-\\udfff]",Ae="["+de+"]",Me="\\u200d",ke="(?:"+we+"|"+xe+")",Ee="(?:"+Ae+"|"+xe+")",Re="(?:"+ge+"(?:d|ll|m|re|s|t|ve))?",Le="(?:"+ge+"(?:D|LL|M|RE|S|T|VE))?",De=Se+"?",Ne="["+he+"]?",Ie="(?:"+Me+"(?:"+[Ce,Pe,Oe].join("|")+")"+Ne+De+")*",We="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Xe="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ye=Ne+De+Ie,Fe="(?:"+[_e,Pe,Oe].join("|")+")"+Ye,je="(?:"+[Ce+me+"?",me,Pe,Oe,ve].join("|")+")",Be=RegExp(ge,"g"),Ue=RegExp(me,"g"),He=RegExp(Te+"(?="+Te+")|"+je+Ye,"g"),ze=RegExp([Ae+"?"+we+"+"+Re+"(?="+[be,Ae,"$"].join("|")+")",Ee+"+"+Le+"(?="+[be,Ae+ke,"$"].join("|")+")",Ae+"?"+ke+"+"+Re,Ae+"+"+Le,Xe,We,ye,Fe].join("|"),"g"),Ve=RegExp("["+Me+ee+oe+he+"]"),$e=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ge=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],qe=-1,Ze={};Ze[ht]=Ze[pt]=Ze[gt]=Ze[vt]=Ze[bt]=Ze[mt]=Ze[yt]=Ze[_t]=Ze[wt]=!0,Ze[U]=Ze[H]=Ze[ut]=Ze[V]=Ze[dt]=Ze[$]=Ze[q]=Ze[Z]=Ze[Q]=Ze[J]=Ze[et]=Ze[it]=Ze[ot]=Ze[at]=Ze[lt]=!1;var Ke={};Ke[U]=Ke[H]=Ke[ut]=Ke[dt]=Ke[V]=Ke[$]=Ke[ht]=Ke[pt]=Ke[gt]=Ke[vt]=Ke[bt]=Ke[Q]=Ke[J]=Ke[et]=Ke[it]=Ke[ot]=Ke[at]=Ke[st]=Ke[mt]=Ke[yt]=Ke[_t]=Ke[wt]=!0,Ke[q]=Ke[Z]=Ke[lt]=!1;var Qe={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},Je={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},tn={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},en={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},nn=parseFloat,rn=parseInt,on="object"==typeof t&&t&&t.Object===Object&&t,an="object"==typeof self&&self&&self.Object===Object&&self,sn=on||an||Function("return this")(),cn=e&&!e.nodeType&&e,ln=cn&&"object"==typeof r&&r&&!r.nodeType&&r,fn=ln&&ln.exports===cn,un=fn&&on.process,dn=function(){try{var t=ln&&ln.require&&ln.require("util").types;return t||un&&un.binding&&un.binding("util")}catch(e){}}(),hn=dn&&dn.isArrayBuffer,pn=dn&&dn.isDate,gn=dn&&dn.isMap,vn=dn&&dn.isRegExp,bn=dn&&dn.isSet,mn=dn&&dn.isTypedArray;function yn(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function _n(t,e,n,r){var i=-1,o=null==t?0:t.length;while(++i<o){var a=t[i];e(r,a,n(a),t)}return r}function wn(t,e){var n=-1,r=null==t?0:t.length;while(++n<r)if(!1===e(t[n],n,t))break;return t}function xn(t,e){var n=null==t?0:t.length;while(n--)if(!1===e(t[n],n,t))break;return t}function Tn(t,e){var n=-1,r=null==t?0:t.length;while(++n<r)if(!e(t[n],n,t))return!1;return!0}function Sn(t,e){var n=-1,r=null==t?0:t.length,i=0,o=[];while(++n<r){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o}function Cn(t,e){var n=null==t?0:t.length;return!!n&&Wn(t,e,0)>-1}function Pn(t,e,n){var r=-1,i=null==t?0:t.length;while(++r<i)if(n(e,t[r]))return!0;return!1}function On(t,e){var n=-1,r=null==t?0:t.length,i=Array(r);while(++n<r)i[n]=e(t[n],n,t);return i}function An(t,e){var n=-1,r=e.length,i=t.length;while(++n<r)t[i+n]=e[n];return t}function Mn(t,e,n,r){var i=-1,o=null==t?0:t.length;r&&o&&(n=t[++i]);while(++i<o)n=e(n,t[i],i,t);return n}function kn(t,e,n,r){var i=null==t?0:t.length;r&&i&&(n=t[--i]);while(i--)n=e(n,t[i],i,t);return n}function En(t,e){var n=-1,r=null==t?0:t.length;while(++n<r)if(e(t[n],n,t))return!0;return!1}var Rn=jn("length");function Ln(t){return t.split("")}function Dn(t){return t.match(Ut)||[]}function Nn(t,e,n){var r;return n(t,function(t,n,i){if(e(t,n,i))return r=n,!1}),r}function In(t,e,n,r){var i=t.length,o=n+(r?1:-1);while(r?o--:++o<i)if(e(t[o],o,t))return o;return-1}function Wn(t,e,n){return e===e?dr(t,e,n):In(t,Yn,n)}function Xn(t,e,n,r){var i=n-1,o=t.length;while(++i<o)if(r(t[i],e))return i;return-1}function Yn(t){return t!==t}function Fn(t,e){var n=null==t?0:t.length;return n?zn(t,e)/n:X}function jn(t){return function(e){return null==e?o:e[t]}}function Bn(t){return function(e){return null==t?o:t[e]}}function Un(t,e,n,r,i){return i(t,function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)}),n}function Hn(t,e){var n=t.length;t.sort(e);while(n--)t[n]=t[n].value;return t}function zn(t,e){var n,r=-1,i=t.length;while(++r<i){var a=e(t[r]);a!==o&&(n=n===o?a:n+a)}return n}function Vn(t,e){var n=-1,r=Array(t);while(++n<t)r[n]=e(n);return r}function $n(t,e){return On(e,function(e){return[e,t[e]]})}function Gn(t){return function(e){return t(e)}}function qn(t,e){return On(e,function(e){return t[e]})}function Zn(t,e){return t.has(e)}function Kn(t,e){var n=-1,r=t.length;while(++n<r&&Wn(e,t[n],0)>-1);return n}function Qn(t,e){var n=t.length;while(n--&&Wn(e,t[n],0)>-1);return n}function Jn(t,e){var n=t.length,r=0;while(n--)t[n]===e&&++r;return r}var tr=Bn(Qe),er=Bn(Je);function nr(t){return"\\"+en[t]}function rr(t,e){return null==t?o:t[e]}function ir(t){return Ve.test(t)}function or(t){return $e.test(t)}function ar(t){var e,n=[];while(!(e=t.next()).done)n.push(e.value);return n}function sr(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function cr(t,e){return function(n){return t(e(n))}}function lr(t,e){var n=-1,r=t.length,i=0,o=[];while(++n<r){var a=t[n];a!==e&&a!==d||(t[n]=d,o[i++]=n)}return o}function fr(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function ur(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function dr(t,e,n){var r=n-1,i=t.length;while(++r<i)if(t[r]===e)return r;return-1}function hr(t,e,n){var r=n+1;while(r--)if(t[r]===e)return r;return r}function pr(t){return ir(t)?br(t):Rn(t)}function gr(t){return ir(t)?mr(t):Ln(t)}var vr=Bn(tn);function br(t){var e=He.lastIndex=0;while(He.test(t))++e;return e}function mr(t){return t.match(He)||[]}function yr(t){return t.match(ze)||[]}var _r=function t(e){e=null==e?sn:wr.defaults(sn.Object(),e,wr.pick(sn,Ge));var n=e.Array,r=e.Date,i=e.Error,Ut=e.Function,ee=e.Math,ne=e.Object,re=e.RegExp,ie=e.String,oe=e.TypeError,ae=n.prototype,se=Ut.prototype,ce=ne.prototype,le=e["__core-js_shared__"],fe=se.toString,ue=ce.hasOwnProperty,de=0,he=function(){var t=/[^.]+$/.exec(le&&le.keys&&le.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),pe=ce.toString,ge=fe.call(ne),ve=sn._,be=re("^"+fe.call(ue).replace(Nt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),me=fn?e.Buffer:o,ye=e.Symbol,_e=e.Uint8Array,we=me?me.allocUnsafe:o,xe=cr(ne.getPrototypeOf,ne),Te=ne.create,Se=ce.propertyIsEnumerable,Ce=ae.splice,Pe=ye?ye.isConcatSpreadable:o,Oe=ye?ye.iterator:o,Ae=ye?ye.toStringTag:o,Me=function(){try{var t=za(ne,"defineProperty");return t({},"",{}),t}catch(e){}}(),ke=e.clearTimeout!==sn.clearTimeout&&e.clearTimeout,Ee=r&&r.now!==sn.Date.now&&r.now,Re=e.setTimeout!==sn.setTimeout&&e.setTimeout,Le=ee.ceil,De=ee.floor,Ne=ne.getOwnPropertySymbols,Ie=me?me.isBuffer:o,We=e.isFinite,Xe=ae.join,Ye=cr(ne.keys,ne),Fe=ee.max,je=ee.min,He=r.now,ze=e.parseInt,Ve=ee.random,$e=ae.reverse,Qe=za(e,"DataView"),Je=za(e,"Map"),tn=za(e,"Promise"),en=za(e,"Set"),on=za(e,"WeakMap"),an=za(ne,"create"),cn=on&&new on,ln={},un=ks(Qe),dn=ks(Je),Rn=ks(tn),Ln=ks(en),Bn=ks(on),dr=ye?ye.prototype:o,br=dr?dr.valueOf:o,mr=dr?dr.toString:o;function _r(t){if(Sf(t)&&!sf(t)&&!(t instanceof Cr)){if(t instanceof Sr)return t;if(ue.call(t,"__wrapped__"))return Rs(t)}return new Sr(t)}var xr=function(){function t(){}return function(e){if(!Tf(e))return{};if(Te)return Te(e);t.prototype=e;var n=new t;return t.prototype=o,n}}();function Tr(){}function Sr(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=o}function Cr(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Y,this.__views__=[]}function Pr(){var t=new Cr(this.__wrapped__);return t.__actions__=na(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=na(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=na(this.__views__),t}function Or(){if(this.__filtered__){var t=new Cr(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function Ar(){var t=this.__wrapped__.value(),e=this.__dir__,n=sf(t),r=e<0,i=n?t.length:0,o=Za(0,i,this.__views__),a=o.start,s=o.end,c=s-a,l=r?s:a-1,f=this.__iteratees__,u=f.length,d=0,h=je(c,this.__takeCount__);if(!n||!r&&i==c&&h==c)return Wo(t,this.__actions__);var p=[];t:while(c--&&d<h){l+=e;var g=-1,v=t[l];while(++g<u){var b=f[g],m=b.iteratee,y=b.type,_=m(v);if(y==L)v=_;else if(!_){if(y==R)continue t;break t}}p[d++]=v}return p}function Mr(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function kr(){this.__data__=an?an(null):{},this.size=0}function Er(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}function Rr(t){var e=this.__data__;if(an){var n=e[t];return n===f?o:n}return ue.call(e,t)?e[t]:o}function Lr(t){var e=this.__data__;return an?e[t]!==o:ue.call(e,t)}function Dr(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=an&&e===o?f:e,this}function Nr(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function Ir(){this.__data__=[],this.size=0}function Wr(t){var e=this.__data__,n=ci(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():Ce.call(e,n,1),--this.size,!0}function Xr(t){var e=this.__data__,n=ci(e,t);return n<0?o:e[n][1]}function Yr(t){return ci(this.__data__,t)>-1}function Fr(t,e){var n=this.__data__,r=ci(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function jr(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function Br(){this.size=0,this.__data__={hash:new Mr,map:new(Je||Nr),string:new Mr}}function Ur(t){var e=Ua(this,t)["delete"](t);return this.size-=e?1:0,e}function Hr(t){return Ua(this,t).get(t)}function zr(t){return Ua(this,t).has(t)}function Vr(t,e){var n=Ua(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}function $r(t){var e=-1,n=null==t?0:t.length;this.__data__=new jr;while(++e<n)this.add(t[e])}function Gr(t){return this.__data__.set(t,f),this}function qr(t){return this.__data__.has(t)}function Zr(t){var e=this.__data__=new Nr(t);this.size=e.size}function Kr(){this.__data__=new Nr,this.size=0}function Qr(t){var e=this.__data__,n=e["delete"](t);return this.size=e.size,n}function Jr(t){return this.__data__.get(t)}function ti(t){return this.__data__.has(t)}function ei(t,e){var n=this.__data__;if(n instanceof Nr){var r=n.__data__;if(!Je||r.length<s-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new jr(r)}return n.set(t,e),this.size=n.size,this}function ni(t,e){var n=sf(t),r=!n&&af(t),i=!n&&!r&&df(t),o=!n&&!r&&!i&&Yf(t),a=n||r||i||o,s=a?Vn(t.length,ie):[],c=s.length;for(var l in t)!e&&!ue.call(t,l)||a&&("length"==l||i&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||is(l,c))||s.push(l);return s}function ri(t){var e=t.length;return e?t[vo(0,e-1)]:o}function ii(t,e){return Os(na(t),pi(e,0,t.length))}function oi(t){return Os(na(t))}function ai(t,e,n){(n===o||nf(t[e],n))&&(n!==o||e in t)||di(t,e,n)}function si(t,e,n){var r=t[e];ue.call(t,e)&&nf(r,n)&&(n!==o||e in t)||di(t,e,n)}function ci(t,e){var n=t.length;while(n--)if(nf(t[n][0],e))return n;return-1}function li(t,e,n,r){return _i(t,function(t,i,o){e(r,t,n(t),o)}),r}function fi(t,e){return t&&ra(e,wu(e),t)}function ui(t,e){return t&&ra(e,xu(e),t)}function di(t,e,n){"__proto__"==e&&Me?Me(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function hi(t,e){var r=-1,i=e.length,a=n(i),s=null==t;while(++r<i)a[r]=s?o:gu(t,e[r]);return a}function pi(t,e,n){return t===t&&(n!==o&&(t=t<=n?t:n),e!==o&&(t=t>=e?t:e)),t}function gi(t,e,n,r,i,a){var s,c=e&h,l=e&p,f=e&g;if(n&&(s=i?n(t,r,i,a):n(t)),s!==o)return s;if(!Tf(t))return t;var u=sf(t);if(u){if(s=Ja(t),!c)return na(t,s)}else{var d=qa(t),v=d==Z||d==K;if(df(t))return Vo(t,c);if(d==et||d==U||v&&!i){if(s=l||v?{}:ts(t),!c)return l?oa(t,ui(s,t)):ia(t,fi(s,t))}else{if(!Ke[d])return i?t:{};s=es(t,d,c)}}a||(a=new Zr);var b=a.get(t);if(b)return b;if(a.set(t,s),If(t))return t.forEach(function(r){s.add(gi(r,e,n,r,t,a))}),s;if(Cf(t))return t.forEach(function(r,i){s.set(i,gi(r,e,n,i,t,a))}),s;var m=f?l?Xa:Wa:l?xu:wu,y=u?o:m(t);return wn(y||t,function(r,i){y&&(i=r,r=t[i]),si(s,i,gi(r,e,n,i,t,a))}),s}function vi(t){var e=wu(t);return function(n){return bi(n,t,e)}}function bi(t,e,n){var r=n.length;if(null==t)return!r;t=ne(t);while(r--){var i=n[r],a=e[i],s=t[i];if(s===o&&!(i in t)||!a(s))return!1}return!0}function mi(t,e,n){if("function"!=typeof t)throw new oe(l);return Ts(function(){t.apply(o,n)},e)}function yi(t,e,n,r){var i=-1,o=Cn,a=!0,c=t.length,l=[],f=e.length;if(!c)return l;n&&(e=On(e,Gn(n))),r?(o=Pn,a=!1):e.length>=s&&(o=Zn,a=!1,e=new $r(e));t:while(++i<c){var u=t[i],d=null==n?u:n(u);if(u=r||0!==u?u:0,a&&d===d){var h=f;while(h--)if(e[h]===d)continue t;l.push(u)}else o(e,d,r)||l.push(u)}return l}_r.templateSettings={escape:Mt,evaluate:kt,interpolate:Et,variable:"",imports:{_:_r}},_r.prototype=Tr.prototype,_r.prototype.constructor=_r,Sr.prototype=xr(Tr.prototype),Sr.prototype.constructor=Sr,Cr.prototype=xr(Tr.prototype),Cr.prototype.constructor=Cr,Mr.prototype.clear=kr,Mr.prototype["delete"]=Er,Mr.prototype.get=Rr,Mr.prototype.has=Lr,Mr.prototype.set=Dr,Nr.prototype.clear=Ir,Nr.prototype["delete"]=Wr,Nr.prototype.get=Xr,Nr.prototype.has=Yr,Nr.prototype.set=Fr,jr.prototype.clear=Br,jr.prototype["delete"]=Ur,jr.prototype.get=Hr,jr.prototype.has=zr,jr.prototype.set=Vr,$r.prototype.add=$r.prototype.push=Gr,$r.prototype.has=qr,Zr.prototype.clear=Kr,Zr.prototype["delete"]=Qr,Zr.prototype.get=Jr,Zr.prototype.has=ti,Zr.prototype.set=ei;var _i=ca(Mi),wi=ca(ki,!0);function xi(t,e){var n=!0;return _i(t,function(t,r,i){return n=!!e(t,r,i),n}),n}function Ti(t,e,n){var r=-1,i=t.length;while(++r<i){var a=t[r],s=e(a);if(null!=s&&(c===o?s===s&&!Xf(s):n(s,c)))var c=s,l=a}return l}function Si(t,e,n,r){var i=t.length;n=$f(n),n<0&&(n=-n>i?0:i+n),r=r===o||r>i?i:$f(r),r<0&&(r+=i),r=n>r?0:Gf(r);while(n<r)t[n++]=e;return t}function Ci(t,e){var n=[];return _i(t,function(t,r,i){e(t,r,i)&&n.push(t)}),n}function Pi(t,e,n,r,i){var o=-1,a=t.length;n||(n=rs),i||(i=[]);while(++o<a){var s=t[o];e>0&&n(s)?e>1?Pi(s,e-1,n,r,i):An(i,s):r||(i[i.length]=s)}return i}var Oi=la(),Ai=la(!0);function Mi(t,e){return t&&Oi(t,e,wu)}function ki(t,e){return t&&Ai(t,e,wu)}function Ei(t,e){return Sn(e,function(e){return _f(t[e])})}function Ri(t,e){e=Bo(e,t);var n=0,r=e.length;while(null!=t&&n<r)t=t[Ms(e[n++])];return n&&n==r?t:o}function Li(t,e,n){var r=e(t);return sf(t)?r:An(r,n(t))}function Di(t){return null==t?t===o?ct:tt:Ae&&Ae in ne(t)?Va(t):bs(t)}function Ni(t,e){return t>e}function Ii(t,e){return null!=t&&ue.call(t,e)}function Wi(t,e){return null!=t&&e in ne(t)}function Xi(t,e,n){return t>=je(e,n)&&t<Fe(e,n)}function Yi(t,e,r){var i=r?Pn:Cn,a=t[0].length,s=t.length,c=s,l=n(s),f=1/0,u=[];while(c--){var d=t[c];c&&e&&(d=On(d,Gn(e))),f=je(d.length,f),l[c]=!r&&(e||a>=120&&d.length>=120)?new $r(c&&d):o}d=t[0];var h=-1,p=l[0];t:while(++h<a&&u.length<f){var g=d[h],v=e?e(g):g;if(g=r||0!==g?g:0,!(p?Zn(p,v):i(u,v,r))){c=s;while(--c){var b=l[c];if(!(b?Zn(b,v):i(t[c],v,r)))continue t}p&&p.push(v),u.push(g)}}return u}function Fi(t,e,n,r){return Mi(t,function(t,i,o){e(r,n(t),i,o)}),r}function ji(t,e,n){e=Bo(e,t),t=ys(t,e);var r=null==t?t:t[Ms(rc(e))];return null==r?o:yn(r,t,n)}function Bi(t){return Sf(t)&&Di(t)==U}function Ui(t){return Sf(t)&&Di(t)==ut}function Hi(t){return Sf(t)&&Di(t)==$}function zi(t,e,n,r,i){return t===e||(null==t||null==e||!Sf(t)&&!Sf(e)?t!==t&&e!==e:Vi(t,e,n,r,zi,i))}function Vi(t,e,n,r,i,o){var a=sf(t),s=sf(e),c=a?H:qa(t),l=s?H:qa(e);c=c==U?et:c,l=l==U?et:l;var f=c==et,u=l==et,d=c==l;if(d&&df(t)){if(!df(e))return!1;a=!0,f=!1}if(d&&!f)return o||(o=new Zr),a||Yf(t)?La(t,e,n,r,i,o):Da(t,e,c,n,r,i,o);if(!(n&v)){var h=f&&ue.call(t,"__wrapped__"),p=u&&ue.call(e,"__wrapped__");if(h||p){var g=h?t.value():t,b=p?e.value():e;return o||(o=new Zr),i(g,b,n,r,o)}}return!!d&&(o||(o=new Zr),Na(t,e,n,r,i,o))}function $i(t){return Sf(t)&&qa(t)==Q}function Gi(t,e,n,r){var i=n.length,a=i,s=!r;if(null==t)return!a;t=ne(t);while(i--){var c=n[i];if(s&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}while(++i<a){c=n[i];var l=c[0],f=t[l],u=c[1];if(s&&c[2]){if(f===o&&!(l in t))return!1}else{var d=new Zr;if(r)var h=r(f,u,l,t,e,d);if(!(h===o?zi(u,f,v|b,r,d):h))return!1}}return!0}function qi(t){if(!Tf(t)||ls(t))return!1;var e=_f(t)?be:qt;return e.test(ks(t))}function Zi(t){return Sf(t)&&Di(t)==it}function Ki(t){return Sf(t)&&qa(t)==ot}function Qi(t){return Sf(t)&&xf(t.length)&&!!Ze[Di(t)]}function Ji(t){return"function"==typeof t?t:null==t?Md:"object"==typeof t?sf(t)?oo(t[0],t[1]):io(t):Bd(t)}function to(t){if(!us(t))return Ye(t);var e=[];for(var n in ne(t))ue.call(t,n)&&"constructor"!=n&&e.push(n);return e}function eo(t){if(!Tf(t))return vs(t);var e=us(t),n=[];for(var r in t)("constructor"!=r||!e&&ue.call(t,r))&&n.push(r);return n}function no(t,e){return t<e}function ro(t,e){var r=-1,i=lf(t)?n(t.length):[];return _i(t,function(t,n,o){i[++r]=e(t,n,o)}),i}function io(t){var e=Ha(t);return 1==e.length&&e[0][2]?hs(e[0][0],e[0][1]):function(n){return n===t||Gi(n,t,e)}}function oo(t,e){return as(t)&&ds(e)?hs(Ms(t),e):function(n){var r=gu(n,t);return r===o&&r===e?bu(n,t):zi(e,r,v|b)}}function ao(t,e,n,r,i){t!==e&&Oi(e,function(a,s){if(Tf(a))i||(i=new Zr),so(t,e,s,n,ao,r,i);else{var c=r?r(ws(t,s),a,s+"",t,e,i):o;c===o&&(c=a),ai(t,s,c)}},xu)}function so(t,e,n,r,i,a,s){var c=ws(t,n),l=ws(e,n),f=s.get(l);if(f)ai(t,n,f);else{var u=a?a(c,l,n+"",t,e,s):o,d=u===o;if(d){var h=sf(l),p=!h&&df(l),g=!h&&!p&&Yf(l);u=l,h||p||g?sf(c)?u=c:ff(c)?u=na(c):p?(d=!1,u=Vo(l,!0)):g?(d=!1,u=Ko(l,!0)):u=[]:Lf(l)||af(l)?(u=c,af(c)?u=Zf(c):Tf(c)&&!_f(c)||(u=ts(l))):d=!1}d&&(s.set(l,u),i(u,l,r,a,s),s["delete"](l)),ai(t,n,u)}}function co(t,e){var n=t.length;if(n)return e+=e<0?n:0,is(e,n)?t[e]:o}function lo(t,e,n){var r=-1;e=On(e.length?e:[Md],Gn(Ba()));var i=ro(t,function(t,n,i){var o=On(e,function(e){return e(t)});return{criteria:o,index:++r,value:t}});return Hn(i,function(t,e){return Jo(t,e,n)})}function fo(t,e){return uo(t,e,function(e,n){return bu(t,n)})}function uo(t,e,n){var r=-1,i=e.length,o={};while(++r<i){var a=e[r],s=Ri(t,a);n(s,a)&&xo(o,Bo(a,t),s)}return o}function ho(t){return function(e){return Ri(e,t)}}function po(t,e,n,r){var i=r?Xn:Wn,o=-1,a=e.length,s=t;t===e&&(e=na(e)),n&&(s=On(t,Gn(n)));while(++o<a){var c=0,l=e[o],f=n?n(l):l;while((c=i(s,f,c,r))>-1)s!==t&&Ce.call(s,c,1),Ce.call(t,c,1)}return t}function go(t,e){var n=t?e.length:0,r=n-1;while(n--){var i=e[n];if(n==r||i!==o){var o=i;is(i)?Ce.call(t,i,1):Do(t,i)}}return t}function vo(t,e){return t+De(Ve()*(e-t+1))}function bo(t,e,r,i){var o=-1,a=Fe(Le((e-t)/(r||1)),0),s=n(a);while(a--)s[i?a:++o]=t,t+=r;return s}function mo(t,e){var n="";if(!t||e<1||e>I)return n;do{e%2&&(n+=t),e=De(e/2),e&&(t+=t)}while(e);return n}function yo(t,e){return Ss(ms(t,e,Md),t+"")}function _o(t){return ri(Fu(t))}function wo(t,e){var n=Fu(t);return Os(n,pi(e,0,n.length))}function xo(t,e,n,r){if(!Tf(t))return t;e=Bo(e,t);var i=-1,a=e.length,s=a-1,c=t;while(null!=c&&++i<a){var l=Ms(e[i]),f=n;if(i!=s){var u=c[l];f=r?r(u,l,c):o,f===o&&(f=Tf(u)?u:is(e[i+1])?[]:{})}si(c,l,f),c=c[l]}return t}var To=cn?function(t,e){return cn.set(t,e),t}:Md,So=Me?function(t,e){return Me(t,"toString",{configurable:!0,enumerable:!1,value:Cd(e),writable:!0})}:Md;function Co(t){return Os(Fu(t))}function Po(t,e,r){var i=-1,o=t.length;e<0&&(e=-e>o?0:o+e),r=r>o?o:r,r<0&&(r+=o),o=e>r?0:r-e>>>0,e>>>=0;var a=n(o);while(++i<o)a[i]=t[i+e];return a}function Oo(t,e){var n;return _i(t,function(t,r,i){return n=e(t,r,i),!n}),!!n}function Ao(t,e,n){var r=0,i=null==t?r:t.length;if("number"==typeof e&&e===e&&i<=j){while(r<i){var o=r+i>>>1,a=t[o];null!==a&&!Xf(a)&&(n?a<=e:a<e)?r=o+1:i=o}return i}return Mo(t,e,Md,n)}function Mo(t,e,n,r){e=n(e);var i=0,a=null==t?0:t.length,s=e!==e,c=null===e,l=Xf(e),f=e===o;while(i<a){var u=De((i+a)/2),d=n(t[u]),h=d!==o,p=null===d,g=d===d,v=Xf(d);if(s)var b=r||g;else b=f?g&&(r||h):c?g&&h&&(r||!p):l?g&&h&&!p&&(r||!v):!p&&!v&&(r?d<=e:d<e);b?i=u+1:a=u}return je(a,F)}function ko(t,e){var n=-1,r=t.length,i=0,o=[];while(++n<r){var a=t[n],s=e?e(a):a;if(!n||!nf(s,c)){var c=s;o[i++]=0===a?0:a}}return o}function Eo(t){return"number"==typeof t?t:Xf(t)?X:+t}function Ro(t){if("string"==typeof t)return t;if(sf(t))return On(t,Ro)+"";if(Xf(t))return mr?mr.call(t):"";var e=t+"";return"0"==e&&1/t==-N?"-0":e}function Lo(t,e,n){var r=-1,i=Cn,o=t.length,a=!0,c=[],l=c;if(n)a=!1,i=Pn;else if(o>=s){var f=e?null:Oa(t);if(f)return fr(f);a=!1,i=Zn,l=new $r}else l=e?[]:c;t:while(++r<o){var u=t[r],d=e?e(u):u;if(u=n||0!==u?u:0,a&&d===d){var h=l.length;while(h--)if(l[h]===d)continue t;e&&l.push(d),c.push(u)}else i(l,d,n)||(l!==c&&l.push(d),c.push(u))}return c}function Do(t,e){return e=Bo(e,t),t=ys(t,e),null==t||delete t[Ms(rc(e))]}function No(t,e,n,r){return xo(t,e,n(Ri(t,e)),r)}function Io(t,e,n,r){var i=t.length,o=r?i:-1;while((r?o--:++o<i)&&e(t[o],o,t));return n?Po(t,r?0:o,r?o+1:i):Po(t,r?o+1:0,r?i:o)}function Wo(t,e){var n=t;return n instanceof Cr&&(n=n.value()),Mn(e,function(t,e){return e.func.apply(e.thisArg,An([t],e.args))},n)}function Xo(t,e,r){var i=t.length;if(i<2)return i?Lo(t[0]):[];var o=-1,a=n(i);while(++o<i){var s=t[o],c=-1;while(++c<i)c!=o&&(a[o]=yi(a[o]||s,t[c],e,r))}return Lo(Pi(a,1),e,r)}function Yo(t,e,n){var r=-1,i=t.length,a=e.length,s={};while(++r<i){var c=r<a?e[r]:o;n(s,t[r],c)}return s}function Fo(t){return ff(t)?t:[]}function jo(t){return"function"==typeof t?t:Md}function Bo(t,e){return sf(t)?t:as(t,e)?[t]:As(Qf(t))}var Uo=yo;function Ho(t,e,n){var r=t.length;return n=n===o?r:n,!e&&n>=r?t:Po(t,e,n)}var zo=ke||function(t){return sn.clearTimeout(t)};function Vo(t,e){if(e)return t.slice();var n=t.length,r=we?we(n):new t.constructor(n);return t.copy(r),r}function $o(t){var e=new t.constructor(t.byteLength);return new _e(e).set(new _e(t)),e}function Go(t,e){var n=e?$o(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}function qo(t){var e=new t.constructor(t.source,Vt.exec(t));return e.lastIndex=t.lastIndex,e}function Zo(t){return br?ne(br.call(t)):{}}function Ko(t,e){var n=e?$o(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Qo(t,e){if(t!==e){var n=t!==o,r=null===t,i=t===t,a=Xf(t),s=e!==o,c=null===e,l=e===e,f=Xf(e);if(!c&&!f&&!a&&t>e||a&&s&&l&&!c&&!f||r&&s&&l||!n&&l||!i)return 1;if(!r&&!a&&!f&&t<e||f&&n&&i&&!r&&!a||c&&n&&i||!s&&i||!l)return-1}return 0}function Jo(t,e,n){var r=-1,i=t.criteria,o=e.criteria,a=i.length,s=n.length;while(++r<a){var c=Qo(i[r],o[r]);if(c){if(r>=s)return c;var l=n[r];return c*("desc"==l?-1:1)}}return t.index-e.index}function ta(t,e,r,i){var o=-1,a=t.length,s=r.length,c=-1,l=e.length,f=Fe(a-s,0),u=n(l+f),d=!i;while(++c<l)u[c]=e[c];while(++o<s)(d||o<a)&&(u[r[o]]=t[o]);while(f--)u[c++]=t[o++];return u}function ea(t,e,r,i){var o=-1,a=t.length,s=-1,c=r.length,l=-1,f=e.length,u=Fe(a-c,0),d=n(u+f),h=!i;while(++o<u)d[o]=t[o];var p=o;while(++l<f)d[p+l]=e[l];while(++s<c)(h||o<a)&&(d[p+r[s]]=t[o++]);return d}function na(t,e){var r=-1,i=t.length;e||(e=n(i));while(++r<i)e[r]=t[r];return e}function ra(t,e,n,r){var i=!n;n||(n={});var a=-1,s=e.length;while(++a<s){var c=e[a],l=r?r(n[c],t[c],c,n,t):o;l===o&&(l=t[c]),i?di(n,c,l):si(n,c,l)}return n}function ia(t,e){return ra(t,$a(t),e)}function oa(t,e){return ra(t,Ga(t),e)}function aa(t,e){return function(n,r){var i=sf(n)?_n:li,o=e?e():{};return i(n,t,Ba(r,2),o)}}function sa(t){return yo(function(e,n){var r=-1,i=n.length,a=i>1?n[i-1]:o,s=i>2?n[2]:o;a=t.length>3&&"function"==typeof a?(i--,a):o,s&&os(n[0],n[1],s)&&(a=i<3?o:a,i=1),e=ne(e);while(++r<i){var c=n[r];c&&t(e,c,r,a)}return e})}function ca(t,e){return function(n,r){if(null==n)return n;if(!lf(n))return t(n,r);var i=n.length,o=e?i:-1,a=ne(n);while(e?o--:++o<i)if(!1===r(a[o],o,a))break;return n}}function la(t){return function(e,n,r){var i=-1,o=ne(e),a=r(e),s=a.length;while(s--){var c=a[t?s:++i];if(!1===n(o[c],c,o))break}return e}}function fa(t,e,n){var r=e&m,i=ha(t);function o(){var e=this&&this!==sn&&this instanceof o?i:t;return e.apply(r?n:this,arguments)}return o}function ua(t){return function(e){e=Qf(e);var n=ir(e)?gr(e):o,r=n?n[0]:e.charAt(0),i=n?Ho(n,1).join(""):e.slice(1);return r[t]()+i}}function da(t){return function(e){return Mn(_d($u(e).replace(Be,"")),t,"")}}function ha(t){return function(){var e=arguments;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]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=xr(t.prototype),r=t.apply(n,e);return Tf(r)?r:n}}function pa(t,e,r){var i=ha(t);function a(){var s=arguments.length,c=n(s),l=s,f=ja(a);while(l--)c[l]=arguments[l];var u=s<3&&c[0]!==f&&c[s-1]!==f?[]:lr(c,f);if(s-=u.length,s<r)return Ca(t,e,ba,a.placeholder,o,c,u,o,o,r-s);var d=this&&this!==sn&&this instanceof a?i:t;return yn(d,this,c)}return a}function ga(t){return function(e,n,r){var i=ne(e);if(!lf(e)){var a=Ba(n,3);e=wu(e),n=function(t){return a(i[t],t,i)}}var s=t(e,n,r);return s>-1?i[a?e[s]:s]:o}}function va(t){return Ia(function(e){var n=e.length,r=n,i=Sr.prototype.thru;t&&e.reverse();while(r--){var a=e[r];if("function"!=typeof a)throw new oe(l);if(i&&!s&&"wrapper"==Fa(a))var s=new Sr([],!0)}r=s?r:n;while(++r<n){a=e[r];var c=Fa(a),f="wrapper"==c?Ya(a):o;s=f&&cs(f[0])&&f[1]==(C|w|T|P)&&!f[4].length&&1==f[9]?s[Fa(f[0])].apply(s,f[3]):1==a.length&&cs(a)?s[c]():s.thru(a)}return function(){var t=arguments,r=t[0];if(s&&1==t.length&&sf(r))return s.plant(r).value();var i=0,o=n?e[i].apply(this,t):r;while(++i<n)o=e[i].call(this,o);return o}})}function ba(t,e,r,i,a,s,c,l,f,u){var d=e&C,h=e&m,p=e&y,g=e&(w|x),v=e&O,b=p?o:ha(t);function _(){var o=arguments.length,m=n(o),y=o;while(y--)m[y]=arguments[y];if(g)var w=ja(_),x=Jn(m,w);if(i&&(m=ta(m,i,a,g)),s&&(m=ea(m,s,c,g)),o-=x,g&&o<u){var T=lr(m,w);return Ca(t,e,ba,_.placeholder,r,m,T,l,f,u-o)}var S=h?r:this,C=p?S[t]:t;return o=m.length,l?m=_s(m,l):v&&o>1&&m.reverse(),d&&f<o&&(m.length=f),this&&this!==sn&&this instanceof _&&(C=b||ha(C)),C.apply(S,m)}return _}function ma(t,e){return function(n,r){return Fi(n,t,e(r),{})}}function ya(t,e){return function(n,r){var i;if(n===o&&r===o)return e;if(n!==o&&(i=n),r!==o){if(i===o)return r;"string"==typeof n||"string"==typeof r?(n=Ro(n),r=Ro(r)):(n=Eo(n),r=Eo(r)),i=t(n,r)}return i}}function _a(t){return Ia(function(e){return e=On(e,Gn(Ba())),yo(function(n){var r=this;return t(e,function(t){return yn(t,r,n)})})})}function wa(t,e){e=e===o?" ":Ro(e);var n=e.length;if(n<2)return n?mo(e,t):e;var r=mo(e,Le(t/pr(e)));return ir(e)?Ho(gr(r),0,t).join(""):r.slice(0,t)}function xa(t,e,r,i){var o=e&m,a=ha(t);function s(){var e=-1,c=arguments.length,l=-1,f=i.length,u=n(f+c),d=this&&this!==sn&&this instanceof s?a:t;while(++l<f)u[l]=i[l];while(c--)u[l++]=arguments[++e];return yn(d,o?r:this,u)}return s}function Ta(t){return function(e,n,r){return r&&"number"!=typeof r&&os(e,n,r)&&(n=r=o),e=Vf(e),n===o?(n=e,e=0):n=Vf(n),r=r===o?e<n?1:-1:Vf(r),bo(e,n,r,t)}}function Sa(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=qf(e),n=qf(n)),t(e,n)}}function Ca(t,e,n,r,i,a,s,c,l,f){var u=e&w,d=u?s:o,h=u?o:s,p=u?a:o,g=u?o:a;e|=u?T:S,e&=~(u?S:T),e&_||(e&=~(m|y));var v=[t,e,i,p,d,g,h,c,l,f],b=n.apply(o,v);return cs(t)&&xs(b,v),b.placeholder=r,Cs(b,t,e)}function Pa(t){var e=ee[t];return function(t,n){if(t=qf(t),n=null==n?0:je($f(n),292),n){var r=(Qf(t)+"e").split("e"),i=e(r[0]+"e"+(+r[1]+n));return r=(Qf(i)+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return e(t)}}var Oa=en&&1/fr(new en([,-0]))[1]==N?function(t){return new en(t)}:Wd;function Aa(t){return function(e){var n=qa(e);return n==Q?sr(e):n==ot?ur(e):$n(e,t(e))}}function Ma(t,e,n,r,i,a,s,c){var f=e&y;if(!f&&"function"!=typeof t)throw new oe(l);var u=r?r.length:0;if(u||(e&=~(T|S),r=i=o),s=s===o?s:Fe($f(s),0),c=c===o?c:$f(c),u-=i?i.length:0,e&S){var d=r,h=i;r=i=o}var p=f?o:Ya(t),g=[t,e,n,r,i,d,h,a,s,c];if(p&&gs(g,p),t=g[0],e=g[1],n=g[2],r=g[3],i=g[4],c=g[9]=g[9]===o?f?0:t.length:Fe(g[9]-u,0),!c&&e&(w|x)&&(e&=~(w|x)),e&&e!=m)v=e==w||e==x?pa(t,e,c):e!=T&&e!=(m|T)||i.length?ba.apply(o,g):xa(t,e,n,r);else var v=fa(t,e,n);var b=p?To:xs;return Cs(b(v,g),t,e)}function ka(t,e,n,r){return t===o||nf(t,ce[n])&&!ue.call(r,n)?e:t}function Ea(t,e,n,r,i,a){return Tf(t)&&Tf(e)&&(a.set(e,t),ao(t,e,o,Ea,a),a["delete"](e)),t}function Ra(t){return Lf(t)?o:t}function La(t,e,n,r,i,a){var s=n&v,c=t.length,l=e.length;if(c!=l&&!(s&&l>c))return!1;var f=a.get(t);if(f&&a.get(e))return f==e;var u=-1,d=!0,h=n&b?new $r:o;a.set(t,e),a.set(e,t);while(++u<c){var p=t[u],g=e[u];if(r)var m=s?r(g,p,u,e,t,a):r(p,g,u,t,e,a);if(m!==o){if(m)continue;d=!1;break}if(h){if(!En(e,function(t,e){if(!Zn(h,e)&&(p===t||i(p,t,n,r,a)))return h.push(e)})){d=!1;break}}else if(p!==g&&!i(p,g,n,r,a)){d=!1;break}}return a["delete"](t),a["delete"](e),d}function Da(t,e,n,r,i,o,a){switch(n){case dt:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case ut:return!(t.byteLength!=e.byteLength||!o(new _e(t),new _e(e)));case V:case $:case J:return nf(+t,+e);case q:return t.name==e.name&&t.message==e.message;case it:case at:return t==e+"";case Q:var s=sr;case ot:var c=r&v;if(s||(s=fr),t.size!=e.size&&!c)return!1;var l=a.get(t);if(l)return l==e;r|=b,a.set(t,e);var f=La(s(t),s(e),r,i,o,a);return a["delete"](t),f;case st:if(br)return br.call(t)==br.call(e)}return!1}function Na(t,e,n,r,i,a){var s=n&v,c=Wa(t),l=c.length,f=Wa(e),u=f.length;if(l!=u&&!s)return!1;var d=l;while(d--){var h=c[d];if(!(s?h in e:ue.call(e,h)))return!1}var p=a.get(t);if(p&&a.get(e))return p==e;var g=!0;a.set(t,e),a.set(e,t);var b=s;while(++d<l){h=c[d];var m=t[h],y=e[h];if(r)var _=s?r(y,m,h,e,t,a):r(m,y,h,t,e,a);if(!(_===o?m===y||i(m,y,n,r,a):_)){g=!1;break}b||(b="constructor"==h)}if(g&&!b){var w=t.constructor,x=e.constructor;w!=x&&"constructor"in t&&"constructor"in e&&!("function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x)&&(g=!1)}return a["delete"](t),a["delete"](e),g}function Ia(t){return Ss(ms(t,o,Vs),t+"")}function Wa(t){return Li(t,wu,$a)}function Xa(t){return Li(t,xu,Ga)}var Ya=cn?function(t){return cn.get(t)}:Wd;function Fa(t){var e=t.name+"",n=ln[e],r=ue.call(ln,e)?n.length:0;while(r--){var i=n[r],o=i.func;if(null==o||o==t)return i.name}return e}function ja(t){var e=ue.call(_r,"placeholder")?_r:t;return e.placeholder}function Ba(){var t=_r.iteratee||kd;return t=t===kd?Ji:t,arguments.length?t(arguments[0],arguments[1]):t}function Ua(t,e){var n=t.__data__;return ss(e)?n["string"==typeof e?"string":"hash"]:n.map}function Ha(t){var e=wu(t),n=e.length;while(n--){var r=e[n],i=t[r];e[n]=[r,i,ds(i)]}return e}function za(t,e){var n=rr(t,e);return qi(n)?n:o}function Va(t){var e=ue.call(t,Ae),n=t[Ae];try{t[Ae]=o;var r=!0}catch(a){}var i=pe.call(t);return r&&(e?t[Ae]=n:delete t[Ae]),i}var $a=Ne?function(t){return null==t?[]:(t=ne(t),Sn(Ne(t),function(e){return Se.call(t,e)}))}:Vd,Ga=Ne?function(t){var e=[];while(t)An(e,$a(t)),t=xe(t);return e}:Vd,qa=Di;function Za(t,e,n){var r=-1,i=n.length;while(++r<i){var o=n[r],a=o.size;switch(o.type){case"drop":t+=a;break;case"dropRight":e-=a;break;case"take":e=je(e,t+a);break;case"takeRight":t=Fe(t,e-a);break}}return{start:t,end:e}}function Ka(t){var e=t.match(jt);return e?e[1].split(Bt):[]}function Qa(t,e,n){e=Bo(e,t);var r=-1,i=e.length,o=!1;while(++r<i){var a=Ms(e[r]);if(!(o=null!=t&&n(t,a)))break;t=t[a]}return o||++r!=i?o:(i=null==t?0:t.length,!!i&&xf(i)&&is(a,i)&&(sf(t)||af(t)))}function Ja(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&ue.call(t,"index")&&(n.index=t.index,n.input=t.input),n}function ts(t){return"function"!=typeof t.constructor||us(t)?{}:xr(xe(t))}function es(t,e,n){var r=t.constructor;switch(e){case ut:return $o(t);case V:case $:return new r(+t);case dt:return Go(t,n);case ht:case pt:case gt:case vt:case bt:case mt:case yt:case _t:case wt:return Ko(t,n);case Q:return new r;case J:case at:return new r(t);case it:return qo(t);case ot:return new r;case st:return Zo(t)}}function ns(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(Ft,"{\n/* [wrapped with "+e+"] */\n")}function rs(t){return sf(t)||af(t)||!!(Pe&&t&&t[Pe])}function is(t,e){var n=typeof t;return e=null==e?I:e,!!e&&("number"==n||"symbol"!=n&&Kt.test(t))&&t>-1&&t%1==0&&t<e}function os(t,e,n){if(!Tf(n))return!1;var r=typeof e;return!!("number"==r?lf(n)&&is(e,n.length):"string"==r&&e in n)&&nf(n[e],t)}function as(t,e){if(sf(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Xf(t))||(Lt.test(t)||!Rt.test(t)||null!=e&&t in ne(e))}function ss(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function cs(t){var e=Fa(t),n=_r[e];if("function"!=typeof n||!(e in Cr.prototype))return!1;if(t===n)return!0;var r=Ya(n);return!!r&&t===r[0]}function ls(t){return!!he&&he in t}(Qe&&qa(new Qe(new ArrayBuffer(1)))!=dt||Je&&qa(new Je)!=Q||tn&&qa(tn.resolve())!=nt||en&&qa(new en)!=ot||on&&qa(new on)!=lt)&&(qa=function(t){var e=Di(t),n=e==et?t.constructor:o,r=n?ks(n):"";if(r)switch(r){case un:return dt;case dn:return Q;case Rn:return nt;case Ln:return ot;case Bn:return lt}return e});var fs=le?_f:$d;function us(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||ce;return t===n}function ds(t){return t===t&&!Tf(t)}function hs(t,e){return function(n){return null!=n&&(n[t]===e&&(e!==o||t in ne(n)))}}function ps(t){var e=Xl(t,function(t){return n.size===u&&n.clear(),t}),n=e.cache;return e}function gs(t,e){var n=t[1],r=e[1],i=n|r,o=i<(m|y|C),a=r==C&&n==w||r==C&&n==P&&t[7].length<=e[8]||r==(C|P)&&e[7].length<=e[8]&&n==w;if(!o&&!a)return t;r&m&&(t[2]=e[2],i|=n&m?0:_);var s=e[3];if(s){var c=t[3];t[3]=c?ta(c,s,e[4]):s,t[4]=c?lr(t[3],d):e[4]}return s=e[5],s&&(c=t[5],t[5]=c?ea(c,s,e[6]):s,t[6]=c?lr(t[5],d):e[6]),s=e[7],s&&(t[7]=s),r&C&&(t[8]=null==t[8]?e[8]:je(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=i,t}function vs(t){var e=[];if(null!=t)for(var n in ne(t))e.push(n);return e}function bs(t){return pe.call(t)}function ms(t,e,r){return e=Fe(e===o?t.length-1:e,0),function(){var i=arguments,o=-1,a=Fe(i.length-e,0),s=n(a);while(++o<a)s[o]=i[e+o];o=-1;var c=n(e+1);while(++o<e)c[o]=i[o];return c[e]=r(s),yn(t,this,c)}}function ys(t,e){return e.length<2?t:Ri(t,Po(e,0,-1))}function _s(t,e){var n=t.length,r=je(e.length,n),i=na(t);while(r--){var a=e[r];t[r]=is(a,n)?i[a]:o}return t}function ws(t,e){if("__proto__"!=e)return t[e]}var xs=Ps(To),Ts=Re||function(t,e){return sn.setTimeout(t,e)},Ss=Ps(So);function Cs(t,e,n){var r=e+"";return Ss(t,ns(r,Es(Ka(r),n)))}function Ps(t){var e=0,n=0;return function(){var r=He(),i=E-(r-n);if(n=r,i>0){if(++e>=k)return arguments[0]}else e=0;return t.apply(o,arguments)}}function Os(t,e){var n=-1,r=t.length,i=r-1;e=e===o?r:e;while(++n<e){var a=vo(n,i),s=t[a];t[a]=t[n],t[n]=s}return t.length=e,t}var As=ps(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Dt,function(t,n,r,i){e.push(r?i.replace(Ht,"$1"):n||t)}),e});function Ms(t){if("string"==typeof t||Xf(t))return t;var e=t+"";return"0"==e&&1/t==-N?"-0":e}function ks(t){if(null!=t){try{return fe.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function Es(t,e){return wn(B,function(n){var r="_."+n[0];e&n[1]&&!Cn(t,r)&&t.push(r)}),t.sort()}function Rs(t){if(t instanceof Cr)return t.clone();var e=new Sr(t.__wrapped__,t.__chain__);return e.__actions__=na(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}function Ls(t,e,r){e=(r?os(t,e,r):e===o)?1:Fe($f(e),0);var i=null==t?0:t.length;if(!i||e<1)return[];var a=0,s=0,c=n(Le(i/e));while(a<i)c[s++]=Po(t,a,a+=e);return c}function Ds(t){var e=-1,n=null==t?0:t.length,r=0,i=[];while(++e<n){var o=t[e];o&&(i[r++]=o)}return i}function Ns(){var t=arguments.length;if(!t)return[];var e=n(t-1),r=arguments[0],i=t;while(i--)e[i-1]=arguments[i];return An(sf(r)?na(r):[r],Pi(e,1))}var Is=yo(function(t,e){return ff(t)?yi(t,Pi(e,1,ff,!0)):[]}),Ws=yo(function(t,e){var n=rc(e);return ff(n)&&(n=o),ff(t)?yi(t,Pi(e,1,ff,!0),Ba(n,2)):[]}),Xs=yo(function(t,e){var n=rc(e);return ff(n)&&(n=o),ff(t)?yi(t,Pi(e,1,ff,!0),o,n):[]});function Ys(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===o?1:$f(e),Po(t,e<0?0:e,r)):[]}function Fs(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===o?1:$f(e),e=r-e,Po(t,0,e<0?0:e)):[]}function js(t,e){return t&&t.length?Io(t,Ba(e,3),!0,!0):[]}function Bs(t,e){return t&&t.length?Io(t,Ba(e,3),!0):[]}function Us(t,e,n,r){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&os(t,e,n)&&(n=0,r=i),Si(t,e,n,r)):[]}function Hs(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:$f(n);return i<0&&(i=Fe(r+i,0)),In(t,Ba(e,3),i)}function zs(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r-1;return n!==o&&(i=$f(n),i=n<0?Fe(r+i,0):je(i,r-1)),In(t,Ba(e,3),i,!0)}function Vs(t){var e=null==t?0:t.length;return e?Pi(t,1):[]}function $s(t){var e=null==t?0:t.length;return e?Pi(t,N):[]}function Gs(t,e){var n=null==t?0:t.length;return n?(e=e===o?1:$f(e),Pi(t,e)):[]}function qs(t){var e=-1,n=null==t?0:t.length,r={};while(++e<n){var i=t[e];r[i[0]]=i[1]}return r}function Zs(t){return t&&t.length?t[0]:o}function Ks(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:$f(n);return i<0&&(i=Fe(r+i,0)),Wn(t,e,i)}function Qs(t){var e=null==t?0:t.length;return e?Po(t,0,-1):[]}var Js=yo(function(t){var e=On(t,Fo);return e.length&&e[0]===t[0]?Yi(e):[]}),tc=yo(function(t){var e=rc(t),n=On(t,Fo);return e===rc(n)?e=o:n.pop(),n.length&&n[0]===t[0]?Yi(n,Ba(e,2)):[]}),ec=yo(function(t){var e=rc(t),n=On(t,Fo);return e="function"==typeof e?e:o,e&&n.pop(),n.length&&n[0]===t[0]?Yi(n,o,e):[]});function nc(t,e){return null==t?"":Xe.call(t,e)}function rc(t){var e=null==t?0:t.length;return e?t[e-1]:o}function ic(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r;return n!==o&&(i=$f(n),i=i<0?Fe(r+i,0):je(i,r-1)),e===e?hr(t,e,i):In(t,Yn,i,!0)}function oc(t,e){return t&&t.length?co(t,$f(e)):o}var ac=yo(sc);function sc(t,e){return t&&t.length&&e&&e.length?po(t,e):t}function cc(t,e,n){return t&&t.length&&e&&e.length?po(t,e,Ba(n,2)):t}function lc(t,e,n){return t&&t.length&&e&&e.length?po(t,e,o,n):t}var fc=Ia(function(t,e){var n=null==t?0:t.length,r=hi(t,e);return go(t,On(e,function(t){return is(t,n)?+t:t}).sort(Qo)),r});function uc(t,e){var n=[];if(!t||!t.length)return n;var r=-1,i=[],o=t.length;e=Ba(e,3);while(++r<o){var a=t[r];e(a,r,t)&&(n.push(a),i.push(r))}return go(t,i),n}function dc(t){return null==t?t:$e.call(t)}function hc(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&os(t,e,n)?(e=0,n=r):(e=null==e?0:$f(e),n=n===o?r:$f(n)),Po(t,e,n)):[]}function pc(t,e){return Ao(t,e)}function gc(t,e,n){return Mo(t,e,Ba(n,2))}function vc(t,e){var n=null==t?0:t.length;if(n){var r=Ao(t,e);if(r<n&&nf(t[r],e))return r}return-1}function bc(t,e){return Ao(t,e,!0)}function mc(t,e,n){return Mo(t,e,Ba(n,2),!0)}function yc(t,e){var n=null==t?0:t.length;if(n){var r=Ao(t,e,!0)-1;if(nf(t[r],e))return r}return-1}function _c(t){return t&&t.length?ko(t):[]}function wc(t,e){return t&&t.length?ko(t,Ba(e,2)):[]}function xc(t){var e=null==t?0:t.length;return e?Po(t,1,e):[]}function Tc(t,e,n){return t&&t.length?(e=n||e===o?1:$f(e),Po(t,0,e<0?0:e)):[]}function Sc(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===o?1:$f(e),e=r-e,Po(t,e<0?0:e,r)):[]}function Cc(t,e){return t&&t.length?Io(t,Ba(e,3),!1,!0):[]}function Pc(t,e){return t&&t.length?Io(t,Ba(e,3)):[]}var Oc=yo(function(t){return Lo(Pi(t,1,ff,!0))}),Ac=yo(function(t){var e=rc(t);return ff(e)&&(e=o),Lo(Pi(t,1,ff,!0),Ba(e,2))}),Mc=yo(function(t){var e=rc(t);return e="function"==typeof e?e:o,Lo(Pi(t,1,ff,!0),o,e)});function kc(t){return t&&t.length?Lo(t):[]}function Ec(t,e){return t&&t.length?Lo(t,Ba(e,2)):[]}function Rc(t,e){return e="function"==typeof e?e:o,t&&t.length?Lo(t,o,e):[]}function Lc(t){if(!t||!t.length)return[];var e=0;return t=Sn(t,function(t){if(ff(t))return e=Fe(t.length,e),!0}),Vn(e,function(e){return On(t,jn(e))})}function Dc(t,e){if(!t||!t.length)return[];var n=Lc(t);return null==e?n:On(n,function(t){return yn(e,o,t)})}var Nc=yo(function(t,e){return ff(t)?yi(t,e):[]}),Ic=yo(function(t){return Xo(Sn(t,ff))}),Wc=yo(function(t){var e=rc(t);return ff(e)&&(e=o),Xo(Sn(t,ff),Ba(e,2))}),Xc=yo(function(t){var e=rc(t);return e="function"==typeof e?e:o,Xo(Sn(t,ff),o,e)}),Yc=yo(Lc);function Fc(t,e){return Yo(t||[],e||[],si)}function jc(t,e){return Yo(t||[],e||[],xo)}var Bc=yo(function(t){var e=t.length,n=e>1?t[e-1]:o;return n="function"==typeof n?(t.pop(),n):o,Dc(t,n)});function Uc(t){var e=_r(t);return e.__chain__=!0,e}function Hc(t,e){return e(t),t}function zc(t,e){return e(t)}var Vc=Ia(function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,i=function(e){return hi(e,t)};return!(e>1||this.__actions__.length)&&r instanceof Cr&&is(n)?(r=r.slice(n,+n+(e?1:0)),r.__actions__.push({func:zc,args:[i],thisArg:o}),new Sr(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(o),t})):this.thru(i)});function $c(){return Uc(this)}function Gc(){return new Sr(this.value(),this.__chain__)}function qc(){this.__values__===o&&(this.__values__=zf(this.value()));var t=this.__index__>=this.__values__.length,e=t?o:this.__values__[this.__index__++];return{done:t,value:e}}function Zc(){return this}function Kc(t){var e,n=this;while(n instanceof Tr){var r=Rs(n);r.__index__=0,r.__values__=o,e?i.__wrapped__=r:e=r;var i=r;n=n.__wrapped__}return i.__wrapped__=t,e}function Qc(){var t=this.__wrapped__;if(t instanceof Cr){var e=t;return this.__actions__.length&&(e=new Cr(this)),e=e.reverse(),e.__actions__.push({func:zc,args:[dc],thisArg:o}),new Sr(e,this.__chain__)}return this.thru(dc)}function Jc(){return Wo(this.__wrapped__,this.__actions__)}var tl=aa(function(t,e,n){ue.call(t,n)?++t[n]:di(t,n,1)});function el(t,e,n){var r=sf(t)?Tn:xi;return n&&os(t,e,n)&&(e=o),r(t,Ba(e,3))}function nl(t,e){var n=sf(t)?Sn:Ci;return n(t,Ba(e,3))}var rl=ga(Hs),il=ga(zs);function ol(t,e){return Pi(pl(t,e),1)}function al(t,e){return Pi(pl(t,e),N)}function sl(t,e,n){return n=n===o?1:$f(n),Pi(pl(t,e),n)}function cl(t,e){var n=sf(t)?wn:_i;return n(t,Ba(e,3))}function ll(t,e){var n=sf(t)?xn:wi;return n(t,Ba(e,3))}var fl=aa(function(t,e,n){ue.call(t,n)?t[n].push(e):di(t,n,[e])});function ul(t,e,n,r){t=lf(t)?t:Fu(t),n=n&&!r?$f(n):0;var i=t.length;return n<0&&(n=Fe(i+n,0)),Wf(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&Wn(t,e,n)>-1}var dl=yo(function(t,e,r){var i=-1,o="function"==typeof e,a=lf(t)?n(t.length):[];return _i(t,function(t){a[++i]=o?yn(e,t,r):ji(t,e,r)}),a}),hl=aa(function(t,e,n){di(t,n,e)});function pl(t,e){var n=sf(t)?On:ro;return n(t,Ba(e,3))}function gl(t,e,n,r){return null==t?[]:(sf(e)||(e=null==e?[]:[e]),n=r?o:n,sf(n)||(n=null==n?[]:[n]),lo(t,e,n))}var vl=aa(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]});function bl(t,e,n){var r=sf(t)?Mn:Un,i=arguments.length<3;return r(t,Ba(e,4),n,i,_i)}function ml(t,e,n){var r=sf(t)?kn:Un,i=arguments.length<3;return r(t,Ba(e,4),n,i,wi)}function yl(t,e){var n=sf(t)?Sn:Ci;return n(t,Yl(Ba(e,3)))}function _l(t){var e=sf(t)?ri:_o;return e(t)}function wl(t,e,n){e=(n?os(t,e,n):e===o)?1:$f(e);var r=sf(t)?ii:wo;return r(t,e)}function xl(t){var e=sf(t)?oi:Co;return e(t)}function Tl(t){if(null==t)return 0;if(lf(t))return Wf(t)?pr(t):t.length;var e=qa(t);return e==Q||e==ot?t.size:to(t).length}function Sl(t,e,n){var r=sf(t)?En:Oo;return n&&os(t,e,n)&&(e=o),r(t,Ba(e,3))}var Cl=yo(function(t,e){if(null==t)return[];var n=e.length;return n>1&&os(t,e[0],e[1])?e=[]:n>2&&os(e[0],e[1],e[2])&&(e=[e[0]]),lo(t,Pi(e,1),[])}),Pl=Ee||function(){return sn.Date.now()};function Ol(t,e){if("function"!=typeof e)throw new oe(l);return t=$f(t),function(){if(--t<1)return e.apply(this,arguments)}}function Al(t,e,n){return e=n?o:e,e=t&&null==e?t.length:e,Ma(t,C,o,o,o,o,e)}function Ml(t,e){var n;if("function"!=typeof e)throw new oe(l);return t=$f(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=o),n}}var kl=yo(function(t,e,n){var r=m;if(n.length){var i=lr(n,ja(kl));r|=T}return Ma(t,r,e,n,i)}),El=yo(function(t,e,n){var r=m|y;if(n.length){var i=lr(n,ja(El));r|=T}return Ma(e,r,t,n,i)});function Rl(t,e,n){e=n?o:e;var r=Ma(t,w,o,o,o,o,o,e);return r.placeholder=Rl.placeholder,r}function Ll(t,e,n){e=n?o:e;var r=Ma(t,x,o,o,o,o,o,e);return r.placeholder=Ll.placeholder,r}function Dl(t,e,n){var r,i,a,s,c,f,u=0,d=!1,h=!1,p=!0;if("function"!=typeof t)throw new oe(l);function g(e){var n=r,a=i;return r=i=o,u=e,s=t.apply(a,n),s}function v(t){return u=t,c=Ts(y,e),d?g(t):s}function b(t){var n=t-f,r=t-u,i=e-n;return h?je(i,a-r):i}function m(t){var n=t-f,r=t-u;return f===o||n>=e||n<0||h&&r>=a}function y(){var t=Pl();if(m(t))return _(t);c=Ts(y,b(t))}function _(t){return c=o,p&&r?g(t):(r=i=o,s)}function w(){c!==o&&zo(c),u=0,r=f=i=c=o}function x(){return c===o?s:_(Pl())}function T(){var t=Pl(),n=m(t);if(r=arguments,i=this,f=t,n){if(c===o)return v(f);if(h)return c=Ts(y,e),g(f)}return c===o&&(c=Ts(y,e)),s}return e=qf(e)||0,Tf(n)&&(d=!!n.leading,h="maxWait"in n,a=h?Fe(qf(n.maxWait)||0,e):a,p="trailing"in n?!!n.trailing:p),T.cancel=w,T.flush=x,T}var Nl=yo(function(t,e){return mi(t,1,e)}),Il=yo(function(t,e,n){return mi(t,qf(e)||0,n)});function Wl(t){return Ma(t,O)}function Xl(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new oe(l);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Xl.Cache||jr),n}function Yl(t){if("function"!=typeof t)throw new oe(l);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}function Fl(t){return Ml(2,t)}Xl.Cache=jr;var jl=Uo(function(t,e){e=1==e.length&&sf(e[0])?On(e[0],Gn(Ba())):On(Pi(e,1),Gn(Ba()));var n=e.length;return yo(function(r){var i=-1,o=je(r.length,n);while(++i<o)r[i]=e[i].call(this,r[i]);return yn(t,this,r)})}),Bl=yo(function(t,e){var n=lr(e,ja(Bl));return Ma(t,T,o,e,n)}),Ul=yo(function(t,e){var n=lr(e,ja(Ul));return Ma(t,S,o,e,n)}),Hl=Ia(function(t,e){return Ma(t,P,o,o,o,e)});function zl(t,e){if("function"!=typeof t)throw new oe(l);return e=e===o?e:$f(e),yo(t,e)}function Vl(t,e){if("function"!=typeof t)throw new oe(l);return e=null==e?0:Fe($f(e),0),yo(function(n){var r=n[e],i=Ho(n,0,e);return r&&An(i,r),yn(t,this,i)})}function $l(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new oe(l);return Tf(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Dl(t,e,{leading:r,maxWait:e,trailing:i})}function Gl(t){return Al(t,1)}function ql(t,e){return Bl(jo(e),t)}function Zl(){if(!arguments.length)return[];var t=arguments[0];return sf(t)?t:[t]}function Kl(t){return gi(t,g)}function Ql(t,e){return e="function"==typeof e?e:o,gi(t,g,e)}function Jl(t){return gi(t,h|g)}function tf(t,e){return e="function"==typeof e?e:o,gi(t,h|g,e)}function ef(t,e){return null==e||bi(t,e,wu(e))}function nf(t,e){return t===e||t!==t&&e!==e}var rf=Sa(Ni),of=Sa(function(t,e){return t>=e}),af=Bi(function(){return arguments}())?Bi:function(t){return Sf(t)&&ue.call(t,"callee")&&!Se.call(t,"callee")},sf=n.isArray,cf=hn?Gn(hn):Ui;function lf(t){return null!=t&&xf(t.length)&&!_f(t)}function ff(t){return Sf(t)&&lf(t)}function uf(t){return!0===t||!1===t||Sf(t)&&Di(t)==V}var df=Ie||$d,hf=pn?Gn(pn):Hi;function pf(t){return Sf(t)&&1===t.nodeType&&!Lf(t)}function gf(t){if(null==t)return!0;if(lf(t)&&(sf(t)||"string"==typeof t||"function"==typeof t.splice||df(t)||Yf(t)||af(t)))return!t.length;var e=qa(t);if(e==Q||e==ot)return!t.size;if(us(t))return!to(t).length;for(var n in t)if(ue.call(t,n))return!1;return!0}function vf(t,e){return zi(t,e)}function bf(t,e,n){n="function"==typeof n?n:o;var r=n?n(t,e):o;return r===o?zi(t,e,o,n):!!r}function mf(t){if(!Sf(t))return!1;var e=Di(t);return e==q||e==G||"string"==typeof t.message&&"string"==typeof t.name&&!Lf(t)}function yf(t){return"number"==typeof t&&We(t)}function _f(t){if(!Tf(t))return!1;var e=Di(t);return e==Z||e==K||e==z||e==rt}function wf(t){return"number"==typeof t&&t==$f(t)}function xf(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=I}function Tf(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Sf(t){return null!=t&&"object"==typeof t}var Cf=gn?Gn(gn):$i;function Pf(t,e){return t===e||Gi(t,e,Ha(e))}function Of(t,e,n){return n="function"==typeof n?n:o,Gi(t,e,Ha(e),n)}function Af(t){return Rf(t)&&t!=+t}function Mf(t){if(fs(t))throw new i(c);return qi(t)}function kf(t){return null===t}function Ef(t){return null==t}function Rf(t){return"number"==typeof t||Sf(t)&&Di(t)==J}function Lf(t){if(!Sf(t)||Di(t)!=et)return!1;var e=xe(t);if(null===e)return!0;var n=ue.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&fe.call(n)==ge}var Df=vn?Gn(vn):Zi;function Nf(t){return wf(t)&&t>=-I&&t<=I}var If=bn?Gn(bn):Ki;function Wf(t){return"string"==typeof t||!sf(t)&&Sf(t)&&Di(t)==at}function Xf(t){return"symbol"==typeof t||Sf(t)&&Di(t)==st}var Yf=mn?Gn(mn):Qi;function Ff(t){return t===o}function jf(t){return Sf(t)&&qa(t)==lt}function Bf(t){return Sf(t)&&Di(t)==ft}var Uf=Sa(no),Hf=Sa(function(t,e){return t<=e});function zf(t){if(!t)return[];if(lf(t))return Wf(t)?gr(t):na(t);if(Oe&&t[Oe])return ar(t[Oe]());var e=qa(t),n=e==Q?sr:e==ot?fr:Fu;return n(t)}function Vf(t){if(!t)return 0===t?t:0;if(t=qf(t),t===N||t===-N){var e=t<0?-1:1;return e*W}return t===t?t:0}function $f(t){var e=Vf(t),n=e%1;return e===e?n?e-n:e:0}function Gf(t){return t?pi($f(t),0,Y):0}function qf(t){if("number"==typeof t)return t;if(Xf(t))return X;if(Tf(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Tf(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(Wt,"");var n=Gt.test(t);return n||Zt.test(t)?rn(t.slice(2),n?2:8):$t.test(t)?X:+t}function Zf(t){return ra(t,xu(t))}function Kf(t){return t?pi($f(t),-I,I):0===t?t:0}function Qf(t){return null==t?"":Ro(t)}var Jf=sa(function(t,e){if(us(e)||lf(e))ra(e,wu(e),t);else for(var n in e)ue.call(e,n)&&si(t,n,e[n])}),tu=sa(function(t,e){ra(e,xu(e),t)}),eu=sa(function(t,e,n,r){ra(e,xu(e),t,r)}),nu=sa(function(t,e,n,r){ra(e,wu(e),t,r)}),ru=Ia(hi);function iu(t,e){var n=xr(t);return null==e?n:fi(n,e)}var ou=yo(function(t,e){t=ne(t);var n=-1,r=e.length,i=r>2?e[2]:o;i&&os(e[0],e[1],i)&&(r=1);while(++n<r){var a=e[n],s=xu(a),c=-1,l=s.length;while(++c<l){var f=s[c],u=t[f];(u===o||nf(u,ce[f])&&!ue.call(t,f))&&(t[f]=a[f])}}return t}),au=yo(function(t){return t.push(o,Ea),yn(Pu,o,t)});function su(t,e){return Nn(t,Ba(e,3),Mi)}function cu(t,e){return Nn(t,Ba(e,3),ki)}function lu(t,e){return null==t?t:Oi(t,Ba(e,3),xu)}function fu(t,e){return null==t?t:Ai(t,Ba(e,3),xu)}function uu(t,e){return t&&Mi(t,Ba(e,3))}function du(t,e){return t&&ki(t,Ba(e,3))}function hu(t){return null==t?[]:Ei(t,wu(t))}function pu(t){return null==t?[]:Ei(t,xu(t))}function gu(t,e,n){var r=null==t?o:Ri(t,e);return r===o?n:r}function vu(t,e){return null!=t&&Qa(t,e,Ii)}function bu(t,e){return null!=t&&Qa(t,e,Wi)}var mu=ma(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=pe.call(e)),t[e]=n},Cd(Md)),yu=ma(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=pe.call(e)),ue.call(t,e)?t[e].push(n):t[e]=[n]},Ba),_u=yo(ji);function wu(t){return lf(t)?ni(t):to(t)}function xu(t){return lf(t)?ni(t,!0):eo(t)}function Tu(t,e){var n={};return e=Ba(e,3),Mi(t,function(t,r,i){di(n,e(t,r,i),t)}),n}function Su(t,e){var n={};return e=Ba(e,3),Mi(t,function(t,r,i){di(n,r,e(t,r,i))}),n}var Cu=sa(function(t,e,n){ao(t,e,n)}),Pu=sa(function(t,e,n,r){ao(t,e,n,r)}),Ou=Ia(function(t,e){var n={};if(null==t)return n;var r=!1;e=On(e,function(e){return e=Bo(e,t),r||(r=e.length>1),e}),ra(t,Xa(t),n),r&&(n=gi(n,h|p|g,Ra));var i=e.length;while(i--)Do(n,e[i]);return n});function Au(t,e){return ku(t,Yl(Ba(e)))}var Mu=Ia(function(t,e){return null==t?{}:fo(t,e)});function ku(t,e){if(null==t)return{};var n=On(Xa(t),function(t){return[t]});return e=Ba(e),uo(t,n,function(t,n){return e(t,n[0])})}function Eu(t,e,n){e=Bo(e,t);var r=-1,i=e.length;i||(i=1,t=o);while(++r<i){var a=null==t?o:t[Ms(e[r])];a===o&&(r=i,a=n),t=_f(a)?a.call(t):a}return t}function Ru(t,e,n){return null==t?t:xo(t,e,n)}function Lu(t,e,n,r){return r="function"==typeof r?r:o,null==t?t:xo(t,e,n,r)}var Du=Aa(wu),Nu=Aa(xu);function Iu(t,e,n){var r=sf(t),i=r||df(t)||Yf(t);if(e=Ba(e,4),null==n){var o=t&&t.constructor;n=i?r?new o:[]:Tf(t)&&_f(o)?xr(xe(t)):{}}return(i?wn:Mi)(t,function(t,r,i){return e(n,t,r,i)}),n}function Wu(t,e){return null==t||Do(t,e)}function Xu(t,e,n){return null==t?t:No(t,e,jo(n))}function Yu(t,e,n,r){return r="function"==typeof r?r:o,null==t?t:No(t,e,jo(n),r)}function Fu(t){return null==t?[]:qn(t,wu(t))}function ju(t){return null==t?[]:qn(t,xu(t))}function Bu(t,e,n){return n===o&&(n=e,e=o),n!==o&&(n=qf(n),n=n===n?n:0),e!==o&&(e=qf(e),e=e===e?e:0),pi(qf(t),e,n)}function Uu(t,e,n){return e=Vf(e),n===o?(n=e,e=0):n=Vf(n),t=qf(t),Xi(t,e,n)}function Hu(t,e,n){if(n&&"boolean"!=typeof n&&os(t,e,n)&&(e=n=o),n===o&&("boolean"==typeof e?(n=e,e=o):"boolean"==typeof t&&(n=t,t=o)),t===o&&e===o?(t=0,e=1):(t=Vf(t),e===o?(e=t,t=0):e=Vf(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var i=Ve();return je(t+i*(e-t+nn("1e-"+((i+"").length-1))),e)}return vo(t,e)}var zu=da(function(t,e,n){return e=e.toLowerCase(),t+(n?Vu(e):e)});function Vu(t){return yd(Qf(t).toLowerCase())}function $u(t){return t=Qf(t),t&&t.replace(Qt,tr).replace(Ue,"")}function Gu(t,e,n){t=Qf(t),e=Ro(e);var r=t.length;n=n===o?r:pi($f(n),0,r);var i=n;return n-=e.length,n>=0&&t.slice(n,i)==e}function qu(t){return t=Qf(t),t&&At.test(t)?t.replace(Pt,er):t}function Zu(t){return t=Qf(t),t&&It.test(t)?t.replace(Nt,"\\$&"):t}var Ku=da(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),Qu=da(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),Ju=ua("toLowerCase");function td(t,e,n){t=Qf(t),e=$f(e);var r=e?pr(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return wa(De(i),n)+t+wa(Le(i),n)}function ed(t,e,n){t=Qf(t),e=$f(e);var r=e?pr(t):0;return e&&r<e?t+wa(e-r,n):t}function nd(t,e,n){t=Qf(t),e=$f(e);var r=e?pr(t):0;return e&&r<e?wa(e-r,n)+t:t}function rd(t,e,n){return n||null==e?e=0:e&&(e=+e),ze(Qf(t).replace(Xt,""),e||0)}function id(t,e,n){return e=(n?os(t,e,n):e===o)?1:$f(e),mo(Qf(t),e)}function od(){var t=arguments,e=Qf(t[0]);return t.length<3?e:e.replace(t[1],t[2])}var ad=da(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()});function sd(t,e,n){return n&&"number"!=typeof n&&os(t,e,n)&&(e=n=o),n=n===o?Y:n>>>0,n?(t=Qf(t),t&&("string"==typeof e||null!=e&&!Df(e))&&(e=Ro(e),!e&&ir(t))?Ho(gr(t),0,n):t.split(e,n)):[]}var cd=da(function(t,e,n){return t+(n?" ":"")+yd(e)});function ld(t,e,n){return t=Qf(t),n=null==n?0:pi($f(n),0,t.length),e=Ro(e),t.slice(n,n+e.length)==e}function fd(t,e,n){var r=_r.templateSettings;n&&os(t,e,n)&&(e=o),t=Qf(t),e=eu({},e,r,ka);var i,a,s=eu({},e.imports,r.imports,ka),c=wu(s),l=qn(s,c),f=0,u=e.interpolate||Jt,d="__p += '",h=re((e.escape||Jt).source+"|"+u.source+"|"+(u===Et?zt:Jt).source+"|"+(e.evaluate||Jt).source+"|$","g"),p="//# sourceURL="+("sourceURL"in e?e.sourceURL:"lodash.templateSources["+ ++qe+"]")+"\n";t.replace(h,function(e,n,r,o,s,c){return r||(r=o),d+=t.slice(f,c).replace(te,nr),n&&(i=!0,d+="' +\n__e("+n+") +\n'"),s&&(a=!0,d+="';\n"+s+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),f=c+e.length,e}),d+="';\n";var g=e.variable;g||(d="with (obj) {\n"+d+"\n}\n"),d=(a?d.replace(xt,""):d).replace(Tt,"$1").replace(St,"$1;"),d="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var v=wd(function(){return Ut(c,p+"return "+d).apply(o,l)});if(v.source=d,mf(v))throw v;return v}function ud(t){return Qf(t).toLowerCase()}function dd(t){return Qf(t).toUpperCase()}function hd(t,e,n){if(t=Qf(t),t&&(n||e===o))return t.replace(Wt,"");if(!t||!(e=Ro(e)))return t;var r=gr(t),i=gr(e),a=Kn(r,i),s=Qn(r,i)+1;return Ho(r,a,s).join("")}function pd(t,e,n){if(t=Qf(t),t&&(n||e===o))return t.replace(Yt,"");if(!t||!(e=Ro(e)))return t;var r=gr(t),i=Qn(r,gr(e))+1;return Ho(r,0,i).join("")}function gd(t,e,n){if(t=Qf(t),t&&(n||e===o))return t.replace(Xt,"");if(!t||!(e=Ro(e)))return t;var r=gr(t),i=Kn(r,gr(e));return Ho(r,i).join("")}function vd(t,e){var n=A,r=M;if(Tf(e)){var i="separator"in e?e.separator:i;n="length"in e?$f(e.length):n,r="omission"in e?Ro(e.omission):r}t=Qf(t);var a=t.length;if(ir(t)){var s=gr(t);a=s.length}if(n>=a)return t;var c=n-pr(r);if(c<1)return r;var l=s?Ho(s,0,c).join(""):t.slice(0,c);if(i===o)return l+r;if(s&&(c+=l.length-c),Df(i)){if(t.slice(c).search(i)){var f,u=l;i.global||(i=re(i.source,Qf(Vt.exec(i))+"g")),i.lastIndex=0;while(f=i.exec(u))var d=f.index;l=l.slice(0,d===o?c:d)}}else if(t.indexOf(Ro(i),c)!=c){var h=l.lastIndexOf(i);h>-1&&(l=l.slice(0,h))}return l+r}function bd(t){return t=Qf(t),t&&Ot.test(t)?t.replace(Ct,vr):t}var md=da(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),yd=ua("toUpperCase");function _d(t,e,n){return t=Qf(t),e=n?o:e,e===o?or(t)?yr(t):Dn(t):t.match(e)||[]}var wd=yo(function(t,e){try{return yn(t,o,e)}catch(n){return mf(n)?n:new i(n)}}),xd=Ia(function(t,e){return wn(e,function(e){e=Ms(e),di(t,e,kl(t[e],t))}),t});function Td(t){var e=null==t?0:t.length,n=Ba();return t=e?On(t,function(t){if("function"!=typeof t[1])throw new oe(l);return[n(t[0]),t[1]]}):[],yo(function(n){var r=-1;while(++r<e){var i=t[r];if(yn(i[0],this,n))return yn(i[1],this,n)}})}function Sd(t){return vi(gi(t,h))}function Cd(t){return function(){return t}}function Pd(t,e){return null==t||t!==t?e:t}var Od=va(),Ad=va(!0);function Md(t){return t}function kd(t){return Ji("function"==typeof t?t:gi(t,h))}function Ed(t){return io(gi(t,h))}function Rd(t,e){return oo(t,gi(e,h))}var Ld=yo(function(t,e){return function(n){return ji(n,t,e)}}),Dd=yo(function(t,e){return function(n){return ji(t,n,e)}});function Nd(t,e,n){var r=wu(e),i=Ei(e,r);null!=n||Tf(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=Ei(e,wu(e)));var o=!(Tf(n)&&"chain"in n)||!!n.chain,a=_f(t);return wn(i,function(n){var r=e[n];t[n]=r,a&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__),i=n.__actions__=na(this.__actions__);return i.push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,An([this.value()],arguments))})}),t}function Id(){return sn._===this&&(sn._=ve),this}function Wd(){}function Xd(t){return t=$f(t),yo(function(e){return co(e,t)})}var Yd=_a(On),Fd=_a(Tn),jd=_a(En);function Bd(t){return as(t)?jn(Ms(t)):ho(t)}function Ud(t){return function(e){return null==t?o:Ri(t,e)}}var Hd=Ta(),zd=Ta(!0);function Vd(){return[]}function $d(){return!1}function Gd(){return{}}function qd(){return""}function Zd(){return!0}function Kd(t,e){if(t=$f(t),t<1||t>I)return[];var n=Y,r=je(t,Y);e=Ba(e),t-=Y;var i=Vn(r,e);while(++n<t)e(n);return i}function Qd(t){return sf(t)?On(t,Ms):Xf(t)?[t]:na(As(Qf(t)))}function Jd(t){var e=++de;return Qf(t)+e}var th=ya(function(t,e){return t+e},0),eh=Pa("ceil"),nh=ya(function(t,e){return t/e},1),rh=Pa("floor");function ih(t){return t&&t.length?Ti(t,Md,Ni):o}function oh(t,e){return t&&t.length?Ti(t,Ba(e,2),Ni):o}function ah(t){return Fn(t,Md)}function sh(t,e){return Fn(t,Ba(e,2))}function ch(t){return t&&t.length?Ti(t,Md,no):o}function lh(t,e){return t&&t.length?Ti(t,Ba(e,2),no):o}var fh=ya(function(t,e){return t*e},1),uh=Pa("round"),dh=ya(function(t,e){return t-e},0);function hh(t){return t&&t.length?zn(t,Md):0}function ph(t,e){return t&&t.length?zn(t,Ba(e,2)):0}return _r.after=Ol,_r.ary=Al,_r.assign=Jf,_r.assignIn=tu,_r.assignInWith=eu,_r.assignWith=nu,_r.at=ru,_r.before=Ml,_r.bind=kl,_r.bindAll=xd,_r.bindKey=El,_r.castArray=Zl,_r.chain=Uc,_r.chunk=Ls,_r.compact=Ds,_r.concat=Ns,_r.cond=Td,_r.conforms=Sd,_r.constant=Cd,_r.countBy=tl,_r.create=iu,_r.curry=Rl,_r.curryRight=Ll,_r.debounce=Dl,_r.defaults=ou,_r.defaultsDeep=au,_r.defer=Nl,_r.delay=Il,_r.difference=Is,_r.differenceBy=Ws,_r.differenceWith=Xs,_r.drop=Ys,_r.dropRight=Fs,_r.dropRightWhile=js,_r.dropWhile=Bs,_r.fill=Us,_r.filter=nl,_r.flatMap=ol,_r.flatMapDeep=al,_r.flatMapDepth=sl,_r.flatten=Vs,_r.flattenDeep=$s,_r.flattenDepth=Gs,_r.flip=Wl,_r.flow=Od,_r.flowRight=Ad,_r.fromPairs=qs,_r.functions=hu,_r.functionsIn=pu,_r.groupBy=fl,_r.initial=Qs,_r.intersection=Js,_r.intersectionBy=tc,_r.intersectionWith=ec,_r.invert=mu,_r.invertBy=yu,_r.invokeMap=dl,_r.iteratee=kd,_r.keyBy=hl,_r.keys=wu,_r.keysIn=xu,_r.map=pl,_r.mapKeys=Tu,_r.mapValues=Su,_r.matches=Ed,_r.matchesProperty=Rd,_r.memoize=Xl,_r.merge=Cu,_r.mergeWith=Pu,_r.method=Ld,_r.methodOf=Dd,_r.mixin=Nd,_r.negate=Yl,_r.nthArg=Xd,_r.omit=Ou,_r.omitBy=Au,_r.once=Fl,_r.orderBy=gl,_r.over=Yd,_r.overArgs=jl,_r.overEvery=Fd,_r.overSome=jd,_r.partial=Bl,_r.partialRight=Ul,_r.partition=vl,_r.pick=Mu,_r.pickBy=ku,_r.property=Bd,_r.propertyOf=Ud,_r.pull=ac,_r.pullAll=sc,_r.pullAllBy=cc,_r.pullAllWith=lc,_r.pullAt=fc,_r.range=Hd,_r.rangeRight=zd,_r.rearg=Hl,_r.reject=yl,_r.remove=uc,_r.rest=zl,_r.reverse=dc,_r.sampleSize=wl,_r.set=Ru,_r.setWith=Lu,_r.shuffle=xl,_r.slice=hc,_r.sortBy=Cl,_r.sortedUniq=_c,_r.sortedUniqBy=wc,_r.split=sd,_r.spread=Vl,_r.tail=xc,_r.take=Tc,_r.takeRight=Sc,_r.takeRightWhile=Cc,_r.takeWhile=Pc,_r.tap=Hc,_r.throttle=$l,_r.thru=zc,_r.toArray=zf,_r.toPairs=Du,_r.toPairsIn=Nu,_r.toPath=Qd,_r.toPlainObject=Zf,_r.transform=Iu,_r.unary=Gl,_r.union=Oc,_r.unionBy=Ac,_r.unionWith=Mc,_r.uniq=kc,_r.uniqBy=Ec,_r.uniqWith=Rc,_r.unset=Wu,_r.unzip=Lc,_r.unzipWith=Dc,_r.update=Xu,_r.updateWith=Yu,_r.values=Fu,_r.valuesIn=ju,_r.without=Nc,_r.words=_d,_r.wrap=ql,_r.xor=Ic,_r.xorBy=Wc,_r.xorWith=Xc,_r.zip=Yc,_r.zipObject=Fc,_r.zipObjectDeep=jc,_r.zipWith=Bc,_r.entries=Du,_r.entriesIn=Nu,_r.extend=tu,_r.extendWith=eu,Nd(_r,_r),_r.add=th,_r.attempt=wd,_r.camelCase=zu,_r.capitalize=Vu,_r.ceil=eh,_r.clamp=Bu,_r.clone=Kl,_r.cloneDeep=Jl,_r.cloneDeepWith=tf,_r.cloneWith=Ql,_r.conformsTo=ef,_r.deburr=$u,_r.defaultTo=Pd,_r.divide=nh,_r.endsWith=Gu,_r.eq=nf,_r.escape=qu,_r.escapeRegExp=Zu,_r.every=el,_r.find=rl,_r.findIndex=Hs,_r.findKey=su,_r.findLast=il,_r.findLastIndex=zs,_r.findLastKey=cu,_r.floor=rh,_r.forEach=cl,_r.forEachRight=ll,_r.forIn=lu,_r.forInRight=fu,_r.forOwn=uu,_r.forOwnRight=du,_r.get=gu,_r.gt=rf,_r.gte=of,_r.has=vu,_r.hasIn=bu,_r.head=Zs,_r.identity=Md,_r.includes=ul,_r.indexOf=Ks,_r.inRange=Uu,_r.invoke=_u,_r.isArguments=af,_r.isArray=sf,_r.isArrayBuffer=cf,_r.isArrayLike=lf,_r.isArrayLikeObject=ff,_r.isBoolean=uf,_r.isBuffer=df,_r.isDate=hf,_r.isElement=pf,_r.isEmpty=gf,_r.isEqual=vf,_r.isEqualWith=bf,_r.isError=mf,_r.isFinite=yf,_r.isFunction=_f,_r.isInteger=wf,_r.isLength=xf,_r.isMap=Cf,_r.isMatch=Pf,_r.isMatchWith=Of,_r.isNaN=Af,_r.isNative=Mf,_r.isNil=Ef,_r.isNull=kf,_r.isNumber=Rf,_r.isObject=Tf,_r.isObjectLike=Sf,_r.isPlainObject=Lf,_r.isRegExp=Df,_r.isSafeInteger=Nf,_r.isSet=If,_r.isString=Wf,_r.isSymbol=Xf,_r.isTypedArray=Yf,_r.isUndefined=Ff,_r.isWeakMap=jf,_r.isWeakSet=Bf,_r.join=nc,_r.kebabCase=Ku,_r.last=rc,_r.lastIndexOf=ic,_r.lowerCase=Qu,_r.lowerFirst=Ju,_r.lt=Uf,_r.lte=Hf,_r.max=ih,_r.maxBy=oh,_r.mean=ah,_r.meanBy=sh,_r.min=ch,_r.minBy=lh,_r.stubArray=Vd,_r.stubFalse=$d,_r.stubObject=Gd,_r.stubString=qd,_r.stubTrue=Zd,_r.multiply=fh,_r.nth=oc,_r.noConflict=Id,_r.noop=Wd,_r.now=Pl,_r.pad=td,_r.padEnd=ed,_r.padStart=nd,_r.parseInt=rd,_r.random=Hu,_r.reduce=bl,_r.reduceRight=ml,_r.repeat=id,_r.replace=od,_r.result=Eu,_r.round=uh,_r.runInContext=t,_r.sample=_l,_r.size=Tl,_r.snakeCase=ad,_r.some=Sl,_r.sortedIndex=pc,_r.sortedIndexBy=gc,_r.sortedIndexOf=vc,_r.sortedLastIndex=bc,_r.sortedLastIndexBy=mc,_r.sortedLastIndexOf=yc,_r.startCase=cd,_r.startsWith=ld,_r.subtract=dh,_r.sum=hh,_r.sumBy=ph,_r.template=fd,_r.times=Kd,_r.toFinite=Vf,_r.toInteger=$f,_r.toLength=Gf,_r.toLower=ud,_r.toNumber=qf,_r.toSafeInteger=Kf,_r.toString=Qf,_r.toUpper=dd,_r.trim=hd,_r.trimEnd=pd,_r.trimStart=gd,_r.truncate=vd,_r.unescape=bd,_r.uniqueId=Jd,_r.upperCase=md,_r.upperFirst=yd,_r.each=cl,_r.eachRight=ll,_r.first=Zs,Nd(_r,function(){var t={};return Mi(_r,function(e,n){ue.call(_r.prototype,n)||(t[n]=e)}),t}(),{chain:!1}),_r.VERSION=a,wn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){_r[t].placeholder=_r}),wn(["drop","take"],function(t,e){Cr.prototype[t]=function(n){n=n===o?1:Fe($f(n),0);var r=this.__filtered__&&!e?new Cr(this):this.clone();return r.__filtered__?r.__takeCount__=je(n,r.__takeCount__):r.__views__.push({size:je(n,Y),type:t+(r.__dir__<0?"Right":"")}),r},Cr.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),wn(["filter","map","takeWhile"],function(t,e){var n=e+1,r=n==R||n==D;Cr.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Ba(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),wn(["head","last"],function(t,e){var n="take"+(e?"Right":"");Cr.prototype[t]=function(){return this[n](1).value()[0]}}),wn(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");Cr.prototype[t]=function(){return this.__filtered__?new Cr(this):this[n](1)}}),Cr.prototype.compact=function(){return this.filter(Md)},Cr.prototype.find=function(t){return this.filter(t).head()},Cr.prototype.findLast=function(t){return this.reverse().find(t)},Cr.prototype.invokeMap=yo(function(t,e){return"function"==typeof t?new Cr(this):this.map(function(n){return ji(n,t,e)})}),Cr.prototype.reject=function(t){return this.filter(Yl(Ba(t)))},Cr.prototype.slice=function(t,e){t=$f(t);var n=this;return n.__filtered__&&(t>0||e<0)?new Cr(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==o&&(e=$f(e),n=e<0?n.dropRight(-e):n.take(e-t)),n)},Cr.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Cr.prototype.toArray=function(){return this.take(Y)},Mi(Cr.prototype,function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),i=_r[r?"take"+("last"==e?"Right":""):e],a=r||/^find/.test(e);i&&(_r.prototype[e]=function(){var e=this.__wrapped__,s=r?[1]:arguments,c=e instanceof Cr,l=s[0],f=c||sf(e),u=function(t){var e=i.apply(_r,An([t],s));return r&&d?e[0]:e};f&&n&&"function"==typeof l&&1!=l.length&&(c=f=!1);var d=this.__chain__,h=!!this.__actions__.length,p=a&&!d,g=c&&!h;if(!a&&f){e=g?e:new Cr(this);var v=t.apply(e,s);return v.__actions__.push({func:zc,args:[u],thisArg:o}),new Sr(v,d)}return p&&g?t.apply(this,s):(v=this.thru(u),p?r?v.value()[0]:v.value():v)})}),wn(["pop","push","shift","sort","splice","unshift"],function(t){var e=ae[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);_r.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(sf(i)?i:[],t)}return this[n](function(n){return e.apply(sf(n)?n:[],t)})}}),Mi(Cr.prototype,function(t,e){var n=_r[e];if(n){var r=n.name+"",i=ln[r]||(ln[r]=[]);i.push({name:e,func:n})}}),ln[ba(o,y).name]=[{name:"wrapper",func:o}],Cr.prototype.clone=Pr,Cr.prototype.reverse=Or,Cr.prototype.value=Ar,_r.prototype.at=Vc,_r.prototype.chain=$c,_r.prototype.commit=Gc,_r.prototype.next=qc,_r.prototype.plant=Kc,_r.prototype.reverse=Qc,_r.prototype.toJSON=_r.prototype.valueOf=_r.prototype.value=Jc,_r.prototype.first=_r.prototype.head,Oe&&(_r.prototype[Oe]=Zc),_r},wr=_r();sn._=wr,i=function(){return wr}.call(e,n,e,r),i===o||(r.exports=i)}).call(this)}).call(this,n("c8ba"),n("62e4")(t))},"452a":function(t,e,n){"use strict";var r=n("67f0"),i=n.n(r);i.a},"4d89":function(t,e){t.exports=function(){"use strict";function t(n,r){var i,o,a=r.length;return a>=2?(i=r.slice(0,a/2),o=r.slice(a/2,a),e(n,t(n,i),t(n,o))):r.slice()}function e(t,e,n){var r=[],i=e.length,o=n.length;while(i>0&&o>0)t(e[0],n[0])<=0?(r.push(e.shift()),i--):(r.push(n.shift()),o--);return i>0?r.push.apply(r,e):r.push.apply(r,n),r}return t}()},"52bf":function(t,e,n){},"5c7d":function(t,e,n){var r,i;(function(o,a){"use strict";r=a,i="function"===typeof r?r.call(e,n,e,t):r,void 0===i||(t.exports=i)})(0,function(){"use strict";var t=function(){},e="undefined",n=["trace","debug","info","warn","error"];function r(t,e){var n=t[e];if("function"===typeof n.bind)return n.bind(t);try{return Function.prototype.bind.call(n,t)}catch(r){return function(){return Function.prototype.apply.apply(n,[t,arguments])}}}function i(n){return"debug"===n&&(n="log"),typeof console!==e&&(void 0!==console[n]?r(console,n):void 0!==console.log?r(console,"log"):t)}function o(e,r){for(var i=0;i<n.length;i++){var o=n[i];this[o]=i<e?t:this.methodFactory(o,e,r)}this.log=this.debug}function a(t,n,r){return function(){typeof console!==e&&(o.call(this,n,r),this[t].apply(this,arguments))}}function s(t,e,n){return i(t)||a.apply(this,arguments)}function c(t,r,i){var a,c=this,l="loglevel";function f(t){var r=(n[t]||"silent").toUpperCase();if(typeof window!==e){try{return void(window.localStorage[l]=r)}catch(i){}try{window.document.cookie=encodeURIComponent(l)+"="+r+";"}catch(i){}}}function u(){var t;if(typeof window!==e){try{t=window.localStorage[l]}catch(i){}if(typeof t===e)try{var n=window.document.cookie,r=n.indexOf(encodeURIComponent(l)+"=");-1!==r&&(t=/^([^;]+)/.exec(n.slice(r))[1])}catch(i){}return void 0===c.levels[t]&&(t=void 0),t}}t&&(l+=":"+t),c.name=t,c.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},c.methodFactory=i||s,c.getLevel=function(){return a},c.setLevel=function(n,r){if("string"===typeof n&&void 0!==c.levels[n.toUpperCase()]&&(n=c.levels[n.toUpperCase()]),!("number"===typeof n&&n>=0&&n<=c.levels.SILENT))throw"log.setLevel() called with invalid level: "+n;if(a=n,!1!==r&&f(n),o.call(c,n,t),typeof console===e&&n<c.levels.SILENT)return"No console available for logging"},c.setDefaultLevel=function(t){u()||c.setLevel(t,!1)},c.enableAll=function(t){c.setLevel(c.levels.TRACE,t)},c.disableAll=function(t){c.setLevel(c.levels.SILENT,t)};var d=u();null==d&&(d=null==r?"WARN":r),c.setLevel(d,!1)}var l=new c,f={};l.getLogger=function(t){if("string"!==typeof t||""===t)throw new TypeError("You must supply a name when creating a logger.");var e=f[t];return e||(e=f[t]=new c(t,l.getLevel(),l.methodFactory)),e};var u=typeof window!==e?window.log:void 0;return l.noConflict=function(){return typeof window!==e&&window.log===l&&(window.log=u),l},l.getLoggers=function(){return f},l})},6072:function(t,e,n){},"62e4":function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},"67f0":function(t,e,n){},"73ec":function(t,e,n){var r,i;r=n("4d89"),i=n("f742"),t.exports=function(){"use strict";var t;function e(t){return function(){return t}}function n(t){t=t||{},this.config=t,this.config.childrenPropertyName=t.childrenPropertyName||"children",this.config.modelComparatorFn=t.modelComparatorFn}function o(t,e){return e.parent=t,t.children.push(e),e}function a(t,e){this.config=t,this.model=e,this.children=[]}function s(t){return"function"===typeof t.config.modelComparatorFn}function c(t,e,n){var r;if(!(e instanceof a))throw new TypeError("Child must be of type Node.");if(e.parent=t,t.model[t.config.childrenPropertyName]instanceof Array||(t.model[t.config.childrenPropertyName]=[]),s(t))r=i(t.config.modelComparatorFn,t.model[t.config.childrenPropertyName],e.model),t.model[t.config.childrenPropertyName].splice(r,0,e.model),t.children.splice(r,0,e);else if(void 0===n)t.model[t.config.childrenPropertyName].push(e.model),t.children.push(e);else{if(n<0||n>t.children.length)throw new Error("Invalid index.");t.model[t.config.childrenPropertyName].splice(n,0,e.model),t.children.splice(n,0,e)}return e}function l(){var e={};if(1===arguments.length?"function"===typeof arguments[0]?e.fn=arguments[0]:e.options=arguments[0]:2===arguments.length?"function"===typeof arguments[0]?(e.fn=arguments[0],e.ctx=arguments[1]):(e.options=arguments[0],e.fn=arguments[1]):(e.options=arguments[0],e.fn=arguments[1],e.ctx=arguments[2]),e.options=e.options||{},e.options.strategy||(e.options.strategy="pre"),!t[e.options.strategy])throw new Error("Unknown tree walk strategy. Valid strategies are 'pre' [default], 'post' and 'breadth'.");return e}return t={},n.prototype.parse=function(t){var e,n,i;if(!(t instanceof Object))throw new TypeError("Model must be of type object.");if(i=new a(this.config,t),t[this.config.childrenPropertyName]instanceof Array)for(this.config.modelComparatorFn&&(t[this.config.childrenPropertyName]=r(this.config.modelComparatorFn,t[this.config.childrenPropertyName])),e=0,n=t[this.config.childrenPropertyName].length;e<n;e++)o(i,this.parse(t[this.config.childrenPropertyName][e]));return i},a.prototype.isRoot=function(){return void 0===this.parent},a.prototype.hasChildren=function(){return this.children.length>0},a.prototype.addChild=function(t){return c(this,t)},a.prototype.addChildAtIndex=function(t,e){if(s(this))throw new Error("Cannot add child at index when using a comparator function.");return c(this,t,e)},a.prototype.setIndex=function(t){if(s(this))throw new Error("Cannot set node index when using a comparator function.");if(this.isRoot()){if(0===t)return this;throw new Error("Invalid index.")}if(t<0||t>=this.parent.children.length)throw new Error("Invalid index.");var e=this.parent.children.indexOf(this);return this.parent.children.splice(t,0,this.parent.children.splice(e,1)[0]),this.parent.model[this.parent.config.childrenPropertyName].splice(t,0,this.parent.model[this.parent.config.childrenPropertyName].splice(e,1)[0]),this},a.prototype.getPath=function(){var t=[];return function e(n){t.unshift(n),n.isRoot()||e(n.parent)}(this),t},a.prototype.getIndex=function(){return this.isRoot()?0:this.parent.children.indexOf(this)},a.prototype.walk=function(){var e;e=l.apply(this,arguments),t[e.options.strategy].call(this,e.fn,e.ctx)},t.pre=function t(e,n){var r,i,o;for(o=e.call(n,this),r=0,i=this.children.length;r<i;r++){if(!1===o)return!1;o=t.call(this.children[r],e,n)}return o},t.post=function t(e,n){var r,i,o;for(r=0,i=this.children.length;r<i;r++)if(o=t.call(this.children[r],e,n),!1===o)return!1;return o=e.call(n,this),o},t.breadth=function(t,e){var n=[this];(function r(){var i,o,a;if(0!==n.length){for(a=n.shift(),i=0,o=a.children.length;i<o;i++)n.push(a.children[i]);!1!==t.call(e,a)&&r()}})()},a.prototype.all=function(){var n,r=[];return n=l.apply(this,arguments),n.fn=n.fn||e(!0),t[n.options.strategy].call(this,function(t){n.fn.call(n.ctx,t)&&r.push(t)},n.ctx),r},a.prototype.first=function(){var n,r;return n=l.apply(this,arguments),n.fn=n.fn||e(!0),t[n.options.strategy].call(this,function(t){if(n.fn.call(n.ctx,t))return r=t,!1},n.ctx),r},a.prototype.drop=function(){var t;return this.isRoot()||(t=this.parent.children.indexOf(this),this.parent.children.splice(t,1),this.parent.model[this.config.childrenPropertyName].splice(t,1),this.parent=void 0,delete this.parent),this},n}()},"7da8":function(t,e,n){},"8bbf":function(e,n){e.exports=t},"92fa":function(t,e){var n=/^(attrs|props|on|nativeOn|class|style|hook)$/;function r(t,e){return function(){t&&t.apply(this,arguments),e&&e.apply(this,arguments)}}t.exports=function(t){return t.reduce(function(t,e){var i,o,a,s,c;for(a in e)if(i=t[a],o=e[a],i&&n.test(a))if("class"===a&&("string"===typeof i&&(c=i,t[a]=i={},i[c]=!0),"string"===typeof o&&(c=o,e[a]=o={},o[c]=!0)),"on"===a||"nativeOn"===a||"hook"===a)for(s in o)i[s]=r(i[s],o[s]);else if(Array.isArray(i))t[a]=i.concat(o);else if(Array.isArray(o))t[a]=[i].concat(o);else for(s in o)i[s]=o[s];else t[a]=e[a];return t},{})}},"93f8":function(t,e,n){"use strict";var r=n("fb64"),i=n.n(r);i.a},a10e:function(t,e,n){},aa68:function(t,e,n){"use strict";var r=n("6072"),i=n.n(r);i.a},bdc0:function(t,e,n){},c3ad:function(t,e,n){},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(r){"object"===typeof window&&(n=window)}t.exports=n},d21f:function(t,e,n){"use strict";var r=n("c3ad"),i=n.n(r);i.a},dd40: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}},f742:function(t,e){t.exports=function(){"use strict";function t(t,e,n){var r,i;for(r=0,i=e.length;r<i;r++)if(t(e[r],n)>0)break;return r}return t}()},fae3:function(t,e,n){"use strict";var r;(n.r(e),"undefined"!==typeof window)&&((r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^\/]+\.js(\?.*)?$/))&&(n.p=r[1]));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{key:t.renderCount},[n("div",{ref:"mainViewContainer",staticClass:"main-view-container"},t._l(t.compoundWidgets,function(e,r){return n("div",{staticClass:"widget-group-column"},[n("compound-widget",{ref:"compoundWidgets",refInFor:!0,attrs:{"compound-widget-index":r,"taxon-style-overrides":t.widgetStyle[e.taxonomyRef],"taxonomy-ref":e.taxonomyRef}}),r<t.compoundWidgets.length-1?n("serif-operator"):t._e()],1)}))])},o=[];var a=function(){return a=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},a.apply(this,arguments)};var s=n("8bbf"),c=n.n(s),l=function(t){var e=Number(t.version.split(".")[0]);if(e>=2)t.mixin({beforeCreate:r});else{var n=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[r].concat(t.init):r,n.call(this,t)}}function r(){var t=this.$options;t.store?this.$store="function"===typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}},f="undefined"!==typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function u(t){f&&(t._devtoolHook=f,f.emit("vuex:init",t),f.on("vuex:travel-to-state",function(e){t.replaceState(e)}),t.subscribe(function(t,e){f.emit("vuex:mutation",t,e)}))}function d(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function h(t){return null!==t&&"object"===typeof t}function p(t){return t&&"function"===typeof t.then}var g=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"===typeof n?n():n)||{}},v={namespaced:{configurable:!0}};v.namespaced.get=function(){return!!this._rawModule.namespaced},g.prototype.addChild=function(t,e){this._children[t]=e},g.prototype.removeChild=function(t){delete this._children[t]},g.prototype.getChild=function(t){return this._children[t]},g.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},g.prototype.forEachChild=function(t){d(this._children,t)},g.prototype.forEachGetter=function(t){this._rawModule.getters&&d(this._rawModule.getters,t)},g.prototype.forEachAction=function(t){this._rawModule.actions&&d(this._rawModule.actions,t)},g.prototype.forEachMutation=function(t){this._rawModule.mutations&&d(this._rawModule.mutations,t)},Object.defineProperties(g.prototype,v);var b=function(t){this.register([],t,!1)};function m(t,e,n){if(e.update(n),n.modules)for(var r in n.modules){if(!e.getChild(r))return void 0;m(t.concat(r),e.getChild(r),n.modules[r])}}b.prototype.get=function(t){return t.reduce(function(t,e){return t.getChild(e)},this.root)},b.prototype.getNamespace=function(t){var e=this.root;return t.reduce(function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")},"")},b.prototype.update=function(t){m([],this.root,t)},b.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=new g(e,n);if(0===t.length)this.root=i;else{var o=this.get(t.slice(0,-1));o.addChild(t[t.length-1],i)}e.modules&&d(e.modules,function(e,i){r.register(t.concat(i),e,n)})},b.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];e.getChild(n).runtime&&e.removeChild(n)};var y;var _=function(t){var e=this;void 0===t&&(t={}),!y&&"undefined"!==typeof window&&window.Vue&&D(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var r=t.strict;void 0===r&&(r=!1);var i=t.state;void 0===i&&(i={}),"function"===typeof i&&(i=i()||{}),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new b(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new y;var o=this,a=this,s=a.dispatch,c=a.commit;this.dispatch=function(t,e){return s.call(o,t,e)},this.commit=function(t,e,n){return c.call(o,t,e,n)},this.strict=r,C(this,i,[],this._modules.root),S(this,i),n.forEach(function(t){return t(e)}),y.config.devtools&&u(this)},w={state:{configurable:!0}};function x(t,e){return e.indexOf(t)<0&&e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function T(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;C(t,n,[],t._modules.root,!0),S(t,n,e)}function S(t,e,n){var r=t._vm;t.getters={};var i=t._wrappedGetters,o={};d(i,function(e,n){o[n]=function(){return e(t)},Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})});var a=y.config.silent;y.config.silent=!0,t._vm=new y({data:{$$state:e},computed:o}),y.config.silent=a,t.strict&&E(t),r&&(n&&t._withCommit(function(){r._data.$$state=null}),y.nextTick(function(){return r.$destroy()}))}function C(t,e,n,r,i){var o=!n.length,a=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[a]=r),!o&&!i){var s=R(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit(function(){y.set(s,c,r.state)})}var l=r.context=P(t,a,n);r.forEachMutation(function(e,n){var r=a+n;A(t,r,e,l)}),r.forEachAction(function(e,n){var r=e.root?n:a+n,i=e.handler||e;M(t,r,i,l)}),r.forEachGetter(function(e,n){var r=a+n;k(t,r,e,l)}),r.forEachChild(function(r,o){C(t,e,n.concat(o),r,i)})}function P(t,e,n){var r=""===e,i={dispatch:r?t.dispatch:function(n,r,i){var o=L(n,r,i),a=o.payload,s=o.options,c=o.type;return s&&s.root||(c=e+c),t.dispatch(c,a)},commit:r?t.commit:function(n,r,i){var o=L(n,r,i),a=o.payload,s=o.options,c=o.type;s&&s.root||(c=e+c),t.commit(c,a,s)}};return Object.defineProperties(i,{getters:{get:r?function(){return t.getters}:function(){return O(t,e)}},state:{get:function(){return R(t.state,n)}}}),i}function O(t,e){var n={},r=e.length;return Object.keys(t.getters).forEach(function(i){if(i.slice(0,r)===e){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return t.getters[i]},enumerable:!0})}}),n}function A(t,e,n,r){var i=t._mutations[e]||(t._mutations[e]=[]);i.push(function(e){n.call(t,r.state,e)})}function M(t,e,n,r){var i=t._actions[e]||(t._actions[e]=[]);i.push(function(e,i){var o=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e,i);return p(o)||(o=Promise.resolve(o)),t._devtoolHook?o.catch(function(e){throw t._devtoolHook.emit("vuex:error",e),e}):o})}function k(t,e,n,r){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)})}function E(t){t._vm.$watch(function(){return this._data.$$state},function(){0},{deep:!0,sync:!0})}function R(t,e){return e.length?e.reduce(function(t,e){return t[e]},t):t}function L(t,e,n){return h(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function D(t){y&&t===y||(y=t,l(y))}w.state.get=function(){return this._vm._data.$$state},w.state.set=function(t){0},_.prototype.commit=function(t,e,n){var r=this,i=L(t,e,n),o=i.type,a=i.payload,s=(i.options,{type:o,payload:a}),c=this._mutations[o];c&&(this._withCommit(function(){c.forEach(function(t){t(a)})}),this._subscribers.forEach(function(t){return t(s,r.state)}))},_.prototype.dispatch=function(t,e){var n=this,r=L(t,e),i=r.type,o=r.payload,a={type:i,payload:o},s=this._actions[i];if(s)return this._actionSubscribers.forEach(function(t){return t(a,n.state)}),s.length>1?Promise.all(s.map(function(t){return t(o)})):s[0](o)},_.prototype.subscribe=function(t){return x(t,this._subscribers)},_.prototype.subscribeAction=function(t){return x(t,this._actionSubscribers)},_.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch(function(){return t(r.state,r.getters)},e,n)},_.prototype.replaceState=function(t){var e=this;this._withCommit(function(){e._vm._data.$$state=t})},_.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),C(this,this.state,t,this._modules.get(t),n.preserveState),S(this,this.state)},_.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var n=R(e.state,t.slice(0,-1));y.delete(n,t[t.length-1])}),T(this)},_.prototype.hotUpdate=function(t){this._modules.update(t),T(this,!0)},_.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(_.prototype,w);W(function(t,e){var n={};return I(e).forEach(function(e){var r=e.key,i=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=X(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"===typeof i?i.call(this,e,n):e[i]},n[r].vuex=!0}),n}),W(function(t,e){var n={};return I(e).forEach(function(e){var r=e.key,i=e.val;n[r]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var r=this.$store.commit;if(t){var o=X(this.$store,"mapMutations",t);if(!o)return;r=o.context.commit}return"function"===typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}}),n});var N=W(function(t,e){var n={};return I(e).forEach(function(e){var r=e.key,i=e.val;i=t+i,n[r]=function(){if(!t||X(this.$store,"mapGetters",t))return this.$store.getters[i]},n[r].vuex=!0}),n});W(function(t,e){var n={};return I(e).forEach(function(e){var r=e.key,i=e.val;n[r]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var o=X(this.$store,"mapActions",t);if(!o)return;r=o.context.dispatch}return"function"===typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}}),n});function I(t){return Array.isArray(t)?t.map(function(t){return{key:t,val:t}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}})}function W(t){return function(e,n){return"string"!==typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function X(t,e,n){var r=t._modulesNamespaceMap[n];return r}var Y=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"compoundWidgetElement",staticClass:"compound-widget-container",style:t.dynamicStyles},[n("move-icon",{staticClass:"move-handle"}),n("transition-group",{attrs:{name:"taxon",tag:"div"}},[n("compound-widget-taxonomy-assigner",{key:"taxonomyAssigner",attrs:{index:t.compoundWidgetIndex,"selected-path":t.selectedPath}}),t._l(t.taxons,function(e,r){return e.isVisible?n("taxon-selector",{key:e.level,attrs:{taxon:e,index:r,"selected-path":t.selectedPath,"taxonomy-ref":t.taxonomyRef,"compound-widget-index":t.compoundWidgetIndex,"style-overrides":t.taxonStyleOverrides},on:{killed:t.killTaxonSelector}}):t._e()})],2)],1)},F=[],j=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"feather feather-move",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},[n("circle",{attrs:{cx:"12",cy:"12",r:"11","stroke-width":"2"}}),n("polyline",{attrs:{points:"5 9 2 12 5 15"}}),n("polyline",{attrs:{points:"9 5 12 2 15 5"}}),n("polyline",{attrs:{points:"15 19 12 22 9 19"}}),n("polyline",{attrs:{points:"19 9 22 12 19 15"}}),n("line",{attrs:{x1:"2",y1:"12",x2:"22",y2:"12"}}),n("line",{attrs:{x1:"12",y1:"2",x2:"12",y2:"22"}})])},B=[],U=c.a.extend({}),H=U;n("d21f");function z(t,e,n,r,i,o,a,s){var c,l="function"===typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),a?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},l._ssrRegister=c):i&&(c=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),c)if(l.functional){l._injectStyles=c;var f=l.render;l.render=function(t,e){return c.call(e),f(t,e)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:l}}var V=z(H,j,B,!1,null,null,null);V.options.__file="MoveIcon.vue";var $=V.exports,G=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"widgets",staticClass:"widget compound-widget-taxonomy-assigner"},[n("select",{directives:[{name:"model",rawName:"v-model",value:t.chosenTaxonomy,expression:"chosenTaxonomy"}],staticClass:"taxon-select",on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,function(t){return t.selected}).map(function(t){var e="_value"in t?t._value:t.value;return e});t.chosenTaxonomy=e.target.multiple?n:n[0]}}},t._l(t.availableTaxonomies,function(e){return n("option",[t._v(t._s(e))])})),n("div",{staticClass:"level-container"},[n("x-circle-icon",{staticClass:"widget-close-icon",on:{click:t.killCompoundWidget}}),n("plus-circle-icon",{class:t.plusCircleClasses,attrs:{width:16,height:16},on:{click:t.addTaxonSelector}})],1)])},q=[],Z=n("92fa"),K=n.n(Z),Q={name:"x-circle-icon",functional:!0,render:function(t,e){return t("svg",K()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-x-circle"},e.data]),[t("circle",{attrs:{cx:"12",cy:"12",r:"10"}},[]),t("line",{attrs:{x1:"15",y1:"9",x2:"9",y2:"15"}},[]),t("line",{attrs:{x1:"9",y1:"9",x2:"15",y2:"15"}},[])])}},J=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",t._g({staticClass:"circle-icon",attrs:{xmlns:"http://www.w3.org/2000/svg",width:t.width,height:t.height,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},t.inputListeners),[n("circle",{attrs:{cx:"12",cy:"12",r:"10"}})])},tt=[],et=c.a.extend({props:{width:{type:Number,required:!0},height:{type:Number,required:!0}},computed:{inputListeners:function(){var t={};return Object.assign({},this.$listeners,t)}}}),nt=et,rt=z(nt,J,tt,!1,null,null,null);rt.options.__file="CircleIcon.vue";var it=rt.exports,ot=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",t._g({attrs:{xmlns:"http://www.w3.org/2000/svg",width:t.width,height:t.height,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},t.inputListeners),[n("circle",{attrs:{cx:"12",cy:"12",r:"10"}}),n("line",{attrs:{x1:"12",y1:"8",x2:"12",y2:"16"}}),n("line",{attrs:{x1:"8",y1:"12",x2:"16",y2:"12"}})])},at=[],st=c.a.extend({props:{width:{type:Number,required:!0},height:{type:Number,required:!0}},computed:{inputListeners:function(){var t={};return Object.assign({},this.$listeners,t)}}}),ct=st,lt=z(ct,ot,at,!1,null,null,null);lt.options.__file="PlusCircleIcon.vue";var ft=lt.exports,ut={ADD_NEW_WIDGET:"addNewWidget",HIDE_WIDGET:"hideWidget",COMPOUND_WIDGET_DRAG_FLAG_ON:"compoundWidgetDragFlagOn",COMPOUND_WIDGET_DRAG_FLAG_OFF:"compoundWidgetDragFlagOff",SWAP_COMPOUND_WIDGETS:"swapCompoundWidgets",KILL_TAXON_SELECTOR:"killTaxonSelector",SHUFFLE_TAXON_SELECTORS:"shuffleTaxonSelectors",LOAD_SAMPLE_DATA:"loadSampleData",ADD_COMPOUND_WIDGET:"addCompoundWidget",INITIALIZE_TAXONOMIES:"initializeTaxonomies",TOGGLE_TAXON_SELECTOR_VISIBILITY:"toggleTaxonSelectorVisibility",MAKE_TENTATIVE_SELECTOR:"makeTentativeSelector",SET_TAXONOMY_REF:"setTaxonomyRef",ADD_PATH_SEGMENT:"addPathSegment",REPLACE_PATH_SEGMENT:"replacePathSegment",KILL_COMPOUND_WIDGET:"killCompoundWidget"};function dt(t){var e={"widget-add-icon":!0};return t?e["ob-enabled"]=!0:e["ob-disabled"]=!0,e}var ht=n("5c7d"),pt=c.a.extend({data:function(){return{chosenTaxonomy:null}},props:{index:{type:Number,required:!0}},components:{XCircleIcon:Q,CircleIcon:it,PlusCircleIcon:ft},methods:{addTaxonSelector:function(){if(ht["debug"]("About to add taxon selector"),null===this.chosenTaxonomy)throw new Error("Must select a taxonomy");this.$store.commit(ut.SET_TAXONOMY_REF,{compoundWidgetIndex:this.index,taxonomyRef:this.chosenTaxonomy}),this.$store.commit(ut.MAKE_TENTATIVE_SELECTOR,this.index)},killCompoundWidget:function(){this.$store.commit(ut.KILL_COMPOUND_WIDGET,this.index)}},computed:a({plusCircleClasses:function(){return dt(null!==this.chosenTaxonomy)},availableTaxonomies:function(){return Object.keys(this.taxonomies)}},N(["taxonomies"]))}),gt=pt,vt=(n("1b1f"),z(gt,G,q,!1,null,null,null));vt.options.__file="CompoundWidgetTaxonomyAssigner.vue";var bt=vt.exports,mt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"widgets",staticClass:"widget",style:t.styleOverrides},[n("select",{directives:[{name:"model",rawName:"v-model",value:t.selectedTaxon,expression:"selectedTaxon"}],staticClass:"taxon-select",on:{change:[function(e){var n=Array.prototype.filter.call(e.target.options,function(t){return t.selected}).map(function(t){var e="_value"in t?t._value:t.value;return e});t.selectedTaxon=e.target.multiple?n:n[0]},t.onChanged]}},t._l(t.siblings,function(e){return n("option",{domProps:{value:e.uri}},[t._v(t._s(e.content))])})),n("div",{staticClass:"level-container"},[n("x-circle-icon",{staticClass:"widget-close-icon",on:{click:t.kill}}),t._l(t.humanFriendlyTaxonLevel,function(e){return n("span",[n("circle-icon",{class:t.getCircleIconClasses(e),attrs:{width:16,height:16},on:{click:function(n){t.hideTaxonSelector(e)}}})],1)}),n("plus-circle-icon",{class:t.plusCircleClasses,attrs:{width:16,height:16},on:{click:t.addTaxonSelector}})],2)])},yt=[];function _t(t,e){var n=t.all(function(t){return t.model.uri===e});if(1===n.length)return n[0];throw new Error("not found: "+e)}function wt(t,e){if(ht["debug"]("inside getVirtualRoot"),0===e.length)return ht["debug"]("returning root node"),t;var n=e[e.length-1];return _t(t,n)}function xt(t,e){var n=wt(t,e);return n.children}function Tt(t,e){return e.filter(function(e){return t.hitTest(e,"50%")})}function St(){return{taxonomyRef:null,isCurrentlyBeingDragged:!1,selectedPath:[],hasTentativeTaxonSelector:!1}}function Ct(t){var e=[];return t.forEach(function(t){e.push.apply(e,t.toPathElements())}),e}function Pt(t){if(null===t.taxonomyRef)throw new Error("null taxonomy");return{taxonomyRef:t.taxonomyRef,selectedPath:Ct(t.selectedPath)}}var Ot={findValidChildren:xt,getCollidingElements:Tt,makeEmptyCompoundWidget:St,getNodeById:_t,getQuerySegment:Pt,getFlatPath:Ct},At=c.a.extend({props:["index","styleOverrides","taxon","selectedPath","taxonomyRef","compoundWidgetIndex"],components:{XCircleIcon:Q,CircleIcon:it,PlusCircleIcon:ft},data:function(){return{selectedTaxon:this.taxon.value}},created:function(){ht["debug"]("I consumed a REAL taxon."),ht["debug"]("The taxon is called %o",this.taxon)},methods:{onChanged:function(){var t=this.compoundWidgetIndex,e=this.index,n=this.selectedTaxon,r=this.selectedTaxon;this.$store.commit(ut.REPLACE_PATH_SEGMENT,{compoundWidgetIndex:t,selectedPathIndex:e,nodeIdentifier:n,taxonContent:r})},kill:function(){this.$emit("killed",this.index)},hideTaxonSelector:function(t){var e=t-1,n={compoundWidgetIndex:this.compoundWidgetIndex,taxonSelectorIndex:e};this.$store.commit(ut.TOGGLE_TAXON_SELECTOR_VISIBILITY,n)},addTaxonSelector:function(){if(ht["info"]("I would add a new taxon selector to this compound widget"),!this.hasRemainingChildren)throw new Error("no remaining children");this.$store.commit(ut.MAKE_TENTATIVE_SELECTOR,this.index)},getNodesAtPathLevel:function(t){this.selectedPath[this.index];var e=this.selectedPath.slice(0,t),n=Ot.findValidChildren(this.taxonomies[this.taxonomyRef],Ot.getFlatPath(e)),r=n.map(function(t){return t.model});return ht["debug"]("called from index %o, sibling result was %o, stem size is %o",this.index,r,e.length),r},getCircleIconClasses:function(t){var e=t-1,n=this.$store.getters.getTaxonSelectorVisibility(this.compoundWidgetIndex,e),r={"circle-icon":!0};return n?r["ob-enabled"]=!0:r["ob-disabled"]=!1,r}},computed:{canAddLevel:function(){var t=this.selectedPath[this.index];return t.hasDefiniteValue()&&this.hasRemainingChildren},plusCircleClasses:function(){return dt(this.canAddLevel)},humanFriendlyTaxonLevel:function(){return this.taxon.level},taxonomies:function(){return this.$store.getters.taxonomies},siblings:function(){return this.getNodesAtPathLevel(this.taxon.level-1)},hasRemainingChildren:function(){var t=this.getNodesAtPathLevel(this.taxon.level);return t.length>0}}}),Mt=At,kt=(n("1d77"),z(Mt,mt,yt,!1,null,null,null));kt.options.__file="TaxonSelector.vue";var Et=kt.exports,Rt=n("2ef0"),Lt=n.n(Rt),Dt=c.a.extend({props:["compoundWidgetIndex","taxonomyRef","taxonStyleOverrides"],data:function(){return{}},components:{MoveIcon:$,TaxonSelector:Et,CompoundWidgetTaxonomyAssigner:bt},mounted:function(){},created:function(){ht["debug"]("Compound widget has taxons %o",this.taxons),ht["debug"]("value of selectedpath in cw is %o",this.selectedPath)},computed:a({taxonIndices:function(){return Lt.a.range(this.taxons.length)},dynamicStyles:function(){return this.currentlyBeingDragged?{"border-width":"medium","border-style":"dashed","border-color":"black","background-color":"hsla(0, 0%, 63%, 0.9)"}:{}},currentlyBeingDragged:function(){return this.isSpecificCompoundWidgetBeingDragged(this.compoundWidgetIndex)},taxons:function(){return this.getTaxonsByCompoundWidgetIndex(this.compoundWidgetIndex)},thisCompoundWidgetHasTentativeTaxonSelector:function(){return this.hasTentativeTaxonSelector(this.compoundWidgetIndex)},selectedPath:function(){return this.getSelectedPath(this.compoundWidgetIndex)}},N(["isSpecificCompoundWidgetBeingDragged","getSelectedPath","getTaxonsByCompoundWidgetIndex","hasTentativeTaxonSelector"])),methods:{killTaxonSelector:function(t){ht["info"]("Would kill taxon selector with index",t);var e={compoundWidgetIndex:this.compoundWidgetIndex,taxonSelectorIndex:t};this.$store.commit(ut.KILL_TAXON_SELECTOR,e)}}}),Nt=Dt,It=(n("aa68"),z(Nt,Y,F,!1,null,null,null));It.options.__file="CompoundWidget.vue";var Wt=It.exports,Xt=n("2e20");
22/*!
23 * VERSION: 2.0.2
24 * DATE: 2018-08-27
25 * UPDATES AND DOCS AT: http://greensock.com
26 *
27 * @license Copyright (c) 2008-2018, GreenSock. All rights reserved.
28 * This work is subject to the terms at http://greensock.com/standard-license or for
29 * Club GreenSock members, the software agreement that was issued with your membership.
30 *
31 * @author: Jack Doyle, jack@greensock.com
32 */
33Xt["c"]._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(){var t,e,n,r,i=function(){Xt["b"].call(this,"css"),this._overwriteProps.length=0,this.setRatio=i.prototype.setRatio},o=Xt["c"]._gsDefine.globals,a={},s=i.prototype=new Xt["b"]("css");s.constructor=i,i.version="2.0.2",i.API=2,i.defaultTransformPerspective=0,i.defaultSkewType="compensated",i.defaultSmoothOrigin=!0,s="px",i.suffixMap={top:s,right:s,bottom:s,left:s,width:s,height:s,fontSize:s,padding:s,margin:s,perspective:s,lineHeight:""};var c,l,f,u,d,h,p,g,v=/(?:\-|\.|\b)(\d|\.|e\-)+/g,b=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,m=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,y=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,_=/(?:\d|\-|\+|=|#|\.)*/g,w=/opacity *= *([^)]*)/i,x=/opacity:([^;]*)/i,T=/alpha\(opacity *=.+?\)/i,S=/^(rgb|hsl)/,C=/([A-Z])/g,P=/-([a-z])/gi,O=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,A=function(t,e){return e.toUpperCase()},M=/(?:Left|Right|Width)/i,k=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,E=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,R=/,(?=[^\)]*(?:\(|$))/gi,L=/[\s,\(]/i,D=Math.PI/180,N=180/Math.PI,I={},W={style:{}},X=Xt["c"].document||{createElement:function(){return W}},Y=function(t,e){return X.createElementNS?X.createElementNS(e||"http://www.w3.org/1999/xhtml",t):X.createElement(t)},F=Y("div"),j=Y("img"),B=i._internals={_specialProps:a},U=(Xt["c"].navigator||{}).userAgent||"",H=function(){var t=U.indexOf("Android"),e=Y("a");return f=-1!==U.indexOf("Safari")&&-1===U.indexOf("Chrome")&&(-1===t||parseFloat(U.substr(t+8,2))>3),d=f&&parseFloat(U.substr(U.indexOf("Version/")+8,2))<6,u=-1!==U.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(U)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(U))&&(h=parseFloat(RegExp.$1)),!!e&&(e.style.cssText="top:1px;opacity:.55;",/^0.55/.test(e.style.opacity))}(),z=function(t){return w.test("string"===typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},V=function(t){Xt["c"].console&&console.log(t)},$="",G="",q=function(t,e){e=e||F;var n,r,i=e.style;if(void 0!==i[t])return t;t=t.charAt(0).toUpperCase()+t.substr(1),n=["O","Moz","ms","Ms","Webkit"],r=5;while(--r>-1&&void 0===i[n[r]+t]);return r>=0?(G=3===r?"ms":n[r],$="-"+G.toLowerCase()+"-",G+t):null},Z=("undefined"!==typeof window?window:X.defaultView||{getComputedStyle:function(){}}).getComputedStyle,K=i.getStyle=function(t,e,n,r,i){var o;return H||"opacity"!==e?(!r&&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==i||o&&"none"!==o&&"auto"!==o&&"auto auto"!==o?o:i):z(t)},Q=B.convertToPixels=function(t,e,n,r,o){if("px"===r||!r&&"lineHeight"!==e)return n;if("auto"===r||!n)return 0;var a,s,c,l=M.test(e),f=t,u=F.style,d=n<0,h=1===n;if(d&&(n=-n),h&&(n*=100),"lineHeight"!==e||r)if("%"===r&&-1!==e.indexOf("border"))a=n/100*(l?t.clientWidth:t.clientHeight);else{if(u.cssText="border:0 solid red;position:"+K(t,"position")+";line-height:0;","%"!==r&&f.appendChild&&"v"!==r.charAt(0)&&"rem"!==r)u[l?"borderLeftWidth":"borderTopWidth"]=n+r;else{if(f=t.parentNode||X.body,-1!==K(f,"display").indexOf("flex")&&(u.position="absolute"),s=f._gsCache,c=Xt["d"].ticker.frame,s&&l&&s.time===c)return s.width*n/100;u[l?"width":"height"]=n+r}f.appendChild(F),a=parseFloat(F[l?"offsetWidth":"offsetHeight"]),f.removeChild(F),l&&"%"===r&&!1!==i.cacheWidths&&(s=f._gsCache=f._gsCache||{},s.time=c,s.width=a/n*100),0!==a||o||(a=Q(t,e,n,r,!0))}else s=Z(t).lineHeight,t.style.lineHeight=n,a=parseFloat(Z(t).lineHeight),t.style.lineHeight=s;return h&&(a/=100),d?-a:a},J=B.calculateOffset=function(t,e,n){if("absolute"!==K(t,"position",n))return 0;var r="left"===e?"Left":"Top",i=K(t,"margin"+r,n);return t["offset"+r]-(Q(t,e,parseFloat(i),i.replace(_,""))||0)},tt=function(t,e){var n,r,i,o={};if(e=e||Z(t,null))if(n=e.length)while(--n>-1)i=e[n],-1!==i.indexOf("-transform")&&Ot!==i||(o[i.replace(P,A)]=e.getPropertyValue(i));else for(n in e)-1!==n.indexOf("Transform")&&Pt!==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,A)]=e[n]);return H||(o.opacity=z(t)),r=Bt(t,e,!1),o.rotation=r.rotation,o.skewX=r.skewX,o.scaleX=r.scaleX,o.scaleY=r.scaleY,o.x=r.x,o.y=r.y,Mt&&(o.z=r.z,o.rotationX=r.rotationX,o.rotationY=r.rotationY,o.scaleZ=r.scaleZ),o.filters&&delete o.filters,o},et=function(t,e,n,r,i){var o,a,s,c={},l=t.style;for(a in n)"cssText"!==a&&"length"!==a&&isNaN(a)&&(e[a]!==(o=n[a])||i&&i[a])&&-1===a.indexOf("Origin")&&("number"!==typeof o&&"string"!==typeof o||(c[a]="auto"!==o||"left"!==a&&"top"!==a?""!==o&&"auto"!==o&&"none"!==o||"string"!==typeof e[a]||""===e[a].replace(y,"")?o:0:J(t,a),void 0!==l[a]&&(s=new vt(l,a,l[a],s))));if(r)for(a in r)"className"!==a&&(c[a]=r[a]);return{difs:c,firstMPT:s}},nt={width:["Left","Right"],height:["Top","Bottom"]},rt=["marginLeft","marginRight","marginTop","marginBottom"],it=function(t,e,n){if("svg"===(t.nodeName+"").toLowerCase())return(n||Z(t))[e]||0;if(t.getCTM&&Yt(t))return t.getBBox()[e]||0;var r=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),i=nt[e],o=i.length;n=n||Z(t,null);while(--o>-1)r-=parseFloat(K(t,"padding"+i[o],n,!0))||0,r-=parseFloat(K(t,"border"+i[o]+"Width",n,!0))||0;return r},ot=function(t,e){if("contain"===t||"auto"===t||"auto auto"===t)return t+" ";null!=t&&""!==t||(t="0 0");var n,r=t.split(" "),i=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":r[0],o=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":r[1];if(r.length>3&&!e){for(r=t.split(", ").join(",").split(","),t=[],n=0;n<r.length;n++)t.push(ot(r[n]));return t.join(",")}return null==o?o="center"===i?"50%":"0":"center"===o&&(o="50%"),("center"===i||isNaN(parseFloat(i))&&-1===(i+"").indexOf("="))&&(i="50%"),t=i+" "+o+(r.length>2?" "+r[2]:""),e&&(e.oxp=-1!==i.indexOf("%"),e.oyp=-1!==o.indexOf("%"),e.oxr="="===i.charAt(1),e.oyr="="===o.charAt(1),e.ox=parseFloat(i.replace(y,"")),e.oy=parseFloat(o.replace(y,"")),e.v=t),e||t},at=function(t,e){return"function"===typeof t&&(t=t(g,p)),"string"===typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0},st=function(t,e){"function"===typeof t&&(t=t(g,p));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},ct=function(t,e,n,r){var i,o,a,s,c,l=1e-6;return"function"===typeof t&&(t=t(g,p)),null==t?s=e:"number"===typeof t?s=t:(i=360,o=t.split("_"),c="="===t.charAt(1),a=(c?parseInt(t.charAt(0)+"1",10)*parseFloat(o[0].substr(2)):parseFloat(o[0]))*(-1===t.indexOf("rad")?1:N)-(c?0:e),o.length&&(r&&(r[n]=e+a),-1!==t.indexOf("short")&&(a%=i,a!==a%(i/2)&&(a=a<0?a+i:a-i)),-1!==t.indexOf("_cw")&&a<0?a=(a+9999999999*i)%i-(a/i|0)*i:-1!==t.indexOf("ccw")&&a>0&&(a=(a-9999999999*i)%i-(a/i|0)*i)),s=e+a),s<l&&s>-l&&(s=0),s},lt={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]},ft=function(t,e,n){return t=t<0?t+1:t>1?t-1:t,255*(6*t<1?e+(n-e)*t*6:t<.5?n:3*t<2?e+(n-e)*(2/3-t)*6:e)+.5|0},ut=i.parseColor=function(t,e){var n,r,i,o,a,s,c,l,f,u,d;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)),lt[t])n=lt[t];else if("#"===t.charAt(0))4===t.length&&(r=t.charAt(1),i=t.charAt(2),o=t.charAt(3),t="#"+r+r+i+i+o+o),t=parseInt(t.substr(1),16),n=[t>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(n=d=t.match(v),e){if(-1!==t.indexOf("="))return t.match(b)}else a=Number(n[0])%360/360,s=Number(n[1])/100,c=Number(n[2])/100,i=c<=.5?c*(s+1):c+s-c*s,r=2*c-i,n.length>3&&(n[3]=Number(n[3])),n[0]=ft(a+1/3,r,i),n[1]=ft(a,r,i),n[2]=ft(a-1/3,r,i);else n=t.match(v)||lt.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=lt.black;return e&&!d&&(r=n[0]/255,i=n[1]/255,o=n[2]/255,l=Math.max(r,i,o),f=Math.min(r,i,o),c=(l+f)/2,l===f?a=s=0:(u=l-f,s=c>.5?u/(2-l-f):u/(l+f),a=l===r?(i-o)/u+(i<o?6:0):l===i?(o-r)/u+2:(r-i)/u+4,a*=60),n[0]=a+.5|0,n[1]=100*s+.5|0,n[2]=100*c+.5|0),n},dt=function(t,e){var n,r,i,o=t.match(ht)||[],a=0,s="";if(!o.length)return t;for(n=0;n<o.length;n++)r=o[n],i=t.substr(a,t.indexOf(r,a)-a),a+=i.length+r.length,r=ut(r,e),3===r.length&&r.push(1),s+=i+(e?"hsla("+r[0]+","+r[1]+"%,"+r[2]+"%,"+r[3]:"rgba("+r.join(","))+")";return s+t.substr(a)},ht="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(s in lt)ht+="|"+s+"\\b";ht=new RegExp(ht+")","gi"),i.colorStringFilter=function(t){var e,n=t[0]+" "+t[1];ht.test(n)&&(e=-1!==n.indexOf("hsl(")||-1!==n.indexOf("hsla("),t[0]=dt(t[0],e),t[1]=dt(t[1],e)),ht.lastIndex=0},Xt["d"].defaultStringFilter||(Xt["d"].defaultStringFilter=i.colorStringFilter);var pt=function(t,e,n,r){if(null==t)return function(t){return t};var i,o=e?(t.match(ht)||[""])[0]:"",a=t.split(o).join("").match(m)||[],s=t.substr(0,t.indexOf(a[0])),c=")"===t.charAt(t.length-1)?")":"",l=-1!==t.indexOf(" ")?" ":",",f=a.length,u=f>0?a[0].replace(v,""):"";return f?e?(i=function(t){var e,d,h,p;if("number"===typeof t)t+=u;else if(r&&R.test(t)){for(p=t.replace(R,"|").split("|"),h=0;h<p.length;h++)p[h]=i(p[h]);return p.join(",")}if(e=(t.match(ht)||[o])[0],d=t.split(e).join("").match(m)||[],h=d.length,f>h--)while(++h<f)d[h]=n?d[(h-1)/2|0]:a[h];return s+d.join(l)+l+e+c+(-1!==t.indexOf("inset")?" inset":"")},i):(i=function(t){var e,o,d;if("number"===typeof t)t+=u;else if(r&&R.test(t)){for(o=t.replace(R,"|").split("|"),d=0;d<o.length;d++)o[d]=i(o[d]);return o.join(",")}if(e=t.match(m)||[],d=e.length,f>d--)while(++d<f)e[d]=n?e[(d-1)/2|0]:a[d];return s+e.join(l)+c},i):function(t){return t}},gt=function(t){return t=t.split(","),function(e,n,r,i,o,a,s){var c,l=(n+"").split(" ");for(s={},c=0;c<4;c++)s[t[c]]=l[c]=l[c]||l[(c-1)/2>>0];return i.parse(e,s,o,a)}},vt=(B._setPluginRatio=function(t){this.plugin.setRatio(t);var e,n,r,i,o,a=this.data,s=a.proxy,c=a.firstMPT,l=1e-6;while(c)e=s[c.v],c.r?e=c.r(e):e<l&&e>-l&&(e=0),c.t[c.p]=e,c=c._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){c=a.firstMPT,o=1===t?"e":"b";while(c){if(n=c.t,n.type){if(1===n.type){for(i=n.xs0+n.s+n.xs1,r=1;r<n.l;r++)i+=n["xn"+r]+n["xs"+(r+1)];n[o]=i}}else n[o]=n.s+n.xs0;c=c._next}}},function(t,e,n,r,i){this.t=t,this.p=e,this.v=n,this.r=i,r&&(r._prev=this,this._next=r)}),bt=(B._parseToProxy=function(t,e,n,r,i,o){var a,s,c,l,f,u=r,d={},h={},p=n._transform,g=I;n._transform=null,I=e,r=f=n.parse(t,e,r,i),I=g,o&&(n._transform=p,u&&(u._prev=null,u._prev&&(u._prev._next=null)));while(r&&r!==u){if(r.type<=1&&(s=r.p,h[s]=r.s+r.c,d[s]=r.s,o||(l=new vt(r,"s",s,l,r.r),r.c=0),1===r.type)){a=r.l;while(--a>0)c="xn"+a,s=r.p+"_"+c,h[s]=r.data[c],d[s]=r[c],o||(l=new vt(r,c,s,l,r.rxp[c]))}r=r._next}return{proxy:d,end:h,firstMPT:l,pt:f}},B.CSSPropTween=function(e,n,i,o,a,s,c,l,f,u,d){this.t=e,this.p=n,this.s=i,this.c=o,this.n=c||n,e instanceof bt||r.push(this.n),this.r=l?"function"===typeof l?l:Math.round:l,this.type=s||0,f&&(this.pr=f,t=!0),this.b=void 0===u?i:u,this.e=void 0===d?i+o:d,a&&(this._next=a,a._prev=this)}),mt=function(t,e,n,r,i,o){var a=new bt(t,e,n,r-n,i,-1,o);return a.b=n,a.e=a.xs0=r,a},yt=i.parseComplex=function(t,e,n,r,o,a,s,l,f,u){n=n||a||"","function"===typeof r&&(r=r(g,p)),s=new bt(t,e,0,0,s,u?2:1,null,!1,l,n,r),r+="",o&&ht.test(r+n)&&(r=[n,r],i.colorStringFilter(r),n=r[0],r=r[1]);var d,h,m,y,_,w,x,T,S,C,P,O,A,M=n.split(", ").join(",").split(" "),k=r.split(", ").join(",").split(" "),E=M.length,L=!1!==c;for(-1===r.indexOf(",")&&-1===n.indexOf(",")||(-1!==(r+n).indexOf("rgb")||-1!==(r+n).indexOf("hsl")?(M=M.join(" ").replace(R,", ").split(" "),k=k.join(" ").replace(R,", ").split(" ")):(M=M.join(" ").split(",").join(", ").split(" "),k=k.join(" ").split(",").join(", ").split(" ")),E=M.length),E!==k.length&&(M=(a||"").split(" "),E=M.length),s.plugin=f,s.setRatio=u,ht.lastIndex=0,d=0;d<E;d++)if(y=M[d],_=k[d]+"",T=parseFloat(y),T||0===T)s.appendXtra("",T,at(_,T),_.replace(b,""),!(!L||-1===_.indexOf("px"))&&Math.round,!0);else if(o&&ht.test(y))O=_.indexOf(")")+1,O=")"+(O?_.substr(O):""),A=-1!==_.indexOf("hsl")&&H,C=_,y=ut(y,A),_=ut(_,A),S=y.length+_.length>6,S&&!H&&0===_[3]?(s["xs"+s.l]+=s.l?" transparent":"transparent",s.e=s.e.split(k[d]).join("transparent")):(H||(S=!1),A?s.appendXtra(C.substr(0,C.indexOf("hsl"))+(S?"hsla(":"hsl("),y[0],at(_[0],y[0]),",",!1,!0).appendXtra("",y[1],at(_[1],y[1]),"%,",!1).appendXtra("",y[2],at(_[2],y[2]),S?"%,":"%"+O,!1):s.appendXtra(C.substr(0,C.indexOf("rgb"))+(S?"rgba(":"rgb("),y[0],_[0]-y[0],",",Math.round,!0).appendXtra("",y[1],_[1]-y[1],",",Math.round).appendXtra("",y[2],_[2]-y[2],S?",":O,Math.round),S&&(y=y.length<4?1:y[3],s.appendXtra("",y,(_.length<4?1:_[3])-y,O,!1))),ht.lastIndex=0;else if(w=y.match(v),w){if(x=_.match(b),!x||x.length!==w.length)return s;for(m=0,h=0;h<w.length;h++)P=w[h],C=y.indexOf(P,m),s.appendXtra(y.substr(m,C-m),Number(P),at(x[h],P),"",!(!L||"px"!==y.substr(C+P.length,2))&&Math.round,0===h),m=C+P.length;s["xs"+s.l]+=y.substr(m)}else s["xs"+s.l]+=s.l||s["xs"+s.l]?" "+_:_;if(-1!==r.indexOf("=")&&s.data){for(O=s.xs0+s.data.s,d=1;d<s.l;d++)O+=s["xs"+d]+s.data["xn"+d];s.e=O+s["xs"+d]}return s.l||(s.type=-1,s.xs0=s.e),s.xfirst||s},_t=9;s=bt.prototype,s.l=s.pr=0;while(--_t>0)s["xn"+_t]=0,s["xs"+_t]="";s.xs0="",s._next=s._prev=s.xfirst=s.data=s.plugin=s.setRatio=s.rxp=null,s.appendXtra=function(t,e,n,r,i,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]=r||"",s>0?(a.data["xn"+s]=e+n,a.rxp["xn"+s]=i,a["xn"+s]=e,a.plugin||(a.xfirst=new bt(a,"xn"+s,e,n,a.xfirst||a,0,a.n,i,a.pr),a.xfirst.xs0=0),a):(a.data={s:e+n},a.rxp={},a.s=e,a.c=n,a.r=i,a)):(a["xs"+s]+=e+(r||""),a)};var wt=function(t,e){e=e||{},this.p=e.prefix&&q(t)||t,a[t]=a[this.p]=this,this.format=e.formatter||pt(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.pr=e.priority||0},xt=B._registerComplexSpecialProp=function(t,e,n){"object"!==typeof e&&(e={parser:n});var r,i=t.split(","),o=e.defaultValue;for(n=n||[o],r=0;r<i.length;r++)e.prefix=0===r&&e.prefix,e.defaultValue=n[r]||o,new wt(i[r],e)},Tt=B._registerPluginProp=function(t){if(!a[t]){var e=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin";xt(t,{parser:function(t,n,r,i,s,c,l){var f=o.com.greensock.plugins[e];return f?(f._cssRegister(),a[r].parse(t,n,r,i,s,c,l)):(V("Error: "+e+" js file not loaded."),s)}})}};s=wt.prototype,s.parseComplex=function(t,e,n,r,i,o){var a,s,c,l,f,u,d=this.keyword;if(this.multi&&(R.test(n)||R.test(e)?(s=e.replace(R,"|").split("|"),c=n.replace(R,"|").split("|")):d&&(s=[e],c=[n])),c){for(l=c.length>s.length?c.length:s.length,a=0;a<l;a++)e=s[a]=s[a]||this.dflt,n=c[a]=c[a]||this.dflt,d&&(f=e.indexOf(d),u=n.indexOf(d),f!==u&&(-1===u?s[a]=s[a].split(d).join(""):-1===f&&(s[a]+=" "+d)));e=s.join(", "),n=c.join(", ")}return yt(t,this.p,e,n,this.clrs,this.dflt,r,this.pr,i,o)},s.parse=function(t,e,r,i,o,a,s){return this.parseComplex(t.style,this.format(K(t,this.p,n,!1,this.dflt)),this.format(e),o,a)},i.registerSpecialProp=function(t,e,n){xt(t,{parser:function(t,r,i,o,a,s,c){var l=new bt(t,i,0,0,a,2,i,!1,n);return l.plugin=s,l.setRatio=e(t,r,o._tween,i),l},priority:n})},i.useSVGTransformAttr=!0;var St,Ct="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Pt=q("transform"),Ot=$+"transform",At=q("transformOrigin"),Mt=null!==q("perspective"),kt=B.Transform=function(){this.perspective=parseFloat(i.defaultTransformPerspective)||0,this.force3D=!(!1===i.defaultForce3D||!Mt)&&(i.defaultForce3D||"auto")},Et=Xt["c"].SVGElement,Rt=function(t,e,n){var r,i=X.createElementNS("http://www.w3.org/2000/svg",t),o=/([a-z])([A-Z])/g;for(r in n)i.setAttributeNS(null,r.replace(o,"$1-$2").toLowerCase(),n[r]);return e.appendChild(i),i},Lt=X.documentElement||{},Dt=function(){var t,e,n,r=h||/Android/i.test(U)&&!Xt["c"].chrome;return X.createElementNS&&!r&&(t=Rt("svg",Lt),e=Rt("rect",t,{width:100,height:50,x:100}),n=e.getBoundingClientRect().width,e.style[At]="50% 50%",e.style[Pt]="scaleX(0.5)",r=n===e.getBoundingClientRect().width&&!(u&&Mt),Lt.removeChild(t)),r}(),Nt=function(t,e,n,r,o,a){var s,c,l,f,u,d,h,p,g,v,b,m,y,_,w=t._gsTransform,x=jt(t,!0);w&&(y=w.xOrigin,_=w.yOrigin),(!r||(s=r.split(" ")).length<2)&&(h=t.getBBox(),0===h.x&&0===h.y&&h.width+h.height===0&&(h={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}),e=ot(e).split(" "),s=[(-1!==e[0].indexOf("%")?parseFloat(e[0])/100*h.width:parseFloat(e[0]))+h.x,(-1!==e[1].indexOf("%")?parseFloat(e[1])/100*h.height:parseFloat(e[1]))+h.y]),n.xOrigin=f=parseFloat(s[0]),n.yOrigin=u=parseFloat(s[1]),r&&x!==Ft&&(d=x[0],h=x[1],p=x[2],g=x[3],v=x[4],b=x[5],m=d*g-h*p,m&&(c=f*(g/m)+u*(-p/m)+(p*b-g*v)/m,l=f*(-h/m)+u*(d/m)-(d*b-h*v)/m,f=n.xOrigin=s[0]=c,u=n.yOrigin=s[1]=l)),w&&(a&&(n.xOffset=w.xOffset,n.yOffset=w.yOffset,w=n),o||!1!==o&&!1!==i.defaultSmoothOrigin?(c=f-y,l=u-_,w.xOffset+=c*x[0]+l*x[2]-c,w.yOffset+=c*x[1]+l*x[3]-l):w.xOffset=w.yOffset=0),a||t.setAttribute("data-svg-origin",s.join(" "))},It=function(t){var e,n=Y("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,i=this.nextSibling,o=this.style.cssText;if(Lt.appendChild(n),n.appendChild(this),this.style.display="block",t)try{e=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=It}catch(a){}else this._originalGetBBox&&(e=this._originalGetBBox());return i?r.insertBefore(this,i):r.appendChild(this),Lt.removeChild(n),this.style.cssText=o,e},Wt=function(t){try{return t.getBBox()}catch(e){return It.call(t,!0)}},Yt=function(t){return!(!Et||!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Wt(t))},Ft=[1,0,0,1,0,0],jt=function(t,e){var n,r,i,o,a,s,c=t._gsTransform||new kt,l=1e5,f=t.style;if(Pt?r=K(t,Ot,null,!0):t.currentStyle&&(r=t.currentStyle.filter.match(k),r=r&&4===r.length?[r[0].substr(4),Number(r[2].substr(4)),Number(r[1].substr(4)),r[3].substr(4),c.x||0,c.y||0].join(","):""),n=!r||"none"===r||"matrix(1, 0, 0, 1, 0, 0)"===r,!Pt||!(s=!Z(t)||"none"===Z(t).display)&&t.parentNode||(s&&(o=f.display,f.display="block"),t.parentNode||(a=1,Lt.appendChild(t)),r=K(t,Ot,null,!0),n=!r||"none"===r||"matrix(1, 0, 0, 1, 0, 0)"===r,o?f.display=o:s&&Vt(f,"display"),a&&Lt.removeChild(t)),(c.svg||t.getCTM&&Yt(t))&&(n&&-1!==(f[Pt]+"").indexOf("matrix")&&(r=f[Pt],n=0),i=t.getAttribute("transform"),n&&i&&(i=t.transform.baseVal.consolidate().matrix,r="matrix("+i.a+","+i.b+","+i.c+","+i.d+","+i.e+","+i.f+")",n=0)),n)return Ft;i=(r||"").match(v)||[],_t=i.length;while(--_t>-1)o=Number(i[_t]),i[_t]=(a=o-(o|=0))?(a*l+(a<0?-.5:.5)|0)/l+o:o;return e&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i},Bt=B.getTransform=function(t,e,n,r){if(t._gsTransform&&n&&!r)return t._gsTransform;var o,a,s,c,l,f,u=n&&t._gsTransform||new kt,d=u.scaleX<0,h=2e-5,p=1e5,g=Mt&&(parseFloat(K(t,At,e,!1,"0 0 0").split(" ")[2])||u.zOrigin)||0,v=parseFloat(i.defaultTransformPerspective)||0;if(u.svg=!(!t.getCTM||!Yt(t)),u.svg&&(Nt(t,K(t,At,e,!1,"50% 50%")+"",u,t.getAttribute("data-svg-origin")),St=i.useSVGTransformAttr||Dt),o=jt(t),o!==Ft){if(16===o.length){var b,m,y,_,w,x=o[0],T=o[1],S=o[2],C=o[3],P=o[4],O=o[5],A=o[6],M=o[7],k=o[8],E=o[9],R=o[10],L=o[12],D=o[13],I=o[14],W=o[11],X=Math.atan2(A,R);u.zOrigin&&(I=-u.zOrigin,L=k*I-o[12],D=E*I-o[13],I=R*I+u.zOrigin-o[14]),u.rotationX=X*N,X&&(_=Math.cos(-X),w=Math.sin(-X),b=P*_+k*w,m=O*_+E*w,y=A*_+R*w,k=P*-w+k*_,E=O*-w+E*_,R=A*-w+R*_,W=M*-w+W*_,P=b,O=m,A=y),X=Math.atan2(-S,R),u.rotationY=X*N,X&&(_=Math.cos(-X),w=Math.sin(-X),b=x*_-k*w,m=T*_-E*w,y=S*_-R*w,E=T*w+E*_,R=S*w+R*_,W=C*w+W*_,x=b,T=m,S=y),X=Math.atan2(T,x),u.rotation=X*N,X&&(_=Math.cos(X),w=Math.sin(X),b=x*_+T*w,m=P*_+O*w,y=k*_+E*w,T=T*_-x*w,O=O*_-P*w,E=E*_-k*w,x=b,P=m,k=y),u.rotationX&&Math.abs(u.rotationX)+Math.abs(u.rotation)>359.9&&(u.rotationX=u.rotation=0,u.rotationY=180-u.rotationY),X=Math.atan2(P,O),u.scaleX=(Math.sqrt(x*x+T*T+S*S)*p+.5|0)/p,u.scaleY=(Math.sqrt(O*O+A*A)*p+.5|0)/p,u.scaleZ=(Math.sqrt(k*k+E*E+R*R)*p+.5|0)/p,x/=u.scaleX,P/=u.scaleY,T/=u.scaleX,O/=u.scaleY,Math.abs(X)>h?(u.skewX=X*N,P=0,"simple"!==u.skewType&&(u.scaleY*=1/Math.cos(X))):u.skewX=0,u.perspective=W?1/(W<0?-W:W):0,u.x=L,u.y=D,u.z=I,u.svg&&(u.x-=u.xOrigin-(u.xOrigin*x-u.yOrigin*P),u.y-=u.yOrigin-(u.yOrigin*T-u.xOrigin*O))}else if(!Mt||r||!o.length||u.x!==o[4]||u.y!==o[5]||!u.rotationX&&!u.rotationY){var Y=o.length>=6,F=Y?o[0]:1,j=o[1]||0,B=o[2]||0,U=Y?o[3]:1;u.x=o[4]||0,u.y=o[5]||0,s=Math.sqrt(F*F+j*j),c=Math.sqrt(U*U+B*B),l=F||j?Math.atan2(j,F)*N:u.rotation||0,f=B||U?Math.atan2(B,U)*N+l:u.skewX||0,u.scaleX=s,u.scaleY=c,u.rotation=l,u.skewX=f,Mt&&(u.rotationX=u.rotationY=u.z=0,u.perspective=v,u.scaleZ=1),u.svg&&(u.x-=u.xOrigin-(u.xOrigin*F+u.yOrigin*B),u.y-=u.yOrigin-(u.xOrigin*j+u.yOrigin*U))}for(a in Math.abs(u.skewX)>90&&Math.abs(u.skewX)<270&&(d?(u.scaleX*=-1,u.skewX+=u.rotation<=0?180:-180,u.rotation+=u.rotation<=0?180:-180):(u.scaleY*=-1,u.skewX+=u.skewX<=0?180:-180)),u.zOrigin=g,u)u[a]<h&&u[a]>-h&&(u[a]=0)}return n&&(t._gsTransform=u,u.svg&&(St&&t.style[Pt]?Xt["d"].delayedCall(.001,function(){Vt(t.style,Pt)}):!St&&t.getAttribute("transform")&&Xt["d"].delayedCall(.001,function(){t.removeAttribute("transform")}))),u},Ut=function(t){var e,n,r=this.data,i=-r.rotation*D,o=i+r.skewX*D,a=1e5,s=(Math.cos(i)*r.scaleX*a|0)/a,c=(Math.sin(i)*r.scaleX*a|0)/a,l=(Math.sin(o)*-r.scaleY*a|0)/a,f=(Math.cos(o)*r.scaleY*a|0)/a,u=this.t.style,d=this.t.currentStyle;if(d){n=c,c=-l,l=-n,e=d.filter,u.filter="";var p,g,v=this.t.offsetWidth,b=this.t.offsetHeight,m="absolute"!==d.position,y="progid:DXImageTransform.Microsoft.Matrix(M11="+s+", M12="+c+", M21="+l+", M22="+f,x=r.x+v*r.xPercent/100,T=r.y+b*r.yPercent/100;if(null!=r.ox&&(p=(r.oxp?v*r.ox*.01:r.ox)-v/2,g=(r.oyp?b*r.oy*.01:r.oy)-b/2,x+=p-(p*s+g*c),T+=g-(p*l+g*f)),m?(p=v/2,g=b/2,y+=", Dx="+(p-(p*s+g*c)+x)+", Dy="+(g-(p*l+g*f)+T)+")"):y+=", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?u.filter=e.replace(E,y):u.filter=y+" "+e,0!==t&&1!==t||1===s&&0===c&&0===l&&1===f&&(m&&-1===y.indexOf("Dx=0, Dy=0")||w.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&u.removeAttribute("filter")),!m){var S,C,P,O=h<8?1:-1;for(p=r.ieOffsetX||0,g=r.ieOffsetY||0,r.ieOffsetX=Math.round((v-((s<0?-s:s)*v+(c<0?-c:c)*b))/2+x),r.ieOffsetY=Math.round((b-((f<0?-f:f)*b+(l<0?-l:l)*v))/2+T),_t=0;_t<4;_t++)C=rt[_t],S=d[C],n=-1!==S.indexOf("px")?parseFloat(S):Q(this.t,C,parseFloat(S),S.replace(_,""))||0,P=n!==r[C]?_t<2?-r.ieOffsetX:-r.ieOffsetY:_t<2?p-r.ieOffsetX:g-r.ieOffsetY,u[C]=(r[C]=Math.round(n-P*(0===_t||2===_t?1:O)))+"px"}}},Ht=B.set3DTransformRatio=B.setTransformRatio=function(t){var e,n,r,i,o,a,s,c,l,f,d,h,p,g,v,b,m,y,_,w,x,T,S,C=this.data,P=this.t.style,O=C.rotation,A=C.rotationX,M=C.rotationY,k=C.scaleX,E=C.scaleY,R=C.scaleZ,L=C.x,N=C.y,I=C.z,W=C.svg,X=C.perspective,Y=C.force3D,F=C.skewY,j=C.skewX;if(F&&(j+=F,O+=F),!((1!==t&&0!==t||"auto"!==Y||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&Y||I||X||M||A||1!==R)||St&&W||!Mt)O||j||W?(O*=D,T=j*D,S=1e5,n=Math.cos(O)*k,o=Math.sin(O)*k,r=Math.sin(O-T)*-E,a=Math.cos(O-T)*E,T&&"simple"===C.skewType&&(e=Math.tan(T-F*D),e=Math.sqrt(1+e*e),r*=e,a*=e,F&&(e=Math.tan(F*D),e=Math.sqrt(1+e*e),n*=e,o*=e)),W&&(L+=C.xOrigin-(C.xOrigin*n+C.yOrigin*r)+C.xOffset,N+=C.yOrigin-(C.xOrigin*o+C.yOrigin*a)+C.yOffset,St&&(C.xPercent||C.yPercent)&&(v=this.t.getBBox(),L+=.01*C.xPercent*v.width,N+=.01*C.yPercent*v.height),v=1e-6,L<v&&L>-v&&(L=0),N<v&&N>-v&&(N=0)),_=(n*S|0)/S+","+(o*S|0)/S+","+(r*S|0)/S+","+(a*S|0)/S+","+L+","+N+")",W&&St?this.t.setAttribute("transform","matrix("+_):P[Pt]=(C.xPercent||C.yPercent?"translate("+C.xPercent+"%,"+C.yPercent+"%) matrix(":"matrix(")+_):P[Pt]=(C.xPercent||C.yPercent?"translate("+C.xPercent+"%,"+C.yPercent+"%) matrix(":"matrix(")+k+",0,0,"+E+","+L+","+N+")";else{if(u&&(v=1e-4,k<v&&k>-v&&(k=R=2e-5),E<v&&E>-v&&(E=R=2e-5),!X||C.z||C.rotationX||C.rotationY||(X=0)),O||j)O*=D,b=n=Math.cos(O),m=o=Math.sin(O),j&&(O-=j*D,b=Math.cos(O),m=Math.sin(O),"simple"===C.skewType&&(e=Math.tan((j-F)*D),e=Math.sqrt(1+e*e),b*=e,m*=e,C.skewY&&(e=Math.tan(F*D),e=Math.sqrt(1+e*e),n*=e,o*=e))),r=-m,a=b;else{if(!(M||A||1!==R||X||W))return void(P[Pt]=(C.xPercent||C.yPercent?"translate("+C.xPercent+"%,"+C.yPercent+"%) translate3d(":"translate3d(")+L+"px,"+N+"px,"+I+"px)"+(1!==k||1!==E?" scale("+k+","+E+")":""));n=a=1,r=o=0}f=1,i=s=c=l=d=h=0,p=X?-1/X:0,g=C.zOrigin,v=1e-6,w=",",x="0",O=M*D,O&&(b=Math.cos(O),m=Math.sin(O),c=-m,d=p*-m,i=n*m,s=o*m,f=b,p*=b,n*=b,o*=b),O=A*D,O&&(b=Math.cos(O),m=Math.sin(O),e=r*b+i*m,y=a*b+s*m,l=f*m,h=p*m,i=r*-m+i*b,s=a*-m+s*b,f*=b,p*=b,r=e,a=y),1!==R&&(i*=R,s*=R,f*=R,p*=R),1!==E&&(r*=E,a*=E,l*=E,h*=E),1!==k&&(n*=k,o*=k,c*=k,d*=k),(g||W)&&(g&&(L+=i*-g,N+=s*-g,I+=f*-g+g),W&&(L+=C.xOrigin-(C.xOrigin*n+C.yOrigin*r)+C.xOffset,N+=C.yOrigin-(C.xOrigin*o+C.yOrigin*a)+C.yOffset),L<v&&L>-v&&(L=x),N<v&&N>-v&&(N=x),I<v&&I>-v&&(I=0)),_=C.xPercent||C.yPercent?"translate("+C.xPercent+"%,"+C.yPercent+"%) matrix3d(":"matrix3d(",_+=(n<v&&n>-v?x:n)+w+(o<v&&o>-v?x:o)+w+(c<v&&c>-v?x:c),_+=w+(d<v&&d>-v?x:d)+w+(r<v&&r>-v?x:r)+w+(a<v&&a>-v?x:a),A||M||1!==R?(_+=w+(l<v&&l>-v?x:l)+w+(h<v&&h>-v?x:h)+w+(i<v&&i>-v?x:i),_+=w+(s<v&&s>-v?x:s)+w+(f<v&&f>-v?x:f)+w+(p<v&&p>-v?x:p)+w):_+=",0,0,0,0,1,0,",_+=L+w+N+w+I+w+(X?1+-I/X:1)+")",P[Pt]=_}};s=kt.prototype,s.x=s.y=s.z=s.skewX=s.skewY=s.rotation=s.rotationX=s.rotationY=s.zOrigin=s.xPercent=s.yPercent=s.xOffset=s.yOffset=0,s.scaleX=s.scaleY=s.scaleZ=1,xt("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,r,o,a,s,c){if(o._lastParsedTransform===c)return a;o._lastParsedTransform=c;var l,f=c.scale&&"function"===typeof c.scale?c.scale:0;"function"===typeof c[r]&&(l=c[r],c[r]=e),f&&(c.scale=f(g,t));var u,d,h,v,b,m,y,_,w,x=t._gsTransform,T=t.style,S=1e-6,C=Ct.length,P=c,O={},A="transformOrigin",M=Bt(t,n,!0,P.parseTransform),k=P.transform&&("function"===typeof P.transform?P.transform(g,p):P.transform);if(M.skewType=P.skewType||M.skewType||i.defaultSkewType,o._transform=M,"rotationZ"in P&&(P.rotation=P.rotationZ),k&&"string"===typeof k&&Pt)d=F.style,d[Pt]=k,d.display="block",d.position="absolute",-1!==k.indexOf("%")&&(d.width=K(t,"width"),d.height=K(t,"height")),X.body.appendChild(F),u=Bt(F,null,!1),"simple"===M.skewType&&(u.scaleY*=Math.cos(u.skewX*D)),M.svg&&(m=M.xOrigin,y=M.yOrigin,u.x-=M.xOffset,u.y-=M.yOffset,(P.transformOrigin||P.svgOrigin)&&(k={},Nt(t,ot(P.transformOrigin),k,P.svgOrigin,P.smoothOrigin,!0),m=k.xOrigin,y=k.yOrigin,u.x-=k.xOffset-M.xOffset,u.y-=k.yOffset-M.yOffset),(m||y)&&(_=jt(F,!0),u.x-=m-(m*_[0]+y*_[2]),u.y-=y-(m*_[1]+y*_[3]))),X.body.removeChild(F),u.perspective||(u.perspective=M.perspective),null!=P.xPercent&&(u.xPercent=st(P.xPercent,M.xPercent)),null!=P.yPercent&&(u.yPercent=st(P.yPercent,M.yPercent));else if("object"===typeof P){if(u={scaleX:st(null!=P.scaleX?P.scaleX:P.scale,M.scaleX),scaleY:st(null!=P.scaleY?P.scaleY:P.scale,M.scaleY),scaleZ:st(P.scaleZ,M.scaleZ),x:st(P.x,M.x),y:st(P.y,M.y),z:st(P.z,M.z),xPercent:st(P.xPercent,M.xPercent),yPercent:st(P.yPercent,M.yPercent),perspective:st(P.transformPerspective,M.perspective)},b=P.directionalRotation,null!=b)if("object"===typeof b)for(d in b)P[d]=b[d];else P.rotation=b;"string"===typeof P.x&&-1!==P.x.indexOf("%")&&(u.x=0,u.xPercent=st(P.x,M.xPercent)),"string"===typeof P.y&&-1!==P.y.indexOf("%")&&(u.y=0,u.yPercent=st(P.y,M.yPercent)),u.rotation=ct("rotation"in P?P.rotation:"shortRotation"in P?P.shortRotation+"_short":M.rotation,M.rotation,"rotation",O),Mt&&(u.rotationX=ct("rotationX"in P?P.rotationX:"shortRotationX"in P?P.shortRotationX+"_short":M.rotationX||0,M.rotationX,"rotationX",O),u.rotationY=ct("rotationY"in P?P.rotationY:"shortRotationY"in P?P.shortRotationY+"_short":M.rotationY||0,M.rotationY,"rotationY",O)),u.skewX=ct(P.skewX,M.skewX),u.skewY=ct(P.skewY,M.skewY)}Mt&&null!=P.force3D&&(M.force3D=P.force3D,v=!0),h=M.force3D||M.z||M.rotationX||M.rotationY||u.z||u.rotationX||u.rotationY||u.perspective,h||null==P.scale||(u.scaleZ=1);while(--C>-1)w=Ct[C],k=u[w]-M[w],(k>S||k<-S||null!=P[w]||null!=I[w])&&(v=!0,a=new bt(M,w,M[w],k,a),w in O&&(a.e=O[w]),a.xs0=0,a.plugin=s,o._overwriteProps.push(a.n));return k=P.transformOrigin,M.svg&&(k||P.svgOrigin)&&(m=M.xOffset,y=M.yOffset,Nt(t,ot(k),u,P.svgOrigin,P.smoothOrigin),a=mt(M,"xOrigin",(x?M:u).xOrigin,u.xOrigin,a,A),a=mt(M,"yOrigin",(x?M:u).yOrigin,u.yOrigin,a,A),m===M.xOffset&&y===M.yOffset||(a=mt(M,"xOffset",x?m:M.xOffset,M.xOffset,a,A),a=mt(M,"yOffset",x?y:M.yOffset,M.yOffset,a,A)),k="0px 0px"),(k||Mt&&h&&M.zOrigin)&&(Pt?(v=!0,w=At,k=(k||K(t,w,n,!1,"50% 50%"))+"",a=new bt(T,w,0,0,a,-1,A),a.b=T[w],a.plugin=s,Mt?(d=M.zOrigin,k=k.split(" "),M.zOrigin=(k.length>2&&(0===d||"0px"!==k[2])?parseFloat(k[2]):d)||0,a.xs0=a.e=k[0]+" "+(k[1]||"50%")+" 0px",a=new bt(M,"zOrigin",0,0,a,-1,a.n),a.b=d,a.xs0=a.e=M.zOrigin):a.xs0=a.e=k):ot(k+"",M)),v&&(o._transformType=M.svg&&St||!h&&3!==this._transformType?2:3),l&&(c[r]=l),f&&(c.scale=f),a},prefix:!0}),xt("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),xt("borderRadius",{defaultValue:"0px",parser:function(t,r,i,o,a,s){r=this.format(r);var c,l,f,u,d,h,p,g,v,b,m,y,_,w,x,T,S=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],C=t.style;for(v=parseFloat(t.offsetWidth),b=parseFloat(t.offsetHeight),c=r.split(" "),l=0;l<S.length;l++)this.p.indexOf("border")&&(S[l]=q(S[l])),d=u=K(t,S[l],n,!1,"0px"),-1!==d.indexOf(" ")&&(u=d.split(" "),d=u[0],u=u[1]),h=f=c[l],p=parseFloat(d),y=d.substr((p+"").length),_="="===h.charAt(1),_?(g=parseInt(h.charAt(0)+"1",10),h=h.substr(2),g*=parseFloat(h),m=h.substr((g+"").length-(g<0?1:0))||""):(g=parseFloat(h),m=h.substr((g+"").length)),""===m&&(m=e[i]||y),m!==y&&(w=Q(t,"borderLeft",p,y),x=Q(t,"borderTop",p,y),"%"===m?(d=w/v*100+"%",u=x/b*100+"%"):"em"===m?(T=Q(t,"borderLeft",1,"em"),d=w/T+"em",u=x/T+"em"):(d=w+"px",u=x+"px"),_&&(h=parseFloat(d)+g+m,f=parseFloat(u)+g+m)),a=yt(C,S[l],d+" "+u,h+" "+f,!1,"0px",a);return a},prefix:!0,formatter:pt("0px 0px 0px 0px",!1,!0)}),xt("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(t,e,r,i,o,a){return yt(t.style,r,this.format(K(t,r,n,!1,"0px 0px")),this.format(e),!1,"0px",o)},prefix:!0,formatter:pt("0px 0px",!1,!0)}),xt("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,r,i,o,a){var s,c,l,f,u,d,p="background-position",g=n||Z(t,null),v=this.format((g?h?g.getPropertyValue(p+"-x")+" "+g.getPropertyValue(p+"-y"):g.getPropertyValue(p):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),b=this.format(e);if(-1!==v.indexOf("%")!==(-1!==b.indexOf("%"))&&b.split(",").length<2&&(d=K(t,"backgroundImage").replace(O,""),d&&"none"!==d)){s=v.split(" "),c=b.split(" "),j.setAttribute("src",d),l=2;while(--l>-1)v=s[l],f=-1!==v.indexOf("%"),f!==(-1!==c[l].indexOf("%"))&&(u=0===l?t.offsetWidth-j.width:t.offsetHeight-j.height,s[l]=f?parseFloat(v)/100*u+"px":parseFloat(v)/u*100+"%");v=s.join(" ")}return this.parseComplex(t.style,v,b,o,a)},formatter:ot}),xt("backgroundSize",{defaultValue:"0 0",formatter:function(t){return t+="","co"===t.substr(0,2)?t:ot(-1===t.indexOf(" ")?t+" "+t:t)}}),xt("perspective",{defaultValue:"0px",prefix:!0}),xt("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),xt("transformStyle",{prefix:!0}),xt("backfaceVisibility",{prefix:!0}),xt("userSelect",{prefix:!0}),xt("margin",{parser:gt("marginTop,marginRight,marginBottom,marginLeft")}),xt("padding",{parser:gt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),xt("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,r,i,o,a){var s,c,l;return h<9?(c=t.currentStyle,l=h<8?" ":",",s="rect("+c.clipTop+l+c.clipRight+l+c.clipBottom+l+c.clipLeft+")",e=this.format(e).split(",").join(l)):(s=this.format(K(t,this.p,n,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,s,e,o,a)}}),xt("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),xt("autoRound,strictUnits",{parser:function(t,e,n,r,i){return i}}),xt("border",{defaultValue:"0px solid #000",parser:function(t,e,r,i,o,a){var s=K(t,"borderTopWidth",n,!1,"0px"),c=this.format(e).split(" "),l=c[0].replace(_,"");return"px"!==l&&(s=parseFloat(s)/Q(t,"borderTopWidth",1,l)+l),this.parseComplex(t.style,this.format(s+" "+K(t,"borderTopStyle",n,!1,"solid")+" "+K(t,"borderTopColor",n,!1,"#000")),c.join(" "),o,a)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(ht)||["#000"])[0]}}),xt("borderWidth",{parser:gt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),xt("float,cssFloat,styleFloat",{parser:function(t,e,n,r,i,o){var a=t.style,s="cssFloat"in a?"cssFloat":"styleFloat";return new bt(a,s,0,0,i,-1,n,!1,0,a[s],e)}});var zt=function(t){var e,n=this.t,r=n.filter||K(this.data,"filter")||"",i=this.s+this.c*t|0;100===i&&(-1===r.indexOf("atrix(")&&-1===r.indexOf("radient(")&&-1===r.indexOf("oader(")?(n.removeAttribute("filter"),e=!K(this.data,"filter")):(n.filter=r.replace(T,""),e=!0)),e||(this.xn1&&(n.filter=r=r||"alpha(opacity="+i+")"),-1===r.indexOf("pacity")?0===i&&this.xn1||(n.filter=r+" alpha(opacity="+i+")"):n.filter=r.replace(w,"opacity="+i))};xt("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,r,i,o,a){var s=parseFloat(K(t,"opacity",n,!1,"1")),c=t.style,l="autoAlpha"===r;return"string"===typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+s),l&&1===s&&"hidden"===K(t,"visibility",n)&&0!==e&&(s=0),H?o=new bt(c,"opacity",s,e-s,o):(o=new bt(c,"opacity",100*s,100*(e-s),o),o.xn1=l?1:0,c.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=zt),l&&(o=new bt(c,"visibility",0,0,o,-1,null,!1,0,0!==s?"inherit":"hidden",0===e?"hidden":"inherit"),o.xs0="inherit",i._overwriteProps.push(o.n),i._overwriteProps.push(r)),o}});var Vt=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))},$t=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);var e=this.data,n=this.t.style;while(e)e.v?n[e.p]=e.v:Vt(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)};xt("className",{parser:function(e,r,i,o,a,s,c){var l,f,u,d,h,p=e.getAttribute("class")||"",g=e.style.cssText;if(a=o._classNamePT=new bt(e,i,0,0,a,2),a.setRatio=$t,a.pr=-11,t=!0,a.b=p,f=tt(e,n),u=e._gsClassPT,u){d={},h=u.data;while(h)d[h.p]=1,h=h._next;u.setRatio(1)}return e._gsClassPT=a,a.e="="!==r.charAt(1)?r:p.replace(new RegExp("(?:\\s|^)"+r.substr(2)+"(?![\\w-])"),"")+("+"===r.charAt(0)?" "+r.substr(2):""),e.setAttribute("class",a.e),l=et(e,f,tt(e),c,d),e.setAttribute("class",p),a.data=l.firstMPT,e.style.cssText=g,a=a.xfirst=o.parse(e,l.difs,a,s),a}});var Gt=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,n,r,i,o,s=this.t.style,c=a.transform.parse;if("all"===this.e)s.cssText="",i=!0;else{e=this.e.split(" ").join("").split(","),r=e.length;while(--r>-1)n=e[r],a[n]&&(a[n].parse===c?i=!0:n="transformOrigin"===n?At:a[n].p),Vt(s,n)}i&&(Vt(s,Pt),o=this.t._gsTransform,o&&(o.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};xt("clearProps",{parser:function(e,n,r,i,o){return o=new bt(e,r,0,0,o,2),o.setRatio=Gt,o.e=n,o.pr=-10,o.data=i._tween,t=!0,o}}),s="bezier,throwProps,physicsProps,physics2D".split(","),_t=s.length;while(_t--)Tt(s[_t]);s=i.prototype,s._firstPT=s._lastParsedTransform=s._transform=null,s._onInitTween=function(o,s,u,h){if(!o.nodeType)return!1;this._target=p=o,this._tween=u,this._vars=s,g=h,c=s.autoRound,t=!1,e=s.suffixMap||i.suffixMap,n=Z(o,""),r=this._overwriteProps;var v,b,m,y,_,w,T,S,C,P=o.style;if(l&&""===P.zIndex&&(v=K(o,"zIndex",n),"auto"!==v&&""!==v||this._addLazySet(P,"zIndex",0)),"string"===typeof s&&(y=P.cssText,v=tt(o,n),P.cssText=y+";"+s,v=et(o,v,tt(o)).difs,!H&&x.test(s)&&(v.opacity=parseFloat(RegExp.$1)),s=v,P.cssText=y),s.className?this._firstPT=b=a.className.parse(o,s.className,"className",this,null,null,s):this._firstPT=b=this.parse(o,s,null),this._transformType){C=3===this._transformType,Pt?f&&(l=!0,""===P.zIndex&&(T=K(o,"zIndex",n),"auto"!==T&&""!==T||this._addLazySet(P,"zIndex",0)),d&&this._addLazySet(P,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(C?"visible":"hidden"))):P.zoom=1,m=b;while(m&&m._next)m=m._next;S=new bt(o,"transform",0,0,null,2),this._linkCSSP(S,null,m),S.setRatio=Pt?Ht:Ut,S.data=this._transform||Bt(o,n,!0),S.tween=u,S.pr=-1,r.pop()}if(t){while(b){w=b._next,m=y;while(m&&m.pr>b.pr)m=m._next;(b._prev=m?m._prev:_)?b._prev._next=b:y=b,(b._next=m)?m._prev=b:_=b,b=w}this._firstPT=y}return!0},s.parse=function(t,r,i,o){var s,l,f,u,d,h,v,b,m,y,w=t.style;for(s in r){if(h=r[s],"function"===typeof h&&(h=h(g,p)),l=a[s],l)i=l.parse(t,h,s,this,i,o,r);else{if("--"===s.substr(0,2)){this._tween._propLookup[s]=this._addTween.call(this._tween,t.style,"setProperty",Z(t).getPropertyValue(s)+"",h+"",s,!1,s);continue}d=K(t,s,n)+"",m="string"===typeof h,"color"===s||"fill"===s||"stroke"===s||-1!==s.indexOf("Color")||m&&S.test(h)?(m||(h=ut(h),h=(h.length>3?"rgba(":"rgb(")+h.join(",")+")"),i=yt(w,s,d,h,!0,"transparent",i,0,o)):m&&L.test(h)?i=yt(w,s,d,h,!0,null,i,0,o):(f=parseFloat(d),v=f||0===f?d.substr((f+"").length):"",""!==d&&"auto"!==d||("width"===s||"height"===s?(f=it(t,s,n),v="px"):"left"===s||"top"===s?(f=J(t,s,n),v="px"):(f="opacity"!==s?0:1,v="")),y=m&&"="===h.charAt(1),y?(u=parseInt(h.charAt(0)+"1",10),h=h.substr(2),u*=parseFloat(h),b=h.replace(_,"")):(u=parseFloat(h),b=m?h.replace(_,""):""),""===b&&(b=s in e?e[s]:v),h=u||0===u?(y?u+f:u)+b:r[s],v!==b&&(""===b&&"lineHeight"!==s||(u||0===u)&&f&&(f=Q(t,s,f,v),"%"===b?(f/=Q(t,s,100,"%")/100,!0!==r.strictUnits&&(d=f+"%")):"em"===b||"rem"===b||"vw"===b||"vh"===b?f/=Q(t,s,1,b):"px"!==b&&(u=Q(t,s,u,b),b="px"),y&&(u||0===u)&&(h=u+f+b))),y&&(u+=f),!f&&0!==f||!u&&0!==u?void 0!==w[s]&&(h||h+""!=="NaN"&&null!=h)?(i=new bt(w,s,u||f||0,0,i,-1,s,!1,0,d,h),i.xs0="none"!==h||"display"!==s&&-1===s.indexOf("Style")?h:d):V("invalid "+s+" tween value: "+r[s]):(i=new bt(w,s,f,u-f,i,0,s,!1!==c&&("px"===b||"zIndex"===s),0,d,h),i.xs0=b))}o&&i&&!i.plugin&&(i.plugin=o)}return i},s.setRatio=function(t){var e,n,r,i=this._firstPT,o=1e-6;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)while(i){if(e=i.c*t+i.s,i.r?e=i.r(e):e<o&&e>-o&&(e=0),i.type)if(1===i.type)if(r=i.l,2===r)i.t[i.p]=i.xs0+e+i.xs1+i.xn1+i.xs2;else if(3===r)i.t[i.p]=i.xs0+e+i.xs1+i.xn1+i.xs2+i.xn2+i.xs3;else if(4===r)i.t[i.p]=i.xs0+e+i.xs1+i.xn1+i.xs2+i.xn2+i.xs3+i.xn3+i.xs4;else if(5===r)i.t[i.p]=i.xs0+e+i.xs1+i.xn1+i.xs2+i.xn2+i.xs3+i.xn3+i.xs4+i.xn4+i.xs5;else{for(n=i.xs0+e+i.xs1,r=1;r<i.l;r++)n+=i["xn"+r]+i["xs"+(r+1)];i.t[i.p]=n}else-1===i.type?i.t[i.p]=i.xs0:i.setRatio&&i.setRatio(t);else i.t[i.p]=e+i.xs0;i=i._next}else while(i)2!==i.type?i.t[i.p]=i.b:i.setRatio(t),i=i._next;else while(i){if(2!==i.type)if(i.r&&-1!==i.type)if(e=i.r(i.s+i.c),i.type){if(1===i.type){for(r=i.l,n=i.xs0+e+i.xs1,r=1;r<i.l;r++)n+=i["xn"+r]+i["xs"+(r+1)];i.t[i.p]=n}}else i.t[i.p]=e+i.xs0;else i.t[i.p]=i.e;else i.setRatio(t);i=i._next}},s._enableTransforms=function(t){this._transform=this._transform||Bt(this._target,n,!0),this._transformType=this._transform.svg&&St||!t&&3!==this._transformType?2:3};var qt=function(t){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};s._addLazySet=function(t,e,n){var r=this._firstPT=new bt(t,e,0,0,this._firstPT,2);r.e=n,r.setRatio=qt,r.data=this},s._linkCSSP=function(t,e,n,r){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,r=!0),n?n._next=t:r||null!==this._firstPT||(this._firstPT=t),t._next=e,t._prev=n),t},s._mod=function(t){var e=this._firstPT;while(e)"function"===typeof t[e.p]&&(e.r=t[e.p]),e=e._next},s._kill=function(t){var e,n,r,i=t;if(t.autoAlpha||t.alpha){for(n in i={},t)i[n]=t[n];i.opacity=1,i.autoAlpha&&(i.visibility=1)}t.className&&(e=this._classNamePT)&&(r=e.xfirst,r&&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;while(e)e.plugin&&e.plugin!==n&&e.plugin._kill&&(e.plugin._kill(t),n=e.plugin),e=e._next;return Xt["b"].prototype._kill.call(this,i)};var Zt=function(t,e,n){var r,i,o,a;if(t.slice){i=t.length;while(--i>-1)Zt(t[i],e,n)}else{r=t.childNodes,i=r.length;while(--i>-1)o=r[i],a=o.type,o.style&&(e.push(tt(o)),n&&n.push(o)),1!==a&&9!==a&&11!==a||!o.childNodes.length||Zt(o,e,n)}};return i.cascadeTo=function(t,e,n){var r,i,o,a,s=Xt["d"].to(t,e,n),c=[s],l=[],f=[],u=[],d=Xt["d"]._internals.reservedProps;t=s._targets||s.target,Zt(t,l,u),s.render(e,!0,!0),Zt(t,f),s.render(0,!0,!0),s._enabled(!0),r=u.length;while(--r>-1)if(i=et(u[r],l[r],f[r]),i.firstMPT){for(o in i=i.difs,n)d[o]&&(i[o]=n[o]);for(o in a={},i)a[o]=l[r][o];c.push(Xt["d"].fromTo(u[r],e,a,i))}return c},Xt["b"].activate([i]),i},!0);var Yt=Xt["e"].CSSPlugin;
34/*!
35 * VERSION: 0.16.5
36 * DATE: 2018-08-27
37 * UPDATES AND DOCS AT: http://greensock.com
38 *
39 * 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/).
40 *
41 * @license Copyright (c) 2008-2018, GreenSock. All rights reserved.
42 * This work is subject to the terms at http://greensock.com/standard-license or for
43 * Club GreenSock members, the software agreement that was issued with your membership.
44 *
45 * @author: Jack Doyle, jack@greensock.com
46 */Xt["c"]._gsDefine("utils.Draggable",["events.EventDispatcher","TweenLite","plugins.CSSPlugin"],function(){var t,e,n,r,i,o,a,s,c={css:{},data:"_draggable"},l={css:{},data:"_draggable"},f={css:{},data:"_draggable"},u={css:{}},d=Xt["c"]._gsDefine.globals,h={},p=function(){return!1},g={style:{},appendChild:p,removeChild:p},v=Xt["c"].document||{createElement:function(){return g}},b=v.documentElement||{},m=function(t){return v.createElementNS?v.createElementNS("http://www.w3.org/1999/xhtml",t):v.createElement(t)},y=m("div"),_=[],w=180/Math.PI,x=999999999999999,T=Date.now||function(){return(new Date).getTime()},S=!(v.addEventListener||!v.all),C=v.createElement("div"),P=[],O={},A=0,M=/^(?:a|input|textarea|button|select)$/i,k=0,E=Xt["c"].navigator&&-1!==Xt["c"].navigator.userAgent.toLowerCase().indexOf("android"),R=0,L={},D={},N=function(t){if("string"===typeof t&&(t=Xt["d"].selector(t)),!t||t.nodeType)return[t];var e,n=[],r=t.length;for(e=0;e!==r;n.push(t[e++]));return n},I=function(t,e){var n,r={};if(e)for(n in t)r[n]=t[n]*e;else for(n in t)r[n]=t[n];return r},W=function(){var t=P.length;while(--t>-1)P[t]()},X=function(t){P.push(t),1===P.length&&Xt["d"].ticker.addEventListener("tick",W,this,!1,1)},Y=function(t){var e=P.length;while(--e>-1)P[e]===t&&P.splice(e,1);Xt["d"].to(F,0,{overwrite:"all",delay:15,onComplete:F,data:"_draggable"})},F=function(){P.length||Xt["d"].ticker.removeEventListener("tick",W)},j=function(t,e){var n;for(n in e)void 0===t[n]&&(t[n]=e[n]);return t},B=function(){return null!=window.pageYOffset?window.pageYOffset:null!=v.scrollTop?v.scrollTop:b.scrollTop||v.body.scrollTop||0},U=function(){return null!=window.pageXOffset?window.pageXOffset:null!=v.scrollLeft?v.scrollLeft:b.scrollLeft||v.body.scrollLeft||0},H=function(t,e){Rt(t,"scroll",e),V(t.parentNode)||H(t.parentNode,e)},z=function(t,e){Lt(t,"scroll",e),V(t.parentNode)||z(t.parentNode,e)},V=function(t){return!(t&&t!==b&&t!==v&&t!==v.body&&t!==window&&t.nodeType&&t.parentNode)},$=function(t,e){var n="x"===e?"Width":"Height",r="scroll"+n,i="client"+n,o=v.body;return Math.max(0,V(t)?Math.max(b[r],o[r])-(window["inner"+n]||b[i]||o[i]):t[r]-t[i])},G=function(t){var e=V(t),n=$(t,"x"),r=$(t,"y");e?t=D:G(t.parentNode),t._gsMaxScrollX=n,t._gsMaxScrollY=r,t._gsScrollX=t.scrollLeft||0,t._gsScrollY=t.scrollTop||0},q=function(t,e){return t=t||window.event,h.pageX=t.clientX+v.body.scrollLeft+b.scrollLeft,h.pageY=t.clientY+v.body.scrollTop+b.scrollTop,e&&(t.returnValue=!1),h},Z=function(t){return t?("string"===typeof t&&(t=Xt["d"].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},K=function(e,n){var r,i,o,a=e.style;if(void 0===a[n]){o=["O","Moz","ms","Ms","Webkit"],i=5,r=n.charAt(0).toUpperCase()+n.substr(1);while(--i>-1&&void 0===a[o[i]+r]);if(i<0)return"";t=3===i?"ms":o[i],n=t+r}return n},Q=function(t,e,n){var r=t.style;r&&(void 0===r[e]&&(e=K(t,e)),null==n?r.removeProperty?r.removeProperty(e.replace(/([A-Z])/g,"-$1").toLowerCase()):r.removeAttribute(e):void 0!==r[e]&&(r[e]=n))},J=("undefined"!==typeof window?window:v.defaultView||{getComputedStyle:function(){}}).getComputedStyle,tt=function(t,e){return J(t instanceof Element?t:t.host||(t.parentNode||{}).host||t,e)},et=/(?:Left|Right|Width)/i,nt=/(?:\d|\-|\+|=|#|\.)*/g,rt=function(t,e,n,r,i){if("px"===r||!r)return n;if("auto"===r||!n)return 0;var o,a=et.test(e),s=t,c=y.style,l=n<0;return l&&(n=-n),"%"===r&&-1!==e.indexOf("border")?o=n/100*(a?t.clientWidth:t.clientHeight):(c.cssText="border:0 solid red;position:"+ot(t,"position",!0)+";line-height:0;","%"!==r&&s.appendChild?c[a?"borderLeftWidth":"borderTopWidth"]=n+r:(s=t.parentNode||v.body,c[a?"width":"height"]=n+r),s.appendChild(y),o=parseFloat(y[a?"offsetWidth":"offsetHeight"]),s.removeChild(y),0!==o||i||(o=rt(t,e,n,r,!0))),l?-o:o},it=function(t,e){if("absolute"!==ot(t,"position",!0))return 0;var n="left"===e?"Left":"Top",r=ot(t,"margin"+n,!0);return t["offset"+n]-(rt(t,e,parseFloat(r),(r+"").replace(nt,""))||0)},ot=function(t,e,n){var r,i=(t._gsTransform||{})[e];return i||0===i?i:(t.style&&t.style[e]?i=t.style[e]:(r=tt(t))?(i=r.getPropertyValue(e.replace(/([A-Z])/g,"-$1").toLowerCase()),i=i||r.length?i:r[e]):t.currentStyle&&(i=t.currentStyle[e]),"auto"!==i||"top"!==e&&"left"!==e||(i=it(t,e)),n?i:parseFloat(i)||0)},at=function(t,e,n){var r=t.vars,i=r[n],o=t._listeners[e];"function"===typeof i&&i.apply(r[n+"Scope"]||r.callbackScope||t,r[n+"Params"]||[t.pointerEvent]),o&&t.dispatchEvent(e)},st=function(t,e){var n,r,i,o=Z(t);return o?Ot(o,e):void 0!==t.left?(i=wt(e),{left:t.left-i.x,top:t.top-i.y,width:t.width,height:t.height}):(r=t.min||t.minX||t.minRotation||0,n=t.min||t.minY||0,{left:r,top:n,width:(t.max||t.maxX||t.maxRotation||0)-r,height:(t.max||t.maxY||0)-n})},ct=function(){if(!v.createElementNS)return r=0,void(i=!1);var t,e,n,c,l=m("div"),f=v.createElementNS("http://www.w3.org/2000/svg","svg"),u=m("div"),d=l.style,h=v.body||b,p="flex"===ot(h,"display",!0);v.body&&ut&&(d.position="absolute",h.appendChild(u),u.appendChild(l),c=l.offsetParent,u.style[ut]="rotate(1deg)",s=l.offsetParent===c,u.style.position="absolute",d.height="10px",c=l.offsetTop,u.style.border="5px solid red",a=c!==l.offsetTop,h.removeChild(u)),d=f.style,f.setAttributeNS(null,"width","400px"),f.setAttributeNS(null,"height","400px"),f.setAttributeNS(null,"viewBox","0 0 400 400"),d.display="block",d.boxSizing="border-box",d.border="0px solid red",d.transform="none",l.style.cssText="width:100px;height:100px;overflow:scroll;-ms-overflow-style:none;",h.appendChild(l),l.appendChild(f),n=f.createSVGPoint().matrixTransform(f.getScreenCTM()),e=n.y,l.scrollTop=100,n.x=n.y=0,n=n.matrixTransform(f.getScreenCTM()),o=e-n.y<100.1?0:e-n.y-150,l.removeChild(f),h.removeChild(l),h.appendChild(f),p&&(h.style.display="block"),t=f.getScreenCTM(),e=t.e,d.border="50px solid red",t=f.getScreenCTM(),0===e&&0===t.e&&0===t.f&&1===t.a?(r=1,i=!0):(r=e!==t.e?1:0,i=1!==t.a),p&&(h.style.display="flex"),h.removeChild(f)},lt=""!==K(y,"perspective"),ft=K(y,"transformOrigin").replace(/^ms/g,"Ms").replace(/([A-Z])/g,"-$1").toLowerCase(),ut=K(y,"transform"),dt=ut.replace(/^ms/g,"Ms").replace(/([A-Z])/g,"-$1").toLowerCase(),ht={},pt={},gt=Xt["c"].SVGElement,vt=function(t){return!!(gt&&"function"===typeof t.getBBox&&t.getCTM&&(!t.parentNode||t.parentNode.getBBox&&t.parentNode.getCTM))},bt=Xt["c"].navigator&&(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(Xt["c"].navigator.userAgent)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(Xt["c"].navigator.userAgent))&&parseFloat(RegExp.$1)<11,mt=[],yt=[],_t=function(t){if(!t.getBoundingClientRect||!t.parentNode||!ut)return{offsetTop:0,offsetLeft:0,scaleX:1,scaleY:1,offsetParent:b};if(!1!==Ht.cacheSVGData&&t._dCache&&t._dCache.lastUpdate===Xt["d"].ticker.frame)return t._dCache;var e,n,a,s,c,l,f,u,d,h,p,g,m=t,y=xt(t);if(y.lastUpdate=Xt["d"].ticker.frame,t.getBBox&&!y.isSVGRoot){m=t.parentNode,e=t.getBBox();while(m&&"svg"!==(m.nodeName+"").toLowerCase())m=m.parentNode;return s=_t(m),y.offsetTop=e.y*s.scaleY,y.offsetLeft=e.x*s.scaleX,y.scaleX=s.scaleX,y.scaleY=s.scaleY,y.offsetParent=m||b,y}a=y.offsetParent,a===v.body&&(a=b),yt.length=mt.length=0;while(m){if(c=ot(m,ut,!0),"matrix(1, 0, 0, 1, 0, 0)"!==c&&"none"!==c&&"translate3d(0px, 0px, 0px)"!==c&&(yt.push(m),mt.push(m.style[ut]),m.style[ut]="none"),m===a)break;m=m.parentNode}n=a.getBoundingClientRect(),c=t.getScreenCTM(),u=t.createSVGPoint(),f=u.matrixTransform(c),y.scaleX=Math.sqrt(c.a*c.a+c.b*c.b),y.scaleY=Math.sqrt(c.d*c.d+c.c*c.c),void 0===r&&ct(),y.borderBox&&!i&&t.getAttribute("width")&&(s=tt(t)||{},d=parseFloat(s.borderLeftWidth)+parseFloat(s.borderRightWidth)||0,h=parseFloat(s.borderTopWidth)+parseFloat(s.borderBottomWidth)||0,p=parseFloat(s.width)||0,g=parseFloat(s.height)||0,y.scaleX*=(p-d)/p,y.scaleY*=(g-h)/g),o?(e=t.getBoundingClientRect(),y.offsetLeft=e.left-n.left,y.offsetTop=e.top-n.top):(y.offsetLeft=f.x-n.left,y.offsetTop=f.y-n.top),y.offsetParent=a,l=yt.length;while(--l>-1)yt[l].style[ut]=mt[l];return y},wt=function(t,e){if(e=e||{},!t||t===b||!t.parentNode||t===window)return{x:0,y:0};var n=tt(t),r=ft&&n?n.getPropertyValue(ft):"50% 50%",i=r.split(" "),o=-1!==r.indexOf("left")?"0%":-1!==r.indexOf("right")?"100%":i[0],a=-1!==r.indexOf("top")?"0%":-1!==r.indexOf("bottom")?"100%":i[1];return"center"!==a&&null!=a||(a="50%"),("center"===o||isNaN(parseFloat(o)))&&(o="50%"),t.getBBox&&vt(t)?(t._gsTransform||(Xt["d"].set(t,{x:"+=0",overwrite:!1}),void 0===t._gsTransform.xOrigin&&console.log("Draggable requires at least GSAP 1.17.0")),r=t.getBBox(),e.x=t._gsTransform.xOrigin-r.x,e.y=t._gsTransform.yOrigin-r.y):(t.getBBox&&-1!==(o+a).indexOf("%")&&(t=t.getBBox(),t={offsetWidth:t.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},xt=function(t){if(!1!==Ht.cacheSVGData&&t._dCache&&t._dCache.lastUpdate===Xt["d"].ticker.frame)return t._dCache;var e,n=t._dCache=t._dCache||{},r=tt(t),i=t.getBBox&&vt(t),o="svg"===(t.nodeName+"").toLowerCase();if(n.isSVG=i,n.isSVGRoot=o,n.borderBox="border-box"===r.boxSizing,n.computedStyle=r,o)e=t.parentNode||b,e.insertBefore(y,t),n.offsetParent=y.offsetParent||b,e.removeChild(y);else if(i){e=t.parentNode;while(e&&"svg"!==(e.nodeName+"").toLowerCase())e=e.parentNode;n.offsetParent=e}else n.offsetParent=t.offsetParent;return n},Tt=function(t,e,n,i,o){if(t===window||!t||!t.style||!t.parentNode)return[1,0,0,1,0,0];var c,l,f,u,d,h,p,g,m,y,_,w,x,T,S=t._dCache||xt(t),C=t.parentNode,P=C._dCache||xt(C),O=S.computedStyle,A=S.isSVG?P.offsetParent:C.offsetParent;return c=S.isSVG&&-1!==(t.style[ut]+"").indexOf("matrix")?t.style[ut]:O?O.getPropertyValue(dt):t.currentStyle?t.currentStyle[ut]:"1,0,0,1,0,0",t.getBBox&&-1!==(t.getAttribute("transform")+"").indexOf("matrix")&&(c=t.getAttribute("transform")),c=(c+"").match(/(?:\-|\.|\b)(\d|\.|e\-)+/g)||[1,0,0,1,0,0],c.length>6&&(c=[c[0],c[1],c[4],c[5],c[12],c[13]]),i?c[4]=c[5]=0:S.isSVG&&(d=t._gsTransform)&&(d.xOrigin||d.yOrigin)&&(c[0]=parseFloat(c[0]),c[1]=parseFloat(c[1]),c[2]=parseFloat(c[2]),c[3]=parseFloat(c[3]),c[4]=parseFloat(c[4])-(d.xOrigin-(d.xOrigin*c[0]+d.yOrigin*c[2])),c[5]=parseFloat(c[5])-(d.yOrigin-(d.xOrigin*c[1]+d.yOrigin*c[3]))),e&&(void 0===r&&ct(),f=S.isSVG||S.isSVGRoot?_t(t):t,S.isSVG?(u=t.getBBox(),y=P.isSVGRoot?{x:0,y:0}:C.getBBox(),f={offsetLeft:u.x-y.x,offsetTop:u.y-y.y,offsetParent:S.offsetParent}):S.isSVGRoot?(_=parseInt(O.borderTopWidth,10)||0,w=parseInt(O.borderLeftWidth,10)||0,x=(c[0]-r)*w+c[2]*_,T=c[1]*w+(c[3]-r)*_,h=e.x,p=e.y,g=h-(h*c[0]+p*c[2]),m=p-(h*c[1]+p*c[3]),c[4]=parseFloat(c[4])+g,c[5]=parseFloat(c[5])+m,e.x-=g,e.y-=m,h=f.scaleX,p=f.scaleY,o||(e.x*=h,e.y*=p),c[0]*=h,c[1]*=p,c[2]*=h,c[3]*=p,bt||(e.x+=x,e.y+=T),A===v.body&&f.offsetParent===b&&(A=b)):!a&&t.offsetParent&&(e.x+=parseInt(ot(t.offsetParent,"borderLeftWidth"),10)||0,e.y+=parseInt(ot(t.offsetParent,"borderTopWidth"),10)||0),l=C===b||C===v.body,c[4]=Number(c[4])+e.x+(f.offsetLeft||0)-n.x-(l?0:C.scrollLeft||0),c[5]=Number(c[5])+e.y+(f.offsetTop||0)-n.y-(l?0:C.scrollTop||0),C&&"fixed"===ot(t,"position",O)&&(c[4]+=U(),c[5]+=B()),!C||C===b||A!==f.offsetParent||P.isSVG||s&&"100100"!==Tt(C).join("")||(f=P.isSVGRoot?_t(C):C,c[4]-=f.offsetLeft||0,c[5]-=f.offsetTop||0,a||!P.offsetParent||S.isSVG||S.isSVGRoot||(c[4]-=parseInt(ot(P.offsetParent,"borderLeftWidth"),10)||0,c[5]-=parseInt(ot(P.offsetParent,"borderTopWidth"),10)||0))),c},St=function(t,e){if(!t||t===window||!t.parentNode)return[1,0,0,1,0,0];var n,r,i,o,a,s,c,l,f=wt(t,ht),u=wt(t.parentNode,pt),d=Tt(t,f,u,!1,!e);while((t=t.parentNode)&&t.parentNode&&t!==b)f=u,u=wt(t.parentNode,f===ht?pt:ht),c=Tt(t,f,u),n=d[0],r=d[1],i=d[2],o=d[3],a=d[4],s=d[5],d[0]=n*c[0]+r*c[2],d[1]=n*c[1]+r*c[3],d[2]=i*c[0]+o*c[2],d[3]=i*c[1]+o*c[3],d[4]=a*c[0]+s*c[2]+c[4],d[5]=a*c[1]+s*c[3]+c[5];return e&&(n=d[0],r=d[1],i=d[2],o=d[3],a=d[4],s=d[5],l=n*o-r*i,d[0]=o/l,d[1]=-r/l,d[2]=-i/l,d[3]=n/l,d[4]=(i*s-o*a)/l,d[5]=-(n*s-r*a)/l),d},Ct=function(t,e,n,r,i){t=Z(t);var o=St(t,!1,i),a=e.x,s=e.y;return n&&(wt(t,e),a-=e.x,s-=e.y),r=!0===r?e:r||{},r.x=a*o[0]+s*o[2]+o[4],r.y=a*o[1]+s*o[3]+o[5],r},Pt=function(t,e,n){var r=t.x*e[0]+t.y*e[2]+e[4],i=t.x*e[1]+t.y*e[3]+e[5];return t.x=r*n[0]+i*n[2]+n[4],t.y=r*n[1]+i*n[3]+n[5],t},Ot=function(t,e,n){if(!(t=Z(t)))return null;e=Z(e);var r,i,o,a,s,c,l,f,u,d,h,p,g,m,y,_,w,x,T,C,P,O,A=t.getBBox&&vt(t);if(t===window)a=B(),i=U(),o=i+(b.clientWidth||t.innerWidth||v.body.clientWidth||0),s=a+((t.innerHeight||0)-20<b.clientHeight?b.clientHeight:t.innerHeight||v.body.clientHeight||0);else{if(void 0===e||e===window)return t.getBoundingClientRect();r=wt(t),i=-r.x,a=-r.y,A?(p=t.getBBox(),g=p.width,m=p.height):"svg"!==(t.nodeName+"").toLowerCase()&&t.offsetWidth?(g=t.offsetWidth,m=t.offsetHeight):(P=tt(t),g=parseFloat(P.width),m=parseFloat(P.height)),o=i+g,s=a+m,"svg"!==t.nodeName.toLowerCase()||S||(y=_t(t),O=y.computedStyle||{},x=(t.getAttribute("viewBox")||"0 0").split(" "),T=parseFloat(x[0]),C=parseFloat(x[1]),_=parseFloat(O.borderLeftWidth)||0,w=parseFloat(O.borderTopWidth)||0,o-=g-(g-_)/y.scaleX-T,s-=m-(m-w)/y.scaleY-C,i-=_/y.scaleX-T,a-=w/y.scaleY-C,P&&(o+=(parseFloat(O.borderRightWidth)+_)/y.scaleX,s+=(w+parseFloat(O.borderBottomWidth))/y.scaleY))}return t===e?{left:i,top:a,width:o-i,height:s-a}:(c=St(t),l=St(e,!0),f=Pt({x:i,y:a},c,l),u=Pt({x:o,y:a},c,l),d=Pt({x:o,y:s},c,l),h=Pt({x:i,y:s},c,l),i=Math.min(f.x,u.x,d.x,h.x),a=Math.min(f.y,u.y,d.y,h.y),L.x=L.y=0,n&&wt(e,L),{left:i+L.x,top:a+L.y,width:Math.max(f.x,u.x,d.x,h.x)-i,height:Math.max(f.y,u.y,d.y,h.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]))},Mt=function(t){var e,n,r,i=[],o=t.length;for(e=0;e<o;e++)if(n=t[e],At(n))for(r=n.length,r=0;r<n.length;r++)i.push(n[r]);else n&&0!==n.length&&i.push(n);return i},kt="undefined"!==typeof window&&"ontouchstart"in b&&"orientation"in window,Et=function(t){var e=t.split(","),n=(void 0!==y.onpointerdown?"pointerdown,pointermove,pointerup,pointercancel":void 0!==y.onmspointerdown?"MSPointerDown,MSPointerMove,MSPointerUp,MSPointerCancel":t).split(","),r={},i=4;while(--i>-1)r[e[i]]=n[i],r[n[i]]=e[i];return r}("touchstart,touchmove,touchend,touchcancel"),Rt=function(t,e,n,r){if(t.addEventListener){var i=Et[e];r=r||{passive:!1},t.addEventListener(i||e,n,r),i&&e!==i&&t.addEventListener(e,n,r)}else t.attachEvent&&t.attachEvent("on"+e,n)},Lt=function(t,e,n){if(t.removeEventListener){var r=Et[e];t.removeEventListener(r||e,n),r&&e!==r&&t.removeEventListener(e,n)}else t.detachEvent&&t.detachEvent("on"+e,n)},Dt=function(t,e){var n=t.length;while(--n>-1)if(t[n].identifier===e)return!0;return!1},Nt=function(t){e=t.touches&&k<t.touches.length,Lt(t.target,"touchend",Nt)},It=function(t){e=t.touches&&k<t.touches.length,Rt(t.target,"touchend",Nt)},Wt=function(t,e,n,r,i,o){var a,s,c,l={};if(e)if(1!==i&&e instanceof Array){if(l.end=a=[],c=e.length,"object"===typeof e[0])for(s=0;s<c;s++)a[s]=I(e[s],i);else for(s=0;s<c;s++)a[s]=e[s]*i;n+=1.1,r-=1.1}else l.end="function"===typeof e?function(n){var r,o,a=e.call(t,n);if(1!==i)if("object"===typeof a){for(o in r={},a)r[o]=a[o]*i;a=r}else a*=i;return a}:e;return(n||0===n)&&(l.max=n),(r||0===r)&&(l.min=r),o&&(l.velocity=0),l},Ft=function(t){var e;return!(!t||!t.getAttribute||"BODY"===t.nodeName)&&(!("true"!==(e=t.getAttribute("data-clickable"))&&("false"===e||!t.onclick&&!M.test(t.nodeName+"")&&"true"!==t.getAttribute("contentEditable")))||Ft(t.parentNode))},jt=function(t,e){var n,r=t.length;while(--r>-1)n=t[r],n.ondragstart=n.onselectstart=e?null:p,Q(n,"userSelect",e?"text":"none")},Bt=function(){var t,e=v.createElement("div"),n=v.createElement("div"),r=n.style,i=v.body||y;return r.display="inline-block",r.position="relative",e.style.cssText=n.innerHTML="width:90px; height:40px; padding:10px; overflow:auto; visibility: hidden",e.appendChild(n),i.appendChild(e),t=n.offsetHeight+18>e.scrollHeight,i.removeChild(e),t}(),Ut=function(t,e){t=Z(t),e=e||{};var n,r,i,o,a,s,c=v.createElement("div"),l=c.style,f=t.firstChild,u=0,d=0,h=t.scrollTop,p=t.scrollLeft,g=t.scrollWidth,b=t.scrollHeight,m=0,y=0,_=0;lt&&!1!==e.force3D?(a="translate3d(",s="px,0px)"):ut&&(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,r){if(!arguments.length)return-(t.scrollLeft+d);var i=t.scrollLeft-p,o=d;if((i>2||i<-2)&&!r)return p=t.scrollLeft,Xt["d"].killTweensOf(this,!0,{left:1,scrollLeft:1}),this.left(-p),void(e.onKill&&e.onKill());n=-n,n<0?(d=n-.5|0,n=0):n>y?(d=n-y|0,n=y):d=0,(d||o)&&(a?this._suspendTransforms||(l[ut]=a+-d+"px,"+-u+s):l.left=-d+"px",d+m>=0&&(l.paddingRight=d+m+"px")),t.scrollLeft=0|n,p=t.scrollLeft},this.top=function(n,r){if(!arguments.length)return-(t.scrollTop+u);var i=t.scrollTop-h,o=u;if((i>2||i<-2)&&!r)return h=t.scrollTop,Xt["d"].killTweensOf(this,!0,{top:1,scrollTop:1}),this.top(-h),void(e.onKill&&e.onKill());n=-n,n<0?(u=n-.5|0,n=0):n>_?(u=n-_|0,n=_):u=0,(u||o)&&(a?this._suspendTransforms||(l[ut]=a+-d+"px,"+-u+s):l.top=-u+"px"),t.scrollTop=0|n,h=t.scrollTop},this.maxScrollTop=function(){return _},this.maxScrollLeft=function(){return y},this.disable=function(){f=c.firstChild;while(f)o=f.nextSibling,t.appendChild(f),f=o;t===c.parentNode&&t.removeChild(c)},this.enable=function(){if(f=t.firstChild,f!==c){while(f)o=f.nextSibling,c.appendChild(f),f=o;t.appendChild(c),this.calibrate()}},this.calibrate=function(e){var o,a,s=t.clientWidth===n;h=t.scrollTop,p=t.scrollLeft,s&&t.clientHeight===r&&c.offsetHeight===i&&g===t.scrollWidth&&b===t.scrollHeight&&!e||((u||d)&&(o=this.left(),a=this.top(),this.left(-t.scrollLeft),this.top(-t.scrollTop)),s&&!e||(l.display="block",l.width="auto",l.paddingRight="0px",m=Math.max(0,t.scrollWidth-t.clientWidth),m&&(m+=ot(t,"paddingLeft")+(Bt?ot(t,"paddingRight"):0))),l.display="inline-block",l.position="relative",l.overflow="visible",l.verticalAlign="top",l.width="100%",l.paddingRight=m+"px",Bt&&(l.paddingBottom=ot(t,"paddingBottom",!0)),S&&(l.zoom="1"),n=t.clientWidth,r=t.clientHeight,g=t.scrollWidth,b=t.scrollHeight,y=t.scrollWidth-n,_=t.scrollHeight-r,i=c.offsetHeight,l.display="block",(o||a)&&(this.left(o),this.top(a)))},this.content=c,this.element=t,this._suspendTransforms=!1,this.enable()},Ht=function(t,r){Xt["a"].call(this,t),t=Z(t),n||(n=d.com.greensock.plugins.ThrowPropsPlugin),this.vars=r=I(r||{}),this.target=t,this.x=this.y=this.rotation=0,this.dragResistance=parseFloat(r.dragResistance)||0,this.edgeResistance=isNaN(r.edgeResistance)?1:parseFloat(r.edgeResistance)||0,this.lockAxis=r.lockAxis,this.autoScroll=r.autoScroll||0,this.lockedAxis=null,this.allowEventDefault=!!r.allowEventDefault;var i,o,a,s,h,p,g,m,y,P,M,W,F,B,U,$,K,J,tt,et,nt,rt,it,ct,lt,ft,ut,dt,ht,pt,gt,bt,mt=(r.type||(S?"top,left":"x,y")).toLowerCase(),yt=-1!==mt.indexOf("x")||-1!==mt.indexOf("y"),_t=-1!==mt.indexOf("rotation"),wt=_t?"rotation":yt?"x":"left",xt=yt?"y":"top",Tt=-1!==mt.indexOf("x")||-1!==mt.indexOf("left")||"scroll"===mt,Pt=-1!==mt.indexOf("y")||-1!==mt.indexOf("top")||"scroll"===mt,Ot=r.minimumMovement||2,At=this,Mt=N(r.trigger||r.handle||t),Nt={},Bt=0,zt=!1,Vt=r.autoScrollMarginTop||40,$t=r.autoScrollMarginRight||40,qt=r.autoScrollMarginBottom||40,Zt=r.autoScrollMarginLeft||40,Kt=r.clickableTest||Ft,Qt=0,Jt=function(t){if(!(At.isPressed&&t.which<2))return t.preventDefault(),t.stopPropagation(),!1;At.endDrag()},te=function(e){if(At.autoScroll&&At.isDragging&&(zt||J)){var n,r,i,a,s,c,l,f,u=t,d=15*At.autoScroll;zt=!1,D.scrollTop=null!=window.pageYOffset?window.pageYOffset:null!=b.scrollTop?b.scrollTop:v.body.scrollTop,D.scrollLeft=null!=window.pageXOffset?window.pageXOffset:null!=b.scrollLeft?b.scrollLeft:v.body.scrollLeft,a=At.pointerX-D.scrollLeft,s=At.pointerY-D.scrollTop;while(u&&!r)r=V(u.parentNode),n=r?D:u.parentNode,i=r?{bottom:Math.max(b.clientHeight,window.innerHeight||0),right:Math.max(b.clientWidth,window.innerWidth||0),left:0,top:0}:n.getBoundingClientRect(),c=l=0,Pt&&(f=n._gsMaxScrollY-n.scrollTop,f<0?l=f:s>i.bottom-qt&&f?(zt=!0,l=Math.min(f,d*(1-Math.max(0,i.bottom-s)/qt)|0)):s<i.top+Vt&&n.scrollTop&&(zt=!0,l=-Math.min(n.scrollTop,d*(1-Math.max(0,s-i.top)/Vt)|0)),l&&(n.scrollTop+=l)),Tt&&(f=n._gsMaxScrollX-n.scrollLeft,f<0?c=f:a>i.right-$t&&f?(zt=!0,c=Math.min(f,d*(1-Math.max(0,i.right-a)/$t)|0)):a<i.left+Zt&&n.scrollLeft&&(zt=!0,c=-Math.min(n.scrollLeft,d*(1-Math.max(0,a-i.left)/Zt)|0)),c&&(n.scrollLeft+=c)),r&&(c||l)&&(window.scrollTo(n.scrollLeft,n.scrollTop),pe(At.pointerX+c,At.pointerY+l)),u=n}if(J){var h=At.x,p=At.y,g=1e-6;h<g&&h>-g&&(h=0),p<g&&p>-g&&(p=0),_t?(At.deltaX=h-ut.data.rotation,ut.data.rotation=At.rotation=h,ut.setRatio(1)):o?(Pt&&(At.deltaY=p-o.top(),o.top(p)),Tt&&(At.deltaX=h-o.left(),o.left(h))):yt?(Pt&&(At.deltaY=p-ut.data.y,ut.data.y=p),Tt&&(At.deltaX=h-ut.data.x,ut.data.x=h),ut.setRatio(1)):(Pt&&(At.deltaY=p-parseFloat(t.style.top||0),t.style.top=p+"px"),Tt&&(At.deltaY=h-parseFloat(t.style.left||0),t.style.left=h+"px")),!m||e||pt||(pt=!0,at(At,"drag","onDrag"),pt=!1)}J=!1},ee=function(e,n){var r,i=At.x,a=At.y;t._gsTransform||!yt&&!_t||Xt["d"].set(t,{x:"+=0",overwrite:!1,data:"_draggable"}),yt?(At.y=t._gsTransform.y,At.x=t._gsTransform.x):_t?At.x=At.rotation=t._gsTransform.rotation:o?(At.y=o.top(),At.x=o.left()):(At.y=parseInt(t.style.top,10)||0,At.x=parseInt(t.style.left,10)||0),(et||nt||rt)&&!n&&(At.isDragging||At.isThrowing)&&(rt&&(L.x=At.x,L.y=At.y,r=rt(L),r.x!==At.x&&(At.x=r.x,J=!0),r.y!==At.y&&(At.y=r.y,J=!0)),et&&(r=et(At.x),r!==At.x&&(At.x=r,_t&&(At.rotation=r),J=!0)),nt&&(r=nt(At.y),r!==At.y&&(At.y=r),J=!0)),J&&te(!0),e||(At.deltaX=At.x-i,At.deltaY=At.y-a,at(At,"throwupdate","onThrowUpdate"))},ne=function(){var e,n,i,a;g=!1,o?(o.calibrate(),At.minX=P=-o.maxScrollLeft(),At.minY=W=-o.maxScrollTop(),At.maxX=y=At.maxY=M=0,g=!0):r.bounds&&(e=st(r.bounds,t.parentNode),_t?(At.minX=P=e.left,At.maxX=y=e.left+e.width,At.minY=W=At.maxY=M=0):void 0!==r.bounds.maxX||void 0!==r.bounds.maxY?(e=r.bounds,At.minX=P=e.minX,At.minY=W=e.minY,At.maxX=y=e.maxX,At.maxY=M=e.maxY):(n=st(t,t.parentNode),At.minX=P=ot(t,wt)+e.left-n.left,At.minY=W=ot(t,xt)+e.top-n.top,At.maxX=y=P+(e.width-n.width),At.maxY=M=W+(e.height-n.height)),P>y&&(At.minX=y,At.maxX=y=P,P=At.minX),W>M&&(At.minY=M,At.maxY=M=W,W=At.minY),_t&&(At.minRotation=P,At.maxRotation=y),g=!0),r.liveSnap&&(i=!0===r.liveSnap?r.snap||{}:r.liveSnap,a=i instanceof Array||"function"===typeof i,_t?(et=fe(a?i:i.rotation,P,y,1),nt=null):i.points?rt=ue(a?i:i.points,P,y,W,M,i.radius,o?-1:1):(Tt&&(et=fe(a?i:i.x||i.left||i.scrollLeft,P,y,o?-1:1)),Pt&&(nt=fe(a?i:i.y||i.top||i.scrollTop,W,M,o?-1:1))))},re=function(){At.isThrowing=!1,at(At,"throwcomplete","onThrowComplete")},ie=function(){At.isThrowing=!1},oe=function(e,i){var a,s,c,l;e&&n?(!0===e&&(a=r.snap||r.liveSnap||{},s=a instanceof Array||"function"===typeof a,e={resistance:(r.throwResistance||r.resistance||1e3)/(_t?10:1)},_t?e.rotation=Wt(At,s?a:a.rotation,y,P,1,i):(Tt&&(e[wt]=Wt(At,s?a:a.points||a.x||a.left||a.scrollLeft,y,P,o?-1:1,i||"x"===At.lockedAxis)),Pt&&(e[xt]=Wt(At,s?a:a.points||a.y||a.top||a.scrollTop,M,W,o?-1:1,i||"y"===At.lockedAxis)),(a.points||a instanceof Array&&"object"===typeof a[0])&&(e.linkedProps=wt+","+xt,e.radius=a.radius))),At.isThrowing=!0,l=isNaN(r.overshootTolerance)?1===r.edgeResistance?0:1-At.edgeResistance+.2:r.overshootTolerance,At.tween=c=n.to(o||t,{throwProps:e,data:"_draggable",ease:r.ease||d.Power3.easeOut,onComplete:re,onOverwrite:ie,onUpdate:r.fastMode?at:ee,onUpdateParams:r.fastMode?[At,"onthrowupdate","onThrowUpdate"]:a&&a.radius?[!1,!0]:_},Math.max(r.minDuration||0,r.maxDuration||0)||2,isNaN(r.minDuration)?0===l||"object"===typeof e&&e.resistance>1e3?0:.5:r.minDuration,l),r.fastMode||(o&&(o._suspendTransforms=!0),c.render(c.duration(),!0,!0),ee(!0,!0),At.endX=At.x,At.endY=At.y,_t&&(At.endRotation=At.x),c.play(0),ee(!0,!0),o&&(o._suspendTransforms=!1))):g&&At.applyBounds()},ae=function(e){var n,r,i,o,c,l,f,u,d,h=lt||[1,0,0,1,0,0];lt=St(t.parentNode,!0),e&&At.isPressed&&h.join(",")!==lt.join(",")&&(n=h[0],r=h[1],i=h[2],o=h[3],c=h[4],l=h[5],f=n*o-r*i,u=a*(o/f)+s*(-i/f)+(i*l-o*c)/f,d=a*(-r/f)+s*(n/f)+-(n*l-r*c)/f,s=u*lt[1]+d*lt[3]+lt[5],a=u*lt[0]+d*lt[2]+lt[4]),lt[1]||lt[2]||1!=lt[0]||1!=lt[3]||0!=lt[4]||0!=lt[5]||(lt=null)},se=function(){var e=1-At.edgeResistance;ae(!1),lt&&(a=At.pointerX*lt[0]+At.pointerY*lt[2]+lt[4],s=At.pointerX*lt[1]+At.pointerY*lt[3]+lt[5]),J&&(pe(At.pointerX,At.pointerY),te(!0)),o?(ne(),p=o.top(),h=o.left()):(ce()?(ee(!0,!0),ne()):At.applyBounds(),_t?(K=At.rotationOrigin=Ct(t,{x:0,y:0}),ee(!0,!0),h=At.x,p=At.y=Math.atan2(K.y-At.pointerY,At.pointerX-K.x)*w):(t.parentNode&&t.parentNode.scrollTop||0,t.parentNode&&t.parentNode.scrollLeft||0,p=ot(t,xt),h=ot(t,wt))),g&&e&&(h>y?h=y+(h-y)/e:h<P&&(h=P-(P-h)/e),_t||(p>M?p=M+(p-M)/e:p<W&&(p=W-(W-p)/e))),At.startX=h,At.startY=p},ce=function(){return At.tween&&At.tween.isActive()},le=function(){!C.parentNode||ce()||At.isDragging||C.parentNode.removeChild(C)},fe=function(t,e,n,r){return"function"===typeof t?function(i){var o=At.isPressed?1-At.edgeResistance:1;return t.call(At,i>n?n+(i-n)*o:i<e?e+(i-e)*o:i)*r}:t instanceof Array?function(r){var i,o,a=t.length,s=0,c=x;while(--a>-1)i=t[a],o=i-r,o<0&&(o=-o),o<c&&i>=e&&i<=n&&(s=a,c=o);return t[s]}:isNaN(t)?function(t){return t}:function(){return t*r}},ue=function(t,e,n,r,i,o,a){return o=o&&o<x?o*o:x,"function"===typeof t?function(s){var c,l,f,u=At.isPressed?1-At.edgeResistance:1,d=s.x,h=s.y;return s.x=d=d>n?n+(d-n)*u:d<e?e+(d-e)*u:d,s.y=h=h>i?i+(h-i)*u:h<r?r+(h-r)*u:h,c=t.call(At,s),c!==s&&(s.x=c.x,s.y=c.y),1!==a&&(s.x*=a,s.y*=a),o<x&&(l=s.x-d,f=s.y-h,l*l+f*f>o&&(s.x=d,s.y=h)),s}:t instanceof Array?function(e){var n,r,i,a,s=t.length,c=0,l=x;while(--s>-1)i=t[s],n=i.x-e.x,r=i.y-e.y,a=n*n+r*r,a<l&&(c=s,l=a);return l<=o?t[c]:e}:function(t){return t}},de=function(e,n){var c;if(i&&!At.isPressed&&e&&("mousedown"!==e.type&&"pointerdown"!==e.type||n||!(T()-Qt<30)||!Et[At.pointerEvent.type])){if(ft=ce(),At.pointerEvent=e,Et[e.type]?(ct=-1!==e.type.indexOf("touch")?e.currentTarget||e.target:v,Rt(ct,"touchend",ge),Rt(ct,"touchmove",he),Rt(ct,"touchcancel",ge),Rt(v,"touchstart",It)):(ct=null,Rt(v,"mousemove",he)),ht=null,Rt(v,"mouseup",ge),e&&e.target&&Rt(e.target,"mouseup",ge),it=Kt.call(At,e.target)&&!r.dragClickables&&!n,it)return Rt(e.target,"change",ge),at(At,"pressInit","onPressInit"),at(At,"press","onPress"),void jt(Mt,!0);if(dt=!(!ct||Tt===Pt||!1===At.vars.allowNativeTouchScrolling||At.vars.allowContextMenu&&e&&(e.ctrlKey||e.which>2))&&(Tt?"y":"x"),S?e=q(e,!0):dt||At.allowEventDefault||(e.preventDefault(),e.preventManipulation&&e.preventManipulation()),e.changedTouches?(e=U=e.changedTouches[0],$=e.identifier):e.pointerId?$=e.pointerId:U=$=null,k++,X(te),s=At.pointerY=e.pageY,a=At.pointerX=e.pageX,at(At,"pressInit","onPressInit"),(dt||At.autoScroll)&&G(t.parentNode),!t.parentNode||!At.autoScroll||o||_t||!t.parentNode._gsMaxScrollX||C.parentNode||t.getBBox||(C.style.width=t.parentNode.scrollWidth+"px",t.parentNode.appendChild(C)),se(),At.tween&&At.tween.kill(),At.isThrowing=!1,Xt["d"].killTweensOf(o||t,!0,Nt),o&&Xt["d"].killTweensOf(t,!0,{scrollTo:1}),At.tween=At.lockedAxis=null,(r.zIndexBoost||!_t&&!o&&!1!==r.zIndexBoost)&&(t.style.zIndex=Ht.zIndex++),At.isPressed=!0,m=!(!r.onDrag&&!At._listeners.drag),!_t){c=Mt.length;while(--c>-1)Q(Mt[c],"cursor",r.cursor||"move")}at(At,"press","onPress")}},he=function(t){var n,r,o,c,l,f,u=t;if(i&&!e&&At.isPressed&&t){if(At.pointerEvent=t,n=t.changedTouches,n){if(t=n[0],t!==U&&t.identifier!==$){c=n.length;while(--c>-1&&(t=n[c]).identifier!==$);if(c<0)return}}else if(t.pointerId&&$&&t.pointerId!==$)return;if(S)t=q(t,!0);else{if(ct&&dt&&!ht&&(r=t.pageX,o=t.pageY,lt&&(c=r*lt[0]+o*lt[2]+lt[4],o=r*lt[1]+o*lt[3]+lt[5],r=c),l=Math.abs(r-a),f=Math.abs(o-s),(l!==f&&(l>Ot||f>Ot)||E&&dt===ht)&&(ht=l>f&&Tt?"x":"y",!1!==At.vars.lockAxisOnTouchScroll&&(At.lockedAxis="x"===ht?"y":"x","function"===typeof At.vars.onLockAxis&&At.vars.onLockAxis.call(At,u)),E&&dt===ht)))return void ge(u);At.allowEventDefault||dt&&(!ht||dt===ht)||!1===u.cancelable||(u.preventDefault(),u.preventManipulation&&u.preventManipulation())}At.autoScroll&&(zt=!0),pe(t.pageX,t.pageY)}},pe=function(t,e){var n,r,i,o,c,l,f=1-At.dragResistance,u=1-At.edgeResistance;At.pointerX=t,At.pointerY=e,_t?(o=Math.atan2(K.y-e,t-K.x)*w,c=At.y-o,c>180?(p-=360,At.y=o):c<-180&&(p+=360,At.y=o),At.x!==h||Math.abs(p-o)>Ot?(At.y=o,i=h+(p-o)*f):i=h):(lt&&(l=t*lt[0]+e*lt[2]+lt[4],e=t*lt[1]+e*lt[3]+lt[5],t=l),r=e-s,n=t-a,r<Ot&&r>-Ot&&(r=0),n<Ot&&n>-Ot&&(n=0),(At.lockAxis||At.lockedAxis)&&(n||r)&&(l=At.lockedAxis,l||(At.lockedAxis=l=Tt&&Math.abs(n)>Math.abs(r)?"y":Pt?"x":null,l&&"function"===typeof At.vars.onLockAxis&&At.vars.onLockAxis.call(At,At.pointerEvent)),"y"===l?r=0:"x"===l&&(n=0)),i=h+n*f,o=p+r*f),(et||nt||rt)&&(At.x!==i||At.y!==o&&!_t)?(rt&&(L.x=i,L.y=o,l=rt(L),i=l.x,o=l.y),et&&(i=et(i)),nt&&(o=nt(o))):g&&(i>y?i=y+(i-y)*u:i<P&&(i=P+(i-P)*u),_t||(o>M?o=M+(o-M)*u:o<W&&(o=W+(o-W)*u))),_t||lt||(i=Math.round(i),o=Math.round(o)),(At.x!==i||At.y!==o&&!_t)&&(_t?(At.endRotation=At.x=At.endX=i,J=!0):(Pt&&(At.y=At.endY=o,J=!0),Tt&&(At.x=At.endX=i,J=!0)),!At.isDragging&&At.isPressed&&(At.isDragging=!0,at(At,"dragstart","onDragStart")))},ge=function(e,n){if(i&&At.isPressed&&(!e||null==$||n||!(e.pointerId&&e.pointerId!==$||e.changedTouches&&!Dt(e.changedTouches,$)))){At.isPressed=!1;var o,a,s,c,l,f=e,u=At.isDragging,d=At.vars.allowContextMenu&&e&&(e.ctrlKey||e.which>2),h=Xt["d"].delayedCall(.001,le);if(ct?(Lt(ct,"touchend",ge),Lt(ct,"touchmove",he),Lt(ct,"touchcancel",ge),Lt(v,"touchstart",It)):Lt(v,"mousemove",he),Lt(v,"mouseup",ge),e&&e.target&&Lt(e.target,"mouseup",ge),J=!1,it&&!d)return e&&(Lt(e.target,"change",ge),At.pointerEvent=f),jt(Mt,!1),at(At,"release","onRelease"),at(At,"click","onClick"),void(it=!1);if(Y(te),!_t){a=Mt.length;while(--a>-1)Q(Mt[a],"cursor",r.cursor||"move")}if(u&&(Bt=R=T(),At.isDragging=!1),k--,e){if(S&&(e=q(e,!1)),o=e.changedTouches,o&&(e=o[0],e!==U&&e.identifier!==$)){a=o.length;while(--a>-1&&(e=o[a]).identifier!==$);if(a<0)return}At.pointerEvent=f,At.pointerX=e.pageX,At.pointerY=e.pageY}return d&&f?(f.preventDefault(),f.preventManipulation&&f.preventManipulation(),at(At,"release","onRelease")):f&&!u?(ft&&(r.snap||r.bounds)&&oe(r.throwProps),at(At,"release","onRelease"),E&&"touchmove"===f.type||-1!==f.type.indexOf("cancel")||(at(At,"click","onClick"),T()-Qt<300&&at(At,"doubleclick","onDoubleClick"),c=f.target||f.srcElement||t,Qt=T(),l=function(){Qt!==gt&&At.enabled()&&!At.isPressed&&(c.click?c.click():v.createEvent&&(s=v.createEvent("MouseEvents"),s.initMouseEvent("click",!0,!0,window,1,At.pointerEvent.screenX,At.pointerEvent.screenY,At.pointerX,At.pointerY,!1,!1,!1,!1,0,null),c.dispatchEvent(s)))},E||f.defaultPrevented||Xt["d"].delayedCall(1e-5,l))):(oe(r.throwProps),S||At.allowEventDefault||!f||!r.dragClickables&&Kt.call(At,f.target)||!u||dt&&(!ht||dt!==ht)||!1===f.cancelable||(f.preventDefault(),f.preventManipulation&&f.preventManipulation()),at(At,"release","onRelease")),ce()&&h.duration(At.tween.duration()),u&&at(At,"dragend","onDragEnd"),!0}},ve=function(e){if(e&&At.isDragging&&!o){var n=e.target||e.srcElement||t.parentNode,r=n.scrollLeft-n._gsScrollX,i=n.scrollTop-n._gsScrollY;(r||i)&&(lt?(a-=r*lt[0]+i*lt[2],s-=i*lt[3]+r*lt[1]):(a-=r,s-=i),n._gsScrollX+=r,n._gsScrollY+=i,pe(At.pointerX,At.pointerY))}},be=function(t){var e=T(),n=e-Qt<40,r=e-Bt<40,i=n&&gt===Qt,o=!!t.preventDefault,a=At.pointerEvent&&At.pointerEvent.defaultPrevented,s=n&&bt===Qt,c=t.isTrusted||null==t.isTrusted&&n&&i;if(o&&(i||r&&!1!==At.vars.suppressClickOnDrag)&&t.stopImmediatePropagation(),n&&(!At.pointerEvent||!At.pointerEvent.defaultPrevented)&&(!i||c!==s))return c&&i&&(bt=Qt),void(gt=Qt);(At.isPressed||r||n)&&(o?c&&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}};tt=Ht.get(this.target),tt&&tt.kill(),this.startDrag=function(e,n){var r,i,o,c;de(e||At.pointerEvent,!0),n&&!At.hitTest(e||At.pointerEvent)&&(r=Gt(e||At.pointerEvent),i=Gt(t),o=me({x:r.left+r.width/2,y:r.top+r.height/2}),c=me({x:i.left+i.width/2,y:i.top+i.height/2}),a-=o.x-c.x,s-=o.y-c.y),At.isDragging||(At.isDragging=!0,at(At,"dragstart","onDragStart"))},this.drag=he,this.endDrag=function(t){ge(t||At.pointerEvent,!0)},this.timeSinceDrag=function(){return At.isDragging?0:(T()-Bt)/1e3},this.timeSinceClick=function(){return(T()-Qt)/1e3},this.hitTest=function(t,e){return Ht.hitTest(At.target,t,e)},this.getDirection=function(t,e){var r,i,o,a,s,c,l="velocity"===t&&n?t:"object"!==typeof t||_t?"start":"element";return"element"===l&&(s=Gt(At.target),c=Gt(t)),r="start"===l?At.x-h:"velocity"===l?n.getVelocity(this.target,wt):s.left+s.width/2-(c.left+c.width/2),_t?r<0?"counter-clockwise":"clockwise":(e=e||2,i="start"===l?At.y-p:"velocity"===l?n.getVelocity(this.target,xt):s.top+s.height/2-(c.top+c.height/2),o=Math.abs(r/i),a=o<1/e?"":r<0?"left":"right",o<e&&(""!==a&&(a+="-"),a+=i<0?"up":"down"),a)},this.applyBounds=function(e){var n,i,o,a,s,c;if(e&&r.bounds!==e)return r.bounds=e,At.update(!0);if(ee(!0),ne(),g){if(n=At.x,i=At.y,n>y?n=y:n<P&&(n=P),i>M?i=M:i<W&&(i=W),(At.x!==n||At.y!==i)&&(o=!0,At.x=At.endX=n,_t?At.endRotation=n:At.y=At.endY=i,J=!0,te(!0),At.autoScroll&&!At.isDragging)){G(t.parentNode),a=t,D.scrollTop=null!=window.pageYOffset?window.pageYOffset:null!=b.scrollTop?b.scrollTop:v.body.scrollTop,D.scrollLeft=null!=window.pageXOffset?window.pageXOffset:null!=b.scrollLeft?b.scrollLeft:v.body.scrollLeft;while(a&&!c)c=V(a.parentNode),s=c?D:a.parentNode,Pt&&s.scrollTop>s._gsMaxScrollY&&(s.scrollTop=s._gsMaxScrollY),Tt&&s.scrollLeft>s._gsMaxScrollX&&(s.scrollLeft=s._gsMaxScrollX),a=s}At.isThrowing&&(o||At.endX>y||At.endX<P||At.endY>M||At.endY<W)&&oe(r.throwProps,o)}return At},this.update=function(e,n,r){var i=At.x,o=At.y;return ae(!n),e?At.applyBounds():(J&&r&&te(!0),ee(!0)),n&&(pe(At.pointerX,At.pointerY),J&&te(!0)),At.isPressed&&!n&&(Tt&&Math.abs(i-At.x)>.01||Pt&&Math.abs(o-At.y)>.01&&!_t)&&se(),At.autoScroll&&(G(t.parentNode),zt=At.isDragging,te(!0)),At.autoScroll&&(z(t,ve),H(t,ve)),At},this.enable=function(e){var a,s,c;if("soft"!==e){s=Mt.length;while(--s>-1)c=Mt[s],Rt(c,"mousedown",de),Rt(c,"touchstart",de),Rt(c,"click",be,!0),_t||Q(c,"cursor",r.cursor||"move"),Q(c,"touchCallout","none"),Q(c,"touchAction",Tt===Pt?"none":Tt?"pan-y":"pan-x"),vt(c)&&Q(c.ownerSVGElement||c,"touchAction",Tt===Pt?"none":Tt?"pan-y":"pan-x"),this.vars.allowContextMenu||Rt(c,"contextmenu",Jt);jt(Mt,!1)}return H(t,ve),i=!0,n&&"soft"!==e&&n.track(o||t,yt?"x,y":_t?"rotation":"top,left"),o&&o.enable(),t._gsDragID=a="d"+A++,O[a]=this,o&&(o.element._gsDragID=a),Xt["d"].set(t,{x:"+=0",overwrite:!1,data:"_draggable"}),ut={t:t,data:S?B:t._gsTransform,tween:{},setRatio:S?function(){Xt["d"].set(t,F)}:Yt._internals.setTransformRatio||Yt._internals.set3DTransformRatio},se(),At.update(!0),At},this.disable=function(e){var r,a,s=At.isDragging;if(!_t){r=Mt.length;while(--r>-1)Q(Mt[r],"cursor",null)}if("soft"!==e){r=Mt.length;while(--r>-1)a=Mt[r],Q(a,"touchCallout",null),Q(a,"touchAction",null),Lt(a,"mousedown",de),Lt(a,"touchstart",de),Lt(a,"click",be),Lt(a,"contextmenu",Jt);jt(Mt,!0),ct&&(Lt(ct,"touchcancel",ge),Lt(ct,"touchend",ge),Lt(ct,"touchmove",he)),Lt(v,"mouseup",ge),Lt(v,"mousemove",he)}return z(t,ve),i=!1,n&&"soft"!==e&&n.untrack(o||t,yt?"x,y":_t?"rotation":"top,left"),o&&o.disable(),Y(te),At.isDragging=At.isPressed=it=!1,s&&at(At,"dragend","onDragEnd"),At},this.enabled=function(t,e){return arguments.length?t?At.enable(e):At.disable(e):i},this.kill=function(){return At.isThrowing=!1,Xt["d"].killTweensOf(o||t,!0,Nt),At.disable(),Xt["d"].set(Mt,{clearProps:"userSelect"}),delete O[t._gsDragID],At},-1!==mt.indexOf("scroll")&&(o=this.scrollProxy=new Ut(t,j({onKill:function(){At.isPressed&&ge(null)}},r)),t.style.overflowY=Pt&&!kt?"auto":"hidden",t.style.overflowX=Tt&&!kt?"auto":"hidden",t=o.content),!1!==r.force3D&&Xt["d"].set(t,{force3D:!0}),_t?Nt.rotation=1:(Tt&&(Nt[wt]=1),Pt&&(Nt[xt]=1)),_t?(F=u,B=F.css,F.overwrite=!1):yt&&(F=Tt&&Pt?c:Tt?l:f,B=F.css,F.overwrite=!1),this.enable()},zt=Ht.prototype=new Xt["a"];zt.constructor=Ht,zt.pointerX=zt.pointerY=zt.startX=zt.startY=zt.deltaX=zt.deltaY=0,zt.isDragging=zt.isPressed=!1,Ht.version="0.16.5",Ht.zIndex=1e3,Rt(v,"touchcancel",function(){}),Rt(v,"contextmenu",function(t){var e;for(e in O)O[e].isPressed&&O[e].endDrag()}),Ht.create=function(t,e){"string"===typeof t&&(t=Xt["d"].selector(t));var n=t&&0!==t.length?At(t)?Mt(t):[t]:[],r=n.length;while(--r>-1)n[r]=new Ht(n[r],e);return n},Ht.get=function(t){return O[(Z(t)||{})._gsDragID]},Ht.timeSinceDrag=function(){return(T()-R)/1e3};var Vt={},$t=function(t){var e,n,r=0,i=0;t=Z(t),e=t.offsetWidth,n=t.offsetHeight;while(t)r+=t.offsetTop,i+=t.offsetLeft,t=t.offsetParent;return{top:r,left:i,width:e,height:n}},Gt=function(t,e){if(t===window)return Vt.left=Vt.top=0,Vt.width=Vt.right=b.clientWidth||t.innerWidth||v.body.clientWidth||0,Vt.height=Vt.bottom=(t.innerHeight||0)-20<b.clientHeight?b.clientHeight:t.innerHeight||v.body.clientHeight||0,Vt;var n=t.pageX!==e?{left:t.pageX-U(),top:t.pageY-B(),right:t.pageX-U()+1,bottom:t.pageY-B()+1}:t.nodeType||t.left===e||t.top===e?S?$t(t):Z(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 Ht.hitTest=function(t,e,n){if(t===e)return!1;var r,i,o,a=Gt(t),s=Gt(e),c=s.left>a.right||s.right<a.left||s.top>a.bottom||s.bottom<a.top;return c||!n?!c:(o=-1!==(n+"").indexOf("%"),n=parseFloat(n)||0,r={left:Math.max(a.left,s.left),top:Math.max(a.top,s.top)},r.width=Math.min(a.right,s.right)-r.left,r.height=Math.min(a.bottom,s.bottom)-r.top,!(r.width<0||r.height<0)&&(o?(n*=.01,i=r.width*r.height,i>=a.width*a.height*n||i>=s.width*s.height*n):r.width>n&&r.height>n))},C.style.cssText="visibility:hidden;height:1px;top:-1px;pointer-events:none;position:relative;clear:both;",Ht},!0);var Ft=Xt["e"].Draggable;function jt(t){return void 0!==t.length}function Bt(t){return void 0!==t.tagName}function Ut(t){return void 0!==t.accessKey}function Ht(t){return void 0!==t.transform}var zt={isElementArray:jt,isElement:Bt,isHTMLElement:Ut,isSvgGraphicsElement:Ht},Vt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"serif"},[n("span",{staticClass:"toggle-control",on:{click:t.toggleSerif}},[t._v("⇿")]),n("div",{staticClass:"serif-left"}),n("transition",{attrs:{name:"trans",mode:"out-in"}},[t.serifExpanded?n("serif-control-panel",{key:"serif-expanded",attrs:{distance:t.distance,"on-change-distance":t.onChangeDistance}}):n("distance-indicator",{key:"serif-collapsed",attrs:{distance:t.distance,stroke:"hsl(45, 100%, 50%)"}})],1),n("div",{staticClass:"serif-right"})],1)},$t=[],Gt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"distance-indicator"},t._l(t.distance,function(t){return n("div",{staticClass:"single-distance-line"})}))},qt=[],Zt=c.a.extend({props:["distance","stroke"],components:{},data:function(){return{}},mounted:function(){},methods:{}}),Kt=Zt,Qt=(n("93f8"),z(Kt,Gt,qt,!1,null,null,null));Qt.options.__file="DistanceIndicator.vue";var Jt=Qt.exports,te=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"serif-content"},[t._m(0),n("input",{staticClass:"distance-value",attrs:{type:"number",placeholder:"4"},domProps:{value:t.distance},on:{change:t.onChangeDistance}}),t._m(1)])},ee=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("select",{attrs:{name:"distanceConditionType"}},[n("option",{attrs:{value:"distanceConditionType"}},[t._v("Within")])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("select",{attrs:{name:"distanceUnit"}},[n("option",{attrs:{value:"sentences"}},[t._v("Sentences")])])}],ne=c.a.extend({props:["onChangeDistance","distance"]}),re=ne,ie=(n("1f6c"),z(re,te,ee,!1,null,null,null));ie.options.__file="SerifControlPanel.vue";var oe=ie.exports,ae=c.a.extend({components:{SerifControlPanel:oe,DistanceIndicator:Jt},data:function(){return{serifExpanded:!0,distance:4}},mounted:function(){var t=this;this.$nextTick(function(){window.addEventListener("keydown",function(e){" "===e.key&&t.toggleSerif()})})},methods:{onChangeDistance:function(t){if(null===t.currentTarget)throw new Error("bad");var e=t.currentTarget,n=e;this.distance=parseInt(n.value)},toggleSerif:function(){this.serifExpanded=!this.serifExpanded}}}),se=ae,ce=(n("0811"),z(se,Vt,$t,!1,null,null,null));ce.options.__file="SerifOperator.vue";var le=ce.exports,fe=function(t,e){return t<e?-1:t>e?1:t>=e?0:NaN},ue=function(t){return 1===t.length&&(t=de(t)),{left:function(e,n,r,i){null==r&&(r=0),null==i&&(i=e.length);while(r<i){var o=r+i>>>1;t(e[o],n)<0?r=o+1:i=o}return r},right:function(e,n,r,i){null==r&&(r=0),null==i&&(i=e.length);while(r<i){var o=r+i>>>1;t(e[o],n)>0?i=o:r=o+1}return r}}};function de(t){return function(e,n){return fe(t(e),n)}}var he=ue(fe);he.right,he.left;var pe=Array.prototype;pe.slice,pe.map,Math.sqrt(50),Math.sqrt(10),Math.sqrt(2);var ge="$";function ve(){}function be(t,e){var n=new ve;if(t instanceof ve)t.each(function(t,e){n.set(e,t)});else if(Array.isArray(t)){var r,i=-1,o=t.length;if(null==e)while(++i<o)n.set(i,t[i]);else while(++i<o)n.set(e(r=t[i],i,t),r)}else if(t)for(var a in t)n.set(a,t[a]);return n}ve.prototype=be.prototype={constructor:ve,has:function(t){return ge+t in this},get:function(t){return this[ge+t]},set:function(t,e){return this[ge+t]=e,this},remove:function(t){var e=ge+t;return e in this&&delete this[e]},clear:function(){for(var t in this)t[0]===ge&&delete this[t]},keys:function(){var t=[];for(var e in this)e[0]===ge&&t.push(e.slice(1));return t},values:function(){var t=[];for(var e in this)e[0]===ge&&t.push(this[e]);return t},entries:function(){var t=[];for(var e in this)e[0]===ge&&t.push({key:e.slice(1),value:this[e]});return t},size:function(){var t=0;for(var e in this)e[0]===ge&&++t;return t},empty:function(){for(var t in this)if(t[0]===ge)return!1;return!0},each:function(t){for(var e in this)e[0]===ge&&t(this[e],e.slice(1),this)}};var me=be;function ye(){}var _e=me.prototype;function we(t,e){var n=new ye;if(t instanceof ye)t.each(function(t){n.add(t)});else if(t){var r=-1,i=t.length;if(null==e)while(++r<i)n.add(t[r]);else while(++r<i)n.add(e(t[r],r,t))}return n}ye.prototype=we.prototype={constructor:ye,has:_e.has,add:function(t){return t+="",this[ge+t]=t,this},remove:_e.remove,clear:_e.clear,values:_e.keys,size:_e.size,empty:_e.empty,each:_e.each};var xe=Array.prototype,Te=(xe.map,xe.slice),Se={name:"implicit"};function Ce(t){var e=me(),n=[],r=Se;function i(i){var o=i+"",a=e.get(o);if(!a){if(r!==Se)return r;e.set(o,a=n.push(i))}return t[(a-1)%t.length]}return t=null==t?[]:Te.call(t),i.domain=function(t){if(!arguments.length)return n.slice();n=[],e=me();var r,o,a=-1,s=t.length;while(++a<s)e.has(o=(r=t[a])+"")||e.set(o,n.push(r));return i},i.range=function(e){return arguments.length?(t=Te.call(e),i):t.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return Ce().domain(n).range(t).unknown(r)},i}var Pe=function(t,e,n){t.prototype=e.prototype=n,n.constructor=t};function Oe(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function Ae(){}var Me=.7,ke=1/Me,Ee="\\s*([+-]?\\d+)\\s*",Re="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Le="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",De=/^#([0-9a-f]{3})$/,Ne=/^#([0-9a-f]{6})$/,Ie=new RegExp("^rgb\\("+[Ee,Ee,Ee]+"\\)$"),We=new RegExp("^rgb\\("+[Le,Le,Le]+"\\)$"),Xe=new RegExp("^rgba\\("+[Ee,Ee,Ee,Re]+"\\)$"),Ye=new RegExp("^rgba\\("+[Le,Le,Le,Re]+"\\)$"),Fe=new RegExp("^hsl\\("+[Re,Le,Le]+"\\)$"),je=new RegExp("^hsla\\("+[Re,Le,Le,Re]+"\\)$"),Be={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Ue(t){var e;return t=(t+"").trim().toLowerCase(),(e=De.exec(t))?(e=parseInt(e[1],16),new Ge(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1)):(e=Ne.exec(t))?He(parseInt(e[1],16)):(e=Ie.exec(t))?new Ge(e[1],e[2],e[3],1):(e=We.exec(t))?new Ge(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Xe.exec(t))?ze(e[1],e[2],e[3],e[4]):(e=Ye.exec(t))?ze(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Fe.exec(t))?Ze(e[1],e[2]/100,e[3]/100,1):(e=je.exec(t))?Ze(e[1],e[2]/100,e[3]/100,e[4]):Be.hasOwnProperty(t)?He(Be[t]):"transparent"===t?new Ge(NaN,NaN,NaN,0):null}function He(t){return new Ge(t>>16&255,t>>8&255,255&t,1)}function ze(t,e,n,r){return r<=0&&(t=e=n=NaN),new Ge(t,e,n,r)}function Ve(t){return t instanceof Ae||(t=Ue(t)),t?(t=t.rgb(),new Ge(t.r,t.g,t.b,t.opacity)):new Ge}function $e(t,e,n,r){return 1===arguments.length?Ve(t):new Ge(t,e,n,null==r?1:r)}function Ge(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function qe(t){return t=Math.max(0,Math.min(255,Math.round(t)||0)),(t<16?"0":"")+t.toString(16)}function Ze(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Je(t,e,n,r)}function Ke(t){if(t instanceof Je)return new Je(t.h,t.s,t.l,t.opacity);if(t instanceof Ae||(t=Ue(t)),!t)return new Je;if(t instanceof Je)return t;t=t.rgb();var e=t.r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,s=o-i,c=(o+i)/2;return s?(a=e===o?(n-r)/s+6*(n<r):n===o?(r-e)/s+2:(e-n)/s+4,s/=c<.5?o+i:2-o-i,a*=60):s=c>0&&c<1?0:a,new Je(a,s,c,t.opacity)}function Qe(t,e,n,r){return 1===arguments.length?Ke(t):new Je(t,e,n,null==r?1:r)}function Je(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function tn(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}Pe(Ae,Ue,{displayable:function(){return this.rgb().displayable()},hex:function(){return this.rgb().hex()},toString:function(){return this.rgb()+""}}),Pe(Ge,$e,Oe(Ae,{brighter:function(t){return t=null==t?ke:Math.pow(ke,t),new Ge(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?Me:Math.pow(Me,t),new Ge(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},hex:function(){return"#"+qe(this.r)+qe(this.g)+qe(this.b)},toString:function(){var t=this.opacity;return t=isNaN(t)?1:Math.max(0,Math.min(1,t)),(1===t?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}})),Pe(Je,Qe,Oe(Ae,{brighter:function(t){return t=null==t?ke:Math.pow(ke,t),new Je(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?Me:Math.pow(Me,t),new Je(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new Ge(tn(t>=240?t-240:t+120,i,r),tn(t,i,r),tn(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var en=Math.PI/180,nn=180/Math.PI,rn=18,on=.96422,an=1,sn=.82521,cn=4/29,ln=6/29,fn=3*ln*ln,un=ln*ln*ln;function dn(t){if(t instanceof pn)return new pn(t.l,t.a,t.b,t.opacity);if(t instanceof wn){if(isNaN(t.h))return new pn(t.l,0,0,t.opacity);var e=t.h*en;return new pn(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}t instanceof Ge||(t=Ve(t));var n,r,i=mn(t.r),o=mn(t.g),a=mn(t.b),s=gn((.2225045*i+.7168786*o+.0606169*a)/an);return i===o&&o===a?n=r=s:(n=gn((.4360747*i+.3850649*o+.1430804*a)/on),r=gn((.0139322*i+.0971045*o+.7141733*a)/sn)),new pn(116*s-16,500*(n-s),200*(s-r),t.opacity)}function hn(t,e,n,r){return 1===arguments.length?dn(t):new pn(t,e,n,null==r?1:r)}function pn(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}function gn(t){return t>un?Math.pow(t,1/3):t/fn+cn}function vn(t){return t>ln?t*t*t:fn*(t-cn)}function bn(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function mn(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function yn(t){if(t instanceof wn)return new wn(t.h,t.c,t.l,t.opacity);if(t instanceof pn||(t=dn(t)),0===t.a&&0===t.b)return new wn(NaN,0,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*nn;return new wn(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function _n(t,e,n,r){return 1===arguments.length?yn(t):new wn(t,e,n,null==r?1:r)}function wn(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}Pe(pn,hn,Oe(Ae,{brighter:function(t){return new pn(this.l+rn*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new pn(this.l-rn*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return e=on*vn(e),t=an*vn(t),n=sn*vn(n),new Ge(bn(3.1338561*e-1.6168667*t-.4906146*n),bn(-.9787684*e+1.9161415*t+.033454*n),bn(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}})),Pe(wn,_n,Oe(Ae,{brighter:function(t){return new wn(this.h,this.c,this.l+rn*(null==t?1:t),this.opacity)},darker:function(t){return new wn(this.h,this.c,this.l-rn*(null==t?1:t),this.opacity)},rgb:function(){return dn(this).rgb()}}));var xn=-.14861,Tn=1.78277,Sn=-.29227,Cn=-.90649,Pn=1.97294,On=Pn*Cn,An=Pn*Tn,Mn=Tn*Sn-Cn*xn;function kn(t){if(t instanceof Rn)return new Rn(t.h,t.s,t.l,t.opacity);t instanceof Ge||(t=Ve(t));var e=t.r/255,n=t.g/255,r=t.b/255,i=(Mn*r+On*e-An*n)/(Mn+On-An),o=r-i,a=(Pn*(n-i)-Sn*o)/Cn,s=Math.sqrt(a*a+o*o)/(Pn*i*(1-i)),c=s?Math.atan2(a,o)*nn-120:NaN;return new Rn(c<0?c+360:c,s,i,t.opacity)}function En(t,e,n,r){return 1===arguments.length?kn(t):new Rn(t,e,n,null==r?1:r)}function Rn(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function Ln(t,e,n,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*r+a*i)/6}Pe(Rn,En,Oe(Ae,{brighter:function(t){return t=null==t?ke:Math.pow(ke,t),new Rn(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?Me:Math.pow(Me,t),new Rn(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*en,e=+this.l,n=isNaN(this.s)?0:this.s*e*(1-e),r=Math.cos(t),i=Math.sin(t);return new Ge(255*(e+n*(xn*r+Tn*i)),255*(e+n*(Sn*r+Cn*i)),255*(e+n*(Pn*r)),this.opacity)}}));var Dn=function(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,s=r<e-1?t[r+2]:2*o-i;return Ln((n-r/e)*e,a,i,o,s)}},Nn=function(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),i=t[(r+e-1)%e],o=t[r%e],a=t[(r+1)%e],s=t[(r+2)%e];return Ln((n-r/e)*e,i,o,a,s)}},In=function(t){return function(){return t}};function Wn(t,e){return function(n){return t+n*e}}function Xn(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}function Yn(t,e){var n=e-t;return n?Wn(t,n>180||n<-180?n-360*Math.round(n/360):n):In(isNaN(t)?e:t)}function Fn(t){return 1===(t=+t)?jn:function(e,n){return n-e?Xn(e,n,t):In(isNaN(e)?n:e)}}function jn(t,e){var n=e-t;return n?Wn(t,n):In(isNaN(t)?e:t)}(function t(e){var n=Fn(e);function r(t,e){var r=n((t=$e(t)).r,(e=$e(e)).r),i=n(t.g,e.g),o=n(t.b,e.b),a=jn(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=o(e),t.opacity=a(e),t+""}}return r.gamma=t,r})(1);function Bn(t){return function(e){var n,r,i=e.length,o=new Array(i),a=new Array(i),s=new Array(i);for(n=0;n<i;++n)r=$e(e[n]),o[n]=r.r||0,a[n]=r.g||0,s[n]=r.b||0;return o=t(o),a=t(a),s=t(s),r.opacity=1,function(t){return r.r=o(t),r.g=a(t),r.b=s(t),r+""}}}var Un=Bn(Dn),Hn=(Bn(Nn),function(t,e){return t=+t,e-=t,function(n){return t+e*n}}),zn=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g;new RegExp(zn.source,"g");var Vn,$n,Gn,qn,Zn=180/Math.PI,Kn={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},Qn=function(t,e,n,r,i,o){var a,s,c;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(c=t*n+e*r)&&(n-=t*c,r-=e*c),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,c/=s),t*r<e*n&&(t=-t,e=-e,c=-c,a=-a),{translateX:i,translateY:o,rotate:Math.atan2(e,t)*Zn,skewX:Math.atan(c)*Zn,scaleX:a,scaleY:s}};function Jn(t){return"none"===t?Kn:(Vn||(Vn=document.createElement("DIV"),$n=document.documentElement,Gn=document.defaultView),Vn.style.transform=t,t=Gn.getComputedStyle($n.appendChild(Vn),null).getPropertyValue("transform"),$n.removeChild(Vn),t=t.slice(7,-1).split(","),Qn(+t[0],+t[1],+t[2],+t[3],+t[4],+t[5]))}function tr(t){return null==t?Kn:(qn||(qn=document.createElementNS("http://www.w3.org/2000/svg","g")),qn.setAttribute("transform",t),(t=qn.transform.baseVal.consolidate())?(t=t.matrix,Qn(t.a,t.b,t.c,t.d,t.e,t.f)):Kn)}function er(t,e,n,r){function i(t){return t.length?t.pop()+" ":""}function o(t,r,i,o,a,s){if(t!==i||r!==o){var c=a.push("translate(",null,e,null,n);s.push({i:c-4,x:Hn(t,i)},{i:c-2,x:Hn(r,o)})}else(i||o)&&a.push("translate("+i+e+o+n)}function a(t,e,n,o){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:Hn(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}function s(t,e,n,o){t!==e?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:Hn(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}function c(t,e,n,r,o,a){if(t!==n||e!==r){var s=o.push(i(o)+"scale(",null,",",null,")");a.push({i:s-4,x:Hn(t,n)},{i:s-2,x:Hn(e,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}return function(e,n){var r=[],i=[];return e=t(e),n=t(n),o(e.translateX,e.translateY,n.translateX,n.translateY,r,i),a(e.rotate,n.rotate,r,i),s(e.skewX,n.skewX,r,i),c(e.scaleX,e.scaleY,n.scaleX,n.scaleY,r,i),e=n=null,function(t){var e,n=-1,o=i.length;while(++n<o)r[(e=i[n]).i]=e.x(t);return r.join("")}}}er(Jn,"px, ","px)","deg)"),er(tr,", ",")",")"),Math.SQRT2;function nr(t){return function(e,n){var r=t((e=Qe(e)).h,(n=Qe(n)).h),i=jn(e.s,n.s),o=jn(e.l,n.l),a=jn(e.opacity,n.opacity);return function(t){return e.h=r(t),e.s=i(t),e.l=o(t),e.opacity=a(t),e+""}}}nr(Yn),nr(jn);function rr(t){return function(e,n){var r=t((e=_n(e)).h,(n=_n(n)).h),i=jn(e.c,n.c),o=jn(e.l,n.l),a=jn(e.opacity,n.opacity);return function(t){return e.h=r(t),e.c=i(t),e.l=o(t),e.opacity=a(t),e+""}}}rr(Yn),rr(jn);function ir(t){return function e(n){function r(e,r){var i=t((e=En(e)).h,(r=En(r)).h),o=jn(e.s,r.s),a=jn(e.l,r.l),s=jn(e.opacity,r.opacity);return function(t){return e.h=i(t),e.s=o(t),e.l=a(Math.pow(t,n)),e.opacity=s(t),e+""}}return n=+n,r.gamma=e,r}(1)}ir(Yn);var or=ir(jn);var ar=function(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]},sr=function(t){return t=ar(Math.abs(t)),t?t[1]:NaN},cr=function(t,e){return function(n,r){var i=n.length,o=[],a=0,s=t[0],c=0;while(i>0&&s>0){if(c+s+1>r&&(s=Math.max(1,r-c)),o.push(n.substring(i-=s,i+s)),(c+=s+1)>r)break;s=t[a=(a+1)%t.length]}return o.reverse().join(e)}},lr=function(t){return function(e){return e.replace(/[0-9]/g,function(e){return t[+e]})}},fr=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function ur(t){return new dr(t)}function dr(t){if(!(e=fr.exec(t)))throw new Error("invalid format: "+t);var e;this.fill=e[1]||" ",this.align=e[2]||">",this.sign=e[3]||"-",this.symbol=e[4]||"",this.zero=!!e[5],this.width=e[6]&&+e[6],this.comma=!!e[7],this.precision=e[8]&&+e[8].slice(1),this.trim=!!e[9],this.type=e[10]||""}ur.prototype=dr.prototype,dr.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var hr,pr,gr=function(t){t:for(var e,n=t.length,r=1,i=-1;r<n;++r)switch(t[r]){case".":i=e=r;break;case"0":0===i&&(i=r),e=r;break;default:if(i>0){if(!+t[r])break t;i=0}break}return i>0?t.slice(0,i)+t.slice(e+1):t},vr=function(t,e){var n=ar(t,e);if(!n)return t+"";var r=n[0],i=n[1],o=i-(hr=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+ar(t,Math.max(0,e+o-1))[0]},br=function(t,e){var n=ar(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")},mr={"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return br(100*t,e)},r:br,s:vr,X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},yr=function(t){return t},_r=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"],wr=function(t){var e=t.grouping&&t.thousands?cr(t.grouping,t.thousands):yr,n=t.currency,r=t.decimal,i=t.numerals?lr(t.numerals):yr,o=t.percent||"%";function a(t){t=ur(t);var a=t.fill,s=t.align,c=t.sign,l=t.symbol,f=t.zero,u=t.width,d=t.comma,h=t.precision,p=t.trim,g=t.type;"n"===g?(d=!0,g="g"):mr[g]||(null==h&&(h=12),p=!0,g="g"),(f||"0"===a&&"="===s)&&(f=!0,a="0",s="=");var v="$"===l?n[0]:"#"===l&&/[boxX]/.test(g)?"0"+g.toLowerCase():"",b="$"===l?n[1]:/[%p]/.test(g)?o:"",m=mr[g],y=/[defgprs%]/.test(g);function _(t){var n,o,l,_=v,w=b;if("c"===g)w=m(t)+w,t="";else{t=+t;var x=t<0;if(t=m(Math.abs(t),h),p&&(t=gr(t)),x&&0===+t&&(x=!1),_=(x?"("===c?c:"-":"-"===c||"("===c?"":c)+_,w=("s"===g?_r[8+hr/3]:"")+w+(x&&"("===c?")":""),y){n=-1,o=t.length;while(++n<o)if(l=t.charCodeAt(n),48>l||l>57){w=(46===l?r+t.slice(n+1):t.slice(n))+w,t=t.slice(0,n);break}}}d&&!f&&(t=e(t,1/0));var T=_.length+t.length+w.length,S=T<u?new Array(u-T+1).join(a):"";switch(d&&f&&(t=e(S+t,S.length?u-w.length:1/0),S=""),s){case"<":t=_+t+w+S;break;case"=":t=_+S+t+w;break;case"^":t=S.slice(0,T=S.length>>1)+_+t+w+S.slice(T);break;default:t=S+_+t+w;break}return i(t)}return h=null==h?6:/[gprs]/.test(g)?Math.max(1,Math.min(21,h)):Math.max(0,Math.min(20,h)),_.toString=function(){return t+""},_}function s(t,e){var n=a((t=ur(t),t.type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(sr(e)/3))),i=Math.pow(10,-r),o=_r[8+r/3];return function(t){return n(i*t)+o}}return{format:a,formatPrefix:s}};function xr(t){return pr=wr(t),pr.format,pr.formatPrefix,pr}xr({decimal:".",thousands:",",grouping:[3],currency:["$",""]});var Tr=new Date,Sr=new Date;function Cr(t,e,n,r){function i(e){return t(e=new Date(+e)),e}return i.floor=i,i.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},i.round=function(t){var e=i(t),n=i.ceil(t);return t-e<n-t?e:n},i.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t},i.range=function(n,r,o){var a,s=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r)||!(o>0))return s;do{s.push(a=new Date(+n)),e(n,o),t(n)}while(a<n&&n<r);return s},i.filter=function(n){return Cr(function(e){if(e>=e)while(t(e),!n(e))e.setTime(e-1)},function(t,r){if(t>=t)if(r<0)while(++r<=0)while(e(t,-1),!n(t));else while(--r>=0)while(e(t,1),!n(t));})},n&&(i.count=function(e,r){return Tr.setTime(+e),Sr.setTime(+r),t(Tr),t(Sr),Math.floor(n(Tr,Sr))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(e){return r(e)%t===0}:function(e){return i.count(0,e)%t===0}):i:null}),i}var Pr=Cr(function(){},function(t,e){t.setTime(+t+e)},function(t,e){return e-t});Pr.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Cr(function(e){e.setTime(Math.floor(e/t)*t)},function(e,n){e.setTime(+e+n*t)},function(e,n){return(n-e)/t}):Pr:null};Pr.range;var Or=1e3,Ar=6e4,Mr=36e5,kr=864e5,Er=6048e5,Rr=Cr(function(t){t.setTime(Math.floor(t/Or)*Or)},function(t,e){t.setTime(+t+e*Or)},function(t,e){return(e-t)/Or},function(t){return t.getUTCSeconds()}),Lr=(Rr.range,Cr(function(t){t.setTime(Math.floor(t/Ar)*Ar)},function(t,e){t.setTime(+t+e*Ar)},function(t,e){return(e-t)/Ar},function(t){return t.getMinutes()})),Dr=(Lr.range,Cr(function(t){var e=t.getTimezoneOffset()*Ar%Mr;e<0&&(e+=Mr),t.setTime(Math.floor((+t-e)/Mr)*Mr+e)},function(t,e){t.setTime(+t+e*Mr)},function(t,e){return(e-t)/Mr},function(t){return t.getHours()})),Nr=(Dr.range,Cr(function(t){t.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Ar)/kr},function(t){return t.getDate()-1})),Ir=Nr;Nr.range;function Wr(t){return Cr(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+7*e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Ar)/Er})}var Xr=Wr(0),Yr=Wr(1),Fr=Wr(2),jr=Wr(3),Br=Wr(4),Ur=Wr(5),Hr=Wr(6),zr=(Xr.range,Yr.range,Fr.range,jr.range,Br.range,Ur.range,Hr.range,Cr(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,e){t.setMonth(t.getMonth()+e)},function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())},function(t){return t.getMonth()})),Vr=(zr.range,Cr(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()}));Vr.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Cr(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,n){e.setFullYear(e.getFullYear()+n*t)}):null};var $r=Vr,Gr=(Vr.range,Cr(function(t){t.setUTCSeconds(0,0)},function(t,e){t.setTime(+t+e*Ar)},function(t,e){return(e-t)/Ar},function(t){return t.getUTCMinutes()})),qr=(Gr.range,Cr(function(t){t.setUTCMinutes(0,0,0)},function(t,e){t.setTime(+t+e*Mr)},function(t,e){return(e-t)/Mr},function(t){return t.getUTCHours()})),Zr=(qr.range,Cr(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/kr},function(t){return t.getUTCDate()-1})),Kr=Zr;Zr.range;function Qr(t){return Cr(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+7*e)},function(t,e){return(e-t)/Er})}var Jr=Qr(0),ti=Qr(1),ei=Qr(2),ni=Qr(3),ri=Qr(4),ii=Qr(5),oi=Qr(6),ai=(Jr.range,ti.range,ei.range,ni.range,ri.range,ii.range,oi.range,Cr(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCMonth(t.getUTCMonth()+e)},function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())},function(t){return t.getUTCMonth()})),si=(ai.range,Cr(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()}));si.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Cr(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)}):null};var ci=si;si.range;function li(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function fi(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function ui(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}function di(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,o=t.days,a=t.shortDays,s=t.months,c=t.shortMonths,l=xi(i),f=Ti(i),u=xi(o),d=Ti(o),h=xi(a),p=Ti(a),g=xi(s),v=Ti(s),b=xi(c),m=Ti(c),y={a:L,A:D,b:N,B:I,c:null,d:Ui,e:Ui,f:Gi,H:Hi,I:zi,j:Vi,L:$i,m:qi,M:Zi,p:W,Q:Co,s:Po,S:Ki,u:Qi,U:Ji,V:to,w:eo,W:no,x:null,X:null,y:ro,Y:io,Z:oo,"%":So},_={a:X,A:Y,b:F,B:j,c:null,d:ao,e:ao,f:uo,H:so,I:co,j:lo,L:fo,m:ho,M:po,p:B,Q:Co,s:Po,S:go,u:vo,U:bo,V:mo,w:yo,W:_o,x:null,X:null,y:wo,Y:xo,Z:To,"%":So},w={a:P,A:O,b:A,B:M,c:k,d:Li,e:Li,f:Yi,H:Ni,I:Ni,j:Di,L:Xi,m:Ri,M:Ii,p:C,Q:ji,s:Bi,S:Wi,u:Ci,U:Pi,V:Oi,w:Si,W:Ai,x:E,X:R,y:ki,Y:Mi,Z:Ei,"%":Fi};function x(t,e){return function(n){var r,i,o,a=[],s=-1,c=0,l=t.length;n instanceof Date||(n=new Date(+n));while(++s<l)37===t.charCodeAt(s)&&(a.push(t.slice(c,s)),null!=(i=vi[r=t.charAt(++s)])?r=t.charAt(++s):i="e"===r?" ":"0",(o=e[r])&&(r=o(n,i)),a.push(r),c=s+1);return a.push(t.slice(c,s)),a.join("")}}function T(t,e){return function(n){var r,i,o=ui(1900),a=S(o,t,n+="",0);if(a!=n.length)return null;if("Q"in o)return new Date(o.Q);if("p"in o&&(o.H=o.H%12+12*o.p),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(r=fi(ui(o.y)),i=r.getUTCDay(),r=i>4||0===i?ti.ceil(r):ti(r),r=Kr.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(r=e(ui(o.y)),i=r.getDay(),r=i>4||0===i?Yr.ceil(r):Yr(r),r=Ir.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?fi(ui(o.y)).getUTCDay():e(ui(o.y)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,fi(o)):e(o)}}function S(t,e,n,r){var i,o,a=0,s=e.length,c=n.length;while(a<s){if(r>=c)return-1;if(i=e.charCodeAt(a++),37===i){if(i=e.charAt(a++),o=w[i in vi?e.charAt(a++):i],!o||(r=o(t,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}function C(t,e,n){var r=l.exec(e.slice(n));return r?(t.p=f[r[0].toLowerCase()],n+r[0].length):-1}function P(t,e,n){var r=h.exec(e.slice(n));return r?(t.w=p[r[0].toLowerCase()],n+r[0].length):-1}function O(t,e,n){var r=u.exec(e.slice(n));return r?(t.w=d[r[0].toLowerCase()],n+r[0].length):-1}function A(t,e,n){var r=b.exec(e.slice(n));return r?(t.m=m[r[0].toLowerCase()],n+r[0].length):-1}function M(t,e,n){var r=g.exec(e.slice(n));return r?(t.m=v[r[0].toLowerCase()],n+r[0].length):-1}function k(t,n,r){return S(t,e,n,r)}function E(t,e,r){return S(t,n,e,r)}function R(t,e,n){return S(t,r,e,n)}function L(t){return a[t.getDay()]}function D(t){return o[t.getDay()]}function N(t){return c[t.getMonth()]}function I(t){return s[t.getMonth()]}function W(t){return i[+(t.getHours()>=12)]}function X(t){return a[t.getUTCDay()]}function Y(t){return o[t.getUTCDay()]}function F(t){return c[t.getUTCMonth()]}function j(t){return s[t.getUTCMonth()]}function B(t){return i[+(t.getUTCHours()>=12)]}return y.x=x(n,y),y.X=x(r,y),y.c=x(e,y),_.x=x(n,_),_.X=x(r,_),_.c=x(e,_),{format:function(t){var e=x(t+="",y);return e.toString=function(){return t},e},parse:function(t){var e=T(t+="",li);return e.toString=function(){return t},e},utcFormat:function(t){var e=x(t+="",_);return e.toString=function(){return t},e},utcParse:function(t){var e=T(t,fi);return e.toString=function(){return t},e}}}var hi,pi,gi,vi={"-":"",_:" ",0:"0"},bi=/^\s*\d+/,mi=/^%/,yi=/[\\^$*+?|[\]().{}]/g;function _i(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<n?new Array(n-o+1).join(e)+i:i)}function wi(t){return t.replace(yi,"\\$&")}function xi(t){return new RegExp("^(?:"+t.map(wi).join("|")+")","i")}function Ti(t){var e={},n=-1,r=t.length;while(++n<r)e[t[n].toLowerCase()]=n;return e}function Si(t,e,n){var r=bi.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function Ci(t,e,n){var r=bi.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function Pi(t,e,n){var r=bi.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function Oi(t,e,n){var r=bi.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function Ai(t,e,n){var r=bi.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function Mi(t,e,n){var r=bi.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function ki(t,e,n){var r=bi.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Ei(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Ri(t,e,n){var r=bi.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function Li(t,e,n){var r=bi.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function Di(t,e,n){var r=bi.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function Ni(t,e,n){var r=bi.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function Ii(t,e,n){var r=bi.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function Wi(t,e,n){var r=bi.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function Xi(t,e,n){var r=bi.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function Yi(t,e,n){var r=bi.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Fi(t,e,n){var r=mi.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function ji(t,e,n){var r=bi.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function Bi(t,e,n){var r=bi.exec(e.slice(n));return r?(t.Q=1e3*+r[0],n+r[0].length):-1}function Ui(t,e){return _i(t.getDate(),e,2)}function Hi(t,e){return _i(t.getHours(),e,2)}function zi(t,e){return _i(t.getHours()%12||12,e,2)}function Vi(t,e){return _i(1+Ir.count($r(t),t),e,3)}function $i(t,e){return _i(t.getMilliseconds(),e,3)}function Gi(t,e){return $i(t,e)+"000"}function qi(t,e){return _i(t.getMonth()+1,e,2)}function Zi(t,e){return _i(t.getMinutes(),e,2)}function Ki(t,e){return _i(t.getSeconds(),e,2)}function Qi(t){var e=t.getDay();return 0===e?7:e}function Ji(t,e){return _i(Xr.count($r(t),t),e,2)}function to(t,e){var n=t.getDay();return t=n>=4||0===n?Br(t):Br.ceil(t),_i(Br.count($r(t),t)+(4===$r(t).getDay()),e,2)}function eo(t){return t.getDay()}function no(t,e){return _i(Yr.count($r(t),t),e,2)}function ro(t,e){return _i(t.getFullYear()%100,e,2)}function io(t,e){return _i(t.getFullYear()%1e4,e,4)}function oo(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+_i(e/60|0,"0",2)+_i(e%60,"0",2)}function ao(t,e){return _i(t.getUTCDate(),e,2)}function so(t,e){return _i(t.getUTCHours(),e,2)}function co(t,e){return _i(t.getUTCHours()%12||12,e,2)}function lo(t,e){return _i(1+Kr.count(ci(t),t),e,3)}function fo(t,e){return _i(t.getUTCMilliseconds(),e,3)}function uo(t,e){return fo(t,e)+"000"}function ho(t,e){return _i(t.getUTCMonth()+1,e,2)}function po(t,e){return _i(t.getUTCMinutes(),e,2)}function go(t,e){return _i(t.getUTCSeconds(),e,2)}function vo(t){var e=t.getUTCDay();return 0===e?7:e}function bo(t,e){return _i(Jr.count(ci(t),t),e,2)}function mo(t,e){var n=t.getUTCDay();return t=n>=4||0===n?ri(t):ri.ceil(t),_i(ri.count(ci(t),t)+(4===ci(t).getUTCDay()),e,2)}function yo(t){return t.getUTCDay()}function _o(t,e){return _i(ti.count(ci(t),t),e,2)}function wo(t,e){return _i(t.getUTCFullYear()%100,e,2)}function xo(t,e){return _i(t.getUTCFullYear()%1e4,e,4)}function To(){return"+0000"}function So(){return"%"}function Co(t){return+t}function Po(t){return Math.floor(+t/1e3)}function Oo(t){return hi=di(t),hi.format,hi.parse,pi=hi.utcFormat,gi=hi.utcParse,hi}Oo({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var Ao="%Y-%m-%dT%H:%M:%S.%LZ";function Mo(t){return t.toISOString()}Date.prototype.toISOString||pi(Ao);function ko(t){var e=new Date(t);return isNaN(e)?null:e}+new Date("2000-01-01T00:00:00.000Z")||gi(Ao);var Eo=function(t){var e=t.length/6|0,n=new Array(e),r=0;while(r<e)n[r]="#"+t.slice(6*r,6*++r);return n},Ro=(Eo("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),Eo("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),Eo("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),Eo("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),Eo("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2")),Lo=(Eo("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),Eo("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),Eo("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),Eo("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),function(t){return Un(t[t.length-1])}),Do=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(Eo),No=(Lo(Do),new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(Eo)),Io=(Lo(No),new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(Eo)),Wo=(Lo(Io),new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(Eo)),Xo=(Lo(Wo),new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(Eo)),Yo=(Lo(Xo),new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(Eo)),Fo=(Lo(Yo),new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(Eo)),jo=(Lo(Fo),new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(Eo)),Bo=(Lo(jo),new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(Eo)),Uo=(Lo(Bo),new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(Eo)),Ho=(Lo(Uo),new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(Eo)),zo=(Lo(Ho),new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(Eo)),Vo=(Lo(zo),new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(Eo)),$o=(Lo(Vo),new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(Eo)),Go=(Lo($o),new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(Eo)),qo=(Lo(Go),new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(Eo)),Zo=(Lo(qo),new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(Eo)),Ko=(Lo(Zo),new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(Eo)),Qo=(Lo(Ko),new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(Eo)),Jo=(Lo(Qo),new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(Eo)),ta=(Lo(Jo),new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(Eo)),ea=(Lo(ta),new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(Eo)),na=(Lo(ea),new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(Eo)),ra=(Lo(na),new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(Eo)),ia=(Lo(ra),new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(Eo)),oa=(Lo(ia),new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(Eo)),aa=(Lo(oa),new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(Eo));Lo(aa),or(En(300,.5,0),En(-240,.5,1)),or(En(-100,.75,.35),En(80,1.5,.8)),or(En(260,.75,.35),En(80,1.5,.8)),En(),$e(),Math.PI,Math.PI;function sa(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}}sa(Eo("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),sa(Eo("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),sa(Eo("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),sa(Eo("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));
47/*!
48 * perfect-scrollbar v1.4.0
49 * (c) 2018 Hyunje Jun
50 * @license MIT
51 */
52function ca(t){return getComputedStyle(t)}function la(t,e){for(var n in e){var r=e[n];"number"===typeof r&&(r+="px"),t.style[n]=r}return t}function fa(t){var e=document.createElement("div");return e.className=t,e}var ua="undefined"!==typeof Element&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function da(t,e){if(!ua)throw new Error("No element matching method supported");return ua.call(t,e)}function ha(t){t.remove?t.remove():t.parentNode&&t.parentNode.removeChild(t)}function pa(t,e){return Array.prototype.filter.call(t.children,function(t){return da(t,e)})}var ga={main:"ps",element:{thumb:function(t){return"ps__thumb-"+t},rail:function(t){return"ps__rail-"+t},consuming:"ps__child--consume"},state:{focus:"ps--focus",clicking:"ps--clicking",active:function(t){return"ps--active-"+t},scrolling:function(t){return"ps--scrolling-"+t}}},va={x:null,y:null};function ba(t,e){var n=t.element.classList,r=ga.state.scrolling(e);n.contains(r)?clearTimeout(va[e]):n.add(r)}function ma(t,e){va[e]=setTimeout(function(){return t.isAlive&&t.element.classList.remove(ga.state.scrolling(e))},t.settings.scrollingThreshold)}function ya(t,e){ba(t,e),ma(t,e)}var _a=function(t){this.element=t,this.handlers={}},wa={isEmpty:{configurable:!0}};_a.prototype.bind=function(t,e){"undefined"===typeof this.handlers[t]&&(this.handlers[t]=[]),this.handlers[t].push(e),this.element.addEventListener(t,e,!1)},_a.prototype.unbind=function(t,e){var n=this;this.handlers[t]=this.handlers[t].filter(function(r){return!(!e||r===e)||(n.element.removeEventListener(t,r,!1),!1)})},_a.prototype.unbindAll=function(){var t=this;for(var e in t.handlers)t.unbind(e)},wa.isEmpty.get=function(){var t=this;return Object.keys(this.handlers).every(function(e){return 0===t.handlers[e].length})},Object.defineProperties(_a.prototype,wa);var xa=function(){this.eventElements=[]};function Ta(t){if("function"===typeof window.CustomEvent)return new CustomEvent(t);var e=document.createEvent("CustomEvent");return e.initCustomEvent(t,!1,!1,void 0),e}xa.prototype.eventElement=function(t){var e=this.eventElements.filter(function(e){return e.element===t})[0];return e||(e=new _a(t),this.eventElements.push(e)),e},xa.prototype.bind=function(t,e,n){this.eventElement(t).bind(e,n)},xa.prototype.unbind=function(t,e,n){var r=this.eventElement(t);r.unbind(e,n),r.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(r),1)},xa.prototype.unbindAll=function(){this.eventElements.forEach(function(t){return t.unbindAll()}),this.eventElements=[]},xa.prototype.once=function(t,e,n){var r=this.eventElement(t),i=function(t){r.unbind(e,i),n(t)};r.bind(e,i)};var Sa=function(t,e,n,r,i){var o;if(void 0===r&&(r=!0),void 0===i&&(i=!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"]}Ca(t,n,o,r,i)};function Ca(t,e,n,r,i){var o=n[0],a=n[1],s=n[2],c=n[3],l=n[4],f=n[5];void 0===r&&(r=!0),void 0===i&&(i=!1);var u=t.element;t.reach[c]=null,u[s]<1&&(t.reach[c]="start"),u[s]>t[o]-t[a]-1&&(t.reach[c]="end"),e&&(u.dispatchEvent(Ta("ps-scroll-"+c)),e<0?u.dispatchEvent(Ta("ps-scroll-"+l)):e>0&&u.dispatchEvent(Ta("ps-scroll-"+f)),r&&ya(t,c)),t.reach[c]&&(e||i)&&u.dispatchEvent(Ta("ps-"+c+"-reach-"+t.reach[c]))}function Pa(t){return parseInt(t,10)||0}function Oa(t){return da(t,"input,[contenteditable]")||da(t,"select,[contenteditable]")||da(t,"textarea,[contenteditable]")||da(t,"button,[contenteditable]")}function Aa(t){var e=ca(t);return Pa(e.width)+Pa(e.paddingLeft)+Pa(e.paddingRight)+Pa(e.borderLeftWidth)+Pa(e.borderRightWidth)}var Ma={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)},ka=function(t){var e=t.element,n=Math.floor(e.scrollTop);t.containerWidth=e.clientWidth,t.containerHeight=e.clientHeight,t.contentWidth=e.scrollWidth,t.contentHeight=e.scrollHeight,e.contains(t.scrollbarXRail)||(pa(e,ga.element.rail("x")).forEach(function(t){return ha(t)}),e.appendChild(t.scrollbarXRail)),e.contains(t.scrollbarYRail)||(pa(e,ga.element.rail("y")).forEach(function(t){return ha(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=Ea(t,Pa(t.railXWidth*t.containerWidth/t.contentWidth)),t.scrollbarXLeft=Pa((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=Ea(t,Pa(t.railYHeight*t.containerHeight/t.contentHeight)),t.scrollbarYTop=Pa(n*(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),Ra(e,t),t.scrollbarXActive?e.classList.add(ga.state.active("x")):(e.classList.remove(ga.state.active("x")),t.scrollbarXWidth=0,t.scrollbarXLeft=0,e.scrollLeft=0),t.scrollbarYActive?e.classList.add(ga.state.active("y")):(e.classList.remove(ga.state.active("y")),t.scrollbarYHeight=0,t.scrollbarYTop=0,e.scrollTop=0)};function Ea(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 Ra(t,e){var n={width:e.railXWidth},r=Math.floor(t.scrollTop);e.isRtl?n.left=e.negativeScrollAdjustment+t.scrollLeft+e.containerWidth-e.contentWidth:n.left=t.scrollLeft,e.isScrollbarXUsingBottom?n.bottom=e.scrollbarXBottom-r:n.top=e.scrollbarXTop+r,la(e.scrollbarXRail,n);var i={top:r,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,la(e.scrollbarYRail,i),la(e.scrollbarX,{left:e.scrollbarXLeft,width:e.scrollbarXWidth-e.railBorderXWidth}),la(e.scrollbarY,{top:e.scrollbarYTop,height:e.scrollbarYHeight-e.railBorderYWidth})}var La=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,r=n>t.scrollbarYTop?1:-1;t.element.scrollTop+=r*t.containerHeight,ka(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,r=n>t.scrollbarXLeft?1:-1;t.element.scrollLeft+=r*t.containerWidth,ka(t),e.stopPropagation()})},Da=function(t){Na(t,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),Na(t,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])};function Na(t,e){var n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],s=e[5],c=e[6],l=e[7],f=e[8],u=t.element,d=null,h=null,p=null;function g(e){u[c]=d+p*(e[i]-h),ba(t,l),ka(t),e.stopPropagation(),e.preventDefault()}function v(){ma(t,l),t[f].classList.remove(ga.state.clicking),t.event.unbind(t.ownerDocument,"mousemove",g)}t.event.bind(t[a],"mousedown",function(e){d=u[c],h=e[i],p=(t[r]-t[n])/(t[o]-t[s]),t.event.bind(t.ownerDocument,"mousemove",g),t.event.once(t.ownerDocument,"mouseup",v),t[f].classList.add(ga.state.clicking),e.stopPropagation(),e.preventDefault()})}var Ia=function(t){var e=t.element,n=function(){return da(e,":hover")},r=function(){return da(t.scrollbarX,":focus")||da(t.scrollbarY,":focus")};function i(n,r){var i=Math.floor(e.scrollTop);if(0===n){if(!t.scrollbarYActive)return!1;if(0===i&&r>0||i>=t.contentHeight-t.containerHeight&&r<0)return!t.settings.wheelPropagation}var o=e.scrollLeft;if(0===r){if(!t.scrollbarXActive)return!1;if(0===o&&n<0||o>=t.contentWidth-t.containerWidth&&n>0)return!t.settings.wheelPropagation}return!0}t.event.bind(t.ownerDocument,"keydown",function(o){if(!(o.isDefaultPrevented&&o.isDefaultPrevented()||o.defaultPrevented)&&(n()||r())){var a=document.activeElement?document.activeElement:t.ownerDocument.activeElement;if(a){if("IFRAME"===a.tagName)a=a.contentDocument.activeElement;else while(a.shadowRoot)a=a.shadowRoot.activeElement;if(Oa(a))return}var s=0,c=0;switch(o.which){case 37:s=o.metaKey?-t.contentWidth:o.altKey?-t.containerWidth:-30;break;case 38:c=o.metaKey?t.contentHeight:o.altKey?t.containerHeight:30;break;case 39:s=o.metaKey?t.contentWidth:o.altKey?t.containerWidth:30;break;case 40:c=o.metaKey?-t.contentHeight:o.altKey?-t.containerHeight:-30;break;case 32:c=o.shiftKey?t.containerHeight:-t.containerHeight;break;case 33:c=t.containerHeight;break;case 34:c=-t.containerHeight;break;case 36:c=t.contentHeight;break;case 35:c=-t.contentHeight;break;default:return}t.settings.suppressScrollX&&0!==s||t.settings.suppressScrollY&&0!==c||(e.scrollTop-=c,e.scrollLeft+=s,ka(t),i(s,c)&&o.preventDefault())}})},Wa=function(t){var e=t.element;function n(n,r){var i,o=Math.floor(e.scrollTop),a=0===e.scrollTop,s=o+e.offsetHeight===e.scrollHeight,c=0===e.scrollLeft,l=e.scrollLeft+e.offsetWidth===e.scrollWidth;return i=Math.abs(r)>Math.abs(n)?a||s:c||l,!i||!t.settings.wheelPropagation}function r(t){var e=t.deltaX,n=-1*t.deltaY;return"undefined"!==typeof e&&"undefined"!==typeof 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]}function i(t,n,r){if(!Ma.isWebKit&&e.querySelector("select:focus"))return!0;if(!e.contains(t))return!1;var i=t;while(i&&i!==e){if(i.classList.contains(ga.element.consuming))return!0;var o=ca(i),a=[o.overflow,o.overflowX,o.overflowY].join("");if(a.match(/(scroll|auto)/)){var s=i.scrollHeight-i.clientHeight;if(s>0&&!(0===i.scrollTop&&r>0)&&!(i.scrollTop===s&&r<0))return!0;var c=i.scrollWidth-i.clientWidth;if(c>0&&!(0===i.scrollLeft&&n<0)&&!(i.scrollLeft===c&&n>0))return!0}i=i.parentNode}return!1}function o(o){var a=r(o),s=a[0],c=a[1];if(!i(o.target,s,c)){var l=!1;t.settings.useBothWheelAxes?t.scrollbarYActive&&!t.scrollbarXActive?(c?e.scrollTop-=c*t.settings.wheelSpeed:e.scrollTop+=s*t.settings.wheelSpeed,l=!0):t.scrollbarXActive&&!t.scrollbarYActive&&(s?e.scrollLeft+=s*t.settings.wheelSpeed:e.scrollLeft-=c*t.settings.wheelSpeed,l=!0):(e.scrollTop-=c*t.settings.wheelSpeed,e.scrollLeft+=s*t.settings.wheelSpeed),ka(t),l=l||n(s,c),l&&!o.ctrlKey&&(o.stopPropagation(),o.preventDefault())}}"undefined"!==typeof window.onwheel?t.event.bind(e,"wheel",o):"undefined"!==typeof window.onmousewheel&&t.event.bind(e,"mousewheel",o)},Xa=function(t){if(Ma.supportsTouch||Ma.supportsIePointer){var e=t.element,n={},r=0,i={},o=null;Ma.supportsTouch?(t.event.bind(e,"touchstart",f),t.event.bind(e,"touchmove",d),t.event.bind(e,"touchend",h)):Ma.supportsIePointer&&(window.PointerEvent?(t.event.bind(e,"pointerdown",f),t.event.bind(e,"pointermove",d),t.event.bind(e,"pointerup",h)):window.MSPointerEvent&&(t.event.bind(e,"MSPointerDown",f),t.event.bind(e,"MSPointerMove",d),t.event.bind(e,"MSPointerUp",h)))}function a(n,r){var i=Math.floor(e.scrollTop),o=e.scrollLeft,a=Math.abs(n),s=Math.abs(r);if(s>a){if(r<0&&i===t.contentHeight-t.containerHeight||r>0&&0===i)return 0===window.scrollY&&r>0&&Ma.isChrome}else if(a>s&&(n<0&&o===t.contentWidth-t.containerWidth||n>0&&0===o))return!0;return!0}function s(n,r){e.scrollTop-=r,e.scrollLeft-=n,ka(t)}function c(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 f(t){if(l(t)){var e=c(t);n.pageX=e.pageX,n.pageY=e.pageY,r=(new Date).getTime(),null!==o&&clearInterval(o)}}function u(t,n,r){if(!e.contains(t))return!1;var i=t;while(i&&i!==e){if(i.classList.contains(ga.element.consuming))return!0;var o=ca(i),a=[o.overflow,o.overflowX,o.overflowY].join("");if(a.match(/(scroll|auto)/)){var s=i.scrollHeight-i.clientHeight;if(s>0&&!(0===i.scrollTop&&r>0)&&!(i.scrollTop===s&&r<0))return!0;var c=i.scrollLeft-i.clientWidth;if(c>0&&!(0===i.scrollLeft&&n<0)&&!(i.scrollLeft===c&&n>0))return!0}i=i.parentNode}return!1}function d(t){if(l(t)){var e=c(t),o={pageX:e.pageX,pageY:e.pageY},f=o.pageX-n.pageX,d=o.pageY-n.pageY;if(u(t.target,f,d))return;s(f,d),n=o;var h=(new Date).getTime(),p=h-r;p>0&&(i.x=f/p,i.y=d/p,r=h),a(f,d)&&t.preventDefault()}}function h(){t.settings.swipeEasing&&(clearInterval(o),o=setInterval(function(){t.isInitialized?clearInterval(o):i.x||i.y?Math.abs(i.x)<.01&&Math.abs(i.y)<.01?clearInterval(o):(s(30*i.x,30*i.y),i.x*=.8,i.y*=.8):clearInterval(o)},10))}},Ya=function(){return{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:!0,wheelSpeed:1}},Fa={"click-rail":La,"drag-thumb":Da,keyboard:Ia,wheel:Wa,touch:Xa},ja=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 r in this.element=t,t.classList.add(ga.main),this.settings=Ya(),e)n.settings[r]=e[r];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var i=function(){return t.classList.add(ga.state.focus)},o=function(){return t.classList.remove(ga.state.focus)};this.isRtl="rtl"===ca(t).direction,this.isNegativeScroll=function(){var e=t.scrollLeft,n=null;return t.scrollLeft=-1,n=t.scrollLeft<0,t.scrollLeft=e,n}(),this.negativeScrollAdjustment=this.isNegativeScroll?t.scrollWidth-t.clientWidth:0,this.event=new xa,this.ownerDocument=t.ownerDocument||document,this.scrollbarXRail=fa(ga.element.rail("x")),t.appendChild(this.scrollbarXRail),this.scrollbarX=fa(ga.element.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",i),this.event.bind(this.scrollbarX,"blur",o),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var a=ca(this.scrollbarXRail);this.scrollbarXBottom=parseInt(a.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=Pa(a.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=Pa(a.borderLeftWidth)+Pa(a.borderRightWidth),la(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=Pa(a.marginLeft)+Pa(a.marginRight),la(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=fa(ga.element.rail("y")),t.appendChild(this.scrollbarYRail),this.scrollbarY=fa(ga.element.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",i),this.event.bind(this.scrollbarY,"blur",o),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var s=ca(this.scrollbarYRail);this.scrollbarYRight=parseInt(s.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=Pa(s.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?Aa(this.scrollbarY):null,this.railBorderYWidth=Pa(s.borderTopWidth)+Pa(s.borderBottomWidth),la(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=Pa(s.marginTop)+Pa(s.marginBottom),la(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 Fa[t](n)}),this.lastScrollTop=Math.floor(t.scrollTop),this.lastScrollLeft=t.scrollLeft,this.event.bind(this.element,"scroll",function(t){return n.onScroll(t)}),ka(this)};ja.prototype.update=function(){this.isAlive&&(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,la(this.scrollbarXRail,{display:"block"}),la(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=Pa(ca(this.scrollbarXRail).marginLeft)+Pa(ca(this.scrollbarXRail).marginRight),this.railYMarginHeight=Pa(ca(this.scrollbarYRail).marginTop)+Pa(ca(this.scrollbarYRail).marginBottom),la(this.scrollbarXRail,{display:"none"}),la(this.scrollbarYRail,{display:"none"}),ka(this),Sa(this,"top",0,!1,!0),Sa(this,"left",0,!1,!0),la(this.scrollbarXRail,{display:""}),la(this.scrollbarYRail,{display:""}))},ja.prototype.onScroll=function(t){this.isAlive&&(ka(this),Sa(this,"top",this.element.scrollTop-this.lastScrollTop),Sa(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},ja.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),ha(this.scrollbarX),ha(this.scrollbarY),ha(this.scrollbarXRail),ha(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},ja.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(t){return!t.match(/^ps([-_].+|)$/)}).join(" ")};var Ba=ja;n("7da8");function Ua(t,e){if(!0!==t)throw new Error("assertion failed: "+e)}var Ha=Ua,za=c.a.extend({components:{SerifOperator:le,CompoundWidget:Wt},props:["taxonomies"],data:function(){return{renderCount:0}},created:function(){this.$store.commit(ut.INITIALIZE_TAXONOMIES,this.taxonomies)},mounted:function(){},watch:{compoundWidgets:function(t){this.reRender()}},methods:{reRender:function(){var t=this;this.renderCount++,this.$nextTick(function(){t.setupScrollbar(),t.bindCompoundWidgets()})},bindCompoundWidgets:function(){ht["debug"]("inside mounted callback");var t=this.getCompoundWidgetElements();ht["debug"]("widgets to bind = %o",t),t.forEach(this.bindCompoundWidget)},bindCompoundWidget:function(t,e){var n=this,r=this;ht["debug"]("value of compoundWidget is %o",t);var i=t.querySelector(".move-handle");Ha(null!==i,"move handle must be found"),ht["debug"]("I will try to bind the draggable to element %o",i);var o={trigger:i,type:"x",onPress:function(){return n.$store.commit(ut.COMPOUND_WIDGET_DRAG_FLAG_ON,e)},onRelease:function(){return n.$store.commit(ut.COMPOUND_WIDGET_DRAG_FLAG_OFF,e)},onDragEnd:function(t){r.onDragEnd(this,t,e)}};Ft.create(t,o)},onDragEnd:function(t,e,n){ht["debug"]("drag ended");var r=this.getCompoundWidgetElements(),i=Ot.getCollidingElements(t,r);if(0===i.length)this.reRender();else{if(i.length>1)throw new Error("Ambiguous drag");var o=r.indexOf(i[0]);this.$store.commit(ut.SWAP_COMPOUND_WIDGETS,{sourceIndex:n,targetIndex:o}),this.reRender()}},getCompoundWidgetElements:function(){return ht["debug"]("compoundWidgets ref is %o",this.$refs.compoundWidgets),this.$refs.compoundWidgets.map(function(t){return t.$el})},setupScrollbar:function(){if(zt.isHTMLElement(this.$refs.mainViewContainer)){var t=this.$refs.mainViewContainer,e={suppressScrollY:!0,useBothWheelAxes:!0},n=new Ba(t,e);n.update(),ht["debug"]("set up scrollbar with %o",n)}},shuffleTaxonSelectors:function(){this.$store.commit(ut.SHUFFLE_TAXON_SELECTORS)},loadSampleData:function(){this.$store.commit(ut.LOAD_SAMPLE_DATA)},addCompoundWidget:function(){this.$store.commit(ut.ADD_COMPOUND_WIDGET)},getQuery:function(){return this.serializedQuery}},computed:a({sortedTaxonomyTypeKeys:function(){var t=Object.keys(this.taxonomies);return t.sort(),t},widgetStyle:function(){var t=Ce();t.domain(this.sortedTaxonomyTypeKeys),t.range(Ro);var e={};return this.sortedTaxonomyTypeKeys.forEach(function(n){e[n]={"background-color":t(n)}}),ht["debug"]("result was %o",e),e}},N(["compoundWidgets","serializedQuery"]))}),Va=za,$a=(n("452a"),z(Va,i,o,!1,null,null,null));$a.options.__file="WidgetView.vue";var Ga,qa=$a.exports,Za=function(){function t(t,e){this.isVisible=!0,this.nodeId=t,this.content=e}return t.prototype.toTaxonDisplayInfo=function(t){return{level:t,value:this.content,isVisible:this.isVisible}},t.prototype.hasDefiniteValue=function(){return!0},t.prototype.toPathElements=function(){return[this.nodeId]},t}(),Ka=function(){function t(){this.isVisible=!0}return t.prototype.hasDefiniteValue=function(){return!1},t.prototype.toTaxonDisplayInfo=function(t){if(t<1)throw new Error("level must be 1-based");return{level:t,value:"",isVisible:this.isVisible}},t.prototype.toPathElements=function(){return[]},t}(),Qa=n("73ec"),Ja=n.n(Qa),ts=[{taxonomyRef:"Occupation",isCurrentlyBeingDragged:!1,selectedPath:[{nodeId:"0",isVisible:!0},{nodeId:"1",isVisible:!0},{nodeId:"2",isVisible:!0},{nodeId:"3",isVisible:!0}],hasTentativeTaxonSelector:!1},{taxonomyRef:"Place",isCurrentlyBeingDragged:!1,selectedPath:[{nodeId:"0",isVisible:!0},{nodeId:"1",isVisible:!0},{nodeId:"2",isVisible:!0}],hasTentativeTaxonSelector:!1},{taxonomyRef:"Occupation",isCurrentlyBeingDragged:!1,selectedPath:[{nodeId:"0",isVisible:!0},{nodeId:"1",isVisible:!0},{nodeId:"2",isVisible:!0},{nodeId:"3",isVisible:!0}],hasTentativeTaxonSelector:!1},{taxonomyRef:"Place",isCurrentlyBeingDragged:!1,selectedPath:[{nodeId:"0",isVisible:!0},{nodeId:"1",isVisible:!0},{nodeId:"2",isVisible:!0}],hasTentativeTaxonSelector:!1}],es={children:[{content:"Rock",id:1,label:"Taxon",children:[{content:"Metal",id:3,label:"Taxon"}]},{content:"Classical",id:2,label:"Taxon",children:[{content:"Baroque",id:4,label:"Taxon"}]}],content:"Music",id:0,label:"Taxon"},ns=es,rs={},is=new Ja.a(rs),os={state:{widgetState:[{isVisible:!0}],taxonomyData:ns,selectedPathTS2:[],compoundWidgets:[],taxonomiesData:{}},mutations:(Ga={},Ga[ut.ADD_NEW_WIDGET]=function(t){t.widgetState.push({isVisible:!0})},Ga[ut.HIDE_WIDGET]=function(t,e){t.widgetState[e].isVisible=!1},Ga[ut.COMPOUND_WIDGET_DRAG_FLAG_ON]=function(t,e){t.compoundWidgets[e].isCurrentlyBeingDragged=!0},Ga[ut.COMPOUND_WIDGET_DRAG_FLAG_OFF]=function(t,e){t.compoundWidgets[e].isCurrentlyBeingDragged=!1},Ga[ut.SWAP_COMPOUND_WIDGETS]=function(t,e){var n=t.compoundWidgets.splice(e.sourceIndex,1),r=n[0];t.compoundWidgets.splice(e.targetIndex,0,r)},Ga[ut.KILL_TAXON_SELECTOR]=function(t,e){var n=t.compoundWidgets[e.compoundWidgetIndex].selectedPath;n.splice(e.taxonSelectorIndex)},Ga[ut.LOAD_SAMPLE_DATA]=function(t){t.compoundWidgets=ts},Ga[ut.ADD_COMPOUND_WIDGET]=function(t){t.compoundWidgets.push(Ot.makeEmptyCompoundWidget())},Ga[ut.INITIALIZE_TAXONOMIES]=function(t,e){t.taxonomiesData=e},Ga[ut.TOGGLE_TAXON_SELECTOR_VISIBILITY]=function(t,e){var n=t.compoundWidgets[e.compoundWidgetIndex].selectedPath,r=n[e.taxonSelectorIndex];r.isVisible=!r.isVisible},Ga[ut.MAKE_TENTATIVE_SELECTOR]=function(t,e){var n=t.compoundWidgets[e],r=new Ka;n.selectedPath.push(r),n.hasTentativeTaxonSelector=!1},Ga[ut.SET_TAXONOMY_REF]=function(t,e){t.compoundWidgets[e.compoundWidgetIndex].taxonomyRef=e.taxonomyRef},Ga[ut.REPLACE_PATH_SEGMENT]=function(t,e){ht["debug"]("would replace path segment, %o",e);var n=t.compoundWidgets[e.compoundWidgetIndex],r=new Za(e.nodeIdentifier,e.taxonContent);n.selectedPath.splice(e.selectedPathIndex,1,r)},Ga[ut.KILL_COMPOUND_WIDGET]=function(t,e){t.compoundWidgets.splice(e,1)},Ga),actions:{},getters:{taxonomyTree:function(t,e){return is.parse(t.taxonomyData)},selectedPathTS2:function(t,e){return t.selectedPathTS2},definedWidgetCount:function(t,e){return t.widgetState.length},widgetVisibility:function(t){return t.widgetState.map(function(t){return t.isVisible})},isSpecificCompoundWidgetBeingDragged:function(t){return function(e){return t.compoundWidgets[e].isCurrentlyBeingDragged}},hasTentativeTaxonSelector:function(t){return function(e){return t.compoundWidgets[e].hasTentativeTaxonSelector}},compoundWidgets:function(t){return t.compoundWidgets},getTaxonSelectorVisibility:function(t,e){return function(e,n){return t.compoundWidgets[e].selectedPath[n].isVisible}},getSelectedPath:function(t){return function(e){return t.compoundWidgets[e].selectedPath}},taxonomies:function(t){var e=Object.keys(t.taxonomiesData),n={};return e.forEach(function(e){n[e]=is.parse(t.taxonomiesData[e])}),n},getTaxonsByCompoundWidgetIndex:function(t,e){return function(t){var n=e.getSelectedPath(t);return n.map(function(t,e){return t.toTaxonDisplayInfo(e+1)})}},serializedQuery:function(t,e){for(var n=[],r=0,i=t.compoundWidgets;r<i.length;r++){var o=i[r];null!==o.taxonomyRef&&n.push(Ot.getQuerySegment(o))}return n}}},as=os;n.d(e,"WidgetView",function(){return qa}),n.d(e,"WidgetsModule",function(){return as})},fb64:function(t,e,n){}})});
53//# sourceMappingURL=amoe-butterworth-widgets.umd.min.js.map
\No newline at end of file