whoami7 - Manager
:
/
home
/
rattkxnv
/
byattorney.com
/
wp-content
/
plugins
/
everest-forms
/
assets
/
js
/
admin
/
Upload File:
files >> /home/rattkxnv/byattorney.com/wp-content/plugins/everest-forms/assets/js/admin/progressbar.min.js
!function(t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).ProgressBar=t()}(function(){return function u(i,r,o){function s(n,t){if(!r[n]){if(!i[n]){var e="function"==typeof require&&require;if(!t&&e)return e(n,!0);if(a)return a(n,!0);t=new Error("Cannot find module '"+n+"'");throw t.code="MODULE_NOT_FOUND",t}e=r[n]={exports:{}};i[n][0].call(e.exports,function(t){var e=i[n][1][t];return s(e||t)},e,e.exports,u,i,r,o)}return r[n].exports}for(var a="function"==typeof require&&require,t=0;t<o.length;t++)s(o[t]);return s}({1:[function(t,b,k){!function(){var a,h,s,u,o,r,p,i,l,e,c,v=this||Function("return this")(),f=function(){"use strict";var p,n,l,c,f,r="linear",t=Date.now||function(){return+new Date},d="undefined"!=typeof SHIFTY_DEBUG_NOW?SHIFTY_DEBUG_NOW:t;function o(){}function s(t,e){for(var n in t)Object.hasOwnProperty.call(t,n)&&e(n)}function a(e,n){return s(n,function(t){e[t]=n[t]}),e}function u(e,n){s(n,function(t){"undefined"==typeof e[t]&&(e[t]=n[t])})}function _(t,e,n,i,r,o,s){var a,u,h=t<o?0:(t-o)/r;for(a in e)e.hasOwnProperty(a)&&(u="function"==typeof(u=s[a])?u:p[u],e[a]=g(n[a],i[a],u,h));return e}function g(t,e,n,i){return t+(e-t)*n(i)}function w(e,n){var i=m.prototype.filter,r=e._filterArgs;s(i,function(t){"undefined"!=typeof i[t][n]&&i[t][n].apply(e,r)})}function h(t,e,n,i,r,o,s,a,u,h,p){f=e+n+i,l=Math.min(p||d(),f),c=f<=l,f=i-(f-l),t.isPlaying()&&(c?(u(s,t._attachment,f),t.stop(!0)):(t._scheduleId=h(t._timeoutHandler,1e3/60),w(t,"beforeTween"),l<e+n?_(1,r,o,s,1,1,a):_(l,r,o,s,i,e+n,a),w(t,"afterTween"),u(r,t._attachment,f)))}function y(t,e){var n={},i=typeof e;return s(t,"string"==i||"function"==i?function(t){n[t]=e}:function(t){n[t]||(n[t]=e[t]||r)}),n}function m(t,e){this._currentState=t||{},this._configured=!1,this._scheduleFunction=n,void 0!==e&&this.setConfig(e)}return n="undefined"!=typeof window&&(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||window.mozCancelRequestAnimationFrame&&window.mozRequestAnimationFrame)||setTimeout,m.prototype.tween=function(t){return this._isTweening?this:(t===undefined&&this._configured||this.setConfig(t),this._timestamp=d(),this._start(this.get(),this._attachment),this.resume())},m.prototype.setConfig=function(t){t=t||{},this._configured=!0,this._attachment=t.attachment,this._pausedAtTime=null,this._scheduleId=null,this._delay=t.delay||0,this._start=t.start||o,this._step=t.step||o,this._finish=t.finish||o,this._duration=t.duration||500,this._currentState=a({},t.from||this.get()),this._originalState=this.get(),this._targetState=a({},t.to||this.get());var e=this,n=(this._timeoutHandler=function(){h(e,e._timestamp,e._delay,e._duration,e._currentState,e._originalState,e._targetState,e._easing,e._step,e._scheduleFunction)},this._currentState),i=this._targetState;return u(i,n),this._easing=y(n,t.easing||r),this._filterArgs=[n,this._originalState,i,this._easing],w(this,"tweenCreated"),this},m.prototype.get=function(){return a({},this._currentState)},m.prototype.set=function(t){this._currentState=t},m.prototype.pause=function(){return this._pausedAtTime=d(),this._isPaused=!0,this},m.prototype.resume=function(){return this._isPaused&&(this._timestamp+=d()-this._pausedAtTime),this._isPaused=!1,this._isTweening=!0,this._timeoutHandler(),this},m.prototype.seek=function(t){t=Math.max(t,0);var e=d();return this._timestamp+t===0||(this._timestamp=e-t,this.isPlaying())||(this._isTweening=!0,this._isPaused=!1,h(this,this._timestamp,this._delay,this._duration,this._currentState,this._originalState,this._targetState,this._easing,this._step,this._scheduleFunction,e),this.pause()),this},m.prototype.stop=function(t){return this._isTweening=!1,this._isPaused=!1,this._timeoutHandler=o,(v.cancelAnimationFrame||v.webkitCancelAnimationFrame||v.oCancelAnimationFrame||v.msCancelAnimationFrame||v.mozCancelRequestAnimationFrame||v.clearTimeout)(this._scheduleId),t&&(w(this,"beforeTween"),_(1,this._currentState,this._originalState,this._targetState,1,0,this._easing),w(this,"afterTween"),w(this,"afterTweenEnd"),this._finish.call(this,this._currentState,this._attachment)),this},m.prototype.isPlaying=function(){return this._isTweening&&!this._isPaused},m.prototype.setScheduleFunction=function(t){this._scheduleFunction=t},m.prototype.dispose=function(){for(var t in this)this.hasOwnProperty(t)&&delete this[t]},m.prototype.filter={},p=m.prototype.formula={linear:function(t){return t}},a(m,{now:d,each:s,tweenProps:_,tweenProp:g,applyFilter:w,shallowCopy:a,defaults:u,composeEasingObject:y}),"function"==typeof SHIFTY_DEBUG_NOW&&(v.timeoutHandler=h),"object"==typeof k?b.exports=m:"undefined"==typeof v.Tweenable&&(v.Tweenable=m),m}();function d(t,e,n,i,r,o){var u=0,h=0,p=0,s=0,a=0,l=0;function c(t){return((u*t+h)*t+p)*t}function f(t){return 0<=t?t:0-t}return u=1-(p=3*e)-(h=3*(i-e)-p),s=1-(l=3*n)-(a=3*(r-n)-l),i=function(t,e){var n,i,r,o,s,a;for(r=t,a=0;a<8;a++){if(f(o=c(r)-t)<e)return r;if(f(s=function(t){return(3*u*t+2*h)*t+p}(r))<1e-6)break;r-=o/s}if(i=1,(r=t)<(n=0))return n;if(i<r)return i;for(;n<i;){if(f((o=c(r))-t)<e)return r;o<t?n=r:i=r,r=.5*(i-n)+n}return r}(i=t,1/(200*o)),((s*i+a)*i+l)*i}function _(n){h.each(n,function(t){var e=n[t];"string"==typeof e&&e.match(i)&&(n[t]=w(i,e,g))})}function g(t){t=function(t){3===(t=t.replace(/#/,"")).length&&(t=(t=t.split(""))[0]+t[0]+t[1]+t[1]+t[2]+t[2]);return e[0]=n(t.substr(0,2)),e[1]=n(t.substr(2,2)),e[2]=n(t.substr(4,2)),e}(t);return"rgb("+t[0]+","+t[1]+","+t[2]+")"}function n(t){return parseInt(t,16)}function w(t,e,n){var i=e.match(t),r=e.replace(t,l);if(i)for(var o,s=i.length,a=0;a<s;a++)o=i.shift(),r=r.replace(l,n(o));return r}function y(t){for(var e=t.match(o),n=e.length,i=t.match(p)[0],r=0;r<n;r++)i+=parseInt(e[r],10)+",";return i=i.slice(0,-1)+")"}function m(r){var o={};return h.each(r,function(t){var e,n,i=r[t];"string"==typeof i&&(e=O(i),o[t]={formatString:((n=(i=i).match(u))?1!==n.length&&!i.charAt(0).match(s)||n.unshift(""):n=["",""],n.join(l)),chunkNames:function(t,e){for(var n=[],i=t.length,r=0;r<i;r++)n.push("_"+e+"_"+r);return n}(e,t)})}),o}function S(r,o){h.each(o,function(t){for(var e=O(r[t]),n=e.length,i=0;i<n;i++)r[o[t].chunkNames[i]]=+e[i];delete r[t]})}function x(n,i){h.each(i,function(t){n[t];var e=function(t,e){c.length=0;for(var n=e.length,i=0;i<n;i++)c.push(t[e[i]]);return c}(function(t,e){for(var n,i={},r=e.length,o=0;o<r;o++)n=e[o],i[n]=t[n],delete t[n];return i}(n,i[t].chunkNames),i[t].chunkNames),e=function(t,e){for(var n=t,i=e.length,r=0;r<i;r++)n=n.replace(l,+e[r].toFixed(4));return n}(i[t].formatString,e);n[t]=w(r,e,y)})}function O(t){return t.match(o)}f.shallowCopy(f.prototype.formula,{easeInQuad:function(t){return Math.pow(t,2)},easeOutQuad:function(t){return-(Math.pow(t-1,2)-1)},easeInOutQuad:function(t){return(t/=.5)<1?.5*Math.pow(t,2):-.5*((t-=2)*t-2)},easeInCubic:function(t){return Math.pow(t,3)},easeOutCubic:function(t){return Math.pow(t-1,3)+1},easeInOutCubic:function(t){return(t/=.5)<1?.5*Math.pow(t,3):.5*(Math.pow(t-2,3)+2)},easeInQuart:function(t){return Math.pow(t,4)},easeOutQuart:function(t){return-(Math.pow(t-1,4)-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*Math.pow(t,4):-.5*((t-=2)*Math.pow(t,3)-2)},easeInQuint:function(t){return Math.pow(t,5)},easeOutQuint:function(t){return Math.pow(t-1,5)+1},easeInOutQuint:function(t){return(t/=.5)<1?.5*Math.pow(t,5):.5*(Math.pow(t-2,5)+2)},easeInSine:function(t){return 1-Math.cos(t*(Math.PI/2))},easeOutSine:function(t){return Math.sin(t*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInExpo:function(t){return 0===t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo: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))},easeInCirc:function(t){return-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-Math.pow(t-1,2))},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeOutBounce: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},easeInBack:function(t){return t*t*(2.70158*t-1.70158)},easeOutBack:function(t){return(t-=1)*t*(2.70158*t+1.70158)+1},easeInOutBack: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)},elastic:function(t){return-1*Math.pow(4,-8*t)*Math.sin(2*Math.PI*(6*t-1)/2)+1},swingFromTo: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)},swingFrom:function(t){return t*t*(2.70158*t-1.70158)},swingTo:function(t){return--t*t*(2.70158*t+1.70158)+1},bounce: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},bouncePast: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)},easeFromTo:function(t){return(t/=.5)<1?.5*Math.pow(t,4):-.5*((t-=2)*Math.pow(t,3)-2)},easeFrom:function(t){return Math.pow(t,4)},easeTo:function(t){return Math.pow(t,.25)}}),f.setBezierFunction=function(t,e,n,i,r){o=e,s=n,a=i,u=r;var o,s,a,u,h=function(t){return d(t,o,s,a,u,1)};return h.displayName=t,h.x1=e,h.y1=n,h.x2=i,h.y2=r,f.prototype.formula[t]=h},f.unsetBezierFunction=function(t){delete f.prototype.formula[t]},(a=new f)._filterArgs=[],f.interpolate=function(t,e,n,i,r){var o=f.shallowCopy({},t),r=r||0,i=f.composeEasingObject(t,i||"linear"),s=(a.set({}),a._filterArgs),s=(s.length=0,s[0]=o,s[1]=t,s[2]=e,s[3]=i,f.applyFilter(a,"tweenCreated"),f.applyFilter(a,"beforeTween"),f.tweenProps(n,o,t,e,1,r,i));return f.applyFilter(a,"afterTween"),s},h=f,s=/(\d|\-|\.)/,u=/([^\-0-9\.]+)/g,o=/[0-9.\-]+/g,r=new RegExp("rgb\\("+o.source+/,\s*/.source+o.source+/,\s*/.source+o.source+"\\)","g"),p=/^.*\(/,i=/#([0-9]|[a-f]){3,6}/gi,l="VAL",e=[],c=[],h.prototype.filter.token={tweenCreated:function(t,e,n,i){_(t),_(e),_(n),this._tokenData=m(t)},beforeTween:function(t,e,n,i){var a,u;a=i,u=this._tokenData,h.each(u,function(t){var e=u[t].chunkNames,n=e.length,i=a[t];if("string"==typeof i)for(var r=i.split(" "),o=r[r.length-1],s=0;s<n;s++)a[e[s]]=r[s]||o;else for(s=0;s<n;s++)a[e[s]]=i;delete a[t]}),S(t,this._tokenData),S(e,this._tokenData),S(n,this._tokenData)},afterTween:function(t,e,n,i){var s,a;x(t,this._tokenData),x(e,this._tokenData),x(n,this._tokenData),s=i,a=this._tokenData,h.each(a,function(t){var e=a[t].chunkNames,n=e.length,i=s[e[0]];if("string"==typeof i){for(var r="",o=0;o<n;o++)r+=" "+s[e[o]],delete s[e[o]];s[t]=r.substr(1)}else s[t]=i})}}}.call(null)},{}],2:[function(t,e,n){var i,r=t("./shape"),o=t("./utils");(i=function i(t,e){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,r.apply(this,arguments)}).prototype=new r,(i.prototype.constructor=i).prototype._pathString=function(t){var e=t.strokeWidth,t=50-(e=t.trailWidth&&t.trailWidth>t.strokeWidth?t.trailWidth:e)/2;return o.render(this._pathTemplate,{radius:t,"2radius":2*t})},i.prototype._trailString=function(t){return this._pathString(t)},e.exports=i},{"./shape":7,"./utils":9}],3:[function(t,e,n){var i,r=t("./shape"),o=t("./utils");(i=function i(t,e){this._pathTemplate="M 0,{center} L 100,{center}",r.apply(this,arguments)}).prototype=new r,(i.prototype.constructor=i).prototype._initializeSvg=function(t,e){t.setAttribute("viewBox","0 0 100 "+e.strokeWidth),t.setAttribute("preserveAspectRatio","none")},i.prototype._pathString=function(t){return o.render(this._pathTemplate,{center:t.strokeWidth/2})},i.prototype._trailString=function(t){return this._pathString(t)},e.exports=i},{"./shape":7,"./utils":9}],4:[function(t,e,n){e.exports={Line:t("./line"),Circle:t("./circle"),SemiCircle:t("./semicircle"),Square:t("./square"),Path:t("./path"),Shape:t("./shape"),utils:t("./utils")}},{"./circle":2,"./line":3,"./path":5,"./semicircle":6,"./shape":7,"./square":8,"./utils":9}],5:[function(t,e,n){var i,a=t("shifty"),u=t("./utils"),r={easeIn:"easeInCubic",easeOut:"easeOutCubic",easeInOut:"easeInOutCubic"};(i=function i(t,e){if(!(this instanceof i))throw new Error("Constructor was called without new keyword");e=u.extend({duration:800,easing:"linear",from:{},to:{},step:function(){}},e),t=u.isString(t)?document.querySelector(t):t,this.path=t,this._opts=e,this._tweenable=null;t=this.path.getTotalLength();this.path.style.strokeDasharray=t+" "+t,this.set(0)}).prototype.value=function(){var t=this._getComputedDashOffset(),e=this.path.getTotalLength();return parseFloat((1-t/e).toFixed(6),10)},i.prototype.set=function(t){this.stop(),this.path.style.strokeDashoffset=this._progressToOffset(t);var e,n=this._opts.step;u.isFunction(n)&&(e=this._easing(this._opts.easing),n(this._calculateTo(t,e),this._opts.shape||this,this._opts.attachment))},i.prototype.stop=function(){this._stopTween(),this.path.style.strokeDashoffset=this._getComputedDashOffset()},i.prototype.animate=function(t,n,e){n=n||{},u.isFunction(n)&&(e=n,n={});var i=u.extend({},n),r=u.extend({},this._opts),r=(n=u.extend(r,n),this._easing(n.easing)),i=this._resolveFromAndTo(t,r,i),o=(this.stop(),this.path.getBoundingClientRect(),this._getComputedDashOffset()),t=this._progressToOffset(t),s=this;this._tweenable=new a,this._tweenable.tween({from:u.extend({offset:o},i.from),to:u.extend({offset:t},i.to),duration:n.duration,easing:r,step:function(t){s.path.style.strokeDashoffset=t.offset;var e=n.shape||s;n.step(t,e,n.attachment)},finish:function(t){u.isFunction(e)&&e()}})},i.prototype._getComputedDashOffset=function(){var t=window.getComputedStyle(this.path,null);return parseFloat(t.getPropertyValue("stroke-dashoffset"),10)},i.prototype._progressToOffset=function(t){var e=this.path.getTotalLength();return e-t*e},i.prototype._resolveFromAndTo=function(t,e,n){return n.from&&n.to?{from:n.from,to:n.to}:{from:this._calculateFrom(e),to:this._calculateTo(t,e)}},i.prototype._calculateFrom=function(t){return a.interpolate(this._opts.from,this._opts.to,this.value(),t)},i.prototype._calculateTo=function(t,e){return a.interpolate(this._opts.from,this._opts.to,t,e)},i.prototype._stopTween=function(){null!==this._tweenable&&(this._tweenable.stop(),this._tweenable=null)},i.prototype._easing=function(t){return r.hasOwnProperty(t)?r[t]:t},e.exports=i},{"./utils":9,shifty:1}],6:[function(t,e,n){var i,r=t("./shape"),o=t("./circle"),s=t("./utils");(i=function i(t,e){this._pathTemplate="M 50,50 m -{radius},0 a {radius},{radius} 0 1 1 {2radius},0",this.containerAspectRatio=2,r.apply(this,arguments)}).prototype=new r,(i.prototype.constructor=i).prototype._initializeSvg=function(t,e){t.setAttribute("viewBox","0 0 100 50")},i.prototype._initializeTextContainer=function(t,e,n){t.text.style&&(n.style.top="auto",n.style.bottom="0",t.text.alignToBottom?s.setStyle(n,"transform","translate(-50%, 0)"):s.setStyle(n,"transform","translate(-50%, 50%)"))},i.prototype._pathString=o.prototype._pathString,i.prototype._trailString=o.prototype._trailString,e.exports=i},{"./circle":2,"./shape":7,"./utils":9}],7:[function(t,e,n){var r,o=t("./path"),s=t("./utils"),i="Object is destroyed";(r=function r(t,e){if(!(this instanceof r))throw new Error("Constructor was called without new keyword");if(0!==arguments.length){this._opts=s.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:!0,value:"translate(-50%, -50%)"}},autoStyleContainer:!0,alignToBottom:!0,value:null,className:"progressbar-text"},svgStyle:{display:"block",width:"100%"},warnings:!1},e,!0),s.isObject(e)&&e.svgStyle!==undefined&&(this._opts.svgStyle=e.svgStyle),s.isObject(e)&&s.isObject(e.text)&&e.text.style!==undefined&&(this._opts.text.style=e.text.style);var n=this._createSvgView(this._opts),i=s.isString(t)?document.querySelector(t):t;if(!i)throw new Error("Container does not exist: "+t);this._container=i,this._container.appendChild(n.svg),this._opts.warnings&&this._warnContainerAspectRatio(this._container),this._opts.svgStyle&&s.setStyles(n.svg,this._opts.svgStyle),this.svg=n.svg,this.path=n.path,this.trail=n.trail,this.text=null;i=s.extend({attachment:undefined,shape:this},this._opts);this._progressPath=new o(n.path,i),s.isObject(this._opts.text)&&null!==this._opts.text.value&&this.setText(this._opts.text.value)}}).prototype.animate=function(t,e,n){if(null===this._progressPath)throw new Error(i);this._progressPath.animate(t,e,n)},r.prototype.stop=function(){if(null===this._progressPath)throw new Error(i);this._progressPath!==undefined&&this._progressPath.stop()},r.prototype.destroy=function(){if(null===this._progressPath)throw new Error(i);this.stop(),this.svg.parentNode.removeChild(this.svg),this.svg=null,this.path=null,this.trail=null,(this._progressPath=null)!==this.text&&(this.text.parentNode.removeChild(this.text),this.text=null)},r.prototype.set=function(t){if(null===this._progressPath)throw new Error(i);this._progressPath.set(t)},r.prototype.value=function(){if(null===this._progressPath)throw new Error(i);return this._progressPath===undefined?0:this._progressPath.value()},r.prototype.setText=function(t){if(null===this._progressPath)throw new Error(i);null===this.text&&(this.text=this._createTextContainer(this._opts,this._container),this._container.appendChild(this.text)),s.isObject(t)?(s.removeChildren(this.text),this.text.appendChild(t)):this.text.innerHTML=t},r.prototype._createSvgView=function(t){var e=document.createElementNS("http://www.w3.org/2000/svg","svg"),n=(this._initializeSvg(e,t),null),t=((t.trailColor||t.trailWidth)&&(n=this._createTrail(t),e.appendChild(n)),this._createPath(t));return e.appendChild(t),{svg:e,path:t,trail:n}},r.prototype._initializeSvg=function(t,e){t.setAttribute("viewBox","0 0 100 100")},r.prototype._createPath=function(t){var e=this._pathString(t);return this._createPathElement(e,t)},r.prototype._createTrail=function(t){var e=this._trailString(t),t=s.extend({},t);return t.trailColor||(t.trailColor="#eee"),t.trailWidth||(t.trailWidth=t.strokeWidth),t.color=t.trailColor,t.strokeWidth=t.trailWidth,t.fill=null,this._createPathElement(e,t)},r.prototype._createPathElement=function(t,e){var n=document.createElementNS("http://www.w3.org/2000/svg","path");return n.setAttribute("d",t),n.setAttribute("stroke",e.color),n.setAttribute("stroke-width",e.strokeWidth),e.fill?n.setAttribute("fill",e.fill):n.setAttribute("fill-opacity","0"),n},r.prototype._createTextContainer=function(t,e){var n=document.createElement("div"),i=(n.className=t.text.className,t.text.style);return i&&(t.text.autoStyleContainer&&(e.style.position="relative"),s.setStyles(n,i),i.color||(n.style.color=t.color)),this._initializeTextContainer(t,e,n),n},r.prototype._initializeTextContainer=function(t,e,n){},r.prototype._pathString=function(t){throw new Error("Override this function for each progress bar")},r.prototype._trailString=function(t){throw new Error("Override this function for each progress bar")},r.prototype._warnContainerAspectRatio=function(t){var e,n,i;this.containerAspectRatio&&(e=window.getComputedStyle(t,null),n=parseFloat(e.getPropertyValue("width"),10),i=parseFloat(e.getPropertyValue("height"),10),s.floatEquals(this.containerAspectRatio,n/i)||(console.warn("Incorrect aspect ratio of container","#"+t.id,"detected:",e.getPropertyValue("width")+"(width)","/",e.getPropertyValue("height")+"(height)","=",n/i),console.warn("Aspect ratio of should be",this.containerAspectRatio)))},e.exports=r},{"./path":5,"./utils":9}],8:[function(t,e,n){var i,r=t("./shape"),o=t("./utils");(i=function i(t,e){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}",r.apply(this,arguments)}).prototype=new r,(i.prototype.constructor=i).prototype._pathString=function(t){var e=100-t.strokeWidth/2;return o.render(this._pathTemplate,{width:e,strokeWidth:t.strokeWidth,halfOfStrokeWidth:t.strokeWidth/2})},i.prototype._trailString=function(t){var e=100-t.strokeWidth/2;return o.render(this._trailTemplate,{width:e,strokeWidth:t.strokeWidth,halfOfStrokeWidth:t.strokeWidth/2,startMargin:t.strokeWidth/2-t.trailWidth/2})},e.exports=i},{"./shape":7,"./utils":9}],9:[function(t,e,n){var o="Webkit Moz O ms".split(" ");function i(t,e,n){for(var i=t.style,r=0;r<o.length;++r)i[o[r]+s(e)]=n;i[e]=n}function s(t){return t.charAt(0).toUpperCase()+t.slice(1)}function a(t){return"[object Array]"!==Object.prototype.toString.call(t)&&"object"==typeof t&&!!t}function r(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}e.exports={extend:function u(t,e,n){for(var i in t=t||{},n=n||!1,e=e||{}){var r,o;e.hasOwnProperty(i)&&(r=t[i],o=e[i],n&&a(r)&&a(o)?t[i]=u(r,o,n):t[i]=o)}return t},render:function(t,e){var n,i,r,o=t;for(n in e)e.hasOwnProperty(n)&&(i=e[n],r=new RegExp("\\{"+n+"\\}","g"),o=o.replace(r,i));return o},setStyle:i,setStyles:function(n,t){r(t,function(t,e){null!==t&&t!==undefined&&(a(t)&&!0===t.prefix?i(n,e,t.value):n.style[e]=t)})},capitalize:s,isString:function(t){return"string"==typeof t||t instanceof String},isFunction:function(t){return"function"==typeof t},isObject:a,forEachObject:r,floatEquals:function(t,e){return Math.abs(t-e)<.001},removeChildren:function(t){for(;t.firstChild;)t.removeChild(t.firstChild)}}},{}]},{},[4])(4)});
Copyright ©2021 || Defacer Indonesia