/*! For license information please see dll.SolutionButton.js.LICENSE.txt */
(window.webpackJsonp_name_dll=window.webpackJsonp_name_dll||[]).push([[134],{2828:function(e,o,t){"use strict";t.r(o);var n=t(965),i=t(2829);n.default.addResources("de","components",i.DE),n.default.addResources("en","components",i.EN),n.default.addResources("es","components",i.ES)},2829:function(e){e.exports=JSON.parse('{"DE":{"show-solution":"Lösung anzeigen","hide-solution":"Lösung ausblenden","solution-available-tooltip":"Lösung wird verfügbar, nachdem die Antwort eingereicht wurde","solution-available-tooltip-hints":"und alle Hinweise angefordert wurden"},"EN":{"show-solution":"Show Solution","hide-solution":"Hide Solution","solution-available-tooltip":"Solution becomes available after answer is submitted","solution-available-tooltip-hints":"and all hints have been requested"},"ES":{"show-solution":"Mostrar la solución","hide-solution":"Solución de ocultamiento","solution-available-tooltip":"La solución está disponible después de presentar la respuesta","solution-available-tooltip-hints":"y se han pedido todas las pistas"}}')},895:function(e,o,t){"use strict";t.r(o);var n=t(202),i=t.n(n),a=t(0),l=t.n(a),s=t(1),u=t.n(s),d=t(2309),r=t(77),c=t(214),p=t(91),b=(t(2828),function(e){var o=e.disabled,t=e.hasHints,n=e.onClick,s=e.t,u=Object(a.useState)(!1),d=i()(u,2),b=d[0],h=d[1],w=l.a.createElement(c.default,{id:"tooltip"},s("solution-available-tooltip"),t?s("solution-available-tooltip-hints"):null,".");return o?l.a.createElement(p.default,{placement:"top",positionLeft:100,overlay:w,rootClose:!0},l.a.createElement("div",{style:{display:"inline-block"}},l.a.createElement(r.default,{className:"solution-button",variant:"warning",size:"sm",disabled:!0,style:{pointerEvents:"none"}},s("show-solution")))):l.a.createElement("div",{style:{display:"inline-block"}},l.a.createElement(r.default,{className:"solution-button",variant:"warning",size:"sm",onClick:function(){h(!b),n()}},s(b?"hide-solution":"show-solution")))});b.propTypes={disabled:u.a.bool.isRequired,hasHints:u.a.bool,onClick:u.a.func.isRequired},b.defaultProps={hasHints:!0},o.default=Object(d.withTranslation)()(b)}}]);