/home/silvwabw/public_html/wp-content/plugins/gutenverse/assets/js/frontend/progress-bar.js
(()=>{"use strict";var t={};function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}function r(t){var r=function(t){if("object"!=e(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=e(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==e(r)?r:r+""}function n(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,r(o.key),o)}}function o(t){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},o(t)}function i(t,e){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},i(t,e)}t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},t.d=(e,r)=>{for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},t.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);const u=gutenverseCoreFrontend,a=window.animejs;var c=t.n(a);function f(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(f=function(){return!!t})()}var l=function(t){function r(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),t=this,i=arguments,n=o(n=r),function(t,r){if(r&&("object"==e(r)||"function"==typeof r))return r;if(void 0!==r)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,f()?Reflect.construct(n,i||[],o(t).constructor):n.apply(t,i));var t,n,i}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&i(t,e)}(r,t),a=r,(l=[{key:"init",value:function(){var t=this;this._elements.map(function(e){t._addAnimations(e)})}},{key:"_addAnimations",value:function(t){var e=(0,u.u)(t),r=e.find(".number-percentage"),n=e.find(".skill-track"),o=n.data("width"),i=n.data("duration"),a=c()({targets:n.first(),width:"".concat(o,"%"),easing:"easeInOutQuart",duration:i,autoplay:!1}),f=c()({targets:r.first(),innerHTML:"".concat(o,"%"),easing:"easeInOutQuart",round:1,duration:i,autoplay:!1});this.playOnScreen(t,[a,f])}}])&&n(a.prototype,l),Object.defineProperty(a,"prototype",{writable:!1}),a;var a,l}(u.Default),s=(0,u.u)(".guten-progress-bar");s&&new l(s)})();