lyb-pixi-js 1.0.20 → 1.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -133,12 +133,7 @@ this.addChild(fontText2);
|
|
|
133
133
|
> 自定义容器大小及背景色
|
|
134
134
|
|
|
135
135
|
```ts
|
|
136
|
-
const box = new LibPixiJs.Base.LibPixiContainer(
|
|
137
|
-
width: 100,
|
|
138
|
-
height: 100,
|
|
139
|
-
bgColor: "#fff",
|
|
140
|
-
overHidden: true,
|
|
141
|
-
});
|
|
136
|
+
const box = new LibPixiJs.Base.LibPixiContainer(100, 100, "#fff", true);
|
|
142
137
|
this.addChild(box);
|
|
143
138
|
```
|
|
144
139
|
|
|
@@ -1,14 +1,4 @@
|
|
|
1
1
|
import { Container } from "pixi.js";
|
|
2
|
-
interface LibPixiContainerParams {
|
|
3
|
-
/** 宽度 */
|
|
4
|
-
width: number;
|
|
5
|
-
/** 高度 */
|
|
6
|
-
height: number;
|
|
7
|
-
/** 溢出裁剪 */
|
|
8
|
-
overHidden?: boolean;
|
|
9
|
-
/** 背景色 */
|
|
10
|
-
bgColor?: string;
|
|
11
|
-
}
|
|
12
2
|
/** @description 自定义容器大小及背景色
|
|
13
3
|
* @link 使用方法:https://www.npmjs.com/package/lyb-pixi-js#LibPixiContainer-容器
|
|
14
4
|
*/
|
|
@@ -21,9 +11,12 @@ export declare class LibPixiContainer extends Container {
|
|
|
21
11
|
* @param width 容器宽度
|
|
22
12
|
* @param height 容器高度
|
|
23
13
|
* @param bgColor 背景色
|
|
14
|
+
* @param overHidden 是否溢出裁剪
|
|
15
|
+
*/
|
|
16
|
+
constructor(width: number, height: number, bgColor?: string, overHidden?: boolean);
|
|
17
|
+
/** @description 设置容器大小
|
|
18
|
+
* @param width 容器宽度
|
|
19
|
+
* @param height 容器高度
|
|
24
20
|
*/
|
|
25
|
-
constructor(params: LibPixiContainerParams);
|
|
26
|
-
/** @description 设置容器大小 */
|
|
27
21
|
setSize(width: number, height: number): void;
|
|
28
22
|
}
|
|
29
|
-
export {};
|
|
@@ -8,13 +8,13 @@ export class LibPixiContainer extends Container {
|
|
|
8
8
|
* @param width 容器宽度
|
|
9
9
|
* @param height 容器高度
|
|
10
10
|
* @param bgColor 背景色
|
|
11
|
+
* @param overHidden 是否溢出裁剪
|
|
11
12
|
*/
|
|
12
|
-
constructor(
|
|
13
|
+
constructor(width, height, bgColor, overHidden) {
|
|
13
14
|
super();
|
|
14
|
-
const { width, height, overHidden, bgColor } = params;
|
|
15
15
|
if (overHidden) {
|
|
16
16
|
const mask = new Graphics();
|
|
17
|
-
mask.beginFill(0xffffff);
|
|
17
|
+
mask.beginFill(0xffffff);
|
|
18
18
|
mask.drawRect(0, 0, width, height);
|
|
19
19
|
mask.endFill();
|
|
20
20
|
this.addChild(mask);
|
|
@@ -35,7 +35,10 @@ export class LibPixiContainer extends Container {
|
|
|
35
35
|
this.addChild(this._fill);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
-
/** @description 设置容器大小
|
|
38
|
+
/** @description 设置容器大小
|
|
39
|
+
* @param width 容器宽度
|
|
40
|
+
* @param height 容器高度
|
|
41
|
+
*/
|
|
39
42
|
setSize(width, height) {
|
|
40
43
|
if (this._fill) {
|
|
41
44
|
this._fill.width = width;
|
|
@@ -10,6 +10,14 @@ export interface LibPixiRectBgColorParams {
|
|
|
10
10
|
x?: number;
|
|
11
11
|
/** y轴偏移 */
|
|
12
12
|
y?: number;
|
|
13
|
+
/** 透明度 */
|
|
14
|
+
alpha?: number;
|
|
15
|
+
/** 圆角半径 */
|
|
16
|
+
radius?: number | number[];
|
|
17
|
+
/** 边框宽度 */
|
|
18
|
+
borderWidth?: number;
|
|
19
|
+
/** 边框颜色 */
|
|
20
|
+
borderColor?: string;
|
|
13
21
|
/** 是否启用变色功能 */
|
|
14
22
|
enableTint?: boolean;
|
|
15
23
|
}
|
|
@@ -17,10 +25,18 @@ export interface LibPixiRectBgColorParams {
|
|
|
17
25
|
* @link 使用方法:https://www.npmjs.com/package/lyb-pixi-js#LibPixiRectBgColor-矩形
|
|
18
26
|
*/
|
|
19
27
|
export declare class LibPixiRectBgColor extends Graphics {
|
|
28
|
+
/** 圆边大小 */
|
|
29
|
+
private radius;
|
|
20
30
|
/** 启用着色 */
|
|
21
31
|
private enableTint;
|
|
22
32
|
/** 背景颜色 */
|
|
23
33
|
private bgColor;
|
|
34
|
+
/** 边框宽度 */
|
|
35
|
+
private borderWidth;
|
|
36
|
+
/** 边框颜色 */
|
|
37
|
+
private borderColor;
|
|
38
|
+
/** 背景色 */
|
|
39
|
+
private bgAlpha;
|
|
24
40
|
constructor(options: LibPixiRectBgColorParams);
|
|
25
41
|
/** @description 重新绘制并添加颜色 */
|
|
26
42
|
updateColor(tint: string): void;
|
|
@@ -6,15 +6,27 @@ import gsap from "gsap";
|
|
|
6
6
|
export class LibPixiRectBgColor extends Graphics {
|
|
7
7
|
constructor(options) {
|
|
8
8
|
super();
|
|
9
|
+
/** 圆边大小 */
|
|
10
|
+
this.radius = 0;
|
|
9
11
|
/** 启用着色 */
|
|
10
12
|
this.enableTint = true;
|
|
11
13
|
/** 背景颜色 */
|
|
12
14
|
this.bgColor = "#fff";
|
|
13
|
-
|
|
15
|
+
/** 边框宽度 */
|
|
16
|
+
this.borderWidth = 0;
|
|
17
|
+
/** 边框颜色 */
|
|
18
|
+
this.borderColor = "black";
|
|
19
|
+
/** 背景色 */
|
|
20
|
+
this.bgAlpha = 1;
|
|
21
|
+
const { x = 0, y = 0, width = 0, height = 0, bgColor = "#fff", alpha = 1, radius = 0, borderWidth = 0, borderColor = "black", enableTint = true, } = options;
|
|
14
22
|
this.x = x;
|
|
15
23
|
this.y = y;
|
|
24
|
+
this.bgAlpha = alpha;
|
|
25
|
+
this.radius = radius;
|
|
16
26
|
this.enableTint = enableTint;
|
|
17
27
|
this.bgColor = bgColor;
|
|
28
|
+
this.borderWidth = borderWidth;
|
|
29
|
+
this.borderColor = borderColor;
|
|
18
30
|
this.renderBg(width, height);
|
|
19
31
|
}
|
|
20
32
|
/** @description 重新绘制并添加颜色 */
|
|
@@ -25,13 +37,62 @@ export class LibPixiRectBgColor extends Graphics {
|
|
|
25
37
|
renderBg(width, height) {
|
|
26
38
|
this.clear();
|
|
27
39
|
if (this.enableTint) {
|
|
28
|
-
this.beginFill("#fff");
|
|
40
|
+
this.beginFill("#fff", this.bgAlpha);
|
|
29
41
|
this.tint = this.bgColor;
|
|
30
42
|
}
|
|
31
43
|
else {
|
|
32
|
-
this.beginFill(this.bgColor);
|
|
44
|
+
this.beginFill(this.bgColor, this.bgAlpha);
|
|
45
|
+
this.borderWidth && this.lineStyle(this.borderWidth, this.borderColor, 1);
|
|
46
|
+
}
|
|
47
|
+
this.borderWidth && this.lineStyle(this.borderWidth, this.borderColor, 1);
|
|
48
|
+
if (this.radius !== 0) {
|
|
49
|
+
if (typeof this.radius === "number") {
|
|
50
|
+
this.drawRoundedRect(0, 0, width, height, this.radius);
|
|
51
|
+
}
|
|
52
|
+
else {
|
|
53
|
+
// 绘制顶部边
|
|
54
|
+
this.moveTo(0 + this.radius[0], 0);
|
|
55
|
+
this.lineTo(0 + width - this.radius[1], 0);
|
|
56
|
+
// 绘制右上角的圆角
|
|
57
|
+
if (this.radius[1] > 0) {
|
|
58
|
+
this.arcTo(0 + width, 0, 0 + width, 0 + this.radius[1], this.radius[1]);
|
|
59
|
+
}
|
|
60
|
+
else {
|
|
61
|
+
this.lineTo(0 + width, 0);
|
|
62
|
+
}
|
|
63
|
+
// 绘制右侧边
|
|
64
|
+
this.lineTo(0 + width, 0 + height - this.radius[2]);
|
|
65
|
+
// 绘制右下角的圆角
|
|
66
|
+
if (this.radius[2] > 0) {
|
|
67
|
+
this.arcTo(0 + width, 0 + height, 0 + width - this.radius[2], 0 + height, this.radius[2]);
|
|
68
|
+
}
|
|
69
|
+
else {
|
|
70
|
+
this.lineTo(0 + width, 0 + height);
|
|
71
|
+
}
|
|
72
|
+
// 绘制底部边
|
|
73
|
+
this.lineTo(0 + this.radius[3], 0 + height);
|
|
74
|
+
// 绘制左下角的圆角
|
|
75
|
+
if (this.radius[3] > 0) {
|
|
76
|
+
this.arcTo(0, 0 + height, 0, 0 + height - this.radius[3], this.radius[3]);
|
|
77
|
+
}
|
|
78
|
+
else {
|
|
79
|
+
this.lineTo(0, 0 + height);
|
|
80
|
+
}
|
|
81
|
+
// 绘制左侧边
|
|
82
|
+
this.lineTo(0, 0 + this.radius[0]);
|
|
83
|
+
// 绘制左上角的圆角
|
|
84
|
+
if (this.radius[0] > 0) {
|
|
85
|
+
this.arcTo(0, 0, 0 + this.radius[0], 0, this.radius[0]);
|
|
86
|
+
}
|
|
87
|
+
else {
|
|
88
|
+
this.lineTo(0, 0);
|
|
89
|
+
}
|
|
90
|
+
this.closePath();
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
this.drawRect(0, 0, width, height);
|
|
33
95
|
}
|
|
34
|
-
this.drawRect(0, 0, width, height);
|
|
35
96
|
this.endFill();
|
|
36
97
|
}
|
|
37
98
|
}
|
package/package.json
CHANGED
package/umd/lyb-pixi.js
CHANGED
|
@@ -1160,7 +1160,7 @@ void main(void)\r
|
|
|
1160
1160
|
* Subject to the terms at https://gsap.com/standard-license or for
|
|
1161
1161
|
* Club GSAP members, the agreement issued with that membership.
|
|
1162
1162
|
* @author: Jack Doyle, jack@greensock.com
|
|
1163
|
-
*/var cm,tr,ms,Hl,Rr,um,Xl,WT=function(){return typeof window<"u"},Mi={},Ir=180/Math.PI,gs=Math.PI/180,_s=Math.atan2,dm=1e8,Wl=/([A-Z])/g,$T=/(left|right|width|margin|padding|x)/i,zT=/[\s,\(]\S/,li={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},$l=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},YT=function(t,e){return e.set(e.t,e.p,t===1?e.e:Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},jT=function(t,e){return e.set(e.t,e.p,t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},qT=function(t,e){var i=e.s+e.c*t;e.set(e.t,e.p,~~(i+(i<0?-.5:.5))+e.u,e)},fm=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},pm=function(t,e){return e.set(e.t,e.p,t!==1?e.b:e.e,e)},KT=function(t,e,i){return t.style[e]=i},ZT=function(t,e,i){return t.style.setProperty(e,i)},QT=function(t,e,i){return t._gsap[e]=i},JT=function(t,e,i){return t._gsap.scaleX=t._gsap.scaleY=i},tE=function(t,e,i,s,n){var a=t._gsap;a.scaleX=a.scaleY=i,a.renderTransform(n,a)},eE=function(t,e,i,s,n){var a=t._gsap;a[e]=i,a.renderTransform(n,a)},At="transform",de=At+"Origin",iE=function r(t,e){var i=this,s=this.target,n=s.style,a=s._gsap;if(t in Mi&&n){if(this.tfm=this.tfm||{},t!=="transform")t=li[t]||t,~t.indexOf(",")?t.split(",").forEach(function(o){return i.tfm[o]=Di(s,o)}):this.tfm[t]=a.x?a[t]:Di(s,t),t===de&&(this.tfm.zOrigin=a.zOrigin);else return li.transform.split(",").forEach(function(o){return r.call(i,o,e)});if(this.props.indexOf(At)>=0)return;a.svg&&(this.svgo=s.getAttribute("data-svg-origin"),this.props.push(de,e,"")),t=At}(n||e)&&this.props.push(t,e,n[t])},mm=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},rE=function(){var t=this.props,e=this.target,i=e.style,s=e._gsap,n,a;for(n=0;n<t.length;n+=3)t[n+1]?e[t[n]]=t[n+2]:t[n+2]?i[t[n]]=t[n+2]:i.removeProperty(t[n].substr(0,2)==="--"?t[n]:t[n].replace(Wl,"-$1").toLowerCase());if(this.tfm){for(a in this.tfm)s[a]=this.tfm[a];s.svg&&(s.renderTransform(),e.setAttribute("data-svg-origin",this.svgo||"")),n=Xl(),(!n||!n.isStart)&&!i[At]&&(mm(i),s.zOrigin&&i[de]&&(i[de]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},gm=function(t,e){var i={target:t,props:[],revert:rE,save:iE};return t._gsap||ue.core.getCache(t),e&&e.split(",").forEach(function(s){return i.save(s)}),i},_m,zl=function(t,e){var i=tr.createElementNS?tr.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):tr.createElement(t);return i&&i.style?i:tr.createElement(t)},ci=function r(t,e,i){var s=getComputedStyle(t);return s[e]||s.getPropertyValue(e.replace(Wl,"-$1").toLowerCase())||s.getPropertyValue(e)||!i&&r(t,ys(e)||e,1)||""},ym="O,Moz,ms,Ms,Webkit".split(","),ys=function(t,e,i){var s=e||Rr,n=s.style,a=5;if(t in n&&!i)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);a--&&!(ym[a]+t in n););return a<0?null:(a===3?"ms":a>=0?ym[a]:"")+t},Yl=function(){WT()&&window.document&&(cm=window,tr=cm.document,ms=tr.documentElement,Rr=zl("div")||{style:{}},zl("div"),At=ys(At),de=At+"Origin",Rr.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",_m=!!ys("perspective"),Xl=ue.core.reverting,Hl=1)},jl=function r(t){var e=zl("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,s=this.nextSibling,n=this.style.cssText,a;if(ms.appendChild(e),e.appendChild(this),this.style.display="block",t)try{a=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=r}catch{}else this._gsapBBox&&(a=this._gsapBBox());return i&&(s?i.insertBefore(this,s):i.appendChild(this)),ms.removeChild(e),this.style.cssText=n,a},xm=function(t,e){for(var i=e.length;i--;)if(t.hasAttribute(e[i]))return t.getAttribute(e[i])},vm=function(t){var e;try{e=t.getBBox()}catch{e=jl.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===jl||(e=jl.call(t,!0)),e&&!e.width&&!e.x&&!e.y?{x:+xm(t,["x","cx","x1"])||0,y:+xm(t,["y","cy","y1"])||0,width:0,height:0}:e},bm=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&vm(t))},Mr=function(t,e){if(e){var i=t.style,s;e in Mi&&e!==de&&(e=At),i.removeProperty?(s=e.substr(0,2),(s==="ms"||e.substr(0,6)==="webkit")&&(e="-"+e),i.removeProperty(s==="--"?e:e.replace(Wl,"-$1").toLowerCase())):i.removeAttribute(e)}},er=function(t,e,i,s,n,a){var o=new ce(t._pt,e,i,0,1,a?pm:fm);return t._pt=o,o.b=s,o.e=n,t._props.push(i),o},Tm={deg:1,rad:1,turn:1},sE={grid:1,flex:1},ir=function r(t,e,i,s){var n=parseFloat(i)||0,a=(i+"").trim().substr((n+"").length)||"px",o=Rr.style,h=$T.test(e),l=t.tagName.toLowerCase()==="svg",c=(l?"client":"offset")+(h?"Width":"Height"),d=100,u=s==="px",f=s==="%",p,m,g,y;if(s===a||!n||Tm[s]||Tm[a])return n;if(a!=="px"&&!u&&(n=r(t,e,i,"px")),y=t.getCTM&&bm(t),(f||a==="%")&&(Mi[e]||~e.indexOf("adius")))return p=y?t.getBBox()[h?"width":"height"]:t[c],Ft(f?n/p*d:n/100*p);if(o[h?"width":"height"]=d+(u?a:s),m=~e.indexOf("adius")||s==="em"&&t.appendChild&&!l?t:t.parentNode,y&&(m=(t.ownerSVGElement||{}).parentNode),(!m||m===tr||!m.appendChild)&&(m=tr.body),g=m._gsap,g&&f&&g.width&&h&&g.time===xe.time&&!g.uncache)return Ft(n/g.width*d);if(f&&(e==="height"||e==="width")){var v=t.style[e];t.style[e]=d+s,p=t[c],v?t.style[e]=v:Mr(t,e)}else(f||a==="%")&&!sE[ci(m,"display")]&&(o.position=ci(t,"position")),m===t&&(o.position="static"),m.appendChild(Rr),p=Rr[c],m.removeChild(Rr),o.position="absolute";return h&&f&&(g=Er(m),g.time=xe.time,g.width=m[c]),Ft(u?p*n/d:p&&n?d/p*n:0)},Di=function(t,e,i,s){var n;return Hl||Yl(),e in li&&e!=="transform"&&(e=li[e],~e.indexOf(",")&&(e=e.split(",")[0])),Mi[e]&&e!=="transform"?(n=mn(t,s),n=e!=="transformOrigin"?n[e]:n.svg?n.origin:Za(ci(t,de))+" "+n.zOrigin+"px"):(n=t.style[e],(!n||n==="auto"||s||~(n+"").indexOf("calc("))&&(n=Ka[e]&&Ka[e](t,e,i)||ci(t,e)||Sp(t,e)||(e==="opacity"?1:0))),i&&!~(n+"").trim().indexOf(" ")?ir(t,e,n,i)+i:n},nE=function(t,e,i,s){if(!i||i==="none"){var n=ys(e,t,1),a=n&&ci(t,n,1);a&&a!==i?(e=n,i=a):e==="borderColor"&&(i=ci(t,"borderTopColor"))}var o=new ce(this._pt,t.style,e,0,1,am),h=0,l=0,c,d,u,f,p,m,g,y,v,_,x,b;if(o.b=i,o.e=s,i+="",s+="",s==="auto"&&(m=t.style[e],t.style[e]=s,s=ci(t,e)||s,m?t.style[e]=m:Mr(t,e)),c=[i,s],Kp(c),i=c[0],s=c[1],u=i.match(ls)||[],b=s.match(ls)||[],b.length){for(;d=ls.exec(s);)g=d[0],v=s.substring(h,d.index),p?p=(p+1)%5:(v.substr(-5)==="rgba("||v.substr(-5)==="hsla(")&&(p=1),g!==(m=u[l++]||"")&&(f=parseFloat(m)||0,x=m.substr((f+"").length),g.charAt(1)==="="&&(g=cs(f,g)+x),y=parseFloat(g),_=g.substr((y+"").length),h=ls.lastIndex-_.length,_||(_=_||me.units[e]||x,h===s.length&&(s+=_,o.e+=_)),x!==_&&(f=ir(t,e,m,_)||0),o._pt={_next:o._pt,p:v||l===1?v:",",s:f,c:y-f,m:p&&p<4||e==="zIndex"?Math.round:0});o.c=h<s.length?s.substring(h,s.length):""}else o.r=e==="display"&&s==="none"?pm:fm;return xp.test(s)&&(o.e=0),this._pt=o,o},Em={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},aE=function(t){var e=t.split(" "),i=e[0],s=e[1]||"50%";return(i==="top"||i==="bottom"||s==="left"||s==="right")&&(t=i,i=s,s=t),e[0]=Em[i]||i,e[1]=Em[s]||s,e.join(" ")},oE=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var i=e.t,s=i.style,n=e.u,a=i._gsap,o,h,l;if(n==="all"||n===!0)s.cssText="",h=1;else for(n=n.split(","),l=n.length;--l>-1;)o=n[l],Mi[o]&&(h=1,o=o==="transformOrigin"?de:At),Mr(i,o);h&&(Mr(i,At),a&&(a.svg&&i.removeAttribute("transform"),mn(i,1),a.uncache=1,mm(s)))}},Ka={clearProps:function(t,e,i,s,n){if(n.data!=="isFromStart"){var a=t._pt=new ce(t._pt,e,i,0,0,oE);return a.u=s,a.pr=-10,a.tween=n,t._props.push(i),1}}},pn=[1,0,0,1,0,0],wm={},Am=function(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},Sm=function(t){var e=ci(t,At);return Am(e)?pn:e.substr(7).match(yp).map(Ft)},ql=function(t,e){var i=t._gsap||Er(t),s=t.style,n=Sm(t),a,o,h,l;return i.svg&&t.getAttribute("transform")?(h=t.transform.baseVal.consolidate().matrix,n=[h.a,h.b,h.c,h.d,h.e,h.f],n.join(",")==="1,0,0,1,0,0"?pn:n):(n===pn&&!t.offsetParent&&t!==ms&&!i.svg&&(h=s.display,s.display="block",a=t.parentNode,(!a||!t.offsetParent)&&(l=1,o=t.nextElementSibling,ms.appendChild(t)),n=Sm(t),h?s.display=h:Mr(t,"display"),l&&(o?a.insertBefore(t,o):a?a.appendChild(t):ms.removeChild(t))),e&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n)},Kl=function(t,e,i,s,n,a){var o=t._gsap,h=n||ql(t,!0),l=o.xOrigin||0,c=o.yOrigin||0,d=o.xOffset||0,u=o.yOffset||0,f=h[0],p=h[1],m=h[2],g=h[3],y=h[4],v=h[5],_=e.split(" "),x=parseFloat(_[0])||0,b=parseFloat(_[1])||0,E,T,w,A;i?h!==pn&&(T=f*g-p*m)&&(w=x*(g/T)+b*(-m/T)+(m*v-g*y)/T,A=x*(-p/T)+b*(f/T)-(f*v-p*y)/T,x=w,b=A):(E=vm(t),x=E.x+(~_[0].indexOf("%")?x/100*E.width:x),b=E.y+(~(_[1]||_[0]).indexOf("%")?b/100*E.height:b)),s||s!==!1&&o.smooth?(y=x-l,v=b-c,o.xOffset=d+(y*f+v*m)-y,o.yOffset=u+(y*p+v*g)-v):o.xOffset=o.yOffset=0,o.xOrigin=x,o.yOrigin=b,o.smooth=!!s,o.origin=e,o.originIsAbsolute=!!i,t.style[de]="0px 0px",a&&(er(a,o,"xOrigin",l,x),er(a,o,"yOrigin",c,b),er(a,o,"xOffset",d,o.xOffset),er(a,o,"yOffset",u,o.yOffset)),t.setAttribute("data-svg-origin",x+" "+b)},mn=function(t,e){var i=t._gsap||new tm(t);if("x"in i&&!e&&!i.uncache)return i;var s=t.style,n=i.scaleX<0,a="px",o="deg",h=getComputedStyle(t),l=ci(t,de)||"0",c,d,u,f,p,m,g,y,v,_,x,b,E,T,w,A,P,L,M,S,C,R,k,F,B,X,I,D,$,z,U,rt;return c=d=u=m=g=y=v=_=x=0,f=p=1,i.svg=!!(t.getCTM&&bm(t)),h.translate&&((h.translate!=="none"||h.scale!=="none"||h.rotate!=="none")&&(s[At]=(h.translate!=="none"?"translate3d("+(h.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(h.rotate!=="none"?"rotate("+h.rotate+") ":"")+(h.scale!=="none"?"scale("+h.scale.split(" ").join(",")+") ":"")+(h[At]!=="none"?h[At]:"")),s.scale=s.rotate=s.translate="none"),T=ql(t,i.svg),i.svg&&(i.uncache?(B=t.getBBox(),l=i.xOrigin-B.x+"px "+(i.yOrigin-B.y)+"px",F=""):F=!e&&t.getAttribute("data-svg-origin"),Kl(t,F||l,!!F||i.originIsAbsolute,i.smooth!==!1,T)),b=i.xOrigin||0,E=i.yOrigin||0,T!==pn&&(L=T[0],M=T[1],S=T[2],C=T[3],c=R=T[4],d=k=T[5],T.length===6?(f=Math.sqrt(L*L+M*M),p=Math.sqrt(C*C+S*S),m=L||M?_s(M,L)*Ir:0,v=S||C?_s(S,C)*Ir+m:0,v&&(p*=Math.abs(Math.cos(v*gs))),i.svg&&(c-=b-(b*L+E*S),d-=E-(b*M+E*C))):(rt=T[6],z=T[7],I=T[8],D=T[9],$=T[10],U=T[11],c=T[12],d=T[13],u=T[14],w=_s(rt,$),g=w*Ir,w&&(A=Math.cos(-w),P=Math.sin(-w),F=R*A+I*P,B=k*A+D*P,X=rt*A+$*P,I=R*-P+I*A,D=k*-P+D*A,$=rt*-P+$*A,U=z*-P+U*A,R=F,k=B,rt=X),w=_s(-S,$),y=w*Ir,w&&(A=Math.cos(-w),P=Math.sin(-w),F=L*A-I*P,B=M*A-D*P,X=S*A-$*P,U=C*P+U*A,L=F,M=B,S=X),w=_s(M,L),m=w*Ir,w&&(A=Math.cos(w),P=Math.sin(w),F=L*A+M*P,B=R*A+k*P,M=M*A-L*P,k=k*A-R*P,L=F,R=B),g&&Math.abs(g)+Math.abs(m)>359.9&&(g=m=0,y=180-y),f=Ft(Math.sqrt(L*L+M*M+S*S)),p=Ft(Math.sqrt(k*k+rt*rt)),w=_s(R,k),v=Math.abs(w)>2e-4?w*Ir:0,x=U?1/(U<0?-U:U):0),i.svg&&(F=t.getAttribute("transform"),i.forceCSS=t.setAttribute("transform","")||!Am(ci(t,At)),F&&t.setAttribute("transform",F))),Math.abs(v)>90&&Math.abs(v)<270&&(n?(f*=-1,v+=m<=0?180:-180,m+=m<=0?180:-180):(p*=-1,v+=v<=0?180:-180)),e=e||i.uncache,i.x=c-((i.xPercent=c&&(!e&&i.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-c)?-50:0)))?t.offsetWidth*i.xPercent/100:0)+a,i.y=d-((i.yPercent=d&&(!e&&i.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-d)?-50:0)))?t.offsetHeight*i.yPercent/100:0)+a,i.z=u+a,i.scaleX=Ft(f),i.scaleY=Ft(p),i.rotation=Ft(m)+o,i.rotationX=Ft(g)+o,i.rotationY=Ft(y)+o,i.skewX=v+o,i.skewY=_+o,i.transformPerspective=x+a,(i.zOrigin=parseFloat(l.split(" ")[2])||!e&&i.zOrigin||0)&&(s[de]=Za(l)),i.xOffset=i.yOffset=0,i.force3D=me.force3D,i.renderTransform=i.svg?lE:_m?Cm:hE,i.uncache=0,i},Za=function(t){return(t=t.split(" "))[0]+" "+t[1]},Zl=function(t,e,i){var s=te(e);return Ft(parseFloat(e)+parseFloat(ir(t,"x",i+"px",s)))+s},hE=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Cm(t,e)},Dr="0deg",gn="0px",Br=") ",Cm=function(t,e){var i=e||this,s=i.xPercent,n=i.yPercent,a=i.x,o=i.y,h=i.z,l=i.rotation,c=i.rotationY,d=i.rotationX,u=i.skewX,f=i.skewY,p=i.scaleX,m=i.scaleY,g=i.transformPerspective,y=i.force3D,v=i.target,_=i.zOrigin,x="",b=y==="auto"&&t&&t!==1||y===!0;if(_&&(d!==Dr||c!==Dr)){var E=parseFloat(c)*gs,T=Math.sin(E),w=Math.cos(E),A;E=parseFloat(d)*gs,A=Math.cos(E),a=Zl(v,a,T*A*-_),o=Zl(v,o,-Math.sin(E)*-_),h=Zl(v,h,w*A*-_+_)}g!==gn&&(x+="perspective("+g+Br),(s||n)&&(x+="translate("+s+"%, "+n+"%) "),(b||a!==gn||o!==gn||h!==gn)&&(x+=h!==gn||b?"translate3d("+a+", "+o+", "+h+") ":"translate("+a+", "+o+Br),l!==Dr&&(x+="rotate("+l+Br),c!==Dr&&(x+="rotateY("+c+Br),d!==Dr&&(x+="rotateX("+d+Br),(u!==Dr||f!==Dr)&&(x+="skew("+u+", "+f+Br),(p!==1||m!==1)&&(x+="scale("+p+", "+m+Br),v.style[At]=x||"translate(0, 0)"},lE=function(t,e){var i=e||this,s=i.xPercent,n=i.yPercent,a=i.x,o=i.y,h=i.rotation,l=i.skewX,c=i.skewY,d=i.scaleX,u=i.scaleY,f=i.target,p=i.xOrigin,m=i.yOrigin,g=i.xOffset,y=i.yOffset,v=i.forceCSS,_=parseFloat(a),x=parseFloat(o),b,E,T,w,A;h=parseFloat(h),l=parseFloat(l),c=parseFloat(c),c&&(c=parseFloat(c),l+=c,h+=c),h||l?(h*=gs,l*=gs,b=Math.cos(h)*d,E=Math.sin(h)*d,T=Math.sin(h-l)*-u,w=Math.cos(h-l)*u,l&&(c*=gs,A=Math.tan(l-c),A=Math.sqrt(1+A*A),T*=A,w*=A,c&&(A=Math.tan(c),A=Math.sqrt(1+A*A),b*=A,E*=A)),b=Ft(b),E=Ft(E),T=Ft(T),w=Ft(w)):(b=d,w=u,E=T=0),(_&&!~(a+"").indexOf("px")||x&&!~(o+"").indexOf("px"))&&(_=ir(f,"x",a,"px"),x=ir(f,"y",o,"px")),(p||m||g||y)&&(_=Ft(_+p-(p*b+m*T)+g),x=Ft(x+m-(p*E+m*w)+y)),(s||n)&&(A=f.getBBox(),_=Ft(_+s/100*A.width),x=Ft(x+n/100*A.height)),A="matrix("+b+","+E+","+T+","+w+","+_+","+x+")",f.setAttribute("transform",A),v&&(f.style[At]=A)},cE=function(t,e,i,s,n){var a=360,o=zt(n),h=parseFloat(n)*(o&&~n.indexOf("rad")?Ir:1),l=h-s,c=s+l+"deg",d,u;return o&&(d=n.split("_")[1],d==="short"&&(l%=a,l!==l%(a/2)&&(l+=l<0?a:-a)),d==="cw"&&l<0?l=(l+a*dm)%a-~~(l/a)*a:d==="ccw"&&l>0&&(l=(l-a*dm)%a-~~(l/a)*a)),t._pt=u=new ce(t._pt,e,i,s,l,YT),u.e=c,u.u="deg",t._props.push(i),u},Pm=function(t,e){for(var i in e)t[i]=e[i];return t},uE=function(t,e,i){var s=Pm({},i._gsap),n="perspective,force3D,transformOrigin,svgOrigin",a=i.style,o,h,l,c,d,u,f,p;s.svg?(l=i.getAttribute("transform"),i.setAttribute("transform",""),a[At]=e,o=mn(i,1),Mr(i,At),i.setAttribute("transform",l)):(l=getComputedStyle(i)[At],a[At]=e,o=mn(i,1),a[At]=l);for(h in Mi)l=s[h],c=o[h],l!==c&&n.indexOf(h)<0&&(f=te(l),p=te(c),d=f!==p?ir(i,h,l,p):parseFloat(l),u=parseFloat(c),t._pt=new ce(t._pt,o,h,d,u-d,$l),t._pt.u=p||0,t._props.push(h));Pm(o,s)};le("padding,margin,Width,Radius",function(r,t){var e="Top",i="Right",s="Bottom",n="Left",a=(t<3?[e,i,s,n]:[e+n,e+i,s+i,s+n]).map(function(o){return t<2?r+o:"border"+o+r});Ka[t>1?"border"+r:r]=function(o,h,l,c,d){var u,f;if(arguments.length<4)return u=a.map(function(p){return Di(o,p,l)}),f=u.join(" "),f.split(u[0]).length===5?u[0]:f;u=(c+"").split(" "),f={},a.forEach(function(p,m){return f[p]=u[m]=u[m]||u[(m-1)/2|0]}),o.init(h,f,d)}});var Rm={name:"css",register:Yl,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,i,s,n){var a=this._props,o=t.style,h=i.vars.startAt,l,c,d,u,f,p,m,g,y,v,_,x,b,E,T,w;Hl||Yl(),this.styles=this.styles||gm(t),w=this.styles.props,this.tween=i;for(m in e)if(m!=="autoRound"&&(c=e[m],!(_e[m]&&em(m,e,i,s,t,n)))){if(f=typeof c,p=Ka[m],f==="function"&&(c=c.call(i,s,t,n),f=typeof c),f==="string"&&~c.indexOf("random(")&&(c=hn(c)),p)p(this,t,m,c,i)&&(T=1);else if(m.substr(0,2)==="--")l=(getComputedStyle(t).getPropertyValue(m)+"").trim(),c+="",Qi.lastIndex=0,Qi.test(l)||(g=te(l),y=te(c)),y?g!==y&&(l=ir(t,m,l,y)+y):g&&(c+=g),this.add(o,"setProperty",l,c,s,n,0,0,m),a.push(m),w.push(m,0,o[m]);else if(f!=="undefined"){if(h&&m in h?(l=typeof h[m]=="function"?h[m].call(i,s,t,n):h[m],zt(l)&&~l.indexOf("random(")&&(l=hn(l)),te(l+"")||l==="auto"||(l+=me.units[m]||te(Di(t,m))||""),(l+"").charAt(1)==="="&&(l=Di(t,m))):l=Di(t,m),u=parseFloat(l),v=f==="string"&&c.charAt(1)==="="&&c.substr(0,2),v&&(c=c.substr(2)),d=parseFloat(c),m in li&&(m==="autoAlpha"&&(u===1&&Di(t,"visibility")==="hidden"&&d&&(u=0),w.push("visibility",0,o.visibility),er(this,o,"visibility",u?"inherit":"hidden",d?"inherit":"hidden",!d)),m!=="scale"&&m!=="transform"&&(m=li[m],~m.indexOf(",")&&(m=m.split(",")[0]))),_=m in Mi,_){if(this.styles.save(m),x||(b=t._gsap,b.renderTransform&&!e.parseTransform||mn(t,e.parseTransform),E=e.smoothOrigin!==!1&&b.smooth,x=this._pt=new ce(this._pt,o,At,0,1,b.renderTransform,b,0,-1),x.dep=1),m==="scale")this._pt=new ce(this._pt,b,"scaleY",b.scaleY,(v?cs(b.scaleY,v+d):d)-b.scaleY||0,$l),this._pt.u=0,a.push("scaleY",m),m+="X";else if(m==="transformOrigin"){w.push(de,0,o[de]),c=aE(c),b.svg?Kl(t,c,0,E,0,this):(y=parseFloat(c.split(" ")[2])||0,y!==b.zOrigin&&er(this,b,"zOrigin",b.zOrigin,y),er(this,o,m,Za(l),Za(c)));continue}else if(m==="svgOrigin"){Kl(t,c,1,E,0,this);continue}else if(m in wm){cE(this,b,m,u,v?cs(u,v+c):c);continue}else if(m==="smoothOrigin"){er(this,b,"smooth",b.smooth,c);continue}else if(m==="force3D"){b[m]=c;continue}else if(m==="transform"){uE(this,c,t);continue}}else m in o||(m=ys(m)||m);if(_||(d||d===0)&&(u||u===0)&&!zT.test(c)&&m in o)g=(l+"").substr((u+"").length),d||(d=0),y=te(c)||(m in me.units?me.units[m]:g),g!==y&&(u=ir(t,m,l,y)),this._pt=new ce(this._pt,_?b:o,m,u,(v?cs(u,v+d):d)-u,!_&&(y==="px"||m==="zIndex")&&e.autoRound!==!1?qT:$l),this._pt.u=y||0,g!==y&&y!=="%"&&(this._pt.b=l,this._pt.r=jT);else if(m in o)nE.call(this,t,m,l,v?v+c:c);else if(m in t)this.add(t,m,l||t[m],v?v+c:c,s,n);else if(m!=="parseTransform"){xl(m,c);continue}_||(m in o?w.push(m,0,o[m]):w.push(m,1,l||t[m])),a.push(m)}}T&&om(this)},render:function(t,e){if(e.tween._time||!Xl())for(var i=e._pt;i;)i.r(t,i.d),i=i._next;else e.styles.revert()},get:Di,aliases:li,getSetter:function(t,e,i){var s=li[e];return s&&s.indexOf(",")<0&&(e=s),e in Mi&&e!==de&&(t._gsap.x||Di(t,"x"))?i&&um===i?e==="scale"?JT:QT:(um=i||{})&&(e==="scale"?tE:eE):t.style&&!fl(t.style[e])?KT:~e.indexOf("-")?ZT:Nl(t,e)},core:{_removeProperty:Mr,_getMatrix:ql}};ue.utils.checkPrefix=ys,ue.core.getStyleSaver=gm,function(r,t,e,i){var s=le(r+","+t+","+e,function(n){Mi[n]=1});le(t,function(n){me.units[n]="deg",wm[n]=1}),li[s[13]]=r+","+t,le(i,function(n){var a=n.split(":");li[a[1]]=s[a[0]]})}("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY"),le("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(r){me.units[r]="px"}),ue.registerPlugin(Rm);var _n=ue.registerPlugin(Rm)||ue;_n.core.Tween;class Im extends en{constructor(t){super(),this.enableTint=!0,this.bgColor="#fff";const{x:e=0,y:i=0,width:s=0,height:n=0,bgColor:a="#fff",enableTint:o=!0}=t;this.x=e,this.y=i,this.enableTint=o,this.bgColor=a,this.renderBg(s,n)}updateColor(t){_n.to(this,{tint:t,duration:.25})}renderBg(t,e){this.clear(),this.enableTint?(this.beginFill("#fff"),this.tint=this.bgColor):this.beginFill(this.bgColor),this.drawRect(0,0,t,e),this.endFill()}}class dE extends $t{constructor(t){super();const{width:e,height:i,overHidden:s,bgColor:n}=t;if(s){const a=new en;a.beginFill(16777215),a.drawRect(0,0,e,i),a.endFill(),this.addChild(a),this.mask=a}n?(this._bgColorFill=new Im({width:e,height:i,bgColor:n}),this.addChild(this._bgColorFill)):(this._fill=new Ci,this._fill.width=e,this._fill.height=i,this.addChild(this._fill))}setSize(t,e){this._fill&&(this._fill.width=t,this._fill.height=e),this._bgColorFill&&this._bgColorFill.renderBg(t,e)}}/*!
|
|
1163
|
+
*/var cm,tr,ms,Hl,Rr,um,Xl,WT=function(){return typeof window<"u"},Mi={},Ir=180/Math.PI,gs=Math.PI/180,_s=Math.atan2,dm=1e8,Wl=/([A-Z])/g,$T=/(left|right|width|margin|padding|x)/i,zT=/[\s,\(]\S/,li={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},$l=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},YT=function(t,e){return e.set(e.t,e.p,t===1?e.e:Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},jT=function(t,e){return e.set(e.t,e.p,t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},qT=function(t,e){var i=e.s+e.c*t;e.set(e.t,e.p,~~(i+(i<0?-.5:.5))+e.u,e)},fm=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},pm=function(t,e){return e.set(e.t,e.p,t!==1?e.b:e.e,e)},KT=function(t,e,i){return t.style[e]=i},ZT=function(t,e,i){return t.style.setProperty(e,i)},QT=function(t,e,i){return t._gsap[e]=i},JT=function(t,e,i){return t._gsap.scaleX=t._gsap.scaleY=i},tE=function(t,e,i,s,n){var a=t._gsap;a.scaleX=a.scaleY=i,a.renderTransform(n,a)},eE=function(t,e,i,s,n){var a=t._gsap;a[e]=i,a.renderTransform(n,a)},At="transform",de=At+"Origin",iE=function r(t,e){var i=this,s=this.target,n=s.style,a=s._gsap;if(t in Mi&&n){if(this.tfm=this.tfm||{},t!=="transform")t=li[t]||t,~t.indexOf(",")?t.split(",").forEach(function(o){return i.tfm[o]=Di(s,o)}):this.tfm[t]=a.x?a[t]:Di(s,t),t===de&&(this.tfm.zOrigin=a.zOrigin);else return li.transform.split(",").forEach(function(o){return r.call(i,o,e)});if(this.props.indexOf(At)>=0)return;a.svg&&(this.svgo=s.getAttribute("data-svg-origin"),this.props.push(de,e,"")),t=At}(n||e)&&this.props.push(t,e,n[t])},mm=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},rE=function(){var t=this.props,e=this.target,i=e.style,s=e._gsap,n,a;for(n=0;n<t.length;n+=3)t[n+1]?e[t[n]]=t[n+2]:t[n+2]?i[t[n]]=t[n+2]:i.removeProperty(t[n].substr(0,2)==="--"?t[n]:t[n].replace(Wl,"-$1").toLowerCase());if(this.tfm){for(a in this.tfm)s[a]=this.tfm[a];s.svg&&(s.renderTransform(),e.setAttribute("data-svg-origin",this.svgo||"")),n=Xl(),(!n||!n.isStart)&&!i[At]&&(mm(i),s.zOrigin&&i[de]&&(i[de]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},gm=function(t,e){var i={target:t,props:[],revert:rE,save:iE};return t._gsap||ue.core.getCache(t),e&&e.split(",").forEach(function(s){return i.save(s)}),i},_m,zl=function(t,e){var i=tr.createElementNS?tr.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):tr.createElement(t);return i&&i.style?i:tr.createElement(t)},ci=function r(t,e,i){var s=getComputedStyle(t);return s[e]||s.getPropertyValue(e.replace(Wl,"-$1").toLowerCase())||s.getPropertyValue(e)||!i&&r(t,ys(e)||e,1)||""},ym="O,Moz,ms,Ms,Webkit".split(","),ys=function(t,e,i){var s=e||Rr,n=s.style,a=5;if(t in n&&!i)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);a--&&!(ym[a]+t in n););return a<0?null:(a===3?"ms":a>=0?ym[a]:"")+t},Yl=function(){WT()&&window.document&&(cm=window,tr=cm.document,ms=tr.documentElement,Rr=zl("div")||{style:{}},zl("div"),At=ys(At),de=At+"Origin",Rr.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",_m=!!ys("perspective"),Xl=ue.core.reverting,Hl=1)},jl=function r(t){var e=zl("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,s=this.nextSibling,n=this.style.cssText,a;if(ms.appendChild(e),e.appendChild(this),this.style.display="block",t)try{a=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=r}catch{}else this._gsapBBox&&(a=this._gsapBBox());return i&&(s?i.insertBefore(this,s):i.appendChild(this)),ms.removeChild(e),this.style.cssText=n,a},xm=function(t,e){for(var i=e.length;i--;)if(t.hasAttribute(e[i]))return t.getAttribute(e[i])},vm=function(t){var e;try{e=t.getBBox()}catch{e=jl.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===jl||(e=jl.call(t,!0)),e&&!e.width&&!e.x&&!e.y?{x:+xm(t,["x","cx","x1"])||0,y:+xm(t,["y","cy","y1"])||0,width:0,height:0}:e},bm=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&vm(t))},Mr=function(t,e){if(e){var i=t.style,s;e in Mi&&e!==de&&(e=At),i.removeProperty?(s=e.substr(0,2),(s==="ms"||e.substr(0,6)==="webkit")&&(e="-"+e),i.removeProperty(s==="--"?e:e.replace(Wl,"-$1").toLowerCase())):i.removeAttribute(e)}},er=function(t,e,i,s,n,a){var o=new ce(t._pt,e,i,0,1,a?pm:fm);return t._pt=o,o.b=s,o.e=n,t._props.push(i),o},Tm={deg:1,rad:1,turn:1},sE={grid:1,flex:1},ir=function r(t,e,i,s){var n=parseFloat(i)||0,a=(i+"").trim().substr((n+"").length)||"px",o=Rr.style,h=$T.test(e),l=t.tagName.toLowerCase()==="svg",c=(l?"client":"offset")+(h?"Width":"Height"),d=100,u=s==="px",f=s==="%",p,m,g,y;if(s===a||!n||Tm[s]||Tm[a])return n;if(a!=="px"&&!u&&(n=r(t,e,i,"px")),y=t.getCTM&&bm(t),(f||a==="%")&&(Mi[e]||~e.indexOf("adius")))return p=y?t.getBBox()[h?"width":"height"]:t[c],Ft(f?n/p*d:n/100*p);if(o[h?"width":"height"]=d+(u?a:s),m=~e.indexOf("adius")||s==="em"&&t.appendChild&&!l?t:t.parentNode,y&&(m=(t.ownerSVGElement||{}).parentNode),(!m||m===tr||!m.appendChild)&&(m=tr.body),g=m._gsap,g&&f&&g.width&&h&&g.time===xe.time&&!g.uncache)return Ft(n/g.width*d);if(f&&(e==="height"||e==="width")){var v=t.style[e];t.style[e]=d+s,p=t[c],v?t.style[e]=v:Mr(t,e)}else(f||a==="%")&&!sE[ci(m,"display")]&&(o.position=ci(t,"position")),m===t&&(o.position="static"),m.appendChild(Rr),p=Rr[c],m.removeChild(Rr),o.position="absolute";return h&&f&&(g=Er(m),g.time=xe.time,g.width=m[c]),Ft(u?p*n/d:p&&n?d/p*n:0)},Di=function(t,e,i,s){var n;return Hl||Yl(),e in li&&e!=="transform"&&(e=li[e],~e.indexOf(",")&&(e=e.split(",")[0])),Mi[e]&&e!=="transform"?(n=mn(t,s),n=e!=="transformOrigin"?n[e]:n.svg?n.origin:Za(ci(t,de))+" "+n.zOrigin+"px"):(n=t.style[e],(!n||n==="auto"||s||~(n+"").indexOf("calc("))&&(n=Ka[e]&&Ka[e](t,e,i)||ci(t,e)||Sp(t,e)||(e==="opacity"?1:0))),i&&!~(n+"").trim().indexOf(" ")?ir(t,e,n,i)+i:n},nE=function(t,e,i,s){if(!i||i==="none"){var n=ys(e,t,1),a=n&&ci(t,n,1);a&&a!==i?(e=n,i=a):e==="borderColor"&&(i=ci(t,"borderTopColor"))}var o=new ce(this._pt,t.style,e,0,1,am),h=0,l=0,c,d,u,f,p,m,g,y,v,_,x,b;if(o.b=i,o.e=s,i+="",s+="",s==="auto"&&(m=t.style[e],t.style[e]=s,s=ci(t,e)||s,m?t.style[e]=m:Mr(t,e)),c=[i,s],Kp(c),i=c[0],s=c[1],u=i.match(ls)||[],b=s.match(ls)||[],b.length){for(;d=ls.exec(s);)g=d[0],v=s.substring(h,d.index),p?p=(p+1)%5:(v.substr(-5)==="rgba("||v.substr(-5)==="hsla(")&&(p=1),g!==(m=u[l++]||"")&&(f=parseFloat(m)||0,x=m.substr((f+"").length),g.charAt(1)==="="&&(g=cs(f,g)+x),y=parseFloat(g),_=g.substr((y+"").length),h=ls.lastIndex-_.length,_||(_=_||me.units[e]||x,h===s.length&&(s+=_,o.e+=_)),x!==_&&(f=ir(t,e,m,_)||0),o._pt={_next:o._pt,p:v||l===1?v:",",s:f,c:y-f,m:p&&p<4||e==="zIndex"?Math.round:0});o.c=h<s.length?s.substring(h,s.length):""}else o.r=e==="display"&&s==="none"?pm:fm;return xp.test(s)&&(o.e=0),this._pt=o,o},Em={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},aE=function(t){var e=t.split(" "),i=e[0],s=e[1]||"50%";return(i==="top"||i==="bottom"||s==="left"||s==="right")&&(t=i,i=s,s=t),e[0]=Em[i]||i,e[1]=Em[s]||s,e.join(" ")},oE=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var i=e.t,s=i.style,n=e.u,a=i._gsap,o,h,l;if(n==="all"||n===!0)s.cssText="",h=1;else for(n=n.split(","),l=n.length;--l>-1;)o=n[l],Mi[o]&&(h=1,o=o==="transformOrigin"?de:At),Mr(i,o);h&&(Mr(i,At),a&&(a.svg&&i.removeAttribute("transform"),mn(i,1),a.uncache=1,mm(s)))}},Ka={clearProps:function(t,e,i,s,n){if(n.data!=="isFromStart"){var a=t._pt=new ce(t._pt,e,i,0,0,oE);return a.u=s,a.pr=-10,a.tween=n,t._props.push(i),1}}},pn=[1,0,0,1,0,0],wm={},Am=function(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},Sm=function(t){var e=ci(t,At);return Am(e)?pn:e.substr(7).match(yp).map(Ft)},ql=function(t,e){var i=t._gsap||Er(t),s=t.style,n=Sm(t),a,o,h,l;return i.svg&&t.getAttribute("transform")?(h=t.transform.baseVal.consolidate().matrix,n=[h.a,h.b,h.c,h.d,h.e,h.f],n.join(",")==="1,0,0,1,0,0"?pn:n):(n===pn&&!t.offsetParent&&t!==ms&&!i.svg&&(h=s.display,s.display="block",a=t.parentNode,(!a||!t.offsetParent)&&(l=1,o=t.nextElementSibling,ms.appendChild(t)),n=Sm(t),h?s.display=h:Mr(t,"display"),l&&(o?a.insertBefore(t,o):a?a.appendChild(t):ms.removeChild(t))),e&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n)},Kl=function(t,e,i,s,n,a){var o=t._gsap,h=n||ql(t,!0),l=o.xOrigin||0,c=o.yOrigin||0,d=o.xOffset||0,u=o.yOffset||0,f=h[0],p=h[1],m=h[2],g=h[3],y=h[4],v=h[5],_=e.split(" "),x=parseFloat(_[0])||0,b=parseFloat(_[1])||0,E,T,w,A;i?h!==pn&&(T=f*g-p*m)&&(w=x*(g/T)+b*(-m/T)+(m*v-g*y)/T,A=x*(-p/T)+b*(f/T)-(f*v-p*y)/T,x=w,b=A):(E=vm(t),x=E.x+(~_[0].indexOf("%")?x/100*E.width:x),b=E.y+(~(_[1]||_[0]).indexOf("%")?b/100*E.height:b)),s||s!==!1&&o.smooth?(y=x-l,v=b-c,o.xOffset=d+(y*f+v*m)-y,o.yOffset=u+(y*p+v*g)-v):o.xOffset=o.yOffset=0,o.xOrigin=x,o.yOrigin=b,o.smooth=!!s,o.origin=e,o.originIsAbsolute=!!i,t.style[de]="0px 0px",a&&(er(a,o,"xOrigin",l,x),er(a,o,"yOrigin",c,b),er(a,o,"xOffset",d,o.xOffset),er(a,o,"yOffset",u,o.yOffset)),t.setAttribute("data-svg-origin",x+" "+b)},mn=function(t,e){var i=t._gsap||new tm(t);if("x"in i&&!e&&!i.uncache)return i;var s=t.style,n=i.scaleX<0,a="px",o="deg",h=getComputedStyle(t),l=ci(t,de)||"0",c,d,u,f,p,m,g,y,v,_,x,b,E,T,w,A,P,L,M,S,C,R,k,F,B,X,I,D,$,z,U,rt;return c=d=u=m=g=y=v=_=x=0,f=p=1,i.svg=!!(t.getCTM&&bm(t)),h.translate&&((h.translate!=="none"||h.scale!=="none"||h.rotate!=="none")&&(s[At]=(h.translate!=="none"?"translate3d("+(h.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(h.rotate!=="none"?"rotate("+h.rotate+") ":"")+(h.scale!=="none"?"scale("+h.scale.split(" ").join(",")+") ":"")+(h[At]!=="none"?h[At]:"")),s.scale=s.rotate=s.translate="none"),T=ql(t,i.svg),i.svg&&(i.uncache?(B=t.getBBox(),l=i.xOrigin-B.x+"px "+(i.yOrigin-B.y)+"px",F=""):F=!e&&t.getAttribute("data-svg-origin"),Kl(t,F||l,!!F||i.originIsAbsolute,i.smooth!==!1,T)),b=i.xOrigin||0,E=i.yOrigin||0,T!==pn&&(L=T[0],M=T[1],S=T[2],C=T[3],c=R=T[4],d=k=T[5],T.length===6?(f=Math.sqrt(L*L+M*M),p=Math.sqrt(C*C+S*S),m=L||M?_s(M,L)*Ir:0,v=S||C?_s(S,C)*Ir+m:0,v&&(p*=Math.abs(Math.cos(v*gs))),i.svg&&(c-=b-(b*L+E*S),d-=E-(b*M+E*C))):(rt=T[6],z=T[7],I=T[8],D=T[9],$=T[10],U=T[11],c=T[12],d=T[13],u=T[14],w=_s(rt,$),g=w*Ir,w&&(A=Math.cos(-w),P=Math.sin(-w),F=R*A+I*P,B=k*A+D*P,X=rt*A+$*P,I=R*-P+I*A,D=k*-P+D*A,$=rt*-P+$*A,U=z*-P+U*A,R=F,k=B,rt=X),w=_s(-S,$),y=w*Ir,w&&(A=Math.cos(-w),P=Math.sin(-w),F=L*A-I*P,B=M*A-D*P,X=S*A-$*P,U=C*P+U*A,L=F,M=B,S=X),w=_s(M,L),m=w*Ir,w&&(A=Math.cos(w),P=Math.sin(w),F=L*A+M*P,B=R*A+k*P,M=M*A-L*P,k=k*A-R*P,L=F,R=B),g&&Math.abs(g)+Math.abs(m)>359.9&&(g=m=0,y=180-y),f=Ft(Math.sqrt(L*L+M*M+S*S)),p=Ft(Math.sqrt(k*k+rt*rt)),w=_s(R,k),v=Math.abs(w)>2e-4?w*Ir:0,x=U?1/(U<0?-U:U):0),i.svg&&(F=t.getAttribute("transform"),i.forceCSS=t.setAttribute("transform","")||!Am(ci(t,At)),F&&t.setAttribute("transform",F))),Math.abs(v)>90&&Math.abs(v)<270&&(n?(f*=-1,v+=m<=0?180:-180,m+=m<=0?180:-180):(p*=-1,v+=v<=0?180:-180)),e=e||i.uncache,i.x=c-((i.xPercent=c&&(!e&&i.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-c)?-50:0)))?t.offsetWidth*i.xPercent/100:0)+a,i.y=d-((i.yPercent=d&&(!e&&i.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-d)?-50:0)))?t.offsetHeight*i.yPercent/100:0)+a,i.z=u+a,i.scaleX=Ft(f),i.scaleY=Ft(p),i.rotation=Ft(m)+o,i.rotationX=Ft(g)+o,i.rotationY=Ft(y)+o,i.skewX=v+o,i.skewY=_+o,i.transformPerspective=x+a,(i.zOrigin=parseFloat(l.split(" ")[2])||!e&&i.zOrigin||0)&&(s[de]=Za(l)),i.xOffset=i.yOffset=0,i.force3D=me.force3D,i.renderTransform=i.svg?lE:_m?Cm:hE,i.uncache=0,i},Za=function(t){return(t=t.split(" "))[0]+" "+t[1]},Zl=function(t,e,i){var s=te(e);return Ft(parseFloat(e)+parseFloat(ir(t,"x",i+"px",s)))+s},hE=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Cm(t,e)},Dr="0deg",gn="0px",Br=") ",Cm=function(t,e){var i=e||this,s=i.xPercent,n=i.yPercent,a=i.x,o=i.y,h=i.z,l=i.rotation,c=i.rotationY,d=i.rotationX,u=i.skewX,f=i.skewY,p=i.scaleX,m=i.scaleY,g=i.transformPerspective,y=i.force3D,v=i.target,_=i.zOrigin,x="",b=y==="auto"&&t&&t!==1||y===!0;if(_&&(d!==Dr||c!==Dr)){var E=parseFloat(c)*gs,T=Math.sin(E),w=Math.cos(E),A;E=parseFloat(d)*gs,A=Math.cos(E),a=Zl(v,a,T*A*-_),o=Zl(v,o,-Math.sin(E)*-_),h=Zl(v,h,w*A*-_+_)}g!==gn&&(x+="perspective("+g+Br),(s||n)&&(x+="translate("+s+"%, "+n+"%) "),(b||a!==gn||o!==gn||h!==gn)&&(x+=h!==gn||b?"translate3d("+a+", "+o+", "+h+") ":"translate("+a+", "+o+Br),l!==Dr&&(x+="rotate("+l+Br),c!==Dr&&(x+="rotateY("+c+Br),d!==Dr&&(x+="rotateX("+d+Br),(u!==Dr||f!==Dr)&&(x+="skew("+u+", "+f+Br),(p!==1||m!==1)&&(x+="scale("+p+", "+m+Br),v.style[At]=x||"translate(0, 0)"},lE=function(t,e){var i=e||this,s=i.xPercent,n=i.yPercent,a=i.x,o=i.y,h=i.rotation,l=i.skewX,c=i.skewY,d=i.scaleX,u=i.scaleY,f=i.target,p=i.xOrigin,m=i.yOrigin,g=i.xOffset,y=i.yOffset,v=i.forceCSS,_=parseFloat(a),x=parseFloat(o),b,E,T,w,A;h=parseFloat(h),l=parseFloat(l),c=parseFloat(c),c&&(c=parseFloat(c),l+=c,h+=c),h||l?(h*=gs,l*=gs,b=Math.cos(h)*d,E=Math.sin(h)*d,T=Math.sin(h-l)*-u,w=Math.cos(h-l)*u,l&&(c*=gs,A=Math.tan(l-c),A=Math.sqrt(1+A*A),T*=A,w*=A,c&&(A=Math.tan(c),A=Math.sqrt(1+A*A),b*=A,E*=A)),b=Ft(b),E=Ft(E),T=Ft(T),w=Ft(w)):(b=d,w=u,E=T=0),(_&&!~(a+"").indexOf("px")||x&&!~(o+"").indexOf("px"))&&(_=ir(f,"x",a,"px"),x=ir(f,"y",o,"px")),(p||m||g||y)&&(_=Ft(_+p-(p*b+m*T)+g),x=Ft(x+m-(p*E+m*w)+y)),(s||n)&&(A=f.getBBox(),_=Ft(_+s/100*A.width),x=Ft(x+n/100*A.height)),A="matrix("+b+","+E+","+T+","+w+","+_+","+x+")",f.setAttribute("transform",A),v&&(f.style[At]=A)},cE=function(t,e,i,s,n){var a=360,o=zt(n),h=parseFloat(n)*(o&&~n.indexOf("rad")?Ir:1),l=h-s,c=s+l+"deg",d,u;return o&&(d=n.split("_")[1],d==="short"&&(l%=a,l!==l%(a/2)&&(l+=l<0?a:-a)),d==="cw"&&l<0?l=(l+a*dm)%a-~~(l/a)*a:d==="ccw"&&l>0&&(l=(l-a*dm)%a-~~(l/a)*a)),t._pt=u=new ce(t._pt,e,i,s,l,YT),u.e=c,u.u="deg",t._props.push(i),u},Pm=function(t,e){for(var i in e)t[i]=e[i];return t},uE=function(t,e,i){var s=Pm({},i._gsap),n="perspective,force3D,transformOrigin,svgOrigin",a=i.style,o,h,l,c,d,u,f,p;s.svg?(l=i.getAttribute("transform"),i.setAttribute("transform",""),a[At]=e,o=mn(i,1),Mr(i,At),i.setAttribute("transform",l)):(l=getComputedStyle(i)[At],a[At]=e,o=mn(i,1),a[At]=l);for(h in Mi)l=s[h],c=o[h],l!==c&&n.indexOf(h)<0&&(f=te(l),p=te(c),d=f!==p?ir(i,h,l,p):parseFloat(l),u=parseFloat(c),t._pt=new ce(t._pt,o,h,d,u-d,$l),t._pt.u=p||0,t._props.push(h));Pm(o,s)};le("padding,margin,Width,Radius",function(r,t){var e="Top",i="Right",s="Bottom",n="Left",a=(t<3?[e,i,s,n]:[e+n,e+i,s+i,s+n]).map(function(o){return t<2?r+o:"border"+o+r});Ka[t>1?"border"+r:r]=function(o,h,l,c,d){var u,f;if(arguments.length<4)return u=a.map(function(p){return Di(o,p,l)}),f=u.join(" "),f.split(u[0]).length===5?u[0]:f;u=(c+"").split(" "),f={},a.forEach(function(p,m){return f[p]=u[m]=u[m]||u[(m-1)/2|0]}),o.init(h,f,d)}});var Rm={name:"css",register:Yl,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,i,s,n){var a=this._props,o=t.style,h=i.vars.startAt,l,c,d,u,f,p,m,g,y,v,_,x,b,E,T,w;Hl||Yl(),this.styles=this.styles||gm(t),w=this.styles.props,this.tween=i;for(m in e)if(m!=="autoRound"&&(c=e[m],!(_e[m]&&em(m,e,i,s,t,n)))){if(f=typeof c,p=Ka[m],f==="function"&&(c=c.call(i,s,t,n),f=typeof c),f==="string"&&~c.indexOf("random(")&&(c=hn(c)),p)p(this,t,m,c,i)&&(T=1);else if(m.substr(0,2)==="--")l=(getComputedStyle(t).getPropertyValue(m)+"").trim(),c+="",Qi.lastIndex=0,Qi.test(l)||(g=te(l),y=te(c)),y?g!==y&&(l=ir(t,m,l,y)+y):g&&(c+=g),this.add(o,"setProperty",l,c,s,n,0,0,m),a.push(m),w.push(m,0,o[m]);else if(f!=="undefined"){if(h&&m in h?(l=typeof h[m]=="function"?h[m].call(i,s,t,n):h[m],zt(l)&&~l.indexOf("random(")&&(l=hn(l)),te(l+"")||l==="auto"||(l+=me.units[m]||te(Di(t,m))||""),(l+"").charAt(1)==="="&&(l=Di(t,m))):l=Di(t,m),u=parseFloat(l),v=f==="string"&&c.charAt(1)==="="&&c.substr(0,2),v&&(c=c.substr(2)),d=parseFloat(c),m in li&&(m==="autoAlpha"&&(u===1&&Di(t,"visibility")==="hidden"&&d&&(u=0),w.push("visibility",0,o.visibility),er(this,o,"visibility",u?"inherit":"hidden",d?"inherit":"hidden",!d)),m!=="scale"&&m!=="transform"&&(m=li[m],~m.indexOf(",")&&(m=m.split(",")[0]))),_=m in Mi,_){if(this.styles.save(m),x||(b=t._gsap,b.renderTransform&&!e.parseTransform||mn(t,e.parseTransform),E=e.smoothOrigin!==!1&&b.smooth,x=this._pt=new ce(this._pt,o,At,0,1,b.renderTransform,b,0,-1),x.dep=1),m==="scale")this._pt=new ce(this._pt,b,"scaleY",b.scaleY,(v?cs(b.scaleY,v+d):d)-b.scaleY||0,$l),this._pt.u=0,a.push("scaleY",m),m+="X";else if(m==="transformOrigin"){w.push(de,0,o[de]),c=aE(c),b.svg?Kl(t,c,0,E,0,this):(y=parseFloat(c.split(" ")[2])||0,y!==b.zOrigin&&er(this,b,"zOrigin",b.zOrigin,y),er(this,o,m,Za(l),Za(c)));continue}else if(m==="svgOrigin"){Kl(t,c,1,E,0,this);continue}else if(m in wm){cE(this,b,m,u,v?cs(u,v+c):c);continue}else if(m==="smoothOrigin"){er(this,b,"smooth",b.smooth,c);continue}else if(m==="force3D"){b[m]=c;continue}else if(m==="transform"){uE(this,c,t);continue}}else m in o||(m=ys(m)||m);if(_||(d||d===0)&&(u||u===0)&&!zT.test(c)&&m in o)g=(l+"").substr((u+"").length),d||(d=0),y=te(c)||(m in me.units?me.units[m]:g),g!==y&&(u=ir(t,m,l,y)),this._pt=new ce(this._pt,_?b:o,m,u,(v?cs(u,v+d):d)-u,!_&&(y==="px"||m==="zIndex")&&e.autoRound!==!1?qT:$l),this._pt.u=y||0,g!==y&&y!=="%"&&(this._pt.b=l,this._pt.r=jT);else if(m in o)nE.call(this,t,m,l,v?v+c:c);else if(m in t)this.add(t,m,l||t[m],v?v+c:c,s,n);else if(m!=="parseTransform"){xl(m,c);continue}_||(m in o?w.push(m,0,o[m]):w.push(m,1,l||t[m])),a.push(m)}}T&&om(this)},render:function(t,e){if(e.tween._time||!Xl())for(var i=e._pt;i;)i.r(t,i.d),i=i._next;else e.styles.revert()},get:Di,aliases:li,getSetter:function(t,e,i){var s=li[e];return s&&s.indexOf(",")<0&&(e=s),e in Mi&&e!==de&&(t._gsap.x||Di(t,"x"))?i&&um===i?e==="scale"?JT:QT:(um=i||{})&&(e==="scale"?tE:eE):t.style&&!fl(t.style[e])?KT:~e.indexOf("-")?ZT:Nl(t,e)},core:{_removeProperty:Mr,_getMatrix:ql}};ue.utils.checkPrefix=ys,ue.core.getStyleSaver=gm,function(r,t,e,i){var s=le(r+","+t+","+e,function(n){Mi[n]=1});le(t,function(n){me.units[n]="deg",wm[n]=1}),li[s[13]]=r+","+t,le(i,function(n){var a=n.split(":");li[a[1]]=s[a[0]]})}("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY"),le("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(r){me.units[r]="px"}),ue.registerPlugin(Rm);var _n=ue.registerPlugin(Rm)||ue;_n.core.Tween;class Im extends en{constructor(t){super(),this.radius=0,this.enableTint=!0,this.bgColor="#fff",this.borderWidth=0,this.borderColor="black",this.bgAlpha=1;const{x:e=0,y:i=0,width:s=0,height:n=0,bgColor:a="#fff",alpha:o=1,radius:h=0,borderWidth:l=0,borderColor:c="black",enableTint:d=!0}=t;this.x=e,this.y=i,this.bgAlpha=o,this.radius=h,this.enableTint=d,this.bgColor=a,this.borderWidth=l,this.borderColor=c,this.renderBg(s,n)}updateColor(t){_n.to(this,{tint:t,duration:.25})}renderBg(t,e){this.clear(),this.enableTint?(this.beginFill("#fff",this.bgAlpha),this.tint=this.bgColor):(this.beginFill(this.bgColor,this.bgAlpha),this.borderWidth&&this.lineStyle(this.borderWidth,this.borderColor,1)),this.borderWidth&&this.lineStyle(this.borderWidth,this.borderColor,1),this.radius!==0?typeof this.radius=="number"?this.drawRoundedRect(0,0,t,e,this.radius):(this.moveTo(0+this.radius[0],0),this.lineTo(0+t-this.radius[1],0),this.radius[1]>0?this.arcTo(0+t,0,0+t,0+this.radius[1],this.radius[1]):this.lineTo(0+t,0),this.lineTo(0+t,0+e-this.radius[2]),this.radius[2]>0?this.arcTo(0+t,0+e,0+t-this.radius[2],0+e,this.radius[2]):this.lineTo(0+t,0+e),this.lineTo(0+this.radius[3],0+e),this.radius[3]>0?this.arcTo(0,0+e,0,0+e-this.radius[3],this.radius[3]):this.lineTo(0,0+e),this.lineTo(0,0+this.radius[0]),this.radius[0]>0?this.arcTo(0,0,0+this.radius[0],0,this.radius[0]):this.lineTo(0,0),this.closePath()):this.drawRect(0,0,t,e),this.endFill()}}class dE extends $t{constructor(t,e,i,s){if(super(),s){const n=new en;n.beginFill(16777215),n.drawRect(0,0,t,e),n.endFill(),this.addChild(n),this.mask=n}i?(this._bgColorFill=new Im({width:t,height:e,bgColor:i}),this.addChild(this._bgColorFill)):(this._fill=new Ci,this._fill.width=t,this._fill.height=e,this.addChild(this._fill))}setSize(t,e){this._fill&&(this._fill.width=t,this._fill.height=e),this._bgColorFill&&this._bgColorFill.renderBg(t,e)}}/*!
|
|
1164
1164
|
* @pixi/particle-emitter - v5.0.8
|
|
1165
1165
|
* Compiled Mon, 28 Nov 2022 04:01:38 UTC
|
|
1166
1166
|
*
|