From b6a0e90753443e56e90be0c52fd65a7a3df2d2e4 Mon Sep 17 00:00:00 2001 From: BrokenTalentsFun CI Date: Wed, 11 Jul 2018 12:21:44 +0200 Subject: automatic build --- dist/build.js | 2 +- dist/main.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'dist') diff --git a/dist/build.js b/dist/build.js index 763efdc..4c694df 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)},o=0,i=void 0,l=void 0,s=function(e,t){v[o]=e,v[o+1]=t,2===(o+=2)&&(l?l(g):k())};var c="undefined"!=typeof window?window:void 0,u=c||{},d=u.MutationObserver||u.WebKitMutationObserver,f="undefined"==typeof self&&void 0!==t&&"[object process]"==={}.toString.call(t),p="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function h(){var e=setTimeout;return function(){return e(g,1)}}var v=new Array(1e3);function g(){for(var e=0;eo*m)||k)for(n=0;nW&&OB&&(B=O);d/=(B-L)/(2*S),L=s.l2r(L),B=s.l2r(B),s.range=s._input.range=w=e[1]||a[1]<=e[0])&&o[0]t[0])return!0}return!1}(l,s,p)?(f.push(t),p.push([l,s])):c=[0];var u=n.plotgroup.selectAll(".bg").data(c);u.enter().append("rect").classed("bg",!0),u.exit().remove(),u.each(function(){n.bg=u;var e=n.plotgroup.node();e.insertBefore(this,e.childNodes[0])})});var h=o._bgLayer.selectAll(".bg").data(f);h.enter().append("rect").classed("bg",!0),h.exit().remove(),h.each(function(e){o._plots[e].bg=r.select(this)});var v=[];return u.each(function(t){var n=o._plots[t],r=a.Axes.getFromId(e,t,"x"),l=a.Axes.getFromId(e,t,"y");r.setScale(),l.setScale(),n.bg&&o._has("cartesian")&&n.bg.call(c.setRect,r._offset-i.p,l._offset-i.p,r._length+2*i.p,l._length+2*i.p).call(s.fill,o.plot_bgcolor).style("stroke-width",0),n.clipId="clip"+o._uid+t+"plot";var u=o._defs.selectAll("g.clips").selectAll("#"+n.clipId).data([0]);u.enter().append("clipPath").attr({class:"plotclip",id:n.clipId}).append("rect"),u.selectAll("rect").attr({width:r._length,height:l._length}),n.plot.call(c.setTranslate,r._offset,l._offset),n.plot.call(c.setClipUrl,n.clipId);var d=c.crispRound(e,r.linewidth,1),f=c.crispRound(e,l.linewidth,1),p=i.p+f,h="M"+-p+",",g="h"+(r._length+2*p),m="free"===r.anchor&&-1===v.indexOf(r._id),_=i.h*(1-(r.position||0))+d/2%1,y=r.anchor===l._id&&(r.mirror||"top"!==r.side)||"all"===r.mirror||"allticks"===r.mirror||r.mirrors&&r.mirrors[l._id+"bottom"],b=l._length+i.p+d/2,k=r.anchor===l._id&&(r.mirror||"top"===r.side)||"all"===r.mirror||"allticks"===r.mirror||r.mirrors&&r.mirrors[l._id+"top"],T=-i.p-d/2,x=i.p,A=y?0:d,w=k?0:d,M=","+(-x-w)+"v"+(l._length+2*x+w+A),C="free"===l.anchor&&-1===v.indexOf(l._id),L=i.w*(l.position||0)+f/2%1,B=l.anchor===r._id&&(l.mirror||"right"!==l.side)||"all"===l.mirror||"allticks"===l.mirror||l.mirrors&&l.mirrors[r._id+"left"],S=-i.p-f/2,W=l.anchor===r._id&&(l.mirror||"right"===l.side)||"all"===l.mirror||"allticks"===l.mirror||l.mirrors&&l.mirrors[r._id+"right"],z=r._length+i.p+f/2;r._linepositions[t]=[y?b:void 0,k?T:void 0,m?_:void 0],r.anchor===l._id?r._linepositions[t][3]="top"===r.side?T:b:m&&(r._linepositions[t][3]=_),l._linepositions[t]=[B?S:void 0,W?z:void 0,C?L:void 0],l.anchor===r._id?l._linepositions[t][3]="right"===l.side?z:S:C&&(l._linepositions[t][3]=L);var O="translate("+r._offset+","+l._offset+")",P=O,R=O;m&&(P="translate("+r._offset+","+i.t+")",T+=l._offset-i.t,b+=l._offset-i.t),C&&(R="translate("+i.l+","+l._offset+")",S+=r._offset-i.l,z+=r._offset-i.l),o._has("cartesian")&&(n.xlines.attr("transform",P).attr("d",(y?h+b+g:"")+(k?h+T+g:"")+(m?h+_+g:"")||"M0,0").style("stroke-width",d+"px").call(s.stroke,r.showline?r.linecolor:"rgba(0,0,0,0)"),n.ylines.attr("transform",R).attr("d",(B?"M"+S+M:"")+(W?"M"+z+M:"")+(C?"M"+L+M:"")||"M0,0").attr("stroke-width",f+"px").call(s.stroke,l.showline?l.linecolor:"rgba(0,0,0,0)")),n.xaxislayer.attr("transform",P),n.yaxislayer.attr("transform",R),n.gridlayer.attr("transform",O),n.zerolinelayer.attr("transform",O),n.draglayer.attr("transform",O),m&&v.push(r._id),C&&v.push(l._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;u.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&&i.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?(g.x=1.02,g.xanchor="left"):g.x<-2&&(g.x=-.02,g.xanchor="right"),g.y>3?(g.y=1.02,g.yanchor="bottom"):g.y<-2&&(g.y=-.02,g.yanchor="top")),"rotate"===e.dragmode&&(e.dragmode="orbit"),e.scene1&&(e.scene||(e.scene=e.scene1),delete e.scene1);var m=l.getSubplotIds(e,"gl3d");for(t=0;t0)return e.substr(0,t)}t.hasParent=function(e,t){for(var n=h(t);n;){if(n in e)return!0;n=h(n)}return!1}},function(e,t,n){"use strict";var r=n(107),a=n(32),o=n(109),i=n(33),l=n(162).sorterAsc,s=n(4);t.containerArrayMatch=n(167);var c=t.isAddVal=function(e){return"add"===e||a(e)},u=t.isRemoveVal=function(e){return null===e||"remove"===e};t.applyContainerArrayChanges=function(e,t,n,a){var d=t.astr,f=s.getComponentMethod(d,"supplyLayoutDefaults"),p=s.getComponentMethod(d,"draw"),h=s.getComponentMethod(d,"drawOne"),v=a.replot||a.recalc||f===o||p===o,g=e.layout,m=e._fullLayout;if(n[""]){Object.keys(n).length>1&&i.warn("Full array edits are incompatible with other edits",d);var _=n[""][""];if(u(_))t.set(null);else{if(!Array.isArray(_))return i.warn("Unrecognized full array edit value",d,_),!0;t.set(_)}return!v&&(f(g,m),p(e),!0)}var y,b,k,T,x,A,w,M=Object.keys(n).map(Number).sort(l),C=t.get(),L=C||[],B=r(m,d).get(),S=[],W=-1,z=L.length;for(y=0;yL.length-(w?0:1))i.warn("index out of range",d,k);else if(void 0!==A)x.length>1&&i.warn("Insertion & removal are incompatible with edits to the same index.",d,k),u(A)?S.push(k):w?("add"===A&&(A={}),L.splice(k,0,A),B&&B.splice(k,0,{})):i.warn("Unrecognized full object edit value",d,k,A),-1===W&&(W=k);else for(b=0;b=0;y--)L.splice(S[y],1),B&&B.splice(S[y],1);if(L.length?C||t.set(L):t.set(null),v)return!1;if(f(g,m),h!==o){var O;if(-1===W)O=M;else{for(z=Math.max(L.length,z),O=[],y=0;y=W);y++)O.push(k);for(y=W;y=0?Math.min(e,.9):1/(1/Math.max(e,-.3)+3.222))}function C(e){e.selectAll(".select-outline").remove()}function L(e){r.select(e).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}function B(e){return-1!==["lasso","select"].indexOf(e)}function S(e){var t=Math.floor(Math.min(e.b-e.t,e.r-e.l,k)/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,W,z,O,P,R){var D,N,E,I,j,F,$,V,H,G,K,q,U,Y=e._fullLayout,X=e._fullLayout._zoomlayer,J=P+R==="nsew";function Z(){N=[t.xaxis],E=[t.yaxis];var n=N[0],r=E[0];F=n._length,$=r._length;var a=Y._axisConstraintGroups,o=[n._id],i=[r._id];D=[t].concat(P&&R?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")}(X,re,I,j,ae="M0,0H"+F+"V"+$+"H0V0"),se=function(e,t,n){return e.append("path").attr("class","zoombox-corners").style({fill:c.background,stroke:c.defaultLine,"stroke-width":1,opacity:0}).attr("transform","translate("+t+", "+n+")").attr("d","M0,0Z")}(X,I,j),C(X)}(0,n,r)):"pan"===o?(ce.moveFn=ye,ce.doneFn=pe,C(X)):B(o)&&(ce.xaxes=N,ce.yaxes=E,m(t,n,r,ce,o))}};f.init(ce);var ue={};function de(t,n){if(e._transitioningWithDuration)return!1;var r=Math.max(0,Math.min(F,t+ee)),a=Math.max(0,Math.min($,n+te)),o=Math.abs(r-ee),i=Math.abs(a-te);function l(){ie="",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),K?o>k||i>k?(ie="xy",o/F>i/$?(i=o*$/F,te>a?ne.t=te-i:ne.b=te+i):(o=i*F/$,ee>r?ne.l=ee-o:ne.r=ee+o),se.attr("d",S(ne))):l():!H||i.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),t.transition().style("opacity",1).duration(200))}(le,se,ne,ae,oe,re),oe=!0}function fe(t,n){if(Math.min(ne.h,ne.w)<2*b)return 2===n&&ke(),L(e);"xy"!==ie&&"x"!==ie||A(N,ne.l/F,ne.r/F,ue,q),"xy"!==ie&&"y"!==ie||A(E,($-ne.b)/$,($-ne.t)/$,ue,U),L(e),Te(ie),T&&e.data&&e._context.showTips&&(l.notifier("Double-click to
zoom back out","long"),T=!1)}function pe(t,n){var a=1===(P+R).length;if(t)Te();else if(2!==n||a){if(1===n&&a){var i=P?E[0]:N[0],l="s"===P||"w"===R?0:1,c=i._name+".range["+l+"]",u=function(e,t){var n,a=e.range[t],o=Math.abs(a-e.range[1-t]);return"date"===e.type?a:"log"===e.type?(n=Math.ceil(Math.max(0,-Math.log(o)/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(o)/Math.LN10)+4,r.format("."+String(n)+"g")(a))}(i,l),d="left",f="middle";if(i.fixedrange)return;P?(f="n"===P?"top":"bottom","right"===i.side&&(d="right")):"e"===R&&(d="right"),e._context.showAxisRangeEntryBoxes&&r.select(Q).call(s.makeEditable,{gd:e,immediate:!0,background:Y.paper_bgcolor,text:String(u),fill:i.tickfont?i.tickfont.color:"#444",horizontalAlign:d,verticalAlign:f}).on("edit",function(t){var n=i.d2r(t);void 0!==n&&o.relayout(e,c,n)})}}else ke()}var he=[0,0,F,$],ve=null,ge=y.REDRAWDELAY,me=t.mainplot?Y._plots[t.mainplot]:t;function _e(t){if(e._context.scrollZoom||Y._enablescrollzoom){if(e._transitioningWithDuration)return l.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,o=Math.exp(-Math.min(Math.max(r,-20),20)/100),i=me.draglayer.select(".nsewdrag").node().getBoundingClientRect(),s=(t.clientX-i.left)/i.width,c=(i.bottom-t.clientY)/i.height;if(R||K){for(R||(s=.5),a=0;a4/3-l?i:l}},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=i.Axis()),o=i.adapter.plotly().convert(t),a.config(o).render(u),e.data=t.data,e.layout=t.layout,c.fillLayout(e),t}return f.isPolar=!0,f.svg=function(){return a.svg()},f.getConfig=function(){return t},f.getLiveConfig=function(){return i.adapter.plotly().convert(a.getLiveConfig(),!0)},f.getLiveScales=function(){return{t:a.angularScale(),r:a.radialScale()}},f.setUndoPoint=function(){var e,r,a=this,o=i.util.cloneJson(t);e=o,r=n,d.add({undo:function(){r&&a(r)},redo:function(){a(e)}}),n=i.util.cloneJson(o)},f.undo=function(){d.undo()},f.redo=function(){d.redo()},f},c.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(),i={width:800,height:600,paper_bgcolor:o.background,_container:t,_paperdiv:n,_paper:a};e._fullLayout=s(i,e.layout)}},function(e,t,n){"use strict";(e.exports=n(144)).manager=n(268)},function(e,t,n){"use strict";var r=n(1),a=n(2),o=n(8),i=n(0),l=n(88),s=n(145),c=n(4),u=n(9),d=n(269),f=n(143),p=n(7),h=n(30),v=n(31),g=n(14),m=n(255),_=n(254),y=n(252),b=n(15),k=n(251),T=k.enforce,x=k.clean,A=n(18);function w(e,t){e._fullLayout._paperdiv.style("background","white"),o.defaultConfig.setBackground(e,t)}function M(e,t){var n,r,a=t+1,o=[];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 L(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]),C(e,t,"currentIndices"),void 0===n||Array.isArray(n)||(n=[n]),void 0!==n&&C(e,n,"newIndices"),void 0!==n&&t.length!==n.length)throw new Error("current and new indices must be of equal length.")}function B(e,t,n,r,o,l){!function(e,t,n,r){var a=i.isPlainObject(r);if(!Array.isArray(e.data))throw new Error("gd.data must be an array");if(!i.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 o in C(e,n,"indices"),t){if(!Array.isArray(t[o])||t[o].length!==n.length)throw new Error("attribute "+o+" must be an array of length equal to indices array length");if(a&&(!(o in r)||!Array.isArray(r[o])||r[o].length!==t[o].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,c,u,d=function(e,t,n,r){var o,l,s,c,u,d=i.isPlainObject(r),f=[];for(var p in Array.isArray(n)||(n=[n]),n=M(n,e.data.length-1),t)for(var h=0;h=0&&u$.range[0]?[1,2]:[2,1]);else{var G=$.range[0],K=$.range[1];V?(G<=0&&K<=0&&x(N+".autorange",!0),G<=0?G=K/1e6:K<=0&&(K=G/1e6),x(N+".range[0]",Math.log(G)/Math.LN10),x(N+".range[1]",Math.log(K)/Math.LN10)):(x(N+".range[0]",Math.pow(10,G)),x(N+".range[1]",Math.pow(10,K)))}else x(N+".autorange",!0);c.getComponentMethod("annotations","convertCoords")(e,I,W,x),c.getComponentMethod("images","convertCoords")(e,I,W,x)}else x(N+".autorange",!0);i.nestedProperty(s,N+"._inputRange").set(null)}else if(R.match(b.AX_NAME_PATTERN)){var q=i.nestedProperty(s,B).get(),U=(W||{}).type;U&&"-"!==U||(U="linear"),c.getComponentMethod("annotations","convertCoords")(e,q,U,x),c.getComponentMethod("images","convertCoords")(e,q,U,x)}var Y=m.containerArrayMatch(B);if(Y){n=Y.array,r=Y.index;var X=Y.property,J=(i.nestedProperty(l,n)||[])[r]||{};if(""===r)-1===B.indexOf("updatemenus")&&(y.docalc=!0);else if(""===X){var Z=W;m.isAddVal(W)?T[B]=null:m.isRemoveVal(W)?(T[B]=J,Z=J):i.warn("unrecognized full object value",t),(w(Z,"x")||w(Z,"y")&&-1===B.indexOf("updatemenus"))&&(y.docalc=!0)}else!w(J,"x")&&!w(J,"y")||i.containsAny(B,["color","opacity","align","dash","updatemenus"])||(y.docalc=!0);p[n]||(p[n]={});var Q=p[n][r];Q||(Q=p[n][r]={}),Q[X]=W,delete t[B]}else if("reverse"===R)E.range?E.range.reverse():(x(N+".autorange",!0),E.range=[1,0]),I.autorange?y.docalc=!0:y.doplot=!0;else{var ee=String(S.parts[1]||"");0===P.indexOf("scene")?"camera"===S.parts[1]?y.docamera=!0:y.doplot=!0:0===P.indexOf("geo")?y.doplot=!0:0===P.indexOf("ternary")?y.doplot=!0:"paper_bgcolor"===B?y.doplot=!0:"margin"===P||"autorange"===ee||"rangemode"===ee||"type"===ee||"domain"===ee||"fixedrange"===ee||"scaleanchor"===ee||"scaleratio"===ee||-1!==B.indexOf("calendar")||B.match(/^(bar|box|font)/)?y.docalc=!0:!s._has("gl2d")||-1===B.indexOf("axis")&&"plot_bgcolor"!==B?!s._has("gl2d")||"dragmode"!==B||"lasso"!==W&&"select"!==W||"lasso"===j||"select"===j?"hiddenlabels"===B?y.docalc=!0:-1!==P.indexOf("legend")?y.dolegend=!0:-1!==B.indexOf("title")?y.doticks=!0:-1!==P.indexOf("bgcolor")?y.dolayoutstyle=!0:z>1&&i.containsAny(ee,["tick","exponent","grid","zeroline"])?y.doticks=!0:-1!==B.indexOf(".linewidth")&&-1!==B.indexOf("axis")?y.doticks=y.dolayoutstyle=!0:z>1&&-1!==ee.indexOf("line")?y.dolayoutstyle=!0:z>1&&"mirror"===ee?y.doticks=y.dolayoutstyle=!0:"margin.pad"===B?y.doticks=y.dolayoutstyle=!0:-1!==["hovermode","dragmode"].indexOf(B)||-1!==B.indexOf("spike")?y.domodebar=!0:-1===["height","width","autosize"].indexOf(B)&&(y.doplot=!0):y.docalc=!0:y.doplot=!0,S.set(W)}}}for(n in p){m.applyContainerArrayChanges(e,i.nestedProperty(l,n),p[n],y)||(y.doplot=!0)}var te=s._axisConstraintGroups;for(M in C)for(r=0;r=a.length?a[0]:a[e]:a}function s(e){return Array.isArray(o)?e>=o.length?o[0]:o[e]:o}function c(e,t){var n=0;return function(){if(e&&++n===t)return e()}}return void 0===r._frameWaitingCnt&&(r._frameWaitingCnt=0),new Promise(function(o,d){function f(){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,u.transition(e,t.frame.data,t.frame.layout,_.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 p(){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&&f()};t()}var h,v,g=0;function m(e){return Array.isArray(a)?g>=a.length?e.transitionOpts=a[g]:e.transitionOpts=a[0]:e.transitionOpts=a,g++,e}var y=[],b=void 0===t||null===t,k=Array.isArray(t);if(!b&&!k&&i.isPlainObject(t))y.push({type:"object",data:m(i.extendFlat({},t))});else if(b||-1!==["string","number"].indexOf(typeof t))for(h=0;h0&&AA)&&w.push(v);y=w}}y.length>0?function(t){if(0!==t.length){for(var a=0;a=0;r--)if(i.isPlainObject(t[r])){var v=(f[t[r].name]||{}).name,g=t[r].name;v&&g&&"number"==typeof g&&f[v]&&(c++,i.warn('addFrames: overwriting frame "'+f[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.'),c>5&&i.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.")),h.push({frame:u.supplyFrameDefaults(t[r]),index:n&&void 0!==n[r]&&null!==n[r]?n[r]:p+r})}h.sort(function(e,t){return e.index>t.index?-1:e.index=0;r--){if("number"==typeof(a=h[r].frame).name&&i.warn("Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings"),!a.name)for(;f[a.name="frame "+e._transitionData._counter++];);if(f[a.name]){for(o=0;o=0;n--)r=t[n],o.push({type:"delete",index:r}),l.unshift({type:"insert",index:r,value:a[r]});var c=u.modifyFrames,d=u.modifyFrames,f=[e,l],p=[e,o];return s&&s.add(e,c,f,d,p),u.modifyFrames(e,o)},o.purge=function(e){var t=(e=_.getGraphDiv(e))._fullLayout||{},n=e._fullData||[];return u.cleanPlot([],{},n,t),u.purge(e),l.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(o,i){"undefined"!=typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent)&&i(new Error("IE < 10 unsupported")),a&&(document.location.href="data:application/octet-stream"+e.slice(e.search(/[,;]/)),o(t)),t||(t="download"),r&&(n.href=e,n.download=t,document.body.appendChild(n),n.click(),document.body.removeChild(n),o(t)),"undefined"!=typeof navigator&&navigator.msSaveBlob&&(navigator.msSaveBlob(new Blob([e]),t),o(t)),i(new Error("download error"))})}},function(e,t,n){"use strict";var r=n(8),a=n(9),o=n(6),i=n(0),l=n(94),s=n(95),c=e.exports={};function u(e,t){var n,a,i=t.currentTarget,l=i.getAttribute("data-attr"),s=i.getAttribute("data-val")||!0,c=e._fullLayout,u={},d=o.list(e,null,!0),f="on";if("zoom"===l){var p,h="in"===s?.5:2,v=(1+h)/2,g=(1-h)/2;for(a=0;a1)return g(["resetViews","toggleHover"]),l(v,n);u&&(g(["zoom3d","pan3d","orbitRotation","tableRotation"]),g(["resetCameraDefault3d","resetCameraLastSave3d"]),g(["hoverClosest3d"]));d&&(g(["zoomInGeo","zoomOutGeo","resetGeo"]),g(["hoverClosestGeo"]));var m=function(e){for(var t=r.list({_fullLayout:e},null,!0),n=!0,a=0;a0?".":"")+o;a.isPlainObject(i)?s(i,t,l,r+1):t(l,o,i)}})}t.manageCommandObserver=function(e,n,r,i){var l={},s=!0;n&&n._commandObserver&&(l=n._commandObserver),l.cache||(l.cache={}),l.lookupTable={};var c=t.hasSimpleAPICommandBindings(e,r,l.lookupTable);if(n&&n._commandObserver){if(c)return l;if(n._commandObserver.remove)return n._commandObserver.remove(),n._commandObserver=null,l}if(c){o(e,c,l.cache),l.check=function(){if(s){var t=o(e,c,l.cache);return t.changed&&i&&void 0!==l.lookupTable[t.value]&&(l.disable(),Promise.resolve(i({value:t.value,type:c.type,prop:c.prop,traces:c.traces,index:l.lookupTable[t.value]})).then(l.enable,l.enable)),t.changed}};for(var u=["plotly_relayout","plotly_redraw","plotly_restyle","plotly_update","plotly_animatingframe","plotly_afterplot"],d=0;d0;e.each(function(e){var t,c=e[0].trace,u=c.error_x||{},d=c.error_y||{};c.ids&&(t=function(e){return e.id});var f=o.hasMarkers(c)&&c.marker.maxdisplayed>0;if(d.visible||u.visible){var p=r.select(this).selectAll("g.errorbar").data(e,t);p.exit().remove(),p.style("opacity",1);var h=p.enter().append("g").classed("errorbar",!0);s&&h.style("opacity",0).transition().duration(n.duration).style("opacity",1),p.each(function(e){var t=r.select(this),o=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,i,l);if(!f||e.vis){var c;if(d.visible&&a(o.x)&&a(o.yh)&&a(o.ys)){var p=d.width;c="M"+(o.x-p)+","+o.yh+"h"+2*p+"m-"+p+",0V"+o.ys,o.noYS||(c+="m-"+p+",0h"+2*p);var h=t.select("path.yerror");!h.size()?h=t.append("path").classed("yerror",!0):s&&(h=h.transition().duration(n.duration).ease(n.easing)),h.attr("d",c)}if(u.visible&&a(o.y)&&a(o.xh)&&a(o.xs)){var v=(u.copy_ystyle?d:u).width;c="M"+o.xh+","+(o.y-v)+"v"+2*v+"m0,-"+v+"H"+o.xs,o.noXS||(c+="m0,-"+v+"v"+2*v);var g=t.select("path.xerror");!g.size()?g=t.append("path").classed("xerror",!0):s&&(g=g.transition().duration(n.duration).ease(n.easing)),g.attr("d",c)}}})}})}},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,o=e.arrayminus;return n||void 0===o?function(e,t){var n=+a[t];return[n,n]}:function(e,t){return[+o[t],+a[t]]}}var i=r(t,e.value),l=r(t,e.valueminus);return n||void 0===e.valueminus?function(e){var t=i(e);return[t,t]}:function(e){return[l(e),i(e)]}}},function(e,t,n){"use strict";var r=n(0),a=n(18).id2name;e.exports=function(e,t,n,o,i){var l=i._axisConstraintGroups,s=t._id,c=s.charAt(0);if(!t.fixedrange&&(n("constrain"),r.coerce(e,t,{constraintoward:{valType:"enumerated",values:"x"===c?["left","center","right"]:["bottom","middle","top"],dflt:"x"===c?"center":"middle"}},"constraintoward"),e.scaleanchor)){var u=function(e,t,n,r){var o,i,l,s,c=r[a(t)].type,u=[];for(i=0;i0;o&&(r="array");var i=n("categoryorder",r);"array"===i&&n("categoryarray"),o||"array"!==i||(t.categoryorder="trace")}}},function(e,t,n){"use strict";var r=n(4),a=n(151),o=n(18).name2id;function i(e){return{v:"x",h:"y"}[e.orientation||"v"]}function l(e,t){var n=i(e),a=r.traceIs(e,"box"),o=r.traceIs(e._fullInput||{},"candlestick");return a&&!o&&t===n&&void 0===e[n]&&void 0===e[n+"0"]}e.exports=function(e,t,n,s,c){c&&(t._name=c,t._id=o(c)),"-"===n("type")&&(!function(e,t){if("-"!==e.type)return;var n=e._id,o=n.charAt(0);-1!==n.indexOf("scene")&&(n=o);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(21),o=n(2),i=n(3);function l(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,c=s.length,u=new Array(c),d=0;d/g),i=0;ie.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,o=n(1),i=n(2),l=n(33).error,s=n(166),c=n(16),u=c.BADNUM,d=c.ONEDAY,f=c.ONEHOUR,p=c.ONEMIN,h=c.ONESEC,v=c.EPOCHJD,g=n(4),m=o.time.format.utc,_=/^\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,y=/^\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 k(e){return e&&g.componentsRegistry.calendars&&"string"==typeof e&&"gregorian"!==e}function T(e,t){return String(e+Math.pow(10,t)).substr(1)}t.dateTick0=function(e,t){return k(e)?t?g.getComponentMethod("calendars","CANONICAL_SUNDAY")[e]:g.getComponentMethod("calendars","CANONICAL_TICK")[e]:t?"2000-01-02":"2000-01-01"},t.dfltRange=function(e){return k(e)?g.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()*p)>=r&&e<=a?e:u;if("string"!=typeof e&&"number"!=typeof e)return u;e=String(e);var o=k(n),i=e.charAt(0);!o||"G"!==i&&"g"!==i||(e=e.substr(1),n="");var l=o&&"chinese"===n.substr(0,7),s=e.match(l?y:_);if(!s)return u;var c=s[1],m=s[3]||"1",T=Number(s[5]||1),x=Number(s[7]||0),A=Number(s[9]||0),w=Number(s[11]||0);if(o){if(2===c.length)return u;var M;c=Number(c);try{var C=g.getComponentMethod("calendars","getCal")(n);if(l){var L="i"===m.charAt(m.length-1);m=parseInt(m,10),M=C.newDate(c,C.toMonthIndex(c,m,L),T)}else M=C.newDate(c,Number(m),T)}catch(e){return u}return M?(M.toJD()-v)*d+x*f+A*p+w*h:u}c=2===c.length?(Number(c)+2e3-b)%100+b:Number(c),m-=1;var B=new Date(Date.UTC(2e3,m,T,x,A));return B.setUTCFullYear(c),B.getUTCMonth()!==m?u:B.getUTCDate()!==T?u:B.getTime()+w*h},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)!==u};var x=90*d,A=3*f,w=5*p;function M(e,t,n,r,a){if((t||n||r||a)&&(e+=" "+T(t,2)+":"+T(n,2),(r||a)&&(e+=":"+T(r,2),a))){for(var o=4;a%10==0;)o-=1,a/=10;e+="."+T(a,o)}return e}t.ms2DateTime=function(e,t,n){if("number"!=typeof e||!(e>=r&&e<=a))return u;t||(t=0);var o,i,l,c,_,y,b=Math.floor(10*s(e+.05,1)),T=Math.round(e-b/10);if(k(n)){var C=Math.floor(T/d)+v,L=Math.floor(s(e,d));try{o=g.getComponentMethod("calendars","getCal")(n).fromJD(C).formatDate("yyyy-mm-dd")}catch(e){o=m("G%Y-%m-%d")(new Date(T))}if("-"===o.charAt(0))for(;o.length<11;)o="-0"+o.substr(1);else for(;o.length<10;)o="0"+o;i=t=r+d&&e<=a-d))return u;var t=Math.floor(10*s(e+.05,1)),n=new Date(Math.round(e-t/10));return M(o.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(k(r))return l("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 l("unrecognized date",e),n;return e};var C=/%\d?f/g;var L=[59,59.9,59.99,59.999,59.9999];function B(e,t){var n=s(e+.05,d),r=T(Math.floor(n/f),2)+":"+T(s(Math.floor(n/p),60),2);if("M"!==t){i(t)||(t=0);var a=(100+Math.min(s(e/h,60),L[t])).toFixed(t).substr(1);t>0&&(a=a.replace(/0+$/,"").replace(/[\.]$/,"")),r+=":"+a}return r}var S=m("%Y"),W=m("%b %Y"),z=m("%b %-d"),O=m("%b %-d, %Y");function P(e){return e.formatDate("yyyy")}t.formatDate=function(e,t,n,r){var a,o;if(r=k(r)&&r,t)return function(e,t,n){e=e.replace(C,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(k(n))try{e=g.getComponentMethod("calendars","worldCalFmt")(e,t,n)}catch(e){return"Invalid"}return m(e)(r)}(t,e,r);if(r)try{var i=Math.floor((e+.05)/d)+v,l=g.getComponentMethod("calendars","getCal")(r).fromJD(i);"y"===n?o=P(l):"m"===n?o=function(e){return e.formatDate("M yyyy")}(l):"d"===n?(a=P(l),o=function(e){return e.formatDate("M d")}(l)):(a=function(e){return e.formatDate("M d, yyyy")}(l),o=B(e,n))}catch(e){return"Invalid"}else{var s=new Date(Math.floor(e+.05));"y"===n?o=S(s):"m"===n?o=W(s):"d"===n?(a=S(s),o=z(s)):(a=O(s),o=B(e,n))}return o+(a?"\n"+a:"")};var R=3*d;t.incrementMonth=function(e,t,n){n=k(n)&&n;var r=s(e,d);if(e=Math.round(e-r),n)try{var a=Math.round(e/d)+v,o=g.getComponentMethod("calendars","getCal")(n),i=o.fromJD(a);return t%12?o.add(i,t,"m"):o.add(i,t/12,"y"),(i.toJD()-v)*d+r}catch(t){l("invalid ms "+e+" in calendar "+n)}var c=new Date(e+R);return c.setUTCMonth(c.getUTCMonth()+t)+r-R},t.findExactDates=function(e,t){for(var n,r,a=0,o=0,l=0,s=0,c=k(t)&&g.getComponentMethod("calendars","getCal")(t),u=0;ua.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",l.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(i(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&&c.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||!c.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("+"),o=0;o0)}function l(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 c(e,t){return a().length>1?l(t)+"."+e:e}function u(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r1?x({},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?u("require",n,t.options):u("require",n)}b.linkers.length>0&&(u("require","linker"),u("linker:autoLink",b.linkers)),b.debug.sendHitTask||d("sendHitTask",null)}function p(){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})},C=function(){if("undefined"!=typeof document&&"undefined"!=typeof window){var e=(b.wait,b.id),t=b.disabled,n=b.debug,a=b.disableScriptLoader,o=n.enabled?"analytics_debug":"analytics",l="https://www.google-analytics.com/"+o+".js";if(!e)throw new Error('[vue-analytics] Missing the "id" parameter. Add at least one tracking domain ID');!i()||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})}(l).catch(function(){console.error("[vue-analytics] An error occured trying to load "+l+". 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&&M(),f(),w(),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,o=t.shouldRouterUpdate;a&&n.path===r.path||("function"!=typeof o||o(n,r))&&b.$vue.nextTick().then(function(){v(e.currentRoute)})}))}()})}},L=this,B=function(e){u("send","exception",{exDescription:e,exFatal:arguments.length>1&&void 0!==arguments[1]&&arguments[1]})},S=function(e){if(b.autoTracking.exception){window.addEventListener("error",function(e){B(e.message)});var t=e.config.errorHandler;e.config.errorHandler=function(e,n,r){B(e.message),b.autoTracking.exceptionLogs&&(console.error("[vue-analytics] Error in "+r+": "+e.message),console.error(e)),"function"==typeof t&&t.call(L,e,n,r)}}},W=B,z=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};r(E({},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",R),e.prototype.$ga=e.$ga=P,S(e),C()},n.d(t,"onAnalyticsReady",function(){return s}),n.d(t,"analyticsMiddleware",function(){return N});var E=Object.assign||function(e){for(var t=1;to*m)||k)for(n=0;nW&&OB&&(B=O);d/=(B-L)/(2*S),L=s.l2r(L),B=s.l2r(B),s.range=s._input.range=w=e[1]||a[1]<=e[0])&&o[0]t[0])return!0}return!1}(l,s,p)?(f.push(t),p.push([l,s])):c=[0];var u=n.plotgroup.selectAll(".bg").data(c);u.enter().append("rect").classed("bg",!0),u.exit().remove(),u.each(function(){n.bg=u;var e=n.plotgroup.node();e.insertBefore(this,e.childNodes[0])})});var h=o._bgLayer.selectAll(".bg").data(f);h.enter().append("rect").classed("bg",!0),h.exit().remove(),h.each(function(e){o._plots[e].bg=r.select(this)});var v=[];return u.each(function(t){var n=o._plots[t],r=a.Axes.getFromId(e,t,"x"),l=a.Axes.getFromId(e,t,"y");r.setScale(),l.setScale(),n.bg&&o._has("cartesian")&&n.bg.call(c.setRect,r._offset-i.p,l._offset-i.p,r._length+2*i.p,l._length+2*i.p).call(s.fill,o.plot_bgcolor).style("stroke-width",0),n.clipId="clip"+o._uid+t+"plot";var u=o._defs.selectAll("g.clips").selectAll("#"+n.clipId).data([0]);u.enter().append("clipPath").attr({class:"plotclip",id:n.clipId}).append("rect"),u.selectAll("rect").attr({width:r._length,height:l._length}),n.plot.call(c.setTranslate,r._offset,l._offset),n.plot.call(c.setClipUrl,n.clipId);var d=c.crispRound(e,r.linewidth,1),f=c.crispRound(e,l.linewidth,1),p=i.p+f,h="M"+-p+",",g="h"+(r._length+2*p),m="free"===r.anchor&&-1===v.indexOf(r._id),_=i.h*(1-(r.position||0))+d/2%1,y=r.anchor===l._id&&(r.mirror||"top"!==r.side)||"all"===r.mirror||"allticks"===r.mirror||r.mirrors&&r.mirrors[l._id+"bottom"],b=l._length+i.p+d/2,k=r.anchor===l._id&&(r.mirror||"top"===r.side)||"all"===r.mirror||"allticks"===r.mirror||r.mirrors&&r.mirrors[l._id+"top"],T=-i.p-d/2,x=i.p,A=y?0:d,w=k?0:d,M=","+(-x-w)+"v"+(l._length+2*x+w+A),C="free"===l.anchor&&-1===v.indexOf(l._id),L=i.w*(l.position||0)+f/2%1,B=l.anchor===r._id&&(l.mirror||"right"!==l.side)||"all"===l.mirror||"allticks"===l.mirror||l.mirrors&&l.mirrors[r._id+"left"],S=-i.p-f/2,W=l.anchor===r._id&&(l.mirror||"right"===l.side)||"all"===l.mirror||"allticks"===l.mirror||l.mirrors&&l.mirrors[r._id+"right"],z=r._length+i.p+f/2;r._linepositions[t]=[y?b:void 0,k?T:void 0,m?_:void 0],r.anchor===l._id?r._linepositions[t][3]="top"===r.side?T:b:m&&(r._linepositions[t][3]=_),l._linepositions[t]=[B?S:void 0,W?z:void 0,C?L:void 0],l.anchor===r._id?l._linepositions[t][3]="right"===l.side?z:S:C&&(l._linepositions[t][3]=L);var O="translate("+r._offset+","+l._offset+")",P=O,R=O;m&&(P="translate("+r._offset+","+i.t+")",T+=l._offset-i.t,b+=l._offset-i.t),C&&(R="translate("+i.l+","+l._offset+")",S+=r._offset-i.l,z+=r._offset-i.l),o._has("cartesian")&&(n.xlines.attr("transform",P).attr("d",(y?h+b+g:"")+(k?h+T+g:"")+(m?h+_+g:"")||"M0,0").style("stroke-width",d+"px").call(s.stroke,r.showline?r.linecolor:"rgba(0,0,0,0)"),n.ylines.attr("transform",R).attr("d",(B?"M"+S+M:"")+(W?"M"+z+M:"")+(C?"M"+L+M:"")||"M0,0").attr("stroke-width",f+"px").call(s.stroke,l.showline?l.linecolor:"rgba(0,0,0,0)")),n.xaxislayer.attr("transform",P),n.yaxislayer.attr("transform",R),n.gridlayer.attr("transform",O),n.zerolinelayer.attr("transform",O),n.draglayer.attr("transform",O),m&&v.push(r._id),C&&v.push(l._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;u.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&&i.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?(g.x=1.02,g.xanchor="left"):g.x<-2&&(g.x=-.02,g.xanchor="right"),g.y>3?(g.y=1.02,g.yanchor="bottom"):g.y<-2&&(g.y=-.02,g.yanchor="top")),"rotate"===e.dragmode&&(e.dragmode="orbit"),e.scene1&&(e.scene||(e.scene=e.scene1),delete e.scene1);var m=l.getSubplotIds(e,"gl3d");for(t=0;t0)return e.substr(0,t)}t.hasParent=function(e,t){for(var n=h(t);n;){if(n in e)return!0;n=h(n)}return!1}},function(e,t,n){"use strict";var r=n(107),a=n(32),o=n(109),i=n(33),l=n(162).sorterAsc,s=n(4);t.containerArrayMatch=n(167);var c=t.isAddVal=function(e){return"add"===e||a(e)},u=t.isRemoveVal=function(e){return null===e||"remove"===e};t.applyContainerArrayChanges=function(e,t,n,a){var d=t.astr,f=s.getComponentMethod(d,"supplyLayoutDefaults"),p=s.getComponentMethod(d,"draw"),h=s.getComponentMethod(d,"drawOne"),v=a.replot||a.recalc||f===o||p===o,g=e.layout,m=e._fullLayout;if(n[""]){Object.keys(n).length>1&&i.warn("Full array edits are incompatible with other edits",d);var _=n[""][""];if(u(_))t.set(null);else{if(!Array.isArray(_))return i.warn("Unrecognized full array edit value",d,_),!0;t.set(_)}return!v&&(f(g,m),p(e),!0)}var y,b,k,T,x,A,w,M=Object.keys(n).map(Number).sort(l),C=t.get(),L=C||[],B=r(m,d).get(),S=[],W=-1,z=L.length;for(y=0;yL.length-(w?0:1))i.warn("index out of range",d,k);else if(void 0!==A)x.length>1&&i.warn("Insertion & removal are incompatible with edits to the same index.",d,k),u(A)?S.push(k):w?("add"===A&&(A={}),L.splice(k,0,A),B&&B.splice(k,0,{})):i.warn("Unrecognized full object edit value",d,k,A),-1===W&&(W=k);else for(b=0;b=0;y--)L.splice(S[y],1),B&&B.splice(S[y],1);if(L.length?C||t.set(L):t.set(null),v)return!1;if(f(g,m),h!==o){var O;if(-1===W)O=M;else{for(z=Math.max(L.length,z),O=[],y=0;y=W);y++)O.push(k);for(y=W;y=0?Math.min(e,.9):1/(1/Math.max(e,-.3)+3.222))}function C(e){e.selectAll(".select-outline").remove()}function L(e){r.select(e).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}function B(e){return-1!==["lasso","select"].indexOf(e)}function S(e){var t=Math.floor(Math.min(e.b-e.t,e.r-e.l,k)/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,W,z,O,P,R){var D,N,E,I,j,F,$,V,H,G,K,q,U,Y=e._fullLayout,X=e._fullLayout._zoomlayer,J=P+R==="nsew";function Z(){N=[t.xaxis],E=[t.yaxis];var n=N[0],r=E[0];F=n._length,$=r._length;var a=Y._axisConstraintGroups,o=[n._id],i=[r._id];D=[t].concat(P&&R?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")}(X,re,I,j,ae="M0,0H"+F+"V"+$+"H0V0"),se=function(e,t,n){return e.append("path").attr("class","zoombox-corners").style({fill:c.background,stroke:c.defaultLine,"stroke-width":1,opacity:0}).attr("transform","translate("+t+", "+n+")").attr("d","M0,0Z")}(X,I,j),C(X)}(0,n,r)):"pan"===o?(ce.moveFn=ye,ce.doneFn=pe,C(X)):B(o)&&(ce.xaxes=N,ce.yaxes=E,m(t,n,r,ce,o))}};f.init(ce);var ue={};function de(t,n){if(e._transitioningWithDuration)return!1;var r=Math.max(0,Math.min(F,t+ee)),a=Math.max(0,Math.min($,n+te)),o=Math.abs(r-ee),i=Math.abs(a-te);function l(){ie="",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),K?o>k||i>k?(ie="xy",o/F>i/$?(i=o*$/F,te>a?ne.t=te-i:ne.b=te+i):(o=i*F/$,ee>r?ne.l=ee-o:ne.r=ee+o),se.attr("d",S(ne))):l():!H||i.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),t.transition().style("opacity",1).duration(200))}(le,se,ne,ae,oe,re),oe=!0}function fe(t,n){if(Math.min(ne.h,ne.w)<2*b)return 2===n&&ke(),L(e);"xy"!==ie&&"x"!==ie||A(N,ne.l/F,ne.r/F,ue,q),"xy"!==ie&&"y"!==ie||A(E,($-ne.b)/$,($-ne.t)/$,ue,U),L(e),Te(ie),T&&e.data&&e._context.showTips&&(l.notifier("Double-click to
zoom back out","long"),T=!1)}function pe(t,n){var a=1===(P+R).length;if(t)Te();else if(2!==n||a){if(1===n&&a){var i=P?E[0]:N[0],l="s"===P||"w"===R?0:1,c=i._name+".range["+l+"]",u=function(e,t){var n,a=e.range[t],o=Math.abs(a-e.range[1-t]);return"date"===e.type?a:"log"===e.type?(n=Math.ceil(Math.max(0,-Math.log(o)/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(o)/Math.LN10)+4,r.format("."+String(n)+"g")(a))}(i,l),d="left",f="middle";if(i.fixedrange)return;P?(f="n"===P?"top":"bottom","right"===i.side&&(d="right")):"e"===R&&(d="right"),e._context.showAxisRangeEntryBoxes&&r.select(Q).call(s.makeEditable,{gd:e,immediate:!0,background:Y.paper_bgcolor,text:String(u),fill:i.tickfont?i.tickfont.color:"#444",horizontalAlign:d,verticalAlign:f}).on("edit",function(t){var n=i.d2r(t);void 0!==n&&o.relayout(e,c,n)})}}else ke()}var he=[0,0,F,$],ve=null,ge=y.REDRAWDELAY,me=t.mainplot?Y._plots[t.mainplot]:t;function _e(t){if(e._context.scrollZoom||Y._enablescrollzoom){if(e._transitioningWithDuration)return l.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,o=Math.exp(-Math.min(Math.max(r,-20),20)/100),i=me.draglayer.select(".nsewdrag").node().getBoundingClientRect(),s=(t.clientX-i.left)/i.width,c=(i.bottom-t.clientY)/i.height;if(R||K){for(R||(s=.5),a=0;a4/3-l?i:l}},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=i.Axis()),o=i.adapter.plotly().convert(t),a.config(o).render(u),e.data=t.data,e.layout=t.layout,c.fillLayout(e),t}return f.isPolar=!0,f.svg=function(){return a.svg()},f.getConfig=function(){return t},f.getLiveConfig=function(){return i.adapter.plotly().convert(a.getLiveConfig(),!0)},f.getLiveScales=function(){return{t:a.angularScale(),r:a.radialScale()}},f.setUndoPoint=function(){var e,r,a=this,o=i.util.cloneJson(t);e=o,r=n,d.add({undo:function(){r&&a(r)},redo:function(){a(e)}}),n=i.util.cloneJson(o)},f.undo=function(){d.undo()},f.redo=function(){d.redo()},f},c.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(),i={width:800,height:600,paper_bgcolor:o.background,_container:t,_paperdiv:n,_paper:a};e._fullLayout=s(i,e.layout)}},function(e,t,n){"use strict";(e.exports=n(144)).manager=n(268)},function(e,t,n){"use strict";var r=n(1),a=n(2),o=n(8),i=n(0),l=n(88),s=n(145),c=n(4),u=n(9),d=n(269),f=n(143),p=n(7),h=n(30),v=n(31),g=n(14),m=n(255),_=n(254),y=n(252),b=n(15),k=n(251),T=k.enforce,x=k.clean,A=n(18);function w(e,t){e._fullLayout._paperdiv.style("background","white"),o.defaultConfig.setBackground(e,t)}function M(e,t){var n,r,a=t+1,o=[];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 L(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]),C(e,t,"currentIndices"),void 0===n||Array.isArray(n)||(n=[n]),void 0!==n&&C(e,n,"newIndices"),void 0!==n&&t.length!==n.length)throw new Error("current and new indices must be of equal length.")}function B(e,t,n,r,o,l){!function(e,t,n,r){var a=i.isPlainObject(r);if(!Array.isArray(e.data))throw new Error("gd.data must be an array");if(!i.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 o in C(e,n,"indices"),t){if(!Array.isArray(t[o])||t[o].length!==n.length)throw new Error("attribute "+o+" must be an array of length equal to indices array length");if(a&&(!(o in r)||!Array.isArray(r[o])||r[o].length!==t[o].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,c,u,d=function(e,t,n,r){var o,l,s,c,u,d=i.isPlainObject(r),f=[];for(var p in Array.isArray(n)||(n=[n]),n=M(n,e.data.length-1),t)for(var h=0;h=0&&u$.range[0]?[1,2]:[2,1]);else{var G=$.range[0],K=$.range[1];V?(G<=0&&K<=0&&x(N+".autorange",!0),G<=0?G=K/1e6:K<=0&&(K=G/1e6),x(N+".range[0]",Math.log(G)/Math.LN10),x(N+".range[1]",Math.log(K)/Math.LN10)):(x(N+".range[0]",Math.pow(10,G)),x(N+".range[1]",Math.pow(10,K)))}else x(N+".autorange",!0);c.getComponentMethod("annotations","convertCoords")(e,I,W,x),c.getComponentMethod("images","convertCoords")(e,I,W,x)}else x(N+".autorange",!0);i.nestedProperty(s,N+"._inputRange").set(null)}else if(R.match(b.AX_NAME_PATTERN)){var q=i.nestedProperty(s,B).get(),U=(W||{}).type;U&&"-"!==U||(U="linear"),c.getComponentMethod("annotations","convertCoords")(e,q,U,x),c.getComponentMethod("images","convertCoords")(e,q,U,x)}var Y=m.containerArrayMatch(B);if(Y){n=Y.array,r=Y.index;var X=Y.property,J=(i.nestedProperty(l,n)||[])[r]||{};if(""===r)-1===B.indexOf("updatemenus")&&(y.docalc=!0);else if(""===X){var Z=W;m.isAddVal(W)?T[B]=null:m.isRemoveVal(W)?(T[B]=J,Z=J):i.warn("unrecognized full object value",t),(w(Z,"x")||w(Z,"y")&&-1===B.indexOf("updatemenus"))&&(y.docalc=!0)}else!w(J,"x")&&!w(J,"y")||i.containsAny(B,["color","opacity","align","dash","updatemenus"])||(y.docalc=!0);p[n]||(p[n]={});var Q=p[n][r];Q||(Q=p[n][r]={}),Q[X]=W,delete t[B]}else if("reverse"===R)E.range?E.range.reverse():(x(N+".autorange",!0),E.range=[1,0]),I.autorange?y.docalc=!0:y.doplot=!0;else{var ee=String(S.parts[1]||"");0===P.indexOf("scene")?"camera"===S.parts[1]?y.docamera=!0:y.doplot=!0:0===P.indexOf("geo")?y.doplot=!0:0===P.indexOf("ternary")?y.doplot=!0:"paper_bgcolor"===B?y.doplot=!0:"margin"===P||"autorange"===ee||"rangemode"===ee||"type"===ee||"domain"===ee||"fixedrange"===ee||"scaleanchor"===ee||"scaleratio"===ee||-1!==B.indexOf("calendar")||B.match(/^(bar|box|font)/)?y.docalc=!0:!s._has("gl2d")||-1===B.indexOf("axis")&&"plot_bgcolor"!==B?!s._has("gl2d")||"dragmode"!==B||"lasso"!==W&&"select"!==W||"lasso"===j||"select"===j?"hiddenlabels"===B?y.docalc=!0:-1!==P.indexOf("legend")?y.dolegend=!0:-1!==B.indexOf("title")?y.doticks=!0:-1!==P.indexOf("bgcolor")?y.dolayoutstyle=!0:z>1&&i.containsAny(ee,["tick","exponent","grid","zeroline"])?y.doticks=!0:-1!==B.indexOf(".linewidth")&&-1!==B.indexOf("axis")?y.doticks=y.dolayoutstyle=!0:z>1&&-1!==ee.indexOf("line")?y.dolayoutstyle=!0:z>1&&"mirror"===ee?y.doticks=y.dolayoutstyle=!0:"margin.pad"===B?y.doticks=y.dolayoutstyle=!0:-1!==["hovermode","dragmode"].indexOf(B)||-1!==B.indexOf("spike")?y.domodebar=!0:-1===["height","width","autosize"].indexOf(B)&&(y.doplot=!0):y.docalc=!0:y.doplot=!0,S.set(W)}}}for(n in p){m.applyContainerArrayChanges(e,i.nestedProperty(l,n),p[n],y)||(y.doplot=!0)}var te=s._axisConstraintGroups;for(M in C)for(r=0;r=a.length?a[0]:a[e]:a}function s(e){return Array.isArray(o)?e>=o.length?o[0]:o[e]:o}function c(e,t){var n=0;return function(){if(e&&++n===t)return e()}}return void 0===r._frameWaitingCnt&&(r._frameWaitingCnt=0),new Promise(function(o,d){function f(){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,u.transition(e,t.frame.data,t.frame.layout,_.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 p(){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&&f()};t()}var h,v,g=0;function m(e){return Array.isArray(a)?g>=a.length?e.transitionOpts=a[g]:e.transitionOpts=a[0]:e.transitionOpts=a,g++,e}var y=[],b=void 0===t||null===t,k=Array.isArray(t);if(!b&&!k&&i.isPlainObject(t))y.push({type:"object",data:m(i.extendFlat({},t))});else if(b||-1!==["string","number"].indexOf(typeof t))for(h=0;h0&&AA)&&w.push(v);y=w}}y.length>0?function(t){if(0!==t.length){for(var a=0;a=0;r--)if(i.isPlainObject(t[r])){var v=(f[t[r].name]||{}).name,g=t[r].name;v&&g&&"number"==typeof g&&f[v]&&(c++,i.warn('addFrames: overwriting frame "'+f[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.'),c>5&&i.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.")),h.push({frame:u.supplyFrameDefaults(t[r]),index:n&&void 0!==n[r]&&null!==n[r]?n[r]:p+r})}h.sort(function(e,t){return e.index>t.index?-1:e.index=0;r--){if("number"==typeof(a=h[r].frame).name&&i.warn("Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings"),!a.name)for(;f[a.name="frame "+e._transitionData._counter++];);if(f[a.name]){for(o=0;o=0;n--)r=t[n],o.push({type:"delete",index:r}),l.unshift({type:"insert",index:r,value:a[r]});var c=u.modifyFrames,d=u.modifyFrames,f=[e,l],p=[e,o];return s&&s.add(e,c,f,d,p),u.modifyFrames(e,o)},o.purge=function(e){var t=(e=_.getGraphDiv(e))._fullLayout||{},n=e._fullData||[];return u.cleanPlot([],{},n,t),u.purge(e),l.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(o,i){"undefined"!=typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent)&&i(new Error("IE < 10 unsupported")),a&&(document.location.href="data:application/octet-stream"+e.slice(e.search(/[,;]/)),o(t)),t||(t="download"),r&&(n.href=e,n.download=t,document.body.appendChild(n),n.click(),document.body.removeChild(n),o(t)),"undefined"!=typeof navigator&&navigator.msSaveBlob&&(navigator.msSaveBlob(new Blob([e]),t),o(t)),i(new Error("download error"))})}},function(e,t,n){"use strict";var r=n(8),a=n(9),o=n(6),i=n(0),l=n(94),s=n(95),c=e.exports={};function u(e,t){var n,a,i=t.currentTarget,l=i.getAttribute("data-attr"),s=i.getAttribute("data-val")||!0,c=e._fullLayout,u={},d=o.list(e,null,!0),f="on";if("zoom"===l){var p,h="in"===s?.5:2,v=(1+h)/2,g=(1-h)/2;for(a=0;a1)return g(["resetViews","toggleHover"]),l(v,n);u&&(g(["zoom3d","pan3d","orbitRotation","tableRotation"]),g(["resetCameraDefault3d","resetCameraLastSave3d"]),g(["hoverClosest3d"]));d&&(g(["zoomInGeo","zoomOutGeo","resetGeo"]),g(["hoverClosestGeo"]));var m=function(e){for(var t=r.list({_fullLayout:e},null,!0),n=!0,a=0;a0?".":"")+o;a.isPlainObject(i)?s(i,t,l,r+1):t(l,o,i)}})}t.manageCommandObserver=function(e,n,r,i){var l={},s=!0;n&&n._commandObserver&&(l=n._commandObserver),l.cache||(l.cache={}),l.lookupTable={};var c=t.hasSimpleAPICommandBindings(e,r,l.lookupTable);if(n&&n._commandObserver){if(c)return l;if(n._commandObserver.remove)return n._commandObserver.remove(),n._commandObserver=null,l}if(c){o(e,c,l.cache),l.check=function(){if(s){var t=o(e,c,l.cache);return t.changed&&i&&void 0!==l.lookupTable[t.value]&&(l.disable(),Promise.resolve(i({value:t.value,type:c.type,prop:c.prop,traces:c.traces,index:l.lookupTable[t.value]})).then(l.enable,l.enable)),t.changed}};for(var u=["plotly_relayout","plotly_redraw","plotly_restyle","plotly_update","plotly_animatingframe","plotly_afterplot"],d=0;d0;e.each(function(e){var t,c=e[0].trace,u=c.error_x||{},d=c.error_y||{};c.ids&&(t=function(e){return e.id});var f=o.hasMarkers(c)&&c.marker.maxdisplayed>0;if(d.visible||u.visible){var p=r.select(this).selectAll("g.errorbar").data(e,t);p.exit().remove(),p.style("opacity",1);var h=p.enter().append("g").classed("errorbar",!0);s&&h.style("opacity",0).transition().duration(n.duration).style("opacity",1),p.each(function(e){var t=r.select(this),o=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,i,l);if(!f||e.vis){var c;if(d.visible&&a(o.x)&&a(o.yh)&&a(o.ys)){var p=d.width;c="M"+(o.x-p)+","+o.yh+"h"+2*p+"m-"+p+",0V"+o.ys,o.noYS||(c+="m-"+p+",0h"+2*p);var h=t.select("path.yerror");!h.size()?h=t.append("path").classed("yerror",!0):s&&(h=h.transition().duration(n.duration).ease(n.easing)),h.attr("d",c)}if(u.visible&&a(o.y)&&a(o.xh)&&a(o.xs)){var v=(u.copy_ystyle?d:u).width;c="M"+o.xh+","+(o.y-v)+"v"+2*v+"m0,-"+v+"H"+o.xs,o.noXS||(c+="m0,-"+v+"v"+2*v);var g=t.select("path.xerror");!g.size()?g=t.append("path").classed("xerror",!0):s&&(g=g.transition().duration(n.duration).ease(n.easing)),g.attr("d",c)}}})}})}},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,o=e.arrayminus;return n||void 0===o?function(e,t){var n=+a[t];return[n,n]}:function(e,t){return[+o[t],+a[t]]}}var i=r(t,e.value),l=r(t,e.valueminus);return n||void 0===e.valueminus?function(e){var t=i(e);return[t,t]}:function(e){return[l(e),i(e)]}}},function(e,t,n){"use strict";var r=n(0),a=n(18).id2name;e.exports=function(e,t,n,o,i){var l=i._axisConstraintGroups,s=t._id,c=s.charAt(0);if(!t.fixedrange&&(n("constrain"),r.coerce(e,t,{constraintoward:{valType:"enumerated",values:"x"===c?["left","center","right"]:["bottom","middle","top"],dflt:"x"===c?"center":"middle"}},"constraintoward"),e.scaleanchor)){var u=function(e,t,n,r){var o,i,l,s,c=r[a(t)].type,u=[];for(i=0;i0;o&&(r="array");var i=n("categoryorder",r);"array"===i&&n("categoryarray"),o||"array"!==i||(t.categoryorder="trace")}}},function(e,t,n){"use strict";var r=n(4),a=n(151),o=n(18).name2id;function i(e){return{v:"x",h:"y"}[e.orientation||"v"]}function l(e,t){var n=i(e),a=r.traceIs(e,"box"),o=r.traceIs(e._fullInput||{},"candlestick");return a&&!o&&t===n&&void 0===e[n]&&void 0===e[n+"0"]}e.exports=function(e,t,n,s,c){c&&(t._name=c,t._id=o(c)),"-"===n("type")&&(!function(e,t){if("-"!==e.type)return;var n=e._id,o=n.charAt(0);-1!==n.indexOf("scene")&&(n=o);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(21),o=n(2),i=n(3);function l(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,c=s.length,u=new Array(c),d=0;d/g),i=0;ie.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,o=n(1),i=n(2),l=n(33).error,s=n(166),c=n(16),u=c.BADNUM,d=c.ONEDAY,f=c.ONEHOUR,p=c.ONEMIN,h=c.ONESEC,v=c.EPOCHJD,g=n(4),m=o.time.format.utc,_=/^\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,y=/^\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 k(e){return e&&g.componentsRegistry.calendars&&"string"==typeof e&&"gregorian"!==e}function T(e,t){return String(e+Math.pow(10,t)).substr(1)}t.dateTick0=function(e,t){return k(e)?t?g.getComponentMethod("calendars","CANONICAL_SUNDAY")[e]:g.getComponentMethod("calendars","CANONICAL_TICK")[e]:t?"2000-01-02":"2000-01-01"},t.dfltRange=function(e){return k(e)?g.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()*p)>=r&&e<=a?e:u;if("string"!=typeof e&&"number"!=typeof e)return u;e=String(e);var o=k(n),i=e.charAt(0);!o||"G"!==i&&"g"!==i||(e=e.substr(1),n="");var l=o&&"chinese"===n.substr(0,7),s=e.match(l?y:_);if(!s)return u;var c=s[1],m=s[3]||"1",T=Number(s[5]||1),x=Number(s[7]||0),A=Number(s[9]||0),w=Number(s[11]||0);if(o){if(2===c.length)return u;var M;c=Number(c);try{var C=g.getComponentMethod("calendars","getCal")(n);if(l){var L="i"===m.charAt(m.length-1);m=parseInt(m,10),M=C.newDate(c,C.toMonthIndex(c,m,L),T)}else M=C.newDate(c,Number(m),T)}catch(e){return u}return M?(M.toJD()-v)*d+x*f+A*p+w*h:u}c=2===c.length?(Number(c)+2e3-b)%100+b:Number(c),m-=1;var B=new Date(Date.UTC(2e3,m,T,x,A));return B.setUTCFullYear(c),B.getUTCMonth()!==m?u:B.getUTCDate()!==T?u:B.getTime()+w*h},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)!==u};var x=90*d,A=3*f,w=5*p;function M(e,t,n,r,a){if((t||n||r||a)&&(e+=" "+T(t,2)+":"+T(n,2),(r||a)&&(e+=":"+T(r,2),a))){for(var o=4;a%10==0;)o-=1,a/=10;e+="."+T(a,o)}return e}t.ms2DateTime=function(e,t,n){if("number"!=typeof e||!(e>=r&&e<=a))return u;t||(t=0);var o,i,l,c,_,y,b=Math.floor(10*s(e+.05,1)),T=Math.round(e-b/10);if(k(n)){var C=Math.floor(T/d)+v,L=Math.floor(s(e,d));try{o=g.getComponentMethod("calendars","getCal")(n).fromJD(C).formatDate("yyyy-mm-dd")}catch(e){o=m("G%Y-%m-%d")(new Date(T))}if("-"===o.charAt(0))for(;o.length<11;)o="-0"+o.substr(1);else for(;o.length<10;)o="0"+o;i=t=r+d&&e<=a-d))return u;var t=Math.floor(10*s(e+.05,1)),n=new Date(Math.round(e-t/10));return M(o.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(k(r))return l("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 l("unrecognized date",e),n;return e};var C=/%\d?f/g;var L=[59,59.9,59.99,59.999,59.9999];function B(e,t){var n=s(e+.05,d),r=T(Math.floor(n/f),2)+":"+T(s(Math.floor(n/p),60),2);if("M"!==t){i(t)||(t=0);var a=(100+Math.min(s(e/h,60),L[t])).toFixed(t).substr(1);t>0&&(a=a.replace(/0+$/,"").replace(/[\.]$/,"")),r+=":"+a}return r}var S=m("%Y"),W=m("%b %Y"),z=m("%b %-d"),O=m("%b %-d, %Y");function P(e){return e.formatDate("yyyy")}t.formatDate=function(e,t,n,r){var a,o;if(r=k(r)&&r,t)return function(e,t,n){e=e.replace(C,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(k(n))try{e=g.getComponentMethod("calendars","worldCalFmt")(e,t,n)}catch(e){return"Invalid"}return m(e)(r)}(t,e,r);if(r)try{var i=Math.floor((e+.05)/d)+v,l=g.getComponentMethod("calendars","getCal")(r).fromJD(i);"y"===n?o=P(l):"m"===n?o=function(e){return e.formatDate("M yyyy")}(l):"d"===n?(a=P(l),o=function(e){return e.formatDate("M d")}(l)):(a=function(e){return e.formatDate("M d, yyyy")}(l),o=B(e,n))}catch(e){return"Invalid"}else{var s=new Date(Math.floor(e+.05));"y"===n?o=S(s):"m"===n?o=W(s):"d"===n?(a=S(s),o=z(s)):(a=O(s),o=B(e,n))}return o+(a?"\n"+a:"")};var R=3*d;t.incrementMonth=function(e,t,n){n=k(n)&&n;var r=s(e,d);if(e=Math.round(e-r),n)try{var a=Math.round(e/d)+v,o=g.getComponentMethod("calendars","getCal")(n),i=o.fromJD(a);return t%12?o.add(i,t,"m"):o.add(i,t/12,"y"),(i.toJD()-v)*d+r}catch(t){l("invalid ms "+e+" in calendar "+n)}var c=new Date(e+R);return c.setUTCMonth(c.getUTCMonth()+t)+r-R},t.findExactDates=function(e,t){for(var n,r,a=0,o=0,l=0,s=0,c=k(t)&&g.getComponentMethod("calendars","getCal")(t),u=0;ua.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",l.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(i(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&&c.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||!c.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("+"),o=0;o0)}function l(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 c(e,t){return a().length>1?l(t)+"."+e:e}function u(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r1?x({},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?u("require",n,t.options):u("require",n)}b.linkers.length>0&&(u("require","linker"),u("linker:autoLink",b.linkers)),b.debug.sendHitTask||d("sendHitTask",null)}function p(){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})},C=function(){if("undefined"!=typeof document&&"undefined"!=typeof window){var e=(b.wait,b.id),t=b.disabled,n=b.debug,a=b.disableScriptLoader,o=n.enabled?"analytics_debug":"analytics",l="https://www.google-analytics.com/"+o+".js";if(!e)throw new Error('[vue-analytics] Missing the "id" parameter. Add at least one tracking domain ID');!i()||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})}(l).catch(function(){console.error("[vue-analytics] An error occured trying to load "+l+". 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&&M(),f(),w(),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,o=t.shouldRouterUpdate;a&&n.path===r.path||("function"!=typeof o||o(n,r))&&b.$vue.nextTick().then(function(){v(e.currentRoute)})}))}()})}},L=this,B=function(e){u("send","exception",{exDescription:e,exFatal:arguments.length>1&&void 0!==arguments[1]&&arguments[1]})},S=function(e){if(b.autoTracking.exception){window.addEventListener("error",function(e){B(e.message)});var t=e.config.errorHandler;e.config.errorHandler=function(e,n,r){B(e.message),b.autoTracking.exceptionLogs&&(console.error("[vue-analytics] Error in "+r+": "+e.message),console.error(e)),"function"==typeof t&&t.call(L,e,n,r)}}},W=B,z=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};r(E({},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",R),e.prototype.$ga=e.$ga=P,S(e),C()},n.d(t,"onAnalyticsReady",function(){return s}),n.d(t,"analyticsMiddleware",function(){return N});var E=Object.assign||function(e){for(var t=1;t=0&&Math.floor(t)===t&&isFinite(e)}function u(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 f(e,t){for(var n=Object.create(null),r=e.split(","),a=0;a-1)return e.splice(n,1)}}function h(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 g(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 m(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function _(e,t){for(var n in t)e[n]=t[n];return e}function y(e){for(var t={},n=0;n0&&(ee((s=e(s,(n||"")+"_"+l))[0])&&ee(u)&&(d[c]=C(u.text+s[0].text),s.shift()),d.push.apply(d,s)):i(s)?ee(u)?d[c]=C(u.text+s):""!==s&&d.push(C(s)):ee(s)&&ee(u)?d[c]=C(u.text+s.text):(o(t._isVList)&&a(s.tag)&&r(s.key)&&a(n)&&(s.key="__vlist"+n+"_"+l+"__"),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||wn&&"Module"===e[Symbol.toStringTag])&&(e=e.default),l(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 Fe(e){this._init(e)}function $e(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 o=e.name||n.options.name,i=function(e){this._init(e)};return(i.prototype=Object.create(n.prototype)).constructor=i,i.cid=t++,i.options=E(n.options,e),i.super=n,i.options.props&&function(e){var t=e.options.props;for(var n in t)he(e.prototype,"_props",n)}(i),i.options.computed&&function(e){var t=e.options.computed;for(var n in t)ge(e.prototype,n,t[n])}(i),i.extend=n.extend,i.mixin=n.mixin,i.use=n.use,rn.forEach(function(e){i[e]=n[e]}),o&&(i.options.components[o]=i),i.superOptions=n.options,i.extendOptions=e,i.sealedOptions=_({},i.options),a[r]=i,i}}function Ve(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]"===Kt.call(e)}(e)&&e.test(t)}function Ge(e,t){var n=e.cache,r=e.keys,a=e._vnode;for(var o in n){var i=n[o];if(i){var l=Ve(i.componentOptions);l&&!t(l)&&Ke(n,o,r,a)}}}function Ke(e,t,n,r){var a=e[t];!a||r&&a.tag===r.tag||a.componentInstance.$destroy(),e[t]=null,p(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,Xe(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 Xe(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,o=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 mt(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 _t(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&_(t,Zr(e.name||"v")),_(t,e),t}return"string"==typeof e?Zr(e):void 0}}function yt(e){ia(function(){ia(e)})}function bt(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),gt(e,t))}function kt(e,t){e._transitionClasses&&p(e._transitionClasses,t),mt(e,t)}function Tt(e,t,n){var r=xt(e,t),a=r.type,o=r.timeout,i=r.propCount;if(!a)return n();var l=a===ea?ra:oa,s=0,c=function(){e.removeEventListener(l,u),n()},u=function(t){t.target===e&&++s>=i&&c()};setTimeout(function(){s0&&(n=ea,u=i,d=o.length):t===ta?c>0&&(n=ta,u=c,d=s.length):(u=Math.max(i,c),d=(n=u>0?i>c?ea:ta:null)?n===ea?o.length:s.length:0),{type:n,timeout:u,propCount:d,hasTransform:n===ea&&la.test(r[na+"Property"])}}function At(e,t){for(;e.length1}function St(e,t){!0!==t.data.show&&Mt(t)}function Wt(e,t,n){zt(e,t),(pn||vn)&&setTimeout(function(){zt(e,t)},0)}function zt(e,t,n){var r=t.value,a=e.multiple;if(!a||Array.isArray(r)){for(var o,i,l=0,s=e.options.length;l-1,i.selected!==o&&(i.selected=o);else if(k(Pt(i),r))return void(e.selectedIndex!==l&&(e.selectedIndex=l));a||(e.selectedIndex=-1)}}function Ot(e,t){return t.every(function(t){return!k(t,e)})}function Pt(e){return"_value"in e?e._value:e.value}function Rt(e){e.target.composing=!0}function Dt(e){e.target.composing&&(e.target.composing=!1,Nt(e.target,"input"))}function Nt(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Et(e){return!e.componentInstance||e.data&&e.data.transition?e:Et(e.componentInstance._vnode)}function It(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?It(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 o in a)t[Xt(o)]=a[o];return t}function Ft(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function $t(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Vt(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 o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+a+"px)",o.transitionDuration="0s"}}var Gt=Object.freeze({}),Kt=Object.prototype.toString,qt=(f("slot,component",!0),f("key,ref,slot,slot-scope,is")),Ut=Object.prototype.hasOwnProperty,Yt=/-(\w)/g,Xt=v(function(e){return e.replace(Yt,function(e,t){return t?t.toUpperCase():""})}),Jt=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"],on={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},ln=/[^\w.$]/,sn="__proto__"in{},cn="undefined"!=typeof window,un="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,dn=un&&WXEnvironment.platform.toLowerCase(),fn=cn&&window.navigator.userAgent.toLowerCase(),pn=fn&&/msie|trident/.test(fn),hn=fn&&fn.indexOf("msie 9.0")>0,vn=fn&&fn.indexOf("edge/")>0,gn=fn&&fn.indexOf("android")>0||"android"===dn,mn=fn&&/iphone|ipad|ipod|ios/.test(fn)||"ios"===dn,_n=(fn&&/chrome\/\d+/.test(fn),{}.watch),yn=!1;if(cn)try{var bn={};Object.defineProperty(bn,"passive",{get:function(){yn=!0}}),window.addEventListener("test-passive",null,bn)}catch(e){}var kn,Tn,xn=function(){return void 0===kn&&(kn=!cn&&void 0!==e&&"server"===e.process.env.VUE_ENV),kn},An=cn&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,wn="undefined"!=typeof Symbol&&M(Symbol)&&"undefined"!=typeof Reflect&&M(Reflect.ownKeys);Tn="undefined"!=typeof Set&&M(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 Mn=b,Cn=0,Ln=function(){this.id=Cn++,this.subs=[]};Ln.prototype.addSub=function(e){this.subs.push(e)},Ln.prototype.removeSub=function(e){p(this.subs,e)},Ln.prototype.depend=function(){Ln.target&&Ln.target.addDep(this)},Ln.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(pe))}}(this)},or.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||l(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){V(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},or.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},or.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},or.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||p(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var ir={enumerable:!0,configurable:!0,get:b,set:b},lr={lazy:!0};Se(We.prototype);var sr={init:function(e,t,n,r){if(!e.componentInstance||e.componentInstance._isDestroyed)(e.componentInstance=Pe(e,Jn,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 o=!!(a||e.$options._renderChildren||r.data.scopedSlots||e.$scopedSlots!==Gt);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||Gt,e.$listeners=n||Gt,t&&e.$options.props){Dn.shouldConvert=!1;for(var i=e._props,l=e.$options._propKeys||[],s=0;s1?m(n):n;for(var r=m(arguments,1),a=0,o=n.length;aparseInt(this.max)&&Ke(i,l[0],l,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}},vr={KeepAlive:hr};(function(e){var t={get:function(){return on}};Object.defineProperty(e,"config",t),e.util={warn:Mn,extend:_,mergeOptions:E,defineReactive:W},e.set=z,e.delete=O,e.nextTick=q,e.options=Object.create(null),rn.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,_(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=m(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=E(this.options,e),this}}(e),$e(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)})(Fe),Object.defineProperty(Fe.prototype,"$isServer",{get:xn}),Object.defineProperty(Fe.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Fe.version="2.5.13";var gr,mr,_r=f("style,class"),yr=f("input,textarea,option,select,progress"),br=f("contenteditable,draggable,spellcheck"),kr=f("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"),Tr="http://www.w3.org/1999/xlink",xr=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Ar=function(e){return xr(e)?e.slice(6,e.length):""},wr=function(e){return null==e||!1===e},Mr={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Cr=f("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"),Lr=f("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),Br=function(e){return Cr(e)||Lr(e)},Sr=Object.create(null),Wr=f("text,number,password,search,email,tel,url"),zr=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(Mr[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)}}),Or={create:function(e,t){Je(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Je(e,!0),Je(t))},destroy:function(e){Je(e,!0)}},Pr=new Sn("",{},[]),Rr=["create","activate","update","remove","destroy"],Dr={create:et,update:et,destroy:function(e){et(e,Pr)}},Nr=Object.create(null),Er=[Or,Dr],Ir={create:at,update:at},jr={create:it,update:it},Fr="__r",$r="__c",Vr={create:ut,update:ut},Hr={create:dt,update:dt},Gr=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}),Kr=/^--/,qr=/\s*!important$/,Ur=function(e,t,n){if(Kr.test(t))e.style.setProperty(t,n);else if(qr.test(n))e.style.setProperty(t,n.replace(qr,""),"important");else{var r=Xr(t);if(Array.isArray(n))for(var a=0,o=n.length;ah?(d=r(o[y+1])?null:o[y+1].elm,v(e,d,o,p,y,i)):p>y&&m(0,t,f,h)}function b(e,t,n,r){for(var o=n;o-1?Sr[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Sr[e]=/HTMLUnknownElement/.test(t.toString())},_(Fe.options.directives,ha),_(Fe.options.components,ya),Fe.prototype.__patch__=cn?da:b,Fe.prototype.$mount=function(e,t){return function(e,t,n){return e.$el=t,e.$options.render||(e.$options.render=zn),fe(e,"beforeMount"),new or(e,function(){e._update(e._render(),n)},b,null,!0),n=!1,null==e.$vnode&&(e._isMounted=!0,fe(e,"mounted")),e}(this,e=e&&cn?function(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}(e):void 0,t)},Fe.nextTick(function(){on.devtools&&An&&An.emit("init",Fe)},0),t.a=Fe}).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),o=n(177),i=n.n(o);n.d(t,"a",function(){return a.a}),n.d(t,"b",function(){return i.a})},function(e,t,n){"use strict";var r=n(178),a=n.n(r),o=n(65);n.n(o),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),o=n(4)("toStringTag");e.exports=function(e,t,n){e&&!a(e=n?e:e.prototype,o)&&r(e,o,{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),o=n(33),i=n(42),l=n(9).f;e.exports=function(e){var t=a.Symbol||(a.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||l(t,e,{value:i.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),o=n(170),i=n.n(o);n.d(t,"a",function(){return a.a}),n.d(t,"b",function(){return i.a})},function(e,t,n){"use strict";var r=n(13),a=n.n(r),o=n(22),i=n(183),l=n.n(i);n.d(t,"a",function(){return l.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 i=a()(r,e);return new(o.a.extend(l.a))({parent:n,el:document.createElement("div"),propsData:i})}}},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),o=n(2);t.a={components:a()({},o.a.name,o.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),o=r(a),i=n(3),l=r(i),s="function"==typeof l.default&&"symbol"==typeof o.default?function(e){return typeof e}:function(e){return e&&"function"==typeof l.default&&e.constructor===l.default&&e!==l.default.prototype?"symbol":typeof e};t.default="function"==typeof l.default&&"symbol"===s(o.default)?function(e){return void 0===e?"undefined":s(e)}:function(e){return e&&"function"==typeof l.default&&e.constructor===l.default&&e!==l.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,o=r(a)&&r(a.createElement);e.exports=function(e){return o?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),o=n(61),i=n(15),l=n(12),s=n(20),c=n(145),u=n(35),d=n(153),f=n(4)("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,v,g,m,_){c(n,t,v);var y,b,k,T=function(e){if(!p&&e in M)return M[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},x=t+" Iterator",A="values"==g,w=!1,M=e.prototype,C=M[f]||M["@@iterator"]||g&&M[g],L=!p&&C||T(g),B=g?A?T("entries"):L:void 0,S="Array"==t&&M.entries||C;if(S&&(k=d(S.call(new e)))!==Object.prototype&&k.next&&(u(k,x,!0),r||l(k,f)||i(k,f,h)),A&&C&&"values"!==C.name&&(w=!0,L=function(){return C.call(this)}),r&&!_||!p&&!w&&M[f]||i(M,f,L),s[t]=L,s[x]=h,g)if(y={values:A?L:T("values"),keys:m?L:T("keys"),entries:B},_)for(b in y)b in M||o(M,b,y[b]);else a(a.P+a.F*(p||w),t,y);return y}},function(e,t,n){var r=n(14),a=n(150),o=n(32),i=n(36)("IE_PROTO"),l=function(){},s=function(){var e,t=n(54)("iframe"),r=o.length;for(t.style.display="none",n(141).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("