vendor: 4,538 bytes, lines 1-2
1/*! For license information please see vendors.js.LICENSE.txt */ 2(self.webpackChunklegacy=self.webpackChunklegacy||[]).push([[216],{1553:function(t){var e=function(t){"use strict";var e,i=Object.prototype,r=i.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},s=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",o=n.toStringTag||"@@toStringTag";function h(t,e,i){return Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{h({},"")}catch(t){h=function(t,e,i){return t[e]=i}}function l(t,e,i,r){var n=e&&e.prototype instanceof g?e:g,s=Object.create(n.prototype),a=new A(r||[]);return s._invoke=function(t,e,i){var r=c;return function(n,s){if(r===u)throw new Error("Generator is already running");if(r===d){if("throw"===n)throw s;return M()}for(i.method=n,i.arg=s;;){var a=i.delegate;if(a){var o=C(a,i);if(o){if(o===m)continue;return o}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(r===c)throw r=d,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);r=u;var h=p(t,e,i);if("normal"===h.type){if(r=i.done?d:f,h.arg===m)continue;return{value:h.arg,done:i.done}}"throw"===h.type&&(r=d,i.method="throw",i.arg=h.arg)}}}(t,i,a),s}function p(t,e,i){try{return{type:"normal",arg:t.call(e,i)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var c="suspendedStart",f="suspendedYield",u="executing",d="completed",m={};function g(){}function y(){}function v(){}var b={};h(b,s,(function(){return this}));var x=Object.getPrototypeOf,_=x&&x(x(k([])));_&&_!==i&&r.call(_,s)&&(b=_);var E=v.prototype=g.prototype=Object.create(b);function S(t){["next","throw","return"].forEach((function(e){h(t,e,(function(t){return this._invoke(e,t)}))}))}function P(t,e){function i(n,s,a,o){var h=p(t[n],t,s);if("throw"!==h.type){var l=h.arg,c=l.value;return c&&"object"==typeof c&&r.call(c,"__await")?e.resolve(c.__await).then((function(t){i("next",t,a,o)}),(function(t){i("throw",t,a,o)})):e.resolve(c).then((function(t){l.value=t,a(l)}),(function(t){return i("throw",t,a,o)}))}o(h.arg)}var n;this._invoke=function(t,r){function s(){return new e((function(e,n){i(t,r,e,n)}))}return n=n?n.then(s,s):s()}}function C(t,i){var r=t.iterator[i.method];if(r===e){if(i.delegate=null,"throw"===i.method){if(t.iterator.return&&(i.method="return",i.arg=e,C(t,i),"throw"===i.method))return m;i.method="throw",i.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var n=p(r,t.iterator,i.arg);if("throw"===n.type)return i.method="throw",i.arg=n.arg,i.delegate=null,m;var s=n.arg;return s?s.done?(i[t.resultName]=s.value,i.next=t.nextLoc,"return"!==i.method&&(i.method="next",i.arg=e),i.delegate=null,m):s:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,m)}function w(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(w,this),this.reset(!0)}function k(t){if(t){var i=t[s];if(i)return i.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function i(){for(;++n<t.length;)if(r.call(t,n))return i.value=t[n],i.done=!1,i;return i.value=e,i.done=!0,i};return a.next=a}}return{next:M}}function M(){return{value:e,done:!0}}return y.prototype=v,h(E,"constructor",v),h(v,"constructor",y),y.displayName=h(v,o,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,h(t,o,"GeneratorFunction")),t.prototype=Object.create(E),t},t.awrap=function(t){return{__await:t}},S(P.prototype),h(P.prototype,a,(function(){return this})),t.AsyncIterator=P,t.async=function(e,i,r,n,s){void 0===s&&(s=Promise);var a=new P(l(e,i,r,n),s);return t.isGeneratorFunction(i)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(E),h(E,o,"Generator"),h(E,s,(function(){return this})),h(E,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var i in t)e.push(i);return e.reverse(),function i(){for(;e.length;){var r=e.pop();if(r in t)return i.value=r,i.done=!1,i}return i.done=!0,i}},t.values=k,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEac
vendor: 4,091 bytes, line 2
2h(T),!t)for(var i in this)"t"===i.charAt(0)&&r.call(this,i)&&!isNaN(+i.slice(1))&&(this[i]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var i=this;function n(r,n){return o.type="throw",o.arg=t,i.next=r,n&&(i.method="next",i.arg=e),!!n}for(var s=this.tryEntries.length-1;s>=0;--s){var a=this.tryEntries[s],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var h=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(h&&l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(h){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var i=this.tryEntries.length-1;i>=0;--i){var n=this.tryEntries[i];if(n.tryLoc<=this.prev&&r.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var s=n;break}}s&&("break"===t||"continue"===t)&&s.tryLoc<=e&&e<=s.finallyLoc&&(s=null);var a=s?s.completion:{};return a.type=t,a.arg=e,s?(this.method="next",this.next=s.finallyLoc,m):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),T(i),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc===t){var r=i.completion;if("throw"===r.type){var n=r.arg;T(i)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(t,i,r){return this.delegate={iterator:k(t),resultName:i,nextLoc:r},"next"===this.method&&(this.arg=e),m}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}},7757:function(t,e,i){t.exports=i(1553)},9662:function(t,e,i){var r=i(7854),n=i(614),s=i(6330),a=r.TypeError;t.exports=function(t){if(n(t))return t;throw a(s(t)+" is not a function")}},9483:function(t,e,i){var r=i(7854),n=i(4411),s=i(6330),a=r.TypeError;t.exports=function(t){if(n(t))return t;throw a(s(t)+" is not a constructor")}},6077:function(t,e,i){var r=i(7854),n=i(614),s=r.String,a=r.TypeError;t.exports=function(t){if("object"==typeof t||n(t))return t;throw a("Can't set "+s(t)+" as a prototype")}},5787:function(t,e,i){var r=i(7854),n=i(7976),s=r.TypeError;t.exports=function(t,e){if(n(e,t))return t;throw s("Incorrect invocation")}},9670:function(t,e,i){var r=i(7854),n=i(111),s=r.String,a=r.TypeError;t.exports=function(t){if(n(t))return t;throw a(s(t)+" is not an object")}},8533:function(t,e,i){"use strict";var r=i(2092).forEach,n=i(9341)("forEach");t.exports=n?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},1318:function(t,e,i){var r=i(5656),n=i(1400),s=i(6244),a=function(t){return function(e,i,a){var o,h=r(e),l=s(h),p=n(a,l);if(t&&i!=i){for(;l>p;)if((o=h[p++])!=o)return!0}else for(;l>p;p++)if((t||p in h)&&h[p]===i)return t||p||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},2092:function(t,e,i){var r=i(9974),n=i(1702),s=i(8361),a=i(7908),o=i(6244),h=i(5417),l=n([].push),p=function(t){var e=1==t,i=2==t,n=3==t,p=4==t,c=6==t,f=7==t,u=5==t||c;return function(d,m,g,y){for(var v,b,x=a(d),_=s(x),E=r(m,g),S=o(_),P=0,C=y||h,w=e?C(d,S):i||f?C(d,0):void 0;S>P;P++)if((u||P in _)&&(b=E(v=_[P],P,x),t))if(e)w[P]=b;else if(b)switch(t){case 3:return!0;case 5:return v;case 6:return P;case 2:l(w,v)}else switch(t){case 4:return!1;case 7:l(w,v)}return c?-1:n||p?p:w}};t.exports={forEach:p(0),map:p(1),filter:p(2),some:p(3),every:p(4),find:p(5),findIndex:p(6),filterReject:p(7)}},9341:function(t,e,i){"use strict";var r=i(7293);t.exports=function(t,e){var i=[][t];return!!i&&r((function(){i.call(null,e||function(){return 1},1)}))}}
vendor: 9,090 bytes, line 2
2,206:function(t,e,i){var r=i(1702);t.exports=r([].slice)},7475:function(t,e,i){var r=i(7854),n=i(3157),s=i(4411),a=i(111),o=i(5112)("species"),h=r.Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,(s(e)&&(e===h||n(e.prototype))||a(e)&&null===(e=e[o]))&&(e=void 0)),void 0===e?h:e}},5417:function(t,e,i){var r=i(7475);t.exports=function(t,e){return new(r(t))(0===e?0:e)}},7072:function(t,e,i){var r=i(5112)("iterator"),n=!1;try{var s=0,a={next:function(){return{done:!!s++}},return:function(){n=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!n)return!1;var i=!1;try{var s={};s[r]=function(){return{next:function(){return{done:i=!0}}}},t(s)}catch(t){}return i}},4326:function(t,e,i){var r=i(1702),n=r({}.toString),s=r("".slice);t.exports=function(t){return s(n(t),8,-1)}},648:function(t,e,i){var r=i(7854),n=i(1694),s=i(614),a=i(4326),o=i(5112)("toStringTag"),h=r.Object,l="Arguments"==a(function(){return arguments}());t.exports=n?a:function(t){var e,i,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=function(t,e){try{return t[e]}catch(t){}}(e=h(t),o))?i:l?a(e):"Object"==(r=a(e))&&s(e.callee)?"Arguments":r}},9920:function(t,e,i){var r=i(2597),n=i(3887),s=i(1236),a=i(3070);t.exports=function(t,e,i){for(var o=n(e),h=a.f,l=s.f,p=0;p<o.length;p++){var c=o[p];r(t,c)||i&&r(i,c)||h(t,c,l(e,c))}}},8880:function(t,e,i){var r=i(9781),n=i(3070),s=i(9114);t.exports=r?function(t,e,i){return n.f(t,e,s(1,i))}:function(t,e,i){return t[e]=i,t}},9114:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},8052:function(t,e,i){var r=i(7854),n=i(614),s=i(8880),a=i(6339),o=i(3505);t.exports=function(t,e,i,h){var l=!!h&&!!h.unsafe,p=!!h&&!!h.enumerable,c=!!h&&!!h.noTargetGet,f=h&&void 0!==h.name?h.name:e;return n(i)&&a(i,f,h),t===r?(p?t[e]=i:o(e,i),t):(l?!c&&t[e]&&(p=!0):delete t[e],p?t[e]=i:s(t,e,i),t)}},9781:function(t,e,i){var r=i(7293);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:function(t,e,i){var r=i(7854),n=i(111),s=r.document,a=n(s)&&n(s.createElement);t.exports=function(t){return a?s.createElement(t):{}}},8324:function(t){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}},8509:function(t,e,i){var r=i(317)("span").classList,n=r&&r.constructor&&r.constructor.prototype;t.exports=n===Object.prototype?void 0:n},7871:function(t){t.exports="object"==typeof window&&"object"!=typeof Deno},1528:function(t,e,i){var r=i(8113),n=i(7854);t.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==n.Pebble},6833:function(t,e,i){var r=i(8113);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},5268:function(t,e,i){var r=i(4326),n=i(7854);t.exports="process"==r(n.process)},1036:function(t,e,i){var r=i(8113);t.exports=/web0s(?!.*chrome)/i.test(r)},8113:function(t,e,i){var r=i(5005);t.exports=r("navigator","userAgent")||""},7392:function(t,e,i){var r,n,s=i(7854),a=i(8113),o=s.process,h=s.Deno,l=o&&o.versions||h&&h.version,p=l&&l.v8;p&&(n=(r=p.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!n&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(n=+r[1]),t.exports=n},748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(t,e,i){var r=i(7854),n=i(1236).f,s=i(8880),a=i(8052),o=i(3505),h=i(9920),l=i(4705);t.exports=function(t,e){var i,p,c,f,u,d=t.target,m=t.global,g=t.stat;if(i=m?r:g?r[d]||o(d,{}):(r[d]||{}).prototype)for(p in e){if(f=e[p],c=t.noTargetGet?(u=n(i,p))&&u.value:i[p],!l(m?p:d+(g?".":"#")+p,t.forced)&&void 0!==c){if(typeof f==typeof c)continue;h(f,c)}(t.sham||c&&c.sham)&&s(f,"sham",!0),a(i,p,f,t)}}},7293:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},2104:function(t,e,i){var r=i(4374),n=Function.prototype,s=n.apply,a=n.call;t.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(s):function(){return a.apply(s,arguments)})},9974:function(t,e,i){var r=i(1702),n=i(9662),s=i(4374),a=r(r.bind);t.exports=function(t,e){return n(t),void 0===e?t:s?a(t,e):function(){return t.apply(e,arguments)}}},4374:function(t,e,i){var r=i(7293);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},6916:function(t,e,i){var r=i(4374),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)}},6530:function(t,e,i){var r=i(9781),n=i(2597),s=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,o=n(s,"name"),h=o&&"something"===function(){}.name,l=o&&(!r||r&&a(s,"name").configurable);t.exports={EXISTS:o,PROPER:h,CONFIGURABLE:l}},1702:function(t,e,i){var r=i(4374),n=Function.prototype,s=n.bind,a=n.call,o=r&&s.bind(a,a);t.exports=r?function(t){return t&&o(t)}:function(t){return t&&function(){return a.apply(t,arguments)}}},5005:function(t,e,i){var r=i(7854),n=i(614),s=function(t){return n(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?s(r[t]):r[t]&&r[t][e]}},1246:function(t,e,i){var r=i(648),n=i(8173),s=i(7497),a=i(5112)("iterator");t.exports=function(t){if(null!=t)return n(t,a)||n(t,"@@iterator")||s[r(t)]}},8554:function(t,e,i){var r=i(7854),n=i(6916),s=i(9662),a=i(9670),o=i(6330),h=i(1246),l=r.TypeError;t.exports=function(t,e){var i=arguments.length<2?h(t):e;if(s(i))return a(n(i,t));throw l(o(t)+" is not iterable")}},8173:function(t,e,i){var r=i(9662);t.exports=function(t,e){var i=t[e];return null==i?void 0:r(i)}},7854:function(t,e,i){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 i.g&&i.g)||function(){return this}()||Function("return this")()},2597:function(t,e,i){var r=i(1702),n=i(7908),s=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return s(n(t),e)}},3501:function(t){t.exports={}},842:function(t,e,i){var r=i(7854);t.exports=function(t,e){var i=r.console;i&&i.error&&(1==arguments.length?i.error(t):i.error(t,e))}},490:function(t,e,i){var r=i(5005);t.exports=r("document","documentElement")},4664:function(t,e,i){var r=i(9781),n=i(7293),s=i(317);t.exports=!r&&!n((function(){return 7!=Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a}))},8361:function(t,e,i){var r=i(7854),n=i(1702),s=i(7293),a=i(4326),o=r.Object,h=n("".split);t.exports=s((function(){return!o("z").propertyIsEnumerable(0)}))?function(t){return"String"==a(t)?h(t,""):o(t)}:o},2788:function(t,e,i){var r=i(1702),n=i(614),s=i(5465),a=r(Function.toString);n(s.inspectSource)||(s.inspectSource=function(t){return a(t)}),t.exports=s.inspectSource},9909:function(t,e,i){var r,n,s,a=i(8536),o=i(7854),h=i(1702),l=i(111),p=i(8880),c=i(2597),f=i(5465),u=i(6200),d=i(3501),m="Object already initialized",g=o.TypeError,y=o.WeakMap;if(a||f.state){var v=f.state||(f.state=new y),b=h(v.get),x=h(v.has),_=h(v.set);r=function(t,e){if(x(v,t))throw new g(m);return e.facade=t,_(v,t,e),e},n=function(t){return b(v,t)||{}},s=function(t){return x(v,t)}}else{var E=u("state");d[E]=!0,r=function(t,e){if(c(t,E))throw new g(m);return e.facade=t,p(t,E,e),e},n=function(t){return c(t,E)?t[E]:{}},s=function(t){return c(t,E)}}t.exports={set:r,get:n,has:s,enforce:function(t){return s(t)?n(t):r(t,{})},getterFor:function(t){return function(e){var i;if(!l(e)||(i=n(e)).type!==t)throw g("Incompatible receiver, "+t+" required");return i}}}},7659:function(t,e,i){var r=i(5112),n=i(7497),s=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||a[s]===t)}},3157:function(t,e,i){var r=i(4326);t.exports=Array.isArray||function(t){return"Array"==r(t)}},614:function(t){t.exports=function(t){return"function"==typeof t}},4411:function(t,e,i){var r=i(1702),n=i(7293),s=i(614),a=i(648),o=i(5005),h=i(2788),l=function(){},p=[],c=o("Reflect","construct"),f=/^\s*(?:class|function)\b/,u=r(f.exec),d=!f.exec(l),m=function(t){if(!s(t))return!1;try{return c(l,p,t),!0}catch(t){return!1}},g=function(t){if(!s(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!u(f,h(t))}catch(t){return!0}};g.sham=!0,t.exports=!c||n((function(){var t;return m(m.call)||!m(Object)||!m((function(){t=!0}))||t}))?g:m},4705:function(t,e,i){var r=i(7293),n=i(614),s=/#|\.prototype\./,a=function(t,e){var i=h[o(t)];return i==p||i!=l&&(n(e)?r(e):!!e)},o=a.normalize=function(t){return String(t).replace(s,".").toLowerCase()},h=a.data={},l=a.NATIVE="N",p=a.POLYFILL="P";t.exports=a},111:function(t,e,i){var r=i(614);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}
vendor: 4,254 bytes, line 2
2},1913:function(t){t.exports=!1},2190:function(t,e,i){var r=i(7854),n=i(5005),s=i(614),a=i(7976),o=i(3307),h=r.Object;t.exports=o?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return s(e)&&a(e.prototype,h(t))}},408:function(t,e,i){var r=i(7854),n=i(9974),s=i(6916),a=i(9670),o=i(6330),h=i(7659),l=i(6244),p=i(7976),c=i(8554),f=i(1246),u=i(9212),d=r.TypeError,m=function(t,e){this.stopped=t,this.result=e},g=m.prototype;t.exports=function(t,e,i){var r,y,v,b,x,_,E,S=i&&i.that,P=!(!i||!i.AS_ENTRIES),C=!(!i||!i.IS_ITERATOR),w=!(!i||!i.INTERRUPTED),T=n(e,S),A=function(t){return r&&u(r,"normal",t),new m(!0,t)},k=function(t){return P?(a(t),w?T(t[0],t[1],A):T(t[0],t[1])):w?T(t,A):T(t)};if(C)r=t;else{if(!(y=f(t)))throw d(o(t)+" is not iterable");if(h(y)){for(v=0,b=l(t);b>v;v++)if((x=k(t[v]))&&p(g,x))return x;return new m(!1)}r=c(t,y)}for(_=r.next;!(E=s(_,r)).done;){try{x=k(E.value)}catch(t){u(r,"throw",t)}if("object"==typeof x&&x&&p(g,x))return x}return new m(!1)}},9212:function(t,e,i){var r=i(6916),n=i(9670),s=i(8173);t.exports=function(t,e,i){var a,o;n(t);try{if(!(a=s(t,"return"))){if("throw"===e)throw i;return i}a=r(a,t)}catch(t){o=!0,a=t}if("throw"===e)throw i;if(o)throw a;return n(a),i}},7497:function(t){t.exports={}},6244:function(t,e,i){var r=i(7466);t.exports=function(t){return r(t.length)}},6339:function(t,e,i){var r=i(7293),n=i(614),s=i(2597),a=i(9781),o=i(6530).CONFIGURABLE,h=i(2788),l=i(9909),p=l.enforce,c=l.get,f=Object.defineProperty,u=a&&!r((function(){return 8!==f((function(){}),"length",{value:8}).length})),d=String(String).split("String"),m=t.exports=function(t,e,i){if("Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),i&&i.getter&&(e="get "+e),i&&i.setter&&(e="set "+e),(!s(t,"name")||o&&t.name!==e)&&f(t,"name",{value:e,configurable:!0}),u&&i&&s(i,"arity")&&t.length!==i.arity&&f(t,"length",{value:i.arity}),i&&s(i,"constructor")&&i.constructor){if(a)try{f(t,"prototype",{writable:!1})}catch(t){}}else t.prototype=void 0;var r=p(t);return s(r,"source")||(r.source=d.join("string"==typeof e?e:"")),t};Function.prototype.toString=m((function(){return n(this)&&c(this).source||h(this)}),"toString")},5948:function(t,e,i){var r,n,s,a,o,h,l,p,c=i(7854),f=i(9974),u=i(1236).f,d=i(261).set,m=i(6833),g=i(1528),y=i(1036),v=i(5268),b=c.MutationObserver||c.WebKitMutationObserver,x=c.document,_=c.process,E=c.Promise,S=u(c,"queueMicrotask"),P=S&&S.value;P||(r=function(){var t,e;for(v&&(t=_.domain)&&t.exit();n;){e=n.fn,n=n.next;try{e()}catch(t){throw n?a():s=void 0,t}}s=void 0,t&&t.enter()},m||v||y||!b||!x?!g&&E&&E.resolve?((l=E.resolve(void 0)).constructor=E,p=f(l.then,l),a=function(){p(r)}):v?a=function(){_.nextTick(r)}:(d=f(d,c),a=function(){d(r)}):(o=!0,h=x.createTextNode(""),new b(r).observe(h,{characterData:!0}),a=function(){h.data=o=!o})),t.exports=P||function(t){var e={fn:t,next:void 0};s&&(s.next=e),n||(n=e,a()),s=e}},133:function(t,e,i){var r=i(7392),n=i(7293);t.exports=!!Object.getOwnPropertySymbols&&!n((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8536:function(t,e,i){var r=i(7854),n=i(614),s=i(2788),a=r.WeakMap;t.exports=n(a)&&/native code/.test(s(a))},8523:function(t,e,i){"use strict";var r=i(9662),n=function(t){var e,i;this.promise=new t((function(t,r){if(void 0!==e||void 0!==i)throw TypeError("Bad Promise constructor");e=t,i=r})),this.resolve=r(e),this.reject=r(i)};t.exports.f=function(t){return new n(t)}},2814:function(t,e,i){var r=i(7854),n=i(7293),s=i(1702),a=i(1340),o=i(3111).trim,h=i(1361),l=s("".charAt),p=r.parseFloat,c=r.Symbol,f=c&&c.iterator,u=1/p(h+"-0")!=-1/0||f&&!n((function(){p(Object(f))}));t.exports=u?function(t){var e=o(a(t)),i=p(e);return 0===i&&"-"==l(e,0)?-0:i}:p},3070:function(t,e,i){var r=i(7854),n=i(9781),s=i(4664),a=i(3353),o=i(9670),h=i(4948),l=r.TypeError,p=Object.defineProperty,c=Object.getOwnPropertyDescriptor,f="enumerable",u="configurable",d="writable";e.f=n?a?function(t,e,i){if(o(t),e=h(e),o(i),"function"==typeof t&&"prototype"===e&&"value"in i&&d in i&&!i.writable){var r=c(t,e);r&&r.writable&&(t[e]=i.value,i={configurable:u in i?i.configurable:r.configurable,enumerable:f in i?i.enumerable:r.enumerable,writable:!1})}return p(t,e,i)}
vendor: 1,140 bytes, line 2
2:p:function(t,e,i){if(o(t),e=h(e),o(i),s)try{return p(t,e,i)}catch(t){}if("get"in i||"set"in i)throw l("Accessors not supported");return"value"in i&&(t[e]=i.value),t}},1236:function(t,e,i){var r=i(9781),n=i(6916),s=i(5296),a=i(9114),o=i(5656),h=i(4948),l=i(2597),p=i(4664),c=Object.getOwnPropertyDescriptor;e.f=r?c:function(t,e){if(t=o(t),e=h(e),p)try{return c(t,e)}catch(t){}if(l(t,e))return a(!n(s.f,t,e),t[e])}},8006:function(t,e,i){var r=i(6324),n=i(748).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,n)}},5181:function(t,e){e.f=Object.getOwnPropertySymbols},7976:function(t,e,i){var r=i(1702);t.exports=r({}.isPrototypeOf)},6324:function(t,e,i){var r=i(1702),n=i(2597),s=i(5656),a=i(1318).indexOf,o=i(3501),h=r([].push);t.exports=function(t,e){var i,r=s(t),l=0,p=[];for(i in r)!n(o,i)&&n(r,i)&&h(p,i);for(;e.length>l;)n(r,i=e[l++])&&(~a(p,i)||h(p,i));return p}},5296:function(t,e){"use strict";var i={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!i.call({1:2},1);e.f=n?function(t){var e=r(this,t);return!!e&&e.enumerable}:i},7674:function(t,e,i){var r=i(1702),n=i(9670),s=i(6077);
vendor: 4,356 bytes, line 2
2t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,i={};try{(t=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(i,[]),e=i instanceof Array}catch(t){}return function(i,r){return n(i),s(r),e?t(i,r):i.__proto__=r,i}}():void 0)},288:function(t,e,i){"use strict";var r=i(1694),n=i(648);t.exports=r?{}.toString:function(){return"[object "+n(this)+"]"}},2140:function(t,e,i){var r=i(7854),n=i(6916),s=i(614),a=i(111),o=r.TypeError;t.exports=function(t,e){var i,r;if("string"===e&&s(i=t.toString)&&!a(r=n(i,t)))return r;if(s(i=t.valueOf)&&!a(r=n(i,t)))return r;if("string"!==e&&s(i=t.toString)&&!a(r=n(i,t)))return r;throw o("Can't convert object to primitive value")}},3887:function(t,e,i){var r=i(5005),n=i(1702),s=i(8006),a=i(5181),o=i(9670),h=n([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=s.f(o(t)),i=a.f;return i?h(e,i(t)):e}},2534:function(t){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},3702:function(t,e,i){var r=i(7854),n=i(2492),s=i(614),a=i(4705),o=i(2788),h=i(5112),l=i(7871),p=i(1913),c=i(7392),f=n&&n.prototype,u=h("species"),d=!1,m=s(r.PromiseRejectionEvent),g=a("Promise",(function(){var t=o(n),e=t!==String(n);if(!e&&66===c)return!0;if(p&&(!f.catch||!f.finally))return!0;if(c>=51&&/native code/.test(t))return!1;var i=new n((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))};return(i.constructor={})[u]=r,!(d=i.then((function(){}))instanceof r)||!e&&l&&!m}));t.exports={CONSTRUCTOR:g,REJECTION_EVENT:m,SUBCLASSING:d}},2492:function(t,e,i){var r=i(7854);t.exports=r.Promise},9478:function(t,e,i){var r=i(9670),n=i(111),s=i(8523);t.exports=function(t,e){if(r(t),n(e)&&e.constructor===t)return e;var i=s.f(t);return(0,i.resolve)(e),i.promise}},612:function(t,e,i){var r=i(2492),n=i(7072),s=i(3702).CONSTRUCTOR;t.exports=s||!n((function(t){r.all(t).then(void 0,(function(){}))}))},8572:function(t){var e=function(){this.head=null,this.tail=null};e.prototype={add:function(t){var e={item:t,next:null};this.head?this.tail.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return this.head=t.next,this.tail===t&&(this.tail=null),t.item}},t.exports=e},4488:function(t,e,i){var r=i(7854).TypeError;t.exports=function(t){if(null==t)throw r("Can't call method on "+t);return t}},3505:function(t,e,i){var r=i(7854),n=Object.defineProperty;t.exports=function(t,e){try{n(r,t,{value:e,configurable:!0,writable:!0})}catch(i){r[t]=e}return e}},6340:function(t,e,i){"use strict";var r=i(5005),n=i(3070),s=i(5112),a=i(9781),o=s("species");t.exports=function(t){var e=r(t),i=n.f;a&&e&&!e[o]&&i(e,o,{configurable:!0,get:function(){return this}})}},8003:function(t,e,i){var r=i(3070).f,n=i(2597),s=i(5112)("toStringTag");t.exports=function(t,e,i){t&&!i&&(t=t.prototype),t&&!n(t,s)&&r(t,s,{configurable:!0,value:e})}},6200:function(t,e,i){var r=i(2309),n=i(9711),s=r("keys");t.exports=function(t){return s[t]||(s[t]=n(t))}},5465:function(t,e,i){var r=i(7854),n=i(3505),s="__core-js_shared__",a=r[s]||n(s,{});t.exports=a},2309:function(t,e,i){var r=i(1913),n=i(5465);(t.exports=function(t,e){return n[t]||(n[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.22.5",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.5/LICENSE",source:"https://github.com/zloirock/core-js"})},6707:function(t,e,i){var r=i(9670),n=i(9483),s=i(5112)("species");t.exports=function(t,e){var i,a=r(t).constructor;return void 0===a||null==(i=r(a)[s])?e:n(i)}},3111:function(t,e,i){var r=i(1702),n=i(4488),s=i(1340),a=i(1361),o=r("".replace),h="["+a+"]",l=RegExp("^"+h+h+"*"),p=RegExp(h+h+"*$"),c=function(t){return function(e){var i=s(n(e));return 1&t&&(i=o(i,l,"")),2&t&&(i=o(i,p,"")),i}};t.exports={start:c(1),end:c(2),trim:c(3)}},261:function(t,e,i){var r,n,s,a,o=i(7854),h=i(2104),l=i(9974),p=i(614),c=i(2597),f=i(7293),u=i(490),d=i(206),m=i(317),g=i(8053),y=i(6833),v=i(5268),b=o.setImmediate,x=o.clearImmediate,_=o.process,E=o.Dispatch,S=o.Function,P=o.MessageChannel,C=o.String,w=0,T={},A="onreadystatechange";try{r=o.location}catch(t){}var k=function(t){if(c(T,t)){var e=T[t];delete T[t],e()}},M=function(t){return function(){k(t)}},D=function(t){k(t.data)},F=function(t){o.postMessage(C(t),r.protocol+"//"+r.host)};b&&x||(b=function(t){g(arguments.length,1);
vendor: 3,984 bytes, line 2
2var e=p(t)?t:S(t),i=d(arguments,1);return T[++w]=function(){h(e,void 0,i)},n(w),w},x=function(t){delete T[t]},v?n=function(t){_.nextTick(M(t))}:E&&E.now?n=function(t){E.now(M(t))}:P&&!y?(a=(s=new P).port2,s.port1.onmessage=D,n=l(a.postMessage,a)):o.addEventListener&&p(o.postMessage)&&!o.importScripts&&r&&"file:"!==r.protocol&&!f(F)?(n=F,o.addEventListener("message",D,!1)):n=A in m("script")?function(t){u.appendChild(m("script")).onreadystatechange=function(){u.removeChild(this),k(t)}}:function(t){setTimeout(M(t),0)}),t.exports={set:b,clear:x}},1400:function(t,e,i){var r=i(9303),n=Math.max,s=Math.min;t.exports=function(t,e){var i=r(t);return i<0?n(i+e,0):s(i,e)}},5656:function(t,e,i){var r=i(8361),n=i(4488);t.exports=function(t){return r(n(t))}},9303:function(t){var e=Math.ceil,i=Math.floor;t.exports=function(t){var r=+t;return r!=r||0===r?0:(r>0?i:e)(r)}},7466:function(t,e,i){var r=i(9303),n=Math.min;t.exports=function(t){return t>0?n(r(t),9007199254740991):0}},7908:function(t,e,i){var r=i(7854),n=i(4488),s=r.Object;t.exports=function(t){return s(n(t))}},7593:function(t,e,i){var r=i(7854),n=i(6916),s=i(111),a=i(2190),o=i(8173),h=i(2140),l=i(5112),p=r.TypeError,c=l("toPrimitive");t.exports=function(t,e){if(!s(t)||a(t))return t;var i,r=o(t,c);if(r){if(void 0===e&&(e="default"),i=n(r,t,e),!s(i)||a(i))return i;throw p("Can't convert object to primitive value")}return void 0===e&&(e="number"),h(t,e)}},4948:function(t,e,i){var r=i(7593),n=i(2190);t.exports=function(t){var e=r(t,"string");return n(e)?e:e+""}},1694:function(t,e,i){var r={};r[i(5112)("toStringTag")]="z",t.exports="[object z]"===String(r)},1340:function(t,e,i){var r=i(7854),n=i(648),s=r.String;t.exports=function(t){if("Symbol"===n(t))throw TypeError("Cannot convert a Symbol value to a string");return s(t)}},6330:function(t,e,i){var r=i(7854).String;t.exports=function(t){try{return r(t)}catch(t){return"Object"}}},9711:function(t,e,i){var r=i(1702),n=0,s=Math.random(),a=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++n+s,36)}},3307:function(t,e,i){var r=i(133);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(t,e,i){var r=i(9781),n=i(7293);t.exports=r&&n((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8053:function(t,e,i){var r=i(7854).TypeError;t.exports=function(t,e){if(t<e)throw r("Not enough arguments");return t}},5112:function(t,e,i){var r=i(7854),n=i(2309),s=i(2597),a=i(9711),o=i(133),h=i(3307),l=n("wks"),p=r.Symbol,c=p&&p.for,f=h?p:p&&p.withoutSetter||a;t.exports=function(t){if(!s(l,t)||!o&&"string"!=typeof l[t]){var e="Symbol."+t;o&&s(p,t)?l[t]=p[t]:l[t]=h&&c?c(e):f(e)}return l[t]}},1361:function(t){t.exports="\t\n\v\f\r  áââââââ
ââââââ¯âã\u2028\u2029\ufeff"},2772:function(t,e,i){"use strict";var r=i(2109),n=i(1702),s=i(1318).indexOf,a=i(9341),o=n([].indexOf),h=!!o&&1/o([1],1,-0)<0,l=a("indexOf");r({target:"Array",proto:!0,forced:h||!l},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return h?o(this,t,e)||0:s(this,t,e)}})},1539:function(t,e,i){var r=i(1694),n=i(8052),s=i(288);r||n(Object.prototype,"toString",s,{unsafe:!0})},4678:function(t,e,i){var r=i(2109),n=i(2814);r({global:!0,forced:parseFloat!=n},{parseFloat:n})},821:function(t,e,i){"use strict";var r=i(2109),n=i(6916),s=i(9662),a=i(8523),o=i(2534),h=i(408);r({target:"Promise",stat:!0,forced:i(612)},{all:function(t){var e=this,i=a.f(e),r=i.resolve,l=i.reject,p=o((function(){var i=s(e.resolve),a=[],o=0,p=1;h(t,(function(t){var s=o++,h=!1;p++,n(i,e,t).then((function(t){h||(h=!0,a[s]=t,--p||r(a))}),l)})),--p||r(a)}));return p.error&&l(p.value),i.promise}})},4164:function(t,e,i){"use strict";var r=i(2109),n=i(1913),s=i(3702).CONSTRUCTOR,a=i(2492),o=i(5005),h=i(614),l=i(8052),p=a&&a.prototype;if(r({target:"Promise",proto:!0,forced:s,real:!0},{catch:function(t){return this.then(void 0,t)}}),!n&&h(a)){var c=o("Promise").prototype.catch;
vendor: 4,694 bytes, line 2
2p.catch!==c&&l(p,"catch",c,{unsafe:!0})}},3401:function(t,e,i){"use strict";var r,n,s,a=i(2109),o=i(1913),h=i(5268),l=i(7854),p=i(6916),c=i(8052),f=i(7674),u=i(8003),d=i(6340),m=i(9662),g=i(614),y=i(111),v=i(5787),b=i(6707),x=i(261).set,_=i(5948),E=i(842),S=i(2534),P=i(8572),C=i(9909),w=i(2492),T=i(3702),A=i(8523),k="Promise",M=T.CONSTRUCTOR,D=T.REJECTION_EVENT,F=T.SUBCLASSING,I=C.getterFor(k),L=C.set,B=w&&w.prototype,R=w,V=B,O=l.TypeError,z=l.document,N=l.process,G=A.f,j=G,H=!!(z&&z.createEvent&&l.dispatchEvent),W="unhandledrejection",q=function(t){var e;return!(!y(t)||!g(e=t.then))&&e},Y=function(t,e){var i,r,n,s=e.value,a=1==e.state,o=a?t.ok:t.fail,h=t.resolve,l=t.reject,c=t.domain;try{o?(a||(2===e.rejection&&Z(e),e.rejection=1),!0===o?i=s:(c&&c.enter(),i=o(s),c&&(c.exit(),n=!0)),i===t.promise?l(O("Promise-chain cycle")):(r=q(i))?p(r,i,h,l):h(i)):l(s)}catch(t){c&&!n&&c.exit(),l(t)}},X=function(t,e){t.notified||(t.notified=!0,_((function(){for(var i,r=t.reactions;i=r.get();)Y(i,t);t.notified=!1,e&&!t.rejection&&U(t)})))},$=function(t,e,i){var r,n;H?((r=z.createEvent("Event")).promise=e,r.reason=i,r.initEvent(t,!1,!0),l.dispatchEvent(r)):r={promise:e,reason:i},!D&&(n=l["on"+t])?n(r):t===W&&E("Unhandled promise rejection",i)},U=function(t){p(x,l,(function(){var e,i=t.facade,r=t.value;if(J(t)&&(e=S((function(){h?N.emit("unhandledRejection",r,i):$(W,i,r)})),t.rejection=h||J(t)?2:1,e.error))throw e.value}))},J=function(t){return 1!==t.rejection&&!t.parent},Z=function(t){p(x,l,(function(){var e=t.facade;h?N.emit("rejectionHandled",e):$("rejectionhandled",e,t.value)}))},K=function(t,e,i){return function(r){t(e,r,i)}},Q=function(t,e,i){t.done||(t.done=!0,i&&(t=i),t.value=e,t.state=2,X(t,!0))},tt=function(t,e,i){if(!t.done){t.done=!0,i&&(t=i);try{if(t.facade===e)throw O("Promise can't be resolved itself");var r=q(e);r?_((function(){var i={done:!1};try{p(r,e,K(tt,i,t),K(Q,i,t))}catch(e){Q(i,e,t)}})):(t.value=e,t.state=1,X(t,!1))}catch(e){Q({done:!1},e,t)}}};if(M&&(V=(R=function(t){v(this,V),m(t),p(r,this);var e=I(this);try{t(K(tt,e),K(Q,e))}catch(t){Q(e,t)}}).prototype,(r=function(t){L(this,{type:k,done:!1,notified:!1,parent:!1,reactions:new P,rejection:!1,state:0,value:void 0})}).prototype=c(V,"then",(function(t,e){var i=I(this),r=G(b(this,R));return i.parent=!0,r.ok=!g(t)||t,r.fail=g(e)&&e,r.domain=h?N.domain:void 0,0==i.state?i.reactions.add(r):_((function(){Y(r,i)})),r.promise})),n=function(){var t=new r,e=I(t);this.promise=t,this.resolve=K(tt,e),this.reject=K(Q,e)},A.f=G=function(t){return t===R||undefined===t?new n(t):j(t)},!o&&g(w)&&B!==Object.prototype)){s=B.then,F||c(B,"then",(function(t,e){var i=this;return new R((function(t,e){p(s,i,t,e)})).then(t,e)}),{unsafe:!0});try{delete B.constructor}catch(t){}f&&f(B,V)}a({global:!0,constructor:!0,wrap:!0,forced:M},{Promise:R}),u(R,k,!1,!0),d(k)},8674:function(t,e,i){i(3401),i(821),i(4164),i(6027),i(683),i(6294)},6027:function(t,e,i){"use strict";var r=i(2109),n=i(6916),s=i(9662),a=i(8523),o=i(2534),h=i(408);r({target:"Promise",stat:!0,forced:i(612)},{race:function(t){var e=this,i=a.f(e),r=i.reject,l=o((function(){var a=s(e.resolve);h(t,(function(t){n(a,e,t).then(i.resolve,r)}))}));return l.error&&r(l.value),i.promise}})},683:function(t,e,i){"use strict";var r=i(2109),n=i(6916),s=i(8523);r({target:"Promise",stat:!0,forced:i(3702).CONSTRUCTOR},{reject:function(t){var e=s.f(this);return n(e.reject,void 0,t),e.promise}})},6294:function(t,e,i){"use strict";var r=i(2109),n=i(5005),s=i(1913),a=i(2492),o=i(3702).CONSTRUCTOR,h=i(9478),l=n("Promise"),p=s&&!o;r({target:"Promise",stat:!0,forced:s||o},{resolve:function(t){return h(p&&this===l?a:this,t)}})},4747:function(t,e,i){var r=i(7854),n=i(8324),s=i(8509),a=i(8533),o=i(8880),h=function(t){if(t&&t.forEach!==a)try{o(t,"forEach",a)}catch(e){t.forEach=a}};for(var l in n)n[l]&&h(r[l]&&r[l].prototype);h(s)},7158:function(t){var e,i;e="undefined"!=typeof window?window:this,i=function(){function t(){}let e=t.prototype;return e.on=function(t,e){if(!t||!e)return this;let i=this._events=this._events||{},r=i[t]=i[t]||[];return r.includes(e)||r.push(e),this},e.once=function(t,e){if(!t||!e)return this;this.on(t,e);let i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this},e.off=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;let r=i.indexOf(e);return-1!=r&&i.splice(r,1),this},e.emitEvent=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;i=i.slice(0),e=e||[];let r=this._onceEvents&&this._onceEvents[t];for(let n of i)r&&r[n]&&(this.off(t,n),delete r[n]),n.apply(this,e);return this},e.allOff=function(){return delete this._events,delete this._onceEvents,this},t}
vendor: 34,334 bytes, line 2
2,t.exports?t.exports=i():e.EvEmitter=i()},9047:function(t){var e,i;e=this,i=function(t){let e={extend:function(t,e){return Object.assign(t,e)},modulo:function(t,e){return(t%e+e)%e},makeArray:function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?[...t]:[t]},removeFrom:function(t,e){let i=t.indexOf(e);-1!=i&&t.splice(i,1)},getParent:function(t,e){for(;t.parentNode&&t!=document.body;)if((t=t.parentNode).matches(e))return t},getQueryElement:function(t){return"string"==typeof t?document.querySelector(t):t},handleEvent:function(t){let e="on"+t.type;this[e]&&this[e](t)},filterFindElements:function(t,i){return(t=e.makeArray(t)).filter((t=>t instanceof HTMLElement)).reduce(((t,e)=>{if(!i)return t.push(e),t;e.matches(i)&&t.push(e);let r=e.querySelectorAll(i);return t=t.concat(...r)}),[])},debounceMethod:function(t,e,i){i=i||100;let r=t.prototype[e],n=e+"Timeout";t.prototype[e]=function(){clearTimeout(this[n]);let t=arguments;this[n]=setTimeout((()=>{r.apply(this,t),delete this[n]}),i)}},docReady:function(t){let e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},toDashed:function(t){return t.replace(/(.)([A-Z])/g,(function(t,e,i){return e+"-"+i})).toLowerCase()}},i=t.console;return e.htmlInit=function(r,n){e.docReady((function(){let s="data-"+e.toDashed(n),a=document.querySelectorAll(`[${s}]`),o=t.jQuery;[...a].forEach((t=>{let e,a=t.getAttribute(s);try{e=a&&JSON.parse(a)}catch(e){return void(i&&i.error(`Error parsing ${s} on ${t.className}: ${e}`))}let h=new r(t,e);o&&o.data(t,n,h)}))}))},e},t.exports?t.exports=i(e):e.fizzyUIUtils=i(e)},3597:function(t,e,i){!function(e,r){t.exports?t.exports=r(i(6680),i(9047)):r(e.Flickity,e.fizzyUIUtils)}("undefined"!=typeof window?window:this,(function(t,e){let i=t.prototype;return i.insert=function(t,e){let i=this._makeCells(t);if(!i||!i.length)return;let r=this.cells.length;e=void 0===e?r:e;let n=function(t){let e=document.createDocumentFragment();return t.forEach((t=>e.appendChild(t.element))),e}(i),s=e===r;if(s)this.slider.appendChild(n);else{let t=this.cells[e].element;this.slider.insertBefore(n,t)}if(0===e)this.cells=i.concat(this.cells);else if(s)this.cells=this.cells.concat(i);else{let t=this.cells.splice(e,r-e);this.cells=this.cells.concat(i).concat(t)}this._sizeCells(i),this.cellChange(e),this.positionSliderAtSelected()},i.append=function(t){this.insert(t,this.cells.length)},i.prepend=function(t){this.insert(t,0)},i.remove=function(t){let i=this.getCells(t);if(!i||!i.length)return;let r=this.cells.length-1;i.forEach((t=>{t.remove();let i=this.cells.indexOf(t);r=Math.min(i,r),e.removeFrom(this.cells,t)})),this.cellChange(r),this.positionSliderAtSelected()},i.cellSizeChange=function(t){let e=this.getCell(t);if(!e)return;e.getSize();let i=this.cells.indexOf(e);this.cellChange(i)},i.cellChange=function(t){let e=this.selectedElement;this._positionCells(t),this._updateWrapShiftCells(),this.setGallerySize();let i=this.getCell(e);i&&(this.selectedIndex=this.getCellSlideIndex(i)),this.selectedIndex=Math.min(this.slides.length-1,this.selectedIndex),this.emitEvent("cellChange",[t]),this.select(this.selectedIndex)},t}))},7880:function(t,e,i){!function(e,r){t.exports?t.exports=r(i(9047)):(e.Flickity=e.Flickity||{},e.Flickity.animatePrototype=r(e.fizzyUIUtils))}("undefined"!=typeof window?window:this,(function(t){let e={startAnimation:function(){this.isAnimating||(this.isAnimating=!0,this.restingFrames=0,this.animate())},animate:function(){this.applyDragForce(),this.applySelectedAttraction();let t=this.x;this.integratePhysics(),this.positionSlider(),this.settle(t),this.isAnimating&&requestAnimationFrame((()=>this.animate()))},positionSlider:function(){let e=this.x;this.isWrapping&&(e=t.modulo(e,this.slideableWidth)-this.slideableWidth,this.shiftWrapCells(e)),this.setTranslateX(e,this.isAnimating),this.dispatchScrollEvent()},setTranslateX:function(t,e){t+=this.cursorPosition,this.options.rightToLeft&&(t=-t);let i=this.getPositionValue(t);this.slider.style.transform=e?`translate3d(${i},0,0)`:`translateX(${i})`},dispatchScrollEvent:function(){let t=this.slides[0];if(!t)return;let e=-this.x-t.target,i=e/this.slidesWidth;this.dispatchEvent("scroll",null,[i,e])},positionSliderAtSelected:function(){this.cells.length&&(this.x=-this.selectedSlide.target,this.velocity=0,this.positionSlider())},getPositionValue:function(t){return this.options.percentPosition?.01*Math.round(t/this.size.innerWidth*1e4)+"%":Math.round(t)+"px"},settle:function(t){!this.isPointerDown&&Math.round(100*this.x)===Math.round(100*t)&&this.restingFrames++,this.restingFrames>2&&(this.isAnimating=!1,delete this.isFreeScrolling,this.positionSlider(),this.dispatchEvent("settle",null,[this.selectedIndex]))},shiftWrapCells:function(t){let e=this.cursorPosition+t;this._shiftCells(this.beforeShiftCells,e,-1);let i=this.size.innerWidth-(t+this.slideableWidth+this.cursorPosition);this._shiftCells(this.afterShiftCells,i,1)},_shiftCells:function(t,e,i){t.forEach((t=>{let r=e>0?i:0;this._wrapShiftCell(t,r),e-=t.size.outerWidth}))},_unshiftCells:function(t){t&&t.length&&t.forEach((t=>this._wrapShiftCell(t,0)))},_wrapShiftCell:function(t,e){this._renderCellPosition(t,t.x+this.slideableWidth*e)},integratePhysics:function(){this.x+=this.velocity,this.velocity*=this.getFrictionFactor()},applyForce:function(t){this.velocity+=t},getFrictionFactor:function(){return 1-this.options[this.isFreeScrolling?"freeScrollFriction":"friction"]},getRestingPosition:function(){return this.x+this.velocity/(1-this.getFrictionFactor())},applyDragForce:function(){if(!this.isDraggable||!this.isPointerDown)return;let t=this.dragX-this.x-this.velocity;this.applyForce(t)},applySelectedAttraction:function(){if(this.isDraggable&&this.isPointerDown||this.isFreeScrolling||!this.slides.length)return;let t=(-1*this.selectedSlide.target-this.x)*this.options.selectedAttraction;this.applyForce(t)}};return e}))},7229:function(t,e,i){!function(e,r){t.exports?t.exports=r(i(6131)):(e.Flickity=e.Flickity||{},e.Flickity.Cell=r(e.getSize))}("undefined"!=typeof window?window:this,(function(t){const e="flickity-cell";function i(t){this.element=t,this.element.classList.add(e),this.x=0,this.unselect()}let r=i.prototype;return r.destroy=function(){this.unselect(),this.element.classList.remove(e),this.element.style.transform="",this.element.removeAttribute("aria-hidden")},r.getSize=function(){this.size=t(this.element)},r.select=function(){this.element.classList.add("is-selected"),this.element.removeAttribute("aria-hidden")},r.unselect=function(){this.element.classList.remove("is-selected"),this.element.setAttribute("aria-hidden","true")},r.remove=function(){this.element.remove()},i}))},6680:function(t,e,i){!function(e,r){if(t.exports)t.exports=r(e,i(7158),i(6131),i(9047),i(7229),i(9714),i(7880));else{let t=e.Flickity;e.Flickity=r(e,e.EvEmitter,e.getSize,e.fizzyUIUtils,t.Cell,t.Slide,t.animatePrototype)}}("undefined"!=typeof window?window:this,(function(t,e,i,r,n,s,a){const{getComputedStyle:o,console:h}=t;let{jQuery:l}=t,p=0,c={};function f(t,e){let i=r.getQueryElement(t);if(i){if(this.element=i,this.element.flickityGUID){let t=c[this.element.flickityGUID];return t&&t.option(e),t}l&&(this.$element=l(this.element)),this.options={...this.constructor.defaults},this.option(e),this._create()}else h&&h.error(`Bad element for Flickity: ${i||t}`)}f.defaults={accessibility:!0,cellAlign:"center",freeScrollFriction:.075,friction:.28,namespaceJQueryEvents:!0,percentPosition:!0,resize:!0,selectedAttraction:.025,setGallerySize:!0},f.create={};let u=f.prototype;Object.assign(u,e.prototype),u._create=function(){let{resize:e,watchCSS:i,rightToLeft:r}=this.options,n=this.guid=++p;this.element.flickityGUID=n,c[n]=this,this.selectedIndex=0,this.restingFrames=0,this.x=0,this.velocity=0,this.beginMargin=r?"marginRight":"marginLeft",this.endMargin=r?"marginLeft":"marginRight",this.viewport=document.createElement("div"),this.viewport.className="flickity-viewport",this._createSlider(),this.focusableElems=[this.element],(e||i)&&t.addEventListener("resize",this);for(let t in this.options.on){let e=this.options.on[t];this.on(t,e)}for(let t in f.create)f.create[t].call(this);i?this.watchCSS():this.activate()},u.option=function(t){Object.assign(this.options,t)},u.activate=function(){if(this.isActive)return;this.isActive=!0,this.element.classList.add("flickity-enabled"),this.options.rightToLeft&&this.element.classList.add("flickity-rtl"),this.getSize();let t=this._filterFindCellElements(this.element.children);this.slider.append(...t),this.viewport.append(this.slider),this.element.append(this.viewport),this.reloadCells(),this.options.accessibility&&(this.element.tabIndex=0,this.element.addEventListener("keydown",this)),this.emitEvent("activate"),this.selectInitialIndex(),this.isInitActivated=!0,this.dispatchEvent("ready")},u._createSlider=function(){let t=document.createElement("div");t.className="flickity-slider",this.slider=t},u._filterFindCellElements=function(t){return r.filterFindElements(t,this.options.cellSelector)},u.reloadCells=function(){this.cells=this._makeCells(this.slider.children),this.positionCells(),this._updateWrapShiftCells(),this.setGallerySize()},u._makeCells=function(t){return this._filterFindCellElements(t).map((t=>new n(t)))},u.getLastCell=function(){return this.cells[this.cells.length-1]},u.getLastSlide=function(){return this.slides[this.slides.length-1]},u.positionCells=function(){this._sizeCells(this.cells),this._positionCells(0)},u._positionCells=function(t){t=t||0,this.maxCellHeight=t&&this.maxCellHeight||0;let e=0;if(t>0){let i=this.cells[t-1];e=i.x+i.size.outerWidth}this.cells.slice(t).forEach((t=>{t.x=e,this._renderCellPosition(t,e),e+=t.size.outerWidth,this.maxCellHeight=Math.max(t.size.outerHeight,this.maxCellHeight)})),this.slideableWidth=e,this.updateSlides(),this._containSlides(),this.slidesWidth=this.cells.length?this.getLastSlide().target-this.slides[0].target:0},u._renderCellPosition=function(t,e){let i=e*(this.options.rightToLeft?-1:1);this.options.percentPosition&&(i*=this.size.innerWidth/t.size.width);let r=this.getPositionValue(i);t.element.style.transform=`translateX( ${r} )`},u._sizeCells=function(t){t.forEach((t=>t.getSize()))},u.updateSlides=function(){if(this.slides=[],!this.cells.length)return;let{beginMargin:t,endMargin:e}=this,i=new s(t,e,this.cellAlign);this.slides.push(i);let r=this._getCanCellFit();this.cells.forEach(((n,a)=>{if(!i.cells.length)return void i.addCell(n);let o=i.outerWidth-i.firstMargin+(n.size.outerWidth-n.size[e]);r(a,o)||(i.updateTarget(),i=new s(t,e,this.cellAlign),this.slides.push(i)),i.addCell(n)})),i.updateTarget(),this.updateSelectedSlide()},u._getCanCellFit=function(){let{groupCells:t}=this.options;if(!t)return()=>!1;if("number"==typeof t){let e=parseInt(t,10);return t=>t%e!=0}let e=1,i="string"==typeof t&&t.match(/^(\d+)%$/);i&&(e=parseInt(i[1],10)/100);let r=(this.size.innerWidth+1)*e;return(t,e)=>e<=r},u._init=u.reposition=function(){this.positionCells(),this.positionSliderAtSelected()},u.getSize=function(){this.size=i(this.element),this.setCellAlign(),this.cursorPosition=this.size.innerWidth*this.cellAlign};let d={left:0,center:.5,right:1};u.setCellAlign=function(){let{cellAlign:t,rightToLeft:e}=this.options,i=d[t];this.cellAlign=void 0!==i?i:t,e&&(this.cellAlign=1-this.cellAlign)},u.setGallerySize=function(){if(!this.options.setGallerySize)return;let t=this.options.adaptiveHeight&&this.selectedSlide?this.selectedSlide.height:this.maxCellHeight;this.viewport.style.height=`${t}px`},u._updateWrapShiftCells=function(){if(this.isWrapping=this.getIsWrapping(),!this.isWrapping)return;this._unshiftCells(this.beforeShiftCells),this._unshiftCells(this.afterShiftCells);let t=this.cursorPosition,e=this.cells.length-1;this.beforeShiftCells=this._getGapCells(t,e,-1);let i=this.size.innerWidth-this.cursorPosition;this.afterShiftCells=this._getGapCells(i,0,1)},u.getIsWrapping=function(){let{wrapAround:t}=this.options;if(!t||this.slides.length<2)return!1;if("fill"!==t)return!0;let e=this.slideableWidth-this.size.innerWidth;if(e>this.size.innerWidth)return!0;for(let t of this.cells)if(t.size.outerWidth>e)return!1;return!0},u._getGapCells=function(t,e,i){let r=[];for(;t>0;){let n=this.cells[e];if(!n)break;r.push(n),e+=i,t-=n.size.outerWidth}return r},u._containSlides=function(){if(!(this.options.contain&&!this.isWrapping&&this.cells.length))return;let t=this.slideableWidth-this.getLastCell().size[this.endMargin];if(t<this.size.innerWidth)this.slides.forEach((e=>{e.target=t*this.cellAlign}));else{let e=this.cursorPosition+this.cells[0].size[this.beginMargin],i=t-this.size.innerWidth*(1-this.cellAlign);this.slides.forEach((t=>{t.target=Math.max(t.target,e),t.target=Math.min(t.target,i)}))}},u.dispatchEvent=function(t,e,i){let r=e?[e].concat(i):i;if(this.emitEvent(t,r),l&&this.$element){let r=t+=this.options.namespaceJQueryEvents?".flickity":"";if(e){let i=new l.Event(e);i.type=t,r=i}this.$element.trigger(r,i)}};const m=["dragStart","dragMove","dragEnd","pointerDown","pointerMove","pointerEnd","staticClick"];let g=u.emitEvent;u.emitEvent=function(t,e){if("staticClick"===t){let t=this.getParentCell(e[0].target),i=t&&t.element,r=t&&this.cells.indexOf(t);e=e.concat(i,r)}if(g.call(this,t,e),!m.includes(t)||!l||!this.$element)return;t+=this.options.namespaceJQueryEvents?".flickity":"";let i=e.shift(0),r=new l.Event(i);r.type=t,this.$element.trigger(r,e)},u.select=function(t,e,i){if(!this.isActive)return;if(t=parseInt(t,10),this._wrapSelect(t),(this.isWrapping||e)&&(t=r.modulo(t,this.slides.length)),!this.slides[t])return;let n=this.selectedIndex;this.selectedIndex=t,this.updateSelectedSlide(),i?this.positionSliderAtSelected():this.startAnimation(),this.options.adaptiveHeight&&this.setGallerySize(),this.dispatchEvent("select",null,[t]),t!==n&&this.dispatchEvent("change",null,[t])},u._wrapSelect=function(t){if(!this.isWrapping)return;const{selectedIndex:e,slideableWidth:i,slides:{length:n}}=this;if(!this.isDragSelect){let i=r.modulo(t,n),s=Math.abs(i-e),a=Math.abs(i+n-e),o=Math.abs(i-n-e);a<s?t+=n:o<s&&(t-=n)}t<0?this.x-=i:t>=n&&(this.x+=i)},u.previous=function(t,e){this.select(this.selectedIndex-1,t,e)},u.next=function(t,e){this.select(this.selectedIndex+1,t,e)},u.updateSelectedSlide=function(){let t=this.slides[this.selectedIndex];t&&(this.unselectSelectedSlide(),this.selectedSlide=t,t.select(),this.selectedCells=t.cells,this.selectedElements=t.getCellElements(),this.selectedCell=t.cells[0],this.selectedElement=this.selectedElements[0])},u.unselectSelectedSlide=function(){this.selectedSlide&&this.selectedSlide.unselect()},u.selectInitialIndex=function(){let t=this.options.initialIndex;if(this.isInitActivated)return void this.select(this.selectedIndex,!1,!0);if(t&&"string"==typeof t){if(this.queryCell(t))return void this.selectCell(t,!1,!0)}let e=0;t&&this.slides[t]&&(e=t),this.select(e,!1,!0)},u.selectCell=function(t,e,i){let r=this.queryCell(t);if(!r)return;let n=this.getCellSlideIndex(r);this.select(n,e,i)},u.getCellSlideIndex=function(t){let e=this.slides.find((e=>e.cells.includes(t)));return this.slides.indexOf(e)},u.getCell=function(t){for(let e of this.cells)if(e.element===t)return e},u.getCells=function(t){return(t=r.makeArray(t)).map((t=>this.getCell(t))).filter(Boolean)},u.getCellElements=function(){return this.cells.map((t=>t.element))},u.getParentCell=function(t){let e=this.getCell(t);if(e)return e;let i=t.closest(".flickity-slider > *");return this.getCell(i)},u.getAdjacentCellElements=function(t,e){if(!t)return this.selectedSlide.getCellElements();e=void 0===e?this.selectedIndex:e;let i=this.slides.length;if(1+2*t>=i)return this.getCellElements();let n=[];for(let s=e-t;s<=e+t;s++){let t=this.isWrapping?r.modulo(s,i):s,e=this.slides[t];e&&(n=n.concat(e.getCellElements()))}return n},u.queryCell=function(t){if("number"==typeof t)return this.cells[t];return"string"==typeof t&&!t.match(/^[#.]?[\d/]/)&&(t=this.element.querySelector(t)),this.getCell(t)},u.uiChange=function(){this.emitEvent("uiChange")},u.onresize=function(){this.watchCSS(),this.resize()},r.debounceMethod(f,"onresize",150),u.resize=function(){if(!this.isActive||this.isAnimating||this.isDragging)return;this.getSize(),this.isWrapping&&(this.x=r.modulo(this.x,this.slideableWidth)),this.positionCells(),this._updateWrapShiftCells(),this.setGallerySize(),this.emitEvent("resize");let t=this.selectedElements&&this.selectedElements[0];this.selectCell(t,!1,!0)},u.watchCSS=function(){if(!this.options.watchCSS)return;o(this.element,":after").content.includes("flickity")?this.activate():this.deactivate()},u.onkeydown=function(t){let{activeElement:e}=document,i=f.keyboardHandlers[t.key];this.options.accessibility&&e&&i&&this.focusableElems.some((t=>e===t))&&i.call(this)},f.keyboardHandlers={ArrowLeft:function(){this.uiChange(),this[this.options.rightToLeft?"next":"previous"]()},ArrowRight:function(){this.uiChange(),this[this.options.rightToLeft?"previous":"next"]()}},u.focus=function(){this.element.focus({preventScroll:!0})},u.deactivate=function(){this.isActive&&(this.element.classList.remove("flickity-enabled"),this.element.classList.remove("flickity-rtl"),this.unselectSelectedSlide(),this.cells.forEach((t=>t.destroy())),this.viewport.remove(),this.element.append(...this.slider.children),this.options.accessibility&&(this.element.removeAttribute("tabIndex"),this.element.removeEventListener("keydown",this)),this.isActive=!1,this.emitEvent("deactivate"))},u.destroy=function(){this.deactivate(),t.removeEventListener("resize",this),this.allOff(),this.emitEvent("destroy"),l&&this.$element&&l.removeData(this.element,"flickity"),delete this.element.flickityGUID,delete c[this.guid]},Object.assign(u,a),f.data=function(t){if(t=r.getQueryElement(t))return c[t.flickityGUID]},r.htmlInit(f,"flickity");let{jQueryBridget:y}=t;return l&&y&&y("flickity",f,l),f.setJQuery=function(t){l=t},f.Cell=n,f.Slide=s,f}))},9690:function(t,e,i){!function(e,r){t.exports?t.exports=r(e,i(6680),i(4842),i(9047)):e.Flickity=r(e,e.Flickity,e.Unidragger,e.fizzyUIUtils)}("undefined"!=typeof window?window:this,(function(t,e,i,r){Object.assign(e.defaults,{draggable:">1",dragThreshold:3});let n=e.prototype;function s(){return{x:t.pageXOffset,y:t.pageYOffset}}return Object.assign(n,i.prototype),n.touchActionValue="",e.create.drag=function(){this.on("activate",this.onActivateDrag),this.on("uiChange",this._uiChangeDrag),this.on("deactivate",this.onDeactivateDrag),this.on("cellChange",this.updateDraggable),this.on("pointerDown",this.handlePointerDown),this.on("pointerUp",this.handlePointerUp),this.on("pointerDown",this.handlePointerDone),this.on("dragStart",this.handleDragStart),this.on("dragMove",this.handleDragMove),this.on("dragEnd",this.handleDragEnd),this.on("staticClick",this.handleStaticClick)},n.onActivateDrag=function(){this.handles=[this.viewport],this.bindHandles(),this.updateDraggable()},n.onDeactivateDrag=function(){this.unbindHandles(),this.element.classList.remove("is-draggable")},n.updateDraggable=function(){">1"===this.options.draggable?this.isDraggable=this.slides.length>1:this.isDraggable=this.options.draggable,this.element.classList.toggle("is-draggable",this.isDraggable)},n._uiChangeDrag=function(){delete this.isFreeScrolling},n.handlePointerDown=function(e){if(!this.isDraggable)return void this.bindActivePointerEvents(e);let i="touchstart"===e.type,r="touch"===e.pointerType,n=e.target.matches("input, textarea, select");i||r||n||e.preventDefault(),n||this.focus(),document.activeElement!==this.element&&document.activeElement.blur(),this.dragX=this.x,this.viewport.classList.add("is-pointer-down"),this.pointerDownScroll=s(),t.addEventListener("scroll",this),this.bindActivePointerEvents(e)},n.hasDragStarted=function(t){return Math.abs(t.x)>this.options.dragThreshold},n.handlePointerUp=function(){delete this.isTouchScrolling,this.viewport.classList.remove("is-pointer-down")},n.handlePointerDone=function(){t.removeEventListener("scroll",this),delete this.pointerDownScroll},n.handleDragStart=function(){this.isDraggable&&(this.dragStartPosition=this.x,this.startAnimation(),t.removeEventListener("scroll",this))},n.handleDragMove=function(t,e,i){if(!this.isDraggable)return;t.preventDefault(),this.previousDragX=this.dragX;let r=this.options.rightToLeft?-1:1;this.isWrapping&&(i.x%=this.slideableWidth);let n=this.dragStartPosition+i.x*r;if(!this.isWrapping){let t=Math.max(-this.slides[0].target,this.dragStartPosition);n=n>t?.5*(n+t):n;let e=Math.min(-this.getLastSlide().target,this.dragStartPosition);n=n<e?.5*(n+e):n}this.dragX=n,this.dragMoveTime=new Date},n.handleDragEnd=function(){if(!this.isDraggable)return;let{freeScroll:t}=this.options;t&&(this.isFreeScrolling=!0);let e=this.dragEndRestingSelect();if(t&&!this.isWrapping){let t=this.getRestingPosition();this.isFreeScrolling=-t>this.slides[0].target&&-t<this.getLastSlide().target}else t||e!==this.selectedIndex||(e+=this.dragEndBoostSelect());delete this.previousDragX,this.isDragSelect=this.isWrapping,this.select(e),delete this.isDragSelect},n.dragEndRestingSelect=function(){let t=this.getRestingPosition(),e=Math.abs(this.getSlideDistance(-t,this.selectedIndex)),i=this._getClosestResting(t,e,1),r=this._getClosestResting(t,e,-1);return i.distance<r.distance?i.index:r.index},n._getClosestResting=function(t,e,i){let r=this.selectedIndex,n=1/0,s=this.options.contain&&!this.isWrapping?(t,e)=>t<=e:(t,e)=>t<e;for(;s(e,n)&&(r+=i,n=e,null!==(e=this.getSlideDistance(-t,r)));)e=Math.abs(e);return{distance:n,index:r-i}},n.getSlideDistance=function(t,e){let i=this.slides.length,n=this.options.wrapAround&&i>1,s=n?r.modulo(e,i):e,a=this.slides[s];if(!a)return null;let o=n?this.slideableWidth*Math.floor(e/i):0;return t-(a.target+o)},n.dragEndBoostSelect=function(){if(void 0===this.previousDragX||!this.dragMoveTime||new Date-this.dragMoveTime>100)return 0;let t=this.getSlideDistance(-this.dragX,this.selectedIndex),e=this.previousDragX-this.dragX;return t>0&&e>0?1:t<0&&e<0?-1:0},n.onscroll=function(){let t=s(),e=this.pointerDownScroll.x-t.x,i=this.pointerDownScroll.y-t.y;(Math.abs(e)>3||Math.abs(i)>3)&&this.pointerDone()},e}))},2835:function(t,e,i){!function(e,r){t.exports?t.exports=r(i(6680),i(7564)):r(e.Flickity,e.imagesLoaded)}("undefined"!=typeof window?window:this,(function(t,e){return t.create.imagesLoaded=function(){this.on("activate",this.imagesLoaded)},t.prototype.imagesLoaded=function(){if(!this.options.imagesLoaded)return;e(this.slider).on("progress",((t,e)=>{let i=this.getParentCell(e.img);this.cellSizeChange(i&&i.element),this.options.freeScroll||this.positionSliderAtSelected()}))},t}))},2442:function(t,e,i){if(t.exports){const e=i(6680);i(9690),i(2410),i(7573),i(8516),i(3597),i(7227),i(2835),t.exports=e}},7227:function(t,e,i){!function(e,r){t.exports?t.exports=r(i(6680),i(9047)):r(e.Flickity,e.fizzyUIUtils)}("undefined"!=typeof window?window:this,(function(t,e){const i="data-flickity-lazyload",r=`${i}-src`,n=`${i}-srcset`,s=`img[${i}], img[${r}], img[${n}], source[${n}]`;t.create.lazyLoad=function(){this.on("select",this.lazyLoad),this.handleLazyLoadComplete=this.onLazyLoadComplete.bind(this)};let a=t.prototype;function o(t){if(t.matches("img")){let e=t.getAttribute(i),s=t.getAttribute(r),a=t.getAttribute(n);if(e||s||a)return t}return[...t.querySelectorAll(s)]}function h(t,e){this.img=t,this.onComplete=e,this.load()}return a.lazyLoad=function(){let{lazyLoad:t}=this.options;if(!t)return;let e="number"==typeof t?t:0;this.getAdjacentCellElements(e).map(o).flat().forEach((t=>new h(t,this.handleLazyLoadComplete)))},a.onLazyLoadComplete=function(t,e){let i=this.getParentCell(t),r=i&&i.element;this.cellSizeChange(r),this.dispatchEvent("lazyLoad",e,r)},h.prototype.handleEvent=e.handleEvent,h.prototype.load=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this);let t=this.img.getAttribute(i)||this.img.getAttribute(r),e=this.img.getAttribute(n);this.img.src=t,e&&this.img.setAttribute("srcset",e),this.img.removeAttribute(i),this.img.removeAttribute(r),this.img.removeAttribute(n)},h.prototype.onload=function(t){this.complete(t,"flickity-lazyloaded")},h.prototype.onerror=function(t){this.complete(t,"flickity-lazyerror")},h.prototype.complete=function(t,e){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this),(this.img.parentNode.matches("picture")?this.img.parentNode:this.img).classList.add(e),this.onComplete(this.img,t)},t.LazyLoader=h,t}))},7573:function(t,e,i){!function(e,r){t.exports?t.exports=r(i(6680),i(9047)):r(e.Flickity,e.fizzyUIUtils)}("undefined"!=typeof window?window:this,(function(t,e){function i(){this.holder=document.createElement("div"),this.holder.className="flickity-page-dots",this.dots=[]}i.prototype.setDots=function(t){let e=t-this.dots.length;e>0?this.addDots(e):e<0&&this.removeDots(-e)},i.prototype.addDots=function(t){let e=new Array(t).fill().map(((t,e)=>{let i=document.createElement("button");i.setAttribute("type","button");let r=e+1+this.dots.length;return i.className="flickity-page-dot",i.textContent=`View slide ${r}`,i}));this.holder.append(...e),this.dots=this.dots.concat(e)},i.prototype.removeDots=function(t){this.dots.splice(this.dots.length-t,t).forEach((t=>t.remove()))},i.prototype.updateSelected=function(t){this.selectedDot&&(this.selectedDot.classList.remove("is-selected"),this.selectedDot.removeAttribute("aria-current")),this.dots.length&&(this.selectedDot=this.dots[t],this.selectedDot.classList.add("is-selected"),this.selectedDot.setAttribute("aria-current","step"))},t.PageDots=i,Object.assign(t.defaults,{pageDots:!0}),t.create.pageDots=function(){this.options.pageDots&&(this.pageDots=new i,this.handlePageDotsClick=this.onPageDotsClick.bind(this),this.on("activate",this.activatePageDots),this.on("select",this.updateSelectedPageDots),this.on("cellChange",this.updatePageDots),this.on("resize",this.updatePageDots),this.on("deactivate",this.deactivatePageDots))};let r=t.prototype;return r.activatePageDots=function(){this.pageDots.setDots(this.slides.length),this.focusableElems.push(...this.pageDots.dots),this.pageDots.holder.addEventListener("click",this.handlePageDotsClick),this.element.append(this.pageDots.holder)},r.onPageDotsClick=function(t){let e=this.pageDots.dots.indexOf(t.target);-1!==e&&(this.uiChange(),this.select(e))},r.updateSelectedPageDots=function(){this.pageDots.updateSelected(this.selectedIndex)},r.updatePageDots=function(){this.pageDots.dots.forEach((t=>{e.removeFrom(this.focusableElems,t)})),this.pageDots.setDots(this.slides.length),this.focusableElems.push(...this.pageDots.dots)},r.deactivatePageDots=function(){this.pageDots.holder.remove(),this.pageDots.holder.removeEventListener("click",this.handlePageDotsClick)},t.PageDots=i,t}))},8516:function(t,e,i){!function(e,r){t.exports?t.exports=r(i(6680)):r(e.Flickity)}("undefined"!=typeof window?window:this,(function(t){function e(t,e){this.autoPlay=t,this.onTick=e,this.state="stopped",this.onVisibilityChange=this.visibilityChange.bind(this),this.onVisibilityPlay=this.visibilityPlay.bind(this)}e.prototype.play=function(){if("playing"===this.state)return;document.hidden?document.addEventListener("visibilitychange",this.onVisibilityPlay):(this.state="playing",document.addEventListener("visibilitychange",this.onVisibilityChange),this.tick())},e.prototype.tick=function(){if("playing"!==this.state)return;let t="number"==typeof this.autoPlay?this.autoPlay:3e3;this.clear(),this.timeout=setTimeout((()=>{this.onTick(),this.tick()}),t)},e.prototype.stop=function(){this.state="stopped",this.clear(),document.removeEventListener("visibilitychange",this.onVisibilityChange)},e.prototype.clear=function(){clearTimeout(this.timeout)},e.prototype.pause=function(){"playing"===this.state&&(this.state="paused",this.clear())},e.prototype.unpause=function(){"paused"===this.state&&this.play()},e.prototype.visibilityChange=function(){this[document.hidden?"pause":"unpause"]()},e.prototype.visibilityPlay=function(){this.play(),document.removeEventListener("visibilitychange",this.onVisibilityPlay)},Object.assign(t.defaults,{pauseAutoPlayOnHover:!0}),t.create.player=function(){this.player=new e(this.options.autoPlay,(()=>{this.next(!0)})),this.on("activate",this.activatePlayer),this.on("uiChange",this.stopPlayer),this.on("pointerDown",this.stopPlayer),this.on("deactivate",this.deactivatePlayer)};let i=t.prototype;return i.activatePlayer=function(){this.options.autoPlay&&(this.player.play(),this.element.addEventListener("mouseenter",this))},i.playPlayer=function(){this.player.play()},i.stopPlayer=function(){this.player.stop()},i.pausePlayer=function(){this.player.pause()},i.unpausePlayer=function(){this.player.unpause()},i.deactivatePlayer=function(){this.player.stop(),this.element.removeEventListener("mouseenter",this)},i.onmouseenter=function(){this.options.pauseAutoPlayOnHover&&(this.player.pause(),this.element.addEventListener("mouseleave",this))},i.onmouseleave=function(){this.player.unpause(),this.element.removeEventListener("mouseleave",this)},t.Player=e,t}))},2410:function(t,e,i){!function(e,r){t.exports?t.exports=r(i(6680)):r(e.Flickity)}("undefined"!=typeof window?window:this,(function(t){const e="http://www.w3.org/2000/svg";function i(t,e,i){this.increment=t,this.direction=e,this.isPrevious="previous"===t,this.isLeft="left"===e,this._create(i)}i.prototype._create=function(t){let e=this.element=document.createElement("button");e.className=`flickity-button flickity-prev-next-button ${this.increment}`;let i=this.isPrevious?"Previous":"Next";e.setAttribute("type","button"),e.setAttribute("aria-label",i),this.disable();let r=this.createSVG(i,t);e.append(r)},i.prototype.createSVG=function(t,i){let r=document.createElementNS(e,"svg");r.setAttribute("class","flickity-button-icon"),r.setAttribute("viewBox","0 0 100 100");let n=document.createElementNS(e,"title");n.append(t);let s=document.createElementNS(e,"path"),a=function(t){if("string"==typeof t)return t;let{x0:e,x1:i,x2:r,x3:n,y1:s,y2:a}=t;return`M ${e}, 50\n L ${i}, ${s+50}\n L ${r}, ${a+50}\n L ${n}, 50\n L ${r}, ${50-a}\n L ${i}, ${50-s}\n Z`}(i);return s.setAttribute("d",a),s.setAttribute("class","arrow"),this.isLeft||s.setAttribute("transform","translate(100, 100) rotate(180)"),r.append(n,s),r},i.prototype.enable=function(){this.element.removeAttribute("disabled")},i.prototype.disable=function(){this.element.setAttribute("disabled",!0)},Object.assign(t.defaults,{prevNextButtons:!0,arrowShape:{x0:10,x1:60,y1:50,x2:70,y2:40,x3:30}}),t.create.prevNextButtons=function(){if(!this.options.prevNextButtons)return;let{rightToLeft:t,arrowShape:e}=this.options,r=t?"right":"left",n=t?"left":"right";this.prevButton=new i("previous",r,e),this.nextButton=new i("next",n,e),this.focusableElems.push(this.prevButton.element),this.focusableElems.push(this.nextButton.element),this.handlePrevButtonClick=()=>{this.uiChange(),this.previous()},this.handleNextButtonClick=()=>{this.uiChange(),this.next()},this.on("activate",this.activatePrevNextButtons),this.on("select",this.updatePrevNextButtons)};let r=t.prototype;return r.updatePrevNextButtons=function(){let t=this.slides.length?this.slides.length-1:0;this.updatePrevNextButton(this.prevButton,0),this.updatePrevNextButton(this.nextButton,t)},r.updatePrevNextButton=function(t,e){if(this.isWrapping&&this.slides.length>1)return void t.enable();let i=this.selectedIndex!==e;t[i?"enable":"disable"](),!i&&document.activeElement===t.element&&this.focus()},r.activatePrevNextButtons=function(){this.prevButton.element.addEventListener("click",this.handlePrevButtonClick),this.nextButton.element.addEventListener("click",this.handleNextButtonClick),this.element.append(this.prevButton.element,this.nextButton.element),this.on("deactivate",this.deactivatePrevNextButtons)},r.deactivatePrevNextButtons=function(){this.prevButton.element.remove(),this.nextButton.element.remove(),this.prevButton.element.removeEventListener("click",this.handlePrevButtonClick),this.nextButton.element.removeEventListener("click",this.handleNextButtonClick),this.off("deactivate",this.deactivatePrevNextButtons)},t.PrevNextButton=i,t}))},9714:function(t){!function(e,i){t.exports?t.exports=i():(e.Flickity=e.Flickity||{},e.Flickity.Slide=i())}("undefined"!=typeof window?window:this,(function(){function t(t,e,i){this.beginMargin=t,this.endMargin=e,this.cellAlign=i,this.cells=[],this.outerWidth=0,this.height=0}let e=t.prototype;return e.addCell=function(t){this.cells.push(t),this.outerWidth+=t.size.outerWidth,this.height=Math.max(t.size.outerHeight,this.height),1===this.cells.length&&(this.x=t.x,this.firstMargin=t.size[this.beginMargin])},e.updateTarget=function(){let t=this.getLastCell(),e=t?t.size[this.endMargin]:0,i=this.outerWidth-(this.firstMargin+e);this.target=this.x+this.firstMargin+i*this.cellAlign},e.getLastCell=function(){return this.cells[this.cells.length-1]},e.select=function(){this.cells.forEach((t=>t.select()))},e.unselect=function(){this.cells.forEach((t=>t.unselect()))},e.getCellElements=function(){return this.cells.map((t=>t.element))},t}))},6131:function(t){!function(e,i){t.exports?t.exports=i():e.getSize=i()}(window,(function(){function t(t){let e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}let e=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];e.length;return function(i){if("string"==typeof i&&(i=document.querySelector(i)),!(i&&"object"==typeof i&&i.nodeType))return;let r=getComputedStyle(i);if("none"==r.display)return function(){let t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0};return e.forEach((e=>{t[e]=0})),t}();let n={};n.width=i.offsetWidth,n.height=i.offsetHeight;let s=n.isBorderBox="border-box"==r.boxSizing;e.forEach((t=>{let e=r[t],i=parseFloat(e);n[t]=isNaN(i)?0:i}));let a=n.paddingLeft+n.paddingRight,o=n.paddingTop+n.paddingBottom,h=n.marginLeft+n.marginRight,l=n.marginTop+n.marginBottom,p=n.borderLeftWidth+n.borderRightWidth,c=n.borderTopWidth+n.borderBottomWidth,f=t(r.width);!1!==f&&(n.width=f+(s?0:a+p));let u=t(r.height);return!1!==u&&(n.height=u+(s?0:o+c)),n.innerWidth=n.width-(a+p),n.innerHeight=n.height-(o+c),n.outerWidth=n.width+h,n.outerHeight=n.height+l,n}}))}
vendor: 37,431 bytes, line 2
2,9092:function(t,e,i){"use strict";function r(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}i.d(e,{i:function(){return Xe}});var n,s,a,o,h,l,p,c,f,u,d,m,g=function(){return n||"undefined"!=typeof window&&(n=window.gsap)&&n.registerPlugin&&n},y=1,v=[],b=[],x=[],_=Date.now,E=function(t,e){return e},S=function(t,e){return~x.indexOf(t)&&x[x.indexOf(t)+1][e]},P=function(t){return!!~u.indexOf(t)},C=function(t,e,i,r,n){return t.addEventListener(e,i,{passive:!r,capture:!!n})},w=function(t,e,i,r){return t.removeEventListener(e,i,!!r)},T="scrollLeft",A="scrollTop",k=function(){return d&&d.isPressed||b.cache++},M=function(t,e){var i=function i(r){if(r||0===r){y&&(a.history.scrollRestoration="manual");var n=d&&d.isPressed;r=i.v=Math.round(r)||(d&&d.iOS?1:0),t(r),i.cacheID=b.cache,n&&E("ss",r)}else(e||b.cache!==i.cacheID||E("ref"))&&(i.cacheID=b.cache,i.v=t());return i.v+i.offset};return i.offset=0,t&&i},D={s:T,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:M((function(t){return arguments.length?a.scrollTo(t,F.sc()):a.pageXOffset||o.scrollLeft||h.scrollLeft||l.scrollLeft||0}))},F={s:A,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:D,sc:M((function(t){return arguments.length?a.scrollTo(D.sc(),t):a.pageYOffset||o.scrollTop||h.scrollTop||l.scrollTop||0}))},I=function(t){return n.utils.toArray(t)[0]||("string"==typeof t&&!1!==n.config().nullTargetWarn?console.warn("Element not found:",t):null)},L=function(t,e){var i=e.s,r=e.sc,n=b.indexOf(t),s=r===F.sc?1:2;return!~n&&(n=b.push(t)-1),b[n+s]||(b[n+s]=M(S(t,i),!0)||(P(t)?r:M((function(e){return arguments.length?t[i]=e:t[i]}))))},B=function(t,e,i){var r=t,n=t,s=_(),a=s,o=e||50,h=Math.max(500,3*o),l=function(t,e){var h=_();e||h-s>o?(n=r,r=t,a=s,s=h):i?r+=t:r=n+(t-n)/(h-a)*(s-a)};return{update:l,reset:function(){n=r=i?0:r,a=s=0},getVelocity:function(t){var e=a,o=n,p=_();return(t||0===t)&&t!==r&&l(t),s===a||p-a>h?0:(r+(i?o:-o))/((i?p:s)-e)*1e3}}},R=function(t,e){return e&&!t._gsapAllow&&t.preventDefault(),t.changedTouches?t.changedTouches[0]:t},V=function(t){var e=Math.max.apply(Math,t),i=Math.min.apply(Math,t);return Math.abs(e)>=Math.abs(i)?e:i},O=function(){var t,e,i,r;(f=n.core.globals().ScrollTrigger)&&f.core&&(t=f.core,e=t.bridge||{},i=t._scrollers,r=t._proxies,i.push.apply(i,b),r.push.apply(r,x),b=i,x=r,E=function(t,i){return e[t](i)})},z=function(t){return(n=t||g())&&"undefined"!=typeof document&&document.body&&(a=window,o=document,h=o.documentElement,l=o.body,u=[a,o,h,l],n.utils.clamp,c="onpointerenter"in l?"pointer":"mouse",p=N.isTouch=a.matchMedia&&a.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in a||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,m=N.eventTypes=("ontouchstart"in h?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in h?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout((function(){return y=0}),500),O(),s=1),s};D.op=F,b.cache=0;var N=function(){function t(t){this.init(t)}var e,i,u;return t.prototype.init=function(t){s||z(n)||console.warn("Please gsap.registerPlugin(Observer)"),f||O();var e=t.tolerance,i=t.dragMinimum,r=t.type,u=t.target,g=t.lineHeight,y=t.debounce,b=t.preventDefault,x=t.onStop,E=t.onStopDelay,S=t.ignore,T=t.wheelSpeed,A=t.event,M=t.onDragStart,N=t.onDragEnd,G=t.onDrag,j=t.onPress,H=t.onRelease,W=t.onRight,q=t.onLeft,Y=t.onUp,X=t.onDown,$=t.onChangeX,U=t.onChangeY,J=t.onChange,Z=t.onToggleX,K=t.onToggleY,Q=t.onHover,tt=t.onHoverEnd,et=t.onMove,it=t.ignoreCheck,rt=t.isNormalizer,nt=t.onGestureStart,st=t.onGestureEnd,at=t.onWheel,ot=t.onEnable,ht=t.onDisable,lt=t.onClick,pt=t.scrollSpeed,ct=t.capture,ft=t.allowClicks,ut=t.lockAxis,dt=t.onLockAxis;this.target=u=I(u)||h,this.vars=t,S&&(S=n.utils.toArray(S)),e=e||0,i=i||0,T=T||1,pt=pt||1,r=r||"wheel,touch,pointer",y=!1!==y,g||(g=parseFloat(a.getComputedStyle(l).lineHeight)||22);var mt,gt,yt,vt,bt,xt,_t,Et=this,St=0,Pt=0,Ct=L(u,D),wt=L(u,F),Tt=Ct(),At=wt(),kt=~r.indexOf("touch")&&!~r.indexOf("pointer")&&"pointerdown"===m[0],Mt=P(u),Dt=u.ownerDocument||o,Ft=[0,0,0],It=[0,0,0],Lt=0,Bt=function(){return Lt=_()},Rt=function(t,e){return(Et.event=t)&&S&&~S.indexOf(t.target)||e&&kt&&"touch"!==t.pointerType||it&&it(t,e)},Vt=function(){var t=Et.deltaX=V(Ft),i=Et.deltaY=V(It),r=Math.abs(t)>=e,n=Math.abs(i)>=e;J&&(r||n)&&J(Et,t,i,Ft,It),r&&(W&&Et.deltaX>0&&W(Et),q&&Et.deltaX<0&&q(Et),$&&$(Et),Z&&Et.deltaX<0!=St<0&&Z(Et),St=Et.deltaX,Ft[0]=Ft[1]=Ft[2]=0),n&&(X&&Et.deltaY>0&&X(Et),Y&&Et.deltaY<0&&Y(Et),U&&U(Et),K&&Et.deltaY<0!=Pt<0&&K(Et),Pt=Et.deltaY,It[0]=It[1]=It[2]=0),(vt||yt)&&(et&&et(Et),dt&&xt&&dt(Et),yt&&(G(Et),yt=!1),vt=xt=!1),bt&&(at(Et),bt=!1),mt=0},Ot=function(t,e,i){Ft[i]+=t,It[i]+=e,Et._vx.update(t),Et._vy.update(e),y?mt||(mt=requestAnimationFrame(Vt)):Vt()},zt=function(t,e){"y"!==_t&&(Ft[2]+=t,Et._vx.update(t,!0)),"x"!==_t&&(It[2]+=e,Et._vy.update(e,!0)),ut&&!_t&&(Et.axis=_t=Math.abs(t)>Math.abs(e)?"x":"y",xt=!0),y?mt||(mt=requestAnimationFrame(Vt)):Vt()},Nt=function(t){if(!Rt(t,1)){var e=(t=R(t,b)).clientX,r=t.clientY,n=e-Et.x,s=r-Et.y,a=Et.isDragging;Et.x=e,Et.y=r,(a||Math.abs(Et.startX-e)>=i||Math.abs(Et.startY-r)>=i)&&(G&&(yt=!0),a||(Et.isDragging=!0),zt(n,s),a||M&&M(Et))}},Gt=Et.onPress=function(t){Rt(t,1)||(Et.axis=_t=null,gt.pause(),Et.isPressed=!0,t=R(t),St=Pt=0,Et.startX=Et.x=t.clientX,Et.startY=Et.y=t.clientY,Et._vx.reset(),Et._vy.reset(),C(rt?u:Dt,m[1],Nt,b,!0),Et.deltaX=Et.deltaY=0,j&&j(Et))},jt=function(t){if(!Rt(t,1)){w(rt?u:Dt,m[1],Nt,!0);var e=Et.isDragging&&(Math.abs(Et.x-Et.startX)>3||Math.abs(Et.y-Et.startY)>3),i=R(t);e||(Et._vx.reset(),Et._vy.reset(),b&&ft&&n.delayedCall(.08,(function(){if(_()-Lt>300&&!t.defaultPrevented)if(t.target.click)t.target.click();else if(Dt.createEvent){var e=Dt.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,a,1,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(e)}}))),Et.isDragging=Et.isGesturing=Et.isPressed=!1,x&&!rt&>.restart(!0),N&&e&&N(Et),H&&H(Et,e)}},Ht=function(t){return t.touches&&t.touches.length>1&&(Et.isGesturing=!0)&&nt(t,Et.isDragging)},Wt=function(){return(Et.isGesturing=!1)||st(Et)},qt=function(t){if(!Rt(t)){var e=Ct(),i=wt();Ot((e-Tt)*pt,(i-At)*pt,1),Tt=e,At=i,x&>.restart(!0)}},Yt=function(t){if(!Rt(t)){t=R(t,b),at&&(bt=!0);var e=(1===t.deltaMode?g:2===t.deltaMode?a.innerHeight:1)*T;Ot(t.deltaX*e,t.deltaY*e,0),x&&!rt&>.restart(!0)}},Xt=function(t){if(!Rt(t)){var e=t.clientX,i=t.clientY,r=e-Et.x,n=i-Et.y;Et.x=e,Et.y=i,vt=!0,(r||n)&&zt(r,n)}},$t=function(t){Et.event=t,Q(Et)},Ut=function(t){Et.event=t,tt(Et)},Jt=function(t){return Rt(t)||R(t,b)&<(Et)};gt=Et._dc=n.delayedCall(E||.25,(function(){Et._vx.reset(),Et._vy.reset(),gt.pause(),x&&x(Et)})).pause(),Et.deltaX=Et.deltaY=0,Et._vx=B(0,50,!0),Et._vy=B(0,50,!0),Et.scrollX=Ct,Et.scrollY=wt,Et.isDragging=Et.isGesturing=Et.isPressed=!1,Et.enable=function(t){return Et.isEnabled||(C(Mt?Dt:u,"scroll",k),r.indexOf("scroll")>=0&&C(Mt?Dt:u,"scroll",qt,b,ct),r.indexOf("wheel")>=0&&C(u,"wheel",Yt,b,ct),(r.indexOf("touch")>=0&&p||r.indexOf("pointer")>=0)&&(C(u,m[0],Gt,b,ct),C(Dt,m[2],jt),C(Dt,m[3],jt),ft&&C(u,"click",Bt,!1,!0),lt&&C(u,"click",Jt),nt&&C(Dt,"gesturestart",Ht),st&&C(Dt,"gestureend",Wt),Q&&C(u,c+"enter",$t),tt&&C(u,c+"leave",Ut),et&&C(u,c+"move",Xt)),Et.isEnabled=!0,t&&t.type&&Gt(t),ot&&ot(Et)),Et},Et.disable=function(){Et.isEnabled&&(v.filter((function(t){return t!==Et&&P(t.target)})).length||w(Mt?Dt:u,"scroll",k),Et.isPressed&&(Et._vx.reset(),Et._vy.reset(),w(rt?u:Dt,m[1],Nt,!0)),w(Mt?Dt:u,"scroll",qt,ct),w(u,"wheel",Yt,ct),w(u,m[0],Gt,ct),w(Dt,m[2],jt),w(Dt,m[3],jt),w(u,"click",Bt,!0),w(u,"click",Jt),w(Dt,"gesturestart",Ht),w(Dt,"gestureend",Wt),w(u,c+"enter",$t),w(u,c+"leave",Ut),w(u,c+"move",Xt),Et.isEnabled=Et.isPressed=Et.isDragging=!1,ht&&ht(Et))},Et.kill=function(){Et.disable();var t=v.indexOf(Et);t>=0&&v.splice(t,1),d===Et&&(d=0)},v.push(Et),rt&&P(u)&&(d=Et),Et.enable(A)},e=t,(i=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}])&&r(e.prototype,i),u&&r(e,u),t}();N.version="3.10.4",N.create=function(t){return new N(t)},N.register=z,N.getAll=function(){return v.slice()},N.getById=function(t){return v.filter((function(e){return e.vars.id===t}))[0]},g()&&n.registerPlugin(N);var G,j,H,W,q,Y,X,$,U,J,Z,K,Q,tt,et,it,rt,nt,st,at,ot,ht,lt,pt,ct,ft,ut,dt,mt,gt,yt,vt,bt,xt=1,_t=Date.now,Et=_t(),St=0,Pt=0,Ct=function(){return tt=1},wt=function(){return tt=0},Tt=function(t){return t},At=function(t){return Math.round(1e5*t)/1e5||0},kt=function(){return"undefined"!=typeof window},Mt=function(){return G||kt()&&(G=window.gsap)&&G.registerPlugin&&G},Dt=function(t){return!!~X.indexOf(t)},Ft=function(t){return S(t,"getBoundingClientRect")||(Dt(t)?function(){return je.width=H.innerWidth,je.height=H.innerHeight,je}:function(){return ee(t)})},It=function(t,e){var i=e.s,r=e.d2,n=e.d,s=e.a;return(i="scroll"+r)&&(s=S(t,i))?s()-Ft(t)()[n]:Dt(t)?(q[i]||Y[i])-(H["inner"+r]||q["client"+r]||Y["client"+r]):t[i]-t["offset"+r]},Lt=function(t,e){for(var i=0;i<st.length;i+=3)(!e||~e.indexOf(st[i+1]))&&t(st[i],st[i+1],st[i+2])},Bt=function(t){return"string"==typeof t},Rt=function(t){return"function"==typeof t},Vt=function(t){return"number"==typeof t},Ot=function(t){return"object"==typeof t},zt=function(t){return Rt(t)&&t()},Nt=function(t,e){return function(){var i=zt(t),r=zt(e);return function(){zt(i),zt(r)}}},Gt=function(t,e,i){return t&&t.progress(e?0:1)&&i&&t.pause()},jt=function(t,e){if(t.enabled){var i=e(t);i&&i.totalTime&&(t.callbackAnimation=i)}},Ht=Math.abs,Wt="left",qt="right",Yt="bottom",Xt="width",$t="height",Ut="padding",Jt="margin",Zt="Width",Kt="px",Qt=function(t){return H.getComputedStyle(t)},te=function(t,e){for(var i in e)i in t||(t[i]=e[i]);return t},ee=function(t,e){var i=e&&"matrix(1, 0, 0, 1, 0, 0)"!==Qt(t)[et]&&G.to(t,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),r=t.getBoundingClientRect();return i&&i.progress(0).kill(),r},ie=function(t,e){var i=e.d2;return t["offset"+i]||t["client"+i]||0},re=function(t){var e,i=[],r=t.labels,n=t.duration();for(e in r)i.push(r[e]/n);return i},ne=function(t){var e=G.utils.snap(t),i=Array.isArray(t)&&t.slice(0).sort((function(t,e){return t-e}));return i?function(t,r,n){var s;if(void 0===n&&(n=.001),!r)return e(t);if(r>0){for(t-=n,s=0;s<i.length;s++)if(i[s]>=t)return i[s];return i[s-1]}for(s=i.length,t+=n;s--;)if(i[s]<=t)return i[s];return i[0]}:function(i,r,n){void 0===n&&(n=.001);var s=e(i);return!r||Math.abs(s-i)<n||s-i<0==r<0?s:e(r<0?i-t:i+t)}},se=function(t,e,i,r){return i.split(",").forEach((function(i){return t(e,i,r)}))},ae=function(t,e,i,r,n){return t.addEventListener(e,i,{passive:!r,capture:!!n})},oe=function(t,e,i,r){return t.removeEventListener(e,i,!!r)},he=function(t,e,i){return i&&i.wheelHandler&&t(e,"wheel",i)},le={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},pe={toggleActions:"play",anticipatePin:0},ce={top:0,left:0,center:.5,bottom:1,right:1},fe=function(t,e){if(Bt(t)){var i=t.indexOf("="),r=~i?+(t.charAt(i-1)+1)*parseFloat(t.substr(i+1)):0;~i&&(t.indexOf("%")>i&&(r*=e/100),t=t.substr(0,i-1)),t=r+(t in ce?ce[t]*e:~t.indexOf("%")?parseFloat(t)*e/100:parseFloat(t)||0)}return t},ue=function(t,e,i,r,n,s,a,o){var h=n.startColor,l=n.endColor,p=n.fontSize,c=n.indent,f=n.fontWeight,u=W.createElement("div"),d=Dt(i)||"fixed"===S(i,"pinType"),m=-1!==t.indexOf("scroller"),g=d?Y:i,y=-1!==t.indexOf("start"),v=y?h:l,b="border-color:"+v+";font-size:"+p+";color:"+v+";font-weight:"+f+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return b+="position:"+((m||o)&&d?"fixed;":"absolute;"),(m||o||!d)&&(b+=(r===F?qt:Yt)+":"+(s+parseFloat(c))+"px;"),a&&(b+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),u._isStart=y,u.setAttribute("class","gsap-marker-"+t+(e?" marker-"+e:"")),u.style.cssText=b,u.innerText=e||0===e?t+"-"+e:t,g.children[0]?g.insertBefore(u,g.children[0]):g.appendChild(u),u._offset=u["offset"+r.op.d2],de(u,0,r,y),u},de=function(t,e,i,r){var n={display:"block"},s=i[r?"os2":"p2"],a=i[r?"p2":"os2"];t._isFlipped=r,n[i.a+"Percent"]=r?-100:0,n[i.a]=r?"1px":0,n["border"+s+Zt]=1,n["border"+a+Zt]=0,n[i.p]=e+"px",G.set(t,n)},me=[],ge={},ye=function(){return _t()-St>34&&Be()},ve=function(){(!lt||!lt.isPressed||lt.startX>Y.clientWidth)&&(b.cache++,mt||(mt=requestAnimationFrame(Be)),St||we("scrollStart"),St=_t())},be=function(){ft=H.innerWidth,ct=H.innerHeight},xe=function(){b.cache++,!Q&&!ht&&!W.fullscreenElement&&!W.webkitFullscreenElement&&(!pt||ft!==H.innerWidth||Math.abs(H.innerHeight-ct)>.25*H.innerHeight)&&$.restart(!0)},_e={},Ee=[],Se=[],Pe=function(t){var e,i=G.ticker.frame,r=[],n=0;if(yt!==i||xt){for(ke();n<Se.length;n+=4)(e=H.matchMedia(Se[n]).matches)!==Se[n+3]&&(Se[n+3]=e,e?r.push(n):ke(1,Se[n])||Rt(Se[n+2])&&Se[n+2]());for(Ae(),n=0;n<r.length;n++)e=r[n],gt=Se[e],Se[e+2]=Se[e+1](t);gt=0,j&&Fe(0,1),yt=i,we("matchMedia")}},Ce=function t(){return oe(Xe,"scrollEnd",t)||Fe(!0)},we=function(t){return _e[t]&&_e[t].map((function(t){return t()}))||Ee},Te=[],Ae=function(t){for(var e=0;e<Te.length;e+=5)t&&Te[e+4]!==t||(Te[e].style.cssText=Te[e+1],Te[e].getBBox&&Te[e].setAttribute("transform",Te[e+2]||""),Te[e+3].uncache=1)},ke=function(t,e){var i;for(it=0;it<me.length;it++)i=me[it],e&&i.media!==e||(t?i.kill(1):i.revert());e&&Ae(e),e||we("revert")},Me=function(){return b.cache++&&b.forEach((function(t){return"function"==typeof t&&(t.rec=0)}))},De=0,Fe=function(t,e){if(!St||t){vt=!0;var i=we("refreshInit");at&&Xe.sort(),e||ke(),me.slice(0).forEach((function(t){return t.refresh()})),me.forEach((function(t){return"max"===t.vars.end&&t.setPositions(t.start,It(t.scroller,t._dir))})),i.forEach((function(t){return t&&t.render&&t.render(-1)})),Me(),$.pause(),De++,vt=!1,we("refresh")}else ae(Xe,"scrollEnd",Ce)},Ie=0,Le=1,Be=function(){if(!vt){Xe.isUpdating=!0,bt&&bt.update(0);var t=me.length,e=_t(),i=e-Et>=50,r=t&&me[0].scroll();if(Le=Ie>r?-1:1,Ie=r,i&&(St&&!tt&&e-St>200&&(St=0,we("scrollEnd")),Z=Et,Et=e),Le<0){for(it=t;it-- >0;)me[it]&&me[it].update(0,i);Le=1}else for(it=0;it<t;it++)me[it]&&me[it].update(0,i);Xe.isUpdating=!1}mt=0},Re=[Wt,"top",Yt,qt,"marginBottom","marginRight","marginTop","marginLeft","display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],Ve=Re.concat([Xt,$t,"boxSizing","maxWidth","maxHeight","position",Jt,Ut,"paddingTop","paddingRight","paddingBottom","paddingLeft"]),Oe=function(t,e,i,r){if(t.parentNode!==e){for(var n,s=Re.length,a=e.style,o=t.style;s--;)a[n=Re[s]]=i[n];a.position="absolute"===i.position?"absolute":"relative","inline"===i.display&&(a.display="inline-block"),o.bottom=o.right=a.flexBasis="auto",a.overflow="visible",a.boxSizing="border-box",a.width=ie(t,D)+Kt,a.height=ie(t,F)+Kt,a.padding=o.margin=o.top=o.left="0",Ne(r),o.width=o.maxWidth=i.width,o.height=o.maxHeight=i.height,o.padding=i.padding,t.parentNode.insertBefore(e,t),e.appendChild(t)}},ze=/([A-Z])/g,Ne=function(t){if(t){var e,i,r=t.t.style,n=t.length,s=0;for((t.t._gsap||G.core.getCache(t.t)).uncache=1;s<n;s+=2)i=t[s+1],e=t[s],i?r[e]=i:r[e]&&r.removeProperty(e.replace(ze,"-$1").toLowerCase())}},Ge=function(t){for(var e=Ve.length,i=t.style,r=[],n=0;n<e;n++)r.push(Ve[n],i[Ve[n]]);return r.t=t,r},je={left:0,top:0},He=function(t,e,i,r,n,s,a,o,h,l,p,c,f){Rt(t)&&(t=t(o)),Bt(t)&&"max"===t.substr(0,3)&&(t=c+("="===t.charAt(4)?fe("0"+t.substr(3),i):0));var u,d,m,g=f?f.time():0;if(f&&f.seek(0),Vt(t))a&&de(a,i,r,!0);else{Rt(e)&&(e=e(o));var y,v,b,x,_=t.split(" ");m=I(e)||Y,(y=ee(m)||{})&&(y.left||y.top)||"none"!==Qt(m).display||(x=m.style.display,m.style.display="block",y=ee(m),x?m.style.display=x:m.style.removeProperty("display")),v=fe(_[0],y[r.d]),b=fe(_[1]||"0",i),t=y[r.p]-h[r.p]-l+v+n-b,a&&de(a,b,r,i-b<20||a._isStart&&b>20),i-=i-b}if(s){var E=t+i,S=s._isStart;u="scroll"+r.d2,de(s,E,r,S&&E>20||!S&&(p?Math.max(Y[u],q[u]):s.parentNode[u])<=E+1),p&&(h=ee(a),p&&(s.style[r.op.p]=h[r.op.p]-r.op.m-s._offset+Kt))}return f&&m&&(u=ee(m),f.seek(c),d=ee(m),f._caScrollDist=u[r.p]-d[r.p],t=t/f._caScrollDist*c),f&&f.seek(g),f?t:Math.round(t)},We=/(webkit|moz|length|cssText|inset)/i,qe=function(t,e,i,r){if(t.parentNode!==e){var n,s,a=t.style;if(e===Y){for(n in t._stOrig=a.cssText,s=Qt(t))+n||We.test(n)||!s[n]||"string"!=typeof a[n]||"0"===n||(a[n]=s[n]);a.top=i,a.left=r}else a.cssText=t._stOrig;G.core.getCache(t).uncache=1,e.appendChild(t)}},Ye=function(t,e){var i,r,n=L(t,e),s="_scroll"+e.p2,a=function e(a,o,h,l,p){var c=e.tween,f=o.onComplete,u={};return h=h||n(),p=l&&p||0,l=l||a-h,c&&c.kill(),i=Math.round(h),o[s]=a,o.modifiers=u,u[s]=function(t){return(t=At(n()))!==i&&t!==r&&Math.abs(t-i)>2&&Math.abs(t-r)>2?(c.kill(),e.tween=0):t=h+l*c.ratio+p*c.ratio*c.ratio,r=i,i=At(t)},o.onComplete=function(){e.tween=0,f&&f.call(c)},c=e.tween=G.to(t,o)};return t[s]=n,n.wheelHandler=function(){return a.tween&&a.tween.kill()&&(a.tween=0)},ae(t,"wheel",n.wheelHandler),a},Xe=function(){function t(e,i){j||t.register(G)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),this.init(e,i)}return t.prototype.init=function(e,i){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),Pt){var r,n,s,a,o,h,l,p,c,f,u,d,m,g,y,v,b,_,E,P,C,w,T,A,k,M,B,R,V,O,z,N,j,X,$,K,et,rt,nt,st,ht,lt=e=te(Bt(e)||Vt(e)||e.nodeType?{trigger:e}:e,pe),pt=lt.onUpdate,ct=lt.toggleClass,ft=lt.id,ut=lt.onToggle,mt=lt.onRefresh,yt=lt.scrub,Et=lt.trigger,Ct=lt.pin,wt=lt.pinSpacing,kt=lt.invalidateOnRefresh,Mt=lt.anticipatePin,Lt=lt.onScrubComplete,zt=lt.onSnapComplete,Nt=lt.once,Wt=lt.snap,qt=lt.pinReparent,Yt=lt.pinSpacer,Xt=lt.containerAnimation,$t=lt.fastScrollEnd,se=lt.preventOverlaps,he=e.horizontal||e.containerAnimation&&!1!==e.horizontal?D:F,ce=!yt&&0!==yt,de=I(e.scroller||H),ye=G.core.getCache(de),be=Dt(de),_e="fixed"===("pinType"in e?e.pinType:S(de,"pinType")||be&&"fixed"),Ee=[e.onEnter,e.onLeave,e.onEnterBack,e.onLeaveBack],Se=ce&&e.toggleActions.split(" "),Pe="markers"in e?e.markers:pe.markers,we=be?0:parseFloat(Qt(de)["border"+he.p2+Zt])||0,Te=this,Ae=e.onRefreshInit&&function(){return e.onRefreshInit(Te)},ke=function(t,e,i){var r=i.d,n=i.d2,s=i.a;return(s=S(t,"getBoundingClientRect"))?function(){return s()[r]}:function(){return(e?H["inner"+n]:t["client"+n])||0}}(de,be,he),Me=function(t,e){return!e||~x.indexOf(t)?Ft(t):function(){return je}}(de,be),De=0,Fe=0,Ie=L(de,he);if(Te.media=gt,Te._dir=he,Mt*=45,Te.scroller=de,Te.scroll=Xt?Xt.time.bind(Xt):Ie,a=Ie(),Te.vars=e,i=i||e.animation,"refreshPriority"in e&&(at=1,-9999===e.refreshPriority&&(bt=Te)),ye.tweenScroll=ye.tweenScroll||{top:Ye(de,F),left:Ye(de,D)},Te.tweenTo=r=ye.tweenScroll[he.p],Te.scrubDuration=function(t){(z=Vt(t)&&t)?O?O.duration(t):O=G.to(i,{ease:"expo",totalProgress:"+=0.001",duration:z,paused:!0,onComplete:function(){return Lt&&Lt(Te)}}):(O&&O.progress(1).kill(),O=0)},i&&(i.vars.lazy=!1,i._initted||!1!==i.vars.immediateRender&&!1!==e.immediateRender&&i.render(0,!0,!0),Te.animation=i.pause(),i.scrollTrigger=Te,Te.scrubDuration(yt),R=0,ft||(ft=i.vars.id)),me.push(Te),Wt&&(Ot(Wt)&&!Wt.push||(Wt={snapTo:Wt}),"scrollBehavior"in Y.style&&G.set(be?[Y,q]:de,{scrollBehavior:"auto"}),s=Rt(Wt.snapTo)?Wt.snapTo:"labels"===Wt.snapTo?function(t){return function(e){return G.utils.snap(re(t),e)}}(i):"labelsDirectional"===Wt.snapTo?(nt=i,function(t,e){return ne(re(nt))(t,e.direction)}):!1!==Wt.directional?function(t,e){return ne(Wt.snapTo)(t,_t()-Fe<500?0:e.direction)}:G.utils.snap(Wt.snapTo),N=Wt.duration||{min:.1,max:2},N=Ot(N)?J(N.min,N.max):J(N,N),j=G.delayedCall(Wt.delay||z/2||.1,(function(){var t=Ie(),e=_t()-Fe<500,n=r.tween;if(!(e||Math.abs(Te.getVelocity())<10)||n||tt||De===t)Te.isActive&&De!==t&&j.restart(!0);else{var a=(t-h)/m,o=i&&!ce?i.totalProgress():a,p=e?0:(o-V)/(_t()-Z)*1e3||0,c=G.utils.clamp(-a,1-a,Ht(p/2)*p/.185),f=a+(!1===Wt.inertia?0:c),u=J(0,1,s(f,Te)),d=Math.round(h+u*m),g=Wt,y=g.onStart,v=g.onInterrupt,b=g.onComplete;if(t<=l&&t>=h&&d!==t){if(n&&!n._initted&&n.data<=Ht(d-t))return;!1===Wt.inertia&&(c=u-a),r(d,{duration:N(Ht(.185*Math.max(Ht(f-o),Ht(u-o))/p/.05||0)),ease:Wt.ease||"power3",data:Ht(d-t),onInterrupt:function(){return j.restart(!0)&&v&&v(Te)},onComplete:function(){Te.update(),De=Ie(),R=V=i&&!ce?i.totalProgress():Te.progress,zt&&zt(Te),b&&b(Te)}},t,c*m,d-t-c*m),y&&y(Te,r.tween)}}})).pause()),ft&&(ge[ft]=Te),(rt=(Et=Te.trigger=I(Et||Ct))&&Et._gsap&&Et._gsap.stRevert)&&(rt=rt(Te)),Ct=!0===Ct?Et:I(Ct),Bt(ct)&&(ct={targets:Et,className:ct}),Ct&&(!1===wt||wt===Jt||(wt=!(!wt&&"flex"===Qt(Ct.parentNode).display)&&Ut),Te.pin=Ct,!1!==e.force3D&&G.set(Ct,{force3D:!0}),(n=G.core.getCache(Ct)).spacer?g=n.pinState:(Yt&&((Yt=I(Yt))&&!Yt.nodeType&&(Yt=Yt.current||Yt.nativeElement),n.spacerIsNative=!!Yt,Yt&&(n.spacerState=Ge(Yt))),n.spacer=b=Yt||W.createElement("div"),b.classList.add("pin-spacer"),ft&&b.classList.add("pin-spacer-"+ft),n.pinState=g=Ge(Ct)),Te.spacer=b=n.spacer,B=Qt(Ct),T=B[wt+he.os2],E=G.getProperty(Ct),P=G.quickSetter(Ct,he.a,Kt),Oe(Ct,b,B),v=Ge(Ct)),Pe){d=Ot(Pe)?te(Pe,le):le,f=ue("scroller-start",ft,de,he,d,0),u=ue("scroller-end",ft,de,he,d,0,f),_=f["offset"+he.op.d2];var Be=I(S(de,"content")||de);p=this.markerStart=ue("start",ft,Be,he,d,_,0,Xt),c=this.markerEnd=ue("end",ft,Be,he,d,_,0,Xt),Xt&&(et=G.quickSetter([p,c],he.a,Kt)),_e||x.length&&!0===S(de,"fixedMarkers")||(ht=Qt(st=be?Y:de).position,st.style.position="absolute"===ht||"fixed"===ht?ht:"relative",G.set([f,u],{force3D:!0}),k=G.quickSetter(f,he.a,Kt),M=G.quickSetter(u,he.a,Kt))}if(Xt){var Re=Xt.vars.onUpdate,Ve=Xt.vars.onUpdateParams;Xt.eventCallback("onUpdate",(function(){Te.update(0,0,1),Re&&Re.apply(Ve||[])}))}Te.previous=function(){return me[me.indexOf(Te)-1]},Te.next=function(){return me[me.indexOf(Te)+1]},Te.revert=function(t){var e=!1!==t||!Te.enabled,r=Q;e!==Te.isReverted&&(e&&(Te.scroll.rec||!Q||!vt||(Te.scroll.rec=Ie()),$=Math.max(Ie(),Te.scroll.rec||0),X=Te.progress,K=i&&i.progress()),p&&[p,c,f,u].forEach((function(t){return t.style.display=e?"none":"block"})),e&&(Q=1),Te.update(e),Q=r,Ct&&(e?function(t,e,i){Ne(i);var r=t._gsap;if(r.spacerIsNative)Ne(r.spacerState);else if(t.parentNode===e){var n=e.parentNode;n&&(n.insertBefore(t,e),n.removeChild(e))}}(Ct,b,g):(!qt||!Te.isActive)&&Oe(Ct,b,Qt(Ct),A)),Te.isReverted=e)},Te.refresh=function(n,s){if(!Q&&Te.enabled||s)if(Ct&&n&&St)ae(t,"scrollEnd",Ce);else{!vt&&Ae&&Ae(Te),Q=1,Fe=_t(),r.tween&&(r.tween.kill(),r.tween=0),O&&O.pause(),kt&&i&&i.time(-.01,!0).invalidate(),Te.isReverted||Te.revert();for(var d,x,_,S,P,T,k,M,B,R,V=ke(),z=Me(),N=Xt?Xt.duration():It(de,he),H=0,W=0,q=e.end,U=e.endTrigger||Et,J=e.start||(0!==e.start&&Et?Ct?"0 0":"0 100%":0),Z=Te.pinnedContainer=e.pinnedContainer&&I(e.pinnedContainer),tt=Et&&Math.max(0,me.indexOf(Te))||0,et=tt;et--;)(T=me[et]).end||T.refresh(0,1)||(Q=1),!(k=T.pin)||k!==Et&&k!==Ct||T.isReverted||(R||(R=[]),R.unshift(T),T.revert()),T!==me[et]&&(tt--,et--);for(Rt(J)&&(J=J(Te)),h=He(J,Et,V,he,Ie(),p,f,Te,z,we,_e,N,Xt)||(Ct?-.001:0),Rt(q)&&(q=q(Te)),Bt(q)&&!q.indexOf("+=")&&(~q.indexOf(" ")?q=(Bt(J)?J.split(" ")[0]:"")+q:(H=fe(q.substr(2),V),q=Bt(J)?J:h+H,U=Et)),l=Math.max(h,He(q||(U?"100% 0":N),U,V,he,Ie()+H,c,u,Te,z,we,_e,N,Xt))||-.001,m=l-h||(h-=.01)&&.001,H=0,et=tt;et--;)(k=(T=me[et]).pin)&&T.start-T._pinPush<h&&!Xt&&T.end>0&&(d=T.end-T.start,k!==Et&&k!==Z||Vt(J)||(H+=d*(1-T.progress)),k===Ct&&(W+=d));if(h+=H,l+=H,Te._pinPush=W,p&&H&&((d={})[he.a]="+="+H,Z&&(d[he.p]="-="+Ie()),G.set([p,c],d)),Ct)d=Qt(Ct),S=he===F,_=Ie(),C=parseFloat(E(he.a))+W,!N&&l>1&&((be?Y:de).style["overflow-"+he.a]="scroll"),Oe(Ct,b,d),v=Ge(Ct),x=ee(Ct,!0),M=_e&&L(de,S?D:F)(),wt&&((A=[wt+he.os2,m+W+Kt]).t=b,(et=wt===Ut?ie(Ct,he)+m+W:0)&&A.push(he.d,et+Kt),Ne(A),_e&&Ie($)),_e&&((P={top:x.top+(S?_-h:M)+Kt,left:x.left+(S?M:_-h)+Kt,boxSizing:"border-box",position:"fixed"}).width=P.maxWidth=Math.ceil(x.width)+Kt,P.height=P.maxHeight=Math.ceil(x.height)+Kt,P.margin=P.marginTop=P.marginRight=P.marginBottom=P.marginLeft="0",P.padding=d.padding,P.paddingTop=d.paddingTop,P.paddingRight=d.paddingRight,P.paddingBottom=d.paddingBottom,P.paddingLeft=d.paddingLeft,y=function(t,e,i){for(var r,n=[],s=t.length,a=i?8:0;a<s;a+=2)r=t[a],n.push(r,r in e?e[r]:t[a+1]);return n.t=t.t,n}(g,P,qt)),i?(B=i._initted,ot(1),i.render(i.duration(),!0,!0),w=E(he.a)-C+m+W,m!==w&&_e&&y.splice(y.length-2,2),i.render(0,!0,!0),B||i.invalidate(),ot(0)):w=m;else if(Et&&Ie()&&!Xt)for(x=Et.parentNode;x&&x!==Y;)x._pinOffset&&(h-=x._pinOffset,l-=x._pinOffset),x=x.parentNode;R&&R.forEach((function(t){return t.revert(!1)})),Te.start=h,Te.end=l,a=o=Ie(),Xt||(a<$&&Ie($),Te.scroll.rec=0),Te.revert(!1),j&&(De=-1,Te.isActive&&Ie(h+m*X),j.restart(!0)),Q=0,i&&ce&&(i._initted||K)&&i.progress()!==K&&i.progress(K,!0).render(i.time(),!0,!0),(X!==Te.progress||Xt)&&(i&&!ce&&i.totalProgress(X,!0),Te.progress=X,Te.update(0,0,1)),Ct&&wt&&(b._pinOffset=Math.round(Te.progress*w)),mt&&mt(Te)}},Te.getVelocity=function(){return(Ie()-o)/(_t()-Z)*1e3||0},Te.endAnimation=function(){Gt(Te.callbackAnimation),i&&(O?O.progress(1):i.paused()?ce||Gt(i,Te.direction<0,1):Gt(i,i.reversed()))},Te.labelToScroll=function(t){return i&&i.labels&&(h||Te.refresh()||h)+i.labels[t]/i.duration()*m||0},Te.getTrailing=function(t){var e=me.indexOf(Te),i=Te.direction>0?me.slice(0,e).reverse():me.slice(e+1);return(Bt(t)?i.filter((function(e){return e.vars.preventOverlaps===t})):i).filter((function(t){return Te.direction>0?t.end<=h:t.start>=l}))},Te.update=function(t,e,n){if(!Xt||n||t){var s,p,c,u,d,g,x,_=Te.scroll(),E=t?0:(_-h)/m,S=E<0?0:E>1?1:E||0,A=Te.progress;if(e&&(o=a,a=Xt?Ie():_,Wt&&(V=R,R=i&&!ce?i.totalProgress():S)),Mt&&!S&&Ct&&!Q&&!xt&&St&&h<_+(_-o)/(_t()-Z)*Mt&&(S=1e-4),S!==A&&Te.enabled){if(u=(d=(s=Te.isActive=!!S&&S<1)!==(!!A&&A<1))||!!S!=!!A,Te.direction=S>A?1:-1,Te.progress=S,u&&!Q&&(p=S&&!A?0:1===S?1:1===A?2:3,ce&&(c=!d&&"none"!==Se[p+1]&&Se[p+1]||Se[p],x=i&&("complete"===c||"reset"===c||c in i))),se&&(d||x)&&(x||yt||!i)&&(Rt(se)?se(Te):Te.getTrailing(se).forEach((function(t){return t.endAnimation()}))),ce||(!O||Q||xt?i&&i.totalProgress(S,!!Q):((Xt||bt&&bt!==Te)&&O.render(O._dp._time-O._start),O.resetTo?O.resetTo("totalProgress",S,i._tTime/i._tDur):(O.vars.totalProgress=S,O.invalidate().restart()))),Ct)if(t&&wt&&(b.style[wt+he.os2]=T),_e){if(u){if(g=!t&&S>A&&l+1>_&&_+1>=It(de,he),qt)if(t||!s&&!g)qe(Ct,b);else{var D=ee(Ct,!0),I=_-h;qe(Ct,Y,D.top+(he===F?I:0)+Kt,D.left+(he===F?0:I)+Kt)}Ne(s||g?y:v),w!==m&&S<1&&s||P(C+(1!==S||g?0:w))}}else P(At(C+w*S));Wt&&!r.tween&&!Q&&!xt&&j.restart(!0),ct&&(d||Nt&&S&&(S<1||!dt))&&U(ct.targets).forEach((function(t){return t.classList[s||Nt?"add":"remove"](ct.className)})),pt&&!ce&&!t&&pt(Te),u&&!Q?(ce&&(x&&("complete"===c?i.pause().totalProgress(1):"reset"===c?i.restart(!0).pause():"restart"===c?i.restart(!0):i[c]()),pt&&pt(Te)),!d&&dt||(ut&&d&&jt(Te,ut),Ee[p]&&jt(Te,Ee[p]),Nt&&(1===S?Te.kill(!1,1):Ee[p]=0),d||Ee[p=1===S?1:3]&&jt(Te,Ee[p])),$t&&!s&&Math.abs(Te.getVelocity())>(Vt($t)?$t:2500)&&(Gt(Te.callbackAnimation),O?O.progress(1):Gt(i,!S,1))):ce&&pt&&!Q&&pt(Te)}if(M){var L=Xt?_/Xt.duration()*(Xt._caScrollDist||0):_;k(L+(f._isFlipped?1:0)),M(L)}et&&et(-_/Xt.duration()*(Xt._caScrollDist||0))}},Te.enable=function(e,i){Te.enabled||(Te.enabled=!0,ae(de,"resize",xe),ae(be?W:de,"scroll",ve),Ae&&ae(t,"refreshInit",Ae),!1!==e&&(Te.progress=X=0,a=o=De=Ie()),!1!==i&&Te.refresh())},Te.getTween=function(t){return t&&r?r.tween:O},Te.setPositions=function(t,e){Ct&&(C+=t-h,w+=e-t-m),Te.start=h=t,Te.end=l=e,m=e-t,Te.update()},Te.disable=function(e,i){if(Te.enabled&&(!1!==e&&Te.revert(),Te.enabled=Te.isActive=!1,i||O&&O.pause(),$=0,n&&(n.uncache=1),Ae&&oe(t,"refreshInit",Ae),j&&(j.pause(),r.tween&&r.tween.kill()&&(r.tween=0)),!be)){for(var s=me.length;s--;)if(me[s].scroller===de&&me[s]!==Te)return;oe(de,"resize",xe),oe(de,"scroll",ve)}},Te.kill=function(t,r){Te.disable(t,r),O&&!r&&O.kill(),ft&&delete ge[ft];var s=me.indexOf(Te);s>=0&&me.splice(s,1),s===it&&Le>0&&it--,s=0,me.forEach((function(t){return t.scroller===Te.scroller&&(s=1)})),s||(Te.scroll.rec=0),i&&(i.scrollTrigger=null,t&&i.render(-1),r||i.kill()),p&&[p,c,f,u].forEach((function(t){return t.parentNode&&t.parentNode.removeChild(t)})),bt===Te&&(bt=0),Ct&&(n&&(n.uncache=1),s=0,me.forEach((function(t){return t.pin===Ct&&s++})),s||(n.spacer=0)),e.onKill&&e.onKill(Te)},Te.enable(!1,!1),rt&&rt(Te),i&&i.add&&!m?G.delayedCall(.01,(function(){return h||l||Te.refresh()}))&&(m=.01)&&(h=l=0):Te.refresh()}else this.update=this.refresh=this.kill=Tt},t.register=function(e){return j||(G=e||Mt(),kt()&&window.document&&t.enable(),j=Pt),j},t.defaults=function(t){if(t)for(var e in t)pe[e]=t[e];return pe},t.disable=function(t,e){Pt=0,me.forEach((function(i){return i[e?"kill":"disable"](t)})),oe(H,"wheel",ve),oe(W,"scroll",ve),clearInterval(K),oe(W,"touchcancel",Tt),oe(Y,"touchstart",Tt),se(oe,W,"pointerdown,touchstart,mousedown",Ct),se(oe,W,"pointerup,touchend,mouseup",wt),$.kill(),Lt(oe);for(var i=0;i<b.length;i+=3)he(oe,b[i],b[i+1]),he(oe,b[i],b[i+2])},t.enable=function(){if(H=window,W=document,q=W.documentElement,Y=W.body,G&&(U=G.utils.toArray,J=G.utils.clamp,ot=G.core.suppressOverwrites||Tt,G.core.globals("ScrollTrigger",t),Y)){Pt=1,N.register(G),t.isTouch=N.isTouch,ut=N.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),ae(H,"wheel",ve),X=[H,W,q,Y],t.matchMedia({"(orientation: portrait)":function(){return be(),be}}),ae(W,"scroll",ve);var e,i,r=Y.style,n=r.borderTopStyle;for(r.borderTopStyle="solid",e=ee(Y),F.m=Math.round(e.top+F.sc())||0,D.m=Math.round(e.left+D.sc())||0,n?r.borderTopStyle=n:r.removeProperty("border-top-style"),K=setInterval(ye,250),G.delayedCall(.5,(function(){return xt=0})),ae(W,"touchcancel",Tt),ae(Y,"touchstart",Tt),se(ae,W,"pointerdown,touchstart,mousedown",Ct),se(ae,W,"pointerup,touchend,mouseup",wt),et=G.utils.checkPrefix("transform"),Ve.push(et),j=_t(),$=G.delayedCall(.2,Fe).pause(),st=[W,"visibilitychange",function(){var t=H.innerWidth,e=H.innerHeight;W.hidden?(rt=t,nt=e):rt===t&&nt===e||xe()},W,"DOMContentLoaded",Fe,H,"load",Fe,H,"resize",xe],Lt(ae),me.forEach((function(t){return t.enable(0,1)})),i=0;i<b.length;i+=3)he(oe,b[i],b[i+1]),he(oe,b[i],b[i+2])}},t.config=function(e){"limitCallbacks"in e&&(dt=!!e.limitCallbacks);var i=e.syncInterval;i&&clearInterval(K)||(K=i)&&setInterval(ye,i),"ignoreMobileResize"in e&&(pt=1===t.isTouch&&e.ignoreMobileResize),"autoRefreshEvents"in e&&(Lt(oe)||Lt(ae,e.autoRefreshEvents||"none"),ht=-1===(e.autoRefreshEvents+"").indexOf("resize"))},t.scrollerProxy=function(t,e){var i=I(t),r=b.indexOf(i),n=Dt(i);~r&&b.splice(r,n?6:2),e&&(n?x.unshift(H,e,Y,e,q,e):x.unshift(i,e))},t.matchMedia=function(t){var e,i,r,n,s;for(i in t)r=Se.indexOf(i),n=t[i],gt=i,"all"===i?n():(e=H.matchMedia(i))&&(e.matches&&(s=n()),~r?(Se[r+1]=Nt(Se[r+1],n),Se[r+2]=Nt(Se[r+2],s)):(r=Se.length,Se.push(i,n,s),e.addListener?e.addListener(Pe):e.addEventListener("change",Pe)),Se[r+3]=e.matches),gt=0;return Se},t.clearMatchMedia=function(t){t||(Se.length=0),(t=Se.indexOf(t))>=0&&Se.splice(t,4)},t.isInViewport=function(t,e,i){var r=(Bt(t)?I(t):t).getBoundingClientRect(),n=r[i?Xt:$t]*e||0;return i?r.right-n>0&&r.left+n<H.innerWidth:r.bottom-n>0&&r.top+n<H.innerHeight},t.positionInViewport=function(t,e,i){Bt(t)&&(t=I(t));var r=t.getBoundingClientRect(),n=r[i?Xt:$t],s=null==e?n/2:e in ce?ce[e]*n:~e.indexOf("%")?parseFloat(e)*n/100:parseFloat(e)||0;return i?(r.left+s)/H.innerWidth:(r.top+s)/H.innerHeight},t}();Xe.version="3.10.4",Xe.saveStyles=function(t){return t?U(t).forEach((function(t){if(t&&t.style){var e=Te.indexOf(t);e>=0&&Te.splice(e,5),Te.push(t,t.style.cssText,t.getBBox&&t.getAttribute("transform"),G.core.getCache(t),gt)}})):Te},Xe.revert=function(t,e){return ke(!t,e)},Xe.create=function(t,e){return new Xe(t,e)},Xe.refresh=function(t){return t?xe():(j||Xe.register())&&Fe(!0)},Xe.update=Be,Xe.clearScrollMemory=Me,Xe.maxScroll=function(t,e){return It(t,e?D:F)},Xe.getScrollFunc=function(t,e){return L(I(t),e?D:F)},Xe.getById=function(t){return ge[t]},Xe.getAll=function(){return me.filter((function(t){return"ScrollSmoother"!==t.vars.id}))},Xe.isScrolling=function(){return!!St},Xe.snapDirectional=ne,Xe.addEventListener=function(t,e){var i=_e[t]||(_e[t]=[]);~i.indexOf(e)||i.push(e)},Xe.removeEventListener=function(t,e){var i=_e[t],r=i&&i.indexOf(e);r>=0&&i.splice(r,1)},Xe.batch=function(t,e){var i,r=[],n={},s=e.interval||.016,a=e.batchMax||1e9,o=function(t,e){var i=[],r=[],n=G.delayedCall(s,(function(){e(i,r),i=[],r=[]})).pause();return function(t){i.length||n.restart(!0),i.push(t.trigger),r.push(t),a<=i.length&&n.progress(1)}};for(i in e)n[i]="on"===i.substr(0,2)&&Rt(e[i])&&"onRefreshInit"!==i?o(0,e[i]):e[i];return Rt(a)&&(a=a(),ae(Xe,"refresh",(function(){return a=e.batchMax()}))),U(t).forEach((function(t){var e={};for(i in n)e[i]=n[i];e.trigger=t,r.push(Xe.create(e))})),r};var $e,Ue=function(t,e,i,r){return e>r?t(r):e<0&&t(0),i>r?(r-e)/(i-e):i<0?e/(e-i):1},Je=function t(e,i){!0===i?e.style.removeProperty("touch-action"):e.style.touchAction=!0===i?"auto":i?"pan-"+i+(N.isTouch?" pinch-zoom":""):"none",e===q&&t(Y,i)},Ze={auto:1,scroll:1},Ke=function(t){var e,i=t.event,r=t.target,n=t.axis,s=(i.changedTouches?i.changedTouches[0]:i).target,a=s._gsap||G.core.getCache(s),o=_t();if(!a._isScrollT||o-a._isScrollT>2e3){for(;s&&s.scrollHeight<=s.clientHeight;)s=s.parentNode;a._isScroll=s&&!Dt(s)&&s!==r&&(Ze[(e=Qt(s)).overflowY]||Ze[e.overflowX]),a._isScrollT=o}(a._isScroll||"x"===n)&&(i._gsapAllow=!0)},Qe=function(t,e,i,r){return N.create({target:t,capture:!0,debounce:!1,lockAxis:!0,type:e,onWheel:r=r&&Ke,onPress:r,onDrag:r,onScroll:r,onEnable:function(){return i&&ae(W,N.eventTypes[0],ei,!1,!0)},onDisable:function(){return oe(W,N.eventTypes[0],ei,!0)}})},ti=/(input|label|select|textarea)/i,ei=function(t){var e=ti.test(t.target.tagName);(e||$e)&&(t._gsapAllow=!0,$e=e)},ii=function(t){Ot(t)||(t={}),t.preventDefault=t.isNormalizer=t.allowClicks=!0,t.type||(t.type="wheel,touch"),t.debounce=!!t.debounce,t.id=t.id||"normalizer";var e,i,r,n,s,a,o,h,l=t,p=l.normalizeScrollX,c=l.momentum,f=l.allowNestedScroll,u=I(t.target)||q,d=G.core.globals().ScrollSmoother,m=ut&&(t.content&&I(t.content)||d&&d.get()&&d.get().content()),g=L(u,F),y=L(u,D),v=1,x=(N.isTouch&&H.visualViewport?H.visualViewport.scale*H.visualViewport.width:H.outerWidth)/H.innerWidth,_=0,E=Rt(c)?function(){return c(e)}:function(){return c||2.8},S=Qe(u,t.type,!0,f),P=function(){return r=!1},C=Tt,w=Tt,T=function(){i=It(u,F),w=J(ut?1:0,i),p&&(C=J(0,It(u,D))),n=De},A=function(){T(),s.isActive()&&s.vars.scrollY>i&&(g()>i?s.progress(1)&&g(i):s.resetTo("scrollY",i))};return t.ignoreCheck=function(t){return ut&&"touchmove"===t.type&&function(){if(r){requestAnimationFrame(P);var t=At(e.deltaY/2),i=w(g.v-t);return m&&i!==g.v+g.offset&&(g.offset=i-g.v,m.style.transform="translateY("+-g.offset+"px)",m._gsap&&(m._gsap.y=-g.offset+"px"),g.cacheID=b.cache,Be()),!0}m&&(m.style.transform="translateY(0px)",g.offset=g.cacheID=0,m._gsap&&(m._gsap.y="0px")),r=!0}()||v>1.05&&"touchstart"!==t.type||e.isGesturing||t.touches&&t.touches.length>1},t.onPress=function(){var t=v;v=At((H.visualViewport&&H.visualViewport.scale||1)/x),s.pause(),t!==v&&Je(u,v>1.01||!p&&"x"),r=!1,a=y(),o=g(),T(),n=De},t.onRelease=t.onGestureStart=function(t,e){if(m&&(m.style.transform="translateY(0px)",g.offset=g.cacheID=0,m._gsap&&(m._gsap.y="0px")),e){b.cache++;var r,n,a=E();p&&(n=(r=y())+.05*a*-t.velocityX/.227,a*=Ue(y,r,n,It(u,D)),s.vars.scrollX=C(n)),n=(r=g())+.05*a*-t.velocityY/.227,a*=Ue(g,r,n,It(u,F)),s.vars.scrollY=w(n),s.invalidate().duration(a).play(.01),(ut&&s.vars.scrollY>=i||r>=i-1)&&G.to({},{onUpdate:A,duration:a})}else h.restart(!0)},t.onWheel=function(){s._ts&&s.pause(),_t()-_>1e3&&(n=0,_=_t())},t.onChange=function(t,e,i,r,s){De!==n&&T(),e&&p&&y(C(r[2]===e?a+(t.startX-t.x):y()+e-r[1])),i&&g(w(s[2]===i?o+(t.startY-t.y):g()+i-s[1])),Be()},t.onEnable=function(){Je(u,!p&&"x"),ae(H,"resize",A),S.enable()},t.onDisable=function(){Je(u,!0),oe(H,"resize",A),S.kill()},(e=new N(t)).iOS=ut,ut&&!g()&&g(1),h=e._dc,s=G.to(e,{ease:"power4",paused:!0,scrollX:p?"+=0.1":"+=0",scrollY:"+=0.1",onComplete:h.vars.onComplete}),e};Xe.sort=function(t){return me.sort(t||function(t,e){return-1e6*(t.vars.refreshPriority||0)+t.start-(e.start+-1e6*(e.vars.refreshPriority||0))})},Xe.observe=function(t){return new N(t)},Xe.normalizeScroll=function(t){if(void 0===t)return lt;if(!0===t&<)return lt.enable();if(!1===t)return lt&<.kill();var e=t instanceof N?t:ii(t);return lt&<.target===e.target&<.kill(),Dt(e.target)&&(lt=e),e},Xe.core={_getVelocityProp:B,_inputObserver:Qe,_scrollers:b,_proxies:x,bridge:{ss:function(){St||we("scrollStart"),St=_t()},ref:function(){return Q}}},Mt()&&G.registerPlugin(Xe)},6358:function(t,e,i){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function n(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}i.d(e,{ZP:function(){return Nr}});var s,a,o,h,l,p,c,f,u,d,m,g,y,v,b,x,_,E,S,P,C,w,T,A,k,M,D,F,I={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},L={duration:.5,overwrite:!1,delay:0}
vendor: 8,505 bytes, line 2
2,B=1e8,R=1e-8,V=2*Math.PI,O=V/4,z=0,N=Math.sqrt,G=Math.cos,j=Math.sin,H=function(t){return"string"==typeof t},W=function(t){return"function"==typeof t},q=function(t){return"number"==typeof t},Y=function(t){return void 0===t},X=function(t){return"object"==typeof t},$=function(t){return!1!==t},U=function(){return"undefined"!=typeof window},J=function(t){return W(t)||H(t)},Z="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},K=Array.isArray,Q=/(?:-?\.?\d|\.)+/gi,tt=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,et=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,it=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,rt=/[+-]=-?[.\d]+/,nt=/[^,'"\[\]\s]+/gi,st=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,at={},ot={},ht=function(t){return(ot=Lt(t,at))&&Pi},lt=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},pt=function(t,e){return!e&&console.warn(t)},ct=function(t,e){return t&&(at[t]=e)&&ot&&(ot[t]=e)||at},ft=function(){return 0},ut={},dt=[],mt={},gt={},yt={},vt=30,bt=[],xt="",_t=function(t){var e,i,r=t[0];if(X(r)||W(r)||(t=[t]),!(e=(r._gsap||{}).harness)){for(i=bt.length;i--&&!bt[i].targetTest(r););e=bt[i]}for(i=t.length;i--;)t[i]&&(t[i]._gsap||(t[i]._gsap=new Xe(t[i],e)))||t.splice(i,1);return t},Et=function(t){return t._gsap||_t(fe(t))[0]._gsap},St=function(t,e,i){return(i=t[e])&&W(i)?t[e]():Y(i)&&t.getAttribute&&t.getAttribute(e)||i},Pt=function(t,e){return(t=t.split(",")).forEach(e)||t},Ct=function(t){return Math.round(1e5*t)/1e5||0},wt=function(t){return Math.round(1e7*t)/1e7||0},Tt=function(t,e){var i=e.charAt(0),r=parseFloat(e.substr(2));return t=parseFloat(t),"+"===i?t+r:"-"===i?t-r:"*"===i?t*r:t/r},At=function(t,e){for(var i=e.length,r=0;t.indexOf(e[r])<0&&++r<i;);return r<i},kt=function(){var t,e,i=dt.length,r=dt.slice(0);for(mt={},dt.length=0,t=0;t<i;t++)(e=r[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)},Mt=function(t,e,i,r){dt.length&&kt(),t.render(e,i,r),dt.length&&kt()},Dt=function(t){var e=parseFloat(t);return(e||0===e)&&(t+"").match(nt).length<2?e:H(t)?t.trim():t},Ft=function(t){return t},It=function(t,e){for(var i in e)i in t||(t[i]=e[i]);return t},Lt=function(t,e){for(var i in e)t[i]=e[i];return t},Bt=function t(e,i){for(var r in i)"__proto__"!==r&&"constructor"!==r&&"prototype"!==r&&(e[r]=X(i[r])?t(e[r]||(e[r]={}),i[r]):i[r]);return e},Rt=function(t,e){var i,r={};for(i in t)i in e||(r[i]=t[i]);return r},Vt=function(t){var e,i=t.parent||a,r=t.keyframes?(e=K(t.keyframes),function(t,i){for(var r in i)r in t||"duration"===r&&e||"ease"===r||(t[r]=i[r])}):It;if($(t.inherit))for(;i;)r(t,i.vars.defaults),i=i.parent||i._dp;return t},Ot=function(t,e,i,r,n){void 0===i&&(i="_first"),void 0===r&&(r="_last");var s,a=t[r];if(n)for(s=e[n];a&&a[n]>s;)a=a._prev;return a?(e._next=a._next,a._next=e):(e._next=t[i],t[i]=e),e._next?e._next._prev=e:t[r]=e,e._prev=a,e.parent=e._dp=t,e},zt=function(t,e,i,r){void 0===i&&(i="_first"),void 0===r&&(r="_last");var n=e._prev,s=e._next;n?n._next=s:t[i]===e&&(t[i]=s),s?s._prev=n:t[r]===e&&(t[r]=n),e._next=e._prev=e.parent=null},Nt=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove(t),t._act=0},Gt=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var i=t;i;)i._dirty=1,i=i.parent;return t},jt=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},Ht=function t(e){return!e||e._ts&&t(e.parent)},Wt=function(t){return t._repeat?qt(t._tTime,t=t.duration()+t._rDelay)*t:0},qt=function(t,e){var i=Math.floor(t/=e);return t&&i===t?i-1:i},Yt=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Xt=function(t){return t._end=wt(t._start+(t._tDur/Math.abs(t._ts||t._rts||R)||0))},$t=function(t,e){var i=t._dp;return i&&i.smoothChildTiming&&t._ts&&(t._start=wt(i._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Xt(t),i._dirty||Gt(i,t)),t},Ut=function(t,e){var i;if((e._time||e._initted&&!e._dur)&&(i=Yt(t.rawTime(),e),(!e._dur||oe(0,e.totalDuration(),i)-e._tTime>R)&&e.render(i,!0)),Gt(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(i=t;i._dp;)i.rawTime()>=0&&i.totalTime(i._tTime),i=i._dp;t._zTime=-1e-8}},Jt=function(t,e,i,r){return e.parent&&Nt(e),e._start=wt((q(i)?i:i||t!==a?ne(t,i,e):t._time)+e._delay),e._end=wt(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),Ot(t,e,"_first","_last",t._sort?"_start":0),te(e)||(t._recent=e),r||Ut(t,e),t},Zt=function(t,e){return(at.ScrollTrigger||lt("scrollTrigger",e))&&at.ScrollTrigger.create(e,t)},Kt=function(t,e,i,r){return ei(t,e),t._initted?!i&&t._pt&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&c!==Le.frame?(dt.push(t),t._lazy=[e,r],1):void 0:1},Qt=function t(e){var i=e.parent;return i&&i._ts&&i._initted&&!i._lock&&(i.rawTime()<0||t(i))},te=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},ee=function(t,e,i,r){var n=t._repeat,s=wt(e)||0,a=t._tTime/t._tDur;return a&&!r&&(t._time*=s/t._dur),t._dur=s,t._tDur=n?n<0?1e10:wt(s*(n+1)+t._rDelay*n):s,a>0&&!r?$t(t,t._tTime=t._tDur*a):t.parent&&Xt(t),i||Gt(t.parent,t),t},ie=function(t){return t instanceof Ue?Gt(t):ee(t,t._dur)},re={_start:0,endTime:ft,totalDuration:ft},ne=function t(e,i,r){var n,s,a,o=e.labels,h=e._recent||re,l=e.duration()>=B?h.endTime(!1):e._dur;return H(i)&&(isNaN(i)||i in o)?(s=i.charAt(0),a="%"===i.substr(-1),n=i.indexOf("="),"<"===s||">"===s?(n>=0&&(i=i.replace(/=/,"")),("<"===s?h._start:h.endTime(h._repeat>=0))+(parseFloat(i.substr(1))||0)*(a?(n<0?h:r).totalDuration()/100:1)):n<0?(i in o||(o[i]=l),o[i]):(s=parseFloat(i.charAt(n-1)+i.substr(n+1)),a&&r&&(s=s/100*(K(r)?r[0]:r).totalDuration()),n>1?t(e,i.substr(0,n-1),r)+s:l+s)):null==i?l:+i},se=function(t,e,i){var r,n,s=q(e[1]),a=(s?2:1)+(t<2?0:1),o=e[a];if(s&&(o.duration=e[1]),o.parent=i,t){for(r=o,n=i;n&&!("immediateRender"in r);)r=n.vars.defaults||{},n=$(n.vars.inherit)&&n.parent;o.immediateRender=$(r.immediateRender),t<2?o.runBackwards=1:o.startAt=e[a-1]}return new ai(e[0],o,e[a+1])},ae=function(t,e){return t||0===t?e(t):e},oe=function(t,e,i){return i<t?t:i>e?e:i},he=function(t,e){return H(t)&&(e=st.exec(t))?e[1]:""},le=[].slice,pe=function(t,e){return t&&X(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&X(t[0]))&&!t.nodeType&&t!==o},ce=function(t,e,i){return void 0===i&&(i=[]),t.forEach((function(t){var r;return H(t)&&!e||pe(t,1)?(r=i).push.apply(r,fe(t)):i.push(t)}))||i},fe=function(t,e,i){return!H(t)||i||!h&&Be()?K(t)?ce(t,i):pe(t)?le.call(t,0):t?[t]:[]:le.call((e||l).querySelectorAll(t),0)},ue=function(t){return t.sort((function(){return.5-Math.random()}))},de=function(t){if(W(t))return t;var e=X(t)?t:{each:t},i=je(e.ease),r=e.from||0,n=parseFloat(e.base)||0,s={},a=r>0&&r<1,o=isNaN(r)||a,h=e.axis,l=r,p=r;return H(r)?l=p={center:.5,edges:.5,end:1}[r]||0:!a&&o&&(l=r[0],p=r[1]),function(t,a,c){var f,u,d,m,g,y,v,b,x,_=(c||e).length,E=s[_];if(!E){if(!(x="auto"===e.grid?0:(e.grid||[1,B])[1])){for(v=-B;v<(v=c[x++].getBoundingClientRect().left)&&x<_;);x--}for(E=s[_]=[],f=o?Math.min(x,_)*l-.5:r%x,u=x===B?0:o?_*p/x-.5:r/x|0,v=0,b=B,y=0;y<_;y++)d=y%x-f,m=u-(y/x|0),E[y]=g=h?Math.abs("y"===h?m:d):N(d*d+m*m),g>v&&(v=g),g<b&&(b=g);"random"===r&&ue(E),E.max=v-b,E.min=b,E.v=_=(parseFloat(e.amount)||parseFloat(e.each)*(x>_?_-1:h?"y"===h?_/x:x:Math.max(x,_/x))||0)*("edges"===r?-1:1),E.b=_<0?n-_:n,E.u=he(e.amount||e.each)||0,i=i&&_<0?Ne(i):i}return _=(E[t]-E.min)/E.max||0,wt(E.b+(i?i(_):_)*E.v)+E.u}},me=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(i){var r=Math.round(parseFloat(i)/t)*t*e;return(r-r%1)/e+(q(i)?0:he(i))}},ge=function(t,e){var i,r,n=K(t);return!n&&X(t)&&(i=n=t.radius||B,t.values?(t=fe(t.values),(r=!q(t[0]))&&(i*=i)):t=me(t.increment)),ae(e,n?W(t)?function(e){return r=t(e),Math.abs(r-e)<=i?r:e}:function(e){for(var n,s,a=parseFloat(r?e.x:e),o=parseFloat(r?e.y:0),h=B,l=0,p=t.length;p--;)(n=r?(n=t[p].x-a)*n+(s=t[p].y-o)*s:Math.abs(t[p]-a))<h&&(h=n,l=p);return l=!i||h<=i?t[l]:e,r||l===e||q(e)?l:l+he(e)}:me(t))},ye=function(t,e,i,r){return ae(K(t)?!e:!0===i?!!(i=0):!r,(function(){return K(t)?t[~~(Math.random()*t.length)]:(i=i||1e-5)&&(r=i<1?Math.pow(10,(i+"").length-2):1)&&Math.floor(Math.round((t-i/2+Math.random()*(e-t+.99*i))/i)*i*r)/r}))},ve=function(t,e,i){return ae(i,(function(i){return t[~~e(i)]}))},be=function(t){for(var e,i,r,n,s=0,a="";~(e=t.indexOf("random(",s));)r=t.indexOf(")",e),n="["===t.charAt(e+7),i=t.substr(e+7,r-e-7).match(n?nt:Q),a+=t.substr(s,e-s)+ye(n?i:+i[0],n?0:+i[1],+i[2]||1e-5),s=r+1;return a+t.substr(s,t.length-s)}
vendor: 4,078 bytes, line 2
2,xe=function(t,e,i,r,n){var s=e-t,a=r-i;return ae(n,(function(e){return i+((e-t)/s*a||0)}))},_e=function(t,e,i){var r,n,s,a=t.labels,o=B;for(r in a)(n=a[r]-e)<0==!!i&&n&&o>(n=Math.abs(n))&&(s=r,o=n);return s},Ee=function(t,e,i){var r,n,s=t.vars,a=s[e];if(a)return r=s[e+"Params"],n=s.callbackScope||t,i&&dt.length&&kt(),r?a.apply(n,r):a.call(n)},Se=function(t){return Nt(t),t.scrollTrigger&&t.scrollTrigger.kill(!1),t.progress()<1&&Ee(t,"onInterrupt"),t},Pe=function(t){var e=(t=!t.name&&t.default||t).name,i=W(t),r=e&&!i&&t.init?function(){this._props=[]}:t,n={init:ft,render:mi,add:Qe,kill:yi,modifier:gi,rawVars:0},s={targetTest:0,get:0,getSetter:ci,aliases:{},register:0};if(Be(),t!==r){if(gt[e])return;It(r,It(Rt(t,n),s)),Lt(r.prototype,Lt(n,Rt(t,s))),gt[r.prop=e]=r,t.targetTest&&(bt.push(r),ut[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}ct(e,r),t.register&&t.register(Pi,r,xi)},Ce=255,we={aqua:[0,Ce,Ce],lime:[0,Ce,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Ce],navy:[0,0,128],white:[Ce,Ce,Ce],olive:[128,128,0],yellow:[Ce,Ce,0],orange:[Ce,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Ce,0,0],pink:[Ce,192,203],cyan:[0,Ce,Ce],transparent:[Ce,Ce,Ce,0]},Te=function(t,e,i){return(6*(t+=t<0?1:t>1?-1:0)<1?e+(i-e)*t*6:t<.5?i:3*t<2?e+(i-e)*(2/3-t)*6:e)*Ce+.5|0},Ae=function(t,e,i){var r,n,s,a,o,h,l,p,c,f,u=t?q(t)?[t>>16,t>>8&Ce,t&Ce]:0:we.black;if(!u){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),we[t])u=we[t];else if("#"===t.charAt(0)){if(t.length<6&&(r=t.charAt(1),n=t.charAt(2),s=t.charAt(3),t="#"+r+r+n+n+s+s+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(u=parseInt(t.substr(1,6),16))>>16,u>>8&Ce,u&Ce,parseInt(t.substr(7),16)/255];u=[(t=parseInt(t.substr(1),16))>>16,t>>8&Ce,t&Ce]}else if("hsl"===t.substr(0,3))if(u=f=t.match(Q),e){if(~t.indexOf("="))return u=t.match(tt),i&&u.length<4&&(u[3]=1),u}else a=+u[0]%360/360,o=+u[1]/100,r=2*(h=+u[2]/100)-(n=h<=.5?h*(o+1):h+o-h*o),u.length>3&&(u[3]*=1),u[0]=Te(a+1/3,r,n),u[1]=Te(a,r,n),u[2]=Te(a-1/3,r,n);else u=t.match(Q)||we.transparent;u=u.map(Number)}return e&&!f&&(r=u[0]/Ce,n=u[1]/Ce,s=u[2]/Ce,h=((l=Math.max(r,n,s))+(p=Math.min(r,n,s)))/2,l===p?a=o=0:(c=l-p,o=h>.5?c/(2-l-p):c/(l+p),a=l===r?(n-s)/c+(n<s?6:0):l===n?(s-r)/c+2:(r-n)/c+4,a*=60),u[0]=~~(a+.5),u[1]=~~(100*o+.5),u[2]=~~(100*h+.5)),i&&u.length<4&&(u[3]=1),u},ke=function(t){var e=[],i=[],r=-1;return t.split(De).forEach((function(t){var n=t.match(et)||[];e.push.apply(e,n),i.push(r+=n.length+1)})),e.c=i,e},Me=function(t,e,i){var r,n,s,a,o="",h=(t+o).match(De),l=e?"hsla(":"rgba(",p=0;if(!h)return t;if(h=h.map((function(t){return(t=Ae(t,e,1))&&l+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"})),i&&(s=ke(t),(r=i.c).join(o)!==s.c.join(o)))for(a=(n=t.replace(De,"1").split(et)).length-1;p<a;p++)o+=n[p]+(~r.indexOf(p)?h.shift()||l+"0,0,0,0)":(s.length?s:h.length?h:i).shift());if(!n)for(a=(n=t.split(De)).length-1;p<a;p++)o+=n[p]+h[p];return o+n[a]},De=function(){var t,e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(t in we)e+="|"+t+"\\b";return new RegExp(e+")","gi")}(),Fe=/hsl[a]?\(/,Ie=function(t){var e,i=t.join(" ");if(De.lastIndex=0,De.test(i))return e=Fe.test(i),t[1]=Me(t[1],e),t[0]=Me(t[0],e,ke(t[1])),!0},Le=(x=Date.now,_=500,E=33,S=x(),P=S,w=C=1e3/240,A=function t(e){var i,r,n,s,a=x()-P,o=!0===e;if(a>_&&(S+=a-E),((i=(n=(P+=a)-S)-w)>0||o)&&(s=++y.frame,v=n-1e3*y.time,y.time=n/=1e3,w+=i+(i>=C?4:C-i),r=1),o||(d=m(t)),r)for(b=0;b<T.length;b++)T[b](n,v,s,e)},y={time:0,frame:0,tick:function(){A(!0)},deltaRatio:function(t){return v/(1e3/(t||60))},wake:function(){p&&(!h&&U()&&(o=h=window,l=o.document||{},at.gsap=Pi,(o.gsapVersions||(o.gsapVersions=[])).push(Pi.version),ht(ot||o.GreenSockGlobals||!o.gsap&&o||{}),g=o.requestAnimationFrame),d&&y.sleep(),m=g||function(t){return setTimeout(t,w-1e3*y.time+1|0)},u=1,A(2))},sleep:function(){(g?o.cancelAnimationFrame:clearTimeout)(d),u=0,m=ft},lagSmoothing:function(t,e){_=t||1e8,E=Math.min(e,_,0)},fps:function(t){C=1e3/(t||240),w=1e3*y.time+C}
vendor: 30,919 bytes, line 2
2,add:function(t,e,i){var r=e?function(e,i,n,s){t(e,i,n,s),y.remove(r)}:t;return y.remove(t),T[i?"unshift":"push"](r),Be(),r},remove:function(t,e){~(e=T.indexOf(t))&&T.splice(e,1)&&b>=e&&b--},_listeners:T=[]}),Be=function(){return!u&&Le.wake()},Re={},Ve=/^[\d.\-M][\d.\-,\s]/,Oe=/["']/g,ze=function(t){for(var e,i,r,n={},s=t.substr(1,t.length-3).split(":"),a=s[0],o=1,h=s.length;o<h;o++)i=s[o],e=o!==h-1?i.lastIndexOf(","):i.length,r=i.substr(0,e),n[a]=isNaN(r)?r.replace(Oe,"").trim():+r,a=i.substr(e+1).trim();return n},Ne=function(t){return function(e){return 1-t(1-e)}},Ge=function t(e,i){for(var r,n=e._first;n;)n instanceof Ue?t(n,i):!n.vars.yoyoEase||n._yoyo&&n._repeat||n._yoyo===i||(n.timeline?t(n.timeline,i):(r=n._ease,n._ease=n._yEase,n._yEase=r,n._yoyo=i)),n=n._next},je=function(t,e){return t&&(W(t)?t:Re[t]||function(t){var e,i,r,n,s=(t+"").split("("),a=Re[s[0]];return a&&s.length>1&&a.config?a.config.apply(null,~t.indexOf("{")?[ze(s[1])]:(e=t,i=e.indexOf("(")+1,r=e.indexOf(")"),n=e.indexOf("(",i),e.substring(i,~n&&n<r?e.indexOf(")",r+1):r)).split(",").map(Dt)):Re._CE&&Ve.test(t)?Re._CE("",t):a}(t))||e},He=function(t,e,i,r){void 0===i&&(i=function(t){return 1-e(1-t)}),void 0===r&&(r=function(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var n,s={easeIn:e,easeOut:i,easeInOut:r};return Pt(t,(function(t){for(var e in Re[t]=at[t]=s,Re[n=t.toLowerCase()]=i,s)Re[n+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=Re[t+"."+e]=s[e]})),s},We=function(t){return function(e){return e<.5?(1-t(1-2*e))/2:.5+t(2*(e-.5))/2}},qe=function t(e,i,r){var n=i>=1?i:1,s=(r||(e?.3:.45))/(i<1?i:1),a=s/V*(Math.asin(1/n)||0),o=function(t){return 1===t?1:n*Math.pow(2,-10*t)*j((t-a)*s)+1},h="out"===e?o:"in"===e?function(t){return 1-o(1-t)}:We(o);return s=V/s,h.config=function(i,r){return t(e,i,r)},h},Ye=function t(e,i){void 0===i&&(i=1.70158);var r=function(t){return t?--t*t*((i+1)*t+i)+1:0},n="out"===e?r:"in"===e?function(t){return 1-r(1-t)}:We(r);return n.config=function(i){return t(e,i)},n};Pt("Linear,Quad,Cubic,Quart,Quint,Strong",(function(t,e){var i=e<5?e+1:e;He(t+",Power"+(i-1),e?function(t){return Math.pow(t,i)}:function(t){return t},(function(t){return 1-Math.pow(1-t,i)}),(function(t){return t<.5?Math.pow(2*t,i)/2:1-Math.pow(2*(1-t),i)/2}))})),Re.Linear.easeNone=Re.none=Re.Linear.easeIn,He("Elastic",qe("in"),qe("out"),qe()),k=7.5625,D=1/(M=2.75),He("Bounce",(function(t){return 1-F(1-t)}),F=function(t){return t<D?k*t*t:t<.7272727272727273?k*Math.pow(t-1.5/M,2)+.75:t<.9090909090909092?k*(t-=2.25/M)*t+.9375:k*Math.pow(t-2.625/M,2)+.984375}),He("Expo",(function(t){return t?Math.pow(2,10*(t-1)):0})),He("Circ",(function(t){return-(N(1-t*t)-1)})),He("Sine",(function(t){return 1===t?1:1-G(t*O)})),He("Back",Ye("in"),Ye("out"),Ye()),Re.SteppedEase=Re.steps=at.SteppedEase={config:function(t,e){void 0===t&&(t=1);var i=1/t,r=t+(e?0:1),n=e?1:0;return function(t){return((r*oe(0,.99999999,t)|0)+n)*i}}},L.ease=Re["quad.out"],Pt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",(function(t){return xt+=t+","+t+"Params,"}));var Xe=function(t,e){this.id=z++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:St,this.set=e?e.getSetter:ci},$e=function(){function t(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,ee(this,+t.duration,1,1),this.data=t.data,u||Le.wake()}var e=t.prototype;return e.delay=function(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},e.duration=function(t){return arguments.length?this.totalDuration(this._repeat>0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,ee(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(Be(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for($t(this,t),!i._dp||i.parent||Ut(i,this);i&&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&&this._dp.autoRemoveChildren&&(this._ts>0&&t<this._tDur||this._ts<0&&t>0||!this._tDur&&!t)&&Jt(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===R||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),Mt(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+Wt(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},e.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+Wt(this),e):this.duration()?Math.min(1,this._time/this._dur):this.ratio},e.iteration=function(t,e){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*i,e):this._repeat?qt(this._tTime,i)+1:1},e.timeScale=function(t){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===t)return this;var e=this.parent&&this._ts?Yt(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,this.totalTime(oe(-this._delay,this._tDur,e),!0),Xt(this),jt(this)},e.paused=function(t){return arguments.length?(this._ps!==t&&(this._ps=t,t?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Be(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==R&&(this._tTime-=R)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&Jt(e,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+($(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},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?Yt(e.rawTime(t),this):this._tTime:this._tTime},e.globalTime=function(t){for(var e=this,i=arguments.length?t:e.rawTime();e;)i=e._start+i/(e._ts||1),e=e._dp;return i},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,ie(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,ie(this),e?this.time(e):this}return 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),$(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,$(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){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-1e-8:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},e.isActive=function(){var t,e=this.parent||this._dp,i=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=i&&t<this.endTime(!0)-R))},e.eventCallback=function(t,e,i){var r=this.vars;return arguments.length>1?(e?(r[t]=e,i&&(r[t+"Params"]=i),"onUpdate"===t&&(this._onUpdate=e)):delete r[t],this):r[t]},e.then=function(t){var e=this;return new Promise((function(i){var r=W(t)?t:Ft,n=function(){var t=e.then;e.then=null,W(r)&&(r=r(e))&&(r.then||r===e)&&(e.then=t),i(r),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?n():e._prom=n}))},e.kill=function(){Se(this)},t}();It($e.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});var Ue=function(t){function e(e,i){var n;return void 0===e&&(e={}),(n=t.call(this,e)||this).labels={},n.smoothChildTiming=!!e.smoothChildTiming,n.autoRemoveChildren=!!e.autoRemoveChildren,n._sort=$(e.sortChildren),a&&Jt(e.parent||a,r(n),i),e.reversed&&n.reverse(),e.paused&&n.paused(!0),e.scrollTrigger&&Zt(r(n),e.scrollTrigger),n}n(e,t);var i=e.prototype;return i.to=function(t,e,i){return se(0,arguments,this),this},i.from=function(t,e,i){return se(1,arguments,this),this},i.fromTo=function(t,e,i,r){return se(2,arguments,this),this},i.set=function(t,e,i){return e.duration=0,e.parent=this,Vt(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new ai(t,e,ne(this,i),1),this},i.call=function(t,e,i){return Jt(this,ai.delayedCall(0,t,e),i)},i.staggerTo=function(t,e,i,r,n,s,a){return i.duration=e,i.stagger=i.stagger||r,i.onComplete=s,i.onCompleteParams=a,i.parent=this,new ai(t,i,ne(this,n)),this},i.staggerFrom=function(t,e,i,r,n,s,a){return i.runBackwards=1,Vt(i).immediateRender=$(i.immediateRender),this.staggerTo(t,e,i,r,n,s,a)},i.staggerFromTo=function(t,e,i,r,n,s,a,o){return r.startAt=i,Vt(r).immediateRender=$(r.immediateRender),this.staggerTo(t,e,r,n,s,a,o)},i.render=function(t,e,i){var r,n,s,o,h,l,p,c,f,u,d,m,g=this._time,y=this._dirty?this.totalDuration():this._tDur,v=this._dur,b=t<=0?0:wt(t),x=this._zTime<0!=t<0&&(this._initted||!v);if(this!==a&&b>y&&t>=0&&(b=y),b!==this._tTime||i||x){if(g!==this._time&&v&&(b+=this._time-g,t+=this._time-g),r=b,f=this._start,l=!(c=this._ts),x&&(v||(g=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(d=this._yoyo,h=v+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*h+t,e,i);if(r=wt(b%h),b===y?(o=this._repeat,r=v):((o=~~(b/h))&&o===b/h&&(r=v,o--),r>v&&(r=v)),u=qt(this._tTime,h),!g&&this._tTime&&u!==o&&(u=o),d&&1&o&&(r=v-r,m=1),o!==u&&!this._lock){var _=d&&1&u,E=_===(d&&1&o);if(o<u&&(_=!_),g=_?0:v,this._lock=1,this.render(g||(m?0:wt(o*h)),e,!v)._lock=0,this._tTime=b,!e&&this.parent&&Ee(this,"onRepeat"),this.vars.repeatRefresh&&!m&&(this.invalidate()._lock=1),g&&g!==this._time||l!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(v=this._dur,y=this._tDur,E&&(this._lock=2,g=_?v:-1e-4,this.render(g,!0),this.vars.repeatRefresh&&!m&&this.invalidate()),this._lock=0,!this._ts&&!l)return this;Ge(this,m)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(p=function(t,e,i){var r;if(i>e)for(r=t._first;r&&r._start<=i;){if("isPause"===r.data&&r._start>e)return r;r=r._next}else for(r=t._last;r&&r._start>=i;){if("isPause"===r.data&&r._start<e)return r;r=r._prev}}(this,wt(g),wt(r)),p&&(b-=r-(r=p._start))),this._tTime=b,this._time=r,this._act=!c,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,g=0),!g&&r&&!e&&(Ee(this,"onStart"),this._tTime!==b))return this;if(r>=g&&t>=0)for(n=this._first;n;){if(s=n._next,(n._act||r>=n._start)&&n._ts&&p!==n){if(n.parent!==this)return this.render(t,e,i);if(n.render(n._ts>0?(r-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(r-n._start)*n._ts,e,i),r!==this._time||!this._ts&&!l){p=0,s&&(b+=this._zTime=-1e-8);break}}n=s}else{n=this._last;for(var S=t<0?t:r;n;){if(s=n._prev,(n._act||S<=n._end)&&n._ts&&p!==n){if(n.parent!==this)return this.render(t,e,i);if(n.render(n._ts>0?(S-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(S-n._start)*n._ts,e,i),r!==this._time||!this._ts&&!l){p=0,s&&(b+=this._zTime=S?-1e-8:R);break}}n=s}}if(p&&!e&&(this.pause(),p.render(r>=g?0:-1e-8)._zTime=r>=g?1:-1,this._ts))return this._start=f,Xt(this),this.render(t,e,i);this._onUpdate&&!e&&Ee(this,"onUpdate",!0),(b===y&&this._tTime>=this.totalDuration()||!b&&g)&&(f!==this._start&&Math.abs(c)===Math.abs(this._ts)||this._lock||((t||!v)&&(b===y&&this._ts>0||!b&&this._ts<0)&&Nt(this,1),e||t<0&&!g||!b&&!g&&y||(Ee(this,b===y&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(b<y&&this.timeScale()>0)&&this._prom())))}return this},i.add=function(t,e){var i=this;if(q(e)||(e=ne(this,e,t)),!(t instanceof $e)){if(K(t))return t.forEach((function(t){return i.add(t,e)})),this;if(H(t))return this.addLabel(t,e);if(!W(t))return this;t=ai.delayedCall(0,t)}return this!==t?Jt(this,t,e):this},i.getChildren=function(t,e,i,r){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===i&&(i=!0),void 0===r&&(r=-B);for(var n=[],s=this._first;s;)s._start>=r&&(s instanceof ai?e&&n.push(s):(i&&n.push(s),t&&n.push.apply(n,s.getChildren(!0,e,i)))),s=s._next;return n},i.getById=function(t){for(var e=this.getChildren(1,1,1),i=e.length;i--;)if(e[i].vars.id===t)return e[i]},i.remove=function(t){return H(t)?this.removeLabel(t):W(t)?this.killTweensOf(t):(zt(this,t),t===this._recent&&(this._recent=this._last),Gt(this))},i.totalTime=function(e,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=wt(Le.time-(this._ts>0?e/this._ts:(this.totalDuration()-e)/-this._ts))),t.prototype.totalTime.call(this,e,i),this._forcing=0,this):this._tTime},i.addLabel=function(t,e){return this.labels[t]=ne(this,e),this},i.removeLabel=function(t){return delete this.labels[t],this},i.addPause=function(t,e,i){var r=ai.delayedCall(0,e||ft,i);return r.data="isPause",this._hasPause=1,Jt(this,r,ne(this,t))},i.removePause=function(t){var e=this._first;for(t=ne(this,t);e;)e._start===t&&"isPause"===e.data&&Nt(e),e=e._next},i.killTweensOf=function(t,e,i){for(var r=this.getTweensOf(t,i),n=r.length;n--;)Je!==r[n]&&r[n].kill(t,e);return this},i.getTweensOf=function(t,e){for(var i,r=[],n=fe(t),s=this._first,a=q(e);s;)s instanceof ai?At(s._targets,n)&&(a?(!Je||s._initted&&s._ts)&&s.globalTime(0)<=e&&s.globalTime(s.totalDuration())>e:!e||s.isActive())&&r.push(s):(i=s.getTweensOf(n,e)).length&&r.push.apply(r,i),s=s._next;return r},i.tweenTo=function(t,e){e=e||{};var i,r=this,n=ne(r,t),s=e,a=s.startAt,o=s.onStart,h=s.onStartParams,l=s.immediateRender,p=ai.to(r,It({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:n,overwrite:"auto",duration:e.duration||Math.abs((n-(a&&"time"in a?a.time:r._time))/r.timeScale())||R,onStart:function(){if(r.pause(),!i){var t=e.duration||Math.abs((n-(a&&"time"in a?a.time:r._time))/r.timeScale());p._dur!==t&&ee(p,t,0,1).render(p._time,!0,!0),i=1}o&&o.apply(p,h||[])}},e));return l?p.render(0):p},i.tweenFromTo=function(t,e,i){return this.tweenTo(e,It({startAt:{time:ne(this,t)}},i))},i.recent=function(){return this._recent},i.nextLabel=function(t){return void 0===t&&(t=this._time),_e(this,ne(this,t))},i.previousLabel=function(t){return void 0===t&&(t=this._time),_e(this,ne(this,t),1)},i.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+R)},i.shiftChildren=function(t,e,i){void 0===i&&(i=0);for(var r,n=this._first,s=this.labels;n;)n._start>=i&&(n._start+=t,n._end+=t),n=n._next;if(e)for(r in s)s[r]>=i&&(s[r]+=t);return Gt(this)},i.invalidate=function(){var e=this._first;for(this._lock=0;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this)},i.clear=function(t){void 0===t&&(t=!0);for(var e,i=this._first;i;)e=i._next,this.remove(i),i=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),Gt(this)},i.totalDuration=function(t){var e,i,r,n=0,s=this,o=s._last,h=B;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-t:t));if(s._dirty){for(r=s.parent;o;)e=o._prev,o._dirty&&o.totalDuration(),(i=o._start)>h&&s._sort&&o._ts&&!s._lock?(s._lock=1,Jt(s,o,i-o._delay,1)._lock=0):h=i,i<0&&o._ts&&(n-=i,(!r&&!s._dp||r&&r.smoothChildTiming)&&(s._start+=i/s._ts,s._time-=i,s._tTime-=i),s.shiftChildren(-i,!1,-Infinity),h=0),o._end>n&&o._ts&&(n=o._end),o=e;ee(s,s===a&&s._time>n?s._time:n,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(t){if(a._ts&&(Mt(a,Yt(t,a)),c=Le.frame),Le.frame>=vt){vt+=I.autoSleep||120;var e=a._first;if((!e||!e._ts)&&I.autoSleep&&Le._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||Le.sleep()}}},e}($e);It(Ue.prototype,{_lock:0,_hasPause:0,_forcing:0});var Je,Ze,Ke=function(t,e,i,r,n,s,a){var o,h,l,p,c,f,u,d,m=new xi(this._pt,t,e,0,1,di,null,n),g=0,y=0;for(m.b=i,m.e=r,i+="",(u=~(r+="").indexOf("random("))&&(r=be(r)),s&&(s(d=[i,r],t,e),i=d[0],r=d[1]),h=i.match(it)||[];o=it.exec(r);)p=o[0],c=r.substring(g,o.index),l?l=(l+1)%5:"rgba("===c.substr(-5)&&(l=1),p!==h[y++]&&(f=parseFloat(h[y-1])||0,m._pt={_next:m._pt,p:c||1===y?c:",",s:f,c:"="===p.charAt(1)?Tt(f,p)-f:parseFloat(p)-f,m:l&&l<4?Math.round:0},g=it.lastIndex);return m.c=g<r.length?r.substring(g,r.length):"",m.fp=a,(rt.test(r)||u)&&(m.e=0),this._pt=m,m},Qe=function(t,e,i,r,n,s,a,o,h){W(r)&&(r=r(n||0,t,s));var l,p=t[e],c="get"!==i?i:W(p)?h?t[e.indexOf("set")||!W(t["get"+e.substr(3)])?e:"get"+e.substr(3)](h):t[e]():p,f=W(p)?h?li:hi:oi;if(H(r)&&(~r.indexOf("random(")&&(r=be(r)),"="===r.charAt(1)&&((l=Tt(c,r)+(he(c)||0))||0===l)&&(r=l)),c!==r||Ze)return isNaN(c*r)||""===r?(!p&&!(e in t)&<(e,r),Ke.call(this,t,e,c,r,f,o||I.stringFilter,h)):(l=new xi(this._pt,t,e,+c||0,r-(c||0),"boolean"==typeof p?ui:fi,0,f),h&&(l.fp=h),a&&l.modifier(a,this,t),this._pt=l)},ti=function(t,e,i,r,n,s){var a,o,h,l;if(gt[t]&&!1!==(a=new gt[t]).init(n,a.rawVars?e[t]:function(t,e,i,r,n){if(W(t)&&(t=ri(t,n,e,i,r)),!X(t)||t.style&&t.nodeType||K(t)||Z(t))return H(t)?ri(t,n,e,i,r):t;var s,a={};for(s in t)a[s]=ri(t[s],n,e,i,r);return a}(e[t],r,n,s,i),i,r,s)&&(i._pt=o=new xi(i._pt,n,t,0,1,a.render,a,0,a.priority),i!==f))for(h=i._ptLookup[i._targets.indexOf(n)],l=a._props.length;l--;)h[a._props[l]]=o;return a},ei=function t(e,i){var r,n,o,h,l,p,c,f,u,d,m,g,y,v=e.vars,b=v.ease,x=v.startAt,_=v.immediateRender,E=v.lazy,S=v.onUpdate,P=v.onUpdateParams,C=v.callbackScope,w=v.runBackwards,T=v.yoyoEase,A=v.keyframes,k=v.autoRevert,M=e._dur,D=e._startAt,F=e._targets,I=e.parent,V=I&&"nested"===I.data?I.parent._targets:F,O="auto"===e._overwrite&&!s,z=e.timeline;if(z&&(!A||!b)&&(b="none"),e._ease=je(b,L.ease),e._yEase=T?Ne(je(!0===T?b:T,L.ease)):0,T&&e._yoyo&&!e._repeat&&(T=e._yEase,e._yEase=e._ease,e._ease=T),e._from=!z&&!!v.runBackwards,!z||A&&!v.stagger){if(g=(f=F[0]?Et(F[0]).harness:0)&&v[f.prop],r=Rt(v,ut),D&&(Nt(D.render(-1,!0)),D._lazy=0),x)if(Nt(e._startAt=ai.set(F,It({data:"isStart",overwrite:!1,parent:I,immediateRender:!0,lazy:$(E),startAt:null,delay:0,onUpdate:S,onUpdateParams:P,callbackScope:C,stagger:0},x))),i<0&&!_&&!k&&e._startAt.render(-1,!0),_){if(i>0&&!k&&(e._startAt=0),M&&i<=0)return void(i&&(e._zTime=i))}else!1===k&&(e._startAt=0);else if(w&&M)if(D)!k&&(e._startAt=0);else if(i&&(_=!1),o=It({overwrite:!1,data:"isFromStart",lazy:_&&$(E),immediateRender:_,stagger:0,parent:I},r),g&&(o[f.prop]=g),Nt(e._startAt=ai.set(F,o)),i<0&&e._startAt.render(-1,!0),e._zTime=i,_){if(!i)return}else t(e._startAt,R);for(e._pt=e._ptCache=0,E=M&&$(E)||E&&!M,n=0;n<F.length;n++){if(c=(l=F[n])._gsap||_t(F)[n]._gsap,e._ptLookup[n]=d={},mt[c.id]&&dt.length&&kt(),m=V===F?n:V.indexOf(l),f&&!1!==(u=new f).init(l,g||r,e,m,V)&&(e._pt=h=new xi(e._pt,l,u.name,0,1,u.render,u,0,u.priority),u._props.forEach((function(t){d[t]=h})),u.priority&&(p=1)),!f||g)for(o in r)gt[o]&&(u=ti(o,r,e,m,l,V))?u.priority&&(p=1):d[o]=h=Qe.call(e,l,o,"get",r[o],m,V,0,v.stringFilter);e._op&&e._op[n]&&e.kill(l,e._op[n]),O&&e._pt&&(Je=e,a.killTweensOf(l,d,e.globalTime(i)),y=!e.parent,Je=0),e._pt&&E&&(mt[c.id]=1)}p&&bi(e),e._onInit&&e._onInit(e)}e._onUpdate=S,e._initted=(!e._op||e._pt)&&!y,A&&i<=0&&z.render(B,!0,!0)},ii=function(t,e,i,r){var n,s,a=e.ease||r||"power1.inOut";if(K(e))s=i[t]||(i[t]=[]),e.forEach((function(t,i){return s.push({t:i/(e.length-1)*100,v:t,e:a})}));else for(n in e)s=i[n]||(i[n]=[]),"ease"===n||s.push({t:parseFloat(t),v:e[n],e:a})},ri=function(t,e,i,r,n){return W(t)?t.call(e,i,r,n):H(t)&&~t.indexOf("random(")?be(t):t},ni=xt+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",si={};Pt(ni+",id,stagger,delay,duration,paused,scrollTrigger",(function(t){return si[t]=1}));var ai=function(t){function e(e,i,n,o){var h;"number"==typeof i&&(n.duration=i,i=n,n=null);var l,p,c,f,u,d,m,g,y=(h=t.call(this,o?i:Vt(i))||this).vars,v=y.duration,b=y.delay,x=y.immediateRender,_=y.stagger,E=y.overwrite,S=y.keyframes,P=y.defaults,C=y.scrollTrigger,w=y.yoyoEase,T=i.parent||a,A=(K(e)||Z(e)?q(e[0]):"length"in i)?[e]:fe(e);if(h._targets=A.length?_t(A):pt("GSAP target "+e+" not found. https://greensock.com",!I.nullTargetWarn)||[],h._ptLookup=[],h._overwrite=E,S||_||J(v)||J(b)){if(i=h.vars,(l=h.timeline=new Ue({data:"nested",defaults:P||{}})).kill(),l.parent=l._dp=r(h),l._start=0,_||J(v)||J(b)){if(f=A.length,m=_&&de(_),X(_))for(u in _)~ni.indexOf(u)&&(g||(g={}),g[u]=_[u]);for(p=0;p<f;p++)(c=Rt(i,si)).stagger=0,w&&(c.yoyoEase=w),g&&Lt(c,g),d=A[p],c.duration=+ri(v,r(h),p,d,A),c.delay=(+ri(b,r(h),p,d,A)||0)-h._delay,!_&&1===f&&c.delay&&(h._delay=b=c.delay,h._start+=b,c.delay=0),l.to(d,c,m?m(p,d,A):0),l._ease=Re.none;l.duration()?v=b=0:h.timeline=0}else if(S){Vt(It(l.vars.defaults,{ease:"none"})),l._ease=je(S.ease||i.ease||"none");var k,M,D,F=0;if(K(S))S.forEach((function(t){return l.to(A,t,">")}));else{for(u in c={},S)"ease"===u||"easeEach"===u||ii(u,S[u],c,S.easeEach);for(u in c)for(k=c[u].sort((function(t,e){return t.t-e.t})),F=0,p=0;p<k.length;p++)(D={ease:(M=k[p]).e,duration:(M.t-(p?k[p-1].t:0))/100*v})[u]=M.v,l.to(A,D,F),F+=D.duration;l.duration()<v&&l.to({},{duration:v-l.duration()})}}v||h.duration(v=l.duration())}else h.timeline=0;return!0!==E||s||(Je=r(h),a.killTweensOf(A),Je=0),Jt(T,r(h),n),i.reversed&&h.reverse(),i.paused&&h.paused(!0),(x||!v&&!S&&h._start===wt(T._time)&&$(x)&&Ht(r(h))&&"nested"!==T.data)&&(h._tTime=-1e-8,h.render(Math.max(0,-b))),C&&Zt(r(h),C),h}n(e,t);var i=e.prototype;return i.render=function(t,e,i){var r,n,s,a,o,h,l,p,c,f=this._time,u=this._tDur,d=this._dur,m=t>u-R&&t>=0?u:t<R?0:t;if(d){if(m!==this._tTime||!t||i||!this._initted&&this._tTime||this._startAt&&this._zTime<0!=t<0){if(r=m,p=this.timeline,this._repeat){if(a=d+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*a+t,e,i);if(r=wt(m%a),m===u?(s=this._repeat,r=d):((s=~~(m/a))&&s===m/a&&(r=d,s--),r>d&&(r=d)),(h=this._yoyo&&1&s)&&(c=this._yEase,r=d-r),o=qt(this._tTime,a),r===f&&!i&&this._initted)return this._tTime=m,this;s!==o&&(p&&this._yEase&&Ge(p,h),!this.vars.repeatRefresh||h||this._lock||(this._lock=i=1,this.render(wt(a*s),!0).invalidate()._lock=0))}if(!this._initted){if(Kt(this,t<0?t:r,i,e))return this._tTime=0,this;if(f!==this._time)return this;if(d!==this._dur)return this.render(t,e,i)}if(this._tTime=m,this._time=r,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=l=(c||this._ease)(r/d),this._from&&(this.ratio=l=1-l),r&&!f&&!e&&(Ee(this,"onStart"),this._tTime!==m))return this;for(n=this._pt;n;)n.r(l,n.d),n=n._next;p&&p.render(t<0?t:!r&&h?-1e-8:p._dur*p._ease(r/this._dur),e,i)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(t<0&&this._startAt&&this._startAt.render(t,!0,i),Ee(this,"onUpdate")),this._repeat&&s!==o&&this.vars.onRepeat&&!e&&this.parent&&Ee(this,"onRepeat"),m!==this._tDur&&m||this._tTime!==m||(t<0&&this._startAt&&!this._onUpdate&&this._startAt.render(t,!0,!0),(t||!d)&&(m===this._tDur&&this._ts>0||!m&&this._ts<0)&&Nt(this,1),e||t<0&&!f||!m&&!f||(Ee(this,m===u?"onComplete":"onReverseComplete",!0),this._prom&&!(m<u&&this.timeScale()>0)&&this._prom()))}}else!function(t,e,i,r){var n,s,a,o=t.ratio,h=e<0||!e&&(!t._start&&Qt(t)&&(t._initted||!te(t))||(t._ts<0||t._dp._ts<0)&&!te(t))?0:1,l=t._rDelay,p=0;if(l&&t._repeat&&(p=oe(0,t._tDur,e),s=qt(p,l),t._yoyo&&1&s&&(h=1-h),s!==qt(t._tTime,l)&&(o=1-h,t.vars.repeatRefresh&&t._initted&&t.invalidate())),h!==o||r||t._zTime===R||!e&&t._zTime){if(!t._initted&&Kt(t,e,r,i))return;for(a=t._zTime,t._zTime=e||(i?R:0),i||(i=e&&!a),t.ratio=h,t._from&&(h=1-h),t._time=0,t._tTime=p,n=t._pt;n;)n.r(h,n.d),n=n._next;t._startAt&&e<0&&t._startAt.render(e,!0,!0),t._onUpdate&&!i&&Ee(t,"onUpdate"),p&&t._repeat&&!i&&t.parent&&Ee(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===h&&(h&&Nt(t,1),i||(Ee(t,h?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,i);return this},i.targets=function(){return this._targets},i.invalidate=function(){return this._pt=this._op=this._startAt=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(),t.prototype.invalidate.call(this)},i.resetTo=function(t,e,i,r){u||Le.wake(),this._ts||this.play();var n=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||ei(this,n),function(t,e,i,r,n,s,a){var o,h,l,p=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!p)for(p=t._ptCache[e]=[],h=t._ptLookup,l=t._targets.length;l--;){if((o=h[l][e])&&o.d&&o.d._pt)for(o=o.d._pt;o&&o.p!==e;)o=o._next;if(!o)return Ze=1,t.vars[e]="+=0",ei(t,a),Ze=0,1;p.push(o)}for(l=p.length;l--;)(o=p[l]).s=!r&&0!==r||n?o.s+(r||0)+s*o.c:r,o.c=i-o.s,o.e&&(o.e=Ct(i)+he(o.e)),o.b&&(o.b=o.s+he(o.b))}(this,t,e,i,r,this._ease(n/this._dur),n)?this.resetTo(t,e,i,r):($t(this,0),this.parent||Ot(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},i.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?Se(this):this;if(this.timeline){var i=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Je&&!0!==Je.vars.overwrite)._first||Se(this),this.parent&&i!==this.timeline.totalDuration()&&ee(this,this._dur*this.timeline._tDur/i,0,1),this}var r,n,s,a,o,h,l,p=this._targets,c=t?fe(t):p,f=this._ptLookup,u=this._pt;if((!e||"all"===e)&&function(t,e){for(var i=t.length,r=i===e.length;r&&i--&&t[i]===e[i];);return i<0}(p,c))return"all"===e&&(this._pt=0),Se(this);for(r=this._op=this._op||[],"all"!==e&&(H(e)&&(o={},Pt(e,(function(t){return o[t]=1})),e=o),e=function(t,e){var i,r,n,s,a=t[0]?Et(t[0]).harness:0,o=a&&a.aliases;if(!o)return e;for(r in i=Lt({},e),o)if(r in i)for(n=(s=o[r].split(",")).length;n--;)i[s[n]]=i[r];return i}(p,e)),l=p.length;l--;)if(~c.indexOf(p[l]))for(o in n=f[l],"all"===e?(r[l]=e,a=n,s={}):(s=r[l]=r[l]||{},a=e),a)(h=n&&n[o])&&("kill"in h.d&&!0!==h.d.kill(o)||zt(this,h,"_pt"),delete n[o]),"all"!==s&&(s[o]=1);return this._initted&&!this._pt&&u&&Se(this),this},e.to=function(t,i){return new e(t,i,arguments[2])},e.from=function(t,e){return se(1,arguments)},e.delayedCall=function(t,i,r,n){return new e(i,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:i,onReverseComplete:i,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:n})},e.fromTo=function(t,e,i){return se(2,arguments)},e.set=function(t,i){return i.duration=0,i.repeatDelay||(i.repeat=0),new e(t,i)},e.killTweensOf=function(t,e,i){return a.killTweensOf(t,e,i)},e}($e);It(ai.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Pt("staggerTo,staggerFrom,staggerFromTo",(function(t){ai[t]=function(){var e=new Ue,i=le.call(arguments,0);return i.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,i)}}));var oi=function(t,e,i){return t[e]=i},hi=function(t,e,i){return t[e](i)},li=function(t,e,i,r){return t[e](r.fp,i)},pi=function(t,e,i){return t.setAttribute(e,i)},ci=function(t,e){return W(t[e])?hi:Y(t[e])&&t.setAttribute?pi:oi},fi=function(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},ui=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},di=function(t,e){var i=e._pt,r="";if(!t&&e.b)r=e.b;else if(1===t&&e.e)r=e.e;else{for(;i;)r=i.p+(i.m?i.m(i.s+i.c*t):Math.round(1e4*(i.s+i.c*t))/1e4)+r,i=i._next;r+=e.c}e.set(e.t,e.p,r,e)},mi=function(t,e){for(var i=e._pt;i;)i.r(t,i.d),i=i._next},gi=function(t,e,i,r){for(var n,s=this._pt;s;)n=s._next,s.p===r&&s.modifier(t,e,i),s=n},yi=function(t){for(var e,i,r=this._pt;r;)i=r._next,r.p===t&&!r.op||r.op===t?zt(this,r,"_pt"):r.dep||(e=1),r=i;return!e},vi=function(t,e,i,r){r.mSet(t,e,r.m.call(r.tween,i,r.mt),r)},bi=function(t){for(var e,i,r,n,s=t._pt;s;){for(e=s._next,i=r;i&&i.pr>s.pr;)i=i._next;(s._prev=i?i._prev:n)?s._prev._next=s:r=s,(s._next=i)?i._prev=s:n=s,s=e}t._pt=r},xi=function(){function t(t,e,i,r,n,s,a,o,h){this.t=e,this.s=r,this.c=n,this.p=i,this.r=s||fi,this.d=a||this,this.set=o||oi,this.pr=h||0,this._next=t,t&&(t._prev=this)}return t.prototype.modifier=function(t,e,i){this.mSet=this.mSet||this.set,this.set=vi,this.m=t,this.mt=i,this.tween=e},t}();Pt(xt+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(t){return ut[t]=1})),at.TweenMax=at.TweenLite=ai,at.TimelineLite=at.TimelineMax=Ue,a=new Ue({sortChildren:!1,defaults:L,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),I.stringFilter=Ie;var _i={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];e.forEach((function(t){return Pe(t)}))},timeline:function(t){return new Ue(t)},getTweensOf:function(t,e){return a.getTweensOf(t,e)},getProperty:function(t,e,i,r){H(t)&&(t=fe(t)[0]);var n=Et(t||{}).get,s=i?Ft:Dt;return"native"===i&&(i=""),t?e?s((gt[e]&>[e].get||n)(t,e,i,r)):function(e,i,r){return s((gt[e]&>[e].get||n)(t,e,i,r))}:t},quickSetter:function(t,e,i){if((t=fe(t)).length>1){var r=t.map((function(t){return Pi.quickSetter(t,e,i)})),n=r.length;return function(t){for(var e=n;e--;)r[e](t)}}t=t[0]||{};var s=gt[e],a=Et(t),o=a.harness&&(a.harness.aliases||{})[e]||e,h=s?function(e){var r=new s;f._pt=0,r.init(t,i?e+i:e,f,0,[t]),r.render(1,r),f._pt&&mi(1,f)}:a.set(t,o);return s?h:function(e){return h(t,o,i?e+i:e,a,1)}},quickTo:function(t,e,i){var r,n=Pi.to(t,Lt(((r={})[e]="+=0.1",r.paused=!0,r),i||{})),s=function(t,i,r){return n.resetTo(e,t,i,r)};return s.tween=n,s},isTweening:function(t){return a.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=je(t.ease,L.ease)),Bt(L,t||{})},config:function(t){return Bt(I,t||{})},registerEffect:function(t){var e=t.name,i=t.effect,r=t.plugins,n=t.defaults,s=t.extendTimeline;(r||"").split(",").forEach((function(t){return t&&!gt[t]&&!at[t]&&pt(e+" effect requires "+t+" plugin.")})),yt[e]=function(t,e,r){return i(fe(t),It(e||{},n),r)},s&&(Ue.prototype[e]=function(t,i,r){return this.add(yt[e](t,X(i)?i:(r=i)&&{},this),r)})},registerEase:function(t,e){Re[t]=je(e)},parseEase:function(t,e){return arguments.length?je(t,e):Re},getById:function(t){return a.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var i,r,n=new Ue(t);for(n.smoothChildTiming=$(t.smoothChildTiming),a.remove(n),n._dp=0,n._time=n._tTime=a._time,i=a._first;i;)r=i._next,!e&&!i._dur&&i instanceof ai&&i.vars.onComplete===i._targets[0]||Jt(n,i,i._start-i._delay),i=r;return Jt(a,n,0),n},utils:{wrap:function t(e,i,r){var n=i-e;return K(e)?ve(e,t(0,e.length),i):ae(r,(function(t){return(n+(t-e)%n)%n+e}))},wrapYoyo:function t(e,i,r){var n=i-e,s=2*n;return K(e)?ve(e,t(0,e.length-1),i):ae(r,(function(t){return e+((t=(s+(t-e)%s)%s||
vendor: 10,795 bytes, line 2
20)>n?s-t:t)}))},distribute:de,random:ye,snap:ge,normalize:function(t,e,i){return xe(t,e,0,1,i)},getUnit:he,clamp:function(t,e,i){return ae(i,(function(i){return oe(t,e,i)}))},splitColor:Ae,toArray:fe,selector:function(t){return t=fe(t)[0]||pt("Invalid scope")||{},function(e){var i=t.current||t.nativeElement||t;return fe(e,i.querySelectorAll?i:i===t?pt("Invalid scope")||l.createElement("div"):t)}},mapRange:xe,pipe:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(t){return e.reduce((function(t,e){return e(t)}),t)}},unitize:function(t,e){return function(i){return t(parseFloat(i))+(e||he(i))}},interpolate:function t(e,i,r,n){var s=isNaN(e+i)?0:function(t){return(1-t)*e+t*i};if(!s){var a,o,h,l,p,c=H(e),f={};if(!0===r&&(n=1)&&(r=null),c)e={p:e},i={p:i};else if(K(e)&&!K(i)){for(h=[],l=e.length,p=l-2,o=1;o<l;o++)h.push(t(e[o-1],e[o]));l--,s=function(t){t*=l;var e=Math.min(p,~~t);return h[e](t-e)},r=i}else n||(e=Lt(K(e)?[]:{},e));if(!h){for(a in i)Qe.call(f,e,a,"get",i[a]);s=function(t){return mi(t,f)||(c?e.p:e)}}}return ae(r,s)},shuffle:ue},install:ht,effects:yt,ticker:Le,updateRoot:Ue.updateRoot,plugins:gt,globalTimeline:a,core:{PropTween:xi,globals:ct,Tween:ai,Timeline:Ue,Animation:$e,getCache:Et,_removeLinkedListItem:zt,suppressOverwrites:function(t){return s=t}}};Pt("to,from,fromTo,delayedCall,set,killTweensOf",(function(t){return _i[t]=ai[t]})),Le.add(Ue.updateRoot),f=_i.to({},{duration:0});var Ei=function(t,e){for(var i=t._pt;i&&i.p!==e&&i.op!==e&&i.fp!==e;)i=i._next;return i},Si=function(t,e){return{name:t,rawVars:1,init:function(t,i,r){r._onInit=function(t){var r,n;if(H(i)&&(r={},Pt(i,(function(t){return r[t]=1})),i=r),e){for(n in r={},i)r[n]=e(i[n]);i=r}!function(t,e){var i,r,n,s=t._targets;for(i in e)for(r=s.length;r--;)(n=t._ptLookup[r][i])&&(n=n.d)&&(n._pt&&(n=Ei(n,i)),n&&n.modifier&&n.modifier(e[i],t,s[r],i))}(t,i)}}}},Pi=_i.registerPlugin({name:"attr",init:function(t,e,i,r,n){var s,a;for(s in e)(a=this.add(t,"setAttribute",(t.getAttribute(s)||0)+"",e[s],r,n,0,0,s))&&(a.op=s),this._props.push(s)}},{name:"endArray",init:function(t,e){for(var i=e.length;i--;)this.add(t,i,t[i]||0,e[i])}},Si("roundProps",me),Si("modifiers"),Si("snap",ge))||_i;ai.version=Ue.version=Pi.version="3.10.4",p=1,U()&&Be();Re.Power0,Re.Power1,Re.Power2,Re.Power3,Re.Power4,Re.Linear,Re.Quad,Re.Cubic,Re.Quart,Re.Quint,Re.Strong,Re.Elastic,Re.Back,Re.SteppedEase,Re.Bounce,Re.Sine,Re.Expo,Re.Circ;var Ci,wi,Ti,Ai,ki,Mi,Di,Fi={},Ii=180/Math.PI,Li=Math.PI/180,Bi=Math.atan2,Ri=/([A-Z])/g,Vi=/(left|right|width|margin|padding|x)/i,Oi=/[\s,\(]\S/,zi={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Ni=function(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},Gi=function(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},ji=function(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)},Hi=function(t,e){var i=e.s+e.c*t;e.set(e.t,e.p,~~(i+(i<0?-.5:.5))+e.u,e)},Wi=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},qi=function(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)},Yi=function(t,e,i){return t.style[e]=i},Xi=function(t,e,i){return t.style.setProperty(e,i)},$i=function(t,e,i){return t._gsap[e]=i},Ui=function(t,e,i){return t._gsap.scaleX=t._gsap.scaleY=i},Ji=function(t,e,i,r,n){var s=t._gsap;s.scaleX=s.scaleY=i,s.renderTransform(n,s)},Zi=function(t,e,i,r,n){var s=t._gsap;s[e]=i,s.renderTransform(n,s)},Ki="transform",Qi=Ki+"Origin",tr=function(t,e){var i=wi.createElementNS?wi.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):wi.createElement(t);return i.style?i:wi.createElement(t)},er=function t(e,i,r){var n=getComputedStyle(e);return n[i]||n.getPropertyValue(i.replace(Ri,"-$1").toLowerCase())||n.getPropertyValue(i)||!r&&t(e,rr(i)||i,1)||""},ir="O,Moz,ms,Ms,Webkit".split(","),rr=function(t,e,i){var r=(e||ki).style,n=5;if(t in r&&!i)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);n--&&!(ir[n]+t in r););return n<0?null:(3===n?"ms":n>=0?ir[n]:"")+t},nr=function(){"undefined"!=typeof window&&window.document&&(Ci=window,wi=Ci.document,Ti=wi.documentElement,ki=tr("div")||{style:{}},tr("div"),Ki=rr(Ki),Qi=Ki+"Origin",ki.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Di=!!rr("perspective"),Ai=1)},sr=function t(e){var i,r=tr("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,s=this.nextSibling,a=this.style.cssText;if(Ti.appendChild(r),r.appendChild(this),this.style.display="block",e)try{i=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch(t){}else this._gsapBBox&&(i=this._gsapBBox());return n&&(s?n.insertBefore(this,s):n.appendChild(this)),Ti.removeChild(r),this.style.cssText=a,i},ar=function(t,e){for(var i=e.length;i--;)if(t.hasAttribute(e[i]))return t.getAttribute(e[i])},or=function(t){var e;try{e=t.getBBox()}catch(i){e=sr.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===sr||(e=sr.call(t,!0)),!e||e.width||e.x||e.y?e:{x:+ar(t,["x","cx","x1"])||0,y:+ar(t,["y","cy","y1"])||0,width:0,height:0}},hr=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!or(t))},lr=function(t,e){if(e){var i=t.style;e in Fi&&e!==Qi&&(e=Ki),i.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),i.removeProperty(e.replace(Ri,"-$1").toLowerCase())):i.removeAttribute(e)}},pr=function(t,e,i,r,n,s){var a=new xi(t._pt,e,i,0,1,s?qi:Wi);return t._pt=a,a.b=r,a.e=n,t._props.push(i),a},cr={deg:1,rad:1,turn:1},fr=function t(e,i,r,n){var s,a,o,h,l=parseFloat(r)||0,p=(r+"").trim().substr((l+"").length)||"px",c=ki.style,f=Vi.test(i),u="svg"===e.tagName.toLowerCase(),d=(u?"client":"offset")+(f?"Width":"Height"),m=100,g="px"===n,y="%"===n;return n===p||!l||cr[n]||cr[p]?l:("px"!==p&&!g&&(l=t(e,i,r,"px")),h=e.getCTM&&hr(e),!y&&"%"!==p||!Fi[i]&&!~i.indexOf("adius")?(c[f?"width":"height"]=m+(g?p:n),a=~i.indexOf("adius")||"em"===n&&e.appendChild&&!u?e:e.parentNode,h&&(a=(e.ownerSVGElement||{}).parentNode),a&&a!==wi&&a.appendChild||(a=wi.body),(o=a._gsap)&&y&&o.width&&f&&o.time===Le.time?Ct(l/o.width*m):((y||"%"===p)&&(c.position=er(e,"position")),a===e&&(c.position="static"),a.appendChild(ki),s=ki[d],a.removeChild(ki),c.position="absolute",f&&y&&((o=Et(a)).time=Le.time,o.width=a[d]),Ct(g?s*l/m:s&&l?m/s*l:0))):(s=h?e.getBBox()[f?"width":"height"]:e[d],Ct(y?l/s*m:l/100*s)))},ur=function(t,e,i,r){var n;return Ai||nr(),e in zi&&"transform"!==e&&~(e=zi[e]).indexOf(",")&&(e=e.split(",")[0]),Fi[e]&&"transform"!==e?(n=Pr(t,r),n="transformOrigin"!==e?n[e]:n.svg?n.origin:Cr(er(t,Qi))+" "+n.zOrigin+"px"):(!(n=t.style[e])||"auto"===n||r||~(n+"").indexOf("calc("))&&(n=yr[e]&&yr[e](t,e,i)||er(t,e)||St(t,e)||("opacity"===e?1:0)),i&&!~(n+"").trim().indexOf(" ")?fr(t,e,n,i)+i:n},dr=function(t,e,i,r){if(!i||"none"===i){var n=rr(e,t,1),s=n&&er(t,n,1);s&&s!==i?(e=n,i=s):"borderColor"===e&&(i=er(t,"borderTopColor"))}var a,o,h,l,p,c,f,u,d,m,g,y=new xi(this._pt,t.style,e,0,1,di),v=0,b=0;if(y.b=i,y.e=r,i+="","auto"===(r+="")&&(t.style[e]=r,r=er(t,e)||r,t.style[e]=i),Ie(a=[i,r]),r=a[1],h=(i=a[0]).match(et)||[],(r.match(et)||[]).length){for(;o=et.exec(r);)f=o[0],d=r.substring(v,o.index),p?p=(p+1)%5:"rgba("!==d.substr(-5)&&"hsla("!==d.substr(-5)||(p=1),f!==(c=h[b++]||"")&&(l=parseFloat(c)||0,g=c.substr((l+"").length),"="===f.charAt(1)&&(f=Tt(l,f)+g),u=parseFloat(f),m=f.substr((u+"").length),v=et.lastIndex-m.length,m||(m=m||I.units[e]||g,v===r.length&&(r+=m,y.e+=m)),g!==m&&(l=fr(t,e,c,m)||0),y._pt={_next:y._pt,p:d||1===b?d:",",s:l,c:u-l,m:p&&p<4||"zIndex"===e?Math.round:0});y.c=v<r.length?r.substring(v,r.length):""}else y.r="display"===e&&"none"===r?qi:Wi;return rt.test(r)&&(y.e=0),this._pt=y,y},mr={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},gr=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var i,r,n,s=e.t,a=s.style,o=e.u,h=s._gsap;if("all"===o||!0===o)a.cssText="",r=1;else for(n=(o=o.split(",")).length;--n>-1;)i=o[n],Fi[i]&&(r=1,i="transformOrigin"===i?Qi:Ki),lr(s,i);r&&(lr(s,Ki),h&&(h.svg&&s.removeAttribute("transform"),Pr(s,1),h.uncache=1))}},yr={clearProps:function(t,e,i,r,n){if("isFromStart"!==n.data){var s=t._pt=new xi(t._pt,e,i,0,0,gr);return s.u=r,s.pr=-10,s.tween=n,t._props.push(i),1}}},vr=[1,0,0,1,0,0],br={},xr=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},_r=function(t){var e=er(t,Ki);return xr(e)?vr:e.substr(7).match(tt).map(Ct)},Er=function(t,e){var i,r,n,s,a=t._gsap||Et(t),o=t.style,h=_r(t);return a.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(h=[(n=t.transform.baseVal.consolidate().matrix).a,n.b,n.c,n.d,n.e,n.f]).join(",")?vr:h:(h!==vr||t.offsetParent||t===Ti||a.svg||(n=o.display,o.display="block",(i=t.parentNode)&&t.offsetParent||(s=1,r=t.nextSibling,Ti.appendChild(t)),h=_r(t),n?o.display=n:lr(t,"display"),s&&(r?i.insertBefore(t,r):i?i.appendChild(t):Ti.removeChild(t))),e&&h.length>6?[h[0],h[1],h[4],h[5],h[12],h[13]]:h)},Sr=function(t,e,i,r,n,s){var a,o,h,l=t._gsap,p=n||Er(t,!0),c=l.xOrigin||0,f=l.yOrigin||0,u=l.xOffset||0,d=l.yOffset||0,m=p[0],g=p[1],y=p[2],v=p[3],b=p[4],x=p[5],_=e.split(" "),E=parseFloat(_[0])||0,S=parseFloat(_[1])||0;i?p!==vr&&(o=m*v-g*y)&&(h=E*(-g/o)+S*(m/o)-(m*x-g*b)/o,E=E*(v/o)+S*(-y/o)+(y*x-v*b)/o,S=h):(E=(a=or(t)).x+(~_[0].indexOf("%")?E/100*a.width:E),S=a.y+(~(_[1]||_[0]).indexOf("%")?S/100*a.height:S)),r||!1!==r&&l.smooth?(b=E-c,x=S-f,l.xOffset=u+(b*m+x*y)-b,l.yOffset=d+(b*g+x*v)-x):l.xOffset=l.yOffset=0,l.xOrigin=E,l.yOrigin=S,l.smooth=!!r,l.origin=e,l.originIsAbsolute=!!i,t.style[Qi]="0px 0px",s&&(pr(s,l,"xOrigin",c,E),pr(s,l,"yOrigin",f,S),pr(s,l,"xOffset",u,l.xOffset),pr(s,l,"yOffset",d,l.yOffset)),t.setAttribute("data-svg-origin",E+" "+S)},Pr=function(t,e){var i=t._gsap||new Xe(t);if("x"in i&&!e&&!i.uncache)return i;var r,n,s,a,o,h,l,p,c,f,u,d,m,g,y,v,b,x,_,E,S,P,C,w,T,A,k,M,D,F,L,B,R=t.style,V=i.scaleX<0,O="px",z="deg",N=er(t,Qi)||"0";return r=n=s=h=l=p=c=f=u=0,a=o=1,i.svg=!(!t.getCTM||!hr(t)),g=Er(t,i.svg),i.svg&&(w=(!i.uncache||"0px 0px"===N)&&!e&&t.getAttribute("data-svg-origin"),Sr(t,w||N,!!w||i.originIsAbsolute,!1!==i.smooth,g)),d=i.xOrigin||0,m=i.yOrigin||0,g!==vr&&(x=g[0],_=g[1],E=g[2],S=g[3],r=P=g[4],n=C=g[5],6===g.length?(a=Math.sqrt(x*x+_*_),o=Math.sqrt(S*S+E*E),h=x||_?Bi(_,x)*Ii:0,(c=E||S?Bi(E,S)*Ii+h:0)&&(o*=Math.abs(Math.cos(c*Li))),i.svg&&(r-=d-(d*x+m*E),n-=m-(d*_+m*S))):(B=g[6],F=g[7],k=g[8],M=g[9],D=g[10],L=g[11],r=g[12],n=g[13],s=g[14],l=(y=Bi(B,D))*Ii,y&&(w=P*(v=Math.cos(-y))+k*(b=Math.sin(-y)),T=C*v+M*b,A=B*v+D*b,k=P*-b+k*v,M=C*-b+M*v,D=B*-b+D*v,L=F*-b+L*v,P=w,C=T,B=A),p=(y=Bi(-E,D))*Ii,y&&(v=Math.cos(-y),L=S*(b=Math.sin(-y))+L*v,x=w=x*v-k*b,_=T=_*v-M*b,E=A=E*v-D*b),h=(y=Bi(_,x))*Ii,y&&(w=x*(v=Math.cos(y))+_*(b=Math.sin(y)),T=P*v+C*b,_=_*v-x*b,C=C*v-P*b,x=w,P=T),l&&Math.abs(l)+Math.abs(h)>
vendor: 8,383 bytes, line 2
2359.9&&(l=h=0,p=180-p),a=Ct(Math.sqrt(x*x+_*_+E*E)),o=Ct(Math.sqrt(C*C+B*B)),y=Bi(P,C),c=Math.abs(y)>2e-4?y*Ii:0,u=L?1/(L<0?-L:L):0),i.svg&&(w=t.getAttribute("transform"),i.forceCSS=t.setAttribute("transform","")||!xr(er(t,Ki)),w&&t.setAttribute("transform",w))),Math.abs(c)>90&&Math.abs(c)<270&&(V?(a*=-1,c+=h<=0?180:-180,h+=h<=0?180:-180):(o*=-1,c+=c<=0?180:-180)),e=e||i.uncache,i.x=r-((i.xPercent=r&&(!e&&i.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-r)?-50:0)))?t.offsetWidth*i.xPercent/100:0)+O,i.y=n-((i.yPercent=n&&(!e&&i.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-n)?-50:0)))?t.offsetHeight*i.yPercent/100:0)+O,i.z=s+O,i.scaleX=Ct(a),i.scaleY=Ct(o),i.rotation=Ct(h)+z,i.rotationX=Ct(l)+z,i.rotationY=Ct(p)+z,i.skewX=c+z,i.skewY=f+z,i.transformPerspective=u+O,(i.zOrigin=parseFloat(N.split(" ")[2])||0)&&(R[Qi]=Cr(N)),i.xOffset=i.yOffset=0,i.force3D=I.force3D,i.renderTransform=i.svg?Fr:Di?Dr:Tr,i.uncache=0,i},Cr=function(t){return(t=t.split(" "))[0]+" "+t[1]},wr=function(t,e,i){var r=he(e);return Ct(parseFloat(e)+parseFloat(fr(t,"x",i+"px",r)))+r},Tr=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Dr(t,e)},Ar="0deg",kr="0px",Mr=") ",Dr=function(t,e){var i=e||this,r=i.xPercent,n=i.yPercent,s=i.x,a=i.y,o=i.z,h=i.rotation,l=i.rotationY,p=i.rotationX,c=i.skewX,f=i.skewY,u=i.scaleX,d=i.scaleY,m=i.transformPerspective,g=i.force3D,y=i.target,v=i.zOrigin,b="",x="auto"===g&&t&&1!==t||!0===g;if(v&&(p!==Ar||l!==Ar)){var _,E=parseFloat(l)*Li,S=Math.sin(E),P=Math.cos(E);E=parseFloat(p)*Li,_=Math.cos(E),s=wr(y,s,S*_*-v),a=wr(y,a,-Math.sin(E)*-v),o=wr(y,o,P*_*-v+v)}m!==kr&&(b+="perspective("+m+Mr),(r||n)&&(b+="translate("+r+"%, "+n+"%) "),(x||s!==kr||a!==kr||o!==kr)&&(b+=o!==kr||x?"translate3d("+s+", "+a+", "+o+") ":"translate("+s+", "+a+Mr),h!==Ar&&(b+="rotate("+h+Mr),l!==Ar&&(b+="rotateY("+l+Mr),p!==Ar&&(b+="rotateX("+p+Mr),c===Ar&&f===Ar||(b+="skew("+c+", "+f+Mr),1===u&&1===d||(b+="scale("+u+", "+d+Mr),y.style[Ki]=b||"translate(0, 0)"},Fr=function(t,e){var i,r,n,s,a,o=e||this,h=o.xPercent,l=o.yPercent,p=o.x,c=o.y,f=o.rotation,u=o.skewX,d=o.skewY,m=o.scaleX,g=o.scaleY,y=o.target,v=o.xOrigin,b=o.yOrigin,x=o.xOffset,_=o.yOffset,E=o.forceCSS,S=parseFloat(p),P=parseFloat(c);f=parseFloat(f),u=parseFloat(u),(d=parseFloat(d))&&(u+=d=parseFloat(d),f+=d),f||u?(f*=Li,u*=Li,i=Math.cos(f)*m,r=Math.sin(f)*m,n=Math.sin(f-u)*-g,s=Math.cos(f-u)*g,u&&(d*=Li,a=Math.tan(u-d),n*=a=Math.sqrt(1+a*a),s*=a,d&&(a=Math.tan(d),i*=a=Math.sqrt(1+a*a),r*=a)),i=Ct(i),r=Ct(r),n=Ct(n),s=Ct(s)):(i=m,s=g,r=n=0),(S&&!~(p+"").indexOf("px")||P&&!~(c+"").indexOf("px"))&&(S=fr(y,"x",p,"px"),P=fr(y,"y",c,"px")),(v||b||x||_)&&(S=Ct(S+v-(v*i+b*n)+x),P=Ct(P+b-(v*r+b*s)+_)),(h||l)&&(a=y.getBBox(),S=Ct(S+h/100*a.width),P=Ct(P+l/100*a.height)),a="matrix("+i+","+r+","+n+","+s+","+S+","+P+")",y.setAttribute("transform",a),E&&(y.style[Ki]=a)},Ir=function(t,e,i,r,n){var s,a,o=360,h=H(n),l=parseFloat(n)*(h&&~n.indexOf("rad")?Ii:1)-r,p=r+l+"deg";return h&&("short"===(s=n.split("_")[1])&&(l%=o)!==l%180&&(l+=l<0?o:-360),"cw"===s&&l<0?l=(l+36e9)%o-~~(l/o)*o:"ccw"===s&&l>0&&(l=(l-36e9)%o-~~(l/o)*o)),t._pt=a=new xi(t._pt,e,i,r,l,Gi),a.e=p,a.u="deg",t._props.push(i),a},Lr=function(t,e){for(var i in e)t[i]=e[i];return t},Br=function(t,e,i){var r,n,s,a,o,h,l,p=Lr({},i._gsap),c=i.style;for(n in p.svg?(s=i.getAttribute("transform"),i.setAttribute("transform",""),c[Ki]=e,r=Pr(i,1),lr(i,Ki),i.setAttribute("transform",s)):(s=getComputedStyle(i)[Ki],c[Ki]=e,r=Pr(i,1),c[Ki]=s),Fi)(s=p[n])!==(a=r[n])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(n)<0&&(o=he(s)!==(l=he(a))?fr(i,n,s,l):parseFloat(s),h=parseFloat(a),t._pt=new xi(t._pt,r,n,o,h-o,Ni),t._pt.u=l||0,t._props.push(n));Lr(r,p)};Pt("padding,margin,Width,Radius",(function(t,e){var i="Top",r="Right",n="Bottom",s="Left",a=(e<3?[i,r,n,s]:[i+s,i+r,n+r,n+s]).map((function(i){return e<2?t+i:"border"+i+t}));yr[e>1?"border"+t:t]=function(t,e,i,r,n){var s,o;if(arguments.length<4)return s=a.map((function(e){return ur(t,e,i)})),5===(o=s.join(" ")).split(s[0]).length?s[0]:o;s=(r+"").split(" "),o={},a.forEach((function(t,e){return o[t]=s[e]=s[e]||s[(e-1)/2|0]})),t.init(e,o,n)}}));var Rr,Vr,Or,zr={name:"css",register:nr,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,i,r,n){var s,a,o,h,l,p,c,f,u,d,m,g,y,v,b,x,_,E,S,P=this._props,C=t.style,w=i.vars.startAt;for(c in Ai||nr(),e)if("autoRound"!==c&&(a=e[c],!gt[c]||!ti(c,e,i,r,t,n)))if(l=typeof a,p=yr[c],"function"===l&&(l=typeof(a=a.call(i,r,t,n))),"string"===l&&~a.indexOf("random(")&&(a=be(a)),p)p(this,t,c,a,i)&&(b=1);else if("--"===c.substr(0,2))s=(getComputedStyle(t).getPropertyValue(c)+"").trim(),a+="",De.lastIndex=0,De.test(s)||(f=he(s),u=he(a)),u?f!==u&&(s=fr(t,c,s,u)+u):f&&(a+=f),this.add(C,"setProperty",s,a,r,n,0,0,c),P.push(c);else if("undefined"!==l){if(w&&c in w?(s="function"==typeof w[c]?w[c].call(i,r,t,n):w[c],H(s)&&~s.indexOf("random(")&&(s=be(s)),he(s+"")||(s+=I.units[c]||he(ur(t,c))||""),"="===(s+"").charAt(1)&&(s=ur(t,c))):s=ur(t,c),h=parseFloat(s),(d="string"===l&&"="===a.charAt(1)&&a.substr(0,2))&&(a=a.substr(2)),o=parseFloat(a),c in zi&&("autoAlpha"===c&&(1===h&&"hidden"===ur(t,"visibility")&&o&&(h=0),pr(this,C,"visibility",h?"inherit":"hidden",o?"inherit":"hidden",!o)),"scale"!==c&&"transform"!==c&&~(c=zi[c]).indexOf(",")&&(c=c.split(",")[0])),m=c in Fi)if(g||((y=t._gsap).renderTransform&&!e.parseTransform||Pr(t,e.parseTransform),v=!1!==e.smoothOrigin&&y.smooth,(g=this._pt=new xi(this._pt,C,Ki,0,1,y.renderTransform,y,0,-1)).dep=1),"scale"===c)this._pt=new xi(this._pt,y,"scaleY",y.scaleY,(d?Tt(y.scaleY,d+o):o)-y.scaleY||0),P.push("scaleY",c),c+="X";else{if("transformOrigin"===c){_=void 0,E=void 0,S=void 0,_=(x=a).split(" "),E=_[0],S=_[1]||"50%","top"!==E&&"bottom"!==E&&"left"!==S&&"right"!==S||(x=E,E=S,S=x),_[0]=mr[E]||E,_[1]=mr[S]||S,a=_.join(" "),y.svg?Sr(t,a,0,v,0,this):((u=parseFloat(a.split(" ")[2])||0)!==y.zOrigin&&pr(this,y,"zOrigin",y.zOrigin,u),pr(this,C,c,Cr(s),Cr(a)));continue}if("svgOrigin"===c){Sr(t,a,1,v,0,this);continue}if(c in br){Ir(this,y,c,h,d?Tt(h,d+a):a);continue}if("smoothOrigin"===c){pr(this,y,"smooth",y.smooth,a);continue}if("force3D"===c){y[c]=a;continue}if("transform"===c){Br(this,a,t);continue}}else c in C||(c=rr(c)||c);if(m||(o||0===o)&&(h||0===h)&&!Oi.test(a)&&c in C)o||(o=0),(f=(s+"").substr((h+"").length))!==(u=he(a)||(c in I.units?I.units[c]:f))&&(h=fr(t,c,s,u)),this._pt=new xi(this._pt,m?y:C,c,h,(d?Tt(h,d+o):o)-h,m||"px"!==u&&"zIndex"!==c||!1===e.autoRound?Ni:Hi),this._pt.u=u||0,f!==u&&"%"!==u&&(this._pt.b=s,this._pt.r=ji);else if(c in C)dr.call(this,t,c,s,d?d+a:a);else{if(!(c in t)){lt(c,a);continue}this.add(t,c,s||t[c],d?d+a:a,r,n)}P.push(c)}b&&bi(this)},get:ur,aliases:zi,getSetter:function(t,e,i){var r=zi[e];return r&&r.indexOf(",")<0&&(e=r),e in Fi&&e!==Qi&&(t._gsap.x||ur(t,"x"))?i&&Mi===i?"scale"===e?Ui:$i:(Mi=i||{})&&("scale"===e?Ji:Zi):t.style&&!Y(t.style[e])?Yi:~e.indexOf("-")?Xi:ci(t,e)},core:{_removeProperty:lr,_getMatrix:Er}};Pi.utils.checkPrefix=rr,Or=Pt((Rr="x,y,z,scale,scaleX,scaleY,xPercent,yPercent")+","+(Vr="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(t){Fi[t]=1})),Pt(Vr,(function(t){I.units[t]="deg",br[t]=1})),zi[Or[13]]=Rr+","+Vr,Pt("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(t){var e=t.split(":");zi[e[1]]=Or[e[0]]})),Pt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(t){I.units[t]="px"})),Pi.registerPlugin(zr);var Nr=Pi.registerPlugin(zr)||Pi;Nr.core.Tween},7564:function(t,e,i){!function(e,r){t.exports?t.exports=r(e,i(7158)):e.imagesLoaded=r(e,e.EvEmitter)}("undefined"!=typeof window?window:this,(function(t,e){let i=t.jQuery,r=t.console;function n(t,e,s){if(!(this instanceof n))return new n(t,e,s);let a=t;var o;("string"==typeof t&&(a=document.querySelectorAll(t)),a)?(this.elements=(o=a,Array.isArray(o)?o:"object"==typeof o&&"number"==typeof o.length?[...o]:[o]),this.options={},"function"==typeof e?s=e:Object.assign(this.options,e),s&&this.on("always",s),this.getImages(),i&&(this.jqDeferred=new i.Deferred),setTimeout(this.check.bind(this))):r.error(`Bad element for imagesLoaded ${a||t}`)}n.prototype=Object.create(e.prototype),n.prototype.getImages=function(){this.images=[],this.elements.forEac
vendor: 4,104 bytes, line 2
2h(this.addElementImages,this)};const s=[1,9,11];n.prototype.addElementImages=function(t){"IMG"===t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);let{nodeType:e}=t;if(!e||!s.includes(e))return;let i=t.querySelectorAll("img");for(let t of i)this.addImage(t);if("string"==typeof this.options.background){let e=t.querySelectorAll(this.options.background);for(let t of e)this.addElementBackgroundImages(t)}};const a=/url\((['"])?(.*?)\1\)/gi;function o(t){this.img=t}function h(t,e){this.url=t,this.element=e,this.img=new Image}return n.prototype.addElementBackgroundImages=function(t){let e=getComputedStyle(t);if(!e)return;let i=a.exec(e.backgroundImage);for(;null!==i;){let r=i&&i[2];r&&this.addBackground(r,t),i=a.exec(e.backgroundImage)}},n.prototype.addImage=function(t){let e=new o(t);this.images.push(e)},n.prototype.addBackground=function(t,e){let i=new h(t,e);this.images.push(i)},n.prototype.check=function(){if(this.progressedCount=0,this.hasAnyBroken=!1,!this.images.length)return void this.complete();let t=(t,e,i)=>{setTimeout((()=>{this.progress(t,e,i)}))};this.images.forEach((function(e){e.once("progress",t),e.check()}))},n.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount===this.images.length&&this.complete(),this.options.debug&&r&&r.log(`progress: ${i}`,t,e)},n.prototype.complete=function(){let t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){let t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},o.prototype=Object.create(e.prototype),o.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.img.crossOrigin&&(this.proxyImage.crossOrigin=this.img.crossOrigin),this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.currentSrc||this.img.src)},o.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},o.prototype.confirm=function(t,e){this.isLoaded=t;let{parentNode:i}=this.img,r="PICTURE"===i.nodeName?i:this.img;this.emitEvent("progress",[this,r,e])},o.prototype.handleEvent=function(t){let e="on"+t.type;this[e]&&this[e](t)},o.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},o.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},o.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},h.prototype=Object.create(o.prototype),h.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},h.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},h.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},n.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&(i=e,i.fn.imagesLoaded=function(t,e){return new n(this,t,e).jqDeferred.promise(i(this))})},n.makeJQueryPlugin(),n}))},5440:function(t){t.exports=function(t){function e(r){if(i[r])return i[r].exports;var n=i[r]={exports:{},id:r,loaded:!1};return t[r].call(n.exports,n,n.exports,e),n.loaded=!0,n.exports}var i={};return e.m=t,e.c=i,e.p="",e(0)}([function(t,e,i){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var n=r(i(2));t.exports=n.default},function(t,e){function i(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=i},function(t,e,i){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}
vendor: 4,968 bytes, line 2
2Object.defineProperty(e,"__esModule",{value:!0});var n=r(i(9)),s=r(i(3)),a=i(4),o=function(){if("undefined"!=typeof window){var t=100,e=["scroll","resize","load"],i={history:[]},r={offset:{},threshold:0,test:a.inViewport},o=(0,n.default)((function(){i.history.forEach((function(t){i[t].check()}))}),t);e.forEach((function(t){return addEventListener(t,o)})),window.MutationObserver&&addEventListener("DOMContentLoaded",(function(){new MutationObserver(o).observe(document.body,{attributes:!0,childList:!0,subtree:!0})}));var h=function(t){if("string"==typeof t){var e=[].slice.call(document.querySelectorAll(t));return i.history.indexOf(t)>-1?i[t].elements=e:(i[t]=(0,s.default)(e,r),i.history.push(t)),i[t]}};return h.offset=function(t){if(void 0===t)return r.offset;var e=function(t){return"number"==typeof t};return["top","right","bottom","left"].forEach(e(t)?function(e){return r.offset[e]=t}:function(i){return e(t[i])?r.offset[i]=t[i]:null}),r.offset},h.threshold=function(t){return"number"==typeof t&&t>=0&&t<=1?r.threshold=t:r.threshold},h.test=function(t){return"function"==typeof t?r.test=t:r.test},h.is=function(t){return r.test(t,r)},h.offset(0),h}};e.default=o()},function(t,e){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,i,r){return i&&t(e.prototype,i),r&&t(e,r),e}}(),n=function(){function t(e,r){i(this,t),this.options=r,this.elements=e,this.current=[],this.handlers={enter:[],exit:[]},this.singles={enter:[],exit:[]}}return r(t,[{key:"check",value:function(){var t=this;return this.elements.forEach((function(e){var i=t.options.test(e,t.options),r=t.current.indexOf(e),n=r>-1,s=!i&&n;i&&!n&&(t.current.push(e),t.emit("enter",e)),s&&(t.current.splice(r,1),t.emit("exit",e))})),this}},{key:"on",value:function(t,e){return this.handlers[t].push(e),this}},{key:"once",value:function(t,e){return this.singles[t].unshift(e),this}},{key:"emit",value:function(t,e){for(;this.singles[t].length;)this.singles[t].pop()(e);for(var i=this.handlers[t].length;--i>-1;)this.handlers[t][i](e);return this}}]),t}();e.default=function(t,e){return new n(t,e)}},function(t,e){"use strict";function i(t,e){var i=t.getBoundingClientRect(),r=i.top,n=i.right,s=i.bottom,a=i.left,o=i.width,h=i.height,l={t:s,r:window.innerWidth-a,b:window.innerHeight-r,l:n},p={x:e.threshold*o,y:e.threshold*h};return l.t>e.offset.top+p.y&&l.r>e.offset.right+p.x&&l.b>e.offset.bottom+p.y&&l.l>e.offset.left+p.x}Object.defineProperty(e,"__esModule",{value:!0}),e.inViewport=i},function(t,e){(function(e){var i="object"==typeof e&&e&&e.Object===Object&&e;t.exports=i}).call(e,function(){return this}())},function(t,e,i){var r=i(5),n="object"==typeof self&&self&&self.Object===Object&&self,s=r||n||Function("return this")();t.exports=s},function(t,e,i){function r(t,e,i){function r(e){var i=v,r=b;return v=b=void 0,P=e,_=t.apply(r,i)}function p(t){return P=t,E=setTimeout(u,e),C?r(t):_}function c(t){var i=e-(t-S);return w?l(i,x-(t-P)):i}function f(t){var i=t-S;return void 0===S||i>=e||i<0||w&&t-P>=x}function u(){var t=s();return f(t)?d(t):void(E=setTimeout(u,c(t)))}function d(t){return E=void 0,T&&v?r(t):(v=b=void 0,_)}function m(){void 0!==E&&clearTimeout(E),P=0,v=S=b=E=void 0}function g(){return void 0===E?_:d(s())}function y(){var t=s(),i=f(t);if(v=arguments,b=this,S=t,i){if(void 0===E)return p(S);if(w)return E=setTimeout(u,e),r(S)}return void 0===E&&(E=setTimeout(u,e)),_}var v,b,x,_,E,S,P=0,C=!1,w=!1,T=!0;if("function"!=typeof t)throw new TypeError(o);return e=a(e)||0,n(i)&&(C=!!i.leading,x=(w="maxWait"in i)?h(a(i.maxWait)||0,e):x,T="trailing"in i?!!i.trailing:T),y.cancel=m,y.flush=g,y}var n=i(1),s=i(8),a=i(10),o="Expected a function",h=Math.max,l=Math.min;t.exports=r},function(t,e,i){var r=i(6),n=function(){return r.Date.now()};t.exports=n},function(t,e,i){function r(t,e,i){var r=!0,o=!0;if("function"!=typeof t)throw new TypeError(a);return s(i)&&(r="leading"in i?!!i.leading:r,o="trailing"in i?!!i.trailing:o),n(t,e,{leading:r,maxWait:e,trailing:o})}var n=i(7),s=i(1),a="Expected a function";t.exports=r},function(t,e){function i(t){return t}t.exports=i}])},1248:function(module,exports,__webpack_require__){var factory;"undefined"!=typeof navigator&&(factory=function(){"use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(t){_useWebWorker=!!t},getWebWorker=function(){return _useWebWorker},setLocationHref=function(t){locationHref=t},getLocationHref=function(){return locationHref};function createTag(t){return document.createElement(t)}function extendPrototype(t,e){var i,r,n=t.length;for(i=0;i<n;i+=1)for(var s in r=t[i].prototype)Object.prototype.hasOwnProperty.call(r,s)&&
vendor: 26,950 bytes, line 2
2(e.prototype[s]=r[s])}function getDescriptor(t,e){return Object.getOwnPropertyDescriptor(t,e)}function createProxyFunction(t){function e(){}return e.prototype=t,e}var audioControllerFactory=function(){function t(t){this.audios=[],this.audioFactory=t,this._volume=1,this._isMuted=!1}return t.prototype={addAudio:function(t){this.audios.push(t)},pause:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].pause()},resume:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].resume()},setRate:function(t){var e,i=this.audios.length;for(e=0;e<i;e+=1)this.audios[e].setRate(t)},createAudio:function(t){return this.audioFactory?this.audioFactory(t):window.Howl?new window.Howl({src:[t]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(t){this.audioFactory=t},setVolume:function(t){this._volume=t,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].volume(this._volume*(this._isMuted?0:1))}},function(){return new t}}(),createTypedArray=function(){function t(t,e){var i,r=0,n=[];switch(t){case"int16":case"uint8c":i=1;break;default:i=1.1}for(r=0;r<e;r+=1)n.push(i);return n}return"function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?function(e,i){return"float32"===e?new Float32Array(i):"int16"===e?new Int16Array(i):"uint8c"===e?new Uint8ClampedArray(i):t(e,i)}:t}();function createSizedArray(t){return Array.apply(null,{length:t})}function _typeof$6(t){return _typeof$6="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$6(t)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),_shouldRoundValues=!1,bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};function ProjectInterface$1(){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"],i=e.length;for(t=0;t<i;t+=1)BMMath[e[t]]=Math[e[t]]}(),BMMath.random=Math.random,BMMath.abs=function(t){if("object"===_typeof$6(t)&&t.length){var e,i=createSizedArray(t.length),r=t.length;for(e=0;e<r;e+=1)i[e]=Math.abs(t[e]);return i}return Math.abs(t)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function roundValues(t){_shouldRoundValues=!!t}function bmRnd(t){return _shouldRoundValues?Math.round(t):t}function styleDiv(t){t.style.position="absolute",t.style.top=0,t.style.left=0,t.style.display="block",t.style.transformOrigin="0 0",t.style.webkitTransformOrigin="0 0",t.style.backfaceVisibility="visible",t.style.webkitBackfaceVisibility="visible",t.style.transformStyle="preserve-3d",t.style.webkitTransformStyle="preserve-3d",t.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(t,e,i,r){this.type=t,this.currentTime=e,this.totalTime=i,this.direction=r<0?-1:1}function BMCompleteEvent(t,e){this.type=t,this.direction=e<0?-1:1}function BMCompleteLoopEvent(t,e,i,r){this.type=t,this.currentLoop=i,this.totalLoops=e,this.direction=r<0?-1:1}function BMSegmentStartEvent(t,e,i){this.type=t,this.firstFrame=e,this.totalFrames=i}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}var createElementID=(_count=0,function(){return idPrefix$1+"__lottie_element_"+(_count+=1)}),_count;function HSVtoRGB(t,e,i){var r,n,s,a,o,h,l,p;switch(h=i*(1-e),l=i*(1-(o=6*t-(a=Math.floor(6*t)))*e),p=i*(1-(1-o)*e),a%6){case 0:r=i,n=p,s=h;break;case 1:r=l,n=i,s=h;break;case 2:r=h,n=i,s=p;break;case 3:r=h,n=l,s=i;break;case 4:r=p,n=h,s=i;break;case 5:r=i,n=h,s=l}return[r,n,s]}function RGBtoHSV(t,e,i){var r,n=Math.max(t,e,i),s=Math.min(t,e,i),a=n-s,o=0===n?0:a/n,h=n/255;switch(n){case s:r=0;break;case t:r=e-i+a*(e<i?6:0),r/=6*a;break;case e:r=i-t+2*a,r/=6*a;break;case i:r=t-e+4*a,r/=6*a}return[r,o,h]}function addSaturationToRGB(t,e){var i=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return i[1]+=e,i[1]>1?i[1]=1:i[1]<=0&&(i[1]=0),HSVtoRGB(i[0],i[1],i[2])}function addBrightnessToRGB(t,e){var i=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return i[2]+=e,i[2]>1?i[2]=1:i[2]<0&&(i[2]=0),HSVtoRGB(i[0],i[1],i[2])}function addHueToRGB(t,e){var i=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return i[0]+=e/360,i[0]>1?i[0]-=1:i[0]<0&&(i[0]+=1),HSVtoRGB(i[0],i[1],i[2])}var rgbToHex=function(){var t,e,i=[];for(t=0;t<256;t+=1)e=t.toString(16),i[t]=1===e.length?"0"+e:e;return function(t,e,r){return t<0&&(t=0),e<0&&(e=0),r<0&&(r=0),"#"+i[t]+i[e]+i[r]}}(),setSubframeEnabled=function(t){subframeEnabled=!!t},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(t){expressionsPlugin=t},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(t){expressionsInterfaces=t},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(t){defaultCurveSegments=t},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(t){idPrefix$1=t},getIdPrefix=function(){return idPrefix$1};function createNS(t){return document.createElementNS(svgNS,t)}function _typeof$5(t){return _typeof$5="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$5(t)}var dataManager=function(){var t,e,i=1,r=[],n={onmessage:function(){},postMessage:function(e){t({data:e})}},s={postMessage:function(t){n.onmessage({data:t})}};function a(){e||(e=function(e){if(window.Worker&&window.Blob&&getWebWorker()){var i=new Blob(["var _workerSelf = self; self.onmessage = ",e.toString()],{type:"text/javascript"}),r=URL.createObjectURL(i);return new Worker(r)}return t=e,n}((function(t){if(s.dataManager||(s.dataManager=function(){function t(n,s){var a,o,h,l,p,f,u=n.length;for(o=0;o<u;o+=1)if("ks"in(a=n[o])&&!a.completed){if(a.completed=!0,a.hasMask){var d=a.masksProperties;for(l=d.length,h=0;h<l;h+=1)if(d[h].pt.k.i)r(d[h].pt.k);else for(f=d[h].pt.k.length,p=0;p<f;p+=1)d[h].pt.k[p].s&&r(d[h].pt.k[p].s[0]),d[h].pt.k[p].e&&r(d[h].pt.k[p].e[0])}0===a.ty?(a.layers=e(a.refId,s),t(a.layers,s)):4===a.ty?i(a.shapes):5===a.ty&&c(a)}}function e(t,e){var i=function(t,e){for(var i=0,r=e.length;i<r;){if(e[i].id===t)return e[i];i+=1}return null}(t,e);return i?i.layers.__used?JSON.parse(JSON.stringify(i.layers)):(i.layers.__used=!0,i.layers):null}function i(t){var e,n,s;for(e=t.length-1;e>=0;e-=1)if("sh"===t[e].ty)if(t[e].ks.k.i)r(t[e].ks.k);else for(s=t[e].ks.k.length,n=0;n<s;n+=1)t[e].ks.k[n].s&&r(t[e].ks.k[n].s[0]),t[e].ks.k[n].e&&r(t[e].ks.k[n].e[0]);else"gr"===t[e].ty&&i(t[e].it)}function r(t){var e,i=t.i.length;for(e=0;e<i;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 n(t,e){var i=e?e.split("."):[100,100,100];return t[0]>i[0]||!(i[0]>t[0])&&(t[1]>i[1]||!(i[1]>t[1])&&(t[2]>i[2]||!(i[2]>t[2])&&null))}var s,a=function(){var t=[4,4,14];function e(t){var e,i,r,n=t.length;for(e=0;e<n;e+=1)5===t[e].ty&&(r=void 0,r=(i=t[e]).t.d,i.t.d={k:[{s:r,t:0}]})}return function(i){if(n(t,i.v)&&(e(i.layers),i.assets)){var r,s=i.assets.length;for(r=0;r<s;r+=1)i.assets[r].layers&&e(i.assets[r].layers)}}}(),o=(s=[4,7,99],function(t){if(t.chars&&!n(s,t.v)){var e,r=t.chars.length;for(e=0;e<r;e+=1){var a=t.chars[e];a.data&&a.data.shapes&&(i(a.data.shapes),a.data.ip=0,a.data.op=99999,a.data.st=0,a.data.sr=1,a.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},t.chars[e].t||(a.data.shapes.push({ty:"no"}),a.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}),h=function(){var t=[5,7,15];function e(t){var e,i,r=t.length;for(e=0;e<r;e+=1)5===t[e].ty&&(i=void 0,"number"==typeof(i=t[e].t.p).a&&(i.a={a:0,k:i.a}),"number"==typeof i.p&&(i.p={a:0,k:i.p}),"number"==typeof i.r&&(i.r={a:0,k:i.r}))}return function(i){if(n(t,i.v)&&(e(i.layers),i.assets)){var r,s=i.assets.length;for(r=0;r<s;r+=1)i.assets[r].layers&&e(i.assets[r].layers)}}}(),l=function(){var t=[4,1,9];function e(t){var i,r,n,s=t.length;for(i=0;i<s;i+=1)if("gr"===t[i].ty)e(t[i].it);else if("fl"===t[i].ty||"st"===t[i].ty)if(t[i].c.k&&t[i].c.k[0].i)for(n=t[i].c.k.length,r=0;r<n;r+=1)t[i].c.k[r].s&&(t[i].c.k[r].s[0]/=255,t[i].c.k[r].s[1]/=255,t[i].c.k[r].s[2]/=255,t[i].c.k[r].s[3]/=255),t[i].c.k[r].e&&(t[i].c.k[r].e[0]/=255,t[i].c.k[r].e[1]/=255,t[i].c.k[r].e[2]/=255,t[i].c.k[r].e[3]/=255);else t[i].c.k[0]/=255,t[i].c.k[1]/=255,t[i].c.k[2]/=255,t[i].c.k[3]/=255}function i(t){var i,r=t.length;for(i=0;i<r;i+=1)4===t[i].ty&&e(t[i].shapes)}return function(e){if(n(t,e.v)&&(i(e.layers),e.assets)){var r,s=e.assets.length;for(r=0;r<s;r+=1)e.assets[r].layers&&i(e.assets[r].layers)}}}(),p=function(){var t=[4,4,18];function e(t){var i,r,n;for(i=t.length-1;i>=0;i-=1)if("sh"===t[i].ty)if(t[i].ks.k.i)t[i].ks.k.c=t[i].closed;else for(n=t[i].ks.k.length,r=0;r<n;r+=1)t[i].ks.k[r].s&&(t[i].ks.k[r].s[0].c=t[i].closed),t[i].ks.k[r].e&&(t[i].ks.k[r].e[0].c=t[i].closed);else"gr"===t[i].ty&&e(t[i].it)}function i(t){var i,r,n,s,a,o,h=t.length;for(r=0;r<h;r+=1){if((i=t[r]).hasMask){var l=i.masksProperties;for(s=l.length,n=0;n<s;n+=1)if(l[n].pt.k.i)l[n].pt.k.c=l[n].cl;else for(o=l[n].pt.k.length,a=0;a<o;a+=1)l[n].pt.k[a].s&&(l[n].pt.k[a].s[0].c=l[n].cl),l[n].pt.k[a].e&&(l[n].pt.k[a].e[0].c=l[n].cl)}4===i.ty&&e(i.shapes)}}return function(e){if(n(t,e.v)&&(i(e.layers),e.assets)){var r,s=e.assets.length;for(r=0;r<s;r+=1)e.assets[r].layers&&i(e.assets[r].layers)}}}();function c(t){0===t.t.a.length&&t.t.p}var f={completeData:function(i){i.__complete||(l(i),a(i),o(i),h(i),p(i),t(i.layers,i.assets),function(i,r){if(i){var n=0,s=i.length;for(n=0;n<s;n+=1)1===i[n].t&&(i[n].data.layers=e(i[n].data.refId,r),t(i[n].data.layers,r))}}(i.chars,i.assets),i.__complete=!0)}};return f.checkColors=l,f.checkChars=o,f.checkPathProperties=h,f.checkShapes=p,f.completeLayers=t,f}()),s.assetLoader||(s.assetLoader=function(){function t(t){var e=t.getResponseHeader("content-type");return e&&"json"===t.responseType&&-1!==e.indexOf("json")||t.response&&"object"===_typeof$5(t.response)?t.response:t.response&&"string"==typeof t.response?JSON.parse(t.response):t.responseText?JSON.parse(t.responseText):null}return{load:function(e,i,r,n){var s,a=new XMLHttpRequest;try{a.responseType="json"}catch(t){}a.onreadystatechange=function(){if(4===a.readyState)if(200===a.status)s=t(a),r(s);else try{s=t(a),r(s)}catch(t){n&&n(t)}};try{a.open(["G","E","T"].join(""),e,!0)}catch(t){a.open(["G","E","T"].join(""),i+"/"+e,!0)}a.send()}}}()),"loadAnimation"===t.data.type)s.assetLoader.load(t.data.path,t.data.fullPath,(function(e){s.dataManager.completeData(e),s.postMessage({id:t.data.id,payload:e,status:"success"})}),(function(){s.postMessage({id:t.data.id,status:"error"})}));else if("complete"===t.data.type){var e=t.data.animation;s.dataManager.completeData(e),s.postMessage({id:t.data.id,payload:e,status:"success"})}else"loadData"===t.data.type&&s.assetLoader.load(t.data.path,t.data.fullPath,(function(e){s.postMessage({id:t.data.id,payload:e,status:"success"})}),(function(){s.postMessage({id:t.data.id,status:"error"})}))})),e.onmessage=function(t){var e=t.data,i=e.id,n=r[i];r[i]=null,"success"===e.status?n.onComplete(e.payload):n.onError&&n.onError()})}function o(t,e){var n="processId_"+(i+=1);return r[n]={onComplete:t,onError:e},n}return{loadAnimation:function(t,i,r){a();var n=o(i,r);e.postMessage({type:"loadAnimation",path:t,fullPath:window.location.origin+window.location.pathname,id:n})},loadData:function(t,i,r){a();var n=o(i,r);e.postMessage({type:"loadData",path:t,fullPath:window.location.origin+window.location.pathname,id:n})},completeAnimation:function(t,i,r){a();var n=o(i,r);e.postMessage({type:"complete",animation:t,id:n})}}}(),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.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function i(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(t,e,i){var r="";if(t.e)r=t.p;else if(e){var n=t.p;-1!==n.indexOf("images/")&&(n=n.split("/")[1]),r=e+n}else r=i,r+=t.u?t.u:"",r+=t.p;return r}function n(t){var e=0,i=setInterval(function(){(t.getBBox().width||e>500)&&(this._imageLoaded(),clearInterval(i)),e+=1}.bind(this),50)}function s(t){var e={assetData:t},i=r(t,this.assetsPath,this.path);return dataManager.loadData(i,function(t){e.img=t,this._footageLoaded()}.bind(this),function(){e.img={},this._footageLoaded()}.bind(this)),e}function a(){this._imageLoaded=e.bind(this),this._footageLoaded=i.bind(this),this.testImageLoaded=n.bind(this),this.createFootageData=s.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return a.prototype={loadAssets:function(t,e){var i;this.imagesLoadedCb=e;var r=t.length;for(i=0;i<r;i+=1)t[i].layers||(t[i].t&&"seq"!==t[i].t?3===t[i].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(t[i]))):(this.totalImages+=1,this.images.push(this._createImageData(t[i]))))},setAssetsPath:function(t){this.assetsPath=t||""},setPath:function(t){this.path=t||""},loadedImages:function(){return this.totalImages===this.loadedAssets},loadedFootages:function(){return this.totalFootages===this.loadedFootagesCount},destroy:function(){this.imagesLoadedCb=null,this.images.length=0},getAsset:function(t){for(var e=0,i=this.images.length;e<i;){if(this.images[e].assetData===t)return this.images[e].img;e+=1}return null},createImgData:function(e){var i=r(e,this.assetsPath,this.path),n=createTag("img");n.crossOrigin="anonymous",n.addEventListener("load",this._imageLoaded,!1),n.addEventListener("error",function(){s.img=t,this._imageLoaded()}.bind(this),!1),n.src=i;var s={img:n,assetData:e};return s},createImageData:function(e){var i=r(e,this.assetsPath,this.path),n=createNS("image");isSafari?this.testImageLoaded(n):n.addEventListener("load",this._imageLoaded,!1),n.addEventListener("error",function(){s.img=t,this._imageLoaded()}.bind(this),!1),n.setAttributeNS("http://www.w3.org/1999/xlink","href",i),this._elementHelper.append?this._elementHelper.append(n):this._elementHelper.appendChild(n);var s={img:n,assetData:e};return s},imageLoaded:e,footageLoaded:i,setCacheType:function(t,e){"svg"===t?(this._elementHelper=e,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},a}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,e){if(this._cbs[t])for(var i=this._cbs[t],r=0;r<i.length;r+=1)i[r](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]){for(var i=0,r=this._cbs[t].length;i<r;)this._cbs[t][i]===e&&(this._cbs[t].splice(i,1),i-=1,r-=1),i+=1;this._cbs[t].length||(this._cbs[t]=null)}}else this._cbs[t]=null}};var markerParser=function(){function t(t){for(var e,i=t.split("\r\n"),r={},n=0,s=0;s<i.length;s+=1)2===(e=i[s].split(":")).length&&(r[e[0]]=e[1].trim(),n+=1);if(0===n)throw new Error;return r}return function(e){for(var i=[],r=0;r<e.length;r+=1){var n=e[r],s={time:n.tm,duration:n.dr};try{s.payload=JSON.parse(e[r].cm)}catch(i){try{s.payload=t(e[r].cm)}catch(t){s.payload={name:e[r].cm}}}i.push(s)}return i}}(),ProjectInterface=function(){function t(t){this.compositions.push(t)}return function(){function e(t){for(var e=0,i=this.compositions.length;e<i;){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 null}return e.compositions=[],e.currentFrame=0,e.registerComposition=t,e}}(),renderers={},registerRenderer=function(t,e){renderers[t]=e};function getRenderer(t){return renderers[t]}function getRegisteredRenderer(){if(renderers.canvas)return"canvas";for(var t in renderers)if(renderers[t])return t;return""}function _typeof$4(t){return _typeof$4="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$4(t)}var 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.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0),this.expressionsPlugin=getExpressionsPlugin()};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(t){(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var e="svg";t.animType?e=t.animType:t.renderer&&(e=t.renderer);var i=getRenderer(e);this.renderer=new i(this,t.rendererSettings),this.imagePreloader.setCacheType(e,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=e,""===t.loop||null===t.loop||void 0===t.loop||!0===t.loop?this.loop=!0:!1===t.loop?this.loop=!1:this.loop=parseInt(t.loop,10),this.autoplay=!("autoplay"in t)||t.autoplay,this.name=t.name?t.name:"",this.autoloadSegments=!Object.prototype.hasOwnProperty.call(t,"autoloadSegments")||t.autoloadSegments,this.assetsPath=t.assetsPath,this.initialSegment=t.initialSegment,t.audioFactory&&this.audioController.setAudioFactory(t.audioFactory),t.animationData?this.setupAnimation(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")),dataManager.loadAnimation(t.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(t){dataManager.completeAnimation(t,this.configAnimation)},AnimationItem.prototype.setData=function(t,e){e&&"object"!==_typeof$4(e)&&(e=JSON.parse(e));var i={wrapper:t,animationData:e},r=t.attributes;i.path=r.getNamedItem("data-animation-path")?r.getNamedItem("data-animation-path").value:r.getNamedItem("data-bm-path")?r.getNamedItem("data-bm-path").value:r.getNamedItem("bm-path")?r.getNamedItem("bm-path").value:"",i.animType=r.getNamedItem("data-anim-type")?r.getNamedItem("data-anim-type").value:r.getNamedItem("data-bm-type")?r.getNamedItem("data-bm-type").value:r.getNamedItem("bm-type")?r.getNamedItem("bm-type").value:r.getNamedItem("data-bm-renderer")?r.getNamedItem("data-bm-renderer").value:r.getNamedItem("bm-renderer")?r.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var n=r.getNamedItem("data-anim-loop")?r.getNamedItem("data-anim-loop").value:r.getNamedItem("data-bm-loop")?r.getNamedItem("data-bm-loop").value:r.getNamedItem("bm-loop")?r.getNamedItem("bm-loop").value:"";"false"===n?i.loop=!1:"true"===n?i.loop=!0:""!==n&&(i.loop=parseInt(n,10));var s=r.getNamedItem("data-anim-autoplay")?r.getNamedItem("data-anim-autoplay").value:r.getNamedItem("data-bm-autoplay")?r.getNamedItem("data-bm-autoplay").value:!r.getNamedItem("bm-autoplay")||r.getNamedItem("bm-autoplay").value;i.autoplay="false"!==s,i.name=r.getNamedItem("data-name")?r.getNamedItem("data-name").value:r.getNamedItem("data-bm-name")?r.getNamedItem("data-bm-name").value:r.getNamedItem("bm-name")?r.getNamedItem("bm-name").value:"","false"===(r.getNamedItem("data-anim-prerender")?r.getNamedItem("data-anim-prerender").value:r.getNamedItem("data-bm-prerender")?r.getNamedItem("data-bm-prerender").value:r.getNamedItem("bm-prerender")?r.getNamedItem("bm-prerender").value:"")&&(i.prerender=!1),i.path?this.setParams(i):this.trigger("destroy")},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,i,r=this.animationData.layers,n=r.length,s=t.layers,a=s.length;for(i=0;i<a;i+=1)for(e=0;e<n;){if(r[e].id===s[i].id){r[e]=s[i];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(n=t.assets.length,e=0;e<n;e+=1)this.animationData.assets.push(t.assets[e]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(t){this.animationData=t;var e=getExpressionsPlugin();e&&e.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 i=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(i,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){this.animationData.segments||(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.markers=markerParser(t.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(t){this.triggerConfigError(t)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||"canvas"!==this.renderer.rendererType)&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var t=getExpressionsPlugin();t&&t.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(t,e){var i="number"==typeof t?t:void 0,r="number"==typeof e?e:void 0;this.renderer.updateContainerSize(i,r)},AnimationItem.prototype.setSubframe=function(t){this.isSubframeEnabled=!!t},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),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.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(t){t&&this.name!==t||!1===this.isPaused&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},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.getMarkerData=function(t){for(var e,i=0;i<this.markers.length;i+=1)if((e=this.markers[i]).payload&&e.payload.name===t)return e;return null},AnimationItem.prototype.goToAndStop=function(t,e,i){if(!i||this.name===i){var r=Number(t);if(isNaN(r)){var n=this.getMarkerData(t);n&&this.goToAndStop(n.time,!0)}else e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(t,e,i){if(!i||this.name===i){var r=Number(t);if(isNaN(r)){var n=this.getMarkerData(t);n&&(n.duration?this.playSegments([n.time,n.time+n.duration],!0):this.goToAndStop(n
vendor: 6,137 bytes, line 2
2.time,!0))}else this.goToAndStop(r,e,i);this.play()}},AnimationItem.prototype.advanceTime=function(t){if(!0!==this.isPaused&&!1!==this.isLoaded){var e=this.currentRawFrame+t*this.frameModifier,i=!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)||(i=!0,e=this.totalFrames-1):e<0?this.checkSegments(e%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(i=!0,e=0):(this.setCurrentRawFrameValue(this.totalFrames+e%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(e),i&&(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.totalFrames=t[0]-t[1],this.timeCompleted=this.totalFrames,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.totalFrames=t[1]-t[0],this.timeCompleted=this.totalFrames,this.firstFrame=t[0],this.setCurrentRawFrameValue(.001+e)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(t,e){var i=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?i=t:this.currentRawFrame+this.firstFrame>e&&(i=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,-1!==i&&this.goToAndStop(i,!0)},AnimationItem.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),"object"===_typeof$4(t[0])){var i,r=t.length;for(i=0;i<r;i+=1)this.segments.push(t[i])}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=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=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.setLoop=function(t){this.loop=t},AnimationItem.prototype.setVolume=function(t,e){e&&this.name!==e||this.audioController.setVolume(t)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(t){t&&this.name!==t||this.audioController.mute()},AnimationItem.prototype.unmute=function(t){t&&this.name!==t||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(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 i=t.p;-1!==i.indexOf("images/")&&(i=i.split("/")[1]),e=this.assetsPath+i}else e=this.path,e+=t.u?t.u:"",e+=t.p;return e},AnimationItem.prototype.getAssetData=function(t){for(var e=0,i=this.assets.length;e<i;){if(t===this.assets[e].id)return this.assets[e];e+=1}return null},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.updateDocumentData=function(t,e,i){try{this.renderer.getElementByPath(t).updateDocumentData(e,i)}catch(t){}},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"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(t,this.drawnFrameEvent);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
vendor: 10,359 bytes, line 2
2,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)};var animationManager=function(){var t={},e=[],i=0,r=0,n=0,s=!0,a=!1;function o(t){for(var i=0,n=t.target;i<r;)e[i].animation===n&&(e.splice(i,1),i-=1,r-=1,n.isPaused||p()),i+=1}function h(t,i){if(!t)return null;for(var n=0;n<r;){if(e[n].elem===t&&null!==e[n].elem)return e[n].animation;n+=1}var s=new AnimationItem;return c(s,t),s.setData(t,i),s}function l(){n+=1,d()}function p(){n-=1}function c(t,i){t.addEventListener("destroy",o),t.addEventListener("_active",l),t.addEventListener("_idle",p),e.push({elem:i,animation:t}),r+=1}function f(t){var o,h=t-i;for(o=0;o<r;o+=1)e[o].animation.advanceTime(h);i=t,n&&!a?window.requestAnimationFrame(f):s=!0}function u(t){i=t,window.requestAnimationFrame(f)}function d(){!a&&n&&s&&(window.requestAnimationFrame(u),s=!1)}return t.registerAnimation=h,t.loadAnimation=function(t){var e=new AnimationItem;return c(e,null),e.setParams(t),e},t.setSpeed=function(t,i){var n;for(n=0;n<r;n+=1)e[n].animation.setSpeed(t,i)},t.setDirection=function(t,i){var n;for(n=0;n<r;n+=1)e[n].animation.setDirection(t,i)},t.play=function(t){var i;for(i=0;i<r;i+=1)e[i].animation.play(t)},t.pause=function(t){var i;for(i=0;i<r;i+=1)e[i].animation.pause(t)},t.stop=function(t){var i;for(i=0;i<r;i+=1)e[i].animation.stop(t)},t.togglePause=function(t){var i;for(i=0;i<r;i+=1)e[i].animation.togglePause(t)},t.searchAnimations=function(t,e,i){var r,n=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),s=n.length;for(r=0;r<s;r+=1)i&&n[r].setAttribute("data-bm-type",i),h(n[r],t);if(e&&0===s){i||(i="svg");var a=document.getElementsByTagName("body")[0];a.innerText="";var o=createTag("div");o.style.width="100%",o.style.height="100%",o.setAttribute("data-bm-type",i),a.appendChild(o),h(o,t)}},t.resize=function(){var t;for(t=0;t<r;t+=1)e[t].animation.resize()},t.goToAndStop=function(t,i,n){var s;for(s=0;s<r;s+=1)e[s].animation.goToAndStop(t,i,n)},t.destroy=function(t){var i;for(i=r-1;i>=0;i-=1)e[i].animation.destroy(t)},t.freeze=function(){a=!0},t.unfreeze=function(){a=!1,d()},t.setVolume=function(t,i){var n;for(n=0;n<r;n+=1)e[n].animation.setVolume(t,i)},t.mute=function(t){var i;for(i=0;i<r;i+=1)e[i].animation.mute(t)},t.unmute=function(t){var i;for(i=0;i<r;i+=1)e[i].animation.unmute(t)},t.getRegisteredAnimations=function(){var t,i=e.length,r=[];for(t=0;t<i;t+=1)r.push(e[t].animation);return r},t}(),BezierFactory=function(){var t={getBezierEasing:function(t,i,r,n,s){var a=s||("bez_"+t+"_"+i+"_"+r+"_"+n).replace(/\./g,"p");if(e[a])return e[a];var o=new l([t,i,r,n]);return e[a]=o,o}},e={},i=.1,r="function"==typeof Float32Array;function n(t,e){return 1-3*e+3*t}function s(t,e){return 3*e-6*t}function a(t){return 3*t}function o(t,e,i){return((n(e,i)*t+s(e,i))*t+a(e))*t}function h(t,e,i){return 3*n(e,i)*t*t+2*s(e,i)*t+a(e)}function l(t){this._p=t,this._mSampleValues=r?new Float32Array(11):new Array(11),this._precomputed=!1,this.get=this.get.bind(this)}return l.prototype={get:function(t){var e=this._p[0],i=this._p[1],r=this._p[2],n=this._p[3];return this._precomputed||this._precompute(),e===i&&r===n?t:0===t?0:1===t?1:o(this._getTForX(t),i,n)},_precompute:function(){var t=this._p[0],e=this._p[1],i=this._p[2],r=this._p[3];this._precomputed=!0,t===e&&i===r||this._calcSampleValues()},_calcSampleValues:function(){for(var t=this._p[0],e=this._p[2],r=0;r<11;++r)this._mSampleValues[r]=o(r*i,t,e)},_getTForX:function(t){for(var e=this._p[0],r=this._p[2],n=this._mSampleValues,s=0,a=1;10!==a&&n[a]<=t;++a)s+=i;var l=s+(t-n[--a])/(n[a+1]-n[a])*i,p=h(l,e,r);return p>=.001?function(t,e,i,r){for(var n=0;n<4;++n){var s=h(e,i,r);if(0===s)return e;e-=(o(e,i,r)-t)/s}return e}(t,l,e,r):0===p?l:function(t,e,i,r,n){var s,a,h=0;do{(s=o(a=e+(i-e)/2,r,n)-t)>0?i=a:e=a}while(Math.abs(s)>1e-7&&++h<10);return a}(t,s,s+i,e,r)}},t}(),pooling={double:function(t){return t.concat(createSizedArray(t.length))}},poolFactory=function(t,e,i){var r=0,n=t,s=createSizedArray(n);return{newElement:function(){return r?s[r-=1]:e()},release:function(t){r===n&&(s=pooling.double(s),n*=2),i&&i(t),s[r]=t,r+=1}}},bezierLengthPool=poolFactory(8,(function(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}})),segmentsLengthPool=poolFactory(8,(function(){return{lengths:[],totalLength:0}}),(function(t){var e,i=t.lengths.length;for(e=0;e<i;e+=1)bezierLengthPool.release(t.lengths[e]);t.lengths.length=0}));function bezFunction(){var t=Math;function e(t,e,i,r,n,s){var a=t*r+e*n+i*s-n*r-s*t-i*e;return a>-.001&&a<.001}var i=function(t,e,i,r){var n,s,a,o,h,l,p=getDefaultCurveSegments(),c=0,f=[],u=[],d=bezierLengthPool.newElement();for(a=i.length,n=0;n<p;n+=1){for(h=n/(p-1),l=0,s=0;s<a;s+=1)o=bmPow(1-h,3)*t[s]+3*bmPow(1-h,2)*h*i[s]+3*(1-h)*bmPow(h,2)*r[s]+bmPow(h,3)*e[s],f[s]=o,null!==u[s]&&(l+=bmPow(f[s]-u[s],2)),u[s]=f[s];l&&(c+=l=bmSqrt(l)),d.percents[n]=h,d.lengths[n]=c}return d.addedLength=c,d};function r(t){this.segmentLength=0,this.points=new Array(t)}function n(t,e){this.partialLength=t,this.point=e}var s,a=(s={},function(t,i,a,o){var h=(t[0]+"_"+t[1]+"_"+i[0]+"_"+i[1]+"_"+a[0]+"_"+a[1]+"_"+o[0]+"_"+o[1]).replace(/\./g,"p");if(!s[h]){var l,p,c,f,u,d,m,g=getDefaultCurveSegments(),y=0,v=null;2===t.length&&(t[0]!==i[0]||t[1]!==i[1])&&e(t[0],t[1],i[0],i[1],t[0]+a[0],t[1]+a[1])&&e(t[0],t[1],i[0],i[1],i[0]+o[0],i[1]+o[1])&&(g=2);var b=new r(g);for(c=a.length,l=0;l<g;l+=1){for(m=createSizedArray(c),u=l/(g-1),d=0,p=0;p<c;p+=1)f=bmPow(1-u,3)*t[p]+3*bmPow(1-u,2)*u*(t[p]+a[p])+3*(1-u)*bmPow(u,2)*(i[p]+o[p])+bmPow(u,3)*i[p],m[p]=f,null!==v&&(d+=bmPow(m[p]-v[p],2));y+=d=bmSqrt(d),b.points[l]=new n(d,m),v=m}b.segmentLength=y,s[h]=b}return s[h]});function o(t,e){var i=e.percents,r=e.lengths,n=i.length,s=bmFloor((n-1)*t),a=t*e.addedLength,o=0;if(s===n-1||0===s||a===r[s])return i[s];for(var h=r[s]>a?-1:1,l=!0;l;)if(r[s]<=a&&r[s+1]>a?(o=(a-r[s])/(r[s+1]-r[s]),l=!1):s+=h,s<0||s>=n-1){if(s===n-1)return i[s];l=!1}return i[s]+(i[s+1]-i[s])*o}var h=createTypedArray("float32",8);return{getSegmentsLength:function(t){var e,r=segmentsLengthPool.newElement(),n=t.c,s=t.v,a=t.o,o=t.i,h=t._length,l=r.lengths,p=0;for(e=0;e<h-1;e+=1)l[e]=i(s[e],s[e+1],a[e],o[e+1]),p+=l[e].addedLength;return n&&h&&(l[e]=i(s[e],s[0],a[e],o[0]),p+=l[e].addedLength),r.totalLength=p,r},getNewSegment:function(e,i,r,n,s,a,l){s<0?s=0:s>1&&(s=1);var p,c=o(s,l),f=o(a=a>1?1:a,l),u=e.length,d=1-c,m=1-f,g=d*d*d,y=c*d*d*3,v=c*c*d*3,b=c*c*c,x=d*d*m,_=c*d*m+d*c*m+d*d*f,E=c*c*m+d*c*f+c*d*f,S=c*c*f,P=d*m*m,C=c*m*m+d*f*m+d*m*f,w=c*f*m+d*f*f+c*m*f,T=c*f*f,A=m*m*m,k=f*m*m+m*f*m+m*m*f,M=f*f*m+m*f*f+f*m*f,D=f*f*f;for(p=0;p<u;p+=1)h[4*p]=t.round(1e3*(g*e[p]+y*r[p]+v*n[p]+b*i[p]))/1e3,h[4*p+1]=t.round(1e3*(x*e[p]+_*r[p]+E*n[p]+S*i[p]))/1e3,h[4*p+2]=t.round(1e3*(P*e[p]+C*r[p]+w*n[p]+T*i[p]))/1e3,h[4*p+3]=t.round(1e3*(A*e[p]+k*r[p]+M*n[p]+D*i[p]))/1e3;return h},getPointInSegment:function(e,i,r,n,s,a){var h=o(s,a),l=1-h;return[t.round(1e3*(l*l*l*e[0]+(h*l*l+l*h*l+l*l*h)*r[0]+(h*h*l+l*h*h+h*l*h)*n[0]+h*h*h*i[0]))/1e3,t.round(1e3*(l*l*l*e[1]+(h*l*l+l*h*l+l*l*h)*r[1]+(h*h*l+l*h*h+h*l*h)*n[1]+h*h*h*i[1]))/1e3]},buildBezierData:a,pointOnLine2D:e,pointOnLine3D:function(i,r,n,s,a,o,h,l,p){if(0===n&&0===o&&0===p)return e(i,r,s,a,h,l);var c,f=t.sqrt(t.pow(s-i,2)+t.pow(a-r,2)+t.pow(o-n,2)),u=t.sqrt(t.pow(h-i,2)+t.pow(l-r,2)+t.pow(p-n,2)),d=t.sqrt(t.pow(h-s,2)+t.pow(l-a,2)+t.pow(p-o,2));return(c=f>u?f>d?f-u-d:d-u-f:d>u?d-u-f:u-f-d)>-1e-4&&c<1e-4}}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(t,e){var i,r=this.offsetTime;"multidimensional"===this.propType&&(i=createTypedArray("float32",this.pv.length));for(var n,s,a,o,h,l,p,c,f,u=e.lastIndex,d=u,m=this.keyframes.length-1,g=!0;g;){if(n=this.keyframes[d],s=this.keyframes[d+1],d===m-1&&t>=s.t-r){n.h&&(n=s),u=0;break}if(s.t-r>t){u=d;break}d<m-1?d+=1:(u=0,g=!1)}a=this.keyframesMetadata[d]||{};var y,v=s.t-r,b=n.t-r;if(n.to){a.bezierData||(a.bezierData=bez.buildBezierData(n.s,s.s||n.e,n.to,n.ti));var x=a.bezierData;if(t>=v||t<b){var _=t>=v?x.points.length-1:0;for(h=x.points[_].point.length,o=0;o<h;o+=1)i[o]=x.points[_].point[o]}else{a.__fnct?f=a.__fnct:(f=BezierFactory.getBezierEasing(n.o.x,n.o.y,n.i.x,n.i.y,n.n).get,a.__fnct=f),l=f((t-b)/(v-b));var E,S=x.segmentLength*l,P=e.lastFrame<t&&e._lastKeyframeIndex===d?e._lastAddedLength:0;for(c=e.lastFrame<t&&e._lastKeyframeIndex===d?e._lastPoint:0,g=!0,p=x.points.length;g;){if(P+=x.points[c].partialLength,0===S||0===l||c===x.points.length-1){for(h=x.points[c].point.length,o=0;o<h;o+=1)i[o]=x.points[c].point[o];break}if(S>=P&&S<P+x.points[c+1].partialLength){for(E=(S-P)/x.points[c+1].partialLength,h=x.points[c].point.length,o=0;o<h;o+=1)i[o]=x.points[c].point[o]+(x.points[c+1].point[o]-x.points[c].point[o])*E;break}c<p-1?c+=1:g=!1}e._lastPoint=c,e._lastAddedLength=P-x.points[c].partialLength,e._lastKeyframeIndex=d}}else{var C,w,T,A,k;if(m=n.s.length,y=s.s||n.e,this.sh&&1!==n.h)t>=v?(i[0]=y[0],i[1]=y[1],i[2]=y[2]):t<=b?(i[0]=n.s[0],i[1]=n.s[1],i[2]=n.s[2]):quaternionToEuler(i,slerp(createQuaternion(n.s),createQuaternion(y),(t-b)/(v-b)));else for(d=0;d<m;d+=1)1!==n.h&&(t>=v?l=1:t<b?l=0:(n.o.x.constructor===Array?(a.__fnct||(a.__fnct=[]),a.__fnct[d]?f=a.__fnct[d]:(C=void 0===n.o.x[d]?n.o.x[0]:n.o.x[d],w=void 0===n.o.y[d]?n.o.y[0]:n.o.y[d],T=void 0===n.i.x[d]?n.i.x[0]:n.i.x[d],A=void 0===n.i.y[d]?n.i.y[0]:n.i.y[d],f=BezierFactory.getBezierEasing(C,w,T,A).get,a.__fnct[d]=f)):a.__fnct?f=a.__fnct:(C=n.o.x,w=n.o.y,T=n.i.x,A=n.i.y,f=BezierFactory.getBezierEasing(C,w,T,A).get,n.keyframeMetadata=f),l=f((t-b)/(v-b)))),y=s.s||n.e,k=1===n.h?n.s[d]:n.s[d]+(y[d]-n.s[d])*l,"multidimensional"===this.propType?i[d]=k:i=k}return e.lastIndex=u,i}function slerp(t,e,i){var r,n,s,a,o,h=[],l=t[0],p=t[1],c=t[2],f=t[3],u=e[0],d=e[1],m=e[2],g=e[3];return(n=l*u+p*d+c*m+f*g)<0&&(n=-n,u=-u,d=-d,m=-m,g=-g),1-n>1e-6?(r=Math.acos(n),s=Math.sin(r),a=Math.sin((1-i)*r)/s,o=Math.sin(i*r)/s):(a=1-i,o=i),h[0]=a*l+o*u,h[1]=a*p+o*d,h[2]=a*c+o*m,h[3]=a*f+o*g,h}function quaternionToEuler(t,e){var i=e[0],r=e[1],n=e[2],s=e[3],a=Math.atan2(2*r*s-2*i*n,1-2*r*r-2*n*n),o=Math.asin(2*i*r+2*n*s),h=Math.atan2(2*i*s-2*r*n,1-2*i*i-2*n*n);t[0]=a/degToRads,t[1]=o/degToRads,t[2]=h/degToRads}
vendor: 13,440 bytes, line 2
2function createQuaternion(t){var e=t[0]*degToRads,i=t[1]*degToRads,r=t[2]*degToRads,n=Math.cos(e/2),s=Math.cos(i/2),a=Math.cos(r/2),o=Math.sin(e/2),h=Math.sin(i/2),l=Math.sin(r/2);return[o*h*a+n*s*l,o*s*a+n*h*l,n*h*a-o*s*l,n*s*a-o*h*l]}function getValueAtCurrentTime(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=i&&t>=i||this._caching.lastFrame<e&&t<e))){this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var r=this.interpolateValue(t,this._caching);this.pv=r}return this._caching.lastFrame=t,this.pv}function setVValue(t){var e;if("unidimensional"===this.propType)e=t*this.mult,mathAbs(this.v-e)>1e-5&&(this.v=e,this._mdf=!0);else for(var i=0,r=this.v.length;i<r;)e=t[i]*this.mult,mathAbs(this.v[i]-e)>1e-5&&(this.v[i]=e,this._mdf=!0),i+=1}function processEffectsSequence(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var t;this.lock=!0,this._mdf=this._isFirstFrame;var e=this.effectsSequence.length,i=this.kf?this.pv:this.data.k;for(t=0;t<e;t+=1)i=this.effectsSequence[t](i);this.setVValue(i),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function addEffect(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function ValueProperty(t,e,i,r){this.propType="unidimensional",this.mult=i||1,this.data=e,this.v=i?e.k*i:e.k,this.pv=e.k,this._mdf=!1,this.elem=t,this.container=r,this.comp=t.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function MultiDimensionalProperty(t,e,i,r){var n;this.propType="multidimensional",this.mult=i||1,this.data=e,this._mdf=!1,this.elem=t,this.container=r,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1;var s=e.k.length;for(this.v=createTypedArray("float32",s),this.pv=createTypedArray("float32",s),this.vel=createTypedArray("float32",s),n=0;n<s;n+=1)this.v[n]=e.k[n]*this.mult,this.pv[n]=e.k[n];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(t,e,i,r){this.propType="unidimensional",this.keyframes=e.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.frameId=-1,this._caching={lastFrame:initFrame,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=e,this.mult=i||1,this.elem=t,this.container=r,this.comp=t.comp,this.v=initFrame,this.pv=initFrame,this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.addEffect=addEffect}function KeyframedMultidimensionalProperty(t,e,i,r){var n;this.propType="multidimensional";var s,a,o,h,l=e.k.length;for(n=0;n<l-1;n+=1)e.k[n].to&&e.k[n].s&&e.k[n+1]&&e.k[n+1].s&&(s=e.k[n].s,a=e.k[n+1].s,o=e.k[n].to,h=e.k[n].ti,(2===s.length&&(s[0]!==a[0]||s[1]!==a[1])&&bez.pointOnLine2D(s[0],s[1],a[0],a[1],s[0]+o[0],s[1]+o[1])&&bez.pointOnLine2D(s[0],s[1],a[0],a[1],a[0]+h[0],a[1]+h[1])||3===s.length&&(s[0]!==a[0]||s[1]!==a[1]||s[2]!==a[2])&&bez.pointOnLine3D(s[0],s[1],s[2],a[0],a[1],a[2],s[0]+o[0],s[1]+o[1],s[2]+o[2])&&bez.pointOnLine3D(s[0],s[1],s[2],a[0],a[1],a[2],a[0]+h[0],a[1]+h[1],a[2]+h[2]))&&(e.k[n].to=null,e.k[n].ti=null),s[0]===a[0]&&s[1]===a[1]&&0===o[0]&&0===o[1]&&0===h[0]&&0===h[1]&&(2===s.length||s[2]===a[2]&&0===o[2]&&0===h[2])&&(e.k[n].to=null,e.k[n].ti=null));this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.data=e,this.keyframes=e.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=i||1,this.elem=t,this.container=r,this.comp=t.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var p=e.k[0].s.length;for(this.v=createTypedArray("float32",p),this.pv=createTypedArray("float32",p),n=0;n<p;n+=1)this.v[n]=initFrame,this.pv[n]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",p)},this.addEffect=addEffect}var PropertyFactory={getProp:function(t,e,i,r,n){var s;if(e.sid&&(e=t.globalData.slotManager.getProp(e)),e.k.length)if("number"==typeof e.k[0])s=new MultiDimensionalProperty(t,e,r,n);else switch(i){case 0:s=new KeyframedValueProperty(t,e,r,n);break;case 1:s=new KeyframedMultidimensionalProperty(t,e,r,n)}else s=new ValueProperty(t,e,r,n);return s.effectsSequence.length&&n.addDynamicProperty(s),s}};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(){var t;this._mdf=!1;var 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 pointPool=poolFactory(8,(function(){return createTypedArray("float32",2)}));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);for(var i=0;i<e;)this.v[i]=pointPool.newElement(),this.o[i]=pointPool.newElement(),this.i[i]=pointPool.newElement(),i+=1},ShapePath.prototype.setLength=function(t){for(;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,i,r,n){var s;switch(this._length=Math.max(this._length,r+1),this._length>=this._maxLength&&this.doubleArrayLength(),i){case"v":s=this.v;break;case"i":s=this.i;break;case"o":s=this.o;break;default:s=[]}(!s[r]||s[r]&&!n)&&(s[r]=pointPool.newElement()),s[r][0]=t,s[r][1]=e},ShapePath.prototype.setTripleAt=function(t,e,i,r,n,s,a,o){this.setXYAt(t,e,"v",a,o),this.setXYAt(i,r,"o",a,o),this.setXYAt(n,s,"i",a,o)},ShapePath.prototype.reverse=function(){var t=new ShapePath;t.setPathData(this.c,this._length);var e=this.v,i=this.o,r=this.i,n=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],r[0][0],r[0][1],i[0][0],i[0][1],0,!1),n=1);var s,a=this._length-1,o=this._length;for(s=n;s<o;s+=1)t.setTripleAt(e[a][0],e[a][1],r[a][0],r[a][1],i[a][0],i[a][1],s,!1),a-=1;return t},ShapePath.prototype.length=function(){return this._length};var shapePool=(factory=poolFactory(4,(function(){return new ShapePath}),(function(t){var e,i=t._length;for(e=0;e<i;e+=1)pointPool.release(t.v[e]),pointPool.release(t.i[e]),pointPool.release(t.o[e]),t.v[e]=null,t.i[e]=null,t.o[e]=null;t._length=0,t.c=!1})),factory.clone=function(t){var e,i=factory.newElement(),r=void 0===t._length?t.v.length:t._length;for(i.setLength(r),i.c=t.c,e=0;e<r;e+=1)i.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 i},factory),factory;function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}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)shapePool.release(this.shapes[t]);this._length=0};var shapeCollectionPool=(ob={newShapeCollection:function(){return _length?pool[_length-=1]:new ShapeCollection},release:function(t){var e,i=t._length;for(e=0;e<i;e+=1)shapePool.release(t.shapes[e]);t._length=0,_length===_maxLength&&(pool=pooling.double(pool),_maxLength*=2),pool[_length]=t,_length+=1}},_length=0,_maxLength=4,pool=createSizedArray(_maxLength),ob),ob,_length,_maxLength,pool,ShapePropertyFactory=function(){var t=-999999;function e(t,e,i){var r,n,s,a,o,h,l,p,c,f=i.lastIndex,u=this.keyframes;if(t<u[0].t-this.offsetTime)r=u[0].s[0],s=!0,f=0;else if(t>=u[u.length-1].t-this.offsetTime)r=u[u.length-1].s?u[u.length-1].s[0]:u[u.length-2].e[0],s=!0;else{for(var d,m,g,y=f,v=u.length-1,b=!0;b&&(d=u[y],!((m=u[y+1]).t-this.offsetTime>t));)y<v-1?y+=1:b=!1;if(g=this.keyframesMetadata[y]||{},f=y,!(s=1===d.h)){if(t>=m.t-this.offsetTime)p=1;else if(t<d.t-this.offsetTime)p=0;else{var x;g.__fnct?x=g.__fnct:(x=BezierFactory.getBezierEasing(d.o.x,d.o.y,d.i.x,d.i.y).get,g.__fnct=x),p=x((t-(d.t-this.offsetTime))/(m.t-this.offsetTime-(d.t-this.offsetTime)))}n=m.s?m.s[0]:d.e[0]}r=d.s[0]}for(h=e._length,l=r.i[0].length,i.lastIndex=f,a=0;a<h;a+=1)for(o=0;o<l;o+=1)c=s?r.i[a][o]:r.i[a][o]+(n.i[a][o]-r.i[a][o])*p,e.i[a][o]=c,c=s?r.o[a][o]:r.o[a][o]+(n.o[a][o]-r.o[a][o])*p,e.o[a][o]=c,c=s?r.v[a][o]:r.v[a][o]+(n.v[a][o]-r.v[a][o])*p,e.v[a][o]=c}function i(){var e=this.comp.renderedFrame-this.offsetTime,i=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime,n=this._caching.lastFrame;return n!==t&&(n<i&&e<i||n>r&&e>r)||(this._caching.lastIndex=n<e?this._caching.lastIndex:0,this.interpolateShape(e,this.pv,this._caching)),this._caching.lastFrame=e,this.pv}function r(){this.paths=this.localShapeCollection}function n(t){(function(t,e){if(t._length!==e._length||t.c!==e.c)return!1;var i,r=t._length;for(i=0;i<r;i+=1)if(t.v[i][0]!==e.v[i][0]||t.v[i][1]!==e.v[i][1]||t.o[i][0]!==e.o[i][0]||t.o[i][1]!==e.o[i][1]||t.i[i][0]!==e.i[i][0]||t.i[i][1]!==e.i[i][1])return!1;return!0})(this.v,t)||(this.v=shapePool.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{var t,e;this.lock=!0,this._mdf=!1,t=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k;var i=this.effectsSequence.length;for(e=0;e<i;e+=1)t=this.effectsSequence[e](t);this.setVValue(t),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function a(t,e,i){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 n=3===i?e.pt.k:e.ks.k;this.v=shapePool.clone(n),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=r,this.effectsSequence=[]}function o(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function h(e,n,s){this.propType="shape",this.comp=e.comp,this.elem=e,this.container=e,this.offsetTime=e.data.st,this.keyframes=3===s?n.pt.k:n.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var a=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,a),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=t,this.reset=r,this._caching={lastFrame:t,lastIndex:0},this.effectsSequence=[i.bind(this)]}a.prototype.interpolateShape=e,a.prototype.getValue=s,a.prototype.setVValue=n,a.prototype.addEffect=o,h.prototype.getValue=s,h.prototype.interpolateShape=e,h.prototype.setVValue=n,h.prototype.addEffect=o;var l=function(){var t=roundCorner;function e(t,e){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.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:r,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],i=this.p.v[1],r=this.s.v[0]/2,n=this.s.v[1]/2,s=3!==this.d,a=this.v;a.v[0][0]=e,a.v[0][1]=i-n,a.v[1][0]=s?e+r:e-r,a.v[1][1]=i,a.v[2][0]=e,a.v[2][1]=i+n,a.v[3][0]=s?e-r:e+r,a.v[3][1]=i,a.i[0][0]=s?e-r*t:e+r*t,a.i[0][1]=i-n,a.i[1][0]=s?e+r:e-r,a.i[1][1]=i-n*t,a.i[2][0]=s?e+r*t:e-r*t,a.i[2][1]=i+n,a.i[3][0]=s?e-r:e+r,a.i[3][1]=i+n*t,a.o[0][0]=s?e+r*t:e-r*t,a.o[0][1]=i-n,a.o[1][0]=s?e+r:e-r,a.o[1][1]=i+n*t,a.o[2][0]=s?e-r*t:e+r*t,a.o[2][1]=i+n,a.o[3][0]=s?e-r:e+r,a.o[3][1]=i-n*t}},extendPrototype([DynamicPropertyContainer],e),e}(),p=function(){function t(t,e){this.v=shapePool.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=Pro
vendor: 4,533 bytes, line 2
2pertyFactory.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=shapeCollectionPool.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:r,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,i,r,n=2*Math.floor(this.pt.v),s=2*Math.PI/n,a=!0,o=this.or.v,h=this.ir.v,l=this.os.v,p=this.is.v,c=2*Math.PI*o/(2*n),f=2*Math.PI*h/(2*n),u=-Math.PI/2;u+=this.r.v;var d=3===this.data.d?-1:1;for(this.v._length=0,t=0;t<n;t+=1){i=a?l:p,r=a?c:f;var m=(e=a?o:h)*Math.cos(u),g=e*Math.sin(u),y=0===m&&0===g?0:g/Math.sqrt(m*m+g*g),v=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-y*r*i*d,g-v*r*i*d,m+y*r*i*d,g+v*r*i*d,t,!0),a=!a,u+=s*d}},convertPolygonToPath:function(){var t,e=Math.floor(this.pt.v),i=2*Math.PI/e,r=this.or.v,n=this.os.v,s=2*Math.PI*r/(4*e),a=.5*-Math.PI,o=3===this.data.d?-1:1;for(a+=this.r.v,this.v._length=0,t=0;t<e;t+=1){var h=r*Math.cos(a),l=r*Math.sin(a),p=0===h&&0===l?0:l/Math.sqrt(h*h+l*l),c=0===h&&0===l?0:-h/Math.sqrt(h*h+l*l);h+=+this.p.v[0],l+=+this.p.v[1],this.v.setTripleAt(h,l,h-p*s*n*o,l-c*s*n*o,h+p*s*n*o,l+c*s*n*o,t,!0),a+=i*o}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],t),t}(),c=function(){function t(t,e){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.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],i=this.s.v[0]/2,r=this.s.v[1]/2,n=bmMin(i,r,this.r.v),s=n*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(t+i,e-r+n,t+i,e-r+n,t+i,e-r+s,0,!0),this.v.setTripleAt(t+i,e+r-n,t+i,e+r-s,t+i,e+r-n,1,!0),0!==n?(this.v.setTripleAt(t+i-n,e+r,t+i-n,e+r,t+i-s,e+r,2,!0),this.v.setTripleAt(t-i+n,e+r,t-i+s,e+r,t-i+n,e+r,3,!0),this.v.setTripleAt(t-i,e+r-n,t-i,e+r-n,t-i,e+r-s,4,!0),this.v.setTripleAt(t-i,e-r+n,t-i,e-r+s,t-i,e-r+n,5,!0),this.v.setTripleAt(t-i+n,e-r,t-i+n,e-r,t-i+s,e-r,6,!0),this.v.setTripleAt(t+i-n,e-r,t+i-s,e-r,t+i-n,e-r,7,!0)):(this.v.setTripleAt(t-i,e+r,t-i+s,e+r,t-i,e+r,2),this.v.setTripleAt(t-i,e-r,t-i,e-r+s,t-i,e-r,3))):(this.v.setTripleAt(t+i,e-r+n,t+i,e-r+s,t+i,e-r+n,0,!0),0!==n?(this.v.setTripleAt(t+i-n,e-r,t+i-n,e-r,t+i-s,e-r,1,!0),this.v.setTripleAt(t-i+n,e-r,t-i+s,e-r,t-i+n,e-r,2,!0),this.v.setTripleAt(t-i,e-r+n,t-i,e-r+n,t-i,e-r+s,3,!0),this.v.setTripleAt(t-i,e+r-n,t-i,e+r-s,t-i,e+r-n,4,!0),this.v.setTripleAt(t-i+n,e+r,t-i+n,e+r,t-i+s,e+r,5,!0),this.v.setTripleAt(t+i-n,e+r,t+i-s,e+r,t+i-n,e+r,6,!0),this.v.setTripleAt(t+i,e+r-n,t+i,e+r-n,t+i,e+r-s,7,!0)):(this.v.setTripleAt(t-i,e-r,t-i+s,e-r,t-i,e-r,1,!0),this.v.setTripleAt(t-i,e+r,t-i,e+r-s,t-i,e+r,2,!0),this.v.setTripleAt(t+i,e+r,t+i-s,e+r,t+i,e+r,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:r},extendPrototype([DynamicPropertyContainer],t),t}(),f={getShapeProp:function(t,e,i){var r;return 3===i||4===i?r=(3===i?e.pt:e.ks).k.length?new h(t,e,i):new a(t,e,i):5===i?r=new c(t,e):6===i?r=new l(t,e):7===i&&(r=new p(t,e)),r.k&&t.addDynamicProperty(r),r},getConstructorFunction:function(){return a},getKeyframedConstructorFunction:function(){return h}};return f}(),Matrix=function(){var t=Math.cos,e=Math.sin,i=Math.tan,r=Math.round;function n(){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 s(i){if(0===i)return this;var r=t(i),n=e(i);
vendor: 9,805 bytes, line 2
2return this._t(r,-n,0,0,n,r,0,0,0,0,1,0,0,0,0,1)}function a(i){if(0===i)return this;var r=t(i),n=e(i);return this._t(1,0,0,0,0,r,-n,0,0,n,r,0,0,0,0,1)}function o(i){if(0===i)return this;var r=t(i),n=e(i);return this._t(r,0,n,0,0,1,0,0,-n,0,r,0,0,0,0,1)}function h(i){if(0===i)return this;var r=t(i),n=e(i);return this._t(r,-n,0,0,n,r,0,0,0,0,1,0,0,0,0,1)}function l(t,e){return this._t(1,e,t,1,0,0)}function p(t,e){return this.shear(i(t),i(e))}function c(r,n){var s=t(n),a=e(n);return this._t(s,a,0,0,-a,s,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,i(r),1,0,0,0,0,1,0,0,0,0,1)._t(s,-a,0,0,a,s,0,0,0,0,1,0,0,0,0,1)}function f(t,e,i){return i||0===i||(i=1),1===t&&1===e&&1===i?this:this._t(t,0,0,0,0,e,0,0,0,0,i,0,0,0,0,1)}function u(t,e,i,r,n,s,a,o,h,l,p,c,f,u,d,m){return this.props[0]=t,this.props[1]=e,this.props[2]=i,this.props[3]=r,this.props[4]=n,this.props[5]=s,this.props[6]=a,this.props[7]=o,this.props[8]=h,this.props[9]=l,this.props[10]=p,this.props[11]=c,this.props[12]=f,this.props[13]=u,this.props[14]=d,this.props[15]=m,this}function d(t,e,i){return i=i||0,0!==t||0!==e||0!==i?this._t(1,0,0,0,0,1,0,0,0,0,1,0,t,e,i,1):this}function m(t,e,i,r,n,s,a,o,h,l,p,c,f,u,d,m){var g=this.props;if(1===t&&0===e&&0===i&&0===r&&0===n&&1===s&&0===a&&0===o&&0===h&&0===l&&1===p&&0===c)return g[12]=g[12]*t+g[15]*f,g[13]=g[13]*s+g[15]*u,g[14]=g[14]*p+g[15]*d,g[15]*=m,this._identityCalculated=!1,this;var y=g[0],v=g[1],b=g[2],x=g[3],_=g[4],E=g[5],S=g[6],P=g[7],C=g[8],w=g[9],T=g[10],A=g[11],k=g[12],M=g[13],D=g[14],F=g[15];return g[0]=y*t+v*n+b*h+x*f,g[1]=y*e+v*s+b*l+x*u,g[2]=y*i+v*a+b*p+x*d,g[3]=y*r+v*o+b*c+x*m,g[4]=_*t+E*n+S*h+P*f,g[5]=_*e+E*s+S*l+P*u,g[6]=_*i+E*a+S*p+P*d,g[7]=_*r+E*o+S*c+P*m,g[8]=C*t+w*n+T*h+A*f,g[9]=C*e+w*s+T*l+A*u,g[10]=C*i+w*a+T*p+A*d,g[11]=C*r+w*o+T*c+A*m,g[12]=k*t+M*n+D*h+F*f,g[13]=k*e+M*s+D*l+F*u,g[14]=k*i+M*a+D*p+F*d,g[15]=k*r+M*o+D*c+F*m,this._identityCalculated=!1,this}function g(t){var e=t.props;return this.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])}function y(){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){for(var e=0;e<16;){if(t.props[e]!==this.props[e])return!1;e+=1}return!0}function b(t){var e;for(e=0;e<16;e+=1)t.props[e]=this.props[e];return t}function x(t){var e;for(e=0;e<16;e+=1)this.props[e]=t[e]}function _(t,e,i){return{x:t*this.props[0]+e*this.props[4]+i*this.props[8]+this.props[12],y:t*this.props[1]+e*this.props[5]+i*this.props[9]+this.props[13],z:t*this.props[2]+e*this.props[6]+i*this.props[10]+this.props[14]}}function E(t,e,i){return t*this.props[0]+e*this.props[4]+i*this.props[8]+this.props[12]}function S(t,e,i){return t*this.props[1]+e*this.props[5]+i*this.props[9]+this.props[13]}function P(t,e,i){return t*this.props[2]+e*this.props[6]+i*this.props[10]+this.props[14]}function C(){var t=this.props[0]*this.props[5]-this.props[1]*this.props[4],e=this.props[5]/t,i=-this.props[1]/t,r=-this.props[4]/t,n=this.props[0]/t,s=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/t,a=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/t,o=new Matrix;return o.props[0]=e,o.props[1]=i,o.props[4]=r,o.props[5]=n,o.props[12]=s,o.props[13]=a,o}function w(t){return this.getInverseMatrix().applyToPointArray(t[0],t[1],t[2]||0)}function T(t){var e,i=t.length,r=[];for(e=0;e<i;e+=1)r[e]=w(t[e]);return r}function A(t,e,i){var r=createTypedArray("float32",6);if(this.isIdentity())r[0]=t[0],r[1]=t[1],r[2]=e[0],r[3]=e[1],r[4]=i[0],r[5]=i[1];else{var n=this.props[0],s=this.props[1],a=this.props[4],o=this.props[5],h=this.props[12],l=this.props[13];r[0]=t[0]*n+t[1]*a+h,r[1]=t[0]*s+t[1]*o+l,r[2]=e[0]*n+e[1]*a+h,r[3]=e[0]*s+e[1]*o+l,r[4]=i[0]*n+i[1]*a+h,r[5]=i[0]*s+i[1]*o+l}return r}function k(t,e,i){return this.isIdentity()?[t,e,i]:[t*this.props[0]+e*this.props[4]+i*this.props[8]+this.props[12],t*this.props[1]+e*this.props[5]+i*this.props[9]+this.props[13],t*this.props[2]+e*this.props[6]+i*this.props[10]+this.props[14]]}function M(t,e){if(this.isIdentity())return t+","+e;var i=this.props;return Math.round(100*(t*i[0]+e*i[4]+i[12]))/100+","+Math.round(100*(t*i[1]+e*i[5]+i[13]))/100}function D(){for(var t=0,e=this.props,i="matrix3d(";t<16;)i+=r(1e4*e[t])/1e4,i+=15===t?")":",",t+=1;return i}function F(t){return t<1e-6&&t>0||t>-1e-6&&t<0?r(1e4*t)/1e4:t}function I(){var t=this.props;return"matrix("+F(t[0])+","+F(t[1])+","+F(t[4])+","+F(t[5])+","+F(t[12])+","+F(t[13])+")"}return function(){this.reset=n,this.rotate=s,this.rotateX=a,this.rotateY=o,this.rotateZ=h,this.skew=p,this.skewFromAxis=c,this.shear=l,this.scale=f,this.setTransform=u,this.translate=d,this.transform=m,this.multiply=g,this.applyToPoint=_,this.applyToX=E,this.applyToY=S,this.applyToZ=P,this.applyToPointArray=k,this.applyToTriplePoints=A,this.applyToPointStringified=M,this.toCSS=D,this.to2dCSS=I,this.clone=b,this.cloneFromProps=x,this.equals=v,this.inversePoints=T,this.inversePoint=w,this.getInverseMatrix=C,this._t=this.transform,this.isIdentity=y,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(t){return _typeof$3="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$3(t)}var lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";function setLocation(t){setLocationHref(t)}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(t){setSubframeEnabled(t)}function setPrefix(t){setIdPrefix(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":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10)}else!isNaN(t)&&t>1&&setDefaultCurveSegments(t);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return"undefined"!=typeof navigator}function installPlugin(t,e){"expressions"===t&&setExpressionsPlugin(e)}function getFactory(t){switch(t){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(t){for(var e=queryString.split("&"),i=0;i<e.length;i+=1){var r=e[i].split("=");if(decodeURIComponent(r[0])==t)return decodeURIComponent(r[1])}return null}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,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.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.12.2";var queryString="";if(standalone){var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",renderer=getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{"object"!==_typeof$3(exports)&&__webpack_require__.amdO}catch(t){}var ShapeModifiers=function(){var t={},e={};return t.registerModifier=function(t,i){e[t]||(e[t]=i)},t.getModifier=function(t,i,r){return new e[t](i,r)},t}();function ShapeModifier(){}function TrimModifier(){}function PuckerAndBloatModifier(){}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:shapeCollectionPool.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=Pro
vendor: 4,178 bytes, line 2
2pertyFactory.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,i,r,n){var s=[];e<=1?s.push({s:t,e:e}):t>=1?s.push({s:t-1,e:e-1}):(s.push({s:t,e:1}),s.push({s:0,e:e-1}));var a,o,h=[],l=s.length;for(a=0;a<l;a+=1){var p,c;(o=s[a]).e*n<r||o.s*n>r+i||(p=o.s*n<=r?0:(o.s*n-r)/i,c=o.e*n>=r+i?1:(o.e*n-r)/i,h.push([p,c]))}return h.length||h.push([0,0]),h},TrimModifier.prototype.releasePathsData=function(t){var e,i=t.length;for(e=0;e<i;e+=1)segmentsLengthPool.release(t[e]);return t.length=0,t},TrimModifier.prototype.processShapes=function(t){var e,i,r,n;if(this._mdf||t){var s=this.o.v%360/360;if(s<0&&(s+=1),(e=this.s.v>1?1+s:this.s.v<0?0+s:this.s.v+s)>(i=this.e.v>1?1+s:this.e.v<0?0+s:this.e.v+s)){var a=e;e=i,i=a}e=1e-4*Math.round(1e4*e),i=1e-4*Math.round(1e4*i),this.sValue=e,this.eValue=i}else e=this.sValue,i=this.eValue;var o,h,l,p,c,f=this.shapes.length,u=0;if(i===e)for(n=0;n<f;n+=1)this.shapes[n].localShapeCollection.releaseShapes(),this.shapes[n].shape._mdf=!0,this.shapes[n].shape.paths=this.shapes[n].localShapeCollection,this._mdf&&(this.shapes[n].pathsData.length=0);else if(1===i&&0===e||0===i&&1===e){if(this._mdf)for(n=0;n<f;n+=1)this.shapes[n].pathsData.length=0,this.shapes[n].shape._mdf=!0}else{var d,m,g=[];for(n=0;n<f;n+=1)if((d=this.shapes[n]).shape._mdf||this._mdf||t||2===this.m){if(h=(r=d.shape.paths)._length,c=0,!d.shape._mdf&&d.pathsData.length)c=d.totalShapeLength;else{for(l=this.releasePathsData(d.pathsData),o=0;o<h;o+=1)p=bez.getSegmentsLength(r.shapes[o]),l.push(p),c+=p.totalLength;d.totalShapeLength=c,d.pathsData=l}u+=c,d.shape._mdf=!0}else d.shape.paths=d.localShapeCollection;var y,v=e,b=i,x=0;for(n=f-1;n>=0;n-=1)if((d=this.shapes[n]).shape._mdf){for((m=d.localShapeCollection).releaseShapes(),2===this.m&&f>1?(y=this.calculateShapeEdges(e,i,d.totalShapeLength,x,u),x+=d.totalShapeLength):y=[[v,b]],h=y.length,o=0;o<h;o+=1){v=y[o][0],b=y[o][1],g.length=0,b<=1?g.push({s:d.totalShapeLength*v,e:d.totalShapeLength*b}):v>=1?g.push({s:d.totalShapeLength*(v-1),e:d.totalShapeLength*(b-1)}):(g.push({s:d.totalShapeLength*v,e:d.totalShapeLength}),g.push({s:0,e:d.totalShapeLength*(b-1)}));var _=this.addShapes(d,g[0]);if(g[0].s!==g[0].e){if(g.length>1)if(d.shape.paths.shapes[d.shape.paths._length-1].c){var E=_.pop();this.addPaths(_,m),_=this.addShapes(d,g[1],E)}else this.addPaths(_,m),_=this.addShapes(d,g[1]);this.addPaths(_,m)}}d.shape.paths=m}}},TrimModifier.prototype.addPaths=function(t,e){var i,r=t.length;for(i=0;i<r;i+=1)e.addShape(t[i])},TrimModifier.prototype.addSegment=function(t,e,i,r,n,s,a){n.setXYAt(e[0],e[1],"o",s),n.setXYAt(i[0],i[1],"i",s+1),a&&n.setXYAt(t[0],t[1],"v",s),n.setXYAt(r[0],r[1],"v",s+1)},TrimModifier.prototype.addSegmentFromArray=function(t,e,i,r){e.setXYAt(t[1],t[5],"o",i),e.setXYAt(t[2],t[6],"i",i+1),r&&e.setXYAt(t[0],t[4],"v",i),e.setXYAt(t[3],t[7],"v",i+1)},TrimModifier.prototype.addShapes=function(t,e,i){var r,n,s,a,o,h,l,p,c=t.pathsData,f=t.shape.paths.shapes,u=t.shape.paths._length,d=0,m=[],g=!0;for(i?(o=i._length,p=i._length):(i=shapePool.newElement(),o=0,p=0),m.push(i),r=0;r<u;r+=1){for(h=c[r].lengths,i.c=f[r].c,s=f[r].c?h.length:h.length+1,n=1;n<s;n+=1)if(d+(a=h[n-1]).addedLength<e.s)d+=a.addedLength,i.c=!1;else{if(d>e.e){i.c=!1;break}e.s<=d&&e.e>=d+a.addedLength?(this.addSegment(f[r].v[n-1],f[r].o[n-1],f[r].i[n],f[r].v[n],i,o,g),g=!1):(l=bez.getNewSegment(f[r].v[n-1],f[r].v[n],f[r].o[n-1],f[r].i[n],(e.s-d)/a.addedLength,(e.e-d)/a.addedLength,h[n-1]),this.addSegmentFromArray(l,i,o,g),g=!1,i.c=!1),d+=a.addedLength,o+=1}if(f[r].c&&h.length){if(a=h[n-1],d<=e.e){var y=h[n-1].addedLength;e.s<=d&&e.e>=d+y?(this.addSegment(f[r].v[n-1],f[r].o[n-1],f[r].i[0],f[r].v[0],i,o,g),g=!1):(l=bez.getNewSegment(f[r].v[n-1],f[r].v[0],f[r].o[n-1],f[r].i[0],(e.s-d)/y,(e.e-d)/y,h[n-1]),this.addSegmentFromArray(l,i,o,g),g=!1,i.c=!1)}else i.c=!1;d+=a.addedLength,o+=1}
vendor: 35,854 bytes, line 2
2if(i._length&&(i.setXYAt(i.v[p][0],i.v[p][1],"i",p),i.setXYAt(i.v[i._length-1][0],i.v[i._length-1][1],"o",i._length-1)),d>e.e)break;r<u-1&&(i=shapePool.newElement(),g=!0,m.push(i),o=0)}return m},extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(t,e.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(t,e){var i=e/100,r=[0,0],n=t._length,s=0;for(s=0;s<n;s+=1)r[0]+=t.v[s][0],r[1]+=t.v[s][1];r[0]/=n,r[1]/=n;var a,o,h,l,p,c,f=shapePool.newElement();for(f.c=t.c,s=0;s<n;s+=1)a=t.v[s][0]+(r[0]-t.v[s][0])*i,o=t.v[s][1]+(r[1]-t.v[s][1])*i,h=t.o[s][0]+(r[0]-t.o[s][0])*-i,l=t.o[s][1]+(r[1]-t.o[s][1])*-i,p=t.i[s][0]+(r[0]-t.i[s][0])*-i,c=t.i[s][1]+(r[1]-t.i[s][1])*-i,f.setTripleAt(a,o,h,l,p,c,s);return f},PuckerAndBloatModifier.prototype.processShapes=function(t){var e,i,r,n,s,a,o=this.shapes.length,h=this.amount.v;if(0!==h)for(i=0;i<o;i+=1){if(a=(s=this.shapes[i]).localShapeCollection,s.shape._mdf||this._mdf||t)for(a.releaseShapes(),s.shape._mdf=!0,e=s.shape.paths.shapes,n=s.shape.paths._length,r=0;r<n;r+=1)a.addShape(this.processPath(e[r],h));s.shape.paths=s.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var t=[0,0];function e(t,e,i){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(i||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 r,n=e.or.k.length;for(r=0;r<n;r+=1)e.or.k[r].to=null,e.or.k[r].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)}return e.prototype={applyToMatrix:function(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])},getValue:function(e){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||e){var i;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,n;if(i=this.elem.globalData.frameRate,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)/i,0),n=this.p.getValueAtTime(this.p.keyframes[0].t/i,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/i,0),n=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/i,0)):(r=this.p.pv,n=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/i,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){r=[],n=[];var s=this.px,a=this.py;s._caching.lastFrame+s.offsetTime<=s.keyframes[0].t?(r[0]=s.getValueAtTime((s.keyframes[0].t+.01)/i,0),r[1]=a.getValueAtTime((a.keyframes[0].t+.01)/i,0),n[0]=s.getValueAtTime(s.keyframes[0].t/i,0),n[1]=a.getValueAtTime(a.keyframes[0].t/i,0)):s._caching.lastFrame+s.offsetTime>=s.keyframes[s.keyframes.length-1].t?(r[0]=s.getValueAtTime(s.keyframes[s.keyframes.length-1].t/i,0),r[1]=a.getValueAtTime(a.keyframes[a.keyframes.length-1].t/i,0),n[0]=s.getValueAtTime((s.keyframes[s.keyframes.length-1].t-.01)/i,0),n[1]=a.getValueAtTime((a.keyframes[a.keyframes.length-1].t-.01)/i,0)):(r=[s.pv,a.pv],n[0]=s.getValueAtTime((s._caching.lastFrame+s.offsetTime-.01)/i,s.offsetTime),n[1]=a.getValueAtTime((a._caching.lastFrame+a.offsetTime-.01)/i,a.offsetTime))}else r=n=t;this.v.rotate(-Math.atan2(r[1]-n[1],r[0]-n[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}},precalculateMatrix:function(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length&&(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}this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):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)}},autoOrient:function(){}},extendPrototype([DynamicPropertyContainer],e),e.prototype.addDynamicProperty=function(t){this._addDynamicProperty(t),this.elem.addDynamicProperty(t),this._isDirty=!0},e.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(t,i,r){return new e(t,i,r)}}}();function RepeaterModifier(){}function RoundCornersModifier(){}function floatEqual(t,e){return 1e5*Math.abs(t-e)<=Math.min(Math.abs(t),Math.abs(e))}function floatZero(t){return Math.abs(t)<=1e-5}function lerp(t,e,i){return t*(1-i)+e*i}function lerpPoint(t,e,i){return[lerp(t[0],e[0],i),lerp(t[1],e[1],i)]}function quadRoots(t,e,i){if(0===t)return[];var r=e*e-4*t*i;if(r<0)return[];var n=-e/(2*t);if(0===r)return[n];var s=Math.sqrt(r)/(2*t);return[n-s,n+s]}function polynomialCoefficients(t,e,i,r){return[3*e-t-3*i+r,3*t-6*e+3*i,-3*t+3*e,t]}function singlePoint(t){return new PolynomialBezier(t,t,t,t,!1)}function PolynomialBezier(t,e,i,r,n){n&&pointEqual(t,e)&&(e=lerpPoint(t,r,1/3)),n&&pointEqual(i,r)&&(i=lerpPoint(t,r,2/3));var s=polynomialCoefficients(t[0],e[0],i[0],r[0]),a=polynomialCoefficients(t[1],e[1],i[1],r[1]);this.a=[s[0],a[0]],this.b=[s[1],a[1]],this.c=[s[2],a[2]],this.d=[s[3],a[3]],this.points=[t,e,i,r]}function extrema(t,e){var i=t.points[0][e],r=t.points[t.points.length-1][e];if(i>r){var n=r;r=i,i=n}for(var s=quadRoots(3*t.a[e],2*t.b[e],t.c[e]),a=0;a<s.length;a+=1)if(s[a]>0&&s[a]<1){var o=t.point(s[a])[e];o<i?i=o:o>r&&(r=o)}return{min:i,max:r}}function intersectData(t,e,i){var r=t.boundingBox();return{cx:r.cx,cy:r.cy,width:r.width,height:r.height,bez:t,t:(e+i)/2,t1:e,t2:i}}function splitData(t){var e=t.bez.split(.5);return[intersectData(e[0],t.t1,t.t),intersectData(e[1],t.t,t.t2)]}function boxIntersect(t,e){return 2*Math.abs(t.cx-e.cx)<t.width+e.width&&2*Math.abs(t.cy-e.cy)<t.height+e.height}function intersectsImpl(t,e,i,r,n,s){if(boxIntersect(t,e))if(i>=s||t.width<=r&&t.height<=r&&e.width<=r&&e.height<=r)n.push([t.t,e.t]);else{var a=splitData(t),o=splitData(e);intersectsImpl(a[0],o[0],i+1,r,n,s),intersectsImpl(a[0],o[1],i+1,r,n,s),intersectsImpl(a[1],o[0],i+1,r,n,s),intersectsImpl(a[1],o[1],i+1,r,n,s)}}function crossProduct(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function lineIntersection(t,e,i,r){var n=[t[0],t[1],1],s=[e[0],e[1],1],a=[i[0],i[1],1],o=[r[0],r[1],1],h=crossProduct(crossProduct(n,s),crossProduct(a,o));return floatZero(h[2])?null:[h[0]/h[2],h[1]/h[2]]}function polarOffset(t,e,i){return[t[0]+Math.cos(e)*i,t[1]-Math.sin(e)*i]}function pointDistance(t,e){return Math.hypot(t[0]-e[0],t[1]-e[1])}function pointEqual(t,e){return floatEqual(t[0],e[0])&&floatEqual(t[1],e[1])}function ZigZagModifier(){}function setPoint(t,e,i,r,n,s,a){var o=i-Math.PI/2,h=i+Math.PI/2,l=e[0]+Math.cos(i)*r*n,p=e[1]-Math.sin(i)*r*n;t.setTripleAt(l,p,l+Math.cos(o)*s,p-Math.sin(o)*s,l+Math.cos(h)*a,p-Math.sin(h)*a,t.length())}function getPerpendicularVector(t,e){var i=[e[0]-t[0],e[1]-t[1]],r=.5*-Math.PI;return[Math.cos(r)*i[0]-Math.sin(r)*i[1],Math.sin(r)*i[0]+Math.cos(r)*i[1]]}function getProjectingAngle(t,e){var i=0===e?t.length()-1:e-1,r=(e+1)%t.length(),n=getPerpendicularVector(t.v[i],t.v[r]);return Math.atan2(0,1)-Math.atan2(n[1],n[0])}function zigZagCorner(t,e,i,r,n,s,a){var o=getProjectingAngle(e,i),h=e.v[i%e._length],l=e.v[0===i?e._length-1:i-1],p=e.v[(i+1)%e._length],c=2===s?Math.sqrt(Math.pow(h[0]-l[0],2)+Math.pow(h[1]-l[1],2)):0,f=2===s?Math.sqrt(Math.pow(h[0]-p[0],2)+Math.pow(h[1]-p[1],2)):0;setPoint(t,e.v[i%e._length],o,a,r,f/(2*(n+1)),c/(2*(n+1)),s)}function zigZagSegment(t,e,i,r,n,s){for(var a=0;a<r;a+=1){var o=(a+1)/(r+1),h=2===n?Math.sqrt(Math.pow(e.points[3][0]-e.points[0][0],2)+Math.pow(e.points[3][1]-e.points[0][1],2)):0,l=e.normalAngle(o);setPoint(t,e.point(o),l,s,i,h/(2*(r+1)),h/(2*(r+1)),n),s=-s}return s}function linearOffset(t,e,i){var r=Math.atan2(e[0]-t[0],e[1]-t[1]);return[polarOffset(t,r,i),polarOffset(e,r,i)]}function offsetSegment(t,e){var i,r,n,s,a,o,h;i=(h=linearOffset(t.points[0],t.points[1],e))[0],r=h[1],n=(h=linearOffset(t.points[1],t.points[2],e))[0],s=h[1],a=(h=linearOffset(t.points[2],t.points[3],e))[0],o=h[1];var l=lineIntersection(i,r,n,s);null===l&&(l=r);var p=lineIntersection(a,o,n,s);return null===p&&(p=a),new PolynomialBezier(i,l,p,o)}function joinLines(t,e,i,r,n){var s=e.points[3],a=i.points[0];if(3===r)return s;if(pointEqual(s,a))return s;if(2===r){var o=-e.tangentAngle(1),h=-i.tangentAngle(0)+Math.PI,l=lineIntersection(s,polarOffset(s,o+Math.PI/2,100),a,polarOffset(a,o+Math.PI/2,100)),p=l?pointDistance(l,s):pointDistance(s,a)/2,c=polarOffset(s,o,2*p*roundCorner);return t.setXYAt(c[0],c[1],"o",t.length()-1),c=polarOffset(a,h,2*p*roundCorner),t.setTripleAt(a[0],a[1],a[0],a[1],c[0],c[1],t.length()),a}var f=lineIntersection(pointEqual(s,e.points[2])?e.points[0]:e.points[2],s,a,pointEqual(a,i.points[1])?i.points[3]:i.points[1]);return f&&pointDistance(f,s)<n?(t.setTripleAt(f[0],f[1],f[0],f[1],f[0],f[1],t.length()),f):s}function getIntersection(t,e){var i=t.intersections(e);return i.length&&floatEqual(i[0][0],1)&&i.shift(),i.length?i[0]:null}function pruneSegmentIntersection(t,e){var i=t.slice(),r=e.slice(),n=getIntersection(t[t.length-1],e[0]);return n&&(i[t.length-1]=t[t.length-1].split(n[0])[0],r[0]=e[0].split(n[1])[1]),t.length>1&&e.length>1&&(n=getIntersection(t[0],e[e.length-1]))?[[t[0].split(n[0])[0]],[e[e.length-1].split(n[1])[1]]]:[i,r]}function pruneIntersections(t){for(var e,i=1;i<t.length;i+=1)e=pruneSegmentIntersection(t[i-1],t[i]),t[i-1]=e[0],t[i]=e[1];return t.length>1&&(e=pruneSegmentIntersection(t[t.length-1],t[0]),t[t.length-1]=e[0],t[0]=e[1]),t}function offsetSegmentSplit(t,e){var i,r,n,s,a=t.inflectionPoints();if(0===a.length)return[offsetSegment(t,e)];if(1===a.length||floatEqual(a[1],1))return i=(n=t.split(a[0]))[0],r=n[1],[offsetSegment(i,e),offsetSegment(r,e)];i=(n=t.split(a[0]))[0];var o=(a[1]-a[0])/(1-a[0]);return s=(n=n[1].split(o))[0],r=n[1],[offsetSegment(i,e),offsetSegment(s,e),offsetSegment(r,e)]}function OffsetPathModifier(){}function getFontProperties(t){for(var e=t.fStyle?t.fStyle.split(" "):[],i="normal",r="normal",n=e.length,s=0;s<n;s+=1)switch(e[s].toLowerCase()){case"italic":r="italic";break;case"bold":i="700";break;case"black":i="900";break;case"medium":i="500";break;case"regular":case"normal":i="400";break;case"light":case"thin":i="200"}return{style:r,weight:t.fWeight||i}}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,i,r,n,s){var a=s?-1:1,o=r.s.v[0]+(1-r.s.v[0])*(1-n),h=r.s.v[1]+(1-r.s.v[1])*(1-n);t.translate(r.p.v[0]*a*n,r.p.v[1]*a*n,r.p.v[2]),e.translate(-r.a.v[0],-r.a.v[1],r.a.v[2]),e.rotate(-r.r.v*a*n),e.translate(r.a.v[0],r.a.v[1],r.a.v[2]),i.translate(-r.a.v[0],-r.a.v[1],r.a.v[2]),i.scale(s?1/o:o,s?1/h:h),i.translate(r.a.v[0],r.a.v[1],r.a.v[2])},RepeaterModifier.prototype.init=function(t,e,i,r){for(this.elem=t,this.arr=e,this.pos=i,this.elemsData=r,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e[i]);i>0;)i-=1,this._elements.unshift(e[i]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(t){var e,i=t.length;for(e=0;e<i;e+=1)t[e]._processed=!1,"gr"===t[e].ty&&this.resetElements(t[e].it)},RepeaterModifier.prototype.cloneElements=function(t){var e=JSON.parse(JSON.stringify(t));return this.resetElements(e),e},RepeaterModifier.prototype.changeGroupRender=function(t,e){var i,r=t.length;for(i=0;i<r;i+=1)t[i]._render=e,"gr"===t[i].ty&&this.changeGroupRender(t[i].it,e)},RepeaterModifier.prototype.processShapes=function(t){var e,i,r,n,s,a=!1;if(this._mdf||t){var o,h=Math.ceil(this.c.v);if(this._groups.length<h){for(;this._groups.length<h;){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(),a=!0}for(s=0,r=0;r<=this._groups.length-1;r+=1){if(o=s<h,this._groups[r]._render=o,this.changeGroupRender(this._groups[r].it,o),!o){var p=this.elemsData[r].it,c=p[p.length-1];0!==c.transform.op.v?(c.transform.op._mdf=!0,c.transform.op.v=0):c.transform.op._mdf=!1}s+=1}this._currentCopies=h;var f=this.o.v,u=f%1,d=f>0?Math.floor(f):Math.ceil(f),m=this.pMatrix.props,g=this.rMatrix.props,y=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var v,b,x=0;if(f>0){for(;x<d;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),x+=1;u&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,u,!1),x+=u)}else if(f<0){for(;x>d;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),x-=1;u&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-u,!0),x-=u)}for(r=1===this.data.m?0:this._currentCopies-1,n=1===this.data.m?1:-1,s=this._currentCopies;s;){if(b=(i=(e=this.elemsData[r].it)[e.length-1].transform.mProps.v.props).length,e[e.length-1].transform.mProps._mdf=!0,e[e.length-1].transform.op._mdf=!0,e[e.length-1].transform.op.v=1===this._currentCopies?this.so.v:this.so.v+(this.eo.v-this.so.v)*(r/(this._currentCopies-1)),0!==x){for((0!==r&&1===n||r!==this._currentCopies-1&&-1===n)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),this.matrix.transform(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15]),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),v=0;v<b;v+=1)i[v]=this.matrix.props[v];this.matrix.reset()}else for(this.matrix.reset(),v=0;v<b;v+=1)i[v]=this.matrix.props[v];x+=1,s-=1,r+=n}}else for(s=this._currentCopies,r=0,n=1;s;)i=(e=this.elemsData[r].it)[e.length-1].transform.mProps.v.props,e[e.length-1].transform.mProps._mdf=!1,e[e.length-1].transform.op._mdf=!1,s-=1,r+=n;return a},RepeaterModifier.prototype.addShape=function(){},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 i,r=shapePool.newElement();r.c=t.c;var n,s,a,o,h,l,p,c,f,u,d,m,g=t._length,y=0;for(i=0;i<g;i+=1)n=t.v[i],a=t.o[i],s=t.i[i],n[0]===a[0]&&n[1]===a[1]&&n[0]===s[0]&&n[1]===s[1]?0!==i&&i!==g-1||t.c?(o=0===i?t.v[g-1]:t.v[i-1],l=(h=Math.sqrt(Math.pow(n[0]-o[0],2)+Math.pow(n[1]-o[1],2)))?Math.min(h/2,e)/h:0,p=d=n[0]+(o[0]-n[0])*l,c=m=n[1]-(n[1]-o[1])*l,f=p-(p-n[0])*roundCorner,u=c-(c-n[1])*roundCorner,r.setTripleAt(p,c,f,u,d,m,y),y+=1,o=i===g-1?t.v[0]:t.v[i+1],l=(h=Math.sqrt(Math.pow(n[0]-o[0],2)+Math.pow(n[1]-o[1],2)))?Math.min(h/2,e)/h:0,p=f=n[0]+(o[0]-n[0])*l,c=u=n[1]+(o[1]-n[1])*l,d=p-(p-n[0])*roundCorner,m=c-(c-n[1])*roundCorner,r.setTripleAt(p,c,f,u,d,m,y),y+=1):(r.setTripleAt(n[0],n[1],a[0],a[1],s[0],s[1],y),y+=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],y),y+=1);return r},RoundCornersModifier.prototype.processShapes=function(t){var e,i,r,n,s,a,o=this.shapes.length,h=this.rd.v;if(0!==h)for(i=0;i<o;i+=1){if(a=(s=this.shapes[i]).localShapeCollection,s.shape._mdf||this._mdf||t)for(a.releaseShapes(),s.shape._mdf=!0,e=s.shape.paths.shapes,n=s.shape.paths._length,r=0;r<n;r+=1)a.addShape(this.processPath(e[r],h));s.shape.paths=s.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},PolynomialBezier.prototype.point=function(t){return[((this.a[0]*t+this.b[0])*t+this.c[0])*t+this.d[0],((this.a[1]*t+this.b[1])*t+this.c[1])*t+this.d[1]]},PolynomialBezier.prototype.derivative=function(t){return[(3*t*this.a[0]+2*this.b[0])*t+this.c[0],(3*t*this.a[1]+2*this.b[1])*t+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(t){var e=this.derivative(t);return Math.atan2(e[1],e[0])},PolynomialBezier.prototype.normalAngle=function(t){var e=this.derivative(t);return Math.atan2(e[0],e[1])},PolynomialBezier.prototype.inflectionPoints=function(){var t=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(t))return[];var e=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/t,i=e*e-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/t;if(i<0)return[];var r=Math.sqrt(i);return floatZero(r)?r>0&&r<1?[e]:[]:[e-r,e+r].filter((function(t){return t>0&&t<1}))},PolynomialBezier.prototype.split=function(t){if(t<=0)return[singlePoint(this.points[0]),this];if(t>=1)return[this,singlePoint(this.points[this.points.length-1])];var e=lerpPoint(this.points[0],this.points[1],t),i=lerpPoint(this.points[1],this.points[2],t),r=lerpPoint(this.points[2],this.points[3],t),n=lerpPoint(e,i,t),s=lerpPoint(i,r,t),a=lerpPoint(n,s,t);return[new PolynomialBezier(this.points[0],e,n,a,!0),new PolynomialBezier(a,s,r,this.points[3],!0)]},PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var t=this.bounds();return{left:t.x.min,right:t.x.max,top:t.y.min,bottom:t.y.max,width:t.x.max-t.x.min,height:t.y.max-t.y.min,cx:(t.x.max+t.x.min)/2,cy:(t.y.max+t.y.min)/2}},PolynomialBezier.prototype.intersections=function(t,e,i){void 0===e&&(e=2),void 0===i&&(i=7);var r=[];return intersectsImpl(intersectData(this,0,1),intersectData(t,0,1),0,e,r,i),r},PolynomialBezier.shapeSegment=function(t,e){var i=(e+1)%t.length();return new PolynomialBezier(t.v[e],t.o[e],t.i[i],t.v[i],!0)},PolynomialBezier.shapeSegmentInverted=function(t,e){var i=(e+1)%t.length();return new PolynomialBezier(t.v[i],t.i[i],t.o[e],t.v[e],!0)},extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(t,e.s,0,null,this),this.frequency=PropertyFactory.getProp(t,e.r,0,null,this),this.pointsType=PropertyFactory.getProp(t,e.pt,0,null,this),this._isAnimated=0!==this.amplitude.effectsSequence.length||0!==this.frequency.effectsSequence.length||0!==this.pointsType.effectsSequence.length},ZigZagModifier.prototype.processPath=function(t,e,i,r){var n=t._length,s=shapePool.newElement();if(s.c=t.c,t.c||(n-=1),0===n)return s;var a=-1,o=PolynomialBezier.shapeSegment(t,0);zigZagCorner(s,t,0,e,i,r,a);for(var h=0;h<n;h+=1)a=zigZagSegment(s,o,e,i,r,-a),o=h!==n-1||t.c?PolynomialBezier.shapeSegment(t,(h+1)%n):null,zigZagCorner(s,t,h+1,e,i,r,a);return s},ZigZagModifier.prototype.processShapes=function(t){var e,i,r,n,s,a,o=this.shapes.length,h=this.amplitude.v,l=Math.max(0,Math.round(this.frequency.v)),p=this.pointsType.v;if(0!==h)for(i=0;i<o;i+=1){if(a=(s=this.shapes[i]).localShapeCollection,s.shape._mdf||this._mdf||t)for(a.releaseShapes(),s.shape._mdf=!0,e=s.shape.paths.shapes,n=s.shape.paths._length,r=0;r<n;r+=1)a.addShape(this.processPath(e[r],h,l,p));s.shape.paths=s.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(t,e.a,0,null,this),this.miterLimit=PropertyFactory.getProp(t,e.ml,0,null,this),this.lineJoin=e.lj,this._isAnimated=0!==this.amount.effectsSequence.length},OffsetPathModifier.prototype.processPath=function(t,e,i,r){var n=shapePool.newElement();n.c=t.c;var s,a,o,h=t.length();t.c||(h-=1);var l=[];for(s=0;s<h;s+=1)o=PolynomialBezier.shapeSegment(t,s),l.push(offsetSegmentSplit(o,e));if(!t.c)for(s=h-1;s>=0;s-=1)o=PolynomialBezier.shapeSegmentInverted(t,s),l.push(offsetSegmentSplit(o,e));l=pruneIntersections(l);var p=null,c=null;for(s=0;s<l.length;s+=1){var f=l[s];for(c&&(p=joinLines(n,c,f[0],i,r)),c=f[f.length-1],a=0;a<f.length;a+=1)o=f[a],p&&pointEqual(o.points[0],p)?n.setXYAt(o.points[1][0],o.points[1][1],"o",n.length()-1):n.setTripleAt(o.points[0][0],o.points[0][1],o.points[1][0],o.points[1][1],o.points[0][0],o.points[0][1],n.length()),n.setTripleAt(o.points[3][0],o.points[3][1],o.points[3][0],o.points[3][1],o.points[2][0],o.points[2][1],n.length()),p=o.points[3]}return l.length&&joinLines(n,c,l[0][0],i,r),n},OffsetPathModifier.prototype.processShapes=function(t){var e,i,r,n,s,a,o=this.shapes.length,h=this.amount.v,l=this.miterLimit.v,p=this.lineJoin;if(0!==h)for(i=0;i<o;i+=1){if(a=(s=this.shapes[i]).localShapeCollection,s.shape._mdf||this._mdf||t)for(a.releaseShapes(),s.shape._mdf=!0,e=s.shape.paths.shapes,n=s.shape.paths._length,r=0;r<n;r+=1)a.addShape(this.processPath(e[r],h,p,l));s.shape.paths=s.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var FontManager=function(){var t={w:0,size:0,shapes:[],data:{shapes:[]}},e=[];e=e.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 i=127988,r=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function n(t,e){var i=createTag("span");i.setAttribute("aria-hidden",!0),i.style.fontFamily=e;var r=createTag("span");r.innerText="giItT1WQy@!-/#",i.style.position="absolute",i.style.left="-10000px",i.style.top="-10000px",i.style.fontSize="300px",i.style.fontVariant="normal",i.style.fontStyle="normal",i.style.fontWeight="normal",i.style.letterSpacing="0",i.appendChild(r),document.body.appendChild(i);var n=r.offsetWidth;return r.style.fontFamily=function(t){var e,i=t.split(","),r=i.length,n=[];for(e=0;e<r;e+=1)"sans-serif"!==i[e]&&"monospace"!==i[e]&&n.push(i[e]);return n.join(",")}(t)+", "+e,{node:r,w:n,parent:i}}function s(t,e){var i,r=document.body&&e?"svg":"canvas",n=getFontProperties(t);if("svg"===r){var s=createNS("text");s.style.fontSize="100px",s.setAttribute("font-family",t.fFamily),s.setAttribute("font-style",n.style),s.setAttribute("font-weight",n.weight),s.textContent="1",t.fClass?(s.style.fontFamily="inherit",s.setAttribute("class",t.fClass)):s.style.fontFamily=t.fFamily,e.appendChild(s),i=s}else{var a=new OffscreenCanvas(500,500).getContext("2d");a.font=n.style+" "+n.weight+" 100px "+t.fFamily,i=a}return{measureText:function(t){return"svg"===r?(i.textContent=t,i.getComputedTextLength()):i.measureText(t).width}}}function a(t){var e=0,i=t.charCodeAt(0);if(i>=55296&&i<=56319){var r=t.charCodeAt(1);r>=56320&&r<=57343&&(e=1024*(i-55296)+r-56320+65536)}return e}function o(t){var e=a(t);return e>=127462&&e<=127487}var h=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};h.isModifier=function(t,e){var i=t.toString(16)+e.toString(16);return-1!==r.indexOf(i)},h.isZeroWidthJoiner=function(t){return 8205===t},h.isFlagEmoji=function(t){return o(t.substr(0,2))&&o(t.substr(2,2))},h.isRegionalCode=o,h.isCombinedCharacter=function(t){return-1!==e.indexOf(t)},h.isRegionalFlag=function(t,e){var r=a(t.substr(e,2));if(r!==i)return!1;var n=0;for(e+=2;n<5;){if((r=a(t.substr(e,2)))<917601||r>917626)return!1;n+=1,e+=2}return 917631===a(t.substr(e,2))},h.isVariationSelector=function(t){return 65039===t},h.BLACK_FLAG_CODE_POINT=i;var l={addChars:function(t){if(t){var e;this.chars||(this.chars=[]);var i,r,n=t.length,s=this.chars.length;for(e=0;e<n;e+=1){for(i=0,r=!1;i<s;)this.chars[i].style===t[e].style&&this.chars[i].fFamily===t[e].fFamily&&this.chars[i].ch===t[e].ch&&(r=!0),i+=1;r||(this.chars.push(t[e]),s+=1)}}},addFonts:function(t,e){if(t){if(this.chars)return this.isLoaded=!0,void(this.fonts=t.list);if(!document.body)return this.isLoaded=!0,t.list.forEach((function(t){t.helper=s(t),t.cache={}})),void(this.fonts=t.list);var i,r=t.list,a=r.length,o=a;for(i=0;i<a;i+=1){var h,l,p=!0;if(r[i].loaded=!1,r[i].monoCase=n(r[i].fFamily,"monospace"),r[i].sansCase=n(r[i].fFamily,"sans-serif"),r[i].fPath){if("p"===r[i].fOrigin||3===r[i].origin){if((h=document.querySelectorAll('style[f-forigin="p"][f-family="'+r[i].fFamily+'"], style[f-origin="3"][f-family="'+r[i].fFamily+'"]')).length>0&&(p=!1),p){var c=createTag("style");c.setAttribute("f-forigin",r[i].fOrigin),c.setAttribute("f-origin",r[i].origin),c.setAttribute("f-family",r[i].fFamily),c.type="text/css",c.innerText="@font-face {font-family: "+r[i].fFamily+"; font-style: normal; src: url('"+r[i].fPath+"');}",e.appendChild(c)}}else if("g"===r[i].fOrigin||1===r[i].origin){for(h=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),l=0;l<h.length;l+=1)-1!==h[l].href.indexOf(r[i].fPath)&&(p=!1);if(p){var f=createTag("link");f.setAttribute("f-forigin",r[i].fOrigin),f.setAttribute("f-origin",r[i].origin),f.type="text/css",f.rel="stylesheet",f.href=r[i].fPath,document.body.appendChild(f)}}else if("t"===r[i].fOrigin||2===r[i].origin){for(h=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),l=0;l<h.length;l+=1)r[i].fPath===h[l].src&&(p=!1);if(p){var u=createTag("link");u.setAttribute("f-forigin",r[i].fOrigin),u.setAttribute("f-origin",r[i].origin),u.setAttribute("rel","stylesheet"),u.setAttribute("href",r[i].fPath),e.appendChild(u)}}}else r[i].loaded=!0,o-=1;r[i].helper=s(r[i],e),r[i].cache={},this.fonts.push(r[i])}0===o?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0},getCharData:function(e,i,r){for(var n=0,s=this.chars.length;n<s;){if(this.chars[n].ch===e&&this.chars[n].style===i&&this.chars[n].fFamily===r)return this.chars[n];n+=1}return("string"==typeof e&&13!==e.charCodeAt(0)||!e)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",e,i,r)),t},getFontByName:function(t){for(var e=0,i=this.fonts.length;e<i;){if(this.fonts[e].fName===t)return this.fonts[e];e+=1}return this.fonts[0]},measureText:function(t,e,i){var r=this.getFontByName(e),n=t;if(!r.cache[n]){var s=r.helper;if(" "===t){var a=s.measureText("|"+t+"|"),o=s.measureText("||");r.cache[n]=(a-o)/100}else r.cache[n]=s.measureText(t)/100}return r.cache[n]*i},checkLoadedFonts:function(){var t,e,i,r=this.fonts.length,n=r;for(t=0;t<r;t+=1)this.fonts[t].loaded?n-=1:"n"===this.fonts[t].fOrigin||0===this.fonts[t].origin?this.fonts[t].loaded=!0:(e=this.fonts[t].monoCase.node,i=this.fonts[t].monoCase.w,e.offsetWidth!==i?(n-=1,this.fonts[t].loaded=!0):(e=this.fonts[t].sansCase.node,i=this.fonts[t].sansCase.w,e.offsetWidth!==i&&(n-=1,this.fonts[t].loaded=!0)),this.fonts[t].loaded&&(this.fonts[t].sansCase.parent.parentNode.removeChild(this.fonts[t].sansCase.parent),this.fonts[t].monoCase.parent.parentNode.removeChild(this.fonts[t].monoCase.parent)));0!==n&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function(){this.isLoaded=!0}};return h.prototype=l,h}();function SlotManager(t){this.animationData=t}function slotFactory(t){return new SlotManager(t)}function RenderableElement(){}SlotManager.prototype.getProp=function(t){return this.animationData.slots&&this.animationData.slots[t.sid]?Object.assign(t,this.animationData.slots[t.sid].p):t},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}}};var getBlendMode=(blendModeEnums={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"},function(t){return blendModeEnums[t]||""}),blendModeEnums;function SliderEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function AngleEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function ColorEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,1,0,i)}function PointEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,1,0,i)}function LayerIndexEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function MaskIndexEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function CheckboxEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function NoValueEffect(){this.p={}}function EffectsManager(t,e){var i,r=t.ef||[];this.effectElements=[];var n,s=r.length;for(i=0;i<s;i+=1)n=new GroupEffect(r[i],e),this.effectElements.push(n)}function GroupEffect(t,e){this.init(t,e)}function BaseElement(){}function FrameElement(){}function FootageElement(t,e,i){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.footageData=e.imageLoader.getAsset(this.assetData),this.initBaseData(t,e,i)}function AudioElement(t,e,i){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.initBaseData(t,e,i),this._isPlaying=!1,this._canPlay=!1;var r=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(r),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,t.au&&t.au.lv?t.au.lv:{k:[100]},1,.01,this)}function BaseRenderer(){}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(t,e){var i;this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(e);var r,n=this.data.ef.length,s=this.data.ef;for(i=0;i<n;i+=1){switch(r=null,s[i].ty){case 0:r=new SliderEffect(s[i],e,this);break;case 1:r=new AngleEffect(s[i],e,this);break;case 2:r=new ColorEffect(s[i],e,this);break;case 3:r=new PointEffect(s[i],e,this);break;case 4:case 7:r=new CheckboxEffect(s[i],e,this);break;case 10:r=new LayerIndexEffect(s[i],e,this);break;case 11:r=new MaskIndexEffect(s[i],e,this);break;case 5:r=new EffectsManager(s[i],e,this);break;default:r=new NoValueEffect(s[i],e,this)}r&&this.effectElements.push(r)}},BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var t=0,e=this.data.masksProperties.length;t<e;){if("n"!==this.data.masksProperties[t].mode&&!1!==this.data.masksProperties[t].cl)return!0;t+=1}return!1},initExpressions:function(){var t=getExpressionInterfaces();if(t){var e=t("layer"),i=t("effects"),r=t("shape"),n=t("text"),s=t("comp");this.layerInterface=e(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var a=i.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(a),0===this.data.ty||this.data.xt?this.compInterface=s(this):4===this.data.ty?(this.layerInterface.shapeInterface=r(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=n(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var t=getBlendMode(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=t},initBaseData:function(t,e,i){this.globalData=e,this.comp=i,this.data=t,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicPropertie
vendor: 3,777 bytes, line 2
2s)},getType:function(){return this.type},sourceRectAtTime:function(){}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,e){var i,r=this.dynamicProperties.length;for(i=0;i<r;i+=1)(e||this._isParent&&"transform"===this.dynamicProperties[i].propType)&&(this.dynamicProperties[i].getValue(),this.dynamicProperties[i]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&this.dynamicProperties.push(t)}},FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){var t=getExpressionInterfaces();if(t){var e=t("footage");this.layerInterface=e(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData},AudioElement.prototype.prepareFrame=function(t){if(this.prepareRenderableFrame(t,!0),this.prepareProperties(t,!0),this.tm._placeholder)this._currentTime=t/this.data.sr;else{var e=this.tm.v;this._currentTime=e}this._volume=this.lv.v[0];var i=this._volume*this._volumeMultiplier;this._previousVolume!==i&&(this._previousVolume=i,this.audio.volume(i))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(t){this.audio.rate(t)},AudioElement.prototype.volume=function(t){this._volumeMultiplier=t,this._previousVolume=t*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){},BaseRenderer.prototype.checkLayers=function(t){var e,i,r=this.layers.length;for(this.completeLayers=!0,e=r-1;e>=0;e-=1)this.elements[e]||(i=this.layers[e]).ip-i.st<=t-this.layers[e].st&&i.op-i.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:default:return this.createNull(t);case 4:return this.createShape(t);case 5:return this.createText(t);case 6:return this.createAudio(t);case 13:return this.createCamera(t);case 15:return this.createFootage(t)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(t){return new AudioElement(t,this.globalData,this)},BaseRenderer.prototype.createFootage=function(t){return new FootageElement(t,this.globalData,this)},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){var e;this.completeLayers=!1;var i,r=t.length,
vendor: 10,818 bytes, line 2
2n=this.layers.length;for(e=0;e<r;e+=1)for(i=0;i<n;){if(this.layers[i].id===t[e].id){this.layers[i]=t[e];break}i+=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,i){for(var r=this.elements,n=this.layers,s=0,a=n.length;s<a;)n[s].ind==e&&(r[s]&&!0!==r[s]?(i.push(r[s]),r[s].setAsParent(),void 0!==n[s].parent?this.buildElementParenting(t,n[s].parent,i):t.setHierarchy(i)):(this.buildItem(s),this.addPendingElement(t))),s+=1},BaseRenderer.prototype.addPendingElement=function(t){this.pendingElements.push(t)},BaseRenderer.prototype.searchExtraCompositions=function(t){var e,i=t.length;for(e=0;e<i;e+=1)if(t[e].xt){var r=this.createComp(t[e]);r.initExpressions(),this.globalData.projectInterface.registerComposition(r)}},BaseRenderer.prototype.getElementById=function(t){var e,i=this.elements.length;for(e=0;e<i;e+=1)if(this.elements[e].data.ind===t)return this.elements[e];return null},BaseRenderer.prototype.getElementByPath=function(t){var e,i=t.shift();if("number"==typeof i)e=this.elements[i];else{var r,n=this.elements.length;for(r=0;r<n;r+=1)if(this.elements[r].data.nm===i){e=this.elements[r];break}}return 0===t.length?e:e.getElementByPath(t)},BaseRenderer.prototype.setupGlobalData=function(t,e){this.globalData.fontManager=new FontManager,this.globalData.slotManager=slotFactory(t),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.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=t.fr,this.globalData.nm=t.nm,this.globalData.compSize={w:t.w,h:t.h}};var effectTypes={TRANSFORM_EFFECT:"transformEFfect"};function TransformElement(){}function MaskElement(t,e,i){this.data=t,this.element=e,this.globalData=i,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var r,n,s=this.globalData.defs,a=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(a),this.solidPath="";var o,h,l,p,c,f,u=this.masksProperties,d=0,m=[],g=createElementID(),y="clipPath",v="clip-path";for(r=0;r<a;r+=1)if(("a"!==u[r].mode&&"n"!==u[r].mode||u[r].inv||100!==u[r].o.k||u[r].o.x)&&(y="mask",v="mask"),"s"!==u[r].mode&&"i"!==u[r].mode||0!==d?l=null:((l=createNS("rect")).setAttribute("fill","#ffffff"),l.setAttribute("width",this.element.comp.data.w||0),l.setAttribute("height",this.element.comp.data.h||0),m.push(l)),n=createNS("path"),"n"===u[r].mode)this.viewData[r]={op:PropertyFactory.getProp(this.element,u[r].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,u[r],3),elem:n,lastPath:""},s.appendChild(n);else{var b;if(d+=1,n.setAttribute("fill","s"===u[r].mode?"#000000":"#ffffff"),n.setAttribute("clip-rule","nonzero"),0!==u[r].x.k?(y="mask",v="mask",f=PropertyFactory.getProp(this.element,u[r].x,0,null,this.element),b=createElementID(),(p=createNS("filter")).setAttribute("id",b),(c=createNS("feMorphology")).setAttribute("operator","erode"),c.setAttribute("in","SourceGraphic"),c.setAttribute("radius","0"),p.appendChild(c),s.appendChild(p),n.setAttribute("stroke","s"===u[r].mode?"#000000":"#ffffff")):(c=null,f=null),this.storedData[r]={elem:n,x:f,expan:c,lastPath:"",lastOperator:"",filterId:b,lastRadius:0},"i"===u[r].mode){h=m.length;var x=createNS("g");for(o=0;o<h;o+=1)x.appendChild(m[o]);var _=createNS("mask");_.setAttribute("mask-type","alpha"),_.setAttribute("id",g+"_"+d),_.appendChild(n),s.appendChild(_),x.setAttribute("mask","url("+getLocationHref()+"#"+g+"_"+d+")"),m.length=0,m.push(x)}else m.push(n);u[r].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[r]={elem:n,lastPath:"",op:PropertyFactory.getProp(this.element,u[r].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,u[r],3),invRect:l},this.viewData[r].prop.k||this.drawPath(u[r],this.viewData[r].prop.v,this.viewData[r])}for(this.maskElement=createNS(y),a=m.length,r=0;r<a;r+=1)this.maskElement.appendChild(m[r]);d>0&&(this.maskElement.setAttribute("id",g),this.element.maskedElement.setAttribute(v,"url("+getLocationHref()+"#"+g+")"),s.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}TransformElement.prototype={initTransform:function(){var t=new Matrix;this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:t,localMat:t,localOpacity:1},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,i=0,r=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;i<r;){if(this.hierarchy[i].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}i+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,e.cloneFromProps(t),i=0;i<r;i+=1)e.multiply(this.hierarchy[i].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var t=0,e=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;t<e;)this.localTransforms[t]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[t]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),t+=1;if(this.finalTransform._localMatMdf){var i=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(i),t=1;t<e;t+=1){var r=this.localTransforms[t].matrix;i.multiply(r)}i.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var n=this.finalTransform.localOpacity;for(t=0;t<e;t+=1)n*=.01*this.localTransforms[t].opacity;this.finalTransform.localOpacity=n}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var t=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(t.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;var e=0,i=t.length;for(e=0;e<i;e+=1)this.localTransforms.push(t[e])}}},globalToLocal:function(t){var e=[];e.push(this.finalTransform);for(var i,r=!0,n=this.comp;r;)n.finalTransform?(n.data.hasMask&&e.splice(0,0,n.finalTransform),n=n.comp):r=!1;var s,a=e.length;for(i=0;i<a;i+=1)s=e[i].mat.applyToPointArray(0,0,0),t=[t[0]-s[0],t[1]-s[1],0];return t},mHelper:new Matrix},MaskElement.prototype.getMaskProperty=function(t){return this.viewData[t].prop},MaskElement.prototype.renderFrame=function(t){var e,i=this.element.finalTransform.mat,r=this.masksProperties.length;for(e=0;e<r;e+=1)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",i.getInverseMatrix().to2dCSS()),this.storedData[e].x&&(this.storedData[e].x._mdf||t))){var n=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("+getLocationHref()+"#"+this.storedData[e].filterId+")")),n.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+" "},MaskElement.prototype.drawPath=function(t,e,i){var r,n,s=" M"+e.v[0][0]+","+e.v[0][1];for(n=e._length,r=1;r<n;r+=1)s+=" C"+e.o[r-1][0]+","+e.o[r-1][1]+" "+e.i[r][0]+","+e.i[r][1]+" "+e.v[r][0]+","+e.v[r][1];if(e.c&&n>1&&(s+=" C"+e.o[r-1][0]+","+e.o[r-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),i.lastPath!==s){var a="";i.elem&&(e.c&&(a=t.inv?this.solidPath+s:s),i.elem.setAttribute("d",a)),i.lastPath=s}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var t={createFilter:function(t,e){var i=createNS("filter");return i.setAttribute("id",t),!0!==e&&(i.setAttribute("filterUnits","objectBoundingBox"),i.setAttribute("x","0%"),i.setAttribute("y","0%"),i.setAttribute("width","100%"),i.setAttribute("height","100%")),i},createAlphaToLuminanceFilter:function(){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}(),featureSupport=function(){var t={maskType:!0,svgLumaHidden:!0,offscreenCanvas:"undefined"!=typeof OffscreenCanvas};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),/firefox/i.test(navigator.userAgent)&&(t.svgLumaHidden=!1),t}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(t){var e,i,r="SourceGraphic",n=t.data.ef?t.data.ef.length:0,s=createElementID(),a=filtersFactory.createFilter(s,!0),o=0;for(this.filters=[],e=0;e<n;e+=1){i=null;var h=t.data.ef[e].ty;registeredEffects$1[h]&&(i=new(0,registeredEffects$1[h].effect)(a,t.effectsManager.effectElements[e],t,idPrefix+o,r),r=idPrefix+o,registeredEffects$1[h].countsAsEffect&&(o+=1)),i&&this.filters.push(i)}o&&(t.globalData.defs.appendChild(a),t.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+s+")")),this.filters.length&&t.addRenderableComponent(this)}function registerEffect$1(t,e,i){registeredEffects$1[t]={effect:e,countsAsEffect:i}}function SVGBaseElement(){}function HierarchyElement(){}
vendor: 13,653 bytes, line 2
2function RenderableDOMElement(){}function IImageElement(t,e,i){this.assetData=e.getAssetData(t.refId),this.assetData&&this.assetData.sid&&(this.assetData=e.slotManager.getProp(this.assetData)),this.initElement(t,e,i),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ProcessedElement(t,e){this.elem=t,this.pos=e}function IShapeElement(){}SVGEffects.prototype.renderFrame=function(t){var e,i=this.filters.length;for(e=0;e<i;e+=1)this.filters[e].renderFrame(t)},SVGEffects.prototype.getEffects=function(t){var e,i=this.filters.length,r=[];for(e=0;e<i;e+=1)this.filters[e].type===t&&r.push(this.filters[e]);return r},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=null;if(this.data.td){this.matteMasks={};var e=createNS("g");e.setAttribute("id",this.layerId),e.appendChild(this.layerElement),t=e,this.globalData.defs.appendChild(e)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),t=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 i=createNS("clipPath"),r=createNS("path");r.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var n=createElementID();if(i.setAttribute("id",n),i.appendChild(r),this.globalData.defs.appendChild(i),this.checkMasks()){var s=createNS("g");s.setAttribute("clip-path","url("+getLocationHref()+"#"+n+")"),s.appendChild(this.layerElement),this.transformedElement=s,t?t.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+n+")")}0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},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),this.searchEffectTransforms()},getMatte:function(t){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[t]){var e,i,r,n,s=this.layerId+"_"+t;if(1===t||3===t){var a=createNS("mask");a.setAttribute("id",s),a.setAttribute("mask-type",3===t?"luminance":"alpha"),(r=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),a.appendChild(r),this.globalData.defs.appendChild(a),featureSupport.maskType||1!==t||(a.setAttribute("mask-type","luminance"),e=createElementID(),i=filtersFactory.createFilter(e),this.globalData.defs.appendChild(i),i.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(n=createNS("g")).appendChild(r),a.appendChild(n),n.setAttribute("filter","url("+getLocationHref()+"#"+e+")"))}else if(2===t){var o=createNS("mask");o.setAttribute("id",s),o.setAttribute("mask-type","alpha");var h=createNS("g");o.appendChild(h),e=createElementID(),i=filtersFactory.createFilter(e);var l=createNS("feComponentTransfer");l.setAttribute("in","SourceGraphic"),i.appendChild(l);var p=createNS("feFuncA");p.setAttribute("type","table"),p.setAttribute("tableValues","1.0 0.0"),l.appendChild(p),this.globalData.defs.appendChild(i);var c=createNS("rect");c.setAttribute("width",this.comp.data.w),c.setAttribute("height",this.comp.data.h),c.setAttribute("x","0"),c.setAttribute("y","0"),c.setAttribute("fill","#ffffff"),c.setAttribute("opacity","0"),h.setAttribute("filter","url("+getLocationHref()+"#"+e+")"),h.appendChild(c),(r=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),h.appendChild(r),featureSupport.maskType||(o.setAttribute("mask-type","luminance"),i.appendChild(filtersFactory.createAlphaToLuminanceFilter()),n=createNS("g"),h.appendChild(c),n.appendChild(this.layerElement),h.appendChild(n)),this.globalData.defs.appendChild(o)}this.matteMasks[t]=s}return this.matteMasks[t]},setMatte:function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+t+")")}},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,[])}},extendPrototype([RenderableElement,createProxyFunction({initElement:function(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initTransform(t,e,i),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){this.hidden||this.isInRange&&!this.isTransparent||((this.baseElement||this.layerElement).style.display="none",this.hidden=!0)},show:function(){this.isInRange&&!this.isTransparent&&(this.data.hd||((this.baseElement||this.layerElement).style.display="block"),this.hidden=!1,this._isFirstFrame=!0)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),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()}})],RenderableDOMElement),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},IShapeElement.prototype={addShapeToModifiers:function(t){var e,i=this.shapeModifiers.length;for(e=0;e<i;e+=1)this.shapeModifiers[e].addShape(t)},isShapeInAnimatedModifiers:function(t){for(var e=this.shapeModifiers.length;0<e;)if(this.shapeModifiers[0].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(t=(e=this.shapeModifiers.length)-1;t>=0&&!this.shapeModifiers[t].processShapes(this._isFirstFrame);t-=1);}},searchProcessedElement:function(t){for(var e=this.processedElements,i=0,r=e.length;i<r;){if(e[i].elem===t)return e[i].pos;i+=1}return 0},addProcessedElement:function(t,e){for(var i=this.processedElements,r=i.length;r;)if(i[r-=1].elem===t)return void(i[r].pos=e);i.push(new ProcessedElement(t,e))},prepareFrame:function(t){this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(t,e,i){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=i,this.lvl=e,this._isAnimated=!!i.k;for(var r=0,n=t.length;r<n;){if(t[r].mProps.dynamicProperties.length){this._isAnimated=!0;break}r+=1}}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 DashProperty(t,e,i,r){var n;this.elem=t,this.frameId=-1,this.dataProps=createSizedArray(e.length),this.renderer=i,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",e.length?e.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(r);var s,a=e.length||0;for(n=0;n<a;n+=1)s=PropertyFactory.getProp(t,e[n].v,0,0,this),this.k=s.k||this.k,this.dataProps[n]={n:e[n].n,p:s};this.k||this.getValue(!0),this._isAnimated=this.k}function SVGStrokeStyleData(t,e,i){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=i,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(t,e,i){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=i}function SVGNoStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.style=i}function GradientProperty(t,e,i){this.data=e,this.c=createTypedArray("uint8c",4*e.p);var r=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",r),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=r,this.initDynamicPropertyContainer(i),this.prop=PropertyFactory.getProp(t,e.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function SVGGradientFillStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,e,i)}function SVGGradientStrokeStyleData(t,e,i){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,i),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(t,e,i){this.transform={mProps:t,op:e,container:i},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0},SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1},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,i=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),e=0;e<i;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),extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData),extendPrototype([DynamicPropertyContainer],SVGFillStyleData),extendPrototype([DynamicPropertyContainer],SVGNoStyleData),GradientProperty.prototype.comparePoints=function(t,e){for(var i=0,r=this.o.length/2;i<r;){if(Math.abs(t[4*i]-t[4*e+2*i])>.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)for(var t=0,e=this.data.k.k.length;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,i,r,n=4*this.data.p;for(e=0;e<n;e+=1)i=e%4==0?100:255,r=Math.round(this.prop.v[e]*i),this.c[e]!==r&&(this.c[e]=r,this._cmdf=!t);if(this.o.length)for(n=this.prop.v.length,e=4*this.data.p;e<n;e+=1)i=e%2==0?100:1,r=e%2==0?Math.round(100*this.prop.v[e]):this.prop.v[e],this.o[e-4*this.data.p]!==r&&(this.o[e-4*this.data.p]=r,this._omdf=!t);this._mdf=!t}},extendPrototype([DynamicPropertyContainer],GradientProperty),SVGGradientFillStyleData.prototype.initGradientData=function(t,e,i){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=i,this.stops=[],this.setGradientData(i.pElem,e),this.setGradientOpacity(e,i),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(t,e){var i=createElementID(),r=createNS(1===e.t?"linearGradient":"radialGradient");r.setAttribute("id",i),r.setAttribute("spreadMethod","pad"),r.setAttribute("gradientUnits","userSpaceOnUse");var n,s,a,o=[];for(a=4*e.g.p,s=0;s<a;s+=4)n=createNS("stop"),r.appendChild(n),o.push(n);t.setAttribute("gf"===e.ty?"fill":"stroke","url("+getLocationHref()+"#"+i+")"),this.gf=r,this.cst=o},SVGGradientFillStyleData.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){var i,r,n,s=createNS("mask"),a=createNS("path");s.appendChild(a);var o=createElementID(),h=createElementID();s.setAttribute("id",h);var l=createNS(1===t.t?"linearGradient":"radialGradient");l.setAttribute("id",o),l.setAttribute("spreadMethod","pad"),l.setAttribute("gradientUnits","userSpaceOnUse"),n=t.g.k.k[0].s?t.g.k.k[
vendor: 8,893 bytes, line 2
20].s.length:t.g.k.k.length;var p=this.stops;for(r=4*t.g.p;r<n;r+=2)(i=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),l.appendChild(i),p.push(i);a.setAttribute("gf"===t.ty?"fill":"stroke","url("+getLocationHref()+"#"+o+")"),"gs"===t.ty&&(a.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),a.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),1===t.lj&&a.setAttribute("stroke-miterlimit",t.ml)),this.of=l,this.ms=s,this.ost=p,this.maskId=h,e.msElem=a}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var buildShapeString=function(t,e,i,r){if(0===e)return"";var n,s=t.o,a=t.i,o=t.v,h=" M"+r.applyToPointStringified(o[0][0],o[0][1]);for(n=1;n<e;n+=1)h+=" C"+r.applyToPointStringified(s[n-1][0],s[n-1][1])+" "+r.applyToPointStringified(a[n][0],a[n][1])+" "+r.applyToPointStringified(o[n][0],o[n][1]);return i&&e&&(h+=" C"+r.applyToPointStringified(s[n-1][0],s[n-1][1])+" "+r.applyToPointStringified(a[0][0],a[0][1])+" "+r.applyToPointStringified(o[0][0],o[0][1]),h+="z"),h},SVGElementsRenderer=function(){var t=new Matrix,e=new Matrix;function i(t,e,i){(i||e.transform.op._mdf)&&e.transform.container.setAttribute("opacity",e.transform.op.v),(i||e.transform.mProps._mdf)&&e.transform.container.setAttribute("transform",e.transform.mProps.v.to2dCSS())}function r(){}function n(i,r,n){var s,a,o,h,l,p,c,f,u,d,m=r.styles.length,g=r.lvl;for(p=0;p<m;p+=1){if(h=r.sh._mdf||n,r.styles[p].lvl<g){for(f=e.reset(),u=g-r.styles[p].lvl,d=r.transformers.length-1;!h&&u>0;)h=r.transformers[d].mProps._mdf||h,u-=1,d-=1;if(h)for(u=g-r.styles[p].lvl,d=r.transformers.length-1;u>0;)f.multiply(r.transformers[d].mProps.v),u-=1,d-=1}else f=t;if(a=(c=r.sh.paths)._length,h){for(o="",s=0;s<a;s+=1)(l=c.shapes[s])&&l._length&&(o+=buildShapeString(l,l._length,l.c,f));r.caches[p]=o}else o=r.caches[p];r.styles[p].d+=!0===i.hd?"":o,r.styles[p]._mdf=h||r.styles[p]._mdf}}function s(t,e,i){var r=e.style;(e.c._mdf||i)&&r.pElem.setAttribute("fill","rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||i)&&r.pElem.setAttribute("fill-opacity",e.o.v)}function a(t,e,i){o(t,e,i),h(0,e,i)}function o(t,e,i){var r,n,s,a,o,h=e.gf,l=e.g._hasOpacity,p=e.s.v,c=e.e.v;if(e.o._mdf||i){var f="gf"===t.ty?"fill-opacity":"stroke-opacity";e.style.pElem.setAttribute(f,e.o.v)}if(e.s._mdf||i){var u=1===t.t?"x1":"cx",d="x1"===u?"y1":"cy";h.setAttribute(u,p[0]),h.setAttribute(d,p[1]),l&&!e.g._collapsable&&(e.of.setAttribute(u,p[0]),e.of.setAttribute(d,p[1]))}if(e.g._cmdf||i){r=e.cst;var m=e.g.c;for(s=r.length,n=0;n<s;n+=1)(a=r[n]).setAttribute("offset",m[4*n]+"%"),a.setAttribute("stop-color","rgb("+m[4*n+1]+","+m[4*n+2]+","+m[4*n+3]+")")}if(l&&(e.g._omdf||i)){var g=e.g.o;for(s=(r=e.g._collapsable?e.cst:e.ost).length,n=0;n<s;n+=1)a=r[n],e.g._collapsable||a.setAttribute("offset",g[2*n]+"%"),a.setAttribute("stop-opacity",g[2*n+1])}if(1===t.t)(e.e._mdf||i)&&(h.setAttribute("x2",c[0]),h.setAttribute("y2",c[1]),l&&!e.g._collapsable&&(e.of.setAttribute("x2",c[0]),e.of.setAttribute("y2",c[1])));else if((e.s._mdf||e.e._mdf||i)&&(o=Math.sqrt(Math.pow(p[0]-c[0],2)+Math.pow(p[1]-c[1],2)),h.setAttribute("r",o),l&&!e.g._collapsable&&e.of.setAttribute("r",o)),e.e._mdf||e.h._mdf||e.a._mdf||i){o||(o=Math.sqrt(Math.pow(p[0]-c[0],2)+Math.pow(p[1]-c[1],2)));var y=Math.atan2(c[1]-p[1],c[0]-p[0]),v=e.h.v;v>=1?v=.99:v<=-1&&(v=-.99);var b=o*v,x=Math.cos(y+e.a.v)*b+p[0],_=Math.sin(y+e.a.v)*b+p[1];h.setAttribute("fx",x),h.setAttribute("fy",_),l&&!e.g._collapsable&&(e.of.setAttribute("fx",x),e.of.setAttribute("fy",_))}}function h(t,e,i){var r=e.style,n=e.d;n&&(n._mdf||i)&&n.dashStr&&(r.pElem.setAttribute("stroke-dasharray",n.dashStr),r.pElem.setAttribute("stroke-dashoffset",n.dashoffset[0])),e.c&&(e.c._mdf||i)&&r.pElem.setAttribute("stroke","rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||i)&&r.pElem.setAttribute("stroke-opacity",e.o.v),(e.w._mdf||i)&&(r.pElem.setAttribute("stroke-width",e.w.v),r.msElem&&r.msElem.setAttribute("stroke-width",e.w.v))}return{createRenderFunction:function(t){switch(t.ty){case"fl":return s;case"gf":return o;case"gs":return a;case"st":return h;case"sh":case"el":case"rc":case"sr":return n;case"tr":return i;case"no":return r;default:return null}}}}();function SVGShapeElement(t,e,i){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,i),this.prevViewData=[]}function LetterProps(t,e,i,r,n,s){this.o=t,this.sw=e,this.sc=i,this.fc=r,this.m=n,this.p=s,this._mdf={o:!0,sw:!!e,sc:!!i,fc:!!r,m:!0,p:!0}}function TextProperty(t,e){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,e.d&&e.d.sid&&(e.d=t.globalData.slotManager.getProp(e.d)),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)}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,i,r,n=this.shapes.length,s=this.stylesList.length,a=[],o=!1;for(i=0;i<s;i+=1){for(r=this.stylesList[i],o=!1,a.length=0,t=0;t<n;t+=1)-1!==(e=this.shapes[t]).styles.indexOf(r)&&(a.push(e),o=e._isAnimated||o);a.length>1&&o&&this.setShapesAsAnimated(a)}},SVGShapeElement.prototype.setShapesAsAnimated=function(t){var e,i=t.length;for(e=0;e<i;e+=1)t[e].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(t,e){var i,r=new SVGStyleData(t,e),n=r.pElem;return"st"===t.ty?i=new SVGStrokeStyleData(this,t,r):"fl"===t.ty?i=new SVGFillStyleData(this,t,r):"gf"===t.ty||"gs"===t.ty?(i=new("gf"===t.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,t,r),this.globalData.defs.appendChild(i.gf),i.maskId&&(this.globalData.defs.appendChild(i.ms),this.globalData.defs.appendChild(i.of),n.setAttribute("mask","url("+getLocationHref()+"#"+i.maskId+")"))):"no"===t.ty&&(i=new SVGNoStyleData(this,t,r)),"st"!==t.ty&&"gs"!==t.ty||(n.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),n.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),n.setAttribute("fill-opacity","0"),1===t.lj&&n.setAttribute("stroke-miterlimit",t.ml)),2===t.r&&n.setAttribute("fill-rule","evenodd"),t.ln&&n.setAttribute("id",t.ln),t.cl&&n.setAttribute("class",t.cl),t.bm&&(n.style["mix-blend-mode"]=getBlendMode(t.bm)),this.stylesList.push(r),this.addToAnimatedContents(t,i),i},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 i=TransformPropertyFactory.getTransformProperty(this,t,this),r=new SVGTransformData(i,i.o,e);return this.addToAnimatedContents(t,r),r},SVGShapeElement.prototype.createShapeElement=function(t,e,i){var r=4;"rc"===t.ty?r=5:"el"===t.ty?r=6:"sr"===t.ty&&(r=7);var n=new SVGShapeData(e,i,ShapePropertyFactory.getShapeProp(this,t,r,this));return this.shapes.push(n),this.addShapeToModifiers(n),this.addToAnimatedContents(t,n),n},SVGShapeElement.prototype.addToAnimatedContents=function(t,e){for(var i=0,r=this.animatedContents.length;i<r;){if(this.animatedContents[i].element===e)return;i+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(t),element:e,data:t})},SVGShapeElement.prototype.setElementStyles=function(t){var e,i=t.styles,r=this.stylesList.length;for(e=0;e<r;e+=1)this.stylesList[e].closed||i.push(this.stylesList[e])},SVGShapeElement.prototype.reloadShapes=function(){var t;this._isFirstFrame=!0;var 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()}
vendor: 30,018 bytes, line 2
2,SVGShapeElement.prototype.searchShapes=function(t,e,i,r,n,s,a){var o,h,l,p,c,f,u=[].concat(s),d=t.length-1,m=[],g=[];for(o=d;o>=0;o-=1){if((f=this.searchProcessedElement(t[o]))?e[o]=i[f-1]:t[o]._render=a,"fl"===t[o].ty||"st"===t[o].ty||"gf"===t[o].ty||"gs"===t[o].ty||"no"===t[o].ty)f?e[o].style.closed=!1:e[o]=this.createStyleElement(t[o],n),t[o]._render&&e[o].style.pElem.parentNode!==r&&r.appendChild(e[o].style.pElem),m.push(e[o].style);else if("gr"===t[o].ty){if(f)for(l=e[o].it.length,h=0;h<l;h+=1)e[o].prevViewData[h]=e[o].it[h];else e[o]=this.createGroupElement(t[o]);this.searchShapes(t[o].it,e[o].it,e[o].prevViewData,e[o].gr,n+1,u,a),t[o]._render&&e[o].gr.parentNode!==r&&r.appendChild(e[o].gr)}else"tr"===t[o].ty?(f||(e[o]=this.createTransformElement(t[o],r)),p=e[o].transform,u.push(p)):"sh"===t[o].ty||"rc"===t[o].ty||"el"===t[o].ty||"sr"===t[o].ty?(f||(e[o]=this.createShapeElement(t[o],u,n)),this.setElementStyles(e[o])):"tm"===t[o].ty||"rd"===t[o].ty||"ms"===t[o].ty||"pb"===t[o].ty||"zz"===t[o].ty||"op"===t[o].ty?(f?(c=e[o]).closed=!1:((c=ShapeModifiers.getModifier(t[o].ty)).init(this,t[o]),e[o]=c,this.shapeModifiers.push(c)),g.push(c)):"rp"===t[o].ty&&(f?(c=e[o]).closed=!0:(c=ShapeModifiers.getModifier(t[o].ty),e[o]=c,c.init(this,t,o,e),this.shapeModifiers.push(c),a=!1),g.push(c));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(){var t;this.renderModifiers();var 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,i=this.animatedContents.length;for(t=0;t<i;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},LetterProps.prototype.update=function(t,e,i,r,n,s){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 a=!1;return this.o!==t&&(this.o=t,this._mdf.o=!0,a=!0),this.sw!==e&&(this.sw=e,this._mdf.sw=!0,a=!0),this.sc!==i&&(this.sc=i,this._mdf.sc=!0,a=!0),this.fc!==r&&(this.fc=r,this._mdf.fc=!0,a=!0),this.m!==n&&(this.m=n,this._mdf.m=!0,a=!0),!s.length||this.p[0]===s[0]&&this.p[1]===s[1]&&this.p[4]===s[4]&&this.p[5]===s[5]&&this.p[12]===s[12]&&this.p[13]===s[13]||(this.p=s,this._mdf.p=!0,a=!0),a},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);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,i=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{var r;this.lock=!0,this._mdf=!1;var n=this.effectsSequence.length,s=t||this.data.d.k[this.keysIndex].s;for(r=0;r<n;r+=1)s=i!==this.keysIndex?this.effectsSequence[r](s,s.t):this.effectsSequence[r](this.currentData,s.t);e!==s&&this.setCurrentData(s),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},TextProperty.prototype.getKeyframeValue=function(){for(var t=this.data.d.k,e=this.elem.comp.renderedFrame,i=0,r=t.length;i<=r-1&&!(i===r-1||t[i+1].t>e);)i+=1;return this.keysIndex!==i&&(this.keysIndex=i),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(t){for(var e,i,r=[],n=0,s=t.length,a=!1,o=!1,h="";n<s;)a=o,o=!1,e=t.charCodeAt(n),h=t.charAt(n),FontManager.isCombinedCharacter(e)?a=!0:e>=55296&&e<=56319?FontManager.isRegionalFlag(t,n)?h=t.substr(n,14):(i=t.charCodeAt(n+1))>=56320&&i<=57343&&(FontManager.isModifier(e,i)?(h=t.substr(n,2),a=!0):h=FontManager.isFlagEmoji(t.substr(n,4))?t.substr(n,4):t.substr(n,2)):e>56319?(i=t.charCodeAt(n+1),FontManager.isVariationSelector(e)&&(a=!0)):FontManager.isZeroWidthJoiner(e)&&(a=!0,o=!0),a?(r[r.length-1]+=h,a=!1):r.push(h),n+=h.length;return r},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e,i,r,n,s,a,o,h=this.elem.globalData.fontManager,l=this.data,p=[],c=0,f=l.m.g,u=0,d=0,m=0,g=[],y=0,v=0,b=h.getFontByName(t.f),x=0,_=getFontProperties(b);t.fWeight=_.weight,t.fStyle=_.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),i=t.finalText.length,t.finalLineHeight=t.lh;var E,S=t.tr/1e3*t.finalSize;if(t.sz)for(var P,C,w=!0,T=t.sz[0],A=t.sz[1];w;){P=0,y=0,i=(C=this.buildFinalText(t.t)).length,S=t.tr/1e3*t.finalSize;var k=-1;for(e=0;e<i;e+=1)E=C[e].charCodeAt(0),r=!1," "===C[e]?k=e:13!==E&&3!==E||(y=0,r=!0,P+=t.finalLineHeight||1.2*t.finalSize),h.chars?(o=h.getCharData(C[e],b.fStyle,b.fFamily),x=r?0:o.w*t.finalSize/100):x=h.measureText(C[e],t.f,t.finalSize),y+x>T&&" "!==C[e]?(-1===k?i+=1:e=k,P+=t.finalLineHeight||1.2*t.finalSize,C.splice(e,k===e?1:0,"\r"),k=-1,y=0):(y+=x,y+=S);P+=b.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&A<P?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=C,i=t.finalText.length,w=!1)}y=-S,x=0;var M,D=0;for(e=0;e<i;e+=1)if(r=!1,13===(E=(M=t.finalText[e]).charCodeAt(0))||3===E?(D=0,g.push(y),v=y>v?y:v,y=-2*S,n="",r=!0,m+=1):n=M,h.chars?(o=h.getCharData(M,b.fStyle,h.getFontByName(t.f).fFamily),x=r?0:o.w*t.finalSize/100):x=h.measureText(n,t.f,t.finalSize)," "===M?D+=x+S:(y+=x+S+D,D=0),p.push({l:x,an:x,add:u,n:r,anIndexes:[],val:n,line:m,animatorJustifyOffset:0}),2==f){if(u+=x,""===n||" "===n||e===i-1){for(""!==n&&" "!==n||(u-=x);d<=e;)p[d].an=u,p[d].ind=c,p[d].extra=x,d+=1;c+=1,u=0}}else if(3==f){if(u+=x,""===n||e===i-1){for(""===n&&(u-=x);d<=e;)p[d].an=u,p[d].ind=c,p[d].extra=x,d+=1;u=0,c+=1}}else p[c].ind=c,p[c].extra=0,c+=1;if(t.l=p,v=y>v?y:v,g.push(y),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=v,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=g;var F,I,L,B,R=l.a;a=R.length;var V=[];for(s=0;s<a;s+=1){for((F=R[s]).a.sc&&(t.strokeColorAnim=!0),F.a.sw&&(t.strokeWidthAnim=!0),(F.a.fc||F.a.fh||F.a.fs||F.a.fb)&&(t.fillColorAnim=!0),B=0,L=F.s.b,e=0;e<i;e+=1)(I=p[e]).anIndexes[s]=B,(1==L&&""!==I.val||2==L&&""!==I.val&&" "!==I.val||3==L&&(I.n||" "==I.val||e==i-1)||4==L&&(I.n||e==i-1))&&(1===F.s.rn&&V.push(B),B+=1);l.a[s].s.totalChars=B;var O,z=-1;if(1===F.s.rn)for(e=0;e<i;e+=1)z!=(I=p[e]).anIndexes[s]&&(z=I.anIndexes[s],O=V.splice(Math.floor(Math.random()*V.length),1)[0]),I.anIndexes[s]=O}t.yOffset=t.finalLineHeight||1.2*t.finalSize,t.ls=t.ls||0,t.ascent=b.ascent*t.finalSize/100},TextProperty.prototype.updateDocumentData=function(t,e){e=void 0===e?this.keysIndex:e;var i=this.copyData({},this.data.d.k[e].s);i=this.copyData(i,t),this.data.d.k[e].s=i,this.recalculate(e),this.setCurrentData(i),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,i=Math.floor;function r(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.sm=PropertyFactory.getProp(t,e.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(t,e.a,0,.01,this),this.dynamicProperties.length||this.getValue()}return r.prototype={getMult:function(r){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var n=0,s=0,a=1,o=1;this.ne.v>0?n=this.ne.v/100:s=-this.ne.v/100,this.xe.v>0?a=1-this.xe.v/100:o=1+this.xe.v/100;var h=BezierFactory.getBezierEasing(n,s,a,o).get,l=0,p=this.finalS,c=this.finalE,f=this.data.sh;if(2===f)l=h(l=c===p?r>=c?1:0:t(0,e(.5/(c-p)+(r-p)/(c-p),1)));else if(3===f)l=h(l=c===p?r>=c?0:1:1-t(0,e(.5/(c-p)+(r-p)/(c-p),1)));else if(4===f)c===p?l=0:(l=t(0,e(.5/(c-p)+(r-p)/(c-p),1)))<.5?l*=2:l=1-2*(l-.5),l=h(l);else if(5===f){if(c===p)l=0;else{var u=c-p,d=-u/2+(r=e(t(0,r+.5-p),c-p)),m=u/2;l=Math.sqrt(1-d*d/(m*m))}l=h(l)}else 6===f?(c===p?l=0:(r=e(t(0,r+.5-p),c-p),l=(1+Math.cos(Math.PI+2*Math.PI*r/(c-p)))/2),l=h(l)):(r>=i(p)&&(l=t(0,e(r-p<0?e(c,1)-(p-r):c-r,1))),l=h(l));if(100!==this.sm.v){var g=.01*this.sm.v;0===g&&(g=1e-8);var y=.5-.5*g;l<y?l=0:(l=(l-y)/g)>1&&(l=1)}return l*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,i=this.o.v/e,r=this.s.v/e+i,n=this.e.v/e+i;if(r>n){var s=r;r=n,n=s}this.finalS=r,this.finalE=n}},extendPrototype([DynamicPropertyContainer],r),{getTextSelectorProp:function(t,e,i){return new r(t,e,i)}}}();function TextAnimatorDataProperty(t,e,i){var r={propType:!1},n=PropertyFactory.getProp,s=e.a;this.a={r:s.r?n(t,s.r,0,degToRads,i):r,rx:s.rx?n(t,s.rx,0,degToRads,i):r,ry:s.ry?n(t,s.ry,0,degToRads,i):r,sk:s.sk?n(t,s.sk,0,degToRads,i):r,sa:s.sa?n(t,s.sa,0,degToRads,i):r,s:s.s?n(t,s.s,1,.01,i):r,a:s.a?n(t,s.a,1,0,i):r,o:s.o?n(t,s.o,0,.01,i):r,p:s.p?n(t,s.p,1,0,i):r,sw:s.sw?n(t,s.sw,0,0,i):r,sc:s.sc?n(t,s.sc,1,0,i):r,fc:s.fc?n(t,s.fc,1,0,i):r,fh:s.fh?n(t,s.fh,0,0,i):r,fs:s.fs?n(t,s.fs,0,.01,i):r,fb:s.fb?n(t,s.fb,0,.01,i):r,t:s.t?n(t,s.t,0,0,i):r},this.s=TextSelectorProp.getTextSelectorProp(t,e.s,i),this.s.t=e.s.t}function TextAnimatorProperty(t,e,i){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=i,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(i)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){var t,e,i=this._textData.a.length,r=PropertyFactory.getProp;for(t=0;t<i;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={a:r(this._elem,this._textData.p.a,0,0,this),f:r(this._elem,this._textData.p.f,0,0,this),l:r(this._elem,this._textData.p.l,0,0,this),r:r(this._elem,this._textData.p.r,0,0,this),p:r(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=r(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 i,r,n,s,a,o,h,l,p,c,f,u,d,m,g,y,v,b,x,_=this._moreOptions.alignment.v,E=this._animatorsData,S=this._textData,P=this.mHelper,C=this._renderType,w=this.renderedLetters.length,T=t.l;if(this._hasMaskedPath){if(x=this._pathData.m,!this._pathData.n||this._pathData._mdf){var A,k=x.v;for(this._pathData.r.v&&(k=k.reverse()),a={tLength:0,segments:[]},s=k._length-1,y=0,n=0;n<s;n+=1)A=bez.buildBezierData(k.v[n],k.v[n+1],[k.o[n][0]-k.v[n][0],k.o[n][1]-k.v[n][1]],[k.i[n+1][0]-k.v[n+1][0],k.i[n+1][1]-k.v[n+1][1]]),a.tLength+=A.segmentLength,a.segments.push(A),y+=A.segmentLength;n=s,x.v.c&&(A=bez.buildBezierData(k.v[n],k.v[0],[k.o[n][0]-k.v[n][0],k.o[n][1]-k.v[n][1]],[k.i[0][0]-k.v[0][0],k.i[0][1]-k.v[0][1]]),a.tLength+=A.segmentLength,a.segments.push(A),y+=A.segmentLength),this._pathData.pi=a}if(a=this._pathData.pi,o=this._pathData.f.v,f=0,c=1,l=0,p=!0,m=a.segments,o<0&&x.v.c)for(a.tLength<Math.abs(o)&&(o=-Math.abs(o)%a.tLength),c=(d=m[f=m.length-1].points).length-1;o<0;)o+=d[c].partialLength,(c-=1)<0&&(c=(d=m[f-=1].points).length-1);u=(d=m[f].points)[c-1],g=(h=d[c]).partialLength}s=T.length,i=0,r=0;var M,D,F,I,L,B=1.2*t.finalSize*.714,R=!0;F=E.length;var V,O,z,N,G,j,H,W,q,Y,X,$,U=-1,J=o,Z=f,K=c,Q=-1,tt="",et=this.defaultPropsArray;if(2===t.j||1===t.j){var it=0,rt=0,nt=2===t.j?-.5:-1,st=0,at=!0;for(n=0;n<s;n+=1)if(T[n].n){for(it&&(it+=rt);st<n;)T[st].animatorJustifyOffset=it,st+=1;it=0,at=!0}else{for(D=0;D<F;D+=1)(M=E[D].a).t.propType&&(at&&2===t.j&&(rt+=M.t.v*nt),(L=E[D].s.getMult(T[n].anIndexes[D],S.a[D].s.totalChars)).length?it+=M.t.v*L[0]*nt:it+=M.t.v*L*nt);at=!1}for(it&&(it+=rt);st<n;)T[st].animatorJustifyOffset=it,st+=1}for(n=0;n<s;n+=1){if(P.reset(),N=1,T[n].n)i=0,r+=t.yOffset,r+=R?1:0,o=J,R=!1,this._hasMaskedPath&&(c=K,u=(d=m[f=Z].points)[c-1],g=(h=d[c]).partialLength,l=0),tt="",X="",q="",$="",et=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Q!==T[n].line){switch(t.j){case 1:o+=y-t.lineWidths[T[n].line];break;case 2:o+=(y-t.lineWidths[T[n].line])/2}Q=T[n].line}U!==T[n].ind&&(T[U]&&(o+=T[U].extra),o+=T[n].an/2,U=T[n].ind),o+=_[0]*T[n].an*.005;var ot=0;for(D=0;D<F;D+=1)(M=E[D].a).p.propType&&((L=E[D].s.getMult(T[n].anIndexes[D],S.a[D].s.totalChars)).length?ot+=M.p.v[0]*L[0]:ot+=M.p.v[0]*L),M.a.propType&&((L=E[D].s.getMult(T[n].anIndexes[D],S.a[D].s.totalChars)).length?ot+=M.a.v[0]*L[0]:ot+=M.a.v[0]*L);for(p=!0,this._pathData.a.v&&(o=.5*T[0].an+(y-this._pathData.f.v-.5*T[0].an-.5*T[T.length-1].an)*U/(s-1),o+=this._pathData.f.v);p;)l+g>=o+ot||!d?(v=(o+ot-l)/h.partialLength,O=u.point[0]+(h.point[0]-u.point[0])*v,z=u.point[1]+(h.point[1]-u.point[1])*v,P.translate(-_[0]*T[n].an*.005,-_[1]*B*.01),p=!1):d&&(l+=h.partialLength,(c+=1)>=d.length&&(c=0,m[f+=1]?d=m[f].points:x.v.c?(c=0,d=m[f=0].points):(l-=h.partialLength,d=null)),d&&(u=h,g=(h=d[c]).partialLength));V=T[n].an/2-T[n].add,P.translate(-V,0,0)}else V=T[n].an/2-T[n].add,P.translate(-V,0,0),P.translate(-_[0]*T[n].an*.005,-_[1]*B*.01,0);for(D=0;D<F;D+=1)(M=E[D].a).t.propType&&(L=E[D].s.getMult(T[n].anIndexes[D],S.a[D].s.totalChars),0===i&&0===t.j||(this._hasMaskedPath?L.length?o+=M.t.v*L[0]:o+=M.t.v*L:L.length?i+=M.t.v*L[0]:i+=M.t.v*L));for(t.strokeWidthAnim&&(j=t.sw||0),t.strokeColorAnim&&(G=t.sc?[t.sc[0],t.sc[1],t.sc[2]]:[0,0,0]),t.fillColorAnim&&t.fc&&(H=[t.fc[0],t.fc[1],t.fc[2]]),D=0;D<F;D+=1)(M=E[D].a).a.propType&&((L=E[D].s.getMult(T[n].anIndexes[D],S.a[D].s.totalChars)).length?P.translate(-M.a.v[0]*L[0],-M.a.v[1]*L[1],M.a.v[2]*L[2]):P.translate(-M.a.v[0]*L,-M.a.v[1]*L,M.a.v[2]*L));for(D=0;D<F;D+=1)(M=E[D].a).s.propType&&((L=E[D].s.getMult(T[n].anIndexes[D],S.a[D].s.totalChars)).length?P.scale(1+(M.s.v[0]-1)*L[0],1+(M.s.v[1]-1)*L[1],1):P.scale(1+(M.s.v[0]-1)*L,1+(M.s.v[1]-1)*L,1));for(D=0;D<F;D+=1){if(M=E[D].a,L=E[D].s.getMult(T[n].anIndexes[D],S.a[D].s.totalChars),M.sk.propType&&(L.length?P.skewFromAxis(-M.sk.v*L[0],M.sa.v*L[1]):P.skewFromAxis(-M.sk.v*L,M.sa.v*L)),M.r.propType&&(L.length?P.rotateZ(-M.r.v*L[2]):P.rotateZ(-M.r.v*L)),M.ry.propType&&(L.length?P.rotateY(M.ry.v*L[1]):P.rotateY(M.ry.v*L)),M.rx.propType&&(L.length?P.rotateX(M.rx.v*L[0]):P.rotateX(M.rx.v*L)),M.o.propType&&(L.length?N+=(M.o.v*L[0]-N)*L[0]:N+=(M.o.v*L-N)*L),t.strokeWidthAnim&&M.sw.propType&&(L.length?j+=M.sw.v*L[0]:j+=M.sw.v*L),t.strokeColorAnim&&M.sc.propType)for(W=0;W<3;W+=1)L.length?G[W]+=(M.sc.v[W]-G[W])*L[0]:G[W]+=(M.sc.v[W]-G[W])*L;if(t.fillColorAnim&&t.fc){if(M.fc.propType)for(W=0;W<3;W+=1)L.length?H[W]+=(M.fc.v[W]-H[W])*L[0]:H[W]+=(M.fc.v[W]-H[W])*L;M.fh.propType&&(H=L.length?addHueToRGB(H,M.fh.v*L[0]):addHueToRGB(H,M.fh.v*L)),M.fs.propType&&(H=L.length?addSaturationToRGB(H,M.fs.v*L[0]):addSaturationToRGB(H,M.fs.v*L)),M.fb.propType&&(H=L.length?addBrightnessToRGB(H,M.fb.v*L[0]):addBrightnessToRGB(H,M.fb.v*L))}}for(D=0;D<F;D+=1)(M=E[D].a).p.propType&&(L=E[D].s.getMult(T[n].anIndexes[D],S.a[D].s.totalChars),this._hasMaskedPath?L.length?P.translate(0,M.p.v[1]*L[0],-M.p.v[2]*L[1]):P.translate(0,M.p.v[1]*L,-M.p.v[2]*L):L.length?P.translate(M.p.v[0]*L[0],M.p.v[1]*L[1],-M.p.v[2]*L[2]):P.translate(M.p.v[0]*L,M.p.v[1]*L,-M.p.v[2]*L));if(t.strokeWidthAnim&&(q=j<0?0:j),t.strokeColorAnim&&(Y="rgb("+Math.round(255*G[0])+","+Math.round(255*G[1])+","+Math.round(255*G[2])+")"),t.fillColorAnim&&t.fc&&(X="rgb("+Math.round(255*H[0])+","+Math.round(255*H[1])+","+Math.round(255*H[2])+")"),this._hasMaskedPath){if(P.translate(0,-t.ls),P.translate(0,_[1]*B*.01+r,0),this._pathData.p.v){b=(h.point[1]-u.point[1])/(h.point[0]-u.point[0]);var ht=180*Math.atan(b)/Math.PI;h.point[0]<u.point[0]&&(ht+=180),P.rotate(-ht*Math.PI/180)}P.translate(O,z,0),o-=_[0]*T[n].an*.005,T[n+1]&&U!==T[n+1].ind&&(o+=T[n].an/2,o+=.001*t.tr*t.finalSize)}else{switch(P.translate(i,r,0),t.ps&&P.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:P.translate(T[n].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[T[n].line]),0,0);break;case 2:P.translate(T[n].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[T[n].line])/2,0,0)}P.translate(0,-t.ls),P.translate(V,0,0),P.translate(_[0]*T[n].an*.005,_[1]*B*.01,0),i+=T[n].l+.001*t.tr*t.finalSize}"html"===C?tt=P.toCSS():"svg"===C?tt=P.to2dCSS():et=[P.props[0],P.props[1],P.props[2],P.props[3],P.props[4],P.props[5],P.props[6],P.props[7],P.props[8],P.props[9],P.props[10],P.props[11],P.props[12],P.props[13],P.props[14],P.props[15]],$=N}w<=n?(I=new LetterProps($,q,Y,X,tt,et),this.renderedLetters.push(I),w+=1,this.lettersChangedFlag=!0):(I=this.renderedLetters[n],this.lettersChangedFlag=I.update($,q,Y,X,tt,et)||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),ITextElement.prototype.initElement=function(t,e,i){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,e,i),this.textProperty=new TextProperty(this,t.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(t.t,this.renderType,this),this.initTransform(t,e,i),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)},ITextElement.prototype.createPathShape=function(t,e){var i,r,n=e.length,s="";for(i=0;i<n;i+=1)"sh"===e[i].ty&&(r=e[i].ks.k,s+=buildShapeString(r,r.i.length,!0,t));return s},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,i,r,n){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[i]),0,0);break;case 2:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[i])/2,0,0)}e.translate(r,n,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(){},ITextElement.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var emptyShapeData={shapes:[]};function SVGTextLottieElement(t,e,i){this.textSpans=[],this.renderType="svg",this.initElement(t,e,i)}function ISolidElement(t,e,i){this.initElement(t,e,i)}function NullElement(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initFrame(),this.initTransform(t,e,i),this.initHierarchy()}function SVGRendererBase(){}function ICompElement(){}function SVGCompElement(t,e,i){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,i),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function SVGRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var i="";if(e&&e.title){var r=createNS("title"),n=createElementID();r.setAttribute("id",n),r.textContent=e.title,this.svgElement.appendChild(r),i+=n}if(e&&e.description){var s=createNS("desc"),a=createElementID();s.setAttribute("id",a),s.textContent=e.description,this.svgElement.appendChild(s),i+=" "+a}i&&this.svgElement.setAttribute("aria-labelledby",i);var o=createNS("defs");this.svgElement.appendChild(o);var h=createNS("g");this.svgElement.appendChild(h),this.layerElement=h,this.renderConfig={preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",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%"},width:e&&e.width,height:e&&e.height,runExpressions:!e||void 0===e.runExpressions||e.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:o,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(t){for(var e=0,i=t.length,r=[],n="";e<i;)t[e]===String.fromCharCode(13)||t[e]===String.fromCharCode(3)?(r.push(n),n=""):n+=t[e],e+=1;return r.push(n),r},SVGTextLottieElement.prototype.buildShapeData=function(t,e){if(t.shapes&&t.shapes.length){var i=t.shapes[0];if(i.it){var r=i.it[i.it.length-1];r.s&&(r.s.k[0]=e,r.s.k[1]=e)}}return t},SVGTextLottieElement.prototype.buildNewText=function(){var t,e;this.addDynamicProperty(this);var i=this.textProperty.currentData;this.renderedLetters=createSizedArray(i?i.l.length:0),i.fc?this.layerElement.setAttribute("fill",this.buildColor(i.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),i.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(i.sc)),this.layerElement.setAttribute("stroke-width",i.sw)),this.layerElement.setAttribute("font-size",i.finalSize);var r=this.globalData.fontManager.getFontByName(i.f);if(r.fClass)this.layerElement.setAttribute("class",r.fClass);else{this.layerElement.setAttribute("font-family",r.fFamily);var n=i.fWeight,s=i.fStyle;this.layerElement.setAttribute("font-style",s),this.layerElement.setAttribute("font-weight",n)}this.layerElement.setAttribute("aria-label",i.t);var a,o=i.l||[],h=!!this.globalData.fontManager.chars;e=o.length;var l=this.mHelper,p=this.data.singleShape,c=0,f=0,u=!0,d=.001*i.tr*i.finalSize;if(!p||h||i.sz){var m,g=this.textSpans.length;for(t=0;t<e;t+=1){if(this.textSpans[t]||(this.textSpans[t]={span:null,childSpan:null,glyph:null}),!h||!p||0===t){if(a=g>t?this.textSpans[t].span:createNS(h?"g":"text"),g<=t){if(a.setAttribute("stroke-linecap","butt"),a.setAttribute("stroke-linejoin","round"),a.setAttribute("stroke-miterlimit","4"),this.textSpans[t].span=a,h){var y=createNS("g");a.appendChild(y),this.textSpans[t].childSpan=y}this.textSpans[t].span=a,this.layerElement.appendChild(a)}a.style.display="inherit"}if(l.reset(),p&&(o[t].n&&(c=-d,f+=i.yOffset,f+=u?1:0,u=!1),this.applyTextPropertiesToMatrix(i,l,o[t].line,c,f),c+=o[t].l||0,c+=d),h){var v;if(1===(m=this.globalData.fontManager.getCharData(i.finalText[t],r.fStyle,this.globalData.fontManager.getFontByName(i.f).fFamily)).t)v=new SVGCompElement(m.data,this.globalData,this);else{var b=emptyShapeData;m.data&&m.data.shapes&&(b=this.buildShapeData(m.data,i.finalSize)),v=new SVGShapeElement(b,this.globalData,this)}if(this.textSpans[t].glyph){var x=this.textSpans[t].glyph;this.textSpans[t].childSpan.removeChild(x.layerElement),x.destroy()}this.textSpans[t].glyph=v,v._debug=!0,v.prepareFrame(0),v.renderFrame(),this.textSpans[t].childSpan.appendChild(v.layerElement),1===m.t&&this.textSpans[t].childSpan.setAttribute("transform","scale("+i.finalSize/100+","+i.finalSize/100+")")}else p&&a.setAttribute("transform","translate("+l.props[12]+","+l.props[13]+")"),a.textContent=o[t].val,a.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}p&&a&&a.setAttribute("d","")}else{var _=this.textContainer,E="start";switch(i.j){case 1:E="end";break;case 2:E="middle";break;default:E="start"}_.setAttribute("text-anchor",E),_.setAttribute("letter-spacing",d);var S=this.buildTextContents(i.finalText);for(e=S.length,f=i.ps?i.ps[1]+i.ascent:0,t=0;t<e;t+=1)(a=this.textSpans[t].span||createNS("tspan")).textContent=S[t],a.setAttribute("x",0),a.setAttribute("y",f),a.style.display="inherit",_.appendChild(a),this.textSpans[t]||(this.textSpans[t]={span:null,glyph:null}),this.textSpans[t].span=a,f+=i.finalLineHeight;this.layerElement.appendChild(_)}for(;t<this.textSpans.length;)this.textSpans[t].span.style.display="none",t+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var t=this.layerElement.getBBox();this.bbox={top:t.y,left:t.x,width:t.width,height:t.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var t,e,i=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,t=0;t<i;t+=1)(e=this.textSpans[t].glyph)&&(e.prepareFrame(this.comp.renderedFrame-this.data.st),e._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){var t,e;this._sizeChanged=!0;var i,r,n,s=this.textAnimator.renderedLetters,a=this.textProperty.currentData.l;for(e=a.length,t=0;t<e;t+=1)a[t].n||(i=s[t],r=this.textSpans[t].span,(n=this.textSpans[t].glyph)&&n.renderFrame(),i._mdf.m&&r.setAttribute("transform",i.m),i._mdf.o&&r.setAttribute("opacity",i.o),i._mdf.sw&&r.setAttribute("stroke-width",i.sw),i._mdf.sc&&r.setAttribute("stroke",i.sc),i._mdf.fc&&r.setAttribute("fill",i.fc))}},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)},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),extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(t){return new NullElement(t,this.globalData,this)},SVGRendererBase.prototype.createShape=function(t){return new SVGShapeElement(t,this.globalData,this)},SVGRendererBase.prototype.createText=function(t){return new SVGTextLottieElement(t,this.globalData,this)},SVGRendererBase.prototype.createImage=function(t){return new IImageElement(t,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(t){return new ISolidElement(t,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(t){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),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,
20,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),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 i=createNS("clipPath"),r=createNS("rect");r.setAttribute("width",t.w),r.setAttribute("height",t.h),r.setAttribute("x",0),r.setAttribute("y",0);var n=createElementID();i.setAttribute("id",n),i.appendChild(r),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+n+")"),e.appendChild(i),this.layers=t.layers,this.elements=createSizedArray(t.layers.length)},SVGRendererBase.prototype.destroy=function(){var t;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(t){var e=0,i=this.layers.length;for(e=0;e<i;e+=1)if(this.layers[e].ind===t)return e;return-1},SVGRendererBase.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!==this.layers[t].ty){e[t]=!0;var i=this.createItem(this.layers[t]);if(e[t]=i,getExpressionsPlugin()&&(0===this.layers[t].ty&&this.globalData.projectInterface.registerComposition(i),i.initExpressions()),this.appendElementInPos(i,t),this.layers[t].tt){var r="tp"in this.layers[t]?this.findIndexByInd(this.layers[t].tp):t-1;if(-1===r)return;if(this.elements[r]&&!0!==this.elements[r]){var n=e[r].getMatte(this.layers[t].tt);i.setMatte(n)}else this.buildItem(r),this.addPendingElement(i)}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt)for(var e=0,i=this.elements.length;e<i;){if(this.elements[e]===t){var r="tp"in t.data?this.findIndexByInd(t.data.tp):e-1,n=this.elements[r].getMatte(this.layers[e].tt);t.setMatte(n);break}e+=1}}},SVGRendererBase.prototype.renderFrame=function(t){if(this.renderedFrame!==t&&!this.destroyed){var e;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 i=this.layers.length;for(this.completeLayers||this.checkLayers(t),e=i-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(t-this.layers[e].st);if(this.globalData._mdf)for(e=0;e<i;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(t,e){var i=t.getBaseElement();if(i){for(var r,n=0;n<e;)this.elements[n]&&!0!==this.elements[n]&&this.elements[n].getBaseElement()&&(r=this.elements[n].getBaseElement()),n+=1;r?this.layerElement.insertBefore(i,r):this.layerElement.appendChild(i)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initTransform(t,e,i),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 i,r=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),i=r-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&(this.elements[i].prepareFrame(this.renderedFrame-this.layers[i].st),this.elements[i]._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([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)},extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)},ShapeTransformManager.prototype={addTransformSequence:function(t){var e,i=t.length,r="_";for(e=0;e<i;e+=1)r+=t[e].transform.key+"_";var n=this.sequences[r];return n||(n={transforms:[].concat(t),finalTransform:new Matrix,_mdf:!1},this.sequences[r]=n,this.sequenceList.push(n)),n},processSequence:function(t,e){for(var i=0,r=t.transforms.length,n=e;i<r&&!e;){if(t.transforms[i].transform.mProps._mdf){n=!0;break}i+=1}if(n)for(t.finalTransform.reset(),i=r-1;i>=0;i-=1)t.finalTransform.multiply(t.transforms[i].transform.mProps.v);t._mdf=n},processSequences:function(t){var e,i=this.sequenceList.length;for(e=0;e<i;e+=1)this.processSequence(this.sequenceList[e],t)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var t="__lottie_element_luma_buffer",e=null,i=null,r=null;function n(){var n,s,a;e||(n=createNS("svg"),s=createNS("filter"),a=createNS("feColorMatrix"),s.setAttribute("id",t),a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("values","0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0"),s.appendChild(a),n.appendChild(s),n.setAttribute("id",t+"_svg"),featureSupport.svgLumaHidden&&(n.style.display="none"),r=n,document.body.appendChild(r),e=createTag("canvas"),(i=e.getContext("2d")).filter="url
2(#"+t+")",i.fillStyle="rgba(0,0,0,0)",i.fillRect(0,0,1,1))}return{load:n,get:function(r){return e||n(),e.width=r.width,e.height=r.height,i.filter="url(#"+t+")",e}}};function createCanvas(t,e){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(t,e);var i=createTag("canvas");return i.width=t,i.height=e,i}var assetLoader={loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas:createCanvas},registeredEffects={};function CVEffects(t){var e,i,r=t.data.ef?t.data.ef.length:0;for(this.filters=[],e=0;e<r;e+=1){i=null;var n=t.data.ef[e].ty;registeredEffects[n]&&(i=new(0,registeredEffects[n].effect)(t.effectsManager.effectElements[e],t)),i&&this.filters.push(i)}this.filters.length&&t.addRenderableComponent(this)}function registerEffect(t,e){registeredEffects[t]={effect:e}}function CVMaskElement(t,e){var i;this.data=t,this.element=e,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var r=this.masksProperties.length,n=!1;for(i=0;i<r;i+=1)"n"!==this.masksProperties[i].mode&&(n=!0),this.viewData[i]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[i],3);this.hasMasks=n,n&&this.element.addRenderableComponent(this)}function CVBaseElement(){}CVEffects.prototype.renderFrame=function(t){var e,i=this.filters.length;for(e=0;e<i;e+=1)this.filters[e].renderFrame(t)},CVEffects.prototype.getEffects=function(t){var e,i=this.filters.length,r=[];for(e=0;e<i;e+=1)this.filters[e].type===t&&r.push(this.filters[e]);return r},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var t,e,i,r,n=this.element.finalTransform.mat,s=this.element.canvasContext,a=this.masksProperties.length;for(s.beginPath(),t=0;t<a;t+=1)if("n"!==this.masksProperties[t].mode){var o;this.masksProperties[t].inv&&(s.moveTo(0,0),s.lineTo(this.element.globalData.compSize.w,0),s.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),s.lineTo(0,this.element.globalData.compSize.h),s.lineTo(0,0)),r=this.viewData[t].v,e=n.applyToPointArray(r.v[0][0],r.v[0][1],0),s.moveTo(e[0],e[1]);var h=r._length;for(o=1;o<h;o+=1)i=n.applyToTriplePoints(r.o[o-1],r.i[o],r.v[o]),s.bezierCurveTo(i[0],i[1],i[2],i[3],i[4],i[5]);i=n.applyToTriplePoints(r.o[o-1],r.i[0],r.v[0]),s.bezierCurveTo(i[0],i[1],i[2],i[3],i[4],i[5])}this.element.globalData.renderer.save(!0),s.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null};var operationsMap={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};function CVShapeData(t,e,i,r){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var n,s=4;"rc"===e.ty?s=5:"el"===e.ty?s=6:"sr"===e.ty&&(s=7),this.sh=ShapePropertyFactory.getShapeProp(t,e,s,t);var a,o=i.length;for(n=0;n<o;n+=1)i[n].closed||(a={transforms:r.addTransformSequence(i[n].transforms),trNodes:[]},this.styledShapes.push(a),i[n].elements.push(a
vendor: 4,451 bytes, line 2
2))}function CVShapeElement(t,e,i){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(t,e,i)}function CVTextElement(t,e,i){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,i)}function CVImageElement(t,e,i){this.assetData=e.getAssetData(t.refId),this.img=e.imageLoader.getAsset(this.assetData),this.initElement(t,e,i)}function CVSolidElement(t,e,i){this.initElement(t,e,i)}function CanvasRendererBase(){}function CanvasContext(){this.opacity=-1,this.transform=createTypedArray("float32",16),this.fillStyle="",this.strokeStyle="",this.lineWidth="",this.lineCap="",this.lineJoin="",this.miterLimit="",this.id=Math.random()}function CVContextData(){var t;for(this.stack=[],this.cArrPos=0,this.cTr=new Matrix,t=0;t<15;t+=1){var e=new CanvasContext;this.stack[t]=e}this._length=15,this.nativeContext=null,this.transformMat=new Matrix,this.currentOpacity=1,this.currentFillStyle="",this.appliedFillStyle="",this.currentStrokeStyle="",this.appliedStrokeStyle="",this.currentLineWidth="",this.appliedLineWidth="",this.currentLineCap="",this.appliedLineCap="",this.currentLineJoin="",this.appliedLineJoin="",this.appliedMiterLimit="",this.currentMiterLimit=""}function CVCompElement(t,e,i){this.completeLayers=!1,this.layers=t.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(t,e,i),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}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",contentVisibility:e&&e.contentVisibility||"visible",className:e&&e.className||"",id:e&&e.id||"",runExpressions:!e||void 0===e.runExpressions||e.runExpressions},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",this.renderConfig.clearCanvas&&(this.ctxTransform=this.contextData.transform.bind(this.contextData),this.ctxOpacity=this.contextData.opacity.bind(this.contextData),this.ctxFillStyle=this.contextData.fillStyle.bind(this.contextData),this.ctxStrokeStyle=this.contextData.strokeStyle.bind(this.contextData),this.ctxLineWidth=this.contextData.lineWidth.bind(this.contextData),this.ctxLineCap=this.contextData.lineCap.bind(this.contextData),this.ctxLineJoin=this.contextData.lineJoin.bind(this.contextData),this.ctxMiterLimit=this.contextData.miterLimit.bind(this.contextData),this.ctxFill=this.contextData.fill.bind(this.contextData),this.ctxFillRect=this.contextData.fillRect.bind(this.contextData),this.ctxStroke=this.contextData.stroke.bind(this.contextData),this.save=this.contextData.save.bind(this.contextData))}function HBaseElement(){}function HSolidElement(t,e,i){this.initElement(t,e,i)}function HShapeElement(t,e,i){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(t,e,i),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(t,e,i){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(t,e,i)}function HCameraElement(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initHierarchy();var r=PropertyFactory.getProp;if(this.pe=r(this,t.pe,0,0,this),t.ks.p.s?(this.px=r(this,t.ks.p.x,1,0,this),this.py=r(this,t.ks.p.y,1,0,this),this.pz=r(this,t.ks.p.z,1,0,this)):this.p=r(this,t.ks.p,1,0,this),t.ks.a&&(this.a=r(this,t.ks.a,1,0,this)),t.ks.or.k.length&&t.ks.or.k[0].to){var
2n,s=t.ks.or.k.length;for(n=0;n<s;n+=1)t.ks.or.k[n].to=null,t.ks.or.k[n
vendor: 7,056 bytes, line 2
2].ti=null}this.or=r(this,t.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=r(this,t.ks.rx,0,degToRads,this),this.ry=r(this,t.ks.ry,0,degToRads,this),this.rz=r(this,t.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}function HImageElement(t,e,i){this.assetData=e.getAssetData(t.refId),this.initElement(t,e,i)}function HybridRendererBase(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 HCompElement(t,e,i){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,i),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}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%"},runExpressions:!e||void 0===e.runExpressions||e.runExpressions},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"}CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var t=this.globalData.canvasContext,e=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(e);var i=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(i),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects(this),this.searchEffectTransforms()},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),this.transformEffects=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT)},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)},clearCanvas:function(t){t.clearRect(this.transformCanvas.tx,this.transformCanvas.ty,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)},prepareLayer:function(){if(this.data.tt>=1){var t=this.buffers[0].getContext("2d");this.clearCanvas(t),t.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var t=this.buffers[1],e=t.getContext("2d");if(this.clearCanvas(e),e.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform),this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1).renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var i=assetLoader.getLumaCanvas(this.canvasContext.canvas);i.getContext("2d").drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(i,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(t,0,0),this.canvasContext.globalCompositeOperation="destination-over",this.canvasContext.drawImage(this.buffers[0],0,0),this.canvasContext.setTransform(this.currentTransform),this.canvasContext.globalCompositeOperation="source-over"}},renderFrame:function(t){if(!this.hidden&&!this.data.hd&&(1!==this.data.td||t)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var e=0===this.data.ty;this.prepareLayer(),this.globalData.renderer.save(e),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(e),this.exitLayer(),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,CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated,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 i={data:t,type:t.ty,preTransforms:this.transformsManager.addTransformSequence(e),transforms:[],elements:[],closed:!0===t.hd},r={};if("fl"===t.ty||"st"===t.ty?(r.c=PropertyFactory.getProp(this,t.c,1,255,this),r.c.k||(i.co="rgb("+bmFloor(r.c.v[0])+","+bmFloor(r.c.v[1])+","+bmFloor(r.c.v[2])+")")):"gf"!==t.ty&&"gs"!==t.ty||(r.s=PropertyFactory.getProp(this,t.s,1,null,this),r.e=PropertyFactory.getProp(this,t.e,1,null,this),r.h=PropertyFactory.getProp(this,t.h||{k:0},0,.01,this),r.a=PropertyFactory.getProp(this,t.a||{k:0},0,degToRads,this),r.g=new GradientProperty(this,t.g,this)),r.o=PropertyFactory.getProp(this,t.o,0,.01,this),"st"===t.ty||"gs"===t.ty){if(i.lc=lineCapEnum[t.lc||2],i.lj=lineJoinEnum[t.lj||2],1==t.lj&&(i.ml=t.ml),r.w=PropertyFactory.getProp(this,t.w,0,null,this),r.w.k||(i.wi=r.w.v),t.d){var
vendor: 16,758 bytes, line 2
2n=new DashProperty(this,t.d,"canvas",this);r.d=n,r.d.k||(i.da=r.d.dashArray,i.do=r.d.dashoffset[0])}}else i.r=2===t.r?"evenodd":"nonzero";return this.stylesList.push(i),r.style=i,r},CVShapeElement.prototype.createGroupElement=function(){return{it:[],prevViewData:[]}},CVShapeElement.prototype.createTransformElement=function(t){return{transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,t.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,t,this)}}},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(){var t;this._isFirstFrame=!0;var 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,i=this.stylesList.length;for(e=0;e<i;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,i=t.length;for(e=0;e<i;e+=1)t[e].closed=!0},CVShapeElement.prototype.searchShapes=function(t,e,i,r,n){var s,a,o,h,l,p,c=t.length-1,f=[],u=[],d=[].concat(n);for(s=c;s>=0;s-=1){if((h=this.searchProcessedElement(t[s]))?e[s]=i[h-1]:t[s]._shouldRender=r,"fl"===t[s].ty||"st"===t[s].ty||"gf"===t[s].ty||"gs"===t[s].ty)h?e[s].style.closed=!1:e[s]=this.createStyleElement(t[s],d),f.push(e[s].style);else if("gr"===t[s].ty){if(h)for(o=e[s].it.length,a=0;a<o;a+=1)e[s].prevViewData[a]=e[s].it[a];else e[s]=this.createGroupElement(t[s]);this.searchShapes(t[s].it,e[s].it,e[s].prevViewData,r,d)}else"tr"===t[s].ty?(h||(p=this.createTransformElement(t[s]),e[s]=p),d.push(e[s]),this.addTransformToStyleList(e[s])):"sh"===t[s].ty||"rc"===t[s].ty||"el"===t[s].ty||"sr"===t[s].ty?h||(e[s]=this.createShapeElement(t[s])):"tm"===t[s].ty||"rd"===t[s].ty||"pb"===t[s].ty||"zz"===t[s].ty||"op"===t[s].ty?(h?(l=e[s]).closed=!1:((l=ShapeModifiers.getModifier(t[s].ty)).init(this,t[s]),e[s]=l,this.shapeModifiers.push(l)),u.push(l)):"rp"===t[s].ty&&(h?(l=e[s]).closed=!0:(l=ShapeModifiers.getModifier(t[s].ty),e[s]=l,l.init(this,t,s,e),this.shapeModifiers.push(l),r=!1),u.push(l));this.addProcessedElement(t[s],s+1)}for(this.removeTransformFromStyleList(),this.closeStyles(f),c=u.length,s=0;s<c;s+=1)u[s].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,i,r,n,s,a,o,h,l=this.stylesList.length,p=this.globalData.renderer,c=this.globalData.canvasContext;for(t=0;t<l;t+=1)if(("st"!==(o=(h=this.stylesList[t]).type)&&"gs"!==o||0!==h.wi)&&h.data._shouldRender&&0!==h.coOp&&0!==this.globalData.currentGlobalAlpha){for(p.save(),s=h.elements,"st"===o||"gs"===o?(p.ctxStrokeStyle("st"===o?h.co:h.grd),p.ctxLineWidth(h.wi),p.ctxLineCap(h.lc),p.ctxLineJoin(h.lj),p.ctxMiterLimit(h.ml||0)):p.ctxFillStyle("fl"===o?h.co:h.grd),p.ctxOpacity(h.coOp),"st"!==o&&"gs"!==o&&c.beginPath(),p.ctxTransform(h.preTransforms.finalTransform.props),i=s.length,e=0;e<i;e+=1){for("st"!==o&&"gs"!==o||(c.beginPath(),h.da&&(c.setLineDash(h.da),c.lineDashOffset=h.do)),n=(a=s[e].trNodes).length,r=0;r<n;r+=1)"m"===a[r].t?c.moveTo(a[r].p[0],a[r].p[1]):"c"===a[r].t?c.bezierCurveTo(a[r].pts[0],a[r].pts[1],a[r].pts[2],a[r].pts[3],a[r].pts[4],a[r].pts[5]):c.closePath();"st"!==o&&"gs"!==o||(p.ctxStroke(),h.da&&c.setLineDash(this.dashResetter))}"st"!==o&&"gs"!==o&&this.globalData.renderer.ctxFill(h.r),p.restore()}},CVShapeElement.prototype.renderShape=function(t,e,i,r){var n,s;for(s=t,n=e.length-1;n>=0;n-=1)"tr"===e[n].ty?(s=i[n].transform,this.renderShapeTransform(t,s)):"sh"===e[n].ty||"el"===e[n].ty||"rc"===e[n].ty||"sr"===e[n].ty?this.renderPath(e[n],i[n]):"fl"===e[n].ty?this.renderFill(e[n],i[n],s):"st"===e[n].ty?this.renderStroke(e[n],i[n],s):"gf"===e[n].ty||"gs"===e[n].ty?this.renderGradientFill(e[n],i[n],s):"gr"===e[n].ty?this.renderShape(s,e[n].it,i[n].it):e[n].ty;r&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(t,e){if(this._isFirstFrame||e._mdf||t.transforms._mdf){var i,r,n,s=t.trNodes,a=e.paths,o=a._length;s.length=0;var h=t.transforms.finalTransform;for(n=0;n<o;n+=1){var l=a.shapes[n];if(l&&l.v){for(r=l._length,i=1;i<r;i+=1)1===i&&s.push({t:"m",p:h.applyToPointArray(l.v[0][0],l.v[0][1],0)}),s.push({t:"c",pts:h.applyToTriplePoints(l.o[i-1],l.i[i],l.v[i])});1===r&&s.push({t:"m",p:h.applyToPointArray(l.v[0][0],l.v[0][1],0)}),l.c&&r&&(s.push({t:"c",pts:h.applyToTriplePoints(l.o[i-1],l.i[0],l.v[0])}),s.push({t:"z"}))}}t.trNodes=s}},CVShapeElement.prototype.renderPath=function(t,e){if(!0!==t.hd&&t._shouldRender){var i,r=e.styledShapes.length;for(i=0;i<r;i+=1)this.renderStyledShape(e.styledShapes[i],e.sh)}},CVShapeElement.prototype.renderFill=function(t,e,i){var r=e.style;(e.c._mdf||this._isFirstFrame)&&(r.co="rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||i._opMdf||this._isFirstFrame)&&(r.coOp=e.o.v*i.opacity)},CVShapeElement.prototype.renderGradientFill=function(t,e,i){var r,n=e.style;if(!n.grd||e.g._mdf||e.s._mdf||e.e._mdf||1!==t.t&&(e.h._mdf||e.a._mdf)){var s,a=this.globalData.canvasContext,o=e.s.v,h=e.e.v;if(1===t.t)r=a.createLinearGradient(o[0],o[1],h[0],h[1]);else{var l=Math.sqrt(Math.pow(o[0]-h[0],2)+Math.pow(o[1]-h[1],2)),p=Math.atan2(h[1]-o[1],h[0]-o[0]),c=e.h.v;c>=1?c=.99:c<=-1&&(c=-.99);var f=l*c,u=Math.cos(p+e.a.v)*f+o[0],d=Math.sin(p+e.a.v)*f+o[1];r=a.createRadialGradient(u,d,0,o[0],o[1],l)}var m=t.g.p,g=e.g.c,y=1;for(s=0;s<m;s+=1)e.g._hasOpacity&&e.g._collapsable&&(y=e.g.o[2*s+1]),r.addColorStop(g[4*s]/100,"rgba("+g[4*s+1]+","+g[4*s+2]+","+g[4*s+3]+","+y+")");n.grd=r}n.coOp=e.o.v*i.opacity},CVShapeElement.prototype.renderStroke=function(t,e,i){var r=e.style,n=e.d;n&&(n._mdf||this._isFirstFrame)&&(r.da=n.dashArray,r.do=n.dashoffset[0]),(e.c._mdf||this._isFirstFrame)&&(r.co="rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||i._opMdf||this._isFirstFrame)&&(r.coOp=e.o.v*i.opacity),(e.w._mdf||this._isFirstFrame)&&(r.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,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 i=!1;t.sc&&(i=!0,this.values.stroke=this.buildColor(t.sc),this.values.sWidth=t.sw);var r,n,s,a,o,h,l,p,c,f,u,d,m=this.globalData.fontManager.getFontByName(t.f),g=t.l,y=this.mHelper;this.stroke=i,this.values.fValue=t.finalSize+"px "+this.globalData.fontManager.getFontByName(t.f).fFamily,n=t.finalText.length;var v=this.data.singleShape,b=.001*t.tr*t.finalSize,x=0,_=0,E=!0,S=0;for(r=0;r<n;r+=1){a=(s=this.globalData.fontManager.getCharData(t.finalText[r],m.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily))&&s.data||{},y.reset(),v&&g[r].n&&(x=-b,_+=t.yOffset,_+=E?1:0,E=!1),c=(l=a.shapes?a.shapes[0].it:[]).length,y.scale(t.finalSize/100,t.finalSize/100),v&&this.applyTextPropertiesToMatrix(t,y,g[r].line,x,_),u=createSizedArray(c-1);var P=0;for(p=0;p<c;p+=1)if("sh"===l[p].ty){for(h=l[p].ks.k.i.length,f=l[p].ks.k,d=[],o=1;o<h;o+=1)1===o&&d.push(y.applyToX(f.v[0][0],f.v[0][1],0),y.applyToY(f.v[0][0],f.v[0][1],0)),d.push(y.applyToX(f.o[o-1][0],f.o[o-1][1],0),y.applyToY(f.o[o-1][0],f.o[o-1][1],0),y.applyToX(f.i[o][0],f.i[o][1],0),y.applyToY(f.i[o][0],f.i[o][1],0),y.applyToX(f.v[o][0],f.v[o][1],0),y.applyToY(f.v[o][0],f.v[o][1],0));d.push(y.applyToX(f.o[o-1][0],f.o[o-1][1],0),y.applyToY(f.o[o-1][0],f.o[o-1][1],0),y.applyToX(f.i[0][0],f.i[0][1],0),y.applyToY(f.i[0][0],f.i[0][1],0),y.applyToX(f.v[0][0],f.v[0][1],0),y.applyToY(f.v[0][0],f.v[0][1],0)),u[P]=d,P+=1}v&&(x+=g[r].l,x+=b),this.textSpans[S]?this.textSpans[S].elem=u:this.textSpans[S]={elem:u},S+=1}},CVTextElement.prototype.renderInnerContent=function(){var t,e,i,r,n,s;this.validateText(),this.canvasContext.font=this.values.fValue,this.globalData.renderer.ctxLineCap("butt"),this.globalData.renderer.ctxLineJoin("miter"),this.globalData.renderer.ctxMiterLimit(4),this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var a,o=this.textAnimator.renderedLetters,h=this.textProperty.currentData.l;e=h.length;var l,p,c=null,f=null,u=null,d=this.globalData.renderer;for(t=0;t<e;t+=1)if(!h[t].n){if((a=o[t])&&(d.save(),d.ctxTransform(a.p),d.ctxOpacity(a.o)),this.fill){for(a&&a.fc?c!==a.fc&&(d.ctxFillStyle(a.fc),c=a.fc):c!==this.values.fill&&(c=this.values.fill,d.ctxFillStyle(this.values.fill)),r=(l=this.textSpans[t].elem).length,this.globalData.canvasContext.beginPath(),i=0;i<r;i+=1)for(s=(p=l[i]).length,this.globalData.canvasContext.moveTo(p[0],p[1]),n=2;n<s;n+=6)this.globalData.canvasContext.bezierCurveTo(p[n],p[n+1],p[n+2],p[n+3],p[n+4],p[n+5]);this.globalData.canvasContext.closePath(),d.ctxFill()}if(this.stroke){for(a&&a.sw?u!==a.sw&&(u=a.sw,d.ctxLineWidth(a.sw)):u!==this.values.sWidth&&(u=this.values.sWidth,d.ctxLineWidth(this.values.sWidth)),a&&a.sc?f!==a.sc&&(f=a.sc,d.ctxStrokeStyle(a.sc)):f!==this.values.stroke&&(f=this.values.stroke,d.ctxStrokeStyle(this.values.stroke)),r=(l=this.textSpans[t].elem).length,this.globalData.canvasContext.beginPath(),i=0;i<r;i+=1)for(s=(p=l[i]).length,this.globalData.canvasContext.moveTo(p[0],p[1]),n=2;n<s;n+=6)this.globalData.canvasContext.bezierCurveTo(p[n],p[n+1],p[n+2],p[n+3],p[n+4],p[n+5]);this.globalData.canvasContext.closePath(),d.ctxStroke()}a&&this.globalData.renderer.restore()}},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,i,r=t.getContext("2d"),n=this.img.width,s=this.img.height,a=n/s,o=this.assetData.w/this.assetData.h,h=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;a>o&&"xMidYMid slice"===h||a<o&&"xMidYMid slice"!==h?e=(i=s)*o:i=(e=n)/o,r.drawImage(this.img,(n-e)/2,(s-i)/2,e,i,0,0,this.assetData.w,this.assetData.h),this.img=t}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){this.globalData.renderer.ctxFillStyle(this.data.sc),this.globalData.renderer.ctxFillRect(0,0,this.data.sw,this.data.sh)},extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(t){return new CVShapeElement(t,this.globalData,this)},CanvasRendererBase.prototype.createText=function(t){return new CVTextElement(t,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(t){return new CVImageElement(t,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(t){return new CVSolidElement(t,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(t){1===t[0]&&0===t[1]&&0===t[4]&&1===t[5]&&0===t[12]&&0===t[13]||this.canvasContext.transform(t[0],t[1],t[4],t[5],t[12],t[13])},CanvasRendererBase.prototype.ctxOpacity=function(t){this.canvasContext.globalAlpha*=t<0?0:t},CanvasRendererBase.prototype.ctxFillStyle=function(t){this.canvasContext.fillStyle=t},CanvasRendererBase.prototype.ctxStrokeStyle=function(t){this.canvasContext.strokeStyle=t},CanvasRendererBase.prototype.ctxLineWidth=function(t){this.canvasContext.lineWidth=t},CanvasRendererBase.prototype.ctxLineCap=function(t){this.canvasContext.lineCap=t},CanvasRendererBase.prototype.ctxLineJoin=function(t){this.canvasContext.lineJoin=t},CanvasRendererBase.prototype.ctxMiterLimit=function(t){this.canvasContext.miterLimit=t},CanvasRendererBase.prototype.ctxFill=function(t){this.canvasContext.fill(t)},CanvasRendererBase.prototype.ctxFillRect=function(t,e,i,r){this.canvasContext.fillRect(t,e,i,r)},CanvasRendererBase.prototype.ctxStroke=function(){this.canvasContext.stroke()},CanvasRendererBase.prototype.reset=function(){this.renderConfig.clearCanvas?this.contextData.reset():this.canvasContext.restore()},CanvasRendererBase.prototype.save=function(){this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(t){this.renderConfig.clearCanvas?(t&&(this.globalData.blendMode="source-over"),this.contextData.restore(t)):this.canvasContext.restore()},CanvasRendererBase.prototype.configAnimation=function(t){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var e=this.animationItem.container.style;e.width="100%",e.height="100%";var i="0px 0px 0px";e.transformOrigin=i,e.mozTransformOrigin=i,e.webkitTransformOrigin=i,e["-webkit-transform"]=i,e.contentVisibility=this.renderConfig.contentVisibility,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)}else this.canvasContext=this.renderConfig.context;this.contextData.setContext(this.canvasContext),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()},CanvasRendererBase.prototype.updateContainerSize=function(t,e){var i,r,n,s;if(this.reset(),t?(i=t,r=e,this.canvasContext.canvas.width=i,this.canvasContext.canvas.height=r):(this.animationItem.wrapper&&this.animationItem.container?(i=this.animationItem.wrapper.offsetWidth,r=this.animationItem.wrapper.offsetHeight):(i=this.canvasContext.canvas.width,r=this.canvasContext.canvas.height),this.canvasContext.canvas.width=i*this.renderConfig.dpr,this.canvasContext.canvas.height=r*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var a=this.renderConfig.preserveAspectRatio.split(" "),o=a[1]||"meet",h=a[0]||"xMidYMid",l=h.substr(0,4),p=h.substr(4);n=i/r,(s=this.transformCanvas.w/this.transformCanvas.h)>n&&"meet"===o||s<n&&"slice"===o?(this.transformCanvas.sx=i/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=i/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=r/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=r/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===l&&(s<n&&"meet"===o||s>n&&"slice"===o)?(i-this.transformCanvas.w*(r/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===l&&(s<n&&"meet"===o||s>n&&"slice"===o)?(i-this.transformCanvas.w*(r/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.t
vendor: 6,067 bytes, line 2
2y="YMid"===p&&(s>n&&"meet"===o||s<n&&"slice"===o)?(r-this.transformCanvas.h*(i/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===p&&(s>n&&"meet"===o||s<n&&"slice"===o)?(r-this.transformCanvas.h*(i/this.transformCanvas.w))*this.renderConfig.dpr:0}else"none"===this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=i/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=r/(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)},CanvasRendererBase.prototype.destroy=function(){var t;for(this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),t=(this.layers?this.layers.length:0)-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy&&this.elements[t].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(t,e){if((this.renderedFrame!==t||!0!==this.renderConfig.clearCanvas||e)&&!this.destroyed&&-1!==t){var i;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=this.layers.length;for(this.completeLayers||this.checkLayers(t),i=r-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&this.elements[i].prepareFrame(t-this.layers[i].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),i=r-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&this.elements[i].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!==this.layers[t].ty){var i=this.createItem(this.layers[t],this,this.globalData);e[t]=i,i.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"},CVContextData.prototype.duplicate=function(){var t=2*this._length,e=0;for(e=this._length;e<t;e+=1)this.stack[e]=new CanvasContext;this._length=t},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.stack[this.cArrPos].opacity=1},CVContextData.prototype.restore=function(t){this.cArrPos-=1;var e,i=this.stack[this.cArrPos],r=i.transform,n=this.cTr.props;for(e=0;e<16;e+=1)n[e]=r[e];if(t){this.nativeContext.restore();var s=this.stack[this.cArrPos+1];this.appliedFillStyle=s.fillStyle,this.appliedStrokeStyle=s.strokeStyle,this.appliedLineWidth=s.lineWidth,this.appliedLineCap=s.lineCap,this.appliedLineJoin=s.lineJoin,this.appliedMiterLimit=s.miterLimit}this.nativeContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13]),(t||-1!==i.opacity&&this.currentOpacity!==i.opacity)&&(this.nativeContext.globalAlpha=i.opacity,this.currentOpacity=i.opacity),this.currentFillStyle=i.fillStyle,this.currentStrokeStyle=i.strokeStyle,this.currentLineWidth=i.lineWidth,this.currentLineCap=i.lineCap,this.currentLineJoin=i.lineJoin,this.currentMiterLimit=i.miterLimit},CVContextData.prototype.save=function(t){t&&this.nativeContext.save();var e=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var i,r=this.stack[this.cArrPos];for(i=0;i<16;i+=1)r.transform[i]=e[i];this.cArrPos+=1;var n=this.stack[this.cArrPos];n.opacity=r.opacity,n.fillStyle=r.fillStyle,n.strokeStyle=r.strokeStyle,n.lineWidth=r.lineWidth,n.lineCap=r.lineCap,n.lineJoin=r.lineJoin,n.miterLimit=r.miterLimit},CVContextData.prototype.setOpacity=function(t){this.stack[this.cArrPos].opacity=t},CVContextData.prototype.setContext=function(t){this.nativeContext=t},CVContextData.prototype.fillStyle=function(t){this.stack[this.cArrPos].fillStyle!==t&&(this.currentFillStyle=t,this.stack[this.cArrPos].fillStyle=t)},CVContextData.prototype.strokeStyle=function(t){this.stack[this.cArrPos].strokeStyle!==t&&(this.currentStrokeStyle=t,this.stack[this.cArrPos].strokeStyle=t)},CVContextData.prototype.lineWidth=function(t){this.stack[this.cArrPos].lineWidth!==t&&(this.currentLineWidth=t,this.stack[this.cArrPos].lineWidth=t)},CVContextData.prototype.lineCap=function(t){this.stack[this.cArrPos].lineCap!==t&&(this.currentLineCap=t,this.stack[this.cArrPos].lineCap=t)},CVContextData.prototype.lineJoin=function(t){this.stack[this.cArrPos].lineJoin!==t&&(this.currentLineJoin=t,this.stack[this.cArrPos].lineJoin=t)},CVContextData.prototype.miterLimit=function(t){this.stack[this.cArrPos].miterLimit!==t&&(this.currentMiterLimit=t,this.stack[this.cArrPos].miterLimit=t)},CVContextData.prototype.transform=function(t){this.transformMat.cloneFromProps(t);var e=this.cTr;this.transformMat.multiply(e),e.cloneFromProps(this.transformMat.props);var i=e.props;this.nativeContext.setTransform(i[0],i[1],i[4],i[5],i[12],i[13])},CVContextData.prototype.opacity=function(t){var e=this.stack[this.cArrPos].opacity;e*=t<0?0:t,this.stack[this.cArrPos].opacity!==e&&(this.currentOpacity!==t&&(this.nativeContext.globalAlpha=t,this.currentOpacity=t),this.stack[this.cArrPos].opacity=e)},CVContextData.prototype.fill=function(t){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fill(t)}
vendor: 5,636 bytes, line 2
2,CVContextData.prototype.fillRect=function(t,e,i,r){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(t,e,i,r)},CVContextData.prototype.stroke=function(){this.appliedStrokeStyle!==this.currentStrokeStyle&&(this.appliedStrokeStyle=this.currentStrokeStyle,this.nativeContext.strokeStyle=this.appliedStrokeStyle),this.appliedLineWidth!==this.currentLineWidth&&(this.appliedLineWidth=this.currentLineWidth,this.nativeContext.lineWidth=this.appliedLineWidth),this.appliedLineCap!==this.currentLineCap&&(this.appliedLineCap=this.currentLineCap,this.nativeContext.lineCap=this.appliedLineCap),this.appliedLineJoin!==this.currentLineJoin&&(this.appliedLineJoin=this.currentLineJoin,this.nativeContext.lineJoin=this.appliedLineJoin),this.appliedMiterLimit!==this.currentMiterLimit&&(this.appliedMiterLimit=this.currentMiterLimit,this.nativeContext.miterLimit=this.appliedMiterLimit),this.nativeContext.stroke()},extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var t,e=this.canvasContext;for(e.beginPath(),e.moveTo(0,0),e.lineTo(this.data.w,0),e.lineTo(this.data.w,this.data.h),e.lineTo(0,this.data.h),e.lineTo(0,0),e.clip(),t=this.layers.length-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},CVCompElement.prototype.destroy=function(){var t;for(t=this.layers.length-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(t){return new CVCompElement(t,this.globalData,this)},extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(t){return new CVCompElement(t,this.globalData,this)},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(){var t=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var e=this.finalTransform.mat.toCSS();t.transform=e,t.webkitTransform=e}this.finalTransform._opMdf&&(t.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=BaseRenderer.prototype.buildElementParenting,extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var t;this.data.hasMask?((t=createNS("rect")).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")).style.width=this.data.sw+"px",t.style.height=this.data.sh+"px",t.style.backgroundColor=this.data.sc),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 i,r=t.length;for(i=0;i<r;i+=1)e=t[i].mProps.v.applyToPointArray(e[0],e[1],0);return e},HShapeElement.prototype.calculateShapeBoundingBox=function(t,e){var i,r,n,s,a,o=t.sh.v,h=t.transformers,l=o._length;if(!(l<=1)){for(i=0;i<l-1;i+=1)r=this.getTransformedPoint(h,o.v[i]),n=this.getTransformedPoint(h,o.o[i]),s=this.getTransformedPoint(h,o.i[i+1]),a=this.getTransformedPoint(h,o.v[i+1]),this.checkBounds(r,n,s,a,e);o.c&&(r=this.getTransformedPoint(h,o.v[i]),n=this.getTransformedPoint(h,o.o[i]),s=this.getTransformedPoint(h,o.i[0]),a=this.getTransformedPoint(h,o.v[0]),this.checkBounds(r,n,s,a,e))}}
vendor: 20,987 bytes, line 2
2,HShapeElement.prototype.checkBounds=function(t,e,i,r,n){this.getBoundsOfCurve(t,e,i,r);var s=this.shapeBoundingBox;n.x=bmMin(s.left,n.x),n.xMax=bmMax(s.right,n.xMax),n.y=bmMin(s.top,n.y),n.yMax=bmMax(s.bottom,n.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,i,r){for(var n,s,a,o,h,l,p,c=[[t[0],r[0]],[t[1],r[1]]],f=0;f<2;++f)s=6*t[f]-12*e[f]+6*i[f],n=-3*t[f]+9*e[f]-9*i[f]+3*r[f],a=3*e[f]-3*t[f],s|=0,a|=0,0==(n|=0)&&0===s||(0===n?(o=-a/s)>0&&o<1&&c[f].push(this.calculateF(o,t,e,i,r,f)):(h=s*s-4*a*n)>=0&&((l=(-s+bmSqrt(h))/(2*n))>0&&l<1&&c[f].push(this.calculateF(l,t,e,i,r,f)),(p=(-s-bmSqrt(h))/(2*n))>0&&p<1&&c[f].push(this.calculateF(p,t,e,i,r,f))));this.shapeBoundingBox.left=bmMin.apply(null,c[0]),this.shapeBoundingBox.top=bmMin.apply(null,c[1]),this.shapeBoundingBox.right=bmMax.apply(null,c[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,c[1])},HShapeElement.prototype.calculateF=function(t,e,i,r,n,s){return bmPow(1-t,3)*e[s]+3*bmPow(1-t,2)*t*i[s]+3*(1-t)*bmPow(t,2)*r[s]+bmPow(t,3)*n[s]},HShapeElement.prototype.calculateBoundingBox=function(t,e){var i,r=t.length;for(i=0;i<r;i+=1)t[i]&&t[i].sh?this.calculateShapeBoundingBox(t[i],e):t[i]&&t[i].it?this.calculateBoundingBox(t[i].it,e):t[i]&&t[i].style&&t[i].w&&this.expandStrokeBoundingBox(t[i].w,e)},HShapeElement.prototype.expandStrokeBoundingBox=function(t,e){var i=0;if(t.keyframes){for(var r=0;r<t.keyframes.length;r+=1){var n=t.keyframes[r].s;n>i&&(i=n)}i*=t.mult}else i=t.v*t.mult;e.x-=i,e.xMax+=i,e.y-=i,e.yMax+=i},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 i=!1;if(this.currentBBox.w!==t.width&&(this.currentBBox.w=t.width,this.shapeCont.setAttribute("width",t.width),i=!0),this.currentBBox.h!==t.height&&(this.currentBBox.h=t.height,this.shapeCont.setAttribute("height",t.height),i=!0),i||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);var r=this.shapeCont.style,n="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";r.transform=n,r.webkitTransform=n}}},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,i=t.fc?this.buildColor(t.fc):"rgba(0,0,0,0)";e.fill=i,e.color=i,t.sc&&(e.stroke=this.buildColor(t.sc),e.strokeWidth=t.sw+"px");var r,n,s=this.globalData.fontManager.getFontByName(t.f);if(!this.globalData.fontManager.chars)if(e.fontSize=t.finalSize+"px",e.lineHeight=t.finalSize+"px",s.fClass)this.innerElem.className=s.fClass;else{e.fontFamily=s.fFamily;var a=t.fWeight,o=t.fStyle;e.fontStyle=o,e.fontWeight=a}var h,l,p,c=t.l;n=c.length;var f,u=this.mHelper,d="",m=0;for(r=0;r<n;r+=1){if(this.globalData.fontManager.chars?(this.textPaths[m]?h=this.textPaths[m]:((h=createNS("path")).setAttribute("stroke-linecap",lineCapEnum[1]),h.setAttribute("stroke-linejoin",lineJoinEnum[2]),h.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[m]?p=(l=this.textSpans[m]).children[0]:((l=createTag("div")).style.lineHeight=0,(p=createNS("svg")).appendChild(h),styleDiv(l)))):this.isMasked?h=this.textPaths[m]?this.textPaths[m]:createNS("text"):this.textSpans[m]?(l=this.textSpans[m],h=this.textPaths[m]):(styleDiv(l=createTag("span")),styleDiv(h=createTag("span")),l.appendChild(h)),this.globalData.fontManager.chars){var g,y=this.globalData.fontManager.getCharData(t.finalText[r],s.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily);if(g=y?y.data:null,u.reset(),g&&g.shapes&&g.shapes.length&&(f=g.shapes[0].it,u.scale(t.finalSize/100,t.finalSize/100),d=this.createPathShape(u,f),h.setAttribute("d",d)),this.isMasked)this.innerElem.appendChild(h);else{if(this.innerElem.appendChild(l),g&&g.shapes){document.body.appendChild(p);var v=p.getBBox();p.setAttribute("width",v.width+2),p.setAttribute("height",v.height+2),p.setAttribute("viewBox",v.x-1+" "+(v.y-1)+" "+(v.width+2)+" "+(v.height+2));var b=p.style,x="translate("+(v.x-1)+"px,"+(v.y-1)+"px)";b.transform=x,b.webkitTransform=x,c[r].yOffset=v.y-1}else p.setAttribute("width",1),p.setAttribute("height",1);l.appendChild(p)}}else if(h.textContent=c[r].val,h.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(h);else{this.innerElem.appendChild(l);var _=h.style,E="translate3d(0,"+-t.finalSize/1.2+"px,0)";_.transform=E,_.webkitTransform=E}this.isMasked?this.textSpans[m]=h:this.textSpans[m]=l,this.textSpans[m].style.display="block",this.textPaths[m]=h,m+=1}for(;m<this.textSpans.length;)this.textSpans[m].style.display="none",m+=1},HTextElement.prototype.renderInnerContent=function(){var t;if(this.validateText(),this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(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),t=this.svgElement.style;var e="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";t.transform=e,t.webkitTransform=e}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){var i,r,n,s,a,o=0,h=this.textAnimator.renderedLetters,l=this.textProperty.currentData.l;for(r=l.length,i=0;i<r;i+=1)l[i].n?o+=1:(s=this.textSpans[i],a=this.textPaths[i],n=h[o],o+=1,n._mdf.m&&(this.isMasked?s.setAttribute("transform",n.m):(s.style.webkitTransform=n.m,s.style.transform=n.m)),s.style.opacity=n.o,n.sw&&n._mdf.sw&&a.setAttribute("stroke-width",n.sw),n.sc&&n._mdf.sc&&a.setAttribute("stroke",n.sc),n.fc&&n._mdf.fc&&(a.setAttribute("fill",n.fc),a.style.color=n.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var p=this.innerElem.getBBox();if(this.currentBBox.w!==p.width&&(this.currentBBox.w=p.width,this.svgElement.setAttribute("width",p.width)),this.currentBBox.h!==p.height&&(this.currentBBox.h=p.height,this.svgElement.setAttribute("height",p.height)),this.currentBBox.w!==p.width+2||this.currentBBox.h!==p.height+2||this.currentBBox.x!==p.x-1||this.currentBBox.y!==p.y-1){this.currentBBox.w=p.width+2,this.currentBBox.h=p.height+2,this.currentBBox.x=p.x-1,this.currentBBox.y=p.y-1,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),t=this.svgElement.style;var c="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";t.transform=c,t.webkitTransform=c}}}},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var t,e,i,r,n=this.comp.threeDElements.length;for(t=0;t<n;t+=1)if("3d"===(e=this.comp.threeDElements[t]).type){i=e.perspectiveElem.style,r=e.container.style;var s=this.pe.v+"px",a="0px 0px 0px",o="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";i.perspective=s,i.webkitPerspective=s,r.transformOrigin=a,r.mozTransformOrigin=a,r.webkitTransformOrigin=a,i.transform=o,i.webkitTransform=o}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var t,e,i=this._isFirstFrame;if(this.hierarchy)for(e=this.hierarchy.length,t=0;t<e;t+=1)i=this.hierarchy[t].finalTransform.mProp._mdf||i;if(i||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(t=e=this.hierarchy.length-1;t>=0;t-=1){var r=this.hierarchy[t].finalTransform.mProp;this.mat.translate(-r.p.v[0],-r.p.v[1],r.p.v[2]),this.mat.rotateX(-r.or.v[0]).rotateY(-r.or.v[1]).rotateZ(r.or.v[2]),this.mat.rotateX(-r.rx.v).rotateY(-r.ry.v).rotateZ(r.rz.v),this.mat.scale(1/r.s.v[0],1/r.s.v[1],1/r.s.v[2]),this.mat.translate(r.a.v[0],r.a.v[1],r.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 n;n=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 s=Math.sqrt(Math.pow(n[0],2)+Math.pow(n[1],2)+Math.pow(n[2],2)),a=[n[0]/s,n[1]/s,n[2]/s],o=Math.sqrt(a[2]*a[2]+a[0]*a[0]),h=Math.atan2(a[1],o),l=Math.atan2(a[0],-a[2]);this.mat.rotateY(l).rotateX(-h)}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 p=!this._prevMat.equals(this.mat);if((p||this.pe._mdf)&&this.comp.threeDElements){var c,f,u;for(e=this.comp.threeDElements.length,t=0;t<e;t+=1)if("3d"===(c=this.comp.threeDElements[t]).type){if(p){var d=this.mat.toCSS();(u=c.container.style).transform=d,u.webkitTransform=d}this.pe._mdf&&((f=c.perspectiveElem.style).perspective=this.pe.v+"px",f.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},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.crossOrigin="anonymous",e.src=t,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)},extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},HybridRendererBase.prototype.appendElementInPos=function(t,e){var i=t.getBaseElement();if(i){var r=this.layers[e];if(r.ddd&&this.supports3d)this.addTo3dContainer(i,e);else if(this.threeDElements)this.addTo3dContainer(i,e);else{for(var n,s,a=0;a<e;)this.elements[a]&&!0!==this.elements[a]&&this.elements[a].getBaseElement&&(s=this.elements[a],n=(this.layers[a].ddd?this.getThreeDContainerByPos(a):s.getBaseElement())||n),a+=1;n?r.ddd&&this.supports3d||this.layerElement.insertBefore(i,n):r.ddd&&this.supports3d||this.layerElement.appendChild(i)}}},HybridRendererBase.prototype.createShape=function(t){return this.supports3d?new HShapeElement(t,this.globalData,this):new SVGShapeElement(t,this.globalData,this)},HybridRendererBase.prototype.createText=function(t){return this.supports3d?new HTextElement(t,this.globalData,this):new SVGTextLottieElement(t,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(t){return this.camera=new HCameraElement(t,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(t){return this.supports3d?new HImageElement(t,this.globalData,this):new IImageElement(t,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(t){return this.supports3d?new HSolidElement(t,this.globalData,this):new ISolidElement(t,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(t){for(var e=0,i=this.threeDElements.length;e<i;){if(this.threeDElements[e].startPos<=t&&this.threeDElements[e].endPos>=t)return this.threeDElements[e].perspectiveElem;e+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(t,e){var i,r,n=createTag("div");styleDiv(n);var s=createTag("div");if(styleDiv(s),"3d"===e){(i=n.style).width=this.globalData.compSize.w+"px",i.height=this.globalData.compSize.h+"px";var a="50% 50%";i.webkitTransformOrigin=a,i.mozTransformOrigin=a,i.transformOrigin=a;var o="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(r=s.style).transform=o,r.webkitTransform=o}n.appendChild(s);var h={container:s,perspectiveElem:n,startPos:t,endPos:t,type:e};return this.threeDElements.push(h),h},HybridRendererBase.prototype.build3dContainers=function(){var t,e,i=this.layers.length,r="";for(t=0;t<i;t+=1)this.layers[t].ddd&&3!==this.layers[t].ty?("3d"!==r&&(r="3d",e=this.createThreeDContainer(t,"3d")),e.endPos=Math.max(e.endPos,t)):("2d"!==r&&(r="2d",e=this.createThreeDContainer(t,"2d")),e.endPos=Math.max(e.endPos,t));for(t=(i=this.threeDElements.length)-1;t>=0;t-=1)this.resizerElem.appendChild(this.threeDElements[t].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(t,e){for(var i=0,r=this.threeDElements.length;i<r;){if(e<=this.threeDElements[i].endPos){for(var n,s=this.threeDElements[i].startPos;s<e;)this.elements[s]&&this.elements[s].getBaseElement&&(n=this.elements[s].getBaseElement()),s+=1;n?this.threeDElements[i].container.insertBefore(t,n):this.threeDElements[i].container.appendChild(t);break}i+=1}},HybridRendererBase.prototype.configAnimation=function(t){var e=createTag("div"),i=this.animationItem.wrapper,r=e.style;r.width=t.w+"px",r.height=t.h+"px",this.resizerElem=e,styleDiv(e),r.transformStyle="flat",r.mozTransformStyle="flat",r.webkitTransformStyle="flat",this.renderConfig.className&&e.setAttribute("class",this.renderConfig.className),i.appendChild(e),r.overflow="hidden";var n=createNS("svg");n.setAttribute("width","1"),n.setAttribute("height","1"),styleDiv(n),this.resizerElem.appendChild(n);var s=createNS("defs");n.appendChild(s),this.data=t,this.setupGlobalData(t,n),this.globalData.defs=s,this.layers=t.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){var t;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var t,e,i,r,n=this.animationItem.wrapper.offsetWidth,s=this.animationItem.wrapper.offsetHeight,a=n/s;this.globalData.compSize.w/this.globalData.compSize.h>a?(t=n/this.globalData.compSize.w,e=n/this.globalData.compSize.w,i=0,r=(s-this.globalData.compSize.h*(n/this.globalData.compSize.w))/2):(t=s/this.globalData.compSize.h,e=s/this.globalData.compSize.h,i=(n-this.globalData.compSize.w*(s/this.globalData.compSize.h))/2,r=0);var o=this.resizerElem.style;o.webkitTransform="matrix3d("+t+",0,0,0,0,"+e+",0,0,0,0,1,0,"+i+","+r+",0,1)",o.transform=o.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var t,e=this.globalData.compSize.w,i=this.globalData.compSize.h,r=this.threeDElements.length;for(t=0;t<r;t+=1){var n=this.threeDElements[t].perspectiveElem.style;n.webkitPerspective=Math.sqrt(Math.pow(e,2)+Math.pow(i,2))+"px",n.perspective=n.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(t){var e,i=t.length,r=createTag("div");for(e=0;e<i;e+=1)if(t[e].xt){var n=this.createComp(t[e],r,this.globalData.comp,null);n.initExpressions(),this.globalData.projectInterface.registerComposition(n)}},extendPrototype([HybridRendererBase,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){for(var i,r=0;r<e;)this.elements[r]&&this.elements[r].getBaseElement&&(i=this.elements[r].getBaseElement()),r+=1;i?this.layerElement.insertBefore(t,i):this.layerElement.appendChild(t)},HCompElement.prototype.createComp=function(t){return this.supports3d?new HCompElement(t,this.globalData,this):new SVGCompElement(t,this.globalData,this)},extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(t){return this.supports3d?new HCompElement(t,this.globalData,this):new SVGCompElement(t,this.globalData,this)};var CompExpressionInterface=function(t){function e(e){for(var i=0,r=t.layers.length;i<r;){if(t.layers[i].nm===e||t.layers[i].ind===e)return t.elements[i].layerInterface;i+=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};function _typeof$2(t){return _typeof$2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$2(t)}function seedRandom(t,e){var i=this,r=256,n=e.pow(r,6),s=e.pow(2,52),a=2*s,o=255;function h(t){var e,i=t.length,n=this,s=0,a=n.i=n.j=0,h=n.S=[];for(i||(t=[i++]);s<r;)h[s]=s++;for(s=0;s<r;s++)h[s]=h[a=o&a+t[s%i]+(e=h[s])],h[a]=e;n.g=function(t){for(var e,i=0,s=n.i,a=n.j,h=n.S;t--;)e=h[s=o&s+1],i=i*r+h[o&(h[s]=h[a=o&a+e])+(h[a]=e)];return n.i=s,n.j=a,i}}function l(t,e){return e.i=t.i,e.j=t.j,e.S=t.S.slice(),e}function p(t,e){var i,r=[],n=_typeof$2(t);if(e&&"object"==n)for(i in t)try{r.push(p(t[i],e-1))}catch(t){}return r.length?r:"string"==n?t:t+"\0"}function c(t,e){for(var i,r=t+"",n=0;n<r.length;)e[o&n]=o&(i^=19*e[o&n])+r.charCodeAt(n++);return f(e)}function f(t){return String.fromCharCode.apply(0,t)}e.seedrandom=function(o,u,d){var m=[],g=c(p((u=!0===u?{entropy:!0}:u||{}).entropy?[o,f(t)]:null===o?function(){try{var e=new Uint8Array(r);return(i.crypto||i.msCrypto).getRandomValues(e),f(e)}catch(e){var n=i.navigator,s=n&&n.plugins;return[+new Date,i,s,i.screen,f(t)]}}():o,3),m),y=new h(m),v=function(){for(var t=y.g(6),e=n,i=0;t<s;)t=(t+i)*r,e*=r,i=y.g(1);for(;t>=a;)t/=2,e/=2,i>>>=1;return(t+i)/e};return v.int32=function(){return 0|y.g(4)},v.quick=function(){return y.g(4)/4294967296},v.double=v,c(f(y.S),t),(u.pass||d||function(t,i,r,n){return n&&(n.S&&l(n,y),t.state=function(){return l(y,{})}),r?(e.random=t,i):t})(v,g,"global"in u?u.global:this==e,u.state)},c(e.random(),t)}function initialize$2(t){seedRandom([],t)}var propTypes={SHAPE:"shape"};function _typeof$1(t){return _typeof$1="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$1(t)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};
vendor: 4,445 bytes, line 2
2function resetFrame(){_lottieGlobal={}}function $bm_isInstanceOfArray(t){return t.constructor===Array||t.constructor===Float32Array}function isNumerable(t,e){return"number"===t||e instanceof Number||"boolean"===t||"string"===t}function $bm_neg(t){var e=_typeof$1(t);if("number"===e||t instanceof Number||"boolean"===e)return-t;if($bm_isInstanceOfArray(t)){var i,r=t.length,n=[];for(i=0;i<r;i+=1)n[i]=-t[i];return n}return t.propType?t.v:-t}initialize$2(BMMath);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 i=_typeof$1(t),r=_typeof$1(e);if(isNumerable(i,t)&&isNumerable(r,e)||"string"===i||"string"===r)return t+e;if($bm_isInstanceOfArray(t)&&isNumerable(r,e))return(t=t.slice(0))[0]+=e,t;if(isNumerable(i,t)&&$bm_isInstanceOfArray(e))return(e=e.slice(0))[0]=t+e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var n=0,s=t.length,a=e.length,o=[];n<s||n<a;)("number"==typeof t[n]||t[n]instanceof Number)&&("number"==typeof e[n]||e[n]instanceof Number)?o[n]=t[n]+e[n]:o[n]=void 0===e[n]?t[n]:t[n]||e[n],n+=1;return o}return 0}var add=sum;function sub(t,e){var i=_typeof$1(t),r=_typeof$1(e);if(isNumerable(i,t)&&isNumerable(r,e))return"string"===i&&(t=parseInt(t,10)),"string"===r&&(e=parseInt(e,10)),t-e;if($bm_isInstanceOfArray(t)&&isNumerable(r,e))return(t=t.slice(0))[0]-=e,t;if(isNumerable(i,t)&&$bm_isInstanceOfArray(e))return(e=e.slice(0))[0]=t-e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var n=0,s=t.length,a=e.length,o=[];n<s||n<a;)("number"==typeof t[n]||t[n]instanceof Number)&&("number"==typeof e[n]||e[n]instanceof Number)?o[n]=t[n]-e[n]:o[n]=void 0===e[n]?t[n]:t[n]||e[n],n+=1;return o}return 0}function mul(t,e){var i,r,n,s=_typeof$1(t),a=_typeof$1(e);if(isNumerable(s,t)&&isNumerable(a,e))return t*e;if($bm_isInstanceOfArray(t)&&isNumerable(a,e)){for(n=t.length,i=createTypedArray("float32",n),r=0;r<n;r+=1)i[r]=t[r]*e;return i}if(isNumerable(s,t)&&$bm_isInstanceOfArray(e)){for(n=e.length,i=createTypedArray("float32",n),r=0;r<n;r+=1)i[r]=t*e[r];return i}return 0}function div(t,e){var i,r,n,s=_typeof$1(t),a=_typeof$1(e);if(isNumerable(s,t)&&isNumerable(a,e))return t/e;if($bm_isInstanceOfArray(t)&&isNumerable(a,e)){for(n=t.length,i=createTypedArray("float32",n),r=0;r<n;r+=1)i[r]=t[r]/e;return i}if(isNumerable(s,t)&&$bm_isInstanceOfArray(e)){for(n=e.length,i=createTypedArray("float32",n),r=0;r<n;r+=1)i[r]=t/e[r];return i}return 0}function mod(t,e){return"string"==typeof t&&(t=parseInt(t,10)),"string"==typeof e&&(e=parseInt(e,10)),t%e}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(t,e,i){if(e>i){var r=i;i=e,e=r}return Math.min(Math.max(t,e),i)}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);var i;e||(e=helperLengthArray);var r=Math.min(t.length,e.length),n=0;for(i=0;i<r;i+=1)n+=Math.pow(e[i]-t[i],2);return Math.sqrt(n)}function normalize(t){return div(t,length(t))}function rgbToHsl(t){var e,i,r=t[0],n=t[1],s=t[2],a=Math.max(r,n,s),o=Math.min(r,n,s),h=(a+o)/2;if(a===o)e=0,i=0;else{var l=a-o;switch(i=h>.5?l/(2-a-o):l/(a+o),a){case r:e=(n-s)/l+(n<s?6:0);break;case n:e=(s-r)/l+2;break;case s:e=(r-n)/l+4}e/=6}return[e,i,h,t[3]]}function hue2rgb(t,e,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+6*(e-t)*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function hslToRgb(t){var e,i,r,n=t[0],s=t[1],a=t[2];if(0===s)e=a,r=a,i=a;else{var o=a<.5?a*(1+s):a+s-a*s,h=2*a-o;e=hue2rgb(h,o,n+1/3),i=hue2rgb(h,o,n),r=hue2rgb(h,o,n-1/3)}return[e,i,r,t[3]]}function linear(t,e,i,r,n){if(void 0!==r&&void 0!==n||(r=e,n=i,e=0,i=1),i<e){var s=i;i=e,e=s}if(t<=e)return r;if(t>=i)return n;var a,o=i===e?0:(t-e)/(i-e);if(!r.length)return r+(n-r)*o;var h=r.length,l=createTypedArray("float32",h);for(a=0;a<h;a+=1)l[a]=r[a]+(n[a]-r[a])*o;return l}function random(t,e){if(void 0===e&&(void 0===t?(t=0,e=1):(e=t,t=void 0)),e.length){var i,r=e.length;t||(t=createTypedArray("float32",r));var n=createTypedArray("float32",r),s=BMMath.random();for(i=0;i<r;i+=1)n[i]=t[i]+s*(e[i]-t[i]);return n}return void 0===t&&(t=0),t+BMMath.random()*(e-t)}
vendor: 12,634 bytes, line 2
2function createPath(t,e,i,r){var n,s=t.length,a=shapePool.newElement();a.setPathData(!!r,s);var o,h,l=[0,0];for(n=0;n<s;n+=1)o=e&&e[n]?e[n]:l,h=i&&i[n]?i[n]:l,a.setTripleAt(t[n][0],t[n][1],h[0]+t[n][0],h[1]+t[n][1],o[0]+t[n][0],o[1]+t[n][1],n,!0);return a}function initiateExpression(elem,data,property){function noOp(t){return t}if(!elem.globalData.renderConfig.runExpressions)return noOp;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,scoped_bm_rt,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 i,r,n=this.pv.length?this.pv.length:1,s=createTypedArray("float32",n),a=Math.floor(5*time);for(i=0,r=0;i<a;){for(r=0;r<n;r+=1)s[r]+=-e+2*e*BMMath.random();i+=1}var o=5*time,h=o-Math.floor(o),l=createTypedArray("float32",n);if(n>1){for(r=0;r<n;r+=1)l[r]=this.pv[r]+s[r]+(-e+2*e*BMMath.random())*h;return l}return this.pv+s[0]+(-e+2*e*BMMath.random())*h}.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 i=[e[0]-t[0],e[1]-t[1],e[2]-t[2]],r=Math.atan2(i[0],Math.sqrt(i[1]*i[1]+i[2]*i[2]))/degToRads;return[-Math.atan2(i[1],i[2])/degToRads,r,0]}function easeOut(t,e,i,r,n){return applyEase(easeOutBez,t,e,i,r,n)}function easeIn(t,e,i,r,n){return applyEase(easeInBez,t,e,i,r,n)}function ease(t,e,i,r,n){return applyEase(easeInOutBez,t,e,i,r,n)}function applyEase(t,e,i,r,n,s){void 0===n?(n=i,s=r):e=(e-i)/(r-i),e>1?e=1:e<0&&(e=0);var a=t(e);if($bm_isInstanceOfArray(n)){var o,h=n.length,l=createTypedArray("float32",h);for(o=0;o<h;o+=1)l[o]=(s[o]-n[o])*a+n[o];return l}return(s-n)*a+n}function nearestKey(t){var e,i,r,n=data.k.length;if(data.k.length&&"number"!=typeof data.k[0])if(i=-1,(t*=elem.comp.globalData.frameRate)<data.k[0].t)i=1,r=data.k[0].t;else{for(e=0;e<n-1;e+=1){if(t===data.k[e].t){i=e+1,r=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?(i=e+2,r=data.k[e+1].t):(i=e+1,r=data.k[e].t);break}}-1===i&&(i=e+1,r=data.k[e].t)}else i=0,r=0;var s={};return s.index=i,s.time=r/elem.comp.globalData.frameRate,s}function key(t){var e,i,r;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 n=Object.prototype.hasOwnProperty.call(data.k[t],"s")?data.k[t].s:data.k[t-1].e;for(r=n.length,i=0;i<r;i+=1)e[i]=n[i],e.value[i]=n[i];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,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))&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath,_lottieGlobal],ob.resetFrame=resetFrame,ob}(),Expressions=function(){var t={initExpressions:function(t){var e=0,i=[];t.renderer.compInterface=CompExpressionInterface(t.renderer),t.renderer.globalData.projectInterface.registerComposition(t.renderer),t.renderer.globalData.pushExpression=function(){e+=1},t.renderer.globalData.popExpression=function(){0==(e-=1)&&function(){var t,e=i.length;for(t=0;t<e;t+=1)i[t].release();i.length=0}()},t.renderer.globalData.registerExpressionProperty=function(t){-1===i.indexOf(t)&&i.push(t)}}};return t.resetFrame=ExpressionManager.resetFrame,t}(),MaskManagerInterface=function(){function t(t,e){this._mask=t,this._data=e}return 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}}),function(e){var i,r=createSizedArray(e.viewData.length),n=e.viewData.length;for(i=0;i<n;i+=1)r[i]=new t(e.viewData[i],e.masksProperties[i]);return function(t){for(i=0;i<n;){if(e.masksProperties[i].nm===t)return r[i];i+=1}return null}}}(),ExpressionPropertyInterface=function(){var t={pv:0,v:0,mult:1},e={pv:[0,0,0],v:[0,0,0],mult:1};function i(t,e,i){Object.defineProperty(t,"velocity",{get:function(){return e.getVelocityAtTime(e.comp.currentFrame)}}),t.numKeys=e.keyframes?e.keyframes.length:0,t.key=function(r){if(!t.numKeys)return 0;var n="";n="s"in e.keyframes[r-1]?e.keyframes[r-1].s:"e"in e.keyframes[r-2]?e.keyframes[r-2].e:e.keyframes[r-2].s;var s="unidimensional"===i?new Number(n):Object.assign({},n);return s.time=e.keyframes[r-1].t/e.elem.comp.globalData.frameRate,s.value="unidimensional"===i?n[0]:n,s},t.valueAtTime=e.getValueAtTime,t.speedAtTime=e.getSpeedAtTime,t.velocityAtTime=e.getVelocityAtTime,t.propertyGroup=e.propertyGroup}function r(){return t}return function(n){return n?"unidimensional"===n.propType?function(e){e&&"pv"in e||(e=t);var r=1/e.mult,n=e.pv*r,s=new Number(n);return s.value=n,i(s,e,"unidimensional"),function(){return e.k&&e.getValue(),n=e.v*r,s.value!==n&&((s=new Number(n)).value=n,i(s,e,"unidimensional")),s}}(n):function(t){t&&"pv"in t||(t=e);var r=1/t.mult,n=t.data&&t.data.l||t.pv.length,s=createTypedArray("float32",n),a=createTypedArray("float32",n);return s.value=a,i(s,t,"multidimensional"),function(){t.k&&t.getValue();for(var e=0;e<n;e+=1)a[e]=t.v[e]*r,s[e]=a[e];return s}}(n):r}}(),TransformExpressionInterface=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;default:return null}}var i,r,n,s;return 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?s=ExpressionPropertyInterface(t.p):(i=ExpressionPropertyInterface(t.px),r=ExpressionPropertyInterface(t.py),t.pz&&(n=ExpressionPropertyInterface(t.pz))),Object.defineProperty(e,"position",{get:function(){return t.p?s():[i(),r(),n?n():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},LayerExpressionInterface=function(){function t(t){var e=new Matrix;return void 0!==t?this._elem.finalTransform.mProp.getValueAtTime(t).clone(e):this._elem.finalTransform.mProp.applyToMatrix(e),e}function e(t,e){var i=this.getMatrix(e);return i.props[12]=0,i.props[13]=0,i.props[14]=0,this.applyPoint(i,t)}function i(t,e){var i=this.getMatrix(e);return this.applyPoint(i,t)}function r(t,e){var i=this.getMatrix(e);return i.props[12]=0,i.props[13]=0,i.props[14]=0,this.invertPoint(i,t)}function n(t,e){var i=this.getMatrix(e);return this.invertPoint(i,t)}function s(t,e){if(this._elem.hierarchy&&this._elem.hierarchy.length){var i,r=this._elem.hierarchy.length;for(i=0;i<r;i+=1)this._elem.hierarchy[i].finalTransform.mProp.applyToMatrix(t)}return t.applyToPointArray(e[0],e[1],e[2]||0)}function a(t,e){if(this._elem.hierarchy&&this._elem.hierarchy.length){var i,r=this._elem.hierarchy.length;for(i=0;i<r;i+=1)this._elem.hierarchy[i].finalTransform.mProp.applyToMatrix(t)}return t.inversePoint(e)}function o(t){var e=new Matrix;if(e.reset(),this._elem.finalTransform.mProp.applyToMatrix(e),this._elem.hierarchy&&this._elem.hierarchy.length){var i,r=this._elem.hierarchy.length;for(i=0;i<r;i+=1)this._elem.hierarchy[i].finalTransform.mProp.applyToMatrix(e);return e.inversePoint(t)}return e.inversePoint(t)}function h(){return[1,1,1,1]}return function(l){var p;function c(t){switch(t){case"ADBE Root Vectors Group":case"Contents":case 2:return c.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return p;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return c.effect;case"ADBE Text Properties":return c.textInterface;default:return null}}
vendor: 5,827 bytes, line 2
2c.getMatrix=t,c.invertPoint=a,c.applyPoint=s,c.toWorld=i,c.toWorldVec=e,c.fromWorld=n,c.fromWorldVec=r,c.toComp=i,c.fromComp=o,c.sampleImage=h,c.sourceRectAtTime=l.sourceRectAtTime.bind(l),c._elem=l;var f=getDescriptor(p=TransformExpressionInterface(l.finalTransform.mProp),"anchorPoint");return Object.defineProperties(c,{hasParent:{get:function(){return l.hierarchy.length}},parent:{get:function(){return l.hierarchy[0].layerInterface}},rotation:getDescriptor(p,"rotation"),scale:getDescriptor(p,"scale"),position:getDescriptor(p,"position"),opacity:getDescriptor(p,"opacity"),anchorPoint:f,anchor_point:f,transform:{get:function(){return p}},active:{get:function(){return l.isInRange}}}),c.startTime=l.data.st,c.index=l.data.ind,c.source=l.data.refId,c.height=0===l.data.ty?l.data.h:100,c.width=0===l.data.ty?l.data.w:100,c.inPoint=l.data.ip/l.comp.globalData.frameRate,c.outPoint=l.data.op/l.comp.globalData.frameRate,c._name=l.data.nm,c.registerMaskInterface=function(t){c.mask=new MaskManagerInterface(t,l)},c.registerEffectsInterface=function(t){c.effect=t},c}}(),propertyGroupFactory=function(t,e){return function(i){return(i=void 0===i?1:i)<=0?t:e(i-1)}},PropertyInterface=function(t,e){var i={_name:t};return function(t){return(t=void 0===t?1:t)<=0?i:e(t-1)}},EffectsExpressionInterface=function(){function t(i,r,n,s){function a(t){for(var e=i.ef,r=0,n=e.length;r<n;){if(t===e[r].nm||t===e[r].mn||t===e[r].ix)return 5===e[r].ty?l[r]:l[r]();r+=1}throw new Error}var o,h=propertyGroupFactory(a,n),l=[],p=i.ef.length;for(o=0;o<p;o+=1)5===i.ef[o].ty?l.push(t(i.ef[o],r.effectElements[o],r.effectElements[o].propertyGroup,s)):l.push(e(r.effectElements[o],i.ef[o].ty,s,h));return"ADBE Color Control"===i.mn&&Object.defineProperty(a,"color",{get:function(){return l[0]()}}),Object.defineProperties(a,{numProperties:{get:function(){return i.np}},_name:{value:i.nm},propertyGroup:{value:h}}),a.enabled=0!==i.en,a.active=a.enabled,a}function e(t,e,i,r){var n=ExpressionPropertyInterface(t.p);return t.p.setGroupProperty&&t.p.setGroupProperty(PropertyInterface("",r)),function(){return 10===e?i.comp.compInterface(t.p.v):n()}}return{createEffectsInterface:function(e,i){if(e.effectsManager){var r,n=[],s=e.data.ef,a=e.effectsManager.effectElements.length;for(r=0;r<a;r+=1)n.push(t(s[r],e.effectsManager.effectElements[r],i,e));var o=e.data.ef||[],h=function(t){for(r=0,a=o.length;r<a;){if(t===o[r].nm||t===o[r].mn||t===o[r].ix)return n[r];r+=1}return null};return Object.defineProperty(h,"numProperties",{get:function(){return o.length}}),h}return null}}}(),ShapePathInterface=function(t,e,i){var r=e.sh;function n(t){return"Shape"===t||"shape"===t||"Path"===t||"path"===t||"ADBE Vector Shape"===t||2===t?n.path:null}var s=propertyGroupFactory(n,i);return r.setGroupProperty(PropertyInterface("Path",s)),Object.defineProperties(n,{path:{get:function(){return r.k&&r.getValue(),r}},shape:{get:function(){return r.k&&r.getValue(),r}},_name:{value:t.nm},ix:{value:t.ix},propertyIndex:{value:t.ix},mn:{value:t.mn},propertyGroup:{value:i}}),n},ShapeExpressionInterface=function(){function t(t,a,f){var u,d=[],m=t?t.length:0;for(u=0;u<m;u+=1)"gr"===t[u].ty?d.push(e(t[u],a[u],f)):"fl"===t[u].ty?d.push(i(t[u],a[u],f)):"st"===t[u].ty?d.push(n(t[u],a[u],f)):"tm"===t[u].ty?d.push(s(t[u],a[u],f)):"tr"===t[u].ty||("el"===t[u].ty?d.push(o(t[u],a[u],f)):"sr"===t[u].ty?d.push(h(t[u],a[u],f)):"sh"===t[u].ty?d.push(ShapePathInterface(t[u],a[u],f)):"rc"===t[u].ty?d.push(l(t[u],a[u],f)):"rd"===t[u].ty?d.push(p(t[u],a[u],f)):"rp"===t[u].ty?d.push(c(t[u],a[u],f)):"gf"===t[u].ty?d.push(r(t[u],a[u],f)):d.push((t[u],a[u],function(){return null})));return d}function e(e,i,r){var n=function(t){switch(t){case"ADBE Vectors Group":case"Contents":case 2:return n.content;default:return n.transform}};n.propertyGroup=propertyGroupFactory(n,r);var s=function(e,i,r){var n,s=function(t){for(var e=0,i=n.length;e<i;){if(n[e]._name===t||n[e].mn===t||n[e].propertyIndex===t||n[e].ix===t||n[e].ind===t)return n[e];e+=1}return"number"==typeof t?n[t-1]:null};s.propertyGroup=propertyGroupFactory(s,r),n=t(e.it,i.it,s.propertyGroup),s.numProperties=n.length;var o=a(e.it[e.it.length-1],i.it[i.it.length-1],s.propertyGroup);return s.transform=o,s.propertyIndex=e.cix,s._name=e.nm,s}(e,i,n.propertyGroup),o=a(e.it[e.it.length-1],i.it[i.it.length-1],n.propertyGroup);return n.content=s,n.transform=o,Object.defineProperty(n,"_name",{get:function(){return e.nm}}),n.numProperties=e.np,n.propertyIndex=e.ix,n.nm=e.nm,n.mn=e.mn,n}function i(t,e,i){function r(t){return"Color"===t||"color"===t?r.color:"Opacity"===t||"opacity"===t?r.opacity:null}return Object.defineProperties(r,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(PropertyInterface("Color",i)),e.o.setGroupProperty(PropertyInterface("Opacity",i)),r}function r(t,e,i){function r(t){return"Start Point"===t||"start point"===t?r.startPoint:"End Point"===t||"end point"===t?r.endPoint:"Opacity"===t||"opacity"===t?r.opacity:null}return Object.defineProperties(r,{startPoint:{get:ExpressionPropertyInterface(e.s)},endPoint:{get:ExpressionPropertyInterface(e.e)},opacity:{get:ExpressionPropertyInterface(e.o)},type:{get:function(){return"a"}},_name:{value:t.nm},mn:{value:t.mn}}),e.s.setGroupProperty(PropertyInterface("Start Point",i)),e.e.setGroupProperty(PropertyInterface("End Point",i)),e.o.setGroupProperty(PropertyInterface("Opacity",i)),r}function n(t,e,i){var r,n=propertyGroupFactory(l,i),s=propertyGroupFactory(h,n);function a(i){Object.defineProperty(h,t.d[i].nm,{get:ExpressionPropertyInterface(e.d.dataProps[i].p)})}var o=t.d?t.d.length:0,h={};for(r=0;r<o;r+=1)a(r),e.d.dataProps[r].p.setGroupProperty(s);function l(t){return"Color"===t||"color"===t?l.color:"Opacity"===t||"opacity"===t?l.o
vendor: 18,506 bytes, line 2
2pacity:"Stroke Width"===t||"stroke width"===t?l.strokeWidth:null}return Object.defineProperties(l,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},strokeWidth:{get:ExpressionPropertyInterface(e.w)},dash:{get:function(){return h}},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(PropertyInterface("Color",n)),e.o.setGroupProperty(PropertyInterface("Opacity",n)),e.w.setGroupProperty(PropertyInterface("Stroke Width",n)),l}function s(t,e,i){function r(e){return e===t.e.ix||"End"===e||"end"===e?r.end:e===t.s.ix?r.start:e===t.o.ix?r.offset:null}var n=propertyGroupFactory(r,i);return r.propertyIndex=t.ix,e.s.setGroupProperty(PropertyInterface("Start",n)),e.e.setGroupProperty(PropertyInterface("End",n)),e.o.setGroupProperty(PropertyInterface("Offset",n)),r.propertyIndex=t.ix,r.propertyGroup=i,Object.defineProperties(r,{start:{get:ExpressionPropertyInterface(e.s)},end:{get:ExpressionPropertyInterface(e.e)},offset:{get:ExpressionPropertyInterface(e.o)},_name:{value:t.nm}}),r.mn=t.mn,r}function a(t,e,i){function r(e){return t.a.ix===e||"Anchor Point"===e?r.anchorPoint:t.o.ix===e||"Opacity"===e?r.opacity:t.p.ix===e||"Position"===e?r.position:t.r.ix===e||"Rotation"===e||"ADBE Vector Rotation"===e?r.rotation:t.s.ix===e||"Scale"===e?r.scale:t.sk&&t.sk.ix===e||"Skew"===e?r.skew:t.sa&&t.sa.ix===e||"Skew Axis"===e?r.skewAxis:null}var n=propertyGroupFactory(r,i);return e.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",n)),e.transform.mProps.p.setGroupProperty(PropertyInterface("Position",n)),e.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",n)),e.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",n)),e.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",n)),e.transform.mProps.sk&&(e.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",n)),e.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",n))),e.transform.op.setGroupProperty(PropertyInterface("Opacity",n)),Object.defineProperties(r,{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}}),r.ty="tr",r.mn=t.mn,r.propertyGroup=i,r}function o(t,e,i){function r(e){return t.p.ix===e?r.position:t.s.ix===e?r.size:null}var n=propertyGroupFactory(r,i);r.propertyIndex=t.ix;var s="tm"===e.sh.ty?e.sh.prop:e.sh;return s.s.setGroupProperty(PropertyInterface("Size",n)),s.p.setGroupProperty(PropertyInterface("Position",n)),Object.defineProperties(r,{size:{get:ExpressionPropertyInterface(s.s)},position:{get:ExpressionPropertyInterface(s.p)},_name:{value:t.nm}}),r.mn=t.mn,r}function h(t,e,i){function r(e){return t.p.ix===e?r.position:t.r.ix===e?r.rotation:t.pt.ix===e?r.points:t.or.ix===e||"ADBE Vector Star Outer Radius"===e?r.outerRadius:t.os.ix===e?r.outerRoundness:!t.ir||t.ir.ix!==e&&"ADBE Vector Star Inner Radius"!==e?t.is&&t.is.ix===e?r.innerRoundness:null:r.innerRadius}var n=propertyGroupFactory(r,i),s="tm"===e.sh.ty?e.sh.prop:e.sh;return r.propertyIndex=t.ix,s.or.setGroupProperty(PropertyInterface("Outer Radius",n)),s.os.setGroupProperty(PropertyInterface("Outer Roundness",n)),s.pt.setGroupProperty(PropertyInterface("Points",n)),s.p.setGroupProperty(PropertyInterface("Position",n)),s.r.setGroupProperty(PropertyInterface("Rotation",n)),t.ir&&(s.ir.setGroupProperty(PropertyInterface("Inner Radius",n)),s.is.setGroupProperty(PropertyInterface("Inner Roundness",n))),Object.defineProperties(r,{position:{get:ExpressionPropertyInterface(s.p)},rotation:{get:ExpressionPropertyInterface(s.r)},points:{get:ExpressionPropertyInterface(s.pt)},outerRadius:{get:ExpressionPropertyInterface(s.or)},outerRoundness:{get:ExpressionPropertyInterface(s.os)},innerRadius:{get:ExpressionPropertyInterface(s.ir)},innerRoundness:{get:ExpressionPropertyInterface(s.is)},_name:{value:t.nm}}),r.mn=t.mn,r}function l(t,e,i){function r(e){return t.p.ix===e?r.position:t.r.ix===e?r.roundness:t.s.ix===e||"Size"===e||"ADBE Vector Rect Size"===e?r.size:null}var n=propertyGroupFactory(r,i),s="tm"===e.sh.ty?e.sh.prop:e.sh;return r.propertyIndex=t.ix,s.p.setGroupProperty(PropertyInterface("Position",n)),s.s.setGroupProperty(PropertyInterface("Size",n)),s.r.setGroupProperty(PropertyInterface("Rotation",n)),Object.defineProperties(r,{position:{get:ExpressionPropertyInterface(s.p)},roundness:{get:ExpressionPropertyInterface(s.r)},size:{get:ExpressionPropertyInterface(s.s)},_name:{value:t.nm}}),r.mn=t.mn,r}function p(t,e,i){function r(e){return t.r.ix===e||"Round Corners 1"===e?r.radius:null}var n=propertyGroupFactory(r,i),s=e;return r.propertyIndex=t.ix,s.rd.setGroupProperty(PropertyInterface("Radius",n)),Object.defineProperties(r,{radius:{get:ExpressionPropertyInterface(s.rd)},_name:{value:t.nm}}),r.mn=t.mn,r}function c(t,e,i){function r(e){return t.c.ix===e||"Copies"===e?r.copies:t.o.ix===e||"Offset"===e?r.offset:null}var n=propertyGroupFactory(r,i),s=e;return r.propertyIndex=t.ix,s.c.setGroupProperty(PropertyInterface("Copies",n)),s.o.setGroupProperty(PropertyInterface("Offset",n)),Object.defineProperties(r,{copies:{get:ExpressionPropertyInterface(s.c)},offset:{get:ExpressionPropertyInterface(s.o)},_name:{value:t.nm}}),r.mn=t.mn,r}return function(e,i,r){var n;function s(t){if("number"==typeof t)return 0===(t=void 0===t?1:t)?r:n[t-1];for(var e=0,i=n.length;e<i;){if(n[e]._name===t)return n[e];e+=1}return null}return s.propertyGroup=propertyGroupFactory(s,(function(){return r})),n=t(e,i,s.propertyGroup),s.numProperties=n.length,s._name="Contents",s}}(),TextExpressionInterface=function(t){var e;function i(t){return"ADBE Text Document"===t?i.sourceText:null}return Object.defineProperty(i,"sourceText",{get:function(){t.textProperty.getValue();var i=t.textProperty.currentData.t;return e&&i===e.value||((e=new String(i)).value=i||new String(i),Object.defineProperty(e,"style",{get:function(){return{fillColor:t.textProperty.currentData.fc}}})),e}}),i};function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}var FootageInterface=(dataInterfaceFactory=function(t){function e(t){return"Outline"===t?e.outlineInterface():null}return e._name="Outline",e.outlineInterface=function(t){var e="",i=t.getFootageData();function r(t){if(i[t])return e=t,"object"===_typeof(i=i[t])?r:i;var n=t.indexOf(e);if(-1!==n){var s=parseInt(t.substr(n+e.length),10);return"object"===_typeof(i=i[s])?r:i}return""}return function(){return e="",i=t.getFootageData(),r}}(t),e},function(t){function e(t){return"Data"===t?e.dataInterface:null}return e._name="Data",e.dataInterface=dataInterfaceFactory(t),e}),dataInterfaceFactory,interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(t){return interfaces[t]||null}var expressionHelpers={searchExpressions:function(t,e,i){e.x&&(i.k=!0,i.x=!0,i.initiateExpression=ExpressionManager.initiateExpression,i.effectsSequence.push(i.initiateExpression(t,e,i).bind(i)))},getSpeedAtTime:function(t){var e=this.getValueAtTime(t),i=this.getValueAtTime(t+-.01),r=0;if(e.length){var n;for(n=0;n<e.length;n+=1)r+=Math.pow(i[n]-e[n],2);r=100*Math.sqrt(r)}else r=0;return r},getVelocityAtTime:function(t){if(void 0!==this.vel)return this.vel;var e,i,r=-.001,n=this.getValueAtTime(t),s=this.getValueAtTime(t+r);if(n.length)for(e=createTypedArray("float32",n.length),i=0;i<n.length;i+=1)e[i]=(s[i]-n[i])/r;else e=(s-n)/r;return e},getValueAtTime:function(t){return t*=this.elem.globalData.frameRate,(t-=this.offsetTime)!==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},getStaticValueAtTime:function(){return this.pv},setGroupProperty:function(t){this.propertyGroup=t}};function addPropertyDecorator(){function t(t,e,i){if(!this.k||!this.keyframes)return this.pv;t=t?t.toLowerCase():"";var r,n,s,a,o,h=this.comp.renderedFrame,l=this.keyframes,p=l[l.length-1].t;if(h<=p)return this.pv;if(i?n=p-(r=e?Math.abs(p-this.elem.comp.globalData.frameRate*e):Math.max(0,p-this.elem.data.ip)):((!e||e>l.length-1)&&(e=l.length-1),r=p-(n=l[l.length-1-e].t)),"pingpong"===t){if(Math.floor((h-n)/r)%2!=0)return this.getValueAtTime((r-(h-n)%r+n)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var c=this.getValueAtTime(n/this.comp.globalData.frameRate,0),f=this.getValueAtTime(p/this.comp.globalData.frameRate,0),u=this.getValueAtTime(((h-n)%r+n)/this.comp.globalData.frameRate,0),d=Math.floor((h-n)/r);if(this.pv.length){for(a=(o=new Array(c.length)).length,s=0;s<a;s+=1)o[s]=(f[s]-c[s])*d+u[s];return o}return(f-c)*d+u}if("continue"===t){var m=this.getValueAtTime(p/this.comp.globalData.frameRate,0),g=this.getValueAtTime((p-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(a=(o=new Array(m.length)).length,s=0;s<a;s+=1)o[s]=m[s]+(m[s]-g[s])*((h-p)/this.comp.globalData.frameRate)/5e-4;return o}return m+(h-p)/.001*(m-g)}}return this.getValueAtTime(((h-n)%r+n)/this.comp.globalData.frameRate,0)}function e(t,e,i){if(!this.k)return this.pv;t=t?t.toLowerCase():"";var r,n,s,a,o,h=this.comp.renderedFrame,l=this.keyframes,p=l[0].t;if(h>=p)return this.pv;if(i?n=p+(r=e?Math.abs(this.elem.comp.globalData.frameRate*e):Math.max(0,this.elem.data.op-p)):((!e||e>l.length-1)&&(e=l.length-1),r=(n=l[e].t)-p),"pingpong"===t){if(Math.floor((p-h)/r)%2==0)return this.getValueAtTime(((p-h)%r+p)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var c=this.getValueAtTime(p/this.comp.globalData.frameRate,0),f=this.getValueAtTime(n/this.comp.globalData.frameRate,0),u=this.getValueAtTime((r-(p-h)%r+p)/this.comp.globalData.frameRate,0),d=Math.floor((p-h)/r)+1;if(this.pv.length){for(a=(o=new Array(c.length)).length,s=0;s<a;s+=1)o[s]=u[s]-(f[s]-c[s])*d;return o}return u-(f-c)*d}if("continue"===t){var m=this.getValueAtTime(p/this.comp.globalData.frameRate,0),g=this.getValueAtTime((p+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(a=(o=new Array(m.length)).length,s=0;s<a;s+=1)o[s]=m[s]+(m[s]-g[s])*(p-h)/.001;return o}return m+(m-g)*(p-h)/.001}}return this.getValueAtTime((r-((p-h)%r+p))/this.comp.globalData.frameRate,0)}function i(t,e){if(!this.k)return this.pv;if(t=.5*(t||.4),(e=Math.floor(e||5))<=1)return this.pv;var i,r,n=this.comp.renderedFrame/this.comp.globalData.frameRate,s=n-t,a=e>1?(n+t-s)/(e-1):1,o=0,h=0;for(i=this.pv.length?createTypedArray("float32",this.pv.length):0;o<e;){if(r=this.getValueAtTime(s+o*a),this.pv.length)for(h=0;h<this.pv.length;h+=1)i[h]+=r[h];else i+=r;o+=1}if(this.pv.length)for(h=0;h<this.pv.length;h+=1)i[h]/=e;else i/=e;return i}function r(t){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var e=this._transformCachingAtTime.v;if(e.cloneFromProps(this.pre.props),this.appliedTransformations<1){var i=this.a.getValueAtTime(t);e.translate(-i[0]*this.a.mult,-i[1]*this.a.mult,i[2]*this.a.mult)}if(this.appliedTransformations<2){var r=this.s.getValueAtTime(t);e.scale(r[0]*this.s.mult,r[1]*this.s.mult,r[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var n=this.sk.getValueAtTime(t),s=this.sa.getValueAtTime(t);e.skewFromAxis(-n*this.sk.mult,s*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var a=this.r.getValueAtTime(t);e.rotate(-a*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var o=this.rz.getValueAtTime(t),h=this.ry.getValueAtTime(t),l=this.rx.getValueAtTime(t),p=this.or.getValueAtTime(t);e.rotateZ(-o*this.rz.mult).rotateY(h*this.ry.mult).rotateX(l*this.rx.mult).rotateZ(-p[2]*this.or.mult).rotateY(p[1]*this.or.mult).rotateX(p[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var c=this.px.getValueAtTime(t),f=this.py.getValueAtTime(t);if(this.data.p.z){var u=this.pz.getValueAtTime(t);e.translate(c*this.px.mult,f*this.py.mult,-u*this.pz.mult)}else e.translate(c*this.px.mult,f*this.py.mult,0)}else{var d=this.p.getValueAtTime(t);e.translate(d[0]*this.p.mult,d[1]*this.p.mult,-d[2]*this.p.mult)}return e}function n(){return this.v.clone(new Matrix)}var s=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(t,e,i){var a=s(t,e,i);return a.dynamicProperties.length?a.getValueAtTime=r.bind(a):a.getValueAtTime=n.bind(a),a.setGroupProperty=expressionHelpers.setGroupProperty,a};var a=PropertyFactory.getProp;PropertyFactory.getProp=function(r,n,s,o,h){var l=a(r,n,s,o,h);l.kf?l.getValueAtTime=expressionHelpers.getValueAtTime.bind(l):l.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(l),l.setGroupProperty=expressionHelpers.setGroupProperty,l.loopOut=t,l.loopIn=e,l.smooth=i,l.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(l),l.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(l),l.numKeys=1===n.a?n.k.length:0,l.propertyIndex=n.ix;var p=0;return 0!==s&&(p=createTypedArray("float32",1===n.a?n.k[0].s.length:n.k.length)),l._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:p},expressionHelpers.searchExpressions(r,n,l),l.k&&h.addDynamicProperty(l),l};var o=ShapePropertyFactory.getConstructorFunction(),h=ShapePropertyFactory.getKeyframedConstructorFunction();function l(){}l.prototype={vertices:function(t,e){this.k&&this.getValue();var i,r=this.v;void 0!==e&&(r=this.getValueAtTime(e,0));var n=r._length,s=r[t],a=r.v,o=createSizedArray(n);for(i=0;i<n;i+=1)o[i]="i"===t||"o"===t?[s[i][0]-a[i][0],s[i][1]-a[i][1]]:[s[i][0],s[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 i=this.v;void 0!==e&&(i=this.getValueAtTime(e,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(i));for(var r,n=this._segmentsLength,s=n.lengths,a=n.totalLength*t,o=0,h=s.length,l=0;o<h;){if(l+s[o].addedLength>a){var p=o,c=i.c&&o===h-1?0:o+1,f=(a-l)/s[o].addedLength;r=bez.getPointInSegment(i.v[p],i.v[c],i.o[p],i.i[c],f,s[o]);break}l+=s[o].addedLength,o+=1}return r||(r=i.c?[i.v[0][0],i.v[0][1]]:[i.v[i._length-1][0],i.v[i._length-1][1]]),r},vectorOnPath:function(t,e,i){1==t?t=this.v.c:0==t&&(t=.999);var r=this.pointOnPath(t,e),n=this.pointOnPath(t+.001,e),s=n[0]-r[0],a=n[1]-r[1],o=Math.sqrt(Math.pow(s,2)+Math.pow(a,2));return 0===o?[0,0]:"tangent"===i?[s/o,a/o]:[-a/o,s/o]},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([l],o),extendPrototype([l],h),h.prototype.getValueAtTime=function(t){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),t*=this.elem.globalData.frameRate,(t-=this.offsetTime)!==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},h.prototype.initiateExpression=ExpressionManager.initiateExpression;var p=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(t,e,i,r,n){var s=p(t,e,i,r,n);return s.propertyIndex=e.ix,s.lock=!1,3===i?expressionHelpers.searchExpressions(t,e.pt,s):4===i&&expressionHelpers.searchExpressions(t,e.ks,s),s.k&&t.addDynamicProperty(s),s}}function initialize$1(){addPropertyDecorator()}function addDecorator(){TextProperty.prototype.getExpressionValue=function(t,e){var i=this.calculateExpression(e);if(t.t!==i){var r={};return this.copyData(r,t),r.t=i.toString(),r.__complete=!1,r}return t},TextProperty.prototype.searchProperty=function(){var t=this.searchKeyframes(),e=this.searchExpressions();return this.kf=t||e,this.kf},TextProperty.prototype.searchExpressions=function(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function(t,e){var i,r,n=createNS("feMerge");for(n.setAttribute("result",t),r=0;r<e.length;r+=1)(i=createNS("feMergeNode")).setAttribute("in",e[r]),n.appendChild(i),n.appendChild(i);return n}};var linearFilterValue="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";function SVGTintFilter(t,e,i,r,n){this.filterManager=e;var s=createNS("feColorMatrix");s.setAttribute("type","matrix"),s.setAttribute("color-interpolation-filters","linearRGB"),s.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=s,s.setAttribute("result",r+"_tint_1"),t.appendChild(s),(s=createNS("feColorMatrix")).setAttribute("type","matrix"),s.setAttribute("color-interpolation-filters","sRGB"),s.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),s.setAttribute("result",r+"_tint_2"),t.appendChild(s),this.matrixFilter=s;var a=this.createMergeNode(r,[n,r+"_tint_1",r+"_tint_2"]);t.appendChild(a)}function SVGFillFilter(t,e,i,r){this.filterManager=e;var n=createNS("feColorMatrix");n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","sRGB"),n.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),n.setAttribute("result",r),t.appendChild(n),this.matrixFilter=n}function SVGStrokeEffect(t,e,i){this.initialized=!1,this.filterManager=e,this.elem=i,this.paths=[]}function SVGTritoneFilter(t,e,i,r){this.filterManager=e;var n=createNS("feColorMatrix");n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","linearRGB"),n.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"),t.appendChild(n);var s=createNS("feComponentTransfer");
vendor: 5,079 bytes, line 2
2s.setAttribute("color-interpolation-filters","sRGB"),s.setAttribute("result",r),this.matrixFilter=s;var a=createNS("feFuncR");a.setAttribute("type","table"),s.appendChild(a),this.feFuncR=a;var o=createNS("feFuncG");o.setAttribute("type","table"),s.appendChild(o),this.feFuncG=o;var h=createNS("feFuncB");h.setAttribute("type","table"),s.appendChild(h),this.feFuncB=h,t.appendChild(s)}function SVGProLevelsFilter(t,e,i,r){this.filterManager=e;var n=this.filterManager.effectElements,s=createNS("feComponentTransfer");(n[10].p.k||0!==n[10].p.v||n[11].p.k||1!==n[11].p.v||n[12].p.k||1!==n[12].p.v||n[13].p.k||0!==n[13].p.v||n[14].p.k||1!==n[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",s)),(n[17].p.k||0!==n[17].p.v||n[18].p.k||1!==n[18].p.v||n[19].p.k||1!==n[19].p.v||n[20].p.k||0!==n[20].p.v||n[21].p.k||1!==n[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",s)),(n[24].p.k||0!==n[24].p.v||n[25].p.k||1!==n[25].p.v||n[26].p.k||1!==n[26].p.v||n[27].p.k||0!==n[27].p.v||n[28].p.k||1!==n[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",s)),(n[31].p.k||0!==n[31].p.v||n[32].p.k||1!==n[32].p.v||n[33].p.k||1!==n[33].p.v||n[34].p.k||0!==n[34].p.v||n[35].p.k||1!==n[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",s)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(s.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(s)),(n[3].p.k||0!==n[3].p.v||n[4].p.k||1!==n[4].p.v||n[5].p.k||1!==n[5].p.v||n[6].p.k||0!==n[6].p.v||n[7].p.k||1!==n[7].p.v)&&((s=createNS("feComponentTransfer")).setAttribute("color-interpolation-filters","sRGB"),s.setAttribute("result",r),t.appendChild(s),this.feFuncRComposed=this.createFeFunc("feFuncR",s),this.feFuncGComposed=this.createFeFunc("feFuncG",s),this.feFuncBComposed=this.createFeFunc("feFuncB",s))}function SVGDropShadowEffect(t,e,i,r,n){var s=e.container.globalData.renderConfig.filterSize,a=e.data.fs||s;t.setAttribute("x",a.x||s.x),t.setAttribute("y",a.y||s.y),t.setAttribute("width",a.width||s.width),t.setAttribute("height",a.height||s.height),this.filterManager=e;var o=createNS("feGaussianBlur");o.setAttribute("in","SourceAlpha"),o.setAttribute("result",r+"_drop_shadow_1"),o.setAttribute("stdDeviation","0"),this.feGaussianBlur=o,t.appendChild(o);var h=createNS("feOffset");h.setAttribute("dx","25"),h.setAttribute("dy","0"),h.setAttribute("in",r+"_drop_shadow_1"),h.setAttribute("result",r+"_drop_shadow_2"),this.feOffset=h,t.appendChild(h);var l=createNS("feFlood");l.setAttribute("flood-color","#00ff00"),l.setAttribute("flood-opacity","1"),l.setAttribute("result",r+"_drop_shadow_3"),this.feFlood=l,t.appendChild(l);var p=createNS("feComposite");p.setAttribute("in",r+"_drop_shadow_3"),p.setAttribute("in2",r+"_drop_shadow_2"),p.setAttribute("operator","in"),p.setAttribute("result",r+"_drop_shadow_4"),t.appendChild(p);var c=this.createMergeNode(r,[r+"_drop_shadow_4",n]);t.appendChild(c)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,i=this.filterManager.effectElements[1].p.v,r=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+r+" 0"),this.matrixFilter.setAttribute("values",i[0]-e[0]+" 0 0 0 "+e[0]+" "+(i[1]-e[1])+" 0 0 0 "+e[1]+" "+(i[2]-e[2])+" 0 0 0 "+e[2]+" 0 0 0 1 0")}},SVGFillFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[2].p.v,i=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 "+i+" 0")}},SVGStrokeEffect.prototype.initialize=function(){var t,e,i,r,n=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(r=this.elem.maskManager.masksProperties.length,i=0):r=1+(i=this.filterManager.effectElements[0].p.v-1),(e=createNS("g")).setAttribute("fill","none"),e.setAttribute("stroke-linecap","round"),e.setAttribute("stroke-dashoffset",1);i<r;i+=1)t=createNS("path"),e.appendChild(t),this.paths.push({p:t,m:i});if(3===this.filterManager.effectElements[10].p.v){var s=createNS("mask"),a=createElementID();s.setAttribute("id",a),s.setAttribute("mask-type","alpha"),s.appendChild(e),this.elem.globalData.defs.appendChild(s);var o=createNS("g");for(o.setAttribute("mask","url("+getLocationHref()+"#"+a+")");n[0];)o.appendChild(n[0]);this.elem.layerElement.appendChild(o),this.masker=s,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)for(n=this.elem.layerElement.children||this.elem.layerElement.childNodes;n.length;)this.elem.layerElement.removeChild(n[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){var e;this.initialized||this.initialize();var i,r,n=this.paths.length;for(e=0;e<n;
vendor: 4,652 bytes, line 2
2e+=1)if(-1!==this.paths[e].m&&(i=this.elem.maskManager.viewData[this.paths[e].m],r=this.paths[e].p,(t||this.filterManager._mdf||i.prop._mdf)&&r.setAttribute("d",i.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||i.prop._mdf)){var s;if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var a=.01*Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),o=.01*Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),h=r.getTotalLength();s="0 0 0 "+h*a+" ";var l,p=h*(o-a),c=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01,f=Math.floor(p/c);for(l=0;l<f;l+=1)s+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01+" ";s+="0 "+10*h+" 0 0"}else s="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01;r.setAttribute("stroke-dasharray",s)}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 u=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(255*u[0])+","+bmFloor(255*u[1])+","+bmFloor(255*u[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,i=this.filterManager.effectElements[1].p.v,r=this.filterManager.effectElements[2].p.v,n=r[0]+" "+i[0]+" "+e[0],s=r[1]+" "+i[1]+" "+e[1],a=r[2]+" "+i[2]+" "+e[2];this.feFuncR.setAttribute("tableValues",n),this.feFuncG.setAttribute("tableValues",s),this.feFuncB.setAttribute("tableValues",a)}},SVGProLevelsFilter.prototype.createFeFunc=function(t,e){var i=createNS(t);return i.setAttribute("type","table"),e.appendChild(i),i},SVGProLevelsFilter.prototype.getTableValue=function(t,e,i,r,n){for(var s,a,o=0,h=Math.min(t,e),l=Math.max(t,e),p=Array.call(null,{length:256}),c=0,f=n-r,u=e-t;o<=256;)a=(s=o/256)<=h?u<0?n:r:s>=l?u<0?r:n:r+f*Math.pow((s-t)/u,1/i),p[c]=a,c+=1,o+=256/255;return p.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e,i=this.filterManager.effectElements;this.feFuncRComposed&&(t||i[3].p._mdf||i[4].p._mdf||i[5].p._mdf||i[6].p._mdf||i[7].p._mdf)&&(e=this.getTableValue(i[3].p.v,i[4].p.v,i[5].p.v,i[6].p.v,i[7].p.v),this.feFuncRComposed.setAttribute("tableValues",e),this.feFuncGComposed.setAttribute("tableValues",e),this.feFuncBComposed.setAttribute("tableValues",e)),this.feFuncR&&(t||i[10].p._mdf||i[11].p._mdf||i[12].p._mdf||i[13].p._mdf||i[14].p._mdf)&&(e=this.getTableValue(i[10].p.v,i[11].p.v,i[12].p.v,i[13].p.v,i[14].p.v),this.feFuncR.setAttribute("tableValues",e)),this.feFuncG&&(t||i[17].p._mdf||i[18].p._mdf||i[19].p._mdf||i[20].p._mdf||i[21].p._mdf)&&(e=this.getTableValue(i[17].p.v,i[18].p.v,i[19].p.v,i[20].p.v,i[21].p.v),this.feFuncG.setAttribute("tableValues",e)),this.feFuncB&&(t||i[24].p._mdf||i[25].p._mdf||i[26].p._mdf||i[27].p._mdf||i[28].p._mdf)&&(e=this.getTableValue(i[24].p.v,i[25].p.v,i[26].p.v,i[27].p.v,i[28].p.v),this.feFuncB.setAttribute("tableValues",e)),this.feFuncA&&(t||i[31].p._mdf||i[32].p._mdf||i[33].p._mdf||i[34].p._mdf||i[35].p._mdf)&&(e=this.getTableValue(i[31].p.v,i[32].p.v,i[33].p.v,i[34].p.v,i[35].p.v),this.feFuncA.setAttribute("tableValues",e))}},extendPrototype([SVGComposableEffect],SVGDropShadowEffect),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 i=this.filterManager.effectElements[3].p.v,r=(this.filterManager.effectElements[2].p.v-90)*degToRads,n=i*Math.cos(r),s=i*Math.sin(r);
vendor: 4,202 bytes, line 2
2this.feOffset.setAttribute("dx",n),this.feOffset.setAttribute("dy",s)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(t,e,i){this.initialized=!1,this.filterManager=e,this.filterElem=t,this.elem=i,i.matteElement=createNS("g"),i.matteElement.appendChild(i.layerElement),i.matteElement.appendChild(i.transformedElement),i.baseElement=i.matteElement}function SVGGaussianBlurEffect(t,e,i,r){t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width","300%"),t.setAttribute("height","300%"),this.filterManager=e;var n=createNS("feGaussianBlur");n.setAttribute("result",r),t.appendChild(n),this.feGaussianBlur=n}function TransformEffect(){}function SVGTransformEffect(t,e){this.init(e)}function CVTransformEffect(t){this.init(t)}return SVGMatte3Effect.prototype.findSymbol=function(t){for(var e=0,i=_svgMatteSymbols.length;e<i;){if(_svgMatteSymbols[e]===t)return _svgMatteSymbols[e];e+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(t,e){var i=t.layerElement.parentNode;if(i){for(var r,n=i.children,s=0,a=n.length;s<a&&n[s]!==t.layerElement;)s+=1;s<=a-2&&(r=n[s+1]);var o=createNS("use");o.setAttribute("href","#"+e),r?i.insertBefore(o,r):i.appendChild(o)}},SVGMatte3Effect.prototype.setElementAsMask=function(t,e){if(!this.findSymbol(e)){var i=createElementID(),r=createNS("mask");r.setAttribute("id",e.layerId),r.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(e);var n=t.globalData.defs;n.appendChild(r);var s=createNS("symbol");s.setAttribute("id",i),this.replaceInParent(e,i),s.appendChild(e.layerElement),n.appendChild(s);var a=createNS("use");a.setAttribute("href","#"+i),r.appendChild(a),e.data.hd=!1,e.show()}t.setMatte(e.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var t=this.filterManager.effectElements[0].p.v,e=this.elem.comp.elements,i=0,r=e.length;i<r;)e[i]&&e[i].data.ind===t&&this.setElementAsMask(this.elem,e[i]),i+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGGaussianBlurEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=.3*this.filterManager.effectElements[0].p.v,i=this.filterManager.effectElements[1].p.v,r=3==i?0:e,n=2==i?0:e;this.feGaussianBlur.setAttribute("stdDeviation",r+" "+n);var s=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",s)}},TransformEffect.prototype.init=function(t){this.effectsManager=t,this.type=effectTypes.TRANSFORM_EFFECT,this.matrix=new Matrix,this.opacity=-1,this._mdf=!1,this._opMdf=!1},TransformEffect.prototype.renderFrame=function(t){if(this._opMdf=!1,this._mdf=!1,t||this.effectsManager._mdf){var e=this.effectsManager.effectElements,i=e[0].p.v,r=e[1].p.v,n=1===e[2].p.v,s=e[3].p.v,a=n?s:e[4].p.v,o=e[5].p.v,h=e[6].p.v,l=e[7].p.v;this.matrix.reset(),this.matrix.translate(-i[0],-i[1],i[2]),this.matrix.scale(.01*a,.01*s,1),this.matrix.rotate(-l*degToRads),this.matrix.skewFromAxis(-o*degToRads,(h+90)*degToRads),this.matrix.translate(r[0],r[1],0),this._mdf=!0,this.opacity!==e[8].p.v&&(this.opacity=e[8].p.v,this._opMdf=!0)}},extendPrototype([TransformEffect],SVGTransformEffect),extendPrototype([TransformEffect],CVTransformEffect),registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect$1(20,SVGTintFilter,!0),registerEffect$1(21,SVGFillFilter,!0),registerEffect$1(22,SVGStrokeEffect,!1),registerEffect$1(23,SVGTritoneFilter,!0),registerEffect$1(24,SVGProLevelsFilter,!0),registerEffect$1(25,SVGDropShadowEffect,!0),registerEffect$1(28,SVGMatte3Effect,!1),registerEffect$1(29,SVGGaussianBlurEffect,!0),registerEffect$1(35,SVGTransformEffect,!1),registerEffect(35,CVTransformEffect),lottie},module.exports=factory())}
vendor: 2,294 bytes, line 2
2,4842:function(t,e,i){!function(e,r){t.exports?t.exports=r(e,i(7158)):e.Unidragger=r(e,e.EvEmitter)}("undefined"!=typeof window?window:this,(function(t,e){function i(){}let r,n,s=i.prototype=Object.create(e.prototype);s.handleEvent=function(t){let e="on"+t.type;this[e]&&this[e](t)},"ontouchstart"in t?(r="touchstart",n=["touchmove","touchend","touchcancel"]):t.PointerEvent?(r="pointerdown",n=["pointermove","pointerup","pointercancel"]):(r="mousedown",n=["mousemove","mouseup"]),s.touchActionValue="none",s.bindHandles=function(){this._bindHandles("addEventListener",this.touchActionValue)},s.unbindHandles=function(){this._bindHandles("removeEventListener","")},s._bindHandles=function(e,i){this.handles.forEach((n=>{n[e](r,this),n[e]("click",this),t.PointerEvent&&(n.style.touchAction=i)}))},s.bindActivePointerEvents=function(){n.forEach((e=>{t.addEventListener(e,this)}))},s.unbindActivePointerEvents=function(){n.forEach((e=>{t.removeEventListener(e,this)}))},s.withPointer=function(t,e){e.pointerId===this.pointerIdentifier&&this[t](e,e)},s.withTouch=function(t,e){let i;for(let t of e.changedTouches)t.identifier===this.pointerIdentifier&&(i=t);i&&this[t](e,i)},s.onmousedown=function(t){this.pointerDown(t,t)},s.ontouchstart=function(t){this.pointerDown(t,t.changedTouches[0])},s.onpointerdown=function(t){this.pointerDown(t,t)};const a=["TEXTAREA","INPUT","SELECT","OPTION"],o=["radio","checkbox","button","submit","image","file"];return s.pointerDown=function(t,e){let i=a.includes(t.target.nodeName),r=o.includes(t.target.type),n=!i||r;!this.isPointerDown&&!t.button&&n&&(this.isPointerDown=!0,this.pointerIdentifier=void 0!==e.pointerId?e.pointerId:e.identifier,this.pointerDownPointer={pageX:e.pageX,pageY:e.pageY},this.bindActivePointerEvents(),this.emitEvent("pointerDown",[t,e]))},s.onmousemove=function(t){this.pointerMove(t,t)},s.onpointermove=function(t){this.withPointer("pointerMove",t)},s.ontouchmove=function(t){this.withTouch("pointerMove",t)},s.pointerMove=function(t,e){let i={x:e.pageX-this.pointerDownPointer.pageX,y:e.pageY-this.pointerDownPointer.pageY};this.emitEvent("pointerMove",[t,e,i]),!this.isDragging&&this.hasDragStarted(i)&&this.dragStart(t,e),this.isDragging&&this.dragMove(t,e,i)},s.hasDragStarted=function(t){return Math.abs(t.x)>3||Math.abs(t.y)>3}
2,s.dragStart=function(t,e){this.isDragging=!0,this.isPreventingClicks=!0,this.emitEvent("dragStart",[t,e])},s.dragMove=function(t,e,i){this.emitEvent("dragMove",[t,e,i])},s.onmouseup=function(t){this.pointerUp(t,t)},s.onpointerup=function(t){this.withPointer("pointerUp",t)},s.ontouchend=function(t){this.withTouch("pointerUp",t)},s.pointerUp=function(t,e){this.pointerDone(),this.emitEvent("pointerUp",[t,e]),this.isDragging?this.dragEnd(t,e):this.staticClick(t,e)},s.dragEnd=function(t,e){this.isDragging=!1,setTimeout((()=>delete this.isPreventingClicks)),this.emitEvent("dragEnd",[t,e])},s.pointerDone=function(){this.isPointerDown=!1,delete this.pointerIdentifier,this.unbindActivePointerEvents(),this.emitEvent("pointerDone")},s.onpointercancel=function(t){this.withPointer("pointerCancel",t)},s.ontouchcancel=function(t){this.withTouch("pointerCancel",t)},s.pointerCancel=function(t,e){this.pointerDone(),this.emitEvent("pointerCancel",[t,e])},s.onclick=function(t){this.isPreventingClicks&&t.preventDefault()},s.staticClick=function(t,e){let i="mouseup"===t.type;i&&this.isIgnoringMouseUp||(this.emitEvent("staticClick",[t,e]),i&&(this.isIgnoringMouseUp=!0,setTimeout((()=>{delete this.isIgnoringMouseUp}),400)))},i}))},2732:function(t){t.exports=function(){"use strict";function t(){return t=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},t.apply(this,arguments)}var e="undefined"!=typeof window,i=e&&!("onscroll"in window)||"undefined"!=typeof navigator&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),r=e&&"IntersectionObserver"in window,n=e&&"classList"in document.createElement("p"),s=e&&window.devicePixelRatio>1,a={elements_selector:".lazy",container:i||e?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",data_bg_hidpi:"bg-hidpi",data_bg_multi:"bg-multi",data_bg_multi_hidpi:"bg-multi-hidpi",data_bg_set:"bg-set",data_poster:"poster",class_applied:"applied",class_loading:"loading",class_loaded:"loaded",class_error:"error",class_entered:"entered",class_exited:"exited",unobserve_completed:!0,unobserve_entered:!1,cancel_on_exit:!0,callback_enter:null,callback_exit:null,callback_applied:null,callback_loading:null,callback_loaded:null,callback_error:null,callback_finish:null,callback_cancel:null,use_native:!1,restore_on_error:!1},o=function(e){return t({},a,e)},h=function(t,e){var i,r="LazyLoad::Initialized",n=new t(e);try{i=new CustomEvent(r,{detail:{instance:n}})}catch(t){(i=document.createEvent("CustomEvent")).initCustomEvent(r,!1,!1,{instance:n})}window.dispatchEvent(i)},l="src",p="srcset",c="sizes",f="poster",u="llOriginalAttrs",d="data",m="loading",g="loaded",y="applied",v="error",b="native",x="data-",_="ll-status",E=function(t,e){return t.getAttribute(x+e)},S=function(t){return E(t,_)},P=function(t,e){return function(t,e,i){var r="data-ll-status";null!==i?t.setAttribute(r,i):t.removeAttribute(r)}(t,0,e)},C=function(t){return P(t,null)},w=function(t){return null===S(t)},T=function(t){return S(t)===b},A=[m,g,y,v],k=function(t,e,i,r){t&&(void 0===r?void 0===i?t(e):t(e,i):t(e,i,r))},M=function(t,e){n?t.classList.add(e):t.className+=(t.className?" ":"")+e},D=function(t,e){n?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\s+)"+e+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,"")},F=function(t){return t.llTempImage},I=function(t,e){if(e){var i=e._observer;i&&i.unobserve(t)}},L=function(t,e){t&&(t.loadingCount+=e)},B=function(t,e){t&&(t.toLoadCount=e)},R=function(t){for(var e,i=[],r=0;e=t.children[r];r+=1)"SOURCE"===e.tagName&&i.push(e);return i},V=function(t,e){var i=t.parentNode;
vendor: 4,941 bytes, line 2
2i&&"PICTURE"===i.tagName&&R(i).forEach(e)},O=function(t,e){R(t).forEach(e)},z=[l],N=[l,f],G=[l,p,c],j=[d],H=function(t){return!!t[u]},W=function(t){return t[u]},q=function(t){return delete t[u]},Y=function(t,e){if(!H(t)){var i={};e.forEach((function(e){i[e]=t.getAttribute(e)})),t[u]=i}},X=function(t,e){if(H(t)){var i=W(t);e.forEach((function(e){!function(t,e,i){i?t.setAttribute(e,i):t.removeAttribute(e)}(t,e,i[e])}))}},$=function(t,e,i){M(t,e.class_applied),P(t,y),i&&(e.unobserve_completed&&I(t,e),k(e.callback_applied,t,i))},U=function(t,e,i){M(t,e.class_loading),P(t,m),i&&(L(i,1),k(e.callback_loading,t,i))},J=function(t,e,i){i&&t.setAttribute(e,i)},Z=function(t,e){J(t,c,E(t,e.data_sizes)),J(t,p,E(t,e.data_srcset)),J(t,l,E(t,e.data_src))},K={IMG:function(t,e){V(t,(function(t){Y(t,G),Z(t,e)})),Y(t,G),Z(t,e)},IFRAME:function(t,e){Y(t,z),J(t,l,E(t,e.data_src))},VIDEO:function(t,e){O(t,(function(t){Y(t,z),J(t,l,E(t,e.data_src))})),Y(t,N),J(t,f,E(t,e.data_poster)),J(t,l,E(t,e.data_src)),t.load()},OBJECT:function(t,e){Y(t,j),J(t,d,E(t,e.data_src))}},Q=["IMG","IFRAME","VIDEO","OBJECT"],tt=function(t,e){!e||function(t){return t.loadingCount>0}(e)||function(t){return t.toLoadCount>0}(e)||k(t.callback_finish,e)},et=function(t,e,i){t.addEventListener(e,i),t.llEvLisnrs[e]=i},it=function(t,e,i){t.removeEventListener(e,i)},rt=function(t){return!!t.llEvLisnrs},nt=function(t){if(rt(t)){var e=t.llEvLisnrs;for(var i in e){var r=e[i];it(t,i,r)}delete t.llEvLisnrs}},st=function(t,e,i){!function(t){delete t.llTempImage}(t),L(i,-1),function(t){t&&(t.toLoadCount-=1)}(i),D(t,e.class_loading),e.unobserve_completed&&I(t,i)},at=function(t,e,i){var r=F(t)||t;rt(r)||function(t,e,i){rt(t)||(t.llEvLisnrs={});var r="VIDEO"===t.tagName?"loadeddata":"load";et(t,r,e),et(t,"error",i)}(r,(function(n){!function(t,e,i,r){var n=T(e);st(e,i,r),M(e,i.class_loaded),P(e,g),k(i.callback_loaded,e,r),n||tt(i,r)}(0,t,e,i),nt(r)}),(function(n){!function(t,e,i,r){var n=T(e);st(e,i,r),M(e,i.class_error),P(e,v),k(i.callback_error,e,r),i.restore_on_error&&X(e,G),n||tt(i,r)}(0,t,e,i),nt(r)}))},ot=function(t,e,i){!function(t){return Q.indexOf(t.tagName)>-1}(t)?function(t,e,i){!function(t){t.llTempImage=document.createElement("IMG")}(t),at(t,e,i),function(t){H(t)||(t[u]={backgroundImage:t.style.backgroundImage})}(t),function(t,e,i){var r=E(t,e.data_bg),n=E(t,e.data_bg_hidpi),a=s&&n?n:r;a&&(t.style.backgroundImage='url("'.concat(a,'")'),F(t).setAttribute(l,a),U(t,e,i))}(t,e,i),function(t,e,i){var r=E(t,e.data_bg_multi),n=E(t,e.data_bg_multi_hidpi),a=s&&n?n:r;a&&(t.style.backgroundImage=a,$(t,e,i))}(t,e,i),function(t,e,i){var r=E(t,e.data_bg_set);if(r){var n=r.split("|"),s=n.map((function(t){return"image-set(".concat(t,")")}));t.style.backgroundImage=s.join(),""===t.style.backgroundImage&&(s=n.map((function(t){return"-webkit-image-set(".concat(t,")")})),t.style.backgroundImage=s.join()),$(t,e,i)}}(t,e,i)}(t,e,i):function(t,e,i){at(t,e,i),function(t,e,i){var r=K[t.tagName];r&&(r(t,e),U(t,e,i))}(t,e,i)}(t,e,i)},ht=function(t){t.removeAttribute(l),t.removeAttribute(p),t.removeAttribute(c)},lt=function(t){V(t,(function(t){X(t,G)})),X(t,G)},pt={IMG:lt,IFRAME:function(t){X(t,z)},VIDEO:function(t){O(t,(function(t){X(t,z)})),X(t,N),t.load()},OBJECT:function(t){X(t,j)}},ct=function(t,e){(function(t){var e=pt[t.tagName];e?e(t):function(t){if(H(t)){var e=W(t);t.style.backgroundImage=e.backgroundImage}}(t)})(t),function(t,e){w(t)||T(t)||(D(t,e.class_entered),D(t,e.class_exited),D(t,e.class_applied),D(t,e.class_loading),D(t,e.class_loaded),D(t,e.class_error))}(t,e),C(t),q(t)},ft=["IMG","IFRAME","VIDEO"],ut=function(t){return t.use_native&&"loading"in HTMLImageElement.prototype},dt=function(t,e,i){t.forEach((function(t){return function(t){return t.isIntersecting||t.intersectionRatio>0}(t)?function(t,e,i,r){var n=function(t){return A.indexOf(S(t))>=0}(t);P(t,"entered"),M(t,i.class_entered),D(t,i.class_exited),function(t,e,i){e.unobserve_entered&&I(t,i)}(t,i,r),k(i.callback_enter,t,e,r),n||ot(t,i,r)}(t.target,t,e,i):function(t,e,i,r){w(t)||(M(t,i.class_exited),function(t,e,i,r){i.cancel_on_exit&&function(t){return S(t)===m}(t)&&"IMG"===t.tagName&&(nt(t),function(t){V(t,(function(t){ht(t)})),ht(t)}(t),lt(t),D(t,i.class_loading),L(r,-1),C(t),k(i.callback_cancel,t,e,r))}(t,e,i,r),k(i.callback_exit,t,e,r))}(t.target,t,e,i)}))},mt=function(t){return Array.prototype.slice.call(t)},gt=function(t){return t.container.querySelectorAll(t.elements_selector)},yt=function(t){return function(t){return S(t)===v}(t)},vt=function(t,e){return function(t){return mt(t).filter(w)}(t||gt(e))},bt=function(t,i){var n=o(t);this._settings=n,this.loadingCount=0,function(t,e){r&&!ut(t)&&(e._observer=new IntersectionObserver((function(i){dt(i,t,e)}),function(t){return{root:t.container===document?null:t.container,rootMargin:t.thresholds||t.threshold+"px"}}(t)))}(n,this),function(t,i){e&&window.addEventListener("online",(function(){!function(t,e){var i;
vendor: 10,640 bytes, line 2
2(i=gt(t),mt(i).filter(yt)).forEach((function(e){D(e,t.class_error),C(e)})),e.update()}(t,i)}))}(n,this),this.update(i)};return bt.prototype={update:function(t){var e,n,s=this._settings,a=vt(t,s);B(this,a.length),!i&&r?ut(s)?function(t,e,i){t.forEach((function(t){-1!==ft.indexOf(t.tagName)&&function(t,e,i){t.setAttribute("loading","lazy"),at(t,e,i),function(t,e){var i=K[t.tagName];i&&i(t,e)}(t,e),P(t,b)}(t,e,i)})),B(i,0)}(a,s,this):(n=a,function(t){t.disconnect()}(e=this._observer),function(t,e){e.forEach((function(e){t.observe(e)}))}(e,n)):this.loadAll(a)},destroy:function(){this._observer&&this._observer.disconnect(),gt(this._settings).forEach((function(t){q(t)})),delete this._observer,delete this._settings,delete this.loadingCount,delete this.toLoadCount},loadAll:function(t){var e=this,i=this._settings;vt(t,i).forEach((function(t){I(t,e),ot(t,i,e)}))},restoreAll:function(){var t=this._settings;gt(t).forEach((function(e){ct(e,t)}))}},bt.load=function(t,e){var i=o(e);ot(t,i)},bt.resetStatus=function(t){C(t)},e&&function(t,e){if(e)if(e.length)for(var i,r=0;i=e[r];r+=1)h(t,i);else h(t,e)}(bt,window.lazyLoadOptions),bt}()},2662:function(t){"use strict";var e=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},i=function(){function t(i){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e(this,t),!(i instanceof Node))throw"Can't initialize VanillaTilt because "+i+" is not a Node.";this.width=null,this.height=null,this.clientWidth=null,this.clientHeight=null,this.left=null,this.top=null,this.gammazero=null,this.betazero=null,this.lastgammazero=null,this.lastbetazero=null,this.transitionTimeout=null,this.updateCall=null,this.event=null,this.updateBind=this.update.bind(this),this.resetBind=this.reset.bind(this),this.element=i,this.settings=this.extendSettings(r),this.reverse=this.settings.reverse?-1:1,this.resetToStart=t.isSettingTrue(this.settings["reset-to-start"]),this.glare=t.isSettingTrue(this.settings.glare),this.glarePrerender=t.isSettingTrue(this.settings["glare-prerender"]),this.fullPageListening=t.isSettingTrue(this.settings["full-page-listening"]),this.gyroscope=t.isSettingTrue(this.settings.gyroscope),this.gyroscopeSamples=this.settings.gyroscopeSamples,this.elementListener=this.getElementListener(),this.glare&&this.prepareGlare(),this.fullPageListening&&this.updateClientSize(),this.addEventListeners(),this.reset(),!1===this.resetToStart&&(this.settings.startX=0,this.settings.startY=0)}return t.isSettingTrue=function(t){return""===t||!0===t||1===t},t.prototype.getElementListener=function(){if(this.fullPageListening)return window.document;if("string"==typeof this.settings["mouse-event-element"]){var t=document.querySelector(this.settings["mouse-event-element"]);if(t)return t}return this.settings["mouse-event-element"]instanceof Node?this.settings["mouse-event-element"]:this.element},t.prototype.addEventListeners=function(){this.onMouseEnterBind=this.onMouseEnter.bind(this),this.onMouseMoveBind=this.onMouseMove.bind(this),this.onMouseLeaveBind=this.onMouseLeave.bind(this),this.onWindowResizeBind=this.onWindowResize.bind(this),this.onDeviceOrientationBind=this.onDeviceOrientation.bind(this),this.elementListener.addEventListener("mouseenter",this.onMouseEnterBind),this.elementListener.addEventListener("mouseleave",this.onMouseLeaveBind),this.elementListener.addEventListener("mousemove",this.onMouseMoveBind),(this.glare||this.fullPageListening)&&window.addEventListener("resize",this.onWindowResizeBind),this.gyroscope&&window.addEventListener("deviceorientation",this.onDeviceOrientationBind)},t.prototype.removeEventListeners=function(){this.elementListener.removeEventListener("mouseenter",this.onMouseEnterBind),this.elementListener.removeEventListener("mouseleave",this.onMouseLeaveBind),this.elementListener.removeEventListener("mousemove",this.onMouseMoveBind),this.gyroscope&&window.removeEventListener("deviceorientation",this.onDeviceOrientationBind),(this.glare||this.fullPageListening)&&window.removeEventListener("resize",this.onWindowResizeBind)},t.prototype.destroy=function(){clearTimeout(this.transitionTimeout),null!==this.updateCall&&cancelAnimationFrame(this.updateCall),this.element.style.willChange="",this.element.style.transition="",this.element.style.transform="",this.resetGlare(),this.removeEventListeners(),this.element.vanillaTilt=null,delete this.element.vanillaTilt,this.element=null},t.prototype.onDeviceOrientation=function(t){if(null!==t.gamma&&null!==t.beta){this.updateElementPosition(),this.gyroscopeSamples>0&&(this.lastgammazero=this.gammazero,this.lastbetazero=this.betazero,null===this.gammazero?(this.gammazero=t.gamma,this.betazero=t.beta):(this.gammazero=(t.gamma+this.lastgammazero)/2,this.betazero=(t.beta+this.lastbetazero)/2),this.gyroscopeSamples-=1);var e=this.settings.gyroscopeMaxAngleX-this.settings.gyroscopeMinAngleX,i=this.settings.gyroscopeMaxAngleY-this.settings.gyroscopeMinAngleY,r=e/this.width,n=i/this.height,s=(t.gamma-(this.settings.gyroscopeMinAngleX+this.gammazero))/r,a=(t.beta-(this.settings.gyroscopeMinAngleY+this.betazero))/n;null!==this.updateCall&&cancelAnimationFrame(this.updateCall),this.event={clientX:s+this.left,clientY:a+this.top},this.updateCall=requestAnimationFrame(this.updateBind)}},t.prototype.onMouseEnter=function(){this.updateElementPosition(),this.element.style.willChange="transform",this.setTransition()},t.prototype.onMouseMove=function(t){null!==this.updateCall&&cancelAnimationFrame(this.updateCall),this.event=t,this.updateCall=requestAnimationFrame(this.updateBind)},t.prototype.onMouseLeave=function(){this.setTransition(),this.settings.reset&&requestAnimationFrame(this.resetBind)},t.prototype.reset=function(){this.onMouseEnter(),this.fullPageListening?this.event={clientX:(this.settings.startX+this.settings.max)/(2*this.settings.max)*this.clientWidth,clientY:(this.settings.startY+this.settings.max)/(2*this.settings.max)*this.clientHeight}:this.event={clientX:this.left+(this.settings.startX+this.settings.max)/(2*this.settings.max)*this.width,clientY:this.top+(this.settings.startY+this.settings.max)/(2*this.settings.max)*this.height};var t=this.settings.scale;this.settings.scale=1,this.update(),this.settings.scale=t,this.resetGlare()},t.prototype.resetGlare=function(){this.glare&&(this.glareElement.style.transform="rotate(180deg) translate(-50%, -50%)",this.glareElement.style.opacity="0")},t.prototype.getValues=function(){var t=void 0,e=void 0;return this.fullPageListening?(t=this.event.clientX/this.clientWidth,e=this.event.clientY/this.clientHeight):(t=(this.event.clientX-this.left)/this.width,e=(this.event.clientY-this.top)/this.height),t=Math.min(Math.max(t,0),1),e=Math.min(Math.max(e,0),1),{tiltX:(this.reverse*(this.settings.max-t*this.settings.max*2)).toFixed(2),tiltY:(this.reverse*(e*this.settings.max*2-this.settings.max)).toFixed(2),percentageX:100*t,percentageY:100*e,angle:Math.atan2(this.event.clientX-(this.left+this.width/2),-(this.event.clientY-(this.top+this.height/2)))*(180/Math.PI)}},t.prototype.updateElementPosition=function(){var t=this.element.getBoundingClientRect();this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.left=t.left,this.top=t.top},t.prototype.update=function(){var t=this.getValues();this.element.style.transform="perspective("+this.settings.perspective+"px) rotateX("+("x"===this.settings.axis?0:t.tiltY)+"deg) rotateY("+("y"===this.settings.axis?0:t.tiltX)+"deg) scale3d("+this.settings.scale+", "+this.settings.scale+", "+this.settings.scale+")",this.glare&&(this.glareElement.style.transform="rotate("+t.angle+"deg) translate(-50%, -50%)",this.glareElement.style.opacity=""+t.percentageY*this.settings["max-glare"]/100),this.element.dispatchEvent(new CustomEvent("tiltChange",{detail:t})),this.updateCall=null},t.prototype.prepareGlare=function(){if(!this.glarePrerender){var t=document.createElement("div");t.classList.add("js-tilt-glare");var e=document.createElement("div");e.classList.add("js-tilt-glare-inner"),t.appendChild(e),this.element.appendChild(t)}this.glareElementWrapper=this.element.querySelector(".js-tilt-glare"),this.glareElement=this.element.querySelector(".js-tilt-glare-inner"),this.glarePrerender||(Object.assign(this.glareElementWrapper.style,{position:"absolute",top:"0",left:"0",width:"100%",height:"100%",overflow:"hidden","pointer-events":"none","border-radius":"inherit"}),Object.assign(this.glareElement.style,{position:"absolute",top:"50%",left:"50%","pointer-events":"none","background-image":"linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%)",transform:"rotate(180deg) translate(-50%, -50%)","transform-origin":"0% 0%",opacity:"0"}),this.updateGlareSize())},t.prototype.updateGlareSize=function(){if(this.glare){var t=2*(this.element.offsetWidth>this.element.offsetHeight?this.element.offsetWidth:this.element.offsetHeight);Object.assign(this.glareElement.style,{width:t+"px",height:t+"px"})}},t.prototype.updateClientSize=function(){this.clientWidth=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,this.clientHeight=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight},t.prototype.onWindowResize=function(){this.updateGlareSize(),this.updateClientSize()},t.prototype.setTransition=function(){var t=this;clearTimeout(this.transitionTimeout),this.element.style.transition=this.settings.speed+"ms "+this.settings.easing,this.glare&&(this.glareElement.style.transition="opacity "+this.settings.speed+"ms "+this.settings.easing),this.transitionTimeout=setTimeout((function(){t.element.style.transition="",t.glare&&(t.glareElement.style.transition="")}),this.settings.speed)},t.prototype.extendSettings=function(t){var e={reverse:!1,max:15,startX:0,startY:0,perspective:1e3,easing:"cubic-bezier(.03,.98,.52,.99)",scale:1,speed:300,transition:!0,axis:null,glare:!1,"max-glare":1,"glare-prerender":!1,"full-page-listening":!1,"mouse-event-element":null,reset:!0,"reset-to-start":!0,gyroscope:!0,gyroscopeMinAngleX:-45,gyroscopeMaxAngleX:45,gyroscopeMinAngleY:-45,gyroscopeMaxAngleY:45,gyroscopeSamples:10},i={};for(var r in e)if(r in t)i[r]=t[r];else if(this.element.hasAttribute("data-tilt-"+r)){var n=this.element.getAttribute("data-tilt-"+r);try{i[r]=JSON.parse(n)}catch(t){i[r]=n}}else i[r]=e[r];return i},t.init=function(e,i){e instanceof Node&&(e=[e]),e instanceof NodeList&&(e=[].slice.call(e)),e instanceof Array&&e.forEach((function(e){"vanillaTilt"in e||(e.vanillaTilt=new t(e,i))}))},t}();"undefined"!=typeof document&&(window.VanillaTilt=i,i.init(document.querySelectorAll("[data-tilt]"))),t.exports=i}
2,5671:function(t,e,i){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}i.d(e,{Z:function(){return r}})},3144:function(t,e,i){"use strict";function r(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function n(t,e,i){return e&&r(t.prototype,e),i&&r(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}i.d(e,{Z:function(){return n}})}}]); 3//# sourceMappingURL=vendors.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.