@openremote/or-gauge 1.13.1 → 1.14.0-snapshot
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@types/gaugeJS.d.ts +2 -120
- package/custom-elements-jsx.d.ts +123 -63
- package/dist/umd/index.bundle.js +11 -11
- package/dist/umd/index.bundle.js.map +1 -1
- package/dist/umd/index.js +11 -11
- package/dist/umd/index.js.map +1 -1
- package/dist/umd/index.orbundle.js +14 -14
- package/dist/umd/index.orbundle.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +12 -7
package/dist/umd/index.bundle.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("ORModel"),require("ORTranslate"),require("ORIcon"),require("ORCore")):"function"==typeof define&&define.amd?define(["ORModel","ORTranslate","ORIcon","ORCore"],e):"object"==typeof exports?exports.ORGauge=e(require("ORModel"),require("ORTranslate"),require("ORIcon"),require("ORCore")):t.ORGauge=e(t.ORModel,t.ORTranslate,t.ORIcon,t.ORCore)}(self,(t,e,n,r)=>(()=>{var i={658:function(t){(function(){var e,n,r,i,o,u,s,a,l,c,h,f,p=[].slice,d={}.hasOwnProperty,g=function(t,e){for(var n in e)d.call(e,n)&&(t[n]=e[n]);function r(){this.constructor=t}return r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype,t},v=[].indexOf||function(t){for(var e=0,n=this.length;e<n;e++)if(e in this&&this[e]===t)return e;return -1};!function(){var t,e,n,r,i,o,u;for(n=0,i=(u=["ms","moz","webkit","o"]).length;n<i&&(o=u[n],!window.requestAnimationFrame);n++)window.requestAnimationFrame=window[o+"RequestAnimationFrame"],window.cancelAnimationFrame=window[o+"CancelAnimationFrame"]||window[o+"CancelRequestAnimationFrame"];t=null,r=0,e={},requestAnimationFrame?window.cancelAnimationFrame||(t=window.requestAnimationFrame,window.requestAnimationFrame=function(n,i){var o;return o=++r,t(function(){if(!e[o])return n()},i),o},window.cancelAnimationFrame=function(t){return e[t]=!0}):(window.requestAnimationFrame=function(t,e){var n,r,i,o;return o=Math.max(0,16-((n=new Date().getTime())-i)),r=window.setTimeout(function(){return t(n+o)},o),i=n+o,r},window.cancelAnimationFrame=function(t){return clearTimeout(t)})}(),f=function(t){var e,n;for(e=Math.floor(t/3600),n=Math.floor((t-3600*e)/60),t-=3600*e+60*n,t+="",n+="";n.length<2;)n="0"+n;for(;t.length<2;)t="0"+t;return(e=e?e+":":"")+n+":"+t},c=function(){var t,e,n;return e=1<=arguments.length?p.call(arguments,0):[],n=e[0],t=e[1],a(n.toFixed(t))},h=function(t,e){var n,r,i;for(n in r={},t)d.call(t,n)&&(i=t[n],r[n]=i);for(n in e)d.call(e,n)&&(i=e[n],r[n]=i);return r},a=function(t){var e,n,r,i;for(t+="",r=(n=t.split("."))[0],i="",n.length>1&&(i="."+n[1]),e=/(\d+)(\d{3})/;e.test(r);)r=r.replace(e,"$1,$2");return r+i},l=function(t){return"#"===t.charAt(0)?t.substring(1,7):t},n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return g(e,t),e.prototype.displayScale=1,e.prototype.forceUpdate=!0,e.prototype.setTextField=function(t,e){return this.textField=t instanceof u?t:new u(t,e)},e.prototype.setMinValue=function(t,e){var n,r,i,o,u;if(this.minValue=t,null==e&&(e=!0),e){for(r=0,this.displayedValue=this.minValue,o=this.gp||[],u=[],i=o.length;r<i;r++)n=o[r],u.push(n.displayedValue=this.minValue);return u}},e.prototype.setOptions=function(t){return null==t&&(t=null),this.options=h(this.options,t),this.textField&&(this.textField.el.style.fontSize=t.fontSize+"px"),this.options.angle>.5&&(this.options.angle=.5),this.configDisplayScale(),this},e.prototype.configDisplayScale=function(){var t,e,n,r,i;return r=this.displayScale,!1===this.options.highDpiSupport?delete this.displayScale:(e=window.devicePixelRatio||1,t=this.ctx.webkitBackingStorePixelRatio||this.ctx.mozBackingStorePixelRatio||this.ctx.msBackingStorePixelRatio||this.ctx.oBackingStorePixelRatio||this.ctx.backingStorePixelRatio||1,this.displayScale=e/t),this.displayScale!==r&&(i=this.canvas.G__width||this.canvas.width,n=this.canvas.G__height||this.canvas.height,this.canvas.width=i*this.displayScale,this.canvas.height=n*this.displayScale,this.canvas.style.width=i+"px",this.canvas.style.height=n+"px",this.canvas.G__width=i,this.canvas.G__height=n),this},e.prototype.parseValue=function(t){return isFinite(t=parseFloat(t)||Number(t))?t:0},e}(s=function(){function t(t,e){null==t&&(t=!0),this.clear=null==e||e,t&&AnimationUpdater.add(this)}return t.prototype.animationSpeed=32,t.prototype.update=function(t){var e;return null==t&&(t=!1),(!!t||this.displayedValue!==this.value)&&(this.ctx&&this.clear&&this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height),.001>=Math.abs((e=this.value-this.displayedValue)/this.animationSpeed)?this.displayedValue=this.value:this.displayedValue=this.displayedValue+e/this.animationSpeed,this.render(),!0)},t}()),u=function(){function t(t,e){this.el=t,this.fractionDigits=e}return t.prototype.render=function(t){return this.el.innerHTML=c(t.displayedValue,this.fractionDigits)},t}(),function(t){function e(t,n){if(this.elem=t,this.text=null!=n&&n,e.__super__.constructor.call(this),void 0===this.elem)throw Error("The element isn't defined.");this.value=+this.elem.innerHTML,this.text&&(this.value=0)}g(e,t),e.prototype.displayedValue=0,e.prototype.value=0,e.prototype.setVal=function(t){return this.value=+t},e.prototype.render=function(){var t;return t=this.text?f(this.displayedValue.toFixed(0)):a(c(this.displayedValue)),this.elem.innerHTML=t}}(s),o=function(t){function e(t){if(this.gauge=t,void 0===this.gauge)throw Error("The element isn't defined.");this.ctx=this.gauge.ctx,this.canvas=this.gauge.canvas,e.__super__.constructor.call(this,!1,!1),this.setOptions()}return g(e,t),e.prototype.displayedValue=0,e.prototype.value=0,e.prototype.options={strokeWidth:.035,length:.1,color:"#000000",iconPath:null,iconScale:1,iconAngle:0},e.prototype.img=null,e.prototype.setOptions=function(t){if(null==t&&(t=null),this.options=h(this.options,t),this.length=2*this.gauge.radius*this.gauge.options.radiusScale*this.options.length,this.strokeWidth=this.canvas.height*this.options.strokeWidth,this.maxValue=this.gauge.maxValue,this.minValue=this.gauge.minValue,this.animationSpeed=this.gauge.animationSpeed,this.options.angle=this.gauge.options.angle,this.options.iconPath)return this.img=new Image,this.img.src=this.options.iconPath},e.prototype.render=function(){var t,e,n,r,i,o,u,s,a;if(t=this.gauge.getAngle.call(this,this.displayedValue),s=Math.round(this.length*Math.cos(t)),a=Math.round(this.length*Math.sin(t)),o=Math.round(this.strokeWidth*Math.cos(t-Math.PI/2)),u=Math.round(this.strokeWidth*Math.sin(t-Math.PI/2)),e=Math.round(this.strokeWidth*Math.cos(t+Math.PI/2)),n=Math.round(this.strokeWidth*Math.sin(t+Math.PI/2)),this.ctx.beginPath(),this.ctx.fillStyle=this.options.color,this.ctx.arc(0,0,this.strokeWidth,0,2*Math.PI,!1),this.ctx.fill(),this.ctx.beginPath(),this.ctx.moveTo(o,u),this.ctx.lineTo(s,a),this.ctx.lineTo(e,n),this.ctx.fill(),this.img)return r=Math.round(this.img.width*this.options.iconScale),i=Math.round(this.img.height*this.options.iconScale),this.ctx.save(),this.ctx.translate(s,a),this.ctx.rotate(t+Math.PI/180*(90+this.options.iconAngle)),this.ctx.drawImage(this.img,-r/2,-i/2,r,i),this.ctx.restore()},e}(s),function(){function t(t){this.elem=t}t.prototype.updateValues=function(t){return this.value=t[0],this.maxValue=t[1],this.avgValue=t[2],this.render()},t.prototype.render=function(){var t,e;return this.textField&&this.textField.text(c(this.value)),0===this.maxValue&&(this.maxValue=2*this.avgValue),e=this.value/this.maxValue*100,t=this.avgValue/this.maxValue*100,$(".bar-value",this.elem).css({width:e+"%"}),$(".typical-value",this.elem).css({width:t+"%"})}}(),i=function(t){function e(t){var n,r;this.canvas=t,e.__super__.constructor.call(this),this.percentColors=null,"undefined"!=typeof G_vmlCanvasManager&&(this.canvas=window.G_vmlCanvasManager.initElement(this.canvas)),this.ctx=this.canvas.getContext("2d"),n=this.canvas.clientHeight,r=this.canvas.clientWidth,this.canvas.height=n,this.canvas.width=r,this.gp=[new o(this)],this.setOptions()}return g(e,t),e.prototype.elem=null,e.prototype.value=[20],e.prototype.maxValue=80,e.prototype.minValue=0,e.prototype.displayedAngle=0,e.prototype.displayedValue=0,e.prototype.lineWidth=40,e.prototype.paddingTop=.1,e.prototype.paddingBottom=.1,e.prototype.percentColors=null,e.prototype.options={colorStart:"#6fadcf",colorStop:void 0,gradientType:0,strokeColor:"#e0e0e0",pointer:{length:.8,strokeWidth:.035,iconScale:1},angle:.15,lineWidth:.44,radiusScale:1,fontSize:40,limitMax:!1,limitMin:!1},e.prototype.setOptions=function(t){var n,r,i,o,u;for(null==t&&(t=null),e.__super__.setOptions.call(this,t),this.configPercentColors(),this.extraPadding=0,this.options.angle<0&&(o=Math.PI*(1+this.options.angle),this.extraPadding=Math.sin(o)),this.availableHeight=this.canvas.height*(1-this.paddingTop-this.paddingBottom),this.lineWidth=this.availableHeight*this.options.lineWidth,this.radius=(this.availableHeight-this.lineWidth/2)/(1+this.extraPadding),this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height),r=0,i=(u=this.gp).length;r<i;r++)(n=u[r]).setOptions(this.options.pointer),n.render();return this.render(),this},e.prototype.configPercentColors=function(){var t,e,n,r,i,o,u;if(this.percentColors=null,void 0!==this.options.percentColors){for(this.percentColors=[],o=[],n=r=0,i=this.options.percentColors.length-1;0<=i?r<=i:r>=i;n=0<=i?++r:--r)u=parseInt(l(this.options.percentColors[n][1]).substring(0,2),16),e=parseInt(l(this.options.percentColors[n][1]).substring(2,4),16),t=parseInt(l(this.options.percentColors[n][1]).substring(4,6),16),o.push(this.percentColors[n]={pct:this.options.percentColors[n][0],color:{r:u,g:e,b:t}});return o}},e.prototype.set=function(t){var e,n,r,i,u,s,a,l,c;for(t instanceof Array||(t=[t]),n=r=0,a=t.length-1;0<=a?r<=a:r>=a;n=0<=a?++r:--r)t[n]=this.parseValue(t[n]);if(t.length>this.gp.length)for(n=i=0,l=t.length-this.gp.length;0<=l?i<l:i>l;n=0<=l?++i:--i)(e=new o(this)).setOptions(this.options.pointer),this.gp.push(e);else t.length<this.gp.length&&(this.gp=this.gp.slice(this.gp.length-t.length));for(s=0,n=0,u=t.length;s<u;s++)(c=t[s])>this.maxValue?this.options.limitMax?c=this.maxValue:this.maxValue=c+1:c<this.minValue&&(this.options.limitMin?c=this.minValue:this.minValue=c-1),this.gp[n].value=c,this.gp[n++].setOptions({minValue:this.minValue,maxValue:this.maxValue,angle:this.options.angle});return this.value=Math.max(Math.min(t[t.length-1],this.maxValue),this.minValue),AnimationUpdater.add(this),AnimationUpdater.run(this.forceUpdate),this.forceUpdate=!1},e.prototype.getAngle=function(t){return(1+this.options.angle)*Math.PI+(t-this.minValue)/(this.maxValue-this.minValue)*(1-2*this.options.angle)*Math.PI},e.prototype.getColorForPercentage=function(t,e){var n,r,i,o,u,s,a;if(0===t)n=this.percentColors[0].color;else for(n=this.percentColors[this.percentColors.length-1].color,i=o=0,s=this.percentColors.length-1;0<=s?o<=s:o>=s;i=0<=s?++o:--o)if(t<=this.percentColors[i].pct){!0===e?(a=this.percentColors[i-1]||this.percentColors[0],r=this.percentColors[i],u=(t-a.pct)/(r.pct-a.pct),n={r:Math.floor(a.color.r*(1-u)+r.color.r*u),g:Math.floor(a.color.g*(1-u)+r.color.g*u),b:Math.floor(a.color.b*(1-u)+r.color.b*u)}):n=this.percentColors[i].color;break}return"rgb("+[n.r,n.g,n.b].join(",")+")"},e.prototype.getColorForValue=function(t,e){var n;return n=(t-this.minValue)/(this.maxValue-this.minValue),this.getColorForPercentage(n,e)},e.prototype.renderStaticLabels=function(t,e,n,r){var i,o,u,s,a,l,h,f,p,d;for(this.ctx.save(),this.ctx.translate(e,n),i=t.font||"10px Times",l=/\d+\.?\d?/,a=i.match(l)[0],f=i.slice(a.length),o=parseFloat(a)*this.displayScale,this.ctx.font=o+f,this.ctx.fillStyle=t.color||"#000000",this.ctx.textBaseline="bottom",this.ctx.textAlign="center",u=0,s=(h=t.labels).length;u<s;u++)void 0!==(d=h[u]).label?(!this.options.limitMin||d>=this.minValue)&&(!this.options.limitMax||d<=this.maxValue)&&(a=(i=d.font||t.font).match(l)[0],f=i.slice(a.length),o=parseFloat(a)*this.displayScale,this.ctx.font=o+f,p=this.getAngle(d.label)-3*Math.PI/2,this.ctx.rotate(p),this.ctx.fillText(c(d.label,t.fractionDigits),0,-r-this.lineWidth/2),this.ctx.rotate(-p)):(!this.options.limitMin||d>=this.minValue)&&(!this.options.limitMax||d<=this.maxValue)&&(p=this.getAngle(d)-3*Math.PI/2,this.ctx.rotate(p),this.ctx.fillText(c(d,t.fractionDigits),0,-r-this.lineWidth/2),this.ctx.rotate(-p));return this.ctx.restore()},e.prototype.renderTicks=function(t,e,n,r){var i,o,u,s,a,l,c,h,f,p,d,g,v,_,y,m,x,b,w,A;if(t!=={}){for(l=t.divisions||0,b=t.subDivisions||0,u=t.divColor||"#fff",_=t.subColor||"#fff",s=t.divLength||.7,m=t.subLength||.2,y=parseFloat(p=parseFloat(f=parseFloat(this.maxValue)-parseFloat(this.minValue))/parseFloat(t.divisions))/parseFloat(t.subDivisions),i=parseFloat(this.minValue),o=0+y,a=(h=f/400)*(t.divWidth||1),x=h*(t.subWidth||1),g=[],w=c=0,d=l+1;c<d;w=c+=1)this.ctx.lineWidth=this.lineWidth*s,v=this.lineWidth/2*(1-s),A=this.radius*this.options.radiusScale+v,this.ctx.strokeStyle=u,this.ctx.beginPath(),this.ctx.arc(0,0,A,this.getAngle(i-a),this.getAngle(i+a),!1),this.ctx.stroke(),o=i+y,i+=p,w!==t.divisions&&b>0?g.push((function(){var t,e,n;for(n=[],t=0,e=b-1;t<e;t+=1)this.ctx.lineWidth=this.lineWidth*m,v=this.lineWidth/2*(1-m),A=this.radius*this.options.radiusScale+v,this.ctx.strokeStyle=_,this.ctx.beginPath(),this.ctx.arc(0,0,A,this.getAngle(o-x),this.getAngle(o+x),!1),this.ctx.stroke(),n.push(o+=y);return n}).call(this)):g.push(void 0);return g}},e.prototype.render=function(){var t,e,n,r,i,o,u,s,a,l,c,h,f,p,d,g;if(d=this.canvas.width/2,n=this.canvas.height*this.paddingTop+this.availableHeight-(this.radius+this.lineWidth/2)*this.extraPadding,t=this.getAngle(this.displayedValue),this.textField&&this.textField.render(this),this.ctx.lineCap="butt",l=this.radius*this.options.radiusScale,this.options.staticLabels&&this.renderStaticLabels(this.options.staticLabels,d,n,l),this.options.staticZones)for(this.ctx.save(),this.ctx.translate(d,n),this.ctx.lineWidth=this.lineWidth,r=0,o=(c=this.options.staticZones).length;r<o;r++)a=(g=c[r]).min,this.options.limitMin&&a<this.minValue&&(a=this.minValue),s=g.max,this.options.limitMax&&s>this.maxValue&&(s=this.maxValue),p=this.radius*this.options.radiusScale,g.height&&(this.ctx.lineWidth=this.lineWidth*g.height,f=this.lineWidth/2*(g.offset||1-g.height),p=this.radius*this.options.radiusScale+f),this.ctx.strokeStyle=g.strokeStyle,this.ctx.beginPath(),this.ctx.arc(0,0,p,this.getAngle(a),this.getAngle(s),!1),this.ctx.stroke();else void 0!==this.options.customFillStyle?e=this.options.customFillStyle(this):null!==this.percentColors?e=this.getColorForValue(this.displayedValue,this.options.generateGradient):void 0!==this.options.colorStop?((e=0===this.options.gradientType?this.ctx.createRadialGradient(d,n,9,d,n,70):this.ctx.createLinearGradient(0,0,d,0)).addColorStop(0,this.options.colorStart),e.addColorStop(1,this.options.colorStop)):e=this.options.colorStart,this.ctx.strokeStyle=e,this.ctx.beginPath(),this.ctx.arc(d,n,l,(1+this.options.angle)*Math.PI,t,!1),this.ctx.lineWidth=this.lineWidth,this.ctx.stroke(),this.ctx.strokeStyle=this.options.strokeColor,this.ctx.beginPath(),this.ctx.arc(d,n,l,t,(2-this.options.angle)*Math.PI,!1),this.ctx.stroke(),this.ctx.save(),this.ctx.translate(d,n);for(this.options.renderTicks&&this.renderTicks(this.options.renderTicks,d,n,l),this.ctx.restore(),this.ctx.translate(d,n),i=0,u=(h=this.gp).length;i<u;i++)h[i].update(!0);return this.ctx.translate(-d,-n)},e}(n),r=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return g(e,t),e.prototype.strokeGradient=function(t,e,n,r){var i;return(i=this.ctx.createRadialGradient(t,e,n,t,e,r)).addColorStop(0,this.options.shadowColor),i.addColorStop(.12,this.options._orgStrokeColor),i.addColorStop(.88,this.options._orgStrokeColor),i.addColorStop(1,this.options.shadowColor),i},e.prototype.setOptions=function(t){var n,r,i,o;return null==t&&(t=null),e.__super__.setOptions.call(this,t),o=this.canvas.width/2,n=this.canvas.height/2,r=this.radius-this.lineWidth/2,i=this.radius+this.lineWidth/2,this.options._orgStrokeColor=this.options.strokeColor,this.options.strokeColor=this.strokeGradient(o,n,r,i),this},e}(e=function(t){function e(t){this.canvas=t,e.__super__.constructor.call(this),"undefined"!=typeof G_vmlCanvasManager&&(this.canvas=window.G_vmlCanvasManager.initElement(this.canvas)),this.ctx=this.canvas.getContext("2d"),this.setOptions(),this.render()}return g(e,t),e.prototype.lineWidth=15,e.prototype.displayedValue=0,e.prototype.value=33,e.prototype.maxValue=80,e.prototype.minValue=0,e.prototype.options={lineWidth:.1,colorStart:"#6f6ea0",colorStop:"#c0c0db",strokeColor:"#eeeeee",shadowColor:"#d5d5d5",angle:.35,radiusScale:1},e.prototype.getAngle=function(t){return(1-this.options.angle)*Math.PI+(t-this.minValue)/(this.maxValue-this.minValue)*(2+this.options.angle-(1-this.options.angle))*Math.PI},e.prototype.setOptions=function(t){return null==t&&(t=null),e.__super__.setOptions.call(this,t),this.lineWidth=this.canvas.height*this.options.lineWidth,this.radius=this.options.radiusScale*(this.canvas.height/2-this.lineWidth/2),this},e.prototype.set=function(t){return this.value=this.parseValue(t),this.value>this.maxValue?this.options.limitMax?this.value=this.maxValue:this.maxValue=this.value:this.value<this.minValue&&(this.options.limitMin?this.value=this.minValue:this.minValue=this.value),AnimationUpdater.add(this),AnimationUpdater.run(this.forceUpdate),this.forceUpdate=!1},e.prototype.render=function(){var t,e,n,r;return t=this.getAngle(this.displayedValue),r=this.canvas.width/2,n=this.canvas.height/2,this.textField&&this.textField.render(this),(e=this.ctx.createRadialGradient(r,n,39,r,n,70)).addColorStop(0,this.options.colorStart),e.addColorStop(1,this.options.colorStop),this.radius,this.lineWidth,this.radius,this.lineWidth,this.ctx.strokeStyle=this.options.strokeColor,this.ctx.beginPath(),this.ctx.arc(r,n,this.radius,(1-this.options.angle)*Math.PI,(2+this.options.angle)*Math.PI,!1),this.ctx.lineWidth=this.lineWidth,this.ctx.lineCap="round",this.ctx.stroke(),this.ctx.strokeStyle=e,this.ctx.beginPath(),this.ctx.arc(r,n,this.radius,(1-this.options.angle)*Math.PI,t,!1),this.ctx.stroke()},e}(n)),window.AnimationUpdater={elements:[],animId:null,addAll:function(t){var e,n,r,i;for(n=0,i=[],r=t.length;n<r;n++)e=t[n],i.push(AnimationUpdater.elements.push(e));return i},add:function(t){if(0>v.call(AnimationUpdater.elements,t))return AnimationUpdater.elements.push(t)},run:function(t){var e,n,r,i,o,u,s;if(null==t&&(t=!1),isFinite(parseFloat(t))||!0===t){for(e=!0,s=[],u=AnimationUpdater.elements,r=n=0,o=u.length;n<o;r=++n)u[r].update(!0===t)?e=!1:s.push(r);for(i=s.length-1;i>=0;i+=-1)r=s[i],AnimationUpdater.elements.splice(r,1);return AnimationUpdater.animId=e?null:requestAnimationFrame(AnimationUpdater.run)}if(!1===t)return!0===AnimationUpdater.animId&&cancelAnimationFrame(AnimationUpdater.animId),AnimationUpdater.animId=requestAnimationFrame(AnimationUpdater.run)}},"function"==typeof window.define&&null!=window.define.amd?define(function(){return{Gauge:i,Donut:r,BaseDonut:e,TextRenderer:u}}):null!=t.exports?t.exports={Gauge:i,Donut:r,BaseDonut:e,TextRenderer:u}:(window.Gauge=i,window.Donut=r,window.BaseDonut=e,window.TextRenderer=u)}).call(this)},891:function(t,e,n){t=n.nmd(t),(function(){var r,i="Expected a function",o="__lodash_hash_undefined__",u="__lodash_placeholder__",s=1/0,a=0/0,l=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],c="[object Arguments]",h="[object Array]",f="[object Boolean]",p="[object Date]",d="[object Error]",g="[object Function]",v="[object GeneratorFunction]",_="[object Map]",y="[object Number]",m="[object Object]",x="[object Promise]",b="[object RegExp]",w="[object Set]",A="[object String]",S="[object Symbol]",C="[object WeakMap]",E="[object ArrayBuffer]",O="[object DataView]",k="[object Float32Array]",M="[object Float64Array]",R="[object Int8Array]",j="[object Int16Array]",P="[object Int32Array]",U="[object Uint8Array]",I="[object Uint8ClampedArray]",T="[object Uint16Array]",V="[object Uint32Array]",W=/\b__p \+= '';/g,z=/\b(__p \+=) '' \+/g,F=/(__e\(.*?\)|\b__t\)) \+\n'';/g,D=/&(?:amp|lt|gt|quot|#39);/g,L=/[&<>"']/g,N=RegExp(D.source),B=RegExp(L.source),H=/<%-([\s\S]+?)%>/g,q=/<%([\s\S]+?)%>/g,G=/<%=([\s\S]+?)%>/g,Z=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,K=/^\w*$/,J=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Y=/[\\^$.*+?()[\]{}|]/g,Q=RegExp(Y.source),X=/^\s+/,tt=/\s/,te=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,tn=/\{\n\/\* \[wrapped with (.+)\] \*/,tr=/,? & /,ti=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,to=/[()=,{}\[\]\/\s]/,tu=/\\(\\)?/g,ts=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ta=/\w*$/,tl=/^[-+]0x[0-9a-f]+$/i,tc=/^0b[01]+$/i,th=/^\[object .+?Constructor\]$/,tf=/^0o[0-7]+$/i,tp=/^(?:0|[1-9]\d*)$/,td=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,tg=/($^)/,tv=/['\n\r\u2028\u2029\\]/g,t_="\ud800-\udfff",ty="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",tm="\\u2700-\\u27bf",tx="a-z\\xdf-\\xf6\\xf8-\\xff",tb="A-Z\\xc0-\\xd6\\xd8-\\xde",tw="\\ufe0e\\ufe0f",tA="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",t$="['’]",tS="["+tA+"]",tC="["+ty+"]",tE="["+tx+"]",tO="[^"+t_+tA+"\\d+"+tm+tx+tb+"]",tk="\ud83c[\udffb-\udfff]",tM="[^"+t_+"]",tR="(?:\ud83c[\udde6-\uddff]){2}",tj="[\ud800-\udbff][\udc00-\udfff]",tP="["+tb+"]",tU="\\u200d",tI="(?:"+tE+"|"+tO+")",tT="(?:"+tP+"|"+tO+")",tV="(?:"+t$+"(?:d|ll|m|re|s|t|ve))?",tW="(?:"+t$+"(?:D|LL|M|RE|S|T|VE))?",tz="(?:"+tC+"|"+tk+")?",tF="["+tw+"]?",tD="(?:"+tU+"(?:"+[tM,tR,tj].join("|")+")"+tF+tz+")*",tL=tF+tz+tD,tN="(?:"+["["+tm+"]",tR,tj].join("|")+")"+tL,tB="(?:"+[tM+tC+"?",tC,tR,tj,"["+t_+"]"].join("|")+")",tH=RegExp(t$,"g"),tq=RegExp(tC,"g"),tG=RegExp(tk+"(?="+tk+")|"+tB+tL,"g"),tZ=RegExp([tP+"?"+tE+"+"+tV+"(?="+[tS,tP,"$"].join("|")+")",tT+"+"+tW+"(?="+[tS,tP+tI,"$"].join("|")+")",tP+"?"+tI+"+"+tV,tP+"+"+tW,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])|\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])|\\d+",tN].join("|"),"g"),tK=RegExp("["+tU+t_+ty+tw+"]"),tJ=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,tY=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],tQ=-1,tX={};tX[k]=tX[M]=tX[R]=tX[j]=tX[P]=tX[U]=tX[I]=tX[T]=tX[V]=!0,tX[c]=tX[h]=tX[E]=tX[f]=tX[O]=tX[p]=tX[d]=tX[g]=tX[_]=tX[y]=tX[m]=tX[b]=tX[w]=tX[A]=tX[C]=!1;var t0={};t0[c]=t0[h]=t0[E]=t0[O]=t0[f]=t0[p]=t0[k]=t0[M]=t0[R]=t0[j]=t0[P]=t0[_]=t0[y]=t0[m]=t0[b]=t0[w]=t0[A]=t0[S]=t0[U]=t0[I]=t0[T]=t0[V]=!0,t0[d]=t0[g]=t0[C]=!1;var t1={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},t2=parseFloat,t3=parseInt,t8="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,t6="object"==typeof self&&self&&self.Object===Object&&self,t4=t8||t6||Function("return this")(),t5=e&&!e.nodeType&&e,t9=t5&&t&&!t.nodeType&&t,t7=t9&&t9.exports===t5,et=t7&&t8.process,ee=function(){try{var t=t9&&t9.require&&t9.require("util").types;if(t)return t;return et&&et.binding&&et.binding("util")}catch(t){}}(),en=ee&&ee.isArrayBuffer,er=ee&&ee.isDate,ei=ee&&ee.isMap,eo=ee&&ee.isRegExp,eu=ee&&ee.isSet,es=ee&&ee.isTypedArray;function ea(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function el(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var u=t[i];e(r,u,n(u),t)}return r}function ec(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function eh(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function ef(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var u=t[n];e(u,n,t)&&(o[i++]=u)}return o}function ep(t,e){return!!(null==t?0:t.length)&&eA(t,e,0)>-1}function ed(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}function eg(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function ev(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function e_(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function ey(t,e,n,r){var i=null==t?0:t.length;for(r&&i&&(n=t[--i]);i--;)n=e(n,t[i],i,t);return n}function em(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}var ex=eE("length");function eb(t,e,n){var r;return n(t,function(t,n,i){if(e(t,n,i))return r=n,!1}),r}function ew(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return -1}function eA(t,e,n){return e==e?function(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return -1}(t,e,n):ew(t,eS,n)}function e$(t,e,n,r){for(var i=n-1,o=t.length;++i<o;)if(r(t[i],e))return i;return -1}function eS(t){return t!=t}function eC(t,e){var n=null==t?0:t.length;return n?eM(t,e)/n:a}function eE(t){return function(e){return null==e?r:e[t]}}function eO(t){return function(e){return null==t?r:t[e]}}function ek(t,e,n,r,i){return i(t,function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)}),n}function eM(t,e){for(var n,i=-1,o=t.length;++i<o;){var u=e(t[i]);r!==u&&(n=r===n?u:n+u)}return n}function eR(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function ej(t){return t?t.slice(0,eZ(t)+1).replace(X,""):t}function eP(t){return function(e){return t(e)}}function eU(t,e){return eg(e,function(e){return t[e]})}function eI(t,e){return t.has(e)}function eT(t,e){for(var n=-1,r=t.length;++n<r&&eA(e,t[n],0)>-1;);return n}function eV(t,e){for(var n=t.length;n--&&eA(e,t[n],0)>-1;);return n}var eW=eO({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),ez=eO({"&":"&","<":"<",">":">",'"':""","'":"'"});function eF(t){return"\\"+t1[t]}function eD(t){return tK.test(t)}function eL(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function eN(t,e){return function(n){return t(e(n))}}function eB(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var s=t[n];(s===e||s===u)&&(t[n]=u,o[i++]=n)}return o}function eH(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function eq(t){return eD(t)?function(t){for(var e=tG.lastIndex=0;tG.test(t);)++e;return e}(t):ex(t)}function eG(t){return eD(t)?t.match(tG)||[]:t.split("")}function eZ(t){for(var e=t.length;e--&&tt.test(t.charAt(e)););return e}var eK=eO({"&":"&","<":"<",">":">",""":'"',"'":"'"}),eJ=function t(e){var n,tt,t_,ty,tm=(e=null==e?t4:eJ.defaults(t4.Object(),e,eJ.pick(t4,tY))).Array,tx=e.Date,tb=e.Error,tw=e.Function,tA=e.Math,t$=e.Object,tS=e.RegExp,tC=e.String,tE=e.TypeError,tO=tm.prototype,tk=tw.prototype,tM=t$.prototype,tR=e["__core-js_shared__"],tj=tk.toString,tP=tM.hasOwnProperty,tU=0,tI=(n=/[^.]+$/.exec(tR&&tR.keys&&tR.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",tT=tM.toString,tV=tj.call(t$),tW=t4._,tz=tS("^"+tj.call(tP).replace(Y,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),tF=t7?e.Buffer:r,tD=e.Symbol,tL=e.Uint8Array,tN=tF?tF.allocUnsafe:r,tB=eN(t$.getPrototypeOf,t$),tG=t$.create,tK=tM.propertyIsEnumerable,t1=tO.splice,t8=tD?tD.isConcatSpreadable:r,t6=tD?tD.iterator:r,t5=tD?tD.toStringTag:r,t9=function(){try{var t=ig(t$,"defineProperty");return t({},"",{}),t}catch(t){}}(),et=e.clearTimeout!==t4.clearTimeout&&e.clearTimeout,ee=tx&&tx.now!==t4.Date.now&&tx.now,ex=e.setTimeout!==t4.setTimeout&&e.setTimeout,eO=tA.ceil,eY=tA.floor,eQ=t$.getOwnPropertySymbols,eX=tF?tF.isBuffer:r,e0=e.isFinite,e1=tO.join,e2=eN(t$.keys,t$),e3=tA.max,e8=tA.min,e6=tx.now,e4=e.parseInt,e5=tA.random,e9=tO.reverse,e7=ig(e,"DataView"),nt=ig(e,"Map"),ne=ig(e,"Promise"),nn=ig(e,"Set"),nr=ig(e,"WeakMap"),ni=ig(t$,"create"),no=nr&&new nr,nu={},ns=iF(e7),na=iF(nt),nl=iF(ne),nc=iF(nn),nh=iF(nr),nf=tD?tD.prototype:r,np=nf?nf.valueOf:r,nd=nf?nf.toString:r;function ng(t){if(oK(t)&&!oW(t)&&!(t instanceof nm)){if(t instanceof ny)return t;if(tP.call(t,"__wrapped__"))return iD(t)}return new ny(t)}var nv=function(){function t(){}return function(e){if(!oZ(e))return{};if(tG)return tG(e);t.prototype=e;var n=new t;return t.prototype=r,n}}();function n_(){}function ny(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=r}function nm(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=0xffffffff,this.__views__=[]}function nx(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function nb(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function nw(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function nA(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new nw;++e<n;)this.add(t[e])}function n$(t){var e=this.__data__=new nb(t);this.size=e.size}function nS(t,e){var n=oW(t),r=!n&&oV(t),i=!n&&!r&&oL(t),o=!n&&!r&&!i&&o3(t),u=n||r||i||o,s=u?eR(t.length,tC):[],a=s.length;for(var l in t)(e||tP.call(t,l))&&!(u&&("length"==l||i&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||iw(l,a)))&&s.push(l);return s}function nC(t){var e=t.length;return e?t[rc(0,e-1)]:r}ng.templateSettings={escape:H,evaluate:q,interpolate:G,variable:"",imports:{_:ng}},ng.prototype=n_.prototype,ng.prototype.constructor=ng,ny.prototype=nv(n_.prototype),ny.prototype.constructor=ny,nm.prototype=nv(n_.prototype),nm.prototype.constructor=nm,nx.prototype.clear=function(){this.__data__=ni?ni(null):{},this.size=0},nx.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=!!e,e},nx.prototype.get=function(t){var e=this.__data__;if(ni){var n=e[t];return n===o?r:n}return tP.call(e,t)?e[t]:r},nx.prototype.has=function(t){var e=this.__data__;return ni?e[t]!==r:tP.call(e,t)},nx.prototype.set=function(t,e){var n=this.__data__;return this.size+=+!this.has(t),n[t]=ni&&r===e?o:e,this},nb.prototype.clear=function(){this.__data__=[],this.size=0},nb.prototype.delete=function(t){var e=this.__data__,n=nk(e,t);return!(n<0)&&(n==e.length-1?e.pop():t1.call(e,n,1),--this.size,!0)},nb.prototype.get=function(t){var e=this.__data__,n=nk(e,t);return n<0?r:e[n][1]},nb.prototype.has=function(t){return nk(this.__data__,t)>-1},nb.prototype.set=function(t,e){var n=this.__data__,r=nk(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},nw.prototype.clear=function(){this.size=0,this.__data__={hash:new nx,map:new(nt||nb),string:new nx}},nw.prototype.delete=function(t){var e=ip(this,t).delete(t);return this.size-=!!e,e},nw.prototype.get=function(t){return ip(this,t).get(t)},nw.prototype.has=function(t){return ip(this,t).has(t)},nw.prototype.set=function(t,e){var n=ip(this,t),r=n.size;return n.set(t,e),this.size+=+(n.size!=r),this},nA.prototype.add=nA.prototype.push=function(t){return this.__data__.set(t,o),this},nA.prototype.has=function(t){return this.__data__.has(t)};function nE(t,e,n){(r===n||oU(t[e],n))&&(r!==n||e in t)||nj(t,e,n)}function nO(t,e,n){var i=t[e];tP.call(t,e)&&oU(i,n)&&(r!==n||e in t)||nj(t,e,n)}function nk(t,e){for(var n=t.length;n--;)if(oU(t[n][0],e))return n;return -1}function nM(t,e,n,r){return nz(t,function(t,i,o){e(r,t,n(t),o)}),r}function nR(t,e){return t&&rL(e,ug(e),t)}function nj(t,e,n){"__proto__"==e&&t9?t9(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function nP(t,e){for(var n=-1,i=e.length,o=tm(i),u=null==t;++n<i;)o[n]=u?r:uc(t,e[n]);return o}function nU(t,e,n){return t==t&&(r!==n&&(t=t<=n?t:n),r!==e&&(t=t>=e?t:e)),t}function nI(t,e,n,i,o,u){var s,a=1&e,l=2&e,h=4&e;if(n&&(s=o?n(t,i,o,u):n(t)),r!==s)return s;if(!oZ(t))return t;var d=oW(t);if(d){if(C=(x=t).length,W=new x.constructor(C),C&&"string"==typeof x[0]&&tP.call(x,"index")&&(W.index=x.index,W.input=x.input),s=W,!a)return rD(t,s)}else{var x,C,W,z,F,D,L,N,B=iy(t),H=B==g||B==v;if(oL(t))return rI(t,a);if(B==m||B==c||H&&!o){if(s=l||H?{}:ix(t),!a){return l?(z=t,F=(N=s)&&rL(t,uv(t),N),rL(z,i_(z),F)):(D=t,L=nR(s,t),rL(D,iv(D),L))}}else{if(!t0[B])return o?t:{};s=function(t,e,n){var r,i,o=t.constructor;switch(e){case E:return rT(t);case f:case p:return new o(+t);case O:return r=n?rT(t.buffer):t.buffer,new t.constructor(r,t.byteOffset,t.byteLength);case k:case M:case R:case j:case P:case U:case I:case T:case V:return rV(t,n);case _:return new o;case y:case A:return new o(t);case b:return(i=new t.constructor(t.source,ta.exec(t))).lastIndex=t.lastIndex,i;case w:return new o;case S:return np?t$(np.call(t)):{}}}(t,B,a)}}u||(u=new n$);var q=u.get(t);if(q)return q;u.set(t,s),o0(t)?t.forEach(function(r){s.add(nI(r,e,n,r,t,u))}):oJ(t)&&t.forEach(function(r,i){s.set(i,nI(r,e,n,i,t,u))});var G=h?l?is:iu:l?uv:ug,Z=d?r:G(t);return ec(Z||t,function(r,i){Z&&(r=t[i=r]),nO(s,i,nI(r,e,n,i,t,u))}),s}function nT(t,e,n){var i=n.length;if(null==t)return!i;for(t=t$(t);i--;){var o=n[i],u=e[o],s=t[o];if(r===s&&!(o in t)||!u(s))return!1}return!0}function nV(t,e,n){if("function"!=typeof t)throw new tE(i);return iP(function(){t.apply(r,n)},e)}function nW(t,e,n,r){var i=-1,o=ep,u=!0,s=t.length,a=[],l=e.length;if(!s)return a;n&&(e=eg(e,eP(n))),r?(o=ed,u=!1):e.length>=200&&(o=eI,u=!1,e=new nA(e));t:for(;++i<s;){var c=t[i],h=null==n?c:n(c);if(c=r||0!==c?c:0,u&&h==h){for(var f=l;f--;)if(e[f]===h)continue t;a.push(c)}else o(e,h,r)||a.push(c)}return a}n$.prototype.clear=function(){this.__data__=new nb,this.size=0},n$.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},n$.prototype.get=function(t){return this.__data__.get(t)},n$.prototype.has=function(t){return this.__data__.has(t)},n$.prototype.set=function(t,e){var n=this.__data__;if(n instanceof nb){var r=n.__data__;if(!nt||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new nw(r)}return n.set(t,e),this.size=n.size,this};var nz=rH(nG),nF=rH(nZ,!0);function nD(t,e){var n=!0;return nz(t,function(t,r,i){return n=!!e(t,r,i)}),n}function nL(t,e,n){for(var i=-1,o=t.length;++i<o;){var u=t[i],s=e(u);if(null!=s&&(r===a?s==s&&!o2(s):n(s,a)))var a=s,l=u}return l}function nN(t,e){var n=[];return nz(t,function(t,r,i){e(t,r,i)&&n.push(t)}),n}function nB(t,e,n,r,i){var o=-1,u=t.length;for(n||(n=ib),i||(i=[]);++o<u;){var s=t[o];e>0&&n(s)?e>1?nB(s,e-1,n,r,i):ev(i,s):r||(i[i.length]=s)}return i}var nH=rq(),nq=rq(!0);function nG(t,e){return t&&nH(t,e,ug)}function nZ(t,e){return t&&nq(t,e,ug)}function nK(t,e){return ef(e,function(e){return oH(t[e])})}function nJ(t,e){e=rj(e,t);for(var n=0,i=e.length;null!=t&&n<i;)t=t[iz(e[n++])];return n&&n==i?t:r}function nY(t,e,n){var r=e(t);return oW(t)?r:ev(r,n(t))}function nQ(t){var e;return null==t?r===t?"[object Undefined]":"[object Null]":t5&&t5 in t$(t)?function(t){var e=tP.call(t,t5),n=t[t5];try{t[t5]=r;var i=!0}catch(t){}var o=tT.call(t);return i&&(e?t[t5]=n:delete t[t5]),o}(t):(e=t,tT.call(e))}function nX(t,e){return t>e}function n0(t,e){return null!=t&&tP.call(t,e)}function n1(t,e){return null!=t&&e in t$(t)}function n2(t,e,n){for(var i=n?ed:ep,o=t[0].length,u=t.length,s=u,a=tm(u),l=1/0,c=[];s--;){var h=t[s];s&&e&&(h=eg(h,eP(e))),l=e8(h.length,l),a[s]=!n&&(e||o>=120&&h.length>=120)?new nA(s&&h):r}h=t[0];var f=-1,p=a[0];t:for(;++f<o&&c.length<l;){var d=h[f],g=e?e(d):d;if(d=n||0!==d?d:0,!(p?eI(p,g):i(c,g,n))){for(s=u;--s;){var v=a[s];if(!(v?eI(v,g):i(t[s],g,n)))continue t}p&&p.push(g),c.push(d)}}return c}function n3(t,e,n){e=rj(e,t);var i=null==(t=iM(t,e))?t:t[iz(iQ(e))];return null==i?r:ea(i,t,n)}function n8(t){return oK(t)&&nQ(t)==c}function n6(t,e,n,i,o){return t===e||(null!=t&&null!=e&&(oK(t)||oK(e))?function(t,e,n,i,o,u){var s=oW(t),a=oW(e),l=s?h:iy(t),g=a?h:iy(e);l=l==c?m:l,g=g==c?m:g;var v=l==m,x=g==m,C=l==g;if(C&&oL(t)){if(!oL(e))return!1;s=!0,v=!1}if(C&&!v)return u||(u=new n$),s||o3(t)?ii(t,e,n,i,o,u):function(t,e,n,r,i,o,u){switch(n){case O:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)break;t=t.buffer,e=e.buffer;case E:if(t.byteLength!=e.byteLength||!o(new tL(t),new tL(e)))break;return!0;case f:case p:case y:return oU(+t,+e);case d:return t.name==e.name&&t.message==e.message;case b:case A:return t==e+"";case _:var s=eL;case w:var a=1&r;if(s||(s=eH),t.size!=e.size&&!a)break;var l=u.get(t);if(l)return l==e;r|=2,u.set(t,e);var c=ii(s(t),s(e),r,i,o,u);return u.delete(t),c;case S:if(np)return np.call(t)==np.call(e)}return!1}(t,e,l,n,i,o,u);if(!(1&n)){var k=v&&tP.call(t,"__wrapped__"),M=x&&tP.call(e,"__wrapped__");if(k||M){var R=k?t.value():t,j=M?e.value():e;return u||(u=new n$),o(R,j,n,i,u)}}return!!C&&(u||(u=new n$),function(t,e,n,i,o,u){var s=1&n,a=iu(t),l=a.length;if(l!=iu(e).length&&!s)return!1;for(var c=l;c--;){var h=a[c];if(!(s?h in e:tP.call(e,h)))return!1}var f=u.get(t),p=u.get(e);if(f&&p)return f==e&&p==t;var d=!0;u.set(t,e),u.set(e,t);for(var g=s;++c<l;){var v=t[h=a[c]],_=e[h];if(i)var y=s?i(_,v,h,e,t,u):i(v,_,h,t,e,u);if(!(r===y?v===_||o(v,_,n,i,u):y)){d=!1;break}g||(g="constructor"==h)}if(d&&!g){var m=t.constructor,x=e.constructor;m!=x&&"constructor"in t&&"constructor"in e&&!("function"==typeof m&&m instanceof m&&"function"==typeof x&&x instanceof x)&&(d=!1)}return u.delete(t),u.delete(e),d}(t,e,n,i,o,u))}(t,e,n,i,n6,o):t!=t&&e!=e)}function n4(t,e,n,i){var o=n.length,u=o,s=!i;if(null==t)return!u;for(t=t$(t);o--;){var a=n[o];if(s&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++o<u;){var l=(a=n[o])[0],c=t[l],h=a[1];if(s&&a[2]){if(r===c&&!(l in t))return!1}else{var f=new n$;if(i)var p=i(c,h,l,t,e,f);if(!(r===p?n6(h,c,3,i,f):p))return!1}}return!0}function n5(t){var e;return!(!oZ(t)||(e=t,tI&&tI in e))&&(oH(t)?tz:th).test(iF(t))}function n9(t){return"function"==typeof t?t:null==t?uD:"object"==typeof t?oW(t)?rr(t[0],t[1]):rn(t):uJ(t)}function n7(t){if(!iE(t))return e2(t);var e=[];for(var n in t$(t))tP.call(t,n)&&"constructor"!=n&&e.push(n);return e}function rt(t,e){return t<e}function re(t,e){var n=-1,r=oF(t)?tm(t.length):[];return nz(t,function(t,i,o){r[++n]=e(t,i,o)}),r}function rn(t){var e=id(t);return 1==e.length&&e[0][2]?iO(e[0][0],e[0][1]):function(n){return n===t||n4(n,t,e)}}function rr(t,e){var n;return i$(t)&&(n=e)==n&&!oZ(n)?iO(iz(t),e):function(n){var i=uc(n,t);return r===i&&i===e?uh(n,t):n6(e,i,3)}}function ri(t,e,n,i,o){t!==e&&nH(e,function(u,s){if(o||(o=new n$),oZ(u))!function(t,e,n,i,o,u,s){var a=iR(t,n),l=iR(e,n),c=s.get(l);if(c)return nE(t,n,c);var h=u?u(a,l,n+"",t,e,s):r,f=r===h;if(f){var p=oW(l),d=!p&&oL(l),g=!p&&!d&&o3(l);h=l,p||d||g?oW(a)?h=a:oD(a)?h=rD(a):d?(f=!1,h=rI(l,!0)):g?(f=!1,h=rV(l,!0)):h=[]:oQ(l)||oV(l)?(h=a,oV(a)?h=ue(a):(!oZ(a)||oH(a))&&(h=ix(l))):f=!1}f&&(s.set(l,h),o(h,l,i,u,s),s.delete(l)),nE(t,n,h)}(t,e,s,n,ri,i,o);else{var a=i?i(iR(t,s),u,s+"",t,e,o):r;r===a&&(a=u),nE(t,s,a)}},uv)}function ro(t,e){var n=t.length;if(n)return iw(e+=e<0?n:0,n)?t[e]:r}function ru(t,e,n){e=e.length?eg(e,function(t){return oW(t)?function(e){return nJ(e,1===t.length?t[0]:t)}:t}):[uD];var r=-1;e=eg(e,eP(ih()));var i=re(t,function(t,n,i){return{criteria:eg(e,function(e){return e(t)}),index:++r,value:t}}),o=i.length;for(i.sort(function(t,e){return function(t,e,n){for(var r=-1,i=t.criteria,o=e.criteria,u=i.length,s=n.length;++r<u;){var a=rW(i[r],o[r]);if(a){if(r>=s)return a;return a*("desc"==n[r]?-1:1)}}return t.index-e.index}(t,e,n)});o--;)i[o]=i[o].value;return i}function rs(t,e,n){for(var r=-1,i=e.length,o={};++r<i;){var u=e[r],s=nJ(t,u);n(s,u)&&rp(o,rj(u,t),s)}return o}function ra(t,e,n,r){var i=r?e$:eA,o=-1,u=e.length,s=t;for(t===e&&(e=rD(e)),n&&(s=eg(t,eP(n)));++o<u;)for(var a=0,l=e[o],c=n?n(l):l;(a=i(s,c,a,r))>-1;)s!==t&&t1.call(s,a,1),t1.call(t,a,1);return t}function rl(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;iw(i)?t1.call(t,i,1):r$(t,i)}}return t}function rc(t,e){return t+eY(e5()*(e-t+1))}function rh(t,e){var n="";if(!t||e<1||e>0x1fffffffffffff)return n;do e%2&&(n+=t),(e=eY(e/2))&&(t+=t);while(e);return n}function rf(t,e){return iU(ik(t,e,uD),t+"")}function rp(t,e,n,i){if(!oZ(t))return t;e=rj(e,t);for(var o=-1,u=e.length,s=u-1,a=t;null!=a&&++o<u;){var l=iz(e[o]),c=n;if("__proto__"===l||"constructor"===l||"prototype"===l)break;if(o!=s){var h=a[l];c=i?i(h,l,a):r,r===c&&(c=oZ(h)?h:iw(e[o+1])?[]:{})}nO(a,l,c),a=a[l]}return t}var rd=no?function(t,e){return no.set(t,e),t}:uD,rg=t9?function(t,e){return t9(t,"toString",{configurable:!0,enumerable:!1,value:uW(e),writable:!0})}:uD;function rv(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=tm(i);++r<i;)o[r]=t[r+e];return o}function r_(t,e){var n;return nz(t,function(t,r,i){return!(n=e(t,r,i))}),!!n}function ry(t,e,n){var r=0,i=null==t?r:t.length;if("number"==typeof e&&e==e&&i<=0x7fffffff){for(;r<i;){var o=r+i>>>1,u=t[o];null!==u&&!o2(u)&&(n?u<=e:u<e)?r=o+1:i=o}return i}return rm(t,e,uD,n)}function rm(t,e,n,i){var o=0,u=null==t?0:t.length;if(0===u)return 0;for(var s=(e=n(e))!=e,a=null===e,l=o2(e),c=r===e;o<u;){var h=eY((o+u)/2),f=n(t[h]),p=r!==f,d=null===f,g=f==f,v=o2(f);if(s)var _=i||g;else _=c?g&&(i||p):a?g&&p&&(i||!d):l?g&&p&&!d&&(i||!v):!d&&!v&&(i?f<=e:f<e);_?o=h+1:u=h}return e8(u,0xfffffffe)}function rx(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var u=t[n],s=e?e(u):u;if(!n||!oU(s,a)){var a=s;o[i++]=0===u?0:u}}return o}function rb(t){return"number"==typeof t?t:o2(t)?a:+t}function rw(t){if("string"==typeof t)return t;if(oW(t))return eg(t,rw)+"";if(o2(t))return nd?nd.call(t):"";var e=t+"";return"0"==e&&1/t==-s?"-0":e}function rA(t,e,n){var r=-1,i=ep,o=t.length,u=!0,s=[],a=s;if(n)u=!1,i=ed;else if(o>=200){var l=e?null:r5(t);if(l)return eH(l);u=!1,i=eI,a=new nA}else a=e?[]:s;t:for(;++r<o;){var c=t[r],h=e?e(c):c;if(c=n||0!==c?c:0,u&&h==h){for(var f=a.length;f--;)if(a[f]===h)continue t;e&&a.push(h),s.push(c)}else i(a,h,n)||(a!==s&&a.push(h),s.push(c))}return s}function r$(t,e){return e=rj(e,t),null==(t=iM(t,e))||delete t[iz(iQ(e))]}function rS(t,e,n,r){return rp(t,e,n(nJ(t,e)),r)}function rC(t,e,n,r){for(var i=t.length,o=r?i:-1;(r?o--:++o<i)&&e(t[o],o,t););return n?rv(t,r?0:o,r?o+1:i):rv(t,r?o+1:0,r?i:o)}function rE(t,e){var n=t;return n instanceof nm&&(n=n.value()),e_(e,function(t,e){return e.func.apply(e.thisArg,ev([t],e.args))},n)}function rO(t,e,n){var r=t.length;if(r<2)return r?rA(t[0]):[];for(var i=-1,o=tm(r);++i<r;)for(var u=t[i],s=-1;++s<r;)s!=i&&(o[i]=nW(o[i]||u,t[s],e,n));return rA(nB(o,1),e,n)}function rk(t,e,n){for(var i=-1,o=t.length,u=e.length,s={};++i<o;){var a=i<u?e[i]:r;n(s,t[i],a)}return s}function rM(t){return oD(t)?t:[]}function rR(t){return"function"==typeof t?t:uD}function rj(t,e){return oW(t)?t:i$(t,e)?[t]:iW(un(t))}function rP(t,e,n){var i=t.length;return n=r===n?i:n,!e&&n>=i?t:rv(t,e,n)}var rU=et||function(t){return t4.clearTimeout(t)};function rI(t,e){if(e)return t.slice();var n=t.length,r=tN?tN(n):new t.constructor(n);return t.copy(r),r}function rT(t){var e=new t.constructor(t.byteLength);return new tL(e).set(new tL(t)),e}function rV(t,e){var n=e?rT(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function rW(t,e){if(t!==e){var n=r!==t,i=null===t,o=t==t,u=o2(t),s=r!==e,a=null===e,l=e==e,c=o2(e);if(!a&&!c&&!u&&t>e||u&&s&&l&&!a&&!c||i&&s&&l||!n&&l||!o)return 1;if(!i&&!u&&!c&&t<e||c&&n&&o&&!i&&!u||a&&n&&o||!s&&o||!l)return -1}return 0}function rz(t,e,n,r){for(var i=-1,o=t.length,u=n.length,s=-1,a=e.length,l=e3(o-u,0),c=tm(a+l),h=!r;++s<a;)c[s]=e[s];for(;++i<u;)(h||i<o)&&(c[n[i]]=t[i]);for(;l--;)c[s++]=t[i++];return c}function rF(t,e,n,r){for(var i=-1,o=t.length,u=-1,s=n.length,a=-1,l=e.length,c=e3(o-s,0),h=tm(c+l),f=!r;++i<c;)h[i]=t[i];for(var p=i;++a<l;)h[p+a]=e[a];for(;++u<s;)(f||i<o)&&(h[p+n[u]]=t[i++]);return h}function rD(t,e){var n=-1,r=t.length;for(e||(e=tm(r));++n<r;)e[n]=t[n];return e}function rL(t,e,n,i){var o=!n;n||(n={});for(var u=-1,s=e.length;++u<s;){var a=e[u],l=i?i(n[a],t[a],a,n,t):r;r===l&&(l=t[a]),o?nj(n,a,l):nO(n,a,l)}return n}function rN(t,e){return function(n,r){var i=oW(n)?el:nM,o=e?e():{};return i(n,t,ih(r,2),o)}}function rB(t){return rf(function(e,n){var i=-1,o=n.length,u=o>1?n[o-1]:r,s=o>2?n[2]:r;for(u=t.length>3&&"function"==typeof u?(o--,u):r,s&&iA(n[0],n[1],s)&&(u=o<3?r:u,o=1),e=t$(e);++i<o;){var a=n[i];a&&t(e,a,i,u)}return e})}function rH(t,e){return function(n,r){if(null==n)return n;if(!oF(n))return t(n,r);for(var i=n.length,o=e?i:-1,u=t$(n);(e?o--:++o<i)&&!1!==r(u[o],o,u););return n}}function rq(t){return function(e,n,r){for(var i=-1,o=t$(e),u=r(e),s=u.length;s--;){var a=u[t?s:++i];if(!1===n(o[a],a,o))break}return e}}function rG(t){return function(e){var n=eD(e=un(e))?eG(e):r,i=n?n[0]:e.charAt(0),o=n?rP(n,1).join(""):e.slice(1);return i[t]()+o}}function rZ(t){return function(e){return e_(uI(uE(e).replace(tH,"")),t,"")}}function rK(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=nv(t.prototype),r=t.apply(n,e);return oZ(r)?r:n}}function rJ(t){return function(e,n,i){var o=t$(e);if(!oF(e)){var u=ih(n,3);e=ug(e),n=function(t){return u(o[t],t,o)}}var s=t(e,n,i);return s>-1?o[u?e[s]:s]:r}}function rY(t){return io(function(e){var n=e.length,o=n,u=ny.prototype.thru;for(t&&e.reverse();o--;){var s=e[o];if("function"!=typeof s)throw new tE(i);if(u&&!a&&"wrapper"==il(s))var a=new ny([],!0)}for(o=a?o:n;++o<n;){var l=il(s=e[o]),c="wrapper"==l?ia(s):r;a=c&&iS(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?a[il(c[0])].apply(a,c[3]):1==s.length&&iS(s)?a[l]():a.thru(s)}return function(){var t=arguments,r=t[0];if(a&&1==t.length&&oW(r))return a.plant(r).value();for(var i=0,o=n?e[i].apply(this,t):r;++i<n;)o=e[i].call(this,o);return o}})}function rQ(t,e,n,i,o,u,s,a,l,c){var h=128&e,f=1&e,p=2&e,d=24&e,g=512&e,v=p?r:rK(t);function _(){for(var y=arguments.length,m=tm(y),x=y;x--;)m[x]=arguments[x];if(d)var b=ic(_),w=function(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}(m,b);if(i&&(m=rz(m,i,o,d)),u&&(m=rF(m,u,s,d)),y-=w,d&&y<c){var A=eB(m,b);return r6(t,e,rQ,_.placeholder,n,m,A,a,l,c-y)}var S=f?n:this,C=p?S[t]:t;return y=m.length,a?m=function(t,e){for(var n=t.length,i=e8(e.length,n),o=rD(t);i--;){var u=e[i];t[i]=iw(u,n)?o[u]:r}return t}(m,a):g&&y>1&&m.reverse(),h&&l<y&&(m.length=l),this&&this!==t4&&this instanceof _&&(C=v||rK(C)),C.apply(S,m)}return _}function rX(t,e){return function(n,r){var i,o;return i=e(r),o={},nG(n,function(e,n,r){t(o,i(e),n,r)}),o}}function r0(t,e){return function(n,i){var o;if(r===n&&r===i)return e;if(r!==n&&(o=n),r!==i){if(r===o)return i;"string"==typeof n||"string"==typeof i?(n=rw(n),i=rw(i)):(n=rb(n),i=rb(i)),o=t(n,i)}return o}}function r1(t){return io(function(e){return e=eg(e,eP(ih())),rf(function(n){var r=this;return t(e,function(t){return ea(t,r,n)})})})}function r2(t,e){var n=(e=r===e?" ":rw(e)).length;if(n<2)return n?rh(e,t):e;var i=rh(e,eO(t/eq(e)));return eD(e)?rP(eG(i),0,t).join(""):i.slice(0,t)}function r3(t){return function(e,n,i){i&&"number"!=typeof i&&iA(e,n,i)&&(n=i=r),e=o5(e),r===n?(n=e,e=0):n=o5(n),i=r===i?e<n?1:-1:o5(i);for(var o=e,u=n,s=i,a=-1,l=e3(eO((u-o)/(s||1)),0),c=tm(l);l--;)c[t?l:++a]=o,o+=s;return c}}function r8(t){return function(e,n){return("string"!=typeof e||"string"!=typeof n)&&(e=ut(e),n=ut(n)),t(e,n)}}function r6(t,e,n,i,o,u,s,a,l,c){var h=8&e,f=h?s:r,p=h?r:s,d=h?u:r,g=h?r:u;e|=h?32:64,4&(e&=~(h?64:32))||(e&=-4);var v=[t,e,o,d,f,g,p,a,l,c],_=n.apply(r,v);return iS(t)&&ij(_,v),_.placeholder=i,iI(_,t,e)}function r4(t){var e=tA[t];return function(t,n){if(t=ut(t),(n=null==n?0:e8(o9(n),292))&&e0(t)){var r=(un(t)+"e").split("e");return+((r=(un(e(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(r[1]-n))}return e(t)}}var r5=nn&&1/eH(new nn([,-0]))[1]==s?function(t){return new nn(t)}:uq;function r9(t){return function(e){var n,r,i=iy(e);return i==_?eL(e):i==w?(n=-1,r=Array(e.size),e.forEach(function(t){r[++n]=[t,t]}),r):eg(t(e),function(t){return[t,e[t]]})}}function r7(t,e,n,o,s,a,l,c){var h=2&e;if(!h&&"function"!=typeof t)throw new tE(i);var f=o?o.length:0;if(f||(e&=-97,o=s=r),l=r===l?l:e3(o9(l),0),c=r===c?c:o9(c),f-=s?s.length:0,64&e){var p=o,d=s;o=s=r}var g=h?r:ia(t),v=[t,e,n,o,s,p,d,a,l,c];if(g&&function(t,e){var n=t[1],r=e[1],i=n|r,o=i<131,s=128==r&&8==n||128==r&&256==n&&t[7].length<=e[8]||384==r&&e[7].length<=e[8]&&8==n;if(o||s){1&r&&(t[2]=e[2],i|=1&n?0:4);var a=e[3];if(a){var l=t[3];t[3]=l?rz(l,a,e[4]):a,t[4]=l?eB(t[3],u):e[4]}(a=e[5])&&(l=t[5],t[5]=l?rF(l,a,e[6]):a,t[6]=l?eB(t[5],u):e[6]),(a=e[7])&&(t[7]=a),128&r&&(t[8]=null==t[8]?e[8]:e8(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=i}}(v,g),t=v[0],e=v[1],n=v[2],o=v[3],s=v[4],(c=v[9]=v[9]===r?h?0:t.length:e3(v[9]-f,0))||!(24&e)||(e&=-25),e&&1!=e)8==e||16==e?k=function(t,e,n){var i=rK(t);function o(){for(var u=arguments.length,s=tm(u),a=u,l=ic(o);a--;)s[a]=arguments[a];var c=u<3&&s[0]!==l&&s[u-1]!==l?[]:eB(s,l);return(u-=c.length)<n?r6(t,e,rQ,o.placeholder,r,s,c,r,r,n-u):ea(this&&this!==t4&&this instanceof o?i:t,this,s)}return o}(t,e,c):32!=e&&33!=e||s.length?k=rQ.apply(r,v):(_=t,y=e,m=n,x=o,b=1&y,w=rK(_),k=function t(){for(var e=-1,n=arguments.length,r=-1,i=x.length,o=tm(i+n),u=this&&this!==t4&&this instanceof t?w:_;++r<i;)o[r]=x[r];for(;n--;)o[r++]=arguments[++e];return ea(u,b?m:this,o)});else var _,y,m,x,b,w,A,S,C,E,O,k=(A=t,S=e,C=n,E=1&S,O=rK(A),function t(){return(this&&this!==t4&&this instanceof t?O:A).apply(E?C:this,arguments)});return iI((g?rd:ij)(k,v),t,e)}function it(t,e,n,i){return r===t||oU(t,tM[n])&&!tP.call(i,n)?e:t}function ie(t,e,n,i,o,u){return oZ(t)&&oZ(e)&&(u.set(e,t),ri(t,e,r,ie,u),u.delete(e)),t}function ir(t){return oQ(t)?r:t}function ii(t,e,n,i,o,u){var s=1&n,a=t.length,l=e.length;if(a!=l&&!(s&&l>a))return!1;var c=u.get(t),h=u.get(e);if(c&&h)return c==e&&h==t;var f=-1,p=!0,d=2&n?new nA:r;for(u.set(t,e),u.set(e,t);++f<a;){var g=t[f],v=e[f];if(i)var _=s?i(v,g,f,e,t,u):i(g,v,f,t,e,u);if(r!==_){if(_)continue;p=!1;break}if(d){if(!em(e,function(t,e){if(!eI(d,e)&&(g===t||o(g,t,n,i,u)))return d.push(e)})){p=!1;break}}else if(!(g===v||o(g,v,n,i,u))){p=!1;break}}return u.delete(t),u.delete(e),p}function io(t){return iU(ik(t,r,iG),t+"")}function iu(t){return nY(t,ug,iv)}function is(t){return nY(t,uv,i_)}var ia=no?function(t){return no.get(t)}:uq;function il(t){for(var e=t.name+"",n=nu[e],r=tP.call(nu,e)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==t)return i.name}return e}function ic(t){return(tP.call(ng,"placeholder")?ng:t).placeholder}function ih(){var t=ng.iteratee||uL;return t=t===uL?n9:t,arguments.length?t(arguments[0],arguments[1]):t}function ip(t,e){var n,r,i=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof e?"string":"hash"]:i.map}function id(t){for(var e=ug(t),n=e.length;n--;){var r,i=e[n],o=t[i];e[n]=[i,o,(r=o)==r&&!oZ(r)]}return e}function ig(t,e){var n=null==t?r:t[e];return n5(n)?n:r}var iv=eQ?function(t){return null==t?[]:ef(eQ(t=t$(t)),function(e){return tK.call(t,e)})}:uX,i_=eQ?function(t){for(var e=[];t;)ev(e,iv(t)),t=tB(t);return e}:uX,iy=nQ;function im(t,e,n){e=rj(e,t);for(var r=-1,i=e.length,o=!1;++r<i;){var u=iz(e[r]);if(!(o=null!=t&&n(t,u)))break;t=t[u]}return o||++r!=i?o:!!(i=null==t?0:t.length)&&oG(i)&&iw(u,i)&&(oW(t)||oV(t))}function ix(t){return"function"!=typeof t.constructor||iE(t)?{}:nv(tB(t))}function ib(t){return oW(t)||oV(t)||!!(t8&&t&&t[t8])}function iw(t,e){var n=typeof t;return!!(e=null==e?0x1fffffffffffff:e)&&("number"==n||"symbol"!=n&&tp.test(t))&&t>-1&&t%1==0&&t<e}function iA(t,e,n){if(!oZ(n))return!1;var r=typeof e;return("number"==r?!!(oF(n)&&iw(e,n.length)):"string"==r&&e in n)&&oU(n[e],t)}function i$(t,e){if(oW(t))return!1;var n=typeof t;return!!("number"==n||"symbol"==n||"boolean"==n||null==t||o2(t))||K.test(t)||!Z.test(t)||null!=e&&t in t$(e)}function iS(t){var e=il(t),n=ng[e];if("function"!=typeof n||!(e in nm.prototype))return!1;if(t===n)return!0;var r=ia(n);return!!r&&t===r[0]}(e7&&iy(new e7(new ArrayBuffer(1)))!=O||nt&&iy(new nt)!=_||ne&&iy(ne.resolve())!=x||nn&&iy(new nn)!=w||nr&&iy(new nr)!=C)&&(iy=function(t){var e=nQ(t),n=e==m?t.constructor:r,i=n?iF(n):"";if(i)switch(i){case ns:return O;case na:return _;case nl:return x;case nc:return w;case nh:return C}return e});var iC=tR?oH:u0;function iE(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||tM)}function iO(t,e){return function(n){return null!=n&&n[t]===e&&(r!==e||t in t$(n))}}function ik(t,e,n){return e=e3(r===e?t.length-1:e,0),function(){for(var r=arguments,i=-1,o=e3(r.length-e,0),u=tm(o);++i<o;)u[i]=r[e+i];i=-1;for(var s=tm(e+1);++i<e;)s[i]=r[i];return s[e]=n(u),ea(t,this,s)}}function iM(t,e){return e.length<2?t:nJ(t,rv(e,0,-1))}function iR(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var ij=iT(rd),iP=ex||function(t,e){return t4.setTimeout(t,e)},iU=iT(rg);function iI(t,e,n){var r,i,o,u=e+"";return iU(t,function(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(te,"{\n/* [wrapped with "+e+"] */\n")}(u,(r=(o=u.match(tn))?o[1].split(tr):[],i=n,ec(l,function(t){var e="_."+t[0];i&t[1]&&!ep(r,e)&&r.push(e)}),r.sort())))}function iT(t){var e=0,n=0;return function(){var i=e6(),o=16-(i-n);if(n=i,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(r,arguments)}}function iV(t,e){var n=-1,i=t.length,o=i-1;for(e=r===e?i:e;++n<e;){var u=rc(n,o),s=t[u];t[u]=t[n],t[n]=s}return t.length=e,t}var iW=(t_=(tt=oO(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(J,function(t,n,r,i){e.push(r?i.replace(tu,"$1"):n||t)}),e},function(t){return 500===t_.size&&t_.clear(),t})).cache,tt);function iz(t){if("string"==typeof t||o2(t))return t;var e=t+"";return"0"==e&&1/t==-s?"-0":e}function iF(t){if(null!=t){try{return tj.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function iD(t){if(t instanceof nm)return t.clone();var e=new ny(t.__wrapped__,t.__chain__);return e.__actions__=rD(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var iL=rf(function(t,e){return oD(t)?nW(t,nB(e,1,oD,!0)):[]}),iN=rf(function(t,e){var n=iQ(e);return oD(n)&&(n=r),oD(t)?nW(t,nB(e,1,oD,!0),ih(n,2)):[]}),iB=rf(function(t,e){var n=iQ(e);return oD(n)&&(n=r),oD(t)?nW(t,nB(e,1,oD,!0),r,n):[]});function iH(t,e,n){var r=null==t?0:t.length;if(!r)return -1;var i=null==n?0:o9(n);return i<0&&(i=e3(r+i,0)),ew(t,ih(e,3),i)}function iq(t,e,n){var i=null==t?0:t.length;if(!i)return -1;var o=i-1;return r!==n&&(o=o9(n),o=n<0?e3(i+o,0):e8(o,i-1)),ew(t,ih(e,3),o,!0)}function iG(t){return(null==t?0:t.length)?nB(t,1):[]}function iZ(t){return t&&t.length?t[0]:r}var iK=rf(function(t){var e=eg(t,rM);return e.length&&e[0]===t[0]?n2(e):[]}),iJ=rf(function(t){var e=iQ(t),n=eg(t,rM);return e===iQ(n)?e=r:n.pop(),n.length&&n[0]===t[0]?n2(n,ih(e,2)):[]}),iY=rf(function(t){var e=iQ(t),n=eg(t,rM);return(e="function"==typeof e?e:r)&&n.pop(),n.length&&n[0]===t[0]?n2(n,r,e):[]});function iQ(t){var e=null==t?0:t.length;return e?t[e-1]:r}var iX=rf(i0);function i0(t,e){return t&&t.length&&e&&e.length?ra(t,e):t}var i1=io(function(t,e){var n=null==t?0:t.length,r=nP(t,e);return rl(t,eg(e,function(t){return iw(t,n)?+t:t}).sort(rW)),r});function i2(t){return null==t?t:e9.call(t)}var i3=rf(function(t){return rA(nB(t,1,oD,!0))}),i8=rf(function(t){var e=iQ(t);return oD(e)&&(e=r),rA(nB(t,1,oD,!0),ih(e,2))}),i6=rf(function(t){var e=iQ(t);return e="function"==typeof e?e:r,rA(nB(t,1,oD,!0),r,e)});function i4(t){if(!(t&&t.length))return[];var e=0;return t=ef(t,function(t){if(oD(t))return e=e3(t.length,e),!0}),eR(e,function(e){return eg(t,eE(e))})}function i5(t,e){if(!(t&&t.length))return[];var n=i4(t);return null==e?n:eg(n,function(t){return ea(e,r,t)})}var i9=rf(function(t,e){return oD(t)?nW(t,e):[]}),i7=rf(function(t){return rO(ef(t,oD))}),ot=rf(function(t){var e=iQ(t);return oD(e)&&(e=r),rO(ef(t,oD),ih(e,2))}),oe=rf(function(t){var e=iQ(t);return e="function"==typeof e?e:r,rO(ef(t,oD),r,e)}),on=rf(i4),or=rf(function(t){var e=t.length,n=e>1?t[e-1]:r;return n="function"==typeof n?(t.pop(),n):r,i5(t,n)});function oi(t){var e=ng(t);return e.__chain__=!0,e}function oo(t,e){return e(t)}var ou=io(function(t){var e=t.length,n=e?t[0]:0,i=this.__wrapped__,o=function(e){return nP(e,t)};return!(e>1)&&!this.__actions__.length&&i instanceof nm&&iw(n)?((i=i.slice(n,+n+ +!!e)).__actions__.push({func:oo,args:[o],thisArg:r}),new ny(i,this.__chain__).thru(function(t){return e&&!t.length&&t.push(r),t})):this.thru(o)}),os=rN(function(t,e,n){tP.call(t,n)?++t[n]:nj(t,n,1)}),oa=rJ(iH),ol=rJ(iq);function oc(t,e){return(oW(t)?ec:nz)(t,ih(e,3))}function oh(t,e){return(oW(t)?function(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}:nF)(t,ih(e,3))}var of=rN(function(t,e,n){tP.call(t,n)?t[n].push(e):nj(t,n,[e])}),op=rf(function(t,e,n){var r=-1,i="function"==typeof e,o=oF(t)?tm(t.length):[];return nz(t,function(t){o[++r]=i?ea(e,t,n):n3(t,e,n)}),o}),od=rN(function(t,e,n){nj(t,n,e)});function og(t,e){return(oW(t)?eg:re)(t,ih(e,3))}var ov=rN(function(t,e,n){t[+!n].push(e)},function(){return[[],[]]}),o_=rf(function(t,e){if(null==t)return[];var n=e.length;return n>1&&iA(t,e[0],e[1])?e=[]:n>2&&iA(e[0],e[1],e[2])&&(e=[e[0]]),ru(t,nB(e,1),[])}),oy=ee||function(){return t4.Date.now()};function om(t,e,n){return e=n?r:e,e=t&&null==e?t.length:e,r7(t,128,r,r,r,r,e)}function ox(t,e){var n;if("function"!=typeof e)throw new tE(i);return t=o9(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=r),n}}var ob=rf(function(t,e,n){var r=1;if(n.length){var i=eB(n,ic(ob));r|=32}return r7(t,r,e,n,i)}),ow=rf(function(t,e,n){var r=3;if(n.length){var i=eB(n,ic(ow));r|=32}return r7(e,r,t,n,i)});function oA(t,e,n){e=n?r:e;var i=r7(t,8,r,r,r,r,r,e);return i.placeholder=oA.placeholder,i}function o$(t,e,n){e=n?r:e;var i=r7(t,16,r,r,r,r,r,e);return i.placeholder=o$.placeholder,i}function oS(t,e,n){var o,u,s,a,l,c,h=0,f=!1,p=!1,d=!0;if("function"!=typeof t)throw new tE(i);function g(e){var n=o,i=u;return o=u=r,h=e,a=t.apply(i,n)}function v(t){var n=t-c,i=t-h;return r===c||n>=e||n<0||p&&i>=s}function _(){var t,n,r,i=oy();if(v(i))return y(i);l=iP(_,(t=i-c,n=i-h,r=e-t,p?e8(r,s-n):r))}function y(t){return(l=r,d&&o)?g(t):(o=u=r,a)}function m(){var t,n=oy(),i=v(n);if(o=arguments,u=this,c=n,i){if(r===l)return h=t=c,l=iP(_,e),f?g(t):a;if(p)return rU(l),l=iP(_,e),g(c)}return r===l&&(l=iP(_,e)),a}return e=ut(e)||0,oZ(n)&&(f=!!n.leading,s=(p="maxWait"in n)?e3(ut(n.maxWait)||0,e):s,d="trailing"in n?!!n.trailing:d),m.cancel=function(){r!==l&&rU(l),h=0,o=c=u=l=r},m.flush=function(){return r===l?a:y(oy())},m}var oC=rf(function(t,e){return nV(t,1,e)}),oE=rf(function(t,e,n){return nV(t,ut(e)||0,n)});function oO(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new tE(i);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var u=t.apply(this,r);return n.cache=o.set(i,u)||o,u};return n.cache=new(oO.Cache||nw),n}function ok(t){if("function"!=typeof t)throw new tE(i);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}oO.Cache=nw;var oM=rf(function(t,e){var n=(e=1==e.length&&oW(e[0])?eg(e[0],eP(ih())):eg(nB(e,1),eP(ih()))).length;return rf(function(r){for(var i=-1,o=e8(r.length,n);++i<o;)r[i]=e[i].call(this,r[i]);return ea(t,this,r)})}),oR=rf(function(t,e){var n=eB(e,ic(oR));return r7(t,32,r,e,n)}),oj=rf(function(t,e){var n=eB(e,ic(oj));return r7(t,64,r,e,n)}),oP=io(function(t,e){return r7(t,256,r,r,r,e)});function oU(t,e){return t===e||t!=t&&e!=e}var oI=r8(nX),oT=r8(function(t,e){return t>=e}),oV=n8(function(){return arguments}())?n8:function(t){return oK(t)&&tP.call(t,"callee")&&!tK.call(t,"callee")},oW=tm.isArray,oz=en?eP(en):function(t){return oK(t)&&nQ(t)==E};function oF(t){return null!=t&&oG(t.length)&&!oH(t)}function oD(t){return oK(t)&&oF(t)}var oL=eX||u0,oN=er?eP(er):function(t){return oK(t)&&nQ(t)==p};function oB(t){if(!oK(t))return!1;var e=nQ(t);return e==d||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!oQ(t)}function oH(t){if(!oZ(t))return!1;var e=nQ(t);return e==g||e==v||"[object AsyncFunction]"==e||"[object Proxy]"==e}function oq(t){return"number"==typeof t&&t==o9(t)}function oG(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=0x1fffffffffffff}function oZ(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function oK(t){return null!=t&&"object"==typeof t}var oJ=ei?eP(ei):function(t){return oK(t)&&iy(t)==_};function oY(t){return"number"==typeof t||oK(t)&&nQ(t)==y}function oQ(t){if(!oK(t)||nQ(t)!=m)return!1;var e=tB(t);if(null===e)return!0;var n=tP.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&tj.call(n)==tV}var oX=eo?eP(eo):function(t){return oK(t)&&nQ(t)==b},o0=eu?eP(eu):function(t){return oK(t)&&iy(t)==w};function o1(t){return"string"==typeof t||!oW(t)&&oK(t)&&nQ(t)==A}function o2(t){return"symbol"==typeof t||oK(t)&&nQ(t)==S}var o3=es?eP(es):function(t){return oK(t)&&oG(t.length)&&!!tX[nQ(t)]},o8=r8(rt),o6=r8(function(t,e){return t<=e});function o4(t){if(!t)return[];if(oF(t))return o1(t)?eG(t):rD(t);if(t6&&t[t6]){for(var e,n=t[t6](),r=[];!(e=n.next()).done;)r.push(e.value);return r}var i=iy(t);return(i==_?eL:i==w?eH:u$)(t)}function o5(t){return t?(t=ut(t))===s||t===-s?(t<0?-1:1)*17976931348623157e292:t==t?t:0:0===t?t:0}function o9(t){var e=o5(t),n=e%1;return e==e?n?e-n:e:0}function o7(t){return t?nU(o9(t),0,0xffffffff):0}function ut(t){if("number"==typeof t)return t;if(o2(t))return a;if(oZ(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=oZ(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=ej(t);var n=tc.test(t);return n||tf.test(t)?t3(t.slice(2),n?2:8):tl.test(t)?a:+t}function ue(t){return rL(t,uv(t))}function un(t){return null==t?"":rw(t)}var ur=rB(function(t,e){if(iE(e)||oF(e))return void rL(e,ug(e),t);for(var n in e)tP.call(e,n)&&nO(t,n,e[n])}),ui=rB(function(t,e){rL(e,uv(e),t)}),uo=rB(function(t,e,n,r){rL(e,uv(e),t,r)}),uu=rB(function(t,e,n,r){rL(e,ug(e),t,r)}),us=io(nP),ua=rf(function(t,e){t=t$(t);var n=-1,i=e.length,o=i>2?e[2]:r;for(o&&iA(e[0],e[1],o)&&(i=1);++n<i;)for(var u=e[n],s=uv(u),a=-1,l=s.length;++a<l;){var c=s[a],h=t[c];(r===h||oU(h,tM[c])&&!tP.call(t,c))&&(t[c]=u[c])}return t}),ul=rf(function(t){return t.push(r,ie),ea(uy,r,t)});function uc(t,e,n){var i=null==t?r:nJ(t,e);return r===i?n:i}function uh(t,e){return null!=t&&im(t,e,n1)}var uf=rX(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=tT.call(e)),t[e]=n},uW(uD)),up=rX(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=tT.call(e)),tP.call(t,e)?t[e].push(n):t[e]=[n]},ih),ud=rf(n3);function ug(t){return oF(t)?nS(t):n7(t)}function uv(t){return oF(t)?nS(t,!0):function(t){if(!oZ(t)){var e=t,n=[];if(null!=e)for(var r in t$(e))n.push(r);return n}var i=iE(t),o=[];for(var u in t)"constructor"==u&&(i||!tP.call(t,u))||o.push(u);return o}(t)}var u_=rB(function(t,e,n){ri(t,e,n)}),uy=rB(function(t,e,n,r){ri(t,e,n,r)}),um=io(function(t,e){var n={};if(null==t)return n;var r=!1;e=eg(e,function(e){return e=rj(e,t),r||(r=e.length>1),e}),rL(t,is(t),n),r&&(n=nI(n,7,ir));for(var i=e.length;i--;)r$(n,e[i]);return n}),ux=io(function(t,e){return null==t?{}:rs(t,e,function(e,n){return uh(t,n)})});function ub(t,e){if(null==t)return{};var n=eg(is(t),function(t){return[t]});return e=ih(e),rs(t,n,function(t,n){return e(t,n[0])})}var uw=r9(ug),uA=r9(uv);function u$(t){return null==t?[]:eU(t,ug(t))}var uS=rZ(function(t,e,n){return e=e.toLowerCase(),t+(n?uC(e):e)});function uC(t){return uU(un(t).toLowerCase())}function uE(t){return(t=un(t))&&t.replace(td,eW).replace(tq,"")}var uO=rZ(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),uk=rZ(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),uM=rG("toLowerCase"),uR=rZ(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),uj=rZ(function(t,e,n){return t+(n?" ":"")+uU(e)}),uP=rZ(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),uU=rG("toUpperCase");function uI(t,e,n){if(t=un(t),e=n?r:e,r===e){var i;return(i=t,tJ.test(i))?t.match(tZ)||[]:t.match(ti)||[]}return t.match(e)||[]}var uT=rf(function(t,e){try{return ea(t,r,e)}catch(t){return oB(t)?t:new tb(t)}}),uV=io(function(t,e){return ec(e,function(e){nj(t,e=iz(e),ob(t[e],t))}),t});function uW(t){return function(){return t}}var uz=rY(),uF=rY(!0);function uD(t){return t}function uL(t){return n9("function"==typeof t?t:nI(t,1))}var uN=rf(function(t,e){return function(n){return n3(n,t,e)}}),uB=rf(function(t,e){return function(n){return n3(t,n,e)}});function uH(t,e,n){var r=ug(e),i=nK(e,r);null!=n||oZ(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=nK(e,ug(e)));var o=!(oZ(n)&&"chain"in n)||!!n.chain,u=oH(t);return ec(i,function(n){var r=e[n];t[n]=r,u&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__);return(n.__actions__=rD(this.__actions__)).push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,ev([this.value()],arguments))})}),t}function uq(){}var uG=r1(eg),uZ=r1(eh),uK=r1(em);function uJ(t){return i$(t)?eE(iz(t)):function(e){return nJ(e,t)}}var uY=r3(),uQ=r3(!0);function uX(){return[]}function u0(){return!1}var u1=r0(function(t,e){return t+e},0),u2=r4("ceil"),u3=r0(function(t,e){return t/e},1),u8=r4("floor"),u6=r0(function(t,e){return t*e},1),u4=r4("round"),u5=r0(function(t,e){return t-e},0);return ng.after=function(t,e){if("function"!=typeof e)throw new tE(i);return t=o9(t),function(){if(--t<1)return e.apply(this,arguments)}},ng.ary=om,ng.assign=ur,ng.assignIn=ui,ng.assignInWith=uo,ng.assignWith=uu,ng.at=us,ng.before=ox,ng.bind=ob,ng.bindAll=uV,ng.bindKey=ow,ng.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return oW(t)?t:[t]},ng.chain=oi,ng.chunk=function(t,e,n){e=(n?iA(t,e,n):r===e)?1:e3(o9(e),0);var i=null==t?0:t.length;if(!i||e<1)return[];for(var o=0,u=0,s=tm(eO(i/e));o<i;)s[u++]=rv(t,o,o+=e);return s},ng.compact=function(t){for(var e=-1,n=null==t?0:t.length,r=0,i=[];++e<n;){var o=t[e];o&&(i[r++]=o)}return i},ng.concat=function(){var t=arguments.length;if(!t)return[];for(var e=tm(t-1),n=arguments[0],r=t;r--;)e[r-1]=arguments[r];return ev(oW(n)?rD(n):[n],nB(e,1))},ng.cond=function(t){var e=null==t?0:t.length,n=ih();return t=e?eg(t,function(t){if("function"!=typeof t[1])throw new tE(i);return[n(t[0]),t[1]]}):[],rf(function(n){for(var r=-1;++r<e;){var i=t[r];if(ea(i[0],this,n))return ea(i[1],this,n)}})},ng.conforms=function(t){var e,n;return n=ug(e=nI(t,1)),function(t){return nT(t,e,n)}},ng.constant=uW,ng.countBy=os,ng.create=function(t,e){var n=nv(t);return null==e?n:nR(n,e)},ng.curry=oA,ng.curryRight=o$,ng.debounce=oS,ng.defaults=ua,ng.defaultsDeep=ul,ng.defer=oC,ng.delay=oE,ng.difference=iL,ng.differenceBy=iN,ng.differenceWith=iB,ng.drop=function(t,e,n){var i=null==t?0:t.length;return i?rv(t,(e=n||r===e?1:o9(e))<0?0:e,i):[]},ng.dropRight=function(t,e,n){var i=null==t?0:t.length;return i?rv(t,0,(e=i-(e=n||r===e?1:o9(e)))<0?0:e):[]},ng.dropRightWhile=function(t,e){return t&&t.length?rC(t,ih(e,3),!0,!0):[]},ng.dropWhile=function(t,e){return t&&t.length?rC(t,ih(e,3),!0):[]},ng.fill=function(t,e,n,i){var o=null==t?0:t.length;if(!o)return[];n&&"number"!=typeof n&&iA(t,e,n)&&(n=0,i=o);var u=n,s=i,a=t.length;for((u=o9(u))<0&&(u=-u>a?0:a+u),(s=r===s||s>a?a:o9(s))<0&&(s+=a),s=u>s?0:o7(s);u<s;)t[u++]=e;return t},ng.filter=function(t,e){return(oW(t)?ef:nN)(t,ih(e,3))},ng.flatMap=function(t,e){return nB(og(t,e),1)},ng.flatMapDeep=function(t,e){return nB(og(t,e),s)},ng.flatMapDepth=function(t,e,n){return n=r===n?1:o9(n),nB(og(t,e),n)},ng.flatten=iG,ng.flattenDeep=function(t){return(null==t?0:t.length)?nB(t,s):[]},ng.flattenDepth=function(t,e){return(null==t?0:t.length)?nB(t,e=r===e?1:o9(e)):[]},ng.flip=function(t){return r7(t,512)},ng.flow=uz,ng.flowRight=uF,ng.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var i=t[e];r[i[0]]=i[1]}return r},ng.functions=function(t){return null==t?[]:nK(t,ug(t))},ng.functionsIn=function(t){return null==t?[]:nK(t,uv(t))},ng.groupBy=of,ng.initial=function(t){return(null==t?0:t.length)?rv(t,0,-1):[]},ng.intersection=iK,ng.intersectionBy=iJ,ng.intersectionWith=iY,ng.invert=uf,ng.invertBy=up,ng.invokeMap=op,ng.iteratee=uL,ng.keyBy=od,ng.keys=ug,ng.keysIn=uv,ng.map=og,ng.mapKeys=function(t,e){var n={};return e=ih(e,3),nG(t,function(t,r,i){nj(n,e(t,r,i),t)}),n},ng.mapValues=function(t,e){var n={};return e=ih(e,3),nG(t,function(t,r,i){nj(n,r,e(t,r,i))}),n},ng.matches=function(t){return rn(nI(t,1))},ng.matchesProperty=function(t,e){return rr(t,nI(e,1))},ng.memoize=oO,ng.merge=u_,ng.mergeWith=uy,ng.method=uN,ng.methodOf=uB,ng.mixin=uH,ng.negate=ok,ng.nthArg=function(t){return t=o9(t),rf(function(e){return ro(e,t)})},ng.omit=um,ng.omitBy=function(t,e){return ub(t,ok(ih(e)))},ng.once=function(t){return ox(2,t)},ng.orderBy=function(t,e,n,i){return null==t?[]:(oW(e)||(e=null==e?[]:[e]),oW(n=i?r:n)||(n=null==n?[]:[n]),ru(t,e,n))},ng.over=uG,ng.overArgs=oM,ng.overEvery=uZ,ng.overSome=uK,ng.partial=oR,ng.partialRight=oj,ng.partition=ov,ng.pick=ux,ng.pickBy=ub,ng.property=uJ,ng.propertyOf=function(t){return function(e){return null==t?r:nJ(t,e)}},ng.pull=iX,ng.pullAll=i0,ng.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?ra(t,e,ih(n,2)):t},ng.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?ra(t,e,r,n):t},ng.pullAt=i1,ng.range=uY,ng.rangeRight=uQ,ng.rearg=oP,ng.reject=function(t,e){return(oW(t)?ef:nN)(t,ok(ih(e,3)))},ng.remove=function(t,e){var n=[];if(!(t&&t.length))return n;var r=-1,i=[],o=t.length;for(e=ih(e,3);++r<o;){var u=t[r];e(u,r,t)&&(n.push(u),i.push(r))}return rl(t,i),n},ng.rest=function(t,e){if("function"!=typeof t)throw new tE(i);return rf(t,e=r===e?e:o9(e))},ng.reverse=i2,ng.sampleSize=function(t,e,n){return e=(n?iA(t,e,n):r===e)?1:o9(e),(oW(t)?function(t,e){return iV(rD(t),nU(e,0,t.length))}:function(t,e){var n=u$(t);return iV(n,nU(e,0,n.length))})(t,e)},ng.set=function(t,e,n){return null==t?t:rp(t,e,n)},ng.setWith=function(t,e,n,i){return i="function"==typeof i?i:r,null==t?t:rp(t,e,n,i)},ng.shuffle=function(t){return(oW(t)?function(t){return iV(rD(t))}:function(t){return iV(u$(t))})(t)},ng.slice=function(t,e,n){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&iA(t,e,n)?(e=0,n=i):(e=null==e?0:o9(e),n=r===n?i:o9(n)),rv(t,e,n)):[]},ng.sortBy=o_,ng.sortedUniq=function(t){return t&&t.length?rx(t):[]},ng.sortedUniqBy=function(t,e){return t&&t.length?rx(t,ih(e,2)):[]},ng.split=function(t,e,n){return(n&&"number"!=typeof n&&iA(t,e,n)&&(e=n=r),n=r===n?0xffffffff:n>>>0)?(t=un(t))&&("string"==typeof e||null!=e&&!oX(e))&&!(e=rw(e))&&eD(t)?rP(eG(t),0,n):t.split(e,n):[]},ng.spread=function(t,e){if("function"!=typeof t)throw new tE(i);return e=null==e?0:e3(o9(e),0),rf(function(n){var r=n[e],i=rP(n,0,e);return r&&ev(i,r),ea(t,this,i)})},ng.tail=function(t){var e=null==t?0:t.length;return e?rv(t,1,e):[]},ng.take=function(t,e,n){return t&&t.length?rv(t,0,(e=n||r===e?1:o9(e))<0?0:e):[]},ng.takeRight=function(t,e,n){var i=null==t?0:t.length;return i?rv(t,(e=i-(e=n||r===e?1:o9(e)))<0?0:e,i):[]},ng.takeRightWhile=function(t,e){return t&&t.length?rC(t,ih(e,3),!1,!0):[]},ng.takeWhile=function(t,e){return t&&t.length?rC(t,ih(e,3)):[]},ng.tap=function(t,e){return e(t),t},ng.throttle=function(t,e,n){var r=!0,o=!0;if("function"!=typeof t)throw new tE(i);return oZ(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),oS(t,e,{leading:r,maxWait:e,trailing:o})},ng.thru=oo,ng.toArray=o4,ng.toPairs=uw,ng.toPairsIn=uA,ng.toPath=function(t){return oW(t)?eg(t,iz):o2(t)?[t]:rD(iW(un(t)))},ng.toPlainObject=ue,ng.transform=function(t,e,n){var r=oW(t),i=r||oL(t)||o3(t);if(e=ih(e,4),null==n){var o=t&&t.constructor;n=i?r?new o:[]:oZ(t)&&oH(o)?nv(tB(t)):{}}return(i?ec:nG)(t,function(t,r,i){return e(n,t,r,i)}),n},ng.unary=function(t){return om(t,1)},ng.union=i3,ng.unionBy=i8,ng.unionWith=i6,ng.uniq=function(t){return t&&t.length?rA(t):[]},ng.uniqBy=function(t,e){return t&&t.length?rA(t,ih(e,2)):[]},ng.uniqWith=function(t,e){return e="function"==typeof e?e:r,t&&t.length?rA(t,r,e):[]},ng.unset=function(t,e){return null==t||r$(t,e)},ng.unzip=i4,ng.unzipWith=i5,ng.update=function(t,e,n){return null==t?t:rS(t,e,rR(n))},ng.updateWith=function(t,e,n,i){return i="function"==typeof i?i:r,null==t?t:rS(t,e,rR(n),i)},ng.values=u$,ng.valuesIn=function(t){return null==t?[]:eU(t,uv(t))},ng.without=i9,ng.words=uI,ng.wrap=function(t,e){return oR(rR(e),t)},ng.xor=i7,ng.xorBy=ot,ng.xorWith=oe,ng.zip=on,ng.zipObject=function(t,e){return rk(t||[],e||[],nO)},ng.zipObjectDeep=function(t,e){return rk(t||[],e||[],rp)},ng.zipWith=or,ng.entries=uw,ng.entriesIn=uA,ng.extend=ui,ng.extendWith=uo,uH(ng,ng),ng.add=u1,ng.attempt=uT,ng.camelCase=uS,ng.capitalize=uC,ng.ceil=u2,ng.clamp=function(t,e,n){return r===n&&(n=e,e=r),r!==n&&(n=(n=ut(n))==n?n:0),r!==e&&(e=(e=ut(e))==e?e:0),nU(ut(t),e,n)},ng.clone=function(t){return nI(t,4)},ng.cloneDeep=function(t){return nI(t,5)},ng.cloneDeepWith=function(t,e){return nI(t,5,e="function"==typeof e?e:r)},ng.cloneWith=function(t,e){return nI(t,4,e="function"==typeof e?e:r)},ng.conformsTo=function(t,e){return null==e||nT(t,e,ug(e))},ng.deburr=uE,ng.defaultTo=function(t,e){return null==t||t!=t?e:t},ng.divide=u3,ng.endsWith=function(t,e,n){t=un(t),e=rw(e);var i=t.length,o=n=r===n?i:nU(o9(n),0,i);return(n-=e.length)>=0&&t.slice(n,o)==e},ng.eq=oU,ng.escape=function(t){return(t=un(t))&&B.test(t)?t.replace(L,ez):t},ng.escapeRegExp=function(t){return(t=un(t))&&Q.test(t)?t.replace(Y,"\\$&"):t},ng.every=function(t,e,n){var i=oW(t)?eh:nD;return n&&iA(t,e,n)&&(e=r),i(t,ih(e,3))},ng.find=oa,ng.findIndex=iH,ng.findKey=function(t,e){return eb(t,ih(e,3),nG)},ng.findLast=ol,ng.findLastIndex=iq,ng.findLastKey=function(t,e){return eb(t,ih(e,3),nZ)},ng.floor=u8,ng.forEach=oc,ng.forEachRight=oh,ng.forIn=function(t,e){return null==t?t:nH(t,ih(e,3),uv)},ng.forInRight=function(t,e){return null==t?t:nq(t,ih(e,3),uv)},ng.forOwn=function(t,e){return t&&nG(t,ih(e,3))},ng.forOwnRight=function(t,e){return t&&nZ(t,ih(e,3))},ng.get=uc,ng.gt=oI,ng.gte=oT,ng.has=function(t,e){return null!=t&&im(t,e,n0)},ng.hasIn=uh,ng.head=iZ,ng.identity=uD,ng.includes=function(t,e,n,r){t=oF(t)?t:u$(t),n=n&&!r?o9(n):0;var i=t.length;return n<0&&(n=e3(i+n,0)),o1(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&eA(t,e,n)>-1},ng.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return -1;var i=null==n?0:o9(n);return i<0&&(i=e3(r+i,0)),eA(t,e,i)},ng.inRange=function(t,e,n){var i,o,u;return e=o5(e),r===n?(n=e,e=0):n=o5(n),(i=t=ut(t))>=e8(o=e,u=n)&&i<e3(o,u)},ng.invoke=ud,ng.isArguments=oV,ng.isArray=oW,ng.isArrayBuffer=oz,ng.isArrayLike=oF,ng.isArrayLikeObject=oD,ng.isBoolean=function(t){return!0===t||!1===t||oK(t)&&nQ(t)==f},ng.isBuffer=oL,ng.isDate=oN,ng.isElement=function(t){return oK(t)&&1===t.nodeType&&!oQ(t)},ng.isEmpty=function(t){if(null==t)return!0;if(oF(t)&&(oW(t)||"string"==typeof t||"function"==typeof t.splice||oL(t)||o3(t)||oV(t)))return!t.length;var e=iy(t);if(e==_||e==w)return!t.size;if(iE(t))return!n7(t).length;for(var n in t)if(tP.call(t,n))return!1;return!0},ng.isEqual=function(t,e){return n6(t,e)},ng.isEqualWith=function(t,e,n){var i=(n="function"==typeof n?n:r)?n(t,e):r;return r===i?n6(t,e,r,n):!!i},ng.isError=oB,ng.isFinite=function(t){return"number"==typeof t&&e0(t)},ng.isFunction=oH,ng.isInteger=oq,ng.isLength=oG,ng.isMap=oJ,ng.isMatch=function(t,e){return t===e||n4(t,e,id(e))},ng.isMatchWith=function(t,e,n){return n="function"==typeof n?n:r,n4(t,e,id(e),n)},ng.isNaN=function(t){return oY(t)&&t!=+t},ng.isNative=function(t){if(iC(t))throw new tb("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return n5(t)},ng.isNil=function(t){return null==t},ng.isNull=function(t){return null===t},ng.isNumber=oY,ng.isObject=oZ,ng.isObjectLike=oK,ng.isPlainObject=oQ,ng.isRegExp=oX,ng.isSafeInteger=function(t){return oq(t)&&t>=-0x1fffffffffffff&&t<=0x1fffffffffffff},ng.isSet=o0,ng.isString=o1,ng.isSymbol=o2,ng.isTypedArray=o3,ng.isUndefined=function(t){return r===t},ng.isWeakMap=function(t){return oK(t)&&iy(t)==C},ng.isWeakSet=function(t){return oK(t)&&"[object WeakSet]"==nQ(t)},ng.join=function(t,e){return null==t?"":e1.call(t,e)},ng.kebabCase=uO,ng.last=iQ,ng.lastIndexOf=function(t,e,n){var i=null==t?0:t.length;if(!i)return -1;var o=i;return r!==n&&(o=(o=o9(n))<0?e3(i+o,0):e8(o,i-1)),e==e?function(t,e,n){for(var r=n+1;r--&&t[r]!==e;);return r}(t,e,o):ew(t,eS,o,!0)},ng.lowerCase=uk,ng.lowerFirst=uM,ng.lt=o8,ng.lte=o6,ng.max=function(t){return t&&t.length?nL(t,uD,nX):r},ng.maxBy=function(t,e){return t&&t.length?nL(t,ih(e,2),nX):r},ng.mean=function(t){return eC(t,uD)},ng.meanBy=function(t,e){return eC(t,ih(e,2))},ng.min=function(t){return t&&t.length?nL(t,uD,rt):r},ng.minBy=function(t,e){return t&&t.length?nL(t,ih(e,2),rt):r},ng.stubArray=uX,ng.stubFalse=u0,ng.stubObject=function(){return{}},ng.stubString=function(){return""},ng.stubTrue=function(){return!0},ng.multiply=u6,ng.nth=function(t,e){return t&&t.length?ro(t,o9(e)):r},ng.noConflict=function(){return t4._===this&&(t4._=tW),this},ng.noop=uq,ng.now=oy,ng.pad=function(t,e,n){t=un(t);var r=(e=o9(e))?eq(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return r2(eY(i),n)+t+r2(eO(i),n)},ng.padEnd=function(t,e,n){t=un(t);var r=(e=o9(e))?eq(t):0;return e&&r<e?t+r2(e-r,n):t},ng.padStart=function(t,e,n){t=un(t);var r=(e=o9(e))?eq(t):0;return e&&r<e?r2(e-r,n)+t:t},ng.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e*=1),e4(un(t).replace(X,""),e||0)},ng.random=function(t,e,n){if(n&&"boolean"!=typeof n&&iA(t,e,n)&&(e=n=r),r===n&&("boolean"==typeof e?(n=e,e=r):"boolean"==typeof t&&(n=t,t=r)),r===t&&r===e?(t=0,e=1):(t=o5(t),r===e?(e=t,t=0):e=o5(e)),t>e){var i=t;t=e,e=i}if(n||t%1||e%1){var o=e5();return e8(t+o*(e-t+t2("1e-"+((o+"").length-1))),e)}return rc(t,e)},ng.reduce=function(t,e,n){var r=oW(t)?e_:ek,i=arguments.length<3;return r(t,ih(e,4),n,i,nz)},ng.reduceRight=function(t,e,n){var r=oW(t)?ey:ek,i=arguments.length<3;return r(t,ih(e,4),n,i,nF)},ng.repeat=function(t,e,n){return e=(n?iA(t,e,n):r===e)?1:o9(e),rh(un(t),e)},ng.replace=function(){var t=arguments,e=un(t[0]);return t.length<3?e:e.replace(t[1],t[2])},ng.result=function(t,e,n){e=rj(e,t);var i=-1,o=e.length;for(o||(o=1,t=r);++i<o;){var u=null==t?r:t[iz(e[i])];r===u&&(i=o,u=n),t=oH(u)?u.call(t):u}return t},ng.round=u4,ng.runInContext=t,ng.sample=function(t){return(oW(t)?nC:function(t){return nC(u$(t))})(t)},ng.size=function(t){if(null==t)return 0;if(oF(t))return o1(t)?eq(t):t.length;var e=iy(t);return e==_||e==w?t.size:n7(t).length},ng.snakeCase=uR,ng.some=function(t,e,n){var i=oW(t)?em:r_;return n&&iA(t,e,n)&&(e=r),i(t,ih(e,3))},ng.sortedIndex=function(t,e){return ry(t,e)},ng.sortedIndexBy=function(t,e,n){return rm(t,e,ih(n,2))},ng.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var r=ry(t,e);if(r<n&&oU(t[r],e))return r}return -1},ng.sortedLastIndex=function(t,e){return ry(t,e,!0)},ng.sortedLastIndexBy=function(t,e,n){return rm(t,e,ih(n,2),!0)},ng.sortedLastIndexOf=function(t,e){if(null==t?0:t.length){var n=ry(t,e,!0)-1;if(oU(t[n],e))return n}return -1},ng.startCase=uj,ng.startsWith=function(t,e,n){return t=un(t),n=null==n?0:nU(o9(n),0,t.length),e=rw(e),t.slice(n,n+e.length)==e},ng.subtract=u5,ng.sum=function(t){return t&&t.length?eM(t,uD):0},ng.sumBy=function(t,e){return t&&t.length?eM(t,ih(e,2)):0},ng.template=function(t,e,n){var i=ng.templateSettings;n&&iA(t,e,n)&&(e=r),t=un(t),e=uo({},e,i,it);var o,u,s=uo({},e.imports,i.imports,it),a=ug(s),l=eU(s,a),c=0,h=e.interpolate||tg,f="__p += '",p=tS((e.escape||tg).source+"|"+h.source+"|"+(h===G?ts:tg).source+"|"+(e.evaluate||tg).source+"|$","g"),d="//# sourceURL="+(tP.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++tQ+"]")+"\n";t.replace(p,function(e,n,r,i,s,a){return r||(r=i),f+=t.slice(c,a).replace(tv,eF),n&&(o=!0,f+="' +\n__e("+n+") +\n'"),s&&(u=!0,f+="';\n"+s+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=a+e.length,e}),f+="';\n";var g=tP.call(e,"variable")&&e.variable;if(g){if(to.test(g))throw new tb("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(u?f.replace(W,""):f).replace(z,"$1").replace(F,"$1;"),f="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(u?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var v=uT(function(){return tw(a,d+"return "+f).apply(r,l)});if(v.source=f,oB(v))throw v;return v},ng.times=function(t,e){if((t=o9(t))<1||t>0x1fffffffffffff)return[];var n=0xffffffff,r=e8(t,0xffffffff);e=ih(e),t-=0xffffffff;for(var i=eR(r,e);++n<t;)e(n);return i},ng.toFinite=o5,ng.toInteger=o9,ng.toLength=o7,ng.toLower=function(t){return un(t).toLowerCase()},ng.toNumber=ut,ng.toSafeInteger=function(t){return t?nU(o9(t),-0x1fffffffffffff,0x1fffffffffffff):0===t?t:0},ng.toString=un,ng.toUpper=function(t){return un(t).toUpperCase()},ng.trim=function(t,e,n){if((t=un(t))&&(n||r===e))return ej(t);if(!t||!(e=rw(e)))return t;var i=eG(t),o=eG(e),u=eT(i,o),s=eV(i,o)+1;return rP(i,u,s).join("")},ng.trimEnd=function(t,e,n){if((t=un(t))&&(n||r===e))return t.slice(0,eZ(t)+1);if(!t||!(e=rw(e)))return t;var i=eG(t),o=eV(i,eG(e))+1;return rP(i,0,o).join("")},ng.trimStart=function(t,e,n){if((t=un(t))&&(n||r===e))return t.replace(X,"");if(!t||!(e=rw(e)))return t;var i=eG(t),o=eT(i,eG(e));return rP(i,o).join("")},ng.truncate=function(t,e){var n=30,i="...";if(oZ(e)){var o="separator"in e?e.separator:o;n="length"in e?o9(e.length):n,i="omission"in e?rw(e.omission):i}var u=(t=un(t)).length;if(eD(t)){var s=eG(t);u=s.length}if(n>=u)return t;var a=n-eq(i);if(a<1)return i;var l=s?rP(s,0,a).join(""):t.slice(0,a);if(r===o)return l+i;if(s&&(a+=l.length-a),oX(o)){if(t.slice(a).search(o)){var c,h=l;for(o.global||(o=tS(o.source,un(ta.exec(o))+"g")),o.lastIndex=0;c=o.exec(h);)var f=c.index;l=l.slice(0,r===f?a:f)}}else if(t.indexOf(rw(o),a)!=a){var p=l.lastIndexOf(o);p>-1&&(l=l.slice(0,p))}return l+i},ng.unescape=function(t){return(t=un(t))&&N.test(t)?t.replace(D,eK):t},ng.uniqueId=function(t){var e=++tU;return un(t)+e},ng.upperCase=uP,ng.upperFirst=uU,ng.each=oc,ng.eachRight=oh,ng.first=iZ,uH(ng,(ty={},nG(ng,function(t,e){tP.call(ng.prototype,e)||(ty[e]=t)}),ty),{chain:!1}),ng.VERSION="4.17.21",ec(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){ng[t].placeholder=ng}),ec(["drop","take"],function(t,e){nm.prototype[t]=function(n){n=r===n?1:e3(o9(n),0);var i=this.__filtered__&&!e?new nm(this):this.clone();return i.__filtered__?i.__takeCount__=e8(n,i.__takeCount__):i.__views__.push({size:e8(n,0xffffffff),type:t+(i.__dir__<0?"Right":"")}),i},nm.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),ec(["filter","map","takeWhile"],function(t,e){var n=e+1,r=1==n||3==n;nm.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:ih(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),ec(["head","last"],function(t,e){var n="take"+(e?"Right":"");nm.prototype[t]=function(){return this[n](1).value()[0]}}),ec(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");nm.prototype[t]=function(){return this.__filtered__?new nm(this):this[n](1)}}),nm.prototype.compact=function(){return this.filter(uD)},nm.prototype.find=function(t){return this.filter(t).head()},nm.prototype.findLast=function(t){return this.reverse().find(t)},nm.prototype.invokeMap=rf(function(t,e){return"function"==typeof t?new nm(this):this.map(function(n){return n3(n,t,e)})}),nm.prototype.reject=function(t){return this.filter(ok(ih(t)))},nm.prototype.slice=function(t,e){t=o9(t);var n=this;return n.__filtered__&&(t>0||e<0)?new nm(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),r!==e&&(n=(e=o9(e))<0?n.dropRight(-e):n.take(e-t)),n)},nm.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},nm.prototype.toArray=function(){return this.take(0xffffffff)},nG(nm.prototype,function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),i=/^(?:head|last)$/.test(e),o=ng[i?"take"+("last"==e?"Right":""):e],u=i||/^find/.test(e);o&&(ng.prototype[e]=function(){var e=this.__wrapped__,s=i?[1]:arguments,a=e instanceof nm,l=s[0],c=a||oW(e),h=function(t){var e=o.apply(ng,ev([t],s));return i&&f?e[0]:e};c&&n&&"function"==typeof l&&1!=l.length&&(a=c=!1);var f=this.__chain__,p=!!this.__actions__.length,d=u&&!f,g=a&&!p;if(!u&&c){e=g?e:new nm(this);var v=t.apply(e,s);return v.__actions__.push({func:oo,args:[h],thisArg:r}),new ny(v,f)}return d&&g?t.apply(this,s):(v=this.thru(h),d?i?v.value()[0]:v.value():v)})}),ec(["pop","push","shift","sort","splice","unshift"],function(t){var e=tO[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);ng.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(oW(i)?i:[],t)}return this[n](function(n){return e.apply(oW(n)?n:[],t)})}}),nG(nm.prototype,function(t,e){var n=ng[e];if(n){var r=n.name+"";tP.call(nu,r)||(nu[r]=[]),nu[r].push({name:e,func:n})}}),nu[rQ(r,2).name]=[{name:"wrapper",func:r}],nm.prototype.clone=function(){var t=new nm(this.__wrapped__);return t.__actions__=rD(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=rD(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=rD(this.__views__),t},nm.prototype.reverse=function(){if(this.__filtered__){var t=new nm(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t},nm.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=oW(t),r=e<0,i=n?t.length:0,o=function(t,e,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],u=o.size;switch(o.type){case"drop":t+=u;break;case"dropRight":e-=u;break;case"take":e=e8(e,t+u);break;case"takeRight":t=e3(t,e-u)}}return{start:t,end:e}}(0,i,this.__views__),u=o.start,s=o.end,a=s-u,l=r?s:u-1,c=this.__iteratees__,h=c.length,f=0,p=e8(a,this.__takeCount__);if(!n||!r&&i==a&&p==a)return rE(t,this.__actions__);var d=[];t:for(;a--&&f<p;){for(var g=-1,v=t[l+=e];++g<h;){var _=c[g],y=_.iteratee,m=_.type,x=y(v);if(2==m)v=x;else if(!x)if(1==m)continue t;else break t}d[f++]=v}return d},ng.prototype.at=ou,ng.prototype.chain=function(){return oi(this)},ng.prototype.commit=function(){return new ny(this.value(),this.__chain__)},ng.prototype.next=function(){this.__values__===r&&(this.__values__=o4(this.value()));var t=this.__index__>=this.__values__.length,e=t?r:this.__values__[this.__index__++];return{done:t,value:e}},ng.prototype.plant=function(t){for(var e,n=this;n instanceof n_;){var i=iD(n);i.__index__=0,i.__values__=r,e?o.__wrapped__=i:e=i;var o=i;n=n.__wrapped__}return o.__wrapped__=t,e},ng.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof nm){var e=t;return this.__actions__.length&&(e=new nm(this)),(e=e.reverse()).__actions__.push({func:oo,args:[i2],thisArg:r}),new ny(e,this.__chain__)}return this.thru(i2)},ng.prototype.toJSON=ng.prototype.valueOf=ng.prototype.value=function(){return rE(this.__wrapped__,this.__actions__)},ng.prototype.first=ng.prototype.head,t6&&(ng.prototype[t6]=function(){return this}),ng}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(t4._=eJ,define(function(){return eJ})):t9?((t9.exports=eJ)._=eJ,t5._=eJ):t4._=eJ}).call(this)},801:function(t){"use strict";t.exports=r},243:function(t){"use strict";t.exports=n},297:function(e){"use strict";e.exports=t},329:function(t){"use strict";t.exports=e}},o={};function u(t){var e=o[t];if(void 0!==e)return e.exports;var n=o[t]={id:t,loaded:!1,exports:{}};return i[t].call(n.exports,n,n.exports,u),n.loaded=!0,n.exports}u.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return u.d(e,{a:e}),e},u.d=(t,e)=>{for(var n in e)u.o(e,n)&&!u.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},u.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(t){if("object"==typeof window)return window}})(),u.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),u.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},u.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var s={};return(()=>{"use strict";u.r(s),u.d(s,{OrGauge:()=>tw});let t=globalThis,e=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,n=Symbol(),r=new WeakMap;class i{constructor(t,e,r){if(this._$cssResult$=!0,r!==n)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,n=this.t;if(e&&void 0===t){let e=void 0!==n&&1===n.length;e&&(t=r.get(n)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&r.set(n,t))}return t}toString(){return this.cssText}}let o=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(let n of t.cssRules)e+=n.cssText;return(t=>new i("string"==typeof t?t:t+"",void 0,n))(e)})(t):t,{is:a,defineProperty:l,getOwnPropertyDescriptor:c,getOwnPropertyNames:h,getOwnPropertySymbols:f,getPrototypeOf:p}=Object,d=globalThis,g=d.trustedTypes,v=g?g.emptyScript:"",_=d.reactiveElementPolyfillSupport,y={toAttribute(t,e){switch(e){case Boolean:t=t?v:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let n=t;switch(e){case Boolean:n=null!==t;break;case Number:n=null===t?null:Number(t);break;case Object:case Array:try{n=JSON.parse(t)}catch(t){n=null}}return n}},m=(t,e)=>!a(t,e),x={attribute:!0,type:String,converter:y,reflect:!1,useDefault:!1,hasChanged:m};Symbol.metadata??=Symbol("metadata"),d.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=x){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let n=Symbol(),r=this.getPropertyDescriptor(t,n,e);void 0!==r&&l(this.prototype,t,r)}}static getPropertyDescriptor(t,e,n){let{get:r,set:i}=c(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get:r,set(e){let o=r?.call(this);i?.call(this,e),this.requestUpdate(t,o,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??x}static _$Ei(){if(this.hasOwnProperty("elementProperties"))return;let t=p(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty("finalized"))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty("properties")){let t=this.properties;for(let e of[...h(t),...f(t)])this.createProperty(e,t[e])}let t=this[Symbol.metadata];if(null!==t){let e=litPropertyMetadata.get(t);if(void 0!==e)for(let[t,n]of e)this.elementProperties.set(t,n)}for(let[t,e]of(this._$Eh=new Map,this.elementProperties)){let n=this._$Eu(t,e);void 0!==n&&this._$Eh.set(n,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t))for(let n of new Set(t.flat(1/0).reverse()))e.unshift(o(n));else void 0!==t&&e.push(o(t));return e}static _$Eu(t,e){let n=e.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map;for(let e of this.constructor.elementProperties.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let n=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((n,r)=>{if(e)n.adoptedStyleSheets=r.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let e of r){let r=document.createElement("style"),i=t.litNonce;void 0!==i&&r.setAttribute("nonce",i),r.textContent=e.cssText,n.appendChild(r)}})(n,this.constructor.elementStyles),n}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,n){this._$AK(t,n)}_$ET(t,e){let n=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,n);if(void 0!==r&&!0===n.reflect){let i=(void 0!==n.converter?.toAttribute?n.converter:y).toAttribute(e,n.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){let n=this.constructor,r=n._$Eh.get(t);if(void 0!==r&&this._$Em!==r){let t=n.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:y;this._$Em=r;let o=i.fromAttribute(e,t.type);this[r]=o??this._$Ej?.get(r)??o,this._$Em=null}}requestUpdate(t,e,n){if(void 0!==t){let r=this.constructor,i=this[t];if(!(((n??=r.getPropertyOptions(t)).hasChanged??m)(i,e)||n.useDefault&&n.reflect&&i===this._$Ej?.get(t)&&!this.hasAttribute(r._$Eu(t,n))))return;this.C(t,e,n)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,e,{useDefault:n,reflect:r,wrapped:i},o){n&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,o??e??this[t]),!0!==i||void 0!==o)||(this._$AL.has(t)||(this.hasUpdated||n||(e=void 0),this._$AL.set(t,e)),!0===r&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}let t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}let t=this.constructor.elementProperties;if(t.size>0)for(let[e,n]of t){let{wrapped:t}=n,r=this[e];!0!==t||this._$AL.has(e)||void 0===r||this.C(e,void 0,n,r)}}let t=!1,e=this._$AL;try{(t=this.shouldUpdate(e))?(this.willUpdate(e),this._$EO?.forEach(t=>t.hostUpdate?.()),this.update(e)):this._$EM()}catch(e){throw t=!1,this._$EM(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(t=>this._$ET(t,this[t])),this._$EM()}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:"open"},b.elementProperties=new Map,b.finalized=new Map,_?.({ReactiveElement:b}),(d.reactiveElementVersions??=[]).push("2.1.1");let w=globalThis,A=w.trustedTypes,S=A?A.createPolicy("lit-html",{createHTML:t=>t}):void 0,C="$lit$",E=`lit$${Math.random().toFixed(9).slice(2)}$`,O="?"+E,k=`<${O}>`,M=document,R=()=>M.createComment(""),j=t=>null===t||"object"!=typeof t&&"function"!=typeof t,P=Array.isArray,U="[ \n\f\r]",I=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,T=/-->/g,V=/>/g,W=RegExp(`>|${U}(?:([^\\s"'>=/]+)(${U}*=${U}*(?:[^
|
|
2
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("ORModel"),require("ORTranslate"),require("ORIcon"),require("ORCore")):"function"==typeof define&&define.amd?define(["ORModel","ORTranslate","ORIcon","ORCore"],e):"object"==typeof exports?exports.ORGauge=e(require("ORModel"),require("ORTranslate"),require("ORIcon"),require("ORCore")):t.ORGauge=e(t.ORModel,t.ORTranslate,t.ORIcon,t.ORCore)}(self,(t,e,i,s)=>(()=>{var n={1(t){(function(){var e,i,s,n,o,r,a,h,l,u,c,p,d,g=[].slice,f={}.hasOwnProperty,m=function(t,e){for(var i in e)f.call(e,i)&&(t[i]=e[i]);function s(){this.constructor=t}return s.prototype=e.prototype,t.prototype=new s,t.__super__=e.prototype,t},v=[].indexOf||function(t){for(var e=0,i=this.length;e<i;e++)if(e in this&&this[e]===t)return e;return -1};!function(){var t,e,i,s,n,o,r;for(i=0,n=(r=["ms","moz","webkit","o"]).length;i<n&&(o=r[i],!window.requestAnimationFrame);i++)window.requestAnimationFrame=window[o+"RequestAnimationFrame"],window.cancelAnimationFrame=window[o+"CancelAnimationFrame"]||window[o+"CancelRequestAnimationFrame"];t=null,s=0,e={},window.requestAnimationFrame?window.cancelAnimationFrame||(t=window.requestAnimationFrame,window.requestAnimationFrame=function(i,n){var o;return o=++s,t(function(){if(!e[o])return i()},n),o},window.cancelAnimationFrame=function(t){return e[t]=!0}):(window.requestAnimationFrame=function(t,e){var i,s,n,o;return o=Math.max(0,16-((i=new Date().getTime())-n)),s=window.setTimeout(function(){return t(i+o)},o),n=i+o,s},window.cancelAnimationFrame=function(t){return clearTimeout(t)})}(),d=function(t){var e,i;for(e=Math.floor(t/3600),i=Math.floor((t-3600*e)/60),t-=3600*e+60*i,t+="",i+="";i.length<2;)i="0"+i;for(;t.length<2;)t="0"+t;return(e=e?e+":":"")+i+":"+t},c=function(){var t,e,i;return e=1<=arguments.length?g.call(arguments,0):[],i=e[0],t=e[1],l(i.toFixed(t))},p=function(t,e){var i,s,n;for(i in s={},t)f.call(t,i)&&(n=t[i],s[i]=n);for(i in e)f.call(e,i)&&(n=e[i],s[i]=n);return s},l=function(t){var e,i,s,n;for(t+="",s=(i=t.split("."))[0],n="",i.length>1&&(n="."+i[1]),e=/(\d+)(\d{3})/;e.test(s);)s=s.replace(e,"$1,$2");return s+n},u=function(t){return"#"===t.charAt(0)?t.substring(1,7):t},s=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return m(e,t),e.prototype.displayScale=1,e.prototype.forceUpdate=!0,e.prototype.setTextField=function(t,e){return this.textField=t instanceof a?t:new a(t,e)},e.prototype.setMinValue=function(t,e){var i,s,n,o,r;if(this.minValue=t,null==e&&(e=!0),e){for(s=0,this.displayedValue=this.minValue,o=this.gp||[],r=[],n=o.length;s<n;s++)i=o[s],r.push(i.displayedValue=this.minValue);return r}},e.prototype.setOptions=function(t){return null==t&&(t=null),this.options=p(this.options,t),this.textField&&(this.textField.el.style.fontSize=t.fontSize+"px"),this.options.angle>.5&&(this.options.angle=.5),this.configDisplayScale(),this},e.prototype.configDisplayScale=function(){var t,e,i,s,n;return s=this.displayScale,!1===this.options.highDpiSupport?delete this.displayScale:(e=window.devicePixelRatio||1,t=this.ctx.webkitBackingStorePixelRatio||this.ctx.mozBackingStorePixelRatio||this.ctx.msBackingStorePixelRatio||this.ctx.oBackingStorePixelRatio||this.ctx.backingStorePixelRatio||1,this.displayScale=e/t),this.displayScale!==s&&(n=this.canvas.G__width||this.canvas.width,i=this.canvas.G__height||this.canvas.height,this.canvas.width=n*this.displayScale,this.canvas.height=i*this.displayScale,this.canvas.style.width=n+"px",this.canvas.style.height=i+"px",this.canvas.G__width=n,this.canvas.G__height=i),this},e.prototype.parseValue=function(t){return isFinite(t=parseFloat(t)||Number(t))?t:0},e}(h=function(){function t(t,i){null==t&&(t=!0),this.clear=null==i||i,t&&e.add(this)}return t.prototype.animationSpeed=32,t.prototype.update=function(t){var e;return null==t&&(t=!1),(!!t||this.displayedValue!==this.value)&&(this.ctx&&this.clear&&this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height),.001>=Math.abs((e=this.value-this.displayedValue)/this.animationSpeed)?this.displayedValue=this.value:this.displayedValue=this.displayedValue+e/this.animationSpeed,this.render(),!0)},t}()),a=function(){function t(t,e){this.el=t,this.fractionDigits=e}return t.prototype.render=function(t){return this.el.innerHTML=c(t.displayedValue,this.fractionDigits)},t}(),function(t){function e(t,i){if(this.elem=t,this.text=null!=i&&i,e.__super__.constructor.call(this),void 0===this.elem)throw Error("The element isn't defined.");this.value=+this.elem.innerHTML,this.text&&(this.value=0)}m(e,t),e.prototype.displayedValue=0,e.prototype.value=0,e.prototype.setVal=function(t){return this.value=+t},e.prototype.render=function(){var t;return t=this.text?d(this.displayedValue.toFixed(0)):l(c(this.displayedValue)),this.elem.innerHTML=t}}(h),r=function(t){function e(t){if(this.gauge=t,void 0===this.gauge)throw Error("The element isn't defined.");this.ctx=this.gauge.ctx,this.canvas=this.gauge.canvas,e.__super__.constructor.call(this,!1,!1),this.setOptions()}return m(e,t),e.prototype.displayedValue=0,e.prototype.value=0,e.prototype.options={strokeWidth:.035,length:.1,color:"#000000",iconPath:null,iconScale:1,iconAngle:0},e.prototype.img=null,e.prototype.setOptions=function(t){if(null==t&&(t=null),this.options=p(this.options,t),this.length=2*this.gauge.radius*this.gauge.options.radiusScale*this.options.length,this.strokeWidth=this.canvas.height*this.options.strokeWidth,this.maxValue=this.gauge.maxValue,this.minValue=this.gauge.minValue,this.animationSpeed=this.gauge.animationSpeed,this.options.angle=this.gauge.options.angle,this.options.iconPath)return this.img=new Image,this.img.src=this.options.iconPath},e.prototype.render=function(){var t,e,i,s,n,o,r,a,h;if(t=this.gauge.getAngle.call(this,this.displayedValue),a=Math.round(this.length*Math.cos(t)),h=Math.round(this.length*Math.sin(t)),o=Math.round(this.strokeWidth*Math.cos(t-Math.PI/2)),r=Math.round(this.strokeWidth*Math.sin(t-Math.PI/2)),e=Math.round(this.strokeWidth*Math.cos(t+Math.PI/2)),i=Math.round(this.strokeWidth*Math.sin(t+Math.PI/2)),this.ctx.beginPath(),this.ctx.fillStyle=this.options.color,this.ctx.arc(0,0,this.strokeWidth,0,2*Math.PI,!1),this.ctx.fill(),this.ctx.beginPath(),this.ctx.moveTo(o,r),this.ctx.lineTo(a,h),this.ctx.lineTo(e,i),this.ctx.fill(),this.img)return s=Math.round(this.img.width*this.options.iconScale),n=Math.round(this.img.height*this.options.iconScale),this.ctx.save(),this.ctx.translate(a,h),this.ctx.rotate(t+Math.PI/180*(90+this.options.iconAngle)),this.ctx.drawImage(this.img,-s/2,-n/2,s,n),this.ctx.restore()},e}(h),function(){function t(t){this.elem=t}t.prototype.updateValues=function(t){return this.value=t[0],this.maxValue=t[1],this.avgValue=t[2],this.render()},t.prototype.render=function(){var t,e;return this.textField&&this.textField.text(c(this.value)),0===this.maxValue&&(this.maxValue=2*this.avgValue),e=this.value/this.maxValue*100,t=this.avgValue/this.maxValue*100,$(".bar-value",this.elem).css({width:e+"%"}),$(".typical-value",this.elem).css({width:t+"%"})}}(),o=function(t){function i(t){var e,s;this.canvas=t,i.__super__.constructor.call(this),this.percentColors=null,"u">typeof G_vmlCanvasManager&&(this.canvas=window.G_vmlCanvasManager.initElement(this.canvas)),this.ctx=this.canvas.getContext("2d"),e=this.canvas.clientHeight,s=this.canvas.clientWidth,this.canvas.height=e,this.canvas.width=s,this.gp=[new r(this)],this.setOptions()}return m(i,t),i.prototype.elem=null,i.prototype.value=[20],i.prototype.maxValue=80,i.prototype.minValue=0,i.prototype.displayedAngle=0,i.prototype.displayedValue=0,i.prototype.lineWidth=40,i.prototype.paddingTop=.1,i.prototype.paddingBottom=.1,i.prototype.percentColors=null,i.prototype.options={colorStart:"#6fadcf",colorStop:void 0,gradientType:0,strokeColor:"#e0e0e0",pointer:{length:.8,strokeWidth:.035,iconScale:1},angle:.15,lineWidth:.44,radiusScale:1,fontSize:40,limitMax:!1,limitMin:!1},i.prototype.setOptions=function(t){var e,s,n,o,r;for(null==t&&(t=null),i.__super__.setOptions.call(this,t),this.configPercentColors(),this.extraPadding=0,this.options.angle<0&&(o=Math.PI*(1+this.options.angle),this.extraPadding=Math.sin(o)),this.availableHeight=this.canvas.height*(1-this.paddingTop-this.paddingBottom),this.lineWidth=this.availableHeight*this.options.lineWidth,this.radius=(this.availableHeight-this.lineWidth/2)/(1+this.extraPadding),this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height),s=0,n=(r=this.gp).length;s<n;s++)(e=r[s]).setOptions(this.options.pointer),e.render();return this.render(),this},i.prototype.configPercentColors=function(){var t,e,i,s,n,o,r;if(this.percentColors=null,void 0!==this.options.percentColors){for(this.percentColors=[],o=[],i=s=0,n=this.options.percentColors.length-1;0<=n?s<=n:s>=n;i=0<=n?++s:--s)r=parseInt(u(this.options.percentColors[i][1]).substring(0,2),16),e=parseInt(u(this.options.percentColors[i][1]).substring(2,4),16),t=parseInt(u(this.options.percentColors[i][1]).substring(4,6),16),o.push(this.percentColors[i]={pct:this.options.percentColors[i][0],color:{r:r,g:e,b:t}});return o}},i.prototype.set=function(t){var i,s,n,o,a,h,l,u,c;for(t instanceof Array||(t=[t]),s=n=0,l=t.length-1;0<=l?n<=l:n>=l;s=0<=l?++n:--n)t[s]=this.parseValue(t[s]);if(t.length>this.gp.length)for(s=o=0,u=t.length-this.gp.length;0<=u?o<u:o>u;s=0<=u?++o:--o)(i=new r(this)).setOptions(this.options.pointer),this.gp.push(i);else t.length<this.gp.length&&(this.gp=this.gp.slice(this.gp.length-t.length));for(h=0,s=0,a=t.length;h<a;h++)(c=t[h])>this.maxValue?this.options.limitMax?c=this.maxValue:this.maxValue=c+1:c<this.minValue&&(this.options.limitMin?c=this.minValue:this.minValue=c-1),this.gp[s].value=c,this.gp[s++].setOptions({minValue:this.minValue,maxValue:this.maxValue,angle:this.options.angle});return this.value=Math.max(Math.min(t[t.length-1],this.maxValue),this.minValue),e.add(this),e.run(this.forceUpdate),this.forceUpdate=!1},i.prototype.getAngle=function(t){return(1+this.options.angle)*Math.PI+(t-this.minValue)/(this.maxValue-this.minValue)*(1-2*this.options.angle)*Math.PI},i.prototype.getColorForPercentage=function(t,e){var i,s,n,o,r,a,h;if(0===t)i=this.percentColors[0].color;else for(i=this.percentColors[this.percentColors.length-1].color,n=o=0,a=this.percentColors.length-1;0<=a?o<=a:o>=a;n=0<=a?++o:--o)if(t<=this.percentColors[n].pct){!0===e?(h=this.percentColors[n-1]||this.percentColors[0],s=this.percentColors[n],r=(t-h.pct)/(s.pct-h.pct),i={r:Math.floor(h.color.r*(1-r)+s.color.r*r),g:Math.floor(h.color.g*(1-r)+s.color.g*r),b:Math.floor(h.color.b*(1-r)+s.color.b*r)}):i=this.percentColors[n].color;break}return"rgb("+[i.r,i.g,i.b].join(",")+")"},i.prototype.getColorForValue=function(t,e){var i;return i=(t-this.minValue)/(this.maxValue-this.minValue),this.getColorForPercentage(i,e)},i.prototype.renderStaticLabels=function(t,e,i,s){var n,o,r,a,h,l,u,p,d,g;for(this.ctx.save(),this.ctx.translate(e,i),n=t.font||"10px Times",l=/\d+\.?\d?/,h=n.match(l)[0],p=n.slice(h.length),o=parseFloat(h)*this.displayScale,this.ctx.font=o+p,this.ctx.fillStyle=t.color||"#000000",this.ctx.textBaseline="bottom",this.ctx.textAlign="center",r=0,a=(u=t.labels).length;r<a;r++)void 0!==(g=u[r]).label?(!this.options.limitMin||g>=this.minValue)&&(!this.options.limitMax||g<=this.maxValue)&&(h=(n=g.font||t.font).match(l)[0],p=n.slice(h.length),o=parseFloat(h)*this.displayScale,this.ctx.font=o+p,d=this.getAngle(g.label)-3*Math.PI/2,this.ctx.rotate(d),this.ctx.fillText(c(g.label,t.fractionDigits),0,-s-this.lineWidth/2),this.ctx.rotate(-d)):(!this.options.limitMin||g>=this.minValue)&&(!this.options.limitMax||g<=this.maxValue)&&(d=this.getAngle(g)-3*Math.PI/2,this.ctx.rotate(d),this.ctx.fillText(c(g,t.fractionDigits),0,-s-this.lineWidth/2),this.ctx.rotate(-d));return this.ctx.restore()},i.prototype.renderTicks=function(t,e,i,s){var n,o,r,a,h,l,u,c,p,d,g,f,m,v,y,x,_,b,A,w;if("object"==typeof t&&null!==t&&Object.keys(t).length>0){for(l=t.divisions||0,b=t.subDivisions||0,r=t.divColor||"#fff",v=t.subColor||"#fff",a=t.divLength||.7,x=t.subLength||.2,y=parseFloat(d=parseFloat(p=parseFloat(this.maxValue)-parseFloat(this.minValue))/parseFloat(t.divisions))/parseFloat(t.subDivisions),n=parseFloat(this.minValue),o=0+y,h=(c=p/400)*(t.divWidth||1),_=c*(t.subWidth||1),f=[],A=u=0,g=l+1;u<g;A=u+=1)this.ctx.lineWidth=this.lineWidth*a,m=this.lineWidth/2*(1-a),w=this.radius*this.options.radiusScale+m,this.ctx.strokeStyle=r,this.ctx.beginPath(),this.ctx.arc(0,0,w,this.getAngle(n-h),this.getAngle(n+h),!1),this.ctx.stroke(),o=n+y,n+=d,A!==t.divisions&&b>0?f.push((function(){var t,e,i;for(i=[],t=0,e=b-1;t<e;t+=1)this.ctx.lineWidth=this.lineWidth*x,m=this.lineWidth/2*(1-x),w=this.radius*this.options.radiusScale+m,this.ctx.strokeStyle=v,this.ctx.beginPath(),this.ctx.arc(0,0,w,this.getAngle(o-_),this.getAngle(o+_),!1),this.ctx.stroke(),i.push(o+=y);return i}).call(this)):f.push(void 0);return f}},i.prototype.render=function(){var t,e,i,s,n,o,r,a,h,l,u,c,p,d,g,f,m,v;if(m=this.canvas.width/2,i=this.canvas.height*this.paddingTop+this.availableHeight-(this.radius+this.lineWidth/2)*this.extraPadding,t=this.getAngle(this.displayedValue),this.textField&&this.textField.render(this),this.ctx.lineCap="butt",l=this.radius*this.options.radiusScale,this.options.staticLabels&&this.renderStaticLabels(this.options.staticLabels,m,i,l),this.options.staticZones)for(this.ctx.save(),this.ctx.translate(m,i),this.ctx.lineWidth=this.lineWidth,s=0,o=(u=this.options.staticZones).length;s<o;s++)h=(v=u[s]).min,this.options.limitMin&&h<this.minValue&&(h=this.minValue),a=v.max,this.options.limitMax&&a>this.maxValue&&(a=this.maxValue),f=this.radius*this.options.radiusScale,v.height&&(this.ctx.lineWidth=this.lineWidth*v.height,p=this.lineWidth/2*(v.offset||1-v.height),f=this.radius*this.options.radiusScale+p),this.ctx.strokeStyle=v.strokeStyle,this.ctx.beginPath(),this.ctx.arc(0,0,f,this.getAngle(h),this.getAngle(a),!1),this.ctx.stroke();else void 0!==this.options.customFillStyle?e=this.options.customFillStyle(this):null!==this.percentColors?e=this.getColorForValue(this.displayedValue,this.options.generateGradient):void 0!==this.options.colorStop?(0===this.options.gradientType?(d=l-this.lineWidth/2,g=l+this.lineWidth/2,e=this.ctx.createRadialGradient(m,i,d,m,i,g)):e=this.ctx.createLinearGradient(0,0,m,0),e.addColorStop(0,this.options.colorStart),e.addColorStop(1,this.options.colorStop)):e=this.options.colorStart,this.ctx.strokeStyle=e,this.ctx.beginPath(),this.ctx.arc(m,i,l,(1+this.options.angle)*Math.PI,t,!1),this.ctx.lineWidth=this.lineWidth,this.ctx.stroke(),this.ctx.strokeStyle=this.options.strokeColor,this.ctx.beginPath(),this.ctx.arc(m,i,l,t,(2-this.options.angle)*Math.PI,!1),this.ctx.stroke(),this.ctx.save(),this.ctx.translate(m,i);for(this.options.renderTicks&&this.renderTicks(this.options.renderTicks,m,i,l),this.ctx.restore(),this.ctx.translate(m,i),n=0,r=(c=this.gp).length;n<r;n++)c[n].update(!0);return this.ctx.translate(-m,-i)},i}(s),n=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return m(e,t),e.prototype.strokeGradient=function(t,e,i,s){var n;return(n=this.ctx.createRadialGradient(t,e,i,t,e,s)).addColorStop(0,this.options.shadowColor),n.addColorStop(.12,this.options._orgStrokeColor),n.addColorStop(.88,this.options._orgStrokeColor),n.addColorStop(1,this.options.shadowColor),n},e.prototype.setOptions=function(t){var i,s,n,o;return null==t&&(t=null),e.__super__.setOptions.call(this,t),o=this.canvas.width/2,i=this.canvas.height/2,s=this.radius-this.lineWidth/2,n=this.radius+this.lineWidth/2,this.options._orgStrokeColor=this.options.strokeColor,this.options.strokeColor=this.strokeGradient(o,i,s,n),this},e}(i=function(t){function i(t){this.canvas=t,i.__super__.constructor.call(this),"u">typeof G_vmlCanvasManager&&(this.canvas=window.G_vmlCanvasManager.initElement(this.canvas)),this.ctx=this.canvas.getContext("2d"),this.setOptions(),this.render()}return m(i,t),i.prototype.lineWidth=15,i.prototype.displayedValue=0,i.prototype.value=33,i.prototype.maxValue=80,i.prototype.minValue=0,i.prototype.options={lineWidth:.1,colorStart:"#6f6ea0",colorStop:"#c0c0db",strokeColor:"#eeeeee",shadowColor:"#d5d5d5",angle:.35,radiusScale:1},i.prototype.getAngle=function(t){return(1-this.options.angle)*Math.PI+(t-this.minValue)/(this.maxValue-this.minValue)*(2+this.options.angle-(1-this.options.angle))*Math.PI},i.prototype.setOptions=function(t){return null==t&&(t=null),i.__super__.setOptions.call(this,t),this.lineWidth=this.canvas.height*this.options.lineWidth,this.radius=this.options.radiusScale*(this.canvas.height/2-this.lineWidth/2),this},i.prototype.set=function(t){return this.value=this.parseValue(t),this.value>this.maxValue?this.options.limitMax?this.value=this.maxValue:this.maxValue=this.value:this.value<this.minValue&&(this.options.limitMin?this.value=this.minValue:this.minValue=this.value),e.add(this),e.run(this.forceUpdate),this.forceUpdate=!1},i.prototype.render=function(){var t,e,i,s,n,o;return t=this.getAngle(this.displayedValue),o=this.canvas.width/2,i=this.canvas.height/2,this.textField&&this.textField.render(this),s=this.radius-this.lineWidth/2,n=this.radius+this.lineWidth/2,(e=this.ctx.createRadialGradient(o,i,s,o,i,n)).addColorStop(0,this.options.colorStart),e.addColorStop(1,this.options.colorStop),this.ctx.strokeStyle=this.options.strokeColor,this.ctx.beginPath(),this.ctx.arc(o,i,this.radius,(1-this.options.angle)*Math.PI,(2+this.options.angle)*Math.PI,!1),this.ctx.lineWidth=this.lineWidth,this.ctx.lineCap="round",this.ctx.stroke(),this.ctx.strokeStyle=e,this.ctx.beginPath(),this.ctx.arc(o,i,this.radius,(1-this.options.angle)*Math.PI,t,!1),this.ctx.stroke()},i}(s)),e={elements:[],animId:null,addAll:function(t){var i,s,n,o;for(s=0,o=[],n=t.length;s<n;s++)i=t[s],o.push(e.elements.push(i));return o},add:function(t){if(0>v.call(e.elements,t))return e.elements.push(t)},run:function(t){var i,s,n,o,r,a,h;if(null==t&&(t=!1),isFinite(parseFloat(t))||!0===t){for(i=!0,h=[],a=e.elements,n=s=0,r=a.length;s<r;n=++s)a[n].update(!0===t)?i=!1:h.push(n);for(o=h.length-1;o>=0;o+=-1)n=h[o],e.elements.splice(n,1);return e.animId=i?null:requestAnimationFrame(e.run)}if(!1===t)return!0===e.animId&&cancelAnimationFrame(e.animId),e.animId=requestAnimationFrame(e.run)}},"function"==typeof window.define&&null!=window.define.amd?define(function(){return{Gauge:o,Donut:n,BaseDonut:i,TextRenderer:a,AnimationUpdater:e}}):null!=t.exports?t.exports={Gauge:o,Donut:n,BaseDonut:i,TextRenderer:a,AnimationUpdater:e}:(window.Gauge=o,window.Donut=n,window.BaseDonut=i,window.TextRenderer=a,window.AnimationUpdater=e)}).call(this)},51(t,e,i){var s=0/0,n=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,a=/^0o[0-7]+$/i,h=parseInt,l="object"==typeof i.g&&i.g&&i.g.Object===Object&&i.g,u="object"==typeof self&&self&&self.Object===Object&&self,c=l||u||Function("return this")(),p=Object.prototype.toString,d=Math.max,g=Math.min,f=function(){return c.Date.now()};function m(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function v(t){if("number"==typeof t)return t;if("symbol"==typeof(e=t)||e&&"object"==typeof e&&"[object Symbol]"==p.call(e))return s;if(m(t)){var e,i="function"==typeof t.valueOf?t.valueOf():t;t=m(i)?i+"":i}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(n,"");var l=r.test(t);return l||a.test(t)?h(t.slice(2),l?2:8):o.test(t)?s:+t}t.exports=function(t,e,i){var s,n,o,r,a,h,l=0,u=!1,c=!1,p=!0;if("function"!=typeof t)throw TypeError("Expected a function");function y(e){var i=s,o=n;return s=n=void 0,l=e,r=t.apply(o,i)}function x(t){var i=t-h,s=t-l;return void 0===h||i>=e||i<0||c&&s>=o}function _(){var t,i,s,n=f();if(x(n))return b(n);a=setTimeout(_,(t=n-h,i=n-l,s=e-t,c?g(s,o-i):s))}function b(t){return(a=void 0,p&&s)?y(t):(s=n=void 0,r)}function A(){var t,i=f(),o=x(i);if(s=arguments,n=this,h=i,o){if(void 0===a)return l=t=h,a=setTimeout(_,e),u?y(t):r;if(c)return a=setTimeout(_,e),y(h)}return void 0===a&&(a=setTimeout(_,e)),r}return e=v(e)||0,m(i)&&(u=!!i.leading,o=(c="maxWait"in i)?d(v(i.maxWait)||0,e):o,p="trailing"in i?!!i.trailing:p),A.cancel=function(){void 0!==a&&clearTimeout(a),l=0,s=h=n=a=void 0},A.flush=function(){return void 0===a?r:b(f())},A}},954(t){"use strict";t.exports=s},368(t){"use strict";t.exports=i},650(e){"use strict";e.exports=t},673(t){"use strict";t.exports=e}},o={};function r(t){var e=o[t];if(void 0!==e)return e.exports;var i=o[t]={exports:{}};return n[t].call(i.exports,i,i.exports,r),i.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var i in e)r.o(e,i)&&!r.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},r.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(t){if("object"==typeof window)return window}})(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var a={};return(()=>{"use strict";let t;r.r(a),r.d(a,{OrGauge:()=>tw});let e=globalThis,i=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),n=new WeakMap;class o{constructor(t,e,i){if(this._$cssResult$=!0,i!==s)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(i&&void 0===t){let i=void 0!==e&&1===e.length;i&&(t=n.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&n.set(e,t))}return t}toString(){return this.cssText}}let h=i?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e,i="";for(let e of t.cssRules)i+=e.cssText;return new o("string"==typeof(e=i)?e:e+"",void 0,s)})(t):t,{is:l,defineProperty:u,getOwnPropertyDescriptor:c,getOwnPropertyNames:p,getOwnPropertySymbols:d,getPrototypeOf:g}=Object,f=globalThis,m=f.trustedTypes,v=m?m.emptyScript:"",y=f.reactiveElementPolyfillSupport,x={toAttribute(t,e){switch(e){case Boolean:t=t?v:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},_=(t,e)=>!l(t,e),b={attribute:!0,type:String,converter:x,reflect:!1,useDefault:!1,hasChanged:_};Symbol.metadata??=Symbol("metadata"),f.litPropertyMetadata??=new WeakMap;class A extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=b){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let i=Symbol(),s=this.getPropertyDescriptor(t,i,e);void 0!==s&&u(this.prototype,t,s)}}static getPropertyDescriptor(t,e,i){let{get:s,set:n}=c(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get:s,set(e){let o=s?.call(this);n?.call(this,e),this.requestUpdate(t,o,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??b}static _$Ei(){if(this.hasOwnProperty("elementProperties"))return;let t=g(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty("finalized"))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty("properties")){let t=this.properties;for(let e of[...p(t),...d(t)])this.createProperty(e,t[e])}let t=this[Symbol.metadata];if(null!==t){let e=litPropertyMetadata.get(t);if(void 0!==e)for(let[t,i]of e)this.elementProperties.set(t,i)}for(let[t,e]of(this._$Eh=new Map,this.elementProperties)){let i=this._$Eu(t,e);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t))for(let i of new Set(t.flat(1/0).reverse()))e.unshift(h(i));else void 0!==t&&e.push(h(t));return e}static _$Eu(t,e){let i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map;for(let e of this.constructor.elementProperties.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,s)=>{if(i)t.adoptedStyleSheets=s.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let i of s){let s=document.createElement("style"),n=e.litNonce;void 0!==n&&s.setAttribute("nonce",n),s.textContent=i.cssText,t.appendChild(s)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$ET(t,e){let i=this.constructor.elementProperties.get(t),s=this.constructor._$Eu(t,i);if(void 0!==s&&!0===i.reflect){let n=(void 0!==i.converter?.toAttribute?i.converter:x).toAttribute(e,i.type);this._$Em=t,null==n?this.removeAttribute(s):this.setAttribute(s,n),this._$Em=null}}_$AK(t,e){let i=this.constructor,s=i._$Eh.get(t);if(void 0!==s&&this._$Em!==s){let t=i.getPropertyOptions(s),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:x;this._$Em=s;let o=n.fromAttribute(e,t.type);this[s]=o??this._$Ej?.get(s)??o,this._$Em=null}}requestUpdate(t,e,i){if(void 0!==t){let s=this.constructor,n=this[t];if(!(((i??=s.getPropertyOptions(t)).hasChanged??_)(n,e)||i.useDefault&&i.reflect&&n===this._$Ej?.get(t)&&!this.hasAttribute(s._$Eu(t,i))))return;this.C(t,e,i)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,e,{useDefault:i,reflect:s,wrapped:n},o){i&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,o??e??this[t]),!0!==n||void 0!==o)||(this._$AL.has(t)||(this.hasUpdated||i||(e=void 0),this._$AL.set(t,e)),!0===s&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}let t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}let t=this.constructor.elementProperties;if(t.size>0)for(let[e,i]of t){let{wrapped:t}=i,s=this[e];!0!==t||this._$AL.has(e)||void 0===s||this.C(e,void 0,i,s)}}let t=!1,e=this._$AL;try{(t=this.shouldUpdate(e))?(this.willUpdate(e),this._$EO?.forEach(t=>t.hostUpdate?.()),this.update(e)):this._$EM()}catch(e){throw t=!1,this._$EM(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(t=>this._$ET(t,this[t])),this._$EM()}updated(t){}firstUpdated(t){}}A.elementStyles=[],A.shadowRootOptions={mode:"open"},A.elementProperties=new Map,A.finalized=new Map,y?.({ReactiveElement:A}),(f.reactiveElementVersions??=[]).push("2.1.1");let w=globalThis,S=w.trustedTypes,C=S?S.createPolicy("lit-html",{createHTML:t=>t}):void 0,M="$lit$",P=`lit$${Math.random().toFixed(9).slice(2)}$`,E="?"+P,O=`<${E}>`,V=document,R=()=>V.createComment(""),T=t=>null===t||"object"!=typeof t&&"function"!=typeof t,k=Array.isArray,U="[ \n\f\r]",W=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,F=/-->/g,j=/>/g,I=RegExp(`>|${U}(?:([^\\s"'>=/]+)(${U}*=${U}*(?:[^
|
|
2
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),D=/'/g,N=/"/g,H=/^(?:script|style|textarea|title)$/i,z=t=>(e,...i)=>({_$litType$:t,strings:e,values:i}),L=z(1),q=(z(2),z(3),Symbol.for("lit-noChange")),G=Symbol.for("lit-nothing"),B=new WeakMap,Z=V.createTreeWalker(V,129);function J(t,e){if(!k(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==C?C.createHTML(e):e}class K{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let n=0,o=0;const r=t.length-1,a=this.parts,[h,l]=((t,e)=>{let i=t.length-1,s=[],n,o=2===e?"<svg>":3===e?"<math>":"",r=W;for(let e=0;e<i;e++){let i=t[e],a,h,l=-1,u=0;for(;u<i.length&&(r.lastIndex=u,null!==(h=r.exec(i)));)u=r.lastIndex,r===W?"!--"===h[1]?r=F:void 0!==h[1]?r=j:void 0!==h[2]?(H.test(h[2])&&(n=RegExp("</"+h[2],"g")),r=I):void 0!==h[3]&&(r=I):r===I?">"===h[0]?(r=n??W,l=-1):void 0===h[1]?l=-2:(l=r.lastIndex-h[2].length,a=h[1],r=void 0===h[3]?I:'"'===h[3]?N:D):r===N||r===D?r=I:r===F||r===j?r=W:(r=I,n=void 0);let c=r===I&&t[e+1].startsWith("/>")?" ":"";o+=r===W?i+O:l>=0?(s.push(a),i.slice(0,l)+M+i.slice(l)+P+c):i+P+(-2===l?e:c)}return[J(t,o+(t[i]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),s]})(t,e);if(this.el=K.createElement(h,i),Z.currentNode=this.el.content,2===e||3===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(s=Z.nextNode())&&a.length<r;){if(1===s.nodeType){if(s.hasAttributes())for(const t of s.getAttributeNames())if(t.endsWith(M)){const e=l[o++],i=s.getAttribute(t).split(P),r=/([.?@])?(.*)/.exec(e);a.push({type:1,index:n,name:r[2],strings:i,ctor:"."===r[1]?te:"?"===r[1]?ti:"@"===r[1]?ts:tt}),s.removeAttribute(t)}else t.startsWith(P)&&(a.push({type:6,index:n}),s.removeAttribute(t));if(H.test(s.tagName)){const t=s.textContent.split(P),e=t.length-1;if(e>0){s.textContent=S?S.emptyScript:"";for(let i=0;i<e;i++)s.append(t[i],R()),Z.nextNode(),a.push({type:2,index:++n});s.append(t[e],R())}}}else if(8===s.nodeType)if(s.data===E)a.push({type:2,index:n});else{let t=-1;for(;-1!==(t=s.data.indexOf(P,t+1));)a.push({type:7,index:n}),t+=P.length-1}n++}}static createElement(t,e){let i=V.createElement("template");return i.innerHTML=t,i}}function Q(t,e,i=t,s){if(e===q)return e;let n=void 0!==s?i._$Co?.[s]:i._$Cl,o=T(e)?void 0:e._$litDirective$;return n?.constructor!==o&&(n?._$AO?.(!1),void 0===o?n=void 0:(n=new o(t))._$AT(t,i,s),void 0!==s?(i._$Co??=[])[s]=n:i._$Cl=n),void 0!==n&&(e=Q(t,n._$AS(t,e.values),n,s)),e}class X{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:i}=this._$AD,s=(t?.creationScope??V).importNode(e,!0);Z.currentNode=s;let n=Z.nextNode(),o=0,r=0,a=i[0];for(;void 0!==a;){if(o===a.index){let e;2===a.type?e=new Y(n,n.nextSibling,this,t):1===a.type?e=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(e=new tn(n,this,t)),this._$AV.push(e),a=i[++r]}o!==a?.index&&(n=Z.nextNode(),o++)}return Z.currentNode=V,s}p(t){let e=0;for(let i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class Y{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,i,s){this.type=2,this._$AH=G,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$Cv=s?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){let i;T(t=Q(this,t,e))?t===G||null==t||""===t?(this._$AH!==G&&this._$AR(),this._$AH=G):t!==this._$AH&&t!==q&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):k(i=t)||"function"==typeof i?.[Symbol.iterator]?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==G&&T(this._$AH)?this._$AA.nextSibling.data=t:this.T(V.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:i}=t,s="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=K.createElement(J(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===s)this._$AH.p(e);else{let t=new X(s,this),i=t.u(this.options);t.p(e),this.T(i),this._$AH=t}}_$AC(t){let e=B.get(t.strings);return void 0===e&&B.set(t.strings,e=new K(t)),e}k(t){k(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,i,s=0;for(let n of t)s===e.length?e.push(i=new Y(this.O(R()),this.O(R()),this,this.options)):i=e[s],i._$AI(n),s++;s<e.length&&(this._$AR(i&&i._$AB.nextSibling,s),e.length=s)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){let e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class tt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,s,n){this.type=1,this._$AH=G,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=G}_$AI(t,e=this,i,s){let n=this.strings,o=!1;if(void 0===n)(o=!T(t=Q(this,t,e,0))||t!==this._$AH&&t!==q)&&(this._$AH=t);else{let s,r,a=t;for(t=n[0],s=0;s<n.length-1;s++)(r=Q(this,a[i+s],e,s))===q&&(r=this._$AH[s]),o||=!T(r)||r!==this._$AH[s],r===G?t=G:t!==G&&(t+=(r??"")+n[s+1]),this._$AH[s]=r}o&&!s&&this.j(t)}j(t){t===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class te extends tt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===G?void 0:t}}class ti extends tt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==G)}}class ts extends tt{constructor(t,e,i,s,n){super(t,e,i,s,n),this.type=5}_$AI(t,e=this){if((t=Q(this,t,e,0)??G)===q)return;let i=this._$AH,s=t===G&&i!==G||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,n=t!==G&&(i===G||s);s&&this.element.removeEventListener(this.name,this,i),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class tn{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){Q(this,t)}}let to=w.litHtmlPolyfillSupport;to?.(K,Y),(w.litHtmlVersions??=[]).push("3.3.1");let tr=globalThis;class ta extends A{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{let s=i?.renderBefore??e,n=s._$litPart$;if(void 0===n){let t=i?.renderBefore??null;s._$litPart$=n=new Y(e.insertBefore(R(),t),t,void 0,i??{})}return n._$AI(t),n})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return q}}ta._$litElement$=!0,ta.finalized=!0,tr.litElementHydrateSupport?.({LitElement:ta});let th=tr.litElementPolyfillSupport;th?.({LitElement:ta}),(tr.litElementVersions??=[]).push("4.2.1");let tl={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:_};function tu(t){return(e,i)=>{let s;return"object"==typeof i?((t=tl,e,i)=>{let{kind:s,metadata:n}=i,o=globalThis.litPropertyMetadata.get(n);if(void 0===o&&globalThis.litPropertyMetadata.set(n,o=new Map),"setter"===s&&((t=Object.create(t)).wrapped=!0),o.set(i.name,t),"accessor"===s){let{name:s}=i;return{set(i){let n=e.get.call(this);e.set.call(this,i),this.requestUpdate(s,n,t)},init(e){return void 0!==e&&this.C(s,void 0,t,e),e}}}if("setter"===s){let{name:s}=i;return function(i){let n=this[s];e.call(this,i),this.requestUpdate(s,n,t)}}throw Error("Unsupported decorator location: "+s)})(t,e,i):(s=e.hasOwnProperty(i),e.constructor.createProperty(i,t),s?Object.getOwnPropertyDescriptor(e,i):void 0)}}function tc(t){return tu({...t,state:!0,attribute:!1})}let tp=(t,e,i)=>(i.configurable=!0,i.enumerable=!0,Reflect.decorate&&"object"!=typeof e&&Object.defineProperty(t,e,i),i);function td(t,e){return(i,s,n)=>{let o=e=>e.renderRoot?.querySelector(t)??null;if(e){let t,{get:e,set:r}="object"==typeof s?i:n??(t=Symbol(),{get(){return this[t]},set(e){this[t]=e}});return tp(i,s,{get(){let t=e.call(this);return void 0===t&&(null!==(t=o(this))||this.hasUpdated)&&r.call(this,t),t}})}return tp(i,s,{get(){return o(this)}})}}var tg=r(650),tf=r(1),tm=r(954),tv=r.n(tm),ty=r(673),tx=r(51),t_=r.n(tx),t$=r(368),tb=function(t,e,i,s){var n,o=arguments.length,r=o<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(r=(o<3?n(r):o>3?n(e,i,r):n(e,i))||r);return o>3&&r&&Object.defineProperty(e,i,r),r};let tA=((t,...e)=>new o(1===t.length?t[0]:e.reduce((e,i,s)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[s+1],t[0]),t,s))`
|
|
3
3
|
:host {
|
|
4
4
|
display: flex;
|
|
5
5
|
align-items: center;
|
|
@@ -72,25 +72,25 @@
|
|
|
72
72
|
.main-number.unknown, .main-number-unit.unknown {
|
|
73
73
|
font-size: unset;
|
|
74
74
|
}
|
|
75
|
-
`,tw=class extends
|
|
75
|
+
`,tw=class extends ta{static get styles(){return[tA]}constructor(){super(),this.decimals=0,this.loading=!1,this.config||(this.config=this.getDefaultConfig()),this.updateComplete.then(()=>{this.resizeObserver=new ResizeObserver(t_()(t=>{let e=t[0].contentRect;this.gaugeSize={width:e.width,height:e.height},this.updateComplete.then(()=>{this.setupGauge()})},200)),this.resizeObserver.observe(this._wrapperElem)})}willUpdate(t){if(t.has("assetAttribute")){let t=this.assetAttribute[1],e=tg.AssetModelUtil.getAttributeDescriptor(t.name,this.asset.type);this.unit=tm.Util.resolveUnits(tm.Util.getAttributeUnits(t,e,this.asset.type)),this.value=null!=t.value?t.value:NaN}}updated(t){var e,i,s,n;t.has("value")&&(null==(e=this.gauge)||e.set(null!=this.value?this.value:NaN)),t.has("attrRef")&&(this.attrRef?this.loadData(this.attrRef):(this.assetAttribute=void 0,this.value=void 0)),t.has("min")&&null!=this.min&&this.gauge&&(this.gauge.setMinValue(this.min),this.gauge.set(null!=this.value?this.value:NaN)),t.has("max")&&null!=this.max&&this.gauge&&(this.gauge.maxValue=this.max,this.gauge.set(null!=this.value?this.value:NaN)),t.has("thresholds")&&this.thresholds&&(this.config.options.staticZones=[],this.thresholds.sort((t,e)=>t[0]<e[0]?-1:1).forEach((t,e)=>{var i,s,n;let o=t[0],r=this.thresholds[e+1]?this.thresholds[e+1][0]:this.max,a={strokeStyle:t[1],min:this.min&&o&&this.min>o?this.min:this.max&&o&&this.max<o?this.max:o,max:this.max&&r&&this.max<r?this.max:this.min&&r&&this.min>r?this.min:r};null==(n=null==(s=null==(i=this.config)?void 0:i.options)?void 0:s.staticZones)||n.push(a)}),this.min&&(null==(s=null==(i=this.config)?void 0:i.options)?void 0:s.staticZones)&&(this.config.options.staticZones[0].min=this.min),this.gauge&&this.gauge.setOptions(null==(n=this.config)?void 0:n.options))}setupGauge(){var t;this.gauge=new tf.Gauge(this._gaugeElem),this.gauge.setOptions(null==(t=this.config)?void 0:t.options),this.gauge.maxValue=this.max?this.max:100,this.gauge.setMinValue(this.min?this.min:0),this.gauge.animationSpeed=1,this.gauge.set(null!=this.value?this.value:NaN),null==this.value&&this.attrRef&&this.loadData(this.attrRef)}getGaugeWidth(t,e=!0){return t?Math.min(t.width,(e?t.height-this._detailsElem.clientHeight:t.height)*1.5)+"px":"unset"}shouldShowLabel(t){return t.width>70&&t.height>100}getLabelSize(t){return t<120?"s":t<240?"m":t<320?"l":"xl"}render(){let t=null!=this.value?+this.value.toFixed(this.decimals):NaN,e=!this.gaugeSize||this.shouldShowLabel(this.gaugeSize),i=e&&this.gaugeSize?this.getLabelSize(this.gaugeSize.width):"unknown",s=this.getGaugeWidth(this.gaugeSize,e);return L`
|
|
76
76
|
<div style="position: relative; height: 100%; width: 100%;">
|
|
77
77
|
<div id="chart-wrapper" style="display: ${this.loading?"none":"flex"};">
|
|
78
|
-
<div id="chart-container" style="flex: 0 0 0; width: ${
|
|
78
|
+
<div id="chart-container" style="flex: 0 0 0; width: ${s};">
|
|
79
79
|
<canvas id="chart"></canvas>
|
|
80
80
|
</div>
|
|
81
81
|
<div id="details-container">
|
|
82
|
-
${e?
|
|
82
|
+
${e?L`
|
|
83
83
|
<div class="mainvalue-wrapper">
|
|
84
|
-
<span class="main-number-icon">${this.asset?(0,
|
|
85
|
-
<span class="main-number ${
|
|
86
|
-
<span class="main-number-unit ${
|
|
84
|
+
<span class="main-number-icon">${this.asset?(0,t$.getAssetDescriptorIconTemplate)(tg.AssetModelUtil.getAssetDescriptor(this.asset.type)):""}</span>
|
|
85
|
+
<span class="main-number ${i}">${t}</span>
|
|
86
|
+
<span class="main-number-unit ${i}">${this.unit?this.unit:""}</span>
|
|
87
87
|
</div>
|
|
88
88
|
`:void 0}
|
|
89
89
|
</div>
|
|
90
90
|
</div>
|
|
91
91
|
</div>
|
|
92
|
-
${this.loading?
|
|
93
|
-
<span>${
|
|
92
|
+
${this.loading?L`
|
|
93
|
+
<span>${ty.i18next.t("loading")}</span>
|
|
94
94
|
`:void 0}
|
|
95
|
-
`}loadData(t){var e,
|
|
95
|
+
`}loadData(t){var e,i,s,n;return e=this,i=void 0,s=void 0,n=function*(){let e=(yield tv().rest.api.AssetResource.queryAssets({ids:[t.id]})).data,i=[t].map(t=>{let i=e.findIndex(e=>e.id===t.id),s=i>=0?e[i]:void 0;return s&&s.attributes?[i,s.attributes[t.name]]:void 0}).filter(t=>!!t);this.asset=e[0],this.assetAttribute=i[0]},new(s||(s=Promise))(function(t,o){function r(t){try{h(n.next(t))}catch(t){o(t)}}function a(t){try{h(n.throw(t))}catch(t){o(t)}}function h(e){var i;e.done?t(e.value):((i=e.value)instanceof s?i:new s(function(t){t(i)})).then(r,a)}h((n=n.apply(e,i||[])).next())})}getDefaultConfig(){return{attributeRef:void 0,options:{angle:0,lineWidth:.4,radiusScale:1,pointer:{length:.5,strokeWidth:.035,color:"#000000"},staticZones:[],limitMax:!0,limitMin:!0,colorStart:"#000000",colorStop:"#707070",strokeColor:"#ABCDEF",generateGradient:!1,highDpiSupport:!0}}}};tb([tu({type:Object})],tw.prototype,"attrRef",void 0),tb([tu({type:Object})],tw.prototype,"asset",void 0),tb([tu({type:Object})],tw.prototype,"assetAttribute",void 0),tb([tu()],tw.prototype,"value",void 0),tb([tu()],tw.prototype,"decimals",void 0),tb([tu()],tw.prototype,"unit",void 0),tb([tu()],tw.prototype,"min",void 0),tb([tu()],tw.prototype,"max",void 0),tb([tu()],tw.prototype,"thresholds",void 0),tb([tu()],tw.prototype,"config",void 0),tb([tu({type:String})],tw.prototype,"realm",void 0),tb([tc()],tw.prototype,"loading",void 0),tb([tc()],tw.prototype,"gauge",void 0),tb([tc()],tw.prototype,"gaugeSize",void 0),tb([td("#chart")],tw.prototype,"_gaugeElem",void 0),tb([td("#chart-wrapper")],tw.prototype,"_wrapperElem",void 0),tb([td("#details-container")],tw.prototype,"_detailsElem",void 0),tw=tb([(t="or-gauge",(e,i)=>{void 0!==i?i.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)})],tw)})(),a})());
|
|
96
96
|
//# sourceMappingURL=index.bundle.js.map
|