!function(e){var t,n;n=this,t=function(e){function t(){return"undefined"!=typeof window}function n(){return i||t()&&(i=window.gsap)&&i.registerPlugin&&i}function p(e){return Math.round(1e4*e)/1e4}function h(e){return parseFloat(e)||0}function u(e,t){var n=h(e);return~e.indexOf("%")?n/100*t:n}function d(e,t){return h(e.getAttribute(t))}function c(e,t,n,r,i,o){return M(Math.pow((h(n)-h(e))*i,2)+Math.pow((h(r)-h(t))*o,2))}function m(e){console.warn(e)}function v(e){return"non-scaling-stroke"===e.getAttribute("vector-effect")}function f(e){if(!(e=w(e)[0]))return 0;var t,n,r,i,o=e.tagName.toLowerCase(),s=e.style,a=1,l=1;v(e)&&(a=M((l=e.getScreenCTM()).a*l.a+l.b*l.b),l=M(l.d*l.d+l.c*l.c));try{i=e.getBBox()}catch(e){m("Some browsers won't measure invisible elements (like display:none or masks inside defs).")}var h=i||{x:0,y:0,width:0,height:0},u=h.x,f=h.y,g=h.width,h=h.height;if(i&&(g||h)||!_[o]||(g=d(e,_[o][0]),h=d(e,_[o][1]),"rect"!==o&&"line"!==o&&(g*=2,h*=2),"line"===o&&(u=d(e,"x1"),f=d(e,"y1"),g=Math.abs(g-u),h=Math.abs(h-f))),"path"===o)i=s.strokeDasharray,s.strokeDasharray="none",t=e.getTotalLength()||0,p(a)===p(l)||C||(C=1,m("Warning: length cannot be measured when vector-effect is non-scaling-stroke and the element isn't proportionally scaled.")),t*=(a+l)/2,s.strokeDasharray=i;else if("rect"===o)t=2*g*a+2*h*l;else if("line"===o)t=c(u,f,u+g,f+h,a,l);else if("polyline"===o||"polygon"===o)for(n=e.getAttribute("points").match(L)||[],"polygon"===o&&n.push(n[0],n[1]),t=0,r=2;rt._length-.2&&(i+=i<0?.1:-.1)&&(n+=.1),s.strokeDashoffset=r?i:i+.001,s.strokeDasharray=n<.2?"none":r?r+"px,"+(t._nowrap?999999:n)+"px":"0px, 999999px"}},getLength:f,getPosition:g};n()&&i.registerPlugin(o),e.PaSvgDrawer=o,e.default=o,"undefined"==typeof window||window!==e?Object.defineProperty(e,"__esModule",{value:!0}):delete e.default},"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((n=n||self).window=n.window||{}),t=this,n=function(s){function a(e){return"string"==typeof e}function q(e){return"number"==typeof e}var F=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,Y=/(?:(-)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,j=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/gi,V=/(^[#\.][a-z]|[a-y][a-z])/i,z=Math.PI/180,H=180/Math.PI,B=Math.sin,R=Math.cos,E=Math.abs,D=Math.sqrt,X=Math.atan2,k=1e8,G=function(e){return void 0===e},Z={},Q={},t=1e5,U=function(e){return Math.round((e+k)%1*t)/t||(e<0?0:1)},b=function(e){return Math.round(e*t)/t||0},W=function(e){return Math.round(1e10*e)/1e10||0},$=function(e,t,n,r){var i=e[t],r=1===r?6:P(i,n,r);if(r&&r+n+2t;);i<0&&(i=0)}else for(;e[++i] element or an SVG path data string")}var ne={rect:"rx,ry,x,y,width,height",circle:"r,cx,cy",ellipse:"rx,ry,cx,cy",line:"x1,x2,y1,y2"};function re(e,t){var n,r,i,o,s,a,l,h,u,f,g,p,d,c,m,v,y,w=e.tagName.toLowerCase(),x=.552284749831;return"path"!==w&&e.getBBox?(s=((e,t)=>{var n,r=document.createElementNS("http://www.w3.org/2000/svg","path"),i=[].slice.call(e.attributes),o=i.length;for(t=","+t+",";-1<--o;)n=i[o].nodeName.toLowerCase(),t.indexOf(","+n+",")<0&&r.setAttributeNS(null,n,i[o].nodeValue);return r})(e,"x,y,width,height,cx,cy,rx,ry,r,x1,x2,y1,y2,points"),y=((e,t)=>{for(var n=t?t.split(","):[],r={},i=n.length;-1<--i;)r[n[i]]=+e.getAttribute(n[i])||0;return r})(e,ne[w]),"rect"===w?(i=y.rx,o=y.ry||i,n=y.x,r=y.y,a=y.width-2*i,l=y.height-2*o,m=i||o?"M"+(p=(f=(u=n+i)+a)+i)+","+(d=r+o)+" V"+(c=d+l)+" C"+[p,m=c+o*x,g=f+i*x,v=c+o,f,v,f-(f-u)/3,v,u+(f-u)/3,v,u,v,h=n+i*(1-x),v,n,m,n,c,n,c-(c-d)/3,n,d+(c-d)/3,n,d,n,v=r+o*(1-x),h,r,u,r,u+(f-u)/3,r,f-(f-u)/3,r,f,r,g,r,p,v,p,d].join(",")+"z":"M"+(n+a)+","+r+" v"+l+" h"+-a+" v"+-l+" h"+a+"z"):"circle"===w||"ellipse"===w?(c="circle"===w?(i=o=y.r)*x:(i=y.rx,(o=y.ry)*x),m="M"+((n=y.cx)+i)+","+(r=y.cy)+" C"+[n+i,r+c,n+(h=i*x),r+o,n,r+o,n-h,r+o,n-i,r+c,n-i,r,n-i,r-c,n-h,r-o,n,r-o,n+h,r-o,n+i,r-c,n+i,r].join(",")+"z"):"line"===w?m="M"+y.x1+","+y.y1+" L"+y.x2+","+y.y2:"polyline"!==w&&"polygon"!==w||(m="M"+(n=(u=(e.getAttribute("points")+"").match(Y)||[]).shift())+","+(r=u.shift())+" L"+u.join(","),"polygon"===w&&(m+=","+n+","+r+"z")),s.setAttribute("d",he(s._gsRawPath=C(m))),t&&e.parentNode&&(e.parentNode.insertBefore(s,e),e.parentNode.removeChild(e)),s):e}function ie(e,t,n){var r,i=e[t],o=e[t+2],s=e[t+4];return i+=(o-i)*n,r=(o+=(s-o)*n)+(s+(e[t+6]-s)*n-o)*n-(i+=(o-i)*n),i=e[t+1],i+=((o=e[t+3])-i)*n,b(X((o+=((s=e[t+5])-o)*n)+(s+(e[t+7]-s)*n-o)*n-(i+=(o-i)*n),r)*H)}function oe(e,t,n){n=G(n)?1:W(n)||0,t=W(t)||0;var r,i,o,s,a,l=Math.max(0,~~(E(n-t)-1e-8)),h=(e=>{for(var t=[],n=0;n{t=t||0,e.samples||(e.samples=[],e.lookup=[]);var r,i,o,s,a,l,h,u,f,g,p,d,c,m,v,y,w=~~e.resolution||12,x=1/w,b=n?t+6*n+1:e.length,P=e[t],C=e[t+1],L=t?t/6*w:0,_=e.samples,M=e.lookup,T=(t?e.minLength:k)||k,N=_[L+n*w-1],S=t?_[L-1]:0;for(_.length=M.length=0,i=t+2;i{if(e!==a||t!==l){n=E(n),r=E(r);for(var h=i%360*z,u=R(h),h=B(h),f=Math.PI,g=2*f,p=(e-a)/2,d=(t-l)/2,c=u*p+h*d,m=-h*p+u*d,p=c*c,d=m*m,v=p/(n*n)+d/(r*r),v=(1