/*! For license information please see dll.Qrcode.js.LICENSE.txt */
(window.webpackJsonp_name_dll=window.webpackJsonp_name_dll||[]).push([[107],{1160:function(e,t,n){"use strict";n.r(t),function(e){var a=n(150),i=n.n(a),r=n(111),c=n.n(r),o=n(34),s="object"===(void 0===e?"undefined":i()(e))&&c()(e.versions)&&Object(o.isPrimitive)(e.versions.electron)&&Object(o.isPrimitive)(e.versions.chrome)&&("browser"===e.type||"renderer"===e.type);t.default=s}.call(this,n(371))},912:function(e,t,n){"use strict";n.r(t);var a=n(0),i=n.n(a),r=n(36),c=n.n(r),o=n(1),s=n.n(o),l=n(2905),d=n.n(l),h=n(1160),u=c()("isle:qrcode"),w=function(e){var t,n=e.text,r=e.scale,c=e.width,o=e.height,s=e.center,l=e.showText,w=e.style;Object(a.useEffect)((function(){var e=n||window.location.href;u("Display '".concat(e,"' as QR code...")),d.a.toCanvas(t,e,{scale:r,width:c,height:o},u);var a=function(){if(!n){var e=n||window.location.href;u("Display '".concat(e,"' as QR code...")),d.a.toCanvas(t,e,{scale:r,width:c,height:o},u)}};return h.default||window.addEventListener("hashchange",a),function(){h.default||window.removeEventListener("hashchange",a)}}),[n,r,c,o,t]);var f=i.a.createElement("canvas",{className:"qrcode-canvas ".concat(s?"center":""),ref:function(e){e&&(t=e)},style:w});if(l){var v={};return s&&(v.textAlign="center"),i.a.createElement(a.Fragment,null,f,i.a.createElement("div",{className:"title",style:v},n||window.location.href))}return f};w.defaultProps={text:null,scale:8,width:null,height:null,showText:!1,center:!1,style:{}},w.propTypes={text:s.a.string,scale:s.a.number,width:s.a.number,height:s.a.number,showText:s.a.bool,center:s.a.bool,style:s.a.object},t.default=w}}]);