Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/ui/progressbarjs/ |
Upload File : |
/*! * ProgressBar.js v1.1.1 * (c) 2022 Kimmo Brunfeldt * @license MIT * * GitHub: https://kimmobrunfeldt.github.io/progressbar.js */ (function(t){if(typeof window.BX==="undefined"){window.BX={}}window.BX.ProgressBarJs=t()})((function(){var t,e,r;return function(){function t(e,r,n){function i(a,u){if(!r[a]){if(!e[a]){var s="function"==typeof require&&require;if(!u&&s)return s(a,!0);if(o)return o(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var f=r[a]={exports:{}};e[a][0].call(f.exports,(function(t){var r=e[a][1][t];return i(r||t)}),f,f.exports,t,e,r,n)}return r[a].exports}for(var o="function"==typeof require&&require,a=0;a<n.length;a++)i(n[a]);return i}return t}()({1:[function(t,e,r){(function(t){(function(){var n=200;var i="__lodash_hash_undefined__";var o=800,a=16;var u=9007199254740991;var s="[object Arguments]",c="[object Array]",f="[object AsyncFunction]",l="[object Boolean]",h="[object Date]",p="[object Error]",d="[object Function]",v="[object GeneratorFunction]",_="[object Map]",y="[object Number]",g="[object Null]",w="[object Object]",b="[object Proxy]",m="[object RegExp]",S="[object Set]",O="[object String]",j="[object Undefined]",k="[object WeakMap]";var x="[object ArrayBuffer]",P="[object DataView]",A="[object Float32Array]",T="[object Float64Array]",C="[object Int8Array]",E="[object Int16Array]",M="[object Int32Array]",F="[object Uint8Array]",W="[object Uint8ClampedArray]",I="[object Uint16Array]",z="[object Uint32Array]";var D=/[\\^$.*+?()[\]{}|]/g;var q=/^\[object .+?Constructor\]$/;var B=/^(?:0|[1-9]\d*)$/;var L={};L[A]=L[T]=L[C]=L[E]=L[M]=L[F]=L[W]=L[I]=L[z]=true;L[s]=L[c]=L[x]=L[l]=L[P]=L[h]=L[p]=L[d]=L[_]=L[y]=L[w]=L[m]=L[S]=L[O]=L[k]=false;var R=typeof t=="object"&&t&&t.Object===Object&&t;var N=typeof self=="object"&&self&&self.Object===Object&&self;var U=R||N||Function("return this")();var Q=typeof r=="object"&&r&&!r.nodeType&&r;var V=Q&&typeof e=="object"&&e&&!e.nodeType&&e;var $=V&&V.exports===Q;var X=$&&R.process;var G=function(){try{var t=V&&V.require&&V.require("util").types;if(t){return t}return X&&X.binding&&X.binding("util")}catch(t){}}();var H=G&&G.isTypedArray;function J(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}function K(t,e){var r=-1,n=Array(t);while(++r<t){n[r]=e(r)}return n}function Y(t){return function(e){return t(e)}}function Z(t,e){return t==null?undefined:t[e]}function tt(t,e){return function(r){return t(e(r))}}var et=Array.prototype,rt=Function.prototype,nt=Object.prototype;var it=U["__core-js_shared__"];var ot=rt.toString;var at=nt.hasOwnProperty;var ut=function(){var t=/[^.]+$/.exec(it&&it.keys&&it.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();var st=nt.toString;var ct=ot.call(Object);var ft=RegExp("^"+ot.call(at).replace(D,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var lt=$?U.Buffer:undefined,ht=U.Symbol,pt=U.Uint8Array,dt=lt?lt.allocUnsafe:undefined,vt=tt(Object.getPrototypeOf,Object),_t=Object.create,yt=nt.propertyIsEnumerable,gt=et.splice,wt=ht?ht.toStringTag:undefined;var bt=function(){try{var t=be(Object,"defineProperty");t({},"",{});return t}catch(t){}}();var mt=lt?lt.isBuffer:undefined,St=Math.max,Ot=Date.now;var jt=be(U,"Map"),kt=be(Object,"create");var xt=function(){function t(){}return function(e){if(!Ue(e)){return{}}if(_t){return _t(e)}t.prototype=e;var r=new t;t.prototype=undefined;return r}}();function Pt(t){var e=-1,r=t==null?0:t.length;this.clear();while(++e<r){var n=t[e];this.set(n[0],n[1])}}function At(){this.__data__=kt?kt(null):{};this.size=0}function Tt(t){var e=this.has(t)&&delete this.__data__[t];this.size-=e?1:0;return e}function Ct(t){var e=this.__data__;if(kt){var r=e[t];return r===i?undefined:r}return at.call(e,t)?e[t]:undefined}function Et(t){var e=this.__data__;return kt?e[t]!==undefined:at.call(e,t)}function Mt(t,e){var r=this.__data__;this.size+=this.has(t)?0:1;r[t]=kt&&e===undefined?i:e;return this}Pt.prototype.clear=At;Pt.prototype["delete"]=Tt;Pt.prototype.get=Ct;Pt.prototype.has=Et;Pt.prototype.set=Mt;function Ft(t){var e=-1,r=t==null?0:t.length;this.clear();while(++e<r){var n=t[e];this.set(n[0],n[1])}}function Wt(){this.__data__=[];this.size=0}function It(t){var e=this.__data__,r=te(e,t);if(r<0){return false}var n=e.length-1;if(r==n){e.pop()}else{gt.call(e,r,1)}--this.size;return true}function zt(t){var e=this.__data__,r=te(e,t);return r<0?undefined:e[r][1]}function Dt(t){return te(this.__data__,t)>-1}function qt(t,e){var r=this.__data__,n=te(r,t);if(n<0){++this.size;r.push([t,e])}else{r[n][1]=e}return this}Ft.prototype.clear=Wt;Ft.prototype["delete"]=It;Ft.prototype.get=zt;Ft.prototype.has=Dt;Ft.prototype.set=qt;function Bt(t){var e=-1,r=t==null?0:t.length;this.clear();while(++e<r){var n=t[e];this.set(n[0],n[1])}}function Lt(){this.size=0;this.__data__={hash:new Pt,map:new(jt||Ft),string:new Pt}}function Rt(t){var e=we(this,t)["delete"](t);this.size-=e?1:0;return e}function Nt(t){return we(this,t).get(t)}function Ut(t){return we(this,t).has(t)}function Qt(t,e){var r=we(this,t),n=r.size;r.set(t,e);this.size+=r.size==n?0:1;return this}Bt.prototype.clear=Lt;Bt.prototype["delete"]=Rt;Bt.prototype.get=Nt;Bt.prototype.has=Ut;Bt.prototype.set=Qt;function Vt(t){var e=this.__data__=new Ft(t);this.size=e.size}function $t(){this.__data__=new Ft;this.size=0}function Xt(t){var e=this.__data__,r=e["delete"](t);this.size=e.size;return r}function Gt(t){return this.__data__.get(t)}function Ht(t){return this.__data__.has(t)}function Jt(t,e){var r=this.__data__;if(r instanceof Ft){var i=r.__data__;if(!jt||i.length<n-1){i.push([t,e]);this.size=++r.size;return this}r=this.__data__=new Bt(i)}r.set(t,e);this.size=r.size;return this}Vt.prototype.clear=$t;Vt.prototype["delete"]=Xt;Vt.prototype.get=Gt;Vt.prototype.has=Ht;Vt.prototype.set=Jt;function Kt(t,e){var r=De(t),n=!r&&ze(t),i=!r&&!n&&Le(t),o=!r&&!n&&!i&&$e(t),a=r||n||i||o,u=a?K(t.length,String):[],s=u.length;for(var c in t){if((e||at.call(t,c))&&!(a&&(c=="length"||i&&(c=="offset"||c=="parent")||o&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||Oe(c,s)))){u.push(c)}}return u}function Yt(t,e,r){if(r!==undefined&&!Ie(t[e],r)||r===undefined&&!(e in t)){ee(t,e,r)}}function Zt(t,e,r){var n=t[e];if(!(at.call(t,e)&&Ie(n,r))||r===undefined&&!(e in t)){ee(t,e,r)}}function te(t,e){var r=t.length;while(r--){if(Ie(t[r][0],e)){return r}}return-1}function ee(t,e,r){if(e=="__proto__"&&bt){bt(t,e,{configurable:true,enumerable:true,value:r,writable:true})}else{t[e]=r}}var re=ge();function ne(t){if(t==null){return t===undefined?j:g}return wt&&wt in Object(t)?me(t):Te(t)}function ie(t){return Qe(t)&&ne(t)==s}function oe(t){if(!Ue(t)||xe(t)){return false}var e=Re(t)?ft:q;return e.test(We(t))}function ae(t){return Qe(t)&&Ne(t.length)&&!!L[ne(t)]}function ue(t){if(!Ue(t)){return Ae(t)}var e=Pe(t),r=[];for(var n in t){if(!(n=="constructor"&&(e||!at.call(t,n)))){r.push(n)}}return r}function se(t,e,r,n,i){if(t===e){return}re(e,(function(o,a){i||(i=new Vt);if(Ue(o)){ce(t,e,a,r,se,n,i)}else{var u=n?n(Ee(t,a),o,a+"",t,e,i):undefined;if(u===undefined){u=o}Yt(t,a,u)}}),Ge)}function ce(t,e,r,n,i,o,a){var u=Ee(t,r),s=Ee(e,r),c=a.get(s);if(c){Yt(t,r,c);return}var f=o?o(u,s,r+"",t,e,a):undefined;var l=f===undefined;if(l){var h=De(s),p=!h&&Le(s),d=!h&&!p&&$e(s);f=s;if(h||p||d){if(De(u)){f=u}else if(Be(u)){f=ve(u)}else if(p){l=false;f=he(s,true)}else if(d){l=false;f=de(s,true)}else{f=[]}}else if(Ve(s)||ze(s)){f=u;if(ze(u)){f=Xe(u)}else if(!Ue(u)||Re(u)){f=Se(s)}}else{l=false}}if(l){a.set(s,f);i(f,s,n,o,a);a["delete"](s)}Yt(t,r,f)}function fe(t,e){return Me(Ce(t,e,Ke),t+"")}var le=!bt?Ke:function(t,e){return bt(t,"toString",{configurable:true,enumerable:false,value:Je(e),writable:true})};function he(t,e){if(e){return t.slice()}var r=t.length,n=dt?dt(r):new t.constructor(r);t.copy(n);return n}function pe(t){var e=new t.constructor(t.byteLength);new pt(e).set(new pt(t));return e}function de(t,e){var r=e?pe(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}function ve(t,e){var r=-1,n=t.length;e||(e=Array(n));while(++r<n){e[r]=t[r]}return e}function _e(t,e,r,n){var i=!r;r||(r={});var o=-1,a=e.length;while(++o<a){var u=e[o];var s=n?n(r[u],t[u],u,r,t):undefined;if(s===undefined){s=t[u]}if(i){ee(r,u,s)}else{Zt(r,u,s)}}return r}function ye(t){return fe((function(e,r){var n=-1,i=r.length,o=i>1?r[i-1]:undefined,a=i>2?r[2]:undefined;o=t.length>3&&typeof o=="function"?(i--,o):undefined;if(a&&je(r[0],r[1],a)){o=i<3?undefined:o;i=1}e=Object(e);while(++n<i){var u=r[n];if(u){t(e,u,n,o)}}return e}))}function ge(t){return function(e,r,n){var i=-1,o=Object(e),a=n(e),u=a.length;while(u--){var s=a[t?u:++i];if(r(o[s],s,o)===false){break}}return e}}function we(t,e){var r=t.__data__;return ke(e)?r[typeof e=="string"?"string":"hash"]:r.map}function be(t,e){var r=Z(t,e);return oe(r)?r:undefined}function me(t){var e=at.call(t,wt),r=t[wt];try{t[wt]=undefined;var n=true}catch(t){}var i=st.call(t);if(n){if(e){t[wt]=r}else{delete t[wt]}}return i}function Se(t){return typeof t.constructor=="function"&&!Pe(t)?xt(vt(t)):{}}function Oe(t,e){var r=typeof t;e=e==null?u:e;return!!e&&(r=="number"||r!="symbol"&&B.test(t))&&(t>-1&&t%1==0&&t<e)}function je(t,e,r){if(!Ue(r)){return false}var n=typeof e;if(n=="number"?qe(r)&&Oe(e,r.length):n=="string"&&e in r){return Ie(r[e],t)}return false}function ke(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function xe(t){return!!ut&&ut in t}function Pe(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||nt;return t===r}function Ae(t){var e=[];if(t!=null){for(var r in Object(t)){e.push(r)}}return e}function Te(t){return st.call(t)}function Ce(t,e,r){e=St(e===undefined?t.length-1:e,0);return function(){var n=arguments,i=-1,o=St(n.length-e,0),a=Array(o);while(++i<o){a[i]=n[e+i]}i=-1;var u=Array(e+1);while(++i<e){u[i]=n[i]}u[e]=r(a);return J(t,this,u)}}function Ee(t,e){if(e==="constructor"&&typeof t[e]==="function"){return}if(e=="__proto__"){return}return t[e]}var Me=Fe(le);function Fe(t){var e=0,r=0;return function(){var n=Ot(),i=a-(n-r);r=n;if(i>0){if(++e>=o){return arguments[0]}}else{e=0}return t.apply(undefined,arguments)}}function We(t){if(t!=null){try{return ot.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Ie(t,e){return t===e||t!==t&&e!==e}var ze=ie(function(){return arguments}())?ie:function(t){return Qe(t)&&at.call(t,"callee")&&!yt.call(t,"callee")};var De=Array.isArray;function qe(t){return t!=null&&Ne(t.length)&&!Re(t)}function Be(t){return Qe(t)&&qe(t)}var Le=mt||Ye;function Re(t){if(!Ue(t)){return false}var e=ne(t);return e==d||e==v||e==f||e==b}function Ne(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=u}function Ue(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}function Qe(t){return t!=null&&typeof t=="object"}function Ve(t){if(!Qe(t)||ne(t)!=w){return false}var e=vt(t);if(e===null){return true}var r=at.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&ot.call(r)==ct}var $e=H?Y(H):ae;function Xe(t){return _e(t,Ge(t))}function Ge(t){return qe(t)?Kt(t,true):ue(t)}var He=ye((function(t,e,r){se(t,e,r)}));function Je(t){return function(){return t}}function Ke(t){return t}function Ye(){return false}e.exports=He}).call(this)}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{}],2:[function(e,r,n){ /*! For license information please see shifty.js.LICENSE.txt */ !function(e,i){"object"==typeof n&&"object"==typeof r?r.exports=i():"function"==typeof t&&t.amd?t("shifty",[],i):"object"==typeof n?n.shifty=i():e.shifty=i()}(self,(function(){return function(){"use strict";var t={720:function(t,e,r){r.r(e),r.d(e,{Scene:function(){return ue},Tweenable:function(){return kt},interpolate:function(){return ee},processTweens:function(){return yt},setBezierFunction:function(){return U},shouldScheduleUpdate:function(){return bt},tween:function(){return xt},unsetBezierFunction:function(){return Q}});var n={};r.r(n),r.d(n,{bounce:function(){return I},bouncePast:function(){return z},easeFrom:function(){return q},easeFromTo:function(){return D},easeInBack:function(){return A},easeInCirc:function(){return j},easeInCubic:function(){return c},easeInExpo:function(){return m},easeInOutBack:function(){return C},easeInOutCirc:function(){return x},easeInOutCubic:function(){return l},easeInOutExpo:function(){return O},easeInOutQuad:function(){return s},easeInOutQuart:function(){return d},easeInOutQuint:function(){return y},easeInOutSine:function(){return b},easeInQuad:function(){return a},easeInQuart:function(){return h},easeInQuint:function(){return v},easeInSine:function(){return g},easeOutBack:function(){return T},easeOutBounce:function(){return P},easeOutCirc:function(){return k},easeOutCubic:function(){return f},easeOutExpo:function(){return S},easeOutQuad:function(){return u},easeOutQuart:function(){return p},easeOutQuint:function(){return _},easeOutSine:function(){return w},easeTo:function(){return B},elastic:function(){return E},linear:function(){return o},swingFrom:function(){return F},swingFromTo:function(){return M},swingTo:function(){return W}});var i={};r.r(i),r.d(i,{afterTween:function(){return Ht},beforeTween:function(){return Gt},doesApply:function(){return $t},tweenCreated:function(){return Xt}});var o=function(t){return t},a=function(t){return Math.pow(t,2)},u=function(t){return-(Math.pow(t-1,2)-1)},s=function(t){return(t/=.5)<1?.5*Math.pow(t,2):-.5*((t-=2)*t-2)},c=function(t){return Math.pow(t,3)},f=function(t){return Math.pow(t-1,3)+1},l=function(t){return(t/=.5)<1?.5*Math.pow(t,3):.5*(Math.pow(t-2,3)+2)},h=function(t){return Math.pow(t,4)},p=function(t){return-(Math.pow(t-1,4)-1)},d=function(t){return(t/=.5)<1?.5*Math.pow(t,4):-.5*((t-=2)*Math.pow(t,3)-2)},v=function(t){return Math.pow(t,5)},_=function(t){return Math.pow(t-1,5)+1},y=function(t){return(t/=.5)<1?.5*Math.pow(t,5):.5*(Math.pow(t-2,5)+2)},g=function(t){return 1-Math.cos(t*(Math.PI/2))},w=function(t){return Math.sin(t*(Math.PI/2))},b=function(t){return-.5*(Math.cos(Math.PI*t)-1)},m=function(t){return 0===t?0:Math.pow(2,10*(t-1))},S=function(t){return 1===t?1:1-Math.pow(2,-10*t)},O=function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},j=function(t){return-(Math.sqrt(1-t*t)-1)},k=function(t){return Math.sqrt(1-Math.pow(t-1,2))},x=function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},P=function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},A=function(t){var e=1.70158;return t*t*((e+1)*t-e)},T=function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},C=function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},E=function(t){return-1*Math.pow(4,-8*t)*Math.sin((6*t-1)*(2*Math.PI)/2)+1},M=function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},F=function(t){var e=1.70158;return t*t*((e+1)*t-e)},W=function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},I=function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},z=function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?2-(7.5625*(t-=1.5/2.75)*t+.75):t<2.5/2.75?2-(7.5625*(t-=2.25/2.75)*t+.9375):2-(7.5625*(t-=2.625/2.75)*t+.984375)},D=function(t){return(t/=.5)<1?.5*Math.pow(t,4):-.5*((t-=2)*Math.pow(t,3)-2)},q=function(t){return Math.pow(t,4)},B=function(t){return Math.pow(t,.25)};function L(t,e,r,n,i,o){var a,u,s,c,f,l=0,h=0,p=0,d=function(t){return((l*t+h)*t+p)*t},v=function(t){return(3*l*t+2*h)*t+p},_=function(t){return t>=0?t:0-t};return l=1-(p=3*e)-(h=3*(n-e)-p),s=1-(f=3*r)-(c=3*(i-r)-f),a=t,u=function(t){return 1/(200*t)}(o),function(t){return((s*t+c)*t+f)*t}(function(t,e){var r,n,i,o,a,u;for(i=t,u=0;u<8;u++){if(o=d(i)-t,_(o)<e)return i;if(a=v(i),_(a)<1e-6)break;i-=o/a}if((i=t)<(r=0))return r;if(i>(n=1))return n;for(;r<n;){if(o=d(i),_(o-t)<e)return i;t>o?r=i:n=i,i=.5*(n-r)+r}return i}(a,u))}var R,N=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.25,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.25,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.75,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.75;return function(i){return L(i,t,e,r,n,1)}},U=function(t,e,r,n,i){var o=N(e,r,n,i);return o.displayName=t,o.x1=e,o.y1=r,o.x2=n,o.y2=i,kt.formulas[t]=o},Q=function(t){return delete kt.formulas[t]};function V(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function X(t){return X="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},X(t)}function G(t){return function(t){if(Array.isArray(t))return H(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return H(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?H(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function H(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function J(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function K(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?J(Object(r),!0).forEach((function(e){Y(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):J(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Y(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Z,tt,et,rt="linear",nt="undefined"!=typeof window?window:r.g,it="afterTween",ot="afterTweenEnd",at="beforeTween",ut="tweenCreated",st="function",ct="string",ft=nt.requestAnimationFrame||nt.webkitRequestAnimationFrame||nt.oRequestAnimationFrame||nt.msRequestAnimationFrame||nt.mozCancelRequestAnimationFrame&&nt.mozRequestAnimationFrame||setTimeout,lt=function(){},ht=null,pt=null,dt=K({},n),vt=function(t,e,r,n,i,o,a){var u,s,c,f=t<o?0:(t-o)/i,l=!1;for(var h in a&&a.call&&(l=!0,u=a(f)),e)l||(u=((s=a[h]).call?s:dt[s])(f)),c=r[h],e[h]=c+(n[h]-c)*u;return e},_t=function(t,e){var r=t._timestamp,n=t._currentState,i=t._delay;if(!(e<r+i)){var o=t._duration,a=t._targetState,u=r+i+o,s=e>u?u:e;t._hasEnded=s>=u;var c=o-(u-s),f=t._filters.length>0;if(t._hasEnded)return t._render(a,t._data,c),t.stop(!0);f&&t._applyFilter(at),s<r+i?r=o=s=1:r+=i,vt(s,n,t._originalState,a,o,r,t._easing),f&&t._applyFilter(it),t._render(n,t._data,c)}},yt=function(){for(var t,e=kt.now(),r=ht;r;)t=r._next,_t(r,e),r=t},gt=Date.now||function(){return+new Date},wt=!1,bt=function(t){t&&wt||(wt=t,t&&mt())},mt=function t(){Z=gt(),wt&&ft.call(nt,t,16.666666666666668),yt()},St=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:rt,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(Array.isArray(e)){var n=N.apply(void 0,G(e));return n}var i=X(e);if(dt[e])return dt[e];if(i===ct||i===st)for(var o in t)r[o]=e;else for(var a in t)r[a]=e[a]||rt;return r},Ot=function(t){t===ht?(ht=t._next)?ht._previous=null:pt=null:t===pt?(pt=t._previous)?pt._next=null:ht=null:(tt=t._previous,et=t._next,tt._next=et,et._previous=tt),t._previous=t._next=null},jt="function"==typeof Promise?Promise:null;R=Symbol.toStringTag;var kt=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;V(this,t),Y(this,R,"Promise"),this._config={},this._data={},this._delay=0,this._filters=[],this._next=null,this._previous=null,this._timestamp=null,this._hasEnded=!1,this._resolve=null,this._reject=null,this._currentState=e||{},this._originalState={},this._targetState={},this._start=lt,this._render=lt,this._promiseCtor=jt,r&&this.setConfig(r)}var e,r;return e=t,r=[{key:"_applyFilter",value:function(t){for(var e=this._filters.length;e>0;e--){var r=this._filters[e-e][t];r&&r(this)}}},{key:"tween",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return this._isPlaying&&this.stop(),!e&&this._config||this.setConfig(e),this._pausedAtTime=null,this._timestamp=t.now(),this._start(this.get(),this._data),this._delay&&this._render(this._currentState,this._data,0),this._resume(this._timestamp)}},{key:"setConfig",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=this._config;for(var n in e)r[n]=e[n];var i=r.promise,o=void 0===i?this._promiseCtor:i,a=r.start,u=void 0===a?lt:a,s=r.finish,c=r.render,f=void 0===c?this._config.step||lt:c,l=r.step,h=void 0===l?lt:l;this._data=r.data||r.attachment||this._data,this._isPlaying=!1,this._pausedAtTime=null,this._scheduleId=null,this._delay=e.delay||0,this._start=u,this._render=f||h,this._duration=r.duration||500,this._promiseCtor=o,s&&(this._resolve=s);var p=e.from,d=e.to,v=void 0===d?{}:d,_=this._currentState,y=this._originalState,g=this._targetState;for(var w in p)_[w]=p[w];var b=!1;for(var m in _){var S=_[m];b||X(S)!==ct||(b=!0),y[m]=S,g[m]=v.hasOwnProperty(m)?v[m]:S}if(this._easing=St(this._currentState,r.easing,this._easing),this._filters.length=0,b){for(var O in t.filters)t.filters[O].doesApply(this)&&this._filters.push(t.filters[O]);this._applyFilter(ut)}return this}},{key:"then",value:function(t,e){var r=this;return this._promise=new this._promiseCtor((function(t,e){r._resolve=t,r._reject=e})),this._promise.then(t,e)}},{key:"catch",value:function(t){return this.then().catch(t)}},{key:"finally",value:function(t){return this.then().finally(t)}},{key:"get",value:function(){return K({},this._currentState)}},{key:"set",value:function(t){this._currentState=t}},{key:"pause",value:function(){if(this._isPlaying)return this._pausedAtTime=t.now(),this._isPlaying=!1,Ot(this),this}},{key:"resume",value:function(){return this._resume()}},{key:"_resume",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.now();return null===this._timestamp?this.tween():this._isPlaying?this._promise:(this._pausedAtTime&&(this._timestamp+=e-this._pausedAtTime,this._pausedAtTime=null),this._isPlaying=!0,null===ht?(ht=this,pt=this):(this._previous=pt,pt._next=this,pt=this),this)}},{key:"seek",value:function(e){e=Math.max(e,0);var r=t.now();return this._timestamp+e===0||(this._timestamp=r-e,_t(this,r)),this}},{key:"stop",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this._isPlaying)return this;this._isPlaying=!1,Ot(this);var e=this._filters.length>0;return t&&(e&&this._applyFilter(at),vt(1,this._currentState,this._originalState,this._targetState,1,0,this._easing),e&&(this._applyFilter(it),this._applyFilter(ot))),this._resolve&&this._resolve({data:this._data,state:this._currentState,tweenable:this}),this._resolve=null,this._reject=null,this}},{key:"cancel",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this._currentState,r=this._data,n=this._isPlaying;return n?(this._reject&&this._reject({data:r,state:e,tweenable:this}),this._resolve=null,this._reject=null,this.stop(t)):this}},{key:"isPlaying",value:function(){return this._isPlaying}},{key:"hasEnded",value:function(){return this._hasEnded}},{key:"setScheduleFunction",value:function(e){t.setScheduleFunction(e)}},{key:"data",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return t&&(this._data=K({},t)),this._data}},{key:"dispose",value:function(){for(var t in this)delete this[t]}}],r&&$(e.prototype,r),t}();function xt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=new kt;return e.tween(t),e.tweenable=e,e}Y(kt,"now",(function(){return Z})),Y(kt,"setScheduleFunction",(function(t){return ft=t})),Y(kt,"filters",{}),Y(kt,"formulas",dt),bt(!0);var Pt,At,Tt=/(\d|-|\.)/,Ct=/([^\-0-9.]+)/g,Et=/[0-9.-]+/g,Mt=(Pt=Et.source,At=/,\s*/.source,new RegExp("rgba?\\(".concat(Pt).concat(At).concat(Pt).concat(At).concat(Pt,"(").concat(At).concat(Pt,")?\\)"),"g")),Ft=/^.*\(/,Wt=/#([0-9]|[a-f]){3,6}/gi,It="VAL",zt=function(t,e){return t.map((function(t,r){return"_".concat(e,"_").concat(r)}))};function Dt(t){return parseInt(t,16)}var qt=function(t){return"rgb(".concat((e=t,3===(e=e.replace(/#/,"")).length&&(e=(e=e.split(""))[0]+e[0]+e[1]+e[1]+e[2]+e[2]),[Dt(e.substr(0,2)),Dt(e.substr(2,2)),Dt(e.substr(4,2))]).join(","),")");var e},Bt=function(t,e,r){var n=e.match(t),i=e.replace(t,It);return n&&n.forEach((function(t){return i=i.replace(It,r(t))})),i},Lt=function(t){for(var e in t){var r=t[e];"string"==typeof r&&r.match(Wt)&&(t[e]=Bt(Wt,r,qt))}},Rt=function(t){var e=t.match(Et),r=e.slice(0,3).map(Math.floor),n=t.match(Ft)[0];if(3===e.length)return"".concat(n).concat(r.join(","),")");if(4===e.length)return"".concat(n).concat(r.join(","),",").concat(e[3],")");throw new Error("Invalid rgbChunk: ".concat(t))},Nt=function(t){return t.match(Et)},Ut=function(t,e){var r={};return e.forEach((function(e){r[e]=t[e],delete t[e]})),r},Qt=function(t,e){return e.map((function(e){return t[e]}))},Vt=function(t,e){return e.forEach((function(e){return t=t.replace(It,+e.toFixed(4))})),t},$t=function(t){for(var e in t._currentState)if("string"==typeof t._currentState[e])return!0;return!1};function Xt(t){var e=t._currentState;[e,t._originalState,t._targetState].forEach(Lt),t._tokenData=function(t){var e,r,n={};for(var i in t){var o=t[i];"string"==typeof o&&(n[i]={formatString:(e=o,r=void 0,r=e.match(Ct),r?(1===r.length||e.charAt(0).match(Tt))&&r.unshift(""):r=["",""],r.join(It)),chunkNames:zt(Nt(o),i)})}return n}(e)}function Gt(t){var e=t._currentState,r=t._originalState,n=t._targetState,i=t._easing,o=t._tokenData;!function(t,e){var r=function(r){var n=e[r].chunkNames,i=t[r];if("string"==typeof i){var o=i.split(" "),a=o[o.length-1];n.forEach((function(e,r){return t[e]=o[r]||a}))}else n.forEach((function(e){return t[e]=i}));delete t[r]};for(var n in e)r(n)}(i,o),[e,r,n].forEach((function(t){return function(t,e){var r=function(r){Nt(t[r]).forEach((function(n,i){return t[e[r].chunkNames[i]]=+n})),delete t[r]};for(var n in e)r(n)}(t,o)}))}function Ht(t){var e=t._currentState,r=t._originalState,n=t._targetState,i=t._easing,o=t._tokenData;[e,r,n].forEach((function(t){return function(t,e){for(var r in e){var n=e[r],i=n.chunkNames,o=n.formatString,a=Vt(o,Qt(Ut(t,i),i));t[r]=Bt(Mt,a,Rt)}}(t,o)})),function(t,e){for(var r in e){var n=e[r].chunkNames,i=t[n[0]];t[r]="string"==typeof i?n.map((function(e){var r=t[e];return delete t[e],r})).join(" "):i}}(i,o)}function Jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Kt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Jt(Object(r),!0).forEach((function(e){Yt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Jt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Yt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Zt=new kt,te=kt.filters,ee=function(t,e,r,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=Kt({},t),a=St(t,n);for(var u in Zt._filters.length=0,Zt.set({}),Zt._currentState=o,Zt._originalState=t,Zt._targetState=e,Zt._easing=a,te)te[u].doesApply(Zt)&&Zt._filters.push(te[u]);Zt._applyFilter("tweenCreated"),Zt._applyFilter("beforeTween");var s=vt(r,o,t,e,1,i,a);return Zt._applyFilter("afterTween"),s};function re(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function ne(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ie(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function oe(t,e){var r=e.get(t);if(!r)throw new TypeError("attempted to get private field on non-instance");return r.get?r.get.call(t):r.value}var ae=new WeakMap,ue=function(){function t(){ne(this,t),ae.set(this,{writable:!0,value:[]});for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];r.forEach(this.add.bind(this))}var e,r;return e=t,(r=[{key:"add",value:function(t){return oe(this,ae).push(t),t}},{key:"remove",value:function(t){var e=oe(this,ae).indexOf(t);return~e&&oe(this,ae).splice(e,1),t}},{key:"empty",value:function(){return this.tweenables.map(this.remove.bind(this))}},{key:"isPlaying",value:function(){return oe(this,ae).some((function(t){return t.isPlaying()}))}},{key:"play",value:function(){return oe(this,ae).forEach((function(t){return t.tween()})),this}},{key:"pause",value:function(){return oe(this,ae).forEach((function(t){return t.pause()})),this}},{key:"resume",value:function(){return this.playingTweenables.forEach((function(t){return t.resume()})),this}},{key:"stop",value:function(t){return oe(this,ae).forEach((function(e){return e.stop(t)})),this}},{key:"tweenables",get:function(){return function(t){if(Array.isArray(t))return re(t)}(t=oe(this,ae))||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return re(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?re(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();var t}},{key:"playingTweenables",get:function(){return oe(this,ae).filter((function(t){return!t.hasEnded()}))}},{key:"promises",get:function(){return oe(this,ae).map((function(t){return t.then()}))}}])&&ie(e.prototype,r),t}();kt.filters.token=i}},e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.exports}return r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r(720)}()}))},{}],3:[function(t,e,r){var n=t("./shape");var i=t("./utils");var o=function t(e,r){this._pathTemplate="M 50,50 m 0,-{radius}"+" a {radius},{radius} 0 1 1 0,{2radius}"+" a {radius},{radius} 0 1 1 0,-{2radius}";this.containerAspectRatio=1;n.apply(this,arguments)};o.prototype=new n;o.prototype.constructor=o;o.prototype._pathString=function t(e){var r=e.strokeWidth;if(e.trailWidth&&e.trailWidth>e.strokeWidth){r=e.trailWidth}var n=50-r/2;return i.render(this._pathTemplate,{radius:n,"2radius":n*2})};o.prototype._trailString=function t(e){return this._pathString(e)};e.exports=o},{"./shape":8,"./utils":10}],4:[function(t,e,r){var n=t("./shape");var i=t("./utils");var o=function t(e,r){this._pathTemplate=r.vertical?"M {center},100 L {center},0":"M 0,{center} L 100,{center}";n.apply(this,arguments)};o.prototype=new n;o.prototype.constructor=o;o.prototype._initializeSvg=function t(e,r){var n=r.vertical?"0 0 "+r.strokeWidth+" 100":"0 0 100 "+r.strokeWidth;e.setAttribute("viewBox",n);e.setAttribute("preserveAspectRatio","none")};o.prototype._pathString=function t(e){return i.render(this._pathTemplate,{center:e.strokeWidth/2})};o.prototype._trailString=function t(e){return this._pathString(e)};e.exports=o},{"./shape":8,"./utils":10}],5:[function(t,e,r){e.exports={Line:t("./line"),Circle:t("./circle"),SemiCircle:t("./semicircle"),Square:t("./square"),Path:t("./path"),Shape:t("./shape"),utils:t("./utils")}},{"./circle":3,"./line":4,"./path":6,"./semicircle":7,"./shape":8,"./square":9,"./utils":10}],6:[function(t,e,r){var n=t("shifty");var i=t("./utils");var o=n.Tweenable;var a={easeIn:"easeInCubic",easeOut:"easeOutCubic",easeInOut:"easeInOutCubic"};var u=function t(e,r){if(!(this instanceof t)){throw new Error("Constructor was called without new keyword")}r=i.extend({delay:0,duration:800,easing:"linear",from:{},to:{},step:function(){}},r);var n;if(i.isString(e)){n=document.querySelector(e)}else{n=e}this.path=n;this._opts=r;this._tweenable=null;var o=this.path.getTotalLength();this.path.style.strokeDasharray=o+" "+o;this.set(0)};u.prototype.value=function t(){var e=this._getComputedDashOffset();var r=this.path.getTotalLength();var n=1-e/r;return parseFloat(n.toFixed(6),10)};u.prototype.set=function t(e){this.stop();this.path.style.strokeDashoffset=this._progressToOffset(e);var r=this._opts.step;if(i.isFunction(r)){var n=this._easing(this._opts.easing);var o=this._calculateTo(e,n);var a=this._opts.shape||this;r(o,a,this._opts.attachment)}};u.prototype.stop=function t(){this._stopTween();this.path.style.strokeDashoffset=this._getComputedDashOffset()};u.prototype.animate=function t(e,r,n){r=r||{};if(i.isFunction(r)){n=r;r={}}var a=i.extend({},r);var u=i.extend({},this._opts);r=i.extend(u,r);var s=this._easing(r.easing);var c=this._resolveFromAndTo(e,s,a);this.stop();this.path.getBoundingClientRect();var f=this._getComputedDashOffset();var l=this._progressToOffset(e);var h=this;this._tweenable=new o;this._tweenable.tween({from:i.extend({offset:f},c.from),to:i.extend({offset:l},c.to),duration:r.duration,delay:r.delay,easing:s,step:function(t){h.path.style.strokeDashoffset=t.offset;var e=r.shape||h;r.step(t,e,r.attachment)}}).then((function(t){if(i.isFunction(n)){n()}})).catch((function(t){console.error("Error in tweening:",t);throw t}))};u.prototype._getComputedDashOffset=function t(){var e=window.getComputedStyle(this.path,null);var r=e.getPropertyValue("stroke-dashoffset");return r?parseFloat(r,10):0};u.prototype._progressToOffset=function t(e){var r=this.path.getTotalLength();return r-e*r};u.prototype._resolveFromAndTo=function t(e,r,n){if(n.from&&n.to){return{from:n.from,to:n.to}}return{from:this._calculateFrom(r),to:this._calculateTo(e,r)}};u.prototype._calculateFrom=function t(e){return n.interpolate(this._opts.from,this._opts.to,this.value(),e)};u.prototype._calculateTo=function t(e,r){return n.interpolate(this._opts.from,this._opts.to,e,r)};u.prototype._stopTween=function t(){if(this._tweenable!==null){this._tweenable.stop(true);this._tweenable=null}};u.prototype._easing=function t(e){if(a.hasOwnProperty(e)){return a[e]}return e};e.exports=u},{"./utils":10,shifty:2}],7:[function(t,e,r){var n=t("./shape");var i=t("./circle");var o=t("./utils");var a=function t(e,r){this._pathTemplate="M 50,50 m -{radius},0"+" a {radius},{radius} 0 1 1 {2radius},0";this.containerAspectRatio=2;n.apply(this,arguments)};a.prototype=new n;a.prototype.constructor=a;a.prototype._initializeSvg=function t(e,r){e.setAttribute("viewBox","0 0 100 50")};a.prototype._initializeTextContainer=function t(e,r,n){if(e.text.style){n.style.top="auto";n.style.bottom="0";if(e.text.alignToBottom){o.setStyle(n,"transform","translate(-50%, 0)")}else{o.setStyle(n,"transform","translate(-50%, 50%)")}}};a.prototype._pathString=i.prototype._pathString;a.prototype._trailString=i.prototype._trailString;e.exports=a},{"./circle":3,"./shape":8,"./utils":10}],8:[function(t,e,r){var n=t("./path");var i=t("./utils");var o="Object is destroyed";var a=function t(e,r){if(!(this instanceof t)){throw new Error("Constructor was called without new keyword")}if(arguments.length===0){return}this._opts=i.extend({color:"#555",strokeWidth:1,trailColor:null,trailWidth:null,fill:null,text:{style:{color:null,position:"absolute",left:"50%",top:"50%",padding:0,margin:0,transform:{prefix:true,value:"translate(-50%, -50%)"}},autoStyleContainer:true,alignToBottom:true,value:null,className:"progressbar-text"},svgStyle:{display:"block",width:"100%"},warnings:false},r,true);if(i.isObject(r)&&r.svgStyle!==undefined){this._opts.svgStyle=r.svgStyle}if(i.isObject(r)&&i.isObject(r.text)&&r.text.style!==undefined){this._opts.text.style=r.text.style}var o=this._createSvgView(this._opts);var a;if(i.isString(e)){a=document.querySelector(e)}else{a=e}if(!a){throw new Error("Container does not exist: "+e)}this._container=a;this._container.appendChild(o.svg);if(this._opts.warnings){this._warnContainerAspectRatio(this._container)}if(this._opts.svgStyle){i.setStyles(o.svg,this._opts.svgStyle)}this.svg=o.svg;this.path=o.path;this.trail=o.trail;this.text=null;var u=i.extend({attachment:undefined,shape:this},this._opts);this._progressPath=new n(o.path,u);if(i.isObject(this._opts.text)&&this._opts.text.value!==null){this.setText(this._opts.text.value)}};a.prototype.animate=function t(e,r,n){if(this._progressPath===null){throw new Error(o)}this._progressPath.animate(e,r,n)};a.prototype.stop=function t(){if(this._progressPath===null){throw new Error(o)}if(this._progressPath===undefined){return}this._progressPath.stop()};a.prototype.pause=function t(){if(this._progressPath===null){throw new Error(o)}if(this._progressPath===undefined){return}if(!this._progressPath._tweenable){return}this._progressPath._tweenable.pause()};a.prototype.resume=function t(){if(this._progressPath===null){throw new Error(o)}if(this._progressPath===undefined){return}if(!this._progressPath._tweenable){return}this._progressPath._tweenable.resume()};a.prototype.destroy=function t(){if(this._progressPath===null){throw new Error(o)}this.stop();this.svg.parentNode.removeChild(this.svg);this.svg=null;this.path=null;this.trail=null;this._progressPath=null;if(this.text!==null){this.text.parentNode.removeChild(this.text);this.text=null}};a.prototype.set=function t(e){if(this._progressPath===null){throw new Error(o)}this._progressPath.set(e)};a.prototype.value=function t(){if(this._progressPath===null){throw new Error(o)}if(this._progressPath===undefined){return 0}return this._progressPath.value()};a.prototype.setText=function t(e){if(this._progressPath===null){throw new Error(o)}if(this.text===null){this.text=this._createTextContainer(this._opts,this._container);this._container.appendChild(this.text)}if(i.isObject(e)){i.removeChildren(this.text);this.text.appendChild(e)}else{this.text.innerHTML=e}};a.prototype._createSvgView=function t(e){var r=document.createElementNS("http://www.w3.org/2000/svg","svg");this._initializeSvg(r,e);var n=null;if(e.trailColor||e.trailWidth){n=this._createTrail(e);r.appendChild(n)}var i=this._createPath(e);r.appendChild(i);return{svg:r,path:i,trail:n}};a.prototype._initializeSvg=function t(e,r){e.setAttribute("viewBox","0 0 100 100")};a.prototype._createPath=function t(e){var r=this._pathString(e);return this._createPathElement(r,e)};a.prototype._createTrail=function t(e){var r=this._trailString(e);var n=i.extend({},e);if(!n.trailColor){n.trailColor="#eee"}if(!n.trailWidth){n.trailWidth=n.strokeWidth}n.color=n.trailColor;n.strokeWidth=n.trailWidth;n.fill=null;return this._createPathElement(r,n)};a.prototype._createPathElement=function t(e,r){var n=document.createElementNS("http://www.w3.org/2000/svg","path");n.setAttribute("d",e);n.setAttribute("stroke",r.color);n.setAttribute("stroke-width",r.strokeWidth);if(r.fill){n.setAttribute("fill",r.fill)}else{n.setAttribute("fill-opacity","0")}return n};a.prototype._createTextContainer=function t(e,r){var n=document.createElement("div");n.className=e.text.className;var o=e.text.style;if(o){if(e.text.autoStyleContainer){r.style.position="relative"}i.setStyles(n,o);if(!o.color){n.style.color=e.color}}this._initializeTextContainer(e,r,n);return n};a.prototype._initializeTextContainer=function(t,e,r){};a.prototype._pathString=function t(e){throw new Error("Override this function for each progress bar")};a.prototype._trailString=function t(e){throw new Error("Override this function for each progress bar")};a.prototype._warnContainerAspectRatio=function t(e){if(!this.containerAspectRatio){return}var r=window.getComputedStyle(e,null);var n=parseFloat(r.getPropertyValue("width"),10);var o=parseFloat(r.getPropertyValue("height"),10);if(!i.floatEquals(this.containerAspectRatio,n/o)){console.warn("Incorrect aspect ratio of container","#"+e.id,"detected:",r.getPropertyValue("width")+"(width)","/",r.getPropertyValue("height")+"(height)","=",n/o);console.warn("Aspect ratio of should be",this.containerAspectRatio)}};e.exports=a},{"./path":6,"./utils":10}],9:[function(t,e,r){var n=t("./shape");var i=t("./utils");var o=function t(e,r){this._pathTemplate="M 0,{halfOfStrokeWidth}"+" L {width},{halfOfStrokeWidth}"+" L {width},{width}"+" L {halfOfStrokeWidth},{width}"+" L {halfOfStrokeWidth},{strokeWidth}";this._trailTemplate="M {startMargin},{halfOfStrokeWidth}"+" L {width},{halfOfStrokeWidth}"+" L {width},{width}"+" L {halfOfStrokeWidth},{width}"+" L {halfOfStrokeWidth},{halfOfStrokeWidth}";n.apply(this,arguments)};o.prototype=new n;o.prototype.constructor=o;o.prototype._pathString=function t(e){var r=100-e.strokeWidth/2;return i.render(this._pathTemplate,{width:r,strokeWidth:e.strokeWidth,halfOfStrokeWidth:e.strokeWidth/2})};o.prototype._trailString=function t(e){var r=100-e.strokeWidth/2;return i.render(this._trailTemplate,{width:r,strokeWidth:e.strokeWidth,halfOfStrokeWidth:e.strokeWidth/2,startMargin:e.strokeWidth/2-e.trailWidth/2})};e.exports=o},{"./shape":8,"./utils":10}],10:[function(t,e,r){var n=t("lodash.merge");var i="Webkit Moz O ms".split(" ");var o=.001;function a(t,e){var r=t;for(var n in e){if(e.hasOwnProperty(n)){var i=e[n];var o="\\{"+n+"\\}";var a=new RegExp(o,"g");r=r.replace(a,i)}}return r}function u(t,e,r){var n=t.style;for(var o=0;o<i.length;++o){var a=i[o];n[a+c(e)]=r}n[e]=r}function s(t,e){d(e,(function(e,r){if(e===null||e===undefined){return}if(p(e)&&e.prefix===true){u(t,r,e.value)}else{t.style[r]=e}}))}function c(t){return t.charAt(0).toUpperCase()+t.slice(1)}function f(t){return typeof t==="string"||t instanceof String}function l(t){return typeof t==="function"}function h(t){return Object.prototype.toString.call(t)==="[object Array]"}function p(t){if(h(t)){return false}var e=typeof t;return e==="object"&&!!t}function d(t,e){for(var r in t){if(t.hasOwnProperty(r)){var n=t[r];e(n,r)}}}function v(t,e){return Math.abs(t-e)<o}function _(t){while(t.firstChild){t.removeChild(t.firstChild)}}e.exports={extend:n,render:a,setStyle:u,setStyles:s,capitalize:c,isString:f,isFunction:l,isObject:p,forEachObject:d,floatEquals:v,removeChildren:_}},{"lodash.merge":1}]},{},[5])(5)})); //# sourceMappingURL=progressbar.map.js