From 02fecd67664eb808ff4d366c821b7808f0af1895 Mon Sep 17 00:00:00 2001 From: BrokenTalentsFun CI Date: Sun, 14 Oct 2018 12:12:17 +0200 Subject: automatic build --- dist/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dist') diff --git a/dist/build.js b/dist/build.js index 355c909..5519183 100644 --- a/dist/build.js +++ b/dist/build.js @@ -25,6 +25,6 @@ e.exports=function(){"use strict";var e={installed:!1,p:Promise.resolve(),versio * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE * @version 3.3.1 */ -a=function(){"use strict";function e(e){return"function"==typeof e}var a=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},i=0,l=void 0,o=void 0,s=function(e,t){v[i]=e,v[i+1]=t,2===(i+=2)&&(o?o(m):T())};var u="undefined"!=typeof window?window:void 0,c=u||{},d=c.MutationObserver||c.WebKitMutationObserver,h="undefined"==typeof self&&void 0!==t&&"[object process]"==={}.toString.call(t),f="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function p(){var e=setTimeout;return function(){return e(m,1)}}var v=new Array(1e3);function m(){for(var e=0;ei*g)||T)for(n=0;nS&&WD&&(D=W);d/=(D-A)/(2*L),A=s.l2r(A),D=s.l2r(D),s.range=s._input.range=C=e[1]||a[1]<=e[0])&&i[0]t[0])return!0}return!1}(o,s,f)?(h.push(t),f.push([o,s])):u=[0];var c=n.plotgroup.selectAll(".bg").data(u);c.enter().append("rect").classed("bg",!0),c.exit().remove(),c.each(function(){n.bg=c;var e=n.plotgroup.node();e.insertBefore(this,e.childNodes[0])})});var p=i._bgLayer.selectAll(".bg").data(h);p.enter().append("rect").classed("bg",!0),p.exit().remove(),p.each(function(e){i._plots[e].bg=r.select(this)});var v=[];return c.each(function(t){var n=i._plots[t],r=a.Axes.getFromId(e,t,"x"),o=a.Axes.getFromId(e,t,"y");r.setScale(),o.setScale(),n.bg&&i._has("cartesian")&&n.bg.call(u.setRect,r._offset-l.p,o._offset-l.p,r._length+2*l.p,o._length+2*l.p).call(s.fill,i.plot_bgcolor).style("stroke-width",0),n.clipId="clip"+i._uid+t+"plot";var c=i._defs.selectAll("g.clips").selectAll("#"+n.clipId).data([0]);c.enter().append("clipPath").attr({class:"plotclip",id:n.clipId}).append("rect"),c.selectAll("rect").attr({width:r._length,height:o._length}),n.plot.call(u.setTranslate,r._offset,o._offset),n.plot.call(u.setClipUrl,n.clipId);var d=u.crispRound(e,r.linewidth,1),h=u.crispRound(e,o.linewidth,1),f=l.p+h,p="M"+-f+",",m="h"+(r._length+2*f),g="free"===r.anchor&&-1===v.indexOf(r._id),y=l.h*(1-(r.position||0))+d/2%1,_=r.anchor===o._id&&(r.mirror||"top"!==r.side)||"all"===r.mirror||"allticks"===r.mirror||r.mirrors&&r.mirrors[o._id+"bottom"],b=o._length+l.p+d/2,T=r.anchor===o._id&&(r.mirror||"top"===r.side)||"all"===r.mirror||"allticks"===r.mirror||r.mirrors&&r.mirrors[o._id+"top"],k=-l.p-d/2,M=l.p,K=_?0:d,C=T?0:d,w=","+(-M-C)+"v"+(o._length+2*M+C+K),x="free"===o.anchor&&-1===v.indexOf(o._id),A=l.w*(o.position||0)+h/2%1,D=o.anchor===r._id&&(o.mirror||"right"!==o.side)||"all"===o.mirror||"allticks"===o.mirror||o.mirrors&&o.mirrors[r._id+"left"],L=-l.p-h/2,S=o.anchor===r._id&&(o.mirror||"right"===o.side)||"all"===o.mirror||"allticks"===o.mirror||o.mirrors&&o.mirrors[r._id+"right"],B=r._length+l.p+h/2;r._linepositions[t]=[_?b:void 0,T?k:void 0,g?y:void 0],r.anchor===o._id?r._linepositions[t][3]="top"===r.side?k:b:g&&(r._linepositions[t][3]=y),o._linepositions[t]=[D?L:void 0,S?B:void 0,x?A:void 0],o.anchor===r._id?o._linepositions[t][3]="right"===o.side?B:L:x&&(o._linepositions[t][3]=A);var W="translate("+r._offset+","+o._offset+")",G=W,z=W;g&&(G="translate("+r._offset+","+l.t+")",k+=o._offset-l.t,b+=o._offset-l.t),x&&(z="translate("+l.l+","+o._offset+")",L+=r._offset-l.l,B+=r._offset-l.l),i._has("cartesian")&&(n.xlines.attr("transform",G).attr("d",(_?p+b+m:"")+(T?p+k+m:"")+(g?p+y+m:"")||"M0,0").style("stroke-width",d+"px").call(s.stroke,r.showline?r.linecolor:"rgba(0,0,0,0)"),n.ylines.attr("transform",z).attr("d",(D?"M"+L+w:"")+(S?"M"+B+w:"")+(x?"M"+A+w:"")||"M0,0").attr("stroke-width",h+"px").call(s.stroke,o.showline?o.linecolor:"rgba(0,0,0,0)")),n.xaxislayer.attr("transform",G),n.yaxislayer.attr("transform",z),n.gridlayer.attr("transform",W),n.zerolinelayer.attr("transform",W),n.draglayer.attr("transform",W),g&&v.push(r._id),x&&v.push(o._id)}),a.Axes.makeClipPaths(e),t.drawMainTitle(e),d.manage(e),e._promises.length&&Promise.all(e._promises)},t.drawMainTitle=function(e){var t=e._fullLayout;c.draw(e,"gtitle",{propContainer:t,propName:"title",dfltName:"Plot",attributes:{x:t.width/2,y:t._size.t/2,"text-anchor":"middle"}})},t.doTraceStyle=function(e){for(var t=0;t0&&l.log("Clearing previous rejected promises from queue."),e._promises=[]},t.cleanLayout=function(e){var t,n;e||(e={}),e.xaxis1&&(e.xaxis||(e.xaxis=e.xaxis1),delete e.xaxis1),e.yaxis1&&(e.yaxis||(e.yaxis=e.yaxis1),delete e.yaxis1);var r=s.list({_fullLayout:e});for(t=0;t3?(m.x=1.02,m.xanchor="left"):m.x<-2&&(m.x=-.02,m.xanchor="right"),m.y>3?(m.y=1.02,m.yanchor="bottom"):m.y<-2&&(m.y=-.02,m.yanchor="top")),"rotate"===e.dragmode&&(e.dragmode="orbit"),e.scene1&&(e.scene||(e.scene=e.scene1),delete e.scene1);var g=o.getSubplotIds(e,"gl3d");for(t=0;t0)return e.substr(0,t)}t.hasParent=function(e,t){for(var n=p(t);n;){if(n in e)return!0;n=p(n)}return!1}},function(e,t,n){"use strict";var r=n(109),a=n(32),i=n(111),l=n(33),o=n(165).sorterAsc,s=n(4);t.containerArrayMatch=n(170);var u=t.isAddVal=function(e){return"add"===e||a(e)},c=t.isRemoveVal=function(e){return null===e||"remove"===e};t.applyContainerArrayChanges=function(e,t,n,a){var d=t.astr,h=s.getComponentMethod(d,"supplyLayoutDefaults"),f=s.getComponentMethod(d,"draw"),p=s.getComponentMethod(d,"drawOne"),v=a.replot||a.recalc||h===i||f===i,m=e.layout,g=e._fullLayout;if(n[""]){Object.keys(n).length>1&&l.warn("Full array edits are incompatible with other edits",d);var y=n[""][""];if(c(y))t.set(null);else{if(!Array.isArray(y))return l.warn("Unrecognized full array edit value",d,y),!0;t.set(y)}return!v&&(h(m,g),f(e),!0)}var _,b,T,k,M,K,C,w=Object.keys(n).map(Number).sort(o),x=t.get(),A=x||[],D=r(g,d).get(),L=[],S=-1,B=A.length;for(_=0;_A.length-(C?0:1))l.warn("index out of range",d,T);else if(void 0!==K)M.length>1&&l.warn("Insertion & removal are incompatible with edits to the same index.",d,T),c(K)?L.push(T):C?("add"===K&&(K={}),A.splice(T,0,K),D&&D.splice(T,0,{})):l.warn("Unrecognized full object edit value",d,T,K),-1===S&&(S=T);else for(b=0;b=0;_--)A.splice(L[_],1),D&&D.splice(L[_],1);if(A.length?x||t.set(A):t.set(null),v)return!1;if(h(m,g),p!==i){var W;if(-1===S)W=w;else{for(B=Math.max(A.length,B),W=[],_=0;_=S);_++)W.push(T);for(_=S;_=0?Math.min(e,.9):1/(1/Math.max(e,-.3)+3.222))}function x(e){e.selectAll(".select-outline").remove()}function A(e){r.select(e).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}function D(e){return-1!==["lasso","select"].indexOf(e)}function L(e){var t=Math.floor(Math.min(e.b-e.t,e.r-e.l,T)/2);return"M"+(e.l-3.5)+","+(e.t-.5+t)+"h3v"+-t+"h"+t+"v-3h-"+(t+3)+"ZM"+(e.r+3.5)+","+(e.t-.5+t)+"h-3v"+-t+"h"+-t+"v-3h"+(t+3)+"ZM"+(e.r+3.5)+","+(e.b+.5-t)+"h-3v"+t+"h"+-t+"v3h"+(t+3)+"ZM"+(e.l-3.5)+","+(e.b+.5-t)+"h3v"+t+"h"+t+"v3h-"+(t+3)+"Z"}e.exports=function(e,t,n,S,B,W,G,z){var R,P,O,E,j,I,N,F,H,V,$,q,U,Y=e._fullLayout,J=e._fullLayout._zoomlayer,X=G+z==="nsew";function Z(){P=[t.xaxis],O=[t.yaxis];var n=P[0],r=O[0];I=n._length,N=r._length;var a=Y._axisConstraintGroups,i=[n._id],l=[r._id];R=[t].concat(G&&z?t.overlays:[]);for(var s=1;s.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("transform","translate("+n+", "+r+")").attr("d",a+"Z")}(J,re,E,j,ae="M0,0H"+I+"V"+N+"H0V0"),se=function(e,t,n){return e.append("path").attr("class","zoombox-corners").style({fill:u.background,stroke:u.defaultLine,"stroke-width":1,opacity:0}).attr("transform","translate("+t+", "+n+")").attr("d","M0,0Z")}(J,E,j),x(J)}(0,n,r)):"pan"===i?(ue.moveFn=_e,ue.doneFn=fe,x(J)):D(i)&&(ue.xaxes=P,ue.yaxes=O,g(t,n,r,ue,i))}};h.init(ue);var ce={};function de(t,n){if(e._transitioningWithDuration)return!1;var r=Math.max(0,Math.min(I,t+ee)),a=Math.max(0,Math.min(N,n+te)),i=Math.abs(r-ee),l=Math.abs(a-te);function o(){le="",ne.r=ne.l,ne.t=ne.b,se.attr("d","M0,0Z")}ne.l=Math.min(ee,r),ne.r=Math.max(ee,r),ne.t=Math.min(te,a),ne.b=Math.max(te,a),$?i>T||l>T?(le="xy",i/I>l/N?(l=i*N/I,te>a?ne.t=te-l:ne.b=te+l):(i=l*I/N,ee>r?ne.l=ee-i:ne.r=ee+i),se.attr("d",L(ne))):o():!H||l.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),t.transition().style("opacity",1).duration(200))}(oe,se,ne,ae,ie,re),ie=!0}function he(t,n){if(Math.min(ne.h,ne.w)<2*b)return 2===n&&Te(),A(e);"xy"!==le&&"x"!==le||K(P,ne.l/I,ne.r/I,ce,q),"xy"!==le&&"y"!==le||K(O,(N-ne.b)/N,(N-ne.t)/N,ce,U),A(e),ke(le),k&&e.data&&e._context.showTips&&(o.notifier("Double-click to
zoom back out","long"),k=!1)}function fe(t,n){var a=1===(G+z).length;if(t)ke();else if(2!==n||a){if(1===n&&a){var l=G?O[0]:P[0],o="s"===G||"w"===z?0:1,u=l._name+".range["+o+"]",c=function(e,t){var n,a=e.range[t],i=Math.abs(a-e.range[1-t]);return"date"===e.type?a:"log"===e.type?(n=Math.ceil(Math.max(0,-Math.log(i)/Math.LN10))+3,r.format("."+n+"g")(Math.pow(10,a))):(n=Math.floor(Math.log(Math.abs(a))/Math.LN10)-Math.floor(Math.log(i)/Math.LN10)+4,r.format("."+String(n)+"g")(a))}(l,o),d="left",h="middle";if(l.fixedrange)return;G?(h="n"===G?"top":"bottom","right"===l.side&&(d="right")):"e"===z&&(d="right"),e._context.showAxisRangeEntryBoxes&&r.select(Q).call(s.makeEditable,{gd:e,immediate:!0,background:Y.paper_bgcolor,text:String(c),fill:l.tickfont?l.tickfont.color:"#444",horizontalAlign:d,verticalAlign:h}).on("edit",function(t){var n=l.d2r(t);void 0!==n&&i.relayout(e,u,n)})}}else Te()}var pe=[0,0,I,N],ve=null,me=_.REDRAWDELAY,ge=t.mainplot?Y._plots[t.mainplot]:t;function ye(t){if(e._context.scrollZoom||Y._enablescrollzoom){if(e._transitioningWithDuration)return o.pauseEvent(t);var n=e.querySelector(".plotly");if(Z(),!(n.scrollHeight-n.clientHeight>10||n.scrollWidth-n.clientWidth>10)){clearTimeout(ve);var r=-t.deltaY;if(isFinite(r)||(r=t.wheelDelta/10),isFinite(r)){var a,i=Math.exp(-Math.min(Math.max(r,-20),20)/100),l=ge.draglayer.select(".nsewdrag").node().getBoundingClientRect(),s=(t.clientX-l.left)/l.width,u=(l.bottom-t.clientY)/l.height;if(z||$){for(z||(s=.5),a=0;a4/3-o?l:o}},function(e,t,n){"use strict";e.exports=function(){var e,t=[],n=-1,r=!1;function a(e,t){return e?(r=!0,e[t](),r=!1,this):this}return{add:function(e){return r?this:(t.splice(n+1,t.length-n),t.push(e),n=t.length-1,this)},setCallback:function(t){e=t},undo:function(){var r=t[n];return r?(a(r,"undo"),n-=1,e&&e(r.undo),this):this},redo:function(){var r=t[n+1];return r?(a(r,"redo"),n+=1,e&&e(r.redo),this):this},clear:function(){t=[],n=-1},hasUndo:function(){return-1!==n},hasRedo:function(){return n*:not(.chart-root)").remove(),t=t?s(t,n):n,a||(a=l.Axis()),i=l.adapter.plotly().convert(t),a.config(i).render(c),e.data=t.data,e.layout=t.layout,u.fillLayout(e),t}return h.isPolar=!0,h.svg=function(){return a.svg()},h.getConfig=function(){return t},h.getLiveConfig=function(){return l.adapter.plotly().convert(a.getLiveConfig(),!0)},h.getLiveScales=function(){return{t:a.angularScale(),r:a.radialScale()}},h.setUndoPoint=function(){var e,r,a=this,i=l.util.cloneJson(t);e=i,r=n,d.add({undo:function(){r&&a(r)},redo:function(){a(e)}}),n=l.util.cloneJson(i)},h.undo=function(){d.undo()},h.redo=function(){d.redo()},h},u.fillLayout=function(e){var t=r.select(e).selectAll(".plot-container"),n=t.selectAll(".svg-container"),a=e.framework&&e.framework.svg&&e.framework.svg(),l={width:800,height:600,paper_bgcolor:i.background,_container:t,_paperdiv:n,_paper:a};e._fullLayout=s(l,e.layout)}},function(e,t,n){"use strict";(e.exports=n(147)).manager=n(273)},function(e,t,n){"use strict";var r=n(1),a=n(2),i=n(8),l=n(0),o=n(90),s=n(148),u=n(4),c=n(9),d=n(274),h=n(146),f=n(7),p=n(30),v=n(31),m=n(14),g=n(260),y=n(259),_=n(257),b=n(15),T=n(256),k=T.enforce,M=T.clean,K=n(18);function C(e,t){e._fullLayout._paperdiv.style("background","white"),i.defaultConfig.setBackground(e,t)}function w(e,t){var n,r,a=t+1,i=[];for(n=0;n=e.data.length||a<-e.data.length)throw new Error(n+" must be valid indices for gd.data.");if(t.indexOf(a,r+1)>-1||a>=0&&t.indexOf(-e.data.length+a)>-1||a<0&&t.indexOf(e.data.length+a)>-1)throw new Error("each index in "+n+" must be unique.")}}function A(e,t,n){if(!Array.isArray(e.data))throw new Error("gd.data must be an array.");if(void 0===t)throw new Error("currentIndices is a required argument.");if(Array.isArray(t)||(t=[t]),x(e,t,"currentIndices"),void 0===n||Array.isArray(n)||(n=[n]),void 0!==n&&x(e,n,"newIndices"),void 0!==n&&t.length!==n.length)throw new Error("current and new indices must be of equal length.")}function D(e,t,n,r,i,o){!function(e,t,n,r){var a=l.isPlainObject(r);if(!Array.isArray(e.data))throw new Error("gd.data must be an array");if(!l.isPlainObject(t))throw new Error("update must be a key:value object");if(void 0===n)throw new Error("indices must be an integer or array of integers");for(var i in x(e,n,"indices"),t){if(!Array.isArray(t[i])||t[i].length!==n.length)throw new Error("attribute "+i+" must be an array of length equal to indices array length");if(a&&(!(i in r)||!Array.isArray(r[i])||r[i].length!==t[i].length))throw new Error("when maxPoints is set as a key:value object it must contain a 1:1 corrispondence with the keys and number of traces in the update object")}}(e,t,n,r);for(var s,u,c,d=function(e,t,n,r){var i,o,s,u,c,d=l.isPlainObject(r),h=[];for(var f in Array.isArray(n)||(n=[n]),n=w(n,e.data.length-1),t)for(var p=0;p=0&&cN.range[0]?[1,2]:[2,1]);else{var V=N.range[0],$=N.range[1];F?(V<=0&&$<=0&&M(P+".autorange",!0),V<=0?V=$/1e6:$<=0&&($=V/1e6),M(P+".range[0]",Math.log(V)/Math.LN10),M(P+".range[1]",Math.log($)/Math.LN10)):(M(P+".range[0]",Math.pow(10,V)),M(P+".range[1]",Math.pow(10,$)))}else M(P+".autorange",!0);u.getComponentMethod("annotations","convertCoords")(e,E,S,M),u.getComponentMethod("images","convertCoords")(e,E,S,M)}else M(P+".autorange",!0);l.nestedProperty(s,P+"._inputRange").set(null)}else if(z.match(b.AX_NAME_PATTERN)){var q=l.nestedProperty(s,D).get(),U=(S||{}).type;U&&"-"!==U||(U="linear"),u.getComponentMethod("annotations","convertCoords")(e,q,U,M),u.getComponentMethod("images","convertCoords")(e,q,U,M)}var Y=g.containerArrayMatch(D);if(Y){n=Y.array,r=Y.index;var J=Y.property,X=(l.nestedProperty(o,n)||[])[r]||{};if(""===r)-1===D.indexOf("updatemenus")&&(_.docalc=!0);else if(""===J){var Z=S;g.isAddVal(S)?k[D]=null:g.isRemoveVal(S)?(k[D]=X,Z=X):l.warn("unrecognized full object value",t),(C(Z,"x")||C(Z,"y")&&-1===D.indexOf("updatemenus"))&&(_.docalc=!0)}else!C(X,"x")&&!C(X,"y")||l.containsAny(D,["color","opacity","align","dash","updatemenus"])||(_.docalc=!0);f[n]||(f[n]={});var Q=f[n][r];Q||(Q=f[n][r]={}),Q[J]=S,delete t[D]}else if("reverse"===z)O.range?O.range.reverse():(M(P+".autorange",!0),O.range=[1,0]),E.autorange?_.docalc=!0:_.doplot=!0;else{var ee=String(L.parts[1]||"");0===G.indexOf("scene")?"camera"===L.parts[1]?_.docamera=!0:_.doplot=!0:0===G.indexOf("geo")?_.doplot=!0:0===G.indexOf("ternary")?_.doplot=!0:"paper_bgcolor"===D?_.doplot=!0:"margin"===G||"autorange"===ee||"rangemode"===ee||"type"===ee||"domain"===ee||"fixedrange"===ee||"scaleanchor"===ee||"scaleratio"===ee||-1!==D.indexOf("calendar")||D.match(/^(bar|box|font)/)?_.docalc=!0:!s._has("gl2d")||-1===D.indexOf("axis")&&"plot_bgcolor"!==D?!s._has("gl2d")||"dragmode"!==D||"lasso"!==S&&"select"!==S||"lasso"===j||"select"===j?"hiddenlabels"===D?_.docalc=!0:-1!==G.indexOf("legend")?_.dolegend=!0:-1!==D.indexOf("title")?_.doticks=!0:-1!==G.indexOf("bgcolor")?_.dolayoutstyle=!0:B>1&&l.containsAny(ee,["tick","exponent","grid","zeroline"])?_.doticks=!0:-1!==D.indexOf(".linewidth")&&-1!==D.indexOf("axis")?_.doticks=_.dolayoutstyle=!0:B>1&&-1!==ee.indexOf("line")?_.dolayoutstyle=!0:B>1&&"mirror"===ee?_.doticks=_.dolayoutstyle=!0:"margin.pad"===D?_.doticks=_.dolayoutstyle=!0:-1!==["hovermode","dragmode"].indexOf(D)||-1!==D.indexOf("spike")?_.domodebar=!0:-1===["height","width","autosize"].indexOf(D)&&(_.doplot=!0):_.docalc=!0:_.doplot=!0,L.set(S)}}}for(n in f){g.applyContainerArrayChanges(e,l.nestedProperty(o,n),f[n],_)||(_.doplot=!0)}var te=s._axisConstraintGroups;for(w in x)for(r=0;r=a.length?a[0]:a[e]:a}function s(e){return Array.isArray(i)?e>=i.length?i[0]:i[e]:i}function u(e,t){var n=0;return function(){if(e&&++n===t)return e()}}return void 0===r._frameWaitingCnt&&(r._frameWaitingCnt=0),new Promise(function(i,d){function h(){r._currentFrame&&r._currentFrame.onComplete&&r._currentFrame.onComplete();var t=r._currentFrame=r._frameQueue.shift();if(t){var n=t.name?t.name.toString():null;e._fullLayout._currentFrame=n,r._lastFrameAt=Date.now(),r._timeToNext=t.frameOpts.duration,c.transition(e,t.frame.data,t.frame.layout,y.coerceTraceIndices(e,t.frame.traces),t.frameOpts,t.transitionOpts).then(function(){t.onComplete&&t.onComplete()}),e.emit("plotly_animatingframe",{name:n,frame:t.frame,animation:{frame:t.frameOpts,transition:t.transitionOpts}})}else e.emit("plotly_animated"),window.cancelAnimationFrame(r._animationRaf),r._animationRaf=null}function f(){e.emit("plotly_animating"),r._lastFrameAt=-1/0,r._timeToNext=0,r._runningTransitions=0,r._currentFrame=null;var t=function(){r._animationRaf=window.requestAnimationFrame(t),Date.now()-r._lastFrameAt>r._timeToNext&&h()};t()}var p,v,m=0;function g(e){return Array.isArray(a)?m>=a.length?e.transitionOpts=a[m]:e.transitionOpts=a[0]:e.transitionOpts=a,m++,e}var _=[],b=void 0===t||null===t,T=Array.isArray(t);if(!b&&!T&&l.isPlainObject(t))_.push({type:"object",data:g(l.extendFlat({},t))});else if(b||-1!==["string","number"].indexOf(typeof t))for(p=0;p0&&K<_.length-1){var C=[];for(p=0;p<_.length;p++)v=_[p],("byname"!==_[p].type||p>K)&&C.push(v);_=C}}_.length>0?function(t){if(0!==t.length){for(var a=0;a=0;r--)if(l.isPlainObject(t[r])){var v=(h[t[r].name]||{}).name,m=t[r].name;v&&m&&"number"==typeof m&&h[v]&&(u++,l.warn('addFrames: overwriting frame "'+h[v].name+'" with a frame whose name of type "number" also equates to "'+v+'". This is valid but may potentially lead to unexpected behavior since all plotly.js frame names are stored internally as strings.'),u>5&&l.warn("addFrames: This API call has yielded too many warnings. For the rest of this call, further warnings about numeric frame names will be suppressed.")),p.push({frame:c.supplyFrameDefaults(t[r]),index:n&&void 0!==n[r]&&null!==n[r]?n[r]:f+r})}p.sort(function(e,t){return e.index>t.index?-1:e.index=0;r--){if("number"==typeof(a=p[r].frame).name&&l.warn("Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings"),!a.name)for(;h[a.name="frame "+e._transitionData._counter++];);if(h[a.name]){for(i=0;i=0;n--)r=t[n],i.push({type:"delete",index:r}),o.unshift({type:"insert",index:r,value:a[r]});var u=c.modifyFrames,d=c.modifyFrames,h=[e,o],f=[e,i];return s&&s.add(e,u,h,d,f),c.modifyFrames(e,i)},i.purge=function(e){var t=(e=y.getGraphDiv(e))._fullLayout||{},n=e._fullData||[];return c.cleanPlot([],{},n,t),c.purge(e),o.purge(e),t._container&&t._container.remove(),delete e._context,delete e._replotPending,delete e._mouseDownTime,delete e._legendMouseDownTime,delete e._hmpixcount,delete e._hmlumcount,e}},function(e,t,n){"use strict";e.exports=function(e,t){var n=document.createElement("a"),r="download"in n,a=/Version\/[\d\.]+.*Safari/.test(navigator.userAgent);return new Promise(function(i,l){"undefined"!=typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent)&&l(new Error("IE < 10 unsupported")),a&&(document.location.href="data:application/octet-stream"+e.slice(e.search(/[,;]/)),i(t)),t||(t="download"),r&&(n.href=e,n.download=t,document.body.appendChild(n),n.click(),document.body.removeChild(n),i(t)),"undefined"!=typeof navigator&&navigator.msSaveBlob&&(navigator.msSaveBlob(new Blob([e]),t),i(t)),l(new Error("download error"))})}},function(e,t,n){"use strict";var r=n(8),a=n(9),i=n(6),l=n(0),o=n(96),s=n(97),u=e.exports={};function c(e,t){var n,a,l=t.currentTarget,o=l.getAttribute("data-attr"),s=l.getAttribute("data-val")||!0,u=e._fullLayout,c={},d=i.list(e,null,!0),h="on";if("zoom"===o){var f,p="in"===s?.5:2,v=(1+p)/2,m=(1-p)/2;for(a=0;a1)return m(["resetViews","toggleHover"]),o(v,n);c&&(m(["zoom3d","pan3d","orbitRotation","tableRotation"]),m(["resetCameraDefault3d","resetCameraLastSave3d"]),m(["hoverClosest3d"]));d&&(m(["zoomInGeo","zoomOutGeo","resetGeo"]),m(["hoverClosestGeo"]));var g=function(e){for(var t=r.list({_fullLayout:e},null,!0),n=!0,a=0;a0?".":"")+i;a.isPlainObject(l)?s(l,t,o,r+1):t(o,i,l)}})}t.manageCommandObserver=function(e,n,r,l){var o={},s=!0;n&&n._commandObserver&&(o=n._commandObserver),o.cache||(o.cache={}),o.lookupTable={};var u=t.hasSimpleAPICommandBindings(e,r,o.lookupTable);if(n&&n._commandObserver){if(u)return o;if(n._commandObserver.remove)return n._commandObserver.remove(),n._commandObserver=null,o}if(u){i(e,u,o.cache),o.check=function(){if(s){var t=i(e,u,o.cache);return t.changed&&l&&void 0!==o.lookupTable[t.value]&&(o.disable(),Promise.resolve(l({value:t.value,type:u.type,prop:u.prop,traces:u.traces,index:o.lookupTable[t.value]})).then(o.enable,o.enable)),t.changed}};for(var c=["plotly_relayout","plotly_redraw","plotly_restyle","plotly_update","plotly_animatingframe","plotly_afterplot"],d=0;d0;e.each(function(e){var t,u=e[0].trace,c=u.error_x||{},d=u.error_y||{};u.ids&&(t=function(e){return e.id});var h=i.hasMarkers(u)&&u.marker.maxdisplayed>0;if(d.visible||c.visible){var f=r.select(this).selectAll("g.errorbar").data(e,t);f.exit().remove(),f.style("opacity",1);var p=f.enter().append("g").classed("errorbar",!0);s&&p.style("opacity",0).transition().duration(n.duration).style("opacity",1),f.each(function(e){var t=r.select(this),i=function(e,t,n){var r={x:t.c2p(e.x),y:n.c2p(e.y)};void 0!==e.yh&&(r.yh=n.c2p(e.yh),r.ys=n.c2p(e.ys),a(r.ys)||(r.noYS=!0,r.ys=n.c2p(e.ys,!0)));void 0!==e.xh&&(r.xh=t.c2p(e.xh),r.xs=t.c2p(e.xs),a(r.xs)||(r.noXS=!0,r.xs=t.c2p(e.xs,!0)));return r}(e,l,o);if(!h||e.vis){var u;if(d.visible&&a(i.x)&&a(i.yh)&&a(i.ys)){var f=d.width;u="M"+(i.x-f)+","+i.yh+"h"+2*f+"m-"+f+",0V"+i.ys,i.noYS||(u+="m-"+f+",0h"+2*f);var p=t.select("path.yerror");!p.size()?p=t.append("path").classed("yerror",!0):s&&(p=p.transition().duration(n.duration).ease(n.easing)),p.attr("d",u)}if(c.visible&&a(i.y)&&a(i.xh)&&a(i.xs)){var v=(c.copy_ystyle?d:c).width;u="M"+i.xh+","+(i.y-v)+"v"+2*v+"m0,-"+v+"H"+i.xs,i.noXS||(u+="m0,-"+v+"v"+2*v);var m=t.select("path.xerror");!m.size()?m=t.append("path").classed("xerror",!0):s&&(m=m.transition().duration(n.duration).ease(n.easing)),m.attr("d",u)}}})}})}},function(e,t,n){"use strict";function r(e,t){return"percent"===e?function(e){return Math.abs(e*t/100)}:"constant"===e?function(){return Math.abs(t)}:"sqrt"===e?function(e){return Math.sqrt(Math.abs(e))}:void 0}e.exports=function(e){var t=e.type,n=e.symmetric;if("data"===t){var a=e.array,i=e.arrayminus;return n||void 0===i?function(e,t){var n=+a[t];return[n,n]}:function(e,t){return[+i[t],+a[t]]}}var l=r(t,e.value),o=r(t,e.valueminus);return n||void 0===e.valueminus?function(e){var t=l(e);return[t,t]}:function(e){return[o(e),l(e)]}}},function(e,t,n){"use strict";var r=n(0),a=n(18).id2name;e.exports=function(e,t,n,i,l){var o=l._axisConstraintGroups,s=t._id,u=s.charAt(0);if(!t.fixedrange&&(n("constrain"),r.coerce(e,t,{constraintoward:{valType:"enumerated",values:"x"===u?["left","center","right"]:["bottom","middle","top"],dflt:"x"===u?"center":"middle"}},"constraintoward"),e.scaleanchor)){var c=function(e,t,n,r){var i,l,o,s,u=r[a(t)].type,c=[];for(l=0;l0;i&&(r="array");var l=n("categoryorder",r);"array"===l&&n("categoryarray"),i||"array"!==l||(t.categoryorder="trace")}}},function(e,t,n){"use strict";var r=n(4),a=n(154),i=n(18).name2id;function l(e){return{v:"x",h:"y"}[e.orientation||"v"]}function o(e,t){var n=l(e),a=r.traceIs(e,"box"),i=r.traceIs(e._fullInput||{},"candlestick");return a&&!i&&t===n&&void 0===e[n]&&void 0===e[n+"0"]}e.exports=function(e,t,n,s,u){u&&(t._name=u,t._id=i(u)),"-"===n("type")&&(!function(e,t){if("-"!==e.type)return;var n=e._id,i=n.charAt(0);-1!==n.indexOf("scene")&&(n=i);var s=function(e,t,n){for(var r=0;r0?Math.max(t,a):0}}},function(e,t,n){"use strict";e.exports={entityToUnicode:{mu:"μ","#956":"μ",amp:"&","#28":"&",lt:"<","#60":"<",gt:">","#62":">",nbsp:" ","#160":" ",times:"×","#215":"×",plusmn:"±","#177":"±",deg:"°","#176":"°"}}},function(e,t,n){"use strict";var r=n(1),a=n(22),i=n(2),l=n(3);function o(e){var t={r:e[0],g:e[1],b:e[2],a:e[3]};return a(t).toRgbString()}e.exports=function(e,t){t=t||{};for(var n=e.domain,s=e.range,u=s.length,c=new Array(u),d=0;d/g),l=0;le.length-1)return e[e.length-1];var n=t%1;return n*e[Math.ceil(t)]+(1-n)*e[Math.floor(t)]}},function(e,t,n){"use strict";var r,a,i=n(1),l=n(2),o=n(33).error,s=n(169),u=n(16),c=u.BADNUM,d=u.ONEDAY,h=u.ONEHOUR,f=u.ONEMIN,p=u.ONESEC,v=u.EPOCHJD,m=n(4),g=i.time.format.utc,y=/^\s*(-?\d\d\d\d|\d\d)(-(\d?\d)(-(\d?\d)([ Tt]([01]?\d|2[0-3])(:([0-5]\d)(:([0-5]\d(\.\d+)?))?(Z|z|[+\-]\d\d:?\d\d)?)?)?)?)?\s*$/m,_=/^\s*(-?\d\d\d\d|\d\d)(-(\d?\di?)(-(\d?\d)([ Tt]([01]?\d|2[0-3])(:([0-5]\d)(:([0-5]\d(\.\d+)?))?(Z|z|[+\-]\d\d:?\d\d)?)?)?)?)?\s*$/m,b=(new Date).getFullYear()-70;function T(e){return e&&m.componentsRegistry.calendars&&"string"==typeof e&&"gregorian"!==e}function k(e,t){return String(e+Math.pow(10,t)).substr(1)}t.dateTick0=function(e,t){return T(e)?t?m.getComponentMethod("calendars","CANONICAL_SUNDAY")[e]:m.getComponentMethod("calendars","CANONICAL_TICK")[e]:t?"2000-01-02":"2000-01-01"},t.dfltRange=function(e){return T(e)?m.getComponentMethod("calendars","DFLTRANGE")[e]:["2000-01-01","2001-01-01"]},t.isJSDate=function(e){return"object"==typeof e&&null!==e&&"function"==typeof e.getTime},t.dateTime2ms=function(e,n){if(t.isJSDate(e))return(e=Number(e)-e.getTimezoneOffset()*f)>=r&&e<=a?e:c;if("string"!=typeof e&&"number"!=typeof e)return c;e=String(e);var i=T(n),l=e.charAt(0);!i||"G"!==l&&"g"!==l||(e=e.substr(1),n="");var o=i&&"chinese"===n.substr(0,7),s=e.match(o?_:y);if(!s)return c;var u=s[1],g=s[3]||"1",k=Number(s[5]||1),M=Number(s[7]||0),K=Number(s[9]||0),C=Number(s[11]||0);if(i){if(2===u.length)return c;var w;u=Number(u);try{var x=m.getComponentMethod("calendars","getCal")(n);if(o){var A="i"===g.charAt(g.length-1);g=parseInt(g,10),w=x.newDate(u,x.toMonthIndex(u,g,A),k)}else w=x.newDate(u,Number(g),k)}catch(e){return c}return w?(w.toJD()-v)*d+M*h+K*f+C*p:c}u=2===u.length?(Number(u)+2e3-b)%100+b:Number(u),g-=1;var D=new Date(Date.UTC(2e3,g,k,M,K));return D.setUTCFullYear(u),D.getUTCMonth()!==g?c:D.getUTCDate()!==k?c:D.getTime()+C*p},r=t.MIN_MS=t.dateTime2ms("-9999"),a=t.MAX_MS=t.dateTime2ms("9999-12-31 23:59:59.9999"),t.isDateTime=function(e,n){return t.dateTime2ms(e,n)!==c};var M=90*d,K=3*h,C=5*f;function w(e,t,n,r,a){if((t||n||r||a)&&(e+=" "+k(t,2)+":"+k(n,2),(r||a)&&(e+=":"+k(r,2),a))){for(var i=4;a%10==0;)i-=1,a/=10;e+="."+k(a,i)}return e}t.ms2DateTime=function(e,t,n){if("number"!=typeof e||!(e>=r&&e<=a))return c;t||(t=0);var i,l,o,u,y,_,b=Math.floor(10*s(e+.05,1)),k=Math.round(e-b/10);if(T(n)){var x=Math.floor(k/d)+v,A=Math.floor(s(e,d));try{i=m.getComponentMethod("calendars","getCal")(n).fromJD(x).formatDate("yyyy-mm-dd")}catch(e){i=g("G%Y-%m-%d")(new Date(k))}if("-"===i.charAt(0))for(;i.length<11;)i="-0"+i.substr(1);else for(;i.length<10;)i="0"+i;l=t=r+d&&e<=a-d))return c;var t=Math.floor(10*s(e+.05,1)),n=new Date(Math.round(e-t/10));return w(i.time.format("%Y-%m-%d")(n),n.getHours(),n.getMinutes(),n.getSeconds(),10*n.getUTCMilliseconds()+t)},t.cleanDate=function(e,n,r){if(t.isJSDate(e)||"number"==typeof e){if(T(r))return o("JS Dates and milliseconds are incompatible with world calendars",e),n;if(!(e=t.ms2DateTimeLocal(+e))&&void 0!==n)return n}else if(!t.isDateTime(e,r))return o("unrecognized date",e),n;return e};var x=/%\d?f/g;var A=[59,59.9,59.99,59.999,59.9999];function D(e,t){var n=s(e+.05,d),r=k(Math.floor(n/h),2)+":"+k(s(Math.floor(n/f),60),2);if("M"!==t){l(t)||(t=0);var a=(100+Math.min(s(e/p,60),A[t])).toFixed(t).substr(1);t>0&&(a=a.replace(/0+$/,"").replace(/[\.]$/,"")),r+=":"+a}return r}var L=g("%Y"),S=g("%b %Y"),B=g("%b %-d"),W=g("%b %-d, %Y");function G(e){return e.formatDate("yyyy")}t.formatDate=function(e,t,n,r){var a,i;if(r=T(r)&&r,t)return function(e,t,n){e=e.replace(x,function(e){var n=Math.min(+e.charAt(1)||6,6);return(t/1e3%1+2).toFixed(n).substr(2).replace(/0+$/,"")||"0"});var r=new Date(Math.floor(t+.05));if(T(n))try{e=m.getComponentMethod("calendars","worldCalFmt")(e,t,n)}catch(e){return"Invalid"}return g(e)(r)}(t,e,r);if(r)try{var l=Math.floor((e+.05)/d)+v,o=m.getComponentMethod("calendars","getCal")(r).fromJD(l);"y"===n?i=G(o):"m"===n?i=function(e){return e.formatDate("M yyyy")}(o):"d"===n?(a=G(o),i=function(e){return e.formatDate("M d")}(o)):(a=function(e){return e.formatDate("M d, yyyy")}(o),i=D(e,n))}catch(e){return"Invalid"}else{var s=new Date(Math.floor(e+.05));"y"===n?i=L(s):"m"===n?i=S(s):"d"===n?(a=L(s),i=B(s)):(a=W(s),i=D(e,n))}return i+(a?"\n"+a:"")};var z=3*d;t.incrementMonth=function(e,t,n){n=T(n)&&n;var r=s(e,d);if(e=Math.round(e-r),n)try{var a=Math.round(e/d)+v,i=m.getComponentMethod("calendars","getCal")(n),l=i.fromJD(a);return t%12?i.add(l,t,"m"):i.add(l,t/12,"y"),(l.toJD()-v)*d+r}catch(t){o("invalid ms "+e+" in calendar "+n)}var u=new Date(e+z);return u.setUTCMonth(u.getUTCMonth()+t)+r-z},t.findExactDates=function(e,t){for(var n,r,a=0,i=0,o=0,s=0,u=T(t)&&m.getComponentMethod("calendars","getCal")(t),c=0;ca.max?t.set(n):t.set(+e)}},integer:{description:["An integer or an integer inside a string.","When applicable, values greater (less) than `max` (`min`)","are coerced to the `dflt`."].join(" "),requiredOpts:[],otherOpts:["dflt","min","max"],coerceFunction:function(e,t,n,a){e%1||!r(e)||void 0!==a.min&&ea.max?t.set(n):t.set(+e)}},string:{description:["A string value.","Numbers are converted to strings except for attributes with","`strict` set to true."].join(" "),requiredOpts:[],otherOpts:["dflt","noBlank","strict","arrayOk","values"],coerceFunction:function(e,t,n,r){if("string"!=typeof e){var a="number"==typeof e;!0!==r.strict&&a?t.set(String(e)):t.set(n)}else r.noBlank&&!e?t.set(n):t.set(e)}},color:{description:["A string describing color.","Supported formats:","- hex (e.g. '#d3d3d3')","- rgb (e.g. 'rgb(255, 0, 0)')","- rgba (e.g. 'rgb(255, 0, 0, 0.5)')","- hsl (e.g. 'hsl(0, 100%, 50%)')","- hsv (e.g. 'hsv(0, 100%, 100%)')","- named colors (full list: http://www.w3.org/TR/css3-color/#svg-color)"].join(" "),requiredOpts:[],otherOpts:["dflt","arrayOk"],coerceFunction:function(e,t,n){a(e).isValid()?t.set(e):t.set(n)}},colorscale:{description:["A Plotly colorscale either picked by a name:","(any of",o.join(", "),")","customized as an {array} of 2-element {arrays} where","the first element is the normalized color level value","(starting at *0* and ending at *1*),","and the second item is a valid color string."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(e,t,n){t.set(l(e,n))}},angle:{description:["A number (in degree) between -180 and 180."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(e,t,n){"auto"===e?t.set("auto"):r(e)?(Math.abs(e)>180&&(e-=360*Math.round(e/360)),t.set(+e)):t.set(n)}},subplotid:{description:["An id string of a subplot type (given by dflt), optionally","followed by an integer >1. e.g. if dflt='geo', we can have","'geo', 'geo2', 'geo3', ..."].join(" "),requiredOpts:["dflt"],otherOpts:[],coerceFunction:function(e,t,n){var r=n.length;"string"==typeof e&&e.substr(0,r)===n&&u.test(e.substr(r))?t.set(e):t.set(n)},validateFunction:function(e,t){var n=t.dflt,r=n.length;return e===n||"string"==typeof e&&!(e.substr(0,r)!==n||!u.test(e.substr(r)))}},flaglist:{description:["A string representing a combination of flags","(order does not matter here).","Combine any of the available `flags` with *+*.","(e.g. ('lines+markers')).","Values in `extras` cannot be combined."].join(" "),requiredOpts:["flags"],otherOpts:["dflt","extras","arrayOk"],coerceFunction:function(e,t,n,r){if("string"==typeof e)if(-1===(r.extras||[]).indexOf(e)){for(var a=e.split("+"),i=0;i0)}function o(e){return e.name||e.replace(/-/gi,"")}function s(){return new Promise(function(e,t){var n=setInterval(function(){"undefined"!=typeof window&&window.ga&&(e(),clearInterval(n))},10)})}function u(e,t){return a().length>1?o(t)+"."+e:e}function c(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r1?M({},b.fields,{name:n}):b.fields;window.ga("create",t.id||t,"auto",r)}),b.beforeFirstHit();var t=b.ecommerce;if(t.enabled){var n=t.enhanced?"ec":"ecommerce";t.options?c("require",n,t.options):c("require",n)}b.linkers.length>0&&(c("require","linker"),c("linker:autoLink",b.linkers)),b.debug.sendHitTask||d("sendHitTask",null)}function f(){for(var e=arguments.length,t=Array(e),n=0;n0&&void 0!==arguments[0])||arguments[0];"undefined"!=typeof window&&a().forEach(function(t){window["ga-disable-"+t]=e})},x=function(){if("undefined"!=typeof document&&"undefined"!=typeof window){var e=(b.wait,b.id),t=b.disabled,n=b.debug,a=b.disableScriptLoader,i=n.enabled?"analytics_debug":"analytics",o="https://www.google-analytics.com/"+i+".js";if(!e)throw new Error('[vue-analytics] Missing the "id" parameter. Add at least one tracking domain ID');!l()||window.ga&&a||function(e){return new Promise(function(t,n){var r=document.head||document.getElementsByTagName("head")[0],a=document.createElement("script");a.async=!0,a.src=e,a.charset="utf8",r.appendChild(a),a.onload=t,a.onerror=n})}(o).catch(function(){console.error("[vue-analytics] An error occured trying to load "+o+". Please check your connection or if you have any Google Analytics blocker installed in your browser.")}),Promise.resolve("function"==typeof e?e():e).then(function(e){r({id:e})}).then(function(){return"function"==typeof t?t():t}).then(function(e){r({disabled:e}),e&&w(),h(),C(),function(){var e=b.router,t=b.autoTracking;t.page&&e&&(t.pageviewOnLoad&&v(e.currentRoute),b.router.afterEach(function(n,r){var a=t.skipSamePath,i=t.shouldRouterUpdate;a&&n.path===r.path||("function"!=typeof i||i(n,r))&&b.$vue.nextTick().then(function(){v(e.currentRoute)})}))}()})}},A=this,D=function(e){c("send","exception",{exDescription:e,exFatal:arguments.length>1&&void 0!==arguments[1]&&arguments[1]})},L=function(e){if(b.autoTracking.exception){window.addEventListener("error",function(e){D(e.message)});var t=e.config.errorHandler;e.config.errorHandler=function(e,n,r){D(e.message),b.autoTracking.exceptionLogs&&(console.error("[vue-analytics] Error in "+r+": "+e.message),console.error(e)),"function"==typeof t&&t.call(A,e,n,r)}}},S=D,B=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};r(O({},t,{$vue:e})),"undefined"==typeof window||window.ga||(window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=Number(new Date)),e.directive("ga",z),e.prototype.$ga=e.$ga=G,L(e),x()},n.d(t,"onAnalyticsReady",function(){return s}),n.d(t,"analyticsMiddleware",function(){return P});var O=Object.assign||function(e){for(var t=1;ti*g)||T)for(n=0;nS&&WD&&(D=W);d/=(D-A)/(2*L),A=s.l2r(A),D=s.l2r(D),s.range=s._input.range=C=e[1]||a[1]<=e[0])&&i[0]t[0])return!0}return!1}(o,s,f)?(h.push(t),f.push([o,s])):u=[0];var c=n.plotgroup.selectAll(".bg").data(u);c.enter().append("rect").classed("bg",!0),c.exit().remove(),c.each(function(){n.bg=c;var e=n.plotgroup.node();e.insertBefore(this,e.childNodes[0])})});var p=i._bgLayer.selectAll(".bg").data(h);p.enter().append("rect").classed("bg",!0),p.exit().remove(),p.each(function(e){i._plots[e].bg=r.select(this)});var v=[];return c.each(function(t){var n=i._plots[t],r=a.Axes.getFromId(e,t,"x"),o=a.Axes.getFromId(e,t,"y");r.setScale(),o.setScale(),n.bg&&i._has("cartesian")&&n.bg.call(u.setRect,r._offset-l.p,o._offset-l.p,r._length+2*l.p,o._length+2*l.p).call(s.fill,i.plot_bgcolor).style("stroke-width",0),n.clipId="clip"+i._uid+t+"plot";var c=i._defs.selectAll("g.clips").selectAll("#"+n.clipId).data([0]);c.enter().append("clipPath").attr({class:"plotclip",id:n.clipId}).append("rect"),c.selectAll("rect").attr({width:r._length,height:o._length}),n.plot.call(u.setTranslate,r._offset,o._offset),n.plot.call(u.setClipUrl,n.clipId);var d=u.crispRound(e,r.linewidth,1),h=u.crispRound(e,o.linewidth,1),f=l.p+h,p="M"+-f+",",m="h"+(r._length+2*f),g="free"===r.anchor&&-1===v.indexOf(r._id),y=l.h*(1-(r.position||0))+d/2%1,_=r.anchor===o._id&&(r.mirror||"top"!==r.side)||"all"===r.mirror||"allticks"===r.mirror||r.mirrors&&r.mirrors[o._id+"bottom"],b=o._length+l.p+d/2,T=r.anchor===o._id&&(r.mirror||"top"===r.side)||"all"===r.mirror||"allticks"===r.mirror||r.mirrors&&r.mirrors[o._id+"top"],k=-l.p-d/2,M=l.p,K=_?0:d,C=T?0:d,w=","+(-M-C)+"v"+(o._length+2*M+C+K),x="free"===o.anchor&&-1===v.indexOf(o._id),A=l.w*(o.position||0)+h/2%1,D=o.anchor===r._id&&(o.mirror||"right"!==o.side)||"all"===o.mirror||"allticks"===o.mirror||o.mirrors&&o.mirrors[r._id+"left"],L=-l.p-h/2,S=o.anchor===r._id&&(o.mirror||"right"===o.side)||"all"===o.mirror||"allticks"===o.mirror||o.mirrors&&o.mirrors[r._id+"right"],B=r._length+l.p+h/2;r._linepositions[t]=[_?b:void 0,T?k:void 0,g?y:void 0],r.anchor===o._id?r._linepositions[t][3]="top"===r.side?k:b:g&&(r._linepositions[t][3]=y),o._linepositions[t]=[D?L:void 0,S?B:void 0,x?A:void 0],o.anchor===r._id?o._linepositions[t][3]="right"===o.side?B:L:x&&(o._linepositions[t][3]=A);var W="translate("+r._offset+","+o._offset+")",G=W,z=W;g&&(G="translate("+r._offset+","+l.t+")",k+=o._offset-l.t,b+=o._offset-l.t),x&&(z="translate("+l.l+","+o._offset+")",L+=r._offset-l.l,B+=r._offset-l.l),i._has("cartesian")&&(n.xlines.attr("transform",G).attr("d",(_?p+b+m:"")+(T?p+k+m:"")+(g?p+y+m:"")||"M0,0").style("stroke-width",d+"px").call(s.stroke,r.showline?r.linecolor:"rgba(0,0,0,0)"),n.ylines.attr("transform",z).attr("d",(D?"M"+L+w:"")+(S?"M"+B+w:"")+(x?"M"+A+w:"")||"M0,0").attr("stroke-width",h+"px").call(s.stroke,o.showline?o.linecolor:"rgba(0,0,0,0)")),n.xaxislayer.attr("transform",G),n.yaxislayer.attr("transform",z),n.gridlayer.attr("transform",W),n.zerolinelayer.attr("transform",W),n.draglayer.attr("transform",W),g&&v.push(r._id),x&&v.push(o._id)}),a.Axes.makeClipPaths(e),t.drawMainTitle(e),d.manage(e),e._promises.length&&Promise.all(e._promises)},t.drawMainTitle=function(e){var t=e._fullLayout;c.draw(e,"gtitle",{propContainer:t,propName:"title",dfltName:"Plot",attributes:{x:t.width/2,y:t._size.t/2,"text-anchor":"middle"}})},t.doTraceStyle=function(e){for(var t=0;t0&&l.log("Clearing previous rejected promises from queue."),e._promises=[]},t.cleanLayout=function(e){var t,n;e||(e={}),e.xaxis1&&(e.xaxis||(e.xaxis=e.xaxis1),delete e.xaxis1),e.yaxis1&&(e.yaxis||(e.yaxis=e.yaxis1),delete e.yaxis1);var r=s.list({_fullLayout:e});for(t=0;t3?(m.x=1.02,m.xanchor="left"):m.x<-2&&(m.x=-.02,m.xanchor="right"),m.y>3?(m.y=1.02,m.yanchor="bottom"):m.y<-2&&(m.y=-.02,m.yanchor="top")),"rotate"===e.dragmode&&(e.dragmode="orbit"),e.scene1&&(e.scene||(e.scene=e.scene1),delete e.scene1);var g=o.getSubplotIds(e,"gl3d");for(t=0;t0)return e.substr(0,t)}t.hasParent=function(e,t){for(var n=p(t);n;){if(n in e)return!0;n=p(n)}return!1}},function(e,t,n){"use strict";var r=n(109),a=n(32),i=n(111),l=n(33),o=n(165).sorterAsc,s=n(4);t.containerArrayMatch=n(170);var u=t.isAddVal=function(e){return"add"===e||a(e)},c=t.isRemoveVal=function(e){return null===e||"remove"===e};t.applyContainerArrayChanges=function(e,t,n,a){var d=t.astr,h=s.getComponentMethod(d,"supplyLayoutDefaults"),f=s.getComponentMethod(d,"draw"),p=s.getComponentMethod(d,"drawOne"),v=a.replot||a.recalc||h===i||f===i,m=e.layout,g=e._fullLayout;if(n[""]){Object.keys(n).length>1&&l.warn("Full array edits are incompatible with other edits",d);var y=n[""][""];if(c(y))t.set(null);else{if(!Array.isArray(y))return l.warn("Unrecognized full array edit value",d,y),!0;t.set(y)}return!v&&(h(m,g),f(e),!0)}var _,b,T,k,M,K,C,w=Object.keys(n).map(Number).sort(o),x=t.get(),A=x||[],D=r(g,d).get(),L=[],S=-1,B=A.length;for(_=0;_A.length-(C?0:1))l.warn("index out of range",d,T);else if(void 0!==K)M.length>1&&l.warn("Insertion & removal are incompatible with edits to the same index.",d,T),c(K)?L.push(T):C?("add"===K&&(K={}),A.splice(T,0,K),D&&D.splice(T,0,{})):l.warn("Unrecognized full object edit value",d,T,K),-1===S&&(S=T);else for(b=0;b=0;_--)A.splice(L[_],1),D&&D.splice(L[_],1);if(A.length?x||t.set(A):t.set(null),v)return!1;if(h(m,g),p!==i){var W;if(-1===S)W=w;else{for(B=Math.max(A.length,B),W=[],_=0;_=S);_++)W.push(T);for(_=S;_=0?Math.min(e,.9):1/(1/Math.max(e,-.3)+3.222))}function x(e){e.selectAll(".select-outline").remove()}function A(e){r.select(e).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}function D(e){return-1!==["lasso","select"].indexOf(e)}function L(e){var t=Math.floor(Math.min(e.b-e.t,e.r-e.l,T)/2);return"M"+(e.l-3.5)+","+(e.t-.5+t)+"h3v"+-t+"h"+t+"v-3h-"+(t+3)+"ZM"+(e.r+3.5)+","+(e.t-.5+t)+"h-3v"+-t+"h"+-t+"v-3h"+(t+3)+"ZM"+(e.r+3.5)+","+(e.b+.5-t)+"h-3v"+t+"h"+-t+"v3h"+(t+3)+"ZM"+(e.l-3.5)+","+(e.b+.5-t)+"h3v"+t+"h"+t+"v3h-"+(t+3)+"Z"}e.exports=function(e,t,n,S,B,W,G,z){var R,P,O,E,j,I,N,F,H,V,$,q,U,Y=e._fullLayout,J=e._fullLayout._zoomlayer,X=G+z==="nsew";function Z(){P=[t.xaxis],O=[t.yaxis];var n=P[0],r=O[0];I=n._length,N=r._length;var a=Y._axisConstraintGroups,i=[n._id],l=[r._id];R=[t].concat(G&&z?t.overlays:[]);for(var s=1;s.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("transform","translate("+n+", "+r+")").attr("d",a+"Z")}(J,re,E,j,ae="M0,0H"+I+"V"+N+"H0V0"),se=function(e,t,n){return e.append("path").attr("class","zoombox-corners").style({fill:u.background,stroke:u.defaultLine,"stroke-width":1,opacity:0}).attr("transform","translate("+t+", "+n+")").attr("d","M0,0Z")}(J,E,j),x(J)}(0,n,r)):"pan"===i?(ue.moveFn=_e,ue.doneFn=fe,x(J)):D(i)&&(ue.xaxes=P,ue.yaxes=O,g(t,n,r,ue,i))}};h.init(ue);var ce={};function de(t,n){if(e._transitioningWithDuration)return!1;var r=Math.max(0,Math.min(I,t+ee)),a=Math.max(0,Math.min(N,n+te)),i=Math.abs(r-ee),l=Math.abs(a-te);function o(){le="",ne.r=ne.l,ne.t=ne.b,se.attr("d","M0,0Z")}ne.l=Math.min(ee,r),ne.r=Math.max(ee,r),ne.t=Math.min(te,a),ne.b=Math.max(te,a),$?i>T||l>T?(le="xy",i/I>l/N?(l=i*N/I,te>a?ne.t=te-l:ne.b=te+l):(i=l*I/N,ee>r?ne.l=ee-i:ne.r=ee+i),se.attr("d",L(ne))):o():!H||l.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),t.transition().style("opacity",1).duration(200))}(oe,se,ne,ae,ie,re),ie=!0}function he(t,n){if(Math.min(ne.h,ne.w)<2*b)return 2===n&&Te(),A(e);"xy"!==le&&"x"!==le||K(P,ne.l/I,ne.r/I,ce,q),"xy"!==le&&"y"!==le||K(O,(N-ne.b)/N,(N-ne.t)/N,ce,U),A(e),ke(le),k&&e.data&&e._context.showTips&&(o.notifier("Double-click to
zoom back out","long"),k=!1)}function fe(t,n){var a=1===(G+z).length;if(t)ke();else if(2!==n||a){if(1===n&&a){var l=G?O[0]:P[0],o="s"===G||"w"===z?0:1,u=l._name+".range["+o+"]",c=function(e,t){var n,a=e.range[t],i=Math.abs(a-e.range[1-t]);return"date"===e.type?a:"log"===e.type?(n=Math.ceil(Math.max(0,-Math.log(i)/Math.LN10))+3,r.format("."+n+"g")(Math.pow(10,a))):(n=Math.floor(Math.log(Math.abs(a))/Math.LN10)-Math.floor(Math.log(i)/Math.LN10)+4,r.format("."+String(n)+"g")(a))}(l,o),d="left",h="middle";if(l.fixedrange)return;G?(h="n"===G?"top":"bottom","right"===l.side&&(d="right")):"e"===z&&(d="right"),e._context.showAxisRangeEntryBoxes&&r.select(Q).call(s.makeEditable,{gd:e,immediate:!0,background:Y.paper_bgcolor,text:String(c),fill:l.tickfont?l.tickfont.color:"#444",horizontalAlign:d,verticalAlign:h}).on("edit",function(t){var n=l.d2r(t);void 0!==n&&i.relayout(e,u,n)})}}else Te()}var pe=[0,0,I,N],ve=null,me=_.REDRAWDELAY,ge=t.mainplot?Y._plots[t.mainplot]:t;function ye(t){if(e._context.scrollZoom||Y._enablescrollzoom){if(e._transitioningWithDuration)return o.pauseEvent(t);var n=e.querySelector(".plotly");if(Z(),!(n.scrollHeight-n.clientHeight>10||n.scrollWidth-n.clientWidth>10)){clearTimeout(ve);var r=-t.deltaY;if(isFinite(r)||(r=t.wheelDelta/10),isFinite(r)){var a,i=Math.exp(-Math.min(Math.max(r,-20),20)/100),l=ge.draglayer.select(".nsewdrag").node().getBoundingClientRect(),s=(t.clientX-l.left)/l.width,u=(l.bottom-t.clientY)/l.height;if(z||$){for(z||(s=.5),a=0;a4/3-o?l:o}},function(e,t,n){"use strict";e.exports=function(){var e,t=[],n=-1,r=!1;function a(e,t){return e?(r=!0,e[t](),r=!1,this):this}return{add:function(e){return r?this:(t.splice(n+1,t.length-n),t.push(e),n=t.length-1,this)},setCallback:function(t){e=t},undo:function(){var r=t[n];return r?(a(r,"undo"),n-=1,e&&e(r.undo),this):this},redo:function(){var r=t[n+1];return r?(a(r,"redo"),n+=1,e&&e(r.redo),this):this},clear:function(){t=[],n=-1},hasUndo:function(){return-1!==n},hasRedo:function(){return n*:not(.chart-root)").remove(),t=t?s(t,n):n,a||(a=l.Axis()),i=l.adapter.plotly().convert(t),a.config(i).render(c),e.data=t.data,e.layout=t.layout,u.fillLayout(e),t}return h.isPolar=!0,h.svg=function(){return a.svg()},h.getConfig=function(){return t},h.getLiveConfig=function(){return l.adapter.plotly().convert(a.getLiveConfig(),!0)},h.getLiveScales=function(){return{t:a.angularScale(),r:a.radialScale()}},h.setUndoPoint=function(){var e,r,a=this,i=l.util.cloneJson(t);e=i,r=n,d.add({undo:function(){r&&a(r)},redo:function(){a(e)}}),n=l.util.cloneJson(i)},h.undo=function(){d.undo()},h.redo=function(){d.redo()},h},u.fillLayout=function(e){var t=r.select(e).selectAll(".plot-container"),n=t.selectAll(".svg-container"),a=e.framework&&e.framework.svg&&e.framework.svg(),l={width:800,height:600,paper_bgcolor:i.background,_container:t,_paperdiv:n,_paper:a};e._fullLayout=s(l,e.layout)}},function(e,t,n){"use strict";(e.exports=n(147)).manager=n(273)},function(e,t,n){"use strict";var r=n(1),a=n(2),i=n(8),l=n(0),o=n(90),s=n(148),u=n(4),c=n(9),d=n(274),h=n(146),f=n(7),p=n(30),v=n(31),m=n(14),g=n(260),y=n(259),_=n(257),b=n(15),T=n(256),k=T.enforce,M=T.clean,K=n(18);function C(e,t){e._fullLayout._paperdiv.style("background","white"),i.defaultConfig.setBackground(e,t)}function w(e,t){var n,r,a=t+1,i=[];for(n=0;n=e.data.length||a<-e.data.length)throw new Error(n+" must be valid indices for gd.data.");if(t.indexOf(a,r+1)>-1||a>=0&&t.indexOf(-e.data.length+a)>-1||a<0&&t.indexOf(e.data.length+a)>-1)throw new Error("each index in "+n+" must be unique.")}}function A(e,t,n){if(!Array.isArray(e.data))throw new Error("gd.data must be an array.");if(void 0===t)throw new Error("currentIndices is a required argument.");if(Array.isArray(t)||(t=[t]),x(e,t,"currentIndices"),void 0===n||Array.isArray(n)||(n=[n]),void 0!==n&&x(e,n,"newIndices"),void 0!==n&&t.length!==n.length)throw new Error("current and new indices must be of equal length.")}function D(e,t,n,r,i,o){!function(e,t,n,r){var a=l.isPlainObject(r);if(!Array.isArray(e.data))throw new Error("gd.data must be an array");if(!l.isPlainObject(t))throw new Error("update must be a key:value object");if(void 0===n)throw new Error("indices must be an integer or array of integers");for(var i in x(e,n,"indices"),t){if(!Array.isArray(t[i])||t[i].length!==n.length)throw new Error("attribute "+i+" must be an array of length equal to indices array length");if(a&&(!(i in r)||!Array.isArray(r[i])||r[i].length!==t[i].length))throw new Error("when maxPoints is set as a key:value object it must contain a 1:1 corrispondence with the keys and number of traces in the update object")}}(e,t,n,r);for(var s,u,c,d=function(e,t,n,r){var i,o,s,u,c,d=l.isPlainObject(r),h=[];for(var f in Array.isArray(n)||(n=[n]),n=w(n,e.data.length-1),t)for(var p=0;p=0&&cN.range[0]?[1,2]:[2,1]);else{var V=N.range[0],$=N.range[1];F?(V<=0&&$<=0&&M(P+".autorange",!0),V<=0?V=$/1e6:$<=0&&($=V/1e6),M(P+".range[0]",Math.log(V)/Math.LN10),M(P+".range[1]",Math.log($)/Math.LN10)):(M(P+".range[0]",Math.pow(10,V)),M(P+".range[1]",Math.pow(10,$)))}else M(P+".autorange",!0);u.getComponentMethod("annotations","convertCoords")(e,E,S,M),u.getComponentMethod("images","convertCoords")(e,E,S,M)}else M(P+".autorange",!0);l.nestedProperty(s,P+"._inputRange").set(null)}else if(z.match(b.AX_NAME_PATTERN)){var q=l.nestedProperty(s,D).get(),U=(S||{}).type;U&&"-"!==U||(U="linear"),u.getComponentMethod("annotations","convertCoords")(e,q,U,M),u.getComponentMethod("images","convertCoords")(e,q,U,M)}var Y=g.containerArrayMatch(D);if(Y){n=Y.array,r=Y.index;var J=Y.property,X=(l.nestedProperty(o,n)||[])[r]||{};if(""===r)-1===D.indexOf("updatemenus")&&(_.docalc=!0);else if(""===J){var Z=S;g.isAddVal(S)?k[D]=null:g.isRemoveVal(S)?(k[D]=X,Z=X):l.warn("unrecognized full object value",t),(C(Z,"x")||C(Z,"y")&&-1===D.indexOf("updatemenus"))&&(_.docalc=!0)}else!C(X,"x")&&!C(X,"y")||l.containsAny(D,["color","opacity","align","dash","updatemenus"])||(_.docalc=!0);f[n]||(f[n]={});var Q=f[n][r];Q||(Q=f[n][r]={}),Q[J]=S,delete t[D]}else if("reverse"===z)O.range?O.range.reverse():(M(P+".autorange",!0),O.range=[1,0]),E.autorange?_.docalc=!0:_.doplot=!0;else{var ee=String(L.parts[1]||"");0===G.indexOf("scene")?"camera"===L.parts[1]?_.docamera=!0:_.doplot=!0:0===G.indexOf("geo")?_.doplot=!0:0===G.indexOf("ternary")?_.doplot=!0:"paper_bgcolor"===D?_.doplot=!0:"margin"===G||"autorange"===ee||"rangemode"===ee||"type"===ee||"domain"===ee||"fixedrange"===ee||"scaleanchor"===ee||"scaleratio"===ee||-1!==D.indexOf("calendar")||D.match(/^(bar|box|font)/)?_.docalc=!0:!s._has("gl2d")||-1===D.indexOf("axis")&&"plot_bgcolor"!==D?!s._has("gl2d")||"dragmode"!==D||"lasso"!==S&&"select"!==S||"lasso"===j||"select"===j?"hiddenlabels"===D?_.docalc=!0:-1!==G.indexOf("legend")?_.dolegend=!0:-1!==D.indexOf("title")?_.doticks=!0:-1!==G.indexOf("bgcolor")?_.dolayoutstyle=!0:B>1&&l.containsAny(ee,["tick","exponent","grid","zeroline"])?_.doticks=!0:-1!==D.indexOf(".linewidth")&&-1!==D.indexOf("axis")?_.doticks=_.dolayoutstyle=!0:B>1&&-1!==ee.indexOf("line")?_.dolayoutstyle=!0:B>1&&"mirror"===ee?_.doticks=_.dolayoutstyle=!0:"margin.pad"===D?_.doticks=_.dolayoutstyle=!0:-1!==["hovermode","dragmode"].indexOf(D)||-1!==D.indexOf("spike")?_.domodebar=!0:-1===["height","width","autosize"].indexOf(D)&&(_.doplot=!0):_.docalc=!0:_.doplot=!0,L.set(S)}}}for(n in f){g.applyContainerArrayChanges(e,l.nestedProperty(o,n),f[n],_)||(_.doplot=!0)}var te=s._axisConstraintGroups;for(w in x)for(r=0;r=a.length?a[0]:a[e]:a}function s(e){return Array.isArray(i)?e>=i.length?i[0]:i[e]:i}function u(e,t){var n=0;return function(){if(e&&++n===t)return e()}}return void 0===r._frameWaitingCnt&&(r._frameWaitingCnt=0),new Promise(function(i,d){function h(){r._currentFrame&&r._currentFrame.onComplete&&r._currentFrame.onComplete();var t=r._currentFrame=r._frameQueue.shift();if(t){var n=t.name?t.name.toString():null;e._fullLayout._currentFrame=n,r._lastFrameAt=Date.now(),r._timeToNext=t.frameOpts.duration,c.transition(e,t.frame.data,t.frame.layout,y.coerceTraceIndices(e,t.frame.traces),t.frameOpts,t.transitionOpts).then(function(){t.onComplete&&t.onComplete()}),e.emit("plotly_animatingframe",{name:n,frame:t.frame,animation:{frame:t.frameOpts,transition:t.transitionOpts}})}else e.emit("plotly_animated"),window.cancelAnimationFrame(r._animationRaf),r._animationRaf=null}function f(){e.emit("plotly_animating"),r._lastFrameAt=-1/0,r._timeToNext=0,r._runningTransitions=0,r._currentFrame=null;var t=function(){r._animationRaf=window.requestAnimationFrame(t),Date.now()-r._lastFrameAt>r._timeToNext&&h()};t()}var p,v,m=0;function g(e){return Array.isArray(a)?m>=a.length?e.transitionOpts=a[m]:e.transitionOpts=a[0]:e.transitionOpts=a,m++,e}var _=[],b=void 0===t||null===t,T=Array.isArray(t);if(!b&&!T&&l.isPlainObject(t))_.push({type:"object",data:g(l.extendFlat({},t))});else if(b||-1!==["string","number"].indexOf(typeof t))for(p=0;p0&&K<_.length-1){var C=[];for(p=0;p<_.length;p++)v=_[p],("byname"!==_[p].type||p>K)&&C.push(v);_=C}}_.length>0?function(t){if(0!==t.length){for(var a=0;a=0;r--)if(l.isPlainObject(t[r])){var v=(h[t[r].name]||{}).name,m=t[r].name;v&&m&&"number"==typeof m&&h[v]&&(u++,l.warn('addFrames: overwriting frame "'+h[v].name+'" with a frame whose name of type "number" also equates to "'+v+'". This is valid but may potentially lead to unexpected behavior since all plotly.js frame names are stored internally as strings.'),u>5&&l.warn("addFrames: This API call has yielded too many warnings. For the rest of this call, further warnings about numeric frame names will be suppressed.")),p.push({frame:c.supplyFrameDefaults(t[r]),index:n&&void 0!==n[r]&&null!==n[r]?n[r]:f+r})}p.sort(function(e,t){return e.index>t.index?-1:e.index=0;r--){if("number"==typeof(a=p[r].frame).name&&l.warn("Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings"),!a.name)for(;h[a.name="frame "+e._transitionData._counter++];);if(h[a.name]){for(i=0;i=0;n--)r=t[n],i.push({type:"delete",index:r}),o.unshift({type:"insert",index:r,value:a[r]});var u=c.modifyFrames,d=c.modifyFrames,h=[e,o],f=[e,i];return s&&s.add(e,u,h,d,f),c.modifyFrames(e,i)},i.purge=function(e){var t=(e=y.getGraphDiv(e))._fullLayout||{},n=e._fullData||[];return c.cleanPlot([],{},n,t),c.purge(e),o.purge(e),t._container&&t._container.remove(),delete e._context,delete e._replotPending,delete e._mouseDownTime,delete e._legendMouseDownTime,delete e._hmpixcount,delete e._hmlumcount,e}},function(e,t,n){"use strict";e.exports=function(e,t){var n=document.createElement("a"),r="download"in n,a=/Version\/[\d\.]+.*Safari/.test(navigator.userAgent);return new Promise(function(i,l){"undefined"!=typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent)&&l(new Error("IE < 10 unsupported")),a&&(document.location.href="data:application/octet-stream"+e.slice(e.search(/[,;]/)),i(t)),t||(t="download"),r&&(n.href=e,n.download=t,document.body.appendChild(n),n.click(),document.body.removeChild(n),i(t)),"undefined"!=typeof navigator&&navigator.msSaveBlob&&(navigator.msSaveBlob(new Blob([e]),t),i(t)),l(new Error("download error"))})}},function(e,t,n){"use strict";var r=n(8),a=n(9),i=n(6),l=n(0),o=n(96),s=n(97),u=e.exports={};function c(e,t){var n,a,l=t.currentTarget,o=l.getAttribute("data-attr"),s=l.getAttribute("data-val")||!0,u=e._fullLayout,c={},d=i.list(e,null,!0),h="on";if("zoom"===o){var f,p="in"===s?.5:2,v=(1+p)/2,m=(1-p)/2;for(a=0;a1)return m(["resetViews","toggleHover"]),o(v,n);c&&(m(["zoom3d","pan3d","orbitRotation","tableRotation"]),m(["resetCameraDefault3d","resetCameraLastSave3d"]),m(["hoverClosest3d"]));d&&(m(["zoomInGeo","zoomOutGeo","resetGeo"]),m(["hoverClosestGeo"]));var g=function(e){for(var t=r.list({_fullLayout:e},null,!0),n=!0,a=0;a0?".":"")+i;a.isPlainObject(l)?s(l,t,o,r+1):t(o,i,l)}})}t.manageCommandObserver=function(e,n,r,l){var o={},s=!0;n&&n._commandObserver&&(o=n._commandObserver),o.cache||(o.cache={}),o.lookupTable={};var u=t.hasSimpleAPICommandBindings(e,r,o.lookupTable);if(n&&n._commandObserver){if(u)return o;if(n._commandObserver.remove)return n._commandObserver.remove(),n._commandObserver=null,o}if(u){i(e,u,o.cache),o.check=function(){if(s){var t=i(e,u,o.cache);return t.changed&&l&&void 0!==o.lookupTable[t.value]&&(o.disable(),Promise.resolve(l({value:t.value,type:u.type,prop:u.prop,traces:u.traces,index:o.lookupTable[t.value]})).then(o.enable,o.enable)),t.changed}};for(var c=["plotly_relayout","plotly_redraw","plotly_restyle","plotly_update","plotly_animatingframe","plotly_afterplot"],d=0;d0;e.each(function(e){var t,u=e[0].trace,c=u.error_x||{},d=u.error_y||{};u.ids&&(t=function(e){return e.id});var h=i.hasMarkers(u)&&u.marker.maxdisplayed>0;if(d.visible||c.visible){var f=r.select(this).selectAll("g.errorbar").data(e,t);f.exit().remove(),f.style("opacity",1);var p=f.enter().append("g").classed("errorbar",!0);s&&p.style("opacity",0).transition().duration(n.duration).style("opacity",1),f.each(function(e){var t=r.select(this),i=function(e,t,n){var r={x:t.c2p(e.x),y:n.c2p(e.y)};void 0!==e.yh&&(r.yh=n.c2p(e.yh),r.ys=n.c2p(e.ys),a(r.ys)||(r.noYS=!0,r.ys=n.c2p(e.ys,!0)));void 0!==e.xh&&(r.xh=t.c2p(e.xh),r.xs=t.c2p(e.xs),a(r.xs)||(r.noXS=!0,r.xs=t.c2p(e.xs,!0)));return r}(e,l,o);if(!h||e.vis){var u;if(d.visible&&a(i.x)&&a(i.yh)&&a(i.ys)){var f=d.width;u="M"+(i.x-f)+","+i.yh+"h"+2*f+"m-"+f+",0V"+i.ys,i.noYS||(u+="m-"+f+",0h"+2*f);var p=t.select("path.yerror");!p.size()?p=t.append("path").classed("yerror",!0):s&&(p=p.transition().duration(n.duration).ease(n.easing)),p.attr("d",u)}if(c.visible&&a(i.y)&&a(i.xh)&&a(i.xs)){var v=(c.copy_ystyle?d:c).width;u="M"+i.xh+","+(i.y-v)+"v"+2*v+"m0,-"+v+"H"+i.xs,i.noXS||(u+="m0,-"+v+"v"+2*v);var m=t.select("path.xerror");!m.size()?m=t.append("path").classed("xerror",!0):s&&(m=m.transition().duration(n.duration).ease(n.easing)),m.attr("d",u)}}})}})}},function(e,t,n){"use strict";function r(e,t){return"percent"===e?function(e){return Math.abs(e*t/100)}:"constant"===e?function(){return Math.abs(t)}:"sqrt"===e?function(e){return Math.sqrt(Math.abs(e))}:void 0}e.exports=function(e){var t=e.type,n=e.symmetric;if("data"===t){var a=e.array,i=e.arrayminus;return n||void 0===i?function(e,t){var n=+a[t];return[n,n]}:function(e,t){return[+i[t],+a[t]]}}var l=r(t,e.value),o=r(t,e.valueminus);return n||void 0===e.valueminus?function(e){var t=l(e);return[t,t]}:function(e){return[o(e),l(e)]}}},function(e,t,n){"use strict";var r=n(0),a=n(18).id2name;e.exports=function(e,t,n,i,l){var o=l._axisConstraintGroups,s=t._id,u=s.charAt(0);if(!t.fixedrange&&(n("constrain"),r.coerce(e,t,{constraintoward:{valType:"enumerated",values:"x"===u?["left","center","right"]:["bottom","middle","top"],dflt:"x"===u?"center":"middle"}},"constraintoward"),e.scaleanchor)){var c=function(e,t,n,r){var i,l,o,s,u=r[a(t)].type,c=[];for(l=0;l0;i&&(r="array");var l=n("categoryorder",r);"array"===l&&n("categoryarray"),i||"array"!==l||(t.categoryorder="trace")}}},function(e,t,n){"use strict";var r=n(4),a=n(154),i=n(18).name2id;function l(e){return{v:"x",h:"y"}[e.orientation||"v"]}function o(e,t){var n=l(e),a=r.traceIs(e,"box"),i=r.traceIs(e._fullInput||{},"candlestick");return a&&!i&&t===n&&void 0===e[n]&&void 0===e[n+"0"]}e.exports=function(e,t,n,s,u){u&&(t._name=u,t._id=i(u)),"-"===n("type")&&(!function(e,t){if("-"!==e.type)return;var n=e._id,i=n.charAt(0);-1!==n.indexOf("scene")&&(n=i);var s=function(e,t,n){for(var r=0;r0?Math.max(t,a):0}}},function(e,t,n){"use strict";e.exports={entityToUnicode:{mu:"μ","#956":"μ",amp:"&","#28":"&",lt:"<","#60":"<",gt:">","#62":">",nbsp:" ","#160":" ",times:"×","#215":"×",plusmn:"±","#177":"±",deg:"°","#176":"°"}}},function(e,t,n){"use strict";var r=n(1),a=n(22),i=n(2),l=n(3);function o(e){var t={r:e[0],g:e[1],b:e[2],a:e[3]};return a(t).toRgbString()}e.exports=function(e,t){t=t||{};for(var n=e.domain,s=e.range,u=s.length,c=new Array(u),d=0;d/g),l=0;le.length-1)return e[e.length-1];var n=t%1;return n*e[Math.ceil(t)]+(1-n)*e[Math.floor(t)]}},function(e,t,n){"use strict";var r,a,i=n(1),l=n(2),o=n(33).error,s=n(169),u=n(16),c=u.BADNUM,d=u.ONEDAY,h=u.ONEHOUR,f=u.ONEMIN,p=u.ONESEC,v=u.EPOCHJD,m=n(4),g=i.time.format.utc,y=/^\s*(-?\d\d\d\d|\d\d)(-(\d?\d)(-(\d?\d)([ Tt]([01]?\d|2[0-3])(:([0-5]\d)(:([0-5]\d(\.\d+)?))?(Z|z|[+\-]\d\d:?\d\d)?)?)?)?)?\s*$/m,_=/^\s*(-?\d\d\d\d|\d\d)(-(\d?\di?)(-(\d?\d)([ Tt]([01]?\d|2[0-3])(:([0-5]\d)(:([0-5]\d(\.\d+)?))?(Z|z|[+\-]\d\d:?\d\d)?)?)?)?)?\s*$/m,b=(new Date).getFullYear()-70;function T(e){return e&&m.componentsRegistry.calendars&&"string"==typeof e&&"gregorian"!==e}function k(e,t){return String(e+Math.pow(10,t)).substr(1)}t.dateTick0=function(e,t){return T(e)?t?m.getComponentMethod("calendars","CANONICAL_SUNDAY")[e]:m.getComponentMethod("calendars","CANONICAL_TICK")[e]:t?"2000-01-02":"2000-01-01"},t.dfltRange=function(e){return T(e)?m.getComponentMethod("calendars","DFLTRANGE")[e]:["2000-01-01","2001-01-01"]},t.isJSDate=function(e){return"object"==typeof e&&null!==e&&"function"==typeof e.getTime},t.dateTime2ms=function(e,n){if(t.isJSDate(e))return(e=Number(e)-e.getTimezoneOffset()*f)>=r&&e<=a?e:c;if("string"!=typeof e&&"number"!=typeof e)return c;e=String(e);var i=T(n),l=e.charAt(0);!i||"G"!==l&&"g"!==l||(e=e.substr(1),n="");var o=i&&"chinese"===n.substr(0,7),s=e.match(o?_:y);if(!s)return c;var u=s[1],g=s[3]||"1",k=Number(s[5]||1),M=Number(s[7]||0),K=Number(s[9]||0),C=Number(s[11]||0);if(i){if(2===u.length)return c;var w;u=Number(u);try{var x=m.getComponentMethod("calendars","getCal")(n);if(o){var A="i"===g.charAt(g.length-1);g=parseInt(g,10),w=x.newDate(u,x.toMonthIndex(u,g,A),k)}else w=x.newDate(u,Number(g),k)}catch(e){return c}return w?(w.toJD()-v)*d+M*h+K*f+C*p:c}u=2===u.length?(Number(u)+2e3-b)%100+b:Number(u),g-=1;var D=new Date(Date.UTC(2e3,g,k,M,K));return D.setUTCFullYear(u),D.getUTCMonth()!==g?c:D.getUTCDate()!==k?c:D.getTime()+C*p},r=t.MIN_MS=t.dateTime2ms("-9999"),a=t.MAX_MS=t.dateTime2ms("9999-12-31 23:59:59.9999"),t.isDateTime=function(e,n){return t.dateTime2ms(e,n)!==c};var M=90*d,K=3*h,C=5*f;function w(e,t,n,r,a){if((t||n||r||a)&&(e+=" "+k(t,2)+":"+k(n,2),(r||a)&&(e+=":"+k(r,2),a))){for(var i=4;a%10==0;)i-=1,a/=10;e+="."+k(a,i)}return e}t.ms2DateTime=function(e,t,n){if("number"!=typeof e||!(e>=r&&e<=a))return c;t||(t=0);var i,l,o,u,y,_,b=Math.floor(10*s(e+.05,1)),k=Math.round(e-b/10);if(T(n)){var x=Math.floor(k/d)+v,A=Math.floor(s(e,d));try{i=m.getComponentMethod("calendars","getCal")(n).fromJD(x).formatDate("yyyy-mm-dd")}catch(e){i=g("G%Y-%m-%d")(new Date(k))}if("-"===i.charAt(0))for(;i.length<11;)i="-0"+i.substr(1);else for(;i.length<10;)i="0"+i;l=t=r+d&&e<=a-d))return c;var t=Math.floor(10*s(e+.05,1)),n=new Date(Math.round(e-t/10));return w(i.time.format("%Y-%m-%d")(n),n.getHours(),n.getMinutes(),n.getSeconds(),10*n.getUTCMilliseconds()+t)},t.cleanDate=function(e,n,r){if(t.isJSDate(e)||"number"==typeof e){if(T(r))return o("JS Dates and milliseconds are incompatible with world calendars",e),n;if(!(e=t.ms2DateTimeLocal(+e))&&void 0!==n)return n}else if(!t.isDateTime(e,r))return o("unrecognized date",e),n;return e};var x=/%\d?f/g;var A=[59,59.9,59.99,59.999,59.9999];function D(e,t){var n=s(e+.05,d),r=k(Math.floor(n/h),2)+":"+k(s(Math.floor(n/f),60),2);if("M"!==t){l(t)||(t=0);var a=(100+Math.min(s(e/p,60),A[t])).toFixed(t).substr(1);t>0&&(a=a.replace(/0+$/,"").replace(/[\.]$/,"")),r+=":"+a}return r}var L=g("%Y"),S=g("%b %Y"),B=g("%b %-d"),W=g("%b %-d, %Y");function G(e){return e.formatDate("yyyy")}t.formatDate=function(e,t,n,r){var a,i;if(r=T(r)&&r,t)return function(e,t,n){e=e.replace(x,function(e){var n=Math.min(+e.charAt(1)||6,6);return(t/1e3%1+2).toFixed(n).substr(2).replace(/0+$/,"")||"0"});var r=new Date(Math.floor(t+.05));if(T(n))try{e=m.getComponentMethod("calendars","worldCalFmt")(e,t,n)}catch(e){return"Invalid"}return g(e)(r)}(t,e,r);if(r)try{var l=Math.floor((e+.05)/d)+v,o=m.getComponentMethod("calendars","getCal")(r).fromJD(l);"y"===n?i=G(o):"m"===n?i=function(e){return e.formatDate("M yyyy")}(o):"d"===n?(a=G(o),i=function(e){return e.formatDate("M d")}(o)):(a=function(e){return e.formatDate("M d, yyyy")}(o),i=D(e,n))}catch(e){return"Invalid"}else{var s=new Date(Math.floor(e+.05));"y"===n?i=L(s):"m"===n?i=S(s):"d"===n?(a=L(s),i=B(s)):(a=W(s),i=D(e,n))}return i+(a?"\n"+a:"")};var z=3*d;t.incrementMonth=function(e,t,n){n=T(n)&&n;var r=s(e,d);if(e=Math.round(e-r),n)try{var a=Math.round(e/d)+v,i=m.getComponentMethod("calendars","getCal")(n),l=i.fromJD(a);return t%12?i.add(l,t,"m"):i.add(l,t/12,"y"),(l.toJD()-v)*d+r}catch(t){o("invalid ms "+e+" in calendar "+n)}var u=new Date(e+z);return u.setUTCMonth(u.getUTCMonth()+t)+r-z},t.findExactDates=function(e,t){for(var n,r,a=0,i=0,o=0,s=0,u=T(t)&&m.getComponentMethod("calendars","getCal")(t),c=0;ca.max?t.set(n):t.set(+e)}},integer:{description:["An integer or an integer inside a string.","When applicable, values greater (less) than `max` (`min`)","are coerced to the `dflt`."].join(" "),requiredOpts:[],otherOpts:["dflt","min","max"],coerceFunction:function(e,t,n,a){e%1||!r(e)||void 0!==a.min&&ea.max?t.set(n):t.set(+e)}},string:{description:["A string value.","Numbers are converted to strings except for attributes with","`strict` set to true."].join(" "),requiredOpts:[],otherOpts:["dflt","noBlank","strict","arrayOk","values"],coerceFunction:function(e,t,n,r){if("string"!=typeof e){var a="number"==typeof e;!0!==r.strict&&a?t.set(String(e)):t.set(n)}else r.noBlank&&!e?t.set(n):t.set(e)}},color:{description:["A string describing color.","Supported formats:","- hex (e.g. '#d3d3d3')","- rgb (e.g. 'rgb(255, 0, 0)')","- rgba (e.g. 'rgb(255, 0, 0, 0.5)')","- hsl (e.g. 'hsl(0, 100%, 50%)')","- hsv (e.g. 'hsv(0, 100%, 100%)')","- named colors (full list: http://www.w3.org/TR/css3-color/#svg-color)"].join(" "),requiredOpts:[],otherOpts:["dflt","arrayOk"],coerceFunction:function(e,t,n){a(e).isValid()?t.set(e):t.set(n)}},colorscale:{description:["A Plotly colorscale either picked by a name:","(any of",o.join(", "),")","customized as an {array} of 2-element {arrays} where","the first element is the normalized color level value","(starting at *0* and ending at *1*),","and the second item is a valid color string."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(e,t,n){t.set(l(e,n))}},angle:{description:["A number (in degree) between -180 and 180."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(e,t,n){"auto"===e?t.set("auto"):r(e)?(Math.abs(e)>180&&(e-=360*Math.round(e/360)),t.set(+e)):t.set(n)}},subplotid:{description:["An id string of a subplot type (given by dflt), optionally","followed by an integer >1. e.g. if dflt='geo', we can have","'geo', 'geo2', 'geo3', ..."].join(" "),requiredOpts:["dflt"],otherOpts:[],coerceFunction:function(e,t,n){var r=n.length;"string"==typeof e&&e.substr(0,r)===n&&u.test(e.substr(r))?t.set(e):t.set(n)},validateFunction:function(e,t){var n=t.dflt,r=n.length;return e===n||"string"==typeof e&&!(e.substr(0,r)!==n||!u.test(e.substr(r)))}},flaglist:{description:["A string representing a combination of flags","(order does not matter here).","Combine any of the available `flags` with *+*.","(e.g. ('lines+markers')).","Values in `extras` cannot be combined."].join(" "),requiredOpts:["flags"],otherOpts:["dflt","extras","arrayOk"],coerceFunction:function(e,t,n,r){if("string"==typeof e)if(-1===(r.extras||[]).indexOf(e)){for(var a=e.split("+"),i=0;i0)}function o(e){return e.name||e.replace(/-/gi,"")}function s(){return new Promise(function(e,t){var n=setInterval(function(){"undefined"!=typeof window&&window.ga&&(e(),clearInterval(n))},10)})}function u(e,t){return a().length>1?o(t)+"."+e:e}function c(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r1?M({},b.fields,{name:n}):b.fields;window.ga("create",t.id||t,"auto",r)}),b.beforeFirstHit();var t=b.ecommerce;if(t.enabled){var n=t.enhanced?"ec":"ecommerce";t.options?c("require",n,t.options):c("require",n)}b.linkers.length>0&&(c("require","linker"),c("linker:autoLink",b.linkers)),b.debug.sendHitTask||d("sendHitTask",null)}function f(){for(var e=arguments.length,t=Array(e),n=0;n0&&void 0!==arguments[0])||arguments[0];"undefined"!=typeof window&&a().forEach(function(t){window["ga-disable-"+t]=e})},x=function(){if("undefined"!=typeof document&&"undefined"!=typeof window){var e=(b.wait,b.id),t=b.disabled,n=b.debug,a=b.disableScriptLoader,i=n.enabled?"analytics_debug":"analytics",o="https://www.google-analytics.com/"+i+".js";if(!e)throw new Error('[vue-analytics] Missing the "id" parameter. Add at least one tracking domain ID');!l()||window.ga&&a||function(e){return new Promise(function(t,n){var r=document.head||document.getElementsByTagName("head")[0],a=document.createElement("script");a.async=!0,a.src=e,a.charset="utf8",r.appendChild(a),a.onload=t,a.onerror=n})}(o).catch(function(){console.error("[vue-analytics] An error occured trying to load "+o+". Please check your connection or if you have any Google Analytics blocker installed in your browser.")}),Promise.resolve("function"==typeof e?e():e).then(function(e){r({id:e})}).then(function(){return"function"==typeof t?t():t}).then(function(e){r({disabled:e}),e&&w(),h(),C(),function(){var e=b.router,t=b.autoTracking;t.page&&e&&(t.pageviewOnLoad&&v(e.currentRoute),b.router.afterEach(function(n,r){var a=t.skipSamePath,i=t.shouldRouterUpdate;a&&n.path===r.path||("function"!=typeof i||i(n,r))&&b.$vue.nextTick().then(function(){v(e.currentRoute)})}))}()})}},A=this,D=function(e){c("send","exception",{exDescription:e,exFatal:arguments.length>1&&void 0!==arguments[1]&&arguments[1]})},L=function(e){if(b.autoTracking.exception){window.addEventListener("error",function(e){D(e.message)});var t=e.config.errorHandler;e.config.errorHandler=function(e,n,r){D(e.message),b.autoTracking.exceptionLogs&&(console.error("[vue-analytics] Error in "+r+": "+e.message),console.error(e)),"function"==typeof t&&t.call(A,e,n,r)}}},S=D,B=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};r(O({},t,{$vue:e})),"undefined"==typeof window||window.ga||(window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)},window.ga.l=Number(new Date)),e.directive("ga",z),e.prototype.$ga=e.$ga=G,L(e),x()},n.d(t,"onAnalyticsReady",function(){return s}),n.d(t,"analyticsMiddleware",function(){return P});var O=Object.assign||function(e){for(var t=1;t=0&&Math.floor(t)===t&&isFinite(e)}function c(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function d(e){var t=parseFloat(e);return isNaN(t)?e:t}function h(e,t){for(var n=Object.create(null),r=e.split(","),a=0;a-1)return e.splice(n,1)}}function p(e,t){return Ut.call(e,t)}function v(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}function m(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function g(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function y(e,t){for(var n in t)e[n]=t[n];return e}function _(e){for(var t={},n=0;n0&&(ee((s=e(s,(n||"")+"_"+o))[0])&&ee(c)&&(d[u]=x(c.text+s[0].text),s.shift()),d.push.apply(d,s)):l(s)?ee(c)?d[u]=x(c.text+s):""!==s&&d.push(x(s)):ee(s)&&ee(c)?d[u]=x(c.text+s.text):(i(t._isVList)&&a(s.tag)&&r(s.key)&&a(n)&&(s.key="__vlist"+n+"_"+o+"__"),d.push(s)));return d}(e):void 0}function ee(e){return a(e)&&a(e.text)&&function(e){return!1===e}(e.isComment)}function te(e,t){return(e.__esModule||Cn&&"Module"===e[Symbol.toStringTag])&&(e=e.default),o(e)?t.extend(e):e}function ne(e){return e.isComment&&e.asyncFactory}function re(e){if(Array.isArray(e))for(var t=0;t=0||n.indexOf(e[a])<0)&&r.push(e[a]);return r}return e}function Ie(e){this._init(e)}function Ne(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,a=e._Ctor||(e._Ctor={});if(a[r])return a[r];var i=e.name||n.options.name,l=function(e){this._init(e)};return(l.prototype=Object.create(n.prototype)).constructor=l,l.cid=t++,l.options=O(n.options,e),l.super=n,l.options.props&&function(e){var t=e.options.props;for(var n in t)pe(e.prototype,"_props",n)}(l),l.options.computed&&function(e){var t=e.options.computed;for(var n in t)me(e.prototype,n,t[n])}(l),l.extend=n.extend,l.mixin=n.mixin,l.use=n.use,rn.forEach(function(e){l[e]=n[e]}),i&&(l.options.components[i]=l),l.superOptions=n.options,l.extendOptions=e,l.sealedOptions=y({},l.options),a[r]=l,l}}function Fe(e){return e&&(e.Ctor.options.name||e.tag)}function He(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!function(e){return"[object RegExp]"===$t.call(e)}(e)&&e.test(t)}function Ve(e,t){var n=e.cache,r=e.keys,a=e._vnode;for(var i in n){var l=n[i];if(l){var o=Fe(l.componentOptions);o&&!t(o)&&$e(n,i,r,a)}}}function $e(e,t,n,r){var a=e[t];!a||r&&a.tag===r.tag||a.componentInstance.$destroy(),e[t]=null,f(n,t)}function qe(e){for(var t=e.data,n=e,r=e;a(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=Ue(r.data,t));for(;a(n=n.parent);)n&&n.data&&(t=Ue(t,n.data));return function(e,t){return a(e)||a(t)?Ye(e,Je(t)):""}(t.staticClass,t.class)}function Ue(e,t){return{staticClass:Ye(e.staticClass,t.staticClass),class:a(e.class)?[e.class,t.class]:t.class}}function Ye(e,t){return e?t?e+" "+t:e:t||""}function Je(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,i=e.length;r-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function gt(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function yt(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&y(t,Zr(e.name||"v")),y(t,e),t}return"string"==typeof e?Zr(e):void 0}}function _t(e){la(function(){la(e)})}function bt(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),mt(e,t))}function Tt(e,t){e._transitionClasses&&f(e._transitionClasses,t),gt(e,t)}function kt(e,t,n){var r=Mt(e,t),a=r.type,i=r.timeout,l=r.propCount;if(!a)return n();var o=a===ea?ra:ia,s=0,u=function(){e.removeEventListener(o,c),n()},c=function(t){t.target===e&&++s>=l&&u()};setTimeout(function(){s0&&(n=ea,c=l,d=i.length):t===ta?u>0&&(n=ta,c=u,d=s.length):(c=Math.max(l,u),d=(n=c>0?l>u?ea:ta:null)?n===ea?i.length:s.length:0),{type:n,timeout:c,propCount:d,hasTransform:n===ea&&oa.test(r[na+"Property"])}}function Kt(e,t){for(;e.length1}function Lt(e,t){!0!==t.data.show&&wt(t)}function St(e,t,n){Bt(e,t),(fn||vn)&&setTimeout(function(){Bt(e,t)},0)}function Bt(e,t,n){var r=t.value,a=e.multiple;if(!a||Array.isArray(r)){for(var i,l,o=0,s=e.options.length;o-1,l.selected!==i&&(l.selected=i);else if(T(Gt(l),r))return void(e.selectedIndex!==o&&(e.selectedIndex=o));a||(e.selectedIndex=-1)}}function Wt(e,t){return t.every(function(t){return!T(t,e)})}function Gt(e){return"_value"in e?e._value:e.value}function zt(e){e.target.composing=!0}function Rt(e){e.target.composing&&(e.target.composing=!1,Pt(e.target,"input"))}function Pt(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Ot(e){return!e.componentInstance||e.data&&e.data.transition?e:Ot(e.componentInstance._vnode)}function Et(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Et(re(t.children)):e}function jt(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var a=n._parentListeners;for(var i in a)t[Jt(i)]=a[i];return t}function It(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function Nt(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Ft(e){e.data.newPos=e.elm.getBoundingClientRect()}function Ht(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,a=t.top-n.top;if(r||a){e.data.moved=!0;var i=e.elm.style;i.transform=i.WebkitTransform="translate("+r+"px,"+a+"px)",i.transitionDuration="0s"}}var Vt=Object.freeze({}),$t=Object.prototype.toString,qt=(h("slot,component",!0),h("key,ref,slot,slot-scope,is")),Ut=Object.prototype.hasOwnProperty,Yt=/-(\w)/g,Jt=v(function(e){return e.replace(Yt,function(e,t){return t?t.toUpperCase():""})}),Xt=v(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),Zt=/\B([A-Z])/g,Qt=v(function(e){return e.replace(Zt,"-$1").toLowerCase()}),en=function(e,t,n){return!1},tn=function(e){return e},nn="data-server-rendered",rn=["component","directive","filter"],an=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],ln={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:en,isReservedAttr:en,isUnknownElement:en,getTagNamespace:b,parsePlatformTagName:tn,mustUseProp:en,_lifecycleHooks:an},on=/[^\w.$]/,sn="__proto__"in{},un="undefined"!=typeof window,cn="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,dn=cn&&WXEnvironment.platform.toLowerCase(),hn=un&&window.navigator.userAgent.toLowerCase(),fn=hn&&/msie|trident/.test(hn),pn=hn&&hn.indexOf("msie 9.0")>0,vn=hn&&hn.indexOf("edge/")>0,mn=hn&&hn.indexOf("android")>0||"android"===dn,gn=hn&&/iphone|ipad|ipod|ios/.test(hn)||"ios"===dn,yn=(hn&&/chrome\/\d+/.test(hn),{}.watch),_n=!1;if(un)try{var bn={};Object.defineProperty(bn,"passive",{get:function(){_n=!0}}),window.addEventListener("test-passive",null,bn)}catch(e){}var Tn,kn,Mn=function(){return void 0===Tn&&(Tn=!un&&void 0!==e&&"server"===e.process.env.VUE_ENV),Tn},Kn=un&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Cn="undefined"!=typeof Symbol&&w(Symbol)&&"undefined"!=typeof Reflect&&w(Reflect.ownKeys);kn="undefined"!=typeof Set&&w(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var wn=b,xn=0,An=function(){this.id=xn++,this.subs=[]};An.prototype.addSub=function(e){this.subs.push(e)},An.prototype.removeSub=function(e){f(this.subs,e)},An.prototype.depend=function(){An.target&&An.target.addDep(this)},An.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;trr&&Zn[n].id>e.id;)n--;Zn.splice(n+1,0,e)}else Zn.push(e);tr||(tr=!0,q(fe))}}(this)},ir.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||o(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){F(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},ir.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},ir.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},ir.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||f(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var lr={enumerable:!0,configurable:!0,get:b,set:b},or={lazy:!0};Le(Se.prototype);var sr={init:function(e,t,n,r){if(!e.componentInstance||e.componentInstance._isDestroyed)(e.componentInstance=Ge(e,Xn,n,r)).$mount(t?e.elm:void 0,t);else if(e.data.keepAlive){var a=e;sr.prepatch(a,a)}},prepatch:function(e,t){var n=t.componentOptions;!function(e,t,n,r,a){var i=!!(a||e.$options._renderChildren||r.data.scopedSlots||e.$scopedSlots!==Vt);if(e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=a,e.$attrs=r.data&&r.data.attrs||Vt,e.$listeners=n||Vt,t&&e.$options.props){Rn.shouldConvert=!1;for(var l=e._props,o=e.$options._propKeys||[],s=0;s1?g(n):n;for(var r=g(arguments,1),a=0,i=n.length;aparseInt(this.max)&&$e(l,o[0],o,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}},vr={KeepAlive:pr};(function(e){var t={get:function(){return ln}};Object.defineProperty(e,"config",t),e.util={warn:wn,extend:y,mergeOptions:O,defineReactive:S},e.set=B,e.delete=W,e.nextTick=q,e.options=Object.create(null),rn.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,y(e.options.components,vr),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=g(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=O(this.options,e),this}}(e),Ne(e),function(e){rn.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&s(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)})(Ie),Object.defineProperty(Ie.prototype,"$isServer",{get:Mn}),Object.defineProperty(Ie.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Ie.version="2.5.13";var mr,gr,yr=h("style,class"),_r=h("input,textarea,option,select,progress"),br=h("contenteditable,draggable,spellcheck"),Tr=h("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),kr="http://www.w3.org/1999/xlink",Mr=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Kr=function(e){return Mr(e)?e.slice(6,e.length):""},Cr=function(e){return null==e||!1===e},wr={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},xr=h("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Ar=h("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Dr=function(e){return xr(e)||Ar(e)},Lr=Object.create(null),Sr=h("text,number,password,search,email,tel,url"),Br=Object.freeze({createElement:function(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)},createElementNS:function(e,t){return document.createElementNS(wr[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setAttribute:function(e,t,n){e.setAttribute(t,n)}}),Wr={create:function(e,t){Xe(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Xe(e,!0),Xe(t))},destroy:function(e){Xe(e,!0)}},Gr=new Ln("",{},[]),zr=["create","activate","update","remove","destroy"],Rr={create:et,update:et,destroy:function(e){et(e,Gr)}},Pr=Object.create(null),Or=[Wr,Rr],Er={create:at,update:at},jr={create:lt,update:lt},Ir="__r",Nr="__c",Fr={create:ct,update:ct},Hr={create:dt,update:dt},Vr=v(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}),$r=/^--/,qr=/\s*!important$/,Ur=function(e,t,n){if($r.test(t))e.style.setProperty(t,n);else if(qr.test(n))e.style.setProperty(t,n.replace(qr,""),"important");else{var r=Jr(t);if(Array.isArray(n))for(var a=0,i=n.length;ap?(d=r(i[_+1])?null:i[_+1].elm,v(e,d,i,f,_,l)):f>_&&g(0,t,h,p)}function b(e,t,n,r){for(var i=n;i-1?Lr[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Lr[e]=/HTMLUnknownElement/.test(t.toString())},y(Ie.options.directives,pa),y(Ie.options.components,_a),Ie.prototype.__patch__=un?da:b,Ie.prototype.$mount=function(e,t){return function(e,t,n){return e.$el=t,e.$options.render||(e.$options.render=Bn),he(e,"beforeMount"),new ir(e,function(){e._update(e._render(),n)},b,null,!0),n=!1,null==e.$vnode&&(e._isMounted=!0,he(e,"mounted")),e}(this,e=e&&un?function(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}(e):void 0,t)},Ie.nextTick(function(){ln.devtools&&Kn&&Kn.emit("init",Ie)},0),t.a=Ie}).call(t,n(44),n(167).setImmediate)},function(e,t,n){"use strict";var r=n(180),a=n.n(r);t.a=a.a},function(e,t,n){"use strict";var r=n(189),a=n.n(r);t.a=a.a},function(e,t,n){var r=n(60),a=n(32);e.exports=Object.keys||function(e){return r(e,a)}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){"use strict";var r=n(176),a=n.n(r),i=n(177),l=n.n(i);n.d(t,"a",function(){return a.a}),n.d(t,"b",function(){return l.a})},function(e,t,n){"use strict";var r=n(178),a=n.n(r),i=n(65);n.n(i),t.a=a.a},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){e.exports=!0},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(9).f,a=n(12),i=n(4)("toStringTag");e.exports=function(e,t,n){e&&!a(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(37)("keys"),a=n(27);e.exports=function(e){return r[e]||(r[e]=a(e))}},function(e,t,n){var r=n(8),a=r["__core-js_shared__"]||(r["__core-js_shared__"]={});e.exports=function(e){return a[e]||(a[e]={})}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(31);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(19);e.exports=function(e,t){if(!r(e))return e;var n,a;if(t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;if("function"==typeof(n=e.valueOf)&&!r(a=n.call(e)))return a;if(!t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(8),a=n(7),i=n(33),l=n(42),o=n(9).f;e.exports=function(e){var t=a.Symbol||(a.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||o(t,e,{value:l.f(e)})}},function(e,t,n){t.f=n(4)},function(e,t,n){"use strict";var r=n(154)(!0);n(57)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";var r=n(168),a=n.n(r);t.a=a.a},function(e,t,n){"use strict";var r=n(169),a=n.n(r),i=n(170),l=n.n(i);n.d(t,"a",function(){return a.a}),n.d(t,"b",function(){return l.a})},function(e,t,n){"use strict";var r=n(13),a=n.n(r),i=n(22),l=n(183),o=n.n(l);n.d(t,"a",function(){return o.a}),t.b={open:function(e){var t=void 0,n=void 0;"string"==typeof e&&(t=e);var r={programmatic:!0,content:t};e.parent&&(n=e.parent,delete e.parent);var l=a()(r,e);return new(i.a.extend(o.a))({parent:n,el:document.createElement("div"),propsData:l})}}},function(e,t,n){"use strict";var r=n(185),a=n.n(r);t.a=a.a},function(e,t,n){"use strict";var r=n(6),a=n.n(r),i=n(2);t.a={components:a()({},i.a.name,i.a),props:{active:{type:Boolean,default:!0},title:String,closable:{type:Boolean,default:!0},type:String,hasIcon:Boolean,size:String,iconSize:String},data:function(){return{isActive:this.active}},watch:{active:function(e){this.isActive=e}},computed:{icon:function(){switch(this.type){case"is-info":return"information";case"is-success":return"check-circle";case"is-warning":return"alert";case"is-danger":return"alert-circle";default:return null}}},methods:{close:function(){this.isActive=!1,this.$emit("close"),this.$emit("update:active",!1)}}}},function(e,t,n){"use strict";var r=n(1),a=n(5);t.a={props:{type:{type:String,default:"is-dark"},message:String,duration:Number,queue:{type:Boolean,default:void 0},position:{type:String,default:"is-top",validator:function(e){return["is-top-right","is-top","is-top-left","is-bottom-right","is-bottom","is-bottom-left"].indexOf(e)>-1}},container:String},data:function(){return{isActive:!1,parentTop:null,parentBottom:null,newContainer:this.container||r.b.defaultContainerElement}},computed:{correctParent:function(){switch(this.position){case"is-top-right":case"is-top":case"is-top-left":return this.parentTop;case"is-bottom-right":case"is-bottom":case"is-bottom-left":return this.parentBottom}},transition:function(){switch(this.position){case"is-top-right":case"is-top":case"is-top-left":return{enter:"fadeInDown",leave:"fadeOut"};case"is-bottom-right":case"is-bottom":case"is-bottom-left":return{enter:"fadeInUp",leave:"fadeOut"}}}},methods:{shouldQueue:function(){return!!(void 0!==this.queue?this.queue:r.b.defaultNoticeQueue)&&(this.parentTop.childElementCount>0||this.parentBottom.childElementCount>0)},close:function(){var e=this;clearTimeout(this.timer),this.isActive=!1,setTimeout(function(){e.$destroy(),n.i(a.a)(e.$el)},150)},showNotice:function(){var e=this;this.shouldQueue()?setTimeout(function(){return e.showNotice()},250):(this.correctParent.insertAdjacentElement("afterbegin",this.$el),this.isActive=!0,this.indefinite||(this.timer=setTimeout(function(){return e.close()},this.newDuration)))},setupContainer:function(){if(this.parentTop=document.querySelector(".notices.is-top"),this.parentBottom=document.querySelector(".notices.is-bottom"),!this.parentTop||!this.parentBottom){this.parentTop||(this.parentTop=document.createElement("div"),this.parentTop.className="notices is-top"),this.parentBottom||(this.parentBottom=document.createElement("div"),this.parentBottom.className="notices is-bottom");var e=document.querySelector(this.newContainer)||document.body;e.appendChild(this.parentTop),e.appendChild(this.parentBottom),this.newContainer&&(this.parentTop.classList.add("has-custom-container"),this.parentBottom.classList.add("has-custom-container"))}}},beforeMount:function(){this.setupContainer()},mounted:function(){this.showNotice()}}},function(e,t,n){e.exports={default:n(130),__esModule:!0}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var a=n(127),i=r(a),l=n(3),o=r(l),s="function"==typeof o.default&&"symbol"==typeof i.default?function(e){return typeof e}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":typeof e};t.default="function"==typeof o.default&&"symbol"===s(i.default)?function(e){return void 0===e?"undefined":s(e)}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":void 0===e?"undefined":s(e)}},function(e,t,n){var r=n(135);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,a){return e.call(t,n,r,a)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(19),a=n(8).document,i=r(a)&&r(a.createElement);e.exports=function(e){return i?a.createElement(e):{}}},function(e,t,n){e.exports=!n(11)&&!n(18)(function(){return 7!=Object.defineProperty(n(54)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(30);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){"use strict";var r=n(33),a=n(17),i=n(61),l=n(15),o=n(12),s=n(20),u=n(145),c=n(35),d=n(153),h=n(4)("iterator"),f=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,v,m,g,y){u(n,t,v);var _,b,T,k=function(e){if(!f&&e in w)return w[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},M=t+" Iterator",K="values"==m,C=!1,w=e.prototype,x=w[h]||w["@@iterator"]||m&&w[m],A=!f&&x||k(m),D=m?K?k("entries"):A:void 0,L="Array"==t&&w.entries||x;if(L&&(T=d(L.call(new e)))!==Object.prototype&&T.next&&(c(T,M,!0),r||o(T,h)||l(T,h,p)),K&&x&&"values"!==x.name&&(C=!0,A=function(){return x.call(this)}),r&&!y||!f&&!C&&w[h]||l(w,h,A),s[t]=A,s[M]=p,m)if(_={values:K?A:k("values"),keys:g?A:k("keys"),entries:D},y)for(b in _)b in w||i(w,b,_[b]);else a(a.P+a.F*(f||C),t,_);return _}},function(e,t,n){var r=n(14),a=n(150),i=n(32),l=n(36)("IE_PROTO"),o=function(){},s=function(){var e,t=n(54)("iframe"),r=i.length;for(t.style.display="none",n(141).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("