OXIESEC PANEL
- Current Dir:
/
/
home
/
cubot
/
docroot
/
dist
/
static
/
js
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
๐
..
-
08/14/2022 11:12:13 AM
rwxr-xr-x
๐
20.001765676a244701b2db.js
1.56 MB
08/14/2022 11:12:10 AM
rw-r--r--
๐
21.a4548d4c25aafb117be8.js
1.34 MB
08/14/2022 11:12:12 AM
rw-r--r--
๐
22.12a943634beff3377a32.js
1.36 MB
08/14/2022 11:12:13 AM
rw-r--r--
๐
23.92eaf8eeb23617895680.js
42.35 KB
08/14/2022 11:12:12 AM
rw-r--r--
๐
24.d34620d747e0ad596977.js
6.23 KB
08/14/2022 11:12:12 AM
rw-r--r--
๐
25.bb68d7e8df5cd0d210aa.js
4.14 KB
08/14/2022 11:12:10 AM
rw-r--r--
๐
26.0f01cb0542aeb1ae63e0.js
2.06 KB
08/14/2022 11:12:10 AM
rw-r--r--
๐
27.c24fb49cd4265d110009.js
2.05 KB
08/14/2022 11:12:12 AM
rw-r--r--
๐
28.cbdd9a2e36494b8e7e7c.js
326 bytes
08/14/2022 11:12:12 AM
rw-r--r--
๐
29.bb4f0a1e06115e10ae26.js
318 bytes
08/14/2022 11:12:12 AM
rw-r--r--
๐
app.1b8fe5ff1cc27d237ff4.js
449.08 KB
08/14/2022 11:12:09 AM
rw-r--r--
๐
app.c38340ea9793effbf0cc.js
53.89 KB
08/14/2022 11:12:11 AM
rw-r--r--
๐
npm.axios.0f184e0c0ec7c3bf6d60.js
11.59 KB
08/14/2022 11:12:09 AM
rw-r--r--
๐
npm.axios.15d412cfc41c0d21ab9c.js
18.51 KB
08/14/2022 11:12:11 AM
rw-r--r--
๐
npm.babel-helper-vue-jsx-merge-props.4db6005eaaa827ce60d3.js
645 bytes
08/14/2022 11:12:11 AM
rw-r--r--
๐
npm.babel.8476c741762c6007469c.js
2.18 KB
08/14/2022 11:12:12 AM
rw-r--r--
๐
npm.base64-js.3c73d92c1233dcf7fab2.js
1.44 KB
08/14/2022 11:12:08 AM
rw-r--r--
๐
npm.base64-js.8653aea2a2e8c68c989c.js
1.44 KB
08/14/2022 11:12:12 AM
rw-r--r--
๐
npm.buffer.87eee1fdab30c7c447c4.js
19.44 KB
08/14/2022 11:12:09 AM
rw-r--r--
๐
npm.buffer.ca44dbdf342d0855fb11.js
19.44 KB
08/14/2022 11:12:10 AM
rw-r--r--
๐
npm.css-loader.fed8e2bdea243750b36b.js
957 bytes
08/14/2022 11:12:12 AM
rw-r--r--
๐
npm.d3-hierarchy.c8c2253339c4e4676685.js
13.5 KB
08/14/2022 11:12:11 AM
rw-r--r--
๐
npm.d3-time-format.314f5f8a7d9abf16cf84.js
9.5 KB
08/14/2022 11:12:12 AM
rw-r--r--
๐
npm.d3-time.2ec89e60084d53c9e7c7.js
3.75 KB
08/14/2022 11:12:10 AM
rw-r--r--
๐
npm.d3.c84643ba0f2321d8c13d.js
147.42 KB
08/14/2022 11:12:10 AM
rw-r--r--
๐
npm.datatables.net-dt.c7f5903c42b05464134b.js
345 bytes
08/14/2022 11:12:12 AM
rw-r--r--
๐
npm.datatables.net-fixedheader-dt.aa37425848e58d6bde14.js
84 bytes
08/14/2022 11:12:09 AM
rw-r--r--
๐
npm.datatables.net-fixedheader.46bde606367c4eb7a765.js
7.05 KB
08/14/2022 11:12:09 AM
rw-r--r--
๐
npm.datatables.net-rowgroup-dt.e9ba3b551c9330e0084e.js
84 bytes
08/14/2022 11:12:11 AM
rw-r--r--
๐
npm.datatables.net-rowgroup.85c73efc2eba2ad7ab35.js
3.77 KB
08/14/2022 11:12:10 AM
rw-r--r--
๐
npm.datatables.net.86b1042b41e49f6a3d21.js
83.41 KB
08/14/2022 11:12:09 AM
rw-r--r--
๐
npm.es6-promise.f1633e965e20484156d8.js
6.34 KB
08/14/2022 11:12:08 AM
rw-r--r--
๐
npm.events.3fa62db403dfbe2fc018.js
5.95 KB
08/14/2022 11:12:11 AM
rw-r--r--
๐
npm.fast-isnumeric.fec6d11633acc742b8e8.js
247 bytes
08/14/2022 11:12:08 AM
rw-r--r--
๐
npm.fuzzysearch.0938685bd6633c551ce3.js
297 bytes
08/14/2022 11:12:12 AM
rw-r--r--
๐
npm.gl-mat4.fdfd66cc38eeec8d161e.js
10.65 KB
08/14/2022 11:12:11 AM
rw-r--r--
๐
npm.has-hover.907920b8622d929b53f5.js
237 bytes
08/14/2022 11:12:12 AM
rw-r--r--
๐
npm.has-passive-events.560bcb1bb541045c251d.js
321 bytes
08/14/2022 11:12:09 AM
rw-r--r--
๐
npm.ieee754.4ec539d8f5a9fbc180f5.js
950 bytes
08/14/2022 11:12:12 AM
rw-r--r--
๐
npm.is-browser.f246585d9104fe9e25a8.js
96 bytes
08/14/2022 11:12:09 AM
rw-r--r--
๐
npm.is-mobile.48d8b05c828b3c18002b.js
1.18 KB
08/14/2022 11:12:11 AM
rw-r--r--
๐
npm.is-promise.6ffb18ac659be0a497d8.js
208 bytes
08/14/2022 11:12:09 AM
rw-r--r--
๐
npm.is-string-blank.5334607a98160cdac3dc.js
341 bytes
08/14/2022 11:12:11 AM
rw-r--r--
๐
npm.isarray.29b32ffad4770d2466ef.js
179 bytes
08/14/2022 11:12:09 AM
rw-r--r--
๐
npm.jquery.c4898326f8ac5056493e.js
88.11 KB
08/14/2022 11:12:10 AM
rw-r--r--
๐
npm.jquery.dcead76af3c1acc438cb.js
88.12 KB
08/14/2022 11:12:11 AM
rw-r--r--
๐
npm.leaflet-iconmaterial.9e7704104018a6b015d3.js
1.86 KB
08/14/2022 11:12:12 AM
rw-r--r--
๐
npm.leaflet.6260117c48642af3eead.js
145.1 KB
08/14/2022 11:12:11 AM
rw-r--r--
๐
npm.lodash.ad589824b88fa286c327.js
74.62 KB
08/14/2022 11:12:12 AM
rw-r--r--
๐
npm.material-design-icons-iconfont.bf1884c0a9878c763687.js
86 bytes
08/14/2022 11:12:10 AM
rw-r--r--
๐
npm.material-design-icons-iconfont.d238215181d1a4a0cff9.js
85 bytes
08/14/2022 11:12:12 AM
rw-r--r--
๐
npm.mdi.2ae0351efe2bb2e096c1.js
84 bytes
08/14/2022 11:12:10 AM
rw-r--r--
๐
npm.mdi.3e8905ec49c0a0f711e9.js
83 bytes
08/14/2022 11:12:11 AM
rw-r--r--
๐
npm.mouse-event-offset.07f04de76d630c5f1838.js
348 bytes
08/14/2022 11:12:08 AM
rw-r--r--
๐
npm.nepali-date.9b750665a780dd9d904c.js
10.88 KB
08/14/2022 11:12:09 AM
rw-r--r--
๐
npm.parse-svg-path.04dac16481785c4040f8.js
594 bytes
08/14/2022 11:12:09 AM
rw-r--r--
๐
npm.plotly.js.9015f25c707fe7c31a04.js
927.17 KB
08/14/2022 11:12:11 AM
rw-r--r--
๐
npm.polybooljs.c669c4c7d010129d55ef.js
13.24 KB
08/14/2022 11:12:09 AM
rw-r--r--
๐
npm.process.672ccd900c13d8ccad5e.js
1.7 KB
08/14/2022 11:12:12 AM
rw-r--r--
๐
npm.process.f7136e61a24777c18bb1.js
1.7 KB
08/14/2022 11:12:10 AM
rw-r--r--
๐
npm.riophae.da8a0ae391caf1ec1a59.js
54.66 KB
08/14/2022 11:12:10 AM
rw-r--r--
๐
npm.setimmediate.97a010d57e48e8e6dd93.js
1.7 KB
08/14/2022 11:12:11 AM
rw-r--r--
๐
npm.setimmediate.baa1342e5a67a7e4b515.js
1.7 KB
08/14/2022 11:12:09 AM
rw-r--r--
๐
npm.sortablejs.143626fccb69f528ad8e.js
42.32 KB
08/14/2022 11:12:11 AM
rw-r--r--
๐
npm.sortablejs.79afed1fc8dca83af1ce.js
42.32 KB
08/14/2022 11:12:11 AM
rw-r--r--
๐
npm.timers-browserify.569c8e4db69b15e690ac.js
1.11 KB
08/14/2022 11:12:12 AM
rw-r--r--
๐
npm.timers-browserify.8c4d117f6b41f342b947.js
1.11 KB
08/14/2022 11:12:08 AM
rw-r--r--
๐
npm.tinycolor2.feeaa4db2b7598d5c03f.js
14.32 KB
08/14/2022 11:12:11 AM
rw-r--r--
๐
npm.vue-grid-layout.3d9d54ac10daf8c24e35.js
200.89 KB
08/14/2022 11:12:09 AM
rw-r--r--
๐
npm.vue-loader.4fa50e6b376fc7f906b4.js
874 bytes
08/14/2022 11:12:10 AM
rw-r--r--
๐
npm.vue-loader.98a4f66fcc2fa4294a39.js
874 bytes
08/14/2022 11:12:09 AM
rw-r--r--
๐
npm.vue-router.6f244f19990ff9797bce.js
25.91 KB
08/14/2022 11:12:12 AM
rw-r--r--
๐
npm.vue-router.dd9aa71234a46e167810.js
25.91 KB
08/14/2022 11:12:10 AM
rw-r--r--
๐
npm.vue-style-loader.b5103048442cbb4f316a.js
2.54 KB
08/14/2022 11:12:09 AM
rw-r--r--
๐
npm.vue.025f17956148404b92b3.js
91.34 KB
08/14/2022 11:12:12 AM
rw-r--r--
๐
npm.vue.5fbfd768c05128cba78e.js
91.34 KB
08/14/2022 11:12:12 AM
rw-r--r--
๐
npm.vue2-leaflet.2ce388f74cc9b4a71af9.js
39.52 KB
08/14/2022 11:12:10 AM
rw-r--r--
๐
npm.vuedraggable.d71406d943ce8a562b25.js
34.36 KB
08/14/2022 11:12:10 AM
rw-r--r--
๐
npm.vuedraggable.e5a5dc383ec611ffdd45.js
34.36 KB
08/14/2022 11:12:10 AM
rw-r--r--
๐
npm.vuetify-loader.b9040a74dd4c7263e8d4.js
331 bytes
08/14/2022 11:12:12 AM
rw-r--r--
๐
npm.vuetify.68388ac2cb55cac69cf2.js
791.27 KB
08/14/2022 11:12:12 AM
rw-r--r--
๐
npm.vuetify.8b705a4efa5f227391c5.js
779.14 KB
08/14/2022 11:12:10 AM
rw-r--r--
๐
npm.vuex.087c99b4ef23a9ff8a58.js
9.41 KB
08/14/2022 11:12:11 AM
rw-r--r--
๐
npm.vuex.de4062b5d3a514d40c97.js
9.41 KB
08/14/2022 11:12:12 AM
rw-r--r--
๐
npm.watch-size.ba2013ab9280cef7fc05.js
1.03 KB
08/14/2022 11:12:12 AM
rw-r--r--
๐
npm.webpack.231bc6e559c13c0b9c31.js
211 bytes
08/14/2022 11:12:09 AM
rw-r--r--
๐
npm.webpack.7112bc5b47c289e366e3.js
518 bytes
08/14/2022 11:12:09 AM
rw-r--r--
๐
npm.xlsx.157b545e12627b2cf299.js
886.5 KB
08/14/2022 11:12:09 AM
rw-r--r--
๐
npm.xlsx.68a305afa3732a4e4ae1.js
459.19 KB
08/14/2022 11:12:12 AM
rw-r--r--
๐
runtime.96b4b610f5ae334b0eeb.js
1.46 KB
08/14/2022 11:12:12 AM
rw-r--r--
๐
runtime.c1da4fc9523c87a39de0.js
3.55 KB
08/14/2022 11:12:08 AM
rw-r--r--
Editing: 20.001765676a244701b2db.js
Close
(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{"+1bK":function(e,t,r){"use strict";var n=r("/CZE"),a=r("0RW4"),i=r("DzeQ"),o=r("WeBh");function s(e){return e.data.data.pid}t.findEntryWithLevel=function(e,r){var n;return r&&e.eachAfter((function(e){if(t.getPtId(e)===r)return n=e.copy()})),n||e},t.findEntryWithChild=function(e,r){var n;return e.eachAfter((function(e){for(var a=e.children||[],i=0;i<a.length;i++){var o=a[i];if(t.getPtId(o)===r)return n=e.copy()}})),n||e},t.isEntry=function(e){return!e.parent},t.isLeaf=function(e){return!e.children},t.getPtId=function(e){return e.data.data.id},t.getPtLabel=function(e){return e.data.data.label},t.getValue=function(e){return e.value},t.isHierarchyRoot=function(e){return""===s(e)},t.setSliceCursor=function(e,r,n){var a=n.isTransitioning;if(!a){var o=e.datum();a=n.hideOnRoot&&t.isHierarchyRoot(o)||n.hideOnLeaves&&t.isLeaf(o)}i(e,a?null:"pointer")},t.getInsideTextFontKey=function(e,t,r,a,i){var o=(i||{}).onPathbar?"pathbar.textfont":"insidetextfont",s=r.data.data.i;return n.castOption(t,s,o+"."+e)||n.castOption(t,s,"textfont."+e)||a.size},t.getOutsideTextFontKey=function(e,t,r,a){var i=r.data.data.i;return n.castOption(t,i,"outsidetextfont."+e)||n.castOption(t,i,"textfont."+e)||a.size},t.isOutsideText=function(e,r){return!e._hasColorscale&&t.isHierarchyRoot(r)},t.determineTextFont=function(e,r,i,o){return t.isOutsideText(e,r)?function(e,r,n){return{color:t.getOutsideTextFontKey("color",e,r,n),family:t.getOutsideTextFontKey("family",e,r,n),size:t.getOutsideTextFontKey("size",e,r,n)}}(e,r,i):function(e,r,i,o){var s=(o||{}).onPathbar,l=r.data.data,c=l.i,u=n.castOption(e,c,(s?"pathbar.textfont":"insidetextfont")+".color");return!u&&e._input.textfont&&(u=n.castOption(e._input,c,"textfont.color")),{color:u||a.contrast(l.color),family:t.getInsideTextFontKey("family",e,r,i,o),size:t.getInsideTextFontKey("size",e,r,i,o)}}(e,r,i,o)},t.hasTransition=function(e){return!!(e&&e.duration>0)},t.getMaxDepth=function(e){return e.maxdepth>=0?e.maxdepth:1/0},t.isHeader=function(e,r){return!(t.isLeaf(e)||e.depth===r._maxDepth-1)},t.getParent=function(e,r){return t.findEntryWithLevel(e,s(r))},t.listPath=function(e,r){var n=e.parent;if(!n)return[];var a=r?[n.data[r]]:[n];return t.listPath(n,r).concat(a)},t.getPath=function(e){return t.listPath(e,"label").join("/")+"/"},t.formatValue=o.formatPieValue,t.formatPercent=function(e,t){var r=n.formatPercent(e,0);return"0%"===r&&(r=o.formatPiePercent(e,t)),r}},"+1rr":function(e,t,r){"use strict";var n=r("EHyX"),a=r("lNV6").hovertemplateAttrs,i=r("lNV6").texttemplateAttrs,o=r("9Okp"),s=r("mEVB"),l=r("Gl7E"),c=r("kJIm").extendFlat,u=s({editType:"calc",arrayOk:!0,colorEditType:"style",description:""}),d=c({},n.marker.line.width,{dflt:0}),f=c({width:d,editType:"calc"},o("marker.line")),h=c({line:f,editType:"calc"},o("marker"),{opacity:{valType:"number",arrayOk:!0,dflt:1,min:0,max:1,role:"style",editType:"style",description:"Sets the opacity of the bars."}});e.exports={x:n.x,x0:n.x0,dx:n.dx,y:n.y,y0:n.y0,dy:n.dy,text:n.text,texttemplate:i({editType:"plot"},{keys:l.eventDataKeys}),hovertext:n.hovertext,hovertemplate:a({},{keys:l.eventDataKeys}),textposition:{valType:"enumerated",role:"info",values:["inside","outside","auto","none"],dflt:"none",arrayOk:!0,editType:"calc",description:["Specifies the location of the `text`.","*inside* positions `text` inside, next to the bar end","(rotated and scaled if needed).","*outside* positions `text` outside, next to the bar end","(scaled if needed), unless there is another bar stacked on","this one, then the text gets pushed inside.","*auto* tries to position `text` inside the bar, but if","the bar is too small and no bar is stacked on this one","the text is moved outside."].join(" ")},insidetextanchor:{valType:"enumerated",values:["end","middle","start"],dflt:"end",role:"info",editType:"plot",description:["Determines if texts are kept at center or start/end points in `textposition` *inside* mode."].join(" ")},textangle:{valType:"angle",dflt:"auto",role:"info",editType:"plot",description:["Sets the angle of the tick labels with respect to the bar.","For example, a `tickangle` of -90 draws the tick labels","vertically. With *auto* the texts may automatically be","rotated to fit with the maximum size in bars."].join(" ")},textfont:c({},u,{description:"Sets the font used for `text`."}),insidetextfont:c({},u,{description:"Sets the font used for `text` lying inside the bar."}),outsidetextfont:c({},u,{description:"Sets the font used for `text` lying outside the bar."}),constraintext:{valType:"enumerated",values:["inside","outside","both","none"],role:"info",dflt:"both",editType:"calc",description:["Constrain the size of text inside or outside a bar to be no","larger than the bar itself."].join(" ")},cliponaxis:c({},n.cliponaxis,{description:["Determines whether the text nodes","are clipped about the subplot axes.","To show the text nodes above axis lines and tick labels,","make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*."].join(" ")}),orientation:{valType:"enumerated",role:"info",values:["v","h"],editType:"calc+clearAxisTypes",description:["Sets the orientation of the bars.","With *v* (*h*), the value of the each bar spans","along the vertical (horizontal)."].join(" ")},base:{valType:"any",dflt:null,arrayOk:!0,role:"info",editType:"calc",description:["Sets where the bar base is drawn (in position axis units).","In *stack* or *relative* barmode,","traces that set *base* will be excluded","and drawn in *overlay* mode instead."].join(" ")},offset:{valType:"number",dflt:null,arrayOk:!0,role:"info",editType:"calc",description:["Shifts the position where the bar is drawn","(in position axis units).","In *group* barmode,","traces that set *offset* will be excluded","and drawn in *overlay* mode instead."].join(" ")},width:{valType:"number",dflt:null,min:0,arrayOk:!0,role:"info",editType:"calc",description:["Sets the bar width (in position axis units)."].join(" ")},marker:h,offsetgroup:{valType:"string",role:"info",dflt:"",editType:"calc",description:["Set several traces linked to the same position axis","or matching axes to the same","offsetgroup where bars of the same position coordinate will line up."].join(" ")},alignmentgroup:{valType:"string",role:"info",dflt:"",editType:"calc",description:["Set several traces linked to the same position axis","or matching axes to the same","alignmentgroup. This controls whether bars compute their positional","range dependently or independently."].join(" ")},selected:{marker:{opacity:n.selected.marker.opacity,color:n.selected.marker.color,editType:"style"},textfont:n.selected.textfont,editType:"style"},unselected:{marker:{opacity:n.unselected.marker.opacity,color:n.unselected.marker.color,editType:"style"},textfont:n.unselected.textfont,editType:"style"},r:n.r,t:n.t,_deprecated:{bardir:{valType:"enumerated",role:"info",editType:"calc",values:["v","h"],description:"Renamed to `orientation`."}}}},"+8Ue":function(e,t,r){"use strict";var n=r("L2JU"),a={name:"cub-data-table",props:{headers:Array,chartdataJSON:Array,dataTableCurrenyFormat:{type:String,default:"Default"},showCurrency:{type:Boolean,default:!0},showSearch:{type:Boolean,default:!0}},data:()=>({dimensionCount:0,totalArray:[],sortBy:[],sortDesc:[],search:"",shortFormatItems:["Default","Million","Billion"],dataTableHeight:150,isFixedHeader:!0,rowsPerPage:10,rowsPerPageItems:[5,10,25,100],monthNames:["JAN","FEB","MAR","APR","MAY","JUNE","JULY","AUG","SEP","OCT","NOV","DEC"],reportItems:[],sortOrderDict:{}}),created(){this.chartdataJSON.length<=5?(this.isFixedHeader=!1,this.dataTableHeight=void 0):(this.isFixedHeader=!0,this.dataTableHeight=450);for(var e=0;e<this.headers.length;e++)if(this.headers[e].itemId<1e4){this.dimensionCount++;var t=this.getItemMetaById(this.headers[e].itemId);this.reportItems.push(t),"sort"==t.DataSubType&&(this.sortOrderDict[t.Name]=this.getSortOrder(t.Id))}else{t=this.getItemMetaById(this.headers[e].itemId);if(this.reportItems.push(t),this.chartdataJSON.length){var r={},n=0,a=0;r.itemId=t.Id;for(var i=0,o=Number(this.chartdataJSON[0][this.headers[e].text]),s=Number(this.chartdataJSON[0][this.headers[e].text]),l=0;l<this.chartdataJSON.length;l++)i+=a=Number(this.chartdataJSON[l][this.headers[e].text]),o=o<a?o:a,s=s>a?s:a;n="Min"==t.AggFunction?o:"Max"==t.AggFunction?s:"avg"==t.AggFunction?i/this.chartdataJSON.length:i,r.value=n,this.totalArray.push(r)}}},computed:{...Object(n.b)(["getSortOrder","getItemMetaById"]),shortFormat:{get:function(){return this.dataTableCurrenyFormat},set:function(e){this.$emit("update:dataTableCurrenyFormat",e)}},filteredHeaders:{get:function(){return this.headers},set:function(e){return e}}},methods:{rowClicked(e){console.log(e)},getItemDataByName(e){for(var t=0;t<this.reportItems.length;t++)if(this.reportItems[t].Name==e)return this.reportItems[t]},customSort(){var e=this.chartdataJSON,t=this.sortBy,r=this.sortDesc;this.headers;return e.sort((e,n)=>{for(var a=0;a<t.length;a++){var i=this.getItemDataByName(t[a]),o=0;if(i.Id>1e4?o=e[t[a]]-n[t[a]]:"sort"!=i.DataSubType?o=e[t[a]].toLowerCase().localeCompare(n[t[a]].toLowerCase()):(o=this.sortOrderDict[t[a]][e[t[a]]]-this.sortOrderDict[t[a]][n[t[a]]],isNaN(o)&&(o=0)),0!=o)return r[a]?-1*o:o}return 0}),e},getDisplayValue(e,t){if(t>1e4){var r=this.getItemMetaById(t),n=getFormat(r.Format),a=n.prec,i=void 0;i="i"==n.currency?"en-IN":"en-US";var o={};o.maximumFractionDigits=a,n.suffix||("Million"==this.shortFormat?e/=1e6:"Billion"==this.shortFormat&&(e/=1e9)),e=Number(e).toLocaleString(i,o),n.prefix&&(e=n.prefix+e),n.suffix&&(e+=n.suffix)}else{if(""!=t)"time"==(r=this.getItemMetaById(t)).Table&&"month"==r.Column&&(e=this.monthNames[e-1])}return e},getDisplayStyle(e){var t="";e>1e4?(t+="text-align:right;",t+="white-space:nowrap;"):(t+="text-align:left;",""!=e&&"Date"==this.getItemMetaById(e).DataType&&(t+="white-space:nowrap;"));return t}}},i=(r("/bfX"),r("KHd+")),o=Object(i.a)(a,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("v-card",{staticClass:"elevation-0",staticStyle:{height:"100%",overflow:"hidden auto"}},[r("v-layout",[e.showSearch?r("v-flex",{attrs:{sm2:""}},[r("v-text-field",{attrs:{"append-icon":"search",label:"Search","single-line":"","hide-details":""},model:{value:e.search,callback:function(t){e.search=t},expression:"search"}})],1):e._e(),e._v(" "),r("v-spacer"),e._v(" "),e.showCurrency?r("v-flex",{attrs:{sm2:""}},[r("v-select",{attrs:{items:e.shortFormatItems,label:"Units","hide-details":""},model:{value:e.shortFormat,callback:function(t){e.shortFormat=t},expression:"shortFormat"}})],1):e._e()],1),e._v(" "),r("v-data-table",{staticClass:"elevation-0",attrs:{height:e.dataTableHeight,headers:e.headers,"items-per-page":e.rowsPerPage,"fixed-header":e.isFixedHeader,"items-per-page-options":e.rowsPerPageItems,items:e.chartdataJSON,search:e.search,"multi-sort":"","item-key":"itemId","sort-by":e.sortBy,"sort-desc":e.sortDesc,"custom-sort":e.customSort},on:{"update:sortBy":function(t){e.sortBy=t},"update:sort-by":function(t){e.sortBy=t},"update:sortDesc":function(t){e.sortDesc=t},"update:sort-desc":function(t){e.sortDesc=t}},scopedSlots:e._u([e.chartdataJSON.length?{key:"body",fn:function(t){var n=t.items,a=t.headers;return[r("tbody",[e._l(n,(function(t,n){return r("tr",{key:n,on:{click:function(r){return e.rowClicked(t)}}},[e._l(a,(function(n){return[r("td",{key:n.itemId,style:e.getDisplayStyle(n.itemId)},[e._v(e._s(e.getDisplayValue(t[n.text],n.itemId)))])]}))],2)})),e._v(" "),e.chartdataJSON.length>1?r("tr",[r("td",{staticClass:"text-center",attrs:{colspan:e.dimensionCount}},[e._v("Grand total")]),e._v(" "),e._l(e.totalArray,(function(t){return[r("td",{key:t.itemId,staticStyle:{"text-align":"right","white-space":"nowrap"}},[e._v(e._s(e.getDisplayValue(t.value,t.itemId)))])]}))],2):e._e()],2)]}}:null,e.chartdataJSON.length>1?{key:"body.append",fn:function(t){return[r("tr",[e._l(e.totalArray,(function(t,n){return[r("td",{key:n,staticClass:"text-center"},[e._v(e._s(t))])]}))],2)]}}:null],null,!0)},[e._v(" "),e._v(" "),r("template",{slot:"no-data"},[r("v-alert",{attrs:{value:!0,color:"error",icon:"warning"}},[e._v("Sorry, nothing to display here :(")])],1)],2)],1)}),[],!1,null,null,null);t.a=o.exports},"+KUA":function(e,t){e.exports=function(e){"number"!=typeof e&&(e=1e-10);var t={epsilon:function(t){return"number"==typeof t&&(e=t),e},pointAboveOrOnLine:function(t,r,n){var a=r[0],i=r[1],o=n[0],s=n[1],l=t[0];return(o-a)*(t[1]-i)-(s-i)*(l-a)>=-e},pointBetween:function(t,r,n){var a=t[1]-r[1],i=n[0]-r[0],o=t[0]-r[0],s=n[1]-r[1],l=o*i+a*s;return!(l<e)&&!(l-(i*i+s*s)>-e)},pointsSameX:function(t,r){return Math.abs(t[0]-r[0])<e},pointsSameY:function(t,r){return Math.abs(t[1]-r[1])<e},pointsSame:function(e,r){return t.pointsSameX(e,r)&&t.pointsSameY(e,r)},pointsCompare:function(e,r){return t.pointsSameX(e,r)?t.pointsSameY(e,r)?0:e[1]<r[1]?-1:1:e[0]<r[0]?-1:1},pointsCollinear:function(t,r,n){var a=t[0]-r[0],i=t[1]-r[1],o=r[0]-n[0],s=r[1]-n[1];return Math.abs(a*s-o*i)<e},linesIntersect:function(t,r,n,a){var i=r[0]-t[0],o=r[1]-t[1],s=a[0]-n[0],l=a[1]-n[1],c=i*l-o*s;if(Math.abs(c)<e)return!1;var u=t[0]-n[0],d=t[1]-n[1],f=(s*d-l*u)/c,h=(i*d-o*u)/c,p={alongA:0,alongB:0,pt:[t[0]+f*i,t[1]+f*o]};return p.alongA=f<=-e?-2:f<e?-1:f-1<=-e?0:f-1<e?1:2,p.alongB=h<=-e?-2:h<e?-1:h-1<=-e?0:h-1<e?1:2,p},pointInsideRegion:function(t,r){for(var n=t[0],a=t[1],i=r[r.length-1][0],o=r[r.length-1][1],s=!1,l=0;l<r.length;l++){var c=r[l][0],u=r[l][1];u-a>e!=o-a>e&&(i-c)*(a-u)/(o-u)+c-n>e&&(s=!s),i=c,o=u}return s}};return t}},"+Y3G":function(e,t,r){"use strict";function n(e,t){var r,n,a=[0,0,0,0];for(r=0;r<4;++r)for(n=0;n<4;++n)a[n]+=e[4*r+n]*t[r];return a}e.exports=function(e,t){return n(e.projection,n(e.view,n(e.model,[t[0],t[1],t[2],1])))}},"+Yeh":function(e,t,r){"use strict";var n=r("L2JU"),a={name:"cub-data-table-crosstab",props:["report","chartdata","id"],mixins:[r("al3m").a],data:()=>({dimensionCount:0,rowsPerPage:5,page:1,rowsPerPageItems:[5,10,25,100],shortFormatItems:["Default","Million","Billion"],shortFormat:"Default",totalArray:[],itemList:[],ctHeaders:"",ctData:"",monthNames:["JAN","FEB","MAR","APR","MAY","JUNE","JULY","AUG","SEP","OCT","NOV","DEC"]}),computed:{...Object(n.b)(["getMetaNameById","getItemMetaById"])},created(){this.itemList=this.$store.state.itemList;for(var e=this.report.DimensionIds.split(":"),t=this.report.MeasureIds.split(":"),r=t.concat(e[e.length-1]),n=new Array,a=0;a<e.length-1;a++)n.push(e[a]);var i=new Array;for(a=0;a<r.length;a++)r.length,i.push(this.getItemMetaById(r[a]));var o=new Array;for(a=0;a<e.length-1;a++)o.push(this.getItemMetaById(e[a]));var s=new Array;for(a=0;a<t.length;a++)s.push(this.getItemMetaById(t[a]));var l=new Array,c=new Array,u=new Array,d=new Array,f=new Array;for(a=0;a<s.length;a++)c.push(s[a].Name);for(a=0;a<i.length;a++)f.push(i[a].Id),l.push(i[a].Name);for(a=0;a<o.length;a++)d.push(o[a].Id),u.push(o[a].Name);var h=this.chartdata.slice(1);this.ctHeaders=this.getHeader(h,o.length,i.length,s.length,d,f,l,u,c,"",""),this.ctData=this.getAllValues(this.ctHeaders,h,o.length,i.length,s.length,c);var p=this.ctHeaders[this.ctHeaders.length-1];for(a=0;a<p.length;a++)p[a].itemId<1e4&&this.dimensionCount++;for(a=0;a<p.length;a++)if(p[a].itemId>1e4){var g=this.getItemMetaById(p[a].itemId);if(this.ctData.length){var v={},m=0,y=0;v.itemId=g.Id;for(var x=0,b=Number(this.ctData[0][a]),w=Number(this.ctData[0][a]),_=0;_<this.ctData.length;_++)x+=y=Number(this.ctData[_][a]),b=b<y?b:y,w=w>y?w:y;m="Min"==g.AggFunction?b:"Max"==g.AggFunction?w:"avg"==g.AggFunction?x/this.ctData.length:x,v.value=m,this.totalArray.push(v)}}},methods:{getDisplayValue(e,t){if(0==t)return"";if(t>1e4){var r=this.getItemMetaById(t),n=getFormat(r.Format),a=n.prec,i=void 0;i="i"==n.currency?"en-IN":"en-US";var o={};o.maximumFractionDigits=a,n.suffix||("Million"==this.shortFormat?e/=1e6:"Billion"==this.shortFormat&&(e/=1e9)),e=Number(e).toLocaleString(i,o),n.prefix&&(e=n.prefix+e),n.suffix&&(e+=n.suffix)}else{"time"==(r=this.getItemMetaById(t)).Table&&"month"==r.Column&&(e=this.monthNames[e-1])}return e},getDisplayStyle(e){var t="";if(0==e)return"";e>1e4?(t+="text-align:right;",t+="white-space:nowrap;"):(t+="text-align:left;","Date"==this.getItemMetaById(e).DataType&&(t+="white-space:nowrap;"));return t}}},i=r("KHd+"),o=Object(i.a)(a,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("v-card",{staticClass:"elevation-0",staticStyle:{height:"80%",overflow:"auto"}},[r("v-card-title",{staticClass:"py-0"},[r("v-spacer"),e._v(" "),r("v-flex",{attrs:{sm2:""}},[r("v-select",{attrs:{items:e.shortFormatItems,label:"Curreny Format","hide-details":""},model:{value:e.shortFormat,callback:function(t){e.shortFormat=t},expression:"shortFormat"}})],1)],1),e._v(" "),r("v-data-table",{attrs:{id:e.id,"disable-sort":"","disable-filtering":"","hide-default-header":"",headers:e.ctHeaders,items:e.ctData,"items-per-page":e.rowsPerPage,page:e.page},on:{"update:page":function(t){e.page=t}},scopedSlots:e._u([{key:"header",fn:function(t){var n=t.props.headers;return[r("thead",e._l(n,(function(t,n){return r("tr",{key:n},[e._l(t,(function(t){return[r("th",{key:t,attrs:{role:"columnheader",colspan:t.colspan}},[e._v(e._s(t.value))])]}))],2)})),0)]}},{key:"no-data",fn:function(){return[r("v-alert",{attrs:{value:!0,color:"error",icon:"warning"}},[e._v("Sorry, nothing to display here :(")])]},proxy:!0},{key:"body",fn:function(t){var n=t.headers,a=t.items;return[r("tbody",[e._l(a,(function(t,a){return r("tr",{key:a},[e._l(t,(function(t,a){return[r("td",{key:t,style:e.getDisplayStyle(n[n.length-1][a].itemId)},[e._v(e._s(e.getDisplayValue(t,n[n.length-1][a].itemId)))])]}))],2)})),e._v(" "),r("tr",[r("td",{staticClass:"text-center",attrs:{colspan:e.dimensionCount}},[e._v("Grand total")]),e._v(" "),e._l(e.totalArray,(function(t){return[r("td",{key:t,staticStyle:{"text-align":"right","white-space":"nowrap"}},[e._v(e._s(e.getDisplayValue(t.value,t.itemId)))])]}))],2)],2)]}}])})],1)}),[],!1,null,null,null);t.a=o.exports},"+gYs":function(e,t,r){"use strict";var n=r("EHyX"),a=n.marker,i=r("kJIm").extendFlat,o=["Area traces are deprecated!","Please switch to the *barpolar* trace type."].join(" ");e.exports={r:i({},n.r,{description:[o,"Sets the radial coordinates","for legacy polar chart only."].join(" ")}),t:i({},n.t,{description:[o,"Sets the angular coordinates","for legacy polar chart only."].join(" ")}),marker:{color:i({},a.color,{description:[o,a.color.description].join(" ")}),size:i({},a.size,{description:[o,a.size.description].join(" ")}),symbol:i({},a.symbol,{description:[o,a.symbol.description].join(" ")}),opacity:i({},a.opacity,{description:[o,a.opacity.description].join(" ")}),editType:"calc"}}},"+lml":function(e,t,r){"use strict";var n=r("bljh");e.exports=function(e,t,r){var a=e.selectAll("g."+r.replace(/\s/g,".")).data(t,(function(e){return e[0].trace.uid}));a.exit().remove(),a.enter().append("g").attr("class",r),a.order();var i=e.classed("rangeplot")?"nodeRangePlot3":"node3";return a.each((function(e){e[0][i]=n.select(this)})),a}},"+oog":function(e,t,r){"use strict";var n=r("bljh"),a=r("Zss7"),i=r("Nx4I"),o=r("/CZE"),s=r("wlgE").makeColorScaleFuncFromTrace,l=r("c8nr");function c(e,t){var r=t.length-2,n=o.constrain(o.findBin(e,t),0,r),a=t[n],i=t[n+1],s=o.constrain(n+(e-a)/(i-a)-.5,0,r),l=Math.round(s),c=Math.abs(s-l);return s&&s!==r&&c?{bin0:l,frac:c,bin1:Math.round(l+c/(s-l))}:{bin0:l,bin1:l,frac:0}}function u(e,t){var r=t.length-1,n=o.constrain(o.findBin(e,t),0,r),a=t[n],i=(e-a)/(t[n+1]-a)||0;return i<=0?{bin0:n,bin1:n,frac:0}:i<.5?{bin0:n,bin1:n+1,frac:i}:{bin0:n+1,bin1:n,frac:1-i}}function d(e,t,r){e[t]=r[0],e[t+1]=r[1],e[t+2]=r[2],e[t+3]=Math.round(255*r[3])}e.exports=function(e,t,r,f){var h=t.xaxis,p=t.yaxis;o.makeTraceGroups(f,r,"hm").each((function(t){var r,f,g,v,m,y,x=n.select(this),b=t[0],w=b.trace,_=b.z,k=b.x,T=b.y,M=b.xCenter,S=b.yCenter,A=i.traceIs(w,"contour"),C=A?"best":w.zsmooth,P=_.length,O=o.maxRowLength(_),I=!1,z=!1;for(y=0;void 0===r&&y<k.length-1;)r=h.c2p(k[y]),y++;for(y=k.length-1;void 0===f&&y>0;)f=h.c2p(k[y]),y--;for(f<r&&(g=f,f=r,r=g,I=!0),y=0;void 0===v&&y<T.length-1;)v=p.c2p(T[y]),y++;for(y=T.length-1;void 0===m&&y>0;)m=p.c2p(T[y]),y--;if(m<v&&(g=v,v=m,m=g,z=!0),A&&(M=k,S=T,k=b.xfill,T=b.yfill),"fast"!==C){var L="best"===C?0:.5;r=Math.max(-L*h._length,r),f=Math.min((1+L)*h._length,f),v=Math.max(-L*p._length,v),m=Math.min((1+L)*p._length,m)}var E=Math.round(f-r),j=Math.round(m-v);if(E<=0||j<=0){x.selectAll("image").data([]).exit().remove()}else{var D,R;"fast"===C?(D=O,R=P):(D=E,R=j);var N=document.createElement("canvas");N.width=D,N.height=R;var F,B,H=N.getContext("2d"),V=s(w,{noNumericCheck:!0,returnArray:!0});"fast"===C?(F=I?function(e){return O-1-e}:o.identity,B=z?function(e){return P-1-e}:o.identity):(F=function(e){return o.constrain(Math.round(h.c2p(k[e])-r),0,E)},B=function(e){return o.constrain(Math.round(p.c2p(T[e])-v),0,j)});var G,Z,q,U,W,Y=B(0),X=[Y,Y],$=I?0:1,J=z?0:1,K=0,Q=0,ee=0,te=0;if(C){var re,ne=0;try{re=new Uint8Array(E*j*4)}catch(e){re=new Array(E*j*4)}if("best"===C){var ae,ie,oe,se=M||k,le=S||T,ce=new Array(se.length),ue=new Array(le.length),de=new Array(E),fe=M?u:c,he=S?u:c;for(y=0;y<se.length;y++)ce[y]=Math.round(h.c2p(se[y])-r);for(y=0;y<le.length;y++)ue[y]=Math.round(p.c2p(le[y])-v);for(y=0;y<E;y++)de[y]=fe(y,ce);for(Z=0;Z<j;Z++)for(ie=_[(ae=he(Z,ue)).bin0],oe=_[ae.bin1],y=0;y<E;y++,ne+=4)d(re,ne,W=Te(ie,oe,de[y],ae))}else for(Z=0;Z<P;Z++)for(U=_[Z],X=B(Z),y=0;y<E;y++)W=ke(U[y],1),d(re,ne=4*(X*E+F(y)),W);var pe=H.createImageData(E,j);try{pe.data.set(re)}catch(e){var ge=pe.data,ve=ge.length;for(Z=0;Z<ve;Z++)ge[Z]=re[Z]}H.putImageData(pe,0,0)}else{var me=w.xgap,ye=w.ygap,xe=Math.floor(me/2),be=Math.floor(ye/2);for(Z=0;Z<P;Z++)if(U=_[Z],X.reverse(),X[J]=B(Z+1),X[0]!==X[1]&&void 0!==X[0]&&void 0!==X[1])for(G=[q=F(0),q],y=0;y<O;y++)G.reverse(),G[$]=F(y+1),G[0]!==G[1]&&void 0!==G[0]&&void 0!==G[1]&&(W=ke(U[y],(G[1]-G[0])*(X[1]-X[0])),H.fillStyle="rgba("+W.join(",")+")",H.fillRect(G[0]+xe,X[0]+be,G[1]-G[0]-me,X[1]-X[0]-ye))}Q=Math.round(Q/K),ee=Math.round(ee/K),te=Math.round(te/K);var we=a("rgb("+Q+","+ee+","+te+")");e._hmpixcount=(e._hmpixcount||0)+K,e._hmlumcount=(e._hmlumcount||0)+K*we.getLuminance();var _e=x.selectAll("image").data(t);_e.enter().append("svg:image").attr({xmlns:l.svg,preserveAspectRatio:"none"}),_e.attr({height:j,width:E,x:r,y:v,"xlink:href":N.toDataURL("image/png")})}function ke(e,t){if(void 0!==e){var r=V(e);return r[0]=Math.round(r[0]),r[1]=Math.round(r[1]),r[2]=Math.round(r[2]),K+=t,Q+=r[0]*t,ee+=r[1]*t,te+=r[2]*t,r}return[0,0,0,0]}function Te(e,t,r,n){var a=e[r.bin0];if(void 0===a)return ke(void 0,1);var i,o=e[r.bin1],s=t[r.bin0],l=t[r.bin1],c=o-a||0,u=s-a||0;return i=void 0===o?void 0===l?0:void 0===s?2*(l-a):2*(2*l-s-a)/3:void 0===l?void 0===s?0:2*(2*a-o-s)/3:void 0===s?2*(2*l-o-a)/3:l+a-o-s,ke(a+r.frac*c+n.frac*(u+r.frac*i))}}))}},"/0lf":function(e,t,r){"use strict";var n=r("bljh"),a=r("g9E0"),i=r("BkK/"),o=r("c8nr");e.exports=function(e){var t,r,s=e._fullLayout,l=[],c={},u=[];for(r=0;r<s.images.length;r++){var d=s.images[r];if(d.visible)if("below"===d.layer&&"paper"!==d.xref&&"paper"!==d.yref){t=d.xref+d.yref;var f=s._plots[t];if(!f){u.push(d);continue}f.mainplot&&(t=f.mainplot.id),c[t]||(c[t]=[]),c[t].push(d)}else"above"===d.layer?l.push(d):u.push(d)}var h={left:{sizing:"xMin",offset:0},center:{sizing:"xMid",offset:-.5},right:{sizing:"xMax",offset:-1}},p={top:{sizing:"YMin",offset:0},middle:{sizing:"YMid",offset:-.5},bottom:{sizing:"YMax",offset:-1}};function g(t){var r=n.select(this);if(this._imgSrc!==t.source)if(r.attr("xmlns",o.svg),t.source&&"data:"===t.source.slice(0,5))r.attr("xlink:href",t.source),this._imgSrc=t.source;else{var a=new Promise(function(e){var n=new Image;function a(){r.remove(),e()}this.img=n,n.setAttribute("crossOrigin","anonymous"),n.onerror=a,n.onload=function(){var t=document.createElement("canvas");t.width=this.width,t.height=this.height,t.getContext("2d").drawImage(this,0,0);var n=t.toDataURL("image/png");r.attr("xlink:href",n),e()},r.on("error",a),n.src=t.source,this._imgSrc=t.source}.bind(this));e._promises.push(a)}}function v(t){var r=n.select(this),o=i.getFromId(e,t.xref),l=i.getFromId(e,t.yref),c=s._size,u=o?Math.abs(o.l2p(t.sizex)-o.l2p(0)):t.sizex*c.w,d=l?Math.abs(l.l2p(t.sizey)-l.l2p(0)):t.sizey*c.h,f=u*h[t.xanchor].offset,g=d*p[t.yanchor].offset,v=h[t.xanchor].sizing+p[t.yanchor].sizing,m=(o?o.r2p(t.x)+o._offset:t.x*c.w+c.l)+f,y=(l?l.r2p(t.y)+l._offset:c.h-t.y*c.h+c.t)+g;switch(t.sizing){case"fill":v+=" slice";break;case"stretch":v="none"}r.attr({x:m,y:y,width:u,height:d,preserveAspectRatio:v,opacity:t.opacity});var x=(o?o._id:"")+(l?l._id:"");a.setClipUrl(r,x?"clip"+s._uid+x:null,e)}var m=s._imageLowerLayer.selectAll("image").data(u),y=s._imageUpperLayer.selectAll("image").data(l);m.enter().append("image"),y.enter().append("image"),m.exit().remove(),y.exit().remove(),m.each((function(e){g.bind(this)(e),v.bind(this)(e)})),y.each((function(e){g.bind(this)(e),v.bind(this)(e)}));var x=Object.keys(s._plots);for(r=0;r<x.length;r++){t=x[r];var b=s._plots[t];if(b.imagelayer){var w=b.imagelayer.selectAll("image").data(c[t]||[]);w.enter().append("image"),w.exit().remove(),w.each((function(e){g.bind(this)(e),v.bind(this)(e)}))}}}},"/CZE":function(e,t,r){"use strict";var n=r("bljh"),a=r("GbLo"),i=r("6AZA"),o=i.FP_SAFE,s=i.BADNUM,l=e.exports={};l.nestedProperty=r("dNZO"),l.keyedContainer=r("Xe/Q"),l.relativeAttr=r("Lj1h"),l.isPlainObject=r("E4V0"),l.toLogRange=r("9rBw"),l.relinkPrivateKeys=r("Q1hF");var c=r("avjU");l.isTypedArray=c.isTypedArray,l.isArrayOrTypedArray=c.isArrayOrTypedArray,l.isArray1D=c.isArray1D,l.ensureArray=c.ensureArray,l.concat=c.concat,l.maxRowLength=c.maxRowLength,l.minRowLength=c.minRowLength;var u=r("09xr");l.mod=u.mod,l.modHalf=u.modHalf;var d=r("ZnKQ");l.valObjectMeta=d.valObjectMeta,l.coerce=d.coerce,l.coerce2=d.coerce2,l.coerceFont=d.coerceFont,l.coerceHoverinfo=d.coerceHoverinfo,l.coerceSelectionMarkerOpacity=d.coerceSelectionMarkerOpacity,l.validate=d.validate;var f=r("Zhzs");l.dateTime2ms=f.dateTime2ms,l.isDateTime=f.isDateTime,l.ms2DateTime=f.ms2DateTime,l.ms2DateTimeLocal=f.ms2DateTimeLocal,l.cleanDate=f.cleanDate,l.isJSDate=f.isJSDate,l.formatDate=f.formatDate,l.incrementMonth=f.incrementMonth,l.dateTick0=f.dateTick0,l.dfltRange=f.dfltRange,l.findExactDates=f.findExactDates,l.MIN_MS=f.MIN_MS,l.MAX_MS=f.MAX_MS;var h=r("3HVJ");l.findBin=h.findBin,l.sorterAsc=h.sorterAsc,l.sorterDes=h.sorterDes,l.distinctVals=h.distinctVals,l.roundUp=h.roundUp,l.sort=h.sort,l.findIndexOfMin=h.findIndexOfMin;var p=r("oBF0");l.aggNums=p.aggNums,l.len=p.len,l.mean=p.mean,l.median=p.median,l.midRange=p.midRange,l.variance=p.variance,l.stdev=p.stdev,l.interp=p.interp;var g=r("7CC7");l.init2dArray=g.init2dArray,l.transposeRagged=g.transposeRagged,l.dot=g.dot,l.translationMatrix=g.translationMatrix,l.rotationMatrix=g.rotationMatrix,l.rotationXYMatrix=g.rotationXYMatrix,l.apply2DTransform=g.apply2DTransform,l.apply2DTransform2=g.apply2DTransform2;var v=r("bkDJ");l.deg2rad=v.deg2rad,l.rad2deg=v.rad2deg,l.angleDelta=v.angleDelta,l.angleDist=v.angleDist,l.isFullCircle=v.isFullCircle,l.isAngleInsideSector=v.isAngleInsideSector,l.isPtInsideSector=v.isPtInsideSector,l.pathArc=v.pathArc,l.pathSector=v.pathSector,l.pathAnnulus=v.pathAnnulus;var m=r("bFr3");l.isLeftAnchor=m.isLeftAnchor,l.isCenterAnchor=m.isCenterAnchor,l.isRightAnchor=m.isRightAnchor,l.isTopAnchor=m.isTopAnchor,l.isMiddleAnchor=m.isMiddleAnchor,l.isBottomAnchor=m.isBottomAnchor;var y=r("GeF/");l.segmentsIntersect=y.segmentsIntersect,l.segmentDistance=y.segmentDistance,l.getTextLocation=y.getTextLocation,l.clearLocationCache=y.clearLocationCache,l.getVisibleSegment=y.getVisibleSegment,l.findPointOnPath=y.findPointOnPath;var x=r("kJIm");l.extendFlat=x.extendFlat,l.extendDeep=x.extendDeep,l.extendDeepAll=x.extendDeepAll,l.extendDeepNoArrays=x.extendDeepNoArrays;var b=r("rhNM");l.log=b.log,l.warn=b.warn,l.error=b.error;var w=r("BVrX");l.counterRegex=w.counter;var _=r("ffJW");l.throttle=_.throttle,l.throttleDone=_.done,l.clearThrottle=_.clear;var k=r("G4gu");function T(e){var t={};for(var r in e)for(var n=e[r],a=0;a<n.length;a++)t[n[a]]=+r;return t}l.getGraphDiv=k.getGraphDiv,l.isPlotDiv=k.isPlotDiv,l.removeElement=k.removeElement,l.addStyleRule=k.addStyleRule,l.addRelatedStyleRule=k.addRelatedStyleRule,l.deleteRelatedStyleRule=k.deleteRelatedStyleRule,l.clearResponsive=r("oi9M"),l.makeTraceGroups=r("+lml"),l._=r("pMAR"),l.notifier=r("AII8"),l.filterUnique=r("VWeM"),l.filterVisible=r("b8PE"),l.pushUnique=r("Whu6"),l.cleanNumber=r("8trw"),l.ensureNumber=function(e){return a(e)?(e=Number(e))<-o||e>o?s:a(e)?Number(e):s:s},l.isIndex=function(e,t){return!(void 0!==t&&e>=t)&&(a(e)&&e>=0&&e%1==0)},l.noop=r("t3iM"),l.identity=r("MGx7"),l.repeat=function(e,t){for(var r=new Array(t),n=0;n<t;n++)r[n]=e;return r},l.swapAttrs=function(e,t,r,n){r||(r="x"),n||(n="y");for(var a=0;a<t.length;a++){var i=t[a],o=l.nestedProperty(e,i.replace("?",r)),s=l.nestedProperty(e,i.replace("?",n)),c=o.get();o.set(s.get()),s.set(c)}},l.raiseToTop=function(e){e.parentNode.appendChild(e)},l.cancelTransition=function(e){return e.transition().duration(0)},l.constrain=function(e,t,r){return t>r?Math.max(r,Math.min(t,e)):Math.max(t,Math.min(r,e))},l.bBoxIntersect=function(e,t,r){return r=r||0,e.left<=t.right+r&&t.left<=e.right+r&&e.top<=t.bottom+r&&t.top<=e.bottom+r},l.simpleMap=function(e,t,r,n,a){for(var i=e.length,o=new Array(i),s=0;s<i;s++)o[s]=t(e[s],r,n,a);return o},l.randstr=function e(t,r,n,a){if(n||(n=16),void 0===r&&(r=24),r<=0)return"0";var i,o,s=Math.log(Math.pow(2,r))/Math.log(n),c="";for(i=2;s===1/0;i*=2)s=Math.log(Math.pow(2,r/i))/Math.log(n)*i;var u=s-Math.floor(s);for(i=0;i<Math.floor(s);i++)c=Math.floor(Math.random()*n).toString(n)+c;u&&(o=Math.pow(n,u),c=Math.floor(Math.random()*o).toString(n)+c);var d=parseInt(c,n);return t&&t[c]||d!==1/0&&d>=Math.pow(2,r)?a>10?(l.warn("randstr failed uniqueness"),c):e(t,r,n,(a||0)+1):c},l.OptionControl=function(e,t){e||(e={}),t||(t="opt");var r={optionList:[],_newoption:function(n){n[t]=e,r[n.name]=n,r.optionList.push(n)}};return r["_"+t]=e,r},l.smooth=function(e,t){if((t=Math.round(t)||0)<2)return e;var r,n,a,i,o=e.length,s=2*o,l=2*t-1,c=new Array(l),u=new Array(o);for(r=0;r<l;r++)c[r]=(1-Math.cos(Math.PI*(r+1)/t))/(2*t);for(r=0;r<o;r++){for(i=0,n=0;n<l;n++)(a=r+n+1-t)<-o?a-=s*Math.round(a/s):a>=s&&(a-=s*Math.floor(a/s)),a<0?a=-1-a:a>=o&&(a=s-1-a),i+=e[a]*c[n];u[r]=i}return u},l.syncOrAsync=function(e,t,r){var n;function a(){return l.syncOrAsync(e,t,r)}for(;e.length;)if((n=(0,e.splice(0,1)[0])(t))&&n.then)return n.then(a).then(void 0,l.promiseError);return r&&r(t)},l.stripTrailingSlash=function(e){return"/"===e.substr(-1)?e.substr(0,e.length-1):e},l.noneOrAll=function(e,t,r){if(e){var n,a=!1,i=!0;for(n=0;n<r.length;n++)null!=e[r[n]]?a=!0:i=!1;if(a&&!i)for(n=0;n<r.length;n++)e[r[n]]=t[r[n]]}},l.mergeArray=function(e,t,r,n){var a="function"==typeof n;if(l.isArrayOrTypedArray(e))for(var i=Math.min(e.length,t.length),o=0;o<i;o++){var s=e[o];t[o][r]=a?n(s):s}},l.mergeArrayCastPositive=function(e,t,r){return l.mergeArray(e,t,r,(function(e){var t=+e;return isFinite(t)&&t>0?t:0}))},l.fillArray=function(e,t,r,n){if(n=n||l.identity,l.isArrayOrTypedArray(e))for(var a=0;a<t.length;a++)t[a][r]=n(e[a])},l.castOption=function(e,t,r,n){n=n||l.identity;var a=l.nestedProperty(e,r).get();return l.isArrayOrTypedArray(a)?Array.isArray(t)&&l.isArrayOrTypedArray(a[t[0]])?n(a[t[0]][t[1]]):n(a[t]):a},l.extractOption=function(e,t,r,n){if(r in e)return e[r];var a=l.nestedProperty(t,n).get();return Array.isArray(a)?void 0:a},l.tagSelected=function(e,t,r){var n,a,i=t.selectedpoints,o=t._indexToPoints;o&&(n=T(o));for(var s=0;s<i.length;s++){var c=i[s];if(l.isIndex(c)||l.isArrayOrTypedArray(c)&&l.isIndex(c[0])&&l.isIndex(c[1])){var u=n?n[c]:c,d=r?r[u]:u;void 0!==(a=d)&&a<e.length&&(e[d].selected=1)}}},l.selIndices2selPoints=function(e){var t=e.selectedpoints,r=e._indexToPoints;if(r){for(var n=T(r),a=[],i=0;i<t.length;i++){var o=t[i];if(l.isIndex(o)){var s=n[o];l.isIndex(s)&&a.push(s)}}return a}return t},l.getTargetArray=function(e,t){var r=t.target;if("string"==typeof r&&r){var n=l.nestedProperty(e,r).get();return!!Array.isArray(n)&&n}return!!Array.isArray(r)&&r},l.minExtend=function(e,t){var r={};"object"!=typeof t&&(t={});var n,a,i,o=Object.keys(e);for(n=0;n<o.length;n++)i=e[a=o[n]],"_"!==a.charAt(0)&&"function"!=typeof i&&("module"===a?r[a]=i:Array.isArray(i)?r[a]="colorscale"===a?i.slice():i.slice(0,3):l.isTypedArray(i)?r[a]=i.subarray(0,3):r[a]=i&&"object"==typeof i?l.minExtend(e[a],t[a]):i);for(o=Object.keys(t),n=0;n<o.length;n++)"object"==typeof(i=t[a=o[n]])&&a in r&&"object"==typeof r[a]||(r[a]=i);return r},l.titleCase=function(e){return e.charAt(0).toUpperCase()+e.substr(1)},l.containsAny=function(e,t){for(var r=0;r<t.length;r++)if(-1!==e.indexOf(t[r]))return!0;return!1},l.isIE=function(){return void 0!==window.navigator.msSaveBlob};var M=/MSIE [1-9]\./;l.isIE9orBelow=function(){return l.isIE()&&M.test(window.navigator.userAgent)};var S=/Version\/[\d\.]+.*Safari/;l.isSafari=function(){return S.test(window.navigator.userAgent)},l.isD3Selection=function(e){return e&&"function"==typeof e.classed},l.ensureSingle=function(e,t,r,n){var a=e.select(t+(r?"."+r:""));if(a.size())return a;var i=e.append(t);return r&&i.classed(r,!0),n&&i.call(n),i},l.ensureSingleById=function(e,t,r,n){var a=e.select(t+"#"+r);if(a.size())return a;var i=e.append(t).attr("id",r);return n&&i.call(n),i},l.objectFromPath=function(e,t){for(var r,n=e.split("."),a=r={},i=0;i<n.length;i++){var o=n[i],s=null,l=n[i].match(/(.*)\[([0-9]+)\]/);l?(o=l[1],s=l[2],r=r[o]=[],i===n.length-1?r[s]=t:r[s]={},r=r[s]):(i===n.length-1?r[o]=t:r[o]={},r=r[o])}return a};var A=/^([^\[\.]+)\.(.+)?/,C=/^([^\.]+)\[([0-9]+)\](\.)?(.+)?/;l.expandObjectPaths=function(e){var t,r,n,a,i,o,s;if("object"==typeof e&&!Array.isArray(e))for(r in e)e.hasOwnProperty(r)&&((t=r.match(A))?(a=e[r],n=t[1],delete e[r],e[n]=l.extendDeepNoArrays(e[n]||{},l.objectFromPath(r,l.expandObjectPaths(a))[n])):(t=r.match(C))?(a=e[r],n=t[1],i=parseInt(t[2]),delete e[r],e[n]=e[n]||[],"."===t[3]?(s=t[4],o=e[n][i]=e[n][i]||{},l.extendDeepNoArrays(o,l.objectFromPath(s,l.expandObjectPaths(a)))):e[n][i]=l.expandObjectPaths(a)):e[r]=l.expandObjectPaths(e[r]));return e},l.numSeparate=function(e,t,r){if(r||(r=!1),"string"!=typeof t||0===t.length)throw new Error("Separator string required for formatting!");"number"==typeof e&&(e=String(e));var n=/(\d+)(\d{3})/,a=t.charAt(0),i=t.charAt(1),o=e.split("."),s=o[0],l=o.length>1?a+o[1]:"";if(i&&(o.length>1||s.length>4||r))for(;n.test(s);)s=s.replace(n,"$1"+i+"$2");return s+l},l.TEMPLATE_STRING_REGEX=/%{([^\s%{}:]*)([:|\|][^}]*)?}/g;var P=/^\w*$/;l.templateString=function(e,t){var r={};return e.replace(l.TEMPLATE_STRING_REGEX,(function(e,n){var a;return P.test(n)?a=t[n]:(r[n]=r[n]||l.nestedProperty(t,n).get,a=r[n]()),l.isValidTextValue(a)?a:""}))};var O={max:10,count:0,name:"hovertemplate"};l.hovertemplateString=function(){return L.apply(O,arguments)};var I={max:10,count:0,name:"texttemplate"};l.texttemplateString=function(){return L.apply(I,arguments)};var z=/^[:|\|]/;function L(e,t,r){var a=this,i=arguments;t||(t={});var o={};return e.replace(l.TEMPLATE_STRING_REGEX,(function(e,s,c){var u,d,f,h;for(f=3;f<i.length;f++)if(u=i[f]){if(u.hasOwnProperty(s)){d=u[s];break}if(P.test(s)||(d=o[s]||l.nestedProperty(u,s).get())&&(o[s]=d),void 0!==d)break}if(void 0===d&&a)return a.count<a.max&&(l.warn("Variable '"+s+"' in "+a.name+" could not be found!"),d=e),a.count===a.max&&l.warn("Too many "+a.name+" warnings - additional warnings will be suppressed"),a.count++,e;if(c){if(":"===c[0]&&(d=(h=r?r.numberFormat:n.format)(c.replace(z,""))(d)),"|"===c[0]){h=r?r.timeFormat.utc:n.time.format.utc;var p=l.dateTime2ms(d);d=l.formatDate(p,c.replace(z,""),!1,h)}}else t.hasOwnProperty(s+"Label")&&(d=t[s+"Label"]);return d}))}l.subplotSort=function(e,t){for(var r=Math.min(e.length,t.length)+1,n=0,a=0,i=0;i<r;i++){var o=e.charCodeAt(i)||0,s=t.charCodeAt(i)||0,l=o>=48&&o<=57,c=s>=48&&s<=57;if(l&&(n=10*n+o-48),c&&(a=10*a+s-48),!l||!c){if(n!==a)return n-a;if(o!==s)return o-s}}return a-n};var E=2e9;l.seedPseudoRandom=function(){E=2e9},l.pseudoRandom=function(){var e=E;return E=(69069*E+1)%4294967296,Math.abs(E-e)<429496729?l.pseudoRandom():E/4294967296},l.fillText=function(e,t,r){var n=Array.isArray(r)?function(e){r.push(e)}:function(e){r.text=e},a=l.extractOption(e,t,"htx","hovertext");if(l.isValidTextValue(a))return n(a);var i=l.extractOption(e,t,"tx","text");return l.isValidTextValue(i)?n(i):void 0},l.isValidTextValue=function(e){return e||0===e},l.formatPercent=function(e,t){t=t||0;for(var r=(Math.round(100*e*Math.pow(10,t))*Math.pow(.1,t)).toFixed(t)+"%",n=0;n<t;n++)-1!==r.indexOf(".")&&(r=(r=r.replace("0%","%")).replace(".%","%"));return r},l.isHidden=function(e){var t=window.getComputedStyle(e).display;return!t||"none"===t},l.getTextTransform=function(e){var t=e.noCenter,r=e.textX,n=e.textY,a=e.targetX,i=e.targetY,o=e.anchorX||0,s=e.anchorY||0,l=e.rotate,c=e.scale;return c?c>1&&(c=1):c=0,"translate("+(a-c*(r+o))+","+(i-c*(n+s))+")"+(c<1?"scale("+c+")":"")+(l?"rotate("+l+(t?"":" "+r+" "+n)+")":"")},l.ensureUniformFontSize=function(e,t){var r=l.extendFlat({},t);return r.size=Math.max(t.size,e._fullLayout.uniformtext.minsize||0),r}},"/Hui":function(e,t,r){"use strict";var n=r("E6B2");t.calc=function(e,t){return n.calc(e,t)},t.crossTraceCalc=function(e){return n._runCrossTraceCalc("treemap",e)}},"/J0I":function(e,t,r){(t=r("JPst")(!1)).push([e.i,'.spinner[data-v-638dd89f]{overflow:hidden;display:flex;justify-content:center;align-items:center}.spinner *[data-v-638dd89f]{box-sizing:border-box}.cube[data-v-638dd89f]{width:80px;height:80px;line-height:80px;text-align:center;transform-style:preserve-3d;transition:transform 0.5s 0.1s;perspective:9999px;color:#333;opacity:1;position:relative}.cube.panelLoad[data-v-638dd89f]{z-index:11;top:50%;animation:letter-cube-panel-data-v-638dd89f 2.2s infinite forwards}.cube.panelLoad .cube-face[data-v-638dd89f]{font-family:"Open Sans",sans-serif;font-size:50px;color:#41b883;box-shadow:inset 0 0 0 1px #41b883, 0 0 1px 1px #41b883}.cube .cube-face[data-v-638dd89f]{width:inherit;height:inherit;position:absolute;background:white;box-shadow:inset 0 0 0 1px #333, 0 0 1px 1px #333;opacity:1}.cube .cube-face-front[data-v-638dd89f]{transform:translate3d(0, 0, 40px);font-size:57px}.cube .cube-face-back[data-v-638dd89f]{transform:rotateY(180deg) translate3d(0, 0, 40px)}.cube .cube-face-left[data-v-638dd89f]{transform:rotateY(-90deg) translate3d(0, 0, 40px)}.cube .cube-face-right[data-v-638dd89f]{transform:rotateY(90deg) translate3d(0, 0, 40px)}.cube .cube-face-top[data-v-638dd89f]{transform:rotateX(90deg) translate3d(0, 0, 40px)}.cube .cube-face-bottom[data-v-638dd89f]{transform:rotateX(-90deg) translate3d(0, 0, 40px)}@keyframes letter-cube-panel-data-v-638dd89f{0%{transform:rotateY(0deg) rotateZ(0deg)}20%{transform:rotateY(90deg) rotateZ(0deg)}40%{transform:rotateX(45deg) rotateZ(45deg)}60%{transform:rotateX(90deg) rotateY(180deg) rotateX(90deg)}80%{transform:rotateX(310deg) rotateZ(230deg)}100%{transform:rotateX(360deg) rotateZ(360deg)}}\n',""]),e.exports=t},"/LJd":function(e,t,r){"use strict";e.exports={moduleType:"component",name:"colorbar",attributes:r("Z8TU"),supplyDefaults:r("jyrE"),draw:r("jezF").draw,hasColorbar:r("cIkR")}},"/LM6":function(e,t,r){"use strict";e.exports={min:"zmin",max:"zmax"}},"/NYH":function(e,t,r){"use strict";var n=r("/CZE"),a=r("89+b");e.exports=function(e,t){function r(r,i){return n.coerce(e,t,a,r,i)}r("hiddenlabels"),r("funnelareacolorway",t.colorway),r("extendfunnelareacolors")}},"/RqY":function(e,t,r){(t=r("JPst")(!1)).push([e.i,".spinner[data-v-6ce3a847]{box-sizing:border-box;position:relative;border:3px solid transparent;border-top-color:#f7484e;border-radius:50%;animation:circle-4-spin-data-v-6ce3a847 2s linear infinite}.spinner[data-v-6ce3a847]:before,.spinner[data-v-6ce3a847]:after{content:'';box-sizing:border-box;position:absolute;border:3px solid transparent;border-radius:50%}.spinner[data-v-6ce3a847]:before{border-top-color:#f8b334;top:0;left:0;right:0;bottom:0;animation:circle-4-spin-data-v-6ce3a847 3s linear infinite}.spinner[data-v-6ce3a847]:after{border-top-color:#41b883;top:6px;left:6px;right:6px;bottom:6px;animation:spin 4s linear infinite}@keyframes circle-4-spin-data-v-6ce3a847{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}\n",""]),e.exports=t},"/YBL":function(e,t,r){"use strict";var n=r("bljh"),a=r("u3HJ"),i=r("0RW4"),o=r("g9E0"),s=r("/CZE"),l=r("A3kh"),c=r("plED").arrayEditor,u=r("Y9zF").LINE_SPACING,d=r("PS76"),f=r("j/Ga");function h(e){return e._index}function p(e,t){return+e.attr(d.menuIndexAttrName)===t._index}function g(e,t,r,n,a,i,o,s){t.active=o,c(e.layout,d.name,t).applyUpdate("active",o),"buttons"===t.type?m(e,n,null,null,t):"dropdown"===t.type&&(a.attr(d.menuIndexAttrName,"-1"),v(e,n,a,i,t),s||m(e,n,a,i,t))}function v(e,t,r,n,a){var i=s.ensureSingle(t,"g",d.headerClassName,(function(e){e.style("pointer-events","all")})),l=a._dims,c=a.active,u=a.buttons[c]||d.blankHeaderOpts,f={y:a.pad.t,yPad:0,x:a.pad.l,xPad:0,index:0},h={width:l.headerWidth,height:l.headerHeight};i.call(y,a,u,e).call(S,a,f,h),s.ensureSingle(t,"text",d.headerArrowClassName,(function(e){e.classed("user-select-none",!0).attr("text-anchor","end").call(o.font,a.font).text(d.arrowSymbol[a.direction])})).attr({x:l.headerWidth-d.arrowOffsetX+a.pad.l,y:l.headerHeight/2+d.textOffsetY+a.pad.t}),i.on("click",(function(){r.call(A,String(p(r,a)?-1:a._index)),m(e,t,r,n,a)})),i.on("mouseover",(function(){i.call(_)})),i.on("mouseout",(function(){i.call(k,a)})),o.setTranslate(t,l.lx,l.ly)}function m(e,t,r,i,o){r||(r=t).attr("pointer-events","all");var l=function(e){return-1==+e.attr(d.menuIndexAttrName)}(r)&&"buttons"!==o.type?[]:o.buttons,c="dropdown"===o.type?d.dropdownButtonClassName:d.buttonClassName,u=r.selectAll("g."+c).data(s.filterVisible(l)),f=u.enter().append("g").classed(c,!0),h=u.exit();"dropdown"===o.type?(f.attr("opacity","0").transition().attr("opacity","1"),h.transition().attr("opacity","0").remove()):h.remove();var p=0,v=0,m=o._dims,x=-1!==["up","down"].indexOf(o.direction);"dropdown"===o.type&&(x?v=m.headerHeight+d.gapButtonHeader:p=m.headerWidth+d.gapButtonHeader),"dropdown"===o.type&&"up"===o.direction&&(v=-d.gapButtonHeader+d.gapButton-m.openHeight),"dropdown"===o.type&&"left"===o.direction&&(p=-d.gapButtonHeader+d.gapButton-m.openWidth);var b={x:m.lx+p+o.pad.l,y:m.ly+v+o.pad.t,yPad:d.gapButton,xPad:d.gapButton,index:0},T={l:b.x+o.borderwidth,t:b.y+o.borderwidth};u.each((function(s,l){var c=n.select(this);c.call(y,o,s,e).call(S,o,b),c.on("click",(function(){n.event.defaultPrevented||(s.execute&&(s.args2&&o.active===l?(g(e,o,0,t,r,i,-1),a.executeAPICommand(e,s.method,s.args2)):(g(e,o,0,t,r,i,l),a.executeAPICommand(e,s.method,s.args))),e.emit("plotly_buttonclicked",{menu:o,button:s,active:o.active}))})),c.on("mouseover",(function(){c.call(_)})),c.on("mouseout",(function(){c.call(k,o),u.call(w,o)}))})),u.call(w,o),x?(T.w=Math.max(m.openWidth,m.headerWidth),T.h=b.y-T.t):(T.w=b.x-T.l,T.h=Math.max(m.openHeight,m.headerHeight)),T.direction=o.direction,i&&(u.size()?function(e,t,r,n,a,i){var o,s,l,c=a.direction,u="up"===c||"down"===c,f=a._dims,h=a.active;if(u)for(s=0,l=0;l<h;l++)s+=f.heights[l]+d.gapButton;else for(o=0,l=0;l<h;l++)o+=f.widths[l]+d.gapButton;n.enable(i,o,s),n.hbar&&n.hbar.attr("opacity","0").transition().attr("opacity","1");n.vbar&&n.vbar.attr("opacity","0").transition().attr("opacity","1")}(0,0,0,i,o,T):function(e){var t=!!e.hbar,r=!!e.vbar;t&&e.hbar.transition().attr("opacity","0").each("end",(function(){t=!1,r||e.disable()}));r&&e.vbar.transition().attr("opacity","0").each("end",(function(){r=!1,t||e.disable()}))}(i))}function y(e,t,r,n){e.call(x,t).call(b,t,r,n)}function x(e,t){s.ensureSingle(e,"rect",d.itemRectClassName,(function(e){e.attr({rx:d.rx,ry:d.ry,"shape-rendering":"crispEdges"})})).call(i.stroke,t.bordercolor).call(i.fill,t.bgcolor).style("stroke-width",t.borderwidth+"px")}function b(e,t,r,n){var a=s.ensureSingle(e,"text",d.itemTextClassName,(function(e){e.classed("user-select-none",!0).attr({"text-anchor":"start","data-notex":1})})),i=r.label,c=n._fullLayout._meta;c&&(i=s.templateString(i,c)),a.call(o.font,t.font).text(i).call(l.convertToTspans,n)}function w(e,t){var r=t.active;e.each((function(e,a){var o=n.select(this);a===r&&t.showactive&&o.select("rect."+d.itemRectClassName).call(i.fill,d.activeColor)}))}function _(e){e.select("rect."+d.itemRectClassName).call(i.fill,d.hoverColor)}function k(e,t){e.select("rect."+d.itemRectClassName).call(i.fill,t.bgcolor)}function T(e,t){var r=t._dims={width1:0,height1:0,heights:[],widths:[],totalWidth:0,totalHeight:0,openWidth:0,openHeight:0,lx:0,ly:0},i=o.tester.selectAll("g."+d.dropdownButtonClassName).data(s.filterVisible(t.buttons));i.enter().append("g").classed(d.dropdownButtonClassName,!0);var c=-1!==["up","down"].indexOf(t.direction);i.each((function(a,i){var s=n.select(this);s.call(y,t,a,e);var f=s.select("."+d.itemTextClassName),h=f.node()&&o.bBox(f.node()).width,p=Math.max(h+d.textPadX,d.minWidth),g=t.font.size*u,v=l.lineCount(f),m=Math.max(g*v,d.minHeight)+d.textOffsetY;m=Math.ceil(m),p=Math.ceil(p),r.widths[i]=p,r.heights[i]=m,r.height1=Math.max(r.height1,m),r.width1=Math.max(r.width1,p),c?(r.totalWidth=Math.max(r.totalWidth,p),r.openWidth=r.totalWidth,r.totalHeight+=m+d.gapButton,r.openHeight+=m+d.gapButton):(r.totalWidth+=p+d.gapButton,r.openWidth+=p+d.gapButton,r.totalHeight=Math.max(r.totalHeight,m),r.openHeight=r.totalHeight)})),c?r.totalHeight-=d.gapButton:r.totalWidth-=d.gapButton,r.headerWidth=r.width1+d.arrowPadX,r.headerHeight=r.height1,"dropdown"===t.type&&(c?(r.width1+=d.arrowPadX,r.totalHeight=r.height1):r.totalWidth=r.width1,r.totalWidth+=d.arrowPadX),i.remove();var f=r.totalWidth+t.pad.l+t.pad.r,h=r.totalHeight+t.pad.t+t.pad.b,p=e._fullLayout._size;r.lx=p.l+p.w*t.x,r.ly=p.t+p.h*(1-t.y);var g="left";s.isRightAnchor(t)&&(r.lx-=f,g="right"),s.isCenterAnchor(t)&&(r.lx-=f/2,g="center");var v="top";s.isBottomAnchor(t)&&(r.ly-=h,v="bottom"),s.isMiddleAnchor(t)&&(r.ly-=h/2,v="middle"),r.totalWidth=Math.ceil(r.totalWidth),r.totalHeight=Math.ceil(r.totalHeight),r.lx=Math.round(r.lx),r.ly=Math.round(r.ly),a.autoMargin(e,M(t),{x:t.x,y:t.y,l:f*({right:1,center:.5}[g]||0),r:f*({left:1,center:.5}[g]||0),b:h*({top:1,middle:.5}[v]||0),t:h*({bottom:1,middle:.5}[v]||0)})}function M(e){return d.autoMarginIdRoot+e._index}function S(e,t,r,n){n=n||{};var a=e.select("."+d.itemRectClassName),i=e.select("."+d.itemTextClassName),s=t.borderwidth,c=r.index,f=t._dims;o.setTranslate(e,s+r.x,s+r.y);var h=-1!==["up","down"].indexOf(t.direction),p=n.height||(h?f.heights[c]:f.height1);a.attr({x:0,y:0,width:n.width||(h?f.width1:f.widths[c]),height:p});var g=t.font.size*u,v=(l.lineCount(i)-1)*g/2;l.positionText(i,d.textOffsetX,p/2-v+d.textOffsetY),h?r.y+=f.heights[c]+r.yPad:r.x+=f.widths[c]+r.xPad,r.index++}function A(e,t){e.attr(d.menuIndexAttrName,t||"-1").selectAll("g."+d.dropdownButtonClassName).remove()}e.exports=function(e){var t=e._fullLayout,r=s.filterVisible(t[d.name]);function i(t){a.autoMargin(e,M(t))}var o=t._menulayer.selectAll("g."+d.containerClassName).data(r.length>0?[0]:[]);if(o.enter().append("g").classed(d.containerClassName,!0).style("cursor","pointer"),o.exit().each((function(){n.select(this).selectAll("g."+d.headerGroupClassName).each(i)})).remove(),0!==r.length){var l=o.selectAll("g."+d.headerGroupClassName).data(r,h);l.enter().append("g").classed(d.headerGroupClassName,!0);for(var c=s.ensureSingle(o,"g",d.dropdownButtonGroupClassName,(function(e){e.style("pointer-events","all")})),u=0;u<r.length;u++){var y=r[u];T(e,y)}var x="updatemenus"+t._uid,b=new f(e,c,x);l.enter().size()&&(c.node().parentNode.appendChild(c.node()),c.call(A)),l.exit().each((function(e){c.call(A),i(e)})).remove(),l.each((function(t){var r=n.select(this),i="dropdown"===t.type?c:null;a.manageCommandObserver(e,t,t.buttons,(function(n){g(e,t,t.buttons[n.index],r,i,b,n.index,!0)})),"dropdown"===t.type?(v(e,r,c,b,t),p(c,t)&&m(e,r,c,b,t)):m(e,r,null,null,t)}))}}},"/bfX":function(e,t,r){"use strict";var n=r("lzY6");r.n(n).a},"/cea":function(e,t,r){"use strict";var n=r("2FgJ"),a=r("/CZE");t.rangeToShapePosition=function(e){return"log"===e.type?e.r2d:function(e){return e}},t.shapePositionToRange=function(e){return"log"===e.type?e.d2r:function(e){return e}},t.decodeDate=function(e){return function(t){return t.replace&&(t=t.replace("_"," ")),e(t)}},t.encodeDate=function(e){return function(t){return e(t).replace(" ","_")}},t.extractPathCoords=function(e,t){var r=[];return e.match(n.segmentRE).forEach((function(e){var i=t[e.charAt(0)].drawn;if(void 0!==i){var o=e.substr(1).match(n.paramRE);!o||o.length<i||r.push(a.cleanNumber(o[i]))}})),r},t.getDataToPixel=function(e,r,n){var a,i=e._fullLayout._size;if(r){var o=t.shapePositionToRange(r);a=function(e){return r._offset+r.r2p(o(e,!0))},"date"===r.type&&(a=t.decodeDate(a))}else a=n?function(e){return i.t+i.h*(1-e)}:function(e){return i.l+i.w*e};return a},t.getPixelToData=function(e,r,n){var a,i=e._fullLayout._size;if(r){var o=t.rangeToShapePosition(r);a=function(e){return o(r.p2r(e-r._offset))}}else a=n?function(e){return 1-(e-i.t)/i.h}:function(e){return(e-i.l)/i.w};return a},t.roundPositionForSharpStrokeRendering=function(e,t){var r=1===Math.round(t%2),n=Math.round(e);return r?n+.5:n},t.makeOptionsAndPlotinfo=function(e,t){var r=e._fullLayout.shapes[t]||{},n=e._fullLayout._plots[r.xref+r.yref];return!!n?n._hadPlotinfo=!0:(n={},r.xref&&"paper"!==r.xref&&(n.xaxis=e._fullLayout[r.xref+"axis"]),r.yref&&"paper"!==r.yref&&(n.yaxis=e._fullLayout[r.yref+"axis"])),n.xsizemode=r.xsizemode,n.ysizemode=r.ysizemode,n.xanchor=r.xanchor,n.yanchor=r.yanchor,{options:r,plotinfo:n}}},"/rf6":function(e,t,r){"use strict";function n(e,t,r){void 0===r&&(r={});var n={type:"Feature"};return(0===r.id||r.id)&&(n.id=r.id),r.bbox&&(n.bbox=r.bbox),n.properties=t||{},n.geometry=e,n}function a(e,t,r){return void 0===r&&(r={}),n({type:"Point",coordinates:e},t,r)}function i(e,t,r){void 0===r&&(r={});for(var a=0,i=e;a<i.length;a++){var o=i[a];if(o.length<4)throw new Error("Each LinearRing of a Polygon must have 4 or more Positions.");for(var s=0;s<o[o.length-1].length;s++)if(o[o.length-1][s]!==o[0][s])throw new Error("First and last Position are not equivalent.")}return n({type:"Polygon",coordinates:e},t,r)}function o(e,t,r){if(void 0===r&&(r={}),e.length<2)throw new Error("coordinates must be an array of two or more positions");return n({type:"LineString",coordinates:e},t,r)}function s(e,t){void 0===t&&(t={});var r={type:"FeatureCollection"};return t.id&&(r.id=t.id),t.bbox&&(r.bbox=t.bbox),r.features=e,r}function l(e,t,r){return void 0===r&&(r={}),n({type:"MultiLineString",coordinates:e},t,r)}function c(e,t,r){return void 0===r&&(r={}),n({type:"MultiPoint",coordinates:e},t,r)}function u(e,t,r){return void 0===r&&(r={}),n({type:"MultiPolygon",coordinates:e},t,r)}function d(e,r){void 0===r&&(r="kilometers");var n=t.factors[r];if(!n)throw new Error(r+" units is invalid");return e*n}function f(e,r){void 0===r&&(r="kilometers");var n=t.factors[r];if(!n)throw new Error(r+" units is invalid");return e/n}function h(e){return 180*(e%(2*Math.PI))/Math.PI}function p(e){return!isNaN(e)&&null!==e&&!Array.isArray(e)&&!/^\s*$/.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.earthRadius=6371008.8,t.factors={centimeters:100*t.earthRadius,centimetres:100*t.earthRadius,degrees:t.earthRadius/111325,feet:3.28084*t.earthRadius,inches:39.37*t.earthRadius,kilometers:t.earthRadius/1e3,kilometres:t.earthRadius/1e3,meters:t.earthRadius,metres:t.earthRadius,miles:t.earthRadius/1609.344,millimeters:1e3*t.earthRadius,millimetres:1e3*t.earthRadius,nauticalmiles:t.earthRadius/1852,radians:1,yards:t.earthRadius/1.0936},t.unitsFactors={centimeters:100,centimetres:100,degrees:1/111325,feet:3.28084,inches:39.37,kilometers:.001,kilometres:.001,meters:1,metres:1,miles:1/1609.344,millimeters:1e3,millimetres:1e3,nauticalmiles:1/1852,radians:1/t.earthRadius,yards:1/1.0936},t.areaFactors={acres:247105e-9,centimeters:1e4,centimetres:1e4,feet:10.763910417,inches:1550.003100006,kilometers:1e-6,kilometres:1e-6,meters:1,metres:1,miles:386e-9,millimeters:1e6,millimetres:1e6,yards:1.195990046},t.feature=n,t.geometry=function(e,t,r){switch(void 0===r&&(r={}),e){case"Point":return a(t).geometry;case"LineString":return o(t).geometry;case"Polygon":return i(t).geometry;case"MultiPoint":return c(t).geometry;case"MultiLineString":return l(t).geometry;case"MultiPolygon":return u(t).geometry;default:throw new Error(e+" is invalid")}},t.point=a,t.points=function(e,t,r){return void 0===r&&(r={}),s(e.map((function(e){return a(e,t)})),r)},t.polygon=i,t.polygons=function(e,t,r){return void 0===r&&(r={}),s(e.map((function(e){return i(e,t)})),r)},t.lineString=o,t.lineStrings=function(e,t,r){return void 0===r&&(r={}),s(e.map((function(e){return o(e,t)})),r)},t.featureCollection=s,t.multiLineString=l,t.multiPoint=c,t.multiPolygon=u,t.geometryCollection=function(e,t,r){return void 0===r&&(r={}),n({type:"GeometryCollection",geometries:e},t,r)},t.round=function(e,t){if(void 0===t&&(t=0),t&&!(t>=0))throw new Error("precision must be a positive number");var r=Math.pow(10,t||0);return Math.round(e*r)/r},t.radiansToLength=d,t.lengthToRadians=f,t.lengthToDegrees=function(e,t){return h(f(e,t))},t.bearingToAzimuth=function(e){var t=e%360;return t<0&&(t+=360),t},t.radiansToDegrees=h,t.degreesToRadians=function(e){return e%360*Math.PI/180},t.convertLength=function(e,t,r){if(void 0===t&&(t="kilometers"),void 0===r&&(r="kilometers"),!(e>=0))throw new Error("length must be a positive number");return d(f(e,t),r)},t.convertArea=function(e,r,n){if(void 0===r&&(r="meters"),void 0===n&&(n="kilometers"),!(e>=0))throw new Error("area must be a positive number");var a=t.areaFactors[r];if(!a)throw new Error("invalid original units");var i=t.areaFactors[n];if(!i)throw new Error("invalid final units");return e/a*i},t.isNumber=p,t.isObject=function(e){return!!e&&e.constructor===Object},t.validateBBox=function(e){if(!e)throw new Error("bbox is required");if(!Array.isArray(e))throw new Error("bbox must be an Array");if(4!==e.length&&6!==e.length)throw new Error("bbox must be an Array of 4 or 6 numbers");e.forEach((function(e){if(!p(e))throw new Error("bbox must only contain numbers")}))},t.validateId=function(e){if(!e)throw new Error("id is required");if(-1===["string","number"].indexOf(typeof e))throw new Error("id must be a number or a string")},t.radians2degrees=function(){throw new Error("method has been renamed to `radiansToDegrees`")},t.degrees2radians=function(){throw new Error("method has been renamed to `degreesToRadians`")},t.distanceToDegrees=function(){throw new Error("method has been renamed to `lengthToDegrees`")},t.distanceToRadians=function(){throw new Error("method has been renamed to `lengthToRadians`")},t.radiansToDistance=function(){throw new Error("method has been renamed to `radiansToLength`")},t.bearingToAngle=function(){throw new Error("method has been renamed to `bearingToAzimuth`")},t.convertDistance=function(){throw new Error("method has been renamed to `convertLength`")}},"/u34":function(e,t,r){"use strict";var n=r("0RW4"),a=r("3oHU");e.exports=function(e,t){var r,i;if("lines"===e.mode)return(r=e.line.color)&&n.opacity(r)?r:e.fillcolor;if("none"===e.mode)return e.fill?e.fillcolor:"";var o=t.mcc||(e.marker||{}).color,s=t.mlcc||((e.marker||{}).line||{}).color;return(i=o&&n.opacity(o)?o:s&&n.opacity(s)&&(t.mlw||((e.marker||{}).line||{}).width)?s:"")?n.opacity(i)<.3?n.addOpacity(i,.3):i:(r=(e.line||{}).color)&&n.opacity(r)&&a.hasLines(e)&&e.line.width?r:e.fillcolor}},"/w3t":function(e,t,r){"use strict";e.exports={attributes:r("+1rr"),layoutAttributes:r("N+MO"),supplyDefaults:r("HByh").supplyDefaults,crossTraceDefaults:r("HByh").crossTraceDefaults,supplyLayoutDefaults:r("7RaA"),calc:r("14/L"),crossTraceCalc:r("DOzC").crossTraceCalc,colorbar:r("88/Y"),arraysToCalcdata:r("QkuE"),plot:r("x5FY").plot,style:r("LfN2").style,styleOnSelect:r("LfN2").styleOnSelect,hoverPoints:r("rJf6").hoverPoints,eventData:r("1Bxf"),selectPoints:r("cADB"),moduleType:"trace",name:"bar",basePlotModule:r("kc20"),categories:["bar-like","cartesian","svg","bar","oriented","errorBarsOK","showLegend","zoomScale"],animatable:!0,meta:{description:["The data visualized by the span of the bars is set in `y`","if `orientation` is set th *v* (the default)","and the labels are set in `x`.","By setting `orientation` to *h*, the roles are interchanged."].join(" ")}}},"03k1":function(e,t,r){var n=r("CQYH");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("6d8679b2",n,!0,{})},"09xr":function(e,t,r){"use strict";e.exports={mod:function(e,t){var r=e%t;return r<0?r+t:r},modHalf:function(e,t){return Math.abs(e)>t/2?e-Math.round(e/t)*t:e}}},"0GSP":function(e,t,r){"use strict";var n=r("/CZE"),a=r("6AZA").BADNUM;e.exports=function(e,t,r,i,o,s){var l,c,u,d,f=e._length,h=t.makeCalcdata(e,i),p=r.makeCalcdata(e,o),g=e.text,v=void 0!==g&&n.isArray1D(g),m=e.hovertext,y=void 0!==m&&n.isArray1D(m),x=n.distinctVals(h),b=x.vals,w=n.distinctVals(p),_=w.vals,k=[],T=_.length,M=b.length;for(l=0;l<s.length;l++)k[l]=n.init2dArray(T,M);v&&(u=n.init2dArray(T,M)),y&&(d=n.init2dArray(T,M));var S=n.init2dArray(T,M);for(l=0;l<f;l++)if(h[l]!==a&&p[l]!==a){var A=n.findBin(h[l]+x.minDiff/2,b),C=n.findBin(p[l]+w.minDiff/2,_);for(c=0;c<s.length;c++){var P=e[s[c]];k[c][C][A]=P[l],S[C][A]=l}v&&(u[C][A]=g[l]),y&&(d[C][A]=m[l])}for(e["_"+i]=b,e["_"+o]=_,c=0;c<s.length;c++)e["_"+s[c]]=k[c];v&&(e._text=u),y&&(e._hovertext=d),t&&"category"===t.type&&(e["_"+i+"CategoryMap"]=b.map((function(e){return t._categories[e]}))),r&&"category"===r.type&&(e["_"+o+"CategoryMap"]=_.map((function(e){return r._categories[e]}))),e._after2before=S}},"0K3i":function(e,t,r){"use strict";var n=r("GbLo"),a=r("6AZA").BADNUM,i=r("OqjQ"),o=r("EGun"),s=r("QTaS");function l(e){return e&&"string"==typeof e}e.exports=function(e,t){var r,c=t._length,u=new Array(c);r=t.geojson?function(e){return l(e)||n(e)}:l;for(var d=0;d<c;d++){var f=u[d]={},h=t.locations[d],p=t.z[d];r(h)&&n(p)?(f.loc=h,f.z=p):(f.loc=null,f.z=a),f.index=d}return o(u,t),i(e,t,{vals:t.z,containerStr:"",cLetter:"z"}),s(u,t),u}},"0RW4":function(e,t,r){"use strict";var n=r("Zss7"),a=r("GbLo"),i=e.exports={},o=r("37PH");i.defaults=o.defaults;var s=i.defaultLine=o.defaultLine;i.lightLine=o.lightLine;var l=i.background=o.background;function c(e){if(a(e)||"string"!=typeof e)return e;var t=e.trim();if("rgb"!==t.substr(0,3))return e;var r=t.match(/^rgba?\s*\(([^()]*)\)$/);if(!r)return e;var n=r[1].trim().split(/\s*[\s,]\s*/),i="a"===t.charAt(3)&&4===n.length;if(!i&&3!==n.length)return e;for(var o=0;o<n.length;o++){if(!n[o].length)return e;if(n[o]=Number(n[o]),!(n[o]>=0))return e;if(3===o)n[o]>1&&(n[o]=1);else if(n[o]>=1)return e}var s=Math.round(255*n[0])+", "+Math.round(255*n[1])+", "+Math.round(255*n[2]);return i?"rgba("+s+", "+n[3]+")":"rgb("+s+")"}i.tinyRGB=function(e){var t=e.toRgb();return"rgb("+Math.round(t.r)+", "+Math.round(t.g)+", "+Math.round(t.b)+")"},i.rgb=function(e){return i.tinyRGB(n(e))},i.opacity=function(e){return e?n(e).getAlpha():0},i.addOpacity=function(e,t){var r=n(e).toRgb();return"rgba("+Math.round(r.r)+", "+Math.round(r.g)+", "+Math.round(r.b)+", "+t+")"},i.combine=function(e,t){var r=n(e).toRgb();if(1===r.a)return n(e).toRgbString();var a=n(t||l).toRgb(),i=1===a.a?a:{r:255*(1-a.a)+a.r*a.a,g:255*(1-a.a)+a.g*a.a,b:255*(1-a.a)+a.b*a.a},o={r:i.r*(1-r.a)+r.r*r.a,g:i.g*(1-r.a)+r.g*r.a,b:i.b*(1-r.a)+r.b*r.a};return n(o).toRgbString()},i.contrast=function(e,t,r){var a=n(e);return 1!==a.getAlpha()&&(a=n(i.combine(e,l))),(a.isDark()?t?a.lighten(t):l:r?a.darken(r):s).toString()},i.stroke=function(e,t){var r=n(t);e.style({stroke:i.tinyRGB(r),"stroke-opacity":r.getAlpha()})},i.fill=function(e,t){var r=n(t);e.style({fill:i.tinyRGB(r),"fill-opacity":r.getAlpha()})},i.clean=function(e){if(e&&"object"==typeof e){var t,r,n,a,o=Object.keys(e);for(t=0;t<o.length;t++)if(a=e[n=o[t]],"color"===n.substr(n.length-5))if(Array.isArray(a))for(r=0;r<a.length;r++)a[r]=c(a[r]);else e[n]=c(a);else if("colorscale"===n.substr(n.length-10)&&Array.isArray(a))for(r=0;r<a.length;r++)Array.isArray(a[r])&&(a[r][1]=c(a[r][1]));else if(Array.isArray(a)){var s=a[0];if(!Array.isArray(s)&&s&&"object"==typeof s)for(r=0;r<a.length;r++)i.clean(a[r])}else a&&"object"==typeof a&&i.clean(a)}}},"0Y4q":function(e,t,r){"use strict";var n=r("Nx4I"),a=r("/CZE"),i=a.extendFlat,o=a.extendDeep;function s(e){var t;switch(e){case"themes__thumb":t={autosize:!0,width:150,height:150,title:{text:""},showlegend:!1,margin:{l:5,r:5,t:5,b:5,pad:0},annotations:[]};break;case"thumbnail":t={title:{text:""},hidesources:!0,showlegend:!1,borderwidth:0,bordercolor:"",margin:{l:1,r:1,t:1,b:1,pad:0},annotations:[]};break;default:t={}}return t}e.exports=function(e,t){var r;e.framework&&e.framework.isPolar&&(e=e.framework.getConfig());var a,l=e.data,c=e.layout,u=o([],l),d=o({},c,s(t.tileClass)),f=e._context||{};if(t.width&&(d.width=t.width),t.height&&(d.height=t.height),"thumbnail"===t.tileClass||"themes__thumb"===t.tileClass){d.annotations=[];var h=Object.keys(d);for(r=0;r<h.length;r++)a=h[r],["xaxis","yaxis","zaxis"].indexOf(a.slice(0,5))>-1&&(d[h[r]].title={text:""});for(r=0;r<u.length;r++){var p=u[r];p.showscale=!1,p.marker&&(p.marker.showscale=!1),n.traceIs(p,"pie-like")&&(p.textposition="none")}}if(Array.isArray(t.annotations))for(r=0;r<t.annotations.length;r++)d.annotations.push(t.annotations[r]);var g=Object.keys(d).filter((function(e){return e.match(/^scene\d*$/)}));if(g.length){var v={};for("thumbnail"===t.tileClass&&(v={title:{text:""},showaxeslabels:!1,showticklabels:!1,linetickenable:!1}),r=0;r<g.length;r++){var m=d[g[r]];m.xaxis||(m.xaxis={}),m.yaxis||(m.yaxis={}),m.zaxis||(m.zaxis={}),i(m.xaxis,v),i(m.yaxis,v),i(m.zaxis,v),m._scene=null}}var y=document.createElement("div");t.tileClass&&(y.className=t.tileClass);var x={gd:y,td:y,layout:d,data:u,config:{staticPlot:void 0===t.staticPlot||t.staticPlot,plotGlPixelRatio:void 0===t.plotGlPixelRatio?2:t.plotGlPixelRatio,displaylogo:t.displaylogo||!1,showLink:t.showLink||!1,showTips:t.showTips||!1,mapboxAccessToken:f.mapboxAccessToken}};return"transparent"!==t.setBackground&&(x.config.setBackground=t.setBackground||"opaque"),x.gd.defaultLayout=s(t.tileClass),x}},"0YvE":function(e,t,r){"use strict";e.exports=function(e,t,r,n){if("category"===t.type){var a,i=e.categoryarray,o=Array.isArray(i)&&i.length>0;o&&(a="array");var s,l=r("categoryorder",a);"array"===l&&(s=r("categoryarray")),o||"array"!==l||(l=t.categoryorder="trace"),"trace"===l?t._initialCategories=[]:"array"===l?t._initialCategories=s.slice():(s=function(e,t){var r,n,a,i=t.dataAttr||e._id.charAt(0),o={};if(t.axData)r=t.axData;else for(r=[],n=0;n<t.data.length;n++){var s=t.data[n];s[i+"axis"]===e._id&&r.push(s)}for(n=0;n<r.length;n++){var l=r[n][i];for(a=0;a<l.length;a++){var c=l[a];null!=c&&(o[c]=1)}}return Object.keys(o)}(t,n).sort(),"category ascending"===l?t._initialCategories=s:"category descending"===l&&(t._initialCategories=s.reverse()))}}},"0hfp":function(e,t,r){"use strict";r.r(t),r.d(t,"bbox",(function(){return i})),r.d(t,"feature",(function(){return o})),r.d(t,"mesh",(function(){return u})),r.d(t,"meshArcs",(function(){return d})),r.d(t,"merge",(function(){return h})),r.d(t,"mergeArcs",(function(){return p})),r.d(t,"neighbors",(function(){return v})),r.d(t,"quantize",(function(){return y})),r.d(t,"transform",(function(){return a})),r.d(t,"untransform",(function(){return m}));var n=function(e){return e},a=function(e){if(null==e)return n;var t,r,a=e.scale[0],i=e.scale[1],o=e.translate[0],s=e.translate[1];return function(e,n){n||(t=r=0);var l=2,c=e.length,u=new Array(c);for(u[0]=(t+=e[0])*a+o,u[1]=(r+=e[1])*i+s;l<c;)u[l]=e[l],++l;return u}},i=function(e){var t,r=a(e.transform),n=1/0,i=n,o=-n,s=-n;function l(e){(e=r(e))[0]<n&&(n=e[0]),e[0]>o&&(o=e[0]),e[1]<i&&(i=e[1]),e[1]>s&&(s=e[1])}function c(e){switch(e.type){case"GeometryCollection":e.geometries.forEach(c);break;case"Point":l(e.coordinates);break;case"MultiPoint":e.coordinates.forEach(l)}}for(t in e.arcs.forEach((function(e){for(var t,a=-1,l=e.length;++a<l;)(t=r(e[a],a))[0]<n&&(n=t[0]),t[0]>o&&(o=t[0]),t[1]<i&&(i=t[1]),t[1]>s&&(s=t[1])})),e.objects)c(e.objects[t]);return[n,i,o,s]},o=function(e,t){return"string"==typeof t&&(t=e.objects[t]),"GeometryCollection"===t.type?{type:"FeatureCollection",features:t.geometries.map((function(t){return s(e,t)}))}:s(e,t)};function s(e,t){var r=t.id,n=t.bbox,a=null==t.properties?{}:t.properties,i=l(e,t);return null==r&&null==n?{type:"Feature",properties:a,geometry:i}:null==n?{type:"Feature",id:r,properties:a,geometry:i}:{type:"Feature",id:r,bbox:n,properties:a,geometry:i}}function l(e,t){var r=a(e.transform),n=e.arcs;function i(e,t){t.length&&t.pop();for(var a=n[e<0?~e:e],i=0,o=a.length;i<o;++i)t.push(r(a[i],i));e<0&&function(e,t){for(var r,n=e.length,a=n-t;a<--n;)r=e[a],e[a++]=e[n],e[n]=r}(t,o)}function o(e){return r(e)}function s(e){for(var t=[],r=0,n=e.length;r<n;++r)i(e[r],t);return t.length<2&&t.push(t[0]),t}function l(e){for(var t=s(e);t.length<4;)t.push(t[0]);return t}function c(e){return e.map(l)}return function e(t){var r,n=t.type;switch(n){case"GeometryCollection":return{type:n,geometries:t.geometries.map(e)};case"Point":r=o(t.coordinates);break;case"MultiPoint":r=t.coordinates.map(o);break;case"LineString":r=s(t.arcs);break;case"MultiLineString":r=t.arcs.map(s);break;case"Polygon":r=c(t.arcs);break;case"MultiPolygon":r=t.arcs.map(c);break;default:return null}return{type:n,coordinates:r}}(t)}var c=function(e,t){var r={},n={},a={},i=[],o=-1;function s(e,t){for(var n in e){var a=e[n];delete t[a.start],delete a.start,delete a.end,a.forEach((function(e){r[e<0?~e:e]=1})),i.push(a)}}return t.forEach((function(r,n){var a,i=e.arcs[r<0?~r:r];i.length<3&&!i[1][0]&&!i[1][1]&&(a=t[++o],t[o]=r,t[n]=a)})),t.forEach((function(t){var r,i,o=function(t){var r,n=e.arcs[t<0?~t:t],a=n[0];e.transform?(r=[0,0],n.forEach((function(e){r[0]+=e[0],r[1]+=e[1]}))):r=n[n.length-1];return t<0?[r,a]:[a,r]}(t),s=o[0],l=o[1];if(r=a[s])if(delete a[r.end],r.push(t),r.end=l,i=n[l]){delete n[i.start];var c=i===r?r:r.concat(i);n[c.start=r.start]=a[c.end=i.end]=c}else n[r.start]=a[r.end]=r;else if(r=n[l])if(delete n[r.start],r.unshift(t),r.start=s,i=a[s]){delete a[i.end];var u=i===r?r:i.concat(r);n[u.start=i.start]=a[u.end=r.end]=u}else n[r.start]=a[r.end]=r;else n[(r=[t]).start=s]=a[r.end=l]=r})),s(a,n),s(n,a),t.forEach((function(e){r[e<0?~e:e]||i.push([e])})),i},u=function(e){return l(e,d.apply(this,arguments))};function d(e,t,r){var n,a,i;if(arguments.length>1)n=f(e,t,r);else for(a=0,n=new Array(i=e.arcs.length);a<i;++a)n[a]=a;return{type:"MultiLineString",arcs:c(e,n)}}function f(e,t,r){var n,a=[],i=[];function o(e){var t=e<0?~e:e;(i[t]||(i[t]=[])).push({i:e,g:n})}function s(e){e.forEach(o)}function l(e){e.forEach(s)}return function e(t){switch(n=t,t.type){case"GeometryCollection":t.geometries.forEach(e);break;case"LineString":s(t.arcs);break;case"MultiLineString":case"Polygon":l(t.arcs);break;case"MultiPolygon":!function(e){e.forEach(l)}(t.arcs)}}(t),i.forEach(null==r?function(e){a.push(e[0].i)}:function(e){r(e[0].g,e[e.length-1].g)&&a.push(e[0].i)}),a}var h=function(e){return l(e,p.apply(this,arguments))};function p(e,t){var r={},n=[],a=[];function i(e){e.forEach((function(t){t.forEach((function(t){(r[t=t<0?~t:t]||(r[t]=[])).push(e)}))})),n.push(e)}function o(t){return function(e){for(var t,r=-1,n=e.length,a=e[n-1],i=0;++r<n;)t=a,a=e[r],i+=t[0]*a[1]-t[1]*a[0];return Math.abs(i)}(l(e,{type:"Polygon",arcs:[t]}).coordinates[0])}return t.forEach((function e(t){switch(t.type){case"GeometryCollection":t.geometries.forEach(e);break;case"Polygon":i(t.arcs);break;case"MultiPolygon":t.arcs.forEach(i)}})),n.forEach((function(e){if(!e._){var t=[],n=[e];for(e._=1,a.push(t);e=n.pop();)t.push(e),e.forEach((function(e){e.forEach((function(e){r[e<0?~e:e].forEach((function(e){e._||(e._=1,n.push(e))}))}))}))}})),n.forEach((function(e){delete e._})),{type:"MultiPolygon",arcs:a.map((function(t){var n,a=[];if(t.forEach((function(e){e.forEach((function(e){e.forEach((function(e){r[e<0?~e:e].length<2&&a.push(e)}))}))})),(n=(a=c(e,a)).length)>1)for(var i,s,l=1,u=o(a[0]);l<n;++l)(i=o(a[l]))>u&&(s=a[0],a[0]=a[l],a[l]=s,u=i);return a})).filter((function(e){return e.length>0}))}}var g=function(e,t){for(var r=0,n=e.length;r<n;){var a=r+n>>>1;e[a]<t?r=a+1:n=a}return r},v=function(e){var t={},r=e.map((function(){return[]}));function n(e,r){e.forEach((function(e){e<0&&(e=~e);var n=t[e];n?n.push(r):t[e]=[r]}))}function a(e,t){e.forEach((function(e){n(e,t)}))}var i={LineString:n,MultiLineString:a,Polygon:a,MultiPolygon:function(e,t){e.forEach((function(e){a(e,t)}))}};for(var o in e.forEach((function e(t,r){"GeometryCollection"===t.type?t.geometries.forEach((function(t){e(t,r)})):t.type in i&&i[t.type](t.arcs,r)})),t)for(var s=t[o],l=s.length,c=0;c<l;++c)for(var u=c+1;u<l;++u){var d,f=s[c],h=s[u];(d=r[f])[o=g(d,h)]!==h&&d.splice(o,0,h),(d=r[h])[o=g(d,f)]!==f&&d.splice(o,0,f)}return r},m=function(e){if(null==e)return n;var t,r,a=e.scale[0],i=e.scale[1],o=e.translate[0],s=e.translate[1];return function(e,n){n||(t=r=0);var l=2,c=e.length,u=new Array(c),d=Math.round((e[0]-o)/a),f=Math.round((e[1]-s)/i);for(u[0]=d-t,t=d,u[1]=f-r,r=f;l<c;)u[l]=e[l],++l;return u}},y=function(e,t){if(e.transform)throw new Error("already quantized");if(t&&t.scale)l=e.bbox;else{if(!((r=Math.floor(t))>=2))throw new Error("n must be โฅ2");var r,n=(l=e.bbox||i(e))[0],a=l[1],o=l[2],s=l[3];t={scale:[o-n?(o-n)/(r-1):1,s-a?(s-a)/(r-1):1],translate:[n,a]}}var l,c,u=m(t),d=e.objects,f={};function h(e){return u(e)}function p(e){var t;switch(e.type){case"GeometryCollection":t={type:"GeometryCollection",geometries:e.geometries.map(p)};break;case"Point":t={type:"Point",coordinates:h(e.coordinates)};break;case"MultiPoint":t={type:"MultiPoint",coordinates:e.coordinates.map(h)};break;default:return e}return null!=e.id&&(t.id=e.id),null!=e.bbox&&(t.bbox=e.bbox),null!=e.properties&&(t.properties=e.properties),t}for(c in d)f[c]=p(d[c]);return{type:"Topology",bbox:l,transform:t,objects:f,arcs:e.arcs.map((function(e){var t,r=0,n=1,a=e.length,i=new Array(a);for(i[0]=u(e[0],0);++r<a;)((t=u(e[r],r))[0]||t[1])&&(i[n++]=t);return 1===n&&(i[n++]=[0,0]),i.length=n,i}))}}},"0tl7":function(e,t,r){"use strict";var n=r("mEVB"),a=r("37PH"),i=(0,r("plED").templatedArray)("button",{visible:{valType:"boolean",role:"info",dflt:!0,editType:"plot",description:"Determines whether or not this button is visible."},step:{valType:"enumerated",role:"info",values:["month","year","day","hour","minute","second","all"],dflt:"month",editType:"plot",description:["The unit of measurement that the `count` value will set the range by."].join(" ")},stepmode:{valType:"enumerated",role:"info",values:["backward","todate"],dflt:"backward",editType:"plot",description:["Sets the range update mode.","If *backward*, the range update shifts the start of range","back *count* times *step* milliseconds.","If *todate*, the range update shifts the start of range","back to the first timestamp from *count* times","*step* milliseconds back.","For example, with `step` set to *year* and `count` set to *1*","the range update shifts the start of the range back to","January 01 of the current year.","Month and year *todate* are currently available only","for the built-in (Gregorian) calendar."].join(" ")},count:{valType:"number",role:"info",min:0,dflt:1,editType:"plot",description:["Sets the number of steps to take to update the range.","Use with `step` to specify the update interval."].join(" ")},label:{valType:"string",role:"info",editType:"plot",description:"Sets the text label to appear on the button."},editType:"plot",description:["Sets the specifications for each buttons.","By default, a range selector comes with no buttons."].join(" ")});e.exports={visible:{valType:"boolean",role:"info",editType:"plot",description:["Determines whether or not this range selector is visible.","Note that range selectors are only available for x axes of","`type` set to or auto-typed to *date*."].join(" ")},buttons:i,x:{valType:"number",min:-2,max:3,role:"style",editType:"plot",description:"Sets the x position (in normalized coordinates) of the range selector."},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left",role:"info",editType:"plot",description:["Sets the range selector's horizontal position anchor.","This anchor binds the `x` position to the *left*, *center*","or *right* of the range selector."].join(" ")},y:{valType:"number",min:-2,max:3,role:"style",editType:"plot",description:"Sets the y position (in normalized coordinates) of the range selector."},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"bottom",role:"info",editType:"plot",description:["Sets the range selector's vertical position anchor","This anchor binds the `y` position to the *top*, *middle*","or *bottom* of the range selector."].join(" ")},font:n({editType:"plot",description:"Sets the font of the range selector button text."}),bgcolor:{valType:"color",dflt:a.lightLine,role:"style",editType:"plot",description:"Sets the background color of the range selector buttons."},activecolor:{valType:"color",role:"style",editType:"plot",description:"Sets the background color of the active range selector button."},bordercolor:{valType:"color",dflt:a.defaultLine,role:"style",editType:"plot",description:"Sets the color of the border enclosing the range selector."},borderwidth:{valType:"number",min:0,dflt:0,role:"style",editType:"plot",description:"Sets the width (in px) of the border enclosing the range selector."},editType:"plot"}},"0wH6":function(e,t,r){"use strict";var n=r("BVrX").counter;e.exports={idRegex:{x:n("x"),y:n("y")},attrRegex:n("[xy]axis"),xAxisMatch:n("xaxis"),yAxisMatch:n("yaxis"),AX_ID_PATTERN:/^[xyz][0-9]*$/,AX_NAME_PATTERN:/^[xyz]axis[0-9]*$/,SUBPLOT_PATTERN:/^x([0-9]*)y([0-9]*)$/,HOUR_PATTERN:"hour",WEEKDAY_PATTERN:"day of week",MINDRAG:8,MINSELECT:12,MINZOOM:20,DRAGGERSIZE:20,BENDPX:1.5,REDRAWDELAY:50,SELECTDELAY:100,SELECTID:"-select",DFLTRANGEX:[-1,6],DFLTRANGEY:[-1,4],traceLayerClasses:["imagelayer","heatmaplayer","contourcarpetlayer","contourlayer","funnellayer","waterfalllayer","barlayer","carpetlayer","violinlayer","boxlayer","ohlclayer","scattercarpetlayer","scatterlayer"],clipOnAxisFalseQuery:[".scatterlayer",".barlayer",".funnellayer",".waterfalllayer"],layerValue2layerClass:{"above traces":"above","below traces":"below"}}},1:function(e,t){},"14/L":function(e,t,r){"use strict";var n=r("BkK/"),a=r("IVx0").hasColorscale,i=r("OqjQ"),o=r("QkuE"),s=r("QTaS");e.exports=function(e,t){var r,l,c=n.getFromId(e,t.xaxis||"x"),u=n.getFromId(e,t.yaxis||"y"),d={msUTC:!(!t.base&&0!==t.base)};"h"===t.orientation?(r=c.makeCalcdata(t,"x",d),l=u.makeCalcdata(t,"y")):(r=u.makeCalcdata(t,"y",d),l=c.makeCalcdata(t,"x"));for(var f=Math.min(l.length,r.length),h=new Array(f),p=0;p<f;p++)h[p]={p:l[p],s:r[p]},t.ids&&(h[p].id=String(t.ids[p]));return a(t,"marker")&&i(e,t,{vals:t.marker.color,containerStr:"marker",cLetter:"c"}),a(t,"marker.line")&&i(e,t,{vals:t.marker.line.color,containerStr:"marker.line",cLetter:"c"}),o(h,t),s(h,t),h}},"15jM":function(e,t,r){"use strict";var n=r("mEVB"),a=r("37PH"),i=r("21T9").dash,o=r("kJIm").extendFlat,s=r("plED").templatedArray,l=r("eN+q").FORMAT_LINK,c=r("eN+q").DATE_FORMAT_LINK,u=r("6AZA").ONEDAY,d=r("0wH6"),f=d.HOUR_PATTERN,h=d.WEEKDAY_PATTERN;e.exports={visible:{valType:"boolean",role:"info",editType:"plot",description:["A single toggle to hide the axis while preserving interaction like dragging.","Default is true when a cheater plot is present on the axis, otherwise","false"].join(" ")},color:{valType:"color",dflt:a.defaultLine,role:"style",editType:"ticks",description:["Sets default for all colors associated with this axis","all at once: line, font, tick, and grid colors.","Grid color is lightened by blending this with the plot background","Individual pieces can override this."].join(" ")},title:{text:{valType:"string",role:"info",editType:"ticks",description:["Sets the title of this axis.","Note that before the existence of `title.text`, the title's","contents used to be defined as the `title` attribute itself.","This behavior has been deprecated."].join(" ")},font:n({editType:"ticks",description:["Sets this axis' title font.","Note that the title's font used to be customized","by the now deprecated `titlefont` attribute."].join(" ")}),standoff:{valType:"number",role:"info",min:0,editType:"ticks",description:["Sets the standoff distance (in px) between the axis labels and the title text","The default value is a function of the axis tick labels, the title `font.size`","and the axis `linewidth`.","Note that the axis title position is always constrained within the margins,","so the actual standoff distance is always less than the set or default value.","By setting `standoff` and turning on `automargin`, plotly.js will push the","margins to fit the axis title at given standoff distance."].join(" ")},editType:"ticks"},type:{valType:"enumerated",values:["-","linear","log","date","category","multicategory"],dflt:"-",role:"info",editType:"calc",_noTemplating:!0,description:["Sets the axis type.","By default, plotly attempts to determined the axis type","by looking into the data of the traces that referenced","the axis in question."].join(" ")},autorange:{valType:"enumerated",values:[!0,!1,"reversed"],dflt:!0,role:"info",editType:"axrange",impliedEdits:{"range[0]":void 0,"range[1]":void 0},description:["Determines whether or not the range of this axis is","computed in relation to the input data.","See `rangemode` for more info.","If `range` is provided, then `autorange` is set to *false*."].join(" ")},rangemode:{valType:"enumerated",values:["normal","tozero","nonnegative"],dflt:"normal",role:"info",editType:"plot",description:["If *normal*, the range is computed in relation to the extrema","of the input data.","If *tozero*`, the range extends to 0,","regardless of the input data","If *nonnegative*, the range is non-negative,","regardless of the input data.","Applies only to linear axes."].join(" ")},range:{valType:"info_array",role:"info",items:[{valType:"any",editType:"axrange",impliedEdits:{"^autorange":!1},anim:!0},{valType:"any",editType:"axrange",impliedEdits:{"^autorange":!1},anim:!0}],editType:"axrange",impliedEdits:{autorange:!1},anim:!0,description:["Sets the range of this axis.","If the axis `type` is *log*, then you must take the log of your","desired range (e.g. to set the range from 1 to 100,","set the range from 0 to 2).","If the axis `type` is *date*, it should be date strings,","like date data, though Date objects and unix milliseconds","will be accepted and converted to strings.","If the axis `type` is *category*, it should be numbers,","using the scale where each category is assigned a serial","number from zero in the order it appears."].join(" ")},fixedrange:{valType:"boolean",dflt:!1,role:"info",editType:"calc",description:["Determines whether or not this axis is zoom-able.","If true, then zoom is disabled."].join(" ")},scaleanchor:{valType:"enumerated",values:[d.idRegex.x.toString(),d.idRegex.y.toString()],role:"info",editType:"plot",description:["If set to another axis id (e.g. `x2`, `y`), the range of this axis","changes together with the range of the corresponding axis","such that the scale of pixels per unit is in a constant ratio.","Both axes are still zoomable, but when you zoom one, the other will","zoom the same amount, keeping a fixed midpoint.","`constrain` and `constraintoward` determine how we enforce the constraint.","You can chain these, ie `yaxis: {scaleanchor: *x*}, xaxis2: {scaleanchor: *y*}`","but you can only link axes of the same `type`.","The linked axis can have the opposite letter (to constrain the aspect ratio)","or the same letter (to match scales across subplots).","Loops (`yaxis: {scaleanchor: *x*}, xaxis: {scaleanchor: *y*}` or longer) are redundant","and the last constraint encountered will be ignored to avoid possible","inconsistent constraints via `scaleratio`.","Note that setting axes simultaneously in both a `scaleanchor` and a `matches` constraint","is currently forbidden."].join(" ")},scaleratio:{valType:"number",min:0,dflt:1,role:"info",editType:"plot",description:["If this axis is linked to another by `scaleanchor`, this determines the pixel","to unit scale ratio. For example, if this value is 10, then every unit on","this axis spans 10 times the number of pixels as a unit on the linked axis.","Use this for example to create an elevation profile where the vertical scale","is exaggerated a fixed amount with respect to the horizontal."].join(" ")},constrain:{valType:"enumerated",values:["range","domain"],dflt:"range",role:"info",editType:"plot",description:["If this axis needs to be compressed (either due to its own `scaleanchor` and","`scaleratio` or those of the other axis), determines how that happens:","by increasing the *range* (default), or by decreasing the *domain*."].join(" ")},constraintoward:{valType:"enumerated",values:["left","center","right","top","middle","bottom"],role:"info",editType:"plot",description:["If this axis needs to be compressed (either due to its own `scaleanchor` and","`scaleratio` or those of the other axis), determines which direction we push","the originally specified plot area. Options are *left*, *center* (default),","and *right* for x axes, and *top*, *middle* (default), and *bottom* for y axes."].join(" ")},matches:{valType:"enumerated",values:[d.idRegex.x.toString(),d.idRegex.y.toString()],role:"info",editType:"calc",description:["If set to another axis id (e.g. `x2`, `y`), the range of this axis","will match the range of the corresponding axis in data-coordinates space.","Moreover, matching axes share auto-range values, category lists and","histogram auto-bins.","Note that setting axes simultaneously in both a `scaleanchor` and a `matches` constraint","is currently forbidden.","Moreover, note that matching axes must have the same `type`."].join(" ")},rangebreaks:s("rangebreak",{enabled:{valType:"boolean",role:"info",dflt:!0,editType:"calc",description:["Determines whether this axis rangebreak is enabled or disabled.","Please note that `rangebreaks` only work for *date* axis type."].join(" ")},bounds:{valType:"info_array",role:"info",items:[{valType:"any",editType:"calc"},{valType:"any",editType:"calc"}],editType:"calc",description:["Sets the lower and upper bounds of this axis rangebreak.","Can be used with `pattern`."].join(" ")},pattern:{valType:"enumerated",values:[h,f,""],role:"info",editType:"calc",description:["Determines a pattern on the time line that generates breaks.","If *"+h+"* - days of the week in English e.g. 'Sunday' or `sun`","(matching is case-insensitive and considers only the first three characters),","as well as Sunday-based integers between 0 and 6.","If *"+f+"* - hour (24-hour clock) as decimal numbers between 0 and 24.","for more info.","Examples:","- { pattern: '"+h+"', bounds: [6, 1] }"," or simply { bounds: ['sat', 'mon'] }"," breaks from Saturday to Monday (i.e. skips the weekends).","- { pattern: '"+f+"', bounds: [17, 8] }"," breaks from 5pm to 8am (i.e. skips non-work hours)."].join(" ")},values:{valType:"info_array",freeLength:!0,role:"info",editType:"calc",items:{valType:"any",editType:"calc"},description:["Sets the coordinate values corresponding to the rangebreaks.","An alternative to `bounds`.","Use `dvalue` to set the size of the values along the axis."].join(" ")},dvalue:{valType:"number",role:"info",editType:"calc",min:0,dflt:u,description:["Sets the size of each `values` item.","The default is one day in milliseconds."].join(" ")},editType:"calc"}),tickmode:{valType:"enumerated",values:["auto","linear","array"],role:"info",editType:"ticks",impliedEdits:{tick0:void 0,dtick:void 0},description:["Sets the tick mode for this axis.","If *auto*, the number of ticks is set via `nticks`.","If *linear*, the placement of the ticks is determined by","a starting position `tick0` and a tick step `dtick`","(*linear* is the default value if `tick0` and `dtick` are provided).","If *array*, the placement of the ticks is set via `tickvals`","and the tick text is `ticktext`.","(*array* is the default value if `tickvals` is provided)."].join(" ")},nticks:{valType:"integer",min:0,dflt:0,role:"style",editType:"ticks",description:["Specifies the maximum number of ticks for the particular axis.","The actual number of ticks will be chosen automatically to be","less than or equal to `nticks`.","Has an effect only if `tickmode` is set to *auto*."].join(" ")},tick0:{valType:"any",role:"style",editType:"ticks",impliedEdits:{tickmode:"linear"},description:["Sets the placement of the first tick on this axis.","Use with `dtick`.","If the axis `type` is *log*, then you must take the log of your starting tick","(e.g. to set the starting tick to 100, set the `tick0` to 2)","except when `dtick`=*L<f>* (see `dtick` for more info).","If the axis `type` is *date*, it should be a date string, like date data.","If the axis `type` is *category*, it should be a number, using the scale where","each category is assigned a serial number from zero in the order it appears."].join(" ")},dtick:{valType:"any",role:"style",editType:"ticks",impliedEdits:{tickmode:"linear"},description:["Sets the step in-between ticks on this axis. Use with `tick0`.","Must be a positive number, or special strings available to *log* and *date* axes.","If the axis `type` is *log*, then ticks are set every 10^(n*dtick) where n","is the tick number. For example,","to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1.","To set tick marks at 1, 100, 10000, ... set dtick to 2.","To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433.","*log* has several special values; *L<f>*, where `f` is a positive number,","gives ticks linearly spaced in value (but not position).","For example `tick0` = 0.1, `dtick` = *L0.5* will put ticks at 0.1, 0.6, 1.1, 1.6 etc.","To show powers of 10 plus small digits between, use *D1* (all digits) or *D2* (only 2 and 5).","`tick0` is ignored for *D1* and *D2*.","If the axis `type` is *date*, then you must convert the time to milliseconds.","For example, to set the interval between ticks to one day,","set `dtick` to 86400000.0.","*date* also has special values *M<n>* gives ticks spaced by a number of months.","`n` must be a positive integer.","To set ticks on the 15th of every third month, set `tick0` to *2000-01-15* and `dtick` to *M3*.","To set ticks every 4 years, set `dtick` to *M48*"].join(" ")},tickvals:{valType:"data_array",editType:"ticks",description:["Sets the values at which ticks on this axis appear.","Only has an effect if `tickmode` is set to *array*.","Used with `ticktext`."].join(" ")},ticktext:{valType:"data_array",editType:"ticks",description:["Sets the text displayed at the ticks position via `tickvals`.","Only has an effect if `tickmode` is set to *array*.","Used with `tickvals`."].join(" ")},ticks:{valType:"enumerated",values:["outside","inside",""],role:"style",editType:"ticks",description:["Determines whether ticks are drawn or not.","If **, this axis' ticks are not drawn.","If *outside* (*inside*), this axis' are drawn outside (inside)","the axis lines."].join(" ")},tickson:{valType:"enumerated",values:["labels","boundaries"],role:"info",dflt:"labels",editType:"ticks",description:["Determines where ticks and grid lines are drawn with respect to their","corresponding tick labels.","Only has an effect for axes of `type` *category* or *multicategory*.","When set to *boundaries*, ticks and grid lines are drawn half a category","to the left/bottom of labels."].join(" ")},mirror:{valType:"enumerated",values:[!0,"ticks",!1,"all","allticks"],dflt:!1,role:"style",editType:"ticks+layoutstyle",description:["Determines if the axis lines or/and ticks are mirrored to","the opposite side of the plotting area.","If *true*, the axis lines are mirrored.","If *ticks*, the axis lines and ticks are mirrored.","If *false*, mirroring is disable.","If *all*, axis lines are mirrored on all shared-axes subplots.","If *allticks*, axis lines and ticks are mirrored","on all shared-axes subplots."].join(" ")},ticklen:{valType:"number",min:0,dflt:5,role:"style",editType:"ticks",description:"Sets the tick length (in px)."},tickwidth:{valType:"number",min:0,dflt:1,role:"style",editType:"ticks",description:"Sets the tick width (in px)."},tickcolor:{valType:"color",dflt:a.defaultLine,role:"style",editType:"ticks",description:"Sets the tick color."},showticklabels:{valType:"boolean",dflt:!0,role:"style",editType:"ticks",description:"Determines whether or not the tick labels are drawn."},automargin:{valType:"boolean",dflt:!1,role:"style",editType:"ticks",description:["Determines whether long tick labels automatically grow the figure","margins."].join(" ")},showspikes:{valType:"boolean",dflt:!1,role:"style",editType:"modebar",description:["Determines whether or not spikes (aka droplines) are drawn for this axis.","Note: This only takes affect when hovermode = closest"].join(" ")},spikecolor:{valType:"color",dflt:null,role:"style",editType:"none",description:"Sets the spike color. If undefined, will use the series color"},spikethickness:{valType:"number",dflt:3,role:"style",editType:"none",description:"Sets the width (in px) of the zero line."},spikedash:o({},i,{dflt:"dash",editType:"none"}),spikemode:{valType:"flaglist",flags:["toaxis","across","marker"],role:"style",dflt:"toaxis",editType:"none",description:["Determines the drawing mode for the spike line","If *toaxis*, the line is drawn from the data point to the axis the ","series is plotted on.","If *across*, the line is drawn across the entire plot area, and","supercedes *toaxis*.","If *marker*, then a marker dot is drawn on the axis the series is","plotted on"].join(" ")},spikesnap:{valType:"enumerated",values:["data","cursor","hovered data"],dflt:"data",role:"style",editType:"none",description:"Determines whether spikelines are stuck to the cursor or to the closest datapoints."},tickfont:n({editType:"ticks",description:"Sets the tick font."}),tickangle:{valType:"angle",dflt:"auto",role:"style",editType:"ticks",description:["Sets the angle of the tick labels with respect to the horizontal.","For example, a `tickangle` of -90 draws the tick labels","vertically."].join(" ")},tickprefix:{valType:"string",dflt:"",role:"style",editType:"ticks",description:"Sets a tick label prefix."},showtickprefix:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",role:"style",editType:"ticks",description:["If *all*, all tick labels are displayed with a prefix.","If *first*, only the first tick is displayed with a prefix.","If *last*, only the last tick is displayed with a suffix.","If *none*, tick prefixes are hidden."].join(" ")},ticksuffix:{valType:"string",dflt:"",role:"style",editType:"ticks",description:"Sets a tick label suffix."},showticksuffix:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",role:"style",editType:"ticks",description:"Same as `showtickprefix` but for tick suffixes."},showexponent:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",role:"style",editType:"ticks",description:["If *all*, all exponents are shown besides their significands.","If *first*, only the exponent of the first tick is shown.","If *last*, only the exponent of the last tick is shown.","If *none*, no exponents appear."].join(" ")},exponentformat:{valType:"enumerated",values:["none","e","E","power","SI","B"],dflt:"B",role:"style",editType:"ticks",description:["Determines a formatting rule for the tick exponents.","For example, consider the number 1,000,000,000.","If *none*, it appears as 1,000,000,000.","If *e*, 1e+9.","If *E*, 1E+9.","If *power*, 1x10^9 (with 9 in a super script).","If *SI*, 1G.","If *B*, 1B."].join(" ")},separatethousands:{valType:"boolean",dflt:!1,role:"style",editType:"ticks",description:['If "true", even 4-digit integers are separated'].join(" ")},tickformat:{valType:"string",dflt:"",role:"style",editType:"ticks",description:["Sets the tick label formatting rule using d3 formatting mini-languages","which are very similar to those in Python. For numbers, see:",l,"And for dates see:",c,"We add one item to d3's date formatter: *%{n}f* for fractional seconds","with n digits. For example, *2016-10-13 09:15:23.456* with tickformat","*%H~%M~%S.%2f* would display *09~15~23.46*"].join(" ")},tickformatstops:s("tickformatstop",{enabled:{valType:"boolean",role:"info",dflt:!0,editType:"ticks",description:["Determines whether or not this stop is used.","If `false`, this stop is ignored even within its `dtickrange`."].join(" ")},dtickrange:{valType:"info_array",role:"info",items:[{valType:"any",editType:"ticks"},{valType:"any",editType:"ticks"}],editType:"ticks",description:["range [*min*, *max*], where *min*, *max* - dtick values","which describe some zoom level, it is possible to omit *min*","or *max* value by passing *null*"].join(" ")},value:{valType:"string",dflt:"",role:"style",editType:"ticks",description:["string - dtickformat for described zoom level, the same as *tickformat*"].join(" ")},editType:"ticks"}),hoverformat:{valType:"string",dflt:"",role:"style",editType:"none",description:["Sets the hover text formatting rule using d3 formatting mini-languages","which are very similar to those in Python. For numbers, see:",l,"And for dates see:",c,"We add one item to d3's date formatter: *%{n}f* for fractional seconds","with n digits. For example, *2016-10-13 09:15:23.456* with tickformat","*%H~%M~%S.%2f* would display *09~15~23.46*"].join(" ")},showline:{valType:"boolean",dflt:!1,role:"style",editType:"ticks+layoutstyle",description:["Determines whether or not a line bounding this axis is drawn."].join(" ")},linecolor:{valType:"color",dflt:a.defaultLine,role:"style",editType:"layoutstyle",description:"Sets the axis line color."},linewidth:{valType:"number",min:0,dflt:1,role:"style",editType:"ticks+layoutstyle",description:"Sets the width (in px) of the axis line."},showgrid:{valType:"boolean",role:"style",editType:"ticks",description:["Determines whether or not grid lines are drawn.","If *true*, the grid lines are drawn at every tick mark."].join(" ")},gridcolor:{valType:"color",dflt:a.lightLine,role:"style",editType:"ticks",description:"Sets the color of the grid lines."},gridwidth:{valType:"number",min:0,dflt:1,role:"style",editType:"ticks",description:"Sets the width (in px) of the grid lines."},zeroline:{valType:"boolean",role:"style",editType:"ticks",description:["Determines whether or not a line is drawn at along the 0 value","of this axis.","If *true*, the zero line is drawn on top of the grid lines."].join(" ")},zerolinecolor:{valType:"color",dflt:a.defaultLine,role:"style",editType:"ticks",description:"Sets the line color of the zero line."},zerolinewidth:{valType:"number",dflt:1,role:"style",editType:"ticks",description:"Sets the width (in px) of the zero line."},showdividers:{valType:"boolean",dflt:!0,role:"style",editType:"ticks",description:["Determines whether or not a dividers are drawn","between the category levels of this axis.","Only has an effect on *multicategory* axes."].join(" ")},dividercolor:{valType:"color",dflt:a.defaultLine,role:"style",editType:"ticks",description:["Sets the color of the dividers","Only has an effect on *multicategory* axes."].join(" ")},dividerwidth:{valType:"number",dflt:1,role:"style",editType:"ticks",description:["Sets the width (in px) of the dividers","Only has an effect on *multicategory* axes."].join(" ")},anchor:{valType:"enumerated",values:["free",d.idRegex.x.toString(),d.idRegex.y.toString()],role:"info",editType:"plot",description:["If set to an opposite-letter axis id (e.g. `x2`, `y`), this axis is bound to","the corresponding opposite-letter axis.","If set to *free*, this axis' position is determined by `position`."].join(" ")},side:{valType:"enumerated",values:["top","bottom","left","right"],role:"info",editType:"plot",description:["Determines whether a x (y) axis is positioned","at the *bottom* (*left*) or *top* (*right*)","of the plotting area."].join(" ")},overlaying:{valType:"enumerated",values:["free",d.idRegex.x.toString(),d.idRegex.y.toString()],role:"info",editType:"plot",description:["If set a same-letter axis id, this axis is overlaid on top of","the corresponding same-letter axis, with traces and axes visible for both","axes.","If *false*, this axis does not overlay any same-letter axes.","In this case, for axes with overlapping domains only the highest-numbered","axis will be visible."].join(" ")},layer:{valType:"enumerated",values:["above traces","below traces"],dflt:"above traces",role:"info",editType:"plot",description:["Sets the layer on which this axis is displayed.","If *above traces*, this axis is displayed above all the subplot's traces","If *below traces*, this axis is displayed below all the subplot's traces,","but above the grid lines.","Useful when used together with scatter-like traces with `cliponaxis`","set to *false* to show markers and/or text nodes above this axis."].join(" ")},domain:{valType:"info_array",role:"info",items:[{valType:"number",min:0,max:1,editType:"plot"},{valType:"number",min:0,max:1,editType:"plot"}],dflt:[0,1],editType:"plot",description:["Sets the domain of this axis (in plot fraction)."].join(" ")},position:{valType:"number",min:0,max:1,dflt:0,role:"style",editType:"plot",description:["Sets the position of this axis in the plotting space","(in normalized coordinates).","Only has an effect if `anchor` is set to *free*."].join(" ")},categoryorder:{valType:"enumerated",values:["trace","category ascending","category descending","array","total ascending","total descending","min ascending","min descending","max ascending","max descending","sum ascending","sum descending","mean ascending","mean descending","median ascending","median descending"],dflt:"trace",role:"info",editType:"calc",description:["Specifies the ordering logic for the case of categorical variables.","By default, plotly uses *trace*, which specifies the order that is present in the data supplied.","Set `categoryorder` to *category ascending* or *category descending* if order should be determined by","the alphanumerical order of the category names.","Set `categoryorder` to *array* to derive the ordering from the attribute `categoryarray`. If a category","is not found in the `categoryarray` array, the sorting behavior for that attribute will be identical to","the *trace* mode. The unspecified categories will follow the categories in `categoryarray`.","Set `categoryorder` to *total ascending* or *total descending* if order should be determined by the","numerical order of the values.","Similarly, the order can be determined by the min, max, sum, mean or median of all the values."].join(" ")},categoryarray:{valType:"data_array",role:"info",editType:"calc",description:["Sets the order in which categories on this axis appear.","Only has an effect if `categoryorder` is set to *array*.","Used with `categoryorder`."].join(" ")},uirevision:{valType:"any",role:"info",editType:"none",description:["Controls persistence of user-driven changes in axis `range`,","`autorange`, and `title` if in `editable: true` configuration.","Defaults to `layout.uirevision`."].join(" ")},editType:"calc",_deprecated:{autotick:{valType:"boolean",role:"info",editType:"ticks",description:["Obsolete.","Set `tickmode` to *auto* for old `autotick` *true* behavior.","Set `tickmode` to *linear* for `autotick` *false*."].join(" ")},title:{valType:"string",role:"info",editType:"ticks",description:["Value of `title` is no longer a simple *string* but a set of sub-attributes.","To set the axis' title, please use `title.text` now."].join(" ")},titlefont:n({editType:"ticks",description:["Former `titlefont` is now the sub-attribute `font` of `title`.","To customize title font properties, please use `title.font` now."].join(" ")})}}},"16I/":function(e,t,r){(t=r("JPst")(!1)).push([e.i,".spinner[data-v-76b45bce]{display:flex;justify-content:center;align-items:center}.spinner *[data-v-76b45bce]{line-height:0;box-sizing:border-box}.hourglass[data-v-76b45bce]{display:block;background:#fff;width:32px;height:64px;box-shadow:inset #fff 0 0 0 0,inset #41b883 0 32px 0 0,inset #fff 0 0 64px 0;animation:hourglass-data-v-76b45bce 1s linear infinite}.outer[data-v-76b45bce]{fill:#41b883}.middle[data-v-76b45bce]{fill:#fff}@keyframes hourglass-data-v-76b45bce{0%{transform:rotate(0deg);box-shadow:inset #fff 0 0 0 0,inset #41b883 0 32px 0 0,inset #fff 0 64px 0 0,inset #41b883 0 64px 0 0}80%{transform:rotate(0deg);box-shadow:inset #fff 0 32px 0 0,inset #41b883 0 32px 0 0,inset #fff 0 32px 0 0,inset #41b883 0 64px 0 0}100%{transform:rotate(180deg);box-shadow:inset #fff 0 32px 0 0,inset #41b883 0 32px 0 0,inset #fff 0 32px 0 0,inset #41b883 0 64px 0 0}}\n",""]),e.exports=t},"1Bxf":function(e,t,r){"use strict";e.exports=function(e,t,r){return e.x="xVal"in t?t.xVal:t.x,e.y="yVal"in t?t.yVal:t.y,t.xa&&(e.xaxis=t.xa),t.ya&&(e.yaxis=t.ya),"h"===r.orientation?(e.label=e.y,e.value=e.x):(e.label=e.x,e.value=e.y),e}},"1DoN":function(e,t,r){(t=r("JPst")(!1)).push([e.i,".spinner[data-v-162bb5c2]{display:flex;justify-content:center;align-items:center}.spinner *[data-v-162bb5c2]{line-height:0;box-sizing:border-box}.spinner-inner[data-v-162bb5c2]{transform-origin:center center;animation:spin-line-data-v-162bb5c2 4s ease infinite}@keyframes spin-line-data-v-162bb5c2{0%{transform:rotate(-20deg);height:5px;width:75px}5%{height:5px;width:75px}30%{transform:rotate(380deg);height:5px;width:75px}40%{transform:rotate(360deg);height:5px;width:75px}55%{transform:rotate(0deg);height:5px;width:5px}65%{transform:rotate(0deg);height:5px;width:85px}68%{transform:rotate(0deg);height:5px}75%{transform:rotate(0deg);height:5px;width:1px}78%{height:5px;width:5px}90%{height:5px;width:75px;transform:rotate(0deg)}99%,100%{height:5px;width:75px;transform:rotate(-20deg)}}\n",""]),e.exports=t},"1YsL":function(e,t,r){"use strict";var n=r("/CZE"),a=r("dnh+");e.exports=function(e,t,r){var i=!1;function o(r,i){return n.coerce(e,t,a,r,i)}for(var s=0;s<r.length;s++){var l=r[s];if(l.visible&&"funnel"===l.type){i=!0;break}}i&&(o("funnelmode"),o("funnelgap",.2),o("funnelgroupgap"))}},"1Yv4":function(e,t,r){"use strict";r.d(t,"a",(function(){return ce}));var n={props:{size:{default:"40px"}},computed:{styles(){return{width:this.size,height:this.size}}}},a=n,i=(r("3oeQ"),r("KHd+")),o=Object(i.a)(a,(function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{staticClass:"spinner spinner--circle",style:this.styles,attrs:{viewBox:"0 0 66 66",xmlns:"http://www.w3.org/2000/svg"}},[t("circle",{staticClass:"path",attrs:{fill:"none","stroke-width":"6","stroke-linecap":"round",cx:"33",cy:"33",r:"30"}})])}),[],!1,null,"b11f679c",null),s=(o.exports,{props:{size:{default:"40px"},background:{default:"#41b883"},color:{default:"#35495e"},stroke:{default:"5px"}},computed:{styles(){return{width:this.size,height:this.size,border:this.stroke+" solid "+this.background,borderTopColor:this.color}}}}),l=s,c=(r("KSbO"),Object(i.a)(l,(function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"spinner spinner--circle-2",style:this.styles})}),[],!1,null,"6c679bfb",null)),u=(c.exports,{props:{size:{default:"40px"},background:{default:"#41b883"},dotSize:{default(){return parseInt(this.size)/3+1}}},computed:{styles(){let e=parseInt(this.size)/3;return{width:this.size,height:this.size,border:"0px solid "+this.background,boxShadow:"0 -"+e+"px 0 "+this.dotSize+"px "+this.background+" inset"}}}}),d=u,f=(r("chMV"),Object(i.a)(d,(function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"spinner spinner--circle-3",style:this.styles})}),[],!1,null,"284cf52c",null)),h=(f.exports,{props:{size:{default:"40px"}},computed:{styles(){return{width:this.size,height:this.size}}}}),p=h,g=(r("sJ7h"),Object(i.a)(p,(function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"spinner spinner--circle-4",style:this.styles})}),[],!1,null,"6ce3a847",null)),v=(g.exports,{props:{size:{default:"40px"}},computed:{styles(){return{width:this.size,height:this.size}}}}),m=v,y=(r("Vmth"),Object(i.a)(m,(function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"spinner spinner--circle-5",style:this.styles})}),[],!1,null,"743fd83c",null)),x=(y.exports,{props:{size:{default:"40px"},background:{default:"#41b883"}},computed:{styles(){return{width:this.size,height:this.size}}}}),b=x,w=(r("9ShP"),Object(i.a)(b,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("svg",{staticClass:"spinner spinner--circle-6",style:e.styles,attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100"}},[r("g",{staticClass:"anim-0"},[r("circle",{attrs:{cx:"50",cy:"50",r:"50",fill:e.background}})]),e._v(" "),r("g",{staticClass:"anim-1"},[r("circle",{attrs:{cx:"50",cy:"50",r:"5",fill:"white"}})]),e._v(" "),r("g",{staticClass:"anim-2"},[r("circle",{attrs:{cx:"75",cy:"50",r:"5",fill:"white"}}),e._v(" "),r("line",{attrs:{x1:"25",y1:"50",x2:"75",y2:"50",stroke:"white","stroke-width":"3"}})]),e._v(" "),r("g",{staticClass:"anim-3"},[r("circle",{attrs:{cx:"50",cy:"25",r:"5",fill:"white"}}),e._v(" "),r("line",{attrs:{x1:"50",y1:"25",x2:"25",y2:"75",stroke:"white","stroke-width":"3"}}),e._v(" "),r("line",{attrs:{x1:"50",y1:"25",x2:"75",y2:"75",stroke:"white","stroke-width":"3"}})]),e._v(" "),r("g",{staticClass:"anim-4"},[r("circle",{attrs:{cx:"75",cy:"25",r:"5",fill:"white"}}),e._v(" "),r("line",{attrs:{x1:"75",y1:"25",x2:"25",y2:"25",stroke:"white","stroke-width":"3"}})])])}),[],!1,null,"a03e8c24",null)),_=(w.exports,{props:{size:{default:"40px"}},computed:{styles(){let e=parseInt(this.size);return{width:this.size,height:this.size,transform:"scale("+e/75+")"}}}}),k=_,T=(r("yKfe"),Object(i.a)(k,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"spinner spinner--circle-7",style:this.styles},[t("div",{staticClass:"spinner-inner"})])}),[],!1,null,"9d2e53b6",null)),M=(T.exports,{props:{size:{default:"40px"}},computed:{innerStyles(){return{transform:"scale("+parseInt(this.size)/44+")"}},styles(){return{width:this.size,height:this.size}}}}),S=M,A=(r("zDIp"),Object(i.a)(S,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"spinner spinner--circle-8",style:this.styles},[t("div",{staticClass:"spinner-inner",style:this.innerStyles},[this._m(0)])])}),[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"ball-container"},[t("div",{staticClass:"contener_mixte"},[t("div",{staticClass:"ballcolor ball_1"},[this._v("ย ")])]),this._v(" "),t("div",{staticClass:"contener_mixte"},[t("div",{staticClass:"ballcolor ball_2"},[this._v("ย ")])]),this._v(" "),t("div",{staticClass:"contener_mixte"},[t("div",{staticClass:"ballcolor ball_3"},[this._v("ย ")])]),this._v(" "),t("div",{staticClass:"contener_mixte"},[t("div",{staticClass:"ballcolor ball_4"},[this._v("ย ")])])])}],!1,null,"c1e82ad8",null)),C=(A.exports,{props:{size:{default:"40px"}},computed:{innerStyles(){return{transform:"scale("+parseInt(this.size)/120+")"}},styles(){return{width:this.size,height:this.size}}}}),P=C,O=(r("X7BS"),Object(i.a)(P,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"spinner spinner--circle-9",style:this.styles},[t("div",{staticClass:"spinner-inner",style:this.innerStyles},[this._m(0)])])}),[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"loading spin-1"},[t("div",{staticClass:"loading spin-2"},[t("div",{staticClass:"loading spin-3"},[t("div",{staticClass:"loading spin-4"},[t("div",{staticClass:"loading spin-5"},[t("div",{staticClass:"loading spin-6"})])])])])])}],!1,null,"060d9a88",null)),I=(O.exports,{props:{size:{default:"40px"}},computed:{innerStyles(){return{transform:"scale("+parseInt(this.size)/100+")"}},styles(){return{width:this.size,height:this.size}}}}),z=I,L=(r("39Yb"),Object(i.a)(z,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"spinner spinner--circle-10",style:this.styles},[t("div",{staticClass:"spinner-inner",style:this.innerStyles},[t("div",{staticClass:"loader-xbox"})])])}),[],!1,null,"ffcc2a80",null)),E=(L.exports,{props:{size:{default:"40px"}},computed:{styles(){return{width:this.size,height:this.size}}}}),j=E,D=(r("dHqe"),Object(i.a)(j,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"spinner spinner--circle-11",style:this.styles},[t("div",{staticClass:"spinner-inner"})])}),[],!1,null,"31d614bc",null)),R=(D.exports,{props:{size:{default:"40px"},background:{default:"#41b883"},duration:{default:"1.8s"}},computed:{styles(){return{width:this.size,height:this.size,backgroundColor:this.background,animationDuration:this.duration}}}}),N=R,F=(r("bSxP"),Object(i.a)(N,(function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"spinner spinner--cube-shadow",style:this.styles})}),[],!1,null,"26545e86",null).exports,{props:{size:{default:"40px"},color:{default:"#41b883"}},computed:{diamondStyle(){let e=parseInt(this.size);return{width:e/4+"px",height:e/4+"px"}},styles(){let e=parseInt(this.size);return{width:this.size,height:e/4+"px"}}}}),B=(r("6eSZ"),Object(i.a)(F,(function(){var e=this.$createElement,t=this._self._c||e;return t("span",{staticClass:"spinner spinner--rotate-diamond",style:this.styles},[t("div",{staticClass:"diamond",style:this.diamondStyle}),this._v(" "),t("div",{staticClass:"diamond",style:this.diamondStyle}),this._v(" "),t("div",{staticClass:"diamond",style:this.diamondStyle})])}),[],!1,null,"234ece92",null).exports,{props:{size:{default:"40px"},background:{default:"#41b883"},duration:{default:"2.0s"}},computed:{bounceStyle(){return{backgroundColor:this.background,animationDuration:this.duration}},styles(){return{width:this.size,height:this.size}}}}),H=(r("X+uo"),Object(i.a)(B,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"spinner spinner--double-bounce",style:this.styles},[t("div",{staticClass:"double-bounce1",style:this.bounceStyle}),this._v(" "),t("div",{staticClass:"double-bounce2",style:this.bounceStyle})])}),[],!1,null,"0e2c2720",null).exports,{props:{size:{default:"40px"}},computed:{innerStyles(){return{transform:"scale("+parseInt(this.size)/60+")"}},styles(){let e=parseInt(this.size);return{width:this.size,height:e/2+"px"}}}}),V=(r("FhOD"),Object(i.a)(H,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"spinner spinner--gauge",style:this.styles},[t("div",{staticClass:"spinner-inner",style:this.innerStyles})])}),[],!1,null,"5b598f45",null).exports,{props:{size:{default:"40px"}},computed:{styles(){return{width:this.size,height:this.size}}}}),G=(r("7RQp"),Object(i.a)(V,(function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"spinner spinner--google",style:this.styles})}),[],!1,null,"2db1e062",null).exports,{props:{size:{default:"40px"}},computed:{innerStyles(){return{transform:"scale("+parseInt(this.size)/164+")"}},styles(){return{width:this.size,height:this.size}}}}),Z=(r("R6Zb"),Object(i.a)(G,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"spinner spinner--hexagon",style:this.styles},[t("div",{staticClass:"spinner-inner",style:this.innerStyles},[this._m(0)])])}),[function(){var e=this.$createElement,t=this._self._c||e;return t("ul",{staticClass:"hexagon-container"},[t("li",{staticClass:"hexagon hex_1"}),this._v(" "),t("li",{staticClass:"hexagon hex_2"}),this._v(" "),t("li",{staticClass:"hexagon hex_3"}),this._v(" "),t("li",{staticClass:"hexagon hex_4"}),this._v(" "),t("li",{staticClass:"hexagon hex_5"}),this._v(" "),t("li",{staticClass:"hexagon hex_6"}),this._v(" "),t("li",{staticClass:"hexagon hex_7"})])}],!1,null,"48cf437e",null).exports,{props:{size:{default:"40px"}},computed:{innerStyles(){return{transform:"scale("+parseInt(this.size)/64+")"}},styles(){return{width:this.size,height:this.size}}}}),q=(r("rkn4"),Object(i.a)(Z,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"spinner spinner--hour-glass",style:this.styles},[t("div",{staticClass:"spinner-inner",style:this.innerStyles},[t("svg",{staticClass:"hourglass",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 120 206",preserveAspectRatio:"none"}},[t("path",{staticClass:"middle",attrs:{d:"M120 0H0v206h120V0zM77.1 133.2C87.5 140.9 92 145 92 152.6V178H28v-25.4c0-7.6 4.5-11.7 14.9-19.4 6-4.5 13-9.6 17.1-17 4.1 7.4 11.1 12.6 17.1 17zM60 89.7c-4.1-7.3-11.1-12.5-17.1-17C32.5 65.1 28 61 28 53.4V28h64v25.4c0 7.6-4.5 11.7-14.9 19.4-6 4.4-13 9.6-17.1 16.9z"}}),this._v(" "),t("path",{staticClass:"outer",attrs:{d:"M93.7 95.3c10.5-7.7 26.3-19.4 26.3-41.9V0H0v53.4c0 22.5 15.8 34.2 26.3 41.9 3 2.2 7.9 5.8 9 7.7-1.1 1.9-6 5.5-9 7.7C15.8 118.4 0 130.1 0 152.6V206h120v-53.4c0-22.5-15.8-34.2-26.3-41.9-3-2.2-7.9-5.8-9-7.7 1.1-2 6-5.5 9-7.7zM70.6 103c0 18 35.4 21.8 35.4 49.6V192H14v-39.4c0-27.9 35.4-31.6 35.4-49.6S14 81.2 14 53.4V14h92v39.4C106 81.2 70.6 85 70.6 103z"}})])])])}),[],!1,null,"76b45bce",null).exports,{props:{size:{default:"40px"},color:{default:"#41b883"}},computed:{innerStyles(){return{transform:"scale("+parseInt(this.size)/70+")"}},styles(){return{width:this.size,height:this.size}}}}),U=(r("R0Xe"),Object(i.a)(q,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"spinner spinner--jawn"},[t("div",{staticClass:"spinner-inner",style:this.styles},[t("div",{staticClass:"jawn",style:this.innerStyles})])])}),[],!1,null,"47ba83ac",null).exports,{props:{size:{default:"40px"}},computed:{styles(){return{width:this.size,height:this.size}}}}),W=(r("D8OW"),Object(i.a)(U,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"spinner spinner--jumper",style:this.styles},[t("div"),this._v(" "),t("div"),this._v(" "),t("div")])}),[],!1,null,"54c05c29",null).exports,{props:{size:{default:"40px"}},computed:{innerStyles(){return{transform:"scale("+parseInt(this.size)/2/75+")"}},styles(){return{width:this.size,height:this.size}}}}),Y=(r("dvq9"),Object(i.a)(W,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"spinner spinner--socker",style:this.styles},[t("div",{staticClass:"spinner-inner",style:this.innerStyles},[this._m(0)])])}),[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"cube panelLoad"},[r("div",{staticClass:"cube-face cube-face-front"},[e._v("L")]),e._v(" "),r("div",{staticClass:"cube-face cube-face-back"},[e._v("O")]),e._v(" "),r("div",{staticClass:"cube-face cube-face-left"},[e._v("A")]),e._v(" "),r("div",{staticClass:"cube-face cube-face-right"},[e._v("D")]),e._v(" "),r("div",{staticClass:"cube-face cube-face-bottom"},[e._v("I")]),e._v(" "),r("div",{staticClass:"cube-face cube-face-top"},[e._v("N'")])])}],!1,null,"638dd89f",null).exports,{props:{size:{default:"40px"}},computed:{innerStyles(){return{transform:"scale("+parseInt(this.size)/31+")"}},styles(){return{width:this.size,height:this.size}}}}),X=(r("mT3X"),Object(i.a)(Y,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"spinner spinner--mikepad",style:this.styles},[t("div",{staticClass:"spinner-inner",style:this.innerStyles},[t("div",{staticClass:"binding"}),this._v(" "),this._m(0)])])}),[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"pad"},[t("div",{staticClass:"line line1"}),this._v(" "),t("div",{staticClass:"line line2"}),this._v(" "),t("div",{staticClass:"line line3"})])}],!1,null,"1d374903",null).exports,{props:{size:{default:"40px"}},computed:{innerStyles(){return{transform:"scale("+parseInt(this.size)/60+")"}},styles(){return{width:this.size,height:this.size}}}}),$=(r("DY8J"),Object(i.a)(X,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"spinner spinner-origami",style:this.styles},[t("div",{staticClass:"spinner-inner loading",style:this.innerStyles},[t("span",{staticClass:"slice"}),this._v(" "),t("span",{staticClass:"slice"}),this._v(" "),t("span",{staticClass:"slice"}),this._v(" "),t("span",{staticClass:"slice"}),this._v(" "),t("span",{staticClass:"slice"}),this._v(" "),t("span",{staticClass:"slice"})])])}),[],!1,null,"3b062c5c",null).exports,{props:{size:{default:"40px"},color:{default:"#41b883"}},computed:{styles(){return{width:this.size,height:"auto",fill:this.color}}}}),J=(r("u1T8"),Object(i.a)($,(function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{staticClass:"spinner spinner--pencil",style:this.styles,attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 677.34762 182.15429"}},[t("g",[t("path",{staticClass:"body-pencil",attrs:{d:"M128.273 0l-3.9 2.77L0 91.078l128.273 91.076 549.075-.006V.008L128.273 0zm20.852 30l498.223.006V152.15l-498.223.007V30zm-25 9.74v102.678l-49.033-34.813-.578-32.64 49.61-35.225z"}}),this._v(" "),t("path",{staticClass:"line",attrs:{d:"M134.482 157.147v25l518.57.008.002-25-518.572-.008z"}})])])}),[],!1,null,"6e372377",null).exports,{props:{size:{default:"40px"}},computed:{innerStyles(){return{transform:"scale("+parseInt(this.size)/250+")"}},styles(){return{width:this.size,height:this.size}}}}),K=(r("jwEA"),Object(i.a)(J,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"spinner spinner--ping-pong",style:this.styles},[t("div",{staticClass:"spinner-inner",style:this.innerStyles},[this._m(0)])])}),[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"board"},[t("div",{staticClass:"left"}),this._v(" "),t("div",{staticClass:"right"}),this._v(" "),t("div",{staticClass:"ball"})])}],!1,null,"066a86ee",null).exports,{props:{size:{default:"40px"},color:{default:"#41b883"}},computed:{innerStyles(){let e=parseInt(this.size);return{width:e+"px",height:this.size,transform:"scale("+e/70+")"}},styles(){return{width:parseInt(this.size)+"px",height:this.size}}}}),Q=(r("UOmI"),Object(i.a)(K,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"spinner spinner--plane",style:this.styles},[t("div",{staticClass:"spinner-inner",style:this.innerStyles},[this._m(0),this._v(" "),this._m(1),this._v(" "),this._m(2)])])}),[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"mask",attrs:{id:"top"}},[t("div",{staticClass:"plane"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"mask",attrs:{id:"middle"}},[t("div",{staticClass:"plane"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"mask",attrs:{id:"bottom"}},[t("div",{staticClass:"plane"})])}],!1,null,"025893f1",null).exports,{props:{size:{default:"40px"},background:{default:"#41b883"},duration:{default:"1.2s"}},computed:{styles(){return{backgroundColor:this.background,width:this.size,height:this.size,animationDuration:this.duration}}}}),ee=(r("S1DZ"),Object(i.a)(Q,(function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"spinner spinner--rotate-square",style:this.styles})}),[],!1,null,"c74a824e",null).exports,{props:{size:{default:"40px"},background:{default:"#41b883"}},computed:{styles(){return{width:this.size,height:this.size}}}}),te=(r("cBZz"),Object(i.a)(ee,(function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"spinner spinner--rotate-square-2",style:this.styles})}),[],!1,null,"10e8262c",null).exports,{props:{size:{default:"40px"},color:{default:"#41b883"}},computed:{styles(){return{width:this.size,height:this.size}}}}),re=(r("S0vM"),Object(i.a)(te,(function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{staticClass:"spinner spinner--cube",style:this.styles,attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500.00001 500.00001"}},[t("g",{attrs:{fill:this.color}},[t("path",{staticClass:"b0",attrs:{d:"M66.734 66.734v366.533h366.532V66.734H66.734zm15 15h336.532v336.533H81.734V81.734z"}}),this._v(" "),t("path",{staticClass:"b2",attrs:{d:"M354.16 2.5v143.34H497.5V2.5H354.16zm10 10H487.5v123.34H364.16V12.5z"}}),this._v(" "),t("path",{staticClass:"b1",attrs:{d:"M0 2.5v143.34h143.34V2.5H0zm10 10h123.34v123.34H10V12.5z"}}),this._v(" "),t("path",{staticClass:"b3",attrs:{d:"M354.16 356.66V500H497.5V356.66H354.16zm10 10H487.5V490H364.16V366.66z"}}),this._v(" "),t("path",{staticClass:"b4",attrs:{d:"M0 356.66V500h143.34V356.66H0zm10 10h123.34V490H10V366.66z"}})])])}),[],!1,null,"6b2ba7d0",null).exports,{props:{size:{default:"40px"},color:{default:"#41b883"}},computed:{styles(){return{width:this.size,height:this.size}}}}),ne=(r("dITB"),Object(i.a)(re,(function(){var e=this.$createElement,t=this._self._c||e;return t("span",{staticClass:"spinner spinner--rotate-square4",style:this.styles},[t("span",{staticClass:"loader-inner"})])}),[],!1,null,"23ee17bc",null).exports,{props:{size:{default:"40px"},color:{default:"#41b883"}},computed:{innerStyles(){return{transform:"scale("+parseInt(this.size)/80+")"}},styles(){return{width:this.size,height:this.size}}}}),ae=(r("rWDF"),Object(i.a)(ne,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"spinner spinner--rotate-square-5",style:this.styles},[t("div",{staticClass:"spinner-inner",style:this.innerStyles},[t("span",{staticClass:"load3 one"}),this._v(" "),t("span",{staticClass:"load3 two"}),this._v(" "),t("span",{staticClass:"load3-center"})])])}),[],!1,null,"f66ac8a0",null).exports,{props:{size:{default:"40px"},background:{default:"#41b883"},duration:{default:"1.0s"}},computed:{styles(){return{width:this.size,height:this.size,backgroundColor:this.background,animationDuration:this.duration}}}}),ie=(r("rH42"),Object(i.a)(ae,(function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"spinner spinner--scale-out",style:this.styles})}),[],!1,null,"03dc618e",null).exports,{props:{size:{default:"40px"}},computed:{innerStyles(){return{transform:"scale("+parseInt(this.size)/220+")"}},styles(){return{width:this.size,height:this.size}}}}),oe=(r("L3HV"),Object(i.a)(ie,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"spinner spinner--socker",style:e.styles},[r("div",{staticClass:"spinner-inner",style:e.innerStyles},[e._m(0),e._v(" "),e._m(1),e._v(" "),e._m(2),e._v(" "),e._m(3),e._v(" "),e._m(4),e._v(" "),e._m(5),e._v(" "),e._m(6),e._v(" "),e._m(7),e._v(" "),e._m(8),e._v(" "),e._m(9),e._v(" "),e._m(10),e._v(" "),e._m(11),e._v(" "),e._m(12),e._v(" "),e._m(13),e._v(" "),e._m(14),e._v(" "),e._m(15),e._v(" "),e._m(16),e._v(" "),e._m(17),e._v(" "),e._m(18),e._v(" "),e._m(19),e._v(" "),e._m(20),e._v(" "),e._m(21),e._v(" "),e._m(22),e._v(" "),e._m(23),e._v(" "),e._m(24),e._v(" "),e._m(25),e._v(" "),e._m(26),e._v(" "),e._m(27),e._v(" "),e._m(28),e._v(" "),e._m(29),e._v(" "),e._m(30),e._v(" "),e._m(31),e._v(" "),e._m(32),e._v(" "),e._m(33),e._v(" "),e._m(34),e._v(" "),e._m(35),e._v(" "),e._m(36)])])}),[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"gel center-gel"},[t("div",{staticClass:"hex-brick h1"}),this._v(" "),t("div",{staticClass:"hex-brick h2"}),this._v(" "),t("div",{staticClass:"hex-brick h3"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"gel c1 r1"},[t("div",{staticClass:"hex-brick h1"}),this._v(" "),t("div",{staticClass:"hex-brick h2"}),this._v(" "),t("div",{staticClass:"hex-brick h3"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"gel c2 r1"},[t("div",{staticClass:"hex-brick h1"}),this._v(" "),t("div",{staticClass:"hex-brick h2"}),this._v(" "),t("div",{staticClass:"hex-brick h3"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"gel c3 r1"},[t("div",{staticClass:"hex-brick h1"}),this._v(" "),t("div",{staticClass:"hex-brick h2"}),this._v(" "),t("div",{staticClass:"hex-brick h3"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"gel c4 r1"},[t("div",{staticClass:"hex-brick h1"}),this._v(" "),t("div",{staticClass:"hex-brick h2"}),this._v(" "),t("div",{staticClass:"hex-brick h3"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"gel c5 r1"},[t("div",{staticClass:"hex-brick h1"}),this._v(" "),t("div",{staticClass:"hex-brick h2"}),this._v(" "),t("div",{staticClass:"hex-brick h3"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"gel c6 r1"},[t("div",{staticClass:"hex-brick h1"}),this._v(" "),t("div",{staticClass:"hex-brick h2"}),this._v(" "),t("div",{staticClass:"hex-brick h3"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"gel c7 r2"},[t("div",{staticClass:"hex-brick h1"}),this._v(" "),t("div",{staticClass:"hex-brick h2"}),this._v(" "),t("div",{staticClass:"hex-brick h3"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"gel c8 r2"},[t("div",{staticClass:"hex-brick h1"}),this._v(" "),t("div",{staticClass:"hex-brick h2"}),this._v(" "),t("div",{staticClass:"hex-brick h3"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"gel c9 r2"},[t("div",{staticClass:"hex-brick h1"}),this._v(" "),t("div",{staticClass:"hex-brick h2"}),this._v(" "),t("div",{staticClass:"hex-brick h3"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"gel c10 r2"},[t("div",{staticClass:"hex-brick h1"}),this._v(" "),t("div",{staticClass:"hex-brick h2"}),this._v(" "),t("div",{staticClass:"hex-brick h3"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"gel c11 r2"},[t("div",{staticClass:"hex-brick h1"}),this._v(" "),t("div",{staticClass:"hex-brick h2"}),this._v(" "),t("div",{staticClass:"hex-brick h3"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"gel c12 r2"},[t("div",{staticClass:"hex-brick h1"}),this._v(" "),t("div",{staticClass:"hex-brick h2"}),this._v(" "),t("div",{staticClass:"hex-brick h3"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"gel c13 r2"},[t("div",{staticClass:"hex-brick h1"}),this._v(" "),t("div",{staticClass:"hex-brick h2"}),this._v(" "),t("div",{staticClass:"hex-brick h3"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"gel c14 r2"},[t("div",{staticClass:"hex-brick h1"}),this._v(" "),t("div",{staticClass:"hex-brick h2"}),this._v(" "),t("div",{staticClass:"hex-brick h3"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"gel c15 r2"},[t("div",{staticClass:"hex-brick h1"}),this._v(" "),t("div",{staticClass:"hex-brick h2"}),this._v(" "),t("div",{staticClass:"hex-brick h3"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"gel c16 r2"},[t("div",{staticClass:"hex-brick h1"}),this._v(" "),t("div",{staticClass:"hex-brick h2"}),this._v(" "),t("div",{staticClass:"hex-brick h3"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"gel c17 r2"},[t("div",{staticClass:"hex-brick h1"}),this._v(" "),t("div",{staticClass:"hex-brick h2"}),this._v(" "),t("div",{staticClass:"hex-brick h3"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"gel c18 r2"},[t("div",{staticClass:"hex-brick h1"}),this._v(" "),t("div",{staticClass:"hex-brick h2"}),this._v(" "),t("div",{staticClass:"hex-brick h3"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"gel c19 r3"},[t("div",{staticClass:"hex-brick h1"}),this._v(" "),t("div",{staticClass:"hex-brick h2"}),this._v(" "),t("div",{staticClass:"hex-brick h3"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"gel c20 r3"},[t("div",{staticClass:"hex-brick h1"}),this._v(" "),t("div",{staticClass:"hex-brick h2"}),this._v(" "),t("div",{staticClass:"hex-brick h3"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"gel c21 r3"},[t("div",{staticClass:"hex-brick h1"}),this._v(" "),t("div",{staticClass:"hex-brick h2"}),this._v(" "),t("div",{staticClass:"hex-brick h3"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"gel c22 r3"},[t("div",{staticClass:"hex-brick h1"}),this._v(" "),t("div",{staticClass:"hex-brick h2"}),this._v(" "),t("div",{staticClass:"hex-brick h3"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"gel c23 r3"},[t("div",{staticClass:"hex-brick h1"}),this._v(" "),t("div",{staticClass:"hex-brick h2"}),this._v(" "),t("div",{staticClass:"hex-brick h3"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"gel c24 r3"},[t("div",{staticClass:"hex-brick h1"}),this._v(" "),t("div",{staticClass:"hex-brick h2"}),this._v(" "),t("div",{staticClass:"hex-brick h3"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"gel c25 r3"},[t("div",{staticClass:"hex-brick h1"}),this._v(" "),t("div",{staticClass:"hex-brick h2"}),this._v(" "),t("div",{staticClass:"hex-brick h3"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"gel c26 r3"},[t("div",{staticClass:"hex-brick h1"}),this._v(" "),t("div",{staticClass:"hex-brick h2"}),this._v(" "),t("div",{staticClass:"hex-brick h3"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"gel c28 r3"},[t("div",{staticClass:"hex-brick h1"}),this._v(" "),t("div",{staticClass:"hex-brick h2"}),this._v(" "),t("div",{staticClass:"hex-brick h3"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"gel c29 r3"},[t("div",{staticClass:"hex-brick h1"}),this._v(" "),t("div",{staticClass:"hex-brick h2"}),this._v(" "),t("div",{staticClass:"hex-brick h3"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"gel c30 r3"},[t("div",{staticClass:"hex-brick h1"}),this._v(" "),t("div",{staticClass:"hex-brick h2"}),this._v(" "),t("div",{staticClass:"hex-brick h3"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"gel c31 r3"},[t("div",{staticClass:"hex-brick h1"}),this._v(" "),t("div",{staticClass:"hex-brick h2"}),this._v(" "),t("div",{staticClass:"hex-brick h3"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"gel c32 r3"},[t("div",{staticClass:"hex-brick h1"}),this._v(" "),t("div",{staticClass:"hex-brick h2"}),this._v(" "),t("div",{staticClass:"hex-brick h3"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"gel c33 r3"},[t("div",{staticClass:"hex-brick h1"}),this._v(" "),t("div",{staticClass:"hex-brick h2"}),this._v(" "),t("div",{staticClass:"hex-brick h3"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"gel c34 r3"},[t("div",{staticClass:"hex-brick h1"}),this._v(" "),t("div",{staticClass:"hex-brick h2"}),this._v(" "),t("div",{staticClass:"hex-brick h3"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"gel c35 r3"},[t("div",{staticClass:"hex-brick h1"}),this._v(" "),t("div",{staticClass:"hex-brick h2"}),this._v(" "),t("div",{staticClass:"hex-brick h3"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"gel c36 r3"},[t("div",{staticClass:"hex-brick h1"}),this._v(" "),t("div",{staticClass:"hex-brick h2"}),this._v(" "),t("div",{staticClass:"hex-brick h3"})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"gel c37 r3"},[t("div",{staticClass:"hex-brick h1"}),this._v(" "),t("div",{staticClass:"hex-brick h2"}),this._v(" "),t("div",{staticClass:"hex-brick h3"})])}],!1,null,"610093ba",null).exports,{props:{size:{default:"40px"},color:{default:"#41b883"},stroke:{default:"5px"}},computed:{lineStyles(){return{width:this.size,height:this.stroke,background:this.color,borderRadius:this.stroke}},styles(){let e=parseInt(this.size);return{width:this.size,height:this.size,transform:"scale("+e/75+")"}}}}),se=(r("JL6A"),Object(i.a)(oe,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"spinner spinner--spin-line",style:this.styles},[t("div",{staticClass:"spinner-inner",style:this.lineStyles})])}),[],!1,null,"162bb5c2",null).exports,{props:{size:{default:"40px"},background:{default:"#41b883"},duration:{default:"1.3s"}},computed:{cubeStyles(){return{backgroundColor:this.background,animationDuration:this.duration}},styles(){return{width:this.size,height:this.size}}}}),le=(r("ihqo"),Object(i.a)(se,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"spinner spinner--square-grid",style:e.styles},[r("div",{staticClass:"sk-cube sk-cube1",style:e.cubeStyles}),e._v(" "),r("div",{staticClass:"sk-cube sk-cube2",style:e.cubeStyles}),e._v(" "),r("div",{staticClass:"sk-cube sk-cube3",style:e.cubeStyles}),e._v(" "),r("div",{staticClass:"sk-cube sk-cube4",style:e.cubeStyles}),e._v(" "),r("div",{staticClass:"sk-cube sk-cube5",style:e.cubeStyles}),e._v(" "),r("div",{staticClass:"sk-cube sk-cube6",style:e.cubeStyles}),e._v(" "),r("div",{staticClass:"sk-cube sk-cube7",style:e.cubeStyles}),e._v(" "),r("div",{staticClass:"sk-cube sk-cube8",style:e.cubeStyles}),e._v(" "),r("div",{staticClass:"sk-cube sk-cube9",style:e.cubeStyles})])}),[],!1,null,"6f313e63",null).exports,{props:{size:{default:"40px"},background:{default:"#41b883"},duration:{default:"1.2s"}},computed:{rectStyles(){return{backgroundColor:this.background,animationDuration:this.duration}},styles(){return{width:this.size,height:this.size}}}}),ce=(r("N4q2"),Object(i.a)(le,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"spinner spinner--stretch",style:e.styles},[r("div",{staticClass:"rect rect-1",style:e.rectStyles}),e._v(" "),r("div",{staticClass:"rect rect-2",style:e.rectStyles}),e._v(" "),r("div",{staticClass:"rect rect-3",style:e.rectStyles}),e._v(" "),r("div",{staticClass:"rect rect-4",style:e.rectStyles}),e._v(" "),r("div",{staticClass:"rect rect-5",style:e.rectStyles})])}),[],!1,null,"9048bf2e",null).exports),ue={props:{size:{default:"40px"}},computed:{styles(){return{width:this.size,height:this.size}}}},de=(r("vJMd"),Object(i.a)(ue,(function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"spinner spinner--texture",style:this.styles})}),[],!1,null,"e8e065d8",null).exports,{props:{size:{default:"40px"},color:{default:"#41b883"}},computed:{blobStyles(){return{borderColor:this.color}},moveBlobStyles(){return{borderColor:this.color,background:this.color}},styles(){return{width:this.size,height:this.size}}}}),fe=(r("G787"),Object(i.a)(de,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"spinner",style:e.styles},[r("div",{staticClass:"blob top",style:e.blobStyles}),e._v(" "),r("div",{staticClass:"blob bottom",style:e.blobStyles}),e._v(" "),r("div",{staticClass:"blob left",style:e.blobStyles}),e._v(" "),r("div",{staticClass:"blob move-blob",style:e.moveBlobStyles})])}),[],!1,null,"11dc5b7e",null).exports,{props:{size:{default:"40px"},background:{default:"#41b883"},duration:{default:"1.8s"}},computed:{cubeStyles(){return{backgroundColor:this.background,animationName:"sk-cubemove",animationDuration:this.duration}},styles(){return{width:this.size,height:this.size}}}}),he=(r("LP/G"),Object(i.a)(fe,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"spinner spinner--two-cube",style:this.styles},[t("div",{staticClass:"cube1",style:this.cubeStyles}),this._v(" "),t("div",{staticClass:"cube2",style:this.cubeStyles})])}),[],!1,null,"a083ee58",null).exports,{props:{size:{default:"40px"}},computed:{styles(){return{width:this.size,height:this.size}}}});r("7X5A"),Object(i.a)(he,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"spinner spinner--wave",style:this.styles},[t("div"),this._v(" "),t("div"),this._v(" "),t("div")])}),[],!1,null,"589e998e",null).exports},"1sD8":function(e,t,r){(t=r("JPst")(!1)).push([e.i,".spinner[data-v-10e8262c]{position:relative}.spinner *[data-v-10e8262c]{line-height:0;box-sizing:border-box}.spinner[data-v-10e8262c]:before{content:'';width:100%;height:20%;min-width:5px;background:#000;opacity:0.1;position:absolute;bottom:0%;left:0;border-radius:50%;animation:rotate-square-2-shadow-data-v-10e8262c .5s linear infinite}.spinner[data-v-10e8262c]:after{content:'';width:100%;height:100%;background:#41b883;animation:rotate-square-2-animate-data-v-10e8262c .5s linear infinite;position:absolute;bottom:40%;left:0;border-radius:3px}@keyframes rotate-square-2-animate-data-v-10e8262c{17%{border-bottom-right-radius:3px}25%{transform:translateY(20%) rotate(22.5deg)}50%{transform:translateY(40%) scale(1, 0.9) rotate(45deg);border-bottom-right-radius:50%}75%{transform:translateY(20%) rotate(67.5deg)}100%{transform:translateY(0) rotate(90deg)}}@keyframes rotate-square-2-shadow-data-v-10e8262c{0%,100%{transform:scale(1, 1)}50%{transform:scale(1.2, 1)}}\n",""]),e.exports=t},"1vus":function(e,t,r){"use strict";var n=r("pcRN"),a=r("/CZE"),i=r("BkK/"),o=r("wlgE").extractOpts;e.exports=function(e,t,r,s,l,c){var u,d,f,h,p=e.cd[0],g=p.trace,v=e.xa,m=e.ya,y=p.x,x=p.y,b=p.z,w=p.xCenter,_=p.yCenter,k=p.zmask,T=g.zhoverformat,M=y,S=x;if(!1!==e.index){try{f=Math.round(e.index[1]),h=Math.round(e.index[0])}catch(t){return void a.error("Error hovering on heatmap, pointNumber must be [row,col], found:",e.index)}if(f<0||f>=b[0].length||h<0||h>b.length)return}else{if(n.inbox(t-y[0],t-y[y.length-1],0)>0||n.inbox(r-x[0],r-x[x.length-1],0)>0)return;if(c){var A;for(M=[2*y[0]-y[1]],A=1;A<y.length;A++)M.push((y[A]+y[A-1])/2);for(M.push([2*y[y.length-1]-y[y.length-2]]),S=[2*x[0]-x[1]],A=1;A<x.length;A++)S.push((x[A]+x[A-1])/2);S.push([2*x[x.length-1]-x[x.length-2]])}f=Math.max(0,Math.min(M.length-2,a.findBin(t,M))),h=Math.max(0,Math.min(S.length-2,a.findBin(r,S)))}var C=v.c2p(y[f]),P=v.c2p(y[f+1]),O=m.c2p(x[h]),I=m.c2p(x[h+1]);c?(P=C,u=y[f],I=O,d=x[h]):(u=w?w[f]:(y[f]+y[f+1])/2,d=_?_[h]:(x[h]+x[h+1])/2,v&&"category"===v.type&&(u=y[f]),m&&"category"===m.type&&(d=x[h]),g.zsmooth&&(C=P=v.c2p(u),O=I=m.c2p(d)));var z=b[h][f];if(k&&!k[h][f]&&(z=void 0),void 0!==z||g.hoverongaps){var L;Array.isArray(p.hovertext)&&Array.isArray(p.hovertext[h])?L=p.hovertext[h][f]:Array.isArray(p.text)&&Array.isArray(p.text[h])&&(L=p.text[h][f]);var E=o(g),j={type:"linear",range:[E.min,E.max],hoverformat:T,_separators:v._separators,_numFormat:v._numFormat},D=i.tickText(j,z,"hover").text;return[a.extendFlat(e,{index:g._after2before?g._after2before[h][f]:[h,f],distance:e.maxHoverDistance,spikeDistance:e.maxSpikeDistance,x0:C,x1:P,y0:O,y1:I,xLabelVal:u,yLabelVal:d,zLabelVal:z,zLabel:D,text:L})]}}},"1wZf":function(e,t,r){"use strict";var n=r("Nx4I"),a=r("/CZE").isArrayOrTypedArray;e.exports=function(e,t,r,i,o,s){var l,c,u,d=[],f=n.traceIs(e,"contour"),h=n.traceIs(e,"histogram"),p=n.traceIs(e,"gl2d");if(a(t)&&t.length>1&&!h&&"category"!==s.type){var g=t.length;if(!(g<=o))return f?t.slice(0,o):t.slice(0,o+1);if(f||p)d=t.slice(0,o);else if(1===o)d=[t[0]-.5,t[0]+.5];else{for(d=[1.5*t[0]-.5*t[1]],u=1;u<g;u++)d.push(.5*(t[u-1]+t[u]));d.push(1.5*t[g-1]-.5*t[g-2])}if(g<o){var v=d[d.length-1],m=v-d[d.length-2];for(u=g;u<o;u++)v+=m,d.push(v)}}else{var y=e[s._id.charAt(0)+"calendar"];if(h)l=s.r2c(r,0,y);else if(a(t)&&1===t.length)l=t[0];else if(void 0===r)l=0;else{l=("log"===s.type?s.d2c:s.r2c)(r,0,y)}for(c=i||1,u=f||p?0:-.5;u<o;u++)d.push(l+c*u)}return d}},"1y5b":function(e,t,r){"use strict";var n=r("0wH6"),a=r("plED").templatedArray;e.exports=a("image",{visible:{valType:"boolean",role:"info",dflt:!0,editType:"arraydraw",description:["Determines whether or not this image is visible."].join(" ")},source:{valType:"string",role:"info",editType:"arraydraw",description:["Specifies the URL of the image to be used.","The URL must be accessible from the domain where the","plot code is run, and can be either relative or absolute."].join(" ")},layer:{valType:"enumerated",values:["below","above"],dflt:"above",role:"info",editType:"arraydraw",description:["Specifies whether images are drawn below or above traces.","When `xref` and `yref` are both set to `paper`,","image is drawn below the entire plot area."].join(" ")},sizex:{valType:"number",role:"info",dflt:0,editType:"arraydraw",description:["Sets the image container size horizontally.","The image will be sized based on the `position` value.","When `xref` is set to `paper`, units are sized relative","to the plot width."].join(" ")},sizey:{valType:"number",role:"info",dflt:0,editType:"arraydraw",description:["Sets the image container size vertically.","The image will be sized based on the `position` value.","When `yref` is set to `paper`, units are sized relative","to the plot height."].join(" ")},sizing:{valType:"enumerated",values:["fill","contain","stretch"],dflt:"contain",role:"info",editType:"arraydraw",description:["Specifies which dimension of the image to constrain."].join(" ")},opacity:{valType:"number",role:"info",min:0,max:1,dflt:1,editType:"arraydraw",description:"Sets the opacity of the image."},x:{valType:"any",role:"info",dflt:0,editType:"arraydraw",description:["Sets the image's x position.","When `xref` is set to `paper`, units are sized relative","to the plot height.","See `xref` for more info"].join(" ")},y:{valType:"any",role:"info",dflt:0,editType:"arraydraw",description:["Sets the image's y position.","When `yref` is set to `paper`, units are sized relative","to the plot height.","See `yref` for more info"].join(" ")},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left",role:"info",editType:"arraydraw",description:"Sets the anchor for the x position"},yanchor:{valType:"enumerated",values:["top","middle","bottom"],dflt:"top",role:"info",editType:"arraydraw",description:"Sets the anchor for the y position."},xref:{valType:"enumerated",values:["paper",n.idRegex.x.toString()],dflt:"paper",role:"info",editType:"arraydraw",description:["Sets the images's x coordinate axis.","If set to a x axis id (e.g. *x* or *x2*), the `x` position","refers to an x data coordinate","If set to *paper*, the `x` position refers to the distance from","the left of plot in normalized coordinates","where *0* (*1*) corresponds to the left (right)."].join(" ")},yref:{valType:"enumerated",values:["paper",n.idRegex.y.toString()],dflt:"paper",role:"info",editType:"arraydraw",description:["Sets the images's y coordinate axis.","If set to a y axis id (e.g. *y* or *y2*), the `y` position","refers to a y data coordinate.","If set to *paper*, the `y` position refers to the distance from","the bottom of the plot in normalized coordinates","where *0* (*1*) corresponds to the bottom (top)."].join(" ")},editType:"arraydraw"})},2:function(e,t){},"21T9":function(e,t,r){"use strict";t.dash={valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid",role:"style",editType:"style",description:["Sets the dash style of lines. Set to a dash type string","(*solid*, *dot*, *dash*, *longdash*, *dashdot*, or *longdashdot*)","or a dash length list in px (eg *5px,10px,2px,2px*)."].join(" ")}},"28dr":function(e,t,r){"use strict";var n=r("bljh"),a=r("Nx4I"),i=r("/CZE"),o=r("0RW4"),s=r("g9E0"),l=r("pcRN"),c=r("u3HJ"),u=r("BkK/"),d=r("zlYT").getAutoRange,f=r("Tv4R"),h=r("GHb7").prepSelect,p=r("GHb7").clearSelect,g=r("GHb7").selectOnClick,v=r("vmS9"),m=r("CASU"),y=r("CRlY"),x=r("xAC+"),b=r("0hfp").feature;function w(e){this.id=e.id,this.graphDiv=e.graphDiv,this.container=e.container,this.topojsonURL=e.topojsonURL,this.isStatic=e.staticPlot,this.topojsonName=null,this.topojson=null,this.projection=null,this.scope=null,this.viewInitial=null,this.fitScale=null,this.bounds=null,this.midPt=null,this.hasChoropleth=!1,this.traceHash={},this.layers={},this.basePaths={},this.dataPaths={},this.dataPoints={},this.clipDef=null,this.clipRect=null,this.bgRect=null,this.makeFramework()}r("S4zj")(n);var _=w.prototype;function k(e,t){var r=m.clipPad,n=e[0]+r,a=e[1]-r,i=t[0]+r,o=t[1]-r;n>0&&a<0&&(a+=360);var s=(a-n)/4;return{type:"Polygon",coordinates:[[[n,i],[n,o],[n+s,o],[n+2*s,o],[n+3*s,o],[a,o],[a,i],[a-s,i],[a-2*s,i],[a-3*s,i],[n,i]]]}}e.exports=function(e){return new w(e)},_.plot=function(e,t,r){var n=this,a=t[this.id],i=[],o=!1;for(var s in m.layerNameToAdjective)if("frame"!==s&&a["show"+s]){o=!0;break}for(var l=0;l<e.length;l++)if(e[0][0].trace.locationmode){o=!0;break}if(o){var c=x.getTopojsonName(a);null!==n.topojson&&c===n.topojsonName||(n.topojsonName=c,void 0===PlotlyGeoAssets.topojson[n.topojsonName]&&i.push(n.fetchTopojson()))}i=i.concat(y.fetchTraceGeoData(e)),r.push(new Promise((function(r,a){Promise.all(i).then((function(){n.topojson=PlotlyGeoAssets.topojson[n.topojsonName],n.update(e,t),r()})).catch(a)})))},_.fetchTopojson=function(){var e=this,t=x.getTopojsonPath(e.topojsonURL,e.topojsonName);return new Promise((function(r,a){n.json(t,(function(n,i){if(n)return 404===n.status?a(new Error(["plotly.js could not find topojson file at",t,".","Make sure the *topojsonURL* plot config option","is set properly."].join(" "))):a(new Error(["unexpected error while fetching topojson file at",t].join(" ")));PlotlyGeoAssets.topojson[e.topojsonName]=i,r()}))}))},_.update=function(e,t){var r=t[this.id];this.hasChoropleth=!1;for(var n=0;n<e.length;n++){var a=e[n],i=a[0].trace;"choropleth"===i.type&&(this.hasChoropleth=!0),!0===i.visible&&i._length>0&&i._module.calcGeoJSON(a,t)}if(!this.updateProjection(e,t)){this.viewInitial&&this.scope===r.scope||this.saveViewInitial(r),this.scope=r.scope,this.updateBaseLayers(t,r),this.updateDims(t,r),this.updateFx(t,r),c.generalUpdatePerTraceModule(this.graphDiv,this,e,r);var o=this.layers.frontplot.select(".scatterlayer");this.dataPoints.point=o.selectAll(".point"),this.dataPoints.text=o.selectAll("text"),this.dataPaths.line=o.selectAll(".js-line");var s=this.layers.backplot.select(".choroplethlayer");this.dataPaths.choropleth=s.selectAll("path"),this.render()}},_.updateProjection=function(e,t){var r=this.graphDiv,o=t[this.id],s=t._size,l=o.domain,c=o.projection,u=o.lonaxis,f=o.lataxis,h=u._ax,p=f._ax,g=this.projection=function(e){for(var t=e.projection.type,r=n.geo[m.projNames[t]](),a=e._isClipped?m.lonaxisSpan[t]/2:null,i=["center","rotate","parallels","clipExtent"],o=function(e){return e?r:[]},s=0;s<i.length;s++){var l=i[s];"function"!=typeof r[l]&&(r[l]=o)}r.isLonLatOverEdges=function(e){if(null===r(e))return!0;if(a){var t=r.rotate();return n.geo.distance(e,[-t[0],-t[1]])>a*Math.PI/180}return!1},r.getPath=function(){return n.geo.path().projection(r)},r.getBounds=function(e){return r.getPath().bounds(e)},r.fitExtent=function(e,t){var n=e[1][0]-e[0][0],a=e[1][1]-e[0][1],i=r.clipExtent&&r.clipExtent();r.scale(150).translate([0,0]),i&&r.clipExtent(null);var o=r.getBounds(t),s=Math.min(n/(o[1][0]-o[0][0]),a/(o[1][1]-o[0][1])),l=+e[0][0]+(n-s*(o[1][0]+o[0][0]))/2,c=+e[0][1]+(a-s*(o[1][1]+o[0][1]))/2;return i&&r.clipExtent(i),r.scale(150*s).translate([l,c])},r.precision(m.precision),a&&r.clipAngle(a-m.clipPad);return r}(o),v=[[s.l+s.w*l.x[0],s.t+s.h*(1-l.y[1])],[s.l+s.w*l.x[1],s.t+s.h*(1-l.y[0])]],y=o.center||{},x=c.rotation||{},b=u.range||[],w=f.range||[];if(o.fitbounds){h._length=v[1][0]-v[0][0],p._length=v[1][1]-v[0][1],h.range=d(r,h),p.range=d(r,p);var _=(h.range[0]+h.range[1])/2,T=(p.range[0]+p.range[1])/2;if(o._isScoped)y={lon:_,lat:T};else if(o._isClipped){y={lon:_,lat:T},x={lon:_,lat:T,roll:x.roll};var M=c.type,S=m.lonaxisSpan[M]/2||180,A=m.lataxisSpan[M]/2||180;b=[_-S,_+S],w=[T-A,T+A]}else y={lon:_,lat:T},x={lon:_,lat:x.lat,roll:x.roll}}g.center([y.lon-x.lon,y.lat-x.lat]).rotate([-x.lon,-x.lat,x.roll]).parallels(c.parallels);var C=k(b,w);g.fitExtent(v,C);var P=this.bounds=g.getBounds(C),O=this.fitScale=g.scale(),I=g.translate();if(!isFinite(P[0][0])||!isFinite(P[0][1])||!isFinite(P[1][0])||!isFinite(P[1][1])||isNaN(I[0])||isNaN(I[0])){for(var z=["fitbounds","projection.rotation","center","lonaxis.range","lataxis.range"],L="Invalid geo settings, relayout'ing to default view.",E={},j=0;j<z.length;j++)E[this.id+"."+z[j]]=null;return this.viewInitial=null,i.warn(L),r._promises.push(a.call("relayout",r,E)),L}if(o.fitbounds){var D=g.getBounds(k(h.range,p.range)),R=Math.min((P[1][0]-P[0][0])/(D[1][0]-D[0][0]),(P[1][1]-P[0][1])/(D[1][1]-D[0][1]));isFinite(R)?g.scale(R*O):i.warn("Something went wrong during"+this.id+"fitbounds computations.")}else g.scale(c.scale*O);var N=this.midPt=[(P[0][0]+P[1][0])/2,(P[0][1]+P[1][1])/2];if(g.translate([I[0]+(N[0]-I[0]),I[1]+(N[1]-I[1])]).clipExtent(P),o._isAlbersUsa){var F=g([y.lon,y.lat]),B=g.translate();g.translate([B[0]-(F[0]-B[0]),B[1]-(F[1]-B[1])])}},_.updateBaseLayers=function(e,t){var r=this,a=r.topojson,i=r.layers,l=r.basePaths;function c(e){return"lonaxis"===e||"lataxis"===e}function d(e){return Boolean(m.lineLayers[e])}function f(e){return Boolean(m.fillLayers[e])}var h=(this.hasChoropleth?m.layersForChoropleth:m.layers).filter((function(e){return d(e)||f(e)?t["show"+e]:!c(e)||t[e].showgrid})),p=r.framework.selectAll(".layer").data(h,String);p.exit().each((function(e){delete i[e],delete l[e],n.select(this).remove()})),p.enter().append("g").attr("class",(function(e){return"layer "+e})).each((function(e){var t=i[e]=n.select(this);"bg"===e?r.bgRect=t.append("rect").style("pointer-events","all"):c(e)?l[e]=t.append("path").style("fill","none"):"backplot"===e?t.append("g").classed("choroplethlayer",!0):"frontplot"===e?t.append("g").classed("scatterlayer",!0):d(e)?l[e]=t.append("path").style("fill","none").style("stroke-miterlimit",2):f(e)&&(l[e]=t.append("path").style("stroke","none"))})),p.order(),p.each((function(r){var n=l[r],i=m.layerNameToAdjective[r];"frame"===r?n.datum(m.sphereSVG):d(r)||f(r)?n.datum(b(a,a.objects[r])):c(r)&&n.datum(function(e,t,r){var n,a,i,o=t[e],s=m.scopeDefaults[t.scope];"lonaxis"===e?(n=s.lonaxisRange,a=s.lataxisRange,i=function(e,t){return[e,t]}):"lataxis"===e&&(n=s.lataxisRange,a=s.lonaxisRange,i=function(e,t){return[t,e]});var l={type:"linear",range:[n[0],n[1]-1e-6],tick0:o.tick0,dtick:o.dtick};u.setConvert(l,r);var c=u.calcTicks(l);t.isScoped||"lonaxis"!==e||c.pop();for(var d=c.length,f=new Array(d),h=0;h<d;h++)for(var p=c[h].x,g=f[h]=[],v=a[0];v<a[1]+2.5;v+=2.5)g.push(i(p,v));return{type:"MultiLineString",coordinates:f}}(r,t,e)).call(o.stroke,t[r].gridcolor).call(s.dashLine,"",t[r].gridwidth),d(r)?n.call(o.stroke,t[i+"color"]).call(s.dashLine,"",t[i+"width"]):f(r)&&n.call(o.fill,t[i+"color"])}))},_.updateDims=function(e,t){var r=this.bounds,n=(t.framewidth||0)/2,a=r[0][0]-n,i=r[0][1]-n,l=r[1][0]-a+n,c=r[1][1]-i+n;s.setRect(this.clipRect,a,i,l,c),this.bgRect.call(s.setRect,a,i,l,c).call(o.fill,t.bgcolor),this.xaxis._offset=a,this.xaxis._length=l,this.yaxis._offset=i,this.yaxis._length=c},_.updateFx=function(e,t){var r=this,i=r.graphDiv,o=r.bgRect,s=e.dragmode,c=e.clickmode;if(!r.isStatic){var u;"select"===s?u=function(e,t){(e.range={})[r.id]=[m([t.xmin,t.ymin]),m([t.xmax,t.ymax])]}:"lasso"===s&&(u=function(e,t,n){(e.lassoPoints={})[r.id]=n.filtered.map(m)});var d={element:r.bgRect.node(),gd:i,plotinfo:{id:r.id,xaxis:r.xaxis,yaxis:r.yaxis,fillRangeItems:u},xaxes:[r.xaxis],yaxes:[r.yaxis],subplot:r.id,clickFn:function(e){2===e&&p(i)}};"pan"===s?(o.node().onmousedown=null,o.call(v(r,t)),o.on("dblclick.zoom",(function(){var e=r.viewInitial,t={};for(var n in e)t[r.id+"."+n]=e[n];a.call("_guiRelayout",i,t),i.emit("plotly_doubleclick",null)})),i._context._scrollZoom.geo||o.on("wheel.zoom",null)):"select"!==s&&"lasso"!==s||(o.on(".zoom",null),d.prepFn=function(e,t,r){h(e,t,r,d,s)},f.init(d)),o.on("mousemove",(function(){var e=r.projection.invert(n.mouse(this));if(!e||isNaN(e[0])||isNaN(e[1]))return f.unhover(i,n.event);r.xaxis.p2c=function(){return e[0]},r.yaxis.p2c=function(){return e[1]},l.hover(i,n.event,r.id)})),o.on("mouseout",(function(){i._dragging||f.unhover(i,n.event)})),o.on("click",(function(){"select"!==s&&"lasso"!==s&&(c.indexOf("select")>-1&&g(n.event,i,[r.xaxis],[r.yaxis],r.id,d),c.indexOf("event")>-1&&l.click(i,n.event))}))}function m(e){return r.projection.invert([e[0]+r.xaxis._offset,e[1]+r.yaxis._offset])}},_.makeFramework=function(){var e=this,t=e.graphDiv,r=t._fullLayout,a="clip"+r._uid+e.id;e.clipDef=r._clips.append("clipPath").attr("id",a),e.clipRect=e.clipDef.append("rect"),e.framework=n.select(e.container).append("g").attr("class","geo "+e.id).call(s.setClipUrl,a,t),e.project=function(t){var r=e.projection(t);return r?[r[0]-e.xaxis._offset,r[1]-e.yaxis._offset]:[null,null]},e.xaxis={_id:"x",c2p:function(t){return e.project(t)[0]}},e.yaxis={_id:"y",c2p:function(t){return e.project(t)[1]}},e.mockAxis={type:"linear",showexponent:"all",exponentformat:"B"},u.setConvert(e.mockAxis,r)},_.saveViewInitial=function(e){var t,r=e.center||{},n=e.projection,a=n.rotation||{};this.viewInitial={fitbounds:e.fitbounds,"projection.scale":n.scale},t=e._isScoped?{"center.lon":r.lon,"center.lat":r.lat}:e._isClipped?{"projection.rotation.lon":a.lon,"projection.rotation.lat":a.lat}:{"center.lon":r.lon,"center.lat":r.lat,"projection.rotation.lon":a.lon},i.extendFlat(this.viewInitial,t)},_.render=function(){var e,t=this.projection,r=t.getPath();function n(e){var r=t(e.lonlat);return r?"translate("+r[0]+","+r[1]+")":null}function a(e){return t.isLonLatOverEdges(e.lonlat)?"none":null}for(e in this.basePaths)this.basePaths[e].attr("d",r);for(e in this.dataPaths)this.dataPaths[e].attr("d",(function(e){return r(e.geojson)}));for(e in this.dataPoints)this.dataPoints[e].attr("display",a).attr("transform",n)}},"2DHC":function(e,t,r){"use strict";e.exports={moduleType:"trace",name:"funnelarea",basePlotModule:r("qPk+"),categories:["pie-like","funnelarea","showLegend"],attributes:r("7MU3"),layoutAttributes:r("89+b"),supplyDefaults:r("5IWQ"),supplyLayoutDefaults:r("/NYH"),calc:r("OTZx").calc,crossTraceCalc:r("OTZx").crossTraceCalc,plot:r("fEMZ"),style:r("pB2H"),styleOne:r("pwgW"),meta:{description:["Visualize stages in a process using area-encoded trapezoids. This trace can be used",'to show data in a part-to-whole representation similar to a "pie" trace, wherein','each item appears in a single stage. See also the "funnel" trace type for a different',"approach to visualizing funnel data."].join(" ")}}},"2FgJ":function(e,t,r){"use strict";e.exports={segmentRE:/[MLHVQCTSZ][^MLHVQCTSZ]*/g,paramRE:/[^\s,]+/g,paramIsX:{M:{0:!0,drawn:0},L:{0:!0,drawn:0},H:{0:!0,drawn:0},V:{},Q:{0:!0,2:!0,drawn:2},C:{0:!0,2:!0,4:!0,drawn:4},T:{0:!0,drawn:0},S:{0:!0,2:!0,drawn:2},Z:{}},paramIsY:{M:{1:!0,drawn:1},L:{1:!0,drawn:1},H:{},V:{0:!0,drawn:0},Q:{1:!0,3:!0,drawn:3},C:{1:!0,3:!0,5:!0,drawn:5},T:{1:!0,drawn:1},S:{1:!0,3:!0,drawn:5},Z:{}},numParams:{M:2,L:2,H:1,V:1,Q:4,C:6,T:2,S:4,Z:0}}},"2S8E":function(e,t,r){"use strict";var n=r("2mon"),a=r("/CZE").isArrayOrTypedArray;e.exports=function(e,t,r,i){function o(r){var n=e[r];return void 0!==n?n:(t._template||{})[r]}var s=o("tick0"),l=o("dtick"),c=o("tickvals"),u=r("tickmode",a(c)?"array":l?"linear":"auto");if("auto"===u)r("nticks");else if("linear"===u){var d=t.dtick=n.dtick(l,i);t.tick0=n.tick0(s,i,t.calendar,d)}else if("multicategory"!==i){void 0===r("tickvals")?t.tickmode="auto":r("ticktext")}}},"2mon":function(e,t,r){"use strict";var n=r("GbLo"),a=r("/CZE"),i=r("6AZA").ONEDAY;t.dtick=function(e,t){var r="log"===t,a="date"===t,o="category"===t,s=a?i:1;if(!e)return s;if(n(e))return(e=Number(e))<=0?s:o?Math.max(1,Math.round(e)):a?Math.max(.1,e):e;if("string"!=typeof e||!a&&!r)return s;var l=e.charAt(0),c=e.substr(1);return(c=n(c)?Number(c):0)<=0||!(a&&"M"===l&&c===Math.round(c)||r&&"L"===l||r&&"D"===l&&(1===c||2===c))?s:e},t.tick0=function(e,t,r,i){return"date"===t?a.cleanDate(e,a.dateTick0(r)):"D1"!==i&&"D2"!==i?n(e)?Number(e):0:void 0}},"2oy/":function(e,t,r){"use strict";var n=r("bljh"),a=r("0RW4"),i=r("/CZE"),o=r("+1bK"),s=r("k6aH").resizeText;function l(e,t,r,n){var s,l,c=(n||{}).hovered,u=t.data.data,d=u.i,f=u.color,h=o.isHierarchyRoot(t),p=1;if(c)s=r._hovered.marker.line.color,l=r._hovered.marker.line.width;else if(h&&"rgba(0,0,0,0)"===f)p=0,s="rgba(0,0,0,0)",l=0;else if(s=i.castOption(r,d,"marker.line.color")||a.defaultLine,l=i.castOption(r,d,"marker.line.width")||0,!r._hasColorscale&&!t.onPathbar){var g=r.marker.depthfade;if(g){var v,m=a.combine(a.addOpacity(r._backgroundColor,.75),f);if(!0===g){var y=o.getMaxDepth(r);v=isFinite(y)?o.isLeaf(t)?0:r._maxVisibleLayers-(t.data.depth-r._entryDepth):t.data.height+1}else v=t.data.depth-r._entryDepth,r._atRootLevel||v++;if(v>0)for(var x=0;x<v;x++){var b=.5*x/v;f=a.combine(a.addOpacity(m,b),f)}}}e.style("stroke-width",l).call(a.fill,f).call(a.stroke,s).style("opacity",p)}e.exports={style:function(e){var t=e._fullLayout._treemaplayer.selectAll(".trace");s(e,t,"treemap"),t.each((function(e){var t=n.select(this),r=e[0].trace;t.style("opacity",r.opacity),t.selectAll("path.surface").each((function(e){n.select(this).call(l,e,r,{hovered:!1})}))}))},styleOne:l}},"2z/O":function(e,t,r){"use strict";var n=r("GbLo"),a=r("Nx4I"),i=r("BkK/"),o=r("/CZE"),s=r("PDHv");function l(e,t,r,a){var l=t["error_"+a]||{},c=[];if(l.visible&&-1!==["linear","log"].indexOf(r.type)){for(var u=s(l),d=0;d<e.length;d++){var f=e[d],h=f.i;if(void 0===h)h=d;else if(null===h)continue;var p=f[a];if(n(r.c2l(p))){var g=u(p,h);if(n(g[0])&&n(g[1])){var v=f[a+"s"]=p-g[0],m=f[a+"h"]=p+g[1];c.push(v,m)}}}var y=r._id,x=t._extremes[y],b=i.findExtremes(r,c,o.extendFlat({tozero:x.opts.tozero},{padded:!0}));x.min=x.min.concat(b.min),x.max=x.max.concat(b.max)}}e.exports=function(e){for(var t=e.calcdata,r=0;r<t.length;r++){var n=t[r],o=n[0].trace;if(!0===o.visible&&a.traceIs(o,"errorBarsOK")){var s=i.getFromId(e,o.xaxis),c=i.getFromId(e,o.yaxis);l(n,o,s,"x"),l(n,o,c,"y")}}}},3:function(e,t){},"37PH":function(e,t,r){"use strict";t.defaults=["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"],t.defaultLine="#444",t.lightLine="#eee",t.background="#fff",t.borderLine="#BEC8D9",t.lightFraction=1e3/11},"39Yb":function(e,t,r){"use strict";var n=r("ptpI");r.n(n).a},"3HVJ":function(e,t,r){"use strict";var n=r("GbLo"),a=r("rhNM"),i=r("MGx7"),o=r("6AZA").BADNUM;function s(e,t){return e<t}function l(e,t){return e<=t}function c(e,t){return e>t}function u(e,t){return e>=t}t.findBin=function(e,t,r){if(n(t.start))return r?Math.ceil((e-t.start)/t.size-1e-9)-1:Math.floor((e-t.start)/t.size+1e-9);var i,o,d=0,f=t.length,h=0,p=f>1?(t[f-1]-t[0])/(f-1):1;for(o=p>=0?r?s:l:r?u:c,e+=1e-9*p*(r?-1:1)*(p>=0?1:-1);d<f&&h++<100;)o(t[i=Math.floor((d+f)/2)],e)?d=i+1:f=i;return h>90&&a.log("Long binary search..."),d-1},t.sorterAsc=function(e,t){return e-t},t.sorterDes=function(e,t){return t-e},t.distinctVals=function(e){var r,n=e.slice();for(n.sort(t.sorterAsc),r=n.length-1;r>-1&&n[r]===o;r--);for(var a,i=n[r]-n[0]||1,s=i/(r||1)/1e4,l=[],c=0;c<=r;c++){var u=n[c],d=u-a;void 0===a?(l.push(u),a=u):d>s&&(i=Math.min(i,d),l.push(u),a=u)}return{vals:l,minDiff:i}},t.roundUp=function(e,t,r){for(var n,a=0,i=t.length-1,o=0,s=r?0:1,l=r?1:0,c=r?Math.ceil:Math.floor;a<i&&o++<100;)t[n=c((a+i)/2)]<=e?a=n+s:i=n-l;return t[a]},t.sort=function(e,t){for(var r=0,n=0,a=1;a<e.length;a++){var i=t(e[a],e[a-1]);if(i<0?r=1:i>0&&(n=1),r&&n)return e.sort(t)}return n?e:e.reverse()},t.findIndexOfMin=function(e,t){t=t||i;for(var r,n=1/0,a=0;a<e.length;a++){var o=t(e[a]);o<n&&(n=o,r=a)}return r}},"3MKb":function(e,t,r){"use strict";var n=r("/CZE"),a=r("5azm"),i=r("QtxG"),o=r("PS76").name,s=i.buttons;function l(e,t,r){function o(r,a){return n.coerce(e,t,i,r,a)}o("visible",a(e,t,{name:"buttons",handleItemDefaults:c}).length>0)&&(o("active"),o("direction"),o("type"),o("showactive"),o("x"),o("y"),n.noneOrAll(e,t,["x","y"]),o("xanchor"),o("yanchor"),o("pad.t"),o("pad.r"),o("pad.b"),o("pad.l"),n.coerceFont(o,"font",r.font),o("bgcolor",r.paper_bgcolor),o("bordercolor"),o("borderwidth"))}function c(e,t){function r(r,a){return n.coerce(e,t,s,r,a)}r("visible","skip"===e.method||Array.isArray(e.args))&&(r("method"),r("args"),r("args2"),r("label"),r("execute"))}e.exports=function(e,t){a(e,t,{name:o,handleItemDefaults:l})}},"3PNt":function(e,t){e.exports=!0},"3iLW":function(e,t,r){"use strict";var n=r("/CZE"),a=r("BkK/");function i(e,t){var r=t.fullSceneLayout.domain,i=t.fullLayout._size,o={pdata:null,type:"linear",autorange:!1,range:[-1/0,1/0]};e._xa={},n.extendFlat(e._xa,o),a.setConvert(e._xa),e._xa._offset=i.l+r.x[0]*i.w,e._xa.l2p=function(){return.5*(1+e._pdata[0]/e._pdata[3])*i.w*(r.x[1]-r.x[0])},e._ya={},n.extendFlat(e._ya,o),a.setConvert(e._ya),e._ya._offset=i.t+(1-r.y[1])*i.h,e._ya.l2p=function(){return.5*(1-e._pdata[1]/e._pdata[3])*i.h*(r.y[1]-r.y[0])}}e.exports=function(e){for(var t=e.fullSceneLayout.annotations,r=0;r<t.length;r++)i(t[r],e);e.fullLayout._infolayer.selectAll(".annotation-"+e.id).remove()}},"3mkv":function(e,t,r){"use strict";e.exports={PTS_LINESONLY:20,minTolerance:.2,toleranceGrowth:10,maxScreensAway:20,eventDataKeys:[]}},"3oHU":function(e,t,r){"use strict";var n=r("/CZE");e.exports={hasLines:function(e){return e.visible&&e.mode&&-1!==e.mode.indexOf("lines")},hasMarkers:function(e){return e.visible&&(e.mode&&-1!==e.mode.indexOf("markers")||"splom"===e.type)},hasText:function(e){return e.visible&&e.mode&&-1!==e.mode.indexOf("text")},isBubble:function(e){return n.isPlainObject(e.marker)&&n.isArrayOrTypedArray(e.marker.size)}}},"3oeQ":function(e,t,r){"use strict";var n=r("9+B2");r.n(n).a},"48bW":function(e,t,r){var n=r("U8Bh");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("b15f7bc6",n,!0,{})},"49sm":function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},"4WVA":function(e,t,r){"use strict";var n=r("/CZE"),a=r("HByh").handleGroupingDefaults,i=r("HByh").handleText,o=r("B28u"),s=r("Df4R"),l=r("0RW4"),c=r("uM7j"),u=c.INCREASING.COLOR,d=c.DECREASING.COLOR;function f(e,t,r){e(t+".marker.color",r),e(t+".marker.line.color",l.defaultLine),e(t+".marker.line.width")}e.exports={supplyDefaults:function(e,t,r,a){function l(r,a){return n.coerce(e,t,s,r,a)}if(o(e,t,a,l)){l("measure"),l("orientation",t.x&&!t.y?"h":"v"),l("base"),l("offset"),l("width"),l("text"),l("hovertext"),l("hovertemplate");var c=l("textposition");if(i(e,t,a,l,c,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!0,moduleHasCliponaxis:!0,moduleHasTextangle:!0,moduleHasInsideanchor:!0}),"none"!==t.textposition&&(l("texttemplate"),t.texttemplate||l("textinfo")),f(l,"increasing",u),f(l,"decreasing",d),f(l,"totals","#4499FF"),l("connector.visible"))l("connector.mode"),l("connector.line.width")&&(l("connector.line.color"),l("connector.line.dash"))}else t.visible=!1},crossTraceDefaults:function(e,t){var r,i;function o(e){return n.coerce(i._input,i,s,e)}if("group"===t.waterfallmode)for(var l=0;l<e.length;l++)r=(i=e[l])._input,a(r,i,t,o)}}},"4X2v":function(e,t,r){"use strict";var n=r("bljh"),a=r("yUfG"),i=r("g9E0"),o=r("/CZE"),s=r("A3kh"),l=r("k6aH"),c=l.recordMinTextSize,u=l.clearMinTextSize,d=r("wK8V"),f=d.computeTransform,h=d.transformInsideText,p=r("dZSj").styleOne,g=r("LfN2").resizeText,v=r("aWIO"),m=r("i6kf"),y=r("+1bK");function x(e,r,l,u){var d=e._fullLayout,g=!d.uniformtext.mode&&y.hasTransition(u),x=n.select(l).selectAll("g.slice"),w=r[0],_=w.trace,k=w.hierarchy,T=y.findEntryWithLevel(k,_.level),M=y.getMaxDepth(_),S=d._size,A=_.domain,C=S.w*(A.x[1]-A.x[0]),P=S.h*(A.y[1]-A.y[0]),O=.5*Math.min(C,P),I=w.cx=S.l+S.w*(A.x[1]+A.x[0])/2,z=w.cy=S.t+S.h*(1-A.y[0])-P/2;if(!T)return x.remove();var L=null,E={};g&&x.each((function(e){E[y.getPtId(e)]={rpx0:e.rpx0,rpx1:e.rpx1,x0:e.x0,x1:e.x1,transform:e.transform},!L&&y.isEntry(e)&&(L=e)}));var j=function(e){return a.partition().size([2*Math.PI,e.height+1])(e)}(T).descendants(),D=T.height+1,R=0,N=M;w.hasMultipleRoots&&y.isHierarchyRoot(T)&&(j=j.slice(1),D-=1,R=1,N+=1),j=j.filter((function(e){return e.y1<=N}));var F=Math.min(D,M),B=function(e){return(e-R)/F*O},H=function(e,t){return[e*Math.cos(t),-e*Math.sin(t)]},V=function(e){return o.pathAnnulus(e.rpx0,e.rpx1,e.x0,e.x1,I,z)},G=function(e){return I+b(e)[0]*(e.transform.rCenter||0)+(e.transform.x||0)},Z=function(e){return z+b(e)[1]*(e.transform.rCenter||0)+(e.transform.y||0)};(x=x.data(j,y.getPtId)).enter().append("g").classed("slice",!0),g?x.exit().transition().each((function(){var e=n.select(this);e.select("path.surface").transition().attrTween("d",(function(e){var t=function(e){var t,r=y.getPtId(e),a=E[r],i=E[y.getPtId(T)];if(i){var o=e.x1>i.x1?2*Math.PI:0;t=e.rpx1<i.rpx1?{rpx0:0,rpx1:0}:{x0:o,x1:o}}else{var s,l=y.getPtId(e.parent);x.each((function(e){if(y.getPtId(e)===l)return s=e}));var c,u=s.children;u.forEach((function(e,t){if(y.getPtId(e)===r)return c=t}));var d=u.length,f=n.interpolate(s.x0,s.x1);t={rpx0:O,rpx1:O,x0:f(c/d),x1:f((c+1)/d)}}return n.interpolate(a,t)}(e);return function(e){return V(t(e))}})),e.select("g.slicetext").attr("opacity",0)})).remove():x.exit().remove(),x.order();var q=null;if(g&&L){var U=y.getPtId(L);x.each((function(e){null===q&&y.getPtId(e)===U&&(q=e.x1)}))}var W=x;function Y(e){var t=e.parent,r=E[y.getPtId(t)],a={};if(r){var i=t.children,o=i.indexOf(e),s=i.length,l=n.interpolate(r.x0,r.x1);a.x0=l(o/s),a.x1=l(o/s)}else a.x0=a.x1=0;return a}g&&(W=W.transition().each("end",(function(){var t=n.select(this);y.setSliceCursor(t,e,{hideOnRoot:!0,hideOnLeaves:!0,isTransitioning:!1})}))),W.each((function(a){var l=n.select(this),u=o.ensureSingle(l,"path","surface",(function(e){e.style("pointer-events","all")}));a.rpx0=B(a.y0),a.rpx1=B(a.y1),a.xmid=(a.x0+a.x1)/2,a.pxmid=H(a.rpx1,a.xmid),a.midangle=-(a.xmid-Math.PI/2),a.startangle=-(a.x0-Math.PI/2),a.stopangle=-(a.x1-Math.PI/2),a.halfangle=.5*Math.min(o.angleDelta(a.x0,a.x1)||Math.PI,Math.PI),a.ring=1-a.rpx0/a.rpx1,a.rInscribed=function(e){return 0===e.rpx0&&o.isFullCircle([e.x0,e.x1])?1:Math.max(0,Math.min(1/(1+1/Math.sin(e.halfangle)),e.ring/2))}(a),g?u.transition().attrTween("d",(function(e){var t=function(e){var t,r=E[y.getPtId(e)],a={x0:e.x0,x1:e.x1,rpx0:e.rpx0,rpx1:e.rpx1};if(r)t=r;else if(L)if(e.parent)if(q){var i=e.x1>q?2*Math.PI:0;t={x0:i,x1:i}}else t={rpx0:O,rpx1:O},o.extendFlat(t,Y(e));else t={rpx0:0,rpx1:0};else t={x0:0,x1:0};return n.interpolate(t,a)}(e);return function(e){return V(t(e))}})):u.attr("d",V),l.call(v,T,e,r,{eventDataKeys:m.eventDataKeys,transitionTime:m.CLICK_TRANSITION_TIME,transitionEasing:m.CLICK_TRANSITION_EASING}).call(y.setSliceCursor,e,{hideOnRoot:!0,hideOnLeaves:!0,isTransitioning:e._transitioning}),u.call(p,a,_);var x=o.ensureSingle(l,"g","slicetext"),b=o.ensureSingle(x,"text","",(function(e){e.attr("data-notex",1)})),k=o.ensureUniformFontSize(e,y.determineTextFont(_,a,d.font));b.text(t.formatSliceLabel(a,T,_,r,d)).classed("slicetext",!0).attr("text-anchor","middle").call(i.font,k).call(s.convertToTspans,e);var M=i.bBox(b.node());a.transform=h(M,a,w),a.transform.targetX=G(a),a.transform.targetY=Z(a);var S=function(e,t){var r=e.transform;return f(r,t),r.fontSize=k.size,c(_.type,r,d),o.getTextTransform(r)};g?b.transition().attrTween("transform",(function(e){var t=function(e){var t,r=E[y.getPtId(e)],a=e.transform;if(r)t=r;else if(t={rpx1:e.rpx1,transform:{textPosAngle:a.textPosAngle,scale:0,rotate:a.rotate,rCenter:a.rCenter,x:a.x,y:a.y}},L)if(e.parent)if(q){var i=e.x1>q?2*Math.PI:0;t.x0=t.x1=i}else o.extendFlat(t,Y(e));else t.x0=t.x1=0;else t.x0=t.x1=0;var s=n.interpolate(t.transform.textPosAngle,e.transform.textPosAngle),l=n.interpolate(t.rpx1,e.rpx1),u=n.interpolate(t.x0,e.x0),f=n.interpolate(t.x1,e.x1),h=n.interpolate(t.transform.scale,a.scale),p=n.interpolate(t.transform.rotate,a.rotate),g=0===a.rCenter?3:0===t.transform.rCenter?1/3:1,v=n.interpolate(t.transform.rCenter,a.rCenter);return function(e){var t=l(e),r=u(e),n=f(e),i=function(e){return v(Math.pow(e,g))}(e),o={pxmid:H(t,(r+n)/2),rpx1:t,transform:{textPosAngle:s(e),rCenter:i,x:a.x,y:a.y}};return c(_.type,a,d),{transform:{targetX:G(o),targetY:Z(o),scale:h(e),rotate:p(e),rCenter:i}}}}(e);return function(e){return S(t(e),M)}})):b.attr("transform",S(a,M))}))}function b(e){return t=e.rpx1,r=e.transform.textPosAngle,[t*Math.sin(r),-t*Math.cos(r)];var t,r}t.plot=function(e,t,r,a){var i,o,s=e._fullLayout,l=s._sunburstlayer,c=!r,d=!s.uniformtext.mode&&y.hasTransition(r);(u("sunburst",s),(i=l.selectAll("g.trace.sunburst").data(t,(function(e){return e[0].trace.uid}))).enter().append("g").classed("trace",!0).classed("sunburst",!0).attr("stroke-linejoin","round"),i.order(),d)?(a&&(o=a()),n.transition().duration(r.duration).ease(r.easing).each("end",(function(){o&&o()})).each("interrupt",(function(){o&&o()})).each((function(){l.selectAll("g.trace").each((function(t){x(e,t,this,r)}))}))):(i.each((function(t){x(e,t,this,r)})),s.uniformtext.mode&&g(e,s._sunburstlayer.selectAll(".trace"),"sunburst"));c&&i.exit().remove()},t.formatSliceLabel=function(e,t,r,n,a){var i=r.texttemplate,s=r.textinfo;if(!(i||s&&"none"!==s))return"";var l=a.separators,c=n[0],u=e.data.data,d=c.hierarchy,f=y.isHierarchyRoot(e),h=y.getParent(d,e),p=y.getValue(e);if(!i){var g,v=s.split("+"),m=function(e){return-1!==v.indexOf(e)},x=[];if(m("label")&&u.label&&x.push(u.label),u.hasOwnProperty("v")&&m("value")&&x.push(y.formatValue(u.v,l)),!f){m("current path")&&x.push(y.getPath(e.data));var b=0;m("percent parent")&&b++,m("percent entry")&&b++,m("percent root")&&b++;var w=b>1;if(b){var _,k=function(e){g=y.formatPercent(_,l),w&&(g+=" of "+e),x.push(g)};m("percent parent")&&!f&&(_=p/y.getValue(h),k("parent")),m("percent entry")&&(_=p/y.getValue(t),k("entry")),m("percent root")&&(_=p/y.getValue(d),k("root"))}}return m("text")&&(g=o.castOption(r,u.i,"text"),o.isValidTextValue(g)&&x.push(g)),x.join("<br>")}var T=o.castOption(r,u.i,"texttemplate");if(!T)return"";var M={};u.label&&(M.label=u.label),u.hasOwnProperty("v")&&(M.value=u.v,M.valueLabel=y.formatValue(u.v,l)),M.currentPath=y.getPath(e.data),f||(M.percentParent=p/y.getValue(h),M.percentParentLabel=y.formatPercent(M.percentParent,l),M.parent=y.getPtLabel(h)),M.percentEntry=p/y.getValue(t),M.percentEntryLabel=y.formatPercent(M.percentEntry,l),M.entry=y.getPtLabel(t),M.percentRoot=p/y.getValue(d),M.percentRootLabel=y.formatPercent(M.percentRoot,l),M.root=y.getPtLabel(d),u.hasOwnProperty("color")&&(M.color=u.color);var S=o.castOption(r,u.i,"text");return(o.isValidTextValue(S)||""===S)&&(M.text=S),M.customdata=o.castOption(r,u.i,"customdata"),o.texttemplateString(T,M,a._d3locale,M,r._meta||{})}},"4htA":function(e,t,r){"use strict";t.selectMode=function(e){return"lasso"===e||"select"===e},t.drawMode=function(e){return"drawclosedpath"===e||"drawopenpath"===e||"drawline"===e||"drawrect"===e||"drawcircle"===e},t.openMode=function(e){return"drawline"===e||"drawopenpath"===e},t.rectMode=function(e){return"select"===e||"drawline"===e||"drawrect"===e||"drawcircle"===e},t.freeMode=function(e){return"lasso"===e||"drawclosedpath"===e||"drawopenpath"===e},t.selectingOrDrawing=function(e){return t.freeMode(e)||t.rectMode(e)}},"56vX":function(e,t,r){"use strict";var n=r("bljh"),a=r("0RW4"),i=r("g9E0"),o=r("wlgE");function s(e,t){var r=t[0].trace,s=t[0].node3.selectAll(".choroplethlocation"),l=r.marker||{},c=l.line||{},u=o.makeColorScaleFuncFromTrace(r);s.each((function(e){n.select(this).attr("fill",u(e.z)).call(a.stroke,e.mlc||c.color).call(i.dashLine,"",e.mlw||c.width||0).style("opacity",l.opacity)})),i.selectedPointStyle(s,r,e)}e.exports={style:function(e,t){t&&s(e,t)},styleOnSelect:function(e,t){var r=t[0].node3,n=t[0].trace;n.selectedpoints?i.selectedPointStyle(r.selectAll(".choroplethlocation"),n,e):s(e,t)}}},"5EAt":function(e,t){e.exports=function(e){var t=[];return e.replace(n,(function(e,n,i){var o=n.toLowerCase();for(i=function(e){var t=e.match(a);return t?t.map(Number):[]}(i),"m"==o&&i.length>2&&(t.push([n].concat(i.splice(0,2))),o="l",n="m"==n?"l":"L");;){if(i.length==r[o])return i.unshift(n),t.push(i);if(i.length<r[o])throw new Error("malformed path data");t.push([n].concat(i.splice(0,r[o])))}})),t};var r={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},n=/([astvzqmhlc])([^astvzqmhlc]*)/gi;var a=/-?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/gi},"5IWQ":function(e,t,r){"use strict";var n=r("/CZE"),a=r("7MU3"),i=r("gfA5").defaults,o=r("HByh").handleText,s=r("qc20").handleLabelsAndValues;e.exports=function(e,t,r,l){function c(r,i){return n.coerce(e,t,a,r,i)}var u=c("labels"),d=c("values"),f=s(u,d),h=f.len;if(t._hasLabels=f.hasLabels,t._hasValues=f.hasValues,!t._hasLabels&&t._hasValues&&(c("label0"),c("dlabel")),h){t._length=h,c("marker.line.width")&&c("marker.line.color",l.paper_bgcolor),c("marker.colors"),c("scalegroup");var p,g=c("text"),v=c("texttemplate");if(v||(p=c("textinfo",Array.isArray(g)?"text+percent":"percent")),c("hovertext"),c("hovertemplate"),v||p&&"none"!==p){var m=c("textposition");o(e,t,l,c,m,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1})}i(t,l,c),c("title.text")&&(c("title.position"),n.coerceFont(c,"title.font",l.font)),c("aspectratio"),c("baseratio")}else t.visible=!1}},"5azm":function(e,t,r){"use strict";var n=r("/CZE"),a=r("plED");e.exports=function(e,t,r){var i,o,s=r.name,l=r.inclusionAttr||"visible",c=t[s],u=n.isArrayOrTypedArray(e[s])?e[s]:[],d=t[s]=[],f=a.arrayTemplater(t,s,l);for(i=0;i<u.length;i++){var h=u[i];n.isPlainObject(h)?o=f.newItem(h):(o=f.newItem({}))[l]=!1,o._index=i,!1!==o[l]&&r.handleItemDefaults(h,o,t,r),d.push(o)}var p=f.defaultItems();for(i=0;i<p.length;i++)(o=p[i])._index=d.length,r.handleItemDefaults({},o,t,r,{}),d.push(o);if(n.isArrayOrTypedArray(c)){var g=Math.min(c.length,d.length);for(i=0;i<g;i++)n.relinkPrivateKeys(d[i],c[i])}return d}},"5jll":function(e,t,r){"use strict";e.exports={name:"sliders",containerClassName:"slider-container",groupClassName:"slider-group",inputAreaClass:"slider-input-area",railRectClass:"slider-rail-rect",railTouchRectClass:"slider-rail-touch-rect",gripRectClass:"slider-grip-rect",tickRectClass:"slider-tick-rect",inputProxyClass:"slider-input-proxy",labelsClass:"slider-labels",labelGroupClass:"slider-label-group",labelClass:"slider-label",currentValueClass:"slider-current-value",railHeight:5,menuIndexAttrName:"slider-active-index",autoMarginIdRoot:"slider-",minWidth:30,minHeight:30,textPadX:40,arrowOffsetX:4,railRadius:2,railWidth:5,railBorder:4,railBorderWidth:1,railBorderColor:"#bec8d9",railBgColor:"#f8fafc",railInset:8,stepInset:10,gripRadius:10,gripWidth:20,gripHeight:20,gripBorder:20,gripBorderWidth:1,gripBorderColor:"#bec8d9",gripBgColor:"#f6f8fa",gripBgActiveColor:"#dbdde0",labelPadding:8,labelOffset:0,tickWidth:1,tickColor:"#333",tickOffset:25,tickLength:7,minorTickOffset:25,minorTickColor:"#333",minorTickLength:4,currentValuePadding:8,currentValueInset:0}},"6AZA":function(e,t,r){"use strict";e.exports={BADNUM:void 0,FP_SAFE:Number.MAX_VALUE/1e4,ONEAVGYEAR:315576e5,ONEAVGMONTH:26298e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,EPOCHJD:2440587.5,ALMOST_EQUAL:.999999,LOG_CLIP:10,MINUS_SIGN:"โ"}},"6BKz":function(e,t,r){"use strict";var n=r("bljh"),a=r("GbLo"),i=r("Zss7"),o=r("/CZE"),s=r("h0EB"),l=r("A3kh"),c=r("yVNY"),u=r("g9E0"),d=r("0RW4"),f=r("Tv4R"),h=r("BkK/"),p=r("Nx4I"),g=r("xMdC"),v=r("f7dW"),m=r("6BNG"),y=r("Q9kw"),x=v.YANGLE,b=Math.PI*x/180,w=1/Math.sin(b),_=Math.cos(b),k=Math.sin(b),T=v.HOVERARROWSIZE,M=v.HOVERTEXTPAD;function S(e){return[e.trace.index,e.index,e.x0,e.y0,e.name,e.attr,e.xa,e.ya||""].join(",")}t.hover=function(e,t,r,i){e=o.getGraphDiv(e),o.throttle(e._fullLayout._uid+v.HOVERID,v.HOVERMINTIME,(function(){!function(e,t,r,i){r||(r="xy");var l=Array.isArray(r)?r:[r],u=e._fullLayout,h=u._plots||[],v=h[r],m=u._has("cartesian");if(v){var y=v.overlays.map((function(e){return e.id}));l=l.concat(y)}for(var x=l.length,b=new Array(x),_=new Array(x),k=!1,T=0;T<x;T++){var M=l[T];if(h[M])k=!0,b[T]=h[M].xaxis,_[T]=h[M].yaxis;else{if(!u[M]||!u[M]._subplot)return void o.warn("Unrecognized subplot: "+M);var A=u[M]._subplot;b[T]=A.xaxis,_[T]=A.yaxis}}var P=t.hovermode||u.hovermode;P&&!k&&(P="closest");if(-1===["x","y","closest","x unified","y unified"].indexOf(P)||!e.calcdata||e.querySelector(".zoombox")||e._dragging)return f.unhoverRaw(e,t);var E,j,D,R,N,F,B,H,V,G,Z,q,U,W=-1===u.hoverdistance?1/0:u.hoverdistance,Y=-1===u.spikedistance?1/0:u.spikedistance,X=[],$=[],J={hLinePoint:null,vLinePoint:null},K=!1;if(Array.isArray(t))for(P="array",D=0;D<t.length;D++)(N=e.calcdata[t[D].curveNumber||0])&&(F=N[0].trace,"skip"!==N[0].trace.hoverinfo&&($.push(N),"h"===F.orientation&&(K=!0)));else{for(R=0;R<e.calcdata.length;R++)N=e.calcdata[R],"skip"!==(F=N[0].trace).hoverinfo&&g.isTraceInSubplots(F,l)&&($.push(N),"h"===F.orientation&&(K=!0));var Q,ee;if(!t.target)Q="xpx"in t?t.xpx:b[0]._length/2,ee="ypx"in t?t.ypx:_[0]._length/2;else{if(!1===s.triggerHandler(e,"plotly_beforehover",t))return;var te=t.target.getBoundingClientRect();if(Q=t.clientX-te.left,ee=t.clientY-te.top,Q<0||Q>b[0]._length||ee<0||ee>_[0]._length)return f.unhoverRaw(e,t)}if(t.pointerX=Q+b[0]._offset,t.pointerY=ee+_[0]._offset,E="xval"in t?g.flat(l,t.xval):g.p2c(b,Q),j="yval"in t?g.flat(l,t.yval):g.p2c(_,ee),!a(E[0])||!a(j[0]))return o.warn("Fx.hover failed",t,e),f.unhoverRaw(e,t)}var re=1/0;function ne(e,r){for(R=0;R<$.length;R++)if((N=$[R])&&N[0]&&N[0].trace&&!0===(F=N[0].trace).visible&&0!==F._length&&-1===["carpet","contourcarpet"].indexOf(F._module.name)){if("splom"===F.type?B=l[H=0]:(B=g.getSubplot(F),H=l.indexOf(B)),V=P,g.isUnifiedHover(V)&&(V=V.charAt(0)),q={cd:N,trace:F,xa:b[H],ya:_[H],maxHoverDistance:W,maxSpikeDistance:Y,index:!1,distance:Math.min(re,W),spikeDistance:1/0,xSpike:void 0,ySpike:void 0,color:d.defaultLine,name:F.name,x0:void 0,x1:void 0,y0:void 0,y1:void 0,xLabelVal:void 0,yLabelVal:void 0,zLabelVal:void 0,text:void 0},u[B]&&(q.subplot=u[B]._subplot),u._splomScenes&&u._splomScenes[F.uid]&&(q.scene=u._splomScenes[F.uid]),U=X.length,"array"===V){var n=t[R];"pointNumber"in n?(q.index=n.pointNumber,V="closest"):(V="","xval"in n&&(G=n.xval,V="x"),"yval"in n&&(Z=n.yval,V=V?"closest":"y"))}else void 0!==e&&void 0!==r?(G=e,Z=r):(G=E[H],Z=j[H]);if(0!==W)if(F._module&&F._module.hoverPoints){var i=F._module.hoverPoints(q,G,Z,V,u._hoverlayer);if(i)for(var s,c=0;c<i.length;c++)s=i[c],a(s.x0)&&a(s.y0)&&X.push(I(s,P))}else o.log("Unrecognized trace type in hover:",F);if("closest"===P&&X.length>U&&(X.splice(0,U),re=X[0].distance),m&&0!==Y&&0===X.length){q.distance=Y,q.index=!1;var f=F._module.hoverPoints(q,G,Z,"closest",u._hoverlayer);if(f&&(f=f.filter((function(e){return e.spikeDistance<=Y}))),f&&f.length){var h,p=f.filter((function(e){return e.xa.showspikes&&"hovered data"!==e.xa.spikesnap}));if(p.length){var v=p[0];a(v.x0)&&a(v.y0)&&(h=ie(v),(!J.vLinePoint||J.vLinePoint.spikeDistance>h.spikeDistance)&&(J.vLinePoint=h))}var y=f.filter((function(e){return e.ya.showspikes&&"hovered data"!==e.ya.spikesnap}));if(y.length){var x=y[0];a(x.x0)&&a(x.y0)&&(h=ie(x),(!J.hLinePoint||J.hLinePoint.spikeDistance>h.spikeDistance)&&(J.hLinePoint=h))}}}}}function ae(e,t){for(var r,n=null,a=1/0,i=0;i<e.length;i++)(r=e[i].spikeDistance)<=a&&r<=t&&(n=e[i],a=r);return n}function ie(e){return e?{xa:e.xa,ya:e.ya,x:void 0!==e.xSpike?e.xSpike:(e.x0+e.x1)/2,y:void 0!==e.ySpike?e.ySpike:(e.y0+e.y1)/2,distance:e.distance,spikeDistance:e.spikeDistance,curveNumber:e.trace.index,color:e.color,pointNumber:e.index}:null}ne();var oe={fullLayout:u,container:u._hoverlayer,outerContainer:u._paperdiv,event:t},se=e._spikepoints,le={vLinePoint:J.vLinePoint,hLinePoint:J.hLinePoint};if(e._spikepoints=le,m&&0!==Y&&0!==X.length){var ce=ae(X.filter((function(e){return e.ya.showspikes})),Y);J.hLinePoint=ie(ce);var ue=ae(X.filter((function(e){return e.xa.showspikes})),Y);J.vLinePoint=ie(ue)}if(0===X.length){var de=f.unhoverRaw(e,t);return!m||null===J.hLinePoint&&null===J.vLinePoint||L(se)&&z(e,J,oe),de}m&&L(se)&&z(e,J,oe);if(X.sort((function(e,t){return e.distance-t.distance})),g.isXYhover(V)&&0!==X[0].length&&"splom"!==X[0].trace.type){var fe=X[0],he=fe.cd[fe.index],pe="group"===u.boxmode||"group"===u.violinmode,ge=fe.xVal,ve=fe.xa;"category"===ve.type&&(ge=ve._categoriesMap[ge]),"date"===ve.type&&(ge=ve.d2c(ge)),he&&he.t&&he.t.posLetter===ve._id&&pe&&(ge+=he.t.dPos);var me=fe.yVal;"category"===(ve=fe.ya).type&&(me=ve._categoriesMap[me]),"date"===ve.type&&(me=ve.d2c(me)),he&&he.t&&he.t.posLetter===ve._id&&pe&&(me+=he.t.dPos),ne(ge,me);var ye={};X=X.filter((function(e){var t=S(e);if(!ye[t])return ye[t]=!0,ye[t]}))}var xe=e._hoverdata,be=[];for(D=0;D<X.length;D++){var we=X[D],_e=g.makeEventData(we,we.trace,we.cd);if(!1!==we.hovertemplate){var ke=!1;we.cd[we.index]&&we.cd[we.index].ht&&(ke=we.cd[we.index].ht),we.hovertemplate=ke||we.trace.hovertemplate||!1}we.eventData=[_e],be.push(_e)}e._hoverdata=be;var Te="y"===P&&($.length>1||X.length>1)||"closest"===P&&K&&X.length>1,Me=d.combine(u.plot_bgcolor||d.background,u.paper_bgcolor),Se={hovermode:P,rotateLabels:Te,bgColor:Me,container:u._hoverlayer,outerContainer:u._paperdiv,commonLabelOpts:u.hoverlabel,hoverdistance:u.hoverdistance},Ae=C(X,Se,e);g.isUnifiedHover(P)||(!function(e,t,r){var n,a,i,o,s,l,c,u=0,d=1,f=e.size(),h=new Array(f),p=0;function g(e){var t=e[0],r=e[e.length-1];if(a=t.pmin-t.pos-t.dp+t.size,i=r.pos+r.dp+r.size-t.pmax,a>.01){for(s=e.length-1;s>=0;s--)e[s].dp+=a;n=!1}if(!(i<.01)){if(a<-.01){for(s=e.length-1;s>=0;s--)e[s].dp-=i;n=!1}if(n){var c=0;for(o=0;o<e.length;o++)(l=e[o]).pos+l.dp+l.size>t.pmax&&c++;for(o=e.length-1;o>=0&&!(c<=0);o--)(l=e[o]).pos>t.pmax-1&&(l.del=!0,c--);for(o=0;o<e.length&&!(c<=0);o++)if((l=e[o]).pos<t.pmin+1)for(l.del=!0,c--,i=2*l.size,s=e.length-1;s>=0;s--)e[s].dp-=i;for(o=e.length-1;o>=0&&!(c<=0);o--)(l=e[o]).pos+l.dp+l.size>t.pmax&&(l.del=!0,c--)}}}e.each((function(e){var n=e[t],a="x"===n._id.charAt(0),i=n.range;0===p&&i&&i[0]>i[1]!==a&&(d=-1),h[p++]=[{datum:e,traceIndex:e.trace.index,dp:0,pos:e.pos,posref:e.posref,size:e.by*(a?w:1)/2,pmin:0,pmax:a?r.width:r.height}]})),h.sort((function(e,t){return e[0].posref-t[0].posref||d*(t[0].traceIndex-e[0].traceIndex)}));for(;!n&&u<=f;){for(u++,n=!0,o=0;o<h.length-1;){var v=h[o],m=h[o+1],y=v[v.length-1],x=m[0];if((a=y.pos+y.dp+y.size-x.pos-x.dp+x.size)>.01&&y.pmin===x.pmin&&y.pmax===x.pmax){for(s=m.length-1;s>=0;s--)m[s].dp+=a;for(v.push.apply(v,m),h.splice(o+1,1),c=0,s=v.length-1;s>=0;s--)c+=v[s].dp;for(i=c/v.length,s=v.length-1;s>=0;s--)v[s].dp-=i;n=!1}else o++}h.forEach(g)}for(o=h.length-1;o>=0;o--){var b=h[o];for(s=b.length-1;s>=0;s--){var _=b[s],k=_.datum;k.offset=_.dp,k.del=_.del}}}(Ae,Te?"xa":"ya",u),O(Ae,Te));if(t.target&&t.target.tagName){var Ce=p.getComponentMethod("annotations","hasClickToShow")(e,be);c(n.select(t.target),Ce?"pointer":"")}if(!t.target||i||!function(e,t,r){if(!r||r.length!==e._hoverdata.length)return!0;for(var n=r.length-1;n>=0;n--){var a=r[n],i=e._hoverdata[n];if(a.curveNumber!==i.curveNumber||String(a.pointNumber)!==String(i.pointNumber)||String(a.pointNumbers)!==String(i.pointNumbers))return!0}return!1}(e,0,xe))return;xe&&e.emit("plotly_unhover",{event:t,points:xe});e.emit("plotly_hover",{event:t,points:e._hoverdata,xaxes:b,yaxes:_,xvals:E,yvals:j})}(e,t,r,i)}))},t.loneHover=function(e,t){var r=!0;Array.isArray(e)||(r=!1,e=[e]);var a=e.map((function(e){return{color:e.color||d.defaultLine,x0:e.x0||e.x||0,x1:e.x1||e.x||0,y0:e.y0||e.y||0,y1:e.y1||e.y||0,xLabel:e.xLabel,yLabel:e.yLabel,zLabel:e.zLabel,text:e.text,name:e.name,idealAlign:e.idealAlign,borderColor:e.borderColor,fontFamily:e.fontFamily,fontSize:e.fontSize,fontColor:e.fontColor,nameLength:e.nameLength,textAlign:e.textAlign,trace:e.trace||{index:0,hoverinfo:""},xa:{_offset:0},ya:{_offset:0},index:0,hovertemplate:e.hovertemplate||!1,eventData:e.eventData||!1,hovertemplateLabels:e.hovertemplateLabels||!1}})),i=n.select(t.container),o=t.outerContainer?n.select(t.outerContainer):i,s={hovermode:"closest",rotateLabels:!1,bgColor:t.bgColor||d.background,container:i,outerContainer:o},l=C(a,s,t.gd),c=0,u=0;return l.sort((function(e,t){return e.y0-t.y0})).each((function(e,r){var n=e.y0-e.by/2;e.offset=n-5<c?c-n+5:0,c=n+e.by+e.offset,r===t.anchorIndex&&(u=e.offset)})).each((function(e){e.offset-=u})),O(l,s.rotateLabels),r?l:l.node()};var A=/<extra>([\s\S]*)<\/extra>/;function C(e,t,r){var a=r._fullLayout,i=t.hovermode,s=t.rotateLabels,c=t.bgColor,f=t.container,h=t.outerContainer,p=t.commonLabelOpts||{},b=t.fontFamily||v.HOVERFONT,w=t.fontSize||v.HOVERFONTSIZE,_=e[0],k=_.xa,A=_.ya,C="y"===i.charAt(0)?"yLabel":"xLabel",O=_[C],I=(String(O)||"").split(" ")[0],z=h.node().getBoundingClientRect(),L=z.top,E=z.width,j=z.height,D=void 0!==O&&_.distance<=t.hoverdistance&&("x"===i||"y"===i);if(D){var R,N,F=!0;for(R=0;R<e.length;R++)if(F&&void 0===e[R].zLabel&&(F=!1),N=e[R].hoverinfo||e[R].trace.hoverinfo){var B=Array.isArray(N)?N:N.split("+");if(-1===B.indexOf("all")&&-1===B.indexOf(i)){D=!1;break}}F&&(D=!1)}var H=f.selectAll("g.axistext").data(D?[0]:[]);function V(e){return e.filter((function(e){return void 0!==e.zLabelVal||(e[C]||"").split(" ")[0]===I}))}if(H.enter().append("g").classed("axistext",!0),H.exit().remove(),H.each((function(){var t=n.select(this),s=o.ensureSingle(t,"path","",(function(e){e.style({"stroke-width":"1px"})})),c=o.ensureSingle(t,"text","",(function(e){e.attr("data-notex",1)})),f=p.bgcolor||d.defaultLine,h=p.bordercolor||d.contrast(f),g=d.contrast(f),v={family:p.font.family||b,size:p.font.size||w,color:p.font.color||g};s.style({fill:f,stroke:h}),c.text(O).call(u.font,v).call(l.positionText,0,0).call(l.convertToTspans,r),t.attr("transform","");var m,y,x=c.node().getBoundingClientRect();if("x"===i){var S="top"===k.side?"-":"";c.attr("text-anchor","middle").call(l.positionText,0,"top"===k.side?L-x.bottom-T-M:L-x.top+T+M),m=k._offset+(_.x0+_.x1)/2,y=A._offset+("top"===k.side?0:A._length);var C=x.width/2+M;m<C?(m=C,s.attr("d","M-"+(C-T)+",0L-"+(C-2*T)+","+S+T+"H"+(M+x.width/2)+"v"+S+(2*M+x.height)+"H-"+C+"V"+S+T+"Z")):m>a.width-C?(m=a.width-C,s.attr("d","M"+(C-T)+",0L"+C+","+S+T+"v"+S+(2*M+x.height)+"H-"+C+"V"+S+T+"H"+(C-2*T)+"Z")):s.attr("d","M0,0L"+T+","+S+T+"H"+(M+x.width/2)+"v"+S+(2*M+x.height)+"H-"+(M+x.width/2)+"V"+S+T+"H-"+T+"Z")}else{var P,I,z;"right"===A.side?(P="start",I=1,z="",m=k._offset+k._length):(P="end",I=-1,z="-",m=k._offset),y=A._offset+(_.y0+_.y1)/2,c.attr("text-anchor",P),s.attr("d","M0,0L"+z+T+","+T+"V"+(M+x.height/2)+"h"+z+(2*M+x.width)+"V-"+(M+x.height/2)+"H"+z+T+"V-"+T+"Z");var E,j=x.height/2,D=L-x.top-j,R="clip"+a._uid+"commonlabel"+A._id;if(m<x.width+2*M+T){E="M-"+(T+M)+"-"+j+"h-"+(x.width-M)+"V"+j+"h"+(x.width-M)+"Z";var N=x.width-m+M;l.positionText(c,N,D),"end"===P&&c.selectAll("tspan").each((function(){var e=n.select(this),t=u.tester.append("text").text(e.text()).call(u.font,v),r=t.node().getBoundingClientRect();Math.round(r.width)<Math.round(x.width)&&e.attr("x",N-r.width),t.remove()}))}else l.positionText(c,I*(M+T),D),E=null;var F=a._topclips.selectAll("#"+R).data(E?[0]:[]);F.enter().append("clipPath").attr("id",R).append("path"),F.exit().remove(),F.select("path").attr("d",E),u.setClipUrl(c,E?R:null,r)}t.attr("transform","translate("+m+","+y+")"),e=V(e)})),g.isUnifiedHover(i)){if(f.selectAll("g.hovertext").remove(),void 0!==O&&_.distance<=t.hoverdistance&&(e=V(e)),0===e.length)return;var G={showlegend:!0,legend:{title:{text:O,font:a.hoverlabel.font},font:a.hoverlabel.font,bgcolor:a.hoverlabel.bgcolor,bordercolor:a.hoverlabel.bordercolor,borderwidth:1,tracegroupgap:7,traceorder:a.legend?a.legend.traceorder:void 0,orientation:"v"}},Z={};m(G,Z,r._fullData);var q=Z.legend;q.entries=[];for(var U=0;U<e.length;U++){var W=P(e[U],!0,i,a,O),Y=W[0],X=W[1],$=e[U];$.name=X,$.text=""!==X?X+" : "+Y:Y;var J=$.cd[$.index];J&&(J.mc&&($.mc=J.mc),J.mcc&&($.mc=J.mcc),J.mlc&&($.mlc=J.mlc),J.mlcc&&($.mlc=J.mlcc),J.mlw&&($.mlw=J.mlw),J.mrc&&($.mrc=J.mrc),J.dir&&($.dir=J.dir)),$._distinct=!0,q.entries.push([$])}q.entries.sort((function(e,t){return e[0].trace.index-t[0].trace.index})),q.layer=f,y(r,q);var K=o.mean(e.map((function(e){return(e.y0+e.y1)/2}))),Q=o.mean(e.map((function(e){return(e.x0+e.x1)/2}))),ee=f.select("g.legend"),te=ee.node().getBoundingClientRect();Q+=k._offset,K+=A._offset-te.height/2;var re=te.width+2*M;!(Q+re<=E)&&Q-re>=0?Q-=re:Q+=2*M;var ne=te.height+2*M,ae=K+ne>=j;return ne<=j&&(K<=L?K=A._offset+2*M:ae&&(K=j-ne)),ee.attr("transform","translate("+Q+","+K+")"),ee}var ie=f.selectAll("g.hovertext").data(e,(function(e){return S(e)}));return ie.enter().append("g").classed("hovertext",!0).each((function(){var e=n.select(this);e.append("rect").call(d.fill,d.addOpacity(c,.8)),e.append("text").classed("name",!0),e.append("path").style("stroke-width","1px"),e.append("text").classed("nums",!0).call(u.font,b,w)})),ie.exit().remove(),ie.each((function(e){var t=n.select(this).attr("transform",""),o=e.bgcolor||e.color,f=d.combine(d.opacity(o)?o:d.defaultLine,c),h=d.combine(d.opacity(e.color)?e.color:d.defaultLine,c),p=e.borderColor||d.contrast(f),g=P(e,D,i,a,O,t),v=g[0],m=g[1],y=t.select("text.nums").call(u.font,e.fontFamily||b,e.fontSize||w,e.fontColor||p).text(v).attr("data-notex",1).call(l.positionText,0,0).call(l.convertToTspans,r),_=t.select("text.name"),k=0,S=0;if(m&&m!==v){_.call(u.font,e.fontFamily||b,e.fontSize||w,h).text(m).attr("data-notex",1).call(l.positionText,0,0).call(l.convertToTspans,r);var A=_.node().getBoundingClientRect();k=A.width+2*M,S=A.height+2*M}else _.remove(),t.select("rect").remove();t.select("path").style({fill:f,stroke:p});var C,I,z=y.node().getBoundingClientRect(),R=e.xa._offset+(e.x0+e.x1)/2,N=e.ya._offset+(e.y0+e.y1)/2,F=Math.abs(e.x1-e.x0),B=Math.abs(e.y1-e.y0),H=z.width+T+M+k;if(e.ty0=L-z.top,e.bx=z.width+2*M,e.by=Math.max(z.height+2*M,S),e.anchor="start",e.txwidth=z.width,e.tx2width=k,e.offset=0,s)e.pos=R,C=N+B/2+H<=j,I=N-B/2-H>=0,"top"!==e.idealAlign&&C||!I?C?(N+=B/2,e.anchor="start"):e.anchor="middle":(N-=B/2,e.anchor="end");else if(e.pos=N,C=R+F/2+H<=E,I=R-F/2-H>=0,"left"!==e.idealAlign&&C||!I)if(C)R+=F/2,e.anchor="start";else{e.anchor="middle";var V=H/2,G=R+V-E,Z=R-V;G>0&&(R-=G),Z<0&&(R+=-Z)}else R-=F/2,e.anchor="end";y.attr("text-anchor",e.anchor),k&&_.attr("text-anchor",e.anchor),t.attr("transform","translate("+R+","+N+")"+(s?"rotate("+x+")":""))})),ie}function P(e,t,r,n,a,i){var s="",l="";void 0!==e.nameOverride&&(e.name=e.nameOverride),e.name&&(e.trace._meta&&(e.name=o.templateString(e.name,e.trace._meta)),s=E(e.name,e.nameLength)),void 0!==e.zLabel?(void 0!==e.xLabel&&(l+="x: "+e.xLabel+"<br>"),void 0!==e.yLabel&&(l+="y: "+e.yLabel+"<br>"),"choropleth"!==e.trace.type&&"choroplethmapbox"!==e.trace.type&&(l+=(l?"z: ":"")+e.zLabel)):t&&e[r.charAt(0)+"Label"]===a?l=e[("x"===r.charAt(0)?"y":"x")+"Label"]||"":void 0===e.xLabel?void 0!==e.yLabel&&"scattercarpet"!==e.trace.type&&(l=e.yLabel):l=void 0===e.yLabel?e.xLabel:"("+e.xLabel+", "+e.yLabel+")",!e.text&&0!==e.text||Array.isArray(e.text)||(l+=(l?"<br>":"")+e.text),void 0!==e.extraText&&(l+=(l?"<br>":"")+e.extraText),i&&""===l&&!e.hovertemplate&&(""===s&&i.remove(),l=s);var c=n._d3locale,u=e.hovertemplate||!1,d=e.hovertemplateLabels||e,f=e.eventData[0]||{};return u&&(l=(l=o.hovertemplateString(u,d,c,f,e.trace._meta)).replace(A,(function(t,r){return s=E(r,e.nameLength),""}))),[l,s]}function O(e,t){e.each((function(e){var r=n.select(this);if(e.del)return r.remove();var a=r.select("text.nums"),i=e.anchor,o="end"===i?-1:1,s={start:1,end:-1,middle:0}[i],c=s*(T+M),d=c+s*(e.txwidth+M),f=0,h=e.offset;"middle"===i&&(c-=e.tx2width/2,d+=e.txwidth/2+M),t&&(h*=-k,f=e.offset*_),r.select("path").attr("d","middle"===i?"M-"+(e.bx/2+e.tx2width/2)+","+(h-e.by/2)+"h"+e.bx+"v"+e.by+"h-"+e.bx+"Z":"M0,0L"+(o*T+f)+","+(T+h)+"v"+(e.by/2-T)+"h"+o*e.bx+"v-"+e.by+"H"+(o*T+f)+"V"+(h-T)+"Z");var p=c+f,g=h+e.ty0-e.by/2+M,v=e.textAlign||"auto";"auto"!==v&&("left"===v&&"start"!==i?(a.attr("text-anchor","start"),p="middle"===i?-e.bx/2-e.tx2width/2+M:-e.bx-M):"right"===v&&"end"!==i&&(a.attr("text-anchor","end"),p="middle"===i?e.bx/2-e.tx2width/2-M:e.bx+M)),a.call(l.positionText,p,g),e.tx2width&&(r.select("text.name").call(l.positionText,d+s*M+f,h+e.ty0-e.by/2+M),r.select("rect").call(u.setRect,d+(s-1)*e.tx2width/2+f,h-e.by/2-1,e.tx2width,e.by+2))}))}function I(e,t){var r=e.index,n=e.trace||{},i=e.cd[0],s=e.cd[r]||{};function l(e){return e||a(e)&&0===e}var c=Array.isArray(r)?function(e,t){var a=o.castOption(i,r,e);return l(a)?a:o.extractOption({},n,"",t)}:function(e,t){return o.extractOption(s,n,e,t)};function u(t,r,n){var a=c(r,n);l(a)&&(e[t]=a)}if(u("hoverinfo","hi","hoverinfo"),u("bgcolor","hbg","hoverlabel.bgcolor"),u("borderColor","hbc","hoverlabel.bordercolor"),u("fontFamily","htf","hoverlabel.font.family"),u("fontSize","hts","hoverlabel.font.size"),u("fontColor","htc","hoverlabel.font.color"),u("nameLength","hnl","hoverlabel.namelength"),u("textAlign","hta","hoverlabel.align"),e.posref="y"===t||"closest"===t&&"h"===n.orientation?e.xa._offset+(e.x0+e.x1)/2:e.ya._offset+(e.y0+e.y1)/2,e.x0=o.constrain(e.x0,0,e.xa._length),e.x1=o.constrain(e.x1,0,e.xa._length),e.y0=o.constrain(e.y0,0,e.ya._length),e.y1=o.constrain(e.y1,0,e.ya._length),void 0!==e.xLabelVal&&(e.xLabel="xLabel"in e?e.xLabel:h.hoverLabelText(e.xa,e.xLabelVal),e.xVal=e.xa.c2d(e.xLabelVal)),void 0!==e.yLabelVal&&(e.yLabel="yLabel"in e?e.yLabel:h.hoverLabelText(e.ya,e.yLabelVal),e.yVal=e.ya.c2d(e.yLabelVal)),void 0!==e.zLabelVal&&void 0===e.zLabel&&(e.zLabel=String(e.zLabelVal)),!(isNaN(e.xerr)||"log"===e.xa.type&&e.xerr<=0)){var d=h.tickText(e.xa,e.xa.c2l(e.xerr),"hover").text;void 0!==e.xerrneg?e.xLabel+=" +"+d+" / -"+h.tickText(e.xa,e.xa.c2l(e.xerrneg),"hover").text:e.xLabel+=" ยฑ "+d,"x"===t&&(e.distance+=1)}if(!(isNaN(e.yerr)||"log"===e.ya.type&&e.yerr<=0)){var f=h.tickText(e.ya,e.ya.c2l(e.yerr),"hover").text;void 0!==e.yerrneg?e.yLabel+=" +"+f+" / -"+h.tickText(e.ya,e.ya.c2l(e.yerrneg),"hover").text:e.yLabel+=" ยฑ "+f,"y"===t&&(e.distance+=1)}var p=e.hoverinfo||e.trace.hoverinfo;return p&&"all"!==p&&(-1===(p=Array.isArray(p)?p:p.split("+")).indexOf("x")&&(e.xLabel=void 0),-1===p.indexOf("y")&&(e.yLabel=void 0),-1===p.indexOf("z")&&(e.zLabel=void 0),-1===p.indexOf("text")&&(e.text=void 0),-1===p.indexOf("name")&&(e.name=void 0)),e}function z(e,t,r){var n,a,o=r.container,s=r.fullLayout,l=s._size,c=r.event,f=!!t.hLinePoint,p=!!t.vLinePoint;if(o.selectAll(".spikeline").remove(),p||f){var g=d.combine(s.plot_bgcolor,s.paper_bgcolor);if(f){var v,m,y=t.hLinePoint;n=y&&y.xa,"cursor"===(a=y&&y.ya).spikesnap?(v=c.pointerX,m=c.pointerY):(v=n._offset+y.x,m=a._offset+y.y);var x,b,w=i.readability(y.color,g)<1.5?d.contrast(g):y.color,_=a.spikemode,k=a.spikethickness,T=a.spikecolor||w,M=h.getPxPosition(e,a);if(-1!==_.indexOf("toaxis")||-1!==_.indexOf("across")){if(-1!==_.indexOf("toaxis")&&(x=M,b=v),-1!==_.indexOf("across")){var S=a._counterDomainMin,A=a._counterDomainMax;"free"===a.anchor&&(S=Math.min(S,a.position),A=Math.max(A,a.position)),x=l.l+S*l.w,b=l.l+A*l.w}o.insert("line",":first-child").attr({x1:x,x2:b,y1:m,y2:m,"stroke-width":k,stroke:T,"stroke-dasharray":u.dashStyle(a.spikedash,k)}).classed("spikeline",!0).classed("crisp",!0),o.insert("line",":first-child").attr({x1:x,x2:b,y1:m,y2:m,"stroke-width":k+2,stroke:g}).classed("spikeline",!0).classed("crisp",!0)}-1!==_.indexOf("marker")&&o.insert("circle",":first-child").attr({cx:M+("right"!==a.side?k:-k),cy:m,r:k,fill:T}).classed("spikeline",!0)}if(p){var C,P,O=t.vLinePoint;n=O&&O.xa,a=O&&O.ya,"cursor"===n.spikesnap?(C=c.pointerX,P=c.pointerY):(C=n._offset+O.x,P=a._offset+O.y);var I,z,L=i.readability(O.color,g)<1.5?d.contrast(g):O.color,E=n.spikemode,j=n.spikethickness,D=n.spikecolor||L,R=h.getPxPosition(e,n);if(-1!==E.indexOf("toaxis")||-1!==E.indexOf("across")){if(-1!==E.indexOf("toaxis")&&(I=R,z=P),-1!==E.indexOf("across")){var N=n._counterDomainMin,F=n._counterDomainMax;"free"===n.anchor&&(N=Math.min(N,n.position),F=Math.max(F,n.position)),I=l.t+(1-F)*l.h,z=l.t+(1-N)*l.h}o.insert("line",":first-child").attr({x1:C,x2:C,y1:I,y2:z,"stroke-width":j,stroke:D,"stroke-dasharray":u.dashStyle(n.spikedash,j)}).classed("spikeline",!0).classed("crisp",!0),o.insert("line",":first-child").attr({x1:C,x2:C,y1:I,y2:z,"stroke-width":j+2,stroke:g}).classed("spikeline",!0).classed("crisp",!0)}-1!==E.indexOf("marker")&&o.insert("circle",":first-child").attr({cx:C,cy:R-("top"!==n.side?j:-j),r:j,fill:D}).classed("spikeline",!0)}}}function L(e,t){return!t||(t.vLinePoint!==e._spikepoints.vLinePoint||t.hLinePoint!==e._spikepoints.hLinePoint)}function E(e,t){return l.plainText(e||"",{len:t,allowedTags:["br","sub","sup","b","i","em"]})}},"6BNG":function(e,t,r){"use strict";var n=r("Nx4I"),a=r("/CZE"),i=r("plED"),o=r("6Ccv"),s=r("poX/"),l=r("efHY");e.exports=function(e,t,r){for(var c=e.legend||{},u=0,d=!1,f="normal",h=0;h<r.length;h++){var p=r[h];p.visible&&((p.showlegend||p._dfltShowLegend&&!(p._module&&p._module.attributes&&p._module.attributes.showlegend&&!1===p._module.attributes.showlegend.dflt))&&(u++,p.showlegend&&(d=!0,(n.traceIs(p,"pie-like")||!0===p._input.showlegend)&&u++)),(n.traceIs(p,"bar")&&"stack"===t.barmode||-1!==["tonextx","tonexty"].indexOf(p.fill))&&(f=l.isGrouped({traceorder:f})?"grouped+reversed":"reversed"),void 0!==p.legendgroup&&""!==p.legendgroup&&(f=l.isReversed({traceorder:f})?"reversed+grouped":"grouped"))}var g=a.coerce(e,t,s,"showlegend",d&&u>1);if(!1!==g||c.uirevision){var v=i.newContainer(t,"legend");if(w("uirevision",t.uirevision),!1!==g){w("bgcolor",t.paper_bgcolor),w("bordercolor"),w("borderwidth"),a.coerceFont(w,"font",t.font);var m,y,x,b=w("orientation");"h"===b?(m=0,n.getComponentMethod("rangeslider","isVisible")(e.xaxis)?(y=1.1,x="bottom"):(y=-.1,x="top")):(m=1.02,y=1,x="auto"),w("traceorder",f),l.isGrouped(t.legend)&&w("tracegroupgap"),w("itemsizing"),w("itemclick"),w("itemdoubleclick"),w("x",m),w("xanchor"),w("y",y),w("yanchor",x),w("valign"),a.noneOrAll(c,v,["x","y"]),w("title.text")&&(w("title.side","h"===b?"left":"top"),a.coerceFont(w,"title.font",t.font))}}function w(e,t){return a.coerce(c,v,o,e,t)}}},"6Ccv":function(e,t,r){"use strict";var n=r("mEVB"),a=r("37PH");e.exports={bgcolor:{valType:"color",role:"style",editType:"legend",description:["Sets the legend background color.","Defaults to `layout.paper_bgcolor`."].join(" ")},bordercolor:{valType:"color",dflt:a.defaultLine,role:"style",editType:"legend",description:"Sets the color of the border enclosing the legend."},borderwidth:{valType:"number",min:0,dflt:0,role:"style",editType:"legend",description:"Sets the width (in px) of the border enclosing the legend."},font:n({editType:"legend",description:"Sets the font used to text the legend items."}),orientation:{valType:"enumerated",values:["v","h"],dflt:"v",role:"info",editType:"legend",description:"Sets the orientation of the legend."},traceorder:{valType:"flaglist",flags:["reversed","grouped"],extras:["normal"],role:"style",editType:"legend",description:["Determines the order at which the legend items are displayed.","If *normal*, the items are displayed top-to-bottom in the same","order as the input data.","If *reversed*, the items are displayed in the opposite order","as *normal*.","If *grouped*, the items are displayed in groups","(when a trace `legendgroup` is provided).","if *grouped+reversed*, the items are displayed in the opposite order","as *grouped*."].join(" ")},tracegroupgap:{valType:"number",min:0,dflt:10,role:"style",editType:"legend",description:["Sets the amount of vertical space (in px) between legend groups."].join(" ")},itemsizing:{valType:"enumerated",values:["trace","constant"],dflt:"trace",role:"style",editType:"legend",description:["Determines if the legend items symbols scale with their corresponding *trace* attributes","or remain *constant* independent of the symbol size on the graph."].join(" ")},itemclick:{valType:"enumerated",values:["toggle","toggleothers",!1],dflt:"toggle",role:"info",editType:"legend",description:["Determines the behavior on legend item click.","*toggle* toggles the visibility of the item clicked on the graph.","*toggleothers* makes the clicked item the sole visible item on the graph.","*false* disable legend item click interactions."].join(" ")},itemdoubleclick:{valType:"enumerated",values:["toggle","toggleothers",!1],dflt:"toggleothers",role:"info",editType:"legend",description:["Determines the behavior on legend item double-click.","*toggle* toggles the visibility of the item clicked on the graph.","*toggleothers* makes the clicked item the sole visible item on the graph.","*false* disable legend item double-click interactions."].join(" ")},x:{valType:"number",min:-2,max:3,role:"style",editType:"legend",description:["Sets the x position (in normalized coordinates) of the legend.","Defaults to *1.02* for vertical legends and","defaults to *0* for horizontal legends."].join(" ")},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left",role:"info",editType:"legend",description:["Sets the legend's horizontal position anchor.","This anchor binds the `x` position to the *left*, *center*","or *right* of the legend.","Value *auto* anchors legends to the right for `x` values greater than or equal to 2/3,","anchors legends to the left for `x` values less than or equal to 1/3 and","anchors legends with respect to their center otherwise."].join(" ")},y:{valType:"number",min:-2,max:3,role:"style",editType:"legend",description:["Sets the y position (in normalized coordinates) of the legend.","Defaults to *1* for vertical legends,","defaults to *-0.1* for horizontal legends on graphs w/o range sliders and","defaults to *1.1* for horizontal legends on graph with one or multiple range sliders."].join(" ")},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],role:"info",editType:"legend",description:["Sets the legend's vertical position anchor","This anchor binds the `y` position to the *top*, *middle*","or *bottom* of the legend.","Value *auto* anchors legends at their bottom for `y` values less than or equal to 1/3,","anchors legends to at their top for `y` values greater than or equal to 2/3 and","anchors legends with respect to their middle otherwise."].join(" ")},uirevision:{valType:"any",role:"info",editType:"none",description:["Controls persistence of legend-driven changes in trace and pie label","visibility. Defaults to `layout.uirevision`."].join(" ")},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",role:"style",editType:"legend",description:["Sets the vertical alignment of the symbols with respect to their associated text."].join(" ")},title:{text:{valType:"string",dflt:"",role:"info",editType:"legend",description:["Sets the title of the legend."].join(" ")},font:n({editType:"legend",description:["Sets this legend's title font."].join(" ")}),side:{valType:"enumerated",values:["top","left","top left"],role:"style",editType:"legend",description:["Determines the location of legend's title","with respect to the legend items.","Defaulted to *top* with `orientation` is *h*.","Defaulted to *left* with `orientation` is *v*.","The *top left* options could be used to expand","legend area in both x and y sides."].join(" ")},editType:"legend"},editType:"legend"}},"6M+F":function(e,t,r){"use strict";var n=r("/CZE"),a=r("QkhT");e.exports=function(e,t,r){var i=document.createElement("a"),o="download"in i;return new Promise((function(s,l){var c,u;if(n.isIE9orBelow()&&l(new Error("IE < 10 unsupported")),n.isSafari()){var d="svg"===r?",":";base64,";return a.octetStream(d+encodeURIComponent(e)),s(t)}return n.isIE()?(c=a.createBlob(e,"svg"),window.navigator.msSaveBlob(c,t),c=null,s(t)):o?(c=a.createBlob(e,r),u=a.createObjectURL(c),i.href=u,i.download=t,document.body.appendChild(i),i.click(),document.body.removeChild(i),a.revokeObjectURL(u),c=null,s(t)):void l(new Error("download error"))}))}},"6Ue+":function(e,t,r){"use strict";e.exports={clearOutlineControllers:function(e){var t=e._fullLayout._zoomlayer;t&&t.selectAll(".outline-controllers").remove()},clearSelect:function(e){var t=e._fullLayout._zoomlayer;t&&t.selectAll(".select-outline").remove(),e._fullLayout._drawing=!1}}},"6bQy":function(e,t,r){"use strict";e.exports=function(e){for(var t,r=e.length,n=0;n<r;n++)if(((t=e.charCodeAt(n))<9||t>13)&&32!==t&&133!==t&&160!==t&&5760!==t&&6158!==t&&(t<8192||t>8205)&&8232!==t&&8233!==t&&8239!==t&&8287!==t&&8288!==t&&12288!==t&&65279!==t)return!1;return!0}},"6eSZ":function(e,t,r){"use strict";var n=r("xgB0");r.n(n).a},"6feh":function(e,t,r){"use strict";var n=r("/CZE");e.exports=function(e,t,r,a,i){i=i||{},a("textposition"),n.coerceFont(a,"textfont",r.font),i.noSelect||(a("selected.textfont.color"),a("unselected.textfont.color"))}},"6weB":function(e,t,r){"use strict";e.exports=function(e,t,r){"spline"===r("line.shape")&&r("line.smoothing")}},7252:function(e,t,r){"use strict";e.exports=function(e,t){var r,n,a,i,o,s=e.cd,l=e.xaxis,c=e.yaxis,u=[];if(!1===t)for(r=0;r<s.length;r++)s[r].selected=0;else for(r=0;r<s.length;r++)(a=(n=s[r]).ct)&&(i=l.c2p(a),o=c.c2p(a),t.contains([i,o],null,r,e)?(u.push({pointNumber:r,lon:a[0],lat:a[1]}),n.selected=1):n.selected=0);return u}},"7CC7":function(e,t,r){"use strict";t.init2dArray=function(e,t){for(var r=new Array(e),n=0;n<e;n++)r[n]=new Array(t);return r},t.transposeRagged=function(e){var t,r,n=0,a=e.length;for(t=0;t<a;t++)n=Math.max(n,e[t].length);var i=new Array(n);for(t=0;t<n;t++)for(i[t]=new Array(a),r=0;r<a;r++)i[t][r]=e[r][t];return i},t.dot=function(e,r){if(!e.length||!r.length||e.length!==r.length)return null;var n,a,i=e.length;if(e[0].length)for(n=new Array(i),a=0;a<i;a++)n[a]=t.dot(e[a],r);else if(r[0].length){var o=t.transposeRagged(r);for(n=new Array(o.length),a=0;a<o.length;a++)n[a]=t.dot(e,o[a])}else for(n=0,a=0;a<i;a++)n+=e[a]*r[a];return n},t.translationMatrix=function(e,t){return[[1,0,e],[0,1,t],[0,0,1]]},t.rotationMatrix=function(e){var t=e*Math.PI/180;return[[Math.cos(t),-Math.sin(t),0],[Math.sin(t),Math.cos(t),0],[0,0,1]]},t.rotationXYMatrix=function(e,r,n){return t.dot(t.dot(t.translationMatrix(r,n),t.rotationMatrix(e)),t.translationMatrix(-r,-n))},t.apply2DTransform=function(e){return function(){var r=arguments;3===r.length&&(r=r[0]);var n=1===arguments.length?r[0]:[r[0],r[1]];return t.dot(e,[n[0],n[1],1]).slice(0,2)}},t.apply2DTransform2=function(e){var r=t.apply2DTransform(e);return function(e){return r(e.slice(0,2)).concat(r(e.slice(2,4)))}}},"7MU3":function(e,t,r){"use strict";var n=r("kZ5o"),a=r("qHYo"),i=r("gfA5").attributes,o=r("lNV6").hovertemplateAttrs,s=r("lNV6").texttemplateAttrs,l=r("kJIm").extendFlat;e.exports={labels:n.labels,label0:n.label0,dlabel:n.dlabel,values:n.values,marker:{colors:n.marker.colors,line:{color:l({},n.marker.line.color,{dflt:null,description:["Sets the color of the line enclosing each sector.","Defaults to the `paper_bgcolor` value."].join(" ")}),width:l({},n.marker.line.width,{dflt:1}),editType:"calc"},editType:"calc"},text:n.text,hovertext:n.hovertext,scalegroup:l({},n.scalegroup,{description:["If there are multiple funnelareas that should be sized according to","their totals, link them by providing a non-empty group id here","shared by every trace in the same group."].join(" ")}),textinfo:l({},n.textinfo,{flags:["label","text","value","percent"]}),texttemplate:s({editType:"plot"},{keys:["label","color","value","text","percent"]}),hoverinfo:l({},a.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:o({},{keys:["label","color","value","text","percent"]}),textposition:l({},n.textposition,{values:["inside","none"],dflt:"inside"}),textfont:n.textfont,insidetextfont:n.insidetextfont,title:{text:n.title.text,font:n.title.font,position:l({},n.title.position,{values:["top left","top center","top right"],dflt:"top center"}),editType:"plot"},domain:i({name:"funnelarea",trace:!0,editType:"calc"}),aspectratio:{valType:"number",role:"info",min:0,dflt:1,editType:"plot",description:["Sets the ratio between height and width"].join(" ")},baseratio:{valType:"number",role:"info",min:0,max:1,dflt:.333,editType:"plot",description:["Sets the ratio between bottom length and maximum top length."].join(" ")}}},"7RQp":function(e,t,r){"use strict";var n=r("LFQO");r.n(n).a},"7RaA":function(e,t,r){"use strict";var n=r("Nx4I"),a=r("BkK/"),i=r("/CZE"),o=r("N+MO");e.exports=function(e,t,r){function s(r,n){return i.coerce(e,t,o,r,n)}for(var l=!1,c=!1,u=!1,d={},f=s("barmode"),h=0;h<r.length;h++){var p=r[h];if(n.traceIs(p,"bar")&&p.visible){if(l=!0,"group"===f){var g=p.xaxis+p.yaxis;d[g]&&(u=!0),d[g]=!0}if(p.visible&&"histogram"===p.type)"category"!==a.getFromId({_fullLayout:t},p["v"===p.orientation?"xaxis":"yaxis"]).type&&(c=!0)}}l?("overlay"!==f&&s("barnorm"),s("bargap",c&&!u?0:.2),s("bargroupgap")):delete t.barmode}},"7X5A":function(e,t,r){"use strict";var n=r("8gxC");r.n(n).a},"7ncg":function(e,t,r){"use strict";var n=r("bljh"),a=r("Nx4I"),i=r("/CZE"),o=r("g9E0"),s=r("0RW4"),l=r("IVx0").extractOpts,c=r("3oHU"),u=r("pwgW"),d=r("WeBh").castOption;function f(e,t){return(t?"radial":"horizontal")+(e?"":"reversed")}e.exports=function(e,t,r){var h=t._fullLayout;r||(r=h.legend);var p="constant"===r.itemsizing,g=function(e,t,r,n){var a;if(e+1)a=e;else{if(!(t&&t.width>0))return 0;a=t.width}return p?n:Math.min(a,r)};function v(e,t,r){var i=e[0].trace,o=i.marker||{},l=o.line||{},c=r?i.visible&&i.type===r:a.traceIs(i,"bar"),u=n.select(t).select("g.legendpoints").selectAll("path.legend"+r).data(c?[e]:[]);u.enter().append("path").classed("legend"+r,!0).attr("d","M6,6H-6V-6H6Z").attr("transform","translate(20,0)"),u.exit().remove(),u.each((function(e){var t=n.select(this),r=e[0],a=g(r.mlw,o.line,5,2);t.style("stroke-width",a+"px").call(s.fill,r.mc||o.color),a&&s.stroke(t,r.mlc||l.color)}))}function m(e,t,r){var o=e[0],s=o.trace,l=r?s.visible&&s.type===r:a.traceIs(s,r),c=n.select(t).select("g.legendpoints").selectAll("path.legend"+r).data(l?[e]:[]);if(c.enter().append("path").classed("legend"+r,!0).attr("d","M6,6H-6V-6H6Z").attr("transform","translate(20,0)"),c.exit().remove(),c.size()){var f=(s.marker||{}).line,h=g(d(f.width,o.pts),f,5,2),p=i.minExtend(s,{marker:{line:{width:h}}});p.marker.line.color=f.color;var v=i.minExtend(o,{trace:p});u(c,v,p)}}e.each((function(e){var t=n.select(this),a=i.ensureSingle(t,"g","layers");a.style("opacity",e[0].trace.opacity);var o=r.valign,s=e[0].lineHeight,l=e[0].height;if("middle"!==o&&s&&l){var c={top:1,bottom:-1}[o]*(.5*(s-l+3));a.attr("transform","translate(0,"+c+")")}else a.attr("transform",null);a.selectAll("g.legendfill").data([e]).enter().append("g").classed("legendfill",!0),a.selectAll("g.legendlines").data([e]).enter().append("g").classed("legendlines",!0);var u=a.selectAll("g.legendsymbols").data([e]);u.enter().append("g").classed("legendsymbols",!0),u.selectAll("g.legendpoints").data([e]).enter().append("g").classed("legendpoints",!0)})).each((function(e){var r,a=e[0].trace,c=[];if(a.visible)switch(a.type){case"histogram2d":case"heatmap":c=[["M-15,-2V4H15V-2Z"]],r=!0;break;case"choropleth":case"choroplethmapbox":c=[["M-6,-6V6H6V-6Z"]],r=!0;break;case"densitymapbox":c=[["M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"]],r="radial";break;case"cone":c=[["M-6,2 A2,2 0 0,0 -6,6 V6L6,4Z"],["M-6,-6 A2,2 0 0,0 -6,-2 L6,-4Z"],["M-6,-2 A2,2 0 0,0 -6,2 L6,0Z"]],r=!1;break;case"streamtube":c=[["M-6,2 A2,2 0 0,0 -6,6 H6 A2,2 0 0,1 6,2 Z"],["M-6,-6 A2,2 0 0,0 -6,-2 H6 A2,2 0 0,1 6,-6 Z"],["M-6,-2 A2,2 0 0,0 -6,2 H6 A2,2 0 0,1 6,-2 Z"]],r=!1;break;case"surface":c=[["M-6,-6 A2,3 0 0,0 -6,0 H6 A2,3 0 0,1 6,-6 Z"],["M-6,1 A2,3 0 0,1 -6,6 H6 A2,3 0 0,0 6,0 Z"]],r=!0;break;case"mesh3d":c=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],r=!1;break;case"volume":c=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],r=!0;break;case"isosurface":c=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6 A12,24 0 0,0 6,-6 L0,6Z"]],r=!1}var u=n.select(this).select("g.legendpoints").selectAll("path.legend3dandfriends").data(c);u.enter().append("path").classed("legend3dandfriends",!0).attr("transform","translate(20,0)").style("stroke-miterlimit",1),u.exit().remove(),u.each((function(e,c){var u,d=n.select(this),h=l(a),p=h.colorscale,g=h.reversescale;if(p){if(!r){var v=p.length;u=0===c?p[g?v-1:0][1]:1===c?p[g?0:v-1][1]:p[Math.floor((v-1)/2)][1]}}else{var m=a.vertexcolor||a.facecolor||a.color;u=i.isArrayOrTypedArray(m)?m[c]||m[0]:m}d.attr("d",e[0]),u?d.call(s.fill,u):d.call((function(e){if(e.size()){var n="legendfill-"+a.uid;o.gradient(e,t,n,f(g,"radial"===r),p,"fill")}}))}))})).each((function(e){var t=e[0].trace,r="waterfall"===t.type;if(e[0]._distinct&&r){var a=e[0].trace[e[0].dir].marker;return e[0].mc=a.color,e[0].mlw=a.line.width,e[0].mlc=a.line.color,v(e,this,"waterfall")}var i=[];t.visible&&r&&(i=e[0].hasTotals?[["increasing","M-6,-6V6H0Z"],["totals","M6,6H0L-6,-6H-0Z"],["decreasing","M6,6V-6H0Z"]]:[["increasing","M-6,-6V6H6Z"],["decreasing","M6,6V-6H-6Z"]]);var o=n.select(this).select("g.legendpoints").selectAll("path.legendwaterfall").data(i);o.enter().append("path").classed("legendwaterfall",!0).attr("transform","translate(20,0)").style("stroke-miterlimit",1),o.exit().remove(),o.each((function(e){var r=n.select(this),a=t[e[0]].marker,i=g(void 0,a.line,5,2);r.attr("d",e[1]).style("stroke-width",i+"px").call(s.fill,a.color),i&&r.call(s.stroke,a.line.color)}))})).each((function(e){v(e,this,"funnel")})).each((function(e){v(e,this)})).each((function(e){var r=e[0].trace,l=n.select(this).select("g.legendpoints").selectAll("path.legendbox").data(r.visible&&a.traceIs(r,"box-violin")?[e]:[]);l.enter().append("path").classed("legendbox",!0).attr("d","M6,6H-6V-6H6Z").attr("transform","translate(20,0)"),l.exit().remove(),l.each((function(){var e=n.select(this);if("all"!==r.boxpoints&&"all"!==r.points||0!==s.opacity(r.fillcolor)||0!==s.opacity((r.line||{}).color)){var a=g(void 0,r.line,5,2);e.style("stroke-width",a+"px").call(s.fill,r.fillcolor),a&&s.stroke(e,r.line.color)}else{var c=i.minExtend(r,{marker:{size:p?12:i.constrain(r.marker.size,2,16),sizeref:1,sizemin:1,sizemode:"diameter"}});l.call(o.pointStyle,c,t)}}))})).each((function(e){m(e,this,"funnelarea")})).each((function(e){m(e,this,"pie")})).each((function(e){var r,a,s=e[0],u=s.trace,d=u.visible&&u.fill&&"none"!==u.fill,h=c.hasLines(u),p=u.contours,v=!1,m=!1,y=l(u),x=y.colorscale,b=y.reversescale;if(p){var w=p.coloring;"lines"===w?v=!0:h="none"===w||"heatmap"===w||p.showlines,"constraint"===p.type?d="="!==p._operation:"fill"!==w&&"heatmap"!==w||(m=!0)}var _=c.hasMarkers(u)||c.hasText(u),k=d||m,T=h||v,M=_||!k?"M5,0":T?"M5,-2":"M5,-3",S=n.select(this),A=S.select(".legendfill").selectAll("path").data(d||m?[e]:[]);if(A.enter().append("path").classed("js-fill",!0),A.exit().remove(),A.attr("d",M+"h30v6h-30z").call(d?o.fillGroupStyle:function(e){if(e.size()){var r="legendfill-"+u.uid;o.gradient(e,t,r,f(b),x,"fill")}}),h||v){var C=g(void 0,u.line,10,5);a=i.minExtend(u,{line:{width:C}}),r=[i.minExtend(s,{trace:a})]}var P=S.select(".legendlines").selectAll("path").data(h||v?[r]:[]);P.enter().append("path").classed("js-line",!0),P.exit().remove(),P.attr("d",M+(v?"l30,0.0001":"h30")).call(h?o.lineGroupStyle:function(e){if(e.size()){var r="legendline-"+u.uid;o.lineGroupStyle(e),o.gradient(e,t,r,f(b),x,"stroke")}})})).each((function(e){var r,a,s=e[0],l=s.trace,u=c.hasMarkers(l),d=c.hasText(l),f=c.hasLines(l);function h(e,t,r,n){var a=i.nestedProperty(l,e).get(),o=i.isArrayOrTypedArray(a)&&t?t(a):a;if(p&&o&&void 0!==n&&(o=n),r){if(o<r[0])return r[0];if(o>r[1])return r[1]}return o}function g(e){return s._distinct&&s.index&&e[s.index]?e[s.index]:e[0]}if(u||d||f){var v={},m={};if(u){v.mc=h("marker.color",g),v.mx=h("marker.symbol",g),v.mo=h("marker.opacity",i.mean,[.2,1]),v.mlc=h("marker.line.color",g),v.mlw=h("marker.line.width",i.mean,[0,5],2),m.marker={sizeref:1,sizemin:1,sizemode:"diameter"};var y=h("marker.size",i.mean,[2,16],12);v.ms=y,m.marker.size=y}f&&(m.line={width:h("line.width",g,[0,10],5)}),d&&(v.tx="Aa",v.tp=h("textposition",g),v.ts=10,v.tc=h("textfont.color",g),v.tf=h("textfont.family",g)),r=[i.minExtend(s,v)],(a=i.minExtend(l,m)).selectedpoints=null,a.texttemplate=null}var x=n.select(this).select("g.legendpoints"),b=x.selectAll("path.scatterpts").data(u?r:[]);b.enter().insert("path",":first-child").classed("scatterpts",!0).attr("transform","translate(20,0)"),b.exit().remove(),b.call(o.pointStyle,a,t),u&&(r[0].mrc=3);var w=x.selectAll("g.pointtext").data(d?r:[]);w.enter().append("g").classed("pointtext",!0).append("text").attr("transform","translate(20,0)"),w.exit().remove(),w.selectAll("text").call(o.textPointStyle,a,t)})).each((function(e){var t=e[0].trace,r=n.select(this).select("g.legendpoints").selectAll("path.legendcandle").data(t.visible&&"candlestick"===t.type?[e,e]:[]);r.enter().append("path").classed("legendcandle",!0).attr("d",(function(e,t){return t?"M-15,0H-8M-8,6V-6H8Z":"M15,0H8M8,-6V6H-8Z"})).attr("transform","translate(20,0)").style("stroke-miterlimit",1),r.exit().remove(),r.each((function(e,r){var a=n.select(this),i=t[r?"increasing":"decreasing"],o=g(void 0,i.line,5,2);a.style("stroke-width",o+"px").call(s.fill,i.fillcolor),o&&s.stroke(a,i.line.color)}))})).each((function(e){var t=e[0].trace,r=n.select(this).select("g.legendpoints").selectAll("path.legendohlc").data(t.visible&&"ohlc"===t.type?[e,e]:[]);r.enter().append("path").classed("legendohlc",!0).attr("d",(function(e,t){return t?"M-15,0H0M-8,-6V0":"M15,0H0M8,6V0"})).attr("transform","translate(20,0)").style("stroke-miterlimit",1),r.exit().remove(),r.each((function(e,r){var a=n.select(this),i=t[r?"increasing":"decreasing"],l=g(void 0,i.line,5,2);a.style("fill","none").call(o.dashLine,i.line.dash,l),l&&s.stroke(a,i.line.color)}))}))}},"7pK6":function(e,t,r){"use strict";var n=r("fiWp").EventEmitter,a=r("Nx4I"),i=r("/CZE"),o=r("QkhT"),s=r("0Y4q"),l=r("ywRt"),c=r("Tr0U");e.exports=function(e,t){var r=new n,u=s(e,{format:"png"}),d=u.gd;d.style.position="absolute",d.style.left="-5000px",document.body.appendChild(d);var f=o.getRedrawFunc(d);return a.call("plot",d,u.data,u.layout,u.config).then(f).then((function(){var e=o.getDelay(d._fullLayout);setTimeout((function(){var e=l(d),n=document.createElement("canvas");n.id=i.randstr(),(r=c({format:t.format,width:d._fullLayout.width,height:d._fullLayout.height,canvas:n,emitter:r,svg:e})).clean=function(){d&&document.body.removeChild(d)}}),e)})).catch((function(e){r.emit("error",e)})),r}},"7rOW":function(e,t,r){"use strict";var n=r("5jll");e.exports={moduleType:"component",name:n.name,layoutAttributes:r("nF9v"),supplyLayoutDefaults:r("chCF"),draw:r("8QPt")}},"825b":function(e,t,r){"use strict";e.exports=r("2DHC")},"86IV":function(e,t,r){"use strict";var n=r("GbLo"),a=r("/CZE");e.exports=function(e,t,r,i){var o,s,l,c,u=i.counterAxes||[],d=i.overlayableAxes||[],f=i.letter,h=i.grid;h&&(s=h._domains[f][h._axisMap[t._id]],o=h._anchors[t._id],s&&(l=h[f+"side"].split(" ")[0],c=h.domain[f]["right"===l||"top"===l?1:0])),s=s||[0,1],o=o||(n(e.position)?"free":u[0]||"free"),l=l||("x"===f?"bottom":"left"),c=c||0,"free"===a.coerce(e,t,{anchor:{valType:"enumerated",values:["free"].concat(u),dflt:o}},"anchor")&&r("position",c),a.coerce(e,t,{side:{valType:"enumerated",values:"x"===f?["bottom","top"]:["left","right"],dflt:l}},"side");var p=!1;if(d.length&&(p=a.coerce(e,t,{overlaying:{valType:"enumerated",values:[!1].concat(d),dflt:!1}},"overlaying")),!p){var g=r("domain",s);g[0]>g[1]-1/4096&&(t.domain=s),a.noneOrAll(e.domain,t.domain,s)}return r("layer"),t}},"88/Y":function(e,t,r){"use strict";e.exports={container:"marker",min:"cmin",max:"cmax"}},"89+b":function(e,t,r){"use strict";var n=r("eNjM").hiddenlabels;e.exports={hiddenlabels:n,funnelareacolorway:{valType:"colorlist",role:"style",editType:"calc",description:["Sets the default funnelarea slice colors. Defaults to the main","`colorway` used for trace colors. If you specify a new","list here it can still be extended with lighter and darker","colors, see `extendfunnelareacolors`."].join(" ")},extendfunnelareacolors:{valType:"boolean",dflt:!0,role:"style",editType:"calc",description:["If `true`, the funnelarea slice colors (whether given by `funnelareacolorway` or","inherited from `colorway`) will be extended to three times its","original length by first repeating every color 20% lighter then","each color 20% darker. This is intended to reduce the likelihood","of reusing the same color when you have many slices, but you can","set `false` to disable.","Colors provided in the trace, using `marker.colors`, are never","extended."].join(" ")}}},"8CzL":function(e,t,r){"use strict";var n=r("L2JU"),a={name:"cub-progress-widget",props:["conf"],data:()=>({incompatible:0,rotate:-90,width:20,item:{artist:""}}),computed:{...Object(n.b)(["getReportById"]),size:{get(){return+this.conf.w>+this.conf.h?25*+this.conf.h-10:25*+this.conf.w}}},mounted(){var e=this.getReportById(this.conf.reportId),t=new Object,r="",n=this.$store.getters.getSelectedDashFilterValues;if(t.measureList=e.MeasureIds,t.dimensionList=e.DimensionIds,n=this.$store.getters.getSelectedDashFilterValues)for(var[a,i]of Object.entries(n))i.length&&(r+="["+a+"(eq)"+i.join(":")+"]");t.dimensionFilterList=e.DimensionFilters+r,t.measureFilterList="",t.uiInstance="default",t.params="",this.$store.dispatch("getReportData",t).then(e=>{e&&(2==e.length&&2==e[0].length?this.item.artist=Math.round(100*(+e[1][1]+Number.EPSILON))/100:2==e.length&&3==e[0].length?this.item.artist=Math.round(100*(+(e[1][1]-e[1][2])+Number.EPSILON))/100:3==e.length&&2==e[0].length?this.item.artist=Math.round(100*(+(e[2][1]-e[1][1])+Number.EPSILON))/100:this.incompatible=1)})},methods:{}},i=r("KHd+"),o=Object(i.a)(a,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("v-flex",{staticClass:"d-flex justify-center",staticStyle:{height:"100%"}},[e.incompatible?r("div",[e._v("Cannot plot")]):r("div",{staticStyle:{height:"100%"}},[r("v-container",{attrs:{bg:"","fill-height":"","grid-list-md":"","text-xs-center":""}},[r("v-layout",{attrs:{row:"",wrap:"","align-center":""}},[r("v-flex",[r("v-progress-circular",{staticClass:"align-self-center",attrs:{rotate:e.rotate,size:e.size,value:e.item.artist,width:e.width,color:e.conf.layout.measureprops.color}},[e._v(e._s(e.item.artist)+"%")])],1)],1)],1)],1)])}),[],!1,null,"f901828c",null);t.a=o.exports},"8QPt":function(e,t,r){"use strict";var n=r("bljh"),a=r("u3HJ"),i=r("0RW4"),o=r("g9E0"),s=r("/CZE"),l=r("A3kh"),c=r("plED").arrayEditor,u=r("5jll"),d=r("Y9zF"),f=d.LINE_SPACING,h=d.FROM_TL,p=d.FROM_BR;function g(e){return u.autoMarginIdRoot+e._index}function v(e){return e._index}function m(e,t){var r=o.tester.selectAll("g."+u.labelGroupClass).data(t._visibleSteps);r.enter().append("g").classed(u.labelGroupClass,!0);var i=0,c=0;r.each((function(e){var r=b(n.select(this),{step:e},t).node();if(r){var a=o.bBox(r);c=Math.max(c,a.height),i=Math.max(i,a.width)}})),r.remove();var d=t._dims={};d.inputAreaWidth=Math.max(u.railWidth,u.gripHeight);var f=e._fullLayout._size;d.lx=f.l+f.w*t.x,d.ly=f.t+f.h*(1-t.y),"fraction"===t.lenmode?d.outerLength=Math.round(f.w*t.len):d.outerLength=t.len,d.inputAreaStart=0,d.inputAreaLength=Math.round(d.outerLength-t.pad.l-t.pad.r);var v=(d.inputAreaLength-2*u.stepInset)/(t._stepCount-1),m=i+u.labelPadding;if(d.labelStride=Math.max(1,Math.ceil(m/v)),d.labelHeight=c,d.currentValueMaxWidth=0,d.currentValueHeight=0,d.currentValueTotalHeight=0,d.currentValueMaxLines=1,t.currentvalue.visible){var x=o.tester.append("g");r.each((function(e){var r=y(x,t,e.label),n=r.node()&&o.bBox(r.node())||{width:0,height:0},a=l.lineCount(r);d.currentValueMaxWidth=Math.max(d.currentValueMaxWidth,Math.ceil(n.width)),d.currentValueHeight=Math.max(d.currentValueHeight,Math.ceil(n.height)),d.currentValueMaxLines=Math.max(d.currentValueMaxLines,a)})),d.currentValueTotalHeight=d.currentValueHeight+t.currentvalue.offset,x.remove()}d.height=d.currentValueTotalHeight+u.tickOffset+t.ticklen+u.labelOffset+d.labelHeight+t.pad.t+t.pad.b;var w="left";s.isRightAnchor(t)&&(d.lx-=d.outerLength,w="right"),s.isCenterAnchor(t)&&(d.lx-=d.outerLength/2,w="center");var _="top";s.isBottomAnchor(t)&&(d.ly-=d.height,_="bottom"),s.isMiddleAnchor(t)&&(d.ly-=d.height/2,_="middle"),d.outerLength=Math.ceil(d.outerLength),d.height=Math.ceil(d.height),d.lx=Math.round(d.lx),d.ly=Math.round(d.ly);var k={y:t.y,b:d.height*p[_],t:d.height*h[_]};"fraction"===t.lenmode?(k.l=0,k.xl=t.x-t.len*h[w],k.r=0,k.xr=t.x+t.len*p[w]):(k.x=t.x,k.l=d.outerLength*h[w],k.r=d.outerLength*p[w]),a.autoMargin(e,g(t),k)}function y(e,t,r){if(t.currentvalue.visible){var n,a,i=t._dims;switch(t.currentvalue.xanchor){case"right":n=i.inputAreaLength-u.currentValueInset-i.currentValueMaxWidth,a="left";break;case"center":n=.5*i.inputAreaLength,a="middle";break;default:n=u.currentValueInset,a="left"}var c=s.ensureSingle(e,"text",u.labelClass,(function(e){e.classed("user-select-none",!0).attr({"text-anchor":a,"data-notex":1})})),d=t.currentvalue.prefix?t.currentvalue.prefix:"";if("string"==typeof r)d+=r;else{var h=t.steps[t.active].label,p=t._gd._fullLayout._meta;p&&(h=s.templateString(h,p)),d+=h}t.currentvalue.suffix&&(d+=t.currentvalue.suffix),c.call(o.font,t.currentvalue.font).text(d).call(l.convertToTspans,t._gd);var g=l.lineCount(c),v=(i.currentValueMaxLines+1-g)*t.currentvalue.font.size*f;return l.positionText(c,n,v),c}}function x(e,t,r){s.ensureSingle(e,"rect",u.gripRectClass,(function(n){n.call(T,t,e,r).style("pointer-events","all")})).attr({width:u.gripWidth,height:u.gripHeight,rx:u.gripRadius,ry:u.gripRadius}).call(i.stroke,r.bordercolor).call(i.fill,r.bgcolor).style("stroke-width",r.borderwidth+"px")}function b(e,t,r){var n=s.ensureSingle(e,"text",u.labelClass,(function(e){e.classed("user-select-none",!0).attr({"text-anchor":"middle","data-notex":1})})),a=t.step.label,i=r._gd._fullLayout._meta;return i&&(a=s.templateString(a,i)),n.call(o.font,r.font).text(a).call(l.convertToTspans,r._gd),n}function w(e,t){var r=s.ensureSingle(e,"g",u.labelsClass),a=t._dims,i=r.selectAll("g."+u.labelGroupClass).data(a.labelSteps);i.enter().append("g").classed(u.labelGroupClass,!0),i.exit().remove(),i.each((function(e){var r=n.select(this);r.call(b,e,t),o.setTranslate(r,A(t,e.fraction),u.tickOffset+t.ticklen+t.font.size*f+u.labelOffset+a.currentValueTotalHeight)}))}function _(e,t,r,n,a){var i=Math.round(n*(r._stepCount-1)),o=r._visibleSteps[i]._index;o!==r.active&&k(e,t,r,o,!0,a)}function k(e,t,r,n,i,o){var s=r.active;r.active=n,c(e.layout,u.name,r).applyUpdate("active",n);var l=r.steps[r.active];t.call(S,r,o),t.call(y,r),e.emit("plotly_sliderchange",{slider:r,step:r.steps[r.active],interaction:i,previousActive:s}),l&&l.method&&i&&(t._nextMethod?(t._nextMethod.step=l,t._nextMethod.doCallback=i,t._nextMethod.doTransition=o):(t._nextMethod={step:l,doCallback:i,doTransition:o},t._nextMethodRaf=window.requestAnimationFrame((function(){var r=t._nextMethod.step;r.method&&(r.execute&&a.executeAPICommand(e,r.method,r.args),t._nextMethod=null,t._nextMethodRaf=null)}))))}function T(e,t,r){var a=r.node(),o=n.select(t);function s(){return r.data()[0]}e.on("mousedown",(function(){var e=s();t.emit("plotly_sliderstart",{slider:e});var l=r.select("."+u.gripRectClass);n.event.stopPropagation(),n.event.preventDefault(),l.call(i.fill,e.activebgcolor);var c=C(e,n.mouse(a)[0]);_(t,r,e,c,!0),e._dragging=!0,o.on("mousemove",(function(){var e=s(),i=C(e,n.mouse(a)[0]);_(t,r,e,i,!1)})),o.on("mouseup",(function(){var e=s();e._dragging=!1,l.call(i.fill,e.bgcolor),o.on("mouseup",null),o.on("mousemove",null),t.emit("plotly_sliderend",{slider:e,step:e.steps[e.active]})}))}))}function M(e,t){var r=e.selectAll("rect."+u.tickRectClass).data(t._visibleSteps),a=t._dims;r.enter().append("rect").classed(u.tickRectClass,!0),r.exit().remove(),r.attr({width:t.tickwidth+"px","shape-rendering":"crispEdges"}),r.each((function(e,r){var s=r%a.labelStride==0,l=n.select(this);l.attr({height:s?t.ticklen:t.minorticklen}).call(i.fill,t.tickcolor),o.setTranslate(l,A(t,r/(t._stepCount-1))-.5*t.tickwidth,(s?u.tickOffset:u.minorTickOffset)+a.currentValueTotalHeight)}))}function S(e,t,r){for(var n=e.select("rect."+u.gripRectClass),a=0,i=0;i<t._stepCount;i++)if(t._visibleSteps[i]._index===t.active){a=i;break}var o=A(t,a/(t._stepCount-1));if(!t._invokingCommand){var s=n;r&&t.transition.duration>0&&(s=s.transition().duration(t.transition.duration).ease(t.transition.easing)),s.attr("transform","translate("+(o-.5*u.gripWidth)+","+t._dims.currentValueTotalHeight+")")}}function A(e,t){var r=e._dims;return r.inputAreaStart+u.stepInset+(r.inputAreaLength-2*u.stepInset)*Math.min(1,Math.max(0,t))}function C(e,t){var r=e._dims;return Math.min(1,Math.max(0,(t-u.stepInset-r.inputAreaStart)/(r.inputAreaLength-2*u.stepInset-2*r.inputAreaStart)))}function P(e,t,r){var n=r._dims,a=s.ensureSingle(e,"rect",u.railTouchRectClass,(function(n){n.call(T,t,e,r).style("pointer-events","all")}));a.attr({width:n.inputAreaLength,height:Math.max(n.inputAreaWidth,u.tickOffset+r.ticklen+n.labelHeight)}).call(i.fill,r.bgcolor).attr("opacity",0),o.setTranslate(a,0,n.currentValueTotalHeight)}function O(e,t){var r=t._dims,n=r.inputAreaLength-2*u.railInset,a=s.ensureSingle(e,"rect",u.railRectClass);a.attr({width:n,height:u.railWidth,rx:u.railRadius,ry:u.railRadius,"shape-rendering":"crispEdges"}).call(i.stroke,t.bordercolor).call(i.fill,t.bgcolor).style("stroke-width",t.borderwidth+"px"),o.setTranslate(a,u.railInset,.5*(r.inputAreaWidth-u.railWidth)+r.currentValueTotalHeight)}e.exports=function(e){var t=e._fullLayout,r=function(e,t){for(var r=e[u.name],n=[],a=0;a<r.length;a++){var i=r[a];i.visible&&(i._gd=t,n.push(i))}return n}(t,e),i=t._infolayer.selectAll("g."+u.containerClassName).data(r.length>0?[0]:[]);function s(t){t._commandObserver&&(t._commandObserver.remove(),delete t._commandObserver),a.autoMargin(e,g(t))}if(i.enter().append("g").classed(u.containerClassName,!0).style("cursor","ew-resize"),i.exit().each((function(){n.select(this).selectAll("g."+u.groupClassName).each(s)})).remove(),0!==r.length){var l=i.selectAll("g."+u.groupClassName).data(r,v);l.enter().append("g").classed(u.groupClassName,!0),l.exit().each(s).remove();for(var c=0;c<r.length;c++){var d=r[c];m(e,d)}l.each((function(t){var r=n.select(this);!function(e){var t=e._dims;t.labelSteps=[];for(var r=e._stepCount,n=0;n<r;n+=t.labelStride)t.labelSteps.push({fraction:n/(r-1),step:e._visibleSteps[n]})}(t),a.manageCommandObserver(e,t,t._visibleSteps,(function(t){var n=r.data()[0];n.active!==t.index&&(n._dragging||k(e,r,n,t.index,!1,!0))})),function(e,t,r){(r.steps[r.active]||{}).visible||(r.active=r._visibleSteps[0]._index);t.call(y,r).call(O,r).call(w,r).call(M,r).call(P,e,r).call(x,e,r);var n=r._dims;o.setTranslate(t,n.lx+r.pad.l,n.ly+r.pad.t),t.call(S,r,!1),t.call(y,r)}(e,n.select(this),t)}))}}},"8RjX":function(e,t,r){"use strict";var n=r("bljh"),a=r("Nx4I"),i=r("/CZE"),o=i.ensureSingle,s=i.identity,l=r("g9E0"),c=r("3oHU"),u=r("nPGn"),d=r("AL0Q"),f=r("tos6").tester;function h(e,t,r,d,h,p,g){var v;!function(e,t,r,a,o){var s=r.xaxis,l=r.yaxis,u=n.extent(i.simpleMap(s.range,s.r2c)),d=n.extent(i.simpleMap(l.range,l.r2c)),f=a[0].trace;if(!c.hasMarkers(f))return;var h=f.marker.maxdisplayed;if(0===h)return;var p=a.filter((function(e){return e.x>=u[0]&&e.x<=u[1]&&e.y>=d[0]&&e.y<=d[1]})),g=Math.ceil(p.length/h),v=0;o.forEach((function(e,r){var n=e[0].trace;c.hasMarkers(n)&&n.marker.maxdisplayed>0&&r<t&&v++}));var m=Math.round(v*g/3+Math.floor(v/3)*g/7.1);a.forEach((function(e){delete e.vis})),p.forEach((function(e,t){0===Math.round((t+m)%g)&&(e.vis=!0)}))}(0,t,r,d,h);var m=!!g&&g.duration>0;function y(e){return m?e.transition():e}var x=r.xaxis,b=r.yaxis,w=d[0].trace,_=w.line,k=n.select(p),T=o(k,"g","errorbars"),M=o(k,"g","lines"),S=o(k,"g","points"),A=o(k,"g","text");if(a.getComponentMethod("errorbars","plot")(e,T,r,g),!0===w.visible){var C,P;y(k).style("opacity",w.opacity);var O=w.fill.charAt(w.fill.length-1);"x"!==O&&"y"!==O&&(O=""),d[0][r.isRangePlot?"nodeRangePlot3":"node3"]=k;var I,z,L="",E=[],j=w._prevtrace;j&&(L=j._prevRevpath||"",P=j._nextFill,E=j._polygons);var D,R,N,F,B,H,V,G="",Z="",q=[],U=i.noop;if(C=w._ownFill,c.hasLines(w)||"none"!==w.fill){for(P&&P.datum(d),-1!==["hv","vh","hvh","vhv"].indexOf(_.shape)?(D=l.steps(_.shape),R=l.steps(_.shape.split("").reverse().join(""))):D=R="spline"===_.shape?function(e){var t=e[e.length-1];return e.length>1&&e[0][0]===t[0]&&e[0][1]===t[1]?l.smoothclosed(e.slice(1),_.smoothing):l.smoothopen(e,_.smoothing)}:function(e){return"M"+e.join("L")},N=function(e){return R(e.reverse())},q=u(d,{xaxis:x,yaxis:b,connectGaps:w.connectgaps,baseTolerance:Math.max(_.width||1,3)/4,shape:_.shape,simplify:_.simplify,fill:w.fill}),V=w._polygons=new Array(q.length),v=0;v<q.length;v++)w._polygons[v]=f(q[v]);q.length&&(F=q[0][0],H=(B=q[q.length-1])[B.length-1]),U=function(e){return function(t){if(I=D(t),z=N(t),G?O?(G+="L"+I.substr(1),Z=z+"L"+Z.substr(1)):(G+="Z"+I,Z=z+"Z"+Z):(G=I,Z=z),c.hasLines(w)&&t.length>1){var r=n.select(this);if(r.datum(d),e)y(r.style("opacity",0).attr("d",I).call(l.lineGroupStyle)).style("opacity",1);else{var a=y(r);a.attr("d",I),l.singleLineStyle(d,a)}}}}}var W=M.selectAll(".js-line").data(q);y(W.exit()).style("opacity",0).remove(),W.each(U(!1)),W.enter().append("path").classed("js-line",!0).style("vector-effect","non-scaling-stroke").call(l.lineGroupStyle).each(U(!0)),l.setClipUrl(W,r.layerClipId,e),q.length?(C?(C.datum(d),F&&H&&(O?("y"===O?F[1]=H[1]=b.c2p(0,!0):"x"===O&&(F[0]=H[0]=x.c2p(0,!0)),y(C).attr("d","M"+H+"L"+F+"L"+G.substr(1)).call(l.singleFillStyle)):y(C).attr("d",G+"Z").call(l.singleFillStyle))):P&&("tonext"===w.fill.substr(0,6)&&G&&L?("tonext"===w.fill?y(P).attr("d",G+"Z"+L+"Z").call(l.singleFillStyle):y(P).attr("d",G+"L"+L.substr(1)+"Z").call(l.singleFillStyle),w._polygons=w._polygons.concat(E)):(X(P),w._polygons=null)),w._prevRevpath=Z,w._prevPolygons=V):(C?X(C):P&&X(P),w._polygons=w._prevRevpath=w._prevPolygons=null),S.datum(d),A.datum(d),function(t,a,i){var o,u=i[0].trace,d=c.hasMarkers(u),f=c.hasText(u),h=ee(u),p=te,g=te;if(d||f){var v=s,w=u.stackgroup,_=w&&"infer zero"===e._fullLayout._scatterStackOpts[x._id+b._id][w].stackgaps;u.marker.maxdisplayed||u._needsCull?v=_?J:$:w&&!_&&(v=K),d&&(p=v),f&&(g=v)}var k,T=(o=t.selectAll("path.point").data(p,h)).enter().append("path").classed("point",!0);m&&T.call(l.pointStyle,u,e).call(l.translatePoints,x,b).style("opacity",0).transition().style("opacity",1),o.order(),d&&(k=l.makePointStyleFns(u)),o.each((function(t){var a=n.select(this),i=y(a);l.translatePoint(t,i,x,b)?(l.singlePointStyle(t,i,u,k,e),r.layerClipId&&l.hideOutsideRangePoint(t,i,x,b,u.xcalendar,u.ycalendar),u.customdata&&a.classed("plotly-customdata",null!==t.data&&void 0!==t.data)):i.remove()})),m?o.exit().transition().style("opacity",0).remove():o.exit().remove(),(o=a.selectAll("g").data(g,h)).enter().append("g").classed("textpoint",!0).append("text"),o.order(),o.each((function(e){var t=n.select(this),a=y(t.select("text"));l.translatePoint(e,a,x,b)?r.layerClipId&&l.hideOutsideRangePoint(e,t,x,b,u.xcalendar,u.ycalendar):t.remove()})),o.selectAll("text").call(l.textPointStyle,u,e).each((function(e){var t=x.c2p(e.x),r=b.c2p(e.y);n.select(this).selectAll("tspan.line").each((function(){y(n.select(this)).attr({x:t,y:r})}))})),o.exit().remove()}(S,A,d);var Y=!1===w.cliponaxis?null:r.layerClipId;l.setClipUrl(S,Y,e),l.setClipUrl(A,Y,e)}function X(e){y(e).attr("d","M0,0Z")}function $(e){return e.filter((function(e){return!e.gap&&e.vis}))}function J(e){return e.filter((function(e){return e.vis}))}function K(e){return e.filter((function(e){return!e.gap}))}function Q(e){return e.id}function ee(e){if(e.ids)return Q}function te(){return!1}}e.exports=function(e,t,r,a,i,c){var u,f,p=!i,g=!!i&&i.duration>0,v=d(e,t,r);((u=a.selectAll("g.trace").data(v,(function(e){return e[0].trace.uid}))).enter().append("g").attr("class",(function(e){return"trace scatter trace"+e[0].trace.uid})).style("stroke-miterlimit",2),u.order(),function(e,t,r){t.each((function(t){var a=o(n.select(this),"g","fills");l.setClipUrl(a,r.layerClipId,e);var i=t[0].trace,c=[];i._ownfill&&c.push("_ownFill"),i._nexttrace&&c.push("_nextFill");var u=a.selectAll("g").data(c,s);u.enter().append("g"),u.exit().each((function(e){i[e]=null})).remove(),u.order().each((function(e){i[e]=o(n.select(this),"path","js-fill")}))}))}(e,u,t),g)?(c&&(f=c()),n.transition().duration(i.duration).ease(i.easing).each("end",(function(){f&&f()})).each("interrupt",(function(){f&&f()})).each((function(){a.selectAll("g.trace").each((function(r,n){h(e,n,t,r,v,this,i)}))}))):u.each((function(r,n){h(e,n,t,r,v,this,i)}));p&&u.exit().remove(),a.selectAll("path:not([d])").remove()}},"8SFS":function(e,t,r){(t=r("JPst")(!1)).push([e.i,".spinner[data-v-066a86ee]{overflow:hidden;display:flex;justify-content:center;align-items:center}.spinner *[data-v-066a86ee]{line-height:0;box-sizing:border-box}.board[data-v-066a86ee]{width:250px;position:relative}.left[data-v-066a86ee],.right[data-v-066a86ee]{height:50px;width:15px;background:#41b883;display:inline-block;position:absolute}.left[data-v-066a86ee]{left:0;animation:pingpong-position1-data-v-066a86ee 2s linear infinite}.right[data-v-066a86ee]{right:0;animation:pingpong-position2-data-v-066a86ee 2s linear infinite}.ball[data-v-066a86ee]{width:15px;height:15px;border-radius:50%;background:#f7484e;position:absolute;animation:pingpong-bounce-data-v-066a86ee 2s linear infinite}@keyframes pingpong-position1-data-v-066a86ee{0%{top:-60px}25%{top:0}50%{top:60px}75%{top:-60px}100%{top:-60px}}@keyframes pingpong-position2-data-v-066a86ee{0%{top:60px}25%{top:0}50%{top:-60px}75%{top:-60px}100%{top:60px}}@keyframes pingpong-bounce-data-v-066a86ee{0%{top:-35px;left:10px}25%{top:25px;left:225px}50%{top:75px;left:10px}75%{top:-35px;left:225px}100%{top:-35px;left:10px}}\n",""]),e.exports=t},"8gD/":function(e,t,r){"use strict";var n=r("qHYo"),a=r("lNV6").hovertemplateAttrs,i=r("lNV6").texttemplateAttrs,o=r("9Okp"),s=r("gfA5").attributes,l=r("kZ5o"),c=r("i6kf"),u=r("kJIm").extendFlat;e.exports={labels:{valType:"data_array",editType:"calc",description:["Sets the labels of each of the sectors."].join(" ")},parents:{valType:"data_array",editType:"calc",description:["Sets the parent sectors for each of the sectors.","Empty string items '' are understood to reference","the root node in the hierarchy.",'If `ids` is filled, `parents` items are understood to be "ids" themselves.',"When `ids` is not set, plotly attempts to find matching items in `labels`,","but beware they must be unique."].join(" ")},values:{valType:"data_array",editType:"calc",description:["Sets the values associated with each of the sectors.","Use with `branchvalues` to determine how the values are summed."].join(" ")},branchvalues:{valType:"enumerated",values:["remainder","total"],dflt:"remainder",editType:"calc",role:"info",description:["Determines how the items in `values` are summed.","When set to *total*, items in `values` are taken to be value of all its descendants.","When set to *remainder*, items in `values` corresponding to the root and the branches sectors","are taken to be the extra part not part of the sum of the values at their leaves."].join(" ")},count:{valType:"flaglist",flags:["branches","leaves"],dflt:"leaves",editType:"calc",role:"info",description:["Determines default for `values` when it is not provided,","by inferring a 1 for each of the *leaves* and/or *branches*, otherwise 0."].join(" ")},level:{valType:"any",editType:"plot",anim:!0,role:"info",description:["Sets the level from which this trace hierarchy is rendered.","Set `level` to `''` to start from the root node in the hierarchy.",'Must be an "id" if `ids` is filled in, otherwise plotly attempts to find a matching',"item in `labels`."].join(" ")},maxdepth:{valType:"integer",editType:"plot",role:"info",dflt:-1,description:["Sets the number of rendered sectors from any given `level`.","Set `maxdepth` to *-1* to render all the levels in the hierarchy."].join(" ")},marker:u({colors:{valType:"data_array",editType:"calc",description:["Sets the color of each sector of this trace.","If not specified, the default trace color set is used","to pick the sector colors."].join(" ")},line:{color:u({},l.marker.line.color,{dflt:null,description:["Sets the color of the line enclosing each sector.","Defaults to the `paper_bgcolor` value."].join(" ")}),width:u({},l.marker.line.width,{dflt:1}),editType:"calc"},editType:"calc"},o("marker",{colorAttr:"colors",anim:!1})),leaf:{opacity:{valType:"number",editType:"style",role:"style",min:0,max:1,description:["Sets the opacity of the leaves. With colorscale","it is defaulted to 1; otherwise it is defaulted to 0.7"].join(" ")},editType:"plot"},text:l.text,textinfo:{valType:"flaglist",role:"info",flags:["label","text","value","current path","percent root","percent entry","percent parent"],extras:["none"],editType:"plot",description:["Determines which trace information appear on the graph."].join(" ")},texttemplate:i({editType:"plot"},{keys:c.eventDataKeys.concat(["label","value"])}),hovertext:l.hovertext,hoverinfo:u({},n.hoverinfo,{flags:["label","text","value","name","current path","percent root","percent entry","percent parent"],dflt:"label+text+value+name"}),hovertemplate:a({},{keys:c.eventDataKeys}),textfont:l.textfont,insidetextorientation:l.insidetextorientation,insidetextfont:l.insidetextfont,outsidetextfont:u({},l.outsidetextfont,{description:["Sets the font used for `textinfo` lying outside the sector.","This option refers to the root of the hierarchy","presented at the center of a sunburst graph.","Please note that if a hierarchy has multiple root nodes,","this option won't have any effect and `insidetextfont` would be used."].join(" ")}),domain:s({name:"sunburst",trace:!0,editType:"calc"})}},"8gxC":function(e,t,r){var n=r("NJ/+");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("46abbf03",n,!0,{})},"8o4k":function(e,t,r){"use strict";var n=r("Nx4I"),a=r("efHY");e.exports=function(e,t){var r,i,o={},s=[],l=!1,c={},u=0,d=0,f=t._main;function h(e,r){if(""!==e&&a.isGrouped(t))-1===s.indexOf(e)?(s.push(e),l=!0,o[e]=[[r]]):o[e].push([r]);else{var n="~~i"+u;s.push(n),o[n]=[[r]],u++}}for(r=0;r<e.length;r++){var p=e[r],g=p[0],v=g.trace,m=v.legendgroup;if(!f||v.visible&&v.showlegend)if(n.traceIs(v,"pie-like"))for(c[m]||(c[m]={}),i=0;i<p.length;i++){var y=p[i].label;c[m][y]||(h(m,{label:y,color:p[i].color,i:p[i].i,trace:v,pts:p[i].pts}),c[m][y]=!0,d=Math.max(d,(y||"").length))}else h(m,g),d=Math.max(d,(v.name||"").length)}if(!s.length)return[];var x,b,w=s.length;if(l&&a.isGrouped(t))for(b=new Array(w),r=0;r<w;r++)x=o[s[r]],b[r]=a.isReversed(t)?x.reverse():x;else{for(b=[new Array(w)],r=0;r<w;r++)x=o[s[r]][0],b[0][a.isReversed(t)?w-r-1:r]=x;w=1}return t._lgroupsLength=w,t._maxNameLength=d,b}},"8rxV":function(e,t,r){"use strict";var n=r("L2JU"),a={name:"cub-widget-1",props:["conf","id"],data:()=>({isLoading:!1,incompatible:0,targetValue:0,actualValue:0,title:"Widget"}),computed:{...Object(n.b)(["getReportById"]),changeInValue:{get(){return this.actualValue-this.targetValue}},percentChangeInValue:{get(){var e=100*(this.actualValue-this.targetValue)/this.targetValue;return Math.round(100*(+e+Number.EPSILON))/100}},height:{get(){return 25*this.conf.h}},isComparison:{get(){return this.conf.layout.graphSettings.isComparison}},desiredValueTendency:{get(){return this.conf.layout.graphSettings.desiredValueTendency}},isTrendPositive:{get(){return"incr"==this.desiredValueTendency&&this.percentChangeInValue>0||"decr"==this.desiredValueTendency&&this.percentChangeInValue<0}}},mounted(){var e=this.getReportById(this.conf.reportId),t=new Object,r="",n=this.$store.getters.getSelectedDashFilterValues;if(t.measureList=e.MeasureIds,t.dimensionList=e.DimensionIds,n=this.$store.getters.getSelectedDashFilterValues)for(var[a,i]of Object.entries(n))i.length&&(r+="["+a+"(eq)"+i.join(":")+"]");t.dimensionFilterList=e.DimensionFilters+r,t.measureFilterList="",t.uiInstance="default",t.params="",this.isLoading=!0,this.$store.dispatch("getReportData",t).then(e=>{e&&(2==e.length&&2==e[0].length?this.actualValue=Math.round(100*(+e[1][1]+Number.EPSILON))/100:2==e.length&&3==e[0].length?(this.actualValue=Math.round(100*(+e[1][2]+Number.EPSILON))/100,this.targetValue=Math.round(100*(+e[1][1]+Number.EPSILON))/100):3==e.length&&2==e[0].length?(this.actualValue=Math.round(100*(+e[2][1]+Number.EPSILON))/100,this.targetValue=Math.round(100*(+e[1][1]+Number.EPSILON))/100):3==e.length&&3==e[0].length?(this.actualValue=Math.round(100*(+e[2][2]+Number.EPSILON))/100,this.targetValue=Math.round(100*(+e[1][2]+Number.EPSILON))/100):this.incompatible=1),this.isLoading=!1})}},i=(r("nIhz"),r("KHd+")),o=Object(i.a)(a,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticStyle:{height:"100%"}},[e.incompatible?r("v-card",[e._v("Cannot plot")]):e.isComparison?r("div",{staticStyle:{height:"100%"}},[r("v-container",{attrs:{bg:"","fill-height":"","grid-list-md":"","text-xs-center":""}},[r("v-layout",{attrs:{row:"",wrap:"","align-center":""}},[r("v-flex",[r("div",{staticClass:"justify-center text--primary",staticStyle:{display:"flex"}},[r("p",{staticClass:"mb-0",staticStyle:{"font-size":"60px"}},[e._v(e._s(e.actualValue))]),e._v(" "),r("v-icon",{staticStyle:{"margin-left":"15px"},style:{color:e.isTrendPositive?"green":"red"}},[e._v(e._s(e.isTrendPositive?"mdi-trending-up":"mdi-trending-down"))]),e._v(" "),r("p",{staticClass:"mb-0",staticStyle:{"font-size":"30px","margin-top":"25px"},style:{color:e.isTrendPositive?"green":"red"}},[e._v(e._s(e.percentChangeInValue)+"%")])],1)])],1)],1)],1):r("div",{staticStyle:{height:"100%"}},[r("v-container",{attrs:{bg:"","fill-height":"","grid-list-md":"","text-xs-center":""}},[r("v-layout",{attrs:{row:"",wrap:"","align-center":""}},[r("v-flex",[r("div",{staticClass:"justify-center display-3 text--primary"},[e._v(e._s(e.actualValue))])])],1)],1)],1)],1)}),[],!1,null,"4fd27636",null);t.a=o.exports},"8tlJ":function(e,t,r){(t=r("JPst")(!1)).push([e.i,".spinner[data-v-060d9a88]{display:flex;justify-content:center;align-items:center}.spinner *[data-v-060d9a88]{line-height:0;box-sizing:border-box}.spinner-inner[data-v-060d9a88]{width:120px;height:120px}@keyframes circle-9-loading-data-v-060d9a88{0%{transform:rotate(0deg)}25%{transform:rotate(160deg)}50%{transform:rotate(0deg)}75%{transform:rotate(160deg)}100%{transform:rotate(0deg)}}.loading[data-v-060d9a88]{background-color:transparent;border-radius:50%;margin:5px auto;animation:circle-9-loading-data-v-060d9a88 5s infinite linear}.spin-1[data-v-060d9a88]{border:5px solid #f7484e;border-top:5px solid transparent;border-left:5px solid transparent;width:120px;height:120px}.spin-2[data-v-060d9a88]{border:5px solid #41b883;border-top:5px solid transparent;border-left:5px solid transparent;width:100px;height:100px;animation-delay:1s}.spin-3[data-v-060d9a88]{border:5px solid #d2d947;border-top:5px solid transparent;border-left:5px solid transparent;width:80px;height:80px;animation-delay:1s}.spin-4[data-v-060d9a88]{border:5px solid #f2a342;border-top:5px solid transparent;border-left:5px solid transparent;width:60px;height:60px;animation-delay:1s}.spin-5[data-v-060d9a88]{border:5px solid #34495e;border-top:5px solid transparent;border-left:5px solid transparent;width:40px;height:40px;animation-delay:1s}.spin-6[data-v-060d9a88]{border:5px solid #fff;width:20px;height:20px;animation-delay:1s}\n",""]),e.exports=t},"8trw":function(e,t,r){"use strict";var n=r("GbLo"),a=r("6AZA").BADNUM,i=/^['"%,$#\s']+|[, ]|['"%,$#\s']+$/g;e.exports=function(e){return"string"==typeof e&&(e=e.replace(i,"")),n(e)?Number(e):a}},"9+B2":function(e,t,r){var n=r("HQzd");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("30a69896",n,!0,{})},"98FX":function(e,t,r){"use strict";var n=r("/CZE"),a=r("0RW4"),i=r("plED"),o=r("5azm"),s=r("0tl7"),l=r("sZtP");function c(e,t,r,a){var i=a.calendar;function o(r,a){return n.coerce(e,t,s.buttons,r,a)}if(o("visible")){var l=o("step");"all"!==l&&(!i||"gregorian"===i||"month"!==l&&"year"!==l?o("stepmode"):t.stepmode="backward",o("count")),o("label")}}e.exports=function(e,t,r,u,d){var f=e.rangeselector||{},h=i.newContainer(t,"rangeselector");function p(e,t){return n.coerce(f,h,s,e,t)}if(p("visible",o(f,h,{name:"buttons",handleItemDefaults:c,calendar:d}).length>0)){var g=function(e,t,r){for(var n=r.filter((function(r){return t[r].anchor===e._id})),a=0,i=0;i<n.length;i++){var o=t[n[i]].domain;o&&(a=Math.max(o[1],a))}return[e.domain[0],a+l.yPad]}(t,r,u);p("x",g[0]),p("y",g[1]),n.noneOrAll(e,t,["x","y"]),p("xanchor"),p("yanchor"),n.coerceFont(p,"font",r.font);var v=p("bgcolor");p("activecolor",a.contrast(v,l.lightAmount,l.darkAmount)),p("bordercolor"),p("borderwidth")}}},"9CI2":function(e,t,r){"use strict";var n=r("JZU4").drawRaw,a=r("+Y3G"),i=["x","y","z"];e.exports=function(e){for(var t=e.fullSceneLayout,r=e.dataScale,o=t.annotations,s=0;s<o.length;s++){for(var l=o[s],c=!1,u=0;u<3;u++){var d=i[u],f=l[d],h=t[d+"axis"].r2fraction(f);if(h<0||h>1){c=!0;break}}c?e.fullLayout._infolayer.select(".annotation-"+e.id+'[data-index="'+s+'"]').remove():(l._pdata=a(e.glplot.cameraParams,[t.xaxis.r2l(l.x)*r[0],t.yaxis.r2l(l.y)*r[1],t.zaxis.r2l(l.z)*r[2]]),n(e.graphDiv,l,s,e.id,l._xa,l._ya))}}},"9Okp":function(e,t,r){"use strict";var n=r("Z8TU"),a=r("BVrX").counter,i=r("SFLx").scales,o=Object.keys(i);function s(e){return"`"+e+"`"}e.exports=function(e,t){e=e||"";var r,l,c=(t=t||{}).cLetter||"c",u="onlyIfNumerical"in t?t.onlyIfNumerical:Boolean(e),d="noScale"in t?t.noScale:"marker.line"===e,f="showScaleDflt"in t?t.showScaleDflt:"z"===c,h="string"==typeof t.colorscaleDflt?i[t.colorscaleDflt]:null,p=t.editTypeOverride||"",g=e?e+".":"";"colorAttr"in t?(r=t.colorAttr,l=t.colorAttr):l="in "+s(g+(r={z:"z",c:"color"}[c]));var v=u?" Has an effect only if "+l+"is set to a numerical array.":"",m=c+"auto",y=c+"min",x=c+"max",b=c+"mid",w=s(g+m),_=s(g+y),k=s(g+x),T=_+" and "+k,M={};M[y]=M[x]=void 0;var S={};S[m]=!1;var A={};return"color"===r&&(A.color={valType:"color",arrayOk:!0,role:"style",editType:p||"style",description:["Sets the",e,"color."," It accepts either a specific color"," or an array of numbers that are mapped to the colorscale"," relative to the max and min values of the array or relative to"," "+T+" if set."].join("")},t.anim&&(A.color.anim=!0)),A[m]={valType:"boolean",role:"info",dflt:!0,editType:"calc",impliedEdits:M,description:["Determines whether or not the color domain is computed"," with respect to the input data (here "+l+") or the bounds set in"," ",T," ",v," Defaults to `false` when ",T," are set by the user."].join("")},A[y]={valType:"number",role:"info",dflt:null,editType:p||"plot",impliedEdits:S,description:["Sets the lower bound of the color domain.",v," Value should have the same units as ",l," and if set, ",k," must be set as well."].join("")},A[x]={valType:"number",role:"info",dflt:null,editType:p||"plot",impliedEdits:S,description:["Sets the upper bound of the color domain.",v," Value should have the same units as ",l," and if set, ",_," must be set as well."].join("")},A[b]={valType:"number",role:"info",dflt:null,editType:"calc",impliedEdits:M,description:["Sets the mid-point of the color domain by scaling ",_," and/or ",k," to be equidistant to this point.",v," Value should have the same units as ",l,". ","Has no effect when ",w," is `false`."].join("")},A.colorscale={valType:"colorscale",role:"style",editType:"calc",dflt:h,impliedEdits:{autocolorscale:!1},description:["Sets the colorscale.",v," The colorscale must be an array containing"," arrays mapping a normalized value to an"," rgb, rgba, hex, hsl, hsv, or named color string."," At minimum, a mapping for the lowest (0) and highest (1)"," values are required. For example,"," `[[0, 'rgb(0,0,255)'], [1, 'rgb(255,0,0)']]`."," To control the bounds of the colorscale in color space,"," use",T,"."," Alternatively, `colorscale` may be a palette name string"," of the following list: "+o+"."].join("")},A.autocolorscale={valType:"boolean",role:"style",dflt:!1!==t.autoColorDflt,editType:"calc",impliedEdits:{colorscale:void 0},description:["Determines whether the colorscale is a default palette (`autocolorscale: true`)"," or the palette determined by ",s(g+"colorscale"),".",v," In case `colorscale` is unspecified or `autocolorscale` is true, the default "," palette will be chosen according to whether numbers in the `color` array are"," all positive, all negative or mixed."].join("")},A.reversescale={valType:"boolean",role:"style",dflt:!1,editType:"plot",description:["Reverses the color mapping if true.",v," If true, ",_," will correspond to the last color"," in the array and ",k," will correspond to the first color."].join("")},d||(A.showscale={valType:"boolean",role:"info",dflt:f,editType:"calc",description:["Determines whether or not a colorbar is displayed for this trace.",v].join("")},A.colorbar=n),t.noColorAxis||(A.coloraxis={valType:"subplotid",role:"info",regex:a("coloraxis"),dflt:null,editType:"calc",description:["Sets a reference to a shared color axis.","References to these shared color axes are *coloraxis*, *coloraxis2*, *coloraxis3*, etc.","Settings for these shared color axes are set in the layout, under","`layout.coloraxis`, `layout.coloraxis2`, etc.","Note that multiple color scales can be linked to the same color axis."].join(" ")}),A}},"9ShP":function(e,t,r){"use strict";var n=r("qnYk");r.n(n).a},"9VKb":function(e,t,r){"use strict";var n=r("/CZE"),a=r("QYPY"),i=r("i9ir");e.exports=function(e,t,r,o){function s(r,a){return n.coerce(e,t,i,r,a)}var l=s("locations"),c=s("z");if(l&&l.length&&n.isArrayOrTypedArray(c)&&c.length){t._length=Math.min(l.length,c.length);var u,d=s("geojson");("string"==typeof d&&""!==d||n.isPlainObject(d))&&(u="geojson-id"),"geojson-id"===s("locationmode",u)&&s("featureidkey"),s("text"),s("hovertext"),s("hovertemplate"),s("marker.line.width")&&s("marker.line.color"),s("marker.opacity"),a(e,t,o,s,{prefix:"",cLetter:"z"}),n.coerceSelectionMarkerOpacity(t,s)}else t.visible=!1}},"9gnF":function(e,t,r){(t=r("JPst")(!1)).push([e.i,'.spinner-inner[data-v-47ba83ac]{width:70px;height:70px;display:flex;justify-content:center;align-items:center}.spinner-inner *[data-v-47ba83ac]{line-height:0;box-sizing:border-box}.jawn[data-v-47ba83ac]{position:relative;background-color:#41b883;width:15px;height:15px;margin:0 auto;border-radius:50%}.jawn[data-v-47ba83ac]:after,.jawn[data-v-47ba83ac]:before{content:"";position:absolute;width:6px;height:6px;border-radius:50%}.jawn[data-v-47ba83ac]:after{left:-10px;top:-5px;background-color:#f7484e;transform-origin:15px 10px;animation:jawn-axis-data-v-47ba83ac 1s linear infinite}.jawn[data-v-47ba83ac]:before{left:-25px;top:-15px;background-color:#34495e;transform-origin:30px 20px;animation:jawn-axis-data-v-47ba83ac 2s linear infinite}@keyframes jawn-axis-data-v-47ba83ac{0%{transform:rotateZ(0deg) translate3d(0, 0, 0)}100%{transform:rotateZ(360deg) translate3d(0, 0, 0)}}\n',""]),e.exports=t},"9ldu":function(e,t,r){"use strict";e.exports={moduleType:"trace",name:"sunburst",basePlotModule:r("s1NN"),categories:[],animatable:!0,attributes:r("8gD/"),layoutAttributes:r("e6NF"),supplyDefaults:r("jb4q"),supplyLayoutDefaults:r("LdfS"),calc:r("E6B2").calc,crossTraceCalc:r("E6B2").crossTraceCalc,plot:r("4X2v").plot,style:r("dZSj").style,colorbar:r("88/Y"),meta:{description:["Visualize hierarchal data spanning outward radially from root to leaves.","The sunburst sectors are determined by the entries in *labels* or *ids*","and in *parents*."].join(" ")}}},"9rBw":function(e,t,r){"use strict";var n=r("GbLo");e.exports=function(e,t){if(e>0)return Math.log(e)/Math.LN10;var r=Math.log(Math.min(t[0],t[1]))/Math.LN10;return n(r)||(r=Math.log(Math.max(t[0],t[1]))/Math.LN10-6),r}},"9yVo":function(e,t,r){"use strict";e.exports=r("/w3t")},A3kh:function(e,t,r){"use strict";var n=r("bljh"),a=r("/CZE"),i=r("c8nr"),o=r("Y9zF").LINE_SPACING;function s(e,t){return e.node().getBoundingClientRect()[t]}var l=/([^$]*)([$]+[^$]*[$]+)([^$]*)/;t.convertToTspans=function(e,r,M){var S=e.text(),C=!e.attr("data-notex")&&"undefined"!=typeof MathJax&&S.match(l),P=n.select(e.node().parentNode);if(!P.empty()){var O=e.attr("class")?e.attr("class").split(" ")[0]:"text";return O+="-math",P.selectAll("svg."+O).remove(),P.selectAll("g."+O+"-group").remove(),e.style("display",null).attr({"data-unformatted":S,"data-math":"N"}),C?(r&&r._promises||[]).push(new Promise((function(t){e.style("display","none");var r=parseInt(e.node().style.fontSize,10),i={fontSize:r};!function(e,t,r){var i,o,s,l;MathJax.Hub.Queue((function(){return o=a.extendDeepAll({},MathJax.Hub.config),s=MathJax.Hub.processSectionDelay,void 0!==MathJax.Hub.processSectionDelay&&(MathJax.Hub.processSectionDelay=0),MathJax.Hub.Config({messageStyle:"none",tex2jax:{inlineMath:[["$","$"],["\\(","\\)"]]},displayAlign:"left"})}),(function(){if("SVG"!==(i=MathJax.Hub.config.menuSettings.renderer))return MathJax.Hub.setRenderer("SVG")}),(function(){var r="math-output-"+a.randstr({},64);return l=n.select("body").append("div").attr({id:r}).style({visibility:"hidden",position:"absolute"}).style({"font-size":t.fontSize+"px"}).text(e.replace(c,"\\lt ").replace(u,"\\gt ")),MathJax.Hub.Typeset(l.node())}),(function(){var t=n.select("body").select("#MathJax_SVG_glyphs");if(l.select(".MathJax_SVG").empty()||!l.select("svg").node())a.log("There was an error in the tex syntax.",e),r();else{var o=l.select("svg").node().getBoundingClientRect();r(l.select(".MathJax_SVG"),t,o)}if(l.remove(),"SVG"!==i)return MathJax.Hub.setRenderer(i)}),(function(){return void 0!==s&&(MathJax.Hub.processSectionDelay=s),MathJax.Hub.Config(o)}))}(C[2],i,(function(n,a,i){P.selectAll("svg."+O).remove(),P.selectAll("g."+O+"-group").remove();var o=n&&n.select("svg");if(!o||!o.node())return I(),void t();var l=P.append("g").classed(O+"-group",!0).attr({"pointer-events":"none","data-unformatted":S,"data-math":"Y"});l.node().appendChild(o.node()),a&&a.node()&&o.node().insertBefore(a.node().cloneNode(!0),o.node().firstChild),o.attr({class:O,height:i.height,preserveAspectRatio:"xMinYMin meet"}).style({overflow:"visible","pointer-events":"none"});var c=e.node().style.fill||"black",u=o.select("g");u.attr({fill:c,stroke:c});var d=s(u,"width"),f=s(u,"height"),h=+e.attr("x")-d*{start:0,middle:.5,end:1}[e.attr("text-anchor")||"start"],p=-(r||s(e,"height"))/4;"y"===O[0]?(l.attr({transform:"rotate("+[-90,+e.attr("x"),+e.attr("y")]+") translate("+[-d/2,p-f/2]+")"}),o.attr({x:+e.attr("x"),y:+e.attr("y")})):"l"===O[0]?o.attr({x:e.attr("x"),y:p-f/2}):"a"===O[0]&&0!==O.indexOf("atitle")?o.attr({x:0,y:p}):o.attr({x:h,y:+e.attr("y")+p-f/2}),M&&M.call(e,l),t(l)}))}))):I(),e}function I(){P.empty()||(O=e.attr("class")+"-math",P.select("svg."+O).remove()),e.text("").style("white-space","pre"),function(e,t){t=t.replace(g," ");var r,s=!1,l=[],c=-1;function u(){c++;var t=document.createElementNS(i.svg,"tspan");n.select(t).attr({class:"line",dy:c*o+"em"}),e.appendChild(t),r=t;var a=l;if(l=[{node:t}],a.length>1)for(var s=1;s<a.length;s++)M(a[s])}function M(e){var t,a=e.type,o={};if("a"===a){t="a";var s=e.target,c=e.href,u=e.popup;c&&(o={"xlink:xlink:show":"_blank"===s||"_"!==s.charAt(0)?"new":"replace",target:s,"xlink:xlink:href":c},u&&(o.onclick='window.open(this.href.baseVal,this.target.baseVal,"'+u+'");return false;'))}else t="tspan";e.style&&(o.style=e.style);var d=document.createElementNS(i.svg,t);if("sup"===a||"sub"===a){S(r,"โ"),r.appendChild(d);var p=document.createElementNS(i.svg,"tspan");S(p,"โ"),n.select(p).attr("dy",h[a]),o.dy=f[a],r.appendChild(d),r.appendChild(p)}else r.appendChild(d);n.select(d).attr(o),r=e.node=d,l.push(e)}function S(e,t){e.appendChild(document.createTextNode(t))}function C(e){if(1!==l.length){var n=l.pop();e!==n.type&&a.log("Start tag <"+n.type+"> doesnt match end tag <"+e+">. Pretending it did match.",t),r=l[l.length-1].node}else a.log("Ignoring unexpected end tag </"+e+">.",t)}y.test(t)?u():(r=e,l=[{node:e}]);for(var P=t.split(v),O=0;O<P.length;O++){var I=P[O],z=I.match(m),L=z&&z[2].toLowerCase(),E=d[L];if("br"===L)u();else if(void 0===E)S(r,A(I));else if(z[1])C(L);else{var j=z[4],D={type:L},R=k(j,x);if(R?(R=R.replace(T,"$1 fill:"),E&&(R+=";"+E)):E&&(R=E),R&&(D.style=R),"a"===L){s=!0;var N=k(j,b);if(N){var F=document.createElement("a");F.href=N,-1!==p.indexOf(F.protocol)&&(D.href=encodeURI(decodeURI(N)),D.target=k(j,w)||"_blank",D.popup=k(j,_))}}M(D)}}return s}(e.node(),S)&&e.style("pointer-events","all"),t.positionText(e),M&&M.call(e)}};var c=/(<|<|<)/g,u=/(>|>|>)/g;var d={sup:"font-size:70%",sub:"font-size:70%",b:"font-weight:bold",i:"font-style:italic",a:"cursor:pointer",span:"",em:"font-style:italic;font-weight:bold"},f={sub:"0.3em",sup:"-0.6em"},h={sub:"-0.21em",sup:"0.42em"},p=["http:","https:","mailto:","",void 0,":"],g=t.NEWLINES=/(\r\n?|\n)/g,v=/(<[^<>]*>)/,m=/<(\/?)([^ >]*)(\s+(.*))?>/i,y=/<br(\s+.*)?>/i;t.BR_TAG_ALL=/<br(\s+.*)?>/gi;var x=/(^|[\s"'])style\s*=\s*("([^"]*);?"|'([^']*);?')/i,b=/(^|[\s"'])href\s*=\s*("([^"]*)"|'([^']*)')/i,w=/(^|[\s"'])target\s*=\s*("([^"\s]*)"|'([^'\s]*)')/i,_=/(^|[\s"'])popup\s*=\s*("([\w=,]*)"|'([\w=,]*)')/i;function k(e,t){if(!e)return null;var r=e.match(t),n=r&&(r[3]||r[4]);return n&&A(n)}var T=/(^|;)\s*color:/;t.plainText=function(e,t){for(var r=void 0!==(t=t||{}).len&&-1!==t.len?t.len:1/0,n=void 0!==t.allowedTags?t.allowedTags:["br"],a="...".length,i=e.split(v),o=[],s="",l=0,c=0;c<i.length;c++){var u=i[c],d=u.match(m),f=d&&d[2].toLowerCase();if(f)-1!==n.indexOf(f)&&(o.push(u),s=f);else{var h=u.length;if(l+h<r)o.push(u),l+=h;else if(l<r){var p=r-l;s&&("br"!==s||p<=a||h<=a)&&o.pop(),r>a?o.push(u.substr(0,p-a)+"..."):o.push(u.substr(0,p));break}s=""}}return o.join("")};var M={mu:"ฮผ",amp:"&",lt:"<",gt:">",nbsp:"ย ",times:"ร",plusmn:"ยฑ",deg:"ยฐ"},S=/&(#\d+|#x[\da-fA-F]+|[a-z]+);/g;function A(e){return e.replace(S,(function(e,t){return("#"===t.charAt(0)?function(e){if(e>1114111)return;var t=String.fromCodePoint;if(t)return t(e);var r=String.fromCharCode;return e<=65535?r(e):r(55232+(e>>10),e%1024+56320)}("x"===t.charAt(1)?parseInt(t.substr(2),16):parseInt(t.substr(1),10)):M[t])||e}))}function C(e,t,r){var n,a,i,o=r.horizontalAlign,s=r.verticalAlign||"top",l=e.node().getBoundingClientRect(),c=t.node().getBoundingClientRect();return a="bottom"===s?function(){return l.bottom-n.height}:"middle"===s?function(){return l.top+(l.height-n.height)/2}:function(){return l.top},i="right"===o?function(){return l.right-n.width}:"center"===o?function(){return l.left+(l.width-n.width)/2}:function(){return l.left},function(){return n=this.node().getBoundingClientRect(),this.style({top:a()-c.top+"px",left:i()-c.left+"px","z-index":1e3}),this}}t.convertEntities=A,t.sanitizeHTML=function(e){e=e.replace(g," ");for(var t=document.createElement("p"),r=t,a=[],i=e.split(v),o=0;o<i.length;o++){var s=i[o],l=s.match(m),c=l&&l[2].toLowerCase();if(c in d)if(l[1])a.length&&(r=a.pop());else{var u=l[4],f=k(u,x),h=f?{style:f}:{};if("a"===c){var y=k(u,b);if(y){var _=document.createElement("a");if(_.href=y,-1!==p.indexOf(_.protocol)){h.href=encodeURI(decodeURI(y));var T=k(u,w);T&&(h.target=T)}}}var M=document.createElement(c);r.appendChild(M),n.select(M).attr(h),r=M,a.push(M)}else r.appendChild(document.createTextNode(A(s)))}return t.innerHTML},t.lineCount=function(e){return e.selectAll("tspan.line").size()||1},t.positionText=function(e,t,r){return e.each((function(){var e=n.select(this);function a(t,r){return void 0===r?null===(r=e.attr(t))&&(e.attr(t,0),r=0):e.attr(t,r),r}var i=a("x",t),o=a("y",r);"text"===this.nodeName&&e.selectAll("tspan.line").attr({x:i,y:o})}))},t.makeEditable=function(e,t){var r=t.gd,a=t.delegate,i=n.dispatch("edit","input","cancel"),o=a||e;if(e.style({"pointer-events":a?"none":"all"}),1!==e.size())throw new Error("boo");function s(){!function(){var a=n.select(r).select(".svg-container"),o=a.append("div"),s=e.node().style,c=parseFloat(s.fontSize||12),u=t.text;void 0===u&&(u=e.attr("data-unformatted"));o.classed("plugin-editable editable",!0).style({position:"absolute","font-family":s.fontFamily||"Arial","font-size":c,color:t.fill||s.fill||"black",opacity:1,"background-color":t.background||"transparent",outline:"#ffffff33 1px solid",margin:[-c/8+1,0,0,-1].join("px ")+"px",padding:"0","box-sizing":"border-box"}).attr({contenteditable:!0}).text(u).call(C(e,a,t)).on("blur",(function(){r._editing=!1,e.text(this.textContent).style({opacity:1});var t,a=n.select(this).attr("class");(t=a?"."+a.split(" ")[0]+"-math-group":"[class*=-math-group]")&&n.select(e.node().parentNode).select(t).style({opacity:0});var o=this.textContent;n.select(this).transition().duration(0).remove(),n.select(document).on("mouseup",null),i.edit.call(e,o)})).on("focus",(function(){var e=this;r._editing=!0,n.select(document).on("mouseup",(function(){if(n.event.target===e)return!1;document.activeElement===o.node()&&o.node().blur()}))})).on("keyup",(function(){27===n.event.which?(r._editing=!1,e.style({opacity:1}),n.select(this).style({opacity:0}).on("blur",(function(){return!1})).transition().remove(),i.cancel.call(e,this.textContent)):(i.input.call(e,this.textContent),n.select(this).call(C(e,a,t)))})).on("keydown",(function(){13===n.event.which&&this.blur()})).call(l)}(),e.style({opacity:0});var a,s=o.attr("class");(a=s?"."+s.split(" ")[0]+"-math-group":"[class*=-math-group]")&&n.select(e.node().parentNode).select(a).style({opacity:0})}function l(e){var t=e.node(),r=document.createRange();r.selectNodeContents(t);var n=window.getSelection();n.removeAllRanges(),n.addRange(r),t.focus()}return t.immediate?s():o.on("click",s),n.rebind(e,i,"on")}},A40U:function(e,t,r){"use strict";var n=r("BkK/"),a=r("i9ir"),i=r("/CZE").fillText;e.exports=function(e,t,r){var o,s,l,c,u=e.cd,d=u[0].trace,f=e.subplot;for(s=0;s<u.length;s++)if(c=!1,(o=u[s])._polygons){for(l=0;l<o._polygons.length;l++)o._polygons[l].contains([t,r])&&(c=!c),o._polygons[l].contains([t+360,r])&&(c=!c);if(c)break}if(c&&o)return e.x0=e.x1=e.xa.c2p(o.ct),e.y0=e.y1=e.ya.c2p(o.ct),e.index=o.index,e.location=o.loc,e.z=o.z,e.zLabel=n.tickText(f.mockAxis,f.mockAxis.c2l(o.z),"hover").text,e.hovertemplate=o.hovertemplate,function(e,t,r){if(t.hovertemplate)return;var n=r.hi||t.hoverinfo,o=String(r.loc),s="all"===n?a.hoverinfo.flags:n.split("+"),l=-1!==s.indexOf("name"),c=-1!==s.indexOf("location"),u=-1!==s.indexOf("z"),d=-1!==s.indexOf("text"),f=[];!l&&c?e.nameOverride=o:(l&&(e.nameOverride=t.name),c&&f.push(o));u&&f.push(e.zLabel);d&&i(r,t,f);e.extraText=f.join("<br>")}(e,d,o,f.mockAxis),[e]}},"A9f/":function(e,t,r){"use strict";var n=r("bljh"),a=r("g9E0"),i=r("0RW4"),o=r("cqRZ").DESELECTDIM,s=r("LfN2"),l=r("k6aH").resizeText,c=s.styleTextPoints;e.exports={style:function(e,t,r){var s=r||n.select(e).selectAll("g.waterfalllayer").selectAll("g.trace");l(e,s,"waterfall"),s.style("opacity",(function(e){return e[0].trace.opacity})),s.each((function(t){var r=n.select(this),s=t[0].trace;r.selectAll(".point > path").each((function(e){if(!e.isBlank){var t=s[e.dir].marker;n.select(this).call(i.fill,t.color).call(i.stroke,t.line.color).call(a.dashLine,t.line.dash,t.line.width).style("opacity",s.selectedpoints&&!e.selected?o:1)}})),c(r,s,e),r.selectAll(".lines").each((function(){var e=s.connector.line;a.lineGroupStyle(n.select(this).selectAll("path"),e.width,e.color,e.dash)}))}))}}},AII8:function(e,t,r){"use strict";var n=r("bljh"),a=r("GbLo"),i=[];e.exports=function(e,t){if(-1===i.indexOf(e)){i.push(e);var r=1e3;a(t)?r=t:"long"===t&&(r=3e3);var o=n.select("body").selectAll(".plotly-notifier").data([0]);o.enter().append("div").classed("plotly-notifier",!0),o.selectAll(".notifier-note").data(i).enter().append("div").classed("notifier-note",!0).style("opacity",0).each((function(e){var a=n.select(this);a.append("button").classed("notifier-close",!0).html("×").on("click",(function(){a.transition().call(s)}));for(var i=a.append("p"),o=e.split(/<br\s*\/?>/g),l=0;l<o.length;l++)l&&i.append("br"),i.append("span").text(o[l]);"stick"===t?a.transition().duration(350).style("opacity",1):a.transition().duration(700).style("opacity",1).transition().delay(r).call(s)}))}function s(e){e.duration(700).style("opacity",0).each("end",(function(e){var t=i.indexOf(e);-1!==t&&i.splice(t,1),n.select(this).remove()}))}}},AL0Q:function(e,t,r){"use strict";var n={tonextx:1,tonexty:1,tonext:1};e.exports=function(e,t,r){var a,i,o,s,l,c={},u=!1,d=-1,f=0,h=-1;for(i=0;i<r.length;i++)(o=(a=r[i][0].trace).stackgroup||"")?o in c?l=c[o]:(l=c[o]=f,f++):a.fill in n&&h>=0?l=h:(l=h=f,f++),l<d&&(u=!0),a._groupIndex=d=l;var p=r.slice();u&&p.sort((function(e,t){var r=e[0].trace,n=t[0].trace;return r._groupIndex-n._groupIndex||r.index-n.index}));var g={};for(i=0;i<p.length;i++)o=(a=p[i][0].trace).stackgroup||"",!0===a.visible?(a._nexttrace=null,a.fill in n&&(s=g[o],a._prevtrace=s||null,s&&(s._nexttrace=a)),a._ownfill=a.fill&&("tozero"===a.fill.substr(0,6)||"toself"===a.fill||"to"===a.fill.substr(0,2)&&!a._prevtrace),g[o]=a):a._prevtrace=a._nexttrace=a._ownfill=null;return p}},Agql:function(e,t,r){var n=r("uyhC");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("08f6ce66",n,!0,{})},Avch:function(e,t,r){(t=r("JPst")(!1)).push([e.i,".spinner[data-v-2db1e062]{overflow:hidden;position:relative;text-indent:-9999px;display:inline-block;background:#f86;border-radius:50%;transform:rotateZ(90deg);transform-origin:50% 50%;animation:plus-loader-background-data-v-2db1e062 3s infinite ease-in-out}.spinner[data-v-2db1e062]::after{background:#f86;border-radius:50% 0 0 50%;content:'';position:absolute;right:50%;top:0;width:50%;height:100%;transform-origin:100% 50%;animation:plus-loader-top-data-v-2db1e062 3s infinite linear}.spinner[data-v-2db1e062]::before{background:#fc6;border-radius:50% 0 0 50%;content:'';position:absolute;right:50%;top:0;width:50%;height:100%;transform-origin:100% 50%;animation:plus-loader-bottom-data-v-2db1e062 3s infinite linear}@keyframes plus-loader-top-data-v-2db1e062{2.5%{background:#f86;transform:rotateY(0deg);animation-timing-function:ease-in}13.75%{background:#ff430d;transform:rotateY(90deg);animation-timing-function:step-start}13.76%{background:#ffae0d;transform:rotateY(90deg);animation-timing-function:ease-out}25%{background:#fc6;transform:rotateY(180deg)}27.5%{background:#fc6;transform:rotateY(180deg);animation-timing-function:ease-in}41.25%{background:#ffae0d;transform:rotateY(90deg);animation-timing-function:step-start}41.26%{background:#2cc642;transform:rotateY(90deg);animation-timing-function:ease-out}50%{background:#6d7;transform:rotateY(0deg)}52.5%{background:#6d7;transform:rotateY(0deg);animation-timing-function:ease-in}63.75%{background:#2cc642;transform:rotateY(90deg);animation-timing-function:step-start}63.76%{background:#1386d2;transform:rotateY(90deg);animation-timing-function:ease-out}75%{background:#4ae;transform:rotateY(180deg)}77.5%{background:#4ae;transform:rotateY(180deg);animation-timing-function:ease-in}91.25%{background:#1386d2;transform:rotateY(90deg);animation-timing-function:step-start}91.26%{background:#ff430d;transform:rotateY(90deg);animation-timing-function:ease-in}100%{background:#f86;transform:rotateY(0deg);animation-timing-function:step-start}}@keyframes plus-loader-bottom-data-v-2db1e062{0%{background:#fc6;animation-timing-function:step-start}50%{background:#fc6;animation-timing-function:step-start}75%{background:#4ae;animation-timing-function:step-start}100%{background:#4ae;animation-timing-function:step-start}}@keyframes plus-loader-background-data-v-2db1e062{0%{background:#f86;transform:rotateZ(180deg)}25%{background:#f86;transform:rotateZ(180deg);animation-timing-function:step-start}27.5%{background:#6d7;transform:rotateZ(90deg)}50%{background:#6d7;transform:rotateZ(90deg);animation-timing-function:step-start}52.5%{background:#6d7;transform:rotateZ(0deg)}75%{background:#6d7;transform:rotateZ(0deg);animation-timing-function:step-start}77.5%{background:#f86;transform:rotateZ(270deg)}100%{background:#f86;transform:rotateZ(270deg);animation-timing-function:step-start}}\n",""]),e.exports=t},AySM:function(e,t,r){"use strict";e.exports=function(e){for(var t=0;t<e.length;t++){var r=e[t];if("scatter"===r.type){var n=r.fill;if("none"!==n&&"toself"!==n&&(r.opacity=void 0,"tonexty"===n||"tonextx"===n))for(var a=t-1;a>=0;a--){var i=e[a];if("scatter"===i.type&&i.xaxis===r.xaxis&&i.yaxis===r.yaxis){i.opacity=void 0;break}}}}}},B28u:function(e,t,r){"use strict";var n=r("/CZE"),a=r("Nx4I");e.exports=function(e,t,r,i){var o,s=i("x"),l=i("y");if(a.getComponentMethod("calendars","handleTraceDefaults")(e,t,["x","y"],r),s){var c=n.minRowLength(s);l?o=Math.min(c,n.minRowLength(l)):(o=c,i("y0"),i("dy"))}else{if(!l)return 0;o=n.minRowLength(l),i("x0"),i("dx")}return t._length=o,o}},BDWl:function(e,t,r){"use strict";var n=r("EHyX"),a=r("qHYo"),i=r("lNV6").hovertemplateAttrs,o=r("9Okp"),s=r("eN+q").FORMAT_LINK,l=r("kJIm").extendFlat;e.exports=l({z:{valType:"data_array",editType:"calc",description:"Sets the z data."},x:l({},n.x,{impliedEdits:{xtype:"array"}}),x0:l({},n.x0,{impliedEdits:{xtype:"scaled"}}),dx:l({},n.dx,{impliedEdits:{xtype:"scaled"}}),y:l({},n.y,{impliedEdits:{ytype:"array"}}),y0:l({},n.y0,{impliedEdits:{ytype:"scaled"}}),dy:l({},n.dy,{impliedEdits:{ytype:"scaled"}}),text:{valType:"data_array",editType:"calc",description:"Sets the text elements associated with each z value."},hovertext:{valType:"data_array",editType:"calc",description:"Same as `text`."},transpose:{valType:"boolean",dflt:!1,role:"info",editType:"calc",description:"Transposes the z data."},xtype:{valType:"enumerated",values:["array","scaled"],role:"info",editType:"calc+clearAxisTypes",description:["If *array*, the heatmap's x coordinates are given by *x*","(the default behavior when `x` is provided).","If *scaled*, the heatmap's x coordinates are given by *x0* and *dx*","(the default behavior when `x` is not provided)."].join(" ")},ytype:{valType:"enumerated",values:["array","scaled"],role:"info",editType:"calc+clearAxisTypes",description:["If *array*, the heatmap's y coordinates are given by *y*","(the default behavior when `y` is provided)","If *scaled*, the heatmap's y coordinates are given by *y0* and *dy*","(the default behavior when `y` is not provided)"].join(" ")},zsmooth:{valType:"enumerated",values:["fast","best",!1],dflt:!1,role:"style",editType:"calc",description:["Picks a smoothing algorithm use to smooth `z` data."].join(" ")},hoverongaps:{valType:"boolean",dflt:!0,role:"style",editType:"none",description:["Determines whether or not gaps","(i.e. {nan} or missing values)","in the `z` data have hover labels associated with them."].join(" ")},connectgaps:{valType:"boolean",role:"info",editType:"calc",description:["Determines whether or not gaps","(i.e. {nan} or missing values)","in the `z` data are filled in.","It is defaulted to true if `z` is a","one dimensional array and `zsmooth` is not false;","otherwise it is defaulted to false."].join(" ")},xgap:{valType:"number",dflt:0,min:0,role:"style",editType:"plot",description:"Sets the horizontal gap (in pixels) between bricks."},ygap:{valType:"number",dflt:0,min:0,role:"style",editType:"plot",description:"Sets the vertical gap (in pixels) between bricks."},zhoverformat:{valType:"string",dflt:"",role:"style",editType:"none",description:["Sets the hover text formatting rule using d3 formatting mini-languages","which are very similar to those in Python. See:",s].join(" ")},hovertemplate:i(),showlegend:l({},a.showlegend,{dflt:!1})},{transforms:void 0},o("",{cLetter:"z",autoColorDflt:!1}))},BEZi:function(e,t,r){"use strict";var n=r("bljh"),a=r("Nx4I"),i=r("/CZE"),o=r("g9E0"),s=r("BkK/");e.exports=function(e,t,r,l){var c=e._fullLayout;if(0!==t.length){var u,d,f,h;l&&(u=l());var p=n.ease(r.easing);return e._transitionData._interruptCallbacks.push((function(){return window.cancelAnimationFrame(h),h=null,function(){for(var r={},n=0;n<t.length;n++){var i=t[n],o=i.plotinfo.xaxis,s=i.plotinfo.yaxis;i.xr0&&(r[o._name+".range"]=i.xr0.slice()),i.yr0&&(r[s._name+".range"]=i.yr0.slice())}return a.call("relayout",e,r).then((function(){for(var e=0;e<t.length;e++)g(t[e].plotinfo)}))}()})),d=Date.now(),h=window.requestAnimationFrame((function n(){f=Date.now();for(var i=Math.min(1,(f-d)/r.duration),o=p(i),s=0;s<t.length;s++)v(t[s],o);f-d>r.duration?(!function(){for(var r={},n=0;n<t.length;n++){var i=t[n],o=i.plotinfo.xaxis,s=i.plotinfo.yaxis;i.xr1&&(r[o._name+".range"]=i.xr1.slice()),i.yr1&&(r[s._name+".range"]=i.yr1.slice())}u&&u(),a.call("relayout",e,r).then((function(){for(var e=0;e<t.length;e++)g(t[e].plotinfo)}))}(),h=window.cancelAnimationFrame(n)):h=window.requestAnimationFrame(n)})),Promise.resolve()}function g(e){var t=e.xaxis,r=e.yaxis;c._defs.select("#"+e.clipId+"> rect").call(o.setTranslate,0,0).call(o.setScale,1,1),e.plot.call(o.setTranslate,t._offset,r._offset).call(o.setScale,1,1);var n=e.plot.selectAll(".scatterlayer .trace");n.selectAll(".point").call(o.setPointGroupScale,1,1),n.selectAll(".textpoint").call(o.setTextPointsScale,1,1),n.call(o.hideOutsideRangePoints,e)}function v(t,r){var n=t.plotinfo,a=n.xaxis,l=n.yaxis,c=a._length,u=l._length,d=!!t.xr1,f=!!t.yr1,h=[];if(d){var p=i.simpleMap(t.xr0,a.r2l),g=i.simpleMap(t.xr1,a.r2l),v=p[1]-p[0],m=g[1]-g[0];h[0]=(p[0]*(1-r)+r*g[0]-p[0])/(p[1]-p[0])*c,h[2]=c*(1-r+r*m/v),a.range[0]=a.l2r(p[0]*(1-r)+r*g[0]),a.range[1]=a.l2r(p[1]*(1-r)+r*g[1])}else h[0]=0,h[2]=c;if(f){var y=i.simpleMap(t.yr0,l.r2l),x=i.simpleMap(t.yr1,l.r2l),b=y[1]-y[0],w=x[1]-x[0];h[1]=(y[1]*(1-r)+r*x[1]-y[1])/(y[0]-y[1])*u,h[3]=u*(1-r+r*w/b),l.range[0]=a.l2r(y[0]*(1-r)+r*x[0]),l.range[1]=l.l2r(y[1]*(1-r)+r*x[1])}else h[1]=0,h[3]=u;s.drawOne(e,a,{skipTitle:!0}),s.drawOne(e,l,{skipTitle:!0}),s.redrawComponents(e,[a._id,l._id]);var _=d?c/h[2]:1,k=f?u/h[3]:1,T=d?h[0]:0,M=f?h[1]:0,S=d?h[0]/h[2]*c:0,A=f?h[1]/h[3]*u:0,C=a._offset-S,P=l._offset-A;n.clipRect.call(o.setTranslate,T,M).call(o.setScale,1/_,1/k),n.plot.call(o.setTranslate,C,P).call(o.setScale,_,k),o.setPointGroupScale(n.zoomScalePts,1/_,1/k),o.setTextPointsScale(n.zoomScaleTxt,1/_,1/k)}s.redrawComponents(e)}},BGtl:function(e,t,r){"use strict";var n=r("/CZE"),a={"X,X div":"direction:ltr;font-family:'Open Sans', verdana, arial, sans-serif;margin:0;padding:0;","X input,X button":"font-family:'Open Sans', verdana, arial, sans-serif;","X input:focus,X button:focus":"outline:none;","X a":"text-decoration:none;","X a:hover":"text-decoration:none;","X .crisp":"shape-rendering:crispEdges;","X .user-select-none":"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;","X svg":"overflow:hidden;","X svg a":"fill:#447adb;","X svg a:hover":"fill:#3c6dc5;","X .main-svg":"position:absolute;top:0;left:0;pointer-events:none;","X .main-svg .draglayer":"pointer-events:all;","X .cursor-default":"cursor:default;","X .cursor-pointer":"cursor:pointer;","X .cursor-crosshair":"cursor:crosshair;","X .cursor-move":"cursor:move;","X .cursor-col-resize":"cursor:col-resize;","X .cursor-row-resize":"cursor:row-resize;","X .cursor-ns-resize":"cursor:ns-resize;","X .cursor-ew-resize":"cursor:ew-resize;","X .cursor-sw-resize":"cursor:sw-resize;","X .cursor-s-resize":"cursor:s-resize;","X .cursor-se-resize":"cursor:se-resize;","X .cursor-w-resize":"cursor:w-resize;","X .cursor-e-resize":"cursor:e-resize;","X .cursor-nw-resize":"cursor:nw-resize;","X .cursor-n-resize":"cursor:n-resize;","X .cursor-ne-resize":"cursor:ne-resize;","X .cursor-grab":"cursor:-webkit-grab;cursor:grab;","X .modebar":"position:absolute;top:2px;right:2px;","X .ease-bg":"-webkit-transition:background-color 0.3s ease 0s;-moz-transition:background-color 0.3s ease 0s;-ms-transition:background-color 0.3s ease 0s;-o-transition:background-color 0.3s ease 0s;transition:background-color 0.3s ease 0s;","X .modebar--hover>:not(.watermark)":"opacity:0;-webkit-transition:opacity 0.3s ease 0s;-moz-transition:opacity 0.3s ease 0s;-ms-transition:opacity 0.3s ease 0s;-o-transition:opacity 0.3s ease 0s;transition:opacity 0.3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;","X [data-title]:hover:before,X [data-title]:hover:after":"display:block;opacity:1;","X [data-title]:before":"content:'';position:absolute;background:transparent;border:6px solid transparent;z-index:1002;margin-top:-12px;border-bottom-color:#69738a;margin-right:-6px;","X [data-title]:after":"content:attr(data-title);background:#69738a;color:white;padding:8px 10px;font-size:12px;line-height:12px;white-space:nowrap;margin-right:-18px;border-radius:2px;","X .vertical [data-title]:before,X .vertical [data-title]:after":"top:0%;right:200%;","X .vertical [data-title]:before":"border:6px solid transparent;border-left-color:#69738a;margin-top:8px;margin-right:-30px;","X .select-outline":"fill:none;stroke-width:1;shape-rendering:crispEdges;","X .select-outline-1":"stroke:white;","X .select-outline-2":"stroke:black;stroke-dasharray:2px 2px;",Y:"font-family:'Open Sans', verdana, arial, sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;","Y p":"margin:0;","Y .notifier-note":"min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,0.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;","Y .notifier-close":"color:#fff;opacity:0.8;float:right;padding:0 5px;background:none;border:none;font-size:20px;font-weight:bold;line-height:20px;","Y .notifier-close:hover":"color:#444;text-decoration:none;cursor:pointer;"};for(var i in a){var o=i.replace(/^,/," ,").replace(/X/g,".js-plotly-plot .plotly").replace(/Y/g,".plotly-notifier");n.addStyleRule(o,a[i])}},BJA0:function(e,t,r){(t=r("JPst")(!1)).push([e.i,".spinner[data-v-6f313e63]{display:inline-block}.spinner *[data-v-6f313e63]{line-height:0;box-sizing:border-box}.sk-cube[data-v-6f313e63]{width:33%;height:33%;float:left;animation:sk-cubeGridScaleDelay-data-v-6f313e63 1.8s ease-in-out infinite}.sk-cube1[data-v-6f313e63]{-webkit-animation-delay:0.2s;animation-delay:0.2s}.sk-cube2[data-v-6f313e63]{-webkit-animation-delay:0.3s;animation-delay:0.3s}.sk-cube3[data-v-6f313e63]{-webkit-animation-delay:0.4s;animation-delay:0.4s}.sk-cube4[data-v-6f313e63]{-webkit-animation-delay:0.1s;animation-delay:0.1s}.sk-cube5[data-v-6f313e63]{-webkit-animation-delay:0.2s;animation-delay:0.2s}.sk-cube6[data-v-6f313e63]{-webkit-animation-delay:0.3s;animation-delay:0.3s}.sk-cube7[data-v-6f313e63]{-webkit-animation-delay:0s;animation-delay:0s}.sk-cube8[data-v-6f313e63]{-webkit-animation-delay:0.1s;animation-delay:0.1s}.sk-cube9[data-v-6f313e63]{-webkit-animation-delay:0.2s;animation-delay:0.2s}@keyframes sk-cubeGridScaleDelay-data-v-6f313e63{0%,70%,100%{transform:scale3D(1, 1, 1)}35%{transform:scale3D(0, 0, 1)}}\n",""]),e.exports=t},BK0j:function(e,t,r){"use strict";e.exports={moduleType:"component",name:"rangeselector",schema:{subplots:{xaxis:{rangeselector:r("0tl7")}}},layoutAttributes:r("0tl7"),handleDefaults:r("98FX"),draw:r("iHwY")}},BS69:function(e,t,r){(t=r("JPst")(!1)).push([e.i,".spinner[data-v-0e2c2720]{position:relative;display:inline-block}.spinner *[data-v-0e2c2720]{line-height:0;box-sizing:border-box}.double-bounce1[data-v-0e2c2720],.double-bounce2[data-v-0e2c2720]{width:100%;height:100%;border-radius:50%;opacity:0.6;position:absolute;top:0;left:0;animation:double-bounce-data-v-0e2c2720 2.0s ease-in-out infinite}.double-bounce2[data-v-0e2c2720]{animation-delay:-1.0s}@keyframes double-bounce-data-v-0e2c2720{0%,100%{transform:scale(0)}50%{transform:scale(1)}}\n",""]),e.exports=t},BVrX:function(e,t,r){"use strict";t.counter=function(e,t,r,n){var a=(t||"")+(r?"":"$"),i=!1===n?"":"^";return"xy"===e?new RegExp(i+"x([2-9]|[1-9][0-9]+)?y([2-9]|[1-9][0-9]+)?"+a):new RegExp(i+e+"([2-9]|[1-9][0-9]+)?"+a)}},BiVG:function(e,t,r){"use strict";var n=r("Nx4I"),a=r("/CZE"),i=r("BkK/"),o=r("f56O"),s=r("OqjQ"),l=r("0GSP"),c=r("G2oM"),u=r("LQ6N"),d=r("DDrG"),f=r("1wZf"),h=r("6AZA").BADNUM;function p(e){for(var t=[],r=e.length,n=0;n<r;n++){var a=e[n];a!==h&&t.push(a)}return t}e.exports=function(e,t){var r,g,v,m,y,x,b,w,_,k=i.getFromId(e,t.xaxis||"x"),T=i.getFromId(e,t.yaxis||"y"),M=n.traceIs(t,"contour"),S=n.traceIs(t,"histogram"),A=n.traceIs(t,"gl2d"),C=M?"best":t.zsmooth;if(k._minDtick=0,T._minDtick=0,S)r=(_=o(e,t)).x,g=_.x0,v=_.dx,m=_.y,y=_.y0,x=_.dy,b=_.z;else{var P=t.z;a.isArray1D(P)?(l(t,k,T,"x","y",["z"]),r=t._x,m=t._y,P=t._z):(r=t._x=t.x?k.makeCalcdata(t,"x"):[],m=t._y=t.y?T.makeCalcdata(t,"y"):[]),g=t.x0,v=t.dx,y=t.y0,x=t.dy,b=c(P,t,k,T)}function O(e){C=t._input.zsmooth=t.zsmooth=!1,a.warn('cannot use zsmooth: "fast": '+e)}if((k.rangebreaks||T.rangebreaks)&&(b=function(e,t,r){for(var n=[],a=-1,i=0;i<r.length;i++)if(t[i]!==h){a++,n[a]=[];for(var o=0;o<r[i].length;o++)e[o]!==h&&n[a].push(r[i][o])}return n}(r,m,b),S||(r=p(r),m=p(m),t._x=r,t._y=m)),S||!M&&!t.connectgaps||(t._emptypoints=d(b),u(b,t._emptypoints)),"fast"===C)if("log"===k.type||"log"===T.type)O("log axis found");else if(!S){if(r.length){var I=(r[r.length-1]-r[0])/(r.length-1),z=Math.abs(I/100);for(w=0;w<r.length-1;w++)if(Math.abs(r[w+1]-r[w]-I)>z){O("x scale is not linear");break}}if(m.length&&"fast"===C){var L=(m[m.length-1]-m[0])/(m.length-1),E=Math.abs(L/100);for(w=0;w<m.length-1;w++)if(Math.abs(m[w+1]-m[w]-L)>E){O("y scale is not linear");break}}}var j=a.maxRowLength(b),D="scaled"===t.xtype?"":r,R=f(t,D,g,v,j,k),N="scaled"===t.ytype?"":m,F=f(t,N,y,x,b.length,T);A||(t._extremes[k._id]=i.findExtremes(k,R),t._extremes[T._id]=i.findExtremes(T,F));var B={x:R,y:F,z:b,text:t._text||t.text,hovertext:t._hovertext||t.hovertext};if(D&&D.length===R.length-1&&(B.xCenter=D),N&&N.length===F.length-1&&(B.yCenter=N),S&&(B.xRanges=_.xRanges,B.yRanges=_.yRanges,B.pts=_.pts),M||s(e,t,{vals:b,cLetter:"z"}),M&&t.contours&&"heatmap"===t.contours.coloring){var H={type:"contour"===t.type?"heatmap":"histogram2d",xcalendar:t.xcalendar,ycalendar:t.ycalendar};B.xfill=f(H,D,g,v,j,k),B.yfill=f(H,N,y,x,b.length,T)}return[B]}},"BkK/":function(e,t,r){"use strict";var n=r("bljh"),a=r("GbLo"),i=r("u3HJ"),o=r("Nx4I"),s=r("/CZE"),l=r("A3kh"),c=r("GZnn"),u=r("0RW4"),d=r("g9E0"),f=r("15jM"),h=r("2mon"),p=r("6AZA"),g=p.ONEAVGYEAR,v=p.ONEAVGMONTH,m=p.ONEDAY,y=p.ONEHOUR,x=p.ONEMIN,b=p.ONESEC,w=p.MINUS_SIGN,_=p.BADNUM,k=r("Y9zF"),T=k.MID_SHIFT,M=k.CAP_SHIFT,S=k.LINE_SPACING,A=k.OPPOSITE_SIDE,C=e.exports={};C.setConvert=r("GkA6");var P=r("C3fs"),O=r("PBw4");C.id2name=O.id2name,C.name2id=O.name2id,C.cleanId=O.cleanId,C.list=O.list,C.listIds=O.listIds,C.getFromId=O.getFromId,C.getFromTrace=O.getFromTrace;var I=r("zlYT");C.getAutoRange=I.getAutoRange,C.findExtremes=I.findExtremes;function z(e){var t=1e-4*(e[1]-e[0]);return[e[0]-t,e[1]+t]}C.coerceRef=function(e,t,r,n,a,i){var o=n.charAt(n.length-1),l=r._fullLayout._subplots[o+"axis"],c=n+"ref",u={};return a||(a=l[0]||i),i||(i=a),u[c]={valType:"enumerated",values:l.concat(i?[i]:[]),dflt:a},s.coerce(e,t,u,c)},C.coercePosition=function(e,t,r,n,a,i){var o,l;if("paper"===n||"pixel"===n)o=s.ensureNumber,l=r(a,i);else{var c=C.getFromId(t,n);l=r(a,i=c.fraction2r(i)),o=c.cleanPos}e[a]=o(l)},C.cleanPosition=function(e,t,r){return("paper"===r||"pixel"===r?s.ensureNumber:C.getFromId(t,r).cleanPos)(e)},C.redrawComponents=function(e,t){t=t||C.listIds(e);var r=e._fullLayout;function n(n,a,i,s){for(var l=o.getComponentMethod(n,a),c={},u=0;u<t.length;u++)for(var d=r[C.id2name(t[u])][i],f=0;f<d.length;f++){var h=d[f];if(!c[h]&&(l(e,h),c[h]=1,s))return}}n("annotations","drawOne","_annIndices"),n("shapes","drawOne","_shapeIndices"),n("images","draw","_imgIndices",!0)};var L=C.getDataConversions=function(e,t,r,n){var a,i="x"===r||"y"===r||"z"===r?r:n;if(Array.isArray(i)){if(a={type:P(n),_categories:[]},C.setConvert(a),"category"===a.type)for(var o=0;o<n.length;o++)a.d2c(n[o])}else a=C.getFromTrace(e,t,i);return a?{d2c:a.d2c,c2d:a.c2d}:"ids"===i?{d2c:j,c2d:j}:{d2c:E,c2d:E}};function E(e){return+e}function j(e){return String(e)}C.getDataToCoordFunc=function(e,t,r,n){return L(e,t,r,n).d2c},C.counterLetter=function(e){var t=e.charAt(0);return"x"===t?"y":"y"===t?"x":void 0},C.minDtick=function(e,t,r,n){-1===["log","category","multicategory"].indexOf(e.type)&&n?void 0===e._minDtick?(e._minDtick=t,e._forceTick0=r):e._minDtick&&((e._minDtick/t+1e-6)%1<2e-6&&((r-e._forceTick0)/t%1+1.000001)%1<2e-6?(e._minDtick=t,e._forceTick0=r):((t/e._minDtick+1e-6)%1>2e-6||((r-e._forceTick0)/e._minDtick%1+1.000001)%1>2e-6)&&(e._minDtick=0)):e._minDtick=0},C.saveRangeInitial=function(e,t){for(var r=C.list(e,"",!0),n=!1,a=0;a<r.length;a++){var i=r[a],o=void 0===i._rangeInitial,s=o||!(i.range[0]===i._rangeInitial[0]&&i.range[1]===i._rangeInitial[1]);(o&&!1===i.autorange||t&&s)&&(i._rangeInitial=i.range.slice(),n=!0)}return n},C.saveShowSpikeInitial=function(e,t){for(var r=C.list(e,"",!0),n=!1,a="on",i=0;i<r.length;i++){var o=r[i],s=void 0===o._showSpikeInitial,l=s||!(o.showspikes===o._showspikes);(s||t&&l)&&(o._showSpikeInitial=o.showspikes,n=!0),"on"!==a||o.showspikes||(a="off")}return e._fullLayout._cartesianSpikesEnabled=a,n},C.autoBin=function(e,t,r,n,i,o){var l,c=s.aggNums(Math.min,null,e),u=s.aggNums(Math.max,null,e);if("category"===t.type||"multicategory"===t.type)return{start:c-.5,end:u+.5,size:Math.max(1,Math.round(o)||1),_dataSpan:u-c};if(i||(i=t.calendar),l="log"===t.type?{type:"linear",range:[c,u]}:{type:t.type,range:s.simpleMap([c,u],t.c2r,0,i),calendar:i},C.setConvert(l),o=o&&h.dtick(o,l.type))l.dtick=o,l.tick0=h.tick0(void 0,l.type,i);else{var d;if(r)d=(u-c)/r;else{var f=s.distinctVals(e),p=Math.pow(10,Math.floor(Math.log(f.minDiff)/Math.LN10)),g=p*s.roundUp(f.minDiff/p,[.9,1.9,4.9,9.9],!0);d=Math.max(g,2*s.stdev(e)/Math.pow(e.length,n?.25:.4)),a(d)||(d=1)}C.autoTicks(l,d)}var v,y=l.dtick,x=C.tickIncrement(C.tickFirst(l),y,"reverse",i);if("number"==typeof y)v=(x=function(e,t,r,n,i){var o=0,s=0,l=0,c=0;function u(t){return(1+100*(t-e)/r.dtick)%100<2}for(var d=0;d<t.length;d++)t[d]%1==0?l++:a(t[d])||c++,u(t[d])&&o++,u(t[d]+r.dtick/2)&&s++;var f=t.length-c;if(l===f&&"date"!==r.type)r.dtick<1?e=n-.5*r.dtick:(e-=.5)+r.dtick<n&&(e+=r.dtick);else if(s<.1*f&&(o>.3*f||u(n)||u(i))){var h=r.dtick/2;e+=e+h<n?h:-h}return e}(x,e,l,c,u))+(1+Math.floor((u-x)/y))*y;else for("M"===l.dtick.charAt(0)&&(x=function(e,t,r,n,a){var i=s.findExactDates(t,a);if(i.exactDays>.8){var o=Number(r.substr(1));i.exactYears>.8&&o%12==0?e=C.tickIncrement(e,"M6","reverse")+1.5*m:i.exactMonths>.8?e=C.tickIncrement(e,"M1","reverse")+15.5*m:e-=m/2;var l=C.tickIncrement(e,r);if(l<=n)return l}return e}(x,e,y,c,i)),v=x,0;v<=u;)v=C.tickIncrement(v,y,!1,i);return{start:t.c2r(x,0,i),end:t.c2r(v,0,i),size:y,_dataSpan:u-c}},C.prepTicks=function(e,t){var r=s.simpleMap(e.range,e.r2l,void 0,void 0,t);if("auto"===e.tickmode||!e.dtick){var n,a=e.nticks;a||("category"===e.type||"multicategory"===e.type?(n=e.tickfont?1.2*(e.tickfont.size||12):15,a=e._length/n):(n="y"===e._id.charAt(0)?40:80,a=s.constrain(e._length/n,4,9)+1),"radialaxis"===e._name&&(a*=2)),"array"===e.tickmode&&(a*=100),e._roughDTick=(Math.abs(r[1]-r[0])-(e._lBreaks||0))/a,C.autoTicks(e,e._roughDTick),e._minDtick>0&&e.dtick<2*e._minDtick&&(e.dtick=e._minDtick,e.tick0=e.l2r(e._forceTick0))}e.tick0||(e.tick0="date"===e.type?"2000-01-01":0),"date"===e.type&&e.dtick<.1&&(e.dtick=.1),Z(e)},C.calcTicks=function(e,t){C.prepTicks(e,t);var r=s.simpleMap(e.range,e.r2l,void 0,void 0,t);if("array"===e.tickmode)return function(e){var t=e.tickvals,r=e.ticktext,n=new Array(t.length),a=z(s.simpleMap(e.range,e.r2l)),i=Math.min(a[0],a[1]),o=Math.max(a[0],a[1]),l=0;Array.isArray(r)||(r=[]);var c="category"===e.type?e.d2l_noadd:e.d2l;"log"===e.type&&"L"!==String(e.dtick).charAt(0)&&(e.dtick="L"+Math.pow(10,Math.floor(Math.min(e.range[0],e.range[1]))-1));for(var u=0;u<t.length;u++){var d=c(t[u]);d>i&&d<o&&(void 0===r[u]?n[l]=C.tickText(e,d):n[l]=q(e,d,String(r[u])),l++)}l<t.length&&n.splice(l,t.length-l);e.rangebreaks&&(n=n.filter((function(t){return e.maskBreaks(t.x)!==_})));return n}(e);e._tmin=C.tickFirst(e,t);var n=z(r),i=n[0],o=n[1],l=r[1]<r[0];if(e._tmin<i!==l)return[];"category"!==e.type&&"multicategory"!==e.type||(o=l?Math.max(-.5,o):Math.min(e._categories.length-.5,o));var c,u="log"===e.type&&!(a(e.dtick)||"L"===e.dtick.charAt(0));if(function(){var t=null,r=Math.max(1e3,e._length||0);c=[];for(var n=e._tmin;(l?n>=o:n<=o)&&!(c.length>r||n===t);n=C.tickIncrement(n,e.dtick,l,e.calendar)){t=n;var a=!1;u&&n!==(0|n)&&(a=!0),c.push({minor:a,value:n})}}(),e.rangebreaks){var d=c.length;if(d){var f=0;"auto"===e.tickmode&&(f=("y"===e._id.charAt(0)?2:6)*(e.tickfont?e.tickfont.size:12));for(var h,p=[],g=l?1:-1,v=l?d-1:0,m=l?0:d-1;g*m<=g*v;m+=g){var y=c[m];if(e.maskBreaks(y.value)!==_||(y.value=le(y.value,e),!e._rl||e._rl[0]!==y.value&&e._rl[1]!==y.value)){var x=e.c2p(y.value);x===h?p[p.length-1].value<y.value&&(p[p.length-1]=y):(void 0===h||Math.abs(x-h)>f)&&(h=x,p.push(y))}}c=p.reverse()}}se(e)&&360===Math.abs(r[1]-r[0])&&c.pop(),e._tmax=(c[c.length-1]||{}).value,e._prevDateHead="",e._inCalcTicks=!0;for(var b=new Array(c.length),w=0;w<c.length;w++){var k=c[w].minor,T=c[w].value;b[w]=C.tickText(e,T,!1,k)}return e._inCalcTicks=!1,b};var D=[2,5,10],R=[1,2,3,6,12],N=[1,2,5,10,15,30],F=[1,2,3,7,14],B=[-.046,0,.301,.477,.602,.699,.778,.845,.903,.954,1],H=[-.301,0,.301,.699,1],V=[15,30,45,90,180];function G(e,t,r){return t*s.roundUp(e/t,r)}function Z(e){var t=e.dtick;if(e._tickexponent=0,a(t)||"string"==typeof t||(t=1),"category"!==e.type&&"multicategory"!==e.type||(e._tickround=null),"date"===e.type){var r=e.r2l(e.tick0),n=e.l2r(r).replace(/(^-|i)/g,""),i=n.length;if("M"===String(t).charAt(0))i>10||"01-01"!==n.substr(5)?e._tickround="d":e._tickround=+t.substr(1)%12==0?"y":"m";else if(t>=m&&i<=10||t>=15*m)e._tickround="d";else if(t>=x&&i<=16||t>=y)e._tickround="M";else if(t>=b&&i<=19||t>=x)e._tickround="S";else{var o=e.l2r(r+t).replace(/^-/,"").length;e._tickround=Math.max(i,o)-20,e._tickround<0&&(e._tickround=4)}}else if(a(t)||"L"===t.charAt(0)){var s=e.range.map(e.r2d||Number);a(t)||(t=Number(t.substr(1))),e._tickround=2-Math.floor(Math.log(t)/Math.LN10+.01);var l=Math.max(Math.abs(s[0]),Math.abs(s[1])),c=Math.floor(Math.log(l)/Math.LN10+.01);Math.abs(c)>3&&(W(e.exponentformat)&&!Y(c)?e._tickexponent=3*Math.round((c-1)/3):e._tickexponent=c)}else e._tickround=null}function q(e,t,r){var n=e.tickfont||{};return{x:t,dx:0,dy:0,text:r||"",fontSize:n.size,font:n.family,fontColor:n.color}}C.autoTicks=function(e,t){var r;function n(e){return Math.pow(e,Math.floor(Math.log(t)/Math.LN10))}if("date"===e.type){e.tick0=s.dateTick0(e.calendar);var i=2*t;i>g?(t/=g,r=n(10),e.dtick="M"+12*G(t,r,D)):i>v?(t/=v,e.dtick="M"+G(t,1,R)):i>m?(e.dtick=G(t,m,e._hasDayOfWeekBreaks?[1,2,7,14]:F),e.tick0=s.dateTick0(e.calendar,!0)):i>y?e.dtick=G(t,y,R):i>x?e.dtick=G(t,x,N):i>b?e.dtick=G(t,b,N):(r=n(10),e.dtick=G(t,r,D))}else if("log"===e.type){e.tick0=0;var o=s.simpleMap(e.range,e.r2l);if(t>.7)e.dtick=Math.ceil(t);else if(Math.abs(o[1]-o[0])<1){var l=1.5*Math.abs((o[1]-o[0])/t);t=Math.abs(Math.pow(10,o[1])-Math.pow(10,o[0]))/l,r=n(10),e.dtick="L"+G(t,r,D)}else e.dtick=t>.3?"D2":"D1"}else"category"===e.type||"multicategory"===e.type?(e.tick0=0,e.dtick=Math.ceil(Math.max(t,1))):se(e)?(e.tick0=0,r=1,e.dtick=G(t,r,V)):(e.tick0=0,r=n(10),e.dtick=G(t,r,D));if(0===e.dtick&&(e.dtick=1),!a(e.dtick)&&"string"!=typeof e.dtick){var c=e.dtick;throw e.dtick=1,"ax.dtick error: "+String(c)}},C.tickIncrement=function(e,t,r,i){var o=r?-1:1;if(a(t))return e+o*t;var l=t.charAt(0),c=o*Number(t.substr(1));if("M"===l)return s.incrementMonth(e,c,i);if("L"===l)return Math.log(Math.pow(10,e)+c)/Math.LN10;if("D"===l){var u="D2"===t?H:B,d=e+.01*o,f=s.roundUp(s.mod(d,1),u,r);return Math.floor(d)+Math.log(n.round(Math.pow(10,f),1))/Math.LN10}throw"unrecognized dtick "+String(t)},C.tickFirst=function(e,t){var r=e.r2l||Number,i=s.simpleMap(e.range,r,void 0,void 0,t),o=i[1]<i[0],l=o?Math.floor:Math.ceil,c=z(i)[0],u=e.dtick,d=r(e.tick0);if(a(u)){var f=l((c-d)/u)*u+d;return"category"!==e.type&&"multicategory"!==e.type||(f=s.constrain(f,0,e._categories.length-1)),f}var h=u.charAt(0),p=Number(u.substr(1));if("M"===h){for(var g,v,m,y=0,x=d;y<10;){if(((g=C.tickIncrement(x,u,o,e.calendar))-c)*(x-c)<=0)return o?Math.min(x,g):Math.max(x,g);v=(c-(x+g)/2)/(g-x),m=h+(Math.abs(Math.round(v))||1)*p,x=C.tickIncrement(x,m,v<0?!o:o,e.calendar),y++}return s.error("tickFirst did not converge",e),x}if("L"===h)return Math.log(l((Math.pow(10,c)-d)/p)*p+d)/Math.LN10;if("D"===h){var b="D2"===u?H:B,w=s.roundUp(s.mod(c,1),b,o);return Math.floor(c)+Math.log(n.round(Math.pow(10,w),1))/Math.LN10}throw"unrecognized dtick "+String(u)},C.tickText=function(e,t,r,n){var i,o=q(e,t),l="array"===e.tickmode,c=r||l,u=e.type,d="category"===u?e.d2l_noadd:e.d2l;if(l&&Array.isArray(e.ticktext)){var f=s.simpleMap(e.range,e.r2l),h=(Math.abs(f[1]-f[0])-(e._lBreaks||0))/1e4;for(i=0;i<e.ticktext.length&&!(Math.abs(t-d(e.tickvals[i]))<h);i++);if(i<e.ticktext.length)return o.text=String(e.ticktext[i]),o}function p(n){if(void 0===n)return!0;if(r)return"none"===n;var a={first:e._tmin,last:e._tmax}[n];return"all"!==n&&t!==a}var g=r?"never":"none"!==e.exponentformat&&p(e.showexponent)?"hide":"";if("date"===u?function(e,t,r,n){var i=e._tickround,o=r&&e.hoverformat||C.getTickFormat(e);n&&(i=a(i)?4:{y:"m",m:"d",d:"M",M:"S",S:4}[i]);var l,c=s.formatDate(t.x,o,i,e._dateFormat,e.calendar,e._extraFormat),u=c.indexOf("\n");-1!==u&&(l=c.substr(u+1),c=c.substr(0,u));n&&("00:00:00"===c||"00:00"===c?(c=l,l=""):8===c.length&&(c=c.replace(/:00$/,"")));l&&(r?"d"===i?c+=", "+l:c=l+(c?", "+c:""):e._inCalcTicks&&l===e._prevDateHead||(c+="<br>"+l,e._prevDateHead=l));t.text=c}(e,o,r,c):"log"===u?function(e,t,r,n,i){var o=e.dtick,l=t.x,c=e.tickformat,u="string"==typeof o&&o.charAt(0);"never"===i&&(i="");n&&"L"!==u&&(o="L3",u="L");if(c||"L"===u)t.text=X(Math.pow(10,l),e,i,n);else if(a(o)||"D"===u&&s.mod(l+.01,1)<.1){var d=Math.round(l),f=Math.abs(d),h=e.exponentformat;"power"===h||W(h)&&Y(d)?(t.text=0===d?1:1===d?"10":"10<sup>"+(d>1?"":w)+f+"</sup>",t.fontSize*=1.25):("e"===h||"E"===h)&&f>2?t.text="1"+h+(d>0?"+":w)+f:(t.text=X(Math.pow(10,l),e,"","fakehover"),"D1"===o&&"y"===e._id.charAt(0)&&(t.dy-=t.fontSize/6))}else{if("D"!==u)throw"unrecognized dtick "+String(o);t.text=String(Math.round(Math.pow(10,s.mod(l,1)))),t.fontSize*=.75}if("D1"===e.dtick){var p=String(t.text).charAt(0);"0"!==p&&"1"!==p||("y"===e._id.charAt(0)?t.dx-=t.fontSize/4:(t.dy+=t.fontSize/2,t.dx+=(e.range[1]>e.range[0]?1:-1)*t.fontSize*(l<0?.5:.25)))}}(e,o,0,c,g):"category"===u?function(e,t){var r=e._categories[Math.round(t.x)];void 0===r&&(r="");t.text=String(r)}(e,o):"multicategory"===u?function(e,t,r){var n=Math.round(t.x),a=e._categories[n]||[],i=void 0===a[1]?"":String(a[1]),o=void 0===a[0]?"":String(a[0]);r?t.text=o+" - "+i:(t.text=i,t.text2=o)}(e,o,r):se(e)?function(e,t,r,n,a){if("radians"!==e.thetaunit||r)t.text=X(t.x,e,a,n);else{var i=t.x/180;if(0===i)t.text="0";else{var o=function(e){function t(e,t){return Math.abs(e-t)<=1e-6}var r=function(e){for(var r=1;!t(Math.round(e*r)/r,e);)r*=10;return r}(e),n=e*r,a=Math.abs(function e(r,n){return t(n,0)?r:e(n,r%n)}(n,r));return[Math.round(n/a),Math.round(r/a)]}(i);if(o[1]>=100)t.text=X(s.deg2rad(t.x),e,a,n);else{var l=t.x<0;1===o[1]?1===o[0]?t.text="ฯ":t.text=o[0]+"ฯ":t.text=["<sup>",o[0],"</sup>","โ","<sub>",o[1],"</sub>","ฯ"].join(""),l&&(t.text=w+t.text)}}}}(e,o,r,c,g):function(e,t,r,n,a){"never"===a?a="":"all"===e.showexponent&&Math.abs(t.x/e.dtick)<1e-6&&(a="hide");t.text=X(t.x,e,a,n)}(e,o,0,c,g),n||(e.tickprefix&&!p(e.showtickprefix)&&(o.text=e.tickprefix+o.text),e.ticksuffix&&!p(e.showticksuffix)&&(o.text+=e.ticksuffix)),"boundaries"===e.tickson||e.showdividers){var v=function(t){var r=e.l2p(t);return r>=0&&r<=e._length?t:null};o.xbnd=[v(o.x-.5),v(o.x+e.dtick-.5)]}return o},C.hoverLabelText=function(e,t,r){if(r!==_&&r!==t)return C.hoverLabelText(e,t)+" - "+C.hoverLabelText(e,r);var n="log"===e.type&&t<=0,a=C.tickText(e,e.c2l(n?-t:t),"hover").text;return n?0===t?"0":w+a:a};var U=["f","p","n","ฮผ","m","","k","M","G","T"];function W(e){return"SI"===e||"B"===e}function Y(e){return e>14||e<-15}function X(e,t,r,n){var i=e<0,o=t._tickround,l=r||t.exponentformat||"B",c=t._tickexponent,u=C.getTickFormat(t),d=t.separatethousands;if(n){var f={exponentformat:l,dtick:"none"===t.showexponent?t.dtick:a(e)&&Math.abs(e)||1,range:"none"===t.showexponent?t.range.map(t.r2d):[0,e||1]};Z(f),o=(Number(f._tickround)||0)+4,c=f._tickexponent,t.hoverformat&&(u=t.hoverformat)}if(u)return t._numFormat(u)(e).replace(/-/g,w);var h,p=Math.pow(10,-o)/2;if("none"===l&&(c=0),(e=Math.abs(e))<p)e="0",i=!1;else{if(e+=p,c&&(e*=Math.pow(10,-c),o+=c),0===o)e=String(Math.floor(e));else if(o<0){e=(e=String(Math.round(e))).substr(0,e.length+o);for(var g=o;g<0;g++)e+="0"}else{var v=(e=String(e)).indexOf(".")+1;v&&(e=e.substr(0,v+o).replace(/\.?0+$/,""))}e=s.numSeparate(e,t._separators,d)}c&&"hide"!==l&&(W(l)&&Y(c)&&(l="power"),h=c<0?w+-c:"power"!==l?"+"+c:String(c),"e"===l||"E"===l?e+=l+h:"power"===l?e+="ร10<sup>"+h+"</sup>":"B"===l&&9===c?e+="B":W(l)&&(e+=U[c/3+5]));return i?w+e:e}function $(e,t){for(var r=[],n={},a=0;a<t.length;a++){var i=t[a];n[i.text2]?n[i.text2].push(i.x):n[i.text2]=[i.x]}for(var o in n)r.push(q(e,s.interp(n[o],.5),o));return r}function J(e){return[e.text,e.x,e.axInfo,e.font,e.fontSize,e.fontColor].join("_")}function K(e){var t=e.title.font.size,r=(e.title.text.match(l.BR_TAG_ALL)||[]).length;return e.title.hasOwnProperty("standoff")?r?t*(M+r*S):t*M:r?t*(r+1)*S:t}function Q(e,t){var r=e.l2p(t);return r>1&&r<e._length-1}function ee(e){var t=n.select(e),r=t.select(".text-math-group");return r.empty()?t.select("text"):r}function te(e){return e._id+".automargin"}function re(e){return te(e)+".mirror"}function ne(e){return e._id+".rangeslider"}function ae(e,t){for(var r=0;r<t.length;r++)-1===e.indexOf(t[r])&&e.push(t[r])}function ie(e,t,r){var n,a,i=[],o=[],l=e.layout;for(n=0;n<t.length;n++)i.push(C.getFromId(e,t[n]));for(n=0;n<r.length;n++)o.push(C.getFromId(e,r[n]));var c=Object.keys(f),u=["anchor","domain","overlaying","position","side","tickangle","editType"],d=["linear","log"];for(n=0;n<c.length;n++){var h=c[n],p=i[0][h],g=o[0][h],v=!0,m=!1,y=!1;if("_"!==h.charAt(0)&&"function"!=typeof p&&-1===u.indexOf(h)){for(a=1;a<i.length&&v;a++){var x=i[a][h];"type"===h&&-1!==d.indexOf(p)&&-1!==d.indexOf(x)&&p!==x?m=!0:x!==p&&(v=!1)}for(a=1;a<o.length&&v;a++){var b=o[a][h];"type"===h&&-1!==d.indexOf(g)&&-1!==d.indexOf(b)&&g!==b?y=!0:o[a][h]!==g&&(v=!1)}v&&(m&&(l[i[0]._name].type="linear"),y&&(l[o[0]._name].type="linear"),oe(l,h,i,o,e._fullLayout._dfltTitle))}}for(n=0;n<e._fullLayout.annotations.length;n++){var w=e._fullLayout.annotations[n];-1!==t.indexOf(w.xref)&&-1!==r.indexOf(w.yref)&&s.swapAttrs(l.annotations[n],["?"])}}function oe(e,t,r,n,a){var i,o=s.nestedProperty,l=o(e[r[0]._name],t).get(),c=o(e[n[0]._name],t).get();for("title"===t&&(l&&l.text===a.x&&(l.text=a.y),c&&c.text===a.y&&(c.text=a.x)),i=0;i<r.length;i++)o(e,r[i]._name+"."+t).set(c);for(i=0;i<n.length;i++)o(e,n[i]._name+"."+t).set(l)}function se(e){return"angularaxis"===e._id}function le(e,t){for(var r=t._rangebreaks.length,n=0;n<r;n++){var a=t._rangebreaks[n];if(e>=a.min&&e<a.max)return a.max}return e}C.getTickFormat=function(e){var t,r,n,a,i,o,s,l;function c(e){return"string"!=typeof e?e:Number(e.replace("M",""))*v}function u(e,t){var r=["L","D"];if(typeof e==typeof t){if("number"==typeof e)return e-t;var n=r.indexOf(e.charAt(0)),a=r.indexOf(t.charAt(0));return n===a?Number(e.replace(/(L|D)/g,""))-Number(t.replace(/(L|D)/g,"")):n-a}return"number"==typeof e?1:-1}function d(e,t){var r=null===t[0],n=null===t[1],a=u(e,t[0])>=0,i=u(e,t[1])<=0;return(r||a)&&(n||i)}if(e.tickformatstops&&e.tickformatstops.length>0)switch(e.type){case"date":case"linear":for(t=0;t<e.tickformatstops.length;t++)if((n=e.tickformatstops[t]).enabled&&(a=e.dtick,i=n.dtickrange,o=void 0,s=void 0,l=void 0,o=c||function(e){return e},s=i[0],l=i[1],(!s&&"number"!=typeof s||o(s)<=o(a))&&(!l&&"number"!=typeof l||o(l)>=o(a)))){r=n;break}break;case"log":for(t=0;t<e.tickformatstops.length;t++)if((n=e.tickformatstops[t]).enabled&&d(e.dtick,n.dtickrange)){r=n;break}}return r?r.value:e.tickformat},C.getSubplots=function(e,t){var r=e._fullLayout._subplots,n=r.cartesian.concat(r.gl2d||[]),a=t?C.findSubplotsWithAxis(n,t):n;return a.sort((function(e,t){var r=e.substr(1).split("y"),n=t.substr(1).split("y");return r[0]===n[0]?+r[1]-+n[1]:+r[0]-+n[0]})),a},C.findSubplotsWithAxis=function(e,t){for(var r=new RegExp("x"===t._id.charAt(0)?"^"+t._id+"y":t._id+"$"),n=[],a=0;a<e.length;a++){var i=e[a];r.test(i)&&n.push(i)}return n},C.makeClipPaths=function(e){var t=e._fullLayout;if(!t._hasOnlyLargeSploms){var r,a,i={_offset:0,_length:t.width,_id:""},o={_offset:0,_length:t.height,_id:""},s=C.list(e,"x",!0),l=C.list(e,"y",!0),c=[];for(r=0;r<s.length;r++)for(c.push({x:s[r],y:o}),a=0;a<l.length;a++)0===r&&c.push({x:i,y:l[a]}),c.push({x:s[r],y:l[a]});var u=t._clips.selectAll(".axesclip").data(c,(function(e){return e.x._id+e.y._id}));u.enter().append("clipPath").classed("axesclip",!0).attr("id",(function(e){return"clip"+t._uid+e.x._id+e.y._id})).append("rect"),u.exit().remove(),u.each((function(e){n.select(this).select("rect").attr({x:e.x._offset||0,y:e.y._offset||0,width:e.x._length||1,height:e.y._length||1})}))}},C.draw=function(e,t,r){var n=e._fullLayout;"redraw"===t&&n._paper.selectAll("g.subplot").each((function(e){var t=e[0],r=n._plots[t],a=r.xaxis,i=r.yaxis;r.xaxislayer.selectAll("."+a._id+"tick").remove(),r.yaxislayer.selectAll("."+i._id+"tick").remove(),r.xaxislayer.selectAll("."+a._id+"tick2").remove(),r.yaxislayer.selectAll("."+i._id+"tick2").remove(),r.xaxislayer.selectAll("."+a._id+"divider").remove(),r.yaxislayer.selectAll("."+i._id+"divider").remove(),r.gridlayer&&r.gridlayer.selectAll("path").remove(),r.zerolinelayer&&r.zerolinelayer.selectAll("path").remove(),n._infolayer.select(".g-"+a._id+"title").remove(),n._infolayer.select(".g-"+i._id+"title").remove()}));var a=t&&"redraw"!==t?t:C.listIds(e);return s.syncOrAsync(a.map((function(t){return function(){if(t){var n=C.getFromId(e,t),a=C.drawOne(e,n,r);return n._r=n.range.slice(),n._rl=s.simpleMap(n._r,n.r2l),a}}})))},C.drawOne=function(e,t,r){var n,a,l;r=r||{},t.setScale();var f=e._fullLayout,h=t._id,p=h.charAt(0),g=C.counterLetter(h),v=f._plots[t._mainSubplot];if(v){var m=v[p+"axislayer"],y=t._mainLinePosition,x=t._mainMirrorPosition,b=t._vals=C.calcTicks(t),w=[t.mirror,y,x].join("_");for(n=0;n<b.length;n++)b[n].axInfo=w;t._selections={},t._tickAngles&&(t._prevTickAngles=t._tickAngles),t._tickAngles={},t._depth=null;var _={};if(t.visible){var k,T,M=C.makeTransFn(t);if("boundaries"===t.tickson){var P=function(e,t){var r,n=[],a=function(e,t){var r=e.xbnd[t];null!==r&&n.push(s.extendFlat({},e,{x:r}))};if(t.length){for(r=0;r<t.length;r++)a(t[r],0);a(t[r-1],1)}return n}(0,b);T=C.clipEnds(t,P),k="inside"===t.ticks?T:P}else T=C.clipEnds(t,b),k="inside"===t.ticks?T:b;var O=t._gridVals=T,I=function(e,t){var r,n,a=[],i=t.length&&t[t.length-1].x<t[0].x,o=function(e,t){var r=e.xbnd[t];null!==r&&a.push(s.extendFlat({},e,{x:r}))};if(e.showdividers&&t.length){for(r=0;r<t.length;r++){var l=t[r];l.text2!==n&&o(l,i?1:0),n=l.text2}o(t[r-1],i?0:1)}return a}(t,b);if(!f._hasOnlyLargeSploms){var z=t._subplotsWith,L={};for(n=0;n<z.length;n++){a=z[n];var E=(l=f._plots[a])[g+"axis"],j=E._mainAxis._id;if(!L[j]){L[j]=1;var D="x"===p?"M0,"+E._offset+"v"+E._length:"M"+E._offset+",0h"+E._length;C.drawGrid(e,t,{vals:O,counterAxis:E,layer:l.gridlayer.select("."+h),path:D,transFn:M}),C.drawZeroLine(e,t,{counterAxis:E,layer:l.zerolinelayer,path:D,transFn:M})}}}var R=C.getTickSigns(t),N=[];if(t.ticks){var F,B,H,V=C.makeTickPath(t,y,R[2]);if(t._anchorAxis&&t.mirror&&!0!==t.mirror?(F=C.makeTickPath(t,x,R[3]),B=V+F):(F="",B=V),t.showdividers&&"outside"===t.ticks&&"boundaries"===t.tickson){var G={};for(n=0;n<I.length;n++)G[I[n].x]=1;H=function(e){return G[e.x]?F:B}}else H=B;C.drawTicks(e,t,{vals:k,layer:m,path:H,transFn:M}),"allticks"===t.mirror&&(N=Object.keys(t._linepositions||{}))}for(n=0;n<N.length;n++){a=N[n],l=f._plots[a];var Z=t._linepositions[a]||[],q=C.makeTickPath(t,Z[0],R[0])+C.makeTickPath(t,Z[1],R[1]);C.drawTicks(e,t,{vals:k,layer:l[p+"axislayer"],path:q,transFn:M})}var U=[];if(U.push((function(){return C.drawLabels(e,t,{vals:b,layer:m,transFn:M,labelFns:C.makeLabelFns(t,y)})})),"multicategory"===t.type){var W={x:2,y:10}[p];U.push((function(){var r={x:"height",y:"width"}[p],n=X()[r]+W+(t._tickAngles[h+"tick"]?t.tickfont.size*S:0);return C.drawLabels(e,t,{vals:$(t,b),layer:m,cls:h+"tick2",repositionOnUpdate:!0,secondary:!0,transFn:M,labelFns:C.makeLabelFns(t,y+n*R[4])})})),U.push((function(){return t._depth=R[4]*(X("tick2")[t.side]-y),function(e,t,r){var n=t._id+"divider",a=r.vals,i=r.layer.selectAll("path."+n).data(a,J);i.exit().remove(),i.enter().insert("path",":first-child").classed(n,1).classed("crisp",1).call(u.stroke,t.dividercolor).style("stroke-width",d.crispRound(e,t.dividerwidth,1)+"px"),i.attr("transform",r.transFn).attr("d",r.path)}(e,t,{vals:I,layer:m,path:C.makeTickPath(t,y,R[4],t._depth),transFn:M})}))}else t.title.hasOwnProperty("standoff")&&U.push((function(){t._depth=R[4]*(X()[t.side]-y)}));var Y=o.getComponentMethod("rangeslider","isVisible")(t);return U.push((function(){var r,n,a,s,l=t.side.charAt(0),c=A[t.side].charAt(0),u=C.getPxPosition(e,t),d="outside"===t.ticks?t.ticklen:0;if((t.automargin||Y)&&("multicategory"===t.type?r=X("tick2"):(r=X(),"x"===p&&"b"===l&&(t._depth=Math.max(r.width>0?r.bottom-u:0,d)))),t.automargin){n={x:0,y:0,r:0,l:0,t:0,b:0};var h=[0,1];if("x"===p){if("b"===l?n[l]=t._depth:(n[l]=t._depth=Math.max(r.width>0?u-r.top:0,d),h.reverse()),r.width>0){var v=r.right-(t._offset+t._length);v>0&&(n.xr=1,n.r=v);var m=t._offset-r.left;m>0&&(n.xl=0,n.l=m)}}else if("l"===l?n[l]=t._depth=Math.max(r.height>0?u-r.left:0,d):(n[l]=t._depth=Math.max(r.height>0?r.right-u:0,d),h.reverse()),r.height>0){var y=r.bottom-(t._offset+t._length);y>0&&(n.yb=0,n.b=y);var x=t._offset-r.top;x>0&&(n.yt=1,n.t=x)}n[g]="free"===t.anchor?t.position:t._anchorAxis.domain[h[0]],t.title.text!==f._dfltTitle[p]&&(n[l]+=K(t)+(t.title.standoff||0)),t.mirror&&"free"!==t.anchor&&((a={x:0,y:0,r:0,l:0,t:0,b:0})[c]=t.linewidth,t.mirror&&!0!==t.mirror&&(a[c]+=d),!0===t.mirror||"ticks"===t.mirror?a[g]=t._anchorAxis.domain[h[1]]:"all"!==t.mirror&&"allticks"!==t.mirror||(a[g]=[t._counterDomainMin,t._counterDomainMax][h[1]]))}Y&&(s=o.getComponentMethod("rangeslider","autoMarginOpts")(e,t)),i.autoMargin(e,te(t),n),i.autoMargin(e,re(t),a),i.autoMargin(e,ne(t),s)})),r.skipTitle||Y&&"bottom"===t.side||U.push((function(){return function(e,t){var r,n=e._fullLayout,a=t._id,i=a.charAt(0),o=t.title.font.size;if(t.title.hasOwnProperty("standoff"))r=t._depth+t.title.standoff+K(t);else{if("multicategory"===t.type)r=t._depth;else{r=10+1.5*o+(t.linewidth?t.linewidth-1:0)}r+="x"===i?"top"===t.side?o*(t.showticklabels?1:0):o*(t.showticklabels?1.5:.5):"right"===t.side?o*(t.showticklabels?1:.5):o*(t.showticklabels?.5:0)}var s,l,u,f,h=C.getPxPosition(e,t);"x"===i?(l=t._offset+t._length/2,u="top"===t.side?h-r:h+r):(u=t._offset+t._length/2,l="right"===t.side?h+r:h-r,s={rotate:"-90",offset:0});if("multicategory"!==t.type){var p=t._selections[t._id+"tick"];if(f={selection:p,side:t.side},p&&p.node()&&p.node().parentNode){var g=d.getTranslate(p.node().parentNode);f.offsetLeft=g.x,f.offsetTop=g.y}t.title.hasOwnProperty("standoff")&&(f.pad=0)}return c.draw(e,a+"title",{propContainer:t,propName:t._name+".title.text",placeholder:n._dfltTitle[i],avoid:f,transform:s,attributes:{x:l,y:u,"text-anchor":"middle"}})}(e,t)})),s.syncOrAsync(U)}}function X(e){var r=h+(e||"tick");return _[r]||(_[r]=function(e,t){var r,n,a,i;e._selections[t].size()?(r=1/0,n=-1/0,a=1/0,i=-1/0,e._selections[t].each((function(){var e=ee(this),t=d.bBox(e.node().parentNode);r=Math.min(r,t.top),n=Math.max(n,t.bottom),a=Math.min(a,t.left),i=Math.max(i,t.right)}))):(r=0,n=0,a=0,i=0);return{top:r,bottom:n,left:a,right:i,height:n-r,width:i-a}}(t,r)),_[r]}},C.getTickSigns=function(e){var t=e._id.charAt(0),r={x:"top",y:"right"}[t],n=e.side===r?1:-1,a=[-1,1,n,-n];return"inside"!==e.ticks==("x"===t)&&(a=a.map((function(e){return-e}))),e.side&&a.push({l:-1,t:-1,r:1,b:1}[e.side.charAt(0)]),a},C.makeTransFn=function(e){var t=e._id.charAt(0),r=e._offset;return"x"===t?function(t){return"translate("+(r+e.l2p(t.x))+",0)"}:function(t){return"translate(0,"+(r+e.l2p(t.x))+")"}},C.makeTickPath=function(e,t,r,n){n=void 0!==n?n:e.ticklen;var a=e._id.charAt(0),i=(e.linewidth||1)/2;return"x"===a?"M0,"+(t+i*r)+"v"+n*r:"M"+(t+i*r)+",0h"+n*r},C.makeLabelFns=function(e,t,r){var n=e._id.charAt(0),i="boundaries"!==e.tickson&&"outside"===e.ticks,o=0,l=0;if(i&&(o+=e.ticklen),r&&"outside"===e.ticks){var c=s.deg2rad(r);o=e.ticklen*Math.cos(c)+1,l=e.ticklen*Math.sin(c)}e.showticklabels&&(i||e.showline)&&(o+=.2*e.tickfont.size);var u,d,f,h,p={labelStandoff:o+=(e.linewidth||1)/2,labelShift:l};return"x"===n?(h="bottom"===e.side?1:-1,u=l*h,d=t+o*h,f="bottom"===e.side?1:-.2,p.xFn=function(e){return e.dx+u},p.yFn=function(e){return e.dy+d+e.fontSize*f},p.anchorFn=function(e,t){return a(t)&&0!==t&&180!==t?t*h<0?"end":"start":"middle"},p.heightFn=function(t,r,n){return r<-60||r>60?-.5*n:"top"===e.side?-n:0}):"y"===n&&(h="right"===e.side?1:-1,u=o,d=-l*h,f=90===Math.abs(e.tickangle)?.5:0,p.xFn=function(e){return e.dx+t+(u+e.fontSize*f)*h},p.yFn=function(e){return e.dy+d+e.fontSize*T},p.anchorFn=function(t,r){return a(r)&&90===Math.abs(r)?"middle":"right"===e.side?"start":"end"},p.heightFn=function(t,r,n){return(r*="left"===e.side?1:-1)<-30?-n:r<30?-.5*n:0}),p},C.drawTicks=function(e,t,r){r=r||{};var n=t._id+"tick",a=r.layer.selectAll("path."+n).data(t.ticks?r.vals:[],J);a.exit().remove(),a.enter().append("path").classed(n,1).classed("ticks",1).classed("crisp",!1!==r.crisp).call(u.stroke,t.tickcolor).style("stroke-width",d.crispRound(e,t.tickwidth,1)+"px").attr("d",r.path),a.attr("transform",r.transFn)},C.drawGrid=function(e,t,r){r=r||{};var n=t._id+"grid",a=r.vals,i=r.counterAxis;if(!1===t.showgrid)a=[];else if(i&&C.shouldShowZeroLine(e,t,i))for(var o="array"===t.tickmode,s=0;s<a.length;s++){var l=a[s].x;if(o?!l:Math.abs(l)<t.dtick/100){if(a=a.slice(0,s).concat(a.slice(s+1)),!o)break;s--}}var c=r.layer.selectAll("path."+n).data(a,J);c.exit().remove(),c.enter().append("path").classed(n,1).classed("crisp",!1!==r.crisp),t._gw=d.crispRound(e,t.gridwidth,1),c.attr("transform",r.transFn).attr("d",r.path).call(u.stroke,t.gridcolor||"#ddd").style("stroke-width",t._gw+"px"),"function"==typeof r.path&&c.attr("d",r.path)},C.drawZeroLine=function(e,t,r){r=r||r;var n=t._id+"zl",a=C.shouldShowZeroLine(e,t,r.counterAxis),i=r.layer.selectAll("path."+n).data(a?[{x:0,id:t._id}]:[]);i.exit().remove(),i.enter().append("path").classed(n,1).classed("zl",1).classed("crisp",!1!==r.crisp).each((function(){r.layer.selectAll("path").sort((function(e,t){return O.idSort(e.id,t.id)}))})),i.attr("transform",r.transFn).attr("d",r.path).call(u.stroke,t.zerolinecolor||u.defaultLine).style("stroke-width",d.crispRound(e,t.zerolinewidth,t._gw||1)+"px")},C.drawLabels=function(e,t,r){r=r||{};var i=e._fullLayout,o=t._id,c=o.charAt(0),u=r.cls||o+"tick",f=r.vals,h=r.labelFns,p=r.secondary?0:t.tickangle,g=(t._prevTickAngles||{})[u],v=r.layer.selectAll("g."+u).data(t.showticklabels?f:[],J),m=[];function y(e,t){e.each((function(e){var i=n.select(this),o=i.select(".text-math-group"),s=h.anchorFn(e,t),c=r.transFn.call(i.node(),e)+(a(t)&&0!=+t?" rotate("+t+","+h.xFn(e)+","+(h.yFn(e)-e.fontSize/2)+")":""),u=l.lineCount(i),f=S*e.fontSize,p=h.heightFn(e,a(t)?+t:0,(u-1)*f);if(p&&(c+=" translate(0, "+p+")"),o.empty())i.select("text").attr({transform:c,"text-anchor":s});else{var g=d.bBox(o.node()).width*{end:-.5,start:.5}[s];o.attr("transform",c+(g?"translate("+g+",0)":""))}}))}v.enter().append("g").classed(u,1).append("text").attr("text-anchor","middle").each((function(t){var r=n.select(this),a=e._promises.length;r.call(l.positionText,h.xFn(t),h.yFn(t)).call(d.font,t.font,t.fontSize,t.fontColor).text(t.text).call(l.convertToTspans,e),e._promises[a]?m.push(e._promises.pop().then((function(){y(r,p)}))):y(r,p)})),v.exit().remove(),r.repositionOnUpdate&&v.each((function(e){n.select(this).select("text").call(l.positionText,h.xFn(e),h.yFn(e))})),y(v,g+1?g:p);var x=null;t._selections&&(t._selections[u]=v);var b=[function(){return m.length&&Promise.all(m)}];t.automargin&&i._redrawFromAutoMarginCount&&90===g?(x=90,b.push((function(){y(v,g)}))):b.push((function(){if(y(v,p),f.length&&"x"===c&&!a(p)&&("log"!==t.type||"D"!==String(t.dtick).charAt(0))){x=0;var e,n=0,i=[];if(v.each((function(e){n=Math.max(n,e.fontSize);var r=t.l2p(e.x),a=ee(this),o=d.bBox(a.node());i.push({top:0,bottom:10,height:10,left:r-o.width/2,right:r+o.width/2+2,width:o.width+2})})),"boundaries"!==t.tickson&&!t.showdividers||r.secondary){var o=f.length,l=Math.abs((f[o-1].x-f[0].x)*t._m)/(o-1)<2.5*n||"multicategory"===t.type;for(e=0;e<i.length-1;e++)if(s.bBoxIntersect(i[e],i[e+1])){x=l?90:30;break}}else{var u=2;for(t.ticks&&(u+=t.tickwidth/2),e=0;e<i.length;e++){var h=f[e].xbnd,g=i[e];if(null!==h[0]&&g.left-t.l2p(h[0])<u||null!==h[1]&&t.l2p(h[1])-g.right<u){x=90;break}}}x&&y(v,x)}})),t._tickAngles&&b.push((function(){t._tickAngles[u]=null===x?a(p)?p:0:x}));var w=s.syncOrAsync(b);return w&&w.then&&e._promises.push(w),w},C.getPxPosition=function(e,t){var r,n=e._fullLayout._size,a=t._id.charAt(0),i=t.side;return"free"!==t.anchor?r=t._anchorAxis:"x"===a?r={_offset:n.t+(1-(t.position||0))*n.h,_length:0}:"y"===a&&(r={_offset:n.l+(t.position||0)*n.w,_length:0}),"top"===i||"left"===i?r._offset:"bottom"===i||"right"===i?r._offset+r._length:void 0},C.shouldShowZeroLine=function(e,t,r){var n=s.simpleMap(t.range,t.r2l);return n[0]*n[1]<=0&&t.zeroline&&("linear"===t.type||"-"===t.type)&&!(t.rangebreaks&&t.maskBreaks(0)===_)&&(Q(t,0)||!function(e,t,r,n){var a=r._mainAxis;if(!a)return;var i=e._fullLayout,o=t._id.charAt(0),s=C.counterLetter(t._id),l=t._offset+(Math.abs(n[0])<Math.abs(n[1])==("x"===o)?0:t._length);function c(e){if(!e.showline||!e.linewidth)return!1;var r=Math.max((e.linewidth+t.zerolinewidth)/2,1);function n(e){return"number"==typeof e&&Math.abs(e-l)<r}if(n(e._mainLinePosition)||n(e._mainMirrorPosition))return!0;var a=e._linepositions||{};for(var i in a)if(n(a[i][0])||n(a[i][1]))return!0}var u=i._plots[r._mainSubplot];if(!(u.mainplotinfo||u).overlays.length)return c(r);for(var d=C.list(e,s),f=0;f<d.length;f++){var h=d[f];if(h._mainAxis===a&&c(h))return!0}}(e,t,r,n)||function(e,t){for(var r=e._fullData,n=t._mainSubplot,a=t._id.charAt(0),i=0;i<r.length;i++){var s=r[i];if(!0===s.visible&&s.xaxis+s.yaxis===n){if(o.traceIs(s,"bar-like")&&s.orientation==={x:"h",y:"v"}[a])return!0;if(s.fill&&s.fill.charAt(s.fill.length-1)===a)return!0}}return!1}(e,t))},C.clipEnds=function(e,t){return t.filter((function(t){return Q(e,t.x)}))},C.allowAutoMargin=function(e){for(var t=C.list(e,"",!0),r=0;r<t.length;r++){var n=t[r];n.automargin&&(i.allowAutoMargin(e,te(n)),n.mirror&&i.allowAutoMargin(e,re(n))),o.getComponentMethod("rangeslider","isVisible")(n)&&i.allowAutoMargin(e,ne(n))}},C.swap=function(e,t){for(var r=function(e,t){var r,n,a=[];for(r=0;r<t.length;r++){var i=[],o=e._fullData[t[r]].xaxis,s=e._fullData[t[r]].yaxis;if(o&&s){for(n=0;n<a.length;n++)-1===a[n].x.indexOf(o)&&-1===a[n].y.indexOf(s)||i.push(n);if(i.length){var l,c=a[i[0]];if(i.length>1)for(n=1;n<i.length;n++)l=a[i[n]],ae(c.x,l.x),ae(c.y,l.y);ae(c.x,[o]),ae(c.y,[s])}else a.push({x:[o],y:[s]})}}return a}(e,t),n=0;n<r.length;n++)ie(e,r[n].x,r[n].y)}},BvIZ:function(e,t,r){(t=r("JPst")(!1)).push([e.i,".spinner[data-v-11dc5b7e]{position:relative;display:inline-block;box-sizing:border-box}.spinner *[data-v-11dc5b7e]{line-height:0;box-sizing:border-box}.spinner .blob[data-v-11dc5b7e]{box-sizing:border-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);border:2px solid #41b883;width:10px;height:10px;border-radius:50%}.spinner .blob.top[data-v-11dc5b7e]{top:0;transform:translate(-50%, 0);animation:blob-top-data-v-11dc5b7e 1s infinite ease-in}.spinner .blob.bottom[data-v-11dc5b7e]{top:100%;transform:translate(-50%, -100%);animation:blob-bottom-data-v-11dc5b7e 1s infinite ease-in}.spinner .blob.left[data-v-11dc5b7e]{left:0;transform:translate(0, -50%);animation:blob-left-data-v-11dc5b7e 1s infinite ease-in}.spinner .move-blob[data-v-11dc5b7e]{top:0;transform:translate(-50%, 0);animation:blob-spinner-mover-data-v-11dc5b7e 1s infinite ease-in}@keyframes blob-bottom-data-v-11dc5b7e{25%,50%,75%{top:50%;left:100%;transform:translate(-100%, -50%)}100%{top:0;left:50%;transform:translate(-50%, 0)}}@keyframes blob-left-data-v-11dc5b7e{25%{top:50%;left:0;transform:translate(0, -50%)}50%,100%{top:100%;left:50%;transform:translate(-50%, -100%)}}@keyframes blob-top-data-v-11dc5b7e{50%{top:0;left:50%;transform:translate(-50%, 0)}75%,100%{top:50%;left:0;transform:translate(0, -50%)}}@keyframes blob-spinner-mover-data-v-11dc5b7e{0%,100%{top:0;left:50%;transform:translate(-50%, 0)}25%{top:50%;left:100%;transform:translate(-100%, -50%)}50%{top:100%;left:50%;transform:translate(-50%, -100%)}75%{top:50%;left:0;transform:translate(0, -50%)}}\n",""]),e.exports=t},C3fs:function(e,t,r){"use strict";var n=r("GbLo"),a=r("/CZE"),i=r("6AZA").BADNUM;e.exports=function(e,t,r){return!(r=r||{}).noMultiCategory&&(o=e,a.isArrayOrTypedArray(o[0])&&a.isArrayOrTypedArray(o[1]))?"multicategory":function(e,t){for(var r=Math.max(1,(e.length-1)/1e3),i=0,o=0,s={},l=0;l<e.length;l+=r){var c=e[Math.round(l)],u=String(c);s[u]||(s[u]=1,a.isDateTime(c,t)&&(i+=1),n(c)&&(o+=1))}return i>2*o}(e,t)?"date":function(e){for(var t=Math.max(1,(e.length-1)/1e3),r=0,n=0,o={},s=0;s<e.length;s+=t){var l=e[Math.round(s)],c=String(l);o[c]||(o[c]=1,"boolean"==typeof l?n++:a.cleanNumber(l)!==i?r++:"string"==typeof l&&n++)}return n>2*r}(e)?"category":function(e){if(!e)return!1;for(var t=0;t<e.length;t++)if(n(e[t]))return!0;return!1}(e)?"linear":"-";var o}},CASU:function(e,t,r){"use strict";t.projNames={equirectangular:"equirectangular",mercator:"mercator",orthographic:"orthographic","natural earth":"naturalEarth",kavrayskiy7:"kavrayskiy7",miller:"miller",robinson:"robinson",eckert4:"eckert4","azimuthal equal area":"azimuthalEqualArea","azimuthal equidistant":"azimuthalEquidistant","conic equal area":"conicEqualArea","conic conformal":"conicConformal","conic equidistant":"conicEquidistant",gnomonic:"gnomonic",stereographic:"stereographic",mollweide:"mollweide",hammer:"hammer","transverse mercator":"transverseMercator","albers usa":"albersUsa","winkel tripel":"winkel3",aitoff:"aitoff",sinusoidal:"sinusoidal"},t.axesNames=["lonaxis","lataxis"],t.lonaxisSpan={orthographic:180,"azimuthal equal area":360,"azimuthal equidistant":360,"conic conformal":180,gnomonic:160,stereographic:180,"transverse mercator":180,"*":360},t.lataxisSpan={"conic conformal":150,stereographic:179.5,"*":180},t.scopeDefaults={world:{lonaxisRange:[-180,180],lataxisRange:[-90,90],projType:"equirectangular",projRotate:[0,0,0]},usa:{lonaxisRange:[-180,-50],lataxisRange:[15,80],projType:"albers usa"},europe:{lonaxisRange:[-30,60],lataxisRange:[30,85],projType:"conic conformal",projRotate:[15,0,0],projParallels:[0,60]},asia:{lonaxisRange:[22,160],lataxisRange:[-15,55],projType:"mercator",projRotate:[0,0,0]},africa:{lonaxisRange:[-30,60],lataxisRange:[-40,40],projType:"mercator",projRotate:[0,0,0]},"north america":{lonaxisRange:[-180,-45],lataxisRange:[5,85],projType:"conic conformal",projRotate:[-100,0,0],projParallels:[29.5,45.5]},"south america":{lonaxisRange:[-100,-30],lataxisRange:[-60,15],projType:"mercator",projRotate:[0,0,0]}},t.clipPad=.001,t.precision=.1,t.landColor="#F0DC82",t.waterColor="#3399FF",t.locationmodeToLayer={"ISO-3":"countries","USA-states":"subunits","country names":"countries"},t.sphereSVG={type:"Sphere"},t.fillLayers={ocean:1,land:1,lakes:1},t.lineLayers={subunits:1,countries:1,coastlines:1,rivers:1,frame:1},t.layers=["bg","ocean","land","lakes","subunits","countries","coastlines","rivers","lataxis","lonaxis","frame","backplot","frontplot"],t.layersForChoropleth=["bg","ocean","land","subunits","countries","coastlines","lataxis","lonaxis","frame","backplot","rivers","lakes","frontplot"],t.layerNameToAdjective={ocean:"ocean",land:"land",lakes:"lake",subunits:"subunit",countries:"country",coastlines:"coastline",rivers:"river",frame:"frame"}},CAnp:function(e,t,r){var n=r("FdIc");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("7e966773",n,!0,{})},CQYH:function(e,t,r){(t=r("JPst")(!1)).push([e.i,".spinner[data-v-743fd83c]{transform:translate3d(0, 0, 0);position:relative;background:rgba(25,165,152,0.5);border-radius:50%;overflow:hidden}.spinner[data-v-743fd83c]:before,.spinner[data-v-743fd83c]:after{content:'';position:absolute;top:0;display:inline-block;width:100%;height:100%;border-radius:50%}.spinner[data-v-743fd83c]:before{animation:circle-5-spinner-data-v-743fd83c 3s infinite;transform-origin:0 50%;left:0;background:#c7efcf}.spinner[data-v-743fd83c]:after{animation:circle-5-spinner-data-v-743fd83c 3s 0.2s reverse infinite;transform-origin:100% 50%;right:0;background:#eef5db}@keyframes circle-5-spinner-data-v-743fd83c{0%{transform:rotate(0deg)}50%{transform:rotate(360deg)}100%{transform:rotate(0deg)}}\n",""]),e.exports=t},CRlY:function(e,t,r){"use strict";var n=r("bljh"),a=r("zsdP"),i=r("O3R+"),o=r("jd7o"),s=r("QJ+7"),l=r("MGx7"),c=r("rhNM"),u=r("E4V0"),d=r("dNZO"),f=r("tos6"),h=Object.keys(a),p={"ISO-3":l,"USA-states":l,"country names":function(e){for(var t=0;t<h.length;t++){var r=h[t];if(new RegExp(a[r]).test(e.trim().toLowerCase()))return r}return c.log("Unrecognized country name: "+e+"."),!1}};function g(e){var t=e.geojson,r=window.PlotlyGeoAssets||{},n="string"==typeof t?r[t]:t;return u(n)?n:(c.error("Oops ... something went wrong when fetching "+t),!1)}e.exports={locationToFeature:function(e,t,r){if(!t||"string"!=typeof t)return!1;var n,a,i,o=p[e](t);if(o){if("USA-states"===e)for(n=[],i=0;i<r.length;i++)(a=r[i]).properties&&a.properties.gu&&"USA"===a.properties.gu&&n.push(a);else n=r;for(i=0;i<n.length;i++)if((a=n[i]).id===o)return a;c.log(["Location with id",o,"does not have a matching topojson feature at this resolution."].join(" "))}return!1},feature2polygons:function(e){var t,r,n,a,i=e.geometry,o=i.coordinates,s=e.id,l=[];function c(e){for(var t=0;t<e.length-1;t++)if(e[t][0]>0&&e[t+1][0]<0)return t;return null}switch(t="RUS"===s||"FJI"===s?function(e){var t;if(null===c(e))t=e;else for(t=new Array(e.length),a=0;a<e.length;a++)t[a]=[e[a][0]<0?e[a][0]+360:e[a][0],e[a][1]];l.push(f.tester(t))}:"ATA"===s?function(e){var t=c(e);if(null===t)return l.push(f.tester(e));var r=new Array(e.length+1),n=0;for(a=0;a<e.length;a++)a>t?r[n++]=[e[a][0]+360,e[a][1]]:a===t?(r[n++]=e[a],r[n++]=[e[a][0],-90]):r[n++]=e[a];var i=f.tester(r);i.pts.pop(),l.push(i)}:function(e){l.push(f.tester(e))},i.type){case"MultiPolygon":for(r=0;r<o.length;r++)for(n=0;n<o[r].length;n++)t(o[r][n]);break;case"Polygon":for(r=0;r<o.length;r++)t(o[r])}return l},getTraceGeojson:g,extractTraceFeature:function(e){var t=e[0].trace,r=g(t);if(!r)return!1;var n,a={},s=[];for(n=0;n<t._length;n++){var l=e[n];(l.loc||0===l.loc)&&(a[l.loc]=l)}function u(e){var r=d(e,t.featureidkey||"id").get(),n=a[r];if(n){var l=e.geometry;if("Polygon"===l.type||"MultiPolygon"===l.type){var u={type:"Feature",id:r,geometry:l,properties:{}};u.properties.ct=function(e){var t,r=e.geometry;if("MultiPolygon"===r.type)for(var n=r.coordinates,a=0,s=0;s<n.length;s++){var l={type:"Polygon",coordinates:n[s]},c=i.default(l);c>a&&(a=c,t=l)}else t=r;return o.default(t).geometry.coordinates}(u),n.fIn=e,n.fOut=u,s.push(u)}else c.log(["Location",n.loc,"does not have a valid GeoJSON geometry.","Traces with locationmode *geojson-id* only support","*Polygon* and *MultiPolygon* geometries."].join(" "))}delete a[r]}switch(r.type){case"FeatureCollection":var f=r.features;for(n=0;n<f.length;n++)u(f[n]);break;case"Feature":u(r);break;default:return c.warn(["Invalid GeoJSON type",(r.type||"none")+".","Traces with locationmode *geojson-id* only support","*FeatureCollection* and *Feature* types."].join(" ")),!1}for(var h in a)c.log(["Location *"+h+"*","does not have a matching feature with id-key","*"+t.featureidkey+"*."].join(" "));return s},fetchTraceGeoData:function(e){var t=window.PlotlyGeoAssets||{},r=[];function a(e){return new Promise((function(r,a){n.json(e,(function(n,i){if(n){delete t[e];var o=404===n.status?'GeoJSON at URL "'+e+'" does not exist.':"Unexpected error while fetching from "+e;return a(new Error(o))}return t[e]=i,r(i)}))}))}function i(e){return new Promise((function(r,n){var a=0,i=setInterval((function(){return t[e]&&"pending"!==t[e]?(clearInterval(i),r(t[e])):a>100?(clearInterval(i),n("Unexpected error while fetching from "+e)):void a++}),50)}))}for(var o=0;o<e.length;o++){var s=e[o][0].trace.geojson;"string"==typeof s&&(t[s]?"pending"===t[s]&&r.push(i(s)):(t[s]="pending",r.push(a(s))))}return r},computeBbox:function(e){return s.default(e)}}},CYNG:function(e,t,r){var n=r("hXjG");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("3b6b9122",n,!0,{})},Cb1W:function(e,t,r){"use strict";var n=r("IVx0").hasColorscale,a=r("OqjQ"),i=r("3oHU");e.exports=function(e,t){i.hasLines(t)&&n(t,"line")&&a(e,t,{vals:t.line.color,containerStr:"line",cLetter:"c"}),i.hasMarkers(t)&&(n(t,"marker")&&a(e,t,{vals:t.marker.color,containerStr:"marker",cLetter:"c"}),n(t,"marker.line")&&a(e,t,{vals:t.marker.line.color,containerStr:"marker.line",cLetter:"c"}))}},Cluh:function(e,t,r){"use strict";var n=r("0RW4");e.exports=function(e,t,r){if(r("newshape.drawdirection"),r("newshape.layer"),r("newshape.fillcolor"),r("newshape.fillrule"),r("newshape.opacity"),r("newshape.line.width")){var a=(e||{}).plot_bgcolor||"#FFF";r("newshape.line.color",n.contrast(a)),r("newshape.line.dash")}r("activeshape.fillcolor"),r("activeshape.opacity")}},D8OW:function(e,t,r){"use strict";var n=r("URXw");r.n(n).a},DDk4:function(e,t,r){"use strict";var n=r("GbLo"),a=r("/CZE"),i=r("Nx4I"),o=r("BkK/"),s=r("QkuE"),l=r("bcxm"),c=r("wAWO"),u=r("lUdJ"),d=r("WRPy");function f(e,t,r,s,l){var c,u,d,h,p,g,v,m=s+"bins",y=e._fullLayout,x=t["_"+s+"bingroup"],b=y._histogramBinOpts[x],w="overlay"===y.barmode,_=function(e){return r.r2c(e,0,h)},k=function(e){return r.c2r(e,0,h)},T="date"===r.type?function(e){return e||0===e?a.cleanDate(e,null,h):null}:function(e){return n(e)?Number(e):null};function M(e,t,r){t[e+"Found"]?(t[e]=T(t[e]),null===t[e]&&(t[e]=r[e])):(g[e]=t[e]=r[e],a.nestedProperty(u[0],m+"."+e).set(r[e]))}if(t["_"+s+"autoBinFinished"])delete t["_"+s+"autoBinFinished"];else{u=b.traces;var S=[],A=!0,C=!1,P=!1;for(c=0;c<u.length;c++)if((d=u[c]).visible){var O=b.dirs[c];p=d["_"+O+"pos0"]=r.makeCalcdata(d,O),S=a.concat(S,p),delete d["_"+s+"autoBinFinished"],!0===t.visible&&(A?A=!1:(delete d._autoBin,d["_"+s+"autoBinFinished"]=1),i.traceIs(d,"2dMap")&&(C=!0),"histogram2dcontour"===d.type&&(P=!0))}h=u[0][s+"calendar"];var I=o.autoBin(S,r,b.nbins,C,h,b.sizeFound&&b.size),z=u[0]._autoBin={};if(g=z[b.dirs[0]]={},P&&(b.size||(I.start=k(o.tickIncrement(_(I.start),I.size,!0,h))),void 0===b.end&&(I.end=k(o.tickIncrement(_(I.end),I.size,!1,h)))),w&&!i.traceIs(t,"2dMap")&&0===I._dataSpan&&"category"!==r.type&&"multicategory"!==r.type){if(l)return[I,p,!0];I=function(e,t,r,n,i){var o,s,l,c=e._fullLayout,u=function(e,t){for(var r=t.xaxis,n=t.yaxis,a=t.orientation,i=[],o=e._fullData,s=0;s<o.length;s++){var l=o[s];"histogram"===l.type&&!0===l.visible&&l.orientation===a&&l.xaxis===r&&l.yaxis===n&&i.push(l)}return i}(e,t),d=!1,h=1/0,p=[t];for(o=0;o<u.length;o++)if((s=u[o])===t)d=!0;else if(d){var g=f(e,s,r,n,!0),v=g[0],m=g[2];s["_"+n+"autoBinFinished"]=1,s["_"+n+"pos0"]=g[1],m?p.push(s):h=Math.min(h,v.size)}else l=c._histogramBinOpts[s["_"+n+"bingroup"]],h=Math.min(h,l.size||s[i].size);var y=new Array(p.length);for(o=0;o<p.length;o++)for(var x=p[o]["_"+n+"pos0"],b=0;b<x.length;b++)if(void 0!==x[b]){y[o]=x[b];break}isFinite(h)||(h=a.distinctVals(y).minDiff);for(o=0;o<p.length;o++){var w=(s=p[o])[n+"calendar"],_={start:r.c2r(y[o]-h/2,0,w),end:r.c2r(y[o]+h/2,0,w),size:h};s._input[i]=s[i]=_,(l=c._histogramBinOpts[s["_"+n+"bingroup"]])&&a.extendFlat(l,_)}return t[i]}(e,t,r,s,m)}(v=d.cumulative||{}).enabled&&"include"!==v.currentbin&&("decreasing"===v.direction?I.start=k(o.tickIncrement(_(I.start),I.size,!0,h)):I.end=k(o.tickIncrement(_(I.end),I.size,!1,h))),b.size=I.size,b.sizeFound||(g.size=I.size,a.nestedProperty(u[0],m+".size").set(I.size)),M("start",b,I),M("end",b,I)}p=t["_"+s+"pos0"],delete t["_"+s+"pos0"];var L=t._input[m]||{},E=a.extendFlat({},b),j=b.start,D=r.r2l(L.start),R=void 0!==D;if((b.startFound||R)&&D!==r.r2l(j)){var N=R?D:a.aggNums(Math.min,null,p),F={type:"category"===r.type||"multicategory"===r.type?"linear":r.type,r2l:r.r2l,dtick:b.size,tick0:j,calendar:h,range:[N,o.tickIncrement(N,b.size,!1,h)].map(r.l2r)},B=o.tickFirst(F);B>r.r2l(N)&&(B=o.tickIncrement(B,b.size,!0,h)),E.start=r.l2r(B),R||a.nestedProperty(t,m+".start").set(E.start)}var H=b.end,V=r.r2l(L.end),G=void 0!==V;if((b.endFound||G)&&V!==r.r2l(H)){var Z=G?V:a.aggNums(Math.max,null,p);E.end=r.l2r(Z),G||a.nestedProperty(t,m+".start").set(E.end)}var q="autobin"+s;return!1===t._input[q]&&(t._input[m]=a.extendFlat({},t[m]||{}),delete t._input[q],delete t[q]),[E,p]}e.exports={calc:function(e,t){var r,i,h,p,g=[],v=[],m=o.getFromId(e,"h"===t.orientation?t.yaxis:t.xaxis),y="h"===t.orientation?"y":"x",x={x:"y",y:"x"}[y],b=t[y+"calendar"],w=t.cumulative,_=f(e,t,m,y),k=_[0],T=_[1],M="string"==typeof k.size,S=[],A=M?S:k,C=[],P=[],O=[],I=0,z=t.histnorm,L=t.histfunc,E=-1!==z.indexOf("density");w.enabled&&E&&(z=z.replace(/ ?density$/,""),E=!1);var j,D="max"===L||"min"===L?null:0,R=l.count,N=c[z],F=!1,B=function(e){return m.r2c(e,0,b)};for(a.isArrayOrTypedArray(t[x])&&"count"!==L&&(j=t[x],F="avg"===L,R=l[L]),r=B(k.start),h=B(k.end)+(r-o.tickIncrement(r,k.size,!1,b))/1e6;r<h&&g.length<1e6&&(i=o.tickIncrement(r,k.size,!1,b),g.push((r+i)/2),v.push(D),O.push([]),S.push(r),E&&C.push(1/(i-r)),F&&P.push(0),!(i<=r));)r=i;S.push(r),M||"date"!==m.type||(A={start:B(A.start),end:B(A.end),size:A.size}),e._fullLayout._roundFnOpts||(e._fullLayout._roundFnOpts={});var H=t["_"+y+"bingroup"],V={leftGap:1/0,rightGap:1/0};H&&(e._fullLayout._roundFnOpts[H]||(e._fullLayout._roundFnOpts[H]=V),V=e._fullLayout._roundFnOpts[H]);var G,Z=v.length,q=!0,U=V.leftGap,W=V.rightGap,Y={};for(r=0;r<T.length;r++){var X=T[r];(p=a.findBin(X,A))>=0&&p<Z&&(I+=R(p,r,v,j,P),q&&O[p].length&&X!==T[O[p][0]]&&(q=!1),O[p].push(r),Y[r]=p,U=Math.min(U,X-S[p]),W=Math.min(W,S[p+1]-X))}V.leftGap=U,V.rightGap=W,q||(G=function(t,r){return function(){var n=e._fullLayout._roundFnOpts[H];return d(n.leftGap,n.rightGap,S,m,b)(t,r)}}),F&&(I=u(v,P)),N&&N(v,I,C),w.enabled&&function(e,t,r){var n,a,i;function o(t){i=e[t],e[t]/=2}function s(t){a=e[t],e[t]=i+a/2,i+=a}if("half"===r)if("increasing"===t)for(o(0),n=1;n<e.length;n++)s(n);else for(o(e.length-1),n=e.length-2;n>=0;n--)s(n);else if("increasing"===t){for(n=1;n<e.length;n++)e[n]+=e[n-1];"exclude"===r&&(e.unshift(0),e.pop())}else{for(n=e.length-2;n>=0;n--)e[n]+=e[n+1];"exclude"===r&&(e.push(0),e.shift())}}(v,w.direction,w.currentbin);var $=Math.min(g.length,v.length),J=[],K=0,Q=$-1;for(r=0;r<$;r++)if(v[r]){K=r;break}for(r=$-1;r>=K;r--)if(v[r]){Q=r;break}for(r=K;r<=Q;r++)if(n(g[r])&&n(v[r])){var ee={p:g[r],s:v[r],b:0};w.enabled||(ee.pts=O[r],q?ee.ph0=ee.ph1=O[r].length?T[O[r][0]]:g[r]:(t._computePh=!0,ee.ph0=G(S[r]),ee.ph1=G(S[r+1],!0))),J.push(ee)}return 1===J.length&&(J[0].width1=o.tickIncrement(J[0].p,k.size,!1,b)-J[0].p),s(J,t),a.isArrayOrTypedArray(t.selectedpoints)&&a.tagSelected(J,t,Y),J},calcAllAutoBins:f}},DDrG:function(e,t,r){"use strict";var n=r("/CZE").maxRowLength;e.exports=function(e){var t,r,a,i,o,s,l,c,u=[],d={},f=[],h=e[0],p=[],g=[0,0,0],v=n(e);for(r=0;r<e.length;r++)for(t=p,p=h,h=e[r+1]||[],a=0;a<v;a++)void 0===p[a]&&((s=(void 0!==p[a-1]?1:0)+(void 0!==p[a+1]?1:0)+(void 0!==t[a]?1:0)+(void 0!==h[a]?1:0))?(0===r&&s++,0===a&&s++,r===e.length-1&&s++,a===p.length-1&&s++,s<4&&(d[[r,a]]=[r,a,s]),u.push([r,a,s])):f.push([r,a]));for(;f.length;){for(l={},c=!1,o=f.length-1;o>=0;o--)(s=((d[[(r=(i=f[o])[0])-1,a=i[1]]]||g)[2]+(d[[r+1,a]]||g)[2]+(d[[r,a-1]]||g)[2]+(d[[r,a+1]]||g)[2])/20)&&(l[i]=[r,a,s],f.splice(o,1),c=!0);if(!c)throw"findEmpties iterated with no new neighbors";for(i in l)d[i]=l[i],u.push(l[i])}return u.sort((function(e,t){return t[2]-e[2]}))}},"DNW/":function(e,t,r){"use strict";(function(e){var n=r("L2JU"),a=r("al3m"),i=r("ZeYI"),o=r("+8Ue"),s=r("+Yeh"),l=r("8rxV"),c=r("8CzL"),u=r("Ov3g"),d=r.n(u),f=r("1Yv4"),h=r("LsCN");t.a={name:"cub-plotly",mixins:[a.a,i.a],props:["conf","dashId","reportFilterStr"],data:()=>({item:{},menuitems:[{title:"Graph Settings"},{title:"Export"},{title:"Remove"},{title:"Refresh"}],showMenuIcon:!1,showGraphSettingsDialog:!1,isChart:!1,i:"",reportdataTableItems:{headers:"",chartdata:"",search:"",chartdataJSON:""},isCrossTab:!1,showMenuItems:!1,selectedGraphType:"",report:"",settings:{},widget:{},isInfoBox:!1,isProgressBar:!1,isdatatable:!1,loading:!1,reportMeasures:[],crossTabHeader:""}),created(){this.settings.graphSettings={},this.settings.graphSettings.showCurrency=!1,this.settings.graphSettings.showSearch=!0,this.populateReport()},computed:{...Object(n.b)(["getMetaNameById","getReportById","getDashPageDetailsById","getItemMetaById","getGraphPropertiesById"]),pageDetails:{get(){return this.getDashPageDetailsById(this.dashId)}},selectedFilterStr:function(){var e="";for(var t in this.reportFilterStr)this.reportFilterStr[t].isNormalFilter&&(e+="["+this.reportFilterStr[t].FilterItemId+"("+this.reportFilterStr[t].FilterOper+")"+this.reportFilterStr[t].FilterValues+"]");return e}},methods:{resetBreadcrumbs(){this.drillLabels.splice(1)},breadcrumbClick(e,t,r){if(!t)return this.resetBreadcrumbs(),void(this.isCrossTab?this.drawCrossTabGraph(this.item,this.report,this.item.gtype,this.conf.layout.graphSettings,this.conf.layout.measureprops,this.conf.layout.axesprops):this.drawPlotlyCharts(this.item.Target,this.item.data,this.item.dimensions.length,this.item.measures.length,this.item.gtype,this.conf.layout.graphSettings,this.conf.layout.measureprops,this.conf.layout.axesprops));this.drillLabels=this.drillLabels.slice(0,t+1),this.isCrossTab?this.plotAnyChart(e,r.depth,r,this.item.Target,this.crossTabHeader.nmeas,this.item.gtype,this.conf.layout.graphSettings,this.conf.layout.measureprops,this.conf.layout.axesprops):this.plotAnyChart(e,r.depth,r,this.item.Target,this.item.measures.length,this.item.gtype,this.conf.layout.graphSettings,this.conf.layout.measureprops,this.conf.layout.axesprops)},goTo(e){alert(e)},populateReport(){var t=this.getReportById(this.conf.reportId);this.report=t,this.loading=!0,this.item.Target=this.conf.Target,this.item.gtype=this.conf.gtype,this.selectedGraphType=this.conf.gtype,this.item.dimensions=t.DimensionIds.split(":"),this.item.measures=t.MeasureIds.split(":");for(var r=0;r<this.item.measures.length;r++)this.reportMeasures.push(this.getItemMetaById(this.item.measures[r]));this.selectedMeasure=this.item.measures[0],this.item.filter=t.DimensionFilters;var n=new Object,a=[];t.DimensionFilters.length&&(a=t.DimensionFilters.split("]"));for(var i=0;i<this.reportFilterStr.length;i++)this.reportFilterStr[i].status="Not Applied";var o="";if(0!=a.length||0!=this.reportFilterStr.length){a=a.filter(Boolean);for(r=0;r<a.length;r++)a[r]=a[r].replace(/[\[\]']+/g,"");console.log(a);for(r=0;r<a.length;r++){var s=a[r].indexOf("("),l=a[r].indexOf(")"),c=a[r].substring(0,s),u=a[r].substring(s+1,l),d=a[r].substring(l+1);if(this.reportFilterStr.length)for(i=0;i<this.reportFilterStr.length;i++)this.reportFilterStr[i].FilterItemId==c&&(u="eq",d=this.reportFilterStr[i].FilterValues,this.reportFilterStr[i].status="Applied");d.length&&(o+="["+c+"("+u+")"+d+"]")}if(this.reportFilterStr.length)for(i=0;i<this.reportFilterStr.length;i++)"Applied"!=this.reportFilterStr[i].status&&""!=this.reportFilterStr[i].FilterValues&&(o+="["+this.reportFilterStr[i].FilterItemId+"("+this.reportFilterStr[i].FilterOper+")"+this.reportFilterStr[i].FilterValues+"]")}n.dimensionFilterList=o,n.dimensionList=this.item.dimensions.join(":"),n.measureList=this.item.measures.join(":"),n.measureFilterList="",n.uiInstance="default",n.params="",this.$store.dispatch("getReportData",n).then(r=>{if(r){if(r.length<2)return void e("#"+this.conf.Target).html("No Data Found");this.item.data=r,this.reportdataTableItems.totalArray=this.getTotals(r,this.item.dimensions.length,this.selectedMeasures),this.loading=!1,"InfoBox"==this.conf.gtype?this.isInfoBox=!0:"ProgressBar"==this.conf.gtype?this.isProgressBar=!0:["DataTable","InfoBox","ProgressBar"].includes(this.item.gtype)||"CrossTab"==t.ReportLayout?"CrossTab"==t.ReportLayout?(this.isCrossTab=!0,"DataTable"!=this.item.gtype&&this.drawCrossTabGraph(this.item,this.report,this.item.gtype,this.conf.layout.graphSettings,this.conf.layout.measureprops,this.conf.layout.axesprops)):(this.isdatatable=!0,this.drawDataTable()):(this.isChart=!0,this.drawPlotlyCharts(this.item.Target,this.item.data,this.item.dimensions.length,this.item.measures.length,this.item.gtype,this.conf.layout.graphSettings,this.conf.layout.measureprops,this.conf.layout.axesprops))}})},display(e){document.getElementById(e.Target).style},showMenuItemsDialog(){this.showMenuItems=!0},redrawGraph(e){var t={};t.graphSettings=this.conf.layout.graphSettings,t.measureprops=this.conf.layout.measureprops,t.axesprops=this.conf.layout.axesprops,t.selectedGraphType=e,this.changeGraph(t)},changeGraph(t){this.resetBreadcrumbs(),this.settings=t;var r=t.graphSettings,n=t.axesprops,a=t.measureprops,i=t.selectedGraphType;this.isInfoBox=!1,this.isProgressBar=!1,this.isdatatable=!1,this.isCrossTab=!1,this.isChart=!1,this.widget={},""!=r.reporttitle&&null!=r.reporttitle&&(this.item.title=r.reporttitle),"DataTable"==i&&"CrossTab"!=this.report.ReportLayout?(e("#"+this.conf.Target+" .plot-container").empty(),this.isdatatable=!0,this.drawDataTable()):"DataTable"==i&&"CrossTab"==this.report.ReportLayout?(e("#"+this.conf.Target+" .plot-container").empty(),this.isCrossTab=!0):"InfoBox"==i?(e("#"+this.conf.Target+" .plot-container").empty(),this.isInfoBox=!0):"ProgressBar"==i?(e("#"+this.conf.Target+" .plot-container").empty(),this.isProgressBar=!0):("CrossTab"==this.report.ReportLayout?this.drawCrossTabGraph(this.item,this.report,i,r,a,n):this.drawPlotlyCharts(this.item.Target,this.item.data,this.item.dimensions.length,this.item.measures.length,i,r,a,n),this.isChart=!0);for(var o=0;o<this.pageDetails.length;o++)this.item.Target==this.pageDetails[o].Target&&(this.pageDetails[o].layout.axesprops=n,this.pageDetails[o].layout.measureprops=a,this.pageDetails[o].layout.graphSettings=r,this.pageDetails[o].gtype=i,""!=r.reporttitle&&(this.pageDetails[o].title=r.reporttitle));a.showmeasure||d.a.deleteTraces(this.item.Target,a.selectedMeasureIndex),this.showGraphSettingsDialog=!1},cancelGraphSettings(){this.showGraphSettingsDialog=!1},menuItem(e){if("Graph Settings"==e.title)this.showGraphSettingsDialog=!0;else if("Remove"==e.title){console.log(this.getDashPageDetailsById(this.dashId));var t={};t.dashId=this.dashId,t.reportId=this.conf.reportId,this.$store.commit("deleteReportFromDashPage",t)}else"Refresh"==e.title?(this.loading=!0,this.populateReport()):"Export"==e.title&&(this.isCrossTab?this.exportToExcelCrossTab_SheetJS(this.item.data,this.report.Title,"",this.item.dimensions,this.item.measures):this.exportToExcel_SheetJS(this.item.data,this.item.title,"",this.item.dimensions.concat(this.item.measures),this.reportdataTableItems.totalArray))},drawDataTable(){var e=this.item.data;this.reportdataTableItems.totalArray=this.getTotals(e,this.report.DimensionIds.split(":").length),this.reportdataTableItems.chartdataJSON=arrToObject(e);var t=this.report.DimensionIds.split(":").concat(this.report.MeasureIds.split(":"));if(e[0].length)this.reportdataTableItems.headers=arrayToJson(e[0],t);else{for(var r=[],n=0;n<t.length;n++)r.push(this.getMetaNameById(t[n]));this.reportdataTableItems.headers=arrayToJson(r,t)}}},components:{"cub-data-table":o.a,"cub-data-table-crosstab":s.a,"cub-widget-1":l.a,"cub-progress-widget":c.a,"cub-graph-settings":h.a,Stretch:f.a}}}).call(this,r("+2Rf"))},DOzC:function(e,t,r){"use strict";var n=r("GbLo"),a=r("/CZE").isArrayOrTypedArray,i=r("6AZA").BADNUM,o=r("Nx4I"),s=r("BkK/"),l=r("PBw4").getAxisGroup,c=r("iyXT");function u(e,t,r,o,u){if(o.length){var b,w,_,k;switch(function(e,t){var r,i;for(r=0;r<t.length;r++){var o,s=t[r],l=s[0].trace,c="funnel"===l.type?l._base:l.base,u="h"===l.orientation?l.xcalendar:l.ycalendar,d="category"===e.type||"multicategory"===e.type?function(){return null}:e.d2c;if(a(c)){for(i=0;i<Math.min(c.length,s.length);i++)o=d(c[i],0,u),n(o)?(s[i].b=+o,s[i].hasB=1):s[i].b=0;for(;i<s.length;i++)s[i].b=0}else{o=d(c,0,u);var f=n(o);for(o=f?o:0,i=0;i<s.length;i++)s[i].b=o,f&&(s[i].hasB=1)}}}(r,o),u.mode){case"overlay":d(t,r,o,u);break;case"group":for(b=[],w=[],_=0;_<o.length;_++)void 0===(k=o[_])[0].trace.offset?w.push(k):b.push(k);w.length&&function(e,t,r,n,a){var o=new c(n,{sepNegVal:!1,overlapNoMerge:!a.norm});(function(e,t,r,n){for(var a=e._fullLayout,i=r.positions,o=r.distinctPositions,s=r.minDiff,c=r.traces,u=c.length,d=i.length!==o.length,f=s*(1-n.gap),v=l(a,t._id)+c[0][0].trace.orientation,m=a._alignmentOpts[v]||{},y=0;y<u;y++){var x,b,w=c[y],_=w[0].trace,k=m[_.alignmentgroup]||{},T=Object.keys(k.offsetGroups||{}).length,M=(x=T?f/T:d?f/u:f)*(1-(n.groupgap||0));b=T?((2*_._offsetIndex+1-T)*x-M)/2:d?((2*y+1-u)*x-M)/2:-M/2;var S=w[0].t;S.barwidth=M,S.poffset=b,S.bargroupwidth=f,S.bardelta=s}r.binWidth=c[0][0].t.barwidth/100,h(r),p(t,r),g(t,r,d)})(e,t,o,a),function(e){for(var t=e.traces,r=0;r<t.length;r++){var n=t[r];if(void 0===n[0].trace.base)for(var a=new c([n],{sepNegVal:!0,overlapNoMerge:!0}),o=0;o<n.length;o++){var s=n[o];if(s.p!==i){var l=a.put(s.p,s.b+s.s);l&&(s.b=l)}}}}(o),a.norm?(m(o),y(r,o,a)):v(r,o)}(e,t,r,w,u),b.length&&d(t,r,b,u);break;case"stack":case"relative":for(b=[],w=[],_=0;_<o.length;_++)void 0===(k=o[_])[0].trace.base?w.push(k):b.push(k);w.length&&function(e,t,r,n,a){var o=new c(n,{sepNegVal:"relative"===a.mode,overlapNoMerge:!(a.norm||"stack"===a.mode||"relative"===a.mode)});f(t,o,a),function(e,t,r){var n,a,o,l,c,u,d=x(e),f=t.traces;for(l=0;l<f.length;l++)if(n=f[l],"funnel"===(a=n[0].trace).type)for(c=0;c<n.length;c++)(u=n[c]).s!==i&&t.put(u.p,-.5*u.s);for(l=0;l<f.length;l++){n=f[l],a=n[0].trace,o="funnel"===a.type;var h=[];for(c=0;c<n.length;c++)if((u=n[c]).s!==i){var p;p=o?u.s:u.s+u.b;var g=t.put(u.p,p),v=g+p;u.b=g,u[d]=v,r.norm||(h.push(v),u.hasB&&h.push(g))}r.norm||(a._extremes[e._id]=s.findExtremes(e,h,{tozero:!0,padded:!0}))}}(r,o,a);for(var l=0;l<n.length;l++)for(var u=n[l],d=0;d<u.length;d++){var h=u[d];if(h.s!==i)h.b+h.s===o.get(h.p,h.s)&&(h._outmost=!0)}a.norm&&y(r,o,a)}(0,t,r,w,u),b.length&&d(t,r,b,u)}!function(e,t){var r,a,i,o=x(t),s={},l=1/0,c=-1/0;for(r=0;r<e.length;r++)for(i=e[r],a=0;a<i.length;a++){var u=i[a].p;n(u)&&(l=Math.min(l,u),c=Math.max(c,u))}var d=1e4/(c-l),f=s.round=function(e){return String(Math.round(d*(e-l)))};for(r=0;r<e.length;r++){(i=e[r])[0].t.extents=s;var h=i[0].t.poffset,p=Array.isArray(h);for(a=0;a<i.length;a++){var g=i[a],v=g[o]-g.w/2;if(n(v)){var m=g[o]+g.w/2,y=f(g.p);s[y]?s[y]=[Math.min(v,s[y][0]),Math.max(m,s[y][1])]:s[y]=[v,m]}g.p0=g.p+(p?h[a]:h),g.p1=g.p0+g.w,g.s0=g.b,g.s1=g.s0+g.s}}}(o,t)}}function d(e,t,r,n){for(var a=0;a<r.length;a++){var i=r[a],o=new c([i],{sepNegVal:!1,overlapNoMerge:!n.norm});f(e,o,n),n.norm?(m(o),y(t,o,n)):v(t,o)}}function f(e,t,r){for(var n=t.minDiff,a=t.traces,i=n*(1-r.gap),o=i*(1-(r.groupgap||0)),s=-o/2,l=0;l<a.length;l++){var c=a[l][0].t;c.barwidth=o,c.poffset=s,c.bargroupwidth=i,c.bardelta=n}t.binWidth=a[0][0].t.barwidth/100,h(t),p(e,t),g(e,t)}function h(e){var t,r,i=e.traces;for(t=0;t<i.length;t++){var o,s=i[t],l=s[0],c=l.trace,u=l.t,d=c._offset||c.offset,f=u.poffset;if(a(d)){for(o=Array.prototype.slice.call(d,0,s.length),r=0;r<o.length;r++)n(o[r])||(o[r]=f);for(r=o.length;r<s.length;r++)o.push(f);u.poffset=o}else void 0!==d&&(u.poffset=d);var h=c._width||c.width,p=u.barwidth;if(a(h)){var g=Array.prototype.slice.call(h,0,s.length);for(r=0;r<g.length;r++)n(g[r])||(g[r]=p);for(r=g.length;r<s.length;r++)g.push(p);if(u.barwidth=g,void 0===d){for(o=[],r=0;r<s.length;r++)o.push(f+(p-g[r])/2);u.poffset=o}}else void 0!==h&&(u.barwidth=h,void 0===d&&(u.poffset=f+(p-h)/2))}}function p(e,t){for(var r=t.traces,n=x(e),a=0;a<r.length;a++)for(var i=r[a],o=i[0].t,s=o.poffset,l=Array.isArray(s),c=o.barwidth,u=Array.isArray(c),d=0;d<i.length;d++){var f=i[d],h=f.w=u?c[d]:c;f[n]=f.p+(l?s[d]:s)+h/2}}function g(e,t,r){var n=t.traces,a=t.minDiff/2;s.minDtick(e,t.minDiff,t.distinctPositions[0],r);for(var i=0;i<n.length;i++){var o,l,c,u,d=n[i],f=d[0],h=f.trace,p=[];for(u=0;u<d.length;u++)l=(o=d[u]).p-a,c=o.p+a,p.push(l,c);if(h.width||h.offset){var g=f.t,v=g.poffset,m=g.barwidth,y=Array.isArray(v),x=Array.isArray(m);for(u=0;u<d.length;u++){o=d[u];var b=y?v[u]:v,w=x?m[u]:m;c=(l=o.p+b)+w,p.push(l,c)}}h._extremes[e._id]=s.findExtremes(e,p,{padded:!1})}}function v(e,t){for(var r=t.traces,n=x(e),a=0;a<r.length;a++){for(var i=r[a],o=i[0].trace,l=[],c=!1,u=0;u<i.length;u++){var d=i[u],f=d.b,h=f+d.s;d[n]=h,l.push(h),d.hasB&&l.push(f),d.hasB&&d.b||(c=!0)}o._extremes[e._id]=s.findExtremes(e,l,{tozero:c,padded:!0})}}function m(e){for(var t=e.traces,r=0;r<t.length;r++)for(var n=t[r],a=0;a<n.length;a++){var o=n[a];o.s!==i&&e.put(o.p,o.b+o.s)}}function y(e,t,r){var a=t.traces,o=x(e),l="fraction"===r.norm?1:100,c=l/1e9,u=e.l2c(e.c2l(0)),d="stack"===r.mode?l:u;function f(t){return n(e.c2l(t))&&(t<u-c||t>d+c||!n(u))}for(var h=0;h<a.length;h++){for(var p=a[h],g=p[0].trace,v=[],m=!1,y=!1,b=0;b<p.length;b++){var w=p[b];if(w.s!==i){var _=Math.abs(l/t.get(w.p,w.s));w.b*=_,w.s*=_;var k=w.b,T=k+w.s;w[o]=T,v.push(T),y=y||f(T),w.hasB&&(v.push(k),y=y||f(k)),w.hasB&&w.b||(m=!0)}}g._extremes[e._id]=s.findExtremes(e,v,{tozero:m,padded:y})}}function x(e){return e._id.charAt(0)}e.exports={crossTraceCalc:function(e,t){for(var r=t.xaxis,n=t.yaxis,a=e._fullLayout,i=e._fullData,s=e.calcdata,l=[],c=[],d=0;d<i.length;d++){var f=i[d];if(!0===f.visible&&o.traceIs(f,"bar")&&f.xaxis===r._id&&f.yaxis===n._id&&("h"===f.orientation?l.push(s[d]):c.push(s[d]),f._computePh))for(var h=e.calcdata[d],p=0;p<h.length;p++)"function"==typeof h[p].ph0&&(h[p].ph0=h[p].ph0()),"function"==typeof h[p].ph1&&(h[p].ph1=h[p].ph1())}var g={mode:a.barmode,norm:a.barnorm,gap:a.bargap,groupgap:a.bargroupgap};u(e,r,n,c,g),u(e,n,r,l,g)},setGroupPositions:u}},DY8J:function(e,t,r){"use strict";var n=r("MZPV");r.n(n).a},DdeV:function(e,t,r){"use strict";var n=r("kJIm").extendFlat,a=r("9Okp"),i=r("SFLx").scales,o="Note that `autocolorscale` must be true for this attribute to work.";e.exports={editType:"calc",colorscale:{editType:"calc",sequential:{valType:"colorscale",dflt:i.Reds,role:"style",editType:"calc",description:["Sets the default sequential colorscale for positive values.",o].join(" ")},sequentialminus:{valType:"colorscale",dflt:i.Blues,role:"style",editType:"calc",description:["Sets the default sequential colorscale for negative values.",o].join(" ")},diverging:{valType:"colorscale",dflt:i.RdBu,role:"style",editType:"calc",description:["Sets the default diverging colorscale.",o].join(" ")}},coloraxis:n({_isSubplotObj:!0,editType:"calc",description:[""].join(" ")},a("",{colorAttr:"corresponding trace color array(s)",noColorAxis:!0,showScaleDflt:!0}))}},Df4R:function(e,t,r){"use strict";var n=r("+1rr"),a=r("EHyX").line,i=r("qHYo"),o=r("lNV6").hovertemplateAttrs,s=r("lNV6").texttemplateAttrs,l=r("VeuS"),c=r("kJIm").extendFlat,u=r("0RW4");function d(e){return{marker:{color:c({},n.marker.color,{arrayOk:!1,editType:"style",description:"Sets the marker color of all "+e+" values."}),line:{color:c({},n.marker.line.color,{arrayOk:!1,editType:"style",description:"Sets the line color of all "+e+" values."}),width:c({},n.marker.line.width,{arrayOk:!1,editType:"style",description:"Sets the line width of all "+e+" values."}),editType:"style"},editType:"style"},editType:"style"}}e.exports={measure:{valType:"data_array",dflt:[],role:"info",editType:"calc",description:["An array containing types of values.","By default the values are considered as 'relative'.","However; it is possible to use 'total' to compute the sums.","Also 'absolute' could be applied to reset the computed total","or to declare an initial value where needed."].join(" ")},base:{valType:"number",dflt:null,arrayOk:!1,role:"info",editType:"calc",description:["Sets where the bar base is drawn (in position axis units)."].join(" ")},x:n.x,x0:n.x0,dx:n.dx,y:n.y,y0:n.y0,dy:n.dy,hovertext:n.hovertext,hovertemplate:o({},{keys:l.eventDataKeys}),hoverinfo:c({},i.hoverinfo,{flags:["name","x","y","text","initial","delta","final"]}),textinfo:{valType:"flaglist",flags:["label","text","initial","delta","final"],extras:["none"],role:"info",editType:"plot",arrayOk:!1,description:["Determines which trace information appear on the graph.","In the case of having multiple waterfalls, totals","are computed separately (per trace)."].join(" ")},texttemplate:s({editType:"plot"},{keys:l.eventDataKeys.concat(["label"])}),text:n.text,textposition:n.textposition,insidetextanchor:n.insidetextanchor,textangle:n.textangle,textfont:n.textfont,insidetextfont:n.insidetextfont,outsidetextfont:n.outsidetextfont,constraintext:n.constraintext,cliponaxis:n.cliponaxis,orientation:n.orientation,offset:n.offset,width:n.width,increasing:d("increasing"),decreasing:d("decreasing"),totals:d("intermediate sums and total"),connector:{line:{color:c({},a.color,{dflt:u.defaultLine}),width:c({},a.width,{editType:"plot"}),dash:a.dash,editType:"plot"},mode:{valType:"enumerated",values:["spanning","between"],dflt:"between",role:"info",editType:"plot",description:["Sets the shape of connector lines."].join(" ")},visible:{valType:"boolean",dflt:!0,role:"info",editType:"plot",description:["Determines if connector lines are drawn. "].join(" ")},editType:"plot"},offsetgroup:n.offsetgroup,alignmentgroup:n.alignmentgroup}},DrdO:function(e,t,r){"use strict";var n=r("/CZE"),a=r("Nx4I"),i=r("EHyX"),o=r("3mkv"),s=r("3oHU"),l=r("B28u"),c=r("a3ij"),u=r("UEdZ"),d=r("Wb4T"),f=r("6weB"),h=r("6feh"),p=r("OAL3");e.exports=function(e,t,r,g){function v(r,a){return n.coerce(e,t,i,r,a)}var m=l(e,t,g,v);if(m||(t.visible=!1),t.visible){var y=c(e,t,g,v),x=!y&&m<o.PTS_LINESONLY?"lines+markers":"lines";v("text"),v("hovertext"),v("mode",x),s.hasLines(t)&&(d(e,t,r,g,v),f(e,t,v),v("connectgaps"),v("line.simplify")),s.hasMarkers(t)&&u(e,t,r,g,v,{gradient:!0}),s.hasText(t)&&(v("texttemplate"),h(e,t,g,v));var b=[];(s.hasMarkers(t)||s.hasText(t))&&(v("cliponaxis"),v("marker.maxdisplayed"),b.push("points")),v("fill",y?y.fillDflt:"none"),"none"!==t.fill&&(p(e,t,r,v),s.hasLines(t)||f(e,t,v));var w=(t.line||{}).color,_=(t.marker||{}).color;"tonext"!==t.fill&&"toself"!==t.fill||b.push("fills"),v("hoveron",b.join("+")||"points"),"fills"!==t.hoveron&&v("hovertemplate");var k=a.getComponentMethod("errorbars","supplyDefaults");k(e,t,w||_||r,{axis:"y"}),k(e,t,w||_||r,{axis:"x",inherit:"y"}),n.coerceSelectionMarkerOpacity(t,v)}}},DzeQ:function(e,t,r){"use strict";e.exports=function(e,t){(e.attr("class")||"").split(" ").forEach((function(t){0===t.indexOf("cursor-")&&e.classed(t,!1)})),t&&e.classed("cursor-"+t,!0)}},E2g8:function(e,t,r){(function(t,r){ /*! * @overview es6-promise - a tiny implementation of Promises/A+. * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald) * @license Licensed under MIT license * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE * @version v4.2.8+1e68dce6 */var n;n=function(){"use strict";function e(e){return"function"==typeof e}var n=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},a=0,i=void 0,o=void 0,s=function(e,t){p[a]=e,p[a+1]=t,2===(a+=2)&&(o?o(g):b())},l="undefined"!=typeof window?window:void 0,c=l||{},u=c.MutationObserver||c.WebKitMutationObserver,d="undefined"==typeof self&&void 0!==t&&"[object process]"==={}.toString.call(t),f="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function h(){var e=setTimeout;return function(){return e(g,1)}}var p=new Array(1e3);function g(){for(var e=0;e<a;e+=2)(0,p[e])(p[e+1]),p[e]=void 0,p[e+1]=void 0;a=0}var v,m,y,x,b=void 0;function w(e,t){var r=this,n=new this.constructor(T);void 0===n[k]&&E(n);var a=r._state;if(a){var i=arguments[a-1];s((function(){return z(a,n,i,r._result)}))}else O(r,n,e,t);return n}function _(e){if(e&&"object"==typeof e&&e.constructor===this)return e;var t=new this(T);return S(t,e),t}d?b=function(){return t.nextTick(g)}:u?(m=0,y=new u(g),x=document.createTextNode(""),y.observe(x,{characterData:!0}),b=function(){x.data=m=++m%2}):f?((v=new MessageChannel).port1.onmessage=g,b=function(){return v.port2.postMessage(0)}):b=void 0===l?function(){try{var e=Function("return this")().require("vertx");return void 0!==(i=e.runOnLoop||e.runOnContext)?function(){i(g)}:h()}catch(e){return h()}}():h();var k=Math.random().toString(36).substring(2);function T(){}function M(t,r,n){r.constructor===t.constructor&&n===w&&r.constructor.resolve===_?function(e,t){1===t._state?C(e,t._result):2===t._state?P(e,t._result):O(t,void 0,(function(t){return S(e,t)}),(function(t){return P(e,t)}))}(t,r):void 0===n?C(t,r):e(n)?function(e,t,r){s((function(e){var n=!1,a=function(e,t,r,n){try{e.call(t,r,n)}catch(e){return e}}(r,t,(function(r){n||(n=!0,t!==r?S(e,r):C(e,r))}),(function(t){n||(n=!0,P(e,t))}),e._label);!n&&a&&(n=!0,P(e,a))}),e)}(t,r,n):C(t,r)}function S(e,t){if(e===t)P(e,new TypeError("You cannot resolve a promise with itself"));else if(a=typeof(n=t),null===n||"object"!==a&&"function"!==a)C(e,t);else{var r=void 0;try{r=t.then}catch(t){return void P(e,t)}M(e,t,r)}var n,a}function A(e){e._onerror&&e._onerror(e._result),I(e)}function C(e,t){void 0===e._state&&(e._result=t,e._state=1,0!==e._subscribers.length&&s(I,e))}function P(e,t){void 0===e._state&&(e._state=2,e._result=t,s(A,e))}function O(e,t,r,n){var a=e._subscribers,i=a.length;e._onerror=null,a[i]=t,a[i+1]=r,a[i+2]=n,0===i&&e._state&&s(I,e)}function I(e){var t=e._subscribers,r=e._state;if(0!==t.length){for(var n=void 0,a=void 0,i=e._result,o=0;o<t.length;o+=3)n=t[o],a=t[o+r],n?z(r,n,a,i):a(i);e._subscribers.length=0}}function z(t,r,n,a){var i=e(n),o=void 0,s=void 0,l=!0;if(i){try{o=n(a)}catch(e){l=!1,s=e}if(r===o)return void P(r,new TypeError("A promises callback cannot return that same promise."))}else o=a;void 0!==r._state||(i&&l?S(r,o):!1===l?P(r,s):1===t?C(r,o):2===t&&P(r,o))}var L=0;function E(e){e[k]=L++,e._state=void 0,e._result=void 0,e._subscribers=[]}var j=function(){function e(e,t){this._instanceConstructor=e,this.promise=new e(T),this.promise[k]||E(this.promise),n(t)?(this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?C(this.promise,this._result):(this.length=this.length||0,this._enumerate(t),0===this._remaining&&C(this.promise,this._result))):P(this.promise,new Error("Array Methods must be provided an Array"))}return e.prototype._enumerate=function(e){for(var t=0;void 0===this._state&&t<e.length;t++)this._eachEntry(e[t],t)},e.prototype._eachEntry=function(e,t){var r=this._instanceConstructor,n=r.resolve;if(n===_){var a=void 0,i=void 0,o=!1;try{a=e.then}catch(e){o=!0,i=e}if(a===w&&void 0!==e._state)this._settledAt(e._state,t,e._result);else if("function"!=typeof a)this._remaining--,this._result[t]=e;else if(r===D){var s=new r(T);o?P(s,i):M(s,e,a),this._willSettleAt(s,t)}else this._willSettleAt(new r((function(t){return t(e)})),t)}else this._willSettleAt(n(e),t)},e.prototype._settledAt=function(e,t,r){var n=this.promise;void 0===n._state&&(this._remaining--,2===e?P(n,r):this._result[t]=r),0===this._remaining&&C(n,this._result)},e.prototype._willSettleAt=function(e,t){var r=this;O(e,void 0,(function(e){return r._settledAt(1,t,e)}),(function(e){return r._settledAt(2,t,e)}))},e}(),D=function(){function t(e){this[k]=L++,this._result=this._state=void 0,this._subscribers=[],T!==e&&("function"!=typeof e&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof t?function(e,t){try{t((function(t){S(e,t)}),(function(t){P(e,t)}))}catch(t){P(e,t)}}(this,e):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return t.prototype.catch=function(e){return this.then(null,e)},t.prototype.finally=function(t){var r=this.constructor;return e(t)?this.then((function(e){return r.resolve(t()).then((function(){return e}))}),(function(e){return r.resolve(t()).then((function(){throw e}))})):this.then(t,t)},t}();return D.prototype.then=w,D.all=function(e){return new j(this,e).promise},D.race=function(e){var t=this;return n(e)?new t((function(r,n){for(var a=e.length,i=0;i<a;i++)t.resolve(e[i]).then(r,n)})):new t((function(e,t){return t(new TypeError("You must pass an array to race."))}))},D.resolve=_,D.reject=function(e){var t=new this(T);return P(t,e),t},D._setScheduler=function(e){o=e},D._setAsap=function(e){s=e},D._asap=s,D.polyfill=function(){var e=void 0;if(void 0!==r)e=r;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var n=null;try{n=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===n&&!t.cast)return}e.Promise=D},D.Promise=D,D},e.exports=n()}).call(this,r("8oxB"),r("yLpj"))},E4V0:function(e,t,r){"use strict";e.exports=function(e){return window&&window.process&&window.process.versions?"[object Object]"===Object.prototype.toString.call(e):"[object Object]"===Object.prototype.toString.call(e)&&Object.getPrototypeOf(e)===Object.prototype}},E6B2:function(e,t,r){"use strict";var n=r("yUfG"),a=r("GbLo"),i=r("/CZE"),o=r("wlgE").makeColorScaleFuncFromTrace,s=r("hriN").makePullColorFn,l=r("hriN").generateExtendedColors,c=r("wlgE").calc,u=r("6AZA").ALMOST_EQUAL,d={},f={};t.calc=function(e,t){var r,l,d,f,h,p,g=e._fullLayout,v=t.ids,m=i.isArrayOrTypedArray(v),y=t.labels,x=t.parents,b=t.values,w=i.isArrayOrTypedArray(b),_=[],k={},T={},M=function(e){return e||"number"==typeof e},S=function(e){return!w||a(b[e])&&b[e]>=0};m?(r=Math.min(v.length,x.length),l=function(e){return M(v[e])&&S(e)},d=function(e){return String(v[e])}):(r=Math.min(y.length,x.length),l=function(e){return M(y[e])&&S(e)},d=function(e){return String(y[e])}),w&&(r=Math.min(r,b.length));for(var A=0;A<r;A++)if(l(A)){var C=d(A),P=M(x[A])?String(x[A]):"",O={i:A,id:C,pid:P,label:M(y[A])?String(y[A]):""};w&&(O.v=+b[A]),_.push(O),h=C,k[f=P]?k[f].push(h):k[f]=[h],T[h]=1}if(k[""]){if(k[""].length>1){for(var I=i.randstr(),z=0;z<_.length;z++)""===_[z].pid&&(_[z].pid=I);_.unshift({hasMultipleRoots:!0,id:I,pid:"",label:""})}}else{var L,E=[];for(L in k)T[L]||E.push(L);if(1!==E.length)return i.warn("Multiple implied roots, cannot build "+t.type+" hierarchy.");L=E[0],_.unshift({hasImpliedRoot:!0,id:L,pid:"",label:L})}try{p=n.stratify().id((function(e){return e.id})).parentId((function(e){return e.pid}))(_)}catch(e){return i.warn("Failed to build "+t.type+" hierarchy. Error: "+e.message)}var j=n.hierarchy(p),D=!1;if(w)switch(t.branchvalues){case"remainder":j.sum((function(e){return e.data.v}));break;case"total":j.each((function(e){var t=e.data.data,r=t.v;if(e.children){var n=e.children.reduce((function(e,t){return e+t.data.data.v}),0);if((t.hasImpliedRoot||t.hasMultipleRoots)&&(r=n),r<n*u)return D=!0,i.warn(["Total value for node",e.data.data.id,"is smaller than the sum of its children.","\nparent value =",r,"\nchildren sum =",n].join(" "))}e.value=r}))}else!function e(t,r,n){var a=0,i=t.children;if(i){for(var o=i.length,s=0;s<o;s++)a+=e(i[s],r,n);n.branches&&a++}else n.leaves&&a++;t.value=t.data.data.value=a,r._values||(r._values=[]);return r._values[t.data.data.i]=a,a}(j,t,{branches:-1!==t.count.indexOf("branches"),leaves:-1!==t.count.indexOf("leaves")});if(!D){var R,N;j.sort((function(e,t){return t.value-e.value}));var F=t.marker.colors||[],B=!!F.length;return t._hasColorscale?(B||(F=w?t.values:t._values),c(e,t,{vals:F,containerStr:"marker",cLetter:"c"}),N=o(t.marker)):R=s(g["_"+t.type+"colormap"]),j.each((function(e){var r=e.data.data;r.color=t._hasColorscale?N(F[r.i]):R(F[r.i],r.id)})),_[0].hierarchy=j,_}},t._runCrossTraceCalc=function(e,t){var r=t._fullLayout,n=t.calcdata,a=r[e+"colorway"],i=r["_"+e+"colormap"];r["extend"+e+"colors"]&&(a=l(a,"treemap"===e?f:d));var o=0;function s(e){var t=e.data.data,r=t.id;!1===t.color&&(i[r]?t.color=i[r]:e.parent?e.parent.parent?t.color=e.parent.data.data.color:(i[r]=t.color=a[o%a.length],o++):t.color="rgba(0,0,0,0)")}for(var c=0;c<n.length;c++){var u=n[c][0];u.trace.type===e&&u.hierarchy&&u.hierarchy.each(s)}},t.crossTraceCalc=function(e){return t._runCrossTraceCalc("sunburst",e)}},E6Qf:function(e,t,r){"use strict";var n=r("/CZE"),a=[["sw-resize","s-resize","se-resize"],["w-resize","move","e-resize"],["nw-resize","n-resize","ne-resize"]];e.exports=function(e,t,r,i){return e="left"===r?0:"center"===r?1:"right"===r?2:n.constrain(Math.floor(3*e),0,2),t="bottom"===i?0:"middle"===i?1:"top"===i?2:n.constrain(Math.floor(3*t),0,2),a[t][e]}},E8TZ:function(e,t,r){"use strict";var n=r("Nx4I"),a=r("u3HJ"),i=r("PBw4"),o=r("dVlp"),s=r("I23g").eraseActiveShape,l=r("/CZE"),c=l._,u=e.exports={};function d(e,t){var r,a,o=t.currentTarget,s=o.getAttribute("data-attr"),l=o.getAttribute("data-val")||!0,c=e._fullLayout,u={},d=i.list(e,null,!0),f=c._cartesianSpikesEnabled;if("zoom"===s){var h,p="in"===l?.5:2,g=(1+p)/2,v=(1-p)/2;for(a=0;a<d.length;a++)if(!(r=d[a]).fixedrange)if(h=r._name,"auto"===l)u[h+".autorange"]=!0;else if("reset"===l){if(void 0===r._rangeInitial)u[h+".autorange"]=!0;else{var m=r._rangeInitial.slice();u[h+".range[0]"]=m[0],u[h+".range[1]"]=m[1]}void 0!==r._showSpikeInitial&&(u[h+".showspikes"]=r._showSpikeInitial,"on"!==f||r._showSpikeInitial||(f="off"))}else{var y=[r.r2l(r.range[0]),r.r2l(r.range[1])],x=[g*y[0]+v*y[1],g*y[1]+v*y[0]];u[h+".range[0]"]=r.l2r(x[0]),u[h+".range[1]"]=r.l2r(x[1])}}else"hovermode"!==s||"x"!==l&&"y"!==l||(l=c._isHoriz?"y":"x",o.setAttribute("data-val",l)),u[s]=l;c._cartesianSpikesEnabled=f,n.call("_guiRelayout",e,u)}function f(e,t){for(var r=t.currentTarget,a=r.getAttribute("data-attr"),i=r.getAttribute("data-val")||!0,o=e._fullLayout._subplots.gl3d||[],s={},l=a.split("."),c=0;c<o.length;c++)s[o[c]+"."+l[1]]=i;var u="pan"===i?i:"zoom";s.dragmode=u,n.call("_guiRelayout",e,s)}function h(e,t){for(var r=t.currentTarget.getAttribute("data-attr"),a=e._fullLayout,i=a._subplots.gl3d||[],o={},s=0;s<i.length;s++){var l,c=i[s],u=c+".camera",d=c+".aspectratio",f=c+".aspectmode",h=a[c]._scene;"resetLastSave"===r?(o[u+".up"]=h.viewInitial.up,o[u+".eye"]=h.viewInitial.eye,o[u+".center"]=h.viewInitial.center,l=!0):"resetDefault"===r&&(o[u+".up"]=null,o[u+".eye"]=null,o[u+".center"]=null,l=!0),l&&(o[d+".x"]=h.viewInitial.aspectratio.x,o[d+".y"]=h.viewInitial.aspectratio.y,o[d+".z"]=h.viewInitial.aspectratio.z,o[f]=h.viewInitial.aspectmode)}n.call("_guiRelayout",e,o)}function p(e,t){var r=t.currentTarget,n=r._previousVal,a=e._fullLayout,i=a._subplots.gl3d||[],o=["xaxis","yaxis","zaxis"],s={},l={};if(n)l=n,r._previousVal=null;else{for(var c=0;c<i.length;c++){var u=i[c],d=a[u],f=u+".hovermode";s[f]=d.hovermode,l[f]=!1;for(var h=0;h<3;h++){var p=o[h],g=u+"."+p+".showspikes";l[g]=!1,s[g]=d[p].showspikes}}r._previousVal=s}return l}function g(e,t){for(var r=t.currentTarget,a=r.getAttribute("data-attr"),i=r.getAttribute("data-val")||!0,o=e._fullLayout,s=o._subplots.geo||[],l=0;l<s.length;l++){var c=s[l],u=o[c];if("zoom"===a){var d=u.projection.scale,f="in"===i?2*d:.5*d;n.call("_guiRelayout",e,c+".projection.scale",f)}}"reset"===a&&x(e,"geo")}function v(e){var t=e._fullLayout;return!t.hovermode&&(t._has("cartesian")?t._isHoriz?"y":"x":"closest")}function m(e){var t=v(e);n.call("_guiRelayout",e,"hovermode",t)}function y(e,t){for(var r=t.currentTarget.getAttribute("data-val"),a=e._fullLayout,i=a._subplots.mapbox||[],o={},s=0;s<i.length;s++){var l=i[s],c=a[l].zoom,u="in"===r?1.05*c:c/1.05;o[l+".zoom"]=u}n.call("_guiRelayout",e,o)}function x(e,t){for(var r=e._fullLayout,a=r._subplots[t]||[],i={},o=0;o<a.length;o++)for(var s=a[o],l=r[s]._subplot.viewInitial,c=Object.keys(l),u=0;u<c.length;u++){var d=c[u];i[s+"."+d]=l[d]}n.call("_guiRelayout",e,i)}u.toImage={name:"toImage",title:function(e){var t=(e._context.toImageButtonOptions||{}).format||"png";return c(e,"png"===t?"Download plot as a png":"Download plot")},icon:o.camera,click:function(e){var t=e._context.toImageButtonOptions,r={format:t.format||"png"};l.notifier(c(e,"Taking snapshot - this may take a few seconds"),"long"),"svg"!==r.format&&l.isIE()&&(l.notifier(c(e,"IE only supports svg. Changing format to svg."),"long"),r.format="svg"),["filename","width","height","scale"].forEach((function(e){e in t&&(r[e]=t[e])})),n.call("downloadImage",e,r).then((function(t){l.notifier(c(e,"Snapshot succeeded")+" - "+t,"long")})).catch((function(){l.notifier(c(e,"Sorry, there was a problem downloading your snapshot!"),"long")}))}},u.sendDataToCloud={name:"sendDataToCloud",title:function(e){return c(e,"Edit in Chart Studio")},icon:o.disk,click:function(e){a.sendDataToCloud(e)}},u.editInChartStudio={name:"editInChartStudio",title:function(e){return c(e,"Edit in Chart Studio")},icon:o.pencil,click:function(e){a.sendDataToCloud(e)}},u.zoom2d={name:"zoom2d",title:function(e){return c(e,"Zoom")},attr:"dragmode",val:"zoom",icon:o.zoombox,click:d},u.pan2d={name:"pan2d",title:function(e){return c(e,"Pan")},attr:"dragmode",val:"pan",icon:o.pan,click:d},u.select2d={name:"select2d",title:function(e){return c(e,"Box Select")},attr:"dragmode",val:"select",icon:o.selectbox,click:d},u.lasso2d={name:"lasso2d",title:function(e){return c(e,"Lasso Select")},attr:"dragmode",val:"lasso",icon:o.lasso,click:d},u.drawclosedpath={name:"drawclosedpath",title:function(e){return c(e,"Draw closed freeform")},attr:"dragmode",val:"drawclosedpath",icon:o.drawclosedpath,click:d},u.drawopenpath={name:"drawopenpath",title:function(e){return c(e,"Draw open freeform")},attr:"dragmode",val:"drawopenpath",icon:o.drawopenpath,click:d},u.drawline={name:"drawline",title:function(e){return c(e,"Draw line")},attr:"dragmode",val:"drawline",icon:o.drawline,click:d},u.drawrect={name:"drawrect",title:function(e){return c(e,"Draw rectangle")},attr:"dragmode",val:"drawrect",icon:o.drawrect,click:d},u.drawcircle={name:"drawcircle",title:function(e){return c(e,"Draw circle")},attr:"dragmode",val:"drawcircle",icon:o.drawcircle,click:d},u.eraseshape={name:"eraseshape",title:function(e){return c(e,"Erase active shape")},icon:o.eraseshape,click:s},u.zoomIn2d={name:"zoomIn2d",title:function(e){return c(e,"Zoom in")},attr:"zoom",val:"in",icon:o.zoom_plus,click:d},u.zoomOut2d={name:"zoomOut2d",title:function(e){return c(e,"Zoom out")},attr:"zoom",val:"out",icon:o.zoom_minus,click:d},u.autoScale2d={name:"autoScale2d",title:function(e){return c(e,"Autoscale")},attr:"zoom",val:"auto",icon:o.autoscale,click:d},u.resetScale2d={name:"resetScale2d",title:function(e){return c(e,"Reset axes")},attr:"zoom",val:"reset",icon:o.home,click:d},u.hoverClosestCartesian={name:"hoverClosestCartesian",title:function(e){return c(e,"Show closest data on hover")},attr:"hovermode",val:"closest",icon:o.tooltip_basic,gravity:"ne",click:d},u.hoverCompareCartesian={name:"hoverCompareCartesian",title:function(e){return c(e,"Compare data on hover")},attr:"hovermode",val:function(e){return e._fullLayout._isHoriz?"y":"x"},icon:o.tooltip_compare,gravity:"ne",click:d},u.zoom3d={name:"zoom3d",title:function(e){return c(e,"Zoom")},attr:"scene.dragmode",val:"zoom",icon:o.zoombox,click:f},u.pan3d={name:"pan3d",title:function(e){return c(e,"Pan")},attr:"scene.dragmode",val:"pan",icon:o.pan,click:f},u.orbitRotation={name:"orbitRotation",title:function(e){return c(e,"Orbital rotation")},attr:"scene.dragmode",val:"orbit",icon:o["3d_rotate"],click:f},u.tableRotation={name:"tableRotation",title:function(e){return c(e,"Turntable rotation")},attr:"scene.dragmode",val:"turntable",icon:o["z-axis"],click:f},u.resetCameraDefault3d={name:"resetCameraDefault3d",title:function(e){return c(e,"Reset camera to default")},attr:"resetDefault",icon:o.home,click:h},u.resetCameraLastSave3d={name:"resetCameraLastSave3d",title:function(e){return c(e,"Reset camera to last save")},attr:"resetLastSave",icon:o.movie,click:h},u.hoverClosest3d={name:"hoverClosest3d",title:function(e){return c(e,"Toggle show closest data on hover")},attr:"hovermode",val:null,toggle:!0,icon:o.tooltip_basic,gravity:"ne",click:function(e,t){var r=p(e,t);n.call("_guiRelayout",e,r)}},u.zoomInGeo={name:"zoomInGeo",title:function(e){return c(e,"Zoom in")},attr:"zoom",val:"in",icon:o.zoom_plus,click:g},u.zoomOutGeo={name:"zoomOutGeo",title:function(e){return c(e,"Zoom out")},attr:"zoom",val:"out",icon:o.zoom_minus,click:g},u.resetGeo={name:"resetGeo",title:function(e){return c(e,"Reset")},attr:"reset",val:null,icon:o.autoscale,click:g},u.hoverClosestGeo={name:"hoverClosestGeo",title:function(e){return c(e,"Toggle show closest data on hover")},attr:"hovermode",val:null,toggle:!0,icon:o.tooltip_basic,gravity:"ne",click:m},u.hoverClosestGl2d={name:"hoverClosestGl2d",title:function(e){return c(e,"Toggle show closest data on hover")},attr:"hovermode",val:null,toggle:!0,icon:o.tooltip_basic,gravity:"ne",click:m},u.hoverClosestPie={name:"hoverClosestPie",title:function(e){return c(e,"Toggle show closest data on hover")},attr:"hovermode",val:"closest",icon:o.tooltip_basic,gravity:"ne",click:m},u.resetViewSankey={name:"resetSankeyGroup",title:function(e){return c(e,"Reset view")},icon:o.home,click:function(e){for(var t={"node.groups":[],"node.x":[],"node.y":[]},r=0;r<e._fullData.length;r++){var a=e._fullData[r]._viewInitial;t["node.groups"].push(a.node.groups.slice()),t["node.x"].push(a.node.x.slice()),t["node.y"].push(a.node.y.slice())}n.call("restyle",e,t)}},u.toggleHover={name:"toggleHover",title:function(e){return c(e,"Toggle show closest data on hover")},attr:"hovermode",val:null,toggle:!0,icon:o.tooltip_basic,gravity:"ne",click:function(e,t){var r=p(e,t);r.hovermode=v(e),n.call("_guiRelayout",e,r)}},u.resetViews={name:"resetViews",title:function(e){return c(e,"Reset views")},icon:o.home,click:function(e,t){var r=t.currentTarget;r.setAttribute("data-attr","zoom"),r.setAttribute("data-val","reset"),d(e,t),r.setAttribute("data-attr","resetLastSave"),h(e,t),x(e,"geo"),x(e,"mapbox")}},u.toggleSpikelines={name:"toggleSpikelines",title:function(e){return c(e,"Toggle Spike Lines")},icon:o.spikeline,attr:"_cartesianSpikesEnabled",val:"on",click:function(e){var t=e._fullLayout,r=t._cartesianSpikesEnabled;t._cartesianSpikesEnabled="on"===r?"off":"on",n.call("_guiRelayout",e,function(e){for(var t="on"===e._fullLayout._cartesianSpikesEnabled,r=i.list(e,null,!0),n={},a=0;a<r.length;a++){var o=r[a];n[o._name+".showspikes"]=!!t||o._showSpikeInitial}return n}(e))}},u.resetViewMapbox={name:"resetViewMapbox",title:function(e){return c(e,"Reset view")},attr:"reset",icon:o.home,click:function(e){x(e,"mapbox")}},u.zoomInMapbox={name:"zoomInMapbox",title:function(e){return c(e,"Zoom in")},attr:"zoom",val:"in",icon:o.zoom_plus,click:y},u.zoomOutMapbox={name:"zoomOutMapbox",title:function(e){return c(e,"Zoom out")},attr:"zoom",val:"out",icon:o.zoom_minus,click:y}},EGun:function(e,t,r){"use strict";var n=r("/CZE");e.exports=function(e,t){for(var r=0;r<e.length;r++)e[r].i=r;n.mergeArray(t.text,e,"tx"),n.mergeArray(t.texttemplate,e,"txt"),n.mergeArray(t.hovertext,e,"htx"),n.mergeArray(t.customdata,e,"data"),n.mergeArray(t.textposition,e,"tp"),t.textfont&&(n.mergeArrayCastPositive(t.textfont.size,e,"ts"),n.mergeArray(t.textfont.color,e,"tc"),n.mergeArray(t.textfont.family,e,"tf"));var a=t.marker;if(a){n.mergeArrayCastPositive(a.size,e,"ms"),n.mergeArrayCastPositive(a.opacity,e,"mo"),n.mergeArray(a.symbol,e,"mx"),n.mergeArray(a.color,e,"mc");var i=a.line;a.line&&(n.mergeArray(i.color,e,"mlc"),n.mergeArrayCastPositive(i.width,e,"mlw"));var o=a.gradient;o&&"none"!==o.type&&(n.mergeArray(o.type,e,"mgt"),n.mergeArray(o.color,e,"mgc"))}}},EHyX:function(e,t,r){"use strict";var n=r("lNV6").texttemplateAttrs,a=r("lNV6").hovertemplateAttrs,i=r("9Okp"),o=r("mEVB"),s=r("21T9").dash,l=r("g9E0"),c=r("3mkv"),u=r("kJIm").extendFlat;e.exports={x:{valType:"data_array",editType:"calc+clearAxisTypes",anim:!0,description:"Sets the x coordinates."},x0:{valType:"any",dflt:0,role:"info",editType:"calc+clearAxisTypes",anim:!0,description:["Alternate to `x`.","Builds a linear space of x coordinates.","Use with `dx`","where `x0` is the starting coordinate and `dx` the step."].join(" ")},dx:{valType:"number",dflt:1,role:"info",editType:"calc",anim:!0,description:["Sets the x coordinate step.","See `x0` for more info."].join(" ")},y:{valType:"data_array",editType:"calc+clearAxisTypes",anim:!0,description:"Sets the y coordinates."},y0:{valType:"any",dflt:0,role:"info",editType:"calc+clearAxisTypes",anim:!0,description:["Alternate to `y`.","Builds a linear space of y coordinates.","Use with `dy`","where `y0` is the starting coordinate and `dy` the step."].join(" ")},dy:{valType:"number",dflt:1,role:"info",editType:"calc",anim:!0,description:["Sets the y coordinate step.","See `y0` for more info."].join(" ")},stackgroup:{valType:"string",role:"info",dflt:"",editType:"calc",description:["Set several scatter traces (on the same subplot) to the same","stackgroup in order to add their y values (or their x values if","`orientation` is *h*). If blank or omitted this trace will not be","stacked. Stacking also turns `fill` on by default, using *tonexty*","(*tonextx*) if `orientation` is *h* (*v*) and sets the default","`mode` to *lines* irrespective of point count.","You can only stack on a numeric (linear or log) axis.","Traces in a `stackgroup` will only fill to (or be filled to) other","traces in the same group. With multiple `stackgroup`s or some","traces stacked and some not, if fill-linked traces are not already","consecutive, the later ones will be pushed down in the drawing order."].join(" ")},orientation:{valType:"enumerated",role:"info",values:["v","h"],editType:"calc",description:["Only relevant when `stackgroup` is used, and only the first","`orientation` found in the `stackgroup` will be used - including","if `visible` is *legendonly* but not if it is `false`. Sets the","stacking direction. With *v* (*h*), the y (x) values of subsequent","traces are added. Also affects the default value of `fill`."].join(" ")},groupnorm:{valType:"enumerated",values:["","fraction","percent"],dflt:"",role:"info",editType:"calc",description:["Only relevant when `stackgroup` is used, and only the first","`groupnorm` found in the `stackgroup` will be used - including","if `visible` is *legendonly* but not if it is `false`.","Sets the normalization for the sum of this `stackgroup`.","With *fraction*, the value of each trace at each location is","divided by the sum of all trace values at that location.","*percent* is the same but multiplied by 100 to show percentages.","If there are multiple subplots, or multiple `stackgroup`s on one","subplot, each will be normalized within its own set."].join(" ")},stackgaps:{valType:"enumerated",values:["infer zero","interpolate"],dflt:"infer zero",role:"info",editType:"calc",description:["Only relevant when `stackgroup` is used, and only the first","`stackgaps` found in the `stackgroup` will be used - including","if `visible` is *legendonly* but not if it is `false`.","Determines how we handle locations at which other traces in this","group have data but this one does not.","With *infer zero* we insert a zero at these locations.","With *interpolate* we linearly interpolate between existing","values, and extrapolate a constant beyond the existing values."].join(" ")},text:{valType:"string",role:"info",dflt:"",arrayOk:!0,editType:"calc",description:["Sets text elements associated with each (x,y) pair.","If a single string, the same string appears over","all the data points.","If an array of string, the items are mapped in order to the","this trace's (x,y) coordinates.","If trace `hoverinfo` contains a *text* flag and *hovertext* is not set,","these elements will be seen in the hover labels."].join(" ")},texttemplate:n({},{}),hovertext:{valType:"string",role:"info",dflt:"",arrayOk:!0,editType:"style",description:["Sets hover text elements associated with each (x,y) pair.","If a single string, the same string appears over","all the data points.","If an array of string, the items are mapped in order to the","this trace's (x,y) coordinates.","To be seen, trace `hoverinfo` must contain a *text* flag."].join(" ")},mode:{valType:"flaglist",flags:["lines","markers","text"],extras:["none"],role:"info",editType:"calc",description:["Determines the drawing mode for this scatter trace.","If the provided `mode` includes *text* then the `text` elements","appear at the coordinates. Otherwise, the `text` elements","appear on hover.","If there are less than "+c.PTS_LINESONLY+" points","and the trace is not stacked","then the default is *lines+markers*. Otherwise, *lines*."].join(" ")},hoveron:{valType:"flaglist",flags:["points","fills"],role:"info",editType:"style",description:["Do the hover effects highlight individual points (markers or","line points) or do they highlight filled regions?","If the fill is *toself* or *tonext* and there are no markers","or text, then the default is *fills*, otherwise it is *points*."].join(" ")},hovertemplate:a({},{keys:c.eventDataKeys}),line:{color:{valType:"color",role:"style",editType:"style",anim:!0,description:"Sets the line color."},width:{valType:"number",min:0,dflt:2,role:"style",editType:"style",anim:!0,description:"Sets the line width (in px)."},shape:{valType:"enumerated",values:["linear","spline","hv","vh","hvh","vhv"],dflt:"linear",role:"style",editType:"plot",description:["Determines the line shape.","With *spline* the lines are drawn using spline interpolation.","The other available values correspond to step-wise line shapes."].join(" ")},smoothing:{valType:"number",min:0,max:1.3,dflt:1,role:"style",editType:"plot",description:["Has an effect only if `shape` is set to *spline*","Sets the amount of smoothing.","*0* corresponds to no smoothing (equivalent to a *linear* shape)."].join(" ")},dash:u({},s,{editType:"style"}),simplify:{valType:"boolean",dflt:!0,role:"info",editType:"plot",description:["Simplifies lines by removing nearly-collinear points. When transitioning","lines, it may be desirable to disable this so that the number of points","along the resulting SVG path is unaffected."].join(" ")},editType:"plot"},connectgaps:{valType:"boolean",dflt:!1,role:"info",editType:"calc",description:["Determines whether or not gaps","(i.e. {nan} or missing values)","in the provided data arrays are connected."].join(" ")},cliponaxis:{valType:"boolean",dflt:!0,role:"info",editType:"plot",description:["Determines whether or not markers and text nodes","are clipped about the subplot axes.","To show markers and text nodes above axis lines and tick labels,","make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*."].join(" ")},fill:{valType:"enumerated",values:["none","tozeroy","tozerox","tonexty","tonextx","toself","tonext"],role:"style",editType:"calc",description:["Sets the area to fill with a solid color.","Defaults to *none* unless this trace is stacked, then it gets","*tonexty* (*tonextx*) if `orientation` is *v* (*h*)","Use with `fillcolor` if not *none*.","*tozerox* and *tozeroy* fill to x=0 and y=0 respectively.","*tonextx* and *tonexty* fill between the endpoints of this","trace and the endpoints of the trace before it, connecting those","endpoints with straight lines (to make a stacked area graph);","if there is no trace before it, they behave like *tozerox* and","*tozeroy*.","*toself* connects the endpoints of the trace (or each segment","of the trace if it has gaps) into a closed shape.","*tonext* fills the space between two traces if one completely","encloses the other (eg consecutive contour lines), and behaves like","*toself* if there is no trace before it. *tonext* should not be","used if one trace does not enclose the other.","Traces in a `stackgroup` will only fill to (or be filled to) other","traces in the same group. With multiple `stackgroup`s or some","traces stacked and some not, if fill-linked traces are not already","consecutive, the later ones will be pushed down in the drawing order."].join(" ")},fillcolor:{valType:"color",role:"style",editType:"style",anim:!0,description:["Sets the fill color.","Defaults to a half-transparent variant of the line color,","marker color, or marker line color, whichever is available."].join(" ")},marker:u({symbol:{valType:"enumerated",values:l.symbolList,dflt:"circle",arrayOk:!0,role:"style",editType:"style",description:["Sets the marker symbol type.","Adding 100 is equivalent to appending *-open* to a symbol name.","Adding 200 is equivalent to appending *-dot* to a symbol name.","Adding 300 is equivalent to appending *-open-dot*","or *dot-open* to a symbol name."].join(" ")},opacity:{valType:"number",min:0,max:1,arrayOk:!0,role:"style",editType:"style",anim:!0,description:"Sets the marker opacity."},size:{valType:"number",min:0,dflt:6,arrayOk:!0,role:"style",editType:"calc",anim:!0,description:"Sets the marker size (in px)."},maxdisplayed:{valType:"number",min:0,dflt:0,role:"style",editType:"plot",description:["Sets a maximum number of points to be drawn on the graph.","*0* corresponds to no limit."].join(" ")},sizeref:{valType:"number",dflt:1,role:"style",editType:"calc",description:["Has an effect only if `marker.size` is set to a numerical array.","Sets the scale factor used to determine the rendered size of","marker points. Use with `sizemin` and `sizemode`."].join(" ")},sizemin:{valType:"number",min:0,dflt:0,role:"style",editType:"calc",description:["Has an effect only if `marker.size` is set to a numerical array.","Sets the minimum size (in px) of the rendered marker points."].join(" ")},sizemode:{valType:"enumerated",values:["diameter","area"],dflt:"diameter",role:"info",editType:"calc",description:["Has an effect only if `marker.size` is set to a numerical array.","Sets the rule for which the data in `size` is converted","to pixels."].join(" ")},line:u({width:{valType:"number",min:0,arrayOk:!0,role:"style",editType:"style",anim:!0,description:"Sets the width (in px) of the lines bounding the marker points."},editType:"calc"},i("marker.line",{anim:!0})),gradient:{type:{valType:"enumerated",values:["radial","horizontal","vertical","none"],arrayOk:!0,dflt:"none",role:"style",editType:"calc",description:["Sets the type of gradient used to fill the markers"].join(" ")},color:{valType:"color",arrayOk:!0,role:"style",editType:"calc",description:["Sets the final color of the gradient fill:","the center color for radial, the right for horizontal,","or the bottom for vertical."].join(" ")},editType:"calc"},editType:"calc"},i("marker",{anim:!0})),selected:{marker:{opacity:{valType:"number",min:0,max:1,role:"style",editType:"style",description:"Sets the marker opacity of selected points."},color:{valType:"color",role:"style",editType:"style",description:"Sets the marker color of selected points."},size:{valType:"number",min:0,role:"style",editType:"style",description:"Sets the marker size of selected points."},editType:"style"},textfont:{color:{valType:"color",role:"style",editType:"style",description:"Sets the text font color of selected points."},editType:"style"},editType:"style"},unselected:{marker:{opacity:{valType:"number",min:0,max:1,role:"style",editType:"style",description:"Sets the marker opacity of unselected points, applied only when a selection exists."},color:{valType:"color",role:"style",editType:"style",description:"Sets the marker color of unselected points, applied only when a selection exists."},size:{valType:"number",min:0,role:"style",editType:"style",description:"Sets the marker size of unselected points, applied only when a selection exists."},editType:"style"},textfont:{color:{valType:"color",role:"style",editType:"style",description:"Sets the text font color of unselected points, applied only when a selection exists."},editType:"style"},editType:"style"},textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],dflt:"middle center",arrayOk:!0,role:"style",editType:"calc",description:["Sets the positions of the `text` elements","with respects to the (x,y) coordinates."].join(" ")},textfont:o({editType:"calc",colorEditType:"style",arrayOk:!0,description:"Sets the text font."}),r:{valType:"data_array",editType:"calc",description:["r coordinates in scatter traces are deprecated!","Please switch to the *scatterpolar* trace type.","Sets the radial coordinates","for legacy polar chart only."].join("")},t:{valType:"data_array",editType:"calc",description:["t coordinates in scatter traces are deprecated!","Please switch to the *scatterpolar* trace type.","Sets the angular coordinates","for legacy polar chart only."].join("")}}},EZ4C:function(e,t,r){"use strict";var n=r("/CZE"),a=r("plED"),i=r("gfA5").defaults;e.exports=function(e,t,r,o){var s,l,c=o.type,u=o.attributes,d=o.handleDefaults,f=o.partition||"x",h=t._subplots[c],p=h.length,g=p&&h[0].replace(/\d+$/,"");function v(e,t){return n.coerce(s,l,u,e,t)}for(var m=0;m<p;m++){var y=h[m];s=e[y]?e[y]:e[y]={},l=a.newContainer(t,y,g),v("uirevision",t.uirevision);var x={};x[f]=[m/p,(m+1)/p],i(l,t,v,x),o.id=y,d(s,l,v,o)}}},EsF5:function(e,t,r){"use strict";e.exports=function(){var e,t=[],r=-1,n=!1;function a(e,t){return e?(n=!0,e[t](),n=!1,this):this}return{add:function(e){return n||(t.splice(r+1,t.length-r),t.push(e),r=t.length-1),this},setCallback:function(t){e=t},undo:function(){var n=t[r];return n?(a(n,"undo"),r-=1,e&&e(n.undo),this):this},redo:function(){var n=t[r+1];return n?(a(n,"redo"),r+=1,e&&e(n.redo),this):this},clear:function(){t=[],r=-1},hasUndo:function(){return-1!==r},hasRedo:function(){return r<t.length-1},getCommands:function(){return t},getPreviousCommand:function(){return t[r-1]},getIndex:function(){return r}}}},FHfC:function(e,t,r){"use strict";var n=r("3PNt");e.exports=n&&function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(t){e=!1}return e}()},FLbl:function(e,t,r){"use strict";var n=r("u0qo"),a=r("yzSc").overrideAll,i=r("plED").templatedArray;e.exports=a(i("annotation",{visible:n.visible,x:{valType:"any",role:"info",description:["Sets the annotation's x position."].join(" ")},y:{valType:"any",role:"info",description:["Sets the annotation's y position."].join(" ")},z:{valType:"any",role:"info",description:["Sets the annotation's z position."].join(" ")},ax:{valType:"number",role:"info",description:["Sets the x component of the arrow tail about the arrow head (in pixels)."].join(" ")},ay:{valType:"number",role:"info",description:["Sets the y component of the arrow tail about the arrow head (in pixels)."].join(" ")},xanchor:n.xanchor,xshift:n.xshift,yanchor:n.yanchor,yshift:n.yshift,text:n.text,textangle:n.textangle,font:n.font,width:n.width,height:n.height,opacity:n.opacity,align:n.align,valign:n.valign,bgcolor:n.bgcolor,bordercolor:n.bordercolor,borderpad:n.borderpad,borderwidth:n.borderwidth,showarrow:n.showarrow,arrowcolor:n.arrowcolor,arrowhead:n.arrowhead,startarrowhead:n.startarrowhead,arrowside:n.arrowside,arrowsize:n.arrowsize,startarrowsize:n.startarrowsize,arrowwidth:n.arrowwidth,standoff:n.standoff,startstandoff:n.startstandoff,hovertext:n.hovertext,hoverlabel:n.hoverlabel,captureevents:n.captureevents}),"calc","from-root")},FYS6:function(e,t,r){(t=r("JPst")(!1)).push([e.i,"@keyframes origami-show-1-data-v-3b062c5c{from{transform:rotateZ(60deg) rotateY(-90deg) rotateX(0deg);border-left-color:#31855e}}@keyframes origami-hide-1-data-v-3b062c5c{to{transform:rotateZ(60deg) rotateY(-90deg) rotateX(0deg);border-left-color:#31855e}}@keyframes origami-cycle-1-data-v-3b062c5c{5%{transform:rotateZ(60deg) rotateY(90deg) rotateX(0deg);border-left-color:#31855e}10%,75%{transform:rotateZ(60deg) rotateY(0) rotateX(0deg);border-left-color:#41b883}80%,100%{transform:rotateZ(60deg) rotateY(90deg) rotateX(0deg);border-left-color:#31855e}}@keyframes origami-show-2-data-v-3b062c5c{from{transform:rotateZ(120deg) rotateY(-90deg) rotateX(0deg);border-left-color:#31855e}}@keyframes origami-hide-2-data-v-3b062c5c{to{transform:rotateZ(120deg) rotateY(-90deg) rotateX(0deg);border-left-color:#31855e}}@keyframes origami-cycle-2-data-v-3b062c5c{10%{transform:rotateZ(120deg) rotateY(90deg) rotateX(0deg);border-left-color:#31855e}15%,70%{transform:rotateZ(120deg) rotateY(0) rotateX(0deg);border-left-color:#41b883}75%,100%{transform:rotateZ(120deg) rotateY(90deg) rotateX(0deg);border-left-color:#31855e}}@keyframes origami-show-3-data-v-3b062c5c{from{transform:rotateZ(180deg) rotateY(-90deg) rotateX(0deg);border-left-color:#31855e}}@keyframes origami-hide-3-data-v-3b062c5c{to{transform:rotateZ(180deg) rotateY(-90deg) rotateX(0deg);border-left-color:#31855e}}@keyframes origami-cycle-3-data-v-3b062c5c{15%{transform:rotateZ(180deg) rotateY(90deg) rotateX(0deg);border-left-color:#31855e}20%,65%{transform:rotateZ(180deg) rotateY(0) rotateX(0deg);border-left-color:#41b883}70%,100%{transform:rotateZ(180deg) rotateY(90deg) rotateX(0deg);border-left-color:#31855e}}@keyframes origami-show-4-data-v-3b062c5c{from{transform:rotateZ(240deg) rotateY(-90deg) rotateX(0deg);border-left-color:#31855e}}@keyframes origami-hide-4-data-v-3b062c5c{to{transform:rotateZ(240deg) rotateY(-90deg) rotateX(0deg);border-left-color:#31855e}}@keyframes origami-cycle-4-data-v-3b062c5c{20%{transform:rotateZ(240deg) rotateY(90deg) rotateX(0deg);border-left-color:#31855e}25%,60%{transform:rotateZ(240deg) rotateY(0) rotateX(0deg);border-left-color:#41b883}65%,100%{transform:rotateZ(240deg) rotateY(90deg) rotateX(0deg);border-left-color:#31855e}}@keyframes origami-show-5-data-v-3b062c5c{from{transform:rotateZ(300deg) rotateY(-90deg) rotateX(0deg);border-left-color:#31855e}}@keyframes origami-hide-5-data-v-3b062c5c{to{transform:rotateZ(300deg) rotateY(-90deg) rotateX(0deg);border-left-color:#31855e}}@keyframes origami-cycle-5-data-v-3b062c5c{25%{transform:rotateZ(300deg) rotateY(90deg) rotateX(0deg);border-left-color:#31855e}30%,55%{transform:rotateZ(300deg) rotateY(0) rotateX(0deg);border-left-color:#41b883}60%,100%{transform:rotateZ(300deg) rotateY(90deg) rotateX(0deg);border-left-color:#31855e}}@keyframes origami-show-6-data-v-3b062c5c{from{transform:rotateZ(360deg) rotateY(-90deg) rotateX(0deg);border-left-color:#31855e}}@keyframes origami-hide-6-data-v-3b062c5c{to{transform:rotateZ(360deg) rotateY(-90deg) rotateX(0deg);border-left-color:#31855e}}@keyframes origami-cycle-6-data-v-3b062c5c{30%{transform:rotateZ(360deg) rotateY(90deg) rotateX(0deg);border-left-color:#31855e}35%,50%{transform:rotateZ(360deg) rotateY(0) rotateX(0deg);border-left-color:#41b883}55%,100%{transform:rotateZ(360deg) rotateY(90deg) rotateX(0deg);border-left-color:#31855e}}.spinner[data-v-3b062c5c]{display:flex;justify-content:center;align-items:center}.spinner *[data-v-3b062c5c]{line-height:0;box-sizing:border-box}.spinner-inner[data-v-3b062c5c]{display:block;width:60px;height:68px}.spinner-inner .slice[data-v-3b062c5c]{border-top:18px solid transparent;border-right:none;border-bottom:16px solid transparent;border-left:30px solid #f7484e;position:absolute;top:0px;left:50%;transform-origin:left bottom;border-radius:3px 3px 0 0}.spinner-inner .slice[data-v-3b062c5c]:nth-child(1){transform:rotateZ(60deg) rotateY(0deg) rotateX(0);animation:0.15s linear 0.82s origami-hide-1-data-v-3b062c5c both 1}.spinner-inner .slice[data-v-3b062c5c]:nth-child(2){transform:rotateZ(120deg) rotateY(0deg) rotateX(0);animation:0.15s linear 0.74s origami-hide-2-data-v-3b062c5c both 1}.spinner-inner .slice[data-v-3b062c5c]:nth-child(3){transform:rotateZ(180deg) rotateY(0deg) rotateX(0);animation:0.15s linear 0.66s origami-hide-3-data-v-3b062c5c both 1}.spinner-inner .slice[data-v-3b062c5c]:nth-child(4){transform:rotateZ(240deg) rotateY(0deg) rotateX(0);animation:0.15s linear 0.58s origami-hide-4-data-v-3b062c5c both 1}.spinner-inner .slice[data-v-3b062c5c]:nth-child(5){transform:rotateZ(300deg) rotateY(0deg) rotateX(0);animation:0.15s linear 0.5s origami-hide-5-data-v-3b062c5c both 1}.spinner-inner .slice[data-v-3b062c5c]:nth-child(6){transform:rotateZ(360deg) rotateY(0deg) rotateX(0);animation:0.15s linear 0.42s origami-hide-6-data-v-3b062c5c both 1}.spinner-inner.loading .slice[data-v-3b062c5c]:nth-child(1){transform:rotateZ(60deg) rotateY(90deg) rotateX(0);animation:2s origami-cycle-1-data-v-3b062c5c linear infinite both}.spinner-inner.loading .slice[data-v-3b062c5c]:nth-child(2){transform:rotateZ(120deg) rotateY(90deg) rotateX(0);animation:2s origami-cycle-2-data-v-3b062c5c linear infinite both}.spinner-inner.loading .slice[data-v-3b062c5c]:nth-child(3){transform:rotateZ(180deg) rotateY(90deg) rotateX(0);animation:2s origami-cycle-3-data-v-3b062c5c linear infinite both}.spinner-inner.loading .slice[data-v-3b062c5c]:nth-child(4){transform:rotateZ(240deg) rotateY(90deg) rotateX(0);animation:2s origami-cycle-4-data-v-3b062c5c linear infinite both}.spinner-inner.loading .slice[data-v-3b062c5c]:nth-child(5){transform:rotateZ(300deg) rotateY(90deg) rotateX(0);animation:2s origami-cycle-5-data-v-3b062c5c linear infinite both}.spinner-inner.loading .slice[data-v-3b062c5c]:nth-child(6){transform:rotateZ(360deg) rotateY(90deg) rotateX(0);animation:2s origami-cycle-6-data-v-3b062c5c linear infinite both}\n",""]),e.exports=t},FdIc:function(e,t,r){(t=r("JPst")(!1)).push([e.i,".spinner[data-v-c74a824e]{display:inline-block;animation:rotateplane-data-v-c74a824e 1.2s infinite ease-in-out}@keyframes rotateplane-data-v-c74a824e{0%{transform:perspective(120px) rotateX(0deg) rotateY(0deg)}50%{transform:perspective(120px) rotateX(-180.1deg) rotateY(0deg)}100%{transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg)}}\n",""]),e.exports=t},FhOD:function(e,t,r){"use strict";var n=r("X1yo");r.n(n).a},FltZ:function(e,t,r){var n=r("e1s6");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("03946e06",n,!0,{})},Fyky:function(e,t,r){"use strict";var n=r("/CZE"),a=r("0RW4");e.exports=function(e,t,r,i){i("opacity");var o=i("bgcolor"),s=i("bordercolor"),l=a.opacity(s);i("borderpad");var c=i("borderwidth"),u=i("showarrow");if(i("text",u?" ":r._dfltTitle.annotation),i("textangle"),n.coerceFont(i,"font",r.font),i("width"),i("align"),i("height")&&i("valign"),u){var d,f,h=i("arrowside");-1!==h.indexOf("end")&&(d=i("arrowhead"),f=i("arrowsize")),-1!==h.indexOf("start")&&(i("startarrowhead",d),i("startarrowsize",f)),i("arrowcolor",l?t.bordercolor:a.defaultLine),i("arrowwidth",2*(l&&c||1)),i("standoff"),i("startstandoff")}var p=i("hovertext"),g=r.hoverlabel||{};if(p){var v=i("hoverlabel.bgcolor",g.bgcolor||(a.opacity(o)?a.rgb(o):a.defaultLine)),m=i("hoverlabel.bordercolor",g.bordercolor||a.contrast(v));n.coerceFont(i,"hoverlabel.font",{family:g.font.family,size:g.font.size,color:g.font.color||m})}i("captureevents",!!p)}},G2oM:function(e,t,r){"use strict";var n=r("GbLo"),a=r("/CZE"),i=r("6AZA").BADNUM;e.exports=function(e,t,r,o){var s,l,c,u,d,f;function h(e){if(n(e))return+e}if(t&&t.transpose){for(s=0,d=0;d<e.length;d++)s=Math.max(s,e[d].length);if(0===s)return!1;c=function(e){return e.length},u=function(e,t,r){return(e[r]||[])[t]}}else s=e.length,c=function(e,t){return e[t].length},u=function(e,t,r){return(e[t]||[])[r]};var p=function(e,t,r){return t===i||r===i?i:u(e,t,r)};function g(e){if(t&&"carpet"!==t.type&&"contourcarpet"!==t.type&&e&&"category"===e.type&&t["_"+e._id.charAt(0)].length){var r=e._id.charAt(0),n={},o=t["_"+r+"CategoryMap"]||t[r];for(d=0;d<o.length;d++)n[o[d]]=d;return function(t){var r=n[e._categories[t]];return r+1?r:i}}return a.identity}var v=g(r),m=g(o);o&&"category"===o.type&&(s=o._categories.length);var y=new Array(s);for(d=0;d<s;d++)for(l=r&&"category"===r.type?r._categories.length:c(e,d),y[d]=new Array(l),f=0;f<l;f++)y[d][f]=h(p(e,m(d),v(f)));return y}},G4gu:function(e,t,r){"use strict";var n=r("bljh"),a=r("rhNM");function i(e){var t=e&&e.parentNode;t&&t.removeChild(e)}function o(e,t,r){var n="plotly.js-style-"+e,i=document.getElementById(n);i||((i=document.createElement("style")).setAttribute("id",n),i.appendChild(document.createTextNode("")),document.head.appendChild(i));var o=i.sheet;o.insertRule?o.insertRule(t+"{"+r+"}",0):o.addRule?o.addRule(t,r,0):a.warn("addStyleRule failed")}e.exports={getGraphDiv:function(e){var t;if("string"==typeof e){if(null===(t=document.getElementById(e)))throw new Error("No DOM element with id '"+e+"' exists on the page.");return t}if(null==e)throw new Error("DOM element provided is null or undefined");return e},isPlotDiv:function(e){var t=n.select(e);return t.node()instanceof HTMLElement&&t.size()&&t.classed("js-plotly-plot")},removeElement:i,addStyleRule:function(e,t){o("global",e,t)},addRelatedStyleRule:o,deleteRelatedStyleRule:function(e){var t="plotly.js-style-"+e,r=document.getElementById(t);r&&i(r)}}},G767:function(e,t,r){"use strict";var n=r("bljh"),a=r("GbLo"),i=r("/CZE"),o=r("dVlp"),s=new DOMParser;function l(e){this.container=e.container,this.element=document.createElement("div"),this.update(e.graphInfo,e.buttons),this.container.appendChild(this.element)}var c=l.prototype;c.update=function(e,t){this.graphInfo=e;var r=this.graphInfo._context,n=this.graphInfo._fullLayout,a="modebar-"+n._uid;this.element.setAttribute("id",a),this._uid=a,this.element.className="modebar","hover"===r.displayModeBar&&(this.element.className+=" modebar--hover ease-bg"),"v"===n.modebar.orientation&&(this.element.className+=" vertical",t=t.reverse());var o=n.modebar,s="hover"===r.displayModeBar?".js-plotly-plot .plotly:hover ":"";i.deleteRelatedStyleRule(a),i.addRelatedStyleRule(a,s+"#"+a+" .modebar-group","background-color: "+o.bgcolor),i.addRelatedStyleRule(a,"#"+a+" .modebar-btn .icon path","fill: "+o.color),i.addRelatedStyleRule(a,"#"+a+" .modebar-btn:hover .icon path","fill: "+o.activecolor),i.addRelatedStyleRule(a,"#"+a+" .modebar-btn.active .icon path","fill: "+o.activecolor);var l=!this.hasButtons(t),c=this.hasLogo!==r.displaylogo,u=this.locale!==r.locale;if(this.locale=r.locale,(l||c||u)&&(this.removeAllButtons(),this.updateButtons(t),r.watermark||r.displaylogo)){var d=this.getLogo();r.watermark&&(d.className=d.className+" watermark"),"v"===n.modebar.orientation?this.element.insertBefore(d,this.element.childNodes[0]):this.element.appendChild(d),this.hasLogo=!0}this.updateActiveButton()},c.updateButtons=function(e){var t=this;this.buttons=e,this.buttonElements=[],this.buttonsNames=[],this.buttons.forEach((function(e){var r=t.createGroup();e.forEach((function(e){var n=e.name;if(!n)throw new Error("must provide button 'name' in button config");if(-1!==t.buttonsNames.indexOf(n))throw new Error("button name '"+n+"' is taken");t.buttonsNames.push(n);var a=t.createButton(e);t.buttonElements.push(a),r.appendChild(a)})),t.element.appendChild(r)}))},c.createGroup=function(){var e=document.createElement("div");return e.className="modebar-group",e},c.createButton=function(e){var t=this,r=document.createElement("a");r.setAttribute("rel","tooltip"),r.className="modebar-btn";var a=e.title;void 0===a?a=e.name:"function"==typeof a&&(a=a(this.graphInfo)),(a||0===a)&&r.setAttribute("data-title",a),void 0!==e.attr&&r.setAttribute("data-attr",e.attr);var i=e.val;if(void 0!==i&&("function"==typeof i&&(i=i(this.graphInfo)),r.setAttribute("data-val",i)),"function"!=typeof e.click)throw new Error("must provide button 'click' function in button config");r.addEventListener("click",(function(r){e.click(t.graphInfo,r),t.updateActiveButton(r.currentTarget)})),r.setAttribute("data-toggle",e.toggle||!1),e.toggle&&n.select(r).classed("active",!0);var s=e.icon;return"function"==typeof s?r.appendChild(s()):r.appendChild(this.createIcon(s||o.question)),r.setAttribute("data-gravity",e.gravity||"n"),r},c.createIcon=function(e){var t,r=a(e.height)?Number(e.height):e.ascent-e.descent,n="http://www.w3.org/2000/svg";if(e.path){(t=document.createElementNS(n,"svg")).setAttribute("viewBox",[0,0,e.width,r].join(" ")),t.setAttribute("class","icon");var i=document.createElementNS(n,"path");i.setAttribute("d",e.path),e.transform?i.setAttribute("transform",e.transform):void 0!==e.ascent&&i.setAttribute("transform","matrix(1 0 0 -1 0 "+e.ascent+")"),t.appendChild(i)}e.svg&&(t=s.parseFromString(e.svg,"application/xml").childNodes[0]);return t.setAttribute("height","1em"),t.setAttribute("width","1em"),t},c.updateActiveButton=function(e){var t=this.graphInfo._fullLayout,r=void 0!==e?e.getAttribute("data-attr"):null;this.buttonElements.forEach((function(e){var a=e.getAttribute("data-val")||!0,o=e.getAttribute("data-attr"),s="true"===e.getAttribute("data-toggle"),l=n.select(e);if(s)o===r&&l.classed("active",!l.classed("active"));else{var c=null===o?o:i.nestedProperty(t,o).get();l.classed("active",c===a)}}))},c.hasButtons=function(e){var t=this.buttons;if(!t)return!1;if(e.length!==t.length)return!1;for(var r=0;r<e.length;++r){if(e[r].length!==t[r].length)return!1;for(var n=0;n<e[r].length;n++)if(e[r][n].name!==t[r][n].name)return!1}return!0},c.getLogo=function(){var e=this.createGroup(),t=document.createElement("a");return t.href="https://plotly.com/",t.target="_blank",t.setAttribute("data-title",i._(this.graphInfo,"Produced with Plotly")),t.className="modebar-btn plotlyjsicon modebar-btn--logo",t.appendChild(this.createIcon(o.newplotlylogo)),e.appendChild(t),e},c.removeAllButtons=function(){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);this.hasLogo=!1},c.destroy=function(){i.removeElement(this.container.querySelector(".modebar")),i.deleteRelatedStyleRule(this._uid)},e.exports=function(e,t){var r=e._fullLayout,a=new l({graphInfo:e,container:r._modebardiv.node(),buttons:t});return r._privateplot&&n.select(a.element).append("span").classed("badge-private float--left",!0).text("PRIVATE"),a}},G787:function(e,t,r){"use strict";var n=r("nwId");r.n(n).a},GHb7:function(e,t,r){"use strict";var n=r("JEGg"),a=r("Nx4I"),i=r("g9E0").dashStyle,o=r("0RW4"),s=r("pcRN"),l=r("xMdC").makeEventData,c=r("4htA"),u=c.freeMode,d=c.rectMode,f=c.drawMode,h=c.openMode,p=c.selectMode,g=r("ymS1"),v=r("s02k").handleEllipse,m=r("OyTQ"),y=r("/CZE"),x=r("tos6"),b=r("ffJW"),w=r("PBw4").getFromId,_=r("ghsG"),k=r("o5LV").redrawReglTraces,T=r("0wH6"),M=T.MINSELECT,S=x.filter,A=x.tester,C=r("6Ue+").clearSelect,P=r("rDM+"),O=P.p2r,I=P.axValue,z=P.getTransform;function L(e,t,r,n,a,i,o){var s,l,c,u,d,f,p,v,m,y=t._hoverdata,x=t._fullLayout.clickmode.indexOf("event")>-1,b=[];if(function(e){return e&&Array.isArray(e)&&!0!==e[0].hoverOnBox}(y)){R(e,t,i);var w=function(e,t){var r,n,a=e[0],i=-1,o=[];for(n=0;n<t.length;n++)if(r=t[n],a.fullData._expandedIndex===r.cd[0].trace._expandedIndex){if(!0===a.hoverOnBox)break;void 0!==a.pointNumber?i=a.pointNumber:void 0!==a.binNumber&&(i=a.binNumber,o=a.pointNumbers);break}return{pointNumber:i,pointNumbers:o,searchInfo:r}}(y,s=F(t,r,n,a));if(w.pointNumbers.length>0?function(e,t){var r,n,a,i=[];for(a=0;a<e.length;a++)(r=e[a]).cd[0].trace.selectedpoints&&r.cd[0].trace.selectedpoints.length>0&&i.push(r);if(1===i.length&&i[0]===t.searchInfo&&(n=t.searchInfo.cd[0].trace).selectedpoints.length===t.pointNumbers.length){for(a=0;a<t.pointNumbers.length;a++)if(n.selectedpoints.indexOf(t.pointNumbers[a])<0)return!1;return!0}return!1}(s,w):function(e){var t,r,n,a=0;for(n=0;n<e.length;n++)if(t=e[n],(r=t.cd[0].trace).selectedpoints){if(r.selectedpoints.length>1)return!1;if((a+=r.selectedpoints.length)>1)return!1}return 1===a}(s)&&(f=B(w))){for(o&&o.remove(),m=0;m<s.length;m++)(l=s[m])._module.selectPoints(l,!1);H(t,s),N(i),x&&t.emit("plotly_deselect",null)}else{for(p=e.shiftKey&&(void 0!==f?f:B(w)),c=function(e,t,r){return{pointNumber:e,searchInfo:t,subtract:r}}(w.pointNumber,w.searchInfo,p),u=D(i.selectionDefs.concat([c])),m=0;m<s.length;m++)if(d=V(s[m]._module.selectPoints(s[m],u),s[m]),b.length)for(var _=0;_<d.length;_++)b.push(d[_]);else b=d;if(H(t,s,v={points:b}),c&&i&&i.selectionDefs.push(c),o){var k=i.mergedPolygons,T=h(i.dragmode);g(G(k,T),o,i)}x&&t.emit("plotly_selected",v)}}}function E(e){return"pointNumber"in e&&"searchInfo"in e}function j(e){return{xmin:0,xmax:0,ymin:0,ymax:0,pts:[],contains:function(t,r,n,a){var i=e.searchInfo.cd[0].trace._expandedIndex;return a.cd[0].trace._expandedIndex===i&&n===e.pointNumber},isRect:!1,degenerate:!1,subtract:e.subtract}}function D(e){for(var t=[],r=E(e[0])?0:e[0][0][0],n=r,a=E(e[0])?0:e[0][0][1],i=a,o=0;o<e.length;o++)if(E(e[o]))t.push(j(e[o]));else{var s=x.tester(e[o]);s.subtract=e[o].subtract,t.push(s),r=Math.min(r,s.xmin),n=Math.max(n,s.xmax),a=Math.min(a,s.ymin),i=Math.max(i,s.ymax)}return{xmin:r,xmax:n,ymin:a,ymax:i,pts:[],contains:function(e,r,n,a){for(var i=!1,o=0;o<t.length;o++)t[o].contains(e,r,n,a)&&(i=!1===t[o].subtract);return i},isRect:!1,degenerate:!1}}function R(e,t,r){t._fullLayout._drawing=!1;var n=t._fullLayout,a=r.plotinfo,i=r.dragmode,o=n._lastSelectedSubplot&&n._lastSelectedSubplot===a.id,s=(e.shiftKey||e.altKey)&&!(f(i)&&h(i));o&&s&&a.selection&&a.selection.selectionDefs&&!r.selectionDefs?(r.selectionDefs=a.selection.selectionDefs,r.mergedPolygons=a.selection.mergedPolygons):s&&a.selection||N(r),o||(C(t),n._lastSelectedSubplot=a.id)}function N(e){var t=e.dragmode,r=e.plotinfo,n=e.gd;if(n._fullLayout._activeShapeIndex>=0&&n._fullLayout._deactivateShape(n),f(t)){var i=n._fullLayout._zoomlayer.selectAll(".select-outline-"+r.id);if(i&&n._fullLayout._drawing){var o=m(i,e);o&&a.call("_guiRelayout",n,{shapes:o}),n._fullLayout._drawing=!1}}r.selection={},r.selection.selectionDefs=e.selectionDefs=[],r.selection.mergedPolygons=e.mergedPolygons=[]}function F(e,t,r,n){var a,i,o,s=[],l=t.map((function(e){return e._id})),c=r.map((function(e){return e._id}));for(o=0;o<e.calcdata.length;o++)if(!0===(i=(a=e.calcdata[o])[0].trace).visible&&i._module&&i._module.selectPoints)if(!n||i.subplot!==n&&i.geo!==n)if("splom"===i.type&&i._xaxes[l[0]]&&i._yaxes[c[0]]){var u=f(i._module,a,t[0],r[0]);u.scene=e._fullLayout._splomScenes[i.uid],s.push(u)}else if("sankey"===i.type){var d=f(i._module,a,t[0],r[0]);s.push(d)}else{if(-1===l.indexOf(i.xaxis))continue;if(-1===c.indexOf(i.yaxis))continue;s.push(f(i._module,a,w(e,i.xaxis),w(e,i.yaxis)))}else s.push(f(i._module,a,t[0],r[0]));return s;function f(e,t,r,n){return{_module:e,cd:t,xaxis:r,yaxis:n}}}function B(e){var t=e.searchInfo.cd[0].trace,r=e.pointNumber,n=e.pointNumbers,a=n.length>0?n[0]:r;return!!t.selectedpoints&&t.selectedpoints.indexOf(a)>-1}function H(e,t,r){var n,i,o,s;for(n=0;n<t.length;n++){var l=t[n].cd[0].trace._fullInput,c=e._fullLayout._tracePreGUI[l.uid]||{};void 0===c.selectedpoints&&(c.selectedpoints=l._input.selectedpoints||null)}if(r){var u=r.points||[];for(n=0;n<t.length;n++)(s=t[n].cd[0].trace)._input.selectedpoints=s._fullInput.selectedpoints=[],s._fullInput!==s&&(s.selectedpoints=[]);for(n=0;n<u.length;n++){var d=u[n],f=d.data,h=d.fullData;d.pointIndices?([].push.apply(f.selectedpoints,d.pointIndices),s._fullInput!==s&&[].push.apply(h.selectedpoints,d.pointIndices)):(f.selectedpoints.push(d.pointIndex),s._fullInput!==s&&h.selectedpoints.push(d.pointIndex))}}else for(n=0;n<t.length;n++)delete(s=t[n].cd[0].trace).selectedpoints,delete s._input.selectedpoints,s._fullInput!==s&&delete s._fullInput.selectedpoints;var p=!1;for(n=0;n<t.length;n++){s=(o=(i=t[n]).cd)[0].trace,a.traceIs(s,"regl")&&(p=!0);var g=i._module,v=g.styleOnSelect||g.style;v&&(v(e,o,o[0].node3),o[0].nodeRangePlot3&&v(e,o,o[0].nodeRangePlot3))}p&&(_(e),k(e))}function V(e,t){if(Array.isArray(e))for(var r=t.cd,n=t.cd[0].trace,a=0;a<e.length;a++)e[a]=l(e[a],n,r);return e}function G(e,t){for(var r=[],n=0;n<e.length;n++){r[n]=[];for(var a=0;a<e[n].length;a++){r[n][a]=[],r[n][a][0]=a?"L":"M";for(var i=0;i<e[n][a].length;i++)r[n][a].push(e[n][a][i])}t||r[n].push(["Z",r[n][0][1],r[n][0][2]])}return r}e.exports={prepSelect:function(e,t,r,a,l){var c,m,x,w,_,k,C,P=u(l),E=d(l),j=h(l),B=f(l),Z=p(l),q="drawcircle"===l,U="drawline"===l||q,W=a.gd,Y=W._fullLayout,X=Y._zoomlayer,$=a.element.getBoundingClientRect(),J=a.plotinfo,K=z(J),Q=t-$.left,ee=r-$.top,te=Q,re=ee,ne="M"+Q+","+ee,ae=a.xaxes[0]._length,ie=a.yaxes[0]._length,oe=a.xaxes.concat(a.yaxes),se=e.altKey&&!(f(l)&&j);R(e,W,a),P&&(c=S([[Q,ee]],T.BENDPX));var le=X.selectAll("path.select-outline-"+J.id).data(B?[0]:[1,2]),ce=Y.newshape;le.enter().append("path").attr("class",(function(e){return"select-outline select-outline-"+e+" select-outline-"+J.id})).style(B?{opacity:ce.opacity/2,fill:j?void 0:ce.fillcolor,stroke:ce.line.color,"stroke-dasharray":i(ce.line.dash,ce.line.width),"stroke-width":ce.line.width+"px"}:{}).attr("fill-rule",ce.fillrule).classed("cursor-move",!!B).attr("transform",K).attr("d",ne+"Z");var ue,de=X.append("path").attr("class","zoombox-corners").style({fill:o.background,stroke:o.defaultLine,"stroke-width":1}).attr("transform",K).attr("d","M0,0Z"),fe=Y._uid+T.SELECTID,he=[],pe=F(W,a.xaxes,a.yaxes,a.subplot);function ge(e,t){return e-t}ue=J.fillRangeItems?J.fillRangeItems:E?function(e,t){var r=e.range={};for(_=0;_<oe.length;_++){var n=oe[_],a=n._id.charAt(0);r[n._id]=[O(n,t[a+"min"]),O(n,t[a+"max"])].sort(ge)}}:function(e,t,r){var n=e.lassoPoints={};for(_=0;_<oe.length;_++){var a=oe[_];n[a._id]=r.filtered.map(I(a))}},a.moveFn=function(e,t){te=Math.max(0,Math.min(ae,e+Q)),re=Math.max(0,Math.min(ie,t+ee));var r=Math.abs(te-Q),i=Math.abs(re-ee);if(E){var o,s,l;if(Z){var u=Y.selectdirection;switch(o="any"===u?i<Math.min(.6*r,M)?"h":r<Math.min(.6*i,M)?"v":"d":u){case"h":s=q?ie/2:0,l=ie;break;case"v":s=q?ae/2:0,l=ae}}if(B)switch(Y.newshape.drawdirection){case"vertical":o="h",s=q?ie/2:0,l=ie;break;case"horizontal":o="v",s=q?ae/2:0,l=ae;break;case"ortho":r<i?(o="h",s=ee,l=re):(o="v",s=Q,l=te);break;default:o="d"}"h"===o?((w=U?v(q,[te,s],[te,l]):[[Q,s],[Q,l],[te,l],[te,s]]).xmin=U?te:Math.min(Q,te),w.xmax=U?te:Math.max(Q,te),w.ymin=Math.min(s,l),w.ymax=Math.max(s,l),de.attr("d","M"+w.xmin+","+(ee-M)+"h-4v"+2*M+"h4ZM"+(w.xmax-1)+","+(ee-M)+"h4v"+2*M+"h-4Z")):"v"===o?((w=U?v(q,[s,re],[l,re]):[[s,ee],[s,re],[l,re],[l,ee]]).xmin=Math.min(s,l),w.xmax=Math.max(s,l),w.ymin=U?re:Math.min(ee,re),w.ymax=U?re:Math.max(ee,re),de.attr("d","M"+(Q-M)+","+w.ymin+"v-4h"+2*M+"v4ZM"+(Q-M)+","+(w.ymax-1)+"v4h"+2*M+"v-4Z")):"d"===o&&((w=U?v(q,[Q,ee],[te,re]):[[Q,ee],[Q,re],[te,re],[te,ee]]).xmin=Math.min(Q,te),w.xmax=Math.max(Q,te),w.ymin=Math.min(ee,re),w.ymax=Math.max(ee,re),de.attr("d","M0,0Z"))}else P&&(c.addPt([te,re]),w=c.filtered);a.selectionDefs&&a.selectionDefs.length?(x=function(e,t,r){if(r)return n.difference({regions:e,inverted:!1},{regions:[t],inverted:!1}).regions;return n.union({regions:e,inverted:!1},{regions:[t],inverted:!1}).regions}(a.mergedPolygons,w,se),w.subtract=se,m=D(a.selectionDefs.concat([w]))):(x=[w],m=A(w)),g(G(x,j),le,a),Z&&b.throttle(fe,T.SELECTDELAY,(function(){var e;he=[];var t,r=[];for(_=0;_<pe.length;_++)if(t=(k=pe[_])._module.selectPoints(k,m),r.push(t),e=V(t,k),he.length)for(var n=0;n<e.length;n++)he.push(e[n]);else he=e;H(W,pe,C={points:he}),ue(C,w,c),a.gd.emit("plotly_selecting",C)}))},a.clickFn=function(e,t){if(de.remove(),W._fullLayout._activeShapeIndex>=0)W._fullLayout._deactivateShape(W);else if(!B){var r=Y.clickmode;b.done(fe).then((function(){if(b.clear(fe),2===e){for(le.remove(),_=0;_<pe.length;_++)(k=pe[_])._module.selectPoints(k,!1);H(W,pe),N(a),W.emit("plotly_deselect",null)}else r.indexOf("select")>-1&&L(t,W,a.xaxes,a.yaxes,a.subplot,a,le),"event"===r&&W.emit("plotly_selected",void 0);s.click(W,t)})).catch(y.error)}},a.doneFn=function(){de.remove(),b.done(fe).then((function(){b.clear(fe),a.gd.emit("plotly_selected",C),w&&a.selectionDefs&&(w.subtract=se,a.selectionDefs.push(w),a.mergedPolygons.length=0,[].push.apply(a.mergedPolygons,x)),a.doneFnCompleted&&a.doneFnCompleted(he)})).catch(y.error),B&&N(a)}},clearSelect:C,clearSelectionsCache:N,selectOnClick:L}},GLsQ:function(e,t,r){"use strict";var n=r("/CZE"),a=r("HIIg"),i=r("gfA5").defaults,o=r("plED"),s=r("5azm"),l=r("SbTw"),c=r("2S8E"),u=r("J+Po"),d=r("UAgb");function f(e,t){function r(r,i){return n.coerce(e,t,a.gauge.steps,r,i)}r("color"),r("line.color"),r("line.width"),r("range"),r("thickness")}e.exports={supplyDefaults:function(e,t,r,h){function p(r,i){return n.coerce(e,t,a,r,i)}i(t,h,p),p("mode"),t._hasNumber=-1!==t.mode.indexOf("number"),t._hasDelta=-1!==t.mode.indexOf("delta"),t._hasGauge=-1!==t.mode.indexOf("gauge");var g=p("value");t._range=[0,"number"==typeof g?1.5*g:1];var v,m,y,x,b,w,_=new Array(2);function k(e,t){return n.coerce(y,x,a.gauge,e,t)}function T(e,t){return n.coerce(b,w,a.gauge.axis,e,t)}if(t._hasNumber&&(p("number.valueformat"),p("number.font.color",h.font.color),p("number.font.family",h.font.family),p("number.font.size"),void 0===t.number.font.size&&(t.number.font.size=l.defaultNumberFontSize,_[0]=!0),p("number.prefix"),p("number.suffix"),v=t.number.font.size),t._hasDelta&&(p("delta.font.color",h.font.color),p("delta.font.family",h.font.family),p("delta.font.size"),void 0===t.delta.font.size&&(t.delta.font.size=(t._hasNumber?.5:1)*(v||l.defaultNumberFontSize),_[1]=!0),p("delta.reference",t.value),p("delta.relative"),p("delta.valueformat",t.delta.relative?"2%":""),p("delta.increasing.symbol"),p("delta.increasing.color"),p("delta.decreasing.symbol"),p("delta.decreasing.color"),p("delta.position"),m=t.delta.font.size),t._scaleNumbers=(!t._hasNumber||_[0])&&(!t._hasDelta||_[1])||!1,p("title.font.color",h.font.color),p("title.font.family",h.font.family),p("title.font.size",.25*(v||m||l.defaultNumberFontSize)),p("title.text"),t._hasGauge){(y=e.gauge)||(y={}),x=o.newContainer(t,"gauge"),k("shape"),(t._isBullet="bullet"===t.gauge.shape)||p("title.align","center"),(t._isAngular="angular"===t.gauge.shape)||p("align","center"),k("bgcolor",h.paper_bgcolor),k("borderwidth"),k("bordercolor"),k("bar.color"),k("bar.line.color"),k("bar.line.width"),k("bar.thickness",l.valueThickness*("bullet"===t.gauge.shape?.5:1)),s(y,x,{name:"steps",handleItemDefaults:f}),k("threshold.value"),k("threshold.thickness"),k("threshold.line.width"),k("threshold.line.color"),b={},y&&(b=y.axis||{}),w=o.newContainer(x,"axis"),T("visible"),t._range=T("range",t._range);var M={outerTicks:!0};c(b,w,T,"linear"),d(b,w,T,"linear",M),u(b,w,T,M)}else p("title.align","center"),p("align","center"),t._isAngular=t._isBullet=!1;t._length=null}}},GXgJ:function(e,t,r){"use strict";var n=r("GbLo");e.exports=function(e){var t=e.marker,r=t.sizeref||1,a=t.sizemin||0,i="area"===t.sizemode?function(e){return Math.sqrt(e/r)}:function(e){return e/r};return function(e){var t=i(e/2);return n(t)&&t>0?Math.max(t,a):0}}},GZnn:function(e,t,r){"use strict";var n=r("bljh"),a=r("GbLo"),i=r("u3HJ"),o=r("Nx4I"),s=r("/CZE"),l=r("g9E0"),c=r("0RW4"),u=r("A3kh"),d=r("cqRZ"),f=r("Y9zF").OPPOSITE_SIDE,h=/ [XY][0-9]* /;e.exports={draw:function(e,t,r){var p,g=r.propContainer,v=r.propName,m=r.placeholder,y=r.traceIndex,x=r.avoid||{},b=r.attributes,w=r.transform,_=r.containerGroup,k=e._fullLayout,T=1,M=!1,S=g.title,A=(S&&S.text?S.text:"").trim(),C=S&&S.font?S.font:{},P=C.family,O=C.size,I=C.color;"title.text"===v?p="titleText":-1!==v.indexOf("axis")?p="axisTitleText":v.indexOf(!0)&&(p="colorbarTitleText");var z=e._context.edits[p];""===A?T=0:A.replace(h," % ")===m.replace(h," % ")&&(T=.2,M=!0,z||(A="")),r._meta?A=s.templateString(A,r._meta):k._meta&&(A=s.templateString(A,k._meta));var L=A||z;_||(_=s.ensureSingle(k._infolayer,"g","g-"+t));var E=_.selectAll("text").data(L?[0]:[]);if(E.enter().append("text"),E.text(A).attr("class",t),E.exit().remove(),!L)return _;function j(e){s.syncOrAsync([D,R],e)}function D(t){var r;return w?(r="",w.rotate&&(r+="rotate("+[w.rotate,b.x,b.y]+")"),w.offset&&(r+="translate(0, "+w.offset+")")):r=null,t.attr("transform",r),t.style({"font-family":P,"font-size":n.round(O,2)+"px",fill:c.rgb(I),opacity:T*c.opacity(I),"font-weight":i.fontWeight}).attr(b).call(u.convertToTspans,e),i.previousPromises(e)}function R(e){var t=n.select(e.node().parentNode);if(x&&x.selection&&x.side&&A){t.attr("transform",null);var r=f[x.side],i="left"===x.side||"top"===x.side?-1:1,o=a(x.pad)?x.pad:2,c=l.bBox(t.node()),u={left:0,top:0,right:k.width,bottom:k.height},d=x.maxShift||i*(u[x.side]-c[x.side]),h=0;if(d<0)h=d;else{var p=x.offsetLeft||0,g=x.offsetTop||0;c.left-=p,c.right-=p,c.top-=g,c.bottom-=g,x.selection.each((function(){var e=l.bBox(this);s.bBoxIntersect(c,e,o)&&(h=Math.max(h,i*(e[x.side]-c[r])+o))})),h=Math.min(d,h)}if(h>0||d<0){var v={left:[-h,0],right:[h,0],top:[0,-h],bottom:[0,h]}[x.side];t.attr("transform","translate("+v+")")}}}return E.call(j),z&&(A?E.on(".opacity",null):(T=0,M=!0,E.text(m).on("mouseover.opacity",(function(){n.select(this).transition().duration(d.SHOW_PLACEHOLDER).style("opacity",1)})).on("mouseout.opacity",(function(){n.select(this).transition().duration(d.HIDE_PLACEHOLDER).style("opacity",0)}))),E.call(u.makeEditable,{gd:e}).on("edit",(function(t){void 0!==y?o.call("_guiRestyle",e,v,t,y):o.call("_guiRelayout",e,v,t)})).on("cancel",(function(){this.text(this.attr("data-unformatted")).call(j)})).on("input",(function(e){this.text(e||" ").call(u.positionText,b.x,b.y)}))),E.classed("js-placeholder",M),_}}},GbLo:function(e,t,r){"use strict";var n=r("6bQy");e.exports=function(e){var t=typeof e;if("string"===t){var r=e;if(0===(e=+e)&&n(r))return!1}else if("number"!==t)return!1;return e-e<1}},"GeF/":function(e,t,r){"use strict";var n,a,i,o=r("09xr").mod;function s(e,t,r,n,a,i,o,s){var l=r-e,c=a-e,u=o-a,d=n-t,f=i-t,h=s-i,p=l*h-u*d;if(0===p)return null;var g=(c*h-u*f)/p,v=(c*d-l*f)/p;return v<0||v>1||g<0||g>1?null:{x:e+l*g,y:t+d*g}}function l(e,t,r,n,a){var i=n*e+a*t;if(i<0)return n*n+a*a;if(i>r){var o=n-e,s=a-t;return o*o+s*s}var l=n*t-a*e;return l*l/r}t.segmentsIntersect=s,t.segmentDistance=function(e,t,r,n,a,i,o,c){if(s(e,t,r,n,a,i,o,c))return 0;var u=r-e,d=n-t,f=o-a,h=c-i,p=u*u+d*d,g=f*f+h*h,v=Math.min(l(u,d,p,a-e,i-t),l(u,d,p,o-e,c-t),l(f,h,g,e-a,t-i),l(f,h,g,r-a,n-i));return Math.sqrt(v)},t.getTextLocation=function(e,t,r,s){if(e===a&&s===i||(n={},a=e,i=s),n[r])return n[r];var l=e.getPointAtLength(o(r-s/2,t)),c=e.getPointAtLength(o(r+s/2,t)),u=Math.atan((c.y-l.y)/(c.x-l.x)),d=e.getPointAtLength(o(r,t)),f={x:(4*d.x+l.x+c.x)/6,y:(4*d.y+l.y+c.y)/6,theta:u};return n[r]=f,f},t.clearLocationCache=function(){a=null},t.getVisibleSegment=function(e,t,r){var n,a,i=t.left,o=t.right,s=t.top,l=t.bottom,c=0,u=e.getTotalLength(),d=u;function f(t){var r=e.getPointAtLength(t);0===t?n=r:t===u&&(a=r);var c=r.x<i?i-r.x:r.x>o?r.x-o:0,d=r.y<s?s-r.y:r.y>l?r.y-l:0;return Math.sqrt(c*c+d*d)}for(var h=f(c);h;){if((c+=h+r)>d)return;h=f(c)}for(h=f(d);h;){if(c>(d-=h+r))return;h=f(d)}return{min:c,max:d,len:d-c,total:u,isClosed:0===c&&d===u&&Math.abs(n.x-a.x)<.1&&Math.abs(n.y-a.y)<.1}},t.findPointOnPath=function(e,t,r,n){for(var a,i,o,s=(n=n||{}).pathLength||e.getTotalLength(),l=n.tolerance||.001,c=n.iterationLimit||30,u=e.getPointAtLength(0)[r]>e.getPointAtLength(s)[r]?-1:1,d=0,f=0,h=s;d<c;){if(a=(f+h)/2,o=(i=e.getPointAtLength(a))[r]-t,Math.abs(o)<l)return i;u*o>0?h=a:f=a,d++}return i}},GkA6:function(e,t,r){"use strict";var n=r("bljh"),a=r("GbLo"),i=r("/CZE"),o=i.cleanNumber,s=i.ms2DateTime,l=i.dateTime2ms,c=i.ensureNumber,u=i.isArrayOrTypedArray,d=r("6AZA"),f=d.FP_SAFE,h=d.BADNUM,p=d.LOG_CLIP,g=d.ONEDAY,v=d.ONEHOUR,m=d.ONEMIN,y=d.ONESEC,x=r("PBw4"),b=r("0wH6"),w=b.HOUR_PATTERN,_=b.WEEKDAY_PATTERN;function k(e){return Math.pow(10,e)}function T(e){return null!=e}e.exports=function(e,t){t=t||{};var r=e._id||"x",d=r.charAt(0);function M(t,r){if(t>0)return Math.log(t)/Math.LN10;if(t<=0&&r&&e.range&&2===e.range.length){var n=e.range[0],a=e.range[1];return.5*(n+a-2*p*Math.abs(n-a))}return h}function S(t,r,n,o){var s=l(t,n||e.calendar);if(s===h){if(!a(t))return h;if(t=+t,(o||{}).msUTC)return t;var c=Math.floor(10*i.mod(t+.05,1)),u=Math.round(t-c/10);s=l(new Date(u))+c/10}return s}function A(t,r,n){return s(t,r,n||e.calendar)}function C(t){return e._categories[Math.round(t)]}function P(t){if(T(t)){if(void 0===e._categoriesMap&&(e._categoriesMap={}),void 0!==e._categoriesMap[t])return e._categoriesMap[t];e._categories.push("number"==typeof t?String(t):t);var r=e._categories.length-1;return e._categoriesMap[t]=r,r}return h}function O(t){if(e._categoriesMap)return e._categoriesMap[t]}function I(e){var t=O(e);return void 0!==t?t:a(e)?+e:void 0}function z(e,t,r){return n.round(r+t*e,2)}function L(e,t,r){return(e-r)/t}var E=function(t){return a(t)?z(t,e._m,e._b):h},j=function(t){return L(t,e._m,e._b)};if(e.rangebreaks){var D="y"===d;E=function(t){if(!a(t))return h;var r=e._rangebreaks.length;if(!r)return z(t,e._m,e._b);var n=D;e.range[0]>e.range[1]&&(n=!n);for(var i=n?-1:1,o=i*t,s=0,l=0;l<r;l++){var c=i*e._rangebreaks[l].min,u=i*e._rangebreaks[l].max;if(o<c)break;if(!(o>u)){s=o<(c+u)/2?l:l+1;break}s=l+1}var d=e._B[s]||0;return isFinite(d)?z(t,e._m2,d):0},j=function(t){var r=e._rangebreaks.length;if(!r)return L(t,e._m,e._b);for(var n=0,a=0;a<r&&!(t<e._rangebreaks[a].pmin);a++)t>e._rangebreaks[a].pmax&&(n=a+1);return L(t,e._m2,e._B[n])}}e.c2l="log"===e.type?M:c,e.l2c="log"===e.type?k:c,e.l2p=E,e.p2l=j,e.c2p="log"===e.type?function(e,t){return E(M(e,t))}:E,e.p2c="log"===e.type?function(e){return k(j(e))}:j,-1!==["linear","-"].indexOf(e.type)?(e.d2r=e.r2d=e.d2c=e.r2c=e.d2l=e.r2l=o,e.c2d=e.c2r=e.l2d=e.l2r=c,e.d2p=e.r2p=function(t){return e.l2p(o(t))},e.p2d=e.p2r=j,e.cleanPos=c):"log"===e.type?(e.d2r=e.d2l=function(e,t){return M(o(e),t)},e.r2d=e.r2c=function(e){return k(o(e))},e.d2c=e.r2l=o,e.c2d=e.l2r=c,e.c2r=M,e.l2d=k,e.d2p=function(t,r){return e.l2p(e.d2r(t,r))},e.p2d=function(e){return k(j(e))},e.r2p=function(t){return e.l2p(o(t))},e.p2r=j,e.cleanPos=c):"date"===e.type?(e.d2r=e.r2d=i.identity,e.d2c=e.r2c=e.d2l=e.r2l=S,e.c2d=e.c2r=e.l2d=e.l2r=A,e.d2p=e.r2p=function(t,r,n){return e.l2p(S(t,0,n))},e.p2d=e.p2r=function(e,t,r){return A(j(e),t,r)},e.cleanPos=function(t){return i.cleanDate(t,h,e.calendar)}):"category"===e.type?(e.d2c=e.d2l=P,e.r2d=e.c2d=e.l2d=C,e.d2r=e.d2l_noadd=I,e.r2c=function(t){var r=I(t);return void 0!==r?r:e.fraction2r(.5)},e.l2r=e.c2r=c,e.r2l=I,e.d2p=function(t){return e.l2p(e.r2c(t))},e.p2d=function(e){return C(j(e))},e.r2p=e.d2p,e.p2r=j,e.cleanPos=function(e){return"string"==typeof e&&""!==e?e:c(e)}):"multicategory"===e.type&&(e.r2d=e.c2d=e.l2d=C,e.d2r=e.d2l_noadd=I,e.r2c=function(t){var r=I(t);return void 0!==r?r:e.fraction2r(.5)},e.r2c_just_indices=O,e.l2r=e.c2r=c,e.r2l=I,e.d2p=function(t){return e.l2p(e.r2c(t))},e.p2d=function(e){return C(j(e))},e.r2p=e.d2p,e.p2r=j,e.cleanPos=function(e){return Array.isArray(e)||"string"==typeof e&&""!==e?e:c(e)},e.setupMultiCategory=function(n){var a,o,s=e._traceIndices,l=t._axisMatchGroups;if(l&&l.length&&0===e._categories.length)for(a=0;a<l.length;a++){var c=l[a];if(c[r])for(var f in c)if(f!==r){var h=t[x.id2name(f)];s=s.concat(h._traceIndices)}}var p=[[0,{}],[0,{}]],g=[];for(a=0;a<s.length;a++){var v=n[s[a]];if(d in v){var m=v[d],y=v._length||i.minRowLength(m);if(u(m[0])&&u(m[1]))for(o=0;o<y;o++){var b=m[0][o],w=m[1][o];T(b)&&T(w)&&(g.push([b,w]),b in p[0][1]||(p[0][1][b]=p[0][0]++),w in p[1][1]||(p[1][1][w]=p[1][0]++))}}}for(g.sort((function(e,t){var r=p[0][1],n=r[e[0]]-r[t[0]];if(n)return n;var a=p[1][1];return a[e[1]]-a[t[1]]})),a=0;a<g.length;a++)P(g[a])}),e.fraction2r=function(t){var r=e.r2l(e.range[0]),n=e.r2l(e.range[1]);return e.l2r(r+t*(n-r))},e.r2fraction=function(t){var r=e.r2l(e.range[0]),n=e.r2l(e.range[1]);return(e.r2l(t)-r)/(n-r)},e.cleanRange=function(t,r){r||(r={}),t||(t="range");var n,o,s=i.nestedProperty(e,t).get();if(o=(o="date"===e.type?i.dfltRange(e.calendar):"y"===d?b.DFLTRANGEY:r.dfltRange||b.DFLTRANGEX).slice(),"tozero"!==e.rangemode&&"nonnegative"!==e.rangemode||(o[0]=0),s&&2===s.length)for("date"!==e.type||e.autorange||(s[0]=i.cleanDate(s[0],h,e.calendar),s[1]=i.cleanDate(s[1],h,e.calendar)),n=0;n<2;n++)if("date"===e.type){if(!i.isDateTime(s[n],e.calendar)){e[t]=o;break}if(e.r2l(s[0])===e.r2l(s[1])){var l=i.constrain(e.r2l(s[0]),i.MIN_MS+1e3,i.MAX_MS-1e3);s[0]=e.l2r(l-1e3),s[1]=e.l2r(l+1e3);break}}else{if(!a(s[n])){if(!a(s[1-n])){e[t]=o;break}s[n]=s[1-n]*(n?10:.1)}if(s[n]<-f?s[n]=-f:s[n]>f&&(s[n]=f),s[0]===s[1]){var c=Math.max(1,Math.abs(1e-6*s[0]));s[0]-=c,s[1]+=c}}else i.nestedProperty(e,t).set(o)},e.setScale=function(r){var n=t._size;if(e.overlaying){var a=x.getFromId({_fullLayout:t},e.overlaying);e.domain=a.domain}var i=r&&e._r?"_r":"range",o=e.calendar;e.cleanRange(i);var s,l,c=e.r2l(e[i][0],o),u=e.r2l(e[i][1],o),f="y"===d;if((f?(e._offset=n.t+(1-e.domain[1])*n.h,e._length=n.h*(e.domain[1]-e.domain[0]),e._m=e._length/(c-u),e._b=-e._m*u):(e._offset=n.l+e.domain[0]*n.w,e._length=n.w*(e.domain[1]-e.domain[0]),e._m=e._length/(u-c),e._b=-e._m*c),e._rangebreaks=[],e._lBreaks=0,e._m2=0,e._B=[],e.rangebreaks)&&(e._rangebreaks=e.locateBreaks(Math.min(c,u),Math.max(c,u)),e._rangebreaks.length)){for(s=0;s<e._rangebreaks.length;s++)l=e._rangebreaks[s],e._lBreaks+=Math.abs(l.max-l.min);var h=f;c>u&&(h=!h),h&&e._rangebreaks.reverse();var p=h?-1:1;for(e._m2=p*e._length/(Math.abs(u-c)-e._lBreaks),e._B.push(-e._m2*(f?u:c)),s=0;s<e._rangebreaks.length;s++)l=e._rangebreaks[s],e._B.push(e._B[e._B.length-1]-p*e._m2*(l.max-l.min));for(s=0;s<e._rangebreaks.length;s++)(l=e._rangebreaks[s]).pmin=E(l.min),l.pmax=E(l.max)}if(!isFinite(e._m)||!isFinite(e._b)||e._length<0)throw t._replotting=!1,new Error("Something went wrong with axis scaling")},e.maskBreaks=function(t){for(var r,n,a,s,l,c=e.rangebreaks||[],u=0;u<c.length;u++){var d=c[u];if(d.enabled)if(d.bounds){var f=d.pattern;switch(n=(r=i.simpleMap(d.bounds,f?o:e.d2c))[0],a=r[1],f){case _:s=(l=new Date(t)).getUTCDay(),n>a&&(a+=7,s<n&&(s+=7));break;case w:s=(l=new Date(t)).getUTCHours()+(l.getUTCMinutes()/60+l.getUTCSeconds()/3600+l.getUTCMilliseconds()/36e5),n>a&&(a+=24,s<n&&(s+=24));break;case"":s=t}if(s>=n&&s<a)return h}else for(var p=i.simpleMap(d.values,e.d2c).sort(i.sorterAsc),g=0;g<p.length;g++)if(a=(n=p[g])+d.dvalue,t>=n&&t<a)return h}return t},e.locateBreaks=function(t,r){var n,a,s,l,c=[];if(!e.rangebreaks)return c;var u=e.rangebreaks.slice().sort((function(e,t){return e.pattern===_&&t.pattern===w?-1:t.pattern===_&&e.pattern===w?1:0})),d=function(e,n){if((e=i.constrain(e,t,r))!==(n=i.constrain(n,t,r))){for(var a=!0,o=0;o<c.length;o++){var s=c[o];e<s.max&&n>=s.min&&(e<s.min&&(s.min=e),n>s.max&&(s.max=n),a=!1)}a&&c.push({min:e,max:n})}};for(n=0;n<u.length;n++){var f=u[n];if(f.enabled)if(f.bounds){var h=t,p=r;f.pattern&&(h=Math.floor(h)),s=(a=i.simpleMap(f.bounds,f.pattern?o:e.r2l))[0],l=a[1];var x,b,k=new Date(h);switch(f.pattern){case _:b=7*g,x=(l-s+(l<s?7:0))*g,h+=s*g-(k.getUTCDay()*g+k.getUTCHours()*v+k.getUTCMinutes()*m+k.getUTCSeconds()*y+k.getUTCMilliseconds());break;case w:b=g,x=(l-s+(l<s?24:0))*v,h+=s*v-(k.getUTCHours()*v+k.getUTCMinutes()*m+k.getUTCSeconds()*y+k.getUTCMilliseconds());break;default:h=Math.min(a[0],a[1]),x=b=(p=Math.max(a[0],a[1]))-h}for(var T=h;T<p;T+=b)d(T,T+x)}else for(var M=i.simpleMap(f.values,e.d2c),S=0;S<M.length;S++)d(s=M[S],l=s+f.dvalue)}return c.sort((function(e,t){return e.min-t.min})),c},e.makeCalcdata=function(t,r,n){var a,o,s,l,c=e.type,u="date"===c&&t[r+"calendar"];if(r in t){if(a=t[r],l=t._length||i.minRowLength(a),i.isTypedArray(a)&&("linear"===c||"log"===c)){if(l===a.length)return a;if(a.subarray)return a.subarray(0,l)}if("multicategory"===c)return function(e,t){for(var r=new Array(t),n=0;n<t;n++){var a=(e[0]||[])[n],i=(e[1]||[])[n];r[n]=O([a,i])}return r}(a,l);for(o=new Array(l),s=0;s<l;s++)o[s]=e.d2c(a[s],0,u,n)}else{var d=r+"0"in t?e.d2c(t[r+"0"],0,u):0,f=t["d"+r]?Number(t["d"+r]):1;for(a=t[{x:"y",y:"x"}[r]],l=t._length||a.length,o=new Array(l),s=0;s<l;s++)o[s]=d+s*f}if(e.rangebreaks)for(s=0;s<l;s++)o[s]=e.maskBreaks(o[s]);return o},e.isValidRange=function(t){return Array.isArray(t)&&2===t.length&&a(e.r2l(t[0]))&&a(e.r2l(t[1]))},e.isPtWithinRange=function(t,r){var n=e.c2l(t[d],null,r),a=e.r2l(e.range[0]),i=e.r2l(e.range[1]);return a<i?a<=n&&n<=i:i<=n&&n<=a},e.clearCalc=function(){var n=function(){e._categories=[],e._categoriesMap={}},a=t._axisMatchGroups;if(a&&a.length){for(var i=!1,o=0;o<a.length;o++){var s=a[o];if(s[r]){i=!0;var l=null,c=null;for(var u in s){var d=t[x.id2name(u)];if(d._categories){l=d._categories,c=d._categoriesMap;break}}l&&c?(e._categories=l,e._categoriesMap=c):n();break}}i||n()}else n();if(e._initialCategories)for(var f=0;f<e._initialCategories.length;f++)P(e._initialCategories[f])},e.sortByInitialCategories=function(){var n=[];if(e._categories=[],e._categoriesMap={},e._initialCategories)for(var a=0;a<e._initialCategories.length;a++)P(e._initialCategories[a]);n=n.concat(e._traceIndices);var i=e._matchGroup;for(var o in i)if(r!==o){var s=t[x.id2name(o)];s._categories=e._categories,s._categoriesMap=e._categoriesMap,n=n.concat(s._traceIndices)}return n};var R=t._d3locale;"date"===e.type&&(e._dateFormat=R?R.timeFormat.utc:n.time.format.utc,e._extraFormat=t._extraFormat),e._separators=t.separators,e._numFormat=R?R.numberFormat:n.format,delete e._minDtick,delete e._forceTick0}},Gl7E:function(e,t,r){"use strict";e.exports={TEXTPAD:3,eventDataKeys:["value","label"]}},Guo4:function(e,t,r){"use strict";var n=r("bljh"),a=r("pcRN"),i=r("Tv4R"),o=r("DzeQ"),s=r("lnYW").makeDragBox,l=r("0wH6").DRAGGERSIZE;t.initInteractions=function(e){var r=e._fullLayout;if(e._context.staticPlot)n.select(e).selectAll(".drag").remove();else if(r._has("cartesian")||r._has("splom")){Object.keys(r._plots||{}).sort((function(e,t){if((r._plots[e].mainplot&&!0)===(r._plots[t].mainplot&&!0)){var n=e.split("y"),a=t.split("y");return n[0]===a[0]?Number(n[1]||1)-Number(a[1]||1):Number(n[0]||1)-Number(a[0]||1)}return r._plots[e].mainplot?1:-1})).forEach((function(t){var n=r._plots[t],o=n.xaxis,c=n.yaxis;if(!n.mainplot){var u=s(e,n,o._offset,c._offset,o._length,c._length,"ns","ew");u.onmousemove=function(r){e._fullLayout._rehover=function(){e._fullLayout._hoversubplot===t&&e._fullLayout._plots[t]&&a.hover(e,r,t)},a.hover(e,r,t),e._fullLayout._lasthover=u,e._fullLayout._hoversubplot=t},u.onmouseout=function(t){e._dragging||(e._fullLayout._hoversubplot=null,i.unhover(e,t))},e._context.showAxisDragHandles&&(s(e,n,o._offset-l,c._offset-l,l,l,"n","w"),s(e,n,o._offset+o._length,c._offset-l,l,l,"n","e"),s(e,n,o._offset-l,c._offset+c._length,l,l,"s","w"),s(e,n,o._offset+o._length,c._offset+c._length,l,l,"s","e"))}if(e._context.showAxisDragHandles){if(t===o._mainSubplot){var d=o._mainLinePosition;"top"===o.side&&(d-=l),s(e,n,o._offset+.1*o._length,d,.8*o._length,l,"","ew"),s(e,n,o._offset,d,.1*o._length,l,"","w"),s(e,n,o._offset+.9*o._length,d,.1*o._length,l,"","e")}if(t===c._mainSubplot){var f=c._mainLinePosition;"right"!==c.side&&(f-=l),s(e,n,f,c._offset+.1*c._length,l,.8*c._length,"ns",""),s(e,n,f,c._offset+.9*c._length,l,.1*c._length,"s",""),s(e,n,f,c._offset,l,.1*c._length,"n","")}}}));var o=r._hoverlayer.node();o.onmousemove=function(t){t.target=e._fullLayout._lasthover,a.hover(e,t,r._hoversubplot)},o.onclick=function(t){t.target=e._fullLayout._lasthover,a.click(e,t)},o.onmousedown=function(t){e._fullLayout._lasthover.onmousedown(t)},t.updateFx(e)}},t.updateFx=function(e){var t=e._fullLayout,r="pan"===t.dragmode?"move":"crosshair";o(t._draggers,r)}},HAuI:function(e,t,r){"use strict";var n=r("/CZE"),a=r("jzia"),i=r("WEQY"),o=r("TGam");e.exports={moduleType:"component",name:"rangeslider",schema:{subplots:{xaxis:{rangeslider:n.extendFlat({},a,{yaxis:i})}}},layoutAttributes:r("jzia"),handleDefaults:r("axA2"),calcAutorange:r("TNIG"),draw:r("ix2X"),isVisible:o.isVisible,makeData:o.makeData,autoMarginOpts:o.autoMarginOpts}},HByh:function(e,t,r){"use strict";var n=r("/CZE"),a=r("0RW4"),i=r("Nx4I"),o=r("B28u"),s=r("kQMp"),l=r("PBw4").getAxisGroup,c=r("+1rr"),u=n.coerceFont;function d(e,t,r,n){var a=t.orientation,i=t[{v:"x",h:"y"}[a]+"axis"],o=l(r,i)+a,s=r._alignmentOpts||{},c=n("alignmentgroup"),u=s[o];u||(u=s[o]={});var d=u[c];d?d.traces.push(t):d=u[c]={traces:[t],alignmentIndex:Object.keys(u).length,offsetGroups:{}};var f=n("offsetgroup"),h=d.offsetGroups,p=h[f];f&&(p||(p=h[f]={offsetIndex:Object.keys(h).length}),t._offsetIndex=p.offsetIndex)}function f(e,t,r,a,i,o){var s=!(!1===(o=o||{}).moduleHasSelected),l=!(!1===o.moduleHasUnselected),c=!(!1===o.moduleHasConstrain),d=!(!1===o.moduleHasCliponaxis),f=!(!1===o.moduleHasTextangle),h=!(!1===o.moduleHasInsideanchor),p=!!o.hasPathbar,g=Array.isArray(i)||"auto"===i,v=g||"inside"===i,m=g||"outside"===i;if(v||m){var y=u(a,"textfont",r.font),x=n.extendFlat({},y),b=!(e.textfont&&e.textfont.color);if(b&&delete x.color,u(a,"insidetextfont",x),p){var w=n.extendFlat({},y);b&&delete w.color,u(a,"pathbar.textfont",w)}m&&u(a,"outsidetextfont",y),s&&a("selected.textfont.color"),l&&a("unselected.textfont.color"),c&&a("constraintext"),d&&a("cliponaxis"),f&&a("textangle"),a("texttemplate")}v&&h&&a("insidetextanchor")}e.exports={supplyDefaults:function(e,t,r,l){function u(r,a){return n.coerce(e,t,c,r,a)}if(o(e,t,l,u)){u("orientation",t.x&&!t.y?"h":"v"),u("base"),u("offset"),u("width"),u("text"),u("hovertext"),u("hovertemplate");var d=u("textposition");f(e,t,l,u,d,{moduleHasSelected:!0,moduleHasUnselected:!0,moduleHasConstrain:!0,moduleHasCliponaxis:!0,moduleHasTextangle:!0,moduleHasInsideanchor:!0}),s(e,t,u,r,l);var h=(t.marker.line||{}).color,p=i.getComponentMethod("errorbars","supplyDefaults");p(e,t,h||a.defaultLine,{axis:"y"}),p(e,t,h||a.defaultLine,{axis:"x",inherit:"y"}),n.coerceSelectionMarkerOpacity(t,u)}else t.visible=!1},crossTraceDefaults:function(e,t){var r;function a(e){return n.coerce(r._input,r,c,e)}if("group"===t.barmode)for(var i=0;i<e.length;i++)"bar"===(r=e[i]).type&&(r._input,d(0,r,t,a))},handleGroupingDefaults:d,handleText:f}},HIIg:function(e,t,r){"use strict";var n=r("kJIm").extendFlat,a=r("kJIm").extendDeep,i=r("yzSc").overrideAll,o=r("mEVB"),s=r("37PH"),l=r("gfA5").attributes,c=r("15jM"),u=r("plED").templatedArray,d=r("uM7j"),f=r("eN+q").FORMAT_LINK,h=o({editType:"plot",colorEditType:"plot"}),p={color:{valType:"color",editType:"plot",role:"info",description:["Sets the background color of the arc."].join(" ")},line:{color:{valType:"color",role:"info",dflt:s.defaultLine,editType:"plot",description:["Sets the color of the line enclosing each sector."].join(" ")},width:{valType:"number",role:"info",min:0,dflt:0,editType:"plot",description:["Sets the width (in px) of the line enclosing each sector."].join(" ")},editType:"calc"},thickness:{valType:"number",role:"info",min:0,max:1,dflt:1,editType:"plot",description:["Sets the thickness of the bar as a fraction of the total thickness of the gauge."].join(" ")},editType:"calc"},g={valType:"info_array",role:"info",items:[{valType:"number",editType:"plot"},{valType:"number",editType:"plot"}],editType:"plot",description:["Sets the range of this axis."].join(" ")},v=u("step",a({},p,{range:g}));e.exports={mode:{valType:"flaglist",editType:"calc",role:"info",flags:["number","delta","gauge"],dflt:"number",description:["Determines how the value is displayed on the graph.","`number` displays the value numerically in text.","`delta` displays the difference to a reference value in text.","Finally, `gauge` displays the value graphically on an axis."].join(" ")},value:{valType:"number",editType:"calc",role:"info",anim:!0,description:["Sets the number to be displayed."].join(" ")},align:{valType:"enumerated",values:["left","center","right"],role:"info",editType:"plot",description:["Sets the horizontal alignment of the `text` within the box.","Note that this attribute has no effect if an angular gauge is displayed:","in this case, it is always centered"].join(" ")},domain:l({name:"indicator",trace:!0,editType:"calc"}),title:{text:{valType:"string",role:"info",editType:"plot",description:["Sets the title of this indicator."].join(" ")},align:{valType:"enumerated",values:["left","center","right"],role:"info",editType:"plot",description:["Sets the horizontal alignment of the title.","It defaults to `center` except for bullet charts","for which it defaults to right."].join(" ")},font:n({},h,{description:["Set the font used to display the title"].join(" ")}),editType:"plot"},number:{valueformat:{valType:"string",dflt:"",role:"info",editType:"plot",description:["Sets the value formatting rule using d3 formatting mini-language","which is similar to those of Python. See",f].join(" ")},font:n({},h,{description:["Set the font used to display main number"].join(" ")}),prefix:{valType:"string",dflt:"",role:"info",editType:"plot",description:["Sets a prefix appearing before the number."].join(" ")},suffix:{valType:"string",dflt:"",role:"info",editType:"plot",description:["Sets a suffix appearing next to the number."].join(" ")},editType:"plot"},delta:{reference:{valType:"number",role:"info",editType:"calc",description:["Sets the reference value to compute the delta.","By default, it is set to the current value."].join(" ")},position:{valType:"enumerated",values:["top","bottom","left","right"],role:"info",dflt:"bottom",editType:"plot",description:["Sets the position of delta with respect to the number."].join(" ")},relative:{valType:"boolean",editType:"plot",role:"info",dflt:!1,description:["Show relative change"].join(" ")},valueformat:{valType:"string",role:"info",editType:"plot",description:["Sets the value formatting rule using d3 formatting mini-language","which is similar to those of Python. See",f].join(" ")},increasing:{symbol:{valType:"string",role:"info",dflt:d.INCREASING.SYMBOL,editType:"plot",description:["Sets the symbol to display for increasing value"].join(" ")},color:{valType:"color",role:"info",dflt:d.INCREASING.COLOR,editType:"plot",description:["Sets the color for increasing value."].join(" ")},editType:"plot"},decreasing:{symbol:{valType:"string",role:"info",dflt:d.DECREASING.SYMBOL,editType:"plot",description:["Sets the symbol to display for increasing value"].join(" ")},color:{valType:"color",role:"info",dflt:d.DECREASING.COLOR,editType:"plot",description:["Sets the color for increasing value."].join(" ")},editType:"plot"},font:n({},h,{description:["Set the font used to display the delta"].join(" ")}),editType:"calc"},gauge:{shape:{valType:"enumerated",editType:"plot",role:"info",dflt:"angular",values:["angular","bullet"],description:["Set the shape of the gauge"].join(" ")},bar:a({},p,{color:{dflt:"green"},description:["Set the appearance of the gauge's value"].join(" ")}),bgcolor:{valType:"color",role:"info",editType:"plot",description:"Sets the gauge background color."},bordercolor:{valType:"color",dflt:s.defaultLine,role:"info",editType:"plot",description:"Sets the color of the border enclosing the gauge."},borderwidth:{valType:"number",min:0,dflt:1,role:"info",editType:"plot",description:"Sets the width (in px) of the border enclosing the gauge."},axis:i({range:g,visible:n({},c.visible,{dflt:!0}),tickmode:c.tickmode,nticks:c.nticks,tick0:c.tick0,dtick:c.dtick,tickvals:c.tickvals,ticktext:c.ticktext,ticks:n({},c.ticks,{dflt:"outside"}),ticklen:c.ticklen,tickwidth:c.tickwidth,tickcolor:c.tickcolor,showticklabels:c.showticklabels,tickfont:o({description:"Sets the color bar's tick label font"}),tickangle:c.tickangle,tickformat:c.tickformat,tickformatstops:c.tickformatstops,tickprefix:c.tickprefix,showtickprefix:c.showtickprefix,ticksuffix:c.ticksuffix,showticksuffix:c.showticksuffix,separatethousands:c.separatethousands,exponentformat:c.exponentformat,showexponent:c.showexponent,editType:"plot"},"plot"),steps:v,threshold:{line:{color:n({},p.line.color,{description:["Sets the color of the threshold line."].join(" ")}),width:n({},p.line.width,{dflt:1,description:["Sets the width (in px) of the threshold line."].join(" ")}),editType:"plot"},thickness:n({},p.thickness,{dflt:.85,description:["Sets the thickness of the threshold line as a fraction of the thickness of the gauge."].join(" ")}),value:{valType:"number",editType:"calc",dflt:!1,role:"info",description:["Sets a treshold value drawn as a line."].join(" ")},editType:"plot"},description:"The gauge of the Indicator plot.",editType:"plot"}}},HIXJ:function(e,t,r){var n=r("PIoj");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("28ac6a9b",n,!0,{})},HQzd:function(e,t,r){(t=r("JPst")(!1)).push([e.i,".spinner[data-v-b11f679c]{animation:circle-rotator-data-v-b11f679c 1.4s linear infinite}.spinner *[data-v-b11f679c]{line-height:0;box-sizing:border-box}@keyframes circle-rotator-data-v-b11f679c{0%{transform:rotate(0deg)}100%{transform:rotate(270deg)}}.path[data-v-b11f679c]{stroke-dasharray:187;stroke-dashoffset:0;transform-origin:center;animation:circle-dash-data-v-b11f679c 1.4s ease-in-out infinite,circle-colors-data-v-b11f679c 5.6s ease-in-out infinite}@keyframes circle-colors-data-v-b11f679c{0%{stroke:#35495e}25%{stroke:#DE3E35}50%{stroke:#F7C223}75%{stroke:#41b883}100%{stroke:#35495e}}@keyframes circle-dash-data-v-b11f679c{0%{stroke-dashoffset:187}50%{stroke-dashoffset:46.75;transform:rotate(135deg)}100%{stroke-dashoffset:187;transform:rotate(450deg)}}\n",""]),e.exports=t},HXRY:function(e,t,r){(t=r("JPst")(!1)).push([e.i,".spinner[data-v-f66ac8a0]{display:flex;justify-content:center;align-items:center;line-height:0}.spinner *[data-v-f66ac8a0]{line-height:0;box-sizing:border-box}.spinner-inner[data-v-f66ac8a0]{position:relative;width:75px;height:75px}.load3-center[data-v-f66ac8a0]{display:inline-block;position:absolute;background:#41b883;transform:rotate(45deg);height:30px;width:30px;left:23px;top:23px;border-radius:3px;animation:rotate-square-5-pulse-data-v-f66ac8a0 1s ease infinite}.load3[data-v-f66ac8a0]{display:inline-block;position:relative;width:75px;height:75px;transform:rotate(45deg)}.load3[data-v-f66ac8a0]:after,.load3[data-v-f66ac8a0]:before{position:absolute;content:'';height:10px;width:10px;display:block;top:0;border-radius:3px;background:#41b883;animation-delay:-.5s}.load3[data-v-f66ac8a0]:after{right:0;animation:rotate-square-5-square-tr-data-v-f66ac8a0 2s ease infinite;animation-delay:.125s}.load3[data-v-f66ac8a0]:before{animation:rotate-square-5-square-tl-data-v-f66ac8a0 2s ease infinite;animation-delay:.125s}.load3.two[data-v-f66ac8a0]{position:relative;top:-75px}.load3.two[data-v-f66ac8a0]:after,.load3.two[data-v-f66ac8a0]:before{bottom:0;top:initial}.load3.two[data-v-f66ac8a0]:after{animation:rotate-square-5-square-br-data-v-f66ac8a0 2s ease infinite;animation-direction:reverse}.load3.two[data-v-f66ac8a0]:before{animation:rotate-square-5-square-bl-data-v-f66ac8a0 2s ease infinite;animation-direction:reverse}@keyframes rotate-square-5-square-tl-data-v-f66ac8a0{0%{transform:translate(0, 0)}25%{transform:translate(0, 62.5px)}50%{transform:translate(62.5px, 62.5px)}75%{transform:translate(62.5px, 0)}}@keyframes rotate-square-5-square-bl-data-v-f66ac8a0{0%{transform:translate(0, 0)}25%{transform:translate(0, -62.5px)}50%{transform:translate(62.5px, -62.5px)}75%{transform:translate(62.5px, 0)}}@keyframes rotate-square-5-square-tr-data-v-f66ac8a0{0%{transform:translate(0, 0)}25%{transform:translate(-62.5px, 0)}50%{transform:translate(-62.5px, 62.5px)}75%{transform:translate(0, 62.5px)}}@keyframes rotate-square-5-square-br-data-v-f66ac8a0{0%{transform:translate(0, 0)}25%{transform:translate(-62.5px, 0)}50%{transform:translate(-62.5px, -62.5px)}75%{transform:translate(0, -62.5px)}}@keyframes rotate-square-5-pulse-data-v-f66ac8a0{0%,100%{transform:scale(1) rotate(45deg)}75%{transform:scale(0.25) rotate(45deg)}}\n",""]),e.exports=t},Hbft:function(e,t,r){"use strict";var n=r("/CZE"),a=r("IVx0").hasColorscale,i=r("IVx0").extractOpts;e.exports=function(e,t){function r(e,t){var r=e["_"+t];void 0!==r&&(e[t]=r)}function o(e,a){var o=a.container?n.nestedProperty(e,a.container).get():e;if(o)if(o.coloraxis)o._colorAx=t[o.coloraxis];else{var s=i(o),l=s.auto;(l||void 0===s.min)&&r(o,a.min),(l||void 0===s.max)&&r(o,a.max),s.autocolorscale&&r(o,"colorscale")}}for(var s=0;s<e.length;s++){var l=e[s],c=l._module.colorbar;if(c)if(Array.isArray(c))for(var u=0;u<c.length;u++)o(l,c[u]);else o(l,c);a(l,"marker.line")&&o(l,{container:"marker.line",min:"cmin",max:"cmax"})}for(var d in t._colorAxes)o(t[d],{min:"cmin",max:"cmax"})}},HgMN:function(e,t,r){"use strict";e.exports={moduleType:"locale",name:"en-US",dictionary:{"Click to enter Colorscale title":"Click to enter Colorscale title"},format:{date:"%m/%d/%Y"}}},HhDa:function(e,t,r){},HpW2:function(e,t,r){var n=r("9gnF");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("0ecadc74",n,!0,{})},Hqa2:function(e,t,r){"use strict";e.exports={moduleType:"locale",name:"en",dictionary:{"Click to enter Colorscale title":"Click to enter Colourscale title"},format:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],periods:["AM","PM"],dateTime:"%a %b %e %X %Y",date:"%d/%m/%Y",time:"%H:%M:%S",decimal:".",thousands:",",grouping:[3],currency:["$",""],year:"%Y",month:"%b %Y",dayMonth:"%b %-d",dayMonthYear:"%b %-d, %Y"}}},HtwH:function(e,t,r){var n=r("sNp6");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("454ca3c9",n,!0,{})},I23g:function(e,t,r){"use strict";var n=r("Nx4I"),a=r("/CZE"),i=r("BkK/"),o=r("s02k").readPaths,s=r("ymS1"),l=r("6Ue+").clearOutlineControllers,c=r("0RW4"),u=r("g9E0"),d=r("plED").arrayEditor,f=r("Tv4R"),h=r("DzeQ"),p=r("2FgJ"),g=r("/cea");function v(e){var t=e._fullLayout;for(var r in t._shapeUpperLayer.selectAll("path").remove(),t._shapeLowerLayer.selectAll("path").remove(),t._plots){var n=t._plots[r].shapelayer;n&&n.selectAll("path").remove()}for(var a=0;a<t.shapes.length;a++)t.shapes[a].visible&&x(e,a)}function m(e){return!!e._fullLayout._drawing}function y(e){return!e._context.edits.shapePosition}function x(e,t){e._fullLayout._paperdiv.selectAll('.shapelayer [data-index="'+t+'"]').remove();var r=g.makeOptionsAndPlotinfo(e,t),l=r.options,x=r.plotinfo;if(l._input&&!1!==l.visible)if("below"!==l.layer)T(e._fullLayout._shapeUpperLayer);else if("paper"===l.xref||"paper"===l.yref)T(e._fullLayout._shapeLowerLayer);else{if(x._hadPlotinfo)T((x.mainplotinfo||x).shapelayer);else T(e._fullLayout._shapeLowerLayer)}function T(r){var T=w(e,l),M={"data-index":t,"fill-rule":l.fillrule,d:T},S=l.opacity,A=l.fillcolor,C=l.line.width?l.line.color:"rgba(0,0,0,0)",P=l.line.width,O=l.line.dash;P||!0!==l.editable||(P=5,O="solid");var I="Z"!==T[T.length-1],z=y(e)&&l.editable&&e._fullLayout._activeShapeIndex===t;z&&(A=I?"rgba(0,0,0,0)":e._fullLayout.activeshape.fillcolor,S=e._fullLayout.activeshape.opacity);var L,E=r.append("path").attr(M).style("opacity",S).call(c.stroke,C).call(c.fill,A).call(u.dashLine,O,P);if(b(E,e,l),(z||e._context.edits.shapePosition)&&(L=d(e.layout,"shapes",l)),z){E.style({cursor:"move"});var j={element:E.node(),plotinfo:x,gd:e,editHelpers:L,isActiveShape:!0},D=o(T,e);s(D,E,j)}else e._context.edits.shapePosition?function(e,t,r,o,s,l){var c,d,v,y,x,k,T,M,S,A,C,P,O,I,z,L,E="pixel"===r.xsizemode,j="pixel"===r.ysizemode,D="line"===r.type,R="path"===r.type,N=l.modifyItem,F=i.getFromId(e,r.xref),B=i.getFromId(e,r.yref),H=g.getDataToPixel(e,F),V=g.getDataToPixel(e,B,!0),G=g.getPixelToData(e,F),Z=g.getPixelToData(e,B,!0),q=D?function(){var e=Math.max(r.line.width,10),n=s.append("g").attr("data-index",o);n.append("path").attr("d",t.attr("d")).style({cursor:"move","stroke-width":e,"stroke-opacity":"0"});var a={"fill-opacity":"0"},i=Math.max(e/2,10);return n.append("circle").attr({"data-line-point":"start-point",cx:E?H(r.xanchor)+r.x0:H(r.x0),cy:j?V(r.yanchor)-r.y0:V(r.y0),r:i}).style(a).classed("cursor-grab",!0),n.append("circle").attr({"data-line-point":"end-point",cx:E?H(r.xanchor)+r.x1:H(r.x1),cy:j?V(r.yanchor)-r.y1:V(r.y1),r:i}).style(a).classed("cursor-grab",!0),n}():t,U={element:q.node(),gd:e,prepFn:function(n){if(m(e))return;E&&(x=H(r.xanchor));j&&(k=V(r.yanchor));"path"===r.type?z=r.path:(c=E?r.x0:H(r.x0),d=j?r.y0:V(r.y0),v=E?r.x1:H(r.x1),y=j?r.y1:V(r.y1));c<v?(S=c,O="x0",A=v,I="x1"):(S=v,O="x1",A=c,I="x0");!j&&d<y||j&&d>y?(T=d,C="y0",M=y,P="y1"):(T=y,C="y1",M=d,P="y0");W(n),$(s,r),function(e,t,r){var n=t.xref,a=t.yref,o=i.getFromId(r,n),s=i.getFromId(r,a),l="";"paper"===n||o.autorange||(l+=n);"paper"===a||s.autorange||(l+=a);u.setClipUrl(e,l?"clip"+r._fullLayout._uid+l:null,r)}(t,r,e),U.moveFn="move"===L?Y:X,U.altKey=n.altKey},doneFn:function(){if(m(e))return;h(t),J(s),b(t,e,r),n.call("_guiRelayout",e,l.getUpdateObj())},clickFn:function(){if(m(e))return;J(s)}};function W(r){if(m(e))L=null;else if(D)L="path"===r.target.tagName?"move":"start-point"===r.target.attributes["data-line-point"].value?"resize-over-start-point":"resize-over-end-point";else{var n=U.element.getBoundingClientRect(),a=n.right-n.left,i=n.bottom-n.top,o=r.clientX-n.left,s=r.clientY-n.top,l=!R&&a>10&&i>10&&!r.shiftKey?f.getCursor(o/a,1-s/i):"move";h(t,l),L=l.split("-")[0]}}function Y(n,a){if("path"===r.type){var i=function(e){return e},o=i,l=i;E?N("xanchor",r.xanchor=G(x+n)):(o=function(e){return G(H(e)+n)},F&&"date"===F.type&&(o=g.encodeDate(o))),j?N("yanchor",r.yanchor=Z(k+a)):(l=function(e){return Z(V(e)+a)},B&&"date"===B.type&&(l=g.encodeDate(l))),N("path",r.path=_(z,o,l))}else E?N("xanchor",r.xanchor=G(x+n)):(N("x0",r.x0=G(c+n)),N("x1",r.x1=G(v+n))),j?N("yanchor",r.yanchor=Z(k+a)):(N("y0",r.y0=Z(d+a)),N("y1",r.y1=Z(y+a)));t.attr("d",w(e,r)),$(s,r)}function X(n,a){if(R){var i=function(e){return e},o=i,l=i;E?N("xanchor",r.xanchor=G(x+n)):(o=function(e){return G(H(e)+n)},F&&"date"===F.type&&(o=g.encodeDate(o))),j?N("yanchor",r.yanchor=Z(k+a)):(l=function(e){return Z(V(e)+a)},B&&"date"===B.type&&(l=g.encodeDate(l))),N("path",r.path=_(z,o,l))}else if(D){if("resize-over-start-point"===L){var u=c+n,f=j?d-a:d+a;N("x0",r.x0=E?u:G(u)),N("y0",r.y0=j?f:Z(f))}else if("resize-over-end-point"===L){var h=v+n,p=j?y-a:y+a;N("x1",r.x1=E?h:G(h)),N("y1",r.y1=j?p:Z(p))}}else{var m=function(e){return-1!==L.indexOf(e)},b=m("n"),q=m("s"),U=m("w"),W=m("e"),Y=b?T+a:T,X=q?M+a:M,J=U?S+n:S,K=W?A+n:A;j&&(b&&(Y=T-a),q&&(X=M-a)),(!j&&X-Y>10||j&&Y-X>10)&&(N(C,r[C]=j?Y:Z(Y)),N(P,r[P]=j?X:Z(X))),K-J>10&&(N(O,r[O]=E?J:G(J)),N(I,r[I]=E?K:G(K)))}t.attr("d",w(e,r)),$(s,r)}function $(e,t){(E||j)&&function(){var r="path"!==t.type,n=e.selectAll(".visual-cue").data([0]);n.enter().append("path").attr({fill:"#fff","fill-rule":"evenodd",stroke:"#000","stroke-width":1}).classed("visual-cue",!0);var i=H(E?t.xanchor:a.midRange(r?[t.x0,t.x1]:g.extractPathCoords(t.path,p.paramIsX))),o=V(j?t.yanchor:a.midRange(r?[t.y0,t.y1]:g.extractPathCoords(t.path,p.paramIsY)));if(i=g.roundPositionForSharpStrokeRendering(i,1),o=g.roundPositionForSharpStrokeRendering(o,1),E&&j){var s="M"+(i-1-1)+","+(o-1-1)+"h-8v2h8 v8h2v-8 h8v-2h-8 v-8h-2 Z";n.attr("d",s)}else if(E){var l="M"+(i-1-1)+","+(o-9-1)+"v18 h2 v-18 Z";n.attr("d",l)}else{var c="M"+(i-9-1)+","+(o-1-1)+"h18 v2 h-18 Z";n.attr("d",c)}}()}function J(e){e.selectAll(".visual-cue").remove()}f.init(U),q.node().onmousemove=W}(e,E,l,t,r,L):!0===l.editable&&E.style("pointer-events",I||c.opacity(A)*S<=.5?"stroke":"all");E.node().addEventListener("click",(function(){return function(e,t){if(!y(e))return;var r=+t.node().getAttribute("data-index");if(r>=0){if(r===e._fullLayout._activeShapeIndex)return void k(e);e._fullLayout._activeShapeIndex=r,e._fullLayout._deactivateShape=k,v(e)}}(e,E)}))}}function b(e,t,r){var n=(r.xref+r.yref).replace(/paper/g,"");u.setClipUrl(e,n?"clip"+t._fullLayout._uid+n:null,t)}function w(e,t){var r,n,o,s,l,c,u,d,f=t.type,h=i.getFromId(e,t.xref),v=i.getFromId(e,t.yref),m=e._fullLayout._size;if(h?(r=g.shapePositionToRange(h),n=function(e){return h._offset+h.r2p(r(e,!0))}):n=function(e){return m.l+m.w*e},v?(o=g.shapePositionToRange(v),s=function(e){return v._offset+v.r2p(o(e,!0))}):s=function(e){return m.t+m.h*(1-e)},"path"===f)return h&&"date"===h.type&&(n=g.decodeDate(n)),v&&"date"===v.type&&(s=g.decodeDate(s)),function(e,t,r){var n=e.path,i=e.xsizemode,o=e.ysizemode,s=e.xanchor,l=e.yanchor;return n.replace(p.segmentRE,(function(e){var n=0,c=e.charAt(0),u=p.paramIsX[c],d=p.paramIsY[c],f=p.numParams[c],h=e.substr(1).replace(p.paramRE,(function(e){return u[n]?e="pixel"===i?t(s)+Number(e):t(e):d[n]&&(e="pixel"===o?r(l)-Number(e):r(e)),++n>f&&(e="X"),e}));return n>f&&(h=h.replace(/[\s,]*X.*/,""),a.log("Ignoring extra params in segment "+e)),c+h}))}(t,n,s);if("pixel"===t.xsizemode){var y=n(t.xanchor);l=y+t.x0,c=y+t.x1}else l=n(t.x0),c=n(t.x1);if("pixel"===t.ysizemode){var x=s(t.yanchor);u=x-t.y0,d=x-t.y1}else u=s(t.y0),d=s(t.y1);if("line"===f)return"M"+l+","+u+"L"+c+","+d;if("rect"===f)return"M"+l+","+u+"H"+c+"V"+d+"H"+l+"Z";var b=(l+c)/2,w=(u+d)/2,_=Math.abs(b-l),k=Math.abs(w-u),T="A"+_+","+k,M=b+_+","+w;return"M"+M+T+" 0 1,1 "+(b+","+(w-k))+T+" 0 0,1 "+M+"Z"}function _(e,t,r){return e.replace(p.segmentRE,(function(e){var n=0,a=e.charAt(0),i=p.paramIsX[a],o=p.paramIsY[a],s=p.numParams[a];return a+e.substr(1).replace(p.paramRE,(function(e){return n>=s||(i[n]?e=t(e):o[n]&&(e=r(e)),n++),e}))}))}function k(e){y(e)&&(e._fullLayout._activeShapeIndex>=0&&(l(e),delete e._fullLayout._activeShapeIndex,v(e)))}e.exports={draw:v,drawOne:x,eraseActiveShape:function(e){if(!y(e))return;l(e);var t=e._fullLayout._activeShapeIndex,r=(e.layout||{}).shapes||[];if(t<r.length){for(var a=[],i=0;i<r.length;i++)i!==t&&a.push(r[i]);delete e._fullLayout._activeShapeIndex,n.call("_guiRelayout",e,{shapes:a})}}}},I4E5:function(e,t,r){"use strict";var n=r("bljh"),a=r("/CZE"),i=r("0RW4"),o=r("OpmZ"),s=r("EsF5"),l=a.extendDeepAll,c=e.exports={};c.framework=function(e){var t,r,a,i,u,d=new s;function f(r,s){return s&&(u=s),n.select(n.select(u).node().parentNode).selectAll(".svg-container>*:not(.chart-root)").remove(),t=t?l(t,r):r,a||(a=o.Axis()),i=o.adapter.plotly().convert(t),a.config(i).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 o.adapter.plotly().convert(a.getLiveConfig(),!0)},f.getLiveScales=function(){return{t:a.angularScale(),r:a.radialScale()}},f.setUndoPoint=function(){var e,n,a=this,i=o.util.cloneJson(t);e=i,n=r,d.add({undo:function(){n&&a(n)},redo:function(){a(e)}}),r=o.util.cloneJson(i)},f.undo=function(){d.undo()},f.redo=function(){d.redo()},f},c.fillLayout=function(e){var t=n.select(e).selectAll(".plot-container"),r=t.selectAll(".svg-container"),a=e.framework&&e.framework.svg&&e.framework.svg(),o={width:800,height:600,paper_bgcolor:i.background,_container:t,_paperdiv:r,_paper:a};e._fullLayout=l(o,e.layout)}},I8wg:function(e,t,r){"use strict";e.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:"poly",eventDataKeys:["currentPath","root","entry","percentRoot","percentEntry","percentParent"],gapWithPathbar:1}},IBVe:function(e,t,r){"use strict";var n=r("GbLo"),a=r("Nx4I"),i=r("/CZE"),o=r("plED"),s=r("jC0I");e.exports=function(e,t,r,l){var c="error_"+l.axis,u=o.newContainer(t,c),d=e[c]||{};function f(e,t){return i.coerce(d,u,s,e,t)}if(!1!==f("visible",void 0!==d.array||void 0!==d.value||"sqrt"===d.type)){var h=f("type","array"in d?"data":"percent"),p=!0;"sqrt"!==h&&(p=f("symmetric",!(("data"===h?"arrayminus":"valueminus")in d))),"data"===h?(f("array"),f("traceref"),p||(f("arrayminus"),f("tracerefminus"))):"percent"!==h&&"constant"!==h||(f("value"),p||f("valueminus"));var g="copy_"+l.inherit+"style";if(l.inherit)(t["error_"+l.inherit]||{}).visible&&f(g,!(d.color||n(d.thickness)||n(d.width)));l.inherit&&u[g]||(f("color",r),f("thickness"),f("width",a.traceIs(t,"gl3d")?0:4))}}},IJNW:function(e,t,r){"use strict";var n=r("/CZE"),a=r("0RW4"),i=r("xMdC").isUnifiedHover;e.exports=function(e,t,r,o){function s(e){o.font[e]||(o.font[e]=t.legend?t.legend.font[e]:t.font[e])}o=o||{},t&&i(t.hovermode)&&(o.font||(o.font={}),s("size"),s("family"),s("color"),t.legend?(o.bgcolor||(o.bgcolor=a.combine(t.legend.bgcolor,t.paper_bgcolor)),o.bordercolor||(o.bordercolor=t.legend.bordercolor)):o.bgcolor||(o.bgcolor=t.paper_bgcolor)),r("hoverlabel.bgcolor",o.bgcolor),r("hoverlabel.bordercolor",o.bordercolor),r("hoverlabel.namelength",o.namelength),n.coerceFont(r,"hoverlabel.font",o.font),r("hoverlabel.align",o.align)}},IUF9:function(e,t,r){(t=r("JPst")(!1)).push([e.i,".spinner[data-v-025893f1]{position:relative;cursor:pointer;display:flex;justify-content:center;align-items:center}.spinner *[data-v-025893f1]{line-height:0;box-sizing:border-box}.mask[data-v-025893f1]{position:absolute;border-radius:2px;overflow:hidden;perspective:1000;backface-visibility:hidden}.plane[data-v-025893f1]{background:#41b883;width:400%;height:100%;position:absolute;transform:translate3d(0px, 0, 0);z-index:100;perspective:1000;backface-visibility:hidden}.animation[data-v-025893f1]{transition:all 0.3s ease}#top .plane[data-v-025893f1]{z-index:2000;animation:trans1-data-v-025893f1 1.3s ease-in infinite 0s backwards}#middle .plane[data-v-025893f1]{transform:translate3d(0px, 0, 0);background:#32855f;animation:trans2-data-v-025893f1 1.3s linear infinite 0.3s backwards}#bottom .plane[data-v-025893f1]{z-index:2000;animation:trans3-data-v-025893f1 1.3s ease-out infinite 0.7s backwards}#top[data-v-025893f1]{width:53px;height:20px;left:20px;top:5px;transform:skew(-15deg, 0);z-index:100}#middle[data-v-025893f1]{width:33px;height:20px;left:20px;top:21px;transform:skew(-15deg, 40deg)}#bottom[data-v-025893f1]{width:53px;height:20px;top:35px;transform:skew(-15deg, 0)}p[data-v-025893f1]{color:#fff;position:absolute;left:-3px;top:45px;font-family:Arial;text-align:center;font-size:10px}@keyframes trans1-data-v-025893f1{from{transform:translate3d(53px, 0, 0)}to{transform:translate3d(-250px, 0, 0)}}@keyframes trans2-data-v-025893f1{from{transform:translate3d(-160px, 0, 0)}to{transform:translate3d(53px, 0, 0)}}@keyframes trans3-data-v-025893f1{from{transform:translate3d(53px, 0, 0)}to{transform:translate3d(-220px, 0, 0)}}@keyframes animColor-data-v-025893f1{from{background:red}25%{background:yellow}50%{background:green}75%{background:brown}to{background:blue}}\n",""]),e.exports=t},IUxZ:function(e,t,r){"use strict";var n=r("3oHU");e.exports=function(e,t){var r,a,i,o,s=e.cd,l=e.xaxis,c=e.yaxis,u=[],d=s[0].trace;if(!n.hasMarkers(d)&&!n.hasText(d))return[];if(!1===t)for(r=0;r<s.length;r++)s[r].selected=0;else for(r=0;r<s.length;r++)a=s[r],i=l.c2p(a.x),o=c.c2p(a.y),null!==a.i&&t.contains([i,o],!1,r,e)?(u.push({pointNumber:a.i,x:l.c2d(a.x),y:c.c2d(a.y)}),a.selected=1):a.selected=0;return u}},IVx0:function(e,t,r){"use strict";var n=r("bljh"),a=r("Zss7"),i=r("GbLo"),o=r("/CZE"),s=r("0RW4"),l=r("SFLx").isValid;var c=["showscale","autocolorscale","colorscale","reversescale","colorbar"],u=["min","max","mid","auto"];function d(e){var t,r,n,a=e._colorAx,i=a||e,o={};for(r=0;r<c.length;r++)o[n=c[r]]=i[n];if(a)for(t="c",r=0;r<u.length;r++)o[n=u[r]]=i["c"+n];else{var s;for(r=0;r<u.length;r++)((s="c"+(n=u[r]))in i||(s="z"+n)in i)&&(o[n]=i[s]);t=s.charAt(0)}return o._sync=function(e,r){var n=-1!==u.indexOf(e)?t+e:e;i[n]=i["_"+n]=r},o}function f(e){for(var t=d(e),r=t.min,n=t.max,a=t.reversescale?h(t.colorscale):t.colorscale,i=a.length,o=new Array(i),s=new Array(i),l=0;l<i;l++){var c=a[l];o[l]=r+c[0]*(n-r),s[l]=c[1]}return{domain:o,range:s}}function h(e){for(var t=e.length,r=new Array(t),n=t-1,a=0;n>=0;n--,a++){var i=e[n];r[a]=[1-i[0],i[1]]}return r}function p(e,t){t=t||{};for(var r=e.domain,o=e.range,l=o.length,c=new Array(l),u=0;u<l;u++){var d=a(o[u]).toRgb();c[u]=[d.r,d.g,d.b,d.a]}var f,h=n.scale.linear().domain(r).range(c).clamp(!0),p=t.noNumericCheck,v=t.returnArray;return(f=p&&v?h:p?function(e){return g(h(e))}:v?function(e){return i(e)?h(e):a(e).isValid()?e:s.defaultLine}:function(e){return i(e)?g(h(e)):a(e).isValid()?e:s.defaultLine}).domain=h.domain,f.range=function(){return o},f}function g(e){var t={r:e[0],g:e[1],b:e[2],a:e[3]};return a(t).toRgbString()}e.exports={hasColorscale:function(e,t,r){var n=t?o.nestedProperty(e,t).get()||{}:e,a=n[r||"color"],s=!1;if(o.isArrayOrTypedArray(a))for(var c=0;c<a.length;c++)if(i(a[c])){s=!0;break}return o.isPlainObject(n)&&(s||!0===n.showscale||i(n.cmin)&&i(n.cmax)||l(n.colorscale)||o.isPlainObject(n.colorbar))},extractOpts:d,extractScale:f,flipScale:h,makeColorScaleFunc:p,makeColorScaleFuncFromTrace:function(e,t){return p(f(e),t)}}},Id1X:function(e,t,r){"use strict";e.exports=r("9ldu")},IjzS:function(e,t,r){"use strict";var n=r("bljh"),a=r("/CZE"),i=r("g9E0"),o=r("A3kh"),s=r("yLjo"),l=r("2oy/").styleOne,c=r("I8wg"),u=r("+1bK"),d=r("aWIO");e.exports=function(e,t,r,f,h){var p=h.barDifY,g=h.width,v=h.height,m=h.viewX,y=h.viewY,x=h.pathSlice,b=h.toMoveInsideSlice,w=h.strTransform,_=h.hasTransition,k=h.handleSlicesExit,T=h.makeUpdateSliceInterpolator,M=h.makeUpdateTextInterpolator,S={},A=e._fullLayout,C=t[0],P=C.trace,O=C.hierarchy,I=g/P._entryDepth,z=u.listPath(r.data,"id"),L=s(O.copy(),[g,v],{packing:"dice",pad:{inner:0,top:0,left:0,right:0,bottom:0}}).descendants();(L=L.filter((function(e){var t=z.indexOf(e.data.id);return-1!==t&&(e.x0=I*t,e.x1=I*(t+1),e.y0=p,e.y1=p+v,e.onPathbar=!0,!0)}))).reverse(),(f=f.data(L,u.getPtId)).enter().append("g").classed("pathbar",!0),k(f,!0,S,[g,v],x),f.order();var E=f;_&&(E=E.transition().each("end",(function(){var t=n.select(this);u.setSliceCursor(t,e,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:!1})}))),E.each((function(s){s._hoverX=m(s.x1-Math.min(g,v)/2),s._hoverY=y(s.y1-v/2);var f=n.select(this),h=a.ensureSingle(f,"path","surface",(function(e){e.style("pointer-events","all")}));_?h.transition().attrTween("d",(function(e){var t=T(e,!0,S,[g,v]);return function(e){return x(t(e))}})):h.attr("d",x),f.call(d,r,e,t,{styleOne:l,eventDataKeys:c.eventDataKeys,transitionTime:c.CLICK_TRANSITION_TIME,transitionEasing:c.CLICK_TRANSITION_EASING}).call(u.setSliceCursor,e,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:e._transitioning}),h.call(l,s,P,{hovered:!1}),s._text=(u.getPtLabel(s)||"").split("<br>").join(" ")||"";var p=a.ensureSingle(f,"g","slicetext"),k=a.ensureSingle(p,"text","",(function(e){e.attr("data-notex",1)})),C=a.ensureUniformFontSize(e,u.determineTextFont(P,s,A.font,{onPathbar:!0}));k.text(s._text||" ").classed("slicetext",!0).attr("text-anchor","start").call(i.font,C).call(o.convertToTspans,e),s.textBB=i.bBox(k.node()),s.transform=b(s,{fontSize:C.size,onPathbar:!0}),s.transform.fontSize=C.size,_?k.transition().attrTween("transform",(function(e){var t=M(e,!0,S,[g,v]);return function(e){return w(t(e))}})):k.attr("transform",w(s))}))}},IkQw:function(e,t,r){"use strict";var n=r("/CZE"),a=r("kc6j");e.exports=function(e,t,r){var i=!1;function o(r,i){return n.coerce(e,t,a,r,i)}for(var s=0;s<r.length;s++){var l=r[s];if(l.visible&&"waterfall"===l.type){i=!0;break}}i&&(o("waterfallmode"),o("waterfallgap",.2),o("waterfallgroupgap"))}},IvnK:function(e,t,r){"use strict";e.exports={name:"rangeslider",containerClassName:"rangeslider-container",bgClassName:"rangeslider-bg",rangePlotClassName:"rangeslider-rangeplot",maskMinClassName:"rangeslider-mask-min",maskMaxClassName:"rangeslider-mask-max",slideBoxClassName:"rangeslider-slidebox",grabberMinClassName:"rangeslider-grabber-min",grabAreaMinClassName:"rangeslider-grabarea-min",handleMinClassName:"rangeslider-handle-min",grabberMaxClassName:"rangeslider-grabber-max",grabAreaMaxClassName:"rangeslider-grabarea-max",handleMaxClassName:"rangeslider-handle-max",maskMinOppAxisClassName:"rangeslider-mask-min-opp-axis",maskMaxOppAxisClassName:"rangeslider-mask-max-opp-axis",maskColor:"rgba(0,0,0,0.4)",maskOppAxisColor:"rgba(0,0,0,0.2)",slideBoxFill:"transparent",slideBoxCursor:"ew-resize",grabAreaFill:"transparent",grabAreaCursor:"col-resize",grabAreaWidth:10,handleWidth:4,handleRadius:1,handleStrokeWidth:1,extraPad:15}},"J+Po":function(e,t,r){"use strict";var n=r("/CZE"),a=r("15jM");e.exports=function(e,t,r,i){var o=n.coerce2(e,t,a,"ticklen"),s=n.coerce2(e,t,a,"tickwidth"),l=n.coerce2(e,t,a,"tickcolor",t.color);r("ticks",i.outerTicks||o||s||l?"outside":"")||(delete t.ticklen,delete t.tickwidth,delete t.tickcolor)}},JEGg:function(e,t,r){ /* * @copyright 2016 Sean Connelly (@voidqk), http://syntheti.cc * @license MIT * @preserve Project Home: https://github.com/voidqk/polybooljs */ var n,a=r("pty9"),i=r("+KUA"),o=r("mTXg"),s=r("piZS"),l=r("uSQw"),c=r("NMwq"),u=!1,d=i();function f(e,t,r){var a=n.segments(e),i=n.segments(t),o=r(n.combine(a,i));return n.polygon(o)}n={buildLog:function(e){return!0===e?u=a():!1===e&&(u=!1),!1!==u&&u.list},epsilon:function(e){return d.epsilon(e)},segments:function(e){var t=o(!0,d,u);return e.regions.forEach(t.addRegion),{segments:t.calculate(e.inverted),inverted:e.inverted}},combine:function(e,t){return{combined:o(!1,d,u).calculate(e.segments,e.inverted,t.segments,t.inverted),inverted1:e.inverted,inverted2:t.inverted}},selectUnion:function(e){return{segments:l.union(e.combined,u),inverted:e.inverted1||e.inverted2}},selectIntersect:function(e){return{segments:l.intersect(e.combined,u),inverted:e.inverted1&&e.inverted2}},selectDifference:function(e){return{segments:l.difference(e.combined,u),inverted:e.inverted1&&!e.inverted2}},selectDifferenceRev:function(e){return{segments:l.differenceRev(e.combined,u),inverted:!e.inverted1&&e.inverted2}},selectXor:function(e){return{segments:l.xor(e.combined,u),inverted:e.inverted1!==e.inverted2}},polygon:function(e){return{regions:s(e.segments,d,u),inverted:e.inverted}},polygonFromGeoJSON:function(e){return c.toPolygon(n,e)},polygonToGeoJSON:function(e){return c.fromPolygon(n,d,e)},union:function(e,t){return f(e,t,n.selectUnion)},intersect:function(e,t){return f(e,t,n.selectIntersect)},difference:function(e,t){return f(e,t,n.selectDifference)},differenceRev:function(e,t){return f(e,t,n.selectDifferenceRev)},xor:function(e,t){return f(e,t,n.selectXor)}},"object"==typeof window&&(window.PolyBool=n),e.exports=n},JL6A:function(e,t,r){"use strict";var n=r("rla6");r.n(n).a},JPst:function(e,t,r){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=function(e,t){var r=e[1]||"",n=e[3];if(!n)return r;if(t&&"function"==typeof btoa){var a=(o=n,s=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),l="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),"/*# ".concat(l," */")),i=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[r].concat(i).concat([a]).join("\n")}var o,s,l;return[r].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,n){"string"==typeof e&&(e=[[null,e,""]]);var a={};if(n)for(var i=0;i<this.length;i++){var o=this[i][0];null!=o&&(a[o]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);n&&a[l[0]]||(r&&(l[2]?l[2]="".concat(r," and ").concat(l[2]):l[2]=r),t.push(l))}},t}},JU33:function(e,t,r){"use strict";var n=r("BkK/"),a=r("cU9g"),i=r("QTaS"),o=r("6AZA").BADNUM;function s(e){return e===o?0:e}e.exports=function(e,t){var r,l,c,u,d=n.getFromId(e,t.xaxis||"x"),f=n.getFromId(e,t.yaxis||"y");"h"===t.orientation?(r=d.makeCalcdata(t,"x"),l=f.makeCalcdata(t,"y")):(r=f.makeCalcdata(t,"y"),l=d.makeCalcdata(t,"x"));var h,p=Math.min(l.length,r.length),g=new Array(p);for(t._base=[],c=0;c<p;c++){r[c]<0&&(r[c]=o);var v=!1;r[c]!==o&&c+1<p&&r[c+1]!==o&&(v=!0),u=g[c]={p:l[c],s:r[c],cNext:v},t._base[c]=-.5*u.s,t.ids&&(u.id=String(t.ids[c])),0===c&&(g[0].vTotal=0),g[0].vTotal+=s(u.s),u.begR=s(u.s)/s(g[0].s)}for(c=0;c<p;c++)(u=g[c]).s!==o&&(u.sumR=u.s/g[0].vTotal,u.difR=void 0!==h?u.s/h:1,h=u.s);return a(g,t),i(g,t),g}},JZU4:function(e,t,r){"use strict";var n=r("bljh"),a=r("Nx4I"),i=r("u3HJ"),o=r("/CZE"),s=r("BkK/"),l=r("0RW4"),c=r("g9E0"),u=r("pcRN"),d=r("A3kh"),f=r("DzeQ"),h=r("Tv4R"),p=r("plED").arrayEditor,g=r("Wh6P");function v(e,t){var r=e._fullLayout.annotations[t]||{},n=s.getFromId(e,r.xref),a=s.getFromId(e,r.yref);n&&n.setScale(),a&&a.setScale(),m(e,r,t,!1,n,a)}function m(e,t,r,i,s,v){var m,y,x=e._fullLayout,b=e._fullLayout._size,w=e._context.edits;i?(m="annotation-"+i,y=i+".annotations"):(m="annotation",y="annotations");var _=p(e.layout,y,t),k=_.modifyBase,T=_.modifyItem,M=_.getUpdateObj;x._infolayer.selectAll("."+m+'[data-index="'+r+'"]').remove();var S="clip"+x._uid+"_ann"+r;if(t._input&&!1!==t.visible){var A={x:{},y:{}},C=+t.textangle||0,P=x._infolayer.append("g").classed(m,!0).attr("data-index",String(r)).style("opacity",t.opacity),O=P.append("g").classed("annotation-text-g",!0),I=w[t.showarrow?"annotationTail":"annotationPosition"],z=t.captureevents||w.annotationText||I,L=O.append("g").style("pointer-events",z?"all":null).call(f,"pointer").on("click",(function(){e._dragging=!1,e.emit("plotly_clickannotation",G(n.event))}));t.hovertext&&L.on("mouseover",(function(){var r=t.hoverlabel,n=r.font,a=this.getBoundingClientRect(),i=e.getBoundingClientRect();u.loneHover({x0:a.left-i.left,x1:a.right-i.left,y:(a.top+a.bottom)/2-i.top,text:t.hovertext,color:r.bgcolor,borderColor:r.bordercolor,fontFamily:n.family,fontSize:n.size,fontColor:n.color},{container:x._hoverlayer.node(),outerContainer:x._paper.node(),gd:e})})).on("mouseout",(function(){u.loneUnhover(x._hoverlayer.node())}));var E=t.borderwidth,j=t.borderpad,D=E+j,R=L.append("rect").attr("class","bg").style("stroke-width",E+"px").call(l.stroke,t.bordercolor).call(l.fill,t.bgcolor),N=t.width||t.height,F=x._topclips.selectAll("#"+S).data(N?[0]:[]);F.enter().append("clipPath").classed("annclip",!0).attr("id",S).append("rect"),F.exit().remove();var B=t.font,H=x._meta?o.templateString(t.text,x._meta):t.text,V=L.append("text").classed("annotation-text",!0).text(H);w.annotationText?V.call(d.makeEditable,{delegate:L,gd:e}).call(Z).on("edit",(function(r){t.text=r,this.call(Z),T("text",r),s&&s.autorange&&k(s._name+".autorange",!0),v&&v.autorange&&k(v._name+".autorange",!0),a.call("_guiRelayout",e,M())})):V.call(Z)}else n.selectAll("#"+S).remove();function G(e){var n={index:r,annotation:t._input,fullAnnotation:t,event:e};return i&&(n.subplotId=i),n}function Z(r){return r.call(c.font,B).attr({"text-anchor":{left:"start",right:"end"}[t.align]||"middle"}),d.convertToTspans(r,e,q),r}function q(){var r=V.selectAll("a");1===r.size()&&r.text()===V.text()&&L.insert("a",":first-child").attr({"xlink:xlink:href":r.attr("xlink:href"),"xlink:xlink:show":r.attr("xlink:show")}).style({cursor:"pointer"}).node().appendChild(R.node());var n=L.select(".annotation-text-math-group"),u=!n.empty(),p=c.bBox((u?n:V).node()),m=p.width,y=p.height,_=t.width||m,z=t.height||y,j=Math.round(_+2*D),B=Math.round(z+2*D);function H(e,t){return"auto"===t&&(t=e<1/3?"left":e>2/3?"right":"center"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[t]}for(var Z=!1,q=["x","y"],U=0;U<q.length;U++){var W,Y,X,$,J,K=q[U],Q=t[K+"ref"]||K,ee=t["a"+K+"ref"],te={x:s,y:v}[K],re=(C+("x"===K?0:-90))*Math.PI/180,ne=j*Math.cos(re),ae=B*Math.sin(re),ie=Math.abs(ne)+Math.abs(ae),oe=t[K+"anchor"],se=t[K+"shift"]*("x"===K?1:-1),le=A[K];if(te){var ce=te.r2fraction(t[K]);(ce<0||ce>1)&&(ee===Q?((ce=te.r2fraction(t["a"+K]))<0||ce>1)&&(Z=!0):Z=!0),W=te._offset+te.r2p(t[K]),$=.5}else"x"===K?(X=t[K],W=b.l+b.w*X):(X=1-t[K],W=b.t+b.h*X),$=t.showarrow?.5:X;if(t.showarrow){le.head=W;var ue=t["a"+K];J=ne*H(.5,t.xanchor)-ae*H(.5,t.yanchor),ee===Q?(le.tail=te._offset+te.r2p(ue),Y=J):(le.tail=W+ue,Y=J+ue),le.text=le.tail+J;var de=x["x"===K?"width":"height"];if("paper"===Q&&(le.head=o.constrain(le.head,1,de-1)),"pixel"===ee){var fe=-Math.max(le.tail-3,le.text),he=Math.min(le.tail+3,le.text)-de;fe>0?(le.tail+=fe,le.text+=fe):he>0&&(le.tail-=he,le.text-=he)}le.tail+=se,le.head+=se}else Y=J=ie*H($,oe),le.text=W+J;le.text+=se,J+=se,Y+=se,t["_"+K+"padplus"]=ie/2+Y,t["_"+K+"padminus"]=ie/2-Y,t["_"+K+"size"]=ie,t["_"+K+"shift"]=J}if(Z)L.remove();else{var pe=0,ge=0;if("left"!==t.align&&(pe=(_-m)*("center"===t.align?.5:1)),"top"!==t.valign&&(ge=(z-y)*("middle"===t.valign?.5:1)),u)n.select("svg").attr({x:D+pe-1,y:D+ge}).call(c.setClipUrl,N?S:null,e);else{var ve=D+ge-p.top,me=D+pe-p.left;V.call(d.positionText,me,ve).call(c.setClipUrl,N?S:null,e)}F.select("rect").call(c.setRect,D,D,_,z),R.call(c.setRect,E/2,E/2,j-E,B-E),L.call(c.setTranslate,Math.round(A.x.text-j/2),Math.round(A.y.text-B/2)),O.attr({transform:"rotate("+C+","+A.x.text+","+A.y.text+")"});var ye,xe=function(r,n){P.selectAll(".annotation-arrow-g").remove();var u=A.x.head,d=A.y.head,f=A.x.tail+r,p=A.y.tail+n,m=A.x.text+r,y=A.y.text+n,x=o.rotationXYMatrix(C,m,y),_=o.apply2DTransform(x),S=o.apply2DTransform2(x),I=+R.attr("width"),z=+R.attr("height"),E=m-.5*I,j=E+I,D=y-.5*z,N=D+z,F=[[E,D,E,N],[E,N,j,N],[j,N,j,D],[j,D,E,D]].map(S);if(!F.reduce((function(e,t){return e^!!o.segmentsIntersect(u,d,u+1e6,d+1e6,t[0],t[1],t[2],t[3])}),!1)){F.forEach((function(e){var t=o.segmentsIntersect(f,p,u,d,e[0],e[1],e[2],e[3]);t&&(f=t.x,p=t.y)}));var B=t.arrowwidth,H=t.arrowcolor,V=t.arrowside,G=P.append("g").style({opacity:l.opacity(H)}).classed("annotation-arrow-g",!0),Z=G.append("path").attr("d","M"+f+","+p+"L"+u+","+d).style("stroke-width",B+"px").call(l.stroke,l.rgb(H));if(g(Z,V,t),w.annotationPosition&&Z.node().parentNode&&!i){var q=u,U=d;if(t.standoff){var W=Math.sqrt(Math.pow(u-f,2)+Math.pow(d-p,2));q+=t.standoff*(f-u)/W,U+=t.standoff*(p-d)/W}var Y,X,$=G.append("path").classed("annotation-arrow",!0).classed("anndrag",!0).classed("cursor-move",!0).attr({d:"M3,3H-3V-3H3ZM0,0L"+(f-q)+","+(p-U),transform:"translate("+q+","+U+")"}).style("stroke-width",B+6+"px").call(l.stroke,"rgba(0,0,0,0)").call(l.fill,"rgba(0,0,0,0)");h.init({element:$.node(),gd:e,prepFn:function(){var e=c.getTranslate(L);Y=e.x,X=e.y,s&&s.autorange&&k(s._name+".autorange",!0),v&&v.autorange&&k(v._name+".autorange",!0)},moveFn:function(e,r){var n=_(Y,X),a=n[0]+e,i=n[1]+r;L.call(c.setTranslate,a,i),T("x",s?s.p2r(s.r2p(t.x)+e):t.x+e/b.w),T("y",v?v.p2r(v.r2p(t.y)+r):t.y-r/b.h),t.axref===t.xref&&T("ax",s.p2r(s.r2p(t.ax)+e)),t.ayref===t.yref&&T("ay",v.p2r(v.r2p(t.ay)+r)),G.attr("transform","translate("+e+","+r+")"),O.attr({transform:"rotate("+C+","+a+","+i+")"})},doneFn:function(){a.call("_guiRelayout",e,M());var t=document.querySelector(".js-notes-box-panel");t&&t.redraw(t.selectedObj)}})}}};if(t.showarrow&&xe(0,0),I)h.init({element:L.node(),gd:e,prepFn:function(){ye=O.attr("transform")},moveFn:function(e,r){var n="pointer";if(t.showarrow)t.axref===t.xref?T("ax",s.p2r(s.r2p(t.ax)+e)):T("ax",t.ax+e),t.ayref===t.yref?T("ay",v.p2r(v.r2p(t.ay)+r)):T("ay",t.ay+r),xe(e,r);else{if(i)return;var a,o;if(s)a=s.p2r(s.r2p(t.x)+e);else{var l=t._xsize/b.w,c=t.x+(t._xshift-t.xshift)/b.w-l/2;a=h.align(c+e/b.w,l,0,1,t.xanchor)}if(v)o=v.p2r(v.r2p(t.y)+r);else{var u=t._ysize/b.h,d=t.y-(t._yshift+t.yshift)/b.h-u/2;o=h.align(d-r/b.h,u,0,1,t.yanchor)}T("x",a),T("y",o),s&&v||(n=h.getCursor(s?.5:a,v?.5:o,t.xanchor,t.yanchor))}O.attr({transform:"translate("+e+","+r+")"+ye}),f(L,n)},clickFn:function(r,n){t.captureevents&&e.emit("plotly_clickannotation",G(n))},doneFn:function(){f(L),a.call("_guiRelayout",e,M());var t=document.querySelector(".js-notes-box-panel");t&&t.redraw(t.selectedObj)}})}}}e.exports={draw:function(e){var t=e._fullLayout;t._infolayer.selectAll(".annotation").remove();for(var r=0;r<t.annotations.length;r++)t.annotations[r].visible&&v(e,r);return i.previousPromises(e)},drawOne:v,drawRaw:m}},JkiL:function(e,t,r){(t=r("JPst")(!1)).push([e.i,".spinner *[data-v-54c05c29]{line-height:0;box-sizing:border-box}.spinner>div[data-v-54c05c29]{background-color:#41b883;border-radius:100%;animation-fill-mode:both;position:absolute;opacity:0;width:50px;height:50px;animation:jumper-data-v-54c05c29 1s 0s linear infinite}.spinner>div[data-v-54c05c29]:nth-child(2){animation-delay:0.33333s}.spinner>div[data-v-54c05c29]:nth-child(3){animation-delay:0.66666s}@keyframes jumper-data-v-54c05c29{0%{opacity:0;transform:scale(0)}5%{opacity:1}100%{opacity:0}}\n",""]),e.exports=t},KSbO:function(e,t,r){"use strict";var n=r("fRTk");r.n(n).a},KW7m:function(e,t,r){"use strict";e.exports=function(e,t,r,n,a){var i=(e-r)/(n-r),o=i+t/(n-r),s=(i+o)/2;return"left"===a||"bottom"===a?i:"center"===a||"middle"===a?s:"right"===a||"top"===a?o:i<2/3-s?i:o>4/3-s?o:s}},Kicf:function(e,t,r){"use strict";var n=r("/CZE"),a=r("l9FN"),i=r("0RW4"),o=r("gfA5").defaults,s=r("HByh").handleText,l=r("Gl7E").TEXTPAD,c=r("wlgE"),u=c.hasColorscale,d=c.handleDefaults;e.exports=function(e,t,r,c){function f(r,i){return n.coerce(e,t,a,r,i)}var h=f("labels"),p=f("parents");if(h&&h.length&&p&&p.length){var g=f("values");g&&g.length?f("branchvalues"):f("count"),f("level"),f("maxdepth"),"squarify"===f("tiling.packing")&&f("tiling.squarifyratio"),f("tiling.flip"),f("tiling.pad");var v=f("text");f("texttemplate"),t.texttemplate||f("textinfo",Array.isArray(v)?"text+label":"label"),f("hovertext"),f("hovertemplate");var m=f("pathbar.visible");s(e,t,c,f,"auto",{hasPathbar:m,moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),f("textposition");var y=-1!==t.textposition.indexOf("bottom");f("marker.line.width")&&f("marker.line.color",c.paper_bgcolor);var x=f("marker.colors"),b=t._hasColorscale=u(e,"marker","colors")||(e.marker||{}).coloraxis;b?d(e,t,c,f,{prefix:"marker.",cLetter:"c"}):f("marker.depthfade",!(x||[]).length);var w=2*t.textfont.size;f("marker.pad.t",y?w/4:w),f("marker.pad.l",w/4),f("marker.pad.r",w/4),f("marker.pad.b",y?w:w/4),b&&d(e,t,c,f,{prefix:"marker.",cLetter:"c"}),t._hovered={marker:{line:{width:2,color:i.contrast(c.paper_bgcolor)}}},m&&(f("pathbar.thickness",t.pathbar.textfont.size+2*l),f("pathbar.side"),f("pathbar.edgeshape")),o(t,c,f),t._length=null}else t.visible=!1}},L3HV:function(e,t,r){"use strict";var n=r("HIXJ");r.n(n).a},LFQO:function(e,t,r){var n=r("Avch");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("e2a19122",n,!0,{})},LI1c:function(e,t,r){"use strict";(function(t){var n,a=r("3PNt");n="function"==typeof t.matchMedia?!t.matchMedia("(hover: none)").matches:a,e.exports=n}).call(this,r("yLpj"))},"LP/G":function(e,t,r){"use strict";var n=r("Agql");r.n(n).a},LQ6N:function(e,t,r){"use strict";var n=r("/CZE"),a=[[-1,0],[1,0],[0,-1],[0,1]];function i(e){return.5-.25*Math.min(1,.5*e)}function o(e,t,r){var n,i,o,s,l,c,u,d,f,h,p,g,v,m=0;for(s=0;s<t.length;s++){for(i=(n=t[s])[0],o=n[1],p=e[i][o],h=0,f=0,l=0;l<4;l++)(u=e[i+(c=a[l])[0]])&&void 0!==(d=u[o+c[1]])&&(0===h?g=v=d:(g=Math.min(g,d),v=Math.max(v,d)),f++,h+=d);if(0===f)throw"iterateInterp2d order is wrong: no defined neighbors";e[i][o]=h/f,void 0===p?f<4&&(m=1):(e[i][o]=(1+r)*e[i][o]-r*p,v>g&&(m=Math.max(m,Math.abs(e[i][o]-p)/(v-g))))}return m}e.exports=function(e,t){var r,a=1;for(o(e,t),r=0;r<t.length&&!(t[r][2]<4);r++);for(t=t.slice(r),r=0;r<100&&a>.01;r++)a=o(e,t,i(a));return a>.01&&n.log("interp2d didn't converge quickly",a),e}},LZp3:function(e,t,r){"use strict";var n=r("/CZE"),a=n.isPlainObject,i=r("aSHK"),o=r("u3HJ"),s=r("qHYo"),l=r("plED"),c=r("P/XJ").dfltConfig;function u(e,t){e=n.extendDeep({},e);var r,i,o=Object.keys(e).sort();function s(t,r,n){if(a(r)&&a(t))u(t,r);else if(Array.isArray(r)&&Array.isArray(t)){var o=l.arrayTemplater({_template:e},n);for(i=0;i<r.length;i++){var s=r[i],c=o.newItem(s)._template;c&&u(c,s)}var d=o.defaultItems();for(i=0;i<d.length;i++)r.push(d[i]._template);for(i=0;i<r.length;i++)delete r[i].templateitemname}}for(r=0;r<o.length;r++){var c=o[r],f=e[c];if(c in t?s(f,t[c],c):t[c]=f,d(c)===c)for(var h in t){var p=d(h);h===p||p!==c||h in e||s(f,t[h],c)}}}function d(e){return e.replace(/[0-9]+$/,"")}function f(e,t,r,i,o){var s=o&&r(o);for(var c in e){var u=e[c],h=g(e,c,i),p=g(e,c,o),v=r(p);if(!v){var m=d(c);m!==c&&(v=r(p=g(e,m,o)))}if((!s||s!==v)&&!(!v||v._noTemplating||"data_array"===v.valType||v.arrayOk&&Array.isArray(u)))if(!v.valType&&a(u))f(u,t,r,h,p);else if(v._isLinkedToArray&&Array.isArray(u))for(var y=!1,x=0,b={},w=0;w<u.length;w++){var _=u[w];if(a(_)){var k=_.name;if(k)b[k]||(f(_,t,r,g(u,x,h),g(u,x,p)),x++,b[k]=1);else if(!y){var T=g(e,l.arrayDefaultKey(c),i),M=g(u,x,h);f(_,t,r,M,g(u,x,p));var S=n.nestedProperty(t,M);n.nestedProperty(t,T).set(S.get()),S.set(null),y=!0}}}else{n.nestedProperty(t,h).set(u)}}}function h(e,t){return i.getLayoutValObject(e,n.nestedProperty({},t).parts)}function p(e,t){return i.getTraceValObject(e,n.nestedProperty({},t).parts)}function g(e,t,r){return r?Array.isArray(e)?r+"["+t+"]":r+"."+t:t}function v(e){for(var t=0;t<e.length;t++)if(a(e[t]))return!0}function m(e){var t;switch(e.code){case"data":t="The template has no key data.";break;case"layout":t="The template has no key layout.";break;case"missing":t=e.path?"There are no templates for item "+e.path+" with name "+e.templateitemname:"There are no templates for trace "+e.index+", of type "+e.traceType+".";break;case"unused":t=e.path?"The template item at "+e.path+" was not used in constructing the plot.":e.dataCount?"Some of the templates of type "+e.traceType+" were not used. The template has "+e.templateCount+" traces, the data only has "+e.dataCount+" of this type.":"The template has "+e.templateCount+" traces of type "+e.traceType+" but there are none in the data.";break;case"reused":t="Some of the templates of type "+e.traceType+" were used more than once. The template has "+e.templateCount+" traces, the data has "+e.dataCount+" of this type."}return e.msg=t,e}t.makeTemplate=function(e){e=n.isPlainObject(e)?e:n.getGraphDiv(e),e=n.extendDeep({_context:c},{data:e.data,layout:e.layout}),o.supplyDefaults(e);var t=e.data||[],r=e.layout||{};r._basePlotModules=e._fullLayout._basePlotModules,r._modules=e._fullLayout._modules;var i={data:{},layout:{}};t.forEach((function(e){var t={};f(e,t,p.bind(null,e));var r=n.coerce(e,{},s,"type"),a=i.data[r];a||(a=i.data[r]=[]),a.push(t)})),f(r,i.layout,h.bind(null,r)),delete i.layout.template;var l=r.template;if(a(l)){var d,g,v,m,y,x,b=l.layout;a(b)&&u(b,i.layout);var w=l.data;if(a(w)){for(g in i.data)if(v=w[g],Array.isArray(v)){for(x=(y=i.data[g]).length,m=v.length,d=0;d<x;d++)u(v[d%m],y[d]);for(d=x;d<m;d++)y.push(n.extendDeep({},v[d]))}for(g in w)g in i.data||(i.data[g]=n.extendDeep([],w[g]))}}return i},t.validateTemplate=function(e,t){var r=n.extendDeep({},{_context:c,data:e.data,layout:e.layout}),i=r.layout||{};a(t)||(t=i.template||{});var s=t.layout,l=t.data,u=[];r.layout=i,r.layout.template=t,o.supplyDefaults(r);var f=r._fullLayout,h=r._fullData,p={};if(a(s)?(!function e(t,r){for(var n in t)if("_"!==n.charAt(0)&&a(t[n])){var i,o=d(n),s=[];for(i=0;i<r.length;i++)s.push(g(t,n,r[i])),o!==n&&s.push(g(t,o,r[i]));for(i=0;i<s.length;i++)p[s[i]]=1;e(t[n],s)}}(f,["layout"]),function e(t,r){for(var n in t)if(-1===n.indexOf("defaults")&&a(t[n])){var i=g(t,n,r);p[i]?e(t[n],i):u.push({code:"unused",path:i})}}(s,"layout")):u.push({code:"layout"}),a(l)){for(var y,x={},b=0;b<h.length;b++){var w=h[b];x[y=w.type]=(x[y]||0)+1,w._fullInput._template||u.push({code:"missing",index:w._fullInput.index,traceType:y})}for(y in l){var _=l[y].length,k=x[y]||0;_>k?u.push({code:"unused",traceType:y,templateCount:_,dataCount:k}):k>_&&u.push({code:"reused",traceType:y,templateCount:_,dataCount:k})}}else u.push({code:"data"});if(function e(t,r){for(var n in t)if("_"!==n.charAt(0)){var i=t[n],o=g(t,n,r);a(i)?(Array.isArray(t)&&!1===i._template&&i.templateitemname&&u.push({code:"missing",path:o,templateitemname:i.templateitemname}),e(i,o)):Array.isArray(i)&&v(i)&&e(i,o)}}({data:h,layout:f},""),u.length)return u.map(m)}},LdfS:function(e,t,r){"use strict";var n=r("/CZE"),a=r("e6NF");e.exports=function(e,t){function r(r,i){return n.coerce(e,t,a,r,i)}r("sunburstcolorway",t.colorway),r("extendsunburstcolors")}},LfN2:function(e,t,r){"use strict";var n=r("bljh"),a=r("0RW4"),i=r("g9E0"),o=r("/CZE"),s=r("Nx4I"),l=r("k6aH").resizeText,c=r("+1rr"),u=c.textfont,d=c.insidetextfont,f=c.outsidetextfont,h=r("aDMI");function p(e,t,r){i.pointStyle(e.selectAll("path"),t,r),g(e,t,r)}function g(e,t,r){e.selectAll("text").each((function(e){var a=n.select(this),s=o.ensureUniformFontSize(r,v(a,e,t,r));i.font(a,s)}))}function v(e,t,r,n){var a=n._fullLayout.font,i=r.textfont;if(e.classed("bartext-inside")){var o=w(t,r);i=y(r,t.i,a,o)}else e.classed("bartext-outside")&&(i=x(r,t.i,a));return i}function m(e,t,r){return b(u,e.textfont,t,r)}function y(e,t,r,n){var i=m(e,t,r);return(void 0===e._input.textfont||void 0===e._input.textfont.color||Array.isArray(e.textfont.color)&&void 0===e.textfont.color[t])&&(i={color:a.contrast(n),family:i.family,size:i.size}),b(d,e.insidetextfont,t,i)}function x(e,t,r){var n=m(e,t,r);return b(f,e.outsidetextfont,t,n)}function b(e,t,r,n){t=t||{};var a=h.getValue(t.family,r),i=h.getValue(t.size,r),o=h.getValue(t.color,r);return{family:h.coerceString(e.family,a,n.family),size:h.coerceNumber(e.size,i,n.size),color:h.coerceColor(e.color,o,n.color)}}function w(e,t){return"waterfall"===t.type?t[e.dir].marker.color:e.mc||t.marker.color}e.exports={style:function(e){var t=n.select(e).selectAll("g.barlayer").selectAll("g.trace");l(e,t,"bar");var r=t.size(),a=e._fullLayout;t.style("opacity",(function(e){return e[0].trace.opacity})).each((function(e){("stack"===a.barmode&&r>1||0===a.bargap&&0===a.bargroupgap&&!e[0].trace.marker.line.width)&&n.select(this).attr("shape-rendering","crispEdges")})),t.selectAll("g.points").each((function(t){p(n.select(this),t[0].trace,e)})),s.getComponentMethod("errorbars","style")(t)},styleTextPoints:g,styleOnSelect:function(e,t,r){var a=t[0].trace;a.selectedpoints?function(e,t,r){i.selectedPointStyle(e.selectAll("path"),t),function(e,t,r){e.each((function(e){var a,s=n.select(this);if(e.selected){a=o.ensureUniformFontSize(r,v(s,e,t,r));var l=t.selected.textfont&&t.selected.textfont.color;l&&(a.color=l),i.font(s,a)}else i.selectedTextStyle(s,t)}))}(e.selectAll("text"),t,r)}(r,a,e):(p(r,a,e),s.getComponentMethod("errorbars","style")(r))},getInsideTextFont:y,getOutsideTextFont:x,getBarColor:w,resizeText:l}},Lj1h:function(e,t,r){"use strict";var n=/^(.*)(\.[^\.\[\]]+|\[\d\])$/,a=/^[^\.\[\]]+$/;e.exports=function(e,t){for(;t;){var r=e.match(n);if(r)e=r[1];else{if(!e.match(a))throw new Error("bad relativeAttr call:"+[e,t]);e=""}if("^"!==t.charAt(0))break;t=t.slice(1)}return e&&"["!==t.charAt(0)?e+"."+t:e+t}},LsCN:function(e,t,r){"use strict";var n=r("b79I").a,a=r("KHd+"),i=Object(a.a)(n,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("v-dialog",{staticStyle:{top:"20%"},attrs:{width:"700px",persistent:""},model:{value:e.internalShowGraphSettingsDialog,callback:function(t){e.internalShowGraphSettingsDialog=t},expression:"internalShowGraphSettingsDialog"}},[r("v-tabs",{attrs:{"background-color":"#00796b",dark:""}},[r("v-tab",{attrs:{href:"#tabinmenuform-1"}},[e._v("General")]),e._v(" "),e.isGraph?r("v-tab",{attrs:{href:"#tabinmenuform-2"}},[e._v("Measures")]):e._e(),e._v(" "),e.isGraph?r("v-tab",{attrs:{href:"#tabinmenuform-3"}},[e._v("Axes")]):e._e(),e._v(" "),e._l(3,(function(t){return r("v-tab-item",{key:t,attrs:{value:"tabinmenuform-"+t}},[1==t?r("v-card",{staticClass:"mx-1",attrs:{flat:"",tile:""}},[r("v-text-field",{staticClass:"mt-0",attrs:{label:"Title","single-line":""},model:{value:e.gSettings.reporttitle,callback:function(t){e.$set(e.gSettings,"reporttitle",t)},expression:"gSettings.reporttitle"}}),e._v(" "),r("v-select",{attrs:{items:e.graphTypes,label:"GraphType"},model:{value:e.selectedGraphType,callback:function(t){e.selectedGraphType=t},expression:"selectedGraphType"}}),e._v(" "),e.isGraph&&!e.isMap?r("div",[r("v-row",[r("v-col",[r("v-switch",{attrs:{label:"Show Point Labels"},model:{value:e.gSettings.showpointlabels,callback:function(t){e.$set(e.gSettings,"showpointlabels",t)},expression:"gSettings.showpointlabels"}})],1),e._v(" "),r("v-col",[r("v-switch",{attrs:{label:"Show Legends"},model:{value:e.gSettings.showlegends,callback:function(t){e.$set(e.gSettings,"showlegends",t)},expression:"gSettings.showlegends"}})],1)],1),e._v(" "),e.gSettings.showlegends?r("v-row",[r("v-col",[r("p",[e._v("LegendOrientation")]),e._v(" "),r("v-radio-group",{attrs:{row:""},model:{value:e.gSettings.legendorientation,callback:function(t){e.$set(e.gSettings,"legendorientation",t)},expression:"gSettings.legendorientation"}},[r("v-radio",{attrs:{label:"Vertical",value:"v"}}),e._v(" "),r("v-radio",{attrs:{label:"Horizontal",value:"h"}})],1)],1),e._v(" "),r("v-col",[r("p",[e._v("LegendPosition")]),e._v(" "),r("v-row",[r("v-col",[r("v-text-field",{attrs:{dense:"",label:"x",rules:[e.rules.counter]},model:{value:e.gSettings.legendposition.x,callback:function(t){e.$set(e.gSettings.legendposition,"x",t)},expression:"gSettings.legendposition.x"}})],1),e._v(" "),r("v-col",[r("v-text-field",{attrs:{dense:"",label:"y",rules:[e.rules.counter]},model:{value:e.gSettings.legendposition.y,callback:function(t){e.$set(e.gSettings.legendposition,"y",t)},expression:"gSettings.legendposition.y"}})],1),e._v(" "),r("v-col",[r("v-select",{staticClass:"mt-0 pt-0",attrs:{items:["left","right"],label:"Anchor"},model:{value:e.gSettings.legendposition.anchor,callback:function(t){e.$set(e.gSettings.legendposition,"anchor",t)},expression:"gSettings.legendposition.anchor"}})],1)],1)],1)],1):e._e()],1):e._e(),e._v(" "),"DataTable"==e.selectedGraphType?r("div",["DataTable"==e.selectedGraphType?r("v-checkbox",{attrs:{label:"Show Currency"},model:{value:e.gSettings.showCurrency,callback:function(t){e.$set(e.gSettings,"showCurrency",t)},expression:"gSettings.showCurrency"}}):e._e(),e._v(" "),"DataTable"==e.selectedGraphType?r("v-checkbox",{attrs:{label:"Show Search"},model:{value:e.gSettings.showSearch,callback:function(t){e.$set(e.gSettings,"showSearch",t)},expression:"gSettings.showSearch"}}):e._e()],1):e._e(),e._v(" "),"InfoBox"==e.selectedGraphType?r("v-checkbox",{attrs:{label:"isComparison"},model:{value:e.gSettings.isComparison,callback:function(t){e.$set(e.gSettings,"isComparison",t)},expression:"gSettings.isComparison"}}):e._e(),e._v(" "),"InfoBox"==e.selectedGraphType?r("p",[e._v("DesiredValueTendency")]):e._e(),e._v(" "),"InfoBox"==e.selectedGraphType?r("v-radio-group",{attrs:{row:""},model:{value:e.gSettings.desiredValueTendency,callback:function(t){e.$set(e.gSettings,"desiredValueTendency",t)},expression:"gSettings.desiredValueTendency"}},[r("v-radio",{attrs:{label:"Increment",value:"incr"}}),e._v(" "),r("v-radio",{attrs:{label:"Decrement",value:"decr"}})],1):e._e(),e._v(" "),r("v-spacer"),e._v(" "),r("v-card-actions",[r("v-btn",{on:{click:function(t){return e.changeGraph()}}},[e._v("Apply")]),e._v(" "),r("v-btn",{on:{click:function(t){return e.cancel()}}},[e._v("Cancel")])],1)],1):e._e(),e._v(" "),2==t&&"InfoBox"!=e.selectedGraphType&&"ProgressBar"!=e.selectedGraphType?r("v-card",{staticStyle:{height:"100%"},attrs:{flat:"",tile:""}},[r("v-tabs",{attrs:{vertical:"","hide-slider":""}},[e._l(e.item.measures,(function(t,n){return r("v-tab",{key:t,attrs:{href:"#tab-"+t},on:{click:function(r){return e.measureSelection(t,n)}}},[e._v(e._s(e.getMetaNameById(t)))])})),e._v(" "),e._l(e.item.measures,(function(t){return r("v-tab-item",{key:t,staticStyle:{"overflow-x":"hidden"},attrs:{value:"tab-"+t}},[r("v-card",[r("v-switch",{attrs:{label:"Show Measure"},model:{value:e.measureProps.showmeasure,callback:function(t){e.$set(e.measureProps,"showmeasure",t)},expression:"measureProps.showmeasure"}}),e._v(" "),r("v-row",[r("v-col",[r("v-select",{attrs:{items:e.tracetypes,label:"Trace Type"},model:{value:e.measureProps.tracetype,callback:function(t){e.$set(e.measureProps,"tracetype",t)},expression:"measureProps.tracetype"}})],1),e._v(" "),r("v-col",{staticStyle:{display:"flex"}},[r("v-text-field",{attrs:{label:"Measure Color"},model:{value:e.measureProps.color,callback:function(t){e.$set(e.measureProps,"color",t)},expression:"measureProps.color"}}),e._v(" "),r("v-menu",{attrs:{"close-on-content-click":!1},scopedSlots:e._u([{key:"activator",fn:function(t){var n=t.on;return[r("v-icon",e._g({},n),[e._v("mdi-palette")])]}}],null,!0)},[e._v(" "),r("v-color-picker",{staticClass:"mx-auto",attrs:{value:"#7417BE","hide-swatches":""},model:{value:e.measureProps.color,callback:function(t){e.$set(e.measureProps,"color",t)},expression:"measureProps.color"}})],1)],1)],1),e._v(" "),r("v-row",{staticClass:"align-center"},[r("v-col",{attrs:{cols:"2"}},[r("div",{staticClass:"text-h5"},[e._v("Y-Axis")])]),e._v(" "),r("v-col",[r("v-switch",{staticStyle:{"margin-top":"0px",height:"32px"},attrs:{label:"Show Grid Line"},model:{value:e.measureProps.showygridline,callback:function(t){e.$set(e.measureProps,"showygridline",t)},expression:"measureProps.showygridline"}})],1),e._v(" "),r("v-col",[r("v-switch",{staticStyle:{"margin-top":"0px",height:"32px"},attrs:{label:"Show Zero Line"},model:{value:e.measureProps.showyzeroline,callback:function(t){e.$set(e.measureProps,"showyzeroline",t)},expression:"measureProps.showyzeroline"}})],1)],1),e._v(" "),r("v-card-actions",[r("v-btn",{on:{click:function(t){return e.measurePropsApply()}}},[e._v("Apply")]),e._v(" "),r("v-btn",{on:{click:function(t){return e.cancel()}}},[e._v("Cancel")])],1)],1)],1)}))],2)],1):e._e(),e._v(" "),3==t&&e.isGraph?r("v-card",[e.isMultiaxes?r("v-switch",{staticClass:"mt-0",attrs:{label:"Show MultiAxes"},model:{value:e.axesProps.showmultiaxes,callback:function(t){e.$set(e.axesProps,"showmultiaxes",t)},expression:"axesProps.showmultiaxes"}}):e._e(),e._v(" "),r("v-row",{staticClass:"align-center"},[r("v-col",{attrs:{cols:"3"}},[r("div",{staticClass:"text-h5"},[e._v("X-Axis")])]),e._v(" "),r("v-col",[r("v-switch",{staticStyle:{"margin-top":"0px",height:"32px"},attrs:{label:"Show Grid Line"},model:{value:e.axesProps.showxgridline,callback:function(t){e.$set(e.axesProps,"showxgridline",t)},expression:"axesProps.showxgridline"}})],1),e._v(" "),r("v-col",[r("v-switch",{staticStyle:{"margin-top":"0px",height:"32px"},attrs:{label:"Show Zero Line"},model:{value:e.axesProps.showxzeroline,callback:function(t){e.$set(e.axesProps,"showxzeroline",t)},expression:"axesProps.showxzeroline"}})],1),e._v(" "),r("v-col",[r("v-switch",{staticStyle:{"margin-top":"0px",height:"32px"},attrs:{label:"Autotick"},model:{value:e.axesProps.autotick,callback:function(t){e.$set(e.axesProps,"autotick",t)},expression:"axesProps.autotick"}})],1)],1),e._v(" "),r("v-card-actions",[r("v-btn",{on:{click:function(t){return e.changeGraph()}}},[e._v("Apply")]),e._v(" "),r("v-btn",{on:{click:function(t){return e.cancel()}}},[e._v("Cancel")])],1)],1):e._e()],1)}))],2)],1)}),[],!1,null,null,null);t.a=i.exports},M1CZ:function(e,t,r){"use strict";var n=r("bljh");e.exports={circle:{n:0,f:function(e){var t=n.round(e,2);return"M"+t+",0A"+t+","+t+" 0 1,1 0,-"+t+"A"+t+","+t+" 0 0,1 "+t+",0Z"}},square:{n:1,f:function(e){var t=n.round(e,2);return"M"+t+","+t+"H-"+t+"V-"+t+"H"+t+"Z"}},diamond:{n:2,f:function(e){var t=n.round(1.3*e,2);return"M"+t+",0L0,"+t+"L-"+t+",0L0,-"+t+"Z"}},cross:{n:3,f:function(e){var t=n.round(.4*e,2),r=n.round(1.2*e,2);return"M"+r+","+t+"H"+t+"V"+r+"H-"+t+"V"+t+"H-"+r+"V-"+t+"H-"+t+"V-"+r+"H"+t+"V-"+t+"H"+r+"Z"}},x:{n:4,f:function(e){var t=n.round(.8*e/Math.sqrt(2),2),r="l"+t+","+t,a="l"+t+",-"+t,i="l-"+t+",-"+t,o="l-"+t+","+t;return"M0,"+t+r+a+i+a+i+o+i+o+r+o+r+"Z"}},"triangle-up":{n:5,f:function(e){var t=n.round(2*e/Math.sqrt(3),2);return"M-"+t+","+n.round(e/2,2)+"H"+t+"L0,-"+n.round(e,2)+"Z"}},"triangle-down":{n:6,f:function(e){var t=n.round(2*e/Math.sqrt(3),2);return"M-"+t+",-"+n.round(e/2,2)+"H"+t+"L0,"+n.round(e,2)+"Z"}},"triangle-left":{n:7,f:function(e){var t=n.round(2*e/Math.sqrt(3),2);return"M"+n.round(e/2,2)+",-"+t+"V"+t+"L-"+n.round(e,2)+",0Z"}},"triangle-right":{n:8,f:function(e){var t=n.round(2*e/Math.sqrt(3),2);return"M-"+n.round(e/2,2)+",-"+t+"V"+t+"L"+n.round(e,2)+",0Z"}},"triangle-ne":{n:9,f:function(e){var t=n.round(.6*e,2),r=n.round(1.2*e,2);return"M-"+r+",-"+t+"H"+t+"V"+r+"Z"}},"triangle-se":{n:10,f:function(e){var t=n.round(.6*e,2),r=n.round(1.2*e,2);return"M"+t+",-"+r+"V"+t+"H-"+r+"Z"}},"triangle-sw":{n:11,f:function(e){var t=n.round(.6*e,2),r=n.round(1.2*e,2);return"M"+r+","+t+"H-"+t+"V-"+r+"Z"}},"triangle-nw":{n:12,f:function(e){var t=n.round(.6*e,2),r=n.round(1.2*e,2);return"M-"+t+","+r+"V-"+t+"H"+r+"Z"}},pentagon:{n:13,f:function(e){var t=n.round(.951*e,2),r=n.round(.588*e,2),a=n.round(-e,2),i=n.round(-.309*e,2);return"M"+t+","+i+"L"+r+","+n.round(.809*e,2)+"H-"+r+"L-"+t+","+i+"L0,"+a+"Z"}},hexagon:{n:14,f:function(e){var t=n.round(e,2),r=n.round(e/2,2),a=n.round(e*Math.sqrt(3)/2,2);return"M"+a+",-"+r+"V"+r+"L0,"+t+"L-"+a+","+r+"V-"+r+"L0,-"+t+"Z"}},hexagon2:{n:15,f:function(e){var t=n.round(e,2),r=n.round(e/2,2),a=n.round(e*Math.sqrt(3)/2,2);return"M-"+r+","+a+"H"+r+"L"+t+",0L"+r+",-"+a+"H-"+r+"L-"+t+",0Z"}},octagon:{n:16,f:function(e){var t=n.round(.924*e,2),r=n.round(.383*e,2);return"M-"+r+",-"+t+"H"+r+"L"+t+",-"+r+"V"+r+"L"+r+","+t+"H-"+r+"L-"+t+","+r+"V-"+r+"Z"}},star:{n:17,f:function(e){var t=1.4*e,r=n.round(.225*t,2),a=n.round(.951*t,2),i=n.round(.363*t,2),o=n.round(.588*t,2),s=n.round(-t,2),l=n.round(-.309*t,2),c=n.round(.118*t,2),u=n.round(.809*t,2);return"M"+r+","+l+"H"+a+"L"+i+","+c+"L"+o+","+u+"L0,"+n.round(.382*t,2)+"L-"+o+","+u+"L-"+i+","+c+"L-"+a+","+l+"H-"+r+"L0,"+s+"Z"}},hexagram:{n:18,f:function(e){var t=n.round(.66*e,2),r=n.round(.38*e,2),a=n.round(.76*e,2);return"M-"+a+",0l-"+r+",-"+t+"h"+a+"l"+r+",-"+t+"l"+r+","+t+"h"+a+"l-"+r+","+t+"l"+r+","+t+"h-"+a+"l-"+r+","+t+"l-"+r+",-"+t+"h-"+a+"Z"}},"star-triangle-up":{n:19,f:function(e){var t=n.round(e*Math.sqrt(3)*.8,2),r=n.round(.8*e,2),a=n.round(1.6*e,2),i=n.round(4*e,2),o="A "+i+","+i+" 0 0 1 ";return"M-"+t+","+r+o+t+","+r+o+"0,-"+a+o+"-"+t+","+r+"Z"}},"star-triangle-down":{n:20,f:function(e){var t=n.round(e*Math.sqrt(3)*.8,2),r=n.round(.8*e,2),a=n.round(1.6*e,2),i=n.round(4*e,2),o="A "+i+","+i+" 0 0 1 ";return"M"+t+",-"+r+o+"-"+t+",-"+r+o+"0,"+a+o+t+",-"+r+"Z"}},"star-square":{n:21,f:function(e){var t=n.round(1.1*e,2),r=n.round(2*e,2),a="A "+r+","+r+" 0 0 1 ";return"M-"+t+",-"+t+a+"-"+t+","+t+a+t+","+t+a+t+",-"+t+a+"-"+t+",-"+t+"Z"}},"star-diamond":{n:22,f:function(e){var t=n.round(1.4*e,2),r=n.round(1.9*e,2),a="A "+r+","+r+" 0 0 1 ";return"M-"+t+",0"+a+"0,"+t+a+t+",0"+a+"0,-"+t+a+"-"+t+",0Z"}},"diamond-tall":{n:23,f:function(e){var t=n.round(.7*e,2),r=n.round(1.4*e,2);return"M0,"+r+"L"+t+",0L0,-"+r+"L-"+t+",0Z"}},"diamond-wide":{n:24,f:function(e){var t=n.round(1.4*e,2),r=n.round(.7*e,2);return"M0,"+r+"L"+t+",0L0,-"+r+"L-"+t+",0Z"}},hourglass:{n:25,f:function(e){var t=n.round(e,2);return"M"+t+","+t+"H-"+t+"L"+t+",-"+t+"H-"+t+"Z"},noDot:!0},bowtie:{n:26,f:function(e){var t=n.round(e,2);return"M"+t+","+t+"V-"+t+"L-"+t+","+t+"V-"+t+"Z"},noDot:!0},"circle-cross":{n:27,f:function(e){var t=n.round(e,2);return"M0,"+t+"V-"+t+"M"+t+",0H-"+t+"M"+t+",0A"+t+","+t+" 0 1,1 0,-"+t+"A"+t+","+t+" 0 0,1 "+t+",0Z"},needLine:!0,noDot:!0},"circle-x":{n:28,f:function(e){var t=n.round(e,2),r=n.round(e/Math.sqrt(2),2);return"M"+r+","+r+"L-"+r+",-"+r+"M"+r+",-"+r+"L-"+r+","+r+"M"+t+",0A"+t+","+t+" 0 1,1 0,-"+t+"A"+t+","+t+" 0 0,1 "+t+",0Z"},needLine:!0,noDot:!0},"square-cross":{n:29,f:function(e){var t=n.round(e,2);return"M0,"+t+"V-"+t+"M"+t+",0H-"+t+"M"+t+","+t+"H-"+t+"V-"+t+"H"+t+"Z"},needLine:!0,noDot:!0},"square-x":{n:30,f:function(e){var t=n.round(e,2);return"M"+t+","+t+"L-"+t+",-"+t+"M"+t+",-"+t+"L-"+t+","+t+"M"+t+","+t+"H-"+t+"V-"+t+"H"+t+"Z"},needLine:!0,noDot:!0},"diamond-cross":{n:31,f:function(e){var t=n.round(1.3*e,2);return"M"+t+",0L0,"+t+"L-"+t+",0L0,-"+t+"ZM0,-"+t+"V"+t+"M-"+t+",0H"+t},needLine:!0,noDot:!0},"diamond-x":{n:32,f:function(e){var t=n.round(1.3*e,2),r=n.round(.65*e,2);return"M"+t+",0L0,"+t+"L-"+t+",0L0,-"+t+"ZM-"+r+",-"+r+"L"+r+","+r+"M-"+r+","+r+"L"+r+",-"+r},needLine:!0,noDot:!0},"cross-thin":{n:33,f:function(e){var t=n.round(1.4*e,2);return"M0,"+t+"V-"+t+"M"+t+",0H-"+t},needLine:!0,noDot:!0,noFill:!0},"x-thin":{n:34,f:function(e){var t=n.round(e,2);return"M"+t+","+t+"L-"+t+",-"+t+"M"+t+",-"+t+"L-"+t+","+t},needLine:!0,noDot:!0,noFill:!0},asterisk:{n:35,f:function(e){var t=n.round(1.2*e,2),r=n.round(.85*e,2);return"M0,"+t+"V-"+t+"M"+t+",0H-"+t+"M"+r+","+r+"L-"+r+",-"+r+"M"+r+",-"+r+"L-"+r+","+r},needLine:!0,noDot:!0,noFill:!0},hash:{n:36,f:function(e){var t=n.round(e/2,2),r=n.round(e,2);return"M"+t+","+r+"V-"+r+"m-"+r+",0V"+r+"M"+r+","+t+"H-"+r+"m0,-"+r+"H"+r},needLine:!0,noFill:!0},"y-up":{n:37,f:function(e){var t=n.round(1.2*e,2),r=n.round(1.6*e,2),a=n.round(.8*e,2);return"M-"+t+","+a+"L0,0M"+t+","+a+"L0,0M0,-"+r+"L0,0"},needLine:!0,noDot:!0,noFill:!0},"y-down":{n:38,f:function(e){var t=n.round(1.2*e,2),r=n.round(1.6*e,2),a=n.round(.8*e,2);return"M-"+t+",-"+a+"L0,0M"+t+",-"+a+"L0,0M0,"+r+"L0,0"},needLine:!0,noDot:!0,noFill:!0},"y-left":{n:39,f:function(e){var t=n.round(1.2*e,2),r=n.round(1.6*e,2),a=n.round(.8*e,2);return"M"+a+","+t+"L0,0M"+a+",-"+t+"L0,0M-"+r+",0L0,0"},needLine:!0,noDot:!0,noFill:!0},"y-right":{n:40,f:function(e){var t=n.round(1.2*e,2),r=n.round(1.6*e,2),a=n.round(.8*e,2);return"M-"+a+","+t+"L0,0M-"+a+",-"+t+"L0,0M"+r+",0L0,0"},needLine:!0,noDot:!0,noFill:!0},"line-ew":{n:41,f:function(e){var t=n.round(1.4*e,2);return"M"+t+",0H-"+t},needLine:!0,noDot:!0,noFill:!0},"line-ns":{n:42,f:function(e){var t=n.round(1.4*e,2);return"M0,"+t+"V-"+t},needLine:!0,noDot:!0,noFill:!0},"line-ne":{n:43,f:function(e){var t=n.round(e,2);return"M"+t+",-"+t+"L-"+t+","+t},needLine:!0,noDot:!0,noFill:!0},"line-nw":{n:44,f:function(e){var t=n.round(e,2);return"M"+t+","+t+"L-"+t+",-"+t},needLine:!0,noDot:!0,noFill:!0}}},MGx7:function(e,t,r){"use strict";e.exports=function(e){return e}},MZPV:function(e,t,r){var n=r("FYS6");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("6f587956",n,!0,{})},MnPd:function(e,t,r){"use strict";var n=r("I23g");e.exports={moduleType:"component",name:"shapes",layoutAttributes:r("pcxQ"),supplyLayoutDefaults:r("Vn7P"),supplyDrawNewShapeDefaults:r("Cluh"),includeBasePlot:r("N9FU")("shapes"),calcAutorange:r("zvAA"),draw:n.draw,drawOne:n.drawOne}},"N+MO":function(e,t,r){"use strict";e.exports={barmode:{valType:"enumerated",values:["stack","group","overlay","relative"],dflt:"group",role:"info",editType:"calc",description:["Determines how bars at the same location coordinate","are displayed on the graph.","With *stack*, the bars are stacked on top of one another","With *relative*, the bars are stacked on top of one another,","with negative values below the axis, positive values above","With *group*, the bars are plotted next to one another","centered around the shared location.","With *overlay*, the bars are plotted over one another,","you might need to an *opacity* to see multiple bars."].join(" ")},barnorm:{valType:"enumerated",values:["","fraction","percent"],dflt:"",role:"info",editType:"calc",description:["Sets the normalization for bar traces on the graph.","With *fraction*, the value of each bar is divided by the sum of all","values at that location coordinate.","*percent* is the same but multiplied by 100 to show percentages."].join(" ")},bargap:{valType:"number",min:0,max:1,role:"style",editType:"calc",description:["Sets the gap (in plot fraction) between bars of","adjacent location coordinates."].join(" ")},bargroupgap:{valType:"number",min:0,max:1,dflt:0,role:"style",editType:"calc",description:["Sets the gap (in plot fraction) between bars of","the same location coordinate."].join(" ")}}},N4q2:function(e,t,r){"use strict";var n=r("eGLN");r.n(n).a},N9FU:function(e,t,r){"use strict";var n=r("Nx4I"),a=r("/CZE");e.exports=function(e){return function(t,r){var i=t[e];if(Array.isArray(i))for(var o=n.subplotsRegistry.cartesian,s=o.idRegex,l=r._subplots,c=l.xaxis,u=l.yaxis,d=l.cartesian,f=r._has("cartesian")||r._has("gl2d"),h=0;h<i.length;h++){var p=i[h];if(a.isPlainObject(p)){var g=p.xref,v=p.yref,m=s.x.test(g),y=s.y.test(v);if(m||y){f||a.pushUnique(r._basePlotModules,o);var x=!1;m&&-1===c.indexOf(g)&&(c.push(g),x=!0),y&&-1===u.indexOf(v)&&(u.push(v),x=!0),x&&m&&y&&d.push(g+v)}}}}}},"NJ/+":function(e,t,r){(t=r("JPst")(!1)).push([e.i,".spinner *[data-v-589e998e]{line-height:0;box-sizing:border-box}.spinner>div[data-v-589e998e]{background-color:transparent;border:1px solid #41b883;border-radius:100%;animation-fill-mode:both;position:absolute;opacity:0;width:50px;height:50px;animation:wave-jumper-data-v-589e998e 1s 0s linear infinite}.spinner>div[data-v-589e998e]:nth-child(2){animation-delay:0.33333s}.spinner>div[data-v-589e998e]:nth-child(3){animation-delay:0.66666s}@keyframes wave-jumper-data-v-589e998e{0%{opacity:0;transform:scale(0)}5%{opacity:1}100%{opacity:0}}\n",""]),e.exports=t},NMwq:function(e,t){var r={toPolygon:function(e,t){function r(t){if(t.length<=0)return e.segments({inverted:!1,regions:[]});function r(t){var r=t.slice(0,t.length-1);return e.segments({inverted:!1,regions:[r]})}for(var n=r(t[0]),a=1;a<t.length;a++)n=e.selectDifference(e.combine(n,r(t[a])));return n}if("Polygon"===t.type)return e.polygon(r(t.coordinates));if("MultiPolygon"===t.type){for(var n=e.segments({inverted:!1,regions:[]}),a=0;a<t.coordinates.length;a++)n=e.selectUnion(e.combine(n,r(t.coordinates[a])));return e.polygon(n)}throw new Error("PolyBool: Cannot convert GeoJSON object to PolyBool polygon")},fromPolygon:function(e,t,r){function n(e,r){return t.pointInsideRegion([.5*(e[0][0]+e[1][0]),.5*(e[0][1]+e[1][1])],r)}function a(e){return{region:e,children:[]}}r=e.polygon(e.segments(r));var i=a(null);function o(e,t){for(var r=0;r<e.children.length;r++){if(n(t,(s=e.children[r]).region))return void o(s,t)}var i=a(t);for(r=0;r<e.children.length;r++){var s;n((s=e.children[r]).region,t)&&(i.children.push(s),e.children.splice(r,1),r--)}e.children.push(i)}for(var s=0;s<r.regions.length;s++){var l=r.regions[s];l.length<3||o(i,l)}function c(e,t){for(var r=0,n=e[e.length-1][0],a=e[e.length-1][1],i=[],o=0;o<e.length;o++){var s=e[o][0],l=e[o][1];i.push([s,l]),r+=l*n-s*a,n=s,a=l}return r<0!==t&&i.reverse(),i.push([i[0][0],i[0][1]]),i}var u=[];function d(e){var t=[c(e.region,!1)];u.push(t);for(var r=0;r<e.children.length;r++)t.push(f(e.children[r]))}function f(e){for(var t=0;t<e.children.length;t++)d(e.children[t]);return c(e.region,!0)}for(s=0;s<i.children.length;s++)d(i.children[s]);return u.length<=0?{type:"Polygon",coordinates:[]}:1==u.length?{type:"Polygon",coordinates:u[0]}:{type:"MultiPolygon",coordinates:u}}};e.exports=r},NNjz:function(e,t,r){"use strict";var n=r("bljh"),a=r("/CZE"),i=r("g9E0"),o=r("6AZA").BADNUM,s=r("x5FY"),l=r("k6aH").clearMinTextSize;function c(e,t,r,n){var a=[],i=[],o=n?t:r,s=n?r:t;return a[0]=o.c2p(e.s0,!0),i[0]=s.c2p(e.p0,!0),a[1]=o.c2p(e.s1,!0),i[1]=s.c2p(e.p1,!0),a[2]=o.c2p(e.nextS0,!0),i[2]=s.c2p(e.nextP0,!0),a[3]=o.c2p(e.nextS1,!0),i[3]=s.c2p(e.nextP1,!0),n?[a,i]:[i,a]}e.exports=function(e,t,r,u){var d=e._fullLayout;l("funnel",d),function(e,t,r,s){var l=t.xaxis,u=t.yaxis;a.makeTraceGroups(s,r,"trace bars").each((function(r){var s=n.select(this),d=r[0].trace,f=a.ensureSingle(s,"g","regions");if(d.connector&&d.connector.visible){var h="h"===d.orientation,p=f.selectAll("g.region").data(a.identity);p.enter().append("g").classed("region",!0),p.exit().remove();var g=p.size();p.each((function(r,s){if(s===g-1||r.cNext){var d=c(r,l,u,h),f=d[0],p=d[1],v="";f[0]!==o&&p[0]!==o&&f[1]!==o&&p[1]!==o&&f[2]!==o&&p[2]!==o&&f[3]!==o&&p[3]!==o&&(v+=h?"M"+f[0]+","+p[1]+"L"+f[2]+","+p[2]+"H"+f[3]+"L"+f[1]+","+p[1]+"Z":"M"+f[1]+","+p[1]+"L"+f[2]+","+p[3]+"V"+p[2]+"L"+f[1]+","+p[0]+"Z"),""===v&&(v="M0,0Z"),a.ensureSingle(n.select(this),"path").attr("d",v).call(i.setClipUrl,t.layerClipId,e)}}))}else f.remove()}))}(e,t,r,u),function(e,t,r,o){var s=t.xaxis,l=t.yaxis;a.makeTraceGroups(o,r,"trace bars").each((function(r){var o=n.select(this),u=r[0].trace,d=a.ensureSingle(o,"g","lines");if(u.connector&&u.connector.visible&&u.connector.line.width){var f="h"===u.orientation,h=d.selectAll("g.line").data(a.identity);h.enter().append("g").classed("line",!0),h.exit().remove();var p=h.size();h.each((function(r,o){if(o===p-1||r.cNext){var u=c(r,s,l,f),d=u[0],h=u[1],g="";void 0!==d[3]&&void 0!==h[3]&&(f?(g+="M"+d[0]+","+h[1]+"L"+d[2]+","+h[2],g+="M"+d[1]+","+h[1]+"L"+d[3]+","+h[2]):(g+="M"+d[1]+","+h[1]+"L"+d[2]+","+h[3],g+="M"+d[1]+","+h[0]+"L"+d[2]+","+h[2])),""===g&&(g="M0,0Z"),a.ensureSingle(n.select(this),"path").attr("d",g).call(i.setClipUrl,t.layerClipId,e)}}))}else d.remove()}))}(e,t,r,u),s.plot(e,t,r,u,{mode:d.funnelmode,norm:d.funnelmode,gap:d.funnelgap,groupgap:d.funnelgroupgap})}},NPlu:function(e,t,r){"use strict";var n=r("/CZE"),a=r("Nx4I"),i=r("plED").arrayEditor;function o(e,t){var r,n,a,i,o,l,c,u=e._fullLayout.annotations,d=[],f=[],h=[],p=(t||[]).length;for(r=0;r<u.length;r++)if(i=(a=u[r]).clicktoshow){for(n=0;n<p;n++)if(l=(o=t[n]).xaxis,c=o.yaxis,l._id===a.xref&&c._id===a.yref&&l.d2r(o.x)===s(a._xclick,l)&&c.d2r(o.y)===s(a._yclick,c)){(a.visible?"onout"===i?f:h:d).push(r);break}n===p&&a.visible&&"onout"===i&&f.push(r)}return{on:d,off:f,explicitOff:h}}function s(e,t){return"log"===t.type?t.l2r(e):t.d2r(e)}e.exports={hasClickToShow:function(e,t){var r=o(e,t);return r.on.length>0||r.explicitOff.length>0},onClick:function(e,t){var r,s,l=o(e,t),c=l.on,u=l.off.concat(l.explicitOff),d={},f=e._fullLayout.annotations;if(!c.length&&!u.length)return;for(r=0;r<c.length;r++)(s=i(e.layout,"annotations",f[c[r]])).modifyItem("visible",!0),n.extendFlat(d,s.getUpdateObj());for(r=0;r<u.length;r++)(s=i(e.layout,"annotations",f[u[r]])).modifyItem("visible",!1),n.extendFlat(d,s.getUpdateObj());return a.call("update",e,{},d)}}},NRvR:function(e,t,r){"use strict";var n=r("GbLo"),a=r("9rBw");e.exports=function(e,t,r,i){t=t||{};var o="log"===r&&"linear"===t.type,s="linear"===r&&"log"===t.type;if(o||s)for(var l,c,u=e._fullLayout.annotations,d=t._id.charAt(0),f=0;f<u.length;f++)l=u[f],c="annotations["+f+"].",l[d+"ref"]===t._id&&h(d),l["a"+d+"ref"]===t._id&&h("a"+d);function h(e){var r=l[e],s=null;s=o?a(r,t.range):Math.pow(10,r),n(s)||(s=null),i(c+e,s)}}},Nurt:function(e,t,r){"use strict";var n=r("bljh"),a=r("/CZE"),i=r("g9E0"),o=r("6AZA").BADNUM,s=r("x5FY"),l=r("k6aH").clearMinTextSize;e.exports=function(e,t,r,c){var u=e._fullLayout;l("waterfall",u),s.plot(e,t,r,c,{mode:u.waterfallmode,norm:u.waterfallmode,gap:u.waterfallgap,groupgap:u.waterfallgroupgap}),function(e,t,r,s){var l=t.xaxis,c=t.yaxis;a.makeTraceGroups(s,r,"trace bars").each((function(r){var s=n.select(this),u=r[0].trace,d=a.ensureSingle(s,"g","lines");if(u.connector&&u.connector.visible){var f="h"===u.orientation,h=u.connector.mode,p=d.selectAll("g.line").data(a.identity);p.enter().append("g").classed("line",!0),p.exit().remove();var g=p.size();p.each((function(r,s){if(s===g-1||r.cNext){var u=function(e,t,r,n){var a=[],i=[],o=n?t:r,s=n?r:t;return a[0]=o.c2p(e.s0,!0),i[0]=s.c2p(e.p0,!0),a[1]=o.c2p(e.s1,!0),i[1]=s.c2p(e.p1,!0),a[2]=o.c2p(e.nextS0,!0),i[2]=s.c2p(e.nextP0,!0),n?[a,i]:[i,a]}(r,l,c,f),d=u[0],p=u[1],v="";d[0]!==o&&p[0]!==o&&d[1]!==o&&p[1]!==o&&("spanning"===h&&!r.isSum&&s>0&&(v+=f?"M"+d[0]+","+p[1]+"V"+p[0]:"M"+d[1]+","+p[0]+"H"+d[0]),"between"!==h&&(r.isSum||s<g-1)&&(v+=f?"M"+d[1]+","+p[0]+"V"+p[1]:"M"+d[0]+","+p[1]+"H"+d[1]),d[2]!==o&&p[2]!==o&&(v+=f?"M"+d[1]+","+p[1]+"V"+p[2]:"M"+d[1]+","+p[1]+"H"+d[2])),""===v&&(v="M0,0Z"),a.ensureSingle(n.select(this),"path").attr("d",v).call(i.setClipUrl,t.layerClipId,e)}}))}else d.remove()}))}(e,t,r,c)}},Nx4I:function(e,t,r){"use strict";var n=r("rhNM"),a=r("t3iM"),i=r("Whu6"),o=r("E4V0"),s=r("G4gu").addStyleRule,l=r("kJIm"),c=r("qHYo"),u=r("poX/"),d=l.extendFlat,f=l.extendDeepAll;function h(e){var r=e.name,a=e.categories,i=e.meta;if(t.modules[r])n.log("Type "+r+" already registered");else{t.subplotsRegistry[e.basePlotModule.name]||function(e){var r=e.name;if(t.subplotsRegistry[r])return void n.log("Plot type "+r+" already registered.");for(var a in m(e),t.subplotsRegistry[r]=e,t.componentsRegistry)b(a,e.name)}(e.basePlotModule);for(var o={},l=0;l<a.length;l++)o[a[l]]=!0,t.allCategories[a[l]]=!0;for(var c in t.modules[r]={_module:e,categories:o},i&&Object.keys(i).length&&(t.modules[r].meta=i),t.allTypes.push(r),t.componentsRegistry)y(c,r);e.layoutAttributes&&d(t.traceLayoutAttributes,e.layoutAttributes);var u=e.basePlotModule,f=u.name;if("mapbox"===f){var h=u.constants.styleRules;for(var p in h)s(".js-plotly-plot .plotly .mapboxgl-"+p,h[p])}"geo"!==f&&"mapbox"!==f||void 0===typeof window||void 0!==window.PlotlyGeoAssets||(window.PlotlyGeoAssets={topojson:{}})}}function p(e){if("string"!=typeof e.name)throw new Error("Component module *name* must be a string.");var r=e.name;for(var n in t.componentsRegistry[r]=e,e.layoutAttributes&&(e.layoutAttributes._isLinkedToArray&&i(t.layoutArrayContainers,r),m(e)),t.modules)y(r,n);for(var a in t.subplotsRegistry)b(r,a);for(var o in t.transformsRegistry)x(r,o);e.schema&&e.schema.layout&&f(u,e.schema.layout)}function g(e){if("string"!=typeof e.name)throw new Error("Transform module *name* must be a string.");var r="Transform module "+e.name,a="function"==typeof e.transform,i="function"==typeof e.calcTransform;if(!a&&!i)throw new Error(r+" is missing a *transform* or *calcTransform* method.");for(var s in a&&i&&n.log([r+" has both a *transform* and *calcTransform* methods.","Please note that all *transform* methods are executed","before all *calcTransform* methods."].join(" ")),o(e.attributes)||n.log(r+" registered without an *attributes* object."),"function"!=typeof e.supplyDefaults&&n.log(r+" registered without a *supplyDefaults* method."),t.transformsRegistry[e.name]=e,t.componentsRegistry)x(s,e.name)}function v(e){var r=e.name,n=r.split("-")[0],a=e.dictionary,i=e.format,o=a&&Object.keys(a).length,s=i&&Object.keys(i).length,l=t.localeRegistry,c=l[r];if(c||(l[r]=c={}),n!==r){var u=l[n];u||(l[n]=u={}),o&&u.dictionary===c.dictionary&&(u.dictionary=a),s&&u.format===c.format&&(u.format=i)}o&&(c.dictionary=a),s&&(c.format=i)}function m(e){if(e.layoutAttributes){var r=e.layoutAttributes._arrayAttrRegexps;if(r)for(var n=0;n<r.length;n++)i(t.layoutArrayRegexes,r[n])}}function y(e,r){var n=t.componentsRegistry[e].schema;if(n&&n.traces){var a=n.traces[r];a&&f(t.modules[r]._module.attributes,a)}}function x(e,r){var n=t.componentsRegistry[e].schema;if(n&&n.transforms){var a=n.transforms[r];a&&f(t.transformsRegistry[r].attributes,a)}}function b(e,r){var n=t.componentsRegistry[e].schema;if(n&&n.subplots){var a=t.subplotsRegistry[r],i=a.layoutAttributes,o="subplot"===a.attr?a.name:a.attr;Array.isArray(o)&&(o=o[0]);var s=n.subplots[o];i&&s&&f(i,s)}}function w(e){return"object"==typeof e&&(e=e.type),e}t.modules={},t.allCategories={},t.allTypes=[],t.subplotsRegistry={},t.transformsRegistry={},t.componentsRegistry={},t.layoutArrayContainers=[],t.layoutArrayRegexes=[],t.traceLayoutAttributes={},t.localeRegistry={},t.apiMethodRegistry={},t.collectableSubplotTypes=null,t.register=function(e){if(t.collectableSubplotTypes=null,!e)throw new Error("No argument passed to Plotly.register.");e&&!Array.isArray(e)&&(e=[e]);for(var r=0;r<e.length;r++){var n=e[r];if(!n)throw new Error("Invalid module was attempted to be registered!");switch(n.moduleType){case"trace":h(n);break;case"transform":g(n);break;case"component":p(n);break;case"locale":v(n);break;case"apiMethod":var a=n.name;t.apiMethodRegistry[a]=n.fn;break;default:throw new Error("Invalid module was attempted to be registered!")}}},t.getModule=function(e){var r=t.modules[w(e)];return!!r&&r._module},t.traceIs=function(e,r){if("various"===(e=w(e)))return!1;var a=t.modules[e];return a||(e&&"area"!==e&&n.log("Unrecognized trace type "+e+"."),a=t.modules[c.type.dflt]),!!a.categories[r]},t.getTransformIndices=function(e,t){for(var r=[],n=e.transforms||[],a=0;a<n.length;a++)n[a].type===t&&r.push(a);return r},t.hasTransform=function(e,t){for(var r=e.transforms||[],n=0;n<r.length;n++)if(r[n].type===t)return!0;return!1},t.getComponentMethod=function(e,r){var n=t.componentsRegistry[e];return n&&n[r]||a},t.call=function(){var e=arguments[0],r=[].slice.call(arguments,1);return t.apiMethodRegistry[e].apply(null,r)}},O2KT:function(e,t,r){var n=r("TSQ4");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("2a1501fb",n,!0,{})},"O3R+":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("cWyK");function a(e){var t=0;if(e&&e.length>0){t+=Math.abs(i(e[0]));for(var r=1;r<e.length;r++)t-=Math.abs(i(e[r]))}return t}function i(e){var t,r,n,a,i,s,l=0,c=e.length;if(c>2){for(s=0;s<c;s++)s===c-2?(n=c-2,a=c-1,i=0):s===c-1?(n=c-1,a=0,i=1):(n=s,a=s+1,i=s+2),t=e[n],r=e[a],l+=(o(e[i][0])-o(t[0]))*Math.sin(o(r[1]));l=6378137*l*6378137/2}return l}function o(e){return e*Math.PI/180}t.default=function(e){return n.geomReduce(e,(function(e,t){return e+function(e){var t,r=0;switch(e.type){case"Polygon":return a(e.coordinates);case"MultiPolygon":for(t=0;t<e.coordinates.length;t++)r+=a(e.coordinates[t]);return r;case"Point":case"MultiPoint":case"LineString":case"MultiLineString":return 0}return 0}(t)}),0)}},OAL3:function(e,t,r){"use strict";var n=r("0RW4"),a=r("/CZE").isArrayOrTypedArray;e.exports=function(e,t,r,i){var o=!1;if(t.marker){var s=t.marker.color,l=(t.marker.line||{}).color;s&&!a(s)?o=s:l&&!a(l)&&(o=l)}i("fillcolor",n.addOpacity((t.line||{}).color||o||r,.5))}},ORvi:function(e,t,r){"use strict";var n=r("/CZE"),a=r("pcRN"),i=r("Nx4I"),o=r("/u34"),s=r("0RW4"),l=n.fillText;e.exports=function(e,t,r,c){var u=e.cd,d=u[0].trace,f=e.xa,h=e.ya,p=f.c2p(t),g=h.c2p(r),v=[p,g],m=d.hoveron||"",y=-1!==d.mode.indexOf("markers")?3:.5;if(-1!==m.indexOf("points")){var x=function(e){var t=Math.max(y,e.mrc||0),r=f.c2p(e.x)-p,n=h.c2p(e.y)-g;return Math.max(Math.sqrt(r*r+n*n)-t,1-y/t)},b=a.getDistanceFunction(c,(function(e){var t=Math.max(3,e.mrc||0),r=1-1/t,n=Math.abs(f.c2p(e.x)-p);return n<t?r*n/t:n-t+r}),(function(e){var t=Math.max(3,e.mrc||0),r=1-1/t,n=Math.abs(h.c2p(e.y)-g);return n<t?r*n/t:n-t+r}),x);if(a.getClosest(u,b,e),!1!==e.index){var w=u[e.index],_=f.c2p(w.x,!0),k=h.c2p(w.y,!0),T=w.mrc||1;e.index=w.i;var M=u[0].t.orientation,S=M&&(w.sNorm||w.s),A="h"===M?S:w.x,C="v"===M?S:w.y;return n.extendFlat(e,{color:o(d,w),x0:_-T,x1:_+T,xLabelVal:A,y0:k-T,y1:k+T,yLabelVal:C,spikeDistance:x(w),hovertemplate:d.hovertemplate}),l(w,d,e),i.getComponentMethod("errorbars","hoverInfo")(w,d,e),[e]}}if(-1!==m.indexOf("fills")&&d._polygons){var P,O,I,z,L,E,j,D,R,N=d._polygons,F=[],B=!1,H=1/0,V=-1/0,G=1/0,Z=-1/0;for(P=0;P<N.length;P++)(I=N[P]).contains(v)&&(B=!B,F.push(I),G=Math.min(G,I.ymin),Z=Math.max(Z,I.ymax));if(B){var q=((G=Math.max(G,0))+(Z=Math.min(Z,h._length)))/2;for(P=0;P<F.length;P++)for(z=F[P].pts,O=1;O<z.length;O++)(D=z[O-1][1])>q!=(R=z[O][1])>=q&&(E=z[O-1][0],j=z[O][0],R-D&&(L=E+(j-E)*(q-D)/(R-D),H=Math.min(H,L),V=Math.max(V,L)));H=Math.max(H,0),V=Math.min(V,f._length);var U=s.defaultLine;return s.opacity(d.fillcolor)?U=d.fillcolor:s.opacity((d.line||{}).color)&&(U=d.line.color),n.extendFlat(e,{distance:e.maxHoverDistance,x0:H,x1:V,y0:q,y1:q,color:U,hovertemplate:!1}),delete e.index,d.text&&!Array.isArray(d.text)?e.text=String(d.text):e.text=d.name,[e]}}}},OTZx:function(e,t,r){"use strict";var n=r("hriN");e.exports={calc:function(e,t){return n.calc(e,t)},crossTraceCalc:function(e){n.crossTraceCalc(e,{type:"funnelarea"})}}},OpmZ:function(e,t,r){var n=r("bljh"),a=r("/CZE").extendDeepAll,i=r("Y9zF").MID_SHIFT,o=e.exports={version:"0.2.2"};o.Axis=function(){var e,t,r,s,l={data:[],layout:{}},c={},u={},d=n.dispatch("hover"),f={};return f.render=function(c){return function(c){t=c||t;var d=l.data,f=l.layout;("string"==typeof t||t.nodeName)&&(t=n.select(t)),t.datum(d).each((function(t,l){var c=t.slice();u={data:o.util.cloneJson(c),layout:o.util.cloneJson(f)};var d=0;c.forEach((function(e,t){e.color||(e.color=f.defaultColorRange[d],d=(d+1)%f.defaultColorRange.length),e.strokeColor||(e.strokeColor="LinePlot"===e.geometry?e.color:n.rgb(e.color).darker().toString()),u.data[t].color=e.color,u.data[t].strokeColor=e.strokeColor,u.data[t].strokeDash=e.strokeDash,u.data[t].strokeSize=e.strokeSize}));var h=c.filter((function(e,t){var r=e.visible;return void 0===r||!0===r})),p=!1,g=h.map((function(e,t){return p=p||void 0!==e.groupId,e}));if(p){var v=n.nest().key((function(e,t){return void 0!==e.groupId?e.groupId:"unstacked"})).entries(g),m=[],y=v.map((function(e,t){if("unstacked"===e.key)return e.values;var r=e.values[0].r.map((function(e,t){return 0}));return e.values.forEach((function(e,t,n){e.yStack=[r],m.push(r),r=o.util.sumArrays(e.r,r)})),e.values}));h=n.merge(y)}h.forEach((function(e,t){e.t=Array.isArray(e.t[0])?e.t:[e.t],e.r=Array.isArray(e.r[0])?e.r:[e.r]}));var x=Math.min(f.width-f.margin.left-f.margin.right,f.height-f.margin.top-f.margin.bottom)/2;x=Math.max(10,x);var b,w=[f.margin.left+x,f.margin.top+x];p?b=[0,n.max(o.util.sumArrays(o.util.arrayLast(h).r[0],o.util.arrayLast(m)))]:b=n.extent(o.util.flattenArray(h.map((function(e,t){return e.r}))));f.radialAxis.domain!=o.DATAEXTENT&&(b[0]=0),r=n.scale.linear().domain(f.radialAxis.domain!=o.DATAEXTENT&&f.radialAxis.domain?f.radialAxis.domain:b).range([0,x]),u.layout.radialAxis.domain=r.domain();var _,k=o.util.flattenArray(h.map((function(e,t){return e.t}))),T="string"==typeof k[0];T&&(k=o.util.deduplicate(k),_=k.slice(),k=n.range(k.length),h=h.map((function(e,t){var r=e;return e.t=[k],p&&(r.yStack=e.yStack),r})));var M=h.filter((function(e,t){return"LinePlot"===e.geometry||"DotPlot"===e.geometry})).length===h.length,S=null===f.needsEndSpacing?T||!M:f.needsEndSpacing,A=f.angularAxis.domain&&f.angularAxis.domain!=o.DATAEXTENT&&!T&&f.angularAxis.domain[0]>=0?f.angularAxis.domain:n.extent(k),C=Math.abs(k[1]-k[0]);M&&!T&&(C=0);var P=A.slice();S&&T&&(P[1]+=C);var O=f.angularAxis.ticksCount||4;O>8&&(O=O/(O/8)+O%8),f.angularAxis.ticksStep&&(O=(P[1]-P[0])/O);var I=f.angularAxis.ticksStep||(P[1]-P[0])/(O*(f.minorTicks+1));_&&(I=Math.max(Math.round(I),1)),P[2]||(P[2]=I);var z=n.range.apply(this,P);if(z=z.map((function(e,t){return parseFloat(e.toPrecision(12))})),s=n.scale.linear().domain(P.slice(0,2)).range("clockwise"===f.direction?[0,360]:[360,0]),u.layout.angularAxis.domain=s.domain(),u.layout.angularAxis.endPadding=S?C:0,void 0===(e=n.select(this).select("svg.chart-root"))||e.empty()){var L=(new DOMParser).parseFromString("<svg xmlns='http://www.w3.org/2000/svg' class='chart-root'>' + '<g class='outer-group'>' + '<g class='chart-group'>' + '<circle class='background-circle'></circle>' + '<g class='geometry-group'></g>' + '<g class='radial axis-group'>' + '<circle class='outside-circle'></circle>' + '</g>' + '<g class='angular axis-group'></g>' + '<g class='guides-group'><line></line><circle r='0'></circle></g>' + '</g>' + '<g class='legend-group'></g>' + '<g class='tooltips-group'></g>' + '<g class='title-group'><text></text></g>' + '</g>' + '</svg>","application/xml"),E=this.appendChild(this.ownerDocument.importNode(L.documentElement,!0));e=n.select(E)}e.select(".guides-group").style({"pointer-events":"none"}),e.select(".angular.axis-group").style({"pointer-events":"none"}),e.select(".radial.axis-group").style({"pointer-events":"none"});var j,D=e.select(".chart-group"),R={fill:"none",stroke:f.tickColor},N={"font-size":f.font.size,"font-family":f.font.family,fill:f.font.color,"text-shadow":["-1px 0px","1px -1px","-1px 1px","1px 1px"].map((function(e,t){return" "+e+" 0 "+f.font.outlineColor})).join(",")};if(f.showLegend){j=e.select(".legend-group").attr({transform:"translate("+[x,f.margin.top]+")"}).style({display:"block"});var F=h.map((function(e,t){var r=o.util.cloneJson(e);return r.symbol="DotPlot"===e.geometry?e.dotType||"circle":"LinePlot"!=e.geometry?"square":"line",r.visibleInLegend=void 0===e.visibleInLegend||e.visibleInLegend,r.color="LinePlot"===e.geometry?e.strokeColor:e.color,r}));o.Legend().config({data:h.map((function(e,t){return e.name||"Element"+t})),legendConfig:a({},o.Legend.defaultConfig().legendConfig,{container:j,elements:F,reverseOrder:f.legend.reverseOrder})})();var B=j.node().getBBox();x=Math.min(f.width-B.width-f.margin.left-f.margin.right,f.height-f.margin.top-f.margin.bottom)/2,x=Math.max(10,x),w=[f.margin.left+x,f.margin.top+x],r.range([0,x]),u.layout.radialAxis.domain=r.domain(),j.attr("transform","translate("+[w[0]+x,w[1]-x]+")")}else j=e.select(".legend-group").style({display:"none"});e.attr({width:f.width,height:f.height}).style({opacity:f.opacity}),D.attr("transform","translate("+w+")").style({cursor:"crosshair"});var H=[(f.width-(f.margin.left+f.margin.right+2*x+(B?B.width:0)))/2,(f.height-(f.margin.top+f.margin.bottom+2*x))/2];if(H[0]=Math.max(0,H[0]),H[1]=Math.max(0,H[1]),e.select(".outer-group").attr("transform","translate("+H+")"),f.title&&f.title.text){var V=e.select("g.title-group text").style(N).text(f.title.text),G=V.node().getBBox();V.attr({x:w[0]-G.width/2,y:w[1]-x-20})}var Z=e.select(".radial.axis-group");if(f.radialAxis.gridLinesVisible){var q=Z.selectAll("circle.grid-circle").data(r.ticks(5));q.enter().append("circle").attr({class:"grid-circle"}).style(R),q.attr("r",r),q.exit().remove()}Z.select("circle.outside-circle").attr({r:x}).style(R);var U=e.select("circle.background-circle").attr({r:x}).style({fill:f.backgroundColor,stroke:f.stroke});function W(e,t){return s(e)%360+f.orientation}if(f.radialAxis.visible){var Y=n.svg.axis().scale(r).ticks(5).tickSize(5);Z.call(Y).attr({transform:"rotate("+f.radialAxis.orientation+")"}),Z.selectAll(".domain").style(R),Z.selectAll("g>text").text((function(e,t){return this.textContent+f.radialAxis.ticksSuffix})).style(N).style({"text-anchor":"start"}).attr({x:0,y:0,dx:0,dy:0,transform:function(e,t){return"horizontal"===f.radialAxis.tickOrientation?"rotate("+-f.radialAxis.orientation+") translate("+[0,N["font-size"]]+")":"translate("+[0,N["font-size"]]+")"}}),Z.selectAll("g>line").style({stroke:"black"})}var X=e.select(".angular.axis-group").selectAll("g.angular-tick").data(z),$=X.enter().append("g").classed("angular-tick",!0);X.attr({transform:function(e,t){return"rotate("+W(e)+")"}}).style({display:f.angularAxis.visible?"block":"none"}),X.exit().remove(),$.append("line").classed("grid-line",!0).classed("major",(function(e,t){return t%(f.minorTicks+1)==0})).classed("minor",(function(e,t){return!(t%(f.minorTicks+1)==0)})).style(R),$.selectAll(".minor").style({stroke:f.minorTickColor}),X.select("line.grid-line").attr({x1:f.tickLength?x-f.tickLength:0,x2:x}).style({display:f.angularAxis.gridLinesVisible?"block":"none"}),$.append("text").classed("axis-text",!0).style(N);var J=X.select("text.axis-text").attr({x:x+f.labelOffset,dy:i+"em",transform:function(e,t){var r=W(e),n=x+f.labelOffset,a=f.angularAxis.tickOrientation;return"horizontal"==a?"rotate("+-r+" "+n+" 0)":"radial"==a?r<270&&r>90?"rotate(180 "+n+" 0)":null:"rotate("+(r<=180&&r>0?-90:90)+" "+n+" 0)"}}).style({"text-anchor":"middle",display:f.angularAxis.labelsVisible?"block":"none"}).text((function(e,t){return t%(f.minorTicks+1)!=0?"":_?_[e]+f.angularAxis.ticksSuffix:e+f.angularAxis.ticksSuffix})).style(N);f.angularAxis.rewriteTicks&&J.text((function(e,t){return t%(f.minorTicks+1)!=0?"":f.angularAxis.rewriteTicks(this.textContent,t)}));var K=n.max(D.selectAll(".angular-tick text")[0].map((function(e,t){return e.getCTM().e+e.getBBox().width})));j.attr({transform:"translate("+[x+K,f.margin.top]+")"});var Q=e.select("g.geometry-group").selectAll("g").size()>0,ee=e.select("g.geometry-group").selectAll("g.geometry").data(h);if(ee.enter().append("g").attr({class:function(e,t){return"geometry geometry"+t}}),ee.exit().remove(),h[0]||Q){var te=[];h.forEach((function(e,t){var n={};n.radialScale=r,n.angularScale=s,n.container=ee.filter((function(e,r){return r==t})),n.geometry=e.geometry,n.orientation=f.orientation,n.direction=f.direction,n.index=t,te.push({data:e,geometryConfig:n})}));var re=n.nest().key((function(e,t){return void 0!==e.data.groupId||"unstacked"})).entries(te),ne=[];re.forEach((function(e,t){"unstacked"===e.key?ne=ne.concat(e.values.map((function(e,t){return[e]}))):ne.push(e.values)})),ne.forEach((function(e,t){var r;r=Array.isArray(e)?e[0].geometryConfig.geometry:e.geometryConfig.geometry;var n=e.map((function(e,t){return a(o[r].defaultConfig(),e)}));o[r]().config(n)()}))}var ae,ie,oe=e.select(".guides-group"),se=e.select(".tooltips-group"),le=o.tooltipPanel().config({container:se,fontSize:8})(),ce=o.tooltipPanel().config({container:se,fontSize:8})(),ue=o.tooltipPanel().config({container:se,hasTick:!0})();if(!T){var de=oe.select("line").attr({x1:0,y1:0,y2:0}).style({stroke:"grey","pointer-events":"none"});D.on("mousemove.angular-guide",(function(e,t){var r=o.util.getMousePos(U).angle;de.attr({x2:-x,transform:"rotate("+r+")"}).style({opacity:.5});var n=(r+180+360-f.orientation)%360;ae=s.invert(n);var a=o.util.convertToCartesian(x+12,r+180);le.text(o.util.round(ae)).move([a[0]+w[0],a[1]+w[1]])})).on("mouseout.angular-guide",(function(e,t){oe.select("line").style({opacity:0})}))}var fe=oe.select("circle").style({stroke:"grey",fill:"none"});D.on("mousemove.radial-guide",(function(e,t){var n=o.util.getMousePos(U).radius;fe.attr({r:n}).style({opacity:.5}),ie=r.invert(o.util.getMousePos(U).radius);var a=o.util.convertToCartesian(n,f.radialAxis.orientation);ce.text(o.util.round(ie)).move([a[0]+w[0],a[1]+w[1]])})).on("mouseout.radial-guide",(function(e,t){fe.style({opacity:0}),ue.hide(),le.hide(),ce.hide()})),e.selectAll(".geometry-group .mark").on("mouseover.tooltip",(function(t,r){var a=n.select(this),i=this.style.fill,s="black",l=this.style.opacity||1;if(a.attr({"data-opacity":l}),i&&"none"!==i){a.attr({"data-fill":i}),s=n.hsl(i).darker().toString(),a.style({fill:s,opacity:1});var c={t:o.util.round(t[0]),r:o.util.round(t[1])};T&&(c.t=_[t[0]]);var u="t: "+c.t+", r: "+c.r,d=this.getBoundingClientRect(),f=e.node().getBoundingClientRect(),h=[d.left+d.width/2-H[0]-f.left,d.top+d.height/2-H[1]-f.top];ue.config({color:s}).text(u),ue.move(h)}else i=this.style.stroke||"black",a.attr({"data-stroke":i}),s=n.hsl(i).darker().toString(),a.style({stroke:s,opacity:1})})).on("mousemove.tooltip",(function(e,t){if(0!=n.event.which)return!1;n.select(this).attr("data-fill")&&ue.show()})).on("mouseout.tooltip",(function(e,t){ue.hide();var r=n.select(this),a=r.attr("data-fill");a?r.style({fill:a,opacity:r.attr("data-opacity")}):r.style({stroke:r.attr("data-stroke"),opacity:r.attr("data-opacity")})}))}))}(c),this},f.config=function(e){if(!arguments.length)return l;var t=o.util.cloneJson(e);return t.data.forEach((function(e,t){l.data[t]||(l.data[t]={}),a(l.data[t],o.Axis.defaultConfig().data[0]),a(l.data[t],e)})),a(l.layout,o.Axis.defaultConfig().layout),a(l.layout,t.layout),this},f.getLiveConfig=function(){return u},f.getinputConfig=function(){return c},f.radialScale=function(e){return r},f.angularScale=function(e){return s},f.svg=function(){return e},n.rebind(f,d,"on"),f},o.Axis.defaultConfig=function(e,t){return{data:[{t:[1,2,3,4],r:[10,11,12,13],name:"Line1",geometry:"LinePlot",color:null,strokeDash:"solid",strokeColor:null,strokeSize:"1",visibleInLegend:!0,opacity:1}],layout:{defaultColorRange:n.scale.category10().range(),title:null,height:450,width:500,margin:{top:40,right:40,bottom:40,left:40},font:{size:12,color:"gray",outlineColor:"white",family:"Tahoma, sans-serif"},direction:"clockwise",orientation:0,labelOffset:10,radialAxis:{domain:null,orientation:-45,ticksSuffix:"",visible:!0,gridLinesVisible:!0,tickOrientation:"horizontal",rewriteTicks:null},angularAxis:{domain:[0,360],ticksSuffix:"",visible:!0,gridLinesVisible:!0,labelsVisible:!0,tickOrientation:"horizontal",rewriteTicks:null,ticksCount:null,ticksStep:null},minorTicks:0,tickLength:null,tickColor:"silver",minorTickColor:"#eee",backgroundColor:"none",needsEndSpacing:null,showLegend:!0,legend:{reverseOrder:!1},opacity:1}}},o.util={},o.DATAEXTENT="dataExtent",o.AREA="AreaChart",o.LINE="LinePlot",o.DOT="DotPlot",o.BAR="BarChart",o.util._override=function(e,t){for(var r in e)r in t&&(t[r]=e[r])},o.util._extend=function(e,t){for(var r in e)t[r]=e[r]},o.util._rndSnd=function(){return 2*Math.random()-1+(2*Math.random()-1)+(2*Math.random()-1)},o.util.dataFromEquation2=function(e,t){var r=t||6;return n.range(0,360+r,r).map((function(t,r){var n=t*Math.PI/180;return[t,e(n)]}))},o.util.dataFromEquation=function(e,t,r){var a=t||6,i=[],o=[];n.range(0,360+a,a).forEach((function(t,r){var n=t*Math.PI/180,a=e(n);i.push(t),o.push(a)}));var s={t:i,r:o};return r&&(s.name=r),s},o.util.ensureArray=function(e,t){if(void 0===e)return null;var r=[].concat(e);return n.range(t).map((function(e,t){return r[t]||r[0]}))},o.util.fillArrays=function(e,t,r){return t.forEach((function(t,n){e[t]=o.util.ensureArray(e[t],r)})),e},o.util.cloneJson=function(e){return JSON.parse(JSON.stringify(e))},o.util.validateKeys=function(e,t){"string"==typeof t&&(t=t.split("."));var r=t.shift();return e[r]&&(!t.length||objHasKeys(e[r],t))},o.util.sumArrays=function(e,t){return n.zip(e,t).map((function(e,t){return n.sum(e)}))},o.util.arrayLast=function(e){return e[e.length-1]},o.util.arrayEqual=function(e,t){for(var r=Math.max(e.length,t.length,1);r-- >=0&&e[r]===t[r];);return-2===r},o.util.flattenArray=function(e){for(var t=[];!o.util.arrayEqual(t,e);)t=e,e=[].concat.apply([],e);return e},o.util.deduplicate=function(e){return e.filter((function(e,t,r){return r.indexOf(e)==t}))},o.util.convertToCartesian=function(e,t){var r=t*Math.PI/180;return[e*Math.cos(r),e*Math.sin(r)]},o.util.round=function(e,t){var r=t||2,n=Math.pow(10,r);return Math.round(e*n)/n},o.util.getMousePos=function(e){var t=n.mouse(e.node()),r=t[0],a=t[1],i={};return i.x=r,i.y=a,i.pos=t,i.angle=180*(Math.atan2(a,r)+Math.PI)/Math.PI,i.radius=Math.sqrt(r*r+a*a),i},o.util.duplicatesCount=function(e){for(var t,r={},n={},a=0,i=e.length;a<i;a++)(t=e[a])in r?(r[t]++,n[t]=r[t]):r[t]=1;return n},o.util.duplicates=function(e){return Object.keys(o.util.duplicatesCount(e))},o.util.translator=function(e,t,r,n){if(n){var a=r.slice();r=t,t=a}var i=t.reduce((function(e,t){if(void 0!==e)return e[t]}),e);void 0!==i&&(t.reduce((function(e,r,n){if(void 0!==e)return n===t.length-1&&delete e[r],e[r]}),e),r.reduce((function(e,t,n){return void 0===e[t]&&(e[t]={}),n===r.length-1&&(e[t]=i),e[t]}),e))},o.PolyChart=function(){var e=[o.PolyChart.defaultConfig()],t=n.dispatch("hover"),r={solid:"none",dash:[5,2],dot:[2,5]};function i(){var t=e[0].geometryConfig,a=t.container;"string"==typeof a&&(a=n.select(a)),a.datum(e).each((function(e,a){var i=!!e[0].data.yStack,o=e.map((function(e,t){return i?n.zip(e.data.t[0],e.data.r[0],e.data.yStack[0]):n.zip(e.data.t[0],e.data.r[0])})),s=t.angularScale,l=t.radialScale.domain()[0],c={bar:function(r,a,i){var o=e[i].data,l=t.radialScale(r[1])-t.radialScale(0),c=t.radialScale(r[2]||0),u=o.barWidth;n.select(this).attr({class:"mark bar",d:"M"+[[l+c,-u/2],[l+c,u/2],[c,u/2],[c,-u/2]].join("L")+"Z",transform:function(e,r){return"rotate("+(t.orientation+s(e[0]))+")"}})}};c.dot=function(r,a,i){var o=r[2]?[r[0],r[1]+r[2]]:r,s=n.svg.symbol().size(e[i].data.dotSize).type(e[i].data.dotType)(r,a);n.select(this).attr({class:"mark dot",d:s,transform:function(e,r){var n,a,i,s=(n=function(e,r){var n=t.radialScale(e[1]),a=(t.angularScale(e[0])+t.orientation)*Math.PI/180;return{r:n,t:a}}(o),a=n.r*Math.cos(n.t),i=n.r*Math.sin(n.t),{x:a,y:i});return"translate("+[s.x,s.y]+")"}})};var u=n.svg.line.radial().interpolate(e[0].data.lineInterpolation).radius((function(e){return t.radialScale(e[1])})).angle((function(e){return t.angularScale(e[0])*Math.PI/180}));c.line=function(r,a,i){var s=r[2]?o[i].map((function(e,t){return[e[0],e[1]+e[2]]})):o[i];if(n.select(this).each(c.dot).style({opacity:function(t,r){return+e[i].data.dotVisible},fill:p.stroke(r,a,i)}).attr({class:"mark dot"}),!(a>0)){var l=n.select(this.parentNode).selectAll("path.line").data([0]);l.enter().insert("path"),l.attr({class:"line",d:u(s),transform:function(e,r){return"rotate("+(t.orientation+90)+")"},"pointer-events":"none"}).style({fill:function(e,t){return p.fill(r,a,i)},"fill-opacity":0,stroke:function(e,t){return p.stroke(r,a,i)},"stroke-width":function(e,t){return p["stroke-width"](r,a,i)},"stroke-dasharray":function(e,t){return p["stroke-dasharray"](r,a,i)},opacity:function(e,t){return p.opacity(r,a,i)},display:function(e,t){return p.display(r,a,i)}})}};var d=t.angularScale.range(),f=Math.abs(d[1]-d[0])/o[0].length*Math.PI/180,h=n.svg.arc().startAngle((function(e){return-f/2})).endAngle((function(e){return f/2})).innerRadius((function(e){return t.radialScale(l+(e[2]||0))})).outerRadius((function(e){return t.radialScale(l+(e[2]||0))+t.radialScale(e[1])}));c.arc=function(e,r,a){n.select(this).attr({class:"mark arc",d:h,transform:function(e,r){return"rotate("+(t.orientation+s(e[0])+90)+")"}})};var p={fill:function(t,r,n){return e[n].data.color},stroke:function(t,r,n){return e[n].data.strokeColor},"stroke-width":function(t,r,n){return e[n].data.strokeSize+"px"},"stroke-dasharray":function(t,n,a){return r[e[a].data.strokeDash]},opacity:function(t,r,n){return e[n].data.opacity},display:function(t,r,n){return void 0===e[n].data.visible||e[n].data.visible?"block":"none"}},g=n.select(this).selectAll("g.layer").data(o);g.enter().append("g").attr({class:"layer"});var v=g.selectAll("path.mark").data((function(e,t){return e}));v.enter().append("path").attr({class:"mark"}),v.style(p).each(c[t.geometryType]),v.exit().remove(),g.exit().remove()}))}return i.config=function(t){return arguments.length?(t.forEach((function(t,r){e[r]||(e[r]={}),a(e[r],o.PolyChart.defaultConfig()),a(e[r],t)})),this):e},i.getColorScale=function(){},n.rebind(i,t,"on"),i},o.PolyChart.defaultConfig=function(){return{data:{name:"geom1",t:[[1,2,3,4]],r:[[1,2,3,4]],dotType:"circle",dotSize:64,dotVisible:!1,barWidth:20,color:"#ffa500",strokeSize:1,strokeColor:"silver",strokeDash:"solid",opacity:1,index:0,visible:!0,visibleInLegend:!0},geometryConfig:{geometry:"LinePlot",geometryType:"arc",direction:"clockwise",orientation:0,container:"body",radialScale:null,angularScale:null,colorScale:n.scale.category20()}}},o.BarChart=function(){return o.PolyChart()},o.BarChart.defaultConfig=function(){return{geometryConfig:{geometryType:"bar"}}},o.AreaChart=function(){return o.PolyChart()},o.AreaChart.defaultConfig=function(){return{geometryConfig:{geometryType:"arc"}}},o.DotPlot=function(){return o.PolyChart()},o.DotPlot.defaultConfig=function(){return{geometryConfig:{geometryType:"dot",dotType:"circle"}}},o.LinePlot=function(){return o.PolyChart()},o.LinePlot.defaultConfig=function(){return{geometryConfig:{geometryType:"line"}}},o.Legend=function(){var e=o.Legend.defaultConfig(),t=n.dispatch("hover");function r(){var t=e.legendConfig,i=e.data.map((function(e,r){return[].concat(e).map((function(e,n){var i=a({},t.elements[r]);return i.name=e,i.color=[].concat(t.elements[r].color)[n],i}))})),o=n.merge(i);o=o.filter((function(e,r){return t.elements[r]&&(t.elements[r].visibleInLegend||void 0===t.elements[r].visibleInLegend)})),t.reverseOrder&&(o=o.reverse());var s=t.container;("string"==typeof s||s.nodeName)&&(s=n.select(s));var l=o.map((function(e,t){return e.color})),c=t.fontSize,u=null==t.isContinuous?"number"==typeof o[0]:t.isContinuous,d=u?t.height:c*o.length,f=s.classed("legend-group",!0).selectAll("svg").data([0]),h=f.enter().append("svg").attr({width:300,height:d+c,xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",version:"1.1"});h.append("g").classed("legend-axis",!0),h.append("g").classed("legend-marks",!0);var p=n.range(o.length),g=n.scale[u?"linear":"ordinal"]().domain(p).range(l),v=n.scale[u?"linear":"ordinal"]().domain(p)[u?"range":"rangePoints"]([0,d]);if(u){var m=f.select(".legend-marks").append("defs").append("linearGradient").attr({id:"grad1",x1:"0%",y1:"0%",x2:"0%",y2:"100%"}).selectAll("stop").data(l);m.enter().append("stop"),m.attr({offset:function(e,t){return t/(l.length-1)*100+"%"}}).style({"stop-color":function(e,t){return e}}),f.append("rect").classed("legend-mark",!0).attr({height:t.height,width:t.colorBandWidth,fill:"url(#grad1)"})}else{var y=f.select(".legend-marks").selectAll("path.legend-mark").data(o);y.enter().append("path").classed("legend-mark",!0),y.attr({transform:function(e,t){return"translate("+[c/2,v(t)+c/2]+")"},d:function(e,t){var r,a,i,o=e.symbol;return i=3*(a=c),"line"===(r=o)?"M"+[[-a/2,-a/12],[a/2,-a/12],[a/2,a/12],[-a/2,a/12]]+"Z":-1!=n.svg.symbolTypes.indexOf(r)?n.svg.symbol().type(r).size(i)():n.svg.symbol().type("square").size(i)()},fill:function(e,t){return g(t)}}),y.exit().remove()}var x=n.svg.axis().scale(v).orient("right"),b=f.select("g.legend-axis").attr({transform:"translate("+[u?t.colorBandWidth:c,c/2]+")"}).call(x);return b.selectAll(".domain").style({fill:"none",stroke:"none"}),b.selectAll("line").style({fill:"none",stroke:u?t.textColor:"none"}),b.selectAll("text").style({fill:t.textColor,"font-size":t.fontSize}).text((function(e,t){return o[t].name})),r}return r.config=function(t){return arguments.length?(a(e,t),this):e},n.rebind(r,t,"on"),r},o.Legend.defaultConfig=function(e,t){return{data:["a","b","c"],legendConfig:{elements:[{symbol:"line",color:"red"},{symbol:"square",color:"yellow"},{symbol:"diamond",color:"limegreen"}],height:150,colorBandWidth:30,fontSize:12,container:"body",isContinuous:null,textColor:"grey",reverseOrder:!1}}},o.tooltipPanel=function(){var e,t,r,i={container:null,hasTick:!1,fontSize:12,color:"white",padding:5},s="tooltip-"+o.tooltipPanel.uid++,l=10,c=function(){var n=(e=i.container.selectAll("g."+s).data([0])).enter().append("g").classed(s,!0).style({"pointer-events":"none",display:"none"});return r=n.append("path").style({fill:"white","fill-opacity":.9}).attr({d:"M0 0"}),t=n.append("text").attr({dx:i.padding+l,dy:.3*+i.fontSize}),c};return c.text=function(a){var o=n.hsl(i.color).l,s=o>=.5?"#aaa":"white",u=o>=.5?"black":"white",d=a||"";t.style({fill:u,"font-size":i.fontSize+"px"}).text(d);var f=i.padding,h=t.node().getBBox(),p={fill:i.color,stroke:s,"stroke-width":"2px"},g=h.width+2*f+l,v=h.height+2*f;return r.attr({d:"M"+[[l,-v/2],[l,-v/4],[i.hasTick?0:l,0],[l,v/4],[l,v/2],[g,v/2],[g,-v/2]].join("L")+"Z"}).style(p),e.attr({transform:"translate("+[l,-v/2+2*f]+")"}),e.style({display:"block"}),c},c.move=function(t){if(e)return e.attr({transform:"translate("+[t[0],t[1]]+")"}).style({display:"block"}),c},c.hide=function(){if(e)return e.style({display:"none"}),c},c.show=function(){if(e)return e.style({display:"block"}),c},c.config=function(e){return a(i,e),c},c},o.tooltipPanel.uid=1,o.adapter={},o.adapter.plotly=function(){var e={convert:function(e,t){var r={};if(e.data&&(r.data=e.data.map((function(e,r){var n=a({},e);return[[n,["marker","color"],["color"]],[n,["marker","opacity"],["opacity"]],[n,["marker","line","color"],["strokeColor"]],[n,["marker","line","dash"],["strokeDash"]],[n,["marker","line","width"],["strokeSize"]],[n,["marker","symbol"],["dotType"]],[n,["marker","size"],["dotSize"]],[n,["marker","barWidth"],["barWidth"]],[n,["line","interpolation"],["lineInterpolation"]],[n,["showlegend"],["visibleInLegend"]]].forEach((function(e,r){o.util.translator.apply(null,e.concat(t))})),t||delete n.marker,t&&delete n.groupId,t?("LinePlot"===n.geometry?(n.type="scatter",!0===n.dotVisible?(delete n.dotVisible,n.mode="lines+markers"):n.mode="lines"):"DotPlot"===n.geometry?(n.type="scatter",n.mode="markers"):"AreaChart"===n.geometry?n.type="area":"BarChart"===n.geometry&&(n.type="bar"),delete n.geometry):("scatter"===n.type?"lines"===n.mode?n.geometry="LinePlot":"markers"===n.mode?n.geometry="DotPlot":"lines+markers"===n.mode&&(n.geometry="LinePlot",n.dotVisible=!0):"area"===n.type?n.geometry="AreaChart":"bar"===n.type&&(n.geometry="BarChart"),delete n.mode,delete n.type),n})),!t&&e.layout&&"stack"===e.layout.barmode)){var i=o.util.duplicates(r.data.map((function(e,t){return e.geometry})));r.data.forEach((function(e,t){var n=i.indexOf(e.geometry);-1!=n&&(r.data[t].groupId=n)}))}if(e.layout){var s=a({},e.layout);if([[s,["plot_bgcolor"],["backgroundColor"]],[s,["showlegend"],["showLegend"]],[s,["radialaxis"],["radialAxis"]],[s,["angularaxis"],["angularAxis"]],[s.angularaxis,["showline"],["gridLinesVisible"]],[s.angularaxis,["showticklabels"],["labelsVisible"]],[s.angularaxis,["nticks"],["ticksCount"]],[s.angularaxis,["tickorientation"],["tickOrientation"]],[s.angularaxis,["ticksuffix"],["ticksSuffix"]],[s.angularaxis,["range"],["domain"]],[s.angularaxis,["endpadding"],["endPadding"]],[s.radialaxis,["showline"],["gridLinesVisible"]],[s.radialaxis,["tickorientation"],["tickOrientation"]],[s.radialaxis,["ticksuffix"],["ticksSuffix"]],[s.radialaxis,["range"],["domain"]],[s.angularAxis,["showline"],["gridLinesVisible"]],[s.angularAxis,["showticklabels"],["labelsVisible"]],[s.angularAxis,["nticks"],["ticksCount"]],[s.angularAxis,["tickorientation"],["tickOrientation"]],[s.angularAxis,["ticksuffix"],["ticksSuffix"]],[s.angularAxis,["range"],["domain"]],[s.angularAxis,["endpadding"],["endPadding"]],[s.radialAxis,["showline"],["gridLinesVisible"]],[s.radialAxis,["tickorientation"],["tickOrientation"]],[s.radialAxis,["ticksuffix"],["ticksSuffix"]],[s.radialAxis,["range"],["domain"]],[s.font,["outlinecolor"],["outlineColor"]],[s.legend,["traceorder"],["reverseOrder"]],[s,["labeloffset"],["labelOffset"]],[s,["defaultcolorrange"],["defaultColorRange"]]].forEach((function(e,r){o.util.translator.apply(null,e.concat(t))})),t?(void 0!==s.tickLength&&(s.angularaxis.ticklen=s.tickLength,delete s.tickLength),s.tickColor&&(s.angularaxis.tickcolor=s.tickColor,delete s.tickColor)):(s.angularAxis&&void 0!==s.angularAxis.ticklen&&(s.tickLength=s.angularAxis.ticklen),s.angularAxis&&void 0!==s.angularAxis.tickcolor&&(s.tickColor=s.angularAxis.tickcolor)),s.legend&&"boolean"!=typeof s.legend.reverseOrder&&(s.legend.reverseOrder="normal"!=s.legend.reverseOrder),s.legend&&"boolean"==typeof s.legend.traceorder&&(s.legend.traceorder=s.legend.traceorder?"reversed":"normal",delete s.legend.reverseOrder),s.margin&&void 0!==s.margin.t){var l=["t","r","b","l","pad"],c=["top","right","bottom","left","pad"],u={};n.entries(s.margin).forEach((function(e,t){u[c[l.indexOf(e.key)]]=e.value})),s.margin=u}t&&(delete s.needsEndSpacing,delete s.minorTickColor,delete s.minorTicks,delete s.angularaxis.ticksCount,delete s.angularaxis.ticksCount,delete s.angularaxis.ticksStep,delete s.angularaxis.rewriteTicks,delete s.angularaxis.nticks,delete s.radialaxis.ticksCount,delete s.radialaxis.ticksCount,delete s.radialaxis.ticksStep,delete s.radialaxis.rewriteTicks,delete s.radialaxis.nticks),r.layout=s}return r}};return e}},Opyf:function(e,t,r){"use strict";var n=r("DOzC").setGroupPositions;e.exports=function(e,t){var r,a,i=e._fullLayout,o=e._fullData,s=e.calcdata,l=t.xaxis,c=t.yaxis,u=[],d=[],f=[];for(a=0;a<o.length;a++){var h=o[a],p="h"===h.orientation;!0===h.visible&&h.xaxis===l._id&&h.yaxis===c._id&&"funnel"===h.type&&(r=s[a],p?f.push(r):d.push(r),u.push(r))}var g={mode:i.funnelmode,norm:i.funnelnorm,gap:i.funnelgap,groupgap:i.funnelgroupgap};for(n(e,l,c,d,g),n(e,c,l,f,g),a=0;a<u.length;a++){r=u[a];for(var v=0;v<r.length;v++)v+1<r.length&&(r[v].nextP0=r[v+1].p0,r[v].nextS0=r[v+1].s0,r[v].nextP1=r[v+1].p1,r[v].nextS1=r[v+1].s1)}}},OqjQ:function(e,t,r){"use strict";var n=r("GbLo"),a=r("/CZE"),i=r("IVx0").extractOpts;e.exports=function(e,t,r){var o,s=e._fullLayout,l=r.vals,c=r.containerStr,u=c?a.nestedProperty(t,c).get():t,d=i(u),f=!1!==d.auto,h=d.min,p=d.max,g=d.mid,v=function(){return a.aggNums(Math.min,null,l)},m=function(){return a.aggNums(Math.max,null,l)};(void 0===h?h=v():f&&(h=u._colorAx&&n(h)?Math.min(h,v()):v()),void 0===p?p=m():f&&(p=u._colorAx&&n(p)?Math.max(p,m()):m()),f&&void 0!==g&&(p-g>g-h?h=g-(p-g):p-g<g-h&&(p=g+(g-h))),h===p&&(h-=.5,p+=.5),d._sync("min",h),d._sync("max",p),d.autocolorscale)&&(o=h*p<0?s.colorscale.diverging:h>=0?s.colorscale.sequential:s.colorscale.sequentialminus,d._sync("colorscale",o))}},Ov3g:function(e,t,r){var n=r("wX2h");n.register([r("R0av"),r("yA84"),r("Id1X"),r("9yVo"),r("PTBI"),r("Pqs8"),r("bKUU"),r("Pv7J"),r("825b"),r("yA84"),r("bQo4"),r("qixK")]),e.exports=n},OyTQ:function(e,t,r){"use strict";var n=r("4htA"),a=n.drawMode,i=n.openMode,o=r("UtjE"),s=o.i000,l=o.i090,c=o.i180,u=o.i270,d=o.cos45,f=o.sin45,h=r("rDM+"),p=h.p2r,g=h.r2p,v=r("6Ue+").clearSelect,m=r("s02k"),y=m.readPaths,x=m.writePaths,b=m.ellipseOver;e.exports=function(e,t){if(e.length){var r=e[0][0];if(r){var n=r.getAttribute("d"),o=t.gd,h=o._fullLayout.newshape,m=t.plotinfo,w=m.xaxis,_=m.yaxis,k=!!m.domain||!m.xaxis,T=!!m.domain||!m.yaxis,M=t.isActiveShape,S=t.dragmode,A=(o.layout||{}).shapes||[];if(!a(S)&&void 0!==M){var C=o._fullLayout._activeShapeIndex;if(C<A.length)switch(o._fullLayout.shapes[C].type){case"rect":S="drawrect";break;case"circle":S="drawcircle";break;case"line":S="drawline";break;case"path":var P=A[C].path||"";S="Z"===P[P.length-1]?"drawclosedpath":"drawopenpath"}}var O,I=i(S),z=y(n,o,m,M),L={editable:!0,xref:k?"paper":w._id,yref:T?"paper":_._id,layer:h.layer,opacity:h.opacity,line:{color:h.line.color,width:h.line.width,dash:h.line.dash}};if(I||(L.fillcolor=h.fillcolor,L.fillrule=h.fillrule),1===z.length&&(O=z[0]),O&&"drawrect"===S)L.type="rect",L.x0=O[0][1],L.y0=O[0][2],L.x1=O[2][1],L.y1=O[2][2];else if(O&&"drawline"===S)L.type="line",L.x0=O[0][1],L.y0=O[0][2],L.x1=O[1][1],L.y1=O[1][2];else if(O&&"drawcircle"===S){L.type="circle";var E=O[s][1],j=O[l][1],D=O[c][1],R=O[u][1],N=O[s][2],F=O[l][2],B=O[c][2],H=O[u][2],V=m.xaxis&&("date"===m.xaxis.type||"log"===m.xaxis.type),G=m.yaxis&&("date"===m.yaxis.type||"log"===m.yaxis.type);V&&(E=g(m.xaxis,E),j=g(m.xaxis,j),D=g(m.xaxis,D),R=g(m.xaxis,R)),G&&(N=g(m.yaxis,N),F=g(m.yaxis,F),B=g(m.yaxis,B),H=g(m.yaxis,H));var Z=(j+R)/2,q=(N+B)/2,U=b({x0:Z,y0:q,x1:Z+(R-j+D-E)/2*d,y1:q+(H-F+B-N)/2*f});V&&(U.x0=p(m.xaxis,U.x0),U.x1=p(m.xaxis,U.x1)),G&&(U.y0=p(m.yaxis,U.y0),U.y1=p(m.yaxis,U.y1)),L.x0=U.x0,L.y0=U.y0,L.x1=U.x1,L.y1=U.y1}else L.type="path",w&&_&&function(e,t,r){var n="date"===t.type,a="date"===r.type;if(!n&&!a)return e;for(var i=0;i<e.length;i++)for(var o=0;o<e[i].length;o++)for(var s=0;s+2<e[i][o].length;s+=2)n&&(e[i][o][s+1]=e[i][o][s+1].replace(" ","_")),a&&(e[i][o][s+2]=e[i][o][s+2].replace(" ","_"))}(z,w,_),L.path=x(z),O=null;v(o);for(var W=t.editHelpers,Y=(W||{}).modifyItem,X=[],$=0;$<A.length;$++){var J=o._fullLayout.shapes[$];if(X[$]=J._input,void 0!==M&&$===o._fullLayout._activeShapeIndex){var K=L;switch(J.type){case"line":case"rect":case"circle":Y("x0",K.x0),Y("x1",K.x1),Y("y0",K.y0),Y("y1",K.y1);break;case"path":Y("path",K.path)}}}return void 0===M?(X.push(L),X):W?W.getUpdateObj():{}}}}},"P/XJ":function(e,t,r){"use strict";var n={staticPlot:{valType:"boolean",dflt:!1,description:["Determines whether the graphs are interactive or not.","If *false*, no interactivity, for export or image generation."].join(" ")},plotlyServerURL:{valType:"string",dflt:"",description:["When set it determines base URL for","the 'Edit in Chart Studio' `showEditInChartStudio`/`showSendToCloud` mode bar button","and the showLink/sendData on-graph link.","To enable sending your data to Chart Studio Cloud, you need to","set both `plotlyServerURL` to 'https://chart-studio.plotly.com' and","also set `showSendToCloud` to true."].join(" ")},editable:{valType:"boolean",dflt:!1,description:["Determines whether the graph is editable or not.","Sets all pieces of `edits`","unless a separate `edits` config item overrides individual parts."].join(" ")},edits:{annotationPosition:{valType:"boolean",dflt:!1,description:["Determines if the main anchor of the annotation is editable.","The main anchor corresponds to the","text (if no arrow) or the arrow (which drags the whole thing leaving","the arrow length & direction unchanged)."].join(" ")},annotationTail:{valType:"boolean",dflt:!1,description:["Has only an effect for annotations with arrows.","Enables changing the length and direction of the arrow."].join(" ")},annotationText:{valType:"boolean",dflt:!1,description:"Enables editing annotation text."},axisTitleText:{valType:"boolean",dflt:!1,description:"Enables editing axis title text."},colorbarPosition:{valType:"boolean",dflt:!1,description:"Enables moving colorbars."},colorbarTitleText:{valType:"boolean",dflt:!1,description:"Enables editing colorbar title text."},legendPosition:{valType:"boolean",dflt:!1,description:"Enables moving the legend."},legendText:{valType:"boolean",dflt:!1,description:"Enables editing the trace name fields from the legend"},shapePosition:{valType:"boolean",dflt:!1,description:"Enables moving shapes."},titleText:{valType:"boolean",dflt:!1,description:"Enables editing the global layout title."}},autosizable:{valType:"boolean",dflt:!1,description:["Determines whether the graphs are plotted with respect to","layout.autosize:true and infer its container size."].join(" ")},responsive:{valType:"boolean",dflt:!1,description:["Determines whether to change the layout size when window is resized.","In v2, this option will be removed and will always be true."].join(" ")},fillFrame:{valType:"boolean",dflt:!1,description:["When `layout.autosize` is turned on, determines whether the graph","fills the container (the default) or the screen (if set to *true*)."].join(" ")},frameMargins:{valType:"number",dflt:0,min:0,max:.5,description:["When `layout.autosize` is turned on, set the frame margins","in fraction of the graph size."].join(" ")},scrollZoom:{valType:"flaglist",flags:["cartesian","gl3d","geo","mapbox"],extras:[!0,!1],dflt:"gl3d+geo+mapbox",description:["Determines whether mouse wheel or two-finger scroll zooms is enable.","Turned on by default for gl3d, geo and mapbox subplots","(as these subplot types do not have zoombox via pan),","but turned off by default for cartesian subplots.","Set `scrollZoom` to *false* to disable scrolling for all subplots."].join(" ")},doubleClick:{valType:"enumerated",values:[!1,"reset","autosize","reset+autosize"],dflt:"reset+autosize",description:["Sets the double click interaction mode.","Has an effect only in cartesian plots.","If *false*, double click is disable.","If *reset*, double click resets the axis ranges to their initial values.","If *autosize*, double click set the axis ranges to their autorange values.","If *reset+autosize*, the odd double clicks resets the axis ranges","to their initial values and even double clicks set the axis ranges","to their autorange values."].join(" ")},doubleClickDelay:{valType:"number",dflt:300,min:0,description:["Sets the delay for registering a double-click in ms.","This is the time interval (in ms) between first mousedown and","2nd mouseup to constitute a double-click.","This setting propagates to all on-subplot double clicks","(except for geo and mapbox) and on-legend double clicks."].join(" ")},showAxisDragHandles:{valType:"boolean",dflt:!0,description:["Set to *false* to omit cartesian axis pan/zoom drag handles."].join(" ")},showAxisRangeEntryBoxes:{valType:"boolean",dflt:!0,description:["Set to *false* to omit direct range entry at the pan/zoom drag points,","note that `showAxisDragHandles` must be enabled to have an effect."].join(" ")},showTips:{valType:"boolean",dflt:!0,description:["Determines whether or not tips are shown while interacting","with the resulting graphs."].join(" ")},showLink:{valType:"boolean",dflt:!1,description:["Determines whether a link to Chart Studio Cloud is displayed","at the bottom right corner of resulting graphs.","Use with `sendData` and `linkText`."].join(" ")},linkText:{valType:"string",dflt:"Edit chart",noBlank:!0,description:["Sets the text appearing in the `showLink` link."].join(" ")},sendData:{valType:"boolean",dflt:!0,description:["If *showLink* is true, does it contain data","just link to a Chart Studio Cloud file?"].join(" ")},showSources:{valType:"any",dflt:!1,description:["Adds a source-displaying function to show sources on","the resulting graphs."].join(" ")},displayModeBar:{valType:"enumerated",values:["hover",!0,!1],dflt:"hover",description:["Determines the mode bar display mode.","If *true*, the mode bar is always visible.","If *false*, the mode bar is always hidden.","If *hover*, the mode bar is visible while the mouse cursor","is on the graph container."].join(" ")},showSendToCloud:{valType:"boolean",dflt:!1,description:['Should we include a ModeBar button, labeled "Edit in Chart Studio",',"that sends this chart to chart-studio.plotly.com (formerly plot.ly) or another plotly server","as specified by `plotlyServerURL` for editing, export, etc? Prior to version 1.43.0","this button was included by default, now it is opt-in using this flag.","Note that this button can (depending on `plotlyServerURL` being set) send your data","to an external server. However that server does not persist your data",'until you arrive at the Chart Studio and explicitly click "Save".'].join(" ")},showEditInChartStudio:{valType:"boolean",dflt:!1,description:["Same as `showSendToCloud`, but use a pencil icon instead of a floppy-disk.","Note that if both `showSendToCloud` and `showEditInChartStudio` are turned,","only `showEditInChartStudio` will be honored."].join(" ")},modeBarButtonsToRemove:{valType:"any",dflt:[],description:["Remove mode bar buttons by name.","See ./components/modebar/buttons.js for the list of names."].join(" ")},modeBarButtonsToAdd:{valType:"any",dflt:[],description:["Add mode bar button using config objects","See ./components/modebar/buttons.js for list of arguments."].join(" ")},modeBarButtons:{valType:"any",dflt:!1,description:["Define fully custom mode bar buttons as nested array,","where the outer arrays represents button groups, and","the inner arrays have buttons config objects or names of default buttons","See ./components/modebar/buttons.js for more info."].join(" ")},toImageButtonOptions:{valType:"any",dflt:{},description:["Statically override options for toImage modebar button","allowed keys are format, filename, width, height, scale","see ../components/modebar/buttons.js"].join(" ")},displaylogo:{valType:"boolean",dflt:!0,description:["Determines whether or not the plotly logo is displayed","on the end of the mode bar."].join(" ")},watermark:{valType:"boolean",dflt:!1,description:"watermark the images with the company's logo"},plotGlPixelRatio:{valType:"number",dflt:2,min:1,max:4,description:["Set the pixel ratio during WebGL image export.","This config option was formerly named `plot3dPixelRatio`","which is now deprecated."].join(" ")},setBackground:{valType:"any",dflt:"transparent",description:["Set function to add the background color (i.e. `layout.paper_color`)","to a different container.","This function take the graph div as first argument and the current background","color as second argument.","Alternatively, set to string *opaque* to ensure there is white behind it."].join(" ")},topojsonURL:{valType:"string",noBlank:!0,dflt:"https://cdn.plot.ly/",description:["Set the URL to topojson used in geo charts.","By default, the topojson files are fetched from cdn.plot.ly.","For example, set this option to:","<path-to-plotly.js>/dist/topojson/","to render geographical feature using the topojson files","that ship with the plotly.js module."].join(" ")},mapboxAccessToken:{valType:"string",dflt:null,description:["Mapbox access token (required to plot mapbox trace types)","If using an Mapbox Atlas server, set this option to ''","so that plotly.js won't attempt to authenticate to the public Mapbox server."].join(" ")},logging:{valType:"integer",min:0,max:2,dflt:1,description:["Turn all console logging on or off (errors will be thrown)","This should ONLY be set via Plotly.setPlotConfig","Available levels:","0: no logs","1: warnings and errors, but not informational messages","2: verbose logs"].join(" ")},notifyOnLogging:{valType:"integer",min:0,max:2,dflt:0,description:["Set on-graph logging (notifier) level","This should ONLY be set via Plotly.setPlotConfig","Available levels:","0: no on-graph logs","1: warnings and errors, but not informational messages","2: verbose logs"].join(" ")},queueLength:{valType:"integer",min:0,dflt:0,description:"Sets the length of the undo/redo queue."},globalTransforms:{valType:"any",dflt:[],description:["Set global transform to be applied to all traces with no","specification needed"].join(" ")},locale:{valType:"string",dflt:"en-US",description:["Which localization should we use?","Should be a string like 'en' or 'en-US'."].join(" ")},locales:{valType:"any",dflt:{},description:["Localization definitions","Locales can be provided either here (specific to one chart) or globally","by registering them as modules.","Should be an object of objects {locale: {dictionary: {...}, format: {...}}}","{"," da: {"," dictionary: {'Reset axes': 'Nulstil aksler', ...},"," format: {months: [...], shortMonths: [...]}"," },"," ...","}","All parts are optional. When looking for translation or format fields, we","look first for an exact match in a config locale, then in a registered","module. If those fail, we strip off any regionalization ('en-US' -> 'en')","and try each (config, registry) again. The final fallback for translation","is untranslated (which is US English) and for formats is the base English","(the only consequence being the last fallback date format %x is DD/MM/YYYY","instead of MM/DD/YYYY). Currently `grouping` and `currency` are ignored","for our automatic number formatting, but can be used in custom formats."].join(" ")}},a={};!function e(t,r){for(var n in t){var a=t[n];a.valType?r[n]=a.dflt:(r[n]||(r[n]={}),e(a,r[n]))}}(n,a),e.exports={configAttributes:n,dfltConfig:a}},"P/f8":function(e,t,r){"use strict";e.exports={xaxis:{valType:"subplotid",role:"info",dflt:"x",editType:"calc+clearAxisTypes",description:["Sets a reference between this trace's x coordinates and","a 2D cartesian x axis.","If *x* (the default value), the x coordinates refer to","`layout.xaxis`.","If *x2*, the x coordinates refer to `layout.xaxis2`, and so on."].join(" ")},yaxis:{valType:"subplotid",role:"info",dflt:"y",editType:"calc+clearAxisTypes",description:["Sets a reference between this trace's y coordinates and","a 2D cartesian y axis.","If *y* (the default value), the y coordinates refer to","`layout.yaxis`.","If *y2*, the y coordinates refer to `layout.yaxis2`, and so on."].join(" ")}}},P7Iz:function(e,t,r){"use strict";var n=r("/CZE"),a=r("u3HJ"),i=r("aSHK"),o=r("P/XJ").dfltConfig,s=n.isPlainObject,l=Array.isArray,c=n.isArrayOrTypedArray;function u(e,t,r,a,i,o){o=o||[];for(var d=Object.keys(e),f=0;f<d.length;f++){var h=d[f];if("transforms"!==h){var m=o.slice();m.push(h);var y=e[h],x=t[h],b=v(r,h),w=(b||{}).valType,_="info_array"===w,k="colorscale"===w,T=(b||{}).items;if(g(r,h))if(s(y)&&s(x)&&"any"!==w)u(y,x,b,a,i,m);else if(_&&l(y)){y.length>x.length&&a.push(p("unused",i,m.concat(x.length)));var M,S,A,C,P,O=x.length,I=Array.isArray(T);if(I&&(O=Math.min(O,T.length)),2===b.dimensions)for(S=0;S<O;S++)if(l(y[S])){y[S].length>x[S].length&&a.push(p("unused",i,m.concat(S,x[S].length)));var z=x[S].length;for(M=0;M<(I?Math.min(z,T[S].length):z);M++)A=I?T[S][M]:T,C=y[S][M],P=x[S][M],n.validate(C,A)?P!==C&&P!==+C&&a.push(p("dynamic",i,m.concat(S,M),C,P)):a.push(p("value",i,m.concat(S,M),C))}else a.push(p("array",i,m.concat(S),y[S]));else for(S=0;S<O;S++)A=I?T[S]:T,C=y[S],P=x[S],n.validate(C,A)?P!==C&&P!==+C&&a.push(p("dynamic",i,m.concat(S),C,P)):a.push(p("value",i,m.concat(S),C))}else if(b.items&&!_&&l(y)){var L,E,j=T[Object.keys(T)[0]],D=[];for(L=0;L<x.length;L++){var R=x[L]._index||L;if((E=m.slice()).push(R),s(y[R])&&s(x[L])){D.push(R);var N=y[R],F=x[L];s(N)&&!1!==N.visible&&!1===F.visible?a.push(p("invisible",i,E)):u(N,F,j,a,i,E)}}for(L=0;L<y.length;L++)(E=m.slice()).push(L),s(y[L])?-1===D.indexOf(L)&&a.push(p("unused",i,E)):a.push(p("object",i,E,y[L]))}else!s(y)&&s(x)?a.push(p("object",i,m,y)):c(y)||!c(x)||_||k?h in t?n.validate(y,b)?"enumerated"===b.valType&&(b.coerceNumber&&y!==+x||y!==x)&&a.push(p("dynamic",i,m,y,x)):a.push(p("value",i,m,y)):a.push(p("unused",i,m,y)):a.push(p("array",i,m,y));else a.push(p("schema",i,m))}}return a}function d(e,t){for(var r=e.layout.layoutAttributes,a=0;a<t.length;a++){var i=t[a],o=e.traces[i.type],s=o.layoutAttributes;s&&(i.subplot?n.extendFlat(r[o.attributes.subplot.dflt],s):n.extendFlat(r,s))}return r}e.exports=function(e,t){void 0===e&&(e=[]),void 0===t&&(t={});var r,c,f=i.get(),h=[],g={_context:n.extendFlat({},o)};l(e)?(g.data=n.extendDeep([],e),r=e):(g.data=[],r=[],h.push(p("array","data"))),s(t)?(g.layout=n.extendDeep({},t),c=t):(g.layout={},c={},arguments.length>1&&h.push(p("object","layout"))),a.supplyDefaults(g);for(var v=g._fullData,m=r.length,y=0;y<m;y++){var x=r[y],b=["data",y];if(s(x)){var w=v[y],_=w.type,k=f.traces[_].attributes;k.type={valType:"enumerated",values:[_]},!1===w.visible&&!1!==x.visible&&h.push(p("invisible",b)),u(x,w,k,h,b);var T=x.transforms,M=w.transforms;if(T){l(T)||h.push(p("array",b,["transforms"])),b.push("transforms");for(var S=0;S<T.length;S++){var A=["transforms",S],C=T[S].type;if(s(T[S])){var P=f.transforms[C]?f.transforms[C].attributes:{};P.type={valType:"enumerated",values:Object.keys(f.transforms)},u(T[S],M[S],P,h,b,A)}else h.push(p("object",b,A))}}}else h.push(p("object",b))}var O=g._fullLayout,I=d(f,v);return u(c,O,I,h,"layout"),0===h.length?void 0:h};var f={object:function(e,t){return("layout"===e&&""===t?"The layout argument":"data"===e[0]&&""===t?"Trace "+e[1]+" in the data argument":h(e)+"key "+t)+" must be linked to an object container"},array:function(e,t){return("data"===e?"The data argument":h(e)+"key "+t)+" must be linked to an array container"},schema:function(e,t){return h(e)+"key "+t+" is not part of the schema"},unused:function(e,t,r){var n=s(r)?"container":"key";return h(e)+n+" "+t+" did not get coerced"},dynamic:function(e,t,r,n){return[h(e)+"key",t,"(set to '"+r+"')","got reset to","'"+n+"'","during defaults."].join(" ")},invisible:function(e,t){return(t?h(e)+"item "+t:"Trace "+e[1])+" got defaulted to be not visible"},value:function(e,t,r){return[h(e)+"key "+t,"is set to an invalid value ("+r+")"].join(" ")}};function h(e){return l(e)?"In data trace "+e[1]+", ":"In "+e+", "}function p(e,t,r,a,i){var o,s;r=r||"",l(t)?(o=t[0],s=t[1]):(o=t,s=null);var c=function(e){if(!l(e))return String(e);for(var t="",r=0;r<e.length;r++){var n=e[r];"number"==typeof n?t=t.substr(0,t.length-1)+"["+n+"]":t+=n,r<e.length-1&&(t+=".")}return t}(r),u=f[e](t,c,a,i);return n.log(u),{code:e,container:o,trace:s,path:r,astr:c,msg:u}}function g(e,t){var r=y(t),n=r.keyMinusId,a=r.id;return!!(n in e&&e[n]._isSubplotObj&&a)||t in e}function v(e,t){return t in e?e[t]:e[y(t).keyMinusId]}var m=n.counterRegex("([a-z]+)");function y(e){var t=e.match(m);return{keyMinusId:t&&t[1],id:t&&t[2]}}},PBw4:function(e,t,r){"use strict";var n=r("Nx4I"),a=r("0wH6");t.id2name=function(e){if("string"==typeof e&&e.match(a.AX_ID_PATTERN)){var t=e.substr(1);return"1"===t&&(t=""),e.charAt(0)+"axis"+t}},t.name2id=function(e){if(e.match(a.AX_NAME_PATTERN)){var t=e.substr(5);return"1"===t&&(t=""),e.charAt(0)+t}},t.cleanId=function(e,t){if("string"==typeof e&&e.match(a.AX_ID_PATTERN)&&(!t||e.charAt(0)===t)){var r=e.substr(1).replace(/^0+/,"");return"1"===r&&(r=""),e.charAt(0)+r}},t.list=function(e,r,n){var a=e._fullLayout;if(!a)return[];var i,o=t.listIds(e,r),s=new Array(o.length);for(i=0;i<o.length;i++){var l=o[i];s[i]=a[l.charAt(0)+"axis"+l.substr(1)]}if(!n){var c=a._subplots.gl3d||[];for(i=0;i<c.length;i++){var u=a[c[i]];r?s.push(u[r+"axis"]):s.push(u.xaxis,u.yaxis,u.zaxis)}}return s},t.listIds=function(e,t){var r=e._fullLayout;if(!r)return[];var n=r._subplots;return t?n[t+"axis"]:n.xaxis.concat(n.yaxis)},t.getFromId=function(e,r,n){var a=e._fullLayout;return"x"===n?r=r.replace(/y[0-9]*/,""):"y"===n&&(r=r.replace(/x[0-9]*/,"")),a[t.id2name(r)]},t.getFromTrace=function(e,r,a){var i=e._fullLayout,o=null;if(n.traceIs(r,"gl3d")){var s=r.scene;"scene"===s.substr(0,5)&&(o=i[s][a+"axis"])}else o=t.getFromId(e,r[a+"axis"]||a);return o},t.idSort=function(e,t){var r=e.charAt(0),n=t.charAt(0);return r!==n?r>n?1:-1:+(e.substr(1)||1)-+(t.substr(1)||1)},t.getAxisGroup=function(e,t){for(var r=e._axisMatchGroups,n=0;n<r.length;n++){if(r[n][t])return"g"+n}return t}},PDHv:function(e,t,r){"use strict";function n(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,r=e.symmetric;if("data"===t){var a=e.array||[];if(r)return function(e,t){var r=+a[t];return[r,r]};var i=e.arrayminus||[];return function(e,t){var r=+a[t],n=+i[t];return isNaN(r)&&isNaN(n)?[NaN,NaN]:[n||0,r||0]}}var o=n(t,e.value),s=n(t,e.valueminus);return r||void 0===e.valueminus?function(e){var t=o(e);return[t,t]}:function(e){return[s(e),o(e)]}}},PIoj:function(e,t,r){(t=r("JPst")(!1)).push([e.i,".spinner[data-v-610093ba]{overflow:hidden;display:flex;justify-content:center;align-items:center}.spinner *[data-v-610093ba]{line-height:0;box-sizing:border-box}.spinner-inner[data-v-610093ba]{transform-origin:center center;width:200px;height:200px;position:relative}.hex-brick[data-v-610093ba]{background:#41b883;width:30px;height:17px;position:absolute;top:5px;animation-name:socket-fade-data-v-610093ba;animation-duration:2s;animation-iteration-count:infinite}.h2[data-v-610093ba]{transform:rotate(60deg)}.h3[data-v-610093ba]{transform:rotate(-60deg)}.gel[data-v-610093ba]{height:30px;width:30px;transition:all .3s;position:absolute;top:50%;left:50%}.center-gel[data-v-610093ba]{margin-left:-15px;margin-top:-15px;animation-name:socket-pulse-data-v-610093ba;animation-duration:2s;animation-iteration-count:infinite}.c1[data-v-610093ba]{margin-left:-47px;margin-top:-15px}.c2[data-v-610093ba]{margin-left:-31px;margin-top:-43px}.c3[data-v-610093ba]{margin-left:1px;margin-top:-43px}.c4[data-v-610093ba]{margin-left:17px;margin-top:-15px}.c5[data-v-610093ba]{margin-left:-31px;margin-top:13px}.c6[data-v-610093ba]{margin-left:1px;margin-top:13px}.c7[data-v-610093ba]{margin-left:-63px;margin-top:-43px}.c8[data-v-610093ba]{margin-left:33px;margin-top:-43px}.c9[data-v-610093ba]{margin-left:-15px;margin-top:41px}.c10[data-v-610093ba]{margin-left:-63px;margin-top:13px}.c11[data-v-610093ba]{margin-left:33px;margin-top:13px}.c12[data-v-610093ba]{margin-left:-15px;margin-top:-71px}.c13[data-v-610093ba]{margin-left:-47px;margin-top:-71px}.c14[data-v-610093ba]{margin-left:17px;margin-top:-71px}.c15[data-v-610093ba]{margin-left:-47px;margin-top:41px}.c16[data-v-610093ba]{margin-left:17px;margin-top:41px}.c17[data-v-610093ba]{margin-left:-79px;margin-top:-15px}.c18[data-v-610093ba]{margin-left:49px;margin-top:-15px}.c19[data-v-610093ba]{margin-left:-63px;margin-top:-99px}.c20[data-v-610093ba]{margin-left:33px;margin-top:-99px}.c21[data-v-610093ba]{margin-left:1px;margin-top:-99px}.c22[data-v-610093ba]{margin-left:-31px;margin-top:-99px}.c23[data-v-610093ba]{margin-left:-63px;margin-top:69px}.c24[data-v-610093ba]{margin-left:33px;margin-top:69px}.c25[data-v-610093ba]{margin-left:1px;margin-top:69px}.c26[data-v-610093ba]{margin-left:-31px;margin-top:69px}.c27[data-v-610093ba]{margin-left:-79px;margin-top:-15px}.c28[data-v-610093ba]{margin-left:-95px;margin-top:-43px}.c29[data-v-610093ba]{margin-left:-95px;margin-top:13px}.c30[data-v-610093ba]{margin-left:49px;margin-top:41px}.c31[data-v-610093ba]{margin-left:-79px;margin-top:-71px}.c32[data-v-610093ba]{margin-left:-111px;margin-top:-15px}.c33[data-v-610093ba]{margin-left:65px;margin-top:-43px}.c34[data-v-610093ba]{margin-left:65px;margin-top:13px}.c35[data-v-610093ba]{margin-left:-79px;margin-top:41px}.c36[data-v-610093ba]{margin-left:49px;margin-top:-71px}.c37[data-v-610093ba]{margin-left:81px;margin-top:-15px}.r1[data-v-610093ba]{animation-name:socket-pulse-data-v-610093ba;animation-duration:2s;animation-iteration-count:infinite;animation-delay:.2s}.r2[data-v-610093ba]{animation-name:socket-pulse-data-v-610093ba;animation-duration:2s;animation-iteration-count:infinite;animation-delay:.4s}.r3[data-v-610093ba]{animation-name:socket-pulse-data-v-610093ba;animation-duration:2s;animation-iteration-count:infinite;animation-delay:.6s}.r1>.hex-brick[data-v-610093ba]{animation-name:socket-fade-data-v-610093ba;animation-duration:2s;animation-iteration-count:infinite;animation-delay:.2s}.r2>.hex-brick[data-v-610093ba]{animation-name:socket-fade-data-v-610093ba;animation-duration:2s;animation-iteration-count:infinite;animation-delay:.4s}.r3>.hex-brick[data-v-610093ba]{animation-name:socket-fade-data-v-610093ba;animation-duration:2s;animation-iteration-count:infinite;animation-delay:.6s}@keyframes socket-pulse-data-v-610093ba{0%{transform:scale(1)}50%{transform:scale(0.01)}100%{transform:scale(1)}}@keyframes socket-fade-data-v-610093ba{0%{background:#41b883}50%{background:#286b4b}100%{background:#41b883}}\n",""]),e.exports=t},PS76:function(e,t,r){"use strict";e.exports={name:"updatemenus",containerClassName:"updatemenu-container",headerGroupClassName:"updatemenu-header-group",headerClassName:"updatemenu-header",headerArrowClassName:"updatemenu-header-arrow",dropdownButtonGroupClassName:"updatemenu-dropdown-button-group",dropdownButtonClassName:"updatemenu-dropdown-button",buttonClassName:"updatemenu-button",itemRectClassName:"updatemenu-item-rect",itemTextClassName:"updatemenu-item-text",menuIndexAttrName:"updatemenu-active-index",autoMarginIdRoot:"updatemenu-",blankHeaderOpts:{label:" "},minWidth:30,minHeight:30,textPadX:24,arrowPadX:16,rx:2,ry:2,textOffsetX:12,textOffsetY:3,arrowOffsetX:4,gapButtonHeader:5,gapButton:2,activeColor:"#F4FAFF",hoverColor:"#F4FAFF",arrowSymbol:{left:"โ",right:"โบ",up:"โฒ",down:"โผ"}}},PTBI:function(e,t,r){"use strict";e.exports=r("Xo+u")},Pnqv:function(e,t,r){var n=r("kAnJ");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("756c93b8",n,!0,{})},Po4l:function(e,t,r){"use strict";e.exports={treemapcolorway:{valType:"colorlist",role:"style",editType:"calc",description:["Sets the default treemap slice colors. Defaults to the main","`colorway` used for trace colors. If you specify a new","list here it can still be extended with lighter and darker","colors, see `extendtreemapcolors`."].join(" ")},extendtreemapcolors:{valType:"boolean",dflt:!0,role:"style",editType:"calc",description:["If `true`, the treemap slice colors (whether given by `treemapcolorway` or","inherited from `colorway`) will be extended to three times its","original length by first repeating every color 20% lighter then","each color 20% darker. This is intended to reduce the likelihood","of reusing the same color when you have many slices, but you can","set `false` to disable.","Colors provided in the trace, using `marker.colors`, are never","extended."].join(" ")}}},Pqs8:function(e,t,r){"use strict";e.exports=r("d655")},Pv7J:function(e,t,r){"use strict";e.exports=r("oYsm")},Q1hF:function(e,t,r){"use strict";var n=r("avjU").isArrayOrTypedArray,a=r("E4V0");e.exports=function e(t,r){for(var i in r){var o=r[i],s=t[i];if(s!==o&&(!t.matches||"_categoriesMap"!==i))if("_"===i.charAt(0)||"function"==typeof o){if(i in t)continue;t[i]=o}else if(n(o)&&n(s)&&a(o[0])){if("customdata"===i||"ids"===i)continue;for(var l=Math.min(o.length,s.length),c=0;c<l;c++)s[c]!==o[c]&&a(o[c])&&a(s[c])&&e(s[c],o[c])}else a(o)&&a(s)&&(e(s,o),Object.keys(s).length||delete t[i])}}},Q9kw:function(e,t,r){"use strict";var n=r("bljh"),a=r("/CZE"),i=r("u3HJ"),o=r("Nx4I"),s=r("h0EB"),l=r("Tv4R"),c=r("g9E0"),u=r("0RW4"),d=r("A3kh"),f=r("hN+Y"),h=r("uvVx"),p=r("Y9zF"),g=p.LINE_SPACING,v=p.FROM_TL,m=p.FROM_BR,y=r("8o4k"),x=r("7ncg"),b=r("efHY");function w(e,t,r,n,a){var i=r.data()[0][0].trace,l={event:a,node:r.node(),curveNumber:i.index,expandedIndex:i._expandedIndex,data:e.data,layout:e.layout,frames:e._transitionData._frames,config:e._context,fullData:e._fullData,fullLayout:e._fullLayout};if(i._group&&(l.group=i._group),o.traceIs(i,"pie-like")&&(l.label=r.datum()[0].label),!1!==s.triggerHandler(e,"plotly_legendclick",l))if(1===n)t._clickTimeout=setTimeout((function(){f(r,e,n)}),e._context.doubleClickDelay);else if(2===n){t._clickTimeout&&clearTimeout(t._clickTimeout),e._legendMouseDownTime=0,!1!==s.triggerHandler(e,"plotly_legenddoubleclick",l)&&f(r,e,n)}}function _(e,t,r){var n,i=e.data()[0][0],s=i.trace,l=o.traceIs(s,"pie-like"),u=s.index,f=r._main&&t._context.edits.legendText&&!l,p=r._maxNameLength;r.entries?n=i.text:(n=l?i.label:s.name,s._meta&&(n=a.templateString(n,s._meta)));var g=a.ensureSingle(e,"text","legendtext");g.attr("text-anchor","start").classed("user-select-none",!0).call(c.font,r.font).text(f?k(n,p):n),d.positionText(g,h.textGap,0),f?g.call(d.makeEditable,{gd:t,text:n}).call(M,e,t,r).on("edit",(function(n){this.text(k(n,p)).call(M,e,t,r);var s=i.trace._fullInput||{},l={};if(o.hasTransform(s,"groupby")){var c=o.getTransformIndices(s,"groupby"),d=c[c.length-1],f=a.keyedContainer(s,"transforms["+d+"].styles","target","value.name");f.set(i.trace._group,n),l=f.constructUpdate()}else l.name=n;return o.call("_guiRestyle",t,l,u)})):M(g,e,t,r)}function k(e,t){var r=Math.max(4,t);if(e&&e.trim().length>=r/2)return e;for(var n=r-(e=e||"").length;n>0;n--)e+=" ";return e}function T(e,t){var r,i=t._context.doubleClickDelay,o=1,s=a.ensureSingle(e,"rect","legendtoggle",(function(e){e.style("cursor","pointer").attr("pointer-events","all").call(u.fill,"rgba(0,0,0,0)")}));s.on("mousedown",(function(){(r=(new Date).getTime())-t._legendMouseDownTime<i?o+=1:(o=1,t._legendMouseDownTime=r)})),s.on("mouseup",(function(){if(!t._dragged&&!t._editing){var r=t._fullLayout.legend;(new Date).getTime()-t._legendMouseDownTime>i&&(o=Math.max(o-1,1)),w(t,r,e,o,n.event)}}))}function M(e,t,r,n){n._main||e.attr("data-notex",!0),d.convertToTspans(e,r,(function(){!function(e,t,r){var n=e.data()[0][0];if(r._main&&n&&!n.trace.showlegend)return void e.remove();var a=e.select("g[class*=math-group]"),i=a.node();r||(r=t._fullLayout.legend);var o,s,l=r.borderwidth,u=(n?r:r.title).font.size*g;if(i){var f=c.bBox(i);o=f.height,s=f.width,n?c.setTranslate(a,0,.25*o):c.setTranslate(a,l,.75*o+l)}else{var p=e.select(n?".legendtext":".legendtitletext"),v=d.lineCount(p),m=p.node();o=u*v,s=m?c.bBox(m).width:0;var y=u*((v-1)/2-.3);n?d.positionText(p,h.textGap,-y):d.positionText(p,h.titlePad+l,u+l)}n?(n.lineHeight=u,n.height=Math.max(o,16)+3,n.width=s):(r._titleWidth=s,r._titleHeight=o)}(t,r,n)}))}function S(e){return a.isRightAnchor(e)?"right":a.isCenterAnchor(e)?"center":"left"}function A(e){return a.isBottomAnchor(e)?"bottom":a.isMiddleAnchor(e)?"middle":"top"}e.exports=function(e,t){var r,s=e._fullLayout,d="legend"+s._uid;if(t?(r=t.layer,d+="-hover"):((t=s.legend||{})._main=!0,r=s._infolayer),r){var f;if(e._legendMouseDownTime||(e._legendMouseDownTime=0),t._main){if(!e.calcdata)return;f=s.showlegend&&y(e.calcdata,t)}else{if(!t.entries)return;f=y(t.entries,t)}var p=s.hiddenlabels||[];if(t._main&&(!s.showlegend||!f.length))return r.selectAll(".legend").remove(),s._topdefs.select("#"+d).remove(),i.autoMargin(e,"legend");var g=a.ensureSingle(r,"g","legend",(function(e){t._main&&e.attr("pointer-events","all")})),k=a.ensureSingleById(s._topdefs,"clipPath",d,(function(e){e.append("rect")})),C=a.ensureSingle(g,"rect","bg",(function(e){e.attr("shape-rendering","crispEdges")}));C.call(u.stroke,t.bordercolor).call(u.fill,t.bgcolor).style("stroke-width",t.borderwidth+"px");var P=a.ensureSingle(g,"g","scrollbox"),O=t.title;if(t._titleWidth=0,t._titleHeight=0,O.text){var I=a.ensureSingle(P,"text","legendtitletext");I.attr("text-anchor","start").classed("user-select-none",!0).call(c.font,O.font).text(O.text),M(I,P,e,t)}else P.selectAll(".legendtitletext").remove();var z=a.ensureSingle(g,"rect","scrollbar",(function(e){e.attr(h.scrollBarEnterAttrs).call(u.fill,h.scrollBarColor)})),L=P.selectAll("g.groups").data(f);L.enter().append("g").attr("class","groups"),L.exit().remove();var E=L.selectAll("g.traces").data(a.identity);E.enter().append("g").attr("class","traces"),E.exit().remove(),E.style("opacity",(function(e){var t=e[0].trace;return o.traceIs(t,"pie-like")?-1!==p.indexOf(e[0].label)?.5:1:"legendonly"===t.visible?.5:1})).each((function(){n.select(this).call(_,e,t)})).call(x,e,t).each((function(){t._main&&n.select(this).call(T,e)})),a.syncOrAsync([i.previousPromises,function(){return function(e,t,r,a){var i=e._fullLayout;a||(a=i.legend);var o=i._size,s=b.isVertical(a),l=b.isGrouped(a),u=a.borderwidth,d=2*u,f=h.textGap,p=h.itemGap,g=2*(u+p),v=A(a),m=a.y<0||0===a.y&&"top"===v,y=a.y>1||1===a.y&&"bottom"===v;a._maxHeight=Math.max(m||y?i.height/2:o.h,30);var x=0;a._width=0,a._height=0;var w=function(e){var t=0,r=0,n=e.title.side;n&&(-1!==n.indexOf("left")&&(t=e._titleWidth),-1!==n.indexOf("top")&&(r=e._titleHeight));return[t,r]}(a);if(s)r.each((function(e){var t=e[0].height;c.setTranslate(this,u+w[0],u+w[1]+a._height+t/2+p),a._height+=t,a._width=Math.max(a._width,e[0].width)})),x=f+a._width,a._width+=p+f+d,a._height+=g,l&&(t.each((function(e,t){c.setTranslate(this,0,t*a.tracegroupgap)})),a._height+=(a._lgroupsLength-1)*a.tracegroupgap);else{var _=S(a),k=a.x<0||0===a.x&&"right"===_,T=a.x>1||1===a.x&&"left"===_,M=y||m,C=i.width/2;a._maxWidth=Math.max(k?M&&"left"===_?o.l+o.w:C:T?M&&"right"===_?o.r+o.w:C:o.w,2*f);var P=0,O=0;r.each((function(e){var t=e[0].width+f;P=Math.max(P,t),O+=t})),x=null;var I=0;if(l){var z=0,L=0,E=0;t.each((function(){var e=0,t=0;n.select(this).selectAll("g.traces").each((function(r){var n=r[0].height;c.setTranslate(this,w[0],w[1]+u+p+n/2+t),t+=n,e=Math.max(e,f+r[0].width)})),z=Math.max(z,t);var r=e+p;r+u+L>a._maxWidth&&(I=Math.max(I,L),L=0,E+=z+a.tracegroupgap,z=t),c.setTranslate(this,L,E),L+=r})),a._width=Math.max(I,L)+u,a._height=E+z+g}else{var j=r.size(),D=O+d+(j-1)*p<a._maxWidth,R=0,N=0,F=0,B=0;r.each((function(e){var t=e[0].height,r=f+e[0].width,n=(D?r:P)+p;n+u+N>a._maxWidth&&(I=Math.max(I,B),N=0,F+=R,a._height+=R,R=0),c.setTranslate(this,w[0]+u+N,w[1]+u+F+t/2+p),B=N+r+p,N+=n,R=Math.max(R,t)})),D?(a._width=N+d,a._height=R+g):(a._width=Math.max(I,B)+d,a._height+=R+g)}}a._width=Math.ceil(Math.max(a._width+w[0],a._titleWidth+2*(u+h.titlePad))),a._height=Math.ceil(Math.max(a._height+w[1],a._titleHeight+2*(u+h.itemGap))),a._effHeight=Math.min(a._height,a._maxHeight);var H=e._context.edits,V=H.legendText||H.legendPosition;r.each((function(e){var t=n.select(this).select(".legendtoggle"),r=e[0].height,a=V?f:x||f+e[0].width;s||(a+=p/2),c.setRect(t,0,-r/2,a,r)}))}(e,L,E,t)},function(){if(!t._main||!function(e){var t=e._fullLayout.legend,r=S(t),n=A(t);return i.autoMargin(e,"legend",{x:t.x,y:t.y,l:t._width*v[r],r:t._width*m[r],b:t._effHeight*m[n],t:t._effHeight*v[n]})}(e)){var u,f,p,y,x=s._size,b=t.borderwidth,_=x.l+x.w*t.x-v[S(t)]*t._width,T=x.t+x.h*(1-t.y)-v[A(t)]*t._effHeight;if(t._main&&s.margin.autoexpand){var M=_,O=T;_=a.constrain(_,0,s.width-t._width),T=a.constrain(T,0,s.height-t._effHeight),_!==M&&a.log("Constrain legend.x to make legend fit inside graph"),T!==O&&a.log("Constrain legend.y to make legend fit inside graph")}if(t._main&&c.setTranslate(g,_,T),z.on(".drag",null),g.on("wheel",null),!t._main||t._height<=t._maxHeight||e._context.staticPlot){var I=t._effHeight;t._main||(I=t._height),C.attr({width:t._width-b,height:I-b,x:b/2,y:b/2}),c.setTranslate(P,0,0),k.select("rect").attr({width:t._width-2*b,height:I-2*b,x:b,y:b}),c.setClipUrl(P,d,e),c.setRect(z,0,0,0,0),delete t._scrollY}else{var L,E,j,D=Math.max(h.scrollBarMinHeight,t._effHeight*t._effHeight/t._height),R=t._effHeight-D-2*h.scrollBarMargin,N=t._height-t._effHeight,F=R/N,B=Math.min(t._scrollY||0,N);C.attr({width:t._width-2*b+h.scrollBarWidth+h.scrollBarMargin,height:t._effHeight-b,x:b/2,y:b/2}),k.select("rect").attr({width:t._width-2*b+h.scrollBarWidth+h.scrollBarMargin,height:t._effHeight-2*b,x:b,y:b+B}),c.setClipUrl(P,d,e),G(B,D,F),g.on("wheel",(function(){G(B=a.constrain(t._scrollY+n.event.deltaY/R*N,0,N),D,F),0!==B&&B!==N&&n.event.preventDefault()}));var H=n.behavior.drag().on("dragstart",(function(){var e=n.event.sourceEvent;L="touchstart"===e.type?e.changedTouches[0].clientY:e.clientY,j=B})).on("drag",(function(){var e=n.event.sourceEvent;2===e.buttons||e.ctrlKey||(E="touchmove"===e.type?e.changedTouches[0].clientY:e.clientY,G(B=function(e,t,r){var n=(r-t)/F+e;return a.constrain(n,0,N)}(j,L,E),D,F))}));z.call(H);var V=n.behavior.drag().on("dragstart",(function(){var e=n.event.sourceEvent;"touchstart"===e.type&&(L=e.changedTouches[0].clientY,j=B)})).on("drag",(function(){var e=n.event.sourceEvent;"touchmove"===e.type&&(E=e.changedTouches[0].clientY,G(B=function(e,t,r){var n=(t-r)/F+e;return a.constrain(n,0,N)}(j,L,E),D,F))}));P.call(V)}if(e._context.edits.legendPosition)g.classed("cursor-move",!0),l.init({element:g.node(),gd:e,prepFn:function(){var e=c.getTranslate(g);p=e.x,y=e.y},moveFn:function(e,r){var n=p+e,a=y+r;c.setTranslate(g,n,a),u=l.align(n,0,x.l,x.l+x.w,t.xanchor),f=l.align(a,0,x.t+x.h,x.t,t.yanchor)},doneFn:function(){void 0!==u&&void 0!==f&&o.call("_guiRelayout",e,{"legend.x":u,"legend.y":f})},clickFn:function(t,n){var a=r.selectAll("g.traces").filter((function(){var e=this.getBoundingClientRect();return n.clientX>=e.left&&n.clientX<=e.right&&n.clientY>=e.top&&n.clientY<=e.bottom}));a.size()>0&&w(e,g,a,t,n)}})}function G(r,n,a){t._scrollY=e._fullLayout.legend._scrollY=r,c.setTranslate(P,0,-r),c.setRect(z,t._width,h.scrollBarMargin+r*a,h.scrollBarWidth,n),k.select("rect").attr("y",b+r)}}],e)}}},"QJ+7":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("cWyK");t.default=function(e){var t=[1/0,1/0,-1/0,-1/0];return n.coordEach(e,(function(e){t[0]>e[0]&&(t[0]=e[0]),t[1]>e[1]&&(t[1]=e[1]),t[2]<e[0]&&(t[2]=e[0]),t[3]<e[1]&&(t[3]=e[1])})),t}},QTaS:function(e,t,r){"use strict";var n=r("/CZE");e.exports=function(e,t){n.isArrayOrTypedArray(t.selectedpoints)&&n.tagSelected(e,t)}},QYPY:function(e,t,r){"use strict";var n=r("GbLo"),a=r("/CZE"),i=r("cIkR"),o=r("jyrE"),s=r("SFLx").isValid,l=r("Nx4I").traceIs;function c(e,t){var r=t.slice(0,t.length-1);return t?a.nestedProperty(e,r).get()||{}:e}e.exports=function e(t,r,u,d,f){var h=f.prefix,p=f.cLetter,g="_module"in r,v=c(t,h),m=c(r,h),y=c(r._template||{},h)||{},x=function(){return delete t.coloraxis,delete r.coloraxis,e(t,r,u,d,f)};if(g){var b=u._colorAxes||{},w=d(h+"coloraxis");if(w){var _=l(r,"contour")&&a.nestedProperty(r,"contours.coloring").get()||"heatmap",k=b[w];return void(k?(k[2].push(x),k[0]!==_&&(k[0]=!1,a.warn(["Ignoring coloraxis:",w,"setting","as it is linked to incompatible colorscales."].join(" ")))):b[w]=[_,r,[x]])}}var T=v[p+"min"],M=v[p+"max"],S=n(T)&&n(M)&&T<M;d(h+p+"auto",!S)?d(h+p+"mid"):(d(h+p+"min"),d(h+p+"max"));var A,C,P=v.colorscale,O=y.colorscale;(void 0!==P&&(A=!s(P)),void 0!==O&&(A=!s(O)),d(h+"autocolorscale",A),d(h+"colorscale"),d(h+"reversescale"),"marker.line."!==h)&&(h&&g&&(C=i(v)),d(h+"showscale",C)&&(h&&y&&(m._template=y),o(v,m,u)))}},QeBV:function(e,t,r){"use strict";var n=r("GbLo"),a=r("/CZE"),i=r("Nx4I");function o(e,t){var r=t(e);return"scaled"===(r?t(e+"type","array"):"scaled")&&(t(e+"0"),t("d"+e)),r}e.exports=function(e,t,r,s,l,c){var u,d,f=r("z");if(l=l||"x",c=c||"y",void 0===f||!f.length)return 0;if(a.isArray1D(e.z)){u=r(l),d=r(c);var h=a.minRowLength(u),p=a.minRowLength(d);if(0===h||0===p)return 0;t._length=Math.min(h,p,f.length)}else{if(u=o(l,r),d=o(c,r),!function(e){for(var t,r=!0,i=!1,o=!1,s=0;s<e.length;s++){if(t=e[s],!a.isArrayOrTypedArray(t)){r=!1;break}t.length>0&&(i=!0);for(var l=0;l<t.length;l++)if(n(t[l])){o=!0;break}}return r&&i&&o}(f))return 0;r("transpose"),t._length=null}return i.getComponentMethod("calendars","handleTraceDefaults")(e,t,[l,c],s),!0}},QkhT:function(e,t,r){"use strict";var n=r("Nx4I");t.getDelay=function(e){return e._has&&(e._has("gl3d")||e._has("gl2d")||e._has("mapbox"))?500:0},t.getRedrawFunc=function(e){return function(){var t=e._fullLayout||{};!(t._has&&t._has("polar"))&&e.data&&e.data[0]&&e.data[0].r||n.getComponentMethod("colorbar","draw")(e)}},t.encodeSVG=function(e){return"data:image/svg+xml,"+encodeURIComponent(e)},t.encodeJSON=function(e){return"data:application/json,"+encodeURIComponent(e)};var a=window.URL||window.webkitURL;t.createObjectURL=function(e){return a.createObjectURL(e)},t.revokeObjectURL=function(e){return a.revokeObjectURL(e)},t.createBlob=function(e,t){if("svg"===t)return new window.Blob([e],{type:"image/svg+xml;charset=utf-8"});if("full-json"===t)return new window.Blob([e],{type:"application/json;charset=utf-8"});var r=function(e){for(var t=e.length,r=new ArrayBuffer(t),n=new Uint8Array(r),a=0;a<t;a++)n[a]=e.charCodeAt(a);return r}(window.atob(e));return new window.Blob([r],{type:"image/"+t})},t.octetStream=function(e){document.location.href="data:application/octet-stream"+e},t.IMAGE_URL_PREFIX=/^data:image\/\w+;base64,/,t.MSG_IE_BAD_FORMAT="Sorry IE does not support downloading from canvas. Try {format:'svg'} instead."},QkuE:function(e,t,r){"use strict";var n=r("/CZE");e.exports=function(e,t){for(var r=0;r<e.length;r++)e[r].i=r;n.mergeArray(t.text,e,"tx"),n.mergeArray(t.hovertext,e,"htx");var a=t.marker;if(a){n.mergeArray(a.opacity,e,"mo",!0),n.mergeArray(a.color,e,"mc");var i=a.line;i&&(n.mergeArray(i.color,e,"mlc"),n.mergeArrayCastPositive(i.width,e,"mlw"))}}},QtxG:function(e,t,r){"use strict";var n=r("mEVB"),a=r("37PH"),i=r("kJIm").extendFlat,o=r("yzSc").overrideAll,s=r("grU7"),l=r("plED").templatedArray,c=l("button",{visible:{valType:"boolean",role:"info",description:"Determines whether or not this button is visible."},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle",role:"info",description:["Sets the Plotly method to be called on click.","If the `skip` method is used, the API updatemenu will function as normal","but will perform no API calls and will not bind automatically to state","updates. This may be used to create a component interface and attach to","updatemenu events manually via JavaScript."].join(" ")},args:{valType:"info_array",role:"info",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}],description:["Sets the arguments values to be passed to the Plotly","method set in `method` on click."].join(" ")},args2:{valType:"info_array",role:"info",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}],description:["Sets a 2nd set of `args`,","these arguments values are passed to the Plotly","method set in `method` when clicking this button while in the active state.","Use this to create toggle buttons."].join(" ")},label:{valType:"string",role:"info",dflt:"",description:"Sets the text label to appear on the button."},execute:{valType:"boolean",role:"info",dflt:!0,description:["When true, the API method is executed. When false, all other behaviors are the same","and command execution is skipped. This may be useful when hooking into, for example,","the `plotly_buttonclicked` method and executing the API command manually without losing","the benefit of the updatemenu automatically binding to the state of the plot through the","specification of `method` and `args`."].join(" ")}});e.exports=o(l("updatemenu",{_arrayAttrRegexps:[/^updatemenus\[(0|[1-9][0-9]+)\]\.buttons/],visible:{valType:"boolean",role:"info",description:["Determines whether or not the update menu is visible."].join(" ")},type:{valType:"enumerated",values:["dropdown","buttons"],dflt:"dropdown",role:"info",description:["Determines whether the buttons are accessible via a dropdown menu","or whether the buttons are stacked horizontally or vertically"].join(" ")},direction:{valType:"enumerated",values:["left","right","up","down"],dflt:"down",role:"info",description:["Determines the direction in which the buttons are laid out, whether","in a dropdown menu or a row/column of buttons. For `left` and `up`,","the buttons will still appear in left-to-right or top-to-bottom order","respectively."].join(" ")},active:{valType:"integer",role:"info",min:-1,dflt:0,description:["Determines which button (by index starting from 0) is","considered active."].join(" ")},showactive:{valType:"boolean",role:"info",dflt:!0,description:"Highlights active dropdown item or active button if true."},buttons:c,x:{valType:"number",min:-2,max:3,dflt:-.05,role:"style",description:"Sets the x position (in normalized coordinates) of the update menu."},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"right",role:"info",description:["Sets the update menu's horizontal position anchor.","This anchor binds the `x` position to the *left*, *center*","or *right* of the range selector."].join(" ")},y:{valType:"number",min:-2,max:3,dflt:1,role:"style",description:"Sets the y position (in normalized coordinates) of the update menu."},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top",role:"info",description:["Sets the update menu's vertical position anchor","This anchor binds the `y` position to the *top*, *middle*","or *bottom* of the range selector."].join(" ")},pad:i(s({editType:"arraydraw"}),{description:"Sets the padding around the buttons or dropdown menu."}),font:n({description:"Sets the font of the update menu button text."}),bgcolor:{valType:"color",role:"style",description:"Sets the background color of the update menu buttons."},bordercolor:{valType:"color",dflt:a.borderLine,role:"style",description:"Sets the color of the border enclosing the update menu."},borderwidth:{valType:"number",min:0,dflt:1,role:"style",editType:"arraydraw",description:"Sets the width (in px) of the border enclosing the update menu."}}),"arraydraw","from-root")},QySe:function(e,t,r){"use strict";var n=r("cLT0");function a(e,t,r,n,a,i,o){a[n]=!0;var s={i:null,gap:!0,s:0};if(s[o]=r,e.splice(t,0,s),t&&r===e[t-1][o]){var l=e[t-1];s.s=l.s,s.i=l.i,s.gap=l.gap}else i&&(s.s=function(e,t,r,n){var a=e[t-1],i=e[t+1];return i?a?a.s+(i.s-a.s)*(r-a[n])/(i[n]-a[n]):i.s:a.s}(e,t,r,o));t||(e[0].t=e[1].t,e[0].trace=e[1].trace,delete e[1].t,delete e[1].trace)}e.exports=function(e,t){var r=t.xaxis,i=t.yaxis,o=r._id+i._id,s=e._fullLayout._scatterStackOpts[o];if(s){var l,c,u,d,f,h,p,g,v,m,y,x,b,w,_,k=e.calcdata;for(var T in s){var M=(m=s[T]).traceIndices;if(M.length){for(y="interpolate"===m.stackgaps,x=m.groupnorm,"v"===m.orientation?(b="x",w="y"):(b="y",w="x"),_=new Array(M.length),l=0;l<_.length;l++)_[l]=!1;h=k[M[0]];var S=new Array(h.length);for(l=0;l<h.length;l++)S[l]=h[l][b];for(l=1;l<M.length;l++){for(f=k[M[l]],c=u=0;c<f.length;c++){for(p=f[c][b];p>S[u]&&u<S.length;u++)a(f,c,S[u],l,_,y,b),c++;if(p!==S[u]){for(d=0;d<l;d++)a(k[M[d]],u,p,d,_,y,b);S.splice(u,0,p)}u++}for(;u<S.length;u++)a(f,c,S[u],l,_,y,b),c++}var A=S.length;for(c=0;c<h.length;c++){for(g=h[c][w]=h[c].s,l=1;l<M.length;l++)(f=k[M[l]])[0].trace._rawLength=f[0].trace._length,f[0].trace._length=A,g+=f[c].s,f[c][w]=g;if(x)for(v=("fraction"===x?g:g/100)||1,l=0;l<M.length;l++){var C=k[M[l]][c];C[w]/=v,C.sNorm=C.s/v}}for(l=0;l<M.length;l++){var P=(f=k[M[l]])[0].trace,O=n.calcMarkerSize(P,P._rawLength),I=Array.isArray(O);if(O&&_[l]||I){var z=O;for(O=new Array(A),c=0;c<A;c++)O[c]=f[c].gap?0:I?z[f[c].i]:z}var L=new Array(A),E=new Array(A);for(c=0;c<A;c++)L[c]=f[c].x,E[c]=f[c].y;n.calcAxisExpansion(e,P,r,i,L,E,O),f[0].t.orientation=m.orientation}}}}}},R0Xe:function(e,t,r){"use strict";var n=r("HpW2");r.n(n).a},R0av:function(e,t,r){"use strict";e.exports=r("SLue")},R6Zb:function(e,t,r){"use strict";var n=r("FltZ");r.n(n).a},"RC9+":function(e,t,r){"use strict";var n=r("teMc");t.plot=n.plot,t.newPlot=n.newPlot,t.restyle=n.restyle,t.relayout=n.relayout,t.redraw=n.redraw,t.update=n.update,t._guiRestyle=n._guiRestyle,t._guiRelayout=n._guiRelayout,t._guiUpdate=n._guiUpdate,t._storeDirectGUIEdit=n._storeDirectGUIEdit,t.react=n.react,t.extendTraces=n.extendTraces,t.prependTraces=n.prependTraces,t.addTraces=n.addTraces,t.deleteTraces=n.deleteTraces,t.moveTraces=n.moveTraces,t.purge=n.purge,t.addFrames=n.addFrames,t.deleteFrames=n.deleteFrames,t.animate=n.animate,t.setPlotConfig=n.setPlotConfig,t.toImage=r("oois"),t.validate=r("P7Iz"),t.downloadImage=r("rZH/");var a=r("LZp3");t.makeTemplate=a.makeTemplate,t.validateTemplate=a.validateTemplate},Rb6W:function(e,t,r){"use strict";var n=r("37PH"),a=r("gfA5").attributes,i=r("CASU"),o=r("yzSc").overrideAll,s={range:{valType:"info_array",role:"info",items:[{valType:"number"},{valType:"number"}],description:["Sets the range of this axis (in degrees),","sets the map's clipped coordinates."].join(" ")},showgrid:{valType:"boolean",role:"info",dflt:!1,description:"Sets whether or not graticule are shown on the map."},tick0:{valType:"number",role:"info",dflt:0,description:["Sets the graticule's starting tick longitude/latitude."].join(" ")},dtick:{valType:"number",role:"info",description:["Sets the graticule's longitude/latitude tick step."].join(" ")},gridcolor:{valType:"color",role:"style",dflt:n.lightLine,description:["Sets the graticule's stroke color."].join(" ")},gridwidth:{valType:"number",role:"style",min:0,dflt:1,description:["Sets the graticule's stroke width (in px)."].join(" ")}};(e.exports=o({domain:a({name:"geo"},{description:["Note that geo subplots are constrained by domain.","In general, when `projection.scale` is set to 1.","a map will fit either its x or y domain, but not both."].join(" ")}),fitbounds:{valType:"enumerated",values:[!1,"locations","geojson"],dflt:!1,role:"info",editType:"plot",description:["Determines if this subplot's view settings are auto-computed to fit trace data.","On scoped maps, setting `fitbounds` leads to `center.lon` and `center.lat` getting auto-filled.","On maps with a non-clipped projection, setting `fitbounds` leads to `center.lon`, `center.lat`,","and `projection.rotation.lon` getting auto-filled.","On maps with a clipped projection, setting `fitbounds` leads to `center.lon`, `center.lat`,","`projection.rotation.lon`, `projection.rotation.lat`, `lonaxis.range` and `lonaxis.range`","getting auto-filled.","If *locations*, only the trace's visible locations are considered in the `fitbounds` computations.","If *geojson*, the entire trace input `geojson` (if provided) is considered in the `fitbounds` computations,","Defaults to *false*."].join(" ")},resolution:{valType:"enumerated",values:[110,50],role:"info",dflt:110,coerceNumber:!0,description:["Sets the resolution of the base layers.","The values have units of km/mm","e.g. 110 corresponds to a scale ratio of 1:110,000,000."].join(" ")},scope:{valType:"enumerated",role:"info",values:Object.keys(i.scopeDefaults),dflt:"world",description:"Set the scope of the map."},projection:{type:{valType:"enumerated",role:"info",values:Object.keys(i.projNames),description:"Sets the projection type."},rotation:{lon:{valType:"number",role:"info",description:["Rotates the map along parallels","(in degrees East).","Defaults to the center of the `lonaxis.range` values."].join(" ")},lat:{valType:"number",role:"info",description:["Rotates the map along meridians","(in degrees North)."].join(" ")},roll:{valType:"number",role:"info",description:["Roll the map (in degrees)","For example, a roll of *180* makes the map appear upside down."].join(" ")}},parallels:{valType:"info_array",role:"info",items:[{valType:"number"},{valType:"number"}],description:["For conic projection types only.","Sets the parallels (tangent, secant)","where the cone intersects the sphere."].join(" ")},scale:{valType:"number",role:"info",min:0,dflt:1,description:["Zooms in or out on the map view.","A scale of *1* corresponds to the largest zoom level","that fits the map's lon and lat ranges. "].join(" ")}},center:{lon:{valType:"number",role:"info",description:["Sets the longitude of the map's center.","By default, the map's longitude center lies at the middle of the longitude range","for scoped projection and above `projection.rotation.lon` otherwise."].join(" ")},lat:{valType:"number",role:"info",description:["Sets the latitude of the map's center.","For all projection types, the map's latitude center lies","at the middle of the latitude range by default."].join(" ")}},visible:{valType:"boolean",role:"info",dflt:!0,description:"Sets the default visibility of the base layers."},showcoastlines:{valType:"boolean",role:"info",description:"Sets whether or not the coastlines are drawn."},coastlinecolor:{valType:"color",role:"style",dflt:n.defaultLine,description:"Sets the coastline color."},coastlinewidth:{valType:"number",role:"style",min:0,dflt:1,description:"Sets the coastline stroke width (in px)."},showland:{valType:"boolean",role:"info",dflt:!1,description:"Sets whether or not land masses are filled in color."},landcolor:{valType:"color",role:"style",dflt:i.landColor,description:"Sets the land mass color."},showocean:{valType:"boolean",role:"info",dflt:!1,description:"Sets whether or not oceans are filled in color."},oceancolor:{valType:"color",role:"style",dflt:i.waterColor,description:"Sets the ocean color"},showlakes:{valType:"boolean",role:"info",dflt:!1,description:"Sets whether or not lakes are drawn."},lakecolor:{valType:"color",role:"style",dflt:i.waterColor,description:"Sets the color of the lakes."},showrivers:{valType:"boolean",role:"info",dflt:!1,description:"Sets whether or not rivers are drawn."},rivercolor:{valType:"color",role:"style",dflt:i.waterColor,description:"Sets color of the rivers."},riverwidth:{valType:"number",role:"style",min:0,dflt:1,description:"Sets the stroke width (in px) of the rivers."},showcountries:{valType:"boolean",role:"info",description:"Sets whether or not country boundaries are drawn."},countrycolor:{valType:"color",role:"style",dflt:n.defaultLine,description:"Sets line color of the country boundaries."},countrywidth:{valType:"number",role:"style",min:0,dflt:1,description:"Sets line width (in px) of the country boundaries."},showsubunits:{valType:"boolean",role:"info",description:["Sets whether or not boundaries of subunits within countries","(e.g. states, provinces) are drawn."].join(" ")},subunitcolor:{valType:"color",role:"style",dflt:n.defaultLine,description:"Sets the color of the subunits boundaries."},subunitwidth:{valType:"number",role:"style",min:0,dflt:1,description:"Sets the stroke width (in px) of the subunits boundaries."},showframe:{valType:"boolean",role:"info",description:"Sets whether or not a frame is drawn around the map."},framecolor:{valType:"color",role:"style",dflt:n.defaultLine,description:"Sets the color the frame."},framewidth:{valType:"number",role:"style",min:0,dflt:1,description:"Sets the stroke width (in px) of the frame."},bgcolor:{valType:"color",role:"style",dflt:n.background,description:"Set the background color of the map"},lonaxis:s,lataxis:s},"plot","from-root")).uirevision={valType:"any",role:"info",editType:"none",description:["Controls persistence of user-driven changes in the view","(projection and center). Defaults to `layout.uirevision`."].join(" ")}},Rf9y:function(e,t,r){"use strict";var n=r("q6dP");r.n(n).a},Rpvy:function(e,t,r){"use strict";var n=r("Nx4I"),a=r("/CZE");function i(e,t,r){var n,i,o,s=!1;if("data"===t.type)n=e._fullData[null!==t.traces?t.traces[0]:0];else{if("layout"!==t.type)return!1;n=e._fullLayout}return i=a.nestedProperty(n,t.prop).get(),(o=r[t.type]=r[t.type]||{}).hasOwnProperty(t.prop)&&o[t.prop]!==i&&(s=!0),o[t.prop]=i,{changed:s,value:i}}function o(e,t){var r=[],n=t[0],i={};if("string"==typeof n)i[n]=t[1];else{if(!a.isPlainObject(n))return r;i=n}return l(i,(function(e,t,n){r.push({type:"layout",prop:e,value:n})}),"",0),r}function s(e,t){var r,n,i,o,s=[];if(n=t[0],i=t[1],r=t[2],o={},"string"==typeof n)o[n]=i;else{if(!a.isPlainObject(n))return s;o=n,void 0===r&&(r=i)}return void 0===r&&(r=null),l(o,(function(t,n,a){var i,o;if(Array.isArray(a)){o=a.slice();var l=Math.min(o.length,e.data.length);r&&(l=Math.min(l,r.length)),i=[];for(var c=0;c<l;c++)i[c]=r?r[c]:c}else o=a,i=r?r.slice():null;if(null===i)Array.isArray(o)&&(o=o[0]);else if(Array.isArray(i)){if(!Array.isArray(o)){var u=o;o=[];for(var d=0;d<i.length;d++)o[d]=u}o.length=Math.min(i.length,o.length)}s.push({type:"data",prop:t,traces:i,value:o})}),"",0),s}function l(e,t,r,n){Object.keys(e).forEach((function(i){var o=e[i];if("_"!==i[0]){var s=r+(n>0?".":"")+i;a.isPlainObject(o)?l(o,t,s,n+1):t(s,i,o)}}))}t.manageCommandObserver=function(e,r,n,o){var s={},l=!0;r&&r._commandObserver&&(s=r._commandObserver),s.cache||(s.cache={}),s.lookupTable={};var c=t.hasSimpleAPICommandBindings(e,n,s.lookupTable);if(r&&r._commandObserver){if(c)return s;if(r._commandObserver.remove)return r._commandObserver.remove(),r._commandObserver=null,s}if(c){i(e,c,s.cache),s.check=function(){if(l){var t=i(e,c,s.cache);return t.changed&&o&&void 0!==s.lookupTable[t.value]&&(s.disable(),Promise.resolve(o({value:t.value,type:c.type,prop:c.prop,traces:c.traces,index:s.lookupTable[t.value]})).then(s.enable,s.enable)),t.changed}};for(var u=["plotly_relayout","plotly_redraw","plotly_restyle","plotly_update","plotly_animatingframe","plotly_afterplot"],d=0;d<u.length;d++)e._internalOn(u[d],s.check);s.remove=function(){for(var t=0;t<u.length;t++)e._removeInternalListener(u[t],s.check)}}else a.log("Unable to automatically bind plot updates to API command"),s.lookupTable={},s.remove=function(){};return s.disable=function(){l=!1},s.enable=function(){l=!0},r&&(r._commandObserver=s),s},t.hasSimpleAPICommandBindings=function(e,r,n){var a,i,o=r.length;for(a=0;a<o;a++){var s,l=r[a],c=l.method,u=l.args;if(Array.isArray(u)||(u=[]),!c)return!1;var d=t.computeAPICommandBindings(e,c,u);if(1!==d.length)return!1;if(i){if((s=d[0]).type!==i.type)return!1;if(s.prop!==i.prop)return!1;if(Array.isArray(i.traces)){if(!Array.isArray(s.traces))return!1;s.traces.sort();for(var f=0;f<i.traces.length;f++)if(i.traces[f]!==s.traces[f])return!1}else if(s.prop!==i.prop)return!1}else i=d[0],Array.isArray(i.traces)&&i.traces.sort();var h=(s=d[0]).value;if(Array.isArray(h)){if(1!==h.length)return!1;h=h[0]}n&&(n[h]=a)}return i},t.executeAPICommand=function(e,t,r){if("skip"===t)return Promise.resolve();var i=n.apiMethodRegistry[t],o=[e];Array.isArray(r)||(r=[]);for(var s=0;s<r.length;s++)o.push(r[s]);return i.apply(null,o).catch((function(e){return a.warn("API call to Plotly."+t+" rejected.",e),Promise.reject(e)}))},t.computeAPICommandBindings=function(e,t,r){var n;switch(Array.isArray(r)||(r=[]),t){case"restyle":n=s(e,r);break;case"relayout":n=o(e,r);break;case"update":n=s(e,[r[0],r[2]]).concat(o(e,[r[1]]));break;case"animate":n=function(e,t){return Array.isArray(t[0])&&1===t[0].length&&-1!==["string","number"].indexOf(typeof t[0][0])?[{type:"layout",prop:"_currentFrame",value:t[0][0].toString()}]:[]}(0,r);break;default:n=[]}return n}},S0vM:function(e,t,r){"use strict";var n=r("HtwH");r.n(n).a},S1DZ:function(e,t,r){"use strict";var n=r("CAnp");r.n(n).a},S2oI:function(e,t,r){"use strict";var n=r("/CZE"),a=r("BkK/"),i=r("5azm"),o=r("1y5b");function s(e,t,r){function i(r,a){return n.coerce(e,t,o,r,a)}var s=i("source");if(!i("visible",!!s))return t;i("layer"),i("xanchor"),i("yanchor"),i("sizex"),i("sizey"),i("sizing"),i("opacity");for(var l={_fullLayout:r},c=["x","y"],u=0;u<2;u++){var d=c[u],f=a.coerceRef(e,t,l,d,"paper");if("paper"!==f)a.getFromId(l,f)._imgIndices.push(t._index);a.coercePosition(t,l,i,f,d,0)}return t}e.exports=function(e,t){i(e,t,{name:"images",handleItemDefaults:s})}},S4zj:function(e,t,r){"use strict";e.exports=function(e){function t(e,t){return{type:"Feature",id:e.id,properties:e.properties,geometry:r(e.geometry,t)}}function r(t,n){if(!t)return null;if("GeometryCollection"===t.type)return{type:"GeometryCollection",geometries:object.geometries.map((function(e){return r(e,n)}))};if(!c.hasOwnProperty(t.type))return null;var a=c[t.type];return e.geo.stream(t,n(a)),a.result()}e.geo.project=function(e,t){var a=t.stream;if(!a)throw new Error("not yet supported");return(e&&n.hasOwnProperty(e.type)?n[e.type]:r)(e,a)};var n={Feature:t,FeatureCollection:function(e,r){return{type:"FeatureCollection",features:e.features.map((function(e){return t(e,r)}))}}},a=[],i=[],o={point:function(e,t){a.push([e,t])},result:function(){var e=a.length?a.length<2?{type:"Point",coordinates:a[0]}:{type:"MultiPoint",coordinates:a}:null;return a=[],e}},s={lineStart:u,point:function(e,t){a.push([e,t])},lineEnd:function(){a.length&&(i.push(a),a=[])},result:function(){var e=i.length?i.length<2?{type:"LineString",coordinates:i[0]}:{type:"MultiLineString",coordinates:i}:null;return i=[],e}},l={polygonStart:u,lineStart:u,point:function(e,t){a.push([e,t])},lineEnd:function(){var e=a.length;if(e){do{a.push(a[0].slice())}while(++e<4);i.push(a),a=[]}},polygonEnd:u,result:function(){if(!i.length)return null;var e=[],t=[];return i.forEach((function(r){!function(e){if((t=e.length)<4)return!1;var t,r=0,n=e[t-1][1]*e[0][0]-e[t-1][0]*e[0][1];for(;++r<t;)n+=e[r-1][1]*e[r][0]-e[r-1][0]*e[r][1];return n<=0}(r)?t.push(r):e.push([r])})),t.forEach((function(t){var r=t[0];e.some((function(e){if(function(e,t){for(var r=t[0],n=t[1],a=!1,i=0,o=e.length,s=o-1;i<o;s=i++){var l=e[i],c=l[0],u=l[1],d=e[s],f=d[0],h=d[1];u>n^h>n&&r<(f-c)*(n-u)/(h-u)+c&&(a=!a)}return a}(e[0],r))return e.push(t),!0}))||e.push([t])})),i=[],e.length?e.length>1?{type:"MultiPolygon",coordinates:e}:{type:"Polygon",coordinates:e[0]}:null}},c={Point:o,MultiPoint:o,LineString:s,MultiLineString:s,Polygon:l,MultiPolygon:l,Sphere:l};function u(){}var d=1e-6,f=Math.PI,h=f/2,p=(Math.sqrt(f),f/180),g=180/f;function v(e){return e>1?h:e<-1?-h:Math.asin(e)}function m(e){return e>1?0:e<-1?f:Math.acos(e)}var y=e.geo.projection,x=e.geo.projectionMutator;function b(e,t){var r=(2+h)*Math.sin(t);t/=2;for(var n=0,a=1/0;n<10&&Math.abs(a)>d;n++){var i=Math.cos(t);t-=a=(t+Math.sin(t)*(i+2)-r)/(2*i*(1+i))}return[2/Math.sqrt(f*(4+f))*e*(1+Math.cos(t)),2*Math.sqrt(f/(4+f))*Math.sin(t)]}e.geo.interrupt=function(t){var r,n=[[[[-f,0],[0,h],[f,0]]],[[[-f,0],[0,-h],[f,0]]]];function a(e,r){for(var a=r<0?-1:1,i=n[+(r<0)],o=0,s=i.length-1;o<s&&e>i[o][2][0];++o);var l=t(e-i[o][1][0],r);return l[0]+=t(i[o][1][0],a*r>a*i[o][0][1]?i[o][0][1]:r)[0],l}function i(){r=n.map((function(e){return e.map((function(e){var r,n=t(e[0][0],e[0][1])[0],a=t(e[2][0],e[2][1])[0],i=t(e[1][0],e[0][1])[1],o=t(e[1][0],e[1][1])[1];return i>o&&(r=i,i=o,o=r),[[n,i],[a,o]]}))}))}t.invert&&(a.invert=function(e,i){for(var o=r[+(i<0)],s=n[+(i<0)],l=0,u=o.length;l<u;++l){var d=o[l];if(d[0][0]<=e&&e<d[1][0]&&d[0][1]<=i&&i<d[1][1]){var f=t.invert(e-t(s[l][1][0],0)[0],i);return f[0]+=s[l][1][0],c(a(f[0],f[1]),[e,i])?f:null}}});var o=e.geo.projection(a),s=o.stream;function l(e,t){for(var r,n,a,i=-1,o=e.length,s=e[0],l=[];++i<o;){n=((r=e[i])[0]-s[0])/t,a=(r[1]-s[1])/t;for(var c=0;c<t;++c)l.push([s[0]+c*n,s[1]+c*a]);s=r}return l.push(r),l}function c(e,t){return Math.abs(e[0]-t[0])<d&&Math.abs(e[1]-t[1])<d}return o.stream=function(t){var r=o.rotate(),a=s(t),i=(o.rotate([0,0]),s(t));return o.rotate(r),a.sphere=function(){e.geo.stream(function(){for(var t=1e-6,r=[],a=0,i=n[0].length;a<i;++a){var o=180*(h=n[0][a])[0][0]/f,s=180*h[0][1]/f,c=180*h[1][1]/f,u=180*h[2][0]/f,d=180*h[2][1]/f;r.push(l([[o+t,s+t],[o+t,c-t],[u-t,c-t],[u-t,d+t]],30))}for(a=n[1].length-1;a>=0;--a){var h;o=180*(h=n[1][a])[0][0]/f,s=180*h[0][1]/f,c=180*h[1][1]/f,u=180*h[2][0]/f,d=180*h[2][1]/f;r.push(l([[u-t,d-t],[u-t,c+t],[o+t,c+t],[o+t,s-t]],30))}return{type:"Polygon",coordinates:[e.merge(r)]}}(),i)},a},o.lobes=function(e){return arguments.length?(n=e.map((function(e){return e.map((function(e){return[[e[0][0]*f/180,e[0][1]*f/180],[e[1][0]*f/180,e[1][1]*f/180],[e[2][0]*f/180,e[2][1]*f/180]]}))})),i(),o):n.map((function(e){return e.map((function(e){return[[180*e[0][0]/f,180*e[0][1]/f],[180*e[1][0]/f,180*e[1][1]/f],[180*e[2][0]/f,180*e[2][1]/f]]}))}))},o},b.invert=function(e,t){var r=.5*t*Math.sqrt((4+f)/f),n=v(r),a=Math.cos(n);return[e/(2/Math.sqrt(f*(4+f))*(1+a)),v((n+r*(a+2))/(2+h))]},(e.geo.eckert4=function(){return y(b)}).raw=b;var w=e.geo.azimuthalEqualArea.raw;function _(e,t){if(arguments.length<2&&(t=e),1===t)return w;if(t===1/0)return k;function r(r,n){var a=w(r/t,n);return a[0]*=e,a}return r.invert=function(r,n){var a=w.invert(r/e,n);return a[0]*=t,a},r}function k(e,t){return[e*Math.cos(t)/Math.cos(t/=2),2*Math.sin(t)]}function T(e,t){return[3*e/(2*f)*Math.sqrt(f*f/3-t*t),t]}function M(e,t){return[e,1.25*Math.log(Math.tan(f/4+.4*t))]}function S(e){return function(t){var r,n=e*Math.sin(t),a=30;do{t-=r=(t+Math.sin(t)-n)/(1+Math.cos(t))}while(Math.abs(r)>d&&--a>0);return t/2}}k.invert=function(e,t){var r=2*v(t/2);return[e*Math.cos(r/2)/Math.cos(r),r]},(e.geo.hammer=function(){var e=2,t=x(_),r=t(e);return r.coefficient=function(r){return arguments.length?t(e=+r):e},r}).raw=_,T.invert=function(e,t){return[2/3*f*e/Math.sqrt(f*f/3-t*t),t]},(e.geo.kavrayskiy7=function(){return y(T)}).raw=T,M.invert=function(e,t){return[e,2.5*Math.atan(Math.exp(.8*t))-.625*f]},(e.geo.miller=function(){return y(M)}).raw=M,S(f);var A=function(e,t,r){var n=S(r);function a(r,a){return[e*r*Math.cos(a=n(a)),t*Math.sin(a)]}return a.invert=function(n,a){var i=v(a/t);return[n/(e*Math.cos(i)),v((2*i+Math.sin(2*i))/r)]},a}(Math.SQRT2/h,Math.SQRT2,f);function C(e,t){var r=t*t,n=r*r;return[e*(.8707-.131979*r+n*(n*(.003971*r-.001529*n)-.013791)),t*(1.007226+r*(.015085+n*(.028874*r-.044475-.005916*n)))]}(e.geo.mollweide=function(){return y(A)}).raw=A,C.invert=function(e,t){var r,n=t,a=25;do{var i=n*n,o=i*i;n-=r=(n*(1.007226+i*(.015085+o*(.028874*i-.044475-.005916*o)))-t)/(1.007226+i*(.045255+o*(.259866*i-.311325-.005916*11*o)))}while(Math.abs(r)>d&&--a>0);return[e/(.8707+(i=n*n)*(i*(i*i*i*(.003971-.001529*i)-.013791)-.131979)),n]},(e.geo.naturalEarth=function(){return y(C)}).raw=C;var P=[[.9986,-.062],[1,0],[.9986,.062],[.9954,.124],[.99,.186],[.9822,.248],[.973,.31],[.96,.372],[.9427,.434],[.9216,.4958],[.8962,.5571],[.8679,.6176],[.835,.6769],[.7986,.7346],[.7597,.7903],[.7186,.8435],[.6732,.8936],[.6213,.9394],[.5722,.9761],[.5322,1]];function O(e,t){var r,n=Math.min(18,36*Math.abs(t)/f),a=Math.floor(n),i=n-a,o=(r=P[a])[0],s=r[1],l=(r=P[++a])[0],c=r[1],u=(r=P[Math.min(19,++a)])[0],d=r[1];return[e*(l+i*(u-o)/2+i*i*(u-2*l+o)/2),(t>0?h:-h)*(c+i*(d-s)/2+i*i*(d-2*c+s)/2)]}function I(e,t){return[e*Math.cos(t),t]}function z(e,t){var r,n=Math.cos(t),a=(r=m(n*Math.cos(e/=2)))?r/Math.sin(r):1;return[2*n*Math.sin(e)*a,Math.sin(t)*a]}function L(e,t){var r=z(e,t);return[(r[0]+e/h)/2,(r[1]+t)/2]}P.forEach((function(e){e[1]*=1.0144})),O.invert=function(e,t){var r=t/h,n=90*r,a=Math.min(18,Math.abs(n/5)),i=Math.max(0,Math.floor(a));do{var o=P[i][1],s=P[i+1][1],l=P[Math.min(19,i+2)][1],c=l-o,u=l-2*s+o,d=2*(Math.abs(r)-s)/c,f=u/c,v=d*(1-f*d*(1-2*f*d));if(v>=0||1===i){n=(t>=0?5:-5)*(v+a);var m,y=50;do{v=(a=Math.min(18,Math.abs(n)/5))-(i=Math.floor(a)),o=P[i][1],s=P[i+1][1],l=P[Math.min(19,i+2)][1],n-=(m=(t>=0?h:-h)*(s+v*(l-o)/2+v*v*(l-2*s+o)/2)-t)*g}while(Math.abs(m)>1e-12&&--y>0);break}}while(--i>=0);var x=P[i][0],b=P[i+1][0],w=P[Math.min(19,i+2)][0];return[e/(b+v*(w-x)/2+v*v*(w-2*b+x)/2),n*p]},(e.geo.robinson=function(){return y(O)}).raw=O,I.invert=function(e,t){return[e/Math.cos(t),t]},(e.geo.sinusoidal=function(){return y(I)}).raw=I,z.invert=function(e,t){if(!(e*e+4*t*t>f*f+d)){var r=e,n=t,a=25;do{var i,o=Math.sin(r),s=Math.sin(r/2),l=Math.cos(r/2),c=Math.sin(n),u=Math.cos(n),h=Math.sin(2*n),p=c*c,g=u*u,v=s*s,y=1-g*l*l,x=y?m(u*l)*Math.sqrt(i=1/y):i=0,b=2*x*u*s-e,w=x*c-t,_=i*(g*v+x*u*l*p),k=i*(.5*o*h-2*x*c*s),T=.25*i*(h*s-x*c*g*o),M=i*(p*l+x*v*u),S=k*T-M*_;if(!S)break;var A=(w*k-b*M)/S,C=(b*T-w*_)/S;r-=A,n-=C}while((Math.abs(A)>d||Math.abs(C)>d)&&--a>0);return[r,n]}},(e.geo.aitoff=function(){return y(z)}).raw=z,L.invert=function(e,t){var r=e,n=t,a=25;do{var i,o=Math.cos(n),s=Math.sin(n),l=Math.sin(2*n),c=s*s,u=o*o,f=Math.sin(r),p=Math.cos(r/2),g=Math.sin(r/2),v=g*g,y=1-u*p*p,x=y?m(o*p)*Math.sqrt(i=1/y):i=0,b=.5*(2*x*o*g+r/h)-e,w=.5*(x*s+n)-t,_=.5*i*(u*v+x*o*p*c)+.5/h,k=i*(f*l/4-x*s*g),T=.125*i*(l*g-x*s*u*f),M=.5*i*(c*p+x*v*o)+.5,S=k*T-M*_,A=(w*k-b*M)/S,C=(b*T-w*_)/S;r-=A,n-=C}while((Math.abs(A)>d||Math.abs(C)>d)&&--a>0);return[r,n]},(e.geo.winkel3=function(){return y(L)}).raw=L}},SFLx:function(e,t,r){"use strict";var n=r("Zss7"),a={Greys:[[0,"rgb(0,0,0)"],[1,"rgb(255,255,255)"]],YlGnBu:[[0,"rgb(8,29,88)"],[.125,"rgb(37,52,148)"],[.25,"rgb(34,94,168)"],[.375,"rgb(29,145,192)"],[.5,"rgb(65,182,196)"],[.625,"rgb(127,205,187)"],[.75,"rgb(199,233,180)"],[.875,"rgb(237,248,217)"],[1,"rgb(255,255,217)"]],Greens:[[0,"rgb(0,68,27)"],[.125,"rgb(0,109,44)"],[.25,"rgb(35,139,69)"],[.375,"rgb(65,171,93)"],[.5,"rgb(116,196,118)"],[.625,"rgb(161,217,155)"],[.75,"rgb(199,233,192)"],[.875,"rgb(229,245,224)"],[1,"rgb(247,252,245)"]],YlOrRd:[[0,"rgb(128,0,38)"],[.125,"rgb(189,0,38)"],[.25,"rgb(227,26,28)"],[.375,"rgb(252,78,42)"],[.5,"rgb(253,141,60)"],[.625,"rgb(254,178,76)"],[.75,"rgb(254,217,118)"],[.875,"rgb(255,237,160)"],[1,"rgb(255,255,204)"]],Bluered:[[0,"rgb(0,0,255)"],[1,"rgb(255,0,0)"]],RdBu:[[0,"rgb(5,10,172)"],[.35,"rgb(106,137,247)"],[.5,"rgb(190,190,190)"],[.6,"rgb(220,170,132)"],[.7,"rgb(230,145,90)"],[1,"rgb(178,10,28)"]],Reds:[[0,"rgb(220,220,220)"],[.2,"rgb(245,195,157)"],[.4,"rgb(245,160,105)"],[1,"rgb(178,10,28)"]],Blues:[[0,"rgb(5,10,172)"],[.35,"rgb(40,60,190)"],[.5,"rgb(70,100,245)"],[.6,"rgb(90,120,245)"],[.7,"rgb(106,137,247)"],[1,"rgb(220,220,220)"]],Picnic:[[0,"rgb(0,0,255)"],[.1,"rgb(51,153,255)"],[.2,"rgb(102,204,255)"],[.3,"rgb(153,204,255)"],[.4,"rgb(204,204,255)"],[.5,"rgb(255,255,255)"],[.6,"rgb(255,204,255)"],[.7,"rgb(255,153,255)"],[.8,"rgb(255,102,204)"],[.9,"rgb(255,102,102)"],[1,"rgb(255,0,0)"]],Rainbow:[[0,"rgb(150,0,90)"],[.125,"rgb(0,0,200)"],[.25,"rgb(0,25,255)"],[.375,"rgb(0,152,255)"],[.5,"rgb(44,255,150)"],[.625,"rgb(151,255,0)"],[.75,"rgb(255,234,0)"],[.875,"rgb(255,111,0)"],[1,"rgb(255,0,0)"]],Portland:[[0,"rgb(12,51,131)"],[.25,"rgb(10,136,186)"],[.5,"rgb(242,211,56)"],[.75,"rgb(242,143,56)"],[1,"rgb(217,30,30)"]],Jet:[[0,"rgb(0,0,131)"],[.125,"rgb(0,60,170)"],[.375,"rgb(5,255,255)"],[.625,"rgb(255,255,0)"],[.875,"rgb(250,0,0)"],[1,"rgb(128,0,0)"]],Hot:[[0,"rgb(0,0,0)"],[.3,"rgb(230,0,0)"],[.6,"rgb(255,210,0)"],[1,"rgb(255,255,255)"]],Blackbody:[[0,"rgb(0,0,0)"],[.2,"rgb(230,0,0)"],[.4,"rgb(230,210,0)"],[.7,"rgb(255,255,255)"],[1,"rgb(160,200,255)"]],Earth:[[0,"rgb(0,0,130)"],[.1,"rgb(0,180,180)"],[.2,"rgb(40,210,40)"],[.4,"rgb(230,230,50)"],[.6,"rgb(120,70,20)"],[1,"rgb(255,255,255)"]],Electric:[[0,"rgb(0,0,0)"],[.15,"rgb(30,0,100)"],[.4,"rgb(120,0,100)"],[.6,"rgb(160,90,0)"],[.8,"rgb(230,200,0)"],[1,"rgb(255,250,220)"]],Viridis:[[0,"#440154"],[.06274509803921569,"#48186a"],[.12549019607843137,"#472d7b"],[.18823529411764706,"#424086"],[.25098039215686274,"#3b528b"],[.3137254901960784,"#33638d"],[.3764705882352941,"#2c728e"],[.4392156862745098,"#26828e"],[.5019607843137255,"#21918c"],[.5647058823529412,"#1fa088"],[.6274509803921569,"#28ae80"],[.6901960784313725,"#3fbc73"],[.7529411764705882,"#5ec962"],[.8156862745098039,"#84d44b"],[.8784313725490196,"#addc30"],[.9411764705882353,"#d8e219"],[1,"#fde725"]],Cividis:[[0,"rgb(0,32,76)"],[.058824,"rgb(0,42,102)"],[.117647,"rgb(0,52,110)"],[.176471,"rgb(39,63,108)"],[.235294,"rgb(60,74,107)"],[.294118,"rgb(76,85,107)"],[.352941,"rgb(91,95,109)"],[.411765,"rgb(104,106,112)"],[.470588,"rgb(117,117,117)"],[.529412,"rgb(131,129,120)"],[.588235,"rgb(146,140,120)"],[.647059,"rgb(161,152,118)"],[.705882,"rgb(176,165,114)"],[.764706,"rgb(192,177,109)"],[.823529,"rgb(209,191,102)"],[.882353,"rgb(225,204,92)"],[.941176,"rgb(243,219,79)"],[1,"rgb(255,233,69)"]]},i=a.RdBu;function o(e){var t=0;if(!Array.isArray(e)||e.length<2)return!1;if(!e[0]||!e[e.length-1])return!1;if(0!=+e[0][0]||1!=+e[e.length-1][0])return!1;for(var r=0;r<e.length;r++){var a=e[r];if(2!==a.length||+a[0]<t||!n(a[1]).isValid())return!1;t=+a[0]}return!0}e.exports={scales:a,defaultScale:i,get:function(e,t){if(t||(t=i),!e)return t;function r(){try{e=a[e]||JSON.parse(e)}catch(r){e=t}}return"string"==typeof e&&(r(),"string"==typeof e&&r()),o(e)?e:t},isValid:function(e){return void 0!==a[e]||o(e)}}},SI4F:function(e,t,r){var n=r("8tlJ");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("2634d9fe",n,!0,{})},SLue:function(e,t,r){"use strict";e.exports={attributes:r("kZ5o"),supplyDefaults:r("qc20").supplyDefaults,supplyLayoutDefaults:r("VrRz"),layoutAttributes:r("eNjM"),calc:r("hriN").calc,crossTraceCalc:r("hriN").crossTraceCalc,plot:r("wK8V").plot,style:r("culP"),styleOne:r("pwgW"),moduleType:"trace",name:"pie",basePlotModule:r("a18v"),categories:["pie-like","pie","showLegend"],meta:{description:["A data visualized by the sectors of the pie is set in `values`.","The sector labels are set in `labels`.","The sector colors are set in `marker.colors`"].join(" ")}}},SZ7m:function(e,t,r){"use strict";function n(e,t){for(var r=[],n={},a=0;a<t.length;a++){var i=t[a],o=i[0],s={id:e+":"+a,css:i[1],media:i[2],sourceMap:i[3]};n[o]?n[o].parts.push(s):r.push(n[o]={id:o,parts:[s]})}return r}r.r(t),r.d(t,"default",(function(){return h}));var a="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!a)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},o=a&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,c=!1,u=function(){},d=null,f="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(e,t,r,a){c=r,d=a||{};var o=n(e,t);return p(o),function(t){for(var r=[],a=0;a<o.length;a++){var s=o[a];(l=i[s.id]).refs--,r.push(l)}t?p(o=n(e,t)):o=[];for(a=0;a<r.length;a++){var l;if(0===(l=r[a]).refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete i[l.id]}}}}function p(e){for(var t=0;t<e.length;t++){var r=e[t],n=i[r.id];if(n){n.refs++;for(var a=0;a<n.parts.length;a++)n.parts[a](r.parts[a]);for(;a<r.parts.length;a++)n.parts.push(v(r.parts[a]));n.parts.length>r.parts.length&&(n.parts.length=r.parts.length)}else{var o=[];for(a=0;a<r.parts.length;a++)o.push(v(r.parts[a]));i[r.id]={id:r.id,refs:1,parts:o}}}}function g(){var e=document.createElement("style");return e.type="text/css",o.appendChild(e),e}function v(e){var t,r,n=document.querySelector('style[data-vue-ssr-id~="'+e.id+'"]');if(n){if(c)return u;n.parentNode.removeChild(n)}if(f){var a=l++;n=s||(s=g()),t=x.bind(null,n,a,!1),r=x.bind(null,n,a,!0)}else n=g(),t=b.bind(null,n),r=function(){n.parentNode.removeChild(n)};return t(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;t(e=n)}else r()}}var m,y=(m=[],function(e,t){return m[e]=t,m.filter(Boolean).join("\n")});function x(e,t,r,n){var a=r?"":n.css;if(e.styleSheet)e.styleSheet.cssText=y(t,a);else{var i=document.createTextNode(a),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(i,o[t]):e.appendChild(i)}}function b(e,t){var r=t.css,n=t.media,a=t.sourceMap;if(n&&e.setAttribute("media",n),d.ssrId&&e.setAttribute("data-vue-ssr-id",t.id),a&&(r+="\n/*# sourceURL="+a.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}},SbTw:function(e,t,r){"use strict";e.exports={defaultNumberFontSize:80,bulletNumberDomainSize:.25,bulletPadding:.025,innerRadius:.75,valueThickness:.5,titlePadding:5,horizontalPadding:10}},SqgR:function(e,t,r){"use strict";var n=r("/CZE"),a=r("Po4l");e.exports=function(e,t){function r(r,i){return n.coerce(e,t,a,r,i)}r("treemapcolorway",t.colorway),r("extendtreemapcolors")}},TGam:function(e,t,r){"use strict";var n=r("PBw4"),a=r("A3kh"),i=r("IvnK"),o=r("Y9zF").LINE_SPACING,s=i.name;function l(e){var t=e&&e[s];return t&&t.visible}t.isVisible=l,t.makeData=function(e){var t=n.list({_fullLayout:e},"x",!0),r=e.margin,a=[];if(!e._has("gl2d"))for(var i=0;i<t.length;i++){var o=t[i];if(l(o)){a.push(o);var c=o[s];c._id=s+o._id,c._height=(e.height-r.b-r.t)*c.thickness,c._offsetShift=Math.floor(c.borderwidth/2)}}e._rangeSliderData=a},t.autoMarginOpts=function(e,t){var r=e._fullLayout,n=t[s],l=t._id.charAt(0),c=0,u=0;"bottom"===t.side&&(c=t._depth,t.title.text!==r._dfltTitle[l]&&(u=1.5*t.title.font.size+10+n._offsetShift,u+=(t.title.text.match(a.BR_TAG_ALL)||[]).length*t.title.font.size*o));return{x:0,y:t._counterDomainMin,l:0,r:0,t:0,b:n._height+c+Math.max(r.margin.b,u),pad:i.extraPad+2*n._offsetShift}}},TNIG:function(e,t,r){"use strict";var n=r("PBw4").list,a=r("zlYT").getAutoRange,i=r("IvnK");e.exports=function(e){for(var t=n(e,"x",!0),r=0;r<t.length;r++){var o=t[r],s=o[i.name];s&&s.visible&&s.autorange&&(s._input.autorange=!0,s._input.range=s.range=a(e,o))}}},TSQ4:function(e,t,r){(t=r("JPst")(!1)).push([e.i,".line[data-v-6e372377]{animation:linePencil-data-v-6e372377 .8s infinite linear}@keyframes linePencil-data-v-6e372377{0%{transform:translateY(0)}100%{transform:translateY(-150px)}}\n",""]),e.exports=t},Tr0U:function(e,t,r){"use strict";var n=r("/CZE"),a=r("fiWp").EventEmitter,i=r("QkhT");e.exports=function(e){var t=e.emitter||new a,r=new Promise((function(a,o){var s=window.Image,l=e.svg,c=e.format||"png";if(n.isIE()&&"svg"!==c){var u=new Error(i.MSG_IE_BAD_FORMAT);return o(u),e.promise?r:t.emit("error",u)}var d,f,h=e.canvas,p=e.scale||1,g=e.width||300,v=e.height||150,m=p*g,y=p*v,x=h.getContext("2d"),b=new s;"svg"===c||n.isIE9orBelow()||n.isSafari()?f=i.encodeSVG(l):(d=i.createBlob(l,"svg"),f=i.createObjectURL(d)),h.width=m,h.height=y,b.onload=function(){var r;switch(d=null,i.revokeObjectURL(f),"svg"!==c&&x.drawImage(b,0,0,m,y),c){case"jpeg":r=h.toDataURL("image/jpeg");break;case"png":r=h.toDataURL("image/png");break;case"webp":r=h.toDataURL("image/webp");break;case"svg":r=f;break;default:var n="Image format is not jpeg, png, svg or webp.";if(o(new Error(n)),!e.promise)return t.emit("error",n)}a(r),e.promise||t.emit("success",r)},b.onerror=function(r){if(d=null,i.revokeObjectURL(f),o(r),!e.promise)return t.emit("error",r)},b.src=f}));return e.promise?r:t}},Tv4R:function(e,t,r){"use strict";var n=r("i5jP"),a=r("LI1c"),i=r("FHfC"),o=r("/CZE").removeElement,s=r("0wH6"),l=e.exports={};l.align=r("KW7m"),l.getCursor=r("E6Qf");var c=r("hVte");function u(){var e=document.createElement("div");e.className="dragcover";var t=e.style;return t.position="fixed",t.left=0,t.right=0,t.top=0,t.bottom=0,t.zIndex=999999999,t.background="none",document.body.appendChild(e),e}function d(e){return n(e.changedTouches?e.changedTouches[0]:e,document.body)}l.unhover=c.wrapped,l.unhoverRaw=c.raw,l.init=function(e){var t,r,n,c,f,h,p,g,v=e.gd,m=1,y=v._context.doubleClickDelay,x=e.element;v._mouseDownTime||(v._mouseDownTime=0),x.style.pointerEvents="all",x.onmousedown=w,i?(x._ontouchstart&&x.removeEventListener("touchstart",x._ontouchstart),x._ontouchstart=w,x.addEventListener("touchstart",w,{passive:!1})):x.ontouchstart=w;var b=e.clampFn||function(e,t,r){return Math.abs(e)<r&&(e=0),Math.abs(t)<r&&(t=0),[e,t]};function w(i){v._dragged=!1,v._dragging=!0;var o=d(i);t=o[0],r=o[1],p=i.target,h=i,g=2===i.buttons||i.ctrlKey,void 0===i.clientX&&void 0===i.clientY&&(i.clientX=t,i.clientY=r),(n=(new Date).getTime())-v._mouseDownTime<y?m+=1:(m=1,v._mouseDownTime=n),e.prepFn&&e.prepFn(i,t,r),a&&!g?(f=u()).style.cursor=window.getComputedStyle(x).cursor:a||(f=document,c=window.getComputedStyle(document.documentElement).cursor,document.documentElement.style.cursor=window.getComputedStyle(x).cursor),document.addEventListener("mouseup",k),document.addEventListener("touchend",k),!1!==e.dragmode&&(i.preventDefault(),document.addEventListener("mousemove",_),document.addEventListener("touchmove",_,{passive:!1}))}function _(n){n.preventDefault();var a=d(n),i=e.minDrag||s.MINDRAG,o=b(a[0]-t,a[1]-r,i),c=o[0],u=o[1];(c||u)&&(v._dragged=!0,l.unhover(v)),v._dragged&&e.moveFn&&!g&&(v._dragdata={element:x,dx:c,dy:u},e.moveFn(c,u))}function k(t){if(delete v._dragdata,!1!==e.dragmode&&(t.preventDefault(),document.removeEventListener("mousemove",_),document.removeEventListener("touchmove",_)),document.removeEventListener("mouseup",k),document.removeEventListener("touchend",k),a?o(f):c&&(f.documentElement.style.cursor=c,c=null),v._dragging){if(v._dragging=!1,(new Date).getTime()-v._mouseDownTime>y&&(m=Math.max(m-1,1)),v._dragged)e.doneFn&&e.doneFn();else if(e.clickFn&&e.clickFn(m,h),!g){var r;try{r=new MouseEvent("click",t)}catch(e){var n=d(t);(r=document.createEvent("MouseEvents")).initMouseEvent("click",t.bubbles,t.cancelable,t.view,t.detail,t.screenX,t.screenY,n[0],n[1],t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,t.button,t.relatedTarget)}p.dispatchEvent(r)}v._dragging=!1,v._dragged=!1}else v._dragged=!1}},l.coverSlip=u},U4zm:function(e,t,r){"use strict";var n=r("bljh"),a=r("/CZE"),i=r("CRlY"),o=r("xAC+").getTopojsonFeatures,s=r("zlYT").findExtremes,l=r("56vX").style;e.exports={calcGeoJSON:function(e,t){for(var r=e[0].trace,n=t[r.geo],a=n._subplot,l=r.locationmode,c=r._length,u="geojson-id"===l?i.extractTraceFeature(e):o(r,a.topojson),d=[],f=[],h=0;h<c;h++){var p=e[h],g="geojson-id"===l?p.fOut:i.locationToFeature(l,p.loc,u);if(g){p.geojson=g,p.ct=g.properties.ct,p._polygons=i.feature2polygons(g);var v=i.computeBbox(g);d.push(v[0],v[2]),f.push(v[1],v[3])}else p.geojson=null}if("geojson"===n.fitbounds&&"geojson-id"===l){var m=i.computeBbox(i.getTraceGeojson(r));d=[m[0],m[2]],f=[m[1],m[3]]}var y={padded:!0};r._extremes.lon=s(n.lonaxis._ax,d,y),r._extremes.lat=s(n.lataxis._ax,f,y)},plot:function(e,t,r){var i=t.layers.backplot.select(".choroplethlayer");a.makeTraceGroups(i,r,"trace choropleth").each((function(t){var r=n.select(this).selectAll("path.choroplethlocation").data(a.identity);r.enter().append("path").classed("choroplethlocation",!0),r.exit().remove(),l(e,t)}))}}},U8Bh:function(e,t,r){(t=r("JPst")(!1)).push([e.i,".spinner[data-v-c1e82ad8]{display:flex;justify-content:center;align-items:center}.spinner *[data-v-c1e82ad8]{line-height:0;box-sizing:border-box}.ball-container[data-v-c1e82ad8]{animation:animball_two-data-v-c1e82ad8 1.5s infinite;width:44px;height:44px;flex-shrink:0;position:relative}.contener_mixte[data-v-c1e82ad8]{width:44px;height:44px;position:absolute}.ballcolor[data-v-c1e82ad8]{width:20px;height:20px;border-radius:50%}.ball_1[data-v-c1e82ad8],.ball_2[data-v-c1e82ad8],.ball_3[data-v-c1e82ad8],.ball_4[data-v-c1e82ad8]{position:absolute;animation:animball_one-data-v-c1e82ad8 1.5s infinite ease}.ball_1[data-v-c1e82ad8]{background-color:#f7484e;top:0;left:0}.ball_2[data-v-c1e82ad8]{background-color:#f8b334;top:0;left:24px}.ball_3[data-v-c1e82ad8]{background-color:#41b883;top:24px;left:0}.ball_4[data-v-c1e82ad8]{background-color:#34495e;top:24px;left:24px}@keyframes animball_one-data-v-c1e82ad8{0%{position:absolute}50%{top:12px;left:12px;position:absolute;opacity:0.5}100%{position:absolute}}@keyframes animball_two-data-v-c1e82ad8{0%{transform:rotate(0deg) scale(1)}50%{transform:rotate(360deg) scale(1.3)}100%{transform:rotate(720deg) scale(1)}}\n",""]),e.exports=t},UAgb:function(e,t,r){"use strict";var n=r("/CZE"),a=r("15jM"),i=r("5azm");function o(e){var t=["showexponent","showtickprefix","showticksuffix"].filter((function(t){return void 0!==e[t]}));if(t.every((function(r){return e[r]===e[t[0]]}))||1===t.length)return e[t[0]]}function s(e,t){function r(r,i){return n.coerce(e,t,a.tickformatstops,r,i)}r("enabled")&&(r("dtickrange"),r("value"))}e.exports=function(e,t,r,l,c,u){u&&1!==u.pass||function(e,t,r,n,a){var i=o(e);r("tickprefix")&&r("showtickprefix",i);r("ticksuffix",a.tickSuffixDflt)&&r("showticksuffix",i)}(e,0,r,0,c),u&&2!==u.pass||function(e,t,r,l,c){var u=o(e);r("tickprefix")&&r("showtickprefix",u);r("ticksuffix",c.tickSuffixDflt)&&r("showticksuffix",u);if(r("showticklabels")){var d=c.font||{},f=t.color,h=f&&f!==a.color.dflt?f:d.color;if(n.coerceFont(r,"tickfont",{family:d.family,size:d.size,color:h}),r("tickangle"),"category"!==l){var p=r("tickformat");i(e,t,{name:"tickformatstops",inclusionAttr:"enabled",handleItemDefaults:s}),t.tickformatstops.length||delete t.tickformatstops,p||"date"===l||(r("showexponent",u),r("exponentformat"),r("separatethousands"))}}}(e,t,r,l,c)}},UEdZ:function(e,t,r){"use strict";var n=r("0RW4"),a=r("IVx0").hasColorscale,i=r("QYPY"),o=r("3oHU");e.exports=function(e,t,r,s,l,c){var u=o.isBubble(e),d=(e.line||{}).color;(c=c||{},d&&(r=d),l("marker.symbol"),l("marker.opacity",u?.7:1),l("marker.size"),l("marker.color",r),a(e,"marker")&&i(e,t,s,l,{prefix:"marker.",cLetter:"c"}),c.noSelect||(l("selected.marker.color"),l("unselected.marker.color"),l("selected.marker.size"),l("unselected.marker.size")),c.noLine||(l("marker.line.color",d&&!Array.isArray(d)&&t.marker.color!==d?d:u?n.background:n.defaultLine),a(e,"marker.line")&&i(e,t,s,l,{prefix:"marker.line.",cLetter:"c"}),l("marker.line.width",u?1:0)),u&&(l("marker.sizeref"),l("marker.sizemin"),l("marker.sizemode")),c.gradient)&&("none"!==l("marker.gradient.type")&&l("marker.gradient.color"))}},UOmI:function(e,t,r){"use strict";var n=r("lbZy");r.n(n).a},URXw:function(e,t,r){var n=r("JkiL");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("6336e430",n,!0,{})},"Ut+V":function(e,t,r){var n=r("yt0/");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("4e50cbd6",n,!0,{})},UtjE:function(e,t,r){"use strict";e.exports={CIRCLE_SIDES:32,i000:0,i090:8,i180:16,i270:24,cos45:Math.cos(Math.PI/4),sin45:Math.sin(Math.PI/4),SQRT2:Math.sqrt(2)}},UuhF:function(e,t,r){"use strict";var n=r("bljh"),a=r("g9E0"),i=r("Nx4I");function o(e,t,r){a.pointStyle(e.selectAll("path.point"),t,r)}function s(e,t,r){a.textPointStyle(e.selectAll("text"),t,r)}e.exports={style:function(e){var t=n.select(e).selectAll("g.trace.scatter");t.style("opacity",(function(e){return e[0].trace.opacity})),t.selectAll("g.points").each((function(t){o(n.select(this),t.trace||t[0].trace,e)})),t.selectAll("g.text").each((function(t){s(n.select(this),t.trace||t[0].trace,e)})),t.selectAll("g.trace path.js-line").call(a.lineGroupStyle),t.selectAll("g.trace path.js-fill").call(a.fillGroupStyle),i.getComponentMethod("errorbars","style")(t)},stylePoints:o,styleText:s,styleOnSelect:function(e,t,r){var n=t[0].trace;n.selectedpoints?(a.selectedPointStyle(r.selectAll("path.point"),n),a.selectedTextStyle(r.selectAll("text"),n)):(o(r,n,e),s(r,n,e))}}},V9qq:function(e,t,r){"use strict";var n=r("bljh"),a=r("+1bK"),i=r("/CZE"),o=r("Gl7E").TEXTPAD,s=r("x5FY").toMoveInsideBar,l=r("k6aH"),c=l.recordMinTextSize,u=l.clearMinTextSize,d=r("LfN2").resizeText,f=r("I8wg"),h=r("v7ZX"),p=r("IjzS");function g(e){return a.isHierarchyRoot(e)?"":a.getPtId(e)}function v(e,t,r,l){var u=e._fullLayout,d=t[0],v=d.trace,m=d.hierarchy,y=a.findEntryWithLevel(m,v.level),x=n.select(r),b=x.selectAll("g.pathbar"),w=x.selectAll("g.slice");if(!y)return b.remove(),void w.remove();var _=a.isHierarchyRoot(y),k=!u.uniformtext.mode&&a.hasTransition(l),T=a.getMaxDepth(v),M=u._size,S=v.domain,A=M.w*(S.x[1]-S.x[0]),C=M.h*(S.y[1]-S.y[0]),P=A,O=v.pathbar.thickness,I=v.marker.line.width+f.gapWithPathbar,z=v.pathbar.visible?v.pathbar.side.indexOf("bottom")>-1?C+I:-(O+I):0,L={x0:P,x1:P,y0:z,y1:z+O},E=function(e,t,r){var n=v.tiling.pad,a=function(e){return e-n<=t.x0},i=function(e){return e+n>=t.x1},o=function(e){return e-n<=t.y0},s=function(e){return e+n>=t.y1};return{x0:a(e.x0-n)?0:i(e.x0-n)?r[0]:e.x0,x1:a(e.x1+n)?0:i(e.x1+n)?r[0]:e.x1,y0:o(e.y0-n)?0:s(e.y0-n)?r[1]:e.y0,y1:o(e.y1+n)?0:s(e.y1+n)?r[1]:e.y1}},j=null,D={},R={},N=null,F=function(e,t){return t?D[g(e)]:R[g(e)]},B=function(e,t,r,n){if(t)return D[g(m)]||L;var a=R[v.level]||r;return function(e){return e.data.depth-y.data.depth<T}(e)?E(e,a,n):{}};d.hasMultipleRoots&&_&&T++,v._maxDepth=T,v._backgroundColor=u.paper_bgcolor,v._entryDepth=y.data.depth,v._atRootLevel=_;var H=-A/2+M.l+M.w*(S.x[1]+S.x[0])/2,V=-C/2+M.t+M.h*(1-(S.y[1]+S.y[0])/2),G=function(e){return H+e},Z=function(e){return V+e},q=Z(0),U=G(0),W=function(e){return U+e},Y=function(e){return q+e};function X(e,t){return e+","+t}var $=W(0),J=function(e){e.x=Math.max($,e.x)},K=v.pathbar.edgeshape,Q=function(e,t){var r=e.x0,n=e.x1,a=e.y0,i=e.y1,l=e.textBB,d=function(e){return-1!==v.textposition.indexOf(e)},f=d("bottom"),h=d("top")||t.isHeader&&!f?"start":f?"end":"middle",p=d("right"),g=d("left")||t.onPathbar?-1:p?1:0,m=v.marker.pad;if(t.isHeader){if((r+=m.l-o)>=(n-=m.r-o)){var y=(r+n)/2;r=y,n=y}var x;f?a<(x=i-m.b)&&x<i&&(a=x):a<(x=a+m.t)&&x<i&&(i=x)}var b=s(r,n,a,i,l,{isHorizontal:!1,constrained:!0,angle:0,anchor:h,leftToRight:g});return b.fontSize=t.fontSize,b.targetX=G(b.targetX),b.targetY=Z(b.targetY),isNaN(b.targetX)||isNaN(b.targetY)?{}:(r!==n&&a!==i&&c(v.type,b,u),{scale:b.scale,rotate:b.rotate,textX:b.textX,textY:b.textY,anchorX:b.anchorX,anchorY:b.anchorY,targetX:b.targetX,targetY:b.targetY})},ee=function(e,t){for(var r,n=0,a=e;!r&&n<T;)n++,(a=a.parent)?r=F(a,t):n=T;return r||{}},te=function(e,t,r,a){var o,s=F(e,t);if(s)o=s;else if(t)o=L;else if(j)if(e.parent){var l=N||r;l&&!t?o=E(e,l,a):(o={},i.extendFlat(o,ee(e,t)))}else o=e;else o={};return n.interpolate(o,{x0:e.x0,x1:e.x1,y0:e.y0,y1:e.y1})},re=function(e,t,r,o){var s=F(e,t),l={},d=B(e,t,r,o);i.extendFlat(l,{transform:Q({x0:d.x0,x1:d.x1,y0:d.y0,y1:d.y1,textBB:e.textBB,_text:e._text},{isHeader:a.isHeader(e,v)})}),s?l=s:e.parent&&i.extendFlat(l,ee(e,t));var f=e.transform;return e.x0!==e.x1&&e.y0!==e.y1&&c(v.type,f,u),n.interpolate(l,{transform:{scale:f.scale,rotate:f.rotate,textX:f.textX,textY:f.textY,anchorX:f.anchorX,anchorY:f.anchorY,targetX:f.targetX,targetY:f.targetY}})},ne=function(e,t,r,a,i){var o=a[0],s=a[1];k?e.exit().transition().each((function(){var e=n.select(this);e.select("path.surface").transition().attrTween("d",(function(e){var r=function(e,t,r,a){var i,o=F(e,t);if(t)i=L;else{var s=F(y,t);i=s?E(e,s,a):{}}return n.interpolate(o,i)}(e,t,0,[o,s]);return function(e){return i(r(e))}})),e.select("g.slicetext").attr("opacity",0)})).remove():e.exit().remove()},ae=function(e){var t=e.transform;return e.x0!==e.x1&&e.y0!==e.y1&&c(v.type,t,u),i.getTextTransform({textX:t.textX,textY:t.textY,anchorX:t.anchorX,anchorY:t.anchorY,targetX:t.targetX,targetY:t.targetY,scale:t.scale,rotate:t.rotate})};k&&(b.each((function(e){D[g(e)]={x0:e.x0,x1:e.x1,y0:e.y0,y1:e.y1},e.transform&&(D[g(e)].transform={textX:e.transform.textX,textY:e.transform.textY,anchorX:e.transform.anchorX,anchorY:e.transform.anchorY,targetX:e.transform.targetX,targetY:e.transform.targetY,scale:e.transform.scale,rotate:e.transform.rotate})})),w.each((function(e){R[g(e)]={x0:e.x0,x1:e.x1,y0:e.y0,y1:e.y1},e.transform&&(R[g(e)].transform={textX:e.transform.textX,textY:e.transform.textY,anchorX:e.transform.anchorX,anchorY:e.transform.anchorY,targetX:e.transform.targetX,targetY:e.transform.targetY,scale:e.transform.scale,rotate:e.transform.rotate}),!j&&a.isEntry(e)&&(j=e)}))),N=h(e,t,y,w,{width:A,height:C,viewX:G,viewY:Z,pathSlice:function(e){var t=G(e.x0),r=G(e.x1),n=Z(e.y0),a=Z(e.y1),i=r-t,o=a-n;if(!i||!o)return"";return"M"+X(t,n+0)+"L"+X(r-0,n)+"L"+X(r,a-0)+"L"+X(t+0,a)+"Z"},toMoveInsideSlice:Q,prevEntry:j,makeUpdateSliceInterpolator:te,makeUpdateTextInterpolator:re,handleSlicesExit:ne,hasTransition:k,strTransform:ae}),v.pathbar.visible?p(e,t,y,b,{barDifY:z,width:P,height:O,viewX:W,viewY:Y,pathSlice:function(e){var t=W(Math.max(Math.min(e.x0,e.x0),0)),r=W(Math.min(Math.max(e.x1,e.x1),P)),n=Y(e.y0),a=Y(e.y1),i=O/2,o={},s={};o.x=t,s.x=r,o.y=s.y=(n+a)/2;var l={x:t,y:n},c={x:r,y:n},u={x:r,y:a},d={x:t,y:a};return">"===K?(l.x-=i,c.x-=i,u.x-=i,d.x-=i):"/"===K?(u.x-=i,d.x-=i,o.x-=i/2,s.x-=i/2):"\\"===K?(l.x-=i,c.x-=i,o.x-=i/2,s.x-=i/2):"<"===K&&(o.x-=i,s.x-=i),J(l),J(d),J(o),J(c),J(u),J(s),"M"+X(l.x,l.y)+"L"+X(c.x,c.y)+"L"+X(s.x,s.y)+"L"+X(u.x,u.y)+"L"+X(d.x,d.y)+"L"+X(o.x,o.y)+"Z"},toMoveInsideSlice:Q,makeUpdateSliceInterpolator:te,makeUpdateTextInterpolator:re,handleSlicesExit:ne,hasTransition:k,strTransform:ae}):b.remove()}e.exports=function(e,t,r,i){var o,s,l=e._fullLayout,c=l._treemaplayer,f=!r;(u("treemap",l),(o=c.selectAll("g.trace.treemap").data(t,(function(e){return e[0].trace.uid}))).enter().append("g").classed("trace",!0).classed("treemap",!0),o.order(),!l.uniformtext.mode&&a.hasTransition(r))?(i&&(s=i()),n.transition().duration(r.duration).ease(r.easing).each("end",(function(){s&&s()})).each("interrupt",(function(){s&&s()})).each((function(){c.selectAll("g.trace").each((function(t){v(e,t,this,r)}))}))):(o.each((function(t){v(e,t,this,r)})),l.uniformtext.mode&&d(e,l._treemaplayer.selectAll(".trace"),"treemap"));f&&o.exit().remove()}},VNna:function(e,t,r){"use strict";var n=r("/CZE"),a=r("kn30");e.exports=function(e,t,r){function i(r,i){return void 0!==t[r]?t[r]:n.coerce(e,t,a,r,i)}var o,s=i("clickmode");return t._has("cartesian")?s.indexOf("select")>-1?o="closest":(t._isHoriz=function(e,t){for(var r=t._scatterStackOpts||{},n=0;n<e.length;n++){var a=e[n],i=a.xaxis+a.yaxis,o=(r[i]||{})[a.stackgroup]||{};if("h"!==a.orientation&&"h"!==o.orientation)return!1}return!0}(r,t),o=t._isHoriz?"y":"x"):o="closest",i("hovermode",o)}},VQYE:function(e,t,r){"use strict";(e.exports=r("OpmZ")).manager=r("I4E5")},VTo0:function(e,t,r){"use strict";var n=r("bljh"),a=r("GbLo"),i=r("g9E0"),o=r("3oHU");e.exports=function(e,t,r,s){var l=r.xaxis,c=r.yaxis,u=s&&s.duration>0;t.each((function(t){var d,f=t[0].trace,h=f.error_x||{},p=f.error_y||{};f.ids&&(d=function(e){return e.id});var g=o.hasMarkers(f)&&f.marker.maxdisplayed>0;p.visible||h.visible||(t=[]);var v=n.select(this).selectAll("g.errorbar").data(t,d);if(v.exit().remove(),t.length){h.visible||v.selectAll("path.xerror").remove(),p.visible||v.selectAll("path.yerror").remove(),v.style("opacity",1);var m=v.enter().append("g").classed("errorbar",!0);u&&m.style("opacity",0).transition().duration(s.duration).style("opacity",1),i.setClipUrl(v,r.layerClipId,e),v.each((function(e){var t=n.select(this),r=function(e,t,r){var n={x:t.c2p(e.x),y:r.c2p(e.y)};void 0!==e.yh&&(n.yh=r.c2p(e.yh),n.ys=r.c2p(e.ys),a(n.ys)||(n.noYS=!0,n.ys=r.c2p(e.ys,!0)));void 0!==e.xh&&(n.xh=t.c2p(e.xh),n.xs=t.c2p(e.xs),a(n.xs)||(n.noXS=!0,n.xs=t.c2p(e.xs,!0)));return n}(e,l,c);if(!g||e.vis){var i,o=t.select("path.yerror");if(p.visible&&a(r.x)&&a(r.yh)&&a(r.ys)){var d=p.width;i="M"+(r.x-d)+","+r.yh+"h"+2*d+"m-"+d+",0V"+r.ys,r.noYS||(i+="m-"+d+",0h"+2*d),!o.size()?o=t.append("path").style("vector-effect","non-scaling-stroke").classed("yerror",!0):u&&(o=o.transition().duration(s.duration).ease(s.easing)),o.attr("d",i)}else o.remove();var f=t.select("path.xerror");if(h.visible&&a(r.y)&&a(r.xh)&&a(r.xs)){var v=(h.copy_ystyle?p:h).width;i="M"+r.xh+","+(r.y-v)+"v"+2*v+"m0,-"+v+"H"+r.xs,r.noXS||(i+="m0,-"+v+"v"+2*v),!f.size()?f=t.append("path").style("vector-effect","non-scaling-stroke").classed("xerror",!0):u&&(f=f.transition().duration(s.duration).ease(s.easing)),f.attr("d",i)}else f.remove()}}))}}))}},VWeM:function(e,t,r){"use strict";e.exports=function(e){for(var t={},r=[],n=0,a=0;a<e.length;a++){var i=e[a];1!==t[i]&&(t[i]=1,r[n++]=i)}return r}},VeuS:function(e,t,r){"use strict";e.exports={eventDataKeys:["initial","delta","final"]}},Vmth:function(e,t,r){"use strict";var n=r("03k1");r.n(n).a},Vn7P:function(e,t,r){"use strict";var n=r("/CZE"),a=r("BkK/"),i=r("5azm"),o=r("pcxQ"),s=r("/cea");function l(e,t,r){function i(r,a){return n.coerce(e,t,o,r,a)}if(i("visible")){var l=i("path"),c=i("type",l?"path":"rect");"path"!==t.type&&delete t.path,i("editable"),i("layer"),i("opacity"),i("fillcolor"),i("fillrule"),i("line.width")&&(i("line.color"),i("line.dash"));for(var u=i("xsizemode"),d=i("ysizemode"),f=["x","y"],h=0;h<2;h++){var p,g,v,m=f[h],y=m+"anchor",x="x"===m?u:d,b={_fullLayout:r},w=a.coerceRef(e,t,b,m,"","paper");if("paper"!==w?((p=a.getFromId(b,w))._shapeIndices.push(t._index),v=s.rangeToShapePosition(p),g=s.shapePositionToRange(p)):g=v=n.identity,"path"!==c){var _=m+"0",k=m+"1",T=e[_],M=e[k];e[_]=g(e[_],!0),e[k]=g(e[k],!0),"pixel"===x?(i(_,0),i(k,10)):(a.coercePosition(t,b,i,w,_,.25),a.coercePosition(t,b,i,w,k,.75)),t[_]=v(t[_]),t[k]=v(t[k]),e[_]=T,e[k]=M}if("pixel"===x){var S=e[y];e[y]=g(e[y],!0),a.coercePosition(t,b,i,w,y,.25),t[y]=v(t[y]),e[y]=S}}"path"===c?i("path"):n.noneOrAll(e,t,["x0","x1","y0","y1"])}}e.exports=function(e,t){i(e,t,{name:"shapes",handleItemDefaults:l})}},VrRz:function(e,t,r){"use strict";var n=r("/CZE"),a=r("eNjM");e.exports=function(e,t){function r(r,i){return n.coerce(e,t,a,r,i)}r("hiddenlabels"),r("piecolorway",t.colorway),r("extendpiecolors")}},VvME:function(e,t,r){"use strict";var n=r("lNV6").hovertemplateAttrs,a=r("lNV6").texttemplateAttrs,i=r("EHyX"),o=r("qHYo"),s=r("9Okp"),l=r("21T9").dash,c=r("kJIm").extendFlat,u=r("yzSc").overrideAll,d=i.marker,f=i.line,h=d.line;e.exports=u({lon:{valType:"data_array",description:"Sets the longitude coordinates (in degrees East)."},lat:{valType:"data_array",description:"Sets the latitude coordinates (in degrees North)."},locations:{valType:"data_array",description:["Sets the coordinates via location IDs or names.","Coordinates correspond to the centroid of each location given.","See `locationmode` for more info."].join(" ")},locationmode:{valType:"enumerated",values:["ISO-3","USA-states","country names","geojson-id"],role:"info",dflt:"ISO-3",description:["Determines the set of locations used to match entries in `locations`","to regions on the map.","Values *ISO-3*, *USA-states*, *country names* correspond to features on","the base map and value *geojson-id* corresponds to features from a custom","GeoJSON linked to the `geojson` attribute."].join(" ")},geojson:{valType:"any",role:"info",editType:"calc",description:["Sets optional GeoJSON data associated with this trace.","If not given, the features on the base map are used when `locations` is set.","It can be set as a valid GeoJSON object or as a URL string.","Note that we only accept GeoJSONs of type *FeatureCollection* or *Feature*","with geometries of type *Polygon* or *MultiPolygon*."].join(" ")},featureidkey:{valType:"string",role:"info",editType:"calc",dflt:"id",description:["Sets the key in GeoJSON features which is used as id to match the items","included in the `locations` array.","Only has an effect when `geojson` is set.","Support nested property, for example *properties.name*."].join(" ")},mode:c({},i.mode,{dflt:"markers"}),text:c({},i.text,{description:["Sets text elements associated with each (lon,lat) pair","or item in `locations`.","If a single string, the same string appears over","all the data points.","If an array of string, the items are mapped in order to the","this trace's (lon,lat) or `locations` coordinates.","If trace `hoverinfo` contains a *text* flag and *hovertext* is not set,","these elements will be seen in the hover labels."].join(" ")}),texttemplate:a({editType:"plot"},{keys:["lat","lon","location","text"]}),hovertext:c({},i.hovertext,{description:["Sets hover text elements associated with each (lon,lat) pair","or item in `locations`.","If a single string, the same string appears over","all the data points.","If an array of string, the items are mapped in order to the","this trace's (lon,lat) or `locations` coordinates.","To be seen, trace `hoverinfo` must contain a *text* flag."].join(" ")}),textfont:i.textfont,textposition:i.textposition,line:{color:f.color,width:f.width,dash:l},connectgaps:i.connectgaps,marker:c({symbol:d.symbol,opacity:d.opacity,size:d.size,sizeref:d.sizeref,sizemin:d.sizemin,sizemode:d.sizemode,colorbar:d.colorbar,line:c({width:h.width},s("marker.line")),gradient:d.gradient},s("marker")),fill:{valType:"enumerated",values:["none","toself"],dflt:"none",role:"style",description:["Sets the area to fill with a solid color.","Use with `fillcolor` if not *none*.","*toself* connects the endpoints of the trace (or each segment","of the trace if it has gaps) into a closed shape."].join(" ")},fillcolor:i.fillcolor,selected:i.selected,unselected:i.unselected,hoverinfo:c({},o.hoverinfo,{flags:["lon","lat","location","text","name"]}),hovertemplate:n()},"calc","nested")},"W+yT":function(e,t,r){"use strict";e.exports=function(e,t){return e.x="xVal"in t?t.xVal:t.x,e.y="yVal"in t?t.yVal:t.y,"initial"in t&&(e.initial=t.initial),"delta"in t&&(e.delta=t.delta),"final"in t&&(e.final=t.final),t.xa&&(e.xaxis=t.xa),t.ya&&(e.yaxis=t.ya),e}},W0H3:function(e,t,r){"use strict";t.version="1.54.5"},W2jp:function(e,t,r){"use strict";e.exports={mode:{valType:"enumerated",dflt:"afterall",role:"info",values:["immediate","next","afterall"],description:["Describes how a new animate call interacts with currently-running","animations. If `immediate`, current animations are interrupted and","the new animation is started. If `next`, the current frame is allowed","to complete, after which the new animation is started. If `afterall`","all existing frames are animated to completion before the new animation","is started."].join(" ")},direction:{valType:"enumerated",role:"info",values:["forward","reverse"],dflt:"forward",description:["The direction in which to play the frames triggered by the animation call"].join(" ")},fromcurrent:{valType:"boolean",dflt:!1,role:"info",description:["Play frames starting at the current frame instead of the beginning."].join(" ")},frame:{duration:{valType:"number",role:"info",min:0,dflt:500,description:["The duration in milliseconds of each frame. If greater than the frame","duration, it will be limited to the frame duration."].join(" ")},redraw:{valType:"boolean",role:"info",dflt:!0,description:["Redraw the plot at completion of the transition. This is desirable","for transitions that include properties that cannot be transitioned,","but may significantly slow down updates that do not require a full","redraw of the plot"].join(" ")}},transition:{duration:{valType:"number",role:"info",min:0,dflt:500,editType:"none",description:["The duration of the transition, in milliseconds. If equal to zero,","updates are synchronous."].join(" ")},easing:{valType:"enumerated",dflt:"cubic-in-out",values:["linear","quad","cubic","sin","exp","circle","elastic","back","bounce","linear-in","quad-in","cubic-in","sin-in","exp-in","circle-in","elastic-in","back-in","bounce-in","linear-out","quad-out","cubic-out","sin-out","exp-out","circle-out","elastic-out","back-out","bounce-out","linear-in-out","quad-in-out","cubic-in-out","sin-in-out","exp-in-out","circle-in-out","elastic-in-out","back-in-out","bounce-in-out"],role:"info",editType:"none",description:"The easing function used for the transition"},ordering:{valType:"enumerated",values:["layout first","traces first"],dflt:"layout first",role:"info",editType:"none",description:["Determines whether the figure's layout or traces smoothly transitions","during updates that make both traces and layout change."].join(" ")}}}},WEQY:function(e,t,r){"use strict";e.exports={_isSubplotObj:!0,rangemode:{valType:"enumerated",values:["auto","fixed","match"],dflt:"match",role:"style",editType:"calc",description:["Determines whether or not the range of this axis in","the rangeslider use the same value than in the main plot","when zooming in/out.","If *auto*, the autorange will be used.","If *fixed*, the `range` is used.","If *match*, the current range of the corresponding y-axis on the main subplot is used."].join(" ")},range:{valType:"info_array",role:"style",items:[{valType:"any",editType:"plot"},{valType:"any",editType:"plot"}],editType:"plot",description:["Sets the range of this axis for the rangeslider."].join(" ")},editType:"calc"}},WRPy:function(e,t,r){"use strict";var n=r("6AZA"),a=n.ONEAVGYEAR,i=n.ONEAVGMONTH,o=n.ONEDAY,s=n.ONEHOUR,l=n.ONEMIN,c=n.ONESEC,u=r("BkK/").tickIncrement;function d(e,t,r,n){if(e*t<=0)return 1/0;for(var a=Math.abs(t-e),i="date"===r.type,o=f(a,i),s=0;s<10;s++){var l=f(80*o,i);if(o===l)break;if(!h(l,e,t,i,r,n))break;o=l}return o}function f(e,t){return t&&e>c?e>o?e>1.1*a?a:e>1.1*i?i:o:e>s?s:e>l?l:c:Math.pow(10,Math.floor(Math.log(e)/Math.LN10))}function h(e,t,r,n,i,s){if(n&&e>o){var l=p(t,i,s),c=p(r,i,s),u=e===a?0:1;return l[u]!==c[u]}return Math.floor(r/e)-Math.floor(t/e)>.1}function p(e,t,r){var n=t.c2d(e,a,r).split("-");return""===n[0]&&(n.unshift(),n[0]="-"+n[0]),n}e.exports=function(e,t,r,n,i){var s,l,c=-1.1*t,f=-.1*t,h=e-f,p=r[0],g=r[1],v=Math.min(d(p+f,p+h,n,i),d(g+f,g+h,n,i)),m=Math.min(d(p+c,p+f,n,i),d(g+c,g+f,n,i));if(v>m&&m<Math.abs(g-p)/4e3?(s=v,l=!1):(s=Math.min(v,m),l=!0),"date"===n.type&&s>o){var y=s===a?1:6,x=s===a?"M12":"M1";return function(t,r){var o=n.c2d(t,a,i),s=o.indexOf("-",y);s>0&&(o=o.substr(0,s));var c=n.d2c(o,0,i);if(c<t){var d=u(c,x,!1,i);(c+d)/2<t+e&&(c=d)}return r&&l?u(c,x,!0,i):c}}return function(t,r){var n=s*Math.round(t/s);return n+s/10<t&&n+.9*s<t+e&&(n+=s),r&&l&&(n-=s),n}}},WSjQ:function(e,t){e.exports=function(e,t){var r=t[0],n=t[1],a=t[2],i=t[3],o=r+r,s=n+n,l=a+a,c=r*o,u=n*o,d=n*s,f=a*o,h=a*s,p=a*l,g=i*o,v=i*s,m=i*l;return e[0]=1-d-p,e[1]=u+m,e[2]=f-v,e[3]=0,e[4]=u-m,e[5]=1-c-p,e[6]=h+g,e[7]=0,e[8]=f+v,e[9]=h-g,e[10]=1-c-d,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}},Wb4T:function(e,t,r){"use strict";var n=r("/CZE").isArrayOrTypedArray,a=r("IVx0").hasColorscale,i=r("QYPY");e.exports=function(e,t,r,o,s,l){var c=(e.marker||{}).color;(s("line.color",r),a(e,"line"))?i(e,t,o,s,{prefix:"line.",cLetter:"c"}):s("line.color",!n(c)&&c||r);s("line.width"),(l||{}).noDash||s("line.dash")}},WeBh:function(e,t,r){"use strict";var n=r("/CZE");t.formatPiePercent=function(e,t){var r=(100*e).toPrecision(3);return-1!==r.lastIndexOf(".")&&(r=r.replace(/[.]?0+$/,"")),n.numSeparate(r,t)+"%"},t.formatPieValue=function(e,t){var r=e.toPrecision(10);return-1!==r.lastIndexOf(".")&&(r=r.replace(/[.]?0+$/,"")),n.numSeparate(r,t)},t.getFirstFilled=function(e,t){if(Array.isArray(e))for(var r=0;r<t.length;r++){var n=e[t[r]];if(n||0===n||""===n)return n}},t.castOption=function(e,r){return Array.isArray(e)?t.getFirstFilled(e,r):e||void 0}},Wh6P:function(e,t,r){"use strict";var n=r("bljh"),a=r("0RW4"),i=r("qTWP");e.exports=function(e,t,r){var o,s,l,c,u=e.node(),d=i[r.arrowhead||0],f=i[r.startarrowhead||0],h=(r.arrowwidth||1)*(r.arrowsize||1),p=(r.arrowwidth||1)*(r.startarrowsize||1),g=t.indexOf("start")>=0,v=t.indexOf("end")>=0,m=d.backoff*h+r.standoff,y=f.backoff*p+r.startstandoff;if("line"===u.nodeName){o={x:+e.attr("x1"),y:+e.attr("y1")},s={x:+e.attr("x2"),y:+e.attr("y2")};var x=o.x-s.x,b=o.y-s.y;if(c=(l=Math.atan2(b,x))+Math.PI,m&&y&&m+y>Math.sqrt(x*x+b*b))return void I();if(m){if(m*m>x*x+b*b)return void I();var w=m*Math.cos(l),_=m*Math.sin(l);s.x+=w,s.y+=_,e.attr({x2:s.x,y2:s.y})}if(y){if(y*y>x*x+b*b)return void I();var k=y*Math.cos(l),T=y*Math.sin(l);o.x-=k,o.y-=T,e.attr({x1:o.x,y1:o.y})}}else if("path"===u.nodeName){var M=u.getTotalLength(),S="";if(M<m+y)return void I();var A=u.getPointAtLength(0),C=u.getPointAtLength(.1);l=Math.atan2(A.y-C.y,A.x-C.x),o=u.getPointAtLength(Math.min(y,M)),S="0px,"+y+"px,";var P=u.getPointAtLength(M),O=u.getPointAtLength(M-.1);c=Math.atan2(P.y-O.y,P.x-O.x),s=u.getPointAtLength(Math.max(0,M-m)),S+=M-(S?y+m:m)+"px,"+M+"px",e.style("stroke-dasharray",S)}function I(){e.style("stroke-dasharray","0px,100px")}function z(t,i,o,s){t.path&&(t.noRotate&&(o=0),n.select(u.parentNode).append("path").attr({class:e.attr("class"),d:t.path,transform:"translate("+i.x+","+i.y+")"+(o?"rotate("+180*o/Math.PI+")":"")+"scale("+s+")"}).style({fill:a.rgb(r.arrowcolor),"stroke-width":0}))}g&&z(f,o,l,p),v&&z(d,s,c,h)}},Whu6:function(e,t,r){"use strict";e.exports=function(e,t){if(t instanceof RegExp){for(var r=t.toString(),n=0;n<e.length;n++)if(e[n]instanceof RegExp&&e[n].toString()===r)return e;e.push(t)}else!t&&0!==t||-1!==e.indexOf(t)||e.push(t);return e}},"WtF/":function(e,t,r){"use strict";e.exports={calc:function(e,t){var r=[],n=t.value;"number"!=typeof t._lastValue&&(t._lastValue=t.value);var a=t._lastValue,i=a;return t._hasDelta&&"number"==typeof t.delta.reference&&(i=t.delta.reference),r[0]={y:n,lastY:a,delta:n-i,relativeDelta:(n-i)/i},r}}},"X+uo":function(e,t,r){"use strict";var n=r("f1Te");r.n(n).a},X1yo:function(e,t,r){var n=r("l0fd");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("21dc68fa",n,!0,{})},X7BS:function(e,t,r){"use strict";var n=r("SI4F");r.n(n).a},XCIs:function(e,t,r){var n=r("/J0I");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("1e593a11",n,!0,{})},"Xe/Q":function(e,t,r){"use strict";var n=r("dNZO"),a=/^\w*$/;e.exports=function(e,t,r,i){var o,s,l;r=r||"name",i=i||"value";var c={};t&&t.length?(l=n(e,t),s=l.get()):s=e,t=t||"";var u={};if(s)for(o=0;o<s.length;o++)u[s[o][r]]=o;var d=a.test(i),f={set:function(e,t){var a=null===t?4:0;if(!s){if(!l||4===a)return;s=[],l.set(s)}var o=u[e];if(void 0===o){if(4===a)return;a|=3,o=s.length,u[e]=o}else t!==(d?s[o][i]:n(s[o],i).get())&&(a|=2);var h=s[o]=s[o]||{};return h[r]=e,d?h[i]=t:n(h,i).set(t),null!==t&&(a&=-5),c[o]=c[o]|a,f},get:function(e){if(s){var t=u[e];return void 0===t?void 0:d?s[t][i]:n(s[t],i).get()}},rename:function(e,t){var n=u[e];return void 0===n||(c[n]=1|c[n],u[t]=n,delete u[e],s[n][r]=t),f},remove:function(e){var t=u[e];if(void 0===t)return f;var a=s[t];if(Object.keys(a).length>2)return c[t]=2|c[t],f.set(e,null);if(d){for(o=t;o<s.length;o++)c[o]=3|c[o];for(o=t;o<s.length;o++)u[s[o][r]]--;s.splice(t,1),delete u[e]}else n(a,i).set(null),c[t]=6|c[t];return f},constructUpdate:function(){for(var e,a,o={},l=Object.keys(c),u=0;u<l.length;u++)a=l[u],e=t+"["+a+"]",s[a]?(1&c[a]&&(o[e+"."+r]=s[a][r]),2&c[a]&&(o[e+"."+i]=d?4&c[a]?null:s[a][i]:4&c[a]?null:n(s[a],i).get())):o[e]=null;return o}};return f}},"Xo+u":function(e,t,r){"use strict";var n=r("3oHU");e.exports={hasLines:n.hasLines,hasMarkers:n.hasMarkers,hasText:n.hasText,isBubble:n.isBubble,attributes:r("EHyX"),supplyDefaults:r("DrdO"),crossTraceDefaults:r("AySM"),calc:r("cLT0").calc,crossTraceCalc:r("QySe"),arraysToCalcdata:r("EGun"),plot:r("8RjX"),colorbar:r("88/Y"),formatLabels:r("fpYS"),style:r("UuhF").style,styleOnSelect:r("UuhF").styleOnSelect,hoverPoints:r("ORvi"),selectPoints:r("IUxZ"),animatable:!0,moduleType:"trace",name:"scatter",basePlotModule:r("kc20"),categories:["cartesian","svg","symbols","errorBarsOK","showLegend","scatter-like","zoomScale"],meta:{description:["The scatter trace type encompasses line charts, scatter charts, text charts, and bubble charts.","The data visualized as scatter point or lines is set in `x` and `y`.","Text (appearing either on the chart or on hover only) is via `text`.","Bubble charts are achieved by setting `marker.size` and/or `marker.color`","to numerical arrays."].join(" ")}}},Y9zF:function(e,t,r){"use strict";e.exports={FROM_BL:{left:0,center:.5,right:1,bottom:0,middle:.5,top:1},FROM_TL:{left:0,center:.5,right:1,bottom:1,middle:.5,top:0},FROM_BR:{left:1,center:.5,right:0,bottom:0,middle:.5,top:1},LINE_SPACING:1.3,CAP_SHIFT:.7,MID_SHIFT:.35,OPPOSITE_SIDE:{left:"right",right:"left",top:"bottom",bottom:"top"}}},YCND:function(e,t,r){(t=r("JPst")(!1)).push([e.i,".spinner[data-v-234ece92]{position:relative}.spinner *[data-v-234ece92]{line-height:0;box-sizing:border-box}.spinner .diamond[data-v-234ece92]{position:absolute;left:0;top:0;border-radius:2px;background:#41b883;transform:translateX(-50%) rotate(45deg) scale(0);animation:diamonds-data-v-234ece92 1500ms linear infinite}.spinner .diamond[data-v-234ece92]:nth-child(1){animation-delay:-1000ms}.spinner .diamond[data-v-234ece92]:nth-child(2){animation-delay:-2000ms}.spinner .diamond[data-v-234ece92]:nth-child(3){animation-delay:-3000ms}.spinner .diamond[data-v-234ece92]:nth-child(4){animation-delay:-4000ms}@keyframes diamonds-data-v-234ece92{50%{left:50%;transform:translateX(-50%) rotate(45deg) scale(1)}100%{left:100%;transform:translateX(-50%) rotate(45deg) scale(0)}}\n",""]),e.exports=t},YXRs:function(e,t,r){"use strict";var n=r("GbLo"),a=r("9rBw");e.exports=function(e,t,r,i){t=t||{};var o="log"===r&&"linear"===t.type,s="linear"===r&&"log"===t.type;if(o||s)for(var l,c,u=e._fullLayout.images,d=t._id.charAt(0),f=0;f<u.length;f++)if(c="images["+f+"].",(l=u[f])[d+"ref"]===t._id){var h=l[d],p=l["size"+d],g=null,v=null;if(o){g=a(h,t.range);var m=p/Math.pow(10,g)/2;v=2*Math.log(m+Math.sqrt(1+m*m))/Math.LN10}else v=(g=Math.pow(10,h))*(Math.pow(10,p/2)-Math.pow(10,-p/2));n(g)?n(v)||(v=null):(g=null,v=null),i(c+d,g),i(c+"size"+d,v)}}},"Z/2+":function(e,t,r){var n=r("uvNv");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("5f4d478a",n,!0,{})},Z8TU:function(e,t,r){"use strict";var n=r("15jM"),a=r("mEVB"),i=r("kJIm").extendFlat,o=r("yzSc").overrideAll;e.exports=o({thicknessmode:{valType:"enumerated",values:["fraction","pixels"],role:"style",dflt:"pixels",description:["Determines whether this color bar's thickness","(i.e. the measure in the constant color direction)","is set in units of plot *fraction* or in *pixels*.","Use `thickness` to set the value."].join(" ")},thickness:{valType:"number",role:"style",min:0,dflt:30,description:["Sets the thickness of the color bar","This measure excludes the size of the padding, ticks and labels."].join(" ")},lenmode:{valType:"enumerated",values:["fraction","pixels"],role:"info",dflt:"fraction",description:["Determines whether this color bar's length","(i.e. the measure in the color variation direction)","is set in units of plot *fraction* or in *pixels.","Use `len` to set the value."].join(" ")},len:{valType:"number",min:0,dflt:1,role:"style",description:["Sets the length of the color bar","This measure excludes the padding of both ends.","That is, the color bar length is this length minus the","padding on both ends."].join(" ")},x:{valType:"number",dflt:1.02,min:-2,max:3,role:"style",description:["Sets the x position of the color bar (in plot fraction)."].join(" ")},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left",role:"style",description:["Sets this color bar's horizontal position anchor.","This anchor binds the `x` position to the *left*, *center*","or *right* of the color bar."].join(" ")},xpad:{valType:"number",role:"style",min:0,dflt:10,description:"Sets the amount of padding (in px) along the x direction."},y:{valType:"number",role:"style",dflt:.5,min:-2,max:3,description:["Sets the y position of the color bar (in plot fraction)."].join(" ")},yanchor:{valType:"enumerated",values:["top","middle","bottom"],role:"style",dflt:"middle",description:["Sets this color bar's vertical position anchor","This anchor binds the `y` position to the *top*, *middle*","or *bottom* of the color bar."].join(" ")},ypad:{valType:"number",role:"style",min:0,dflt:10,description:"Sets the amount of padding (in px) along the y direction."},outlinecolor:n.linecolor,outlinewidth:n.linewidth,bordercolor:n.linecolor,borderwidth:{valType:"number",role:"style",min:0,dflt:0,description:["Sets the width (in px) or the border enclosing this color bar."].join(" ")},bgcolor:{valType:"color",role:"style",dflt:"rgba(0,0,0,0)",description:"Sets the color of padded area."},tickmode:n.tickmode,nticks:n.nticks,tick0:n.tick0,dtick:n.dtick,tickvals:n.tickvals,ticktext:n.ticktext,ticks:i({},n.ticks,{dflt:""}),ticklen:n.ticklen,tickwidth:n.tickwidth,tickcolor:n.tickcolor,showticklabels:n.showticklabels,tickfont:a({description:"Sets the color bar's tick label font"}),tickangle:n.tickangle,tickformat:n.tickformat,tickformatstops:n.tickformatstops,tickprefix:n.tickprefix,showtickprefix:n.showtickprefix,ticksuffix:n.ticksuffix,showticksuffix:n.showticksuffix,separatethousands:n.separatethousands,exponentformat:n.exponentformat,showexponent:n.showexponent,title:{text:{valType:"string",role:"info",description:["Sets the title of the color bar.","Note that before the existence of `title.text`, the title's","contents used to be defined as the `title` attribute itself.","This behavior has been deprecated."].join(" ")},font:a({description:["Sets this color bar's title font.","Note that the title's font used to be set","by the now deprecated `titlefont` attribute."].join(" ")}),side:{valType:"enumerated",values:["right","top","bottom"],role:"style",dflt:"top",description:["Determines the location of color bar's title","with respect to the color bar.","Note that the title's location used to be set","by the now deprecated `titleside` attribute."].join(" ")}},_deprecated:{title:{valType:"string",role:"info",description:["Deprecated in favor of color bar's `title.text`.","Note that value of color bar's `title` is no longer a simple","*string* but a set of sub-attributes."].join(" ")},titlefont:a({description:"Deprecated in favor of color bar's `title.font`."}),titleside:{valType:"enumerated",values:["right","top","bottom"],role:"style",dflt:"top",description:"Deprecated in favor of color bar's `title.side`."}}},"colorbars","from-root")},ZDyq:function(e,t,r){"use strict";var n=r("u3HJ");t.name="indicator",t.plot=function(e,r,a,i){n.plotBasePlot(t.name,e,r,a,i)},t.clean=function(e,r,a,i){n.cleanBasePlot(t.name,e,r,a,i)}},ZeYI:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r("Ov3g"),a=r.n(n);const i={data:()=>({graphConf:{Geo:{},Column:{name:"column",type:"bar",barmode:"group"},Line:{name:"line",type:"scatter",mode:"lines"},Scatter:{name:"scatter",type:"scatter",mode:"markers"},Pie:{name:"pie",type:"pie",hole:0},Donut:{name:"donut",type:"pie",hole:.4},StackedBar:{name:"stackedbar",type:"bar",barmode:"stack"},Bar:{name:"bar",type:"bar",orientation:"h"},HorizontalStackedBar:{name:"horizontalStackedbar",type:"bar",orientation:"h",barmode:"stack"},Bubble:{name:"bubble",mode:"markers"},StackedArea:{name:"stackedarea",stackgroup:"one"},Gauge:{name:"gauge"}},icon:{width:1e3,path:"m214-7h429v214h-429v-214z m500 0h72v500q0 8-6 21t-11 20l-157 156q-5 6-19 12t-22 5v-232q0-22-15-38t-38-16h-322q-22 0-37 16t-16 38v232h-72v-714h72v232q0 22 16 38t37 16h465q22 0 38-16t15-38v-232z m-214 518v178q0 8-5 13t-13 5h-107q-7 0-13-5t-5-13v-178q0-8 5-13t13-5h107q7 0 13 5t5 13z m357-18v-518q0-22-15-38t-38-16h-750q-23 0-38 16t-16 38v750q0 22 16 38t38 16h517q23 0 50-12t42-26l156-157q16-15 27-42t11-49z",ascent:850,descent:-150},back:{width:1e3,path:"m375 725l0 0-375-375 375-374 0-1 1125 0 0 750-1125 0z",ascent:850,descent:-150,color:"#000000"},drillLabels:[{text:"All",depth:0,node:{},points:"0,0 33,0 43,8.5 33,17 0,17",x:"16.5",y:"8.5",width:"43"}],graphSettings:{showCurrency:!1,showSearch:!1,showlegends:!0,showpointlabels:!1,reporttitle:"",isComparison:!1,desiredValueTendency:"incr",legendorientation:"v",legendposition:{x:1,y:1,anchor:"left"}},axesprops:{showmultiaxes:!1,showxzeroline:!1,showxgridline:!1,autotick:!1},measureprops:{tracetype:"",showmeasure:!0,selectedMeasureIndex:0,ismeasurepropsapplied:!1,layout:{},color:"",showygridline:!1,showyzeroline:!1}}),computed:{},methods:{getTotals:function(e,t,r){var n=new Array,a=0,i=[],o=[];for(meas in r)o.push(r[meas].AggFunction),i.push(r[meas].Format);n[0]="Grand Total or Average";for(var s=t;s<e[0].length;s++){a=0;for(var l=1;l<e.length;l++)a+=parseFloat(e[l][s]);"Average"==o[s-t]||"avg"==o[s-t]?a/=e.length:"Minimum"==o[s-t]||"Min"==o[s-t]?a=this.getMinMaxValues(s,e,"min"):"Maximum"!=o[s-t]&&"Max"!=o[s-t]||(a=this.getMinMaxValues(s,e,"max")),n[s]=a}return n},getMinMaxValues:function(e,t,r){for(var n=[],a=1;a<t.length;a++)n.push(t[a][e]);var i=Math.max.apply(Math,n),o=Math.min.apply(Math,n);return"min"==r?o:"max"==r?i:void 0},drawPlotlyCharts:function(e,t,r,n,a,i,o,s){if(null==i)i={showCurrency:!1,showSearch:!1,showlegends:!0,showpointlabels:!1,reporttitle:"",isComparison:!1,desiredValueTendency:"incr",legendorientation:"v",legendposition:{x:1,y:1,anchor:"left"}};if(null==s)s={showmultiaxes:!1,showxzeroline:!1,showxgridline:!1,autotick:!1};if(null==o||""==o)o={tracetype:"",showmeasure:!0,selectedMeasureIndex:0,ismeasurepropsapplied:!1,layout:{},color:"",showygridline:!1,showyzeroline:!1};if("DataTable"!=a){var l={RD:{}};l.RD.General={};var c=makeJsonFromArrayNew(t,r,n,"",l);makeParentsJson(c),this.plotCharts(a,e,c,n,this.graphConf[a],i,o,s)}},plotCharts:function(e,t,r,n,a,i,o,s){"HorizontalStackedBar"==e||"Column"==e||"Bar"==e||"Scatter"==e||"StackedBar"==e||"Bubble"==e||"StackedArea"==e?this.drawPlotlyChart(t,r,n,this.graphConf[e],i,o,s):"Waterfall"==e?this.drawPlotlyWaterFallChart(t,r,n,"waterfall",i,o,s):"Line"==e?this.drawPlotlyLineChart(t,r,n,this.graphConf[e],i,o,s):"HVLine"==e?this.drawPlotlyHVLineChart(t,r,n,this.graphConf[e],i,o,s):"Pie"==e||"Donut"==e?this.drawPlotlyPieChart(t,r,this.graphConf[e],n,i,o,s):"Sunburst"==e?this.drawPlotlySunburstChart(t,r,"sunburst",n,i,o,s):"Treemap"==e?this.drawPlotlyTreemap(t,r,"Treemap",n,i,o,s):"Funnel"==e?this.drawPlotlyFunnelChart(t,r,n,"funnel",i,o,s):"StackedFunnel"==e?this.drawPlotlyStackedFunnelChart(t,r,n,"stackedfunnel",i,o,s):"Heatmap"==e?this.drawPlotlyHeatChart(t,r,"heatmap",n,i,o,s):"Radar"==e?this.drawPlotlyRadarChart(t,r,n,"scatterpolar",i,o,s):"Gauge"==e?this.drawPlotlyGaugeChart(t,r,this.graphConf[e],n):"Geo"==e&&this.drawPlotlyGeoChart(t,r,this.graphConf[e],n,i,o,s)},drawPlotlyChart:function(e,t,r,n,i,o,s){var l,c=document.getElementById(e),u=t,d=[],f=0;function h(e){var t=new Array;for(y=0;y<u.children.length;y++)t.push(u.children[y].name);return t}function p(e){var t=new Array;for(l=0;l<u.children.length;l++)t.push(u.children[l].size[e]);return t}function g(e){return u.measName[e]}for(u.parent?u.parent:u;f<r;)d[f]={orientation:n.orientation,x:"h"==n.orientation?p(f):h(),y:"h"==n.orientation?h():p(f),yaxis:1==s.showmultiaxes&&0!=f?"y"+(f+1):"",name:g(f),mode:n.mode,type:null!=o&&null!=o.layout[f]&&1==o.layout[f].ismeasurepropsapplied&&""!=o.layout[f].tracetype?o.layout[f].tracetype:n.type,text:"h"==n.orientation?h().map(String):p(f).map(String),textposition:1==i.showpointlabels?"auto":"none",line:{color:null!=o&&null!=o.layout[f]?o.layout[f].color:""},marker:"bubble"==n.name?{size:this.getMarkerSize(p(f)),opacity:.9,color:this.getRandomLightColorCodes(p(f).length)}:{color:null!=o&&null!=o.layout[f]?o.layout[f].color:""},stackgroup:"stackedarea"==n.name?g(f):""},f++;var v={autosize:!0,barmode:n.barmode,hovermode:"closest",yaxis:{autotick:!0,automargin:!0,showgrid:null==o||null==o.layout[f]||o.layout[0].showygridline,zeroline:null!=o&&null!=o.layout[f]&&o.layout[0].showyzeroline},xaxis:{autotick:null!=s&&s.autotick,automargin:!0,title:u.children[0].dimName,showgrid:null!=s&&s.showxgridline,zeroline:null!=s&&s.showxzeroline},margin:{t:20,l:20},showlegend:i.showlegends,legend:{orientation:"h"==i.legendorientation?"h":"v",x:i.legendposition?i.legendposition.x:1,xanchor:i.legendposition?i.legendposition.anchor:"left",y:i.legendposition?i.legendposition.y:1}};if(s.showmultiaxes){var m=.1;r>=10&&(m=.05);for(var y=0;y<r-1;y++){var x={title:g(y+1),overlaying:"y",showgrid:null!=o&&null!=o.layout[y+1]&&o.layout[y+1].showygridline,zeroline:null!=o&&null!=o.layout[y+1]&&o.layout[y+1].showyzeroline,gridcolor:"#bdbdbd",gridwidth:2,showline:!0,zerolinecolor:"#969696",zerolinewidth:4,side:"left",position:(r-(y+1))*m};v["yaxis"+(y+2)]=x}var b={autotick:null!=s&&s.autotick,automargin:!0,domain:[m*r,1],showgrid:null!=s&&s.showxgridline,zeroline:null!=s&&s.showxzeroline};v.xaxis=b}"bar"!=n.name&&"horizontalStackedbar"!=n.name||(v.xaxis.autotick=!0,v.yaxis.autotick=!1),a.a.newPlot(e,d,v,{displaylogo:!1,responsive:!0});var w=this;c.on("plotly_click",(function(t){var a,l="h"==n.orientation?t.points[0].y:t.points[0].x,c=u.children,d=new Array;for(a=0;a<c.length;a++)l==c[a].name&&(d=c[a]);var f={h:17,t:10},h=new Array;h[-1]=0,h[0]=33;var p=w.breadcrumbPoints(d.name,d.depth,f,h,0),g=p.split(",")[2].split(" ")[1];d.children?w.drillLabels.push({text:d.name,depth:d.depth,node:d,points:p,x:0+h[d.depth]/2+f.t*d.depth,y:f.h/2,width:g}):(w.$store.commit("setSnackbarStatus",!0),w.$store.commit("setSnackbarCode","INVALID_DIMENSIONS")),w.drawPlotlyChart(e,d,r,n,i,o,s)}))},breadcrumbPoints:function(e,t,r,n,a){var i=[];return n[t]=6*e.replace("'","'").length+15,a+=n[t],i.push(a-n[t]+r.t*t+",0"),i.push(a+r.t*t+",0"),i.push(r.t*(t+1)+a+","+r.h/2),i.push(a+r.t*t+","+r.h),i.push(r.t*t+(t?a-n[t]:0)+","+r.h),t>0&&i.push(r.t+r.t*t+(t?a-n[t]:0)+","+r.h/2),i.join(" ")},plotAnyChart:function(e,t,r,n,a,i,o,s,l){null==o&&(o=this.graphSettings),null==l&&(l=this.axesprops),null==s&&(s=this.measureprops);var c=this.graphConf[i],u=r,d=new Array;t==u.depth?d=u:(json1=json1.parent,this.plotAnyChart(e,t)),this.plotCharts(i,n,d,a,c,o,s,l)},drawPlotlyLineChart:function(e,t,r,n,i,o,s){var l,c=document.getElementById(e),u=t,d=[],f=0;function h(e){var t=new Array;for(y=0;y<u.children.length;y++)t.push(u.children[y].name);return t}function p(e){var t=new Array;for(l=0;l<u.children.length;l++)t.push(u.children[l].size[e]);return t}function g(e){return u.measName[e]}for(u.parent?u.parent:u;f<r;)d[f]={orientation:n.orientation,x:"h"==n.orientation?p(f):h(),y:"h"==n.orientation?h():p(f),yaxis:null!=s&&1==s.showmultiaxes&&0!=f?"y"+(f+1):"",name:g(f),mode:null!=i&&1==i.showpointlabels?"lines+markers+text":"lines+markers",type:null!=o&&null!=o.layout[f]&&1==o.layout[f].ismeasurepropsapplied&&""!=o.layout[f].tracetype?o.layout[f].tracetype:n.type,text:"h"==n.orientation?h().map(String):p(f).map(String),textposition:null!=i&&1==i.showpointlabels?"top":"none",line:{color:null!=o&&null!=o.layout[f]?o.layout[f].color:""},stackgroup:""},f++;var v={autosize:!0,hovermode:"closest",yaxis:{automargin:!0,showgrid:null==o||null==o.layout[f]||o.layout[0].showygridline,zeroline:null!=o&&null!=o.layout[f]&&o.layout[0].showyzeroline},xaxis:{autotick:null!=s&&s.autotick,automargin:!0,title:u.children[0].dimName,showgrid:null!=s&&s.showxgridline,zeroline:null!=s&&s.showxzeroline},margin:{t:20,l:20},showlegend:i.showlegends,legend:{orientation:"h"==i.legendorientation?"h":"v",x:i.legendposition?i.legendposition.x:1,xanchor:i.legendposition?i.legendposition.anchor:"left",y:i.legendposition?i.legendposition.y:1}};if(s.showmultiaxes){var m=.1;r>=10&&(m=.05);for(var y=0;y<r-1;y++){var x={title:g(y+1),overlaying:"y",showgrid:null!=o&&null!=o.layout[y+1]&&o.layout[y+1].showygridline,zeroline:null!=o&&null!=o.layout[y+1]&&o.layout[y+1].showyzeroline,gridcolor:"#bdbdbd",gridwidth:2,showline:!0,zerolinecolor:"#969696",zerolinewidth:4,side:"left",position:(r-(y+1))*m};v["yaxis"+(y+2)]=x}var b={autotick:null!=s&&s.autotick,automargin:!0,domain:[m*r,1],showgrid:null!=s&&s.showxgridline,zeroline:null!=s&&s.showxzeroline};v.xaxis=b}a.a.newPlot(e,d,v,{displaylogo:!1,responsive:!0});var w=this;c.on("plotly_click",(function(t){var a,l="h"==n.orientation?t.points[0].y:t.points[0].x,c=u.children,d=new Array;for(a=0;a<c.length;a++)l==c[a].name&&(d=c[a]);d.children?w.drillLabels.push({text:d.name,depth:d.depth,node:d}):(w.$store.commit("setSnackbarStatus",!0),w.$store.commit("setSnackbarCode","INVALID_DIMENSIONS")),w.drawPlotlyLineChart(e,d,r,n,i,o,s)}))},drawPlotlyPieChart:function(e,t,r,n,i,o,s){var l,c,u,d=document.getElementById(e),f=t,h=[],p=1;p=(n=n)<=3?1:2,u=Math.ceil(n/p);var g=0,v=0,m=0;function y(e){var t=new Array;for(l=0;l<f.children.length;l++)t.push(f.children[l].name);return t}function x(e){var t=new Array;for(c=0;c<f.children.length;c++)t.push(f.children[c].size[e]);return t}for(f.parent?f.parent:f;g<n;)h[g]={labels:y(),values:x(g),hole:r.hole,type:r.type,name:f.measName[g],domain:{row:v,column:m}},g++,++m>=u&&(m=0,v++);var b={title:f.children[0].dimName,titleposition:"bottom center",showlegend:i.showlegends,grid:{rows:p,columns:u},margin:{t:30,b:20,l:20},legend:{orientation:"h"==i.legendorientation?"h":"v",x:i.legendposition?i.legendposition.x:1,xanchor:i.legendposition?i.legendposition.anchor:"left",y:i.legendposition?i.legendposition.y:1}};a.a.newPlot(e,h,b,{responsive:!0,displaylogo:!1});var w=this;d.on("plotly_click",(function(t){var a,l=f.children,c=new Array;for(a=0;a<l.length;a++)t.points[0].label==l[a].name&&(c=l[a]);c.children?w.drillLabels.push({text:c.name,depth:c.depth,node:c}):(w.$store.commit("setSnackbarStatus",!0),w.$store.commit("setSnackbarCode","INVALID_DIMENSIONS")),w.drawPlotlyPieChart(e,c,r,n,i,o,s)}))},drawPlotlySunburstChart:function(e,t,r,n,i,o,s){document.getElementById(e);var l=t,c=(n=n,[]),u=0;function d(e,t=""){if(!e.children)return[];for(var r=new Array,n=0;n<e.children.length;n++){var a="";a=t?t+" ~ "+e.children[n].name:e.children[n].name,r.push(a),r=r.concat(d(e.children[n],a))}return r}function f(e,t=""){if(!e.children)return[];for(var r=new Array,n=0;n<e.children.length;n++){var a="";a=t?t+" ~ "+e.children[n].name:e.children[n].name,r.push(t),r=r.concat(f(e.children[n],a))}return r}function h(e){if(!e.children)return[];for(var t=new Array,r=0;r<e.children.length;r++){var n=e.children[r].size[0];t.push(n),t=t.concat(h(e.children[r]))}return t}function p(e){if(!e.children)return[];for(var t=new Array,r=0;r<e.children.length;r++){var n=e.children[r].name;t.push(n),t=t.concat(p(e.children[r]))}return t}for(l.parent?l.parent:l;u<n;)c[u]={ids:d(t),labels:p(t),parents:f(t),values:h(t),type:"sunburst",textposition:"inside",insidetextorientation:"radial",marker:{line:{width:2}}},u++;var g={showlegend:i.showlegends,margin:{t:20,b:20,l:20},legend:{orientation:"h"==i.legendorientation?"h":"v",x:i.legendposition?i.legendposition.x:1,xanchor:i.legendposition?i.legendposition.anchor:"left",y:i.legendposition?i.legendposition.y:1}};a.a.newPlot(e,c,g,{responsive:!0,displaylogo:!1})},drawPlotlyTreemap:function(e,t,r,n,i,o,s){document.getElementById(e);var l=t,c=(n=n,[]),u=0;function d(e,t=""){if(!e.children)return[];for(var r=new Array,n=0;n<e.children.length;n++){var a="";a=t?t+" ~ "+e.children[n].name:e.children[n].name,r.push(a),r=r.concat(d(e.children[n],a))}return r}function f(e,t=""){if(!e.children)return[];for(var r=new Array,n=0;n<e.children.length;n++){var a="";a=t?t+" ~ "+e.children[n].name:e.children[n].name,r.push(t),r=r.concat(f(e.children[n],a))}return r}function h(e){if(!e.children)return[];for(var t=new Array,r=0;r<e.children.length;r++){var n=e.children[r].size[0];t.push(n),t=t.concat(h(e.children[r]))}return t}function p(e){if(!e.children)return[];for(var t=new Array,r=0;r<e.children.length;r++){var n=e.children[r].name;t.push(n),t=t.concat(p(e.children[r]))}return t}for(l.parent?l.parent:l;u<n;)c[u]={ids:d(t),labels:p(t),parents:f(t),values:h(t),type:"treemap",textinfo:"label+value",outsidetextfont:{size:20,color:"#377eb8"},marker:{line:{width:2}},pathbar:{visible:!1}},u++;a.a.newPlot(e,c,{margin:{l:0,r:0,t:0,b:0},annotations:[{showarrow:!1,text:"",x:.25,xanchor:"center",y:1.1,yanchor:"bottom"}]},{responsive:!0,displaylogo:!1})},drawPlotlyGaugeChart:function(e,t,r,n){for(var i=document.getElementById(e),o=t,s=o.children.length,l=0,c=0,u=1,d=new Array(o.children.length);l<s;){var f=o.children[l].percent[0];f=f.replace(/% ?/g,""),d[l]={domain:{row:u,column:c},value:f,title:{text:o.children[l].name},type:"indicator",number:{suffix:"%"},mode:"gauge+number",gauge:{axis:{range:[null,100]}}},++c>3&&(u++,c=0),l++}if(0==c)var h=4;else h=c;var p={margin:{t:0,b:0},grid:{rows:u,columns:h,pattern:"independent"}},g=this;a.a.newPlot(e,d,p,{displaylogo:!1,showSendToCloud:!0}),i.on("plotly_click",(function(a){var i,s=o.children,l=new Array;for(i=0;i<s.length;i++)a.points[0].label==s[i].name&&(l=s[i]);l.children?g.drillLabels.push({text:l.name,depth:l.depth,node:l}):(g.$store.commit("setSnackbarStatus",!0),g.$store.commit("setSnackbarCode","INVALID_DIMENSIONS")),g.drawPlotlyGaugeChart(e,t,r,n)}))},drawPlotlyGeoChart:function(e,t,r,n,i,o,s){var l,c,u=t,d=1;function f(e){var t=new Array;for(l=0;l<u.children.length;l++)t.push(u.children[l].name);return t}d=(n=n)<=3?1:2,Math.ceil(n/d),u.parent&&u.parent;var h=[{type:"choropleth",locationmode:"country names",locations:f(),z:function(e){var t=new Array;for(c=0;c<u.children.length;c++)t.push(u.children[c].size[e]);return t}(0),text:f(),autocolorscale:!0}];a.a.newPlot(e,h,{autosize:!0,margin:{l:0,r:0,t:12,b:0},geo:{projection:{type:"natural earth"}}},{responsive:!0,displaylogo:!1})},drawPlotlyFunnelChart:function(e,t,r,n,i,o,s){var l,c=document.getElementById(e),u=t;u.parent&&u.parent;var d=function(e){for(var t=[],r=0;r<u.children.length;r++){var n={};n.x=u.children[r].name,n.y=u.children[r].size[e],t.push(n)}return t.sort((function(e,t){return t.y-e.y})),t}(0),f=new Array;d.forEach((function(e){f.push(e.x)}));var h=new Array;d.forEach((function(e){h.push(e.y)})),l=[{labels:f,values:h,type:"funnelarea",title:u.measName[0],hoverinfo:"x+percent previous+percent initial",textinfo:"value",domain:{x:[0,1],y:[0,1]}}];var p={showlegend:i.showlegends,shapes:[],margin:{l:0,r:0,t:0,b:0},legend:{orientation:"h"==i.legendorientation?"h":"v",x:i.legendposition?i.legendposition.x:1,xanchor:i.legendposition?i.legendposition.anchor:"left",y:i.legendposition?i.legendposition.y:1}};a.a.newPlot(e,l,p,{responsive:!0,displaylogo:!1});var g=this;c.on("plotly_click",(function(t){var a,l=u.children,c=new Array;for(a=0;a<l.length;a++)t.points[0].label==l[a].name&&(c=l[a]);c.children?g.drillLabels.push({text:c.name,depth:c.depth,node:c}):(g.$store.commit("setSnackbarStatus",!0),g.$store.commit("setSnackbarCode","INVALID_DIMENSIONS")),g.drawPlotlyFunnelChart(e,c,r,n,i,o,s)}))},drawPlotlyStackedFunnelChart:function(e,t,r,n,i,o,s){var l=document.getElementById(e),c=t,u=[],d=0;function f(e){for(var t=[],n=0;n<c.children.length;n++){var a={};a.x=c.children[n].name,a.y=c.children[n].size[e],a.sum=0;for(var i=0;i<r;i++)a.sum+=c.children[n].size[i];t.push(a)}return t.sort((function(e,t){return t.sum-e.sum})),t}for(c.parent?c.parent:c;d<r;){var h=f(d),p=new Array;h.forEach((function(e){p.push(e.x)}));var g=new Array;h.forEach((function(e){g.push(e.y)})),u[d]={y:p,x:g,type:"funnel",name:c.measName[d],textposition:"outside",textinfo:"value+percent total"},d++}var v={margin:{l:0,r:0,t:0,b:0},funnelmode:"stack",showlegend:i.showlegends,legend:{orientation:"h"==i.legendorientation?"h":"v",x:i.legendposition?i.legendposition.x:1,xanchor:i.legendposition?i.legendposition.anchor:"left",y:i.legendposition?i.legendposition.y:1}};a.a.newPlot(e,u,v,{responsive:!0,displaylogo:!1});var m=this;l.on("plotly_click",(function(t){var a,l=c.children,u=new Array;for(a=0;a<l.length;a++)t.points[0].y==l[a].name&&(u=l[a]);u.children?m.drillLabels.push({text:u.name,depth:u.depth,node:u}):(m.$store.commit("setSnackbarStatus",!0),m.$store.commit("setSnackbarCode","INVALID_DIMENSIONS")),m.drawPlotlyStackedFunnelChart(e,u,r,n,i,o,s)}))},drawPlotlyFunnelAreaChart:function(e,t,r,n,i,o,s){var l=0,c=.5,u=0,d=0;var f=0,h=document.getElementById(e),p=t,g=[],v=0;function m(e){for(var t=[],r=0;r<p.children.length;r++){var n={};n.x=p.children[r].name,n.y=p.children[r].size[e],t.push(n)}return t.sort((function(e,t){return t.y-e.y})),t}for(p.parent?p.parent:p;v<r;){var y=m(v),x=new Array;y.forEach((function(e){x.push(e.x)}));var b=new Array;y.forEach((function(e){b.push(e.y)})),g[v]={labels:x,values:b,type:"funnelarea",title:p.measName[v],hoverinfo:"x+percent previous+percent initial",domain:{x:[l,c],y:[u,d]}},v++,u+=.5,d+=.5,++f>=1&&(u=0,d=.5,l+=.5,c+=.5)}for(var w=[],_=0;_<g.length;_++){var k={};k.x0=g[_].domain.x[0],k.x1=g[_].domain.x[1],k.y0=g[_].domain.y[0],k.y1=g[_].domain.y[1],w.push(k)}var T={margin:{l:150},shapes:w,showlegend:i.showlegends};a.a.newPlot(h,g,T)},drawPlotlyHeatChart:function(e,t,r,n,i,o,s){for(var l=[],c=[],u={},d=[],f=0;f<t.children.length;f++){var h=t.children[f].name;l.push(h),u[h]={};for(var p=0;p<t.children[f].children.length;p++){var g=t.children[f].children[p].name;u[h][g]=t.children[f].children[p].size[0],c.includes(g)||c.push(g)}}for(f=0;f<l.length;f++){var v=new Array(c.length);for(p=0;p<c.length;p++)u[l[f]][c[p]]&&(v[p]=u[l[f]][c[p]]);d.push(v)}var m=[{type:"heatmap",x:c,y:l,z:d,hoverongaps:!1}],y={xaxis:{autotick:null!=s&&s.autotick},yaxis:{autotick:!1},autosize:!0,automargin:!0,margin:{t:24}};a.a.newPlot(e,m,y,{responsive:!0,displaylogo:!1})},drawPlotlyHVLineChart:function(e,t,r,n,i,o,s){var l,c=document.getElementById(e),u=t,d=[],f=0;function h(e){var t=new Array;for(y=0;y<u.children.length;y++)t.push(u.children[y].name);return t}function p(e){var t=new Array;for(l=0;l<u.children.length;l++)t.push(u.children[l].size[e]);return t}function g(e){return u.measName[e]}for(u.parent?u.parent:u;f<r;)d[f]={x:h(),y:p(f),yaxis:null!=s&&1==s.showmultiaxes&&0!=f?"y"+(f+1):"",name:g(f),mode:null!=i&&1==i.showpointlabels?"lines+markers+text":"lines+markers",type:"scatter",text:p(f).map(String),textposition:null!=i&&1==i.showpointlabels?"top":"none",line:{color:null!=o&&null!=o.layout[f]?o.layout[f].color:"",shape:"hv"},stackgroup:""},f++;var v={autosize:!0,hovermode:"closest",yaxis:{automargin:!0,showgrid:null==o||null==o.layout[f]||o.layout[0].showygridline,zeroline:null!=o&&null!=o.layout[f]&&o.layout[0].showyzeroline},xaxis:{autotick:null!=s&&s.autotick,automargin:!0,title:u.children[0].dimName,showgrid:null!=s&&s.showxgridline,zeroline:null!=s&&s.showxzeroline},margin:{t:20,l:20},showlegend:i.showlegends,legend:{orientation:"h"==i.legendorientation?"h":"v",x:i.legendposition?i.legendposition.x:1,xanchor:i.legendposition?i.legendposition.anchor:"left",y:i.legendposition?i.legendposition.y:1}};if(s.showmultiaxes){var m=.1;r>=10&&(m=.05);for(var y=0;y<r-1;y++){var x={title:g(y+1),overlaying:"y",showgrid:null!=o&&null!=o.layout[y+1]&&o.layout[y+1].showygridline,zeroline:null!=o&&null!=o.layout[y+1]&&o.layout[y+1].showyzeroline,gridcolor:"#bdbdbd",gridwidth:2,showline:!0,zerolinecolor:"#969696",zerolinewidth:4,side:"left",position:(r-(y+1))*m};v["yaxis"+(y+2)]=x}var b={autotick:null!=s&&s.autotick,automargin:!0,domain:[m*r,1],showgrid:null!=s&&s.showxgridline,zeroline:null!=s&&s.showxzeroline};v.xaxis=b}a.a.newPlot(e,d,v,{displaylogo:!1,responsive:!0});var w=this;c.on("plotly_click",(function(t){var a,l="h"==n.orientation?t.points[0].y:t.points[0].x,c=u.children,d=new Array;for(a=0;a<c.length;a++)l==c[a].name&&(d=c[a]);d.children?w.drillLabels.push({text:d.name,depth:d.depth,node:d}):(w.$store.commit("setSnackbarStatus",!0),w.$store.commit("setSnackbarCode","INVALID_DIMENSIONS")),w.drawPlotlyHVLineChart(e,d,r,n,i,o,s)}))},drawPlotlyRadarChart:function(e,t,r,n,i,o,s){var l,c,u=document.getElementById(e),d=t,f=[],h=0;function p(e){var t=new Array;for(l=0;l<d.children.length;l++)t.push(d.children[l].name);return t}function g(e){var t=new Array;for(c=0;c<d.children.length;c++)t.push(d.children[c].size[e]);return t}function v(e){return d.measName[e]}for(d.parent?d.parent:d;h<r;)f[h]={r:g(h),theta:p(),type:"scatterpolar",name:v(h),fill:"toself"},h++;console.log(f);var m={margin:{l:0,r:0,t:0,b:0},polar:{radialaxis:{visible:!0}},showlegend:i.showlegends};a.a.newPlot(e,f,m,{responsive:!0,displaylogo:!1});var y=this;u.on("plotly_click",(function(t){var a,l=d.children,c=new Array;for(a=0;a<l.length;a++)t.points[0].theta==l[a].name&&(c=l[a]);c.children?y.drillLabels.push({text:c.name,depth:c.depth,node:c}):(y.$store.commit("setSnackbarStatus",!0),y.$store.commit("setSnackbarCode","INVALID_DIMENSIONS")),y.drawPlotlyRadarChart(e,c,r,n,i,o,s)}))},drawPlotlyWaterFallChart:function(e,t,r,n,i,o,s){var l,c,u=document.getElementById(e),d=t,f=[],h=0;function p(e){var t=new Array;for(l=0;l<d.children.length;l++)t.push(d.children[l].name);return t}function g(e){var t=new Array;for(c=0;c<d.children.length;c++)t.push(d.children[c].size[e]);return t}function v(e){return d.measName[e]}for(d.parent?d.parent:d;h<r;)f[h]={orientation:"v",x:"h"==n.orientation?g(h):p(),y:"h"==n.orientation?p():g(h),name:v(h),mode:n.mode,type:"waterfall",text:"h"==n.orientation?p().map(String):g(h).map(String),textposition:"outside",connector:{line:{color:"rgb(63, 63, 63)"}}},h++;var m={xaxis:{type:"category"},yaxis:{type:"linear"},autosize:!0,showlegend:i.showlegends};a.a.newPlot(e,f,m,{displaylogo:!1,responsive:!0});var y=this;u.on("plotly_click",(function(t){var a,l="h"==n.orientation?t.points[0].y:t.points[0].x,c=d.children,u=new Array;for(a=0;a<c.length;a++)l==c[a].name&&(u=c[a]);u.children?y.drillLabels.push({text:u.name,depth:u.depth,node:u}):(y.$store.commit("setSnackbarStatus",!0),y.$store.commit("setSnackbarCode","INVALID_DIMENSIONS")),y.drawPlotlyWaterFallChart(e,u,r,n,i,o,s)}))},getRandomLightColorCodes:function(e){for(var t=[],r="ABCDEF".split(""),n=0;t.length<e;n++){for(var a="#",i=0;i<6;i++)a+=r[Math.floor(Math.random()*r.length)];t.includes(a)||t.push(a)}return t},getMarkerSize:function(e){var t=[],r=Math.max.apply(Math,e);for(var n in e){var a=100*e[n]/r;t.push(Math.max(2,a))}return t}}}},Zhzs:function(e,t,r){"use strict";var n,a,i=r("bljh"),o=r("GbLo"),s=r("rhNM"),l=r("09xr").mod,c=r("6AZA"),u=c.BADNUM,d=c.ONEDAY,f=c.ONEHOUR,h=c.ONEMIN,p=c.ONESEC,g=c.EPOCHJD,v=r("Nx4I"),m=i.time.format.utc,y=/^\s*(-?\d\d\d\d|\d\d)(-(\d?\d)(-(\d?\d)([ Tt]([01]?\d|2[0-3])(:([0-5]\d)(:([0-5]\d(\.\d+)?))?(Z|z|[+\-]\d\d:?\d\d)?)?)?)?)?\s*$/m,x=/^\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 w(e){return e&&v.componentsRegistry.calendars&&"string"==typeof e&&"gregorian"!==e}function _(e,t){return String(e+Math.pow(10,t)).substr(1)}t.dateTick0=function(e,t){return w(e)?t?v.getComponentMethod("calendars","CANONICAL_SUNDAY")[e]:v.getComponentMethod("calendars","CANONICAL_TICK")[e]:t?"2000-01-02":"2000-01-01"},t.dfltRange=function(e){return w(e)?v.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,r){if(t.isJSDate(e)){var i=e.getTimezoneOffset()*h,o=(e.getUTCMinutes()-e.getMinutes())*h+(e.getUTCSeconds()-e.getSeconds())*p+(e.getUTCMilliseconds()-e.getMilliseconds());if(o){var s=3*h;i=i-s/2+l(o-i+s/2,s)}return(e=Number(e)-i)>=n&&e<=a?e:u}if("string"!=typeof e&&"number"!=typeof e)return u;e=String(e);var c=w(r),m=e.charAt(0);!c||"G"!==m&&"g"!==m||(e=e.substr(1),r="");var _=c&&"chinese"===r.substr(0,7),k=e.match(_?x:y);if(!k)return u;var T=k[1],M=k[3]||"1",S=Number(k[5]||1),A=Number(k[7]||0),C=Number(k[9]||0),P=Number(k[11]||0);if(c){if(2===T.length)return u;var O;T=Number(T);try{var I=v.getComponentMethod("calendars","getCal")(r);if(_){var z="i"===M.charAt(M.length-1);M=parseInt(M,10),O=I.newDate(T,I.toMonthIndex(T,M,z),S)}else O=I.newDate(T,Number(M),S)}catch(e){return u}return O?(O.toJD()-g)*d+A*f+C*h+P*p:u}T=2===T.length?(Number(T)+2e3-b)%100+b:Number(T),M-=1;var L=new Date(Date.UTC(2e3,M,S,A,C));return L.setUTCFullYear(T),L.getUTCMonth()!==M||L.getUTCDate()!==S?u:L.getTime()+P*p},n=t.MIN_MS=t.dateTime2ms("-9999"),a=t.MAX_MS=t.dateTime2ms("9999-12-31 23:59:59.9999"),t.isDateTime=function(e,r){return t.dateTime2ms(e,r)!==u};var k=90*d,T=3*f,M=5*h;function S(e,t,r,n,a){if((t||r||n||a)&&(e+=" "+_(t,2)+":"+_(r,2),(n||a)&&(e+=":"+_(n,2),a))){for(var i=4;a%10==0;)i-=1,a/=10;e+="."+_(a,i)}return e}t.ms2DateTime=function(e,t,r){if("number"!=typeof e||!(e>=n&&e<=a))return u;t||(t=0);var i,o,s,c,y,x,b=Math.floor(10*l(e+.05,1)),_=Math.round(e-b/10);if(w(r)){var A=Math.floor(_/d)+g,C=Math.floor(l(e,d));try{i=v.getComponentMethod("calendars","getCal")(r).fromJD(A).formatDate("yyyy-mm-dd")}catch(e){i=m("G%Y-%m-%d")(new Date(_))}if("-"===i.charAt(0))for(;i.length<11;)i="-0"+i.substr(1);else for(;i.length<10;)i="0"+i;o=t<k?Math.floor(C/f):0,s=t<k?Math.floor(C%f/h):0,c=t<T?Math.floor(C%h/p):0,y=t<M?C%p*10+b:0}else x=new Date(_),i=m("%Y-%m-%d")(x),o=t<k?x.getUTCHours():0,s=t<k?x.getUTCMinutes():0,c=t<T?x.getUTCSeconds():0,y=t<M?10*x.getUTCMilliseconds()+b:0;return S(i,o,s,c,y)},t.ms2DateTimeLocal=function(e){if(!(e>=n+d&&e<=a-d))return u;var t=Math.floor(10*l(e+.05,1)),r=new Date(Math.round(e-t/10));return S(i.time.format("%Y-%m-%d")(r),r.getHours(),r.getMinutes(),r.getSeconds(),10*r.getUTCMilliseconds()+t)},t.cleanDate=function(e,r,n){if(e===u)return r;if(t.isJSDate(e)||"number"==typeof e&&isFinite(e)){if(w(n))return s.error("JS Dates and milliseconds are incompatible with world calendars",e),r;if(!(e=t.ms2DateTimeLocal(+e))&&void 0!==r)return r}else if(!t.isDateTime(e,n))return s.error("unrecognized date",e),r;return e};var A=/%\d?f/g;function C(e,t,r,n){e=e.replace(A,(function(e){var r=Math.min(+e.charAt(1)||6,6);return(t/1e3%1+2).toFixed(r).substr(2).replace(/0+$/,"")||"0"}));var a=new Date(Math.floor(t+.05));if(w(n))try{e=v.getComponentMethod("calendars","worldCalFmt")(e,t,n)}catch(e){return"Invalid"}return r(e)(a)}var P=[59,59.9,59.99,59.999,59.9999];t.formatDate=function(e,t,r,n,a,i){if(a=w(a)&&a,!t)if("y"===r)t=i.year;else if("m"===r)t=i.month;else{if("d"!==r)return function(e,t){var r=l(e+.05,d),n=_(Math.floor(r/f),2)+":"+_(l(Math.floor(r/h),60),2);if("M"!==t){o(t)||(t=0);var a=(100+Math.min(l(e/p,60),P[t])).toFixed(t).substr(1);t>0&&(a=a.replace(/0+$/,"").replace(/[\.]$/,"")),n+=":"+a}return n}(e,r)+"\n"+C(i.dayMonthYear,e,n,a);t=i.dayMonth+"\n"+i.year}return C(t,e,n,a)};var O=3*d;t.incrementMonth=function(e,t,r){r=w(r)&&r;var n=l(e,d);if(e=Math.round(e-n),r)try{var a=Math.round(e/d)+g,i=v.getComponentMethod("calendars","getCal")(r),o=i.fromJD(a);return t%12?i.add(o,t,"m"):i.add(o,t/12,"y"),(o.toJD()-g)*d+n}catch(t){s.error("invalid ms "+e+" in calendar "+r)}var c=new Date(e+O);return c.setUTCMonth(c.getUTCMonth()+t)+n-O},t.findExactDates=function(e,t){for(var r,n,a=0,i=0,s=0,l=0,c=w(t)&&v.getComponentMethod("calendars","getCal")(t),u=0;u<e.length;u++)if(n=e[u],o(n)){if(!(n%d))if(c)try{1===(r=c.fromJD(n/d+g)).day()?1===r.month()?a++:i++:s++}catch(e){}else 1===(r=new Date(n)).getUTCDate()?0===r.getUTCMonth()?a++:i++:s++}else l++;s+=i+=a;var f=e.length-l;return{exactYears:a/f,exactMonths:i/f,exactDays:s/f}}},ZnKQ:function(e,t,r){"use strict";var n=r("GbLo"),a=r("Zss7"),i=r("qHYo"),o=r("SFLx"),s=r("cqRZ").DESELECTDIM,l=r("dNZO"),c=r("BVrX").counter,u=r("09xr").modHalf,d=r("avjU").isArrayOrTypedArray;function f(e,r,n,a,i,o){var s=(o||{}).shouldValidate,c=l(n,a).get();void 0===i&&(i=c.dflt);var u=!1,f=l(e,a),p=l(r,a),g=f.get(),v=r._template;if(void 0===g&&v&&(u=void 0!==(g=l(v,a).get()),v=0),c.arrayOk&&d(g))return p.set(g),{inp:g,val:g,src:!0};var m=t.valObjectMeta[c.valType].coerceFunction;m(g,p,i,c);var y=p.get();return u=void 0!==y&&s&&h(g,c),v&&y===i&&!h(g,c)&&(m(g=l(v,a).get(),p,i,c),u=void 0!==(y=p.get())&&s&&h(g,c)),{inp:g,val:y,src:u}}function h(e,r){var n=t.valObjectMeta[r.valType];if(r.arrayOk&&d(e))return!0;if(n.validateFunction)return n.validateFunction(e,r);var a={},i=a,o={set:function(e){i=e}};return n.coerceFunction(e,o,a,r),i!==a}t.valObjectMeta={data_array:{description:["An {array} of data.","The value MUST be an {array}, or we ignore it.","Note that typed arrays (e.g. Float32Array) are supported."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(e,t,r){d(e)?t.set(e):void 0!==r&&t.set(r)}},enumerated:{description:["Enumerated value type. The available values are listed","in `values`."].join(" "),requiredOpts:["values"],otherOpts:["dflt","coerceNumber","arrayOk"],coerceFunction:function(e,t,r,n){n.coerceNumber&&(e=+e),-1===n.values.indexOf(e)?t.set(r):t.set(e)},validateFunction:function(e,t){t.coerceNumber&&(e=+e);for(var r=t.values,n=0;n<r.length;n++){var a=String(r[n]);if("/"===a.charAt(0)&&"/"===a.charAt(a.length-1)){if(new RegExp(a.substr(1,a.length-2)).test(e))return!0}else if(e===r[n])return!0}return!1}},boolean:{description:"A boolean (true/false) value.",requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(e,t,r){!0===e||!1===e?t.set(e):t.set(r)}},number:{description:["A number or a numeric value","(e.g. a number inside a string).","When applicable, values greater (less) than `max` (`min`)","are coerced to the `dflt`."].join(" "),requiredOpts:[],otherOpts:["dflt","min","max","arrayOk"],coerceFunction:function(e,t,r,a){!n(e)||void 0!==a.min&&e<a.min||void 0!==a.max&&e>a.max?t.set(r):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","arrayOk"],coerceFunction:function(e,t,r,a){e%1||!n(e)||void 0!==a.min&&e<a.min||void 0!==a.max&&e>a.max?t.set(r):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,r,n){if("string"!=typeof e){var a="number"==typeof e;!0!==n.strict&&a?t.set(String(e)):t.set(r)}else n.noBlank&&!e?t.set(r):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,r){a(e).isValid()?t.set(e):t.set(r)}},colorlist:{description:["A list of colors.","Must be an {array} containing valid colors."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(e,t,r){Array.isArray(e)&&e.length&&e.every((function(e){return a(e).isValid()}))?t.set(e):t.set(r)}},colorscale:{description:["A Plotly colorscale either picked by a name:","(any of",Object.keys(o.scales).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,r){t.set(o.get(e,r))}},angle:{description:["A number (in degree) between -180 and 180."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(e,t,r){"auto"===e?t.set("auto"):n(e)?t.set(u(+e,360)):t.set(r)}},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:["regex"],coerceFunction:function(e,t,r,n){var a=n.regex||c(r);"string"==typeof e&&a.test(e)?t.set(e):t.set(r)},validateFunction:function(e,t){var r=t.dflt;return e===r||"string"==typeof e&&!!c(r).test(e)}},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,r,n){if("string"==typeof e)if(-1===(n.extras||[]).indexOf(e)){for(var a=e.split("+"),i=0;i<a.length;){var o=a[i];-1===n.flags.indexOf(o)||a.indexOf(o)<i?a.splice(i,1):i++}a.length?t.set(a.join("+")):t.set(r)}else t.set(e);else t.set(r)}},any:{description:"Any type.",requiredOpts:[],otherOpts:["dflt","values","arrayOk"],coerceFunction:function(e,t,r){void 0===e?t.set(r):t.set(e)}},info_array:{description:["An {array} of plot information."].join(" "),requiredOpts:["items"],otherOpts:["dflt","freeLength","dimensions"],coerceFunction:function(e,r,n,a){function i(e,r,n){var a,i={set:function(e){a=e}};return void 0===n&&(n=r.dflt),t.valObjectMeta[r.valType].coerceFunction(e,i,n,r),a}var o=2===a.dimensions||"1-2"===a.dimensions&&Array.isArray(e)&&Array.isArray(e[0]);if(Array.isArray(e)){var s,l,c,u,d,f,h=a.items,p=[],g=Array.isArray(h),v=g&&o&&Array.isArray(h[0]),m=o&&g&&!v,y=g&&!m?h.length:e.length;if(n=Array.isArray(n)?n:[],o)for(s=0;s<y;s++)for(p[s]=[],c=Array.isArray(e[s])?e[s]:[],d=m?h.length:g?h[s].length:c.length,l=0;l<d;l++)u=m?h[l]:g?h[s][l]:h,void 0!==(f=i(c[l],u,(n[s]||[])[l]))&&(p[s][l]=f);else for(s=0;s<y;s++)void 0!==(f=i(e[s],g?h[s]:h,n[s]))&&(p[s]=f);r.set(p)}else r.set(n)},validateFunction:function(e,t){if(!Array.isArray(e))return!1;var r=t.items,n=Array.isArray(r),a=2===t.dimensions;if(!t.freeLength&&e.length!==r.length)return!1;for(var i=0;i<e.length;i++)if(a){if(!Array.isArray(e[i])||!t.freeLength&&e[i].length!==r[i].length)return!1;for(var o=0;o<e[i].length;o++)if(!h(e[i][o],n?r[i][o]:r))return!1}else if(!h(e[i],n?r[i]:r))return!1;return!0}}},t.coerce=function(e,t,r,n,a){return f(e,t,r,n,a).val},t.coerce2=function(e,t,r,n,a){var i=f(e,t,r,n,a,{shouldValidate:!0});return!(!i.src||void 0===i.inp)&&i.val},t.coerceFont=function(e,t,r){var n={};return r=r||{},n.family=e(t+".family",r.family),n.size=e(t+".size",r.size),n.color=e(t+".color",r.color),n},t.coerceHoverinfo=function(e,r,n){var a,o=r._module.attributes,s=o.hoverinfo?o:i,l=s.hoverinfo;if(1===n._dataLength){var c="all"===l.dflt?l.flags.slice():l.dflt.split("+");c.splice(c.indexOf("name"),1),a=c.join("+")}return t.coerce(e,r,s,"hoverinfo",a)},t.coerceSelectionMarkerOpacity=function(e,t){if(e.marker){var r,n,a=e.marker.opacity;if(void 0!==a)d(a)||e.selected||e.unselected||(r=a,n=s*a),t("selected.marker.opacity",r),t("unselected.marker.opacity",n)}},t.validate=h},Zss7:function(e,t,r){var n;!function(a){var i=/^\s+/,o=/\s+$/,s=0,l=a.round,c=a.min,u=a.max,d=a.random;function f(e,t){if(t=t||{},(e=e||"")instanceof f)return e;if(!(this instanceof f))return new f(e,t);var r=function(e){var t={r:0,g:0,b:0},r=1,n=null,s=null,l=null,d=!1,f=!1;"string"==typeof e&&(e=function(e){e=e.replace(i,"").replace(o,"").toLowerCase();var t,r=!1;if(O[e])e=O[e],r=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=G.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=G.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=G.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=G.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=G.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=G.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=G.hex8.exec(e))return{r:j(t[1]),g:j(t[2]),b:j(t[3]),a:F(t[4]),format:r?"name":"hex8"};if(t=G.hex6.exec(e))return{r:j(t[1]),g:j(t[2]),b:j(t[3]),format:r?"name":"hex"};if(t=G.hex4.exec(e))return{r:j(t[1]+""+t[1]),g:j(t[2]+""+t[2]),b:j(t[3]+""+t[3]),a:F(t[4]+""+t[4]),format:r?"name":"hex8"};if(t=G.hex3.exec(e))return{r:j(t[1]+""+t[1]),g:j(t[2]+""+t[2]),b:j(t[3]+""+t[3]),format:r?"name":"hex"};return!1}(e));"object"==typeof e&&(Z(e.r)&&Z(e.g)&&Z(e.b)?(h=e.r,p=e.g,g=e.b,t={r:255*L(h,255),g:255*L(p,255),b:255*L(g,255)},d=!0,f="%"===String(e.r).substr(-1)?"prgb":"rgb"):Z(e.h)&&Z(e.s)&&Z(e.v)?(n=R(e.s),s=R(e.v),t=function(e,t,r){e=6*L(e,360),t=L(t,100),r=L(r,100);var n=a.floor(e),i=e-n,o=r*(1-t),s=r*(1-i*t),l=r*(1-(1-i)*t),c=n%6;return{r:255*[r,s,o,o,l,r][c],g:255*[l,r,r,s,o,o][c],b:255*[o,o,l,r,r,s][c]}}(e.h,n,s),d=!0,f="hsv"):Z(e.h)&&Z(e.s)&&Z(e.l)&&(n=R(e.s),l=R(e.l),t=function(e,t,r){var n,a,i;function o(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=L(e,360),t=L(t,100),r=L(r,100),0===t)n=a=i=r;else{var s=r<.5?r*(1+t):r+t-r*t,l=2*r-s;n=o(l,s,e+1/3),a=o(l,s,e),i=o(l,s,e-1/3)}return{r:255*n,g:255*a,b:255*i}}(e.h,n,l),d=!0,f="hsl"),e.hasOwnProperty("a")&&(r=e.a));var h,p,g;return r=z(r),{ok:d,format:e.format||f,r:c(255,u(t.r,0)),g:c(255,u(t.g,0)),b:c(255,u(t.b,0)),a:r}}(e);this._originalInput=e,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=l(100*this._a)/100,this._format=t.format||r.format,this._gradientType=t.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=r.ok,this._tc_id=s++}function h(e,t,r){e=L(e,255),t=L(t,255),r=L(r,255);var n,a,i=u(e,t,r),o=c(e,t,r),s=(i+o)/2;if(i==o)n=a=0;else{var l=i-o;switch(a=s>.5?l/(2-i-o):l/(i+o),i){case e:n=(t-r)/l+(t<r?6:0);break;case t:n=(r-e)/l+2;break;case r:n=(e-t)/l+4}n/=6}return{h:n,s:a,l:s}}function p(e,t,r){e=L(e,255),t=L(t,255),r=L(r,255);var n,a,i=u(e,t,r),o=c(e,t,r),s=i,l=i-o;if(a=0===i?0:l/i,i==o)n=0;else{switch(i){case e:n=(t-r)/l+(t<r?6:0);break;case t:n=(r-e)/l+2;break;case r:n=(e-t)/l+4}n/=6}return{h:n,s:a,v:s}}function g(e,t,r,n){var a=[D(l(e).toString(16)),D(l(t).toString(16)),D(l(r).toString(16))];return n&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function v(e,t,r,n){return[D(N(n)),D(l(e).toString(16)),D(l(t).toString(16)),D(l(r).toString(16))].join("")}function m(e,t){t=0===t?0:t||10;var r=f(e).toHsl();return r.s-=t/100,r.s=E(r.s),f(r)}function y(e,t){t=0===t?0:t||10;var r=f(e).toHsl();return r.s+=t/100,r.s=E(r.s),f(r)}function x(e){return f(e).desaturate(100)}function b(e,t){t=0===t?0:t||10;var r=f(e).toHsl();return r.l+=t/100,r.l=E(r.l),f(r)}function w(e,t){t=0===t?0:t||10;var r=f(e).toRgb();return r.r=u(0,c(255,r.r-l(-t/100*255))),r.g=u(0,c(255,r.g-l(-t/100*255))),r.b=u(0,c(255,r.b-l(-t/100*255))),f(r)}function _(e,t){t=0===t?0:t||10;var r=f(e).toHsl();return r.l-=t/100,r.l=E(r.l),f(r)}function k(e,t){var r=f(e).toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,f(r)}function T(e){var t=f(e).toHsl();return t.h=(t.h+180)%360,f(t)}function M(e){var t=f(e).toHsl(),r=t.h;return[f(e),f({h:(r+120)%360,s:t.s,l:t.l}),f({h:(r+240)%360,s:t.s,l:t.l})]}function S(e){var t=f(e).toHsl(),r=t.h;return[f(e),f({h:(r+90)%360,s:t.s,l:t.l}),f({h:(r+180)%360,s:t.s,l:t.l}),f({h:(r+270)%360,s:t.s,l:t.l})]}function A(e){var t=f(e).toHsl(),r=t.h;return[f(e),f({h:(r+72)%360,s:t.s,l:t.l}),f({h:(r+216)%360,s:t.s,l:t.l})]}function C(e,t,r){t=t||6,r=r||30;var n=f(e).toHsl(),a=360/r,i=[f(e)];for(n.h=(n.h-(a*t>>1)+720)%360;--t;)n.h=(n.h+a)%360,i.push(f(n));return i}function P(e,t){t=t||6;for(var r=f(e).toHsv(),n=r.h,a=r.s,i=r.v,o=[],s=1/t;t--;)o.push(f({h:n,s:a,v:i})),i=(i+s)%1;return o}f.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,r,n=this.toRgb();return e=n.r/255,t=n.g/255,r=n.b/255,.2126*(e<=.03928?e/12.92:a.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:a.pow((t+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:a.pow((r+.055)/1.055,2.4))},setAlpha:function(e){return this._a=z(e),this._roundA=l(100*this._a)/100,this},toHsv:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=p(this._r,this._g,this._b),t=l(360*e.h),r=l(100*e.s),n=l(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=h(this._r,this._g,this._b),t=l(360*e.h),r=l(100*e.s),n=l(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return g(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,r,n,a){var i=[D(l(e).toString(16)),D(l(t).toString(16)),D(l(r).toString(16)),D(N(n))];if(a&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0);return i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*L(this._r,255))+"%",g:l(100*L(this._g,255))+"%",b:l(100*L(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*L(this._r,255))+"%, "+l(100*L(this._g,255))+"%, "+l(100*L(this._b,255))+"%)":"rgba("+l(100*L(this._r,255))+"%, "+l(100*L(this._g,255))+"%, "+l(100*L(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(I[g(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+v(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var a=f(e);r="#"+v(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0;return t||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return f(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(b,arguments)},brighten:function(){return this._applyModification(w,arguments)},darken:function(){return this._applyModification(_,arguments)},desaturate:function(){return this._applyModification(m,arguments)},saturate:function(){return this._applyModification(y,arguments)},greyscale:function(){return this._applyModification(x,arguments)},spin:function(){return this._applyModification(k,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(C,arguments)},complement:function(){return this._applyCombination(T,arguments)},monochromatic:function(){return this._applyCombination(P,arguments)},splitcomplement:function(){return this._applyCombination(A,arguments)},triad:function(){return this._applyCombination(M,arguments)},tetrad:function(){return this._applyCombination(S,arguments)}},f.fromRatio=function(e,t){if("object"==typeof e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:R(e[n]));e=r}return f(e,t)},f.equals=function(e,t){return!(!e||!t)&&f(e).toRgbString()==f(t).toRgbString()},f.random=function(){return f.fromRatio({r:d(),g:d(),b:d()})},f.mix=function(e,t,r){r=0===r?0:r||50;var n=f(e).toRgb(),a=f(t).toRgb(),i=r/100;return f({r:(a.r-n.r)*i+n.r,g:(a.g-n.g)*i+n.g,b:(a.b-n.b)*i+n.b,a:(a.a-n.a)*i+n.a})},f.readability=function(e,t){var r=f(e),n=f(t);return(a.max(r.getLuminance(),n.getLuminance())+.05)/(a.min(r.getLuminance(),n.getLuminance())+.05)},f.isReadable=function(e,t,r){var n,a,i=f.readability(e,t);switch(a=!1,(n=function(e){var t,r;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),r=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==r&&"large"!==r&&(r="small");return{level:t,size:r}}(r)).level+n.size){case"AAsmall":case"AAAlarge":a=i>=4.5;break;case"AAlarge":a=i>=3;break;case"AAAsmall":a=i>=7}return a},f.mostReadable=function(e,t,r){var n,a,i,o,s=null,l=0;a=(r=r||{}).includeFallbackColors,i=r.level,o=r.size;for(var c=0;c<t.length;c++)(n=f.readability(e,t[c]))>l&&(l=n,s=f(t[c]));return f.isReadable(e,s,{level:i,size:o})||!a?s:(r.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],r))};var O=f.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},I=f.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(O);function z(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function L(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var r=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=c(t,u(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),a.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function E(e){return c(1,u(0,e))}function j(e){return parseInt(e,16)}function D(e){return 1==e.length?"0"+e:""+e}function R(e){return e<=1&&(e=100*e+"%"),e}function N(e){return a.round(255*parseFloat(e)).toString(16)}function F(e){return j(e)/255}var B,H,V,G=(H="[\\s|\\(]+("+(B="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+B+")[,|\\s]+("+B+")\\s*\\)?",V="[\\s|\\(]+("+B+")[,|\\s]+("+B+")[,|\\s]+("+B+")[,|\\s]+("+B+")\\s*\\)?",{CSS_UNIT:new RegExp(B),rgb:new RegExp("rgb"+H),rgba:new RegExp("rgba"+V),hsl:new RegExp("hsl"+H),hsla:new RegExp("hsla"+V),hsv:new RegExp("hsv"+H),hsva:new RegExp("hsva"+V),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function Z(e){return!!G.CSS_UNIT.exec(e)}e.exports?e.exports=f:void 0===(n=function(){return f}.call(t,r,t,e))||(e.exports=n)}(Math)},a18v:function(e,t,r){"use strict";var n=r("u3HJ");t.name="pie",t.plot=function(e,r,a,i){n.plotBasePlot(t.name,e,r,a,i)},t.clean=function(e,r,a,i){n.cleanBasePlot(t.name,e,r,a,i)}},a3ij:function(e,t,r){"use strict";var n=["orientation","groupnorm","stackgaps"];e.exports=function(e,t,r,a){var i=r._scatterStackOpts,o=a("stackgroup");if(o){var s=t.xaxis+t.yaxis,l=i[s];l||(l=i[s]={});var c=l[o],u=!1;c?c.traces.push(t):(c=l[o]={traceIndices:[],traces:[t]},u=!0);for(var d={orientation:t.x&&!t.y?"h":"v"},f=0;f<n.length;f++){var h=n[f],p=h+"Found";if(!c[p]){var g=void 0!==e[h],v="orientation"===h;if((g||u)&&(c[h]=a(h,d[h]),v&&(c.fillDflt="h"===c[h]?"tonextx":"tonexty"),g&&(c[p]=!0,!u&&(delete c.traces[0][h],v))))for(var m=0;m<c.traces.length-1;m++){var y=c.traces[m];y._input.fill!==y.fill&&(y.fill=c.fillDflt)}}}return c}}},aDMI:function(e,t,r){"use strict";var n=r("GbLo"),a=r("Zss7"),i=r("/CZE").isArrayOrTypedArray;t.coerceString=function(e,t,r){if("string"==typeof t){if(t||!e.noBlank)return t}else if(("number"==typeof t||!0===t)&&!e.strict)return String(t);return void 0!==r?r:e.dflt},t.coerceNumber=function(e,t,r){if(n(t)){t=+t;var a=e.min,i=e.max;if(!(void 0!==a&&t<a||void 0!==i&&t>i))return t}return void 0!==r?r:e.dflt},t.coerceColor=function(e,t,r){return a(t).isValid()?t:void 0!==r?r:e.dflt},t.coerceEnumerated=function(e,t,r){return e.coerceNumber&&(t=+t),-1!==e.values.indexOf(t)?t:void 0!==r?r:e.dflt},t.getValue=function(e,t){var r;return Array.isArray(e)?t<e.length&&(r=e[t]):r=e,r},t.getLineWidth=function(e,t){return 0<t.mlw?t.mlw:i(e.marker.line.width)?0:e.marker.line.width}},aSHK:function(e,t,r){"use strict";var n=r("Nx4I"),a=r("/CZE"),i=r("qHYo"),o=r("poX/"),s=r("qcty"),l=r("W2jp"),c=r("P/XJ").configAttributes,u=r("+gYs"),d=r("t7il"),f=r("yzSc"),h=a.extendFlat,p=a.extendDeepAll,g=a.isPlainObject,v=a.isArrayOrTypedArray,m=a.nestedProperty,y=a.valObjectMeta,x=["_isSubplotObj","_isLinkedToArray","_arrayAttrRegexps","_deprecated"];function b(e,t,r){if(!e)return!1;if(e._isLinkedToArray)if(w(t[r]))r++;else if(r<t.length)return!1;for(;r<t.length;r++){var n=e[t[r]];if(!g(n))break;if(e=n,r===t.length-1)break;if(e._isLinkedToArray){if(!w(t[++r]))return!1}else if("info_array"===e.valType){var a=t[++r];if(!w(a))return!1;var i=e.items;if(Array.isArray(i)){if(a>=i.length)return!1;if(2===e.dimensions){if(r++,t.length===r)return e;var o=t[r];if(!w(o))return!1;e=i[a][o]}else e=i[a]}else e=i}}return e}function w(e){return e===Math.round(e)&&e>=0}function _(){var e,t,r={};for(e in p(r,o),n.subplotsRegistry){if((t=n.subplotsRegistry[e]).layoutAttributes)if(Array.isArray(t.attr))for(var a=0;a<t.attr.length;a++)M(r,t,t.attr[a]);else M(r,t,"subplot"===t.attr?t.name:t.attr)}for(e in r=function(e){return h(e,{radialaxis:d.radialaxis,angularaxis:d.angularaxis}),h(e,d.layout),e}(r),n.componentsRegistry){var i=(t=n.componentsRegistry[e]).schema;if(i&&(i.subplots||i.layout)){var s=i.subplots;if(s&&s.xaxis&&!s.yaxis)for(var l in s.xaxis)delete r.yaxis[l]}else"colorscale"===t.name?p(r,t.layoutAttributes):t.layoutAttributes&&S(r,t.layoutAttributes,t.name)}return{layoutAttributes:T(r)}}function k(){var e={frames:p({},s)};return T(e),e.frames}function T(e){return function(e){function r(e){return{valType:"string",role:"info",description:["Sets the source reference on Chart Studio Cloud for ",e,"."].join(" "),editType:"none"}}t.crawl(e,(function(e,n,a){t.isValObject(e)?"data_array"===e.valType?(e.role="data",a[n+"src"]=r(n)):!0===e.arrayOk&&(a[n+"src"]=r(n)):g(e)&&(e.role="object")}))}(e),function(e){t.crawl(e,(function(e,t,r){if(e){var n=e._isLinkedToArray;n&&(delete e._isLinkedToArray,r[t]={items:{}},r[t].items[n]=e,r[t].role="object")}}))}(e),function(e){!function e(t){for(var r in t)if(g(t[r]))e(t[r]);else if(Array.isArray(t[r]))for(var n=0;n<t[r].length;n++)e(t[r][n]);else t[r]instanceof RegExp&&(t[r]=t[r].toString())}(e)}(e),e}function M(e,t,r){var n=m(e,r),a=p({},t.layoutAttributes);a._isSubplotObj=!0,n.set(a)}function S(e,t,r){var n=m(e,r);n.set(p(n.get()||{},t))}t.IS_SUBPLOT_OBJ="_isSubplotObj",t.IS_LINKED_TO_ARRAY="_isLinkedToArray",t.DEPRECATED="_deprecated",t.UNDERSCORE_ATTRS=x,t.get=function(){var e={};n.allTypes.concat("area").forEach((function(r){e[r]=function(e){var r,a;"area"===e?(r={attributes:u},a={}):(r=n.modules[e]._module,a=r.basePlotModule);var o={type:null},s=p({},i),l=p({},r.attributes);t.crawl(l,(function(e,t,r,n,a){m(s,a).set(void 0),void 0===e&&m(l,a).set(void 0)})),p(o,s),n.traceIs(e,"noOpacity")&&delete o.opacity;n.traceIs(e,"showLegend")||(delete o.showlegend,delete o.legendgroup);n.traceIs(e,"noHover")&&(delete o.hoverinfo,delete o.hoverlabel);r.selectPoints||delete o.selectedpoints;p(o,l),a.attributes&&p(o,a.attributes);o.type=e;var c={meta:r.meta||{},categories:r.categories||{},animatable:Boolean(r.animatable),type:e,attributes:T(o)};if(r.layoutAttributes){var d={};p(d,r.layoutAttributes),c.layoutAttributes=T(d)}r.animatable||t.crawl(c,(function(e){t.isValObject(e)&&"anim"in e&&delete e.anim}));return c}(r)}));var r={};return Object.keys(n.transformsRegistry).forEach((function(e){r[e]=function(e){var t=n.transformsRegistry[e],r=p({},t.attributes);return Object.keys(n.componentsRegistry).forEach((function(t){var a=n.componentsRegistry[t];a.schema&&a.schema.transforms&&a.schema.transforms[e]&&Object.keys(a.schema.transforms[e]).forEach((function(t){S(r,a.schema.transforms[e][t],t)}))})),{attributes:T(r)}}(e)})),{defs:{valObjects:y,metaKeys:x.concat(["description","role","editType","impliedEdits"]),editType:{traces:f.traces,layout:f.layout},impliedEdits:{description:["Sometimes when an attribute is changed, other attributes","must be altered as well in order to achieve the intended","result. For example, when `range` is specified, it is","important to set `autorange` to `false` or the new `range`","value would be lost in the redraw. `impliedEdits` is the","mechanism to do this: `impliedEdits: {autorange: false}`.","Each key is a relative paths to the attribute string to","change, using *^* to ascend into the parent container,","for example `range[0]` has `impliedEdits: {*^autorange*: false}`.","A value of `undefined` means that the attribute will not be","changed, but its previous value should be recorded in case","we want to reverse this change later. For example, `autorange`","has `impliedEdits: {*range[0]*: undefined, *range[1]*:undefined}","because the range will likely be changed by redraw."].join(" ")}},traces:e,layout:_(),transforms:r,frames:k(),animation:T(l),config:T(c)}},t.crawl=function(e,r,n,a){var i=n||0;a=a||"",Object.keys(e).forEach((function(n){var o=e[n];if(-1===x.indexOf(n)){var s=(a?a+".":"")+n;r(o,n,e,i,s),t.isValObject(o)||g(o)&&"impliedEdits"!==n&&t.crawl(o,r,i+1,s)}}))},t.isValObject=function(e){return e&&void 0!==e.valType},t.findArrayAttributes=function(e){var r,n,a=[],o=[],s=[];function l(e,t,i,l){o=o.slice(0,l).concat([t]),s=s.slice(0,l).concat([e&&e._isLinkedToArray]),e&&("data_array"===e.valType||!0===e.arrayOk)&&!("colorbar"===o[l-1]&&("ticktext"===t||"tickvals"===t))&&function e(t,r,i){var l=t[o[r]],c=i+o[r];if(r===o.length-1)v(l)&&a.push(n+c);else if(s[r]){if(Array.isArray(l))for(var u=0;u<l.length;u++)g(l[u])&&e(l[u],r+1,c+"["+u+"].")}else g(l)&&e(l,r+1,c+".")}(r,0,"")}r=e,n="",t.crawl(i,l),e._module&&e._module.attributes&&t.crawl(e._module.attributes,l);var c=e.transforms;if(c)for(var u=0;u<c.length;u++){var d=c[u],f=d._module;f&&(n="transforms["+u+"].",r=d,t.crawl(f.attributes,l))}return a},t.getTraceValObject=function(e,t){var r,a,o=t[0],s=1;if("transforms"===o){if(1===t.length)return i.transforms;var l=e.transforms;if(!Array.isArray(l)||!l.length)return!1;var c=t[1];if(!w(c)||c>=l.length)return!1;a=(r=(n.transformsRegistry[l[c].type]||{}).attributes)&&r[t[2]],s=3}else if("area"===e.type)a=u[o];else{var d=e._module;if(d||(d=(n.modules[e.type||i.type.dflt]||{})._module),!d)return!1;if(!(a=(r=d.attributes)&&r[o])){var f=d.basePlotModule;f&&f.attributes&&(a=f.attributes[o])}a||(a=i[o])}return b(a,t,s)},t.getLayoutValObject=function(e,t){return b(function(e,t){var r,a,i,s,l=e._basePlotModules;if(l){var c;for(r=0;r<l.length;r++){if((i=l[r]).attrRegex&&i.attrRegex.test(t)){if(i.layoutAttrOverrides)return i.layoutAttrOverrides;!c&&i.layoutAttributes&&(c=i.layoutAttributes)}var u=i.baseLayoutAttrOverrides;if(u&&t in u)return u[t]}if(c)return c}var f=e._modules;if(f)for(r=0;r<f.length;r++)if((s=f[r].layoutAttributes)&&t in s)return s[t];for(a in n.componentsRegistry){if("colorscale"===(i=n.componentsRegistry[a]).name&&0===t.indexOf("coloraxis"))return i.layoutAttributes[t];if(!i.schema&&t===i.name)return i.layoutAttributes}if(t in o)return o[t];if("radialaxis"===t||"angularaxis"===t)return d[t];return d.layout[t]||!1}(e,t[0]),t,1)}},aWIO:function(e,t,r){"use strict";var n=r("bljh"),a=r("Nx4I"),i=r("xMdC").appendArrayPointValue,o=r("pcRN"),s=r("/CZE"),l=r("h0EB"),c=r("+1bK"),u=r("WeBh").formatPieValue;function d(e,t,r){for(var n=e.data.data,a={curveNumber:t.index,pointNumber:n.i,data:t._input,fullData:t},o=0;o<r.length;o++){var s=r[o];s in e&&(a[s]=e[s])}return"parentString"in e&&!c.isHierarchyRoot(e)&&(a.parent=e.parentString),i(a,t,n.i),a}e.exports=function(e,t,r,i,f){var h=i[0],p=h.trace,g=h.hierarchy,v="sunburst"===p.type,m="treemap"===p.type;"_hasHoverLabel"in p||(p._hasHoverLabel=!1),"_hasHoverEvent"in p||(p._hasHoverEvent=!1);e.on("mouseover",(function(a){var i=r._fullLayout;if(!r._dragging&&!1!==i.hovermode){var l=r._fullData[p.index],y=a.data.data,x=y.i,b=c.isHierarchyRoot(a),w=c.getParent(g,a),_=c.getValue(a),k=function(e){return s.castOption(l,x,e)},T=k("hovertemplate"),M=o.castHoverinfo(l,i,x),S=i.separators;if(T||M&&"none"!==M&&"skip"!==M){var A,C;v&&(A=h.cx+a.pxmid[0]*(1-a.rInscribed),C=h.cy+a.pxmid[1]*(1-a.rInscribed)),m&&(A=a._hoverX,C=a._hoverY);var P,O={},I=[],z=[],L=function(e){return-1!==I.indexOf(e)};M&&(I="all"===M?l._module.attributes.hoverinfo.flags:M.split("+")),O.label=y.label,L("label")&&O.label&&z.push(O.label),y.hasOwnProperty("v")&&(O.value=y.v,O.valueLabel=u(O.value,S),L("value")&&z.push(O.valueLabel)),O.currentPath=a.currentPath=c.getPath(a.data),L("current path")&&!b&&z.push(O.currentPath);var E=[],j=function(){-1===E.indexOf(P)&&(z.push(P),E.push(P))};O.percentParent=a.percentParent=_/c.getValue(w),O.parent=a.parentString=c.getPtLabel(w),L("percent parent")&&(P=c.formatPercent(O.percentParent,S)+" of "+O.parent,j()),O.percentEntry=a.percentEntry=_/c.getValue(t),O.entry=a.entry=c.getPtLabel(t),!L("percent entry")||b||a.onPathbar||(P=c.formatPercent(O.percentEntry,S)+" of "+O.entry,j()),O.percentRoot=a.percentRoot=_/c.getValue(g),O.root=a.root=c.getPtLabel(g),L("percent root")&&!b&&(P=c.formatPercent(O.percentRoot,S)+" of "+O.root,j()),O.text=k("hovertext")||k("text"),L("text")&&(P=O.text,s.isValidTextValue(P)&&z.push(P));var D={trace:l,y:C,text:z.join("<br>"),name:T||L("name")?l.name:void 0,color:k("hoverlabel.bgcolor")||y.color,borderColor:k("hoverlabel.bordercolor"),fontFamily:k("hoverlabel.font.family"),fontSize:k("hoverlabel.font.size"),fontColor:k("hoverlabel.font.color"),nameLength:k("hoverlabel.namelength"),textAlign:k("hoverlabel.align"),hovertemplate:T,hovertemplateLabels:O,eventData:[d(a,l,f.eventDataKeys)]};v&&(D.x0=A-a.rInscribed*a.rpx1,D.x1=A+a.rInscribed*a.rpx1,D.idealAlign=a.pxmid[0]<0?"left":"right"),m&&(D.x=A,D.idealAlign=A<0?"left":"right"),o.loneHover(D,{container:i._hoverlayer.node(),outerContainer:i._paper.node(),gd:r}),p._hasHoverLabel=!0}if(m){var R=e.select("path.surface");f.styleOne(R,a,l,{hovered:!0})}p._hasHoverEvent=!0,r.emit("plotly_hover",{points:[d(a,l,f.eventDataKeys)],event:n.event})}})),e.on("mouseout",(function(t){var a=r._fullLayout,i=r._fullData[p.index],s=n.select(this).datum();if(p._hasHoverEvent&&(t.originalEvent=n.event,r.emit("plotly_unhover",{points:[d(s,i,f.eventDataKeys)],event:n.event}),p._hasHoverEvent=!1),p._hasHoverLabel&&(o.loneUnhover(a._hoverlayer.node()),p._hasHoverLabel=!1),m){var l=e.select("path.surface");f.styleOne(l,s,i,{hovered:!1})}})),e.on("click",(function(e){var t=r._fullLayout,i=r._fullData[p.index],s=v&&(c.isHierarchyRoot(e)||c.isLeaf(e)),u=c.getPtId(e),h=c.isEntry(e)?c.findEntryWithChild(g,u):c.findEntryWithLevel(g,u),m=c.getPtId(h),y={points:[d(e,i,f.eventDataKeys)],event:n.event};s||(y.nextLevel=m);var x=l.triggerHandler(r,"plotly_"+p.type+"click",y);if(!1!==x&&t.hovermode&&(r._hoverdata=[d(e,i,f.eventDataKeys)],o.click(r,n.event)),!s&&!1!==x&&!r._dragging&&!r._transitioning){a.call("_storeDirectGUIEdit",i,t._tracePreGUI[i.uid],{level:i.level});var b={data:[{level:m}],traces:[p.index]},w={frame:{redraw:!1,duration:f.transitionTime},transition:{duration:f.transitionTime,easing:f.transitionEasing},mode:"immediate",fromcurrent:!0};o.loneUnhover(t._hoverlayer.node()),a.call("animate",r,b,w)}}))}},al3m:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r("EUZL"),a=r.n(n),i=r("L2JU");const o={data:()=>({monthNames:["JAN","FEB","MAR","APR","MAY","JUNE","JULY","AUG","SEP","OCT","NOV","DEC"]}),computed:{...Object(i.b)(["getItemMetaById","getMetaNameById"])},methods:{filterStringToArray:function(e){if(!e)return[];var t=[],r=e.split(/[\[\]]/);r=r.filter(Boolean);for(var n=0;n<r.length;n++){var a={},i=r[n].split(/[()]/);a.FilterItemId=i[0],a.FilterOper=i[1],a.FilterValues=i[2].split(":"),t.push(a)}return t},getPseudoHeader:function(e,t){var r=[];0==t&&(t=1);for(var n=0;n<e.length;n++){for(var a=[],i=n!=e.length-1?1:t;i<e[n].length;i++)for(var o=e[n][i].colspan,s=e[n][i].value,l=0;l<o;l++)a.push(s);r.push(a)}return r},getDataValue:function(e,t,r,n,a,i){for(var o=e.pop(),s=i.indexOf(o),l=0;l<t.length;l++)if(this.arraysEqual(e,t[l].slice(0,r+n-a)))return t[l][r+n-a+s];return 0},arraysEqual:function(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if(e.length!=t.length)return!1;for(var r=0;r<e.length;++r)if(e[r]!==t[r])return!1;return!0},getTransposedPseudoHeader:function(e){for(var t=new Array,r=0;r<e[0].length;r++){for(var n=new Array,a=0;a<e.length;a++)n.push(e[a][r]);t.push(n)}return t},getAllValues:function(e,t,r,n,a,i,o){o&&t.sort((function(e,t){if("date"==o.DataType.toLowerCase()||"number"==o.DataType.toLowerCase())return new Date(e[0])-new Date(t[0]);if("char"==o.DataType.toLowerCase()||"string"==o.DataType.toLowerCase()){if(e[0]<t[0])return-1;if(e[0]>t[0])return 1}}));var s=[],l=t.map((function(e){return e.slice(0,r)}));l=this.normalize(l);for(var c=this.getPseudoHeader(e,r),u=this.getTransposedPseudoHeader(c),d=0;d<l.length;d++){var f=new Array;f=f.concat(l[d]);for(var h=0;h<u.length;h++){var p=l[d].concat(u[h]),g=this.getDataValue(p,t,r,n,a,i);f.push(g)}0==r&&f.splice(0,0,""),s.push(f)}return s},getDistinctValues:function(e,t){var r=[];r.push(t[0].slice(0,e.length));for(var n=1;n<t.length;n++){for(var a=!1,i=0;i<r.length&&!a;i++)a=this.arraysEqual(t[n].slice(0,e.length),r[i]);a||r.push(t[n].slice(0,e.length))}return r},normalize:function(e){for(var t=[],r=0;r<e.length;++r)this.contains(t,e[r])||t.push(e[r]);return t},contains:function(e,t){for(var r=0;r<e.length;r++)if(this.arraysEqual(e[r],t))return!0;return!1},getDistinctChildCounts:function(e,t){for(var r=t.map((function(t){return t.slice(0,e.length)})),n=0,a=0;a<r.length;a++)this.arraysEqual(e,r[a])&&n++;return n},sortCTData:function(e,t,r,n,a){for(var i=r;i<r+n-a;i++){if(e[i]<t[i])return-1;if(e[i]>t[i])return 1}return 0},getHeader:function(e,t,r,n,a,i,o,s,l,c,u){c=a.length;for(var d="",f=[],h=0;h<i.length;h++)i[h]<1e4?d=i[h]:f.push(i[h]);u=this.getItemMetaById(d),e.sort((function(e,t){if("date"==u.DataType.toLowerCase()||"number"==u.DataType.toLowerCase())return new Date(e[c])-new Date(t[c]);if("char"==u.DataType.toLowerCase()||"string"==u.DataType.toLowerCase()){if(e[c]<t[c])return-1;if(e[c]>t[c])return 1}}));var p=[],g=e.map((function(e){return e.slice(t,t+r-n)})),v=this.normalize(g),m=[];for(h=0;h<i.length;h++)+i[h]<1e4&&m.push(o[h]);for(h=0;h<m.length;h++){var y=[];(T=new Object).value=m[h],T.colspan=0==t?1:t,T.itemId=u.Id,T.text=m[h],y.push(T);for(var x=this.getDistinctValues(m.slice(0,h+1),g),b=0;b<x.length;b++){var w=this.getDistinctChildCounts(x[b],v);(T=new Object).value=x[b][x[b].length-1],T.colspan=w*n,u&&(T.itemId=u.Id),T.text=x[b][x[b].length-1],y.push(T)}p.push(y)}var _=p[p.length-1].length-1;y=[];0==t&&((T=new Object).itemId="",T.value="",T.colspan=1,y.push(T));for(var k=0;k<t;k++){(T=new Object).itemId=a[k],T.value=s[k],T.colspan=1,y.push(T)}for(h=0;h<_;h++)for(b=0;b<n;b++){var T;(T=new Object).itemId=f[b],T.value=l[b],T.colspan=1,y.push(T)}return p.push(y),p},getHeaderForGraph:function(e,t,r,n,a,i,o,s,l,c,u){c=a.length;for(var d="",f=[],h=0;h<i.length;h++)i[h]<1e4?d=i[h]:f.push(i[h]);u=this.getItemMetaById(d),e.sort((function(e,t){if("date"==u.DataType.toLowerCase()||"number"==u.DataType.toLowerCase())return new Date(e[c])-new Date(t[c]);if("char"==u.DataType.toLowerCase()||"string"==u.DataType.toLowerCase()){if(e[c]<t[c])return-1;if(e[c]>t[c])return 1}}));var p=e.map((function(e){return e.slice(t,t+r-n)})),g=this.normalize(p),v=[];for(h=0;h<g.length;h++)for(var m=0;m<l.length;m++)v=v.concat(g[h]+"_"+l[m]);var y=s.concat(v),x={};return x.nmeas=v.length,x.header=y,x.ndims=t,x},exportToExcelCrossTab_SheetJS:function(e,t,r,n,i){for(var o=i.concat(n[n.length-1]),s=new Array,l=0;l<n.length-1;l++)s.push(n[l]);var c=new Array;for(l=0;l<o.length;l++)c.push(this.getItemMetaById(o[l]));var u=new Array;for(l=0;l<n.length-1;l++)u.push(this.getItemMetaById(n[l]));var d=new Array;for(l=0;l<i.length;l++)d.push(this.getItemMetaById(i[l]));var f=new Array,h=new Array,p=new Array,g=new Array,v=new Array;for(l=0;l<d.length;l++)h.push(d[l].Name);for(l=0;l<c.length;l++)v.push(c[l].Id),f.push(c[l].Name);for(l=0;l<u.length;l++)g.push(u[l].Id),p.push(u[l].Name);var m=e.slice(1),y=this.getHeader(m,u.length,c.length,d.length,g,v,f,p,h,"",""),x=getAllValues(y,m,u.length,c.length,d.length,h),b=y[y.length-1],w=[];for(l=0;l<b.length;l++)if(b[l].itemId>1e4){var _=this.getItemMetaById(b[l].itemId);if(x.length){for(var k=0,T=0,M=0,S=Number(x[0][l]),A=Number(x[0][l]),C=0;C<x.length;C++)M+=T=Number(x[C][l]),S=S<T?S:T,A=A>T?A:T;k="Min"==_.AggFunction?S:"Max"==_.AggFunction?A:"avg"==_.AggFunction?M/x.length:M,w.push(k)}}var P=[],O=[],I=0;t&&(P.push([t]),O.push({s:{r:I,c:0},e:{r:I,c:24}}),I++),r&&(P.push([r]),O.push({s:{r:I,c:0},e:{r:I,c:24}}),I++),(t||r)&&(P.push([""]),O.push({s:{r:I,c:0},e:{r:I,c:24}}),I++);for(l=0;l<y.length;l++){var z=[],L=0;for(C=0;C<y[l].length;C++){z.push(y[l][C].value),O.push({s:{r:I,c:L},e:{r:I,c:L+y[l][C].colspan-1}}),L+=y[l][C].colspan;for(var E=0;E<y[l][C].colspan-1;E++)z.push("")}P.push(z),I++}for(l=0;l<x.length;l++){var j=[];for(C=0;C<b.length;C++){if((N={}).v=x[l][C],b[C].itemId>1e4)N.t="n",N.z="#,##0";else{var D=this.getItemMetaById(b[C].itemId);"time"==D.Table&&"month"==D.Column&&(N.v=this.monthNames[N.v-1]),"Date"==D.DataSubType?N.t="d":N.t="s"}j.push(N)}P.push(j)}j=[{v:"Grand Total",t:"s"}];I+=x.length;var R=b.length-w.length-1;for(l=0,C=0;l<b.length;l++){var N;if(b[l].itemId<1e4)l>0&&j.push("");else(N={}).v=w[C],b[l].itemId>1e4&&(N.t="n",N.z="#,##0"),j.push(N),C++}P.push(j),O.push({s:{r:I,c:0},e:{r:I,c:R}});var F=a.a.utils.aoa_to_sheet(P);F["!merges"]=O;var B=a.a.utils.book_new();a.a.utils.book_append_sheet(B,F,"Sheet1");var H=(new Date).getTime();return t.trim()&&(H=t.trim()),a.a.writeFile(B,H+".xlsx")},drawCrossTabGraph(e,t,r,n,a,i){this.itemList=this.$store.state.itemList;for(var o=t.DimensionIds.split(":"),s=t.MeasureIds.split(":"),l=s.concat(o[o.length-1]),c=new Array,u=0;u<o.length-1;u++)c.push(o[u]);var d=new Array;for(u=0;u<l.length;u++)l.length,d.push(this.getItemMetaById(l[u]));var f=new Array;for(u=0;u<o.length-1;u++)f.push(this.getItemMetaById(o[u]));var h=new Array;for(u=0;u<s.length;u++)h.push(this.getItemMetaById(s[u]));var p=new Array,g=new Array,v=new Array,m=new Array,y=new Array;for(u=0;u<h.length;u++)g.push(h[u].Name);for(u=0;u<d.length;u++)y.push(d[u].Id),p.push(d[u].Name);for(u=0;u<f.length;u++)m.push(f[u].Id),v.push(f[u].Name);var x=e.data.slice(1),b=this.getHeaderForGraph(x,f.length,d.length,h.length,m,y,p,v,g,"","");this.crossTabHeader=b;var w=this.getHeader(x,f.length,d.length,h.length,m,y,p,v,g,"",""),_=this.getAllValues(w,x,f.length,d.length,h.length,g);console.log(b);var k=[b.header].concat(_);this.drawPlotlyCharts(e.Target,k,b.ndims,b.nmeas,r,n,a,i)},exportToExcel_SheetJS:function(e,t,r,n,i){var o=[],s=[],l=0;t&&(o.push([t]),s.push({s:{r:l,c:0},e:{r:l,c:24}}),l++),r&&(o.push([r]),s.push({s:{r:l,c:0},e:{r:l,c:24}}),l++),(t||r)&&(o.push([]),s.push({s:{r:l,c:0},e:{r:l,c:24}}),l++),o.push(e[0]);for(var c=1;c<e.length;c++){for(var u=[],d=0;d<e[c].length;d++){if((p={}).v=e[c][d],n[d]>1e4)p.t="n",p.z="#,##0";else{var f=this.getItemMetaById(n[d]);"time"==f.Table&&"month"==f.Column&&(p.v=this.monthNames[p.v-1]),"Date"==f.DataSubType?p.t="d":p.t="s"}u.push(p)}o.push(u)}u=[{v:"Grand Total",t:"s"}];l+=e.length;var h=-1;for(c=0;c<i.length;c++){var p;if(n[c]<1e4)h++,c>0&&u.push("");else(p={}).v=i[c],n[c]>1e4&&(p.t="n",p.z="#,##0"),u.push(p)}o.push(u),s.push({s:{r:l,c:0},e:{r:l,c:h}});var g=a.a.utils.aoa_to_sheet(o);g["!merges"]=s;var v=a.a.utils.book_new();a.a.utils.book_append_sheet(v,g,"Sheet1");var m=(new Date).getTime();return t.trim()&&(m=t.trim()),a.a.writeFile(v,m+".xlsx")}}}},at2O:function(e,t,r){"use strict";var n=r("/CZE"),a=r("PBw4").id2name,i=r("l1mV"),o=r("zlYT").makePadFn,s=r("zlYT").concatExtremes,l=r("6AZA").ALMOST_EQUAL,c=r("Y9zF").FROM_BL;function u(e,t,r,n,i){var o,s,l,c,u="range"!==i,d=n[a(t)].type,f=[];for(s=0;s<r.length;s++)if((l=r[s])!==t&&(c=n[a(l)]).type===d)if(c.fixedrange){if(u&&c.anchor){n[a(c.anchor)].fixedrange&&f.push(l)}}else f.push(l);for(o=0;o<e.length;o++)if(e[o][t]){var h=e[o],p=[];for(s=0;s<f.length;s++)h[l=f[s]]||p.push(l);return{linkableAxes:p,thisGroup:h}}return{linkableAxes:f,thisGroup:null}}function d(e,t,r,n,a){var i,o,s,l,c;null===t?((t={})[r]=1,c=e.length,e.push(t)):c=e.indexOf(t);var u=Object.keys(t);for(i=0;i<e.length;i++)if(s=e[i],i!==c&&s[n]){var d=s[n];for(o=0;o<u.length;o++)s[l=u[o]]=d*a*t[l];return void e.splice(c,1)}if(1!==a)for(o=0;o<u.length;o++)t[u[o]]*=a;t[n]=1}function f(e,t){var r=e._inputDomain,n=c[e.constraintoward],a=r[0]+(r[1]-r[0])*n;e.domain=e._input.domain=[a+(r[0]-a)/t,a+(r[1]-a)/t],e.setScale()}t.handleConstraintDefaults=function(e,t,r,a){var i,o,s,l,c=a.allAxisIds,f=a.layoutOut,h=a.scaleanchorDflt,p=a.constrainDflt,g=f._axisConstraintGroups,v=f._axisMatchGroups,m=t._id,y=m.charAt(0),x=((f._splomAxes||{})[y]||{})[m]||{},b=t._id,w=b.charAt(0),_=r("constrain",p);if(n.coerce(e,t,{constraintoward:{valType:"enumerated",values:"x"===w?["left","center","right"]:["bottom","middle","top"],dflt:"x"===w?"center":"middle"}},"constraintoward"),!e.matches&&!x.matches||t.fixedrange||(o=u(v,b,c,f),i=n.coerce(e,t,{matches:{valType:"enumerated",values:o.linkableAxes||[],dflt:x.matches}},"matches")),i||t.fixedrange&&"domain"!==_||!e.scaleanchor&&!h||(l=u(g,b,c,f,_),s=n.coerce(e,t,{scaleanchor:{valType:"enumerated",values:l.linkableAxes||[]}},"scaleanchor",h)),i?(delete t.constrain,d(v,o.thisGroup,b,i,1)):-1!==c.indexOf(e.matches)&&n.warn("ignored "+t._name+'.matches: "'+e.matches+'" to avoid either an infinite loop or because the target axis has fixed range.'),s){var k=r("scaleratio");k||(k=t.scaleratio=1),d(g,l.thisGroup,b,s,k)}else-1!==c.indexOf(e.scaleanchor)&&n.warn("ignored "+t._name+'.scaleanchor: "'+e.scaleanchor+'" to avoid either an infinite loop and possibly inconsistent scaleratios, or because the target axis has fixed range or this axis declares a *matches* constraint.')},t.enforce=function(e){var t,r,n,c,u,d,h,p=e._fullLayout,g=p._axisConstraintGroups||[];for(t=0;t<g.length;t++){var v=g[t],m=Object.keys(v),y=1/0,x=0,b=1/0,w={},_={},k=!1;for(r=0;r<m.length;r++)_[n=m[r]]=c=p[a(n)],c._inputDomain?c.domain=c._inputDomain.slice():c._inputDomain=c.domain.slice(),c._inputRange||(c._inputRange=c.range.slice()),c.setScale(),w[n]=u=Math.abs(c._m)/v[n],y=Math.min(y,u),"domain"!==c.constrain&&c._constraintShrinkable||(b=Math.min(b,u)),delete c._constraintShrinkable,x=Math.max(x,u),"domain"===c.constrain&&(k=!0);if(!(y>l*x)||k)for(r=0;r<m.length;r++)if(u=w[n=m[r]],d=(c=_[n]).constrain,u!==b||"domain"===d)if(h=u/b,"range"===d)i(c,h);else{var T=c._inputDomain,M=(c.domain[1]-c.domain[0])/(T[1]-T[0]),S=(c.r2l(c.range[1])-c.r2l(c.range[0]))/(c.r2l(c._inputRange[1])-c.r2l(c._inputRange[0]));if((h/=M)*S<1){c.domain=c._input.domain=T.slice(),i(c,h);continue}if(S<1&&(c.range=c._input.range=c._inputRange.slice(),h*=S),c.autorange){var A=c.r2l(c.range[0]),C=c.r2l(c.range[1]),P=(A+C)/2,O=P,I=P,z=Math.abs(C-P),L=P-z*h*1.0001,E=P+z*h*1.0001,j=o(c);f(c,h);var D,R,N=Math.abs(c._m),F=s(e,c),B=F.min,H=F.max;for(R=0;R<B.length;R++)(D=B[R].val-j(B[R])/N)>L&&D<O&&(O=D);for(R=0;R<H.length;R++)(D=H[R].val+j(H[R])/N)<E&&D>I&&(I=D);h/=(I-O)/(2*z),O=c.l2r(O),I=c.l2r(I),c.range=c._input.range=A<C?[O,I]:[I,O]}f(c,h)}}},t.clean=function(e,t){if(t._inputDomain){for(var r=!1,n=t._id,a=e._fullLayout._axisConstraintGroups,i=0;i<a.length;i++)if(a[i][n]){r=!0;break}r&&"domain"===t.constrain||(t._input.domain=t.domain=t._inputDomain,delete t._inputDomain)}}},avjU:function(e,t,r){"use strict";var n=Array.isArray,a="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer:{isView:function(){return!1}},i="undefined"==typeof DataView?function(){}:DataView;function o(e){return a.isView(e)&&!(e instanceof i)}function s(e){return n(e)||o(e)}function l(e,t,r){if(s(e)){if(s(e[0])){for(var n=r,a=0;a<e.length;a++)n=t(n,e[a].length);return n}return e.length}return 0}t.isTypedArray=o,t.isArrayOrTypedArray=s,t.isArray1D=function(e){return!s(e[0])},t.ensureArray=function(e,t){return n(e)||(e=[]),e.length=t,e},t.concat=function(){var e,t,r,a,i,o,s,l,c=[],u=!0,d=0;for(r=0;r<arguments.length;r++)(o=(a=arguments[r]).length)&&(t?c.push(a):(t=a,i=o),n(a)?e=!1:(u=!1,d?e!==a.constructor&&(e=!1):e=a.constructor),d+=o);if(!d)return[];if(!c.length)return t;if(u)return t.concat.apply(t,c);if(e){for((s=new e(d)).set(t),r=0;r<c.length;r++)a=c[r],s.set(a,i),i+=a.length;return s}for(s=new Array(d),l=0;l<t.length;l++)s[l]=t[l];for(r=0;r<c.length;r++){for(a=c[r],l=0;l<a.length;l++)s[i+l]=a[l];i+=l}return s},t.maxRowLength=function(e){return l(e,Math.max,0)},t.minRowLength=function(e){return l(e,Math.min,1/0)}},axA2:function(e,t,r){"use strict";var n=r("/CZE"),a=r("plED"),i=r("PBw4"),o=r("jzia"),s=r("WEQY");e.exports=function(e,t,r){var l=e[r],c=t[r];if(l.rangeslider||t._requestRangeslider[c._id]){n.isPlainObject(l.rangeslider)||(l.rangeslider={});var u,d,f=l.rangeslider,h=a.newContainer(c,"rangeslider");if(w("visible")){w("bgcolor",t.plot_bgcolor),w("bordercolor"),w("borderwidth"),w("thickness"),w("autorange",!c.isValidRange(f.range)),w("range");var p=t._subplots;if(p)for(var g=p.cartesian.filter((function(e){return e.substr(0,e.indexOf("y"))===i.name2id(r)})).map((function(e){return e.substr(e.indexOf("y"),e.length)})),v=n.simpleMap(g,i.id2name),m=0;m<v.length;m++){var y=v[m];u=f[y]||{},d=a.newContainer(h,y,"yaxis");var x,b=t[y];u.range&&b.isValidRange(u.range)&&(x="fixed"),"match"!==_("rangemode",x)&&_("range",b.range.slice())}h._input=f}}function w(e,t){return n.coerce(f,h,o,e,t)}function _(e,t){return n.coerce(u,d,s,e,t)}}},b5aN:function(e,t,r){"use strict";e.exports=function(e,t){return e.x="xVal"in t?t.xVal:t.x,e.y="yVal"in t?t.yVal:t.y,"percentInitial"in t&&(e.percentInitial=t.percentInitial),"percentPrevious"in t&&(e.percentPrevious=t.percentPrevious),"percentTotal"in t&&(e.percentTotal=t.percentTotal),t.xa&&(e.xaxis=t.xa),t.ya&&(e.yaxis=t.ya),e}},b79I:function(e,t,r){"use strict";(function(e){var n=r("L2JU");t.a={name:"cub-graph-settings",props:["showGraphSettingsDialog","conf"],data:()=>({rules:{counter:e=>e<=1},selectedGraphType:"",set:{},selectedMeasure:"",gSettings:{showlegends:!0,showpointlabels:!1,reporttitle:"",showCurrency:!1,showSearch:!1,isComparison:!1,desiredValueTendency:"incr",legendorientation:"v",legendposition:{x:"1",y:"1",anchor:"left"}},measureProps:{tracetype:"",showmeasure:!0,selectedMeasureIndex:0,ismeasurepropsapplied:!1,layout:{},showygridline:!1,showyzeroline:!1,color:""},axesProps:{showmultiaxes:!1,showxgridline:!1,showxzeroline:!1,autotick:!1},report:"",item:{},graphTypes:["Column","Bar","Line","Scatter","StackedBar","StackedArea","Pie","Donut","Bubble","DataTable","Geo","Sunburst","Funnel","StackedFunnel","Heatmap","Treemap","InfoBox","ProgressBar"],tracetypes:["bar","scatter"],menu:!1}),model:{prop:"showGraphSettingsDialog",event:"showGraphSettingsDialog"},created(){var e=this.getReportById(this.conf.reportId);this.report=e,this.item.Target=this.conf.Target,this.item.title=this.conf.title,this.selectedGraphType=this.conf.gtype,this.item.dimensions=e.DimensionIds.split(":"),this.item.measures=e.MeasureIds.split(":"),this.selectedMeasure=this.item.measures[0],this.item.filter=e.DimensionFilters,this.retrieveGraphSettings(this.conf.gtype,this.conf.layout.graphSettings,this.conf.layout.measureprops,this.conf.layout.axesprops)},mounted(){console.log("HI")},methods:{changeGraph(){var e={};e.graphSettings=this.gSettings,e.axesprops=this.axesProps,e.measureprops=this.measureProps,e.selectedGraphType=this.selectedGraphType,this.$emit("event",e)},retrieveGraphSettings(t,r,n,a){this.selectedGraphType=t,e.extend(!0,this.gSettings,this.gSettings,r),e.extend(!0,this.measureProps,this.measureProps,n),e.extend(!0,this.axesProps,this.axesProps,a),null!=this.gSettings.reporttitle&&""!=this.gSettings.reporttitle||(this.gSettings.reporttitle=this.conf.title)},cancel(){this.retrieveGraphSettings(this.conf.gtype,this.conf.layout.graphSettings,this.conf.layout.measureprops,this.conf.layout.axesprops),this.$emit("cancelevent",!0)},measurePropsApply(){this.measureProps.ismeasurepropsapplied=!0;var e={};e.showmeasure=this.measureProps.showmeasure,e.tracetype=this.measureProps.tracetype,e.ismeasurepropsapplied=!0,e.measureid=this.selectedMeasure,e.color=this.measureProps.color,e.showygridline=this.measureProps.showygridline,e.showyzeroline=this.measureProps.showyzeroline,this.measureProps.layout[this.measureProps.selectedMeasureIndex]=e,this.changeGraph()},measureSelection(e,t){this.selectedMeasure=e,this.measureProps.selectedMeasureIndex=t;var r=!1;for(var n in this.measureProps.layout)this.selectedMeasure==this.measureProps.layout[n].measureid&&(r=this.measureProps.layout[n]);r?(this.measureProps.showmeasure=r.showmeasure,this.measureProps.tracetype=r.tracetype,this.measureProps.color=r.color,this.measureProps.showygridline=r.showygridline,this.measureProps.showyzeroline=r.showyzeroline):(this.measureProps.showmeasure=!0,this.measureProps.tracetype="",this.measureProps.color="",this.measureProps.showygridline=!1,this.measureProps.showyzeroline=!1)}},computed:{internalShowGraphSettingsDialog:{get:function(){return this.showGraphSettingsDialog},set:function(e){this.$emit("change",e)}},...Object(n.b)(["getReportById","getMetaNameById"]),isGraph:{get(){return"InfoBox"!=this.selectedGraphType&&"ProgressBar"!=this.selectedGraphType&&"DataTable"!=this.selectedGraphType}},isMap:{get(){return"Treemap"==this.selectedGraphType||"Heatmap"==this.selectedGraphType}},isMultiaxes:{get(){return"Column"==this.selectedGraphType||"Bar"==this.selectedGraphType||"StackedBar"==this.selectedGraphType||"StackedArea"==this.selectedGraphType||"Line"==this.selectedGraphType||"Scatter"==this.selectedGraphType||"Bubble"==this.selectedGraphType}}}}}).call(this,r("+2Rf"))},b8PE:function(e,t,r){"use strict";function n(e){return!0===e.visible}function a(e){var t=e[0].trace;return!0===t.visible&&0!==t._length}e.exports=function(e){for(var t,r=(t=e,Array.isArray(t)&&Array.isArray(t[0])&&t[0][0]&&t[0][0].trace?a:n),i=[],o=0;o<e.length;o++){var s=e[o];r(s)&&i.push(s)}return i}},bFr3:function(e,t,r){"use strict";t.isLeftAnchor=function(e){return"left"===e.xanchor||"auto"===e.xanchor&&e.x<=1/3},t.isCenterAnchor=function(e){return"center"===e.xanchor||"auto"===e.xanchor&&e.x>1/3&&e.x<2/3},t.isRightAnchor=function(e){return"right"===e.xanchor||"auto"===e.xanchor&&e.x>=2/3},t.isTopAnchor=function(e){return"top"===e.yanchor||"auto"===e.yanchor&&e.y>=2/3},t.isMiddleAnchor=function(e){return"middle"===e.yanchor||"auto"===e.yanchor&&e.y>1/3&&e.y<2/3},t.isBottomAnchor=function(e){return"bottom"===e.yanchor||"auto"===e.yanchor&&e.y<=1/3}},bKUU:function(e,t,r){"use strict";e.exports=r("iauE")},bQo4:function(e,t,r){"use strict";e.exports=r("x8K2")},bSxP:function(e,t,r){"use strict";var n=r("Pnqv");r.n(n).a},bcxm:function(e,t,r){"use strict";var n=r("GbLo");e.exports={count:function(e,t,r){return r[e]++,1},sum:function(e,t,r,a){var i=a[t];return n(i)?(i=Number(i),r[e]+=i,i):0},avg:function(e,t,r,a,i){var o=a[t];return n(o)&&(o=Number(o),r[e]+=o,i[e]++),0},min:function(e,t,r,a){var i=a[t];if(n(i)){if(i=Number(i),!n(r[e]))return r[e]=i,i;if(r[e]>i){var o=i-r[e];return r[e]=i,o}}return 0},max:function(e,t,r,a){var i=a[t];if(n(i)){if(i=Number(i),!n(r[e]))return r[e]=i,i;if(r[e]<i){var o=i-r[e];return r[e]=i,o}}return 0}}},bkDJ:function(e,t,r){"use strict";var n=r("09xr"),a=n.mod,i=n.modHalf,o=Math.PI,s=2*o;function l(e){return Math.abs(e[1]-e[0])>s-1e-14}function c(e,t){return i(t-e,s)}function u(e,t){if(l(t))return!0;var r,n;t[0]<t[1]?(r=t[0],n=t[1]):(r=t[1],n=t[0]),(r=a(r,s))>(n=a(n,s))&&(n+=s);var i=a(e,s),o=i+s;return i>=r&&i<=n||o>=r&&o<=n}function d(e,t,r,n,a,i,c){a=a||0,i=i||0;var u,d,f,h,p,g=l([r,n]);function v(e,t){return[e*Math.cos(t)+a,i-e*Math.sin(t)]}g?(u=0,d=o,f=s):r<n?(u=r,f=n):(u=n,f=r),e<t?(h=e,p=t):(h=t,p=e);var m,y=Math.abs(f-u)<=o?0:1;function x(e,t,r){return"A"+[e,e]+" "+[0,y,r]+" "+v(e,t)}return g?m=null===h?"M"+v(p,u)+x(p,d,0)+x(p,f,0)+"Z":"M"+v(h,u)+x(h,d,0)+x(h,f,0)+"ZM"+v(p,u)+x(p,d,1)+x(p,f,1)+"Z":null===h?(m="M"+v(p,u)+x(p,f,0),c&&(m+="L0,0Z")):m="M"+v(h,u)+"L"+v(p,u)+x(p,f,0)+"L"+v(h,f)+x(h,u,1)+"Z",m}e.exports={deg2rad:function(e){return e/180*o},rad2deg:function(e){return e/o*180},angleDelta:c,angleDist:function(e,t){return Math.abs(c(e,t))},isFullCircle:l,isAngleInsideSector:u,isPtInsideSector:function(e,t,r,n){return!!u(t,n)&&(r[0]<r[1]?(a=r[0],i=r[1]):(a=r[1],i=r[0]),e>=a&&e<=i);var a,i},pathArc:function(e,t,r,n,a){return d(null,e,t,r,n,a,0)},pathSector:function(e,t,r,n,a){return d(null,e,t,r,n,a,1)},pathAnnulus:function(e,t,r,n,a,i){return d(e,t,r,n,a,i,1)}}},bljh:function(e,t,r){var n,a;!function(){var i={version:"3.5.17"},o=[].slice,s=function(e){return o.call(e)},l=this.document;function c(e){return e&&(e.ownerDocument||e.document||e).documentElement}function u(e){return e&&(e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView)}if(l)try{s(l.documentElement.childNodes)[0].nodeType}catch(e){s=function(e){for(var t=e.length,r=new Array(t);t--;)r[t]=e[t];return r}}if(Date.now||(Date.now=function(){return+new Date}),l)try{l.createElement("DIV").style.setProperty("opacity",0,"")}catch(e){var d=this.Element.prototype,f=d.setAttribute,h=d.setAttributeNS,p=this.CSSStyleDeclaration.prototype,g=p.setProperty;d.setAttribute=function(e,t){f.call(this,e,t+"")},d.setAttributeNS=function(e,t,r){h.call(this,e,t,r+"")},p.setProperty=function(e,t,r){g.call(this,e,t+"",r)}}function v(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function m(e){return null===e?NaN:+e}function y(e){return!isNaN(e)}function x(e){return{left:function(t,r,n,a){for(arguments.length<3&&(n=0),arguments.length<4&&(a=t.length);n<a;){var i=n+a>>>1;e(t[i],r)<0?n=i+1:a=i}return n},right:function(t,r,n,a){for(arguments.length<3&&(n=0),arguments.length<4&&(a=t.length);n<a;){var i=n+a>>>1;e(t[i],r)>0?a=i:n=i+1}return n}}}i.ascending=v,i.descending=function(e,t){return t<e?-1:t>e?1:t>=e?0:NaN},i.min=function(e,t){var r,n,a=-1,i=e.length;if(1===arguments.length){for(;++a<i;)if(null!=(n=e[a])&&n>=n){r=n;break}for(;++a<i;)null!=(n=e[a])&&r>n&&(r=n)}else{for(;++a<i;)if(null!=(n=t.call(e,e[a],a))&&n>=n){r=n;break}for(;++a<i;)null!=(n=t.call(e,e[a],a))&&r>n&&(r=n)}return r},i.max=function(e,t){var r,n,a=-1,i=e.length;if(1===arguments.length){for(;++a<i;)if(null!=(n=e[a])&&n>=n){r=n;break}for(;++a<i;)null!=(n=e[a])&&n>r&&(r=n)}else{for(;++a<i;)if(null!=(n=t.call(e,e[a],a))&&n>=n){r=n;break}for(;++a<i;)null!=(n=t.call(e,e[a],a))&&n>r&&(r=n)}return r},i.extent=function(e,t){var r,n,a,i=-1,o=e.length;if(1===arguments.length){for(;++i<o;)if(null!=(n=e[i])&&n>=n){r=a=n;break}for(;++i<o;)null!=(n=e[i])&&(r>n&&(r=n),a<n&&(a=n))}else{for(;++i<o;)if(null!=(n=t.call(e,e[i],i))&&n>=n){r=a=n;break}for(;++i<o;)null!=(n=t.call(e,e[i],i))&&(r>n&&(r=n),a<n&&(a=n))}return[r,a]},i.sum=function(e,t){var r,n=0,a=e.length,i=-1;if(1===arguments.length)for(;++i<a;)y(r=+e[i])&&(n+=r);else for(;++i<a;)y(r=+t.call(e,e[i],i))&&(n+=r);return n},i.mean=function(e,t){var r,n=0,a=e.length,i=-1,o=a;if(1===arguments.length)for(;++i<a;)y(r=m(e[i]))?n+=r:--o;else for(;++i<a;)y(r=m(t.call(e,e[i],i)))?n+=r:--o;if(o)return n/o},i.quantile=function(e,t){var r=(e.length-1)*t+1,n=Math.floor(r),a=+e[n-1],i=r-n;return i?a+i*(e[n]-a):a},i.median=function(e,t){var r,n=[],a=e.length,o=-1;if(1===arguments.length)for(;++o<a;)y(r=m(e[o]))&&n.push(r);else for(;++o<a;)y(r=m(t.call(e,e[o],o)))&&n.push(r);if(n.length)return i.quantile(n.sort(v),.5)},i.variance=function(e,t){var r,n,a=e.length,i=0,o=0,s=-1,l=0;if(1===arguments.length)for(;++s<a;)y(r=m(e[s]))&&(o+=(n=r-i)*(r-(i+=n/++l)));else for(;++s<a;)y(r=m(t.call(e,e[s],s)))&&(o+=(n=r-i)*(r-(i+=n/++l)));if(l>1)return o/(l-1)},i.deviation=function(){var e=i.variance.apply(this,arguments);return e?Math.sqrt(e):e};var b=x(v);function w(e){return e.length}i.bisectLeft=b.left,i.bisect=i.bisectRight=b.right,i.bisector=function(e){return x(1===e.length?function(t,r){return v(e(t),r)}:e)},i.shuffle=function(e,t,r){(i=arguments.length)<3&&(r=e.length,i<2&&(t=0));for(var n,a,i=r-t;i;)a=Math.random()*i--|0,n=e[i+t],e[i+t]=e[a+t],e[a+t]=n;return e},i.permute=function(e,t){for(var r=t.length,n=new Array(r);r--;)n[r]=e[t[r]];return n},i.pairs=function(e){for(var t=0,r=e.length-1,n=e[0],a=new Array(r<0?0:r);t<r;)a[t]=[n,n=e[++t]];return a},i.transpose=function(e){if(!(a=e.length))return[];for(var t=-1,r=i.min(e,w),n=new Array(r);++t<r;)for(var a,o=-1,s=n[t]=new Array(a);++o<a;)s[o]=e[o][t];return n},i.zip=function(){return i.transpose(arguments)},i.keys=function(e){var t=[];for(var r in e)t.push(r);return t},i.values=function(e){var t=[];for(var r in e)t.push(e[r]);return t},i.entries=function(e){var t=[];for(var r in e)t.push({key:r,value:e[r]});return t},i.merge=function(e){for(var t,r,n,a=e.length,i=-1,o=0;++i<a;)o+=e[i].length;for(r=new Array(o);--a>=0;)for(t=(n=e[a]).length;--t>=0;)r[--o]=n[t];return r};var _=Math.abs;function k(e){for(var t=1;e*t%1;)t*=10;return t}function T(e,t){for(var r in t)Object.defineProperty(e.prototype,r,{value:t[r],enumerable:!1})}function M(){this._=Object.create(null)}i.range=function(e,t,r){if(arguments.length<3&&(r=1,arguments.length<2&&(t=e,e=0)),(t-e)/r==1/0)throw new Error("infinite range");var n,a=[],i=k(_(r)),o=-1;if(e*=i,t*=i,(r*=i)<0)for(;(n=e+r*++o)>t;)a.push(n/i);else for(;(n=e+r*++o)<t;)a.push(n/i);return a},i.map=function(e,t){var r=new M;if(e instanceof M)e.forEach((function(e,t){r.set(e,t)}));else if(Array.isArray(e)){var n,a=-1,i=e.length;if(1===arguments.length)for(;++a<i;)r.set(a,e[a]);else for(;++a<i;)r.set(t.call(e,n=e[a],a),n)}else for(var o in e)r.set(o,e[o]);return r};function S(e){return"__proto__"==(e+="")||"\0"===e[0]?"\0"+e:e}function A(e){return"\0"===(e+="")[0]?e.slice(1):e}function C(e){return S(e)in this._}function P(e){return(e=S(e))in this._&&delete this._[e]}function O(){var e=[];for(var t in this._)e.push(A(t));return e}function I(){var e=0;for(var t in this._)++e;return e}function z(){for(var e in this._)return!1;return!0}function L(){this._=Object.create(null)}function E(e){return e}function j(e,t,r){return function(){var n=r.apply(t,arguments);return n===t?e:n}}function D(e,t){if(t in e)return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var r=0,n=R.length;r<n;++r){var a=R[r]+t;if(a in e)return a}}T(M,{has:C,get:function(e){return this._[S(e)]},set:function(e,t){return this._[S(e)]=t},remove:P,keys:O,values:function(){var e=[];for(var t in this._)e.push(this._[t]);return e},entries:function(){var e=[];for(var t in this._)e.push({key:A(t),value:this._[t]});return e},size:I,empty:z,forEach:function(e){for(var t in this._)e.call(this,A(t),this._[t])}}),i.nest=function(){var e,t,r={},n=[],a=[];function o(a,i,s){if(s>=n.length)return t?t.call(r,i):e?i.sort(e):i;for(var l,c,u,d,f=-1,h=i.length,p=n[s++],g=new M;++f<h;)(d=g.get(l=p(c=i[f])))?d.push(c):g.set(l,[c]);return a?(c=a(),u=function(e,t){c.set(e,o(a,t,s))}):(c={},u=function(e,t){c[e]=o(a,t,s)}),g.forEach(u),c}return r.map=function(e,t){return o(t,e,0)},r.entries=function(e){return function e(t,r){if(r>=n.length)return t;var i=[],o=a[r++];return t.forEach((function(t,n){i.push({key:t,values:e(n,r)})})),o?i.sort((function(e,t){return o(e.key,t.key)})):i}(o(i.map,e,0),0)},r.key=function(e){return n.push(e),r},r.sortKeys=function(e){return a[n.length-1]=e,r},r.sortValues=function(t){return e=t,r},r.rollup=function(e){return t=e,r},r},i.set=function(e){var t=new L;if(e)for(var r=0,n=e.length;r<n;++r)t.add(e[r]);return t},T(L,{has:C,add:function(e){return this._[S(e+="")]=!0,e},remove:P,values:O,size:I,empty:z,forEach:function(e){for(var t in this._)e.call(this,A(t))}}),i.behavior={},i.rebind=function(e,t){for(var r,n=1,a=arguments.length;++n<a;)e[r=arguments[n]]=j(e,t,t[r]);return e};var R=["webkit","ms","moz","Moz","o","O"];function N(){}function F(){}function B(e){var t=[],r=new M;function n(){for(var r,n=t,a=-1,i=n.length;++a<i;)(r=n[a].on)&&r.apply(this,arguments);return e}return n.on=function(n,a){var i,o=r.get(n);return arguments.length<2?o&&o.on:(o&&(o.on=null,t=t.slice(0,i=t.indexOf(o)).concat(t.slice(i+1)),r.remove(n)),a&&t.push(r.set(n,{on:a})),e)},n}function H(){i.event.preventDefault()}function V(){for(var e,t=i.event;e=t.sourceEvent;)t=e;return t}function G(e){for(var t=new F,r=0,n=arguments.length;++r<n;)t[arguments[r]]=B(t);return t.of=function(r,n){return function(a){try{var o=a.sourceEvent=i.event;a.target=e,i.event=a,t[a.type].apply(r,n)}finally{i.event=o}}},t}i.dispatch=function(){for(var e=new F,t=-1,r=arguments.length;++t<r;)e[arguments[t]]=B(e);return e},F.prototype.on=function(e,t){var r=e.indexOf("."),n="";if(r>=0&&(n=e.slice(r+1),e=e.slice(0,r)),e)return arguments.length<2?this[e].on(n):this[e].on(n,t);if(2===arguments.length){if(null==t)for(e in this)this.hasOwnProperty(e)&&this[e].on(n,null);return this}},i.event=null,i.requote=function(e){return e.replace(Z,"\\$&")};var Z=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,q={}.__proto__?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)e[r]=t[r]};function U(e){return q(e,$),e}var W=function(e,t){return t.querySelector(e)},Y=function(e,t){return t.querySelectorAll(e)},X=function(e,t){var r=e.matches||e[D(e,"matchesSelector")];return(X=function(e,t){return r.call(e,t)})(e,t)};"function"==typeof Sizzle&&(W=function(e,t){return Sizzle(e,t)[0]||null},Y=Sizzle,X=Sizzle.matchesSelector),i.selection=function(){return i.select(l.documentElement)};var $=i.selection.prototype=[];function J(e){return"function"==typeof e?e:function(){return W(e,this)}}function K(e){return"function"==typeof e?e:function(){return Y(e,this)}}$.select=function(e){var t,r,n,a,i=[];e=J(e);for(var o=-1,s=this.length;++o<s;){i.push(t=[]),t.parentNode=(n=this[o]).parentNode;for(var l=-1,c=n.length;++l<c;)(a=n[l])?(t.push(r=e.call(a,a.__data__,l,o)),r&&"__data__"in a&&(r.__data__=a.__data__)):t.push(null)}return U(i)},$.selectAll=function(e){var t,r,n=[];e=K(e);for(var a=-1,i=this.length;++a<i;)for(var o=this[a],l=-1,c=o.length;++l<c;)(r=o[l])&&(n.push(t=s(e.call(r,r.__data__,l,a))),t.parentNode=r);return U(n)};var Q="http://www.w3.org/1999/xhtml",ee={svg:"http://www.w3.org/2000/svg",xhtml:Q,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function te(e,t){return e=i.ns.qualify(e),null==t?e.local?function(){this.removeAttributeNS(e.space,e.local)}:function(){this.removeAttribute(e)}:"function"==typeof t?e.local?function(){var r=t.apply(this,arguments);null==r?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,r)}:function(){var r=t.apply(this,arguments);null==r?this.removeAttribute(e):this.setAttribute(e,r)}:e.local?function(){this.setAttributeNS(e.space,e.local,t)}:function(){this.setAttribute(e,t)}}function re(e){return e.trim().replace(/\s+/g," ")}function ne(e){return new RegExp("(?:^|\\s+)"+i.requote(e)+"(?:\\s+|$)","g")}function ae(e){return(e+"").trim().split(/^|\s+/)}function ie(e,t){var r=(e=ae(e).map(oe)).length;return"function"==typeof t?function(){for(var n=-1,a=t.apply(this,arguments);++n<r;)e[n](this,a)}:function(){for(var n=-1;++n<r;)e[n](this,t)}}function oe(e){var t=ne(e);return function(r,n){if(a=r.classList)return n?a.add(e):a.remove(e);var a=r.getAttribute("class")||"";n?(t.lastIndex=0,t.test(a)||r.setAttribute("class",re(a+" "+e))):r.setAttribute("class",re(a.replace(t," ")))}}function se(e,t,r){return null==t?function(){this.style.removeProperty(e)}:"function"==typeof t?function(){var n=t.apply(this,arguments);null==n?this.style.removeProperty(e):this.style.setProperty(e,n,r)}:function(){this.style.setProperty(e,t,r)}}function le(e,t){return null==t?function(){delete this[e]}:"function"==typeof t?function(){var r=t.apply(this,arguments);null==r?delete this[e]:this[e]=r}:function(){this[e]=t}}function ce(e){return"function"==typeof e?e:(e=i.ns.qualify(e)).local?function(){return this.ownerDocument.createElementNS(e.space,e.local)}:function(){var t=this.ownerDocument,r=this.namespaceURI;return r===Q&&t.documentElement.namespaceURI===Q?t.createElement(e):t.createElementNS(r,e)}}function ue(){var e=this.parentNode;e&&e.removeChild(this)}function de(e){return{__data__:e}}function fe(e){return function(){return X(this,e)}}function he(e){return arguments.length||(e=v),function(t,r){return t&&r?e(t.__data__,r.__data__):!t-!r}}function pe(e,t){for(var r=0,n=e.length;r<n;r++)for(var a,i=e[r],o=0,s=i.length;o<s;o++)(a=i[o])&&t(a,o,r);return e}function ge(e){return q(e,ve),e}i.ns={prefix:ee,qualify:function(e){var t=e.indexOf(":"),r=e;return t>=0&&"xmlns"!==(r=e.slice(0,t))&&(e=e.slice(t+1)),ee.hasOwnProperty(r)?{space:ee[r],local:e}:e}},$.attr=function(e,t){if(arguments.length<2){if("string"==typeof e){var r=this.node();return(e=i.ns.qualify(e)).local?r.getAttributeNS(e.space,e.local):r.getAttribute(e)}for(t in e)this.each(te(t,e[t]));return this}return this.each(te(e,t))},$.classed=function(e,t){if(arguments.length<2){if("string"==typeof e){var r=this.node(),n=(e=ae(e)).length,a=-1;if(t=r.classList){for(;++a<n;)if(!t.contains(e[a]))return!1}else for(t=r.getAttribute("class");++a<n;)if(!ne(e[a]).test(t))return!1;return!0}for(t in e)this.each(ie(t,e[t]));return this}return this.each(ie(e,t))},$.style=function(e,t,r){var n=arguments.length;if(n<3){if("string"!=typeof e){for(r in n<2&&(t=""),e)this.each(se(r,e[r],t));return this}if(n<2){var a=this.node();return u(a).getComputedStyle(a,null).getPropertyValue(e)}r=""}return this.each(se(e,t,r))},$.property=function(e,t){if(arguments.length<2){if("string"==typeof e)return this.node()[e];for(t in e)this.each(le(t,e[t]));return this}return this.each(le(e,t))},$.text=function(e){return arguments.length?this.each("function"==typeof e?function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}:null==e?function(){this.textContent=""}:function(){this.textContent=e}):this.node().textContent},$.html=function(e){return arguments.length?this.each("function"==typeof e?function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}:null==e?function(){this.innerHTML=""}:function(){this.innerHTML=e}):this.node().innerHTML},$.append=function(e){return e=ce(e),this.select((function(){return this.appendChild(e.apply(this,arguments))}))},$.insert=function(e,t){return e=ce(e),t=J(t),this.select((function(){return this.insertBefore(e.apply(this,arguments),t.apply(this,arguments)||null)}))},$.remove=function(){return this.each(ue)},$.data=function(e,t){var r,n,a=-1,i=this.length;if(!arguments.length){for(e=new Array(i=(r=this[0]).length);++a<i;)(n=r[a])&&(e[a]=n.__data__);return e}function o(e,r){var n,a,i,o=e.length,u=r.length,d=Math.min(o,u),f=new Array(u),h=new Array(u),p=new Array(o);if(t){var g,v=new M,m=new Array(o);for(n=-1;++n<o;)(a=e[n])&&(v.has(g=t.call(a,a.__data__,n))?p[n]=a:v.set(g,a),m[n]=g);for(n=-1;++n<u;)(a=v.get(g=t.call(r,i=r[n],n)))?!0!==a&&(f[n]=a,a.__data__=i):h[n]=de(i),v.set(g,!0);for(n=-1;++n<o;)n in m&&!0!==v.get(m[n])&&(p[n]=e[n])}else{for(n=-1;++n<d;)a=e[n],i=r[n],a?(a.__data__=i,f[n]=a):h[n]=de(i);for(;n<u;++n)h[n]=de(r[n]);for(;n<o;++n)p[n]=e[n]}h.update=f,h.parentNode=f.parentNode=p.parentNode=e.parentNode,s.push(h),l.push(f),c.push(p)}var s=ge([]),l=U([]),c=U([]);if("function"==typeof e)for(;++a<i;)o(r=this[a],e.call(r,r.parentNode.__data__,a));else for(;++a<i;)o(r=this[a],e);return l.enter=function(){return s},l.exit=function(){return c},l},$.datum=function(e){return arguments.length?this.property("__data__",e):this.property("__data__")},$.filter=function(e){var t,r,n,a=[];"function"!=typeof e&&(e=fe(e));for(var i=0,o=this.length;i<o;i++){a.push(t=[]),t.parentNode=(r=this[i]).parentNode;for(var s=0,l=r.length;s<l;s++)(n=r[s])&&e.call(n,n.__data__,s,i)&&t.push(n)}return U(a)},$.order=function(){for(var e=-1,t=this.length;++e<t;)for(var r,n=this[e],a=n.length-1,i=n[a];--a>=0;)(r=n[a])&&(i&&i!==r.nextSibling&&i.parentNode.insertBefore(r,i),i=r);return this},$.sort=function(e){e=he.apply(this,arguments);for(var t=-1,r=this.length;++t<r;)this[t].sort(e);return this.order()},$.each=function(e){return pe(this,(function(t,r,n){e.call(t,t.__data__,r,n)}))},$.call=function(e){var t=s(arguments);return e.apply(t[0]=this,t),this},$.empty=function(){return!this.node()},$.node=function(){for(var e=0,t=this.length;e<t;e++)for(var r=this[e],n=0,a=r.length;n<a;n++){var i=r[n];if(i)return i}return null},$.size=function(){var e=0;return pe(this,(function(){++e})),e};var ve=[];function me(e){var t,r;return function(n,a,i){var o,s=e[i].update,l=s.length;for(i!=r&&(r=i,t=0),a>=t&&(t=a+1);!(o=s[t])&&++t<l;);return o}}function ye(e,t,r){var n="__on"+e,a=e.indexOf("."),o=be;a>0&&(e=e.slice(0,a));var l=xe.get(e);function c(){var t=this[n];t&&(this.removeEventListener(e,t,t.$),delete this[n])}return l&&(e=l,o=we),a?t?function(){var a=o(t,s(arguments));c.call(this),this.addEventListener(e,this[n]=a,a.$=r),a._=t}:c:t?N:function(){var t,r=new RegExp("^__on([^.]+)"+i.requote(e)+"$");for(var n in this)if(t=n.match(r)){var a=this[n];this.removeEventListener(t[1],a,a.$),delete this[n]}}}i.selection.enter=ge,i.selection.enter.prototype=ve,ve.append=$.append,ve.empty=$.empty,ve.node=$.node,ve.call=$.call,ve.size=$.size,ve.select=function(e){for(var t,r,n,a,i,o=[],s=-1,l=this.length;++s<l;){n=(a=this[s]).update,o.push(t=[]),t.parentNode=a.parentNode;for(var c=-1,u=a.length;++c<u;)(i=a[c])?(t.push(n[c]=r=e.call(a.parentNode,i.__data__,c,s)),r.__data__=i.__data__):t.push(null)}return U(o)},ve.insert=function(e,t){return arguments.length<2&&(t=me(this)),$.insert.call(this,e,t)},i.select=function(e){var t;return"string"==typeof e?(t=[W(e,l)]).parentNode=l.documentElement:(t=[e]).parentNode=c(e),U([t])},i.selectAll=function(e){var t;return"string"==typeof e?(t=s(Y(e,l))).parentNode=l.documentElement:(t=s(e)).parentNode=null,U([t])},$.on=function(e,t,r){var n=arguments.length;if(n<3){if("string"!=typeof e){for(r in n<2&&(t=!1),e)this.each(ye(r,e[r],t));return this}if(n<2)return(n=this.node()["__on"+e])&&n._;r=!1}return this.each(ye(e,t,r))};var xe=i.map({mouseenter:"mouseover",mouseleave:"mouseout"});function be(e,t){return function(r){var n=i.event;i.event=r,t[0]=this.__data__;try{e.apply(this,t)}finally{i.event=n}}}function we(e,t){var r=be(e,t);return function(e){var t=e.relatedTarget;t&&(t===this||8&t.compareDocumentPosition(this))||r.call(this,e)}}l&&xe.forEach((function(e){"on"+e in l&&xe.remove(e)}));var _e,ke=0;function Te(e){var t=".dragsuppress-"+ ++ke,r="click"+t,n=i.select(u(e)).on("touchmove"+t,H).on("dragstart"+t,H).on("selectstart"+t,H);if(null==_e&&(_e=!("onselectstart"in e)&&D(e.style,"userSelect")),_e){var a=c(e).style,o=a[_e];a[_e]="none"}return function(e){if(n.on(t,null),_e&&(a[_e]=o),e){var i=function(){n.on(r,null)};n.on(r,(function(){H(),i()}),!0),setTimeout(i,0)}}}i.mouse=function(e){return Se(e,V())};var Me=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;function Se(e,t){t.changedTouches&&(t=t.changedTouches[0]);var r=e.ownerSVGElement||e;if(r.createSVGPoint){var n=r.createSVGPoint();if(Me<0){var a=u(e);if(a.scrollX||a.scrollY){var o=(r=i.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important"))[0][0].getScreenCTM();Me=!(o.f||o.e),r.remove()}}return Me?(n.x=t.pageX,n.y=t.pageY):(n.x=t.clientX,n.y=t.clientY),[(n=n.matrixTransform(e.getScreenCTM().inverse())).x,n.y]}var s=e.getBoundingClientRect();return[t.clientX-s.left-e.clientLeft,t.clientY-s.top-e.clientTop]}function Ae(){return i.event.changedTouches[0].identifier}i.touch=function(e,t,r){if(arguments.length<3&&(r=t,t=V().changedTouches),t)for(var n,a=0,i=t.length;a<i;++a)if((n=t[a]).identifier===r)return Se(e,n)},i.behavior.drag=function(){var e=G(a,"drag","dragstart","dragend"),t=null,r=o(N,i.mouse,u,"mousemove","mouseup"),n=o(Ae,i.touch,E,"touchmove","touchend");function a(){this.on("mousedown.drag",r).on("touchstart.drag",n)}function o(r,n,a,o,s){return function(){var l,c=this,u=i.event.target.correspondingElement||i.event.target,d=c.parentNode,f=e.of(c,arguments),h=0,p=r(),g=".drag"+(null==p?"":"-"+p),v=i.select(a(u)).on(o+g,x).on(s+g,b),m=Te(u),y=n(d,p);function x(){var e,t,r=n(d,p);r&&(e=r[0]-y[0],t=r[1]-y[1],h|=e|t,y=r,f({type:"drag",x:r[0]+l[0],y:r[1]+l[1],dx:e,dy:t}))}function b(){n(d,p)&&(v.on(o+g,null).on(s+g,null),m(h),f({type:"dragend"}))}l=t?[(l=t.apply(c,arguments)).x-y[0],l.y-y[1]]:[0,0],f({type:"dragstart"})}}return a.origin=function(e){return arguments.length?(t=e,a):t},i.rebind(a,e,"on")},i.touches=function(e,t){return arguments.length<2&&(t=V().touches),t?s(t).map((function(t){var r=Se(e,t);return r.identifier=t.identifier,r})):[]};var Ce=1e-6,Pe=1e-12,Oe=Math.PI,Ie=2*Oe,ze=Ie-Ce,Le=Oe/2,Ee=Oe/180,je=180/Oe;function De(e){return e>0?1:e<0?-1:0}function Re(e,t,r){return(t[0]-e[0])*(r[1]-e[1])-(t[1]-e[1])*(r[0]-e[0])}function Ne(e){return e>1?0:e<-1?Oe:Math.acos(e)}function Fe(e){return e>1?Le:e<-1?-Le:Math.asin(e)}function Be(e){return((e=Math.exp(e))+1/e)/2}function He(e){return(e=Math.sin(e/2))*e}var Ve=Math.SQRT2;i.interpolateZoom=function(e,t){var r,n,a=e[0],i=e[1],o=e[2],s=t[0],l=t[1],c=t[2],u=s-a,d=l-i,f=u*u+d*d;if(f<Pe)n=Math.log(c/o)/Ve,r=function(e){return[a+e*u,i+e*d,o*Math.exp(Ve*e*n)]};else{var h=Math.sqrt(f),p=(c*c-o*o+4*f)/(2*o*2*h),g=(c*c-o*o-4*f)/(2*c*2*h),v=Math.log(Math.sqrt(p*p+1)-p),m=Math.log(Math.sqrt(g*g+1)-g);n=(m-v)/Ve,r=function(e){var t,r=e*n,s=Be(v),l=o/(2*h)*(s*(t=Ve*r+v,((t=Math.exp(2*t))-1)/(t+1))-function(e){return((e=Math.exp(e))-1/e)/2}(v));return[a+l*u,i+l*d,o*s/Be(Ve*r+v)]}}return r.duration=1e3*n,r},i.behavior.zoom=function(){var e,t,r,n,a,o,s,c,d,f={x:0,y:0,k:1},h=[960,500],p=qe,g=250,v=0,m="mousedown.zoom",y="mousemove.zoom",x="mouseup.zoom",b="touchstart.zoom",w=G(_,"zoomstart","zoom","zoomend");function _(e){e.on(m,I).on(Ze+".zoom",L).on("dblclick.zoom",E).on(b,z)}function k(e){return[(e[0]-f.x)/f.k,(e[1]-f.y)/f.k]}function T(e){f.k=Math.max(p[0],Math.min(p[1],e))}function M(e,t){t=function(e){return[e[0]*f.k+f.x,e[1]*f.k+f.y]}(t),f.x+=e[0]-t[0],f.y+=e[1]-t[1]}function S(e,r,n,a){e.__chart__={x:f.x,y:f.y,k:f.k},T(Math.pow(2,a)),M(t=r,n),e=i.select(e),g>0&&(e=e.transition().duration(g)),e.call(_.event)}function A(){s&&s.domain(o.range().map((function(e){return(e-f.x)/f.k})).map(o.invert)),d&&d.domain(c.range().map((function(e){return(e-f.y)/f.k})).map(c.invert))}function C(e){v++||e({type:"zoomstart"})}function P(e){A(),e({type:"zoom",scale:f.k,translate:[f.x,f.y]})}function O(e){--v||(e({type:"zoomend"}),t=null)}function I(){var e=this,t=w.of(e,arguments),r=0,n=i.select(u(e)).on(y,s).on(x,l),a=k(i.mouse(e)),o=Te(e);function s(){r=1,M(i.mouse(e),a),P(t)}function l(){n.on(y,null).on(x,null),o(r),O(t)}ws.call(e),C(t)}function z(){var e,t=this,r=w.of(t,arguments),n={},o=0,s=".zoom-"+i.event.changedTouches[0].identifier,l="touchmove"+s,c="touchend"+s,u=[],d=i.select(t),h=Te(t);function p(){var r=i.touches(t);return e=f.k,r.forEach((function(e){e.identifier in n&&(n[e.identifier]=k(e))})),r}function g(){var e=i.event.target;i.select(e).on(l,v).on(c,y),u.push(e);for(var r=i.event.changedTouches,s=0,d=r.length;s<d;++s)n[r[s].identifier]=null;var h=p(),g=Date.now();if(1===h.length){if(g-a<500){var m=h[0];S(t,m,n[m.identifier],Math.floor(Math.log(f.k)/Math.LN2)+1),H()}a=g}else if(h.length>1){m=h[0];var x=h[1],b=m[0]-x[0],w=m[1]-x[1];o=b*b+w*w}}function v(){var s,l,c,u,d=i.touches(t);ws.call(t);for(var f=0,h=d.length;f<h;++f,u=null)if(c=d[f],u=n[c.identifier]){if(l)break;s=c,l=u}if(u){var p=(p=c[0]-s[0])*p+(p=c[1]-s[1])*p,g=o&&Math.sqrt(p/o);s=[(s[0]+c[0])/2,(s[1]+c[1])/2],l=[(l[0]+u[0])/2,(l[1]+u[1])/2],T(g*e)}a=null,M(s,l),P(r)}function y(){if(i.event.touches.length){for(var e=i.event.changedTouches,t=0,a=e.length;t<a;++t)delete n[e[t].identifier];for(var o in n)return void p()}i.selectAll(u).on(s,null),d.on(m,I).on(b,z),h(),O(r)}g(),C(r),d.on(m,null).on(b,g)}function L(){var a=w.of(this,arguments);n?clearTimeout(n):(ws.call(this),e=k(t=r||i.mouse(this)),C(a)),n=setTimeout((function(){n=null,O(a)}),50),H(),T(Math.pow(2,.002*Ge())*f.k),M(t,e),P(a)}function E(){var e=i.mouse(this),t=Math.log(f.k)/Math.LN2;S(this,e,k(e),i.event.shiftKey?Math.ceil(t)-1:Math.floor(t)+1)}return Ze||(Ze="onwheel"in l?(Ge=function(){return-i.event.deltaY*(i.event.deltaMode?120:1)},"wheel"):"onmousewheel"in l?(Ge=function(){return i.event.wheelDelta},"mousewheel"):(Ge=function(){return-i.event.detail},"MozMousePixelScroll")),_.event=function(e){e.each((function(){var e=w.of(this,arguments),r=f;Ts?i.select(this).transition().each("start.zoom",(function(){f=this.__chart__||{x:0,y:0,k:1},C(e)})).tween("zoom:zoom",(function(){var n=h[0],a=h[1],o=t?t[0]:n/2,s=t?t[1]:a/2,l=i.interpolateZoom([(o-f.x)/f.k,(s-f.y)/f.k,n/f.k],[(o-r.x)/r.k,(s-r.y)/r.k,n/r.k]);return function(t){var r=l(t),a=n/r[2];this.__chart__=f={x:o-r[0]*a,y:s-r[1]*a,k:a},P(e)}})).each("interrupt.zoom",(function(){O(e)})).each("end.zoom",(function(){O(e)})):(this.__chart__=f,C(e),P(e),O(e))}))},_.translate=function(e){return arguments.length?(f={x:+e[0],y:+e[1],k:f.k},A(),_):[f.x,f.y]},_.scale=function(e){return arguments.length?(f={x:f.x,y:f.y,k:null},T(+e),A(),_):f.k},_.scaleExtent=function(e){return arguments.length?(p=null==e?qe:[+e[0],+e[1]],_):p},_.center=function(e){return arguments.length?(r=e&&[+e[0],+e[1]],_):r},_.size=function(e){return arguments.length?(h=e&&[+e[0],+e[1]],_):h},_.duration=function(e){return arguments.length?(g=+e,_):g},_.x=function(e){return arguments.length?(s=e,o=e.copy(),f={x:0,y:0,k:1},_):s},_.y=function(e){return arguments.length?(d=e,c=e.copy(),f={x:0,y:0,k:1},_):d},i.rebind(_,w,"on")};var Ge,Ze,qe=[0,1/0];function Ue(){}function We(e,t,r){return this instanceof We?(this.h=+e,this.s=+t,void(this.l=+r)):arguments.length<2?e instanceof We?new We(e.h,e.s,e.l):ft(""+e,ht,We):new We(e,t,r)}i.color=Ue,Ue.prototype.toString=function(){return this.rgb()+""},i.hsl=We;var Ye=We.prototype=new Ue;function Xe(e,t,r){var n,a;function i(e){return Math.round(255*function(e){return e>360?e-=360:e<0&&(e+=360),e<60?n+(a-n)*e/60:e<180?a:e<240?n+(a-n)*(240-e)/60:n}(e))}return e=isNaN(e)?0:(e%=360)<0?e+360:e,t=isNaN(t)||t<0?0:t>1?1:t,n=2*(r=r<0?0:r>1?1:r)-(a=r<=.5?r*(1+t):r+t-r*t),new st(i(e+120),i(e),i(e-120))}function $e(e,t,r){return this instanceof $e?(this.h=+e,this.c=+t,void(this.l=+r)):arguments.length<2?e instanceof $e?new $e(e.h,e.c,e.l):nt(e instanceof Qe?e.l:(e=pt((e=i.rgb(e)).r,e.g,e.b)).l,e.a,e.b):new $e(e,t,r)}Ye.brighter=function(e){return e=Math.pow(.7,arguments.length?e:1),new We(this.h,this.s,this.l/e)},Ye.darker=function(e){return e=Math.pow(.7,arguments.length?e:1),new We(this.h,this.s,e*this.l)},Ye.rgb=function(){return Xe(this.h,this.s,this.l)},i.hcl=$e;var Je=$e.prototype=new Ue;function Ke(e,t,r){return isNaN(e)&&(e=0),isNaN(t)&&(t=0),new Qe(r,Math.cos(e*=Ee)*t,Math.sin(e)*t)}function Qe(e,t,r){return this instanceof Qe?(this.l=+e,this.a=+t,void(this.b=+r)):arguments.length<2?e instanceof Qe?new Qe(e.l,e.a,e.b):e instanceof $e?Ke(e.h,e.c,e.l):pt((e=st(e)).r,e.g,e.b):new Qe(e,t,r)}Je.brighter=function(e){return new $e(this.h,this.c,Math.min(100,this.l+et*(arguments.length?e:1)))},Je.darker=function(e){return new $e(this.h,this.c,Math.max(0,this.l-et*(arguments.length?e:1)))},Je.rgb=function(){return Ke(this.h,this.c,this.l).rgb()},i.lab=Qe;var et=18,tt=Qe.prototype=new Ue;function rt(e,t,r){var n=(e+16)/116,a=n+t/500,i=n-r/200;return new st(ot(3.2404542*(a=.95047*at(a))-1.5371385*(n=1*at(n))-.4985314*(i=1.08883*at(i))),ot(-.969266*a+1.8760108*n+.041556*i),ot(.0556434*a-.2040259*n+1.0572252*i))}function nt(e,t,r){return e>0?new $e(Math.atan2(r,t)*je,Math.sqrt(t*t+r*r),e):new $e(NaN,NaN,e)}function at(e){return e>.206893034?e*e*e:(e-4/29)/7.787037}function it(e){return e>.008856?Math.pow(e,1/3):7.787037*e+4/29}function ot(e){return Math.round(255*(e<=.00304?12.92*e:1.055*Math.pow(e,1/2.4)-.055))}function st(e,t,r){return this instanceof st?(this.r=~~e,this.g=~~t,void(this.b=~~r)):arguments.length<2?e instanceof st?new st(e.r,e.g,e.b):ft(""+e,st,Xe):new st(e,t,r)}function lt(e){return new st(e>>16,e>>8&255,255&e)}function ct(e){return lt(e)+""}tt.brighter=function(e){return new Qe(Math.min(100,this.l+et*(arguments.length?e:1)),this.a,this.b)},tt.darker=function(e){return new Qe(Math.max(0,this.l-et*(arguments.length?e:1)),this.a,this.b)},tt.rgb=function(){return rt(this.l,this.a,this.b)},i.rgb=st;var ut=st.prototype=new Ue;function dt(e){return e<16?"0"+Math.max(0,e).toString(16):Math.min(255,e).toString(16)}function ft(e,t,r){var n,a,i,o=0,s=0,l=0;if(n=/([a-z]+)\((.*)\)/.exec(e=e.toLowerCase()))switch(a=n[2].split(","),n[1]){case"hsl":return r(parseFloat(a[0]),parseFloat(a[1])/100,parseFloat(a[2])/100);case"rgb":return t(vt(a[0]),vt(a[1]),vt(a[2]))}return(i=mt.get(e))?t(i.r,i.g,i.b):(null==e||"#"!==e.charAt(0)||isNaN(i=parseInt(e.slice(1),16))||(4===e.length?(o=(3840&i)>>4,o|=o>>4,s=240&i,s|=s>>4,l=15&i,l|=l<<4):7===e.length&&(o=(16711680&i)>>16,s=(65280&i)>>8,l=255&i)),t(o,s,l))}function ht(e,t,r){var n,a,i=Math.min(e/=255,t/=255,r/=255),o=Math.max(e,t,r),s=o-i,l=(o+i)/2;return s?(a=l<.5?s/(o+i):s/(2-o-i),n=e==o?(t-r)/s+(t<r?6:0):t==o?(r-e)/s+2:(e-t)/s+4,n*=60):(n=NaN,a=l>0&&l<1?0:n),new We(n,a,l)}function pt(e,t,r){var n=it((.4124564*(e=gt(e))+.3575761*(t=gt(t))+.1804375*(r=gt(r)))/.95047),a=it((.2126729*e+.7151522*t+.072175*r)/1);return Qe(116*a-16,500*(n-a),200*(a-it((.0193339*e+.119192*t+.9503041*r)/1.08883)))}function gt(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function vt(e){var t=parseFloat(e);return"%"===e.charAt(e.length-1)?Math.round(2.55*t):t}ut.brighter=function(e){e=Math.pow(.7,arguments.length?e:1);var t=this.r,r=this.g,n=this.b,a=30;return t||r||n?(t&&t<a&&(t=a),r&&r<a&&(r=a),n&&n<a&&(n=a),new st(Math.min(255,t/e),Math.min(255,r/e),Math.min(255,n/e))):new st(a,a,a)},ut.darker=function(e){return new st((e=Math.pow(.7,arguments.length?e:1))*this.r,e*this.g,e*this.b)},ut.hsl=function(){return ht(this.r,this.g,this.b)},ut.toString=function(){return"#"+dt(this.r)+dt(this.g)+dt(this.b)};var mt=i.map({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074});function yt(e){return"function"==typeof e?e:function(){return e}}function xt(e){return function(t,r,n){return 2===arguments.length&&"function"==typeof r&&(n=r,r=null),bt(t,r,e,n)}}function bt(e,t,r,n){var a={},o=i.dispatch("beforesend","progress","load","error"),l={},c=new XMLHttpRequest,u=null;function d(){var e,t=c.status;if(!t&&function(e){var t=e.responseType;return t&&"text"!==t?e.response:e.responseText}(c)||t>=200&&t<300||304===t){try{e=r.call(a,c)}catch(e){return void o.error.call(a,e)}o.load.call(a,e)}else o.error.call(a,c)}return this.XDomainRequest&&!("withCredentials"in c)&&/^(http(s)?:)?\/\//.test(e)&&(c=new XDomainRequest),"onload"in c?c.onload=c.onerror=d:c.onreadystatechange=function(){c.readyState>3&&d()},c.onprogress=function(e){var t=i.event;i.event=e;try{o.progress.call(a,c)}finally{i.event=t}},a.header=function(e,t){return e=(e+"").toLowerCase(),arguments.length<2?l[e]:(null==t?delete l[e]:l[e]=t+"",a)},a.mimeType=function(e){return arguments.length?(t=null==e?null:e+"",a):t},a.responseType=function(e){return arguments.length?(u=e,a):u},a.response=function(e){return r=e,a},["get","post"].forEach((function(e){a[e]=function(){return a.send.apply(a,[e].concat(s(arguments)))}})),a.send=function(r,n,i){if(2===arguments.length&&"function"==typeof n&&(i=n,n=null),c.open(r,e,!0),null==t||"accept"in l||(l.accept=t+",*/*"),c.setRequestHeader)for(var s in l)c.setRequestHeader(s,l[s]);return null!=t&&c.overrideMimeType&&c.overrideMimeType(t),null!=u&&(c.responseType=u),null!=i&&a.on("error",i).on("load",(function(e){i(null,e)})),o.beforesend.call(a,c),c.send(null==n?null:n),a},a.abort=function(){return c.abort(),a},i.rebind(a,o,"on"),null==n?a:a.get(function(e){return 1===e.length?function(t,r){e(null==t?r:null)}:e}(n))}mt.forEach((function(e,t){mt.set(e,lt(t))})),i.functor=yt,i.xhr=xt(E),i.dsv=function(e,t){var r=new RegExp('["'+e+"\n]"),n=e.charCodeAt(0);function a(e,r,n){arguments.length<3&&(n=r,r=null);var a=bt(e,t,null==r?i:o(r),n);return a.row=function(e){return arguments.length?a.response(null==(r=e)?i:o(e)):r},a}function i(e){return a.parse(e.responseText)}function o(e){return function(t){return a.parse(t.responseText,e)}}function s(t){return t.map(l).join(e)}function l(e){return r.test(e)?'"'+e.replace(/\"/g,'""')+'"':e}return a.parse=function(e,t){var r;return a.parseRows(e,(function(e,n){if(r)return r(e,n-1);var a=new Function("d","return {"+e.map((function(e,t){return JSON.stringify(e)+": d["+t+"]"})).join(",")+"}");r=t?function(e,r){return t(a(e),r)}:a}))},a.parseRows=function(e,t){var r,a,i={},o={},s=[],l=e.length,c=0,u=0;function d(){if(c>=l)return o;if(a)return a=!1,i;var t=c;if(34===e.charCodeAt(t)){for(var r=t;r++<l;)if(34===e.charCodeAt(r)){if(34!==e.charCodeAt(r+1))break;++r}return c=r+2,13===(s=e.charCodeAt(r+1))?(a=!0,10===e.charCodeAt(r+2)&&++c):10===s&&(a=!0),e.slice(t+1,r).replace(/""/g,'"')}for(;c<l;){var s,u=1;if(10===(s=e.charCodeAt(c++)))a=!0;else if(13===s)a=!0,10===e.charCodeAt(c)&&(++c,++u);else if(s!==n)continue;return e.slice(t,c-u)}return e.slice(t)}for(;(r=d())!==o;){for(var f=[];r!==i&&r!==o;)f.push(r),r=d();t&&null==(f=t(f,u++))||s.push(f)}return s},a.format=function(t){if(Array.isArray(t[0]))return a.formatRows(t);var r=new L,n=[];return t.forEach((function(e){for(var t in e)r.has(t)||n.push(r.add(t))})),[n.map(l).join(e)].concat(t.map((function(t){return n.map((function(e){return l(t[e])})).join(e)}))).join("\n")},a.formatRows=function(e){return e.map(s).join("\n")},a},i.csv=i.dsv(",","text/csv"),i.tsv=i.dsv("\t","text/tab-separated-values");var wt,_t,kt,Tt,Mt=this[D(this,"requestAnimationFrame")]||function(e){setTimeout(e,17)};function St(e,t,r){var n=arguments.length;n<2&&(t=0),n<3&&(r=Date.now());var a=r+t,i={c:e,t:a,n:null};return _t?_t.n=i:wt=i,_t=i,kt||(Tt=clearTimeout(Tt),kt=1,Mt(At)),i}function At(){var e=Ct(),t=Pt()-e;t>24?(isFinite(t)&&(clearTimeout(Tt),Tt=setTimeout(At,t)),kt=0):(kt=1,Mt(At))}function Ct(){for(var e=Date.now(),t=wt;t;)e>=t.t&&t.c(e-t.t)&&(t.c=null),t=t.n;return e}function Pt(){for(var e,t=wt,r=1/0;t;)t.c?(t.t<r&&(r=t.t),t=(e=t).n):t=e?e.n=t.n:wt=t.n;return _t=e,r}function Ot(e,t){return t-(e?Math.ceil(Math.log(e)/Math.LN10):1)}i.timer=function(){St.apply(this,arguments)},i.timer.flush=function(){Ct(),Pt()},i.round=function(e,t){return t?Math.round(e*(t=Math.pow(10,t)))/t:Math.round(e)};var It=["y","z","a","f","p","n","ยต","m","","k","M","G","T","P","E","Z","Y"].map((function(e,t){var r=Math.pow(10,3*_(8-t));return{scale:t>8?function(e){return e/r}:function(e){return e*r},symbol:e}}));function zt(e){var t=e.decimal,r=e.thousands,n=e.grouping,a=e.currency,o=n&&r?function(e,t){for(var a=e.length,i=[],o=0,s=n[0],l=0;a>0&&s>0&&(l+s+1>t&&(s=Math.max(1,t-l)),i.push(e.substring(a-=s,a+s)),!((l+=s+1)>t));)s=n[o=(o+1)%n.length];return i.reverse().join(r)}:E;return function(e){var r=Lt.exec(e),n=r[1]||" ",s=r[2]||">",l=r[3]||"-",c=r[4]||"",u=r[5],d=+r[6],f=r[7],h=r[8],p=r[9],g=1,v="",m="",y=!1,x=!0;switch(h&&(h=+h.substring(1)),(u||"0"===n&&"="===s)&&(u=n="0",s="="),p){case"n":f=!0,p="g";break;case"%":g=100,m="%",p="f";break;case"p":g=100,m="%",p="r";break;case"b":case"o":case"x":case"X":"#"===c&&(v="0"+p.toLowerCase());case"c":x=!1;case"d":y=!0,h=0;break;case"s":g=-1,p="r"}"$"===c&&(v=a[0],m=a[1]),"r"!=p||h||(p="g"),null!=h&&("g"==p?h=Math.max(1,Math.min(21,h)):"e"!=p&&"f"!=p||(h=Math.max(0,Math.min(20,h)))),p=Et.get(p)||jt;var b=u&&f;return function(e){var r=m;if(y&&e%1)return"";var a=e<0||0===e&&1/e<0?(e=-e,"-"):"-"===l?"":l;if(g<0){var c=i.formatPrefix(e,h);e=c.scale(e),r=c.symbol+m}else e*=g;var w,_,k=(e=p(e,h)).lastIndexOf(".");if(k<0){var T=x?e.lastIndexOf("e"):-1;T<0?(w=e,_=""):(w=e.substring(0,T),_=e.substring(T))}else w=e.substring(0,k),_=t+e.substring(k+1);!u&&f&&(w=o(w,1/0));var M=v.length+w.length+_.length+(b?0:a.length),S=M<d?new Array(M=d-M+1).join(n):"";return b&&(w=o(S+w,S.length?d-_.length:1/0)),a+=v,e=w+_,("<"===s?a+e+S:">"===s?S+a+e:"^"===s?S.substring(0,M>>=1)+a+e+S.substring(M):a+(b?e:S+e))+r}}}i.formatPrefix=function(e,t){var r=0;return(e=+e)&&(e<0&&(e*=-1),t&&(e=i.round(e,Ot(e,t))),r=1+Math.floor(1e-12+Math.log(e)/Math.LN10),r=Math.max(-24,Math.min(24,3*Math.floor((r-1)/3)))),It[8+r/3]};var Lt=/(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,Et=i.map({b:function(e){return e.toString(2)},c:function(e){return String.fromCharCode(e)},o:function(e){return e.toString(8)},x:function(e){return e.toString(16)},X:function(e){return e.toString(16).toUpperCase()},g:function(e,t){return e.toPrecision(t)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},r:function(e,t){return(e=i.round(e,Ot(e,t))).toFixed(Math.max(0,Math.min(20,Ot(e*(1+1e-15),t))))}});function jt(e){return e+""}var Dt=i.time={},Rt=Date;function Nt(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}Nt.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){Ft.setUTCDate.apply(this._,arguments)},setDay:function(){Ft.setUTCDay.apply(this._,arguments)},setFullYear:function(){Ft.setUTCFullYear.apply(this._,arguments)},setHours:function(){Ft.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){Ft.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){Ft.setUTCMinutes.apply(this._,arguments)},setMonth:function(){Ft.setUTCMonth.apply(this._,arguments)},setSeconds:function(){Ft.setUTCSeconds.apply(this._,arguments)},setTime:function(){Ft.setTime.apply(this._,arguments)}};var Ft=Date.prototype;function Bt(e,t,r){function n(t){var r=e(t),n=i(r,1);return t-r<n-t?r:n}function a(r){return t(r=e(new Rt(r-1)),1),r}function i(e,r){return t(e=new Rt(+e),r),e}function o(e,n,i){var o=a(e),s=[];if(i>1)for(;o<n;)r(o)%i||s.push(new Date(+o)),t(o,1);else for(;o<n;)s.push(new Date(+o)),t(o,1);return s}e.floor=e,e.round=n,e.ceil=a,e.offset=i,e.range=o;var s=e.utc=Ht(e);return s.floor=s,s.round=Ht(n),s.ceil=Ht(a),s.offset=Ht(i),s.range=function(e,t,r){try{Rt=Nt;var n=new Nt;return n._=e,o(n,t,r)}finally{Rt=Date}},e}function Ht(e){return function(t,r){try{Rt=Nt;var n=new Nt;return n._=t,e(n,r)._}finally{Rt=Date}}}function Vt(e){var t=e.dateTime,r=e.date,n=e.time,a=e.periods,o=e.days,s=e.shortDays,l=e.months,c=e.shortMonths;function u(e){var t=e.length;function r(r){for(var n,a,i,o=[],s=-1,l=0;++s<t;)37===e.charCodeAt(s)&&(o.push(e.slice(l,s)),null!=(a=Gt[n=e.charAt(++s)])&&(n=e.charAt(++s)),(i=w[n])&&(n=i(r,null==a?"e"===n?" ":"0":a)),o.push(n),l=s+1);return o.push(e.slice(l,s)),o.join("")}return r.parse=function(t){var r={y:1900,m:0,d:1,H:0,M:0,S:0,L:0,Z:null};if(d(r,e,t,0)!=t.length)return null;"p"in r&&(r.H=r.H%12+12*r.p);var n=null!=r.Z&&Rt!==Nt,a=new(n?Nt:Rt);return"j"in r?a.setFullYear(r.y,0,r.j):"W"in r||"U"in r?("w"in r||(r.w="W"in r?1:0),a.setFullYear(r.y,0,1),a.setFullYear(r.y,0,"W"in r?(r.w+6)%7+7*r.W-(a.getDay()+5)%7:r.w+7*r.U-(a.getDay()+6)%7)):a.setFullYear(r.y,r.m,r.d),a.setHours(r.H+(r.Z/100|0),r.M+r.Z%100,r.S,r.L),n?a._:a},r.toString=function(){return e},r}function d(e,t,r,n){for(var a,i,o,s=0,l=t.length,c=r.length;s<l;){if(n>=c)return-1;if(37===(a=t.charCodeAt(s++))){if(o=t.charAt(s++),!(i=_[o in Gt?t.charAt(s++):o])||(n=i(e,r,n))<0)return-1}else if(a!=r.charCodeAt(n++))return-1}return n}u.utc=function(e){var t=u(e);function r(e){try{var r=new(Rt=Nt);return r._=e,t(r)}finally{Rt=Date}}return r.parse=function(e){try{Rt=Nt;var r=t.parse(e);return r&&r._}finally{Rt=Date}},r.toString=t.toString,r},u.multi=u.utc.multi=ur;var f=i.map(),h=Wt(o),p=Yt(o),g=Wt(s),v=Yt(s),m=Wt(l),y=Yt(l),x=Wt(c),b=Yt(c);a.forEach((function(e,t){f.set(e.toLowerCase(),t)}));var w={a:function(e){return s[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return c[e.getMonth()]},B:function(e){return l[e.getMonth()]},c:u(t),d:function(e,t){return Ut(e.getDate(),t,2)},e:function(e,t){return Ut(e.getDate(),t,2)},H:function(e,t){return Ut(e.getHours(),t,2)},I:function(e,t){return Ut(e.getHours()%12||12,t,2)},j:function(e,t){return Ut(1+Dt.dayOfYear(e),t,3)},L:function(e,t){return Ut(e.getMilliseconds(),t,3)},m:function(e,t){return Ut(e.getMonth()+1,t,2)},M:function(e,t){return Ut(e.getMinutes(),t,2)},p:function(e){return a[+(e.getHours()>=12)]},S:function(e,t){return Ut(e.getSeconds(),t,2)},U:function(e,t){return Ut(Dt.sundayOfYear(e),t,2)},w:function(e){return e.getDay()},W:function(e,t){return Ut(Dt.mondayOfYear(e),t,2)},x:u(r),X:u(n),y:function(e,t){return Ut(e.getFullYear()%100,t,2)},Y:function(e,t){return Ut(e.getFullYear()%1e4,t,4)},Z:lr,"%":function(){return"%"}},_={a:function(e,t,r){g.lastIndex=0;var n=g.exec(t.slice(r));return n?(e.w=v.get(n[0].toLowerCase()),r+n[0].length):-1},A:function(e,t,r){h.lastIndex=0;var n=h.exec(t.slice(r));return n?(e.w=p.get(n[0].toLowerCase()),r+n[0].length):-1},b:function(e,t,r){x.lastIndex=0;var n=x.exec(t.slice(r));return n?(e.m=b.get(n[0].toLowerCase()),r+n[0].length):-1},B:function(e,t,r){m.lastIndex=0;var n=m.exec(t.slice(r));return n?(e.m=y.get(n[0].toLowerCase()),r+n[0].length):-1},c:function(e,t,r){return d(e,w.c.toString(),t,r)},d:rr,e:rr,H:ar,I:ar,j:nr,L:sr,m:tr,M:ir,p:function(e,t,r){var n=f.get(t.slice(r,r+=2).toLowerCase());return null==n?-1:(e.p=n,r)},S:or,U:$t,w:Xt,W:Jt,x:function(e,t,r){return d(e,w.x.toString(),t,r)},X:function(e,t,r){return d(e,w.X.toString(),t,r)},y:Qt,Y:Kt,Z:er,"%":cr};return u}Dt.year=Bt((function(e){return(e=Dt.day(e)).setMonth(0,1),e}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e){return e.getFullYear()})),Dt.years=Dt.year.range,Dt.years.utc=Dt.year.utc.range,Dt.day=Bt((function(e){var t=new Rt(2e3,0);return t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t}),(function(e,t){e.setDate(e.getDate()+t)}),(function(e){return e.getDate()-1})),Dt.days=Dt.day.range,Dt.days.utc=Dt.day.utc.range,Dt.dayOfYear=function(e){var t=Dt.year(e);return Math.floor((e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach((function(e,t){t=7-t;var r=Dt[e]=Bt((function(e){return(e=Dt.day(e)).setDate(e.getDate()-(e.getDay()+t)%7),e}),(function(e,t){e.setDate(e.getDate()+7*Math.floor(t))}),(function(e){var r=Dt.year(e).getDay();return Math.floor((Dt.dayOfYear(e)+(r+t)%7)/7)-(r!==t)}));Dt[e+"s"]=r.range,Dt[e+"s"].utc=r.utc.range,Dt[e+"OfYear"]=function(e){var r=Dt.year(e).getDay();return Math.floor((Dt.dayOfYear(e)+(r+t)%7)/7)}})),Dt.week=Dt.sunday,Dt.weeks=Dt.sunday.range,Dt.weeks.utc=Dt.sunday.utc.range,Dt.weekOfYear=Dt.sundayOfYear;var Gt={"-":"",_:" ",0:"0"},Zt=/^\s*\d+/,qt=/^%/;function Ut(e,t,r){var n=e<0?"-":"",a=(n?-e:e)+"",i=a.length;return n+(i<r?new Array(r-i+1).join(t)+a:a)}function Wt(e){return new RegExp("^(?:"+e.map(i.requote).join("|")+")","i")}function Yt(e){for(var t=new M,r=-1,n=e.length;++r<n;)t.set(e[r].toLowerCase(),r);return t}function Xt(e,t,r){Zt.lastIndex=0;var n=Zt.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function $t(e,t,r){Zt.lastIndex=0;var n=Zt.exec(t.slice(r));return n?(e.U=+n[0],r+n[0].length):-1}function Jt(e,t,r){Zt.lastIndex=0;var n=Zt.exec(t.slice(r));return n?(e.W=+n[0],r+n[0].length):-1}function Kt(e,t,r){Zt.lastIndex=0;var n=Zt.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function Qt(e,t,r){Zt.lastIndex=0;var n,a=Zt.exec(t.slice(r,r+2));return a?(e.y=(n=+a[0])+(n>68?1900:2e3),r+a[0].length):-1}function er(e,t,r){return/^[+-]\d{4}$/.test(t=t.slice(r,r+5))?(e.Z=-t,r+5):-1}function tr(e,t,r){Zt.lastIndex=0;var n=Zt.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function rr(e,t,r){Zt.lastIndex=0;var n=Zt.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function nr(e,t,r){Zt.lastIndex=0;var n=Zt.exec(t.slice(r,r+3));return n?(e.j=+n[0],r+n[0].length):-1}function ar(e,t,r){Zt.lastIndex=0;var n=Zt.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function ir(e,t,r){Zt.lastIndex=0;var n=Zt.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function or(e,t,r){Zt.lastIndex=0;var n=Zt.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function sr(e,t,r){Zt.lastIndex=0;var n=Zt.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function lr(e){var t=e.getTimezoneOffset(),r=t>0?"-":"+",n=_(t)/60|0,a=_(t)%60;return r+Ut(n,"0",2)+Ut(a,"0",2)}function cr(e,t,r){qt.lastIndex=0;var n=qt.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function ur(e){for(var t=e.length,r=-1;++r<t;)e[r][0]=this(e[r][0]);return function(t){for(var r=0,n=e[r];!n[1](t);)n=e[++r];return n[0](t)}}i.locale=function(e){return{numberFormat:zt(e),timeFormat:Vt(e)}};var dr=i.locale({decimal:".",thousands:",",grouping:[3],currency:["$",""],dateTime:"%a %b %e %X %Y",date:"%m/%d/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function fr(){}i.format=dr.numberFormat,i.geo={},fr.prototype={s:0,t:0,add:function(e){pr(e,this.t,hr),pr(hr.s,this.s,this),this.s?this.t+=hr.t:this.s=hr.t},reset:function(){this.s=this.t=0},valueOf:function(){return this.s}};var hr=new fr;function pr(e,t,r){var n=r.s=e+t,a=n-e,i=n-a;r.t=e-i+(t-a)}function gr(e,t){e&&mr.hasOwnProperty(e.type)&&mr[e.type](e,t)}i.geo.stream=function(e,t){e&&vr.hasOwnProperty(e.type)?vr[e.type](e,t):gr(e,t)};var vr={Feature:function(e,t){gr(e.geometry,t)},FeatureCollection:function(e,t){for(var r=e.features,n=-1,a=r.length;++n<a;)gr(r[n].geometry,t)}},mr={Sphere:function(e,t){t.sphere()},Point:function(e,t){e=e.coordinates,t.point(e[0],e[1],e[2])},MultiPoint:function(e,t){for(var r=e.coordinates,n=-1,a=r.length;++n<a;)e=r[n],t.point(e[0],e[1],e[2])},LineString:function(e,t){yr(e.coordinates,t,0)},MultiLineString:function(e,t){for(var r=e.coordinates,n=-1,a=r.length;++n<a;)yr(r[n],t,0)},Polygon:function(e,t){xr(e.coordinates,t)},MultiPolygon:function(e,t){for(var r=e.coordinates,n=-1,a=r.length;++n<a;)xr(r[n],t)},GeometryCollection:function(e,t){for(var r=e.geometries,n=-1,a=r.length;++n<a;)gr(r[n],t)}};function yr(e,t,r){var n,a=-1,i=e.length-r;for(t.lineStart();++a<i;)n=e[a],t.point(n[0],n[1],n[2]);t.lineEnd()}function xr(e,t){var r=-1,n=e.length;for(t.polygonStart();++r<n;)yr(e[r],t,1);t.polygonEnd()}i.geo.area=function(e){return br=0,i.geo.stream(e,Lr),br};var br,wr,_r,kr,Tr,Mr,Sr,Ar,Cr,Pr,Or,Ir,zr=new fr,Lr={sphere:function(){br+=4*Oe},point:N,lineStart:N,lineEnd:N,polygonStart:function(){zr.reset(),Lr.lineStart=Er},polygonEnd:function(){var e=2*zr;br+=e<0?4*Oe+e:e,Lr.lineStart=Lr.lineEnd=Lr.point=N}};function Er(){var e,t,r,n,a;function i(e,t){t=t*Ee/2+Oe/4;var i=(e*=Ee)-r,o=i>=0?1:-1,s=o*i,l=Math.cos(t),c=Math.sin(t),u=a*c,d=n*l+u*Math.cos(s),f=u*o*Math.sin(s);zr.add(Math.atan2(f,d)),r=e,n=l,a=c}Lr.point=function(o,s){Lr.point=i,r=(e=o)*Ee,n=Math.cos(s=(t=s)*Ee/2+Oe/4),a=Math.sin(s)},Lr.lineEnd=function(){i(e,t)}}function jr(e){var t=e[0],r=e[1],n=Math.cos(r);return[n*Math.cos(t),n*Math.sin(t),Math.sin(r)]}function Dr(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function Rr(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function Nr(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]}function Fr(e,t){return[e[0]*t,e[1]*t,e[2]*t]}function Br(e){var t=Math.sqrt(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t}function Hr(e){return[Math.atan2(e[1],e[0]),Fe(e[2])]}function Vr(e,t){return _(e[0]-t[0])<Ce&&_(e[1]-t[1])<Ce}i.geo.bounds=function(){var e,t,r,n,a,o,s,l,c,u,d,f={point:h,lineStart:g,lineEnd:v,polygonStart:function(){f.point=m,f.lineStart=y,f.lineEnd=x,c=0,Lr.polygonStart()},polygonEnd:function(){Lr.polygonEnd(),f.point=h,f.lineStart=g,f.lineEnd=v,zr<0?(e=-(r=180),t=-(n=90)):c>Ce?n=90:c<-Ce&&(t=-90),d[0]=e,d[1]=r}};function h(a,i){u.push(d=[e=a,r=a]),i<t&&(t=i),i>n&&(n=i)}function p(i,o){var s=jr([i*Ee,o*Ee]);if(l){var c=Rr(l,s),u=Rr([c[1],-c[0],0],c);Br(u),u=Hr(u);var d=i-a,f=d>0?1:-1,p=u[0]*je*f,g=_(d)>180;if(g^(f*a<p&&p<f*i))(v=u[1]*je)>n&&(n=v);else if(g^(f*a<(p=(p+360)%360-180)&&p<f*i)){var v;(v=-u[1]*je)<t&&(t=v)}else o<t&&(t=o),o>n&&(n=o);g?i<a?b(e,i)>b(e,r)&&(r=i):b(i,r)>b(e,r)&&(e=i):r>=e?(i<e&&(e=i),i>r&&(r=i)):i>a?b(e,i)>b(e,r)&&(r=i):b(i,r)>b(e,r)&&(e=i)}else h(i,o);l=s,a=i}function g(){f.point=p}function v(){d[0]=e,d[1]=r,f.point=h,l=null}function m(e,t){if(l){var r=e-a;c+=_(r)>180?r+(r>0?360:-360):r}else o=e,s=t;Lr.point(e,t),p(e,t)}function y(){Lr.lineStart()}function x(){m(o,s),Lr.lineEnd(),_(c)>Ce&&(e=-(r=180)),d[0]=e,d[1]=r,l=null}function b(e,t){return(t-=e)<0?t+360:t}function w(e,t){return e[0]-t[0]}function k(e,t){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:e<t[0]||t[1]<e}return function(a){if(n=r=-(e=t=1/0),u=[],i.geo.stream(a,f),c=u.length){u.sort(w);for(var o=1,s=[g=u[0]];o<c;++o)k((h=u[o])[0],g)||k(h[1],g)?(b(g[0],h[1])>b(g[0],g[1])&&(g[1]=h[1]),b(h[0],g[1])>b(g[0],g[1])&&(g[0]=h[0])):s.push(g=h);for(var l,c,h,p=-1/0,g=(o=0,s[c=s.length-1]);o<=c;g=h,++o)h=s[o],(l=b(g[1],h[0]))>p&&(p=l,e=h[0],r=g[1])}return u=d=null,e===1/0||t===1/0?[[NaN,NaN],[NaN,NaN]]:[[e,t],[r,n]]}}(),i.geo.centroid=function(e){wr=_r=kr=Tr=Mr=Sr=Ar=Cr=Pr=Or=Ir=0,i.geo.stream(e,Gr);var t=Pr,r=Or,n=Ir,a=t*t+r*r+n*n;return a<Pe&&(t=Sr,r=Ar,n=Cr,_r<Ce&&(t=kr,r=Tr,n=Mr),(a=t*t+r*r+n*n)<Pe)?[NaN,NaN]:[Math.atan2(r,t)*je,Fe(n/Math.sqrt(a))*je]};var Gr={sphere:N,point:Zr,lineStart:Ur,lineEnd:Wr,polygonStart:function(){Gr.lineStart=Yr},polygonEnd:function(){Gr.lineStart=Ur}};function Zr(e,t){e*=Ee;var r=Math.cos(t*=Ee);qr(r*Math.cos(e),r*Math.sin(e),Math.sin(t))}function qr(e,t,r){++wr,kr+=(e-kr)/wr,Tr+=(t-Tr)/wr,Mr+=(r-Mr)/wr}function Ur(){var e,t,r;function n(n,a){n*=Ee;var i=Math.cos(a*=Ee),o=i*Math.cos(n),s=i*Math.sin(n),l=Math.sin(a),c=Math.atan2(Math.sqrt((c=t*l-r*s)*c+(c=r*o-e*l)*c+(c=e*s-t*o)*c),e*o+t*s+r*l);_r+=c,Sr+=c*(e+(e=o)),Ar+=c*(t+(t=s)),Cr+=c*(r+(r=l)),qr(e,t,r)}Gr.point=function(a,i){a*=Ee;var o=Math.cos(i*=Ee);e=o*Math.cos(a),t=o*Math.sin(a),r=Math.sin(i),Gr.point=n,qr(e,t,r)}}function Wr(){Gr.point=Zr}function Yr(){var e,t,r,n,a;function i(e,t){e*=Ee;var i=Math.cos(t*=Ee),o=i*Math.cos(e),s=i*Math.sin(e),l=Math.sin(t),c=n*l-a*s,u=a*o-r*l,d=r*s-n*o,f=Math.sqrt(c*c+u*u+d*d),h=r*o+n*s+a*l,p=f&&-Ne(h)/f,g=Math.atan2(f,h);Pr+=p*c,Or+=p*u,Ir+=p*d,_r+=g,Sr+=g*(r+(r=o)),Ar+=g*(n+(n=s)),Cr+=g*(a+(a=l)),qr(r,n,a)}Gr.point=function(o,s){e=o,t=s,Gr.point=i,o*=Ee;var l=Math.cos(s*=Ee);r=l*Math.cos(o),n=l*Math.sin(o),a=Math.sin(s),qr(r,n,a)},Gr.lineEnd=function(){i(e,t),Gr.lineEnd=Wr,Gr.point=Zr}}function Xr(e,t){function r(r,n){return r=e(r,n),t(r[0],r[1])}return e.invert&&t.invert&&(r.invert=function(r,n){return(r=t.invert(r,n))&&e.invert(r[0],r[1])}),r}function $r(){return!0}function Jr(e,t,r,n,a){var i=[],o=[];if(e.forEach((function(e){if(!((t=e.length-1)<=0)){var t,r=e[0],n=e[t];if(Vr(r,n)){a.lineStart();for(var s=0;s<t;++s)a.point((r=e[s])[0],r[1]);a.lineEnd()}else{var l=new Qr(r,e,null,!0),c=new Qr(r,null,l,!1);l.o=c,i.push(l),o.push(c),l=new Qr(n,e,null,!1),c=new Qr(n,null,l,!0),l.o=c,i.push(l),o.push(c)}}})),o.sort(t),Kr(i),Kr(o),i.length){for(var s=0,l=r,c=o.length;s<c;++s)o[s].e=l=!l;for(var u,d,f=i[0];;){for(var h=f,p=!0;h.v;)if((h=h.n)===f)return;u=h.z,a.lineStart();do{if(h.v=h.o.v=!0,h.e){if(p)for(s=0,c=u.length;s<c;++s)a.point((d=u[s])[0],d[1]);else n(h.x,h.n.x,1,a);h=h.n}else{if(p)for(s=(u=h.p.z).length-1;s>=0;--s)a.point((d=u[s])[0],d[1]);else n(h.x,h.p.x,-1,a);h=h.p}u=(h=h.o).z,p=!p}while(!h.v);a.lineEnd()}}}function Kr(e){if(t=e.length){for(var t,r,n=0,a=e[0];++n<t;)a.n=r=e[n],r.p=a,a=r;a.n=r=e[0],r.p=a}}function Qr(e,t,r,n){this.x=e,this.z=t,this.o=r,this.e=n,this.v=!1,this.n=this.p=null}function en(e,t,r,n){return function(a,o){var s,l=t(o),c=a.invert(n[0],n[1]),u={point:d,lineStart:h,lineEnd:p,polygonStart:function(){u.point=b,u.lineStart=w,u.lineEnd=_,s=[],g=[]},polygonEnd:function(){u.point=d,u.lineStart=h,u.lineEnd=p,s=i.merge(s);var e=function(e,t){var r=e[0],n=e[1],a=[Math.sin(r),-Math.cos(r),0],i=0,o=0;zr.reset();for(var s=0,l=t.length;s<l;++s){var c=t[s],u=c.length;if(u)for(var d=c[0],f=d[0],h=d[1]/2+Oe/4,p=Math.sin(h),g=Math.cos(h),v=1;;){v===u&&(v=0);var m=(e=c[v])[0],y=e[1]/2+Oe/4,x=Math.sin(y),b=Math.cos(y),w=m-f,_=w>=0?1:-1,k=_*w,T=k>Oe,M=p*x;if(zr.add(Math.atan2(M*_*Math.sin(k),g*b+M*Math.cos(k))),i+=T?w+_*Ie:w,T^f>=r^m>=r){var S=Rr(jr(d),jr(e));Br(S);var A=Rr(a,S);Br(A);var C=(T^w>=0?-1:1)*Fe(A[2]);(n>C||n===C&&(S[0]||S[1]))&&(o+=T^w>=0?1:-1)}if(!v++)break;f=m,p=x,g=b,d=e}}return(i<-Ce||i<Ce&&zr<-Ce)^1&o}(c,g);s.length?(x||(o.polygonStart(),x=!0),Jr(s,nn,e,r,o)):e&&(x||(o.polygonStart(),x=!0),o.lineStart(),r(null,null,1,o),o.lineEnd()),x&&(o.polygonEnd(),x=!1),s=g=null},sphere:function(){o.polygonStart(),o.lineStart(),r(null,null,1,o),o.lineEnd(),o.polygonEnd()}};function d(t,r){var n=a(t,r);e(t=n[0],r=n[1])&&o.point(t,r)}function f(e,t){var r=a(e,t);l.point(r[0],r[1])}function h(){u.point=f,l.lineStart()}function p(){u.point=d,l.lineEnd()}var g,v,m=rn(),y=t(m),x=!1;function b(e,t){v.push([e,t]);var r=a(e,t);y.point(r[0],r[1])}function w(){y.lineStart(),v=[]}function _(){b(v[0][0],v[0][1]),y.lineEnd();var e,t=y.clean(),r=m.buffer(),n=r.length;if(v.pop(),g.push(v),v=null,n)if(1&t){var a,i=-1;if((n=(e=r[0]).length-1)>0){for(x||(o.polygonStart(),x=!0),o.lineStart();++i<n;)o.point((a=e[i])[0],a[1]);o.lineEnd()}}else n>1&&2&t&&r.push(r.pop().concat(r.shift())),s.push(r.filter(tn))}return u}}function tn(e){return e.length>1}function rn(){var e,t=[];return{lineStart:function(){t.push(e=[])},point:function(t,r){e.push([t,r])},lineEnd:N,buffer:function(){var r=t;return t=[],e=null,r},rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))}}}function nn(e,t){return((e=e.x)[0]<0?e[1]-Le-Ce:Le-e[1])-((t=t.x)[0]<0?t[1]-Le-Ce:Le-t[1])}var an=en($r,(function(e){var t,r=NaN,n=NaN,a=NaN;return{lineStart:function(){e.lineStart(),t=1},point:function(i,o){var s=i>0?Oe:-Oe,l=_(i-r);_(l-Oe)<Ce?(e.point(r,n=(n+o)/2>0?Le:-Le),e.point(a,n),e.lineEnd(),e.lineStart(),e.point(s,n),e.point(i,n),t=0):a!==s&&l>=Oe&&(_(r-a)<Ce&&(r-=a*Ce),_(i-s)<Ce&&(i-=s*Ce),n=function(e,t,r,n){var a,i,o=Math.sin(e-r);return _(o)>Ce?Math.atan((Math.sin(t)*(i=Math.cos(n))*Math.sin(r)-Math.sin(n)*(a=Math.cos(t))*Math.sin(e))/(a*i*o)):(t+n)/2}(r,n,i,o),e.point(a,n),e.lineEnd(),e.lineStart(),e.point(s,n),t=0),e.point(r=i,n=o),a=s},lineEnd:function(){e.lineEnd(),r=n=NaN},clean:function(){return 2-t}}}),(function(e,t,r,n){var a;if(null==e)a=r*Le,n.point(-Oe,a),n.point(0,a),n.point(Oe,a),n.point(Oe,0),n.point(Oe,-a),n.point(0,-a),n.point(-Oe,-a),n.point(-Oe,0),n.point(-Oe,a);else if(_(e[0]-t[0])>Ce){var i=e[0]<t[0]?Oe:-Oe;a=r*i/2,n.point(-i,a),n.point(0,a),n.point(i,a)}else n.point(t[0],t[1])}),[-Oe,-Oe/2]);function on(e){var t=Math.cos(e),r=t>0,n=_(t)>Ce;return en(a,(function(e){var t,s,l,c,u;return{lineStart:function(){c=l=!1,u=1},point:function(d,f){var h,p=[d,f],g=a(d,f),v=r?g?0:o(d,f):g?o(d+(d<0?Oe:-Oe),f):0;if(!t&&(c=l=g)&&e.lineStart(),g!==l&&(h=i(t,p),(Vr(t,h)||Vr(p,h))&&(p[0]+=Ce,p[1]+=Ce,g=a(p[0],p[1]))),g!==l)u=0,g?(e.lineStart(),h=i(p,t),e.point(h[0],h[1])):(h=i(t,p),e.point(h[0],h[1]),e.lineEnd()),t=h;else if(n&&t&&r^g){var m;v&s||!(m=i(p,t,!0))||(u=0,r?(e.lineStart(),e.point(m[0][0],m[0][1]),e.point(m[1][0],m[1][1]),e.lineEnd()):(e.point(m[1][0],m[1][1]),e.lineEnd(),e.lineStart(),e.point(m[0][0],m[0][1])))}!g||t&&Vr(t,p)||e.point(p[0],p[1]),t=p,l=g,s=v},lineEnd:function(){l&&e.lineEnd(),t=null},clean:function(){return u|(c&&l)<<1}}}),Vn(e,6*Ee),r?[0,-e]:[-Oe,e-Oe]);function a(e,r){return Math.cos(e)*Math.cos(r)>t}function i(e,r,n){var a=[1,0,0],i=Rr(jr(e),jr(r)),o=Dr(i,i),s=i[0],l=o-s*s;if(!l)return!n&&e;var c=t*o/l,u=-t*s/l,d=Rr(a,i),f=Fr(a,c);Nr(f,Fr(i,u));var h=d,p=Dr(f,h),g=Dr(h,h),v=p*p-g*(Dr(f,f)-1);if(!(v<0)){var m=Math.sqrt(v),y=Fr(h,(-p-m)/g);if(Nr(y,f),y=Hr(y),!n)return y;var x,b=e[0],w=r[0],k=e[1],T=r[1];w<b&&(x=b,b=w,w=x);var M=w-b,S=_(M-Oe)<Ce;if(!S&&T<k&&(x=k,k=T,T=x),S||M<Ce?S?k+T>0^y[1]<(_(y[0]-b)<Ce?k:T):k<=y[1]&&y[1]<=T:M>Oe^(b<=y[0]&&y[0]<=w)){var A=Fr(h,(-p+m)/g);return Nr(A,f),[y,Hr(A)]}}}function o(t,n){var a=r?e:Oe-e,i=0;return t<-a?i|=1:t>a&&(i|=2),n<-a?i|=4:n>a&&(i|=8),i}}function sn(e,t,r,n){return function(a){var i,o=a.a,s=a.b,l=o.x,c=o.y,u=0,d=1,f=s.x-l,h=s.y-c;if(i=e-l,f||!(i>0)){if(i/=f,f<0){if(i<u)return;i<d&&(d=i)}else if(f>0){if(i>d)return;i>u&&(u=i)}if(i=r-l,f||!(i<0)){if(i/=f,f<0){if(i>d)return;i>u&&(u=i)}else if(f>0){if(i<u)return;i<d&&(d=i)}if(i=t-c,h||!(i>0)){if(i/=h,h<0){if(i<u)return;i<d&&(d=i)}else if(h>0){if(i>d)return;i>u&&(u=i)}if(i=n-c,h||!(i<0)){if(i/=h,h<0){if(i>d)return;i>u&&(u=i)}else if(h>0){if(i<u)return;i<d&&(d=i)}return u>0&&(a.a={x:l+u*f,y:c+u*h}),d<1&&(a.b={x:l+d*f,y:c+d*h}),a}}}}}}function ln(e,t,r,n){return function(l){var c,u,d,f,h,p,g,v,m,y,x,b=l,w=rn(),_=sn(e,t,r,n),k={point:S,lineStart:function(){k.point=A,u&&u.push(d=[]);y=!0,m=!1,g=v=NaN},lineEnd:function(){c&&(A(f,h),p&&m&&w.rejoin(),c.push(w.buffer()));k.point=S,m&&l.lineEnd()},polygonStart:function(){l=w,c=[],u=[],x=!0},polygonEnd:function(){l=b,c=i.merge(c);var t=function(e){for(var t=0,r=u.length,n=e[1],a=0;a<r;++a)for(var i,o=1,s=u[a],l=s.length,c=s[0];o<l;++o)i=s[o],c[1]<=n?i[1]>n&&Re(c,i,e)>0&&++t:i[1]<=n&&Re(c,i,e)<0&&--t,c=i;return 0!==t}([e,n]),r=x&&t,a=c.length;(r||a)&&(l.polygonStart(),r&&(l.lineStart(),T(null,null,1,l),l.lineEnd()),a&&Jr(c,o,t,T,l),l.polygonEnd()),c=u=d=null}};function T(i,o,l,c){var u=0,d=0;if(null==i||(u=a(i,l))!==(d=a(o,l))||s(i,o)<0^l>0)do{c.point(0===u||3===u?e:r,u>1?n:t)}while((u=(u+l+4)%4)!==d);else c.point(o[0],o[1])}function M(a,i){return e<=a&&a<=r&&t<=i&&i<=n}function S(e,t){M(e,t)&&l.point(e,t)}function A(e,t){var r=M(e=Math.max(-1e9,Math.min(1e9,e)),t=Math.max(-1e9,Math.min(1e9,t)));if(u&&d.push([e,t]),y)f=e,h=t,p=r,y=!1,r&&(l.lineStart(),l.point(e,t));else if(r&&m)l.point(e,t);else{var n={a:{x:g,y:v},b:{x:e,y:t}};_(n)?(m||(l.lineStart(),l.point(n.a.x,n.a.y)),l.point(n.b.x,n.b.y),r||l.lineEnd(),x=!1):r&&(l.lineStart(),l.point(e,t),x=!1)}g=e,v=t,m=r}return k};function a(n,a){return _(n[0]-e)<Ce?a>0?0:3:_(n[0]-r)<Ce?a>0?2:1:_(n[1]-t)<Ce?a>0?1:0:a>0?3:2}function o(e,t){return s(e.x,t.x)}function s(e,t){var r=a(e,1),n=a(t,1);return r!==n?r-n:0===r?t[1]-e[1]:1===r?e[0]-t[0]:2===r?e[1]-t[1]:t[0]-e[0]}}function cn(e){var t=0,r=Oe/3,n=En(e),a=n(t,r);return a.parallels=function(e){return arguments.length?n(t=e[0]*Oe/180,r=e[1]*Oe/180):[t/Oe*180,r/Oe*180]},a}function un(e,t){var r=Math.sin(e),n=(r+Math.sin(t))/2,a=1+r*(2*n-r),i=Math.sqrt(a)/n;function o(e,t){var r=Math.sqrt(a-2*n*Math.sin(t))/n;return[r*Math.sin(e*=n),i-r*Math.cos(e)]}return o.invert=function(e,t){var r=i-t;return[Math.atan2(e,r)/n,Fe((a-(e*e+r*r)*n*n)/(2*n))]},o}i.geo.clipExtent=function(){var e,t,r,n,a,i,o={stream:function(e){return a&&(a.valid=!1),(a=i(e)).valid=!0,a},extent:function(s){return arguments.length?(i=ln(e=+s[0][0],t=+s[0][1],r=+s[1][0],n=+s[1][1]),a&&(a.valid=!1,a=null),o):[[e,t],[r,n]]}};return o.extent([[0,0],[960,500]])},(i.geo.conicEqualArea=function(){return cn(un)}).raw=un,i.geo.albers=function(){return i.geo.conicEqualArea().rotate([96,0]).center([-.6,38.7]).parallels([29.5,45.5]).scale(1070)},i.geo.albersUsa=function(){var e,t,r,n,a=i.geo.albers(),o=i.geo.conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),s=i.geo.conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),l={point:function(t,r){e=[t,r]}};function c(a){var i=a[0],o=a[1];return e=null,t(i,o),e||(r(i,o),e)||n(i,o),e}return c.invert=function(e){var t=a.scale(),r=a.translate(),n=(e[0]-r[0])/t,i=(e[1]-r[1])/t;return(i>=.12&&i<.234&&n>=-.425&&n<-.214?o:i>=.166&&i<.234&&n>=-.214&&n<-.115?s:a).invert(e)},c.stream=function(e){var t=a.stream(e),r=o.stream(e),n=s.stream(e);return{point:function(e,a){t.point(e,a),r.point(e,a),n.point(e,a)},sphere:function(){t.sphere(),r.sphere(),n.sphere()},lineStart:function(){t.lineStart(),r.lineStart(),n.lineStart()},lineEnd:function(){t.lineEnd(),r.lineEnd(),n.lineEnd()},polygonStart:function(){t.polygonStart(),r.polygonStart(),n.polygonStart()},polygonEnd:function(){t.polygonEnd(),r.polygonEnd(),n.polygonEnd()}}},c.precision=function(e){return arguments.length?(a.precision(e),o.precision(e),s.precision(e),c):a.precision()},c.scale=function(e){return arguments.length?(a.scale(e),o.scale(.35*e),s.scale(e),c.translate(a.translate())):a.scale()},c.translate=function(e){if(!arguments.length)return a.translate();var i=a.scale(),u=+e[0],d=+e[1];return t=a.translate(e).clipExtent([[u-.455*i,d-.238*i],[u+.455*i,d+.238*i]]).stream(l).point,r=o.translate([u-.307*i,d+.201*i]).clipExtent([[u-.425*i+Ce,d+.12*i+Ce],[u-.214*i-Ce,d+.234*i-Ce]]).stream(l).point,n=s.translate([u-.205*i,d+.212*i]).clipExtent([[u-.214*i+Ce,d+.166*i+Ce],[u-.115*i-Ce,d+.234*i-Ce]]).stream(l).point,c},c.scale(1070)};var dn,fn,hn,pn,gn,vn,mn={point:N,lineStart:N,lineEnd:N,polygonStart:function(){fn=0,mn.lineStart=yn},polygonEnd:function(){mn.lineStart=mn.lineEnd=mn.point=N,dn+=_(fn/2)}};function yn(){var e,t,r,n;function a(e,t){fn+=n*e-r*t,r=e,n=t}mn.point=function(i,o){mn.point=a,e=r=i,t=n=o},mn.lineEnd=function(){a(e,t)}}var xn={point:function(e,t){e<hn&&(hn=e);e>gn&&(gn=e);t<pn&&(pn=t);t>vn&&(vn=t)},lineStart:N,lineEnd:N,polygonStart:N,polygonEnd:N};function bn(){var e=wn(4.5),t=[],r={point:n,lineStart:function(){r.point=a},lineEnd:o,polygonStart:function(){r.lineEnd=s},polygonEnd:function(){r.lineEnd=o,r.point=n},pointRadius:function(t){return e=wn(t),r},result:function(){if(t.length){var e=t.join("");return t=[],e}}};function n(r,n){t.push("M",r,",",n,e)}function a(e,n){t.push("M",e,",",n),r.point=i}function i(e,r){t.push("L",e,",",r)}function o(){r.point=n}function s(){t.push("Z")}return r}function wn(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}var _n,kn={point:Tn,lineStart:Mn,lineEnd:Sn,polygonStart:function(){kn.lineStart=An},polygonEnd:function(){kn.point=Tn,kn.lineStart=Mn,kn.lineEnd=Sn}};function Tn(e,t){kr+=e,Tr+=t,++Mr}function Mn(){var e,t;function r(r,n){var a=r-e,i=n-t,o=Math.sqrt(a*a+i*i);Sr+=o*(e+r)/2,Ar+=o*(t+n)/2,Cr+=o,Tn(e=r,t=n)}kn.point=function(n,a){kn.point=r,Tn(e=n,t=a)}}function Sn(){kn.point=Tn}function An(){var e,t,r,n;function a(e,t){var a=e-r,i=t-n,o=Math.sqrt(a*a+i*i);Sr+=o*(r+e)/2,Ar+=o*(n+t)/2,Cr+=o,Pr+=(o=n*e-r*t)*(r+e),Or+=o*(n+t),Ir+=3*o,Tn(r=e,n=t)}kn.point=function(i,o){kn.point=a,Tn(e=r=i,t=n=o)},kn.lineEnd=function(){a(e,t)}}function Cn(e){var t=4.5,r={point:n,lineStart:function(){r.point=a},lineEnd:o,polygonStart:function(){r.lineEnd=s},polygonEnd:function(){r.lineEnd=o,r.point=n},pointRadius:function(e){return t=e,r},result:N};function n(r,n){e.moveTo(r+t,n),e.arc(r,n,t,0,Ie)}function a(t,n){e.moveTo(t,n),r.point=i}function i(t,r){e.lineTo(t,r)}function o(){r.point=n}function s(){e.closePath()}return r}function Pn(e){var t=.5,r=Math.cos(30*Ee),n=16;function a(e){return(n?o:i)(e)}function i(t){return zn(t,(function(r,n){r=e(r,n),t.point(r[0],r[1])}))}function o(t){var r,a,i,o,l,c,u,d,f,h,p,g,v={point:m,lineStart:y,lineEnd:b,polygonStart:function(){t.polygonStart(),v.lineStart=w},polygonEnd:function(){t.polygonEnd(),v.lineStart=y}};function m(r,n){r=e(r,n),t.point(r[0],r[1])}function y(){d=NaN,v.point=x,t.lineStart()}function x(r,a){var i=jr([r,a]),o=e(r,a);s(d,f,u,h,p,g,d=o[0],f=o[1],u=r,h=i[0],p=i[1],g=i[2],n,t),t.point(d,f)}function b(){v.point=m,t.lineEnd()}function w(){y(),v.point=_,v.lineEnd=k}function _(e,t){x(r=e,t),a=d,i=f,o=h,l=p,c=g,v.point=x}function k(){s(d,f,u,h,p,g,a,i,r,o,l,c,n,t),v.lineEnd=b,b()}return v}function s(n,a,i,o,l,c,u,d,f,h,p,g,v,m){var y=u-n,x=d-a,b=y*y+x*x;if(b>4*t&&v--){var w=o+h,k=l+p,T=c+g,M=Math.sqrt(w*w+k*k+T*T),S=Math.asin(T/=M),A=_(_(T)-1)<Ce||_(i-f)<Ce?(i+f)/2:Math.atan2(k,w),C=e(A,S),P=C[0],O=C[1],I=P-n,z=O-a,L=x*I-y*z;(L*L/b>t||_((y*I+x*z)/b-.5)>.3||o*h+l*p+c*g<r)&&(s(n,a,i,o,l,c,P,O,A,w/=M,k/=M,T,v,m),m.point(P,O),s(P,O,A,w,k,T,u,d,f,h,p,g,v,m))}}return a.precision=function(e){return arguments.length?(n=(t=e*e)>0&&16,a):Math.sqrt(t)},a}function On(e){var t=Pn((function(t,r){return e([t*je,r*je])}));return function(e){return jn(t(e))}}function In(e){this.stream=e}function zn(e,t){return{point:t,sphere:function(){e.sphere()},lineStart:function(){e.lineStart()},lineEnd:function(){e.lineEnd()},polygonStart:function(){e.polygonStart()},polygonEnd:function(){e.polygonEnd()}}}function Ln(e){return En((function(){return e}))()}function En(e){var t,r,n,a,o,s,l=Pn((function(e,r){return[(e=t(e,r))[0]*c+a,o-e[1]*c]})),c=150,u=480,d=250,f=0,h=0,p=0,g=0,v=0,m=an,y=E,x=null,b=null;function w(e){return[(e=n(e[0]*Ee,e[1]*Ee))[0]*c+a,o-e[1]*c]}function _(e){return(e=n.invert((e[0]-a)/c,(o-e[1])/c))&&[e[0]*je,e[1]*je]}function k(){n=Xr(r=Nn(p,g,v),t);var e=t(f,h);return a=u-e[0]*c,o=d+e[1]*c,T()}function T(){return s&&(s.valid=!1,s=null),w}return w.stream=function(e){return s&&(s.valid=!1),(s=jn(m(r,l(y(e))))).valid=!0,s},w.clipAngle=function(e){return arguments.length?(m=null==e?(x=e,an):on((x=+e)*Ee),T()):x},w.clipExtent=function(e){return arguments.length?(b=e,y=e?ln(e[0][0],e[0][1],e[1][0],e[1][1]):E,T()):b},w.scale=function(e){return arguments.length?(c=+e,k()):c},w.translate=function(e){return arguments.length?(u=+e[0],d=+e[1],k()):[u,d]},w.center=function(e){return arguments.length?(f=e[0]%360*Ee,h=e[1]%360*Ee,k()):[f*je,h*je]},w.rotate=function(e){return arguments.length?(p=e[0]%360*Ee,g=e[1]%360*Ee,v=e.length>2?e[2]%360*Ee:0,k()):[p*je,g*je,v*je]},i.rebind(w,l,"precision"),function(){return t=e.apply(this,arguments),w.invert=t.invert&&_,k()}}function jn(e){return zn(e,(function(t,r){e.point(t*Ee,r*Ee)}))}function Dn(e,t){return[e,t]}function Rn(e,t){return[e>Oe?e-Ie:e<-Oe?e+Ie:e,t]}function Nn(e,t,r){return e?t||r?Xr(Bn(e),Hn(t,r)):Bn(e):t||r?Hn(t,r):Rn}function Fn(e){return function(t,r){return[(t+=e)>Oe?t-Ie:t<-Oe?t+Ie:t,r]}}function Bn(e){var t=Fn(e);return t.invert=Fn(-e),t}function Hn(e,t){var r=Math.cos(e),n=Math.sin(e),a=Math.cos(t),i=Math.sin(t);function o(e,t){var o=Math.cos(t),s=Math.cos(e)*o,l=Math.sin(e)*o,c=Math.sin(t),u=c*r+s*n;return[Math.atan2(l*a-u*i,s*r-c*n),Fe(u*a+l*i)]}return o.invert=function(e,t){var o=Math.cos(t),s=Math.cos(e)*o,l=Math.sin(e)*o,c=Math.sin(t),u=c*a-l*i;return[Math.atan2(l*a+c*i,s*r+u*n),Fe(u*r-s*n)]},o}function Vn(e,t){var r=Math.cos(e),n=Math.sin(e);return function(a,i,o,s){var l=o*t;null!=a?(a=Gn(r,a),i=Gn(r,i),(o>0?a<i:a>i)&&(a+=o*Ie)):(a=e+o*Ie,i=e-.5*l);for(var c,u=a;o>0?u>i:u<i;u-=l)s.point((c=Hr([r,-n*Math.cos(u),-n*Math.sin(u)]))[0],c[1])}}function Gn(e,t){var r=jr(t);r[0]-=e,Br(r);var n=Ne(-r[1]);return((-r[2]<0?-n:n)+2*Math.PI-Ce)%(2*Math.PI)}function Zn(e,t,r){var n=i.range(e,t-Ce,r).concat(t);return function(e){return n.map((function(t){return[e,t]}))}}function qn(e,t,r){var n=i.range(e,t-Ce,r).concat(t);return function(e){return n.map((function(t){return[t,e]}))}}function Un(e){return e.source}function Wn(e){return e.target}i.geo.path=function(){var e,t,r,n,a,o=4.5;function s(e){return e&&("function"==typeof o&&n.pointRadius(+o.apply(this,arguments)),a&&a.valid||(a=r(n)),i.geo.stream(e,a)),n.result()}function l(){return a=null,s}return s.area=function(e){return dn=0,i.geo.stream(e,r(mn)),dn},s.centroid=function(e){return kr=Tr=Mr=Sr=Ar=Cr=Pr=Or=Ir=0,i.geo.stream(e,r(kn)),Ir?[Pr/Ir,Or/Ir]:Cr?[Sr/Cr,Ar/Cr]:Mr?[kr/Mr,Tr/Mr]:[NaN,NaN]},s.bounds=function(e){return gn=vn=-(hn=pn=1/0),i.geo.stream(e,r(xn)),[[hn,pn],[gn,vn]]},s.projection=function(t){return arguments.length?(r=(e=t)?t.stream||On(t):E,l()):e},s.context=function(e){return arguments.length?(n=null==(t=e)?new bn:new Cn(e),"function"!=typeof o&&n.pointRadius(o),l()):t},s.pointRadius=function(e){return arguments.length?(o="function"==typeof e?e:(n.pointRadius(+e),+e),s):o},s.projection(i.geo.albersUsa()).context(null)},i.geo.transform=function(e){return{stream:function(t){var r=new In(t);for(var n in e)r[n]=e[n];return r}}},In.prototype={point:function(e,t){this.stream.point(e,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}},i.geo.projection=Ln,i.geo.projectionMutator=En,(i.geo.equirectangular=function(){return Ln(Dn)}).raw=Dn.invert=Dn,i.geo.rotation=function(e){function t(t){return(t=e(t[0]*Ee,t[1]*Ee))[0]*=je,t[1]*=je,t}return e=Nn(e[0]%360*Ee,e[1]*Ee,e.length>2?e[2]*Ee:0),t.invert=function(t){return(t=e.invert(t[0]*Ee,t[1]*Ee))[0]*=je,t[1]*=je,t},t},Rn.invert=Dn,i.geo.circle=function(){var e,t,r=[0,0],n=6;function a(){var e="function"==typeof r?r.apply(this,arguments):r,n=Nn(-e[0]*Ee,-e[1]*Ee,0).invert,a=[];return t(null,null,1,{point:function(e,t){a.push(e=n(e,t)),e[0]*=je,e[1]*=je}}),{type:"Polygon",coordinates:[a]}}return a.origin=function(e){return arguments.length?(r=e,a):r},a.angle=function(r){return arguments.length?(t=Vn((e=+r)*Ee,n*Ee),a):e},a.precision=function(r){return arguments.length?(t=Vn(e*Ee,(n=+r)*Ee),a):n},a.angle(90)},i.geo.distance=function(e,t){var r,n=(t[0]-e[0])*Ee,a=e[1]*Ee,i=t[1]*Ee,o=Math.sin(n),s=Math.cos(n),l=Math.sin(a),c=Math.cos(a),u=Math.sin(i),d=Math.cos(i);return Math.atan2(Math.sqrt((r=d*o)*r+(r=c*u-l*d*s)*r),l*u+c*d*s)},i.geo.graticule=function(){var e,t,r,n,a,o,s,l,c,u,d,f,h=10,p=h,g=90,v=360,m=2.5;function y(){return{type:"MultiLineString",coordinates:x()}}function x(){return i.range(Math.ceil(n/g)*g,r,g).map(d).concat(i.range(Math.ceil(l/v)*v,s,v).map(f)).concat(i.range(Math.ceil(t/h)*h,e,h).filter((function(e){return _(e%g)>Ce})).map(c)).concat(i.range(Math.ceil(o/p)*p,a,p).filter((function(e){return _(e%v)>Ce})).map(u))}return y.lines=function(){return x().map((function(e){return{type:"LineString",coordinates:e}}))},y.outline=function(){return{type:"Polygon",coordinates:[d(n).concat(f(s).slice(1),d(r).reverse().slice(1),f(l).reverse().slice(1))]}},y.extent=function(e){return arguments.length?y.majorExtent(e).minorExtent(e):y.minorExtent()},y.majorExtent=function(e){return arguments.length?(n=+e[0][0],r=+e[1][0],l=+e[0][1],s=+e[1][1],n>r&&(e=n,n=r,r=e),l>s&&(e=l,l=s,s=e),y.precision(m)):[[n,l],[r,s]]},y.minorExtent=function(r){return arguments.length?(t=+r[0][0],e=+r[1][0],o=+r[0][1],a=+r[1][1],t>e&&(r=t,t=e,e=r),o>a&&(r=o,o=a,a=r),y.precision(m)):[[t,o],[e,a]]},y.step=function(e){return arguments.length?y.majorStep(e).minorStep(e):y.minorStep()},y.majorStep=function(e){return arguments.length?(g=+e[0],v=+e[1],y):[g,v]},y.minorStep=function(e){return arguments.length?(h=+e[0],p=+e[1],y):[h,p]},y.precision=function(i){return arguments.length?(m=+i,c=Zn(o,a,90),u=qn(t,e,m),d=Zn(l,s,90),f=qn(n,r,m),y):m},y.majorExtent([[-180,-90+Ce],[180,90-Ce]]).minorExtent([[-180,-80-Ce],[180,80+Ce]])},i.geo.greatArc=function(){var e,t,r=Un,n=Wn;function a(){return{type:"LineString",coordinates:[e||r.apply(this,arguments),t||n.apply(this,arguments)]}}return a.distance=function(){return i.geo.distance(e||r.apply(this,arguments),t||n.apply(this,arguments))},a.source=function(t){return arguments.length?(r=t,e="function"==typeof t?null:t,a):r},a.target=function(e){return arguments.length?(n=e,t="function"==typeof e?null:e,a):n},a.precision=function(){return arguments.length?a:0},a},i.geo.interpolate=function(e,t){return r=e[0]*Ee,n=e[1]*Ee,a=t[0]*Ee,i=t[1]*Ee,o=Math.cos(n),s=Math.sin(n),l=Math.cos(i),c=Math.sin(i),u=o*Math.cos(r),d=o*Math.sin(r),f=l*Math.cos(a),h=l*Math.sin(a),p=2*Math.asin(Math.sqrt(He(i-n)+o*l*He(a-r))),g=1/Math.sin(p),(v=p?function(e){var t=Math.sin(e*=p)*g,r=Math.sin(p-e)*g,n=r*u+t*f,a=r*d+t*h,i=r*s+t*c;return[Math.atan2(a,n)*je,Math.atan2(i,Math.sqrt(n*n+a*a))*je]}:function(){return[r*je,n*je]}).distance=p,v;var r,n,a,i,o,s,l,c,u,d,f,h,p,g,v},i.geo.length=function(e){return _n=0,i.geo.stream(e,Yn),_n};var Yn={sphere:N,point:N,lineStart:function(){var e,t,r;function n(n,a){var i=Math.sin(a*=Ee),o=Math.cos(a),s=_((n*=Ee)-e),l=Math.cos(s);_n+=Math.atan2(Math.sqrt((s=o*Math.sin(s))*s+(s=r*i-t*o*l)*s),t*i+r*o*l),e=n,t=i,r=o}Yn.point=function(a,i){e=a*Ee,t=Math.sin(i*=Ee),r=Math.cos(i),Yn.point=n},Yn.lineEnd=function(){Yn.point=Yn.lineEnd=N}},lineEnd:N,polygonStart:N,polygonEnd:N};function Xn(e,t){function r(t,r){var n=Math.cos(t),a=Math.cos(r),i=e(n*a);return[i*a*Math.sin(t),i*Math.sin(r)]}return r.invert=function(e,r){var n=Math.sqrt(e*e+r*r),a=t(n),i=Math.sin(a),o=Math.cos(a);return[Math.atan2(e*i,n*o),Math.asin(n&&r*i/n)]},r}var $n=Xn((function(e){return Math.sqrt(2/(1+e))}),(function(e){return 2*Math.asin(e/2)}));(i.geo.azimuthalEqualArea=function(){return Ln($n)}).raw=$n;var Jn=Xn((function(e){var t=Math.acos(e);return t&&t/Math.sin(t)}),E);function Kn(e,t){var r=Math.cos(e),n=function(e){return Math.tan(Oe/4+e/2)},a=e===t?Math.sin(e):Math.log(r/Math.cos(t))/Math.log(n(t)/n(e)),i=r*Math.pow(n(e),a)/a;if(!a)return ta;function o(e,t){i>0?t<-Le+Ce&&(t=-Le+Ce):t>Le-Ce&&(t=Le-Ce);var r=i/Math.pow(n(t),a);return[r*Math.sin(a*e),i-r*Math.cos(a*e)]}return o.invert=function(e,t){var r=i-t,n=De(a)*Math.sqrt(e*e+r*r);return[Math.atan2(e,r)/a,2*Math.atan(Math.pow(i/n,1/a))-Le]},o}function Qn(e,t){var r=Math.cos(e),n=e===t?Math.sin(e):(r-Math.cos(t))/(t-e),a=r/n+e;if(_(n)<Ce)return Dn;function i(e,t){var r=a-t;return[r*Math.sin(n*e),a-r*Math.cos(n*e)]}return i.invert=function(e,t){var r=a-t;return[Math.atan2(e,r)/n,a-De(n)*Math.sqrt(e*e+r*r)]},i}(i.geo.azimuthalEquidistant=function(){return Ln(Jn)}).raw=Jn,(i.geo.conicConformal=function(){return cn(Kn)}).raw=Kn,(i.geo.conicEquidistant=function(){return cn(Qn)}).raw=Qn;var ea=Xn((function(e){return 1/e}),Math.atan);function ta(e,t){return[e,Math.log(Math.tan(Oe/4+t/2))]}function ra(e){var t,r=Ln(e),n=r.scale,a=r.translate,i=r.clipExtent;return r.scale=function(){var e=n.apply(r,arguments);return e===r?t?r.clipExtent(null):r:e},r.translate=function(){var e=a.apply(r,arguments);return e===r?t?r.clipExtent(null):r:e},r.clipExtent=function(e){var o=i.apply(r,arguments);if(o===r){if(t=null==e){var s=Oe*n(),l=a();i([[l[0]-s,l[1]-s],[l[0]+s,l[1]+s]])}}else t&&(o=null);return o},r.clipExtent(null)}(i.geo.gnomonic=function(){return Ln(ea)}).raw=ea,ta.invert=function(e,t){return[e,2*Math.atan(Math.exp(t))-Le]},(i.geo.mercator=function(){return ra(ta)}).raw=ta;var na=Xn((function(){return 1}),Math.asin);(i.geo.orthographic=function(){return Ln(na)}).raw=na;var aa=Xn((function(e){return 1/(1+e)}),(function(e){return 2*Math.atan(e)}));function ia(e,t){return[Math.log(Math.tan(Oe/4+t/2)),-e]}function oa(e){return e[0]}function sa(e){return e[1]}function la(e){for(var t=e.length,r=[0,1],n=2,a=2;a<t;a++){for(;n>1&&Re(e[r[n-2]],e[r[n-1]],e[a])<=0;)--n;r[n++]=a}return r.slice(0,n)}function ca(e,t){return e[0]-t[0]||e[1]-t[1]}(i.geo.stereographic=function(){return Ln(aa)}).raw=aa,ia.invert=function(e,t){return[-t,2*Math.atan(Math.exp(e))-Le]},(i.geo.transverseMercator=function(){var e=ra(ia),t=e.center,r=e.rotate;return e.center=function(e){return e?t([-e[1],e[0]]):[(e=t())[1],-e[0]]},e.rotate=function(e){return e?r([e[0],e[1],e.length>2?e[2]+90:90]):[(e=r())[0],e[1],e[2]-90]},r([0,0,90])}).raw=ia,i.geom={},i.geom.hull=function(e){var t=oa,r=sa;if(arguments.length)return n(e);function n(e){if(e.length<3)return[];var n,a=yt(t),i=yt(r),o=e.length,s=[],l=[];for(n=0;n<o;n++)s.push([+a.call(this,e[n],n),+i.call(this,e[n],n),n]);for(s.sort(ca),n=0;n<o;n++)l.push([s[n][0],-s[n][1]]);var c=la(s),u=la(l),d=u[0]===c[0],f=u[u.length-1]===c[c.length-1],h=[];for(n=c.length-1;n>=0;--n)h.push(e[s[c[n]][2]]);for(n=+d;n<u.length-f;++n)h.push(e[s[u[n]][2]]);return h}return n.x=function(e){return arguments.length?(t=e,n):t},n.y=function(e){return arguments.length?(r=e,n):r},n},i.geom.polygon=function(e){return q(e,ua),e};var ua=i.geom.polygon.prototype=[];function da(e,t,r){return(r[0]-t[0])*(e[1]-t[1])<(r[1]-t[1])*(e[0]-t[0])}function fa(e,t,r,n){var a=e[0],i=r[0],o=t[0]-a,s=n[0]-i,l=e[1],c=r[1],u=t[1]-l,d=n[1]-c,f=(s*(l-c)-d*(a-i))/(d*o-s*u);return[a+f*o,l+f*u]}function ha(e){var t=e[0],r=e[e.length-1];return!(t[0]-r[0]||t[1]-r[1])}ua.area=function(){for(var e,t=-1,r=this.length,n=this[r-1],a=0;++t<r;)e=n,n=this[t],a+=e[1]*n[0]-e[0]*n[1];return.5*a},ua.centroid=function(e){var t,r,n=-1,a=this.length,i=0,o=0,s=this[a-1];for(arguments.length||(e=-1/(6*this.area()));++n<a;)t=s,s=this[n],r=t[0]*s[1]-s[0]*t[1],i+=(t[0]+s[0])*r,o+=(t[1]+s[1])*r;return[i*e,o*e]},ua.clip=function(e){for(var t,r,n,a,i,o,s=ha(e),l=-1,c=this.length-ha(this),u=this[c-1];++l<c;){for(t=e.slice(),e.length=0,a=this[l],i=t[(n=t.length-s)-1],r=-1;++r<n;)da(o=t[r],u,a)?(da(i,u,a)||e.push(fa(i,o,u,a)),e.push(o)):da(i,u,a)&&e.push(fa(i,o,u,a)),i=o;s&&e.push(e[0]),u=a}return e};var pa,ga,va,ma,ya,xa=[],ba=[];function wa(){Ba(this),this.edge=this.site=this.circle=null}function _a(e){var t=xa.pop()||new wa;return t.site=e,t}function ka(e){za(e),va.remove(e),xa.push(e),Ba(e)}function Ta(e){var t=e.circle,r=t.x,n=t.cy,a={x:r,y:n},i=e.P,o=e.N,s=[e];ka(e);for(var l=i;l.circle&&_(r-l.circle.x)<Ce&&_(n-l.circle.cy)<Ce;)i=l.P,s.unshift(l),ka(l),l=i;s.unshift(l),za(l);for(var c=o;c.circle&&_(r-c.circle.x)<Ce&&_(n-c.circle.cy)<Ce;)o=c.N,s.push(c),ka(c),c=o;s.push(c),za(c);var u,d=s.length;for(u=1;u<d;++u)c=s[u],l=s[u-1],Ra(c.edge,l.site,c.site,a);l=s[0],(c=s[d-1]).edge=ja(l.site,c.site,null,a),Ia(l),Ia(c)}function Ma(e){for(var t,r,n,a,i=e.x,o=e.y,s=va._;s;)if((n=Sa(s,o)-i)>Ce)s=s.L;else{if(!((a=i-Aa(s,o))>Ce)){n>-Ce?(t=s.P,r=s):a>-Ce?(t=s,r=s.N):t=r=s;break}if(!s.R){t=s;break}s=s.R}var l=_a(e);if(va.insert(t,l),t||r){if(t===r)return za(t),r=_a(t.site),va.insert(l,r),l.edge=r.edge=ja(t.site,l.site),Ia(t),void Ia(r);if(r){za(t),za(r);var c=t.site,u=c.x,d=c.y,f=e.x-u,h=e.y-d,p=r.site,g=p.x-u,v=p.y-d,m=2*(f*v-h*g),y=f*f+h*h,x=g*g+v*v,b={x:(v*y-h*x)/m+u,y:(f*x-g*y)/m+d};Ra(r.edge,c,p,b),l.edge=ja(c,e,null,b),r.edge=ja(e,p,null,b),Ia(t),Ia(r)}else l.edge=ja(t.site,l.site)}}function Sa(e,t){var r=e.site,n=r.x,a=r.y,i=a-t;if(!i)return n;var o=e.P;if(!o)return-1/0;var s=(r=o.site).x,l=r.y,c=l-t;if(!c)return s;var u=s-n,d=1/i-1/c,f=u/c;return d?(-f+Math.sqrt(f*f-2*d*(u*u/(-2*c)-l+c/2+a-i/2)))/d+n:(n+s)/2}function Aa(e,t){var r=e.N;if(r)return Sa(r,t);var n=e.site;return n.y===t?n.x:1/0}function Ca(e){this.site=e,this.edges=[]}function Pa(e,t){return t.angle-e.angle}function Oa(){Ba(this),this.x=this.y=this.arc=this.site=this.cy=null}function Ia(e){var t=e.P,r=e.N;if(t&&r){var n=t.site,a=e.site,i=r.site;if(n!==i){var o=a.x,s=a.y,l=n.x-o,c=n.y-s,u=i.x-o,d=2*(l*(v=i.y-s)-c*u);if(!(d>=-Pe)){var f=l*l+c*c,h=u*u+v*v,p=(v*f-c*h)/d,g=(l*h-u*f)/d,v=g+s,m=ba.pop()||new Oa;m.arc=e,m.site=a,m.x=p+o,m.y=v+Math.sqrt(p*p+g*g),m.cy=v,e.circle=m;for(var y=null,x=ya._;x;)if(m.y<x.y||m.y===x.y&&m.x<=x.x){if(!x.L){y=x.P;break}x=x.L}else{if(!x.R){y=x;break}x=x.R}ya.insert(y,m),y||(ma=m)}}}}function za(e){var t=e.circle;t&&(t.P||(ma=t.N),ya.remove(t),ba.push(t),Ba(t),e.circle=null)}function La(e,t){var r=e.b;if(r)return!0;var n,a,i=e.a,o=t[0][0],s=t[1][0],l=t[0][1],c=t[1][1],u=e.l,d=e.r,f=u.x,h=u.y,p=d.x,g=d.y,v=(f+p)/2,m=(h+g)/2;if(g===h){if(v<o||v>=s)return;if(f>p){if(i){if(i.y>=c)return}else i={x:v,y:l};r={x:v,y:c}}else{if(i){if(i.y<l)return}else i={x:v,y:c};r={x:v,y:l}}}else if(a=m-(n=(f-p)/(g-h))*v,n<-1||n>1)if(f>p){if(i){if(i.y>=c)return}else i={x:(l-a)/n,y:l};r={x:(c-a)/n,y:c}}else{if(i){if(i.y<l)return}else i={x:(c-a)/n,y:c};r={x:(l-a)/n,y:l}}else if(h<g){if(i){if(i.x>=s)return}else i={x:o,y:n*o+a};r={x:s,y:n*s+a}}else{if(i){if(i.x<o)return}else i={x:s,y:n*s+a};r={x:o,y:n*o+a}}return e.a=i,e.b=r,!0}function Ea(e,t){this.l=e,this.r=t,this.a=this.b=null}function ja(e,t,r,n){var a=new Ea(e,t);return pa.push(a),r&&Ra(a,e,t,r),n&&Ra(a,t,e,n),ga[e.i].edges.push(new Na(a,e,t)),ga[t.i].edges.push(new Na(a,t,e)),a}function Da(e,t,r){var n=new Ea(e,null);return n.a=t,n.b=r,pa.push(n),n}function Ra(e,t,r,n){e.a||e.b?e.l===r?e.b=n:e.a=n:(e.a=n,e.l=t,e.r=r)}function Na(e,t,r){var n=e.a,a=e.b;this.edge=e,this.site=t,this.angle=r?Math.atan2(r.y-t.y,r.x-t.x):e.l===t?Math.atan2(a.x-n.x,n.y-a.y):Math.atan2(n.x-a.x,a.y-n.y)}function Fa(){this._=null}function Ba(e){e.U=e.C=e.L=e.R=e.P=e.N=null}function Ha(e,t){var r=t,n=t.R,a=r.U;a?a.L===r?a.L=n:a.R=n:e._=n,n.U=a,r.U=n,r.R=n.L,r.R&&(r.R.U=r),n.L=r}function Va(e,t){var r=t,n=t.L,a=r.U;a?a.L===r?a.L=n:a.R=n:e._=n,n.U=a,r.U=n,r.L=n.R,r.L&&(r.L.U=r),n.R=r}function Ga(e){for(;e.L;)e=e.L;return e}function Za(e,t){var r,n,a,i=e.sort(qa).pop();for(pa=[],ga=new Array(e.length),va=new Fa,ya=new Fa;;)if(a=ma,i&&(!a||i.y<a.y||i.y===a.y&&i.x<a.x))i.x===r&&i.y===n||(ga[i.i]=new Ca(i),Ma(i),r=i.x,n=i.y),i=e.pop();else{if(!a)break;Ta(a.arc)}t&&(function(e){for(var t,r=pa,n=sn(e[0][0],e[0][1],e[1][0],e[1][1]),a=r.length;a--;)(!La(t=r[a],e)||!n(t)||_(t.a.x-t.b.x)<Ce&&_(t.a.y-t.b.y)<Ce)&&(t.a=t.b=null,r.splice(a,1))}(t),function(e){for(var t,r,n,a,i,o,s,l,c,u,d=e[0][0],f=e[1][0],h=e[0][1],p=e[1][1],g=ga,v=g.length;v--;)if((i=g[v])&&i.prepare())for(l=(s=i.edges).length,o=0;o<l;)n=(u=s[o].end()).x,a=u.y,t=(c=s[++o%l].start()).x,r=c.y,(_(n-t)>Ce||_(a-r)>Ce)&&(s.splice(o,0,new Na(Da(i.site,u,_(n-d)<Ce&&p-a>Ce?{x:d,y:_(t-d)<Ce?r:p}:_(a-p)<Ce&&f-n>Ce?{x:_(r-p)<Ce?t:f,y:p}:_(n-f)<Ce&&a-h>Ce?{x:f,y:_(t-f)<Ce?r:h}:_(a-h)<Ce&&n-d>Ce?{x:_(r-h)<Ce?t:d,y:h}:null),i.site,null)),++l)}(t));var o={cells:ga,edges:pa};return va=ya=pa=ga=null,o}function qa(e,t){return t.y-e.y||t.x-e.x}Ca.prototype.prepare=function(){for(var e,t=this.edges,r=t.length;r--;)(e=t[r].edge).b&&e.a||t.splice(r,1);return t.sort(Pa),t.length},Na.prototype={start:function(){return this.edge.l===this.site?this.edge.a:this.edge.b},end:function(){return this.edge.l===this.site?this.edge.b:this.edge.a}},Fa.prototype={insert:function(e,t){var r,n,a;if(e){if(t.P=e,t.N=e.N,e.N&&(e.N.P=t),e.N=t,e.R){for(e=e.R;e.L;)e=e.L;e.L=t}else e.R=t;r=e}else this._?(e=Ga(this._),t.P=null,t.N=e,e.P=e.L=t,r=e):(t.P=t.N=null,this._=t,r=null);for(t.L=t.R=null,t.U=r,t.C=!0,e=t;r&&r.C;)r===(n=r.U).L?(a=n.R)&&a.C?(r.C=a.C=!1,n.C=!0,e=n):(e===r.R&&(Ha(this,r),r=(e=r).U),r.C=!1,n.C=!0,Va(this,n)):(a=n.L)&&a.C?(r.C=a.C=!1,n.C=!0,e=n):(e===r.L&&(Va(this,r),r=(e=r).U),r.C=!1,n.C=!0,Ha(this,n)),r=e.U;this._.C=!1},remove:function(e){e.N&&(e.N.P=e.P),e.P&&(e.P.N=e.N),e.N=e.P=null;var t,r,n,a=e.U,i=e.L,o=e.R;if(r=i?o?Ga(o):i:o,a?a.L===e?a.L=r:a.R=r:this._=r,i&&o?(n=r.C,r.C=e.C,r.L=i,i.U=r,r!==o?(a=r.U,r.U=e.U,e=r.R,a.L=e,r.R=o,o.U=r):(r.U=a,a=r,e=r.R)):(n=e.C,e=r),e&&(e.U=a),!n)if(e&&e.C)e.C=!1;else{do{if(e===this._)break;if(e===a.L){if((t=a.R).C&&(t.C=!1,a.C=!0,Ha(this,a),t=a.R),t.L&&t.L.C||t.R&&t.R.C){t.R&&t.R.C||(t.L.C=!1,t.C=!0,Va(this,t),t=a.R),t.C=a.C,a.C=t.R.C=!1,Ha(this,a),e=this._;break}}else if((t=a.L).C&&(t.C=!1,a.C=!0,Va(this,a),t=a.L),t.L&&t.L.C||t.R&&t.R.C){t.L&&t.L.C||(t.R.C=!1,t.C=!0,Ha(this,t),t=a.L),t.C=a.C,a.C=t.L.C=!1,Va(this,a),e=this._;break}t.C=!0,e=a,a=a.U}while(!e.C);e&&(e.C=!1)}}},i.geom.voronoi=function(e){var t=oa,r=sa,n=t,a=r,i=Ua;if(e)return o(e);function o(e){var t=new Array(e.length),r=i[0][0],n=i[0][1],a=i[1][0],o=i[1][1];return Za(s(e),i).cells.forEach((function(i,s){var l=i.edges,c=i.site;(t[s]=l.length?l.map((function(e){var t=e.start();return[t.x,t.y]})):c.x>=r&&c.x<=a&&c.y>=n&&c.y<=o?[[r,o],[a,o],[a,n],[r,n]]:[]).point=e[s]})),t}function s(e){return e.map((function(e,t){return{x:Math.round(n(e,t)/Ce)*Ce,y:Math.round(a(e,t)/Ce)*Ce,i:t}}))}return o.links=function(e){return Za(s(e)).edges.filter((function(e){return e.l&&e.r})).map((function(t){return{source:e[t.l.i],target:e[t.r.i]}}))},o.triangles=function(e){var t=[];return Za(s(e)).cells.forEach((function(r,n){for(var a,i,o,s,l=r.site,c=r.edges.sort(Pa),u=-1,d=c.length,f=c[d-1].edge,h=f.l===l?f.r:f.l;++u<d;)f,a=h,h=(f=c[u].edge).l===l?f.r:f.l,n<a.i&&n<h.i&&(o=a,s=h,((i=l).x-s.x)*(o.y-i.y)-(i.x-o.x)*(s.y-i.y)<0)&&t.push([e[n],e[a.i],e[h.i]])})),t},o.x=function(e){return arguments.length?(n=yt(t=e),o):t},o.y=function(e){return arguments.length?(a=yt(r=e),o):r},o.clipExtent=function(e){return arguments.length?(i=null==e?Ua:e,o):i===Ua?null:i},o.size=function(e){return arguments.length?o.clipExtent(e&&[[0,0],e]):i===Ua?null:i&&i[1]},o};var Ua=[[-1e6,-1e6],[1e6,1e6]];function Wa(e){return e.x}function Ya(e){return e.y}function Xa(e,t,r,n,a,i){if(!e(t,r,n,a,i)){var o=.5*(r+a),s=.5*(n+i),l=t.nodes;l[0]&&Xa(e,l[0],r,n,o,s),l[1]&&Xa(e,l[1],o,n,a,s),l[2]&&Xa(e,l[2],r,s,o,i),l[3]&&Xa(e,l[3],o,s,a,i)}}function $a(e,t,r,n,a,i,o){var s,l=1/0;return function e(c,u,d,f,h){if(!(u>i||d>o||f<n||h<a)){if(p=c.point){var p,g=t-c.x,v=r-c.y,m=g*g+v*v;if(m<l){var y=Math.sqrt(l=m);n=t-y,a=r-y,i=t+y,o=r+y,s=p}}for(var x=c.nodes,b=.5*(u+f),w=.5*(d+h),_=(r>=w)<<1|t>=b,k=_+4;_<k;++_)if(c=x[3&_])switch(3&_){case 0:e(c,u,d,b,w);break;case 1:e(c,b,d,f,w);break;case 2:e(c,u,w,b,h);break;case 3:e(c,b,w,f,h)}}}(e,n,a,i,o),s}function Ja(e,t){e=i.rgb(e),t=i.rgb(t);var r=e.r,n=e.g,a=e.b,o=t.r-r,s=t.g-n,l=t.b-a;return function(e){return"#"+dt(Math.round(r+o*e))+dt(Math.round(n+s*e))+dt(Math.round(a+l*e))}}function Ka(e,t){var r,n={},a={};for(r in e)r in t?n[r]=ni(e[r],t[r]):a[r]=e[r];for(r in t)r in e||(a[r]=t[r]);return function(e){for(r in n)a[r]=n[r](e);return a}}function Qa(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}function ei(e,t){var r,n,a,i=ti.lastIndex=ri.lastIndex=0,o=-1,s=[],l=[];for(e+="",t+="";(r=ti.exec(e))&&(n=ri.exec(t));)(a=n.index)>i&&(a=t.slice(i,a),s[o]?s[o]+=a:s[++o]=a),(r=r[0])===(n=n[0])?s[o]?s[o]+=n:s[++o]=n:(s[++o]=null,l.push({i:o,x:Qa(r,n)})),i=ri.lastIndex;return i<t.length&&(a=t.slice(i),s[o]?s[o]+=a:s[++o]=a),s.length<2?l[0]?(t=l[0].x,function(e){return t(e)+""}):function(){return t}:(t=l.length,function(e){for(var r,n=0;n<t;++n)s[(r=l[n]).i]=r.x(e);return s.join("")})}i.geom.delaunay=function(e){return i.geom.voronoi().triangles(e)},i.geom.quadtree=function(e,t,r,n,a){var i,o=oa,s=sa;if(i=arguments.length)return o=Wa,s=Ya,3===i&&(a=r,n=t,r=t=0),l(e);function l(e){var l,c,u,d,f,h,p,g,v,m=yt(o),y=yt(s);if(null!=t)h=t,p=r,g=n,v=a;else if(g=v=-(h=p=1/0),c=[],u=[],f=e.length,i)for(d=0;d<f;++d)(l=e[d]).x<h&&(h=l.x),l.y<p&&(p=l.y),l.x>g&&(g=l.x),l.y>v&&(v=l.y),c.push(l.x),u.push(l.y);else for(d=0;d<f;++d){var x=+m(l=e[d],d),b=+y(l,d);x<h&&(h=x),b<p&&(p=b),x>g&&(g=x),b>v&&(v=b),c.push(x),u.push(b)}var w=g-h,k=v-p;function T(e,t,r,n,a,i,o,s){if(!isNaN(r)&&!isNaN(n))if(e.leaf){var l=e.x,c=e.y;if(null!=l)if(_(l-r)+_(c-n)<.01)M(e,t,r,n,a,i,o,s);else{var u=e.point;e.x=e.y=e.point=null,M(e,u,l,c,a,i,o,s),M(e,t,r,n,a,i,o,s)}else e.x=r,e.y=n,e.point=t}else M(e,t,r,n,a,i,o,s)}function M(e,t,r,n,a,i,o,s){var l=.5*(a+o),c=.5*(i+s),u=r>=l,d=n>=c,f=d<<1|u;e.leaf=!1,u?a=l:o=l,d?i=c:s=c,T(e=e.nodes[f]||(e.nodes[f]={leaf:!0,nodes:[],point:null,x:null,y:null}),t,r,n,a,i,o,s)}w>k?v=p+w:g=h+k;var S={leaf:!0,nodes:[],point:null,x:null,y:null,add:function(e){T(S,e,+m(e,++d),+y(e,d),h,p,g,v)},visit:function(e){Xa(e,S,h,p,g,v)},find:function(e){return $a(S,e[0],e[1],h,p,g,v)}};if(d=-1,null==t){for(;++d<f;)T(S,e[d],c[d],u[d],h,p,g,v);--d}else e.forEach(S.add);return c=u=e=l=null,S}return l.x=function(e){return arguments.length?(o=e,l):o},l.y=function(e){return arguments.length?(s=e,l):s},l.extent=function(e){return arguments.length?(null==e?t=r=n=a=null:(t=+e[0][0],r=+e[0][1],n=+e[1][0],a=+e[1][1]),l):null==t?null:[[t,r],[n,a]]},l.size=function(e){return arguments.length?(null==e?t=r=n=a=null:(t=r=0,n=+e[0],a=+e[1]),l):null==t?null:[n-t,a-r]},l},i.interpolateRgb=Ja,i.interpolateObject=Ka,i.interpolateNumber=Qa,i.interpolateString=ei;var ti=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,ri=new RegExp(ti.source,"g");function ni(e,t){for(var r,n=i.interpolators.length;--n>=0&&!(r=i.interpolators[n](e,t)););return r}function ai(e,t){var r,n=[],a=[],i=e.length,o=t.length,s=Math.min(e.length,t.length);for(r=0;r<s;++r)n.push(ni(e[r],t[r]));for(;r<i;++r)a[r]=e[r];for(;r<o;++r)a[r]=t[r];return function(e){for(r=0;r<s;++r)a[r]=n[r](e);return a}}i.interpolate=ni,i.interpolators=[function(e,t){var r=typeof t;return("string"===r?mt.has(t.toLowerCase())||/^(#|rgb\(|hsl\()/i.test(t)?Ja:ei:t instanceof Ue?Ja:Array.isArray(t)?ai:"object"===r&&isNaN(t)?Ka:Qa)(e,t)}],i.interpolateArray=ai;var ii=function(){return E},oi=i.map({linear:ii,poly:function(e){return function(t){return Math.pow(t,e)}},quad:function(){return di},cubic:function(){return fi},sin:function(){return pi},exp:function(){return gi},circle:function(){return vi},elastic:function(e,t){var r;arguments.length<2&&(t=.45);arguments.length?r=t/Ie*Math.asin(1/e):(e=1,r=t/4);return function(n){return 1+e*Math.pow(2,-10*n)*Math.sin((n-r)*Ie/t)}},back:function(e){e||(e=1.70158);return function(t){return t*t*((e+1)*t-e)}},bounce:function(){return mi}}),si=i.map({in:E,out:ci,"in-out":ui,"out-in":function(e){return ui(ci(e))}});function li(e){return function(t){return t<=0?0:t>=1?1:e(t)}}function ci(e){return function(t){return 1-e(1-t)}}function ui(e){return function(t){return.5*(t<.5?e(2*t):2-e(2-2*t))}}function di(e){return e*e}function fi(e){return e*e*e}function hi(e){if(e<=0)return 0;if(e>=1)return 1;var t=e*e,r=t*e;return 4*(e<.5?r:3*(e-t)+r-.75)}function pi(e){return 1-Math.cos(e*Le)}function gi(e){return Math.pow(2,10*(e-1))}function vi(e){return 1-Math.sqrt(1-e*e)}function mi(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375}function yi(e,t){return t-=e,function(r){return Math.round(e+t*r)}}function xi(e){var t,r,n,a=[e.a,e.b],i=[e.c,e.d],o=wi(a),s=bi(a,i),l=wi(((t=i)[0]+=(n=-s)*(r=a)[0],t[1]+=n*r[1],t))||0;a[0]*i[1]<i[0]*a[1]&&(a[0]*=-1,a[1]*=-1,o*=-1,s*=-1),this.rotate=(o?Math.atan2(a[1],a[0]):Math.atan2(-i[0],i[1]))*je,this.translate=[e.e,e.f],this.scale=[o,l],this.skew=l?Math.atan2(s,l)*je:0}function bi(e,t){return e[0]*t[0]+e[1]*t[1]}function wi(e){var t=Math.sqrt(bi(e,e));return t&&(e[0]/=t,e[1]/=t),t}i.ease=function(e){var t=e.indexOf("-"),r=t>=0?e.slice(0,t):e,n=t>=0?e.slice(t+1):"in";return r=oi.get(r)||ii,li((n=si.get(n)||E)(r.apply(null,o.call(arguments,1))))},i.interpolateHcl=function(e,t){e=i.hcl(e),t=i.hcl(t);var r=e.h,n=e.c,a=e.l,o=t.h-r,s=t.c-n,l=t.l-a;isNaN(s)&&(s=0,n=isNaN(n)?t.c:n);isNaN(o)?(o=0,r=isNaN(r)?t.h:r):o>180?o-=360:o<-180&&(o+=360);return function(e){return Ke(r+o*e,n+s*e,a+l*e)+""}},i.interpolateHsl=function(e,t){e=i.hsl(e),t=i.hsl(t);var r=e.h,n=e.s,a=e.l,o=t.h-r,s=t.s-n,l=t.l-a;isNaN(s)&&(s=0,n=isNaN(n)?t.s:n);isNaN(o)?(o=0,r=isNaN(r)?t.h:r):o>180?o-=360:o<-180&&(o+=360);return function(e){return Xe(r+o*e,n+s*e,a+l*e)+""}},i.interpolateLab=function(e,t){e=i.lab(e),t=i.lab(t);var r=e.l,n=e.a,a=e.b,o=t.l-r,s=t.a-n,l=t.b-a;return function(e){return rt(r+o*e,n+s*e,a+l*e)+""}},i.interpolateRound=yi,i.transform=function(e){var t=l.createElementNS(i.ns.prefix.svg,"g");return(i.transform=function(e){if(null!=e){t.setAttribute("transform",e);var r=t.transform.baseVal.consolidate()}return new xi(r?r.matrix:_i)})(e)},xi.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var _i={a:1,b:0,c:0,d:1,e:0,f:0};function ki(e){return e.length?e.pop()+",":""}function Ti(e,t){var r=[],n=[];return e=i.transform(e),t=i.transform(t),function(e,t,r,n){if(e[0]!==t[0]||e[1]!==t[1]){var a=r.push("translate(",null,",",null,")");n.push({i:a-4,x:Qa(e[0],t[0])},{i:a-2,x:Qa(e[1],t[1])})}else(t[0]||t[1])&&r.push("translate("+t+")")}(e.translate,t.translate,r,n),function(e,t,r,n){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),n.push({i:r.push(ki(r)+"rotate(",null,")")-2,x:Qa(e,t)})):t&&r.push(ki(r)+"rotate("+t+")")}(e.rotate,t.rotate,r,n),function(e,t,r,n){e!==t?n.push({i:r.push(ki(r)+"skewX(",null,")")-2,x:Qa(e,t)}):t&&r.push(ki(r)+"skewX("+t+")")}(e.skew,t.skew,r,n),function(e,t,r,n){if(e[0]!==t[0]||e[1]!==t[1]){var a=r.push(ki(r)+"scale(",null,",",null,")");n.push({i:a-4,x:Qa(e[0],t[0])},{i:a-2,x:Qa(e[1],t[1])})}else 1===t[0]&&1===t[1]||r.push(ki(r)+"scale("+t+")")}(e.scale,t.scale,r,n),e=t=null,function(e){for(var t,a=-1,i=n.length;++a<i;)r[(t=n[a]).i]=t.x(e);return r.join("")}}function Mi(e,t){return t=(t-=e=+e)||1/t,function(r){return(r-e)/t}}function Si(e,t){return t=(t-=e=+e)||1/t,function(r){return Math.max(0,Math.min(1,(r-e)/t))}}function Ai(e){for(var t=e.source,r=e.target,n=function(e,t){if(e===t)return e;var r=Ci(e),n=Ci(t),a=r.pop(),i=n.pop(),o=null;for(;a===i;)o=a,a=r.pop(),i=n.pop();return o}(t,r),a=[t];t!==n;)t=t.parent,a.push(t);for(var i=a.length;r!==n;)a.splice(i,0,r),r=r.parent;return a}function Ci(e){for(var t=[],r=e.parent;null!=r;)t.push(e),e=r,r=r.parent;return t.push(e),t}function Pi(e){e.fixed|=2}function Oi(e){e.fixed&=-7}function Ii(e){e.fixed|=4,e.px=e.x,e.py=e.y}function zi(e){e.fixed&=-5}i.interpolateTransform=Ti,i.layout={},i.layout.bundle=function(){return function(e){for(var t=[],r=-1,n=e.length;++r<n;)t.push(Ai(e[r]));return t}},i.layout.chord=function(){var e,t,r,n,a,o,s,l={},c=0;function u(){var l,u,f,h,p,g={},v=[],m=i.range(n),y=[];for(e=[],t=[],l=0,h=-1;++h<n;){for(u=0,p=-1;++p<n;)u+=r[h][p];v.push(u),y.push(i.range(n)),l+=u}for(a&&m.sort((function(e,t){return a(v[e],v[t])})),o&&y.forEach((function(e,t){e.sort((function(e,n){return o(r[t][e],r[t][n])}))})),l=(Ie-c*n)/l,u=0,h=-1;++h<n;){for(f=u,p=-1;++p<n;){var x=m[h],b=y[x][p],w=r[x][b],_=u,k=u+=w*l;g[x+"-"+b]={index:x,subindex:b,startAngle:_,endAngle:k,value:w}}t[x]={index:x,startAngle:f,endAngle:u,value:v[x]},u+=c}for(h=-1;++h<n;)for(p=h-1;++p<n;){var T=g[h+"-"+p],M=g[p+"-"+h];(T.value||M.value)&&e.push(T.value<M.value?{source:M,target:T}:{source:T,target:M})}s&&d()}function d(){e.sort((function(e,t){return s((e.source.value+e.target.value)/2,(t.source.value+t.target.value)/2)}))}return l.matrix=function(a){return arguments.length?(n=(r=a)&&r.length,e=t=null,l):r},l.padding=function(r){return arguments.length?(c=r,e=t=null,l):c},l.sortGroups=function(r){return arguments.length?(a=r,e=t=null,l):a},l.sortSubgroups=function(t){return arguments.length?(o=t,e=null,l):o},l.sortChords=function(t){return arguments.length?(s=t,e&&d(),l):s},l.chords=function(){return e||u(),e},l.groups=function(){return t||u(),t},l},i.layout.force=function(){var e,t,r,n,a,o,s={},l=i.dispatch("start","tick","end"),c=[1,1],u=.9,d=Li,f=Ei,h=-30,p=ji,g=.1,v=.64,m=[],y=[];function x(e){return function(t,r,n,a){if(t.point!==e){var i=t.cx-e.x,o=t.cy-e.y,s=a-r,l=i*i+o*o;if(s*s/v<l){if(l<p){var c=t.charge/l;e.px-=i*c,e.py-=o*c}return!0}if(t.point&&l&&l<p){c=t.pointCharge/l;e.px-=i*c,e.py-=o*c}}return!t.charge}}function b(e){e.px=i.event.x,e.py=i.event.y,s.resume()}return s.tick=function(){if((r*=.99)<.005)return e=null,l.end({type:"end",alpha:r=0}),!0;var t,s,d,f,p,v,b,w,_,k=m.length,T=y.length;for(s=0;s<T;++s)f=(d=y[s]).source,(v=(w=(p=d.target).x-f.x)*w+(_=p.y-f.y)*_)&&(w*=v=r*a[s]*((v=Math.sqrt(v))-n[s])/v,_*=v,p.x-=w*(b=f.weight+p.weight?f.weight/(f.weight+p.weight):.5),p.y-=_*b,f.x+=w*(b=1-b),f.y+=_*b);if((b=r*g)&&(w=c[0]/2,_=c[1]/2,s=-1,b))for(;++s<k;)(d=m[s]).x+=(w-d.x)*b,d.y+=(_-d.y)*b;if(h)for(!function e(t,r,n){var a=0,i=0;if(t.charge=0,!t.leaf)for(var o,s=t.nodes,l=s.length,c=-1;++c<l;)null!=(o=s[c])&&(e(o,r,n),t.charge+=o.charge,a+=o.charge*o.cx,i+=o.charge*o.cy);if(t.point){t.leaf||(t.point.x+=Math.random()-.5,t.point.y+=Math.random()-.5);var u=r*n[t.point.index];t.charge+=t.pointCharge=u,a+=u*t.point.x,i+=u*t.point.y}t.cx=a/t.charge,t.cy=i/t.charge}(t=i.geom.quadtree(m),r,o),s=-1;++s<k;)(d=m[s]).fixed||t.visit(x(d));for(s=-1;++s<k;)(d=m[s]).fixed?(d.x=d.px,d.y=d.py):(d.x-=(d.px-(d.px=d.x))*u,d.y-=(d.py-(d.py=d.y))*u);l.tick({type:"tick",alpha:r})},s.nodes=function(e){return arguments.length?(m=e,s):m},s.links=function(e){return arguments.length?(y=e,s):y},s.size=function(e){return arguments.length?(c=e,s):c},s.linkDistance=function(e){return arguments.length?(d="function"==typeof e?e:+e,s):d},s.distance=s.linkDistance,s.linkStrength=function(e){return arguments.length?(f="function"==typeof e?e:+e,s):f},s.friction=function(e){return arguments.length?(u=+e,s):u},s.charge=function(e){return arguments.length?(h="function"==typeof e?e:+e,s):h},s.chargeDistance=function(e){return arguments.length?(p=e*e,s):Math.sqrt(p)},s.gravity=function(e){return arguments.length?(g=+e,s):g},s.theta=function(e){return arguments.length?(v=e*e,s):Math.sqrt(v)},s.alpha=function(t){return arguments.length?(t=+t,r?t>0?r=t:(e.c=null,e.t=NaN,e=null,l.end({type:"end",alpha:r=0})):t>0&&(l.start({type:"start",alpha:r=t}),e=St(s.tick)),s):r},s.start=function(){var e,t,r,i=m.length,l=y.length,u=c[0],p=c[1];for(e=0;e<i;++e)(r=m[e]).index=e,r.weight=0;for(e=0;e<l;++e)"number"==typeof(r=y[e]).source&&(r.source=m[r.source]),"number"==typeof r.target&&(r.target=m[r.target]),++r.source.weight,++r.target.weight;for(e=0;e<i;++e)r=m[e],isNaN(r.x)&&(r.x=g("x",u)),isNaN(r.y)&&(r.y=g("y",p)),isNaN(r.px)&&(r.px=r.x),isNaN(r.py)&&(r.py=r.y);if(n=[],"function"==typeof d)for(e=0;e<l;++e)n[e]=+d.call(this,y[e],e);else for(e=0;e<l;++e)n[e]=d;if(a=[],"function"==typeof f)for(e=0;e<l;++e)a[e]=+f.call(this,y[e],e);else for(e=0;e<l;++e)a[e]=f;if(o=[],"function"==typeof h)for(e=0;e<i;++e)o[e]=+h.call(this,m[e],e);else for(e=0;e<i;++e)o[e]=h;function g(r,n){if(!t){for(t=new Array(i),c=0;c<i;++c)t[c]=[];for(c=0;c<l;++c){var a=y[c];t[a.source.index].push(a.target),t[a.target.index].push(a.source)}}for(var o,s=t[e],c=-1,u=s.length;++c<u;)if(!isNaN(o=s[c][r]))return o;return Math.random()*n}return s.resume()},s.resume=function(){return s.alpha(.1)},s.stop=function(){return s.alpha(0)},s.drag=function(){if(t||(t=i.behavior.drag().origin(E).on("dragstart.force",Pi).on("drag.force",b).on("dragend.force",Oi)),!arguments.length)return t;this.on("mouseover.force",Ii).on("mouseout.force",zi).call(t)},i.rebind(s,l,"on")};var Li=20,Ei=1,ji=1/0;function Di(e,t){return i.rebind(e,t,"sort","children","value"),e.nodes=e,e.links=Vi,e}function Ri(e,t){for(var r=[e];null!=(e=r.pop());)if(t(e),(a=e.children)&&(n=a.length))for(var n,a;--n>=0;)r.push(a[n])}function Ni(e,t){for(var r=[e],n=[];null!=(e=r.pop());)if(n.push(e),(i=e.children)&&(a=i.length))for(var a,i,o=-1;++o<a;)r.push(i[o]);for(;null!=(e=n.pop());)t(e)}function Fi(e){return e.children}function Bi(e){return e.value}function Hi(e,t){return t.value-e.value}function Vi(e){return i.merge(e.map((function(e){return(e.children||[]).map((function(t){return{source:e,target:t}}))})))}i.layout.hierarchy=function(){var e=Hi,t=Fi,r=Bi;function n(a){var i,o=[a],s=[];for(a.depth=0;null!=(i=o.pop());)if(s.push(i),(c=t.call(n,i,i.depth))&&(l=c.length)){for(var l,c,u;--l>=0;)o.push(u=c[l]),u.parent=i,u.depth=i.depth+1;r&&(i.value=0),i.children=c}else r&&(i.value=+r.call(n,i,i.depth)||0),delete i.children;return Ni(a,(function(t){var n,a;e&&(n=t.children)&&n.sort(e),r&&(a=t.parent)&&(a.value+=t.value)})),s}return n.sort=function(t){return arguments.length?(e=t,n):e},n.children=function(e){return arguments.length?(t=e,n):t},n.value=function(e){return arguments.length?(r=e,n):r},n.revalue=function(e){return r&&(Ri(e,(function(e){e.children&&(e.value=0)})),Ni(e,(function(e){var t;e.children||(e.value=+r.call(n,e,e.depth)||0),(t=e.parent)&&(t.value+=e.value)}))),e},n},i.layout.partition=function(){var e=i.layout.hierarchy(),t=[1,1];function r(r,n){var a=e.call(this,r,n);return function e(t,r,n,a){var i=t.children;if(t.x=r,t.y=t.depth*a,t.dx=n,t.dy=a,i&&(o=i.length)){var o,s,l,c=-1;for(n=t.value?n/t.value:0;++c<o;)e(s=i[c],r,l=s.value*n,a),r+=l}}(a[0],0,t[0],t[1]/function e(t){var r=t.children,n=0;if(r&&(a=r.length))for(var a,i=-1;++i<a;)n=Math.max(n,e(r[i]));return 1+n}(a[0])),a}return r.size=function(e){return arguments.length?(t=e,r):t},Di(r,e)},i.layout.pie=function(){var e=Number,t=Gi,r=0,n=Ie,a=0;function o(s){var l,c=s.length,u=s.map((function(t,r){return+e.call(o,t,r)})),d=+("function"==typeof r?r.apply(this,arguments):r),f=("function"==typeof n?n.apply(this,arguments):n)-d,h=Math.min(Math.abs(f)/c,+("function"==typeof a?a.apply(this,arguments):a)),p=h*(f<0?-1:1),g=i.sum(u),v=g?(f-c*p)/g:0,m=i.range(c),y=[];return null!=t&&m.sort(t===Gi?function(e,t){return u[t]-u[e]}:function(e,r){return t(s[e],s[r])}),m.forEach((function(e){y[e]={data:s[e],value:l=u[e],startAngle:d,endAngle:d+=l*v+p,padAngle:h}})),y}return o.value=function(t){return arguments.length?(e=t,o):e},o.sort=function(e){return arguments.length?(t=e,o):t},o.startAngle=function(e){return arguments.length?(r=e,o):r},o.endAngle=function(e){return arguments.length?(n=e,o):n},o.padAngle=function(e){return arguments.length?(a=e,o):a},o};var Gi={};function Zi(e){return e.x}function qi(e){return e.y}function Ui(e,t,r){e.y0=t,e.y=r}i.layout.stack=function(){var e=E,t=Xi,r=$i,n=Ui,a=Zi,o=qi;function s(l,c){if(!(h=l.length))return l;var u=l.map((function(t,r){return e.call(s,t,r)})),d=u.map((function(e){return e.map((function(e,t){return[a.call(s,e,t),o.call(s,e,t)]}))})),f=t.call(s,d,c);u=i.permute(u,f),d=i.permute(d,f);var h,p,g,v,m=r.call(s,d,c),y=u[0].length;for(g=0;g<y;++g)for(n.call(s,u[0][g],v=m[g],d[0][g][1]),p=1;p<h;++p)n.call(s,u[p][g],v+=d[p-1][g][1],d[p][g][1]);return l}return s.values=function(t){return arguments.length?(e=t,s):e},s.order=function(e){return arguments.length?(t="function"==typeof e?e:Wi.get(e)||Xi,s):t},s.offset=function(e){return arguments.length?(r="function"==typeof e?e:Yi.get(e)||$i,s):r},s.x=function(e){return arguments.length?(a=e,s):a},s.y=function(e){return arguments.length?(o=e,s):o},s.out=function(e){return arguments.length?(n=e,s):n},s};var Wi=i.map({"inside-out":function(e){var t,r,n=e.length,a=e.map(Ji),o=e.map(Ki),s=i.range(n).sort((function(e,t){return a[e]-a[t]})),l=0,c=0,u=[],d=[];for(t=0;t<n;++t)r=s[t],l<c?(l+=o[r],u.push(r)):(c+=o[r],d.push(r));return d.reverse().concat(u)},reverse:function(e){return i.range(e.length).reverse()},default:Xi}),Yi=i.map({silhouette:function(e){var t,r,n,a=e.length,i=e[0].length,o=[],s=0,l=[];for(r=0;r<i;++r){for(t=0,n=0;t<a;t++)n+=e[t][r][1];n>s&&(s=n),o.push(n)}for(r=0;r<i;++r)l[r]=(s-o[r])/2;return l},wiggle:function(e){var t,r,n,a,i,o,s,l,c,u=e.length,d=e[0],f=d.length,h=[];for(h[0]=l=c=0,r=1;r<f;++r){for(t=0,a=0;t<u;++t)a+=e[t][r][1];for(t=0,i=0,s=d[r][0]-d[r-1][0];t<u;++t){for(n=0,o=(e[t][r][1]-e[t][r-1][1])/(2*s);n<t;++n)o+=(e[n][r][1]-e[n][r-1][1])/s;i+=o*e[t][r][1]}h[r]=l-=a?i/a*s:0,l<c&&(c=l)}for(r=0;r<f;++r)h[r]-=c;return h},expand:function(e){var t,r,n,a=e.length,i=e[0].length,o=1/a,s=[];for(r=0;r<i;++r){for(t=0,n=0;t<a;t++)n+=e[t][r][1];if(n)for(t=0;t<a;t++)e[t][r][1]/=n;else for(t=0;t<a;t++)e[t][r][1]=o}for(r=0;r<i;++r)s[r]=0;return s},zero:$i});function Xi(e){return i.range(e.length)}function $i(e){for(var t=-1,r=e[0].length,n=[];++t<r;)n[t]=0;return n}function Ji(e){for(var t,r=1,n=0,a=e[0][1],i=e.length;r<i;++r)(t=e[r][1])>a&&(n=r,a=t);return n}function Ki(e){return e.reduce(Qi,0)}function Qi(e,t){return e+t[1]}function eo(e,t){return to(e,Math.ceil(Math.log(t.length)/Math.LN2+1))}function to(e,t){for(var r=-1,n=+e[0],a=(e[1]-n)/t,i=[];++r<=t;)i[r]=a*r+n;return i}function ro(e){return[i.min(e),i.max(e)]}function no(e,t){return e.value-t.value}function ao(e,t){var r=e._pack_next;e._pack_next=t,t._pack_prev=e,t._pack_next=r,r._pack_prev=t}function io(e,t){e._pack_next=t,t._pack_prev=e}function oo(e,t){var r=t.x-e.x,n=t.y-e.y,a=e.r+t.r;return.999*a*a>r*r+n*n}function so(e){if((t=e.children)&&(l=t.length)){var t,r,n,a,i,o,s,l,c=1/0,u=-1/0,d=1/0,f=-1/0;if(t.forEach(lo),(r=t[0]).x=-r.r,r.y=0,x(r),l>1&&((n=t[1]).x=n.r,n.y=0,x(n),l>2))for(uo(r,n,a=t[2]),x(a),ao(r,a),r._pack_prev=a,ao(a,n),n=r._pack_next,i=3;i<l;i++){uo(r,n,a=t[i]);var h=0,p=1,g=1;for(o=n._pack_next;o!==n;o=o._pack_next,p++)if(oo(o,a)){h=1;break}if(1==h)for(s=r._pack_prev;s!==o._pack_prev&&!oo(s,a);s=s._pack_prev,g++);h?(p<g||p==g&&n.r<r.r?io(r,n=o):io(r=s,n),i--):(ao(r,a),n=a,x(a))}var v=(c+u)/2,m=(d+f)/2,y=0;for(i=0;i<l;i++)(a=t[i]).x-=v,a.y-=m,y=Math.max(y,a.r+Math.sqrt(a.x*a.x+a.y*a.y));e.r=y,t.forEach(co)}function x(e){c=Math.min(e.x-e.r,c),u=Math.max(e.x+e.r,u),d=Math.min(e.y-e.r,d),f=Math.max(e.y+e.r,f)}}function lo(e){e._pack_next=e._pack_prev=e}function co(e){delete e._pack_next,delete e._pack_prev}function uo(e,t,r){var n=e.r+r.r,a=t.x-e.x,i=t.y-e.y;if(n&&(a||i)){var o=t.r+r.r,s=a*a+i*i,l=.5+((n*=n)-(o*=o))/(2*s),c=Math.sqrt(Math.max(0,2*o*(n+s)-(n-=s)*n-o*o))/(2*s);r.x=e.x+l*a+c*i,r.y=e.y+l*i-c*a}else r.x=e.x+n,r.y=e.y}function fo(e,t){return e.parent==t.parent?1:2}function ho(e){var t=e.children;return t.length?t[0]:e.t}function po(e){var t,r=e.children;return(t=r.length)?r[t-1]:e.t}function go(e,t,r){var n=r/(t.i-e.i);t.c-=n,t.s+=r,e.c+=n,t.z+=r,t.m+=r}function vo(e,t,r){return e.a.parent===t.parent?e.a:r}function mo(e){return{x:e.x,y:e.y,dx:e.dx,dy:e.dy}}function yo(e,t){var r=e.x+t[3],n=e.y+t[0],a=e.dx-t[1]-t[3],i=e.dy-t[0]-t[2];return a<0&&(r+=a/2,a=0),i<0&&(n+=i/2,i=0),{x:r,y:n,dx:a,dy:i}}function xo(e){var t=e[0],r=e[e.length-1];return t<r?[t,r]:[r,t]}function bo(e){return e.rangeExtent?e.rangeExtent():xo(e.range())}function wo(e,t,r,n){var a=r(e[0],e[1]),i=n(t[0],t[1]);return function(e){return i(a(e))}}function _o(e,t){var r,n=0,a=e.length-1,i=e[n],o=e[a];return o<i&&(r=n,n=a,a=r,r=i,i=o,o=r),e[n]=t.floor(i),e[a]=t.ceil(o),e}function ko(e){return e?{floor:function(t){return Math.floor(t/e)*e},ceil:function(t){return Math.ceil(t/e)*e}}:To}i.layout.histogram=function(){var e=!0,t=Number,r=ro,n=eo;function a(a,o){for(var s,l,c=[],u=a.map(t,this),d=r.call(this,u,o),f=n.call(this,d,u,o),h=(o=-1,u.length),p=f.length-1,g=e?1:1/h;++o<p;)(s=c[o]=[]).dx=f[o+1]-(s.x=f[o]),s.y=0;if(p>0)for(o=-1;++o<h;)(l=u[o])>=d[0]&&l<=d[1]&&((s=c[i.bisect(f,l,1,p)-1]).y+=g,s.push(a[o]));return c}return a.value=function(e){return arguments.length?(t=e,a):t},a.range=function(e){return arguments.length?(r=yt(e),a):r},a.bins=function(e){return arguments.length?(n="number"==typeof e?function(t){return to(t,e)}:yt(e),a):n},a.frequency=function(t){return arguments.length?(e=!!t,a):e},a},i.layout.pack=function(){var e,t=i.layout.hierarchy().sort(no),r=0,n=[1,1];function a(a,i){var o=t.call(this,a,i),s=o[0],l=n[0],c=n[1],u=null==e?Math.sqrt:"function"==typeof e?e:function(){return e};if(s.x=s.y=0,Ni(s,(function(e){e.r=+u(e.value)})),Ni(s,so),r){var d=r*(e?1:Math.max(2*s.r/l,2*s.r/c))/2;Ni(s,(function(e){e.r+=d})),Ni(s,so),Ni(s,(function(e){e.r-=d}))}return function e(t,r,n,a){var i=t.children;if(t.x=r+=a*t.x,t.y=n+=a*t.y,t.r*=a,i)for(var o=-1,s=i.length;++o<s;)e(i[o],r,n,a)}(s,l/2,c/2,e?1:1/Math.max(2*s.r/l,2*s.r/c)),o}return a.size=function(e){return arguments.length?(n=e,a):n},a.radius=function(t){return arguments.length?(e=null==t||"function"==typeof t?t:+t,a):e},a.padding=function(e){return arguments.length?(r=+e,a):r},Di(a,t)},i.layout.tree=function(){var e=i.layout.hierarchy().sort(null).value(null),t=fo,r=[1,1],n=null;function a(a,i){var c=e.call(this,a,i),u=c[0],d=function(e){var t,r={A:null,children:[e]},n=[r];for(;null!=(t=n.pop());)for(var a,i=t.children,o=0,s=i.length;o<s;++o)n.push((i[o]=a={_:i[o],parent:t,children:(a=i[o].children)&&a.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:o}).a=a);return r.children[0]}(u);if(Ni(d,o),d.parent.m=-d.z,Ri(d,s),n)Ri(u,l);else{var f=u,h=u,p=u;Ri(u,(function(e){e.x<f.x&&(f=e),e.x>h.x&&(h=e),e.depth>p.depth&&(p=e)}));var g=t(f,h)/2-f.x,v=r[0]/(h.x+t(h,f)/2+g),m=r[1]/(p.depth||1);Ri(u,(function(e){e.x=(e.x+g)*v,e.y=e.depth*m}))}return c}function o(e){var r=e.children,n=e.parent.children,a=e.i?n[e.i-1]:null;if(r.length){!function(e){var t,r=0,n=0,a=e.children,i=a.length;for(;--i>=0;)(t=a[i]).z+=r,t.m+=r,r+=t.s+(n+=t.c)}(e);var i=(r[0].z+r[r.length-1].z)/2;a?(e.z=a.z+t(e._,a._),e.m=e.z-i):e.z=i}else a&&(e.z=a.z+t(e._,a._));e.parent.A=function(e,r,n){if(r){for(var a,i=e,o=e,s=r,l=i.parent.children[0],c=i.m,u=o.m,d=s.m,f=l.m;s=po(s),i=ho(i),s&&i;)l=ho(l),(o=po(o)).a=e,(a=s.z+d-i.z-c+t(s._,i._))>0&&(go(vo(s,e,n),e,a),c+=a,u+=a),d+=s.m,c+=i.m,f+=l.m,u+=o.m;s&&!po(o)&&(o.t=s,o.m+=d-u),i&&!ho(l)&&(l.t=i,l.m+=c-f,n=e)}return n}(e,a,e.parent.A||n[0])}function s(e){e._.x=e.z+e.parent.m,e.m+=e.parent.m}function l(e){e.x*=r[0],e.y=e.depth*r[1]}return a.separation=function(e){return arguments.length?(t=e,a):t},a.size=function(e){return arguments.length?(n=null==(r=e)?l:null,a):n?null:r},a.nodeSize=function(e){return arguments.length?(n=null==(r=e)?null:l,a):n?r:null},Di(a,e)},i.layout.cluster=function(){var e=i.layout.hierarchy().sort(null).value(null),t=fo,r=[1,1],n=!1;function a(a,o){var s,l=e.call(this,a,o),c=l[0],u=0;Ni(c,(function(e){var r=e.children;r&&r.length?(e.x=function(e){return e.reduce((function(e,t){return e+t.x}),0)/e.length}(r),e.y=function(e){return 1+i.max(e,(function(e){return e.y}))}(r)):(e.x=s?u+=t(e,s):0,e.y=0,s=e)}));var d=function e(t){var r=t.children;return r&&r.length?e(r[0]):t}(c),f=function e(t){var r,n=t.children;return n&&(r=n.length)?e(n[r-1]):t}(c),h=d.x-t(d,f)/2,p=f.x+t(f,d)/2;return Ni(c,n?function(e){e.x=(e.x-c.x)*r[0],e.y=(c.y-e.y)*r[1]}:function(e){e.x=(e.x-h)/(p-h)*r[0],e.y=(1-(c.y?e.y/c.y:1))*r[1]}),l}return a.separation=function(e){return arguments.length?(t=e,a):t},a.size=function(e){return arguments.length?(n=null==(r=e),a):n?null:r},a.nodeSize=function(e){return arguments.length?(n=null!=(r=e),a):n?r:null},Di(a,e)},i.layout.treemap=function(){var e,t=i.layout.hierarchy(),r=Math.round,n=[1,1],a=null,o=mo,s=!1,l="squarify",c=.5*(1+Math.sqrt(5));function u(e,t){for(var r,n,a=-1,i=e.length;++a<i;)n=(r=e[a]).value*(t<0?0:t),r.area=isNaN(n)||n<=0?0:n}function d(e){var t=e.children;if(t&&t.length){var r,n,a,i=o(e),s=[],c=t.slice(),f=1/0,g="slice"===l?i.dx:"dice"===l?i.dy:"slice-dice"===l?1&e.depth?i.dy:i.dx:Math.min(i.dx,i.dy);for(u(c,i.dx*i.dy/e.value),s.area=0;(a=c.length)>0;)s.push(r=c[a-1]),s.area+=r.area,"squarify"!==l||(n=h(s,g))<=f?(c.pop(),f=n):(s.area-=s.pop().area,p(s,g,i,!1),g=Math.min(i.dx,i.dy),s.length=s.area=0,f=1/0);s.length&&(p(s,g,i,!0),s.length=s.area=0),t.forEach(d)}}function f(e){var t=e.children;if(t&&t.length){var r,n=o(e),a=t.slice(),i=[];for(u(a,n.dx*n.dy/e.value),i.area=0;r=a.pop();)i.push(r),i.area+=r.area,null!=r.z&&(p(i,r.z?n.dx:n.dy,n,!a.length),i.length=i.area=0);t.forEach(f)}}function h(e,t){for(var r,n=e.area,a=0,i=1/0,o=-1,s=e.length;++o<s;)(r=e[o].area)&&(r<i&&(i=r),r>a&&(a=r));return t*=t,(n*=n)?Math.max(t*a*c/n,n/(t*i*c)):1/0}function p(e,t,n,a){var i,o=-1,s=e.length,l=n.x,c=n.y,u=t?r(e.area/t):0;if(t==n.dx){for((a||u>n.dy)&&(u=n.dy);++o<s;)(i=e[o]).x=l,i.y=c,i.dy=u,l+=i.dx=Math.min(n.x+n.dx-l,u?r(i.area/u):0);i.z=!0,i.dx+=n.x+n.dx-l,n.y+=u,n.dy-=u}else{for((a||u>n.dx)&&(u=n.dx);++o<s;)(i=e[o]).x=l,i.y=c,i.dx=u,c+=i.dy=Math.min(n.y+n.dy-c,u?r(i.area/u):0);i.z=!1,i.dy+=n.y+n.dy-c,n.x+=u,n.dx-=u}}function g(r){var a=e||t(r),i=a[0];return i.x=i.y=0,i.value?(i.dx=n[0],i.dy=n[1]):i.dx=i.dy=0,e&&t.revalue(i),u([i],i.dx*i.dy/i.value),(e?f:d)(i),s&&(e=a),a}return g.size=function(e){return arguments.length?(n=e,g):n},g.padding=function(e){if(!arguments.length)return a;function t(t){var r=e.call(g,t,t.depth);return null==r?mo(t):yo(t,"number"==typeof r?[r,r,r,r]:r)}function r(t){return yo(t,e)}var n;return o=null==(a=e)?mo:"function"==(n=typeof e)?t:"number"===n?(e=[e,e,e,e],r):r,g},g.round=function(e){return arguments.length?(r=e?Math.round:Number,g):r!=Number},g.sticky=function(t){return arguments.length?(s=t,e=null,g):s},g.ratio=function(e){return arguments.length?(c=e,g):c},g.mode=function(e){return arguments.length?(l=e+"",g):l},Di(g,t)},i.random={normal:function(e,t){var r=arguments.length;return r<2&&(t=1),r<1&&(e=0),function(){var r,n,a;do{a=(r=2*Math.random()-1)*r+(n=2*Math.random()-1)*n}while(!a||a>1);return e+t*r*Math.sqrt(-2*Math.log(a)/a)}},logNormal:function(){var e=i.random.normal.apply(i,arguments);return function(){return Math.exp(e())}},bates:function(e){var t=i.random.irwinHall(e);return function(){return t()/e}},irwinHall:function(e){return function(){for(var t=0,r=0;r<e;r++)t+=Math.random();return t}}},i.scale={};var To={floor:E,ceil:E};function Mo(e,t,r,n){var a=[],o=[],s=0,l=Math.min(e.length,t.length)-1;for(e[l]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++s<=l;)a.push(r(e[s-1],e[s])),o.push(n(t[s-1],t[s]));return function(t){var r=i.bisect(e,t,1,l)-1;return o[r](a[r](t))}}function So(e,t){return i.rebind(e,t,"range","rangeRound","interpolate","clamp")}function Ao(e,t){return _o(e,ko(Co(e,t)[2])),_o(e,ko(Co(e,t)[2])),e}function Co(e,t){null==t&&(t=10);var r=xo(e),n=r[1]-r[0],a=Math.pow(10,Math.floor(Math.log(n/t)/Math.LN10)),i=t/n*a;return i<=.15?a*=10:i<=.35?a*=5:i<=.75&&(a*=2),r[0]=Math.ceil(r[0]/a)*a,r[1]=Math.floor(r[1]/a)*a+.5*a,r[2]=a,r}function Po(e,t){return i.range.apply(i,Co(e,t))}function Oo(e,t,r){var n=Co(e,t);if(r){var a=Lt.exec(r);if(a.shift(),"s"===a[8]){var o=i.formatPrefix(Math.max(_(n[0]),_(n[1])));return a[7]||(a[7]="."+zo(o.scale(n[2]))),a[8]="f",r=i.format(a.join("")),function(e){return r(o.scale(e))+o.symbol}}a[7]||(a[7]="."+function(e,t){var r=zo(t[2]);return e in Io?Math.abs(r-zo(Math.max(_(t[0]),_(t[1]))))+ +("e"!==e):r-2*("%"===e)}(a[8],n)),r=a.join("")}else r=",."+zo(n[2])+"f";return i.format(r)}i.scale.linear=function(){return function e(t,r,n,a){var i,o;function s(){var e=Math.min(t.length,r.length)>2?Mo:wo,s=a?Si:Mi;return i=e(t,r,s,n),o=e(r,t,s,ni),l}function l(e){return i(e)}return l.invert=function(e){return o(e)},l.domain=function(e){return arguments.length?(t=e.map(Number),s()):t},l.range=function(e){return arguments.length?(r=e,s()):r},l.rangeRound=function(e){return l.range(e).interpolate(yi)},l.clamp=function(e){return arguments.length?(a=e,s()):a},l.interpolate=function(e){return arguments.length?(n=e,s()):n},l.ticks=function(e){return Po(t,e)},l.tickFormat=function(e,r){return Oo(t,e,r)},l.nice=function(e){return Ao(t,e),s()},l.copy=function(){return e(t,r,n,a)},s()}([0,1],[0,1],ni,!1)};var Io={s:1,g:1,p:1,r:1,e:1};function zo(e){return-Math.floor(Math.log(e)/Math.LN10+.01)}i.scale.log=function(){return function e(t,r,n,a){function o(e){return(n?Math.log(e<0?0:e):-Math.log(e>0?0:-e))/Math.log(r)}function s(e){return n?Math.pow(r,e):-Math.pow(r,-e)}function l(e){return t(o(e))}return l.invert=function(e){return s(t.invert(e))},l.domain=function(e){return arguments.length?(n=e[0]>=0,t.domain((a=e.map(Number)).map(o)),l):a},l.base=function(e){return arguments.length?(r=+e,t.domain(a.map(o)),l):r},l.nice=function(){var e=_o(a.map(o),n?Math:Eo);return t.domain(e),a=e.map(s),l},l.ticks=function(){var e=xo(a),t=[],i=e[0],l=e[1],c=Math.floor(o(i)),u=Math.ceil(o(l)),d=r%1?2:r;if(isFinite(u-c)){if(n){for(;c<u;c++)for(var f=1;f<d;f++)t.push(s(c)*f);t.push(s(c))}else for(t.push(s(c));c++<u;)for(f=d-1;f>0;f--)t.push(s(c)*f);for(c=0;t[c]<i;c++);for(u=t.length;t[u-1]>l;u--);t=t.slice(c,u)}return t},l.tickFormat=function(e,t){if(!arguments.length)return Lo;arguments.length<2?t=Lo:"function"!=typeof t&&(t=i.format(t));var n=Math.max(1,r*e/l.ticks().length);return function(e){var a=e/s(Math.round(o(e)));return a*r<r-.5&&(a*=r),a<=n?t(e):""}},l.copy=function(){return e(t.copy(),r,n,a)},So(l,t)}(i.scale.linear().domain([0,1]),10,!0,[1,10])};var Lo=i.format(".0e"),Eo={floor:function(e){return-Math.ceil(-e)},ceil:function(e){return-Math.floor(-e)}};function jo(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}i.scale.pow=function(){return function e(t,r,n){var a=jo(r),i=jo(1/r);function o(e){return t(a(e))}return o.invert=function(e){return i(t.invert(e))},o.domain=function(e){return arguments.length?(t.domain((n=e.map(Number)).map(a)),o):n},o.ticks=function(e){return Po(n,e)},o.tickFormat=function(e,t){return Oo(n,e,t)},o.nice=function(e){return o.domain(Ao(n,e))},o.exponent=function(e){return arguments.length?(a=jo(r=e),i=jo(1/r),t.domain(n.map(a)),o):r},o.copy=function(){return e(t.copy(),r,n)},So(o,t)}(i.scale.linear(),1,[0,1])},i.scale.sqrt=function(){return i.scale.pow().exponent(.5)},i.scale.ordinal=function(){return function e(t,r){var n,a,o;function s(e){return a[((n.get(e)||("range"===r.t?n.set(e,t.push(e)):NaN))-1)%a.length]}function l(e,r){return i.range(t.length).map((function(t){return e+r*t}))}return s.domain=function(e){if(!arguments.length)return t;t=[],n=new M;for(var a,i=-1,o=e.length;++i<o;)n.has(a=e[i])||n.set(a,t.push(a));return s[r.t].apply(s,r.a)},s.range=function(e){return arguments.length?(a=e,o=0,r={t:"range",a:arguments},s):a},s.rangePoints=function(e,n){arguments.length<2&&(n=0);var i=e[0],c=e[1],u=t.length<2?(i=(i+c)/2,0):(c-i)/(t.length-1+n);return a=l(i+u*n/2,u),o=0,r={t:"rangePoints",a:arguments},s},s.rangeRoundPoints=function(e,n){arguments.length<2&&(n=0);var i=e[0],c=e[1],u=t.length<2?(i=c=Math.round((i+c)/2),0):(c-i)/(t.length-1+n)|0;return a=l(i+Math.round(u*n/2+(c-i-(t.length-1+n)*u)/2),u),o=0,r={t:"rangeRoundPoints",a:arguments},s},s.rangeBands=function(e,n,i){arguments.length<2&&(n=0),arguments.length<3&&(i=n);var c=e[1]<e[0],u=e[c-0],d=e[1-c],f=(d-u)/(t.length-n+2*i);return a=l(u+f*i,f),c&&a.reverse(),o=f*(1-n),r={t:"rangeBands",a:arguments},s},s.rangeRoundBands=function(e,n,i){arguments.length<2&&(n=0),arguments.length<3&&(i=n);var c=e[1]<e[0],u=e[c-0],d=e[1-c],f=Math.floor((d-u)/(t.length-n+2*i));return a=l(u+Math.round((d-u-(t.length-n)*f)/2),f),c&&a.reverse(),o=Math.round(f*(1-n)),r={t:"rangeRoundBands",a:arguments},s},s.rangeBand=function(){return o},s.rangeExtent=function(){return xo(r.a[0])},s.copy=function(){return e(t,r)},s.domain(t)}([],{t:"range",a:[[]]})},i.scale.category10=function(){return i.scale.ordinal().range(Do)},i.scale.category20=function(){return i.scale.ordinal().range(Ro)},i.scale.category20b=function(){return i.scale.ordinal().range(No)},i.scale.category20c=function(){return i.scale.ordinal().range(Fo)};var Do=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(ct),Ro=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(ct),No=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(ct),Fo=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(ct);function Bo(){return 0}i.scale.quantile=function(){return function e(t,r){var n;function a(){var e=0,a=r.length;for(n=[];++e<a;)n[e-1]=i.quantile(t,e/a);return o}function o(e){if(!isNaN(e=+e))return r[i.bisect(n,e)]}return o.domain=function(e){return arguments.length?(t=e.map(m).filter(y).sort(v),a()):t},o.range=function(e){return arguments.length?(r=e,a()):r},o.quantiles=function(){return n},o.invertExtent=function(e){return(e=r.indexOf(e))<0?[NaN,NaN]:[e>0?n[e-1]:t[0],e<n.length?n[e]:t[t.length-1]]},o.copy=function(){return e(t,r)},a()}([],[])},i.scale.quantize=function(){return function e(t,r,n){var a,i;function o(e){return n[Math.max(0,Math.min(i,Math.floor(a*(e-t))))]}function s(){return a=n.length/(r-t),i=n.length-1,o}return o.domain=function(e){return arguments.length?(t=+e[0],r=+e[e.length-1],s()):[t,r]},o.range=function(e){return arguments.length?(n=e,s()):n},o.invertExtent=function(e){return[e=(e=n.indexOf(e))<0?NaN:e/a+t,e+1/a]},o.copy=function(){return e(t,r,n)},s()}(0,1,[0,1])},i.scale.threshold=function(){return function e(t,r){function n(e){if(e<=e)return r[i.bisect(t,e)]}return n.domain=function(e){return arguments.length?(t=e,n):t},n.range=function(e){return arguments.length?(r=e,n):r},n.invertExtent=function(e){return e=r.indexOf(e),[t[e-1],t[e]]},n.copy=function(){return e(t,r)},n}([.5],[0,1])},i.scale.identity=function(){return function e(t){function r(e){return+e}return r.invert=r,r.domain=r.range=function(e){return arguments.length?(t=e.map(r),r):t},r.ticks=function(e){return Po(t,e)},r.tickFormat=function(e,r){return Oo(t,e,r)},r.copy=function(){return e(t)},r}([0,1])},i.svg={},i.svg.arc=function(){var e=Vo,t=Go,r=Bo,n=Ho,a=Zo,i=qo,o=Uo;function s(){var s=Math.max(0,+e.apply(this,arguments)),c=Math.max(0,+t.apply(this,arguments)),u=a.apply(this,arguments)-Le,d=i.apply(this,arguments)-Le,f=Math.abs(d-u),h=u>d?0:1;if(c<s&&(p=c,c=s,s=p),f>=ze)return l(c,h)+(s?l(s,1-h):"")+"Z";var p,g,v,m,y,x,b,w,_,k,T,M,S=0,A=0,C=[];if((m=(+o.apply(this,arguments)||0)/2)&&(v=n===Ho?Math.sqrt(s*s+c*c):+n.apply(this,arguments),h||(A*=-1),c&&(A=Fe(v/c*Math.sin(m))),s&&(S=Fe(v/s*Math.sin(m)))),c){y=c*Math.cos(u+A),x=c*Math.sin(u+A),b=c*Math.cos(d-A),w=c*Math.sin(d-A);var P=Math.abs(d-u-2*A)<=Oe?0:1;if(A&&Wo(y,x,b,w)===h^P){var O=(u+d)/2;y=c*Math.cos(O),x=c*Math.sin(O),b=w=null}}else y=x=0;if(s){_=s*Math.cos(d-S),k=s*Math.sin(d-S),T=s*Math.cos(u+S),M=s*Math.sin(u+S);var I=Math.abs(u-d+2*S)<=Oe?0:1;if(S&&Wo(_,k,T,M)===1-h^I){var z=(u+d)/2;_=s*Math.cos(z),k=s*Math.sin(z),T=M=null}}else _=k=0;if(f>Ce&&(p=Math.min(Math.abs(c-s)/2,+r.apply(this,arguments)))>.001){g=s<c^h?0:1;var L=p,E=p;if(f<Oe){var j=null==T?[_,k]:null==b?[y,x]:fa([y,x],[T,M],[b,w],[_,k]),D=y-j[0],R=x-j[1],N=b-j[0],F=w-j[1],B=1/Math.sin(Math.acos((D*N+R*F)/(Math.sqrt(D*D+R*R)*Math.sqrt(N*N+F*F)))/2),H=Math.sqrt(j[0]*j[0]+j[1]*j[1]);E=Math.min(p,(s-H)/(B-1)),L=Math.min(p,(c-H)/(B+1))}if(null!=b){var V=Yo(null==T?[_,k]:[T,M],[y,x],c,L,h),G=Yo([b,w],[_,k],c,L,h);p===L?C.push("M",V[0],"A",L,",",L," 0 0,",g," ",V[1],"A",c,",",c," 0 ",1-h^Wo(V[1][0],V[1][1],G[1][0],G[1][1]),",",h," ",G[1],"A",L,",",L," 0 0,",g," ",G[0]):C.push("M",V[0],"A",L,",",L," 0 1,",g," ",G[0])}else C.push("M",y,",",x);if(null!=T){var Z=Yo([y,x],[T,M],s,-E,h),q=Yo([_,k],null==b?[y,x]:[b,w],s,-E,h);p===E?C.push("L",q[0],"A",E,",",E," 0 0,",g," ",q[1],"A",s,",",s," 0 ",h^Wo(q[1][0],q[1][1],Z[1][0],Z[1][1]),",",1-h," ",Z[1],"A",E,",",E," 0 0,",g," ",Z[0]):C.push("L",q[0],"A",E,",",E," 0 0,",g," ",Z[0])}else C.push("L",_,",",k)}else C.push("M",y,",",x),null!=b&&C.push("A",c,",",c," 0 ",P,",",h," ",b,",",w),C.push("L",_,",",k),null!=T&&C.push("A",s,",",s," 0 ",I,",",1-h," ",T,",",M);return C.push("Z"),C.join("")}function l(e,t){return"M0,"+e+"A"+e+","+e+" 0 1,"+t+" 0,"+-e+"A"+e+","+e+" 0 1,"+t+" 0,"+e}return s.innerRadius=function(t){return arguments.length?(e=yt(t),s):e},s.outerRadius=function(e){return arguments.length?(t=yt(e),s):t},s.cornerRadius=function(e){return arguments.length?(r=yt(e),s):r},s.padRadius=function(e){return arguments.length?(n=e==Ho?Ho:yt(e),s):n},s.startAngle=function(e){return arguments.length?(a=yt(e),s):a},s.endAngle=function(e){return arguments.length?(i=yt(e),s):i},s.padAngle=function(e){return arguments.length?(o=yt(e),s):o},s.centroid=function(){var r=(+e.apply(this,arguments)+ +t.apply(this,arguments))/2,n=(+a.apply(this,arguments)+ +i.apply(this,arguments))/2-Le;return[Math.cos(n)*r,Math.sin(n)*r]},s};var Ho="auto";function Vo(e){return e.innerRadius}function Go(e){return e.outerRadius}function Zo(e){return e.startAngle}function qo(e){return e.endAngle}function Uo(e){return e&&e.padAngle}function Wo(e,t,r,n){return(e-r)*t-(t-n)*e>0?0:1}function Yo(e,t,r,n,a){var i=e[0]-t[0],o=e[1]-t[1],s=(a?n:-n)/Math.sqrt(i*i+o*o),l=s*o,c=-s*i,u=e[0]+l,d=e[1]+c,f=t[0]+l,h=t[1]+c,p=(u+f)/2,g=(d+h)/2,v=f-u,m=h-d,y=v*v+m*m,x=r-n,b=u*h-f*d,w=(m<0?-1:1)*Math.sqrt(Math.max(0,x*x*y-b*b)),_=(b*m-v*w)/y,k=(-b*v-m*w)/y,T=(b*m+v*w)/y,M=(-b*v+m*w)/y,S=_-p,A=k-g,C=T-p,P=M-g;return S*S+A*A>C*C+P*P&&(_=T,k=M),[[_-l,k-c],[_*r/x,k*r/x]]}function Xo(e){var t=oa,r=sa,n=$r,a=Jo,i=a.key,o=.7;function s(i){var s,l=[],c=[],u=-1,d=i.length,f=yt(t),h=yt(r);function p(){l.push("M",a(e(c),o))}for(;++u<d;)n.call(this,s=i[u],u)?c.push([+f.call(this,s,u),+h.call(this,s,u)]):c.length&&(p(),c=[]);return c.length&&p(),l.length?l.join(""):null}return s.x=function(e){return arguments.length?(t=e,s):t},s.y=function(e){return arguments.length?(r=e,s):r},s.defined=function(e){return arguments.length?(n=e,s):n},s.interpolate=function(e){return arguments.length?(i="function"==typeof e?a=e:(a=$o.get(e)||Jo).key,s):i},s.tension=function(e){return arguments.length?(o=e,s):o},s}i.svg.line=function(){return Xo(E)};var $o=i.map({linear:Jo,"linear-closed":Ko,step:function(e){var t=0,r=e.length,n=e[0],a=[n[0],",",n[1]];for(;++t<r;)a.push("H",(n[0]+(n=e[t])[0])/2,"V",n[1]);r>1&&a.push("H",n[0]);return a.join("")},"step-before":Qo,"step-after":es,basis:ns,"basis-open":function(e){if(e.length<4)return Jo(e);var t,r=[],n=-1,a=e.length,i=[0],o=[0];for(;++n<3;)t=e[n],i.push(t[0]),o.push(t[1]);r.push(as(ss,i)+","+as(ss,o)),--n;for(;++n<a;)t=e[n],i.shift(),i.push(t[0]),o.shift(),o.push(t[1]),ls(r,i,o);return r.join("")},"basis-closed":function(e){var t,r,n=-1,a=e.length,i=a+4,o=[],s=[];for(;++n<4;)r=e[n%a],o.push(r[0]),s.push(r[1]);t=[as(ss,o),",",as(ss,s)],--n;for(;++n<i;)r=e[n%a],o.shift(),o.push(r[0]),s.shift(),s.push(r[1]),ls(t,o,s);return t.join("")},bundle:function(e,t){var r=e.length-1;if(r)for(var n,a,i=e[0][0],o=e[0][1],s=e[r][0]-i,l=e[r][1]-o,c=-1;++c<=r;)n=e[c],a=c/r,n[0]=t*n[0]+(1-t)*(i+a*s),n[1]=t*n[1]+(1-t)*(o+a*l);return ns(e)},cardinal:function(e,t){return e.length<3?Jo(e):e[0]+ts(e,rs(e,t))},"cardinal-open":function(e,t){return e.length<4?Jo(e):e[1]+ts(e.slice(1,-1),rs(e,t))},"cardinal-closed":function(e,t){return e.length<3?Ko(e):e[0]+ts((e.push(e[0]),e),rs([e[e.length-2]].concat(e,[e[1]]),t))},monotone:function(e){return e.length<3?Jo(e):e[0]+ts(e,function(e){var t,r,n,a,i=[],o=function(e){var t=0,r=e.length-1,n=[],a=e[0],i=e[1],o=n[0]=cs(a,i);for(;++t<r;)n[t]=(o+(o=cs(a=i,i=e[t+1])))/2;return n[t]=o,n}(e),s=-1,l=e.length-1;for(;++s<l;)t=cs(e[s],e[s+1]),_(t)<Ce?o[s]=o[s+1]=0:(r=o[s]/t,n=o[s+1]/t,(a=r*r+n*n)>9&&(a=3*t/Math.sqrt(a),o[s]=a*r,o[s+1]=a*n));s=-1;for(;++s<=l;)a=(e[Math.min(l,s+1)][0]-e[Math.max(0,s-1)][0])/(6*(1+o[s]*o[s])),i.push([a||0,o[s]*a||0]);return i}(e))}});function Jo(e){return e.length>1?e.join("L"):e+"Z"}function Ko(e){return e.join("L")+"Z"}function Qo(e){for(var t=0,r=e.length,n=e[0],a=[n[0],",",n[1]];++t<r;)a.push("V",(n=e[t])[1],"H",n[0]);return a.join("")}function es(e){for(var t=0,r=e.length,n=e[0],a=[n[0],",",n[1]];++t<r;)a.push("H",(n=e[t])[0],"V",n[1]);return a.join("")}function ts(e,t){if(t.length<1||e.length!=t.length&&e.length!=t.length+2)return Jo(e);var r=e.length!=t.length,n="",a=e[0],i=e[1],o=t[0],s=o,l=1;if(r&&(n+="Q"+(i[0]-2*o[0]/3)+","+(i[1]-2*o[1]/3)+","+i[0]+","+i[1],a=e[1],l=2),t.length>1){s=t[1],i=e[l],l++,n+="C"+(a[0]+o[0])+","+(a[1]+o[1])+","+(i[0]-s[0])+","+(i[1]-s[1])+","+i[0]+","+i[1];for(var c=2;c<t.length;c++,l++)i=e[l],s=t[c],n+="S"+(i[0]-s[0])+","+(i[1]-s[1])+","+i[0]+","+i[1]}if(r){var u=e[l];n+="Q"+(i[0]+2*s[0]/3)+","+(i[1]+2*s[1]/3)+","+u[0]+","+u[1]}return n}function rs(e,t){for(var r,n=[],a=(1-t)/2,i=e[0],o=e[1],s=1,l=e.length;++s<l;)r=i,i=o,o=e[s],n.push([a*(o[0]-r[0]),a*(o[1]-r[1])]);return n}function ns(e){if(e.length<3)return Jo(e);var t=1,r=e.length,n=e[0],a=n[0],i=n[1],o=[a,a,a,(n=e[1])[0]],s=[i,i,i,n[1]],l=[a,",",i,"L",as(ss,o),",",as(ss,s)];for(e.push(e[r-1]);++t<=r;)n=e[t],o.shift(),o.push(n[0]),s.shift(),s.push(n[1]),ls(l,o,s);return e.pop(),l.push("L",n),l.join("")}function as(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3]}$o.forEach((function(e,t){t.key=e,t.closed=/-closed$/.test(e)}));var is=[0,2/3,1/3,0],os=[0,1/3,2/3,0],ss=[0,1/6,2/3,1/6];function ls(e,t,r){e.push("C",as(is,t),",",as(is,r),",",as(os,t),",",as(os,r),",",as(ss,t),",",as(ss,r))}function cs(e,t){return(t[1]-e[1])/(t[0]-e[0])}function us(e){for(var t,r,n,a=-1,i=e.length;++a<i;)r=(t=e[a])[0],n=t[1]-Le,t[0]=r*Math.cos(n),t[1]=r*Math.sin(n);return e}function ds(e){var t=oa,r=oa,n=0,a=sa,i=$r,o=Jo,s=o.key,l=o,c="L",u=.7;function d(s){var d,f,h,p=[],g=[],v=[],m=-1,y=s.length,x=yt(t),b=yt(n),w=t===r?function(){return f}:yt(r),_=n===a?function(){return h}:yt(a);function k(){p.push("M",o(e(v),u),c,l(e(g.reverse()),u),"Z")}for(;++m<y;)i.call(this,d=s[m],m)?(g.push([f=+x.call(this,d,m),h=+b.call(this,d,m)]),v.push([+w.call(this,d,m),+_.call(this,d,m)])):g.length&&(k(),g=[],v=[]);return g.length&&k(),p.length?p.join(""):null}return d.x=function(e){return arguments.length?(t=r=e,d):r},d.x0=function(e){return arguments.length?(t=e,d):t},d.x1=function(e){return arguments.length?(r=e,d):r},d.y=function(e){return arguments.length?(n=a=e,d):a},d.y0=function(e){return arguments.length?(n=e,d):n},d.y1=function(e){return arguments.length?(a=e,d):a},d.defined=function(e){return arguments.length?(i=e,d):i},d.interpolate=function(e){return arguments.length?(s="function"==typeof e?o=e:(o=$o.get(e)||Jo).key,l=o.reverse||o,c=o.closed?"M":"L",d):s},d.tension=function(e){return arguments.length?(u=e,d):u},d}function fs(e){return e.radius}function hs(e){return[e.x,e.y]}function ps(e){return function(){var t=e.apply(this,arguments),r=t[0],n=t[1]-Le;return[r*Math.cos(n),r*Math.sin(n)]}}function gs(){return 64}function vs(){return"circle"}function ms(e){var t=Math.sqrt(e/Oe);return"M0,"+t+"A"+t+","+t+" 0 1,1 0,"+-t+"A"+t+","+t+" 0 1,1 0,"+t+"Z"}i.svg.line.radial=function(){var e=Xo(us);return e.radius=e.x,delete e.x,e.angle=e.y,delete e.y,e},Qo.reverse=es,es.reverse=Qo,i.svg.area=function(){return ds(E)},i.svg.area.radial=function(){var e=ds(us);return e.radius=e.x,delete e.x,e.innerRadius=e.x0,delete e.x0,e.outerRadius=e.x1,delete e.x1,e.angle=e.y,delete e.y,e.startAngle=e.y0,delete e.y0,e.endAngle=e.y1,delete e.y1,e},i.svg.chord=function(){var e=Un,t=Wn,r=fs,n=Zo,a=qo;function i(r,n){var a,i,c=o(this,e,r,n),u=o(this,t,r,n);return"M"+c.p0+s(c.r,c.p1,c.a1-c.a0)+(i=u,((a=c).a0==i.a0&&a.a1==i.a1?l(c.r,c.p1,c.r,c.p0):l(c.r,c.p1,u.r,u.p0)+s(u.r,u.p1,u.a1-u.a0)+l(u.r,u.p1,c.r,c.p0))+"Z")}function o(e,t,i,o){var s=t.call(e,i,o),l=r.call(e,s,o),c=n.call(e,s,o)-Le,u=a.call(e,s,o)-Le;return{r:l,a0:c,a1:u,p0:[l*Math.cos(c),l*Math.sin(c)],p1:[l*Math.cos(u),l*Math.sin(u)]}}function s(e,t,r){return"A"+e+","+e+" 0 "+ +(r>Oe)+",1 "+t}function l(e,t,r,n){return"Q 0,0 "+n}return i.radius=function(e){return arguments.length?(r=yt(e),i):r},i.source=function(t){return arguments.length?(e=yt(t),i):e},i.target=function(e){return arguments.length?(t=yt(e),i):t},i.startAngle=function(e){return arguments.length?(n=yt(e),i):n},i.endAngle=function(e){return arguments.length?(a=yt(e),i):a},i},i.svg.diagonal=function(){var e=Un,t=Wn,r=hs;function n(n,a){var i=e.call(this,n,a),o=t.call(this,n,a),s=(i.y+o.y)/2,l=[i,{x:i.x,y:s},{x:o.x,y:s},o];return"M"+(l=l.map(r))[0]+"C"+l[1]+" "+l[2]+" "+l[3]}return n.source=function(t){return arguments.length?(e=yt(t),n):e},n.target=function(e){return arguments.length?(t=yt(e),n):t},n.projection=function(e){return arguments.length?(r=e,n):r},n},i.svg.diagonal.radial=function(){var e=i.svg.diagonal(),t=hs,r=e.projection;return e.projection=function(e){return arguments.length?r(ps(t=e)):t},e},i.svg.symbol=function(){var e=vs,t=gs;function r(r,n){return(ys.get(e.call(this,r,n))||ms)(t.call(this,r,n))}return r.type=function(t){return arguments.length?(e=yt(t),r):e},r.size=function(e){return arguments.length?(t=yt(e),r):t},r};var ys=i.map({circle:ms,cross:function(e){var t=Math.sqrt(e/5)/2;return"M"+-3*t+","+-t+"H"+-t+"V"+-3*t+"H"+t+"V"+-t+"H"+3*t+"V"+t+"H"+t+"V"+3*t+"H"+-t+"V"+t+"H"+-3*t+"Z"},diamond:function(e){var t=Math.sqrt(e/(2*bs)),r=t*bs;return"M0,"+-t+"L"+r+",0 0,"+t+" "+-r+",0Z"},square:function(e){var t=Math.sqrt(e)/2;return"M"+-t+","+-t+"L"+t+","+-t+" "+t+","+t+" "+-t+","+t+"Z"},"triangle-down":function(e){var t=Math.sqrt(e/xs),r=t*xs/2;return"M0,"+r+"L"+t+","+-r+" "+-t+","+-r+"Z"},"triangle-up":function(e){var t=Math.sqrt(e/xs),r=t*xs/2;return"M0,"+-r+"L"+t+","+r+" "+-t+","+r+"Z"}});i.svg.symbolTypes=ys.keys();var xs=Math.sqrt(3),bs=Math.tan(30*Ee);$.transition=function(e){for(var t,r,n=Ts||++As,a=Os(e),i=[],o=Ms||{time:Date.now(),ease:hi,delay:0,duration:250},s=-1,l=this.length;++s<l;){i.push(t=[]);for(var c=this[s],u=-1,d=c.length;++u<d;)(r=c[u])&&Is(r,u,a,n,o),t.push(r)}return ks(i,a,n)},$.interrupt=function(e){return this.each(null==e?ws:_s(Os(e)))};var ws=_s(Os());function _s(e){return function(){var t,r,n;(t=this[e])&&(n=t[r=t.active])&&(n.timer.c=null,n.timer.t=NaN,--t.count?delete t[r]:delete this[e],t.active+=.5,n.event&&n.event.interrupt.call(this,this.__data__,n.index))}}function ks(e,t,r){return q(e,Ss),e.namespace=t,e.id=r,e}var Ts,Ms,Ss=[],As=0;function Cs(e,t,r,n){var a=e.id,i=e.namespace;return pe(e,"function"==typeof r?function(e,o,s){e[i][a].tween.set(t,n(r.call(e,e.__data__,o,s)))}:(r=n(r),function(e){e[i][a].tween.set(t,r)}))}function Ps(e){return null==e&&(e=""),function(){this.textContent=e}}function Os(e){return null==e?"__transition__":"__transition_"+e+"__"}function Is(e,t,r,n,a){var i,o,s,l,c,u=e[r]||(e[r]={active:0,count:0}),d=u[n];function f(r){var a=u.active,f=u[a];for(var p in f&&(f.timer.c=null,f.timer.t=NaN,--u.count,delete u[a],f.event&&f.event.interrupt.call(e,e.__data__,f.index)),u)if(+p<n){var g=u[p];g.timer.c=null,g.timer.t=NaN,--u.count,delete u[p]}o.c=h,St((function(){return o.c&&h(r||1)&&(o.c=null,o.t=NaN),1}),0,i),u.active=n,d.event&&d.event.start.call(e,e.__data__,t),c=[],d.tween.forEach((function(r,n){(n=n.call(e,e.__data__,t))&&c.push(n)})),l=d.ease,s=d.duration}function h(a){for(var i=a/s,o=l(i),f=c.length;f>0;)c[--f].call(e,o);if(i>=1)return d.event&&d.event.end.call(e,e.__data__,t),--u.count?delete u[n]:delete e[r],1}d||(i=a.time,o=St((function(e){var t=d.delay;if(o.t=t+i,t<=e)return f(e-t);o.c=f}),0,i),d=u[n]={tween:new M,time:i,timer:o,delay:a.delay,duration:a.duration,ease:a.ease,index:t},a=null,++u.count)}Ss.call=$.call,Ss.empty=$.empty,Ss.node=$.node,Ss.size=$.size,i.transition=function(e,t){return e&&e.transition?Ts?e.transition(t):e:i.selection().transition(e)},i.transition.prototype=Ss,Ss.select=function(e){var t,r,n,a=this.id,i=this.namespace,o=[];e=J(e);for(var s=-1,l=this.length;++s<l;){o.push(t=[]);for(var c=this[s],u=-1,d=c.length;++u<d;)(n=c[u])&&(r=e.call(n,n.__data__,u,s))?("__data__"in n&&(r.__data__=n.__data__),Is(r,u,i,a,n[i][a]),t.push(r)):t.push(null)}return ks(o,i,a)},Ss.selectAll=function(e){var t,r,n,a,i,o=this.id,s=this.namespace,l=[];e=K(e);for(var c=-1,u=this.length;++c<u;)for(var d=this[c],f=-1,h=d.length;++f<h;)if(n=d[f]){i=n[s][o],r=e.call(n,n.__data__,f,c),l.push(t=[]);for(var p=-1,g=r.length;++p<g;)(a=r[p])&&Is(a,p,s,o,i),t.push(a)}return ks(l,s,o)},Ss.filter=function(e){var t,r,n=[];"function"!=typeof e&&(e=fe(e));for(var a=0,i=this.length;a<i;a++){n.push(t=[]);for(var o,s=0,l=(o=this[a]).length;s<l;s++)(r=o[s])&&e.call(r,r.__data__,s,a)&&t.push(r)}return ks(n,this.namespace,this.id)},Ss.tween=function(e,t){var r=this.id,n=this.namespace;return arguments.length<2?this.node()[n][r].tween.get(e):pe(this,null==t?function(t){t[n][r].tween.remove(e)}:function(a){a[n][r].tween.set(e,t)})},Ss.attr=function(e,t){if(arguments.length<2){for(t in e)this.attr(t,e[t]);return this}var r="transform"==e?Ti:ni,n=i.ns.qualify(e);function a(){this.removeAttribute(n)}function o(){this.removeAttributeNS(n.space,n.local)}function s(e){return null==e?a:(e+="",function(){var t,a=this.getAttribute(n);return a!==e&&(t=r(a,e),function(e){this.setAttribute(n,t(e))})})}function l(e){return null==e?o:(e+="",function(){var t,a=this.getAttributeNS(n.space,n.local);return a!==e&&(t=r(a,e),function(e){this.setAttributeNS(n.space,n.local,t(e))})})}return Cs(this,"attr."+e,t,n.local?l:s)},Ss.attrTween=function(e,t){var r=i.ns.qualify(e);return this.tween("attr."+e,r.local?function(e,n){var a=t.call(this,e,n,this.getAttributeNS(r.space,r.local));return a&&function(e){this.setAttributeNS(r.space,r.local,a(e))}}:function(e,n){var a=t.call(this,e,n,this.getAttribute(r));return a&&function(e){this.setAttribute(r,a(e))}})},Ss.style=function(e,t,r){var n=arguments.length;if(n<3){if("string"!=typeof e){for(r in n<2&&(t=""),e)this.style(r,e[r],t);return this}r=""}function a(){this.style.removeProperty(e)}function i(t){return null==t?a:(t+="",function(){var n,a=u(this).getComputedStyle(this,null).getPropertyValue(e);return a!==t&&(n=ni(a,t),function(t){this.style.setProperty(e,n(t),r)})})}return Cs(this,"style."+e,t,i)},Ss.styleTween=function(e,t,r){function n(n,a){var i=t.call(this,n,a,u(this).getComputedStyle(this,null).getPropertyValue(e));return i&&function(t){this.style.setProperty(e,i(t),r)}}return arguments.length<3&&(r=""),this.tween("style."+e,n)},Ss.text=function(e){return Cs(this,"text",e,Ps)},Ss.remove=function(){var e=this.namespace;return this.each("end.transition",(function(){var t;this[e].count<2&&(t=this.parentNode)&&t.removeChild(this)}))},Ss.ease=function(e){var t=this.id,r=this.namespace;return arguments.length<1?this.node()[r][t].ease:("function"!=typeof e&&(e=i.ease.apply(i,arguments)),pe(this,(function(n){n[r][t].ease=e})))},Ss.delay=function(e){var t=this.id,r=this.namespace;return arguments.length<1?this.node()[r][t].delay:pe(this,"function"==typeof e?function(n,a,i){n[r][t].delay=+e.call(n,n.__data__,a,i)}:(e=+e,function(n){n[r][t].delay=e}))},Ss.duration=function(e){var t=this.id,r=this.namespace;return arguments.length<1?this.node()[r][t].duration:pe(this,"function"==typeof e?function(n,a,i){n[r][t].duration=Math.max(1,e.call(n,n.__data__,a,i))}:(e=Math.max(1,e),function(n){n[r][t].duration=e}))},Ss.each=function(e,t){var r=this.id,n=this.namespace;if(arguments.length<2){var a=Ms,o=Ts;try{Ts=r,pe(this,(function(t,a,i){Ms=t[n][r],e.call(t,t.__data__,a,i)}))}finally{Ms=a,Ts=o}}else pe(this,(function(a){var o=a[n][r];(o.event||(o.event=i.dispatch("start","end","interrupt"))).on(e,t)}));return this},Ss.transition=function(){for(var e,t,r,n=this.id,a=++As,i=this.namespace,o=[],s=0,l=this.length;s<l;s++){o.push(e=[]);for(var c,u=0,d=(c=this[s]).length;u<d;u++)(t=c[u])&&Is(t,u,i,a,{time:(r=t[i][n]).time,ease:r.ease,delay:r.delay+r.duration,duration:r.duration}),e.push(t)}return ks(o,i,a)},i.svg.axis=function(){var e,t=i.scale.linear(),r=zs,n=6,a=6,o=3,l=[10],c=null;function u(s){s.each((function(){var s,u=i.select(this),d=this.__chart__||t,f=this.__chart__=t.copy(),h=null==c?f.ticks?f.ticks.apply(f,l):f.domain():c,p=null==e?f.tickFormat?f.tickFormat.apply(f,l):E:e,g=u.selectAll(".tick").data(h,f),v=g.enter().insert("g",".domain").attr("class","tick").style("opacity",Ce),m=i.transition(g.exit()).style("opacity",Ce).remove(),y=i.transition(g.order()).style("opacity",1),x=Math.max(n,0)+o,b=bo(f),w=u.selectAll(".domain").data([0]),_=(w.enter().append("path").attr("class","domain"),i.transition(w));v.append("line"),v.append("text");var k,T,M,S,A=v.select("line"),C=y.select("line"),P=g.select("text").text(p),O=v.select("text"),I=y.select("text"),z="top"===r||"left"===r?-1:1;if("bottom"===r||"top"===r?(s=Es,k="x",M="y",T="x2",S="y2",P.attr("dy",z<0?"0em":".71em").style("text-anchor","middle"),_.attr("d","M"+b[0]+","+z*a+"V0H"+b[1]+"V"+z*a)):(s=js,k="y",M="x",T="y2",S="x2",P.attr("dy",".32em").style("text-anchor",z<0?"end":"start"),_.attr("d","M"+z*a+","+b[0]+"H0V"+b[1]+"H"+z*a)),A.attr(S,z*n),O.attr(M,z*x),C.attr(T,0).attr(S,z*n),I.attr(k,0).attr(M,z*x),f.rangeBand){var L=f,j=L.rangeBand()/2;d=f=function(e){return L(e)+j}}else d.rangeBand?d=f:m.call(s,f,d);v.call(s,d,f),y.call(s,f,f)}))}return u.scale=function(e){return arguments.length?(t=e,u):t},u.orient=function(e){return arguments.length?(r=e in Ls?e+"":zs,u):r},u.ticks=function(){return arguments.length?(l=s(arguments),u):l},u.tickValues=function(e){return arguments.length?(c=e,u):c},u.tickFormat=function(t){return arguments.length?(e=t,u):e},u.tickSize=function(e){var t=arguments.length;return t?(n=+e,a=+arguments[t-1],u):n},u.innerTickSize=function(e){return arguments.length?(n=+e,u):n},u.outerTickSize=function(e){return arguments.length?(a=+e,u):a},u.tickPadding=function(e){return arguments.length?(o=+e,u):o},u.tickSubdivide=function(){return arguments.length&&u},u};var zs="bottom",Ls={top:1,right:1,bottom:1,left:1};function Es(e,t,r){e.attr("transform",(function(e){var n=t(e);return"translate("+(isFinite(n)?n:r(e))+",0)"}))}function js(e,t,r){e.attr("transform",(function(e){var n=t(e);return"translate(0,"+(isFinite(n)?n:r(e))+")"}))}i.svg.brush=function(){var e,t,r=G(f,"brushstart","brush","brushend"),n=null,a=null,o=[0,0],s=[0,0],l=!0,c=!0,d=Rs[0];function f(e){e.each((function(){var e=i.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",v).on("touchstart.brush",v),t=e.selectAll(".background").data([0]);t.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),e.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var r=e.selectAll(".resize").data(d,E);r.exit().remove(),r.enter().append("g").attr("class",(function(e){return"resize "+e})).style("cursor",(function(e){return Ds[e]})).append("rect").attr("x",(function(e){return/[ew]$/.test(e)?-3:null})).attr("y",(function(e){return/^[ns]/.test(e)?-3:null})).attr("width",6).attr("height",6).style("visibility","hidden"),r.style("display",f.empty()?"none":null);var o,s=i.transition(e),l=i.transition(t);n&&(o=bo(n),l.attr("x",o[0]).attr("width",o[1]-o[0]),p(s)),a&&(o=bo(a),l.attr("y",o[0]).attr("height",o[1]-o[0]),g(s)),h(s)}))}function h(e){e.selectAll(".resize").attr("transform",(function(e){return"translate("+o[+/e$/.test(e)]+","+s[+/^s/.test(e)]+")"}))}function p(e){e.select(".extent").attr("x",o[0]),e.selectAll(".extent,.n>rect,.s>rect").attr("width",o[1]-o[0])}function g(e){e.select(".extent").attr("y",s[0]),e.selectAll(".extent,.e>rect,.w>rect").attr("height",s[1]-s[0])}function v(){var d,v,m=this,y=i.select(i.event.target),x=r.of(m,arguments),b=i.select(m),w=y.datum(),_=!/^(n|s)$/.test(w)&&n,k=!/^(e|w)$/.test(w)&&a,T=y.classed("extent"),M=Te(m),S=i.mouse(m),A=i.select(u(m)).on("keydown.brush",O).on("keyup.brush",I);if(i.event.changedTouches?A.on("touchmove.brush",z).on("touchend.brush",E):A.on("mousemove.brush",z).on("mouseup.brush",E),b.interrupt().selectAll("*").interrupt(),T)S[0]=o[0]-S[0],S[1]=s[0]-S[1];else if(w){var C=+/w$/.test(w),P=+/^n/.test(w);v=[o[1-C]-S[0],s[1-P]-S[1]],S[0]=o[C],S[1]=s[P]}else i.event.altKey&&(d=S.slice());function O(){32==i.event.keyCode&&(T||(d=null,S[0]-=o[1],S[1]-=s[1],T=2),H())}function I(){32==i.event.keyCode&&2==T&&(S[0]+=o[1],S[1]+=s[1],T=0,H())}function z(){var e=i.mouse(m),t=!1;v&&(e[0]+=v[0],e[1]+=v[1]),T||(i.event.altKey?(d||(d=[(o[0]+o[1])/2,(s[0]+s[1])/2]),S[0]=o[+(e[0]<d[0])],S[1]=s[+(e[1]<d[1])]):d=null),_&&L(e,n,0)&&(p(b),t=!0),k&&L(e,a,1)&&(g(b),t=!0),t&&(h(b),x({type:"brush",mode:T?"move":"resize"}))}function L(r,n,a){var i,u,f=bo(n),h=f[0],p=f[1],g=S[a],v=a?s:o,m=v[1]-v[0];if(T&&(h-=g,p-=m+g),i=(a?c:l)?Math.max(h,Math.min(p,r[a])):r[a],T?u=(i+=g)+m:(d&&(g=Math.max(h,Math.min(p,2*d[a]-i))),g<i?(u=i,i=g):u=g),v[0]!=i||v[1]!=u)return a?t=null:e=null,v[0]=i,v[1]=u,!0}function E(){z(),b.style("pointer-events","all").selectAll(".resize").style("display",f.empty()?"none":null),i.select("body").style("cursor",null),A.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null),M(),x({type:"brushend"})}b.style("pointer-events","none").selectAll(".resize").style("display",null),i.select("body").style("cursor",y.style("cursor")),x({type:"brushstart"}),z()}return f.event=function(n){n.each((function(){var n=r.of(this,arguments),a={x:o,y:s,i:e,j:t},l=this.__chart__||a;this.__chart__=a,Ts?i.select(this).transition().each("start.brush",(function(){e=l.i,t=l.j,o=l.x,s=l.y,n({type:"brushstart"})})).tween("brush:brush",(function(){var r=ai(o,a.x),i=ai(s,a.y);return e=t=null,function(e){o=a.x=r(e),s=a.y=i(e),n({type:"brush",mode:"resize"})}})).each("end.brush",(function(){e=a.i,t=a.j,n({type:"brush",mode:"resize"}),n({type:"brushend"})})):(n({type:"brushstart"}),n({type:"brush",mode:"resize"}),n({type:"brushend"}))}))},f.x=function(e){return arguments.length?(d=Rs[!(n=e)<<1|!a],f):n},f.y=function(e){return arguments.length?(d=Rs[!n<<1|!(a=e)],f):a},f.clamp=function(e){return arguments.length?(n&&a?(l=!!e[0],c=!!e[1]):n?l=!!e:a&&(c=!!e),f):n&&a?[l,c]:n?l:a?c:null},f.extent=function(r){var i,l,c,u,d;return arguments.length?(n&&(i=r[0],l=r[1],a&&(i=i[0],l=l[0]),e=[i,l],n.invert&&(i=n(i),l=n(l)),l<i&&(d=i,i=l,l=d),i==o[0]&&l==o[1]||(o=[i,l])),a&&(c=r[0],u=r[1],n&&(c=c[1],u=u[1]),t=[c,u],a.invert&&(c=a(c),u=a(u)),u<c&&(d=c,c=u,u=d),c==s[0]&&u==s[1]||(s=[c,u])),f):(n&&(e?(i=e[0],l=e[1]):(i=o[0],l=o[1],n.invert&&(i=n.invert(i),l=n.invert(l)),l<i&&(d=i,i=l,l=d))),a&&(t?(c=t[0],u=t[1]):(c=s[0],u=s[1],a.invert&&(c=a.invert(c),u=a.invert(u)),u<c&&(d=c,c=u,u=d))),n&&a?[[i,c],[l,u]]:n?[i,l]:a&&[c,u])},f.clear=function(){return f.empty()||(o=[0,0],s=[0,0],e=t=null),f},f.empty=function(){return!!n&&o[0]==o[1]||!!a&&s[0]==s[1]},i.rebind(f,r,"on")};var Ds={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Rs=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]],Ns=Dt.format=dr.timeFormat,Fs=Ns.utc,Bs=Fs("%Y-%m-%dT%H:%M:%S.%LZ");function Hs(e){return e.toISOString()}function Vs(e,t,r){function n(t){return e(t)}function a(e,r){var n=(e[1]-e[0])/r,a=i.bisect(Zs,n);return a==Zs.length?[t.year,Co(e.map((function(e){return e/31536e6})),r)[2]]:a?t[n/Zs[a-1]<Zs[a]/n?a-1:a]:[Ws,Co(e,r)[2]]}return n.invert=function(t){return Gs(e.invert(t))},n.domain=function(t){return arguments.length?(e.domain(t),n):e.domain().map(Gs)},n.nice=function(e,t){var r=n.domain(),i=xo(r),o=null==e?a(i,10):"number"==typeof e&&a(i,e);function s(r){return!isNaN(r)&&!e.range(r,Gs(+r+1),t).length}return o&&(e=o[0],t=o[1]),n.domain(_o(r,t>1?{floor:function(t){for(;s(t=e.floor(t));)t=Gs(t-1);return t},ceil:function(t){for(;s(t=e.ceil(t));)t=Gs(+t+1);return t}}:e))},n.ticks=function(e,t){var r=xo(n.domain()),i=null==e?a(r,10):"number"==typeof e?a(r,e):!e.range&&[{range:e},t];return i&&(e=i[0],t=i[1]),e.range(r[0],Gs(+r[1]+1),t<1?1:t)},n.tickFormat=function(){return r},n.copy=function(){return Vs(e.copy(),t,r)},So(n,e)}function Gs(e){return new Date(e)}Ns.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?Hs:Bs,Hs.parse=function(e){var t=new Date(e);return isNaN(t)?null:t},Hs.toString=Bs.toString,Dt.second=Bt((function(e){return new Rt(1e3*Math.floor(e/1e3))}),(function(e,t){e.setTime(e.getTime()+1e3*Math.floor(t))}),(function(e){return e.getSeconds()})),Dt.seconds=Dt.second.range,Dt.seconds.utc=Dt.second.utc.range,Dt.minute=Bt((function(e){return new Rt(6e4*Math.floor(e/6e4))}),(function(e,t){e.setTime(e.getTime()+6e4*Math.floor(t))}),(function(e){return e.getMinutes()})),Dt.minutes=Dt.minute.range,Dt.minutes.utc=Dt.minute.utc.range,Dt.hour=Bt((function(e){var t=e.getTimezoneOffset()/60;return new Rt(36e5*(Math.floor(e/36e5-t)+t))}),(function(e,t){e.setTime(e.getTime()+36e5*Math.floor(t))}),(function(e){return e.getHours()})),Dt.hours=Dt.hour.range,Dt.hours.utc=Dt.hour.utc.range,Dt.month=Bt((function(e){return(e=Dt.day(e)).setDate(1),e}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e){return e.getMonth()})),Dt.months=Dt.month.range,Dt.months.utc=Dt.month.utc.range;var Zs=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],qs=[[Dt.second,1],[Dt.second,5],[Dt.second,15],[Dt.second,30],[Dt.minute,1],[Dt.minute,5],[Dt.minute,15],[Dt.minute,30],[Dt.hour,1],[Dt.hour,3],[Dt.hour,6],[Dt.hour,12],[Dt.day,1],[Dt.day,2],[Dt.week,1],[Dt.month,1],[Dt.month,3],[Dt.year,1]],Us=Ns.multi([[".%L",function(e){return e.getMilliseconds()}],[":%S",function(e){return e.getSeconds()}],["%I:%M",function(e){return e.getMinutes()}],["%I %p",function(e){return e.getHours()}],["%a %d",function(e){return e.getDay()&&1!=e.getDate()}],["%b %d",function(e){return 1!=e.getDate()}],["%B",function(e){return e.getMonth()}],["%Y",$r]]),Ws={range:function(e,t,r){return i.range(Math.ceil(e/r)*r,+t,r).map(Gs)},floor:E,ceil:E};qs.year=Dt.year,Dt.scale=function(){return Vs(i.scale.linear(),qs,Us)};var Ys=qs.map((function(e){return[e[0].utc,e[1]]})),Xs=Fs.multi([[".%L",function(e){return e.getUTCMilliseconds()}],[":%S",function(e){return e.getUTCSeconds()}],["%I:%M",function(e){return e.getUTCMinutes()}],["%I %p",function(e){return e.getUTCHours()}],["%a %d",function(e){return e.getUTCDay()&&1!=e.getUTCDate()}],["%b %d",function(e){return 1!=e.getUTCDate()}],["%B",function(e){return e.getUTCMonth()}],["%Y",$r]]);function $s(e){return JSON.parse(e.responseText)}function Js(e){var t=l.createRange();return t.selectNode(l.body),t.createContextualFragment(e.responseText)}Ys.year=Dt.year.utc,Dt.scale.utc=function(){return Vs(i.scale.linear(),Ys,Xs)},i.text=xt((function(e){return e.responseText})),i.json=function(e,t){return bt(e,"application/json",$s,t)},i.html=function(e,t){return bt(e,"text/html",Js,t)},i.xml=xt((function(e){return e.responseXML})),this.d3=i,void 0===(a="function"==typeof(n=i)?n.call(t,r,t,e):n)||(e.exports=a)}()},c5s0:function(e,t,r){"use strict";var n=r("/CZE"),a=r("plED"),i=r("DdeV"),o=r("QYPY");e.exports=function(e,t){function r(r,a){return n.coerce(e,t,i,r,a)}r("colorscale.sequential"),r("colorscale.sequentialminus"),r("colorscale.diverging");var s,l,c=t._colorAxes;function u(e,t){return n.coerce(s,l,i.coloraxis,e,t)}for(var d in c){var f=c[d];if(f[0])s=e[d]||{},(l=a.newContainer(t,d,"coloraxis"))._name=d,o(s,l,t,u,{prefix:"",cLetter:"c"});else{for(var h=0;h<f[2].length;h++)f[2][h]();delete t._colorAxes[d]}}}},c8nr:function(e,t,r){"use strict";t.xmlns="http://www.w3.org/2000/xmlns/",t.svg="http://www.w3.org/2000/svg",t.xlink="http://www.w3.org/1999/xlink",t.svgAttrs={xmlns:t.svg,"xmlns:xlink":t.xlink}},cADB:function(e,t,r){"use strict";function n(e,t,r,n,a){var i=t.c2p(n?e.s0:e.p0,!0),o=t.c2p(n?e.s1:e.p1,!0),s=r.c2p(n?e.p0:e.s0,!0),l=r.c2p(n?e.p1:e.s1,!0);return a?[(i+o)/2,(s+l)/2]:n?[o,(s+l)/2]:[(i+o)/2,l]}e.exports=function(e,t){var r,a=e.cd,i=e.xaxis,o=e.yaxis,s=a[0].trace,l="funnel"===s.type,c="h"===s.orientation,u=[];if(!1===t)for(r=0;r<a.length;r++)a[r].selected=0;else for(r=0;r<a.length;r++){var d=a[r],f="ct"in d?d.ct:n(d,i,o,c,l);t.contains(f,!1,r,e)?(u.push({pointNumber:r,x:i.c2d(d.x),y:o.c2d(d.y)}),d.selected=1):d.selected=0}return u}},cBZz:function(e,t,r){"use strict";var n=r("t/Ts");r.n(n).a},cIkR:function(e,t,r){"use strict";var n=r("/CZE");e.exports=function(e){return n.isPlainObject(e.colorbar)}},cLT0:function(e,t,r){"use strict";var n=r("GbLo"),a=r("/CZE"),i=r("BkK/"),o=r("6AZA").BADNUM,s=r("3oHU"),l=r("Cb1W"),c=r("EGun"),u=r("QTaS");function d(e,t,r,n,a,o,l){var c=t._length,u=e._fullLayout,d=r._id,f=n._id,h=u._firstScatter[p(t)]===t.uid,v=(g(t,u,r,n)||{}).orientation,m=t.fill;r._minDtick=0,n._minDtick=0;var y={padded:!0},x={padded:!0};l&&(y.ppad=x.ppad=l);var b=c<2||a[0]!==a[c-1]||o[0]!==o[c-1];b&&("tozerox"===m||"tonextx"===m&&(h||"h"===v))?y.tozero=!0:(t.error_y||{}).visible||"tonexty"!==m&&"tozeroy"!==m&&(s.hasMarkers(t)||s.hasText(t))||(y.padded=!1,y.ppad=0),b&&("tozeroy"===m||"tonexty"===m&&(h||"v"===v))?x.tozero=!0:"tonextx"!==m&&"tozerox"!==m||(x.padded=!1),d&&(t._extremes[d]=i.findExtremes(r,a,y)),f&&(t._extremes[f]=i.findExtremes(n,o,x))}function f(e,t){if(s.hasMarkers(e)){var r,n=e.marker,o=1.6*(e.marker.sizeref||1);if(r="area"===e.marker.sizemode?function(e){return Math.max(Math.sqrt((e||0)/o),3)}:function(e){return Math.max((e||0)/o,3)},a.isArrayOrTypedArray(n.size)){var l={type:"linear"};i.setConvert(l);for(var c=l.makeCalcdata(e.marker,"size"),u=new Array(t),d=0;d<t;d++)u[d]=r(c[d]);return u}return r(n.size)}}function h(e,t){var r=p(t),n=e._firstScatter;n[r]||(n[r]=t.uid)}function p(e){var t=e.stackgroup;return e.xaxis+e.yaxis+e.type+(t?"-"+t:"")}function g(e,t,r,n){var a=e.stackgroup;if(a){var i=t._scatterStackOpts[r._id+n._id][a],o="v"===i.orientation?n:r;return"linear"===o.type||"log"===o.type?i:void 0}}e.exports={calc:function(e,t){var r,s,p,v,m,y,x=e._fullLayout,b=i.getFromId(e,t.xaxis||"x"),w=i.getFromId(e,t.yaxis||"y"),_=b.makeCalcdata(t,"x"),k=w.makeCalcdata(t,"y"),T=t._length,M=new Array(T),S=t.ids,A=g(t,x,b,w),C=!1;h(x,t);var P,O="x",I="y";for(A?(a.pushUnique(A.traceIndices,t._expandedIndex),(r="v"===A.orientation)?(I="s",P="x"):(O="s",P="y"),m="interpolate"===A.stackgaps):d(e,t,b,w,_,k,f(t,T)),s=0;s<T;s++){var z=M[s]={},L=n(_[s]),E=n(k[s]);L&&E?(z[O]=_[s],z[I]=k[s]):A&&(r?L:E)?(z[P]=r?_[s]:k[s],z.gap=!0,m?(z.s=o,C=!0):z.s=0):z[O]=z[I]=o,S&&(z.id=String(S[s]))}if(c(M,t),l(e,t),u(M,t),A){for(s=0;s<M.length;)M[s][P]===o?M.splice(s,1):s++;if(a.sort(M,(function(e,t){return e[P]-t[P]||e.i-t.i})),C){for(s=0;s<M.length-1&&M[s].gap;)s++;for((y=M[s].s)||(y=M[s].s=0),p=0;p<s;p++)M[p].s=y;for(v=M.length-1;v>s&&M[v].gap;)v--;for(y=M[v].s,p=M.length-1;p>v;p--)M[p].s=y;for(;s<v;)if(M[++s].gap){for(p=s+1;M[p].gap;)p++;for(var j=M[s-1][P],D=M[s-1].s,R=(M[p].s-D)/(M[p][P]-j);s<p;)M[s].s=D+(M[s][P]-j)*R,s++}}}return M},calcMarkerSize:f,calcAxisExpansion:d,setFirstScatter:h,getStackOpts:g}},cPlZ:function(e,t,r){"use strict";var n=r("JZU4"),a=r("NPlu");e.exports={moduleType:"component",name:"annotations",layoutAttributes:r("u0qo"),supplyLayoutDefaults:r("u1sj"),includeBasePlot:r("N9FU")("annotations"),calcAutorange:r("zYTo"),draw:n.draw,drawOne:n.drawOne,drawRaw:n.drawRaw,hasClickToShow:a.hasClickToShow,onClick:a.onClick,convertCoords:r("NRvR")}},cRi9:function(e,t,r){"use strict";var n=r("GbLo"),a=r("Nx4I"),i=r("/CZE"),o=r("5azm"),s=r("15jM"),l=r("2S8E"),c=r("J+Po"),u=r("UAgb"),d=r("0YvE"),f=r("dDsA"),h=r("GkA6"),p=r("0wH6").WEEKDAY_PATTERN,g=r("0wH6").HOUR_PATTERN;function v(e,t,r){function a(r,n){return i.coerce(e,t,s.rangebreaks,r,n)}if(a("enabled")){var o=a("bounds");if(o&&o.length>=2){var l,c,u="";if(2===o.length)for(l=0;l<2;l++)if(c=y(o[l])){u=p;break}var d=a("pattern",u);if(d===p)for(l=0;l<2;l++)(c=y(o[l]))&&(t.bounds[l]=o[l]=c-1);if(d)for(l=0;l<2;l++)switch(c=o[l],d){case p:if(!n(c))return void(t.enabled=!1);if((c=+c)!==Math.floor(c)||c<0||c>=7)return void(t.enabled=!1);t.bounds[l]=o[l]=c;break;case g:if(!n(c))return void(t.enabled=!1);if((c=+c)<0||c>24)return void(t.enabled=!1);t.bounds[l]=o[l]=c}if(!1===r.autorange){var f=r.range;if(f[0]<f[1]){if(o[0]<f[0]&&o[1]>f[1])return void(t.enabled=!1)}else if(o[0]>f[0]&&o[1]<f[1])return void(t.enabled=!1)}}else{var h=a("values");if(!h||!h.length)return void(t.enabled=!1);a("dvalue")}}}e.exports=function(e,t,r,n,g){var m=n.letter,y=n.font||{},x=n.splomStash||{},b=r("visible",!n.visibleDflt),w=t._template||{},_=t.type||w.type||"-";"date"===_&&a.getComponentMethod("calendars","handleDefaults")(e,t,"calendar",n.calendar);h(t,g);var k=!t.isValidRange(e.range);k&&n.reverseDflt&&(k="reversed"),!r("autorange",k)||"linear"!==_&&"-"!==_||r("rangemode"),r("range"),t.cleanRange(),d(e,t,r,n),"category"===_||n.noHover||r("hoverformat");var T=r("color"),M=T!==s.color.dflt?T:y.color,S=x.label||g._dfltTitle[m];if(u(e,t,r,_,n,{pass:1}),!b)return t;r("title.text",S),i.coerceFont(r,"title.font",{family:y.family,size:Math.round(1.2*y.size),color:M}),l(e,t,r,_),u(e,t,r,_,n,{pass:2}),c(e,t,r,n),f(e,t,r,{dfltColor:T,bgColor:n.bgColor,showGrid:n.showGrid,attributes:s}),(t.showline||t.ticks)&&r("mirror"),n.automargin&&r("automargin");var A,C="multicategory"===_;n.noTickson||"category"!==_&&!C||!t.ticks&&!t.showgrid||(C&&(A="boundaries"),r("tickson",A));C&&(r("showdividers")&&(r("dividercolor"),r("dividerwidth")));if("date"===_)if(o(e,t,{name:"rangebreaks",inclusionAttr:"enabled",handleItemDefaults:v}),t.rangebreaks.length){for(var P=0;P<t.rangebreaks.length;P++)if(t.rangebreaks[P].pattern===p){t._hasDayOfWeekBreaks=!0;break}if(h(t,g),g._has("scattergl")||g._has("splom"))for(var O=0;O<n.data.length;O++){var I=n.data[O];"scattergl"!==I.type&&"splom"!==I.type||(I.visible=!1,i.warn(I.type+" traces do not work on axes with rangebreaks. Setting trace "+I.index+" to `visible: false`."))}}else delete t.rangebreaks;return t};var m={sun:1,mon:2,tue:3,wed:4,thu:5,fri:6,sat:7};function y(e){if("string"==typeof e)return m[e.substr(0,3).toLowerCase()]}},cU9g:function(e,t,r){"use strict";var n=r("/CZE");e.exports=function(e,t){for(var r=0;r<e.length;r++)e[r].i=r;n.mergeArray(t.text,e,"tx"),n.mergeArray(t.hovertext,e,"htx");var a=t.marker;if(a){n.mergeArray(a.opacity,e,"mo"),n.mergeArray(a.color,e,"mc");var i=a.line;i&&(n.mergeArray(i.color,e,"mlc"),n.mergeArrayCastPositive(i.width,e,"mlw"))}}},cWyK:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("/rf6");function a(e,t,r){if(null!==e)for(var n,i,o,s,l,c,u,d,f=0,h=0,p=e.type,g="FeatureCollection"===p,v="Feature"===p,m=g?e.features.length:1,y=0;y<m;y++){l=(d=!!(u=g?e.features[y].geometry:v?e.geometry:e)&&"GeometryCollection"===u.type)?u.geometries.length:1;for(var x=0;x<l;x++){var b=0,w=0;if(null!==(s=d?u.geometries[x]:u)){c=s.coordinates;var _=s.type;switch(f=!r||"Polygon"!==_&&"MultiPolygon"!==_?0:1,_){case null:break;case"Point":if(!1===t(c,h,y,b,w))return!1;h++,b++;break;case"LineString":case"MultiPoint":for(n=0;n<c.length;n++){if(!1===t(c[n],h,y,b,w))return!1;h++,"MultiPoint"===_&&b++}"LineString"===_&&b++;break;case"Polygon":case"MultiLineString":for(n=0;n<c.length;n++){for(i=0;i<c[n].length-f;i++){if(!1===t(c[n][i],h,y,b,w))return!1;h++}"MultiLineString"===_&&b++,"Polygon"===_&&w++}"Polygon"===_&&b++;break;case"MultiPolygon":for(n=0;n<c.length;n++){for(w=0,i=0;i<c[n].length;i++){for(o=0;o<c[n][i].length-f;o++){if(!1===t(c[n][i][o],h,y,b,w))return!1;h++}w++}b++}break;case"GeometryCollection":for(n=0;n<s.geometries.length;n++)if(!1===a(s.geometries[n],t,r))return!1;break;default:throw new Error("Unknown Geometry Type")}}}}}function i(e,t){var r;switch(e.type){case"FeatureCollection":for(r=0;r<e.features.length&&!1!==t(e.features[r].properties,r);r++);break;case"Feature":t(e.properties,0)}}function o(e,t){if("Feature"===e.type)t(e,0);else if("FeatureCollection"===e.type)for(var r=0;r<e.features.length&&!1!==t(e.features[r],r);r++);}function s(e,t){var r,n,a,i,o,s,l,c,u,d,f=0,h="FeatureCollection"===e.type,p="Feature"===e.type,g=h?e.features.length:1;for(r=0;r<g;r++){for(s=h?e.features[r].geometry:p?e.geometry:e,c=h?e.features[r].properties:p?e.properties:{},u=h?e.features[r].bbox:p?e.bbox:void 0,d=h?e.features[r].id:p?e.id:void 0,o=(l=!!s&&"GeometryCollection"===s.type)?s.geometries.length:1,a=0;a<o;a++)if(null!==(i=l?s.geometries[a]:s))switch(i.type){case"Point":case"LineString":case"MultiPoint":case"Polygon":case"MultiLineString":case"MultiPolygon":if(!1===t(i,f,c,u,d))return!1;break;case"GeometryCollection":for(n=0;n<i.geometries.length;n++)if(!1===t(i.geometries[n],f,c,u,d))return!1;break;default:throw new Error("Unknown Geometry Type")}else if(!1===t(null,f,c,u,d))return!1;f++}}function l(e,t){s(e,(function(e,r,a,i,o){var s,l=null===e?null:e.type;switch(l){case null:case"Point":case"LineString":case"Polygon":return!1!==t(n.feature(e,a,{bbox:i,id:o}),r,0)&&void 0}switch(l){case"MultiPoint":s="Point";break;case"MultiLineString":s="LineString";break;case"MultiPolygon":s="Polygon"}for(var c=0;c<e.coordinates.length;c++){var u={type:s,coordinates:e.coordinates[c]};if(!1===t(n.feature(u,a),r,c))return!1}}))}function c(e,t){l(e,(function(e,r,i){var o=0;if(e.geometry){var s=e.geometry.type;if("Point"!==s&&"MultiPoint"!==s){var l,c=0,u=0,d=0;return!1!==a(e,(function(a,s,f,h,p){if(void 0===l||r>c||h>u||p>d)return l=a,c=r,u=h,d=p,void(o=0);var g=n.lineString([l,a],e.properties);if(!1===t(g,r,i,p,o))return!1;o++,l=a}))&&void 0}}}))}function u(e,t){if(!e)throw new Error("geojson is required");l(e,(function(e,r,a){if(null!==e.geometry){var i=e.geometry.type,o=e.geometry.coordinates;switch(i){case"LineString":if(!1===t(e,r,a,0,0))return!1;break;case"Polygon":for(var s=0;s<o.length;s++)if(!1===t(n.lineString(o[s],e.properties),r,a,s))return!1}}}))}t.coordEach=a,t.coordReduce=function(e,t,r,n){var i=r;return a(e,(function(e,n,a,o,s){i=0===n&&void 0===r?e:t(i,e,n,a,o,s)}),n),i},t.propEach=i,t.propReduce=function(e,t,r){var n=r;return i(e,(function(e,a){n=0===a&&void 0===r?e:t(n,e,a)})),n},t.featureEach=o,t.featureReduce=function(e,t,r){var n=r;return o(e,(function(e,a){n=0===a&&void 0===r?e:t(n,e,a)})),n},t.coordAll=function(e){var t=[];return a(e,(function(e){t.push(e)})),t},t.geomEach=s,t.geomReduce=function(e,t,r){var n=r;return s(e,(function(e,a,i,o,s){n=0===a&&void 0===r?e:t(n,e,a,i,o,s)})),n},t.flattenEach=l,t.flattenReduce=function(e,t,r){var n=r;return l(e,(function(e,a,i){n=0===a&&0===i&&void 0===r?e:t(n,e,a,i)})),n},t.segmentEach=c,t.segmentReduce=function(e,t,r){var n=r,a=!1;return c(e,(function(e,i,o,s,l){n=!1===a&&void 0===r?e:t(n,e,i,o,s,l),a=!0})),n},t.lineEach=u,t.lineReduce=function(e,t,r){var n=r;return u(e,(function(e,a,i,o){n=0===a&&void 0===r?e:t(n,e,a,i,o)})),n},t.findSegment=function(e,t){if(t=t||{},!n.isObject(t))throw new Error("options is invalid");var r,a=t.featureIndex||0,i=t.multiFeatureIndex||0,o=t.geometryIndex||0,s=t.segmentIndex||0,l=t.properties;switch(e.type){case"FeatureCollection":a<0&&(a=e.features.length+a),l=l||e.features[a].properties,r=e.features[a].geometry;break;case"Feature":l=l||e.properties,r=e.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":r=e;break;default:throw new Error("geojson is invalid")}if(null===r)return null;var c=r.coordinates;switch(r.type){case"Point":case"MultiPoint":return null;case"LineString":return s<0&&(s=c.length+s-1),n.lineString([c[s],c[s+1]],l,t);case"Polygon":return o<0&&(o=c.length+o),s<0&&(s=c[o].length+s-1),n.lineString([c[o][s],c[o][s+1]],l,t);case"MultiLineString":return i<0&&(i=c.length+i),s<0&&(s=c[i].length+s-1),n.lineString([c[i][s],c[i][s+1]],l,t);case"MultiPolygon":return i<0&&(i=c.length+i),o<0&&(o=c[i].length+o),s<0&&(s=c[i][o].length-s-1),n.lineString([c[i][o][s],c[i][o][s+1]],l,t)}throw new Error("geojson is invalid")},t.findPoint=function(e,t){if(t=t||{},!n.isObject(t))throw new Error("options is invalid");var r,a=t.featureIndex||0,i=t.multiFeatureIndex||0,o=t.geometryIndex||0,s=t.coordIndex||0,l=t.properties;switch(e.type){case"FeatureCollection":a<0&&(a=e.features.length+a),l=l||e.features[a].properties,r=e.features[a].geometry;break;case"Feature":l=l||e.properties,r=e.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":r=e;break;default:throw new Error("geojson is invalid")}if(null===r)return null;var c=r.coordinates;switch(r.type){case"Point":return n.point(c,l,t);case"MultiPoint":return i<0&&(i=c.length+i),n.point(c[i],l,t);case"LineString":return s<0&&(s=c.length+s),n.point(c[s],l,t);case"Polygon":return o<0&&(o=c.length+o),s<0&&(s=c[o].length+s),n.point(c[o][s],l,t);case"MultiLineString":return i<0&&(i=c.length+i),s<0&&(s=c[i].length+s),n.point(c[i][s],l,t);case"MultiPolygon":return i<0&&(i=c.length+i),o<0&&(o=c[i].length+o),s<0&&(s=c[i][o].length-s),n.point(c[i][o][s],l,t)}throw new Error("geojson is invalid")}},chCF:function(e,t,r){"use strict";var n=r("/CZE"),a=r("5azm"),i=r("nF9v"),o=r("5jll").name,s=i.steps;function l(e,t,r){function o(r,a){return n.coerce(e,t,i,r,a)}for(var s=a(e,t,{name:"steps",handleItemDefaults:c}),l=0,u=0;u<s.length;u++)s[u].visible&&l++;if(l<2?t.visible=!1:o("visible")){t._stepCount=l;var d=t._visibleSteps=n.filterVisible(s);(s[o("active")]||{}).visible||(t.active=d[0]._index),o("x"),o("y"),n.noneOrAll(e,t,["x","y"]),o("xanchor"),o("yanchor"),o("len"),o("lenmode"),o("pad.t"),o("pad.r"),o("pad.b"),o("pad.l"),n.coerceFont(o,"font",r.font),o("currentvalue.visible")&&(o("currentvalue.xanchor"),o("currentvalue.prefix"),o("currentvalue.suffix"),o("currentvalue.offset"),n.coerceFont(o,"currentvalue.font",t.font)),o("transition.duration"),o("transition.easing"),o("bgcolor"),o("activebgcolor"),o("bordercolor"),o("borderwidth"),o("ticklen"),o("tickwidth"),o("tickcolor"),o("minorticklen")}}function c(e,t){function r(r,a){return n.coerce(e,t,s,r,a)}if("skip"===e.method||Array.isArray(e.args)?r("visible"):t.visible=!1){r("method"),r("args");var a=r("label","step-"+t._index);r("value",a),r("execute")}}e.exports=function(e,t){a(e,t,{name:o,handleItemDefaults:l})}},chMV:function(e,t,r){"use strict";var n=r("CYNG");r.n(n).a},cqRZ:function(e,t,r){"use strict";e.exports={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3,DESELECTDIM:.2}},culP:function(e,t,r){"use strict";var n=r("bljh"),a=r("pwgW"),i=r("k6aH").resizeText;e.exports=function(e){var t=e._fullLayout._pielayer.selectAll(".trace");i(e,t,"pie"),t.each((function(e){var t=e[0].trace,r=n.select(this);r.style({opacity:t.opacity}),r.selectAll("path.surface").each((function(e){n.select(this).call(a,e,t)}))}))}},d655:function(e,t,r){"use strict";e.exports={attributes:r("BDWl"),supplyDefaults:r("h+LG"),calc:r("BiVG"),plot:r("+oog"),colorbar:r("/LM6"),style:r("xDfF"),hoverPoints:r("1vus"),moduleType:"trace",name:"heatmap",basePlotModule:r("kc20"),categories:["cartesian","svg","2dMap","showLegend"],meta:{description:["The data that describes the heatmap value-to-color mapping","is set in `z`.","Data in `z` can either be a {2D array} of values (ragged or not)","or a 1D array of values.","In the case where `z` is a {2D array},","say that `z` has N rows and M columns.","Then, by default, the resulting heatmap will have N partitions along","the y axis and M partitions along the x axis.","In other words, the i-th row/ j-th column cell in `z`","is mapped to the i-th partition of the y axis","(starting from the bottom of the plot) and the j-th partition","of the x-axis (starting from the left of the plot).","This behavior can be flipped by using `transpose`.","Moreover, `x` (`y`) can be provided with M or M+1 (N or N+1) elements.","If M (N), then the coordinates correspond to the center of the","heatmap cells and the cells have equal width.","If M+1 (N+1), then the coordinates correspond to the edges of the","heatmap cells.","In the case where `z` is a 1D {array}, the x and y coordinates must be","provided in `x` and `y` respectively to form data triplets."].join(" ")}}},dDsA:function(e,t,r){"use strict";var n=r("Zss7").mix,a=r("37PH").lightFraction,i=r("/CZE");e.exports=function(e,t,r,o){var s=(o=o||{}).dfltColor;function l(r,n){return i.coerce2(e,t,o.attributes,r,n)}var c=l("linecolor",s),u=l("linewidth");r("showline",o.showLine||!!c||!!u)||(delete t.linecolor,delete t.linewidth);var d=l("gridcolor",n(s,o.bgColor,o.blend||a).toRgbString()),f=l("gridwidth");if(r("showgrid",o.showGrid||!!d||!!f)||(delete t.gridcolor,delete t.gridwidth),!o.noZeroLine){var h=l("zerolinecolor",s),p=l("zerolinewidth");r("zeroline",o.showGrid||!!h||!!p)||(delete t.zerolinecolor,delete t.zerolinewidth)}}},dHqe:function(e,t,r){"use strict";var n=r("Z/2+");r.n(n).a},dITB:function(e,t,r){"use strict";var n=r("vEvM");r.n(n).a},dNZO:function(e,t,r){"use strict";var n=r("GbLo"),a=r("avjU").isArrayOrTypedArray;function i(e,t){return function(){var r,n,o,s,l,c=e;for(s=0;s<t.length-1;s++){if(-1===(r=t[s])){for(n=!0,o=[],l=0;l<c.length;l++)o[l]=i(c[l],t.slice(s+1))(),o[l]!==o[0]&&(n=!1);return n?o[0]:o}if("number"==typeof r&&!a(c))return;if("object"!=typeof(c=c[r])||null===c)return}if("object"==typeof c&&null!==c&&null!==(o=c[t[s]]))return o}}e.exports=function(e,t){if(n(t))t=String(t);else if("string"!=typeof t||"[-1]"===t.substr(t.length-4))throw"bad property string";for(var r,a,o,s=0,c=t.split(".");s<c.length;){if(r=String(c[s]).match(/^([^\[\]]*)((\[\-?[0-9]*\])+)$/)){if(r[1])c[s]=r[1];else{if(0!==s)throw"bad property string";c.splice(0,1)}for(a=r[2].substr(1,r[2].length-2).split("]["),o=0;o<a.length;o++)s++,c.splice(s,0,Number(a[o]))}s++}return"object"!=typeof e?function(e,t,r){return{set:function(){throw"bad container"},get:function(){},astr:t,parts:r,obj:e}}(e,t,c):{set:l(e,c,t),get:i(e,c),astr:t,parts:c,obj:e}};var o=/(^|\.)args\[/;function s(e,t){return void 0===e||null===e&&!t.match(o)}function l(e,t,r){return function(n){var i,o,l=e,f="",h=[[e,f]],p=s(n,r);for(o=0;o<t.length-1;o++){if("number"==typeof(i=t[o])&&!a(l))throw"array index but container is not an array";if(-1===i){if(p=!u(l,t.slice(o+1),n,r))break;return}if(!d(l,i,t[o+1],p))break;if("object"!=typeof(l=l[i])||null===l)throw"container is not an object";f=c(f,i),h.push([l,f])}if(p){if(o===t.length-1&&(delete l[t[o]],Array.isArray(l)&&+t[o]==l.length-1))for(;l.length&&void 0===l[l.length-1];)l.pop()}else l[t[o]]=n}}function c(e,t){var r=t;return n(t)?r="["+t+"]":e&&(r="."+t),e+r}function u(e,t,r,n){var i,o=a(r),c=!0,u=r,f=n.replace("-1",0),h=!o&&s(r,f),p=t[0];for(i=0;i<e.length;i++)f=n.replace("-1",i),o&&(h=s(u=r[i%r.length],f)),h&&(c=!1),d(e,i,p,h)&&l(e[i],t,n.replace("-1",i))(u);return c}function d(e,t,r,n){if(void 0===e[t]){if(n)return!1;e[t]="number"==typeof r?[]:{}}return!0}},dVlp:function(e,t,r){"use strict";e.exports={undo:{width:857.1,height:1e3,path:"m857 350q0-87-34-166t-91-137-137-92-166-34q-96 0-183 41t-147 114q-4 6-4 13t5 11l76 77q6 5 14 5 9-1 13-7 41-53 100-82t126-29q58 0 110 23t92 61 61 91 22 111-22 111-61 91-92 61-110 23q-55 0-105-20t-90-57l77-77q17-16 8-38-10-23-33-23h-250q-15 0-25 11t-11 25v250q0 24 22 33 22 10 39-8l72-72q60 57 137 88t159 31q87 0 166-34t137-92 91-137 34-166z",transform:"matrix(1 0 0 -1 0 850)"},home:{width:928.6,height:1e3,path:"m786 296v-267q0-15-11-26t-25-10h-214v214h-143v-214h-214q-15 0-25 10t-11 26v267q0 1 0 2t0 2l321 264 321-264q1-1 1-4z m124 39l-34-41q-5-5-12-6h-2q-7 0-12 3l-386 322-386-322q-7-4-13-4-7 2-12 7l-35 41q-4 5-3 13t6 12l401 334q18 15 42 15t43-15l136-114v109q0 8 5 13t13 5h107q8 0 13-5t5-13v-227l122-102q5-5 6-12t-4-13z",transform:"matrix(1 0 0 -1 0 850)"},"camera-retro":{width:1e3,height:1e3,path:"m518 386q0 8-5 13t-13 5q-37 0-63-27t-26-63q0-8 5-13t13-5 12 5 5 13q0 23 16 38t38 16q8 0 13 5t5 13z m125-73q0-59-42-101t-101-42-101 42-42 101 42 101 101 42 101-42 42-101z m-572-320h858v71h-858v-71z m643 320q0 89-62 152t-152 62-151-62-63-152 63-151 151-63 152 63 62 151z m-571 358h214v72h-214v-72z m-72-107h858v143h-462l-36-71h-360v-72z m929 143v-714q0-30-21-51t-50-21h-858q-29 0-50 21t-21 51v714q0 30 21 51t50 21h858q29 0 50-21t21-51z",transform:"matrix(1 0 0 -1 0 850)"},zoombox:{width:1e3,height:1e3,path:"m1000-25l-250 251c40 63 63 138 63 218 0 224-182 406-407 406-224 0-406-182-406-406s183-406 407-406c80 0 155 22 218 62l250-250 125 125z m-812 250l0 438 437 0 0-438-437 0z m62 375l313 0 0-312-313 0 0 312z",transform:"matrix(1 0 0 -1 0 850)"},pan:{width:1e3,height:1e3,path:"m1000 350l-187 188 0-125-250 0 0 250 125 0-188 187-187-187 125 0 0-250-250 0 0 125-188-188 186-187 0 125 252 0 0-250-125 0 187-188 188 188-125 0 0 250 250 0 0-126 187 188z",transform:"matrix(1 0 0 -1 0 850)"},zoom_plus:{width:875,height:1e3,path:"m1 787l0-875 875 0 0 875-875 0z m687-500l-187 0 0-187-125 0 0 187-188 0 0 125 188 0 0 187 125 0 0-187 187 0 0-125z",transform:"matrix(1 0 0 -1 0 850)"},zoom_minus:{width:875,height:1e3,path:"m0 788l0-876 875 0 0 876-875 0z m688-500l-500 0 0 125 500 0 0-125z",transform:"matrix(1 0 0 -1 0 850)"},autoscale:{width:1e3,height:1e3,path:"m250 850l-187 0-63 0 0-62 0-188 63 0 0 188 187 0 0 62z m688 0l-188 0 0-62 188 0 0-188 62 0 0 188 0 62-62 0z m-875-938l0 188-63 0 0-188 0-62 63 0 187 0 0 62-187 0z m875 188l0-188-188 0 0-62 188 0 62 0 0 62 0 188-62 0z m-125 188l-1 0-93-94-156 156 156 156 92-93 2 0 0 250-250 0 0-2 93-92-156-156-156 156 94 92 0 2-250 0 0-250 0 0 93 93 157-156-157-156-93 94 0 0 0-250 250 0 0 0-94 93 156 157 156-157-93-93 0 0 250 0 0 250z",transform:"matrix(1 0 0 -1 0 850)"},tooltip_basic:{width:1500,height:1e3,path:"m375 725l0 0-375-375 375-374 0-1 1125 0 0 750-1125 0z",transform:"matrix(1 0 0 -1 0 850)"},tooltip_compare:{width:1125,height:1e3,path:"m187 786l0 2-187-188 188-187 0 0 937 0 0 373-938 0z m0-499l0 1-187-188 188-188 0 0 937 0 0 376-938-1z",transform:"matrix(1 0 0 -1 0 850)"},plotlylogo:{width:1542,height:1e3,path:"m0-10h182v-140h-182v140z m228 146h183v-286h-183v286z m225 714h182v-1000h-182v1000z m225-285h182v-715h-182v715z m225 142h183v-857h-183v857z m231-428h182v-429h-182v429z m225-291h183v-138h-183v138z",transform:"matrix(1 0 0 -1 0 850)"},"z-axis":{width:1e3,height:1e3,path:"m833 5l-17 108v41l-130-65 130-66c0 0 0 38 0 39 0-1 36-14 39-25 4-15-6-22-16-30-15-12-39-16-56-20-90-22-187-23-279-23-261 0-341 34-353 59 3 60 228 110 228 110-140-8-351-35-351-116 0-120 293-142 474-142 155 0 477 22 477 142 0 50-74 79-163 96z m-374 94c-58-5-99-21-99-40 0-24 65-43 144-43 79 0 143 19 143 43 0 19-42 34-98 40v216h87l-132 135-133-135h88v-216z m167 515h-136v1c16 16 31 34 46 52l84 109v54h-230v-71h124v-1c-16-17-28-32-44-51l-89-114v-51h245v72z",transform:"matrix(1 0 0 -1 0 850)"},"3d_rotate":{width:1e3,height:1e3,path:"m922 660c-5 4-9 7-14 11-359 263-580-31-580-31l-102 28 58-400c0 1 1 1 2 2 118 108 351 249 351 249s-62 27-100 42c88 83 222 183 347 122 16-8 30-17 44-27-2 1-4 2-6 4z m36-329c0 0 64 229-88 296-62 27-124 14-175-11 157-78 225-208 249-266 8-19 11-31 11-31 2 5 6 15 11 32-5-13-8-20-8-20z m-775-239c70-31 117-50 198-32-121 80-199 346-199 346l-96-15-58-12c0 0 55-226 155-287z m603 133l-317-139c0 0 4-4 19-14 7-5 24-15 24-15s-177-147-389 4c235-287 536-112 536-112l31-22 100 299-4-1z m-298-153c6-4 14-9 24-15 0 0-17 10-24 15z",transform:"matrix(1 0 0 -1 0 850)"},camera:{width:1e3,height:1e3,path:"m500 450c-83 0-150-67-150-150 0-83 67-150 150-150 83 0 150 67 150 150 0 83-67 150-150 150z m400 150h-120c-16 0-34 13-39 29l-31 93c-6 15-23 28-40 28h-340c-16 0-34-13-39-28l-31-94c-6-15-23-28-40-28h-120c-55 0-100-45-100-100v-450c0-55 45-100 100-100h800c55 0 100 45 100 100v450c0 55-45 100-100 100z m-400-550c-138 0-250 112-250 250 0 138 112 250 250 250 138 0 250-112 250-250 0-138-112-250-250-250z m365 380c-19 0-35 16-35 35 0 19 16 35 35 35 19 0 35-16 35-35 0-19-16-35-35-35z",transform:"matrix(1 0 0 -1 0 850)"},movie:{width:1e3,height:1e3,path:"m938 413l-188-125c0 37-17 71-44 94 64 38 107 107 107 187 0 121-98 219-219 219-121 0-219-98-219-219 0-61 25-117 66-156h-115c30 33 49 76 49 125 0 103-84 187-187 187s-188-84-188-187c0-57 26-107 65-141-38-22-65-62-65-109v-250c0-70 56-126 125-126h500c69 0 125 56 125 126l188-126c34 0 62 28 62 63v375c0 35-28 63-62 63z m-750 0c-69 0-125 56-125 125s56 125 125 125 125-56 125-125-56-125-125-125z m406-1c-87 0-157 70-157 157 0 86 70 156 157 156s156-70 156-156-70-157-156-157z",transform:"matrix(1 0 0 -1 0 850)"},question:{width:857.1,height:1e3,path:"m500 82v107q0 8-5 13t-13 5h-107q-8 0-13-5t-5-13v-107q0-8 5-13t13-5h107q8 0 13 5t5 13z m143 375q0 49-31 91t-77 65-95 23q-136 0-207-119-9-14 4-24l74-55q4-4 10-4 9 0 14 7 30 38 48 51 19 14 48 14 27 0 48-15t21-33q0-21-11-34t-38-25q-35-16-65-48t-29-70v-20q0-8 5-13t13-5h107q8 0 13 5t5 13q0 10 12 27t30 28q18 10 28 16t25 19 25 27 16 34 7 45z m214-107q0-117-57-215t-156-156-215-58-216 58-155 156-58 215 58 215 155 156 216 58 215-58 156-156 57-215z",transform:"matrix(1 0 0 -1 0 850)"},disk:{width:857.1,height:1e3,path:"m214-7h429v214h-429v-214z m500 0h72v500q0 8-6 21t-11 20l-157 156q-5 6-19 12t-22 5v-232q0-22-15-38t-38-16h-322q-22 0-37 16t-16 38v232h-72v-714h72v232q0 22 16 38t37 16h465q22 0 38-16t15-38v-232z m-214 518v178q0 8-5 13t-13 5h-107q-7 0-13-5t-5-13v-178q0-8 5-13t13-5h107q7 0 13 5t5 13z m357-18v-518q0-22-15-38t-38-16h-750q-23 0-38 16t-16 38v750q0 22 16 38t38 16h517q23 0 50-12t42-26l156-157q16-15 27-42t11-49z",transform:"matrix(1 0 0 -1 0 850)"},drawopenpath:{width:70,height:70,path:"M33.21,85.65a7.31,7.31,0,0,1-2.59-.48c-8.16-3.11-9.27-19.8-9.88-41.3-.1-3.58-.19-6.68-.35-9-.15-2.1-.67-3.48-1.43-3.79-2.13-.88-7.91,2.32-12,5.86L3,32.38c1.87-1.64,11.55-9.66,18.27-6.9,2.13.87,4.75,3.14,5.17,9,.17,2.43.26,5.59.36,9.25a224.17,224.17,0,0,0,1.5,23.4c1.54,10.76,4,12.22,4.48,12.4.84.32,2.79-.46,5.76-3.59L43,80.07C41.53,81.57,37.68,85.64,33.21,85.65ZM74.81,69a11.34,11.34,0,0,0,6.09-6.72L87.26,44.5,74.72,32,56.9,38.35c-2.37.86-5.57,3.42-6.61,6L38.65,72.14l8.42,8.43ZM55,46.27a7.91,7.91,0,0,1,3.64-3.17l14.8-5.3,8,8L76.11,60.6l-.06.19a6.37,6.37,0,0,1-3,3.43L48.25,74.59,44.62,71Zm16.57,7.82A6.9,6.9,0,1,0,64.64,61,6.91,6.91,0,0,0,71.54,54.09Zm-4.05,0a2.85,2.85,0,1,1-2.85-2.85A2.86,2.86,0,0,1,67.49,54.09Zm-4.13,5.22L60.5,56.45,44.26,72.7l2.86,2.86ZM97.83,35.67,84.14,22l-8.57,8.57L89.26,44.24Zm-13.69-8,8,8-2.85,2.85-8-8Z",transform:"matrix(1 0 0 1 -15 -15)"},drawclosedpath:{width:90,height:90,path:"M88.41,21.12a26.56,26.56,0,0,0-36.18,0l-2.07,2-2.07-2a26.57,26.57,0,0,0-36.18,0,23.74,23.74,0,0,0,0,34.8L48,90.12a3.22,3.22,0,0,0,4.42,0l36-34.21a23.73,23.73,0,0,0,0-34.79ZM84,51.24,50.16,83.35,16.35,51.25a17.28,17.28,0,0,1,0-25.47,20,20,0,0,1,27.3,0l4.29,4.07a3.23,3.23,0,0,0,4.44,0l4.29-4.07a20,20,0,0,1,27.3,0,17.27,17.27,0,0,1,0,25.46ZM66.76,47.68h-33v6.91h33ZM53.35,35H46.44V68h6.91Z",transform:"matrix(1 0 0 1 -5 -5)"},lasso:{width:1031,height:1e3,path:"m1018 538c-36 207-290 336-568 286-277-48-473-256-436-463 10-57 36-108 76-151-13-66 11-137 68-183 34-28 75-41 114-42l-55-70 0 0c-2-1-3-2-4-3-10-14-8-34 5-45 14-11 34-8 45 4 1 1 2 3 2 5l0 0 113 140c16 11 31 24 45 40 4 3 6 7 8 11 48-3 100 0 151 9 278 48 473 255 436 462z m-624-379c-80 14-149 48-197 96 42 42 109 47 156 9 33-26 47-66 41-105z m-187-74c-19 16-33 37-39 60 50-32 109-55 174-68-42-25-95-24-135 8z m360 75c-34-7-69-9-102-8 8 62-16 128-68 170-73 59-175 54-244-5-9 20-16 40-20 61-28 159 121 317 333 354s407-60 434-217c28-159-121-318-333-355z",transform:"matrix(1 0 0 -1 0 850)"},selectbox:{width:1e3,height:1e3,path:"m0 850l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m285 0l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m-857-286l0-143 143 0 0 143-143 0z m857 0l0-143 143 0 0 143-143 0z m-857-285l0-143 143 0 0 143-143 0z m857 0l0-143 143 0 0 143-143 0z m-857-286l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m285 0l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z",transform:"matrix(1 0 0 -1 0 850)"},drawline:{width:70,height:70,path:"M60.64,62.3a11.29,11.29,0,0,0,6.09-6.72l6.35-17.72L60.54,25.31l-17.82,6.4c-2.36.86-5.57,3.41-6.6,6L24.48,65.5l8.42,8.42ZM40.79,39.63a7.89,7.89,0,0,1,3.65-3.17l14.79-5.31,8,8L61.94,54l-.06.19a6.44,6.44,0,0,1-3,3.43L34.07,68l-3.62-3.63Zm16.57,7.81a6.9,6.9,0,1,0-6.89,6.9A6.9,6.9,0,0,0,57.36,47.44Zm-4,0a2.86,2.86,0,1,1-2.85-2.85A2.86,2.86,0,0,1,53.32,47.44Zm-4.13,5.22L46.33,49.8,30.08,66.05l2.86,2.86ZM83.65,29,70,15.34,61.4,23.9,75.09,37.59ZM70,21.06l8,8-2.84,2.85-8-8ZM87,80.49H10.67V87H87Z",transform:"matrix(1 0 0 1 -15 -15)"},drawrect:{width:80,height:80,path:"M78,22V79H21V22H78m9-9H12V88H87V13ZM68,46.22H31V54H68ZM53,32H45.22V69H53Z",transform:"matrix(1 0 0 1 -10 -10)"},drawcircle:{width:80,height:80,path:"M50,84.72C26.84,84.72,8,69.28,8,50.3S26.84,15.87,50,15.87,92,31.31,92,50.3,73.16,84.72,50,84.72Zm0-60.59c-18.6,0-33.74,11.74-33.74,26.17S31.4,76.46,50,76.46,83.74,64.72,83.74,50.3,68.6,24.13,50,24.13Zm17.15,22h-34v7.11h34Zm-13.8-13H46.24v34h7.11Z",transform:"matrix(1 0 0 1 -10 -10)"},eraseshape:{width:80,height:80,path:"M82.77,78H31.85L6,49.57,31.85,21.14H82.77a8.72,8.72,0,0,1,8.65,8.77V69.24A8.72,8.72,0,0,1,82.77,78ZM35.46,69.84H82.77a.57.57,0,0,0,.49-.6V29.91a.57.57,0,0,0-.49-.61H35.46L17,49.57Zm32.68-34.7-24,24,5,5,24-24Zm-19,.53-5,5,24,24,5-5Z",transform:"matrix(1 0 0 1 -10 -10)"},spikeline:{width:1e3,height:1e3,path:"M512 409c0-57-46-104-103-104-57 0-104 47-104 104 0 57 47 103 104 103 57 0 103-46 103-103z m-327-39l92 0 0 92-92 0z m-185 0l92 0 0 92-92 0z m370-186l92 0 0 93-92 0z m0-184l92 0 0 92-92 0z",transform:"matrix(1.5 0 0 -1.5 0 850)"},pencil:{width:1792,height:1792,path:"M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832h-416v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z",transform:"matrix(1 0 0 1 0 1)"},newplotlylogo:{name:"newplotlylogo",svg:"<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 132'><defs><style>.cls-1 {fill: #3f4f75;} .cls-2 {fill: #80cfbe;} .cls-3 {fill: #fff;}</style></defs><title>plotly-logomark</title><g id='symbol'><rect class='cls-1' width='132' height='132' rx='6' ry='6'/><circle class='cls-2' cx='78' cy='54' r='6'/><circle class='cls-2' cx='102' cy='30' r='6'/><circle class='cls-2' cx='78' cy='30' r='6'/><circle class='cls-2' cx='54' cy='30' r='6'/><circle class='cls-2' cx='30' cy='30' r='6'/><circle class='cls-2' cx='30' cy='54' r='6'/><path class='cls-3' d='M30,72a6,6,0,0,0-6,6v24a6,6,0,0,0,12,0V78A6,6,0,0,0,30,72Z'/><path class='cls-3' d='M78,72a6,6,0,0,0-6,6v24a6,6,0,0,0,12,0V78A6,6,0,0,0,78,72Z'/><path class='cls-3' d='M54,48a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V54A6,6,0,0,0,54,48Z'/><path class='cls-3' d='M102,48a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V54A6,6,0,0,0,102,48Z'/></g></svg>"}}},dZSj:function(e,t,r){"use strict";var n=r("bljh"),a=r("0RW4"),i=r("/CZE"),o=r("k6aH").resizeText;function s(e,t,r){var n=t.data.data,o=!t.children,s=n.i,l=i.castOption(r,s,"marker.line.color")||a.defaultLine,c=i.castOption(r,s,"marker.line.width")||0;e.style("stroke-width",c).call(a.fill,n.color).call(a.stroke,l).style("opacity",o?r.leaf.opacity:null)}e.exports={style:function(e){var t=e._fullLayout._sunburstlayer.selectAll(".trace");o(e,t,"sunburst"),t.each((function(e){var t=n.select(this),r=e[0].trace;t.style("opacity",r.opacity),t.selectAll("path.surface").each((function(e){n.select(this).call(s,e,r)}))}))},styleOne:s}},"dnh+":function(e,t,r){"use strict";e.exports={funnelmode:{valType:"enumerated",values:["stack","group","overlay"],dflt:"stack",role:"info",editType:"calc",description:["Determines how bars at the same location coordinate","are displayed on the graph.","With *stack*, the bars are stacked on top of one another","With *group*, the bars are plotted next to one another","centered around the shared location.","With *overlay*, the bars are plotted over one another,","you might need to an *opacity* to see multiple bars."].join(" ")},funnelgap:{valType:"number",min:0,max:1,role:"style",editType:"calc",description:["Sets the gap (in plot fraction) between bars of","adjacent location coordinates."].join(" ")},funnelgroupgap:{valType:"number",min:0,max:1,dflt:0,role:"style",editType:"calc",description:["Sets the gap (in plot fraction) between bars of","the same location coordinate."].join(" ")}}},drJC:function(e,t,r){"use strict";e.exports=function(){"undefined"!=typeof MathJax&&("local"!==(window.PlotlyConfig||{}).MathJaxConfig&&(MathJax.Hub.Config({messageStyle:"none",skipStartupTypeset:!0,displayAlign:"left",tex2jax:{inlineMath:[["$","$"],["\\(","\\)"]]}}),MathJax.Hub.Configured()))}},dvj0:function(e,t,r){(t=r("JPst")(!1)).push([e.i,".spinner[data-v-23ee17bc]{position:relative;border:4px solid #41b883;animation:loader-data-v-23ee17bc 2s infinite ease}.spinner *[data-v-23ee17bc]{line-height:0;box-sizing:border-box}.loader-inner[data-v-23ee17bc]{vertical-align:top;display:inline-block;width:100%;background-color:#41b883;animation:loader-inner-data-v-23ee17bc 2s infinite ease-in}@keyframes loader-data-v-23ee17bc{0%{transform:rotate(0deg)}25%{transform:rotate(180deg)}50%{transform:rotate(180deg)}75%{transform:rotate(360deg)}100%{transform:rotate(360deg)}}@keyframes loader-inner-data-v-23ee17bc{0%{height:0%}25%{height:0%}50%{height:100%}75%{height:100%}100%{height:0%}}\n",""]),e.exports=t},dvq9:function(e,t,r){"use strict";var n=r("XCIs");r.n(n).a},"e+jF":function(e,t,r){e.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s="fb15")}({"01f9":function(e,t,r){"use strict";var n=r("2d00"),a=r("5ca1"),i=r("2aba"),o=r("32e9"),s=r("84f2"),l=r("41a0"),c=r("7f20"),u=r("38fd"),d=r("2b4c")("iterator"),f=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,r,p,g,v,m){l(r,t,p);var y,x,b,w=function(e){if(!f&&e in M)return M[e];switch(e){case"keys":case"values":return function(){return new r(this,e)}}return function(){return new r(this,e)}},_=t+" Iterator",k="values"==g,T=!1,M=e.prototype,S=M[d]||M["@@iterator"]||g&&M[g],A=S||w(g),C=g?k?w("entries"):A:void 0,P="Array"==t&&M.entries||S;if(P&&(b=u(P.call(new e)))!==Object.prototype&&b.next&&(c(b,_,!0),n||"function"==typeof b[d]||o(b,d,h)),k&&S&&"values"!==S.name&&(T=!0,A=function(){return S.call(this)}),n&&!m||!f&&!T&&M[d]||o(M,d,A),s[t]=A,s[_]=h,g)if(y={values:k?A:w("values"),keys:v?A:w("keys"),entries:C},m)for(x in y)x in M||i(M,x,y[x]);else a(a.P+a.F*(f||T),t,y);return y}},"02f4":function(e,t,r){var n=r("4588"),a=r("be13");e.exports=function(e){return function(t,r){var i,o,s=String(a(t)),l=n(r),c=s.length;return l<0||l>=c?e?"":void 0:(i=s.charCodeAt(l))<55296||i>56319||l+1===c||(o=s.charCodeAt(l+1))<56320||o>57343?e?s.charAt(l):i:e?s.slice(l,l+2):o-56320+(i-55296<<10)+65536}}},"0390":function(e,t,r){"use strict";var n=r("02f4")(!0);e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},"07e3":function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},"0bfb":function(e,t,r){"use strict";var n=r("cb7c");e.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"0d58":function(e,t,r){var n=r("ce10"),a=r("e11e");e.exports=Object.keys||function(e){return n(e,a)}},1156:function(e,t,r){var n=r("ad20");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("499e").default)("c1ec597e",n,!0,{sourceMap:!1,shadowMode:!1})},"11e9":function(e,t,r){var n=r("52a7"),a=r("4630"),i=r("6821"),o=r("6a99"),s=r("69a8"),l=r("c69a"),c=Object.getOwnPropertyDescriptor;t.f=r("9e1e")?c:function(e,t){if(e=i(e),t=o(t,!0),l)try{return c(e,t)}catch(e){}if(s(e,t))return a(!n.f.call(e,t),e[t])}},1495:function(e,t,r){var n=r("86cc"),a=r("cb7c"),i=r("0d58");e.exports=r("9e1e")?Object.defineProperties:function(e,t){a(e);for(var r,o=i(t),s=o.length,l=0;s>l;)n.f(e,r=o[l++],t[r]);return e}},"18d2":function(e,t,r){"use strict";var n=r("18e9");e.exports=function(e){var t=(e=e||{}).reporter,r=e.batchProcessor,a=e.stateHandler.getState;if(!t)throw new Error("Missing required dependency: reporter.");function i(e){return a(e).object}return{makeDetectable:function(e,i,o){o||(o=i,i=e,e=null),(e=e||{}).debug,n.isIE(8)?o(i):function(e,i){var o=!1,s=window.getComputedStyle(e),l=e.offsetWidth,c=e.offsetHeight;function u(){function r(){if("static"===s.position){e.style.position="relative";var r=function(e,t,r,n){var a=r[n];"auto"!==a&&"0"!==function(e){return e.replace(/[^-\d\.]/g,"")}(a)&&(e.warn("An element that is positioned static has style."+n+"="+a+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+n+" will be set to 0. Element: ",t),t.style[n]=0)};r(t,e,s,"top"),r(t,e,s,"right"),r(t,e,s,"bottom"),r(t,e,s,"left")}}""!==s.position&&(r(),o=!0);var l=document.createElement("object");l.style.cssText="display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; padding: 0; margin: 0; opacity: 0; z-index: -1000; pointer-events: none;",l.tabIndex=-1,l.type="text/html",l.setAttribute("aria-hidden","true"),l.onload=function(){o||r(),function e(t,r){t.contentDocument?r(t.contentDocument):setTimeout((function(){e(t,r)}),100)}(this,(function(t){i(e)}))},n.isIE()||(l.data="about:blank"),e.appendChild(l),a(e).object=l,n.isIE()&&(l.data="about:blank")}a(e).startSize={width:l,height:c},r?r.add(u):u()}(i,o)},addListener:function(e,t){if(!i(e))throw new Error("Element is not detectable by this strategy.");function r(){t(e)}n.isIE(8)?(a(e).object={proxy:r},e.attachEvent("onresize",r)):i(e).contentDocument.defaultView.addEventListener("resize",r)},uninstall:function(e){n.isIE(8)?e.detachEvent("onresize",a(e).object.proxy):e.removeChild(i(e)),delete a(e).object}}}},"18e9":function(e,t,r){"use strict";var n=e.exports={};n.isIE=function(e){return(-1!==(t=navigator.userAgent.toLowerCase()).indexOf("msie")||-1!==t.indexOf("trident")||-1!==t.indexOf(" edge/"))&&(!e||e===function(){var e=3,t=document.createElement("div"),r=t.getElementsByTagName("i");do{t.innerHTML="\x3c!--[if gt IE "+ ++e+"]><i></i><![endif]--\x3e"}while(r[0]);return e>4?e:void 0}());var t},n.isLegacyOpera=function(){return!!window.opera}},"1bc3":function(e,t,r){var n=r("f772");e.exports=function(e,t){if(!n(e))return e;var r,a;if(t&&"function"==typeof(r=e.toString)&&!n(a=r.call(e)))return a;if("function"==typeof(r=e.valueOf)&&!n(a=r.call(e)))return a;if(!t&&"function"==typeof(r=e.toString)&&!n(a=r.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},"1ec9":function(e,t,r){var n=r("f772"),a=r("e53d").document,i=n(a)&&n(a.createElement);e.exports=function(e){return i?a.createElement(e):{}}},"214f":function(e,t,r){"use strict";r("b0c5");var n=r("2aba"),a=r("32e9"),i=r("79e5"),o=r("be13"),s=r("2b4c"),l=r("520a"),c=s("species"),u=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),d=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2===r.length&&"a"===r[0]&&"b"===r[1]}();e.exports=function(e,t,r){var f=s(e),h=!i((function(){var t={};return t[f]=function(){return 7},7!=""[e](t)})),p=h?!i((function(){var t=!1,r=/a/;return r.exec=function(){return t=!0,null},"split"===e&&(r.constructor={},r.constructor[c]=function(){return r}),r[f](""),!t})):void 0;if(!h||!p||"replace"===e&&!u||"split"===e&&!d){var g=/./[f],v=r(o,f,""[e],(function(e,t,r,n,a){return t.exec===l?h&&!a?{done:!0,value:g.call(t,r,n)}:{done:!0,value:e.call(r,t,n)}:{done:!1}})),m=v[0],y=v[1];n(String.prototype,e,m),a(RegExp.prototype,f,2==t?function(e,t){return y.call(e,this,t)}:function(e){return y.call(e,this)})}}},"230e":function(e,t,r){var n=r("d3f4"),a=r("7726").document,i=n(a)&&n(a.createElement);e.exports=function(e){return i?a.createElement(e):{}}},2350:function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=function(e,t){var r=e[1]||"",n=e[3];if(!n)return r;if(t&&"function"==typeof btoa){var a=(o=n,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),i=n.sources.map((function(e){return"/*# sourceURL="+n.sourceRoot+e+" */"}));return[r].concat(i).concat([a]).join("\n")}var o;return[r].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+r+"}":r})).join("")},t.i=function(e,r){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},a=0;a<this.length;a++){var i=this[a][0];"number"==typeof i&&(n[i]=!0)}for(a=0;a<e.length;a++){var o=e[a];"number"==typeof o[0]&&n[o[0]]||(r&&!o[2]?o[2]=r:r&&(o[2]="("+o[2]+") and ("+r+")"),t.push(o))}},t}},"23c6":function(e,t,r){var n=r("2d95"),a=r("2b4c")("toStringTag"),i="Arguments"==n(function(){return arguments}());e.exports=function(e){var t,r,o;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),a))?r:i?n(t):"Object"==(o=n(t))&&"function"==typeof t.callee?"Arguments":o}},2621:function(e,t){t.f=Object.getOwnPropertySymbols},"294c":function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"2aba":function(e,t,r){var n=r("7726"),a=r("32e9"),i=r("69a8"),o=r("ca5a")("src"),s=r("fa5b"),l=(""+s).split("toString");r("8378").inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,r,s){var c="function"==typeof r;c&&(i(r,"name")||a(r,"name",t)),e[t]!==r&&(c&&(i(r,o)||a(r,o,e[t]?""+e[t]:l.join(String(t)))),e===n?e[t]=r:s?e[t]?e[t]=r:a(e,t,r):(delete e[t],a(e,t,r)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[o]||s.call(this)}))},"2aeb":function(e,t,r){var n=r("cb7c"),a=r("1495"),i=r("e11e"),o=r("613b")("IE_PROTO"),s=function(){},l=function(){var e,t=r("230e")("iframe"),n=i.length;for(t.style.display="none",r("fab2").appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;n--;)delete l.prototype[i[n]];return l()};e.exports=Object.create||function(e,t){var r;return null!==e?(s.prototype=n(e),r=new s,s.prototype=null,r[o]=e):r=l(),void 0===t?r:a(r,t)}},"2b4c":function(e,t,r){var n=r("5537")("wks"),a=r("ca5a"),i=r("7726").Symbol,o="function"==typeof i;(e.exports=function(e){return n[e]||(n[e]=o&&i[e]||(o?i:a)("Symbol."+e))}).store=n},"2cef":function(e,t,r){"use strict";e.exports=function(){var e=1;return{generate:function(){return e++}}}},"2d00":function(e,t){e.exports=!1},"2d95":function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},"2f21":function(e,t,r){"use strict";var n=r("79e5");e.exports=function(e,t){return!!e&&n((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},"32e9":function(e,t,r){var n=r("86cc"),a=r("4630");e.exports=r("9e1e")?function(e,t,r){return n.f(e,t,a(1,r))}:function(e,t,r){return e[t]=r,e}},"35e8":function(e,t,r){var n=r("d9f6"),a=r("aebd");e.exports=r("8e60")?function(e,t,r){return n.f(e,t,a(1,r))}:function(e,t,r){return e[t]=r,e}},"38fd":function(e,t,r){var n=r("69a8"),a=r("4bf8"),i=r("613b")("IE_PROTO"),o=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=a(e),n(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?o:null}},"41a0":function(e,t,r){"use strict";var n=r("2aeb"),a=r("4630"),i=r("7f20"),o={};r("32e9")(o,r("2b4c")("iterator"),(function(){return this})),e.exports=function(e,t,r){e.prototype=n(o,{next:a(1,r)}),i(e,t+" Iterator")}},"454f":function(e,t,r){r("46a7");var n=r("584a").Object;e.exports=function(e,t,r){return n.defineProperty(e,t,r)}},"456d":function(e,t,r){var n=r("4bf8"),a=r("0d58");r("5eda")("keys",(function(){return function(e){return a(n(e))}}))},4588:function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},4630:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"46a7":function(e,t,r){var n=r("63b6");n(n.S+n.F*!r("8e60"),"Object",{defineProperty:r("d9f6").f})},4917:function(e,t,r){"use strict";var n=r("cb7c"),a=r("9def"),i=r("0390"),o=r("5f1b");r("214f")("match",1,(function(e,t,r,s){return[function(r){var n=e(this),a=null==r?void 0:r[t];return void 0!==a?a.call(r,n):new RegExp(r)[t](String(n))},function(e){var t=s(r,e,this);if(t.done)return t.value;var l=n(e),c=String(this);if(!l.global)return o(l,c);var u=l.unicode;l.lastIndex=0;for(var d,f=[],h=0;null!==(d=o(l,c));){var p=String(d[0]);f[h]=p,""===p&&(l.lastIndex=i(c,a(l.lastIndex),u)),h++}return 0===h?null:f}]}))},"499e":function(e,t,r){"use strict";function n(e,t){for(var r=[],n={},a=0;a<t.length;a++){var i=t[a],o=i[0],s={id:e+":"+a,css:i[1],media:i[2],sourceMap:i[3]};n[o]?n[o].parts.push(s):r.push(n[o]={id:o,parts:[s]})}return r}r.r(t),r.d(t,"default",(function(){return h}));var a="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!a)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},o=a&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,c=!1,u=function(){},d=null,f="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(e,t,r,a){c=r,d=a||{};var o=n(e,t);return p(o),function(t){for(var r=[],a=0;a<o.length;a++){var s=o[a];(l=i[s.id]).refs--,r.push(l)}t?p(o=n(e,t)):o=[];for(a=0;a<r.length;a++){var l;if(0===(l=r[a]).refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete i[l.id]}}}}function p(e){for(var t=0;t<e.length;t++){var r=e[t],n=i[r.id];if(n){n.refs++;for(var a=0;a<n.parts.length;a++)n.parts[a](r.parts[a]);for(;a<r.parts.length;a++)n.parts.push(v(r.parts[a]));n.parts.length>r.parts.length&&(n.parts.length=r.parts.length)}else{var o=[];for(a=0;a<r.parts.length;a++)o.push(v(r.parts[a]));i[r.id]={id:r.id,refs:1,parts:o}}}}function g(){var e=document.createElement("style");return e.type="text/css",o.appendChild(e),e}function v(e){var t,r,n=document.querySelector('style[data-vue-ssr-id~="'+e.id+'"]');if(n){if(c)return u;n.parentNode.removeChild(n)}if(f){var a=l++;n=s||(s=g()),t=x.bind(null,n,a,!1),r=x.bind(null,n,a,!0)}else n=g(),t=b.bind(null,n),r=function(){n.parentNode.removeChild(n)};return t(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;t(e=n)}else r()}}var m,y=(m=[],function(e,t){return m[e]=t,m.filter(Boolean).join("\n")});function x(e,t,r,n){var a=r?"":n.css;if(e.styleSheet)e.styleSheet.cssText=y(t,a);else{var i=document.createTextNode(a),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(i,o[t]):e.appendChild(i)}}function b(e,t){var r=t.css,n=t.media,a=t.sourceMap;if(n&&e.setAttribute("media",n),d.ssrId&&e.setAttribute("data-vue-ssr-id",t.id),a&&(r+="\n/*# sourceURL="+a.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}},"49ad":function(e,t,r){"use strict";e.exports=function(e){var t={};function r(r){var n=e.get(r);return void 0===n?[]:t[n]||[]}return{get:r,add:function(r,n){var a=e.get(r);t[a]||(t[a]=[]),t[a].push(n)},removeListener:function(e,t){for(var n=r(e),a=0,i=n.length;a<i;++a)if(n[a]===t){n.splice(a,1);break}},removeAllListeners:function(e){var t=r(e);t&&(t.length=0)}}}},"4bf8":function(e,t,r){var n=r("be13");e.exports=function(e){return Object(n(e))}},5058:function(e,t,r){"use strict";e.exports=function(e){var t=e.idGenerator,r=e.stateHandler.getState;return{get:function(e){var t=r(e);return t&&void 0!==t.id?t.id:null},set:function(e){var n=r(e);if(!n)throw new Error("setId required the element to have a resize detection state.");var a=t.generate();return n.id=a,a}}}},"50bf":function(e,t,r){"use strict";(e.exports={}).getOption=function(e,t,r){var n=e[t];if(null==n&&void 0!==r)return r;return n}},"520a":function(e,t,r){"use strict";var n,a,i=r("0bfb"),o=RegExp.prototype.exec,s=String.prototype.replace,l=o,c=(n=/a/,a=/b*/g,o.call(n,"a"),o.call(a,"a"),0!==n.lastIndex||0!==a.lastIndex),u=void 0!==/()??/.exec("")[1];(c||u)&&(l=function(e){var t,r,n,a,l=this;return u&&(r=new RegExp("^"+l.source+"$(?!\\s)",i.call(l))),c&&(t=l.lastIndex),n=o.call(l,e),c&&n&&(l.lastIndex=l.global?n.index+n[0].length:t),u&&n&&n.length>1&&s.call(n[0],r,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(n[a]=void 0)})),n}),e.exports=l},"52a7":function(e,t){t.f={}.propertyIsEnumerable},5537:function(e,t,r){var n=r("8378"),a=r("7726"),i=a["__core-js_shared__"]||(a["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:r("2d00")?"pure":"global",copyright:"ยฉ 2019 Denis Pushkarev (zloirock.ru)"})},"55dd":function(e,t,r){"use strict";var n=r("5ca1"),a=r("d8e8"),i=r("4bf8"),o=r("79e5"),s=[].sort,l=[1,2,3];n(n.P+n.F*(o((function(){l.sort(void 0)}))||!o((function(){l.sort(null)}))||!r("2f21")(s)),"Array",{sort:function(e){return void 0===e?s.call(i(this)):s.call(i(this),a(e))}})},"584a":function(e,t){var r=e.exports={version:"2.6.10"};"number"==typeof __e&&(__e=r)},"5be5":function(e,t,r){"use strict";e.exports=function(e){var t=e.stateHandler.getState;return{isDetectable:function(e){var r=t(e);return r&&!!r.isDetectable},markAsDetectable:function(e){t(e).isDetectable=!0},isBusy:function(e){return!!t(e).busy},markBusy:function(e,r){t(e).busy=!!r}}}},"5ca1":function(e,t,r){var n=r("7726"),a=r("8378"),i=r("32e9"),o=r("2aba"),s=r("9b43"),l=function(e,t,r){var c,u,d,f,h=e&l.F,p=e&l.G,g=e&l.S,v=e&l.P,m=e&l.B,y=p?n:g?n[t]||(n[t]={}):(n[t]||{}).prototype,x=p?a:a[t]||(a[t]={}),b=x.prototype||(x.prototype={});for(c in p&&(r=t),r)d=((u=!h&&y&&void 0!==y[c])?y:r)[c],f=m&&u?s(d,n):v&&"function"==typeof d?s(Function.call,d):d,y&&o(y,c,d,e&l.U),x[c]!=d&&i(x,c,f),v&&b[c]!=d&&(b[c]=d)};n.core=a,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},"5dbc":function(e,t,r){var n=r("d3f4"),a=r("8b97").set;e.exports=function(e,t,r){var i,o=t.constructor;return o!==r&&"function"==typeof o&&(i=o.prototype)!==r.prototype&&n(i)&&a&&a(e,i),e}},"5ed4":function(e,t,r){"use strict";var n=r("6e21");r.n(n).a},"5eda":function(e,t,r){var n=r("5ca1"),a=r("8378"),i=r("79e5");e.exports=function(e,t){var r=(a.Object||{})[e]||Object[e],o={};o[e]=t(r),n(n.S+n.F*i((function(){r(1)})),"Object",o)}},"5f1b":function(e,t,r){"use strict";var n=r("23c6"),a=RegExp.prototype.exec;e.exports=function(e,t){var r=e.exec;if("function"==typeof r){var i=r.call(e,t);if("object"!=typeof i)throw new TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==n(e))throw new TypeError("RegExp#exec called on incompatible receiver");return a.call(e,t)}},"613b":function(e,t,r){var n=r("5537")("keys"),a=r("ca5a");e.exports=function(e){return n[e]||(n[e]=a(e))}},"626a":function(e,t,r){var n=r("2d95");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},"63b6":function(e,t,r){var n=r("e53d"),a=r("584a"),i=r("d864"),o=r("35e8"),s=r("07e3"),l=function(e,t,r){var c,u,d,f=e&l.F,h=e&l.G,p=e&l.S,g=e&l.P,v=e&l.B,m=e&l.W,y=h?a:a[t]||(a[t]={}),x=y.prototype,b=h?n:p?n[t]:(n[t]||{}).prototype;for(c in h&&(r=t),r)(u=!f&&b&&void 0!==b[c])&&s(y,c)||(d=u?b[c]:r[c],y[c]=h&&"function"!=typeof b[c]?r[c]:v&&u?i(d,n):m&&b[c]==d?function(e){var t=function(t,r,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,r)}return new e(t,r,n)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(d):g&&"function"==typeof d?i(Function.call,d):d,g&&((y.virtual||(y.virtual={}))[c]=d,e&l.R&&x&&!x[c]&&o(x,c,d)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},6821:function(e,t,r){var n=r("626a"),a=r("be13");e.exports=function(e){return n(a(e))}},"69a8":function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},"6a99":function(e,t,r){var n=r("d3f4");e.exports=function(e,t){if(!n(e))return e;var r,a;if(t&&"function"==typeof(r=e.toString)&&!n(a=r.call(e)))return a;if("function"==typeof(r=e.valueOf)&&!n(a=r.call(e)))return a;if(!t&&"function"==typeof(r=e.toString)&&!n(a=r.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},"6e21":function(e,t,r){var n=r("9cbe");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("499e").default)("3cbd0c21",n,!0,{sourceMap:!1,shadowMode:!1})},7726:function(e,t){var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},"77f1":function(e,t,r){var n=r("4588"),a=Math.max,i=Math.min;e.exports=function(e,t){return(e=n(e))<0?a(e+t,0):i(e,t)}},"794b":function(e,t,r){e.exports=!r("8e60")&&!r("294c")((function(){return 7!=Object.defineProperty(r("1ec9")("div"),"a",{get:function(){return 7}}).a}))},"79aa":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},"79e5":function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"7f20":function(e,t,r){var n=r("86cc").f,a=r("69a8"),i=r("2b4c")("toStringTag");e.exports=function(e,t,r){e&&!a(e=r?e:e.prototype,i)&&n(e,i,{configurable:!0,value:t})}},"7f7f":function(e,t,r){var n=r("86cc").f,a=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in a||r("9e1e")&&n(a,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(e){return""}}})},8378:function(e,t){var r=e.exports={version:"2.6.10"};"number"==typeof __e&&(__e=r)},"84f2":function(e,t){e.exports={}},"85f2":function(e,t,r){e.exports=r("454f")},"86cc":function(e,t,r){var n=r("cb7c"),a=r("c69a"),i=r("6a99"),o=Object.defineProperty;t.f=r("9e1e")?Object.defineProperty:function(e,t,r){if(n(e),t=i(t,!0),n(r),a)try{return o(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},"8b97":function(e,t,r){var n=r("d3f4"),a=r("cb7c"),i=function(e,t){if(a(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{(n=r("9b43")(Function.call,r("11e9").f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,r){return i(e,r),t?e.__proto__=r:n(e,r),e}}({},!1):void 0),check:i}},"8bbf":function(e,t){e.exports=r("XuX8")},"8e60":function(e,t,r){e.exports=!r("294c")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"8e6e":function(e,t,r){var n=r("5ca1"),a=r("990b"),i=r("6821"),o=r("11e9"),s=r("f1ae");n(n.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,r,n=i(e),l=o.f,c=a(n),u={},d=0;c.length>d;)void 0!==(r=l(n,t=c[d++]))&&s(u,t,r);return u}})},9093:function(e,t,r){var n=r("ce10"),a=r("e11e").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,a)}},"990b":function(e,t,r){var n=r("9093"),a=r("2621"),i=r("cb7c"),o=r("7726").Reflect;e.exports=o&&o.ownKeys||function(e){var t=n.f(i(e)),r=a.f;return r?t.concat(r(e)):t}},"9b43":function(e,t,r){var n=r("d8e8");e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,a){return e.call(t,r,n,a)}}return function(){return e.apply(t,arguments)}}},"9c6c":function(e,t,r){var n=r("2b4c")("unscopables"),a=Array.prototype;null==a[n]&&r("32e9")(a,n,{}),e.exports=function(e){a[n][e]=!0}},"9cbe":function(e,t,r){(e.exports=r("2350")(!1)).push([e.i,'.vue-grid-item{-webkit-transition:all .2s ease;transition:all .2s ease;-webkit-transition-property:left,top,right;transition-property:left,top,right}.vue-grid-item.no-touch{-ms-touch-action:none;touch-action:none}.vue-grid-item.cssTransforms{-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;left:0;right:auto}.vue-grid-item.cssTransforms.render-rtl{left:auto;right:0}.vue-grid-item.resizing{opacity:.6;z-index:3}.vue-grid-item.vue-draggable-dragging{-webkit-transition:none;transition:none;z-index:3}.vue-grid-item.vue-grid-placeholder{background:red;opacity:.2;-webkit-transition-duration:.1s;transition-duration:.1s;z-index:2;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.vue-grid-item>.vue-resizable-handle{position:absolute;width:20px;height:20px;bottom:0;right:0;background:url("data:image/svg+xml;base64,PHN2ZyBzdHlsZT0iYmFja2dyb3VuZC1jb2xvcjojZmZmZmZmMDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjYiIGhlaWdodD0iNiI+PHBhdGggZD0iTTYgNkgwVjQuMmg0LjJWMEg2djZ6IiBvcGFjaXR5PSIuMzAyIi8+PC9zdmc+");background-position:100% 100%;padding:0 3px 3px 0;background-repeat:no-repeat;background-origin:content-box;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:se-resize}.vue-grid-item>.vue-rtl-resizable-handle{bottom:0;left:0;background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTS0xLTFoMTJ2MTJILTF6Ii8+PGc+PHBhdGggc3Ryb2tlLWxpbmVjYXA9InVuZGVmaW5lZCIgc3Ryb2tlLWxpbmVqb2luPSJ1bmRlZmluZWQiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2U9IiMwMDAiIGZpbGw9Im5vbmUiIGQ9Ik0xNDQuODIxLTM4LjM5M2wtMjAuMzU3LTMxLjc4NSIvPjxwYXRoIHN0cm9rZT0iIzY2NiIgc3Ryb2tlLWxpbmVjYXA9InVuZGVmaW5lZCIgc3Ryb2tlLWxpbmVqb2luPSJ1bmRlZmluZWQiIHN0cm9rZS13aWR0aD0iMiIgZmlsbD0ibm9uZSIgZD0iTS45NDctLjAxOHY5LjEyNU0tLjY1NiA5aDEwLjczIi8+PC9nPjwvc3ZnPg==);background-position:0 100%;padding-left:3px;background-repeat:no-repeat;background-origin:content-box;cursor:sw-resize;right:auto}.vue-grid-item.disable-userselect{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}',""])},"9def":function(e,t,r){var n=r("4588"),a=Math.min;e.exports=function(e){return e>0?a(n(e),9007199254740991):0}},"9e1e":function(e,t,r){e.exports=!r("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},a481:function(e,t,r){"use strict";var n=r("cb7c"),a=r("4bf8"),i=r("9def"),o=r("4588"),s=r("0390"),l=r("5f1b"),c=Math.max,u=Math.min,d=Math.floor,f=/\$([$&`']|\d\d?|<[^>]*>)/g,h=/\$([$&`']|\d\d?)/g;r("214f")("replace",2,(function(e,t,r,p){return[function(n,a){var i=e(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,i,a):r.call(String(i),n,a)},function(e,t){var a=p(r,e,this,t);if(a.done)return a.value;var d=n(e),f=String(this),h="function"==typeof t;h||(t=String(t));var v=d.global;if(v){var m=d.unicode;d.lastIndex=0}for(var y=[];;){var x=l(d,f);if(null===x)break;if(y.push(x),!v)break;""===String(x[0])&&(d.lastIndex=s(f,i(d.lastIndex),m))}for(var b,w="",_=0,k=0;k<y.length;k++){x=y[k];for(var T=String(x[0]),M=c(u(o(x.index),f.length),0),S=[],A=1;A<x.length;A++)S.push(void 0===(b=x[A])?b:String(b));var C=x.groups;if(h){var P=[T].concat(S,M,f);void 0!==C&&P.push(C);var O=String(t.apply(void 0,P))}else O=g(T,f,M,S,C,t);M>=_&&(w+=f.slice(_,M)+O,_=M+T.length)}return w+f.slice(_)}];function g(e,t,n,i,o,s){var l=n+e.length,c=i.length,u=h;return void 0!==o&&(o=a(o),u=f),r.call(s,u,(function(r,a){var s;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(l);case"<":s=o[a.slice(1,-1)];break;default:var u=+a;if(0===u)return r;if(u>c){var f=d(u/10);return 0===f?r:f<=c?void 0===i[f-1]?a.charAt(1):i[f-1]+a.charAt(1):r}s=i[u-1]}return void 0===s?"":s}))}}))},aa77:function(e,t,r){var n=r("5ca1"),a=r("be13"),i=r("79e5"),o=r("fdef"),s="["+o+"]",l=RegExp("^"+s+s+"*"),c=RegExp(s+s+"*$"),u=function(e,t,r){var a={},s=i((function(){return!!o[e]()||"โย "!="โย "[e]()})),l=a[e]=s?t(d):o[e];r&&(a[r]=l),n(n.P+n.F*s,"String",a)},d=u.trim=function(e,t){return e=String(a(e)),1&t&&(e=e.replace(l,"")),2&t&&(e=e.replace(c,"")),e};e.exports=u},abb4:function(e,t,r){"use strict";e.exports=function(e){function t(){}var r={log:t,warn:t,error:t};if(!e&&window.console){var n=function(e,t){e[t]=function(){var e=console[t];if(e.apply)e.apply(console,arguments);else for(var r=0;r<arguments.length;r++)e(arguments[r])}};n(r,"log"),n(r,"warn"),n(r,"error")}return r}},ac6a:function(e,t,r){for(var n=r("cadf"),a=r("0d58"),i=r("2aba"),o=r("7726"),s=r("32e9"),l=r("84f2"),c=r("2b4c"),u=c("iterator"),d=c("toStringTag"),f=l.Array,h={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=a(h),g=0;g<p.length;g++){var v,m=p[g],y=h[m],x=o[m],b=x&&x.prototype;if(b&&(b[u]||s(b,u,f),b[d]||s(b,d,m),l[m]=f,y))for(v in n)b[v]||i(b,v,n[v],!0)}},ad20:function(e,t,r){(e.exports=r("2350")(!1)).push([e.i,".vue-grid-layout{position:relative;-webkit-transition:height .2s ease;transition:height .2s ease}",""])},aebd:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},b0c5:function(e,t,r){"use strict";var n=r("520a");r("5ca1")({target:"RegExp",proto:!0,forced:n!==/./.exec},{exec:n})},b770:function(e,t,r){"use strict";(e.exports={}).forEach=function(e,t){for(var r=0;r<e.length;r++){var n=t(e[r]);if(n)return n}}},be13:function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},c274:function(e,t,r){"use strict";var n=r("50bf");function a(){var e={},t=0,r=0,n=0;return{add:function(a,i){i||(i=a,a=0),a>r?r=a:a<n&&(n=a),e[a]||(e[a]=[]),e[a].push(i),t++},process:function(){for(var t=n;t<=r;t++)for(var a=e[t],i=0;i<a.length;i++){(0,a[i])()}},size:function(){return t}}}e.exports=function(e){var t=(e=e||{}).reporter,r=n.getOption(e,"async",!0),i=n.getOption(e,"auto",!0);i&&!r&&(t&&t.warn("Invalid options combination. auto=true and async=false is invalid. Setting async=true."),r=!0);var o,s=a(),l=!1;function c(){for(l=!0;s.size();){var e=s;s=a(),e.process()}l=!1}function u(){var e;e=c,o=setTimeout(e,0)}return{add:function(e,t){!l&&i&&r&&0===s.size()&&u(),s.add(e,t)},force:function(e){l||(void 0===e&&(e=r),o&&(clearTimeout(o),o=null),e?u():c())}}}},c366:function(e,t,r){var n=r("6821"),a=r("9def"),i=r("77f1");e.exports=function(e){return function(t,r,o){var s,l=n(t),c=a(l.length),u=i(o,c);if(e&&r!=r){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===r)return e||u||0;return!e&&-1}}},c5f6:function(e,t,r){"use strict";var n=r("7726"),a=r("69a8"),i=r("2d95"),o=r("5dbc"),s=r("6a99"),l=r("79e5"),c=r("9093").f,u=r("11e9").f,d=r("86cc").f,f=r("aa77").trim,h=n.Number,p=h,g=h.prototype,v="Number"==i(r("2aeb")(g)),m="trim"in String.prototype,y=function(e){var t=s(e,!1);if("string"==typeof t&&t.length>2){var r,n,a,i=(t=m?t.trim():f(t,3)).charCodeAt(0);if(43===i||45===i){if(88===(r=t.charCodeAt(2))||120===r)return NaN}else if(48===i){switch(t.charCodeAt(1)){case 66:case 98:n=2,a=49;break;case 79:case 111:n=8,a=55;break;default:return+t}for(var o,l=t.slice(2),c=0,u=l.length;c<u;c++)if((o=l.charCodeAt(c))<48||o>a)return NaN;return parseInt(l,n)}}return+t};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(e){var t=arguments.length<1?0:e,r=this;return r instanceof h&&(v?l((function(){g.valueOf.call(r)})):"Number"!=i(r))?o(new p(y(t)),r,h):y(t)};for(var x,b=r("9e1e")?c(p):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),w=0;b.length>w;w++)a(p,x=b[w])&&!a(h,x)&&d(h,x,u(p,x));h.prototype=g,g.constructor=h,r("2aba")(n,"Number",h)}},c69a:function(e,t,r){e.exports=!r("9e1e")&&!r("79e5")((function(){return 7!=Object.defineProperty(r("230e")("div"),"a",{get:function(){return 7}}).a}))},c946:function(e,t,r){"use strict";var n=r("b770").forEach;e.exports=function(e){var t=(e=e||{}).reporter,r=e.batchProcessor,a=e.stateHandler.getState,i=(e.stateHandler.hasState,e.idHandler);if(!r)throw new Error("Missing required dependency: batchProcessor");if(!t)throw new Error("Missing required dependency: reporter.");var o=function(){var e=document.createElement("div");e.style.cssText="position: absolute; width: 1000px; height: 1000px; visibility: hidden; margin: 0; padding: 0;";var t=document.createElement("div");t.style.cssText="position: absolute; width: 500px; height: 500px; overflow: scroll; visibility: none; top: -1500px; left: -1500px; visibility: hidden; margin: 0; padding: 0;",t.appendChild(e),document.body.insertBefore(t,document.body.firstChild);var r=500-t.clientWidth,n=500-t.clientHeight;return document.body.removeChild(t),{width:r,height:n}}();function s(e,r,n){if(e.addEventListener)e.addEventListener(r,n);else{if(!e.attachEvent)return t.error("[scroll] Don't know how to add event listeners.");e.attachEvent("on"+r,n)}}function l(e,r,n){if(e.removeEventListener)e.removeEventListener(r,n);else{if(!e.detachEvent)return t.error("[scroll] Don't know how to remove event listeners.");e.detachEvent("on"+r,n)}}function c(e){return a(e).container.childNodes[0].childNodes[0].childNodes[0]}function u(e){return a(e).container.childNodes[0].childNodes[0].childNodes[1]}return function(e,t){if(!document.getElementById(e)){var r=t+"_animation",n="/* Created by the element-resize-detector library. */\n";n+="."+t+" > div::-webkit-scrollbar { display: none; }\n\n",n+="."+(t+"_animation_active")+" { -webkit-animation-duration: 0.1s; animation-duration: 0.1s; -webkit-animation-name: "+r+"; animation-name: "+r+"; }\n",n+="@-webkit-keyframes "+r+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }\n",function(t,r){r=r||function(e){document.head.appendChild(e)};var n=document.createElement("style");n.innerHTML=t,n.id=e,r(n)}(n+="@keyframes "+r+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }")}}("erd_scroll_detection_scrollbar_style","erd_scroll_detection_container"),{makeDetectable:function(e,l,d){function f(){if(e.debug){var r=Array.prototype.slice.call(arguments);if(r.unshift(i.get(l),"Scroll: "),t.log.apply)t.log.apply(null,r);else for(var n=0;n<r.length;n++)t.log(r[n])}}function h(e){var t=a(e).container.childNodes[0],r=window.getComputedStyle(t);return!r.width||-1===r.width.indexOf("px")}function p(){var e=window.getComputedStyle(l),t={};return t.position=e.position,t.width=l.offsetWidth,t.height=l.offsetHeight,t.top=e.top,t.right=e.right,t.bottom=e.bottom,t.left=e.left,t.widthCSS=e.width,t.heightCSS=e.height,t}function g(){if(f("storeStyle invoked."),a(l)){var e=p();a(l).style=e}else f("Aborting because element has been uninstalled")}function v(e,t,r){a(e).lastWidth=t,a(e).lastHeight=r}function m(){return 2*o.width+1}function y(){return 2*o.height+1}function x(e){return e+10+m()}function b(e){return e+10+y()}function w(e,t,r){var n=c(e),a=u(e),i=x(t),o=b(r),s=function(e){return 2*e+m()}(t),l=function(e){return 2*e+y()}(r);n.scrollLeft=i,n.scrollTop=o,a.scrollLeft=s,a.scrollTop=l}function _(){var e=a(l).container;if(!e){(e=document.createElement("div")).className="erd_scroll_detection_container",e.style.cssText="visibility: hidden; display: inline; width: 0px; height: 0px; z-index: -1; overflow: hidden; margin: 0; padding: 0;",a(l).container=e,function(e){e.className+=" erd_scroll_detection_container_animation_active"}(e),l.appendChild(e);var t=function(){a(l).onRendered&&a(l).onRendered()};s(e,"animationstart",t),a(l).onAnimationStart=t}return e}function k(){if(f("Injecting elements"),a(l)){!function(){var e=a(l).style;if("static"===e.position){l.style.position="relative";var r=function(e,t,r,n){var a=r[n];"auto"!==a&&"0"!==function(e){return e.replace(/[^-\d\.]/g,"")}(a)&&(e.warn("An element that is positioned static has style."+n+"="+a+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+n+" will be set to 0. Element: ",t),t.style[n]=0)};r(t,l,e,"top"),r(t,l,e,"right"),r(t,l,e,"bottom"),r(t,l,e,"left")}}();var e=a(l).container;e||(e=_());var r,n,i,c,u=o.width,d=o.height,h="position: absolute; flex: none; overflow: hidden; z-index: -1; visibility: hidden; "+("left: "+(r=(r=-(1+u))?r+"px":"0")+"; top: "+(n=(n=-(1+d))?n+"px":"0")+"; right: "+(c=(c=-u)?c+"px":"0")+"; bottom: "+(i=(i=-d)?i+"px":"0")+";"),p=document.createElement("div"),g=document.createElement("div"),v=document.createElement("div"),m=document.createElement("div"),y=document.createElement("div"),x=document.createElement("div");p.dir="ltr",p.style.cssText="position: absolute; flex: none; overflow: hidden; z-index: -1; visibility: hidden; width: 100%; height: 100%; left: 0px; top: 0px;",p.className="erd_scroll_detection_container",g.className="erd_scroll_detection_container",g.style.cssText=h,v.style.cssText="position: absolute; flex: none; overflow: scroll; z-index: -1; visibility: hidden; width: 100%; height: 100%;",m.style.cssText="position: absolute; left: 0; top: 0;",y.style.cssText="position: absolute; flex: none; overflow: scroll; z-index: -1; visibility: hidden; width: 100%; height: 100%;",x.style.cssText="position: absolute; width: 200%; height: 200%;",v.appendChild(m),y.appendChild(x),g.appendChild(v),g.appendChild(y),p.appendChild(g),e.appendChild(p),s(v,"scroll",b),s(y,"scroll",w),a(l).onExpandScroll=b,a(l).onShrinkScroll=w}else f("Aborting because element has been uninstalled");function b(){a(l).onExpand&&a(l).onExpand()}function w(){a(l).onShrink&&a(l).onShrink()}}function T(){function o(e,t,r){var n=function(e){return c(e).childNodes[0]}(e),a=x(t),i=b(r);n.style.width=a+"px",n.style.height=i+"px"}function s(n){var s=l.offsetWidth,c=l.offsetHeight;f("Storing current size",s,c),v(l,s,c),r.add(0,(function(){if(a(l))if(d()){if(e.debug){var r=l.offsetWidth,n=l.offsetHeight;r===s&&n===c||t.warn(i.get(l),"Scroll: Size changed before updating detector elements.")}o(l,s,c)}else f("Aborting because element container has not been initialized");else f("Aborting because element has been uninstalled")})),r.add(1,(function(){a(l)?d()?w(l,s,c):f("Aborting because element container has not been initialized"):f("Aborting because element has been uninstalled")})),n&&r.add(2,(function(){a(l)?d()?n():f("Aborting because element container has not been initialized"):f("Aborting because element has been uninstalled")}))}function d(){return!!a(l).container}function p(){f("notifyListenersIfNeeded invoked");var e=a(l);return void 0===a(l).lastNotifiedWidth&&e.lastWidth===e.startSize.width&&e.lastHeight===e.startSize.height?f("Not notifying: Size is the same as the start size, and there has been no notification yet."):e.lastWidth===e.lastNotifiedWidth&&e.lastHeight===e.lastNotifiedHeight?f("Not notifying: Size already notified"):(f("Current size not notified, notifying..."),e.lastNotifiedWidth=e.lastWidth,e.lastNotifiedHeight=e.lastHeight,void n(a(l).listeners,(function(e){e(l)})))}function g(){if(f("Scroll detected."),h(l))f("Scroll event fired while unrendered. Ignoring...");else{var e=l.offsetWidth,t=l.offsetHeight;e!==a(l).lastWidth||t!==a(l).lastHeight?(f("Element size changed."),s(p)):f("Element size has not changed ("+e+"x"+t+").")}}if(f("registerListenersAndPositionElements invoked."),a(l)){a(l).onRendered=function(){if(f("startanimation triggered."),h(l))f("Ignoring since element is still unrendered...");else{f("Element rendered.");var e=c(l),t=u(l);0!==e.scrollLeft&&0!==e.scrollTop&&0!==t.scrollLeft&&0!==t.scrollTop||(f("Scrollbars out of sync. Updating detector elements..."),s(p))}},a(l).onExpand=g,a(l).onShrink=g;var m=a(l).style;o(l,m.width,m.height)}else f("Aborting because element has been uninstalled")}function M(){if(f("finalizeDomMutation invoked."),a(l)){var e=a(l).style;v(l,e.width,e.height),w(l,e.width,e.height)}else f("Aborting because element has been uninstalled")}function S(){d(l)}function A(){var e;f("Installing..."),a(l).listeners=[],e=p(),a(l).startSize={width:e.width,height:e.height},f("Element start size",a(l).startSize),r.add(0,g),r.add(1,k),r.add(2,T),r.add(3,M),r.add(4,S)}d||(d=l,l=e,e=null),e=e||{},f("Making detectable..."),!function(e){return!function(e){return e===e.ownerDocument.body||e.ownerDocument.body.contains(e)}(e)||null===window.getComputedStyle(e)}(l)?A():(f("Element is detached"),_(),f("Waiting until element is attached..."),a(l).onRendered=function(){f("Element is now attached"),A()})},addListener:function(e,t){if(!a(e).listeners.push)throw new Error("Cannot add listener to an element that is not detectable.");a(e).listeners.push(t)},uninstall:function(e){var t=a(e);t&&(t.onExpandScroll&&l(c(e),"scroll",t.onExpandScroll),t.onShrinkScroll&&l(u(e),"scroll",t.onShrinkScroll),t.onAnimationStart&&l(t.container,"animationstart",t.onAnimationStart),t.container&&e.removeChild(t.container))}}}},ca5a:function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+n).toString(36))}},cadf:function(e,t,r){"use strict";var n=r("9c6c"),a=r("d53b"),i=r("84f2"),o=r("6821");e.exports=r("01f9")(Array,"Array",(function(e,t){this._t=o(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,a(1)):a(0,"keys"==t?r:"values"==t?e[r]:[r,e[r]])}),"values"),i.Arguments=i.Array,n("keys"),n("values"),n("entries")},cb7c:function(e,t,r){var n=r("d3f4");e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},ce10:function(e,t,r){var n=r("69a8"),a=r("6821"),i=r("c366")(!1),o=r("613b")("IE_PROTO");e.exports=function(e,t){var r,s=a(e),l=0,c=[];for(r in s)r!=o&&n(s,r)&&c.push(r);for(;t.length>l;)n(s,r=t[l++])&&(~i(c,r)||c.push(r));return c}},d3f4:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},d53b:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},d6eb:function(e,t,r){"use strict";function n(e){return e._erd}e.exports={initState:function(e){return e._erd={},n(e)},getState:n,cleanState:function(e){delete e._erd}}},d864:function(e,t,r){var n=r("79aa");e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,a){return e.call(t,r,n,a)}}return function(){return e.apply(t,arguments)}}},d8e8:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},d9f6:function(e,t,r){var n=r("e4ae"),a=r("794b"),i=r("1bc3"),o=Object.defineProperty;t.f=r("8e60")?Object.defineProperty:function(e,t,r){if(n(e),t=i(t,!0),n(r),a)try{return o(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},e11e:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e279:function(e,t,r){"use strict";var n=r("1156");r.n(n).a},e4ae:function(e,t,r){var n=r("f772");e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},e53d:function(e,t){var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},eec4:function(e,t,r){"use strict";var n=r("b770").forEach,a=r("5be5"),i=r("49ad"),o=r("2cef"),s=r("5058"),l=r("abb4"),c=r("18e9"),u=r("c274"),d=r("d6eb"),f=r("18d2"),h=r("c946");function p(e){return Array.isArray(e)||void 0!==e.length}function g(e){if(Array.isArray(e))return e;var t=[];return n(e,(function(e){t.push(e)})),t}function v(e){return e&&1===e.nodeType}function m(e,t,r){var n=e[t];return null==n&&void 0!==r?r:n}e.exports=function(e){var t;if((e=e||{}).idHandler)t={get:function(t){return e.idHandler.get(t,!0)},set:e.idHandler.set};else{var r=o(),y=s({idGenerator:r,stateHandler:d});t=y}var x=e.reporter;x||(x=l(!1===x));var b=m(e,"batchProcessor",u({reporter:x})),w={};w.callOnAdd=!!m(e,"callOnAdd",!0),w.debug=!!m(e,"debug",!1);var _,k=i(t),T=a({stateHandler:d}),M=m(e,"strategy","object"),S={reporter:x,batchProcessor:b,stateHandler:d,idHandler:t};if("scroll"===M&&(c.isLegacyOpera()?(x.warn("Scroll strategy is not supported on legacy Opera. Changing to object strategy."),M="object"):c.isIE(9)&&(x.warn("Scroll strategy is not supported on IE9. Changing to object strategy."),M="object")),"scroll"===M)_=h(S);else{if("object"!==M)throw new Error("Invalid strategy name: "+M);_=f(S)}var A={};return{listenTo:function(e,r,a){function i(e){var t=k.get(e);n(t,(function(t){t(e)}))}function o(e,t,r){k.add(t,r),e&&r(t)}if(a||(a=r,r=e,e={}),!r)throw new Error("At least one element required.");if(!a)throw new Error("Listener required.");if(v(r))r=[r];else{if(!p(r))return x.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");r=g(r)}var s=0,l=m(e,"callOnAdd",w.callOnAdd),c=m(e,"onReady",(function(){})),u=m(e,"debug",w.debug);n(r,(function(e){d.getState(e)||(d.initState(e),t.set(e));var f=t.get(e);if(u&&x.log("Attaching listener to element",f,e),!T.isDetectable(e))return u&&x.log(f,"Not detectable."),T.isBusy(e)?(u&&x.log(f,"System busy making it detectable"),o(l,e,a),A[f]=A[f]||[],void A[f].push((function(){++s===r.length&&c()}))):(u&&x.log(f,"Making detectable..."),T.markBusy(e,!0),_.makeDetectable({debug:u},e,(function(e){if(u&&x.log(f,"onElementDetectable"),d.getState(e)){T.markAsDetectable(e),T.markBusy(e,!1),_.addListener(e,i),o(l,e,a);var t=d.getState(e);if(t&&t.startSize){var h=e.offsetWidth,p=e.offsetHeight;t.startSize.width===h&&t.startSize.height===p||i(e)}A[f]&&n(A[f],(function(e){e()}))}else u&&x.log(f,"Element uninstalled before being detectable.");delete A[f],++s===r.length&&c()})));u&&x.log(f,"Already detecable, adding listener."),o(l,e,a),s++})),s===r.length&&c()},removeListener:k.removeListener,removeAllListeners:k.removeAllListeners,uninstall:function(e){if(!e)return x.error("At least one element is required.");if(v(e))e=[e];else{if(!p(e))return x.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");e=g(e)}n(e,(function(e){k.removeAllListeners(e),_.uninstall(e),d.cleanState(e)}))}}}},f1ae:function(e,t,r){"use strict";var n=r("86cc"),a=r("4630");e.exports=function(e,t,r){t in e?n.f(e,t,a(0,r)):e[t]=r}},f6fd:function(e,t){!function(e){var t=e.getElementsByTagName("script");"currentScript"in e||Object.defineProperty(e,"currentScript",{get:function(){try{throw new Error}catch(n){var e,r=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(n.stack)||[!1])[1];for(e in t)if(t[e].src==r||"interactive"==t[e].readyState)return t[e];return null}}})}(document)},f772:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},fa5b:function(e,t,r){e.exports=r("5537")("native-function-to-string",Function.toString)},fab2:function(e,t,r){var n=r("7726").document;e.exports=n&&n.documentElement},fb15:function(e,t,r){"use strict";var n;(r.r(t),"undefined"!=typeof window)&&(r("f6fd"),(n=window.document.currentScript)&&(n=n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(r.p=n[1]));r("7f7f"),r("cadf"),r("456d"),r("ac6a");var a=r("8bbf"),i=r.n(a);r("4917"),r("c5f6"),r("a481"),r("55dd");function o(e){for(var t,r=Array(e.length),n=0,a=e.length;n<a;n++)r[n]=(t=e[n],JSON.parse(JSON.stringify(t)));return r}function s(e,t){return e!==t&&(!(e.x+e.w<=t.x)&&(!(e.x>=t.x+t.w)&&(!(e.y+e.h<=t.y)&&!(e.y>=t.y+t.h))))}function l(e,t){for(var r=p(e),n=m(e),a=Array(e.length),i=0,o=n.length;i<o;i++){var s=n[i];s.static||(s=c(r,s,t),r.push(s)),a[e.indexOf(s)]=s,s.moved=!1}return a}function c(e,t,r){if(r)for(;t.y>0&&!f(e,t);)t.y--;for(var n;n=f(e,t);)t.y=n.y+n.h;return t}function u(e,t){for(var r=p(e),n=0,a=e.length;n<a;n++){var i=e[n];if(i.x+i.w>t.cols&&(i.x=t.cols-i.w),i.x<0&&(i.x=0,i.w=t.cols),i.static)for(;f(r,i);)i.y++;else r.push(i)}return e}function d(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r].i===t)return e[r]}function f(e,t){for(var r=0,n=e.length;r<n;r++)if(s(e[r],t))return e[r]}function h(e,t){return e.filter((function(e){return s(e,t)}))}function p(e){return e.filter((function(e){return e.static}))}function g(e,t,r,n,a,i){if(t.static)return e;var o=t.x,s=t.y,l=n&&t.y>n;"number"==typeof r&&(t.x=r),"number"==typeof n&&(t.y=n),t.moved=!0;var c=m(e);l&&(c=c.reverse());var u=h(c,t);if(i&&u.length)return t.x=o,t.y=s,t.moved=!1,e;for(var d=0,f=u.length;d<f;d++){var p=u[d];p.moved||(t.y>p.y&&t.y-p.y>p.h/4||(e=p.static?v(e,p,t,a):v(e,t,p,a)))}return e}function v(e,t,r,n){if(n){var a={x:r.x,y:r.y,w:r.w,h:r.h,i:"-1"};if(a.y=Math.max(t.y-r.h,0),!f(e,a))return g(e,r,void 0,a.y,!1)}return g(e,r,void 0,r.y+1,!1)}function m(e){return[].concat(e).sort((function(e,t){return e.y>t.y||e.y===t.y&&e.x>t.x?1:-1}))}function y(e){return r=(t=e).target.offsetParent||document.body,n=t.offsetParent===document.body?{left:0,top:0}:r.getBoundingClientRect(),a=t.clientX+r.scrollLeft-n.left,i=t.clientY+r.scrollTop-n.top,{x:a,y:i};var t,r,n,a,i}function x(e,t,r,n){var a;return!("number"==typeof(a=e)&&!isNaN(a))?{deltaX:0,deltaY:0,lastX:r,lastY:n,x:r,y:n}:{deltaX:r-e,deltaY:n-t,lastX:e,lastY:t,x:r,y:n}}var b="auto";function w(){return"undefined"!=typeof document}function _(){return"undefined"!=typeof window}function k(){return w()?void 0!==document.dir?document.dir:document.getElementsByTagName("html")[0].getAttribute("dir"):b}var T=r("fb3a"),M={name:"GridItem",props:{isDraggable:{type:Boolean,required:!1,default:null},isResizable:{type:Boolean,required:!1,default:null},static:{type:Boolean,required:!1,default:!1},minH:{type:Number,required:!1,default:1},minW:{type:Number,required:!1,default:1},maxH:{type:Number,required:!1,default:1/0},maxW:{type:Number,required:!1,default:1/0},x:{type:Number,required:!0},y:{type:Number,required:!0},w:{type:Number,required:!0},h:{type:Number,required:!0},i:{required:!0},dragIgnoreFrom:{type:String,required:!1,default:"a, button"},dragAllowFrom:{type:String,required:!1,default:null},resizeIgnoreFrom:{type:String,required:!1,default:"a, button"}},inject:["eventBus"],data:function(){return{cols:1,containerWidth:100,rowHeight:30,margin:[10,10],maxRows:1/0,draggable:null,resizable:null,useCssTransforms:!0,isDragging:!1,dragging:null,isResizing:!1,resizing:null,lastX:NaN,lastY:NaN,lastW:NaN,lastH:NaN,style:{},rtl:!1,dragEventSet:!1,resizeEventSet:!1,previousW:null,previousH:null,previousX:null,previousY:null,innerX:this.x,innerY:this.y,innerW:this.w,innerH:this.h}},created:function(){var e=this,t=this;t.updateWidthHandler=function(e){t.updateWidth(e)},t.compactHandler=function(e){t.compact(e)},t.setDraggableHandler=function(e){null===t.isDraggable&&(t.draggable=e)},t.setResizableHandler=function(e){null===t.isResizable&&(t.resizable=e)},t.setRowHeightHandler=function(e){t.rowHeight=e},t.setMaxRowsHandler=function(e){t.maxRows=e},t.directionchangeHandler=function(){e.rtl="rtl"===k(),e.compact()},t.setColNum=function(e){t.cols=parseInt(e)},this.eventBus.$on("updateWidth",t.updateWidthHandler),this.eventBus.$on("compact",t.compactHandler),this.eventBus.$on("setDraggable",t.setDraggableHandler),this.eventBus.$on("setResizable",t.setResizableHandler),this.eventBus.$on("setRowHeight",t.setRowHeightHandler),this.eventBus.$on("setMaxRows",t.setMaxRowsHandler),this.eventBus.$on("directionchange",t.directionchangeHandler),this.eventBus.$on("setColNum",t.setColNum),this.rtl="rtl"===k()},beforeDestroy:function(){this.eventBus.$off("updateWidth",this.updateWidthHandler),this.eventBus.$off("compact",this.compactHandler),this.eventBus.$off("setDraggable",this.setDraggableHandler),this.eventBus.$off("setResizable",this.setResizableHandler),this.eventBus.$off("setRowHeight",this.setRowHeightHandler),this.eventBus.$off("setMaxRows",this.setMaxRowsHandler),this.eventBus.$off("directionchange",this.directionchangeHandler),this.eventBus.$off("setColNum",this.setColNum),this.interactObj.unset()},mounted:function(){this.cols=this.$parent.colNum,this.rowHeight=this.$parent.rowHeight,this.containerWidth=null!==this.$parent.width?this.$parent.width:100,this.margin=void 0!==this.$parent.margin?this.$parent.margin:[10,10],this.maxRows=this.$parent.maxRows,null===this.isDraggable?this.draggable=this.$parent.isDraggable:this.draggable=this.isDraggable,null===this.isResizable?this.resizable=this.$parent.isResizable:this.resizable=this.isResizable,this.useCssTransforms=this.$parent.useCssTransforms,this.createStyle()},watch:{isDraggable:function(){this.draggable=this.isDraggable},static:function(){this.tryMakeDraggable(),this.tryMakeResizable()},draggable:function(){this.tryMakeDraggable()},isResizable:function(){this.resizable=this.isResizable},resizable:function(){this.tryMakeResizable()},rowHeight:function(){this.createStyle(),this.emitContainerResized()},cols:function(){this.tryMakeResizable(),this.createStyle(),this.emitContainerResized()},containerWidth:function(){this.tryMakeResizable(),this.createStyle(),this.emitContainerResized()},x:function(e){this.innerX=e,this.createStyle()},y:function(e){this.innerY=e,this.createStyle()},h:function(e){this.innerH=e,this.createStyle()},w:function(e){this.innerW=e,this.createStyle()},renderRtl:function(){this.tryMakeResizable(),this.createStyle()},minH:function(){this.tryMakeResizable()},maxH:function(){this.tryMakeResizable()},minW:function(){this.tryMakeResizable()},maxW:function(){this.tryMakeResizable()}},computed:{classObj:function(){return{"vue-resizable":this.resizableAndNotStatic,static:this.static,resizing:this.isResizing,"vue-draggable-dragging":this.isDragging,cssTransforms:this.useCssTransforms,"render-rtl":this.renderRtl,"disable-userselect":this.isDragging,"no-touch":this.isAndroid&&this.draggableOrResizableAndNotStatic}},resizableAndNotStatic:function(){return this.resizable&&!this.static},draggableOrResizableAndNotStatic:function(){return(this.draggable||this.resizable)&&!this.static},isAndroid:function(){return-1!==navigator.userAgent.toLowerCase().indexOf("android")},renderRtl:function(){return this.$parent.isMirrored?!this.rtl:this.rtl},resizableHandleClass:function(){return this.renderRtl?"vue-resizable-handle vue-rtl-resizable-handle":"vue-resizable-handle"}},methods:{createStyle:function(){this.x+this.w>this.cols?(this.innerX=0,this.innerW=this.w>this.cols?this.cols:this.w):(this.innerX=this.x,this.innerW=this.w);var e,t,r,n,a,i,o=this.calcPosition(this.innerX,this.innerY,this.innerW,this.innerH);this.isDragging&&(o.top=this.dragging.top,this.renderRtl?o.right=this.dragging.left:o.left=this.dragging.left),this.isResizing&&(o.width=this.resizing.width,o.height=this.resizing.height),this.useCssTransforms?this.renderRtl?(t=o.top,r=o.right,n=o.width,a=o.height,e={transform:i="translate3d("+-1*r+"px,"+t+"px, 0)",WebkitTransform:i,MozTransform:i,msTransform:i,OTransform:i,width:n+"px",height:a+"px",position:"absolute"}):e=function(e,t,r,n){var a="translate3d("+t+"px,"+e+"px, 0)";return{transform:a,WebkitTransform:a,MozTransform:a,msTransform:a,OTransform:a,width:r+"px",height:n+"px",position:"absolute"}}(o.top,o.left,o.width,o.height):e=this.renderRtl?function(e,t,r,n){return{top:e+"px",right:t+"px",width:r+"px",height:n+"px",position:"absolute"}}(o.top,o.right,o.width,o.height):function(e,t,r,n){return{top:e+"px",left:t+"px",width:r+"px",height:n+"px",position:"absolute"}}(o.top,o.left,o.width,o.height),this.style=e},emitContainerResized:function(){for(var e={},t=0,r=["width","height"];t<r.length;t++){var n=r[t],a=this.style[n].match(/^(\d+)px$/);if(!a)return;e[n]=a[1]}this.$emit("container-resized",this.i,this.h,this.w,e.height,e.width)},handleResize:function(e){if(!this.static){var t=y(e);if(null!=t){var r,n=t.x,a=t.y,i={width:0,height:0};switch(e.type){case"resizestart":this.previousW=this.innerW,this.previousH=this.innerH,r=this.calcPosition(this.innerX,this.innerY,this.innerW,this.innerH),i.width=r.width,i.height=r.height,this.resizing=i,this.isResizing=!0;break;case"resizemove":var o=x(this.lastW,this.lastH,n,a);this.renderRtl?i.width=this.resizing.width-o.deltaX:i.width=this.resizing.width+o.deltaX,i.height=this.resizing.height+o.deltaY,this.resizing=i;break;case"resizeend":r=this.calcPosition(this.innerX,this.innerY,this.innerW,this.innerH),i.width=r.width,i.height=r.height,this.resizing=null,this.isResizing=!1}(r=this.calcWH(i.height,i.width)).w<this.minW&&(r.w=this.minW),r.w>this.maxW&&(r.w=this.maxW),r.h<this.minH&&(r.h=this.minH),r.h>this.maxH&&(r.h=this.maxH),r.h<1&&(r.h=1),r.w<1&&(r.w=1),this.lastW=n,this.lastH=a,this.innerW===r.w&&this.innerH===r.h||this.$emit("resize",this.i,r.h,r.w,i.height,i.width),"resizeend"!==e.type||this.previousW===this.innerW&&this.previousH===this.innerH||this.$emit("resized",this.i,r.h,r.w,i.height,i.width),this.eventBus.$emit("resizeEvent",e.type,this.i,this.innerX,this.innerY,r.h,r.w)}}},handleDrag:function(e){if(!this.static&&!this.isResizing){var t=y(e);if(null!==t){var r,n=t.x,a=t.y,i={top:0,left:0};switch(e.type){case"dragstart":this.previousX=this.innerX,this.previousY=this.innerY;var o=e.target.offsetParent.getBoundingClientRect(),s=e.target.getBoundingClientRect();this.renderRtl?i.left=-1*(s.right-o.right):i.left=s.left-o.left,i.top=s.top-o.top,this.dragging=i,this.isDragging=!0;break;case"dragend":if(!this.isDragging)return;var l=e.target.offsetParent.getBoundingClientRect(),c=e.target.getBoundingClientRect();this.renderRtl?i.left=-1*(c.right-l.right):i.left=c.left-l.left,i.top=c.top-l.top,this.dragging=null,this.isDragging=!1;break;case"dragmove":var u=x(this.lastX,this.lastY,n,a);this.renderRtl?i.left=this.dragging.left-u.deltaX:i.left=this.dragging.left+u.deltaX,i.top=this.dragging.top+u.deltaY,this.dragging=i}r=(this.renderRtl,this.calcXY(i.top,i.left)),this.lastX=n,this.lastY=a,this.innerX===r.x&&this.innerY===r.y||this.$emit("move",this.i,r.x,r.y),"dragend"!==e.type||this.previousX===this.innerX&&this.previousY===this.innerY||this.$emit("moved",this.i,r.x,r.y),this.eventBus.$emit("dragEvent",e.type,this.i,r.x,r.y,this.innerH,this.innerW)}}},calcPosition:function(e,t,r,n){var a=this.calcColWidth();return this.renderRtl?{right:Math.round(a*e+(e+1)*this.margin[0]),top:Math.round(this.rowHeight*t+(t+1)*this.margin[1]),width:r===1/0?r:Math.round(a*r+Math.max(0,r-1)*this.margin[0]),height:n===1/0?n:Math.round(this.rowHeight*n+Math.max(0,n-1)*this.margin[1])}:{left:Math.round(a*e+(e+1)*this.margin[0]),top:Math.round(this.rowHeight*t+(t+1)*this.margin[1]),width:r===1/0?r:Math.round(a*r+Math.max(0,r-1)*this.margin[0]),height:n===1/0?n:Math.round(this.rowHeight*n+Math.max(0,n-1)*this.margin[1])}},calcXY:function(e,t){var r=this.calcColWidth(),n=Math.round((t-this.margin[0])/(r+this.margin[0])),a=Math.round((e-this.margin[1])/(this.rowHeight+this.margin[1]));return{x:n=Math.max(Math.min(n,this.cols-this.innerW),0),y:a=Math.max(Math.min(a,this.maxRows-this.innerH),0)}},calcColWidth:function(){return(this.containerWidth-this.margin[0]*(this.cols+1))/this.cols},calcWH:function(e,t){var r=this.calcColWidth(),n=Math.round((t+this.margin[0])/(r+this.margin[0])),a=Math.round((e+this.margin[1])/(this.rowHeight+this.margin[1]));return{w:n=Math.max(Math.min(n,this.cols-this.innerX),0),h:a=Math.max(Math.min(a,this.maxRows-this.innerY),0)}},updateWidth:function(e,t){this.containerWidth=e,null!=t&&(this.cols=t)},compact:function(){this.createStyle()},tryMakeDraggable:function(){var e=this;if(null!==this.interactObj&&void 0!==this.interactObj||(this.interactObj=T(this.$refs.item)),this.draggable&&!this.static){var t={ignoreFrom:this.dragIgnoreFrom,allowFrom:this.dragAllowFrom};this.interactObj.draggable(t),this.dragEventSet||(this.dragEventSet=!0,this.interactObj.on("dragstart dragmove dragend",(function(t){e.handleDrag(t)})))}else this.interactObj.draggable({enabled:!1})},tryMakeResizable:function(){var e=this;if(null!==this.interactObj&&void 0!==this.interactObj||(this.interactObj=T(this.$refs.item)),this.resizable&&!this.static){var t=this.calcPosition(0,0,this.maxW,this.maxH),r=this.calcPosition(0,0,this.minW,this.minH),n={preserveAspectRatio:!0,edges:{left:!1,right:"."+this.resizableHandleClass,bottom:"."+this.resizableHandleClass,top:!1},ignoreFrom:this.resizeIgnoreFrom,restrictSize:{min:{height:r.height,width:r.width},max:{height:t.height,width:t.width}}};this.interactObj.resizable(n),this.resizeEventSet||(this.resizeEventSet=!0,this.interactObj.on("resizestart resizemove resizeend",(function(t){e.handleResize(t)})))}else this.interactObj.resizable({enabled:!1})},autoSize:function(){this.previousW=this.innerW,this.previousH=this.innerH;var e=this.$slots.default[0].elm.getBoundingClientRect(),t=this.calcWH(e.height,e.width);t.w<this.minW&&(t.w=this.minW),t.w>this.maxW&&(t.w=this.maxW),t.h<this.minH&&(t.h=this.minH),t.h>this.maxH&&(t.h=this.maxH),t.h<1&&(t.h=1),t.w<1&&(t.w=1),this.innerW===t.w&&this.innerH===t.h||this.$emit("resize",this.i,t.h,t.w,e.height,e.width),this.previousW===t.w&&this.previousH===t.h||(this.$emit("resized",this.i,t.h,t.w,e.height,e.width),this.eventBus.$emit("resizeEvent","resizeend",this.i,this.innerX,this.innerY,t.h,t.w))}}};r("5ed4");function S(e,t,r,n,a,i,o,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=r,c._compiled=!0),n&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),o?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=l):a&&(l=s?function(){a.call(this,this.$root.$options.shadowRoot)}:a),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:c}}var A=S(M,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{ref:"item",staticClass:"vue-grid-item",class:this.classObj,style:this.style},[this._t("default"),this.resizableAndNotStatic?t("span",{ref:"handle",class:this.resizableHandleClass}):this._e()],2)}),[],!1,null,null,null).exports,C=(r("8e6e"),r("fca0"),r("85f2")),P=r.n(C);function O(e,t,r){return t in e?P()(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function I(e,t){if(!t[e])throw new Error("ResponsiveGridLayout: `cols` entry for breakpoint "+e+" is missing!");return t[e]}function z(e){return Object.keys(e).sort((function(t,r){return e[t]-e[r]}))}function L(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var E=r("eec4"),j={name:"GridLayout",provide:function(){return{eventBus:null}},components:{GridItem:A},props:{autoSize:{type:Boolean,default:!0},colNum:{type:Number,default:12},rowHeight:{type:Number,default:150},maxRows:{type:Number,default:1/0},margin:{type:Array,default:function(){return[10,10]}},isDraggable:{type:Boolean,default:!0},isResizable:{type:Boolean,default:!0},isMirrored:{type:Boolean,default:!1},useCssTransforms:{type:Boolean,default:!0},verticalCompact:{type:Boolean,default:!0},layout:{type:Array,required:!0},responsive:{type:Boolean,default:!1},breakpoints:{type:Object,default:function(){return{lg:1200,md:996,sm:768,xs:480,xxs:0}}},cols:{type:Object,default:function(){return{lg:12,md:10,sm:6,xs:4,xxs:2}}},preventCollision:{type:Boolean,default:!1}},data:function(){return{width:null,mergedStyle:{},lastLayoutLength:0,isDragging:!1,placeholder:{x:0,y:0,w:0,h:0,i:-1},layouts:{},lastBreakpoint:null,originalLayout:null}},created:function(){var e=this;e.resizeEventHandler=function(t,r,n,a,i,o){e.resizeEvent(t,r,n,a,i,o)},e.dragEventHandler=function(t,r,n,a,i,o){e.dragEvent(t,r,n,a,i,o)},e._provided.eventBus=new i.a,e.eventBus=e._provided.eventBus,e.eventBus.$on("resizeEvent",e.resizeEventHandler),e.eventBus.$on("dragEvent",e.dragEventHandler),e.$emit("layout-created",e.layout)},beforeDestroy:function(){var e,t;this.eventBus.$off("resizeEvent",this.resizeEventHandler),this.eventBus.$off("dragEvent",this.dragEventHandler),this.eventBus.$destroy(),e="resize",t=this.onWindowResize,_&&window.removeEventListener(e,t),this.erd.uninstall(this.$refs.item)},beforeMount:function(){this.$emit("layout-before-mount",this.layout)},mounted:function(){this.$emit("layout-mounted",this.layout),this.$nextTick((function(){!function(e,t){t=t||"Layout";var r=["x","y","w","h"];if(!Array.isArray(e))throw new Error(t+" must be an array!");for(var n=0,a=e.length;n<a;n++){for(var i=e[n],o=0;o<r.length;o++)if("number"!=typeof i[r[o]])throw new Error("VueGridLayout: "+t+"["+n+"]."+r[o]+" must be a number!");if(i.i&&i.i,void 0!==i.static&&"boolean"!=typeof i.static)throw new Error("VueGridLayout: "+t+"["+n+"].static must be a boolean!")}}(this.layout),this.originalLayout=this.layout;var e=this;this.$nextTick((function(){var t,r;e.onWindowResize(),e.initResponsiveFeatures(),t="resize",r=e.onWindowResize,_?window.addEventListener(t,r):r(),l(e.layout,e.verticalCompact),e.updateHeight(),e.$nextTick((function(){this.erd=E({strategy:"scroll",callOnAdd:!1}),this.erd.listenTo(e.$refs.item,(function(){e.onWindowResize()}))}))}))}))},watch:{width:function(e,t){var r=this;this.$nextTick((function(){var e=this;this.eventBus.$emit("updateWidth",this.width),null===t&&this.$nextTick((function(){e.$emit("layout-ready",r.layout)})),this.updateHeight()}))},layout:function(){this.layoutUpdate()},colNum:function(e){this.eventBus.$emit("setColNum",e)},rowHeight:function(){this.eventBus.$emit("setRowHeight",this.rowHeight)},isDraggable:function(){this.eventBus.$emit("setDraggable",this.isDraggable)},isResizable:function(){this.eventBus.$emit("setResizable",this.isResizable)},responsive:function(){this.responsive||(this.$emit("update:layout",this.originalLayout),this.eventBus.$emit("setColNum",this.colNum)),this.onWindowResize()},maxRows:function(){this.eventBus.$emit("setMaxRows",this.maxRows)}},methods:{layoutUpdate:function(){if(void 0!==this.layout&&null!==this.originalLayout){if(this.layout.length!==this.originalLayout.length){var e=this.findDifference(this.layout,this.originalLayout);e.length>0&&(this.layout.length>this.originalLayout.length?this.originalLayout=this.originalLayout.concat(e):this.originalLayout=this.originalLayout.filter((function(t){return!e.some((function(e){return t.i===e.i}))}))),this.lastLayoutLength=this.layout.length,this.initResponsiveFeatures()}l(this.layout,this.verticalCompact),this.eventBus.$emit("updateWidth",this.width),this.updateHeight()}},updateHeight:function(){this.mergedStyle={height:this.containerHeight()}},onWindowResize:function(){null!==this.$refs&&null!==this.$refs.item&&void 0!==this.$refs.item&&(this.width=this.$refs.item.offsetWidth),this.eventBus.$emit("resizeEvent")},containerHeight:function(){if(this.autoSize)return function(e){for(var t,r=0,n=0,a=e.length;n<a;n++)(t=e[n].y+e[n].h)>r&&(r=t);return r}(this.layout)*(this.rowHeight+this.margin[1])+this.margin[1]+"px"},dragEvent:function(e,t,r,n,a,i){var o=d(this.layout,t);null==o&&(o={x:0,y:0}),"dragmove"===e||"dragstart"===e?(this.placeholder.i=t,this.placeholder.x=o.x,this.placeholder.y=o.y,this.placeholder.w=i,this.placeholder.h=a,this.$nextTick((function(){this.isDragging=!0})),this.eventBus.$emit("updateWidth",this.width)):this.$nextTick((function(){this.isDragging=!1})),this.layout=g(this.layout,o,r,n,!0,this.preventCollision),l(this.layout,this.verticalCompact),this.eventBus.$emit("compact"),this.updateHeight(),"dragend"===e&&this.$emit("layout-updated",this.layout)},resizeEvent:function(e,t,r,n,a,i){var o,s=d(this.layout,t);if(null==s&&(s={h:0,w:0}),this.preventCollision){var c=h(this.layout,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?L(r,!0).forEach((function(t){O(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):L(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},s,{w:i,h:a})).filter((function(e){return e.i!==s.i}));if(o=c.length>0){var u=1/0,f=1/0;c.forEach((function(e){e.x>s.x&&(u=Math.min(u,e.x)),e.y>s.y&&(f=Math.min(f,e.y))})),Number.isFinite(u)&&(s.w=u-s.x),Number.isFinite(f)&&(s.h=f-s.y)}}o||(s.w=i,s.h=a),"resizestart"===e||"resizemove"===e?(this.placeholder.i=t,this.placeholder.x=r,this.placeholder.y=n,this.placeholder.w=s.w,this.placeholder.h=s.h,this.$nextTick((function(){this.isDragging=!0})),this.eventBus.$emit("updateWidth",this.width)):this.$nextTick((function(){this.isDragging=!1})),this.responsive&&this.responsiveGridLayout(),l(this.layout,this.verticalCompact),this.eventBus.$emit("compact"),this.updateHeight(),"resizeend"===e&&this.$emit("layout-updated",this.layout)},responsiveGridLayout:function(){var e=function(e,t){for(var r=z(e),n=r[0],a=1,i=r.length;a<i;a++){var o=r[a];t>e[o]&&(n=o)}return n}(this.breakpoints,this.width),t=I(e,this.cols);null==this.lastBreakpoint||this.layouts[this.lastBreakpoint]||(this.layouts[this.lastBreakpoint]=o(this.layout));var r=function(e,t,r,n,a,i,s){if(t[n])return o(t[n]);for(var c=e,d=z(r),f=d.slice(d.indexOf(n)),h=0,p=f.length;h<p;h++){var g=f[h];if(t[g]){c=t[g];break}}return l(u(c=o(c||[]),{cols:i}),s)}(this.originalLayout,this.layouts,this.breakpoints,e,this.lastBreakpoint,t,this.verticalCompact);this.layouts[e]=r,this.$emit("update:layout",r),this.lastBreakpoint=e,this.eventBus.$emit("setColNum",I(e,this.cols))},initResponsiveFeatures:function(){this.layouts={}},findDifference:function(e,t){var r=e.filter((function(e){return!t.some((function(t){return e.i===t.i}))})),n=t.filter((function(t){return!e.some((function(e){return t.i===e.i}))}));return r.concat(n)}}},D=(r("e279"),S(j,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:"item",staticClass:"vue-grid-layout",style:e.mergedStyle},[e._t("default"),r("grid-item",{directives:[{name:"show",rawName:"v-show",value:e.isDragging,expression:"isDragging"}],staticClass:"vue-grid-placeholder",attrs:{x:e.placeholder.x,y:e.placeholder.y,w:e.placeholder.w,h:e.placeholder.h,i:e.placeholder.i}})],2)}),[],!1,null,null,null).exports),R={GridLayout:D,GridItem:A};Object.keys(R).forEach((function(e){i.a.component(e,R[e])}));var N=R;r.d(t,"GridLayout",(function(){return D})),r.d(t,"GridItem",(function(){return A}));t.default=N},fb3a:function(e,t,r){e.exports=function(){var e=function(e){var t;return function(r){return t||e(t={exports:{},parent:r},t.exports),t.exports}},t=e((function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Scope=t.ActionName=void 0;var n=function(e){if(e&&e.__esModule)return e;var t=h();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}}return r.default=e,t&&t.set(e,r),r}(st),a=f(s),i=f(At),o=f(Ot),l=f(Ft),c=f(er),u=f(vr),d=f(r({}));function f(e){return e&&e.__esModule?e:{default:e}}function h(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return h=function(){return e},e}function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function g(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function v(e,t,r){return(v="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=m(e)););return e}(e,t);if(n){var a=Object.getOwnPropertyDescriptor(n,t);return a.get?a.get.call(r):a.value}})(e,t,r||e)}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function x(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function w(e,t,r){return t&&b(e.prototype,t),r&&b(e,r),e}var _,k=n.win,T=n.browser,M=n.raf,S=n.Signals,A=n.events;t.ActionName=_,_||(t.ActionName=_={});var C=function(){function e(){var t=this;x(this,e),this.id="__interact_scope_".concat(Math.floor(100*Math.random())),this.signals=new S,this.browser=T,this.events=A,this.utils=n,this.defaults=n.clone(i.default),this.Eventable=o.default,this.actions={names:[],methodDict:{},eventTypes:[]},this.InteractEvent=u.default,this.interactables=new c.default(this),this.documents=[],this._plugins=[],this._pluginMap={},this.onWindowUnload=function(e){return t.removeDocument(e.target)};var r=this;this.Interactable=function(e){function t(){return x(this,t),g(this,m(t).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(t,e),w(t,[{key:"set",value:function(e){return v(m(t.prototype),"set",this).call(this,e),r.interactables.signals.fire("set",{options:e,interactable:this}),this}},{key:"unset",value:function(){v(m(t.prototype),"unset",this).call(this);for(var e=r.interactions.list.length-1;e>=0;e--){var n=r.interactions.list[e];n.interactable===this&&(n.stop(),r.interactions.signals.fire("destroy",{interaction:n}),n.destroy(),r.interactions.list.length>2&&r.interactions.list.splice(e,1))}r.interactables.signals.fire("unset",{interactable:this})}},{key:"_defaults",get:function(){return r.defaults}}]),t}(l.default)}return w(e,[{key:"init",value:function(e){return P(this,e)}},{key:"pluginIsInstalled",value:function(e){return this._pluginMap[e.id]||-1!==this._plugins.indexOf(e)}},{key:"usePlugin",value:function(e,t){return this.pluginIsInstalled(e)||(e.id&&(this._pluginMap[e.id]=e),e.install(this,t),this._plugins.push(e)),this}},{key:"addDocument",value:function(e,t){if(-1!==this.getDocIndex(e))return!1;var r=k.getWindow(e);t=t?n.extend({},t):{},this.documents.push({doc:e,options:t}),A.documents.push(e),e!==this.document&&A.add(r,"unload",this.onWindowUnload),this.signals.fire("add-document",{doc:e,window:r,scope:this,options:t})}},{key:"removeDocument",value:function(e){var t=this.getDocIndex(e),r=k.getWindow(e),n=this.documents[t].options;A.remove(r,"unload",this.onWindowUnload),this.documents.splice(t,1),A.documents.splice(t,1),this.signals.fire("remove-document",{doc:e,window:r,scope:this,options:n})}},{key:"getDocIndex",value:function(e){for(var t=0;t<this.documents.length;t++)if(this.documents[t].doc===e)return t;return-1}},{key:"getDocOptions",value:function(e){var t=this.getDocIndex(e);return-1===t?null:this.documents[t].options}},{key:"now",value:function(){return(this.window.Date||Date).now()}}]),e}();function P(e,t){return k.init(t),a.default.init(t),T.init(t),M.init(t),A.init(t),e.usePlugin(d.default),e.document=t.document,e.window=t,e}t.Scope=C})),r=e((function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(S),a=d(s),i=d(he),o=d(re),l=d(at),c=d(n({})),u=d(Er);function d(e){return e&&e.__esModule?e:{default:e}}function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var r=[],n=!0,a=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){a=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(a)throw i}}return r}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var x=["pointerDown","pointerMove","pointerUp","updatePointer","removePointer","windowBlur"];function b(e,t){return function(n){var a=t.interactions.list,i=o.default.getPointerType(n),s=h(o.default.getEventTargets(n),2),l=s[0],c=s[1],u=[];if(/^touch/.test(n.type)){t.prevTouchTime=t.now();for(var d=0;d<n.changedTouches.length;d++){var f=n.changedTouches[d],p={pointer:f,pointerId:o.default.getPointerId(f),pointerType:i,eventType:n.type,eventTarget:l,curEventTarget:c,scope:t},g=w(p);u.push([p.pointer,p.eventTarget,p.curEventTarget,g])}}else{var v=!1;if(!r.default.supportsPointerEvent&&/mouse/.test(n.type)){for(var m=0;m<a.length&&!v;m++)v="mouse"!==a[m].pointerType&&a[m].pointerIsDown;v=v||t.now()-t.prevTouchTime<500||0===n.timeStamp}if(!v){var y={pointer:n,pointerId:o.default.getPointerId(n),pointerType:i,eventType:n.type,curEventTarget:c,eventTarget:l,scope:t},x=w(y);u.push([y.pointer,y.eventTarget,y.curEventTarget,x])}}for(var b=0;b<u.length;b++){var _=h(u[b],4),k=_[0],T=_[1],M=_[2];_[3][e](k,n,T,M)}}}function w(e){var t=e.pointerType,r=e.scope,n={interaction:u.default.search(e),searchDetails:e};return r.interactions.signals.fire("find",n),n.interaction||r.interactions.new({pointerType:t})}function _(e,t){var r=e.doc,n=e.scope,a=e.options,o=n.interactions.docEvents,s=0===t.indexOf("add")?i.default.add:i.default.remove;for(var l in n.browser.isIOS&&!a.events&&(a.events={passive:!1}),i.default.delegatedEvents)s(r,l,i.default.delegateListener),s(r,l,i.default.delegateUseCapture,!0);for(var c=a&&a.events,u=0;u<o.length;u++){var d=o[u];s(r,d.type,d.listener,c)}}var k={id:"core/interactions",install:function(e){for(var t=new l.default,n={},i=0;i<x.length;i++){var o=x[i];n[o]=b(o,e)}var s,u=r.default.pEventTypes;function d(){for(var t=0;t<e.interactions.list.length;t++){var r=e.interactions.list[t];if(r.pointerIsDown&&"touch"===r.pointerType&&!r._interacting)for(var n=function(){var t=r.pointers[a];e.documents.some((function(e){var r=e.doc;return(0,E.nodeContains)(r,t.downTarget)}))||r.removePointer(t.pointer,t.event)},a=0;a<r.pointers.length;a++)n()}}(s=a.default.PointerEvent?[{type:u.down,listener:d},{type:u.down,listener:n.pointerDown},{type:u.move,listener:n.pointerMove},{type:u.up,listener:n.pointerUp},{type:u.cancel,listener:n.pointerUp}]:[{type:"mousedown",listener:n.pointerDown},{type:"mousemove",listener:n.pointerMove},{type:"mouseup",listener:n.pointerUp},{type:"touchstart",listener:d},{type:"touchstart",listener:n.pointerDown},{type:"touchmove",listener:n.pointerMove},{type:"touchend",listener:n.pointerUp},{type:"touchcancel",listener:n.pointerUp}]).push({type:"blur",listener:function(t){for(var r=0;r<e.interactions.list.length;r++)e.interactions.list[r].documentBlur(t)}}),e.signals.on("add-document",_),e.signals.on("remove-document",_),e.prevTouchTime=0,e.Interaction=function(t){function r(){return p(this,r),v(this,m(r).apply(this,arguments))}var n,a,i;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(r,t),n=r,(a=[{key:"_now",value:function(){return e.now()}},{key:"pointerMoveTolerance",get:function(){return e.interactions.pointerMoveTolerance},set:function(t){e.interactions.pointerMoveTolerance=t}}])&&g(n.prototype,a),i&&g(n,i),r}(c.default),e.interactions={signals:t,list:[],new:function(r){r.signals=t;var n=new e.Interaction(r);return e.interactions.list.push(n),n},listeners:n,docEvents:s,pointerMoveTolerance:1}},onDocSignal:_,doOnInteractions:b,methodNames:x};t.default=k})),n=e((function(e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"PointerInfo",{enumerable:!0,get:function(){return l.default}}),r.default=r.Interaction=r._ProxyMethods=r._ProxyValues=void 0;var n,a,i,o=d(st),s=d(vr),l=(n=Ir)&&n.__esModule?n:{default:n},c=t({});function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function d(e){if(e&&e.__esModule)return e;var t=u();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}}return r.default=e,t&&t.set(e,r),r}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}r._ProxyValues=a,function(e){e.interactable="",e.element="",e.prepared="",e.pointerIsDown="",e.pointerWasMoved="",e._proxy=""}(a||(r._ProxyValues=a={})),r._ProxyMethods=i,function(e){e.start="",e.move="",e.end="",e.stop="",e.interacting=""}(i||(r._ProxyMethods=i={}));var h=function(){function e(t){var r=this,n=t.pointerType,s=t.signals;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.interactable=null,this.element=null,this.prepared={name:null,axis:null,edges:null},this.pointers=[],this.downEvent=null,this.downPointer={},this._latestPointer={pointer:null,event:null,eventTarget:null},this.prevEvent=null,this.pointerIsDown=!1,this.pointerWasMoved=!1,this._interacting=!1,this._ending=!1,this._stopped=!0,this._proxy=null,this.simulation=null,this.doMove=o.warnOnce((function(e){this.move(e)}),"The interaction.doMove() method has been renamed to interaction.move()"),this.coords={start:o.pointer.newCoords(),prev:o.pointer.newCoords(),cur:o.pointer.newCoords(),delta:o.pointer.newCoords(),velocity:o.pointer.newCoords()},this._signals=s,this.pointerType=n;var l=this;this._proxy={};var c=function(e){Object.defineProperty(r._proxy,e,{get:function(){return l[e]}})};for(var u in a)c(u);var d=function(e){Object.defineProperty(r._proxy,e,{value:function(){return l[e].apply(l,arguments)}})};for(var f in i)d(f);this._signals.fire("new",{interaction:this})}var t,r,n;return t=e,(r=[{key:"pointerDown",value:function(e,t,r){var n=this.updatePointer(e,t,r,!0);this._signals.fire("down",{pointer:e,event:t,eventTarget:r,pointerIndex:n,interaction:this})}},{key:"start",value:function(e,t,r){return!(this.interacting()||!this.pointerIsDown||this.pointers.length<(e.name===c.ActionName.Gesture?2:1)||!t.options[e.name].enabled)&&(o.copyAction(this.prepared,e),this.interactable=t,this.element=r,this.rect=t.getRect(r),this.edges=this.prepared.edges,this._stopped=!1,this._interacting=this._doPhase({interaction:this,event:this.downEvent,phase:s.EventPhase.Start})&&!this._stopped,this._interacting)}},{key:"pointerMove",value:function(e,t,r){this.simulation||this.modifiers&&this.modifiers.endPrevented||(this.updatePointer(e,t,r,!1),o.pointer.setCoords(this.coords.cur,this.pointers.map((function(e){return e.pointer})),this._now()));var n,a,i=this.coords.cur.page.x===this.coords.prev.page.x&&this.coords.cur.page.y===this.coords.prev.page.y&&this.coords.cur.client.x===this.coords.prev.client.x&&this.coords.cur.client.y===this.coords.prev.client.y;this.pointerIsDown&&!this.pointerWasMoved&&(n=this.coords.cur.client.x-this.coords.start.client.x,a=this.coords.cur.client.y-this.coords.start.client.y,this.pointerWasMoved=o.hypot(n,a)>this.pointerMoveTolerance);var s={pointer:e,pointerIndex:this.getPointerIndex(e),event:t,eventTarget:r,dx:n,dy:a,duplicate:i,interaction:this};i||(o.pointer.setCoordDeltas(this.coords.delta,this.coords.prev,this.coords.cur),o.pointer.setCoordVelocity(this.coords.velocity,this.coords.delta)),this._signals.fire("move",s),i||(this.interacting()&&this.move(s),this.pointerWasMoved&&o.pointer.copyCoords(this.coords.prev,this.coords.cur))}},{key:"move",value:function(e){(e=o.extend({pointer:this._latestPointer.pointer,event:this._latestPointer.event,eventTarget:this._latestPointer.eventTarget,interaction:this},e||{})).phase=s.EventPhase.Move,this._doPhase(e)}},{key:"pointerUp",value:function(e,t,r,n){var a=this.getPointerIndex(e);-1===a&&(a=this.updatePointer(e,t,r,!1)),this._signals.fire(/cancel$/i.test(t.type)?"cancel":"up",{pointer:e,pointerIndex:a,event:t,eventTarget:r,curEventTarget:n,interaction:this}),this.simulation||this.end(t),this.pointerIsDown=!1,this.removePointer(e,t)}},{key:"documentBlur",value:function(e){this.end(e),this._signals.fire("blur",{event:e,interaction:this})}},{key:"end",value:function(e){var t;this._ending=!0,e=e||this._latestPointer.event,this.interacting()&&(t=this._doPhase({event:e,interaction:this,phase:s.EventPhase.End})),this._ending=!1,!0===t&&this.stop()}},{key:"currentAction",value:function(){return this._interacting?this.prepared.name:null}},{key:"interacting",value:function(){return this._interacting}},{key:"stop",value:function(){this._signals.fire("stop",{interaction:this}),this.interactable=this.element=null,this._interacting=!1,this._stopped=!0,this.prepared.name=this.prevEvent=null}},{key:"getPointerIndex",value:function(e){var t=o.pointer.getPointerId(e);return"mouse"===this.pointerType||"pen"===this.pointerType?this.pointers.length-1:o.arr.findIndex(this.pointers,(function(e){return e.id===t}))}},{key:"getPointerInfo",value:function(e){return this.pointers[this.getPointerIndex(e)]}},{key:"updatePointer",value:function(e,t,r,n){var a=o.pointer.getPointerId(e),i=this.getPointerIndex(e),s=this.pointers[i];return n=!1!==n&&(n||/(down|start)$/i.test(t.type)),s?s.pointer=e:(s=new l.default(a,e,t,null,null),i=this.pointers.length,this.pointers.push(s)),n&&(this.pointerIsDown=!0,this.interacting()||(o.pointer.setCoords(this.coords.start,this.pointers.map((function(e){return e.pointer})),this._now()),o.pointer.copyCoords(this.coords.cur,this.coords.start),o.pointer.copyCoords(this.coords.prev,this.coords.start),o.pointer.pointerExtend(this.downPointer,e),this.downEvent=t,s.downTime=this.coords.cur.timeStamp,s.downTarget=r,this.pointerWasMoved=!1)),this._updateLatestPointer(e,t,r),this._signals.fire("update-pointer",{pointer:e,event:t,eventTarget:r,down:n,pointerInfo:s,pointerIndex:i,interaction:this}),i}},{key:"removePointer",value:function(e,t){var r=this.getPointerIndex(e);if(-1!==r){var n=this.pointers[r];this._signals.fire("remove-pointer",{pointer:e,event:t,pointerIndex:r,pointerInfo:n,interaction:this}),this.pointers.splice(r,1)}}},{key:"_updateLatestPointer",value:function(e,t,r){this._latestPointer.pointer=e,this._latestPointer.event=t,this._latestPointer.eventTarget=r}},{key:"destroy",value:function(){this._latestPointer.pointer=null,this._latestPointer.event=null,this._latestPointer.eventTarget=null}},{key:"_createPreparedEvent",value:function(e,t,r,n){var a=this.prepared.name;return new s.default(this,e,a,t,this.element,null,r,n)}},{key:"_fireEvent",value:function(e){this.interactable.fire(e),(!this.prevEvent||e.timeStamp>=this.prevEvent.timeStamp)&&(this.prevEvent=e)}},{key:"_doPhase",value:function(e){var t=e.event,r=e.phase,n=e.preEnd,a=e.type;if(!1===this._signals.fire("before-action-".concat(r),e))return!1;var i=e.iEvent=this._createPreparedEvent(t,r,n,a),o=this.rect;if(o){var s=this.edges||this.prepared.edges||{left:!0,right:!0,top:!0,bottom:!0};s.top&&(o.top+=i.delta.y),s.bottom&&(o.bottom+=i.delta.y),s.left&&(o.left+=i.delta.x),s.right&&(o.right+=i.delta.x),o.width=o.right-o.left,o.height=o.bottom-o.top}return this._signals.fire("action-".concat(r),e),this._fireEvent(i),this._signals.fire("after-action-".concat(r),e),!0}},{key:"_now",value:function(){return Date.now()}},{key:"pointerMoveTolerance",get:function(){return 1}}])&&f(t.prototype,r),n&&f(t,n),e}();r.Interaction=h;var p=h;r.default=p})),a={};function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];e.push(n)}return e}function o(e,t){for(var r=0;r<e.length;r++)if(t(e[r],r,e))return r;return-1}Object.defineProperty(a,"__esModule",{value:!0}),a.contains=function(e,t){return-1!==e.indexOf(t)},a.remove=function(e,t){return e.splice(e.indexOf(t),1)},a.merge=i,a.from=function(e){return i([],e)},a.findIndex=o,a.find=function(e,t){return e[o(e,t)]};var s={};Object.defineProperty(s,"__esModule",{value:!0}),s.default=void 0;var l={init:function(e){var t=e;l.document=t.document,l.DocumentFragment=t.DocumentFragment||c,l.SVGElement=t.SVGElement||c,l.SVGSVGElement=t.SVGSVGElement||c,l.SVGElementInstance=t.SVGElementInstance||c,l.Element=t.Element||c,l.HTMLElement=t.HTMLElement||l.Element,l.Event=t.Event,l.Touch=t.Touch||c,l.PointerEvent=t.PointerEvent||t.MSPointerEvent},document:null,DocumentFragment:null,SVGElement:null,SVGSVGElement:null,SVGElementInstance:null,Element:null,HTMLElement:null,Event:null,Touch:null,PointerEvent:null};function c(){}var u=l;s.default=u;var d={};Object.defineProperty(d,"__esModule",{value:!0}),d.default=void 0,d.default=function(e){return!(!e||!e.Window)&&e instanceof e.Window};var f={};Object.defineProperty(f,"__esModule",{value:!0}),f.init=v,f.getWindow=m,f.default=void 0;var h,p=(h=d)&&h.__esModule?h:{default:h},g={realWindow:void 0,window:void 0,getWindow:m,init:v};function v(e){g.realWindow=e;var t=e.document.createTextNode("");t.ownerDocument!==e.document&&"function"==typeof e.wrap&&e.wrap(t)===t&&(e=e.wrap(e)),g.window=e}function m(e){return(0,p.default)(e)?e:(e.ownerDocument||e).defaultView||g.window}"undefined"==typeof window?(g.window=void 0,g.realWindow=void 0):v(window),g.init=v;var y=g;f.default=y;var x={};Object.defineProperty(x,"__esModule",{value:!0}),x.array=x.plainObject=x.element=x.string=x.bool=x.number=x.func=x.object=x.docFrag=x.window=void 0;var b=_(d),w=_(f);function _(e){return e&&e.__esModule?e:{default:e}}function k(e){return(k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}x.window=function(e){return e===w.default.window||(0,b.default)(e)},x.docFrag=function(e){return T(e)&&11===e.nodeType};var T=function(e){return!!e&&"object"===k(e)};x.object=T;var M=function(e){return"function"==typeof e};x.func=M,x.number=function(e){return"number"==typeof e},x.bool=function(e){return"boolean"==typeof e},x.string=function(e){return"string"==typeof e},x.element=function(e){if(!e||"object"!==k(e))return!1;var t=w.default.getWindow(e)||w.default.window;return/object|function/.test(k(t.Element))?e instanceof t.Element:1===e.nodeType&&"string"==typeof e.nodeName},x.plainObject=function(e){return T(e)&&!!e.constructor&&/function Object\b/.test(e.constructor.toString())},x.array=function(e){return T(e)&&void 0!==e.length&&M(e.splice)};var S={};Object.defineProperty(S,"__esModule",{value:!0}),S.default=void 0;var A=I(s),C=function(e){if(e&&e.__esModule)return e;var t=O();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}}return r.default=e,t&&t.set(e,r),r}(x),P=I(f);function O(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return O=function(){return e},e}function I(e){return e&&e.__esModule?e:{default:e}}var z={init:function(e){var t=A.default.Element,r=P.default.window.navigator;z.supportsTouch="ontouchstart"in e||C.func(e.DocumentTouch)&&A.default.document instanceof e.DocumentTouch,z.supportsPointerEvent=!1!==r.pointerEnabled&&!!A.default.PointerEvent,z.isIOS=/iP(hone|od|ad)/.test(r.platform),z.isIOS7=/iP(hone|od|ad)/.test(r.platform)&&/OS 7[^\d]/.test(r.appVersion),z.isIe9=/MSIE 9/.test(r.userAgent),z.isOperaMobile="Opera"===r.appName&&z.supportsTouch&&/Presto/.test(r.userAgent),z.prefixedMatchesSelector="matches"in t.prototype?"matches":"webkitMatchesSelector"in t.prototype?"webkitMatchesSelector":"mozMatchesSelector"in t.prototype?"mozMatchesSelector":"oMatchesSelector"in t.prototype?"oMatchesSelector":"msMatchesSelector",z.pEventTypes=z.supportsPointerEvent?A.default.PointerEvent===e.MSPointerEvent?{up:"MSPointerUp",down:"MSPointerDown",over:"mouseover",out:"mouseout",move:"MSPointerMove",cancel:"MSPointerCancel"}:{up:"pointerup",down:"pointerdown",over:"pointerover",out:"pointerout",move:"pointermove",cancel:"pointercancel"}:null,z.wheelEvent="onmousewheel"in A.default.document?"mousewheel":"wheel"},supportsTouch:null,supportsPointerEvent:null,isIOS7:null,isIOS:null,isIe9:null,isOperaMobile:null,prefixedMatchesSelector:null,pEventTypes:null,wheelEvent:null},L=z;S.default=L;var E={};Object.defineProperty(E,"__esModule",{value:!0}),E.nodeContains=function(e,t){for(;t;){if(t===e)return!0;t=t.parentNode}return!1},E.closest=function(e,t){for(;R.element(e);){if(G(e,t))return e;e=V(e)}return null},E.parentNode=V,E.matchesSelector=G,E.indexOfDeepestElement=function(e){var t,r,n=[],a=e[0],i=a?0:-1;for(t=1;t<e.length;t++){var o=e[t];if(o&&o!==a)if(a){if(o.parentNode!==o.ownerDocument)if(a.parentNode!==o.ownerDocument)if(o.parentNode!==a.parentNode){if(!n.length)for(var s=a,l=void 0;(l=Z(s))&&l!==s.ownerDocument;)n.unshift(s),s=l;var c=void 0;if(a instanceof D.default.HTMLElement&&o instanceof D.default.SVGElement&&!(o instanceof D.default.SVGSVGElement)){if(o===a.parentNode)continue;c=o.ownerSVGElement}else c=o;for(var u=[];c.parentNode!==c.ownerDocument;)u.unshift(c),c=Z(c);for(r=0;u[r]&&u[r]===n[r];)r++;for(var d=[u[r-1],u[r],n[r]],f=d[0].lastChild;f;){if(f===d[1]){a=o,i=t,n=u;break}if(f===d[2])break;f=f.previousSibling}}else{var h=parseInt((0,N.getWindow)(a).getComputedStyle(a).zIndex,10)||0;(parseInt((0,N.getWindow)(o).getComputedStyle(o).zIndex,10)||0)>=h&&(a=o,i=t)}else a=o,i=t}else a=o,i=t}return i},E.matchesUpTo=function(e,t,r){for(;R.element(e);){if(G(e,t))return!0;if((e=V(e))===r)return G(e,t)}return!1},E.getActualElement=function(e){return e instanceof D.default.SVGElementInstance?e.correspondingUseElement:e},E.getScrollXY=q,E.getElementClientRect=U,E.getElementRect=function(e){var t=U(e);if(!j.default.isIOS7&&t){var r=q(N.default.getWindow(e));t.left+=r.x,t.right+=r.x,t.top+=r.y,t.bottom+=r.y}return t},E.getPath=function(e){for(var t=[];e;)t.push(e),e=V(e);return t},E.trySelector=function(e){return!!R.string(e)&&(D.default.document.querySelector(e),!0)};var j=H(S),D=H(s),R=B(x),N=B(f);function F(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return F=function(){return e},e}function B(e){if(e&&e.__esModule)return e;var t=F();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}}return r.default=e,t&&t.set(e,r),r}function H(e){return e&&e.__esModule?e:{default:e}}function V(e){var t=e.parentNode;if(R.docFrag(t)){for(;(t=t.host)&&R.docFrag(t););return t}return t}function G(e,t){return N.default.window!==N.default.realWindow&&(t=t.replace(/\/deep\//g," ")),e[j.default.prefixedMatchesSelector](t)}var Z=function(e){return e.parentNode?e.parentNode:e.host};function q(e){return{x:(e=e||N.default.window).scrollX||e.document.documentElement.scrollLeft,y:e.scrollY||e.document.documentElement.scrollTop}}function U(e){var t=e instanceof D.default.SVGElement?e.getBoundingClientRect():e.getClientRects()[0];return t&&{left:t.left,right:t.right,top:t.top,bottom:t.bottom,width:t.width||t.right-t.left,height:t.height||t.bottom-t.top}}var W={};Object.defineProperty(W,"__esModule",{value:!0}),W.default=function e(t){var r={};for(var n in t){var a=t[n];X.plainObject(a)?r[n]=e(a):X.array(a)?r[n]=Y.from(a):r[n]=a}return r};var Y=J(a),X=J(x);function $(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return $=function(){return e},e}function J(e){if(e&&e.__esModule)return e;var t=$();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}}return r.default=e,t&&t.set(e,r),r}var K={};function Q(e,t){for(var r in t){var n=Q.prefixedPropREs,a=!1;for(var i in n)if(0===r.indexOf(i)&&n[i].test(r)){a=!0;break}a||"function"==typeof t[r]||(e[r]=t[r])}return e}Object.defineProperty(K,"__esModule",{value:!0}),K.default=void 0,Q.prefixedPropREs={webkit:/(Movement[XY]|Radius[XY]|RotationAngle|Force)$/,moz:/(Pressure)$/};var ee=Q;K.default=ee;var te={};Object.defineProperty(te,"__esModule",{value:!0}),te.default=void 0,te.default=function(e,t){return Math.sqrt(e*e+t*t)};var re={};Object.defineProperty(re,"__esModule",{value:!0}),re.default=void 0;var ne=ue(S),ae=ue(s),ie=ce(E),oe=ue(te),se=ce(x);function le(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return le=function(){return e},e}function ce(e){if(e&&e.__esModule)return e;var t=le();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}}return r.default=e,t&&t.set(e,r),r}function ue(e){return e&&e.__esModule?e:{default:e}}var de={copyCoords:function(e,t){e.page=e.page||{},e.page.x=t.page.x,e.page.y=t.page.y,e.client=e.client||{},e.client.x=t.client.x,e.client.y=t.client.y,e.timeStamp=t.timeStamp},setCoordDeltas:function(e,t,r){e.page.x=r.page.x-t.page.x,e.page.y=r.page.y-t.page.y,e.client.x=r.client.x-t.client.x,e.client.y=r.client.y-t.client.y,e.timeStamp=r.timeStamp-t.timeStamp},setCoordVelocity:function(e,t){var r=Math.max(t.timeStamp/1e3,.001);e.page.x=t.page.x/r,e.page.y=t.page.y/r,e.client.x=t.client.x/r,e.client.y=t.client.y/r,e.timeStamp=r},isNativePointer:function(e){return e instanceof ae.default.Event||e instanceof ae.default.Touch},getXY:function(e,t,r){return e=e||"page",(r=r||{}).x=t[e+"X"],r.y=t[e+"Y"],r},getPageXY:function(e,t){return t=t||{x:0,y:0},ne.default.isOperaMobile&&de.isNativePointer(e)?(de.getXY("screen",e,t),t.x+=window.scrollX,t.y+=window.scrollY):de.getXY("page",e,t),t},getClientXY:function(e,t){return t=t||{},ne.default.isOperaMobile&&de.isNativePointer(e)?de.getXY("screen",e,t):de.getXY("client",e,t),t},getPointerId:function(e){return se.number(e.pointerId)?e.pointerId:e.identifier},setCoords:function(e,t,r){var n=t.length>1?de.pointerAverage(t):t[0],a={};de.getPageXY(n,a),e.page.x=a.x,e.page.y=a.y,de.getClientXY(n,a),e.client.x=a.x,e.client.y=a.y,e.timeStamp=r},pointerExtend:ue(K).default,getTouchPair:function(e){var t=[];return se.array(e)?(t[0]=e[0],t[1]=e[1]):"touchend"===e.type?1===e.touches.length?(t[0]=e.touches[0],t[1]=e.changedTouches[0]):0===e.touches.length&&(t[0]=e.changedTouches[0],t[1]=e.changedTouches[1]):(t[0]=e.touches[0],t[1]=e.touches[1]),t},pointerAverage:function(e){for(var t={pageX:0,pageY:0,clientX:0,clientY:0,screenX:0,screenY:0},r=0;r<e.length;r++){var n=e[r];for(var a in t)t[a]+=n[a]}for(var i in t)t[i]/=e.length;return t},touchBBox:function(e){if(!(e.length||e.touches&&e.touches.length>1))return null;var t=de.getTouchPair(e),r=Math.min(t[0].pageX,t[1].pageX),n=Math.min(t[0].pageY,t[1].pageY),a=Math.max(t[0].pageX,t[1].pageX),i=Math.max(t[0].pageY,t[1].pageY);return{x:r,y:n,left:r,top:n,right:a,bottom:i,width:a-r,height:i-n}},touchDistance:function(e,t){var r=t+"X",n=t+"Y",a=de.getTouchPair(e),i=a[0][r]-a[1][r],o=a[0][n]-a[1][n];return(0,oe.default)(i,o)},touchAngle:function(e,t){var r=t+"X",n=t+"Y",a=de.getTouchPair(e),i=a[1][r]-a[0][r],o=a[1][n]-a[0][n];return 180*Math.atan2(o,i)/Math.PI},getPointerType:function(e){return se.string(e.pointerType)?e.pointerType:se.number(e.pointerType)?[void 0,void 0,"touch","pen","mouse"][e.pointerType]:/touch/.test(e.type)||e instanceof ae.default.Touch?"touch":"mouse"},getEventTargets:function(e){var t=se.func(e.composedPath)?e.composedPath():e.path;return[ie.getActualElement(t?t[0]:e.target),ie.getActualElement(e.currentTarget)]},newCoords:function(){return{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0}},coordsToEvent:function(e){return{coords:e,get page(){return this.coords.page},get client(){return this.coords.client},get timeStamp(){return this.coords.timeStamp},get pageX(){return this.coords.page.x},get pageY(){return this.coords.page.y},get clientX(){return this.coords.client.x},get clientY(){return this.coords.client.y},get pointerId(){return this.coords.pointerId},get target(){return this.coords.target},get type(){return this.coords.type},get pointerType(){return this.coords.pointerType},get buttons(){return this.coords.buttons}}}},fe=de;re.default=fe;var he={};Object.defineProperty(he,"__esModule",{value:!0}),he.default=he.FakeEvent=void 0;var pe=be(E),ge=be(x),ve=ye(K),me=ye(re);function ye(e){return e&&e.__esModule?e:{default:e}}function xe(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return xe=function(){return e},e}function be(e){if(e&&e.__esModule)return e;var t=xe();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}}return r.default=e,t&&t.set(e,r),r}function we(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _e(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var r=[],n=!0,a=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){a=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(a)throw i}}return r}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var ke=[],Te=[],Me={},Se=[];function Ae(e,t,r,n){var i=Ie(n),o=ke.indexOf(e),s=Te[o];s||(s={events:{},typeCount:0},o=ke.push(e)-1,Te.push(s)),s.events[t]||(s.events[t]=[],s.typeCount++),(0,a.contains)(s.events[t],r)||(e.addEventListener(t,r,Le.supportsOptions?i:!!i.capture),s.events[t].push(r))}function Ce(e,t,r,n){var a=Ie(n),i=ke.indexOf(e),o=Te[i];if(o&&o.events)if("all"!==t){if(o.events[t]){var s=o.events[t].length;if("all"===r){for(var l=0;l<s;l++)Ce(e,t,o.events[t][l],a);return}for(var c=0;c<s;c++)if(o.events[t][c]===r){e.removeEventListener(t,r,Le.supportsOptions?a:!!a.capture),o.events[t].splice(c,1);break}o.events[t]&&0===o.events[t].length&&(o.events[t]=null,o.typeCount--)}o.typeCount||(Te.splice(i,1),ke.splice(i,1))}else for(t in o.events)o.events.hasOwnProperty(t)&&Ce(e,t,"all")}function Pe(e,t){for(var r=Ie(t),n=new ze(e),a=Me[e.type],i=_e(me.default.getEventTargets(e),1)[0],o=i;ge.element(o);){for(var s=0;s<a.selectors.length;s++){var l=a.selectors[s],c=a.contexts[s];if(pe.matchesSelector(o,l)&&pe.nodeContains(c,i)&&pe.nodeContains(c,o)){var u=a.listeners[s];n.currentTarget=o;for(var d=0;d<u.length;d++){var f=_e(u[d],3),h=f[0],p=f[1],g=f[2];p===!!r.capture&&g===r.passive&&h(n)}}}o=pe.parentNode(o)}}function Oe(e){return Pe.call(this,e,!0)}function Ie(e){return ge.object(e)?e:{capture:e}}var ze=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.originalEvent=t,(0,ve.default)(this,t)}var t,r,n;return t=e,(r=[{key:"preventOriginalDefault",value:function(){this.originalEvent.preventDefault()}},{key:"stopPropagation",value:function(){this.originalEvent.stopPropagation()}},{key:"stopImmediatePropagation",value:function(){this.originalEvent.stopImmediatePropagation()}}])&&we(t.prototype,r),n&&we(t,n),e}();he.FakeEvent=ze;var Le={add:Ae,remove:Ce,addDelegate:function(e,t,r,n,a){var i=Ie(a);if(!Me[r]){Me[r]={contexts:[],listeners:[],selectors:[]};for(var o=0;o<Se.length;o++){var s=Se[o];Ae(s,r,Pe),Ae(s,r,Oe,!0)}}var l,c=Me[r];for(l=c.selectors.length-1;l>=0&&(c.selectors[l]!==e||c.contexts[l]!==t);l--);-1===l&&(l=c.selectors.length,c.selectors.push(e),c.contexts.push(t),c.listeners.push([])),c.listeners[l].push([n,!!i.capture,i.passive])},removeDelegate:function(e,t,r,n,a){var i,o=Ie(a),s=Me[r],l=!1;if(s)for(i=s.selectors.length-1;i>=0;i--)if(s.selectors[i]===e&&s.contexts[i]===t){for(var c=s.listeners[i],u=c.length-1;u>=0;u--){var d=_e(c[u],3),f=d[0],h=d[1],p=d[2];if(f===n&&h===!!o.capture&&p===o.passive){c.splice(u,1),c.length||(s.selectors.splice(i,1),s.contexts.splice(i,1),s.listeners.splice(i,1),Ce(t,r,Pe),Ce(t,r,Oe,!0),s.selectors.length||(Me[r]=null)),l=!0;break}}if(l)break}},delegateListener:Pe,delegateUseCapture:Oe,delegatedEvents:Me,documents:Se,supportsOptions:!1,supportsPassive:!1,_elements:ke,_targets:Te,init:function(e){e.document.createElement("div").addEventListener("test",null,{get capture(){return Le.supportsOptions=!0},get passive(){return Le.supportsPassive=!0}})}},Ee=Le;he.default=Ee;var je={};Object.defineProperty(je,"__esModule",{value:!0}),je.default=function(e,t){for(var r in t)e[r]=t[r];return e};var De={};Object.defineProperty(De,"__esModule",{value:!0}),De.getStringOptionResult=He,De.resolveRectLike=Ve,De.rectToXY=Ge,De.xywhToTlbr=Ze,De.tlbrToXywh=qe,De.default=void 0;var Re=function(e){return e&&e.__esModule?e:{default:e}}(je),Ne=function(e){if(e&&e.__esModule)return e;var t=Fe();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}}return r.default=e,t&&t.set(e,r),r}(x);function Fe(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return Fe=function(){return e},e}function Be(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function He(e,t,r){return"parent"===e?(0,E.parentNode)(r):"self"===e?t.getRect(r):(0,E.closest)(r,e)}function Ve(e,t,r,n){return Ne.string(e)?e=He(e,t,r):Ne.func(e)&&(e=e.apply(void 0,Be(n))),Ne.element(e)&&(e=(0,E.getElementRect)(e)),e}function Ge(e){return e&&{x:"x"in e?e.x:e.left,y:"y"in e?e.y:e.top}}function Ze(e){return!e||"left"in e&&"top"in e||((e=(0,Re.default)({},e)).left=e.x||0,e.top=e.y||0,e.right=e.right||e.left+e.width,e.bottom=e.bottom||e.top+e.height),e}function qe(e){return!e||"x"in e&&"y"in e||((e=(0,Re.default)({},e)).x=e.left||0,e.y=e.top||0,e.width=e.width||e.right-e.x,e.height=e.height||e.bottom-e.y),e}var Ue={getStringOptionResult:He,resolveRectLike:Ve,rectToXY:Ge,xywhToTlbr:Ze,tlbrToXywh:qe};De.default=Ue;var We={};Object.defineProperty(We,"__esModule",{value:!0}),We.default=function(e,t,r){var n=e.options[r],a=n&&n.origin||e.options.origin,i=(0,De.resolveRectLike)(a,e,t,[e&&t]);return(0,De.rectToXY)(i)||{x:0,y:0}};var Ye={};Object.defineProperty(Ye,"__esModule",{value:!0}),Ye.default=function e(t,r,n){if(n=n||{},$e.string(t)&&-1!==t.search(" ")&&(t=Ke(t)),$e.array(t))return t.reduce((function(t,a){return(0,Xe.default)(t,e(a,r,n))}),n);if($e.object(t)&&(r=t,t=""),$e.func(r))n[t]=n[t]||[],n[t].push(r);else if($e.array(r))for(var a=0;a<r.length;a++){var i;i=r[a],e(t,i,n)}else if($e.object(r))for(var o in r){var s=Ke(o).map((function(e){return"".concat(t).concat(e)}));e(s,r[o],n)}return n};var Xe=function(e){return e&&e.__esModule?e:{default:e}}(je),$e=function(e){if(e&&e.__esModule)return e;var t=Je();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}}return r.default=e,t&&t.set(e,r),r}(x);function Je(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return Je=function(){return e},e}function Ke(e){return e.trim().split(/ +/)}var Qe={};Object.defineProperty(Qe,"__esModule",{value:!0}),Qe.default=void 0;var et,tt,rt=0,nt={request:function(e){return et(e)},cancel:function(e){return tt(e)},init:function(e){if(et=e.requestAnimationFrame,tt=e.cancelAnimationFrame,!et)for(var t=["ms","moz","webkit","o"],r=0;r<t.length;r++){var n=t[r];et=e["".concat(n,"RequestAnimationFrame")],tt=e["".concat(n,"CancelAnimationFrame")]||e["".concat(n,"CancelRequestAnimationFrame")]}et||(et=function(e){var t=Date.now(),r=Math.max(0,16-(t-rt)),n=setTimeout((function(){e(t+r)}),r);return rt=t+r,n},tt=function(e){return clearTimeout(e)})}};Qe.default=nt;var at={};function it(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}Object.defineProperty(at,"__esModule",{value:!0}),at.default=void 0;var ot=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.listeners={}}var t,r,n;return t=e,(r=[{key:"on",value:function(e,t){this.listeners[e]?this.listeners[e].push(t):this.listeners[e]=[t]}},{key:"off",value:function(e,t){if(this.listeners[e]){var r=this.listeners[e].indexOf(t);-1!==r&&this.listeners[e].splice(r,1)}}},{key:"fire",value:function(e,t){var r=this.listeners[e];if(r)for(var n=0;n<r.length;n++)if(!1===(0,r[n])(t,e))return!1}}])&&it(t.prototype,r),n&&it(t,n),e}();at.default=ot;var st={};Object.defineProperty(st,"__esModule",{value:!0}),st.warnOnce=function(e,t){var r=!1;return function(){return r||(dt.default.window.console.warn(t),r=!0),e.apply(this,arguments)}},st._getQBezierValue=St,st.getQuadraticCurvePoint=function(e,t,r,n,a,i,o){return{x:St(o,e,r,a),y:St(o,t,n,i)}},st.easeOutQuad=function(e,t,r,n){return-r*(e/=n)*(e-2)+t},st.copyAction=function(e,t){return e.name=t.name,e.axis=t.axis,e.edges=t.edges,e},Object.defineProperty(st,"win",{enumerable:!0,get:function(){return dt.default}}),Object.defineProperty(st,"browser",{enumerable:!0,get:function(){return ft.default}}),Object.defineProperty(st,"clone",{enumerable:!0,get:function(){return ht.default}}),Object.defineProperty(st,"events",{enumerable:!0,get:function(){return pt.default}}),Object.defineProperty(st,"extend",{enumerable:!0,get:function(){return gt.default}}),Object.defineProperty(st,"getOriginXY",{enumerable:!0,get:function(){return vt.default}}),Object.defineProperty(st,"hypot",{enumerable:!0,get:function(){return mt.default}}),Object.defineProperty(st,"normalizeListeners",{enumerable:!0,get:function(){return yt.default}}),Object.defineProperty(st,"pointer",{enumerable:!0,get:function(){return xt.default}}),Object.defineProperty(st,"raf",{enumerable:!0,get:function(){return bt.default}}),Object.defineProperty(st,"rect",{enumerable:!0,get:function(){return wt.default}}),Object.defineProperty(st,"Signals",{enumerable:!0,get:function(){return _t.default}}),st.is=st.dom=st.arr=void 0;var lt=Mt(a);st.arr=lt;var ct=Mt(E);st.dom=ct;var ut=Mt(x);st.is=ut;var dt=kt(f),ft=kt(S),ht=kt(W),pt=kt(he),gt=kt(je),vt=kt(We),mt=kt(te),yt=kt(Ye),xt=kt(re),bt=kt(Qe),wt=kt(De),_t=kt(at);function kt(e){return e&&e.__esModule?e:{default:e}}function Tt(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return Tt=function(){return e},e}function Mt(e){if(e&&e.__esModule)return e;var t=Tt();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}}return r.default=e,t&&t.set(e,r),r}function St(e,t,r,n){var a=1-e;return a*a*t+2*a*e*r+e*e*n}var At={};Object.defineProperty(At,"__esModule",{value:!0}),At.default=At.defaults=void 0;var Ct={base:{preventDefault:"auto",deltaSource:"page"},perAction:{enabled:!1,origin:{x:0,y:0}},actions:{}};At.defaults=Ct;var Pt=Ct;At.default=Pt;var Ot={};Object.defineProperty(Ot,"__esModule",{value:!0}),Ot.default=void 0;var It=function(e){if(e&&e.__esModule)return e;var t=jt();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}}return r.default=e,t&&t.set(e,r),r}(a),zt=Et(je),Lt=Et(Ye);function Et(e){return e&&e.__esModule?e:{default:e}}function jt(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return jt=function(){return e},e}function Dt(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Rt(e,t){for(var r=0;r<t.length;r++){var n=t[r];if(e.immediatePropagationStopped)break;n(e)}}var Nt=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.types={},this.propagationStopped=!1,this.immediatePropagationStopped=!1,this.options=(0,zt.default)({},t||{})}var t,r,n;return t=e,(r=[{key:"fire",value:function(e){var t,r=this.global;(t=this.types[e.type])&&Rt(e,t),!e.propagationStopped&&r&&(t=r[e.type])&&Rt(e,t)}},{key:"on",value:function(e,t){var r=(0,Lt.default)(e,t);for(e in r)this.types[e]=It.merge(this.types[e]||[],r[e])}},{key:"off",value:function(e,t){var r=(0,Lt.default)(e,t);for(e in r){var n=this.types[e];if(n&&n.length)for(var a=0;a<r[e].length;a++){var i=r[e][a],o=n.indexOf(i);-1!==o&&n.splice(o,1)}}}},{key:"getRect",value:function(e){return null}}])&&Dt(t.prototype,r),n&&Dt(t,n),e}();Ot.default=Nt;var Ft={};Object.defineProperty(Ft,"__esModule",{value:!0}),Ft.default=Ft.Interactable=void 0;var Bt=$t(a),Ht=Yt(S),Vt=Yt(W),Gt=Yt(he),Zt=Yt(je),qt=$t(x),Ut=Yt(Ye),Wt=Yt(Ot);function Yt(e){return e&&e.__esModule?e:{default:e}}function Xt(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return Xt=function(){return e},e}function $t(e){if(e&&e.__esModule)return e;var t=Xt();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}}return r.default=e,t&&t.set(e,r),r}function Jt(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var Kt=function(){function e(t,r,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.events=new Wt.default,this._actions=r.actions,this.target=t,this._context=r.context||n,this._win=(0,f.getWindow)((0,E.trySelector)(t)?this._context:t),this._doc=this._win.document,this.set(r)}var t,r,n;return t=e,(r=[{key:"setOnEvents",value:function(e,t){return qt.func(t.onstart)&&this.on("".concat(e,"start"),t.onstart),qt.func(t.onmove)&&this.on("".concat(e,"move"),t.onmove),qt.func(t.onend)&&this.on("".concat(e,"end"),t.onend),qt.func(t.oninertiastart)&&this.on("".concat(e,"inertiastart"),t.oninertiastart),this}},{key:"updatePerActionListeners",value:function(e,t,r){(qt.array(t)||qt.object(t))&&this.off(e,t),(qt.array(r)||qt.object(r))&&this.on(e,r)}},{key:"setPerAction",value:function(e,t){var r=this._defaults;for(var n in t){var a=this.options[e],i=t[n],o=qt.array(i);"listeners"===n&&this.updatePerActionListeners(e,a.listeners,i),o?a[n]=Bt.from(i):!o&&qt.plainObject(i)?(a[n]=(0,Zt.default)(a[n]||{},(0,Vt.default)(i)),qt.object(r.perAction[n])&&"enabled"in r.perAction[n]&&(a[n].enabled=!1!==i.enabled)):qt.bool(i)&&qt.object(r.perAction[n])?a[n].enabled=i:a[n]=i}}},{key:"getRect",value:function(e){return e=e||(qt.element(this.target)?this.target:null),qt.string(this.target)&&(e=e||this._context.querySelector(this.target)),(0,E.getElementRect)(e)}},{key:"rectChecker",value:function(e){return qt.func(e)?(this.getRect=e,this):null===e?(delete this.getRect,this):this.getRect}},{key:"_backCompatOption",value:function(e,t){if((0,E.trySelector)(t)||qt.object(t)){this.options[e]=t;for(var r=0;r<this._actions.names.length;r++){var n=this._actions.names[r];this.options[n][e]=t}return this}return this.options[e]}},{key:"origin",value:function(e){return this._backCompatOption("origin",e)}},{key:"deltaSource",value:function(e){return"page"===e||"client"===e?(this.options.deltaSource=e,this):this.options.deltaSource}},{key:"context",value:function(){return this._context}},{key:"inContext",value:function(e){return this._context===e.ownerDocument||(0,E.nodeContains)(this._context,e)}},{key:"testIgnoreAllow",value:function(e,t,r){return!this.testIgnore(e.ignoreFrom,t,r)&&this.testAllow(e.allowFrom,t,r)}},{key:"testAllow",value:function(e,t,r){return!e||!!qt.element(r)&&(qt.string(e)?(0,E.matchesUpTo)(r,e,t):!!qt.element(e)&&(0,E.nodeContains)(e,r))}},{key:"testIgnore",value:function(e,t,r){return!(!e||!qt.element(r))&&(qt.string(e)?(0,E.matchesUpTo)(r,e,t):!!qt.element(e)&&(0,E.nodeContains)(e,r))}},{key:"fire",value:function(e){return this.events.fire(e),this}},{key:"_onOff",value:function(e,t,r,n){qt.object(t)&&!qt.array(t)&&(n=r,r=null);var a="on"===e?"add":"remove",i=(0,Ut.default)(t,r);for(var o in i){"wheel"===o&&(o=Ht.default.wheelEvent);for(var s=0;s<i[o].length;s++){var l=i[o][s];Bt.contains(this._actions.eventTypes,o)?this.events[e](o,l):qt.string(this.target)?Gt.default["".concat(a,"Delegate")](this.target,this._context,o,l,n):Gt.default[a](this.target,o,l,n)}}return this}},{key:"on",value:function(e,t,r){return this._onOff("on",e,t,r)}},{key:"off",value:function(e,t,r){return this._onOff("off",e,t,r)}},{key:"set",value:function(e){var t=this._defaults;for(var r in qt.object(e)||(e={}),this.options=(0,Vt.default)(t.base),this._actions.methodDict){var n=this._actions.methodDict[r];this.options[r]={},this.setPerAction(r,(0,Zt.default)((0,Zt.default)({},t.perAction),t.actions[r])),this[n](e[r])}for(var a in e)qt.func(this[a])&&this[a](e[a]);return this}},{key:"unset",value:function(){if(Gt.default.remove(this.target,"all"),qt.string(this.target))for(var e in Gt.default.delegatedEvents){var t=Gt.default.delegatedEvents[e];t.selectors[0]===this.target&&t.contexts[0]===this._context&&(t.selectors.splice(0,1),t.contexts.splice(0,1),t.listeners.splice(0,1),t.selectors.length||(t[e]=null)),Gt.default.remove(this._context,e,Gt.default.delegateListener),Gt.default.remove(this._context,e,Gt.default.delegateUseCapture,!0)}else Gt.default.remove(this.target,"all")}},{key:"_defaults",get:function(){return{base:{},perAction:{},actions:{}}}}])&&Jt(t.prototype,r),n&&Jt(t,n),e}();Ft.Interactable=Kt;var Qt=Kt;Ft.default=Qt;var er={};Object.defineProperty(er,"__esModule",{value:!0}),er.default=void 0;var tr=lr(a),rr=lr(E),nr=or(je),ar=lr(x),ir=or(at);function or(e){return e&&e.__esModule?e:{default:e}}function sr(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return sr=function(){return e},e}function lr(e){if(e&&e.__esModule)return e;var t=sr();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}}return r.default=e,t&&t.set(e,r),r}function cr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var ur=function(){function e(t){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scope=t,this.signals=new ir.default,this.list=[],this.selectorMap={},this.signals.on("unset",(function(e){var t=e.interactable,n=t.target,a=t._context,i=ar.string(n)?r.selectorMap[n]:n[r.scope.id],o=i.findIndex((function(e){return e.context===a}));i[o]&&(i[o].context=null,i[o].interactable=null),i.splice(o,1)}))}var t,r,n;return t=e,(r=[{key:"new",value:function(e,t){t=(0,nr.default)(t||{},{actions:this.scope.actions});var r=new this.scope.Interactable(e,t,this.scope.document),n={context:r._context,interactable:r};return this.scope.addDocument(r._doc),this.list.push(r),ar.string(e)?(this.selectorMap[e]||(this.selectorMap[e]=[]),this.selectorMap[e].push(n)):(r.target[this.scope.id]||Object.defineProperty(e,this.scope.id,{value:[],configurable:!0}),e[this.scope.id].push(n)),this.signals.fire("new",{target:e,options:t,interactable:r,win:this.scope._win}),r}},{key:"get",value:function(e,t){var r=t&&t.context||this.scope.document,n=ar.string(e),a=n?this.selectorMap[e]:e[this.scope.id];if(!a)return null;var i=tr.find(a,(function(t){return t.context===r&&(n||t.interactable.inContext(e))}));return i&&i.interactable}},{key:"forEachMatch",value:function(e,t){for(var r=0;r<this.list.length;r++){var n=this.list[r],a=void 0;if((ar.string(n.target)?ar.element(e)&&rr.matchesSelector(e,n.target):e===n.target)&&n.inContext(e)&&(a=t(n)),void 0!==a)return a}}}])&&cr(t.prototype,r),n&&cr(t,n),e}();er.default=ur;var dr,fr={};function hr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}Object.defineProperty(fr,"__esModule",{value:!0}),fr.default=fr.BaseEvent=fr.EventPhase=void 0,fr.EventPhase=dr,function(e){e.Start="start",e.Move="move",e.End="end",e._NONE=""}(dr||(fr.EventPhase=dr={}));var pr=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.immediatePropagationStopped=!1,this.propagationStopped=!1,this._interaction=t}var t,r,n;return t=e,(r=[{key:"preventDefault",value:function(){}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}},{key:"interaction",get:function(){return this._interaction._proxy}}])&&hr(t.prototype,r),n&&hr(t,n),e}();fr.BaseEvent=pr;var gr=pr;fr.default=gr;var vr={};Object.defineProperty(vr,"__esModule",{value:!0}),vr.default=vr.InteractEvent=vr.EventPhase=void 0;var mr,yr=kr(je),xr=kr(We),br=kr(te),wr=kr(fr),_r=kr(At);function kr(e){return e&&e.__esModule?e:{default:e}}function Tr(e){return(Tr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Mr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Sr(e){return(Sr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ar(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cr(e,t){return(Cr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}vr.EventPhase=mr,function(e){e.Start="start",e.Move="move",e.End="end",e._NONE=""}(mr||(vr.EventPhase=mr={}));var Pr=function(e){function t(e,r,n,a,i,o,s,l){var c;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),c=function(e,t){return!t||"object"!==Tr(t)&&"function"!=typeof t?Ar(e):t}(this,Sr(t).call(this,e)),i=i||e.element;var u=e.interactable,d=(u&&u.options||_r.default).deltaSource,f=(0,xr.default)(u,i,n),h="start"===a,p="end"===a,g=h?Ar(c):e.prevEvent,v=h?e.coords.start:p?{page:g.page,client:g.client,timeStamp:e.coords.cur.timeStamp}:e.coords.cur;return c.page=(0,yr.default)({},v.page),c.client=(0,yr.default)({},v.client),c.rect=(0,yr.default)({},e.rect),c.timeStamp=v.timeStamp,p||(c.page.x-=f.x,c.page.y-=f.y,c.client.x-=f.x,c.client.y-=f.y),c.ctrlKey=r.ctrlKey,c.altKey=r.altKey,c.shiftKey=r.shiftKey,c.metaKey=r.metaKey,c.button=r.button,c.buttons=r.buttons,c.target=i,c.currentTarget=i,c.relatedTarget=o||null,c.preEnd=s,c.type=l||n+(a||""),c.interactable=u,c.t0=h?e.pointers[e.pointers.length-1].downTime:g.t0,c.x0=e.coords.start.page.x-f.x,c.y0=e.coords.start.page.y-f.y,c.clientX0=e.coords.start.client.x-f.x,c.clientY0=e.coords.start.client.y-f.y,c.delta=h||p?{x:0,y:0}:{x:c[d].x-g[d].x,y:c[d].y-g[d].y},c.dt=e.coords.delta.timeStamp,c.duration=c.timeStamp-c.t0,c.velocity=(0,yr.default)({},e.coords.velocity[d]),c.speed=(0,br.default)(c.velocity.x,c.velocity.y),c.swipe=p||"inertiastart"===a?c.getSwipe():null,c}var r,n,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cr(e,t)}(t,e),r=t,(n=[{key:"getSwipe",value:function(){var e=this._interaction;if(e.prevEvent.speed<600||this.timeStamp-e.prevEvent.timeStamp>150)return null;var t=180*Math.atan2(e.prevEvent.velocityY,e.prevEvent.velocityX)/Math.PI;t<0&&(t+=360);var r=112.5<=t&&t<247.5,n=202.5<=t&&t<337.5;return{up:n,down:!n&&22.5<=t&&t<157.5,left:r,right:!r&&(292.5<=t||t<67.5),angle:t,speed:e.prevEvent.speed,velocity:{x:e.prevEvent.velocityX,y:e.prevEvent.velocityY}}}},{key:"preventDefault",value:function(){}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"pageX",get:function(){return this.page.x},set:function(e){this.page.x=e}},{key:"pageY",get:function(){return this.page.y},set:function(e){this.page.y=e}},{key:"clientX",get:function(){return this.client.x},set:function(e){this.client.x=e}},{key:"clientY",get:function(){return this.client.y},set:function(e){this.client.y=e}},{key:"dx",get:function(){return this.delta.x},set:function(e){this.delta.x=e}},{key:"dy",get:function(){return this.delta.y},set:function(e){this.delta.y=e}},{key:"velocityX",get:function(){return this.velocity.x},set:function(e){this.velocity.x=e}},{key:"velocityY",get:function(){return this.velocity.y},set:function(e){this.velocity.y=e}}])&&Mr(r.prototype,n),a&&Mr(r,a),t}(wr.default);vr.InteractEvent=Pr;var Or=Pr;vr.default=Or;var Ir={};Object.defineProperty(Ir,"__esModule",{value:!0}),Ir.default=Ir.PointerInfo=void 0;var zr=function e(t,r,n,a,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.id=t,this.pointer=r,this.event=n,this.downTime=a,this.downTarget=i};Ir.PointerInfo=zr;var Lr=zr;Ir.default=Lr;var Er={};Object.defineProperty(Er,"__esModule",{value:!0}),Er.default=void 0;var jr=function(e){if(e&&e.__esModule)return e;var t=Dr();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}}return r.default=e,t&&t.set(e,r),r}(E);function Dr(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return Dr=function(){return e},e}var Rr={methodOrder:["simulationResume","mouseOrPen","hasPointer","idle"],search:function(e){for(var t=0;t<Rr.methodOrder.length;t++){var r;r=Rr.methodOrder[t];var n=Rr[r](e);if(n)return n}},simulationResume:function(e){var t=e.pointerType,r=e.eventType,n=e.eventTarget,a=e.scope;if(!/down|start/i.test(r))return null;for(var i=0;i<a.interactions.list.length;i++){var o=a.interactions.list[i],s=n;if(o.simulation&&o.simulation.allowResume&&o.pointerType===t)for(;s;){if(s===o.element)return o;s=jr.parentNode(s)}}return null},mouseOrPen:function(e){var t,r=e.pointerId,n=e.pointerType,a=e.eventType,i=e.scope;if("mouse"!==n&&"pen"!==n)return null;for(var o=0;o<i.interactions.list.length;o++){var s=i.interactions.list[o];if(s.pointerType===n){if(s.simulation&&!Nr(s,r))continue;if(s.interacting())return s;t||(t=s)}}if(t)return t;for(var l=0;l<i.interactions.list.length;l++){var c=i.interactions.list[l];if(!(c.pointerType!==n||/down/i.test(a)&&c.simulation))return c}return null},hasPointer:function(e){for(var t=e.pointerId,r=e.scope,n=0;n<r.interactions.list.length;n++){var a=r.interactions.list[n];if(Nr(a,t))return a}return null},idle:function(e){for(var t=e.pointerType,r=e.scope,n=0;n<r.interactions.list.length;n++){var a=r.interactions.list[n];if(1===a.pointers.length){var i=a.interactable;if(i&&(!i.options.gesture||!i.options.gesture.enabled))continue}else if(a.pointers.length>=2)continue;if(!a.interacting()&&t===a.pointerType)return a}return null}};function Nr(e,t){return e.pointers.some((function(e){return e.id===t}))}var Fr=Rr;Er.default=Fr;var Br={};Object.defineProperty(Br,"__esModule",{value:!0}),Br.default=void 0;var Hr=t({}),Vr=qr(a),Gr=qr(x);function Zr(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return Zr=function(){return e},e}function qr(e){if(e&&e.__esModule)return e;var t=Zr();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}}return r.default=e,t&&t.set(e,r),r}function Ur(e){var t=e.interaction;if("drag"===t.prepared.name){var r=t.prepared.axis;"x"===r?(t.coords.cur.page.y=t.coords.start.page.y,t.coords.cur.client.y=t.coords.start.client.y,t.coords.velocity.client.y=0,t.coords.velocity.page.y=0):"y"===r&&(t.coords.cur.page.x=t.coords.start.page.x,t.coords.cur.client.x=t.coords.start.client.x,t.coords.velocity.client.x=0,t.coords.velocity.page.x=0)}}function Wr(e){var t=e.iEvent,r=e.interaction;if("drag"===r.prepared.name){var n=r.prepared.axis;if("x"===n||"y"===n){var a="x"===n?"y":"x";t.page[a]=r.coords.start.page[a],t.client[a]=r.coords.start.client[a],t.delta[a]=0}}}Hr.ActionName.Drag="drag";var Yr={id:"actions/drag",install:function(e){var t=e.actions,r=e.Interactable,n=e.interactions,a=e.defaults;n.signals.on("before-action-move",Ur),n.signals.on("action-resume",Ur),n.signals.on("action-move",Wr),r.prototype.draggable=Yr.draggable,t[Hr.ActionName.Drag]=Yr,t.names.push(Hr.ActionName.Drag),Vr.merge(t.eventTypes,["dragstart","dragmove","draginertiastart","dragresume","dragend"]),t.methodDict.drag="draggable",a.actions.drag=Yr.defaults},draggable:function(e){return Gr.object(e)?(this.options.drag.enabled=!1!==e.enabled,this.setPerAction("drag",e),this.setOnEvents("drag",e),/^(xy|x|y|start)$/.test(e.lockAxis)&&(this.options.drag.lockAxis=e.lockAxis),/^(xy|x|y)$/.test(e.startAxis)&&(this.options.drag.startAxis=e.startAxis),this):Gr.bool(e)?(this.options.drag.enabled=e,this):this.options.drag},beforeMove:Ur,move:Wr,defaults:{startAxis:"xy",lockAxis:"xy"},checker:function(e,t,r){var n=r.options.drag;return n.enabled?{name:"drag",axis:"start"===n.lockAxis?n.startAxis:n.lockAxis}:null},getCursor:function(){return"move"}},Xr=Yr;Br.default=Xr;var $r={};Object.defineProperty($r,"__esModule",{value:!0}),$r.default=void 0;var Jr=function(e){return e&&e.__esModule?e:{default:e}}(fr),Kr=function(e){if(e&&e.__esModule)return e;var t=Qr();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}}return r.default=e,t&&t.set(e,r),r}(a);function Qr(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return Qr=function(){return e},e}function en(e){return(en="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function tn(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function rn(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nn(e,t){return!t||"object"!==en(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function an(e){return(an=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function on(e,t){return(on=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var sn=function(e){function t(e,r,n){var a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(a=nn(this,an(t).call(this,r._interaction))).propagationStopped=!1,a.immediatePropagationStopped=!1;var i="dragleave"===n?e.prev:e.cur,o=i.element,s=i.dropzone;return a.type=n,a.target=o,a.currentTarget=o,a.dropzone=s,a.dragEvent=r,a.relatedTarget=r.target,a.draggable=r.interactable,a.timeStamp=r.timeStamp,a}var r,n,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&on(e,t)}(t,e),r=t,(n=[{key:"reject",value:function(){var e=this,r=this._interaction.dropState;if("dropactivate"===this.type||this.dropzone&&r.cur.dropzone===this.dropzone&&r.cur.element===this.target)if(r.prev.dropzone=this.dropzone,r.prev.element=this.target,r.rejected=!0,r.events.enter=null,this.stopImmediatePropagation(),"dropactivate"===this.type){var n=r.activeDrops,a=Kr.findIndex(n,(function(t){var r=t.dropzone,n=t.element;return r===e.dropzone&&n===e.target}));r.activeDrops=[].concat(tn(n.slice(0,a)),tn(n.slice(a+1)));var i=new t(r,this.dragEvent,"dropdeactivate");i.dropzone=this.dropzone,i.target=this.target,this.dropzone.fire(i)}else this.dropzone.fire(new t(r,this.dragEvent,"dragleave"))}},{key:"preventDefault",value:function(){}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}}])&&rn(r.prototype,n),a&&rn(r,a),t}(Jr.default);$r.default=sn;var ln={};Object.defineProperty(ln,"__esModule",{value:!0}),ln.default=void 0;var cn=function(e){if(e&&e.__esModule)return e;var t=hn();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}}return r.default=e,t&&t.set(e,r),r}(st),un=fn(Br),dn=fn($r);function fn(e){return e&&e.__esModule?e:{default:e}}function hn(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return hn=function(){return e},e}function pn(e,t){for(var r=0;r<e.length;r++){var n=e[r],a=n.dropzone,i=n.element;t.dropzone=a,t.target=i,a.fire(t),t.propagationStopped=t.immediatePropagationStopped=!1}}function gn(e,t){for(var r=function(e,t){for(var r=e.interactables,n=[],a=0;a<r.list.length;a++){var i=r.list[a];if(i.options.drop.enabled){var o=i.options.drop.accept;if(!(cn.is.element(o)&&o!==t||cn.is.string(o)&&!cn.dom.matchesSelector(t,o)||cn.is.func(o)&&!o({dropzone:i,draggableElement:t})))for(var s=cn.is.string(i.target)?i._context.querySelectorAll(i.target):cn.is.array(i.target)?i.target:[i.target],l=0;l<s.length;l++){var c=s[l];c!==t&&n.push({dropzone:i,element:c})}}}return n}(e,t),n=0;n<r.length;n++){var a=r[n];a.rect=a.dropzone.getRect(a.element)}return r}function vn(e,t,r){for(var n=e.dropState,a=e.interactable,i=e.element,o=[],s=0;s<n.activeDrops.length;s++){var l=n.activeDrops[s],c=l.dropzone,u=l.element,d=l.rect;o.push(c.dropCheck(t,r,a,i,u,d)?u:null)}var f=cn.dom.indexOfDeepestElement(o);return n.activeDrops[f]||null}function mn(e,t,r){var n=e.dropState,a={enter:null,leave:null,activate:null,deactivate:null,move:null,drop:null};return"dragstart"===r.type&&(a.activate=new dn.default(n,r,"dropactivate"),a.activate.target=null,a.activate.dropzone=null),"dragend"===r.type&&(a.deactivate=new dn.default(n,r,"dropdeactivate"),a.deactivate.target=null,a.deactivate.dropzone=null),n.rejected||(n.cur.element!==n.prev.element&&(n.prev.dropzone&&(a.leave=new dn.default(n,r,"dragleave"),r.dragLeave=a.leave.target=n.prev.element,r.prevDropzone=a.leave.dropzone=n.prev.dropzone),n.cur.dropzone&&(a.enter=new dn.default(n,r,"dragenter"),r.dragEnter=n.cur.element,r.dropzone=n.cur.dropzone)),"dragend"===r.type&&n.cur.dropzone&&(a.drop=new dn.default(n,r,"drop"),r.dropzone=n.cur.dropzone,r.relatedTarget=n.cur.element),"dragmove"===r.type&&n.cur.dropzone&&(a.move=new dn.default(n,r,"dropmove"),a.move.dragmove=r,r.dropzone=n.cur.dropzone)),a}function yn(e,t){var r=e.dropState,n=r.activeDrops,a=r.cur,i=r.prev;t.leave&&i.dropzone.fire(t.leave),t.move&&a.dropzone.fire(t.move),t.enter&&a.dropzone.fire(t.enter),t.drop&&a.dropzone.fire(t.drop),t.deactivate&&pn(n,t.deactivate),r.prev.dropzone=a.dropzone,r.prev.element=a.element}function xn(e,t){var r=e.interaction,n=e.iEvent,a=e.event;if("dragmove"===n.type||"dragend"===n.type){var i=r.dropState;t.dynamicDrop&&(i.activeDrops=gn(t,r.element));var o=n,s=vn(r,o,a);i.rejected=i.rejected&&!!s&&s.dropzone===i.cur.dropzone&&s.element===i.cur.element,i.cur.dropzone=s&&s.dropzone,i.cur.element=s&&s.element,i.events=mn(r,0,o)}}var bn={id:"actions/drop",install:function(e){var t=e.actions,r=e.interact,n=e.Interactable,a=e.interactions,i=e.defaults;e.usePlugin(un.default),a.signals.on("before-action-start",(function(e){var t=e.interaction;"drag"===t.prepared.name&&(t.dropState={cur:{dropzone:null,element:null},prev:{dropzone:null,element:null},rejected:null,events:null,activeDrops:null})})),a.signals.on("after-action-start",(function(t){var r=t.interaction,n=(t.event,t.iEvent);if("drag"===r.prepared.name){var a=r.dropState;a.activeDrops=null,a.events=null,a.activeDrops=gn(e,r.element),a.events=mn(r,0,n),a.events.activate&&pn(a.activeDrops,a.events.activate)}})),a.signals.on("action-move",(function(t){return xn(t,e)})),a.signals.on("action-end",(function(t){return xn(t,e)})),a.signals.on("after-action-move",(function(e){var t=e.interaction;"drag"===t.prepared.name&&(yn(t,t.dropState.events),t.dropState.events={})})),a.signals.on("after-action-end",(function(e){var t=e.interaction;"drag"===t.prepared.name&&yn(t,t.dropState.events)})),a.signals.on("stop",(function(e){var t=e.interaction;if("drag"===t.prepared.name){var r=t.dropState;r&&(r.activeDrops=null,r.events=null,r.cur.dropzone=null,r.cur.element=null,r.prev.dropzone=null,r.prev.element=null,r.rejected=!1)}})),n.prototype.dropzone=function(e){return function(e,t){if(cn.is.object(t)){if(e.options.drop.enabled=!1!==t.enabled,t.listeners){var r=cn.normalizeListeners(t.listeners),n=Object.keys(r).reduce((function(e,t){return e[/^(enter|leave)/.test(t)?"drag".concat(t):/^(activate|deactivate|move)/.test(t)?"drop".concat(t):t]=r[t],e}),{});e.off(e.options.drop.listeners),e.on(n),e.options.drop.listeners=n}return cn.is.func(t.ondrop)&&e.on("drop",t.ondrop),cn.is.func(t.ondropactivate)&&e.on("dropactivate",t.ondropactivate),cn.is.func(t.ondropdeactivate)&&e.on("dropdeactivate",t.ondropdeactivate),cn.is.func(t.ondragenter)&&e.on("dragenter",t.ondragenter),cn.is.func(t.ondragleave)&&e.on("dragleave",t.ondragleave),cn.is.func(t.ondropmove)&&e.on("dropmove",t.ondropmove),/^(pointer|center)$/.test(t.overlap)?e.options.drop.overlap=t.overlap:cn.is.number(t.overlap)&&(e.options.drop.overlap=Math.max(Math.min(1,t.overlap),0)),"accept"in t&&(e.options.drop.accept=t.accept),"checker"in t&&(e.options.drop.checker=t.checker),e}return cn.is.bool(t)?(e.options.drop.enabled=t,e):e.options.drop}(this,e)},n.prototype.dropCheck=function(e,t,r,n,a,i){return function(e,t,r,n,a,i,o){var s=!1;if(!(o=o||e.getRect(i)))return!!e.options.drop.checker&&e.options.drop.checker(t,r,s,e,i,n,a);var l=e.options.drop.overlap;if("pointer"===l){var c=cn.getOriginXY(n,a,"drag"),u=cn.pointer.getPageXY(t);u.x+=c.x,u.y+=c.y;var d=u.x>o.left&&u.x<o.right,f=u.y>o.top&&u.y<o.bottom;s=d&&f}var h=n.getRect(a);if(h&&"center"===l){var p=h.left+h.width/2,g=h.top+h.height/2;s=p>=o.left&&p<=o.right&&g>=o.top&&g<=o.bottom}if(h&&cn.is.number(l)){var v=Math.max(0,Math.min(o.right,h.right)-Math.max(o.left,h.left))*Math.max(0,Math.min(o.bottom,h.bottom)-Math.max(o.top,h.top))/(h.width*h.height);s=v>=l}return e.options.drop.checker&&(s=e.options.drop.checker(t,r,s,e,i,n,a)),s}(this,e,t,r,n,a,i)},r.dynamicDrop=function(t){return cn.is.bool(t)?(e.dynamicDrop=t,r):e.dynamicDrop},cn.arr.merge(t.eventTypes,["dragenter","dragleave","dropactivate","dropdeactivate","dropmove","drop"]),t.methodDict.drop="dropzone",e.dynamicDrop=!1,i.actions.drop=bn.defaults},getActiveDrops:gn,getDrop:vn,getDropEvents:mn,fireDropEvents:yn,defaults:{enabled:!1,accept:null,overlap:"pointer"}},wn=bn;ln.default=wn;var _n={};Object.defineProperty(_n,"__esModule",{value:!0}),_n.default=void 0;var kn=function(e){return e&&e.__esModule?e:{default:e}}(vr),Tn=t({}),Mn=function(e){if(e&&e.__esModule)return e;var t=Sn();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}}return r.default=e,t&&t.set(e,r),r}(st);function Sn(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return Sn=function(){return e},e}Tn.ActionName.Gesture="gesture";var An={id:"actions/gesture",install:function(e){var t=e.actions,r=e.Interactable,n=e.interactions,a=e.defaults;r.prototype.gesturable=function(e){return Mn.is.object(e)?(this.options.gesture.enabled=!1!==e.enabled,this.setPerAction("gesture",e),this.setOnEvents("gesture",e),this):Mn.is.bool(e)?(this.options.gesture.enabled=e,this):this.options.gesture},n.signals.on("action-start",Cn),n.signals.on("action-move",Cn),n.signals.on("action-end",Cn),n.signals.on("new",(function(e){e.interaction.gesture={angle:0,distance:0,scale:1,startAngle:0,startDistance:0}})),t[Tn.ActionName.Gesture]=An,t.names.push(Tn.ActionName.Gesture),Mn.arr.merge(t.eventTypes,["gesturestart","gesturemove","gestureend"]),t.methodDict.gesture="gesturable",a.actions.gesture=An.defaults},defaults:{},checker:function(e,t,r,n,a){return a.pointers.length>=2?{name:"gesture"}:null},getCursor:function(){return""}};function Cn(e){var t=e.interaction,r=e.iEvent,n=e.event,a=e.phase;if("gesture"===t.prepared.name){var i=t.pointers.map((function(e){return e.pointer})),o="start"===a,s="end"===a,l=t.interactable.options.deltaSource;if(r.touches=[i[0],i[1]],o)r.distance=Mn.pointer.touchDistance(i,l),r.box=Mn.pointer.touchBBox(i),r.scale=1,r.ds=0,r.angle=Mn.pointer.touchAngle(i,l),r.da=0,t.gesture.startDistance=r.distance,t.gesture.startAngle=r.angle;else if(s||n instanceof kn.default){var c=t.prevEvent;r.distance=c.distance,r.box=c.box,r.scale=c.scale,r.ds=0,r.angle=c.angle,r.da=0}else r.distance=Mn.pointer.touchDistance(i,l),r.box=Mn.pointer.touchBBox(i),r.scale=r.distance/t.gesture.startDistance,r.angle=Mn.pointer.touchAngle(i,l),r.ds=r.scale-t.gesture.scale,r.da=r.angle-t.gesture.angle;t.gesture.distance=r.distance,t.gesture.angle=r.angle,Mn.is.number(r.scale)&&r.scale!==1/0&&!isNaN(r.scale)&&(t.gesture.scale=r.scale)}}var Pn=An;_n.default=Pn;var On={};Object.defineProperty(On,"__esModule",{value:!0}),On.default=void 0;var In=t({}),zn=Rn(a),Ln=Rn(E),En=function(e){return e&&e.__esModule?e:{default:e}}(je),jn=Rn(x);function Dn(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return Dn=function(){return e},e}function Rn(e){if(e&&e.__esModule)return e;var t=Dn();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}}return r.default=e,t&&t.set(e,r),r}In.ActionName.Resize="resize";var Nn={id:"actions/resize",install:function(e){var t=e.actions,r=e.browser,n=e.Interactable,a=e.interactions,i=e.defaults;a.signals.on("new",(function(e){e.resizeAxes="xy"})),a.signals.on("action-start",Bn),a.signals.on("action-move",Hn),a.signals.on("action-end",Vn),a.signals.on("action-start",Gn),a.signals.on("action-move",Gn),Nn.cursors=function(e){return e.isIe9?{x:"e-resize",y:"s-resize",xy:"se-resize",top:"n-resize",left:"w-resize",bottom:"s-resize",right:"e-resize",topleft:"se-resize",bottomright:"se-resize",topright:"ne-resize",bottomleft:"ne-resize"}:{x:"ew-resize",y:"ns-resize",xy:"nwse-resize",top:"ns-resize",left:"ew-resize",bottom:"ns-resize",right:"ew-resize",topleft:"nwse-resize",bottomright:"nwse-resize",topright:"nesw-resize",bottomleft:"nesw-resize"}}(r),Nn.defaultMargin=r.supportsTouch||r.supportsPointerEvent?20:10,n.prototype.resizable=function(t){return function(e,t,r){return jn.object(t)?(e.options.resize.enabled=!1!==t.enabled,e.setPerAction("resize",t),e.setOnEvents("resize",t),jn.string(t.axis)&&/^x$|^y$|^xy$/.test(t.axis)?e.options.resize.axis=t.axis:null===t.axis&&(e.options.resize.axis=r.defaults.actions.resize.axis),jn.bool(t.preserveAspectRatio)?e.options.resize.preserveAspectRatio=t.preserveAspectRatio:jn.bool(t.square)&&(e.options.resize.square=t.square),e):jn.bool(t)?(e.options.resize.enabled=t,e):e.options.resize}(this,t,e)},t[In.ActionName.Resize]=Nn,t.names.push(In.ActionName.Resize),zn.merge(t.eventTypes,["resizestart","resizemove","resizeinertiastart","resizeresume","resizeend"]),t.methodDict.resize="resizable",i.actions.resize=Nn.defaults},defaults:{square:!1,preserveAspectRatio:!1,axis:"xy",margin:NaN,edges:null,invert:"none"},checker:function(e,t,r,n,a,i){if(!i)return null;var o=(0,En.default)({},a.coords.cur.page),s=r.options;if(s.resize.enabled){var l=s.resize,c={left:!1,right:!1,top:!1,bottom:!1};if(jn.object(l.edges)){for(var u in c)c[u]=Fn(u,l.edges[u],o,a._latestPointer.eventTarget,n,i,l.margin||this.defaultMargin);if(c.left=c.left&&!c.right,c.top=c.top&&!c.bottom,c.left||c.right||c.top||c.bottom)return{name:"resize",edges:c}}else{var d="y"!==s.resize.axis&&o.x>i.right-this.defaultMargin,f="x"!==s.resize.axis&&o.y>i.bottom-this.defaultMargin;if(d||f)return{name:"resize",axes:(d?"x":"")+(f?"y":"")}}}return null},cursors:null,getCursor:function(e){var t=e.edges,r=e.axis,n=e.name,a=Nn.cursors,i=null;if(r)i=a[n+r];else if(t){for(var o="",s=["top","bottom","left","right"],l=0;l<s.length;l++){var c=s[l];t[c]&&(o+=c)}i=a[o]}return i},defaultMargin:null};function Fn(e,t,r,n,a,i,o){if(!t)return!1;if(!0===t){var s=jn.number(i.width)?i.width:i.right-i.left,l=jn.number(i.height)?i.height:i.bottom-i.top;if(o=Math.min(o,("left"===e||"right"===e?s:l)/2),s<0&&("left"===e?e="right":"right"===e&&(e="left")),l<0&&("top"===e?e="bottom":"bottom"===e&&(e="top")),"left"===e)return r.x<(s>=0?i.left:i.right)+o;if("top"===e)return r.y<(l>=0?i.top:i.bottom)+o;if("right"===e)return r.x>(s>=0?i.right:i.left)-o;if("bottom"===e)return r.y>(l>=0?i.bottom:i.top)-o}return!!jn.element(n)&&(jn.element(t)?t===n:Ln.matchesUpTo(n,t,a))}function Bn(e){var t=e.iEvent,r=e.interaction;if("resize"===r.prepared.name&&r.prepared.edges){var n=(0,En.default)({},r.rect),a=r.interactable.options.resize;if(a.square||a.preserveAspectRatio){var i=(0,En.default)({},r.prepared.edges);i.top=i.top||i.left&&!i.bottom,i.left=i.left||i.top&&!i.right,i.bottom=i.bottom||i.right&&!i.top,i.right=i.right||i.bottom&&!i.left,r.prepared._linkedEdges=i}else r.prepared._linkedEdges=null;a.preserveAspectRatio&&(r.resizeStartAspectRatio=n.width/n.height),r.resizeRects={start:n,current:{left:n.left,right:n.right,top:n.top,bottom:n.bottom},inverted:(0,En.default)({},n),previous:(0,En.default)({},n),delta:{left:0,right:0,width:0,top:0,bottom:0,height:0}},t.edges=r.prepared.edges,t.rect=r.resizeRects.inverted,t.deltaRect=r.resizeRects.delta}}function Hn(e){var t=e.iEvent,r=e.interaction;if("resize"===r.prepared.name&&r.prepared.edges){var n,a=r.interactable.options.resize,i=a.invert,o="reposition"===i||"negate"===i,s=r.prepared.edges,l=r.resizeRects.start,c=r.resizeRects.current,u=r.resizeRects.inverted,d=r.resizeRects.delta,f=(0,En.default)(r.resizeRects.previous,u),h=s,p=(0,En.default)({},t.delta);if(a.preserveAspectRatio||a.square){var g=a.preserveAspectRatio?r.resizeStartAspectRatio:1;s=r.prepared._linkedEdges,h.left&&h.bottom||h.right&&h.top?p.y=-p.x/g:h.left||h.right?p.y=p.x/g:(h.top||h.bottom)&&(p.x=p.y*g)}for(var v in s.top&&(c.top+=p.y),s.bottom&&(c.bottom+=p.y),s.left&&(c.left+=p.x),s.right&&(c.right+=p.x),o?((0,En.default)(u,c),"reposition"===i&&(u.top>u.bottom&&(n=u.top,u.top=u.bottom,u.bottom=n),u.left>u.right&&(n=u.left,u.left=u.right,u.right=n))):(u.top=Math.min(c.top,l.bottom),u.bottom=Math.max(c.bottom,l.top),u.left=Math.min(c.left,l.right),u.right=Math.max(c.right,l.left)),u.width=u.right-u.left,u.height=u.bottom-u.top,u)d[v]=u[v]-f[v];t.edges=r.prepared.edges,t.rect=u,t.deltaRect=d}}function Vn(e){var t=e.iEvent,r=e.interaction;"resize"===r.prepared.name&&r.prepared.edges&&(t.edges=r.prepared.edges,t.rect=r.resizeRects.inverted,t.deltaRect=r.resizeRects.delta)}function Gn(e){var t=e.iEvent,r=e.interaction;e.action===In.ActionName.Resize&&r.resizeAxes&&(r.interactable.options.resize.square?("y"===r.resizeAxes?t.delta.x=t.delta.y:t.delta.y=t.delta.x,t.axes="xy"):(t.axes=r.resizeAxes,"x"===r.resizeAxes?t.delta.y=0:"y"===r.resizeAxes&&(t.delta.x=0)))}var Zn=Nn;On.default=Zn;var qn={};Object.defineProperty(qn,"__esModule",{value:!0}),qn.install=function(e){e.usePlugin(Yn.default),e.usePlugin(Xn.default),e.usePlugin(Un.default),e.usePlugin(Wn.default)},Object.defineProperty(qn,"drag",{enumerable:!0,get:function(){return Un.default}}),Object.defineProperty(qn,"drop",{enumerable:!0,get:function(){return Wn.default}}),Object.defineProperty(qn,"gesture",{enumerable:!0,get:function(){return Yn.default}}),Object.defineProperty(qn,"resize",{enumerable:!0,get:function(){return Xn.default}}),qn.id=void 0;var Un=$n(Br),Wn=$n(ln),Yn=$n(_n),Xn=$n(On);function $n(e){return e&&e.__esModule?e:{default:e}}qn.id="actions";var Jn={};Object.defineProperty(Jn,"__esModule",{value:!0}),Jn.getContainer=aa,Jn.getScroll=ia,Jn.getScrollSize=function(e){return Qn.window(e)&&(e=window.document.body),{x:e.scrollWidth,y:e.scrollHeight}},Jn.getScrollSizeDelta=function(e,t){var r=e.interaction,n=e.element,a=r&&r.interactable.options[r.prepared.name].autoScroll;if(!a||!a.enabled)return t(),{x:0,y:0};var i=aa(a.container,r.interactable,n),o=ia(i);t();var s=ia(i);return{x:s.x-o.x,y:s.y-o.y}},Jn.default=void 0;var Kn=ra(E),Qn=ra(x),ea=function(e){return e&&e.__esModule?e:{default:e}}(Qe);function ta(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return ta=function(){return e},e}function ra(e){if(e&&e.__esModule)return e;var t=ta();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}}return r.default=e,t&&t.set(e,r),r}var na={defaults:{enabled:!1,margin:60,container:null,speed:300},now:Date.now,interaction:null,i:null,x:0,y:0,isScrolling:!1,prevTime:0,margin:0,speed:0,start:function(e){na.isScrolling=!0,ea.default.cancel(na.i),e.autoScroll=na,na.interaction=e,na.prevTime=na.now(),na.i=ea.default.request(na.scroll)},stop:function(){na.isScrolling=!1,na.interaction&&(na.interaction.autoScroll=null),ea.default.cancel(na.i)},scroll:function(){var e=na.interaction,t=e.interactable,r=e.element,n=t.options[na.interaction.prepared.name].autoScroll,a=aa(n.container,t,r),i=na.now(),o=(i-na.prevTime)/1e3,s=n.speed*o;if(s>=1){var l={x:na.x*s,y:na.y*s};if(l.x||l.y){var c=ia(a);Qn.window(a)?a.scrollBy(l.x,l.y):a&&(a.scrollLeft+=l.x,a.scrollTop+=l.y);var u=ia(a),d={x:u.x-c.x,y:u.y-c.y};(d.x||d.y)&&t.fire({type:"autoscroll",target:r,interactable:t,delta:d,interaction:e,container:a})}na.prevTime=i}na.isScrolling&&(ea.default.cancel(na.i),na.i=ea.default.request(na.scroll))},check:function(e,t){var r=e.options;return r[t].autoScroll&&r[t].autoScroll.enabled},onInteractionMove:function(e){var t=e.interaction,r=e.pointer;if(t.interacting()&&na.check(t.interactable,t.prepared.name))if(t.simulation)na.x=na.y=0;else{var n,a,i,o,s=t.interactable,l=t.element,c=s.options[t.prepared.name].autoScroll,u=aa(c.container,s,l);if(Qn.window(u))o=r.clientX<na.margin,n=r.clientY<na.margin,a=r.clientX>u.innerWidth-na.margin,i=r.clientY>u.innerHeight-na.margin;else{var d=Kn.getElementClientRect(u);o=r.clientX<d.left+na.margin,n=r.clientY<d.top+na.margin,a=r.clientX>d.right-na.margin,i=r.clientY>d.bottom-na.margin}na.x=a?1:o?-1:0,na.y=i?1:n?-1:0,na.isScrolling||(na.margin=c.margin,na.speed=c.speed,na.start(t))}}};function aa(e,t,r){return(Qn.string(e)?(0,De.getStringOptionResult)(e,t,r):e)||(0,f.getWindow)(r)}function ia(e){return Qn.window(e)&&(e=window.document.body),{x:e.scrollLeft,y:e.scrollTop}}var oa={id:"auto-scroll",install:function(e){var t=e.interactions,r=e.defaults,n=e.actions;e.autoScroll=na,na.now=function(){return e.now()},t.signals.on("new",(function(e){e.interaction.autoScroll=null})),t.signals.on("destroy",(function(e){e.interaction.autoScroll=null,na.stop(),na.interaction&&(na.interaction=null)})),t.signals.on("stop",na.stop),t.signals.on("action-move",(function(e){return na.onInteractionMove(e)})),n.eventTypes.push("autoscroll"),r.perAction.autoScroll=na.defaults}};Jn.default=oa;var sa={};Object.defineProperty(sa,"__esModule",{value:!0}),sa.default=void 0;var la=function(e){if(e&&e.__esModule)return e;var t=ca();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}}return r.default=e,t&&t.set(e,r),r}(x);function ca(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return ca=function(){return e},e}function ua(e,t,r,n){var a=this.defaultActionChecker(e,t,r,n);return this.options.actionChecker?this.options.actionChecker(e,t,a,this,n,r):a}function da(e){return la.bool(e)?(this.options.styleCursor=e,this):null===e?(delete this.options.styleCursor,this):this.options.styleCursor}function fa(e){return la.func(e)?(this.options.actionChecker=e,this):null===e?(delete this.options.actionChecker,this):this.options.actionChecker}var ha={id:"auto-start/interactableMethods",install:function(e){var t=e.Interactable,r=e.actions;t.prototype.getAction=ua,t.prototype.ignoreFrom=(0,st.warnOnce)((function(e){return this._backCompatOption("ignoreFrom",e)}),"Interactable.ignoreFrom() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue})."),t.prototype.allowFrom=(0,st.warnOnce)((function(e){return this._backCompatOption("allowFrom",e)}),"Interactable.allowFrom() has been deprecated. Use Interactble.draggable({allowFrom: newValue})."),t.prototype.actionChecker=fa,t.prototype.styleCursor=da,t.prototype.defaultActionChecker=function(e,t,n,a){return function(e,t,r,n,a,i){for(var o=e.getRect(a),s=r.buttons||{0:1,1:4,3:8,4:16}[r.button],l=null,c=0;c<i.names.length;c++){var u=i.names[c];if((!n.pointerIsDown||!/mouse|pointer/.test(n.pointerType)||0!=(s&e.options[u].mouseButtons))&&(l=i[u].checker(t,r,e,a,n,o)))return l}}(this,e,t,n,a,r)}}};sa.default=ha;var pa={};Object.defineProperty(pa,"__esModule",{value:!0}),pa.default=void 0;var ga=function(e){if(e&&e.__esModule)return e;var t=ma();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}}return r.default=e,t&&t.set(e,r),r}(st),va=function(e){return e&&e.__esModule?e:{default:e}}(sa);function ma(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return ma=function(){return e},e}function ya(e,t,r,n,a){return t.testIgnoreAllow(t.options[e.name],r,n)&&t.options[e.name].enabled&&_a(t,r,e,a)?e:null}function xa(e,t,r,n,a,i,o){for(var s=0,l=n.length;s<l;s++){var c=n[s],u=a[s],d=c.getAction(t,r,e,u);if(d){var f=ya(d,c,u,i,o);if(f)return{action:f,interactable:c,element:u}}}return{action:null,interactable:null,element:null}}function ba(e,t,r,n,a){var i=[],o=[],s=n;function l(e){i.push(e),o.push(s)}for(;ga.is.element(s);){i=[],o=[],a.interactables.forEachMatch(s,l);var c=xa(e,t,r,i,o,n,a);if(c.action&&!c.interactable.options[c.action.name].manualStart)return c;s=ga.dom.parentNode(s)}return{action:null,interactable:null,element:null}}function wa(e,t,r){var n=t.action,a=t.interactable,i=t.element;n=n||{name:null},e.interactable&&e.interactable.options.styleCursor&&Ta(e.element,"",r),e.interactable=a,e.element=i,ga.copyAction(e.prepared,n),e.rect=a&&n.name?a.getRect(i):null,Ma(e,r),r.autoStart.signals.fire("prepared",{interaction:e})}function _a(e,t,r,n){var a=e.options,i=a[r.name].max,o=a[r.name].maxPerElement,s=n.autoStart.maxInteractions,l=0,c=0,u=0;if(!(i&&o&&s))return!1;for(var d=0;d<n.interactions.list.length;d++){var f=n.interactions.list[d],h=f.prepared.name;if(f.interacting()){if(++l>=s)return!1;if(f.interactable===e){if((c+=h===r.name?1:0)>=i)return!1;if(f.element===t&&(u++,h===r.name&&u>=o))return!1}}}return s>0}function ka(e,t){return ga.is.number(e)?(t.autoStart.maxInteractions=e,this):t.autoStart.maxInteractions}function Ta(e,t,r){r.autoStart.cursorElement&&(r.autoStart.cursorElement.style.cursor=""),e.ownerDocument.documentElement.style.cursor=t,e.style.cursor=t,r.autoStart.cursorElement=t?e:null}function Ma(e,t){var r=e.interactable,n=e.element,a=e.prepared;if("mouse"===e.pointerType&&r&&r.options.styleCursor){var i="";if(a.name){var o=r.options[a.name].cursorChecker;i=ga.is.func(o)?o(a,r,n,e._interacting):t.actions[a.name].getCursor(a)}Ta(e.element,i||"",t)}}var Sa={id:"auto-start/base",install:function(e){var t=e.interact,r=e.interactions,n=e.defaults;e.usePlugin(va.default),r.signals.on("down",(function(t){var r=t.interaction,n=t.pointer,a=t.event,i=t.eventTarget;r.interacting()||wa(r,ba(r,n,a,i,e),e)})),r.signals.on("move",(function(t){var r=t.interaction,n=t.pointer,a=t.event,i=t.eventTarget;"mouse"!==r.pointerType||r.pointerIsDown||r.interacting()||wa(r,ba(r,n,a,i,e),e)})),r.signals.on("move",(function(t){var r=t.interaction;if(r.pointerIsDown&&!r.interacting()&&r.pointerWasMoved&&r.prepared.name){e.autoStart.signals.fire("before-start",t);var n=r.interactable;r.prepared.name&&n&&(n.options[r.prepared.name].manualStart||!_a(n,r.element,r.prepared,e)?r.stop():(r.start(r.prepared,n,r.element),Ma(r,e)))}})),r.signals.on("stop",(function(t){var r=t.interaction,n=r.interactable;n&&n.options.styleCursor&&Ta(r.element,"",e)})),n.base.actionChecker=null,n.base.styleCursor=!0,ga.extend(n.perAction,{manualStart:!1,max:1/0,maxPerElement:1,allowFrom:null,ignoreFrom:null,mouseButtons:1}),t.maxInteractions=function(t){return ka(t,e)},e.autoStart={maxInteractions:1/0,withinInteractionLimit:_a,cursorElement:null,signals:new ga.Signals}},maxInteractions:ka,withinInteractionLimit:_a,validateAction:ya};pa.default=Sa;var Aa={};Object.defineProperty(Aa,"__esModule",{value:!0}),Aa.default=void 0;var Ca=t({}),Pa=function(e){if(e&&e.__esModule)return e;var t=Ia();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}}return r.default=e,t&&t.set(e,r),r}(x),Oa=function(e){return e&&e.__esModule?e:{default:e}}(pa);function Ia(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return Ia=function(){return e},e}var za={id:"auto-start/dragAxis",install:function(e){e.autoStart.signals.on("before-start",(function(t){var r=t.interaction,n=t.eventTarget,a=t.dx,i=t.dy;if("drag"===r.prepared.name){var o=Math.abs(a),s=Math.abs(i),l=r.interactable.options.drag,c=l.startAxis,u=o>s?"x":o<s?"y":"xy";if(r.prepared.axis="start"===l.lockAxis?u[0]:l.lockAxis,"xy"!==u&&"xy"!==c&&c!==u){r.prepared.name=null;for(var d=n,f=function(t){if(t!==r.interactable){var a=r.interactable.options.drag;if(!a.manualStart&&t.testIgnoreAllow(a,d,n)){var i=t.getAction(r.downPointer,r.downEvent,r,d);if(i&&i.name===Ca.ActionName.Drag&&function(e,t){if(!t)return!1;var r=t.options[Ca.ActionName.Drag].startAxis;return"xy"===e||"xy"===r||r===e}(u,t)&&Oa.default.validateAction(i,t,d,n,e))return t}}};Pa.element(d);){var h=e.interactables.forEachMatch(d,f);if(h){r.prepared.name=Ca.ActionName.Drag,r.interactable=h,r.element=d;break}d=(0,E.parentNode)(d)}}}}))}};Aa.default=za;var La={};Object.defineProperty(La,"__esModule",{value:!0}),La.default=void 0;var Ea=function(e){return e&&e.__esModule?e:{default:e}}(pa);function ja(e){var t=e.prepared&&e.prepared.name;if(!t)return null;var r=e.interactable.options;return r[t].hold||r[t].delay}var Da={id:"auto-start/hold",install:function(e){var t=e.autoStart,r=e.interactions,n=e.defaults;e.usePlugin(Ea.default),n.perAction.hold=0,n.perAction.delay=0,r.signals.on("new",(function(e){e.autoStartHoldTimer=null})),t.signals.on("prepared",(function(e){var t=e.interaction,r=ja(t);r>0&&(t.autoStartHoldTimer=setTimeout((function(){t.start(t.prepared,t.interactable,t.element)}),r))})),r.signals.on("move",(function(e){var t=e.interaction,r=e.duplicate;t.pointerWasMoved&&!r&&clearTimeout(t.autoStartHoldTimer)})),t.signals.on("before-start",(function(e){var t=e.interaction;ja(t)>0&&(t.prepared.name=null)}))},getHoldDuration:ja};La.default=Da;var Ra={};Object.defineProperty(Ra,"__esModule",{value:!0}),Ra.install=function(e){e.usePlugin(Na.default),e.usePlugin(Ba.default),e.usePlugin(Fa.default)},Object.defineProperty(Ra,"autoStart",{enumerable:!0,get:function(){return Na.default}}),Object.defineProperty(Ra,"dragAxis",{enumerable:!0,get:function(){return Fa.default}}),Object.defineProperty(Ra,"hold",{enumerable:!0,get:function(){return Ba.default}}),Ra.id=void 0;var Na=Ha(pa),Fa=Ha(Aa),Ba=Ha(La);function Ha(e){return e&&e.__esModule?e:{default:e}}Ra.id="auto-start";var Va={};Object.defineProperty(Va,"__esModule",{value:!0}),Va.install=Ya,Va.default=void 0;var Ga=function(e){return e&&e.__esModule?e:{default:e}}(he),Za=function(e){if(e&&e.__esModule)return e;var t=qa();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}}return r.default=e,t&&t.set(e,r),r}(x);function qa(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return qa=function(){return e},e}function Ua(e){return/^(always|never|auto)$/.test(e)?(this.options.preventDefault=e,this):Za.bool(e)?(this.options.preventDefault=e?"always":"never",this):this.options.preventDefault}function Wa(e){var t=e.interaction,r=e.event;t.interactable&&t.interactable.checkAndPreventDefault(r)}function Ya(e){var t=e.Interactable;t.prototype.preventDefault=Ua,t.prototype.checkAndPreventDefault=function(t){return function(e,t,r){var n=e.options.preventDefault;if("never"!==n)if("always"!==n){if(Ga.default.supportsPassive&&/^touch(start|move)$/.test(r.type)){var a=(0,f.getWindow)(r.target).document,i=t.getDocOptions(a);if(!i||!i.events||!1!==i.events.passive)return}/^(mouse|pointer|touch)*(down|start)/i.test(r.type)||Za.element(r.target)&&(0,E.matchesSelector)(r.target,"input,select,textarea,[contenteditable=true],[contenteditable=true] *")||r.preventDefault()}else r.preventDefault()}(this,e,t)};for(var r=["down","move","up","cancel"],n=0;n<r.length;n++){var a=r[n];e.interactions.signals.on(a,Wa)}e.interactions.docEvents.push({type:"dragstart",listener:function(t){for(var r=0;r<e.interactions.list.length;r++){var n=e.interactions.list[r];if(n.element&&(n.element===t.target||(0,E.nodeContains)(n.element,t.target)))return void n.interactable.checkAndPreventDefault(t)}}})}var Xa={id:"core/interactablePreventDefault",install:Ya};Va.default=Xa;var $a,Ja={};function Ka(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return Ka=function(){return e},e}function Qa(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(Ja,"__esModule",{value:!0}),Ja.default=void 0,Qa(s),Qa(je),function(e){if(e&&e.__esModule)return e;var t=Ka();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}}r.default=e,t&&t.set(e,r)}(x),Qa(f),function(e){e.touchAction="",e.boxSizing="",e.noListeners=""}($a||($a={}));var ei={id:"dev-tools",install:function(){}};Ja.default=ei;var ti={};Object.defineProperty(ti,"__esModule",{value:!0}),ti.startAll=ii,ti.setAll=oi,ti.prepareStates=di,ti.setCoords=fi,ti.restoreCoords=hi,ti.makeModifier=vi,ti.default=void 0;var ri=function(e){return e&&e.__esModule?e:{default:e}}(je);function ni(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var r=[],n=!0,a=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){a=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(a)throw i}}return r}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function ai(e,t,r){var n=e.interaction,a=e.phase,i=n.interactable,o=n.element,s=di(ui(n)),l=(0,ri.default)({},n.rect);"width"in l||(l.width=l.right-l.left),"height"in l||(l.height=l.bottom-l.top);var c=gi(l,t);n.modifiers.startOffset=c,n.modifiers.startDelta={x:0,y:0};var u={interaction:n,interactable:i,element:o,pageCoords:t,phase:a,rect:l,startOffset:c,states:s,preEnd:!1,requireEndOnly:!1,prevCoords:r||(n.modifiers.result?n.modifiers.result.coords:n.coords.prev.page)};return n.modifiers.states=s,n.modifiers.result=null,ii(u),n.modifiers.result=oi(u)}function ii(e){for(var t=e.states,r=0;r<t.length;r++){var n=t[r];n.methods.start&&(e.state=n,n.methods.start(e))}}function oi(e){var t=e.prevCoords,r=e.phase,n=e.preEnd,a=e.requireEndOnly,i=e.rect,o=e.states;e.coords=(0,ri.default)({},e.pageCoords),e.rect=(0,ri.default)({},i);for(var s={delta:{x:0,y:0},rectDelta:{left:0,right:0,top:0,bottom:0},coords:e.coords,changed:!0},l=0;l<o.length;l++){var c=o[l],u=c.options;c.methods.set&&pi(u,n,a,r)&&(e.state=c,c.methods.set(e))}s.delta.x=e.coords.x-e.pageCoords.x,s.delta.y=e.coords.y-e.pageCoords.y;var d=!1;return i&&(s.rectDelta.left=e.rect.left-i.left,s.rectDelta.right=e.rect.right-i.right,s.rectDelta.top=e.rect.top-i.top,s.rectDelta.bottom=e.rect.bottom-i.bottom,d=0!==s.rectDelta.left||0!==s.rectDelta.right||0!==s.rectDelta.top||0!==s.rectDelta.bottom),s.changed=!t||t.x!==s.coords.x||t.y!==s.coords.y||d,s}function si(e){var t=e.interaction,r=e.phase,n=e.preEnd,a=e.skipModifiers,i=t.interactable,o=t.element,s=a?t.modifiers.states.slice(a):t.modifiers.states,l=e.prevCoords||(t.modifiers.result?t.modifiers.result.coords:t.coords.prev.page),c=oi({interaction:t,interactable:i,element:o,preEnd:n,phase:r,pageCoords:e.modifiedCoords||t.coords.cur.page,prevCoords:l,rect:t.rect,states:s,requireEndOnly:!1});if(t.modifiers.result=c,!c.changed&&t.interacting())return!1;if(e.modifiedCoords){var u=t.coords.cur.page,d={x:e.modifiedCoords.x-u.x,y:e.modifiedCoords.y-u.y};c.coords.x+=d.x,c.coords.y+=d.y,c.delta.x+=d.x,c.delta.y+=d.y}fi(e)}function li(e){var t=e.interaction,r=e.event,n=e.noPreEnd,a=t.modifiers.states;if(!n&&a&&a.length)for(var i=!1,o=0;o<a.length;o++){var s=a[o];e.state=s;var l=s.options,c=s.methods;if(!1===(c.beforeEnd&&c.beforeEnd(e)))return t.modifiers.endPrevented=!0,!1;!i&&pi(l,!0,!0)&&(t.move({event:r,preEnd:!0}),i=!0)}}function ci(e){var t=e.interaction,r=t.modifiers.states;if(r&&r.length){for(var n=(0,ri.default)({states:r,interactable:t.interactable,element:t.element,rect:null},e),a=0;a<r.length;a++){var i=r[a];n.state=i,i.methods.stop&&i.methods.stop(n)}e.interaction.modifiers.states=null,e.interaction.modifiers.endPrevented=!1}}function ui(e){var t=e.interactable.options[e.prepared.name],r=t.modifiers;return r&&r.length?r.filter((function(e){return!e.options||!1!==e.options.enabled})):["snap","snapSize","snapEdges","restrict","restrictEdges","restrictSize"].map((function(e){var r=t[e];return r&&r.enabled&&{options:r,methods:r._methods}})).filter((function(e){return!!e}))}function di(e){for(var t=[],r=0;r<e.length;r++){var n=e[r],a=n.options,i=n.methods,o=n.name;a&&!1===a.enabled||t.push({options:a,methods:i,index:r,name:o})}return t}function fi(e){var t=e.interaction,r=e.phase,n=t.coords.cur,a=t.coords.start,i=t.modifiers,o=i.result,s=i.startDelta,l=o.delta;"start"===r&&(0,ri.default)(t.modifiers.startDelta,o.delta);for(var c=[[a,s],[n,l]],u=0;u<c.length;u++){var d=ni(c[u],2),f=d[0],h=d[1];f.page.x+=h.x,f.page.y+=h.y,f.client.x+=h.x,f.client.y+=h.y}var p=t.modifiers.result.rectDelta,g=e.rect||t.rect;g.left+=p.left,g.right+=p.right,g.top+=p.top,g.bottom+=p.bottom,g.width=g.right-g.left,g.height=g.bottom-g.top}function hi(e){var t=e.interaction,r=t.coords,n=t.rect,a=t.modifiers;if(a.result){for(var i=a.startDelta,o=a.result,s=o.delta,l=o.rectDelta,c=[[r.start,i],[r.cur,s]],u=0;u<c.length;u++){var d=ni(c[u],2),f=d[0],h=d[1];f.page.x-=h.x,f.page.y-=h.y,f.client.x-=h.x,f.client.y-=h.y}n.left-=l.left,n.right-=l.right,n.top-=l.top,n.bottom-=l.bottom}}function pi(e,t,r,n){return e?!1!==e.enabled&&(t||!e.endOnly)&&(!r||e.endOnly||e.alwaysOnEnd)&&(e.setStart||"start"!==n):!r}function gi(e,t){return e?{left:t.x-e.left,top:t.y-e.top,right:e.right-t.x,bottom:e.bottom-t.y}:{left:0,top:0,right:0,bottom:0}}function vi(e,t){var r=e.defaults,n={start:e.start,set:e.set,beforeEnd:e.beforeEnd,stop:e.stop},a=function(e){var a=e||{};for(var i in a.enabled=!1!==a.enabled,r)i in a||(a[i]=r[i]);return{options:a,methods:n,name:t}};return t&&"string"==typeof t&&(a._defaults=r,a._methods=n),a}var mi={id:"modifiers/base",install:function(e){var t=e.interactions;e.defaults.perAction.modifiers=[],t.signals.on("new",(function(e){e.interaction.modifiers={startOffset:{left:0,right:0,top:0,bottom:0},offsets:{},states:null,result:null,endPrevented:!1,startDelta:null}})),t.signals.on("before-action-start",(function(e){ai(e,e.interaction.coords.start.page,e.interaction.coords.prev.page)})),t.signals.on("action-resume",(function(e){ci(e),ai(e,e.interaction.coords.cur.page,e.interaction.modifiers.result.coords),si(e)})),t.signals.on("after-action-move",hi),t.signals.on("before-action-move",si),t.signals.on("before-action-start",fi),t.signals.on("after-action-start",hi),t.signals.on("before-action-end",li),t.signals.on("stop",ci)},startAll:ii,setAll:oi,prepareStates:di,start:ai,beforeMove:si,beforeEnd:li,stop:ci,shouldDo:pi,getModifierList:ui,getRectOffset:gi,makeModifier:vi};ti.default=mi;var yi={};Object.defineProperty(yi,"__esModule",{value:!0}),yi.default=void 0;var xi=ki(ti),bi=ki(st),wi=function(e){return e&&e.__esModule?e:{default:e}}(Qe);function _i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _i=function(){return e},e}function ki(e){if(e&&e.__esModule)return e;var t=_i();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}}return r.default=e,t&&t.set(e,r),r}function Ti(e){var t=e.interaction,r=t.inertia;r.active&&(wi.default.cancel(r.timeout),r.active=!1,t.simulation=null)}function Mi(e,t){var r=Pi(e),n=r.resistance,a=-Math.log(r.endSpeed/t.v0)/n;t.x0=e.prevEvent.page.x,t.y0=e.prevEvent.page.y,t.t0=t.startEvent.timeStamp/1e3,t.sx=t.sy=0,t.modifiedXe=t.xe=(t.vx0-a)/n,t.modifiedYe=t.ye=(t.vy0-a)/n,t.te=a,t.lambda_v0=n/t.v0,t.one_ve_v0=1-r.endSpeed/t.v0}function Si(e){Ci(e),bi.pointer.setCoordDeltas(e.coords.delta,e.coords.prev,e.coords.cur),bi.pointer.setCoordVelocity(e.coords.velocity,e.coords.delta);var t=e.inertia,r=Pi(e).resistance,n=e._now()/1e3-t.t0;if(n<t.te){var a=1-(Math.exp(-r*n)-t.lambda_v0)/t.one_ve_v0;if(t.modifiedXe===t.xe&&t.modifiedYe===t.ye)t.sx=t.xe*a,t.sy=t.ye*a;else{var i=bi.getQuadraticCurvePoint(0,0,t.xe,t.ye,t.modifiedXe,t.modifiedYe,a);t.sx=i.x,t.sy=i.y}e.move(),t.timeout=wi.default.request((function(){return Si(e)}))}else t.sx=t.modifiedXe,t.sy=t.modifiedYe,e.move(),e.end(t.startEvent),t.active=!1,e.simulation=null;bi.pointer.copyCoords(e.coords.prev,e.coords.cur)}function Ai(e){Ci(e);var t=e.inertia,r=e._now()-t.t0,n=Pi(e).smoothEndDuration;r<n?(t.sx=bi.easeOutQuad(r,0,t.xe,n),t.sy=bi.easeOutQuad(r,0,t.ye,n),e.move(),t.timeout=wi.default.request((function(){return Ai(e)}))):(t.sx=t.xe,t.sy=t.ye,e.move(),e.end(t.startEvent),t.smoothEnd=t.active=!1,e.simulation=null)}function Ci(e){var t=e.inertia;if(t.active){var r=t.upCoords.page,n=t.upCoords.client;bi.pointer.setCoords(e.coords.cur,[{pageX:r.x+t.sx,pageY:r.y+t.sy,clientX:n.x+t.sx,clientY:n.y+t.sy}],e._now())}}function Pi(e){var t=e.interactable,r=e.prepared;return t&&t.options&&r.name&&t.options[r.name].inertia}vr.EventPhase.Resume="resume",vr.EventPhase.InertiaStart="inertiastart";var Oi={id:"inertia",install:function(e){var t=e.interactions,r=e.defaults;t.signals.on("new",(function(e){e.interaction.inertia={active:!1,smoothEnd:!1,allowResume:!1,upCoords:{},timeout:null}})),t.signals.on("before-action-end",(function(t){return function(e,t){var r=e.interaction,n=e.event,a=e.noPreEnd,i=r.inertia;if(!r.interacting()||r.simulation&&r.simulation.active||a)return null;var o,s=Pi(r),l=r._now(),c=r.coords.velocity.client,u=bi.hypot(c.x,c.y),d=!1,f=s&&s.enabled&&"gesture"!==r.prepared.name&&n!==i.startEvent,h=f&&l-r.coords.cur.timeStamp<50&&u>s.minSpeed&&u>s.endSpeed,p={interaction:r,pageCoords:r.coords.cur.page,states:f&&r.modifiers.states.map((function(e){return bi.extend({},e)})),preEnd:!0,prevCoords:null,requireEndOnly:null,phase:vr.EventPhase.InertiaStart};return f&&!h&&(p.prevCoords=r.modifiers.result?r.modifiers.result.coords:r.prevEvent.page,p.requireEndOnly=!1,(o=xi.default.setAll(p)).changed&&(d=!0)),h||d?(bi.pointer.copyCoords(i.upCoords,r.coords.cur),(0,xi.setCoords)(p),r.pointers[0].pointer=i.startEvent=new t.InteractEvent(r,n,r.prepared.name,vr.EventPhase.InertiaStart,r.element),(0,xi.restoreCoords)(p),i.t0=l,i.active=!0,i.allowResume=s.allowResume,r.simulation=i,r.interactable.fire(i.startEvent),h?(i.vx0=r.coords.velocity.client.x,i.vy0=r.coords.velocity.client.y,i.v0=u,Mi(r,i),bi.extend(p.pageCoords,r.coords.cur.page),p.pageCoords.x+=i.xe,p.pageCoords.y+=i.ye,p.prevCoords=null,p.requireEndOnly=!0,o=xi.default.setAll(p),i.modifiedXe+=o.delta.x,i.modifiedYe+=o.delta.y,i.timeout=wi.default.request((function(){return Si(r)}))):(i.smoothEnd=!0,i.xe=o.delta.x,i.ye=o.delta.y,i.sx=i.sy=0,i.timeout=wi.default.request((function(){return Ai(r)}))),!1):null}(t,e)})),t.signals.on("down",(function(t){return function(e,t){var r=e.interaction,n=e.event,a=e.pointer,i=e.eventTarget,o=r.inertia;if(o.active)for(var s=i;bi.is.element(s);){if(s===r.element){wi.default.cancel(o.timeout),o.active=!1,r.simulation=null,r.updatePointer(a,n,i,!0),bi.pointer.setCoords(r.coords.cur,r.pointers.map((function(e){return e.pointer})),r._now());var l={interaction:r,phase:vr.EventPhase.Resume};t.interactions.signals.fire("action-resume",l);var c=new t.InteractEvent(r,n,r.prepared.name,vr.EventPhase.Resume,r.element);r._fireEvent(c),bi.pointer.copyCoords(r.coords.prev,r.coords.cur);break}s=bi.dom.parentNode(s)}}(t,e)})),t.signals.on("stop",Ti),r.perAction.inertia={enabled:!1,resistance:10,minSpeed:100,endSpeed:10,allowResume:!0,smoothEndDuration:300},e.usePlugin(xi.default)},calcInertia:Mi,inertiaTick:Si,smothEndTick:Ai,updateInertiaCoords:Ci};yi.default=Oi;var Ii={};Object.defineProperty(Ii,"__esModule",{value:!0}),Ii.default=void 0;var zi=Di(je),Li=function(e){if(e&&e.__esModule)return e;var t=ji();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}}return r.default=e,t&&t.set(e,r),r}(x),Ei=Di(De);function ji(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return ji=function(){return e},e}function Di(e){return e&&e.__esModule?e:{default:e}}function Ri(e,t,r){return Li.func(e)?Ei.default.resolveRectLike(e,t.interactable,t.element,[r.x,r.y,t]):Ei.default.resolveRectLike(e,t.interactable,t.element)}var Ni={start:function(e){var t=e.rect,r=e.startOffset,n=e.state,a=e.interaction,i=e.pageCoords,o=n.options,s=o.elementRect,l=(0,zi.default)({left:0,top:0,right:0,bottom:0},o.offset||{});if(t&&s){var c=Ri(o.restriction,a,i);if(c){var u=c.right-c.left-t.width,d=c.bottom-c.top-t.height;u<0&&(l.left+=u,l.right+=u),d<0&&(l.top+=d,l.bottom+=d)}l.left+=r.left-t.width*s.left,l.top+=r.top-t.height*s.top,l.right+=r.right-t.width*(1-s.right),l.bottom+=r.bottom-t.height*(1-s.bottom)}n.offset=l},set:function(e){var t=e.coords,r=e.interaction,n=e.state,a=n.options,i=n.offset,o=Ri(a.restriction,r,t);if(o){var s=Ei.default.xywhToTlbr(o);t.x=Math.max(Math.min(s.right-i.right,t.x),s.left+i.left),t.y=Math.max(Math.min(s.bottom-i.bottom,t.y),s.top+i.top)}},getRestrictionRect:Ri,defaults:{restriction:null,elementRect:null,offset:null,endOnly:!1,enabled:!1}};Ii.default=Ni;var Fi={};Object.defineProperty(Fi,"__esModule",{value:!0}),Fi.default=void 0;var Bi=Vi(je),Hi=Vi(De);function Vi(e){return e&&e.__esModule?e:{default:e}}var Gi=Vi(Ii).default.getRestrictionRect,Zi={top:1/0,left:1/0,bottom:-1/0,right:-1/0},qi={top:-1/0,left:-1/0,bottom:1/0,right:1/0};function Ui(e,t){for(var r=["top","left","bottom","right"],n=0;n<r.length;n++){var a=r[n];a in e||(e[a]=t[a])}return e}var Wi={noInner:Zi,noOuter:qi,getRestrictionRect:Gi,start:function(e){var t,r=e.interaction,n=e.state,a=n.options,i=r.modifiers.startOffset;if(a){var o=Gi(a.offset,r,r.coords.start.page);t=Hi.default.rectToXY(o)}t=t||{x:0,y:0},n.offset={top:t.y+i.top,left:t.x+i.left,bottom:t.y-i.bottom,right:t.x-i.right}},set:function(e){var t=e.coords,r=e.interaction,n=e.state,a=n.offset,i=n.options,o=r.prepared._linkedEdges||r.prepared.edges;if(o){var s=(0,Bi.default)({},t),l=Gi(i.inner,r,s)||{},c=Gi(i.outer,r,s)||{};Ui(l,Zi),Ui(c,qi),o.top?t.y=Math.min(Math.max(c.top+a.top,s.y),l.top+a.top):o.bottom&&(t.y=Math.max(Math.min(c.bottom+a.bottom,s.y),l.bottom+a.bottom)),o.left?t.x=Math.min(Math.max(c.left+a.left,s.x),l.left+a.left):o.right&&(t.x=Math.max(Math.min(c.right+a.right,s.x),l.right+a.right))}},defaults:{inner:null,outer:null,offset:null,endOnly:!1,enabled:!1}};Fi.default=Wi;var Yi={};Object.defineProperty(Yi,"__esModule",{value:!0}),Yi.default=void 0;var Xi=Ji(je),$i=Ji(Ii);function Ji(e){return e&&e.__esModule?e:{default:e}}var Ki=(0,Xi.default)({get elementRect(){return{top:0,left:0,bottom:1,right:1}},set elementRect(e){}},$i.default.defaults),Qi={start:$i.default.start,set:$i.default.set,defaults:Ki};Yi.default=Qi;var eo={};Object.defineProperty(eo,"__esModule",{value:!0}),eo.default=void 0;var to=ao(je),ro=ao(De),no=ao(Fi);function ao(e){return e&&e.__esModule?e:{default:e}}var io={width:-1/0,height:-1/0},oo={width:1/0,height:1/0},so={start:function(e){return no.default.start(e)},set:function(e){var t=e.interaction,r=e.state,n=r.options,a=t.prepared._linkedEdges||t.prepared.edges;if(a){var i=ro.default.xywhToTlbr(t.resizeRects.inverted),o=ro.default.tlbrToXywh(no.default.getRestrictionRect(n.min,t,e.coords))||io,s=ro.default.tlbrToXywh(no.default.getRestrictionRect(n.max,t,e.coords))||oo;r.options={endOnly:n.endOnly,inner:(0,to.default)({},no.default.noInner),outer:(0,to.default)({},no.default.noOuter)},a.top?(r.options.inner.top=i.bottom-o.height,r.options.outer.top=i.bottom-s.height):a.bottom&&(r.options.inner.bottom=i.top+o.height,r.options.outer.bottom=i.top+s.height),a.left?(r.options.inner.left=i.right-o.width,r.options.outer.left=i.right-s.width):a.right&&(r.options.inner.right=i.left+o.width,r.options.outer.right=i.left+s.width),no.default.set(e),r.options=n}},defaults:{min:null,max:null,endOnly:!1,enabled:!1}};eo.default=so;var lo={};Object.defineProperty(lo,"__esModule",{value:!0}),lo.default=void 0;var co=function(e){if(e&&e.__esModule)return e;var t=uo();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}}return r.default=e,t&&t.set(e,r),r}(st);function uo(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return uo=function(){return e},e}var fo={start:function(e){var t,r=e.interaction,n=e.interactable,a=e.element,i=e.rect,o=e.state,s=e.startOffset,l=o.options,c=[],u=l.offsetWithOrigin?function(e){var t=e.interaction.element;return co.rect.rectToXY(co.rect.resolveRectLike(e.state.options.origin,null,null,[t]))||co.getOriginXY(e.interactable,t,e.interaction.prepared.name)}(e):{x:0,y:0};if("startCoords"===l.offset)t={x:r.coords.start.page.x,y:r.coords.start.page.y};else{var d=co.rect.resolveRectLike(l.offset,n,a,[r]);(t=co.rect.rectToXY(d)||{x:0,y:0}).x+=u.x,t.y+=u.y}var f=l.relativePoints||[];if(i&&l.relativePoints&&l.relativePoints.length)for(var h=0;h<f.length;h++){var p=f[h];c.push({index:h,relativePoint:p,x:s.left-i.width*p.x+t.x,y:s.top-i.height*p.y+t.y})}else c.push(co.extend({index:0,relativePoint:null},t));o.offsets=c},set:function(e){var t,r=e.interaction,n=e.coords,a=e.state,i=a.options,o=a.offsets,s=co.getOriginXY(r.interactable,r.element,r.prepared.name),l=co.extend({},n),c=[];i.offsetWithOrigin||(l.x-=s.x,l.y-=s.y),a.realX=l.x,a.realY=l.y;for(var u=0;u<o.length;u++)for(var d=o[u],f=l.x-d.x,h=l.y-d.y,p=0,g=i.targets.length;p<g;p++){var v=i.targets[p];(t=co.is.func(v)?v(f,h,r,d,p):v)&&c.push({x:(co.is.number(t.x)?t.x:f)+d.x,y:(co.is.number(t.y)?t.y:h)+d.y,range:co.is.number(t.range)?t.range:i.range})}for(var m={target:null,inRange:!1,distance:0,range:0,dx:0,dy:0},y=0,x=c.length;y<x;y++){var b=(t=c[y]).range,w=t.x-l.x,_=t.y-l.y,k=co.hypot(w,_),T=k<=b;b===1/0&&m.inRange&&m.range!==1/0&&(T=!1),m.target&&!(T?m.inRange&&b!==1/0?k/b<m.distance/m.range:b===1/0&&m.range!==1/0||k<m.distance:!m.inRange&&k<m.distance)||(m.target=t,m.distance=k,m.range=b,m.inRange=T,m.dx=w,m.dy=_,a.range=b)}m.inRange&&(n.x=m.target.x,n.y=m.target.y),a.closest=m},defaults:{range:1/0,targets:null,offset:null,offsetWithOrigin:!0,origin:null,relativePoints:null,endOnly:!1,enabled:!1}};lo.default=fo;var ho={};Object.defineProperty(ho,"__esModule",{value:!0}),ho.default=void 0;var po=yo(je),go=function(e){if(e&&e.__esModule)return e;var t=mo();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}}return r.default=e,t&&t.set(e,r),r}(x),vo=yo(lo);function mo(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return mo=function(){return e},e}function yo(e){return e&&e.__esModule?e:{default:e}}function xo(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var r=[],n=!0,a=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){a=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(a)throw i}}return r}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var bo={start:function(e){var t=e.interaction,r=e.state,n=r.options,a=t.prepared.edges;if(!a)return null;e.state={options:{targets:null,relativePoints:[{x:a.left?0:1,y:a.top?0:1}],offset:n.offset||"self",origin:{x:0,y:0},range:n.range}},r.targetFields=r.targetFields||[["width","height"],["x","y"]],vo.default.start(e),r.offsets=e.state.offsets,e.state=r},set:function(e){var t=e.interaction,r=e.state,n=e.coords,a=r.options,i=r.offsets,o={x:n.x-i[0].x,y:n.y-i[0].y};r.options=(0,po.default)({},a),r.options.targets=[];for(var s=0;s<(a.targets||[]).length;s++){var l=(a.targets||[])[s],c=void 0;if(c=go.func(l)?l(o.x,o.y,t):l){for(var u=0;u<r.targetFields.length;u++){var d=xo(r.targetFields[u],2),f=d[0],h=d[1];if(f in c||h in c){c.x=c[f],c.y=c[h];break}}r.options.targets.push(c)}}vo.default.set(e),r.options=a},defaults:{range:1/0,targets:null,offset:null,endOnly:!1,enabled:!1}};ho.default=bo;var wo={};Object.defineProperty(wo,"__esModule",{value:!0}),wo.default=void 0;var _o=Mo(W),ko=Mo(je),To=Mo(ho);function Mo(e){return e&&e.__esModule?e:{default:e}}var So={start:function(e){var t=e.interaction.prepared.edges;return t?(e.state.targetFields=e.state.targetFields||[[t.left?"left":"right",t.top?"top":"bottom"]],To.default.start(e)):null},set:function(e){return To.default.set(e)},defaults:(0,ko.default)((0,_o.default)(To.default.defaults),{offset:{x:0,y:0}})};wo.default=So;var Ao={};Object.defineProperty(Ao,"__esModule",{value:!0}),Ao.restrictSize=Ao.restrictEdges=Ao.restrictRect=Ao.restrict=Ao.snapEdges=Ao.snapSize=Ao.snap=void 0;var Co=Do(ti),Po=Do(Fi),Oo=Do(Ii),Io=Do(Yi),zo=Do(eo),Lo=Do(wo),Eo=Do(lo),jo=Do(ho);function Do(e){return e&&e.__esModule?e:{default:e}}var Ro=Co.default.makeModifier,No=Ro(Eo.default,"snap");Ao.snap=No;var Fo=Ro(jo.default,"snapSize");Ao.snapSize=Fo;var Bo=Ro(Lo.default,"snapEdges");Ao.snapEdges=Bo;var Ho=Ro(Oo.default,"restrict");Ao.restrict=Ho;var Vo=Ro(Io.default,"restrictRect");Ao.restrictRect=Vo;var Go=Ro(Po.default,"restrictEdges");Ao.restrictEdges=Go;var Zo=Ro(zo.default,"restrictSize");Ao.restrictSize=Zo;var qo={};Object.defineProperty(qo,"__esModule",{value:!0}),qo.default=void 0;var Uo=Yo(fr),Wo=Yo(re);function Yo(e){return e&&e.__esModule?e:{default:e}}function Xo(e){return(Xo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function $o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Jo(e){return(Jo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ko(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qo(e,t){return(Qo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var es=function(e){function t(e,r,n,a,i,o){var s;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),s=function(e,t){return!t||"object"!==Xo(t)&&"function"!=typeof t?Ko(e):t}(this,Jo(t).call(this,i)),Wo.default.pointerExtend(Ko(s),n),n!==r&&Wo.default.pointerExtend(Ko(s),r),s.timeStamp=o,s.originalEvent=n,s.type=e,s.pointerId=Wo.default.getPointerId(r),s.pointerType=Wo.default.getPointerType(r),s.target=a,s.currentTarget=null,"tap"===e){var l=i.getPointerIndex(r);s.dt=s.timeStamp-i.pointers[l].downTime;var c=s.timeStamp-i.tapTime;s.double=!!(i.prevTap&&"doubletap"!==i.prevTap.type&&i.prevTap.target===s.target&&c<500)}else"doubletap"===e&&(s.dt=r.timeStamp-i.tapTime);return s}var r,n,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qo(e,t)}(t,e),r=t,(n=[{key:"_subtractOrigin",value:function(e){var t=e.x,r=e.y;return this.pageX-=t,this.pageY-=r,this.clientX-=t,this.clientY-=r,this}},{key:"_addOrigin",value:function(e){var t=e.x,r=e.y;return this.pageX+=t,this.pageY+=r,this.clientX+=t,this.clientY+=r,this}},{key:"preventDefault",value:function(){this.originalEvent.preventDefault()}}])&&$o(r.prototype,n),a&&$o(r,a),t}(Uo.default);qo.default=es;var ts={};Object.defineProperty(ts,"__esModule",{value:!0}),ts.default=void 0;var rs=function(e){if(e&&e.__esModule)return e;var t=as();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}}return r.default=e,t&&t.set(e,r),r}(st),ns=function(e){return e&&e.__esModule?e:{default:e}}(qo);function as(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return as=function(){return e},e}var is=new rs.Signals,os=["down","up","cancel"],ss=["down","up","cancel"],ls={id:"pointer-events/base",install:function(e){var t=e.interactions;e.pointerEvents=ls,e.defaults.actions.pointerEvents=ls.defaults,t.signals.on("new",(function(e){var t=e.interaction;t.prevTap=null,t.tapTime=0})),t.signals.on("update-pointer",(function(e){var t=e.down,r=e.pointerInfo;!t&&r.hold||(r.hold={duration:1/0,timeout:null})})),t.signals.on("move",(function(t){var r=t.interaction,n=t.pointer,a=t.event,i=t.eventTarget,o=t.duplicateMove,s=r.getPointerIndex(n);o||r.pointerIsDown&&!r.pointerWasMoved||(r.pointerIsDown&&clearTimeout(r.pointers[s].hold.timeout),cs({interaction:r,pointer:n,event:a,eventTarget:i,type:"move"},e))})),t.signals.on("down",(function(t){for(var r=t.interaction,n=t.pointer,a=t.event,i=t.eventTarget,o=t.pointerIndex,s=r.pointers[o].hold,l=rs.dom.getPath(i),c={interaction:r,pointer:n,event:a,eventTarget:i,type:"hold",targets:[],path:l,node:null},u=0;u<l.length;u++){var d=l[u];c.node=d,is.fire("collect-targets",c)}if(c.targets.length){for(var f=1/0,h=0;h<c.targets.length;h++){var p=c.targets[h].eventable.options.holdDuration;p<f&&(f=p)}s.duration=f,s.timeout=setTimeout((function(){cs({interaction:r,eventTarget:i,pointer:n,event:a,type:"hold"},e)}),f)}}));for(var r=["up","cancel"],n=0;n<r.length;n++){var a=r[n];t.signals.on(a,(function(e){var t=e.interaction,r=e.pointerIndex;t.pointers[r].hold&&clearTimeout(t.pointers[r].hold.timeout)}))}for(var i=0;i<os.length;i++)t.signals.on(os[i],ds(ss[i],e));t.signals.on("up",(function(t){var r=t.interaction,n=t.pointer,a=t.event,i=t.eventTarget;r.pointerWasMoved||cs({interaction:r,eventTarget:i,pointer:n,event:a,type:"tap"},e)}))},signals:is,PointerEvent:ns.default,fire:cs,collectEventTargets:us,createSignalListener:ds,defaults:{holdDuration:600,ignoreFrom:null,allowFrom:null,origin:{x:0,y:0}},types:["down","move","up","cancel","tap","doubletap","hold"]};function cs(e,t){for(var r=e.interaction,n=e.pointer,a=e.event,i=e.eventTarget,o=e.type,s=void 0===o?e.pointerEvent.type:o,l=e.targets,c=void 0===l?us(e):l,u=e.pointerEvent,d=void 0===u?new ns.default(s,n,a,i,r,t.now()):u,f={interaction:r,pointer:n,event:a,eventTarget:i,targets:c,type:s,pointerEvent:d},h=0;h<c.length;h++){var p=c[h];for(var g in p.props||{})d[g]=p.props[g];var v=rs.getOriginXY(p.eventable,p.node);if(d._subtractOrigin(v),d.eventable=p.eventable,d.currentTarget=p.node,p.eventable.fire(d),d._addOrigin(v),d.immediatePropagationStopped||d.propagationStopped&&h+1<c.length&&c[h+1].node!==d.currentTarget)break}if(is.fire("fired",f),"tap"===s){var m=d.double?cs({interaction:r,pointer:n,event:a,eventTarget:i,type:"doubletap"},t):d;r.prevTap=m,r.tapTime=m.timeStamp}return d}function us(e){var t=e.interaction,r=e.pointer,n=e.event,a=e.eventTarget,i=e.type,o=t.getPointerIndex(r),s=t.pointers[o];if("tap"===i&&(t.pointerWasMoved||!s||s.downTarget!==a))return[];for(var l=rs.dom.getPath(a),c={interaction:t,pointer:r,event:n,eventTarget:a,type:i,path:l,targets:[],node:null},u=0;u<l.length;u++){var d=l[u];c.node=d,is.fire("collect-targets",c)}return"hold"===i&&(c.targets=c.targets.filter((function(e){return e.eventable.options.holdDuration===t.pointers[o].hold.duration}))),c.targets}function ds(e,t){return function(r){var n=r.interaction,a=r.pointer,i=r.event;cs({interaction:n,eventTarget:r.eventTarget,pointer:a,event:i,type:e},t)}}var fs=ls;ts.default=fs;var hs={};Object.defineProperty(hs,"__esModule",{value:!0}),hs.default=void 0;var ps=function(e){return e&&e.__esModule?e:{default:e}}(ts);function gs(e){var t=e.pointerEvent;"hold"===t.type&&(t.count=(t.count||0)+1)}function vs(e){var t=e.interaction;t.holdIntervalHandle&&(clearInterval(t.holdIntervalHandle),t.holdIntervalHandle=null)}var ms={id:"pointer-events/holdRepeat",install:function(e){var t=e.pointerEvents,r=e.interactions;e.usePlugin(ps.default),t.signals.on("new",gs),t.signals.on("fired",(function(t){return function(e,t){var r=e.interaction,n=e.pointerEvent,a=e.eventTarget,i=e.targets;if("hold"===n.type&&i.length){var o=i[0].eventable.options.holdRepeatInterval;o<=0||(r.holdIntervalHandle=setTimeout((function(){t.pointerEvents.fire({interaction:r,eventTarget:a,type:"hold",pointer:n,event:n},t)}),o))}}(t,e)}));for(var n=["move","up","cancel","endall"],a=0;a<n.length;a++){var i=n[a];r.signals.on(i,vs)}t.defaults.holdRepeatInterval=0,t.types.push("holdrepeat")}};hs.default=ms;var ys={};Object.defineProperty(ys,"__esModule",{value:!0}),ys.default=void 0;var xs=function(e){return e&&e.__esModule?e:{default:e}}(je);function bs(e){return(0,xs.default)(this.events.options,e),this}var ws={id:"pointer-events/interactableTargets",install:function(e){var t=e.pointerEvents,r=e.actions,n=e.Interactable,i=e.interactables;t.signals.on("collect-targets",(function(t){var r=t.targets,n=t.node,a=t.type,i=t.eventTarget;e.interactables.forEachMatch(n,(function(e){var t=e.events,o=t.options;t.types[a]&&t.types[a].length&&e.testIgnoreAllow(o,n,i)&&r.push({node:n,eventable:t,props:{interactable:e}})}))})),i.signals.on("new",(function(e){var t=e.interactable;t.events.getRect=function(e){return t.getRect(e)}})),i.signals.on("set",(function(e){var r=e.interactable,n=e.options;(0,xs.default)(r.events.options,t.defaults),(0,xs.default)(r.events.options,n.pointerEvents||{})})),(0,a.merge)(r.eventTypes,t.types),n.prototype.pointerEvents=bs;var o=n.prototype._backCompatOption;n.prototype._backCompatOption=function(e,t){var r=o.call(this,e,t);return r===this&&(this.events.options[e]=t),r}}};ys.default=ws;var _s={};Object.defineProperty(_s,"__esModule",{value:!0}),_s.install=function(e){e.usePlugin(ks.default),e.usePlugin(Ts.default),e.usePlugin(Ms.default)},Object.defineProperty(_s,"pointerEvents",{enumerable:!0,get:function(){return ks.default}}),Object.defineProperty(_s,"holdRepeat",{enumerable:!0,get:function(){return Ts.default}}),Object.defineProperty(_s,"interactableTargets",{enumerable:!0,get:function(){return Ms.default}}),_s.id=void 0;var ks=Ss(ts),Ts=Ss(hs),Ms=Ss(ys);function Ss(e){return e&&e.__esModule?e:{default:e}}_s.id="pointer-events";var As={};function Cs(e){for(var t=e.actions,r=e.interactions,n=e.Interactable,a=0;a<t.names.length;a++){var i=t.names[a];t.eventTypes.push("".concat(i,"reflow"))}r.signals.on("stop",(function(t){var r=t.interaction;r.pointerType===vr.EventPhase.Reflow&&(r._reflowResolve&&r._reflowResolve(),st.arr.remove(e.interactions.list,r))})),n.prototype.reflow=function(t){return function(e,t,r){for(var n=st.is.string(e.target)?st.arr.from(e._context.querySelectorAll(e.target)):[e.target],a=st.win.window.Promise,i=a?[]:null,o=function(){var o=n[s],l=e.getRect(o);if(!l)return"break";var c=st.arr.find(r.interactions.list,(function(r){return r.interacting()&&r.interactable===e&&r.element===o&&r.prepared.name===t.name})),u=void 0;if(c)c.move(),i&&(u=c._reflowPromise||new a((function(e){c._reflowResolve=e})));else{var d=st.rect.tlbrToXywh(l),f={page:{x:d.x,y:d.y},client:{x:d.x,y:d.y},timeStamp:r.now()},h=st.pointer.coordsToEvent(f);u=function(e,t,r,n,a){var i=e.interactions.new({pointerType:"reflow"}),o={interaction:i,event:a,pointer:a,eventTarget:r,phase:vr.EventPhase.Reflow};i.interactable=t,i.element=r,i.prepared=(0,st.extend)({},n),i.prevEvent=a,i.updatePointer(a,a,r,!0),i._doPhase(o);var s=st.win.window.Promise?new st.win.window.Promise((function(e){i._reflowResolve=e})):null;return i._reflowPromise=s,i.start(n,t,r),i._interacting?(i.move(o),i.end(a)):i.stop(),i.removePointer(a,a),i.pointerIsDown=!1,s}(r,e,o,t,h)}i&&i.push(u)},s=0;s<n.length&&"break"!==o();s++);return i&&a.all(i).then((function(){return e}))}(this,t,e)}}Object.defineProperty(As,"__esModule",{value:!0}),As.install=Cs,As.default=void 0,vr.EventPhase.Reflow="reflow";var Ps={id:"reflow",install:Cs};As.default=Ps;var Os={};Object.defineProperty(Os,"__esModule",{value:!0}),Os.default=Os.scope=Os.interact=void 0;var Is=t({}),zs=function(e){if(e&&e.__esModule)return e;var t=Ds();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}}return r.default=e,t&&t.set(e,r),r}(st),Ls=js(S),Es=js(he);function js(e){return e&&e.__esModule?e:{default:e}}function Ds(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return Ds=function(){return e},e}var Rs={},Ns=new Is.Scope;Os.scope=Ns;var Fs=function(e,t){var r=Ns.interactables.get(e,t);return r||((r=Ns.interactables.new(e,t)).events.global=Rs),r};Os.interact=Fs,Fs.use=function(e,t){return Ns.usePlugin(e,t),Fs},Fs.isSet=function(e,t){return!!Ns.interactables.get(e,t&&t.context)},Fs.on=function(e,t,r){if(zs.is.string(e)&&-1!==e.search(" ")&&(e=e.trim().split(/ +/)),zs.is.array(e)){for(var n=0;n<e.length;n++){var a;a=e[n],Fs.on(a,t,r)}return Fs}if(zs.is.object(e)){for(var i in e)Fs.on(i,e[i],t);return Fs}return zs.arr.contains(Ns.actions.eventTypes,e)?Rs[e]?Rs[e].push(t):Rs[e]=[t]:Es.default.add(Ns.document,e,t,{options:r}),Fs},Fs.off=function(e,t,r){if(zs.is.string(e)&&-1!==e.search(" ")&&(e=e.trim().split(/ +/)),zs.is.array(e)){for(var n=0;n<e.length;n++){var a;a=e[n],Fs.off(a,t,r)}return Fs}if(zs.is.object(e)){for(var i in e)Fs.off(i,e[i],t);return Fs}var o;return zs.arr.contains(Ns.actions.eventTypes,e)?e in Rs&&-1!==(o=Rs[e].indexOf(t))&&Rs[e].splice(o,1):Es.default.remove(Ns.document,e,t,r),Fs},Fs.debug=function(){return Ns},Fs.getPointerAverage=zs.pointer.pointerAverage,Fs.getTouchBBox=zs.pointer.touchBBox,Fs.getTouchDistance=zs.pointer.touchDistance,Fs.getTouchAngle=zs.pointer.touchAngle,Fs.getElementRect=zs.dom.getElementRect,Fs.getElementClientRect=zs.dom.getElementClientRect,Fs.matchesSelector=zs.dom.matchesSelector,Fs.closest=zs.dom.closest,Fs.supportsTouch=function(){return Ls.default.supportsTouch},Fs.supportsPointerEvent=function(){return Ls.default.supportsPointerEvent},Fs.stop=function(){for(var e=0;e<Ns.interactions.list.length;e++)Ns.interactions.list[e].stop();return Fs},Fs.pointerMoveTolerance=function(e){return zs.is.number(e)?(Ns.interactions.pointerMoveTolerance=e,Fs):Ns.interactions.pointerMoveTolerance},Ns.interactables.signals.on("unset",(function(e){var t=e.interactable;Ns.interactables.list.splice(Ns.interactables.list.indexOf(t),1);for(var r=0;r<Ns.interactions.list.length;r++){var n=Ns.interactions.list[r];n.interactable===t&&n.interacting()&&!n._ending&&n.stop()}})),Fs.addDocument=function(e,t){return Ns.addDocument(e,t)},Fs.removeDocument=function(e){return Ns.removeDocument(e)},Ns.interact=Fs;var Bs=Fs;Os.default=Bs;var Hs={};Object.defineProperty(Hs,"__esModule",{value:!0}),Hs.init=function(e){for(var t in Js.scope.init(e),Js.default.use(qs.default),Js.default.use(Xs),Js.default.use(Us.default),Js.default.use(Zs),Js.default.use(Vs),Js.default.use(Ys.default),Ws){var r=Ws[t],n=r._defaults,a=r._methods;n._methods=a,Js.scope.defaults.perAction[t]=n}return Js.default.use(Gs.default),Js.default.use($s.default),Js.default},Object.defineProperty(Hs,"autoScroll",{enumerable:!0,get:function(){return Gs.default}}),Object.defineProperty(Hs,"interactablePreventDefault",{enumerable:!0,get:function(){return qs.default}}),Object.defineProperty(Hs,"inertia",{enumerable:!0,get:function(){return Us.default}}),Object.defineProperty(Hs,"modifiers",{enumerable:!0,get:function(){return Ys.default}}),Object.defineProperty(Hs,"reflow",{enumerable:!0,get:function(){return $s.default}}),Object.defineProperty(Hs,"interact",{enumerable:!0,get:function(){return Js.default}}),Hs.pointerEvents=Hs.actions=Hs.default=void 0;var Vs=el(qn);Hs.actions=Vs;var Gs=Ks(Jn),Zs=el(Ra),qs=Ks(Va),Us=(Ks(Ja),Ks(yi)),Ws=el(Ao),Ys=Ks(ti),Xs=el(_s);Hs.pointerEvents=Xs;var $s=Ks(As),Js=el(Os);function Ks(e){return e&&e.__esModule?e:{default:e}}function Qs(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return Qs=function(){return e},e}function el(e){if(e&&e.__esModule)return e;var t=Qs();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}}return r.default=e,t&&t.set(e,r),r}Js.default.version="1.6.3";var tl=Js.default;Hs.default=tl;var rl={};function nl(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var r=[],n=!0,a=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){a=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(a)throw i}}return r}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}Object.defineProperty(rl,"__esModule",{value:!0}),rl.default=void 0;var al=function(e){var t=[["x","y"],["left","top"],["right","bottom"],["width","height"]].filter((function(t){var r=nl(t,2),n=r[0],a=r[1];return n in e||a in e}));return function(r,n){for(var a=e.range,i=e.limits,o=void 0===i?{left:-1/0,right:1/0,top:-1/0,bottom:1/0}:i,s=e.offset,l=void 0===s?{x:0,y:0}:s,c={range:a},u=0;u<t.length;u++){var d=nl(t[u],2),f=d[0],h=d[1],p=Math.round((r-l.x)/e[f]),g=Math.round((n-l.y)/e[h]);c[f]=Math.max(o.left,Math.min(o.right,p*e[f]+l.x)),c[h]=Math.max(o.top,Math.min(o.bottom,g*e[h]+l.y))}return c}};rl.default=al;var il={};Object.defineProperty(il,"__esModule",{value:!0}),Object.defineProperty(il,"grid",{enumerable:!0,get:function(){return ol.default}});var ol=function(e){return e&&e.__esModule?e:{default:e}}(rl),sl={exports:{}};Object.defineProperty(sl.exports,"__esModule",{value:!0}),sl.exports.init=gl,sl.exports.default=void 0;var ll=hl(Hs),cl=hl(Ao),ul=function(e){return e&&e.__esModule?e:{default:e}}(je),dl=hl(il);function fl(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return fl=function(){return e},e}function hl(e){if(e&&e.__esModule)return e;var t=fl();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var i=n?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}}return r.default=e,t&&t.set(e,r),r}function pl(e){return(pl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function gl(e){return(0,ll.init)(e),ll.default.use({id:"interactjs",install:function(){ll.default.modifiers=(0,ul.default)({},cl),ll.default.snappers=dl,ll.default.createSnapGrid=ll.default.snappers.grid}})}"object"===("undefined"==typeof window?"undefined":pl(window))&&window&&gl(window);var vl=ll.default;return sl.exports.default=vl,ll.default.default=ll.default,ll.default.init=gl,"object"!==pl(sl)||!sl||(sl.exports=ll.default),sl=sl.exports}()},fca0:function(e,t,r){var n=r("5ca1"),a=r("7726").isFinite;n(n.S,"Number",{isFinite:function(e){return"number"==typeof e&&a(e)}})},fdef:function(e,t){e.exports="\t\n\v\f\r ย แแ โโโโโโ โโโโโโฏโใ\u2028\u2029\ufeff"}}).default},e1s6:function(e,t,r){(t=r("JPst")(!1)).push([e.i,".spinner[data-v-48cf437e]{overflow:hidden}.spinner-inner[data-v-48cf437e]{position:relative;width:160px;height:160px;background-color:transparent;border-radius:50%;border:2px solid #a5a69e;transform-origin:top left;display:block}.spinner-inner[data-v-48cf437e]:before{content:'';width:164px;height:164px;display:block;position:absolute;border:7px solid #41b883;border-radius:50%;top:-2px;left:-2px;box-sizing:border-box;clip:rect(0px, 35px, 35px, 0px);z-index:10;animation:hexagon-rotate-data-v-48cf437e infinite;animation-duration:3s;animation-timing-function:linear}.spinner-inner[data-v-48cf437e]:after{content:'';width:164px;height:164px;display:block;position:absolute;border:2px solid #c1bebb;border-radius:50%;top:-2px;left:-2px;box-sizing:border-box;clip:rect(0px, 164px, 150px, 0px);z-index:9;animation:hexagon-rotate2-data-v-48cf437e 3s linear infinite}.hexagon-container[data-v-48cf437e]{list-style:none;margin:0;padding:0;position:relative;top:33px;left:41px;border-radius:50%}.hexagon[data-v-48cf437e]{position:absolute;width:40px;height:23px;background-color:#41b883}.hexagon[data-v-48cf437e]:before{content:\"\";position:absolute;top:-11px;left:0;width:0;height:0;border-left:20px solid transparent;border-right:20px solid transparent;border-bottom:11.5px solid #41b883}.hexagon[data-v-48cf437e]:after{content:\"\";position:absolute;top:23px;left:0;width:0;height:0;border-left:20px solid transparent;border-right:20px solid transparent;border-top:11.5px solid #41b883}.hexagon.hex_1[data-v-48cf437e]{top:0px;left:0px;animation:hexagon-Animasearch-data-v-48cf437e 3s ease-in-out infinite;animation-delay:.21429s}.hexagon.hex_2[data-v-48cf437e]{top:0px;left:42px;animation:hexagon-Animasearch-data-v-48cf437e 3s ease-in-out infinite;animation-delay:.42857s}.hexagon.hex_3[data-v-48cf437e]{top:36px;left:63px;animation:hexagon-Animasearch-data-v-48cf437e 3s ease-in-out infinite;animation-delay:.64286s}.hexagon.hex_4[data-v-48cf437e]{top:72px;left:42px;animation:hexagon-Animasearch-data-v-48cf437e 3s ease-in-out infinite;animation-delay:.85714s}.hexagon.hex_5[data-v-48cf437e]{top:72px;left:0px;animation:hexagon-Animasearch-data-v-48cf437e 3s ease-in-out infinite;animation-delay:1.07143s}.hexagon.hex_6[data-v-48cf437e]{top:36px;left:-21px;animation:hexagon-Animasearch-data-v-48cf437e 3s ease-in-out infinite;animation-delay:1.28571s}.hexagon.hex_7[data-v-48cf437e]{top:36px;left:21px;animation:hexagon-Animasearch-data-v-48cf437e 3s ease-in-out infinite;animation-delay:1.5s}@keyframes hexagon-Animasearch-data-v-48cf437e{0%{transform:scale(1);opacity:1}15%,50%{transform:scale(0.5);opacity:0}65%{transform:scale(1);opacity:1}}@keyframes hexagon-rotate-data-v-48cf437e{0%{transform:rotate(0);clip:rect(0px, 35px, 35px, 0px)}50%{clip:rect(0px, 40px, 40px, 0px)}100%{transform:rotate(360deg);clip:rect(0px, 35px, 35px, 0px)}}@keyframes hexagon-rotate2-data-v-48cf437e{0%{transform:rotate(0deg);clip:rect(0px, 164px, 150px, 0px)}50%{clip:rect(0px, 164px, 0px, 0px);transform:rotate(360deg)}100%{transform:rotate(720deg);clip:rect(0px, 164px, 150px, 0px)}}@keyframes hexagon-rotate3-data-v-48cf437e{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}\n",""]),e.exports=t},e6NF:function(e,t,r){"use strict";e.exports={sunburstcolorway:{valType:"colorlist",role:"style",editType:"calc",description:["Sets the default sunburst slice colors. Defaults to the main","`colorway` used for trace colors. If you specify a new","list here it can still be extended with lighter and darker","colors, see `extendsunburstcolors`."].join(" ")},extendsunburstcolors:{valType:"boolean",dflt:!0,role:"style",editType:"calc",description:["If `true`, the sunburst slice colors (whether given by `sunburstcolorway` or","inherited from `colorway`) will be extended to three times its","original length by first repeating every color 20% lighter then","each color 20% darker. This is intended to reduce the likelihood","of reusing the same color when you have many slices, but you can","set `false` to disable.","Colors provided in the trace, using `marker.colors`, are never","extended."].join(" ")}}},eGLN:function(e,t,r){var n=r("tF5w");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("fd5af7ae",n,!0,{})},eITR:function(e,t,r){var n=r("HXRY");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("2e87a96c",n,!0,{})},"eN+q":function(e,t,r){"use strict";e.exports={FORMAT_LINK:"https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format",DATE_FORMAT_LINK:"https://github.com/d3/d3-3.x-api-reference/blob/master/Time-Formatting.md#format"}},eNjM:function(e,t,r){"use strict";e.exports={hiddenlabels:{valType:"data_array",role:"info",editType:"calc",description:["hiddenlabels is the funnelarea & pie chart analog of","visible:'legendonly'","but it can contain many labels, and can simultaneously","hide slices from several pies/funnelarea charts"].join(" ")},piecolorway:{valType:"colorlist",role:"style",editType:"calc",description:["Sets the default pie slice colors. Defaults to the main","`colorway` used for trace colors. If you specify a new","list here it can still be extended with lighter and darker","colors, see `extendpiecolors`."].join(" ")},extendpiecolors:{valType:"boolean",dflt:!0,role:"style",editType:"calc",description:["If `true`, the pie slice colors (whether given by `piecolorway` or","inherited from `colorway`) will be extended to three times its","original length by first repeating every color 20% lighter then","each color 20% darker. This is intended to reduce the likelihood","of reusing the same color when you have many slices, but you can","set `false` to disable.","Colors provided in the trace, using `marker.colors`, are never","extended."].join(" ")}}},eO4U:function(e,t,r){"use strict";var n=r("bljh"),a=r("/CZE"),i=a.rad2deg,o=r("Y9zF").MID_SHIFT,s=r("g9E0"),l=r("SbTw"),c=r("A3kh"),u=r("BkK/"),d=r("cRi9"),f=r("86IV"),h=r("15jM"),p=r("0RW4"),g={left:"start",center:"middle",right:"end"},v={left:0,center:.5,right:1},m=/[yzafpnยตmkMGTPEZY]/;function y(e){return e&&e.duration>0}function x(e){e.each((function(e){p.stroke(n.select(this),e.line.color)})).each((function(e){p.fill(n.select(this),e.color)})).style("stroke-width",(function(e){return e.line.width}))}function b(e,t,r){var n=e._fullLayout,i=a.extendFlat({type:"linear",ticks:"outside",range:r,showline:!0},t),o={type:"linear",_id:"x"+t._id},s={letter:"x",font:n.font,noHover:!0,noTickson:!0};function l(e,t){return a.coerce(i,o,h,e,t)}return d(i,o,l,s,n),f(i,o,l,s),o}function w(e,t){return"translate("+e+","+t+")"}function _(e,t,r){return[Math.min(t/e.width,r/e.height),e,t+"x"+r]}function k(e,t,r,a){var i=document.createElementNS("http://www.w3.org/2000/svg","text"),o=n.select(i);return o.text(e).attr("x",0).attr("y",0).attr("text-anchor",r).attr("data-unformatted",e).call(c.convertToTspans,a).call(s.font,t),s.bBox(o.node())}function T(e,t,r,n,i,o){var s="_cache"+t;e[s]&&e[s].key===i||(e[s]={key:i,value:r});var l=a.aggNums(o,null,[e[s].value,n],2);return e[s].value=l,l}e.exports=function(e,t,r,d){var f,h=e._fullLayout;y(r)&&d&&(f=d()),a.makeTraceGroups(h._indicatorlayer,t,"trace").each((function(t){var d,M,S,A,C,P=t[0].trace,O=n.select(this),I=P._hasGauge,z=P._isAngular,L=P._isBullet,E=P.domain,j={w:h._size.w*(E.x[1]-E.x[0]),h:h._size.h*(E.y[1]-E.y[0]),l:h._size.l+h._size.w*E.x[0],r:h._size.r+h._size.w*(1-E.x[1]),t:h._size.t+h._size.h*(1-E.y[1]),b:h._size.b+h._size.h*E.y[0]},D=j.l+j.w/2,R=j.t+j.h/2,N=Math.min(j.w/2,j.h),F=l.innerRadius*N,B=P.align||"center";if(M=R,I){if(z&&(d=D,M=R+N/2,S=function(e){return function(e,t){var r=Math.sqrt(e.width/2*(e.width/2)+e.height*e.height);return[t/r,e,t]}(e,.9*F)}),L){var H=l.bulletPadding,V=1-l.bulletNumberDomainSize+H;d=j.l+(V+(1-V)*v[B])*j.w,S=function(e){return _(e,(l.bulletNumberDomainSize-H)*j.w,j.h)}}}else d=j.l+v[B]*j.w,S=function(e){return _(e,j.w,j.h)};!function(e,t,r,i){var o,l,d,f=r[0].trace,h=i.numbersX,x=i.numbersY,_=f.align||"center",M=g[_],S=i.transitionOpts,A=i.onComplete,C=a.ensureSingle(t,"g","numbers"),P=[];f._hasNumber&&P.push("number");f._hasDelta&&(P.push("delta"),"left"===f.delta.position&&P.reverse());var O=C.selectAll("text").data(P);function I(t,r,n,a){if(!t.match("s")||n>=0==a>=0||r(n).slice(-1).match(m)||r(a).slice(-1).match(m))return r;var i=t.slice().replace("s","f").replace(/\d+/,(function(e){return parseInt(e)-1})),o=b(e,{tickformat:i});return function(e){return Math.abs(e)<1?u.tickText(o,e).text:r(e)}}O.enter().append("text"),O.attr("text-anchor",(function(){return M})).attr("class",(function(e){return e})).attr("x",null).attr("y",null).attr("dx",null).attr("dy",null),O.exit().remove();var z,L=f.mode+f.align;f._hasDelta&&(z=function(){var t=b(e,{tickformat:f.delta.valueformat},f._range);t.setScale(),u.prepTicks(t);var a=function(e){return u.tickText(t,e).text},i=function(e){return f.delta.relative?e.relativeDelta:e.delta},o=function(e,t){return 0===e||"number"!=typeof e||isNaN(e)?"-":(e>0?f.delta.increasing.symbol:f.delta.decreasing.symbol)+t(e)},d=function(e){return e.delta>=0?f.delta.increasing.color:f.delta.decreasing.color};void 0===f._deltaLastValue&&(f._deltaLastValue=i(r[0]));var h=C.select("text.delta");function g(){h.text(o(i(r[0]),a)).call(p.fill,d(r[0])).call(c.convertToTspans,e)}return h.call(s.font,f.delta.font).call(p.fill,d({delta:f._deltaLastValue})),y(S)?h.transition().duration(S.duration).ease(S.easing).tween("text",(function(){var e=n.select(this),t=i(r[0]),s=f._deltaLastValue,l=I(f.delta.valueformat,a,s,t),c=n.interpolateNumber(s,t);return f._deltaLastValue=t,function(t){e.text(o(c(t),l)),e.call(p.fill,d({delta:c(t)}))}})).each("end",(function(){g(),A&&A()})).each("interrupt",(function(){g(),A&&A()})):g(),l=k(o(i(r[0]),a),f.delta.font,M,e),h}(),L+=f.delta.position+f.delta.font.size+f.delta.font.family+f.delta.valueformat,L+=f.delta.increasing.symbol+f.delta.decreasing.symbol,d=l);f._hasNumber&&(!function(){var t=b(e,{tickformat:f.number.valueformat},f._range);t.setScale(),u.prepTicks(t);var a=function(e){return u.tickText(t,e).text},i=f.number.suffix,l=f.number.prefix,d=C.select("text.number");function h(){var t="number"==typeof r[0].y?l+a(r[0].y)+i:"-";d.text(t).call(s.font,f.number.font).call(c.convertToTspans,e)}y(S)?d.transition().duration(S.duration).ease(S.easing).each("end",(function(){h(),A&&A()})).each("interrupt",(function(){h(),A&&A()})).attrTween("text",(function(){var e=n.select(this),t=n.interpolateNumber(r[0].lastY,r[0].y);f._lastValue=r[0].y;var o=I(f.number.valueformat,a,r[0].lastY,r[0].y);return function(r){e.text(l+o(t(r))+i)}})):h(),o=k(l+a(r[0].y)+i,f.number.font,M,e)}(),L+=f.number.font.size+f.number.font.family+f.number.valueformat+f.number.suffix+f.number.prefix,d=o);if(f._hasDelta&&f._hasNumber){var E,j,D=[(o.left+o.right)/2,(o.top+o.bottom)/2],R=[(l.left+l.right)/2,(l.top+l.bottom)/2],N=.75*f.delta.font.size;"left"===f.delta.position&&(E=T(f,"deltaPos",0,-1*(o.width*v[f.align]+l.width*(1-v[f.align])+N),L,Math.min),j=D[1]-R[1],d={width:o.width+l.width+N,height:Math.max(o.height,l.height),left:l.left+E,right:o.right,top:Math.min(o.top,l.top+j),bottom:Math.max(o.bottom,l.bottom+j)}),"right"===f.delta.position&&(E=T(f,"deltaPos",0,o.width*(1-v[f.align])+l.width*v[f.align]+N,L,Math.max),j=D[1]-R[1],d={width:o.width+l.width+N,height:Math.max(o.height,l.height),left:o.left,right:l.right+E,top:Math.min(o.top,l.top+j),bottom:Math.max(o.bottom,l.bottom+j)}),"bottom"===f.delta.position&&(E=null,j=l.height,d={width:Math.max(o.width,l.width),height:o.height+l.height,left:Math.min(o.left,l.left),right:Math.max(o.right,l.right),top:o.bottom-o.height,bottom:o.bottom+l.height}),"top"===f.delta.position&&(E=null,j=o.top,d={width:Math.max(o.width,l.width),height:o.height+l.height,left:Math.min(o.left,l.left),right:Math.max(o.right,l.right),top:o.bottom-o.height-l.height,bottom:o.bottom}),z.attr({dx:E,dy:j})}(f._hasNumber||f._hasDelta)&&C.attr("transform",(function(){var e=i.numbersScaler(d);L+=e[2];var t,r=T(f,"numbersScale",1,e[0],L,Math.min);f._scaleNumbers||(r=1),t=f._isAngular?x-r*d.bottom:x-r*(d.top+d.bottom)/2,f._numbersTop=r*d.top+t;var n=d[_];"center"===_&&(n=(d.left+d.right)/2);var a=h-r*n;return w(a=T(f,"numbersTranslate",0,a,L,Math.max),t)+" scale("+r+")"}))}(e,O,t,{numbersX:d,numbersY:M,numbersScaler:S,transitionOpts:r,onComplete:f}),I&&(A={range:P.gauge.axis.range,color:P.gauge.bgcolor,line:{color:P.gauge.bordercolor,width:0},thickness:1},C={range:P.gauge.axis.range,color:"rgba(0, 0, 0, 0)",line:{color:P.gauge.bordercolor,width:P.gauge.borderwidth},thickness:1});var G=O.selectAll("g.angular").data(z?t:[]);G.exit().remove();var Z=O.selectAll("g.angularaxis").data(z?t:[]);Z.exit().remove(),z&&function(e,t,r,a){var s,l,c,d,f=r[0].trace,h=a.size,p=a.radius,g=a.innerRadius,v=a.gaugeBg,m=a.gaugeOutline,_=[h.l+h.w/2,h.t+h.h/2+p/2],k=a.gauge,T=a.layer,M=a.transitionOpts,S=a.onComplete,A=Math.PI/2;function C(e){var t=f.gauge.axis.range[0],r=(e-t)/(f.gauge.axis.range[1]-t)*Math.PI-A;return r<-A?-A:r>A?A:r}function P(e){return n.svg.arc().innerRadius((g+p)/2-e/2*(p-g)).outerRadius((g+p)/2+e/2*(p-g)).startAngle(-A)}function O(e){e.attr("d",(function(e){return P(e.thickness).startAngle(C(e.range[0])).endAngle(C(e.range[1]))()}))}k.enter().append("g").classed("angular",!0),k.attr("transform",w(_[0],_[1])),T.enter().append("g").classed("angularaxis",!0).classed("crisp",!0),T.selectAll("g.xangularaxistick,path,text").remove(),(s=b(e,f.gauge.axis)).type="linear",s.range=f.gauge.axis.range,s._id="xangularaxis",s.setScale();var I=function(e){return(s.range[0]-e.x)/(s.range[1]-s.range[0])*Math.PI+Math.PI},z={},L=u.makeLabelFns(s,0).labelStandoff;z.xFn=function(e){var t=I(e);return Math.cos(t)*L},z.yFn=function(e){var t=I(e),r=Math.sin(t)>0?.2:1;return-Math.sin(t)*(L+e.fontSize*r)+Math.abs(Math.cos(t))*(e.fontSize*o)},z.anchorFn=function(e){var t=I(e),r=Math.cos(t);return Math.abs(r)<.1?"middle":r>0?"start":"end"},z.heightFn=function(e,t,r){var n=I(e);return-.5*(1+Math.sin(n))*r};var E=function(e){return w(_[0]+p*Math.cos(e),_[1]-p*Math.sin(e))};c=function(e){return E(I(e))};if(l=u.calcTicks(s),d=u.getTickSigns(s)[2],s.visible){d="inside"===s.ticks?-1:1;var j=(s.linewidth||1)/2;u.drawTicks(e,s,{vals:l,layer:T,path:"M"+d*j+",0h"+d*s.ticklen,transFn:function(e){var t=I(e);return E(t)+"rotate("+-i(t)+")"}}),u.drawLabels(e,s,{vals:l,layer:T,transFn:c,labelFns:z})}var D=[v].concat(f.gauge.steps),R=k.selectAll("g.bg-arc").data(D);R.enter().append("g").classed("bg-arc",!0).append("path"),R.select("path").call(O).call(x),R.exit().remove();var N=P(f.gauge.bar.thickness),F=k.selectAll("g.value-arc").data([f.gauge.bar]);F.enter().append("g").classed("value-arc",!0).append("path");var B=F.select("path");y(M)?(B.transition().duration(M.duration).ease(M.easing).each("end",(function(){S&&S()})).each("interrupt",(function(){S&&S()})).attrTween("d",(H=N,V=C(r[0].lastY),G=C(r[0].y),function(){var e=n.interpolate(V,G);return function(t){return H.endAngle(e(t))()}})),f._lastValue=r[0].y):B.attr("d","number"==typeof r[0].y?N.endAngle(C(r[0].y)):"M0,0Z");var H,V,G;B.call(x),F.exit().remove(),D=[];var Z=f.gauge.threshold.value;Z&&D.push({range:[Z,Z],color:f.gauge.threshold.color,line:{color:f.gauge.threshold.line.color,width:f.gauge.threshold.line.width},thickness:f.gauge.threshold.thickness});var q=k.selectAll("g.threshold-arc").data(D);q.enter().append("g").classed("threshold-arc",!0).append("path"),q.select("path").call(O).call(x),q.exit().remove();var U=k.selectAll("g.gauge-outline").data([m]);U.enter().append("g").classed("gauge-outline",!0).append("path"),U.select("path").call(O).call(x),U.exit().remove()}(e,0,t,{radius:N,innerRadius:F,gauge:G,layer:Z,size:j,gaugeBg:A,gaugeOutline:C,transitionOpts:r,onComplete:f});var q=O.selectAll("g.bullet").data(L?t:[]);q.exit().remove();var U=O.selectAll("g.bulletaxis").data(L?t:[]);U.exit().remove(),L&&function(e,t,r,n){var a,i,o,s,c,d=r[0].trace,f=n.gauge,h=n.layer,g=n.gaugeBg,v=n.gaugeOutline,m=n.size,w=d.domain,_=n.transitionOpts,k=n.onComplete;f.enter().append("g").classed("bullet",!0),f.attr("transform","translate("+m.l+", "+m.t+")"),h.enter().append("g").classed("bulletaxis",!0).classed("crisp",!0),h.selectAll("g.xbulletaxistick,path,text").remove();var T=m.h,M=d.gauge.bar.thickness*T,S=w.x[0],A=w.x[0]+(w.x[1]-w.x[0])*(d._hasNumber||d._hasDelta?1-l.bulletNumberDomainSize:1);(a=b(e,d.gauge.axis))._id="xbulletaxis",a.domain=[S,A],a.setScale(),i=u.calcTicks(a),o=u.makeTransFn(a),s=u.getTickSigns(a)[2],c=m.t+m.h,a.visible&&(u.drawTicks(e,a,{vals:"inside"===a.ticks?u.clipEnds(a,i):i,layer:h,path:u.makeTickPath(a,c,s),transFn:o}),u.drawLabels(e,a,{vals:i,layer:h,transFn:o,labelFns:u.makeLabelFns(a,c)}));function C(e){e.attr("width",(function(e){return Math.max(0,a.c2p(e.range[1])-a.c2p(e.range[0]))})).attr("x",(function(e){return a.c2p(e.range[0])})).attr("y",(function(e){return.5*(1-e.thickness)*T})).attr("height",(function(e){return e.thickness*T}))}var P=[g].concat(d.gauge.steps),O=f.selectAll("g.bg-bullet").data(P);O.enter().append("g").classed("bg-bullet",!0).append("rect"),O.select("rect").call(C).call(x),O.exit().remove();var I=f.selectAll("g.value-bullet").data([d.gauge.bar]);I.enter().append("g").classed("value-bullet",!0).append("rect"),I.select("rect").attr("height",M).attr("y",(T-M)/2).call(x),y(_)?I.select("rect").transition().duration(_.duration).ease(_.easing).each("end",(function(){k&&k()})).each("interrupt",(function(){k&&k()})).attr("width",Math.max(0,a.c2p(Math.min(d.gauge.axis.range[1],r[0].y)))):I.select("rect").attr("width","number"==typeof r[0].y?Math.max(0,a.c2p(Math.min(d.gauge.axis.range[1],r[0].y))):0);I.exit().remove();var z=r.filter((function(){return d.gauge.threshold.value})),L=f.selectAll("g.threshold-bullet").data(z);L.enter().append("g").classed("threshold-bullet",!0).append("line"),L.select("line").attr("x1",a.c2p(d.gauge.threshold.value)).attr("x2",a.c2p(d.gauge.threshold.value)).attr("y1",(1-d.gauge.threshold.thickness)/2*T).attr("y2",(1-(1-d.gauge.threshold.thickness)/2)*T).call(p.stroke,d.gauge.threshold.line.color).style("stroke-width",d.gauge.threshold.line.width),L.exit().remove();var E=f.selectAll("g.gauge-outline").data([v]);E.enter().append("g").classed("gauge-outline",!0).append("rect"),E.select("rect").call(C).call(x),E.exit().remove()}(e,0,t,{gauge:q,layer:U,size:j,gaugeBg:A,gaugeOutline:C,transitionOpts:r,onComplete:f});var W=O.selectAll("text.title").data(t);W.exit().remove(),W.enter().append("text").classed("title",!0),W.attr("text-anchor",(function(){return L?g.right:g[P.title.align]})).text(P.title.text).call(s.font,P.title.font).call(c.convertToTspans,e),W.attr("transform",(function(){var e,t=j.l+j.w*v[P.title.align],r=l.titlePadding,n=s.bBox(W.node());if(I){if(z)if(P.gauge.axis.visible)e=s.bBox(Z.node()).top-r-n.bottom;else e=j.t+j.h/2-N/2-n.bottom-r;L&&(e=M-(n.top+n.bottom)/2,t=j.l-l.bulletPadding*j.w)}else e=P._numbersTop-r-n.bottom;return w(t,e)}))}))}},eXRl:function(e,t,r){"use strict";var n=r("/CZE"),a=r("BVrX").counter,i=r("gfA5").attributes,o=r("0wH6").idRegex,s=r("plED"),l={rows:{valType:"integer",min:1,role:"info",editType:"plot",description:["The number of rows in the grid. If you provide a 2D `subplots`","array or a `yaxes` array, its length is used as the default.","But it's also possible to have a different length, if you","want to leave a row at the end for non-cartesian subplots."].join(" ")},roworder:{valType:"enumerated",values:["top to bottom","bottom to top"],dflt:"top to bottom",role:"info",editType:"plot",description:["Is the first row the top or the bottom? Note that columns","are always enumerated from left to right."].join(" ")},columns:{valType:"integer",min:1,role:"info",editType:"plot",description:["The number of columns in the grid. If you provide a 2D `subplots`","array, the length of its longest row is used as the default.","If you give an `xaxes` array, its length is used as the default.","But it's also possible to have a different length, if you","want to leave a row at the end for non-cartesian subplots."].join(" ")},subplots:{valType:"info_array",freeLength:!0,dimensions:2,items:{valType:"enumerated",values:[a("xy").toString(),""],editType:"plot"},role:"info",editType:"plot",description:["Used for freeform grids, where some axes may be shared across subplots","but others are not. Each entry should be a cartesian subplot id, like","*xy* or *x3y2*, or ** to leave that cell empty. You may reuse x axes","within the same column, and y axes within the same row.","Non-cartesian subplots and traces that support `domain` can place themselves","in this grid separately using the `gridcell` attribute."].join(" ")},xaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[o.x.toString(),""],editType:"plot"},role:"info",editType:"plot",description:["Used with `yaxes` when the x and y axes are shared across columns and rows.","Each entry should be an x axis id like *x*, *x2*, etc., or ** to","not put an x axis in that column. Entries other than ** must be unique.","Ignored if `subplots` is present. If missing but `yaxes` is present,","will generate consecutive IDs."].join(" ")},yaxes:{valType:"info_array",freeLength:!0,items:{valType:"enumerated",values:[o.y.toString(),""],editType:"plot"},role:"info",editType:"plot",description:["Used with `yaxes` when the x and y axes are shared across columns and rows.","Each entry should be an y axis id like *y*, *y2*, etc., or ** to","not put a y axis in that row. Entries other than ** must be unique.","Ignored if `subplots` is present. If missing but `xaxes` is present,","will generate consecutive IDs."].join(" ")},pattern:{valType:"enumerated",values:["independent","coupled"],dflt:"coupled",role:"info",editType:"plot",description:["If no `subplots`, `xaxes`, or `yaxes` are given but we do have `rows` and `columns`,","we can generate defaults using consecutive axis IDs, in two ways:","*coupled* gives one x axis per column and one y axis per row.","*independent* uses a new xy pair for each cell, left-to-right across each row","then iterating rows according to `roworder`."].join(" ")},xgap:{valType:"number",min:0,max:1,role:"info",editType:"plot",description:["Horizontal space between grid cells, expressed as a fraction","of the total width available to one cell. Defaults to 0.1","for coupled-axes grids and 0.2 for independent grids."].join(" ")},ygap:{valType:"number",min:0,max:1,role:"info",editType:"plot",description:["Vertical space between grid cells, expressed as a fraction","of the total height available to one cell. Defaults to 0.1","for coupled-axes grids and 0.3 for independent grids."].join(" ")},domain:i({name:"grid",editType:"plot",noGridCell:!0},{description:["The first and last cells end exactly at the domain","edges, with no grout around the edges."].join(" ")}),xside:{valType:"enumerated",values:["bottom","bottom plot","top plot","top"],dflt:"bottom plot",role:"info",editType:"plot",description:["Sets where the x axis labels and titles go. *bottom* means","the very bottom of the grid. *bottom plot* is the lowest plot","that each x axis is used in. *top* and *top plot* are similar."].join(" ")},yside:{valType:"enumerated",values:["left","left plot","right plot","right"],dflt:"left plot",role:"info",editType:"plot",description:["Sets where the y axis labels and titles go. *left* means","the very left edge of the grid. *left plot* is the leftmost plot","that each y axis is used in. *right* and *right plot* are similar."].join(" ")},editType:"plot"};function c(e,t,r){var n=t[r+"axes"],a=Object.keys((e._splomAxes||{})[r]||{});return Array.isArray(n)?n:a.length?a:void 0}function u(e,t,r,n,a,i){var o=t(e+"gap",r),s=t("domain."+e);t(e+"side",n);for(var l=new Array(a),c=s[0],u=(s[1]-c)/(a-o),d=u*(1-o),f=0;f<a;f++){var h=c+u*f;l[i?a-1-f:f]=[h,h+d]}return l}function d(e,t,r,n,a){var i,o=new Array(r);function s(e,r){-1!==t.indexOf(r)&&void 0===n[r]?(o[e]=r,n[r]=e):o[e]=""}if(Array.isArray(e))for(i=0;i<r;i++)s(i,e[i]);else for(s(0,a),i=1;i<r;i++)s(i,a+(i+1));return o}e.exports={moduleType:"component",name:"grid",schema:{layout:{grid:l}},layoutAttributes:l,sizeDefaults:function(e,t){var r=e.grid||{},a=c(t,r,"x"),i=c(t,r,"y");if(e.grid||a||i){var o,d,f=Array.isArray(r.subplots)&&Array.isArray(r.subplots[0]),h=Array.isArray(a),p=Array.isArray(i),g=h&&a!==r.xaxes&&p&&i!==r.yaxes;f?(o=r.subplots.length,d=r.subplots[0].length):(p&&(o=i.length),h&&(d=a.length));var v=s.newContainer(t,"grid"),m=T("rows",o),y=T("columns",d);if(m*y>1){if(!f&&!h&&!p)"independent"===T("pattern")&&(f=!0);v._hasSubplotGrid=f;var x,b,w="top to bottom"===T("roworder"),_=f?.2:.1,k=f?.3:.1;g&&t._splomGridDflt&&(x=t._splomGridDflt.xside,b=t._splomGridDflt.yside),v._domains={x:u("x",T,_,x,y),y:u("y",T,k,b,m,w)}}else delete t.grid}function T(e,t){return n.coerce(r,v,l,e,t)}},contentDefaults:function(e,t){var r=t.grid;if(r&&r._domains){var n,a,i,o,s,l,u,f=e.grid||{},h=t._subplots,p=r._hasSubplotGrid,g=r.rows,v=r.columns,m="independent"===r.pattern,y=r._axisMap={};if(p){var x=f.subplots||[];l=r.subplots=new Array(g);var b=1;for(n=0;n<g;n++){var w=l[n]=new Array(v),_=x[n]||[];for(a=0;a<v;a++)if(m?(s=1===b?"xy":"x"+b+"y"+b,b++):s=_[a],w[a]="",-1!==h.cartesian.indexOf(s)){if(u=s.indexOf("y"),i=s.slice(0,u),o=s.slice(u),void 0!==y[i]&&y[i]!==a||void 0!==y[o]&&y[o]!==n)continue;w[a]=s,y[i]=a,y[o]=n}}}else{var k=c(t,f,"x"),T=c(t,f,"y");r.xaxes=d(k,h.xaxis,v,y,"x"),r.yaxes=d(T,h.yaxis,g,y,"y")}var M=r._anchors={},S="top to bottom"===r.roworder;for(var A in y){var C,P,O,I=A.charAt(0),z=r[I+"side"];if(z.length<8)M[A]="free";else if("x"===I){if("t"===z.charAt(0)===S?(C=0,P=1,O=g):(C=g-1,P=-1,O=-1),p){var L=y[A];for(n=C;n!==O;n+=P)if((s=l[n][L])&&(u=s.indexOf("y"),s.slice(0,u)===A)){M[A]=s.slice(u);break}}else for(n=C;n!==O;n+=P)if(o=r.yaxes[n],-1!==h.cartesian.indexOf(A+o)){M[A]=o;break}}else if("l"===z.charAt(0)?(C=0,P=1,O=v):(C=v-1,P=-1,O=-1),p){var E=y[A];for(n=C;n!==O;n+=P)if((s=l[E][n])&&(u=s.indexOf("y"),s.slice(u)===A)){M[A]=s.slice(0,u);break}}else for(n=C;n!==O;n+=P)if(i=r.xaxes[n],-1!==h.cartesian.indexOf(i+A)){M[A]=i;break}}}}}},efHY:function(e,t,r){"use strict";t.isGrouped=function(e){return-1!==(e.traceorder||"").indexOf("grouped")},t.isVertical=function(e){return"h"!==e.orientation},t.isReversed=function(e){return-1!==(e.traceorder||"").indexOf("reversed")}},"ehf/":function(e,t,r){var n=r("16I/");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("6bc352fe",n,!0,{})},el8q:function(e,t,r){"use strict";e.exports={moduleType:"trace",name:"indicator",basePlotModule:r("ZDyq"),categories:["svg","noOpacity","noHover"],animatable:!0,attributes:r("HIIg"),supplyDefaults:r("GLsQ").supplyDefaults,calc:r("WtF/").calc,plot:r("eO4U"),meta:{description:["An indicator is used to visualize a single `value` along with some","contextual information such as `steps` or a `threshold`, using a","combination of three visual elements: a number, a delta, and/or a gauge.","Deltas are taken with respect to a `reference`.","Gauges can be either angular or bullet (aka linear) gauges."].join(" ")}}},en0M:function(e,t,r){"use strict";e.exports={attributes:r("i9ir"),supplyDefaults:r("9VKb"),colorbar:r("/LM6"),calc:r("0K3i"),calcGeoJSON:r("U4zm").calcGeoJSON,plot:r("U4zm").plot,style:r("56vX").style,styleOnSelect:r("56vX").styleOnSelect,hoverPoints:r("A40U"),eventData:r("qeth"),selectPoints:r("7252"),moduleType:"trace",name:"choropleth",basePlotModule:r("npri"),categories:["geo","noOpacity","showLegend"],meta:{description:["The data that describes the choropleth value-to-color mapping","is set in `z`.","The geographic locations corresponding to each value in `z`","are set in `locations`."].join(" ")}}},f1Te:function(e,t,r){var n=r("BS69");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("64ff1df0",n,!0,{})},f56O:function(e,t,r){"use strict";var n=r("/CZE"),a=r("BkK/"),i=r("bcxm"),o=r("wAWO"),s=r("lUdJ"),l=r("WRPy"),c=r("DDk4").calcAllAutoBins;function u(e,t,r,n){var a,i=new Array(e);if(n)for(a=0;a<e;a++)i[a]=1/(t[a+1]-t[a]);else{var o=1/r;for(a=0;a<e;a++)i[a]=o}return i}function d(e,t){return{start:e(t.start),end:e(t.end),size:t.size}}function f(e,t,r,n,a,i){var o,s=e.length-1,c=new Array(s),u=l(r,n,e,a,i);for(o=0;o<s;o++){var d=(t||[])[o];c[o]=void 0===d?[u(e[o]),u(e[o+1],!0)]:[d,d]}return c}e.exports=function(e,t){var r,l,h,p,g=a.getFromId(e,t.xaxis),v=a.getFromId(e,t.yaxis),m=t.xcalendar,y=t.ycalendar,x=function(e){return g.r2c(e,0,m)},b=function(e){return v.r2c(e,0,y)},w=c(e,t,g,"x"),_=w[0],k=w[1],T=c(e,t,v,"y"),M=T[0],S=T[1],A=t._length;k.length>A&&k.splice(A,k.length-A),S.length>A&&S.splice(A,S.length-A);var C=[],P=[],O=[],I="string"==typeof _.size,z="string"==typeof M.size,L=[],E=[],j=I?L:_,D=z?E:M,R=0,N=[],F=[],B=t.histnorm,H=t.histfunc,V=-1!==B.indexOf("density"),G="max"===H||"min"===H?null:0,Z=i.count,q=o[B],U=!1,W=[],Y=[],X="z"in t?t.z:"marker"in t&&Array.isArray(t.marker.color)?t.marker.color:"";X&&"count"!==H&&(U="avg"===H,Z=i[H]);var $=_.size,J=x(_.start),K=x(_.end)+(J-a.tickIncrement(J,$,!1,m))/1e6;for(r=J;r<K;r=a.tickIncrement(r,$,!1,m))P.push(G),L.push(r),U&&O.push(0);L.push(r);var Q,ee=P.length,te=(r-J)/ee,re=(Q=J+te/2,g.c2r(Q,0,m)),ne=M.size,ae=b(M.start),ie=b(M.end)+(ae-a.tickIncrement(ae,ne,!1,y))/1e6;for(r=ae;r<ie;r=a.tickIncrement(r,ne,!1,y)){C.push(P.slice()),E.push(r);var oe=new Array(ee);for(l=0;l<ee;l++)oe[l]=[];F.push(oe),U&&N.push(O.slice())}E.push(r);var se=C.length,le=(r-ae)/se,ce=function(e){return v.c2r(e,0,y)}(ae+le/2);V&&(W=u(P.length,j,te,I),Y=u(C.length,D,le,z)),I||"date"!==g.type||(j=d(x,j)),z||"date"!==v.type||(D=d(b,D));var ue=!0,de=!0,fe=new Array(ee),he=new Array(se),pe=1/0,ge=1/0,ve=1/0,me=1/0;for(r=0;r<A;r++){var ye=k[r],xe=S[r];h=n.findBin(ye,j),p=n.findBin(xe,D),h>=0&&h<ee&&p>=0&&p<se&&(R+=Z(h,r,C[p],X,N[p]),F[p][h].push(r),ue&&(void 0===fe[h]?fe[h]=ye:fe[h]!==ye&&(ue=!1)),de&&(void 0===he[p]?he[p]=xe:he[p]!==xe&&(de=!1)),pe=Math.min(pe,ye-L[h]),ge=Math.min(ge,L[h+1]-ye),ve=Math.min(ve,xe-E[p]),me=Math.min(me,E[p+1]-xe))}if(U)for(p=0;p<se;p++)R+=s(C[p],N[p]);if(q)for(p=0;p<se;p++)q(C[p],R,W,Y[p]);return{x:k,xRanges:f(L,ue&&fe,pe,ge,g,m),x0:re,dx:te,y:S,yRanges:f(E,de&&he,ve,me,v,y),y0:ce,dy:le,z:C,pts:F}}},f7dW:function(e,t,r){"use strict";e.exports={YANGLE:60,HOVERARROWSIZE:6,HOVERTEXTPAD:3,HOVERFONTSIZE:13,HOVERFONT:"Arial, sans-serif",HOVERMINTIME:50,HOVERID:"-hover"}},f8PX:function(e,t,r){"use strict";var n=r("Nx4I"),a=r("6BKz").hover;e.exports=function(e,t,r){var i=n.getComponentMethod("annotations","onClick")(e,e._hoverdata);function o(){e.emit("plotly_click",{points:e._hoverdata,event:t})}void 0!==r&&a(e,t,r,!0),e._hoverdata&&t&&t.target&&(i&&i.then?i.then(o):o(),t.stopImmediatePropagation&&t.stopImmediatePropagation())}},f9ru:function(e,t,r){"use strict";var n=r("BkK/"),a=r("/CZE").mergeArray,i=r("QTaS"),o=r("6AZA").BADNUM;function s(e){return"a"===e||"absolute"===e}function l(e){return"t"===e||"total"===e}e.exports=function(e,t){var r,c,u=n.getFromId(e,t.xaxis||"x"),d=n.getFromId(e,t.yaxis||"y");"h"===t.orientation?(r=u.makeCalcdata(t,"x"),c=d.makeCalcdata(t,"y")):(r=d.makeCalcdata(t,"y"),c=u.makeCalcdata(t,"x"));for(var f,h=Math.min(c.length,r.length),p=new Array(h),g=0,v=!1,m=0;m<h;m++){var y=r[m]||0,x=!1;(r[m]!==o||l(t.measure[m])||s(t.measure[m]))&&m+1<h&&(r[m+1]!==o||l(t.measure[m+1])||s(t.measure[m+1]))&&(x=!0);var b=p[m]={i:m,p:c[m],s:y,rawS:y,cNext:x};s(t.measure[m])?(g=b.s,b.isSum=!0,b.dir="totals",b.s=g):l(t.measure[m])?(b.isSum=!0,b.dir="totals",b.s=g):(b.isSum=!1,b.dir=b.rawS<0?"decreasing":"increasing",f=b.s,b.s=g+f,g+=f),"totals"===b.dir&&(v=!0),t.ids&&(b.id=String(t.ids[m])),b.v=(t.base||0)+g}return p.length&&(p[0].hasTotals=v),a(t.text,p,"tx"),a(t.hovertext,p,"htx"),i(p,t),p}},fEMZ:function(e,t,r){"use strict";var n=r("bljh"),a=r("g9E0"),i=r("/CZE"),o=r("A3kh"),s=r("x5FY").toMoveInsideBar,l=r("k6aH"),c=l.recordMinTextSize,u=l.clearMinTextSize,d=r("WeBh"),f=r("wK8V"),h=f.attachFxHandlers,p=f.determineInsideTextFont,g=f.layoutAreas,v=f.prerenderTitles,m=f.positionTitleOutside,y=f.formatSliceLabel;function x(e,t){return"l"+(t[0]-e[0])+","+(t[1]-e[1])}e.exports=function(e,t){var r=e._fullLayout;u("funnelarea",r),v(t,e),g(t,r._size),i.makeTraceGroups(r._funnelarealayer,t,"trace").each((function(t){var l=n.select(this),u=t[0],f=u.trace;!function(e){if(!e.length)return;var t=e[0],r=t.trace,n=r.aspectratio,a=r.baseratio;a>.999&&(a=.999);var i,o=Math.pow(a,2),s=t.vTotal,l=s,c=s*o/(1-o)/s;function u(){var e,t={x:e=Math.sqrt(c),y:-e};return[t.x,t.y]}var d,f,h=[];for(h.push(u()),d=e.length-1;d>-1;d--)if(!(f=e[d]).hidden){var p=f.v/l;c+=p,h.push(u())}var g=1/0,v=-1/0;for(d=0;d<h.length;d++)i=h[d],g=Math.min(g,i[1]),v=Math.max(v,i[1]);for(d=0;d<h.length;d++)h[d][1]-=(v+g)/2;var m=h[h.length-1][0],y=t.r,x=(v-g)/2,b=y/m,w=y/x*n;for(t.r=w*x,d=0;d<h.length;d++)h[d][0]*=b,h[d][1]*=w;var _=[-(i=h[0])[0],i[1]],k=[i[0],i[1]],T=0;for(d=e.length-1;d>-1;d--)if(!(f=e[d]).hidden){var M=h[T+=1][0],S=h[T][1];f.TL=[-M,S],f.TR=[M,S],f.BL=_,f.BR=k,f.pxmid=(A=f.TR,C=f.BR,[.5*(A[0]+C[0]),.5*(A[1]+C[1])]),_=f.TL,k=f.TR}var A,C}(t),l.each((function(){var l=n.select(this).selectAll("g.slice").data(t);l.enter().append("g").classed("slice",!0),l.exit().remove(),l.each((function(l,g){if(l.hidden)n.select(this).selectAll("path,g").remove();else{l.pointNumber=l.i,l.curveNumber=f.index;var v=u.cx,m=u.cy,b=n.select(this),w=b.selectAll("path.surface").data([l]);w.enter().append("path").classed("surface",!0).style({"pointer-events":"all"}),b.call(h,e,t);var _="M"+(v+l.TR[0])+","+(m+l.TR[1])+x(l.TR,l.BR)+x(l.BR,l.BL)+x(l.BL,l.TL)+"Z";w.attr("d",_),y(e,l,u);var k=d.castOption(f.textposition,l.pts),T=b.selectAll("g.slicetext").data(l.text&&"none"!==k?[0]:[]);T.enter().append("g").classed("slicetext",!0),T.exit().remove(),T.each((function(){var u=i.ensureSingle(n.select(this),"text","",(function(e){e.attr("data-notex",1)})),d=i.ensureUniformFontSize(e,p(f,l,r.font));u.text(l.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(a.font,d).call(o.convertToTspans,e);var h,y,x,b=a.bBox(u.node()),w=Math.min(l.BL[1],l.BR[1])+m,_=Math.max(l.TL[1],l.TR[1])+m;y=Math.max(l.TL[0],l.BL[0])+v,x=Math.min(l.TR[0],l.BR[0])+v,(h=s(y,x,w,_,b,{isHorizontal:!0,constrained:!0,angle:0,anchor:"middle"})).fontSize=d.size,c(f.type,h,r),t[g].transform=h,u.attr("transform",i.getTextTransform(h))}))}}));var g=n.select(this).selectAll("g.titletext").data(f.title.text?[0]:[]);g.enter().append("g").classed("titletext",!0),g.exit().remove(),g.each((function(){var t=i.ensureSingle(n.select(this),"text","",(function(e){e.attr("data-notex",1)})),s=f.title.text;f._meta&&(s=i.templateString(s,f._meta)),t.text(s).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(a.font,f.title.font).call(o.convertToTspans,e);var l=m(u,r._size);t.attr("transform","translate("+l.x+","+l.y+")"+(l.scale<1?"scale("+l.scale+")":"")+"translate("+l.tx+","+l.ty+")")}))}))}))}},fJ8H:function(e,t,r){"use strict";e.exports={moduleType:"component",name:"images",layoutAttributes:r("1y5b"),supplyLayoutDefaults:r("S2oI"),includeBasePlot:r("N9FU")("images"),draw:r("/0lf"),convertCoords:r("YXRs")}},fRTk:function(e,t,r){var n=r("zbsN");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("1b0be73c",n,!0,{})},ffJW:function(e,t,r){"use strict";var n={};function a(e){e&&null!==e.timer&&(clearTimeout(e.timer),e.timer=null)}t.throttle=function(e,t,r){var i=n[e],o=Date.now();if(!i){for(var s in n)n[s].ts<o-6e4&&delete n[s];i=n[e]={ts:0,timer:null}}function l(){r(),i.ts=Date.now(),i.onDone&&(i.onDone(),i.onDone=null)}a(i),o>i.ts+t?l():i.timer=setTimeout((function(){l(),i.timer=null}),t)},t.done=function(e){var t=n[e];return t&&t.timer?new Promise((function(e){var r=t.onDone;t.onDone=function(){r&&r(),e(),t.onDone=null}})):Promise.resolve()},t.clear=function(e){if(e)a(n[e]),delete n[e];else for(var r in n)t.clear(r)}},fiWp:function(e,t,r){"use strict";var n,a="object"==typeof Reflect?Reflect:null,i=a&&"function"==typeof a.apply?a.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};n=a&&"function"==typeof a.ownKeys?a.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}e.exports=s,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var l=10;function c(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function d(e,t,r,n){var a,i,o,s;if(c(r),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),i=e._events),o=i[t]),void 0===o)o=i[t]=r,++e._eventsCount;else if("function"==typeof o?o=i[t]=n?[r,o]:[o,r]:n?o.unshift(r):o.push(r),(a=u(e))>0&&o.length>a&&!o.warned){o.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=o.length,s=l,console&&console.warn&&console.warn(s)}return e}function f(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},a=f.bind(n);return a.listener=r,n.wrapFn=a,a}function p(e,t,r){var n=e._events;if(void 0===n)return[];var a=n[t];return void 0===a?[]:"function"==typeof a?r?[a.listener||a]:[a]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(a):v(a,a.length)}function g(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function v(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");l=e}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},s.prototype.getMaxListeners=function(){return u(this)},s.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var n="error"===e,a=this._events;if(void 0!==a)n=n&&void 0===a.error;else if(!n)return!1;if(n){var o;if(t.length>0&&(o=t[0]),o instanceof Error)throw o;var s=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw s.context=o,s}var l=a[e];if(void 0===l)return!1;if("function"==typeof l)i(l,this,t);else{var c=l.length,u=v(l,c);for(r=0;r<c;++r)i(u[r],this,t)}return!0},s.prototype.addListener=function(e,t){return d(this,e,t,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t){return d(this,e,t,!0)},s.prototype.once=function(e,t){return c(t),this.on(e,h(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){return c(t),this.prependListener(e,h(this,e,t)),this},s.prototype.removeListener=function(e,t){var r,n,a,i,o;if(c(t),void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(a=-1,i=r.length-1;i>=0;i--)if(r[i]===t||r[i].listener===t){o=r[i].listener,a=i;break}if(a<0)return this;0===a?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,a),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,o||t)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var a,i=Object.keys(r);for(n=0;n<i.length;++n)"removeListener"!==(a=i[n])&&this.removeAllListeners(a);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},s.prototype.listeners=function(e){return p(this,e,!0)},s.prototype.rawListeners=function(e){return p(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):g.call(e,t)},s.prototype.listenerCount=g,s.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},fpYS:function(e,t,r){"use strict";var n=r("BkK/");e.exports=function(e,t,r){var a={},i={_fullLayout:r},o=n.getFromTrace(i,t,"x"),s=n.getFromTrace(i,t,"y");return a.xLabel=n.tickText(o,e.x,!0).text,a.yLabel=n.tickText(s,e.y,!0).text,a}},fu4d:function(e,t,r){"use strict";var n=r("/CZE"),a=r("yzSc").overrideAll,i=r("jC0I"),o={error_x:n.extendFlat({},i),error_y:n.extendFlat({},i)};delete o.error_x.copy_zstyle,delete o.error_y.copy_zstyle,delete o.error_y.copy_ystyle;var s={error_x:n.extendFlat({},i),error_y:n.extendFlat({},i),error_z:n.extendFlat({},i)};delete s.error_x.copy_ystyle,delete s.error_y.copy_ystyle,delete s.error_z.copy_ystyle,delete s.error_z.copy_zstyle,e.exports={moduleType:"component",name:"errorbars",schema:{traces:{scatter:o,bar:o,histogram:o,scatter3d:a(s,"calc","nested"),scattergl:a(o,"calc","nested")}},supplyDefaults:r("IBVe"),calc:r("2z/O"),makeComputeError:r("PDHv"),plot:r("VTo0"),style:r("r91y"),hoverInfo:function(e,t,r){(t.error_y||{}).visible&&(r.yerr=e.yh-e.y,t.error_y.symmetric||(r.yerrneg=e.y-e.ys));(t.error_x||{}).visible&&(r.xerr=e.xh-e.x,t.error_x.symmetric||(r.xerrneg=e.x-e.xs))}}},g3i2:function(e,t,r){"use strict";var n=r("/CZE"),a=r("0RW4"),i=r("xMdC").isUnifiedHover,o=r("VNna"),s=r("plED"),l=r("poX/"),c=r("15jM"),u=r("teKd"),d=r("cRi9"),f=r("at2O").handleConstraintDefaults,h=r("86IV"),p=r("PBw4"),g=p.id2name,v=p.name2id,m=r("0wH6").AX_ID_PATTERN,y=r("Nx4I"),x=y.traceIs,b=y.getComponentMethod;function w(e,t,r){Array.isArray(e[t])?e[t].push(r):e[t]=[r]}e.exports=function(e,t,r){var p,y,_={},k={},T={},M={},S={},A={},C={},P={},O={},I={};for(p=0;p<r.length;p++){var z=r[p];if(x(z,"cartesian")||x(z,"gl2d")){var L,E;if(z.xaxis)L=g(z.xaxis),w(_,L,z);else if(z.xaxes)for(y=0;y<z.xaxes.length;y++)w(_,g(z.xaxes[y]),z);if(z.yaxis)E=g(z.yaxis),w(_,E,z);else if(z.yaxes)for(y=0;y<z.yaxes.length;y++)w(_,g(z.yaxes[y]),z);if("funnel"===z.type?"h"===z.orientation?(L&&(k[L]=!0),E&&(C[E]=!0)):E&&(T[E]=!0):"image"===z.type?(E&&(P[E]=!0),L&&(P[L]=!0)):(E&&(S[E]=!0,A[E]=!0),x(z,"carpet")&&("carpet"!==z.type||z._cheater)||L&&(M[L]=!0)),"carpet"===z.type&&z._cheater&&L&&(k[L]=!0),x(z,"2dMap")&&(O[L]=!0,O[E]=!0),x(z,"oriented"))I["h"===z.orientation?E:L]=!0}}var j=t._subplots,D=j.xaxis,R=j.yaxis,N=n.simpleMap(D,g),F=n.simpleMap(R,g),B=N.concat(F),H=a.background;D.length&&R.length&&(H=n.coerce(e,t,l,"plot_bgcolor"));var V,G,Z,q,U,W=a.combine(H,t.paper_bgcolor);function Y(){var e=_[V]||[];U._traceIndices=e.map((function(e){return e._expandedIndex})),U._annIndices=[],U._shapeIndices=[],U._imgIndices=[],U._subplotsWith=[],U._counterAxes=[],U._name=U._attr=V,U._id=G}function X(e,t){return n.coerce(q,U,c,e,t)}function $(e,t){return n.coerce2(q,U,c,e,t)}function J(e){return"x"===e?R:D}function K(t,r){for(var n="x"===t?N:F,a=[],i=0;i<n.length;i++){var o=n[i];o===r||(e[o]||{}).overlaying||a.push(v(o))}return a}var Q={x:J("x"),y:J("y")},ee=Q.x.concat(Q.y),te={},re=[];function ne(){var e=q.matches;m.test(e)&&-1===ee.indexOf(e)&&(te[e]=q.type,re=Object.keys(te))}var ae=o(e,t,r),ie=i(ae);for(p=0;p<B.length;p++){V=B[p],G=v(V),Z=V.charAt(0),n.isPlainObject(e[V])||(e[V]={}),q=e[V],U=s.newContainer(t,V,Z+"axis"),Y();var oe="x"===Z&&!M[V]&&k[V]||"y"===Z&&!S[V]&&T[V],se="y"===Z&&(!A[V]&&C[V]||P[V]),le={letter:Z,font:t.font,outerTicks:O[V],showGrid:!I[V],data:_[V]||[],bgColor:W,calendar:t.calendar,automargin:!0,visibleDflt:oe,reverseDflt:se,splomStash:((t._splomAxes||{})[Z]||{})[G]};X("uirevision",t.uirevision),u(q,U,X,le),d(q,U,X,le,t);var ce=ie&&Z===ae.charAt(0),ue=$("spikecolor",ie?U.color:void 0),de=$("spikethickness",ie?1.5:void 0),fe=$("spikedash",ie?"dot":void 0),he=$("spikemode",ie?"across":void 0),pe=$("spikesnap",ie?"hovered data":void 0);X("showspikes",!!(ce||ue||de||fe||he||pe))||(delete U.spikecolor,delete U.spikethickness,delete U.spikedash,delete U.spikemode,delete U.spikesnap),h(q,U,X,{letter:Z,counterAxes:Q[Z],overlayableAxes:K(Z,V),grid:t.grid}),X("title.standoff"),ne(),U._input=q}for(p=0;p<re.length;){G=re[p++],Z=(V=g(G)).charAt(0),n.isPlainObject(e[V])||(e[V]={}),q=e[V],U=s.newContainer(t,V,Z+"axis"),Y();var ge={letter:Z,font:t.font,outerTicks:O[V],showGrid:!I[V],data:[],bgColor:W,calendar:t.calendar,automargin:!0,visibleDflt:!1,reverseDflt:!1,splomStash:((t._splomAxes||{})[Z]||{})[G]};X("uirevision",t.uirevision),U.type=te[G]||"linear",d(q,U,X,ge,t),h(q,U,X,{letter:Z,counterAxes:Q[Z],overlayableAxes:K(Z,V),grid:t.grid}),X("fixedrange"),ne(),U._input=q}var ve=b("rangeslider","handleDefaults"),me=b("rangeselector","handleDefaults");for(p=0;p<N.length;p++)V=N[p],q=e[V],U=t[V],ve(e,t,V),"date"===U.type&&me(q,U,t,F,U.calendar),X("fixedrange");for(p=0;p<F.length;p++){V=F[p],q=e[V],U=t[V];var ye=t[g(U.anchor)];X("fixedrange",b("rangeslider","isVisible")(ye))}var xe=t._axisConstraintGroups=[],be=t._axisMatchGroups=[],we=ee.concat(re),_e=B.concat(n.simpleMap(re,g));for(p=0;p<_e.length;p++){var ke,Te;Z=(V=_e[p]).charAt(0),q=e[V],U=t[V],ke="y"===Z&&!q.hasOwnProperty("scaleanchor")&&P[V]?U.anchor:void 0,Te=!q.hasOwnProperty("constrain")&&P[V]?"domain":void 0,f(q,U,X,{allAxisIds:we,layoutOut:t,scaleanchorDflt:ke,constrainDflt:Te})}for(p=0;p<be.length;p++){var Me=be[p],Se=null,Ae=null;for(G in Me)(U=t[g(G)]).matches||(Se=U.range,Ae=U.autorange);if(null===Se||null===Ae)for(G in Me){Se=(U=t[g(G)]).range,Ae=U.autorange;break}for(G in Me)(U=t[g(G)]).matches&&(U.range=Se.slice(),U.autorange=Ae),U._matchGroup=Me;if(xe.length)for(G in Me)for(y=0;y<xe.length;y++){var Ce=xe[y];for(var Pe in Ce)G===Pe&&(n.warn("Axis "+Pe+" is set with both a *scaleanchor* and *matches* constraint; ignoring the scale constraint."),delete Ce[Pe],Object.keys(Ce).length<2&&xe.splice(y,1))}}}},g9E0:function(e,t,r){"use strict";var n=r("bljh"),a=r("GbLo"),i=r("Zss7"),o=r("Nx4I"),s=r("0RW4"),l=r("wlgE"),c=r("/CZE"),u=r("A3kh"),d=r("c8nr"),f=r("Y9zF").LINE_SPACING,h=r("cqRZ").DESELECTDIM,p=r("3oHU"),g=r("GXgJ"),v=r("xMdC").appendArrayPointValue,m=e.exports={};m.font=function(e,t,r,n){c.isPlainObject(t)&&(n=t.color,r=t.size,t=t.family),t&&e.style("font-family",t),r+1&&e.style("font-size",r+"px"),n&&e.call(s.fill,n)},m.setPosition=function(e,t,r){e.attr("x",t).attr("y",r)},m.setSize=function(e,t,r){e.attr("width",t).attr("height",r)},m.setRect=function(e,t,r,n,a){e.call(m.setPosition,t,r).call(m.setSize,n,a)},m.translatePoint=function(e,t,r,n){var i=r.c2p(e.x),o=n.c2p(e.y);return!!(a(i)&&a(o)&&t.node())&&("text"===t.node().nodeName?t.attr("x",i).attr("y",o):t.attr("transform","translate("+i+","+o+")"),!0)},m.translatePoints=function(e,t,r){e.each((function(e){var a=n.select(this);m.translatePoint(e,a,t,r)}))},m.hideOutsideRangePoint=function(e,t,r,n,a,i){t.attr("display",r.isPtWithinRange(e,a)&&n.isPtWithinRange(e,i)?null:"none")},m.hideOutsideRangePoints=function(e,t){if(t._hasClipOnAxisFalse){var r=t.xaxis,a=t.yaxis;e.each((function(t){var i=t[0].trace,s=i.xcalendar,l=i.ycalendar,c=o.traceIs(i,"bar-like")?".bartext":".point,.textpoint";e.selectAll(c).each((function(e){m.hideOutsideRangePoint(e,n.select(this),r,a,s,l)}))}))}},m.crispRound=function(e,t,r){return t&&a(t)?e._context.staticPlot?t:t<1?1:Math.round(t):r||0},m.singleLineStyle=function(e,t,r,n,a){t.style("fill","none");var i=(((e||[])[0]||{}).trace||{}).line||{},o=r||i.width||0,l=a||i.dash||"";s.stroke(t,n||i.color),m.dashLine(t,l,o)},m.lineGroupStyle=function(e,t,r,a){e.style("fill","none").each((function(e){var i=(((e||[])[0]||{}).trace||{}).line||{},o=t||i.width||0,l=a||i.dash||"";n.select(this).call(s.stroke,r||i.color).call(m.dashLine,l,o)}))},m.dashLine=function(e,t,r){r=+r||0,t=m.dashStyle(t,r),e.style({"stroke-dasharray":t,"stroke-width":r+"px"})},m.dashStyle=function(e,t){t=+t||1;var r=Math.max(t,3);return"solid"===e?e="":"dot"===e?e=r+"px,"+r+"px":"dash"===e?e=3*r+"px,"+3*r+"px":"longdash"===e?e=5*r+"px,"+5*r+"px":"dashdot"===e?e=3*r+"px,"+r+"px,"+r+"px,"+r+"px":"longdashdot"===e&&(e=5*r+"px,"+2*r+"px,"+r+"px,"+2*r+"px"),e},m.singleFillStyle=function(e){var t=(((n.select(e.node()).data()[0]||[])[0]||{}).trace||{}).fillcolor;t&&e.call(s.fill,t)},m.fillGroupStyle=function(e){e.style("stroke-width",0).each((function(e){var t=n.select(this);e[0].trace&&t.call(s.fill,e[0].trace.fillcolor)}))};var y=r("M1CZ");m.symbolNames=[],m.symbolFuncs=[],m.symbolNeedLines={},m.symbolNoDot={},m.symbolNoFill={},m.symbolList=[],Object.keys(y).forEach((function(e){var t=y[e],r=t.n;m.symbolList.push(r,e,r+100,e+"-open"),m.symbolNames[r]=e,m.symbolFuncs[r]=t.f,t.needLine&&(m.symbolNeedLines[r]=!0),t.noDot?m.symbolNoDot[r]=!0:m.symbolList.push(r+200,e+"-dot",r+300,e+"-open-dot"),t.noFill&&(m.symbolNoFill[r]=!0)}));var x=m.symbolNames.length;function b(e,t){var r=e%100;return m.symbolFuncs[r](t)+(e>=200?"M0,0.5L0.5,0L0,-0.5L-0.5,0Z":"")}m.symbolNumber=function(e){if("string"==typeof e){var t=0;e.indexOf("-open")>0&&(t=100,e=e.replace("-open","")),e.indexOf("-dot")>0&&(t+=200,e=e.replace("-dot","")),(e=m.symbolNames.indexOf(e))>=0&&(e+=t)}return e%100>=x||e>=400?0:Math.floor(Math.max(e,0))};var w={x1:1,x2:0,y1:0,y2:0},_={x1:0,x2:0,y1:1,y2:0},k=n.format("~.1f"),T={radial:{node:"radialGradient"},radialreversed:{node:"radialGradient",reversed:!0},horizontal:{node:"linearGradient",attrs:w},horizontalreversed:{node:"linearGradient",attrs:w,reversed:!0},vertical:{node:"linearGradient",attrs:_},verticalreversed:{node:"linearGradient",attrs:_,reversed:!0}};m.gradient=function(e,t,r,a,o,l){for(var u=o.length,d=T[a],f=new Array(u),h=0;h<u;h++)d.reversed?f[u-1-h]=[k(100*(1-o[h][0])),o[h][1]]:f[h]=[k(100*o[h][0]),o[h][1]];var p=t._fullLayout,g="g"+p._uid+"-"+r,v=p._defs.select(".gradients").selectAll("#"+g).data([a+f.join(";")],c.identity);v.exit().remove(),v.enter().append(d.node).each((function(){var e=n.select(this);d.attrs&&e.attr(d.attrs),e.attr("id",g);var t=e.selectAll("stop").data(f);t.exit().remove(),t.enter().append("stop"),t.each((function(e){var t=i(e[1]);n.select(this).attr({offset:e[0]+"%","stop-color":s.tinyRGB(t),"stop-opacity":t.getAlpha()})}))})),e.style(l,L(g,t)).style(l+"-opacity",null);var m=function(e){return"."+e.attr("class").replace(/\s/g,".")},y=m(n.select(e.node().parentNode))+">"+m(e);p._gradientUrlQueryParts[y]=1},m.initGradients=function(e){var t=e._fullLayout;c.ensureSingle(t._defs,"g","gradients").selectAll("linearGradient,radialGradient").remove(),t._gradientUrlQueryParts={}},m.pointStyle=function(e,t,r){if(e.size()){var a=m.makePointStyleFns(t);e.each((function(e){m.singlePointStyle(e,n.select(this),t,a,r)}))}},m.singlePointStyle=function(e,t,r,n,a){var i=r.marker,o=i.line;if(t.style("opacity",n.selectedOpacityFn?n.selectedOpacityFn(e):void 0===e.mo?i.opacity:e.mo),n.ms2mrc){var l;l="various"===e.ms||"various"===i.size?3:n.ms2mrc(e.ms),e.mrc=l,n.selectedSizeFn&&(l=e.mrc=n.selectedSizeFn(e));var u=m.symbolNumber(e.mx||i.symbol)||0;e.om=u%200>=100,t.attr("d",b(u,l))}var d,f,h,p=!1;if(e.so)h=o.outlierwidth,f=o.outliercolor,d=i.outliercolor;else{var g=(o||{}).width;h=(e.mlw+1||g+1||(e.trace?(e.trace.marker.line||{}).width:0)+1)-1||0,f="mlc"in e?e.mlcc=n.lineScale(e.mlc):c.isArrayOrTypedArray(o.color)?s.defaultLine:o.color,c.isArrayOrTypedArray(i.color)&&(d=s.defaultLine,p=!0),d="mc"in e?e.mcc=n.markerScale(e.mc):i.color||"rgba(0,0,0,0)",n.selectedColorFn&&(d=n.selectedColorFn(e))}if(e.om)t.call(s.stroke,d).style({"stroke-width":(h||1)+"px",fill:"none"});else{t.style("stroke-width",(e.isBlank?0:h)+"px");var v=i.gradient,y=e.mgt;if(y?p=!0:y=v&&v.type,Array.isArray(y)&&(y=y[0],T[y]||(y=0)),y&&"none"!==y){var x=e.mgc;x?p=!0:x=v.color;var w=r.uid;p&&(w+="-"+e.i),m.gradient(t,a,w,y,[[0,x],[1,d]],"fill")}else s.fill(t,d);h&&s.stroke(t,f)}},m.makePointStyleFns=function(e){var t={},r=e.marker;return t.markerScale=m.tryColorscale(r,""),t.lineScale=m.tryColorscale(r,"line"),o.traceIs(e,"symbols")&&(t.ms2mrc=p.isBubble(e)?g(e):function(){return(r.size||6)/2}),e.selectedpoints&&c.extendFlat(t,m.makeSelectedPointStyleFns(e)),t},m.makeSelectedPointStyleFns=function(e){var t={},r=e.selected||{},n=e.unselected||{},a=e.marker||{},i=r.marker||{},s=n.marker||{},l=a.opacity,u=i.opacity,d=s.opacity,f=void 0!==u,p=void 0!==d;(c.isArrayOrTypedArray(l)||f||p)&&(t.selectedOpacityFn=function(e){var t=void 0===e.mo?a.opacity:e.mo;return e.selected?f?u:t:p?d:h*t});var g=a.color,v=i.color,m=s.color;(v||m)&&(t.selectedColorFn=function(e){var t=e.mcc||g;return e.selected?v||t:m||t});var y=a.size,x=i.size,b=s.size,w=void 0!==x,_=void 0!==b;return o.traceIs(e,"symbols")&&(w||_)&&(t.selectedSizeFn=function(e){var t=e.mrc||y/2;return e.selected?w?x/2:t:_?b/2:t}),t},m.makeSelectedTextStyleFns=function(e){var t={},r=e.selected||{},n=e.unselected||{},a=e.textfont||{},i=r.textfont||{},o=n.textfont||{},l=a.color,c=i.color,u=o.color;return t.selectedTextColorFn=function(e){var t=e.tc||l;return e.selected?c||t:u||(c?t:s.addOpacity(t,h))},t},m.selectedPointStyle=function(e,t){if(e.size()&&t.selectedpoints){var r=m.makeSelectedPointStyleFns(t),a=t.marker||{},i=[];r.selectedOpacityFn&&i.push((function(e,t){e.style("opacity",r.selectedOpacityFn(t))})),r.selectedColorFn&&i.push((function(e,t){s.fill(e,r.selectedColorFn(t))})),r.selectedSizeFn&&i.push((function(e,t){var n=t.mx||a.symbol||0,i=r.selectedSizeFn(t);e.attr("d",b(m.symbolNumber(n),i)),t.mrc2=i})),i.length&&e.each((function(e){for(var t=n.select(this),r=0;r<i.length;r++)i[r](t,e)}))}},m.tryColorscale=function(e,t){var r=t?c.nestedProperty(e,t).get():e;if(r){var n=r.color;if((r.colorscale||r._colorAx)&&c.isArrayOrTypedArray(n))return l.makeColorScaleFuncFromTrace(r)}return c.identity};var M={start:1,end:-1,middle:0,bottom:1,top:-1};function S(e,t,r,a){var i=n.select(e.node().parentNode),o=-1!==t.indexOf("top")?"top":-1!==t.indexOf("bottom")?"bottom":"middle",s=-1!==t.indexOf("left")?"end":-1!==t.indexOf("right")?"start":"middle",l=a?a/.8+1:0,c=(u.lineCount(e)-1)*f+1,d=M[s]*l,h=.75*r+M[o]*l+(M[o]-1)*c*r/2;e.attr("text-anchor",s),i.attr("transform","translate("+d+","+h+")")}function A(e,t){var r=e.ts||t.textfont.size;return a(r)&&r>0?r:0}m.textPointStyle=function(e,t,r){if(e.size()){var a;if(t.selectedpoints){var i=m.makeSelectedTextStyleFns(t);a=i.selectedTextColorFn}var o=t.texttemplate,s=r._fullLayout;e.each((function(e){var i=n.select(this),l=o?c.extractOption(e,t,"txt","texttemplate"):c.extractOption(e,t,"tx","text");if(l||0===l){if(o){var d=t._module.formatLabels?t._module.formatLabels(e,t,s):{},f={};v(f,t,e.i);var h=t._meta||{};l=c.texttemplateString(l,d,s._d3locale,f,e,h)}var p=e.tp||t.textposition,g=A(e,t),y=a?a(e):e.tc||t.textfont.color;i.call(m.font,e.tf||t.textfont.family,g,y).text(l).call(u.convertToTspans,r).call(S,p,g,e.mrc)}else i.remove()}))}},m.selectedTextStyle=function(e,t){if(e.size()&&t.selectedpoints){var r=m.makeSelectedTextStyleFns(t);e.each((function(e){var a=n.select(this),i=r.selectedTextColorFn(e),o=e.tp||t.textposition,l=A(e,t);s.fill(a,i),S(a,o,l,e.mrc2||e.mrc)}))}};function C(e,t,r,a){var i=e[0]-t[0],o=e[1]-t[1],s=r[0]-t[0],l=r[1]-t[1],c=Math.pow(i*i+o*o,.25),u=Math.pow(s*s+l*l,.25),d=(u*u*i-c*c*s)*a,f=(u*u*o-c*c*l)*a,h=3*u*(c+u),p=3*c*(c+u);return[[n.round(t[0]+(h&&d/h),2),n.round(t[1]+(h&&f/h),2)],[n.round(t[0]-(p&&d/p),2),n.round(t[1]-(p&&f/p),2)]]}m.smoothopen=function(e,t){if(e.length<3)return"M"+e.join("L");var r,n="M"+e[0],a=[];for(r=1;r<e.length-1;r++)a.push(C(e[r-1],e[r],e[r+1],t));for(n+="Q"+a[0][0]+" "+e[1],r=2;r<e.length-1;r++)n+="C"+a[r-2][1]+" "+a[r-1][0]+" "+e[r];return n+="Q"+a[e.length-3][1]+" "+e[e.length-1]},m.smoothclosed=function(e,t){if(e.length<3)return"M"+e.join("L")+"Z";var r,n="M"+e[0],a=e.length-1,i=[C(e[a],e[0],e[1],t)];for(r=1;r<a;r++)i.push(C(e[r-1],e[r],e[r+1],t));for(i.push(C(e[a-1],e[a],e[0],t)),r=1;r<=a;r++)n+="C"+i[r-1][1]+" "+i[r][0]+" "+e[r];return n+="C"+i[a][1]+" "+i[0][0]+" "+e[0]+"Z"};var P={hv:function(e,t){return"H"+n.round(t[0],2)+"V"+n.round(t[1],2)},vh:function(e,t){return"V"+n.round(t[1],2)+"H"+n.round(t[0],2)},hvh:function(e,t){return"H"+n.round((e[0]+t[0])/2,2)+"V"+n.round(t[1],2)+"H"+n.round(t[0],2)},vhv:function(e,t){return"V"+n.round((e[1]+t[1])/2,2)+"H"+n.round(t[0],2)+"V"+n.round(t[1],2)}},O=function(e,t){return"L"+n.round(t[0],2)+","+n.round(t[1],2)};m.steps=function(e){var t=P[e]||O;return function(e){for(var r="M"+n.round(e[0][0],2)+","+n.round(e[0][1],2),a=1;a<e.length;a++)r+=t(e[a-1],e[a]);return r}},m.makeTester=function(){var e=c.ensureSingleById(n.select("body"),"svg","js-plotly-tester",(function(e){e.attr(d.svgAttrs).style({position:"absolute",left:"-10000px",top:"-10000px",width:"9000px",height:"9000px","z-index":"1"})})),t=c.ensureSingle(e,"path","js-reference-point",(function(e){e.attr("d","M0,0H1V1H0Z").style({"stroke-width":0,fill:"black"})}));m.tester=e,m.testref=t},m.savedBBoxes={};var I=0;function z(e){var t=e.getAttribute("data-unformatted");if(null!==t)return t+e.getAttribute("data-math")+e.getAttribute("text-anchor")+e.getAttribute("style")}function L(e,t){if(!e)return null;var r=t._context;return"url('"+(r._exportedPlot?"":r._baseUrl||"")+"#"+e+"')"}m.bBox=function(e,t,r){var a,i,o;if(r||(r=z(e)),r){if(a=m.savedBBoxes[r])return c.extendFlat({},a)}else if(1===e.childNodes.length){var s=e.childNodes[0];if(r=z(s)){var l=+s.getAttribute("x")||0,d=+s.getAttribute("y")||0,f=s.getAttribute("transform");if(!f){var h=m.bBox(s,!1,r);return l&&(h.left+=l,h.right+=l),d&&(h.top+=d,h.bottom+=d),h}if(r+="~"+l+"~"+d+"~"+f,a=m.savedBBoxes[r])return c.extendFlat({},a)}}t?i=e:(o=m.tester.node(),i=e.cloneNode(!0),o.appendChild(i)),n.select(i).attr("transform",null).call(u.positionText,0,0);var p=i.getBoundingClientRect(),g=m.testref.node().getBoundingClientRect();t||o.removeChild(i);var v={height:p.height,width:p.width,left:p.left-g.left,top:p.top-g.top,right:p.right-g.left,bottom:p.bottom-g.top};return I>=1e4&&(m.savedBBoxes={},I=0),r&&(m.savedBBoxes[r]=v),I++,c.extendFlat({},v)},m.setClipUrl=function(e,t,r){e.attr("clip-path",L(t,r))},m.getTranslate=function(e){var t=(e[e.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\btranslate\((-?\d*\.?\d*)[^-\d]*(-?\d*\.?\d*)[^\d].*/,(function(e,t,r){return[t,r].join(" ")})).split(" ");return{x:+t[0]||0,y:+t[1]||0}},m.setTranslate=function(e,t,r){var n=e.attr?"attr":"getAttribute",a=e.attr?"attr":"setAttribute",i=e[n]("transform")||"";return t=t||0,r=r||0,i=i.replace(/(\btranslate\(.*?\);?)/,"").trim(),i=(i+=" translate("+t+", "+r+")").trim(),e[a]("transform",i),i},m.getScale=function(e){var t=(e[e.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\bscale\((\d*\.?\d*)[^\d]*(\d*\.?\d*)[^\d].*/,(function(e,t,r){return[t,r].join(" ")})).split(" ");return{x:+t[0]||1,y:+t[1]||1}},m.setScale=function(e,t,r){var n=e.attr?"attr":"getAttribute",a=e.attr?"attr":"setAttribute",i=e[n]("transform")||"";return t=t||1,r=r||1,i=i.replace(/(\bscale\(.*?\);?)/,"").trim(),i=(i+=" scale("+t+", "+r+")").trim(),e[a]("transform",i),i};var E=/\s*sc.*/;m.setPointGroupScale=function(e,t,r){if(t=t||1,r=r||1,e){var n=1===t&&1===r?"":" scale("+t+","+r+")";e.each((function(){var e=(this.getAttribute("transform")||"").replace(E,"");e=(e+=n).trim(),this.setAttribute("transform",e)}))}};var j=/translate\([^)]*\)\s*$/;m.setTextPointsScale=function(e,t,r){e&&e.each((function(){var e,a=n.select(this),i=a.select("text");if(i.node()){var o=parseFloat(i.attr("x")||0),s=parseFloat(i.attr("y")||0),l=(a.attr("transform")||"").match(j);e=1===t&&1===r?[]:["translate("+o+","+s+")","scale("+t+","+r+")","translate("+-o+","+-s+")"],l&&e.push(l),a.attr("transform",e.join(" "))}}))}},gGJ9:function(e,t,r){"use strict";var n=r("bljh"),a=r("g9E0"),i=r("0RW4"),o=r("cqRZ").DESELECTDIM,s=r("LfN2"),l=r("k6aH").resizeText,c=s.styleTextPoints;e.exports={style:function(e,t,r){var s=r||n.select(e).selectAll("g.funnellayer").selectAll("g.trace");l(e,s,"funnel"),s.style("opacity",(function(e){return e[0].trace.opacity})),s.each((function(t){var r=n.select(this),s=t[0].trace;r.selectAll(".point > path").each((function(e){if(!e.isBlank){var t=s.marker;n.select(this).call(i.fill,e.mc||t.color).call(i.stroke,e.mlc||t.line.color).call(a.dashLine,t.line.dash,e.mlw||t.line.width).style("opacity",s.selectedpoints&&!e.selected?o:1)}})),c(r,s,e),r.selectAll(".regions").each((function(){n.select(this).selectAll("path").style("stroke-width",0).call(i.fill,s.connector.fillcolor)})),r.selectAll(".lines").each((function(){var e=s.connector.line;a.lineGroupStyle(n.select(this).selectAll("path"),e.width,e.color,e.dash)}))}))}}},gNWG:function(e,t,r){"use strict";r.r(t);var n=r("L2JU"),a=r("DNW/").a,i=(r("Rf9y"),r("wpK7"),r("KHd+")),o=Object(i.a)(a,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("v-card",{staticStyle:{height:"100%"},attrs:{color:e.item.color,light:""},on:{mouseover:function(t){e.showMenuIcon=!0},mouseleave:function(t){e.showMenuIcon=!1}}},[r("v-card-title",{staticStyle:{height:"32px",padding:"0px 0px 0px 5px"}},[r("div",[r("router-link",{staticStyle:{"text-decoration":"none",color:"black","font-size":"18px"},attrs:{to:{path:"/home/analyze/"+e.report.Id,params:{reportId:e.report.Id}},title:"click to Analyze"}},[e._v(e._s(e.item.title?e.item.title:e.report.Title))])],1),e._v(" "),r("v-spacer"),e._v(" "),r("v-menu",{attrs:{bottom:"",left:""},scopedSlots:e._u([{key:"activator",fn:function(t){var n=t.on,a=t.attrs;return[r("v-btn",e._g(e._b({directives:[{name:"show",rawName:"v-show",value:e.showMenuIcon,expression:"showMenuIcon"}],attrs:{light:"",icon:""}},"v-btn",a,!1),Object.assign({},n)),[r("v-icon",[e._v("mdi-dots-vertical")])],1)]}}])},[e._v(" "),r("v-list",[r("v-menu",{attrs:{"open-on-hover":"","offset-x":"",left:""},scopedSlots:e._u([{key:"activator",fn:function(t){var n=t.on,a=t.attrs;return[r("v-list-item",e._g(e._b({key:e.i},"v-list-item",a,!1),Object.assign({},n)),[r("v-list-item-title",[e._v("Graph Type")])],1)]}}])},[e._v(" "),r("v-card",[r("table",{staticClass:"gtypeTable",attrs:{border:"0",cellpadding:"0",cellspacing:"0"}},[r("tr",[r("td",[r("span",{staticClass:"gtypeClass"},[r("b",{staticClass:"actionReportPie",attrs:{title:"Pie"},on:{click:function(t){return e.redrawGraph("Pie")}}})])]),e._v(" "),r("td",[r("span",{staticClass:"gtypeClass"},[r("b",{staticClass:"actionReportDonut",attrs:{title:"Donut Chart"},on:{click:function(t){return e.redrawGraph("Donut")}}})])]),e._v(" "),r("td",[r("span",{staticClass:"gtypeClass"},[r("b",{staticClass:"actionReportSunburst",attrs:{title:"Sunburst Chart"},on:{click:function(t){return e.redrawGraph("Sunburst")}}})])]),e._v(" "),r("td",[r("span",{staticClass:"gtypeClass"},[r("b",{staticClass:"actionHVLine",attrs:{title:"HVLine"},on:{click:function(t){return e.redrawGraph("HVLine")}}})])]),e._v(" "),r("td",[r("span",{staticClass:"gtypeClass"},[r("b",{staticClass:"actionReportLine",attrs:{title:"Line"},on:{click:function(t){return e.redrawGraph("Line")}}})])])]),e._v(" "),r("tr",[r("td",[r("span",{staticClass:"gtypeClass"},[r("b",{staticClass:"actionReportStackedArea",attrs:{title:"Stacked Area Chart"},on:{click:function(t){return e.redrawGraph("StackedArea")}}})])]),e._v(" "),r("td",[r("span",{staticClass:"gtypeClass"},[r("b",{staticClass:"actionReportBar",attrs:{title:"Bar"},on:{click:function(t){return e.redrawGraph("Bar")}}})])]),e._v(" "),r("td",[r("span",{staticClass:"gtypeClass"},[r("b",{staticClass:"actionReportColumn",attrs:{title:"Column chart"},on:{click:function(t){return e.redrawGraph("Column")}}})])]),e._v(" "),r("td",[r("span",{staticClass:"gtypeClass"},[r("b",{staticClass:"actionReportStack",attrs:{title:"Stacked Bar"},on:{click:function(t){return e.redrawGraph("StackedBar")}}})])]),e._v(" "),r("td",[r("span",{staticClass:"gtypeClass"},[r("b",{staticClass:"actionFunnelChart",attrs:{title:"Funnel Chart"},on:{click:function(t){return e.redrawGraph("Funnel")}}})])])]),e._v(" "),r("tr",[r("td",[r("span",{staticClass:"gtypeClass"},[r("b",{staticClass:"actionReportZoomTree",attrs:{title:"Zoomable Tree"},on:{click:function(t){return e.redrawGraph("Treemap")}}})])]),e._v(" "),r("td",[r("span",{staticClass:"gtypeClass"},[r("b",{staticClass:"actionReportHeat",attrs:{title:"Heat Chart"},on:{click:function(t){return e.redrawGraph("Heatmap")}}})])]),e._v(" "),r("td",[r("span",{staticClass:"gtypeClass"},[r("b",{staticClass:"actionReportMap",attrs:{title:"Map"},on:{click:function(t){return e.redrawGraph("Geo")}}})])]),e._v(" "),r("td",[r("span",{staticClass:"gtypeClass"},[r("b",{staticClass:"actionReportDataTable",attrs:{title:"Data Table"},on:{click:function(t){return e.redrawGraph("DataTable")}}})])]),e._v(" "),r("td",[r("span",{staticClass:"gtypeClass"},[r("b",{staticClass:"actionProgressBar",attrs:{title:"Progress Bar"},on:{click:function(t){return e.redrawGraph("ProgressBar")}}})])])]),e._v(" "),r("tr",[r("td",[r("span",{staticClass:"gtypeClass"},[r("b",{staticClass:"actionStackedFunnel",attrs:{title:"Stacked Funnel"},on:{click:function(t){return e.redrawGraph("StackedFunnel")}}})])]),e._v(" "),r("td",[r("span",{staticClass:"gtypeClass"},[r("b",{staticClass:"actionInfoBox",attrs:{title:"InfoBox"},on:{click:function(t){return e.redrawGraph("InfoBox")}}})])])])])])],1),e._v(" "),e._l(e.menuitems,(function(t,n){return r("v-list-item",{key:n,on:{click:function(r){return e.menuItem(t)}}},[r("v-list-item-title",[e._v(e._s(t.title))])],1)}))],2)],1)],1),e._v(" "),e.isInfoBox||"InfoBox"==e.conf.gtype||e.isProgressBar||"ProgressBar"==e.conf.gtype?e._e():r("v-divider"),e._v(" "),r("v-breadcrumbs",{directives:[{name:"show",rawName:"v-show",value:e.drillLabels.length>1,expression:"drillLabels.length>1"}],attrs:{items:e.drillLabels},scopedSlots:e._u([{key:"item",fn:function(t){var n=t.item;return[r("v-breadcrumbs-item",{on:{click:function(t){return e.breadcrumbClick(n.text,n.depth,n.node)}}},[e._v(e._s(n.text))])]}},{key:"divider",fn:function(){return[r("v-icon",[e._v("mdi-chevron-right")])]},proxy:!0}])}),e._v(" "),r("cub-graph-settings",{key:JSON.stringify(e.conf),attrs:{conf:e.conf},on:{event:e.changeGraph,cancelevent:e.cancelGraphSettings},model:{value:e.showGraphSettingsDialog,callback:function(t){e.showGraphSettingsDialog=t},expression:"showGraphSettingsDialog"}}),e._v(" "),r("div",{staticClass:"text-center",staticStyle:{width:"100%",height:"calc(100% - 48px)"},attrs:{id:e.item.Target}},[e.loading?r("stretch",{attrs:{id:"item.Target"}}):e._e(),e._v(" "),!e.loading&&e.isdatatable&&0!=e.reportdataTableItems.headers.length?r("div",{staticStyle:{width:"100%",height:"100%"},attrs:{id:e.item.Target}},[r("cub-data-table",{attrs:{headers:e.reportdataTableItems.headers,chartdataJSON:e.reportdataTableItems.chartdataJSON,"show-currency":e.settings.graphSettings.showCurrency,"show-search":e.settings.graphSettings.showSearch}})],1):e.loading||1!=e.isCrossTab||"DataTable"!=e.settings.selectedGraphType?e.isInfoBox&&!e.loading?r("div",{staticStyle:{overflow:"auto",width:"100%",height:"calc(100% - 32px)","word-break":"break-all"},attrs:{id:e.item.Target}},[r("cub-widget-1",{key:JSON.stringify(e.conf),attrs:{conf:e.conf}})],1):e.isProgressBar&&!e.loading?r("div",{staticStyle:{width:"100%"},attrs:{id:e.item.Target}},[r("cub-progress-widget",{key:JSON.stringify(e.conf),attrs:{conf:e.conf}})],1):e._e():r("div",{staticStyle:{width:"100%",height:"100%"},attrs:{id:e.item.Target}},[r("cub-data-table-crosstab",{attrs:{report:e.report,chartdata:e.item.data}})],1)],1)],1)}),[],!1,null,"b057319c",null).exports,s=r("8rxV"),l={name:"report-list",props:["search"],data:()=>({open:[]}),created(){},mounted(){},computed:{reportList(){for(var e=this.$store.state.reportList,t=0;t<e.length;t++)e[t].children.length||e.splice(t,1);return 1==e.length&&0==e[0].Id&&(e=e[0].children),e.length&&(this.open=[e[0].Id]),e},selectedReports:{get(){return this.$store.getters.getSelectedReports},set(e){this.$store.commit("setSelectedReports",e)}}},components:{},methods:{toggleSelection(e){if("Folder"!=e.ReportType){for(var t=!1,r=0;r<this.selectedReports.length;r++)if(e.Id==this.selectedReports[r].Id){this.selectedReports.splice(r,1),t=!0;break}t||this.selectedReports.push(e)}}}},c=(r("hYML"),Object(i.a)(l,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{attrs:{id:"report-list"}},[r("v-text-field",{staticClass:"pt-1",staticStyle:{"margin-top":"0px","background-color":"whitesmoke"},attrs:{outlined:"",label:"Search...","single-line":"","hide-details":""},model:{value:e.search,callback:function(t){e.search=t},expression:"search"}}),e._v(" "),r("v-treeview",{attrs:{selectable:"",items:e.reportList,search:e.search,"item-key":"Id","item-text":"Title","selection-type":"leaf",dense:"","open-all":"",transition:"","open-on-click":"","return-object":""},scopedSlots:e._u([{key:"label",fn:function(t){var n=t.item;return[r("a",{staticStyle:{color:"black","font-size":"14px"},attrs:{id:n.Id,title:n.Title},on:{click:function(t){return e.toggleSelection(n)}}},[e._v(e._s(n.Title))])]}}]),model:{value:e.selectedReports,callback:function(t){e.selectedReports=t},expression:"selectedReports"}})],1)}),[],!1,null,"392d7512",null).exports),u=r("Ov3g"),d=r.n(u),f=(r("glti"),r("e+jF")),h=r.n(f),p={name:"dashboard-view",props:["dashId"],data:()=>({reportSearch:"",reportsDialog:!1,filterDrawer:!1,dashInfo:"",editDashName:!1,dashNameUpdated:"",reportFiltersArr:[]}),computed:{...Object(n.b)(["getDashPageById","getDashPageDetailsById","getSelectedMyDashFilterValues","getSelectedFilters","getStandardFilterArray","getGraphPropertiesById"]),dashboardCollection:{get(){return this.$store.state.dashboardCollection},set(e){this.$store.dispatch("resetDashboardOrder",e)}},key:{get(){return this.$store.getters.getcomponentKey}},pageDetails:{get(){return this.getDashPageDetailsById(this.dashId)}},dashName:{get:function(){return this.dashInfo?(this.dashNameUpdated=this.dashInfo.Name,this.dashInfo.Name):""}},selectedDimFiltersLength:{get(){for(var e=0,t=Object.keys(this.getSelectedMyDashFilterValues),r=0;r<t.length;r++)e+=this.getSelectedMyDashFilterValues[t[r]].length;return e}}},watch:{$route(e,t){if(this.editDashName=!1,this.dashId)this.dashInfo=this.getDashPageById(this.dashId);else{var r="";this.dashboardCollection.length&&(this.dashId=this.dashboardCollection[0].Id,r=this.$route.path+this.dashId,this.$router.push(r))}this.$store.commit("setSelectedReports",[])},reportsDialog(e){this.reportSearch=""}},methods:{resizedEvent(e,t,r,n,a){console.log(e,t,r);for(var i=0;i<this.pageDetails.length;i++)if(e==this.pageDetails[i].i)if(this.pageDetails[i].w=r,this.pageDetails[i].h=t,t<=5&&r<=3){var o={showlegend:!1,"xaxis.showticklabels":!1,"yaxis.showticklabels":!1};d.a.relayout(this.pageDetails[i].Target,o)}else{o={showlegend:!0,"xaxis.showticklabels":!0,"yaxis.showticklabels":!0};d.a.relayout(this.pageDetails[i].Target,o)}},movedEvent:function(e,t,r){for(var n=0;n<this.pageDetails.length;n++)e==this.pageDetails[n].i&&(this.pageDetails[n].x=t,this.pageDetails[n].y=r)},resizePlot(e){"DataTable"!=e.Gtype&&"CrossTab"!=e.Gtype&&(d.a.Plots.resize(e.Target),setTimeout(()=>{d.a.Plots.resize(e.Target)},1e3))},cancelReportList(){this.reportsDialog=!1,this.$store.commit("setSelectedReports",[])},addReports(){var e=this.$store.getters.getSelectedReports;console.log(e);for(var t=0;t<e.length;t++){var r={x:0,y:0,h:8,w:6,i:e[t].Id,title:e[t].Title,Target:rand(),layout:{}};r.reportId=e[t].Id,r.layout.axesprops={showxgridline:!1,showxzeroline:!1,showmultiaxes:!1,autotick:!1},r.layout.measureprops={tracetype:"",showmeasure:!0,selectedMeasureIndex:0,ismeasurepropsapplied:!1,layout:{},color:"",showygridline:!1,showyzeroline:!1},r.layout.graphSettings={showCurrency:!1,showSearch:!1,showlegends:!0,showpointlabels:!1,reporttitle:e[t].Title,isComparison:!1,desiredValueTendency:"incr",legendorientation:"v",legendposition:{x:1,y:1,anchor:"left"}},r.gtype="DataTable",this.$store.commit("addReportToDashboard",{dashId:this.dashId,report:r}),this.reportsDialog=!1,this.$store.commit("setSelectedReports",[])}},saveDashboard(){this.$store.dispatch("saveDashboardToServer",this.dashId).then(e=>{"success"==e&&(this.$store.commit("setSnackbarStatus",!0),this.$store.commit("setSnackbarCode","DASH_SUCCESS"))})},deleteDashboard(){this.$store.dispatch("deleteDashboard",this.dashId)},renameDashboard(){var e={};e.dashId=this.dashId,e.dashName=this.dashNameUpdated,this.$store.dispatch("renameDashboard",e),this.editDashName=!1},applyFilters(e){console.log(this.getSelectedFilters);for(var t=[],r=0;r<this.getSelectedFilters.length;r++){this.getSelectedFilters[r].IsValid=!0;for(var n=0;n<e.length;n++)this.getSelectedFilters[r].FilterItemId==e[n].FilterItemId&&(this.getSelectedFilters[r].IsValid=!1)}for(r=0;r<this.getSelectedFilters.length;r++)this.getSelectedFilters[r].IsValid&&t.push(this.getSelectedFilters[r]);this.reportFiltersArr=e.concat(t);var a=this.$store.getters.getcomponentKey;this.$store.commit("setComponentKey",++a)}},components:{"cub-widget-1":s.a,"cub-plotly":o,"report-list":c,GridLayout:h.a.GridLayout,GridItem:h.a.GridItem},mounted(){this.$store.commit("deleteMyDashFilters"),this.applyFilters(this.getStandardFilterArray)},created(){this.dashInfo=this.getDashPageById(this.dashId)}},g=(r("pmO4"),Object(i.a)(p,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("v-container",{ref:"dashboardview",attrs:{fluid:""}},[r("v-card",{attrs:{height:"100%"}},[r("div",[r("v-dialog",{attrs:{scrollable:"",width:"700px"},model:{value:e.reportsDialog,callback:function(t){e.reportsDialog=t},expression:"reportsDialog"}},[r("v-card",[r("v-card-title",{staticStyle:{"background-color":"rgb(60, 141, 188)",color:"white"}},[e._v("\n Select Reports\n "),r("v-spacer"),e._v(" "),r("v-btn",{attrs:{text:"",color:"white"},on:{click:function(t){return e.cancelReportList()}}},[e._v("Cancel")]),e._v(" "),r("v-btn",{attrs:{text:"",color:"white"},on:{click:function(t){return e.addReports()}}},[e._v("Add")])],1),e._v(" "),r("v-card-text",[r("report-list",{attrs:{search:e.reportSearch}})],1)],1)],1),e._v(" "),r("v-card-title",[e.editDashName?r("v-text-field",{staticStyle:{"max-width":"300px"},attrs:{clearable:"","clear-icon":"mdi-close-circle","append-icon":"mdi-check"},on:{"click:clear":function(t){e.editDashName=!1},"click:append":function(t){return e.renameDashboard()}},model:{value:e.dashNameUpdated,callback:function(t){e.dashNameUpdated=t},expression:"dashNameUpdated"}},[e._v(e._s(e.dashNameUpdated))]):r("v-hover",{scopedSlots:e._u([{key:"default",fn:function(t){var n=t.hover;return[r("h4",[e._v("\n "+e._s(e.dashName)+"\n "),n?r("v-icon",{on:{click:function(t){e.editDashName=!0}}},[e._v("mdi-pencil")]):e._e()],1)]}}],null,!1,64747730)}),e._v(" "),r("v-spacer"),e._v(" "),r("v-icon",[e._v("mdi-share-variant")]),e._v(" "),r("v-icon",{on:{click:function(t){return e.saveDashboard()}}},[e._v("mdi-content-save")]),e._v(" "),r("v-icon",{on:{click:function(t){return e.deleteDashboard()}}},[e._v("mdi-delete")]),e._v(" "),r("v-icon",{on:{click:function(t){e.reportsDialog=!0}}},[e._v("mdi-plus-thick")])],1),e._v(" "),r("grid-layout",{ref:"gridLayout",attrs:{layout:e.pageDetails,"col-num":12,"row-height":30,"is-resizable":!0,"is-mirrored":!1,"vertical-compact":!0,margin:[10,10],"use-css-transforms":!0}},e._l(e.pageDetails,(function(t){return r("grid-item",{key:t.reportId,attrs:{x:t.x,y:t.y,w:t.w,h:t.h,i:t.i,minH:5,"drag-allow-from":".v-card__title",autosize:!0},on:{resize:function(r){return e.resizePlot(t)},resized:e.resizedEvent,moved:e.movedEvent}},[r("cub-plotly",{key:e.key,tag:"cub-plotly",attrs:{conf:t,dashId:e.dashId,reportFilterStr:e.reportFiltersArr}})],1)})),1)],1)])],1)}),[],!1,null,null,null));t.default=g.exports},gfA5:function(e,t,r){"use strict";var n=r("kJIm").extendFlat;t.attributes=function(e,t){t=t||{};var r={valType:"info_array",role:"info",editType:(e=e||{}).editType,items:[{valType:"number",min:0,max:1,editType:e.editType},{valType:"number",min:0,max:1,editType:e.editType}],dflt:[0,1]},a=e.name?e.name+" ":"",i=e.trace?"trace ":"subplot ",o=t.description?" "+t.description:"",s={x:n({},r,{description:["Sets the horizontal domain of this ",a,i,"(in plot fraction).",o].join("")}),y:n({},r,{description:["Sets the vertical domain of this ",a,i,"(in plot fraction).",o].join("")}),editType:e.editType};return e.noGridCell||(s.row={valType:"integer",min:0,dflt:0,role:"info",editType:e.editType,description:["If there is a layout grid, use the domain ","for this row in the grid for this ",a,i,".",o].join("")},s.column={valType:"integer",min:0,dflt:0,role:"info",editType:e.editType,description:["If there is a layout grid, use the domain ","for this column in the grid for this ",a,i,".",o].join("")}),s},t.defaults=function(e,t,r,n){var a=n&&n.x||[0,1],i=n&&n.y||[0,1],o=t.grid;if(o){var s=r("domain.column");void 0!==s&&(s<o.columns?a=o._domains.x[s]:delete e.domain.column);var l=r("domain.row");void 0!==l&&(l<o.rows?i=o._domains.y[l]:delete e.domain.row)}var c=r("domain.x",a),u=r("domain.y",i);c[0]<c[1]||(e.domain.x=a.slice()),u[0]<u[1]||(e.domain.y=i.slice())}},ghsG:function(e,t,r){"use strict";e.exports=function(e){var t=e._fullLayout;t._glcanvas&&t._glcanvas.size()&&t._glcanvas.each((function(e){e.regl&&e.regl.clear({color:!0,depth:!0})}))}},gqVr:function(e,t,r){"use strict";var n=r("/CZE"),a=r("Nx4I");function i(e,t,r,a){a=a||n.identity,Array.isArray(e)&&(t[0][r]=a(e))}e.exports=function(e){var t=e.calcdata,r=e._fullLayout;function o(e){return function(t){return n.coerceHoverinfo({hoverinfo:t},{_module:e._module},r)}}for(var s=0;s<t.length;s++){var l=t[s],c=l[0].trace;if(!a.traceIs(c,"pie-like")){var u=a.traceIs(c,"2dMap")?i:n.fillArray;u(c.hoverinfo,l,"hi",o(c)),c.hovertemplate&&u(c.hovertemplate,l,"ht"),c.hoverlabel&&(u(c.hoverlabel.bgcolor,l,"hbg"),u(c.hoverlabel.bordercolor,l,"hbc"),u(c.hoverlabel.font.size,l,"hts"),u(c.hoverlabel.font.color,l,"htc"),u(c.hoverlabel.font.family,l,"htf"),u(c.hoverlabel.namelength,l,"hnl"),u(c.hoverlabel.align,l,"hta"))}}}},grU7:function(e,t,r){"use strict";e.exports=function(e){var t=e.editType;return{t:{valType:"number",dflt:0,role:"style",editType:t,description:"The amount of padding (in px) along the top of the component."},r:{valType:"number",dflt:0,role:"style",editType:t,description:"The amount of padding (in px) on the right side of the component."},b:{valType:"number",dflt:0,role:"style",editType:t,description:"The amount of padding (in px) along the bottom of the component."},l:{valType:"number",dflt:0,role:"style",editType:t,description:"The amount of padding (in px) on the left side of the component."},editType:t}}},"h+LG":function(e,t,r){"use strict";var n=r("/CZE"),a=r("QeBV"),i=r("yPDV"),o=r("QYPY"),s=r("BDWl");e.exports=function(e,t,r,l){function c(r,a){return n.coerce(e,t,s,r,a)}a(e,t,c,l)?(c("text"),c("hovertext"),c("hovertemplate"),i(e,t,c,l),c("hoverongaps"),c("connectgaps",n.isArray1D(t.z)&&!1!==t.zsmooth),o(e,t,l,c,{prefix:"",cLetter:"z"})):t.visible=!1}},h0EB:function(e,t,r){"use strict";(function(t){var n=r("fiWp").EventEmitter,a={init:function(e){if(e._ev instanceof n)return e;var r=new n,a=new n;return e._ev=r,e._internalEv=a,e.on=r.on.bind(r),e.once=r.once.bind(r),e.removeListener=r.removeListener.bind(r),e.removeAllListeners=r.removeAllListeners.bind(r),e._internalOn=a.on.bind(a),e._internalOnce=a.once.bind(a),e._removeInternalListener=a.removeListener.bind(a),e._removeAllInternalListeners=a.removeAllListeners.bind(a),e.emit=function(n,i){void 0!==t&&t(e).trigger(n,i),r.emit(n,i),a.emit(n,i)},e},triggerHandler:function(e,r,n){var a,i;void 0!==t&&(a=t(e).triggerHandler(r,n));var o=e._ev;if(!o)return a;var s,l=o._events[r];if(!l)return a;function c(e){return e.listener?(o.removeListener(r,e.listener),e.fired?void 0:(e.fired=!0,e.listener.apply(o,[n]))):e.apply(o,[n])}for(l=Array.isArray(l)?l:[l],s=0;s<l.length-1;s++)c(l[s]);return i=c(l[s]),void 0!==a?a:i},purge:function(e){return delete e._ev,delete e.on,delete e.once,delete e.removeListener,delete e.removeAllListeners,delete e.emit,delete e._ev,delete e._internalEv,delete e._internalOn,delete e._internalOnce,delete e._removeInternalListener,delete e._removeAllInternalListeners,e}};e.exports=a}).call(this,r("+2Rf"))},"hN+Y":function(e,t,r){"use strict";var n=r("/CZE"),a=r("Nx4I"),i=!0;e.exports=function(e,t,r){var o=t._fullLayout;if(!t._dragged&&!t._editing){var s,l=o.legend.itemclick,c=o.legend.itemdoubleclick;if(1===r&&"toggle"===l&&"toggleothers"===c&&i&&t.data&&t._context.showTips?(n.notifier(n._(t,"Double-click on legend to isolate one trace"),"long"),i=!1):i=!1,1===r?s=l:2===r&&(s=c),s){var u,d,f,h,p,g=o.hiddenlabels?o.hiddenlabels.slice():[],v=e.data()[0][0],m=t._fullData,y=v.trace,x=y.legendgroup,b={},w=[],_=[],k=[];if(a.traceIs(y,"pie-like")){var T=v.label,M=g.indexOf(T);"toggle"===s?-1===M?g.push(T):g.splice(M,1):"toggleothers"===s&&(g=[],t.calcdata[0].forEach((function(e){T!==e.label&&g.push(e.label)})),t._fullLayout.hiddenlabels&&t._fullLayout.hiddenlabels.length===g.length&&-1===M&&(g=[])),a.call("_guiRelayout",t,"hiddenlabels",g)}else{var S,A=x&&x.length,C=[];if(A)for(u=0;u<m.length;u++)(S=m[u]).visible&&S.legendgroup===x&&C.push(u);if("toggle"===s){var P;switch(y.visible){case!0:P="legendonly";break;case!1:P=!1;break;case"legendonly":P=!0}if(A)for(u=0;u<m.length;u++)!1!==m[u].visible&&m[u].legendgroup===x&&N(m[u],P);else N(y,P)}else if("toggleothers"===s){var O,I,z,L,E=!0;for(u=0;u<m.length;u++)if(O=m[u]===y,z=!0!==m[u].showlegend,!(O||z||(I=A&&m[u].legendgroup===x)||!0!==m[u].visible||a.traceIs(m[u],"notLegendIsolatable"))){E=!1;break}for(u=0;u<m.length;u++)if(!1!==m[u].visible&&!a.traceIs(m[u],"notLegendIsolatable"))switch(y.visible){case"legendonly":N(m[u],!0);break;case!0:L=!!E||"legendonly",O=m[u]===y,z=!0!==m[u].showlegend&&!m[u].legendgroup,I=O||A&&m[u].legendgroup===x,N(m[u],!(!I&&!z)||L)}}for(u=0;u<_.length;u++)if(f=_[u]){var j=f.constructUpdate(),D=Object.keys(j);for(d=0;d<D.length;d++)h=D[d],(b[h]=b[h]||[])[k[u]]=j[h]}for(p=Object.keys(b),u=0;u<p.length;u++)for(h=p[u],d=0;d<w.length;d++)b[h].hasOwnProperty(d)||(b[h][d]=void 0);a.call("_guiRestyle",t,b,w)}}}function R(e,t,r){var n=w.indexOf(e),a=b[t];return a||(a=b[t]=[]),-1===w.indexOf(e)&&(w.push(e),n=w.length-1),a[n]=r,n}function N(e,t){var r=e._fullInput;if(a.hasTransform(r,"groupby")){var i=_[r.index];if(!i){var o=a.getTransformIndices(r,"groupby"),s=o[o.length-1];i=n.keyedContainer(r,"transforms["+s+"].styles","target","value.visible"),_[r.index]=i}var l=i.get(e._group);void 0===l&&(l=!0),!1!==l&&i.set(e._group,t),k[r.index]=R(r.index,"visible",!1!==r.visible)}else{var c=!1!==r.visible&&t;R(r.index,"visible",c)}}}},hVte:function(e,t,r){"use strict";var n=r("h0EB"),a=r("ffJW"),i=r("G4gu").getGraphDiv,o=r("f7dW"),s=e.exports={};s.wrapped=function(e,t,r){(e=i(e))._fullLayout&&a.clear(e._fullLayout._uid+o.HOVERID),s.raw(e,t,r)},s.raw=function(e,t){var r=e._fullLayout,a=e._hoverdata;t||(t={}),t.target&&!1===n.triggerHandler(e,"plotly_beforehover",t)||(r._hoverlayer.selectAll("g").remove(),r._hoverlayer.selectAll("line").remove(),r._hoverlayer.selectAll("circle").remove(),e._hoverdata=void 0,t.target&&a&&e.emit("plotly_unhover",{event:t,points:a}))}},hXjG:function(e,t,r){(t=r("JPst")(!1)).push([e.i,".spinner[data-v-284cf52c]{box-sizing:border-box;border-radius:50%;animation:circle-3-rotate-data-v-284cf52c 1s infinite linear}@keyframes circle-3-rotate-data-v-284cf52c{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}\n",""]),e.exports=t},hYML:function(e,t,r){"use strict";var n=r("HhDa");r.n(n).a},hriN:function(e,t,r){"use strict";var n=r("GbLo"),a=r("Zss7"),i=r("0RW4"),o={};function s(e){return function(t,r){return!!t&&(!!(t=a(t)).isValid()&&(t=i.addOpacity(t,t.getAlpha()),e[r]||(e[r]=t),t))}}function l(e,t){var r,n=JSON.stringify(e),i=t[n];if(!i){for(i=e.slice(),r=0;r<e.length;r++)i.push(a(e[r]).lighten(20).toHexString());for(r=0;r<e.length;r++)i.push(a(e[r]).darken(20).toHexString());t[n]=i}return i}e.exports={calc:function(e,t){var r,a,i=[],o=e._fullLayout,l=o.hiddenlabels||[],c=t.labels,u=t.marker.colors||[],d=t.values,f=t._length,h=t._hasValues&&f;if(t.dlabel)for(c=new Array(f),r=0;r<f;r++)c[r]=String(t.label0+r*t.dlabel);var p={},g=s(o["_"+t.type+"colormap"]),v=0,m=!1;for(r=0;r<f;r++){var y,x,b;if(h){if(y=d[r],!n(y))continue;if((y=+y)<0)continue}else y=1;void 0!==(x=c[r])&&""!==x||(x=r);var w=p[x=String(x)];void 0===w?(p[x]=i.length,(b=-1!==l.indexOf(x))||(v+=y),i.push({v:y,label:x,color:g(u[r],x),i:r,pts:[r],hidden:b})):(m=!0,(a=i[w]).v+=y,a.pts.push(r),a.hidden||(v+=y),!1===a.color&&u[r]&&(a.color=g(u[r],x)))}return("funnelarea"===t.type?m:t.sort)&&i.sort((function(e,t){return t.v-e.v})),i[0]&&(i[0].vTotal=v),i},crossTraceCalc:function(e,t){var r=(t||{}).type;r||(r="pie");var n=e._fullLayout,a=e.calcdata,i=n[r+"colorway"],s=n["_"+r+"colormap"];n["extend"+r+"colors"]&&(i=l(i,o));for(var c=0,u=0;u<a.length;u++){var d=a[u];if(d[0].trace.type===r)for(var f=0;f<d.length;f++){var h=d[f];!1===h.color&&(s[h.label]?h.color=s[h.label]:(s[h.label]=h.color=i[c%i.length],c++))}}},makePullColorFn:s,generateExtendedColors:l}},"i/29":function(e,t,r){},i5jP:function(e,t){var r={left:0,top:0};e.exports=function(e,t,n){t=t||e.currentTarget||e.srcElement,Array.isArray(n)||(n=[0,0]);var a=e.clientX||0,i=e.clientY||0,o=(s=t,s===window||s===document||s===document.body?r:s.getBoundingClientRect());var s;return n[0]=a-o.left,n[1]=i-o.top,n}},i6kf:function(e,t,r){"use strict";e.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:"linear",eventDataKeys:["currentPath","root","entry","percentRoot","percentEntry","percentParent"]}},i9ir:function(e,t,r){"use strict";var n=r("lNV6").hovertemplateAttrs,a=r("VvME"),i=r("9Okp"),o=r("qHYo"),s=r("37PH").defaultLine,l=r("kJIm").extendFlat,c=a.marker.line;e.exports=l({locations:{valType:"data_array",editType:"calc",description:["Sets the coordinates via location IDs or names.","See `locationmode` for more info."].join(" ")},locationmode:a.locationmode,z:{valType:"data_array",editType:"calc",description:"Sets the color values."},geojson:l({},a.geojson,{description:["Sets optional GeoJSON data associated with this trace.","If not given, the features on the base map are used.","It can be set as a valid GeoJSON object or as a URL string.","Note that we only accept GeoJSONs of type *FeatureCollection* or *Feature*","with geometries of type *Polygon* or *MultiPolygon*."].join(" ")}),featureidkey:a.featureidkey,text:l({},a.text,{description:"Sets the text elements associated with each location."}),hovertext:l({},a.hovertext,{description:"Same as `text`."}),marker:{line:{color:l({},c.color,{dflt:s}),width:l({},c.width,{dflt:1}),editType:"calc"},opacity:{valType:"number",arrayOk:!0,min:0,max:1,dflt:1,role:"style",editType:"style",description:"Sets the opacity of the locations."},editType:"calc"},selected:{marker:{opacity:a.selected.marker.opacity,editType:"plot"},editType:"plot"},unselected:{marker:{opacity:a.unselected.marker.opacity,editType:"plot"},editType:"plot"},hoverinfo:l({},o.hoverinfo,{editType:"calc",flags:["location","z","text","name"]}),hovertemplate:n(),showlegend:l({},o.showlegend,{dflt:!1})},i("",{cLetter:"z",editTypeOverride:"calc"}))},iHwY:function(e,t,r){"use strict";var n=r("bljh"),a=r("Nx4I"),i=r("u3HJ"),o=r("0RW4"),s=r("g9E0"),l=r("/CZE"),c=r("A3kh"),u=r("PBw4"),d=r("Y9zF"),f=d.LINE_SPACING,h=d.FROM_TL,p=d.FROM_BR,g=r("sZtP"),v=r("nTMW");function m(e){return e._id}function y(e,t,r){var n=l.ensureSingle(e,"rect","selector-rect",(function(e){e.attr("shape-rendering","crispEdges")}));n.attr({rx:g.rx,ry:g.ry}),n.call(o.stroke,t.bordercolor).call(o.fill,function(e,t){return t._isActive||t._isHovered?e.activecolor:e.bgcolor}(t,r)).style("stroke-width",t.borderwidth+"px")}function x(e,t,r,n){l.ensureSingle(e,"text","selector-text",(function(e){e.classed("user-select-none",!0).attr("text-anchor","middle")})).call(s.font,t.font).text(function(e,t){if(e.label)return t?l.templateString(e.label,t):e.label;return"all"===e.step?"all":e.count+e.step.charAt(0)}(r,n._fullLayout._meta)).call((function(e){c.convertToTspans(e,n)}))}e.exports=function(e){var t=e._fullLayout._infolayer.selectAll(".rangeselector").data(function(e){for(var t=u.list(e,"x",!0),r=[],n=0;n<t.length;n++){var a=t[n];a.rangeselector&&a.rangeselector.visible&&r.push(a)}return r}(e),m);t.enter().append("g").classed("rangeselector",!0),t.exit().remove(),t.style({cursor:"pointer","pointer-events":"all"}),t.each((function(t){var r=n.select(this),o=t,u=o.rangeselector,d=r.selectAll("g.button").data(l.filterVisible(u.buttons));d.enter().append("g").classed("button",!0),d.exit().remove(),d.each((function(t){var r=n.select(this),i=v(o,t);t._isActive=function(e,t,r){if("all"===t.step)return!0===e.autorange;var n=Object.keys(r);return e.range[0]===r[n[0]]&&e.range[1]===r[n[1]]}(o,t,i),r.call(y,u,t),r.call(x,u,t,e),r.on("click",(function(){e._dragged||a.call("_guiRelayout",e,i)})),r.on("mouseover",(function(){t._isHovered=!0,r.call(y,u,t)})),r.on("mouseout",(function(){t._isHovered=!1,r.call(y,u,t)}))})),function(e,t,r,a,o){var u=0,d=0,v=r.borderwidth;t.each((function(){var e=n.select(this).select(".selector-text"),t=r.font.size*f,a=Math.max(t*c.lineCount(e),16)+3;d=Math.max(d,a)})),t.each((function(){var e=n.select(this),t=e.select(".selector-rect"),a=e.select(".selector-text"),i=a.node()&&s.bBox(a.node()).width,o=r.font.size*f,l=c.lineCount(a),h=Math.max(i+10,g.minButtonWidth);e.attr("transform","translate("+(v+u)+","+v+")"),t.attr({x:0,y:0,width:h,height:d}),c.positionText(a,h/2,d/2-(l-1)*o/2+3),u+=h+5}));var m=e._fullLayout._size,y=m.l+m.w*r.x,x=m.t+m.h*(1-r.y),b="left";l.isRightAnchor(r)&&(y-=u,b="right");l.isCenterAnchor(r)&&(y-=u/2,b="center");var w="top";l.isBottomAnchor(r)&&(x-=d,w="bottom");l.isMiddleAnchor(r)&&(x-=d/2,w="middle");u=Math.ceil(u),d=Math.ceil(d),y=Math.round(y),x=Math.round(x),i.autoMargin(e,a+"-range-selector",{x:r.x,y:r.y,l:u*h[b],r:u*p[b],b:d*p[w],t:d*h[w]}),o.attr("transform","translate("+y+","+x+")")}(e,d,u,o._name,r)}))}},iJj1:function(e,t,r){"use strict";var n=r("xMdC").appendArrayMultiPointValues;e.exports=function(e,t){var r={curveNumber:t.index,pointNumbers:e.pts,data:t._input,fullData:t,label:e.label,color:e.color,value:e.v,percent:e.percent,text:e.text,v:e.v};return 1===e.pts.length&&(r.pointNumber=r.i=e.pts[0]),n(r,t,e.pts),"funnelarea"===t.type&&(delete r.v,delete r.i),r}},iQ3r:function(e,t,r){"use strict";var n=r("BkK/").hoverLabelText,a=r("0RW4").opacity,i=r("rJf6").hoverOnBars,o=r("uM7j"),s=o.INCREASING.SYMBOL,l=o.DECREASING.SYMBOL;e.exports=function(e,t,r,o){var c=i(e,t,r,o);if(c){var u=c.cd,d=u[0].trace,f="h"===d.orientation,h=f?e.xa:e.ya,p=u[c.index],g=p.isSum?p.b+p.s:p.rawS;if(!p.isSum){c.initial=p.b+p.s-g,c.delta=g,c.final=c.initial+c.delta;var v=_(Math.abs(c.delta));c.deltaLabel=g<0?"("+v+")":v,c.finalLabel=_(c.final),c.initialLabel=_(c.initial)}var m=p.hi||d.hoverinfo,y=[];if(m&&"none"!==m&&"skip"!==m){var x="all"===m,b=m.split("+"),w=function(e){return x||-1!==b.indexOf(e)};p.isSum||(!w("final")||w(f?"x":"y")||y.push(c.finalLabel),w("delta")&&(g<0?y.push(c.deltaLabel+" "+l):y.push(c.deltaLabel+" "+s)),w("initial")&&y.push("Initial: "+c.initialLabel))}return y.length&&(c.extraText=y.join("<br>")),c.color=function(e,t){var r=e[t.dir].marker,n=r.color,i=r.line.color,o=r.line.width;if(a(n))return n;if(a(i)&&o)return i}(d,p),[c]}function _(e){return n(h,e)}}},iauE:function(e,t,r){"use strict";e.exports={attributes:r("Df4R"),layoutAttributes:r("kc6j"),supplyDefaults:r("4WVA").supplyDefaults,crossTraceDefaults:r("4WVA").crossTraceDefaults,supplyLayoutDefaults:r("IkQw"),calc:r("f9ru"),crossTraceCalc:r("tTmA"),plot:r("Nurt"),style:r("A9f/").style,hoverPoints:r("iQ3r"),eventData:r("W+yT"),selectPoints:r("cADB"),moduleType:"trace",name:"waterfall",basePlotModule:r("kc20"),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{description:["Draws waterfall trace which is useful graph to displays the","contribution of various elements (either positive or negative)","in a bar chart. The data visualized by the span of the bars is","set in `y` if `orientation` is set th *v* (the default) and the","labels are set in `x`.","By setting `orientation` to *h*, the roles are interchanged."].join(" ")}}},ihqo:function(e,t,r){"use strict";var n=r("lG6e");r.n(n).a},ix2X:function(e,t,r){"use strict";var n=r("bljh"),a=r("Nx4I"),i=r("u3HJ"),o=r("/CZE"),s=r("g9E0"),l=r("0RW4"),c=r("GZnn"),u=r("kc20"),d=r("PBw4"),f=r("Tv4R"),h=r("DzeQ"),p=r("IvnK");function g(e,t,r,n){var a=o.ensureSingle(e,"rect",p.bgClassName,(function(e){e.attr({x:0,y:0,"shape-rendering":"crispEdges"})})),i=n.borderwidth%2==0?n.borderwidth:n.borderwidth-1,l=-n._offsetShift,c=s.crispRound(t,n.borderwidth);a.attr({width:n._width+i,height:n._height+i,transform:"translate("+l+","+l+")",fill:n.bgcolor,stroke:n.bordercolor,"stroke-width":c})}function v(e,t,r,n){var a=t._fullLayout;o.ensureSingleById(a._topdefs,"clipPath",n._clipId,(function(e){e.append("rect").attr({x:0,y:0})})).select("rect").attr({width:n._width,height:n._height})}function m(e,t,r,a){var l,c=t.calcdata,f=e.selectAll("g."+p.rangePlotClassName).data(r._subplotsWith,o.identity);f.enter().append("g").attr("class",(function(e){return p.rangePlotClassName+" "+e})).call(s.setClipUrl,a._clipId,t),f.order(),f.exit().remove(),f.each((function(e,o){var s=n.select(this),f=0===o,h=d.getFromId(t,e,"y"),p=h._name,g=a[p],v={data:[],layout:{xaxis:{type:r.type,domain:[0,1],range:a.range.slice(),calendar:r.calendar},width:a._width,height:a._height,margin:{t:0,b:0,l:0,r:0}},_context:t._context};r.rangebreaks&&(v.layout.xaxis.rangebreaks=r.rangebreaks),v.layout[p]={type:h.type,domain:[0,1],range:"match"!==g.rangemode?g.range.slice():h.range.slice(),calendar:h.calendar},h.rangebreaks&&(v.layout[p].rangebreaks=h.rangebreaks),i.supplyDefaults(v);var m=v._fullLayout.xaxis,y=v._fullLayout[p];m.clearCalc(),m.setScale(),y.clearCalc(),y.setScale();var x={id:e,plotgroup:s,xaxis:m,yaxis:y,isRangePlot:!0};f?l=x:(x.mainplot="xy",x.mainplotinfo=l),u.rangePlot(t,x,function(e,t){for(var r=[],n=0;n<e.length;n++){var a=e[n],i=a[0].trace;i.xaxis+i.yaxis===t&&r.push(a)}return r}(c,e))}))}function y(e,t,r,n,a){(o.ensureSingle(e,"rect",p.maskMinClassName,(function(e){e.attr({x:0,y:0,"shape-rendering":"crispEdges"})})).attr("height",n._height).call(l.fill,p.maskColor),o.ensureSingle(e,"rect",p.maskMaxClassName,(function(e){e.attr({y:0,"shape-rendering":"crispEdges"})})).attr("height",n._height).call(l.fill,p.maskColor),"match"!==a.rangemode)&&(o.ensureSingle(e,"rect",p.maskMinOppAxisClassName,(function(e){e.attr({y:0,"shape-rendering":"crispEdges"})})).attr("width",n._width).call(l.fill,p.maskOppAxisColor),o.ensureSingle(e,"rect",p.maskMaxOppAxisClassName,(function(e){e.attr({y:0,"shape-rendering":"crispEdges"})})).attr("width",n._width).style("border-top",p.maskOppBorder).call(l.fill,p.maskOppAxisColor))}function x(e,t,r,n){t._context.staticPlot||o.ensureSingle(e,"rect",p.slideBoxClassName,(function(e){e.attr({y:0,cursor:p.slideBoxCursor,"shape-rendering":"crispEdges"})})).attr({height:n._height,fill:p.slideBoxFill})}function b(e,t,r,n){var a=o.ensureSingle(e,"g",p.grabberMinClassName),i=o.ensureSingle(e,"g",p.grabberMaxClassName),s={x:0,width:p.handleWidth,rx:p.handleRadius,fill:l.background,stroke:l.defaultLine,"stroke-width":p.handleStrokeWidth,"shape-rendering":"crispEdges"},c={y:Math.round(n._height/4),height:Math.round(n._height/2)};if(o.ensureSingle(a,"rect",p.handleMinClassName,(function(e){e.attr(s)})).attr(c),o.ensureSingle(i,"rect",p.handleMaxClassName,(function(e){e.attr(s)})).attr(c),!t._context.staticPlot){var u={width:p.grabAreaWidth,x:0,y:0,fill:p.grabAreaFill,cursor:p.grabAreaCursor};o.ensureSingle(a,"rect",p.grabAreaMinClassName,(function(e){e.attr(u)})).attr("height",n._height),o.ensureSingle(i,"rect",p.grabAreaMaxClassName,(function(e){e.attr(u)})).attr("height",n._height)}}e.exports=function(e){for(var t=e._fullLayout,r=t._rangeSliderData,i=0;i<r.length;i++){var s=r[i][p.name];s._clipId=s._id+"-"+t._uid}var l=t._infolayer.selectAll("g."+p.containerClassName).data(r,(function(e){return e._name}));l.exit().each((function(e){var r=e[p.name];t._topdefs.select("#"+r._clipId).remove()})).remove(),0!==r.length&&(l.enter().append("g").classed(p.containerClassName,!0).attr("pointer-events","all"),l.each((function(r){var i=n.select(this),s=r[p.name],l=t[d.id2name(r.anchor)],u=s[d.id2name(r.anchor)];if(s.range){var w,_=o.simpleMap(s.range,r.r2l),k=o.simpleMap(r.range,r.r2l);w=k[0]<k[1]?[Math.min(_[0],k[0]),Math.max(_[1],k[1])]:[Math.max(_[0],k[0]),Math.min(_[1],k[1])],s.range=s._input.range=o.simpleMap(w,r.l2r)}r.cleanRange("rangeslider.range");var T=t._size,M=r.domain;s._width=T.w*(M[1]-M[0]);var S=Math.round(T.l+T.w*M[0]),A=Math.round(T.t+T.h*(1-r._counterDomainMin)+("bottom"===r.side?r._depth:0)+s._offsetShift+p.extraPad);i.attr("transform","translate("+S+","+A+")"),s._rl=o.simpleMap(s.range,r.r2l);var C=s._rl[0],P=s._rl[1],O=P-C;if(s.p2d=function(e){return e/s._width*O+C},s.d2p=function(e){return(e-C)/O*s._width},r.rangebreaks){var I=r.locateBreaks(C,P);if(I.length){var z,L,E=0;for(z=0;z<I.length;z++)E+=(L=I[z]).max-L.min;var j=s._width/(P-C-E),D=[-j*C];for(z=0;z<I.length;z++)L=I[z],D.push(D[D.length-1]-j*(L.max-L.min));for(s.d2p=function(e){for(var t=D[0],r=0;r<I.length;r++){var n=I[r];if(e>=n.max)t=D[r+1];else if(e<n.min)break}return t+j*e},z=0;z<I.length;z++)(L=I[z]).pmin=s.d2p(L.min),L.pmax=s.d2p(L.max);s.p2d=function(e){for(var t=D[0],r=0;r<I.length;r++){var n=I[r];if(e>=n.pmax)t=D[r+1];else if(e<n.pmin)break}return(e-t)/j}}}if("match"!==u.rangemode){var R=l.r2l(u.range[0]),N=l.r2l(u.range[1])-R;s.d2pOppAxis=function(e){return(e-R)/N*s._height}}i.call(g,e,r,s).call(v,e,r,s).call(m,e,r,s).call(y,e,r,s,u).call(x,e,r,s).call(b,e,r,s),function(e,t,r,i){var s=e.select("rect."+p.slideBoxClassName).node(),l=e.select("rect."+p.grabAreaMinClassName).node(),c=e.select("rect."+p.grabAreaMaxClassName).node();e.on("mousedown",(function(){var u=n.event,d=u.target,p=u.clientX,g=p-e.node().getBoundingClientRect().left,v=i.d2p(r._rl[0]),m=i.d2p(r._rl[1]),y=f.coverSlip();function x(e){var u,f,x,b=+e.clientX-p;switch(d){case s:x="ew-resize",u=v+b,f=m+b;break;case l:x="col-resize",u=v+b,f=m;break;case c:x="col-resize",u=v,f=m+b;break;default:x="ew-resize",u=g,f=g+b}if(f<u){var w=f;f=u,u=w}i._pixelMin=u,i._pixelMax=f,h(n.select(y),x),function(e,t,r,n){function i(e){return r.l2r(o.constrain(e,n._rl[0],n._rl[1]))}var s=i(n.p2d(n._pixelMin)),l=i(n.p2d(n._pixelMax));window.requestAnimationFrame((function(){a.call("_guiRelayout",t,r._name+".range",[s,l])}))}(0,t,r,i)}y.addEventListener("mousemove",x),y.addEventListener("mouseup",(function e(){y.removeEventListener("mousemove",x),y.removeEventListener("mouseup",e),o.removeElement(y)}))}))}(i,e,r,s),function(e,t,r,n,a,i){var s=p.handleWidth/2;function l(e){return o.constrain(e,0,n._width)}function c(e){return o.constrain(e,0,n._height)}function u(e){return o.constrain(e,-s,n._width+s)}var d=l(n.d2p(r._rl[0])),f=l(n.d2p(r._rl[1]));if(e.select("rect."+p.slideBoxClassName).attr("x",d).attr("width",f-d),e.select("rect."+p.maskMinClassName).attr("width",d),e.select("rect."+p.maskMaxClassName).attr("x",f).attr("width",n._width-f),"match"!==i.rangemode){var h=n._height-c(n.d2pOppAxis(a._rl[1])),g=n._height-c(n.d2pOppAxis(a._rl[0]));e.select("rect."+p.maskMinOppAxisClassName).attr("x",d).attr("height",h).attr("width",f-d),e.select("rect."+p.maskMaxOppAxisClassName).attr("x",d).attr("y",g).attr("height",n._height-g).attr("width",f-d),e.select("rect."+p.slideBoxClassName).attr("y",h).attr("height",g-h)}var v=Math.round(u(d-s))-.5,m=Math.round(u(f-s))+.5;e.select("g."+p.grabberMinClassName).attr("transform","translate("+v+",0.5)"),e.select("g."+p.grabberMaxClassName).attr("transform","translate("+m+",0.5)")}(i,0,r,s,l,u),"bottom"===r.side&&c.draw(e,r._id+"title",{propContainer:r,propName:r._name+".title",placeholder:t._dfltTitle.x,attributes:{x:r._offset+r._length/2,y:A+s._height+s._offsetShift+10+1.5*r.title.font.size,"text-anchor":"middle"}})})))}},iyXT:function(e,t,r){"use strict";e.exports=i;var n=r("/CZE").distinctVals,a=r("6AZA").BADNUM;function i(e,t){this.traces=e,this.sepNegVal=t.sepNegVal,this.overlapNoMerge=t.overlapNoMerge;for(var r=1/0,i=[],o=0;o<e.length;o++){for(var s=e[o],l=0;l<s.length;l++){var c=s[l];c.p!==a&&i.push(c.p)}s[0]&&s[0].width1&&(r=Math.min(s[0].width1,r))}this.positions=i;var u=n(i);this.distinctPositions=u.vals,1===u.vals.length&&r!==1/0?this.minDiff=r:this.minDiff=Math.min(u.minDiff,r),this.binWidth=this.minDiff,this.bins={}}i.prototype.put=function(e,t){var r=this.getLabel(e,t),n=this.bins[r]||0;return this.bins[r]=n+t,n},i.prototype.get=function(e,t){var r=this.getLabel(e,t);return this.bins[r]||0},i.prototype.getLabel=function(e,t){return(t<0&&this.sepNegVal?"v":"^")+(this.overlapNoMerge?e:Math.round(e/this.binWidth))}},"j/Ga":function(e,t,r){"use strict";e.exports=s;var n=r("bljh"),a=r("0RW4"),i=r("g9E0"),o=r("/CZE");function s(e,t,r){this.gd=e,this.container=t,this.id=r,this.position=null,this.translateX=null,this.translateY=null,this.hbar=null,this.vbar=null,this.bg=this.container.selectAll("rect.scrollbox-bg").data([0]),this.bg.exit().on(".drag",null).on("wheel",null).remove(),this.bg.enter().append("rect").classed("scrollbox-bg",!0).style("pointer-events","all").attr({opacity:0,x:0,y:0,width:0,height:0})}s.barWidth=2,s.barLength=20,s.barRadius=2,s.barPad=1,s.barColor="#808BA4",s.prototype.enable=function(e,t,r){var o=this.gd._fullLayout,l=o.width,c=o.height;this.position=e;var u,d,f,h,p=this.position.l,g=this.position.w,v=this.position.t,m=this.position.h,y=this.position.direction,x="down"===y,b="left"===y,w="up"===y,_=g,k=m;x||b||"right"===y||w||(this.position.direction="down",x=!0),x||w?(d=(u=p)+_,x?(f=v,k=(h=Math.min(f+k,c))-f):k=(h=v+k)-(f=Math.max(h-k,0))):(h=(f=v)+k,b?_=(d=p+_)-(u=Math.max(d-_,0)):(u=p,_=(d=Math.min(u+_,l))-u)),this._box={l:u,t:f,w:_,h:k};var T=g>_,M=s.barLength+2*s.barPad,S=s.barWidth+2*s.barPad,A=p,C=v+m;C+S>c&&(C=c-S);var P=this.container.selectAll("rect.scrollbar-horizontal").data(T?[0]:[]);P.exit().on(".drag",null).remove(),P.enter().append("rect").classed("scrollbar-horizontal",!0).call(a.fill,s.barColor),T?(this.hbar=P.attr({rx:s.barRadius,ry:s.barRadius,x:A,y:C,width:M,height:S}),this._hbarXMin=A+M/2,this._hbarTranslateMax=_-M):(delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax);var O=m>k,I=s.barWidth+2*s.barPad,z=s.barLength+2*s.barPad,L=p+g,E=v;L+I>l&&(L=l-I);var j=this.container.selectAll("rect.scrollbar-vertical").data(O?[0]:[]);j.exit().on(".drag",null).remove(),j.enter().append("rect").classed("scrollbar-vertical",!0).call(a.fill,s.barColor),O?(this.vbar=j.attr({rx:s.barRadius,ry:s.barRadius,x:L,y:E,width:I,height:z}),this._vbarYMin=E+z/2,this._vbarTranslateMax=k-z):(delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax);var D=this.id,R=u-.5,N=O?d+I+.5:d+.5,F=f-.5,B=T?h+S+.5:h+.5,H=o._topdefs.selectAll("#"+D).data(T||O?[0]:[]);if(H.exit().remove(),H.enter().append("clipPath").attr("id",D).append("rect"),T||O?(this._clipRect=H.select("rect").attr({x:Math.floor(R),y:Math.floor(F),width:Math.ceil(N)-Math.floor(R),height:Math.ceil(B)-Math.floor(F)}),this.container.call(i.setClipUrl,D,this.gd),this.bg.attr({x:p,y:v,width:g,height:m})):(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(i.setClipUrl,null),delete this._clipRect),T||O){var V=n.behavior.drag().on("dragstart",(function(){n.event.sourceEvent.preventDefault()})).on("drag",this._onBoxDrag.bind(this));this.container.on("wheel",null).on("wheel",this._onBoxWheel.bind(this)).on(".drag",null).call(V);var G=n.behavior.drag().on("dragstart",(function(){n.event.sourceEvent.preventDefault(),n.event.sourceEvent.stopPropagation()})).on("drag",this._onBarDrag.bind(this));T&&this.hbar.on(".drag",null).call(G),O&&this.vbar.on(".drag",null).call(G)}this.setTranslate(t,r)},s.prototype.disable=function(){(this.hbar||this.vbar)&&(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(i.setClipUrl,null),delete this._clipRect),this.hbar&&(this.hbar.on(".drag",null),this.hbar.remove(),delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax),this.vbar&&(this.vbar.on(".drag",null),this.vbar.remove(),delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax)},s.prototype._onBoxDrag=function(){var e=this.translateX,t=this.translateY;this.hbar&&(e-=n.event.dx),this.vbar&&(t-=n.event.dy),this.setTranslate(e,t)},s.prototype._onBoxWheel=function(){var e=this.translateX,t=this.translateY;this.hbar&&(e+=n.event.deltaY),this.vbar&&(t+=n.event.deltaY),this.setTranslate(e,t)},s.prototype._onBarDrag=function(){var e=this.translateX,t=this.translateY;if(this.hbar){var r=e+this._hbarXMin,a=r+this._hbarTranslateMax;e=(o.constrain(n.event.x,r,a)-r)/(a-r)*(this.position.w-this._box.w)}if(this.vbar){var i=t+this._vbarYMin,s=i+this._vbarTranslateMax;t=(o.constrain(n.event.y,i,s)-i)/(s-i)*(this.position.h-this._box.h)}this.setTranslate(e,t)},s.prototype.setTranslate=function(e,t){var r=this.position.w-this._box.w,n=this.position.h-this._box.h;if(e=o.constrain(e||0,0,r),t=o.constrain(t||0,0,n),this.translateX=e,this.translateY=t,this.container.call(i.setTranslate,this._box.l-this.position.l-e,this._box.t-this.position.t-t),this._clipRect&&this._clipRect.attr({x:Math.floor(this.position.l+e-.5),y:Math.floor(this.position.t+t-.5)}),this.hbar){var a=e/r;this.hbar.call(i.setTranslate,e+a*this._hbarTranslateMax,t)}if(this.vbar){var s=t/n;this.vbar.call(i.setTranslate,e,t+s*this._vbarTranslateMax)}}},jC0I:function(e,t,r){"use strict";e.exports={visible:{valType:"boolean",role:"info",editType:"calc",description:["Determines whether or not this set of error bars is visible."].join(" ")},type:{valType:"enumerated",values:["percent","constant","sqrt","data"],role:"info",editType:"calc",description:["Determines the rule used to generate the error bars.","If *constant`, the bar lengths are of a constant value.","Set this constant in `value`.","If *percent*, the bar lengths correspond to a percentage of","underlying data. Set this percentage in `value`.","If *sqrt*, the bar lengths correspond to the sqaure of the","underlying data.","If *data*, the bar lengths are set with data set `array`."].join(" ")},symmetric:{valType:"boolean",role:"info",editType:"calc",description:["Determines whether or not the error bars have the same length","in both direction","(top/bottom for vertical bars, left/right for horizontal bars."].join(" ")},array:{valType:"data_array",editType:"calc",description:["Sets the data corresponding the length of each error bar.","Values are plotted relative to the underlying data."].join(" ")},arrayminus:{valType:"data_array",editType:"calc",description:["Sets the data corresponding the length of each error bar in the","bottom (left) direction for vertical (horizontal) bars","Values are plotted relative to the underlying data."].join(" ")},value:{valType:"number",min:0,dflt:10,role:"info",editType:"calc",description:["Sets the value of either the percentage","(if `type` is set to *percent*) or the constant","(if `type` is set to *constant*) corresponding to the lengths of","the error bars."].join(" ")},valueminus:{valType:"number",min:0,dflt:10,role:"info",editType:"calc",description:["Sets the value of either the percentage","(if `type` is set to *percent*) or the constant","(if `type` is set to *constant*) corresponding to the lengths of","the error bars in the","bottom (left) direction for vertical (horizontal) bars"].join(" ")},traceref:{valType:"integer",min:0,dflt:0,role:"info",editType:"style"},tracerefminus:{valType:"integer",min:0,dflt:0,role:"info",editType:"style"},copy_ystyle:{valType:"boolean",role:"style",editType:"plot"},copy_zstyle:{valType:"boolean",role:"style",editType:"style"},color:{valType:"color",role:"style",editType:"style",description:"Sets the stoke color of the error bars."},thickness:{valType:"number",min:0,dflt:2,role:"style",editType:"style",description:"Sets the thickness (in px) of the error bars."},width:{valType:"number",min:0,role:"style",editType:"plot",description:["Sets the width (in px) of the cross-bar at both ends","of the error bars."].join(" ")},editType:"calc",_deprecated:{opacity:{valType:"number",role:"style",editType:"style",description:["Obsolete.","Use the alpha channel in error bar `color` to set the opacity."].join(" ")}}}},jLHN:function(e,t,r){(t=r("JPst")(!1)).push([e.i,"@keyframes circle-6-rotateAll-data-v-a03e8c24{0%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}77.777778%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}78.518519%{transform:matrix3d(0.80259, 0.59653, 0, 0, -0.59653, 0.80259, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}79.259259%{transform:matrix3d(0.52673, 0.85004, 0, 0, -0.85004, 0.52673, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}80%{transform:matrix3d(0.60234, 0.79824, 0, 0, -0.79824, 0.60234, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}80.740741%{transform:matrix3d(0.72936, 0.68413, 0, 0, -0.68413, 0.72936, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}81.481481%{transform:matrix3d(0.7498, 0.66167, 0, 0, -0.66167, 0.7498, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}82.222222%{transform:matrix3d(0.71527, 0.69885, 0, 0, -0.69885, 0.71527, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}82.962963%{transform:matrix3d(0.69404, 0.71994, 0, 0, -0.71994, 0.69404, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}83.703704%{transform:matrix3d(0.69926, 0.71487, 0, 0, -0.71487, 0.69926, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}84.444444%{transform:matrix3d(0.7089, 0.70531, 0, 0, -0.70531, 0.7089, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}85.185185%{transform:matrix3d(0.7106, 0.7036, 0, 0, -0.7036, 0.7106, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}85.925926%{transform:matrix3d(0.70776, 0.70645, 0, 0, -0.70645, 0.70776, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}86.666667%{transform:matrix3d(0.70608, 0.70813, 0, 0, -0.70813, 0.70608, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}87.407407%{transform:matrix3d(0.70649, 0.70773, 0, 0, -0.70773, 0.70649, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}88.148148%{transform:matrix3d(0.70725, 0.70696, 0, 0, -0.70696, 0.70725, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}88.888889%{transform:matrix3d(0.70738, 0.70683, 0, 0, -0.70683, 0.70738, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}89.62963%{transform:matrix3d(0.70711, 0.70711, 0, 0, -0.70711, 0.70711, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}100%{transform:matrix3d(0.70711, 0.70711, 0, 0, -0.70711, 0.70711, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}}@keyframes circle-6-anim-1-circle-data-v-a03e8c24{0%{transform:scale(0)}0.740741%{transform:matrix3d(0.32778, 0, 0, 0, 0, 0.32778, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}1.481481%{transform:matrix3d(0.69875, 0, 0, 0, 0, 0.69875, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}2.222222%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}2.962963%{transform:matrix3d(1.1815, 0, 0, 0, 0, 1.1815, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}3.703704%{transform:matrix3d(1.24402, 0, 0, 0, 0, 1.24402, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}4.444444%{transform:matrix3d(1.21871, 0, 0, 0, 0, 1.21871, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}5.185185%{transform:matrix3d(1.14702, 0, 0, 0, 0, 1.14702, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}5.925926%{transform:matrix3d(1.06589, 0, 0, 0, 0, 1.06589, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}6.666667%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}7.407407%{transform:matrix3d(0.9603, 0, 0, 0, 0, 0.9603, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}8.148148%{transform:matrix3d(0.94663, 0, 0, 0, 0, 0.94663, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}8.888889%{transform:matrix3d(0.95217, 0, 0, 0, 0, 0.95217, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}9.62963%{transform:matrix3d(0.96784, 0, 0, 0, 0, 0.96784, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}10.37037%{transform:matrix3d(0.98559, 0, 0, 0, 0, 0.98559, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}11.111111%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}11.851852%{transform:matrix3d(1.00868, 0, 0, 0, 0, 1.00868, 0, 0, 0, 0, 1, 0, -9.51676, 0, 0, 1)}12.592593%{transform:matrix3d(1.01167, 0, 0, 0, 0, 1.01167, 0, 0, 0, 0, 1, 0, -18.75576, 0, 0, 1)}13.333333%{transform:matrix3d(1.01046, 0, 0, 0, 0, 1.01046, 0, 0, 0, 0, 1, 0, -25.26155, 0, 0, 1)}14.074074%{transform:matrix3d(1.00703, 0, 0, 0, 0, 1.00703, 0, 0, 0, 0, 1, 0, -28.53849, 0, 0, 1)}14.814815%{transform:matrix3d(1.00315, 0, 0, 0, 0, 1.00315, 0, 0, 0, 0, 1, 0, -29.2499, 0, 0, 1)}15.555556%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -28.45173, 0, 0, 1)}16.296296%{transform:matrix3d(0.9981, 0, 0, 0, 0, 0.9981, 0, 0, 0, 0, 1, 0, -27.09752, 0, 0, 1)}17.037037%{transform:matrix3d(0.99745, 0, 0, 0, 0, 0.99745, 0, 0, 0, 0, 1, 0, -25.82591, 0, 0, 1)}17.777778%{transform:matrix3d(0.99771, 0, 0, 0, 0, 0.99771, 0, 0, 0, 0, 1, 0, -24.9428, 0, 0, 1)}18.518519%{transform:matrix3d(0.99846, 0, 0, 0, 0, 0.99846, 0, 0, 0, 0, 1, 0, -24.50122, 0, 0, 1)}19.259259%{transform:matrix3d(0.99931, 0, 0, 0, 0, 0.99931, 0, 0, 0, 0, 1, 0, -24.40907, 0, 0, 1)}20%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -24.52342, 0, 0, 1)}20.740741%{transform:matrix3d(1.00042, 0, 0, 0, 0, 1.00042, 0, 0, 0, 0, 1, 0, -24.71354, 0, 0, 1)}21.481481%{transform:matrix3d(1.00056, 0, 0, 0, 0, 1.00056, 0, 0, 0, 0, 1, 0, -24.89073, 0, 0, 1)}22.222222%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -25, 0, 0, 1)}22.962963%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -25.06366, 0, 0, 1)}23.703704%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -25.07926, 0, 0, 1)}24.444444%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -25.0658, 0, 0, 1)}25.185185%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -25.04097, 0, 0, 1)}25.925926%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -25.017, 0, 0, 1)}26.666667%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -25, 0, 0, 1)}27.407407%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -24.99121, 0, 0, 1)}28.148148%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -24.98906, 0, 0, 1)}28.888889%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -24.99091, 0, 0, 1)}29.62963%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -24.99434, 0, 0, 1)}30.37037%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -24.99765, 0, 0, 1)}31.111111%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -25, 0, 0, 1)}31.851852%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -25.00121, 0, 0, 1)}32.592593%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -25.00151, 0, 0, 1)}33.333333%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -25, 0, 0, 1)}88.888889%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -25, 0, 0, 1)}89.62963%{transform:matrix3d(0.32628, 0, 0, 0, 0, 0.32628, 0, 0, 0, 0, 1, 0, -25, 0, 0, 1)}90.37037%{transform:matrix3d(0.10646, 0, 0, 0, 0, 0.10646, 0, 0, 0, 0, 1, 0, -25, 0, 0, 1)}91.111111%{transform:matrix3d(0.03474, 0, 0, 0, 0, 0.03474, 0, 0, 0, 0, 1, 0, -25, 0, 0, 1)}91.851852%{transform:matrix3d(0.01133, 0, 0, 0, 0, 0.01133, 0, 0, 0, 0, 1, 0, -25, 0, 0, 1)}92.592593%{transform:matrix3d(0.0037, 0, 0, 0, 0, 0.0037, 0, 0, 0, 0, 1, 0, -25, 0, 0, 1)}93.333333%{transform:matrix3d(0.00121, 0, 0, 0, 0, 0.00121, 0, 0, 0, 0, 1, 0, -25, 0, 0, 1)}94.074074%{transform:matrix3d(0.00039, 0, 0, 0, 0, 0.00039, 0, 0, 0, 0, 1, 0, -25, 0, 0, 1)}94.814815%{transform:matrix3d(0.00013, 0, 0, 0, 0, 0.00013, 0, 0, 0, 0, 1, 0, -25, 0, 0, 1)}95.555556%{transform:matrix3d(0.00004, 0, 0, 0, 0, 0.00004, 0, 0, 0, 0, 1, 0, -25, 0, 0, 1)}96.296296%{transform:matrix3d(0.00001, 0, 0, 0, 0, 0.00001, 0, 0, 0, 0, 1, 0, -25, 0, 0, 1)}97.037037%{transform:scale(0) translateX(-25px)}100%{transform:scale(0) translateX(-25px)}}@keyframes circle-6-anim-3-circle-data-v-a03e8c24{0%{transform:scale(0)}44.444444%{transform:scale(0)}45.185185%{transform:matrix3d(0.32778, 0, 0, 0, 0, 0.32778, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}45.925926%{transform:matrix3d(0.69875, 0, 0, 0, 0, 0.69875, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}46.666667%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}47.407407%{transform:matrix3d(1.1815, 0, 0, 0, 0, 1.1815, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}48.148148%{transform:matrix3d(1.24402, 0, 0, 0, 0, 1.24402, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}48.888889%{transform:matrix3d(1.21871, 0, 0, 0, 0, 1.21871, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}49.62963%{transform:matrix3d(1.14702, 0, 0, 0, 0, 1.14702, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}50.37037%{transform:matrix3d(1.06589, 0, 0, 0, 0, 1.06589, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}51.111111%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}51.851852%{transform:matrix3d(0.9603, 0, 0, 0, 0, 0.9603, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}52.592593%{transform:matrix3d(0.94663, 0, 0, 0, 0, 0.94663, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}53.333333%{transform:matrix3d(0.95217, 0, 0, 0, 0, 0.95217, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}54.074074%{transform:matrix3d(0.96784, 0, 0, 0, 0, 0.96784, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}54.814815%{transform:matrix3d(0.98559, 0, 0, 0, 0, 0.98559, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}55.555556%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}56.296296%{transform:matrix3d(1.00868, 0, 0, 0, 0, 1.00868, 0, 0, 0, 0, 1, 0, -15.05076, 0, 0, 1)}57.037037%{transform:matrix3d(1.01167, 0, 0, 0, 0, 1.01167, 0, 0, 0, 0, 1, 0, -26.2515, 0, 0, 1)}57.777778%{transform:matrix3d(1.01046, 0, 0, 0, 0, 1.01046, 0, 0, 0, 0, 1, 0, -29.73137, 0, 0, 1)}58.518519%{transform:matrix3d(1.00703, 0, 0, 0, 0, 1.00703, 0, 0, 0, 0, 1, 0, -28.42084, 0, 0, 1)}59.259259%{transform:matrix3d(1.00315, 0, 0, 0, 0, 1.00315, 0, 0, 0, 0, 1, 0, -26.07434, 0, 0, 1)}60%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -24.63046, 0, 0, 1)}60.740741%{transform:matrix3d(0.9981, 0, 0, 0, 0, 0.9981, 0, 0, 0, 0, 1, 0, -24.29556, 0, 0, 1)}61.481481%{transform:matrix3d(0.99745, 0, 0, 0, 0, 0.99745, 0, 0, 0, 0, 1, 0, -24.54061, 0, 0, 1)}62.222222%{transform:matrix3d(0.99771, 0, 0, 0, 0, 0.99771, 0, 0, 0, 0, 1, 0, -24.86216, 0, 0, 1)}62.962963%{transform:matrix3d(0.99846, 0, 0, 0, 0, 0.99846, 0, 0, 0, 0, 1, 0, -25.04022, 0, 0, 1)}63.703704%{transform:matrix3d(0.99931, 0, 0, 0, 0, 0.99931, 0, 0, 0, 0, 1, 0, -25.07557, 0, 0, 1)}64.444444%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -25.04628, 0, 0, 1)}65.185185%{transform:matrix3d(1.00042, 0, 0, 0, 0, 1.00042, 0, 0, 0, 0, 1, 0, -25.01399, 0, 0, 1)}65.925926%{transform:matrix3d(1.00056, 0, 0, 0, 0, 1.00056, 0, 0, 0, 0, 1, 0, -25.00006, 0, 0, 1)}66.666667%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -24.98749, 0, 0, 1)}67.407407%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -25, 0, 0, 1)}88.888889%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -25, 0, 0, 1)}89.62963%{transform:matrix3d(0.32628, 0, 0, 0, 0, 0.32628, 0, 0, 0, 0, 1, 0, -8.15699, 0, 0, 1)}90.37037%{transform:matrix3d(0.10646, 0, 0, 0, 0, 0.10646, 0, 0, 0, 0, 1, 0, -2.66146, 0, 0, 1)}91.111111%{transform:matrix3d(0.03474, 0, 0, 0, 0, 0.03474, 0, 0, 0, 0, 1, 0, -0.86838, 0, 0, 1)}91.851852%{transform:matrix3d(0.01133, 0, 0, 0, 0, 0.01133, 0, 0, 0, 0, 1, 0, -0.28334, 0, 0, 1)}92.592593%{transform:matrix3d(0.0037, 0, 0, 0, 0, 0.0037, 0, 0, 0, 0, 1, 0, -0.09245, 0, 0, 1)}93.333333%{transform:matrix3d(0.00121, 0, 0, 0, 0, 0.00121, 0, 0, 0, 0, 1, 0, -0.03016, 0, 0, 1)}94.074074%{transform:matrix3d(0.00039, 0, 0, 0, 0, 0.00039, 0, 0, 0, 0, 1, 0, -0.00984, 0, 0, 1)}94.814815%{transform:matrix3d(0.00013, 0, 0, 0, 0, 0.00013, 0, 0, 0, 0, 1, 0, -0.00321, 0, 0, 1)}95.555556%{transform:matrix3d(0.00004, 0, 0, 0, 0, 0.00004, 0, 0, 0, 0, 1, 0, -0.00105, 0, 0, 1)}96.296296%{transform:matrix3d(0.00001, 0, 0, 0, 0, 0.00001, 0, 0, 0, 0, 1, 0, -0.00034, 0, 0, 1)}97.037037%{transform:matrix3d(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, -0.00011, 0, 0, 1)}97.777778%{transform:matrix3d(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, -0.00004, 0, 0, 1)}98.518519%{transform:matrix3d(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, -0.00001, 0, 0, 1)}99.259259%{transform:scale(0)}100%{transform:scale(0)}}@keyframes circle-6-anim-2-circle-data-v-a03e8c24{0%{transform:scale(0)}22.222222%{transform:scale(0)}22.962963%{transform:matrix3d(0.32778, 0, 0, 0, 0, 0.32778, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}23.703704%{transform:matrix3d(0.69875, 0, 0, 0, 0, 0.69875, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}24.444444%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}25.185185%{transform:matrix3d(1.1815, 0, 0, 0, 0, 1.1815, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}25.925926%{transform:matrix3d(1.24402, 0, 0, 0, 0, 1.24402, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}26.666667%{transform:matrix3d(1.21871, 0, 0, 0, 0, 1.21871, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}27.407407%{transform:matrix3d(1.14702, 0, 0, 0, 0, 1.14702, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}28.148148%{transform:matrix3d(1.06589, 0, 0, 0, 0, 1.06589, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}28.888889%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}29.62963%{transform:matrix3d(0.9603, 0, 0, 0, 0, 0.9603, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}30.37037%{transform:matrix3d(0.94663, 0, 0, 0, 0, 0.94663, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}31.111111%{transform:matrix3d(0.95217, 0, 0, 0, 0, 0.95217, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}31.851852%{transform:matrix3d(0.96784, 0, 0, 0, 0, 0.96784, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}32.592593%{transform:matrix3d(0.98559, 0, 0, 0, 0, 0.98559, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}33.333333%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}34.074074%{transform:matrix3d(1.00868, 0, 0, 0, 0, 1.00868, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}34.814815%{transform:matrix3d(1.01167, 0, 0, 0, 0, 1.01167, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}35.555556%{transform:matrix3d(1.01046, 0, 0, 0, 0, 1.01046, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}36.296296%{transform:matrix3d(1.00703, 0, 0, 0, 0, 1.00703, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}37.037037%{transform:matrix3d(1.00315, 0, 0, 0, 0, 1.00315, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}37.777778%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}38.518519%{transform:matrix3d(0.9981, 0, 0, 0, 0, 0.9981, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}39.259259%{transform:matrix3d(0.99745, 0, 0, 0, 0, 0.99745, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}40%{transform:matrix3d(0.99771, 0, 0, 0, 0, 0.99771, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}40.740741%{transform:matrix3d(0.99846, 0, 0, 0, 0, 0.99846, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}41.481481%{transform:matrix3d(0.99931, 0, 0, 0, 0, 0.99931, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}42.222222%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}42.962963%{transform:matrix3d(1.00042, 0, 0, 0, 0, 1.00042, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}43.703704%{transform:matrix3d(1.00056, 0, 0, 0, 0, 1.00056, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}44.444444%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}88.888889%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}89.62963%{transform:matrix3d(0.32628, 0, 0, 0, 0, 0.32628, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}90.37037%{transform:matrix3d(0.10646, 0, 0, 0, 0, 0.10646, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}91.111111%{transform:matrix3d(0.03474, 0, 0, 0, 0, 0.03474, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}91.851852%{transform:matrix3d(0.01133, 0, 0, 0, 0, 0.01133, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}92.592593%{transform:matrix3d(0.0037, 0, 0, 0, 0, 0.0037, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}93.333333%{transform:matrix3d(0.00121, 0, 0, 0, 0, 0.00121, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}94.074074%{transform:matrix3d(0.00039, 0, 0, 0, 0, 0.00039, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}94.814815%{transform:matrix3d(0.00013, 0, 0, 0, 0, 0.00013, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}95.555556%{transform:matrix3d(0.00004, 0, 0, 0, 0, 0.00004, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}96.296296%{transform:matrix3d(0.00001, 0, 0, 0, 0, 0.00001, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}97.037037%{transform:scale(0)}100%{transform:scale(0)}}@keyframes circle-6-anim-4-circle-data-v-a03e8c24{0%{transform:scale(0)}66.666667%{transform:scale(0)}67.407407%{transform:matrix3d(0.32778, 0, 0, 0, 0, 0.32778, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}68.148148%{transform:matrix3d(0.69875, 0, 0, 0, 0, 0.69875, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}68.888889%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}69.62963%{transform:matrix3d(1.1815, 0, 0, 0, 0, 1.1815, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}70.37037%{transform:matrix3d(1.24402, 0, 0, 0, 0, 1.24402, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}71.111111%{transform:matrix3d(1.21871, 0, 0, 0, 0, 1.21871, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}71.851852%{transform:matrix3d(1.14702, 0, 0, 0, 0, 1.14702, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}72.592593%{transform:matrix3d(1.06589, 0, 0, 0, 0, 1.06589, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}73.333333%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}74.074074%{transform:matrix3d(0.9603, 0, 0, 0, 0, 0.9603, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}74.814815%{transform:matrix3d(0.94663, 0, 0, 0, 0, 0.94663, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}75.555556%{transform:matrix3d(0.95217, 0, 0, 0, 0, 0.95217, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}76.296296%{transform:matrix3d(0.96784, 0, 0, 0, 0, 0.96784, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}77.037037%{transform:matrix3d(0.98559, 0, 0, 0, 0, 0.98559, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}77.777778%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}78.518519%{transform:matrix3d(1.00868, 0, 0, 0, 0, 1.00868, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}79.259259%{transform:matrix3d(1.01167, 0, 0, 0, 0, 1.01167, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}80%{transform:matrix3d(1.01046, 0, 0, 0, 0, 1.01046, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}80.740741%{transform:matrix3d(1.00703, 0, 0, 0, 0, 1.00703, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}81.481481%{transform:matrix3d(1.00315, 0, 0, 0, 0, 1.00315, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}82.222222%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}82.962963%{transform:matrix3d(0.9981, 0, 0, 0, 0, 0.9981, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}83.703704%{transform:matrix3d(0.99745, 0, 0, 0, 0, 0.99745, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}84.444444%{transform:matrix3d(0.99771, 0, 0, 0, 0, 0.99771, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}85.185185%{transform:matrix3d(0.99846, 0, 0, 0, 0, 0.99846, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}85.925926%{transform:matrix3d(0.99931, 0, 0, 0, 0, 0.99931, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}86.666667%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}87.407407%{transform:matrix3d(1.00042, 0, 0, 0, 0, 1.00042, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}88.148148%{transform:matrix3d(1.00056, 0, 0, 0, 0, 1.00056, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}88.888889%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}89.62963%{transform:matrix3d(0.32628, 0, 0, 0, 0, 0.32628, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}90.37037%{transform:matrix3d(0.10646, 0, 0, 0, 0, 0.10646, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}91.111111%{transform:matrix3d(0.03474, 0, 0, 0, 0, 0.03474, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}91.851852%{transform:matrix3d(0.01133, 0, 0, 0, 0, 0.01133, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}92.592593%{transform:matrix3d(0.0037, 0, 0, 0, 0, 0.0037, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}93.333333%{transform:matrix3d(0.00121, 0, 0, 0, 0, 0.00121, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}94.074074%{transform:matrix3d(0.00039, 0, 0, 0, 0, 0.00039, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}94.814815%{transform:matrix3d(0.00013, 0, 0, 0, 0, 0.00013, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}95.555556%{transform:matrix3d(0.00004, 0, 0, 0, 0, 0.00004, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}96.296296%{transform:matrix3d(0.00001, 0, 0, 0, 0, 0.00001, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}97.037037%{transform:scale(0)}100%{transform:scale(0)}}@keyframes circle-6-g-move-bottom-data-v-a03e8c24{0%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}33.333333%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}34.074074%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 16.35397, 0, 1)}34.814815%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 25.69808, 0, 1)}35.555556%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 27.79251, 0, 1)}36.296296%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 26.74505, 0, 1)}37.037037%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 25.46104, 0, 1)}37.777778%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 24.85273, 0, 1)}38.518519%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 24.77498, 0, 1)}39.259259%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 24.8837, 0, 1)}40%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 24.97967, 0, 1)}40.740741%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 25.017, 0, 1)}41.481481%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 25.01719, 0, 1)}42.222222%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 25.00735, 0, 1)}42.962963%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 25.00049, 0, 1)}43.703704%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 24.99838, 0, 1)}44.444444%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 25, 0, 1)}100%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 25, 0, 1)}}@keyframes circle-6-line-grow-horizontal-1-data-v-a03e8c24{0%{transform:scaleX(0)}27.407407%{transform:scaleX(0)}28.148148%{transform:matrix3d(0.34323, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}28.888889%{transform:matrix3d(0.88518, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}29.62963%{transform:matrix3d(1.09602, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}30.37037%{transform:matrix3d(1.09709, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}31.111111%{transform:matrix3d(1.04151, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}31.851852%{transform:matrix3d(1.00277, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}32.592593%{transform:matrix3d(0.99083, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}33.333333%{transform:matrix3d(0.99292, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}34.074074%{transform:matrix3d(0.99755, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}34.814815%{transform:matrix3d(1.0002, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}35.555556%{transform:matrix3d(1.00079, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}36.296296%{transform:matrix3d(1.00049, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}37.037037%{transform:matrix3d(1.00013, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}37.777778%{transform:matrix3d(0.99996, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}38.518519%{transform:matrix3d(0.99994, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}39.259259%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}88.888889%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}89.62963%{transform:matrix3d(0.32628, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}90.37037%{transform:matrix3d(0.10646, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}91.111111%{transform:matrix3d(0.03474, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}91.851852%{transform:matrix3d(0.01133, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}92.592593%{transform:matrix3d(0.0037, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}93.333333%{transform:matrix3d(0.00121, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}94.074074%{transform:matrix3d(0.00039, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}94.814815%{transform:matrix3d(0.00013, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}95.555556%{transform:matrix3d(0.00004, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}96.296296%{transform:matrix3d(0.00001, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}97.037037%{transform:scaleX(0)}100%{transform:scaleX(0)}}@keyframes circle-6-line-grow-horizontal-2-data-v-a03e8c24{0%{transform:scaleX(0)}71.851852%{transform:scaleX(0)}72.592593%{transform:matrix3d(0.34323, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}73.333333%{transform:matrix3d(0.88518, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}74.074074%{transform:matrix3d(1.09602, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}74.814815%{transform:matrix3d(1.09709, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}75.555556%{transform:matrix3d(1.04151, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}76.296296%{transform:matrix3d(1.00277, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}77.037037%{transform:matrix3d(0.99083, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}77.777778%{transform:matrix3d(0.99292, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}78.518519%{transform:matrix3d(0.99755, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}79.259259%{transform:matrix3d(1.0002, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}80%{transform:matrix3d(1.00079, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}80.740741%{transform:matrix3d(1.00049, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}81.481481%{transform:matrix3d(1.00013, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}82.222222%{transform:matrix3d(0.99996, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}82.962963%{transform:matrix3d(0.99994, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}83.703704%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}88.888889%{transform:matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}89.62963%{transform:matrix3d(0.58933, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}90.37037%{transform:matrix3d(0.33162, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}91.111111%{transform:matrix3d(0.17694, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}91.851852%{transform:matrix3d(0.08817, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}92.592593%{transform:matrix3d(0.0397, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}93.333333%{transform:matrix3d(0.01478, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}94.074074%{transform:matrix3d(0.00301, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}94.814815%{transform:matrix3d(-0.00182, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}95.555556%{transform:matrix3d(-0.00323, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}96.296296%{transform:matrix3d(-0.00315, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}97.037037%{transform:matrix3d(-0.00254, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}97.777778%{transform:matrix3d(-0.00185, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}98.518519%{transform:matrix3d(-0.00126, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}99.259259%{transform:matrix3d(-0.00081, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}100%{transform:scaleX(0)}}@keyframes circle-6-line-grow-vertical-1-data-v-a03e8c24{0%{transform:scaleY(0)}49.62963%{transform:scaleY(0)}50.37037%{transform:matrix3d(1, 0, 0, 0, 0, 0.34323, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}51.111111%{transform:matrix3d(1, 0, 0, 0, 0, 0.88518, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}51.851852%{transform:matrix3d(1, 0, 0, 0, 0, 1.09602, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}52.592593%{transform:matrix3d(1, 0, 0, 0, 0, 1.09709, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}53.333333%{transform:matrix3d(1, 0, 0, 0, 0, 1.04151, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}54.074074%{transform:matrix3d(1, 0, 0, 0, 0, 1.00277, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}54.814815%{transform:matrix3d(1, 0, 0, 0, 0, 0.99083, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}55.555556%{transform:matrix3d(1, 0, 0, 0, 0, 0.99292, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}56.296296%{transform:matrix3d(1, 0, 0, 0, 0.28328, 0.99755, 0, 0, 0, 0, 1, 0, -14.92121, 0, 0, 1)}57.037037%{transform:matrix3d(1, 0, 0, 0, 0.52069, 1.0002, 0, 0, 0, 0, 1, 0, -25.94861, 0, 0, 1)}57.777778%{transform:matrix3d(1, 0, 0, 0, 0.60536, 1.00079, 0, 0, 0, 0, 1, 0, -29.42354, 0, 0, 1)}58.518519%{transform:matrix3d(1, 0, 0, 0, 0.57539, 1.00049, 0, 0, 0, 0, 1, 0, -28.22236, 0, 0, 1)}59.259259%{transform:matrix3d(1, 0, 0, 0, 0.52172, 1.00013, 0, 0, 0, 0, 1, 0, -25.99242, 0, 0, 1)}60%{transform:matrix3d(1, 0, 0, 0, 0.49007, 0.99996, 0, 0, 0, 0, 1, 0, -24.63046, 0, 0, 1)}60.740741%{transform:matrix3d(1, 0, 0, 0, 0.48347, 0.99994, 0, 0, 0, 0, 1, 0, -24.34178, 0, 0, 1)}61.481481%{transform:matrix3d(1, 0, 0, 0, 0.48945, 1, 0, 0, 0, 0, 1, 0, -24.60342, 0, 0, 1)}62.222222%{transform:matrix3d(1, 0, 0, 0, 0.49672, 1, 0, 0, 0, 0, 1, 0, -24.91918, 0, 0, 1)}62.962963%{transform:matrix3d(1, 0, 0, 0, 0.5004, 1, 0, 0, 0, 0, 1, 0, -25.07879, 0, 0, 1)}63.703704%{transform:matrix3d(1, 0, 0, 0, 0.50073, 1, 0, 0, 0, 0, 1, 0, -25.09287, 0, 0, 1)}64.444444%{transform:matrix3d(1, 0, 0, 0, 0.49965, 1, 0, 0, 0, 0, 1, 0, -25.04628, 0, 0, 1)}65.185185%{transform:matrix3d(1, 0, 0, 0, 0.49866, 1, 0, 0, 0, 0, 1, 0, -25.0036, 0, 0, 1)}65.925926%{transform:matrix3d(1, 0, 0, 0, 0.49826, 1, 0, 0, 0, 0, 1, 0, -24.98611, 0, 0, 1)}66.666667%{transform:matrix3d(1, 0, 0, 0, 0.49829, 1, 0, 0, 0, 0, 1, 0, -24.98749, 0, 0, 1)}67.407407%{transform:matrix3d(1, 0, 0, 0, 0.49858, 1, 0, 0, 0, 0, 1, 0, -25, 0, 0, 1)}88.888889%{transform:matrix3d(1, 0, 0, 0, 0.49858, 1, 0, 0, 0, 0, 1, 0, -25, 0, 0, 1)}89.62963%{transform:matrix3d(1, 0, 0, 0, 0.49858, 0.51685, 0, 0, 0, 0, 1, 0, -25, 0, 0, 1)}90.37037%{transform:matrix3d(1, 0, 0, 0, 0.49858, 0.26714, 0, 0, 0, 0, 1, 0, -25, 0, 0, 1)}91.111111%{transform:matrix3d(1, 0, 0, 0, 0.49858, 0.13807, 0, 0, 0, 0, 1, 0, -25, 0, 0, 1)}91.851852%{transform:matrix3d(1, 0, 0, 0, 0.49858, 0.07136, 0, 0, 0, 0, 1, 0, -25, 0, 0, 1)}92.592593%{transform:matrix3d(1, 0, 0, 0, 0.49858, 0.03688, 0, 0, 0, 0, 1, 0, -25, 0, 0, 1)}93.333333%{transform:matrix3d(1, 0, 0, 0, 0.49858, 0.01906, 0, 0, 0, 0, 1, 0, -25, 0, 0, 1)}94.074074%{transform:matrix3d(1, 0, 0, 0, 0.49858, 0.00985, 0, 0, 0, 0, 1, 0, -25, 0, 0, 1)}94.814815%{transform:matrix3d(1, 0, 0, 0, 0.49858, 0.00509, 0, 0, 0, 0, 1, 0, -25, 0, 0, 1)}95.555556%{transform:matrix3d(1, 0, 0, 0, 0.49858, 0.00263, 0, 0, 0, 0, 1, 0, -25, 0, 0, 1)}96.296296%{transform:matrix3d(1, 0, 0, 0, 0.49858, 0.00136, 0, 0, 0, 0, 1, 0, -25, 0, 0, 1)}97.037037%{transform:matrix3d(1, 0, 0, 0, 0.49858, 0.0007, 0, 0, 0, 0, 1, 0, -25, 0, 0, 1)}97.777778%{transform:matrix3d(1, 0, 0, 0, 0.49858, 0.00036, 0, 0, 0, 0, 1, 0, -25, 0, 0, 1)}98.518519%{transform:matrix3d(1, 0, 0, 0, 0.49858, 0.00019, 0, 0, 0, 0, 1, 0, -25, 0, 0, 1)}99.259259%{transform:matrix3d(1, 0, 0, 0, 0.49858, 0.0001, 0, 0, 0, 0, 1, 0, -25, 0, 0, 1)}100%{transform:scaleY(0) skewX(26.5deg)}}@keyframes circle-6-line-grow-vertical-2-data-v-a03e8c24{0%{transform:scaleY(0)}49.62963%{transform:scaleY(0)}50.37037%{transform:matrix3d(1, 0, 0, 0, 0, 0.34323, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}51.111111%{transform:matrix3d(1, 0, 0, 0, 0, 0.88518, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}51.851852%{transform:matrix3d(1, 0, 0, 0, 0, 1.09602, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}52.592593%{transform:matrix3d(1, 0, 0, 0, 0, 1.09709, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}53.333333%{transform:matrix3d(1, 0, 0, 0, 0, 1.04151, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}54.074074%{transform:matrix3d(1, 0, 0, 0, 0, 1.00277, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}54.814815%{transform:matrix3d(1, 0, 0, 0, 0, 0.99083, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}55.555556%{transform:matrix3d(1, 0, 0, 0, 0, 0.99292, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)}56.296296%{transform:matrix3d(1, 0, 0, 0, -0.28328, 0.99755, 0, 0, 0, 0, 1, 0, 14.92121, 0, 0, 1)}57.037037%{transform:matrix3d(1, 0, 0, 0, -0.52069, 1.0002, 0, 0, 0, 0, 1, 0, 25.94861, 0, 0, 1)}57.777778%{transform:matrix3d(1, 0, 0, 0, -0.60536, 1.00079, 0, 0, 0, 0, 1, 0, 29.42354, 0, 0, 1)}58.518519%{transform:matrix3d(1, 0, 0, 0, -0.57539, 1.00049, 0, 0, 0, 0, 1, 0, 28.22236, 0, 0, 1)}59.259259%{transform:matrix3d(1, 0, 0, 0, -0.52172, 1.00013, 0, 0, 0, 0, 1, 0, 25.99242, 0, 0, 1)}60%{transform:matrix3d(1, 0, 0, 0, -0.49007, 0.99996, 0, 0, 0, 0, 1, 0, 24.63046, 0, 0, 1)}60.740741%{transform:matrix3d(1, 0, 0, 0, -0.48347, 0.99994, 0, 0, 0, 0, 1, 0, 24.34178, 0, 0, 1)}61.481481%{transform:matrix3d(1, 0, 0, 0, -0.48945, 1, 0, 0, 0, 0, 1, 0, 24.60342, 0, 0, 1)}62.222222%{transform:matrix3d(1, 0, 0, 0, -0.49672, 1, 0, 0, 0, 0, 1, 0, 24.91918, 0, 0, 1)}62.962963%{transform:matrix3d(1, 0, 0, 0, -0.5004, 1, 0, 0, 0, 0, 1, 0, 25.07879, 0, 0, 1)}63.703704%{transform:matrix3d(1, 0, 0, 0, -0.50073, 1, 0, 0, 0, 0, 1, 0, 25.09287, 0, 0, 1)}64.444444%{transform:matrix3d(1, 0, 0, 0, -0.49965, 1, 0, 0, 0, 0, 1, 0, 25.04628, 0, 0, 1)}65.185185%{transform:matrix3d(1, 0, 0, 0, -0.49866, 1, 0, 0, 0, 0, 1, 0, 25.0036, 0, 0, 1)}65.925926%{transform:matrix3d(1, 0, 0, 0, -0.49826, 1, 0, 0, 0, 0, 1, 0, 24.98611, 0, 0, 1)}66.666667%{transform:matrix3d(1, 0, 0, 0, -0.49829, 1, 0, 0, 0, 0, 1, 0, 24.98749, 0, 0, 1)}67.407407%{transform:matrix3d(1, 0, 0, 0, -0.49858, 1, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}68.148148%{transform:matrix3d(1, 0, 0, 0, -0.49858, 1, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}68.888889%{transform:matrix3d(1, 0, 0, 0, -0.49858, 1, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}69.62963%{transform:matrix3d(1, 0, 0, 0, -0.49858, 1, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}70.37037%{transform:matrix3d(1, 0, 0, 0, -0.49858, 1, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}71.111111%{transform:matrix3d(1, 0, 0, 0, -0.49858, 1, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}71.851852%{transform:matrix3d(1, 0, 0, 0, -0.49858, 1, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}72.592593%{transform:matrix3d(1, 0, 0, 0, -0.49858, 1, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}73.333333%{transform:matrix3d(1, 0, 0, 0, -0.49858, 1, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}74.074074%{transform:matrix3d(1, 0, 0, 0, -0.49858, 1, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}74.814815%{transform:matrix3d(1, 0, 0, 0, -0.49858, 1, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}75.555556%{transform:matrix3d(1, 0, 0, 0, -0.49858, 1, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}76.296296%{transform:matrix3d(1, 0, 0, 0, -0.49858, 1, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}77.037037%{transform:matrix3d(1, 0, 0, 0, -0.49858, 1, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}77.777778%{transform:matrix3d(1, 0, 0, 0, -0.49858, 1, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}78.518519%{transform:matrix3d(1, 0, 0, 0, -0.49858, 1, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}79.259259%{transform:matrix3d(1, 0, 0, 0, -0.49858, 1, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}80%{transform:matrix3d(1, 0, 0, 0, -0.49858, 1, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}80.740741%{transform:matrix3d(1, 0, 0, 0, -0.49858, 1, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}81.481481%{transform:matrix3d(1, 0, 0, 0, -0.49858, 1, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}82.222222%{transform:matrix3d(1, 0, 0, 0, -0.49858, 1, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}82.962963%{transform:matrix3d(1, 0, 0, 0, -0.49858, 1, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}83.703704%{transform:matrix3d(1, 0, 0, 0, -0.49858, 1, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}84.444444%{transform:matrix3d(1, 0, 0, 0, -0.49858, 1, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}85.185185%{transform:matrix3d(1, 0, 0, 0, -0.49858, 1, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}85.925926%{transform:matrix3d(1, 0, 0, 0, -0.49858, 1, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}86.666667%{transform:matrix3d(1, 0, 0, 0, -0.49858, 1, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}87.407407%{transform:matrix3d(1, 0, 0, 0, -0.49858, 1, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}88.148148%{transform:matrix3d(1, 0, 0, 0, -0.49858, 1, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}88.888889%{transform:matrix3d(1, 0, 0, 0, -0.49858, 1, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}89.62963%{transform:matrix3d(1, 0, 0, 0, -0.49858, 0.51685, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}90.37037%{transform:matrix3d(1, 0, 0, 0, -0.49858, 0.26714, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}91.111111%{transform:matrix3d(1, 0, 0, 0, -0.49858, 0.13807, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}91.851852%{transform:matrix3d(1, 0, 0, 0, -0.49858, 0.07136, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}92.592593%{transform:matrix3d(1, 0, 0, 0, -0.49858, 0.03688, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}93.333333%{transform:matrix3d(1, 0, 0, 0, -0.49858, 0.01906, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}94.074074%{transform:matrix3d(1, 0, 0, 0, -0.49858, 0.00985, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}94.814815%{transform:matrix3d(1, 0, 0, 0, -0.49858, 0.00509, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}95.555556%{transform:matrix3d(1, 0, 0, 0, -0.49858, 0.00263, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}96.296296%{transform:matrix3d(1, 0, 0, 0, -0.49858, 0.00136, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}97.037037%{transform:matrix3d(1, 0, 0, 0, -0.49858, 0.0007, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}97.777778%{transform:matrix3d(1, 0, 0, 0, -0.49858, 0.00036, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}98.518519%{transform:matrix3d(1, 0, 0, 0, -0.49858, 0.00019, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}99.259259%{transform:matrix3d(1, 0, 0, 0, -0.49858, 0.0001, 0, 0, 0, 0, 1, 0, 25, 0, 0, 1)}100%{transform:scaleY(0) skewX(-26.5deg)}}.spinner[data-v-a03e8c24]{animation:circle-6-rotateAll-data-v-a03e8c24 4.5s linear infinite both}.anim-1[data-v-a03e8c24]{animation:circle-6-g-move-bottom-data-v-a03e8c24 4.5s linear infinite both}.anim-1 circle[data-v-a03e8c24]{animation:circle-6-anim-1-circle-data-v-a03e8c24 4.5s linear infinite both;transform-origin:50% 50%}.anim-2[data-v-a03e8c24]{animation:circle-6-g-move-bottom-data-v-a03e8c24 4.5s linear infinite both}.anim-2 circle[data-v-a03e8c24]{animation:circle-6-anim-2-circle-data-v-a03e8c24 4.5s linear infinite both;transform-origin:50% 50%}.anim-2 line[data-v-a03e8c24]{animation:circle-6-line-grow-horizontal-1-data-v-a03e8c24 4.5s linear infinite both;transform-origin:100% 50%}.anim-3 circle[data-v-a03e8c24]{animation:circle-6-anim-3-circle-data-v-a03e8c24 4.5s linear infinite both;transform-origin:50% 50%}.anim-3 line[data-v-a03e8c24]:first-of-type{animation:circle-6-line-grow-vertical-1-data-v-a03e8c24 4.5s linear infinite both;transform-origin:50% 0%}.anim-3 line[data-v-a03e8c24]:last-of-type{animation:circle-6-line-grow-vertical-2-data-v-a03e8c24 4.5s linear infinite both;transform-origin:50% 0%}.anim-4 circle[data-v-a03e8c24]{animation:circle-6-anim-4-circle-data-v-a03e8c24 4.5s linear infinite both;transform-origin:50% 50%}.anim-4 line[data-v-a03e8c24]{animation:circle-6-line-grow-horizontal-2-data-v-a03e8c24 4.5s linear infinite both;transform-origin:100% 50%}\n",""]),e.exports=t},jb4q:function(e,t,r){"use strict";var n=r("/CZE"),a=r("8gD/"),i=r("gfA5").defaults,o=r("HByh").handleText,s=r("wlgE"),l=s.hasColorscale,c=s.handleDefaults;e.exports=function(e,t,r,s){function u(r,i){return n.coerce(e,t,a,r,i)}var d=u("labels"),f=u("parents");if(d&&d.length&&f&&f.length){var h=u("values");h&&h.length?u("branchvalues"):u("count"),u("level"),u("maxdepth"),u("marker.line.width")&&u("marker.line.color",s.paper_bgcolor),u("marker.colors");var p=t._hasColorscale=l(e,"marker","colors")||(e.marker||{}).coloraxis;p&&c(e,t,s,u,{prefix:"marker.",cLetter:"c"}),u("leaf.opacity",p?1:.7);var g=u("text");u("texttemplate"),t.texttemplate||u("textinfo",Array.isArray(g)?"text+label":"label"),u("hovertext"),u("hovertemplate");o(e,t,s,u,"auto",{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),u("insidetextorientation"),i(t,s,u),t._length=null}else t.visible=!1}},jd7o:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("cWyK"),a=r("/rf6");t.default=function(e,t){void 0===t&&(t={});var r=0,i=0,o=0;return n.coordEach(e,(function(e){r+=e[0],i+=e[1],o++})),a.point([r/o,i/o],t.properties)}},jezF:function(e,t,r){"use strict";var n=r("bljh"),a=r("Zss7"),i=r("u3HJ"),o=r("Nx4I"),s=r("BkK/"),l=r("Tv4R"),c=r("/CZE"),u=r("kJIm").extendFlat,d=r("DzeQ"),f=r("g9E0"),h=r("0RW4"),p=r("GZnn"),g=r("A3kh"),v=r("IVx0").flipScale,m=r("cRi9"),y=r("86IV"),x=r("15jM"),b=r("Y9zF"),w=b.LINE_SPACING,_=b.FROM_TL,k=b.FROM_BR,T=r("qop6").cn;e.exports={draw:function(e){var t=e._fullLayout._infolayer.selectAll("g."+T.colorbar).data(function(e){var t,r,n,a,i=e._fullLayout,o=e.calcdata,s=[];function l(e){return u(e,{_fillcolor:null,_line:{color:null,width:null,dash:null},_levels:{start:null,end:null,size:null},_filllevels:null,_fillgradient:null,_zrange:null})}function c(){"function"==typeof a.calc?a.calc(e,n,t):(t._fillgradient=r.reversescale?v(r.colorscale):r.colorscale,t._zrange=[r[a.min],r[a.max]])}for(var d=0;d<o.length;d++){var f=o[d],h=(n=f[0].trace)._module.colorbar;if(!0===n.visible&&h)for(var p=Array.isArray(h),g=p?h:[h],m=0;m<g.length;m++){var y=(a=g[m]).container;(r=y?n[y]:n)&&r.showscale&&((t=l(r.colorbar))._id="cb"+n.uid+(p&&y?"-"+y:""),t._traceIndex=n.index,t._propPrefix=(y?y+".":"")+"colorbar.",t._meta=n._meta,c(),s.push(t))}}for(var x in i._colorAxes)if((r=i[x]).showscale){var b=i._colorAxes[x];(t=l(r.colorbar))._id="cb"+x,t._propPrefix=x+".colorbar.",t._meta=i._meta,a={min:"cmin",max:"cmax"},"heatmap"!==b[0]&&(n=b[1],a.calc=n._module.colorbar.calc),c(),s.push(t)}return s}(e),(function(e){return e._id}));t.enter().append("g").attr("class",(function(e){return e._id})).classed(T.colorbar,!0),t.each((function(t){var r=n.select(this);c.ensureSingle(r,"rect",T.cbbg),c.ensureSingle(r,"g",T.cbfills),c.ensureSingle(r,"g",T.cblines),c.ensureSingle(r,"g",T.cbaxis,(function(e){e.classed(T.crisp,!0)})),c.ensureSingle(r,"g",T.cbtitleunshift,(function(e){e.append("g").classed(T.cbtitle,!0)})),c.ensureSingle(r,"rect",T.cboutline);var v=function(e,t,r){var o=r._fullLayout,l=o._size,d=t._fillcolor,v=t._line,b=t.title,M=b.side,S=t._zrange||n.extent(("function"==typeof d?d:v.color).domain()),A="function"==typeof v.color?v.color:function(){return v.color},C="function"==typeof d?d:function(){return d},P=t._levels,O=function(e,t,r){var n,a,i=t._levels,o=[],s=[],l=i.end+i.size/100,c=i.size,u=1.001*r[0]-.001*r[1],d=1.001*r[1]-.001*r[0];for(a=0;a<1e5&&(n=i.start+a*c,!(c>0?n>=l:n<=l));a++)n>u&&n<d&&o.push(n);if(t._fillgradient)s=[0];else if("function"==typeof t._fillcolor){var f=t._filllevels;if(f)for(l=f.end+f.size/100,c=f.size,a=0;a<1e5&&(n=f.start+a*c,!(c>0?n>=l:n<=l));a++)n>r[0]&&n<r[1]&&s.push(n);else(s=o.map((function(e){return e-i.size/2}))).push(s[s.length-1]+i.size)}else t._fillcolor&&"string"==typeof t._fillcolor&&(s=[0]);i.size<0&&(o.reverse(),s.reverse());return{line:o,fill:s}}(0,t,S),I=O.fill,z=O.line,L=Math.round(t.thickness*("fraction"===t.thicknessmode?l.w:1)),E=L/l.w,j=Math.round(t.len*("fraction"===t.lenmode?l.h:1)),D=j/l.h,R=t.xpad/l.w,N=(t.borderwidth+t.outlinewidth)/2,F=t.ypad/l.h,B=Math.round(t.x*l.w+t.xpad),H=t.x-E*({middle:.5,right:1}[t.xanchor]||0),V=t.y+D*(({top:-.5,bottom:.5}[t.yanchor]||0)-.5),G=Math.round(l.h*(1-V)),Z=G-j;t._lenFrac=D,t._thickFrac=E,t._xLeftFrac=H,t._yBottomFrac=V;var q=t._axis=function(e,t,r){var n=e._fullLayout,a={type:"linear",range:r,tickmode:t.tickmode,nticks:t.nticks,tick0:t.tick0,dtick:t.dtick,tickvals:t.tickvals,ticktext:t.ticktext,ticks:t.ticks,ticklen:t.ticklen,tickwidth:t.tickwidth,tickcolor:t.tickcolor,showticklabels:t.showticklabels,tickfont:t.tickfont,tickangle:t.tickangle,tickformat:t.tickformat,exponentformat:t.exponentformat,separatethousands:t.separatethousands,showexponent:t.showexponent,showtickprefix:t.showtickprefix,tickprefix:t.tickprefix,showticksuffix:t.showticksuffix,ticksuffix:t.ticksuffix,title:t.title,showline:!0,anchor:"free",side:"right",position:1},i={type:"linear",_id:"y"+t._id},o={letter:"y",font:n.font,noHover:!0,noTickson:!0,calendar:n.calendar};function s(e,t){return c.coerce(a,i,x,e,t)}return m(a,i,s,o,n),y(a,i,s,o),i}(r,t,S);q.position=t.x+R+E,-1!==["top","bottom"].indexOf(M)&&(q.title.side=M,q.titlex=t.x+R,q.titley=V+("top"===b.side?D-F:F));if(v.color&&"auto"===t.tickmode){q.tickmode="linear",q.tick0=P.start;var U=P.size,W=c.constrain((G-Z)/50,4,15)+1,Y=(S[1]-S[0])/((t.nticks||W)*U);if(Y>1){var X=Math.pow(10,Math.floor(Math.log(Y)/Math.LN10));U*=X*c.roundUp(Y/X,[2,5,10]),(Math.abs(P.start)/P.size+1e-6)%1<2e-6&&(q.tick0=0)}q.dtick=U}q.domain=[V+F,V+D-F],q.setScale(),e.attr("transform","translate("+Math.round(l.l)+","+Math.round(l.t)+")");var $,J=e.select("."+T.cbtitleunshift).attr("transform","translate(-"+Math.round(l.l)+",-"+Math.round(l.t)+")"),K=e.select("."+T.cbaxis),Q=0;function ee(n,a){var i={propContainer:q,propName:t._propPrefix+"title",traceIndex:t._traceIndex,_meta:t._meta,placeholder:o._dfltTitle.colorbar,containerGroup:e.select("."+T.cbtitle)},s="h"===n.charAt(0)?n.substr(1):"h"+n;e.selectAll("."+s+",."+s+"-math-group").remove(),p.draw(r,n,u(i,a||{}))}return c.syncOrAsync([i.previousPromises,function(){if(-1!==["top","bottom"].indexOf(M)){var e,r=l.l+(t.x+R)*l.w,n=q.title.font.size;e="top"===M?(1-(V+D-F))*l.h+l.t+3+.75*n:(1-(V+F))*l.h+l.t-3-.25*n,ee(q._id+"title",{attributes:{x:r,y:e,"text-anchor":"start"}})}},function(){if(-1!==["top","bottom"].indexOf(M)){var i=e.select("."+T.cbtitle),o=i.select("text"),u=[-t.outlinewidth/2,t.outlinewidth/2],d=i.select(".h"+q._id+"title-math-group").node(),h=15.6;if(o.node()&&(h=parseInt(o.node().style.fontSize,10)*w),d?(Q=f.bBox(d).height)>h&&(u[1]-=(Q-h)/2):o.node()&&!o.classed(T.jsPlaceholder)&&(Q=f.bBox(o.node()).height),Q){if(Q+=5,"top"===M)q.domain[1]-=Q/l.h,u[1]*=-1;else{q.domain[0]+=Q/l.h;var p=g.lineCount(o);u[1]+=(1-p)*h}i.attr("transform","translate("+u+")"),q.setScale()}}e.selectAll("."+T.cbfills+",."+T.cblines).attr("transform","translate(0,"+Math.round(l.h*(1-q.domain[1]))+")"),K.attr("transform","translate(0,"+Math.round(-l.t)+")");var m=e.select("."+T.cbfills).selectAll("rect."+T.cbfill).data(I);m.enter().append("rect").classed(T.cbfill,!0).style("stroke","none"),m.exit().remove();var y=S.map(q.c2p).map(Math.round).sort((function(e,t){return e-t}));m.each((function(e,i){var o=[0===i?S[0]:(I[i]+I[i-1])/2,i===I.length-1?S[1]:(I[i]+I[i+1])/2].map(q.c2p).map(Math.round);o[1]=c.constrain(o[1]+(o[1]>o[0])?1:-1,y[0],y[1]);var s=n.select(this).attr({x:B,width:Math.max(L,2),y:n.min(o),height:Math.max(n.max(o)-n.min(o),2)});if(t._fillgradient)f.gradient(s,r,t._id,"vertical",t._fillgradient,"fill");else{var l=C(e).replace("e-","");s.attr("fill",a(l).toHexString())}}));var x=e.select("."+T.cblines).selectAll("path."+T.cbline).data(v.color&&v.width?z:[]);x.enter().append("path").classed(T.cbline,!0),x.exit().remove(),x.each((function(e){n.select(this).attr("d","M"+B+","+(Math.round(q.c2p(e))+v.width/2%1)+"h"+L).call(f.lineGroupStyle,v.width,A(e),v.dash)})),K.selectAll("g."+q._id+"tick,path").remove();var b=B+L+(t.outlinewidth||0)/2-("outside"===t.ticks?1:0),_=s.calcTicks(q),k=s.makeTransFn(q),P=s.getTickSigns(q)[2];return s.drawTicks(r,q,{vals:"inside"===q.ticks?s.clipEnds(q,_):_,layer:K,path:s.makeTickPath(q,b,P),transFn:k}),s.drawLabels(r,q,{vals:_,layer:K,transFn:k,labelFns:s.makeLabelFns(q,b)})},function(){if(-1===["top","bottom"].indexOf(M)){var e=q.title.font.size,t=q._offset+q._length/2,a=l.l+(q.position||0)*l.w+("right"===q.side?10+e*(q.showticklabels?1:.5):-10-e*(q.showticklabels?.5:0));ee("h"+q._id+"title",{avoid:{selection:n.select(r).selectAll("g."+q._id+"tick"),side:M,offsetLeft:l.l,offsetTop:0,maxShift:o.width},attributes:{x:a,y:t,"text-anchor":"middle"},transform:{rotate:"-90",offset:0}})}},i.previousPromises,function(){var n=L+t.outlinewidth/2+f.bBox(K.node()).width;if(($=J.select("text")).node()&&!$.classed(T.jsPlaceholder)){var a,o=J.select(".h"+q._id+"title-math-group").node();a=o&&-1!==["top","bottom"].indexOf(M)?f.bBox(o).width:f.bBox(J.node()).right-B-l.l,n=Math.max(n,a)}var s=2*t.xpad+n+t.borderwidth+t.outlinewidth/2,c=G-Z;e.select("."+T.cbbg).attr({x:B-t.xpad-(t.borderwidth+t.outlinewidth)/2,y:Z-N,width:Math.max(s,2),height:Math.max(c+2*N,2)}).call(h.fill,t.bgcolor).call(h.stroke,t.bordercolor).style("stroke-width",t.borderwidth),e.selectAll("."+T.cboutline).attr({x:B,y:Z+t.ypad+("top"===M?Q:0),width:Math.max(L,2),height:Math.max(c-2*t.ypad-Q,2)}).call(h.stroke,t.outlinecolor).style({fill:"none","stroke-width":t.outlinewidth});var u=({center:.5,right:1}[t.xanchor]||0)*s;e.attr("transform","translate("+(l.l-u)+","+l.t+")");var d={},p=_[t.yanchor],g=k[t.yanchor];"pixels"===t.lenmode?(d.y=t.y,d.t=c*p,d.b=c*g):(d.t=d.b=0,d.yt=t.y+t.len*p,d.yb=t.y-t.len*g);var v=_[t.xanchor],m=k[t.xanchor];if("pixels"===t.thicknessmode)d.x=t.x,d.l=s*v,d.r=s*m;else{var y=s-L;d.l=y*v,d.r=y*m,d.xl=t.x-t.thickness*v,d.xr=t.x+t.thickness*m}i.autoMargin(r,t._id,d)}],r)}(r,t,e);v&&v.then&&(e._promises||[]).push(v),e._context.edits.colorbarPosition&&function(e,t,r){var n,a,i,s=r._fullLayout._size;l.init({element:e.node(),gd:r,prepFn:function(){n=e.attr("transform"),d(e)},moveFn:function(r,o){e.attr("transform",n+" translate("+r+","+o+")"),a=l.align(t._xLeftFrac+r/s.w,t._thickFrac,0,1,t.xanchor),i=l.align(t._yBottomFrac-o/s.h,t._lenFrac,0,1,t.yanchor);var c=l.getCursor(a,i,t.xanchor,t.yanchor);d(e,c)},doneFn:function(){if(d(e),void 0!==a&&void 0!==i){var n={};n[t._propPrefix+"x"]=a,n[t._propPrefix+"y"]=i,void 0!==t._traceIndex?o.call("_guiRestyle",r,n,t._traceIndex):o.call("_guiRelayout",r,n)}}})}(r,t,e)})),t.exit().each((function(t){i.autoMargin(e,t._id)})).remove(),t.order()}}},jwEA:function(e,t,r){"use strict";var n=r("mAtN");r.n(n).a},jxKh:function(e,t,r){"use strict";var n=r("0RW4").opacity,a=r("rJf6").hoverOnBars,i=r("/CZE").formatPercent;e.exports=function(e,t,r,o){var s=a(e,t,r,o);if(s){var l=s.cd,c=l[0].trace,u="h"===c.orientation,d=l[s.index];s[(u?"x":"y")+"LabelVal"]=d.s,s.percentInitial=d.begR,s.percentInitialLabel=i(d.begR,1),s.percentPrevious=d.difR,s.percentPreviousLabel=i(d.difR,1),s.percentTotal=d.sumR,s.percentTotalLabel=i(d.sumR,1);var f=d.hi||c.hoverinfo,h=[];if(f&&"none"!==f&&"skip"!==f){var p="all"===f,g=f.split("+"),v=function(e){return p||-1!==g.indexOf(e)};v("percent initial")&&h.push(s.percentInitialLabel+" of initial"),v("percent previous")&&h.push(s.percentPreviousLabel+" of previous"),v("percent total")&&h.push(s.percentTotalLabel+" of total")}return s.extraText=h.join("<br>"),s.color=function(e,t){var r=e.marker,a=t.mc||r.color,i=t.mlc||r.line.color,o=t.mlw||r.line.width;if(n(a))return a;if(n(i)&&o)return i}(c,d),[s]}}},jyrE:function(e,t,r){"use strict";var n=r("/CZE"),a=r("plED"),i=r("2S8E"),o=r("J+Po"),s=r("UAgb"),l=r("Z8TU");e.exports=function(e,t,r){var c=a.newContainer(t,"colorbar"),u=e.colorbar||{};function d(e,t){return n.coerce(u,c,l,e,t)}var f=d("thicknessmode");d("thickness","fraction"===f?30/(r.width-r.margin.l-r.margin.r):30);var h=d("lenmode");d("len","fraction"===h?1:r.height-r.margin.t-r.margin.b),d("x"),d("xanchor"),d("xpad"),d("y"),d("yanchor"),d("ypad"),n.noneOrAll(u,c,["x","y"]),d("outlinecolor"),d("outlinewidth"),d("bordercolor"),d("borderwidth"),d("bgcolor"),i(u,c,d,"linear");var p={outerTicks:!1,font:r.font};s(u,c,d,"linear",p),o(u,c,d,"linear",p),d("title.text",r._dfltTitle.colorbar),n.coerceFont(d,"title.font",r.font),d("title.side")}},jzia:function(e,t,r){"use strict";var n=r("37PH");e.exports={bgcolor:{valType:"color",dflt:n.background,role:"style",editType:"plot",description:"Sets the background color of the range slider."},bordercolor:{valType:"color",dflt:n.defaultLine,role:"style",editType:"plot",description:"Sets the border color of the range slider."},borderwidth:{valType:"integer",dflt:0,min:0,role:"style",editType:"plot",description:"Sets the border width of the range slider."},autorange:{valType:"boolean",dflt:!0,role:"style",editType:"calc",impliedEdits:{"range[0]":void 0,"range[1]":void 0},description:["Determines whether or not the range slider range is","computed in relation to the input data.","If `range` is provided, then `autorange` is set to *false*."].join(" ")},range:{valType:"info_array",role:"info",items:[{valType:"any",editType:"calc",impliedEdits:{"^autorange":!1}},{valType:"any",editType:"calc",impliedEdits:{"^autorange":!1}}],editType:"calc",impliedEdits:{autorange:!1},description:["Sets the range of the range slider.","If not set, defaults to the full xaxis range.","If the axis `type` is *log*, then you must take the","log of your desired range.","If the axis `type` is *date*, it should be date strings,","like date data, though Date objects and unix milliseconds","will be accepted and converted to strings.","If the axis `type` is *category*, it should be numbers,","using the scale where each category is assigned a serial","number from zero in the order it appears."].join(" ")},thickness:{valType:"number",dflt:.15,min:0,max:1,role:"style",editType:"plot",description:["The height of the range slider as a fraction of the","total plot area height."].join(" ")},visible:{valType:"boolean",dflt:!0,role:"info",editType:"calc",description:["Determines whether or not the range slider will be visible.","If visible, perpendicular axes will be set to `fixedrange`"].join(" ")},editType:"calc"}},k6aH:function(e,t,r){"use strict";var n=r("bljh"),a=r("/CZE");function i(e){return"_"+e+"Text_minsize"}e.exports={recordMinTextSize:function(e,t,r){if(r.uniformtext.mode){var n=i(e),a=r.uniformtext.minsize,o=t.scale*t.fontSize;t.hide=o<a,r[n]=r[n]||1/0,t.hide||(r[n]=Math.min(r[n],Math.max(o,a)))}},clearMinTextSize:function(e,t){t[i(e)]=void 0},resizeText:function(e,t,r){var i=e._fullLayout,o=i["_"+r+"Text_minsize"];if(o){var s,l="hide"===i.uniformtext.mode;switch(r){case"funnelarea":case"pie":case"sunburst":s="g.slice";break;case"treemap":s="g.slice, g.pathbar";break;default:s="g.points > g.point"}t.selectAll(s).each((function(e){var t=e.transform;t&&(t.scale=l&&t.hide?0:o/t.fontSize,n.select(this).select("text").attr("transform",a.getTextTransform(t)))}))}}}},kAnJ:function(e,t,r){(t=r("JPst")(!1)).push([e.i,".spinner[data-v-26545e86]{animation:cube-shadow-spinner-data-v-26545e86 1.8s cubic-bezier(0.75, 0, 0.5, 1) infinite}@keyframes cube-shadow-spinner-data-v-26545e86{50%{border-radius:50%;transform:scale(0.5) rotate(360deg)}100%{transform:scale(1) rotate(720deg)}}\n",""]),e.exports=t},kJIm:function(e,t,r){"use strict";var n=r("E4V0"),a=Array.isArray;function i(e,t,r,o){var s,l,c,u,d,f,h=e[0],p=e.length;if(2===p&&a(h)&&a(e[1])&&0===h.length){if(function(e,t){var r,n;for(r=0;r<e.length;r++){if(null!==(n=e[r])&&"object"==typeof n)return!1;void 0!==n&&(t[r]=n)}return!0}(e[1],h))return h;h.splice(0,h.length)}for(var g=1;g<p;g++)for(l in s=e[g])c=h[l],u=s[l],o&&a(u)?h[l]=u:t&&u&&(n(u)||(d=a(u)))?(d?(d=!1,f=c&&a(c)?c:[]):f=c&&n(c)?c:{},h[l]=i([f,u],t,r,o)):(void 0!==u||r)&&(h[l]=u);return h}t.extendFlat=function(){return i(arguments,!1,!1,!1)},t.extendDeep=function(){return i(arguments,!0,!1,!1)},t.extendDeepAll=function(){return i(arguments,!0,!0,!1)},t.extendDeepNoArrays=function(){return i(arguments,!0,!1,!0)}},kQMp:function(e,t,r){"use strict";var n=r("0RW4"),a=r("IVx0").hasColorscale,i=r("QYPY");e.exports=function(e,t,r,o,s){r("marker.color",o),a(e,"marker")&&i(e,t,s,r,{prefix:"marker.",cLetter:"c"}),r("marker.line.color",n.defaultLine),a(e,"marker.line")&&i(e,t,s,r,{prefix:"marker.line.",cLetter:"c"}),r("marker.line.width"),r("marker.opacity"),r("selected.marker.color"),r("unselected.marker.color")}},"kVK+":function(e,t){t.read=function(e,t,r,n,a){var i,o,s=8*a-n-1,l=(1<<s)-1,c=l>>1,u=-7,d=r?a-1:0,f=r?-1:1,h=e[t+d];for(d+=f,i=h&(1<<-u)-1,h>>=-u,u+=s;u>0;i=256*i+e[t+d],d+=f,u-=8);for(o=i&(1<<-u)-1,i>>=-u,u+=n;u>0;o=256*o+e[t+d],d+=f,u-=8);if(0===i)i=1-c;else{if(i===l)return o?NaN:1/0*(h?-1:1);o+=Math.pow(2,n),i-=c}return(h?-1:1)*o*Math.pow(2,i-n)},t.write=function(e,t,r,n,a,i){var o,s,l,c=8*i-a-1,u=(1<<c)-1,d=u>>1,f=23===a?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:i-1,p=n?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,o=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-o))<1&&(o--,l*=2),(t+=o+d>=1?f/l:f*Math.pow(2,1-d))*l>=2&&(o++,l/=2),o+d>=u?(s=0,o=u):o+d>=1?(s=(t*l-1)*Math.pow(2,a),o+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,a),o=0));a>=8;e[r+h]=255&s,h+=p,s/=256,a-=8);for(o=o<<a|s,c+=a;c>0;e[r+h]=255&o,h+=p,o/=256,c-=8);e[r+h-p]|=128*g}},kZ5o:function(e,t,r){"use strict";var n=r("qHYo"),a=r("gfA5").attributes,i=r("mEVB"),o=r("37PH"),s=r("lNV6").hovertemplateAttrs,l=r("lNV6").texttemplateAttrs,c=r("kJIm").extendFlat,u=i({editType:"plot",arrayOk:!0,colorEditType:"plot",description:"Sets the font used for `textinfo`."});e.exports={labels:{valType:"data_array",editType:"calc",description:["Sets the sector labels.","If `labels` entries are duplicated, we sum associated `values`","or simply count occurrences if `values` is not provided.","For other array attributes (including color) we use the first","non-empty entry among all occurrences of the label."].join(" ")},label0:{valType:"number",role:"info",dflt:0,editType:"calc",description:["Alternate to `labels`.","Builds a numeric set of labels.","Use with `dlabel`","where `label0` is the starting label and `dlabel` the step."].join(" ")},dlabel:{valType:"number",role:"info",dflt:1,editType:"calc",description:"Sets the label step. See `label0` for more info."},values:{valType:"data_array",editType:"calc",description:["Sets the values of the sectors.","If omitted, we count occurrences of each label."].join(" ")},marker:{colors:{valType:"data_array",editType:"calc",description:["Sets the color of each sector.","If not specified, the default trace color set is used","to pick the sector colors."].join(" ")},line:{color:{valType:"color",role:"style",dflt:o.defaultLine,arrayOk:!0,editType:"style",description:["Sets the color of the line enclosing each sector."].join(" ")},width:{valType:"number",role:"style",min:0,dflt:0,arrayOk:!0,editType:"style",description:["Sets the width (in px) of the line enclosing each sector."].join(" ")},editType:"calc"},editType:"calc"},text:{valType:"data_array",editType:"plot",description:["Sets text elements associated with each sector.","If trace `textinfo` contains a *text* flag, these elements will be seen","on the chart.","If trace `hoverinfo` contains a *text* flag and *hovertext* is not set,","these elements will be seen in the hover labels."].join(" ")},hovertext:{valType:"string",role:"info",dflt:"",arrayOk:!0,editType:"style",description:["Sets hover text elements associated with each sector.","If a single string, the same string appears for","all data points.","If an array of string, the items are mapped in order of","this trace's sectors.","To be seen, trace `hoverinfo` must contain a *text* flag."].join(" ")},scalegroup:{valType:"string",role:"info",dflt:"",editType:"calc",description:["If there are multiple pie charts that should be sized according to","their totals, link them by providing a non-empty group id here","shared by every trace in the same group."].join(" ")},textinfo:{valType:"flaglist",role:"info",flags:["label","text","value","percent"],extras:["none"],editType:"calc",description:["Determines which trace information appear on the graph."].join(" ")},hoverinfo:c({},n.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:s({},{keys:["label","color","value","percent","text"]}),texttemplate:l({editType:"plot"},{keys:["label","color","value","percent","text"]}),textposition:{valType:"enumerated",role:"info",values:["inside","outside","auto","none"],dflt:"auto",arrayOk:!0,editType:"plot",description:["Specifies the location of the `textinfo`."].join(" ")},textfont:c({},u,{description:"Sets the font used for `textinfo`."}),insidetextorientation:{valType:"enumerated",role:"info",values:["horizontal","radial","tangential","auto"],dflt:"auto",editType:"plot",description:["Controls the orientation of the text inside chart sectors.","When set to *auto*, text may be oriented in any direction in order","to be as big as possible in the middle of a sector.","The *horizontal* option orients text to be parallel with the bottom","of the chart, and may make text smaller in order to achieve that goal.","The *radial* option orients text along the radius of the sector.","The *tangential* option orients text perpendicular to the radius of the sector."].join(" ")},insidetextfont:c({},u,{description:"Sets the font used for `textinfo` lying inside the sector."}),outsidetextfont:c({},u,{description:"Sets the font used for `textinfo` lying outside the sector."}),automargin:{valType:"boolean",dflt:!1,role:"info",editType:"plot",description:["Determines whether outside text labels can push the margins."].join(" ")},title:{text:{valType:"string",dflt:"",role:"info",editType:"plot",description:["Sets the title of the chart.","If it is empty, no title is displayed.","Note that before the existence of `title.text`, the title's","contents used to be defined as the `title` attribute itself.","This behavior has been deprecated."].join(" ")},font:c({},u,{description:["Sets the font used for `title`.","Note that the title's font used to be set","by the now deprecated `titlefont` attribute."].join(" ")}),position:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],role:"info",editType:"plot",description:["Specifies the location of the `title`.","Note that the title's position used to be set","by the now deprecated `titleposition` attribute."].join(" ")},editType:"plot"},domain:a({name:"pie",trace:!0,editType:"calc"}),hole:{valType:"number",role:"style",min:0,max:1,dflt:0,editType:"calc",description:["Sets the fraction of the radius to cut out of the pie.","Use this to make a donut chart."].join(" ")},sort:{valType:"boolean",role:"style",dflt:!0,editType:"calc",description:["Determines whether or not the sectors are reordered","from largest to smallest."].join(" ")},direction:{valType:"enumerated",values:["clockwise","counterclockwise"],role:"style",dflt:"counterclockwise",editType:"calc",description:["Specifies the direction at which succeeding sectors follow","one another."].join(" ")},rotation:{valType:"number",role:"style",min:-360,max:360,dflt:0,editType:"calc",description:["Instead of the first slice starting at 12 o'clock,","rotate to some other angle."].join(" ")},pull:{valType:"number",role:"style",min:0,max:1,dflt:0,arrayOk:!0,editType:"calc",description:["Sets the fraction of larger radius to pull the sectors","out from the center. This can be a constant","to pull all slices apart from each other equally","or an array to highlight one or more slices."].join(" ")},_deprecated:{title:{valType:"string",dflt:"",role:"info",editType:"calc",description:["Deprecated in favor of `title.text`.","Note that value of `title` is no longer a simple","*string* but a set of sub-attributes."].join(" ")},titlefont:c({},u,{description:"Deprecated in favor of `title.font`."}),titleposition:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],role:"info",editType:"calc",description:"Deprecated in favor of `title.position`."}}}},kc20:function(e,t,r){"use strict";var n=r("bljh"),a=r("Nx4I"),i=r("/CZE"),o=r("u3HJ"),s=r("g9E0"),l=r("rWI/").getModuleCalcData,c=r("PBw4"),u=r("0wH6"),d=r("c8nr"),f=i.ensureSingle;function h(e,t,r){return i.ensureSingle(e,t,r,(function(e){e.datum(r)}))}function p(e,t,r,i,o){for(var c,d,f,h=u.traceLayerClasses,p=e._fullLayout,g=p._modules,v=[],m=[],y=0;y<g.length;y++){var x=(c=g[y]).name,b=a.modules[x].categories;if(b.svg){var w=c.layerName||x+"layer",_=c.plot;f=(d=l(r,_))[0],r=d[1],f.length&&v.push({i:h.indexOf(w),className:w,plotMethod:_,cdModule:f}),b.zoomScale&&m.push("."+w)}}v.sort((function(e,t){return e.i-t.i}));var k=t.plot.selectAll("g.mlayer").data(v,(function(e){return e.className}));if(k.enter().append("g").attr("class",(function(e){return e.className})).classed("mlayer",!0).classed("rangeplot",t.isRangePlot),k.exit().remove(),k.order(),k.each((function(r){var a=n.select(this),l=r.className;r.plotMethod(e,t,r.cdModule,a,i,o),-1===u.clipOnAxisFalseQuery.indexOf("."+l)&&s.setClipUrl(a,t.layerClipId,e)})),p._has("scattergl")&&(c=a.getModule("scattergl"),f=l(r,c)[0],c.plot(e,t,f)),!e._context.staticPlot&&(t._hasClipOnAxisFalse&&(t.clipOnAxisFalseTraces=t.plot.selectAll(u.clipOnAxisFalseQuery.join(",")).selectAll(".trace")),m.length)){var T=t.plot.selectAll(m.join(",")).selectAll(".trace");t.zoomScalePts=T.selectAll("path.point"),t.zoomScaleTxt=T.selectAll(".textpoint")}}function g(e,t){var r=t.plotgroup,n=t.id,a=u.layerValue2layerClass[t.xaxis.layer],i=u.layerValue2layerClass[t.yaxis.layer],o=e._fullLayout._hasOnlyLargeSploms;if(t.mainplot){var s=t.mainplotinfo,l=s.plotgroup,d=n+"-x",p=n+"-y";t.gridlayer=s.gridlayer,t.zerolinelayer=s.zerolinelayer,f(s.overlinesBelow,"path",d),f(s.overlinesBelow,"path",p),f(s.overaxesBelow,"g",d),f(s.overaxesBelow,"g",p),t.plot=f(s.overplot,"g",n),f(s.overlinesAbove,"path",d),f(s.overlinesAbove,"path",p),f(s.overaxesAbove,"g",d),f(s.overaxesAbove,"g",p),t.xlines=l.select(".overlines-"+a).select("."+d),t.ylines=l.select(".overlines-"+i).select("."+p),t.xaxislayer=l.select(".overaxes-"+a).select("."+d),t.yaxislayer=l.select(".overaxes-"+i).select("."+p)}else if(o)t.xlines=f(r,"path","xlines-above"),t.ylines=f(r,"path","ylines-above"),t.xaxislayer=f(r,"g","xaxislayer-above"),t.yaxislayer=f(r,"g","yaxislayer-above");else{var g=f(r,"g","layer-subplot");t.shapelayer=f(g,"g","shapelayer"),t.imagelayer=f(g,"g","imagelayer"),t.gridlayer=f(r,"g","gridlayer"),t.zerolinelayer=f(r,"g","zerolinelayer"),f(r,"path","xlines-below"),f(r,"path","ylines-below"),t.overlinesBelow=f(r,"g","overlines-below"),f(r,"g","xaxislayer-below"),f(r,"g","yaxislayer-below"),t.overaxesBelow=f(r,"g","overaxes-below"),t.plot=f(r,"g","plot"),t.overplot=f(r,"g","overplot"),t.xlines=f(r,"path","xlines-above"),t.ylines=f(r,"path","ylines-above"),t.overlinesAbove=f(r,"g","overlines-above"),f(r,"g","xaxislayer-above"),f(r,"g","yaxislayer-above"),t.overaxesAbove=f(r,"g","overaxes-above"),t.xlines=r.select(".xlines-"+a),t.ylines=r.select(".ylines-"+i),t.xaxislayer=r.select(".xaxislayer-"+a),t.yaxislayer=r.select(".yaxislayer-"+i)}o||(h(t.gridlayer,"g",t.xaxis._id),h(t.gridlayer,"g",t.yaxis._id),t.gridlayer.selectAll("g").map((function(e){return e[0]})).sort(c.idSort)),t.xlines.style("fill","none").classed("crisp",!0),t.ylines.style("fill","none").classed("crisp",!0)}function v(e,t){if(e){var r={};for(var a in e.each((function(e){var a=e[0];n.select(this).remove(),m(a,t),r[a]=!0})),t._plots)for(var i=t._plots[a].overlays||[],o=0;o<i.length;o++){var s=i[o];r[s.id]&&s.plot.selectAll(".trace").remove()}}}function m(e,t){t._draggers.selectAll("g."+e).remove(),t._defs.select("#clip"+t._uid+e+"plot").remove()}t.name="cartesian",t.attr=["xaxis","yaxis"],t.idRoot=["x","y"],t.idRegex=u.idRegex,t.attrRegex=u.attrRegex,t.attributes=r("P/f8"),t.layoutAttributes=r("15jM"),t.supplyLayoutDefaults=r("g3i2"),t.transitionAxes=r("BEZi"),t.finalizeSubplots=function(e,t){var r,n,a,o=t._subplots,s=o.xaxis,l=o.yaxis,d=o.cartesian,f=d.concat(o.gl2d||[]),h={},p={};for(r=0;r<f.length;r++){var g=f[r].split("y");h[g[0]]=1,p["y"+g[1]]=1}for(r=0;r<s.length;r++)h[n=s[r]]||(a=(e[c.id2name(n)]||{}).anchor,u.idRegex.y.test(a)||(a="y"),d.push(n+a),f.push(n+a),p[a]||(p[a]=1,i.pushUnique(l,a)));for(r=0;r<l.length;r++)p[a=l[r]]||(n=(e[c.id2name(a)]||{}).anchor,u.idRegex.x.test(n)||(n="x"),d.push(n+a),f.push(n+a),h[n]||(h[n]=1,i.pushUnique(s,n)));if(!f.length){for(var v in n="",a="",e){if(u.attrRegex.test(v))"x"===v.charAt(0)?(!n||+v.substr(5)<+n.substr(5))&&(n=v):(!a||+v.substr(5)<+a.substr(5))&&(a=v)}n=n?c.name2id(n):"x",a=a?c.name2id(a):"y",s.push(n),l.push(a),d.push(n+a)}},t.plot=function(e,t,r,n){var a,i=e._fullLayout,o=i._subplots.cartesian,s=e.calcdata;if(!Array.isArray(t))for(t=[],a=0;a<s.length;a++)t.push(a);for(a=0;a<o.length;a++){for(var l,c=o[a],u=i._plots[c],d=[],f=0;f<s.length;f++){var h=s[f],g=h[0].trace;g.xaxis+g.yaxis===c&&((-1!==t.indexOf(g.index)||g.carpet)&&(l&&l[0].trace.xaxis+l[0].trace.yaxis===c&&-1!==["tonextx","tonexty","tonext"].indexOf(g.fill)&&-1===d.indexOf(l)&&d.push(l),d.push(h)),l=h)}p(e,u,d,r,n)}},t.clean=function(e,t,r,n){var a,i,o,s=n._plots||{},l=t._plots||{},u=n._subplots||{};if(n._hasOnlyLargeSploms&&!t._hasOnlyLargeSploms)for(o in s)(a=s[o]).plotgroup&&a.plotgroup.remove();var d=n._has&&n._has("gl"),f=t._has&&t._has("gl");if(d&&!f)for(o in s)(a=s[o])._scene&&a._scene.destroy();if(u.xaxis&&u.yaxis){var h=c.listIds({_fullLayout:n});for(i=0;i<h.length;i++){var p=h[i];t[c.id2name(p)]||n._infolayer.selectAll(".g-"+p+"title").remove()}}var g=n._has&&n._has("cartesian"),y=t._has&&t._has("cartesian");if(g&&!y)v(n._cartesianlayer.selectAll(".subplot"),n),n._defs.selectAll(".axesclip").remove(),delete n._axisConstraintGroups;else if(u.cartesian)for(i=0;i<u.cartesian.length;i++){var x=u.cartesian[i];if(!l[x]){var b="."+x+",."+x+"-x,."+x+"-y";n._cartesianlayer.selectAll(b).remove(),m(x,n)}}},t.drawFramework=function(e){var t=e._fullLayout,r=function(e){var t,r,n,a,i,o,s=e._fullLayout,l=s._subplots.cartesian,c=l.length,u=[],d=[];for(t=0;t<c;t++){n=l[t],a=s._plots[n],i=a.xaxis,o=a.yaxis;var f=i._mainAxis,h=o._mainAxis,p=f._id+h._id,g=s._plots[p];a.overlays=[],p!==n&&g?(a.mainplot=p,a.mainplotinfo=g,d.push(n)):(a.mainplot=void 0,a.mainPlotinfo=void 0,u.push(n))}for(t=0;t<d.length;t++)n=d[t],(a=s._plots[n]).mainplotinfo.overlays.push(a);var v=u.concat(d),m=new Array(c);for(t=0;t<c;t++){n=v[t],a=s._plots[n],i=a.xaxis,o=a.yaxis;var y=[n,i.layer,o.layer,i.overlaying||"",o.overlaying||""];for(r=0;r<a.overlays.length;r++)y.push(a.overlays[r].id);m[t]=y}return m}(e),a=t._cartesianlayer.selectAll(".subplot").data(r,String);a.enter().append("g").attr("class",(function(e){return"subplot "+e[0]})),a.order(),a.exit().call(v,t),a.each((function(r){var a=r[0],i=t._plots[a];i.plotgroup=n.select(this),g(e,i),i.draglayer=f(t._draggers,"g",a)}))},t.rangePlot=function(e,t,r){g(e,t),p(e,t,r),o.style(e)},t.toSVG=function(e){var t=e._fullLayout._glimages,r=n.select(e).selectAll(".svg-container");r.filter((function(e,t){return t===r.size()-1})).selectAll(".gl-canvas-context, .gl-canvas-focus").each((function(){var e=this.toDataURL("image/png");t.append("svg:image").attr({xmlns:d.svg,"xlink:href":e,preserveAspectRatio:"none",x:0,y:0,width:this.width,height:this.height})}))},t.updateFx=r("Guo4").updateFx},kc6j:function(e,t,r){"use strict";e.exports={waterfallmode:{valType:"enumerated",values:["group","overlay"],dflt:"group",role:"info",editType:"calc",description:["Determines how bars at the same location coordinate","are displayed on the graph.","With *group*, the bars are plotted next to one another","centered around the shared location.","With *overlay*, the bars are plotted over one another,","you might need to an *opacity* to see multiple bars."].join(" ")},waterfallgap:{valType:"number",min:0,max:1,role:"style",editType:"calc",description:["Sets the gap (in plot fraction) between bars of","adjacent location coordinates."].join(" ")},waterfallgroupgap:{valType:"number",min:0,max:1,dflt:0,role:"style",editType:"calc",description:["Sets the gap (in plot fraction) between bars of","the same location coordinate."].join(" ")}}},kn30:function(e,t,r){"use strict";var n=r("f7dW"),a=r("mEVB")({editType:"none",description:"Sets the default hover label font used by all traces on the graph."});a.family.dflt=n.HOVERFONT,a.size.dflt=n.HOVERFONTSIZE,e.exports={clickmode:{valType:"flaglist",role:"info",flags:["event","select"],dflt:"event",editType:"plot",extras:["none"],description:["Determines the mode of single click interactions.","*event* is the default value and emits the `plotly_click`","event. In addition this mode emits the `plotly_selected` event","in drag modes *lasso* and *select*, but with no event data attached","(kept for compatibility reasons).","The *select* flag enables selecting single","data points via click. This mode also supports persistent selections,","meaning that pressing Shift while clicking, adds to / subtracts from an","existing selection. *select* with `hovermode`: *x* can be confusing, consider","explicitly setting `hovermode`: *closest* when using this feature.","Selection events are sent accordingly as long as *event* flag is set as well.","When the *event* flag is missing, `plotly_click` and `plotly_selected`","events are not fired."].join(" ")},dragmode:{valType:"enumerated",role:"info",values:["zoom","pan","select","lasso","drawclosedpath","drawopenpath","drawline","drawrect","drawcircle","orbit","turntable",!1],dflt:"zoom",editType:"modebar",description:["Determines the mode of drag interactions.","*select* and *lasso* apply only to scatter traces with","markers or text. *orbit* and *turntable* apply only to","3D scenes."].join(" ")},hovermode:{valType:"enumerated",role:"info",values:["x","y","closest",!1,"x unified","y unified"],editType:"modebar",description:["Determines the mode of hover interactions.","If *closest*, a single hoverlabel will appear","for the *closest* point within the `hoverdistance`.","If *x* (or *y*), multiple hoverlabels will appear for multiple points","at the *closest* x- (or y-) coordinate within the `hoverdistance`,","with the caveat that no more than one hoverlabel will appear per trace.","If *x unified* (or *y unified*), a single hoverlabel will appear","multiple points at the closest x- (or y-) coordinate within the `hoverdistance`","with the caveat that no more than one hoverlabel will appear per trace.","In this mode, spikelines are enabled by default perpendicular to the specified axis.","If false, hover interactions are disabled.","If `clickmode` includes the *select* flag,","`hovermode` defaults to *closest*.","If `clickmode` lacks the *select* flag,","it defaults to *x* or *y* (depending on the trace's","`orientation` value) for plots based on","cartesian coordinates. For anything else the default","value is *closest*."].join(" ")},hoverdistance:{valType:"integer",min:-1,dflt:20,role:"info",editType:"none",description:["Sets the default distance (in pixels) to look for data","to add hover labels (-1 means no cutoff, 0 means no looking for data).","This is only a real distance for hovering on point-like objects,","like scatter points. For area-like objects (bars, scatter fills, etc)","hovering is on inside the area and off outside, but these objects","will not supersede hover on point-like objects in case of conflict."].join(" ")},spikedistance:{valType:"integer",min:-1,dflt:20,role:"info",editType:"none",description:["Sets the default distance (in pixels) to look for data to draw","spikelines to (-1 means no cutoff, 0 means no looking for data).","As with hoverdistance, distance does not apply to area-like objects.","In addition, some objects can be hovered on but will not generate","spikelines, such as scatter fills."].join(" ")},hoverlabel:{bgcolor:{valType:"color",role:"style",editType:"none",description:["Sets the background color of all hover labels on graph"].join(" ")},bordercolor:{valType:"color",role:"style",editType:"none",description:["Sets the border color of all hover labels on graph."].join(" ")},font:a,align:{valType:"enumerated",values:["left","right","auto"],dflt:"auto",role:"style",editType:"none",description:["Sets the horizontal alignment of the text content within hover label box.","Has an effect only if the hover label text spans more two or more lines"].join(" ")},namelength:{valType:"integer",min:-1,dflt:15,role:"style",editType:"none",description:["Sets the default length (in number of characters) of the trace name in","the hover labels for all traces. -1 shows the whole name","regardless of length. 0-3 shows the first 0-3 characters, and","an integer >3 will show the whole name if it is less than that","many characters, but if it is longer, will truncate to","`namelength - 3` characters and add an ellipsis."].join(" ")},editType:"none"},selectdirection:{valType:"enumerated",role:"info",values:["h","v","d","any"],dflt:"any",description:["When `dragmode` is set to *select*, this limits the selection of the drag to","horizontal, vertical or diagonal. *h* only allows horizontal selection,","*v* only vertical, *d* only diagonal and *any* sets no limit."].join(" "),editType:"none"}}},l0fd:function(e,t,r){(t=r("JPst")(!1)).push([e.i,".spinner[data-v-5b598f45]{display:flex;justify-content:center;align-items:center}.spinner *[data-v-5b598f45]{line-height:0;box-sizing:border-box}.spinner-inner[data-v-5b598f45]{width:60px;height:30px;flex-shrink:0;background:#6ca;border-top-left-radius:32px;border-top-right-radius:32px;display:inline-block;overflow:hidden;position:relative;text-indent:-9999px}.spinner-inner[data-v-5b598f45]::before{animation:gauge-spinner-data-v-5b598f45 4000ms infinite ease;background:white;border-radius:2px;content:'';position:absolute;left:30px;top:5.33333px;width:4px;height:26.66667px;transform-origin:50% 100%}.spinner-inner[data-v-5b598f45]::after{content:'';background:white;border-radius:8px;position:absolute;left:25.6px;top:25.6px;width:12.8px;height:12.8px}@keyframes gauge-spinner-data-v-5b598f45{0%{transform:rotate(-50deg)}10%{transform:rotate(20deg)}20%{transform:rotate(60deg)}24%{transform:rotate(60deg)}40%{transform:rotate(-20deg)}54%{transform:rotate(70deg)}56%{transform:rotate(78deg)}58%{transform:rotate(73deg)}60%{transform:rotate(75deg)}62%{transform:rotate(70deg)}70%{transform:rotate(-20deg)}80%{transform:rotate(20deg)}83%{transform:rotate(25deg)}86%{transform:rotate(20deg)}89%{transform:rotate(25deg)}100%{transform:rotate(-50deg)}}\n",""]),e.exports=t},l1mV:function(e,t,r){"use strict";var n=r("Y9zF").FROM_BL;e.exports=function(e,t,r){void 0===r&&(r=n[e.constraintoward||"center"]);var a=[e.r2l(e.range[0]),e.r2l(e.range[1])],i=a[0]+(a[1]-a[0])*r;e.range=e._input.range=[e.l2r(i+(a[0]-i)*t),e.l2r(i+(a[1]-i)*t)]}},l3j2:function(e,t,r){"use strict";e.exports={moduleType:"component",name:"legend",layoutAttributes:r("6Ccv"),supplyLayoutDefaults:r("6BNG"),draw:r("Q9kw"),style:r("7ncg")}},l9FN:function(e,t,r){"use strict";var n=r("lNV6").hovertemplateAttrs,a=r("lNV6").texttemplateAttrs,i=r("9Okp"),o=r("gfA5").attributes,s=r("kZ5o"),l=r("8gD/"),c=r("I8wg"),u=r("kJIm").extendFlat;e.exports={labels:l.labels,parents:l.parents,values:l.values,branchvalues:l.branchvalues,count:l.count,level:l.level,maxdepth:l.maxdepth,tiling:{packing:{valType:"enumerated",values:["squarify","binary","dice","slice","slice-dice","dice-slice"],dflt:"squarify",role:"info",editType:"plot",description:["Determines d3 treemap solver.","For more info please refer to https://github.com/d3/d3-hierarchy#treemap-tiling"].join(" ")},squarifyratio:{valType:"number",role:"info",min:1,dflt:1,editType:"plot",description:["When using *squarify* `packing` algorithm, according to https://github.com/d3/d3-hierarchy/blob/master/README.md#squarify_ratio","this option specifies the desired aspect ratio of the generated rectangles.","The ratio must be specified as a number greater than or equal to one.","Note that the orientation of the generated rectangles (tall or wide)","is not implied by the ratio; for example, a ratio of two will attempt","to produce a mixture of rectangles whose width:height ratio is either 2:1 or 1:2.","When using *squarify*, unlike d3 which uses the Golden Ratio i.e. 1.618034,","Plotly applies 1 to increase squares in treemap layouts."].join(" ")},flip:{valType:"flaglist",role:"info",flags:["x","y"],dflt:"",editType:"plot",description:["Determines if the positions obtained from solver are flipped on each axis."].join(" ")},pad:{valType:"number",role:"style",min:0,dflt:3,editType:"plot",description:["Sets the inner padding (in px)."].join(" ")},editType:"calc"},marker:u({pad:{t:{valType:"number",role:"style",min:0,editType:"plot",description:["Sets the padding form the top (in px)."].join(" ")},l:{valType:"number",role:"style",min:0,editType:"plot",description:["Sets the padding form the left (in px)."].join(" ")},r:{valType:"number",role:"style",min:0,editType:"plot",description:["Sets the padding form the right (in px)."].join(" ")},b:{valType:"number",role:"style",min:0,editType:"plot",description:["Sets the padding form the bottom (in px)."].join(" ")},editType:"calc"},colors:l.marker.colors,depthfade:{valType:"enumerated",values:[!0,!1,"reversed"],editType:"style",role:"style",description:["Determines if the sector colors are faded towards","the background from the leaves up to the headers.","This option is unavailable when a `colorscale` is present,","defaults to false when `marker.colors` is set,","but otherwise defaults to true.","When set to *reversed*, the fading direction is inverted,","that is the top elements within hierarchy are drawn with fully saturated colors","while the leaves are faded towards the background color."].join(" ")},line:l.marker.line,editType:"calc"},i("marker",{colorAttr:"colors",anim:!1})),pathbar:{visible:{valType:"boolean",dflt:!0,role:"info",editType:"plot",description:["Determines if the path bar is drawn","i.e. outside the trace `domain` and","with one pixel gap."].join(" ")},side:{valType:"enumerated",values:["top","bottom"],dflt:"top",role:"info",editType:"plot",description:["Determines on which side of the the treemap the","`pathbar` should be presented."].join(" ")},edgeshape:{valType:"enumerated",values:[">","<","|","/","\\"],dflt:">",role:"style",editType:"plot",description:["Determines which shape is used for edges between `barpath` labels."].join(" ")},thickness:{valType:"number",min:12,role:"info",editType:"plot",description:["Sets the thickness of `pathbar` (in px). If not specified the `pathbar.textfont.size` is used","with 3 pixles extra padding on each side."].join(" ")},textfont:u({},s.textfont,{description:"Sets the font used inside `pathbar`."}),editType:"calc"},text:s.text,textinfo:l.textinfo,texttemplate:a({editType:"plot"},{keys:c.eventDataKeys.concat(["label","value"])}),hovertext:s.hovertext,hoverinfo:l.hoverinfo,hovertemplate:n({},{keys:c.eventDataKeys}),textfont:s.textfont,insidetextfont:s.insidetextfont,outsidetextfont:u({},s.outsidetextfont,{description:["Sets the font used for `textinfo` lying outside the sector.","This option refers to the root of the hierarchy","presented on top left corner of a treemap graph.","Please note that if a hierarchy has multiple root nodes,","this option won't have any effect and `insidetextfont` would be used."].join(" ")}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],dflt:"top left",role:"style",editType:"plot",description:["Sets the positions of the `text` elements."].join(" ")},domain:o({name:"treemap",trace:!0,editType:"calc"})}},lG6e:function(e,t,r){var n=r("BJA0");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("64ae42e4",n,!0,{})},lNV6:function(e,t,r){"use strict";var n=['Variables are inserted using %{variable}, for example "y: %{y}".','Numbers are formatted using d3-format\'s syntax %{variable:d3-format}, for example "Price: %{y:$.2f}".',r("eN+q").FORMAT_LINK,"for details on the formatting syntax.",'Dates are formatted using d3-time-format\'s syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}".',r("eN+q").DATE_FORMAT_LINK,"for details on the date formatting syntax."].join(" ");function a(e){var t=e.description?" "+e.description:"",r=e.keys||[];if(r.length>0){for(var n=[],a=0;a<r.length;a++)n[a]="`"+r[a]+"`";t+="Finally, the template string has access to ",t=1===r.length?"variable "+n[0]:"variables "+n.slice(0,-1).join(", ")+" and "+n.slice(-1)+"."}return t}t.hovertemplateAttrs=function(e,t){e=e||{};var r=a(t=t||{}),i={valType:"string",role:"info",dflt:"",editType:e.editType||"none",description:["Template string used for rendering the information that appear on hover box.","Note that this will override `hoverinfo`.",n,"The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data.","Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available.",r,'Anything contained in tag `<extra>` is displayed in the secondary box, for example "<extra>{fullData.name}</extra>".',"To hide the secondary box completely, use an empty tag `<extra></extra>`."].join(" ")};return!1!==e.arrayOk&&(i.arrayOk=!0),i},t.texttemplateAttrs=function(e,t){e=e||{};var r=a(t=t||{}),i={valType:"string",role:"info",dflt:"",editType:e.editType||"calc",description:["Template string used for rendering the information text that appear on points.","Note that this will override `textinfo`.",n,"Every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available.",r].join(" ")};return!1!==e.arrayOk&&(i.arrayOk=!0),i}},lUdJ:function(e,t,r){"use strict";e.exports=function(e,t){for(var r=e.length,n=0,a=0;a<r;a++)t[a]?(e[a]/=t[a],n+=e[a]):e[a]=null;return n}},lYq1:function(e,t,r){"use strict";t.manage=r("qeRF")},lbZy:function(e,t,r){var n=r("IUF9");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("28d3d55f",n,!0,{})},lnYW:function(e,t,r){"use strict";var n=r("bljh"),a=r("Zss7"),i=r("FHfC"),o=r("Nx4I"),s=r("/CZE"),l=r("A3kh"),c=r("0RW4"),u=r("g9E0"),d=r("pcRN"),f=r("BkK/"),h=r("DzeQ"),p=r("Tv4R"),g=r("4htA"),v=g.selectingOrDrawing,m=g.freeMode,y=r("Y9zF").FROM_TL,x=r("ghsG"),b=r("o5LV").redrawReglTraces,w=r("u3HJ"),_=r("PBw4").getFromId,k=r("GHb7").prepSelect,T=r("GHb7").clearSelect,M=r("GHb7").selectOnClick,S=r("l1mV"),A=r("0wH6"),C=A.MINDRAG,P=A.MINZOOM,O=!0;function I(e,t,r,n){var a=s.ensureSingle(e.draglayer,t,r,(function(t){t.classed("drag",!0).style({fill:"transparent","stroke-width":0}).attr("data-subplot",e.id)}));return a.call(h,n),a.node()}function z(e,t,r,a,i,o,s){var l=I(e,"rect",t,r);return n.select(l).call(u.setRect,a,i,o,s),l}function L(e,t){for(var r=0;r<e.length;r++)if(!e[r].fixedrange)return t;return""}function E(e,t,r,n,a){for(var i=0;i<e.length;i++){var o=e[i];if(!o.fixedrange)if(o.rangebreaks){var s="y"===o._id.charAt(0),l=s?1-t:t,c=s?1-r:r;n[o._name+".range[0]"]=o.l2r(o.p2l(l*o._length)),n[o._name+".range[1]"]=o.l2r(o.p2l(c*o._length))}else{var u=o._rl[0],d=o._rl[1]-u;n[o._name+".range[0]"]=o.l2r(u+d*t),n[o._name+".range[1]"]=o.l2r(u+d*r)}}if(a&&a.length){var f=(t+(1-r))/2;E(a,f,1-f,n,[])}}function j(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(!n.fixedrange)if(n.rangebreaks){var a=n._length,i=(n.p2l(0+t)-n.p2l(0)+(n.p2l(a+t)-n.p2l(a)))/2;n.range=[n.l2r(n._rl[0]-i),n.l2r(n._rl[1]-i)]}else n.range=[n.l2r(n._rl[0]-t/n._m),n.l2r(n._rl[1]-t/n._m)]}}function D(e){return 1-(e>=0?Math.min(e,.9):1/(1/Math.max(e,-.3)+3.222))}function R(e,t,r,n,a){return e.append("path").attr("class","zoombox").style({fill:t>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("transform","translate("+r+", "+n+")").attr("d",a+"Z")}function N(e,t,r){return e.append("path").attr("class","zoombox-corners").style({fill:c.background,stroke:c.defaultLine,"stroke-width":1,opacity:0}).attr("transform","translate("+t+", "+r+")").attr("d","M0,0Z")}function F(e,t,r,n,a,i){e.attr("d",n+"M"+r.l+","+r.t+"v"+r.h+"h"+r.w+"v-"+r.h+"h-"+r.w+"Z"),B(e,t,a,i)}function B(e,t,r,n){r||(e.transition().style("fill",n>.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),t.transition().style("opacity",1).duration(200))}function H(e){n.select(e).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}function V(e){O&&e.data&&e._context.showTips&&(s.notifier(s._(e,"Double-click to zoom back out"),"long"),O=!1)}function G(e){var t=Math.floor(Math.min(e.b-e.t,e.r-e.l,P)/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"}function Z(e,t,r,n){for(var a,i,o,l,c=!1,u={},d={},f=0;f<t.length;f++){var h=t[f];for(a in r)if(h[a]){for(o in h)("x"===o.charAt(0)?r:n)[o]||(u[o]=a);for(i in n)h[i]&&(c=!0)}for(i in n)if(h[i])for(l in h)("x"===l.charAt(0)?r:n)[l]||(d[l]=i)}c&&(s.extendFlat(u,d),d={});var p={},g=[];for(o in u){var v=_(e,o);g.push(v),p[v._id]=v}var m={},y=[];for(l in d){var x=_(e,l);y.push(x),m[x._id]=x}return{xaHash:p,yaHash:m,xaxes:g,yaxes:y,xLinks:u,yLinks:d,isSubplotConstrained:c}}function q(e,t){if(i){var r=void 0!==e.onwheel?"wheel":"mousewheel";e._onwheel&&e.removeEventListener(r,e._onwheel),e._onwheel=t,e.addEventListener(r,t,{passive:!1})}else void 0!==e.onwheel?e.onwheel=t:void 0!==e.onmousewheel?e.onmousewheel=t:e.isAddedWheelEvent||(e.isAddedWheelEvent=!0,e.addEventListener("wheel",t,{passive:!1}))}function U(e){var t=[];for(var r in e)t.push(e[r]);return t}e.exports={makeDragBox:function(e,t,r,i,c,h,g,O){var I,B,W,Y,X,$,J,K,Q,ee,te,re,ne,ae,ie,oe,se,le,ce,ue,de,fe=e._fullLayout._zoomlayer,he=g+O==="nsew",pe=1===(g+O).length;function ge(){if(I=t.xaxis,B=t.yaxis,Q=I._length,ee=B._length,J=I._offset,K=B._offset,(W={})[I._id]=I,(Y={})[B._id]=B,g&&O)for(var r=t.overlays,n=0;n<r.length;n++){var a=r[n].xaxis;W[a._id]=a;var i=r[n].yaxis;Y[i._id]=i}X=U(W),$=U(Y),ne=L(X,O),ae=L($,g),ie=!ae&&!ne,te=Z(e,e._fullLayout._axisConstraintGroups,W,Y),re=Z(e,e._fullLayout._axisMatchGroups,W,Y),oe=O||te.isSubplotConstrained||re.isSubplotConstrained,se=g||te.isSubplotConstrained||re.isSubplotConstrained;var o=e._fullLayout;le=o._has("scattergl"),ce=o._has("splom"),ue=o._has("svg")}ge();var ve=function(e,t,r){if(!e)return"pointer";if("nsew"===e)return r?"":"pan"===t?"move":"crosshair";return e.toLowerCase()+"-resize"}(ae+ne,e._fullLayout.dragmode,he),me=z(t,g+O+"drag",ve,r,i,c,h);if(ie&&!he)return me.onmousedown=null,me.style.pointerEvents="none",me;var ye,xe,be,we,_e,ke,Te,Me,Se,Ae,Ce={element:me,gd:e,plotinfo:t};function Pe(){Ce.plotinfo.selection=!1,T(e)}function Oe(e,r){var a=Ce.gd;if(a._fullLayout._activeShapeIndex>=0)a._fullLayout._deactivateShape(a);else{var i=a._fullLayout.clickmode;if(H(a),2!==e||pe||He(),he)i.indexOf("select")>-1&&M(r,a,X,$,t.id,Ce),i.indexOf("event")>-1&&d.click(a,r,t.id);else if(1===e&&pe){var s=g?B:I,c="s"===g||"w"===O?0:1,u=s._name+".range["+c+"]",f=function(e,t){var r,a=e.range[t],i=Math.abs(a-e.range[1-t]);return"date"===e.type?a:"log"===e.type?(r=Math.ceil(Math.max(0,-Math.log(i)/Math.LN10))+3,n.format("."+r+"g")(Math.pow(10,a))):(r=Math.floor(Math.log(Math.abs(a))/Math.LN10)-Math.floor(Math.log(i)/Math.LN10)+4,n.format("."+String(r)+"g")(a))}(s,c),h="left",p="middle";if(s.fixedrange)return;g?(p="n"===g?"top":"bottom","right"===s.side&&(h="right")):"e"===O&&(h="right"),a._context.showAxisRangeEntryBoxes&&n.select(me).call(l.makeEditable,{gd:a,immediate:!0,background:a._fullLayout.paper_bgcolor,text:String(f),fill:s.tickfont?s.tickfont.color:"#444",horizontalAlign:h,verticalAlign:p}).on("edit",(function(e){var t=s.d2r(e);void 0!==t&&o.call("_guiRelayout",a,u,t)}))}}}function Ie(t,r){if(e._transitioningWithDuration)return!1;var n=Math.max(0,Math.min(Q,t+ye)),a=Math.max(0,Math.min(ee,r+xe)),i=Math.abs(n-ye),o=Math.abs(a-xe);function s(){Te="",be.r=be.l,be.t=be.b,Se.attr("d","M0,0Z")}if(be.l=Math.min(ye,n),be.r=Math.max(ye,n),be.t=Math.min(xe,a),be.b=Math.max(xe,a),te.isSubplotConstrained)i>P||o>P?(Te="xy",i/Q>o/ee?(o=i*ee/Q,xe>a?be.t=xe-o:be.b=xe+o):(i=o*Q/ee,ye>n?be.l=ye-i:be.r=ye+i),Se.attr("d",G(be))):s();else if(re.isSubplotConstrained)if(i>P||o>P){Te="xy";var l=Math.min(be.l/Q,(ee-be.b)/ee),c=Math.max(be.r/Q,(ee-be.t)/ee);be.l=l*Q,be.r=c*Q,be.b=(1-l)*ee,be.t=(1-c)*ee,Se.attr("d",G(be))}else s();else!ae||o<Math.min(Math.max(.6*i,C),P)?i<C||!ne?s():(be.t=0,be.b=ee,Te="x",Se.attr("d",function(e,t){return"M"+(e.l-.5)+","+(t-P-.5)+"h-3v"+(2*P+1)+"h3ZM"+(e.r+.5)+","+(t-P-.5)+"h3v"+(2*P+1)+"h-3Z"}(be,xe))):!ne||i<Math.min(.6*o,P)?(be.l=0,be.r=Q,Te="y",Se.attr("d",function(e,t){return"M"+(t-P-.5)+","+(e.t-.5)+"v-3h"+(2*P+1)+"v3ZM"+(t-P-.5)+","+(e.b+.5)+"v3h"+(2*P+1)+"v-3Z"}(be,ye))):(Te="xy",Se.attr("d",G(be)));be.w=be.r-be.l,be.h=be.b-be.t,Te&&(Ae=!0),e._dragged=Ae,F(Me,Se,be,_e,ke,we),ze(),e.emit("plotly_relayouting",de),ke=!0}function ze(){de={},"xy"!==Te&&"x"!==Te||(E(X,be.l/Q,be.r/Q,de,te.xaxes),Fe("x",de)),"xy"!==Te&&"y"!==Te||(E($,(ee-be.b)/ee,(ee-be.t)/ee,de,te.yaxes),Fe("y",de))}function Le(){ze(),H(e),Ve(),V(e)}Ce.prepFn=function(t,r,n){var i=Ce.dragmode,o=e._fullLayout.dragmode;o!==i&&(Ce.dragmode=o),ge(),ie||(he?t.shiftKey?"pan"===o?o="zoom":v(o)||(o="pan"):t.ctrlKey&&(o="pan"):o="pan"),m(o)?Ce.minDrag=1:Ce.minDrag=void 0,v(o)?(Ce.xaxes=X,Ce.yaxes=$,k(t,r,n,Ce,o)):(Ce.clickFn=Oe,v(i)&&Pe(),ie||("zoom"===o?(Ce.moveFn=Ie,Ce.doneFn=Le,Ce.minDrag=1,function(t,r,n){var i=me.getBoundingClientRect();ye=r-i.left,xe=n-i.top,be={l:ye,r:ye,w:0,t:xe,b:xe,h:0},we=e._hmpixcount?e._hmlumcount/e._hmpixcount:a(e._fullLayout.plot_bgcolor).getLuminance(),ke=!1,Te="xy",Ae=!1,Me=R(fe,we,J,K,_e="M0,0H"+Q+"V"+ee+"H0V0"),Se=N(fe,J,K)}(0,r,n)):"pan"===o&&(Ce.moveFn=Ne,Ce.doneFn=Ve))),e._fullLayout._redrag=function(){var t=e._dragdata;if(t&&t.element===me){var r=e._fullLayout.dragmode;v(r)||(ge(),Ge([0,0,Q,ee]),Ce.moveFn(t.dx,t.dy))}}},p.init(Ce);var Ee=[0,0,Q,ee],je=null,De=A.REDRAWDELAY,Re=t.mainplot?e._fullLayout._plots[t.mainplot]:t;function Ne(t,r){if(!e._transitioningWithDuration){if(e._fullLayout._replotting=!0,"ew"===ne||"ns"===ae)return ne&&(j(X,t),Fe("x")),ae&&(j($,r),Fe("y")),Ge([ne?-t:0,ae?-r:0,Q,ee]),Be(),void e.emit("plotly_relayouting",de);if(te.isSubplotConstrained&&ne&&ae){var n="w"===ne==("n"===ae)?1:-1,a=(t/Q+n*r/ee)/2;t=a*Q,r=n*a*ee}"w"===ne?t=l(X,0,t):"e"===ne?t=l(X,1,-t):ne||(t=0),"n"===ae?r=l($,1,r):"s"===ae?r=l($,0,-r):ae||(r=0);var i="w"===ne?t:0,o="n"===ae?r:0;if(te.isSubplotConstrained){var s;if(!ne&&1===ae.length){for(s=0;s<X.length;s++)X[s].range=X[s]._r.slice(),S(X[s],1-r/ee);i=(t=r*Q/ee)/2}if(!ae&&1===ne.length){for(s=0;s<$.length;s++)$[s].range=$[s]._r.slice(),S($[s],1-t/Q);o=(r=t*ee/Q)/2}}Fe("x"),Fe("y"),Ge([i,o,Q-t,ee-r]),Be(),e.emit("plotly_relayouting",de)}function l(e,t,r){for(var n,a,i=1-t,o=0;o<e.length;o++){var s=e[o];if(!s.fixedrange){n=s,a=s._rl[i]+(s._rl[t]-s._rl[i])/D(r/s._length);var l=s.l2r(a);!1!==l&&void 0!==l&&(s.range[t]=l)}}return n._length*(n._rl[t]-a)/(n._rl[t]-n._rl[i])}}function Fe(e,t){for(var r=re.isSubplotConstrained?{x:$,y:X}[e]:re[e+"axes"],n=re.isSubplotConstrained?{x:X,y:$}[e]:[],a=0;a<r.length;a++){var i=r[a],o=i._id,s=re.xLinks[o]||re.yLinks[o],l=n[0]||W[s]||Y[s];l&&(t?(t[i._name+".range[0]"]=t[l._name+".range[0]"],t[i._name+".range[1]"]=t[l._name+".range[1]"]):i.range=l.range.slice())}}function Be(){var t,r=[];function n(e){for(t=0;t<e.length;t++)e[t].fixedrange||r.push(e[t]._id)}for(oe&&(n(X),n(te.xaxes),n(re.xaxes)),se&&(n($),n(te.yaxes),n(re.yaxes)),de={},t=0;t<r.length;t++){var a=r[t],i=_(e,a);f.drawOne(e,i,{skipTitle:!0}),de[i._name+".range[0]"]=i.range[0],de[i._name+".range[1]"]=i.range[1]}f.redrawComponents(e,r)}function He(){if(!e._transitioningWithDuration){var t=e._context.doubleClick,r=[];ne&&(r=r.concat(X)),ae&&(r=r.concat($)),re.xaxes&&(r=r.concat(re.xaxes)),re.yaxes&&(r=r.concat(re.yaxes));var n,a,i,s={};if("reset+autosize"===t)for(t="autosize",a=0;a<r.length;a++)if((n=r[a])._rangeInitial&&(n.range[0]!==n._rangeInitial[0]||n.range[1]!==n._rangeInitial[1])||!n._rangeInitial&&!n.autorange){t="reset";break}if("autosize"===t)for(a=0;a<r.length;a++)(n=r[a]).fixedrange||(s[n._name+".autorange"]=!0);else if("reset"===t)for((ne||te.isSubplotConstrained)&&(r=r.concat(te.xaxes)),ae&&!te.isSubplotConstrained&&(r=r.concat(te.yaxes)),te.isSubplotConstrained&&(ne?ae||(r=r.concat($)):r=r.concat(X)),a=0;a<r.length;a++)(n=r[a]).fixedrange||(n._rangeInitial?(i=n._rangeInitial,s[n._name+".range[0]"]=i[0],s[n._name+".range[1]"]=i[1]):s[n._name+".autorange"]=!0);e.emit("plotly_doubleclick",null),o.call("_guiRelayout",e,s)}}function Ve(){Ge([0,0,Q,ee]),s.syncOrAsync([w.previousPromises,function(){e._fullLayout._replotting=!1,o.call("_guiRelayout",e,de)}],e)}function Ge(t){var r,n,a,i,l=e._fullLayout,c=l._plots,d=l._subplots.cartesian;if(ce&&o.subplotsRegistry.splom.drag(e),le)for(r=0;r<d.length;r++)if(a=(n=c[d[r]]).xaxis,i=n.yaxis,n._scene){var f=s.simpleMap(a.range,a.r2l),h=s.simpleMap(i.range,i.r2l);n._scene.update({range:[f[0],h[0],f[1],h[1]]})}if((ce||le)&&(x(e),b(e)),ue){var p=t[2]/I._length,v=t[3]/B._length;for(r=0;r<d.length;r++){a=(n=c[d[r]]).xaxis,i=n.yaxis;var m,y,w,_,k=oe&&!a.fixedrange&&W[a._id],T=se&&!i.fixedrange&&Y[i._id];if(k?(m=p,w=O?t[0]:Ue(a,m)):re.xaHash[a._id]?(m=p,w=t[0]*a._length/I._length):re.yaHash[a._id]?(m=v,w="ns"===ae?-t[1]*a._length/B._length:Ue(a,m,{n:"top",s:"bottom"}[ae])):w=qe(a,m=Ze(a,p,v)),T?(y=v,_=g?t[1]:Ue(i,y)):re.yaHash[i._id]?(y=v,_=t[1]*i._length/B._length):re.xaHash[i._id]?(y=p,_="ew"===ne?-t[0]*i._length/I._length:Ue(i,y,{e:"right",w:"left"}[ne])):_=qe(i,y=Ze(i,p,v)),m||y){m||(m=1),y||(y=1);var M=a._offset-w/m,S=i._offset-_/y;n.clipRect.call(u.setTranslate,w,_).call(u.setScale,m,y),n.plot.call(u.setTranslate,M,S).call(u.setScale,1/m,1/y),m===n.xScaleFactor&&y===n.yScaleFactor||(u.setPointGroupScale(n.zoomScalePts,m,y),u.setTextPointsScale(n.zoomScaleTxt,m,y)),u.hideOutsideRangePoints(n.clipOnAxisFalseTraces,n),n.xScaleFactor=m,n.yScaleFactor=y}}}}function Ze(e,t,r){return e.fixedrange?0:oe&&te.xaHash[e._id]?t:se&&(te.isSubplotConstrained?te.xaHash:te.yaHash)[e._id]?r:0}function qe(e,t){return t?(e.range=e._r.slice(),S(e,t),Ue(e,t)):0}function Ue(e,t,r){return e._length*(1-t)*y[r||e.constraintoward||"middle"]}return g.length*O.length!=1&&q(me,(function(t){if(e._context._scrollZoom.cartesian||e._fullLayout._enablescrollzoom){if(Pe(),e._transitioningWithDuration)return t.preventDefault(),void t.stopPropagation();ge(),clearTimeout(je);var r=-t.deltaY;if(isFinite(r)||(r=t.wheelDelta/10),isFinite(r)){var n,a=Math.exp(-Math.min(Math.max(r,-20),20)/200),i=Re.draglayer.select(".nsewdrag").node().getBoundingClientRect(),o=(t.clientX-i.left)/i.width,l=(i.bottom-t.clientY)/i.height;if(oe){for(O||(o=.5),n=0;n<X.length;n++)c(X[n],o,a);Fe("x"),Ee[2]*=a,Ee[0]+=Ee[2]*o*(1/a-1)}if(se){for(g||(l=.5),n=0;n<$.length;n++)c($[n],l,a);Fe("y"),Ee[3]*=a,Ee[1]+=Ee[3]*(1-l)*(1/a-1)}Ge(Ee),Be(),e.emit("plotly_relayouting",de),je=setTimeout((function(){Ee=[0,0,Q,ee],Ve()}),De),t.preventDefault()}else s.log("Did not find wheel motion attributes: ",t)}function c(e,t,r){if(!e.fixedrange){var n=s.simpleMap(e.range,e.r2l),a=n[0]+(n[1]-n[0])*t;e.range=n.map((function(t){return e.l2r(a+(t-a)*r)}))}}})),me},makeDragger:I,makeRectDragger:z,makeZoombox:R,makeCorners:N,updateZoombox:F,xyCorners:G,transitionZoombox:B,removeZoombox:H,showDoubleClickNotifier:V,attachWheelEventHandler:q}},lzY6:function(e,t,r){},mAtN:function(e,t,r){var n=r("8SFS");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("5230d214",n,!0,{})},mEVB:function(e,t,r){"use strict";e.exports=function(e){var t=e.editType,r=e.colorEditType;void 0===r&&(r=t);var n={family:{valType:"string",role:"style",noBlank:!0,strict:!0,editType:t,description:["HTML font family - the typeface that will be applied by the web browser.","The web browser will only be able to apply a font if it is available on the system","which it operates. Provide multiple font families, separated by commas, to indicate","the preference in which to apply fonts if they aren't available on the system.","The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server,","where only a select number of","fonts are installed and supported.","These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*,","*Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*,","*PT Sans Narrow*, *Raleway*, *Times New Roman*."].join(" ")},size:{valType:"number",role:"style",min:1,editType:t},color:{valType:"color",role:"style",editType:r},editType:t,description:""+(e.description||"")};return e.arrayOk&&(n.family.arrayOk=!0,n.size.arrayOk=!0,n.color.arrayOk=!0),n}},mHoQ:function(e,t,r){var n=r("wLBI");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("8c1d5268",n,!0,{})},mT3X:function(e,t,r){"use strict";var n=r("mHoQ");r.n(n).a},mTXg:function(e,t,r){var n=r("wU1k");e.exports=function(e,t,r){function a(e,t,n){return{id:r?r.segmentId():-1,start:e,end:t,myFill:{above:n.myFill.above,below:n.myFill.below},otherFill:null}}var i=n.create();function o(e,r){i.insertBefore(e,(function(n){return function(e,r,n,a,i,o){var s=t.pointsCompare(r,i);return 0!==s?s:t.pointsSame(n,o)?0:e!==a?e?1:-1:t.pointAboveOrOnLine(n,a?i:o,a?o:i)?1:-1}(e.isStart,e.pt,r,n.isStart,n.pt,n.other.pt)<0}))}function s(e,t){var r=function(e,t){var r=n.node({isStart:!0,pt:e.start,seg:e,primary:t,other:null,status:null});return o(r,e.end),r}(e,t);return function(e,t,r){var a=n.node({isStart:!1,pt:t.end,seg:t,primary:r,other:e,status:null});e.other=a,o(a,e.pt)}(r,e,t),r}function l(e,t){var n=a(t,e.seg.end,e.seg);return function(e,t){r&&r.segmentChop(e.seg,t),e.other.remove(),e.seg.end=t,e.other.pt=t,o(e.other,e.pt)}(e,t),s(n,e.primary)}function c(a,o){var s=n.create();function c(e){return s.findTransition((function(r){var n,a,i,o,s,l;return(n=e,a=r.ev,i=n.seg.start,o=n.seg.end,s=a.seg.start,l=a.seg.end,t.pointsCollinear(i,s,l)?t.pointsCollinear(o,s,l)||t.pointAboveOrOnLine(o,s,l)?1:-1:t.pointAboveOrOnLine(i,s,l)?1:-1)>0}))}function u(e,n){var a=e.seg,i=n.seg,o=a.start,s=a.end,c=i.start,u=i.end;r&&r.checkIntersection(a,i);var d=t.linesIntersect(o,s,c,u);if(!1===d){if(!t.pointsCollinear(o,s,c))return!1;if(t.pointsSame(o,u)||t.pointsSame(s,c))return!1;var f=t.pointsSame(o,c),h=t.pointsSame(s,u);if(f&&h)return n;var p=!f&&t.pointBetween(o,c,u),g=!h&&t.pointBetween(s,c,u);if(f)return g?l(n,s):l(e,u),n;p&&(h||(g?l(n,s):l(e,u)),l(n,o))}else 0===d.alongA&&(-1===d.alongB?l(e,c):0===d.alongB?l(e,d.pt):1===d.alongB&&l(e,u)),0===d.alongB&&(-1===d.alongA?l(n,o):0===d.alongA?l(n,d.pt):1===d.alongA&&l(n,s));return!1}for(var d=[];!i.isEmpty();){var f=i.getHead();if(r&&r.vert(f.pt[0]),f.isStart){r&&r.segmentNew(f.seg,f.primary);var h=c(f),p=h.before?h.before.ev:null,g=h.after?h.after.ev:null;function v(){if(p){var e=u(f,p);if(e)return e}return!!g&&u(f,g)}r&&r.tempStatus(f.seg,!!p&&p.seg,!!g&&g.seg);var m,y=v();if(y){var x;if(e)(x=null===f.seg.myFill.below||f.seg.myFill.above!==f.seg.myFill.below)&&(y.seg.myFill.above=!y.seg.myFill.above);else y.seg.otherFill=f.seg.myFill;r&&r.segmentUpdate(y.seg),f.other.remove(),f.remove()}if(i.getHead()!==f){r&&r.rewind(f.seg);continue}if(e)x=null===f.seg.myFill.below||f.seg.myFill.above!==f.seg.myFill.below,f.seg.myFill.below=g?g.seg.myFill.above:a,f.seg.myFill.above=x?!f.seg.myFill.below:f.seg.myFill.below;else if(null===f.seg.otherFill)m=g?f.primary===g.primary?g.seg.otherFill.above:g.seg.myFill.above:f.primary?o:a,f.seg.otherFill={above:m,below:m};r&&r.status(f.seg,!!p&&p.seg,!!g&&g.seg),f.other.status=h.insert(n.node({ev:f}))}else{var b=f.status;if(null===b)throw new Error("PolyBool: Zero-length segment detected; your epsilon is probably too small or too large");if(s.exists(b.prev)&&s.exists(b.next)&&u(b.prev.ev,b.next.ev),r&&r.statusRemove(b.ev.seg),b.remove(),!f.primary){var w=f.seg.myFill;f.seg.myFill=f.seg.otherFill,f.seg.otherFill=w}d.push(f.seg)}i.getHead().remove()}return r&&r.done(),d}return e?{addRegion:function(e){for(var n,a,i,o=e[e.length-1],l=0;l<e.length;l++){n=o,o=e[l];var c=t.pointsCompare(n,o);0!==c&&s((a=c<0?n:o,i=c<0?o:n,{id:r?r.segmentId():-1,start:a,end:i,myFill:{above:null,below:null},otherFill:null}),!0)}},calculate:function(e){return c(e,!1)}}:{calculate:function(e,t,r,n){return e.forEach((function(e){s(a(e.start,e.end,e),!0)})),r.forEach((function(e){s(a(e.start,e.end,e),!1)})),c(t,n)}}}},nF9v:function(e,t,r){"use strict";var n=r("mEVB"),a=r("grU7"),i=r("kJIm").extendDeepAll,o=r("yzSc").overrideAll,s=r("W2jp"),l=r("plED").templatedArray,c=r("5jll"),u=l("step",{visible:{valType:"boolean",role:"info",dflt:!0,description:["Determines whether or not this step is included in the slider."].join(" ")},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle",role:"info",description:["Sets the Plotly method to be called when the slider value is changed.","If the `skip` method is used, the API slider will function as normal","but will perform no API calls and will not bind automatically to state","updates. This may be used to create a component interface and attach to","slider events manually via JavaScript."].join(" ")},args:{valType:"info_array",role:"info",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}],description:["Sets the arguments values to be passed to the Plotly","method set in `method` on slide."].join(" ")},label:{valType:"string",role:"info",description:"Sets the text label to appear on the slider"},value:{valType:"string",role:"info",description:["Sets the value of the slider step, used to refer to the step programatically.","Defaults to the slider label if not provided."].join(" ")},execute:{valType:"boolean",role:"info",dflt:!0,description:["When true, the API method is executed. When false, all other behaviors are the same","and command execution is skipped. This may be useful when hooking into, for example,","the `plotly_sliderchange` method and executing the API command manually without losing","the benefit of the slider automatically binding to the state of the plot through the","specification of `method` and `args`."].join(" ")}});e.exports=o(l("slider",{visible:{valType:"boolean",role:"info",dflt:!0,description:["Determines whether or not the slider is visible."].join(" ")},active:{valType:"number",role:"info",min:0,dflt:0,description:["Determines which button (by index starting from 0) is","considered active."].join(" ")},steps:u,lenmode:{valType:"enumerated",values:["fraction","pixels"],role:"info",dflt:"fraction",description:["Determines whether this slider length","is set in units of plot *fraction* or in *pixels.","Use `len` to set the value."].join(" ")},len:{valType:"number",min:0,dflt:1,role:"style",description:["Sets the length of the slider","This measure excludes the padding of both ends.","That is, the slider's length is this length minus the","padding on both ends."].join(" ")},x:{valType:"number",min:-2,max:3,dflt:0,role:"style",description:"Sets the x position (in normalized coordinates) of the slider."},pad:i(a({editType:"arraydraw"}),{description:"Set the padding of the slider component along each side."},{t:{dflt:20}}),xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left",role:"info",description:["Sets the slider's horizontal position anchor.","This anchor binds the `x` position to the *left*, *center*","or *right* of the range selector."].join(" ")},y:{valType:"number",min:-2,max:3,dflt:0,role:"style",description:"Sets the y position (in normalized coordinates) of the slider."},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top",role:"info",description:["Sets the slider's vertical position anchor","This anchor binds the `y` position to the *top*, *middle*","or *bottom* of the range selector."].join(" ")},transition:{duration:{valType:"number",role:"info",min:0,dflt:150,description:"Sets the duration of the slider transition"},easing:{valType:"enumerated",values:s.transition.easing.values,role:"info",dflt:"cubic-in-out",description:"Sets the easing function of the slider transition"}},currentvalue:{visible:{valType:"boolean",role:"info",dflt:!0,description:["Shows the currently-selected value above the slider."].join(" ")},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left",role:"info",description:["The alignment of the value readout relative to the length of the slider."].join(" ")},offset:{valType:"number",dflt:10,role:"info",description:["The amount of space, in pixels, between the current value label","and the slider."].join(" ")},prefix:{valType:"string",role:"info",description:"When currentvalue.visible is true, this sets the prefix of the label."},suffix:{valType:"string",role:"info",description:"When currentvalue.visible is true, this sets the suffix of the label."},font:n({description:"Sets the font of the current value label text."})},font:n({description:"Sets the font of the slider step labels."}),activebgcolor:{valType:"color",role:"style",dflt:c.gripBgActiveColor,description:["Sets the background color of the slider grip","while dragging."].join(" ")},bgcolor:{valType:"color",role:"style",dflt:c.railBgColor,description:"Sets the background color of the slider."},bordercolor:{valType:"color",dflt:c.railBorderColor,role:"style",description:"Sets the color of the border enclosing the slider."},borderwidth:{valType:"number",min:0,dflt:c.railBorderWidth,role:"style",description:"Sets the width (in px) of the border enclosing the slider."},ticklen:{valType:"number",min:0,dflt:c.tickLength,role:"style",description:"Sets the length in pixels of step tick marks"},tickcolor:{valType:"color",dflt:c.tickColor,role:"style",description:"Sets the color of the border enclosing the slider."},tickwidth:{valType:"number",min:0,dflt:1,role:"style",description:"Sets the tick width (in px)."},minorticklen:{valType:"number",min:0,dflt:c.minorTickLength,role:"style",description:"Sets the length in pixels of minor step tick marks"}}),"arraydraw","from-root")},nIhz:function(e,t,r){"use strict";var n=r("zDTy");r.n(n).a},nPGn:function(e,t,r){"use strict";var n=r("6AZA"),a=n.BADNUM,i=n.LOG_CLIP,o=i+.5,s=i-.5,l=r("/CZE"),c=l.segmentsIntersect,u=l.constrain,d=r("3mkv");e.exports=function(e,t){var r,n,i,f,h,p,g,v,m,y,x,b,w,_,k,T,M,S,A=t.xaxis,C=t.yaxis,P="log"===A.type,O="log"===C.type,I=A._length,z=C._length,L=t.connectGaps,E=t.baseTolerance,j=t.shape,D="linear"===j,R=t.fill&&"none"!==t.fill,N=[],F=d.minTolerance,B=e.length,H=new Array(B),V=0;function G(r){var n=e[r];if(!n)return!1;var i=t.linearized?A.l2p(n.x):A.c2p(n.x),l=t.linearized?C.l2p(n.y):C.c2p(n.y);if(i===a){if(P&&(i=A.c2p(n.x,!0)),i===a)return!1;O&&l===a&&(i*=Math.abs(A._m*z*(A._m>0?o:s)/(C._m*I*(C._m>0?o:s)))),i*=1e3}if(l===a){if(O&&(l=C.c2p(n.y,!0)),l===a)return!1;l*=1e3}return[i,l]}function Z(e,t,r,n){var a=r-e,i=n-t,o=.5-e,s=.5-t,l=a*a+i*i,c=a*o+i*s;if(c>0&&c<l){var u=o*i-s*a;if(u*u<l)return!0}}function q(e,t){var r=e[0]/I,n=e[1]/z,a=Math.max(0,-r,r-1,-n,n-1);return a&&void 0!==M&&Z(r,n,M,S)&&(a=0),a&&t&&Z(r,n,t[0]/I,t[1]/z)&&(a=0),(1+d.toleranceGrowth*a)*E}function U(e,t){var r=e[0]-t[0],n=e[1]-t[1];return Math.sqrt(r*r+n*n)}var W,Y,X,$,J,K,Q,ee=d.maxScreensAway,te=-I*ee,re=I*(1+ee),ne=-z*ee,ae=z*(1+ee),ie=[[te,ne,re,ne],[re,ne,re,ae],[re,ae,te,ae],[te,ae,te,ne]];function oe(e){if(e[0]<te||e[0]>re||e[1]<ne||e[1]>ae)return[u(e[0],te,re),u(e[1],ne,ae)]}function se(e,t){return e[0]===t[0]&&(e[0]===te||e[0]===re)||(e[1]===t[1]&&(e[1]===ne||e[1]===ae)||void 0)}function le(e,t,r){return function(n,a){var i=oe(n),o=oe(a),s=[];if(i&&o&&se(i,o))return s;i&&s.push(i),o&&s.push(o);var c=2*l.constrain((n[e]+a[e])/2,t,r)-((i||n)[e]+(o||a)[e]);c&&((i&&o?c>0==i[e]>o[e]?i:o:i||o)[e]+=c);return s}}function ce(e){var t=e[0],r=e[1],n=t===H[V-1][0],a=r===H[V-1][1];if(!n||!a)if(V>1){var i=t===H[V-2][0],o=r===H[V-2][1];n&&(t===te||t===re)&&i?o?V--:H[V-1]=e:a&&(r===ne||r===ae)&&o?i?V--:H[V-1]=e:H[V++]=e}else H[V++]=e}function ue(e){H[V-1][0]!==e[0]&&H[V-1][1]!==e[1]&&ce([X,$]),ce(e),J=null,X=$=0}function de(e){if(M=e[0]/I,S=e[1]/z,W=e[0]<te?te:e[0]>re?re:0,Y=e[1]<ne?ne:e[1]>ae?ae:0,W||Y){if(V)if(J){var t=Q(J,e);t.length>1&&(ue(t[0]),H[V++]=t[1])}else K=Q(H[V-1],e)[0],H[V++]=K;else H[V++]=[W||e[0],Y||e[1]];var r=H[V-1];W&&Y&&(r[0]!==W||r[1]!==Y)?(J&&(X!==W&&$!==Y?ce(X&&$?(n=J,i=(a=e)[0]-n[0],o=(a[1]-n[1])/i,(n[1]*a[0]-a[1]*n[0])/i>0?[o>0?te:re,ae]:[o>0?re:te,ne]):[X||W,$||Y]):X&&$&&ce([X,$])),ce([W,Y])):X-W&&$-Y&&ce([W||X,Y||$]),J=e,X=W,$=Y}else J&&ue(Q(J,e)[0]),H[V++]=e;var n,a,i,o}for("linear"===j||"spline"===j?Q=function(e,t){for(var r=[],n=0,a=0;a<4;a++){var i=ie[a],o=c(e[0],e[1],t[0],t[1],i[0],i[1],i[2],i[3]);o&&(!n||Math.abs(o.x-r[0][0])>1||Math.abs(o.y-r[0][1])>1)&&(o=[o.x,o.y],n&&U(o,e)<U(r[0],e)?r.unshift(o):r.push(o),n++)}return r}:"hv"===j||"vh"===j?Q=function(e,t){var r=[],n=oe(e),a=oe(t);return n&&a&&se(n,a)||(n&&r.push(n),a&&r.push(a)),r}:"hvh"===j?Q=le(0,te,re):"vhv"===j&&(Q=le(1,ne,ae)),r=0;r<B;r++)if(n=G(r)){for(V=0,J=null,de(n),r++;r<B;r++){if(!(f=G(r))){if(L)continue;break}if(D&&t.simplify){var fe=G(r+1);if(y=U(f,n),R&&(0===V||V===B-1)||!(y<q(f,fe)*F)){for(v=[(f[0]-n[0])/y,(f[1]-n[1])/y],h=n,x=y,b=_=k=0,g=!1,i=f,r++;r<e.length;r++){if(p=fe,fe=G(r+1),!p){if(L)continue;break}if(T=(m=[p[0]-n[0],p[1]-n[1]])[0]*v[1]-m[1]*v[0],_=Math.min(_,T),(k=Math.max(k,T))-_>q(p,fe))break;i=p,(w=m[0]*v[0]+m[1]*v[1])>x?(x=w,f=p,g=!1):w<b&&(b=w,h=p,g=!0)}if(g?(de(f),i!==h&&de(h)):(h!==n&&de(h),i!==f&&de(f)),de(i),r>=e.length||!p)break;de(p),n=p}}else de(f)}J&&ce([X||J[0],$||J[1]]),N.push(H.slice(0,V))}return N}},nTMW:function(e,t,r){"use strict";var n=r("bljh");e.exports=function(e,t){var r=e._name,a={};if("all"===t.step)a[r+".autorange"]=!0;else{var i=function(e,t){var r,a=e.range,i=new Date(e.r2l(a[1])),o=t.step,s=t.count;switch(t.stepmode){case"backward":r=e.l2r(+n.time[o].utc.offset(i,-s));break;case"todate":var l=n.time[o].utc.offset(i,-s);r=e.l2r(+n.time[o].utc.ceil(l))}var c=a[1];return[r,c]}(e,t);a[r+".range[0]"]=i[0],a[r+".range[1]"]=i[1]}return a}},npri:function(e,t,r){"use strict";var n=r("rWI/").getSubplotCalcData,a=r("/CZE").counterRegex,i=r("28dr"),o="geo",s=a(o),l={};l.geo={valType:"subplotid",role:"info",dflt:o,editType:"calc",description:["Sets a reference between this trace's geospatial coordinates and","a geographic map.","If *geo* (the default value), the geospatial coordinates refer to","`layout.geo`.","If *geo2*, the geospatial coordinates refer to `layout.geo2`,","and so on."].join(" ")},e.exports={attr:o,name:o,idRoot:o,idRegex:s,attrRegex:s,attributes:l,layoutAttributes:r("Rb6W"),supplyLayoutDefaults:r("sahz"),plot:function(e){for(var t=e._fullLayout,r=e.calcdata,a=t._subplots.geo,s=0;s<a.length;s++){var l=a[s],c=n(r,o,l),u=t[l]._subplot;u||(u=i({id:l,graphDiv:e,container:t._geolayer.node(),topojsonURL:e._context.topojsonURL,staticPlot:e._context.staticPlot}),t[l]._subplot=u),u.plot(c,t,e._promises)}},updateFx:function(e){for(var t=e._fullLayout,r=t._subplots.geo,n=0;n<r.length;n++){var a=t[r[n]];a._subplot.updateFx(t,a)}},clean:function(e,t,r,n){for(var a=n._subplots.geo||[],i=0;i<a.length;i++){var o=a[i],s=n[o]._subplot;!t[o]&&s&&(s.framework.remove(),s.clipDef.remove())}}}},nwId:function(e,t,r){var n=r("BvIZ");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("69930572",n,!0,{})},o5Ge:function(e,t,r){"use strict";var n=r("/CZE"),a=r("xMdC").isUnifiedHover,i=r("kn30"),o=r("VNna"),s=r("IJNW");e.exports=function(e,t,r){function l(r,a){return n.coerce(e,t,i,r,a)}var c=o(e,t,r);c&&(l("hoverdistance"),l("spikedistance",a(c)?-1:void 0)),"select"===l("dragmode")&&l("selectdirection");var u=t._has("mapbox"),d=t._has("geo"),f=t._basePlotModules.length;"zoom"===t.dragmode&&((u||d)&&1===f||u&&d&&2===f)&&(t.dragmode="pan"),s(e,t,l)}},o5LV:function(e,t,r){"use strict";var n=r("bljh"),a=r("Nx4I"),i=r("u3HJ"),o=r("/CZE"),s=r("ghsG"),l=r("0RW4"),c=r("g9E0"),u=r("GZnn"),d=r("lYq1"),f=r("BkK/"),h=r("Y9zF"),p=r("at2O"),g=p.enforce,v=p.clean,m=r("zlYT").doAutoRange;function y(e,t,r){for(var n=0;n<r.length;n++){var a=r[n][0],i=r[n][1];if(!(a[0]>=e[1]||a[1]<=e[0])&&(i[0]<t[1]&&i[1]>t[0]))return!0}return!1}function x(e){var r,a,s,u,p,g,v=e._fullLayout,m=v._size,x=m.p,w=f.list(e,"",!0);if(v._paperdiv.style({width:e._context.responsive&&v.autosize&&!e._context._hasZeroWidth&&!e.layout.width?"100%":v.width+"px",height:e._context.responsive&&v.autosize&&!e._context._hasZeroHeight&&!e.layout.height?"100%":v.height+"px"}).selectAll(".main-svg").call(c.setSize,v.width,v.height),e._context.setBackground(e,v.paper_bgcolor),t.drawMainTitle(e),d.manage(e),!v._has("cartesian"))return i.previousPromises(e);function k(e,t,r){var n=e._lw/2;return"x"===e._id.charAt(0)?t?"top"===r?t._offset-x-n:t._offset+t._length+x+n:m.t+m.h*(1-(e.position||0))+n%1:t?"right"===r?t._offset+t._length+x+n:t._offset-x-n:m.l+m.w*(e.position||0)+n%1}for(r=0;r<w.length;r++){var T=(u=w[r])._anchorAxis;u._linepositions={},u._lw=c.crispRound(e,u.linewidth,1),u._mainLinePosition=k(u,T,u.side),u._mainMirrorPosition=u.mirror&&T?k(u,T,h.OPPOSITE_SIDE[u.side]):null}var M=[],S=[],A=[],C=1===l.opacity(v.paper_bgcolor)&&1===l.opacity(v.plot_bgcolor)&&v.paper_bgcolor===v.plot_bgcolor;for(a in v._plots)if((s=v._plots[a]).mainplot)s.bg&&s.bg.remove(),s.bg=void 0;else{var P=s.xaxis.domain,O=s.yaxis.domain,I=s.plotgroup;if(y(P,O,A)){var z=I.node(),L=s.bg=o.ensureSingle(I,"rect","bg");z.insertBefore(L.node(),z.childNodes[0]),S.push(a)}else I.select("rect.bg").remove(),A.push([P,O]),C||(M.push(a),S.push(a))}var E,j,D,R,N,F,B,H,V,G,Z,q,U,W=v._bgLayer.selectAll(".bg").data(M);for(W.enter().append("rect").classed("bg",!0),W.exit().remove(),W.each((function(e){v._plots[e].bg=n.select(this)})),r=0;r<S.length;r++)s=v._plots[S[r]],p=s.xaxis,g=s.yaxis,s.bg&&s.bg.call(c.setRect,p._offset-x,g._offset-x,p._length+2*x,g._length+2*x).call(l.fill,v.plot_bgcolor).style("stroke-width",0);if(!v._hasOnlyLargeSploms)for(a in v._plots){s=v._plots[a],p=s.xaxis,g=s.yaxis;var Y,X,$=s.clipId="clip"+v._uid+a+"plot",J=o.ensureSingleById(v._clips,"clipPath",$,(function(e){e.classed("plotclip",!0).append("rect")}));s.clipRect=J.select("rect").attr({width:p._length,height:g._length}),c.setTranslate(s.plot,p._offset,g._offset),s._hasClipOnAxisFalse?(Y=null,X=$):(Y=$,X=null),c.setClipUrl(s.plot,Y,e),s.layerClipId=X}function K(e){return"M"+E+","+e+"H"+j}function Q(e){return"M"+p._offset+","+e+"h"+p._length}function ee(e){return"M"+e+","+H+"V"+B}function te(e){return"M"+e+","+g._offset+"v"+g._length}function re(e,t,r){if(!e.showline||a!==e._mainSubplot)return"";if(!e._anchorAxis)return r(e._mainLinePosition);var n=t(e._mainLinePosition);return e.mirror&&(n+=t(e._mainMirrorPosition)),n}for(a in v._plots){s=v._plots[a],p=s.xaxis,g=s.yaxis;var ne="M0,0";b(p,a)&&(N=_(p,"left",g,w),E=p._offset-(N?x+N:0),F=_(p,"right",g,w),j=p._offset+p._length+(F?x+F:0),D=k(p,g,"bottom"),R=k(p,g,"top"),!(U=!p._anchorAxis||a!==p._mainSubplot)||"allticks"!==p.mirror&&"all"!==p.mirror||(p._linepositions[a]=[D,R]),ne=re(p,K,Q),U&&p.showline&&("all"===p.mirror||"allticks"===p.mirror)&&(ne+=K(D)+K(R)),s.xlines.style("stroke-width",p._lw+"px").call(l.stroke,p.showline?p.linecolor:"rgba(0,0,0,0)")),s.xlines.attr("d",ne);var ae="M0,0";b(g,a)&&(Z=_(g,"bottom",p,w),B=g._offset+g._length+(Z?x:0),q=_(g,"top",p,w),H=g._offset-(q?x:0),V=k(g,p,"left"),G=k(g,p,"right"),!(U=!g._anchorAxis||a!==g._mainSubplot)||"allticks"!==g.mirror&&"all"!==g.mirror||(g._linepositions[a]=[V,G]),ae=re(g,ee,te),U&&g.showline&&("all"===g.mirror||"allticks"===g.mirror)&&(ae+=ee(V)+ee(G)),s.ylines.style("stroke-width",g._lw+"px").call(l.stroke,g.showline?g.linecolor:"rgba(0,0,0,0)")),s.ylines.attr("d",ae)}return f.makeClipPaths(e),i.previousPromises(e)}function b(e,t){return(e.ticks||e.showline)&&(t===e._mainSubplot||"all"===e.mirror||"allticks"===e.mirror)}function w(e,t,r){if(!r.showline||!r._lw)return!1;if("all"===r.mirror||"allticks"===r.mirror)return!0;var n=r._anchorAxis;if(!n)return!1;var a=h.FROM_BL[t];return r.side===t?n.domain[a]===e.domain[a]:r.mirror&&n.domain[1-a]===e.domain[1-a]}function _(e,t,r,n){if(w(e,t,r))return r._lw;for(var a=0;a<n.length;a++){var i=n[a];if(i._mainAxis===r._mainAxis&&w(e,t,i))return i._lw}return 0}function k(e,t){var r=e.title,n=e._size,a=0;switch("start"===t?a=r.pad.l:"end"===t&&(a=-r.pad.r),r.xref){case"paper":return n.l+n.w*r.x+a;case"container":default:return e.width*r.x+a}}function T(e,t){var r=e.title,n=e._size,a=0;if("0em"!==t&&t?t===h.CAP_SHIFT+"em"&&(a=r.pad.t):a=-r.pad.b,"auto"===r.y)return n.t/2;switch(r.yref){case"paper":return n.t+n.h-n.h*r.y+a;case"container":default:return e.height-e.height*r.y+a}}t.layoutStyles=function(e){return o.syncOrAsync([i.doAutoMargin,x],e)},t.drawMainTitle=function(e){var t=e._fullLayout,r=function(e){var t=e.title,r="middle";o.isRightAnchor(t)?r="end":o.isLeftAnchor(t)&&(r="start");return r}(t),n=function(e){var t=e.title,r="0em";o.isTopAnchor(t)?r=h.CAP_SHIFT+"em":o.isMiddleAnchor(t)&&(r=h.MID_SHIFT+"em");return r}(t);u.draw(e,"gtitle",{propContainer:t,propName:"title.text",placeholder:t._dfltTitle.plot,attributes:{x:k(t,r),y:T(t,n),"text-anchor":r,dy:n}})},t.doTraceStyle=function(e){var r,n=e.calcdata,o=[];for(r=0;r<n.length;r++){var l=n[r],c=l[0]||{},u=c.trace||{},d=u._module||{},f=d.arraysToCalcdata;f&&f(l,u);var h=d.editStyle;h&&o.push({fn:h,cd0:c})}if(o.length){for(r=0;r<o.length;r++){var p=o[r];p.fn(e,p.cd0)}s(e),t.redrawReglTraces(e)}return i.style(e),a.getComponentMethod("legend","draw")(e),i.previousPromises(e)},t.doColorBars=function(e){return a.getComponentMethod("colorbar","draw")(e),i.previousPromises(e)},t.layoutReplot=function(e){var t=e.layout;return e.layout=void 0,a.call("plot",e,"",t)},t.doLegend=function(e){return a.getComponentMethod("legend","draw")(e),i.previousPromises(e)},t.doTicksRelayout=function(e){return f.draw(e,"redraw"),e._fullLayout._hasOnlyLargeSploms&&(a.subplotsRegistry.splom.updateGrid(e),s(e),t.redrawReglTraces(e)),t.drawMainTitle(e),i.previousPromises(e)},t.doModeBar=function(e){var t=e._fullLayout;d.manage(e);for(var r=0;r<t._basePlotModules.length;r++){var n=t._basePlotModules[r].updateFx;n&&n(e)}return i.previousPromises(e)},t.doCamera=function(e){for(var t=e._fullLayout,r=t._subplots.gl3d,n=0;n<r.length;n++){var a=t[r[n]];a._scene.setViewport(a)}},t.drawData=function(e){var r=e._fullLayout;s(e);for(var n=r._basePlotModules,o=0;o<n.length;o++)n[o].plot(e);return t.redrawReglTraces(e),i.style(e),a.getComponentMethod("shapes","draw")(e),a.getComponentMethod("annotations","draw")(e),a.getComponentMethod("images","draw")(e),r._replotting=!1,i.previousPromises(e)},t.redrawReglTraces=function(e){var t=e._fullLayout;if(t._has("regl")){var r,n,a=e._fullData,i=[],s=[];for(t._hasOnlyLargeSploms&&t._splomGrid.draw(),r=0;r<a.length;r++){var l=a[r];!0===l.visible&&0!==l._length&&("splom"===l.type?t._splomScenes[l.uid].draw():"scattergl"===l.type?o.pushUnique(i,l.xaxis+l.yaxis):"scatterpolargl"===l.type&&o.pushUnique(s,l.subplot))}for(r=0;r<i.length;r++)(n=t._plots[i[r]])._scene&&n._scene.draw();for(r=0;r<s.length;r++)(n=t[s[r]]._subplot)._scene&&n._scene.draw()}},t.doAutoRangeAndConstraints=function(e){for(var t,r,n=e._fullLayout,a=f.list(e,"",!0),i=n._axisMatchGroups||[],s={},l=0;l<a.length;l++)t=a[l],v(e,t),m(e,t),s[t._id]=1;g(e);e:for(var c=0;c<i.length;c++){var u,d=i[c],h=null;for(u in d)if(s[(t=f.getFromId(e,u))._id]){if(!1===t.autorange)continue e;r=o.simpleMap(t.range,t.r2l),h?h[0]<h[1]?(h[0]=Math.min(h[0],r[0]),h[1]=Math.max(h[1],r[1])):(h[0]=Math.max(h[0],r[0]),h[1]=Math.min(h[1],r[1])):h=r}for(u in d)(t=f.getFromId(e,u)).range=o.simpleMap(h,t.l2r),t._input.range=t.range.slice(),t.setScale()}},t.finalDraw=function(e){a.getComponentMethod("rangeslider","draw")(e),a.getComponentMethod("rangeselector","draw")(e)},t.drawMarginPushers=function(e){a.getComponentMethod("legend","draw")(e),a.getComponentMethod("rangeselector","draw")(e),a.getComponentMethod("sliders","draw")(e),a.getComponentMethod("updatemenus","draw")(e),a.getComponentMethod("colorbar","draw")(e)}},oBF0:function(e,t,r){"use strict";var n=r("GbLo"),a=r("avjU").isArrayOrTypedArray;t.aggNums=function(e,r,i,o){var s,l;if((!o||o>i.length)&&(o=i.length),n(r)||(r=!1),a(i[0])){for(l=new Array(o),s=0;s<o;s++)l[s]=t.aggNums(e,r,i[s]);i=l}for(s=0;s<o;s++)n(r)?n(i[s])&&(r=e(+r,+i[s])):r=i[s];return r},t.len=function(e){return t.aggNums((function(e){return e+1}),0,e)},t.mean=function(e,r){return r||(r=t.len(e)),t.aggNums((function(e,t){return e+t}),0,e)/r},t.midRange=function(e){if(void 0!==e&&0!==e.length)return(t.aggNums(Math.max,null,e)+t.aggNums(Math.min,null,e))/2},t.variance=function(e,r,a){return r||(r=t.len(e)),n(a)||(a=t.mean(e,r)),t.aggNums((function(e,t){return e+Math.pow(t-a,2)}),0,e)/r},t.stdev=function(e,r,n){return Math.sqrt(t.variance(e,r,n))},t.median=function(e){var r=e.slice().sort();return t.interp(r,.5)},t.interp=function(e,t){if(!n(t))throw"n should be a finite number";if((t=t*e.length-.5)<0)return e[0];if(t>e.length-1)return e[e.length-1];var r=t%1;return r*e[Math.ceil(t)]+(1-r)*e[Math.floor(t)]}},oYsm:function(e,t,r){"use strict";e.exports={attributes:r("yZ/U"),layoutAttributes:r("dnh+"),supplyDefaults:r("yv8l").supplyDefaults,crossTraceDefaults:r("yv8l").crossTraceDefaults,supplyLayoutDefaults:r("1YsL"),calc:r("JU33"),crossTraceCalc:r("Opyf"),plot:r("NNjz"),style:r("gGJ9").style,hoverPoints:r("jxKh"),eventData:r("b5aN"),selectPoints:r("cADB"),moduleType:"trace",name:"funnel",basePlotModule:r("kc20"),categories:["bar-like","cartesian","svg","oriented","showLegend","zoomScale"],meta:{description:["Visualize stages in a process using length-encoded bars. This trace can be used","to show data in either a part-to-whole representation wherein each item appears",'in a single stage, or in a "drop-off" representation wherein each item appears in','each stage it traversed. See also the "funnelarea" trace type for a different',"approach to visualizing funnel data."].join(" ")}}},oi9M:function(e,t,r){"use strict";e.exports=function(e){e._responsiveChartHandler&&(window.removeEventListener("resize",e._responsiveChartHandler),delete e._responsiveChartHandler)}},oois:function(e,t,r){"use strict";var n=r("GbLo"),a=r("teMc"),i=r("u3HJ"),o=r("/CZE"),s=r("QkhT"),l=r("ywRt"),c=r("Tr0U"),u=r("W0H3").version,d={format:{valType:"enumerated",values:["png","jpeg","webp","svg","full-json"],dflt:"png",description:"Sets the format of exported image."},width:{valType:"number",min:1,description:["Sets the exported image width.","Defaults to the value found in `layout.width`","If set to *null*, the exported image width will match the current graph width."].join(" ")},height:{valType:"number",min:1,description:["Sets the exported image height.","Defaults to the value found in `layout.height`","If set to *null*, the exported image height will match the current graph height."].join(" ")},scale:{valType:"number",min:0,dflt:1,description:["Sets a scaling for the generated image.","If set, all features of a graphs (e.g. text, line width)","are scaled, unlike simply setting","a bigger *width* and *height*."].join(" ")},setBackground:{valType:"any",dflt:!1,description:["Sets the image background mode.","By default, the image background is determined by `layout.paper_bgcolor`,","the *transparent* mode.","One might consider setting `setBackground` to *opaque*","when exporting a *jpeg* image as JPEGs do not support opacity."].join(" ")},imageDataOnly:{valType:"boolean",dflt:!1,description:["Determines whether or not the return value is prefixed by","the image format's corresponding 'data:image;' spec."].join(" ")}};e.exports=function(e,t){var r,f,h,p;function g(e){return!(e in t)||o.validate(t[e],d[e])}if(t=t||{},o.isPlainObject(e)?(r=e.data||[],f=e.layout||{},h=e.config||{},p={}):(e=o.getGraphDiv(e),r=o.extendDeep([],e.data),f=o.extendDeep({},e.layout),h=e._context,p=e._fullLayout||{}),!g("width")&&null!==t.width||!g("height")&&null!==t.height)throw new Error("Height and width should be pixel values.");if(!g("format"))throw new Error("Image format is not jpeg, png, svg or webp.");var v={};function m(e,r){return o.coerce(t,v,d,e,r)}var y=m("format"),x=m("width"),b=m("height"),w=m("scale"),_=m("setBackground"),k=m("imageDataOnly"),T=document.createElement("div");T.style.position="absolute",T.style.left="-5000px",document.body.appendChild(T);var M=o.extendFlat({},f);x?M.width=x:null===t.width&&n(p.width)&&(M.width=p.width),b?M.height=b:null===t.height&&n(p.height)&&(M.height=p.height);var S=o.extendFlat({},h,{_exportedPlot:!0,staticPlot:!0,setBackground:_}),A=s.getRedrawFunc(T);function C(){return new Promise((function(e){setTimeout(e,s.getDelay(T._fullLayout))}))}function P(){return new Promise((function(e,t){var r=l(T,y,w),n=T._fullLayout.width,d=T._fullLayout.height;function f(){a.purge(T),document.body.removeChild(T)}if("full-json"===y){var h=i.graphJson(T,!1,"keepdata","object",!0,!0);return h.version=u,h=JSON.stringify(h),f(),e(k?h:s.encodeJSON(h))}if(f(),"svg"===y)return e(k?r:s.encodeSVG(r));var p=document.createElement("canvas");p.id=o.randstr(),c({format:y,width:n,height:d,scale:w,canvas:p,svg:r,promise:!0}).then(e).catch(t)}))}return new Promise((function(e,t){a.plot(T,r,M,S).then(A).then(C).then(P).then((function(t){e(function(e){return k?e.replace(s.IMAGE_URL_PREFIX,""):e}(t))})).catch((function(e){t(e)}))}))}},p4iy:function(e,t,r){var n=r("/RqY");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("057cc384",n,!0,{})},p96X:function(e,t,r){"use strict";var n=r("Nx4I");e.exports=function(e){for(var t,r,a=n.layoutArrayContainers,i=n.layoutArrayRegexes,o=e.split("[")[0],s=0;s<i.length;s++)if((r=e.match(i[s]))&&0===r.index){t=r[0];break}if(t||(t=a[a.indexOf(o)]),!t)return!1;var l=e.substr(t.length);return l?!!(r=l.match(/^\[(0|[1-9][0-9]*)\](\.(.+))?$/))&&{array:t,index:Number(r[1]),property:r[3]||""}:{array:t,index:"",property:""}}},pB2H:function(e,t,r){"use strict";var n=r("bljh"),a=r("pwgW"),i=r("k6aH").resizeText;e.exports=function(e){var t=e._fullLayout._funnelarealayer.selectAll(".trace");i(e,t,"funnelarea"),t.each((function(e){var t=e[0].trace,r=n.select(this);r.style({opacity:t.opacity}),r.selectAll("path.surface").each((function(e){n.select(this).call(a,e,t)}))}))}},pGKX:function(e,t,r){"use strict";var n=r("mEVB"),a=r("kn30").hoverlabel,i=r("kJIm").extendFlat;e.exports={hoverlabel:{bgcolor:i({},a.bgcolor,{arrayOk:!0,description:"Sets the background color of the hover labels for this trace"}),bordercolor:i({},a.bordercolor,{arrayOk:!0,description:"Sets the border color of the hover labels for this trace."}),font:n({arrayOk:!0,editType:"none",description:"Sets the font used in hover labels."}),align:i({},a.align,{arrayOk:!0}),namelength:i({},a.namelength,{arrayOk:!0}),editType:"none"}}},pMAR:function(e,t,r){"use strict";var n=r("Nx4I");e.exports=function(e,t){for(var r=e._context.locale,a=0;a<2;a++){for(var i=e._context.locales,o=0;o<2;o++){var s=(i[r]||{}).dictionary;if(s){var l=s[t];if(l)return l}i=n.localeRegistry}var c=r.split("-")[0];if(c===r)break;r=c}return t}},pcRN:function(e,t,r){"use strict";var n=r("bljh"),a=r("/CZE"),i=r("Tv4R"),o=r("xMdC"),s=r("kn30"),l=r("6BKz");e.exports={moduleType:"component",name:"fx",constants:r("f7dW"),schema:{layout:s},attributes:r("pGKX"),layoutAttributes:s,supplyLayoutGlobalDefaults:r("u4aF"),supplyDefaults:r("y9Tj"),supplyLayoutDefaults:r("o5Ge"),calc:r("gqVr"),getDistanceFunction:o.getDistanceFunction,getClosest:o.getClosest,inbox:o.inbox,quadrature:o.quadrature,appendArrayPointValue:o.appendArrayPointValue,castHoverOption:function(e,t,r){return a.castOption(e,t,"hoverlabel."+r)},castHoverinfo:function(e,t,r){return a.castOption(e,r,"hoverinfo",(function(r){return a.coerceHoverinfo({hoverinfo:r},{_module:e._module},t)}))},hover:l.hover,unhover:i.unhover,loneHover:l.loneHover,loneUnhover:function(e){var t=a.isD3Selection(e)?e:n.select(e);t.selectAll("g.hovertext").remove(),t.selectAll(".spikeline").remove()},click:r("f8PX")}},pcxQ:function(e,t,r){"use strict";var n=r("u0qo"),a=r("EHyX").line,i=r("21T9").dash,o=r("kJIm").extendFlat,s=r("plED").templatedArray;e.exports=s("shape",{visible:{valType:"boolean",role:"info",dflt:!0,editType:"calc+arraydraw",description:["Determines whether or not this shape is visible."].join(" ")},type:{valType:"enumerated",values:["circle","rect","path","line"],role:"info",editType:"calc+arraydraw",description:["Specifies the shape type to be drawn.","If *line*, a line is drawn from (`x0`,`y0`) to (`x1`,`y1`)","with respect to the axes' sizing mode.","If *circle*, a circle is drawn from","((`x0`+`x1`)/2, (`y0`+`y1`)/2))","with radius","(|(`x0`+`x1`)/2 - `x0`|, |(`y0`+`y1`)/2 -`y0`)|)","with respect to the axes' sizing mode.","If *rect*, a rectangle is drawn linking","(`x0`,`y0`), (`x1`,`y0`), (`x1`,`y1`), (`x0`,`y1`), (`x0`,`y0`)","with respect to the axes' sizing mode.","If *path*, draw a custom SVG path using `path`.","with respect to the axes' sizing mode."].join(" ")},layer:{valType:"enumerated",values:["below","above"],dflt:"above",role:"info",editType:"arraydraw",description:"Specifies whether shapes are drawn below or above traces."},xref:o({},n.xref,{description:["Sets the shape's x coordinate axis.","If set to an x axis id (e.g. *x* or *x2*), the `x` position","refers to an x coordinate.","If set to *paper*, the `x` position refers to the distance from","the left side of the plotting area in normalized coordinates","where *0* (*1*) corresponds to the left (right) side.","If the axis `type` is *log*, then you must take the","log of your desired range.","If the axis `type` is *date*, then you must convert","the date to unix time in milliseconds."].join(" ")}),xsizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",role:"info",editType:"calc+arraydraw",description:["Sets the shapes's sizing mode along the x axis.","If set to *scaled*, `x0`, `x1` and x coordinates within `path` refer to","data values on the x axis or a fraction of the plot area's width","(`xref` set to *paper*).","If set to *pixel*, `xanchor` specifies the x position in terms","of data or plot fraction but `x0`, `x1` and x coordinates within `path`","are pixels relative to `xanchor`. This way, the shape can have","a fixed width while maintaining a position relative to data or","plot fraction."].join(" ")},xanchor:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Only relevant in conjunction with `xsizemode` set to *pixel*.","Specifies the anchor point on the x axis to which `x0`, `x1`","and x coordinates within `path` are relative to.","E.g. useful to attach a pixel sized shape to a certain data value.","No effect when `xsizemode` not set to *pixel*."].join(" ")},x0:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the shape's starting x position.","See `type` and `xsizemode` for more info."].join(" ")},x1:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the shape's end x position.","See `type` and `xsizemode` for more info."].join(" ")},yref:o({},n.yref,{description:["Sets the annotation's y coordinate axis.","If set to an y axis id (e.g. *y* or *y2*), the `y` position","refers to an y coordinate","If set to *paper*, the `y` position refers to the distance from","the bottom of the plotting area in normalized coordinates","where *0* (*1*) corresponds to the bottom (top)."].join(" ")}),ysizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",role:"info",editType:"calc+arraydraw",description:["Sets the shapes's sizing mode along the y axis.","If set to *scaled*, `y0`, `y1` and y coordinates within `path` refer to","data values on the y axis or a fraction of the plot area's height","(`yref` set to *paper*).","If set to *pixel*, `yanchor` specifies the y position in terms","of data or plot fraction but `y0`, `y1` and y coordinates within `path`","are pixels relative to `yanchor`. This way, the shape can have","a fixed height while maintaining a position relative to data or","plot fraction."].join(" ")},yanchor:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Only relevant in conjunction with `ysizemode` set to *pixel*.","Specifies the anchor point on the y axis to which `y0`, `y1`","and y coordinates within `path` are relative to.","E.g. useful to attach a pixel sized shape to a certain data value.","No effect when `ysizemode` not set to *pixel*."].join(" ")},y0:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the shape's starting y position.","See `type` and `ysizemode` for more info."].join(" ")},y1:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the shape's end y position.","See `type` and `ysizemode` for more info."].join(" ")},path:{valType:"string",role:"info",editType:"calc+arraydraw",description:["For `type` *path* - a valid SVG path with the pixel values","replaced by data values in `xsizemode`/`ysizemode` being *scaled*","and taken unmodified as pixels relative to `xanchor` and `yanchor`","in case of *pixel* size mode.","There are a few restrictions / quirks","only absolute instructions, not relative. So the allowed segments","are: M, L, H, V, Q, C, T, S, and Z","arcs (A) are not allowed because radius rx and ry are relative.","In the future we could consider supporting relative commands,","but we would have to decide on how to handle date and log axes.","Note that even as is, Q and C Bezier paths that are smooth on","linear axes may not be smooth on log, and vice versa.",'no chained "polybezier" commands - specify the segment type for',"each one.","On category axes, values are numbers scaled to the serial numbers","of categories because using the categories themselves there would","be no way to describe fractional positions","On data axes: because space and T are both normal components of path","strings, we can't use either to separate date from time parts.","Therefore we'll use underscore for this purpose:","2015-02-21_13:45:56.789"].join(" ")},opacity:{valType:"number",min:0,max:1,dflt:1,role:"info",editType:"arraydraw",description:"Sets the opacity of the shape."},line:{color:o({},a.color,{editType:"arraydraw"}),width:o({},a.width,{editType:"calc+arraydraw"}),dash:o({},i,{editType:"arraydraw"}),role:"info",editType:"calc+arraydraw"},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",role:"info",editType:"arraydraw",description:["Sets the color filling the shape's interior. Only applies to closed shapes."].join(" ")},fillrule:{valType:"enumerated",values:["evenodd","nonzero"],dflt:"evenodd",role:"info",editType:"arraydraw",description:["Determines which regions of complex paths constitute the interior.","For more info please visit https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill-rule"].join(" ")},editable:{valType:"boolean",role:"info",dflt:!1,editType:"calc+arraydraw",description:["Determines whether the shape could be activated for edit or not.","Has no effect when the older editable shapes mode is enabled via","`config.editable` or `config.edits.shapePosition`."].join(" ")},editType:"arraydraw"})},piZS:function(e,t){e.exports=function(e,t,r){var n=[],a=[];return e.forEach((function(e){var i=e.start,o=e.end;if(t.pointsSame(i,o))console.warn("PolyBool: Warning: Zero-length segment detected; your epsilon is probably too small or too large");else{r&&r.chainStart(e);for(var s={index:0,matches_head:!1,matches_pt1:!1},l={index:0,matches_head:!1,matches_pt1:!1},c=s,u=0;u<n.length;u++){var d=(v=n[u])[0],f=(v[1],v[v.length-1]);v[v.length-2];if(t.pointsSame(d,i)){if(T(u,!0,!0))break}else if(t.pointsSame(d,o)){if(T(u,!0,!1))break}else if(t.pointsSame(f,i)){if(T(u,!1,!0))break}else if(t.pointsSame(f,o)&&T(u,!1,!1))break}if(c===s)return n.push([i,o]),void(r&&r.chainNew(i,o));if(c===l){r&&r.chainMatch(s.index);var h=s.index,p=s.matches_pt1?o:i,g=s.matches_head,v=n[h],m=g?v[0]:v[v.length-1],y=g?v[1]:v[v.length-2],x=g?v[v.length-1]:v[0],b=g?v[v.length-2]:v[1];return t.pointsCollinear(y,m,p)&&(g?(r&&r.chainRemoveHead(s.index,p),v.shift()):(r&&r.chainRemoveTail(s.index,p),v.pop()),m=y),t.pointsSame(x,p)?(n.splice(h,1),t.pointsCollinear(b,x,m)&&(g?(r&&r.chainRemoveTail(s.index,m),v.pop()):(r&&r.chainRemoveHead(s.index,m),v.shift())),r&&r.chainClose(s.index),void a.push(v)):void(g?(r&&r.chainAddHead(s.index,p),v.unshift(p)):(r&&r.chainAddTail(s.index,p),v.push(p)))}var w=s.index,_=l.index;r&&r.chainConnect(w,_);var k=n[w].length<n[_].length;s.matches_head?l.matches_head?k?(M(w),S(w,_)):(M(_),S(_,w)):S(_,w):l.matches_head?S(w,_):k?(M(w),S(_,w)):(M(_),S(w,_))}function T(e,t,r){return c.index=e,c.matches_head=t,c.matches_pt1=r,c===s?(c=l,!1):(c=null,!0)}function M(e){r&&r.chainReverse(e),n[e].reverse()}function S(e,a){var i=n[e],o=n[a],s=i[i.length-1],l=i[i.length-2],c=o[0],u=o[1];t.pointsCollinear(l,s,c)&&(r&&r.chainRemoveTail(e,s),i.pop(),s=l),t.pointsCollinear(s,c,u)&&(r&&r.chainRemoveHead(a,c),o.shift()),r&&r.chainJoin(e,a),n[e]=i.concat(o),n.splice(a,1)}})),a}},plED:function(e,t,r){"use strict";var n=r("/CZE"),a=r("qHYo"),i={name:{valType:"string",role:"style",editType:"none",description:["When used in a template, named items are created in the output figure","in addition to any items the figure already has in this array.","You can modify these items in the output figure by making your own","item with `templateitemname` matching this `name`","alongside your modifications (including `visible: false` or","`enabled: false` to hide it).","Has no effect outside of a template."].join(" ")}};function o(e){return e&&"string"==typeof e}function s(e){var t=e.length-1;return"s"!==e.charAt(t)&&n.warn("bad argument to arrayDefaultKey: "+e),e.substr(0,e.length-1)+"defaults"}i.templateitemname={valType:"string",role:"info",editType:"calc",description:["Used to refer to a named item in this array in the template. Named","items from the template will be created even without a matching item","in the input figure, but you can modify one by making an item with","`templateitemname` matching its `name`, alongside your modifications","(including `visible: false` or `enabled: false` to hide it).","If there is no template or no matching item, this item will be","hidden unless you explicitly show it with `visible: true`."].join(" ")},t.templatedArray=function(e,t){return t._isLinkedToArray=e,t.name=i.name,t.templateitemname=i.templateitemname,t},t.traceTemplater=function(e){var t,r,i={};for(t in e)r=e[t],Array.isArray(r)&&r.length&&(i[t]=0);return{newTrace:function(o){var s={type:t=n.coerce(o,{},a,"type"),_template:null};if(t in i){r=e[t];var l=i[t]%r.length;i[t]++,s._template=r[l]}return s}}},t.newContainer=function(e,t,r){var a=e._template,i=a&&(a[t]||r&&a[r]);return n.isPlainObject(i)||(i=null),e[t]={_template:i}},t.arrayTemplater=function(e,t,r){var n=e._template,a=n&&n[s(t)],i=n&&n[t];Array.isArray(i)&&i.length||(i=[]);var l={};return{newItem:function(e){var t={name:e.name,_input:e},n=t.templateitemname=e.templateitemname;if(!o(n))return t._template=a,t;for(var s=0;s<i.length;s++){var c=i[s];if(c.name===n)return l[n]=1,t._template=c,t}return t[r]=e[r]||!1,t._template=!1,t},defaultItems:function(){for(var e=[],t=0;t<i.length;t++){var r=i[t],n=r.name;if(o(n)&&!l[n]){var a={_template:r,name:n,_input:{_templateitemname:n}};a.templateitemname=r.templateitemname,e.push(a),l[n]=1}}return e}}},t.arrayDefaultKey=s,t.arrayEditor=function(e,t,r){var a=(n.nestedProperty(e,t).get()||[]).length,i=r._index,o=i>=a&&(r._input||{})._templateitemname;o&&(i=a);var s,l=t+"["+i+"]";function c(){s={},o&&(s[l]={},s[l].templateitemname=o)}function u(e,t){o?n.nestedProperty(s[l],e).set(t):s[l+"."+e]=t}function d(){var e=s;return c(),e}return c(),{modifyBase:function(e,t){s[e]=t},modifyItem:u,getUpdateObj:d,applyUpdate:function(t,r){t&&u(t,r);var a=d();for(var i in a)n.nestedProperty(e,i).set(a[i])}}}},pmO4:function(e,t,r){"use strict";var n=r("xZj9");r.n(n).a},"poX/":function(e,t,r){"use strict";var n=r("mEVB"),a=r("W2jp"),i=r("37PH"),o=r("rIcZ"),s=r("grU7"),l=r("kJIm").extendFlat,c=n({editType:"calc",description:["Sets the global font.","Note that fonts used in traces and other","layout components inherit from the global font."].join(" ")});c.family.dflt='"Open Sans", verdana, arial, sans-serif',c.size.dflt=12,c.color.dflt=i.defaultLine,e.exports={font:c,title:{text:{valType:"string",role:"info",editType:"layoutstyle",description:["Sets the plot's title.","Note that before the existence of `title.text`, the title's","contents used to be defined as the `title` attribute itself.","This behavior has been deprecated."].join(" ")},font:n({editType:"layoutstyle",description:["Sets the title font.","Note that the title's font used to be customized","by the now deprecated `titlefont` attribute."].join(" ")}),xref:{valType:"enumerated",dflt:"container",values:["container","paper"],role:"info",editType:"layoutstyle",description:["Sets the container `x` refers to.","*container* spans the entire `width` of the plot.","*paper* refers to the width of the plotting area only."].join(" ")},yref:{valType:"enumerated",dflt:"container",values:["container","paper"],role:"info",editType:"layoutstyle",description:["Sets the container `y` refers to.","*container* spans the entire `height` of the plot.","*paper* refers to the height of the plotting area only."].join(" ")},x:{valType:"number",min:0,max:1,dflt:.5,role:"style",editType:"layoutstyle",description:["Sets the x position with respect to `xref` in normalized","coordinates from *0* (left) to *1* (right)."].join(" ")},y:{valType:"number",min:0,max:1,dflt:"auto",role:"style",editType:"layoutstyle",description:["Sets the y position with respect to `yref` in normalized","coordinates from *0* (bottom) to *1* (top).","*auto* places the baseline of the title onto the","vertical center of the top margin."].join(" ")},xanchor:{valType:"enumerated",dflt:"auto",values:["auto","left","center","right"],role:"info",editType:"layoutstyle",description:["Sets the title's horizontal alignment with respect to its x position.","*left* means that the title starts at x,","*right* means that the title ends at x","and *center* means that the title's center is at x.","*auto* divides `xref` by three and calculates the `xanchor`","value automatically based on the value of `x`."].join(" ")},yanchor:{valType:"enumerated",dflt:"auto",values:["auto","top","middle","bottom"],role:"info",editType:"layoutstyle",description:["Sets the title's vertical alignment with respect to its y position.","*top* means that the title's cap line is at y,","*bottom* means that the title's baseline is at y","and *middle* means that the title's midline is at y.","*auto* divides `yref` by three and calculates the `yanchor`","value automatically based on the value of `y`."].join(" ")},pad:l(s({editType:"layoutstyle"}),{description:["Sets the padding of the title.","Each padding value only applies when the corresponding","`xanchor`/`yanchor` value is set accordingly. E.g. for left","padding to take effect, `xanchor` must be set to *left*.","The same rule applies if `xanchor`/`yanchor` is determined automatically.","Padding is muted if the respective anchor value is *middle*/*center*."].join(" ")}),editType:"layoutstyle"},uniformtext:{mode:{valType:"enumerated",values:[!1,"hide","show"],dflt:!1,role:"info",editType:"plot",description:["Determines how the font size for various text","elements are uniformed between each trace type.","If the computed text sizes were smaller than","the minimum size defined by `uniformtext.minsize`","using *hide* option hides the text; and","using *show* option shows the text without further downscaling.","Please note that if the size defined by `minsize` is greater than","the font size defined by trace, then the `minsize` is used."].join(" ")},minsize:{valType:"number",min:0,dflt:0,role:"info",editType:"plot",description:["Sets the minimum text size between traces of the same type."].join(" ")},editType:"plot"},autosize:{valType:"boolean",role:"info",dflt:!1,editType:"none",description:["Determines whether or not a layout width or height","that has been left undefined by the user","is initialized on each relayout.","Note that, regardless of this attribute,","an undefined layout width or height","is always initialized on the first call to plot."].join(" ")},width:{valType:"number",role:"info",min:10,dflt:700,editType:"plot",description:["Sets the plot's width (in px)."].join(" ")},height:{valType:"number",role:"info",min:10,dflt:450,editType:"plot",description:["Sets the plot's height (in px)."].join(" ")},margin:{l:{valType:"number",role:"info",min:0,dflt:80,editType:"plot",description:"Sets the left margin (in px)."},r:{valType:"number",role:"info",min:0,dflt:80,editType:"plot",description:"Sets the right margin (in px)."},t:{valType:"number",role:"info",min:0,dflt:100,editType:"plot",description:"Sets the top margin (in px)."},b:{valType:"number",role:"info",min:0,dflt:80,editType:"plot",description:"Sets the bottom margin (in px)."},pad:{valType:"number",role:"info",min:0,dflt:0,editType:"plot",description:["Sets the amount of padding (in px)","between the plotting area and the axis lines"].join(" ")},autoexpand:{valType:"boolean",role:"info",dflt:!0,editType:"plot",description:["Turns on/off margin expansion computations.","Legends, colorbars, updatemenus, sliders, axis rangeselector and rangeslider","are allowed to push the margins by defaults."].join(" ")},editType:"plot"},paper_bgcolor:{valType:"color",role:"style",dflt:i.background,editType:"plot",description:"Sets the background color of the paper where the graph is drawn."},plot_bgcolor:{valType:"color",role:"style",dflt:i.background,editType:"layoutstyle",description:["Sets the background color of the plotting area in-between x and y axes."].join(" ")},separators:{valType:"string",role:"style",editType:"plot",description:["Sets the decimal and thousand separators.","For example, *. * puts a '.' before decimals and a space","between thousands. In English locales, dflt is *.,* but","other locales may alter this default."].join(" ")},hidesources:{valType:"boolean",role:"info",dflt:!1,editType:"plot",description:["Determines whether or not a text link citing the data source is","placed at the bottom-right cored of the figure.","Has only an effect only on graphs that have been generated via","forked graphs from the Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise)."].join(" ")},showlegend:{valType:"boolean",role:"info",editType:"legend",description:["Determines whether or not a legend is drawn.","Default is `true` if there is a trace to show and any of these:","a) Two or more traces would by default be shown in the legend.","b) One pie trace is shown in the legend.","c) One trace is explicitly given with `showlegend: true`."].join(" ")},colorway:{valType:"colorlist",dflt:i.defaults,role:"style",editType:"calc",description:"Sets the default trace colors."},datarevision:{valType:"any",role:"info",editType:"calc",description:["If provided, a changed value tells `Plotly.react` that","one or more data arrays has changed. This way you can modify","arrays in-place rather than making a complete new copy for an","incremental change.","If NOT provided, `Plotly.react` assumes that data arrays are","being treated as immutable, thus any data array with a","different identity from its predecessor contains new data."].join(" ")},uirevision:{valType:"any",role:"info",editType:"none",description:["Used to allow user interactions with the plot to persist after","`Plotly.react` calls that are unaware of these interactions.","If `uirevision` is omitted, or if it is given and it changed from","the previous `Plotly.react` call, the exact new figure is used.","If `uirevision` is truthy and did NOT change, any attribute","that has been affected by user interactions and did not receive a","different value in the new figure will keep the interaction value.","`layout.uirevision` attribute serves as the default for","`uirevision` attributes in various sub-containers. For finer","control you can set these sub-attributes directly. For example,","if your app separately controls the data on the x and y axes you","might set `xaxis.uirevision=*time*` and `yaxis.uirevision=*cost*`.","Then if only the y data is changed, you can update","`yaxis.uirevision=*quantity*` and the y axis range will reset but","the x axis range will retain any user-driven zoom."].join(" ")},editrevision:{valType:"any",role:"info",editType:"none",description:["Controls persistence of user-driven changes in `editable: true`","configuration, other than trace names and axis titles.","Defaults to `layout.uirevision`."].join(" ")},selectionrevision:{valType:"any",role:"info",editType:"none",description:["Controls persistence of user-driven changes in selected points","from all traces."].join(" ")},template:{valType:"any",role:"info",editType:"calc",description:["Default attributes to be applied to the plot. Templates can be","created from existing plots using `Plotly.makeTemplate`, or","created manually. They should be objects with format:","`{layout: layoutTemplate, data: {[type]: [traceTemplate, ...]}, ...}`","`layoutTemplate` and `traceTemplate` are objects matching the","attribute structure of `layout` and a data trace. ","Trace templates are applied cyclically to traces of each type.","Container arrays (eg `annotations`) have special handling:","An object ending in `defaults` (eg `annotationdefaults`) is applied","to each array item. But if an item has a `templateitemname` key","we look in the template array for an item with matching `name` and","apply that instead. If no matching `name` is found we mark the item","invisible. Any named template item not referenced is appended to","the end of the array, so you can use this for a watermark annotation","or a logo image, for example. To omit one of these items on the plot,","make an item with matching `templateitemname` and `visible: false`."].join(" ")},modebar:{orientation:{valType:"enumerated",values:["v","h"],dflt:"h",role:"info",editType:"modebar",description:"Sets the orientation of the modebar."},bgcolor:{valType:"color",role:"style",editType:"modebar",description:"Sets the background color of the modebar."},color:{valType:"color",role:"style",editType:"modebar",description:"Sets the color of the icons in the modebar."},activecolor:{valType:"color",role:"style",editType:"modebar",description:"Sets the color of the active or hovered on icons in the modebar."},uirevision:{valType:"any",role:"info",editType:"none",description:["Controls persistence of user-driven changes related to the modebar,","including `hovermode`, `dragmode`, and `showspikes` at both the","root level and inside subplots. Defaults to `layout.uirevision`."].join(" ")},editType:"modebar"},newshape:o.newshape,activeshape:o.activeshape,meta:{valType:"any",arrayOk:!0,role:"info",editType:"plot",description:["Assigns extra meta information that can be used in various `text` attributes.","Attributes such as the graph, axis and colorbar `title.text`, annotation `text`","`trace.name` in legend items, `rangeselector`, `updatemenus` and `sliders` `label` text","all support `meta`. One can access `meta` fields using template strings:","`%{meta[i]}` where `i` is the index of the `meta`","item in question.","`meta` can also be an object for example `{key: value}` which can be accessed","%{meta[key]}."].join(" ")},transition:l({},a.transition,{description:["Sets transition options used during Plotly.react updates."].join(" "),editType:"none"}),_deprecated:{title:{valType:"string",role:"info",editType:"layoutstyle",description:["Value of `title` is no longer a simple *string* but a set of sub-attributes.","To set the contents of the title, please use `title.text` now."].join(" ")},titlefont:n({editType:"layoutstyle",description:["Former `titlefont` is now the sub-attribute `font` of `title`.","To customize title font properties, please use `title.font` now."].join(" ")})}}},ptpI:function(e,t,r){var n=r("sfR3");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("592300ce",n,!0,{})},pty9:function(e,t){e.exports=function(){var e,t=0,r=!1;function n(t,r){return e.list.push({type:t,data:r?JSON.parse(JSON.stringify(r)):void 0}),e}return e={list:[],segmentId:function(){return t++},checkIntersection:function(e,t){return n("check",{seg1:e,seg2:t})},segmentChop:function(e,t){return n("div_seg",{seg:e,pt:t}),n("chop",{seg:e,pt:t})},statusRemove:function(e){return n("pop_seg",{seg:e})},segmentUpdate:function(e){return n("seg_update",{seg:e})},segmentNew:function(e,t){return n("new_seg",{seg:e,primary:t})},segmentRemove:function(e){return n("rem_seg",{seg:e})},tempStatus:function(e,t,r){return n("temp_status",{seg:e,above:t,below:r})},rewind:function(e){return n("rewind",{seg:e})},status:function(e,t,r){return n("status",{seg:e,above:t,below:r})},vert:function(t){return t===r?e:(r=t,n("vert",{x:t}))},log:function(e){return"string"!=typeof e&&(e=JSON.stringify(e,!1," ")),n("log",{txt:e})},reset:function(){return n("reset")},selected:function(e){return n("selected",{segs:e})},chainStart:function(e){return n("chain_start",{seg:e})},chainRemoveHead:function(e,t){return n("chain_rem_head",{index:e,pt:t})},chainRemoveTail:function(e,t){return n("chain_rem_tail",{index:e,pt:t})},chainNew:function(e,t){return n("chain_new",{pt1:e,pt2:t})},chainMatch:function(e){return n("chain_match",{index:e})},chainClose:function(e){return n("chain_close",{index:e})},chainAddHead:function(e,t){return n("chain_add_head",{index:e,pt:t})},chainAddTail:function(e,t){return n("chain_add_tail",{index:e,pt:t})},chainConnect:function(e,t){return n("chain_con",{index1:e,index2:t})},chainReverse:function(e){return n("chain_rev",{index:e})},chainJoin:function(e,t){return n("chain_join",{index1:e,index2:t})},done:function(){return n("done")}}}},pwgW:function(e,t,r){"use strict";var n=r("0RW4"),a=r("WeBh").castOption;e.exports=function(e,t,r){var i=r.marker.line,o=a(i.color,t.pts)||n.defaultLine,s=a(i.width,t.pts)||0;e.style("stroke-width",s).call(n.fill,t.color).call(n.stroke,o)}},q6dP:function(e,t,r){},qCjo:function(e,t,r){(t=r("JPst")(!1)).push([e.i,".spinner[data-v-9d2e53b6]{display:flex;justify-content:center;align-items:center}.spinner *[data-v-9d2e53b6]{line-height:0;box-sizing:border-box}.spinner-inner[data-v-9d2e53b6]{display:inline-block;position:relative;border-radius:100%;animation:circle-7-spin-data-v-9d2e53b6 3.25s infinite;transform:rotate(0deg);animation-delay:-.5s}.spinner-inner[data-v-9d2e53b6]:after,.spinner-inner[data-v-9d2e53b6]:before{position:absolute;content:'';height:20px;width:20px;display:block;background:#41b883;border-radius:100%;animation:circle-7-shrink-data-v-9d2e53b6 3.25s infinite;animation-delay:-.5s}.spinner-inner[data-v-9d2e53b6]:before{left:70%}.spinner-inner[data-v-9d2e53b6]:after{top:70%}@keyframes circle-7-spin-data-v-9d2e53b6{0%{transform:rotate(0deg);height:100%;width:100%}33%{height:0;width:0}55%{transform:rotate(720deg);height:0;width:0}70%{height:100%;width:100%;margin-top:0}100%{height:100%;width:100%;transform:rotate(360deg);margin-top:0}}@keyframes circle-7-shrink-data-v-9d2e53b6{0%,100%{height:20px;width:20px}33%,55%{height:0;width:0}70%{height:20px;width:20px}}\n",""]),e.exports=t},qHYo:function(e,t,r){"use strict";var n=r("pGKX");e.exports={type:{valType:"enumerated",role:"info",values:[],dflt:"scatter",editType:"calc+clearAxisTypes",_noTemplating:!0},visible:{valType:"enumerated",values:[!0,!1,"legendonly"],role:"info",dflt:!0,editType:"calc",description:["Determines whether or not this trace is visible.","If *legendonly*, the trace is not drawn,","but can appear as a legend item","(provided that the legend itself is visible)."].join(" ")},showlegend:{valType:"boolean",role:"info",dflt:!0,editType:"style",description:["Determines whether or not an item corresponding to this","trace is shown in the legend."].join(" ")},legendgroup:{valType:"string",role:"info",dflt:"",editType:"style",description:["Sets the legend group for this trace.","Traces part of the same legend group hide/show at the same time","when toggling legend items."].join(" ")},opacity:{valType:"number",role:"style",min:0,max:1,dflt:1,editType:"style",description:"Sets the opacity of the trace."},name:{valType:"string",role:"info",editType:"style",description:["Sets the trace name.","The trace name appear as the legend item and on hover."].join(" ")},uid:{valType:"string",role:"info",editType:"plot",anim:!0,description:["Assign an id to this trace,","Use this to provide object constancy between traces during animations","and transitions."].join(" ")},ids:{valType:"data_array",editType:"calc",anim:!0,description:["Assigns id labels to each datum.","These ids for object constancy of data points during animation.","Should be an array of strings, not numbers or any other type."].join(" ")},customdata:{valType:"data_array",editType:"calc",description:["Assigns extra data each datum.","This may be useful when listening to hover, click and selection events.","Note that, *scatter* traces also appends customdata items in the markers","DOM elements"].join(" ")},meta:{valType:"any",arrayOk:!0,role:"info",editType:"plot",description:["Assigns extra meta information associated with this trace","that can be used in various text attributes.","Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text`","`rangeselector`, `updatemenues` and `sliders` `label` text","all support `meta`.","To access the trace `meta` values in an attribute in the same trace, simply use","`%{meta[i]}` where `i` is the index or key of the `meta`","item in question.","To access trace `meta` in layout attributes, use","`%{data[n[.meta[i]}` where `i` is the index or key of the `meta`","and `n` is the trace index."].join(" ")},selectedpoints:{valType:"any",role:"info",editType:"calc",description:["Array containing integer indices of selected points.","Has an effect only for traces that support selections.","Note that an empty array means an empty selection where the `unselected`","are turned on for all points, whereas, any other non-array values means no","selection all where the `selected` and `unselected` styles have no effect."].join(" ")},hoverinfo:{valType:"flaglist",role:"info",flags:["x","y","z","text","name"],extras:["all","none","skip"],arrayOk:!0,dflt:"all",editType:"none",description:["Determines which trace information appear on hover.","If `none` or `skip` are set, no information is displayed upon hovering.","But, if `none` is set, click and hover events are still fired."].join(" ")},hoverlabel:n.hoverlabel,stream:{token:{valType:"string",noBlank:!0,strict:!0,role:"info",editType:"calc",description:["The stream id number links a data trace on a plot with a stream.","See https://chart-studio.plotly.com/settings for more details."].join(" ")},maxpoints:{valType:"number",min:0,max:1e4,dflt:500,role:"info",editType:"calc",description:["Sets the maximum number of points to keep on the plots from an","incoming stream.","If `maxpoints` is set to *50*, only the newest 50 points will","be displayed on the plot."].join(" ")},editType:"calc"},transforms:{_isLinkedToArray:"transform",editType:"calc",description:["An array of operations that manipulate the trace data,","for example filtering or sorting the data arrays."].join(" ")},uirevision:{valType:"any",role:"info",editType:"none",description:["Controls persistence of some user-driven changes to the trace:","`constraintrange` in `parcoords` traces, as well as some","`editable: true` modifications such as `name` and `colorbar.title`.","Defaults to `layout.uirevision`.","Note that other user-driven trace attribute changes are controlled","by `layout` attributes:","`trace.visible` is controlled by `layout.legend.uirevision`,","`selectedpoints` is controlled by `layout.selectionrevision`,","and `colorbar.(x|y)` (accessible with `config: {editable: true}`)","is controlled by `layout.editrevision`.","Trace changes are tracked by `uid`, which only falls back on trace","index if no `uid` is provided. So if your app can add/remove traces","before the end of the `data` array, such that the same trace has a","different index, you can still preserve user-driven changes if you","give each trace a `uid` that stays with it as it moves."].join(" ")}}},"qPk+":function(e,t,r){"use strict";var n=r("u3HJ");t.name="funnelarea",t.plot=function(e,r,a,i){n.plotBasePlot(t.name,e,r,a,i)},t.clean=function(e,r,a,i){n.cleanBasePlot(t.name,e,r,a,i)}},qTWP:function(e,t,r){"use strict";e.exports=[{path:"",backoff:0},{path:"M-2.4,-3V3L0.6,0Z",backoff:.6},{path:"M-3.7,-2.5V2.5L1.3,0Z",backoff:1.3},{path:"M-4.45,-3L-1.65,-0.2V0.2L-4.45,3L1.55,0Z",backoff:1.55},{path:"M-2.2,-2.2L-0.2,-0.2V0.2L-2.2,2.2L-1.4,3L1.6,0L-1.4,-3Z",backoff:1.6},{path:"M-4.4,-2.1L-0.6,-0.2V0.2L-4.4,2.1L-4,3L2,0L-4,-3Z",backoff:2},{path:"M2,0A2,2 0 1,1 0,-2A2,2 0 0,1 2,0Z",backoff:0,noRotate:!0},{path:"M2,2V-2H-2V2Z",backoff:0,noRotate:!0}]},qc20:function(e,t,r){"use strict";var n=r("GbLo"),a=r("/CZE"),i=r("kZ5o"),o=r("gfA5").defaults,s=r("HByh").handleText;function l(e,t){var r=Array.isArray(e),i=a.isArrayOrTypedArray(t),o=Math.min(r?e.length:1/0,i?t.length:1/0);if(isFinite(o)||(o=0),o&&i){for(var s,l=0;l<o;l++){var c=t[l];if(n(c)&&c>0){s=!0;break}}s||(o=0)}return{hasLabels:r,hasValues:i,len:o}}e.exports={handleLabelsAndValues:l,supplyDefaults:function(e,t,r,n){function c(r,n){return a.coerce(e,t,i,r,n)}var u=l(c("labels"),c("values")),d=u.len;if(t._hasLabels=u.hasLabels,t._hasValues=u.hasValues,!t._hasLabels&&t._hasValues&&(c("label0"),c("dlabel")),d){t._length=d,c("marker.line.width")&&c("marker.line.color"),c("marker.colors"),c("scalegroup");var f,h=c("text"),p=c("texttemplate");if(p||(f=c("textinfo",Array.isArray(h)?"text+percent":"percent")),c("hovertext"),c("hovertemplate"),p||f&&"none"!==f){var g=c("textposition");s(e,t,n,c,g,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),(Array.isArray(g)||"auto"===g||"outside"===g)&&c("automargin"),("inside"===g||"auto"===g||Array.isArray(g))&&c("insidetextorientation")}o(t,n,c);var v=c("hole");if(c("title.text")){var m=c("title.position",v?"middle center":"top center");v||"middle center"!==m||(t.title.position="top center"),a.coerceFont(c,"title.font",n.font)}c("sort"),c("direction"),c("rotation"),c("pull")}else t.visible=!1}}},qcty:function(e,t,r){"use strict";e.exports={_isLinkedToArray:"frames_entry",group:{valType:"string",role:"info",description:["An identifier that specifies the group to which the frame belongs,","used by animate to select a subset of frames."].join(" ")},name:{valType:"string",role:"info",description:"A label by which to identify the frame"},traces:{valType:"any",role:"info",description:["A list of trace indices that identify the respective traces in the","data attribute"].join(" ")},baseframe:{valType:"string",role:"info",description:["The name of the frame into which this frame's properties are merged","before applying. This is used to unify properties and avoid needing","to specify the same values for the same properties in multiple frames."].join(" ")},data:{valType:"any",role:"object",description:["A list of traces this frame modifies. The format is identical to the","normal trace definition."].join(" ")},layout:{valType:"any",role:"object",description:["Layout properties which this frame modifies. The format is identical","to the normal layout definition."].join(" ")}}},qeRF:function(e,t,r){"use strict";var n=r("PBw4"),a=r("3oHU"),i=r("Nx4I"),o=r("xMdC").isUnifiedHover,s=r("G767"),l=r("E8TZ");e.exports=function(e){var t=e._fullLayout,r=e._context,u=t._modeBar;if(r.displayModeBar||r.watermark){if(!Array.isArray(r.modeBarButtonsToRemove))throw new Error(["*modeBarButtonsToRemove* configuration options","must be an array."].join(" "));if(!Array.isArray(r.modeBarButtonsToAdd))throw new Error(["*modeBarButtonsToAdd* configuration options","must be an array."].join(" "));var d,f=r.modeBarButtons;d=Array.isArray(f)&&f.length?function(e){for(var t=0;t<e.length;t++)for(var r=e[t],n=0;n<r.length;n++){var a=r[n];if("string"==typeof a){if(void 0===l[a])throw new Error(["*modeBarButtons* configuration options","invalid button name"].join(" "));e[t][n]=l[a]}}return e}(f):!r.displayModeBar&&r.watermark?[]:function(e){var t=e._fullLayout,r=e._fullData,s=e._context,u=s.modeBarButtonsToRemove,d=s.modeBarButtonsToAdd,f=t._has("cartesian"),h=t._has("gl3d"),p=t._has("geo"),g=t._has("pie"),v=t._has("funnelarea"),m=t._has("gl2d"),y=t._has("ternary"),x=t._has("mapbox"),b=t._has("polar"),w=t._has("sankey"),_=function(e){for(var t=n.list({_fullLayout:e},null,!0),r=0;r<t.length;r++)if(!t[r].fixedrange)return!1;return!0}(t),k=o(t.hovermode),T=[];function M(e){if(e.length){for(var t=[],r=0;r<e.length;r++){var n=e[r];-1===u.indexOf(n)&&t.push(l[n])}T.push(t)}}var S=["toImage"];s.showEditInChartStudio?S.push("editInChartStudio"):s.showSendToCloud&&S.push("sendDataToCloud");M(S);var A=[],C=[],P=[],O=[];(f||m||g||v||y)+p+h+x+b>1?(C=["toggleHover"],P=["resetViews"]):p?(A=["zoomInGeo","zoomOutGeo"],C=["hoverClosestGeo"],P=["resetGeo"]):h?(C=["hoverClosest3d"],P=["resetCameraDefault3d","resetCameraLastSave3d"]):x?(A=["zoomInMapbox","zoomOutMapbox"],C=["toggleHover"],P=["resetViewMapbox"]):m?C=["hoverClosestGl2d"]:g?C=["hoverClosestPie"]:w?(C=["hoverClosestCartesian","hoverCompareCartesian"],P=["resetViewSankey"]):C=["toggleHover"];f&&(C=["toggleSpikelines","hoverClosestCartesian","hoverCompareCartesian"]);(function(e){for(var t=0;t<e.length;t++)if(!i.traceIs(e[t],"noHover"))return!1;return!0}(r)||k)&&(C=[]);!f&&!m||_||(A=["zoomIn2d","zoomOut2d","autoScale2d"],"resetViews"!==P[0]&&(P=["resetScale2d"]));h?O=["zoom3d","pan3d","orbitRotation","tableRotation"]:(f||m)&&!_||y?O=["zoom2d","pan2d"]:x||p?O=["pan2d"]:b&&(O=["zoom2d"]);(function(e){for(var t=!1,r=0;r<e.length&&!t;r++){var n=e[r];n._module&&n._module.selectPoints&&(i.traceIs(n,"scatter-like")?(a.hasMarkers(n)||a.hasText(n))&&(t=!0):i.traceIs(n,"box-violin")&&"all"!==n.boxpoints&&"all"!==n.points||(t=!0))}return t})(r)&&O.push("select2d","lasso2d");if(Array.isArray(d)){for(var I=[],z=0;z<d.length;z++){var L=d[z];"string"==typeof L?-1!==c.indexOf(L)&&(t._has("mapbox")||t._has("cartesian"))&&O.push(L):I.push(L)}d=I}return M(O),M(A.concat(P)),M(C),function(e,t){if(t.length)if(Array.isArray(t[0]))for(var r=0;r<t.length;r++)e.push(t[r]);else e.push(t);return e}(T,d)}(e),u?u.update(e,d):t._modeBar=s(e,d)}else u&&(u.destroy(),delete t._modeBar)};var c=["drawline","drawopenpath","drawclosedpath","drawcircle","drawrect","eraseshape"]},qeth:function(e,t,r){"use strict";e.exports=function(e,t,r,n,a){e.location=t.location,e.z=t.z;var i=n[a];return i.fIn&&i.fIn.properties&&(e.properties=i.fIn.properties),e.ct=i.ct,e}},qixK:function(e,t,r){"use strict";e.exports=r("el8q")},qnYk:function(e,t,r){var n=r("jLHN");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("b04fcde2",n,!0,{})},qop6:function(e,t,r){"use strict";e.exports={cn:{colorbar:"colorbar",cbbg:"cbbg",cbfill:"cbfill",cbfills:"cbfills",cbline:"cbline",cblines:"cblines",cbaxis:"cbaxis",cbtitleunshift:"cbtitleunshift",cbtitle:"cbtitle",cboutline:"cboutline",crisp:"crisp",jsPlaceholder:"js-placeholder"}}},r91y:function(e,t,r){"use strict";var n=r("bljh"),a=r("0RW4");e.exports=function(e){e.each((function(e){var t=e[0].trace,r=t.error_y||{},i=t.error_x||{},o=n.select(this);o.selectAll("path.yerror").style("stroke-width",r.thickness+"px").call(a.stroke,r.color),i.copy_ystyle&&(i=r),o.selectAll("path.xerror").style("stroke-width",i.thickness+"px").call(a.stroke,i.color)}))}},"rDM+":function(e,t,r){"use strict";function n(e,t){switch(e.type){case"log":return e.p2d(t);case"date":return e.p2r(t,0,e.calendar);default:return e.p2r(t)}}e.exports={p2r:n,r2p:function(e,t){switch(e.type){case"log":return e.d2p(t);case"date":return e.r2p(t,0,e.calendar);default:return e.r2p(t)}},axValue:function(e){var t="y"===e._id.charAt(0)?1:0;return function(r){return n(e,r[t])}},getTransform:function(e){return"translate("+e.xaxis._offset+","+e.yaxis._offset+")"}}},rH42:function(e,t,r){"use strict";var n=r("uox1");r.n(n).a},rIcZ:function(e,t,r){"use strict";var n=r("21T9").dash,a=r("kJIm").extendFlat;e.exports={newshape:{line:{color:{valType:"color",editType:"none",role:"info",description:["Sets the line color.","By default uses either dark grey or white","to increase contrast with background color."].join(" ")},width:{valType:"number",min:0,dflt:4,role:"info",editType:"none",description:"Sets the line width (in px)."},dash:a({},n,{dflt:"solid",editType:"none"}),role:"info",editType:"none"},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",role:"info",editType:"none",description:["Sets the color filling new shapes' interior.","Please note that if using a fillcolor with alpha greater than half,","drag inside the active shape starts moving the shape underneath,","otherwise a new shape could be started over."].join(" ")},fillrule:{valType:"enumerated",values:["evenodd","nonzero"],dflt:"evenodd",role:"info",editType:"none",description:["Determines the path's interior.","For more info please visit https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill-rule"].join(" ")},opacity:{valType:"number",min:0,max:1,dflt:1,role:"info",editType:"none",description:"Sets the opacity of new shapes."},layer:{valType:"enumerated",values:["below","above"],dflt:"above",role:"info",editType:"none",description:"Specifies whether new shapes are drawn below or above traces."},drawdirection:{valType:"enumerated",role:"info",values:["ortho","horizontal","vertical","diagonal"],dflt:"diagonal",editType:"none",description:["When `dragmode` is set to *drawrect*, *drawline* or *drawcircle*","this limits the drag to be horizontal, vertical or diagonal.","Using *diagonal* there is no limit e.g. in drawing lines in any direction.","*ortho* limits the draw to be either horizontal or vertical.","*horizontal* allows horizontal extend.","*vertical* allows vertical extend."].join(" ")},editType:"none"},activeshape:{fillcolor:{valType:"color",dflt:"rgb(255,0,255)",role:"style",editType:"none",description:"Sets the color filling the active shape' interior."},opacity:{valType:"number",min:0,max:1,dflt:.5,role:"info",editType:"none",description:"Sets the opacity of the active shape."},editType:"none"}}},rJf6:function(e,t,r){"use strict";var n=r("pcRN"),a=r("Nx4I"),i=r("0RW4"),o=r("/CZE").fillText,s=r("aDMI").getLineWidth,l=r("BkK/").hoverLabelText,c=r("6AZA").BADNUM;function u(e,t,r,a){var i,s,u,d,f,h,p,g=e.cd,v=g[0].trace,m=g[0].t,y="closest"===a,x="waterfall"===v.type,b=e.maxHoverDistance;function w(e){return e[u]-e.w/2}function _(e){return e[u]+e.w/2}var k=y?w:function(e){return Math.min(w(e),e.p-m.bardelta/2)},T=y?_:function(e){return Math.max(_(e),e.p+m.bardelta/2)};function M(e,t){return n.inbox(e-i,t-i,b+Math.min(1,Math.abs(t-e)/p)-1)}function S(e){return M(k(e),T(e))}function A(e){var t=s,r=e.b,a=e[d];if(x){var i=Math.abs(e.rawS)||0;t>0?a+=i:t<0&&(a-=i)}return n.inbox(r-t,a-t,b+(a-t)/(a-r)-1)}"h"===v.orientation?(i=r,s=t,u="y",d="x",f=A,h=S):(i=t,s=r,u="x",d="y",h=A,f=S);var C=e[u+"a"],P=e[d+"a"];p=Math.abs(C.r2c(C.range[1])-C.r2c(C.range[0]));var O=n.getDistanceFunction(a,f,h,(function(e){return(f(e)+h(e))/2}));if(n.getClosest(g,O,e),!1!==e.index&&g[e.index].p!==c){y||(k=function(e){return Math.min(w(e),e.p-m.bargroupwidth/2)},T=function(e){return Math.max(_(e),e.p+m.bargroupwidth/2)});var I=g[e.index],z=v.base?I.b+I.s:I.s;e[d+"0"]=e[d+"1"]=P.c2p(I[d],!0),e[d+"LabelVal"]=z;var L=m.extents[m.extents.round(I.p)];return e[u+"0"]=C.c2p(y?k(I):L[0],!0),e[u+"1"]=C.c2p(y?T(I):L[1],!0),e[u+"LabelVal"]=I.p,e.labelLabel=l(C,e[u+"LabelVal"]),e.valueLabel=l(P,e[d+"LabelVal"]),e.spikeDistance=(A(I)+function(e){return M(w(e),_(e))}(I))/2-b,e[u+"Spike"]=C.c2p(I.p,!0),o(I,v,e),e.hovertemplate=v.hovertemplate,e}}function d(e,t){var r=t.mcc||e.marker.color,n=t.mlcc||e.marker.line.color,a=s(e,t);return i.opacity(r)?r:i.opacity(n)&&a?n:void 0}e.exports={hoverPoints:function(e,t,r,n){var i=u(e,t,r,n);if(i){var o=i.cd,s=o[0].trace,l=o[i.index];return i.color=d(s,l),a.getComponentMethod("errorbars","hoverInfo")(l,s,i),[i]}},hoverOnBars:u,getTraceColor:d}},rWDF:function(e,t,r){"use strict";var n=r("eITR");r.n(n).a},"rWI/":function(e,t,r){"use strict";var n=r("Nx4I"),a=r("0wH6").SUBPLOT_PATTERN;t.getSubplotCalcData=function(e,t,r){var a=n.subplotsRegistry[t];if(!a)return[];for(var i=a.attr,o=[],s=0;s<e.length;s++){var l=e[s];l[0].trace[i]===r&&o.push(l)}return o},t.getModuleCalcData=function(e,t){var r,a=[],i=[];if(!(r="string"==typeof t?n.getModule(t).plot:"function"==typeof t?t:t.plot))return[a,e];for(var o=0;o<e.length;o++){var s=e[o],l=s[0].trace;!0===l.visible&&0!==l._length&&(l._module.plot===r?a.push(s):i.push(s))}return[a,i]},t.getSubplotData=function(e,t,r){if(!n.subplotsRegistry[t])return[];var i,o,s,l=n.subplotsRegistry[t].attr,c=[];if("gl2d"===t){var u=r.match(a);o="x"+u[1],s="y"+u[2]}for(var d=0;d<e.length;d++)i=e[d],"gl2d"===t&&n.traceIs(i,"gl2d")?i[l[0]]===o&&i[l[1]]===s&&c.push(i):i[l]===r&&c.push(i);return c}},"rZH/":function(e,t,r){"use strict";var n=r("/CZE"),a=r("oois"),i=r("6M+F"),o=r("QkhT");e.exports=function(e,t){var r;return n.isPlainObject(e)||(r=n.getGraphDiv(e)),(t=t||{}).format=t.format||"png",t.imageDataOnly=!0,new Promise((function(s,l){r&&r._snapshotInProgress&&l(new Error("Snapshotting already in progress.")),n.isIE()&&"svg"!==t.format&&l(new Error(o.MSG_IE_BAD_FORMAT)),r&&(r._snapshotInProgress=!0);var c=a(e,t),u=t.filename||e.fn||"newplot";u+="."+t.format.replace("-","."),c.then((function(e){return r&&(r._snapshotInProgress=!1),i(e,u,t.format)})).then((function(e){s(e)})).catch((function(e){r&&(r._snapshotInProgress=!1),l(e)}))}))}},rhNM:function(e,t,r){"use strict";var n=r("P/XJ").dfltConfig,a=r("AII8"),i=e.exports={};function o(e,t){if(e&&e.apply)try{return void e.apply(console,t)}catch(e){}for(var r=0;r<t.length;r++)try{e(t[r])}catch(e){console.log(t[r])}}i.log=function(){var e;if(n.logging>1){var t=["LOG:"];for(e=0;e<arguments.length;e++)t.push(arguments[e]);o(console.trace||console.log,t)}if(n.notifyOnLogging>1){var r=[];for(e=0;e<arguments.length;e++)r.push(arguments[e]);a(r.join("<br>"),"long")}},i.warn=function(){var e;if(n.logging>0){var t=["WARN:"];for(e=0;e<arguments.length;e++)t.push(arguments[e]);o(console.trace||console.log,t)}if(n.notifyOnLogging>0){var r=[];for(e=0;e<arguments.length;e++)r.push(arguments[e]);a(r.join("<br>"),"stick")}},i.error=function(){var e;if(n.logging>0){var t=["ERROR:"];for(e=0;e<arguments.length;e++)t.push(arguments[e]);o(console.error,t)}if(n.notifyOnLogging>0){var r=[];for(e=0;e<arguments.length;e++)r.push(arguments[e]);a(r.join("<br>"),"stick")}}},rkn4:function(e,t,r){"use strict";var n=r("ehf/");r.n(n).a},rla6:function(e,t,r){var n=r("1DoN");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("0b0d8dbe",n,!0,{})},s02k:function(e,t,r){"use strict";var n=r("5EAt"),a=r("UtjE"),i=a.CIRCLE_SIDES,o=a.SQRT2,s=r("rDM+"),l=s.p2r,c=s.r2p,u=[0,3,4,5,6,1,2],d=[0,3,4,1,2];function f(e,t){return Math.abs(e-t)<=1e-6}function h(e,t){var r=t[1]-e[1],n=t[2]-e[2];return Math.sqrt(r*r+n*n)}t.writePaths=function(e){var t=e.length;if(!t)return"M0,0Z";for(var r="",n=0;n<t;n++)for(var a=e[n].length,i=0;i<a;i++){var o=e[n][i][0];if("Z"===o)r+="Z";else for(var s=e[n][i].length,l=0;l<s;l++){var c=l;"Q"===o||"S"===o?c=d[l]:"C"===o&&(c=u[l]),r+=e[n][i][c],l>0&&l<s-1&&(r+=",")}}return r},t.readPaths=function(e,t,r,a){var o,s,u,d=n(e),f=[],h=-1,p=0,g=0,v=function(){s=p,u=g};v();for(var m=0;m<d.length;m++){var y,x,b,w,_=[],k=d[m][0],T=k;switch(k){case"M":h++,f[h]=[],p=+d[m][1],g=+d[m][2],_.push([T,p,g]),v();break;case"Q":case"S":y=+d[m][1],b=+d[m][2],p=+d[m][3],g=+d[m][4],_.push([T,p,g,y,b]);break;case"C":y=+d[m][1],b=+d[m][2],x=+d[m][3],w=+d[m][4],p=+d[m][5],g=+d[m][6],_.push([T,p,g,y,b,x,w]);break;case"T":case"L":p=+d[m][1],g=+d[m][2],_.push([T,p,g]);break;case"H":T="L",p=+d[m][1],_.push([T,p,g]);break;case"V":T="L",g=+d[m][1],_.push([T,p,g]);break;case"A":T="L";var M=+d[m][1],S=+d[m][2];+d[m][4]||(M=-M,S=-S);var A=p-M,C=g;for(o=1;o<=i/2;o++){var P=2*Math.PI*o/i;_.push([T,A+M*Math.cos(P),C+S*Math.sin(P)])}break;case"Z":p===s&&g===u||(p=s,g=u,_.push([T,p,g]))}for(var O=(r||{}).domain,I=t._fullLayout._size,z=r&&"pixel"===r.xsizemode,L=r&&"pixel"===r.ysizemode,E=!1===a,j=0;j<_.length;j++){for(o=0;o+2<7;o+=2){var D=_[j][o+1],R=_[j][o+2];void 0!==D&&void 0!==R&&(p=D,g=R,r&&(r.xaxis&&r.xaxis.p2r?(E&&(D-=r.xaxis._offset),D=z?c(r.xaxis,r.xanchor)+D:l(r.xaxis,D)):(E&&(D-=I.l),O?D=O.x[0]+D/I.w:D/=I.w),r.yaxis&&r.yaxis.p2r?(E&&(R-=r.yaxis._offset),R=L?c(r.yaxis,r.yanchor)-R:l(r.yaxis,R)):(E&&(R-=I.t),R=O?O.y[1]-R/I.h:1-R/I.h)),_[j][o+1]=D,_[j][o+2]=R)}f[h].push(_[j].slice())}}return f},t.pointsShapeRectangle=function(e){if(5!==e.length)return!1;for(var t=1;t<3;t++){if(!f(e[0][t]-e[1][t],e[3][t]-e[2][t]))return!1;if(!f(e[0][t]-e[3][t],e[1][t]-e[2][t]))return!1}return!(!f(e[0][1],e[1][1])&&!f(e[0][1],e[3][1]))&&!!(h(e[0],e[1])*h(e[0],e[3]))},t.pointsShapeEllipse=function(e){var t=e.length;if(t!==i+1)return!1;t=i;for(var r=0;r<t;r++){var n=(2*t-r)%t,a=(t/2+n)%t,o=(t/2+r)%t;if(!f(h(e[r],e[o]),h(e[n],e[a])))return!1}return!0},t.handleEllipse=function(e,r,n){if(!e)return[r,n];var a=t.ellipseOver({x0:r[0],y0:r[1],x1:n[0],y1:n[1]}),s=(a.x1+a.x0)/2,l=(a.y1+a.y0)/2,c=(a.x1-a.x0)/2,u=(a.y1-a.y0)/2;c||(c=u/=o),u||(u=c/=o);for(var d=[],f=0;f<i;f++){var h=2*f*Math.PI/i;d.push([s+c*Math.cos(h),l+u*Math.sin(h)])}return d},t.ellipseOver=function(e){var t=e.x0,r=e.y0,n=e.x1,a=e.y1,i=n-t,s=a-r,l=((t-=i)+n)/2,c=((r-=s)+a)/2;return{x0:l-(i*=o),y0:c-(s*=o),x1:l+i,y1:c+s}}},s1NN:function(e,t,r){"use strict";var n=r("u3HJ");t.name="sunburst",t.plot=function(e,r,a,i){n.plotBasePlot(t.name,e,r,a,i)},t.clean=function(e,r,a,i){n.cleanBasePlot(t.name,e,r,a,i)}},s6w0:function(e,t,r){(t=r("JPst")(!1)).push([e.i,".spinner[data-v-03dc618e]{border-radius:100%;display:inline-block;animation:sk-scaleout-data-v-03dc618e 1s ease-in-out infinite}@keyframes sk-scaleout-data-v-03dc618e{0%{transform:scale(0)}100%{transform:scale(1);opacity:0}}\n",""]),e.exports=t},sJ7h:function(e,t,r){"use strict";var n=r("p4iy");r.n(n).a},sNp6:function(e,t,r){(t=r("JPst")(!1)).push([e.i,".spinner[data-v-6b2ba7d0]{height:40px;width:40px}.spinner *[data-v-6b2ba7d0]{line-height:0;box-sizing:border-box}.b0[data-v-6b2ba7d0]{animation:rotate-square-3-b0-data-v-6b2ba7d0 4s infinite ease;transform-origin:250px 250px}.b1[data-v-6b2ba7d0]{animation:rotate-square-3-b1-data-v-6b2ba7d0 4s infinite ease}.b2[data-v-6b2ba7d0]{animation:rotate-square-3-b2-data-v-6b2ba7d0 4s infinite ease}.b3[data-v-6b2ba7d0]{animation:rotate-square-3-b3-data-v-6b2ba7d0 4s infinite ease}.b4[data-v-6b2ba7d0]{animation:rotate-square-3-b4-data-v-6b2ba7d0 4s infinite ease}@keyframes rotate-square-3-b0-data-v-6b2ba7d0{0%{transform:rotate(0)}25%{transform:rotate(-90deg)}50%{transform:rotate(-180deg)}75%{transform:rotate(-270deg)}100%{transform:rotate(-360deg)}}@keyframes rotate-square-3-b1-data-v-6b2ba7d0{0%{transform:translate(0, 0)}25%{transform:translate(0, 355px)}50%{transform:translate(355px, 355px)}75%{transform:translate(355px, 0)}100%{transform:translate(0, 0)}}@keyframes rotate-square-3-b2-data-v-6b2ba7d0{0%{transform:translate(0, 0)}25%{transform:translate(-355px, 0)}50%{transform:translate(-355px, 355px)}75%{transform:translate(0, 355px)}100%{transform:translate(0, 0)}}@keyframes rotate-square-3-b3-data-v-6b2ba7d0{0%{transform:translate(0, 0)}25%{transform:translate(0, -355px)}50%{transform:translate(-355px, -355px)}75%{transform:translate(-355px, 0)}100%{transform:translate(0, 0)}}@keyframes rotate-square-3-b4-data-v-6b2ba7d0{0%{transform:translate(0, 0)}25%{transform:translate(355px, 0)}50%{transform:translate(355px, -355px)}75%{transform:translate(0, -355px)}100%{transform:translate(0, 0)}}\n",""]),e.exports=t},sZtP:function(e,t,r){"use strict";e.exports={yPad:.02,minButtonWidth:30,rx:3,ry:3,lightAmount:25,darkAmount:10}},sahz:function(e,t,r){"use strict";var n=r("/CZE"),a=r("EZ4C"),i=r("rWI/").getSubplotData,o=r("CASU"),s=r("Rb6W"),l=o.axesNames;function c(e,t,r,a){var s=i(a.fullData,"geo",a.id).map((function(e){return e._expandedIndex})),c=r("resolution"),u=r("scope"),d=o.scopeDefaults[u],f=r("projection.type",d.projType),h=t._isAlbersUsa="albers usa"===f;h&&(u=t.scope="usa");var p=t._isScoped="world"!==u,g=t._isConic=-1!==f.indexOf("conic"),v=t._isClipped=!!o.lonaxisSpan[f];if(!1===e.visible){var m=n.extendDeep({},t._template);m.showcoastlines=!1,m.showcountries=!1,m.showframe=!1,m.showlakes=!1,m.showland=!1,m.showocean=!1,m.showrivers=!1,m.showsubunits=!1,m.lonaxis&&(m.lonaxis.showgrid=!1),m.lataxis&&(m.lataxis.showgrid=!1),t._template=m}for(var y=r("visible"),x=0;x<l.length;x++){var b,w=l[x],_=[30,10][x];if(p)b=d[w+"Range"];else{var k=o[w+"Span"],T=(k[f]||k["*"])/2,M=r("projection.rotation."+w.substr(0,3),d.projRotate[x]);b=[M-T,M+T]}var S=r(w+".range",b);r(w+".tick0"),r(w+".dtick",_),r(w+".showgrid",!!y&&void 0)&&(r(w+".gridcolor"),r(w+".gridwidth")),t[w]._ax={type:"linear",_id:w.slice(0,3),_traceIndices:s,setScale:n.identity,c2l:n.identity,r2l:n.identity,autorange:!0,range:S.slice(),_m:1,_input:{}}}var A=t.lonaxis.range,C=t.lataxis.range,P=A[0],O=A[1];P>0&&O<0&&(O+=360);var I,z,L,E=(P+O)/2;if(!h){var j=p?d.projRotate:[E,0,0];I=r("projection.rotation.lon",j[0]),r("projection.rotation.lat",j[1]),r("projection.rotation.roll",j[2]),r("showcoastlines",!p&&y)&&(r("coastlinecolor"),r("coastlinewidth")),r("showocean",!!y&&void 0)&&r("oceancolor")}(h?(z=-96.6,L=38.7):(z=p?E:I,L=(C[0]+C[1])/2),r("center.lon",z),r("center.lat",L),g)&&r("projection.parallels",d.projParallels||[0,60]);r("projection.scale"),r("showland",!!y&&void 0)&&r("landcolor"),r("showlakes",!!y&&void 0)&&r("lakecolor"),r("showrivers",!!y&&void 0)&&(r("rivercolor"),r("riverwidth")),r("showcountries",p&&"usa"!==u&&y)&&(r("countrycolor"),r("countrywidth")),("usa"===u||"north america"===u&&50===c)&&(r("showsubunits",y),r("subunitcolor"),r("subunitwidth")),p||r("showframe",y)&&(r("framecolor"),r("framewidth")),r("bgcolor"),r("fitbounds")&&(delete t.projection.scale,p?(delete t.center.lon,delete t.center.lat):v?(delete t.center.lon,delete t.center.lat,delete t.projection.rotation.lon,delete t.projection.rotation.lat,delete t.lonaxis.range,delete t.lataxis.range):(delete t.center.lon,delete t.center.lat,delete t.projection.rotation.lon))}e.exports=function(e,t,r){a(e,t,r,{type:"geo",attributes:s,handleDefaults:c,fullData:r,partition:"y"})}},sfR3:function(e,t,r){(t=r("JPst")(!1)).push([e.i,".spinner[data-v-ffcc2a80]{display:flex;justify-content:center;align-items:center}.spinner *[data-v-ffcc2a80]{line-height:0;box-sizing:border-box}.spinner-inner[data-v-ffcc2a80]{width:100px;height:100px;flex-shrink:0}.loader-xbox[data-v-ffcc2a80],.loader-xbox[data-v-ffcc2a80]:before,.loader-xbox[data-v-ffcc2a80]:after{position:absolute;border:3px solid transparent;border-top:3px solid #41b883;border-radius:50%;animation:rotate-data-v-ffcc2a80 linear infinite;content:''}.loader-xbox[data-v-ffcc2a80]{height:100px;width:100px;animation-duration:1.05s}.loader-xbox[data-v-ffcc2a80]:before{height:75px;width:75px;top:10px;left:10px;border-top:3px solid #f7484e;animation-duration:10s}.loader-xbox[data-v-ffcc2a80]:after{height:50px;width:50px;top:22px;left:22px;border-top:3px solid #f8b334;animation-duration:4s}@keyframes rotate-data-v-ffcc2a80{from{transform:rotateZ(360deg)}to{transform:rotateZ(0deg)}}\n",""]),e.exports=t},sgXD:function(e,t,r){"use strict";e.exports={eventDataKeys:["percentInitial","percentPrevious","percentTotal"]}},"t/Ts":function(e,t,r){var n=r("1sD8");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("223a5504",n,!0,{})},t3iM:function(e,t,r){"use strict";e.exports=function(){}},t7il:function(e,t,r){"use strict";var n=r("15jM"),a=r("kJIm").extendFlat,i=r("yzSc").overrideAll,o=["Legacy polar charts are deprecated!","Please switch to *polar* subplots."].join(" "),s=a({},n.domain,{description:["Polar chart subplots are not supported yet.","This key has currently no effect."].join(" ")});function l(e,t){var r={showline:{valType:"boolean",role:"style",description:[o,"Determines whether or not the line bounding this",e,"axis","will be shown on the figure."].join(" ")},showticklabels:{valType:"boolean",role:"style",description:[o,"Determines whether or not the",e,"axis ticks","will feature tick labels."].join(" ")},tickorientation:{valType:"enumerated",values:["horizontal","vertical"],role:"style",description:[o,"Sets the orientation (from the paper perspective)","of the",e,"axis tick labels."].join(" ")},ticklen:{valType:"number",min:0,role:"style",description:[o,"Sets the length of the tick lines on this",e,"axis."].join(" ")},tickcolor:{valType:"color",role:"style",description:[o,"Sets the color of the tick lines on this",e,"axis."].join(" ")},ticksuffix:{valType:"string",role:"style",description:[o,"Sets the length of the tick lines on this",e,"axis."].join(" ")},endpadding:{valType:"number",role:"style",description:o},visible:{valType:"boolean",role:"info",description:[o,"Determines whether or not this axis will be visible."].join(" ")}};return a({},t,r)}e.exports=i({radialaxis:l("radial",{range:{valType:"info_array",role:"info",items:[{valType:"number"},{valType:"number"}],description:[o,"Defines the start and end point of this radial axis."].join(" ")},domain:s,orientation:{valType:"number",role:"style",description:[o,"Sets the orientation (an angle with respect to the origin)","of the radial axis."].join(" ")}}),angularaxis:l("angular",{range:{valType:"info_array",role:"info",items:[{valType:"number",dflt:0},{valType:"number",dflt:360}],description:[o,"Defines the start and end point of this angular axis."].join(" ")},domain:s}),layout:{direction:{valType:"enumerated",values:["clockwise","counterclockwise"],role:"info",description:[o,"Sets the direction corresponding to positive angles","in legacy polar charts."].join(" ")},orientation:{valType:"angle",role:"info",description:[o,"Rotates the entire polar by the given angle","in legacy polar charts."].join(" ")}}},"plot","nested")},tDtm:function(e,t,r){"use strict";var n=r("E4V0"),a=r("t3iM"),i=r("rhNM"),o=r("3HVJ").sorterAsc,s=r("Nx4I");t.containerArrayMatch=r("p96X");var l=t.isAddVal=function(e){return"add"===e||n(e)},c=t.isRemoveVal=function(e){return null===e||"remove"===e};t.applyContainerArrayChanges=function(e,t,r,n,u){var d=t.astr,f=s.getComponentMethod(d,"supplyLayoutDefaults"),h=s.getComponentMethod(d,"draw"),p=s.getComponentMethod(d,"drawOne"),g=n.replot||n.recalc||f===a||h===a,v=e.layout,m=e._fullLayout;if(r[""]){Object.keys(r).length>1&&i.warn("Full array edits are incompatible with other edits",d);var y=r[""][""];if(c(y))t.set(null);else{if(!Array.isArray(y))return i.warn("Unrecognized full array edit value",d,y),!0;t.set(y)}return!g&&(f(v,m),h(e),!0)}var x,b,w,_,k,T,M,S,A=Object.keys(r).map(Number).sort(o),C=t.get(),P=C||[],O=u(m,d).get(),I=[],z=-1,L=P.length;for(x=0;x<A.length;x++)if(_=r[w=A[x]],k=Object.keys(_),T=_[""],M=l(T),w<0||w>P.length-(M?0:1))i.warn("index out of range",d,w);else if(void 0!==T)k.length>1&&i.warn("Insertion & removal are incompatible with edits to the same index.",d,w),c(T)?I.push(w):M?("add"===T&&(T={}),P.splice(w,0,T),O&&O.splice(w,0,{})):i.warn("Unrecognized full object edit value",d,w,T),-1===z&&(z=w);else for(b=0;b<k.length;b++)S=d+"["+w+"].",u(P[w],k[b],S).set(_[k[b]]);for(x=I.length-1;x>=0;x--)P.splice(I[x],1),O&&O.splice(I[x],1);if(P.length?C||t.set(P):t.set(null),g)return!1;if(f(v,m),p!==a){var E;if(-1===z)E=A;else{for(L=Math.max(P.length,L),E=[],x=0;x<A.length&&!((w=A[x])>=z);x++)E.push(w);for(x=z;x<L;x++)E.push(x)}for(x=0;x<E.length;x++)p(e,E[x])}else h(e);return!0}},tF5w:function(e,t,r){(t=r("JPst")(!1)).push([e.i,".spinner[data-v-9048bf2e]{display:inline-block;text-align:center;font-size:10px}.spinner *[data-v-9048bf2e]{line-height:0;box-sizing:border-box}.rect[data-v-9048bf2e]{animation:sk-stretchdelay-data-v-9048bf2e 1.2s ease-in-out infinite}.spinner>div[data-v-9048bf2e]{height:100%;width:10%;display:inline-block}.spinner .rect-2[data-v-9048bf2e]{animation-delay:-1.1s}.spinner .rect-3[data-v-9048bf2e]{animation-delay:-1.0s}.spinner .rect-4[data-v-9048bf2e]{animation-delay:-0.9s}.spinner .rect-5[data-v-9048bf2e]{animation-delay:-0.8s}@keyframes sk-stretchdelay-data-v-9048bf2e{0%,40%,100%{transform:scaleY(0.4)}20%{transform:scaleY(1)}}\n",""]),e.exports=t},tTmA:function(e,t,r){"use strict";var n=r("DOzC").setGroupPositions;e.exports=function(e,t){var r,a,i=e._fullLayout,o=e._fullData,s=e.calcdata,l=t.xaxis,c=t.yaxis,u=[],d=[],f=[];for(a=0;a<o.length;a++){var h=o[a];!0===h.visible&&h.xaxis===l._id&&h.yaxis===c._id&&"waterfall"===h.type&&(r=s[a],"h"===h.orientation?f.push(r):d.push(r),u.push(r))}var p={mode:i.waterfallmode,norm:i.waterfallnorm,gap:i.waterfallgap,groupgap:i.waterfallgroupgap};for(n(e,l,c,d,p),n(e,c,l,f,p),a=0;a<u.length;a++){r=u[a];for(var g=0;g<r.length;g++){var v=r[g];!1===v.isSum&&(v.s0+=0===g?0:r[g-1].s),g+1<r.length&&(r[g].nextP0=r[g+1].p0,r[g].nextS0=r[g+1].s0)}}}},teKd:function(e,t,r){"use strict";var n=r("Nx4I").traceIs,a=r("C3fs");function i(e){return{v:"x",h:"y"}[e.orientation||"v"]}function o(e,t){var r=i(e),a=n(e,"box-violin"),o=n(e._fullInput||{},"candlestick");return a&&!o&&t===r&&void 0===e[r]&&void 0===e[r+"0"]}e.exports=function(e,t,r,s){"-"===r("type",(s.splomStash||{}).type)&&(!function(e,t){if("-"!==e.type)return;var r,s=e._id,l=s.charAt(0);-1!==s.indexOf("scene")&&(s=l);var c=function(e,t,r){for(var n=0;n<e.length;n++){var a=e[n];if("splom"===a.type&&a._length>0&&(a["_"+r+"axes"]||{})[t])return a;if((a[r+"axis"]||r)===t){if(o(a,r))return a;if((a[r]||[]).length||a[r+"0"])return a}}}(t,s,l);if(!c)return;if("histogram"===c.type&&l==={v:"y",h:"x"}[c.orientation||"v"])return void(e.type="linear");var u=l+"calendar",d=c[u],f={noMultiCategory:!n(c,"cartesian")||n(c,"noMultiCategory")};"box"===c.type&&c._hasPreCompStats&&l==={h:"x",v:"y"}[c.orientation||"v"]&&(f.noMultiCategory=!0);if(o(c,l)){var h=i(c),p=[];for(r=0;r<t.length;r++){var g=t[r];n(g,"box-violin")&&(g[l+"axis"]||l)===s&&(void 0!==g[h]?p.push(g[h][0]):void 0!==g.name?p.push(g.name):p.push("text"),g[u]!==d&&(d=void 0))}e.type=a(p,d,f)}else if("splom"===c.type){var v=c.dimensions[c._axesDim[s]];v.visible&&(e.type=a(v.values,d,f))}else e.type=a(c[l]||[c[l+"0"]],d,f)}(t,s.data),"-"===t.type?t.type="linear":e.type=t.type)}},teMc:function(e,t,r){"use strict";var n=r("bljh"),a=r("GbLo"),i=r("LI1c"),o=r("/CZE"),s=o.nestedProperty,l=r("h0EB"),c=r("xra3"),u=r("Nx4I"),d=r("aSHK"),f=r("u3HJ"),h=r("VQYE"),p=r("BkK/"),g=r("g9E0"),v=r("0RW4"),m=r("Guo4").initInteractions,y=r("c8nr"),x=r("A3kh"),b=r("GHb7").clearSelect,w=r("P/XJ").dfltConfig,_=r("tDtm"),k=r("xJcw"),T=r("o5LV"),M=r("yzSc"),S=r("0wH6").AX_NAME_PATTERN,A=0;function C(e){var t=e._fullLayout;t._redrawFromAutoMarginCount?t._redrawFromAutoMarginCount--:e.emit("plotly_afterplot")}function P(e,t){try{e._fullLayout._paper.style("background",t)}catch(e){o.error(e)}}function O(e,t){P(e,v.combine(t,"white"))}function I(e,t){if(!e._context){e._context=o.extendDeep({},w);var r=n.select("base");e._context._baseUrl=r.size()&&r.attr("href")?window.location.href.split("#")[0]:""}var a,s,l,c=e._context;if(t){for(s=Object.keys(t),a=0;a<s.length;a++)"editable"!==(l=s[a])&&"edits"!==l&&l in c&&("setBackground"===l&&"opaque"===t[l]?c[l]=O:c[l]=t[l]);t.plot3dPixelRatio&&!c.plotGlPixelRatio&&(c.plotGlPixelRatio=c.plot3dPixelRatio);var u=t.editable;if(void 0!==u)for(c.editable=u,s=Object.keys(c.edits),a=0;a<s.length;a++)c.edits[s[a]]=u;if(t.edits)for(s=Object.keys(t.edits),a=0;a<s.length;a++)(l=s[a])in c.edits&&(c.edits[l]=t.edits[l]);c._exportedPlot=t._exportedPlot}c.staticPlot&&(c.editable=!1,c.edits={},c.autosizable=!1,c.scrollZoom=!1,c.doubleClick=!1,c.showTips=!1,c.showLink=!1,c.displayModeBar=!1),"hover"!==c.displayModeBar||i||(c.displayModeBar=!0),"transparent"!==c.setBackground&&"function"==typeof c.setBackground||(c.setBackground=P),c._hasZeroHeight=c._hasZeroHeight||0===e.clientHeight,c._hasZeroWidth=c._hasZeroWidth||0===e.clientWidth;var d=c.scrollZoom,f=c._scrollZoom={};if(!0===d)f.cartesian=1,f.gl3d=1,f.geo=1,f.mapbox=1;else if("string"==typeof d){var h=d.split("+");for(a=0;a<h.length;a++)f[h[a]]=1}else!1!==d&&(f.gl3d=1,f.geo=1,f.mapbox=1)}function z(e,t){var r,n,a=t+1,i=[];for(r=0;r<e.length;r++)(n=e[r])<0?i.push(a+n):i.push(n);return i}function L(e,t,r){var n,a;for(n=0;n<t.length;n++){if((a=t[n])!==parseInt(a,10))throw new Error("all values in "+r+" must be integers");if(a>=e.data.length||a<-e.data.length)throw new Error(r+" must be valid indices for gd.data.");if(t.indexOf(a,n+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 "+r+" must be unique.")}}function E(e,t,r){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]),L(e,t,"currentIndices"),void 0===r||Array.isArray(r)||(r=[r]),void 0!==r&&L(e,r,"newIndices"),void 0!==r&&t.length!==r.length)throw new Error("current and new indices must be of equal length.")}function j(e,t,r,n,i){!function(e,t,r,n){var a=o.isPlainObject(n);if(!Array.isArray(e.data))throw new Error("gd.data must be an array");if(!o.isPlainObject(t))throw new Error("update must be a key:value object");if(void 0===r)throw new Error("indices must be an integer or array of integers");for(var i in L(e,r,"indices"),t){if(!Array.isArray(t[i])||t[i].length!==r.length)throw new Error("attribute "+i+" must be an array of length equal to indices array length");if(a&&(!(i in n)||!Array.isArray(n[i])||n[i].length!==t[i].length))throw new Error("when maxPoints is set as a key:value object it must contain a 1:1 corrispondence with the keys and number of traces in the update object")}}(e,t,r,n);for(var l=function(e,t,r,n){var i,l,c,u,d,f=o.isPlainObject(n),h=[];for(var p in Array.isArray(r)||(r=[r]),r=z(r,e.data.length-1),t)for(var g=0;g<r.length;g++){if(i=e.data[r[g]],l=(c=s(i,p)).get(),u=t[p][g],!o.isArrayOrTypedArray(u))throw new Error("attribute: "+p+" index: "+g+" must be an array");if(!o.isArrayOrTypedArray(l))throw new Error("cannot extend missing or non-array attribute: "+p);if(l.constructor!==u.constructor)throw new Error("cannot extend array with an array of a different type: "+p);d=f?n[p][g]:n,a(d)||(d=-1),h.push({prop:c,target:l,insert:u,maxp:Math.floor(d)})}return h}(e,t,r,n),c={},u={},d=0;d<l.length;d++){var f=l[d].prop,h=l[d].maxp,p=i(l[d].target,l[d].insert,h);f.set(p[0]),Array.isArray(c[f.astr])||(c[f.astr]=[]),c[f.astr].push(p[1]),Array.isArray(u[f.astr])||(u[f.astr]=[]),u[f.astr].push(l[d].target.length)}return{update:c,maxPoints:u}}function D(e,t){var r=new e.constructor(e.length+t.length);return r.set(e),r.set(t,e.length),r}function R(e,r,n,a){e=o.getGraphDiv(e),k.clearPromiseQueue(e);var i={};if("string"==typeof r)i[r]=n;else{if(!o.isPlainObject(r))return o.warn("Restyle fail.",r,n,a),Promise.reject();i=o.extendFlat({},r),void 0===a&&(a=n)}Object.keys(i).length&&(e.changed=!0);var s=k.coerceTraceIndices(e,a),l=H(e,i,s),u=l.flags;u.calc&&(e.calcdata=void 0),u.clearAxisTypes&&k.clearAxisTypes(e,s,{});var d=[];u.fullReplot?d.push(t.plot):(d.push(f.previousPromises),f.supplyDefaults(e),u.markerSize&&(f.doCalcdata(e),q(d)),u.style&&d.push(T.doTraceStyle),u.colorbars&&d.push(T.doColorBars),d.push(C)),d.push(f.rehover,f.redrag),c.add(e,R,[e,l.undoit,l.traces],R,[e,l.redoit,l.traces]);var h=o.syncOrAsync(d,e);return h&&h.then||(h=Promise.resolve()),h.then((function(){return e.emit("plotly_restyle",l.eventData),e}))}function N(e){return void 0===e?null:e}function F(e,t){return t?function(t,r,n){var a=s(t,r),i=a.set;return a.set=function(t){B((n||"")+r,a.get(),t,e),i(t)},a}:s}function B(e,t,r,n){if(Array.isArray(t)||Array.isArray(r))for(var a=Array.isArray(t)?t:[],i=Array.isArray(r)?r:[],s=Math.max(a.length,i.length),l=0;l<s;l++)B(e+"["+l+"]",a[l],i[l],n);else if(o.isPlainObject(t)||o.isPlainObject(r)){var c=o.isPlainObject(t)?t:{},u=o.isPlainObject(r)?r:{},d=o.extendFlat({},c,u);for(var f in d)B(e+"."+f,c[f],u[f],n)}else void 0===n[e]&&(n[e]=N(t))}function H(e,t,r){var n,a=e._fullLayout,i=e._fullData,l=e.data,c=a._guiEditing,h=F(a._preGUI,c),g=o.extendDeepAll({},t);V(t);var v,m=M.traceFlags(),y={},x={};function b(){return r.map((function(){}))}function w(e){var t=p.id2name(e);-1===v.indexOf(t)&&v.push(t)}function _(e){return"LAYOUT"+e+".autorange"}function T(e){return"LAYOUT"+e+".range"}function S(e){for(var t=e;t<i.length;t++)if(i[t]._input===l[e])return i[t]}function A(n,i,o){if(Array.isArray(n))n.forEach((function(e){A(e,i,o)}));else if(!(n in t)&&!k.hasParent(t,n)){var s;if("LAYOUT"===n.substr(0,6))s=h(e.layout,n.replace("LAYOUT",""));else{var u=r[o];s=F(a._tracePreGUI[S(u)._fullInput.uid],c)(l[u],n)}n in x||(x[n]=b()),void 0===x[n][o]&&(x[n][o]=N(s.get())),void 0!==i&&s.set(i)}}function C(e){return function(t){return i[t][e]}}function P(e){return function(t,n){return!1===t?i[r[n]][e]:null}}for(var O in t){if(k.hasParent(t,O))throw new Error("cannot set "+O+" and a parent attribute simultaneously");var I,z,L,E,j,D,R=t[O];if("autobinx"!==O&&"autobiny"!==O||(O=O.charAt(O.length-1)+"bins",R=Array.isArray(R)?R.map(P(O)):!1===R?r.map(C(O)):null),y[O]=R,"LAYOUT"!==O.substr(0,6)){for(x[O]=b(),n=0;n<r.length;n++){if(I=l[r[n]],z=S(r[n]),E=(L=F(a._tracePreGUI[z._fullInput.uid],c)(I,O)).get(),void 0!==(j=Array.isArray(R)?R[n%R.length]:R)){var B=L.parts[L.parts.length-1],H=O.substr(0,O.length-B.length-1),G=H?H+".":"",Z=H?s(z,H).get():z;if((D=d.getTraceValObject(z,L.parts))&&D.impliedEdits&&null!==j)for(var q in D.impliedEdits)A(o.relativeAttr(O,q),D.impliedEdits[q],n);else if("thicknessmode"!==B&&"lenmode"!==B||E===j||"fraction"!==j&&"pixels"!==j||!Z){if("type"===O&&("pie"===j!=("pie"===E)||"funnelarea"===j!=("funnelarea"===E))){var U="x",W="y";"bar"!==j&&"bar"!==E||"h"!==I.orientation||(U="y",W="x"),o.swapAttrs(I,["?","?src"],"labels",U),o.swapAttrs(I,["d?","?0"],"label",U),o.swapAttrs(I,["?","?src"],"values",W),"pie"===E||"funnelarea"===E?(s(I,"marker.color").set(s(I,"marker.colors").get()),a._pielayer.selectAll("g.trace").remove()):u.traceIs(I,"cartesian")&&s(I,"marker.colors").set(s(I,"marker.color").get())}}else{var Y=a._size,X=Z.orient,$="top"===X||"bottom"===X;if("thicknessmode"===B){var J=$?Y.h:Y.w;A(G+"thickness",Z.thickness*("fraction"===j?1/J:J),n)}else{var K=$?Y.w:Y.h;A(G+"len",Z.len*("fraction"===j?1/K:K),n)}}x[O][n]=N(E);if(-1!==["swapxy","swapxyaxes","orientation","orientationaxes"].indexOf(O)){if("orientation"===O){L.set(j);var Q=I.x&&!I.y?"h":"v";if((L.get()||Q)===z.orientation)continue}else"orientationaxes"===O&&(I.orientation={v:"h",h:"v"}[z.orientation]);k.swapXYData(I),m.calc=m.clearAxisTypes=!0}else-1!==f.dataArrayContainers.indexOf(L.parts[0])?(k.manageArrayContainers(L,j,x),m.calc=!0):(D?D.arrayOk&&!u.traceIs(z,"regl")&&(o.isArrayOrTypedArray(j)||o.isArrayOrTypedArray(E))?m.calc=!0:M.update(m,D):m.calc=!0,L.set(j))}}if(-1!==["swapxyaxes","orientationaxes"].indexOf(O)&&p.swap(e,r),"orientationaxes"===O){var ee=s(e.layout,"hovermode");"x"===ee.get()?ee.set("y"):"y"===ee.get()?ee.set("x"):"x unified"===ee.get()?ee.set("y unified"):"y unified"===ee.get()&&ee.set("x unified")}if(-1!==["orientation","type"].indexOf(O)){for(v=[],n=0;n<r.length;n++){var te=l[r[n]];u.traceIs(te,"cartesian")&&(w(te.xaxis||"x"),w(te.yaxis||"y"))}A(v.map(_),!0,0),A(v.map(T),[0,1],0)}}else L=h(e.layout,O.replace("LAYOUT","")),x[O]=[N(L.get())],L.set(Array.isArray(R)?R[0]:R),m.calc=!0}return(m.calc||m.plot)&&(m.fullReplot=!0),{flags:m,undoit:x,redoit:y,traces:r,eventData:o.extendDeepNoArrays([],[g,r])}}function V(e){var t,r,n,a=o.counterRegex("axis",".title",!1,!1),i=/colorbar\.title$/,s=Object.keys(e);for(t=0;t<s.length;t++)r=s[t],n=e[r],"title"!==r&&!a.test(r)&&!i.test(r)||"string"!=typeof n&&"number"!=typeof n?r.indexOf("titlefont")>-1?l(r,r.replace("titlefont","title.font")):r.indexOf("titleposition")>-1?l(r,r.replace("titleposition","title.position")):r.indexOf("titleside")>-1?l(r,r.replace("titleside","title.side")):r.indexOf("titleoffset")>-1&&l(r,r.replace("titleoffset","title.offset")):l(r,r.replace("title","title.text"));function l(t,r){e[r]=e[t],delete e[t]}}function G(e,t,r){if(e=o.getGraphDiv(e),k.clearPromiseQueue(e),e.framework&&e.framework.isPolar)return Promise.resolve(e);var n={};if("string"==typeof t)n[t]=r;else{if(!o.isPlainObject(t))return o.warn("Relayout fail.",t,r),Promise.reject();n=o.extendFlat({},t)}Object.keys(n).length&&(e.changed=!0);var a=X(e,n),i=a.flags;i.calc&&(e.calcdata=void 0);var s=[f.previousPromises];i.layoutReplot?s.push(T.layoutReplot):Object.keys(n).length&&(Z(e,i,a)||f.supplyDefaults(e),i.legend&&s.push(T.doLegend),i.layoutstyle&&s.push(T.layoutStyles),i.axrange&&q(s,a.rangesAltered),i.ticks&&s.push(T.doTicksRelayout),i.modebar&&s.push(T.doModeBar),i.camera&&s.push(T.doCamera),i.colorbars&&s.push(T.doColorBars),s.push(C)),s.push(f.rehover,f.redrag),c.add(e,G,[e,a.undoit],G,[e,a.redoit]);var l=o.syncOrAsync(s,e);return l&&l.then||(l=Promise.resolve(e)),l.then((function(){return e.emit("plotly_relayout",a.eventData),e}))}function Z(e,t,r){var n=e._fullLayout;if(!t.axrange)return!1;for(var a in t)if("axrange"!==a&&t[a])return!1;for(var i in r.rangesAltered){var o=p.id2name(i),s=e.layout[o],l=n[o];if(l.autorange=s.autorange,l.range=s.range.slice(),l.cleanRange(),l._matchGroup)for(var c in l._matchGroup)if(c!==i){var u=n[p.id2name(c)];u.autorange=l.autorange,u.range=l.range.slice(),u._input.range=l.range.slice()}}return!0}function q(e,t){var r=t?function(e){var r=[],n=!0;for(var a in t){var i=p.getFromId(e,a);if(r.push(a),i._matchGroup)for(var o in i._matchGroup)t[o]||r.push(o);i.automargin&&(n=!1)}return p.draw(e,r,{skipTitle:n})}:function(e){return p.draw(e,"redraw")};e.push(b,T.doAutoRangeAndConstraints,r,T.drawData,T.finalDraw)}var U=/^[xyz]axis[0-9]*\.range(\[[0|1]\])?$/,W=/^[xyz]axis[0-9]*\.autorange$/,Y=/^[xyz]axis[0-9]*\.domain(\[[0|1]\])?$/;function X(e,t){var r,n,a,i=e.layout,l=e._fullLayout,c=l._guiEditing,f=F(l._preGUI,c),h=Object.keys(t),g=p.list(e),v=o.extendDeepAll({},t),m={};for(V(t),h=Object.keys(t),n=0;n<h.length;n++)if(0===h[n].indexOf("allaxes")){for(a=0;a<g.length;a++){var y=g[a]._id.substr(1),x=-1!==y.indexOf("scene")?y+".":"",b=h[n].replace("allaxes",x+g[a]._name);t[b]||(t[b]=t[h[n]])}delete t[h[n]]}var w=M.layoutFlags(),T={},A={};function C(e,r){if(Array.isArray(e))e.forEach((function(e){C(e,r)}));else if(!(e in t)&&!k.hasParent(t,e)){var n=f(i,e);e in A||(A[e]=N(n.get())),void 0!==r&&n.set(r)}}var P,O={};function I(e){var t=p.name2id(e.split(".")[0]);return O[t]=1,t}for(var z in t){if(k.hasParent(t,z))throw new Error("cannot set "+z+" and a parent attribute simultaneously");for(var L=f(i,z),E=t[z],j=L.parts.length-1;j>0&&"string"!=typeof L.parts[j];)j--;var D=L.parts[j],R=L.parts[j-1]+"."+D,B=L.parts.slice(0,j).join("."),H=s(e.layout,B).get(),G=s(l,B).get(),Z=L.get();if(void 0!==E){T[z]=E,A[z]="reverse"===D?E:N(Z);var q=d.getLayoutValObject(l,L.parts);if(q&&q.impliedEdits&&null!==E)for(var X in q.impliedEdits)C(o.relativeAttr(z,X),q.impliedEdits[X]);if(-1!==["width","height"].indexOf(z))if(E){C("autosize",null);var J="height"===z?"width":"height";C(J,l[J])}else l[z]=e._initialAutoSize[z];else if("autosize"===z)C("width",E?null:l.width),C("height",E?null:l.height);else if(R.match(U))I(R),s(l,B+"._inputRange").set(null);else if(R.match(W)){I(R),s(l,B+"._inputRange").set(null);var K=s(l,B).get();K._inputDomain&&(K._input.domain=K._inputDomain.slice())}else R.match(Y)&&s(l,B+"._inputDomain").set(null);if("type"===D){var Q=H,ee="linear"===G.type&&"log"===E,te="log"===G.type&&"linear"===E;if(ee||te){if(Q&&Q.range)if(G.autorange)ee&&(Q.range=Q.range[1]>Q.range[0]?[1,2]:[2,1]);else{var re=Q.range[0],ne=Q.range[1];ee?(re<=0&&ne<=0&&C(B+".autorange",!0),re<=0?re=ne/1e6:ne<=0&&(ne=re/1e6),C(B+".range[0]",Math.log(re)/Math.LN10),C(B+".range[1]",Math.log(ne)/Math.LN10)):(C(B+".range[0]",Math.pow(10,re)),C(B+".range[1]",Math.pow(10,ne)))}else C(B+".autorange",!0);Array.isArray(l._subplots.polar)&&l._subplots.polar.length&&l[L.parts[0]]&&"radialaxis"===L.parts[1]&&delete l[L.parts[0]]._subplot.viewInitial["radialaxis.range"],u.getComponentMethod("annotations","convertCoords")(e,G,E,C),u.getComponentMethod("images","convertCoords")(e,G,E,C)}else C(B+".autorange",!0),C(B+".range",null);s(l,B+"._inputRange").set(null)}else if(D.match(S)){var ae=s(l,z).get(),ie=(E||{}).type;ie&&"-"!==ie||(ie="linear"),u.getComponentMethod("annotations","convertCoords")(e,ae,ie,C),u.getComponentMethod("images","convertCoords")(e,ae,ie,C)}var oe=_.containerArrayMatch(z);if(oe){r=oe.array,n=oe.index;var se=oe.property,le=q||{editType:"calc"};""!==n&&""===se&&(_.isAddVal(E)?A[z]=null:_.isRemoveVal(E)?A[z]=(s(i,r).get()||[])[n]:o.warn("unrecognized full object value",t)),M.update(w,le),m[r]||(m[r]={});var ce=m[r][n];ce||(ce=m[r][n]={}),ce[se]=E,delete t[z]}else"reverse"===D?(H.range?H.range.reverse():(C(B+".autorange",!0),H.range=[1,0]),G.autorange?w.calc=!0:w.plot=!0):(l._has("scatter-like")&&l._has("regl")&&"dragmode"===z&&("lasso"===E||"select"===E)&&"lasso"!==Z&&"select"!==Z||l._has("gl2d")?w.plot=!0:q?M.update(w,q):w.calc=!0,L.set(E))}}for(r in m){_.applyContainerArrayChanges(e,f(i,r),m[r],w,f)||(w.plot=!0)}var ue=l._axisConstraintGroups||[];for(P in O)for(n=0;n<ue.length;n++){var de=ue[n];if(de[P])for(var fe in w.calc=!0,de)O[fe]||(p.getFromId(e,fe)._constraintShrinkable=!0)}return($(e)||t.height||t.width)&&(w.plot=!0),(w.plot||w.calc)&&(w.layoutReplot=!0),{flags:w,rangesAltered:O,undoit:A,redoit:T,eventData:v}}function $(e){var t=e._fullLayout,r=t.width,n=t.height;return e.layout.autosize&&f.plotAutoSize(e,e.layout,t),t.width!==r||t.height!==n}function J(e,r,n,a){if(e=o.getGraphDiv(e),k.clearPromiseQueue(e),e.framework&&e.framework.isPolar)return Promise.resolve(e);o.isPlainObject(r)||(r={}),o.isPlainObject(n)||(n={}),Object.keys(r).length&&(e.changed=!0),Object.keys(n).length&&(e.changed=!0);var i=k.coerceTraceIndices(e,a),s=H(e,o.extendFlat({},r),i),l=s.flags,u=X(e,o.extendFlat({},n)),d=u.flags;(l.calc||d.calc)&&(e.calcdata=void 0),l.clearAxisTypes&&k.clearAxisTypes(e,i,n);var h=[];d.layoutReplot?h.push(T.layoutReplot):l.fullReplot?h.push(t.plot):(h.push(f.previousPromises),Z(e,d,u)||f.supplyDefaults(e),l.style&&h.push(T.doTraceStyle),(l.colorbars||d.colorbars)&&h.push(T.doColorBars),d.legend&&h.push(T.doLegend),d.layoutstyle&&h.push(T.layoutStyles),d.axrange&&q(h,u.rangesAltered),d.ticks&&h.push(T.doTicksRelayout),d.modebar&&h.push(T.doModeBar),d.camera&&h.push(T.doCamera),h.push(C)),h.push(f.rehover,f.redrag),c.add(e,J,[e,s.undoit,u.undoit,s.traces],J,[e,s.redoit,u.redoit,s.traces]);var p=o.syncOrAsync(h,e);return p&&p.then||(p=Promise.resolve(e)),p.then((function(){return e.emit("plotly_update",{data:s.eventData,layout:u.eventData}),e}))}function K(e){return function(t){t._fullLayout._guiEditing=!0;var r=e.apply(null,arguments);return t._fullLayout._guiEditing=!1,r}}var Q=[{pattern:/^hiddenlabels/,attr:"legend.uirevision"},{pattern:/^((x|y)axis\d*)\.((auto)?range|title\.text)/},{pattern:/axis\d*\.showspikes$/,attr:"modebar.uirevision"},{pattern:/(hover|drag)mode$/,attr:"modebar.uirevision"},{pattern:/^(scene\d*)\.camera/},{pattern:/^(geo\d*)\.(projection|center|fitbounds)/},{pattern:/^(ternary\d*\.[abc]axis)\.(min|title\.text)$/},{pattern:/^(polar\d*\.radialaxis)\.((auto)?range|angle|title\.text)/},{pattern:/^(polar\d*\.angularaxis)\.rotation/},{pattern:/^(mapbox\d*)\.(center|zoom|bearing|pitch)/},{pattern:/^legend\.(x|y)$/,attr:"editrevision"},{pattern:/^(shapes|annotations)/,attr:"editrevision"},{pattern:/^title\.text$/,attr:"editrevision"}],ee=[{pattern:/^selectedpoints$/,attr:"selectionrevision"},{pattern:/(^|value\.)visible$/,attr:"legend.uirevision"},{pattern:/^dimensions\[\d+\]\.constraintrange/},{pattern:/^node\.(x|y|groups)/},{pattern:/^level$/},{pattern:/(^|value\.)name$/},{pattern:/colorbar\.title\.text$/},{pattern:/colorbar\.(x|y)$/,attr:"editrevision"}];function te(e,t){for(var r=0;r<t.length;r++){var n=t[r],a=e.match(n.pattern);if(a)return{head:a[1],attr:n.attr}}}function re(e,t){var r=s(t,e).get();if(void 0!==r)return r;var n=e.split(".");for(n.pop();n.length>1;)if(n.pop(),void 0!==(r=s(t,n.join(".")+".uirevision").get()))return r;return t.uirevision}function ne(e,t){for(var r=0;r<t.length;r++)if(t[r]._fullInput.uid===e)return r;return-1}function ae(e,t,r){for(var n=0;n<t.length;n++)if(t[n].uid===e)return n;return!t[r]||t[r].uid?-1:r}function ie(e,t){var r=o.isPlainObject(e),n=Array.isArray(e);return r||n?(r&&o.isPlainObject(t)||n&&Array.isArray(t))&&JSON.stringify(e)===JSON.stringify(t):e===t}function oe(e,t,r,n){var a,i,l,c=n.getValObject,u=n.flags,d=n.immutable,f=n.inArray,h=n.arrayIndex;function p(){var e=a.editType;f&&-1!==e.indexOf("arraydraw")?o.pushUnique(u.arrays[f],h):(M.update(u,a),"none"!==e&&u.nChanges++,n.transition&&a.anim&&u.nChangesAnim++,(U.test(l)||W.test(l))&&(u.rangesAltered[r[0]]=1),Y.test(l)&&s(t,"_inputDomain").set(null),"datarevision"===i&&(u.newDataRevision=1))}function g(e){return"data_array"===e.valType||e.arrayOk}for(i in e){if(u.calc&&!n.transition)return;var v=e[i],m=t[i],y=r.concat(i);if(l=y.join("."),"_"!==i.charAt(0)&&"function"!=typeof v&&v!==m){if(("tick0"===i||"dtick"===i)&&"geo"!==r[0]){var x=t.tickmode;if("auto"===x||"array"===x||!x)continue}if(("range"!==i||!t.autorange)&&("zmin"!==i&&"zmax"!==i||"contourcarpet"!==t.type)&&(a=c(y))&&(!a._compareAsJSON||JSON.stringify(v)!==JSON.stringify(m))){var b,w=a.valType,_=g(a),k=Array.isArray(v),T=Array.isArray(m);if(k&&T){var S="_input_"+i,A=e[S],C=t[S];if(Array.isArray(A)&&A===C)continue}if(void 0===m)_&&k?u.calc=!0:p();else if(a._isLinkedToArray){var P=[],O=!1;f||(u.arrays[i]=P);var I=Math.min(v.length,m.length),z=Math.max(v.length,m.length);if(I!==z){if("arraydraw"!==a.editType){p();continue}O=!0}for(b=0;b<I;b++)oe(v[b],m[b],y.concat(b),o.extendFlat({inArray:i,arrayIndex:b},n));if(O)for(b=I;b<z;b++)P.push(b)}else!w&&o.isPlainObject(v)?oe(v,m,y,n):_?k&&T?(d&&(u.calc=!0),(d||n.newDataRevision)&&p()):k!==T?u.calc=!0:p():k&&T&&v.length===m.length&&String(v)===String(m)||p()}}}for(i in t)if(!(i in e)&&"_"!==i.charAt(0)&&"function"!=typeof t[i]){if(g(a=c(r.concat(i)))&&Array.isArray(t[i]))return void(u.calc=!0);p()}}function se(e){var t=n.select(e),r=e._fullLayout;if(r._container=t.selectAll(".plot-container").data([0]),r._container.enter().insert("div",":first-child").classed("plot-container",!0).classed("plotly",!0),r._paperdiv=r._container.selectAll(".svg-container").data([0]),r._paperdiv.enter().append("div").classed("svg-container",!0).style("position","relative"),r._glcontainer=r._paperdiv.selectAll(".gl-container").data([{}]),r._glcontainer.enter().append("div").classed("gl-container",!0),r._paperdiv.selectAll(".main-svg").remove(),r._paperdiv.select(".modebar-container").remove(),r._paper=r._paperdiv.insert("svg",":first-child").classed("main-svg",!0),r._toppaper=r._paperdiv.append("svg").classed("main-svg",!0),r._modebardiv=r._paperdiv.append("div"),r._hoverpaper=r._paperdiv.append("svg").classed("main-svg",!0),!r._uid){var a={};n.selectAll("defs").each((function(){this.id&&(a[this.id.split("-")[1]]=1)})),r._uid=o.randstr(a)}r._paperdiv.selectAll(".main-svg").attr(y.svgAttrs),r._defs=r._paper.append("defs").attr("id","defs-"+r._uid),r._clips=r._defs.append("g").classed("clips",!0),r._topdefs=r._toppaper.append("defs").attr("id","topdefs-"+r._uid),r._topclips=r._topdefs.append("g").classed("clips",!0),r._bgLayer=r._paper.append("g").classed("bglayer",!0),r._draggers=r._paper.append("g").classed("draglayer",!0);var i=r._paper.append("g").classed("layer-below",!0);r._imageLowerLayer=i.append("g").classed("imagelayer",!0),r._shapeLowerLayer=i.append("g").classed("shapelayer",!0),r._cartesianlayer=r._paper.append("g").classed("cartesianlayer",!0),r._polarlayer=r._paper.append("g").classed("polarlayer",!0),r._ternarylayer=r._paper.append("g").classed("ternarylayer",!0),r._geolayer=r._paper.append("g").classed("geolayer",!0),r._funnelarealayer=r._paper.append("g").classed("funnelarealayer",!0),r._pielayer=r._paper.append("g").classed("pielayer",!0),r._treemaplayer=r._paper.append("g").classed("treemaplayer",!0),r._sunburstlayer=r._paper.append("g").classed("sunburstlayer",!0),r._indicatorlayer=r._toppaper.append("g").classed("indicatorlayer",!0),r._glimages=r._paper.append("g").classed("glimages",!0);var s=r._toppaper.append("g").classed("layer-above",!0);r._imageUpperLayer=s.append("g").classed("imagelayer",!0),r._shapeUpperLayer=s.append("g").classed("shapelayer",!0),r._infolayer=r._toppaper.append("g").classed("infolayer",!0),r._menulayer=r._toppaper.append("g").classed("menulayer",!0),r._zoomlayer=r._toppaper.append("g").classed("zoomlayer",!0),r._hoverlayer=r._hoverpaper.append("g").classed("hoverlayer",!0),r._modebardiv.classed("modebar-container",!0).style("position","absolute").style("top","0px").style("right","0px"),e.emit("plotly_framework")}t.animate=function(e,t,r){if(e=o.getGraphDiv(e),!o.isPlotDiv(e))throw new Error("This element is not a Plotly plot: "+e+". It's likely that you've failed to create a plot before animating it. For more details, see https://plotly.com/javascript/animations/");var n=e._transitionData;n._frameQueue||(n._frameQueue=[]);var a=(r=f.supplyAnimationDefaults(r)).transition,i=r.frame;function s(e){return Array.isArray(a)?e>=a.length?a[0]:a[e]:a}function l(e){return Array.isArray(i)?e>=i.length?i[0]:i[e]:i}function c(e,t){var r=0;return function(){if(e&&++r===t)return e()}}return void 0===n._frameWaitingCnt&&(n._frameWaitingCnt=0),new Promise((function(i,u){function d(){n._currentFrame&&n._currentFrame.onComplete&&n._currentFrame.onComplete();var t=n._currentFrame=n._frameQueue.shift();if(t){var r=t.name?t.name.toString():null;e._fullLayout._currentFrame=r,n._lastFrameAt=Date.now(),n._timeToNext=t.frameOpts.duration,f.transition(e,t.frame.data,t.frame.layout,k.coerceTraceIndices(e,t.frame.traces),t.frameOpts,t.transitionOpts).then((function(){t.onComplete&&t.onComplete()})),e.emit("plotly_animatingframe",{name:r,frame:t.frame,animation:{frame:t.frameOpts,transition:t.transitionOpts}})}else e.emit("plotly_animated"),window.cancelAnimationFrame(n._animationRaf),n._animationRaf=null}function h(){e.emit("plotly_animating"),n._lastFrameAt=-1/0,n._timeToNext=0,n._runningTransitions=0,n._currentFrame=null;var t=function(){n._animationRaf=window.requestAnimationFrame(t),Date.now()-n._lastFrameAt>n._timeToNext&&d()};t()}var p,g,v=0;function m(e){return Array.isArray(a)?v>=a.length?e.transitionOpts=a[v]:e.transitionOpts=a[0]:e.transitionOpts=a,v++,e}var y=[],x=null==t,b=Array.isArray(t);if(!x&&!b&&o.isPlainObject(t))y.push({type:"object",data:m(o.extendFlat({},t))});else if(x||-1!==["string","number"].indexOf(typeof t))for(p=0;p<n._frames.length;p++)(g=n._frames[p])&&(x||String(g.group)===String(t))&&y.push({type:"byname",name:String(g.name),data:m({name:g.name})});else if(b)for(p=0;p<t.length;p++){var w=t[p];-1!==["number","string"].indexOf(typeof w)?(w=String(w),y.push({type:"byname",name:w,data:m({name:w})})):o.isPlainObject(w)&&y.push({type:"object",data:m(o.extendFlat({},w))})}for(p=0;p<y.length;p++)if("byname"===(g=y[p]).type&&!n._frameHash[g.data.name])return o.warn('animate failure: frame not found: "'+g.data.name+'"'),void u();-1!==["next","immediate"].indexOf(r.mode)&&function(){if(0!==n._frameQueue.length){for(;n._frameQueue.length;){var t=n._frameQueue.pop();t.onInterrupt&&t.onInterrupt()}e.emit("plotly_animationinterrupted",[])}}(),"reverse"===r.direction&&y.reverse();var _=e._fullLayout._currentFrame;if(_&&r.fromcurrent){var T=-1;for(p=0;p<y.length;p++)if("byname"===(g=y[p]).type&&g.name===_){T=p;break}if(T>0&&T<y.length-1){var M=[];for(p=0;p<y.length;p++)g=y[p],("byname"!==y[p].type||p>T)&&M.push(g);y=M}}y.length>0?function(t){if(0!==t.length){for(var a=0;a<t.length;a++){var o;o="byname"===t[a].type?f.computeFrame(e,t[a].name):t[a].data;var d=l(a),p=s(a);p.duration=Math.min(p.duration,d.duration);var g={frame:o,name:t[a].name,frameOpts:d,transitionOpts:p};a===t.length-1&&(g.onComplete=c(i,2),g.onInterrupt=u),n._frameQueue.push(g)}"immediate"===r.mode&&(n._lastFrameAt=-1/0),n._animationRaf||h()}}(y):(e.emit("plotly_animated"),i())}))},t.addFrames=function(e,t,r){if(e=o.getGraphDiv(e),null==t)return Promise.resolve();if(!o.isPlotDiv(e))throw new Error("This element is not a Plotly plot: "+e+". It's likely that you've failed to create a plot before adding frames. For more details, see https://plotly.com/javascript/animations/");var n,a,i,s,l=e._transitionData._frames,u=e._transitionData._frameHash;if(!Array.isArray(t))throw new Error("addFrames failure: frameList must be an Array of frame definitions"+t);var d=l.length+2*t.length,h=[],p={};for(n=t.length-1;n>=0;n--)if(o.isPlainObject(t[n])){var g=t[n].name,v=(u[g]||p[g]||{}).name,m=t[n].name,y=u[v]||p[v];v&&m&&"number"==typeof m&&y&&A<5&&(A++,o.warn('addFrames: overwriting frame "'+(u[v]||p[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.'),5===A&&o.warn("addFrames: This API call has yielded too many of these warnings. For the rest of this call, further warnings about numeric frame names will be suppressed.")),p[g]={name:g},h.push({frame:f.supplyFrameDefaults(t[n]),index:r&&void 0!==r[n]&&null!==r[n]?r[n]:d+n})}h.sort((function(e,t){return e.index>t.index?-1:e.index<t.index?1:0}));var x=[],b=[],w=l.length;for(n=h.length-1;n>=0;n--){if("number"==typeof(a=h[n].frame).name&&o.warn("Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings"),!a.name)for(;u[a.name="frame "+e._transitionData._counter++];);if(u[a.name]){for(i=0;i<l.length&&(l[i]||{}).name!==a.name;i++);x.push({type:"replace",index:i,value:a}),b.unshift({type:"replace",index:i,value:l[i]})}else s=Math.max(0,Math.min(h[n].index,w)),x.push({type:"insert",index:s,value:a}),b.unshift({type:"delete",index:s}),w++}var _=f.modifyFrames,k=f.modifyFrames,T=[e,b],M=[e,x];return c&&c.add(e,_,T,k,M),f.modifyFrames(e,x)},t.deleteFrames=function(e,t){if(e=o.getGraphDiv(e),!o.isPlotDiv(e))throw new Error("This element is not a Plotly plot: "+e);var r,n,a=e._transitionData._frames,i=[],s=[];if(!t)for(t=[],r=0;r<a.length;r++)t.push(r);for((t=t.slice()).sort(),r=t.length-1;r>=0;r--)n=t[r],i.push({type:"delete",index:n}),s.unshift({type:"insert",index:n,value:a[n]});var l=f.modifyFrames,u=f.modifyFrames,d=[e,s],h=[e,i];return c&&c.add(e,l,d,u,h),f.modifyFrames(e,i)},t.addTraces=function e(r,n,a){r=o.getGraphDiv(r);var i,s,l=[],u=t.deleteTraces,d=e,f=[r,l],h=[r,n];for(function(e,t,r){var n,a;if(!Array.isArray(e.data))throw new Error("gd.data must be an array.");if(void 0===t)throw new Error("traces must be defined.");for(Array.isArray(t)||(t=[t]),n=0;n<t.length;n++)if("object"!=typeof(a=t[n])||Array.isArray(a)||null===a)throw new Error("all values in traces array must be non-array objects");if(void 0===r||Array.isArray(r)||(r=[r]),void 0!==r&&r.length!==t.length)throw new Error("if indices is specified, traces.length must equal indices.length")}(r,n,a),Array.isArray(n)||(n=[n]),n=n.map((function(e){return o.extendFlat({},e)})),k.cleanData(n),i=0;i<n.length;i++)r.data.push(n[i]);for(i=0;i<n.length;i++)l.push(-n.length+i);if(void 0===a)return s=t.redraw(r),c.add(r,u,f,d,h),s;Array.isArray(a)||(a=[a]);try{E(r,l,a)}catch(e){throw r.data.splice(r.data.length-n.length,n.length),e}return c.startSequence(r),c.add(r,u,f,d,h),s=t.moveTraces(r,l,a),c.stopSequence(r),s},t.deleteTraces=function e(r,n){r=o.getGraphDiv(r);var a,i,s=[],l=t.addTraces,u=e,d=[r,s,n],f=[r,n];if(void 0===n)throw new Error("indices must be an integer or array of integers.");for(Array.isArray(n)||(n=[n]),L(r,n,"indices"),(n=z(n,r.data.length-1)).sort(o.sorterDes),a=0;a<n.length;a+=1)i=r.data.splice(n[a],1)[0],s.push(i);var h=t.redraw(r);return c.add(r,l,d,u,f),h},t.extendTraces=function e(r,n,a,i){function s(e,t,r){var n,a;if(o.isTypedArray(e))if(r<0){var i=new e.constructor(0),s=D(e,t);r<0?(n=s,a=i):(n=i,a=s)}else if(n=new e.constructor(r),a=new e.constructor(e.length+t.length-r),r===t.length)n.set(t),a.set(e);else if(r<t.length){var l=t.length-r;n.set(t.subarray(l)),a.set(e),a.set(t.subarray(0,l),e.length)}else{var c=r-t.length,u=e.length-c;n.set(e.subarray(u)),n.set(t,c),a.set(e.subarray(0,u))}else n=e.concat(t),a=r>=0&&r<n.length?n.splice(0,n.length-r):[];return[n,a]}var l=j(r=o.getGraphDiv(r),n,a,i,s),u=t.redraw(r),d=[r,l.update,a,l.maxPoints];return c.add(r,t.prependTraces,d,e,arguments),u},t.moveTraces=function e(r,n,a){var i,s=[],l=[],u=e,d=e,f=[r=o.getGraphDiv(r),a,n],h=[r,n,a];if(E(r,n,a),n=Array.isArray(n)?n:[n],void 0===a)for(a=[],i=0;i<n.length;i++)a.push(-n.length+i);for(a=Array.isArray(a)?a:[a],n=z(n,r.data.length-1),a=z(a,r.data.length-1),i=0;i<r.data.length;i++)-1===n.indexOf(i)&&s.push(r.data[i]);for(i=0;i<n.length;i++)l.push({newIndex:a[i],trace:r.data[n[i]]});for(l.sort((function(e,t){return e.newIndex-t.newIndex})),i=0;i<l.length;i+=1)s.splice(l[i].newIndex,0,l[i].trace);r.data=s;var p=t.redraw(r);return c.add(r,u,f,d,h),p},t.prependTraces=function e(r,n,a,i){function s(e,t,r){var n,a;if(o.isTypedArray(e))if(r<=0){var i=new e.constructor(0),s=D(t,e);r<0?(n=s,a=i):(n=i,a=s)}else if(n=new e.constructor(r),a=new e.constructor(e.length+t.length-r),r===t.length)n.set(t),a.set(e);else if(r<t.length){var l=t.length-r;n.set(t.subarray(0,l)),a.set(t.subarray(l)),a.set(e,l)}else{var c=r-t.length;n.set(t),n.set(e.subarray(0,c),t.length),a.set(e.subarray(c))}else n=t.concat(e),a=r>=0&&r<n.length?n.splice(r,n.length):[];return[n,a]}var l=j(r=o.getGraphDiv(r),n,a,i,s),u=t.redraw(r),d=[r,l.update,a,l.maxPoints];return c.add(r,t.extendTraces,d,e,arguments),u},t.newPlot=function(e,r,n,a){return e=o.getGraphDiv(e),f.cleanPlot([],{},e._fullData||[],e._fullLayout||{}),f.purge(e),t.plot(e,r,n,a)},t.plot=function(e,r,a,i){var s;if(e=o.getGraphDiv(e),l.init(e),o.isPlainObject(r)){var c=r;r=c.data,a=c.layout,i=c.config,s=c.frames}if(!1===l.triggerHandler(e,"plotly_beforeplot",[r,a,i]))return Promise.reject();r||a||o.isPlotDiv(e)||o.warn("Calling Plotly.plot as if redrawing but this container doesn't yet have a plot.",e),I(e,i),a||(a={}),n.select(e).classed("js-plotly-plot",!0),g.makeTester(),Array.isArray(e._promises)||(e._promises=[]);var d=0===(e.data||[]).length&&Array.isArray(r);Array.isArray(r)&&(k.cleanData(r),d?e.data=r:e.data.push.apply(e.data,r),e.empty=!1),e.layout&&!d||(e.layout=k.cleanLayout(a)),f.supplyDefaults(e);var v=e._fullLayout,y=v._has("cartesian");if(!v._has("polar")&&r&&r[0]&&r[0].r)return o.log("Legacy polar charts are deprecated!"),function(e,t,r){var a=n.select(e).selectAll(".plot-container").data([0]);a.enter().insert("div",":first-child").classed("plot-container plotly",!0);var i=a.selectAll(".svg-container").data([0]);i.enter().append("div").classed("svg-container",!0).style("position","relative"),i.html(""),t&&(e.data=t);r&&(e.layout=r);h.manager.fillLayout(e),i.style({width:e._fullLayout.width+"px",height:e._fullLayout.height+"px"}),e.framework=h.manager.framework(e),e.framework({data:e.data,layout:e.layout},i.node()),e.framework.setUndoPoint();var s=e.framework.svg(),l=1,c=e._fullLayout.title?e._fullLayout.title.text:"";""!==c&&c||(l=0);var u=function(){this.call(x.convertToTspans,e)},d=s.select(".title-group text").call(u);if(e._context.edits.titleText){var p=o._(e,"Click to enter Plot title");c&&c!==p||(l=.2,d.attr({"data-unformatted":p}).text(p).style({opacity:l}).on("mouseover.opacity",(function(){n.select(this).transition().duration(100).style("opacity",1)})).on("mouseout.opacity",(function(){n.select(this).transition().duration(1e3).style("opacity",0)})));var g=function(){this.call(x.makeEditable,{gd:e}).on("edit",(function(t){e.framework({layout:{title:{text:t}}}),this.text(t).call(u),this.call(g)})).on("cancel",(function(){var e=this.attr("data-unformatted");this.text(e).call(u)}))};d.call(g)}return e._context.setBackground(e,e._fullLayout.paper_bgcolor),f.addLinks(e),Promise.resolve()}(e,r,a);v._replotting=!0,(d||v._shouldCreateBgLayer)&&(se(e),v._shouldCreateBgLayer&&delete v._shouldCreateBgLayer),e.framework!==se&&(e.framework=se,se(e)),g.initGradients(e),d&&p.saveShowSpikeInitial(e);var b=!e.calcdata||e.calcdata.length!==(e._fullData||[]).length;b&&f.doCalcdata(e);for(var w=0;w<e.calcdata.length;w++)e.calcdata[w][0].trace=e._fullData[w];e._context.responsive?e._responsiveChartHandler||(e._responsiveChartHandler=function(){o.isHidden(e)||f.resize(e)},window.addEventListener("resize",e._responsiveChartHandler)):o.clearResponsive(e);var _=o.extendFlat({},v._size),M=0;function S(){if(f.clearAutoMarginIds(e),T.drawMarginPushers(e),p.allowAutoMargin(e),v._has("pie"))for(var t=e._fullData,r=0;r<t.length;r++){var n=t[r];"pie"===n.type&&n.automargin&&f.allowAutoMargin(e,"pie."+n.uid+".automargin")}return f.doAutoMargin(e),f.previousPromises(e)}function A(){e._transitioning||(T.doAutoRangeAndConstraints(e),d&&p.saveRangeInitial(e),u.getComponentMethod("rangeslider","calcAutorange")(e))}var P=[f.previousPromises,function(){if(s)return t.addFrames(e,s)},function t(){for(var r=v._basePlotModules,n=0;n<r.length;n++)r[n].drawFramework&&r[n].drawFramework(e);if(!v._glcanvas&&v._has("gl")&&(v._glcanvas=v._glcontainer.selectAll(".gl-canvas").data([{key:"contextLayer",context:!0,pick:!1},{key:"focusLayer",context:!1,pick:!1},{key:"pickLayer",context:!1,pick:!0}],(function(e){return e.key})),v._glcanvas.enter().append("canvas").attr("class",(function(e){return"gl-canvas gl-canvas-"+e.key.replace("Layer","")})).style({position:"absolute",top:0,left:0,overflow:"visible","pointer-events":"none"})),v._glcanvas){v._glcanvas.attr("width",v.width).attr("height",v.height);var a=v._glcanvas.data()[0].regl;if(a&&(Math.floor(v.width)!==a._gl.drawingBufferWidth||Math.floor(v.height)!==a._gl.drawingBufferHeight)){var i="WebGL context buffer and canvas dimensions do not match due to browser/WebGL bug.";if(!M)return o.log(i+" Clearing graph and plotting again."),f.cleanPlot([],{},e._fullData,v),f.supplyDefaults(e),v=e._fullLayout,f.doCalcdata(e),M++,t();o.error(i)}}return"h"===v.modebar.orientation?v._modebardiv.style("height",null).style("width","100%"):v._modebardiv.style("width",null).style("height",v.height+"px"),f.previousPromises(e)},S,function(){if(f.didMarginChange(_,v._size))return o.syncOrAsync([S,T.layoutStyles],e)}];y&&P.push((function(){if(b)return o.syncOrAsync([u.getComponentMethod("shapes","calcAutorange"),u.getComponentMethod("annotations","calcAutorange"),A],e);A()})),P.push(T.layoutStyles),y&&P.push((function(){return p.draw(e,d?"":"redraw")})),P.push(T.drawData,T.finalDraw,m,f.addLinks,f.rehover,f.redrag,f.doAutoMargin,f.previousPromises);var O=o.syncOrAsync(P,e);return O&&O.then||(O=Promise.resolve()),O.then((function(){return C(e),e}))},t.purge=function(e){var t=(e=o.getGraphDiv(e))._fullLayout||{},r=e._fullData||[];return f.cleanPlot([],{},r,t),f.purge(e),l.purge(e),t._container&&t._container.remove(),delete e._context,e},t.react=function(e,r,n,a){var i,l;e=o.getGraphDiv(e),k.clearPromiseQueue(e);var c=e._fullData,h=e._fullLayout;if(o.isPlotDiv(e)&&c&&h){if(o.isPlainObject(r)){var p=r;r=p.data,n=p.layout,a=p.config,i=p.frames}var g=!1;if(a){var v=o.extendDeep({},e._context);e._context=void 0,I(e,a),g=function e(t,r){var n;for(n in t)if("_"!==n.charAt(0)){var a=t[n],i=r[n];if(a!==i)if(o.isPlainObject(a)&&o.isPlainObject(i)){if(e(a,i))return!0}else{if(!Array.isArray(a)||!Array.isArray(i))return!0;if(a.length!==i.length)return!0;for(var s=0;s<a.length;s++)if(a[s]!==i[s]){if(!o.isPlainObject(a[s])||!o.isPlainObject(i[s]))return!0;if(e(a[s],i[s]))return!0}}}}(v,e._context)}e.data=r||[],k.cleanData(e.data),e.layout=n||{},k.cleanLayout(e.layout),function(e,t,r,n){var a,i,l,c,u,d,f,h,p=n._preGUI,g=[],v={};for(a in p){if(u=te(a,Q)){if(i=u.attr||u.head+".uirevision",(c=(l=s(n,i).get())&&re(i,t))&&c===l&&(null===(d=p[a])&&(d=void 0),ie(h=(f=s(t,a)).get(),d))){void 0===h&&"autorange"===a.substr(a.length-9)&&g.push(a.substr(0,a.length-10)),f.set(N(s(n,a).get()));continue}}else o.warn("unrecognized GUI edit: "+a);delete p[a],"range["===a.substr(a.length-8,6)&&(v[a.substr(0,a.length-9)]=1)}for(var m=0;m<g.length;m++){var y=g[m];if(v[y]){var x=s(t,y).get();x&&delete x.autorange}}var b=n._tracePreGUI;for(var w in b){var _,k=b[w],T=null;for(a in k){if(!T){var M=ne(w,r);if(M<0){delete b[w];break}var S=ae(w,e,(_=r[M]._fullInput).index);if(S<0){delete b[w];break}T=e[S]}if(u=te(a,ee)){if(u.attr?c=(l=s(n,u.attr).get())&&re(u.attr,t):(l=_.uirevision,void 0===(c=T.uirevision)&&(c=t.uirevision)),c&&c===l&&(null===(d=k[a])&&(d=void 0),ie(h=(f=s(T,a)).get(),d))){f.set(N(s(_,a).get()));continue}}else o.warn("unrecognized GUI edit: "+a+" in trace uid "+w);delete k[a]}}}(e.data,e.layout,c,h),f.supplyDefaults(e,{skipUpdateCalc:!0});var m=e._fullData,y=e._fullLayout,x=void 0===y.datarevision,b=y.transition,w=function(e,t,r,n,a){var i=M.layoutFlags();function o(e){return d.getLayoutValObject(r,e)}i.arrays={},i.rangesAltered={},i.nChanges=0,i.nChangesAnim=0,oe(t,r,[],{getValObject:o,flags:i,immutable:n,transition:a,gd:e}),(i.plot||i.calc)&&(i.layoutReplot=!0);a&&i.nChanges&&i.nChangesAnim&&(i.anim=i.nChanges===i.nChangesAnim?"all":"some");return i}(e,h,y,x,b),_=w.newDataRevision,S=function(e,t,r,n,a,i){var o=t.length===r.length;if(!a&&!o)return{fullReplot:!0,calc:!0};var s,l,c=M.traceFlags();c.arrays={},c.nChanges=0,c.nChangesAnim=0;var u={getValObject:function(e){var t=d.getTraceValObject(l,e);return!l._module.animatable&&t.anim&&(t.anim=!1),t},flags:c,immutable:n,transition:a,newDataRevision:i,gd:e},h={};for(s=0;s<t.length;s++)if(r[s]){if(l=r[s]._fullInput,f.hasMakesDataTransform(l)&&(l=r[s]),h[l.uid])continue;h[l.uid]=1,oe(t[s]._fullInput,l,[],u)}(c.calc||c.plot)&&(c.fullReplot=!0);a&&c.nChanges&&c.nChangesAnim&&(c.anim=c.nChanges===c.nChangesAnim&&o?"all":"some");return c}(e,c,m,x,b,_);$(e)&&(w.layoutReplot=!0),S.calc||w.calc?e.calcdata=void 0:f.supplyDefaultsUpdateCalc(e.calcdata,m);var A=[];if(i&&(e._transitionData={},f.createTransitionData(e),A.push((function(){return t.addFrames(e,i)}))),y.transition&&!g&&(S.anim||w.anim))f.doCalcdata(e),T.doAutoRangeAndConstraints(e),A.push((function(){return f.transitionFromReact(e,S,w,h)}));else if(S.fullReplot||w.layoutReplot||g)e._fullLayout._skipDefaults=!0,A.push(t.plot);else{for(var P in w.arrays){var O=w.arrays[P];if(O.length){var z=u.getComponentMethod(P,"drawOne");if(z!==o.noop)for(var L=0;L<O.length;L++)z(e,O[L]);else{var E=u.getComponentMethod(P,"draw");if(E===o.noop)throw new Error("cannot draw components: "+P);E(e)}}}A.push(f.previousPromises),S.style&&A.push(T.doTraceStyle),(S.colorbars||w.colorbars)&&A.push(T.doColorBars),w.legend&&A.push(T.doLegend),w.layoutstyle&&A.push(T.layoutStyles),w.axrange&&q(A),w.ticks&&A.push(T.doTicksRelayout),w.modebar&&A.push(T.doModeBar),w.camera&&A.push(T.doCamera),A.push(C)}A.push(f.rehover,f.redrag),(l=o.syncOrAsync(A,e))&&l.then||(l=Promise.resolve(e))}else l=t.newPlot(e,r,n,a);return l.then((function(){return e.emit("plotly_react",{data:r,layout:n}),e}))},t.redraw=function(e){if(e=o.getGraphDiv(e),!o.isPlotDiv(e))throw new Error("This element is not a Plotly plot: "+e);return k.cleanData(e.data),k.cleanLayout(e.layout),e.calcdata=void 0,t.plot(e).then((function(){return e.emit("plotly_redraw"),e}))},t.relayout=G,t.restyle=R,t.setPlotConfig=function(e){return o.extendFlat(w,e)},t.update=J,t._guiRelayout=K(G),t._guiRestyle=K(R),t._guiUpdate=K(J),t._storeDirectGUIEdit=function(e,t,r){for(var n in r){B(n,s(e,n).get(),r[n],t)}}},tos6:function(e,t,r){"use strict";var n=r("7CC7").dot,a=r("6AZA").BADNUM,i=e.exports={};i.tester=function(e){var t,r=e.slice(),n=r[0][0],i=n,o=r[0][1],s=o;for(r.push(r[0]),t=1;t<r.length;t++)n=Math.min(n,r[t][0]),i=Math.max(i,r[t][0]),o=Math.min(o,r[t][1]),s=Math.max(s,r[t][1]);var l,c=!1;5===r.length&&(r[0][0]===r[1][0]?r[2][0]===r[3][0]&&r[0][1]===r[3][1]&&r[1][1]===r[2][1]&&(c=!0,l=function(e){return e[0]===r[0][0]}):r[0][1]===r[1][1]&&r[2][1]===r[3][1]&&r[0][0]===r[3][0]&&r[1][0]===r[2][0]&&(c=!0,l=function(e){return e[1]===r[0][1]}));var u=!0,d=r[0];for(t=1;t<r.length;t++)if(d[0]!==r[t][0]||d[1]!==r[t][1]){u=!1;break}return{xmin:n,xmax:i,ymin:o,ymax:s,pts:r,contains:c?function(e,t){var r=e[0],c=e[1];return!(r===a||r<n||r>i||c===a||c<o||c>s)&&(!t||!l(e))}:function(e,t){var l=e[0],c=e[1];if(l===a||l<n||l>i||c===a||c<o||c>s)return!1;var u,d,f,h,p,g=r.length,v=r[0][0],m=r[0][1],y=0;for(u=1;u<g;u++)if(d=v,f=m,v=r[u][0],m=r[u][1],!(l<(h=Math.min(d,v))||l>Math.max(d,v)||c>Math.max(f,m)))if(c<Math.min(f,m))l!==h&&y++;else{if(c===(p=v===d?c:f+(l-d)*(m-f)/(v-d)))return 1!==u||!t;c<=p&&l!==h&&y++}return y%2==1},isRect:c,degenerate:u}},i.isSegmentBent=function(e,t,r,a){var i,o,s,l=e[t],c=[e[r][0]-l[0],e[r][1]-l[1]],u=n(c,c),d=Math.sqrt(u),f=[-c[1]/d,c[0]/d];for(i=t+1;i<r;i++)if(o=[e[i][0]-l[0],e[i][1]-l[1]],(s=n(o,c))<0||s>u||Math.abs(n(o,f))>a)return!0;return!1},i.filter=function(e,t){var r=[e[0]],n=0,a=0;function o(o){e.push(o);var s=r.length,l=n;r.splice(a+1);for(var c=l+1;c<e.length;c++)(c===e.length-1||i.isSegmentBent(e,l,c+1,t))&&(r.push(e[c]),r.length<s-2&&(n=c,a=r.length-1),l=c)}e.length>1&&o(e.pop());return{addPt:o,raw:e,filtered:r}}},tt4z:function(e,t,r){"use strict";var n=r("u3HJ");t.name="treemap",t.plot=function(e,r,a,i){n.plotBasePlot(t.name,e,r,a,i)},t.clean=function(e,r,a,i){n.cleanBasePlot(t.name,e,r,a,i)}},u0qo:function(e,t,r){"use strict";var n=r("qTWP"),a=r("mEVB"),i=r("0wH6"),o=r("plED").templatedArray;e.exports=o("annotation",{visible:{valType:"boolean",role:"info",dflt:!0,editType:"calc+arraydraw",description:["Determines whether or not this annotation is visible."].join(" ")},text:{valType:"string",role:"info",editType:"calc+arraydraw",description:["Sets the text associated with this annotation.","Plotly uses a subset of HTML tags to do things like","newline (<br>), bold (<b></b>), italics (<i></i>),","hyperlinks (<a href='...'></a>). Tags <em>, <sup>, <sub>","<span> are also supported."].join(" ")},textangle:{valType:"angle",dflt:0,role:"style",editType:"calc+arraydraw",description:["Sets the angle at which the `text` is drawn","with respect to the horizontal."].join(" ")},font:a({editType:"calc+arraydraw",colorEditType:"arraydraw",description:"Sets the annotation text font."}),width:{valType:"number",min:1,dflt:null,role:"style",editType:"calc+arraydraw",description:["Sets an explicit width for the text box. null (default) lets the","text set the box width. Wider text will be clipped.","There is no automatic wrapping; use <br> to start a new line."].join(" ")},height:{valType:"number",min:1,dflt:null,role:"style",editType:"calc+arraydraw",description:["Sets an explicit height for the text box. null (default) lets the","text set the box height. Taller text will be clipped."].join(" ")},opacity:{valType:"number",min:0,max:1,dflt:1,role:"style",editType:"arraydraw",description:"Sets the opacity of the annotation (text + arrow)."},align:{valType:"enumerated",values:["left","center","right"],dflt:"center",role:"style",editType:"arraydraw",description:["Sets the horizontal alignment of the `text` within the box.","Has an effect only if `text` spans two or more lines","(i.e. `text` contains one or more <br> HTML tags) or if an","explicit width is set to override the text width."].join(" ")},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",role:"style",editType:"arraydraw",description:["Sets the vertical alignment of the `text` within the box.","Has an effect only if an explicit height is set to override","the text height."].join(" ")},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",role:"style",editType:"arraydraw",description:"Sets the background color of the annotation."},bordercolor:{valType:"color",dflt:"rgba(0,0,0,0)",role:"style",editType:"arraydraw",description:["Sets the color of the border enclosing the annotation `text`."].join(" ")},borderpad:{valType:"number",min:0,dflt:1,role:"style",editType:"calc+arraydraw",description:["Sets the padding (in px) between the `text`","and the enclosing border."].join(" ")},borderwidth:{valType:"number",min:0,dflt:1,role:"style",editType:"calc+arraydraw",description:["Sets the width (in px) of the border enclosing","the annotation `text`."].join(" ")},showarrow:{valType:"boolean",dflt:!0,role:"style",editType:"calc+arraydraw",description:["Determines whether or not the annotation is drawn with an arrow.","If *true*, `text` is placed near the arrow's tail.","If *false*, `text` lines up with the `x` and `y` provided."].join(" ")},arrowcolor:{valType:"color",role:"style",editType:"arraydraw",description:"Sets the color of the annotation arrow."},arrowhead:{valType:"integer",min:0,max:n.length,dflt:1,role:"style",editType:"arraydraw",description:"Sets the end annotation arrow head style."},startarrowhead:{valType:"integer",min:0,max:n.length,dflt:1,role:"style",editType:"arraydraw",description:"Sets the start annotation arrow head style."},arrowside:{valType:"flaglist",flags:["end","start"],extras:["none"],dflt:"end",role:"style",editType:"arraydraw",description:"Sets the annotation arrow head position."},arrowsize:{valType:"number",min:.3,dflt:1,role:"style",editType:"calc+arraydraw",description:["Sets the size of the end annotation arrow head, relative to `arrowwidth`.","A value of 1 (default) gives a head about 3x as wide as the line."].join(" ")},startarrowsize:{valType:"number",min:.3,dflt:1,role:"style",editType:"calc+arraydraw",description:["Sets the size of the start annotation arrow head, relative to `arrowwidth`.","A value of 1 (default) gives a head about 3x as wide as the line."].join(" ")},arrowwidth:{valType:"number",min:.1,role:"style",editType:"calc+arraydraw",description:"Sets the width (in px) of annotation arrow line."},standoff:{valType:"number",min:0,dflt:0,role:"style",editType:"calc+arraydraw",description:["Sets a distance, in pixels, to move the end arrowhead away from the","position it is pointing at, for example to point at the edge of","a marker independent of zoom. Note that this shortens the arrow","from the `ax` / `ay` vector, in contrast to `xshift` / `yshift`","which moves everything by this amount."].join(" ")},startstandoff:{valType:"number",min:0,dflt:0,role:"style",editType:"calc+arraydraw",description:["Sets a distance, in pixels, to move the start arrowhead away from the","position it is pointing at, for example to point at the edge of","a marker independent of zoom. Note that this shortens the arrow","from the `ax` / `ay` vector, in contrast to `xshift` / `yshift`","which moves everything by this amount."].join(" ")},ax:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the x component of the arrow tail about the arrow head.","If `axref` is `pixel`, a positive (negative) ","component corresponds to an arrow pointing","from right to left (left to right).","If `axref` is an axis, this is an absolute value on that axis,","like `x`, NOT a relative value."].join(" ")},ay:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the y component of the arrow tail about the arrow head.","If `ayref` is `pixel`, a positive (negative) ","component corresponds to an arrow pointing","from bottom to top (top to bottom).","If `ayref` is an axis, this is an absolute value on that axis,","like `y`, NOT a relative value."].join(" ")},axref:{valType:"enumerated",dflt:"pixel",values:["pixel",i.idRegex.x.toString()],role:"info",editType:"calc",description:["Indicates in what terms the tail of the annotation (ax,ay) ","is specified. If `pixel`, `ax` is a relative offset in pixels ","from `x`. If set to an x axis id (e.g. *x* or *x2*), `ax` is ","specified in the same terms as that axis. This is useful ","for trendline annotations which should continue to indicate ","the correct trend when zoomed."].join(" ")},ayref:{valType:"enumerated",dflt:"pixel",values:["pixel",i.idRegex.y.toString()],role:"info",editType:"calc",description:["Indicates in what terms the tail of the annotation (ax,ay) ","is specified. If `pixel`, `ay` is a relative offset in pixels ","from `y`. If set to a y axis id (e.g. *y* or *y2*), `ay` is ","specified in the same terms as that axis. This is useful ","for trendline annotations which should continue to indicate ","the correct trend when zoomed."].join(" ")},xref:{valType:"enumerated",values:["paper",i.idRegex.x.toString()],role:"info",editType:"calc",description:["Sets the annotation's x coordinate axis.","If set to an x axis id (e.g. *x* or *x2*), the `x` position","refers to an x coordinate","If set to *paper*, the `x` position refers to the distance from","the left side of the plotting area in normalized coordinates","where 0 (1) corresponds to the left (right) side."].join(" ")},x:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the annotation's x position.","If the axis `type` is *log*, then you must take the","log of your desired range.","If the axis `type` is *date*, it should be date strings,","like date data, though Date objects and unix milliseconds","will be accepted and converted to strings.","If the axis `type` is *category*, it should be numbers,","using the scale where each category is assigned a serial","number from zero in the order it appears."].join(" ")},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",role:"info",editType:"calc+arraydraw",description:["Sets the text box's horizontal position anchor","This anchor binds the `x` position to the *left*, *center*","or *right* of the annotation.","For example, if `x` is set to 1, `xref` to *paper* and","`xanchor` to *right* then the right-most portion of the","annotation lines up with the right-most edge of the","plotting area.","If *auto*, the anchor is equivalent to *center* for","data-referenced annotations or if there is an arrow,","whereas for paper-referenced with no arrow, the anchor picked","corresponds to the closest side."].join(" ")},xshift:{valType:"number",dflt:0,role:"style",editType:"calc+arraydraw",description:["Shifts the position of the whole annotation and arrow to the","right (positive) or left (negative) by this many pixels."].join(" ")},yref:{valType:"enumerated",values:["paper",i.idRegex.y.toString()],role:"info",editType:"calc",description:["Sets the annotation's y coordinate axis.","If set to an y axis id (e.g. *y* or *y2*), the `y` position","refers to an y coordinate","If set to *paper*, the `y` position refers to the distance from","the bottom of the plotting area in normalized coordinates","where 0 (1) corresponds to the bottom (top)."].join(" ")},y:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the annotation's y position.","If the axis `type` is *log*, then you must take the","log of your desired range.","If the axis `type` is *date*, it should be date strings,","like date data, though Date objects and unix milliseconds","will be accepted and converted to strings.","If the axis `type` is *category*, it should be numbers,","using the scale where each category is assigned a serial","number from zero in the order it appears."].join(" ")},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"auto",role:"info",editType:"calc+arraydraw",description:["Sets the text box's vertical position anchor","This anchor binds the `y` position to the *top*, *middle*","or *bottom* of the annotation.","For example, if `y` is set to 1, `yref` to *paper* and","`yanchor` to *top* then the top-most portion of the","annotation lines up with the top-most edge of the","plotting area.","If *auto*, the anchor is equivalent to *middle* for","data-referenced annotations or if there is an arrow,","whereas for paper-referenced with no arrow, the anchor picked","corresponds to the closest side."].join(" ")},yshift:{valType:"number",dflt:0,role:"style",editType:"calc+arraydraw",description:["Shifts the position of the whole annotation and arrow up","(positive) or down (negative) by this many pixels."].join(" ")},clicktoshow:{valType:"enumerated",values:[!1,"onoff","onout"],dflt:!1,role:"style",editType:"arraydraw",description:["Makes this annotation respond to clicks on the plot.","If you click a data point that exactly matches the `x` and `y`","values of this annotation, and it is hidden (visible: false),","it will appear. In *onoff* mode, you must click the same point","again to make it disappear, so if you click multiple points,","you can show multiple annotations. In *onout* mode, a click","anywhere else in the plot (on another data point or not) will","hide this annotation.","If you need to show/hide this annotation in response to different","`x` or `y` values, you can set `xclick` and/or `yclick`. This is","useful for example to label the side of a bar. To label markers","though, `standoff` is preferred over `xclick` and `yclick`."].join(" ")},xclick:{valType:"any",role:"info",editType:"arraydraw",description:["Toggle this annotation when clicking a data point whose `x` value","is `xclick` rather than the annotation's `x` value."].join(" ")},yclick:{valType:"any",role:"info",editType:"arraydraw",description:["Toggle this annotation when clicking a data point whose `y` value","is `yclick` rather than the annotation's `y` value."].join(" ")},hovertext:{valType:"string",role:"info",editType:"arraydraw",description:["Sets text to appear when hovering over this annotation.","If omitted or blank, no hover label will appear."].join(" ")},hoverlabel:{bgcolor:{valType:"color",role:"style",editType:"arraydraw",description:["Sets the background color of the hover label.","By default uses the annotation's `bgcolor` made opaque,","or white if it was transparent."].join(" ")},bordercolor:{valType:"color",role:"style",editType:"arraydraw",description:["Sets the border color of the hover label.","By default uses either dark grey or white, for maximum","contrast with `hoverlabel.bgcolor`."].join(" ")},font:a({editType:"arraydraw",description:["Sets the hover label text font.","By default uses the global hover font and size,","with color from `hoverlabel.bordercolor`."].join(" ")}),editType:"arraydraw"},captureevents:{valType:"boolean",role:"info",editType:"arraydraw",description:["Determines whether the annotation text box captures mouse move","and click events, or allows those events to pass through to data","points in the plot that may be behind the annotation. By default","`captureevents` is *false* unless `hovertext` is provided.","If you use the event `plotly_clickannotation` without `hovertext`","you must explicitly enable `captureevents`."].join(" ")},editType:"calc",_deprecated:{ref:{valType:"string",role:"info",editType:"calc",description:["Obsolete. Set `xref` and `yref` separately instead."].join(" ")}}})},u1T8:function(e,t,r){"use strict";var n=r("O2KT");r.n(n).a},u1sj:function(e,t,r){"use strict";var n=r("/CZE"),a=r("BkK/"),i=r("5azm"),o=r("Fyky"),s=r("u0qo");function l(e,t,r){function i(r,a){return n.coerce(e,t,s,r,a)}var l=i("visible"),c=i("clicktoshow");if(l||c){o(e,t,r,i);for(var u=t.showarrow,d=["x","y"],f=[-10,-30],h={_fullLayout:r},p=0;p<2;p++){var g=d[p],v=a.coerceRef(e,t,h,g,"","paper");if("paper"!==v)a.getFromId(h,v)._annIndices.push(t._index);if(a.coercePosition(t,h,i,v,g,.5),u){var m="a"+g,y=a.coerceRef(e,t,h,m,"pixel");"pixel"!==y&&y!==v&&(y=t[m]="pixel");var x="pixel"===y?f[p]:.4;a.coercePosition(t,h,i,y,m,x)}i(g+"anchor"),i(g+"shift")}if(n.noneOrAll(e,t,["x","y"]),u&&n.noneOrAll(e,t,["ax","ay"]),c){var b=i("xclick"),w=i("yclick");t._xclick=void 0===b?t.x:a.cleanPosition(b,h,t.xref),t._yclick=void 0===w?t.y:a.cleanPosition(w,h,t.yref)}}}e.exports=function(e,t){i(e,t,{name:"annotations",handleItemDefaults:l})}},u3HJ:function(e,t,r){"use strict";var n=r("bljh"),a=r("GbLo"),i=r("Nx4I"),o=r("aSHK"),s=r("plED"),l=r("/CZE"),c=r("0RW4"),u=r("6AZA").BADNUM,d=r("PBw4"),f=r("6Ue+").clearSelect,h=r("W2jp"),p=r("qcty"),g=r("rWI/").getModuleCalcData,v=l.relinkPrivateKeys,m=l._,y=e.exports={};l.extendFlat(y,i),y.attributes=r("qHYo"),y.attributes.type.values=y.allTypes,y.fontAttrs=r("mEVB"),y.layoutAttributes=r("poX/"),y.fontWeight="normal";var x=y.transformsRegistry,b=r("Rpvy");y.executeAPICommand=b.executeAPICommand,y.computeAPICommandBindings=b.computeAPICommandBindings,y.manageCommandObserver=b.manageCommandObserver,y.hasSimpleAPICommandBindings=b.hasSimpleAPICommandBindings,y.redrawText=function(e){var t=(e=l.getGraphDiv(e))._fullLayout||{};if(!(!(t._has&&t._has("polar"))&&e.data&&e.data[0]&&e.data[0].r))return new Promise((function(t){setTimeout((function(){i.getComponentMethod("annotations","draw")(e),i.getComponentMethod("legend","draw")(e),i.getComponentMethod("colorbar","draw")(e),t(y.previousPromises(e))}),300)}))},y.resize=function(e){var t;e=l.getGraphDiv(e);var r=new Promise((function(r,n){e&&!l.isHidden(e)||n(new Error("Resize must be passed a displayed plot div element.")),e._redrawTimer&&clearTimeout(e._redrawTimer),e._resolveResize&&(t=e._resolveResize),e._resolveResize=r,e._redrawTimer=setTimeout((function(){if(!e.layout||e.layout.width&&e.layout.height||l.isHidden(e))r(e);else{delete e.layout.width,delete e.layout.height;var t=e.changed;e.autoplay=!0,i.call("relayout",e,{autosize:!0}).then((function(){e.changed=t,e._resolveResize===r&&(delete e._resolveResize,r(e))}))}}),100)}));return t&&t(r),r},y.previousPromises=function(e){if((e._promises||[]).length)return Promise.all(e._promises).then((function(){e._promises=[]}))},y.addLinks=function(e){if(e._context.showLink||e._context.showSources){var t=e._fullLayout,r=l.ensureSingle(t._paper,"text","js-plot-link-container",(function(e){e.style({"font-family":'"Open Sans", Arial, sans-serif',"font-size":"12px",fill:c.defaultLine,"pointer-events":"all"}).each((function(){var e=n.select(this);e.append("tspan").classed("js-link-to-tool",!0),e.append("tspan").classed("js-link-spacer",!0),e.append("tspan").classed("js-sourcelinks",!0)}))})),a=r.node(),i={y:t._paper.attr("height")-9};document.body.contains(a)&&a.getComputedTextLength()>=t.width-20?(i["text-anchor"]="start",i.x=5):(i["text-anchor"]="end",i.x=t._paper.attr("width")-7),r.attr(i);var o=r.select(".js-link-to-tool"),s=r.select(".js-link-spacer"),u=r.select(".js-sourcelinks");e._context.showSources&&e._context.showSources(e),e._context.showLink&&function(e,t){t.text("");var r=t.append("a").attr({"xlink:xlink:href":"#",class:"link--impt link--embedview","font-weight":"bold"}).text(e._context.linkText+" "+String.fromCharCode(187));if(e._context.sendData)r.on("click",(function(){y.sendDataToCloud(e)}));else{var n=window.location.pathname.split("/"),a=window.location.search;r.attr({"xlink:xlink:show":"new","xlink:xlink:href":"/"+n[2].split(".")[0]+"/"+n[1]+a})}}(e,o),s.text(o.text()&&u.text()?" - ":"")}},y.sendDataToCloud=function(e){var t=(window.PLOTLYENV||{}).BASE_URL||e._context.plotlyServerURL;if(t){e.emit("plotly_beforeexport");var r=n.select(e).append("div").attr("id","hiddenform").style("display","none"),a=r.append("form").attr({action:t+"/external",method:"post",target:"_blank"});return a.append("input").attr({type:"text",name:"data"}).node().value=y.graphJson(e,!1,"keepdata"),a.node().submit(),r.remove(),e.emit("plotly_afterexport"),!1}};var w=["days","shortDays","months","shortMonths","periods","dateTime","date","time","decimal","thousands","grouping","currency"],_=["year","month","dayMonth","dayMonthYear"];function k(e,t){var r=e._context.locale,n=!1,a={};function o(e){for(var r=!0,i=0;i<t.length;i++){var o=t[i];a[o]||(e[o]?a[o]=e[o]:r=!1)}r&&(n=!0)}for(var s=0;s<2;s++){for(var l=e._context.locales,c=0;c<2;c++){var u=(l[r]||{}).format;if(u&&(o(u),n))break;l=i.localeRegistry}var d=r.split("-")[0];if(n||d===r)break;r=d}return n||o(i.localeRegistry.en.format),a}function T(e,t){var r={_fullLayout:t},n="x"===e._id.charAt(0),a=e._mainAxis._anchorAxis,i="",o="",s="";if(a&&(s=a._mainAxis._id,i=n?e._id+s:s+e._id),!i||!t._plots[i]){i="";for(var l=e._counterAxes,c=0;c<l.length;c++){var u=l[c],f=n?e._id+u:u+e._id;o||(o=f);var h=d.getFromId(r,u);if(s&&h.overlaying===s){i=f;break}}}return i||o}function M(e){var t=e.transforms;if(Array.isArray(t)&&t.length)for(var r=0;r<t.length;r++){var n=t[r],a=n._module||x[n.type];if(a&&a.makesData)return!0}return!1}function S(e,t,r,n){for(var a=e.transforms,i=[e],o=0;o<a.length;o++){var s=a[o],l=x[s.type];l&&l.transform&&(i=l.transform(i,{transform:s,fullTrace:e,fullData:t,layout:r,fullLayout:n,transformIndex:o}))}return i}function A(e){return"string"==typeof e&&"px"===e.substr(e.length-2)&&parseFloat(e)}function C(e){var t=e.margin;if(!e._size){var r=e._size={l:Math.round(t.l),r:Math.round(t.r),t:Math.round(t.t),b:Math.round(t.b),p:Math.round(t.pad)};r.w=Math.round(e.width)-r.l-r.r,r.h=Math.round(e.height)-r.t-r.b}e._pushmargin||(e._pushmargin={}),e._pushmarginIds||(e._pushmarginIds={})}y.supplyDefaults=function(e,t){var r=t&&t.skipUpdateCalc,a=e._fullLayout||{};if(a._skipDefaults)delete a._skipDefaults;else{var o,s=e._fullLayout={},c=e.layout||{},u=e._fullData||[],d=e._fullData=[],h=e.data||[],p=e.calcdata||[],g=e._context||{};e._transitionData||y.createTransitionData(e),s._dfltTitle={plot:m(e,"Click to enter Plot title"),x:m(e,"Click to enter X axis title"),y:m(e,"Click to enter Y axis title"),colorbar:m(e,"Click to enter Colorscale title"),annotation:m(e,"new text")},s._traceWord=m(e,"trace");var x=k(e,w);if(s._mapboxAccessToken=g.mapboxAccessToken,a._initialAutoSizeIsDone){var b=a.width,T=a.height;y.supplyLayoutGlobalDefaults(c,s,x),c.width||(s.width=b),c.height||(s.height=T),y.sanitizeMargins(s)}else{y.supplyLayoutGlobalDefaults(c,s,x);var M=!c.width||!c.height,S=s.autosize,A=g.autosizable;M&&(S||A)?y.plotAutoSize(e,c,s):M&&y.sanitizeMargins(s),!S&&M&&(c.width=s.width,c.height=s.height)}s._d3locale=function(e,t){return e.decimal=t.charAt(0),e.thousands=t.charAt(1),n.locale(e)}(x,s.separators),s._extraFormat=k(e,_),s._initialAutoSizeIsDone=!0,s._dataLength=h.length,s._modules=[],s._visibleModules=[],s._basePlotModules=[];var P=s._subplots=function(){var e,t,r=i.collectableSubplotTypes,n={};if(!r){r=[];var a=i.subplotsRegistry;for(var o in a){var s=a[o].attr;if(s&&(r.push(o),Array.isArray(s)))for(t=0;t<s.length;t++)l.pushUnique(r,s[t])}}for(e=0;e<r.length;e++)n[r[e]]=[];return n}(),O=s._splomAxes={x:{},y:{}},I=s._splomSubplots={};s._splomGridDflt={},s._scatterStackOpts={},s._firstScatter={},s._alignmentOpts={},s._colorAxes={},s._requestRangeslider={},s._traceUids=function(e,t){var r,n,a=t.length,i=[];for(r=0;r<e.length;r++){var o=e[r]._fullInput;o!==n&&i.push(o),n=o}var s=i.length,c=new Array(a),u={};function d(e,t){c[t]=e,u[e]=1}function f(e,t){if(e&&"string"==typeof e&&!u[e])return d(e,t),!0}for(r=0;r<a;r++){var h=t[r].uid;"number"==typeof h&&(h=String(h)),f(h,r)||(r<s&&f(i[r].uid,r)||d(l.randstr(u),r))}return c}(u,h),s._globalTransforms=(e._context||{}).globalTransforms,y.supplyDataDefaults(h,d,c,s);var z=Object.keys(O.x),L=Object.keys(O.y);if(z.length>1&&L.length>1){for(i.getComponentMethod("grid","sizeDefaults")(c,s),o=0;o<z.length;o++)l.pushUnique(P.xaxis,z[o]);for(o=0;o<L.length;o++)l.pushUnique(P.yaxis,L[o]);for(var E in I)l.pushUnique(P.cartesian,E)}if(s._has=y._hasPlotType.bind(s),u.length===d.length)for(o=0;o<d.length;o++)v(d[o],u[o]);y.supplyLayoutModuleDefaults(c,s,d,e._transitionData);var j=s._visibleModules,D=[];for(o=0;o<j.length;o++){var R=j[o].crossTraceDefaults;R&&l.pushUnique(D,R)}for(o=0;o<D.length;o++)D[o](d,s);s._hasOnlyLargeSploms=1===s._basePlotModules.length&&"splom"===s._basePlotModules[0].name&&z.length>15&&L.length>15&&0===s.shapes.length&&0===s.images.length,s._hasCartesian=s._has("cartesian"),s._hasGeo=s._has("geo"),s._hasGL3D=s._has("gl3d"),s._hasGL2D=s._has("gl2d"),s._hasTernary=s._has("ternary"),s._hasPie=s._has("pie"),y.linkSubplots(d,s,u,a),y.cleanPlot(d,s,u,a);var N=!(!a._has||!a._has("gl2d")),F=!(!s._has||!s._has("gl2d")),B=!(!a._has||!a._has("cartesian"))||N,H=!(!s._has||!s._has("cartesian"))||F;B&&!H?a._bgLayer.remove():H&&!B&&(s._shouldCreateBgLayer=!0),a._zoomlayer&&!e._dragging&&f({_fullLayout:a}),function(e,t){var r,n=[];t.meta&&(r=t._meta={meta:t.meta,layout:{meta:t.meta}});for(var a=0;a<e.length;a++){var i=e[a];i.meta?n[i.index]=i._meta={meta:i.meta}:t.meta&&(i._meta={meta:t.meta}),t.meta&&(i._meta.layout={meta:t.meta})}n.length&&(r||(r=t._meta={}),r.data=n)}(d,s),v(s,a),i.getComponentMethod("colorscale","crossTraceDefaults")(d,s),s._preGUI||(s._preGUI={}),s._tracePreGUI||(s._tracePreGUI={});var V,G=s._tracePreGUI,Z={};for(V in G)Z[V]="old";for(o=0;o<d.length;o++)Z[V=d[o]._fullInput.uid]||(G[V]={}),Z[V]="new";for(V in Z)"old"===Z[V]&&delete G[V];C(s),i.getComponentMethod("rangeslider","makeData")(s),r||p.length!==d.length||y.supplyDefaultsUpdateCalc(p,d)}},y.supplyDefaultsUpdateCalc=function(e,t){for(var r=0;r<t.length;r++){var n=t[r],a=(e[r]||[])[0];if(a&&a.trace){var i=a.trace;if(i._hasCalcTransform){var o,s,c,u=i._arrayAttrs;for(o=0;o<u.length;o++)s=u[o],c=l.nestedProperty(i,s).get().slice(),l.nestedProperty(n,s).set(c)}a.trace=n}}},y.createTransitionData=function(e){e._transitionData||(e._transitionData={}),e._transitionData._frames||(e._transitionData._frames=[]),e._transitionData._frameHash||(e._transitionData._frameHash={}),e._transitionData._counter||(e._transitionData._counter=0),e._transitionData._interruptCallbacks||(e._transitionData._interruptCallbacks=[])},y._hasPlotType=function(e){var t,r=this._basePlotModules||[];for(t=0;t<r.length;t++)if(r[t].name===e)return!0;var n=this._modules||[];for(t=0;t<n.length;t++){var a=n[t].name;if(a===e)return!0;var o=i.modules[a];if(o&&o.categories[e])return!0}return!1},y.cleanPlot=function(e,t,r,n){var a,i,o=n._basePlotModules||[];for(a=0;a<o.length;a++){var s=o[a];s.clean&&s.clean(e,t,r,n)}var l=n._has&&n._has("gl"),c=t._has&&t._has("gl");l&&!c&&void 0!==n._glcontainer&&(n._glcontainer.selectAll(".gl-canvas").remove(),n._glcontainer.selectAll(".no-webgl").remove(),n._glcanvas=null);var u=!!n._infolayer;e:for(a=0;a<r.length;a++){var d=r[a].uid;for(i=0;i<e.length;i++){if(d===e[i].uid)continue e}u&&n._infolayer.select(".cb"+d).remove()}},y.linkSubplots=function(e,t,r,n){var a,o,s=n._plots||{},c=t._plots={},u=t._subplots,f={_fullData:e,_fullLayout:t},h=u.cartesian.concat(u.gl2d||[]);for(a=0;a<h.length;a++){var p,g=h[a],v=s[g],m=d.getFromId(f,g,"x"),y=d.getFromId(f,g,"y");for(v?p=c[g]=v:(p=c[g]={}).id=g,m._counterAxes.push(y._id),y._counterAxes.push(m._id),m._subplotsWith.push(g),y._subplotsWith.push(g),p.xaxis=m,p.yaxis=y,p._hasClipOnAxisFalse=!1,o=0;o<e.length;o++){var x=e[o];if(x.xaxis===p.xaxis._id&&x.yaxis===p.yaxis._id&&!1===x.cliponaxis){p._hasClipOnAxisFalse=!0;break}}}var b,w=d.list(f,null,!0);for(a=0;a<w.length;a++){var _=null;(b=w[a]).overlaying&&(_=d.getFromId(f,b.overlaying))&&_.overlaying&&(b.overlaying=!1,_=null),b._mainAxis=_||b,_&&(b.domain=_.domain.slice()),b._anchorAxis="free"===b.anchor?null:d.getFromId(f,b.anchor)}for(a=0;a<w.length;a++)if((b=w[a])._counterAxes.sort(d.idSort),b._subplotsWith.sort(l.subplotSort),b._mainSubplot=T(b,t),b._counterAxes.length&&(b.spikemode&&-1!==b.spikemode.indexOf("across")||b.automargin&&b.mirror&&"free"!==b.anchor||i.getComponentMethod("rangeslider","isVisible")(b))){var k=1,M=0;for(o=0;o<b._counterAxes.length;o++){var S=d.getFromId(f,b._counterAxes[o]);k=Math.min(k,S.domain[0]),M=Math.max(M,S.domain[1])}k<M&&(b._counterDomainMin=k,b._counterDomainMax=M)}},y.clearExpandedTraceDefaultColors=function(e){var t,r,n;for(r=[],(t=e._module._colorAttrs)||(e._module._colorAttrs=t=[],o.crawl(e._module.attributes,(function(e,n,a,i){r[i]=n,r.length=i+1,"color"===e.valType&&void 0===e.dflt&&t.push(r.join("."))}))),n=0;n<t.length;n++){l.nestedProperty(e,"_input."+t[n]).get()||l.nestedProperty(e,t[n]).set(null)}},y.supplyDataDefaults=function(e,t,r,n){var a,o,c,u=n._modules,d=n._visibleModules,f=n._basePlotModules,h=0,p=0;function g(e){t.push(e);var r=e._module;r&&(l.pushUnique(u,r),!0===e.visible&&l.pushUnique(d,r),l.pushUnique(f,e._module.basePlotModule),h++,!1!==e._input.visible&&p++)}n._transformModules=[];var m={},x=[],b=(r.template||{}).data||{},w=s.traceTemplater(b);for(a=0;a<e.length;a++){if(c=e[a],(o=w.newTrace(c)).uid=n._traceUids[a],y.supplyTraceDefaults(c,o,p,n,a),o.index=a,o._input=c,o._expandedIndex=h,o.transforms&&o.transforms.length)for(var _=!1!==c.visible&&!1===o.visible,k=S(o,t,r,n),T=0;T<k.length;T++){var M=k[T],A={_template:o._template,type:o.type,uid:o.uid+T};_&&!1===M.visible&&delete M.visible,y.supplyTraceDefaults(M,A,h,n,a),v(A,M),A.index=a,A._input=c,A._fullInput=o,A._expandedIndex=h,A._expandedInput=M,g(A)}else o._fullInput=o,o._expandedInput=o,g(o);i.traceIs(o,"carpetAxis")&&(m[o.carpet]=o),i.traceIs(o,"carpetDependent")&&x.push(a)}for(a=0;a<x.length;a++)if((o=t[x[a]]).visible){var C=m[o.carpet];o._carpet=C,C&&C.visible?(o.xaxis=C.xaxis,o.yaxis=C.yaxis):o.visible=!1}},y.supplyAnimationDefaults=function(e){var t;e=e||{};var r={};function n(t,n){return l.coerce(e||{},r,h,t,n)}if(n("mode"),n("direction"),n("fromcurrent"),Array.isArray(e.frame))for(r.frame=[],t=0;t<e.frame.length;t++)r.frame[t]=y.supplyAnimationFrameDefaults(e.frame[t]||{});else r.frame=y.supplyAnimationFrameDefaults(e.frame||{});if(Array.isArray(e.transition))for(r.transition=[],t=0;t<e.transition.length;t++)r.transition[t]=y.supplyAnimationTransitionDefaults(e.transition[t]||{});else r.transition=y.supplyAnimationTransitionDefaults(e.transition||{});return r},y.supplyAnimationFrameDefaults=function(e){var t={};function r(r,n){return l.coerce(e||{},t,h.frame,r,n)}return r("duration"),r("redraw"),t},y.supplyAnimationTransitionDefaults=function(e){var t={};function r(r,n){return l.coerce(e||{},t,h.transition,r,n)}return r("duration"),r("easing"),t},y.supplyFrameDefaults=function(e){var t={};function r(r,n){return l.coerce(e,t,p,r,n)}return r("group"),r("name"),r("traces"),r("baseframe"),r("data"),r("layout"),t},y.supplyTraceDefaults=function(e,t,r,n,a){var o,s=n.colorway||c.defaults,u=s[r%s.length];function d(r,n){return l.coerce(e,t,y.attributes,r,n)}var f=d("visible");d("type"),d("name",n._traceWord+" "+a),d("uirevision",n.uirevision);var h=y.getModule(t);if(t._module=h,h){var p=h.basePlotModule,g=p.attr,v=p.attributes;if(g&&v){var m=n._subplots,x="";if(f||"gl2d"!==p.name){if(Array.isArray(g))for(o=0;o<g.length;o++){var b=g[o],w=l.coerce(e,t,v,b);m[b]&&l.pushUnique(m[b],w),x+=w}else x=l.coerce(e,t,v,g);m[p.name]&&l.pushUnique(m[p.name],x)}}}return f&&(d("customdata"),d("ids"),d("meta"),i.traceIs(t,"showLegend")?(l.coerce(e,t,h.attributes.showlegend?h.attributes:y.attributes,"showlegend"),d("legendgroup"),t._dfltShowLegend=!0):t._dfltShowLegend=!1,h&&h.supplyDefaults(e,t,u,n),i.traceIs(t,"noOpacity")||d("opacity"),i.traceIs(t,"notLegendIsolatable")&&(t.visible=!!t.visible),i.traceIs(t,"noHover")||(t.hovertemplate||l.coerceHoverinfo(e,t,n),"parcats"!==t.type&&i.getComponentMethod("fx","supplyDefaults")(e,t,u,n)),h&&h.selectPoints&&d("selectedpoints"),y.supplyTransformDefaults(e,t,n)),t},y.hasMakesDataTransform=M,y.supplyTransformDefaults=function(e,t,r){if(t._length||M(e)){var n=r._globalTransforms||[],a=r._transformModules||[];if(Array.isArray(e.transforms)||0!==n.length)for(var i=e.transforms||[],o=n.concat(i),s=t.transforms=[],c=0;c<o.length;c++){var u,d=o[c],f=d.type,h=x[f],p=!(d._module&&d._module===h),g=h&&"function"==typeof h.transform;h||l.warn("Unrecognized transform type "+f+"."),h&&h.supplyDefaults&&(p||g)?((u=h.supplyDefaults(d,t,r,e)).type=f,u._module=h,l.pushUnique(a,h)):u=l.extendFlat({},d),s.push(u)}}},y.supplyLayoutGlobalDefaults=function(e,t,r){function n(r,n){return l.coerce(e,t,y.layoutAttributes,r,n)}var a=e.template;l.isPlainObject(a)&&(t.template=a,t._template=a.layout,t._dataTemplate=a.data);var o=l.coerceFont(n,"font");n("title.text",t._dfltTitle.plot),l.coerceFont(n,"title.font",{family:o.family,size:Math.round(1.4*o.size),color:o.color}),n("title.xref"),n("title.yref"),n("title.x"),n("title.y"),n("title.xanchor"),n("title.yanchor"),n("title.pad.t"),n("title.pad.r"),n("title.pad.b"),n("title.pad.l"),n("uniformtext.mode")&&n("uniformtext.minsize"),n("autosize",!(e.width&&e.height)),n("width"),n("height"),n("margin.l"),n("margin.r"),n("margin.t"),n("margin.b"),n("margin.pad"),n("margin.autoexpand"),e.width&&e.height&&y.sanitizeMargins(t),i.getComponentMethod("grid","sizeDefaults")(e,t),n("paper_bgcolor"),n("separators",r.decimal+r.thousands),n("hidesources"),n("colorway"),n("datarevision");var s=n("uirevision");n("editrevision",s),n("selectionrevision",s),n("modebar.orientation"),n("modebar.bgcolor",c.addOpacity(t.paper_bgcolor,.5));var u=c.contrast(c.rgb(t.modebar.bgcolor));n("modebar.color",c.addOpacity(u,.3)),n("modebar.activecolor",c.addOpacity(u,.7)),n("modebar.uirevision",s),i.getComponentMethod("shapes","supplyDrawNewShapeDefaults")(e,t,n),n("meta"),l.isPlainObject(e.transition)&&(n("transition.duration"),n("transition.easing"),n("transition.ordering")),i.getComponentMethod("calendars","handleDefaults")(e,t,"calendar"),i.getComponentMethod("fx","supplyLayoutGlobalDefaults")(e,t,n)},y.plotAutoSize=function(e,t,r){var n,i,o=e._context||{},s=o.frameMargins,c=l.isPlotDiv(e);if(c&&e.emit("plotly_autosize"),o.fillFrame)n=window.innerWidth,i=window.innerHeight,document.body.style.overflow="hidden";else{var u=c?window.getComputedStyle(e):{};if(n=A(u.width)||A(u.maxWidth)||r.width,i=A(u.height)||A(u.maxHeight)||r.height,a(s)&&s>0){var d=1-2*s;n=Math.round(d*n),i=Math.round(d*i)}}var f=y.layoutAttributes.width.min,h=y.layoutAttributes.height.min;n<f&&(n=f),i<h&&(i=h);var p=!t.width&&Math.abs(r.width-n)>1,g=!t.height&&Math.abs(r.height-i)>1;(g||p)&&(p&&(r.width=n),g&&(r.height=i)),e._initialAutoSize||(e._initialAutoSize={width:n,height:i}),y.sanitizeMargins(r)},y.supplyLayoutModuleDefaults=function(e,t,r,n){var a,o,s,c=i.componentsRegistry,u=t._basePlotModules,d=i.subplotsRegistry.cartesian;for(a in c)(s=c[a]).includeBasePlot&&s.includeBasePlot(e,t);for(var f in u.length||u.push(d),t._has("cartesian")&&(i.getComponentMethod("grid","contentDefaults")(e,t),d.finalizeSubplots(e,t)),t._subplots)t._subplots[f].sort(l.subplotSort);for(o=0;o<u.length;o++)(s=u[o]).supplyLayoutDefaults&&s.supplyLayoutDefaults(e,t,r);var h=t._modules;for(o=0;o<h.length;o++)(s=h[o]).supplyLayoutDefaults&&s.supplyLayoutDefaults(e,t,r);var p=t._transformModules;for(o=0;o<p.length;o++)(s=p[o]).supplyLayoutDefaults&&s.supplyLayoutDefaults(e,t,r,n);for(a in c)(s=c[a]).supplyLayoutDefaults&&s.supplyLayoutDefaults(e,t,r)},y.purge=function(e){var t=e._fullLayout||{};void 0!==t._glcontainer&&(t._glcontainer.selectAll(".gl-canvas").remove(),t._glcontainer.remove(),t._glcanvas=null),t._modeBar&&t._modeBar.destroy(),e._transitionData&&(e._transitionData._interruptCallbacks&&(e._transitionData._interruptCallbacks.length=0),e._transitionData._animationRaf&&window.cancelAnimationFrame(e._transitionData._animationRaf)),l.clearThrottle(),l.clearResponsive(e),delete e.data,delete e.layout,delete e._fullData,delete e._fullLayout,delete e.calcdata,delete e.framework,delete e.empty,delete e.fid,delete e.undoqueue,delete e.undonum,delete e.autoplay,delete e.changed,delete e._promises,delete e._redrawTimer,delete e._hmlumcount,delete e._hmpixcount,delete e._transitionData,delete e._transitioning,delete e._initialAutoSize,delete e._transitioningWithDuration,delete e._dragging,delete e._dragged,delete e._dragdata,delete e._hoverdata,delete e._snapshotInProgress,delete e._editing,delete e._mouseDownTime,delete e._legendMouseDownTime,e.removeAllListeners&&e.removeAllListeners()},y.style=function(e){var t,r=e._fullLayout._visibleModules,n=[];for(t=0;t<r.length;t++){var a=r[t];a.style&&l.pushUnique(n,a.style)}for(t=0;t<n.length;t++)n[t](e)},y.sanitizeMargins=function(e){if(e&&e.margin){var t,r=e.width,n=e.height,a=e.margin,i=r-(a.l+a.r),o=n-(a.t+a.b);i<0&&(t=(r-1)/(a.l+a.r),a.l=Math.floor(t*a.l),a.r=Math.floor(t*a.r)),o<0&&(t=(n-1)/(a.t+a.b),a.t=Math.floor(t*a.t),a.b=Math.floor(t*a.b))}},y.clearAutoMarginIds=function(e){e._fullLayout._pushmarginIds={}},y.allowAutoMargin=function(e,t){e._fullLayout._pushmarginIds[t]=1},y.autoMargin=function(e,t,r){var n=e._fullLayout,a=n._pushmargin,i=n._pushmarginIds;if(!1!==n.margin.autoexpand){if(r){var o=r.pad;if(void 0===o){var s=n.margin;o=Math.min(12,s.l,s.r,s.t,s.b)}r.l+r.r>.5*n.width&&(l.log("Margin push",t,"is too big in x, dropping"),r.l=r.r=0),r.b+r.t>.5*n.height&&(l.log("Margin push",t,"is too big in y, dropping"),r.b=r.t=0);var c=void 0!==r.xl?r.xl:r.x,u=void 0!==r.xr?r.xr:r.x,d=void 0!==r.yt?r.yt:r.y,f=void 0!==r.yb?r.yb:r.y;a[t]={l:{val:c,size:r.l+o},r:{val:u,size:r.r+o},b:{val:f,size:r.b+o},t:{val:d,size:r.t+o}},i[t]=1}else delete a[t],delete i[t];if(!n._replotting)return y.doAutoMargin(e)}},y.doAutoMargin=function(e){var t=e._fullLayout;t._size||(t._size={}),C(t);var r=t._size,n=t.margin,o=l.extendFlat({},r),s=n.l,c=n.r,u=n.t,d=n.b,f=t.width,h=t.height,p=t._pushmargin,g=t._pushmarginIds;if(!1!==t.margin.autoexpand){for(var v in p)g[v]||delete p[v];for(var m in p.base={l:{val:0,size:s},r:{val:1,size:c},t:{val:1,size:u},b:{val:0,size:d}},p){var x=p[m].l||{},b=p[m].b||{},w=x.val,_=x.size,k=b.val,T=b.size;for(var M in p){if(a(_)&&p[M].r){var S=p[M].r.val,A=p[M].r.size;if(S>w){var P=(_*S+(A-f)*w)/(S-w),O=(A*(1-w)+(_-f)*(1-S))/(S-w);P>=0&&O>=0&&f-(P+O)>0&&P+O>s+c&&(s=P,c=O)}}if(a(T)&&p[M].t){var I=p[M].t.val,z=p[M].t.size;if(I>k){var L=(T*I+(z-h)*k)/(I-k),E=(z*(1-k)+(T-h)*(1-I))/(I-k);L>=0&&E>=0&&h-(E+L)>0&&L+E>d+u&&(d=L,u=E)}}}}}if(r.l=Math.round(s),r.r=Math.round(c),r.t=Math.round(u),r.b=Math.round(d),r.p=Math.round(n.pad),r.w=Math.round(f)-r.l-r.r,r.h=Math.round(h)-r.t-r.b,!t._replotting&&y.didMarginChange(o,r)){"_redrawFromAutoMarginCount"in t?t._redrawFromAutoMarginCount++:t._redrawFromAutoMarginCount=1;var j=3*(1+Object.keys(g).length);if(t._redrawFromAutoMarginCount<j)return i.call("plot",e);l.warn("Too many auto-margin redraws.")}};var P=["l","r","t","b","p","w","h"];function O(e,t,r){var n=!1;var a=[y.previousPromises,function(){if(e._transitionData)return e._transitioning=!1,function(e){var t=Promise.resolve();if(!e)return t;for(;e.length;)t=t.then(e.shift());return t}(e._transitionData._interruptCallbacks)},r.prepareFn,y.rehover,function(){return e.emit("plotly_transitioning",[]),new Promise((function(a){e._transitioning=!0,t.duration>0&&(e._transitioningWithDuration=!0),e._transitionData._interruptCallbacks.push((function(){n=!0})),r.redraw&&e._transitionData._interruptCallbacks.push((function(){return i.call("redraw",e)})),e._transitionData._interruptCallbacks.push((function(){e.emit("plotly_transitioninterrupted",[])}));var o=0,s=0;function l(){return o++,function(){s++,n||s!==o||function(t){if(!e._transitionData)return;(function(e){if(e)for(;e.length;)e.shift()})(e._transitionData._interruptCallbacks),Promise.resolve().then((function(){if(r.redraw)return i.call("redraw",e)})).then((function(){e._transitioning=!1,e._transitioningWithDuration=!1,e.emit("plotly_transitioned",[])})).then(t)}(a)}}r.runFn(l),setTimeout(l())}))}],o=l.syncOrAsync(a,e);return o&&o.then||(o=Promise.resolve()),o.then((function(){return e}))}y.didMarginChange=function(e,t){for(var r=0;r<P.length;r++){var n=P[r],i=e[n],o=t[n];if(!a(i)||Math.abs(o-i)>1)return!0}return!1},y.graphJson=function(e,t,r,n,a,i){(a&&t&&!e._fullData||a&&!t&&!e._fullLayout)&&y.supplyDefaults(e);var o=a?e._fullData:e.data,s=a?e._fullLayout:e.layout,c=(e._transitionData||{})._frames;function u(e,t){if("function"==typeof e)return t?"_function_":null;if(l.isPlainObject(e)){var n,a={};return Object.keys(e).sort().forEach((function(i){if(-1===["_","["].indexOf(i.charAt(0)))if("function"!=typeof e[i]){if("keepdata"===r){if("src"===i.substr(i.length-3))return}else if("keepstream"===r){if("string"==typeof(n=e[i+"src"])&&n.indexOf(":")>0&&!l.isPlainObject(e.stream))return}else if("keepall"!==r&&"string"==typeof(n=e[i+"src"])&&n.indexOf(":")>0)return;a[i]=u(e[i],t)}else t&&(a[i]="_function")})),a}return Array.isArray(e)?e.map((function(e){return u(e,t)})):l.isTypedArray(e)?l.simpleMap(e,l.identity):l.isJSDate(e)?l.ms2DateTimeLocal(+e):e}var d={data:(o||[]).map((function(e){var r=u(e);return t&&delete r.fit,r}))};return t||(d.layout=u(s)),e.framework&&e.framework.isPolar&&(d=e.framework.getConfig()),c&&(d.frames=u(c)),i&&(d.config=u(e._context,!0)),"object"===n?d:JSON.stringify(d)},y.modifyFrames=function(e,t){var r,n,a,i=e._transitionData._frames,o=e._transitionData._frameHash;for(r=0;r<t.length;r++)switch((n=t[r]).type){case"replace":a=n.value;var s=(i[n.index]||{}).name,l=a.name;i[n.index]=o[l]=a,l!==s&&(delete o[s],o[l]=a);break;case"insert":o[(a=n.value).name]=a,i.splice(n.index,0,a);break;case"delete":delete o[(a=i[n.index]).name],i.splice(n.index,1)}return Promise.resolve()},y.computeFrame=function(e,t){var r,n,a,i,o=e._transitionData._frameHash;if(!t)throw new Error("computeFrame must be given a string frame name");var s=o[t.toString()];if(!s)return!1;for(var l=[s],c=[s.name];s.baseframe&&(s=o[s.baseframe.toString()])&&-1===c.indexOf(s.name);)l.push(s),c.push(s.name);for(var u={};s=l.pop();)if(s.layout&&(u.layout=y.extendLayout(u.layout,s.layout)),s.data){if(u.data||(u.data=[]),!(n=s.traces))for(n=[],r=0;r<s.data.length;r++)n[r]=r;for(u.traces||(u.traces=[]),r=0;r<s.data.length;r++)null!=(a=n[r])&&(-1===(i=u.traces.indexOf(a))&&(i=u.data.length,u.traces[i]=a),u.data[i]=y.extendTrace(u.data[i],s.data[r]))}return u},y.recomputeFrameHash=function(e){for(var t=e._transitionData._frameHash={},r=e._transitionData._frames,n=0;n<r.length;n++){var a=r[n];a&&a.name&&(t[a.name]=a)}},y.extendObjectWithContainers=function(e,t,r){var n,a,i,o,s,c,u,d=l.extendDeepNoArrays({},t||{}),f=l.expandObjectPaths(d),h={};if(r&&r.length)for(i=0;i<r.length;i++)void 0===(a=(n=l.nestedProperty(f,r[i])).get())?l.nestedProperty(h,r[i]).set(null):(n.set(null),l.nestedProperty(h,r[i]).set(a));if(e=l.extendDeepNoArrays(e||{},f),r&&r.length)for(i=0;i<r.length;i++)if(c=l.nestedProperty(h,r[i]).get()){for(u=(s=l.nestedProperty(e,r[i])).get(),Array.isArray(u)||(u=[],s.set(u)),o=0;o<c.length;o++){var p=c[o];u[o]=null===p?null:y.extendObjectWithContainers(u[o],p)}s.set(u)}return e},y.dataArrayContainers=["transforms","dimensions"],y.layoutArrayContainers=i.layoutArrayContainers,y.extendTrace=function(e,t){return y.extendObjectWithContainers(e,t,y.dataArrayContainers)},y.extendLayout=function(e,t){return y.extendObjectWithContainers(e,t,y.layoutArrayContainers)},y.transition=function(e,t,r,n,a,i){var o={redraw:a.redraw},s={},c=[];return o.prepareFn=function(){for(var a=Array.isArray(t)?t.length:0,i=n.slice(0,a),o=0;o<i.length;o++){var u=i[o],d=e._fullData[u]._module;if(d){if(d.animatable){var f=d.basePlotModule.name;s[f]||(s[f]=[]),s[f].push(u)}e.data[i[o]]=y.extendTrace(e.data[i[o]],t[o])}}var h=l.expandObjectPaths(l.extendDeepNoArrays({},r)),p=/^[xy]axis[0-9]*$/;for(var g in h)p.test(g)&&delete h[g].range;y.extendLayout(e.layout,h),delete e.calcdata,y.supplyDefaults(e),y.doCalcdata(e);var v=l.expandObjectPaths(r);if(v){var m=e._fullLayout._plots;for(var x in m){var b=m[x],w=b.xaxis,_=b.yaxis,k=w.range.slice(),T=_.range.slice(),M=null,S=null,A=null,C=null;Array.isArray(v[w._name+".range"])?M=v[w._name+".range"].slice():Array.isArray((v[w._name]||{}).range)&&(M=v[w._name].range.slice()),Array.isArray(v[_._name+".range"])?S=v[_._name+".range"].slice():Array.isArray((v[_._name]||{}).range)&&(S=v[_._name].range.slice()),k&&M&&(w.r2l(k[0])!==w.r2l(M[0])||w.r2l(k[1])!==w.r2l(M[1]))&&(A={xr0:k,xr1:M}),T&&S&&(_.r2l(T[0])!==_.r2l(S[0])||_.r2l(T[1])!==_.r2l(S[1]))&&(C={yr0:T,yr1:S}),(A||C)&&c.push(l.extendFlat({plotinfo:b},A,C))}}return Promise.resolve()},o.runFn=function(t){var n,a,o=e._fullLayout._basePlotModules,u=c.length;if(r)for(a=0;a<o.length;a++)o[a].transitionAxes&&o[a].transitionAxes(e,c,i,t);for(var d in u?((n=l.extendFlat({},i)).duration=0,delete s.cartesian):n=i,s){var f=s[d];e._fullData[f[0]]._module.basePlotModule.plot(e,f,n,t)}},O(e,i,o)},y.transitionFromReact=function(e,t,r,n){var a=e._fullLayout,i=a.transition,o={},s=[];return o.prepareFn=function(){var e=a._plots;for(var i in o.redraw=!1,"some"===t.anim&&(o.redraw=!0),"some"===r.anim&&(o.redraw=!0),e){var c=e[i],u=c.xaxis,d=c.yaxis,f=n[u._name].range.slice(),h=n[d._name].range.slice(),p=u.range.slice(),g=d.range.slice();u.setScale(),d.setScale();var v=null,m=null;u.r2l(f[0])===u.r2l(p[0])&&u.r2l(f[1])===u.r2l(p[1])||(v={xr0:f,xr1:p}),d.r2l(h[0])===d.r2l(g[0])&&d.r2l(h[1])===d.r2l(g[1])||(m={yr0:h,yr1:g}),(v||m)&&s.push(l.extendFlat({plotinfo:c},v,m))}return Promise.resolve()},o.runFn=function(r){for(var n,a,o,c=e._fullData,u=e._fullLayout._basePlotModules,d=[],f=0;f<c.length;f++)d.push(f);function h(){for(var t=0;t<u.length;t++)u[t].transitionAxes&&u[t].transitionAxes(e,s,n,r)}function p(){for(var t=0;t<u.length;t++)u[t].plot(e,o,a,r)}s.length&&t.anim?"traces first"===i.ordering?(n=l.extendFlat({},i,{duration:0}),o=d,a=i,setTimeout(h,i.duration),p()):(n=i,o=null,a=l.extendFlat({},i,{duration:0}),setTimeout(p,n.duration),h()):s.length?(n=i,h()):t.anim&&(o=d,a=i,p())},O(e,i,o)},y.doCalcdata=function(e,t){var r,n,a,s,c=d.list(e),f=e._fullData,h=e._fullLayout,p=new Array(f.length),g=(e.calcdata||[]).slice();for(e.calcdata=p,h._numBoxes=0,h._numViolins=0,h._violinScaleGroupStats={},e._hmpixcount=0,e._hmlumcount=0,h._piecolormap={},h._sunburstcolormap={},h._treemapcolormap={},h._funnelareacolormap={},a=0;a<f.length;a++)Array.isArray(t)&&-1===t.indexOf(a)&&(p[a]=g[a]);for(a=0;a<f.length;a++)(r=f[a])._arrayAttrs=o.findArrayAttributes(r),r._extremes={};var v=h._subplots.polar||[];for(a=0;a<v.length;a++)c.push(h[v[a]].radialaxis,h[v[a]].angularaxis);for(var m in h._colorAxes){var y=h[m];!1!==y.cauto&&(delete y.cmin,delete y.cmax)}var b=!1;function w(t){if(r=f[t],n=r._module,!0===r.visible&&r.transforms){if(n&&n.calc){var a=n.calc(e,r);a[0]&&a[0].t&&a[0].t._scene&&delete a[0].t._scene.dirty}for(s=0;s<r.transforms.length;s++){var i=r.transforms[s];(n=x[i.type])&&n.calcTransform&&(r._hasCalcTransform=!0,b=!0,n.calcTransform(e,r,i))}}}function _(t,a){if(r=f[t],!!(n=r._module).isContainer===a){var i=[];if(!0===r.visible&&0!==r._length){delete r._indexToPoints;var o=r.transforms||[];for(s=o.length-1;s>=0;s--)if(o[s].enabled){r._indexToPoints=o[s]._indexToPoints;break}n&&n.calc&&(i=n.calc(e,r))}Array.isArray(i)&&i[0]||(i=[{x:u,y:u}]),i[0].t||(i[0].t={}),i[0].trace=r,p[t]=i}}for(z(c,f,h),a=0;a<f.length;a++)_(a,!0);for(a=0;a<f.length;a++)w(a);for(b&&z(c,f,h),a=0;a<f.length;a++)_(a,!0);for(a=0;a<f.length;a++)_(a,!1);L(e);var k=function(e,t){var r,n,a,o,s,c=[];function u(e,r,n){var a=r._id.charAt(0);if("histogram2dcontour"===e){var i=r._counterAxes[0],o=d.getFromId(t,i),s="x"===a||"x"===i&&"category"===o.type,l="y"===a||"y"===i&&"category"===o.type;return function(e,t){return 0===e||0===t||s&&e===n[t].length-1||l&&t===n.length-1?-1:("y"===a?t:e)-1}}return function(e,t){return"y"===a?t:e}}var f={min:function(e){return l.aggNums(Math.min,null,e)},max:function(e){return l.aggNums(Math.max,null,e)},sum:function(e){return l.aggNums((function(e,t){return e+t}),null,e)},total:function(e){return l.aggNums((function(e,t){return e+t}),null,e)},mean:function(e){return l.mean(e)},median:function(e){return l.median(e)}};for(r=0;r<e.length;r++){var h=e[r];if("category"===h.type){var p=h.categoryorder.match(I);if(p){var g=p[1],v=p[2],m=[];for(n=0;n<h._categories.length;n++)m.push([h._categories[n],[]]);for(n=0;n<h._traceIndices.length;n++){var y=h._traceIndices[n],x=t._fullData[y],b=h._id.charAt(0);if(!0===x.visible){var w=x.type;i.traceIs(x,"histogram")&&(delete x._xautoBinFinished,delete x._yautoBinFinished);var _=t.calcdata[y];for(a=0;a<_.length;a++){var k,T,M,S=_[a];if("splom"===w){var A=x._axesDim[h._id];if("y"===b){var C=x._diag[A][0];C&&(h=t._fullLayout[d.id2name(C)])}var P=S.trace.dimensions[A].values;for(o=0;o<P.length;o++)for(k=P[o],T=h._categoriesMap[k],s=0;s<S.trace.dimensions.length;s++)if(s!==A){var O=S.trace.dimensions[s];m[T][1].push(O.values[o])}}else if("scattergl"===w){for(o=0;o<S.t.x.length;o++)"x"===b&&(k=S.t.x[o],T=k,M=S.t.y[o]),"y"===b&&(k=S.t.y[o],T=k,M=S.t.x[o]),m[T][1].push(M);S.t&&S.t._scene&&delete S.t._scene.dirty}else if(S.hasOwnProperty("z")){M=S.z;var z=u(x.type,h,M);for(o=0;o<M.length;o++)for(s=0;s<M[o].length;s++)(T=z(s,o))+1&&m[T][1].push(M[o][s])}else for("x"===b?(k=S.p+1?S.p:S.x,M=S.s||S.v||S.y):"y"===b&&(k=S.p+1?S.p:S.y,M=S.s||S.v||S.x),Array.isArray(M)||(M=[M]),o=0;o<M.length;o++)m[k][1].push(M[o])}}}h._categoriesValue=m;var L=[];for(n=0;n<m.length;n++)L.push([m[n][0],f[g](m[n][1])]);L.sort((function(e,t){return e[1]-t[1]})),h._categoriesAggregatedValue=L,h._initialCategories=L.map((function(e){return e[0]})),"descending"===v&&h._initialCategories.reverse(),c=c.concat(h.sortByInitialCategories())}}}return c}(c,e);if(k.length){for(h._numBoxes=0,h._numViolins=0,a=0;a<k.length;a++)_(k[a],!0);for(a=0;a<k.length;a++)_(k[a],!1);L(e)}i.getComponentMethod("fx","calc")(e),i.getComponentMethod("errorbars","calc")(e)};var I=/(total|sum|min|max|mean|median) (ascending|descending)/;function z(e,t,r){var n,a,i,o={};for(n=0;n<e.length;n++)i=(a=e[n])._id,a.clearCalc(),"multicategory"===a.type&&a.setupMultiCategory(t),o[a._id]=1;var s=r._axisMatchGroups||[];for(n=0;n<s.length;n++)for(i in s[n])o[i]||(a=r[d.id2name(i)]).clearCalc()}function L(e){var t,r,n,a=e._fullLayout,i=a._visibleModules,o={};for(r=0;r<i.length;r++){var s=i[r],c=s.crossTraceCalc;if(c){var u=s.basePlotModule.name;o[u]?l.pushUnique(o[u],c):o[u]=[c]}}for(n in o){var d=o[n],f=a._subplots[n];if(Array.isArray(f))for(t=0;t<f.length;t++){var h=f[t],p="cartesian"===n?a._plots[h]:a[h];for(r=0;r<d.length;r++)d[r](e,p,h)}else for(r=0;r<d.length;r++)d[r](e)}}y.rehover=function(e){e._fullLayout._rehover&&e._fullLayout._rehover()},y.redrag=function(e){e._fullLayout._redrag&&e._fullLayout._redrag()},y.generalUpdatePerTraceModule=function(e,t,r,n){var a,i=t.traceHash,o={};for(a=0;a<r.length;a++){var s=r[a],c=s[0].trace;c.visible&&(o[c.type]=o[c.type]||[],o[c.type].push(s))}for(var u in i)if(!o[u]){var d=i[u][0];d[0].trace.visible=!1,o[u]=[d]}for(var f in o){var h=o[f];h[0][0].trace._module.plot(e,t,l.filterVisible(h),n)}t.traceHash=o},y.plotBasePlot=function(e,t,r,n,a){var o=i.getModule(e),s=g(t.calcdata,o)[0];o.plot(t,s,n,a)},y.cleanBasePlot=function(e,t,r,n,a){var i=a._has&&a._has(e),o=r._has&&r._has(e);i&&!o&&a["_"+e+"layer"].selectAll("g.trace").remove()}},u4aF:function(e,t,r){"use strict";var n=r("/CZE"),a=r("IJNW"),i=r("kn30");e.exports=function(e,t){a(e,t,(function(r,a){return n.coerce(e,t,i,r,a)}))}},uM7j:function(e,t,r){"use strict";e.exports={INCREASING:{COLOR:"#3D9970",SYMBOL:"โฒ"},DECREASING:{COLOR:"#FF4136",SYMBOL:"โผ"}}},uSQw:function(e,t){function r(e,t,r){var n=[];return e.forEach((function(e){var a=(e.myFill.above?8:0)+(e.myFill.below?4:0)+(e.otherFill&&e.otherFill.above?2:0)+(e.otherFill&&e.otherFill.below?1:0);0!==t[a]&&n.push({id:r?r.segmentId():-1,start:e.start,end:e.end,myFill:{above:1===t[a],below:2===t[a]},otherFill:null})})),r&&r.selected(n),n}var n={union:function(e,t){return r(e,[0,2,1,0,2,2,0,0,1,0,1,0,0,0,0,0],t)},intersect:function(e,t){return r(e,[0,0,0,0,0,2,0,2,0,0,1,1,0,2,1,0],t)},difference:function(e,t){return r(e,[0,0,0,0,2,0,2,0,1,1,0,0,0,1,2,0],t)},differenceRev:function(e,t){return r(e,[0,2,1,0,0,0,1,1,0,2,0,2,0,0,0,0],t)},xor:function(e,t){return r(e,[0,2,1,0,2,0,0,1,1,0,0,2,0,1,2,0],t)}};e.exports=n},uigH:function(e,t,r){var n=r("qCjo");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("5510cae2",n,!0,{})},uox1:function(e,t,r){var n=r("s6w0");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("4cd5c451",n,!0,{})},uvNv:function(e,t,r){(t=r("JPst")(!1)).push([e.i,".spinner[data-v-31d614bc]{display:flex;justify-content:center;align-items:center}.spinner *[data-v-31d614bc]{line-height:0;box-sizing:border-box}.spinner-inner[data-v-31d614bc]{width:calc(100% - 14px);height:calc(100% - 14px);flex-shrink:0;border:1px solid;animation:rotate 1.3s linear 0s infinite;border-radius:50%}.spinner-inner[data-v-31d614bc]:after{content:'';position:absolute;width:14px;height:14px;background:#41b883;border-radius:100%;left:50%;transform:translateX(-50%) translateY(-50%);top:0}\n",""]),e.exports=t},uvVx:function(e,t,r){"use strict";e.exports={scrollBarWidth:6,scrollBarMinHeight:20,scrollBarColor:"#808BA4",scrollBarMargin:4,scrollBarEnterAttrs:{rx:20,ry:3,width:0,height:0},titlePad:2,textGap:40,itemGap:5}},uyhC:function(e,t,r){(t=r("JPst")(!1)).push([e.i,".spinner[data-v-a083ee58]{display:inline-block;position:relative}.spinner *[data-v-a083ee58]{line-height:0;box-sizing:border-box}.cube1[data-v-a083ee58],.cube2[data-v-a083ee58]{width:25%;height:25%;position:absolute;top:0;left:0;animation:sk-cubemove-data-v-a083ee58 1.8s ease-in-out infinite}.cube2[data-v-a083ee58]{animation-delay:-0.9s}@keyframes sk-cubemove-data-v-a083ee58{25%{top:0;left:calc(100% - 25%);transform:rotate(-90deg) scale(0.5)}50%{top:calc(100% - 25%);left:calc(100% - 25%);transform:rotate(-179deg)}50.1%{top:calc(100% - 25%);left:calc(100% - 25%);transform:rotate(-180deg)}75%{top:calc(100% - 25%);left:0;transform:rotate(-270deg) scale(0.5)}100%{top:0;left:0;transform:rotate(-360deg)}}\n",""]),e.exports=t},v7ZX:function(e,t,r){"use strict";var n=r("bljh"),a=r("/CZE"),i=r("g9E0"),o=r("A3kh"),s=r("yLjo"),l=r("2oy/").styleOne,c=r("I8wg"),u=r("+1bK"),d=r("aWIO"),f=r("4X2v").formatSliceLabel;e.exports=function(e,t,r,h,p){var g=p.width,v=p.height,m=p.viewX,y=p.viewY,x=p.pathSlice,b=p.toMoveInsideSlice,w=p.strTransform,_=p.hasTransition,k=p.handleSlicesExit,T=p.makeUpdateSliceInterpolator,M=p.makeUpdateTextInterpolator,S=p.prevEntry,A=e._fullLayout,C=t[0].trace,P=-1!==C.textposition.indexOf("left"),O=-1!==C.textposition.indexOf("right"),I=-1!==C.textposition.indexOf("bottom"),z=!I&&!C.marker.pad.t||I&&!C.marker.pad.b,L=s(r,[g,v],{packing:C.tiling.packing,squarifyratio:C.tiling.squarifyratio,flipX:C.tiling.flip.indexOf("x")>-1,flipY:C.tiling.flip.indexOf("y")>-1,pad:{inner:C.tiling.pad,top:C.marker.pad.t,left:C.marker.pad.l,right:C.marker.pad.r,bottom:C.marker.pad.b}}).descendants(),E=1/0,j=-1/0;L.forEach((function(e){var t=e.depth;t>=C._maxDepth?(e.x0=e.x1=(e.x0+e.x1)/2,e.y0=e.y1=(e.y0+e.y1)/2):(E=Math.min(E,t),j=Math.max(j,t))})),h=h.data(L,u.getPtId),C._maxVisibleLayers=isFinite(j)?j-E+1:0,h.enter().append("g").classed("slice",!0),k(h,!1,{},[g,v],x),h.order();var D=null;if(_&&S){var R=u.getPtId(S);h.each((function(e){null===D&&u.getPtId(e)===R&&(D={x0:e.x0,x1:e.x1,y0:e.y0,y1:e.y1})}))}var N=function(){return D||{x0:0,x1:g,y0:0,y1:v}},F=h;return _&&(F=F.transition().each("end",(function(){var t=n.select(this);u.setSliceCursor(t,e,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})}))),F.each((function(s){var h=u.isHeader(s,C);s._hoverX=m(s.x1-C.marker.pad.r),s._hoverY=y(I?s.y1-C.marker.pad.b/2:s.y0+C.marker.pad.t/2);var p=n.select(this),k=a.ensureSingle(p,"path","surface",(function(e){e.style("pointer-events","all")}));_?k.transition().attrTween("d",(function(e){var t=T(e,!1,N(),[g,v]);return function(e){return x(t(e))}})):k.attr("d",x),p.call(d,r,e,t,{styleOne:l,eventDataKeys:c.eventDataKeys,transitionTime:c.CLICK_TRANSITION_TIME,transitionEasing:c.CLICK_TRANSITION_EASING}).call(u.setSliceCursor,e,{isTransitioning:e._transitioning}),k.call(l,s,C,{hovered:!1}),s.x0===s.x1||s.y0===s.y1?s._text="":s._text=h?z?"":u.getPtLabel(s)||"":f(s,r,C,t,A)||"";var S=a.ensureSingle(p,"g","slicetext"),L=a.ensureSingle(S,"text","",(function(e){e.attr("data-notex",1)})),E=a.ensureUniformFontSize(e,u.determineTextFont(C,s,A.font));L.text(s._text||" ").classed("slicetext",!0).attr("text-anchor",O?"end":P||h?"start":"middle").call(i.font,E).call(o.convertToTspans,e),s.textBB=i.bBox(L.node()),s.transform=b(s,{fontSize:E.size,isHeader:h}),s.transform.fontSize=E.size,_?L.transition().attrTween("transform",(function(e){var t=M(e,!1,N(),[g,v]);return function(e){return w(t(e))}})):L.attr("transform",w(s))})),D}},vEvM:function(e,t,r){var n=r("dvj0");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("27d6bf61",n,!0,{})},vJMd:function(e,t,r){"use strict";var n=r("Ut+V");r.n(n).a},vmS9:function(e,t,r){"use strict";var n=r("bljh"),a=r("/CZE"),i=r("Nx4I"),o=Math.PI/180,s=180/Math.PI,l={cursor:"pointer"},c={cursor:"auto"};function u(e,t){return n.behavior.zoom().translate(t.translate()).scale(t.scale())}function d(e,t,r){var n=e.id,o=e.graphDiv,s=o.layout,l=s[n],c=o._fullLayout,u=c[n],d={},f={};function h(e,t){d[n+"."+e]=a.nestedProperty(l,e).get(),i.call("_storeDirectGUIEdit",s,c._preGUI,d);var r=a.nestedProperty(u,e);r.get()!==t&&(r.set(t),a.nestedProperty(l,e).set(t),f[n+"."+e]=t)}r(h),h("projection.scale",t.scale()/e.fitScale),h("fitbounds",!1),o.emit("plotly_relayout",f)}function f(e,t){var r=u(0,t);function a(r){var n=t.invert(e.midPt);r("center.lon",n[0]),r("center.lat",n[1])}return r.on("zoomstart",(function(){n.select(this).style(l)})).on("zoom",(function(){t.scale(n.event.scale).translate(n.event.translate),e.render();var r=t.invert(e.midPt);e.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":t.scale()/e.fitScale,"geo.center.lon":r[0],"geo.center.lat":r[1]})})).on("zoomend",(function(){n.select(this).style(c),d(e,t,a)})),r}function h(e,t){var r,a,i,o,s,f,h,p,g,v=u(0,t);function m(e){return t.invert(e)}function y(r){var n=t.rotate(),a=t.invert(e.midPt);r("projection.rotation.lon",-n[0]),r("center.lon",a[0]),r("center.lat",a[1])}return v.on("zoomstart",(function(){n.select(this).style(l),r=n.mouse(this),a=t.rotate(),i=t.translate(),o=a,s=m(r)})).on("zoom",(function(){if(f=n.mouse(this),function(e){var r=m(e);if(!r)return!0;var n=t(r);return Math.abs(n[0]-e[0])>2||Math.abs(n[1]-e[1])>2}(r))return v.scale(t.scale()),void v.translate(t.translate());t.scale(n.event.scale),t.translate([i[0],n.event.translate[1]]),s?m(f)&&(p=m(f),h=[o[0]+(p[0]-s[0]),a[1],a[2]],t.rotate(h),o=h):s=m(r=f),g=!0,e.render();var l=t.rotate(),c=t.invert(e.midPt);e.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":t.scale()/e.fitScale,"geo.center.lon":c[0],"geo.center.lat":c[1],"geo.projection.rotation.lon":-l[0]})})).on("zoomend",(function(){n.select(this).style(c),g&&d(e,t,y)})),v}function p(e,t){var r,a={r:t.rotate(),k:t.scale()},i=u(0,t),o=function(e){var t=0,r=arguments.length,a=[];for(;++t<r;)a.push(arguments[t]);var i=n.dispatch.apply(null,a);return i.of=function(t,r){return function(a){var o;try{o=a.sourceEvent=n.event,a.target=e,n.event=a,i[a.type].apply(t,r)}finally{n.event=o}}},i}(i,"zoomstart","zoom","zoomend"),s=0,f=i.on;function h(e){s++||e({type:"zoomstart"})}function p(e){e({type:"zoom"})}function b(e){--s||e({type:"zoomend"})}function w(e){var r=t.rotate();e("projection.rotation.lon",-r[0]),e("projection.rotation.lat",-r[1])}return i.on("zoomstart",(function(){n.select(this).style(l);var e=n.mouse(this),s=t.rotate(),c=s,u=t.translate(),d=v(s);r=g(t,e),f.call(i,"zoom",(function(){var i=n.mouse(this);if(t.scale(a.k=n.event.scale),r){if(g(t,i)){t.rotate(s).translate(u);var l=g(t,i),f=y(r,l),h=k(m(d,f)),v=a.r=x(h,r,c);isFinite(v[0])&&isFinite(v[1])&&isFinite(v[2])||(v=c),t.rotate(v),c=v}}else r=g(t,e=i);p(o.of(this,arguments))})),h(o.of(this,arguments))})).on("zoomend",(function(){n.select(this).style(c),f.call(i,"zoom",null),b(o.of(this,arguments)),d(e,t,w)})).on("zoom.redraw",(function(){e.render();var r=t.rotate();e.graphDiv.emit("plotly_relayouting",{"geo.projection.scale":t.scale()/e.fitScale,"geo.projection.rotation.lon":-r[0],"geo.projection.rotation.lat":-r[1]})})),n.rebind(i,o,"on")}function g(e,t){var r=e.invert(t);return r&&isFinite(r[0])&&isFinite(r[1])&&function(e){var t=e[0]*o,r=e[1]*o,n=Math.cos(r);return[n*Math.cos(t),n*Math.sin(t),Math.sin(r)]}(r)}function v(e){var t=.5*e[0]*o,r=.5*e[1]*o,n=.5*e[2]*o,a=Math.sin(t),i=Math.cos(t),s=Math.sin(r),l=Math.cos(r),c=Math.sin(n),u=Math.cos(n);return[i*l*u+a*s*c,a*l*u-i*s*c,i*s*u+a*l*c,i*l*c-a*s*u]}function m(e,t){var r=e[0],n=e[1],a=e[2],i=e[3],o=t[0],s=t[1],l=t[2],c=t[3];return[r*o-n*s-a*l-i*c,r*s+n*o+a*c-i*l,r*l-n*c+a*o+i*s,r*c+n*l-a*s+i*o]}function y(e,t){if(e&&t){var r=function(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}(e,t),n=Math.sqrt(T(r,r)),a=.5*Math.acos(Math.max(-1,Math.min(1,T(e,t)))),i=Math.sin(a)/n;return n&&[Math.cos(a),r[2]*i,-r[1]*i,r[0]*i]}}function x(e,t,r){var n=_(t,2,e[0]);n=_(n,1,e[1]),n=_(n,0,e[2]-r[2]);var a,i,o=t[0],l=t[1],c=t[2],u=n[0],d=n[1],f=n[2],h=Math.atan2(l,o)*s,p=Math.sqrt(o*o+l*l);Math.abs(d)>p?(i=(d>0?90:-90)-h,a=0):(i=Math.asin(d/p)*s-h,a=Math.sqrt(p*p-d*d));var g=180-i-2*h,v=(Math.atan2(f,u)-Math.atan2(c,a))*s,m=(Math.atan2(f,u)-Math.atan2(c,-a))*s;return b(r[0],r[1],i,v)<=b(r[0],r[1],g,m)?[i,v,r[2]]:[g,m,r[2]]}function b(e,t,r,n){var a=w(r-e),i=w(n-t);return Math.sqrt(a*a+i*i)}function w(e){return(e%360+540)%360-180}function _(e,t,r){var n=r*o,a=e.slice(),i=0===t?1:0,s=2===t?1:2,l=Math.cos(n),c=Math.sin(n);return a[i]=e[i]*l-e[s]*c,a[s]=e[s]*l+e[i]*c,a}function k(e){return[Math.atan2(2*(e[0]*e[1]+e[2]*e[3]),1-2*(e[1]*e[1]+e[2]*e[2]))*s,Math.asin(Math.max(-1,Math.min(1,2*(e[0]*e[2]-e[3]*e[1]))))*s,Math.atan2(2*(e[0]*e[3]+e[1]*e[2]),1-2*(e[2]*e[2]+e[3]*e[3]))*s]}function T(e,t){for(var r=0,n=0,a=e.length;n<a;++n)r+=e[n]*t[n];return r}e.exports=function(e,t){var r=e.projection;return(t._isScoped?f:t._isClipped?p:h)(e,r)}},wAWO:function(e,t,r){"use strict";e.exports={percent:function(e,t){for(var r=e.length,n=100/t,a=0;a<r;a++)e[a]*=n},probability:function(e,t){for(var r=e.length,n=0;n<r;n++)e[n]/=t},density:function(e,t,r,n){var a=e.length;n=n||1;for(var i=0;i<a;i++)e[i]*=r[i]*n},"probability density":function(e,t,r,n){var a=e.length;n&&(t/=n);for(var i=0;i<a;i++)e[i]*=r[i]/t}}},wK8V:function(e,t,r){"use strict";var n=r("bljh"),a=r("u3HJ"),i=r("pcRN"),o=r("0RW4"),s=r("g9E0"),l=r("/CZE"),c=r("A3kh"),u=r("k6aH"),d=u.recordMinTextSize,f=u.clearMinTextSize,h=r("Gl7E").TEXTPAD,p=r("WeBh"),g=r("iJj1"),v=r("/CZE").isValidTextValue;function m(e,t,r){var a=r[0],o=a.trace,s=a.cx,c=a.cy;"_hasHoverLabel"in o||(o._hasHoverLabel=!1),"_hasHoverEvent"in o||(o._hasHoverEvent=!1),e.on("mouseover",(function(e){var r=t._fullLayout,u=t._fullData[o.index];if(!t._dragging&&!1!==r.hovermode){var d=u.hoverinfo;if(Array.isArray(d)&&(d=i.castHoverinfo({hoverinfo:[p.castOption(d,e.pts)],_module:o._module},r,0)),"all"===d&&(d="label+text+value+percent+name"),u.hovertemplate||"none"!==d&&"skip"!==d&&d){var f=e.rInscribed||0,h=s+e.pxmid[0]*(1-f),v=c+e.pxmid[1]*(1-f),m=r.separators,y=[];if(d&&-1!==d.indexOf("label")&&y.push(e.label),e.text=p.castOption(u.hovertext||u.text,e.pts),d&&-1!==d.indexOf("text")){var x=e.text;l.isValidTextValue(x)&&y.push(x)}e.value=e.v,e.valueLabel=p.formatPieValue(e.v,m),d&&-1!==d.indexOf("value")&&y.push(e.valueLabel),e.percent=e.v/a.vTotal,e.percentLabel=p.formatPiePercent(e.percent,m),d&&-1!==d.indexOf("percent")&&y.push(e.percentLabel);var b=u.hoverlabel,w=b.font;i.loneHover({trace:o,x0:h-f*a.r,x1:h+f*a.r,y:v,text:y.join("<br>"),name:u.hovertemplate||-1!==d.indexOf("name")?u.name:void 0,idealAlign:e.pxmid[0]<0?"left":"right",color:p.castOption(b.bgcolor,e.pts)||e.color,borderColor:p.castOption(b.bordercolor,e.pts),fontFamily:p.castOption(w.family,e.pts),fontSize:p.castOption(w.size,e.pts),fontColor:p.castOption(w.color,e.pts),nameLength:p.castOption(b.namelength,e.pts),textAlign:p.castOption(b.align,e.pts),hovertemplate:p.castOption(u.hovertemplate,e.pts),hovertemplateLabels:e,eventData:[g(e,u)]},{container:r._hoverlayer.node(),outerContainer:r._paper.node(),gd:t}),o._hasHoverLabel=!0}o._hasHoverEvent=!0,t.emit("plotly_hover",{points:[g(e,u)],event:n.event})}})),e.on("mouseout",(function(e){var r=t._fullLayout,a=t._fullData[o.index],s=n.select(this).datum();o._hasHoverEvent&&(e.originalEvent=n.event,t.emit("plotly_unhover",{points:[g(s,a)],event:n.event}),o._hasHoverEvent=!1),o._hasHoverLabel&&(i.loneUnhover(r._hoverlayer.node()),o._hasHoverLabel=!1)})),e.on("click",(function(e){var r=t._fullLayout,a=t._fullData[o.index];t._dragging||!1===r.hovermode||(t._hoverdata=[g(e,a)],i.click(t,n.event))}))}function y(e,t,r){var n=p.castOption(e.insidetextfont.color,t.pts);!n&&e._input.textfont&&(n=p.castOption(e._input.textfont.color,t.pts));var a=p.castOption(e.insidetextfont.family,t.pts)||p.castOption(e.textfont.family,t.pts)||r.family,i=p.castOption(e.insidetextfont.size,t.pts)||p.castOption(e.textfont.size,t.pts)||r.size;return{color:n||o.contrast(t.color),family:a,size:i}}function x(e,t){for(var r,n,a=0;a<e.length;a++)if((n=(r=e[a][0]).trace).title.text){var i=n.title.text;n._meta&&(i=l.templateString(i,n._meta));var o=s.tester.append("text").attr("data-notex",1).text(i).call(s.font,n.title.font).call(c.convertToTspans,t),u=s.bBox(o.node(),!0);r.titleBox={width:u.width,height:u.height},o.remove()}}function b(e,t,r){var n=r.r||t.rpx1,a=t.rInscribed;if(t.startangle===t.stopangle)return{rCenter:1-a,scale:0,rotate:0,textPosAngle:0};var i,o=t.ring,s=1===o&&Math.abs(t.startangle-t.stopangle)===2*Math.PI,l=t.halfangle,c=t.midangle,u=r.trace.insidetextorientation,d="horizontal"===u,f="tangential"===u,h="radial"===u,p="auto"===u,g=[];if(!p){var v,m=function(r,a){if(function(e,t){var r=e.startangle,n=e.stopangle;return r>t&&t>n||r<t&&t<n}(t,r)){var s=Math.abs(r-t.startangle),l=Math.abs(r-t.stopangle),c=s<l?s:l;(i="tan"===a?_(e,n,o,c,0):w(e,n,o,c,Math.PI/2)).textPosAngle=r,g.push(i)}};if(d||f){for(v=4;v>=-4;v-=2)m(Math.PI*v,"tan");for(v=4;v>=-4;v-=2)m(Math.PI*(v+1),"tan")}if(d||h){for(v=4;v>=-4;v-=2)m(Math.PI*(v+1.5),"rad");for(v=4;v>=-4;v-=2)m(Math.PI*(v+.5),"rad")}}if(s||p||d){var y=Math.sqrt(e.width*e.width+e.height*e.height);if((i={scale:a*n*2/y,rCenter:1-a,rotate:0}).textPosAngle=(t.startangle+t.stopangle)/2,i.scale>=1)return i;g.push(i)}(p||h)&&((i=w(e,n,o,l,c)).textPosAngle=(t.startangle+t.stopangle)/2,g.push(i)),(p||f)&&((i=_(e,n,o,l,c)).textPosAngle=(t.startangle+t.stopangle)/2,g.push(i));for(var x=0,b=0,k=0;k<g.length;k++){var T=g[k].scale;if(b<T&&(b=T,x=k),!p&&b>=1)break}return g[x]}function w(e,t,r,n,a){t=Math.max(0,t-2*h);var i=e.width/e.height,o=M(i,n,t,r);return{scale:2*o/e.height,rCenter:k(i,o/t),rotate:T(a)}}function _(e,t,r,n,a){t=Math.max(0,t-2*h);var i=e.height/e.width,o=M(i,n,t,r);return{scale:2*o/e.width,rCenter:k(i,o/t),rotate:T(a+Math.PI/2)}}function k(e,t){return Math.cos(t)-e*t}function T(e){return(180/Math.PI*e+720)%180-90}function M(e,t,r,n){var a=e+1/(2*Math.tan(t));return r*Math.min(1/(Math.sqrt(a*a+.5)+a),n/(Math.sqrt(e*e+n/2)+e))}function S(e,t){return e.v!==t.vTotal||t.trace.hole?Math.min(1/(1+1/Math.sin(e.halfangle)),e.ring/2):1}function A(e,t){var r=t.pxmid[0],n=t.pxmid[1],a=e.width/2,i=e.height/2;return r<0&&(a*=-1),n<0&&(i*=-1),{scale:1,rCenter:1,rotate:0,x:a+Math.abs(i)*(a>0?1:-1)/2,y:i/(1+r*r/(n*n)),outside:!0}}function C(e,t){var r,n,a,i=e.trace,o={x:e.cx,y:e.cy},s={tx:0,ty:0};s.ty+=i.title.font.size,a=O(i),-1!==i.title.position.indexOf("top")?(o.y-=(1+a)*e.r,s.ty-=e.titleBox.height):-1!==i.title.position.indexOf("bottom")&&(o.y+=(1+a)*e.r);var l,c,u=(l=e.r,c=e.trace.aspectratio,l/(void 0===c?1:c)),d=t.w*(i.domain.x[1]-i.domain.x[0])/2;return-1!==i.title.position.indexOf("left")?(d+=u,o.x-=(1+a)*u,s.tx+=e.titleBox.width/2):-1!==i.title.position.indexOf("center")?d*=2:-1!==i.title.position.indexOf("right")&&(d+=u,o.x+=(1+a)*u,s.tx-=e.titleBox.width/2),r=d/e.titleBox.width,n=P(e,t)/e.titleBox.height,{x:o.x,y:o.y,scale:Math.min(r,n),tx:s.tx,ty:s.ty}}function P(e,t){var r=e.trace,n=t.h*(r.domain.y[1]-r.domain.y[0]);return Math.min(e.titleBox.height,n/2)}function O(e){var t,r=e.pull;if(!r)return 0;if(Array.isArray(r))for(r=0,t=0;t<e.pull.length;t++)e.pull[t]>r&&(r=e.pull[t]);return r}function I(e,t){for(var r=[],n=0;n<e.length;n++){var a=e[n][0],i=a.trace,o=i.domain,s=t.w*(o.x[1]-o.x[0]),l=t.h*(o.y[1]-o.y[0]);i.title.text&&"middle center"!==i.title.position&&(l-=P(a,t));var c=s/2,u=l/2;"funnelarea"!==i.type||i.scalegroup||(u/=i.aspectratio),a.r=Math.min(c,u)/(1+O(i)),a.cx=t.l+t.w*(i.domain.x[1]+i.domain.x[0])/2,a.cy=t.t+t.h*(1-i.domain.y[0])-l/2,i.title.text&&-1!==i.title.position.indexOf("bottom")&&(a.cy-=P(a,t)),i.scalegroup&&-1===r.indexOf(i.scalegroup)&&r.push(i.scalegroup)}!function(e,t){for(var r,n,a,i=0;i<t.length;i++){var o=1/0,s=t[i];for(n=0;n<e.length;n++)if(r=e[n][0],(a=r.trace).scalegroup===s){var l;if("pie"===a.type)l=r.r*r.r;else if("funnelarea"===a.type){var c,u;a.aspectratio>1?(c=r.r,u=c/a.aspectratio):(u=r.r,c=u*a.aspectratio),c*=(1+a.baseratio)/2,l=c*u}o=Math.min(o,l/r.vTotal)}for(n=0;n<e.length;n++)if(r=e[n][0],(a=r.trace).scalegroup===s){var d=o*r.vTotal;"funnelarea"===a.type&&(d/=(1+a.baseratio)/2,d/=a.aspectratio),r.r=Math.sqrt(d)}}}(e,r)}function z(e,t){return[e*Math.sin(t),-e*Math.cos(t)]}function L(e,t,r){var n=e._fullLayout,a=r.trace,i=a.texttemplate,o=a.textinfo;if(!i&&o&&"none"!==o){var s,c=o.split("+"),u=function(e){return-1!==c.indexOf(e)},d=u("label"),f=u("text"),h=u("value"),g=u("percent"),m=n.separators;if(s=d?[t.label]:[],f){var y=p.getFirstFilled(a.text,t.pts);v(y)&&s.push(y)}h&&s.push(p.formatPieValue(t.v,m)),g&&s.push(p.formatPiePercent(t.v/r.vTotal,m)),t.text=s.join("<br>")}if(i){var x=l.castOption(a,t.i,"texttemplate");if(x){var b=function(e){return{label:e.label,value:e.v,valueLabel:p.formatPieValue(e.v,n.separators),percent:e.v/r.vTotal,percentLabel:p.formatPiePercent(e.v/r.vTotal,n.separators),color:e.color,text:e.text,customdata:l.castOption(a,e.i,"customdata")}}(t),w=p.getFirstFilled(a.text,t.pts);(v(w)||""===w)&&(b.text=w),t.text=l.texttemplateString(x,b,e._fullLayout._d3locale,b,a._meta||{})}else t.text=""}}function E(e,t){var r=e.rotate*Math.PI/180,n=Math.cos(r),a=Math.sin(r),i=(t.left+t.right)/2,o=(t.top+t.bottom)/2;e.textX=i*n-o*a,e.textY=i*a+o*n,e.noCenter=!0}e.exports={plot:function(e,t){var r=e._fullLayout,i=r._size;f("pie",r),x(t,e),I(t,i);var u=l.makeTraceGroups(r._pielayer,t,"trace").each((function(t){var u=n.select(this),f=t[0],h=f.trace;!function(e){var t,r,n,a=e[0],i=a.r,o=a.trace,s=o.rotation*Math.PI/180,l=2*Math.PI/a.vTotal,c="px0",u="px1";if("counterclockwise"===o.direction){for(t=0;t<e.length&&e[t].hidden;t++);if(t===e.length)return;s+=l*e[t].v,l*=-1,c="px1",u="px0"}for(n=z(i,s),t=0;t<e.length;t++)(r=e[t]).hidden||(r[c]=n,r.startangle=s,s+=l*r.v/2,r.pxmid=z(i,s),r.midangle=s,s+=l*r.v/2,n=z(i,s),r.stopangle=s,r[u]=n,r.largeArc=r.v>a.vTotal/2?1:0,r.halfangle=Math.PI*Math.min(r.v/a.vTotal,.5),r.ring=1-o.hole,r.rInscribed=S(r,a))}(t),u.attr("stroke-linejoin","round"),u.each((function(){var g=n.select(this).selectAll("g.slice").data(t);g.enter().append("g").classed("slice",!0),g.exit().remove();var v=[[[],[]],[[],[]]],x=!1;g.each((function(a,i){if(a.hidden)n.select(this).selectAll("path,g").remove();else{a.pointNumber=a.i,a.curveNumber=h.index,v[a.pxmid[1]<0?0:1][a.pxmid[0]<0?0:1].push(a);var o=f.cx,u=f.cy,g=n.select(this),w=g.selectAll("path.surface").data([a]);if(w.enter().append("path").classed("surface",!0).style({"pointer-events":"all"}),g.call(m,e,t),h.pull){var _=+p.castOption(h.pull,a.pts)||0;_>0&&(o+=_*a.pxmid[0],u+=_*a.pxmid[1])}a.cxFinal=o,a.cyFinal=u;var k=h.hole;if(a.v===f.vTotal){var T="M"+(o+a.px0[0])+","+(u+a.px0[1])+O(a.px0,a.pxmid,!0,1)+O(a.pxmid,a.px0,!0,1)+"Z";k?w.attr("d","M"+(o+k*a.px0[0])+","+(u+k*a.px0[1])+O(a.px0,a.pxmid,!1,k)+O(a.pxmid,a.px0,!1,k)+"Z"+T):w.attr("d",T)}else{var M=O(a.px0,a.px1,!0,1);if(k){var S=1-k;w.attr("d","M"+(o+k*a.px1[0])+","+(u+k*a.px1[1])+O(a.px1,a.px0,!1,k)+"l"+S*a.px0[0]+","+S*a.px0[1]+M+"Z")}else w.attr("d","M"+o+","+u+"l"+a.px0[0]+","+a.px0[1]+M+"Z")}L(e,a,f);var C=p.castOption(h.textposition,a.pts),P=g.selectAll("g.slicetext").data(a.text&&"none"!==C?[0]:[]);P.enter().append("g").classed("slicetext",!0),P.exit().remove(),P.each((function(){var g=l.ensureSingle(n.select(this),"text","",(function(e){e.attr("data-notex",1)})),v=l.ensureUniformFontSize(e,"outside"===C?function(e,t,r){var n=p.castOption(e.outsidetextfont.color,t.pts)||p.castOption(e.textfont.color,t.pts)||r.color,a=p.castOption(e.outsidetextfont.family,t.pts)||p.castOption(e.textfont.family,t.pts)||r.family,i=p.castOption(e.outsidetextfont.size,t.pts)||p.castOption(e.textfont.size,t.pts)||r.size;return{color:n,family:a,size:i}}(h,a,r.font):y(h,a,r.font));g.text(a.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(s.font,v).call(c.convertToTspans,e);var m,w=s.bBox(g.node());if("outside"===C)m=A(w,a);else if(m=b(w,a,f),"auto"===C&&m.scale<1){var _=l.ensureUniformFontSize(e,h.outsidetextfont);g.call(s.font,_),m=A(w=s.bBox(g.node()),a)}var k=m.textPosAngle,T=void 0===k?a.pxmid:z(f.r,k);if(m.targetX=o+T[0]*m.rCenter+(m.x||0),m.targetY=u+T[1]*m.rCenter+(m.y||0),E(m,w),m.outside){var M=m.targetY;a.yLabelMin=M-w.height/2,a.yLabelMid=M,a.yLabelMax=M+w.height/2,a.labelExtraX=0,a.labelExtraY=0,x=!0}m.fontSize=v.size,d(h.type,m,r),t[i].transform=m,g.attr("transform",l.getTextTransform(m))}))}function O(e,t,r,n){var i=n*(t[0]-e[0]),o=n*(t[1]-e[1]);return"a"+n*f.r+","+n*f.r+" 0 "+a.largeArc+(r?" 1 ":" 0 ")+i+","+o}}));var w=n.select(this).selectAll("g.titletext").data(h.title.text?[0]:[]);if(w.enter().append("g").classed("titletext",!0),w.exit().remove(),w.each((function(){var t,r=l.ensureSingle(n.select(this),"text","",(function(e){e.attr("data-notex",1)})),a=h.title.text;h._meta&&(a=l.templateString(a,h._meta)),r.text(a).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(s.font,h.title.font).call(c.convertToTspans,e),t="middle center"===h.title.position?function(e){var t=Math.sqrt(e.titleBox.width*e.titleBox.width+e.titleBox.height*e.titleBox.height);return{x:e.cx,y:e.cy,scale:e.trace.hole*e.r*2/t,tx:0,ty:-e.titleBox.height/2+e.trace.title.font.size}}(f):C(f,i),r.attr("transform","translate("+t.x+","+t.y+")"+(t.scale<1?"scale("+t.scale+")":"")+"translate("+t.tx+","+t.ty+")")})),x&&function(e,t){var r,n,a,i,o,s,l,c,u,d,f,h,g;function v(e,t){return e.pxmid[1]-t.pxmid[1]}function m(e,t){return t.pxmid[1]-e.pxmid[1]}function y(e,r){r||(r={});var a,c,u,f,h=r.labelExtraY+(n?r.yLabelMax:r.yLabelMin),g=n?e.yLabelMin:e.yLabelMax,v=n?e.yLabelMax:e.yLabelMin,m=e.cyFinal+o(e.px0[1],e.px1[1]),y=h-g;if(y*l>0&&(e.labelExtraY=y),Array.isArray(t.pull))for(c=0;c<d.length;c++)(u=d[c])===e||(p.castOption(t.pull,e.pts)||0)>=(p.castOption(t.pull,u.pts)||0)||((e.pxmid[1]-u.pxmid[1])*l>0?(y=u.cyFinal+o(u.px0[1],u.px1[1])-g-e.labelExtraY)*l>0&&(e.labelExtraY+=y):(v+e.labelExtraY-m)*l>0&&(a=3*s*Math.abs(c-d.indexOf(e)),(f=u.cxFinal+i(u.px0[0],u.px1[0])+a-(e.cxFinal+e.pxmid[0])-e.labelExtraX)*s>0&&(e.labelExtraX+=f)))}for(n=0;n<2;n++)for(a=n?v:m,o=n?Math.max:Math.min,l=n?1:-1,r=0;r<2;r++){for(i=r?Math.max:Math.min,s=r?1:-1,(c=e[n][r]).sort(a),u=e[1-n][r],d=u.concat(c),h=[],f=0;f<c.length;f++)void 0!==c[f].yLabelMid&&h.push(c[f]);for(g=!1,f=0;n&&f<u.length;f++)if(void 0!==u[f].yLabelMid){g=u[f];break}for(f=0;f<h.length;f++){var x=f&&h[f-1];g&&!f&&(x=g),y(h[f],x)}}}(v,h),function(e,t){e.each((function(e){var r=n.select(this);if(e.labelExtraX||e.labelExtraY){var a=r.select("g.slicetext text");e.transform.targetX+=e.labelExtraX,e.transform.targetY+=e.labelExtraY,a.attr("transform",l.getTextTransform(e.transform));var i=e.cxFinal+e.pxmid[0],s="M"+i+","+(e.cyFinal+e.pxmid[1]),c=(e.yLabelMax-e.yLabelMin)*(e.pxmid[0]<0?-1:1)/4;if(e.labelExtraX){var u=e.labelExtraX*e.pxmid[1]/e.pxmid[0],d=e.yLabelMid+e.labelExtraY-(e.cyFinal+e.pxmid[1]);Math.abs(u)>Math.abs(d)?s+="l"+d*e.pxmid[0]/e.pxmid[1]+","+d+"H"+(i+e.labelExtraX+c):s+="l"+e.labelExtraX+","+u+"v"+(d-u)+"h"+c}else s+="V"+(e.yLabelMid+e.labelExtraY)+"h"+c;l.ensureSingle(r,"path","textline").call(o.stroke,t.outsidetextfont.color).attr({"stroke-width":Math.min(2,t.outsidetextfont.size/8),d:s,fill:"none"})}else r.select("path.textline").remove()}))}(g,h),x&&h.automargin){var _=s.bBox(u.node()),k=h.domain,T=i.w*(k.x[1]-k.x[0]),M=i.h*(k.y[1]-k.y[0]),S=(.5*T-f.r)/i.w,P=(.5*M-f.r)/i.h;a.autoMargin(e,"pie."+h.uid+".automargin",{xl:k.x[0]-S,xr:k.x[1]+S,yb:k.y[0]-P,yt:k.y[1]+P,l:Math.max(f.cx-f.r-_.left,0),r:Math.max(_.right-(f.cx+f.r),0),b:Math.max(_.bottom-(f.cy+f.r),0),t:Math.max(f.cy-f.r-_.top,0),pad:5})}}))}));setTimeout((function(){u.selectAll("tspan").each((function(){var e=n.select(this);e.attr("dy")&&e.attr("dy",e.attr("dy"))}))}),0)},formatSliceLabel:L,transformInsideText:b,determineInsideTextFont:y,positionTitleOutside:C,prerenderTitles:x,layoutAreas:I,attachFxHandlers:m,computeTransform:E}},wLBI:function(e,t,r){(t=r("JPst")(!1)).push([e.i,".spinner[data-v-1d374903]{display:flex;justify-content:center;align-items:center;position:relative}.spinner *[data-v-1d374903]{line-height:0;box-sizing:border-box}.spinner-inner[data-v-1d374903]{flex-shrink:0}.spinner-inner .binding[data-v-1d374903]{content:'';width:27px;height:4px;border:2px solid #41b883;margin:0 auto}.spinner-inner .pad[data-v-1d374903]{width:27px;height:27px;border:2px solid #41b883;border-top:0;padding:4px;margin:0 auto}.spinner-inner .line[data-v-1d374903]{width:15px;margin-top:4px;border-top:2px solid #41b883;opacity:0;animation:mikepad-writeline-data-v-1d374903 3s infinite ease-in}.spinner-inner .line[data-v-1d374903]:first-child{margin-top:0}.spinner-inner .line.line1[data-v-1d374903]{animation-delay:0s}.spinner-inner .line.line2[data-v-1d374903]{animation-delay:0.5s}.spinner-inner .line.line3[data-v-1d374903]{animation-delay:1s}.spinner-inner .text[data-v-1d374903]{text-align:center;margin-top:10px;font-size:14px;color:#41b883}@keyframes mikepad-writeline-data-v-1d374903{0%{width:0px;opacity:0}33%{width:15px;opacity:1}70%{opacity:1}100%{opacity:0}}\n",""]),e.exports=t},wU1k:function(e,t){e.exports={create:function(){var e={root:{root:!0,next:null},exists:function(t){return null!==t&&t!==e.root},isEmpty:function(){return null===e.root.next},getHead:function(){return e.root.next},insertBefore:function(t,r){for(var n=e.root,a=e.root.next;null!==a;){if(r(a))return t.prev=a.prev,t.next=a,a.prev.next=t,void(a.prev=t);n=a,a=a.next}n.next=t,t.prev=n,t.next=null},findTransition:function(t){for(var r=e.root,n=e.root.next;null!==n&&!t(n);)r=n,n=n.next;return{before:r===e.root?null:r,after:n,insert:function(e){return e.prev=r,e.next=n,r.next=e,null!==n&&(n.prev=e),e}}}};return e},node:function(e){return e.prev=null,e.next=null,e.remove=function(){e.prev.next=e.next,e.next&&(e.next.prev=e.prev),e.prev=null,e.next=null},e}}},wX2h:function(e,t,r){"use strict";e.exports=r("xOBz")},wlgE:function(e,t,r){"use strict";var n=r("SFLx"),a=r("IVx0");e.exports={moduleType:"component",name:"colorscale",attributes:r("9Okp"),layoutAttributes:r("DdeV"),supplyLayoutDefaults:r("c5s0"),handleDefaults:r("QYPY"),crossTraceDefaults:r("Hbft"),calc:r("OqjQ"),scales:n.scales,defaultScale:n.defaultScale,getScale:n.get,isValidScale:n.isValid,hasColorscale:a.hasColorscale,extractOpts:a.extractOpts,extractScale:a.extractScale,flipScale:a.flipScale,makeColorScaleFunc:a.makeColorScaleFunc,makeColorScaleFuncFromTrace:a.makeColorScaleFuncFromTrace}},wpK7:function(e,t,r){"use strict";var n=r("i/29");r.n(n).a},x5FY:function(e,t,r){"use strict";var n=r("bljh"),a=r("GbLo"),i=r("/CZE"),o=r("A3kh"),s=r("0RW4"),l=r("g9E0"),c=r("Nx4I"),u=r("BkK/").tickText,d=r("k6aH"),f=d.recordMinTextSize,h=d.clearMinTextSize,p=r("LfN2"),g=r("aDMI"),v=r("Gl7E"),m=r("+1rr"),y=m.text,x=m.textposition,b=r("xMdC").appendArrayPointValue,w=v.TEXTPAD;function _(e){return e.id}function k(e){if(e.ids)return _}function T(e,t){return e<t?1:-1}function M(e,t,r,n){var a;return!t.uniformtext.mode&&S(r)?(n&&(a=n()),e.transition().duration(r.duration).ease(r.easing).each("end",(function(){a&&a()})).each("interrupt",(function(){a&&a()}))):e}function S(e){return e&&e.duration>0}function A(e){return"auto"===e?0:e}function C(e,t){var r=Math.PI/180*t,n=Math.abs(Math.sin(r)),a=Math.abs(Math.cos(r));return{x:e.width*a+e.height*n,y:e.width*n+e.height*a}}function P(e,t,r,n,a,i){var o=!!i.isHorizontal,s=!!i.constrained,l=i.angle||0,c=i.anchor||"end",u="end"===c,d="start"===c,f=((i.leftToRight||0)+1)/2,h=1-f,p=a.width,g=a.height,v=Math.abs(t-e),m=Math.abs(n-r),y=v>2*w&&m>2*w?w:0;v-=2*y,m-=2*y;var x=A(l);"auto"!==l||p<=v&&g<=m||!(p>v||g>m)||(p>m||g>v)&&p<g==v<m||(x+=90);var b=C(a,x),_=1;s&&(_=Math.min(1,v/b.x,m/b.y));var k=a.left*h+a.right*f,M=(a.top+a.bottom)/2,S=(e+w)*h+(t-w)*f,P=(r+n)/2,O=0,I=0;if(d||u){var z=(o?b.x:b.y)/2,L=o?T(e,t):T(r,n);o?d?(S=e+L*y,O=-L*z):(S=t-L*y,O=L*z):d?(P=r+L*y,I=-L*z):(P=n-L*y,I=L*z)}return{textX:k,textY:M,targetX:S,targetY:P,anchorX:O,anchorY:I,scale:_,rotate:x}}e.exports={plot:function(e,t,r,d,v,m){var _=t.xaxis,O=t.yaxis,I=e._fullLayout;v||(v={mode:I.barmode,norm:I.barmode,gap:I.bargap,groupgap:I.bargroupgap},h("bar",I));var z=i.makeTraceGroups(d,r,"trace bars").each((function(r){var c=n.select(this),d=r[0].trace,h="waterfall"===d.type,z="funnel"===d.type,L="bar"===d.type||z,E=0;h&&d.connector.visible&&"between"===d.connector.mode&&(E=d.connector.line.width/2);var j="h"===d.orientation,D=S(v),R=i.ensureSingle(c,"g","points"),N=k(d),F=R.selectAll("g.point").data(i.identity,N);F.enter().append("g").classed("point",!0),F.exit().remove(),F.each((function(c,h){var k,S,z=n.select(this),R=function(e,t,r,n){var a=[],i=[],o=n?t:r,s=n?r:t;return a[0]=o.c2p(e.s0,!0),i[0]=s.c2p(e.p0,!0),a[1]=o.c2p(e.s1,!0),i[1]=s.c2p(e.p1,!0),n?[a,i]:[i,a]}(c,_,O,j),N=R[0][0],F=R[0][1],B=R[1][0],H=R[1][1],V=0==(j?F-N:H-B);if(V&&L&&g.getLineWidth(d,c)&&(V=!1),V||(V=!(a(N)&&a(F)&&a(B)&&a(H))),c.isBlank=V,V&&(j?F=N:H=B),E&&!V&&(j?(N-=T(N,F)*E,F+=T(N,F)*E):(B-=T(B,H)*E,H+=T(B,H)*E)),"waterfall"===d.type){if(!V){var G=d[c.dir].marker;k=G.line.width,S=G.color}}else k=g.getLineWidth(d,c),S=c.mc||d.marker.color;function Z(e){var t=n.round(k/2%1,2);return 0===v.gap&&0===v.groupgap?n.round(Math.round(e)-t,2):e}if(!e._context.staticPlot){var q=s.opacity(S)<1||k>.01?Z:function(e,t,r){return r&&e===t?e:Math.abs(e-t)>=2?Z(e):e>t?Math.ceil(e):Math.floor(e)};N=q(N,F,j),F=q(F,N,j),B=q(B,H,!j),H=q(H,B,!j)}var U=M(i.ensureSingle(z,"path"),I,v,m);if(U.style("vector-effect","non-scaling-stroke").attr("d",isNaN((F-N)*(H-B))?"M0,0Z":"M"+N+","+B+"V"+H+"H"+F+"V"+B+"Z").call(l.setClipUrl,t.layerClipId,e),!I.uniformtext.mode&&D){var W=l.makePointStyleFns(d);l.singlePointStyle(c,U,d,W,e)}!function(e,t,r,n,a,s,c,d,h,v,m){var _,k=t.xaxis,S=t.yaxis,O=e._fullLayout;function I(t,r,n){return i.ensureSingle(t,"text").text(r).attr({class:"bartext bartext-"+_,"text-anchor":"middle","data-notex":1}).call(l.font,n).call(o.convertToTspans,e)}var z=n[0].trace,L="h"===z.orientation,E=function(e,t,r,n,a){var o,s=t[0].trace;o=s.texttemplate?function(e,t,r,n,a){var o=t[0].trace,s=i.castOption(o,r,"texttemplate");if(!s)return"";var l,c,d,f,h="waterfall"===o.type,p="funnel"===o.type;"h"===o.orientation?(l="y",c=a,d="x",f=n):(l="x",c=n,d="y",f=a);function g(e){return u(f,+e,!0).text}var v=t[r],m={};m.label=v.p,m.labelLabel=m[l+"Label"]=(y=v.p,u(c,y,!0).text);var y;var x=i.castOption(o,v.i,"text");(0===x||x)&&(m.text=x);m.value=v.s,m.valueLabel=m[d+"Label"]=g(v.s);var w={};b(w,o,v.i),h&&(m.delta=+v.rawS||v.s,m.deltaLabel=g(m.delta),m.final=v.v,m.finalLabel=g(m.final),m.initial=m.final-m.delta,m.initialLabel=g(m.initial));p&&(m.value=v.s,m.valueLabel=g(m.value),m.percentInitial=v.begR,m.percentInitialLabel=i.formatPercent(v.begR),m.percentPrevious=v.difR,m.percentPreviousLabel=i.formatPercent(v.difR),m.percentTotal=v.sumR,m.percenTotalLabel=i.formatPercent(v.sumR));var _=i.castOption(o,v.i,"customdata");_&&(m.customdata=_);return i.texttemplateString(s,m,e._d3locale,w,m,o._meta||{})}(e,t,r,n,a):s.textinfo?function(e,t,r,n){var a=e[0].trace,o="h"===a.orientation,s="waterfall"===a.type,l="funnel"===a.type;function c(e){return u(o?r:n,+e,!0).text}var d,f=a.textinfo,h=e[t],p=f.split("+"),g=[],v=function(e){return-1!==p.indexOf(e)};v("label")&&g.push((m=e[t].p,u(o?n:r,m,!0).text));var m;v("text")&&(0===(d=i.castOption(a,h.i,"text"))||d)&&g.push(d);if(s){var y=+h.rawS||h.s,x=h.v,b=x-y;v("initial")&&g.push(c(b)),v("delta")&&g.push(c(y)),v("final")&&g.push(c(x))}if(l){v("value")&&g.push(c(h.s));var w=0;v("percent initial")&&w++,v("percent previous")&&w++,v("percent total")&&w++;var _=w>1;v("percent initial")&&(d=i.formatPercent(h.begR),_&&(d+=" of initial"),g.push(d)),v("percent previous")&&(d=i.formatPercent(h.difR),_&&(d+=" of previous"),g.push(d)),v("percent total")&&(d=i.formatPercent(h.sumR),_&&(d+=" of total"),g.push(d))}return g.join("<br>")}(t,r,n,a):g.getValue(s.text,r);return g.coerceString(y,o)}(O,n,a,k,S);_=function(e,t){var r=g.getValue(e.textposition,t);return g.coerceEnumerated(x,r)}(z,a);var j="stack"===v.mode||"relative"===v.mode,D=n[a],R=!j||D._outmost;if(!E||"none"===_||(D.isBlank||s===c||d===h)&&("auto"===_||"inside"===_))return void r.select("text").remove();var N=O.font,F=p.getBarColor(n[a],z),B=p.getInsideTextFont(z,a,N,F),H=p.getOutsideTextFont(z,a,N),V=r.datum();L?"log"===k.type&&V.s0<=0&&(s=k.range[0]<k.range[1]?0:k._length):"log"===S.type&&V.s0<=0&&(d=S.range[0]<S.range[1]?S._length:0);var G,Z,q,U,W,Y=Math.abs(c-s)-2*w,X=Math.abs(h-d)-2*w;"outside"===_&&(R||D.hasB||(_="inside"));if("auto"===_)if(R){_="inside",W=i.ensureUniformFontSize(e,B),G=I(r,E,W),Z=l.bBox(G.node()),q=Z.width,U=Z.height;var $=q<=Y&&U<=X,J=q<=X&&U<=Y,K=L?Y>=q*(X/U):X>=U*(Y/q);q>0&&U>0&&($||J||K)?_="inside":(_="outside",G.remove(),G=null)}else _="inside";if(!G){W=i.ensureUniformFontSize(e,"outside"===_?H:B);var Q=(G=I(r,E,W)).attr("transform");if(G.attr("transform",""),Z=l.bBox(G.node()),q=Z.width,U=Z.height,G.attr("transform",Q),q<=0||U<=0)return void G.remove()}var ee,te,re=z.textangle;"outside"===_?(te="both"===z.constraintext||"outside"===z.constraintext,ee=function(e,t,r,n,a,i){var o,s=!!i.isHorizontal,l=!!i.constrained,c=i.angle||0,u=a.width,d=a.height,f=Math.abs(t-e),h=Math.abs(n-r);o=s?h>2*w?w:0:f>2*w?w:0;var p=1;l&&(p=s?Math.min(1,h/d):Math.min(1,f/u));var g=A(c),v=C(a,g),m=(s?v.x:v.y)/2,y=(a.left+a.right)/2,x=(a.top+a.bottom)/2,b=(e+t)/2,_=(r+n)/2,k=0,M=0,S=s?T(t,e):T(r,n);s?(b=t-S*o,k=S*m):(_=n+S*o,M=-S*m);return{textX:y,textY:x,targetX:b,targetY:_,anchorX:k,anchorY:M,scale:p,rotate:g}}(s,c,d,h,Z,{isHorizontal:L,constrained:te,angle:re})):(te="both"===z.constraintext||"inside"===z.constraintext,ee=P(s,c,d,h,Z,{isHorizontal:L,constrained:te,angle:re,anchor:z.insidetextanchor}));ee.fontSize=W.size,f(z.type,ee,O),D.transform=ee,M(G,O,v,m).attr("transform",i.getTextTransform(ee))}(e,t,z,r,h,N,F,B,H,v,m),t.layerClipId&&l.hideOutsideRangePoint(c,z.select("text"),_,O,d.xcalendar,d.ycalendar)}));var B=!1===d.cliponaxis;l.setClipUrl(c,B?null:t.layerClipId,e)}));c.getComponentMethod("errorbars","plot")(e,z,t,v)},toMoveInsideBar:P}},x8K2:function(e,t,r){"use strict";e.exports={moduleType:"trace",name:"treemap",basePlotModule:r("tt4z"),categories:[],animatable:!0,attributes:r("l9FN"),layoutAttributes:r("Po4l"),supplyDefaults:r("Kicf"),supplyLayoutDefaults:r("SqgR"),calc:r("/Hui").calc,crossTraceCalc:r("/Hui").crossTraceCalc,plot:r("V9qq"),style:r("2oy/").style,colorbar:r("88/Y"),meta:{description:["Visualize hierarchal data from leaves (and/or outer branches) towards root","with rectangles. The treemap sectors are determined by the entries in","*labels* or *ids* and in *parents*."].join(" ")}}},"xAC+":function(e,t,r){"use strict";var n=e.exports={},a=r("CASU").locationmodeToLayer,i=r("0hfp").feature;n.getTopojsonName=function(e){return[e.scope.replace(/ /g,"-"),"_",e.resolution.toString(),"m"].join("")},n.getTopojsonPath=function(e,t){return e+t+".json"},n.getTopojsonFeatures=function(e,t){var r=a[e.locationmode],n=t.objects[r];return i(t,n).features}},xDfF:function(e,t,r){"use strict";var n=r("bljh");e.exports=function(e){n.select(e).selectAll(".hm image").style("opacity",(function(e){return e.trace.opacity}))}},xJcw:function(e,t,r){"use strict";var n=r("GbLo"),a=r("WSjQ"),i=r("Nx4I"),o=r("/CZE"),s=r("u3HJ"),l=r("PBw4"),c=r("0RW4"),u=l.cleanId,d=l.getFromTrace,f=i.traceIs;function h(e,t){var r=e[t],n=t.charAt(0);r&&"paper"!==r&&(e[t]=u(r,n))}function p(e){function t(t,r){var n=e[t],a=e.title&&e.title[r];n&&!a&&(e.title||(e.title={}),e.title[r]=e[t],delete e[t])}e&&("string"!=typeof e.title&&"number"!=typeof e.title||(e.title={text:e.title}),t("titlefont","font"),t("titleposition","position"),t("titleside","side"),t("titleoffset","offset"))}function g(e){if(!o.isPlainObject(e))return!1;var t=e.name;return delete e.name,delete e.showlegend,("string"==typeof t||"number"==typeof t)&&String(t)}function v(e,t,r,n){if(r&&!n)return e;if(n&&!r)return t;if(!e.trim())return t;if(!t.trim())return e;var a,i=Math.min(e.length,t.length);for(a=0;a<i&&e.charAt(a)===t.charAt(a);a++);return e.substr(0,a).trim()}function m(e){var t="middle",r="center";return"string"==typeof e&&(-1!==e.indexOf("top")?t="top":-1!==e.indexOf("bottom")&&(t="bottom"),-1!==e.indexOf("left")?r="left":-1!==e.indexOf("right")&&(r="right")),t+" "+r}function y(e,t){return t in e&&"object"==typeof e[t]&&0===Object.keys(e[t]).length}t.clearPromiseQueue=function(e){Array.isArray(e._promises)&&e._promises.length>0&&o.log("Clearing previous rejected promises from queue."),e._promises=[]},t.cleanLayout=function(e){var r,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),e.scene1&&(e.scene||(e.scene=e.scene1),delete e.scene1);var i=(s.subplotsRegistry.cartesian||{}).attrRegex,l=(s.subplotsRegistry.polar||{}).attrRegex,d=(s.subplotsRegistry.ternary||{}).attrRegex,f=(s.subplotsRegistry.gl3d||{}).attrRegex,g=Object.keys(e);for(r=0;r<g.length;r++){var v=g[r];if(i&&i.test(v)){var m=e[v];m.anchor&&"free"!==m.anchor&&(m.anchor=u(m.anchor)),m.overlaying&&(m.overlaying=u(m.overlaying)),m.type||(m.isdate?m.type="date":m.islog?m.type="log":!1===m.isdate&&!1===m.islog&&(m.type="linear")),"withzero"!==m.autorange&&"tozero"!==m.autorange||(m.autorange=!0,m.rangemode="tozero"),delete m.islog,delete m.isdate,delete m.categories,y(m,"domain")&&delete m.domain,void 0!==m.autotick&&(void 0===m.tickmode&&(m.tickmode=m.autotick?"auto":"linear"),delete m.autotick),p(m)}else if(l&&l.test(v)){p(e[v].radialaxis)}else if(d&&d.test(v)){var x=e[v];p(x.aaxis),p(x.baxis),p(x.caxis)}else if(f&&f.test(v)){var b=e[v],w=b.cameraposition;if(Array.isArray(w)&&4===w[0].length){var _=w[0],k=w[1],T=w[2],M=a([],_),S=[];for(n=0;n<3;++n)S[n]=k[n]+T*M[2+4*n];b.camera={eye:{x:S[0],y:S[1],z:S[2]},center:{x:k[0],y:k[1],z:k[2]},up:{x:0,y:0,z:1}},delete b.cameraposition}p(b.xaxis),p(b.yaxis),p(b.zaxis)}}var A=Array.isArray(e.annotations)?e.annotations.length:0;for(r=0;r<A;r++){var C=e.annotations[r];o.isPlainObject(C)&&(C.ref&&("paper"===C.ref?(C.xref="paper",C.yref="paper"):"data"===C.ref&&(C.xref="x",C.yref="y"),delete C.ref),h(C,"xref"),h(C,"yref"))}var P=Array.isArray(e.shapes)?e.shapes.length:0;for(r=0;r<P;r++){var O=e.shapes[r];o.isPlainObject(O)&&(h(O,"xref"),h(O,"yref"))}var I=e.legend;return I&&(I.x>3?(I.x=1.02,I.xanchor="left"):I.x<-2&&(I.x=-.02,I.xanchor="right"),I.y>3?(I.y=1.02,I.yanchor="bottom"):I.y<-2&&(I.y=-.02,I.yanchor="top")),p(e),"rotate"===e.dragmode&&(e.dragmode="orbit"),c.clean(e),e.template&&e.template.layout&&t.cleanLayout(e.template.layout),e},t.cleanData=function(e){for(var r=0;r<e.length;r++){var n,a=e[r];if("histogramy"===a.type&&"xbins"in a&&!("ybins"in a)&&(a.ybins=a.xbins,delete a.xbins),a.error_y&&"opacity"in a.error_y){var l=c.defaults,d=a.error_y.color||(f(a,"bar")?c.defaultLine:l[r%l.length]);a.error_y.color=c.addOpacity(c.rgb(d),c.opacity(d)*a.error_y.opacity),delete a.error_y.opacity}if("bardir"in a&&("h"!==a.bardir||!f(a,"bar")&&"histogram"!==a.type.substr(0,9)||(a.orientation="h",t.swapXYData(a)),delete a.bardir),"histogramy"===a.type&&t.swapXYData(a),"histogramx"!==a.type&&"histogramy"!==a.type||(a.type="histogram"),"scl"in a&&!("colorscale"in a)&&(a.colorscale=a.scl,delete a.scl),"reversescl"in a&&!("reversescale"in a)&&(a.reversescale=a.reversescl,delete a.reversescl),a.xaxis&&(a.xaxis=u(a.xaxis,"x")),a.yaxis&&(a.yaxis=u(a.yaxis,"y")),f(a,"gl3d")&&a.scene&&(a.scene=s.subplotsRegistry.gl3d.cleanId(a.scene)),!f(a,"pie-like")&&!f(a,"bar-like"))if(Array.isArray(a.textposition))for(n=0;n<a.textposition.length;n++)a.textposition[n]=m(a.textposition[n]);else a.textposition&&(a.textposition=m(a.textposition));var h=i.getModule(a);if(h&&h.colorbar){var x=h.colorbar.container,b=x?a[x]:a;b&&b.colorscale&&("YIGnBu"===b.colorscale&&(b.colorscale="YlGnBu"),"YIOrRd"===b.colorscale&&(b.colorscale="YlOrRd"))}if("surface"===a.type&&o.isPlainObject(a.contours)){var w=["x","y","z"];for(n=0;n<w.length;n++){var _=a.contours[w[n]];o.isPlainObject(_)&&(_.highlightColor&&(_.highlightcolor=_.highlightColor,delete _.highlightColor),_.highlightWidth&&(_.highlightwidth=_.highlightWidth,delete _.highlightWidth))}}if("candlestick"===a.type||"ohlc"===a.type){var k=!1!==(a.increasing||{}).showlegend,T=!1!==(a.decreasing||{}).showlegend,M=g(a.increasing),S=g(a.decreasing);if(!1!==M&&!1!==S){var A=v(M,S,k,T);A&&(a.name=A)}else!M&&!S||a.name||(a.name=M||S)}if(Array.isArray(a.transforms)){var C=a.transforms;for(n=0;n<C.length;n++){var P=C[n];if(o.isPlainObject(P))switch(P.type){case"filter":P.filtersrc&&(P.target=P.filtersrc,delete P.filtersrc),P.calendar&&(P.valuecalendar||(P.valuecalendar=P.calendar),delete P.calendar);break;case"groupby":if(P.styles=P.styles||P.style,P.styles&&!Array.isArray(P.styles)){var O=P.styles,I=Object.keys(O);P.styles=[];for(var z=0;z<I.length;z++)P.styles.push({target:I[z],value:O[I[z]]})}}}}y(a,"line")&&delete a.line,"marker"in a&&(y(a.marker,"line")&&delete a.marker.line,y(a,"marker")&&delete a.marker),c.clean(a),a.autobinx&&(delete a.autobinx,delete a.xbins),a.autobiny&&(delete a.autobiny,delete a.ybins),p(a),a.colorbar&&p(a.colorbar),a.marker&&a.marker.colorbar&&p(a.marker.colorbar),a.line&&a.line.colorbar&&p(a.line.colorbar),a.aaxis&&p(a.aaxis),a.baxis&&p(a.baxis)}},t.swapXYData=function(e){var t;if(o.swapAttrs(e,["?","?0","d?","?bins","nbins?","autobin?","?src","error_?"]),Array.isArray(e.z)&&Array.isArray(e.z[0])&&(e.transpose?delete e.transpose:e.transpose=!0),e.error_x&&e.error_y){var r=e.error_y,n="copy_ystyle"in r?r.copy_ystyle:!(r.color||r.thickness||r.width);o.swapAttrs(e,["error_?.copy_ystyle"]),n&&o.swapAttrs(e,["error_?.color","error_?.thickness","error_?.width"])}if("string"==typeof e.hoverinfo){var a=e.hoverinfo.split("+");for(t=0;t<a.length;t++)"x"===a[t]?a[t]="y":"y"===a[t]&&(a[t]="x");e.hoverinfo=a.join("+")}},t.coerceTraceIndices=function(e,t){if(n(t))return[t];if(!Array.isArray(t)||!t.length)return e.data.map((function(e,t){return t}));if(Array.isArray(t)){for(var r=[],a=0;a<t.length;a++)o.isIndex(t[a],e.data.length)?r.push(t[a]):o.warn("trace index (",t[a],") is not a number or is out of bounds");return r}return t},t.manageArrayContainers=function(e,t,r){var a=e.obj,i=e.parts,s=i.length,l=i[s-1],c=n(l);if(c&&null===t){var u=i.slice(0,s-1).join(".");o.nestedProperty(a,u).get().splice(l,1)}else c&&void 0===e.get()?(void 0===e.get()&&(r[e.astr]=null),e.set(t)):e.set(t)};var x=/(\.[^\[\]\.]+|\[[^\[\]\.]+\])$/;function b(e){var t=e.search(x);if(t>0)return e.substr(0,t)}t.hasParent=function(e,t){for(var r=b(t);r;){if(r in e)return!0;r=b(r)}return!1};var w=["x","y","z"];t.clearAxisTypes=function(e,t,r){for(var n=0;n<t.length;n++)for(var a=e._fullData[n],i=0;i<3;i++){var s=d(e,a,w[i]);if(s&&"log"!==s.type){var l=s._name,c=s._id.substr(1);if("scene"===c.substr(0,5)){if(void 0!==r[c])continue;l=c+"."+l}var u=l+".type";void 0===r[l]&&void 0===r[u]&&o.nestedProperty(e.layout,u).set(null)}}}},xMdC:function(e,t,r){"use strict";var n=r("/CZE");t.getSubplot=function(e){return e.subplot||e.xaxis+e.yaxis||e.geo},t.isTraceInSubplots=function(e,r){if("splom"===e.type){for(var n=e.xaxes||[],a=e.yaxes||[],i=0;i<n.length;i++)for(var o=0;o<a.length;o++)if(-1!==r.indexOf(n[i]+a[o]))return!0;return!1}return-1!==r.indexOf(t.getSubplot(e))},t.flat=function(e,t){for(var r=new Array(e.length),n=0;n<e.length;n++)r[n]=t;return r},t.p2c=function(e,t){for(var r=new Array(e.length),n=0;n<e.length;n++)r[n]=e[n].p2c(t);return r},t.getDistanceFunction=function(e,r,n,a){return"closest"===e?a||t.quadrature(r,n):"x"===e.charAt(0)?r:n},t.getClosest=function(e,t,r){if(!1!==r.index)r.index>=0&&r.index<e.length?r.distance=0:r.index=!1;else for(var n=0;n<e.length;n++){var a=t(e[n]);a<=r.distance&&(r.index=n,r.distance=a)}return r},t.inbox=function(e,t,r){return e*t<0||0===e?r:1/0},t.quadrature=function(e,t){return function(r){var n=e(r),a=t(r);return Math.sqrt(n*n+a*a)}},t.makeEventData=function(e,r,n){var a="index"in e?e.index:e.pointNumber,i={data:r._input,fullData:r,curveNumber:r.index,pointNumber:a};if(r._indexToPoints){var o=r._indexToPoints[a];1===o.length?i.pointIndex=o[0]:i.pointIndices=o}else i.pointIndex=a;return r._module.eventData?i=r._module.eventData(i,e,r,n,a):("xVal"in e?i.x=e.xVal:"x"in e&&(i.x=e.x),"yVal"in e?i.y=e.yVal:"y"in e&&(i.y=e.y),e.xa&&(i.xaxis=e.xa),e.ya&&(i.yaxis=e.ya),void 0!==e.zLabelVal&&(i.z=e.zLabelVal)),t.appendArrayPointValue(i,r,a),i},t.appendArrayPointValue=function(e,t,r){var a=t._arrayAttrs;if(a)for(var s=0;s<a.length;s++){var l=a[s],c=i(l);if(void 0===e[c]){var u=o(n.nestedProperty(t,l).get(),r);void 0!==u&&(e[c]=u)}}},t.appendArrayMultiPointValues=function(e,t,r){var a=t._arrayAttrs;if(a)for(var s=0;s<a.length;s++){var l=a[s],c=i(l);if(void 0===e[c]){for(var u=n.nestedProperty(t,l).get(),d=new Array(r.length),f=0;f<r.length;f++)d[f]=o(u,r[f]);e[c]=d}}};var a={ids:"id",locations:"location",labels:"label",values:"value","marker.colors":"color",parents:"parent"};function i(e){return a[e]||e}function o(e,t){return Array.isArray(t)?Array.isArray(e)&&Array.isArray(e[t[0]])?e[t[0]][t[1]]:void 0:e[t]}var s={x:!0,y:!0},l={"x unified":!0,"y unified":!0};t.isUnifiedHover=function(e){return"string"==typeof e&&!!l[e]},t.isXYhover=function(e){return"string"==typeof e&&!!s[e]}},xOBz:function(e,t,r){"use strict";t.version=r("W0H3").version,r("E2g8").polyfill(),r("BGtl"),r("drJC")();for(var n=r("Nx4I"),a=t.register=n.register,i=r("RC9+"),o=Object.keys(i),s=0;s<o.length;s++){var l=o[s];"_"!==l.charAt(0)&&(t[l]=i[l]),a({moduleType:"apiMethod",name:l,fn:i[l]})}a(r("Xo+u")),a([r("l3j2"),r("pcRN"),r("cPlZ"),r("ybzJ"),r("MnPd"),r("fJ8H"),r("zRkR"),r("7rOW"),r("HAuI"),r("BK0j"),r("eXRl"),r("fu4d"),r("wlgE"),r("/LJd")]),a([r("Hqa2"),r("HgMN")]),window.PlotlyLocales&&Array.isArray(window.PlotlyLocales)&&(a(window.PlotlyLocales),delete window.PlotlyLocales),t.Icons=r("dVlp"),t.Plots=r("u3HJ"),t.Fx=r("pcRN"),t.Snapshot=r("yme6"),t.PlotSchema=r("aSHK"),t.Queue=r("xra3"),t.d3=r("bljh")},xPRw:function(e,t,r){"use strict";var n=r("/CZE"),a=r("BkK/"),i=r("5azm"),o=r("Fyky"),s=r("FLbl");function l(e,t,r,i){function l(r,a){return n.coerce(e,t,s,r,a)}function c(e){var n=e+"axis",i={_fullLayout:{}};return i._fullLayout[n]=r[n],a.coercePosition(t,i,l,e,e,.5)}l("visible")&&(o(e,t,i.fullLayout,l),c("x"),c("y"),c("z"),n.noneOrAll(e,t,["x","y","z"]),t.xref="x",t.yref="y",t.zref="z",l("xanchor"),l("yanchor"),l("xshift"),l("yshift"),t.showarrow&&(t.axref="pixel",t.ayref="pixel",l("ax",-10),l("ay",-30),n.noneOrAll(e,t,["ax","ay"])))}e.exports=function(e,t,r){i(e,t,{name:"annotations",handleItemDefaults:l,fullLayout:r.fullLayout})}},xZj9:function(e,t,r){},xgB0:function(e,t,r){var n=r("YCND");"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,r("SZ7m").default)("636259e8",n,!0,{})},xra3:function(e,t,r){"use strict";var n=r("/CZE"),a=r("P/XJ").dfltConfig;var i={add:function(e,t,r,n,i){var o,s;e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},s=e.undoQueue.index,e.autoplay?e.undoQueue.inSequence||(e.autoplay=!1):(!e.undoQueue.sequence||e.undoQueue.beginSequence?(o={undo:{calls:[],args:[]},redo:{calls:[],args:[]}},e.undoQueue.queue.splice(s,e.undoQueue.queue.length-s,o),e.undoQueue.index+=1):o=e.undoQueue.queue[s-1],e.undoQueue.beginSequence=!1,o&&(o.undo.calls.unshift(t),o.undo.args.unshift(r),o.redo.calls.push(n),o.redo.args.push(i)),e.undoQueue.queue.length>a.queueLength&&(e.undoQueue.queue.shift(),e.undoQueue.index--))},startSequence:function(e){e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},e.undoQueue.sequence=!0,e.undoQueue.beginSequence=!0},stopSequence:function(e){e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},e.undoQueue.sequence=!1,e.undoQueue.beginSequence=!1},undo:function(e){var t,r;if(e.framework&&e.framework.isPolar)e.framework.undo();else if(!(void 0===e.undoQueue||isNaN(e.undoQueue.index)||e.undoQueue.index<=0)){for(e.undoQueue.index--,t=e.undoQueue.queue[e.undoQueue.index],e.undoQueue.inSequence=!0,r=0;r<t.undo.calls.length;r++)i.plotDo(e,t.undo.calls[r],t.undo.args[r]);e.undoQueue.inSequence=!1,e.autoplay=!1}},redo:function(e){var t,r;if(e.framework&&e.framework.isPolar)e.framework.redo();else if(!(void 0===e.undoQueue||isNaN(e.undoQueue.index)||e.undoQueue.index>=e.undoQueue.queue.length)){for(t=e.undoQueue.queue[e.undoQueue.index],e.undoQueue.inSequence=!0,r=0;r<t.redo.calls.length;r++)i.plotDo(e,t.redo.calls[r],t.redo.args[r]);e.undoQueue.inSequence=!1,e.autoplay=!1,e.undoQueue.index++}}};i.plotDo=function(e,t,r){e.autoplay=!0,r=function(e,t){for(var r,a=[],i=0;i<t.length;i++)r=t[i],a[i]=r===e?r:"object"==typeof r?Array.isArray(r)?n.extendDeep([],r):n.extendDeepAll({},r):r;return a}(e,r),t.apply(null,r)},e.exports=i},y9Tj:function(e,t,r){"use strict";var n=r("/CZE"),a=r("pGKX"),i=r("IJNW");e.exports=function(e,t,r,o){var s=n.extendFlat({},o.hoverlabel);t.hovertemplate&&(s.namelength=-1),i(e,t,(function(r,i){return n.coerce(e,t,a,r,i)}),s)}},yA84:function(e,t,r){"use strict";e.exports=r("en0M")},yKfe:function(e,t,r){"use strict";var n=r("uigH");r.n(n).a},yLjo:function(e,t,r){"use strict";var n=r("yUfG");e.exports=function(e,t,r){var a,i=r.flipX,o=r.flipY,s="dice-slice"===r.packing,l=r.pad[o?"bottom":"top"],c=r.pad[i?"right":"left"],u=r.pad[i?"left":"right"],d=r.pad[o?"top":"bottom"];s&&(a=c,c=l,l=a,a=u,u=d,d=a);var f=n.treemap().tile(function(e,t){switch(e){case"squarify":return n.treemapSquarify.ratio(t);case"binary":return n.treemapBinary;case"dice":return n.treemapDice;case"slice":return n.treemapSlice;default:return n.treemapSliceDice}}(r.packing,r.squarifyratio)).paddingInner(r.pad.inner).paddingLeft(c).paddingRight(u).paddingTop(l).paddingBottom(d).size(s?[t[1],t[0]]:t)(e);return(s||i||o)&&function e(t,r,n){var a;n.swapXY&&(a=t.x0,t.x0=t.y0,t.y0=a,a=t.x1,t.x1=t.y1,t.y1=a);n.flipX&&(a=t.x0,t.x0=r[0]-t.x1,t.x1=r[0]-a);n.flipY&&(a=t.y0,t.y0=r[1]-t.y1,t.y1=r[1]-a);var i=t.children;if(i)for(var o=0;o<i.length;o++)e(i[o],r,n)}(f,t,{swapXY:s,flipX:i,flipY:o}),f}},yPDV:function(e,t,r){"use strict";e.exports=function(e,t,r){!1===r("zsmooth")&&(r("xgap"),r("ygap")),r("zhoverformat")}},yUfG:function(e,t,r){"use strict";function n(e,t){return e.parent===t.parent?1:2}function a(e,t){return e+t.x}function i(e,t){return Math.max(e,t.y)}r.r(t),r.d(t,"cluster",(function(){return o})),r.d(t,"hierarchy",(function(){return l})),r.d(t,"pack",(function(){return L})),r.d(t,"packSiblings",(function(){return A})),r.d(t,"packEnclose",(function(){return p})),r.d(t,"partition",(function(){return F})),r.d(t,"stratify",(function(){return Z})),r.d(t,"tree",(function(){return J})),r.d(t,"treemap",(function(){return re})),r.d(t,"treemapBinary",(function(){return ne})),r.d(t,"treemapDice",(function(){return N})),r.d(t,"treemapSlice",(function(){return K})),r.d(t,"treemapSliceDice",(function(){return ae})),r.d(t,"treemapSquarify",(function(){return te})),r.d(t,"treemapResquarify",(function(){return ie}));var o=function(){var e=n,t=1,r=1,o=!1;function s(n){var s,l=0;n.eachAfter((function(t){var r=t.children;r?(t.x=function(e){return e.reduce(a,0)/e.length}(r),t.y=function(e){return 1+e.reduce(i,0)}(r)):(t.x=s?l+=e(t,s):0,t.y=0,s=t)}));var c=function(e){for(var t;t=e.children;)e=t[0];return e}(n),u=function(e){for(var t;t=e.children;)e=t[t.length-1];return e}(n),d=c.x-e(c,u)/2,f=u.x+e(u,c)/2;return n.eachAfter(o?function(e){e.x=(e.x-n.x)*t,e.y=(n.y-e.y)*r}:function(e){e.x=(e.x-d)/(f-d)*t,e.y=(1-(n.y?e.y/n.y:1))*r})}return s.separation=function(t){return arguments.length?(e=t,s):e},s.size=function(e){return arguments.length?(o=!1,t=+e[0],r=+e[1],s):o?null:[t,r]},s.nodeSize=function(e){return arguments.length?(o=!0,t=+e[0],r=+e[1],s):o?[t,r]:null},s};function s(e){var t=0,r=e.children,n=r&&r.length;if(n)for(;--n>=0;)t+=r[n].value;else t=1;e.value=t}function l(e,t){var r,n,a,i,o,s=new f(e),l=+e.value&&(s.value=e.value),u=[s];for(null==t&&(t=c);r=u.pop();)if(l&&(r.value=+r.data.value),(a=t(r.data))&&(o=a.length))for(r.children=new Array(o),i=o-1;i>=0;--i)u.push(n=r.children[i]=new f(a[i])),n.parent=r,n.depth=r.depth+1;return s.eachBefore(d)}function c(e){return e.children}function u(e){e.data=e.data.data}function d(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function f(e){this.data=e,this.depth=this.height=0,this.parent=null}f.prototype=l.prototype={constructor:f,count:function(){return this.eachAfter(s)},each:function(e){var t,r,n,a,i=this,o=[i];do{for(t=o.reverse(),o=[];i=t.pop();)if(e(i),r=i.children)for(n=0,a=r.length;n<a;++n)o.push(r[n])}while(o.length);return this},eachAfter:function(e){for(var t,r,n,a=this,i=[a],o=[];a=i.pop();)if(o.push(a),t=a.children)for(r=0,n=t.length;r<n;++r)i.push(t[r]);for(;a=o.pop();)e(a);return this},eachBefore:function(e){for(var t,r,n=this,a=[n];n=a.pop();)if(e(n),t=n.children)for(r=t.length-1;r>=0;--r)a.push(t[r]);return this},sum:function(e){return this.eachAfter((function(t){for(var r=+e(t.data)||0,n=t.children,a=n&&n.length;--a>=0;)r+=n[a].value;t.value=r}))},sort:function(e){return this.eachBefore((function(t){t.children&&t.children.sort(e)}))},path:function(e){for(var t=this,r=function(e,t){if(e===t)return e;var r=e.ancestors(),n=t.ancestors(),a=null;e=r.pop(),t=n.pop();for(;e===t;)a=e,e=r.pop(),t=n.pop();return a}(t,e),n=[t];t!==r;)t=t.parent,n.push(t);for(var a=n.length;e!==r;)n.splice(a,0,e),e=e.parent;return n},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){var e=[];return this.each((function(t){e.push(t)})),e},leaves:function(){var e=[];return this.eachBefore((function(t){t.children||e.push(t)})),e},links:function(){var e=this,t=[];return e.each((function(r){r!==e&&t.push({source:r.parent,target:r})})),t},copy:function(){return l(this).eachBefore(u)}};var h=Array.prototype.slice;var p=function(e){for(var t,r,n=0,a=(e=function(e){for(var t,r,n=e.length;n;)r=Math.random()*n--|0,t=e[n],e[n]=e[r],e[r]=t;return e}(h.call(e))).length,i=[];n<a;)t=e[n],r&&m(r,t)?++n:(r=x(i=g(i,t)),n=0);return r};function g(e,t){var r,n;if(y(t,e))return[t];for(r=0;r<e.length;++r)if(v(t,e[r])&&y(b(e[r],t),e))return[e[r],t];for(r=0;r<e.length-1;++r)for(n=r+1;n<e.length;++n)if(v(b(e[r],e[n]),t)&&v(b(e[r],t),e[n])&&v(b(e[n],t),e[r])&&y(w(e[r],e[n],t),e))return[e[r],e[n],t];throw new Error}function v(e,t){var r=e.r-t.r,n=t.x-e.x,a=t.y-e.y;return r<0||r*r<n*n+a*a}function m(e,t){var r=e.r-t.r+1e-6,n=t.x-e.x,a=t.y-e.y;return r>0&&r*r>n*n+a*a}function y(e,t){for(var r=0;r<t.length;++r)if(!m(e,t[r]))return!1;return!0}function x(e){switch(e.length){case 1:return{x:(t=e[0]).x,y:t.y,r:t.r};case 2:return b(e[0],e[1]);case 3:return w(e[0],e[1],e[2])}var t}function b(e,t){var r=e.x,n=e.y,a=e.r,i=t.x,o=t.y,s=t.r,l=i-r,c=o-n,u=s-a,d=Math.sqrt(l*l+c*c);return{x:(r+i+l/d*u)/2,y:(n+o+c/d*u)/2,r:(d+a+s)/2}}function w(e,t,r){var n=e.x,a=e.y,i=e.r,o=t.x,s=t.y,l=t.r,c=r.x,u=r.y,d=r.r,f=n-o,h=n-c,p=a-s,g=a-u,v=l-i,m=d-i,y=n*n+a*a-i*i,x=y-o*o-s*s+l*l,b=y-c*c-u*u+d*d,w=h*p-f*g,_=(p*b-g*x)/(2*w)-n,k=(g*v-p*m)/w,T=(h*x-f*b)/(2*w)-a,M=(f*m-h*v)/w,S=k*k+M*M-1,A=2*(i+_*k+T*M),C=_*_+T*T-i*i,P=-(S?(A+Math.sqrt(A*A-4*S*C))/(2*S):C/A);return{x:n+_+k*P,y:a+T+M*P,r:P}}function _(e,t,r){var n,a,i,o,s=e.x-t.x,l=e.y-t.y,c=s*s+l*l;c?(a=t.r+r.r,a*=a,o=e.r+r.r,a>(o*=o)?(n=(c+o-a)/(2*c),i=Math.sqrt(Math.max(0,o/c-n*n)),r.x=e.x-n*s-i*l,r.y=e.y-n*l+i*s):(n=(c+a-o)/(2*c),i=Math.sqrt(Math.max(0,a/c-n*n)),r.x=t.x+n*s-i*l,r.y=t.y+n*l+i*s)):(r.x=t.x+r.r,r.y=t.y)}function k(e,t){var r=e.r+t.r-1e-6,n=t.x-e.x,a=t.y-e.y;return r>0&&r*r>n*n+a*a}function T(e){var t=e._,r=e.next._,n=t.r+r.r,a=(t.x*r.r+r.x*t.r)/n,i=(t.y*r.r+r.y*t.r)/n;return a*a+i*i}function M(e){this._=e,this.next=null,this.previous=null}function S(e){if(!(a=e.length))return 0;var t,r,n,a,i,o,s,l,c,u,d;if((t=e[0]).x=0,t.y=0,!(a>1))return t.r;if(r=e[1],t.x=-r.r,r.x=t.r,r.y=0,!(a>2))return t.r+r.r;_(r,t,n=e[2]),t=new M(t),r=new M(r),n=new M(n),t.next=n.previous=r,r.next=t.previous=n,n.next=r.previous=t;e:for(s=3;s<a;++s){_(t._,r._,n=e[s]),n=new M(n),l=r.next,c=t.previous,u=r._.r,d=t._.r;do{if(u<=d){if(k(l._,n._)){r=l,t.next=r,r.previous=t,--s;continue e}u+=l._.r,l=l.next}else{if(k(c._,n._)){(t=c).next=r,r.previous=t,--s;continue e}d+=c._.r,c=c.previous}}while(l!==c.next);for(n.previous=t,n.next=r,t.next=r.previous=r=n,i=T(t);(n=n.next)!==r;)(o=T(n))<i&&(t=n,i=o);r=t.next}for(t=[r._],n=r;(n=n.next)!==r;)t.push(n._);for(n=p(t),s=0;s<a;++s)(t=e[s]).x-=n.x,t.y-=n.y;return n.r}var A=function(e){return S(e),e};function C(e){return null==e?null:P(e)}function P(e){if("function"!=typeof e)throw new Error;return e}function O(){return 0}var I=function(e){return function(){return e}};function z(e){return Math.sqrt(e.value)}var L=function(){var e=null,t=1,r=1,n=O;function a(a){return a.x=t/2,a.y=r/2,e?a.eachBefore(E(e)).eachAfter(j(n,.5)).eachBefore(D(1)):a.eachBefore(E(z)).eachAfter(j(O,1)).eachAfter(j(n,a.r/Math.min(t,r))).eachBefore(D(Math.min(t,r)/(2*a.r))),a}return a.radius=function(t){return arguments.length?(e=C(t),a):e},a.size=function(e){return arguments.length?(t=+e[0],r=+e[1],a):[t,r]},a.padding=function(e){return arguments.length?(n="function"==typeof e?e:I(+e),a):n},a};function E(e){return function(t){t.children||(t.r=Math.max(0,+e(t)||0))}}function j(e,t){return function(r){if(n=r.children){var n,a,i,o=n.length,s=e(r)*t||0;if(s)for(a=0;a<o;++a)n[a].r+=s;if(i=S(n),s)for(a=0;a<o;++a)n[a].r-=s;r.r=i+s}}}function D(e){return function(t){var r=t.parent;t.r*=e,r&&(t.x=r.x+e*t.x,t.y=r.y+e*t.y)}}var R=function(e){e.x0=Math.round(e.x0),e.y0=Math.round(e.y0),e.x1=Math.round(e.x1),e.y1=Math.round(e.y1)},N=function(e,t,r,n,a){for(var i,o=e.children,s=-1,l=o.length,c=e.value&&(n-t)/e.value;++s<l;)(i=o[s]).y0=r,i.y1=a,i.x0=t,i.x1=t+=i.value*c},F=function(){var e=1,t=1,r=0,n=!1;function a(a){var i=a.height+1;return a.x0=a.y0=r,a.x1=e,a.y1=t/i,a.eachBefore(function(e,t){return function(n){n.children&&N(n,n.x0,e*(n.depth+1)/t,n.x1,e*(n.depth+2)/t);var a=n.x0,i=n.y0,o=n.x1-r,s=n.y1-r;o<a&&(a=o=(a+o)/2),s<i&&(i=s=(i+s)/2),n.x0=a,n.y0=i,n.x1=o,n.y1=s}}(t,i)),n&&a.eachBefore(R),a}return a.round=function(e){return arguments.length?(n=!!e,a):n},a.size=function(r){return arguments.length?(e=+r[0],t=+r[1],a):[e,t]},a.padding=function(e){return arguments.length?(r=+e,a):r},a},B={depth:-1},H={};function V(e){return e.id}function G(e){return e.parentId}var Z=function(){var e=V,t=G;function r(r){var n,a,i,o,s,l,c,u=r.length,h=new Array(u),p={};for(a=0;a<u;++a)n=r[a],s=h[a]=new f(n),null!=(l=e(n,a,r))&&(l+="")&&(p[c="$"+(s.id=l)]=c in p?H:s);for(a=0;a<u;++a)if(s=h[a],null!=(l=t(r[a],a,r))&&(l+="")){if(!(o=p["$"+l]))throw new Error("missing: "+l);if(o===H)throw new Error("ambiguous: "+l);o.children?o.children.push(s):o.children=[s],s.parent=o}else{if(i)throw new Error("multiple roots");i=s}if(!i)throw new Error("no root");if(i.parent=B,i.eachBefore((function(e){e.depth=e.parent.depth+1,--u})).eachBefore(d),i.parent=null,u>0)throw new Error("cycle");return i}return r.id=function(t){return arguments.length?(e=P(t),r):e},r.parentId=function(e){return arguments.length?(t=P(e),r):t},r};function q(e,t){return e.parent===t.parent?1:2}function U(e){var t=e.children;return t?t[0]:e.t}function W(e){var t=e.children;return t?t[t.length-1]:e.t}function Y(e,t,r){var n=r/(t.i-e.i);t.c-=n,t.s+=r,e.c+=n,t.z+=r,t.m+=r}function X(e,t,r){return e.a.parent===t.parent?e.a:r}function $(e,t){this._=e,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=t}$.prototype=Object.create(f.prototype);var J=function(){var e=q,t=1,r=1,n=null;function a(a){var l=function(e){for(var t,r,n,a,i,o=new $(e,0),s=[o];t=s.pop();)if(n=t._.children)for(t.children=new Array(i=n.length),a=i-1;a>=0;--a)s.push(r=t.children[a]=new $(n[a],a)),r.parent=t;return(o.parent=new $(null,0)).children=[o],o}(a);if(l.eachAfter(i),l.parent.m=-l.z,l.eachBefore(o),n)a.eachBefore(s);else{var c=a,u=a,d=a;a.eachBefore((function(e){e.x<c.x&&(c=e),e.x>u.x&&(u=e),e.depth>d.depth&&(d=e)}));var f=c===u?1:e(c,u)/2,h=f-c.x,p=t/(u.x+f+h),g=r/(d.depth||1);a.eachBefore((function(e){e.x=(e.x+h)*p,e.y=e.depth*g}))}return a}function i(t){var r=t.children,n=t.parent.children,a=t.i?n[t.i-1]:null;if(r){!function(e){for(var t,r=0,n=0,a=e.children,i=a.length;--i>=0;)(t=a[i]).z+=r,t.m+=r,r+=t.s+(n+=t.c)}(t);var i=(r[0].z+r[r.length-1].z)/2;a?(t.z=a.z+e(t._,a._),t.m=t.z-i):t.z=i}else a&&(t.z=a.z+e(t._,a._));t.parent.A=function(t,r,n){if(r){for(var a,i=t,o=t,s=r,l=i.parent.children[0],c=i.m,u=o.m,d=s.m,f=l.m;s=W(s),i=U(i),s&&i;)l=U(l),(o=W(o)).a=t,(a=s.z+d-i.z-c+e(s._,i._))>0&&(Y(X(s,t,n),t,a),c+=a,u+=a),d+=s.m,c+=i.m,f+=l.m,u+=o.m;s&&!W(o)&&(o.t=s,o.m+=d-u),i&&!U(l)&&(l.t=i,l.m+=c-f,n=t)}return n}(t,a,t.parent.A||n[0])}function o(e){e._.x=e.z+e.parent.m,e.m+=e.parent.m}function s(e){e.x*=t,e.y=e.depth*r}return a.separation=function(t){return arguments.length?(e=t,a):e},a.size=function(e){return arguments.length?(n=!1,t=+e[0],r=+e[1],a):n?null:[t,r]},a.nodeSize=function(e){return arguments.length?(n=!0,t=+e[0],r=+e[1],a):n?[t,r]:null},a},K=function(e,t,r,n,a){for(var i,o=e.children,s=-1,l=o.length,c=e.value&&(a-r)/e.value;++s<l;)(i=o[s]).x0=t,i.x1=n,i.y0=r,i.y1=r+=i.value*c},Q=(1+Math.sqrt(5))/2;function ee(e,t,r,n,a,i){for(var o,s,l,c,u,d,f,h,p,g,v,m=[],y=t.children,x=0,b=0,w=y.length,_=t.value;x<w;){l=a-r,c=i-n;do{u=y[b++].value}while(!u&&b<w);for(d=f=u,v=u*u*(g=Math.max(c/l,l/c)/(_*e)),p=Math.max(f/v,v/d);b<w;++b){if(u+=s=y[b].value,s<d&&(d=s),s>f&&(f=s),v=u*u*g,(h=Math.max(f/v,v/d))>p){u-=s;break}p=h}m.push(o={value:u,dice:l<c,children:y.slice(x,b)}),o.dice?N(o,r,n,a,_?n+=c*u/_:i):K(o,r,n,_?r+=l*u/_:a,i),_-=u,x=b}return m}var te=function e(t){function r(e,r,n,a,i){ee(t,e,r,n,a,i)}return r.ratio=function(t){return e((t=+t)>1?t:1)},r}(Q),re=function(){var e=te,t=!1,r=1,n=1,a=[0],i=O,o=O,s=O,l=O,c=O;function u(e){return e.x0=e.y0=0,e.x1=r,e.y1=n,e.eachBefore(d),a=[0],t&&e.eachBefore(R),e}function d(t){var r=a[t.depth],n=t.x0+r,u=t.y0+r,d=t.x1-r,f=t.y1-r;d<n&&(n=d=(n+d)/2),f<u&&(u=f=(u+f)/2),t.x0=n,t.y0=u,t.x1=d,t.y1=f,t.children&&(r=a[t.depth+1]=i(t)/2,n+=c(t)-r,u+=o(t)-r,(d-=s(t)-r)<n&&(n=d=(n+d)/2),(f-=l(t)-r)<u&&(u=f=(u+f)/2),e(t,n,u,d,f))}return u.round=function(e){return arguments.length?(t=!!e,u):t},u.size=function(e){return arguments.length?(r=+e[0],n=+e[1],u):[r,n]},u.tile=function(t){return arguments.length?(e=P(t),u):e},u.padding=function(e){return arguments.length?u.paddingInner(e).paddingOuter(e):u.paddingInner()},u.paddingInner=function(e){return arguments.length?(i="function"==typeof e?e:I(+e),u):i},u.paddingOuter=function(e){return arguments.length?u.paddingTop(e).paddingRight(e).paddingBottom(e).paddingLeft(e):u.paddingTop()},u.paddingTop=function(e){return arguments.length?(o="function"==typeof e?e:I(+e),u):o},u.paddingRight=function(e){return arguments.length?(s="function"==typeof e?e:I(+e),u):s},u.paddingBottom=function(e){return arguments.length?(l="function"==typeof e?e:I(+e),u):l},u.paddingLeft=function(e){return arguments.length?(c="function"==typeof e?e:I(+e),u):c},u},ne=function(e,t,r,n,a){var i,o,s=e.children,l=s.length,c=new Array(l+1);for(c[0]=o=i=0;i<l;++i)c[i+1]=o+=s[i].value;!function e(t,r,n,a,i,o,l){if(t>=r-1){var u=s[t];return u.x0=a,u.y0=i,u.x1=o,void(u.y1=l)}var d=c[t],f=n/2+d,h=t+1,p=r-1;for(;h<p;){var g=h+p>>>1;c[g]<f?h=g+1:p=g}f-c[h-1]<c[h]-f&&t+1<h&&--h;var v=c[h]-d,m=n-v;if(o-a>l-i){var y=(a*m+o*v)/n;e(t,h,v,a,i,y,l),e(h,r,m,y,i,o,l)}else{var x=(i*m+l*v)/n;e(t,h,v,a,i,o,x),e(h,r,m,a,x,o,l)}}(0,l,e.value,t,r,n,a)},ae=function(e,t,r,n,a){(1&e.depth?K:N)(e,t,r,n,a)},ie=function e(t){function r(e,r,n,a,i){if((o=e._squarify)&&o.ratio===t)for(var o,s,l,c,u,d=-1,f=o.length,h=e.value;++d<f;){for(l=(s=o[d]).children,c=s.value=0,u=l.length;c<u;++c)s.value+=l[c].value;s.dice?N(s,r,n,a,n+=(i-n)*s.value/h):K(s,r,n,r+=(a-r)*s.value/h,i),h-=s.value}else e._squarify=o=ee(t,e,r,n,a,i),o.ratio=t}return r.ratio=function(t){return e((t=+t)>1?t:1)},r}(Q)},yVNY:function(e,t,r){"use strict";var n=r("DzeQ"),a="data-savedcursor";e.exports=function(e,t){var r=e.attr(a);if(t){if(!r){for(var i=(e.attr("class")||"").split(" "),o=0;o<i.length;o++){var s=i[o];0===s.indexOf("cursor-")&&e.attr(a,s.substr(7)).classed(s,!1)}e.attr(a)||e.attr(a,"!!")}n(e,t)}else r&&(e.attr(a,null),"!!"===r?n(e):n(e,r))}},"yZ/U":function(e,t,r){"use strict";var n=r("+1rr"),a=r("EHyX").line,i=r("qHYo"),o=r("lNV6").hovertemplateAttrs,s=r("lNV6").texttemplateAttrs,l=r("sgXD"),c=r("kJIm").extendFlat,u=r("0RW4");e.exports={x:n.x,x0:n.x0,dx:n.dx,y:n.y,y0:n.y0,dy:n.dy,hovertext:n.hovertext,hovertemplate:o({},{keys:l.eventDataKeys}),hoverinfo:c({},i.hoverinfo,{flags:["name","x","y","text","percent initial","percent previous","percent total"]}),textinfo:{valType:"flaglist",flags:["label","text","percent initial","percent previous","percent total","value"],extras:["none"],role:"info",editType:"plot",arrayOk:!1,description:["Determines which trace information appear on the graph.","In the case of having multiple funnels, percentages & totals","are computed separately (per trace)."].join(" ")},texttemplate:s({editType:"plot"},{keys:l.eventDataKeys.concat(["label","value"])}),text:n.text,textposition:c({},n.textposition,{dflt:"auto"}),insidetextanchor:c({},n.insidetextanchor,{dflt:"middle"}),textangle:c({},n.textangle,{dflt:0}),textfont:n.textfont,insidetextfont:n.insidetextfont,outsidetextfont:n.outsidetextfont,constraintext:n.constraintext,cliponaxis:n.cliponaxis,orientation:c({},n.orientation,{description:["Sets the orientation of the funnels.","With *v* (*h*), the value of the each bar spans","along the vertical (horizontal).","By default funnels are tend to be oriented horizontally;","unless only *y* array is presented or orientation is set to *v*.","Also regarding graphs including only 'horizontal' funnels,","*autorange* on the *y-axis* are set to *reversed*."].join(" ")}),offset:c({},n.offset,{arrayOk:!1}),width:c({},n.width,{arrayOk:!1}),marker:n.marker,connector:{fillcolor:{valType:"color",role:"style",editType:"style",description:["Sets the fill color."].join(" ")},line:{color:c({},a.color,{dflt:u.defaultLine}),width:c({},a.width,{dflt:0,editType:"plot"}),dash:a.dash,editType:"style"},visible:{valType:"boolean",dflt:!0,role:"info",editType:"plot",description:["Determines if connector regions and lines are drawn."].join(" ")},editType:"plot"},offsetgroup:n.offsetgroup,alignmentgroup:n.alignmentgroup}},ybzJ:function(e,t,r){"use strict";var n=r("Nx4I"),a=r("/CZE");e.exports={moduleType:"component",name:"annotations3d",schema:{subplots:{scene:{annotations:r("FLbl")}}},layoutAttributes:r("FLbl"),handleDefaults:r("xPRw"),includeBasePlot:function(e,t){var r=n.subplotsRegistry.gl3d;if(!r)return;for(var i=r.attrRegex,o=Object.keys(e),s=0;s<o.length;s++){var l=o[s];i.test(l)&&(e[l].annotations||[]).length&&(a.pushUnique(t._basePlotModules,r),a.pushUnique(t._subplots.gl3d,l))}},convert:r("3iLW"),draw:r("9CI2")}},ymS1:function(e,t,r){"use strict";var n=r("Tv4R"),a=r("4htA").drawMode,i=r("Nx4I"),o=r("UtjE"),s=o.i000,l=o.i090,c=o.i180,u=o.i270,d=r("6Ue+").clearOutlineControllers,f=r("s02k"),h=f.pointsShapeRectangle,p=f.pointsShapeEllipse,g=f.writePaths,v=r("OyTQ");e.exports=function e(t,r,o,f){f||(f=0);var m=o.gd;function y(){e(t,r,o,f++),p(t[0])&&x({redrawing:!0})}function x(e){o.isActiveShape=!1;var t=v(r,o);Object.keys(t).length&&i.call((e||{}).redrawing?"relayout":"_guiRelayout",m,t)}var b,w,_,k,T,M=o.isActiveShape,S=m._fullLayout._zoomlayer,A=o.dragmode;(a(A)?m._fullLayout._drawing=!0:m._fullLayout._activeShapeIndex>=0&&d(m),r.attr("d",g(t)),M&&!f)&&(T=function(e,t){for(var r=0;r<t.length;r++){var n=t[r];e[r]=[];for(var a=0;a<n.length;a++){e[r][a]=[];for(var i=0;i<n[a].length;i++)e[r][a][i]=n[a][i]}}return e}([],t),function(e){b=[];for(var r=0;r<t.length;r++){var a=t[r],i=!h(a)&&p(a);b[r]=[];for(var o=0;o<a.length;o++)if("Z"!==a[o][0]&&(!i||o===s||o===l||o===c||o===u)){var d=a[o][1],f=a[o][2],g=e.append("circle").classed("cursor-grab",!0).attr("data-i",r).attr("data-j",o).attr("cx",d).attr("cy",f).attr("r",4).style({"mix-blend-mode":"luminosity",fill:"black",stroke:"white","stroke-width":1});b[r][o]={element:g.node(),gd:m,prepFn:C,doneFn:O,clickFn:I},n.init(b[r][o])}}}(S.append("g").attr("class","outline-controllers")),function(){if(w=[],!t.length)return;w[0]={element:r[0][0],gd:m,prepFn:L,doneFn:E},n.init(w[0])}());function C(e){_=+e.srcElement.getAttribute("data-i"),k=+e.srcElement.getAttribute("data-j"),b[_][k].moveFn=P}function P(e,r){if(t.length){var n=T[_][k][1],a=T[_][k][2],i=t[_],o=i.length;if(h(i)){for(var s=0;s<o;s++)if(s!==k){var l=i[s];l[1]===i[k][1]&&(l[1]=n+e),l[2]===i[k][2]&&(l[2]=a+r)}if(i[k][1]=n+e,i[k][2]=a+r,!h(i))for(var c=0;c<o;c++)for(var u=0;u<i[c].length;u++)i[c][u]=T[_][c][u]}else i[k][1]=n+e,i[k][2]=a+r;y()}}function O(){x()}function I(e,r){if(2===e){_=+r.srcElement.getAttribute("data-i"),k=+r.srcElement.getAttribute("data-j");var n=t[_];h(n)||p(n)||function(){if(t.length&&t[_]&&t[_].length){for(var e=[],r=0;r<t[_].length;r++)r!==k&&e.push(t[_][r]);e.length>1&&(2!==e.length||"Z"!==e[1][0])&&(0===k&&(e[0][0]="M"),t[_]=e,y(),x())}}()}}function z(e,r){!function(e,r){if(t.length)for(var n=0;n<t.length;n++)for(var a=0;a<t[n].length;a++)for(var i=0;i+2<t[n][a].length;i+=2)t[n][a][i+1]=T[n][a][i+1]+e,t[n][a][i+2]=T[n][a][i+2]+r}(e,r),y()}function L(e){(_=+e.srcElement.getAttribute("data-i"))||(_=0),w[_].moveFn=z}function E(){x()}}},yme6:function(e,t,r){"use strict";var n=r("QkhT"),a={getDelay:n.getDelay,getRedrawFunc:n.getRedrawFunc,clone:r("0Y4q"),toSVG:r("ywRt"),svgToImg:r("Tr0U"),toImage:r("7pK6"),downloadImage:r("rZH/")};e.exports=a},"yt0/":function(e,t,r){(t=r("JPst")(!1)).push([e.i,".spinner[data-v-e8e065d8]{flex-shrink:0;border:1px #41b883 solid;border-radius:4px;position:relative;background:linear-gradient(45deg, transparent 49%, #41b883 50%, #41b883 50%, transparent 51%, transparent),linear-gradient(-45deg, transparent 49%, #41b883 50%, #41b883 50%, transparent 51%, transparent);background-size:16px 16px;background-position:0% 0%;animation:spTexture-data-v-e8e065d8 1s infinite linear}@keyframes spTexture-data-v-e8e065d8{from{background-position:0px 0px}to{background-position:-16px 0px}}\n",""]),e.exports=t},yv8l:function(e,t,r){"use strict";var n=r("/CZE"),a=r("HByh").handleGroupingDefaults,i=r("HByh").handleText,o=r("B28u"),s=r("yZ/U"),l=r("0RW4");e.exports={supplyDefaults:function(e,t,r,a){function c(r,a){return n.coerce(e,t,s,r,a)}if(o(e,t,a,c)){c("orientation",t.y&&!t.x?"v":"h"),c("offset"),c("width");var u=c("text");c("hovertext"),c("hovertemplate");var d=c("textposition");i(e,t,a,c,d,{moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!0,moduleHasCliponaxis:!0,moduleHasTextangle:!0,moduleHasInsideanchor:!0}),"none"===t.textposition||t.texttemplate||c("textinfo",Array.isArray(u)?"text+value":"value");var f=c("marker.color",r);if(c("marker.line.color",l.defaultLine),c("marker.line.width"),c("connector.visible"))c("connector.fillcolor",function(e){var t=n.isArrayOrTypedArray(e)?"#000":e;return l.addOpacity(t,.5*l.opacity(t))}(f)),c("connector.line.width")&&(c("connector.line.color"),c("connector.line.dash"))}else t.visible=!1},crossTraceDefaults:function(e,t){var r,i;function o(e){return n.coerce(i._input,i,s,e)}if("group"===t.funnelmode)for(var l=0;l<e.length;l++)r=(i=e[l])._input,a(r,i,t,o)}}},ywRt:function(e,t,r){"use strict";var n=r("bljh"),a=r("/CZE"),i=r("g9E0"),o=r("0RW4"),s=r("c8nr"),l=/"/g,c=new RegExp('("TOBESTRIPPED)|(TOBESTRIPPED")',"g");e.exports=function(e,t,r){var u,d=e._fullLayout,f=d._paper,h=d._toppaper,p=d.width,g=d.height;f.insert("rect",":first-child").call(i.setRect,0,0,p,g).call(o.fill,d.paper_bgcolor);var v=d._basePlotModules||[];for(u=0;u<v.length;u++){var m=v[u];m.toSVG&&m.toSVG(e)}if(h){var y=h.node().childNodes,x=Array.prototype.slice.call(y);for(u=0;u<x.length;u++){var b=x[u];b.childNodes.length&&f.node().appendChild(b)}}if(d._draggers&&d._draggers.remove(),f.node().style.background="",f.selectAll("text").attr({"data-unformatted":null,"data-math":null}).each((function(){var e=n.select(this);if("hidden"!==this.style.visibility&&"none"!==this.style.display){e.style({visibility:null,display:null});var t=this.style.fontFamily;t&&-1!==t.indexOf('"')&&e.style("font-family",t.replace(l,"TOBESTRIPPED"))}else e.remove()})),d._gradientUrlQueryParts){var w=[];for(var _ in d._gradientUrlQueryParts)w.push(_);w.length&&f.selectAll(w.join(",")).each((function(){var e=n.select(this),t=this.style.fill;t&&-1!==t.indexOf("url(")&&e.style("fill",t.replace(l,"TOBESTRIPPED"));var r=this.style.stroke;r&&-1!==r.indexOf("url(")&&e.style("stroke",r.replace(l,"TOBESTRIPPED"))}))}"pdf"!==t&&"eps"!==t||f.selectAll("#MathJax_SVG_glyphs path").attr("stroke-width",0),f.node().setAttributeNS(s.xmlns,"xmlns",s.svg),f.node().setAttributeNS(s.xmlns,"xmlns:xlink",s.xlink),"svg"===t&&r&&(f.attr("width",r*p),f.attr("height",r*g),f.attr("viewBox","0 0 "+p+" "+g));var k=(new window.XMLSerializer).serializeToString(f.node());return k=function(e){var t=n.select("body").append("div").style({display:"none"}).html(""),r=e.replace(/(&[^;]*;)/gi,(function(e){return"<"===e?"<":"&rt;"===e?">":-1!==e.indexOf("<")||-1!==e.indexOf(">")?"":t.html(e).text()}));return t.remove(),r}(k),k=(k=k.replace(/&(?!\w+;|\#[0-9]+;| \#x[0-9A-F]+;)/g,"&")).replace(c,"'"),a.isIE()&&(k=(k=(k=k.replace(/"/gi,"'")).replace(/(\('#)([^']*)('\))/gi,'("#$2")')).replace(/(\\')/gi,'"')),k}},yzSc:function(e,t,r){"use strict";var n=r("/CZE"),a=n.extendFlat,i=n.isPlainObject,o={valType:"flaglist",extras:["none"],flags:["calc","clearAxisTypes","plot","style","markerSize","colorbars"],description:["trace attributes should include an `editType` string matching this flaglist.","*calc* is the most extensive: a full `Plotly.plot` starting by clearing `gd.calcdata`","to force it to be regenerated","*clearAxisTypes* resets the types of the axes this trace is on, because new data could","cause the automatic axis type detection to change. Log type will not be cleared, as that","is never automatically chosen so must have been user-specified.","*plot* calls `Plotly.plot` but without first clearing `gd.calcdata`.","*style* only calls `module.style` (or module.editStyle) for all trace modules and redraws the legend.","*markerSize* is like *style*, but propagate axis-range changes due to scatter `marker.size`","*colorbars* only redraws colorbars."].join(" ")},s={valType:"flaglist",extras:["none"],flags:["calc","plot","legend","ticks","axrange","layoutstyle","modebar","camera","arraydraw","colorbars"],description:["layout attributes should include an `editType` string matching this flaglist.","*calc* is the most extensive: a full `Plotly.plot` starting by clearing `gd.calcdata`","to force it to be regenerated","*plot* calls `Plotly.plot` but without first clearing `gd.calcdata`.","*legend* only redraws the legend.","*ticks* only redraws axis ticks, labels, and gridlines.","*axrange* minimal sequence when updating axis ranges.","*layoutstyle* reapplies global and SVG cartesian axis styles.","*modebar* just updates the modebar.","*camera* just updates the camera settings for gl3d scenes.","*arraydraw* allows component arrays to invoke the redraw routines just for the","component(s) that changed.","*colorbars* only redraws colorbars."].join(" ")},l=o.flags.slice().concat(["fullReplot"]),c=s.flags.slice().concat("layoutReplot");function u(e){for(var t={},r=0;r<e.length;r++)t[e[r]]=!1;return t}function d(e,t,r){var n=a({},e);for(var o in n){var s=n[o];i(s)&&(n[o]=f(s,t,r,o))}return"from-root"===r&&(n.editType=t),n}function f(e,t,r,n){if(e.valType){var i=a({},e);if(i.editType=t,Array.isArray(e.items)){i.items=new Array(e.items.length);for(var o=0;o<e.items.length;o++)i.items[o]=f(e.items[o],t,"from-root")}return i}return d(e,t,"_"===n.charAt(0)?"nested":"from-root")}e.exports={traces:o,layout:s,traceFlags:function(){return u(l)},layoutFlags:function(){return u(c)},update:function(e,t){var r=t.editType;if(r&&"none"!==r)for(var n=r.split("+"),a=0;a<n.length;a++)e[n[a]]=!0},overrideAll:d}},zDIp:function(e,t,r){"use strict";var n=r("48bW");r.n(n).a},zDTy:function(e,t,r){},zRkR:function(e,t,r){"use strict";var n=r("PS76");e.exports={moduleType:"component",name:n.name,layoutAttributes:r("QtxG"),supplyLayoutDefaults:r("3MKb"),draw:r("/YBL")}},zYTo:function(e,t,r){"use strict";var n=r("/CZE"),a=r("BkK/"),i=r("JZU4").draw;function o(e){var t=e._fullLayout;n.filterVisible(t.annotations).forEach((function(t){var r=a.getFromId(e,t.xref),n=a.getFromId(e,t.yref);t._extremes={},r&&s(t,r),n&&s(t,n)}))}function s(e,t){var r,n=t._id,i=n.charAt(0),o=e[i],s=e["a"+i],l=e[i+"ref"],c=e["a"+i+"ref"],u=e["_"+i+"padplus"],d=e["_"+i+"padminus"],f={x:1,y:-1}[i]*e[i+"shift"],h=3*e.arrowsize*e.arrowwidth||0,p=h+f,g=h-f,v=3*e.startarrowsize*e.arrowwidth||0,m=v+f,y=v-f;if(c===l){var x=a.findExtremes(t,[t.r2c(o)],{ppadplus:p,ppadminus:g}),b=a.findExtremes(t,[t.r2c(s)],{ppadplus:Math.max(u,m),ppadminus:Math.max(d,y)});r={min:[x.min[0],b.min[0]],max:[x.max[0],b.max[0]]}}else m=s?m+s:m,y=s?y-s:y,r=a.findExtremes(t,[t.r2c(o)],{ppadplus:Math.max(u,p,m),ppadminus:Math.max(d,g,y)});e._extremes[n]=r}e.exports=function(e){var t=e._fullLayout;if(n.filterVisible(t.annotations).length&&e._fullData.length)return n.syncOrAsync([i,o],e)}},zbsN:function(e,t,r){(t=r("JPst")(!1)).push([e.i,".spinner[data-v-6c679bfb]{box-sizing:border-box;border-radius:100%;border:10px solid rgba(255,255,255,0.2);animation:circle-2-spin-data-v-6c679bfb 1s infinite linear}@keyframes circle-2-spin-data-v-6c679bfb{100%{transform:rotate(360deg)}}\n",""]),e.exports=t},zlYT:function(e,t,r){"use strict";var n=r("GbLo"),a=r("/CZE"),i=r("6AZA").FP_SAFE,o=r("Nx4I");function s(e,t){var r,n,i=[],o=l(t),s=c(e,t),u=s.min,d=s.max;if(0===u.length||0===d.length)return a.simpleMap(t.range,t.r2l);var f=u[0].val,h=d[0].val;for(r=1;r<u.length&&f===h;r++)f=Math.min(f,u[r].val);for(r=1;r<d.length&&f===h;r++)h=Math.max(h,d[r].val);var p=!1;if(t.range){var g=a.simpleMap(t.range,t.r2l);p=g[1]<g[0]}"reversed"===t.autorange&&(p=!0,t.autorange=!0);var v,m,y,x,b,w,_=t.rangemode,k="tozero"===_,T="nonnegative"===_,M=t._length,S=M/10,A=function(e,r){var n=0;if(t.rangebreaks)for(var a=t.locateBreaks(e,r),i=0;i<a.length;i++){var o=a[i];n+=o.max-o.min}return n},C=0;for(r=0;r<u.length;r++)for(v=u[r],n=0;n<d.length;n++)(w=(m=d[n]).val-v.val-A(v.val,m.val))>0&&((b=M-o(v)-o(m))>S?w/b>C&&(y=v,x=m,C=w/b):w/M>C&&(y={val:v.val,pad:0},x={val:m.val,pad:0},C=w/M));if(f===h){var P=f-1,O=f+1;if(k)if(0===f)i=[0,1];else{var I=(f>0?d:u).reduce((function(e,t){return Math.max(e,o(t))}),0),z=f/(1-Math.min(.5,I/M));i=f>0?[0,z]:[z,0]}else i=T?[Math.max(0,P),Math.max(1,O)]:[P,O]}else k?(y.val>=0&&(y={val:0,pad:0}),x.val<=0&&(x={val:0,pad:0})):T&&(y.val-C*o(y)<0&&(y={val:0,pad:0}),x.val<=0&&(x={val:1,pad:0})),C=(x.val-y.val-A(v.val,m.val))/(M-o(y)-o(x)),i=[y.val-C*o(y),x.val+C*o(x)];return p&&i.reverse(),a.simpleMap(i,t.l2r||Number)}function l(e){var t=e._length/20;return"domain"===e.constrain&&e._inputDomain&&(t*=(e._inputDomain[1]-e._inputDomain[0])/(e.domain[1]-e.domain[0])),function(e){return e.pad+(e.extrapad?t:0)}}function c(e,t){var r,n,a,i=t._id,o=e._fullData,s=e._fullLayout,l=[],c=[];function f(e,t){for(r=0;r<t.length;r++){var o=e[t[r]],s=(o._extremes||{})[i];if(!0===o.visible&&s){for(n=0;n<s.min.length;n++)a=s.min[n],u(l,a.val,a.pad,{extrapad:a.extrapad});for(n=0;n<s.max.length;n++)a=s.max[n],d(c,a.val,a.pad,{extrapad:a.extrapad})}}}return f(o,t._traceIndices),f(s.annotations||[],t._annIndices||[]),f(s.shapes||[],t._shapeIndices||[]),{min:l,max:c}}function u(e,t,r,n){f(e,t,r,n,p)}function d(e,t,r,n){f(e,t,r,n,g)}function f(e,t,r,n,a){for(var i=n.tozero,o=n.extrapad,s=!0,l=0;l<e.length&&s;l++){var c=e[l];if(a(c.val,t)&&c.pad>=r&&(c.extrapad||!o)){s=!1;break}a(t,c.val)&&c.pad<=r&&(o||!c.extrapad)&&(e.splice(l,1),l--)}if(s){var u=i&&0===t;e.push({val:t,pad:u?0:r,extrapad:!u&&o})}}function h(e){return n(e)&&Math.abs(e)<i}function p(e,t){return e<=t}function g(e,t){return e>=t}e.exports={getAutoRange:s,makePadFn:l,doAutoRange:function(e,t){if(t.setScale(),t.autorange){t.range=s(e,t),t._r=t.range.slice(),t._rl=a.simpleMap(t._r,t.r2l);var r=t._input,n={};n[t._attr+".range"]=t.range,n[t._attr+".autorange"]=t.autorange,o.call("_storeDirectGUIEdit",e.layout,e._fullLayout._preGUI,n),r.range=t.range.slice(),r.autorange=t.autorange}var i=t._anchorAxis;if(i&&i.rangeslider){var l=i.rangeslider[t._name];l&&"auto"===l.rangemode&&(l.range=s(e,t)),i._input.rangeslider[t._name]=a.extendFlat({},l)}},findExtremes:function(e,t,r){r||(r={});e._m||e.setScale();var a,o,s,l,c,f,p,g,v,m=[],y=[],x=t.length,b=r.padded||!1,w=r.tozero&&("linear"===e.type||"-"===e.type),_="log"===e.type,k=!1,T=r.vpadLinearized||!1;function M(e){if(Array.isArray(e))return k=!0,function(t){return Math.max(Number(e[t]||0),0)};var t=Math.max(Number(e||0),0);return function(){return t}}var S=M((e._m>0?r.ppadplus:r.ppadminus)||r.ppad||0),A=M((e._m>0?r.ppadminus:r.ppadplus)||r.ppad||0),C=M(r.vpadplus||r.vpad),P=M(r.vpadminus||r.vpad);if(!k){if(g=1/0,v=-1/0,_)for(a=0;a<x;a++)(o=t[a])<g&&o>0&&(g=o),o>v&&o<i&&(v=o);else for(a=0;a<x;a++)(o=t[a])<g&&o>-i&&(g=o),o>v&&o<i&&(v=o);t=[g,v],x=2}var O={tozero:w,extrapad:b};function I(r){s=t[r],n(s)&&(f=S(r),p=A(r),T?(l=e.c2l(s)-P(r),c=e.c2l(s)+C(r)):(g=s-P(r),v=s+C(r),_&&g<v/10&&(g=v/10),l=e.c2l(g),c=e.c2l(v)),w&&(l=Math.min(0,l),c=Math.max(0,c)),h(l)&&u(m,l,p,O),h(c)&&d(y,c,f,O))}var z=Math.min(6,x);for(a=0;a<z;a++)I(a);for(a=x-1;a>=z;a--)I(a);return{min:m,max:y,opts:r}},concatExtremes:c}},zsdP:function(e,t){e.exports={AFG:"afghan",ALA:"\\b\\wland",ALB:"albania",DZA:"algeria",ASM:"^(?=.*americ).*samoa",AND:"andorra",AGO:"angola",AIA:"anguill?a",ATA:"antarctica",ATG:"antigua",ARG:"argentin",ARM:"armenia",ABW:"^(?!.*bonaire).*\\baruba",AUS:"australia",AUT:"^(?!.*hungary).*austria|\\baustri.*\\bemp",AZE:"azerbaijan",BHS:"bahamas",BHR:"bahrain",BGD:"bangladesh|^(?=.*east).*paki?stan",BRB:"barbados",BLR:"belarus|byelo",BEL:"^(?!.*luxem).*belgium",BLZ:"belize|^(?=.*british).*honduras",BEN:"benin|dahome",BMU:"bermuda",BTN:"bhutan",BOL:"bolivia",BES:"^(?=.*bonaire).*eustatius|^(?=.*carib).*netherlands|\\bbes.?islands",BIH:"herzegovina|bosnia",BWA:"botswana|bechuana",BVT:"bouvet",BRA:"brazil",IOT:"british.?indian.?ocean",BRN:"brunei",BGR:"bulgaria",BFA:"burkina|\\bfaso|upper.?volta",BDI:"burundi",CPV:"verde",KHM:"cambodia|kampuchea|khmer",CMR:"cameroon",CAN:"canada",CYM:"cayman",CAF:"\\bcentral.african.republic",TCD:"\\bchad",CHL:"\\bchile",CHN:"^(?!.*\\bmac)(?!.*\\bhong)(?!.*\\btai)(?!.*\\brep).*china|^(?=.*peo)(?=.*rep).*china",CXR:"christmas",CCK:"\\bcocos|keeling",COL:"colombia",COM:"comoro",COG:"^(?!.*\\bdem)(?!.*\\bd[\\.]?r)(?!.*kinshasa)(?!.*zaire)(?!.*belg)(?!.*l.opoldville)(?!.*free).*\\bcongo",COK:"\\bcook",CRI:"costa.?rica",CIV:"ivoire|ivory",HRV:"croatia",CUB:"\\bcuba",CUW:"^(?!.*bonaire).*\\bcura(c|รง)ao",CYP:"cyprus",CSK:"czechoslovakia",CZE:"^(?=.*rep).*czech|czechia|bohemia",COD:"\\bdem.*congo|congo.*\\bdem|congo.*\\bd[\\.]?r|\\bd[\\.]?r.*congo|belgian.?congo|congo.?free.?state|kinshasa|zaire|l.opoldville|drc|droc|rdc",DNK:"denmark",DJI:"djibouti",DMA:"dominica(?!n)",DOM:"dominican.rep",ECU:"ecuador",EGY:"egypt",SLV:"el.?salvador",GNQ:"guine.*eq|eq.*guine|^(?=.*span).*guinea",ERI:"eritrea",EST:"estonia",ETH:"ethiopia|abyssinia",FLK:"falkland|malvinas",FRO:"faroe|faeroe",FJI:"fiji",FIN:"finland",FRA:"^(?!.*\\bdep)(?!.*martinique).*france|french.?republic|\\bgaul",GUF:"^(?=.*french).*guiana",PYF:"french.?polynesia|tahiti",ATF:"french.?southern",GAB:"gabon",GMB:"gambia",GEO:"^(?!.*south).*georgia",DDR:"german.?democratic.?republic|democratic.?republic.*germany|east.germany",DEU:"^(?!.*east).*germany|^(?=.*\\bfed.*\\brep).*german",GHA:"ghana|gold.?coast",GIB:"gibraltar",GRC:"greece|hellenic|hellas",GRL:"greenland",GRD:"grenada",GLP:"guadeloupe",GUM:"\\bguam",GTM:"guatemala",GGY:"guernsey",GIN:"^(?!.*eq)(?!.*span)(?!.*bissau)(?!.*portu)(?!.*new).*guinea",GNB:"bissau|^(?=.*portu).*guinea",GUY:"guyana|british.?guiana",HTI:"haiti",HMD:"heard.*mcdonald",VAT:"holy.?see|vatican|papal.?st",HND:"^(?!.*brit).*honduras",HKG:"hong.?kong",HUN:"^(?!.*austr).*hungary",ISL:"iceland",IND:"india(?!.*ocea)",IDN:"indonesia",IRN:"\\biran|persia",IRQ:"\\biraq|mesopotamia",IRL:"(^ireland)|(^republic.*ireland)",IMN:"^(?=.*isle).*\\bman",ISR:"israel",ITA:"italy",JAM:"jamaica",JPN:"japan",JEY:"jersey",JOR:"jordan",KAZ:"kazak",KEN:"kenya|british.?east.?africa|east.?africa.?prot",KIR:"kiribati",PRK:"^(?=.*democrat|people|north|d.*p.*.r).*\\bkorea|dprk|korea.*(d.*p.*r)",KWT:"kuwait",KGZ:"kyrgyz|kirghiz",LAO:"\\blaos?\\b",LVA:"latvia",LBN:"lebanon",LSO:"lesotho|basuto",LBR:"liberia",LBY:"libya",LIE:"liechtenstein",LTU:"lithuania",LUX:"^(?!.*belg).*luxem",MAC:"maca(o|u)",MDG:"madagascar|malagasy",MWI:"malawi|nyasa",MYS:"malaysia",MDV:"maldive",MLI:"\\bmali\\b",MLT:"\\bmalta",MHL:"marshall",MTQ:"martinique",MRT:"mauritania",MUS:"mauritius",MYT:"\\bmayotte",MEX:"\\bmexic",FSM:"fed.*micronesia|micronesia.*fed",MCO:"monaco",MNG:"mongolia",MNE:"^(?!.*serbia).*montenegro",MSR:"montserrat",MAR:"morocco|\\bmaroc",MOZ:"mozambique",MMR:"myanmar|burma",NAM:"namibia",NRU:"nauru",NPL:"nepal",NLD:"^(?!.*\\bant)(?!.*\\bcarib).*netherlands",ANT:"^(?=.*\\bant).*(nether|dutch)",NCL:"new.?caledonia",NZL:"new.?zealand",NIC:"nicaragua",NER:"\\bniger(?!ia)",NGA:"nigeria",NIU:"niue",NFK:"norfolk",MNP:"mariana",NOR:"norway",OMN:"\\boman|trucial",PAK:"^(?!.*east).*paki?stan",PLW:"palau",PSE:"palestin|\\bgaza|west.?bank",PAN:"panama",PNG:"papua|new.?guinea",PRY:"paraguay",PER:"peru",PHL:"philippines",PCN:"pitcairn",POL:"poland",PRT:"portugal",PRI:"puerto.?rico",QAT:"qatar",KOR:"^(?!.*d.*p.*r)(?!.*democrat)(?!.*people)(?!.*north).*\\bkorea(?!.*d.*p.*r)",MDA:"moldov|b(a|e)ssarabia",REU:"r(e|รฉ)union",ROU:"r(o|u|ou)mania",RUS:"\\brussia|soviet.?union|u\\.?s\\.?s\\.?r|socialist.?republics",RWA:"rwanda",BLM:"barth(e|รฉ)lemy",SHN:"helena",KNA:"kitts|\\bnevis",LCA:"\\blucia",MAF:"^(?=.*collectivity).*martin|^(?=.*france).*martin(?!ique)|^(?=.*french).*martin(?!ique)",SPM:"miquelon",VCT:"vincent",WSM:"^(?!.*amer).*samoa",SMR:"san.?marino",STP:"\\bs(a|รฃ)o.?tom(e|รฉ)",SAU:"\\bsa\\w*.?arabia",SEN:"senegal",SRB:"^(?!.*monte).*serbia",SYC:"seychell",SLE:"sierra",SGP:"singapore",SXM:"^(?!.*martin)(?!.*saba).*maarten",SVK:"^(?!.*cze).*slovak",SVN:"slovenia",SLB:"solomon",SOM:"somali",ZAF:"south.africa|s\\\\..?africa",SGS:"south.?georgia|sandwich",SSD:"\\bs\\w*.?sudan",ESP:"spain",LKA:"sri.?lanka|ceylon",SDN:"^(?!.*\\bs(?!u)).*sudan",SUR:"surinam|dutch.?guiana",SJM:"svalbard",SWZ:"swaziland",SWE:"sweden",CHE:"switz|swiss",SYR:"syria",TWN:"taiwan|taipei|formosa|^(?!.*peo)(?=.*rep).*china",TJK:"tajik",THA:"thailand|\\bsiam",MKD:"macedonia|fyrom",TLS:"^(?=.*leste).*timor|^(?=.*east).*timor",TGO:"togo",TKL:"tokelau",TON:"tonga",TTO:"trinidad|tobago",TUN:"tunisia",TUR:"turkey",TKM:"turkmen",TCA:"turks",TUV:"tuvalu",UGA:"uganda",UKR:"ukrain",ARE:"emirates|^u\\.?a\\.?e\\.?$|united.?arab.?em",GBR:"united.?kingdom|britain|^u\\.?k\\.?$",TZA:"tanzania",USA:"united.?states\\b(?!.*islands)|\\bu\\.?s\\.?a\\.?\\b|^\\s*u\\.?s\\.?\\b(?!.*islands)",UMI:"minor.?outlying.?is",URY:"uruguay",UZB:"uzbek",VUT:"vanuatu|new.?hebrides",VEN:"venezuela",VNM:"^(?!.*republic).*viet.?nam|^(?=.*socialist).*viet.?nam",VGB:"^(?=.*\\bu\\.?\\s?k).*virgin|^(?=.*brit).*virgin|^(?=.*kingdom).*virgin",VIR:"^(?=.*\\bu\\.?\\s?s).*virgin|^(?=.*states).*virgin",WLF:"futuna|wallis",ESH:"western.sahara",YEM:"^(?!.*arab)(?!.*north)(?!.*sana)(?!.*peo)(?!.*dem)(?!.*south)(?!.*aden)(?!.*\\bp\\.?d\\.?r).*yemen",YMD:"^(?=.*peo).*yemen|^(?!.*rep)(?=.*dem).*yemen|^(?=.*south).*yemen|^(?=.*aden).*yemen|^(?=.*\\bp\\.?d\\.?r).*yemen",YUG:"yugoslavia",ZMB:"zambia|northern.?rhodesia",EAZ:"zanzibar",ZWE:"zimbabwe|^(?!.*northern).*rhodesia"}},zvAA:function(e,t,r){"use strict";var n=r("/CZE"),a=r("BkK/"),i=r("2FgJ"),o=r("/cea");function s(e){return c(e.line.width,e.xsizemode,e.x0,e.x1,e.path,!1)}function l(e){return c(e.line.width,e.ysizemode,e.y0,e.y1,e.path,!0)}function c(e,t,r,a,s,l){var c=e/2,u=l;if("pixel"===t){var d=s?o.extractPathCoords(s,l?i.paramIsY:i.paramIsX):[r,a],f=n.aggNums(Math.max,null,d),h=n.aggNums(Math.min,null,d),p=h<0?Math.abs(h)+c:c,g=f>0?f+c:c;return{ppad:c,ppadplus:u?p:g,ppadminus:u?g:p}}return{ppad:c}}function u(e,t,r,n,a){var s="category"===e.type||"multicategory"===e.type?e.r2c:e.d2c;if(void 0!==t)return[s(t),s(r)];if(n){var l,c,u,d,f=1/0,h=-1/0,p=n.match(i.segmentRE);for("date"===e.type&&(s=o.decodeDate(s)),l=0;l<p.length;l++)void 0!==(c=a[p[l].charAt(0)].drawn)&&(!(u=p[l].substr(1).match(i.paramRE))||u.length<c||((d=s(u[c]))<f&&(f=d),d>h&&(h=d)));return h>=f?[f,h]:void 0}}e.exports=function(e){var t=e._fullLayout,r=n.filterVisible(t.shapes);if(r.length&&e._fullData.length)for(var o=0;o<r.length;o++){var c,d,f=r[o];if(f._extremes={},"paper"!==f.xref){var h="pixel"===f.xsizemode?f.xanchor:f.x0,p="pixel"===f.xsizemode?f.xanchor:f.x1;(d=u(c=a.getFromId(e,f.xref),h,p,f.path,i.paramIsX))&&(f._extremes[c._id]=a.findExtremes(c,d,s(f)))}if("paper"!==f.yref){var g="pixel"===f.ysizemode?f.yanchor:f.y0,v="pixel"===f.ysizemode?f.yanchor:f.y1;(d=u(c=a.getFromId(e,f.yref),g,v,f.path,i.paramIsY))&&(f._extremes[c._id]=a.findExtremes(c,d,l(f)))}}}}}]);