UNPKG

@belvo-finance/belvo-vue-components

Version:

## Project setup ``` npm install ```

33 lines 488 kB
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("vue")):"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["belvo-vue-components"]=e(require("vue")):t["belvo-vue-components"]=e(t["Vue"])})("undefined"!==typeof self?self:this,(function(__WEBPACK_EXTERNAL_MODULE__8bbf__){return function(t){var e={};function r(i){if(e[i])return e[i].exports;var a=e[i]={i:i,l:!1,exports:{}};return t[i].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=t,r.c=e,r.d=function(t,e,i){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},r.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)r.d(i,a,function(e){return t[e]}.bind(null,a));return i},r.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s="fb15")}({"00ee":function(t,e,r){var i=r("b622"),a=i("toStringTag"),n={};n[a]="z",t.exports="[object z]"===String(n)},"0366":function(t,e,r){var i=r("1c0b");t.exports=function(t,e,r){if(i(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,i){return t.call(e,r,i)};case 3:return function(r,i,a){return t.call(e,r,i,a)}}return function(){return t.apply(e,arguments)}}},"0481":function(t,e,r){"use strict";var i=r("23e7"),a=r("a2bf"),n=r("7b0b"),s=r("50c4"),o=r("a691"),l=r("65f0");i({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=n(this),r=s(e.length),i=l(e,0);return i.length=a(i,e,e,r,0,void 0===t?1:o(t)),i}})},"06cf":function(t,e,r){var i=r("83ab"),a=r("d1e7"),n=r("5c6c"),s=r("fc6a"),o=r("c04e"),l=r("5135"),h=r("0cfb"),c=Object.getOwnPropertyDescriptor;e.f=i?c:function(t,e){if(t=s(t),e=o(e,!0),h)try{return c(t,e)}catch(r){}if(l(t,e))return n(!a.f.call(t,e),t[e])}},"07ac":function(t,e,r){var i=r("23e7"),a=r("6f53").values;i({target:"Object",stat:!0},{values:function(t){return a(t)}})},"0cfb":function(t,e,r){var i=r("83ab"),a=r("d039"),n=r("cc12");t.exports=!i&&!a((function(){return 7!=Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a}))},"0f6b":function(t,e,r){"use strict";var i=r("8965"),a=r.n(i);a.a},1148:function(t,e,r){"use strict";var i=r("a691"),a=r("1d80");t.exports="".repeat||function(t){var e=String(a(this)),r="",n=i(t);if(n<0||n==1/0)throw RangeError("Wrong number of repetitions");for(;n>0;(n>>>=1)&&(e+=e))1&n&&(r+=e);return r}},1276:function(t,e,r){"use strict";var i=r("d784"),a=r("44e7"),n=r("825a"),s=r("1d80"),o=r("4840"),l=r("8aa5"),h=r("50c4"),c=r("14c3"),u=r("9263"),p=r("d039"),f=[].push,d=Math.min,m=4294967295,g=!p((function(){return!RegExp(m,"y")}));i("split",2,(function(t,e,r){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,r){var i=String(s(this)),n=void 0===r?m:r>>>0;if(0===n)return[];if(void 0===t)return[i];if(!a(t))return e.call(i,t,n);var o,l,h,c=[],p=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),d=0,g=new RegExp(t.source,p+"g");while(o=u.call(g,i)){if(l=g.lastIndex,l>d&&(c.push(i.slice(d,o.index)),o.length>1&&o.index<i.length&&f.apply(c,o.slice(1)),h=o[0].length,d=l,c.length>=n))break;g.lastIndex===o.index&&g.lastIndex++}return d===i.length?!h&&g.test("")||c.push(""):c.push(i.slice(d)),c.length>n?c.slice(0,n):c}:"0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:e.call(this,t,r)}:e,[function(e,r){var a=s(this),n=void 0==e?void 0:e[t];return void 0!==n?n.call(e,a,r):i.call(String(a),e,r)},function(t,a){var s=r(i,t,this,a,i!==e);if(s.done)return s.value;var u=n(t),p=String(this),f=o(u,RegExp),v=u.unicode,y=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(g?"y":"g"),b=new f(g?u:"^(?:"+u.source+")",y),_=void 0===a?m:a>>>0;if(0===_)return[];if(0===p.length)return null===c(b,p)?[p]:[];var x=0,E=0,S=[];while(E<p.length){b.lastIndex=g?E:0;var k,C=c(b,g?p:p.slice(E));if(null===C||(k=d(h(b.lastIndex+(g?0:E)),p.length))===x)E=l(p,E,v);else{if(S.push(p.slice(x,E)),S.length===_)return S;for(var w=1;w<=C.length-1;w++)if(S.push(C[w]),S.length===_)return S;E=x=k}}return S.push(p.slice(x)),S}]}),!g)},"13d5":function(t,e,r){"use strict";var i=r("23e7"),a=r("d58f").left,n=r("a640"),s=r("ae40"),o=n("reduce"),l=s("reduce",{1:0});i({target:"Array",proto:!0,forced:!o||!l},{reduce:function(t){return a(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(t,e,r){var i=r("c6b6"),a=r("9263");t.exports=function(t,e){var r=t.exec;if("function"===typeof r){var n=r.call(t,e);if("object"!==typeof n)throw TypeError("RegExp exec method returned something other than an Object or null");return n}if("RegExp"!==i(t))throw TypeError("RegExp#exec called on incompatible receiver");return a.call(t,e)}},"159b":function(t,e,r){var i=r("da84"),a=r("fdbc"),n=r("17c2"),s=r("9112");for(var o in a){var l=i[o],h=l&&l.prototype;if(h&&h.forEach!==n)try{s(h,"forEach",n)}catch(c){h.forEach=n}}},1775:function(t,e){t.exports={color:{blue:{10:{value:"#011432",original:{value:"#011432"},name:"ColorBlue10",attributes:{category:"color",type:"blue",item:"10"},path:["color","blue","10"]},15:{value:"#021e4b",original:{value:"#021e4b"},name:"ColorBlue15",attributes:{category:"color",type:"blue",item:"15"},path:["color","blue","15"]},20:{value:"#032863",original:{value:"#032863"},name:"ColorBlue20",attributes:{category:"color",type:"blue",item:"20"},path:["color","blue","20"]},25:{value:"#03327c",original:{value:"#03327c"},name:"ColorBlue25",attributes:{category:"color",type:"blue",item:"25"},path:["color","blue","25"]},30:{value:"#043c95",original:{value:"#043c95"},name:"ColorBlue30",attributes:{category:"color",type:"blue",item:"30"},path:["color","blue","30"]},35:{value:"#0446ae",original:{value:"#0446ae"},name:"ColorBlue35",attributes:{category:"color",type:"blue",item:"35"},path:["color","blue","35"]},40:{value:"#054fc7",original:{value:"#054fc7"},name:"ColorBlue40",attributes:{category:"color",type:"blue",item:"40"},path:["color","blue","40"]},45:{value:"#0659e0",original:{value:"#0659e0"},name:"ColorBlue45",attributes:{category:"color",type:"blue",item:"45"},path:["color","blue","45"]},50:{value:"#0663f9",original:{value:"#0663f9"},name:"ColorBlue50",attributes:{category:"color",type:"blue",item:"50"},path:["color","blue","50"]},55:{value:"#1f73f9",original:{value:"#1f73f9"},name:"ColorBlue55",attributes:{category:"color",type:"blue",item:"55"},path:["color","blue","55"]},60:{value:"#3882fa",original:{value:"#3882fa"},name:"ColorBlue60",attributes:{category:"color",type:"blue",item:"60"},path:["color","blue","60"]},65:{value:"#5192fb",original:{value:"#5192fb"},name:"ColorBlue65",attributes:{category:"color",type:"blue",item:"65"},path:["color","blue","65"]},70:{value:"#6aa2fb",original:{value:"#6aa2fb"},name:"ColorBlue70",attributes:{category:"color",type:"blue",item:"70"},path:["color","blue","70"]},75:{value:"#83b1fc",original:{value:"#83b1fc"},name:"ColorBlue75",attributes:{category:"color",type:"blue",item:"75"},path:["color","blue","75"]},80:{value:"#9cc1fc",original:{value:"#9cc1fc"},name:"ColorBlue80",attributes:{category:"color",type:"blue",item:"80"},path:["color","blue","80"]},85:{value:"#b4d0fd",original:{value:"#b4d0fd"},name:"ColorBlue85",attributes:{category:"color",type:"blue",item:"85"},path:["color","blue","85"]},90:{value:"#cde0fe",original:{value:"#cde0fe"},name:"ColorBlue90",attributes:{category:"color",type:"blue",item:"90"},path:["color","blue","90"]},95:{value:"#e6effe",original:{value:"#E6EFFE"},name:"ColorBlue95",attributes:{category:"color",type:"blue",item:"95"},path:["color","blue","95"]}},green:{10:{value:"#12280b",original:{value:"#12280b"},name:"ColorGreen10",attributes:{category:"color",type:"green",item:"10"},path:["color","green","10"]},15:{value:"#1b3c10",original:{value:"#1B3C10"},name:"ColorGreen15",attributes:{category:"color",type:"green",item:"15"},path:["color","green","15"]},20:{value:"#235016",original:{value:"#235016"},name:"ColorGreen20",attributes:{category:"color",type:"green",item:"20"},path:["color","green","20"]},25:{value:"#2c641b",original:{value:"#2C641B"},name:"ColorGreen25",attributes:{category:"color",type:"green",item:"25"},path:["color","green","25"]},30:{value:"#357821",original:{value:"#357821"},name:"ColorGreen30",attributes:{category:"color",type:"green",item:"30"},path:["color","green","30"]},35:{value:"#3e8c26",original:{value:"#3E8C26"},name:"ColorGreen35",attributes:{category:"color",type:"green",item:"35"},path:["color","green","35"]},40:{value:"#47a02c",original:{value:"#47A02C"},name:"ColorGreen40",attributes:{category:"color",type:"green",item:"40"},path:["color","green","40"]},45:{value:"#50b431",original:{value:"#50B431"},name:"ColorGreen45",attributes:{category:"color",type:"green",item:"45"},path:["color","green","45"]},50:{value:"#59c837",original:{value:"#59C837"},name:"ColorGreen50",attributes:{category:"color",type:"green",item:"50"},path:["color","green","50"]},55:{value:"#69ce4b",original:{value:"#69CE4B"},name:"ColorGreen55",attributes:{category:"color",type:"green",item:"55"},path:["color","green","55"]},60:{value:"#7ad35f",original:{value:"#7AD35F"},name:"ColorGreen60",attributes:{category:"color",type:"green",item:"60"},path:["color","green","60"]},65:{value:"#8bd973",original:{value:"#8BD973"},name:"ColorGreen65",attributes:{category:"color",type:"green",item:"65"},path:["color","green","65"]},70:{value:"#9bde87",original:{value:"#9BDE87"},name:"ColorGreen70",attributes:{category:"color",type:"green",item:"70"},path:["color","green","70"]},75:{value:"#ace49b",original:{value:"#ACE49B"},name:"ColorGreen75",attributes:{category:"color",type:"green",item:"75"},path:["color","green","75"]},80:{value:"#bce9af",original:{value:"#BCE9AF"},name:"ColorGreen80",attributes:{category:"color",type:"green",item:"80"},path:["color","green","80"]},85:{value:"#cdefc3",original:{value:"#CDEFC3"},name:"ColorGreen85",attributes:{category:"color",type:"green",item:"85"},path:["color","green","85"]},90:{value:"#def4d7",original:{value:"#DEF4D7"},name:"ColorGreen90",attributes:{category:"color",type:"green",item:"90"},path:["color","green","90"]},95:{value:"#eefaeb",original:{value:"#EEFAEB"},name:"ColorGreen95",attributes:{category:"color",type:"green",item:"95"},path:["color","green","95"]}},grey:{0:{value:"#ffffff",original:{value:"#ffffff"},name:"ColorGrey0",attributes:{category:"color",type:"grey",item:"0"},path:["color","grey","0"]},10:{value:"#161a1d",original:{value:"#161a1d"},name:"ColorGrey10",attributes:{category:"color",type:"grey",item:"10"},path:["color","grey","10"]},15:{value:"#21272c",original:{value:"#21272c"},name:"ColorGrey15",attributes:{category:"color",type:"grey",item:"15"},path:["color","grey","15"]},20:{value:"#2b343b",original:{value:"#2b343b"},name:"ColorGrey20",attributes:{category:"color",type:"grey",item:"20"},path:["color","grey","20"]},25:{value:"#364049",original:{value:"#364049"},name:"ColorGrey25",attributes:{category:"color",type:"grey",item:"25"},path:["color","grey","25"]},30:{value:"#414d58",original:{value:"#414d58"},name:"ColorGrey30",attributes:{category:"color",type:"grey",item:"30"},path:["color","grey","30"]},35:{value:"#4c5a67",original:{value:"#4c5a67"},name:"ColorGrey35",attributes:{category:"color",type:"grey",item:"35"},path:["color","grey","35"]},40:{value:"#576775",original:{value:"#576775"},name:"ColorGrey40",attributes:{category:"color",type:"grey",item:"40"},path:["color","grey","40"]},45:{value:"#627484",original:{value:"#627484"},name:"ColorGrey45",attributes:{category:"color",type:"grey",item:"45"},path:["color","grey","45"]},50:{value:"#6c8193",original:{value:"#6c8193"},name:"ColorGrey50",attributes:{category:"color",type:"grey",item:"50"},path:["color","grey","50"]},55:{value:"#7b8e9d",original:{value:"#7b8e9d"},name:"ColorGrey55",attributes:{category:"color",type:"grey",item:"55"},path:["color","grey","55"]},60:{value:"#8a9aa8",original:{value:"#8a9aa8"},name:"ColorGrey60",attributes:{category:"color",type:"grey",item:"60"},path:["color","grey","60"]},65:{value:"#98a7b3",original:{value:"#98a7b3"},name:"ColorGrey65",attributes:{category:"color",type:"grey",item:"65"},path:["color","grey","65"]},70:{value:"#a7b3be",original:{value:"#a7b3be"},name:"ColorGrey70",attributes:{category:"color",type:"grey",item:"70"},path:["color","grey","70"]},75:{value:"#b6c0c9",original:{value:"#b6c0c9"},name:"ColorGrey75",attributes:{category:"color",type:"grey",item:"75"},path:["color","grey","75"]},80:{value:"#c4cdd4",original:{value:"#c4cdd4"},name:"ColorGrey80",attributes:{category:"color",type:"grey",item:"80"},path:["color","grey","80"]},85:{value:"#d3d9de",original:{value:"#d3d9de"},name:"ColorGrey85",attributes:{category:"color",type:"grey",item:"85"},path:["color","grey","85"]},90:{value:"#e2e6e9",original:{value:"#e2e6e9"},name:"ColorGrey90",attributes:{category:"color",type:"grey",item:"90"},path:["color","grey","90"]},95:{value:"#f0f2f4",original:{value:"#f0f2f4"},name:"ColorGrey95",attributes:{category:"color",type:"grey",item:"95"},path:["color","grey","95"]}},red:{10:{value:"#320301",original:{value:"#320301"},name:"ColorRed10",attributes:{category:"color",type:"red",item:"10"},path:["color","red","10"]},15:{value:"#4b0402",original:{value:"#4b0402"},name:"ColorRed15",attributes:{category:"color",type:"red",item:"15"},path:["color","red","15"]},20:{value:"#630603",original:{value:"#630603"},name:"ColorRed20",attributes:{category:"color",type:"red",item:"20"},path:["color","red","20"]},25:{value:"#7c0703",original:{value:"#7c0703"},name:"ColorRed25",attributes:{category:"color",type:"red",item:"25"},path:["color","red","25"]},30:{value:"#950904",original:{value:"#950904"},name:"ColorRed30",attributes:{category:"color",type:"red",item:"30"},path:["color","red","30"]},35:{value:"#ae0a04",original:{value:"#ae0a04"},name:"ColorRed35",attributes:{category:"color",type:"red",item:"35"},path:["color","red","35"]},40:{value:"#c70c05",original:{value:"#c70c05"},name:"ColorRed40",attributes:{category:"color",type:"red",item:"40"},path:["color","red","40"]},45:{value:"#e00d06",original:{value:"#e00d06"},name:"ColorRed45",attributes:{category:"color",type:"red",item:"45"},path:["color","red","45"]},50:{value:"#f90e06",original:{value:"#f90e06"},name:"ColorRed50",attributes:{category:"color",type:"red",item:"50"},path:["color","red","50"]},55:{value:"#f9271f",original:{value:"#f9271f"},name:"ColorRed55",attributes:{category:"color",type:"red",item:"55"},path:["color","red","55"]},60:{value:"#fa3f38",original:{value:"#fa3f38"},name:"ColorRed60",attributes:{category:"color",type:"red",item:"60"},path:["color","red","60"]},65:{value:"#fb5751",original:{value:"#fb5751"},name:"ColorRed65",attributes:{category:"color",type:"red",item:"65"},path:["color","red","65"]},70:{value:"#fb6f6a",original:{value:"#fb6f6a"},name:"ColorRed70",attributes:{category:"color",type:"red",item:"70"},path:["color","red","70"]},75:{value:"#fc8783",original:{value:"#fc8783"},name:"ColorRed75",attributes:{category:"color",type:"red",item:"75"},path:["color","red","75"]},80:{value:"#fc9f9c",original:{value:"#fc9f9c"},name:"ColorRed80",attributes:{category:"color",type:"red",item:"80"},path:["color","red","80"]},85:{value:"#fdb7b4",original:{value:"#fdb7b4"},name:"ColorRed85",attributes:{category:"color",type:"red",item:"85"},path:["color","red","85"]},90:{value:"#fecfcd",original:{value:"#fecfcd"},name:"ColorRed90",attributes:{category:"color",type:"red",item:"90"},path:["color","red","90"]},95:{value:"#fee7e6",original:{value:"#fee7e6"},name:"ColorRed95",attributes:{category:"color",type:"red",item:"95"},path:["color","red","95"]}},yellow:{10:{value:"#322801",original:{value:"#322801"},name:"ColorYellow10",attributes:{category:"color",type:"yellow",item:"10"},path:["color","yellow","10"]},15:{value:"#4b3c02",original:{value:"#4b3c02"},name:"ColorYellow15",attributes:{category:"color",type:"yellow",item:"15"},path:["color","yellow","15"]},20:{value:"#645002",original:{value:"#645002"},name:"ColorYellow20",attributes:{category:"color",type:"yellow",item:"20"},path:["color","yellow","20"]},25:{value:"#7d6403",original:{value:"#7d6403"},name:"ColorYellow25",attributes:{category:"color",type:"yellow",item:"25"},path:["color","yellow","25"]},30:{value:"#957804",original:{value:"#957804"},name:"ColorYellow30",attributes:{category:"color",type:"yellow",item:"30"},path:["color","yellow","30"]},35:{value:"#ae8c04",original:{value:"#ae8c04"},name:"ColorYellow35",attributes:{category:"color",type:"yellow",item:"35"},path:["color","yellow","35"]},40:{value:"#c7a005",original:{value:"#c7a005"},name:"ColorYellow40",attributes:{category:"color",type:"yellow",item:"40"},path:["color","yellow","40"]},45:{value:"#e0b405",original:{value:"#e0b405"},name:"ColorYellow45",attributes:{category:"color",type:"yellow",item:"45"},path:["color","yellow","45"]},50:{value:"#f9c806",original:{value:"#f9c806"},name:"ColorYellow50",attributes:{category:"color",type:"yellow",item:"50"},path:["color","yellow","50"]},55:{value:"#facd1f",original:{value:"#facd1f"},name:"ColorYellow55",attributes:{category:"color",type:"yellow",item:"55"},path:["color","yellow","55"]},60:{value:"#fad338",original:{value:"#fad338"},name:"ColorYellow60",attributes:{category:"color",type:"yellow",item:"60"},path:["color","yellow","60"]},65:{value:"#fbd951",original:{value:"#fbd951"},name:"ColorYellow65",attributes:{category:"color",type:"yellow",item:"65"},path:["color","yellow","65"]},70:{value:"#fbde6a",original:{value:"#fbde6a"},name:"ColorYellow70",attributes:{category:"color",type:"yellow",item:"70"},path:["color","yellow","70"]},75:{value:"#fce383",original:{value:"#fce383"},name:"ColorYellow75",attributes:{category:"color",type:"yellow",item:"75"},path:["color","yellow","75"]},80:{value:"#fde99b",original:{value:"#fde99b"},name:"ColorYellow80",attributes:{category:"color",type:"yellow",item:"80"},path:["color","yellow","80"]},85:{value:"#fdeeb4",original:{value:"#fdeeb4"},name:"ColorYellow85",attributes:{category:"color",type:"yellow",item:"85"},path:["color","yellow","85"]},90:{value:"#fef4cd",original:{value:"#fef4cd"},name:"ColorYellow90",attributes:{category:"color",type:"yellow",item:"90"},path:["color","yellow","90"]},95:{value:"#fefae6",original:{value:"#fefae6"},name:"ColorYellow95",attributes:{category:"color",type:"yellow",item:"95"},path:["color","yellow","95"]}},background:{accordion:{normal:{value:"#ffffff",comment:"Background color of the accordion",original:{value:"#ffffff",comment:"Background color of the accordion"},name:"ColorBackgroundAccordionNormal",attributes:{category:"color",type:"background",item:"accordion",subitem:"normal"},path:["color","background","accordion","normal"]},hover:{value:"#f0f2f4",comment:"Background color of the accordion in hover state",original:{value:"{color.grey.95.value}",comment:"Background color of the accordion in hover state"},name:"ColorBackgroundAccordionHover",attributes:{category:"color",type:"background",item:"accordion",subitem:"hover"},path:["color","background","accordion","hover"]}},avatar:{value:"#3882fa",comment:"Background color of the avatar",original:{value:"{color.blue.60.value}",comment:"Background color of the avatar"},name:"ColorBackgroundAvatar",attributes:{category:"color",type:"background",item:"avatar"},path:["color","background","avatar"]},banner:{info:{value:"#e6effe",comment:"Background color of the info banner",original:{value:"{color.blue.95.value}",comment:"Background color of the info banner"},name:"ColorBackgroundBannerInfo",attributes:{category:"color",type:"background",item:"banner",subitem:"info"},path:["color","background","banner","info"]},warning:{value:"#fefae6",comment:"Background color of the warning banner",original:{value:"{color.yellow.95.value}",comment:"Background color of the warning banner"},name:"ColorBackgroundBannerWarning",attributes:{category:"color",type:"background",item:"banner",subitem:"warning"},path:["color","background","banner","warning"]},error:{value:"#fee7e6",comment:"Background color of the error banner",original:{value:"{color.red.95.value}",comment:"Background color of the error banner"},name:"ColorBackgroundBannerError",attributes:{category:"color",type:"background",item:"banner",subitem:"error"},path:["color","background","banner","error"]},success:{value:"#eefaeb",comment:"Background color of the success banner",original:{value:"{color.green.95.value}",comment:"Background color of the success banner"},name:"ColorBackgroundBannerSuccess",attributes:{category:"color",type:"background",item:"banner",subitem:"success"},path:["color","background","banner","success"]},emoji:{info:{value:"#ffffff",comment:"Background color of the info banner",original:{value:"#ffffff",comment:"Background color of the info banner"},name:"ColorBackgroundBannerEmojiInfo",attributes:{category:"color",type:"background",item:"banner",subitem:"emoji",state:"info"},path:["color","background","banner","emoji","info"]},warning:{value:"#ffffff",comment:"Background color of the warning banner",original:{value:"#ffffff",comment:"Background color of the warning banner"},name:"ColorBackgroundBannerEmojiWarning",attributes:{category:"color",type:"background",item:"banner",subitem:"emoji",state:"warning"},path:["color","background","banner","emoji","warning"]},error:{value:"#ffffff",comment:"Background color of the error banner",original:{value:"#ffffff",comment:"Background color of the error banner"},name:"ColorBackgroundBannerEmojiError",attributes:{category:"color",type:"background",item:"banner",subitem:"emoji",state:"error"},path:["color","background","banner","emoji","error"]},success:{value:"#ffffff",comment:"Background color of the success banner",original:{value:"#ffffff",comment:"Background color of the success banner"},name:"ColorBackgroundBannerEmojiSuccess",attributes:{category:"color",type:"background",item:"banner",subitem:"emoji",state:"success"},path:["color","background","banner","emoji","success"]}}},card:{value:"#ffffff",comment:"Background color of the card",original:{value:"#ffffff",comment:"Background color of the card"},name:"ColorBackgroundCard",attributes:{category:"color",type:"background",item:"card"},path:["color","background","card"]},"progress-bar":{container:{value:"#ffffff",comment:"Background color of the progress bar",original:{value:"#ffffff",comment:"Background color of the progress bar"},name:"ColorBackgroundProgressBarContainer",attributes:{category:"color",type:"background",item:"progress-bar",subitem:"container"},path:["color","background","progress-bar","container"]},buffer:{value:"#3882fa",comment:"Background color of the buffer of the progress bar",original:{value:"{color.blue.60.value}",comment:"Background color of the buffer of the progress bar"},name:"ColorBackgroundProgressBarBuffer",attributes:{category:"color",type:"background",item:"progress-bar",subitem:"buffer"},path:["color","background","progress-bar","buffer"]}},"snack-bar":{info:{value:"#e6effe",comment:"Background color of the info snack-bar",original:{value:"{color.blue.95.value}",comment:"Background color of the info snack-bar"},name:"ColorBackgroundSnackBarInfo",attributes:{category:"color",type:"background",item:"snack-bar",subitem:"info"},path:["color","background","snack-bar","info"]},warning:{value:"#fefae6",comment:"Background color of the warning snack-bar",original:{value:"{color.yellow.95.value}",comment:"Background color of the warning snack-bar"},name:"ColorBackgroundSnackBarWarning",attributes:{category:"color",type:"background",item:"snack-bar",subitem:"warning"},path:["color","background","snack-bar","warning"]},error:{value:"#fee7e6",comment:"Background color of the error snack-bar",original:{value:"{color.red.95.value}",comment:"Background color of the error snack-bar"},name:"ColorBackgroundSnackBarError",attributes:{category:"color",type:"background",item:"snack-bar",subitem:"error"},path:["color","background","snack-bar","error"]},success:{value:"#eefaeb",comment:"Background color of the success snack-bar",original:{value:"{color.green.95.value}",comment:"Background color of the success snack-bar"},name:"ColorBackgroundSnackBarSuccess",attributes:{category:"color",type:"background",item:"snack-bar",subitem:"success"},path:["color","background","snack-bar","success"]},emoji:{info:{value:"#ffffff",comment:"Background color of the info snack-bar",original:{value:"#ffffff",comment:"Background color of the info snack-bar"},name:"ColorBackgroundSnackBarEmojiInfo",attributes:{category:"color",type:"background",item:"snack-bar",subitem:"emoji",state:"info"},path:["color","background","snack-bar","emoji","info"]},warning:{value:"#ffffff",comment:"Background color of the warning snack-bar",original:{value:"#ffffff",comment:"Background color of the warning snack-bar"},name:"ColorBackgroundSnackBarEmojiWarning",attributes:{category:"color",type:"background",item:"snack-bar",subitem:"emoji",state:"warning"},path:["color","background","snack-bar","emoji","warning"]},error:{value:"#ffffff",comment:"Background color of the error snack-bar",original:{value:"#ffffff",comment:"Background color of the error snack-bar"},name:"ColorBackgroundSnackBarEmojiError",attributes:{category:"color",type:"background",item:"snack-bar",subitem:"emoji",state:"error"},path:["color","background","snack-bar","emoji","error"]},success:{value:"#ffffff",comment:"Background color of the success banner",original:{value:"#ffffff",comment:"Background color of the success banner"},name:"ColorBackgroundSnackBarEmojiSuccess",attributes:{category:"color",type:"background",item:"snack-bar",subitem:"emoji",state:"success"},path:["color","background","snack-bar","emoji","success"]}}},toggle:{container:{value:"#ffffff",comment:"Background color of the toggle",original:{value:"#ffffff",comment:"Background color of the toggle"},name:"ColorBackgroundToggleContainer",attributes:{category:"color",type:"background",item:"toggle",subitem:"container"},path:["color","background","toggle","container"]},selector:{normal:{value:"#000000",comment:"Background color of the toggle selector",original:{value:"#000000",comment:"Background color of the toggle selector"},name:"ColorBackgroundToggleSelectorNormal",attributes:{category:"color",type:"background",item:"toggle",subitem:"selector",state:"normal"},path:["color","background","toggle","selector","normal"]},hover:{value:"#f9c806",comment:"Background color of the toggle selector on hover",original:{value:"{color.yellow.50.value}",comment:"Background color of the toggle selector on hover"},name:"ColorBackgroundToggleSelectorHover",attributes:{category:"color",type:"background",item:"toggle",subitem:"selector",state:"hover"},path:["color","background","toggle","selector","hover"]},inactive:{value:"#3882fa",comment:"Background color of the toggle selector inactive",original:{value:"{color.blue.60.value}",comment:"Background color of the toggle selector inactive"},name:"ColorBackgroundToggleSelectorInactive",attributes:{category:"color",type:"background",item:"toggle",subitem:"selector",state:"inactive"},path:["color","background","toggle","selector","inactive"]}}}},border:{accordion:{value:"#f0f2f4",comment:"Border color of the accordion",original:{value:"{color.grey.95.value}",comment:"Border color of the accordion"},name:"ColorBorderAccordion",attributes:{category:"color",type:"border",item:"accordion"},path:["color","border","accordion"]},banner:{info:{value:"#9cc1fc",comment:"Border color of the info banner",original:{value:"{color.blue.80.value}",comment:"Border color of the info banner"},name:"ColorBorderBannerInfo",attributes:{category:"color",type:"border",item:"banner",subitem:"info"},path:["color","border","banner","info"]},warning:{value:"#fde99b",comment:"Border color of the warning banner",original:{value:"{color.yellow.80.value}",comment:"Border color of the warning banner"},name:"ColorBorderBannerWarning",attributes:{category:"color",type:"border",item:"banner",subitem:"warning"},path:["color","border","banner","warning"]},error:{value:"#fc9f9c",comment:"Border color of the error banner",original:{value:"{color.red.80.value}",comment:"Border color of the error banner"},name:"ColorBorderBannerError",attributes:{category:"color",type:"border",item:"banner",subitem:"error"},path:["color","border","banner","error"]},success:{value:"#bce9af",comment:"Border color of the success banner",original:{value:"{color.green.80.value}",comment:"Border color of the success banner"},name:"ColorBorderBannerSuccess",attributes:{category:"color",type:"border",item:"banner",subitem:"success"},path:["color","border","banner","success"]}},chip:{success:{value:"#bbebb4",comment:"Border color of the success chip",original:{value:"#bbebb4",comment:"Border color of the success chip"},name:"ColorBorderChipSuccess",attributes:{category:"color",type:"border",item:"chip",subitem:"success"},path:["color","border","chip","success"]},error:{value:"#fecfcd",comment:"Border color of the error chip",original:{value:"{color.red.90.value}",comment:"Border color of the error chip"},name:"ColorBorderChipError",attributes:{category:"color",type:"border",item:"chip",subitem:"error"},path:["color","border","chip","error"]},info:{value:"#cde0fe",comment:"Border color of the info chip",original:{value:"{color.blue.90.value}",comment:"Border color of the info chip"},name:"ColorBorderChipInfo",attributes:{category:"color",type:"border",item:"chip",subitem:"info"},path:["color","border","chip","info"]},message:{value:"#e2e6e9",comment:"Border color of the message chip",original:{value:"{color.grey.90.value}",comment:"Border color of the message chip"},name:"ColorBorderChipMessage",attributes:{category:"color",type:"border",item:"chip",subitem:"message"},path:["color","border","chip","message"]}},"list-header":{value:"#f0f2f4",comment:"Border color of the list header",original:{value:"{color.grey.95.value}",comment:"Border color of the list header"},name:"ColorBorderListHeader",attributes:{category:"color",type:"border",item:"list-header"},path:["color","border","list-header"]},"snack-bar":{info:{value:"#9cc1fc",comment:"Border color of the info snack-bar",original:{value:"{color.blue.80.value}",comment:"Border color of the info snack-bar"},name:"ColorBorderSnackBarInfo",attributes:{category:"color",type:"border",item:"snack-bar",subitem:"info"},path:["color","border","snack-bar","info"]},warning:{value:"#fde99b",comment:"Border color of the warning snack-bar",original:{value:"{color.yellow.80.value}",comment:"Border color of the warning snack-bar"},name:"ColorBorderSnackBarWarning",attributes:{category:"color",type:"border",item:"snack-bar",subitem:"warning"},path:["color","border","snack-bar","warning"]},error:{value:"#fc9f9c",comment:"Border color of the error snack-bar",original:{value:"{color.red.80.value}",comment:"Border color of the error snack-bar"},name:"ColorBorderSnackBarError",attributes:{category:"color",type:"border",item:"snack-bar",subitem:"error"},path:["color","border","snack-bar","error"]},success:{value:"#bce9af",comment:"Border color of the success snack-bar",original:{value:"{color.green.80.value}",comment:"Border color of the success snack-bar"},name:"ColorBorderSnackBarSuccess",attributes:{category:"color",type:"border",item:"snack-bar",subitem:"success"},path:["color","border","snack-bar","success"]}}},text:{banner:{info:{value:"#3882fa",comment:"Text color of the info banner",original:{value:"{color.blue.60.value}",comment:"Text color of the info banner"},name:"ColorTextBannerInfo",attributes:{category:"color",type:"text",item:"banner",subitem:"info"},path:["color","text","banner","info"]},warning:{value:"#fad338",comment:"Text color of the warning banner",original:{value:"{color.yellow.60.value}",comment:"Text color of the warning banner"},name:"ColorTextBannerWarning",attributes:{category:"color",type:"text",item:"banner",subitem:"warning"},path:["color","text","banner","warning"]},error:{value:"#fa3f38",comment:"Text color of the error banner",original:{value:"{color.red.60.value}",comment:"Text color of the error banner"},name:"ColorTextBannerError",attributes:{category:"color",type:"text",item:"banner",subitem:"error"},path:["color","text","banner","error"]},success:{value:"#7ad35f",comment:"Text color of the success banner",original:{value:"{color.green.60.value}",comment:"Text color of the success banner"},name:"ColorTextBannerSuccess",attributes:{category:"color",type:"text",item:"banner",subitem:"success"},path:["color","text","banner","success"]}},chip:{success:{value:"#4fd53a",comment:"Text color of the success chip",original:{value:"#4fd53a",comment:"Text color of the success chip"},name:"ColorTextChipSuccess",attributes:{category:"color",type:"text",item:"chip",subitem:"success"},path:["color","text","chip","success"]},error:{value:"#e00d06",comment:"Text color of the error chip",original:{value:"{color.red.45.value}",comment:"Text color of the error chip"},name:"ColorTextChipError",attributes:{category:"color",type:"text",item:"chip",subitem:"error"},path:["color","text","chip","error"]},info:{value:"#0659e0",comment:"Text color of the info chip",original:{value:"{color.blue.45.value}",comment:"Text color of the info chip"},name:"ColorTextChipInfo",attributes:{category:"color",type:"text",item:"chip",subitem:"info"},path:["color","text","chip","info"]},message:{value:"#627484",comment:"Text color of the message chip",original:{value:"{color.grey.45.value}",comment:"Text color of the message chip"},name:"ColorTextChipMessage",attributes:{category:"color",type:"text",item:"chip",subitem:"message"},path:["color","text","chip","message"]}},"list-header":{value:"#8a9aa8",comment:"Text color of the list header",original:{value:"{color.grey.60.value}",comment:"Text color of the list header"},name:"ColorTextListHeader",attributes:{category:"color",type:"text",item:"list-header"},path:["color","text","list-header"]},"snack-bar":{info:{value:"#3882fa",comment:"Text color of the info snack-bar",original:{value:"{color.blue.60.value}",comment:"Text color of the info snack-bar"},name:"ColorTextSnackBarInfo",attributes:{category:"color",type:"text",item:"snack-bar",subitem:"info"},path:["color","text","snack-bar","info"]},warning:{value:"#fad338",comment:"Text color of the warning snack-bar",original:{value:"{color.yellow.60.value}",comment:"Text color of the warning snack-bar"},name:"ColorTextSnackBarWarning",attributes:{category:"color",type:"text",item:"snack-bar",subitem:"warning"},path:["color","text","snack-bar","warning"]},error:{value:"#fa3f38",comment:"Text color of the error snack-bar",original:{value:"{color.red.60.value}",comment:"Text color of the error snack-bar"},name:"ColorTextSnackBarError",attributes:{category:"color",type:"text",item:"snack-bar",subitem:"error"},path:["color","text","snack-bar","error"]},success:{value:"#7ad35f",comment:"Text color of the success snack-bar",original:{value:"{color.green.60.value}",comment:"Text color of the success snack-bar"},name:"ColorTextSnackBarSuccess",attributes:{category:"color",type:"text",item:"snack-bar",subitem:"success"},path:["color","text","snack-bar","success"]}}},close:{icon:{info:{value:"#0659e0",comment:"Icon color of the close button",original:{value:"{color.blue.45.value}",comment:"Icon color of the close button"},name:"ColorCloseIconInfo",attributes:{category:"color",type:"close",item:"icon",subitem:"info"},path:["color","close","icon","info"]},warning:{value:"#e0b405",comment:"Icon color of the warning close button",original:{value:"{color.yellow.45.value}",comment:"Icon color of the warning close button"},name:"ColorCloseIconWarning",attributes:{category:"color",type:"close",item:"icon",subitem:"warning"},path:["color","close","icon","warning"]},error:{value:"#e00d06",comment:"Icon color of the error close button",original:{value:"{color.red.45.value}",comment:"Icon color of the error close button"},name:"ColorCloseIconError",attributes:{category:"color",type:"close",item:"icon",subitem:"error"},path:["color","close","icon","error"]},success:{value:"#50b431",comment:"Icon color of the success close button",original:{value:"{color.green.45.value}",comment:"Icon color of the success close button"},name:"ColorCloseIconSuccess",attributes:{category:"color",type:"close",item:"icon",subitem:"success"},path:["color","close","icon","success"]}},background:{info:{value:"#e6effe",comment:"Hover background color of the info close button",original:{value:"{color.blue.95.value}",comment:"Hover background color of the info close button"},name:"ColorCloseBackgroundInfo",attributes:{category:"color",type:"close",item:"background",subitem:"info"},path:["color","close","background","info"]},warning:{value:"#fefae6",comment:"Hover background color of the warning close buttonr",original:{value:"{color.yellow.95.value}",comment:"Hover background color of the warning close buttonr"},name:"ColorCloseBackgroundWarning",attributes:{category:"color",type:"close",item:"background",subitem:"warning"},path:["color","close","background","warning"]},error:{value:"#fee7e6",comment:"Hover background color of the error close button",original:{value:"{color.red.95.value}",comment:"Hover background color of the error close button"},name:"ColorCloseBackgroundError",attributes:{category:"color",type:"close",item:"background",subitem:"error"},path:["color","close","background","error"]},success:{value:"#eefaeb",comment:"Hover background color of the success close button",original:{value:"{color.green.95.value}",comment:"Hover background color of the success close button"},name:"ColorCloseBackgroundSuccess",attributes:{category:"color",type:"close",item:"background",subitem:"success"},path:["color","close","background","success"]}},ripple:{info:{value:"#cde0fe",comment:"Hover background color of the info close button",original:{value:"{color.blue.90.value}",comment:"Hover background color of the info close button"},name:"ColorCloseRippleInfo",attributes:{category:"color",type:"close",item:"ripple",subitem:"info"},path:["color","close","ripple","info"]},warning:{value:"#fef4cd",comment:"Hover background color of the warning close buttonr",original:{value:"{color.yellow.90.value}",comment:"Hover background color of the warning close buttonr"},name:"ColorCloseRippleWarning",attributes:{category:"color",type:"close",item:"ripple",subitem:"warning"},path:["color","close","ripple","warning"]},error:{value:"#fecfcd",comment:"Hover background color of the error close button",original:{value:"{color.red.90.value}",comment:"Hover background color of the error close button"},name:"ColorCloseRippleError",attributes:{category:"color",type:"close",item:"ripple",subitem:"error"},path:["color","close","ripple","error"]},success:{value:"#def4d7",comment:"Hover background color of the success close button",original:{value:"{color.green.90.value}",comment:"Hover background color of the success close button"},name:"ColorCloseRippleSuccess",attributes:{category:"color",type:"close",item:"ripple",subitem:"success"},path:["color","close","ripple","success"]}}}},elevation:{box:{s:{value:"0 2px 4px 0 rgba(0,0,0,0.15)",original:{value:"0 2px 4px 0 rgba(0,0,0,0.15)"},name:"ElevationBoxS",attributes:{category:"elevation",type:"box",item:"s"},path:["elevation","box","s"]},m:{value:"0 2px 8px 0 rgba(0,0,0,0.15)",original:{value:"0 2px 8px 0 rgba(0,0,0,0.15)"},name:"ElevationBoxM",attributes:{category:"elevation",type:"box",item:"m"},path:["elevation","box","m"]},l:{value:"0 2px 16px 0 rgba(0,0,0,0.15)",original:{value:"0 2px 16px 0 rgba(0,0,0,0.15)"},name:"ElevationBoxL",attributes:{category:"elevation",type:"box",item:"l"},path:["elevation","box","l"]},xl:{value:"0 2px 32px 0 rgba(0,0,0,0.15)",original:{value:"0 2px 32px 0 rgba(0,0,0,0.15)"},name:"ElevationBoxXl",attributes:{category:"elevation",type:"box",item:"xl"},path:["elevation","box","xl"]}},text:{s:{value:"0 1px 1px rgba(0,0,0,0.15)",original:{value:"0 1px 1px rgba(0,0,0,0.15)"},name:"ElevationTextS",attributes:{category:"elevation",type:"text",item:"s"},path:["elevation","text","s"]}}},height:{line:{12:{value:"12px",original:{value:"12px"},name:"HeightLine12",attributes:{category:"height",type:"line",item:"12"},path:["height","line","12"]},16:{value:"16px",original:{value:"16px"},name:"HeightLine16",attributes:{category:"height",type:"line",item:"16"},path:["height","line","16"]},20:{value:"20px",original:{value:"20px"},name:"HeightLine20",attributes:{category:"height",type:"line",item:"20"},path:["height","line","20"]},24:{value:"24px",original:{value:"24px"},name:"HeightLine24",attributes:{category:"height",type:"line",item:"24"},path:["height","line","24"]},26:{value:"26px",original:{value:"26px"},name:"HeightLine26",attributes:{category:"height",type:"line",item:"26"},path:["height","line","26"]},28:{value:"28px",original:{value:"28px"},name:"HeightLine28",attributes:{category:"height",type:"line",item:"28"},path:["height","line","28"]},30:{value:"30px",original:{value:"30px"},name:"HeightLine30",attributes:{category:"height",type:"line",item:"30"},path:["height","line","30"]},32:{value:"32px",original:{value:"32px"},name:"HeightLine32",attributes:{category:"height",type:"line",item:"32"},path:["height","line","32"]},36:{value:"36px",original:{value:"36px"},name:"HeightLine36",attributes:{category:"height",type:"line",item:"36"},path:["height","line","36"]},40:{value:"40px",original:{value:"40px"},name:"HeightLine40",attributes:{category:"height",type:"line",item:"40"},path:["height","line","40"]},44:{value:"44px",original:{value:"44px"},name:"HeightLine44",attributes:{category:"height",type:"line",item:"44"},path:["height","line","44"]},48:{value:"48px",original:{value:"48px"},name:"HeightLine48",attributes:{category:"height",type:"line",item:"48"},path:["height","line","48"]},52:{value:"52px",original:{value:"52px"},name:"HeightLine52",attributes:{category:"height",type:"line",item:"52"},path:["height","line","52"]},64:{value:"64px",original:{value:"64px"},name:"HeightLine64",attributes:{category:"height",type:"line",item:"64"},path:["height","line","64"]},68:{value:"68px",original:{value:"68px"},name:"HeightLine68",attributes:{category:"height",type:"line",item:"68"},path:["height","line","68"]},72:{value:"72px",original:{value:"72px"},name:"HeightLine72",attributes:{category:"height",type:"line",item:"72"},path:["height","line","72"]}}},size:{border:{s:{value:"0.0625rem",original:{value:"0.0625"},name:"SizeBorderS",attributes:{category:"size",type:"border",item:"s"},path:["size","border","s"]},m:{value:"0.125rem",original:{value:"0.125"},name:"SizeBorderM",attributes:{category:"size",type:"border",item:"m"},path:["size","border","m"]},l:{value:"0.1875rem",original:{value:"0.1875"},name:"SizeBorderL",attributes:{category:"size",type:"border",item:"l"},path:["size","border","l"]},xl:{value:"0.25rem",original:{value:"0.25"},name:"SizeBorderXl",attributes:{category:"size",type:"border",item:"xl"},path:["size","border","xl"]},accordion:{value:"0.0625rem",comment:"Size of the border of the accordion",original:{value:"{size.border.s.value}",comment:"Size of the border of the accordion"},name:"SizeBorderAccordion",attributes:{category:"size",type:"border",item:"accordion"},path:["size","border","accordion"]},banner:{value:"0.0625rem",comment:"Border size of the banner",original:{value:"{size.border.s.value}",comment:"Border size of the banner"},name:"SizeBorderBanner",attributes:{category:"size",type:"border",item:"banner"},path:["size","border","banner"]},chip:{value:"0.1875rem",comment:"Size of the border of the chip",original:{value:"{size.border.l.value}",comment:"Size of the border of the chip"},name:"SizeBorderChip",attributes:{category:"size",type:"border",item:"chip"},path:["size","border","chip"]},"list-header":{value:"0.0625rem",comment:"Size of the border of the list header",original:{value:"{size.border.s.value}",comment:"Size of the border of the list header"},name:"SizeBorderListHeader",attributes:{category:"size",type:"border",item:"list-header"},path:["size","border","list-header"]},"snack-bar":{value:"0.0625rem",comment:"Border size of the snack-bar",original:{value:"{size.border.s.value}",comment:"Border size of the snack-bar"},name:"SizeBorderSnackBar",attributes:{category:"size",type:"border",item:"snack-bar"},path:["size","border","snack-bar"]}},font:{12:{value:"0.75rem",original:{value:"0.75rem"},name:"SizeFont12",attributes:{category:"size",type:"font",item:"12"},path:["size","font","12"]},14:{value:"0.875rem",original:{value:"0.875rem"},name:"SizeFont14",attributes:{category:"size",type:"font",item:"14"},path:["size","font","14"]},16:{value:"1rem",original:{value:"1"},name:"SizeFont16",attributes:{category:"size",type:"font",item:"16"},path:["size","font","16"]},18:{value:"1.125rem",original:{value:"1.125rem"},name:"SizeFont18",attributes:{category:"size",type:"font",item:"18"},path:["size","font","18"]},20:{value:"1.25rem",original:{value:"1.25rem"},name:"SizeFont20",attributes:{category:"size",type:"font",item:"20"},path:["size","font","20"]},24:{value:"1.5rem",original:{value:"1.5rem"},name:"SizeFont24",attributes:{category:"size",type:"font",item:"24"},path:["size","font","24"]},28:{value:"1.75rem",original:{value:"1.75rem"},name:"SizeFont28",attributes:{category:"size",type:"font",item:"28"},path:["size","font","28"]},32:{value:"2rem",original:{value:"2rem"},name:"SizeFont32",attributes:{category:"size",type:"font",item:"32"},path:["size","font","32"]},36:{value:"2.25rem",original:{value:"2.25rem"},name:"SizeFont36",attributes:{category:"size",type:"font",item:"36"},path:["size","font","36"]},40:{value:"2.5rem",original:{value:"2.5rem"},name:"SizeFont40",attributes:{category:"size",type:"font",item:"40"},path:["size","font","40"]},52:{value:"3.25rem",original:{value:"3.25rem"},name:"SizeFont52",attributes:{category:"size",type:"font",item:"52"},path:["size","font","52"]},60:{value:"3.75rem",original:{value:"3.75rem"},name:"SizeFont60",attributes:{category:"size",type:"font",item:"60"},path:["size","font","60"]},base:{value:"1rem",original:{value:"{size.font.16.value}"},name:"SizeFontBase",attributes:{category:"size",type:"font",item:"base"},path:["size","font","base"]},normal:{xs:{value:"0.75rem",original:{value:"{size.font.12.value}"},name:"SizeFontNormalXs",attributes:{category:"size",type:"font",item:"normal",subitem:"xs"},path:["size","font","normal","xs"]},s:{value:"0.875rem",original:{value:"{size.font.14.value}"},name:"SizeFontNormalS",attributes:{category:"size",type:"font",item:"normal",subitem:"s"},path:["size","font","normal","s"]},m:{value:"1rem",original:{value:"{size.font.16.value}"},name:"SizeFontNormalM",attributes:{category:"size",type:"font",item:"normal",subitem:"m"},path:["size","font","normal","m"]},l:{value:"1.125rem",original:{value:"{size.font.18.value}"},name:"SizeFontNormalL",attributes:{category:"size",type:"font",item:"normal",subitem:"l"},path:["size","font","normal","l"]}},large:{xs:{value:"1.25rem",original:{value:"{size.font.20.value}"},name:"SizeFontLargeXs",attributes:{category:"size",type:"font",item:"large",subitem:"xs"},path:["size","font","large","xs"]},s:{value:"1.5rem",original:{value:"{size.font.24.value}"},name:"SizeFontLargeS",attributes:{category:"size",type:"font",item:"large",subitem:"s"},path:["size","font","large","s"]},m:{value:"1.75rem",original:{value:"{size.font.28.value}"},name:"SizeFontLargeM",attributes:{category:"size",type:"font",item:"large",subitem:"m"},path:["size","font","large","m"]},l:{value:"2rem",original:{value:"{size.font.32.value}"},name:"SizeFontLargeL",attributes:{category:"size",type:"font",item:"large",subitem:"l"},path:["size","font","large","l"]}},"extra-large":{xs:{value:"2.25rem",original:{value:"{size.font.36.value}"},name:"SizeFontExtraLargeXs",attributes:{category:"size",type:"font",item:"extra-large",subitem:"xs"},path:["size","font","extra-large","xs"]},s:{value:"2.5rem",original:{value:"{size.font.40.value}"},name:"SizeFontExtraLargeS",attributes:{category:"size",type:"font",item:"extra-large",subitem:"s"},path:["size","font","extra-large","s"]},m:{value:"3.25rem",original:{value:"{size.font.52.value}"},name:"SizeFontExtraLargeM",attributes:{category:"size",type:"font",item:"extra-large",subitem:"m"},path:["size","font","extra-large","m"]},l:{value:"3.75rem",original:{value:"{size.font.60.value}"},name:"SizeFontExtraLargeL",attributes:{category:"size",type:"font",item:"extra-large",subitem:"l"},path:["size","font","extra-large","l"]}}},"break-point":{s:{min:{value:"20rem",original:{value:"20"},name:"SizeBreakPointSMin",attributes:{category:"size",type:"break-point",item:"s",subitem:"min"},path:["size","break-point","s","min"]},max:{value:"39.9375rem",original:{value:"39.9375"},name:"SizeBreakPointSMax",attributes:{category:"size",type:"break-point",item:"s",subitem:"max"},path:["size","break-point","s","max"]}},m:{min:{value:"40rem",original:{value:"40"},name:"SizeBreakPointMMin",attributes:{category:"size",type:"break-point",item:"m",subitem:"min"},path:["size","break-point","m","min"]},max:{value:"59.9375rem",original:{value:"59.9375"},name:"SizeBreakPointMMax",attributes:{category:"size",type:"break-point",item:"m",subitem:"max"},path:["size","break-point","m","max"]}},l:{min:{value:"60rem",original:{value:"60"},name:"SizeBreakPointLMin",attributes:{category:"size",type:"break-point",item:"l",subitem:"min"},path:["size","break-point","l","min"]},max:{value:"9999rem",original:{value:"9999"},name:"SizeBreakPointLMax",attributes:{category:"size",type:"break-point",item:"l",subitem:"max"},path:["size","break-point","l","max"]}}},radius:{100:{value:"100rem",original:{value:"100px"},name:"SizeRadius100",attributes:{category:"size",type:"radius",item:"100"},path:["size","radius","100"]},avatar:{value:"100rem",comment:"Radius of the avatar",original:{value:"{size.radius.100.value}",comment:"Radius of the avatar"},name:"SizeRadiusAvatar",attributes:{category:"size",type:"radius",item:"avatar"},path:["size","radius","avatar"]}},spacing:{none:{value:"0rem",original:{value:"0"},name:"SizeSpacingNone",attributes:{category:"size",type:"spacing",item:"none"},path:["size","spacing","none"]},xs:{value:"0.25rem",original:{value:"0.25"},name:"SizeSpacingXs",attributes:{category:"size",type:"spacing",item:"xs"},path:["size","spacing","xs"]},s:{value:"0.5rem",original:{value:"0.5"},name:"SizeSpacingS",attributes:{category:"size",type:"spacing",item:"s"},path:["size","spacing","s"]},m:{value:"1rem",original:{value:"1"},name:"SizeSpacingM",attributes:{category:"size",type:"spacing",item:"m"},path:["size","spacing","m"]},l:{value:"1.5rem",original:{value:"1.5"},name:"SizeSpacingL",attributes:{category:"size",type:"spacing",item:"l"},path:["size","spacing","l"]},xl:{value:"2rem",original:{value:"2"},name:"SizeSpacingXl",attributes:{category:"size",type:"spacing",item:"xl"},path:["size","spacing","xl"]},xxl:{value:"2.5rem",original:{value:"2.5"},name:"SizeSpacingXxl",attributes:{category:"size",type:"spacing",item:"xxl"},path:["size","spacing","xxl"]},xxxl:{value:"3rem",original:{value:"3"},name:"SizeSpacingXxxl",attributes:{category:"size",type:"spacing",item:"xxxl"},path:["size","spacing","xxxl"]}},padding:{accordion:{value:"1.5rem",comment:"Padding of the accordion container",original:{value:"{size.spacing.l.value}",comment:"Padding of the accordion container"},name:"SizePaddingAccordion",attributes:{category:"size",type:"padding",item:"accordion"},path:["size","padding","accordion"]},vertical:{banner:{value:"1.5rem",comment:"Top and bottom padding of the banner container",original:{value:"{size.spacing.l.value}",comment:"Top and bottom padding of the banner container"},name:"SizePaddingVerticalBanner",attributes:{category:"size",type:"padding",item:"vertical",subitem:"banner"},path:["size","padding","vertical","banner"]},"snack-bar":{value:"1.5rem",comment:"Top and bottom padding of the snack-bar container",original:{value:"{size.spacing.l.value}",comment:"Top and bottom padding of the snack-bar container"},name:"SizePaddingVerticalSnackBar",attributes:{category:"size",type:"padding",item:"vertical",subitem:"snack-bar"},path:["size","padding","vertical","snack-bar"]}},horizontal:{banner:{value:"1.5rem",comment:"Left and right padding of the banner container",original:{value:"{size.spacing.l.value}",comment:"Left and right padding of the banner container"},name:"SizePaddingHorizontalBanner",attributes:{category:"size",type:"padding",item:"horizontal",subitem:"banner"},path:["size","padding","horizontal","banner"]},"snack-bar":{value:"1.5rem",comment:"Left and right padding of the snack-bar container",original:{value:"{size.spacing.l.value}",comment:"Left and right padding of the snack-bar container"},name:"SizePaddingHorizontalSnackBar",attributes:{category:"size",type:"padding",item:"horizontal",subitem:"snack-bar"},path:["size","padding","horizontal","snack-bar"]}},chip:{horizontal:{value:"0.5rem",comment:"Horizontal padding of the text of the chip",original:{value:"{size.spacing.s.value}",comment:"Horizontal padding of the text of the chip"},name:"SizePaddingChipHorizontal",attributes:{category:"size",type:"padding",item:"chip",subitem:"horizontal"},path:["size","padding","chip","horizontal"]}},"list-header":{horizontal:{value:"0rem",comment:"Horizontal padding of the list header",original:{value:"{size.spacing.none.value}",comment:"Horizontal padding of the list header"},name:"SizePaddingListHeaderHorizontal",attributes:{category:"size",type:"padding",item:"list-header",subitem:"horizontal"},path:["size","padding","list-header","horizontal"]},vertical:{value:"0.25rem",comment:"Horizontal padding of the list header",original:{value:"{size.spacing.xs.value}",comment:"Horizontal padding of the list header"},name:"SizePaddingListHeaderVertical",attributes:{category:"size",type:"padding",item:"list-header",subitem:"vertical"},path:["size","padding","list-header","vertical"]}}},margin:{accordion:{active:{inset:{value:"1rem",comment:"Margin left and right of the accordion container when inset",original:{value:"{size.spacing.m.value}",comment:"Margin left and right of the accordion container when inset"},name:"SizeMarginAccordionActiveInset",attributes:{category:"size",type:"margin",item:"accordion",subitem:"active",state:"inset"},path:["size","margin","accordion","active","inset"]},vertical:{value:"1rem",comment:"Margin top and bottom of the accordion container when expand",original:{value:"{size.spacing.m.value}",comment:"Margin top and bottom of the accordion container when expand"},name:"SizeMarginAccordionActiveVertical",attributes:{category:"size",type:"margin",item:"accordion",subitem:"active",state:"vertical"},path:["size","margin","accordion","active","vertical"]}}}},height:{chip:{value:"1.5rem",comment:"Height of the chip",original:{value:"1.5",comment:"Height of the chip"},name:"SizeHeightChip",attributes:{category:"size",type:"height",item:"chip"},path:["size","height","chip"]},"progress-bar":{s:{value:"0.125rem",comment:"Height of the progress bar",original:{value:"0.125",comment:"Height of the progress bar"},name:"SizeHeightProgressBarS",attributes:{category:"size",type:"height",item:"progress-bar",subitem:"s"},path:["size","height","progress-bar","s"]}}}},space:{letter:{null:{value:"0rem",original:{value:"0rem"},name:"SpaceLetterNull",attributes:{category:"space",type:"letter",item:"null"},path:["space","letter","null"]},s:{value:"0.01rem",original:{value:"0.01rem"},name:"SpaceLetterS",attributes:{category:"space",type:"letter",item:"s"},path:["space","letter","s"]},m:{value:"0.2rem",original:{value:"0.2rem"},name:"SpaceLetterM",attributes:{category:"space",type:"letter",item:"m"},path:["space","letter","m"]}}},transition:{duration:{s:{value:"0.1s",original:{value:"0.1s"},name:"TransitionDurationS",attributes:{category:"transition",type:"duration",item:"s"},path:["transition","duration","s"]},m:{value:"0.2s",original:{value:"0.2s"},name:"TransitionDurationM",attributes:{category:"transition",type:"duration",item:"m"},path:["transition","duration","m"]},l:{value:"0.5s",original:{value:"0.5s"},name:"TransitionDurationL",attributes:{category:"transition",type:"duration",item:"l"},path:["transition","duration","l"]},xl:{value:"1s",original:{value:"1s"},name:"TransitionDurationXl",attributes:{category:"transition",type:"duration",item:"xl"},path:["transition","duration","xl"]},xxl:{value:"2s",original:{value:"2s"},name:"TransitionDurationXxl",attributes:{category:"transition",type:"duration",item:"xxl"},path:["transition","duration","xxl"]}},function:{ease:{value:"ease",comment:"Transition effect with a slow start, then fast, then end slowly",original:{value:"ease",comment:"Transition effect with a slow start, then fast, then end slowly"},name:"TransitionFunctionEase",attributes:{category:"transition",type:"function",item:"ease"},path:["transition","function","ease"]},"ease-in":{value:"ease-in",comment:"Transition effect with a slow start",original:{value:"ease-in",comment:"Transition effect with a slow start"},name:"TransitionFunctionEaseIn",attributes:{category:"transition",type:"function",item:"ease-in"},path:["transition","function","ease-in"]},"ease-out":{value:"ease-out",comment:"Transition effect with a slow end",original:{value:"ease-out",comment:"Transition effect with a slow end"},name:"TransitionFunctionEaseOut",attributes:{category:"transition",type:"function",item:"ease-out"},path:["transition","function","ease-out"]},"ease-in-out":{value:"ease-in-out",comment:"Transition effect with a slow start and end",original:{value:"ease-in-out",comment:"Transition effect with a slow start and end"},name:"TransitionFunctionEaseInOut",attributes:{category:"transition",type:"function",item:"ease-in-out"},path:["transition","function","ease-in-out"]},linear:{value:"linear",comment:"Transition effect with the same speed from start to end",original:{value:"linear",comment:"Transition effect with the same speed from start to end"},name:"TransitionFunctionLinear",attributes:{category:"transition",type:"function",item:"linear"},path:["transition","function","linear"]}},transform:{rotate:{90:{value:"rotate(90deg)",original:{value:"rotate(90deg)"},name:"TransitionTransformRotate90",attributes:{category:"transition",type:"transform",item:"rotate",subitem:"90"},path:["transition","transform","rotate","90"]},180:{value:"rotate(180deg)",original:{value:"rotate(180deg)"},name:"TransitionTransformRotate180",attributes:{category:"transition",type:"transform",item:"rotate",subitem:"180"},path:["transition","transform","rotate","180"]},270:{value:"rotate(270deg)",original:{value:"rotate(270deg)"},name:"TransitionTransformRotate270",attributes:{category:"transition",type:"transform",item:"rotate",subitem:"270"},path:["transition","transform","rotate","270"]},360:{value:"rotate(360deg)",original:{value:"rotate(360deg)"},name:"TransitionTransformRotate360",attributes:{category:"transition",type:"transform",item:"rotate",subitem:"360"},path:["transition","transform","rotate","360"]}},accordion:{icon:{value:"rotate(180deg)",comment:"Transform of the icon when the accordion expands and collapse",original:{value:"{transition.transform.rotate.180.value}",comment:"Transform of the icon when the accordion expands and collapse"},name:"TransitionTransformAccordionIcon",attributes:{category:"transition",type:"transform",item:"accordion",subitem:"icon"},path:["transition","transform","accordion","icon"]}},avatar:{icon:{value:"rotate(180deg)",comment:"Transform of the icon when the avatar is active",original:{value:"{transition.transform.rotate.180.value}",comment:"Transform of the icon when the avatar is active"},name:"TransitionTransformAvatarIcon",attributes:{category:"transition",type:"transform",item:"avatar",subitem:"icon"},path:["transition","transform","avatar","icon"]}}},types:{fade:{value:"opacity 0.2s ease",original:{value:"opacity {transition.duration.m.value} {transition.function.ease.value}"},name:"TransitionTypesFade",attributes:{category:"transition",type:"types",item:"fade"},path:["transition","types","fade"]},transform:{value:"transform 0.2s ease",original:{value:"transform {transition.duration.m.value} {transition.function.ease.value}"},name:"TransitionTypesTransform",attributes:{category:"transition",type:"types",item:"transform"},path:["transition","types","transform"]},width:{value:"width 0.2s ease",original:{value:"width {transition.duration.m.value} {transition.function.ease.value}"},name:"TransitionTypesWidth",attributes:{category:"transition",type:"types",item:"width"},path:["transition","types","width"]}},expand:{accordion:{icon:{value:"transform 0.2s ease-in",comment:"Transition of the icon when the accordion expands and collapse",original:{value:"transform {transition.duration.m.value} {transition.function.ease-in.value}",comment:"Transition of the icon when the accordion expands and collapse"},name:"TransitionExpandAccordionIcon",attributes:{category:"transition",type:"expand",item:"accordion",subitem:"icon"},path:["transition","expand","accordion","icon"]},duration:{value:.2,original:{value:.2},name:"TransitionExpandAccordionDuration",attributes:{category:"transition",type:"expand",item:"accordion",subitem:"duration"},path:["transition","expand","accordion","duration"]}}},avatar:{icon:{value:"transform 0.2s ease-in",comment:"Transition of the icon when the avatar is active",original:{value:"transform {transition.duration.m.value} {transition.function.ease-in.value}",comment:"Transition of the icon when the avatar is active"},name:"TransitionAvatarIcon",attributes:{category:"transition",type:"avatar",item:"icon"},path:["transition","avatar","icon"]}}},weight:{font:{light:{value:"300",original:{value:"300"},name:"WeightFontLight",attributes:{category:"weight",type:"font",item:"light"},path:["weight","font","light"]},regular:{value:"400",original:{value:"400"},name:"WeightFontRegular",attributes:{category:"weight",type:"font",item:"regular"},path:["weight","font","regular"]},book:{value:"500",original:{value:"500"},name:"WeightFontBook",attributes:{category:"weight",type:"font",item:"book"},path:["weight","font","book"]},medium:{value:"600",original:{value:"600"},name:"WeightFontMedium",attributes:{category:"weight",type:"font",item:"medium"},path:["weight","font","medium"]},bold:{value:"700",original:{value:"700"},name:"WeightFontBold",attributes:{category:"weight",type:"font",item:"bold"},path:["weight","font","bold"]}}},shadow:{box:{accordion:{normal:{value:"0 2px 4px 0 rgba(0,0,0,0.15)",comment:"Box shadow of the accordion in normal state",original:{value:"{elevation.box.s.value}",comment:"Box shadow of the accordion in normal state"},name:"ShadowBoxAccordionNormal",attributes:{category:"shadow",type:"box",item:"accordion",subitem:"normal"},path:["shadow","box","accordion","normal"]}},banner:{value:"0 2px 4px 0 rgba(0,0,0,0.15)",comment:"Box shadow of the banner",original:{value:"{elevation.box.s.value}",comment:"Box shadow of the banner"},name:"ShadowBoxBanner",attributes:{category:"shadow",type:"box",item:"banner"},path:["shadow","box","banner"]},card:{value:"0 2px 4px 0 rgba(0,0,0,0.15)",comment:"Box shadow of the card",original:{value:"{elevation.box.s.value}",comment:"Box shadow of the card"},name:"ShadowBoxCard",attributes:{category:"shadow",type:"box",item:"card"},path:["shadow","box","card"]},"snack-bar":{value:"0 2px 4px 0 rgba(0,0,0,0.15)",comment:"Box shadow of the snack-bar",original:{value:"{elevation.box.s.value}",comment:"Box shadow of the snack-bar"},name:"ShadowBoxSnackBar",attributes:{category:"shadow",type:"box",item:"snack-bar"},path:["shadow","box","snack-bar"]}}}}},"17c2":function(t,e,r){"use strict";var i=r("b727").forEach,a=r("a640"),n=r("ae40"),s=a("forEach"),o=n("forEach");t.exports=s&&o?[].forEach:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}},"1be4":function(t,e,r){var i=r("d066");t.exports=i("document","documentElement")},"1c0b":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},"1d80":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"1dde":function(t,e,r){var i=r("d039"),a=r("b622"),n=r("2d00"),s=a("species");t.exports=function(t){return n>=51||!i((function(){var e=[],r=e.constructor={};return r[s]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},2155:function(t,e,r){"use strict";var i=r("9702"),a=r.n(i);a.a},"23cb":function(t,e,r){var i=r("a691"),a=Math.max,n=Math.min;t.exports=function(t,e){var r=i(t);return r<0?a(r+e,0):n(r,e)}},"23e7":function(t,e,r){var i=r("da84"),a=r("06cf").f,n=r("9112"),s=r("6eeb"),o=r("ce4e"),l=r("e893"),h=r("94ca");t.exports=function(t,e){var r,c,u,p,f,d,m=t.target,g=t.global,v=t.stat;if(c=g?i:v?i[m]||o(m,{}):(i[m]||{}).prototype,c)for(u in e){if(f=e[u],t.noTargetGet?(d=a(c,u),p=d&&d.value):p=c[u],r=h(g?u:m+(v?".":"#")+u,t.forced),!r&&void 0!==p){if(typeof f===typeof p)continue;l(f,p)}(t.sham||p&&p.sham)&&n(f,"sham",!0),s(c,u,f,t)}}},"241c":function(t,e,r){var i=r("ca84"),a=r("7839"),n=a.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,n)}},2532:function(t,e,r){"use strict";var i=r("23e7"),a=r("5a34"),n=r("1d80"),s=r("ab13");i({target:"String",proto:!0,forced:!s("includes")},{includes:function(t){return!!~String(n(this)).indexOf(a(t),arguments.length>1?arguments[1]:void 0)}})},2593:function(t){t.exports=JSON.parse('{"code":"en","messages":{"alpha":"The {_field_} field may only contain alphabetic characters","alpha_num":"The {_field_} field may only contain alpha-numeric characters","alpha_dash":"The {_field_} field may contain alpha-numeric characters as well as dashes and underscores","alpha_spaces":"The {_field_} field may only contain alphabetic characters as well as spaces","between":"The {_field_} field must be between {min} and {max}","confirmed":"The {_field_} field confirmation does not match","digits":"The {_field_} field must be numeric and exactly contain {length} digits","dimensions":"The {_field_} field must be {width} pixels by {height} pixels","email":"The {_field_} field must be a valid email","excluded":"The {_field_} field is not a valid value","ext":"The {_field_} field is not a valid file","image":"The {_field_} field must be an image","integer":"The {_field_} field must be an integer","length":"The {_field_} field must be {length} long","max_value":"The {_field_} field must be {max} or less","max":"The {_field_} field may not be greater than {length} characters","mimes":"The {_field_} field must have a valid file type","min_value":"The {_field_} field must be {min} or more","min":"The {_field_} field must be at least {length} characters","numeric":"The {_field_} field may only contain numeric characters","oneOf":"The {_field_} field is not a valid value","regex":"The {_field_} field format is invalid","required_if":"The {_field_} field is required","required":"The {_field_} field is required","size":"The {_field_} field size must be less than {size}KB"}}')},"25ab":function(t,e,r){},"25f0":function(t,e,r){"use strict";var i=r("6eeb"),a=r("825a"),n=r("d039"),s=r("ad6d"),o="toString",l=RegExp.prototype,h=l[o],c=n((function(){return"/a/b"!=h.call({source:"a",flags:"b"})})),u=h.name!=o;(c||u)&&i(RegExp.prototype,o,(function(){var t=a(this),e=String(t.source),r=t.flags,i=String(void 0===r&&t instanceof RegExp&&!("flags"in l)?s.call(t):r);return"/"+e+"/"+i}),{unsafe:!0})},"27e2":function(t,e,r){"use strict";var i=r("fd58"),a=r.n(i);a.a},"28a3":function(t,e,r){"use strict";var i=r("8e91"),a=r.n(i);a.a},"2c29":function(t,e,r){"use strict";var i=r("25ab"),a=r.n(i);a.a},"2d00":function(t,e,r){var i,a,n=r("da84"),s=r("342f"),o=n.process,l=o&&o.versions,h=l&&l.v8;h?(i=h.split("."),a=i[0]+i[1]):s&&(i=s.match(/Edge\/(\d+)/),(!i||i[1]>=74)&&(i=s.match(/Chrome\/(\d+)/),i&&(a=i[1]))),t.exports=a&&+a},"2e4f":function(t,e,r){},"342f":function(t,e,r){var i=r("d066");t.exports=i("navigator","userAgent")||""},"37e8":function(t,e,r){var i=r("83ab"),a=r("9bf2"),n=r("825a"),s=r("df75");t.exports=i?Object.defineProperties:function(t,e){n(t);var r,i=s(e),o=i.length,l=0;while(o>l)a.f(t,r=i[l++],e[r]);return t}},"3bbe":function(t,e,r){var i=r("861d");t.exports=function(t){if(!i(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},"3f8c":function(t,e){t.exports={}},4069:function(t,e,r){var i=r("44d2");i("flat")},"408a":function(t,e,r){var i=r("c6b6");t.exports=function(t){if("number"!=typeof t&&"Number"!=i(t))throw TypeError("Incorrect invocation");return+t}},4160:function(t,e,r){"use strict";var i=r("23e7"),a=r("17c2");i({target:"Array",proto:!0,forced:[].forEach!=a},{forEach:a})},"428f":function(t,e,r){var i=r("da84");t.exports=i},"44ad":function(t,e,r){var i=r("d039"),a=r("c6b6"),n="".split;t.exports=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==a(t)?n.call(t,""):Object(t)}:Object},"44d2":function(t,e,r){var i=r("b622"),a=r("7c73"),n=r("9bf2"),s=i("unscopables"),o=Array.prototype;void 0==o[s]&&n.f(o,s,{configurable:!0,value:a(null)}),t.exports=function(t){o[s][t]=!0}},"44e7":function(t,e,r){var i=r("861d"),a=r("c6b6"),n=r("b622"),s=n("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[s])?!!e:"RegExp"==a(t))}},4840:function(t,e,r){var i=r("825a"),a=r("1c0b"),n=r("b622"),s=n("species");t.exports=function(t,e){var r,n=i(t).constructor;return void 0===n||void 0==(r=i(n)[s])?e:a(r)}},4930:function(t,e,r){var i=r("d039");t.exports=!!Object.getOwnPropertySymbols&&!i((function(){return!String(Symbol())}))},"4a20":function(t,e,r){},"4d45":function(t,e,r){"use strict";var i=r("2e4f"),a=r.n(i);a.a},"4d64":function(t,e,r){var i=r("fc6a"),a=r("50c4"),n=r("23cb"),s=function(t){return function(e,r,s){var o,l=i(e),h=a(l.length),c=n(s,h);if(t&&r!=r){while(h>c)if(o=l[c++],o!=o)return!0}else for(;h>c;c++)if((t||c in l)&&l[c]===r)return t||c||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},"4de4":function(t,e,r){"use strict";var i=r("23e7"),a=r("b727").filter,n=r("1dde"),s=r("ae40"),o=n("filter"),l=s("filter");i({target:"Array",proto:!0,forced:!o||!l},{filter:function(t){return a(this,t,arguments.length>1?arguments[1]:void 0)}})},"50c4":function(t,e,r){var i=r("a691"),a=Math.min;t.exports=function(t){return t>0?a(i(t),9007199254740991):0}},5135:function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},5319:function(t,e,r){"use strict";var i=r("d784"),a=r("825a"),n=r("7b0b"),s=r("50c4"),o=r("a691"),l=r("1d80"),h=r("8aa5"),c=r("14c3"),u=Math.max,p=Math.min,f=Math.floor,d=/\$([$&'`]|\d\d?|<[^>]*>)/g,m=/\$([$&'`]|\d\d?)/g,g=function(t){return void 0===t?t:String(t)};i("replace",2,(function(t,e,r,i){var v=i.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,y=i.REPLACE_KEEPS_$0,b=v?"$":"$0";return[function(r,i){var a=l(this),n=void 0==r?void 0:r[t];return void 0!==n?n.call(r,a,i):e.call(String(a),r,i)},function(t,i){if(!v&&y||"string"===typeof i&&-1===i.indexOf(b)){var n=r(e,t,this,i);if(n.done)return n.value}var l=a(t),f=String(this),d="function"===typeof i;d||(i=String(i));var m=l.global;if(m){var x=l.unicode;l.lastIndex=0}var E=[];while(1){var S=c(l,f);if(null===S)break;if(E.push(S),!m)break;var k=String(S[0]);""===k&&(l.lastIndex=h(f,s(l.lastIndex),x))}for(var C="",w=0,T=0;T<E.length;T++){S=E[T];for(var P=String(S[0]),A=u(p(o(S.index),f.length),0),M=[],D=1;D<S.length;D++)M.push(g(S[D]));var F=S.groups;if(d){var I=[P].concat(M,A,f);void 0!==F&&I.push(F);var B=String(i.apply(void 0,I))}else B=_(P,f,A,M,F,i);A>=w&&(C+=f.slice(w,A)+B,w=A+P.length)}return C+f.slice(w)}];function _(t,r,i,a,s,o){var l=i+t.length,h=a.length,c=m;return void 0!==s&&(s=n(s),c=d),e.call(o,c,(function(e,n){var o;switch(n.charAt(0)){case"$":return"$";case"&":return t;case"`":return r.slice(0,i);case"'":return r.slice(l);case"<":o=s[n.slice(1,-1)];break;default:var c=+n;if(0===c)return e;if(c>h){var u=f(c/10);return 0===u?e:u<=h?void 0===a[u-1]?n.charAt(1):a[u-1]+n.charAt(1):e}o=a[c-1]}return void 0===o?"":o}))}}))},5692:function(t,e,r){var i=r("c430"),a=r("c6cd");(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.4",mode:i?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(t,e,r){var i=r("d066"),a=r("241c"),n=r("7418"),s=r("825a");t.exports=i("Reflect","ownKeys")||function(t){var e=a.f(s(t)),r=n.f;return r?e.concat(r(t)):e}},5899:function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"58a8":function(t,e,r){var i=r("1d80"),a=r("5899"),n="["+a+"]",s=RegExp("^"+n+n+"*"),o=RegExp(n+n+"*$"),l=function(t){return function(e){var r=String(i(e));return 1&t&&(r=r.replace(s,"")),2&t&&(r=r.replace(o,"")),r}};t.exports={start:l(1),end:l(2),trim:l(3)}},"5a17":function(t){t.exports=JSON.parse('{"code":"es","messages":{"alpha":"El campo {_field_} solo debe contener letras","alpha_dash":"El campo {_field_} solo debe contener letras, números y guiones","alpha_num":"El campo {_field_} solo debe contener letras y números","alpha_spaces":"El campo {_field_} solo debe contener letras y espacios","between":"El campo {_field_} debe estar entre {min} y {max}","confirmed":"El campo {_field_} no coincide","digits":"El campo {_field_} debe ser numérico y contener exactamente {length} dígitos","dimensions":"El campo {_field_} debe ser de {width} píxeles por {height} píxeles","email":"El campo {_field_} debe ser un correo electrónico válido","excluded":"El campo {_field_} debe ser un valor válido","ext":"El campo {_field_} debe ser un archivo válido","image":"El campo {_field_} debe ser una imagen","oneOf":"El campo {_field_} debe ser un valor válido","integer":"El campo {_field_} debe ser un entero","length":"El largo del campo {_field_} debe ser {length}","max":"El campo {_field_} no debe ser mayor a {length} caracteres","max_value":"El campo {_field_} debe de ser {max} o menor","mimes":"El campo {_field_} debe ser un tipo de archivo válido","min":"El campo {_field_} debe tener al menos {length} caracteres","min_value":"El campo {_field_} debe ser {min} o superior","numeric":"El campo {_field_} debe contener solo caracteres numéricos","regex":"El formato del campo {_field_} no es válido","required":"El campo {_field_} es obligatorio","required_if":"El campo {_field_} es obligatorio","size":"El campo {_field_} debe ser menor a {size}KB"}}')},"5a34":function(t,e,r){var i=r("44e7");t.exports=function(t){if(i(t))throw TypeError("The method doesn't accept regular expressions");return t}},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"5db9":function(t,e,r){},"5f9d":function(t,e,r){},"5fa8":function(t,e,r){"use strict";var i=r("5f9d"),a=r.n(i);a.a},"601b":function(t,e,r){},6547:function(t,e,r){var i=r("a691"),a=r("1d80"),n=function(t){return function(e,r){var n,s,o=String(a(e)),l=i(r),h=o.length;return l<0||l>=h?t?"":void 0:(n=o.charCodeAt(l),n<55296||n>56319||l+1===h||(s=o.charCodeAt(l+1))<56320||s>57343?t?o.charAt(l):n:t?o.slice(l,l+2):s-56320+(n-55296<<10)+65536)}};t.exports={codeAt:n(!1),charAt:n(!0)}},"65f0":function(t,e,r){var i=r("861d"),a=r("e8b5"),n=r("b622"),s=n("species");t.exports=function(t,e){var r;return a(t)&&(r=t.constructor,"function"!=typeof r||r!==Array&&!a(r.prototype)?i(r)&&(r=r[s],null===r&&(r=void 0)):r=void 0),new(void 0===r?Array:r)(0===e?0:e)}},"69f3":function(t,e,r){var i,a,n,s=r("7f9a"),o=r("da84"),l=r("861d"),h=r("9112"),c=r("5135"),u=r("f772"),p=r("d012"),f=o.WeakMap,d=function(t){return n(t)?a(t):i(t,{})},m=function(t){return function(e){var r;if(!l(e)||(r=a(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}};if(s){var g=new f,v=g.get,y=g.has,b=g.set;i=function(t,e){return b.call(g,t,e),e},a=function(t){return v.call(g,t)||{}},n=function(t){return y.call(g,t)}}else{var _=u("state");p[_]=!0,i=function(t,e){return h(t,_,e),e},a=function(t){return c(t,_)?t[_]:{}},n=function(t){return c(t,_)}}t.exports={set:i,get:a,has:n,enforce:d,getterFor:m}},"6c28":function(t,e,r){"use strict";var i=r("601b"),a=r.n(i);a.a},"6eeb":function(t,e,r){var i=r("da84"),a=r("9112"),n=r("5135"),s=r("ce4e"),o=r("8925"),l=r("69f3"),h=l.get,c=l.enforce,u=String(String).split("String");(t.exports=function(t,e,r,o){var l=!!o&&!!o.unsafe,h=!!o&&!!o.enumerable,p=!!o&&!!o.noTargetGet;"function"==typeof r&&("string"!=typeof e||n(r,"name")||a(r,"name",e),c(r).source=u.join("string"==typeof e?e:"")),t!==i?(l?!p&&t[e]&&(h=!0):delete t[e],h?t[e]=r:a(t,e,r)):h?t[e]=r:s(e,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&h(this).source||o(this)}))},"6f53":function(t,e,r){var i=r("83ab"),a=r("df75"),n=r("fc6a"),s=r("d1e7").f,o=function(t){return function(e){var r,o=n(e),l=a(o),h=l.length,c=0,u=[];while(h>c)r=l[c++],i&&!s.call(o,r)||u.push(t?[r,o[r]]:o[r]);return u}};t.exports={entries:o(!0),values:o(!1)}},7156:function(t,e,r){var i=r("861d"),a=r("d2bb");t.exports=function(t,e,r){var n,s;return a&&"function"==typeof(n=e.constructor)&&n!==r&&i(s=n.prototype)&&s!==r.prototype&&a(t,s),t}},"72cc":function(t,e,r){"use strict";var i=r("fde5"),a=r.n(i);a.a},7418:function(t,e){e.f=Object.getOwnPropertySymbols},7687:function(t,e,r){"use strict";var i=r("ad4b"),a=r.n(i);a.a},7740:function(t,e,r){},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(t,e,r){var i=r("1d80");t.exports=function(t){return Object(i(t))}},"7c73":function(t,e,r){var i,a=r("825a"),n=r("37e8"),s=r("7839"),o=r("d012"),l=r("1be4"),h=r("cc12"),c=r("f772"),u=">",p="<",f="prototype",d="script",m=c("IE_PROTO"),g=function(){},v=function(t){return p+d+u+t+p+"/"+d+u},y=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},b=function(){var t,e=h("iframe"),r="java"+d+":";return e.style.display="none",l.appendChild(e),e.src=String(r),t=e.contentWindow.document,t.open(),t.write(v("document.F=Object")),t.close(),t.F},_=function(){try{i=document.domain&&new ActiveXObject("htmlfile")}catch(e){}_=i?y(i):b();var t=s.length;while(t--)delete _[f][s[t]];return _()};o[m]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(g[f]=a(t),r=new g,g[f]=null,r[m]=t):r=_(),void 0===e?r:n(r,e)}},"7dd0":function(t,e,r){"use strict";var i=r("23e7"),a=r("9ed3"),n=r("e163"),s=r("d2bb"),o=r("d44e"),l=r("9112"),h=r("6eeb"),c=r("b622"),u=r("c430"),p=r("3f8c"),f=r("ae93"),d=f.IteratorPrototype,m=f.BUGGY_SAFARI_ITERATORS,g=c("iterator"),v="keys",y="values",b="entries",_=function(){return this};t.exports=function(t,e,r,c,f,x,E){a(r,e,c);var S,k,C,w=function(t){if(t===f&&D)return D;if(!m&&t in A)return A[t];switch(t){case v:return function(){return new r(this,t)};case y:return function(){return new r(this,t)};case b:return function(){return new r(this,t)}}return function(){return new r(this)}},T=e+" Iterator",P=!1,A=t.prototype,M=A[g]||A["@@iterator"]||f&&A[f],D=!m&&M||w(f),F="Array"==e&&A.entries||M;if(F&&(S=n(F.call(new t)),d!==Object.prototype&&S.next&&(u||n(S)===d||(s?s(S,d):"function"!=typeof S[g]&&l(S,g,_)),o(S,T,!0,!0),u&&(p[T]=_))),f==y&&M&&M.name!==y&&(P=!0,D=function(){return M.call(this)}),u&&!E||A[g]===D||l(A,g,D),p[e]=D,f)if(k={values:w(y),keys:x?D:w(v),entries:w(b)},E)for(C in k)!m&&!P&&C in A||h(A,C,k[C]);else i({target:e,proto:!0,forced:m||P},k);return k}},"7f9a":function(t,e,r){var i=r("da84"),a=r("8925"),n=i.WeakMap;t.exports="function"===typeof n&&/native code/.test(a(n))},"825a":function(t,e,r){var i=r("861d");t.exports=function(t){if(!i(t))throw TypeError(String(t)+" is not an object");return t}},"83ab":function(t,e,r){var i=r("d039");t.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(t,e,r){"use strict";var i=r("c04e"),a=r("9bf2"),n=r("5c6c");t.exports=function(t,e,r){var s=i(e);s in t?a.f(t,s,n(0,r)):t[s]=r}},"857a":function(t,e,r){var i=r("1d80"),a=/"/g;t.exports=function(t,e,r,n){var s=String(i(t)),o="<"+e;return""!==r&&(o+=" "+r+'="'+String(n).replace(a,"&quot;")+'"'),o+">"+s+"</"+e+">"}},"861d":function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},8925:function(t,e,r){var i=r("c6cd"),a=Function.toString;"function"!=typeof i.inspectSource&&(i.inspectSource=function(t){return a.call(t)}),t.exports=i.inspectSource},8965:function(t,e,r){},"8a54":function(t,e,r){"use strict";var i=r("e776"),a=r.n(i);a.a},"8aa5":function(t,e,r){"use strict";var i=r("6547").charAt;t.exports=function(t,e,r){return e+(r?i(t,e).length:1)}},"8aaf":function(t,e,r){"use strict";var i=r("7740"),a=r.n(i);a.a},"8bbf":function(t,e){t.exports=__WEBPACK_EXTERNAL_MODULE__8bbf__},"8d39":function(t,e,r){"use strict";var i=r("8f73"),a=r.n(i);a.a},"8e91":function(t,e,r){},"8f73":function(t,e,r){},"90e3":function(t,e){var r=0,i=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+i).toString(36)}},9112:function(t,e,r){var i=r("83ab"),a=r("9bf2"),n=r("5c6c");t.exports=i?function(t,e,r){return a.f(t,e,n(1,r))}:function(t,e,r){return t[e]=r,t}},9263:function(t,e,r){"use strict";var i=r("ad6d"),a=r("9f7f"),n=RegExp.prototype.exec,s=String.prototype.replace,o=n,l=function(){var t=/a/,e=/b*/g;return n.call(t,"a"),n.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),h=a.UNSUPPORTED_Y||a.BROKEN_CARET,c=void 0!==/()??/.exec("")[1],u=l||c||h;u&&(o=function(t){var e,r,a,o,u=this,p=h&&u.sticky,f=i.call(u),d=u.source,m=0,g=t;return p&&(f=f.replace("y",""),-1===f.indexOf("g")&&(f+="g"),g=String(t).slice(u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&"\n"!==t[u.lastIndex-1])&&(d="(?: "+d+")",g=" "+g,m++),r=new RegExp("^(?:"+d+")",f)),c&&(r=new RegExp("^"+d+"$(?!\\s)",f)),l&&(e=u.lastIndex),a=n.call(p?r:u,g),p?a?(a.input=a.input.slice(m),a[0]=a[0].slice(m),a.index=u.lastIndex,u.lastIndex+=a[0].length):u.lastIndex=0:l&&a&&(u.lastIndex=u.global?a.index+a[0].length:e),c&&a&&a.length>1&&s.call(a[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(a[o]=void 0)})),a}),t.exports=o},"94ca":function(t,e,r){var i=r("d039"),a=/#|\.prototype\./,n=function(t,e){var r=o[s(t)];return r==h||r!=l&&("function"==typeof e?i(e):!!e)},s=n.normalize=function(t){return String(t).replace(a,".").toLowerCase()},o=n.data={},l=n.NATIVE="N",h=n.POLYFILL="P";t.exports=n},"94f1":function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__;"undefined"!==typeof navigator&&function(t,e){__WEBPACK_AMD_DEFINE_RESULT__=function(){return e(t)}.call(exports,__webpack_require__,exports,module),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)}(window||{},(function(window){"use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",initialDefaultFrame=-999999,subframeEnabled=!0,expressionsPlugin,isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),cachedColors={},bm_rounder=Math.round,bm_rnd,bm_pow=Math.pow,bm_sqrt=Math.sqrt,bm_abs=Math.abs,bm_floor=Math.floor,bm_max=Math.max,bm_min=Math.min,blitter=10,BMMath={};function ProjectInterface(){return{}}(function(){var t,e=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],r=e.length;for(t=0;t<r;t+=1)BMMath[e[t]]=Math[e[t]]})(),BMMath.random=Math.random,BMMath.abs=function(t){var e=typeof t;if("object"===e&&t.length){var r,i=createSizedArray(t.length),a=t.length;for(r=0;r<a;r+=1)i[r]=Math.abs(t[r]);return i}return Math.abs(t)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function roundValues(t){bm_rnd=t?Math.round:function(t){return t}}function styleDiv(t){t.style.position="absolute",t.style.top=0,t.style.left=0,t.style.display="block",t.style.transformOrigin=t.style.webkitTransformOrigin="0 0",t.style.backfaceVisibility=t.style.webkitBackfaceVisibility="visible",t.style.transformStyle=t.style.webkitTransformStyle=t.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(t,e,r,i){this.type=t,this.currentTime=e,this.totalTime=r,this.direction=i<0?-1:1}function BMCompleteEvent(t,e){this.type=t,this.direction=e<0?-1:1}function BMCompleteLoopEvent(t,e,r,i){this.type=t,this.currentLoop=r,this.totalLoops=e,this.direction=i<0?-1:1}function BMSegmentStartEvent(t,e,r){this.type=t,this.firstFrame=e,this.totalFrames=r}function BMDestroyEvent(t,e){this.type=t,this.target=e}function BMRenderFrameErrorEvent(t,e){this.type="renderFrameError",this.nativeError=t,this.currentTime=e}function BMConfigErrorEvent(t){this.type="configError",this.nativeError=t}function BMAnimationConfigErrorEvent(t,e){this.type=t,this.nativeError=e,this.currentTime=currentTime}roundValues(!1);var createElementID=function(){var t=0;return function(){return"__lottie_element_"+ ++t}}();function HSVtoRGB(t,e,r){var i,a,n,s,o,l,h,c;switch(s=Math.floor(6*t),o=6*t-s,l=r*(1-e),h=r*(1-o*e),c=r*(1-(1-o)*e),s%6){case 0:i=r,a=c,n=l;break;case 1:i=h,a=r,n=l;break;case 2:i=l,a=r,n=c;break;case 3:i=l,a=h,n=r;break;case 4:i=c,a=l,n=r;break;case 5:i=r,a=l,n=h;break}return[i,a,n]}function RGBtoHSV(t,e,r){var i,a=Math.max(t,e,r),n=Math.min(t,e,r),s=a-n,o=0===a?0:s/a,l=a/255;switch(a){case n:i=0;break;case t:i=e-r+s*(e<r?6:0),i/=6*s;break;case e:i=r-t+2*s,i/=6*s;break;case r:i=t-e+4*s,i/=6*s;break}return[i,o,l]}function addSaturationToRGB(t,e){var r=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return r[1]+=e,r[1]>1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(t,e){var r=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return r[2]+=e,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(t,e){var r=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return r[0]+=e/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=function(){var t,e,r=[];for(t=0;t<256;t+=1)e=t.toString(16),r[t]=1==e.length?"0"+e:e;return function(t,e,i){return t<0&&(t=0),e<0&&(e=0),i<0&&(i=0),"#"+r[t]+r[e]+r[i]}}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,e){if(this._cbs[t])for(var r=this._cbs[t].length,i=0;i<r;i++)this._cbs[t][i](e)},addEventListener:function(t,e){return this._cbs[t]||(this._cbs[t]=[]),this._cbs[t].push(e),function(){this.removeEventListener(t,e)}.bind(this)},removeEventListener:function(t,e){if(e){if(this._cbs[t]){var r=0,i=this._cbs[t].length;while(r<i)this._cbs[t][r]===e&&(this._cbs[t].splice(r,1),r-=1,i-=1),r+=1;this._cbs[t].length||(this._cbs[t]=null)}}else this._cbs[t]=null}};var createTypedArray=function(){function t(t,e){var r,i=0,a=[];switch(t){case"int16":case"uint8c":r=1;break;default:r=1.1;break}for(i=0;i<e;i+=1)a.push(r);return a}function e(t,e){return"float32"===t?new Float32Array(e):"int16"===t?new Int16Array(e):"uint8c"===t?new Uint8ClampedArray(e):void 0}return"function"===typeof Uint8ClampedArray&&"function"===typeof Float32Array?e:t}();function createSizedArray(t){return Array.apply(null,{length:t})}function createNS(t){return document.createElementNS(svgNS,t)}function createTag(t){return document.createElement(t)}function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&(this.dynamicProperties.push(t),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var t,e=this.dynamicProperties.length;for(t=0;t<e;t+=1)this.dynamicProperties[t].getValue(),this.dynamicProperties[t]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(t){this.container=t,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var getBlendMode=function(){var t={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(e){return t[e]||""}}()
/*!
 Transformation Matrix v2.0
 (c) Epistemex 2014-2015
 www.epistemex.com
 By Ken Fyrstenberg
 Contributions by leeoniya.
 License: MIT, header required.
 */,Matrix=function(){var t=Math.cos,e=Math.sin,r=Math.tan,i=Math.round;function a(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function n(r){if(0===r)return this;var i=t(r),a=e(r);return this._t(i,-a,0,0,a,i,0,0,0,0,1,0,0,0,0,1)}function s(r){if(0===r)return this;var i=t(r),a=e(r);return this._t(1,0,0,0,0,i,-a,0,0,a,i,0,0,0,0,1)}function o(r){if(0===r)return this;var i=t(r),a=e(r);return this._t(i,0,a,0,0,1,0,0,-a,0,i,0,0,0,0,1)}function l(r){if(0===r)return this;var i=t(r),a=e(r);return this._t(i,-a,0,0,a,i,0,0,0,0,1,0,0,0,0,1)}function h(t,e){return this._t(1,e,t,1,0,0)}function c(t,e){return this.shear(r(t),r(e))}function u(i,a){var n=t(a),s=e(a);return this._t(n,s,0,0,-s,n,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,r(i),1,0,0,0,0,1,0,0,0,0,1)._t(n,-s,0,0,s,n,0,0,0,0,1,0,0,0,0,1)}function p(t,e,r){return r||0===r||(r=1),1===t&&1===e&&1===r?this:this._t(t,0,0,0,0,e,0,0,0,0,r,0,0,0,0,1)}function f(t,e,r,i,a,n,s,o,l,h,c,u,p,f,d,m){return this.props[0]=t,this.props[1]=e,this.props[2]=r,this.props[3]=i,this.props[4]=a,this.props[5]=n,this.props[6]=s,this.props[7]=o,this.props[8]=l,this.props[9]=h,this.props[10]=c,this.props[11]=u,this.props[12]=p,this.props[13]=f,this.props[14]=d,this.props[15]=m,this}function d(t,e,r){return r=r||0,0!==t||0!==e||0!==r?this._t(1,0,0,0,0,1,0,0,0,0,1,0,t,e,r,1):this}function m(t,e,r,i,a,n,s,o,l,h,c,u,p,f,d,m){var g=this.props;if(1===t&&0===e&&0===r&&0===i&&0===a&&1===n&&0===s&&0===o&&0===l&&0===h&&1===c&&0===u)return g[12]=g[12]*t+g[15]*p,g[13]=g[13]*n+g[15]*f,g[14]=g[14]*c+g[15]*d,g[15]=g[15]*m,this._identityCalculated=!1,this;var v=g[0],y=g[1],b=g[2],_=g[3],x=g[4],E=g[5],S=g[6],k=g[7],C=g[8],w=g[9],T=g[10],P=g[11],A=g[12],M=g[13],D=g[14],F=g[15];return g[0]=v*t+y*a+b*l+_*p,g[1]=v*e+y*n+b*h+_*f,g[2]=v*r+y*s+b*c+_*d,g[3]=v*i+y*o+b*u+_*m,g[4]=x*t+E*a+S*l+k*p,g[5]=x*e+E*n+S*h+k*f,g[6]=x*r+E*s+S*c+k*d,g[7]=x*i+E*o+S*u+k*m,g[8]=C*t+w*a+T*l+P*p,g[9]=C*e+w*n+T*h+P*f,g[10]=C*r+w*s+T*c+P*d,g[11]=C*i+w*o+T*u+P*m,g[12]=A*t+M*a+D*l+F*p,g[13]=A*e+M*n+D*h+F*f,g[14]=A*r+M*s+D*c+F*d,g[15]=A*i+M*o+D*u+F*m,this._identityCalculated=!1,this}function g(){return this._identityCalculated||(this._identity=!(1!==this.props[0]||0!==this.props[1]||0!==this.props[2]||0!==this.props[3]||0!==this.props[4]||1!==this.props[5]||0!==this.props[6]||0!==this.props[7]||0!==this.props[8]||0!==this.props[9]||1!==this.props[10]||0!==this.props[11]||0!==this.props[12]||0!==this.props[13]||0!==this.props[14]||1!==this.props[15]),this._identityCalculated=!0),this._identity}function v(t){var e=0;while(e<16){if(t.props[e]!==this.props[e])return!1;e+=1}return!0}function y(t){var e;for(e=0;e<16;e+=1)t.props[e]=this.props[e]}function b(t){var e;for(e=0;e<16;e+=1)this.props[e]=t[e]}function _(t,e,r){return{x:t*this.props[0]+e*this.props[4]+r*this.props[8]+this.props[12],y:t*this.props[1]+e*this.props[5]+r*this.props[9]+this.props[13],z:t*this.props[2]+e*this.props[6]+r*this.props[10]+this.props[14]}}function x(t,e,r){return t*this.props[0]+e*this.props[4]+r*this.props[8]+this.props[12]}function E(t,e,r){return t*this.props[1]+e*this.props[5]+r*this.props[9]+this.props[13]}function S(t,e,r){return t*this.props[2]+e*this.props[6]+r*this.props[10]+this.props[14]}function k(){var t=this.props[0]*this.props[5]-this.props[1]*this.props[4],e=this.props[5]/t,r=-this.props[1]/t,i=-this.props[4]/t,a=this.props[0]/t,n=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/t,s=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/t,o=new Matrix;return o.props[0]=e,o.props[1]=r,o.props[4]=i,o.props[5]=a,o.props[12]=n,o.props[13]=s,o}function C(t){var e=this.getInverseMatrix();return e.applyToPointArray(t[0],t[1],t[2]||0)}function w(t){var e,r=t.length,i=[];for(e=0;e<r;e+=1)i[e]=C(t[e]);return i}function T(t,e,r){var i=createTypedArray("float32",6);if(this.isIdentity())i[0]=t[0],i[1]=t[1],i[2]=e[0],i[3]=e[1],i[4]=r[0],i[5]=r[1];else{var a=this.props[0],n=this.props[1],s=this.props[4],o=this.props[5],l=this.props[12],h=this.props[13];i[0]=t[0]*a+t[1]*s+l,i[1]=t[0]*n+t[1]*o+h,i[2]=e[0]*a+e[1]*s+l,i[3]=e[0]*n+e[1]*o+h,i[4]=r[0]*a+r[1]*s+l,i[5]=r[0]*n+r[1]*o+h}return i}function P(t,e,r){var i;return i=this.isIdentity()?[t,e,r]:[t*this.props[0]+e*this.props[4]+r*this.props[8]+this.props[12],t*this.props[1]+e*this.props[5]+r*this.props[9]+this.props[13],t*this.props[2]+e*this.props[6]+r*this.props[10]+this.props[14]],i}function A(t,e){if(this.isIdentity())return t+","+e;var r=this.props;return Math.round(100*(t*r[0]+e*r[4]+r[12]))/100+","+Math.round(100*(t*r[1]+e*r[5]+r[13]))/100}function M(){var t=0,e=this.props,r="matrix3d(",a=1e4;while(t<16)r+=i(e[t]*a)/a,r+=15===t?")":",",t+=1;return r}function D(t){var e=1e4;return t<1e-6&&t>0||t>-1e-6&&t<0?i(t*e)/e:t}function F(){var t=this.props,e=D(t[0]),r=D(t[1]),i=D(t[4]),a=D(t[5]),n=D(t[12]),s=D(t[13]);return"matrix("+e+","+r+","+i+","+a+","+n+","+s+")"}return function(){this.reset=a,this.rotate=n,this.rotateX=s,this.rotateY=o,this.rotateZ=l,this.skew=c,this.skewFromAxis=u,this.shear=h,this.scale=p,this.setTransform=f,this.translate=d,this.transform=m,this.applyToPoint=_,this.applyToX=x,this.applyToY=E,this.applyToZ=S,this.applyToPointArray=P,this.applyToTriplePoints=T,this.applyToPointStringified=A,this.toCSS=M,this.to2dCSS=F,this.clone=y,this.cloneFromProps=b,this.equals=v,this.inversePoints=w,this.inversePoint=C,this.getInverseMatrix=k,this._t=this.transform,this.isIdentity=g,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();(function(t,e){var r,i=this,a=256,n=6,s=52,o="random",l=e.pow(a,n),h=e.pow(2,s),c=2*h,u=a-1;function p(r,i,s){var u=[];i=!0===i?{entropy:!0}:i||{};var p=g(m(i.entropy?[r,y(t)]:null===r?v():r,3),u),b=new f(u),_=function(){var t=b.g(n),e=l,r=0;while(t<h)t=(t+r)*a,e*=a,r=b.g(1);while(t>=c)t/=2,e/=2,r>>>=1;return(t+r)/e};return _.int32=function(){return 0|b.g(4)},_.quick=function(){return b.g(4)/4294967296},_.double=_,g(y(b.S),t),(i.pass||s||function(t,r,i,a){return a&&(a.S&&d(a,b),t.state=function(){return d(b,{})}),i?(e[o]=t,r):t})(_,p,"global"in i?i.global:this==e,i.state)}function f(t){var e,r=t.length,i=this,n=0,s=i.i=i.j=0,o=i.S=[];r||(t=[r++]);while(n<a)o[n]=n++;for(n=0;n<a;n++)o[n]=o[s=u&s+t[n%r]+(e=o[n])],o[s]=e;i.g=function(t){var e,r=0,n=i.i,s=i.j,o=i.S;while(t--)e=o[n=u&n+1],r=r*a+o[u&(o[n]=o[s=u&s+e])+(o[s]=e)];return i.i=n,i.j=s,r}}function d(t,e){return e.i=t.i,e.j=t.j,e.S=t.S.slice(),e}function m(t,e){var r,i=[],a=typeof t;if(e&&"object"==a)for(r in t)try{i.push(m(t[r],e-1))}catch(n){}return i.length?i:"string"==a?t:t+"\0"}function g(t,e){var r,i=t+"",a=0;while(a<i.length)e[u&a]=u&(r^=19*e[u&a])+i.charCodeAt(a++);return y(e)}function v(){try{if(r)return y(r.randomBytes(a));var e=new Uint8Array(a);return(i.crypto||i.msCrypto).getRandomValues(e),y(e)}catch(o){var n=i.navigator,s=n&&n.plugins;return[+new Date,i,s,i.screen,y(t)]}}function y(t){return String.fromCharCode.apply(0,t)}e["seed"+o]=p,g(e.random(),t)})([],BMMath);var BezierFactory=function(){var t={};t.getBezierEasing=r;var e={};function r(t,r,i,a,n){var s=n||("bez_"+t+"_"+r+"_"+i+"_"+a).replace(/\./g,"p");if(e[s])return e[s];var o=new v([t,r,i,a]);return e[s]=o,o}var i=4,a=.001,n=1e-7,s=10,o=11,l=1/(o-1),h="function"===typeof Float32Array;function c(t,e){return 1-3*e+3*t}function u(t,e){return 3*e-6*t}function p(t){return 3*t}function f(t,e,r){return((c(e,r)*t+u(e,r))*t+p(e))*t}function d(t,e,r){return 3*c(e,r)*t*t+2*u(e,r)*t+p(e)}function m(t,e,r,i,a){var o,l,h=0;do{l=e+(r-e)/2,o=f(l,i,a)-t,o>0?r=l:e=l}while(Math.abs(o)>n&&++h<s);return l}function g(t,e,r,a){for(var n=0;n<i;++n){var s=d(e,r,a);if(0===s)return e;var o=f(e,r,a)-t;e-=o/s}return e}function v(t){this._p=t,this._mSampleValues=h?new Float32Array(o):new Array(o),this._precomputed=!1,this.get=this.get.bind(this)}return v.prototype={get:function(t){var e=this._p[0],r=this._p[1],i=this._p[2],a=this._p[3];return this._precomputed||this._precompute(),e===r&&i===a?t:0===t?0:1===t?1:f(this._getTForX(t),r,a)},_precompute:function(){var t=this._p[0],e=this._p[1],r=this._p[2],i=this._p[3];this._precomputed=!0,t===e&&r===i||this._calcSampleValues()},_calcSampleValues:function(){for(var t=this._p[0],e=this._p[2],r=0;r<o;++r)this._mSampleValues[r]=f(r*l,t,e)},_getTForX:function(t){for(var e=this._p[0],r=this._p[2],i=this._mSampleValues,n=0,s=1,h=o-1;s!==h&&i[s]<=t;++s)n+=l;--s;var c=(t-i[s])/(i[s+1]-i[s]),u=n+c*l,p=d(u,e,r);return p>=a?g(t,u,e,r):0===p?u:m(t,n,n+l,e,r)}},t}();function extendPrototype(t,e){var r,i,a=t.length;for(r=0;r<a;r+=1)for(var n in i=t[r].prototype,i)i.hasOwnProperty(n)&&(e.prototype[n]=i[n])}function getDescriptor(t,e){return Object.getOwnPropertyDescriptor(t,e)}function createProxyFunction(t){function e(){}return e.prototype=t,e}function bezFunction(){Math;function t(t,e,r,i,a,n){var s=t*i+e*a+r*n-a*i-n*t-r*e;return s>-.001&&s<.001}function e(e,r,i,a,n,s,o,l,h){if(0===i&&0===s&&0===h)return t(e,r,a,n,o,l);var c,u=Math.sqrt(Math.pow(a-e,2)+Math.pow(n-r,2)+Math.pow(s-i,2)),p=Math.sqrt(Math.pow(o-e,2)+Math.pow(l-r,2)+Math.pow(h-i,2)),f=Math.sqrt(Math.pow(o-a,2)+Math.pow(l-n,2)+Math.pow(h-s,2));return c=u>p?u>f?u-p-f:f-p-u:f>p?f-p-u:p-u-f,c>-1e-4&&c<1e-4}var r=function(){return function(t,e,r,i){var a,n,s,o,l,h,c=defaultCurveSegments,u=0,p=[],f=[],d=bezier_length_pool.newElement();for(s=r.length,a=0;a<c;a+=1){for(l=a/(c-1),h=0,n=0;n<s;n+=1)o=bm_pow(1-l,3)*t[n]+3*bm_pow(1-l,2)*l*r[n]+3*(1-l)*bm_pow(l,2)*i[n]+bm_pow(l,3)*e[n],p[n]=o,null!==f[n]&&(h+=bm_pow(p[n]-f[n],2)),f[n]=p[n];h&&(h=bm_sqrt(h),u+=h),d.percents[a]=l,d.lengths[a]=u}return d.addedLength=u,d}}();function i(t){var e,i=segments_length_pool.newElement(),a=t.c,n=t.v,s=t.o,o=t.i,l=t._length,h=i.lengths,c=0;for(e=0;e<l-1;e+=1)h[e]=r(n[e],n[e+1],s[e],o[e+1]),c+=h[e].addedLength;return a&&l&&(h[e]=r(n[e],n[0],s[e],o[0]),c+=h[e].addedLength),i.totalLength=c,i}function a(t){this.segmentLength=0,this.points=new Array(t)}function n(t,e){this.partialLength=t,this.point=e}var s=function(){var e={};return function(r,i,s,o){var l=(r[0]+"_"+r[1]+"_"+i[0]+"_"+i[1]+"_"+s[0]+"_"+s[1]+"_"+o[0]+"_"+o[1]).replace(/\./g,"p");if(!e[l]){var h,c,u,p,f,d,m,g=defaultCurveSegments,v=0,y=null;2===r.length&&(r[0]!=i[0]||r[1]!=i[1])&&t(r[0],r[1],i[0],i[1],r[0]+s[0],r[1]+s[1])&&t(r[0],r[1],i[0],i[1],i[0]+o[0],i[1]+o[1])&&(g=2);var b=new a(g);for(u=s.length,h=0;h<g;h+=1){for(m=createSizedArray(u),f=h/(g-1),d=0,c=0;c<u;c+=1)p=bm_pow(1-f,3)*r[c]+3*bm_pow(1-f,2)*f*(r[c]+s[c])+3*(1-f)*bm_pow(f,2)*(i[c]+o[c])+bm_pow(f,3)*i[c],m[c]=p,null!==y&&(d+=bm_pow(m[c]-y[c],2));d=bm_sqrt(d),v+=d,b.points[h]=new n(d,m),y=m}b.segmentLength=v,e[l]=b}return e[l]}}();function o(t,e){var r=e.percents,i=e.lengths,a=r.length,n=bm_floor((a-1)*t),s=t*e.addedLength,o=0;if(n===a-1||0===n||s===i[n])return r[n];var l=i[n]>s?-1:1,h=!0;while(h)if(i[n]<=s&&i[n+1]>s?(o=(s-i[n])/(i[n+1]-i[n]),h=!1):n+=l,n<0||n>=a-1){if(n===a-1)return r[n];h=!1}return r[n]+(r[n+1]-r[n])*o}function l(t,e,r,i,a,n){var s=o(a,n),l=1-s,h=Math.round(1e3*(l*l*l*t[0]+(s*l*l+l*s*l+l*l*s)*r[0]+(s*s*l+l*s*s+s*l*s)*i[0]+s*s*s*e[0]))/1e3,c=Math.round(1e3*(l*l*l*t[1]+(s*l*l+l*s*l+l*l*s)*r[1]+(s*s*l+l*s*s+s*l*s)*i[1]+s*s*s*e[1]))/1e3;return[h,c]}var h=createTypedArray("float32",8);function c(t,e,r,i,a,n,s){a=a<0?0:a>1?1:a;var l=o(a,s);n=n>1?1:n;var c,u=o(n,s),p=t.length,f=1-l,d=1-u,m=f*f*f,g=l*f*f*3,v=l*l*f*3,y=l*l*l,b=f*f*d,_=l*f*d+f*l*d+f*f*u,x=l*l*d+f*l*u+l*f*u,E=l*l*u,S=f*d*d,k=l*d*d+f*u*d+f*d*u,C=l*u*d+f*u*u+l*d*u,w=l*u*u,T=d*d*d,P=u*d*d+d*u*d+d*d*u,A=u*u*d+d*u*u+u*d*u,M=u*u*u;for(c=0;c<p;c+=1)h[4*c]=Math.round(1e3*(m*t[c]+g*r[c]+v*i[c]+y*e[c]))/1e3,h[4*c+1]=Math.round(1e3*(b*t[c]+_*r[c]+x*i[c]+E*e[c]))/1e3,h[4*c+2]=Math.round(1e3*(S*t[c]+k*r[c]+C*i[c]+w*e[c]))/1e3,h[4*c+3]=Math.round(1e3*(T*t[c]+P*r[c]+A*i[c]+M*e[c]))/1e3;return h}return{getSegmentsLength:i,getNewSegment:c,getPointInSegment:l,buildBezierData:s,pointOnLine2D:t,pointOnLine3D:e}}(function(){for(var t=0,e=["ms","moz","webkit","o"],r=0;r<e.length&&!window.requestAnimationFrame;++r)window.requestAnimationFrame=window[e[r]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[e[r]+"CancelAnimationFrame"]||window[e[r]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(e,r){var i=(new Date).getTime(),a=Math.max(0,16-(i-t)),n=setTimeout((function(){e(i+a)}),a);return t=i+a,n}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(t){clearTimeout(t)})})();var bez=bezFunction();function dataFunctionManager(){function t(a,n,s){var o,l,h,u,p,f,d=a.length;for(l=0;l<d;l+=1)if(o=a[l],"ks"in o&&!o.completed){if(o.completed=!0,o.tt&&(a[l-1].td=o.tt),[],-1,o.hasMask){var m=o.masksProperties;for(u=m.length,h=0;h<u;h+=1)if(m[h].pt.k.i)i(m[h].pt.k);else for(f=m[h].pt.k.length,p=0;p<f;p+=1)m[h].pt.k[p].s&&i(m[h].pt.k[p].s[0]),m[h].pt.k[p].e&&i(m[h].pt.k[p].e[0])}0===o.ty?(o.layers=e(o.refId,n),t(o.layers,n,s)):4===o.ty?r(o.shapes):5==o.ty&&c(o,s)}}function e(t,e){var r=0,i=e.length;while(r<i){if(e[r].id===t)return e[r].layers.__used?JSON.parse(JSON.stringify(e[r].layers)):(e[r].layers.__used=!0,e[r].layers);r+=1}}function r(t){var e,a,n,s=t.length;for(e=s-1;e>=0;e-=1)if("sh"==t[e].ty){if(t[e].ks.k.i)i(t[e].ks.k);else for(n=t[e].ks.k.length,a=0;a<n;a+=1)t[e].ks.k[a].s&&i(t[e].ks.k[a].s[0]),t[e].ks.k[a].e&&i(t[e].ks.k[a].e[0]);!0}else"gr"==t[e].ty&&r(t[e].it)}function i(t){var e,r=t.i.length;for(e=0;e<r;e+=1)t.i[e][0]+=t.v[e][0],t.i[e][1]+=t.v[e][1],t.o[e][0]+=t.v[e][0],t.o[e][1]+=t.v[e][1]}function a(t,e){var r=e?e.split("."):[100,100,100];return t[0]>r[0]||!(r[0]>t[0])&&(t[1]>r[1]||!(r[1]>t[1])&&(t[2]>r[2]||!(r[2]>t[2])&&void 0))}var n=function(){var t=[4,4,14];function e(t){var e=t.t.d;t.t.d={k:[{s:e,t:0}]}}function r(t){var r,i=t.length;for(r=0;r<i;r+=1)5===t[r].ty&&e(t[r])}return function(e){if(a(t,e.v)&&(r(e.layers),e.assets)){var i,n=e.assets.length;for(i=0;i<n;i+=1)e.assets[i].layers&&r(e.assets[i].layers)}}}(),s=function(){var t=[4,7,99];return function(e){if(e.chars&&!a(t,e.v)){var r,n,s,o,l,h=e.chars.length;for(r=0;r<h;r+=1)if(e.chars[r].data&&e.chars[r].data.shapes)for(l=e.chars[r].data.shapes[0].it,s=l.length,n=0;n<s;n+=1)o=l[n].ks.k,o.__converted||(i(l[n].ks.k),o.__converted=!0)}}}(),o=function(){var t=[4,1,9];function e(t){var r,i,a,n=t.length;for(r=0;r<n;r+=1)if("gr"===t[r].ty)e(t[r].it);else if("fl"===t[r].ty||"st"===t[r].ty)if(t[r].c.k&&t[r].c.k[0].i)for(a=t[r].c.k.length,i=0;i<a;i+=1)t[r].c.k[i].s&&(t[r].c.k[i].s[0]/=255,t[r].c.k[i].s[1]/=255,t[r].c.k[i].s[2]/=255,t[r].c.k[i].s[3]/=255),t[r].c.k[i].e&&(t[r].c.k[i].e[0]/=255,t[r].c.k[i].e[1]/=255,t[r].c.k[i].e[2]/=255,t[r].c.k[i].e[3]/=255);else t[r].c.k[0]/=255,t[r].c.k[1]/=255,t[r].c.k[2]/=255,t[r].c.k[3]/=255}function r(t){var r,i=t.length;for(r=0;r<i;r+=1)4===t[r].ty&&e(t[r].shapes)}return function(e){if(a(t,e.v)&&(r(e.layers),e.assets)){var i,n=e.assets.length;for(i=0;i<n;i+=1)e.assets[i].layers&&r(e.assets[i].layers)}}}(),l=function(){var t=[4,4,18];function e(t){var r,i,a,n=t.length;for(r=n-1;r>=0;r-=1)if("sh"==t[r].ty){if(t[r].ks.k.i)t[r].ks.k.c=t[r].closed;else for(a=t[r].ks.k.length,i=0;i<a;i+=1)t[r].ks.k[i].s&&(t[r].ks.k[i].s[0].c=t[r].closed),t[r].ks.k[i].e&&(t[r].ks.k[i].e[0].c=t[r].closed);!0}else"gr"==t[r].ty&&e(t[r].it)}function r(t){var r,i,a,n,s,o,l=t.length;for(i=0;i<l;i+=1){if(r=t[i],r.hasMask){var h=r.masksProperties;for(n=h.length,a=0;a<n;a+=1)if(h[a].pt.k.i)h[a].pt.k.c=h[a].cl;else for(o=h[a].pt.k.length,s=0;s<o;s+=1)h[a].pt.k[s].s&&(h[a].pt.k[s].s[0].c=h[a].cl),h[a].pt.k[s].e&&(h[a].pt.k[s].e[0].c=h[a].cl)}4===r.ty&&e(r.shapes)}}return function(e){if(a(t,e.v)&&(r(e.layers),e.assets)){var i,n=e.assets.length;for(i=0;i<n;i+=1)e.assets[i].layers&&r(e.assets[i].layers)}}}();function h(e,r){e.__complete||(o(e),n(e),s(e),l(e),t(e.layers,e.assets,r),e.__complete=!0)}function c(t,e){0!==t.t.a.length||"m"in t.t.p||(t.singleShape=!0)}var u={};return u.completeData=h,u.checkColors=o,u.checkChars=s,u.checkShapes=l,u.completeLayers=t,u}var dataManager=dataFunctionManager(),FontManager=function(){var t=5e3,e={w:0,size:0,shapes:[]},r=[];function i(t,e){var r=createTag("span");r.style.fontFamily=e;var i=createTag("span");i.innerHTML="giItT1WQy@!-/#",r.style.position="absolute",r.style.left="-10000px",r.style.top="-10000px",r.style.fontSize="300px",r.style.fontVariant="normal",r.style.fontStyle="normal",r.style.fontWeight="normal",r.style.letterSpacing="0",r.appendChild(i),document.body.appendChild(r);var a=i.offsetWidth;return i.style.fontFamily=t+", "+e,{node:i,w:a,parent:r}}function a(){var e,r,i,a=this.fonts.length,n=a;for(e=0;e<a;e+=1)this.fonts[e].loaded?n-=1:"n"===this.fonts[e].fOrigin||0===this.fonts[e].origin?this.fonts[e].loaded=!0:(r=this.fonts[e].monoCase.node,i=this.fonts[e].monoCase.w,r.offsetWidth!==i?(n-=1,this.fonts[e].loaded=!0):(r=this.fonts[e].sansCase.node,i=this.fonts[e].sansCase.w,r.offsetWidth!==i&&(n-=1,this.fonts[e].loaded=!0)),this.fonts[e].loaded&&(this.fonts[e].sansCase.parent.parentNode.removeChild(this.fonts[e].sansCase.parent),this.fonts[e].monoCase.parent.parentNode.removeChild(this.fonts[e].monoCase.parent)));0!==n&&Date.now()-this.initTime<t?setTimeout(this.checkLoadedFonts.bind(this),20):setTimeout(function(){this.isLoaded=!0}.bind(this),0)}function n(t,e){var r=createNS("text");r.style.fontSize="100px",r.setAttribute("font-family",e.fFamily),r.setAttribute("font-style",e.fStyle),r.setAttribute("font-weight",e.fWeight),r.textContent="1",e.fClass?(r.style.fontFamily="inherit",r.setAttribute("class",e.fClass)):r.style.fontFamily=e.fFamily,t.appendChild(r);var i=createTag("canvas").getContext("2d");return i.font=e.fWeight+" "+e.fStyle+" 100px "+e.fFamily,r}function s(t,e){if(t){if(this.chars)return this.isLoaded=!0,void(this.fonts=t.list);var r,a=t.list,s=a.length,o=s;for(r=0;r<s;r+=1){var l,h,c=!0;if(a[r].loaded=!1,a[r].monoCase=i(a[r].fFamily,"monospace"),a[r].sansCase=i(a[r].fFamily,"sans-serif"),a[r].fPath){if("p"===a[r].fOrigin||3===a[r].origin){if(l=document.querySelectorAll('style[f-forigin="p"][f-family="'+a[r].fFamily+'"], style[f-origin="3"][f-family="'+a[r].fFamily+'"]'),l.length>0&&(c=!1),c){var u=createTag("style");u.setAttribute("f-forigin",a[r].fOrigin),u.setAttribute("f-origin",a[r].origin),u.setAttribute("f-family",a[r].fFamily),u.type="text/css",u.innerHTML="@font-face {font-family: "+a[r].fFamily+"; font-style: normal; src: url('"+a[r].fPath+"');}",e.appendChild(u)}}else if("g"===a[r].fOrigin||1===a[r].origin){for(l=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),h=0;h<l.length;h++)-1!==l[h].href.indexOf(a[r].fPath)&&(c=!1);if(c){var p=createTag("link");p.setAttribute("f-forigin",a[r].fOrigin),p.setAttribute("f-origin",a[r].origin),p.type="text/css",p.rel="stylesheet",p.href=a[r].fPath,document.body.appendChild(p)}}else if("t"===a[r].fOrigin||2===a[r].origin){for(l=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),h=0;h<l.length;h++)a[r].fPath===l[h].src&&(c=!1);if(c){var f=createTag("link");f.setAttribute("f-forigin",a[r].fOrigin),f.setAttribute("f-origin",a[r].origin),f.setAttribute("rel","stylesheet"),f.setAttribute("href",a[r].fPath),e.appendChild(f)}}}else a[r].loaded=!0,o-=1;a[r].helper=n(e,a[r]),a[r].cache={},this.fonts.push(a[r])}0===o?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0}function o(t){if(t){this.chars||(this.chars=[]);var e,r,i,a=t.length,n=this.chars.length;for(e=0;e<a;e+=1){r=0,i=!1;while(r<n)this.chars[r].style===t[e].style&&this.chars[r].fFamily===t[e].fFamily&&this.chars[r].ch===t[e].ch&&(i=!0),r+=1;i||(this.chars.push(t[e]),n+=1)}}}function l(t,r,i){var a=0,n=this.chars.length;while(a<n){if(this.chars[a].ch===t&&this.chars[a].style===r&&this.chars[a].fFamily===i)return this.chars[a];a+=1}return("string"===typeof t&&13!==t.charCodeAt(0)||!t)&&console&&console.warn&&console.warn("Missing character from exported characters list: ",t,r,i),e}function h(t,e,r){var i=this.getFontByName(e),a=t.charCodeAt(0);if(!i.cache[a+1]){var n=i.helper;if(" "===t){n.textContent="|"+t+"|";var s=n.getComputedTextLength();n.textContent="||";var o=n.getComputedTextLength();i.cache[a+1]=(s-o)/100}else n.textContent=t,i.cache[a+1]=n.getComputedTextLength()/100}return i.cache[a+1]*r}function c(t){var e=0,r=this.fonts.length;while(e<r){if(this.fonts[e].fName===t)return this.fonts[e];e+=1}return this.fonts[0]}function u(){return r}function p(){return this.isLoaded}r=r.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var f=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this.initTime=Date.now()};return f.getCombinedCharacterCodes=u,f.prototype.addChars=o,f.prototype.addFonts=s,f.prototype.getCharData=l,f.prototype.getFontByName=c,f.prototype.measureText=h,f.prototype.checkLoadedFonts=a,f.prototype.loaded=p,f}(),PropertyFactory=function(){var t=initialDefaultFrame,e=Math.abs;function r(t,e){var r,s=this.offsetTime;"multidimensional"===this.propType&&(r=createTypedArray("float32",this.pv.length));var o,l,h,c,u,p,f,d,m=e.lastIndex,g=m,v=this.keyframes.length-1,y=!0;while(y){if(o=this.keyframes[g],l=this.keyframes[g+1],g===v-1&&t>=l.t-s){o.h&&(o=l),m=0;break}if(l.t-s>t){m=g;break}g<v-1?g+=1:(m=0,y=!1)}var b,_=l.t-s,x=o.t-s;if(o.to){o.bezierData||(o.bezierData=bez.buildBezierData(o.s,l.s||o.e,o.to,o.ti));var E=o.bezierData;if(t>=_||t<x){var S=t>=_?E.points.length-1:0;for(c=E.points[S].point.length,h=0;h<c;h+=1)r[h]=E.points[S].point[h]}else{o.__fnct?d=o.__fnct:(d=BezierFactory.getBezierEasing(o.o.x,o.o.y,o.i.x,o.i.y,o.n).get,o.__fnct=d),u=d((t-x)/(_-x));var k,C=E.segmentLength*u,w=e.lastFrame<t&&e._lastKeyframeIndex===g?e._lastAddedLength:0;f=e.lastFrame<t&&e._lastKeyframeIndex===g?e._lastPoint:0,y=!0,p=E.points.length;while(y){if(w+=E.points[f].partialLength,0===C||0===u||f===E.points.length-1){for(c=E.points[f].point.length,h=0;h<c;h+=1)r[h]=E.points[f].point[h];break}if(C>=w&&C<w+E.points[f+1].partialLength){for(k=(C-w)/E.points[f+1].partialLength,c=E.points[f].point.length,h=0;h<c;h+=1)r[h]=E.points[f].point[h]+(E.points[f+1].point[h]-E.points[f].point[h])*k;break}f<p-1?f+=1:y=!1}e._lastPoint=f,e._lastAddedLength=w-E.points[f].partialLength,e._lastKeyframeIndex=g}}else{var T,P,A,M,D;if(v=o.s.length,b=l.s||o.e,this.sh&&1!==o.h)if(t>=_)r[0]=b[0],r[1]=b[1],r[2]=b[2];else if(t<=x)r[0]=o.s[0],r[1]=o.s[1],r[2]=o.s[2];else{var F=n(o.s),I=n(b),B=(t-x)/(_-x);a(r,i(F,I,B))}else for(g=0;g<v;g+=1)1!==o.h&&(t>=_?u=1:t<x?u=0:(o.o.x.constructor===Array?(o.__fnct||(o.__fnct=[]),o.__fnct[g]?d=o.__fnct[g]:(T="undefined"===typeof o.o.x[g]?o.o.x[0]:o.o.x[g],P="undefined"===typeof o.o.y[g]?o.o.y[0]:o.o.y[g],A="undefined"===typeof o.i.x[g]?o.i.x[0]:o.i.x[g],M="undefined"===typeof o.i.y[g]?o.i.y[0]:o.i.y[g],d=BezierFactory.getBezierEasing(T,P,A,M).get,o.__fnct[g]=d)):o.__fnct?d=o.__fnct:(T=o.o.x,P=o.o.y,A=o.i.x,M=o.i.y,d=BezierFactory.getBezierEasing(T,P,A,M).get,o.__fnct=d),u=d((t-x)/(_-x)))),b=l.s||o.e,D=1===o.h?o.s[g]:o.s[g]+(b[g]-o.s[g])*u,"multidimensional"===this.propType?r[g]=D:r=D}return e.lastIndex=m,r}function i(t,e,r){var i,a,n,s,o,l=[],h=t[0],c=t[1],u=t[2],p=t[3],f=e[0],d=e[1],m=e[2],g=e[3];return a=h*f+c*d+u*m+p*g,a<0&&(a=-a,f=-f,d=-d,m=-m,g=-g),1-a>1e-6?(i=Math.acos(a),n=Math.sin(i),s=Math.sin((1-r)*i)/n,o=Math.sin(r*i)/n):(s=1-r,o=r),l[0]=s*h+o*f,l[1]=s*c+o*d,l[2]=s*u+o*m,l[3]=s*p+o*g,l}function a(t,e){var r=e[0],i=e[1],a=e[2],n=e[3],s=Math.atan2(2*i*n-2*r*a,1-2*i*i-2*a*a),o=Math.asin(2*r*i+2*a*n),l=Math.atan2(2*r*n-2*i*a,1-2*r*r-2*a*a);t[0]=s/degToRads,t[1]=o/degToRads,t[2]=l/degToRads}function n(t){var e=t[0]*degToRads,r=t[1]*degToRads,i=t[2]*degToRads,a=Math.cos(e/2),n=Math.cos(r/2),s=Math.cos(i/2),o=Math.sin(e/2),l=Math.sin(r/2),h=Math.sin(i/2),c=a*n*s-o*l*h,u=o*l*s+a*n*h,p=o*n*s+a*l*h,f=a*l*s-o*n*h;return[u,p,f,c]}function s(){var e=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==t&&(this._caching.lastFrame>=i&&e>=i||this._caching.lastFrame<r&&e<r))){this._caching.lastFrame>=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var a=this.interpolateValue(e,this._caching);this.pv=a}return this._caching.lastFrame=e,this.pv}function o(t){var r;if("unidimensional"===this.propType)r=t*this.mult,e(this.v-r)>1e-5&&(this.v=r,this._mdf=!0);else{var i=0,a=this.v.length;while(i<a)r=t[i]*this.mult,e(this.v[i]-r)>1e-5&&(this.v[i]=r,this._mdf=!0),i+=1}}function l(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{this.lock=!0,this._mdf=this._isFirstFrame;var t,e=this.effectsSequence.length,r=this.kf?this.pv:this.data.k;for(t=0;t<e;t+=1)r=this.effectsSequence[t](r);this.setVValue(r),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function h(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function c(t,e,r,i){this.propType="unidimensional",this.mult=r||1,this.data=e,this.v=r?e.k*r:e.k,this.pv=e.k,this._mdf=!1,this.elem=t,this.container=i,this.comp=t.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=l,this.setVValue=o,this.addEffect=h}function u(t,e,r,i){this.propType="multidimensional",this.mult=r||1,this.data=e,this._mdf=!1,this.elem=t,this.container=i,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1;var a,n=e.k.length;this.v=createTypedArray("float32",n),this.pv=createTypedArray("float32",n);createTypedArray("float32",n);for(this.vel=createTypedArray("float32",n),a=0;a<n;a+=1)this.v[a]=e.k[a]*this.mult,this.pv[a]=e.k[a];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=l,this.setVValue=o,this.addEffect=h}function p(e,i,a,n){this.propType="unidimensional",this.keyframes=i.k,this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:t,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=i,this.mult=a||1,this.elem=e,this.container=n,this.comp=e.comp,this.v=t,this.pv=t,this._isFirstFrame=!0,this.getValue=l,this.setVValue=o,this.interpolateValue=r,this.effectsSequence=[s.bind(this)],this.addEffect=h}function f(e,i,a,n){this.propType="multidimensional";var c,u,p,f,d,m=i.k.length;for(c=0;c<m-1;c+=1)i.k[c].to&&i.k[c].s&&i.k[c+1]&&i.k[c+1].s&&(u=i.k[c].s,p=i.k[c+1].s,f=i.k[c].to,d=i.k[c].ti,(2===u.length&&(u[0]!==p[0]||u[1]!==p[1])&&bez.pointOnLine2D(u[0],u[1],p[0],p[1],u[0]+f[0],u[1]+f[1])&&bez.pointOnLine2D(u[0],u[1],p[0],p[1],p[0]+d[0],p[1]+d[1])||3===u.length&&(u[0]!==p[0]||u[1]!==p[1]||u[2]!==p[2])&&bez.pointOnLine3D(u[0],u[1],u[2],p[0],p[1],p[2],u[0]+f[0],u[1]+f[1],u[2]+f[2])&&bez.pointOnLine3D(u[0],u[1],u[2],p[0],p[1],p[2],p[0]+d[0],p[1]+d[1],p[2]+d[2]))&&(i.k[c].to=null,i.k[c].ti=null),u[0]===p[0]&&u[1]===p[1]&&0===f[0]&&0===f[1]&&0===d[0]&&0===d[1]&&(2===u.length||u[2]===p[2]&&0===f[2]&&0===d[2])&&(i.k[c].to=null,i.k[c].ti=null));this.effectsSequence=[s.bind(this)],this.keyframes=i.k,this.offsetTime=e.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=a||1,this.elem=e,this.container=n,this.comp=e.comp,this.getValue=l,this.setVValue=o,this.interpolateValue=r,this.frameId=-1;var g=i.k[0].s.length;for(this.v=createTypedArray("float32",g),this.pv=createTypedArray("float32",g),c=0;c<g;c+=1)this.v[c]=t,this.pv[c]=t;this._caching={lastFrame:t,lastIndex:0,value:createTypedArray("float32",g)},this.addEffect=h}function d(t,e,r,i,a){var n;if(e.k.length)if("number"===typeof e.k[0])n=new u(t,e,i,a);else switch(r){case 0:n=new p(t,e,i,a);break;case 1:n=new f(t,e,i,a);break}else n=new c(t,e,i,a);return n.effectsSequence.length&&a.addDynamicProperty(n),n}var m={getProp:d};return m}(),TransformPropertyFactory=function(){var t=[0,0];function e(t){var e=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||e,this.a&&t.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&t.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&t.skewFromAxis(-this.sk.v,this.sa.v),this.r?t.rotate(-this.r.v):t.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?t.translate(this.px.v,this.py.v,-this.pz.v):t.translate(this.px.v,this.py.v,0):t.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function r(e){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||e){if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var r,i,a=this.elem.globalData.frameRate;if(this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(r=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/a,0),i=this.p.getValueAtTime(this.p.keyframes[0].t/a,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(r=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/a,0),i=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/a,0)):(r=this.p.pv,i=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/a,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){r=[],i=[];var n=this.px,s=this.py;n._caching.lastFrame+n.offsetTime<=n.keyframes[0].t?(r[0]=n.getValueAtTime((n.keyframes[0].t+.01)/a,0),r[1]=s.getValueAtTime((s.keyframes[0].t+.01)/a,0),i[0]=n.getValueAtTime(n.keyframes[0].t/a,0),i[1]=s.getValueAtTime(s.keyframes[0].t/a,0)):n._caching.lastFrame+n.offsetTime>=n.keyframes[n.keyframes.length-1].t?(r[0]=n.getValueAtTime(n.keyframes[n.keyframes.length-1].t/a,0),r[1]=s.getValueAtTime(s.keyframes[s.keyframes.length-1].t/a,0),i[0]=n.getValueAtTime((n.keyframes[n.keyframes.length-1].t-.01)/a,0),i[1]=s.getValueAtTime((s.keyframes[s.keyframes.length-1].t-.01)/a,0)):(r=[n.pv,s.pv],i[0]=n.getValueAtTime((n._caching.lastFrame+n.offsetTime-.01)/a,n.offsetTime),i[1]=s.getValueAtTime((s._caching.lastFrame+s.offsetTime-.01)/a,s.offsetTime))}else r=i=t;this.v.rotate(-Math.atan2(r[1]-i[1],r[0]-i[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function i(){if(!this.a.k&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}if(this.r){if(this.r.effectsSequence.length)return;this.pre.rotate(-this.r.v),this.appliedTransformations=4}else this.rz.effectsSequence.length||this.ry.effectsSequence.length||this.rx.effectsSequence.length||this.or.effectsSequence.length||(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}}function a(){}function n(t){this._addDynamicProperty(t),this.elem.addDynamicProperty(t),this._isDirty=!0}function s(t,e,r){if(this.elem=t,this.frameId=-1,this.propType="transform",this.data=e,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(r||t),e.p&&e.p.s?(this.px=PropertyFactory.getProp(t,e.p.x,0,0,this),this.py=PropertyFactory.getProp(t,e.p.y,0,0,this),e.p.z&&(this.pz=PropertyFactory.getProp(t,e.p.z,0,0,this))):this.p=PropertyFactory.getProp(t,e.p||{k:[0,0,0]},1,0,this),e.rx){if(this.rx=PropertyFactory.getProp(t,e.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(t,e.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(t,e.rz,0,degToRads,this),e.or.k[0].ti){var i,a=e.or.k.length;for(i=0;i<a;i+=1)e.or.k[i].to=e.or.k[i].ti=null}this.or=PropertyFactory.getProp(t,e.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(t,e.r||{k:0},0,degToRads,this);e.sk&&(this.sk=PropertyFactory.getProp(t,e.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(t,e.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(t,e.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(t,e.s||{k:[100,100,100]},1,.01,this),e.o?this.o=PropertyFactory.getProp(t,e.o,0,.01,t):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}function o(t,e,r){return new s(t,e,r)}return s.prototype={applyToMatrix:e,getValue:r,precalculateMatrix:i,autoOrient:a},extendPrototype([DynamicPropertyContainer],s),s.prototype.addDynamicProperty=n,s.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:o}}();function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(t,e){this.c=t,this.setLength(e);var r=0;while(r<e)this.v[r]=point_pool.newElement(),this.o[r]=point_pool.newElement(),this.i[r]=point_pool.newElement(),r+=1},ShapePath.prototype.setLength=function(t){while(this._maxLength<t)this.doubleArrayLength();this._length=t},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(t,e,r,i,a){var n;switch(this._length=Math.max(this._length,i+1),this._length>=this._maxLength&&this.doubleArrayLength(),r){case"v":n=this.v;break;case"i":n=this.i;break;case"o":n=this.o;break}(!n[i]||n[i]&&!a)&&(n[i]=point_pool.newElement()),n[i][0]=t,n[i][1]=e},ShapePath.prototype.setTripleAt=function(t,e,r,i,a,n,s,o){this.setXYAt(t,e,"v",s,o),this.setXYAt(r,i,"o",s,o),this.setXYAt(a,n,"i",s,o)},ShapePath.prototype.reverse=function(){var t=new ShapePath;t.setPathData(this.c,this._length);var e=this.v,r=this.o,i=this.i,a=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],i[0][0],i[0][1],r[0][0],r[0][1],0,!1),a=1);var n,s=this._length-1,o=this._length;for(n=a;n<o;n+=1)t.setTripleAt(e[s][0],e[s][1],i[s][0],i[s][1],r[s][0],r[s][1],n,!1),s-=1;return t};var ShapePropertyFactory=function(){var t=-999999;function e(t,e,r){var i,a,n,s,o,l,h,c,u,p=r.lastIndex,f=this.keyframes;if(t<f[0].t-this.offsetTime)i=f[0].s[0],n=!0,p=0;else if(t>=f[f.length-1].t-this.offsetTime)i=f[f.length-1].s?f[f.length-1].s[0]:f[f.length-2].e[0],n=!0;else{var d,m,g=p,v=f.length-1,y=!0;while(y){if(d=f[g],m=f[g+1],m.t-this.offsetTime>t)break;g<v-1?g+=1:y=!1}if(n=1===d.h,p=g,!n){if(t>=m.t-this.offsetTime)c=1;else if(t<d.t-this.offsetTime)c=0;else{var b;d.__fnct?b=d.__fnct:(b=BezierFactory.getBezierEasing(d.o.x,d.o.y,d.i.x,d.i.y).get,d.__fnct=b),c=b((t-(d.t-this.offsetTime))/(m.t-this.offsetTime-(d.t-this.offsetTime)))}a=m.s?m.s[0]:d.e[0]}i=d.s[0]}for(l=e._length,h=i.i[0].length,r.lastIndex=p,s=0;s<l;s+=1)for(o=0;o<h;o+=1)u=n?i.i[s][o]:i.i[s][o]+(a.i[s][o]-i.i[s][o])*c,e.i[s][o]=u,u=n?i.o[s][o]:i.o[s][o]+(a.o[s][o]-i.o[s][o])*c,e.o[s][o]=u,u=n?i.v[s][o]:i.v[s][o]+(a.v[s][o]-i.v[s][o])*c,e.v[s][o]=u}function r(){var e=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime,a=this._caching.lastFrame;return a!==t&&(a<r&&e<r||a>i&&e>i)||(this._caching.lastIndex=a<e?this._caching.lastIndex:0,this.interpolateShape(e,this.pv,this._caching)),this._caching.lastFrame=e,this.pv}function i(){this.paths=this.localShapeCollection}function a(t,e){if(t._length!==e._length||t.c!==e.c)return!1;var r,i=t._length;for(r=0;r<i;r+=1)if(t.v[r][0]!==e.v[r][0]||t.v[r][1]!==e.v[r][1]||t.o[r][0]!==e.o[r][0]||t.o[r][1]!==e.o[r][1]||t.i[r][0]!==e.i[r][0]||t.i[r][1]!==e.i[r][1])return!1;return!0}function n(t){a(this.v,t)||(this.v=shape_pool.clone(t),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function s(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{this.lock=!0,this._mdf=!1;var t,e=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k,r=this.effectsSequence.length;for(t=0;t<r;t+=1)e=this.effectsSequence[t](e);this.setVValue(e),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function o(t,e,r){this.propType="shape",this.comp=t.comp,this.container=t,this.elem=t,this.data=e,this.k=!1,this.kf=!1,this._mdf=!1;var a=3===r?e.pt.k:e.ks.k;this.v=shape_pool.clone(a),this.pv=shape_pool.clone(this.v),this.localShapeCollection=shapeCollection_pool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=i,this.effectsSequence=[]}function l(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function h(e,a,n){this.propType="shape",this.comp=e.comp,this.elem=e,this.container=e,this.offsetTime=e.data.st,this.keyframes=3===n?a.pt.k:a.ks.k,this.k=!0,this.kf=!0;var s=this.keyframes[0].s[0].i.length;this.keyframes[0].s[0].i[0].length;this.v=shape_pool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,s),this.pv=shape_pool.clone(this.v),this.localShapeCollection=shapeCollection_pool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=t,this.reset=i,this._caching={lastFrame:t,lastIndex:0},this.effectsSequence=[r.bind(this)]}o.prototype.interpolateShape=e,o.prototype.getValue=s,o.prototype.setVValue=n,o.prototype.addEffect=l,h.prototype.getValue=s,h.prototype.interpolateShape=e,h.prototype.setVValue=n,h.prototype.addEffect=l;var c=function(){var t=roundCorner;function e(t,e){this.v=shape_pool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollection_pool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=e.d,this.elem=t,this.comp=t.comp,this.frameId=-1,this.initDynamicPropertyContainer(t),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.s=PropertyFactory.getProp(t,e.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return e.prototype={reset:i,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var e=this.p.v[0],r=this.p.v[1],i=this.s.v[0]/2,a=this.s.v[1]/2,n=3!==this.d,s=this.v;s.v[0][0]=e,s.v[0][1]=r-a,s.v[1][0]=n?e+i:e-i,s.v[1][1]=r,s.v[2][0]=e,s.v[2][1]=r+a,s.v[3][0]=n?e-i:e+i,s.v[3][1]=r,s.i[0][0]=n?e-i*t:e+i*t,s.i[0][1]=r-a,s.i[1][0]=n?e+i:e-i,s.i[1][1]=r-a*t,s.i[2][0]=n?e+i*t:e-i*t,s.i[2][1]=r+a,s.i[3][0]=n?e-i:e+i,s.i[3][1]=r+a*t,s.o[0][0]=n?e+i*t:e-i*t,s.o[0][1]=r-a,s.o[1][0]=n?e+i:e-i,s.o[1][1]=r+a*t,s.o[2][0]=n?e-i*t:e+i*t,s.o[2][1]=r+a,s.o[3][0]=n?e-i:e+i,s.o[3][1]=r-a*t}},extendPrototype([DynamicPropertyContainer],e),e}(),u=function(){function t(t,e){this.v=shape_pool.newElement(),this.v.setPathData(!0,0),this.elem=t,this.comp=t.comp,this.data=e,this.frameId=-1,this.d=e.d,this.initDynamicPropertyContainer(t),1===e.sy?(this.ir=PropertyFactory.getProp(t,e.ir,0,0,this),this.is=PropertyFactory.getProp(t,e.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(t,e.pt,0,0,this),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.r=PropertyFactory.getProp(t,e.r,0,degToRads,this),this.or=PropertyFactory.getProp(t,e.or,0,0,this),this.os=PropertyFactory.getProp(t,e.os,0,.01,this),this.localShapeCollection=shapeCollection_pool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return t.prototype={reset:i,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var t,e,r,i,a=2*Math.floor(this.pt.v),n=2*Math.PI/a,s=!0,o=this.or.v,l=this.ir.v,h=this.os.v,c=this.is.v,u=2*Math.PI*o/(2*a),p=2*Math.PI*l/(2*a),f=-Math.PI/2;f+=this.r.v;var d=3===this.data.d?-1:1;for(this.v._length=0,t=0;t<a;t+=1){e=s?o:l,r=s?h:c,i=s?u:p;var m=e*Math.cos(f),g=e*Math.sin(f),v=0===m&&0===g?0:g/Math.sqrt(m*m+g*g),y=0===m&&0===g?0:-m/Math.sqrt(m*m+g*g);m+=+this.p.v[0],g+=+this.p.v[1],this.v.setTripleAt(m,g,m-v*i*r*d,g-y*i*r*d,m+v*i*r*d,g+y*i*r*d,t,!0),s=!s,f+=n*d}},convertPolygonToPath:function(){var t,e=Math.floor(this.pt.v),r=2*Math.PI/e,i=this.or.v,a=this.os.v,n=2*Math.PI*i/(4*e),s=-Math.PI/2,o=3===this.data.d?-1:1;for(s+=this.r.v,this.v._length=0,t=0;t<e;t+=1){var l=i*Math.cos(s),h=i*Math.sin(s),c=0===l&&0===h?0:h/Math.sqrt(l*l+h*h),u=0===l&&0===h?0:-l/Math.sqrt(l*l+h*h);l+=+this.p.v[0],h+=+this.p.v[1],this.v.setTripleAt(l,h,l-c*n*a*o,h-u*n*a*o,l+c*n*a*o,h+u*n*a*o,t,!0),s+=r*o}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],t),t}(),p=function(){function t(t,e){this.v=shape_pool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollection_pool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=t,this.comp=t.comp,this.frameId=-1,this.d=e.d,this.initDynamicPropertyContainer(t),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.s=PropertyFactory.getProp(t,e.s,1,0,this),this.r=PropertyFactory.getProp(t,e.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return t.prototype={convertRectToPath:function(){var t=this.p.v[0],e=this.p.v[1],r=this.s.v[0]/2,i=this.s.v[1]/2,a=bm_min(r,i,this.r.v),n=a*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(t+r,e-i+a,t+r,e-i+a,t+r,e-i+n,0,!0),this.v.setTripleAt(t+r,e+i-a,t+r,e+i-n,t+r,e+i-a,1,!0),0!==a?(this.v.setTripleAt(t+r-a,e+i,t+r-a,e+i,t+r-n,e+i,2,!0),this.v.setTripleAt(t-r+a,e+i,t-r+n,e+i,t-r+a,e+i,3,!0),this.v.setTripleAt(t-r,e+i-a,t-r,e+i-a,t-r,e+i-n,4,!0),this.v.setTripleAt(t-r,e-i+a,t-r,e-i+n,t-r,e-i+a,5,!0),this.v.setTripleAt(t-r+a,e-i,t-r+a,e-i,t-r+n,e-i,6,!0),this.v.setTripleAt(t+r-a,e-i,t+r-n,e-i,t+r-a,e-i,7,!0)):(this.v.setTripleAt(t-r,e+i,t-r+n,e+i,t-r,e+i,2),this.v.setTripleAt(t-r,e-i,t-r,e-i+n,t-r,e-i,3))):(this.v.setTripleAt(t+r,e-i+a,t+r,e-i+n,t+r,e-i+a,0,!0),0!==a?(this.v.setTripleAt(t+r-a,e-i,t+r-a,e-i,t+r-n,e-i,1,!0),this.v.setTripleAt(t-r+a,e-i,t-r+n,e-i,t-r+a,e-i,2,!0),this.v.setTripleAt(t-r,e-i+a,t-r,e-i+a,t-r,e-i+n,3,!0),this.v.setTripleAt(t-r,e+i-a,t-r,e+i-n,t-r,e+i-a,4,!0),this.v.setTripleAt(t-r+a,e+i,t-r+a,e+i,t-r+n,e+i,5,!0),this.v.setTripleAt(t+r-a,e+i,t+r-n,e+i,t+r-a,e+i,6,!0),this.v.setTripleAt(t+r,e+i-a,t+r,e+i-a,t+r,e+i-n,7,!0)):(this.v.setTripleAt(t-r,e-i,t-r+n,e-i,t-r,e-i,1,!0),this.v.setTripleAt(t-r,e+i,t-r,e+i-n,t-r,e+i,2,!0),this.v.setTripleAt(t+r,e+i,t+r-n,e+i,t+r,e+i,3,!0)))},getValue:function(t){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:i},extendPrototype([DynamicPropertyContainer],t),t}();function f(t,e,r){var i;if(3===r||4===r){var a=3===r?e.pt:e.ks,n=a.k;i=n.length?new h(t,e,r):new o(t,e,r)}else 5===r?i=new p(t,e):6===r?i=new c(t,e):7===r&&(i=new u(t,e));return i.k&&t.addDynamicProperty(i),i}function d(){return o}function m(){return h}var g={};return g.getShapeProp=f,g.getConstructorFunction=d,g.getKeyframedConstructorFunction=m,g}(),ShapeModifiers=function(){var t={},e={};function r(t,r){e[t]||(e[t]=r)}function i(t,r,i){return new e[t](r,i)}return t.registerModifier=r,t.getModifier=i,t}();function ShapeModifier(){}function TrimModifier(){}function RoundCornersModifier(){}function RepeaterModifier(){}function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}function DashProperty(t,e,r,i){this.elem=t,this.frameId=-1,this.dataProps=createSizedArray(e.length),this.renderer=r,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",e.length?e.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(i);var a,n,s=e.length||0;for(a=0;a<s;a+=1)n=PropertyFactory.getProp(t,e[a].v,0,0,this),this.k=n.k||this.k,this.dataProps[a]={n:e[a].n,p:n};this.k||this.getValue(!0),this._isAnimated=this.k}function GradientProperty(t,e,r){this.data=e,this.c=createTypedArray("uint8c",4*e.p);var i=e.k.k[0].s?e.k.k[0].s.length-4*e.p:e.k.k.length-4*e.p;this.o=createTypedArray("float32",i),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=i,this.initDynamicPropertyContainer(r),this.prop=PropertyFactory.getProp(t,e.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(t){if(!this.closed){t.sh.container.addDynamicProperty(t.sh);var e={shape:t.sh,data:t,localShapeCollection:shapeCollection_pool.newShapeCollection()};this.shapes.push(e),this.addShapeToModifier(e),this._isAnimated&&t.setAsAnimated()}},ShapeModifier.prototype.init=function(t,e){this.shapes=[],this.elem=t,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier),extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(t,e){this.s=PropertyFactory.getProp(t,e.s,0,.01,this),this.e=PropertyFactory.getProp(t,e.e,0,.01,this),this.o=PropertyFactory.getProp(t,e.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=e.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(t){t.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(t,e,r,i,a){var n=[];e<=1?n.push({s:t,e:e}):t>=1?n.push({s:t-1,e:e-1}):(n.push({s:t,e:1}),n.push({s:0,e:e-1}));var s,o,l=[],h=n.length;for(s=0;s<h;s+=1){var c,u;if(o=n[s],o.e*a<i||o.s*a>i+r);else c=o.s*a<=i?0:(o.s*a-i)/r,u=o.e*a>=i+r?1:(o.e*a-i)/r,l.push([c,u])}return l.length||l.push([0,0]),l},TrimModifier.prototype.releasePathsData=function(t){var e,r=t.length;for(e=0;e<r;e+=1)segments_length_pool.release(t[e]);return t.length=0,t},TrimModifier.prototype.processShapes=function(t){var e,r,i;if(this._mdf||t){var a=this.o.v%360/360;if(a<0&&(a+=1),e=(this.s.v>1?1:this.s.v<0?0:this.s.v)+a,r=(this.e.v>1?1:this.e.v<0?0:this.e.v)+a,e>r){var n=e;e=r,r=n}e=1e-4*Math.round(1e4*e),r=1e-4*Math.round(1e4*r),this.sValue=e,this.eValue=r}else e=this.sValue,r=this.eValue;var s,o,l,h,c,u,p=this.shapes.length,f=0;if(r===e)for(s=0;s<p;s+=1)this.shapes[s].localShapeCollection.releaseShapes(),this.shapes[s].shape._mdf=!0,this.shapes[s].shape.paths=this.shapes[s].localShapeCollection;else if(1===r&&0===e||0===r&&1===e){if(this._mdf)for(s=0;s<p;s+=1)this.shapes[s].pathsData.length=0,this.shapes[s].shape._mdf=!0}else{var d,m,g=[];for(s=0;s<p;s+=1)if(d=this.shapes[s],d.shape._mdf||this._mdf||t||2===this.m){if(i=d.shape.paths,l=i._length,u=0,!d.shape._mdf&&d.pathsData.length)u=d.totalShapeLength;else{for(h=this.releasePathsData(d.pathsData),o=0;o<l;o+=1)c=bez.getSegmentsLength(i.shapes[o]),h.push(c),u+=c.totalLength;d.totalShapeLength=u,d.pathsData=h}f+=u,d.shape._mdf=!0}else d.shape.paths=d.localShapeCollection;var v,y=e,b=r,_=0;for(s=p-1;s>=0;s-=1)if(d=this.shapes[s],d.shape._mdf){for(m=d.localShapeCollection,m.releaseShapes(),2===this.m&&p>1?(v=this.calculateShapeEdges(e,r,d.totalShapeLength,_,f),_+=d.totalShapeLength):v=[[y,b]],l=v.length,o=0;o<l;o+=1){y=v[o][0],b=v[o][1],g.length=0,b<=1?g.push({s:d.totalShapeLength*y,e:d.totalShapeLength*b}):y>=1?g.push({s:d.totalShapeLength*(y-1),e:d.totalShapeLength*(b-1)}):(g.push({s:d.totalShapeLength*y,e:d.totalShapeLength}),g.push({s:0,e:d.totalShapeLength*(b-1)}));var x=this.addShapes(d,g[0]);if(g[0].s!==g[0].e){if(g.length>1){var E=d.shape.paths.shapes[d.shape.paths._length-1];if(E.c){var S=x.pop();this.addPaths(x,m),x=this.addShapes(d,g[1],S)}else this.addPaths(x,m),x=this.addShapes(d,g[1])}this.addPaths(x,m)}}d.shape.paths=m}}},TrimModifier.prototype.addPaths=function(t,e){var r,i=t.length;for(r=0;r<i;r+=1)e.addShape(t[r])},TrimModifier.prototype.addSegment=function(t,e,r,i,a,n,s){a.setXYAt(e[0],e[1],"o",n),a.setXYAt(r[0],r[1],"i",n+1),s&&a.setXYAt(t[0],t[1],"v",n),a.setXYAt(i[0],i[1],"v",n+1)},TrimModifier.prototype.addSegmentFromArray=function(t,e,r,i){e.setXYAt(t[1],t[5],"o",r),e.setXYAt(t[2],t[6],"i",r+1),i&&e.setXYAt(t[0],t[4],"v",r),e.setXYAt(t[3],t[7],"v",r+1)},TrimModifier.prototype.addShapes=function(t,e,r){var i,a,n,s,o,l,h,c,u=t.pathsData,p=t.shape.paths.shapes,f=t.shape.paths._length,d=0,m=[],g=!0;for(r?(o=r._length,c=r._length):(r=shape_pool.newElement(),o=0,c=0),m.push(r),i=0;i<f;i+=1){for(l=u[i].lengths,r.c=p[i].c,n=p[i].c?l.length:l.length+1,a=1;a<n;a+=1)if(s=l[a-1],d+s.addedLength<e.s)d+=s.addedLength,r.c=!1;else{if(d>e.e){r.c=!1;break}e.s<=d&&e.e>=d+s.addedLength?(this.addSegment(p[i].v[a-1],p[i].o[a-1],p[i].i[a],p[i].v[a],r,o,g),g=!1):(h=bez.getNewSegment(p[i].v[a-1],p[i].v[a],p[i].o[a-1],p[i].i[a],(e.s-d)/s.addedLength,(e.e-d)/s.addedLength,l[a-1]),this.addSegmentFromArray(h,r,o,g),g=!1,r.c=!1),d+=s.addedLength,o+=1}if(p[i].c&&l.length){if(s=l[a-1],d<=e.e){var v=l[a-1].addedLength;e.s<=d&&e.e>=d+v?(this.addSegment(p[i].v[a-1],p[i].o[a-1],p[i].i[0],p[i].v[0],r,o,g),g=!1):(h=bez.getNewSegment(p[i].v[a-1],p[i].v[0],p[i].o[a-1],p[i].i[0],(e.s-d)/v,(e.e-d)/v,l[a-1]),this.addSegmentFromArray(h,r,o,g),g=!1,r.c=!1)}else r.c=!1;d+=s.addedLength,o+=1}if(r._length&&(r.setXYAt(r.v[c][0],r.v[c][1],"i",c),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),d>e.e)break;i<f-1&&(r=shape_pool.newElement(),g=!0,m.push(r),o=0)}return m},ShapeModifiers.registerModifier("tm",TrimModifier),extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(t,e.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(t,e){var r=shape_pool.newElement();r.c=t.c;var i,a,n,s,o,l,h,c,u,p,f,d,m,g=t._length,v=0;for(i=0;i<g;i+=1)a=t.v[i],s=t.o[i],n=t.i[i],a[0]===s[0]&&a[1]===s[1]&&a[0]===n[0]&&a[1]===n[1]?0!==i&&i!==g-1||t.c?(o=0===i?t.v[g-1]:t.v[i-1],l=Math.sqrt(Math.pow(a[0]-o[0],2)+Math.pow(a[1]-o[1],2)),h=l?Math.min(l/2,e)/l:0,c=d=a[0]+(o[0]-a[0])*h,u=m=a[1]-(a[1]-o[1])*h,p=c-(c-a[0])*roundCorner,f=u-(u-a[1])*roundCorner,r.setTripleAt(c,u,p,f,d,m,v),v+=1,o=i===g-1?t.v[0]:t.v[i+1],l=Math.sqrt(Math.pow(a[0]-o[0],2)+Math.pow(a[1]-o[1],2)),h=l?Math.min(l/2,e)/l:0,c=p=a[0]+(o[0]-a[0])*h,u=f=a[1]+(o[1]-a[1])*h,d=c-(c-a[0])*roundCorner,m=u-(u-a[1])*roundCorner,r.setTripleAt(c,u,p,f,d,m,v),v+=1):(r.setTripleAt(a[0],a[1],s[0],s[1],n[0],n[1],v),v+=1):(r.setTripleAt(t.v[i][0],t.v[i][1],t.o[i][0],t.o[i][1],t.i[i][0],t.i[i][1],v),v+=1);return r},RoundCornersModifier.prototype.processShapes=function(t){var e,r,i,a,n,s,o=this.shapes.length,l=this.rd.v;if(0!==l)for(r=0;r<o;r+=1){if(n=this.shapes[r],n.shape.paths,s=n.localShapeCollection,n.shape._mdf||this._mdf||t)for(s.releaseShapes(),n.shape._mdf=!0,e=n.shape.paths.shapes,a=n.shape.paths._length,i=0;i<a;i+=1)s.addShape(this.processPath(e[i],l));n.shape.paths=n.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},ShapeModifiers.registerModifier("rd",RoundCornersModifier),extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(t,e.c,0,null,this),this.o=PropertyFactory.getProp(t,e.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(t,e.tr,this),this.so=PropertyFactory.getProp(t,e.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(t,e.tr.eo,0,.01,this),this.data=e,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(t,e,r,i,a,n){var s=n?-1:1,o=i.s.v[0]+(1-i.s.v[0])*(1-a),l=i.s.v[1]+(1-i.s.v[1])*(1-a);t.translate(i.p.v[0]*s*a,i.p.v[1]*s*a,i.p.v[2]),e.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),e.rotate(-i.r.v*s*a),e.translate(i.a.v[0],i.a.v[1],i.a.v[2]),r.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),r.scale(n?1/o:o,n?1/l:l),r.translate(i.a.v[0],i.a.v[1],i.a.v[2])},RepeaterModifier.prototype.init=function(t,e,r,i){this.elem=t,this.arr=e,this.pos=r,this.elemsData=i,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e[r]);while(r>0)r-=1,this._elements.unshift(e[r]),1;this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(t){var e,r=t.length;for(e=0;e<r;e+=1)t[e]._processed=!1,"gr"===t[e].ty&&this.resetElements(t[e].it)},RepeaterModifier.prototype.cloneElements=function(t){t.length;var e=JSON.parse(JSON.stringify(t));return this.resetElements(e),e},RepeaterModifier.prototype.changeGroupRender=function(t,e){var r,i=t.length;for(r=0;r<i;r+=1)t[r]._render=e,"gr"===t[r].ty&&this.changeGroupRender(t[r].it,e)},RepeaterModifier.prototype.processShapes=function(t){var e,r,i,a,n;if(this._mdf||t){var s,o=Math.ceil(this.c.v);if(this._groups.length<o){while(this._groups.length<o){var l={it:this.cloneElements(this._elements),ty:"gr"};l.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,l),this._groups.splice(0,0,l),this._currentCopies+=1}this.elem.reloadShapes()}for(n=0,i=0;i<=this._groups.length-1;i+=1)s=n<o,this._groups[i]._render=s,this.changeGroupRender(this._groups[i].it,s),n+=1;this._currentCopies=o;var h=this.o.v,c=h%1,u=h>0?Math.floor(h):Math.ceil(h),p=(this.tr.v.props,this.pMatrix.props),f=this.rMatrix.props,d=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var m,g,v=0;if(h>0){while(v<u)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),v+=1;c&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,c,!1),v+=c)}else if(h<0){while(v>u)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),v-=1;c&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-c,!0),v-=c)}i=1===this.data.m?0:this._currentCopies-1,a=1===this.data.m?1:-1,n=this._currentCopies;while(n){if(e=this.elemsData[i].it,r=e[e.length-1].transform.mProps.v.props,g=r.length,e[e.length-1].transform.mProps._mdf=!0,e[e.length-1].transform.op._mdf=!0,e[e.length-1].transform.op.v=this.so.v+(this.eo.v-this.so.v)*(i/(this._currentCopies-1)),0!==v){for((0!==i&&1===a||i!==this._currentCopies-1&&-1===a)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(f[0],f[1],f[2],f[3],f[4],f[5],f[6],f[7],f[8],f[9],f[10],f[11],f[12],f[13],f[14],f[15]),this.matrix.transform(d[0],d[1],d[2],d[3],d[4],d[5],d[6],d[7],d[8],d[9],d[10],d[11],d[12],d[13],d[14],d[15]),this.matrix.transform(p[0],p[1],p[2],p[3],p[4],p[5],p[6],p[7],p[8],p[9],p[10],p[11],p[12],p[13],p[14],p[15]),m=0;m<g;m+=1)r[m]=this.matrix.props[m];this.matrix.reset()}else for(this.matrix.reset(),m=0;m<g;m+=1)r[m]=this.matrix.props[m];v+=1,n-=1,i+=a}}else{n=this._currentCopies,i=0,a=1;while(n)e=this.elemsData[i].it,r=e[e.length-1].transform.mProps.v.props,e[e.length-1].transform.mProps._mdf=!1,e[e.length-1].transform.op._mdf=!1,n-=1,i+=a}},RepeaterModifier.prototype.addShape=function(){},ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeCollection.prototype.addShape=function(t){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=t,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var t;for(t=0;t<this._length;t+=1)shape_pool.release(this.shapes[t]);this._length=0},DashProperty.prototype.getValue=function(t){if((this.elem.globalData.frameId!==this.frameId||t)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||t,this._mdf)){var e=0,r=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),e=0;e<r;e+=1)"o"!=this.dataProps[e].n?"svg"===this.renderer?this.dashStr+=" "+this.dataProps[e].p.v:this.dashArray[e]=this.dataProps[e].p.v:this.dashoffset[0]=this.dataProps[e].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty),GradientProperty.prototype.comparePoints=function(t,e){var r,i=0,a=this.o.length/2;while(i<a){if(r=Math.abs(t[4*i]-t[4*e+2*i]),r>.01)return!1;i+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s){var t=0,e=this.data.k.k.length;while(t<e){if(!this.comparePoints(this.data.k.k[t].s,this.data.p))return!1;t+=1}}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(t){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||t){var e,r,i,a=4*this.data.p;for(e=0;e<a;e+=1)r=e%4===0?100:255,i=Math.round(this.prop.v[e]*r),this.c[e]!==i&&(this.c[e]=i,this._cmdf=!t);if(this.o.length)for(a=this.prop.v.length,e=4*this.data.p;e<a;e+=1)r=e%2===0?100:1,i=e%2===0?Math.round(100*this.prop.v[e]):this.prop.v[e],this.o[e-4*this.data.p]!==i&&(this.o[e-4*this.data.p]=i,this._omdf=!t);this._mdf=!t}},extendPrototype([DynamicPropertyContainer],GradientProperty);var buildShapeString=function(t,e,r,i){if(0===e)return"";var a,n=t.o,s=t.i,o=t.v,l=" M"+i.applyToPointStringified(o[0][0],o[0][1]);for(a=1;a<e;a+=1)l+=" C"+i.applyToPointStringified(n[a-1][0],n[a-1][1])+" "+i.applyToPointStringified(s[a][0],s[a][1])+" "+i.applyToPointStringified(o[a][0],o[a][1]);return r&&e&&(l+=" C"+i.applyToPointStringified(n[a-1][0],n[a-1][1])+" "+i.applyToPointStringified(s[0][0],s[0][1])+" "+i.applyToPointStringified(o[0][0],o[0][1]),l+="z"),l},ImagePreloader=function(){var t=function(){var t=createTag("canvas");t.width=1,t.height=1;var e=t.getContext("2d");return e.fillStyle="rgba(0,0,0,0)",e.fillRect(0,0,1,1),t}();function e(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(t,e,r){var i="";if(t.e)i=t.p;else if(e){var a=t.p;-1!==a.indexOf("images/")&&(a=a.split("/")[1]),i=e+a}else i=r,i+=t.u?t.u:"",i+=t.p;return i}function i(e){var i=r(e,this.assetsPath,this.path),a=createTag("img");a.crossOrigin="anonymous",a.addEventListener("load",this._imageLoaded.bind(this),!1),a.addEventListener("error",function(){n.img=t,this._imageLoaded()}.bind(this),!1),a.src=i;var n={img:a,assetData:e};return n}function a(t,e){this.imagesLoadedCb=e;var r,i=t.length;for(r=0;r<i;r+=1)t[r].layers||(this.totalImages+=1,this.images.push(this._createImageData(t[r])))}function n(t){this.path=t||""}function s(t){this.assetsPath=t||""}function o(t){var e=0,r=this.images.length;while(e<r){if(this.images[e].assetData===t)return this.images[e].img;e+=1}}function l(){this.imagesLoadedCb=null,this.images.length=0}function h(){return this.totalImages===this.loadedAssets}return function(){this.loadAssets=a,this.setAssetsPath=s,this.setPath=n,this.loaded=h,this.destroy=l,this.getImage=o,this._createImageData=i,this._imageLoaded=e,this.assetsPath="",this.path="",this.totalImages=0,this.loadedAssets=0,this.imagesLoadedCb=null,this.images=[]}}(),featureSupport=function(){var t={maskType:!0};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(t.maskType=!1),t}(),filtersFactory=function(){var t={};function e(t){var e=createNS("filter");return e.setAttribute("id",t),e.setAttribute("filterUnits","objectBoundingBox"),e.setAttribute("x","0%"),e.setAttribute("y","0%"),e.setAttribute("width","100%"),e.setAttribute("height","100%"),e}function r(){var t=createNS("feColorMatrix");return t.setAttribute("type","matrix"),t.setAttribute("color-interpolation-filters","sRGB"),t.setAttribute("values","0 0 0 1 0  0 0 0 1 0  0 0 0 1 0  0 0 0 1 1"),t}return t.createFilter=e,t.createAlphaToLuminanceFilter=r,t}(),assetLoader=function(){function t(t){return t.response&&"object"===typeof t.response?t.response:t.response&&"string"===typeof t.response?JSON.parse(t.response):t.responseText?JSON.parse(t.responseText):void 0}function e(e,r,i){var a,n=new XMLHttpRequest;n.open("GET",e,!0);try{n.responseType="json"}catch(s){}n.send(),n.onreadystatechange=function(){if(4==n.readyState)if(200==n.status)a=t(n),r(a);else try{a=t(n),r(a)}catch(s){i&&i(s)}}}return{load:e}}();function TextAnimatorProperty(t,e,r){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=r,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(r)}function TextAnimatorDataProperty(t,e,r){var i={propType:!1},a=PropertyFactory.getProp,n=e.a;this.a={r:n.r?a(t,n.r,0,degToRads,r):i,rx:n.rx?a(t,n.rx,0,degToRads,r):i,ry:n.ry?a(t,n.ry,0,degToRads,r):i,sk:n.sk?a(t,n.sk,0,degToRads,r):i,sa:n.sa?a(t,n.sa,0,degToRads,r):i,s:n.s?a(t,n.s,1,.01,r):i,a:n.a?a(t,n.a,1,0,r):i,o:n.o?a(t,n.o,0,.01,r):i,p:n.p?a(t,n.p,1,0,r):i,sw:n.sw?a(t,n.sw,0,0,r):i,sc:n.sc?a(t,n.sc,1,0,r):i,fc:n.fc?a(t,n.fc,1,0,r):i,fh:n.fh?a(t,n.fh,0,0,r):i,fs:n.fs?a(t,n.fs,0,.01,r):i,fb:n.fb?a(t,n.fb,0,.01,r):i,t:n.t?a(t,n.t,0,0,r):i},this.s=TextSelectorProp.getTextSelectorProp(t,e.s,r),this.s.t=e.s.t}function LetterProps(t,e,r,i,a,n){this.o=t,this.sw=e,this.sc=r,this.fc=i,this.m=a,this.p=n,this._mdf={o:!0,sw:!!e,sc:!!r,fc:!!i,m:!0,p:!0}}function TextProperty(t,e){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,this.data=e,this.elem=t,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}TextAnimatorProperty.prototype.searchProperties=function(){var t,e,r=this._textData.a.length,i=PropertyFactory.getProp;for(t=0;t<r;t+=1)e=this._textData.a[t],this._animatorsData[t]=new TextAnimatorDataProperty(this._elem,e,this);this._textData.p&&"m"in this._textData.p?(this._pathData={f:i(this._elem,this._textData.p.f,0,0,this),l:i(this._elem,this._textData.p.l,0,0,this),r:this._textData.p.r,m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=i(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(t,e){if(this.lettersChangedFlag=e,this._mdf||this._isFirstFrame||e||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var r,i,a,n,s,o,l,h,c,u,p,f,d,m,g,v,y,b,_,x=this._moreOptions.alignment.v,E=this._animatorsData,S=this._textData,k=this.mHelper,C=this._renderType,w=this.renderedLetters.length,T=(this.data,t.l);if(this._hasMaskedPath){if(_=this._pathData.m,!this._pathData.n||this._pathData._mdf){var P,A=_.v;for(this._pathData.r&&(A=A.reverse()),s={tLength:0,segments:[]},n=A._length-1,v=0,a=0;a<n;a+=1)P=bez.buildBezierData(A.v[a],A.v[a+1],[A.o[a][0]-A.v[a][0],A.o[a][1]-A.v[a][1]],[A.i[a+1][0]-A.v[a+1][0],A.i[a+1][1]-A.v[a+1][1]]),s.tLength+=P.segmentLength,s.segments.push(P),v+=P.segmentLength;a=n,_.v.c&&(P=bez.buildBezierData(A.v[a],A.v[0],[A.o[a][0]-A.v[a][0],A.o[a][1]-A.v[a][1]],[A.i[0][0]-A.v[0][0],A.i[0][1]-A.v[0][1]]),s.tLength+=P.segmentLength,s.segments.push(P),v+=P.segmentLength),this._pathData.pi=s}if(s=this._pathData.pi,o=this._pathData.f.v,p=0,u=1,h=0,c=!0,m=s.segments,o<0&&_.v.c){s.tLength<Math.abs(o)&&(o=-Math.abs(o)%s.tLength),p=m.length-1,d=m[p].points,u=d.length-1;while(o<0)o+=d[u].partialLength,u-=1,u<0&&(p-=1,d=m[p].points,u=d.length-1)}d=m[p].points,f=d[u-1],l=d[u],g=l.partialLength}n=T.length,r=0,i=0;var M,D,F,I,B,R=1.2*t.finalSize*.714,z=!0;I=E.length;var O,V,L,N,G,H,j,$,q,W,Y,X,U,K=-1,Z=o,J=p,Q=u,tt=-1,et="",rt=this.defaultPropsArray;if(2===t.j||1===t.j){var it=0,at=0,nt=2===t.j?-.5:-1,st=0,ot=!0;for(a=0;a<n;a+=1)if(T[a].n){it&&(it+=at);while(st<a)T[st].animatorJustifyOffset=it,st+=1;it=0,ot=!0}else{for(F=0;F<I;F+=1)M=E[F].a,M.t.propType&&(ot&&2===t.j&&(at+=M.t.v*nt),D=E[F].s,O=D.getMult(T[a].anIndexes[F],S.a[F].s.totalChars),O.length?it+=M.t.v*O[0]*nt:it+=M.t.v*O*nt);ot=!1}it&&(it+=at);while(st<a)T[st].animatorJustifyOffset=it,st+=1}for(a=0;a<n;a+=1){if(k.reset(),G=1,T[a].n)r=0,i+=t.yOffset,i+=z?1:0,o=Z,z=!1,0,this._hasMaskedPath&&(p=J,u=Q,d=m[p].points,f=d[u-1],l=d[u],g=l.partialLength,h=0),U=W=X=et="",rt=this.defaultPropsArray;else{if(this._hasMaskedPath){if(tt!==T[a].line){switch(t.j){case 1:o+=v-t.lineWidths[T[a].line];break;case 2:o+=(v-t.lineWidths[T[a].line])/2;break}tt=T[a].line}K!==T[a].ind&&(T[K]&&(o+=T[K].extra),o+=T[a].an/2,K=T[a].ind),o+=x[0]*T[a].an/200;var lt=0;for(F=0;F<I;F+=1)M=E[F].a,M.p.propType&&(D=E[F].s,O=D.getMult(T[a].anIndexes[F],S.a[F].s.totalChars),O.length?lt+=M.p.v[0]*O[0]:lt+=M.p.v[0]*O),M.a.propType&&(D=E[F].s,O=D.getMult(T[a].anIndexes[F],S.a[F].s.totalChars),O.length?lt+=M.a.v[0]*O[0]:lt+=M.a.v[0]*O);c=!0;while(c)h+g>=o+lt||!d?(y=(o+lt-h)/l.partialLength,L=f.point[0]+(l.point[0]-f.point[0])*y,N=f.point[1]+(l.point[1]-f.point[1])*y,k.translate(-x[0]*T[a].an/200,-x[1]*R/100),c=!1):d&&(h+=l.partialLength,u+=1,u>=d.length&&(u=0,p+=1,m[p]?d=m[p].points:_.v.c?(u=0,p=0,d=m[p].points):(h-=l.partialLength,d=null)),d&&(f=l,l=d[u],g=l.partialLength));V=T[a].an/2-T[a].add,k.translate(-V,0,0)}else V=T[a].an/2-T[a].add,k.translate(-V,0,0),k.translate(-x[0]*T[a].an/200,-x[1]*R/100,0);for(T[a].l/2,F=0;F<I;F+=1)M=E[F].a,M.t.propType&&(D=E[F].s,O=D.getMult(T[a].anIndexes[F],S.a[F].s.totalChars),0===r&&0===t.j||(this._hasMaskedPath?O.length?o+=M.t.v*O[0]:o+=M.t.v*O:O.length?r+=M.t.v*O[0]:r+=M.t.v*O));for(T[a].l/2,t.strokeWidthAnim&&(j=t.sw||0),t.strokeColorAnim&&(H=t.sc?[t.sc[0],t.sc[1],t.sc[2]]:[0,0,0]),t.fillColorAnim&&t.fc&&($=[t.fc[0],t.fc[1],t.fc[2]]),F=0;F<I;F+=1)M=E[F].a,M.a.propType&&(D=E[F].s,O=D.getMult(T[a].anIndexes[F],S.a[F].s.totalChars),O.length?k.translate(-M.a.v[0]*O[0],-M.a.v[1]*O[1],M.a.v[2]*O[2]):k.translate(-M.a.v[0]*O,-M.a.v[1]*O,M.a.v[2]*O));for(F=0;F<I;F+=1)M=E[F].a,M.s.propType&&(D=E[F].s,O=D.getMult(T[a].anIndexes[F],S.a[F].s.totalChars),O.length?k.scale(1+(M.s.v[0]-1)*O[0],1+(M.s.v[1]-1)*O[1],1):k.scale(1+(M.s.v[0]-1)*O,1+(M.s.v[1]-1)*O,1));for(F=0;F<I;F+=1){if(M=E[F].a,D=E[F].s,O=D.getMult(T[a].anIndexes[F],S.a[F].s.totalChars),M.sk.propType&&(O.length?k.skewFromAxis(-M.sk.v*O[0],M.sa.v*O[1]):k.skewFromAxis(-M.sk.v*O,M.sa.v*O)),M.r.propType&&(O.length?k.rotateZ(-M.r.v*O[2]):k.rotateZ(-M.r.v*O)),M.ry.propType&&(O.length?k.rotateY(M.ry.v*O[1]):k.rotateY(M.ry.v*O)),M.rx.propType&&(O.length?k.rotateX(M.rx.v*O[0]):k.rotateX(M.rx.v*O)),M.o.propType&&(O.length?G+=(M.o.v*O[0]-G)*O[0]:G+=(M.o.v*O-G)*O),t.strokeWidthAnim&&M.sw.propType&&(O.length?j+=M.sw.v*O[0]:j+=M.sw.v*O),t.strokeColorAnim&&M.sc.propType)for(q=0;q<3;q+=1)O.length?H[q]=H[q]+(M.sc.v[q]-H[q])*O[0]:H[q]=H[q]+(M.sc.v[q]-H[q])*O;if(t.fillColorAnim&&t.fc){if(M.fc.propType)for(q=0;q<3;q+=1)O.length?$[q]=$[q]+(M.fc.v[q]-$[q])*O[0]:$[q]=$[q]+(M.fc.v[q]-$[q])*O;M.fh.propType&&($=O.length?addHueToRGB($,M.fh.v*O[0]):addHueToRGB($,M.fh.v*O)),M.fs.propType&&($=O.length?addSaturationToRGB($,M.fs.v*O[0]):addSaturationToRGB($,M.fs.v*O)),M.fb.propType&&($=O.length?addBrightnessToRGB($,M.fb.v*O[0]):addBrightnessToRGB($,M.fb.v*O))}}for(F=0;F<I;F+=1)M=E[F].a,M.p.propType&&(D=E[F].s,O=D.getMult(T[a].anIndexes[F],S.a[F].s.totalChars),this._hasMaskedPath?O.length?k.translate(0,M.p.v[1]*O[0],-M.p.v[2]*O[1]):k.translate(0,M.p.v[1]*O,-M.p.v[2]*O):O.length?k.translate(M.p.v[0]*O[0],M.p.v[1]*O[1],-M.p.v[2]*O[2]):k.translate(M.p.v[0]*O,M.p.v[1]*O,-M.p.v[2]*O));if(t.strokeWidthAnim&&(W=j<0?0:j),t.strokeColorAnim&&(Y="rgb("+Math.round(255*H[0])+","+Math.round(255*H[1])+","+Math.round(255*H[2])+")"),t.fillColorAnim&&t.fc&&(X="rgb("+Math.round(255*$[0])+","+Math.round(255*$[1])+","+Math.round(255*$[2])+")"),this._hasMaskedPath){if(k.translate(0,-t.ls),k.translate(0,x[1]*R/100+i,0),S.p.p){b=(l.point[1]-f.point[1])/(l.point[0]-f.point[0]);var ht=180*Math.atan(b)/Math.PI;l.point[0]<f.point[0]&&(ht+=180),k.rotate(-ht*Math.PI/180)}k.translate(L,N,0),o-=x[0]*T[a].an/200,T[a+1]&&K!==T[a+1].ind&&(o+=T[a].an/2,o+=t.tr/1e3*t.finalSize)}else{switch(k.translate(r,i,0),t.ps&&k.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:k.translate(T[a].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[T[a].line]),0,0);break;case 2:k.translate(T[a].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[T[a].line])/2,0,0);break}k.translate(0,-t.ls),k.translate(V,0,0),k.translate(x[0]*T[a].an/200,x[1]*R/100,0),r+=T[a].l+t.tr/1e3*t.finalSize}"html"===C?et=k.toCSS():"svg"===C?et=k.to2dCSS():rt=[k.props[0],k.props[1],k.props[2],k.props[3],k.props[4],k.props[5],k.props[6],k.props[7],k.props[8],k.props[9],k.props[10],k.props[11],k.props[12],k.props[13],k.props[14],k.props[15]],U=G}w<=a?(B=new LetterProps(U,W,Y,X,et,rt),this.renderedLetters.push(B),w+=1,this.lettersChangedFlag=!0):(B=this.renderedLetters[a],this.lettersChangedFlag=B.update(U,W,Y,X,et,rt)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty),LetterProps.prototype.update=function(t,e,r,i,a,n){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var s=!1;return this.o!==t&&(this.o=t,this._mdf.o=!0,s=!0),this.sw!==e&&(this.sw=e,this._mdf.sw=!0,s=!0),this.sc!==r&&(this.sc=r,this._mdf.sc=!0,s=!0),this.fc!==i&&(this.fc=i,this._mdf.fc=!0,s=!0),this.m!==a&&(this.m=a,this._mdf.m=!0,s=!0),!n.length||this.p[0]===n[0]&&this.p[1]===n[1]&&this.p[4]===n[4]&&this.p[5]===n[5]&&this.p[12]===n[12]&&this.p[13]===n[13]||(this.p=n,this._mdf.p=!0,s=!0),s},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t},TextProperty.prototype.setCurrentData=function(t){t.__complete||this.completeTextData(t),this.currentData=t,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(t){this.effectsSequence.push(t),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(t){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||t){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var e=this.currentData,r=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{this.lock=!0,this._mdf=!1;var i,a=this.effectsSequence.length,n=t||this.data.d.k[this.keysIndex].s;for(i=0;i<a;i+=1)n=r!==this.keysIndex?this.effectsSequence[i](n,n.t):this.effectsSequence[i](this.currentData,n.t);e!==n&&this.setCurrentData(n),this.pv=this.v=this.currentData,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},TextProperty.prototype.getKeyframeValue=function(){var t=this.data.d.k,e=this.elem.comp.renderedFrame,r=0,i=t.length;while(r<=i-1){if(t[r].s,r===i-1||t[r+1].t>e)break;r+=1}return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(t){var e,r=FontManager.getCombinedCharacterCodes(),i=[],a=0,n=t.length;while(a<n)e=t.charCodeAt(a),-1!==r.indexOf(e)?i[i.length-1]+=t.charAt(a):e>=55296&&e<=56319?(e=t.charCodeAt(a+1),e>=56320&&e<=57343?(i.push(t.substr(a,2)),++a):i.push(t.charAt(a))):i.push(t.charAt(a)),a+=1;return i},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e,r,i,a,n,s,o,l,h=this.elem.globalData.fontManager,c=this.data,u=[],p=0,f=c.m.g,d=0,m=0,g=0,v=[],y=0,b=0,_=h.getFontByName(t.f),x=0,E=_.fStyle?_.fStyle.split(" "):[],S="normal",k="normal";for(r=E.length,e=0;e<r;e+=1)switch(l=E[e].toLowerCase(),l){case"italic":k="italic";break;case"bold":S="700";break;case"black":S="900";break;case"medium":S="500";break;case"regular":case"normal":S="400";break;case"light":case"thin":S="200";break}t.fWeight=_.fWeight||S,t.fStyle=k,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),r=t.finalText.length,t.finalLineHeight=t.lh;var C,w=t.tr/1e3*t.finalSize;if(t.sz){var T,P,A=!0,M=t.sz[0],D=t.sz[1];while(A){P=this.buildFinalText(t.t),T=0,y=0,r=P.length,w=t.tr/1e3*t.finalSize;var F=-1;for(e=0;e<r;e+=1)C=P[e].charCodeAt(0),i=!1," "===P[e]?F=e:13!==C&&3!==C||(y=0,i=!0,T+=t.finalLineHeight||1.2*t.finalSize),h.chars?(o=h.getCharData(P[e],_.fStyle,_.fFamily),x=i?0:o.w*t.finalSize/100):x=h.measureText(P[e],t.f,t.finalSize),y+x>M&&" "!==P[e]?(-1===F?r+=1:e=F,T+=t.finalLineHeight||1.2*t.finalSize,P.splice(e,F===e?1:0,"\r"),F=-1,y=0):(y+=x,y+=w);T+=_.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&D<T?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=P,r=t.finalText.length,A=!1)}}y=-w,x=0;var I,B=0;for(e=0;e<r;e+=1)if(i=!1,I=t.finalText[e],C=I.charCodeAt(0)," "===I?a=" ":13===C||3===C?(B=0,v.push(y),b=y>b?y:b,y=-2*w,a="",i=!0,g+=1):a=t.finalText[e],h.chars?(o=h.getCharData(I,_.fStyle,h.getFontByName(t.f).fFamily),x=i?0:o.w*t.finalSize/100):x=h.measureText(a,t.f,t.finalSize)," "===I?B+=x+w:(y+=x+w+B,B=0),u.push({l:x,an:x,add:d,n:i,anIndexes:[],val:a,line:g,animatorJustifyOffset:0}),2==f){if(d+=x,""===a||" "===a||e===r-1){""!==a&&" "!==a||(d-=x);while(m<=e)u[m].an=d,u[m].ind=p,u[m].extra=x,m+=1;p+=1,d=0}}else if(3==f){if(d+=x,""===a||e===r-1){""===a&&(d-=x);while(m<=e)u[m].an=d,u[m].ind=p,u[m].extra=x,m+=1;d=0,p+=1}}else u[p].ind=p,u[p].extra=0,p+=1;if(t.l=u,b=y>b?y:b,v.push(y),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=b,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=v;var R,z,O=c.a;s=O.length;var V,L,N=[];for(n=0;n<s;n+=1){for(R=O[n],R.a.sc&&(t.strokeColorAnim=!0),R.a.sw&&(t.strokeWidthAnim=!0),(R.a.fc||R.a.fh||R.a.fs||R.a.fb)&&(t.fillColorAnim=!0),L=0,V=R.s.b,e=0;e<r;e+=1)z=u[e],z.anIndexes[n]=L,(1==V&&""!==z.val||2==V&&""!==z.val&&" "!==z.val||3==V&&(z.n||" "==z.val||e==r-1)||4==V&&(z.n||e==r-1))&&(1===R.s.rn&&N.push(L),L+=1);c.a[n].s.totalChars=L;var G,H=-1;if(1===R.s.rn)for(e=0;e<r;e+=1)z=u[e],H!=z.anIndexes[n]&&(H=z.anIndexes[n],G=N.splice(Math.floor(Math.random()*N.length),1)[0]),z.anIndexes[n]=G}t.yOffset=t.finalLineHeight||1.2*t.finalSize,t.ls=t.ls||0,t.ascent=_.ascent*t.finalSize/100},TextProperty.prototype.updateDocumentData=function(t,e){e=void 0===e?this.keysIndex:e;var r=this.copyData({},this.data.d.k[e].s);r=this.copyData(r,t),this.data.d.k[e].s=r,this.recalculate(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(t){var e=this.data.d.k[t].s;e.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(e)},TextProperty.prototype.canResizeFont=function(t){this.canResize=t,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(t){this.minimumFontSize=Math.floor(t)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var t=Math.max,e=Math.min,r=Math.floor;function i(t,e){this._currentTextLength=-1,this.k=!1,this.data=e,this.elem=t,this.comp=t.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(t),this.s=PropertyFactory.getProp(t,e.s||{k:0},0,0,this),this.e="e"in e?PropertyFactory.getProp(t,e.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(t,e.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(t,e.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(t,e.ne||{k:0},0,0,this),this.a=PropertyFactory.getProp(t,e.a,0,.01,this),this.dynamicProperties.length||this.getValue()}function a(t,e,r){return new i(t,e,r)}return i.prototype={getMult:function(i){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var a=0,n=0,s=1,o=1;this.ne.v>0?a=this.ne.v/100:n=-this.ne.v/100,this.xe.v>0?s=1-this.xe.v/100:o=1+this.xe.v/100;var l=BezierFactory.getBezierEasing(a,n,s,o).get,h=0,c=this.finalS,u=this.finalE,p=this.data.sh;if(2===p)h=u===c?i>=u?1:0:t(0,e(.5/(u-c)+(i-c)/(u-c),1)),h=l(h);else if(3===p)h=u===c?i>=u?0:1:1-t(0,e(.5/(u-c)+(i-c)/(u-c),1)),h=l(h);else if(4===p)u===c?h=0:(h=t(0,e(.5/(u-c)+(i-c)/(u-c),1)),h<.5?h*=2:h=1-2*(h-.5)),h=l(h);else if(5===p){if(u===c)h=0;else{var f=u-c;i=e(t(0,i+.5-c),u-c);var d=-f/2+i,m=f/2;h=Math.sqrt(1-d*d/(m*m))}h=l(h)}else 6===p?(u===c?h=0:(i=e(t(0,i+.5-c),u-c),h=(1+Math.cos(Math.PI+2*Math.PI*i/(u-c)))/2),h=l(h)):(i>=r(c)&&(h=t(0,e(i-c<0?e(u,1)-(c-i):u-i,1))),h=l(h));return h*this.a.v},getValue:function(t){this.iterateDynamicProperties(),this._mdf=t||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,t&&2===this.data.r&&(this.e.v=this._currentTextLength);var e=2===this.data.r?1:100/this.data.totalChars,r=this.o.v/e,i=this.s.v/e+r,a=this.e.v/e+r;if(i>a){var n=i;i=a,a=n}this.finalS=i,this.finalE=a}},extendPrototype([DynamicPropertyContainer],i),{getTextSelectorProp:a}}(),pool_factory=function(){return function(t,e,r,i){var a=0,n=t,s=createSizedArray(n),o={newElement:l,release:h};function l(){var t;return a?(a-=1,t=s[a]):t=e(),t}function h(t){a===n&&(s=pooling.double(s),n*=2),r&&r(t),s[a]=t,a+=1}return o}}(),pooling=function(){function t(t){return t.concat(createSizedArray(t.length))}return{double:t}}(),point_pool=function(){function t(){return createTypedArray("float32",2)}return pool_factory(8,t)}(),shape_pool=function(){function t(){return new ShapePath}function e(t){var e,r=t._length;for(e=0;e<r;e+=1)point_pool.release(t.v[e]),point_pool.release(t.i[e]),point_pool.release(t.o[e]),t.v[e]=null,t.i[e]=null,t.o[e]=null;t._length=0,t.c=!1}function r(t){var e,r=i.newElement(),a=void 0===t._length?t.v.length:t._length;for(r.setLength(a),r.c=t.c,e=0;e<a;e+=1)r.setTripleAt(t.v[e][0],t.v[e][1],t.o[e][0],t.o[e][1],t.i[e][0],t.i[e][1],e);return r}var i=pool_factory(4,t,e);return i.clone=r,i}(),shapeCollection_pool=function(){var t={newShapeCollection:a,release:n},e=0,r=4,i=createSizedArray(r);function a(){var t;return e?(e-=1,t=i[e]):t=new ShapeCollection,t}function n(t){var a,n=t._length;for(a=0;a<n;a+=1)shape_pool.release(t.shapes[a]);t._length=0,e===r&&(i=pooling.double(i),r*=2),i[e]=t,e+=1}return t}(),segments_length_pool=function(){function t(){return{lengths:[],totalLength:0}}function e(t){var e,r=t.lengths.length;for(e=0;e<r;e+=1)bezier_length_pool.release(t.lengths[e]);t.lengths.length=0}return pool_factory(8,t,e)}(),bezier_length_pool=function(){function t(){return{addedLength:0,percents:createTypedArray("float32",defaultCurveSegments),lengths:createTypedArray("float32",defaultCurveSegments)}}return pool_factory(8,t)}();function BaseRenderer(){}function SVGRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var r="";if(e&&e.title){var i=createNS("title"),a=createElementID();i.setAttribute("id",a),i.textContent=e.title,this.svgElement.appendChild(i),r+=a}if(e&&e.description){var n=createNS("desc"),s=createElementID();n.setAttribute("id",s),n.textContent=e.description,this.svgElement.appendChild(n),r+=" "+s}r&&this.svgElement.setAttribute("aria-labelledby",r);var o=createNS("defs");this.svgElement.appendChild(o);var l=createNS("g");this.svgElement.appendChild(l),this.layerElement=l,this.renderConfig={preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",progressiveLoad:e&&e.progressiveLoad||!1,hideOnTransparent:!e||!1!==e.hideOnTransparent,viewBoxOnly:e&&e.viewBoxOnly||!1,viewBoxSize:e&&e.viewBoxSize||!1,className:e&&e.className||"",id:e&&e.id||"",focusable:e&&e.focusable,filterSize:{width:e&&e.filterSize&&e.filterSize.width||"100%",height:e&&e.filterSize&&e.filterSize.height||"100%",x:e&&e.filterSize&&e.filterSize.x||"0%",y:e&&e.filterSize&&e.filterSize.y||"0%"}},this.globalData={_mdf:!1,frameNum:-1,defs:o,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function CanvasRenderer(t,e){this.animationItem=t,this.renderConfig={clearCanvas:!e||void 0===e.clearCanvas||e.clearCanvas,context:e&&e.context||null,progressiveLoad:e&&e.progressiveLoad||!1,preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",className:e&&e.className||"",id:e&&e.id||""},this.renderConfig.dpr=e&&e.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=e&&e.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas"}function HybridRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:e&&e.className||"",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!e||!1!==e.hideOnTransparent,filterSize:{width:e&&e.filterSize&&e.filterSize.width||"400%",height:e&&e.filterSize&&e.filterSize.height||"400%",x:e&&e.filterSize&&e.filterSize.x||"-100%",y:e&&e.filterSize&&e.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}function MaskElement(t,e,r){this.data=t,this.element=e,this.globalData=r,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var i,a=this.globalData.defs,n=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(n),this.solidPath="";var s,o,l,h,c,u,p,f=this.masksProperties,d=0,m=[],g=createElementID(),v="clipPath",y="clip-path";for(i=0;i<n;i++)if(("a"!==f[i].mode&&"n"!==f[i].mode||f[i].inv||100!==f[i].o.k||f[i].o.x)&&(v="mask",y="mask"),"s"!=f[i].mode&&"i"!=f[i].mode||0!==d?h=null:(h=createNS("rect"),h.setAttribute("fill","#ffffff"),h.setAttribute("width",this.element.comp.data.w||0),h.setAttribute("height",this.element.comp.data.h||0),m.push(h)),s=createNS("path"),"n"!=f[i].mode){var b;if(d+=1,s.setAttribute("fill","s"===f[i].mode?"#000000":"#ffffff"),s.setAttribute("clip-rule","nonzero"),0!==f[i].x.k?(v="mask",y="mask",p=PropertyFactory.getProp(this.element,f[i].x,0,null,this.element),b=createElementID(),c=createNS("filter"),c.setAttribute("id",b),u=createNS("feMorphology"),u.setAttribute("operator","erode"),u.setAttribute("in","SourceGraphic"),u.setAttribute("radius","0"),c.appendChild(u),a.appendChild(c),s.setAttribute("stroke","s"===f[i].mode?"#000000":"#ffffff")):(u=null,p=null),this.storedData[i]={elem:s,x:p,expan:u,lastPath:"",lastOperator:"",filterId:b,lastRadius:0},"i"==f[i].mode){l=m.length;var _=createNS("g");for(o=0;o<l;o+=1)_.appendChild(m[o]);var x=createNS("mask");x.setAttribute("mask-type","alpha"),x.setAttribute("id",g+"_"+d),x.appendChild(s),a.appendChild(x),_.setAttribute("mask","url("+locationHref+"#"+g+"_"+d+")"),m.length=0,m.push(_)}else m.push(s);f[i].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[i]={elem:s,lastPath:"",op:PropertyFactory.getProp(this.element,f[i].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,f[i],3),invRect:h},this.viewData[i].prop.k||this.drawPath(f[i],this.viewData[i].prop.v,this.viewData[i])}else this.viewData[i]={op:PropertyFactory.getProp(this.element,f[i].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,f[i],3),elem:s,lastPath:""},a.appendChild(s);for(this.maskElement=createNS(v),n=m.length,i=0;i<n;i+=1)this.maskElement.appendChild(m[i]);d>0&&(this.maskElement.setAttribute("id",g),this.element.maskedElement.setAttribute(y,"url("+locationHref+"#"+g+")"),a.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}function HierarchyElement(){}function FrameElement(){}function TransformElement(){}function RenderableElement(){}function RenderableDOMElement(){}function ProcessedElement(t,e){this.elem=t,this.pos=e}function SVGStyleData(t,e){this.data=t,this.type=t.ty,this.d="",this.lvl=e,this._mdf=!1,this.closed=!0===t.hd,this.pElem=createNS("path"),this.msElem=null}function SVGShapeData(t,e,r){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=r,this.lvl=e,this._isAnimated=!!r.k;var i=0,a=t.length;while(i<a){if(t[i].mProps.dynamicProperties.length){this._isAnimated=!0;break}i+=1}}function SVGTransformData(t,e,r){this.transform={mProps:t,op:e,container:r},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}function SVGStrokeStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=r,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=r}function SVGGradientFillStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,e,r)}function SVGGradientStrokeStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.initGradientData(t,e,r),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}BaseRenderer.prototype.checkLayers=function(t){var e,r,i=this.layers.length;for(this.completeLayers=!0,e=i-1;e>=0;e--)this.elements[e]||(r=this.layers[e],r.ip-r.st<=t-this.layers[e].st&&r.op-r.st>t-this.layers[e].st&&this.buildItem(e)),this.completeLayers=!!this.elements[e]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(t){switch(t.ty){case 2:return this.createImage(t);case 0:return this.createComp(t);case 1:return this.createSolid(t);case 3:return this.createNull(t);case 4:return this.createShape(t);case 5:return this.createText(t);case 13:return this.createCamera(t)}return this.createNull(t)},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.buildAllItems=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.buildItem(t);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(t){this.completeLayers=!1;var e,r,i=t.length,a=this.layers.length;for(e=0;e<i;e+=1){r=0;while(r<a){if(this.layers[r].id==t[e].id){this.layers[r]=t[e];break}r+=1}}},BaseRenderer.prototype.setProjectInterface=function(t){this.globalData.projectInterface=t},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(t,e,r){var i=this.elements,a=this.layers,n=0,s=a.length;while(n<s)a[n].ind==e&&(i[n]&&!0!==i[n]?(r.push(i[n]),i[n].setAsParent(),void 0!==a[n].parent?this.buildElementParenting(t,a[n].parent,r):t.setHierarchy(r)):(this.buildItem(n),this.addPendingElement(t))),n+=1},BaseRenderer.prototype.addPendingElement=function(t){this.pendingElements.push(t)},BaseRenderer.prototype.searchExtraCompositions=function(t){var e,r=t.length;for(e=0;e<r;e+=1)if(t[e].xt){var i=this.createComp(t[e]);i.initExpressions(),this.globalData.projectInterface.registerComposition(i)}},BaseRenderer.prototype.setupGlobalData=function(t,e){this.globalData.fontManager=new FontManager,this.globalData.fontManager.addChars(t.chars),this.globalData.fontManager.addFonts(t.fonts,e),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.frameId=0,this.globalData.frameRate=t.fr,this.globalData.nm=t.nm,this.globalData.compSize={w:t.w,h:t.h}},extendPrototype([BaseRenderer],SVGRenderer),SVGRenderer.prototype.createNull=function(t){return new NullElement(t,this.globalData,this)},SVGRenderer.prototype.createShape=function(t){return new SVGShapeElement(t,this.globalData,this)},SVGRenderer.prototype.createText=function(t){return new SVGTextElement(t,this.globalData,this)},SVGRenderer.prototype.createImage=function(t){return new IImageElement(t,this.globalData,this)},SVGRenderer.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)},SVGRenderer.prototype.createSolid=function(t){return new ISolidElement(t,this.globalData,this)},SVGRenderer.prototype.configAnimation=function(t){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+t.w+" "+t.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",t.w),this.svgElement.setAttribute("height",t.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)"),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),void 0!==this.renderConfig.focusable&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var e=this.globalData.defs;this.setupGlobalData(t,e),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=t;var r=createNS("clipPath"),i=createNS("rect");i.setAttribute("width",t.w),i.setAttribute("height",t.h),i.setAttribute("x",0),i.setAttribute("y",0);var a=createElementID();r.setAttribute("id",a),r.appendChild(i),this.layerElement.setAttribute("clip-path","url("+locationHref+"#"+a+")"),e.appendChild(r),this.layers=t.layers,this.elements=createSizedArray(t.layers.length)},SVGRenderer.prototype.destroy=function(){this.animationItem.wrapper.innerHTML="",this.layerElement=null,this.globalData.defs=null;var t,e=this.layers?this.layers.length:0;for(t=0;t<e;t++)this.elements[t]&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRenderer.prototype.updateContainerSize=function(){},SVGRenderer.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!=this.layers[t].ty){e[t]=!0;var r=this.createItem(this.layers[t]);e[t]=r,expressionsPlugin&&(0===this.layers[t].ty&&this.globalData.projectInterface.registerComposition(r),r.initExpressions()),this.appendElementInPos(r,t),this.layers[t].tt&&(this.elements[t-1]&&!0!==this.elements[t-1]?r.setMatte(e[t-1].layerId):(this.buildItem(t-1),this.addPendingElement(r)))}},SVGRenderer.prototype.checkPendingElements=function(){while(this.pendingElements.length){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt){var e=0,r=this.elements.length;while(e<r){if(this.elements[e]===t){t.setMatte(this.elements[e-1].layerId);break}e+=1}}}},SVGRenderer.prototype.renderFrame=function(t){if(this.renderedFrame!==t&&!this.destroyed){null===t?t=this.renderedFrame:this.renderedFrame=t,this.globalData.frameNum=t,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=t,this.globalData._mdf=!1;var e,r=this.layers.length;for(this.completeLayers||this.checkLayers(t),e=r-1;e>=0;e--)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(t-this.layers[e].st);if(this.globalData._mdf)for(e=0;e<r;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()}},SVGRenderer.prototype.appendElementInPos=function(t,e){var r=t.getBaseElement();if(r){var i,a=0;while(a<e)this.elements[a]&&!0!==this.elements[a]&&this.elements[a].getBaseElement()&&(i=this.elements[a].getBaseElement()),a+=1;i?this.layerElement.insertBefore(r,i):this.layerElement.appendChild(r)}},SVGRenderer.prototype.hide=function(){this.layerElement.style.display="none"},SVGRenderer.prototype.show=function(){this.layerElement.style.display="block"},extendPrototype([BaseRenderer],CanvasRenderer),CanvasRenderer.prototype.createShape=function(t){return new CVShapeElement(t,this.globalData,this)},CanvasRenderer.prototype.createText=function(t){return new CVTextElement(t,this.globalData,this)},CanvasRenderer.prototype.createImage=function(t){return new CVImageElement(t,this.globalData,this)},CanvasRenderer.prototype.createComp=function(t){return new CVCompElement(t,this.globalData,this)},CanvasRenderer.prototype.createSolid=function(t){return new CVSolidElement(t,this.globalData,this)},CanvasRenderer.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRenderer.prototype.ctxTransform=function(t){if(1!==t[0]||0!==t[1]||0!==t[4]||1!==t[5]||0!==t[12]||0!==t[13])if(this.renderConfig.clearCanvas){this.transformMat.cloneFromProps(t);var e=this.contextData.cTr.props;this.transformMat.transform(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]),this.contextData.cTr.cloneFromProps(this.transformMat.props);var r=this.contextData.cTr.props;this.canvasContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13])}else this.canvasContext.transform(t[0],t[1],t[4],t[5],t[12],t[13])},CanvasRenderer.prototype.ctxOpacity=function(t){if(!this.renderConfig.clearCanvas)return this.canvasContext.globalAlpha*=t<0?0:t,void(this.globalData.currentGlobalAlpha=this.contextData.cO);this.contextData.cO*=t<0?0:t,this.globalData.currentGlobalAlpha!==this.contextData.cO&&(this.canvasContext.globalAlpha=this.contextData.cO,this.globalData.currentGlobalAlpha=this.contextData.cO)},CanvasRenderer.prototype.reset=function(){this.renderConfig.clearCanvas?this.contextData.reset():this.canvasContext.restore()},CanvasRenderer.prototype.save=function(t){if(this.renderConfig.clearCanvas){t&&this.canvasContext.save();var e=this.contextData.cTr.props;this.contextData._length<=this.contextData.cArrPos&&this.contextData.duplicate();var r,i=this.contextData.saved[this.contextData.cArrPos];for(r=0;r<16;r+=1)i[r]=e[r];this.contextData.savedOp[this.contextData.cArrPos]=this.contextData.cO,this.contextData.cArrPos+=1}else this.canvasContext.save()},CanvasRenderer.prototype.restore=function(t){if(this.renderConfig.clearCanvas){t&&(this.canvasContext.restore(),this.globalData.blendMode="source-over"),this.contextData.cArrPos-=1;var e,r=this.contextData.saved[this.contextData.cArrPos],i=this.contextData.cTr.props;for(e=0;e<16;e+=1)i[e]=r[e];this.canvasContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13]),r=this.contextData.savedOp[this.contextData.cArrPos],this.contextData.cO=r,this.globalData.currentGlobalAlpha!==r&&(this.canvasContext.globalAlpha=r,this.globalData.currentGlobalAlpha=r)}else this.canvasContext.restore()},CanvasRenderer.prototype.configAnimation=function(t){this.animationItem.wrapper?(this.animationItem.container=createTag("canvas"),this.animationItem.container.style.width="100%",this.animationItem.container.style.height="100%",this.animationItem.container.style.transformOrigin=this.animationItem.container.style.mozTransformOrigin=this.animationItem.container.style.webkitTransformOrigin=this.animationItem.container.style["-webkit-transform"]="0px 0px 0px",this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)):this.canvasContext=this.renderConfig.context,this.data=t,this.layers=t.layers,this.transformCanvas={w:t.w,h:t.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(t,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(t.layers.length),this.updateContainerSize()},CanvasRenderer.prototype.updateContainerSize=function(){var t,e,r,i;if(this.reset(),this.animationItem.wrapper&&this.animationItem.container?(t=this.animationItem.wrapper.offsetWidth,e=this.animationItem.wrapper.offsetHeight,this.animationItem.container.setAttribute("width",t*this.renderConfig.dpr),this.animationItem.container.setAttribute("height",e*this.renderConfig.dpr)):(t=this.canvasContext.canvas.width*this.renderConfig.dpr,e=this.canvasContext.canvas.height*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var a=this.renderConfig.preserveAspectRatio.split(" "),n=a[1]||"meet",s=a[0]||"xMidYMid",o=s.substr(0,4),l=s.substr(4);r=t/e,i=this.transformCanvas.w/this.transformCanvas.h,i>r&&"meet"===n||i<r&&"slice"===n?(this.transformCanvas.sx=t/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=t/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=e/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=e/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===o&&(i<r&&"meet"===n||i>r&&"slice"===n)?(t-this.transformCanvas.w*(e/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===o&&(i<r&&"meet"===n||i>r&&"slice"===n)?(t-this.transformCanvas.w*(e/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===l&&(i>r&&"meet"===n||i<r&&"slice"===n)?(e-this.transformCanvas.h*(t/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===l&&(i>r&&"meet"===n||i<r&&"slice"===n)?(e-this.transformCanvas.h*(t/this.transformCanvas.w))*this.renderConfig.dpr:0}else"none"==this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=t/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=e/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRenderer.prototype.destroy=function(){this.renderConfig.clearCanvas&&(this.animationItem.wrapper.innerHTML="");var t,e=this.layers?this.layers.length:0;for(t=e-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRenderer.prototype.renderFrame=function(t,e){if((this.renderedFrame!==t||!0!==this.renderConfig.clearCanvas||e)&&!this.destroyed&&-1!==t){this.renderedFrame=t,this.globalData.frameNum=t-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||e,this.globalData.projectInterface.currentFrame=t;var r,i=this.layers.length;for(this.completeLayers||this.checkLayers(t),r=0;r<i;r++)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(t-this.layers[r].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),r=i-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRenderer.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!=this.layers[t].ty){var r=this.createItem(this.layers[t],this,this.globalData);e[t]=r,r.initExpressions()}},CanvasRenderer.prototype.checkPendingElements=function(){while(this.pendingElements.length){var t=this.pendingElements.pop();t.checkParenting()}},CanvasRenderer.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRenderer.prototype.show=function(){this.animationItem.container.style.display="block"},extendPrototype([BaseRenderer],HybridRenderer),HybridRenderer.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRenderer.prototype.checkPendingElements=function(){while(this.pendingElements.length){var t=this.pendingElements.pop();t.checkParenting()}},HybridRenderer.prototype.appendElementInPos=function(t,e){var r=t.getBaseElement();if(r){var i=this.layers[e];if(i.ddd&&this.supports3d)this.addTo3dContainer(r,e);else if(this.threeDElements)this.addTo3dContainer(r,e);else{var a,n,s,o=0;while(o<e)this.elements[o]&&!0!==this.elements[o]&&this.elements[o].getBaseElement&&(n=this.elements[o],s=this.layers[o].ddd?this.getThreeDContainerByPos(o):n.getBaseElement(),a=s||a),o+=1;a?i.ddd&&this.supports3d||this.layerElement.insertBefore(r,a):i.ddd&&this.supports3d||this.layerElement.appendChild(r)}}},HybridRenderer.prototype.createShape=function(t){return this.supports3d?new HShapeElement(t,this.globalData,this):new SVGShapeElement(t,this.globalData,this)},HybridRenderer.prototype.createText=function(t){return this.supports3d?new HTextElement(t,this.globalData,this):new SVGTextElement(t,this.globalData,this)},HybridRenderer.prototype.createCamera=function(t){return this.camera=new HCameraElement(t,this.globalData,this),this.camera},HybridRenderer.prototype.createImage=function(t){return this.supports3d?new HImageElement(t,this.globalData,this):new IImageElement(t,this.globalData,this)},HybridRenderer.prototype.createComp=function(t){return this.supports3d?new HCompElement(t,this.globalData,this):new SVGCompElement(t,this.globalData,this)},HybridRenderer.prototype.createSolid=function(t){return this.supports3d?new HSolidElement(t,this.globalData,this):new ISolidElement(t,this.globalData,this)},HybridRenderer.prototype.createNull=SVGRenderer.prototype.createNull,HybridRenderer.prototype.getThreeDContainerByPos=function(t){var e=0,r=this.threeDElements.length;while(e<r){if(this.threeDElements[e].startPos<=t&&this.threeDElements[e].endPos>=t)return this.threeDElements[e].perspectiveElem;e+=1}},HybridRenderer.prototype.createThreeDContainer=function(t,e){var r=createTag("div");styleDiv(r);var i=createTag("div");styleDiv(i),"3d"===e&&(r.style.width=this.globalData.compSize.w+"px",r.style.height=this.globalData.compSize.h+"px",r.style.transformOrigin=r.style.mozTransformOrigin=r.style.webkitTransformOrigin="50% 50%",i.style.transform=i.style.webkitTransform="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)"),r.appendChild(i);var a={container:i,perspectiveElem:r,startPos:t,endPos:t,type:e};return this.threeDElements.push(a),a},HybridRenderer.prototype.build3dContainers=function(){var t,e,r=this.layers.length,i="";for(t=0;t<r;t+=1)this.layers[t].ddd&&3!==this.layers[t].ty?("3d"!==i&&(i="3d",e=this.createThreeDContainer(t,"3d")),e.endPos=Math.max(e.endPos,t)):("2d"!==i&&(i="2d",e=this.createThreeDContainer(t,"2d")),e.endPos=Math.max(e.endPos,t));for(r=this.threeDElements.length,t=r-1;t>=0;t--)this.resizerElem.appendChild(this.threeDElements[t].perspectiveElem)},HybridRenderer.prototype.addTo3dContainer=function(t,e){var r=0,i=this.threeDElements.length;while(r<i){if(e<=this.threeDElements[r].endPos){var a,n=this.threeDElements[r].startPos;while(n<e)this.elements[n]&&this.elements[n].getBaseElement&&(a=this.elements[n].getBaseElement()),n+=1;a?this.threeDElements[r].container.insertBefore(t,a):this.threeDElements[r].container.appendChild(t);break}r+=1}},HybridRenderer.prototype.configAnimation=function(t){var e=createTag("div"),r=this.animationItem.wrapper;e.style.width=t.w+"px",e.style.height=t.h+"px",this.resizerElem=e,styleDiv(e),e.style.transformStyle=e.style.webkitTransformStyle=e.style.mozTransformStyle="flat",this.renderConfig.className&&e.setAttribute("class",this.renderConfig.className),r.appendChild(e),e.style.overflow="hidden";var i=createNS("svg");i.setAttribute("width","1"),i.setAttribute("height","1"),styleDiv(i),this.resizerElem.appendChild(i);var a=createNS("defs");i.appendChild(a),this.data=t,this.setupGlobalData(t,i),this.globalData.defs=a,this.layers=t.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRenderer.prototype.destroy=function(){this.animationItem.wrapper.innerHTML="",this.animationItem.container=null,this.globalData.defs=null;var t,e=this.layers?this.layers.length:0;for(t=0;t<e;t++)this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRenderer.prototype.updateContainerSize=function(){var t,e,r,i,a=this.animationItem.wrapper.offsetWidth,n=this.animationItem.wrapper.offsetHeight,s=a/n,o=this.globalData.compSize.w/this.globalData.compSize.h;o>s?(t=a/this.globalData.compSize.w,e=a/this.globalData.compSize.w,r=0,i=(n-this.globalData.compSize.h*(a/this.globalData.compSize.w))/2):(t=n/this.globalData.compSize.h,e=n/this.globalData.compSize.h,r=(a-this.globalData.compSize.w*(n/this.globalData.compSize.h))/2,i=0),this.resizerElem.style.transform=this.resizerElem.style.webkitTransform="matrix3d("+t+",0,0,0,0,"+e+",0,0,0,0,1,0,"+r+","+i+",0,1)"},HybridRenderer.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRenderer.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRenderer.prototype.show=function(){this.resizerElem.style.display="block"},HybridRenderer.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var t,e=this.globalData.compSize.w,r=this.globalData.compSize.h,i=this.threeDElements.length;for(t=0;t<i;t+=1)this.threeDElements[t].perspectiveElem.style.perspective=this.threeDElements[t].perspectiveElem.style.webkitPerspective=Math.sqrt(Math.pow(e,2)+Math.pow(r,2))+"px"}},HybridRenderer.prototype.searchExtraCompositions=function(t){var e,r=t.length,i=createTag("div");for(e=0;e<r;e+=1)if(t[e].xt){var a=this.createComp(t[e],i,this.globalData.comp,null);a.initExpressions(),this.globalData.projectInterface.registerComposition(a)}},MaskElement.prototype.getMaskProperty=function(t){return this.viewData[t].prop},MaskElement.prototype.renderFrame=function(t){var e,r=this.element.finalTransform.mat,i=this.masksProperties.length;for(e=0;e<i;e++)if((this.viewData[e].prop._mdf||t)&&this.drawPath(this.masksProperties[e],this.viewData[e].prop.v,this.viewData[e]),(this.viewData[e].op._mdf||t)&&this.viewData[e].elem.setAttribute("fill-opacity",this.viewData[e].op.v),"n"!==this.masksProperties[e].mode&&(this.viewData[e].invRect&&(this.element.finalTransform.mProp._mdf||t)&&this.viewData[e].invRect.setAttribute("transform",r.getInverseMatrix().to2dCSS()),this.storedData[e].x&&(this.storedData[e].x._mdf||t))){var a=this.storedData[e].expan;this.storedData[e].x.v<0?("erode"!==this.storedData[e].lastOperator&&(this.storedData[e].lastOperator="erode",this.storedData[e].elem.setAttribute("filter","url("+locationHref+"#"+this.storedData[e].filterId+")")),a.setAttribute("radius",-this.storedData[e].x.v)):("dilate"!==this.storedData[e].lastOperator&&(this.storedData[e].lastOperator="dilate",this.storedData[e].elem.setAttribute("filter",null)),this.storedData[e].elem.setAttribute("stroke-width",2*this.storedData[e].x.v))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var t="M0,0 ";return t+=" h"+this.globalData.compSize.w,t+=" v"+this.globalData.compSize.h,t+=" h-"+this.globalData.compSize.w,t+=" v-"+this.globalData.compSize.h+" ",t},MaskElement.prototype.drawPath=function(t,e,r){var i,a,n=" M"+e.v[0][0]+","+e.v[0][1];for(a=e._length,i=1;i<a;i+=1)n+=" C"+e.o[i-1][0]+","+e.o[i-1][1]+" "+e.i[i][0]+","+e.i[i][1]+" "+e.v[i][0]+","+e.v[i][1];if(e.c&&a>1&&(n+=" C"+e.o[i-1][0]+","+e.o[i-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),r.lastPath!==n){var s="";r.elem&&(e.c&&(s=t.inv?this.solidPath+n:n),r.elem.setAttribute("d",s)),r.lastPath=n}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null},HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(t){this.hierarchy=t},setAsParent:function(){this._isParent=!0},checkParenting:function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent,[])}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,e){var r,i=this.dynamicProperties.length;for(r=0;r<i;r+=1)(e||this._isParent&&"transform"===this.dynamicProperties[r].propType)&&(this.dynamicProperties[r].getValue(),this.dynamicProperties[r]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&this.dynamicProperties.push(t)}},TransformElement.prototype={initTransform:function(){this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_opMdf:!1,mat:new Matrix},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var t,e=this.finalTransform.mat,r=0,i=this.hierarchy.length;if(!this.finalTransform._matMdf)while(r<i){if(this.hierarchy[r].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}r+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,e.cloneFromProps(t),r=0;r<i;r+=1)t=this.hierarchy[r].finalTransform.mProp.v.props,e.transform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}},globalToLocal:function(t){var e=[];e.push(this.finalTransform);var r=!0,i=this.comp;while(r)i.finalTransform?(i.data.hasMask&&e.splice(0,0,i.finalTransform),i=i.comp):r=!1;var a,n,s=e.length;for(a=0;a<s;a+=1)n=e[a].mat.applyToPointArray(0,0,0),t=[t[0]-n[0],t[1]-n[1],0];return t},mHelper:new Matrix},RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(t){-1===this.renderableComponents.indexOf(t)&&this.renderableComponents.push(t)},removeRenderableComponent:function(t){-1!==this.renderableComponents.indexOf(t)&&this.renderableComponents.splice(this.renderableComponents.indexOf(t),1)},prepareRenderableFrame:function(t){this.checkLayerLimits(t)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(t){this.data.ip-this.data.st<=t&&this.data.op-this.data.st>t?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var t,e=this.renderableComponents.length;for(t=0;t<e;t+=1)this.renderableComponents[t].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return 5===this.data.ty?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}},function(){var t={initElement:function(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initTransform(t,e,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var t=this.baseElement||this.layerElement;t.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var t=this.baseElement||this.layerElement;t.style.display="block"}this.hidden=!1,this._isFirstFrame=!0}},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};extendPrototype([RenderableElement,createProxyFunction(t)],RenderableDOMElement)}(),SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1},SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0},extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData),extendPrototype([DynamicPropertyContainer],SVGFillStyleData),SVGGradientFillStyleData.prototype.initGradientData=function(t,e,r){this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.s=PropertyFactory.getProp(t,e.s,1,null,this),this.e=PropertyFactory.getProp(t,e.e,1,null,this),this.h=PropertyFactory.getProp(t,e.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(t,e.a||{k:0},0,degToRads,this),this.g=new GradientProperty(t,e.g,this),this.style=r,this.stops=[],this.setGradientData(r.pElem,e),this.setGradientOpacity(e,r),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(t,e){var r=createElementID(),i=createNS(1===e.t?"linearGradient":"radialGradient");i.setAttribute("id",r),i.setAttribute("spreadMethod","pad"),i.setAttribute("gradientUnits","userSpaceOnUse");var a,n,s,o=[];for(s=4*e.g.p,n=0;n<s;n+=4)a=createNS("stop"),i.appendChild(a),o.push(a);t.setAttribute("gf"===e.ty?"fill":"stroke","url("+locationHref+"#"+r+")"),this.gf=i,this.cst=o},SVGGradientFillStyleData.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){var r,i,a,n=createNS("mask"),s=createNS("path");n.appendChild(s);var o=createElementID(),l=createElementID();n.setAttribute("id",l);var h=createNS(1===t.t?"linearGradient":"radialGradient");h.setAttribute("id",o),h.setAttribute("spreadMethod","pad"),h.setAttribute("gradientUnits","userSpaceOnUse"),a=t.g.k.k[0].s?t.g.k.k[0].s.length:t.g.k.k.length;var c=this.stops;for(i=4*t.g.p;i<a;i+=2)r=createNS("stop"),r.setAttribute("stop-color","rgb(255,255,255)"),h.appendChild(r),c.push(r);s.setAttribute("gf"===t.ty?"fill":"stroke","url("+locationHref+"#"+o+")"),this.of=h,this.ms=n,this.ost=c,this.maskId=l,e.msElem=s}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var SVGElementsRenderer=function(){var t=new Matrix,e=new Matrix,r={createRenderFunction:i};function i(t){t.ty;switch(t.ty){case"fl":return s;case"gf":return l;case"gs":return o;case"st":return h;case"sh":case"el":case"rc":case"sr":return n;case"tr":return a}}function a(t,e,r){(r||e.transform.op._mdf)&&e.transform.container.setAttribute("opacity",e.transform.op.v),(r||e.transform.mProps._mdf)&&e.transform.container.setAttribute("transform",e.transform.mProps.v.to2dCSS())}function n(r,i,a){var n,s,o,l,h,c,u,p,f,d,m,g=i.styles.length,v=i.lvl;for(c=0;c<g;c+=1){if(l=i.sh._mdf||a,i.styles[c].lvl<v){p=e.reset(),d=v-i.styles[c].lvl,m=i.transformers.length-1;while(!l&&d>0)l=i.transformers[m].mProps._mdf||l,d--,m--;if(l){d=v-i.styles[c].lvl,m=i.transformers.length-1;while(d>0)f=i.transformers[m].mProps.v.props,p.transform(f[0],f[1],f[2],f[3],f[4],f[5],f[6],f[7],f[8],f[9],f[10],f[11],f[12],f[13],f[14],f[15]),d--,m--}}else p=t;if(u=i.sh.paths,s=u._length,l){for(o="",n=0;n<s;n+=1)h=u.shapes[n],h&&h._length&&(o+=buildShapeString(h,h._length,h.c,p));i.caches[c]=o}else o=i.caches[c];i.styles[c].d+=!0===r.hd?"":o,i.styles[c]._mdf=l||i.styles[c]._mdf}}function s(t,e,r){var i=e.style;(e.c._mdf||r)&&i.pElem.setAttribute("fill","rgb("+bm_floor(e.c.v[0])+","+bm_floor(e.c.v[1])+","+bm_floor(e.c.v[2])+")"),(e.o._mdf||r)&&i.pElem.setAttribute("fill-opacity",e.o.v)}function o(t,e,r){l(t,e,r),h(t,e,r)}function l(t,e,r){var i,a,n,s,o,l=e.gf,h=e.g._hasOpacity,c=e.s.v,u=e.e.v;if(e.o._mdf||r){var p="gf"===t.ty?"fill-opacity":"stroke-opacity";e.style.pElem.setAttribute(p,e.o.v)}if(e.s._mdf||r){var f=1===t.t?"x1":"cx",d="x1"===f?"y1":"cy";l.setAttribute(f,c[0]),l.setAttribute(d,c[1]),h&&!e.g._collapsable&&(e.of.setAttribute(f,c[0]),e.of.setAttribute(d,c[1]))}if(e.g._cmdf||r){i=e.cst;var m=e.g.c;for(n=i.length,a=0;a<n;a+=1)s=i[a],s.setAttribute("offset",m[4*a]+"%"),s.setAttribute("stop-color","rgb("+m[4*a+1]+","+m[4*a+2]+","+m[4*a+3]+")")}if(h&&(e.g._omdf||r)){var g=e.g.o;for(i=e.g._collapsable?e.cst:e.ost,n=i.length,a=0;a<n;a+=1)s=i[a],e.g._collapsable||s.setAttribute("offset",g[2*a]+"%"),s.setAttribute("stop-opacity",g[2*a+1])}if(1===t.t)(e.e._mdf||r)&&(l.setAttribute("x2",u[0]),l.setAttribute("y2",u[1]),h&&!e.g._collapsable&&(e.of.setAttribute("x2",u[0]),e.of.setAttribute("y2",u[1])));else if((e.s._mdf||e.e._mdf||r)&&(o=Math.sqrt(Math.pow(c[0]-u[0],2)+Math.pow(c[1]-u[1],2)),l.setAttribute("r",o),h&&!e.g._collapsable&&e.of.setAttribute("r",o)),e.e._mdf||e.h._mdf||e.a._mdf||r){o||(o=Math.sqrt(Math.pow(c[0]-u[0],2)+Math.pow(c[1]-u[1],2)));var v=Math.atan2(u[1]-c[1],u[0]-c[0]),y=e.h.v>=1?.99:e.h.v<=-1?-.99:e.h.v,b=o*y,_=Math.cos(v+e.a.v)*b+c[0],x=Math.sin(v+e.a.v)*b+c[1];l.setAttribute("fx",_),l.setAttribute("fy",x),h&&!e.g._collapsable&&(e.of.setAttribute("fx",_),e.of.setAttribute("fy",x))}}function h(t,e,r){var i=e.style,a=e.d;a&&(a._mdf||r)&&a.dashStr&&(i.pElem.setAttribute("stroke-dasharray",a.dashStr),i.pElem.setAttribute("stroke-dashoffset",a.dashoffset[0])),e.c&&(e.c._mdf||r)&&i.pElem.setAttribute("stroke","rgb("+bm_floor(e.c.v[0])+","+bm_floor(e.c.v[1])+","+bm_floor(e.c.v[2])+")"),(e.o._mdf||r)&&i.pElem.setAttribute("stroke-opacity",e.o.v),(e.w._mdf||r)&&(i.pElem.setAttribute("stroke-width",e.w.v),i.msElem&&i.msElem.setAttribute("stroke-width",e.w.v))}return r}();function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}function CVShapeData(t,e,r,i){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var a=4;"rc"==e.ty?a=5:"el"==e.ty?a=6:"sr"==e.ty&&(a=7),this.sh=ShapePropertyFactory.getShapeProp(t,e,a,t);var n,s,o=r.length;for(n=0;n<o;n+=1)r[n].closed||(s={transforms:i.addTransformSequence(r[n].transforms),trNodes:[]},this.styledShapes.push(s),r[n].elements.push(s))}function BaseElement(){}function NullElement(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initFrame(),this.initTransform(t,e,r),this.initHierarchy()}function SVGBaseElement(){}function IShapeElement(){}function ITextElement(){}function ICompElement(){}function IImageElement(t,e,r){this.assetData=e.getAssetData(t.refId),this.initElement(t,e,r),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ISolidElement(t,e,r){this.initElement(t,e,r)}function SVGCompElement(t,e,r){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,r),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function SVGTextElement(t,e,r){this.textSpans=[],this.renderType="svg",this.initElement(t,e,r)}function SVGShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,r),this.prevViewData=[]}function SVGTintFilter(t,e){this.filterManager=e;var r=createNS("feColorMatrix");if(r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","linearRGB"),r.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),r.setAttribute("result","f1"),t.appendChild(r),r=createNS("feColorMatrix"),r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","sRGB"),r.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),r.setAttribute("result","f2"),t.appendChild(r),this.matrixFilter=r,100!==e.effectElements[2].p.v||e.effectElements[2].p.k){var i,a=createNS("feMerge");t.appendChild(a),i=createNS("feMergeNode"),i.setAttribute("in","SourceGraphic"),a.appendChild(i),i=createNS("feMergeNode"),i.setAttribute("in","f2"),a.appendChild(i)}}function SVGFillFilter(t,e){this.filterManager=e;var r=createNS("feColorMatrix");r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","sRGB"),r.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),t.appendChild(r),this.matrixFilter=r}function SVGGaussianBlurEffect(t,e){t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width","300%"),t.setAttribute("height","300%"),this.filterManager=e;var r=createNS("feGaussianBlur");t.appendChild(r),this.feGaussianBlur=r}function SVGStrokeEffect(t,e){this.initialized=!1,this.filterManager=e,this.elem=t,this.paths=[]}function SVGTritoneFilter(t,e){this.filterManager=e;var r=createNS("feColorMatrix");r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","linearRGB"),r.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),r.setAttribute("result","f1"),t.appendChild(r);var i=createNS("feComponentTransfer");i.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(i),this.matrixFilter=i;var a=createNS("feFuncR");a.setAttribute("type","table"),i.appendChild(a),this.feFuncR=a;var n=createNS("feFuncG");n.setAttribute("type","table"),i.appendChild(n),this.feFuncG=n;var s=createNS("feFuncB");s.setAttribute("type","table"),i.appendChild(s),this.feFuncB=s}function SVGProLevelsFilter(t,e){this.filterManager=e;var r=this.filterManager.effectElements,i=createNS("feComponentTransfer");(r[10].p.k||0!==r[10].p.v||r[11].p.k||1!==r[11].p.v||r[12].p.k||1!==r[12].p.v||r[13].p.k||0!==r[13].p.v||r[14].p.k||1!==r[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",i)),(r[17].p.k||0!==r[17].p.v||r[18].p.k||1!==r[18].p.v||r[19].p.k||1!==r[19].p.v||r[20].p.k||0!==r[20].p.v||r[21].p.k||1!==r[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",i)),(r[24].p.k||0!==r[24].p.v||r[25].p.k||1!==r[25].p.v||r[26].p.k||1!==r[26].p.v||r[27].p.k||0!==r[27].p.v||r[28].p.k||1!==r[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",i)),(r[31].p.k||0!==r[31].p.v||r[32].p.k||1!==r[32].p.v||r[33].p.k||1!==r[33].p.v||r[34].p.k||0!==r[34].p.v||r[35].p.k||1!==r[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",i)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(i.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(i),i=createNS("feComponentTransfer")),(r[3].p.k||0!==r[3].p.v||r[4].p.k||1!==r[4].p.v||r[5].p.k||1!==r[5].p.v||r[6].p.k||0!==r[6].p.v||r[7].p.k||1!==r[7].p.v)&&(i.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(i),this.feFuncRComposed=this.createFeFunc("feFuncR",i),this.feFuncGComposed=this.createFeFunc("feFuncG",i),this.feFuncBComposed=this.createFeFunc("feFuncB",i))}function SVGDropShadowEffect(t,e){var r=e.container.globalData.renderConfig.filterSize;t.setAttribute("x",r.x),t.setAttribute("y",r.y),t.setAttribute("width",r.width),t.setAttribute("height",r.height),this.filterManager=e;var i=createNS("feGaussianBlur");i.setAttribute("in","SourceAlpha"),i.setAttribute("result","drop_shadow_1"),i.setAttribute("stdDeviation","0"),this.feGaussianBlur=i,t.appendChild(i);var a=createNS("feOffset");a.setAttribute("dx","25"),a.setAttribute("dy","0"),a.setAttribute("in","drop_shadow_1"),a.setAttribute("result","drop_shadow_2"),this.feOffset=a,t.appendChild(a);var n=createNS("feFlood");n.setAttribute("flood-color","#00ff00"),n.setAttribute("flood-opacity","1"),n.setAttribute("result","drop_shadow_3"),this.feFlood=n,t.appendChild(n);var s=createNS("feComposite");s.setAttribute("in","drop_shadow_3"),s.setAttribute("in2","drop_shadow_2"),s.setAttribute("operator","in"),s.setAttribute("result","drop_shadow_4"),t.appendChild(s);var o,l=createNS("feMerge");t.appendChild(l),o=createNS("feMergeNode"),l.appendChild(o),o=createNS("feMergeNode"),o.setAttribute("in","SourceGraphic"),this.feMergeNode=o,this.feMerge=l,this.originalNodeAdded=!1,l.appendChild(o)}ShapeTransformManager.prototype={addTransformSequence:function(t){var e,r=t.length,i="_";for(e=0;e<r;e+=1)i+=t[e].transform.key+"_";var a=this.sequences[i];return a||(a={transforms:[].concat(t),finalTransform:new Matrix,_mdf:!1},this.sequences[i]=a,this.sequenceList.push(a)),a},processSequence:function(t,e){var r,i=0,a=t.transforms.length,n=e;while(i<a&&!e){if(t.transforms[i].transform.mProps._mdf){n=!0;break}i+=1}if(n)for(t.finalTransform.reset(),i=a-1;i>=0;i-=1)r=t.transforms[i].transform.mProps.v.props,t.finalTransform.transform(r[0],r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15]);t._mdf=n},processSequences:function(t){var e,r=this.sequenceList.length;for(e=0;e<r;e+=1)this.processSequence(this.sequenceList[e],t)},getNewKey:function(){return"_"+this.transform_key_count++}},CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated,BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;var t=0,e=this.data.masksProperties.length;while(t<e){if("n"!==this.data.masksProperties[t].mode&&!1!==this.data.masksProperties[t].cl)return!0;t+=1}return!1},initExpressions:function(){this.layerInterface=LayerExpressionInterface(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var t=EffectsExpressionInterface.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(t),0===this.data.ty||this.data.xt?this.compInterface=CompExpressionInterface(this):4===this.data.ty?(this.layerInterface.shapeInterface=ShapeExpressionInterface(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=TextExpressionInterface(this),this.layerInterface.text=this.layerInterface.textInterface)},setBlendMode:function(){var t=getBlendMode(this.data.bm),e=this.baseElement||this.layerElement;e.style["mix-blend-mode"]=t},initBaseData:function(t,e,r){this.globalData=e,this.comp=r,this.data=t,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},NullElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement),SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var t,e,r,i=null;if(this.data.td){if(3==this.data.td||1==this.data.td){var a=createNS("mask");a.setAttribute("id",this.layerId),a.setAttribute("mask-type",3==this.data.td?"luminance":"alpha"),a.appendChild(this.layerElement),i=a,this.globalData.defs.appendChild(a),featureSupport.maskType||1!=this.data.td||(a.setAttribute("mask-type","luminance"),t=createElementID(),e=filtersFactory.createFilter(t),this.globalData.defs.appendChild(e),e.appendChild(filtersFactory.createAlphaToLuminanceFilter()),r=createNS("g"),r.appendChild(this.layerElement),i=r,a.appendChild(r),r.setAttribute("filter","url("+locationHref+"#"+t+")"))}else if(2==this.data.td){var n=createNS("mask");n.setAttribute("id",this.layerId),n.setAttribute("mask-type","alpha");var s=createNS("g");n.appendChild(s),t=createElementID(),e=filtersFactory.createFilter(t);var o=createNS("feComponentTransfer");o.setAttribute("in","SourceGraphic"),e.appendChild(o);var l=createNS("feFuncA");l.setAttribute("type","table"),l.setAttribute("tableValues","1.0 0.0"),o.appendChild(l),this.globalData.defs.appendChild(e);var h=createNS("rect");h.setAttribute("width",this.comp.data.w),h.setAttribute("height",this.comp.data.h),h.setAttribute("x","0"),h.setAttribute("y","0"),h.setAttribute("fill","#ffffff"),h.setAttribute("opacity","0"),s.setAttribute("filter","url("+locationHref+"#"+t+")"),s.appendChild(h),s.appendChild(this.layerElement),i=s,featureSupport.maskType||(n.setAttribute("mask-type","luminance"),e.appendChild(filtersFactory.createAlphaToLuminanceFilter()),r=createNS("g"),s.appendChild(h),r.appendChild(this.layerElement),i=r,s.appendChild(r)),this.globalData.defs.appendChild(n)}}else this.data.tt?(this.matteElement.appendChild(this.layerElement),i=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0===this.data.ty&&!this.data.hd){var c=createNS("clipPath"),u=createNS("path");u.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var p=createElementID();if(c.setAttribute("id",p),c.appendChild(u),this.globalData.defs.appendChild(c),this.checkMasks()){var f=createNS("g");f.setAttribute("clip-path","url("+locationHref+"#"+p+")"),f.appendChild(this.layerElement),this.transformedElement=f,i?i.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+locationHref+"#"+p+")")}0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._matMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.mat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.mProp.o.v)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this)},setMatte:function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+locationHref+"#"+t+")")}},IShapeElement.prototype={addShapeToModifiers:function(t){var e,r=this.shapeModifiers.length;for(e=0;e<r;e+=1)this.shapeModifiers[e].addShape(t)},isShapeInAnimatedModifiers:function(t){var e=0,r=this.shapeModifiers.length;while(e<r)if(this.shapeModifiers[e].isAnimatedWithShape(t))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var t,e=this.shapes.length;for(t=0;t<e;t+=1)this.shapes[t].sh.reset();for(e=this.shapeModifiers.length,t=e-1;t>=0;t-=1)this.shapeModifiers[t].processShapes(this._isFirstFrame)}},lcEnum:{1:"butt",2:"round",3:"square"},ljEnum:{1:"miter",2:"round",3:"bevel"},searchProcessedElement:function(t){var e=this.processedElements,r=0,i=e.length;while(r<i){if(e[r].elem===t)return e[r].pos;r+=1}return 0},addProcessedElement:function(t,e){var r=this.processedElements,i=r.length;while(i)if(i-=1,r[i].elem===t)return void(r[i].pos=e);r.push(new ProcessedElement(t,e))},prepareFrame:function(t){this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)}},ITextElement.prototype.initElement=function(t,e,r){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,e,r),this.textProperty=new TextProperty(this,t.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(t.t,this.renderType,this),this.initTransform(t,e,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)},ITextElement.prototype.createPathShape=function(t,e){var r,i,a=e.length,n="";for(r=0;r<a;r+=1)i=e[r].ks.k,n+=buildShapeString(i,i.i.length,!0,t);return n},ITextElement.prototype.updateDocumentData=function(t,e){this.textProperty.updateDocumentData(t,e)},ITextElement.prototype.canResizeFont=function(t){this.textProperty.canResizeFont(t)},ITextElement.prototype.setMinimumFontSize=function(t){this.textProperty.setMinimumFontSize(t)},ITextElement.prototype.applyTextPropertiesToMatrix=function(t,e,r,i,a){switch(t.ps&&e.translate(t.ps[0],t.ps[1]+t.ascent,0),e.translate(0,-t.ls,0),t.j){case 1:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[r]),0,0);break;case 2:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[r])/2,0,0);break}e.translate(i,a,0)},ITextElement.prototype.buildColor=function(t){return"rgb("+Math.round(255*t[0])+","+Math.round(255*t[1])+","+Math.round(255*t[2])+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initTransform(t,e,r),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&e.progressiveLoad||this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(t){if(this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=t/this.data.sr;else{var e=this.tm.v;e===this.data.op&&(e=this.data.op-1),this.renderedFrame=e}var r,i=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),r=i-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&(this.elements[r].prepareFrame(this.renderedFrame-this.layers[r].st),this.elements[r]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},ICompElement.prototype.setElements=function(t){this.elements=t},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect},extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var t=createNS("rect");t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.layerElement.appendChild(t)},extendPrototype([SVGRenderer,ICompElement,SVGBaseElement],SVGCompElement),extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextElement),SVGTextElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextElement.prototype.buildTextContents=function(t){var e=0,r=t.length,i=[],a="";while(e<r)t[e]===String.fromCharCode(13)||t[e]===String.fromCharCode(3)?(i.push(a),a=""):a+=t[e],e+=1;return i.push(a),i},SVGTextElement.prototype.buildNewText=function(){var t,e,r=this.textProperty.currentData;this.renderedLetters=createSizedArray(r?r.l.length:0),r.fc?this.layerElement.setAttribute("fill",this.buildColor(r.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),r.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(r.sc)),this.layerElement.setAttribute("stroke-width",r.sw)),this.layerElement.setAttribute("font-size",r.finalSize);var i=this.globalData.fontManager.getFontByName(r.f);if(i.fClass)this.layerElement.setAttribute("class",i.fClass);else{this.layerElement.setAttribute("font-family",i.fFamily);var a=r.fWeight,n=r.fStyle;this.layerElement.setAttribute("font-style",n),this.layerElement.setAttribute("font-weight",a)}this.layerElement.setAttribute("aria-label",r.t);var s,o=r.l||[],l=!!this.globalData.fontManager.chars;e=o.length;var h,c=this.mHelper,u="",p=this.data.singleShape,f=0,d=0,m=!0,g=r.tr/1e3*r.finalSize;if(!p||l||r.sz){var v,y,b=this.textSpans.length;for(t=0;t<e;t+=1)l&&p&&0!==t||(s=b>t?this.textSpans[t]:createNS(l?"path":"text"),b<=t&&(s.setAttribute("stroke-linecap","butt"),s.setAttribute("stroke-linejoin","round"),s.setAttribute("stroke-miterlimit","4"),this.textSpans[t]=s,this.layerElement.appendChild(s)),s.style.display="inherit"),c.reset(),c.scale(r.finalSize/100,r.finalSize/100),p&&(o[t].n&&(f=-g,d+=r.yOffset,d+=m?1:0,m=!1),this.applyTextPropertiesToMatrix(r,c,o[t].line,f,d),f+=o[t].l||0,f+=g),l?(y=this.globalData.fontManager.getCharData(r.finalText[t],i.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily),v=y&&y.data||{},h=v.shapes?v.shapes[0].it:[],p?u+=this.createPathShape(c,h):s.setAttribute("d",this.createPathShape(c,h))):(p&&s.setAttribute("transform","translate("+c.props[12]+","+c.props[13]+")"),s.textContent=o[t].val,s.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"));p&&s&&s.setAttribute("d",u)}else{var _=this.textContainer,x="start";switch(r.j){case 1:x="end";break;case 2:x="middle";break}_.setAttribute("text-anchor",x),_.setAttribute("letter-spacing",g);var E=this.buildTextContents(r.finalText);for(e=E.length,d=r.ps?r.ps[1]+r.ascent:0,t=0;t<e;t+=1)s=this.textSpans[t]||createNS("tspan"),s.textContent=E[t],s.setAttribute("x",0),s.setAttribute("y",d),s.style.display="inherit",_.appendChild(s),this.textSpans[t]=s,d+=r.finalLineHeight;this.layerElement.appendChild(_)}while(t<this.textSpans.length)this.textSpans[t].style.display="none",t+=1;this._sizeChanged=!0},SVGTextElement.prototype.sourceRectAtTime=function(t){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var e=this.layerElement.getBBox();this.bbox={top:e.y,left:e.x,width:e.width,height:e.height}}return this.bbox},SVGTextElement.prototype.renderInnerContent=function(){if(!this.data.singleShape&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){var t,e;this._sizeChanged=!0;var r,i,a=this.textAnimator.renderedLetters,n=this.textProperty.currentData.l;for(e=n.length,t=0;t<e;t+=1)n[t].n||(r=a[t],i=this.textSpans[t],r._mdf.m&&i.setAttribute("transform",r.m),r._mdf.o&&i.setAttribute("opacity",r.o),r._mdf.sw&&i.setAttribute("stroke-width",r.sw),r._mdf.sc&&i.setAttribute("stroke",r.sc),r._mdf.fc&&i.setAttribute("fill",r.fc))}},extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var t,e,r,i,a=this.shapes.length,n=this.stylesList.length,s=[],o=!1;for(r=0;r<n;r+=1){for(i=this.stylesList[r],o=!1,s.length=0,t=0;t<a;t+=1)e=this.shapes[t],-1!==e.styles.indexOf(i)&&(s.push(e),o=e._isAnimated||o);s.length>1&&o&&this.setShapesAsAnimated(s)}},SVGShapeElement.prototype.setShapesAsAnimated=function(t){var e,r=t.length;for(e=0;e<r;e+=1)t[e].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(t,e){var r,i=new SVGStyleData(t,e),a=i.pElem;if("st"===t.ty)r=new SVGStrokeStyleData(this,t,i);else if("fl"===t.ty)r=new SVGFillStyleData(this,t,i);else if("gf"===t.ty||"gs"===t.ty){var n="gf"===t.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData;r=new n(this,t,i),this.globalData.defs.appendChild(r.gf),r.maskId&&(this.globalData.defs.appendChild(r.ms),this.globalData.defs.appendChild(r.of),a.setAttribute("mask","url("+locationHref+"#"+r.maskId+")"))}return"st"!==t.ty&&"gs"!==t.ty||(a.setAttribute("stroke-linecap",this.lcEnum[t.lc]||"round"),a.setAttribute("stroke-linejoin",this.ljEnum[t.lj]||"round"),a.setAttribute("fill-opacity","0"),1===t.lj&&a.setAttribute("stroke-miterlimit",t.ml)),2===t.r&&a.setAttribute("fill-rule","evenodd"),t.ln&&a.setAttribute("id",t.ln),t.cl&&a.setAttribute("class",t.cl),t.bm&&(a.style["mix-blend-mode"]=getBlendMode(t.bm)),this.stylesList.push(i),this.addToAnimatedContents(t,r),r},SVGShapeElement.prototype.createGroupElement=function(t){var e=new ShapeGroupData;return t.ln&&e.gr.setAttribute("id",t.ln),t.cl&&e.gr.setAttribute("class",t.cl),t.bm&&(e.gr.style["mix-blend-mode"]=getBlendMode(t.bm)),e},SVGShapeElement.prototype.createTransformElement=function(t,e){var r=TransformPropertyFactory.getTransformProperty(this,t,this),i=new SVGTransformData(r,r.o,e);return this.addToAnimatedContents(t,i),i},SVGShapeElement.prototype.createShapeElement=function(t,e,r){var i=4;"rc"===t.ty?i=5:"el"===t.ty?i=6:"sr"===t.ty&&(i=7);var a=ShapePropertyFactory.getShapeProp(this,t,i,this),n=new SVGShapeData(e,r,a);return this.shapes.push(n),this.addShapeToModifiers(n),this.addToAnimatedContents(t,n),n},SVGShapeElement.prototype.addToAnimatedContents=function(t,e){var r=0,i=this.animatedContents.length;while(r<i){if(this.animatedContents[r].element===e)return;r+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(t),element:e,data:t})},SVGShapeElement.prototype.setElementStyles=function(t){var e,r=t.styles,i=this.stylesList.length;for(e=0;e<i;e+=1)this.stylesList[e].closed||r.push(this.stylesList[e])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var t,e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(t,e,r,i,a,n,s){var o,l,h,c,u,p,f=[].concat(n),d=t.length-1,m=[],g=[];for(o=d;o>=0;o-=1){if(p=this.searchProcessedElement(t[o]),p?e[o]=r[p-1]:t[o]._render=s,"fl"==t[o].ty||"st"==t[o].ty||"gf"==t[o].ty||"gs"==t[o].ty)p?e[o].style.closed=!1:e[o]=this.createStyleElement(t[o],a),t[o]._render&&i.appendChild(e[o].style.pElem),m.push(e[o].style);else if("gr"==t[o].ty){if(p)for(h=e[o].it.length,l=0;l<h;l+=1)e[o].prevViewData[l]=e[o].it[l];else e[o]=this.createGroupElement(t[o]);this.searchShapes(t[o].it,e[o].it,e[o].prevViewData,e[o].gr,a+1,f,s),t[o]._render&&i.appendChild(e[o].gr)}else"tr"==t[o].ty?(p||(e[o]=this.createTransformElement(t[o],i)),c=e[o].transform,f.push(c)):"sh"==t[o].ty||"rc"==t[o].ty||"el"==t[o].ty||"sr"==t[o].ty?(p||(e[o]=this.createShapeElement(t[o],f,a)),this.setElementStyles(e[o])):"tm"==t[o].ty||"rd"==t[o].ty||"ms"==t[o].ty?(p?(u=e[o],u.closed=!1):(u=ShapeModifiers.getModifier(t[o].ty),u.init(this,t[o]),e[o]=u,this.shapeModifiers.push(u)),g.push(u)):"rp"==t[o].ty&&(p?(u=e[o],u.closed=!0):(u=ShapeModifiers.getModifier(t[o].ty),e[o]=u,u.init(this,t,o,e),this.shapeModifiers.push(u),s=!1),g.push(u));this.addProcessedElement(t[o],o+1)}for(d=m.length,o=0;o<d;o+=1)m[o].closed=!0;for(d=g.length,o=0;o<d;o+=1)g[o].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();var t,e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].reset();for(this.renderShape(),t=0;t<e;t+=1)(this.stylesList[t]._mdf||this._isFirstFrame)&&(this.stylesList[t].msElem&&(this.stylesList[t].msElem.setAttribute("d",this.stylesList[t].d),this.stylesList[t].d="M0 0"+this.stylesList[t].d),this.stylesList[t].pElem.setAttribute("d",this.stylesList[t].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var t,e,r=this.animatedContents.length;for(t=0;t<r;t+=1)e=this.animatedContents[t],(this._isFirstFrame||e.element._isAnimated)&&!0!==e.data&&e.fn(e.data,e.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},SVGTintFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,i=this.filterManager.effectElements[2].p.v/100;this.matrixFilter.setAttribute("values",r[0]-e[0]+" 0 0 0 "+e[0]+" "+(r[1]-e[1])+" 0 0 0 "+e[1]+" "+(r[2]-e[2])+" 0 0 0 "+e[2]+" 0 0 0 "+i+" 0")}},SVGFillFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[2].p.v,r=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+e[0]+" 0 0 0 0 "+e[1]+" 0 0 0 0 "+e[2]+" 0 0 0 "+r+" 0")}},SVGGaussianBlurEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=.3,r=this.filterManager.effectElements[0].p.v*e,i=this.filterManager.effectElements[1].p.v,a=3==i?0:r,n=2==i?0:r;this.feGaussianBlur.setAttribute("stdDeviation",a+" "+n);var s=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",s)}},SVGStrokeEffect.prototype.initialize=function(){var t,e,r,i,a=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(i=this.elem.maskManager.masksProperties.length,r=0):(r=this.filterManager.effectElements[0].p.v-1,i=r+1),e=createNS("g"),e.setAttribute("fill","none"),e.setAttribute("stroke-linecap","round"),e.setAttribute("stroke-dashoffset",1),r;r<i;r+=1)t=createNS("path"),e.appendChild(t),this.paths.push({p:t,m:r});if(3===this.filterManager.effectElements[10].p.v){var n=createNS("mask"),s=createElementID();n.setAttribute("id",s),n.setAttribute("mask-type","alpha"),n.appendChild(e),this.elem.globalData.defs.appendChild(n);var o=createNS("g");o.setAttribute("mask","url("+locationHref+"#"+s+")");while(a[0])o.appendChild(a[0]);this.elem.layerElement.appendChild(o),this.masker=n,e.setAttribute("stroke","#fff")}else if(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v){if(2===this.filterManager.effectElements[10].p.v){a=this.elem.layerElement.children||this.elem.layerElement.childNodes;while(a.length)this.elem.layerElement.removeChild(a[0])}this.elem.layerElement.appendChild(e),this.elem.layerElement.removeAttribute("mask"),e.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=e},SVGStrokeEffect.prototype.renderFrame=function(t){this.initialized||this.initialize();var e,r,i,a=this.paths.length;for(e=0;e<a;e+=1)if(-1!==this.paths[e].m&&(r=this.elem.maskManager.viewData[this.paths[e].m],i=this.paths[e].p,(t||this.filterManager._mdf||r.prop._mdf)&&i.setAttribute("d",r.lastPath),t||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||r.prop._mdf)){var n;if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var s=Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)/100,o=Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)/100,l=i.getTotalLength();n="0 0 0 "+l*s+" ";var h,c=l*(o-s),u=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v/100,p=Math.floor(c/u);for(h=0;h<p;h+=1)n+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v/100+" ";n+="0 "+10*l+" 0 0"}else n="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v/100;i.setAttribute("stroke-dasharray",n)}if((t||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(t||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v)&&(t||this.filterManager.effectElements[3].p._mdf)){var f=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bm_floor(255*f[0])+","+bm_floor(255*f[1])+","+bm_floor(255*f[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,i=this.filterManager.effectElements[2].p.v,a=i[0]+" "+r[0]+" "+e[0],n=i[1]+" "+r[1]+" "+e[1],s=i[2]+" "+r[2]+" "+e[2];this.feFuncR.setAttribute("tableValues",a),this.feFuncG.setAttribute("tableValues",n),this.feFuncB.setAttribute("tableValues",s)}},SVGProLevelsFilter.prototype.createFeFunc=function(t,e){var r=createNS(t);return r.setAttribute("type","table"),e.appendChild(r),r},SVGProLevelsFilter.prototype.getTableValue=function(t,e,r,i,a){var n,s,o=0,l=256,h=Math.min(t,e),c=Math.max(t,e),u=Array.call(null,{length:l}),p=0,f=a-i,d=e-t;while(o<=256)n=o/256,s=n<=h?d<0?a:i:n>=c?d<0?i:a:i+f*Math.pow((n-t)/d,1/r),u[p++]=s,o+=256/(l-1);return u.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e,r=this.filterManager.effectElements;this.feFuncRComposed&&(t||r[3].p._mdf||r[4].p._mdf||r[5].p._mdf||r[6].p._mdf||r[7].p._mdf)&&(e=this.getTableValue(r[3].p.v,r[4].p.v,r[5].p.v,r[6].p.v,r[7].p.v),this.feFuncRComposed.setAttribute("tableValues",e),this.feFuncGComposed.setAttribute("tableValues",e),this.feFuncBComposed.setAttribute("tableValues",e)),this.feFuncR&&(t||r[10].p._mdf||r[11].p._mdf||r[12].p._mdf||r[13].p._mdf||r[14].p._mdf)&&(e=this.getTableValue(r[10].p.v,r[11].p.v,r[12].p.v,r[13].p.v,r[14].p.v),this.feFuncR.setAttribute("tableValues",e)),this.feFuncG&&(t||r[17].p._mdf||r[18].p._mdf||r[19].p._mdf||r[20].p._mdf||r[21].p._mdf)&&(e=this.getTableValue(r[17].p.v,r[18].p.v,r[19].p.v,r[20].p.v,r[21].p.v),this.feFuncG.setAttribute("tableValues",e)),this.feFuncB&&(t||r[24].p._mdf||r[25].p._mdf||r[26].p._mdf||r[27].p._mdf||r[28].p._mdf)&&(e=this.getTableValue(r[24].p.v,r[25].p.v,r[26].p.v,r[27].p.v,r[28].p.v),this.feFuncB.setAttribute("tableValues",e)),this.feFuncA&&(t||r[31].p._mdf||r[32].p._mdf||r[33].p._mdf||r[34].p._mdf||r[35].p._mdf)&&(e=this.getTableValue(r[31].p.v,r[32].p.v,r[33].p.v,r[34].p.v,r[35].p.v),this.feFuncA.setAttribute("tableValues",e))}},SVGDropShadowEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){if((t||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),t||this.filterManager.effectElements[0].p._mdf){var e=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*e[0]),Math.round(255*e[1]),Math.round(255*e[2])))}if((t||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),t||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var r=this.filterManager.effectElements[3].p.v,i=(this.filterManager.effectElements[2].p.v-90)*degToRads,a=r*Math.cos(i),n=r*Math.sin(i);this.feOffset.setAttribute("dx",a),this.feOffset.setAttribute("dy",n)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(t,e,r){this.initialized=!1,this.filterManager=e,this.filterElem=t,this.elem=r,r.matteElement=createNS("g"),r.matteElement.appendChild(r.layerElement),r.matteElement.appendChild(r.transformedElement),r.baseElement=r.matteElement}function SVGEffects(t){var e,r,i=t.data.ef?t.data.ef.length:0,a=createElementID(),n=filtersFactory.createFilter(a),s=0;for(this.filters=[],e=0;e<i;e+=1)r=null,20===t.data.ef[e].ty?(s+=1,r=new SVGTintFilter(n,t.effectsManager.effectElements[e])):21===t.data.ef[e].ty?(s+=1,r=new SVGFillFilter(n,t.effectsManager.effectElements[e])):22===t.data.ef[e].ty?r=new SVGStrokeEffect(t,t.effectsManager.effectElements[e]):23===t.data.ef[e].ty?(s+=1,r=new SVGTritoneFilter(n,t.effectsManager.effectElements[e])):24===t.data.ef[e].ty?(s+=1,r=new SVGProLevelsFilter(n,t.effectsManager.effectElements[e])):25===t.data.ef[e].ty?(s+=1,r=new SVGDropShadowEffect(n,t.effectsManager.effectElements[e])):28===t.data.ef[e].ty?r=new SVGMatte3Effect(n,t.effectsManager.effectElements[e],t):29===t.data.ef[e].ty&&(s+=1,r=new SVGGaussianBlurEffect(n,t.effectsManager.effectElements[e])),r&&this.filters.push(r);s&&(t.globalData.defs.appendChild(n),t.layerElement.setAttribute("filter","url("+locationHref+"#"+a+")")),this.filters.length&&t.addRenderableComponent(this)}function CVContextData(){this.saved=[],this.cArrPos=0,this.cTr=new Matrix,this.cO=1;var t,e=15;for(this.savedOp=createTypedArray("float32",e),t=0;t<e;t+=1)this.saved[t]=createTypedArray("float32",16);this._length=e}function CVBaseElement(){}function CVImageElement(t,e,r){this.assetData=e.getAssetData(t.refId),this.img=e.imageLoader.getImage(this.assetData),this.initElement(t,e,r)}function CVCompElement(t,e,r){this.completeLayers=!1,this.layers=t.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(t,e,r),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function CVMaskElement(t,e){this.data=t,this.element=e,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var r,i=this.masksProperties.length,a=!1;for(r=0;r<i;r++)"n"!==this.masksProperties[r].mode&&(a=!0),this.viewData[r]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[r],3);this.hasMasks=a,a&&this.element.addRenderableComponent(this)}function CVShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(t,e,r)}function CVSolidElement(t,e,r){this.initElement(t,e,r)}function CVTextElement(t,e,r){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(t,e,r)}function CVEffects(){}function HBaseElement(t,e,r){}function HSolidElement(t,e,r){this.initElement(t,e,r)}function HCompElement(t,e,r){this.layers=t.layers,this.supports3d=!t.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,r),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function HShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(t,e,r),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(t,e,r){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(t,e,r)}function HImageElement(t,e,r){this.assetData=e.getAssetData(t.refId),this.initElement(t,e,r)}function HCameraElement(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initHierarchy();var i=PropertyFactory.getProp;if(this.pe=i(this,t.pe,0,0,this),t.ks.p.s?(this.px=i(this,t.ks.p.x,1,0,this),this.py=i(this,t.ks.p.y,1,0,this),this.pz=i(this,t.ks.p.z,1,0,this)):this.p=i(this,t.ks.p,1,0,this),t.ks.a&&(this.a=i(this,t.ks.a,1,0,this)),t.ks.or.k.length&&t.ks.or.k[0].to){var a,n=t.ks.or.k.length;for(a=0;a<n;a+=1)t.ks.or.k[a].to=null,t.ks.or.k[a].ti=null}this.or=i(this,t.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=i(this,t.ks.rx,0,degToRads,this),this.ry=i(this,t.ks.ry,0,degToRads,this),this.rz=i(this,t.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}function HEffects(){}SVGMatte3Effect.prototype.findSymbol=function(t){var e=0,r=_svgMatteSymbols.length;while(e<r){if(_svgMatteSymbols[e]===t)return _svgMatteSymbols[e];e+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(t,e){var r=t.layerElement.parentNode;if(r){var i,a=r.children,n=0,s=a.length;while(n<s){if(a[n]===t.layerElement)break;n+=1}n<=s-2&&(i=a[n+1]);var o=createNS("use");o.setAttribute("href","#"+e),i?r.insertBefore(o,i):r.appendChild(o)}},SVGMatte3Effect.prototype.setElementAsMask=function(t,e){if(!this.findSymbol(e)){var r=createElementID(),i=createNS("mask");i.setAttribute("id",e.layerId),i.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(e);var a=t.globalData.defs;a.appendChild(i);var n=createNS("symbol");n.setAttribute("id",r),this.replaceInParent(e,r),n.appendChild(e.layerElement),a.appendChild(n);var s=createNS("use");s.setAttribute("href","#"+r),i.appendChild(s),e.data.hd=!1,e.show()}t.setMatte(e.layerId)},SVGMatte3Effect.prototype.initialize=function(){var t=this.filterManager.effectElements[0].p.v,e=this.elem.comp.elements,r=0,i=e.length;while(r<i)e[r]&&e[r].data.ind===t&&this.setElementAsMask(this.elem,e[r]),r+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGEffects.prototype.renderFrame=function(t){var e,r=this.filters.length;for(e=0;e<r;e+=1)this.filters[e].renderFrame(t)},CVContextData.prototype.duplicate=function(){var t=2*this._length,e=this.savedOp;this.savedOp=createTypedArray("float32",t),this.savedOp.set(e);var r=0;for(r=this._length;r<t;r+=1)this.saved[r]=createTypedArray("float32",16);this._length=t},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.cO=1},CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){this.canvasContext=this.globalData.canvasContext,this.renderableEffectsManager=new CVEffects(this)},createContent:function(){},setBlendMode:function(){var t=this.globalData;if(t.blendMode!==this.data.bm){t.blendMode=this.data.bm;var e=getBlendMode(this.data.bm);t.canvasContext.globalCompositeOperation=e}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this)},hideElement:function(){this.hidden||this.isInRange&&!this.isTransparent||(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},renderFrame:function(){if(!this.hidden&&!this.data.hd){this.renderTransform(),this.renderRenderable(),this.setBlendMode();var t=0===this.data.ty;this.globalData.renderer.save(t),this.globalData.renderer.ctxTransform(this.finalTransform.mat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.mProp.o.v),this.renderInnerContent(),this.globalData.renderer.restore(t),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement,extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var t=createTag("canvas");t.width=this.assetData.w,t.height=this.assetData.h;var e,r,i=t.getContext("2d"),a=this.img.width,n=this.img.height,s=a/n,o=this.assetData.w/this.assetData.h,l=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;s>o&&"xMidYMid slice"===l||s<o&&"xMidYMid slice"!==l?(r=n,e=r*o):(e=a,r=e/o),i.drawImage(this.img,(a-e)/2,(n-r)/2,e,r,0,0,this.assetData.w,this.assetData.h),this.img=t}},CVImageElement.prototype.renderInnerContent=function(t){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null},extendPrototype([CanvasRenderer,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var t=this.canvasContext;t.beginPath(),t.moveTo(0,0),t.lineTo(this.data.w,0),t.lineTo(this.data.w,this.data.h),t.lineTo(0,this.data.h),t.lineTo(0,0),t.clip();var e,r=this.layers.length;for(e=r-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},CVCompElement.prototype.destroy=function(){var t,e=this.layers.length;for(t=e-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy();this.layers=null,this.elements=null},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var t,e,r,i,a=this.element.finalTransform.mat,n=this.element.canvasContext,s=this.masksProperties.length;for(n.beginPath(),t=0;t<s;t++)if("n"!==this.masksProperties[t].mode){this.masksProperties[t].inv&&(n.moveTo(0,0),n.lineTo(this.element.globalData.compSize.w,0),n.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),n.lineTo(0,this.element.globalData.compSize.h),n.lineTo(0,0)),i=this.viewData[t].v,e=a.applyToPointArray(i.v[0][0],i.v[0][1],0),n.moveTo(e[0],e[1]);var o,l=i._length;for(o=1;o<l;o++)r=a.applyToTriplePoints(i.o[o-1],i.i[o],i.v[o]),n.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5]);r=a.applyToTriplePoints(i.o[o-1],i.i[0],i.v[0]),n.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5])}this.element.globalData.renderer.save(!0),n.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null},extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(t,e){var r={data:t,type:t.ty,preTransforms:this.transformsManager.addTransformSequence(e),transforms:[],elements:[],closed:!0===t.hd},i={};if("fl"==t.ty||"st"==t.ty?(i.c=PropertyFactory.getProp(this,t.c,1,255,this),i.c.k||(r.co="rgb("+bm_floor(i.c.v[0])+","+bm_floor(i.c.v[1])+","+bm_floor(i.c.v[2])+")")):"gf"!==t.ty&&"gs"!==t.ty||(i.s=PropertyFactory.getProp(this,t.s,1,null,this),i.e=PropertyFactory.getProp(this,t.e,1,null,this),i.h=PropertyFactory.getProp(this,t.h||{k:0},0,.01,this),i.a=PropertyFactory.getProp(this,t.a||{k:0},0,degToRads,this),i.g=new GradientProperty(this,t.g,this)),i.o=PropertyFactory.getProp(this,t.o,0,.01,this),"st"==t.ty||"gs"==t.ty){if(r.lc=this.lcEnum[t.lc]||"round",r.lj=this.ljEnum[t.lj]||"round",1==t.lj&&(r.ml=t.ml),i.w=PropertyFactory.getProp(this,t.w,0,null,this),i.w.k||(r.wi=i.w.v),t.d){var a=new DashProperty(this,t.d,"canvas",this);i.d=a,i.d.k||(r.da=i.d.dashArray,r.do=i.d.dashoffset[0])}}else r.r=2===t.r?"evenodd":"nonzero";return this.stylesList.push(r),i.style=r,i},CVShapeElement.prototype.createGroupElement=function(t){var e={it:[],prevViewData:[]};return e},CVShapeElement.prototype.createTransformElement=function(t){var e={transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,t.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,t,this)}};return e},CVShapeElement.prototype.createShapeElement=function(t){var e=new CVShapeData(this,t,this.stylesList,this.transformsManager);return this.shapes.push(e),this.addShapeToModifiers(e),e},CVShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var t,e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(t){var e,r=this.stylesList.length;for(e=0;e<r;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.push(t)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var t,e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.pop()},CVShapeElement.prototype.closeStyles=function(t){var e,r=t.length;for(e=0;e<r;e+=1)t[e].closed=!0},CVShapeElement.prototype.searchShapes=function(t,e,r,i,a){var n,s,o,l,h,c,u=t.length-1,p=[],f=[],d=[].concat(a);for(n=u;n>=0;n-=1){if(l=this.searchProcessedElement(t[n]),l?e[n]=r[l-1]:t[n]._shouldRender=i,"fl"==t[n].ty||"st"==t[n].ty||"gf"==t[n].ty||"gs"==t[n].ty)l?e[n].style.closed=!1:e[n]=this.createStyleElement(t[n],d),p.push(e[n].style);else if("gr"==t[n].ty){if(l)for(o=e[n].it.length,s=0;s<o;s+=1)e[n].prevViewData[s]=e[n].it[s];else e[n]=this.createGroupElement(t[n]);this.searchShapes(t[n].it,e[n].it,e[n].prevViewData,i,d)}else"tr"==t[n].ty?(l||(c=this.createTransformElement(t[n]),e[n]=c),d.push(e[n]),this.addTransformToStyleList(e[n])):"sh"==t[n].ty||"rc"==t[n].ty||"el"==t[n].ty||"sr"==t[n].ty?l||(e[n]=this.createShapeElement(t[n])):"tm"==t[n].ty||"rd"==t[n].ty?(l?(h=e[n],h.closed=!1):(h=ShapeModifiers.getModifier(t[n].ty),h.init(this,t[n]),e[n]=h,this.shapeModifiers.push(h)),f.push(h)):"rp"==t[n].ty&&(l?(h=e[n],h.closed=!0):(h=ShapeModifiers.getModifier(t[n].ty),e[n]=h,h.init(this,t,n,e),this.shapeModifiers.push(h),i=!1),f.push(h));this.addProcessedElement(t[n],n+1)}for(this.removeTransformFromStyleList(),this.closeStyles(p),u=f.length,n=0;n<u;n+=1)f[n].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(t,e){(t._opMdf||e.op._mdf||this._isFirstFrame)&&(e.opacity=t.opacity,e.opacity*=e.op.v,e._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var t,e,r,i,a,n,s,o,l,h=this.stylesList.length,c=this.globalData.renderer,u=this.globalData.canvasContext;for(t=0;t<h;t+=1)if(l=this.stylesList[t],o=l.type,("st"!==o&&"gs"!==o||0!==l.wi)&&l.data._shouldRender&&0!==l.coOp&&0!==this.globalData.currentGlobalAlpha){for(c.save(),n=l.elements,"st"===o||"gs"===o?(u.strokeStyle="st"===o?l.co:l.grd,u.lineWidth=l.wi,u.lineCap=l.lc,u.lineJoin=l.lj,u.miterLimit=l.ml||0):u.fillStyle="fl"===o?l.co:l.grd,c.ctxOpacity(l.coOp),"st"!==o&&"gs"!==o&&u.beginPath(),c.ctxTransform(l.preTransforms.finalTransform.props),r=n.length,e=0;e<r;e+=1){for("st"!==o&&"gs"!==o||(u.beginPath(),l.da&&(u.setLineDash(l.da),u.lineDashOffset=l.do)),s=n[e].trNodes,a=s.length,i=0;i<a;i+=1)"m"==s[i].t?u.moveTo(s[i].p[0],s[i].p[1]):"c"==s[i].t?u.bezierCurveTo(s[i].pts[0],s[i].pts[1],s[i].pts[2],s[i].pts[3],s[i].pts[4],s[i].pts[5]):u.closePath();"st"!==o&&"gs"!==o||(u.stroke(),l.da&&u.setLineDash(this.dashResetter))}"st"!==o&&"gs"!==o&&u.fill(l.r),c.restore()}},CVShapeElement.prototype.renderShape=function(t,e,r,i){var a,n,s=e.length-1;for(n=t,a=s;a>=0;a-=1)"tr"==e[a].ty?(n=r[a].transform,this.renderShapeTransform(t,n)):"sh"==e[a].ty||"el"==e[a].ty||"rc"==e[a].ty||"sr"==e[a].ty?this.renderPath(e[a],r[a]):"fl"==e[a].ty?this.renderFill(e[a],r[a],n):"st"==e[a].ty?this.renderStroke(e[a],r[a],n):"gf"==e[a].ty||"gs"==e[a].ty?this.renderGradientFill(e[a],r[a],n):"gr"==e[a].ty?this.renderShape(n,e[a].it,r[a].it):e[a].ty;i&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(t,e){if(this._isFirstFrame||e._mdf||t.transforms._mdf){var r,i,a,n=t.trNodes,s=e.paths,o=s._length;n.length=0;var l=t.transforms.finalTransform;for(a=0;a<o;a+=1){var h=s.shapes[a];if(h&&h.v){for(i=h._length,r=1;r<i;r+=1)1===r&&n.push({t:"m",p:l.applyToPointArray(h.v[0][0],h.v[0][1],0)}),n.push({t:"c",pts:l.applyToTriplePoints(h.o[r-1],h.i[r],h.v[r])});1===i&&n.push({t:"m",p:l.applyToPointArray(h.v[0][0],h.v[0][1],0)}),h.c&&i&&(n.push({t:"c",pts:l.applyToTriplePoints(h.o[r-1],h.i[0],h.v[0])}),n.push({t:"z"}))}}t.trNodes=n}},CVShapeElement.prototype.renderPath=function(t,e){if(!0!==t.hd&&t._shouldRender){var r,i=e.styledShapes.length;for(r=0;r<i;r+=1)this.renderStyledShape(e.styledShapes[r],e.sh)}},CVShapeElement.prototype.renderFill=function(t,e,r){var i=e.style;(e.c._mdf||this._isFirstFrame)&&(i.co="rgb("+bm_floor(e.c.v[0])+","+bm_floor(e.c.v[1])+","+bm_floor(e.c.v[2])+")"),(e.o._mdf||r._opMdf||this._isFirstFrame)&&(i.coOp=e.o.v*r.opacity)},CVShapeElement.prototype.renderGradientFill=function(t,e,r){var i=e.style;if(!i.grd||e.g._mdf||e.s._mdf||e.e._mdf||1!==t.t&&(e.h._mdf||e.a._mdf)){var a=this.globalData.canvasContext,n=e.s.v,s=e.e.v;if(1===t.t)f=a.createLinearGradient(n[0],n[1],s[0],s[1]);else var o=Math.sqrt(Math.pow(n[0]-s[0],2)+Math.pow(n[1]-s[1],2)),l=Math.atan2(s[1]-n[1],s[0]-n[0]),h=e.h.v>=1?.99:e.h.v<=-1?-.99:e.h.v,c=o*h,u=Math.cos(l+e.a.v)*c+n[0],p=Math.sin(l+e.a.v)*c+n[1],f=a.createRadialGradient(u,p,0,n[0],n[1],o);var d,m=t.g.p,g=e.g.c,v=1;for(d=0;d<m;d+=1)e.g._hasOpacity&&e.g._collapsable&&(v=e.g.o[2*d+1]),f.addColorStop(g[4*d]/100,"rgba("+g[4*d+1]+","+g[4*d+2]+","+g[4*d+3]+","+v+")");i.grd=f}i.coOp=e.o.v*r.opacity},CVShapeElement.prototype.renderStroke=function(t,e,r){var i=e.style,a=e.d;a&&(a._mdf||this._isFirstFrame)&&(i.da=a.dashArray,i.do=a.dashoffset[0]),(e.c._mdf||this._isFirstFrame)&&(i.co="rgb("+bm_floor(e.c.v[0])+","+bm_floor(e.c.v[1])+","+bm_floor(e.c.v[2])+")"),(e.o._mdf||r._opMdf||this._isFirstFrame)&&(i.coOp=e.o.v*r.opacity),(e.w._mdf||this._isFirstFrame)&&(i.wi=e.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){var t=this.canvasContext;t.fillStyle=this.data.sc,t.fillRect(0,0,this.data.sw,this.data.sh)},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=createSizedArray(t.l?t.l.length:0);var e=!1;t.fc?(e=!0,this.values.fill=this.buildColor(t.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=e;var r=!1;t.sc&&(r=!0,this.values.stroke=this.buildColor(t.sc),this.values.sWidth=t.sw);var i,a,n=this.globalData.fontManager.getFontByName(t.f),s=t.l,o=this.mHelper;this.stroke=r,this.values.fValue=t.finalSize+"px "+this.globalData.fontManager.getFontByName(t.f).fFamily,a=t.finalText.length;var l,h,c,u,p,f,d,m,g,v,y=this.data.singleShape,b=t.tr/1e3*t.finalSize,_=0,x=0,E=!0,S=0;for(i=0;i<a;i+=1){for(l=this.globalData.fontManager.getCharData(t.finalText[i],n.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily),h=l&&l.data||{},o.reset(),y&&s[i].n&&(_=-b,x+=t.yOffset,x+=E?1:0,E=!1),p=h.shapes?h.shapes[0].it:[],d=p.length,o.scale(t.finalSize/100,t.finalSize/100),y&&this.applyTextPropertiesToMatrix(t,o,s[i].line,_,x),g=createSizedArray(d),f=0;f<d;f+=1){for(u=p[f].ks.k.i.length,m=p[f].ks.k,v=[],c=1;c<u;c+=1)1==c&&v.push(o.applyToX(m.v[0][0],m.v[0][1],0),o.applyToY(m.v[0][0],m.v[0][1],0)),v.push(o.applyToX(m.o[c-1][0],m.o[c-1][1],0),o.applyToY(m.o[c-1][0],m.o[c-1][1],0),o.applyToX(m.i[c][0],m.i[c][1],0),o.applyToY(m.i[c][0],m.i[c][1],0),o.applyToX(m.v[c][0],m.v[c][1],0),o.applyToY(m.v[c][0],m.v[c][1],0));v.push(o.applyToX(m.o[c-1][0],m.o[c-1][1],0),o.applyToY(m.o[c-1][0],m.o[c-1][1],0),o.applyToX(m.i[0][0],m.i[0][1],0),o.applyToY(m.i[0][0],m.i[0][1],0),o.applyToX(m.v[0][0],m.v[0][1],0),o.applyToY(m.v[0][0],m.v[0][1],0)),g[f]=v}y&&(_+=s[i].l,_+=b),this.textSpans[S]?this.textSpans[S].elem=g:this.textSpans[S]={elem:g},S+=1}},CVTextElement.prototype.renderInnerContent=function(){var t,e,r,i,a,n,s=this.canvasContext;this.finalTransform.mat.props;s.font=this.values.fValue,s.lineCap="butt",s.lineJoin="miter",s.miterLimit=4,this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var o,l=this.textAnimator.renderedLetters,h=this.textProperty.currentData.l;e=h.length;var c,u,p=null,f=null,d=null;for(t=0;t<e;t+=1)if(!h[t].n){if(o=l[t],o&&(this.globalData.renderer.save(),this.globalData.renderer.ctxTransform(o.p),this.globalData.renderer.ctxOpacity(o.o)),this.fill){for(o&&o.fc?p!==o.fc&&(p=o.fc,s.fillStyle=o.fc):p!==this.values.fill&&(p=this.values.fill,s.fillStyle=this.values.fill),c=this.textSpans[t].elem,i=c.length,this.globalData.canvasContext.beginPath(),r=0;r<i;r+=1)for(u=c[r],n=u.length,this.globalData.canvasContext.moveTo(u[0],u[1]),a=2;a<n;a+=6)this.globalData.canvasContext.bezierCurveTo(u[a],u[a+1],u[a+2],u[a+3],u[a+4],u[a+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.fill()}if(this.stroke){for(o&&o.sw?d!==o.sw&&(d=o.sw,s.lineWidth=o.sw):d!==this.values.sWidth&&(d=this.values.sWidth,s.lineWidth=this.values.sWidth),o&&o.sc?f!==o.sc&&(f=o.sc,s.strokeStyle=o.sc):f!==this.values.stroke&&(f=this.values.stroke,s.strokeStyle=this.values.stroke),c=this.textSpans[t].elem,i=c.length,this.globalData.canvasContext.beginPath(),r=0;r<i;r+=1)for(u=c[r],n=u.length,this.globalData.canvasContext.moveTo(u[0],u[1]),a=2;a<n;a+=6)this.globalData.canvasContext.bezierCurveTo(u[a],u[a+1],u[a+2],u[a+3],u[a+4],u[a+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.stroke()}o&&this.globalData.renderer.restore()}},CVEffects.prototype.renderFrame=function(){},HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._matMdf&&(this.transformedElement.style.transform=this.transformedElement.style.webkitTransform=this.finalTransform.mat.toCSS()),this.finalTransform._opMdf&&(this.transformedElement.style.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=HybridRenderer.prototype.buildElementParenting,extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var t;this.data.hasMask?(t=createNS("rect"),t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):(t=createTag("div"),t.style.width=this.data.sw+"px",t.style.height=this.data.sh+"px",t.style.backgroundColor=this.data.sc),this.layerElement.appendChild(t)},extendPrototype([HybridRenderer,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(t,e){var r,i=0;while(i<e)this.elements[i]&&this.elements[i].getBaseElement&&(r=this.elements[i].getBaseElement()),i+=1;r?this.layerElement.insertBefore(t,r):this.layerElement.appendChild(t)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var t;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),t=this.svgElement;else{t=createNS("svg");var e=this.comp.data?this.comp.data:this.globalData.compSize;t.setAttribute("width",e.w),t.setAttribute("height",e.h),t.appendChild(this.shapesContainer),this.layerElement.appendChild(t)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=t},HShapeElement.prototype.getTransformedPoint=function(t,e){var r,i=t.length;for(r=0;r<i;r+=1)e=t[r].mProps.v.applyToPointArray(e[0],e[1],0);return e},HShapeElement.prototype.calculateShapeBoundingBox=function(t,e){var r,i,a,n,s,o=t.sh.v,l=t.transformers,h=o._length;if(!(h<=1)){for(r=0;r<h-1;r+=1)i=this.getTransformedPoint(l,o.v[r]),a=this.getTransformedPoint(l,o.o[r]),n=this.getTransformedPoint(l,o.i[r+1]),s=this.getTransformedPoint(l,o.v[r+1]),this.checkBounds(i,a,n,s,e);o.c&&(i=this.getTransformedPoint(l,o.v[r]),a=this.getTransformedPoint(l,o.o[r]),n=this.getTransformedPoint(l,o.i[0]),s=this.getTransformedPoint(l,o.v[0]),this.checkBounds(i,a,n,s,e))}},HShapeElement.prototype.checkBounds=function(t,e,r,i,a){this.getBoundsOfCurve(t,e,r,i);var n=this.shapeBoundingBox;a.x=bm_min(n.left,a.x),a.xMax=bm_max(n.right,a.xMax),a.y=bm_min(n.top,a.y),a.yMax=bm_max(n.bottom,a.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(t,e,r,i){for(var a,n,s,o,l,h,c,u=[[t[0],i[0]],[t[1],i[1]]],p=0;p<2;++p)if(n=6*t[p]-12*e[p]+6*r[p],a=-3*t[p]+9*e[p]-9*r[p]+3*i[p],s=3*e[p]-3*t[p],n|=0,a|=0,s|=0,0!==a)l=n*n-4*s*a,l<0||(h=(-n+bm_sqrt(l))/(2*a),0<h&&h<1&&u[p].push(this.calculateF(h,t,e,r,i,p)),c=(-n-bm_sqrt(l))/(2*a),0<c&&c<1&&u[p].push(this.calculateF(c,t,e,r,i,p)));else{if(0===n)continue;o=-s/n,0<o&&o<1&&u[p].push(this.calculateF(o,t,e,r,i,p))}this.shapeBoundingBox.left=bm_min.apply(null,u[0]),this.shapeBoundingBox.top=bm_min.apply(null,u[1]),this.shapeBoundingBox.right=bm_max.apply(null,u[0]),this.shapeBoundingBox.bottom=bm_max.apply(null,u[1])},HShapeElement.prototype.calculateF=function(t,e,r,i,a,n){return bm_pow(1-t,3)*e[n]+3*bm_pow(1-t,2)*t*r[n]+3*(1-t)*bm_pow(t,2)*i[n]+bm_pow(t,3)*a[n]},HShapeElement.prototype.calculateBoundingBox=function(t,e){var r,i=t.length;for(r=0;r<i;r+=1)t[r]&&t[r].sh?this.calculateShapeBoundingBox(t[r],e):t[r]&&t[r].it&&this.calculateBoundingBox(t[r].it,e)},HShapeElement.prototype.currentBoxContains=function(t){return this.currentBBox.x<=t.x&&this.currentBBox.y<=t.y&&this.currentBBox.width+this.currentBBox.x>=t.x+t.width&&this.currentBBox.height+this.currentBBox.y>=t.y+t.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var t=this.tempBoundingBox,e=999999;if(t.x=e,t.xMax=-e,t.y=e,t.yMax=-e,this.calculateBoundingBox(this.itemsData,t),t.width=t.xMax<t.x?0:t.xMax-t.x,t.height=t.yMax<t.y?0:t.yMax-t.y,this.currentBoxContains(t))return;var r=!1;this.currentBBox.w!==t.width&&(this.currentBBox.w=t.width,this.shapeCont.setAttribute("width",t.width),r=!0),this.currentBBox.h!==t.height&&(this.currentBBox.h=t.height,this.shapeCont.setAttribute("height",t.height),r=!0),(r||this.currentBBox.x!==t.x||this.currentBBox.y!==t.y)&&(this.currentBBox.w=t.width,this.currentBBox.h=t.height,this.currentBBox.x=t.x,this.currentBBox.y=t.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),this.shapeCont.style.transform=this.shapeCont.style.webkitTransform="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)")}},extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var t=createNS("g");this.maskedElement.appendChild(t),this.innerElem=t}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=createSizedArray(t.l?t.l.length:0);var e=this.innerElem.style;e.color=e.fill=t.fc?this.buildColor(t.fc):"rgba(0,0,0,0)",t.sc&&(e.stroke=this.buildColor(t.sc),e.strokeWidth=t.sw+"px");var r,i,a=this.globalData.fontManager.getFontByName(t.f);if(!this.globalData.fontManager.chars)if(e.fontSize=t.finalSize+"px",e.lineHeight=t.finalSize+"px",a.fClass)this.innerElem.className=a.fClass;else{e.fontFamily=a.fFamily;var n=t.fWeight,s=t.fStyle;e.fontStyle=s,e.fontWeight=n}var o,l,h,c=t.l;i=c.length;var u,p=this.mHelper,f="",d=0;for(r=0;r<i;r+=1){if(this.globalData.fontManager.chars?(this.textPaths[d]?o=this.textPaths[d]:(o=createNS("path"),o.setAttribute("stroke-linecap","butt"),o.setAttribute("stroke-linejoin","round"),o.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[d]?(l=this.textSpans[d],h=l.children[0]):(l=createTag("div"),l.style.lineHeight=0,h=createNS("svg"),h.appendChild(o),styleDiv(l)))):this.isMasked?o=this.textPaths[d]?this.textPaths[d]:createNS("text"):this.textSpans[d]?(l=this.textSpans[d],o=this.textPaths[d]):(l=createTag("span"),styleDiv(l),o=createTag("span"),styleDiv(o),l.appendChild(o)),this.globalData.fontManager.chars){var m,g=this.globalData.fontManager.getCharData(t.finalText[r],a.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily);if(m=g?g.data:null,p.reset(),m&&m.shapes&&(u=m.shapes[0].it,p.scale(t.finalSize/100,t.finalSize/100),f=this.createPathShape(p,u),o.setAttribute("d",f)),this.isMasked)this.innerElem.appendChild(o);else{if(this.innerElem.appendChild(l),m&&m.shapes){document.body.appendChild(h);var v=h.getBBox();h.setAttribute("width",v.width+2),h.setAttribute("height",v.height+2),h.setAttribute("viewBox",v.x-1+" "+(v.y-1)+" "+(v.width+2)+" "+(v.height+2)),h.style.transform=h.style.webkitTransform="translate("+(v.x-1)+"px,"+(v.y-1)+"px)",c[r].yOffset=v.y-1}else h.setAttribute("width",1),h.setAttribute("height",1);l.appendChild(h)}}else o.textContent=c[r].val,o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked?this.innerElem.appendChild(o):(this.innerElem.appendChild(l),o.style.transform=o.style.webkitTransform="translate3d(0,"+-t.finalSize/1.2+"px,0)");this.isMasked?this.textSpans[d]=o:this.textSpans[d]=l,this.textSpans[d].style.display="block",this.textPaths[d]=o,d+=1}while(d<this.textSpans.length)this.textSpans[d].style.display="none",d+=1},HTextElement.prototype.renderInnerContent=function(){if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;this.isMasked&&this.finalTransform._matMdf&&(this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),this.svgElement.style.transform=this.svgElement.style.webkitTransform="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)")}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){var t,e,r,i,a,n=0,s=this.textAnimator.renderedLetters,o=this.textProperty.currentData.l;for(e=o.length,t=0;t<e;t+=1)o[t].n?n+=1:(i=this.textSpans[t],a=this.textPaths[t],r=s[n],n+=1,r._mdf.m&&(this.isMasked?i.setAttribute("transform",r.m):i.style.transform=i.style.webkitTransform=r.m),i.style.opacity=r.o,r.sw&&r._mdf.sw&&a.setAttribute("stroke-width",r.sw),r.sc&&r._mdf.sc&&a.setAttribute("stroke",r.sc),r.fc&&r._mdf.fc&&(a.setAttribute("fill",r.fc),a.style.color=r.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var l=this.innerElem.getBBox();this.currentBBox.w!==l.width&&(this.currentBBox.w=l.width,this.svgElement.setAttribute("width",l.width)),this.currentBBox.h!==l.height&&(this.currentBBox.h=l.height,this.svgElement.setAttribute("height",l.height));var h=1;this.currentBBox.w===l.width+2*h&&this.currentBBox.h===l.height+2*h&&this.currentBBox.x===l.x-h&&this.currentBBox.y===l.y-h||(this.currentBBox.w=l.width+2*h,this.currentBBox.h=l.height+2*h,this.currentBBox.x=l.x-h,this.currentBBox.y=l.y-h,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),this.svgElement.style.transform=this.svgElement.style.webkitTransform="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)")}}},extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData),e=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(e),e.src=t,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var t,e,r=this.comp.threeDElements.length;for(t=0;t<r;t+=1)e=this.comp.threeDElements[t],"3d"===e.type&&(e.perspectiveElem.style.perspective=e.perspectiveElem.style.webkitPerspective=this.pe.v+"px",e.container.style.transformOrigin=e.container.style.mozTransformOrigin=e.container.style.webkitTransformOrigin="0px 0px 0px",e.perspectiveElem.style.transform=e.perspectiveElem.style.webkitTransform="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)")},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var t,e,r=this._isFirstFrame;if(this.hierarchy)for(e=this.hierarchy.length,t=0;t<e;t+=1)r=this.hierarchy[t].finalTransform.mProp._mdf||r;if(r||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(e=this.hierarchy.length-1,t=e;t>=0;t-=1){var i=this.hierarchy[t].finalTransform.mProp;this.mat.translate(-i.p.v[0],-i.p.v[1],i.p.v[2]),this.mat.rotateX(-i.or.v[0]).rotateY(-i.or.v[1]).rotateZ(i.or.v[2]),this.mat.rotateX(-i.rx.v).rotateY(-i.ry.v).rotateZ(i.rz.v),this.mat.scale(1/i.s.v[0],1/i.s.v[1],1/i.s.v[2]),this.mat.translate(i.a.v[0],i.a.v[1],i.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var a;a=this.p?[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var n=Math.sqrt(Math.pow(a[0],2)+Math.pow(a[1],2)+Math.pow(a[2],2)),s=[a[0]/n,a[1]/n,a[2]/n],o=Math.sqrt(s[2]*s[2]+s[0]*s[0]),l=Math.atan2(s[1],o),h=Math.atan2(s[0],-s[2]);this.mat.rotateY(h).rotateX(-l)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var c=!this._prevMat.equals(this.mat);if((c||this.pe._mdf)&&this.comp.threeDElements){var u;for(e=this.comp.threeDElements.length,t=0;t<e;t+=1)u=this.comp.threeDElements[t],"3d"===u.type&&(c&&(u.container.style.transform=u.container.style.webkitTransform=this.mat.toCSS()),this.pe._mdf&&(u.perspectiveElem.style.perspective=u.perspectiveElem.style.webkitPerspective=this.pe.v+"px"));this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null},HEffects.prototype.renderFrame=function(){};var animationManager=function(){var t={},e=[],r=0,i=0,a=0,n=!0,s=!1;function o(t){var r=0,a=t.target;while(r<i)e[r].animation===a&&(e.splice(r,1),r-=1,i-=1,a.isPaused||u()),r+=1}function l(t,r){if(!t)return null;var a=0;while(a<i){if(e[a].elem==t&&null!==e[a].elem)return e[a].animation;a+=1}var n=new AnimationItem;return p(n,t),n.setData(t,r),n}function h(){var t,r=e.length,i=[];for(t=0;t<r;t+=1)i.push(e[t].animation);return i}function c(){a+=1,w()}function u(){a-=1}function p(t,r){t.addEventListener("destroy",o),t.addEventListener("_active",c),t.addEventListener("_idle",u),e.push({elem:r,animation:t}),i+=1}function f(t){var e=new AnimationItem;return p(e,null),e.setParams(t),e}function d(t,r){var a;for(a=0;a<i;a+=1)e[a].animation.setSpeed(t,r)}function m(t,r){var a;for(a=0;a<i;a+=1)e[a].animation.setDirection(t,r)}function g(t){var r;for(r=0;r<i;r+=1)e[r].animation.play(t)}function v(t){var o,l=t-r;for(o=0;o<i;o+=1)e[o].animation.advanceTime(l);r=t,a&&!s?window.requestAnimationFrame(v):n=!0}function y(t){r=t,window.requestAnimationFrame(v)}function b(t){var r;for(r=0;r<i;r+=1)e[r].animation.pause(t)}function _(t,r,a){var n;for(n=0;n<i;n+=1)e[n].animation.goToAndStop(t,r,a)}function x(t){var r;for(r=0;r<i;r+=1)e[r].animation.stop(t)}function E(t){var r;for(r=0;r<i;r+=1)e[r].animation.togglePause(t)}function S(t){var r;for(r=i-1;r>=0;r-=1)e[r].animation.destroy(t)}function k(t,e,r){var i,a=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),n=a.length;for(i=0;i<n;i+=1)r&&a[i].setAttribute("data-bm-type",r),l(a[i],t);if(e&&0===n){r||(r="svg");var s=document.getElementsByTagName("body")[0];s.innerHTML="";var o=createTag("div");o.style.width="100%",o.style.height="100%",o.setAttribute("data-bm-type",r),s.appendChild(o),l(o,t)}}function C(){var t;for(t=0;t<i;t+=1)e[t].animation.resize()}function w(){!s&&a&&n&&(window.requestAnimationFrame(y),n=!1)}function T(){s=!0}function P(){s=!1,w()}return t.registerAnimation=l,t.loadAnimation=f,t.setSpeed=d,t.setDirection=m,t.play=g,t.pause=b,t.stop=x,t.togglePause=E,t.searchAnimations=k,t.resize=C,t.goToAndStop=_,t.destroy=S,t.freeze=T,t.unfreeze=P,t.getRegisteredAnimations=h,t}(),AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.subframeEnabled=subframeEnabled,this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(t){t.context&&(this.context=t.context),(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var e=t.animType?t.animType:t.renderer?t.renderer:"svg";switch(e){case"canvas":this.renderer=new CanvasRenderer(this,t.rendererSettings);break;case"svg":this.renderer=new SVGRenderer(this,t.rendererSettings);break;default:this.renderer=new HybridRenderer(this,t.rendererSettings);break}this.renderer.setProjectInterface(this.projectInterface),this.animType=e,""===t.loop||null===t.loop||(!1===t.loop?this.loop=!1:!0===t.loop?this.loop=!0:this.loop=parseInt(t.loop)),this.autoplay=!("autoplay"in t)||t.autoplay,this.name=t.name?t.name:"",this.autoloadSegments=!t.hasOwnProperty("autoloadSegments")||t.autoloadSegments,this.assetsPath=t.assetsPath,t.animationData?this.configAnimation(t.animationData):t.path&&(-1!==t.path.lastIndexOf("\\")?this.path=t.path.substr(0,t.path.lastIndexOf("\\")+1):this.path=t.path.substr(0,t.path.lastIndexOf("/")+1),this.fileName=t.path.substr(t.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),assetLoader.load(t.path,this.configAnimation.bind(this),function(){this.trigger("data_failed")}.bind(this))),this.initialSegment=t.initialSegment},AnimationItem.prototype.setData=function(t,e){var r={wrapper:t,animationData:e?"object"===typeof e?e:JSON.parse(e):null},i=t.attributes;r.path=i.getNamedItem("data-animation-path")?i.getNamedItem("data-animation-path").value:i.getNamedItem("data-bm-path")?i.getNamedItem("data-bm-path").value:i.getNamedItem("bm-path")?i.getNamedItem("bm-path").value:"",r.animType=i.getNamedItem("data-anim-type")?i.getNamedItem("data-anim-type").value:i.getNamedItem("data-bm-type")?i.getNamedItem("data-bm-type").value:i.getNamedItem("bm-type")?i.getNamedItem("bm-type").value:i.getNamedItem("data-bm-renderer")?i.getNamedItem("data-bm-renderer").value:i.getNamedItem("bm-renderer")?i.getNamedItem("bm-renderer").value:"canvas";var a=i.getNamedItem("data-anim-loop")?i.getNamedItem("data-anim-loop").value:i.getNamedItem("data-bm-loop")?i.getNamedItem("data-bm-loop").value:i.getNamedItem("bm-loop")?i.getNamedItem("bm-loop").value:"";""===a||(r.loop="false"!==a&&("true"===a||parseInt(a)));var n=i.getNamedItem("data-anim-autoplay")?i.getNamedItem("data-anim-autoplay").value:i.getNamedItem("data-bm-autoplay")?i.getNamedItem("data-bm-autoplay").value:!i.getNamedItem("bm-autoplay")||i.getNamedItem("bm-autoplay").value;r.autoplay="false"!==n,r.name=i.getNamedItem("data-name")?i.getNamedItem("data-name").value:i.getNamedItem("data-bm-name")?i.getNamedItem("data-bm-name").value:i.getNamedItem("bm-name")?i.getNamedItem("bm-name").value:"";var s=i.getNamedItem("data-anim-prerender")?i.getNamedItem("data-anim-prerender").value:i.getNamedItem("data-bm-prerender")?i.getNamedItem("data-bm-prerender").value:i.getNamedItem("bm-prerender")?i.getNamedItem("bm-prerender").value:"";"false"===s&&(r.prerender=!1),this.setParams(r)},AnimationItem.prototype.includeLayers=function(t){t.op>this.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e,r,i=this.animationData.layers,a=i.length,n=t.layers,s=n.length;for(r=0;r<s;r+=1){e=0;while(e<a){if(i[e].id==n[r].id){i[e]=n[r];break}e+=1}}if((t.chars||t.fonts)&&(this.renderer.globalData.fontManager.addChars(t.chars),this.renderer.globalData.fontManager.addFonts(t.fonts,this.renderer.globalData.defs)),t.assets)for(a=t.assets.length,e=0;e<a;e+=1)this.animationData.assets.push(t.assets[e]);this.animationData.__complete=!1,dataManager.completeData(this.animationData,this.renderer.globalData.fontManager),this.renderer.includeLayers(t.layers),expressionsPlugin&&expressionsPlugin.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var t=this.animationData.segments;if(!t||0===t.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var e=t.shift();this.timeCompleted=e.time*this.frameRate;var r=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,assetLoader.load(r,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){var t=this.animationData.segments;t||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(t){if(this.renderer)try{this.animationData=t,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(t),t.assets||(t.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(t.assets),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded()}catch(e){this.triggerConfigError(e)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.loaded()?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){this.isLoaded||!this.renderer.globalData.fontManager.loaded()||!this.imagePreloader.loaded()&&"canvas"===this.renderer.rendererType||(this.isLoaded=!0,dataManager.completeData(this.animationData,this.renderer.globalData.fontManager),expressionsPlugin&&expressionsPlugin.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play())},AnimationItem.prototype.resize=function(){this.renderer.updateContainerSize()},AnimationItem.prototype.setSubframe=function(t){this.subframeEnabled=!!t},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.subframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame()},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded)try{this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}},AnimationItem.prototype.play=function(t){t&&this.name!=t||!0===this.isPaused&&(this.isPaused=!1,this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(t){t&&this.name!=t||!1===this.isPaused&&(this.isPaused=!0,this._idle=!0,this.trigger("_idle"))},AnimationItem.prototype.togglePause=function(t){t&&this.name!=t||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(t){t&&this.name!=t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.goToAndStop=function(t,e,r){r&&this.name!=r||(e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier),this.pause())},AnimationItem.prototype.goToAndPlay=function(t,e,r){this.goToAndStop(t,e,r),this.play()},AnimationItem.prototype.advanceTime=function(t){if(!0!==this.isPaused&&!1!==this.isLoaded){var e=this.currentRawFrame+t*this.frameModifier,r=!1;e>=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?e>=this.totalFrames?(this.playCount+=1,this.checkSegments(e%this.totalFrames)||(this.setCurrentRawFrameValue(e%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(e):this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(r=!0,e=this.totalFrames-1):e<0?this.checkSegments(e%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(r=!0,e=0):(this.setCurrentRawFrameValue(this.totalFrames+e%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(e),r&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]<t[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.timeCompleted=this.totalFrames=t[0]-t[1],this.firstFrame=t[1],this.setCurrentRawFrameValue(this.totalFrames-.001-e)):t[1]>t[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.timeCompleted=this.totalFrames=t[1]-t[0],this.firstFrame=t[0],this.setCurrentRawFrameValue(.001+e)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(t,e){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?r=t:this.currentRawFrame+this.firstFrame>e&&(r=e-t)),this.firstFrame=t,this.timeCompleted=this.totalFrames=e-t,-1!==r&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),"object"===typeof t[0]){var r,i=t.length;for(r=0;r<i;r+=1)this.segments.push(t[r])}else this.segments.push(t);this.segments.length&&e&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(t){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),t&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(t){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),t),!0)},AnimationItem.prototype.destroy=function(t){t&&this.name!=t||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=this.onLoopComplete=this.onComplete=this.onSegmentStart=this.onDestroy=null,this.renderer=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(t){this.currentRawFrame=t,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(t){var e="";if(t.e)e=t.p;else if(this.assetsPath){var r=t.p;-1!==r.indexOf("images/")&&(r=r.split("/")[1]),e=this.assetsPath+r}else e=this.path,e+=t.u?t.u:"",e+=t.p;return e},AnimationItem.prototype.getAssetData=function(t){var e=0,r=this.assets.length;while(e<r){if(t==this.assets[e].id)return this.assets[e];e+=1}},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(t){return t?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.trigger=function(t){if(this._cbs&&this._cbs[t])switch(t){case"enterFrame":this.triggerEvent(t,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameModifier));break;case"loopComplete":this.triggerEvent(t,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(t,new BMCompleteEvent(t,this.frameMult));break;case"segmentStart":this.triggerEvent(t,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(t,new BMDestroyEvent(t,this));break;default:this.triggerEvent(t)}"enterFrame"===t&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===t&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult)),"complete"===t&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(t,this.frameMult)),"segmentStart"===t&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames)),"destroy"===t&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(t,this))},AnimationItem.prototype.triggerRenderFrameError=function(t){var e=new BMRenderFrameErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)},AnimationItem.prototype.triggerConfigError=function(t){var e=new BMConfigErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)};var Expressions=function(){var t={};function e(t){var e=0,r=[];function i(){e+=1}function a(){e-=1,0===e&&s()}function n(t){-1===r.indexOf(t)&&r.push(t)}function s(){var t,e=r.length;for(t=0;t<e;t+=1)r[t].release();r.length=0}t.renderer.compInterface=CompExpressionInterface(t.renderer),t.renderer.globalData.projectInterface.registerComposition(t.renderer),t.renderer.globalData.pushExpression=i,t.renderer.globalData.popExpression=a,t.renderer.globalData.registerExpressionProperty=n}return t.initExpressions=e,t}();expressionsPlugin=Expressions;var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null;function $bm_isInstanceOfArray(t){return t.constructor===Array||t.constructor===Float32Array}function isNumerable(t,e){return"number"===t||"boolean"===t||"string"===t||e instanceof Number}function $bm_neg(t){var e=typeof t;if("number"===e||"boolean"===e||t instanceof Number)return-t;if($bm_isInstanceOfArray(t)){var r,i=t.length,a=[];for(r=0;r<i;r+=1)a[r]=-t[r];return a}return t.propType?t.v:void 0}var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(t,e){var r=typeof t,i=typeof e;if("string"===r||"string"===i)return t+e;if(isNumerable(r,t)&&isNumerable(i,e))return t+e;if($bm_isInstanceOfArray(t)&&isNumerable(i,e))return t=t.slice(0),t[0]=t[0]+e,t;if(isNumerable(r,t)&&$bm_isInstanceOfArray(e))return e=e.slice(0),e[0]=t+e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){var a=0,n=t.length,s=e.length,o=[];while(a<n||a<s)("number"===typeof t[a]||t[a]instanceof Number)&&("number"===typeof e[a]||e[a]instanceof Number)?o[a]=t[a]+e[a]:o[a]=void 0===e[a]?t[a]:t[a]||e[a],a+=1;return o}return 0}var add=sum;function sub(t,e){var r=typeof t,i=typeof e;if(isNumerable(r,t)&&isNumerable(i,e))return"string"===r&&(t=parseInt(t)),"string"===i&&(e=parseInt(e)),t-e;if($bm_isInstanceOfArray(t)&&isNumerable(i,e))return t=t.slice(0),t[0]=t[0]-e,t;if(isNumerable(r,t)&&$bm_isInstanceOfArray(e))return e=e.slice(0),e[0]=t-e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){var a=0,n=t.length,s=e.length,o=[];while(a<n||a<s)("number"===typeof t[a]||t[a]instanceof Number)&&("number"===typeof e[a]||e[a]instanceof Number)?o[a]=t[a]-e[a]:o[a]=void 0===e[a]?t[a]:t[a]||e[a],a+=1;return o}return 0}function mul(t,e){var r,i,a,n=typeof t,s=typeof e;if(isNumerable(n,t)&&isNumerable(s,e))return t*e;if($bm_isInstanceOfArray(t)&&isNumerable(s,e)){for(a=t.length,r=createTypedArray("float32",a),i=0;i<a;i+=1)r[i]=t[i]*e;return r}if(isNumerable(n,t)&&$bm_isInstanceOfArray(e)){for(a=e.length,r=createTypedArray("float32",a),i=0;i<a;i+=1)r[i]=t*e[i];return r}return 0}function div(t,e){var r,i,a,n=typeof t,s=typeof e;if(isNumerable(n,t)&&isNumerable(s,e))return t/e;if($bm_isInstanceOfArray(t)&&isNumerable(s,e)){for(a=t.length,r=createTypedArray("float32",a),i=0;i<a;i+=1)r[i]=t[i]/e;return r}if(isNumerable(n,t)&&$bm_isInstanceOfArray(e)){for(a=e.length,r=createTypedArray("float32",a),i=0;i<a;i+=1)r[i]=t/e[i];return r}return 0}function mod(t,e){return"string"===typeof t&&(t=parseInt(t)),"string"===typeof e&&(e=parseInt(e)),t%e}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(t,e,r){if(e>r){var i=r;r=e,e=i}return Math.min(Math.max(t,e),r)}function radiansToDegrees(t){return t/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(t){return t*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(t,e){if("number"===typeof t||t instanceof Number)return e=e||0,Math.abs(t-e);e||(e=helperLengthArray);var r,i=Math.min(t.length,e.length),a=0;for(r=0;r<i;r+=1)a+=Math.pow(e[r]-t[r],2);return Math.sqrt(a)}function normalize(t){return div(t,length(t))}function rgbToHsl(t){var e,r,i=t[0],a=t[1],n=t[2],s=Math.max(i,a,n),o=Math.min(i,a,n),l=(s+o)/2;if(s==o)e=r=0;else{var h=s-o;switch(r=l>.5?h/(2-s-o):h/(s+o),s){case i:e=(a-n)/h+(a<n?6:0);break;case a:e=(n-i)/h+2;break;case n:e=(i-a)/h+4;break}e/=6}return[e,r,l,t[3]]}function hue2rgb(t,e,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+6*(e-t)*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function hslToRgb(t){var e,r,i,a=t[0],n=t[1],s=t[2];if(0===n)e=r=i=s;else{var o=s<.5?s*(1+n):s+n-s*n,l=2*s-o;e=hue2rgb(l,o,a+1/3),r=hue2rgb(l,o,a),i=hue2rgb(l,o,a-1/3)}return[e,r,i,t[3]]}function linear(t,e,r,i,a){if(void 0!==i&&void 0!==a||(i=e,a=r,e=0,r=1),r<e){var n=r;r=e,e=n}if(t<=e)return i;if(t>=r)return a;var s=r===e?0:(t-e)/(r-e);if(!i.length)return i+(a-i)*s;var o,l=i.length,h=createTypedArray("float32",l);for(o=0;o<l;o+=1)h[o]=i[o]+(a[o]-i[o])*s;return h}function random(t,e){if(void 0===e&&(void 0===t?(t=0,e=1):(e=t,t=void 0)),e.length){var r,i=e.length;t||(t=createTypedArray("float32",i));var a=createTypedArray("float32",i),n=BMMath.random();for(r=0;r<i;r+=1)a[r]=t[r]+n*(e[r]-t[r]);return a}void 0===t&&(t=0);var s=BMMath.random();return t+s*(e-t)}function createPath(t,e,r,i){var a,n=t.length,s=shape_pool.newElement();s.setPathData(!!i,n);var o,l,h=[0,0];for(a=0;a<n;a+=1)o=e&&e[a]?e[a]:h,l=r&&r[a]?r[a]:h,s.setTripleAt(t[a][0],t[a][1],l[0]+t[a][0],l[1]+t[a][1],o[0]+t[a][0],o[1]+t[a][1],a,!0);return s}function initiateExpression(elem,data,property){var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=-1!==val.indexOf("random"),elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,__expression_functions=[],scoped_bm_rt;if(data.xf){var i,len=data.xf.length;for(i=0;i<len;i+=1)__expression_functions[i]=eval("(function(){ return "+data.xf[i]+"}())")}var expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||!0!==this.data.hd,wiggle=function(t,e){var r,i,a=this.pv.length?this.pv.length:1,n=createTypedArray("float32",a);t=5;var s=Math.floor(time*t);r=0,i=0;while(r<s){for(i=0;i<a;i+=1)n[i]+=-e+2*e*BMMath.random();r+=1}var o=time*t,l=o-Math.floor(o),h=createTypedArray("float32",a);if(a>1){for(i=0;i<a;i+=1)h[i]=this.pv[i]+n[i]+(-e+2*e*BMMath.random())*l;return h}return this.pv+n[0]+(-e+2*e*BMMath.random())*l}.bind(this);function loopInDuration(t,e){return loopIn(t,e,!0)}function loopOutDuration(t,e){return loopOut(t,e,!0)}thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty)),this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface),time,velocity,value,text,textIndex,textTotal,selectorValue;function lookAt(t,e){var r=[e[0]-t[0],e[1]-t[1],e[2]-t[2]],i=Math.atan2(r[0],Math.sqrt(r[1]*r[1]+r[2]*r[2]))/degToRads,a=-Math.atan2(r[1],r[2])/degToRads;return[a,i,0]}function easeOut(t,e,r,i,a){return applyEase(easeOutBez,t,e,r,i,a)}function easeIn(t,e,r,i,a){return applyEase(easeInBez,t,e,r,i,a)}function ease(t,e,r,i,a){return applyEase(easeInOutBez,t,e,r,i,a)}function applyEase(t,e,r,i,a,n){void 0===a?(a=r,n=i):e=(e-r)/(i-r),e=e>1?1:e<0?0:e;var s=t(e);if($bm_isInstanceOfArray(a)){var o,l=a.length,h=createTypedArray("float32",l);for(o=0;o<l;o+=1)h[o]=(n[o]-a[o])*s+a[o];return h}return(n-a)*s+a}function nearestKey(t){var e,r,i,a=data.k.length;if(data.k.length&&"number"!==typeof data.k[0])if(r=-1,t*=elem.comp.globalData.frameRate,t<data.k[0].t)r=1,i=data.k[0].t;else{for(e=0;e<a-1;e+=1){if(t===data.k[e].t){r=e+1,i=data.k[e].t;break}if(t>data.k[e].t&&t<data.k[e+1].t){t-data.k[e].t>data.k[e+1].t-t?(r=e+2,i=data.k[e+1].t):(r=e+1,i=data.k[e].t);break}}-1===r&&(r=e+1,i=data.k[e].t)}else r=0,i=0;var n={};return n.index=r,n.time=i/elem.comp.globalData.frameRate,n}function key(t){var e,r,i;if(!data.k.length||"number"===typeof data.k[0])throw new Error("The property has no keyframe at index "+t);t-=1,e={time:data.k[t].t/elem.comp.globalData.frameRate,value:[]};var a=data.k[t].hasOwnProperty("s")?data.k[t].s:data.k[t-1].e;for(i=a.length,r=0;r<i;r+=1)e[r]=a[r],e.value[r]=a[r];return e}function framesToTime(t,e){return e||(e=elem.comp.globalData.frameRate),t/e}function timeToFrames(t,e){return t||0===t||(t=time),e||(e=elem.comp.globalData.frameRate),t*e}function seedRandom(t){BMMath.seedrandom(randSeed+t)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(t,e){return"string"===typeof value?void 0===e?value.substring(t):value.substring(t,e):""}function substr(t,e){return"string"===typeof value?void 0===e?value.substr(t):value.substr(t,e):""}function posterizeTime(t){time=0===t?0:Math.floor(time*t)/t,value=valueAtTime(time)}var index=elem.data.ind,hasParent=!(!elem.hierarchy||!elem.hierarchy.length),parent,randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;function executeExpression(t){return value=t,_needsRandom&&seedRandom(randSeed),this.frameExpressionId===elem.globalData.frameId&&"textSelector"!==this.propType?value:("textSelector"===this.propType&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),4!==elemType||content||(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),hasParent=!(!elem.hierarchy||!elem.hierarchy.length),hasParent&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,"shape"===scoped_bm_rt.propType&&(scoped_bm_rt=scoped_bm_rt.v),scoped_bm_rt)}return executeExpression}return ob.initiateExpression=initiateExpression,ob}(),expressionHelpers=function(){function t(t,e,r){e.x&&(r.k=!0,r.x=!0,r.initiateExpression=ExpressionManager.initiateExpression,r.effectsSequence.push(r.initiateExpression(t,e,r).bind(r)))}function e(t){return t*=this.elem.globalData.frameRate,t-=this.offsetTime,t!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<t?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(t,this._cachingAtTime),this._cachingAtTime.lastFrame=t),this._cachingAtTime.value}function r(t){var e=-.01,r=this.getValueAtTime(t),i=this.getValueAtTime(t+e),a=0;if(r.length){var n;for(n=0;n<r.length;n+=1)a+=Math.pow(i[n]-r[n],2);a=100*Math.sqrt(a)}else a=0;return a}function i(t){if(void 0!==this.vel)return this.vel;var e,r,i=-.001,a=this.getValueAtTime(t),n=this.getValueAtTime(t+i);if(a.length)for(e=createTypedArray("float32",a.length),r=0;r<a.length;r+=1)e[r]=(n[r]-a[r])/i;else e=(n-a)/i;return e}function a(){return this.pv}function n(t){this.propertyGroup=t}return{searchExpressions:t,getSpeedAtTime:r,getVelocityAtTime:i,getValueAtTime:e,getStaticValueAtTime:a,setGroupProperty:n}}();(function(){function t(t,e,r){if(!this.k||!this.keyframes)return this.pv;t=t?t.toLowerCase():"";var i,a,n,s,o,l=this.comp.renderedFrame,h=this.keyframes,c=h[h.length-1].t;if(l<=c)return this.pv;if(r?(i=e?Math.abs(c-elem.comp.globalData.frameRate*e):Math.max(0,c-this.elem.data.ip),a=c-i):((!e||e>h.length-1)&&(e=h.length-1),a=h[h.length-1-e].t,i=c-a),"pingpong"===t){var u=Math.floor((l-a)/i);if(u%2!==0)return this.getValueAtTime((i-(l-a)%i+a)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var p=this.getValueAtTime(a/this.comp.globalData.frameRate,0),f=this.getValueAtTime(c/this.comp.globalData.frameRate,0),d=this.getValueAtTime(((l-a)%i+a)/this.comp.globalData.frameRate,0),m=Math.floor((l-a)/i);if(this.pv.length){for(o=new Array(p.length),s=o.length,n=0;n<s;n+=1)o[n]=(f[n]-p[n])*m+d[n];return o}return(f-p)*m+d}if("continue"===t){var g=this.getValueAtTime(c/this.comp.globalData.frameRate,0),v=this.getValueAtTime((c-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(o=new Array(g.length),s=o.length,n=0;n<s;n+=1)o[n]=g[n]+(g[n]-v[n])*((l-c)/this.comp.globalData.frameRate)/5e-4;return o}return g+(l-c)/.001*(g-v)}}return this.getValueAtTime(((l-a)%i+a)/this.comp.globalData.frameRate,0)}function e(t,e,r){if(!this.k)return this.pv;t=t?t.toLowerCase():"";var i,a,n,s,o,l=this.comp.renderedFrame,h=this.keyframes,c=h[0].t;if(l>=c)return this.pv;if(r?(i=e?Math.abs(elem.comp.globalData.frameRate*e):Math.max(0,this.elem.data.op-c),a=c+i):((!e||e>h.length-1)&&(e=h.length-1),a=h[e].t,i=a-c),"pingpong"===t){var u=Math.floor((c-l)/i);if(u%2===0)return this.getValueAtTime(((c-l)%i+c)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var p=this.getValueAtTime(c/this.comp.globalData.frameRate,0),f=this.getValueAtTime(a/this.comp.globalData.frameRate,0),d=this.getValueAtTime((i-(c-l)%i+c)/this.comp.globalData.frameRate,0),m=Math.floor((c-l)/i)+1;if(this.pv.length){for(o=new Array(p.length),s=o.length,n=0;n<s;n+=1)o[n]=d[n]-(f[n]-p[n])*m;return o}return d-(f-p)*m}if("continue"===t){var g=this.getValueAtTime(c/this.comp.globalData.frameRate,0),v=this.getValueAtTime((c+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(o=new Array(g.length),s=o.length,n=0;n<s;n+=1)o[n]=g[n]+(g[n]-v[n])*(c-l)/.001;return o}return g+(g-v)*(c-l)/.001}}return this.getValueAtTime((i-(c-l)%i+c)/this.comp.globalData.frameRate,0)}function r(t,e){if(!this.k)return this.pv;if(t=.5*(t||.4),e=Math.floor(e||5),e<=1)return this.pv;var r,i,a=this.comp.renderedFrame/this.comp.globalData.frameRate,n=a-t,s=a+t,o=e>1?(s-n)/(e-1):1,l=0,h=0;r=this.pv.length?createTypedArray("float32",this.pv.length):0;while(l<e){if(i=this.getValueAtTime(n+l*o),this.pv.length)for(h=0;h<this.pv.length;h+=1)r[h]+=i[h];else r+=i;l+=1}if(this.pv.length)for(h=0;h<this.pv.length;h+=1)r[h]/=e;else r/=e;return r}function i(t){console.warn("Transform at time not supported")}function a(t){}var n=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(t,e,r){var s=n(t,e,r);return s.dynamicProperties.length?s.getValueAtTime=i.bind(s):s.getValueAtTime=a.bind(s),s.setGroupProperty=expressionHelpers.setGroupProperty,s};var s=PropertyFactory.getProp;function o(t){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shape_pool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),t*=this.elem.globalData.frameRate,t-=this.offsetTime,t!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<t?this._caching.lastIndex:0,this._cachingAtTime.lastTime=t,this.interpolateShape(t,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue}PropertyFactory.getProp=function(i,a,n,o,l){var h=s(i,a,n,o,l);h.kf?h.getValueAtTime=expressionHelpers.getValueAtTime.bind(h):h.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(h),h.setGroupProperty=expressionHelpers.setGroupProperty,h.loopOut=t,h.loopIn=e,h.smooth=r,h.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(h),h.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(h),h.numKeys=1===a.a?a.k.length:0,h.propertyIndex=a.ix;var c=0;return 0!==n&&(c=createTypedArray("float32",1===a.a?a.k[0].s.length:a.k.length)),h._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:c},expressionHelpers.searchExpressions(i,a,h),h.k&&l.addDynamicProperty(h),h};var l=ShapePropertyFactory.getConstructorFunction(),h=ShapePropertyFactory.getKeyframedConstructorFunction();function c(){}c.prototype={vertices:function(t,e){this.k&&this.getValue();var r=this.v;void 0!==e&&(r=this.getValueAtTime(e,0));var i,a=r._length,n=r[t],s=r.v,o=createSizedArray(a);for(i=0;i<a;i+=1)o[i]="i"===t||"o"===t?[n[i][0]-s[i][0],n[i][1]-s[i][1]]:[n[i][0],n[i][1]];return o},points:function(t){return this.vertices("v",t)},inTangents:function(t){return this.vertices("i",t)},outTangents:function(t){return this.vertices("o",t)},isClosed:function(){return this.v.c},pointOnPath:function(t,e){var r=this.v;void 0!==e&&(r=this.getValueAtTime(e,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(r));var i,a=this._segmentsLength,n=a.lengths,s=a.totalLength*t,o=0,l=n.length,h=0;while(o<l){if(h+n[o].addedLength>s){var c=o,u=r.c&&o===l-1?0:o+1,p=(s-h)/n[o].addedLength;i=bez.getPointInSegment(r.v[c],r.v[u],r.o[c],r.i[u],p,n[o]);break}h+=n[o].addedLength,o+=1}return i||(i=r.c?[r.v[0][0],r.v[0][1]]:[r.v[r._length-1][0],r.v[r._length-1][1]]),i},vectorOnPath:function(t,e,r){t=1==t?this.v.c?0:.999:t;var i=this.pointOnPath(t,e),a=this.pointOnPath(t+.001,e),n=a[0]-i[0],s=a[1]-i[1],o=Math.sqrt(Math.pow(n,2)+Math.pow(s,2));if(0===o)return[0,0];var l="tangent"===r?[n/o,s/o]:[-s/o,n/o];return l},tangentOnPath:function(t,e){return this.vectorOnPath(t,e,"tangent")},normalOnPath:function(t,e){return this.vectorOnPath(t,e,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([c],l),extendPrototype([c],h),h.prototype.getValueAtTime=o,h.prototype.initiateExpression=ExpressionManager.initiateExpression;var u=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(t,e,r,i,a){var n=u(t,e,r,i,a);return n.propertyIndex=e.ix,n.lock=!1,3===r?expressionHelpers.searchExpressions(t,e.pt,n):4===r&&expressionHelpers.searchExpressions(t,e.ks,n),n.k&&t.addDynamicProperty(n),n}})(),function(){function t(){if(this.data.d.x)return this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0}TextProperty.prototype.getExpressionValue=function(t,e){var r=this.calculateExpression(e);if(t.t!==r){var i={};return this.copyData(i,t),i.t=r.toString(),i.__complete=!1,i}return t},TextProperty.prototype.searchProperty=function(){var t=this.searchKeyframes(),e=this.searchExpressions();return this.kf=t||e,this.kf},TextProperty.prototype.searchExpressions=t}();var ShapeExpressionInterface=function(){function t(t,e,s){var f,d=[],m=t?t.length:0;for(f=0;f<m;f+=1)"gr"==t[f].ty?d.push(r(t[f],e[f],s)):"fl"==t[f].ty?d.push(i(t[f],e[f],s)):"st"==t[f].ty?d.push(a(t[f],e[f],s)):"tm"==t[f].ty?d.push(n(t[f],e[f],s)):"tr"==t[f].ty||("el"==t[f].ty?d.push(o(t[f],e[f],s)):"sr"==t[f].ty?d.push(l(t[f],e[f],s)):"sh"==t[f].ty?d.push(p(t[f],e[f],s)):"rc"==t[f].ty?d.push(h(t[f],e[f],s)):"rd"==t[f].ty?d.push(c(t[f],e[f],s)):"rp"==t[f].ty&&d.push(u(t[f],e[f],s)));return d}function e(e,r,i){var a,n=function(t){var e=0,r=a.length;while(e<r){if(a[e]._name===t||a[e].mn===t||a[e].propertyIndex===t||a[e].ix===t||a[e].ind===t)return a[e];e+=1}if("number"===typeof t)return a[t-1]};return n.propertyGroup=function(t){return 1===t?n:i(t-1)},a=t(e.it,r.it,n.propertyGroup),n.numProperties=a.length,n.propertyIndex=e.cix,n._name=e.nm,n}function r(t,r,i){var a=function(t){switch(t){case"ADBE Vectors Group":case"Contents":case 2:return a.content;default:return a.transform}};a.propertyGroup=function(t){return 1===t?a:i(t-1)};var n=e(t,r,a.propertyGroup),o=s(t.it[t.it.length-1],r.it[r.it.length-1],a.propertyGroup);return a.content=n,a.transform=o,Object.defineProperty(a,"_name",{get:function(){return t.nm}}),a.numProperties=t.np,a.propertyIndex=t.ix,a.nm=t.nm,a.mn=t.mn,a}function i(t,e,r){function i(t){return"Color"===t||"color"===t?i.color:"Opacity"===t||"opacity"===t?i.opacity:void 0}return Object.defineProperties(i,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(r),e.o.setGroupProperty(r),i}function a(t,e,r){function i(t){return 1===t?ob:r(t-1)}function a(t){return 1===t?l:i(t-1)}function n(r){Object.defineProperty(l,t.d[r].nm,{get:ExpressionPropertyInterface(e.d.dataProps[r].p)})}var s,o=t.d?t.d.length:0,l={};for(s=0;s<o;s+=1)n(s),e.d.dataProps[s].p.setGroupProperty(a);function h(t){return"Color"===t||"color"===t?h.color:"Opacity"===t||"opacity"===t?h.opacity:"Stroke Width"===t||"stroke width"===t?h.strokeWidth:void 0}return Object.defineProperties(h,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},strokeWidth:{get:ExpressionPropertyInterface(e.w)},dash:{get:function(){return l}},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(i),e.o.setGroupProperty(i),e.w.setGroupProperty(i),h}function n(t,e,r){function i(t){return 1==t?a:r(--t)}function a(e){return e===t.e.ix||"End"===e||"end"===e?a.end:e===t.s.ix?a.start:e===t.o.ix?a.offset:void 0}return a.propertyIndex=t.ix,e.s.setGroupProperty(i),e.e.setGroupProperty(i),e.o.setGroupProperty(i),a.propertyIndex=t.ix,a.propertyGroup=r,Object.defineProperties(a,{start:{get:ExpressionPropertyInterface(e.s)},end:{get:ExpressionPropertyInterface(e.e)},offset:{get:ExpressionPropertyInterface(e.o)},_name:{value:t.nm}}),a.mn=t.mn,a}function s(t,e,r){function i(t){return 1==t?a:r(--t)}function a(e){return t.a.ix===e||"Anchor Point"===e?a.anchorPoint:t.o.ix===e||"Opacity"===e?a.opacity:t.p.ix===e||"Position"===e?a.position:t.r.ix===e||"Rotation"===e||"ADBE Vector Rotation"===e?a.rotation:t.s.ix===e||"Scale"===e?a.scale:t.sk&&t.sk.ix===e||"Skew"===e?a.skew:t.sa&&t.sa.ix===e||"Skew Axis"===e?a.skewAxis:void 0}return e.transform.mProps.o.setGroupProperty(i),e.transform.mProps.p.setGroupProperty(i),e.transform.mProps.a.setGroupProperty(i),e.transform.mProps.s.setGroupProperty(i),e.transform.mProps.r.setGroupProperty(i),e.transform.mProps.sk&&(e.transform.mProps.sk.setGroupProperty(i),e.transform.mProps.sa.setGroupProperty(i)),e.transform.op.setGroupProperty(i),Object.defineProperties(a,{opacity:{get:ExpressionPropertyInterface(e.transform.mProps.o)},position:{get:ExpressionPropertyInterface(e.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(e.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(e.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(e.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(e.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(e.transform.mProps.sa)},_name:{value:t.nm}}),a.ty="tr",a.mn=t.mn,a.propertyGroup=r,a}function o(t,e,r){function i(t){return 1==t?n:r(--t)}n.propertyIndex=t.ix;var a="tm"===e.sh.ty?e.sh.prop:e.sh;function n(e){return t.p.ix===e?n.position:t.s.ix===e?n.size:void 0}return a.s.setGroupProperty(i),a.p.setGroupProperty(i),Object.defineProperties(n,{size:{get:ExpressionPropertyInterface(a.s)},position:{get:ExpressionPropertyInterface(a.p)},_name:{value:t.nm}}),n.mn=t.mn,n}function l(t,e,r){function i(t){return 1==t?n:r(--t)}var a="tm"===e.sh.ty?e.sh.prop:e.sh;function n(e){return t.p.ix===e?n.position:t.r.ix===e?n.rotation:t.pt.ix===e?n.points:t.or.ix===e||"ADBE Vector Star Outer Radius"===e?n.outerRadius:t.os.ix===e?n.outerRoundness:!t.ir||t.ir.ix!==e&&"ADBE Vector Star Inner Radius"!==e?t.is&&t.is.ix===e?n.innerRoundness:void 0:n.innerRadius}return n.propertyIndex=t.ix,a.or.setGroupProperty(i),a.os.setGroupProperty(i),a.pt.setGroupProperty(i),a.p.setGroupProperty(i),a.r.setGroupProperty(i),t.ir&&(a.ir.setGroupProperty(i),a.is.setGroupProperty(i)),Object.defineProperties(n,{position:{get:ExpressionPropertyInterface(a.p)},rotation:{get:ExpressionPropertyInterface(a.r)},points:{get:ExpressionPropertyInterface(a.pt)},outerRadius:{get:ExpressionPropertyInterface(a.or)},outerRoundness:{get:ExpressionPropertyInterface(a.os)},innerRadius:{get:ExpressionPropertyInterface(a.ir)},innerRoundness:{get:ExpressionPropertyInterface(a.is)},_name:{value:t.nm}}),n.mn=t.mn,n}function h(t,e,r){function i(t){return 1==t?n:r(--t)}var a="tm"===e.sh.ty?e.sh.prop:e.sh;function n(e){return t.p.ix===e?n.position:t.r.ix===e?n.roundness:t.s.ix===e||"Size"===e||"ADBE Vector Rect Size"===e?n.size:void 0}return n.propertyIndex=t.ix,a.p.setGroupProperty(i),a.s.setGroupProperty(i),a.r.setGroupProperty(i),Object.defineProperties(n,{position:{get:ExpressionPropertyInterface(a.p)},roundness:{get:ExpressionPropertyInterface(a.r)},size:{get:ExpressionPropertyInterface(a.s)},_name:{value:t.nm}}),n.mn=t.mn,n}function c(t,e,r){function i(t){return 1==t?n:r(--t)}var a=e;function n(e){if(t.r.ix===e||"Round Corners 1"===e)return n.radius}return n.propertyIndex=t.ix,a.rd.setGroupProperty(i),Object.defineProperties(n,{radius:{get:ExpressionPropertyInterface(a.rd)},_name:{value:t.nm}}),n.mn=t.mn,n}function u(t,e,r){function i(t){return 1==t?n:r(--t)}var a=e;function n(e){return t.c.ix===e||"Copies"===e?n.copies:t.o.ix===e||"Offset"===e?n.offset:void 0}return n.propertyIndex=t.ix,a.c.setGroupProperty(i),a.o.setGroupProperty(i),Object.defineProperties(n,{copies:{get:ExpressionPropertyInterface(a.c)},offset:{get:ExpressionPropertyInterface(a.o)},_name:{value:t.nm}}),n.mn=t.mn,n}function p(t,e,r){var i=e.sh;function a(t){return 1==t?n:r(--t)}function n(t){if("Shape"===t||"shape"===t||"Path"===t||"path"===t||"ADBE Vector Shape"===t||2===t)return n.path}return i.setGroupProperty(a),Object.defineProperties(n,{path:{get:function(){return i.k&&i.getValue(),i}},shape:{get:function(){return i.k&&i.getValue(),i}},_name:{value:t.nm},ix:{value:t.ix},propertyIndex:{value:t.ix},mn:{value:t.mn}}),n}return function(e,r,i){var a;function n(t){if("number"===typeof t)return a[t-1];var e=0,r=a.length;while(e<r){if(a[e]._name===t)return a[e];e+=1}}return n.propertyGroup=i,a=t(e,r,n),n.numProperties=a.length,n}}(),TextExpressionInterface=function(){return function(t){var e,r;function i(){}return Object.defineProperty(i,"sourceText",{get:function(){t.textProperty.getValue();var i=t.textProperty.currentData.t;return i!==e&&(t.textProperty.currentData.t=e,r=new String(i),r.value=i||new String(i)),r}}),i}}(),LayerExpressionInterface=function(){function t(t,e){var r,i=new Matrix;if(i.reset(),r=this._elem.finalTransform.mProp,r.applyToMatrix(i),this._elem.hierarchy&&this._elem.hierarchy.length){var a,n=this._elem.hierarchy.length;for(a=0;a<n;a+=1)this._elem.hierarchy[a].finalTransform.mProp.applyToMatrix(i);return i.applyToPointArray(t[0],t[1],t[2]||0)}return i.applyToPointArray(t[0],t[1],t[2]||0)}function e(t,e){var r,i=new Matrix;if(i.reset(),r=this._elem.finalTransform.mProp,r.applyToMatrix(i),this._elem.hierarchy&&this._elem.hierarchy.length){var a,n=this._elem.hierarchy.length;for(a=0;a<n;a+=1)this._elem.hierarchy[a].finalTransform.mProp.applyToMatrix(i);return i.inversePoint(t)}return i.inversePoint(t)}function r(t){var e=new Matrix;if(e.reset(),this._elem.finalTransform.mProp.applyToMatrix(e),this._elem.hierarchy&&this._elem.hierarchy.length){var r,i=this._elem.hierarchy.length;for(r=0;r<i;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(e);return e.inversePoint(t)}return e.inversePoint(t)}function i(){return[1,1,1,1]}return function(a){var n;function s(t){l.mask=new MaskManagerInterface(t,a)}function o(t){l.effect=t}function l(t){switch(t){case"ADBE Root Vectors Group":case"Contents":case 2:return l.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return n;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return l.effect}}l.toWorld=t,l.fromWorld=e,l.toComp=t,l.fromComp=r,l.sampleImage=i,l.sourceRectAtTime=a.sourceRectAtTime.bind(a),l._elem=a,n=TransformExpressionInterface(a.finalTransform.mProp);var h=getDescriptor(n,"anchorPoint");return Object.defineProperties(l,{hasParent:{get:function(){return a.hierarchy.length}},parent:{get:function(){return a.hierarchy[0].layerInterface}},rotation:getDescriptor(n,"rotation"),scale:getDescriptor(n,"scale"),position:getDescriptor(n,"position"),opacity:getDescriptor(n,"opacity"),anchorPoint:h,anchor_point:h,transform:{get:function(){return n}},active:{get:function(){return a.isInRange}}}),l.startTime=a.data.st,l.index=a.data.ind,l.source=a.data.refId,l.height=0===a.data.ty?a.data.h:100,l.width=0===a.data.ty?a.data.w:100,l.inPoint=a.data.ip/a.comp.globalData.frameRate,l.outPoint=a.data.op/a.comp.globalData.frameRate,l._name=a.data.nm,l.registerMaskInterface=s,l.registerEffectsInterface=o,l}}(),CompExpressionInterface=function(){return function(t){function e(e){var r=0,i=t.layers.length;while(r<i){if(t.layers[r].nm===e||t.layers[r].ind===e)return t.elements[r].layerInterface;r+=1}return null}return Object.defineProperty(e,"_name",{value:t.data.nm}),e.layer=e,e.pixelAspect=1,e.height=t.data.h||t.globalData.compSize.h,e.width=t.data.w||t.globalData.compSize.w,e.pixelAspect=1,e.frameDuration=1/t.globalData.frameRate,e.displayStartTime=0,e.numLayers=t.layers.length,e}}(),TransformExpressionInterface=function(){return function(t){function e(t){switch(t){case"scale":case"Scale":case"ADBE Scale":case 6:return e.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return e.rotation;case"ADBE Rotate X":return e.xRotation;case"ADBE Rotate Y":return e.yRotation;case"position":case"Position":case"ADBE Position":case 2:return e.position;case"ADBE Position_0":return e.xPosition;case"ADBE Position_1":return e.yPosition;case"ADBE Position_2":return e.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return e.anchorPoint;case"opacity":case"Opacity":case 11:return e.opacity}}if(Object.defineProperty(e,"rotation",{get:ExpressionPropertyInterface(t.r||t.rz)}),Object.defineProperty(e,"zRotation",{get:ExpressionPropertyInterface(t.rz||t.r)}),Object.defineProperty(e,"xRotation",{get:ExpressionPropertyInterface(t.rx)}),Object.defineProperty(e,"yRotation",{get:ExpressionPropertyInterface(t.ry)}),Object.defineProperty(e,"scale",{get:ExpressionPropertyInterface(t.s)}),t.p)var r=ExpressionPropertyInterface(t.p);return Object.defineProperty(e,"position",{get:function(){return t.p?r():[t.px.v,t.py.v,t.pz?t.pz.v:0]}}),Object.defineProperty(e,"xPosition",{get:ExpressionPropertyInterface(t.px)}),Object.defineProperty(e,"yPosition",{get:ExpressionPropertyInterface(t.py)}),Object.defineProperty(e,"zPosition",{get:ExpressionPropertyInterface(t.pz)}),Object.defineProperty(e,"anchorPoint",{get:ExpressionPropertyInterface(t.a)}),Object.defineProperty(e,"opacity",{get:ExpressionPropertyInterface(t.o)}),Object.defineProperty(e,"skew",{get:ExpressionPropertyInterface(t.sk)}),Object.defineProperty(e,"skewAxis",{get:ExpressionPropertyInterface(t.sa)}),Object.defineProperty(e,"orientation",{get:ExpressionPropertyInterface(t.or)}),e}}(),ProjectInterface=function(){function t(t){this.compositions.push(t)}return function(){function e(t){var e=0,r=this.compositions.length;while(e<r){if(this.compositions[e].data&&this.compositions[e].data.nm===t)return this.compositions[e].prepareFrame&&this.compositions[e].data.xt&&this.compositions[e].prepareFrame(this.currentFrame),this.compositions[e].compInterface;e+=1}}return e.compositions=[],e.currentFrame=0,e.registerComposition=t,e}}(),EffectsExpressionInterface=function(){var t={createEffectsInterface:e};function e(t,e){if(t.effectsManager){var i,a=[],n=t.data.ef,s=t.effectsManager.effectElements.length;for(i=0;i<s;i+=1)a.push(r(n[i],t.effectsManager.effectElements[i],e,t));return function(e){var r=t.data.ef||[],i=0,n=r.length;while(i<n){if(e===r[i].nm||e===r[i].mn||e===r[i].ix)return a[i];i+=1}}}}function r(t,e,a,n){var s,o=[],l=t.ef.length;for(s=0;s<l;s+=1)5===t.ef[s].ty?o.push(r(t.ef[s],e.effectElements[s],e.effectElements[s].propertyGroup,n)):o.push(i(e.effectElements[s],t.ef[s].ty,n,h));function h(t){return 1===t?c:a(t-1)}var c=function(e){var r=t.ef,i=0,a=r.length;while(i<a){if(e===r[i].nm||e===r[i].mn||e===r[i].ix)return 5===r[i].ty?o[i]:o[i]();i+=1}return o[0]()};return c.propertyGroup=h,"ADBE Color Control"===t.mn&&Object.defineProperty(c,"color",{get:function(){return o[0]()}}),Object.defineProperty(c,"numProperties",{get:function(){return t.np}}),c.active=c.enabled=0!==t.en,c}function i(t,e,r,i){var a=ExpressionPropertyInterface(t.p);function n(){return 10===e?r.comp.compInterface(t.p.v):a()}return t.p.setGroupProperty&&t.p.setGroupProperty(i),n}return t}(),MaskManagerInterface=function(){function t(t,e){this._mask=t,this._data=e}Object.defineProperty(t.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(t.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),100*this._mask.op.v}});var e=function(e,r){var i,a=createSizedArray(e.viewData.length),n=e.viewData.length;for(i=0;i<n;i+=1)a[i]=new t(e.viewData[i],e.masksProperties[i]);var s=function(t){i=0;while(i<n){if(e.masksProperties[i].nm===t)return a[i];i+=1}};return s};return e}(),ExpressionPropertyInterface=function(){var t={pv:0,v:0,mult:1},e={pv:[0,0,0],v:[0,0,0],mult:1};function r(t,e,r){Object.defineProperty(t,"velocity",{get:function(){return e.getVelocityAtTime(e.comp.currentFrame)}}),t.numKeys=e.keyframes?e.keyframes.length:0,t.key=function(i){if(t.numKeys){var a="";a="s"in e.keyframes[i-1]?e.keyframes[i-1].s:"e"in e.keyframes[i-2]?e.keyframes[i-2].e:e.keyframes[i-2].s;var n="unidimensional"===r?new Number(a):Object.assign({},a);return n.time=e.keyframes[i-1].t/e.elem.comp.globalData.frameRate,n}return 0},t.valueAtTime=e.getValueAtTime,t.speedAtTime=e.getSpeedAtTime,t.velocityAtTime=e.getVelocityAtTime,t.propertyGroup=e.propertyGroup}function i(e){e&&"pv"in e||(e=t);var i=1/e.mult,a=e.pv*i,n=new Number(a);return n.value=a,r(n,e,"unidimensional"),function(){return e.k&&e.getValue(),a=e.v*i,n.value!==a&&(n=new Number(a),n.value=a,r(n,e,"unidimensional")),n}}function a(t){t&&"pv"in t||(t=e);var i=1/t.mult,a=t.pv.length,n=createTypedArray("float32",a),s=createTypedArray("float32",a);return n.value=s,r(n,t,"multidimensional"),function(){t.k&&t.getValue();for(var e=0;e<a;e+=1)n[e]=s[e]=t.v[e]*i;return n}}function n(){return t}return function(t){return t?"unidimensional"===t.propType?i(t):a(t):n}}();function SliderEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function AngleEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function ColorEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,1,0,r)}function PointEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,1,0,r)}function LayerIndexEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function MaskIndexEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function CheckboxEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function NoValueEffect(){this.p={}}function EffectsManager(){}function EffectsManager(t,e){var r=t.ef||[];this.effectElements=[];var i,a,n=r.length;for(i=0;i<n;i++)a=new GroupEffect(r[i],e),this.effectElements.push(a)}function GroupEffect(t,e){this.init(t,e)}(function(){var t=function(){function t(t,e){return this.textIndex=t+1,this.textTotal=e,this.v=this.getValue()*this.mult,this.v}return function(e,r){this.pv=1,this.comp=e.comp,this.elem=e,this.mult=.01,this.propType="textSelector",this.textTotal=r.totalChars,this.selectorValue=100,this.lastValue=[1,1,1],this.k=!0,this.x=!0,this.getValue=ExpressionManager.initiateExpression.bind(this)(e,r,this),this.getMult=t,this.getVelocityAtTime=expressionHelpers.getVelocityAtTime,this.kf?this.getValueAtTime=expressionHelpers.getValueAtTime.bind(this):this.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(this),this.setGroupProperty=expressionHelpers.setGroupProperty}}(),e=TextSelectorProp.getTextSelectorProp;TextSelectorProp.getTextSelectorProp=function(r,i,a){return 1===i.t?new t(r,i,a):e(r,i,a)}})(),extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(t,e){this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(e);var r,i,a=this.data.ef.length,n=this.data.ef;for(r=0;r<a;r+=1){switch(i=null,n[r].ty){case 0:i=new SliderEffect(n[r],e,this);break;case 1:i=new AngleEffect(n[r],e,this);break;case 2:i=new ColorEffect(n[r],e,this);break;case 3:i=new PointEffect(n[r],e,this);break;case 4:case 7:i=new CheckboxEffect(n[r],e,this);break;case 10:i=new LayerIndexEffect(n[r],e,this);break;case 11:i=new MaskIndexEffect(n[r],e,this);break;case 5:i=new EffectsManager(n[r],e,this);break;default:i=new NoValueEffect(n[r],e,this);break}i&&this.effectElements.push(i)}};var lottie={},_isFrozen=!1;function setLocationHref(t){locationHref=t}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(t){subframeEnabled=t}function loadAnimation(t){return!0===standalone&&(t.animationData=JSON.parse(animationData)),animationManager.loadAnimation(t)}function setQuality(t){if("string"===typeof t)switch(t){case"high":defaultCurveSegments=200;break;case"medium":defaultCurveSegments=50;break;case"low":defaultCurveSegments=10;break}else!isNaN(t)&&t>1&&(defaultCurveSegments=t);roundValues(!(defaultCurveSegments>=50))}function inBrowser(){return"undefined"!==typeof navigator}function installPlugin(t,e){"expressions"===t&&(expressionsPlugin=e)}function getFactory(t){switch(t){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(t){for(var e=queryString.split("&"),r=0;r<e.length;r++){var i=e[r].split("=");if(decodeURIComponent(i[0])==t)return decodeURIComponent(i[1])}}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocationHref,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.__getFactory=getFactory,lottie.version="5.6.6";var standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";if(standalone){var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""},queryString=myScript.src.replace(/^[^\?]+\??/,"");renderer=getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);return lottie}))},9702:function(t,e,r){},"985f":function(t,e,r){"use strict";var i=r("ebe3"),a=r.n(i);a.a},9911:function(t,e,r){"use strict";var i=r("23e7"),a=r("857a"),n=r("af03");i({target:"String",proto:!0,forced:n("link")},{link:function(t){return a(this,"a","href",t)}})},"99af":function(t,e,r){"use strict";var i=r("23e7"),a=r("d039"),n=r("e8b5"),s=r("861d"),o=r("7b0b"),l=r("50c4"),h=r("8418"),c=r("65f0"),u=r("1dde"),p=r("b622"),f=r("2d00"),d=p("isConcatSpreadable"),m=9007199254740991,g="Maximum allowed index exceeded",v=f>=51||!a((function(){var t=[];return t[d]=!1,t.concat()[0]!==t})),y=u("concat"),b=function(t){if(!s(t))return!1;var e=t[d];return void 0!==e?!!e:n(t)},_=!v||!y;i({target:"Array",proto:!0,forced:_},{concat:function(t){var e,r,i,a,n,s=o(this),u=c(s,0),p=0;for(e=-1,i=arguments.length;e<i;e++)if(n=-1===e?s:arguments[e],b(n)){if(a=l(n.length),p+a>m)throw TypeError(g);for(r=0;r<a;r++,p++)r in n&&h(u,p,n[r])}else{if(p>=m)throw TypeError(g);h(u,p++,n)}return u.length=p,u}})},"9bf2":function(t,e,r){var i=r("83ab"),a=r("0cfb"),n=r("825a"),s=r("c04e"),o=Object.defineProperty;e.f=i?o:function(t,e,r){if(n(t),e=s(e,!0),n(r),a)try{return o(t,e,r)}catch(i){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},"9ed3":function(t,e,r){"use strict";var i=r("ae93").IteratorPrototype,a=r("7c73"),n=r("5c6c"),s=r("d44e"),o=r("3f8c"),l=function(){return this};t.exports=function(t,e,r){var h=e+" Iterator";return t.prototype=a(i,{next:n(1,r)}),s(t,h,!1,!0),o[h]=l,t}},"9f7f":function(t,e,r){"use strict";var i=r("d039");function a(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=i((function(){var t=a("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=i((function(){var t=a("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},a2bf:function(t,e,r){"use strict";var i=r("e8b5"),a=r("50c4"),n=r("0366"),s=function(t,e,r,o,l,h,c,u){var p,f=l,d=0,m=!!c&&n(c,u,3);while(d<o){if(d in r){if(p=m?m(r[d],d,e):r[d],h>0&&i(p))f=s(t,e,p,a(p.length),f,h-1)-1;else{if(f>=9007199254740991)throw TypeError("Exceed the acceptable array length");t[f]=p}f++}d++}return f};t.exports=s},a640:function(t,e,r){"use strict";var i=r("d039");t.exports=function(t,e){var r=[][t];return!!r&&i((function(){r.call(null,e||function(){throw 1},1)}))}},a691:function(t,e){var r=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:r)(t)}},a9e3:function(t,e,r){"use strict";var i=r("83ab"),a=r("da84"),n=r("94ca"),s=r("6eeb"),o=r("5135"),l=r("c6b6"),h=r("7156"),c=r("c04e"),u=r("d039"),p=r("7c73"),f=r("241c").f,d=r("06cf").f,m=r("9bf2").f,g=r("58a8").trim,v="Number",y=a[v],b=y.prototype,_=l(p(b))==v,x=function(t){var e,r,i,a,n,s,o,l,h=c(t,!1);if("string"==typeof h&&h.length>2)if(h=g(h),e=h.charCodeAt(0),43===e||45===e){if(r=h.charCodeAt(2),88===r||120===r)return NaN}else if(48===e){switch(h.charCodeAt(1)){case 66:case 98:i=2,a=49;break;case 79:case 111:i=8,a=55;break;default:return+h}for(n=h.slice(2),s=n.length,o=0;o<s;o++)if(l=n.charCodeAt(o),l<48||l>a)return NaN;return parseInt(n,i)}return+h};if(n(v,!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var E,S=function(t){var e=arguments.length<1?0:t,r=this;return r instanceof S&&(_?u((function(){b.valueOf.call(r)})):l(r)!=v)?h(new y(x(e)),r,S):x(e)},k=i?f(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),C=0;k.length>C;C++)o(y,E=k[C])&&!o(S,E)&&m(S,E,d(y,E));S.prototype=b,b.constructor=S,s(a,v,S)}},aa06:function(t,e,r){},ab13:function(t,e,r){var i=r("b622"),a=i("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[a]=!1,"/./"[t](e)}catch(i){}}return!1}},ac1f:function(t,e,r){"use strict";var i=r("23e7"),a=r("9263");i({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},ad4b:function(t,e,r){},ad6d:function(t,e,r){"use strict";var i=r("825a");t.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},adc9:function(t,e,r){"use strict";var i=r("d6d4"),a=r.n(i);a.a},ae40:function(t,e,r){var i=r("83ab"),a=r("d039"),n=r("5135"),s=Object.defineProperty,o={},l=function(t){throw t};t.exports=function(t,e){if(n(o,t))return o[t];e||(e={});var r=[][t],h=!!n(e,"ACCESSORS")&&e.ACCESSORS,c=n(e,0)?e[0]:l,u=n(e,1)?e[1]:void 0;return o[t]=!!r&&!a((function(){if(h&&!i)return!0;var t={length:-1};h?s(t,1,{enumerable:!0,get:l}):t[1]=1,r.call(t,c,u)}))}},ae93:function(t,e,r){"use strict";var i,a,n,s=r("e163"),o=r("9112"),l=r("5135"),h=r("b622"),c=r("c430"),u=h("iterator"),p=!1,f=function(){return this};[].keys&&(n=[].keys(),"next"in n?(a=s(s(n)),a!==Object.prototype&&(i=a)):p=!0),void 0==i&&(i={}),c||l(i,u)||o(i,u,f),t.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:p}},af03:function(t,e,r){var i=r("d039");t.exports=function(t){return i((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},b041:function(t,e,r){"use strict";var i=r("00ee"),a=r("f5df");t.exports=i?{}.toString:function(){return"[object "+a(this)+"]"}},b0c0:function(t,e,r){var i=r("83ab"),a=r("9bf2").f,n=Function.prototype,s=n.toString,o=/^\s*function ([^ (]*)/,l="name";!i||l in n||a(n,l,{configurable:!0,get:function(){try{return s.call(this).match(o)[1]}catch(t){return""}}})},b136:function(t,e,r){"use strict";var i=r("cf32"),a=r.n(i);a.a},b622:function(t,e,r){var i=r("da84"),a=r("5692"),n=r("5135"),s=r("90e3"),o=r("4930"),l=r("fdbf"),h=a("wks"),c=i.Symbol,u=l?c:c&&c.withoutSetter||s;t.exports=function(t){return n(h,t)||(o&&n(c,t)?h[t]=c[t]:h[t]=u("Symbol."+t)),h[t]}},b64b:function(t,e,r){var i=r("23e7"),a=r("7b0b"),n=r("df75"),s=r("d039"),o=s((function(){n(1)}));i({target:"Object",stat:!0,forced:o},{keys:function(t){return n(a(t))}})},b680:function(t,e,r){"use strict";var i=r("23e7"),a=r("a691"),n=r("408a"),s=r("1148"),o=r("d039"),l=1..toFixed,h=Math.floor,c=function(t,e,r){return 0===e?r:e%2===1?c(t,e-1,r*t):c(t*t,e/2,r)},u=function(t){var e=0,r=t;while(r>=4096)e+=12,r/=4096;while(r>=2)e+=1,r/=2;return e},p=l&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!o((function(){l.call({})}));i({target:"Number",proto:!0,forced:p},{toFixed:function(t){var e,r,i,o,l=n(this),p=a(t),f=[0,0,0,0,0,0],d="",m="0",g=function(t,e){var r=-1,i=e;while(++r<6)i+=t*f[r],f[r]=i%1e7,i=h(i/1e7)},v=function(t){var e=6,r=0;while(--e>=0)r+=f[e],f[e]=h(r/t),r=r%t*1e7},y=function(){var t=6,e="";while(--t>=0)if(""!==e||0===t||0!==f[t]){var r=String(f[t]);e=""===e?r:e+s.call("0",7-r.length)+r}return e};if(p<0||p>20)throw RangeError("Incorrect fraction digits");if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(d="-",l=-l),l>1e-21)if(e=u(l*c(2,69,1))-69,r=e<0?l*c(2,-e,1):l/c(2,e,1),r*=4503599627370496,e=52-e,e>0){g(0,r),i=p;while(i>=7)g(1e7,0),i-=7;g(c(10,i,1),0),i=e-1;while(i>=23)v(1<<23),i-=23;v(1<<i),g(1,1),v(2),m=y()}else g(0,r),g(1<<-e,0),m=y()+s.call("0",p);return p>0?(o=m.length,m=d+(o<=p?"0."+s.call("0",p-o)+m:m.slice(0,o-p)+"."+m.slice(o-p))):m=d+m,m}})},b727:function(t,e,r){var i=r("0366"),a=r("44ad"),n=r("7b0b"),s=r("50c4"),o=r("65f0"),l=[].push,h=function(t){var e=1==t,r=2==t,h=3==t,c=4==t,u=6==t,p=5==t||u;return function(f,d,m,g){for(var v,y,b=n(f),_=a(b),x=i(d,m,3),E=s(_.length),S=0,k=g||o,C=e?k(f,E):r?k(f,0):void 0;E>S;S++)if((p||S in _)&&(v=_[S],y=x(v,S,b),t))if(e)C[S]=y;else if(y)switch(t){case 3:return!0;case 5:return v;case 6:return S;case 2:l.call(C,v)}else if(c)return!1;return u?-1:h||c?c:C}};t.exports={forEach:h(0),map:h(1),filter:h(2),some:h(3),every:h(4),find:h(5),findIndex:h(6)}},b82f:function(t,e,r){"use strict";var i=r("5db9"),a=r.n(i);a.a},bb2f:function(t,e,r){var i=r("d039");t.exports=!i((function(){return Object.isExtensible(Object.preventExtensions({}))}))},bfaa:function(t,e,r){"use strict";var i=r("fc14"),a=r.n(i);a.a},c04e:function(t,e,r){var i=r("861d");t.exports=function(t,e){if(!i(t))return t;var r,a;if(e&&"function"==typeof(r=t.toString)&&!i(a=r.call(t)))return a;if("function"==typeof(r=t.valueOf)&&!i(a=r.call(t)))return a;if(!e&&"function"==typeof(r=t.toString)&&!i(a=r.call(t)))return a;throw TypeError("Can't convert object to primitive value")}},c430:function(t,e){t.exports=!1},c6b6:function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},c6cd:function(t,e,r){var i=r("da84"),a=r("ce4e"),n="__core-js_shared__",s=i[n]||a(n,{});t.exports=s},c8ba:function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(i){"object"===typeof window&&(r=window)}t.exports=r},ca84:function(t,e,r){var i=r("5135"),a=r("fc6a"),n=r("4d64").indexOf,s=r("d012");t.exports=function(t,e){var r,o=a(t),l=0,h=[];for(r in o)!i(s,r)&&i(o,r)&&h.push(r);while(e.length>l)i(o,r=e[l++])&&(~n(h,r)||h.push(r));return h}},caad:function(t,e,r){"use strict";var i=r("23e7"),a=r("4d64").includes,n=r("44d2"),s=r("ae40"),o=s("indexOf",{ACCESSORS:!0,1:0});i({target:"Array",proto:!0,forced:!o},{includes:function(t){return a(this,t,arguments.length>1?arguments[1]:void 0)}}),n("includes")},cc12:function(t,e,r){var i=r("da84"),a=r("861d"),n=i.document,s=a(n)&&a(n.createElement);t.exports=function(t){return s?n.createElement(t):{}}},ce4e:function(t,e,r){var i=r("da84"),a=r("9112");t.exports=function(t,e){try{a(i,t,e)}catch(r){i[t]=e}return e}},cf32:function(t,e,r){},d012:function(t,e){t.exports={}},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},d066:function(t,e,r){var i=r("428f"),a=r("da84"),n=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?n(i[t])||n(a[t]):i[t]&&i[t][e]||a[t]&&a[t][e]}},d100:function(t,e,r){},d1e7:function(t,e,r){"use strict";var i={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,n=a&&!i.call({1:2},1);e.f=n?function(t){var e=a(this,t);return!!e&&e.enumerable}:i},d2bb:function(t,e,r){var i=r("825a"),a=r("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,t.call(r,[]),e=r instanceof Array}catch(n){}return function(r,n){return i(r),a(n),e?t.call(r,n):r.__proto__=n,r}}():void 0)},d3b7:function(t,e,r){var i=r("00ee"),a=r("6eeb"),n=r("b041");i||a(Object.prototype,"toString",n,{unsafe:!0})},d3fa:function(t,e,r){"use strict";var i=r("4a20"),a=r.n(i);a.a},d44e:function(t,e,r){var i=r("9bf2").f,a=r("5135"),n=r("b622"),s=n("toStringTag");t.exports=function(t,e,r){t&&!a(t=r?t:t.prototype,s)&&i(t,s,{configurable:!0,value:e})}},d58f:function(t,e,r){var i=r("1c0b"),a=r("7b0b"),n=r("44ad"),s=r("50c4"),o=function(t){return function(e,r,o,l){i(r);var h=a(e),c=n(h),u=s(h.length),p=t?u-1:0,f=t?-1:1;if(o<2)while(1){if(p in c){l=c[p],p+=f;break}if(p+=f,t?p<0:u<=p)throw TypeError("Reduce of empty array with no initial value")}for(;t?p>=0:u>p;p+=f)p in c&&(l=r(l,c[p],p,h));return l}};t.exports={left:o(!1),right:o(!0)}},d6d4:function(t,e,r){},d784:function(t,e,r){"use strict";r("ac1f");var i=r("6eeb"),a=r("d039"),n=r("b622"),s=r("9263"),o=r("9112"),l=n("species"),h=!a((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),c=function(){return"$0"==="a".replace(/./,"$0")}(),u=n("replace"),p=function(){return!!/./[u]&&""===/./[u]("a","$0")}(),f=!a((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));t.exports=function(t,e,r,u){var d=n(t),m=!a((function(){var e={};return e[d]=function(){return 7},7!=""[t](e)})),g=m&&!a((function(){var e=!1,r=/a/;return"split"===t&&(r={},r.constructor={},r.constructor[l]=function(){return r},r.flags="",r[d]=/./[d]),r.exec=function(){return e=!0,null},r[d](""),!e}));if(!m||!g||"replace"===t&&(!h||!c||p)||"split"===t&&!f){var v=/./[d],y=r(d,""[t],(function(t,e,r,i,a){return e.exec===s?m&&!a?{done:!0,value:v.call(e,r,i)}:{done:!0,value:t.call(r,e,i)}:{done:!1}}),{REPLACE_KEEPS_$0:c,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),b=y[0],_=y[1];i(String.prototype,t,b),i(RegExp.prototype,d,2==e?function(t,e){return _.call(t,this,e)}:function(t){return _.call(t,this)})}u&&o(RegExp.prototype[d],"sham",!0)}},da84:function(t,e,r){(function(e){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e&&e)||Function("return this")()}).call(this,r("c8ba"))},dca8:function(t,e,r){var i=r("23e7"),a=r("bb2f"),n=r("d039"),s=r("861d"),o=r("f183").onFreeze,l=Object.freeze,h=n((function(){l(1)}));i({target:"Object",stat:!0,forced:h,sham:!a},{freeze:function(t){return l&&s(t)?l(o(t)):t}})},ddb0:function(t,e,r){var i=r("da84"),a=r("fdbc"),n=r("e260"),s=r("9112"),o=r("b622"),l=o("iterator"),h=o("toStringTag"),c=n.values;for(var u in a){var p=i[u],f=p&&p.prototype;if(f){if(f[l]!==c)try{s(f,l,c)}catch(m){f[l]=c}if(f[h]||s(f,h,u),a[u])for(var d in n)if(f[d]!==n[d])try{s(f,d,n[d])}catch(m){f[d]=n[d]}}}},df75:function(t,e,r){var i=r("ca84"),a=r("7839");t.exports=Object.keys||function(t){return i(t,a)}},e163:function(t,e,r){var i=r("5135"),a=r("7b0b"),n=r("f772"),s=r("e177"),o=n("IE_PROTO"),l=Object.prototype;t.exports=s?Object.getPrototypeOf:function(t){return t=a(t),i(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?l:null}},e177:function(t,e,r){var i=r("d039");t.exports=!i((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},e260:function(t,e,r){"use strict";var i=r("fc6a"),a=r("44d2"),n=r("3f8c"),s=r("69f3"),o=r("7dd0"),l="Array Iterator",h=s.set,c=s.getterFor(l);t.exports=o(Array,"Array",(function(t,e){h(this,{type:l,target:i(t),index:0,kind:e})}),(function(){var t=c(this),e=t.target,r=t.kind,i=t.index++;return!e||i>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:i,done:!1}:"values"==r?{value:e[i],done:!1}:{value:[i,e[i]],done:!1}}),"values"),n.Arguments=n.Array,a("keys"),a("values"),a("entries")},e776:function(t,e,r){},e893:function(t,e,r){var i=r("5135"),a=r("56ef"),n=r("06cf"),s=r("9bf2");t.exports=function(t,e){for(var r=a(e),o=s.f,l=n.f,h=0;h<r.length;h++){var c=r[h];i(t,c)||o(t,c,l(e,c))}}},e8b5:function(t,e,r){var i=r("c6b6");t.exports=Array.isArray||function(t){return"Array"==i(t)}},ebe3:function(t,e,r){},f183:function(t,e,r){var i=r("d012"),a=r("861d"),n=r("5135"),s=r("9bf2").f,o=r("90e3"),l=r("bb2f"),h=o("meta"),c=0,u=Object.isExtensible||function(){return!0},p=function(t){s(t,h,{value:{objectID:"O"+ ++c,weakData:{}}})},f=function(t,e){if(!a(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!n(t,h)){if(!u(t))return"F";if(!e)return"E";p(t)}return t[h].objectID},d=function(t,e){if(!n(t,h)){if(!u(t))return!0;if(!e)return!1;p(t)}return t[h].weakData},m=function(t){return l&&g.REQUIRED&&u(t)&&!n(t,h)&&p(t),t},g=t.exports={REQUIRED:!1,fastKey:f,getWeakData:d,onFreeze:m};i[h]=!0},f5df:function(t,e,r){var i=r("00ee"),a=r("c6b6"),n=r("b622"),s=n("toStringTag"),o="Arguments"==a(function(){return arguments}()),l=function(t,e){try{return t[e]}catch(r){}};t.exports=i?a:function(t){var e,r,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=l(e=Object(t),s))?r:o?a(e):"Object"==(i=a(e))&&"function"==typeof e.callee?"Arguments":i}},f6fd:function(t,e){(function(t){var e="currentScript",r=t.getElementsByTagName("script");e in t||Object.defineProperty(t,e,{get:function(){try{throw new Error}catch(i){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(i.stack)||[!1])[1];for(t in r)if(r[t].src==e||"interactive"==r[t].readyState)return r[t];return null}}})})(document)},f772:function(t,e,r){var i=r("5692"),a=r("90e3"),n=i("keys");t.exports=function(t){return n[t]||(n[t]=a(t))}},fb15:function(t,e,r){"use strict";r.r(e);var i,a={};(r.r(a),r.d(a,"ListItem",(function(){return f})),r.d(a,"BButton",(function(){return T})),r.d(a,"TextField",(function(){return ta})),r.d(a,"NavigationBar",(function(){return oa})),r.d(a,"Alert",(function(){return da})),r.d(a,"Dialog",(function(){return Ea})),r.d(a,"Dropdown",(function(){return Ma})),r.d(a,"Banner",(function(){return Va})),r.d(a,"Card",(function(){return qa})),r.d(a,"Accordion",(function(){return Ja})),r.d(a,"Avatar",(function(){return sn})),r.d(a,"ProgressBar",(function(){return fn})),r.d(a,"Chip",(function(){return xn})),r.d(a,"Anim",(function(){return An})),r.d(a,"SnackBar",(function(){return On})),r.d(a,"Tab",(function(){return $n})),r.d(a,"Tabs",(function(){return Zn})),r.d(a,"TokenTextField",(function(){return ns})),r.d(a,"Icon",(function(){return ps})),r.d(a,"GridItem",(function(){return bs})),r.d(a,"ListHeader",(function(){return ws})),r.d(a,"BForm",(function(){return Is})),"undefined"!==typeof window)&&(r("f6fd"),(i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(r.p=i[1]));r("b0c0");var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{directives:[{name:"ripple",rawName:"v-ripple",value:{color:t.rippleColor},expression:"{color: rippleColor}"}],ref:"list",staticClass:"list-item",class:t.cssClasses,attrs:{disabled:t.loading||t.readOnly},on:{click:t.click}},[r("div",{staticClass:"list-item__wrapper row flex-middle",class:t.wrapperClass},[t.hasLeftItemSlot?r("div",{staticClass:"list-item__left-item py-m",class:t.loading&&t.hasLeftItemSlot?"list-item__left-item--loading":""},[r("div",{staticClass:"list-item__left-item-loading"}),t.loading?t._e():t._t("left-item",[t.image?r("div",{staticClass:"list-item__logo"},[r("div",{staticClass:"list-item__logo-image",style:{backgroundImage:"url("+t.image+")"}})]):t._e()])],2):t._e(),r("div",{staticClass:"list-item__right-item col flex flex-self-center",class:t.rightItemClasses},[t._t("text-loading",[t.loading?r("div",{staticClass:"list-item__right-item-loading"}):t._e()]),t._t("right-item",[t.status===t.statusTypes.NORMAL?r("div",{class:t.rightItemIcon?"row":""},[t.loading?t._e():r("div",{class:t.rightItemIcon?"row flex-between":""},[r("div",[t._v(" "+t._s(t.text)+" ")]),t.rightItemIcon?r("div",{staticClass:"flex"},[r("icon",{attrs:{icon:t.rightItemIcon,flat:!0}})],1):t._e()])]):r("div",{staticClass:"row"},[r("div",{staticClass:" col text-right pr-s",class:"list-item__right-item--"+t.status},[t.connectedStatus?r("div",[t._v(" Connected ")]):t.errorStatus?r("div",[t._v(" Error ")]):t._e()]),t.connectedStatus?r("icon",{attrs:{color:t.$tokens.color.green["60"].value,icon:"connected",flat:!0}}):t.errorStatus?r("icon",{attrs:{icon:"error",color:t.$tokens.color.red["60"].value,flat:!0}}):t._e()],1)])],2)])])},s=[],o=(r("99af"),r("0481"),r("caad"),r("4069"),r("dca8"),r("07ac"),r("2532"),Object.freeze({NORMAL:"normal",ERROR:"error",CONNECTED:"connected"})),l={name:"ListItem",props:{text:{type:String,default:""},image:{type:String,default:""},loading:{type:Boolean,default:!1},flat:{type:Boolean,default:!1},shortBorder:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},active:{type:Boolean,default:!1},sideSpace:{type:Boolean,default:!0},immediate:{type:Boolean,default:!1},status:{type:String,default:"normal",validator:function(t){return Object.values(o).includes(t)}},rightItemIcon:{type:String,default:null}},data:function(){return{statusTypes:o,rippleColor:this.$tokens.color.grey["85"].value,activeState:!1}},computed:{connectedStatus:function(){return this.status===o.CONNECTED},errorStatus:function(){return this.status===o.ERROR},hasLeftItemSlot:function(){return!!this.$slots["left-item"]||this.image},cssClasses:function(){var t=this.shortBorder?"list-item--short-border":"",e=this.loading?"list-item--loading":"",r=this.flat?"list-item--flat":"",i=this.activeState?"list-item--active":"",a=this.readOnly?"list-item--disabled":"";return"".concat(t," ").concat(e," ").concat(r," ").concat(i," ").concat(a)},rightItemClasses:function(){var t=this.hasLeftItemSlot?"flex-end":"flex-left",e="text-regular-16";return"".concat(t," ").concat(e)},wrapperClass:function(){var t=this.flat?"list-item--flat":"",e=this.sideSpace?"mx-m":"";return"".concat(t," ").concat(e)}},watch:{active:{immediate:!0,handler:function(t){var e=this,r=this.immediate?0:200;setTimeout((function(){return e.setActive(t)}),r)}}},methods:{stopPropagation:function(t){t.stopPropagation()},click:function(){var t=this,e=this.immediate?110:200;setTimeout((function(){return t.$emit("click")}),e)},setActive:function(t){this.activeState=t}}},h=l;r("d3fa");function c(t,e,r,i,a,n,s,o){var l,h="function"===typeof t?t.options:t;if(e&&(h.render=e,h.staticRenderFns=r,h._compiled=!0),i&&(h.functional=!0),n&&(h._scopeId="data-v-"+n),s?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),a&&a.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},h._ssrRegister=l):a&&(l=o?function(){a.call(this,this.$root.$options.shadowRoot)}:a),l)if(h.functional){h._injectStyles=l;var c=h.render;h.render=function(t,e){return l.call(e),c(t,e)}}else{var u=h.beforeCreate;h.beforeCreate=u?[].concat(u,l):[l]}return{exports:t,options:h}}var u=c(h,n,s,!1,null,"30b04995",null),p=u.exports,f=p,d=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("button",{directives:[{name:"ripple",rawName:"v-ripple",value:{color:t.rippleColor||t.createRippleColor()||"",removable:!0,event:"mouseover"},expression:"{color: rippleColor || createRippleColor() || '', removable: true, event: 'mouseover'}"}],class:"button "+t.type+" "+t.backgroundColor+" "+t.triggerClass+" "+(t.active?"button--active":"")+" "+(t.fluid?"button--fluid":""),style:t.cssVars,attrs:{disabled:!t.isEnabled,type:t.type,"ripple-disabled":t.isRippleDisabled()},on:{click:function(e){return e.stopPropagation(),t.openLink(e)},mouseover:function(e){t.leftIconColor=t.hslToHex(t.colorHslHover(t.textColor))},mouseleave:function(e){t.leftIconColor=t.textColor}}},[r("div",{staticClass:"button__container row flex-middle"},["icon"!==t.type?r("div",{staticClass:"col"},[r("div",{staticClass:"row"},[t.leftIcon?r("div",{staticClass:"col"},[r("icon",{attrs:{icon:t.leftIcon,color:t.leftIconColor}})],1):t._e(),t.loading?r("div",{staticClass:"button__loader"},[r("span",{staticClass:"text-medium-20"},[t._v(".")]),r("span",{staticClass:"text-medium-20"},[t._v(".")]),r("span",{staticClass:"text-medium-20"},[t._v(".")])]):r("div",{key:t.text,staticClass:"button__text col",class:"link"===t.type?"text-code-14":"text-medium-16",domProps:{innerHTML:t._s(t.text)}})])]):t._e(),t.icon?r("div",{staticClass:"col ripple"},[r("icon",{attrs:{icon:t.iconAsset,flat:!0,color:t.iconColor}})],1):t._e()])])},m=[];r("9911"),r("4de4"),r("b680"),r("d3b7"),r("ac1f"),r("25f0"),r("5319"),r("1276"),r("e260"),r("fb6a"),r("ddb0");function g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function y(t,e,r){return e&&v(t.prototype,e),r&&v(t,r),t}var b=function(){function t(e,r,i){g(this,t),this.set(e,r,i)}return y(t,[{key:"toString",value:function(){return"rgb(".concat(Math.round(this.r),", ").concat(Math.round(this.g),", ").concat(Math.round(this.b),")")}},{key:"set",value:function(t,e,r){this.r=this.clamp(t),this.g=this.clamp(e),this.b=this.clamp(r)}},{key:"hueRotate",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;t=t/180*Math.PI;var e=Math.sin(t),r=Math.cos(t);this.multiply([.213+.787*r-.213*e,.715-.715*r-.715*e,.072-.072*r+.928*e,.213-.213*r+.143*e,.715+.285*r+.14*e,.072-.072*r-.283*e,.213-.213*r-.787*e,.715-.715*r+.715*e,.072+.928*r+.072*e])}},{key:"grayscale",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.multiply([.2126+.7874*(1-t),.7152-.7152*(1-t),.0722-.0722*(1-t),.2126-.2126*(1-t),.7152+.2848*(1-t),.0722-.0722*(1-t),.2126-.2126*(1-t),.7152-.7152*(1-t),.0722+.9278*(1-t)])}},{key:"sepia",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.multiply([.393+.607*(1-t),.769-.769*(1-t),.189-.189*(1-t),.349-.349*(1-t),.686+.314*(1-t),.168-.168*(1-t),.272-.272*(1-t),.534-.534*(1-t),.131+.869*(1-t)])}},{key:"saturate",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.multiply([.213+.787*t,.715-.715*t,.072-.072*t,.213-.213*t,.715+.285*t,.072-.072*t,.213-.213*t,.715-.715*t,.072+.928*t])}},{key:"multiply",value:function(t){var e=this.clamp(this.r*t[0]+this.g*t[1]+this.b*t[2]),r=this.clamp(this.r*t[3]+this.g*t[4]+this.b*t[5]),i=this.clamp(this.r*t[6]+this.g*t[7]+this.b*t[8]);this.r=e,this.g=r,this.b=i}},{key:"brightness",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.linear(t)}},{key:"contrast",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.linear(t,-.5*t+.5)}},{key:"linear",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.r=this.clamp(this.r*t+255*e),this.g=this.clamp(this.g*t+255*e),this.b=this.clamp(this.b*t+255*e)}},{key:"invert",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.r=this.clamp(255*(t+this.r/255*(1-2*t))),this.g=this.clamp(255*(t+this.g/255*(1-2*t))),this.b=this.clamp(255*(t+this.b/255*(1-2*t)))}},{key:"hsl",value:function(){var t,e,r=this.r/255,i=this.g/255,a=this.b/255,n=Math.max(r,i,a),s=Math.min(r,i,a),o=(n+s)/2;if(n===s)t=e=0;else{var l=n-s;switch(e=o>.5?l/(2-n-s):l/(n+s),n){case r:t=(i-a)/l+(i<a?6:0);break;case i:t=(a-r)/l+2;break;case a:t=(r-i)/l+4;break}t/=6}return{h:100*t,s:100*e,l:100*o}}},{key:"clamp",value:function(t){return t>255?t=255:t<0&&(t=0),t}}]),t}(),_=function(){function t(e){g(this,t),this.target=e,this.targetHSL=e.hsl(),this.reusedColor=new b(0,0,0)}return y(t,[{key:"solve",value:function(){var t=this.solveNarrow(this.solveWide());return{values:t.values,loss:t.loss,filter:this.css(t.values)}}},{key:"solveWide",value:function(){for(var t=5,e=15,r=[60,180,18e3,600,1.2,1.2],i={loss:1/0},a=0;i.loss>25&&a<3;a++){var n=[50,20,3750,50,100,100],s=this.spsa(t,r,e,n,1e3);s.loss<i.loss&&(i=s)}return i}},{key:"solveNarrow",value:function(t){var e=t.loss,r=2,i=e+1,a=[.25*i,.25*i,i,.25*i,.2*i,.2*i];return this.spsa(e,a,r,t.values,500)}},{key:"spsa",value:function(t,e,r,i,a){for(var n=1,s=.16666666666666666,o=null,l=1/0,h=new Array(6),c=new Array(6),u=new Array(6),p=0;p<a;p++){for(var f=r/Math.pow(p+1,s),d=0;d<6;d++)h[d]=Math.random()>.5?1:-1,c[d]=i[d]+f*h[d],u[d]=i[d]-f*h[d];for(var m=this.loss(c)-this.loss(u),g=0;g<6;g++){var v=m/(2*f)*h[g],y=e[g]/Math.pow(t+p+1,n);i[g]=_(i[g]-y*v,g)}var b=this.loss(i);b<l&&(o=i.slice(0),l=b)}return{values:o,loss:l};function _(t,e){var r=100;return 2===e?r=7500:4!==e&&5!==e||(r=200),3===e?t>r?t%=r:t<0&&(t=r+t%r):t<0?t=0:t>r&&(t=r),t}}},{key:"loss",value:function(t){var e=this.reusedColor;e.set(0,0,0),e.invert(t[0]/100),e.sepia(t[1]/100),e.saturate(t[2]/100),e.hueRotate(3.6*t[3]),e.brightness(t[4]/100),e.contrast(t[5]/100);var r=e.hsl();return Math.abs(e.r-this.target.r)+Math.abs(e.g-this.target.g)+Math.abs(e.b-this.target.b)+Math.abs(r.h-this.targetHSL.h)+Math.abs(r.s-this.targetHSL.s)+Math.abs(r.l-this.targetHSL.l)}},{key:"css",value:function(t){function e(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Math.round(t[e]*r)}return"filter: invert(".concat(e(0),"%) sepia(").concat(e(1),"%) saturate(").concat(e(2),"%) hue-rotate(").concat(e(3,3.6),"deg) brightness(").concat(e(4),"%) contrast(").concat(e(5),"%);")}}]),t}(),x={Color:b,Solver:_},E={data:function(){return{title:"color",colorHelper:x}},methods:{hexToRgb:function(t){var e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return e?{r:parseInt(e[1],16),g:parseInt(e[2],16),b:parseInt(e[3],16)}:null},hexToFilter:function(t){var e=this.hexToRgb(t),r=new this.colorHelper.Color(e.r,e.g,e.b),i=new this.colorHelper.Solver(r),a=i.solve();return a.filter.split("filter:")[1].replace(";","")},hslToFilter:function(t){return this.hexToFilter(this.hslToHex(t))},hslToHex:function(t){var e,r,i,a=t.replace(/\(|\)|hsl|%/g,"").split(","),n=a[0],s=a[1],o=a[2];if(n/=360,s/=100,o/=100,0===s)e=r=i=o;else{var l=function(t,e,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+6*(e-t)*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t},h=o<.5?o*(1+s):o+s-o*s,c=2*o-h;e=l(c,h,n+1/3),r=l(c,h,n),i=l(c,h,n-1/3)}var u=function(t){var e=Math.round(255*t).toString(16);return 1===e.length?"0"+e:e};return"#".concat(u(e)).concat(u(r)).concat(u(i))},hexToHsl:function(t,e){var r=0,i=0,a=0;4===t.length?(r="0x"+t[1]+t[1],i="0x"+t[2]+t[2],a="0x"+t[3]+t[3]):7===t.length&&(r="0x"+t[1]+t[2],i="0x"+t[3]+t[4],a="0x"+t[5]+t[6]),r/=255,i/=255,a/=255;var n=Math.min(r,i,a),s=Math.max(r,i,a),o=s-n,l=0,h=0,c=0;return l=0===o?0:s===r?(i-a)/o%6:s===i?(a-r)/o+2:(r-i)/o+4,l=Math.round(60*l),l<0&&(l+=360),c=(s+n)/2,h=0===o?0:o/(1-Math.abs(2*c-1)),h=+(100*h).toFixed(1),c=+(100*c).toFixed(1),"hsl("+l+","+h+"%,"+e+"%)"}}},S={name:"BButton",mixins:[E],props:{text:{type:String,required:!1,default:""},type:{type:String,default:"cta",validator:function(t){return["cta","secondary","primary","text","icon","submit","link"].includes(t)}},link:{type:String,default:""},linkTarget:{type:String,default:"_self",validator:function(t){return["_self","_blank"].includes(t)}},backgroundColor:{type:String,validator:function(t){return["red","blue","yellow","black"].includes(t)},default:"black"},icon:{type:String,default:null},iconActive:{type:String,default:null},trigger:{type:Boolean,required:!1,default:!1},enabled:{type:Boolean,required:!1,default:!0},gaEvent:{type:Object,default:function(){return null}},iconColor:{type:String,default:null},activeState:{type:Boolean,default:!1},fluid:{type:Boolean,default:!1},rippleColor:{type:String,default:null},textColor:{type:String,default:"#000000"},color:{type:String,default:null},leftIcon:{type:String,default:null},loading:{type:Boolean,default:!1},buttonIconColor:{type:String,default:null},circleShape:{type:Boolean,default:!1},hoverColor:{type:String,default:null}},data:function(){return{triggered:!1,active:!1,colorHelper:x,defaultColors:{cta:this.$tokens.color.blue["60"].value,secondary:"#ffffff",primary:"#000000",icon:"#ffffff",submit:this.$tokens.color.blue["60"].value,link:"#ffffff",text:"#ffffff"},leftIconColor:this.textColor}},computed:{triggerClass:function(){return this.trigger&&this.triggered&&this.isEnabled?"--trigger":""},isEnabled:function(){return this.enabled},iconAsset:function(){return this.iconActive&&this.active?this.iconActive:this.icon},cssVars:function(){var t=this.colorHslHover(this.textColor),e=this.buttonIconColor?this.hexToFilter(this.buttonIconColor):"",r=this.color||this.defaultColors[this.type];return{"--text-color":this.textColor,"--text-color-hover":t,"--background-color":r,"--background-color-hover":this.hoverColor||this.hexToHsl(r,95),"--button-icon-color":e,"--button-icon-radius":this.circleShape?"20px":"0","--background-color-active":this.hexToHsl(r,50),"--background-color-active-secondary":this.hexToHsl(r,90)}}},methods:{openLink:function(t){var e=this;if("submit"!==this.type&&t.preventDefault(),this.isEnabled&&(this.$emit("clicked"),this.activeState&&this.toggleActive(),this.gaEvent&&this.registerEvent(this.gaEvent),this.triggerAnimation(),""!==this.link)){var r=["secondary","text"].includes(this.type)?300:0;setTimeout((function(){window.open(e.link,e.linkTarget)}),r)}},colorHslHover:function(t){return this.hexToHsl(t,55)},triggerAnimation:function(){var t=this;this.triggered=!0,setTimeout((function(){t.triggered=!1}),1e3)},toggleActive:function(){this.active=!this.active},isRippleDisabled:function(){return"link"===this.type},createRippleColor:function(){var t=this.color||this.defaultColors[this.type];return"secondary"===this.type?this.hexToHsl(t,95):this.hexToHsl(t,55)}}},k=S,C=(r("2155"),c(k,d,m,!1,null,null,null)),w=C.exports,T=w,P=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("ValidationProvider",{attrs:{rules:t.rules},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.errors;return[r("div",{directives:[{name:"ripple",rawName:"v-ripple",value:{color:"#ffffff",event:["focusin","mousedown"]},expression:"{color: '#ffffff', event: ['focusin', 'mousedown']}"}],staticClass:"text-field",class:t.classes,attrs:{disabled:t.disabled},on:{click:function(e){!t.disabled&&t.$refs.input.focus()},mousedown:t.activate,mouseover:t.hoverIn,mouseleave:t.hoverOut}},[r("div",{staticClass:"text-field__border-default"}),r("div",{ref:"wrapper",staticClass:"text-field__wrapper"},[r("div",{staticClass:"row"},[r("div",{staticClass:"col flex-col flex-center"},[r("label",{staticClass:"text-field__label text-regular-12 mb-xs",class:""!=t.value?"text-field__label--disabled":""},[t._v(" "+t._s(t.label)+" ")]),r("input",{ref:"input",staticClass:"text-field__input text-regular-16 p-0",attrs:{placeholder:t.placeHolder,type:t.type,disabled:t.disabled,required:t.required,pattern:t.pattern,autocapitalize:"off"},domProps:{value:t.value},on:{focus:t.activate,blur:t.deactivate,input:function(e){return t.updateValue(e.target.value)}}})]),t.type===t.types.PASSWORD||t.icon?r("div",{staticClass:"flex-self-end"},[t.type===t.types.PASSWORD?r("b-button",{staticClass:"ripple",attrs:{tabindex:"-1",icon:"show","icon-active":"hide","active-state":!0,"icon-color":t.iconColor,"ripple-color":t.$tokens.color.grey["90"].value,color:"transparent","circle-shape":!0,type:"icon"},on:{clicked:t.togglePassword}}):r("div",{staticClass:"pb-s"},[r("icon",{staticClass:"ripple",attrs:{icon:t.icon,color:t.iconColor,flat:!0}})],1)],1):t._e()]),r("div",{staticClass:"text-field__border"})])]),r("div",{staticClass:"text-field__error text-regular-12"},[i.length>0||t.error?r("div",[t._v(" "+t._s(t.error||i[0])+" ")]):t._e()])]}}])})],1)},A=[];function M(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function D(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}
/*!
 * GSAP 3.1.1
 * https://greensock.com
 *
 * @license Copyright 2008-2020, GreenSock. All rights reserved.
 * Subject to the terms at https://greensock.com/standard-license or for
 * Club GreenSock members, the agreement issued with that membership.
 * @author: Jack Doyle, jack@greensock.com
*/var F,I,B,R,z,O,V,L,N={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},G={duration:.5,overwrite:!1,delay:0},H=1e8,j=1/H,$=2*Math.PI,q=$/4,W=0,Y=Math.sqrt,X=Math.cos,U=Math.sin,K=function(t){return"string"===typeof t},Z=function(t){return"function"===typeof t},J=function(t){return"number"===typeof t},Q=function(t){return"undefined"===typeof t},tt=function(t){return"object"===typeof t},et=function(t){return!1!==t},rt=function(){return"undefined"!==typeof window},it=function(t){return Z(t)||K(t)},at=Array.isArray,nt=/(?:-?\.?\d|\.)+/gi,st=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/g,ot=/[-+=\.]*\d+(?:\.|e-|e)*\d*/gi,lt=/\(([^()]+)\)/i,ht=/[\+-]=-?[\.\d]+/,ct=/[#\-+\.]*\b[a-z\d-=+%.]+/gi,ut={},pt={},ft=function(t){return(pt=Lt(t,ut))&&Dr},dt=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},mt=function(t,e){return!e&&console.warn(t)},gt=function(t,e){return t&&(ut[t]=e)&&pt&&(pt[t]=e)||ut},vt=function(){return 0},yt={},bt=[],_t={},xt={},Et={},St=30,kt=[],Ct="onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",wt=function(t){var e,r,i=t[0];if(tt(i)||Z(i)||(t=[t]),!(e=(i._gsap||{}).harness)){r=kt.length;while(r--&&!kt[r].targetTest(i));e=kt[r]}r=t.length;while(r--)t[r]&&(t[r]._gsap||(t[r]._gsap=new Qe(t[r],e)))||t.splice(r,1);return t},Tt=function(t){return t._gsap||wt(fe(t))[0]._gsap},Pt=function(t,e){var r=t[e];return Z(r)?t[e]():Q(r)&&t.getAttribute(e)||r},At=function(t,e){return(t=t.split(",")).forEach(e)||t},Mt=function(t){return Math.round(1e4*t)/1e4},Dt=function(t,e){for(var r=e.length,i=0;t.indexOf(e[i])<0&&++i<r;);return i<r},Ft=function(t,e,r){var i,a=J(t[1]),n=(a?2:1)+(e<2?0:1),s=t[n];if(a&&(s.duration=t[1]),s.parent=r,e){i=s;while(r&&!("immediateRender"in i))i=r.vars.defaults||{},r=et(r.vars.inherit)&&r.parent;s.immediateRender=et(i.immediateRender),e<2?s.runBackwards=1:s.startAt=t[n-1]}return s},It=function(){var t,e,r=bt.length,i=bt.slice(0);for(_t={},bt.length=0,t=0;t<r;t++)e=i[t],e&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)},Bt=function(t,e,r,i){bt.length&&It(),t.render(e,r,i),bt.length&&It()},Rt=function(t){var e=parseFloat(t);return(e||0===e)&&(t+"").match(ct).length<2?e:t},zt=function(t){return t},Ot=function(t,e){for(var r in e)r in t||(t[r]=e[r]);return t},Vt=function(t,e){for(var r in e)r in t||"duration"===r||"ease"===r||(t[r]=e[r])},Lt=function(t,e){for(var r in e)t[r]=e[r];return t},Nt=function t(e,r){for(var i in r)e[i]=tt(r[i])?t(e[i]||(e[i]={}),r[i]):r[i];return e},Gt=function(t,e){var r,i={};for(r in t)r in e||(i[r]=t[r]);return i},Ht=function(t){var e=t.parent||F,r=t.keyframes?Vt:Ot;if(et(t.inherit))while(e)r(t,e.vars.defaults),e=e.parent;return t},jt=function(t,e){var r=t.length,i=r===e.length;while(i&&r--&&t[r]===e[r]);return r<0},$t=function(t,e,r,i,a){void 0===r&&(r="_first"),void 0===i&&(i="_last");var n,s=t[i];if(a){n=e[a];while(s&&s[a]>n)s=s._prev}return s?(e._next=s._next,s._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[i]=e,e._prev=s,e.parent=t,e},qt=function(t,e,r,i){void 0===r&&(r="_first"),void 0===i&&(i="_last");var a=e._prev,n=e._next;a?a._next=n:t[r]===e&&(t[r]=n),n?n._prev=a:t[i]===e&&(t[i]=a),e._dp=t,e._next=e._prev=e.parent=null},Wt=function(t,e){!t.parent||e&&!t.parent.autoRemoveChildren||t.parent.remove(t),t._act=0},Yt=function(t){var e=t;while(e)e._dirty=1,e=e.parent;return t},Xt=function(t){var e=t.parent;while(e&&e.parent)e._dirty=1,e.totalDuration(),e=e.parent;return t},Ut=function t(e){return!e||e._ts&&t(e.parent)},Kt=function(t){return t._repeat?Zt(t._tTime,t=t.duration()+t._rDelay)*t:0},Zt=function(t,e){return(t/=e)&&~~t===t?~~t-1:~~t},Jt=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Qt=function(t,e,r){if(e.parent&&Wt(e),e._start=r+e._delay,e._end=e._start+(e.totalDuration()/Math.abs(e.timeScale())||0),$t(t,e,"_first","_last",t._sort?"_start":0),t._recent=e,e._time||!e._dur&&e._initted){var i=(t.rawTime()-e._start)*e._ts;(!e._dur||oe(0,e.totalDuration(),i)-e._tTime>j)&&e.render(i,!0)}if(Yt(t),t._dp&&t._time>=t._dur&&t._ts&&t._dur<t.duration()){var a=t;while(a._dp)a.totalTime(a._tTime,!0),a=a._dp}return t},te=function(t,e,r,i){return or(t,e),t._initted?!r&&t._pt&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&O!==Ne.frame?(bt.push(t),t._lazy=[e,i],1):void 0:1},ee=function(t,e,r,i){var a,n,s,o=t._zTime<0?0:1,l=e<0?0:1,h=t._rDelay,c=0;if(h&&t._repeat&&(c=oe(0,t._tDur,e),n=Zt(c,h),s=Zt(t._tTime,h),n!==s&&(o=1-l,t.vars.repeatRefresh&&t._initted&&t.invalidate())),(t._initted||!te(t,e,i,r))&&(l!==o||i||t._zTime===j||!e&&t._zTime)){t._zTime=e||(r?j:0),t.ratio=l,t._from&&(l=1-l),t._time=0,t._tTime=c,r||Ae(t,"onStart"),a=t._pt;while(a)a.r(l,a.d),a=a._next;!l&&t._startAt&&!t._onUpdate&&t._start&&t._startAt.render(e,!0,i),t._onUpdate&&!r&&Ae(t,"onUpdate"),c&&t._repeat&&!r&&t.parent&&Ae(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===l&&(t.ratio&&Wt(t,1),r||(Ae(t,t.ratio?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}},re=function(t,e,r){var i;if(r>e){i=t._first;while(i&&i._start<=r){if(!i._dur&&"isPause"===i.data&&i._start>e)return i;i=i._next}}else{i=t._last;while(i&&i._start>=r){if(!i._dur&&"isPause"===i.data&&i._start<e)return i;i=i._prev}}},ie=function(t){if(t instanceof er)return Yt(t);var e=t._repeat;return t._tDur=e?e<0?1e12:Mt(t._dur*(e+1)+t._rDelay*e):t._dur,Yt(t.parent),t},ae={_start:0,endTime:vt},ne=function t(e,r,i){var a,n,s=e.labels,o=e._recent||ae,l=e.duration()>=H?o.endTime(!1):e._dur;return K(r)&&(isNaN(r)||r in s)?(a=r.charAt(0),"<"===a||">"===a?("<"===a?o._start:o.endTime(o._repeat>=0))+(parseFloat(r.substr(1))||0):(a=r.indexOf("="),a<0?(r in s||(s[r]=l),s[r]):(n=+(r.charAt(a-1)+r.substr(a+1)),a>1?t(e,r.substr(0,a-1))+n:l+n))):null==r?l:+r},se=function(t,e){return t||0===t?e(t):e},oe=function(t,e,r){return r<t?t:r>e?e:r},le=function(t){return(t+"").substr((parseFloat(t)+"").length)},he=function(t,e,r){return se(r,(function(r){return oe(t,e,r)}))},ce=[].slice,ue=function(t,e){return t&&tt(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&tt(t[0]))&&!t.nodeType&&t!==I},pe=function(t,e,r){return void 0===r&&(r=[]),t.forEach((function(t){var i;return K(t)&&!e||ue(t,1)?(i=r).push.apply(i,fe(t)):r.push(t)}))||r},fe=function(t,e){return!K(t)||e||!B&&Ge()?at(t)?pe(t,e):ue(t)?ce.call(t,0):t?[t]:[]:ce.call(R.querySelectorAll(t),0)},de=function(t){return t.sort((function(){return.5-Math.random()}))},me=function(t){if(Z(t))return t;var e=tt(t)?t:{each:t},r=Xe(e.ease),i=e.from||0,a=parseFloat(e.base)||0,n={},s=i>0&&i<1,o=isNaN(i)||s,l=e.axis,h=i,c=i;return K(i)?h=c={center:.5,edges:.5,end:1}[i]||0:!s&&o&&(h=i[0],c=i[1]),function(t,s,u){var p,f,d,m,g,v,y,b,_,x=(u||e).length,E=n[x];if(!E){if(_="auto"===e.grid?0:(e.grid||[1,H])[1],!_){y=-H;while(y<(y=u[_++].getBoundingClientRect().left)&&_<x);_--}for(E=n[x]=[],p=o?Math.min(_,x)*h-.5:i%_,f=o?x*c/_-.5:i/_|0,y=0,b=H,v=0;v<x;v++)d=v%_-p,m=f-(v/_|0),E[v]=g=l?Math.abs("y"===l?m:d):Y(d*d+m*m),g>y&&(y=g),g<b&&(b=g);"random"===i&&de(E),E.max=y-b,E.min=b,E.v=x=(parseFloat(e.amount)||parseFloat(e.each)*(_>x?x-1:l?"y"===l?x/_:_:Math.max(_,x/_))||0)*("edges"===i?-1:1),E.b=x<0?a-x:a,E.u=le(e.amount||e.each)||0,r=r&&x<0?Ye(r):r}return x=(E[t]-E.min)/E.max||0,Mt(E.b+(r?r(x):x)*E.v)+E.u}},ge=function(t){var e=t<1?Math.pow(10,(t+"").length-2):1;return function(r){return~~(Math.round(parseFloat(r)/t)*t*e)/e+(J(r)?0:le(r))}},ve=function(t,e){var r,i,a=at(t);return!a&&tt(t)&&(r=a=t.radius||H,t.values?(t=fe(t.values),(i=!J(t[0]))&&(r*=r)):t=ge(t.increment)),se(e,a?Z(t)?function(e){return i=t(e),Math.abs(i-e)<=r?i:e}:function(e){var a,n,s=parseFloat(i?e.x:e),o=parseFloat(i?e.y:0),l=H,h=0,c=t.length;while(c--)i?(a=t[c].x-s,n=t[c].y-o,a=a*a+n*n):a=Math.abs(t[c]-s),a<l&&(l=a,h=c);return h=!r||l<=r?t[h]:e,i||h===e||J(e)?h:h+le(e)}:ge(t))},ye=function(t,e,r,i){return se(at(t)?!e:!0===r?!!(r=0):!i,(function(){return at(t)?t[~~(Math.random()*t.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+"").length-2):1)&&~~(Math.round((t+Math.random()*(e-t))/r)*r*i)/i}))},be=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t){return e.reduce((function(t,e){return e(t)}),t)}},_e=function(t,e){return function(r){return t(parseFloat(r))+(e||le(r))}},xe=function(t,e,r){return we(t,e,0,1,r)},Ee=function(t,e,r){return se(r,(function(r){return t[~~e(r)]}))},Se=function t(e,r,i){var a=r-e;return at(e)?Ee(e,t(0,e.length),r):se(i,(function(t){return(a+(t-e)%a)%a+e}))},ke=function t(e,r,i){var a=r-e,n=2*a;return at(e)?Ee(e,t(0,e.length-1),r):se(i,(function(t){return t=(n+(t-e)%n)%n,e+(t>a?n-t:t)}))},Ce=function(t){var e,r,i,a,n=0,s="";while(~(e=t.indexOf("random(",n)))i=t.indexOf(")",e),a="["===t.charAt(e+7),r=t.substr(e+7,i-e-7).match(a?ct:nt),s+=t.substr(n,e-n)+ye(a?r:+r[0],+r[1],+r[2]||1e-5),n=i+1;return s+t.substr(n,t.length-n)},we=function(t,e,r,i,a){var n=e-t,s=i-r;return se(a,(function(e){return r+(e-t)/n*s}))},Te=function t(e,r,i,a){var n=isNaN(e+r)?0:function(t){return(1-t)*e+t*r};if(!n){var s,o,l,h,c,u=K(e),p={};if(!0===i&&(a=1)&&(i=null),u)e={p:e},r={p:r};else if(at(e)&&!at(r)){for(l=[],h=e.length,c=h-2,o=1;o<h;o++)l.push(t(e[o-1],e[o]));h--,n=function(t){t*=h;var e=Math.min(c,~~t);return l[e](t-e)},i=r}else a||(e=Lt(at(e)?[]:{},e));if(!l){for(s in r)ar.call(p,e,s,"get",r[s]);n=function(t){return xr(t,p)||(u?e.p:e)}}}return se(i,n)},Pe=function(t,e,r){var i,a,n,s=t.labels,o=H;for(i in s)a=s[i]-e,a<0===!!r&&a&&o>(a=Math.abs(a))&&(n=i,o=a);return n},Ae=function(t,e,r){var i,a,n=t.vars,s=n[e];if(s)return i=n[e+"Params"],a=n.callbackScope||t,r&&bt.length&&It(),i?s.apply(a,i):s.call(a)},Me=function(t){return Wt(t),t.progress()<1&&Ae(t,"onInterrupt"),t},De=function(t){t=!t.name&&t["default"]||t;var e=t.name,r=Z(t),i=e&&!r&&t.init?function(){this._props=[]}:t,a={init:vt,render:xr,add:ar,kill:Sr,modifier:Er,rawVars:0},n={targetTest:0,get:0,getSetter:vr,aliases:{},register:0};if(Ge(),t!==i){if(xt[e])return;Ot(i,Ot(Gt(t,a),n)),Lt(i.prototype,Lt(a,Gt(t,n))),xt[i.prop=e]=i,t.targetTest&&(kt.push(i),yt[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}gt(e,i),t.register&&t.register(Dr,i,wr)},Fe=255,Ie={aqua:[0,Fe,Fe],lime:[0,Fe,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Fe],navy:[0,0,128],white:[Fe,Fe,Fe],olive:[128,128,0],yellow:[Fe,Fe,0],orange:[Fe,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Fe,0,0],pink:[Fe,192,203],cyan:[0,Fe,Fe],transparent:[Fe,Fe,Fe,0]},Be=function(t,e,r){return t=t<0?t+1:t>1?t-1:t,(6*t<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)*Fe+.5|0},Re=function(t,e){var r,i,a,n,s,o,l,h,c,u,p=t?J(t)?[t>>16,t>>8&Fe,t&Fe]:0:Ie.black;if(!p){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),Ie[t])p=Ie[t];else if("#"===t.charAt(0))4===t.length&&(r=t.charAt(1),i=t.charAt(2),a=t.charAt(3),t="#"+r+r+i+i+a+a),t=parseInt(t.substr(1),16),p=[t>>16,t>>8&Fe,t&Fe];else if("hsl"===t.substr(0,3))if(p=u=t.match(nt),e){if(~t.indexOf("="))return t.match(st)}else n=+p[0]%360/360,s=+p[1]/100,o=+p[2]/100,i=o<=.5?o*(s+1):o+s-o*s,r=2*o-i,p.length>3&&(p[3]*=1),p[0]=Be(n+1/3,r,i),p[1]=Be(n,r,i),p[2]=Be(n-1/3,r,i);else p=t.match(nt)||Ie.transparent;p=p.map(Number)}return e&&!u&&(r=p[0]/Fe,i=p[1]/Fe,a=p[2]/Fe,l=Math.max(r,i,a),h=Math.min(r,i,a),o=(l+h)/2,l===h?n=s=0:(c=l-h,s=o>.5?c/(2-l-h):c/(l+h),n=l===r?(i-a)/c+(i<a?6:0):l===i?(a-r)/c+2:(r-i)/c+4,n*=60),p[0]=n+.5|0,p[1]=100*s+.5|0,p[2]=100*o+.5|0),p},ze=function(t,e){var r,i,a,n=(t+"").match(Oe),s=0,o="";if(!n)return t;for(r=0;r<n.length;r++)i=n[r],a=t.substr(s,t.indexOf(i,s)-s),s+=a.length+i.length,i=Re(i,e),3===i.length&&i.push(1),o+=a+(e?"hsla("+i[0]+","+i[1]+"%,"+i[2]+"%,"+i[3]:"rgba("+i.join(","))+")";return o+t.substr(s)},Oe=function(){var t,e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(t in Ie)e+="|"+t+"\\b";return new RegExp(e+")","gi")}(),Ve=/hsl[a]?\(/,Le=function(t){var e,r=t.join(" ");Oe.lastIndex=0,Oe.test(r)&&(e=Ve.test(r),t[0]=ze(t[0],e),t[1]=ze(t[1],e))},Ne=function(){var t,e,r,i,a=Date.now,n=500,s=33,o=a(),l=o,h=1/60,c=h,u=[],p=function r(p){var f,d,m=a()-l,g=!0===p;m>n&&(o+=m-s),l+=m,i.time=(l-o)/1e3,f=i.time-c,(f>0||g)&&(i.frame++,c+=f+(f>=h?.004:h-f),d=1),g||(t=e(r)),d&&u.forEach((function(t){return t(i.time,m,i.frame,p)}))};return i={time:0,frame:0,tick:function(){p(!0)},wake:function(){z&&(!B&&rt()&&(I=B=window,R=I.document||{},ut.gsap=Dr,(I.gsapVersions||(I.gsapVersions=[])).push(Dr.version),ft(pt||I.GreenSockGlobals||!I.gsap&&I||{}),r=I.requestAnimationFrame),t&&i.sleep(),e=r||function(t){return setTimeout(t,1e3*(c-i.time)+1|0)},L=1,p(2))},sleep:function(){(r?I.cancelAnimationFrame:clearTimeout)(t),L=0,e=vt},lagSmoothing:function(t,e){n=t||1/j,s=Math.min(e,n,0)},fps:function(t){h=1/(t||60),c=i.time+h},add:function(t){u.indexOf(t)<0&&u.push(t),Ge()},remove:function(t){var e;~(e=u.indexOf(t))&&u.splice(e,1)},_listeners:u},i}(),Ge=function(){return!L&&Ne.wake()},He={},je=/^[\d.\-M][\d.\-,\s]/,$e=/["']/g,qe=function(t){for(var e,r,i,a={},n=t.substr(1,t.length-3).split(":"),s=n[0],o=1,l=n.length;o<l;o++)r=n[o],e=o!==l-1?r.lastIndexOf(","):r.length,i=r.substr(0,e),a[s]=isNaN(i)?i.replace($e,"").trim():+i,s=r.substr(e+1).trim();return a},We=function(t){var e=(t+"").split("("),r=He[e[0]];return r&&e.length>1&&r.config?r.config.apply(null,~t.indexOf("{")?[qe(e[1])]:lt.exec(t)[1].split(",").map(Rt)):He._CE&&je.test(t)?He._CE("",t):r},Ye=function(t){return function(e){return 1-t(1-e)}},Xe=function(t,e){return t&&(Z(t)?t:He[t]||We(t))||e},Ue=function(t,e,r,i){void 0===r&&(r=function(t){return 1-e(1-t)}),void 0===i&&(i=function(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var a,n={easeIn:e,easeOut:r,easeInOut:i};return At(t,(function(t){for(var e in He[t]=ut[t]=n,He[a=t.toLowerCase()]=r,n)He[a+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=He[t+"."+e]=n[e]})),n},Ke=function(t){return function(e){return e<.5?(1-t(1-2*e))/2:.5+t(2*(e-.5))/2}},Ze=function t(e,r,i){var a=r>=1?r:1,n=(i||(e?.3:.45))/(r<1?r:1),s=n/$*(Math.asin(1/a)||0),o=function(t){return 1===t?1:a*Math.pow(2,-10*t)*U((t-s)*n)+1},l="out"===e?o:"in"===e?function(t){return 1-o(1-t)}:Ke(o);return n=$/n,l.config=function(r,i){return t(e,r,i)},l},Je=function t(e,r){void 0===r&&(r=1.70158);var i=function(t){return--t*t*((r+1)*t+r)+1},a="out"===e?i:"in"===e?function(t){return 1-i(1-t)}:Ke(i);return a.config=function(r){return t(e,r)},a};At("Linear,Quad,Cubic,Quart,Quint,Strong",(function(t,e){var r=e<5?e+1:e;Ue(t+",Power"+(r-1),e?function(t){return Math.pow(t,r)}:function(t){return t},(function(t){return 1-Math.pow(1-t,r)}),(function(t){return t<.5?Math.pow(2*t,r)/2:1-Math.pow(2*(1-t),r)/2}))})),He.Linear.easeNone=He.none=He.Linear.easeIn,Ue("Elastic",Ze("in"),Ze("out"),Ze()),function(t,e){var r=1/e,i=2*r,a=2.5*r,n=function(n){return n<r?t*n*n:n<i?t*Math.pow(n-1.5/e,2)+.75:n<a?t*(n-=2.25/e)*n+.9375:t*Math.pow(n-2.625/e,2)+.984375};Ue("Bounce",(function(t){return 1-n(1-t)}),n)}(7.5625,2.75),Ue("Expo",(function(t){return t?Math.pow(2,10*(t-1)):0})),Ue("Circ",(function(t){return-(Y(1-t*t)-1)})),Ue("Sine",(function(t){return 1-X(t*q)})),Ue("Back",Je("in"),Je("out"),Je()),He.SteppedEase=He.steps=ut.SteppedEase={config:function(t,e){void 0===t&&(t=1);var r=1/t,i=t+(e?0:1),a=e?1:0,n=1-j;return function(t){return((i*oe(0,n,t)|0)+a)*r}}},G.ease=He["quad.out"];var Qe=function(t,e){this.id=W++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:Pt,this.set=e?e.getSetter:vr},tr=function(){function t(t,e){var r=t.parent||F;this.vars=t,this._dur=this._tDur=+t.duration||0,this._delay=+t.delay||0,(this._repeat=t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase,ie(this)),this._ts=1,this.data=t.data,L||Ne.wake(),r&&Qt(r,this,e||0===e?e:r._time),t.reversed&&this.reversed(!0),t.paused&&this.paused(!0)}var e=t.prototype;return e.delay=function(t){return t||0===t?(this._delay=t,this):this._delay},e.duration=function(t){var e=arguments.length,r=this._repeat,i=r>0?r*((e?t:this._dur)+this._rDelay):0;return e?this.totalDuration(r<0?t:t+i):this.totalDuration()&&this._dur},e.totalDuration=function(t){if(!arguments.length)return this._tDur;var e=this._repeat,r=(t||this._rDelay)&&e<0;return this._tDur=r?1e12:t,this._dur=r?t:(t-e*this._rDelay)/(e+1),this._dirty=0,Yt(this.parent),this},e.totalTime=function(t,e){if(Ge(),!arguments.length)return this._tTime;var r,i=this.parent||this._dp;if(i&&i.smoothChildTiming&&this._ts){r=this._start,this._start=i._time-(this._ts>0?t/this._ts:((this._dirty?this.totalDuration():this._tDur)-t)/-this._ts),this._end+=this._start-r,i._dirty||Yt(i);while(i.parent)i.parent._time!==i._start+(i._ts>0?i._tTime/i._ts:(i.totalDuration()-i._tTime)/-i._ts)&&i.totalTime(i._tTime,!0),i=i.parent;!this.parent&&i.autoRemoveChildren&&Qt(i,this,this._start-this._delay)}return this._tTime===t&&(this._dur||e)||(this._ts||(this._pTime=t),Bt(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+Kt(this))%this._dur||(t?this._dur:0),e):this._time},e.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._tTime/this.totalDuration()},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+Kt(this),e):this.duration()?this._time/this._dur:this.ratio},e.iteration=function(t,e){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?Zt(this._tTime,r)+1:1},e.timeScale=function(t){if(!arguments.length)return this._ts||this._pauseTS||0;if(null!==this._pauseTS)return this._pauseTS=t,this;var e=this.parent&&this._ts?Jt(this.parent._time,this):this._tTime;return this._ts=t,Xt(this.totalTime(e,!0))},e.paused=function(t){var e=!this._ts;return arguments.length?(e!==t&&(t?(this._pauseTS=this._ts,this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(this._ts=this._pauseTS||1,this._pauseTS=null,t=this._tTime||this._pTime,1===this.progress()&&(this._tTime-=j),this.totalTime(t,!0))),this):e},e.startTime=function(t){return arguments.length?(this.parent&&this.parent._sort&&Qt(this.parent,this,t-this._delay),this):this._start},e.endTime=function(t){return this._start+(et(t)?this.totalDuration():this.duration())/Math.abs(this._ts)},e.rawTime=function(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Jt(e.rawTime(t),this):this._tTime:this._tTime},e.repeat=function(t){return arguments.length?(this._repeat=t,ie(this)):this._repeat},e.repeatDelay=function(t){return arguments.length?(this._rDelay=t,ie(this)):this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,e){return this.totalTime(ne(this,t),et(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,et(e))},e.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},e.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},e.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(t){var e=this._ts||this._pauseTS||0;return arguments.length?(t!==this.reversed()&&(this[null===this._pauseTS?"_ts":"_pauseTS"]=Math.abs(e)*(t?-1:1),this.totalTime(this._tTime,!0)),this):e<0},e.invalidate=function(){return this._initted=0,this},e.isActive=function(t){var e,r=this.parent||this._dp,i=this._start;return!(r&&!(this._ts&&(this._initted||!t)&&r.isActive(t)&&(e=r.rawTime(!0))>=i&&e<this.endTime(!0)-j))},e.eventCallback=function(t,e,r){var i=this.vars;return arguments.length>1?(e?(i[t]=e,r&&(i[t+"Params"]=r),"onUpdate"===t&&(this._onUpdate=e)):delete i[t],this):i[t]},e.then=function(t){var e=this;return new Promise((function(r){var i=Z(t)?t:zt,a=function(){var t=e.then;e.then=null,i=i(e),i&&(i.then||i===e?e.then=t:Z(i)||(i=zt)),r(i),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?a():e._prom=a}))},e.kill=function(){Me(this)},t}();Ot(tr.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:0,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-j,_prom:0,_pauseTS:null});var er=function(t){function e(e,r){var i;return void 0===e&&(e={}),i=t.call(this,e,r)||this,i.labels={},i.smoothChildTiming=et(e.smoothChildTiming),i.autoRemoveChildren=!!e.autoRemoveChildren,i._sort=et(e.sortChildren),i}D(e,t);var r=e.prototype;return r.to=function(t,e,r){return new pr(t,Ft(arguments,0,this),ne(this,J(e)?arguments[3]:r)),this},r.from=function(t,e,r){return new pr(t,Ft(arguments,1,this),ne(this,J(e)?arguments[3]:r)),this},r.fromTo=function(t,e,r,i){return new pr(t,Ft(arguments,2,this),ne(this,J(e)?arguments[4]:i)),this},r.set=function(t,e,r){return e.duration=0,e.parent=this,e.repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new pr(t,e,ne(this,r)),this},r.call=function(t,e,r){return Qt(this,pr.delayedCall(0,t,e),ne(this,r))},r.staggerTo=function(t,e,r,i,a,n,s){return r.duration=e,r.stagger=r.stagger||i,r.onComplete=n,r.onCompleteParams=s,r.parent=this,new pr(t,r,ne(this,a)),this},r.staggerFrom=function(t,e,r,i,a,n,s){return r.runBackwards=1,r.immediateRender=et(r.immediateRender),this.staggerTo(t,e,r,i,a,n,s)},r.staggerFromTo=function(t,e,r,i,a,n,s,o){return i.startAt=r,i.immediateRender=et(i.immediateRender),this.staggerTo(t,e,i,a,n,s,o)},r.render=function(t,e,r){var i,a,n,s,o,l,h,c,u,p,f,d,m=this._time,g=this._dirty?this.totalDuration():this._tDur,v=this._dur,y=t>g-j&&t>=0&&this!==F?g:t<j?0:t,b=this._zTime<0!==t<0&&(this._initted||!v);if(y!==this._tTime||r||b){if(b&&(v||(m=this._zTime),!t&&e||(this._zTime=t)),i=y,u=this._start,c=this._ts,l=0===c,m!==this._time&&v&&(i+=this._time-m),this._repeat&&(f=this._yoyo,o=v+this._rDelay,i=Mt(y%o),(i>v||g===y)&&(i=v),s=~~(y/o),s&&s===y/o&&(i=v,s--),p=Zt(this._tTime,o),f&&1&s&&(i=v-i,d=1),s!==p&&!this._lock)){var _=f&&1&p,x=_===(f&&1&s);if(s<p&&(_=!_),m=_?0:v,this._lock=1,this.render(m,e,!v)._lock=0,!e&&this.parent&&Ae(this,"onRepeat"),this.vars.repeatRefresh&&!d&&this.getChildren().forEach((function(t){return t.invalidate()})),m!==this._time||l!==!this._ts)return this;if(x&&(this._lock=2,m=_?v+1e-4:-1e-4,this.render(m,!0)),this._lock=0,!this._ts&&!l)return this}if(this._hasPause&&!this._forcing&&this._lock<2&&(h=re(this,Mt(m),Mt(i)),h&&(y-=i-(i=h._start))),this._tTime=y,this._time=i,this._act=!c,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1),m||!i||e||Ae(this,"onStart"),i>=m&&t>=0){a=this._first;while(a){if(n=a._next,(a._act||i>=a._start)&&a._ts&&h!==a){if(a.parent!==this)return this.render(t,e,r);if(a.render(a._ts>0?(i-a._start)*a._ts:(a._dirty?a.totalDuration():a._tDur)+(i-a._start)*a._ts,e,r),i!==this._time||!this._ts&&!l){h=0;break}}a=n}}else{a=this._last;var E=t<0?t:i;while(a){if(n=a._prev,(a._act||E<=a._end)&&a._ts&&h!==a){if(a.parent!==this)return this.render(t,e,r);if(a.render(a._ts>0?(E-a._start)*a._ts:(a._dirty?a.totalDuration():a._tDur)+(E-a._start)*a._ts,e,r),i!==this._time||!this._ts&&!l){h=0;break}}a=n}}if(h&&!e&&(this.pause(),h.render(i>=m?0:-j)._zTime=i>=m?1:-1,this._ts))return this._start=u,this.render(t,e,r);this._onUpdate&&!e&&Ae(this,"onUpdate",!0),(y===g&&g>=this.totalDuration()||!y&&this._ts<0)&&(u!==this._start&&Math.abs(c)===Math.abs(this._ts)||((t||!v)&&(t&&this._ts>0||!y&&this._ts<0)&&Wt(this,1),e||t<0&&!m||(Ae(this,y===g?"onComplete":"onReverseComplete",!0),this._prom&&this._prom())))}return this},r.add=function(t,e){var r=this;if(J(e)||(e=ne(this,e)),!(t instanceof tr)){if(at(t))return t.forEach((function(t){return r.add(t,e)})),Yt(this);if(K(t))return this.addLabel(t,e);if(!Z(t))return this;t=pr.delayedCall(0,t)}return this!==t?Qt(this,t,e):this},r.getChildren=function(t,e,r,i){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),void 0===i&&(i=-H);var a=[],n=this._first;while(n)n._start>=i&&(n instanceof pr?e&&a.push(n):(r&&a.push(n),t&&a.push.apply(a,n.getChildren(!0,e,r)))),n=n._next;return a},r.getById=function(t){var e=this.getChildren(1,1,1),r=e.length;while(r--)if(e[r].vars.id===t)return e[r]},r.remove=function(t){return K(t)?this.removeLabel(t):Z(t)?this.killTweensOf(t):(qt(this,t),t===this._recent&&(this._recent=this._last),Yt(this))},r.totalTime=function(e,r){return arguments.length?(this._forcing=1,this.parent||this._dp||!this._ts||(this._start=Ne.time-(this._ts>0?e/this._ts:(this.totalDuration()-e)/-this._ts)),t.prototype.totalTime.call(this,e,r),this._forcing=0,this):this._tTime},r.addLabel=function(t,e){return this.labels[t]=ne(this,e),this},r.removeLabel=function(t){return delete this.labels[t],this},r.addPause=function(t,e,r){var i=pr.delayedCall(0,e||vt,r);return i.data="isPause",this._hasPause=1,Qt(this,i,ne(this,t))},r.removePause=function(t){var e=this._first;t=ne(this,t);while(e)e._start===t&&"isPause"===e.data&&Wt(e),e=e._next},r.killTweensOf=function(t,e,r){var i=this.getTweensOf(t,r),a=i.length;while(a--)rr!==i[a]&&i[a].kill(t,e);return this},r.getTweensOf=function(t,e){var r,i=[],a=fe(t),n=this._first;while(n)n instanceof pr?!Dt(n._targets,a)||e&&!n.isActive("started"===e)||i.push(n):(r=n.getTweensOf(a,e)).length&&i.push.apply(i,r),n=n._next;return i},r.tweenTo=function(t,e){var r=this,i=ne(r,t),a=e&&e.startAt,n=pr.to(r,Ot({ease:"none",lazy:!1,time:i,duration:Math.abs(i-(a&&"time"in a?a.time:r._time))/r.timeScale()||j,onStart:function(){r.pause();var t=Math.abs(i-r._time)/r.timeScale();n._dur!==t&&(n._dur=t,n.render(n._time,!0,!0)),e&&e.onStart&&e.onStart.apply(n,e.onStartParams||[])}},e));return n},r.tweenFromTo=function(t,e,r){return this.tweenTo(e,Ot({startAt:{time:ne(this,t)}},r))},r.recent=function(){return this._recent},r.nextLabel=function(t){return void 0===t&&(t=this._time),Pe(this,ne(this,t))},r.previousLabel=function(t){return void 0===t&&(t=this._time),Pe(this,ne(this,t),1)},r.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+j)},r.shiftChildren=function(t,e,r){void 0===r&&(r=0);var i,a=this._first,n=this.labels;while(a)a._start>=r&&(a._start+=t),a=a._next;if(e)for(i in n)n[i]>=r&&(n[i]+=t);return Yt(this)},r.invalidate=function(){var e=this._first;this._lock=0;while(e)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this)},r.clear=function(t){void 0===t&&(t=!0);var e,r=this._first;while(r)e=r._next,this.remove(r),r=e;return this._time=this._tTime=0,t&&(this.labels={}),Yt(this)},r.totalDuration=function(t){var e,r,i=0,a=this,n=a._last,s=H,o=a._repeat,l=o*a._rDelay||0,h=o<0;if(!arguments.length){if(a._dirty){while(n)e=n._prev,n._dirty&&n.totalDuration(),n._start>s&&a._sort&&n._ts&&!a._lock?(a._lock=1,Qt(a,n,n._start-n._delay),a._lock=0):s=n._start,n._start<0&&n._ts&&(i-=n._start,(!a.parent&&!a._dp||a.parent&&a.parent.smoothChildTiming)&&(a._start+=n._start/a._ts,a._time-=n._start,a._tTime-=n._start),a.shiftChildren(-n._start,!1,-1e20),s=0),r=n._end=n._start+n._tDur/Math.abs(n._ts||n._pauseTS||j),r>i&&n._ts&&(i=Mt(r)),n=e;a._dur=a===F&&a._time>i?a._time:Math.min(H,i),a._tDur=h&&(a._dur||l)?1e12:Math.min(H,i*(o+1)+l),a._end=a._start+(a._tDur/Math.abs(a._ts||a._pauseTS||j)||0),a._dirty=0}return a._tDur}return h?a:a.timeScale(a.totalDuration()/t)},e.updateRoot=function(t){if(F._ts&&(Bt(F,Jt(t,F)),O=Ne.frame),Ne.frame>=St){St+=N.autoSleep||120;var e=F._first;if((!e||!e._ts)&&N.autoSleep&&Ne._listeners.length<2){while(e&&!e._ts)e=e._next;e||Ne.sleep()}}},e}(tr);Ot(er.prototype,{_lock:0,_hasPause:0,_forcing:0});var rr,ir=function(t,e,r,i,a,n,s){var o,l,h,c,u,p,f,d,m=new wr(this._pt,t,e,0,1,_r,null,a),g=0,v=0;m.b=r,m.e=i,r+="",i+="",(f=~i.indexOf("random("))&&(i=Ce(i)),n&&(d=[r,i],n(d,t,e),r=d[0],i=d[1]),l=r.match(ot)||[];while(o=ot.exec(i))c=o[0],u=i.substring(g,o.index),h?h=(h+1)%5:"rgba("===u.substr(-5)&&(h=1),c!==l[v++]&&(p=parseFloat(l[v-1])||0,m._pt={_next:m._pt,p:u||1===v?u:",",s:p,c:"="===c.charAt(1)?parseFloat(c.substr(2))*("-"===c.charAt(0)?-1:1):parseFloat(c)-p,m:h&&h<4?Math.round:0},g=ot.lastIndex);return m.c=g<i.length?i.substring(g,i.length):"",m.fp=s,(ht.test(i)||f)&&(m.e=0),this._pt=m,m},ar=function(t,e,r,i,a,n,s,o,l){Z(i)&&(i=i(a||0,t,n));var h,c=t[e],u="get"!==r?r:Z(c)?l?t[e.indexOf("set")||!Z(t["get"+e.substr(3)])?e:"get"+e.substr(3)](l):t[e]():c,p=Z(c)?l?mr:dr:fr;if(K(i)&&(~i.indexOf("random(")&&(i=Ce(i)),"="===i.charAt(1)&&(i=parseFloat(u)+parseFloat(i.substr(2))*("-"===i.charAt(0)?-1:1)+(le(u)||0))),u!==i)return isNaN(u+i)?(!c&&!(e in t)&&dt(e,i),ir.call(this,t,e,u,i,p,o||N.stringFilter,l)):(h=new wr(this._pt,t,e,+u||0,i-(u||0),"boolean"===typeof c?br:yr,0,p),l&&(h.fp=l),s&&h.modifier(s,this,t),this._pt=h)},nr=function(t,e,r,i,a){if(Z(t)&&(t=hr(t,a,e,r,i)),!tt(t)||t.style&&t.nodeType||at(t))return K(t)?hr(t,a,e,r,i):t;var n,s={};for(n in t)s[n]=hr(t[n],a,e,r,i);return s},sr=function(t,e,r,i,a,n){var s,o,l,h;if(xt[t]&&!1!==(s=new xt[t]).init(a,s.rawVars?e[t]:nr(e[t],i,a,n,r),r,i,n)&&(r._pt=o=new wr(r._pt,a,t,0,1,s.render,s,0,s.priority),r!==V)){l=r._ptLookup[r._targets.indexOf(a)],h=s._props.length;while(h--)l[s._props[h]]=o}return s},or=function t(e,r){var i,a,n,s,o,l,h,c,u,p,f,d,m=e.vars,g=m.ease,v=m.startAt,y=m.immediateRender,b=m.lazy,_=m.onUpdate,x=m.onUpdateParams,E=m.callbackScope,S=m.runBackwards,k=m.yoyoEase,C=m.keyframes,w=m.autoRevert,T=e._dur,P=e._startAt,A=e._targets,M=e.parent,D=M&&"nested"===M.data?M.parent._targets:A,I="auto"===e._overwrite,B=e.timeline;if(!B||C&&g||(g="none"),e._ease=Xe(g,G.ease),e._yEase=k?Ye(Xe(!0===k?g:k,G.ease)):0,k&&e._yoyo&&!e._repeat&&(k=e._yEase,e._yEase=e._ease,e._ease=k),!B){if(P&&P.render(-1,!0).kill(),v){if(Wt(e._startAt=pr.set(A,Ot({data:"isStart",overwrite:!1,parent:M,immediateRender:!0,lazy:et(b),startAt:null,delay:0,onUpdate:_,onUpdateParams:x,callbackScope:E,stagger:0},v))),y)if(r>0)!w&&(e._startAt=0);else if(T)return}else if(S&&T)if(P)!w&&(e._startAt=0);else if(r&&(y=!1),Wt(e._startAt=pr.set(A,Lt(Gt(m,yt),{overwrite:!1,data:"isFromStart",lazy:y&&et(b),immediateRender:y,stagger:0,parent:M}))),y){if(!r)return}else t(e._startAt,j);for(i=Gt(m,yt),e._pt=0,c=A[0]?Tt(A[0]).harness:0,d=c&&m[c.prop],b=T&&et(b)||b&&!T,a=0;a<A.length;a++){if(o=A[a],h=o._gsap||wt(A)[a]._gsap,e._ptLookup[a]=p={},_t[h.id]&&It(),f=D===A?a:D.indexOf(o),c&&!1!==(u=new c).init(o,d||i,e,f,D)&&(e._pt=s=new wr(e._pt,o,u.name,0,1,u.render,u,0,u.priority),u._props.forEach((function(t){p[t]=s})),u.priority&&(l=1)),!c||d)for(n in i)xt[n]&&(u=sr(n,i,e,f,o,D))?u.priority&&(l=1):p[n]=s=ar.call(e,o,n,"get",i[n],f,D,0,m.stringFilter);e._op&&e._op[a]&&e.kill(o,e._op[a]),I&&e._pt&&(rr=e,F.killTweensOf(o,p,"started"),rr=0),e._pt&&b&&(_t[h.id]=1)}l&&Cr(e),e._onInit&&e._onInit(e)}e._from=!B&&!!m.runBackwards,e._onUpdate=_,e._initted=1},lr=function(t,e){var r,i,a,n,s=t[0]?Tt(t[0]).harness:0,o=s&&s.aliases;if(!o)return e;for(i in r=Lt({},e),o)if(i in r){n=o[i].split(","),a=n.length;while(a--)r[n[a]]=r[i]}return r},hr=function(t,e,r,i,a){return Z(t)?t.call(e,r,i,a):K(t)&&~t.indexOf("random(")?Ce(t):t},cr=Ct+",repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase",ur=(cr+",id,stagger,delay,duration,paused").split(","),pr=function(t){function e(e,r,i){var a;"number"===typeof r&&(i.duration=r,r=i,i=null),a=t.call(this,Ht(r),i)||this;var n,s,o,l,h,c,u,p,f=a.vars,d=f.duration,m=f.delay,g=f.immediateRender,v=f.stagger,y=f.overwrite,b=f.keyframes,_=f.defaults,x=at(e)&&J(e[0])?[e]:fe(e);if(a._targets=x.length?wt(x):mt("GSAP target "+e+" not found. https://greensock.com",!N.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=y,b||v||it(d)||it(m)){if(r=a.vars,n=a.timeline=new er({data:"nested",defaults:_||{}}),n.kill(),n.parent=M(a),b)Ot(n.vars.defaults,{ease:"none"}),b.forEach((function(t){return n.to(x,t,">")}));else{if(l=x.length,u=v?me(v):vt,tt(v))for(h in v)~cr.indexOf(h)&&(p||(p={}),p[h]=v[h]);for(s=0;s<l;s++){for(h in o={},r)ur.indexOf(h)<0&&(o[h]=r[h]);o.stagger=0,p&&Lt(o,p),r.yoyoEase&&!r.repeat&&(o.yoyoEase=r.yoyoEase),c=x[s],o.duration=+hr(d,M(a),s,c,x),o.delay=(+hr(m,M(a),s,c,x)||0)-a._delay,!v&&1===l&&o.delay&&(a._delay=m=o.delay,a._start+=m,o.delay=0),n.to(c,o,u(s,c,x))}d=m=0}d||a.duration(d=n.duration())}else a.timeline=0;return!0===y&&(rr=M(a),F.killTweensOf(x),rr=0),(g||!d&&!b&&a._start===a.parent._time&&et(g)&&Ut(M(a))&&"nested"!==a.parent.data)&&(a._tTime=-j,a.render(Math.max(0,-m))),a}D(e,t);var r=e.prototype;return r.render=function(t,e,r){var i,a,n,s,o,l,h,c,u,p=this._time,f=this._tDur,d=this._dur,m=t>f-j&&t>=0?f:t<j?0:t;if(d){if(m!==this._tTime||!t||r||this._startAt&&this._zTime<0!==t<0){if(i=m,c=this.timeline,this._repeat){if(s=d+this._rDelay,i=Mt(m%s),i>d&&(i=d),n=~~(m/s),n&&n===m/s&&(i=d,n--),l=this._yoyo&&1&n,l&&(u=this._yEase,i=d-i),o=Zt(this._tTime,s),i===p&&!r&&this._initted)return this;n!==o&&(!this.vars.repeatRefresh||l||this._lock||(this._lock=r=1,this.render(s*n,!0).invalidate()._lock=0))}if(!this._initted&&te(this,i,r,e))return this._tTime=0,this;this._tTime=m,this._time=i,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=h=(u||this._ease)(i/d),this._from&&(this.ratio=h=1-h),p||!i||e||Ae(this,"onStart"),a=this._pt;while(a)a.r(h,a.d),a=a._next;c&&c.render(t<0?t:!i&&l?-j:c._dur*h,e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(t<0&&this._startAt&&this._startAt.render(t,!0,r),Ae(this,"onUpdate")),this._repeat&&n!==o&&this.vars.onRepeat&&!e&&this.parent&&Ae(this,"onRepeat"),m!==this._tDur&&m||this._tTime!==m||(t<0&&this._startAt&&!this._onUpdate&&this._startAt.render(t,!0,r),(t||!d)&&(t&&this._ts>0||!m&&this._ts<0)&&Wt(this,1),e||t<0&&!p||(Ae(this,m===f?"onComplete":"onReverseComplete",!0),this._prom&&this._prom()))}}else ee(this,t,e,r);return this},r.targets=function(){return this._targets},r.invalidate=function(){return this._pt=this._op=this._startAt=this._onUpdate=this._act=this._lazy=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(),t.prototype.invalidate.call(this)},r.kill=function(t,e){if(void 0===e&&(e="all"),!t&&(!e||"all"===e)&&(this._lazy=0,this.parent))return Me(this);if(this.timeline)return this.timeline.killTweensOf(t,e,rr&&!0!==rr.vars.overwrite),this;var r,i,a,n,s,o,l,h=this._targets,c=t?fe(t):h,u=this._ptLookup,p=this._pt;if((!e||"all"===e)&&jt(h,c))return Me(this);r=this._op=this._op||[],"all"!==e&&(K(e)&&(s={},At(e,(function(t){return s[t]=1})),e=s),e=lr(h,e)),l=h.length;while(l--)if(~c.indexOf(h[l]))for(s in i=u[l],"all"===e?(r[l]=e,n=i,a={}):(a=r[l]=r[l]||{},n=e),n)o=i&&i[s],o&&("kill"in o.d&&!0!==o.d.kill(s)||qt(this,o,"_pt"),delete i[s]),"all"!==a&&(a[s]=1);return this._initted&&!this._pt&&p&&Me(this),this},e.to=function(t,r){return new e(t,r,arguments[2])},e.from=function(t,r){return new e(t,Ft(arguments,1))},e.delayedCall=function(t,r,i,a){return new e(r,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:r,onReverseComplete:r,onCompleteParams:i,onReverseCompleteParams:i,callbackScope:a})},e.fromTo=function(t,r,i){return new e(t,Ft(arguments,2))},e.set=function(t,r){return r.duration=0,r.repeatDelay||(r.repeat=0),new e(t,r)},e.killTweensOf=function(t,e,r){return F.killTweensOf(t,e,r)},e}(tr);Ot(pr.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),At("staggerTo,staggerFrom,staggerFromTo",(function(t){pr[t]=function(){var e=new er,r=ce.call(arguments,0);return r.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,r)}}));var fr=function(t,e,r){return t[e]=r},dr=function(t,e,r){return t[e](r)},mr=function(t,e,r,i){return t[e](i.fp,r)},gr=function(t,e,r){return t.setAttribute(e,r)},vr=function(t,e){return Z(t[e])?dr:Q(t[e])&&t.setAttribute?gr:fr},yr=function(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4,e)},br=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},_r=function(t,e){var r=e._pt,i="";if(!t&&e.b)i=e.b;else if(1===t&&e.e)i=e.e;else{while(r)i=r.p+(r.m?r.m(r.s+r.c*t):Math.round(1e4*(r.s+r.c*t))/1e4)+i,r=r._next;i+=e.c}e.set(e.t,e.p,i,e)},xr=function(t,e){var r=e._pt;while(r)r.r(t,r.d),r=r._next},Er=function(t,e,r,i){var a,n=this._pt;while(n)a=n._next,n.p===i&&n.modifier(t,e,r),n=a},Sr=function(t){var e,r,i=this._pt;while(i)r=i._next,i.p===t&&!i.op||i.op===t?qt(this,i,"_pt"):i.dep||(e=1),i=r;return!e},kr=function(t,e,r,i){i.mSet(t,e,i.m.call(i.tween,r,i.mt),i)},Cr=function(t){var e,r,i,a,n=t._pt;while(n){e=n._next,r=i;while(r&&r.pr>n.pr)r=r._next;(n._prev=r?r._prev:a)?n._prev._next=n:i=n,(n._next=r)?r._prev=n:a=n,n=e}t._pt=i},wr=function(){function t(t,e,r,i,a,n,s,o,l){this.t=e,this.s=i,this.c=a,this.p=r,this.r=n||yr,this.d=s||this,this.set=o||fr,this.pr=l||0,this._next=t,t&&(t._prev=this)}var e=t.prototype;return e.modifier=function(t,e,r){this.mSet=this.mSet||this.set,this.set=kr,this.m=t,this.mt=r,this.tween=e},t}();At(Ct+",parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert",(function(t){yt[t]=1,"on"===t.substr(0,2)&&(yt[t+"Params"]=1)})),ut.TweenMax=ut.TweenLite=pr,ut.TimelineLite=ut.TimelineMax=er,F=new er({sortChildren:!1,defaults:G,autoRemoveChildren:!0,id:"root"}),N.stringFilter=Le;var Tr={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];e.forEach((function(t){return De(t)}))},timeline:function(t){return new er(t)},getTweensOf:function(t,e){return F.getTweensOf(t,e)},getProperty:function(t,e,r,i){K(t)&&(t=fe(t)[0]);var a=Tt(t||{}).get,n=r?zt:Rt;return"native"===r&&(r=""),t?e?n((xt[e]&&xt[e].get||a)(t,e,r,i)):function(e,r,i){return n((xt[e]&&xt[e].get||a)(t,e,r,i))}:t},quickSetter:function(t,e,r){if(t=fe(t),t.length>1){var i=t.map((function(t){return Dr.quickSetter(t,e,r)})),a=i.length;return function(t){var e=a;while(e--)i[e](t)}}t=t[0]||{};var n=xt[e],s=Tt(t),o=n?function(e){var i=new n;V._pt=0,i.init(t,r?e+r:e,V,0,[t]),i.render(1,i),V._pt&&xr(1,V)}:s.set(t,e);return n?o:function(i){return o(t,e,r?i+r:i,s,1)}},isTweening:function(t){return F.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Xe(t.ease,G.ease)),Nt(G,t||{})},config:function(t){return Nt(N,t||{})},registerEffect:function(t){var e=t.name,r=t.effect,i=t.plugins,a=t.defaults,n=t.extendTimeline;(i||"").split(",").forEach((function(t){return t&&!xt[t]&&!ut[t]&&mt(e+" effect requires "+t+" plugin.")})),Et[e]=function(t,e){return r(fe(t),Ot(e||{},a))},n&&(er.prototype[e]=function(t,r,i){return this.add(Et[e](t,tt(r)?r:(i=r)&&{}),i)})},registerEase:function(t,e){He[t]=Xe(e)},parseEase:function(t,e){return arguments.length?Xe(t,e):He},getById:function(t){return F.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var r,i,a=new er(t);a.smoothChildTiming=et(t.smoothChildTiming),F.remove(a),a._dp=0,a._time=a._tTime=F._time,r=F._first;while(r)i=r._next,!e&&!r._dur&&r instanceof pr&&r.vars.onComplete===r._targets[0]||Qt(a,r,r._start-r._delay),r=i;return Qt(F,a,0),a},utils:{wrap:Se,wrapYoyo:ke,distribute:me,random:ye,snap:ve,normalize:xe,getUnit:le,clamp:he,splitColor:Re,toArray:fe,mapRange:we,pipe:be,unitize:_e,interpolate:Te,shuffle:de},install:ft,effects:Et,ticker:Ne,updateRoot:er.updateRoot,plugins:xt,globalTimeline:F,core:{PropTween:wr,globals:gt,Tween:pr,Timeline:er,Animation:tr,getCache:Tt}};At("to,from,fromTo,delayedCall,set,killTweensOf",(function(t){return Tr[t]=pr[t]})),Ne.add(er.updateRoot),V=Tr.to({},{duration:0});var Pr=function(t,e){var r=t._pt;while(r&&r.p!==e&&r.op!==e&&r.fp!==e)r=r._next;return r},Ar=function(t,e){var r,i,a,n=t._targets;for(r in e){i=n.length;while(i--)a=t._ptLookup[i][r],a&&(a=a.d)&&(a._pt&&(a=Pr(a,r)),a&&a.modifier&&a.modifier(e[r],t,n[i],r))}},Mr=function(t,e){return{name:t,rawVars:1,init:function(t,r,i){i._onInit=function(t){var i,a;if(K(r)&&(i={},At(r,(function(t){return i[t]=1})),r=i),e){for(a in i={},r)i[a]=e(r[a]);r=i}Ar(t,r)}}}},Dr=Tr.registerPlugin({name:"attr",init:function(t,e,r,i,a){for(var n in e)this.add(t,"setAttribute",(t.getAttribute(n)||0)+"",e[n],i,a,0,0,n),this._props.push(n)}},{name:"endArray",init:function(t,e){var r=e.length;while(r--)this.add(t,r,t[r]||0,e[r])}},Mr("roundProps",ge),Mr("modifiers"),Mr("snap",ve))||Tr;pr.version=er.version=Dr.version="3.1.1",z=1,rt()&&Ge();He.Power0,He.Power1,He.Power2,He.Power3,He.Power4,He.Linear,He.Quad,He.Cubic,He.Quart,He.Quint,He.Strong,He.Elastic,He.Back,He.SteppedEase,He.Bounce,He.Sine,He.Expo,He.Circ;
/*!
 * CSSPlugin 3.1.1
 * https://greensock.com
 *
 * Copyright 2008-2020, GreenSock. All rights reserved.
 * Subject to the terms at https://greensock.com/standard-license or for
 * Club GreenSock members, the agreement issued with that membership.
 * @author: Jack Doyle, jack@greensock.com
*/var Fr,Ir,Br,Rr,zr,Or,Vr,Lr,Nr=function(){return"undefined"!==typeof window},Gr={},Hr=180/Math.PI,jr=Math.PI/180,$r=Math.atan2,qr=1e8,Wr=/([A-Z])/g,Yr=/[-+=\.]*\d+[\.e-]*\d*[a-z%]*/g,Xr=/(?:left|right|width|margin|padding|x)/i,Ur=/[\s,\(]\S/,Kr={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Zr=function(t,e){return e.set(e.t,e.p,~~(1e3*(e.s+e.c*t))/1e3+e.u,e)},Jr=function(t,e){return e.set(e.t,e.p,1===t?e.e:~~(1e3*(e.s+e.c*t))/1e3+e.u,e)},Qr=function(t,e){return e.set(e.t,e.p,t?~~(1e3*(e.s+e.c*t))/1e3+e.u:e.b,e)},ti=function(t,e){var r=e.s+e.c*t;e.set(e.t,e.p,~~(r+(r<0?-.5:.5))+e.u,e)},ei=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},ri=function(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)},ii=function(t,e,r){return t.style[e]=r},ai=function(t,e,r){return t.style.setProperty(e,r)},ni=function(t,e,r){return t._gsap[e]=r},si=function(t,e,r){return t._gsap.scaleX=t._gsap.scaleY=r},oi=function(t,e,r,i,a){var n=t._gsap;n.scaleX=n.scaleY=r,n.renderTransform(a,n)},li=function(t,e,r,i,a){var n=t._gsap;n[e]=r,n.renderTransform(a,n)},hi="transform",ci=hi+"Origin",ui=function(t,e){var r=Ir.createElementNS?Ir.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):Ir.createElement(t);return r.style?r:Ir.createElement(t)},pi=function t(e,r,i){var a=getComputedStyle(e);return a[r]||a.getPropertyValue(r.replace(Wr,"-$1").toLowerCase())||a.getPropertyValue(r)||!i&&t(e,di(r)||r,1)||""},fi="O,Moz,ms,Ms,Webkit".split(","),di=function(t,e){var r=e||zr,i=r.style,a=5;if(t in i)return t;t=t.charAt(0).toUpperCase()+t.substr(1);while(a--&&!(fi[a]+t in i));return a<0?null:(3===a?"ms":a>=0?fi[a]:"")+t},mi=function(){Nr()&&(Fr=window,Ir=Fr.document,Br=Ir.documentElement,zr=ui("div")||{style:{}},Or=ui("div"),hi=di(hi),ci=di(ci),zr.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Lr=!!di("perspective"),Rr=1)},gi=function t(e){var r,i=ui("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),a=this.parentNode,n=this.nextSibling,s=this.style.cssText;if(Br.appendChild(i),i.appendChild(this),this.style.display="block",e)try{r=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch(o){}else this._gsapBBox&&(r=this._gsapBBox());return n?a.insertBefore(this,n):a.appendChild(this),Br.removeChild(i),this.style.cssText=s,r},vi=function(t,e){var r=e.length;while(r--)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])},yi=function(t){var e;try{e=t.getBBox()}catch(r){e=gi.call(t,!0)}return!e||e.width||e.x||e.y?e:{x:+vi(t,["x","cx","x1"])||0,y:+vi(t,["y","cy","y1"])||0,width:0,height:0}},bi=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!yi(t))},_i=function(t,e){if(e){var r=t.style;e in Gr&&(e=hi),r.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),r.removeProperty(e.replace(Wr,"-$1").toLowerCase())):r.removeAttribute(e)}},xi=function(t,e,r,i,a,n){var s=new wr(t._pt,e,r,0,1,n?ri:ei);return t._pt=s,s.b=i,s.e=a,t._props.push(r),s},Ei={deg:1,rad:1,turn:1},Si=function(t,e,r,i){var a,n,s,o,l=parseFloat(r)||0,h=(r+"").trim().substr((l+"").length)||"px",c=zr.style,u=Xr.test(e),p="svg"===t.tagName.toLowerCase(),f=(p?"client":"offset")+(u?"Width":"Height"),d=100,m="px"===i;return i===h||!l||Ei[i]||Ei[h]?l:(o=t.getCTM&&bi(t),"%"===i&&(Gr[e]||~e.indexOf("adius"))?Mt(l/(o?t.getBBox()[u?"width":"height"]:t[f])*d):(c[u?"width":"height"]=d+(m?h:i),n=~e.indexOf("adius")||"em"===i&&t.appendChild&&!p?t:t.parentNode,o&&(n=(t.ownerSVGElement||{}).parentNode),n&&n!==Ir&&n.appendChild||(n=Ir.body),s=n._gsap,s&&"%"===i&&s.width&&u&&s.time===Ne.time?Mt(l/s.width*d):(n===t&&(c.position="static"),n.appendChild(zr),a=zr[f],n.removeChild(zr),c.position="absolute",u&&"%"===i&&(s=Tt(n),s.time=Ne.time,s.width=n[f]),Mt(m?a*l/d:d/a*l))))},ki=function(t,e,r,i){var a;return Rr||mi(),e in Kr&&"transform"!==e&&(e=Kr[e],~e.indexOf(",")&&(e=e.split(",")[0])),Gr[e]&&"transform"!==e?(a=zi(t,i),a="transformOrigin"!==e?a[e]:Oi(pi(t,ci))+a.zOrigin+"px"):(a=t.style[e],(!a||"auto"===a||i||~(a+"").indexOf("calc("))&&(a=Ai[e]&&Ai[e](t,e,r)||pi(t,e)||Pt(t,e)||("opacity"===e?1:0))),r&&!~(a+"").indexOf(" ")?Si(t,e,a,r)+r:a},Ci=function(t,e,r,i){var a,n,s,o,l,h,c,u,p,f,d,m,g,v=new wr(this._pt,t.style,e,0,1,_r),y=0,b=0;if(v.b=r,v.e=i,r+="",i+="","auto"===i&&(t.style[e]=i,i=pi(t,e)||i,t.style[e]=r),a=[r,i],Le(a),r=a[0],i=a[1],h=r.indexOf("rgba("),c=i.indexOf("rgba("),!!h!==!!c&&(h?r=r.substr(h)+" "+r.substr(0,h-1):i=i.substr(c)+" "+i.substr(0,c-1)),s=r.match(Yr)||[],g=i.match(Yr)||[],g.length){while(n=Yr.exec(i))c=n[0],p=i.substring(y,n.index),l?l=(l+1)%5:"rgba("!==p.substr(-5)&&"hsla("!==p.substr(-5)||(l=1),c!==(h=s[b++]||"")&&(o=parseFloat(h)||0,d=h.substr((o+"").length),m="="===c.charAt(1)?+(c.charAt(0)+"1"):0,m&&(c=c.substr(2)),u=parseFloat(c),f=c.substr((u+"").length),y=Yr.lastIndex-f.length,f||(f=f||N.units[e]||d,y===i.length&&(i+=f,v.e+=f)),d!==f&&(o=Si(t,e,h,f)||0),v._pt={_next:v._pt,p:p||1===b?p:",",s:o,c:m?m*u:u-o,m:l&&l<4?Math.round:0});v.c=y<i.length?i.substring(y,i.length):""}else v.r="display"===e&&"none"===i?ri:ei;return ht.test(i)&&(v.e=0),this._pt=v,v},wi={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Ti=function(t){var e=t.split(" "),r=e[0],i=e[1]||"50%";return"top"!==r&&"bottom"!==r&&"left"!==i&&"right"!==i||(t=r,r=i,i=t),e[0]=wi[r]||r,e[1]=wi[i]||i,e.join(" ")},Pi=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var r,i,a,n=e.t,s=n.style,o=e.u;if("all"===o||!0===o)s.cssText="",i=1;else{o=o.split(","),a=o.length;while(--a>-1)r=o[a],Gr[r]&&(i=1,r="transformOrigin"===r?ci:hi),_i(n,r)}i&&(_i(n,hi),i=n._gsap,i&&(i.svg&&n.removeAttribute("transform"),zi(n,1)))}},Ai={clearProps:function(t,e,r,i,a){if("isFromStart"!==a.data){var n=t._pt=new wr(t._pt,e,r,0,0,Pi);return n.u=i,n.pr=-10,n.tween=a,t._props.push(r),1}}},Mi=[1,0,0,1,0,0],Di={},Fi=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},Ii=function(t){var e=pi(t,hi);return Fi(e)?Mi:e.substr(7).match(st).map(Mt)},Bi=function(t,e){var r,i,a,n,s=t._gsap,o=t.style,l=Ii(t);return s.svg&&t.getAttribute("transform")?(a=t.transform.baseVal.consolidate().matrix,l=[a.a,a.b,a.c,a.d,a.e,a.f],"1,0,0,1,0,0"===l.join(",")?Mi:l):(l!==Mi||t.offsetParent||t===Br||s.svg||(a=o.display,o.display="block",r=t.parentNode,r&&t.offsetParent||(n=1,i=t.nextSibling,Br.appendChild(t)),l=Ii(t),a?o.display=a:_i(t,"display"),n&&(i?r.insertBefore(t,i):r?r.appendChild(t):Br.removeChild(t))),e&&l.length>6?[l[0],l[1],l[4],l[5],l[12],l[13]]:l)},Ri=function(t,e,r,i,a,n){var s,o,l,h,c=t._gsap,u=a||Bi(t,!0),p=c.xOrigin||0,f=c.yOrigin||0,d=c.xOffset||0,m=c.yOffset||0,g=u[0],v=u[1],y=u[2],b=u[3],_=u[4],x=u[5],E=e.split(" "),S=parseFloat(E[0])||0,k=parseFloat(E[1])||0;r?u!==Mi&&(o=g*b-v*y)&&(l=S*(b/o)+k*(-y/o)+(y*x-b*_)/o,h=S*(-v/o)+k*(g/o)-(g*x-v*_)/o,S=l,k=h):(s=yi(t),S=s.x+(~E[0].indexOf("%")?S/100*s.width:S),k=s.y+(~(E[1]||E[0]).indexOf("%")?k/100*s.height:k)),i||!1!==i&&c.smooth?(_=S-p,x=k-f,c.xOffset=d+(_*g+x*y)-_,c.yOffset=m+(_*v+x*b)-x):c.xOffset=c.yOffset=0,c.xOrigin=S,c.yOrigin=k,c.smooth=!!i,c.origin=e,c.originIsAbsolute=!!r,t.style[ci]="0px 0px",n&&(xi(n,c,"xOrigin",p,S),xi(n,c,"yOrigin",f,k),xi(n,c,"xOffset",d,c.xOffset),xi(n,c,"yOffset",m,c.yOffset))},zi=function(t,e){var r=t._gsap||new Qe(t);if("x"in r&&!e&&!r.uncache)return r;var i,a,n,s,o,l,h,c,u,p,f,d,m,g,v,y,b,_,x,E,S,k,C,w,T,P,A,M,D,F,I=t.style,B=r.scaleX<0,R=r.xOrigin||0,z=r.yOrigin||0,O="px",V="deg",L=pi(t,ci)||"0";return i=a=n=l=h=c=u=p=f=0,s=o=1,r.svg=!(!t.getCTM||!bi(t)),d=Bi(t,r.svg),r.svg&&Ri(t,L,r.originIsAbsolute,!1!==r.smooth,d),d!==Mi&&(y=d[0],b=d[1],_=d[2],x=d[3],i=E=d[4],a=S=d[5],6===d.length?(s=Math.sqrt(y*y+b*b),o=Math.sqrt(x*x+_*_),l=y||b?$r(b,y)*Hr:0,u=_||x?$r(_,x)*Hr+l:0,r.svg&&(i-=R-(R*y+z*_),a-=z-(R*b+z*x))):(F=d[6],M=d[7],T=d[8],P=d[9],A=d[10],D=d[11],i=d[12],a=d[13],n=d[14],m=$r(F,A),h=m*Hr,m&&(g=Math.cos(-m),v=Math.sin(-m),k=E*g+T*v,C=S*g+P*v,w=F*g+A*v,T=E*-v+T*g,P=S*-v+P*g,A=F*-v+A*g,D=M*-v+D*g,E=k,S=C,F=w),m=$r(-_,A),c=m*Hr,m&&(g=Math.cos(-m),v=Math.sin(-m),k=y*g-T*v,C=b*g-P*v,w=_*g-A*v,D=x*v+D*g,y=k,b=C,_=w),m=$r(b,y),l=m*Hr,m&&(g=Math.cos(m),v=Math.sin(m),k=y*g+b*v,C=E*g+S*v,b=b*g-y*v,S=S*g-E*v,y=k,E=C),h&&Math.abs(h)+Math.abs(l)>359.9&&(h=l=0,c=180-c),s=Mt(Math.sqrt(y*y+b*b+_*_)),o=Mt(Math.sqrt(S*S+F*F)),m=$r(E,S),u=Math.abs(m)>2e-4?m*Hr:0,f=D?1/(D<0?-D:D):0),r.svg&&(d=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!Fi(pi(t,hi)),d&&t.setAttribute("transform",d))),Math.abs(u)>90&&Math.abs(u)<270&&(B?(s*=-1,u+=l<=0?180:-180,l+=l<=0?180:-180):(o*=-1,u+=u<=0?180:-180)),r.x=((r.xPercent=i&&Math.round(t.offsetWidth/2)===Math.round(-i)?-50:0)?0:i)+O,r.y=((r.yPercent=a&&Math.round(t.offsetHeight/2)===Math.round(-a)?-50:0)?0:a)+O,r.z=n+O,r.scaleX=Mt(s),r.scaleY=Mt(o),r.rotation=Mt(l)+V,r.rotationX=Mt(h)+V,r.rotationY=Mt(c)+V,r.skewX=u+V,r.skewY=p+V,r.transformPerspective=f+O,(r.zOrigin=parseFloat(L.split(" ")[2])||0)&&(I[ci]=Oi(L)),r.xOffset=r.yOffset=0,r.force3D=N.force3D,r.renderTransform=r.svg?$i:Lr?ji:Li,r.uncache=0,r},Oi=function(t){return(t=t.split(" "))[0]+" "+t[1]},Vi=function(t,e,r){var i=le(e);return Mt(parseFloat(e)+parseFloat(Si(t,"x",r+"px",i)))+i},Li=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,ji(t,e)},Ni="0deg",Gi="0px",Hi=") ",ji=function(t,e){var r=e||this,i=r.xPercent,a=r.yPercent,n=r.x,s=r.y,o=r.z,l=r.rotation,h=r.rotationY,c=r.rotationX,u=r.skewX,p=r.skewY,f=r.scaleX,d=r.scaleY,m=r.transformPerspective,g=r.force3D,v=r.target,y=r.zOrigin,b="",_="auto"===g&&t&&1!==t||!0===g;if(y&&(c!==Ni||h!==Ni)){var x,E=parseFloat(h)*jr,S=Math.sin(E),k=Math.cos(E);E=parseFloat(c)*jr,x=Math.cos(E),n=Vi(v,n,S*x*-y),s=Vi(v,s,-Math.sin(E)*-y),o=Vi(v,o,k*x*-y+y)}m!==Gi&&(b+="perspective("+m+Hi),(i||a)&&(b+="translate("+i+"%, "+a+"%) "),(_||n!==Gi||s!==Gi||o!==Gi)&&(b+=o!==Gi||_?"translate3d("+n+", "+s+", "+o+") ":"translate("+n+", "+s+Hi),l!==Ni&&(b+="rotate("+l+Hi),h!==Ni&&(b+="rotateY("+h+Hi),c!==Ni&&(b+="rotateX("+c+Hi),u===Ni&&p===Ni||(b+="skew("+u+", "+p+Hi),1===f&&1===d||(b+="scale("+f+", "+d+Hi),v.style[hi]=b||"translate(0, 0)"},$i=function(t,e){var r,i,a,n,s,o=e||this,l=o.xPercent,h=o.yPercent,c=o.x,u=o.y,p=o.rotation,f=o.skewX,d=o.skewY,m=o.scaleX,g=o.scaleY,v=o.target,y=o.xOrigin,b=o.yOrigin,_=o.xOffset,x=o.yOffset,E=o.forceCSS,S=parseFloat(c),k=parseFloat(u);p=parseFloat(p),f=parseFloat(f),d=parseFloat(d),d&&(d=parseFloat(d),f+=d,p+=d),p||f?(p*=jr,f*=jr,r=Math.cos(p)*m,i=Math.sin(p)*m,a=Math.sin(p-f)*-g,n=Math.cos(p-f)*g,f&&(d*=jr,s=Math.tan(f-d),s=Math.sqrt(1+s*s),a*=s,n*=s,d&&(s=Math.tan(d),s=Math.sqrt(1+s*s),r*=s,i*=s)),r=Mt(r),i=Mt(i),a=Mt(a),n=Mt(n)):(r=m,n=g,i=a=0),(S&&!~(c+"").indexOf("px")||k&&!~(u+"").indexOf("px"))&&(S=Si(v,"x",c,"px"),k=Si(v,"y",u,"px")),(y||b||_||x)&&(S=Mt(S+y-(y*r+b*a)+_),k=Mt(k+b-(y*i+b*n)+x)),(l||h)&&(s=v.getBBox(),S=Mt(S+l/100*s.width),k=Mt(k+h/100*s.height)),s="matrix("+r+","+i+","+a+","+n+","+S+","+k+")",v.setAttribute("transform",s),E&&(v.style[hi]=s)},qi=function(t,e,r,i,a,n){var s,o,l=360,h=K(a),c=parseFloat(a)*(h&&~a.indexOf("rad")?Hr:1),u=n?c*n:c-i,p=i+u+"deg";return h&&(s=a.split("_")[1],"short"===s&&(u%=l,u!==u%(l/2)&&(u+=u<0?l:-l)),"cw"===s&&u<0?u=(u+l*qr)%l-~~(u/l)*l:"ccw"===s&&u>0&&(u=(u-l*qr)%l-~~(u/l)*l)),t._pt=o=new wr(t._pt,e,r,i,u,Jr),o.e=p,o.u="deg",t._props.push(r),o},Wi=function(t,e,r){var i,a,n,s,o,l,h,c,u=Or.style,p=r._gsap,f="perspective,force3D,transformOrigin,svgOrigin";for(a in u.cssText=getComputedStyle(r).cssText+";position:absolute;display:block;",u[hi]=e,Ir.body.appendChild(Or),i=zi(Or,1),Gr)n=p[a],s=i[a],n!==s&&f.indexOf(a)<0&&(h=le(n),c=le(s),o=h!==c?Si(r,a,n,c):parseFloat(n),l=parseFloat(s),t._pt=new wr(t._pt,p,a,o,l-o,Zr),t._pt.u=c||0,t._props.push(a));Ir.body.removeChild(Or)};At("padding,margin,Width,Radius",(function(t,e){var r="Top",i="Right",a="Bottom",n="Left",s=(e<3?[r,i,a,n]:[r+n,r+i,a+i,a+n]).map((function(r){return e<2?t+r:"border"+r+t}));Ai[e>1?"border"+t:t]=function(t,e,r,i,a){var n,o;if(arguments.length<4)return n=s.map((function(e){return ki(t,e,r)})),o=n.join(" "),5===o.split(n[0]).length?n[0]:o;n=(i+"").split(" "),o={},s.forEach((function(t,e){return o[t]=n[e]=n[e]||n[(e-1)/2|0]})),t.init(e,o,a)}}));var Yi={name:"css",register:mi,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,r,i,a){var n,s,o,l,h,c,u,p,f,d,m,g,v,y,b,_=this._props,x=t.style;for(u in Rr||mi(),e)if("autoRound"!==u&&(s=e[u],!xt[u]||!sr(u,e,r,i,t,a)))if(h=typeof s,c=Ai[u],"function"===h&&(s=s.call(r,i,t,a),h=typeof s),"string"===h&&~s.indexOf("random(")&&(s=Ce(s)),c)c(this,t,u,s,r)&&(b=1);else if("--"===u.substr(0,2))this.add(x,"setProperty",getComputedStyle(t).getPropertyValue(u)+"",s+"",i,a,0,0,u);else{if(n=ki(t,u),l=parseFloat(n),d="string"===h&&"="===s.charAt(1)?+(s.charAt(0)+"1"):0,d&&(s=s.substr(2)),o=parseFloat(s),u in Kr&&("autoAlpha"===u&&(1===l&&"hidden"===ki(t,"visibility")&&o&&(l=0),xi(this,x,"visibility",l?"inherit":"hidden",o?"inherit":"hidden",!o)),"scale"!==u&&"transform"!==u&&(u=Kr[u],~u.indexOf(",")&&(u=u.split(",")[0]))),m=u in Gr,m)if(g||(v=t._gsap,v.renderTransform||zi(t),y=!1!==e.smoothOrigin&&v.smooth,g=this._pt=new wr(this._pt,x,hi,0,1,v.renderTransform,v,0,-1),g.dep=1),"scale"===u)this._pt=new wr(this._pt,v,"scaleY",v.scaleY,d?d*o:o-v.scaleY),_.push("scaleY",u),u+="X";else{if("transformOrigin"===u){s=Ti(s),v.svg?Ri(t,s,0,y,0,this):(f=parseFloat(s.split(" ")[2]),f!==v.zOrigin&&xi(this,v,"zOrigin",v.zOrigin,f),xi(this,x,u,Oi(n),Oi(s)));continue}if("svgOrigin"===u){Ri(t,s,1,y,0,this);continue}if(u in Di){qi(this,v,u,l,s,d);continue}if("smoothOrigin"===u){xi(this,v,"smooth",v.smooth,s);continue}if("force3D"===u){v[u]=s;continue}if("transform"===u){Wi(this,s,t);continue}}else u in x||(u=di(u)||u);if(m||(o||0===o)&&(l||0===l)&&!Ur.test(s)&&u in x)p=(n+"").substr((l+"").length),f=(s+"").substr((o+"").length)||(u in N.units?N.units[u]:p),p!==f&&(l=Si(t,u,n,f)),this._pt=new wr(this._pt,m?v:x,u,l,d?d*o:o-l,"px"!==f||!1===e.autoRound||m?Zr:ti),this._pt.u=f||0,p!==f&&(this._pt.b=n,this._pt.r=Qr);else if(u in x)Ci.call(this,t,u,n,s);else{if(!(u in t)){dt(u,s);continue}this.add(t,u,t[u],s,i,a)}_.push(u)}b&&Cr(this)},get:ki,aliases:Kr,getSetter:function(t,e,r){return e=Kr[e]||e,e in Gr&&e!==ci&&(t._gsap.x||ki(t,"x"))?r&&Vr===r?"scale"===e?si:ni:(Vr=r||{})&&("scale"===e?oi:li):t.style&&!Q(t.style[e])?ii:~e.indexOf("-")?ai:vr(t,e)}};Dr.utils.checkPrefix=di,function(t,e,r,i){var a=At(t+","+e+","+r,(function(t){Gr[t]=1}));At(e,(function(t){N.units[t]="deg",Di[t]=1})),Kr[a[13]]=t+","+e,At(i,(function(t){var e=t.split(":");Kr[e[1]]=a[e[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"),At("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(t){N.units[t]="px"})),Dr.registerPlugin(Yi);var Xi=Dr.registerPlugin(Yi)||Dr;Xi.core.Tween;Xi.registerPlugin(pr);var Ui=Object.freeze({TEXT:"text",PASSWORD:"password",NUMBER:"number"}),Ki={name:"TextField",props:{label:{type:String,required:!0},placeHolder:{type:String,required:!0},type:{type:String,validator:function(t){return Object.values(Ui).includes(t)},default:"text"},icon:{type:String,default:null},disabled:{type:Boolean,default:!1},error:{type:String,default:null},required:{type:Boolean,default:!1},value:{type:String,default:""},autofocus:{type:Boolean,default:!1},pattern:{type:String,default:null},rules:{type:String,default:null}},data:function(){return{types:Ui,active:!1,iconColor:this.$tokens.color.grey["50"].value}},computed:{classes:function(){if(this.disabled)return"disabled";var t=""===this.value?"text-field--placeholder":"",e=this.active?"text-field--active":"",r=this.error?"text-field--error":"";return"".concat(e," ").concat(t," ").concat(r)}},mounted:function(){var t=this;this.$nextTick((function(){t.autofocus&&t.setFocus()}))},methods:{activate:function(){this.disabled||(this.active=!0,this.changeIconColor("#000000"))},deactivate:function(){this.disabled||(this.active=!1,this.changeIconColor(this.$tokens.color.grey["50"].value),this.$emit("blur"))},changeIconColor:function(t){this.iconColor=t},hoverIn:function(){this.disabled||this.active||this.changeIconColor("#000000")},hoverOut:function(){this.disabled||this.active||this.changeIconColor(this.$tokens.color.grey["50"].value)},setFocus:function(){this.disabled||this.$refs.input.focus()},updateValue:function(t){this.error&&this.$emit("clearError"),this.$emit("input",t)},togglePassword:function(){var t=this.$refs.input;"password"===t.type?(this.$emit("passwordToggled","visible"),t.type="text"):(this.$emit("passwordToggled","invisible"),t.type="password")}}},Zi=Ki,Ji=(r("6c28"),c(Zi,P,A,!1,null,"0cef31b4",null)),Qi=Ji.exports,ta=Qi,ea=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"navigation-bar row py-s px-m",class:t.cssClasses},[t.back?r("div",[r("b-button",{attrs:{icon:"arrow_back","active-state":!1,"ripple-color":t.$tokens.color.grey["95"].value,type:"icon"},on:{clicked:t.backEvent}})],1):t.leftIcon?r("div",{staticClass:"flex-self-center"},[r("icon",{attrs:{icon:t.leftIcon,flat:!0}})],1):t._e(),r("div",{staticClass:"col flex-self-center",class:t.leftIcon||t.back?"flex-center":""},[t._t("title",[r("div",{staticClass:"text-section"},[t._v(" "+t._s(t.title)+" ")])])],2),r("div",[r("b-button",{attrs:{icon:"close","active-state":!1,"ripple-color":t.$tokens.color.grey["95"].value,type:"icon"},on:{clicked:t.closeEvent}})],1)])},ra=[],ia={name:"NavigationBar",props:{title:{type:String,default:""},back:{type:Boolean,default:!1},leftIcon:{type:String,default:null},border:{type:Boolean,default:!0},boxShadow:{type:Boolean,default:!1}},computed:{cssClasses:function(){var t=this.boxShadow?"navigation-bar--box-shadow":"",e=this.border?"navigation-bar--bordered":"";return"".concat(t," ").concat(e)}},methods:{backEvent:function(){var t=this;setTimeout((function(){return t.$emit("back")}),200)},closeEvent:function(){var t=this;setTimeout((function(){return t.$emit("close")}),200)}}},aa=ia,na=(r("28a3"),c(aa,ea,ra,!1,null,"648f09ae",null)),sa=na.exports,oa=sa,la=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"alert pb-m pl-m"},[r("div",{staticClass:"row flex-between"},[r("div",{staticClass:"col-8 pt-m"},[r("div",{staticClass:"alert__title col text-section"},[t._v(" "+t._s(t.title)+" ")]),r("div",{staticClass:"alert__body text-text",domProps:{innerHTML:t._s(t.body)}})]),r("div",{staticClass:"col-3 pt-s pr-s"},[r("b-button",{attrs:{type:"icon",icon:"close","ripple-color":t.$tokens.color.grey["95"].value},on:{clicked:t.close}})],1)])])},ha=[],ca={name:"Alert",props:{title:{type:String,required:!0},body:{type:String,required:!0}},methods:{close:function(){var t=this;setTimeout((function(){return t.$emit("close")}),200)}}},ua=ca,pa=(r("b136"),c(ua,la,ha,!1,null,"6c6d679c",null)),fa=pa.exports,da=fa,ma=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"overlay",class:t.cssClasses,style:t.cssVars},[r("transition",{attrs:{appear:"",name:t.dialogCentered()?"":"translate","enter-active-class":t.dialogCentered()?"":"translate-in","leave-active-class":t.dialogCentered()?"":"translate-out"}},[r("div",{staticClass:"dialog"},[r("div",{staticClass:"dialog__wrapper  text-center"},[t._t("icon",[r("div",{staticClass:"mt-m text-regular-28",domProps:{innerHTML:t._s(t.icon)}})]),r("div",{staticClass:"m-l mt-m"},[r("div",{staticClass:"col text-medium-16",class:"text-"+t.align},[t._v(" "+t._s(t.title)+" ")]),r("div",{staticClass:"dialog__body text-regular-14",class:"text-"+t.align},[t._v(" "+t._s(t.body)+" ")]),r("div",{staticClass:"pt-2xl row flex-center"},[t.cancelText?r("div",[r("b-button",{attrs:{text:t.cancelText,type:"secondary"},on:{clicked:t.cancel}})],1):t._e(),r("div",{class:t.cancelText?"pl-m":""},[r("b-button",{attrs:{text:t.okText,type:"primary",color:t.$tokens.color.blue["60"].value},on:{clicked:t.ok}})],1)])])],2)])])],1)},ga=[],va=(r("a9e3"),Object.freeze({ABSOLUTE:"absolute",FIXED:"fixed"})),ya={name:"BDialog",props:{title:{type:String,required:!0},body:{type:String,required:!0},icon:{type:String,default:null},cancelText:{type:String,default:null},okText:{type:String,required:!0},overlay:{type:Boolean,default:!1},align:{type:String,default:"center"},top:{type:Number,default:null},right:{type:Number,default:null},overlayColor:{type:String,default:null},position:{type:String,validator:function(t){return Object.values(va).includes(t)},default:"fixed"}},computed:{cssClasses:function(){var t=this.overlay?"overlay--active":"",e=this.dialogCentered()?"overlay--center":"";return"".concat(t," ").concat(e)},cssVars:function(){return{"--overlay-color":this.overlayColor||"".concat(this.$tokens.color.blue["10"].value,"B3"),"--top":"".concat(this.top,"px"),"--right":"".concat(this.right,"px"),"--position":this.position}}},methods:{cancel:function(){var t=this;setTimeout((function(){return t.$emit("cancel")}),200)},ok:function(){var t=this;setTimeout((function(){return t.$emit("ok")}),200)},dialogCentered:function(){return null==this.top&&null==this.right}}},ba=ya,_a=(r("7687"),c(ba,ma,ga,!1,null,"17efdcdb",null)),xa=_a.exports,Ea=xa,Sa=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("div",{directives:[{name:"ripple",rawName:"v-ripple",value:{color:"#ffffff"},expression:"{color: '#ffffff'}"}],ref:"dropdown",staticClass:"dropdown",class:t.cssClasses,attrs:{disabled:t.disabled},on:{click:t.activate,keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.activate(e)}}},[r("div",[r("div",{staticClass:"dropdown__content row flex-middle"},[r("div",{staticClass:"col"},[t.label?r("div",{staticClass:"dropdown__content-label text-regular-12 pt-s pl-m ripple",class:t.isEmtpy?"":"filled",domProps:{innerHTML:t._s(t.label)}}):t._e(),r("div",{staticClass:"row flex-between pr-s py-s"},[r("div",{staticClass:"col row"},[r("div",{staticClass:"dropdown__content-text text-regular-16 pl-m ripple",class:t.isEmtpy?"placeholder":"",domProps:{innerHTML:t._s(t.isEmtpy?t.placeholder:t.name)}}),r("input",{ref:"input",staticClass:"p-0",attrs:{"aria-readonly":"true",autocomplete:"off"},on:{focus:function(e){t.focused=!0},blur:t.blur}}),r("select",{ref:"select",staticClass:"text-regular-16",attrs:{disabled:!t.isMobileDevice()},on:{change:function(e){return t.selectItem(t.items[e.target.value])},blur:t.blur}},[r("option",{attrs:{value:"",disabled:"",selected:""}},[t._v(" "+t._s(t.placeholder)+" ")]),t._l(t.items,(function(e,i){return r("option",{key:i,domProps:{value:i},on:{click:function(r){return t.selectItem(e)}}},[t._v(" "+t._s(e.name)+" ")])}))],2)])])]),r("icon",{staticClass:"pr-m relative z-2",attrs:{flat:!0,color:t.disabled?t.$tokens.color.grey["90"].value:"#000000",icon:"unfold"}})],1),r("input",{attrs:{type:"hidden"},domProps:{value:t.value}}),r("div",{staticClass:"dropdown__border relative z-2",class:t.borderClasses})]),r("div",[r("div",{directives:[{name:"show",rawName:"v-show",value:t.showMenu,expression:"showMenu"}],ref:"menu",staticClass:"dropdown__menu"},[r("div",{staticClass:"dropdown__menu-items p-0 m-0"},t._l(t.items,(function(e){return r("div",{key:e.value,staticClass:"dropdown__menu-items__item px-m",on:{mousedown:function(r){return r.preventDefault(),t.selectItem(e)}}},[r("div",{staticClass:"dropdown__menu-items__item-wrapper flex flex-middle"},[r("div",{staticClass:"dropdown__menu-items__item-text text-regular-16",domProps:{innerHTML:t._s(e.name)}})])])})),0)])])]),r("div",{staticClass:"dropdown__error text-regular-12"},[t.error?r("div",[t._v(" "+t._s(t.error)+" ")]):t._e()])])},ka=[],Ca={methods:{isMobileDevice:function(){return!!/android|Windows Phone/i.test(navigator.userAgent)||!(!/iPad|iPhone|iPod/.test(navigator.userAgent)||window.MSStream)}}},wa={name:"Dropdown",mixins:[Ca],props:{label:{type:String,default:null},placeholder:{type:String,default:""},items:{type:Array,default:function(){return[]}},error:{type:String,default:""},preSelected:{type:Number,default:-1},disabled:{type:Boolean,default:!1}},data:function(){return{value:"",name:"",focused:!1,showMenu:!1}},computed:{isEmtpy:function(){return""===this.value},errorExists:function(){return""!==this.error},borderClasses:function(){var t=this.errorExists?"--error":"",e=this.focused?"--focused":"";return"".concat(t," ").concat(e)},cssClasses:function(){var t=this.focused?"focused":"",e=this.disabled?"dropdown--disabled":"";return"".concat(t," ").concat(e)}},watch:{value:function(t){this.$emit("input",t)}},mounted:function(){this.preSelectItem()},methods:{blur:function(){this.showMenu=!1,this.focused=!1},updateValue:function(t){this.$emit("input",t)},selectItem:function(t){var e=this;setTimeout((function(){e.value=t.value,e.name=t.name,e.focused=!1,e.showMenu=!1}),200)},preSelectItem:function(){-1!==this.preSelected&&(this.value=this.items[this.preSelected].value,this.name=this.items[this.preSelected].name)},activate:function(){this.disabled||this.showMenu||(this.focused=!0,this.isMobileDevice()?this.$refs.select.focus():(this.$refs.input.focus(),this.showMenu=!0))}}},Ta=wa,Pa=(r("adc9"),c(Ta,Sa,ka,!1,null,"0735937e",null)),Aa=Pa.exports,Ma=Aa,Da=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"banner",style:t.cssVars},[r("div",{staticClass:"banner__icon",domProps:{innerHTML:t._s(t.icon)}}),r("div",{staticClass:"text-code-12",domProps:{innerHTML:t._s(t.text)}})])},Fa=[],Ia=Object.freeze({INFO:"info",WARNING:"warning",ERROR:"error",SUCCESS:"success"}),Ba={name:"Banner",props:{text:{type:String,required:!0},type:{type:String,validator:function(t){return Object.values(Ia).includes(t)},default:"info"},icon:{type:String,required:!0}},computed:{cssVars:function(){return{"--background-color":this.$tokens.color.background.banner[this.type].value,"--text-color":this.$tokens.color.text.banner[this.type].value,"--border-color":this.$tokens.color.border.banner[this.type].value,"--background-color-emoji":this.$tokens.color.background.banner.emoji[this.type].value}}}},Ra=Ba,za=(r("27e2"),c(Ra,Da,Fa,!1,null,"6951da42",null)),Oa=za.exports,Va=Oa,La=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{ref:"card",staticClass:"card",class:t.shadow?"card--shadow":""},[t._t("content")],2)},Na=[],Ga={name:"Card",props:{shadow:{type:Boolean,default:!0},inset:{type:Boolean,default:!1}},watch:{inset:{handler:function(t,e){t?pr.to(this.$refs["card"],.2,{marginTop:"16px",marginRight:"16px",marginLeft:"16px"}):pr.to(this.$refs["card"],.2,{marginTop:0,marginRight:0,marginLeft:0})}}}},Ha=Ga,ja=(r("5fa8"),c(Ha,La,Na,!1,null,"3b8ef79e",null)),$a=ja.exports,qa=$a,Wa=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{ref:"accordion",staticClass:"accordion",class:t.cssClasses},[r("button",{directives:[{name:"ripple",rawName:"v-ripple",value:{color:"#ffffff"},expression:"{color: '#ffffff'}"}],staticClass:"accordion__header",class:t.expanded?"accordion__header--active":"",on:{click:t.toggleExpanded}},[r("div",{staticClass:"accordion__header-content row flex-middle pb-l"},[r("div",{staticClass:"col"},[t._t("header",[r("div",{staticClass:"text-medium-16 ripple"},[t._v(" "+t._s(t.text)+" ")])])],2),r("div",{staticClass:"accordion__header-icon ripple"},[r("icon",{attrs:{flat:!0,color:t.$tokens.color.grey["60"].value,icon:"expand"}})],1)]),t.border?r("div",{staticClass:"accordion__header-border ripple"}):t._e()]),r("div",{ref:"expansion-panel",staticClass:"accordion__expansion"},[t._t("content")],2)])},Ya=[];Xi.registerPlugin(pr);var Xa={name:"Accordion",props:{text:{type:String,default:""},accordion:{type:Boolean,default:!1},inset:{type:Boolean,default:!1},border:{type:Boolean,default:!0},expandedBorder:{type:Boolean,default:!0}},data:function(){return{expanded:!1}},computed:{cssClasses:function(){var t=this.accordion?"accordion--accordion":"",e=this.expanded?"accordion--active":"accordion--collapsed",r=this.border?"accordion--border":"",i=this.expandedBorder?"":"accordion--expanded-border";return"".concat(t," ").concat(e," ").concat(r," ").concat(i)}},methods:{toggleExpanded:function(){this.expanded?this.fold():(this.$emit("expand"),this.expandAnimation(),this.insetAnimation(),this.expanded=!0)},fold:function(){this.$emit("fold"),this.expandAnimation(!1),this.insetAnimation(!1),this.expanded=!1},expandAnimation:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=this.$tokens.transition.expand.accordion.duration.value,r=this.$refs["expansion-panel"],i=this.$refs.accordion;t?(pr.to(r,e,{height:r.scrollHeight}),this.accordion||pr.to(i,e,{marginTop:this.$tokens.size.margin.accordion.active.vertical.value,marginBottom:this.$tokens.size.margin.accordion.active.vertical.value})):(pr.to(r,e,{height:0}),this.accordion||pr.to(i,e,{marginTop:0,marginBottom:0}))},insetAnimation:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.inset){var e=this.$refs["accordion"],r=this.$tokens.transition.expand.accordion.duration.value,i=this.$tokens.size.margin.accordion.active.inset.value;t?pr.to(e,r,{marginLeft:i,marginRight:i}):pr.to(e,r,{marginLeft:"0",marginRight:"0"})}}}},Ua=Xa,Ka=(r("72cc"),c(Ua,Wa,Ya,!1,null,"80621ee6",null)),Za=Ka.exports,Ja=Za,Qa=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"avatar row flex-bottom",class:t.active?"avatar--active":"",on:{click:t.toggleActive}},[r("div",{staticClass:"avatar__container flex-center flex-middle"},[r("div",{staticClass:"avatar__text text-medium-32"},[t._v(" "+t._s(t.text)+" ")])]),t._e()])},tn=[],en={name:"Avatar",props:{text:{type:String,required:!0}},data:function(){return{active:!1}},methods:{toggleActive:function(){this.active=!this.active}}},rn=en,an=(r("fc81"),c(rn,Qa,tn,!1,null,"a24bc66e",null)),nn=an.exports,sn=nn,on=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"progress-bar",style:t.cssVars},[r("div",{staticClass:"progress-bar__buffer"})])},ln=[],hn={name:"ProgressBar",props:{size:{type:String,default:"s"},color:{type:String,default:null},bufferColor:{type:String,default:null},time:{type:String,default:"xl"}},computed:{cssVars:function(){return{"--height":this.$tokens.size.height["progress-bar"][this.size].value,"--container-color":this.color||this.$tokens.color.background["progress-bar"].container.value,"--buffer-color":this.bufferColor||this.$tokens.color.background["progress-bar"].buffer.value,"--progress-time":this.$tokens.transition.duration[this.time].value}}}},cn=hn,un=(r("8a54"),c(cn,on,ln,!1,null,"dbb4ef54",null)),pn=un.exports,fn=pn,dn=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"chip",style:t.cssVars},[r("div",{staticClass:"chip__text text-code-12"},[t._v(" "+t._s(t.text)+" ")])])},mn=[],gn=Object.freeze({SUCCESS:"success",ERROR:"error",INFO:"info",MESSAGE:"message"}),vn={name:"Chip",props:{text:{type:String,required:!0},type:{type:String,validator:function(t){return Object.values(gn).includes(t)},default:"success"}},computed:{cssVars:function(){return{"--text-color":this.$tokens.color.text.chip[this.type].value,"--border-color":this.$tokens.color.border.chip[this.type].value}}}},yn=vn,bn=(r("4d45"),c(yn,dn,mn,!1,null,"314055ab",null)),_n=bn.exports,xn=_n,En=function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.animationData?r("lottie",{attrs:{options:t.defaultOptions,height:t.height,width:t.width}}):t._e()},Sn=[],kn="https://statics.belvo.io/",Cn={name:"Anim",props:{height:{type:Number,default:null},width:{type:Number,default:null},name:{type:String,required:!0},loop:{type:Boolean,default:!0}},data:function(){return{cdnPath:kn,animationData:null}},computed:{defaultOptions:function(){return{loop:this.loop,animationData:this.animationData}}},mounted:function(){this.getJson()},methods:{getJson:function(){var t=this,e=new XMLHttpRequest;e.open("GET","".concat(this.cdnPath,"animations/").concat(this.name,".json"),!0),e.responseType="json",e.onload=function(){var r=e.status;200===r&&(t.animationData=e.response)},e.send()}}},wn=Cn,Tn=c(wn,En,Sn,!1,null,null,null),Pn=Tn.exports,An=Pn,Mn=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("transition",{attrs:{appear:"",name:"translate","enter-active-class":"translate-in","leave-active-class":"translate-out"}},[r("div",{staticClass:"snack-bar",style:t.cssVars},[r("div",{staticClass:"snack-bar__container"},[r("div",{staticClass:"snack-bar__container-icon",domProps:{innerHTML:t._s(t.icon)}}),r("div",{staticClass:"snack-bar__container-text text-code-12",domProps:{innerHTML:t._s(t.text)}})]),r("div",{staticClass:"snack-bar__close"},[r("b-button",{attrs:{icon:"close","icon-color":t.$tokens.color.close.icon[t.type].value,"hover-color":t.$tokens.color.close.background[t.type].value,"ripple-color":t.$tokens.color.close.ripple[t.type].value,color:"transparent",type:"icon"},on:{clicked:function(e){return t.close()}}})],1)])])},Dn=[],Fn=Object.freeze({INFO:"info",WARNING:"warning",ERROR:"error",SUCCESS:"success"}),In={name:"SnackBar",props:{text:{type:String,default:"info"},type:{type:String,validator:function(t){return Object.values(Fn).includes(t)},default:"info"},icon:{type:String,required:!0},top:{type:Number,required:!0},right:{type:Number,required:!0},timeout:{type:Number,default:8e3}},data:function(){return{show:!0}},computed:{cssVars:function(){return{"--background-color":this.$tokens.color.background["snack-bar"][this.type].value,"--text-color":this.$tokens.color.text["snack-bar"][this.type].value,"--border-color":this.$tokens.color.border["snack-bar"][this.type].value,"--background-color-emoji":this.$tokens.color.background["snack-bar"].emoji[this.type].value,"--top":"".concat(this.top,"px"),"--right":"".concat(this.right,"px")}}},created:function(){var t=this;this.timeout&&setTimeout((function(){return t.close()}),this.timeout)},methods:{close:function(){this.$emit("close")}}},Bn=In,Rn=(r("2c29"),c(Bn,Mn,Dn,!1,null,"14c956e6",null)),zn=Rn.exports,On=zn,Vn=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"tab pb-xs px-m",class:t.active?"tab--active":"",on:{click:t.clicked}},[r("div",{staticClass:"tab__text text-regular-16"},[t._v(" "+t._s(t.text)+" ")])])},Ln=[],Nn={name:"Tab",props:{text:{type:String,required:!0},active:{type:Boolean,default:!1}},data:function(){return{localActive:!1}},methods:{clicked:function(){this.$emit("click")}}},Gn=Nn,Hn=(r("bfaa"),c(Gn,Vn,Ln,!1,null,"4de03bf8",null)),jn=Hn.exports,$n=jn,qn=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"tabs row",class:t.cssClasses},[t._t("default")],2)},Wn=[],Yn={name:"Tabs",props:{boxShadow:{type:Boolean,default:!1}},computed:{cssClasses:function(){var t=this.boxShadow?"tabs--box-shadow":"";return"".concat(t)}}},Xn=Yn,Un=(r("b82f"),c(Xn,qn,Wn,!1,null,"16234d14",null)),Kn=Un.exports,Zn=Kn,Jn=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{ref:"tokenTextField",staticClass:"token-text-field",class:t.classes,attrs:{disabled:t.disabled}},[r("div",{ref:"header",staticClass:"row pl-s flex-between pb-xs"},[r("div",{staticClass:"text-regular-12"},[t._v(" "+t._s(t.label)+" ")]),t.actionIcon?r("div",[r("icon",{attrs:{icon:t.actionIcon},on:{click:function(e){return t.actionIconClicked()}}})],1):t._e()]),r("div",{staticClass:"token-text-field__inputs relative"},[r("div",{staticClass:"token-text-field__inputs-container row "},t._l(t.length,(function(e){return r("div",{directives:[{name:"ripple",rawName:"v-ripple",value:{color:"#ffffff",event:["focusin","mousedown"]},expression:"{color: '#ffffff', event: ['focusin', 'mousedown']}"}],key:e,staticClass:"token-text-field__inputs-container-input col ripple",class:t.inputClasses(e)},[r("input",{ref:"input-"+e,refInFor:!0,staticClass:"text-regular-16 p-0 z-2",attrs:{disabled:t.disabled,required:t.required,type:t.type,pattern:t.pattern,maxlength:t.maxlength,autocapitalize:"off"},domProps:{value:t.values[e]},on:{focus:function(r){return t.activate(e)},keyup:[function(r){return!r.type.indexOf("key")&&t._k(r.keyCode,"left",37,r.key,["Left","ArrowLeft"])?null:"button"in r&&0!==r.button?null:void(e>1&&t.activate(e-1))},function(r){return!r.type.indexOf("key")&&t._k(r.keyCode,"right",39,r.key,["Right","ArrowRight"])?null:"button"in r&&2!==r.button?null:void(e<t.length&&t.activate(e+1))},function(r){return!r.type.indexOf("key")&&t._k(r.keyCode,"delete",[8,46],r.key,["Backspace","Delete","Del"])?null:t.deleteInput(e)}],keydown:[function(e){if(!e.type.indexOf("key")&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"]))return null;e.preventDefault()},function(e){if(!e.type.indexOf("key")&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"]))return null;e.preventDefault()}],blur:t.deactivate,input:function(r){return t.updateValue(r.target.value,e)}}})])})),0),t.error?r("div",{staticClass:"token-text-field__error text-regular-12"},[t._v(" "+t._s(t.error)+" ")]):t._e()])])},Qn=[],ts=(r("13d5"),Object.freeze({TEXT:"text",NUMBER:"number"})),es={name:"TokenTextField",props:{label:{type:String,required:!0},length:{type:Number,required:!0},disabled:{type:Boolean,default:!1},error:{type:String,default:null},required:{type:Boolean,default:!1},autofocus:{type:Boolean,default:!1},value:{type:String,default:""},type:{type:String,validator:function(t){return Object.values(ts).includes(t)},default:"text"},actionIcon:{type:String,default:null},pattern:{type:String,default:null}},data:function(){return{active:!1,maxlength:1,inputFocused:-1,values:{}}},computed:{classes:function(){if(this.disabled)return"token-text-field--disabled";var t=this.error?"token-text-field--error":"";return"".concat(t)}},mounted:function(){var t=this;document.body.addEventListener("click",this.blur),this.$refs.header.addEventListener("click",this.stopPropagation),this.$nextTick((function(){t.autofocus&&t.setFocus()}))},unmounted:function(){this.$refs.header.removeEventListener("click",this.stopPropagation),document.body.removeEventListener("click",this.blur)},methods:{blur:function(t){var e=this.$refs.tokenTextField;this.isDescendant(e,t.target)||this.$emit("blur")},stopPropagation:function(t){t.stopPropagation()},inputClasses:function(t){var e=this.inputFocused===t?"token-text-field__inputs-container-input--active":"",r=this.values[t]?"token-text-field__inputs-container-input--filled":"";return"".concat(e," ").concat(r)},activate:function(t){this.disabled||(this.$refs["input-".concat(t)][0].select(),this.inputFocused=t)},deactivate:function(t){if(!this.disabled){var e=this.$refs.tokenTextField;this.isDescendant(e,t.target)||this.$emit("blur"),this.inputFocused=-1}},isDescendant:function(t,e){var r=e.parentNode;while(null!=r){if(r===t)return!0;r=r.parentNode}return!1},setFocus:function(){this.disabled||this.$refs["input-0"].focus()},deleteInput:function(t){this.values[t]="",t>1&&this.activate(t-1)},updateInputFocus:function(t){var e=this.values[t].length;if(e>=this.maxlength){var r=t+1;r<=this.length&&this.$refs["input-".concat(t+1)][0].focus()}},updateValue:function(t,e){this.error&&this.$emit("clearError"),this.values[e]=t;var r=Object.values(this.values).reduce((function(t,e){return"".concat(t).concat(e)}),"");this.updateInputFocus(e),this.$emit("input",r)},actionIconClicked:function(){this.$emit("actionIconClick")}}},rs=es,is=(r("8d39"),c(rs,Jn,Qn,!1,null,"190aba6c",null)),as=is.exports,ns=as,ss=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("span",{staticClass:"icon",class:t.cssClasses,style:t.cssVars,on:{click:t.clicked}},[r("img",{attrs:{src:t.cdnPath+"icons/icon_normal_"+t.icon+".svg"}})])},os=[],ls={name:"Icon",mixins:[E],props:{icon:{type:String,required:!0},color:{type:String,default:null},flat:{type:Boolean,default:!1}},data:function(){return{cdnPath:kn}},computed:{cssClasses:function(){var t=this.flat?"icon--flat":"";return"".concat(t)},cssVars:function(){var t=this.color||this.$tokens.color.grey["50"].value,e=this.hexToHsl(t,55);return{"--icon-color":this.hexToFilter(t),"--icon-color-hover":this.hslToFilter(e)}}},methods:{clicked:function(t){this.$emit("click")}}},hs=ls,cs=(r("985f"),c(hs,ss,os,!1,null,"5f71ff43",null)),us=cs.exports,ps=us,fs=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{directives:[{name:"ripple",rawName:"v-ripple",value:{color:"#ffffff"},expression:"{color: '#ffffff'}"}],staticClass:"grid-item",style:t.cssVars,on:{click:t.clicked}},[r("div",{staticClass:"ripple"},[t._t("default",[r("div",{staticClass:"grid-item__content"},[r("img",{attrs:{src:t.image}})])])],2)])},ds=[],ms={name:"GridItem",props:{image:{type:String,default:null}},computed:{cssVars:function(){return{"--path-image":this.image||""}}},methods:{clicked:function(){this.$emit("click")}}},gs=ms,vs=(r("8aaf"),c(gs,fs,ds,!1,null,"118f567a",null)),ys=vs.exports,bs=ys,_s=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"list-header flex flex-start"},[r("div",{staticClass:"list-header__text text-regular-14"},[t._v(" "+t._s(t.text)+" ")])])},xs=[],Es={name:"ListHeader",props:{text:{type:String,required:!0}}},Ss=Es,ks=(r("0f6b"),c(Ss,_s,xs,!1,null,"6841f599",null)),Cs=ks.exports,ws=Cs,Ts=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{on:{submit:function(e){return e.preventDefault(),t.submitForm()},keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.preventDefault(),t.submitForm())}}},[t._t("default")],2)},Ps=[],As={name:"BForm",methods:{submitForm:function(){this.$emit("submit")}}},Ms=As,Ds=c(Ms,Ts,Ps,!1,null,null,null),Fs=Ds.exports,Is=Fs,Bs=(r("4160"),r("b64b"),r("159b"),{bind:function(t,e){e.value=e.value||{};var r=e.value.removable||!1,i=e.value.event||"mousedown",a={transition:200};Rs(Object.keys(e.modifiers),a),"string"!==typeof i?i.forEach((function(r){"number"===typeof r?t.addEventListener("keydown",(function(i){2!==i.button&&i.keyCode===r&&o(i,t,e.value)})):t.addEventListener(r,(function(r){2!==r.button&&o(r,t,e.value)}))})):t.addEventListener(i,(function(r){2!==r.button&&o(r,t,e.value)}));var n=e.value.color||Bs.color||"rgba(0, 0, 0, 0.35)",s=Bs.zIndex||"9999";function o(t,e){var i=e,o=i.getBoundingClientRect(),l=o.left,h=o.top,c=i.offsetWidth,u=i.offsetHeight,p=isNaN(t.clientX)?0:t.clientX-l,f=isNaN(t.clientY)?0:t.clientY-h,d=Math.max(p,c-p),m=Math.max(f,u-f),g=window.getComputedStyle(i),v=Math.sqrt(d*d+m*m),y=document.createElement("div"),b=document.createElement("div");b.className="ripple-container",y.className="ripple",y.style.marginTop="0px",y.style.marginLeft="0px",y.style.width="1px",y.style.height="1px",y.style.transition="all "+a.transition+"ms cubic-bezier(0.4, 0, 0.2, 1)",y.style.borderRadius="50%",y.style.pointerEvents="none",y.style.position="relative",y.style.zIndex=s,y.style.backgroundColor=n,b.style.position="absolute",b.style.left="0px",b.style.top="0px",b.style.right="0px",b.style.bottom="0px",b.style.height="0",b.style.width="0",b.style.pointerEvents="none",b.style.overflow="hidden";var _=i.style.position.length>0?i.style.position:getComputedStyle(i).position;function x(n){e.contains(n.target)&&!r&&"focusout"!==n.type||(setTimeout((function(){y.style.backgroundColor="rgba(0, 0, 0, 0)"}),100),i.getAttribute("disabled")||i.getAttribute("ripple-disabled")||setTimeout((function(){b.parentNode&&b.parentNode.removeChild(b)}),200),e.removeEventListener("mouseup",t.stopPropagation()),e.removeEventListener("click",t.stopPropagation()),document.body.removeEventListener("click",x,!1),e.removeEventListener("blur",x,!1),e.removeEventListener("mouseleave",x),e.removeEventListener("mousedown",x),e.removeEventListener("focusout",x),setTimeout((function(){for(var t=!0,e=0;e<i.childNodes.length;e++)"ripple-container"===i.childNodes[e].className&&(t=!1);t&&(i.style.position="static"!==_?_:"")}),a.transition+250))}"relative"!==_&&(i.style.position="relative"),i.getAttribute("disabled")||i.getAttribute("ripple-disabled")||0!==i.getElementsByClassName("ripple-container").length||(b.appendChild(y),i.appendChild(b)),y.style.marginLeft=p+"px",y.style.marginTop=f+"px",b.style.width="100%",b.style.height="100%",b.style.borderTopLeftRadius=g.borderTopLeftRadius,b.style.borderTopRightRadius=g.borderTopRightRadius,b.style.borderBottomLeftRadius=g.borderBottomLeftRadius,b.style.borderBottomRightRadius=g.borderBottomRightRadius,b.style.direction="ltr",setTimeout((function(){y.style.width=2*v+"px",y.style.height=2*v+"px",y.style.marginLeft=p-v+"px",y.style.marginTop=f-v+"px"}),10),"mousedown"===t.type||"keydown"===t.type||"focusin"===t.type?(document.body.addEventListener("click",x,!1),e.addEventListener("blur",x),e.addEventListener("focusout",x),r&&e.addEventListener("mouseup",x),e.addEventListener("click",t.stopPropagation())):"mouseover"===t.type?(e.addEventListener("mouseleave",x),e.addEventListener("mousedown",x)):x(t)}}});function Rs(t,e){t.forEach((function(t){isNaN(Number(t))?e.event=t:e.transition=t}))}var zs=Bs,Os={bind:function(t,e,r){t.event=function(t){r.context[e.expression](t)},t.stopProp=function(t){t.stopPropagation()},document.body.addEventListener("click",t.event),t.addEventListener("click",t.stopProp),t.addEventListener("blur",t.event,!0)},unbind:function(t){t.removeEventListener("blur",t.event)},stopProp:function(t){t.stopPropagation()}},Vs=Os,Ls=(r("aa06"),r("1775")),Ns=r.n(Ls),Gs=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{ref:"lavContainer",style:t.style})},Hs=[],js=r("94f1"),$s=r.n(js),qs={props:{options:{type:Object,required:!0},height:Number,width:Number},data:function(){return{style:{width:this.width?"".concat(this.width,"px"):"100%",height:this.height?"".concat(this.height,"px"):"100%",overflow:"hidden",margin:"0 auto"}}},mounted:function(){this.anim=$s.a.loadAnimation({container:this.$refs.lavContainer,renderer:"svg",loop:!1!==this.options.loop,autoplay:!1!==this.options.autoplay,animationData:this.options.animationData,rendererSettings:this.options.rendererSettings}),this.$emit("animCreated",this.anim)}},Ws=qs,Ys=c(Ws,Gs,Hs,!1,null,null,null),Xs=Ys.exports,Us=r("8bbf"),Ks=r.n(Us),Zs=function(){return Zs=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++)for(var a in e=arguments[r],e)Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t},Zs.apply(this,arguments)};function Js(t,e,r,i){return new(r||(r=Promise))((function(a,n){function s(t){try{l(i.next(t))}catch(e){n(e)}}function o(t){try{l(i["throw"](t))}catch(e){n(e)}}function l(t){t.done?a(t.value):new r((function(e){e(t.value)})).then(s,o)}l((i=i.apply(t,e||[])).next())}))}function Qs(t,e){var r,i,a,n,s={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return n={next:o(0),throw:o(1),return:o(2)},"function"===typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function o(t){return function(e){return l([t,e])}}function l(n){if(r)throw new TypeError("Generator is already executing.");while(s)try{if(r=1,i&&(a=2&n[0]?i["return"]:n[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,n[1])).done)return a;switch(i=0,a&&(n=[2&n[0],a.value]),n[0]){case 0:case 1:a=n;break;case 4:return s.label++,{value:n[1],done:!1};case 5:s.label++,i=n[1],n=[0];continue;case 7:n=s.ops.pop(),s.trys.pop();continue;default:if(a=s.trys,!(a=a.length>0&&a[a.length-1])&&(6===n[0]||2===n[0])){s=0;continue}if(3===n[0]&&(!a||n[1]>a[0]&&n[1]<a[3])){s.label=n[1];break}if(6===n[0]&&s.label<a[1]){s.label=a[1],a=n;break}if(a&&s.label<a[2]){s.label=a[2],s.ops.push(n);break}a[2]&&s.ops.pop(),s.trys.pop();continue}n=e.call(t,s)}catch(o){n=[6,o],i=0}finally{r=a=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}}function to(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;var i=Array(t),a=0;for(e=0;e<r;e++)for(var n=arguments[e],s=0,o=n.length;s<o;s++,a++)i[a]=n[s];return i}function eo(t){return t!==t}function ro(t){return null===t||void 0===t}function io(t){return Array.isArray(t)&&0===t.length}var ao=function(t){return null!==t&&t&&"object"===typeof t&&!Array.isArray(t)};function no(t,e){if(t instanceof RegExp&&e instanceof RegExp)return no(t.source,e.source)&&no(t.flags,e.flags);if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;for(var r=0;r<t.length;r++)if(!no(t[r],e[r]))return!1;return!0}return ao(t)&&ao(e)?Object.keys(t).every((function(r){return no(t[r],e[r])}))&&Object.keys(e).every((function(r){return no(t[r],e[r])})):!(!eo(t)||!eo(e))||t===e}function so(t){return""!==t&&!ro(t)}function oo(t){return"function"===typeof t}function lo(t){return oo(t)&&!!t.__locatorRef}function ho(t,e){var r=Array.isArray(t)?t:po(t);if(oo(r.findIndex))return r.findIndex(e);for(var i=0;i<r.length;i++)if(e(r[i],i))return i;return-1}function co(t,e){var r=Array.isArray(t)?t:po(t),i=ho(r,e);return-1===i?void 0:r[i]}function uo(t,e){return-1!==t.indexOf(e)}function po(t){return oo(Array.from)?Array.from(t):fo(t)}function fo(t){for(var e=[],r=t.length,i=0;i<r;i++)e.push(t[i]);return e}function mo(t){return oo(Object.values)?Object.values(t):Object.keys(t).map((function(e){return t[e]}))}function go(t,e){return Object.keys(e).forEach((function(r){if(ao(e[r]))return t[r]||(t[r]={}),void go(t[r],e[r]);t[r]=e[r]})),t}function vo(){return{untouched:!0,touched:!1,dirty:!1,pristine:!0,valid:!1,invalid:!1,validated:!1,pending:!1,required:!1,changed:!1,passed:!1,failed:!1}}function yo(t,e,r){return void 0===e&&(e=0),void 0===r&&(r={cancelled:!1}),0===e?t:function(){for(var a=[],n=0;n<arguments.length;n++)a[n]=arguments[n];var s=function(){i=void 0,r.cancelled||t.apply(void 0,a)};clearTimeout(i),i=setTimeout(s,e)};var i}function bo(t){console.warn("[vee-validate] "+t)}function _o(t,e){return t.replace(/{([^}]+)}/g,(function(t,r){return r in e?e[r]:"{"+r+"}"}))}var xo={};function Eo(t){var e;return(null===(e=t.params)||void 0===e?void 0:e.length)&&(t.params=t.params.map((function(t){return"string"===typeof t?{name:t}:t}))),t}var So=function(){function t(){}return t.extend=function(t,e){var r=Eo(e);xo[t]?xo[t]=go(xo[t],e):xo[t]=Zs({lazy:!1,computesRequired:!1},r)},t.isLazy=function(t){var e;return!!(null===(e=xo[t])||void 0===e?void 0:e.lazy)},t.isRequireRule=function(t){var e;return!!(null===(e=xo[t])||void 0===e?void 0:e.computesRequired)},t.getRuleDefinition=function(t){return xo[t]},t}();function ko(t,e){Co(t,e),"object"!==typeof e?So.extend(t,{validate:e}):So.extend(t,e)}function Co(t,e){if(!oo(e)&&!oo(e.validate)&&!So.getRuleDefinition(t))throw new Error("Extension Error: The validator '"+t+"' must be a function or have a 'validate' method.")}var wo={defaultMessage:"{_field_} is not valid.",skipOptional:!0,classes:{touched:"touched",untouched:"untouched",valid:"valid",invalid:"invalid",pristine:"pristine",dirty:"dirty"},bails:!0,mode:"aggressive",useConstraintAttrs:!0},To=Zs({},wo),Po=function(){return To},Ao=function(t){To=Zs(Zs({},To),t)};function Mo(t){var e={};return Object.defineProperty(e,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),t?ao(t)&&t._$$isNormalized?t:ao(t)?Object.keys(t).reduce((function(e,r){var i=[],a=!1;return!0===t[r]?i=[]:Array.isArray(t[r])?(i=t[r],a=!0):i=ao(t[r])?t[r]:[t[r]],!1!==t[r]&&(e[r]=Do(r,i,a)),e}),e):"string"!==typeof t?(bo("rules must be either a string or an object."),e):t.split("|").reduce((function(t,e){var r=Fo(e);return r.name?(t[r.name]=Do(r.name,r.params),t):t}),e):e}function Do(t,e,r){void 0===r&&(r=!1);var i=So.getRuleDefinition(t);if(!i)return e;var a,n,s={};if(!i.params&&!Array.isArray(e))throw new Error("You provided an object params to a rule that has no defined schema.");if(Array.isArray(e)&&!i.params)return e;!i.params||i.params.length<e.length&&Array.isArray(e)?a=e.map((function(t,e){var r,a=null===(r=i.params)||void 0===r?void 0:r[e];return n=a||n,a||(a=n),a})):a=i.params;for(var o=0;o<a.length;o++){var l=a[o],h=l.default;Array.isArray(e)&&!r?o in e&&(h=e[o]):l.name in e?h=e[l.name]:1===a.length&&(h=e),l.isTarget&&(h=Io(h,l.cast)),"string"===typeof h&&"@"===h[0]&&(h=Io(h.slice(1),l.cast)),!lo(h)&&l.cast&&(h=l.cast(h)),s[l.name]?(s[l.name]=Array.isArray(s[l.name])?s[l.name]:[s[l.name]],s[l.name].push(h)):s[l.name]=h}return s}var Fo=function(t){var e=[],r=t.split(":")[0];return uo(t,":")&&(e=t.split(":").slice(1).join(":").split(",")),{name:r,params:e}};function Io(t,e){var r=function(r){var i=r[t];return e?e(i):i};return r.__locatorRef=t,r}function Bo(t){return Array.isArray(t)?t.filter(lo):Object.keys(t).filter((function(e){return lo(t[e])})).map((function(e){return t[e]}))}function Ro(t,e,r){return void 0===r&&(r={}),Js(this,void 0,void 0,(function(){var i,a,n,s,o,l,h;return Qs(this,(function(c){switch(c.label){case 0:return i=null===r||void 0===r?void 0:r.bails,a=null===r||void 0===r?void 0:r.skipIfEmpty,n={name:(null===r||void 0===r?void 0:r.name)||"{field}",rules:Mo(e),bails:null===i||void 0===i||i,skipIfEmpty:null===a||void 0===a||a,forceRequired:!1,crossTable:(null===r||void 0===r?void 0:r.values)||{},names:(null===r||void 0===r?void 0:r.names)||{},customMessages:(null===r||void 0===r?void 0:r.customMessages)||{}},[4,zo(n,t,r)];case 1:return s=c.sent(),o=[],l={},h={},s.errors.forEach((function(t){var e=t.msg();o.push(e),l[t.rule]=e,h[t.rule]=t.msg})),[2,{valid:s.valid,errors:o,failedRules:l,regenerateMap:h}]}}))}))}function zo(t,e,r){var i=(void 0===r?{}:r).isInitial,a=void 0!==i&&i;return Js(this,void 0,void 0,(function(){var r,i,n,s,o,l,h,c;return Qs(this,(function(u){switch(u.label){case 0:return[4,Oo(t,e)];case 1:if(r=u.sent(),i=r.shouldSkip,n=r.errors,i)return[2,{valid:!n.length,errors:n}];s=Object.keys(t.rules).filter((function(t){return!So.isRequireRule(t)})),o=s.length,l=0,u.label=2;case 2:return l<o?a&&So.isLazy(s[l])?[3,4]:(h=s[l],[4,Vo(t,e,{name:h,params:t.rules[h]})]):[3,5];case 3:if(c=u.sent(),!c.valid&&c.error&&(n.push(c.error),t.bails))return[2,{valid:!1,errors:n}];u.label=4;case 4:return l++,[3,2];case 5:return[2,{valid:!n.length,errors:n}]}}))}))}function Oo(t,e){return Js(this,void 0,void 0,(function(){var r,i,a,n,s,o,l,h,c;return Qs(this,(function(u){switch(u.label){case 0:r=Object.keys(t.rules).filter(So.isRequireRule),i=r.length,a=[],n=ro(e)||""===e||io(e),s=n&&t.skipIfEmpty,o=!1,l=0,u.label=1;case 1:return l<i?(h=r[l],[4,Vo(t,e,{name:h,params:t.rules[h]})]):[3,4];case 2:if(c=u.sent(),!ao(c))throw new Error("Require rules has to return an object (see docs)");if(c.required&&(o=!0),!c.valid&&c.error&&(a.push(c.error),t.bails))return[2,{shouldSkip:!0,errors:a}];u.label=3;case 3:return l++,[3,1];case 4:return(!n||o||t.skipIfEmpty)&&(t.bails||s)?[2,{shouldSkip:!o&&n,errors:a}]:[2,{shouldSkip:!1,errors:a}]}}))}))}function Vo(t,e,r){return Js(this,void 0,void 0,(function(){var i,a,n,s,o;return Qs(this,(function(l){switch(l.label){case 0:if(i=So.getRuleDefinition(r.name),!i||!i.validate)throw new Error("No such validator '"+r.name+"' exists.");return a=i.castValue?i.castValue(e):e,n=jo(r.params,t.crossTable),[4,i.validate(a,n)];case 1:return s=l.sent(),"string"===typeof s?(o=Zs(Zs({},n||{}),{_field_:t.name,_value_:e,_rule_:r.name}),[2,{valid:!1,error:{rule:r.name,msg:function(){return _o(s,o)}}}]):(ao(s)||(s={valid:s}),[2,{valid:s.valid,required:s.required,error:s.valid?void 0:Lo(t,e,i,r.name,n)}])}}))}))}function Lo(t,e,r,i,a){var n,s=null!==(n=t.customMessages[i])&&void 0!==n?n:r.message,o=No(t,r,i),l=Go(t,r,i,s),h=l.userTargets,c=l.userMessage,u=Zs(Zs(Zs(Zs({},a||{}),{_field_:t.name,_value_:e,_rule_:i}),o),h);return{msg:function(){return Ho(c||Po().defaultMessage,t.name,u)},rule:i}}function No(t,e,r){var i=e.params;if(!i)return{};var a=i.filter((function(t){return t.isTarget})).length;if(a<=0)return{};var n={},s=t.rules[r];!Array.isArray(s)&&ao(s)&&(s=i.map((function(t){return s[t.name]})));for(var o=0;o<i.length;o++){var l=i[o],h=s[o];if(lo(h)){h=h.__locatorRef;var c=t.names[h]||h;n[l.name]=c,n["_"+l.name+"_"]=t.crossTable[h]}}return n}function Go(t,e,r,i){var a={},n=t.rules[r],s=e.params||[];return n?(Object.keys(n).forEach((function(e,r){var i=n[e];if(!lo(i))return{};var o=s[r];if(!o)return{};var l=i.__locatorRef;a[o.name]=t.names[l]||l,a["_"+o.name+"_"]=t.crossTable[l]})),{userTargets:a,userMessage:i}):{}}function Ho(t,e,r){return"function"===typeof t?t(e,r):_o(t,Zs(Zs({},r),{_field_:e}))}function jo(t,e){if(Array.isArray(t))return t;var r={},i=function(t){return lo(t)?t(e):t};return Object.keys(t).forEach((function(e){r[e]=i(t[e])})),r}var $o=function(){return{on:["input","blur"]}},qo=function(){return{on:["change"]}},Wo=function(t){var e=t.errors;return e.length?{on:["input","change"]}:{on:["change","blur"]}},Yo=function(){return{on:[]}},Xo={aggressive:$o,eager:Wo,passive:Yo,lazy:qo},Uo=new Ks.a;function Ko(){Uo.$emit("change:locale")}var Zo,Jo=function(){function t(t,e){this.container={},this.locale=t,this.merge(e)}return t.prototype.resolve=function(t,e,r){return this.format(this.locale,t,e,r)},t.prototype.format=function(t,e,r,i){var a,n,s,o,l,h,c,u,p;return p=(null===(s=null===(n=null===(a=this.container[t])||void 0===a?void 0:a.fields)||void 0===n?void 0:n[e])||void 0===s?void 0:s[r])||(null===(l=null===(o=this.container[t])||void 0===o?void 0:o.messages)||void 0===l?void 0:l[r]),p||(p="{_field_} is not valid"),e=null!==(u=null===(c=null===(h=this.container[t])||void 0===h?void 0:h.names)||void 0===c?void 0:c[e])&&void 0!==u?u:e,oo(p)?p(e,i):_o(p,Zs(Zs({},i),{_field_:e}))},t.prototype.merge=function(t){go(this.container,t)},t.prototype.hasRule=function(t){var e,r;return!!(null===(r=null===(e=this.container[this.locale])||void 0===e?void 0:e.messages)||void 0===r?void 0:r[t])},t}();function Qo(t,e){var r;if(Zo||(Zo=new Jo("en",{}),Ao({defaultMessage:function(t,e){return Zo.resolve(t,null===e||void 0===e?void 0:e._rule_,e||{})}})),"string"===typeof t)return Zo.locale=t,e&&Zo.merge((r={},r[t]=e,r)),void Ko();Zo.merge(t)}var tl=function(t){return!!t&&(!!("undefined"!==typeof Event&&oo(Event)&&t instanceof Event)||!(!t||!t.srcElement))};function el(t){var e,r;if(!tl(t))return t;var i=t.target;if("file"===i.type&&i.files)return po(i.files);if(null===(e=i._vModifiers)||void 0===e?void 0:e.number){var a=parseFloat(i.value);return eo(a)?i.value:a}if(null===(r=i._vModifiers)||void 0===r?void 0:r.trim){var n="string"===typeof i.value?i.value.trim():i.value;return n}return i.value}var rl=function(t){var e,r=(null===(e=t.data)||void 0===e?void 0:e.attrs)||t.elm;return!("input"!==t.tag||r&&r.type)||("textarea"===t.tag||uo(["text","password","search","email","tel","url","number"],null===r||void 0===r?void 0:r.type))};function il(t){if(t.data){var e=t.data;if("model"in e)return e.model;if(t.data.directives)return co(t.data.directives,(function(t){return"model"===t.name}))}}function al(t){var e,r,i=il(t);if(i)return{value:i.value};var a=ol(t),n=(null===a||void 0===a?void 0:a.prop)||"value";if((null===(e=t.componentOptions)||void 0===e?void 0:e.propsData)&&n in t.componentOptions.propsData){var s=t.componentOptions.propsData;return{value:s[n]}}return(null===(r=t.data)||void 0===r?void 0:r.domProps)&&"value"in t.data.domProps?{value:t.data.domProps.value}:void 0}function nl(t){return Array.isArray(t)?t:Array.isArray(t.children)?t.children:t.componentOptions&&Array.isArray(t.componentOptions.children)?t.componentOptions.children:[]}function sl(t){if(!Array.isArray(t)&&void 0!==al(t))return t;var e=nl(t);return e.reduce((function(t,e){return t||sl(e)}),null)}function ol(t){return t.componentOptions?t.componentOptions.Ctor.options.model:null}function ll(t,e,r){if(ro(t[e]))t[e]=[r];else{if(oo(t[e])&&t[e].fns){var i=t[e];return i.fns=Array.isArray(i.fns)?i.fns:[i.fns],void(uo(i.fns,r)||i.fns.push(r))}if(oo(t[e])){var a=t[e];t[e]=[a]}Array.isArray(t[e])&&!uo(t[e],r)&&t[e].push(r)}}function hl(t,e,r){t.data||(t.data={}),ro(t.data.on)&&(t.data.on={}),ll(t.data.on,e,r)}function cl(t,e,r){t.componentOptions&&(t.componentOptions.listeners||(t.componentOptions.listeners={}),ll(t.componentOptions.listeners,e,r))}function ul(t,e,r){t.componentOptions?cl(t,e,r):hl(t,e,r)}function pl(t,e){var r;if(t.componentOptions){var i=(ol(t)||{event:"input"}).event;return i}return(null===(r=null===e||void 0===e?void 0:e.modifiers)||void 0===r?void 0:r.lazy)?"change":rl(t)?"input":"change"}function fl(t){return uo(["input","select","textarea"],t.tag)}function dl(t){var e,r=null===(e=t.data)||void 0===e?void 0:e.attrs,i={};return r?("email"===r.type&&So.getRuleDefinition("email")&&(i.email=["multiple"in r]),r.pattern&&So.getRuleDefinition("regex")&&(i.regex=r.pattern),r.maxlength>=0&&So.getRuleDefinition("max")&&(i.max=r.maxlength),r.minlength>=0&&So.getRuleDefinition("min")&&(i.min=r.minlength),"number"===r.type&&(so(r.min)&&So.getRuleDefinition("min_value")&&(i.min_value=Number(r.min)),so(r.max)&&So.getRuleDefinition("max_value")&&(i.max_value=Number(r.max))),i):i}function ml(t){var e,r=["input","select","textarea"],i=null===(e=t.data)||void 0===e?void 0:e.attrs;if(!uo(r,t.tag)||!i)return{};var a={};return"required"in i&&!1!==i.required&&So.getRuleDefinition("required")&&(a.required="checkbox"!==i.type||[!0]),rl(t)?Mo(Zs(Zs({},a),dl(t))):Mo(a)}function gl(t,e){return t.$scopedSlots.default?t.$scopedSlots.default(e)||[]:t.$slots.default||[]}function vl(t,e){return!(t._ignoreImmediate||!t.immediate)||(!(t.value===e||!t.normalizedEvents.length)||(!!t._needsValidation||!t.initialized&&void 0===e))}function yl(t){return Zs(Zs({},t.flags),{errors:t.errors,classes:t.classes,failedRules:t.failedRules,reset:function(){return t.reset()},validate:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return t.validate.apply(t,e)},ariaInput:{"aria-invalid":t.flags.invalid?"true":"false","aria-required":t.isRequired?"true":"false","aria-errormessage":"vee_"+t.id},ariaMsg:{id:"vee_"+t.id,"aria-live":t.errors.length?"assertive":"off"}})}function bl(t,e){t.initialized||(t.initialValue=e);var r=vl(t,e);if(t._needsValidation=!1,t.value=e,t._ignoreImmediate=!0,r){var i=function(){if(t.immediate||t.flags.validated)return xl(t);t.validateSilent()};t.initialized?i():t.$once("hook:mounted",(function(){return i()}))}}function _l(t){var e=oo(t.mode)?t.mode:Xo[t.mode];return e(t)}function xl(t){var e=t.validateSilent();return t._pendingValidation=e,e.then((function(r){return e===t._pendingValidation&&(t.applyResult(r),t._pendingValidation=void 0),r}))}function El(t){t.$veeOnInput||(t.$veeOnInput=function(e){t.syncValue(e),t.setFlags({dirty:!0,pristine:!1})});var e=t.$veeOnInput;t.$veeOnBlur||(t.$veeOnBlur=function(){t.setFlags({touched:!0,untouched:!1})});var r=t.$veeOnBlur,i=t.$veeHandler,a=_l(t);return i&&t.$veeDebounce===t.debounce||(i=yo((function(){t.$nextTick((function(){t._pendingReset||xl(t),t._pendingReset=!1}))}),a.debounce||t.debounce),t.$veeHandler=i,t.$veeDebounce=t.debounce),{onInput:e,onBlur:r,onValidate:i}}function Sl(t,e){var r=al(e);t._inputEventName=t._inputEventName||pl(e,il(e)),bl(t,null===r||void 0===r?void 0:r.value);var i=El(t),a=i.onInput,n=i.onBlur,s=i.onValidate;ul(e,t._inputEventName,a),ul(e,"blur",n),t.normalizedEvents.forEach((function(t){ul(e,t,s)})),t.initialized=!0}var kl=0;function Cl(){var t=[],e="",r={errors:t,value:void 0,initialized:!1,initialValue:void 0,flags:vo(),failedRules:{},isActive:!0,fieldName:e,id:""};return r}var wl=Ks.a.extend({inject:{$_veeObserver:{from:"$_veeObserver",default:function(){return this.$vnode.context.$_veeObserver||(this.$vnode.context.$_veeObserver=Dl()),this.$vnode.context.$_veeObserver}}},props:{vid:{type:String,default:""},name:{type:String,default:null},mode:{type:[String,Function],default:function(){return Po().mode}},rules:{type:[Object,String],default:null},immediate:{type:Boolean,default:!1},bails:{type:Boolean,default:function(){return Po().bails}},skipIfEmpty:{type:Boolean,default:function(){return Po().skipOptional}},debounce:{type:Number,default:0},tag:{type:String,default:"span"},slim:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},customMessages:{type:Object,default:function(){return{}}}},watch:{rules:{deep:!0,handler:function(t,e){this._needsValidation=!no(t,e)}}},data:Cl,computed:{fieldDeps:function(){var t=this;return Object.keys(this.normalizedRules).reduce((function(e,r){var i=Bo(t.normalizedRules[r]).map((function(t){return t.__locatorRef}));return e.push.apply(e,i),i.forEach((function(e){Fl(t,e)})),e}),[])},normalizedEvents:function(){var t=this,e=_l(this).on;return(e||[]).map((function(e){return"input"===e?t._inputEventName:e}))},isRequired:function(){var t=Zs(Zs({},this._resolvedRules),this.normalizedRules),e=Object.keys(t).some(So.isRequireRule);return this.flags.required=!!e,e},classes:function(){var t=Po().classes;return Tl(t,this.flags)},normalizedRules:function(){return Mo(this.rules)}},mounted:function(){var t=this,e=function(){if(t.flags.validated){var e=t._regenerateMap;if(e){var r=[],i={};return Object.keys(e).forEach((function(t){var a=e[t]();r.push(a),i[t]=a})),void t.applyResult({errors:r,failedRules:i,regenerateMap:e})}t.validate()}};Uo.$on("change:locale",e),this.$on("hook:beforeDestroy",(function(){Uo.$off("change:locale",e)}))},render:function(t){var e,r,i,a;this.registerField();var n=yl(this),s=gl(this,n),o=sl(s);if(!o)return this.slim&&s.length<=1?s[0]:t(this.tag,s);var l=Po().useConstraintAttrs?ml(o):{};return no(this._resolvedRules,l)||(this._needsValidation=!0),fl(o)&&(this.fieldName=(null===(r=null===(e=o.data)||void 0===e?void 0:e.attrs)||void 0===r?void 0:r.name)||(null===(a=null===(i=o.data)||void 0===i?void 0:i.attrs)||void 0===a?void 0:a.id)),this._resolvedRules=l,Sl(this,o),this.slim&&s.length<=1?s[0]:t(this.tag,s)},beforeDestroy:function(){this.$_veeObserver.unobserve(this.id)},activated:function(){this.isActive=!0},deactivated:function(){this.isActive=!1},methods:{setFlags:function(t){var e=this;Object.keys(t).forEach((function(r){e.flags[r]=t[r]}))},syncValue:function(t){var e=el(t);this.value=e,this.flags.changed=this.initialValue!==e},reset:function(){var t=this;this.errors=[],this.initialValue=this.value;var e=vo();e.required=this.isRequired,this.setFlags(e),this.failedRules={},this.validateSilent(),this._pendingValidation=void 0,this._pendingReset=!0,setTimeout((function(){t._pendingReset=!1}),this.debounce)},validate:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return Js(this,void 0,void 0,(function(){return Qs(this,(function(e){return t.length>0&&this.syncValue(t[0]),[2,xl(this)]}))}))},validateSilent:function(){return Js(this,void 0,void 0,(function(){var t,e;return Qs(this,(function(r){switch(r.label){case 0:return this.setFlags({pending:!0}),t=Zs(Zs({},this._resolvedRules),this.normalizedRules),Object.defineProperty(t,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),[4,Ro(this.value,t,Zs(Zs({name:this.name||this.fieldName},Pl(this)),{bails:this.bails,skipIfEmpty:this.skipIfEmpty,isInitial:!this.initialized,customMessages:this.customMessages}))];case 1:return e=r.sent(),this.setFlags({pending:!1,valid:e.valid,invalid:!e.valid}),[2,e]}}))}))},setErrors:function(t){this.applyResult({errors:t,failedRules:{}})},applyResult:function(t){var e=t.errors,r=t.failedRules,i=t.regenerateMap;this.errors=e,this._regenerateMap=i,this.failedRules=Zs({},r||{}),this.setFlags({valid:!e.length,passed:!e.length,invalid:!!e.length,failed:!!e.length,validated:!0,changed:this.value!==this.initialValue})},registerField:function(){Ml(this)}}});function Tl(t,e){for(var r={},i=Object.keys(e),a=i.length,n=function(a){var n=i[a],s=t&&t[n]||n,o=e[n];return ro(o)?"continue":"valid"!==n&&"invalid"!==n||e.validated?void("string"===typeof s?r[s]=o:Array.isArray(s)&&s.forEach((function(t){r[t]=o}))):"continue"},s=0;s<a;s++)n(s);return r}function Pl(t){var e=t.$_veeObserver.refs,r={names:{},values:{}};return t.fieldDeps.reduce((function(t,r){return e[r]?(t.values[r]=e[r].value,t.names[r]=e[r].name,t):t}),r)}function Al(t){return t.vid?t.vid:t.name?t.name:t.id?t.id:t.fieldName?t.fieldName:(kl++,"_vee_"+kl)}function Ml(t){var e=Al(t),r=t.id;!t.isActive||r===e&&t.$_veeObserver.refs[r]||(r!==e&&t.$_veeObserver.refs[r]===t&&t.$_veeObserver.unobserve(r),t.id=e,t.$_veeObserver.observe(t))}function Dl(){return{refs:{},observe:function(t){this.refs[t.id]=t},unobserve:function(t){delete this.refs[t]}}}function Fl(t,e,r){void 0===r&&(r=!0);var i=t.$_veeObserver.refs;if(t._veeWatchers||(t._veeWatchers={}),!i[e]&&r)return t.$once("hook:mounted",(function(){Fl(t,e,!1)}));!oo(t._veeWatchers[e])&&i[e]&&(t._veeWatchers[e]=i[e].$watch("value",(function(){t.flags.validated&&(t._needsValidation=!0,t.validate())})))}var Il=[["pristine","every"],["dirty","some"],["touched","some"],["untouched","every"],["valid","every"],["invalid","some"],["pending","some"],["validated","every"],["changed","some"],["passed","every"],["failed","some"]],Bl=0;function Rl(){var t={},e={},r=Nl(),i={},a=[];return{id:"",refs:t,observers:a,errors:e,flags:r,fields:i}}function zl(){return{$_veeObserver:this}}Ks.a.extend({name:"ValidationObserver",provide:zl,inject:{$_veeObserver:{from:"$_veeObserver",default:function(){return this.$vnode.context.$_veeObserver?this.$vnode.context.$_veeObserver:null}}},props:{tag:{type:String,default:"span"},vid:{type:String,default:function(){return"obs_"+Bl++}},slim:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},data:Rl,created:function(){var t=this;this.id=this.vid,Vl(this);var e=yo((function(e){var r=e.errors,i=e.flags,a=e.fields;t.errors=r,t.flags=i,t.fields=a}),16);this.$watch(Gl,e)},activated:function(){Vl(this)},deactivated:function(){Ol(this)},beforeDestroy:function(){Ol(this)},render:function(t){var e=gl(this,Ll(this));return this.slim&&e.length<=1?e[0]:t(this.tag,{on:this.$listeners},e)},methods:{observe:function(t,e){var r;void 0===e&&(e="provider"),"observer"!==e?this.refs=Zs(Zs({},this.refs),(r={},r[t.id]=t,r)):this.observers.push(t)},unobserve:function(t,e){if(void 0===e&&(e="provider"),"provider"!==e){var r=ho(this.observers,(function(e){return e.id===t}));-1!==r&&this.observers.splice(r,1)}else{var i=this.refs[t];if(!i)return;this.$delete(this.refs,t)}},validate:function(t){var e=(void 0===t?{}:t).silent,r=void 0!==e&&e;return Js(this,void 0,void 0,(function(){var t;return Qs(this,(function(e){switch(e.label){case 0:return[4,Promise.all(to(mo(this.refs).filter((function(t){return!t.disabled})).map((function(t){return t[r?"validateSilent":"validate"]().then((function(t){return t.valid}))})),this.observers.filter((function(t){return!t.disabled})).map((function(t){return t.validate({silent:r})}))))];case 1:return t=e.sent(),[2,t.every((function(t){return t}))]}}))}))},handleSubmit:function(t){return Js(this,void 0,void 0,(function(){var e;return Qs(this,(function(r){switch(r.label){case 0:return[4,this.validate()];case 1:return e=r.sent(),e&&t?[2,t()]:[2]}}))}))},reset:function(){return to(mo(this.refs),this.observers).forEach((function(t){return t.reset()}))},setErrors:function(t){var e=this;Object.keys(t).forEach((function(r){var i=e.refs[r];if(i){var a=t[r]||[];a="string"===typeof a?[a]:a,i.setErrors(a)}})),this.observers.forEach((function(e){e.setErrors(t)}))}}});function Ol(t){t.$_veeObserver&&t.$_veeObserver.unobserve(t.id,"observer")}function Vl(t){t.$_veeObserver&&t.$_veeObserver.observe(t,"observer")}function Ll(t){return Zs(Zs({},t.flags),{errors:t.errors,fields:t.fields,validate:t.validate,passes:t.handleSubmit,handleSubmit:t.handleSubmit,reset:t.reset})}function Nl(){return Zs(Zs({},vo()),{valid:!0,invalid:!1})}function Gl(){for(var t=to(mo(this.refs),this.observers),e={},r=Nl(),i={},a=t.length,n=0;n<a;n++){var s=t[n];Array.isArray(s.errors)?(e[s.id]=s.errors,i[s.id]=Zs({id:s.id,name:s.name,failedRules:s.failedRules},s.flags)):(e=Zs(Zs({},e),s.errors),i=Zs(Zs({},i),s.fields))}return Il.forEach((function(e){var i=e[0],a=e[1];r[i]=t[a]((function(t){return t.flags[i]}))})),{errors:e,flags:r,fields:i}}var Hl=function(t,e){var r=(void 0===e?{}:e).multiple,i=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return r&&!Array.isArray(t)&&(t=String(t).split(",").map((function(t){return t.trim()}))),Array.isArray(t)?t.every((function(t){return i.test(String(t))})):i.test(String(t))},jl=[{name:"multiple",default:!1}],$l={validate:Hl,params:jl};
/**
  * vee-validate v3.3.0
  * (c) 2020 Abdelrahman Awad
  * @license MIT
  */function ql(t){return null===t||void 0===t}function Wl(t){return Array.isArray(t)&&0===t.length}var Yl=function(t,e){var r=(void 0===e?{allowFalse:!0}:e).allowFalse,i={valid:!1,required:!0};return ql(t)||Wl(t)?i:!1!==t||r?(i.valid=!!String(t).trim().length,i):i},Xl=!0,Ul=[{name:"allowFalse",default:!0}],Kl={validate:Yl,params:Ul,computesRequired:Xl},Zl=r("2593"),Jl=r("5a17"),Ql=["es","en"];Qo({es:Jl,en:Zl}),Qo({en:{messages:{required:"This field is required"}},es:{messages:{required:"Este campo es obligatorio"}}});var th=(window.navigator.userLanguage||window.navigator.language).substring(0,2);Qo(Ql.includes(th)?th:"es"),ko("required",Kl),ko("email",$l);var eh={install:function(t){arguments.length>1&&void 0!==arguments[1]&&arguments[1];for(var e in a){var r=a[e];zs.color="#eeeff0",zs.zIndex=1,t.directive("ripple",zs),t.directive("click-outside",Vs),t.prototype.$tokens=Ns.a,t.component(r.name,r)}t.component("ValidationProvider",wl),t.component("lottie",Xs)}},rh=eh;"undefined"!==typeof window&&window.Vue&&(Xi.registerPlugin(pr),window.Vue.use(eh));e["default"]=rh},fb6a:function(t,e,r){"use strict";var i=r("23e7"),a=r("861d"),n=r("e8b5"),s=r("23cb"),o=r("50c4"),l=r("fc6a"),h=r("8418"),c=r("b622"),u=r("1dde"),p=r("ae40"),f=u("slice"),d=p("slice",{ACCESSORS:!0,0:0,1:2}),m=c("species"),g=[].slice,v=Math.max;i({target:"Array",proto:!0,forced:!f||!d},{slice:function(t,e){var r,i,c,u=l(this),p=o(u.length),f=s(t,p),d=s(void 0===e?p:e,p);if(n(u)&&(r=u.constructor,"function"!=typeof r||r!==Array&&!n(r.prototype)?a(r)&&(r=r[m],null===r&&(r=void 0)):r=void 0,r===Array||void 0===r))return g.call(u,f,d);for(i=new(void 0===r?Array:r)(v(d-f,0)),c=0;f<d;f++,c++)f in u&&h(i,c,u[f]);return i.length=c,i}})},fc14:function(t,e,r){},fc6a:function(t,e,r){var i=r("44ad"),a=r("1d80");t.exports=function(t){return i(a(t))}},fc81:function(t,e,r){"use strict";var i=r("d100"),a=r.n(i);a.a},fd58:function(t,e,r){},fdbc:function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(t,e,r){var i=r("4930");t.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},fde5:function(t,e,r){}})["default"]}));
//# sourceMappingURL=belvo-vue-components.umd.min.js.map