;r=void 0!==n.indexMatch?" in "+t.printLocation(n.path,e,"")+'Perhaps it was incomplete? Did you mean: "'+n.indexMatch+'"?\n \n':s.distance<=4&&n.distance>s.distance?" in "+t.printLocation(n.path,e,"") +"Perhaps it was misplaced? Matching option found at: "+t.printLocation(s.path,s.closestMatch,""):n.distance<=8?'. Did you mean "'+n.closestMatch+'"?'+t.printLocation(n.path,e):". Did you mean one of these: "+t.print((0,d.default)(i)) +t.printLocation(o,e),console.log('%cUnknown option detected: "'+e +'"'+r,g),m=!0}},{key:"findInOptions",value:function(e,i,o){var n=arguments.length>3&&void 0! ==arguments[3]&&arguments[3],s=1e9,r="",a=[],h=e.toLowerCase(),d=void 0;for(var l in i){var u=void 0;if(void 0!==i[l].__type__&&!0===n){var c=t.findInOptions(e,i[l],f.copyAndExtendArray(o,l));s>c.distance&&(r=c.closestMatch,a=else-1! ==l.toLowerCase().indexOf(h)&&(d=l),u=t.levenshteinDistance(e,l),s>u&&(r=l,a=f.copyArray(return{closestMatch:r,path:a,distance:s,indexMatch:d}}}, {key:"printLocation",value:function(t,e){for(var i=arguments.length>2&&void 0! ==arguments[2]?arguments[2]:"Problem value found at: \n",o="\n\n"+i+"options = {\n",n=0;n0&&(this.enableBorderDashes(t,e),t.stroke(),this.disableBorderDashes({key:"performFill",value:function(t,e) {this.enableShadow(t,e),t.fill(),this.disableShadow(t,e),this.performStroke(t,e)}}, {key:"_addBoundingBoxMargin",value:function(t){this.boundingBox.left- =t,this.boundingBox.top-=t,this.boundingBox.bottom+=t,this.boundingBox.right +=t}},{key:"_updateBoundingBox",value:function(t,e,i,o,n){void 0! ==i&&this.resize(i,o,n),this.left=t-this.width/2,this.top=e-this.height/ 2,this.boundingBox.left=this.left,this.boundingBox.top=this.top,this.boundingBox.bottom=+this.height,this.boundingBox.right=this.left+this.width}}, {key:"updateBoundingBox",value:function(t,e,i,o,n) {this._updateBoundingBox(t,e,i,o,n)}}, {key:"getDimensionsFromLabel",value:function(t,e,i) {this.textSize=this.labelModule.getTextSize(t,e,i);var o=this.textSize.width,n=this.textSize.height;return 0===o&&(o=14,n=14), {width:o,height:n}}}]),t}();e.default=l},function(t,e,i){function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:! 0});var n=i(3),s=o(n),r=i(0),a=o(r),h=i(1),d=o(h),l=i(4),u=o(l),c=i(5),p=o(c),f=i(23),m=o(f),v={function e(t,i,o){return(0,a.default)(this,e),(0,u.default)(this, (e.__proto__||(0,s.default)(e)).call(this,t,i,o))}return(0,p.default)(e,t), (0,d.default)(e,[{key:"resize",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]? arguments[1]:this.selected,i=arguments.length>2&&void 0!==arguments[2]? arguments[2]:this.hover,o=arguments.length>3&&void 0!==arguments[3]? arguments[3]:{size:this.options.size};if(this.needsRefresh(e,i)) {this.labelModule.getTextSize(t,e,i);var