/*! For license information please see dll.221.js.LICENSE.txt */
(window.webpackJsonp_name_dll=window.webpackJsonp_name_dll||[]).push([[221],{1014:function(e,t,a){"use strict";a.r(t);var n=a(1076),l=a.n(n),o=a(1023),r=a.n(o),u=[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122];t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32,t=r()(u,{size:e});return l.a.apply(null,t)}},3389:function(e,t,a){"use strict";a.r(t);var n=a(202),l=a.n(n),o=a(0),r=a.n(o),u=a(1),i=a.n(u),s=a(215),c=a(88),d=a(77),f=a(79),p=a(116),m=a(204),g=a(225),v=a(209),b=a(1014),E=a(1555),y=a(200),h=a(966),O=function(e){var t=e.data,a=e.variables,n=e.defaultValue,u=e.groupingVariables,i=e.t,O=e.session,P=e.logAction,C=e.onCreated,R=Object(o.useState)(n||a[0]),V=l()(R,2),_=V[0],A=V[1],T=Object(o.useState)([]),j=l()(T,2),q=j[0],w=j[1],B=Object(o.useState)("vertical"),S=l()(B,2),k=S[0],x=S[1],L=Object(o.useState)(!1),X=l()(L,2),z=X[0],N=X[1];return r.a.createElement(c.default,null,r.a.createElement(c.default.Header,{as:"h4"},i("Box Plot"),r.a.createElement(h.default,{title:i("Box Plot"),content:i("Box Plot-description")})),r.a.createElement(c.default.Body,null,r.a.createElement(m.default,{legend:i("variable"),defaultValue:_,options:a,onChange:A}),r.a.createElement(f.default,{controlId:"boxplot-form-select"},r.a.createElement(p.default,null,i("group-by"),":"),r.a.createElement(s.default,{value:q,options:u.map((function(e){return{label:e,value:e}})),isClearable:!0,isMulti:!0,onChange:function(e){(!e||e.length<=2)&&w(e)},styles:g.default,menuPortalTarget:document.body})),r.a.createElement(m.default,{legend:i("orientation"),options:["vertical","horizontal"],defaultValue:"vertical",menuPlacement:"top",onChange:x}),r.a.createElement(v.default,{legend:i("overlay-points"),defaultValue:!1,onChange:N}),r.a.createElement(d.default,{variant:"primary",block:!0,onClick:function(){var e=(q||[]).map((function(e){return e.value})),n=Object(b.default)(6),l={variable:_,group:e,plotId:n},o=r.a.createElement(E.default,{id:n,onShare:function(){O.addNotification({title:i("plot-shared"),message:i("plot-shared-message"),level:"success",position:"tr"}),P(y.DATA_EXPLORER_SHARE_BOXPLOT,l)},action:l,data:t,variable:_,group:e,orientation:k,overlayPoints:z,variables:a});P(y.DATA_EXPLORER_BOXPLOT,l),C(o)}},i("generate"))))};O.defaultProps={defaultValue:null,groupingVariables:null,logAction:function(){},onCreated:function(){}},O.propTypes={data:i.a.object.isRequired,defaultValue:i.a.string,groupingVariables:i.a.array,logAction:i.a.func,onCreated:i.a.func,session:i.a.object.isRequired,variables:i.a.array.isRequired},t.default=O},966:function(e,t,a){"use strict";a.r(t);var n=a(0),l=a.n(n),o=a(1),r=a.n(o),u=a(77),i=a(974),s=a(971),c=a(970),d=a(998),f=function(e){var t=l.a.createElement(i.default,{id:"popover-positioned-right"},l.a.createElement(s.default,null,e.title),l.a.createElement(c.default,null,e.content));return l.a.createElement(d.default,{trigger:["hover","focus"],placement:"left",rootClose:!0,overlay:t},l.a.createElement(u.default,{size:"sm",variant:"outline-secondary",className:"question-button"},l.a.createElement("div",{className:"fa fa-question"})))};f.propTypes={content:r.a.oneOfType([r.a.string,r.a.node]).isRequired,title:r.a.string.isRequired},t.default=f}}]);