!function(){"use strict";var e={19567:function(e){e.exports=window.jQuery}},t={};function r(a){var o=t[a];if(void 0!==o)return o.exports;var i=t[a]={exports:{}};return e[a](i,i.exports,r),i.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var a in t)r.o(t,a)&&!r.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};!function(){r.r(a),r.d(a,{circleCounterInit:function(){return d},circleCounterReInit:function(){return b},circleCounterUpdate:function(){return s}});const e="0.1",t="#000000",o='$variable({"type":"color","value":{"name":"gcid-primary-color","settings":{}}})$',i="50",n={duration:1800,enabled:!0},l=(e,t)=>window.getComputedStyle(e[0]).getPropertyValue(t).trim(),d=(r,a,d)=>{if(void 0!==r.data("easyPieChart"))return;const u=a?.barColor?.startsWith("var(")?l(r,a.barColor.replace("var(","").replace(")","")):a?.barColor??o,c=a?.trackColor&&"string"==typeof a.trackColor&&a.trackColor.startsWith("var(")?l(r,a.trackColor.replace("var(","").replace(")","")):a?.trackColor??t,s=parseFloat(a?.trackAlpha??e),p=a?.numberValue??i,v=parseFloat(p);r.easyPieChart({numberValue:v,trackAlpha:s,trackColor:c,barColor:u,animate:{...n,enabled:!d},size:0!==r.width()?r.width():10,scaleColor:!1,lineWidth:5,onStart(e){r.find("p").css({visibility:"visible"}),Number.isNaN(e)?r.find(".percent-value").text(e):r.find(".percent-value").text(Math.round(parseInt(e.toString(),10)))},onStep(e,t,a){Number.isNaN(a)?r.find(".percent-value").text(a):r.find(".percent-value").text(Math.round(parseInt(a.toString(),10)))},onStop(){r.find(".percent-value").text(p)}})};var u=r(19567),c=r.n(u);const s=(r,a,l)=>{if(r.width()<=0)return;if(void 0===r.data("easyPieChart"))return;if(l)return r.removeData("easyPieChart"),r.find("canvas").remove(),void d(r,a);const u=r.data("easyPieChart")?.getCurrentValue()?.toString()??i,c=r.data("easyPieChart")?.options?.trackAlpha?.toString()??e,s=r.data("easyPieChart")?.options?.trackColor??t,p=r.data("easyPieChart")?.options?.barColor??o,v=a?.numberValue??u,C=a?.trackAlpha??c,b=a?.trackColor??s,y=a?.barColor??p;(c!==C||s!==b)&&(r.removeData("easyPieChart"),r.find("canvas").remove(),d(r,{...a,trackAlpha:C,trackColor:b,barColor:p,numberValue:u},!0),r.data("easyPieChart").options.animate={...n}),p!==y&&(r.data("easyPieChart").options.barColor=y),r.data("easyPieChart").update(parseFloat(v))},p=(e,t,r,a,o)=>"sticky"===r?t?.[e]?.desktop?.sticky??t?.[e]?.desktop?.value??a??"":"desktop"===r?o?t?.[e]?.desktop?.hover??t?.[e]?.desktop?.value??a??"":t?.[e]?.desktop?.value??a??"":"phone"===r?o?t?.[e]?.desktop?.hover??t?.[e]?.phone?.value??a??"":t?.[e]?.phone?.value??t?.[e]?.tablet?.value??t?.[e]?.desktop?.value??a??"":"tablet"===r?o?t?.[e]?.desktop?.hover??t?.[e]?.tablet?.value??a??"":t?.[e]?.tablet?.value??t?.[e]?.desktop?.value??a??"":t?.[e]?.desktop?.value??a??"",v=(r,a,n)=>({barColor:p("barColor",r,a,o,n),trackColor:p("trackColor",r,a,t,n),trackAlpha:p("trackAlpha",r,a,e,n),numberValue:p("numberValue",r,a,i,n)}),C=()=>{const e=c()(window).width();return e<=980&&e>767?"tablet":e<=767?"phone":"desktop"},b=e=>{const t=e||window?.diviModuleCircleCounterData,r={...window?.diviElementStickyData??{},...window?.et_pb_sticky_elements??{}};if(!Array.isArray(t))return;const a=C();t.forEach((({selector:e,data:t})=>{const o=c()(e);if(!o.length)return;void 0!==o.data("easyPieChart")?s(o,v(t,a)):d(o,v(t,a)),o.on("containerWidthChanged",(()=>{s(o,v(t,C()))})),o.on("mouseleave",(()=>{o.closest(".et_pb_sticky").length>0&&s(o,v(t,"sticky"))})),e.endsWith(".et_pb_circle_counter")&&(e=-1!==e.lastIndexOf(".et_pb_circle_counter")?e.slice(0,e.lastIndexOf(".et_pb_circle_counter")):e);const i=Object.values(r).find((t=>e===t?.selector)),n=i&&i?.id?i?.id:null;n&&(window.addEventListener("ETBuilderStickyStart",(e=>{n===e.detail.stickyId&&s(o,v(t,"sticky"))})),window.addEventListener("ETBuilderStickyEnd",(e=>{n===e.detail.stickyId&&s(o,v(t,a))})))}))};"diviModuleCircleCounterInit"in window||Object.defineProperty(window,"diviModuleCircleCounterInit",{value:d,writable:!1}),"diviModuleCircleCounterUpdate"in window||Object.defineProperty(window,"diviModuleCircleCounterUpdate",{value:s,writable:!1}),"diviModuleCircleCounterReinit"in window||Object.defineProperty(window,"diviModuleCircleCounterReinit",{value:b,writable:!1})}(),((window.divi=window.divi||{}).moduleLibrary=window.divi.moduleLibrary||{}).moduleLibraryScriptCircleCounter=a}();