1!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],e):e(t.bootstrap={},t.jQuery)}(this,function(t,e){"use strict";function i(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 r(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),t}function s(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function n(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{},r=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(i).filter(function(t){return Object.getOwnPropertyDescriptor(i,t).enumerable}))),r.forEach(function(e){s(t,e,i[e])})}return t}function a(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function o(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}function l(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},_t))}}function h(t){var e={};return t&&"[object Function]"===e.toString.call(t)}function p(t,e){if(1!==t.nodeType)return[];var i=getComputedStyle(t,null);return e?i[e]:i}function c(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function f(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=p(t),i=e.overflow,r=e.overflowX;return/(auto|scroll|overlay)/.test(i+e.overflowY+r)?t:f(c(t))}function d(t){return 11===t?Pt:10===t?Tt:Pt||Tt}function u(t){if(!t)return document.documentElement;for(var e=d(10)?document.body:null,i=t.offsetParent;i===e&&t.nextElementSibling;)i=(t=t.nextElementSibling).offsetParent;var r=i&&i.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TD","TABLE"].indexOf(i.nodeName)&&"static"===p(i,"position")?u(i):i:t?t.ownerDocument.documentElement:document.documentElement}function m(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||u(t.firstElementChild)===t)}function g(t){return null!==t.parentNode?g(t.parentNode):t}function y(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var i=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=i?t:e,s=i?e:t,n=document.createRange();n.setStart(r,0),n.setEnd(s,0);var a=n.commonAncestorContainer;if(t!==a&&e!==a||r.contains(s))return m(a)?a:u(a);var o=g(t);return o.host?y(o.host,e):y(t,g(e).host)}function v(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",i="top"===e?"scrollTop":"scrollLeft",r=t.nodeName;if("BODY"===r||"HTML"===r){var s=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||s)[i]}return t[i]}function b(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=v(e,"top"),s=v(e,"left"),n=i?-1:1;return t.top+=r*n,t.bottom+=r*n,t.left+=s*n,t.right+=s*n,t}function E(t,e){var i="x"===e?"Left":"Top",r="Left"===i?"Right":"Bottom";return parseFloat(t["border"+i+"Width"],10)+parseFloat(t["border"+r+"Width"],10)}function _(t,e,i,r){return Math.max(e["offset"+t],e["scroll"+t],i["client"+t],i["offset"+t],i["scroll"+t],d(10)?i["offset"+t]+r["margin"+("Height"===t?"Top":"Left")]+r["margin"+("Height"===t?"Bottom":"Right")]:0)}function S(){var t=document.body,e=document.documentElement,i=d(10)&&getComputedStyle(e);return{height:_("Height",t,e,i),width:_("Width",t,e,i)}}function C(t){return kt({},t,{right:t.left+t.width,bottom:t.top+t.height})}function x(t){var e={};try{if(d(10)){e=t.getBoundingClientRect();var i=v(t,"top"),r=v(t,"left");e.top+=i,e.left+=r,e.bottom+=i,e.right+=r}else e=t.getBoundingClientRect()}catch(t){}var s={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},n="HTML"===t.nodeName?S():{},a=n.width||t.clientWidth||s.right-s.left,o=n.height||t.clientHeight||s.bottom-s.top,l=t.offsetWidth-a,h=t.offsetHeight-o;if(l||h){var c=p(t);l-=E(c,"x"),h-=E(c,"y"),s.width-=l,s.height-=h}return C(s)}function P(t,e){var i=arguments.length>
vendor: 5,615 bytes, line 1
12&&void 0!==arguments[2]&&arguments[2],r=d(10),s="HTML"===e.nodeName,n=x(t),a=x(e),o=f(t),l=p(e),h=parseFloat(l.borderTopWidth,10),c=parseFloat(l.borderLeftWidth,10);i&&"HTML"===e.nodeName&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var u=C({top:n.top-a.top-h,left:n.left-a.left-c,width:n.width,height:n.height});if(u.marginTop=0,u.marginLeft=0,!r&&s){var m=parseFloat(l.marginTop,10),g=parseFloat(l.marginLeft,10);u.top-=h-m,u.bottom-=h-m,u.left-=c-g,u.right-=c-g,u.marginTop=m,u.marginLeft=g}return(r&&!i?e.contains(o):e===o&&"BODY"!==o.nodeName)&&(u=b(u,e)),u}function T(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=t.ownerDocument.documentElement,r=P(t,i),s=Math.max(i.clientWidth,window.innerWidth||0),n=Math.max(i.clientHeight,window.innerHeight||0),a=e?0:v(i),o=e?0:v(i,"left");return C({top:a-r.top+r.marginTop,left:o-r.left+r.marginLeft,width:s,height:n})}function A(t){var e=t.nodeName;return"BODY"!==e&&"HTML"!==e&&("fixed"===p(t,"position")||A(c(t)))}function D(t){if(!t||!t.parentElement||d())return document.documentElement;for(var e=t.parentElement;e&&"none"===p(e,"transform");)e=e.parentElement;return e||document.documentElement}function w(t,e,i,r){var s=arguments.length>4&&void 0!==arguments[4]&&arguments[4],n={top:0,left:0},a=s?D(t):y(t,e);if("viewport"===r)n=T(a,s);else{var o=void 0;"scrollParent"===r?(o=f(c(e)),"BODY"===o.nodeName&&(o=t.ownerDocument.documentElement)):o="window"===r?t.ownerDocument.documentElement:r;var l=P(o,a,s);if("HTML"!==o.nodeName||A(a))n=l;else{var h=S(),p=h.height,d=h.width;n.top+=l.top-l.marginTop,n.bottom=p+l.top,n.left+=l.left-l.marginLeft,n.right=d+l.left}}return n.left+=i,n.top+=i,n.right-=i,n.bottom-=i,n}function k(t){return t.width*t.height}function I(t,e,i,r,s){var n=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=w(i,r,n,s),o={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},l=Object.keys(o).map(function(t){return kt({key:t},o[t],{area:k(o[t])})}).sort(function(t,e){return e.area-t.area}),h=l.filter(function(t){var e=t.width,r=t.height;return e>=i.clientWidth&&r>=i.clientHeight}),p=h.length>0?h[0].key:l[0].key,c=t.split("-")[1];return p+(c?"-"+c:"")}function M(t,e,i){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return P(i,r?D(e):y(e,i),r)}function F(t){var e=getComputedStyle(t),i=parseFloat(e.marginTop)+parseFloat(e.marginBottom),r=parseFloat(e.marginLeft)+parseFloat(e.marginRight);return{width:t.offsetWidth+r,height:t.offsetHeight+i}}function L(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function R(t,e,i){i=i.split("-")[0];var r=F(t),s={width:r.width,height:r.height},n=-1!==["right","left"].indexOf(i),a=n?"top":"left",o=n?"left":"top",l=n?"height":"width",h=n?"width":"height";return s[a]=e[a]+e[l]/2-r[l]/2,s[o]=i===o?e[o]-r[h]:e[L(o)],s}function O(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function V(t,e,i){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===i});var r=O(t,function(t){return t[e]===i});return t.indexOf(r)}function B(t,e,i){return(void 0===i?t:t.slice(0,V(t,"name",i))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var i=t.function||t.fn;t.enabled&&h(i)&&(e.offsets.popper=C(e.offsets.popper),e.offsets.reference=C(e.offsets.reference),e=i(e,t))}),e}function N(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=M(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=I(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=R(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=B(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function z(t,e){return t.some(function(t){var i=t.name;return t.enabled&&i===e})}function G(t){for(var e=[!1,"ms","Webkit","Moz","O"],i=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<e.length;r++){var s=e[r],n=s?""+s+i:t;if(void 0!==document.body.style[n])return n}return null}function H(){return this.state.isDestroyed=!0,z(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[G("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function j(t){var e=t.ownerDocument;return e?e.defaultView:window}function W(t,e,i,r){var s="BODY"===t.nodeName,n=s?t.ownerDocument.defaultView:t;n.addEventListener(e,i,{passive:!0}),s||W(f(n.parentNode),e,i,r),r.push(n)}function q(t,e,i,r){i.updateBound=r,j(t).addEventListener("resize",i.updateBound,{passive:!0});var s=f(t);return W(s,"scroll",i.updateBound,i.scrollParents),i.scrollElement=s,i.eventsEnabled=!0,i}function U(){this.state.eventsEnabled||(this.state=q(this.reference,this.options,this.state,this.scheduleUpdate))}function $(t,e){return j(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEac
vendor: 5,619 bytes, line 1
1h(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e}function K(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=$(this.reference,this.state))}function Y(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function X(t,e){Object.keys(e).forEach(function(i){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(i)&&Y(e[i])&&(r="px"),t.style[i]=e[i]+r})}function Q(t,e){Object.keys(e).forEach(function(i){!1!==e[i]?t.setAttribute(i,e[i]):t.removeAttribute(i)})}function J(t){return X(t.instance.popper,t.styles),Q(t.instance.popper,t.attributes),t.arrowElement&&Object.keys(t.arrowStyles).length&&X(t.arrowElement,t.arrowStyles),t}function Z(t,e,i,r,s){var n=M(s,e,t,i.positionFixed),a=I(i.placement,n,e,t,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return e.setAttribute("x-placement",a),X(e,{position:i.positionFixed?"fixed":"absolute"}),i}function tt(t,e){var i=e.x,r=e.y,s=t.offsets.popper,n=O(t.instance.modifiers,function(t){return"applyStyle"===t.name}).gpuAcceleration;void 0!==n&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==n?n:e.gpuAcceleration,o=u(t.instance.popper),l=x(o),h={position:s.position},p={left:Math.floor(s.left),top:Math.round(s.top),bottom:Math.round(s.bottom),right:Math.floor(s.right)},c="bottom"===i?"top":"bottom",f="right"===r?"left":"right",d=G("transform"),m=void 0,g=void 0;if(g="bottom"===c?-l.height+p.bottom:p.top,m="right"===f?-l.width+p.right:p.left,a&&d)h[d]="translate3d("+m+"px, "+g+"px, 0)",h[c]=0,h[f]=0,h.willChange="transform";else{var y="bottom"===c?-1:1,v="right"===f?-1:1;h[c]=g*y,h[f]=m*v,h.willChange=c+", "+f}var b={"x-placement":t.placement};return t.attributes=kt({},b,t.attributes),t.styles=kt({},h,t.styles),t.arrowStyles=kt({},t.offsets.arrow,t.arrowStyles),t}function et(t,e,i){var r=O(t,function(t){return t.name===e}),s=!!r&&t.some(function(t){return t.name===i&&t.enabled&&t.order<r.order});if(!s){var n="`"+e+"`",a="`"+i+"`";console.warn(a+" modifier is required by "+n+" modifier in order to work, be sure to include it before "+n+"!")}return s}function it(t,e){var i;if(!et(t.instance.modifiers,"arrow","keepTogether"))return t;var r=e.element;if("string"==typeof r){if(!(r=t.instance.popper.querySelector(r)))return t}else if(!t.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var s=t.placement.split("-")[0],n=t.offsets,a=n.popper,o=n.reference,l=-1!==["left","right"].indexOf(s),h=l?"height":"width",c=l?"Top":"Left",f=c.toLowerCase(),d=l?"left":"top",u=l?"bottom":"right",m=F(r)[h];o[u]-m<a[f]&&(t.offsets.popper[f]-=a[f]-(o[u]-m)),o[f]+m>a[u]&&(t.offsets.popper[f]+=o[f]+m-a[u]),t.offsets.popper=C(t.offsets.popper);var g=o[f]+o[h]/2-m/2,y=p(t.instance.popper),v=parseFloat(y["margin"+c],10),b=parseFloat(y["border"+c+"Width"],10),E=g-t.offsets.popper[f]-v-b;return E=Math.max(Math.min(a[h]-m,E),0),t.arrowElement=r,t.offsets.arrow=(i={},wt(i,f,Math.round(E)),wt(i,d,""),i),t}function rt(t){return"end"===t?"start":"start"===t?"end":t}function st(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=Mt.indexOf(t),r=Mt.slice(i+1).concat(Mt.slice(0,i));return e?r.reverse():r}function nt(t,e){if(z(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var i=w(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),r=t.placement.split("-")[0],s=L(r),n=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case Ft.FLIP:a=[r,s];break;case Ft.CLOCKWISE:a=st(r);break;case Ft.COUNTERCLOCKWISE:a=st(r,!0);break;default:a=e.behavior}return a.forEach(function(o,l){if(r!==o||a.length===l+1)return t;r=t.placement.split("-")[0],s=L(r);var h=t.offsets.popper,p=t.offsets.reference,c=Math.floor,f="left"===r&&c(h.right)>c(p.left)||"right"===r&&c(h.left)<c(p.right)||"top"===r&&c(h.bottom)>c(p.top)||"bottom"===r&&c(h.top)<c(p.bottom),d=c(h.left)<c(i.left),u=c(h.right)>c(i.right),m=c(h.top)<c(i.top),g=c(h.bottom)>c(i.bottom),y="left"===r&&d||"right"===r&&u||"top"===r&&m||"bottom"===r&&g,v=-1!==["top","bottom"].indexOf(r),b=!!e.flipVariations&&(v&&"start"===n&&d||v&&"end"===n&&u||!v&&"start"===n&&m||!v&&"end"===n&&g);(f||y||b)&&(t.flipped=!0,(f||y)&&(r=a[l+1]),b&&(n=rt(n)),t.placement=r+(n?"-"+n:""),t.offsets.popper=kt({},t.offsets.popper,R(t.instance.popper,t.offsets.reference,t.placement)),t=B(t.instance.modifiers,t,"flip"))}),t}function at(t){var e=t.offsets,i=e.popper,r=e.reference,s=t.placement.split("-")[0],n=Math.floor,a=-1!==["top","bottom"].indexOf(s),o=a?"right":"bottom",l=a?"left":"top",h=a?"width":"height";return i[o]<n(r[l])&&(t.offsets.popper[l]=n(r[l])-i[h]),i[l]>n(r[o])&&(t.offsets.popper[l]=n(r[o])),t}function ot(t,e,i,r){var s=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),n=+s[1],a=s[2];if(!n)return t;if(0===a.indexOf("%")){var o=void 0;switch(a){case"%p":o=i;break;case"%":case"%r":default:o=r}return C(o)[e]/100*n}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*n}return n}function lt(t,e,i,r){var s=[0,0],n=-1!==["right","left"].indexOf(r),a=t.split(/(\+|\-)/).map(function(t){return t.trim()}),o=a.indexOf(O(a,function(t){return-1!==t.search(/,|\s/)}));a[o]&&-1===a[o].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");
vendor: 1,398 bytes, line 1
1var l=/\s*,\s*|\s+/,h=-1!==o?[a.slice(0,o).concat([a[o].split(l)[0]]),[a[o].split(l)[1]].concat(a.slice(o+1))]:[a];return h=h.map(function(t,r){var s=(1===r?!n:n)?"height":"width",a=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,a=!0,t):a?(t[t.length-1]+=e,a=!1,t):t.concat(e)},[]).map(function(t){return ot(t,s,e,i)})}),h.forEach(function(t,e){t.forEach(function(i,r){Y(i)&&(s[e]+=i*("-"===t[r-1]?-1:1))})}),s}function ht(t,e){var i=e.offset,r=t.placement,s=t.offsets,n=s.popper,a=s.reference,o=r.split("-")[0],l=void 0;return l=Y(+i)?[+i,0]:lt(i,n,a,o),"left"===o?(n.top+=l[0],n.left-=l[1]):"right"===o?(n.top+=l[0],n.left+=l[1]):"top"===o?(n.left+=l[0],n.top-=l[1]):"bottom"===o&&(n.left+=l[0],n.top+=l[1]),t.popper=n,t}function pt(t,e){var i=e.boundariesElement||u(t.instance.popper);t.instance.reference===i&&(i=u(i));var r=G("transform"),s=t.instance.popper.style,n=s.top,a=s.left,o=s[r];s.top="",s.left="",s[r]="";var l=w(t.instance.popper,t.instance.reference,e.padding,i,t.positionFixed);s.top=n,s.left=a,s[r]=o,e.boundaries=l;var h=e.priority,p=t.offsets.popper,c={primary:function(t){var i=p[t];return p[t]<l[t]&&!e.escapeWithReference&&(i=Math.max(p[t],l[t])),wt({},t,i)},secondary:function(t){var i="right"===t?"left":"top",r=p[i];return p[t]>l[t]&&!e.escapeWithReference&&(r=Math.min(p[i],l[t]-("right"===t?p.width:p.height))),wt
1({},i,r)}};return h.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";p=kt({},p,c[e](t))}),t.offsets.popper=p,t}function ct(t){var e=t.placement,i=e.split("-")[0],r=e.split("-")[1];if(r){var s=t.offsets,n=s.reference,a=s.popper,o=-1!==["bottom","top"].indexOf(i),l=o?"left":"top",h=o?"width":"height",p={start:wt({},l,n[l]),end:wt({},l,n[l]+n[h]-a[h])};t.offsets.popper=kt({},a,p[r])}return t}function ft(t){if(!et(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,i=O(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<i.top||e.left>i.right||e.top>i.bottom||e.right<i.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}function dt(t){var e=t.placement,i=e.split("-")[0],r=t.offsets,s=r.popper,n=r.reference,a=-1!==["left","right"].indexOf(i),o=-1===["top","left"].indexOf(i);return s[a?"left":"top"]=n[i]-(o?s[a?"width":"height"]:0),t.placement=L(e),t.offsets.popper=C(s),t}e=e&&e.hasOwnProperty("default")?e.default:e;for(var ut=function(t){function e(t){return{}.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase()}function i(){return{bindType:s,delegateType:s,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}}}function r(e){var i=this,r=!1;return t(this).one(n.TRANSITION_END,function(){r=!0}),setTimeout(function(){r||n.triggerTransitionEnd(i)},e),this}var s="transitionend",n={TRANSITION_END:"bsTransitionEnd",getUID:function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");e&&"#"!==e||(e=t.getAttribute("href")||"");try{return document.querySelector(e)?e:null}catch(t){return null}},getTransitionDurationFromElement:function(e){if(!e)return 0;var i=t(e).css("transition-duration");return parseFloat(i)?(i=i.split(",")[0],1e3*parseFloat(i)):0},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(e){t(e).trigger(s)},supportsTransitionEnd:function(){return Boolean(s)},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,i,r){for(var s in r)if(Object.prototype.hasOwnProperty.call(r,s)){var a=r[s],o=i[s],l=o&&n.isElement(o)?"element":e(o);if(!new RegExp(a).test(l))throw new Error(t.toUpperCase()+': Option "'+s+'" provided type "'+l+'" but expected type "'+a+'".')}}};return function(){t.fn.emulateTransitionEnd=r,t.event.special[n.TRANSITION_END]=i()}(),n}(e),mt=function(t){var e="alert",i=t.fn[e],s={DISMISS:'[data-dismiss="alert"]'},n={CLOSE:"close.bs.alert",CLOSED:"closed.bs.alert",CLICK_DATA_API:"click.bs.alert.data-api"},a={ALERT:"alert",FADE:"fade",SHOW:"show"},o=function(){function e(t){this._element=t}var i=e.prototype;return i.close=function(t){var e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},i.dispose=function(){t.removeData(this._element,"bs.alert"),this._element=null},i._getRootElement=function(e){var i=ut.getSelectorFromElement(e),r=!1;return i&&(r=document.querySelector(i)),r||(r=t(e).closest("."+a.ALERT)[0]),r},i._triggerCloseEvent=function(e){var i=t.Event(n.CLOSE);return t(e).trigger(i),i},i._removeElement=function(e){var i=this;if(t(e).removeClass(a.SHOW),!t(e).hasClass(a.FADE))return void this._destroyElement(e);var r=ut.getTransitionDurationFromElement(e);t(e).one(ut.TRANSITION_END,function(t){return i._destroyElement(e,t)}).emulateTransitionEnd(r)},i._destroyElement=function(e){t(e).detach().trigger(n.CLOSED).remove()},e._jQueryInterface=function(i){return this.each(function(){var r=t(this),s=r.data("bs.alert");s||(s=new e(this),r.data("bs.alert",s)),"close"===i&&s[i](this)})},e._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},r(e,null,[{key:"VERSION",get:function(){return"4.1.3"}}]),e}();return t(document).on(n.CLICK_DATA_API,s.DISMISS,o._handleDismiss(new o)),t.fn[e]=o._jQueryInterface,t.fn[e].Constructor=o,t.fn[e].noConflict=function(){return t.fn[e]=i,o._jQueryInterface},o}(e),gt=function(t){var e="button",i=t.fn[e],s={ACTIVE:"active",BUTTON:"bt
1n",FOCUS:"focus"},n={DATA_TOGGLE_CARROT:'[data-toggle^="button"]',DATA_TOGGLE:'[data-toggle="buttons"]',INPUT:"input",ACTIVE:".active",BUTTON:".btn"},a={CLICK_DATA_API:"click.bs.button.data-api",FOCUS_BLUR_DATA_API:"focus.bs.button.data-api blur.bs.button.data-api"},o=function(){function e(t){this._element=t}var i=e.prototype;return i.toggle=function(){var e=!0,i=!0,r=t(this._element).closest(n.DATA_TOGGLE)[0];if(r){var a=this._element.querySelector(n.INPUT);if(a){if("radio"===a.type)if(a.checked&&this._element.classList.contains(s.ACTIVE))e=!1;else{var o=r.querySelector(n.ACTIVE);o&&t(o).removeClass(s.ACTIVE)}if(e){if(a.hasAttribute("disabled")||r.hasAttribute("disabled")||a.classList.contains("disabled")||r.classList.contains("disabled"))return;a.checked=!this._element.classList.contains(s.ACTIVE),t(a).trigger("change")}a.focus(),i=!1}}i&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(s.ACTIVE)),e&&t(this._element).toggleClass(s.ACTIVE)},i.dispose=function(){t.removeData(this._element,"b
1s.button"),this._element=null},e._jQueryInterface=function(i){return this.each(function(){var r=t(this).data("bs.button");r||(r=new e(this),t(this).data("bs.button",r)),"toggle"===i&&r[i]()})},r(e,null,[{key:"VERSION",get:function(){return"4.1.3"}}]),e}();return t(document).on(a.CLICK_DATA_API,n.DATA_TOGGLE_CARROT,function(e){e.preventDefault();var i=e.target;t(i).hasClass(s.BUTTON)||(i=t(i).closest(n.BUTTON)),o._jQueryInterface.call(t(i),"toggle")}).on(a.FOCUS_BLUR_DATA_API,n.DATA_TOGGLE_CARROT,function(e){var i=t(e.target).closest(n.BUTTON)[0];t(i).toggleClass(s.FOCUS,/^focus(in)?$/.test(e.type))}),t.fn[e]=o._jQueryInterface,t.fn[e].Constructor=o,t.fn[e].noConflict=function(){return t.fn[e]=i,o._jQueryInterface},o}(e),yt=(function(t){var e="carousel",i="bs.carousel",s="."+i,a=t.fn[e],o={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},l={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},h={NEXT:"next",PREV:"prev",LEFT:"left",RIGHT:"right"},p={SLIDE:"slide"+s,SLID:"slid"+s,KEYDOWN:"keydown"+s,MOUSEENTER:"mouseenter"+s,MOUSELEAVE:"mouseleave"+s,TOUCHEND:"touchend"+s,LOAD_DATA_API:"load.bs.carousel.data-api",CLICK_DATA_API:"click.bs.carousel.data-api"},c={CAROUSEL:"carousel",ACTIVE:"active",SLIDE:"slide",RIGHT:"carousel-item-right",LEFT:"carousel-item-left",NEXT:"carousel-item-next",PREV:"carousel-item-prev",ITEM:"carousel-item"},f={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},d=function(){function a(e,i){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this._config=this._getConfig(i),this._element=t(e)[0],this._indicatorsElement=this._element.querySelector(f.INDICATORS),this._addEventListeners()}var d=a.prototype;return d.next=function(){this._isSliding||this._slide(h.NEXT)},d.nextWhenVisible=function(){!document.hidden&&t(this._element).is(":visible")&&"hidden"!==t(this._element).css("visibility")&&this.next()},d.prev=function(){this._isSliding||this._slide(h.PREV)},d.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(f.NEXT_PREV)&&(ut.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},d.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},d.to=function(e){var i=this;this._activeElement=this._element.querySelector(f.ACTIVE_ITEM);var r=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0)){if(this._isSliding)return void t(this._element).one(p.SLID,function(){return i.to(e)});if(r===e)return this.pause(),void this.cycle();var s=e>r?h.NEXT:h.PREV;this._slide(s,this._items[e])}},d.dispose=function(){t(this._element).off(s),t.removeData(this._element,i),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},d._getConfig=function(t){return t=n({},o,t),ut.typeCheckConfig(e,t,l),t},d._addEventListeners=function(){var e=this;this._config.keyboard&&t(this._element).on(p.KEYDOWN,function(t){return e._keydown(t)}),"hover"===this._config.pause&&(t(this._element).on(p.MOUSEENTER,function(t){return e.pause(t)}).on(p.MOUSELEAVE,function(t){return e.cycle(t)}),"ontouchstart"in document.documentElement&&t(this._element).on(p.TOUCHEND,function(){e.pause(),e.touchTimeout&&clearTimeout(e.touchTimeout),e.touchTimeout=setTimeout(function(t){return e.cycle(t)},500+e._config.interval)}))},d._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},d._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(f.ITEM)):[],this._items.indexOf(t)},d._getItemByDirection=function(t,e){var i=t===h.NEXT,r=t===h.PREV,s=this._getItemIndex(e),n=this._items.length-1;if((r&&0===s||i&&s===n)&&!this._config.wrap)return e;var a=t===h.PREV?-1:1,o=(s+a)%this._items.length;return-1===o?this._items[this._items.length-1]:this._items[o]},d._triggerSlideEvent=function(e,i){var r=this._getItemIndex(e),s=this._getItemIndex(this._element.querySelector(f.ACTIVE_ITEM)),n=t.Event(p.SLIDE,{relatedTarget:e,direction:i,from:s,to:r});return t(this._element).trigger(n),n},d._setActiveIndicatorElement=function(e){if(this._indicatorsElement){var i=[].slice.call(this._indicatorsElement.querySelectorAll(f.ACTIVE));t(i).removeClass(c.ACTIVE);var r=this._indicatorsElement.children[this._getItemIndex(e)];r&&t(r).addClass(c.ACTIVE)}},d._slide=function(e,i){var r,s,n,a=this,o=this._element.querySelector(f.ACTIVE_ITEM),l=this._getItemIndex(o),d=i||o&&this._getItemByDirection(e,o),u=this._getItemIndex(d),m=Boolean(this._interval);if(e===h.NEXT?(r=c.LEFT,s=c.NEXT,n=h.LEFT):(r=c.RIGHT,s=c.PREV,n=h.RIGHT),d&&t(d).hasClass(c.ACTIVE))return void(this._isSliding=!1);if(!this._triggerSlideEvent(d,n).isDefaultPrevented()&&o&&d){this._isSliding=!0,m&&this.pause(),this._setActiveIndicatorElement(d);var g=t.Event(p.SLID,{relatedTarget:d,direction:n,from:l,to:u});if(t(this._element).hasClass(c.SLIDE)){t(d).addClass(s),ut.reflow(d),t(o).addClass(r),t(d).addClass(r);var y=ut.getTransitionDurationFromElement(o);t(o).one(ut.TRANSITION_END,function(){t(d).removeClass(r+" "+s).addClass(c.ACTIVE),t(o).removeClass(c.ACTIVE+" "+s+" "+r),a._isSliding=!1,setTimeout(function(){return t(a._element).trigger(g)},0)}).emulateTransitionEnd(y)}else t(o).removeClass(c.ACTIVE),t(d).addClass(c.ACTIVE),this._isSliding=!1,t(this._element).trigger(g);m&&this.cycle()}},a._jQueryInterface=function(e){return this.each(function(){var r=t(this).data(i),s=n({},o,t(this).data());"object"==typeof e&&(s=n({},s,e));var l="string"==typeof e?e:s.slide;if(r||(r=new a(this,s),t(this).data(i,r)),"number"==typeof e)r.to(e);else if("string"==typeof l){if(void 0===r[l])throw new TypeError('No method n
1amed "'+l+'"');r[l]()}else s.interval&&(r.pause(),r.cycle())})},a._dataApiClickHandler=function(e){var r=ut.getSelectorFromElement(this);if(r){var s=t(r)[0];if(s&&t(s).hasClass(c.CAROUSEL)){var o=n({},t(s).data(),t(this).data()),l=this.getAttribute("data-slide-to");l&&(o.interval=!1),a._jQueryInterface.call(t(s),o),l&&t(s).data(i).to(l),e.preventDefault()}}},r(a,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return o}}]),a}();return t(document).on(p.CLICK_DATA_API,f.DATA_SLIDE,d._dataApiClickHandler),t(window).on(p.LOAD_DATA_API,function(){for(var e=[].slice.call(document.querySelectorAll(f.DATA_RIDE)),i=0,r=e.length;i<r;i++){var s=t(e[i]);d._jQueryInterface.call(s,s.data())}}),t.fn[e]=d._jQueryInterface,t.fn[e].Constructor=d,t.fn[e].noConflict=function(){return t.fn[e]=a,d._jQueryInterface},d}(e)),vt=function(t){var e="collapse",i="bs.collapse",s=t.fn[e],a={toggle:!0,parent:""},o={toggle:"boolean",parent:"(string|element)"},l={SHOW:"show.bs.collapse",SHOWN:"shown.bs.collapse",HIDE:"hide.bs.collapse",HIDDEN:"hidden.bs.collapse",CLICK_DATA_API:"click.bs.collapse.data-api"},h={SHOW:"show",COLLAPSE:"collapse",COLLAPSING:"collapsing",COLLAPSED:"collapsed"},p={WIDTH:"width",HEIGHT:"height"},c={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},f=function(){function s(e,i){this._isTransitioning=!1,this._element=e,this._config=this._getConfig(i),this._triggerArray=t.makeArray(document.querySelectorAll('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'));for(var r=[].slice.call(document.querySelectorAll(c.DATA_TOGGLE)),s=0,n=r.length;s<n;s++){var a=r[s],o=ut.getSelectorFromElement(a),l=[].slice.call(document.querySelectorAll(o)).filter(function(t){return t===e});null!==o&&l.length>0&&(this._selector=o,this._triggerArray.push(a))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var f=s.prototype;return f.toggle=function(){t(this._element).hasClass(h.SHOW)?this.hide():this.show()},f.show=function(){var e=this;if(!this._isTransitioning&&!t(this._element).hasClass(h.SHOW)){var r,n;if(this._parent&&(r=[].slice.call(this._parent.querySelectorAll(c.ACTIVES)).filter(function(t){return t.getAttribute("data-parent")===e._config.parent}),0===r.length&&(r=null)),!(r&&(n=t(r).not(this._selector).data(i))&&n._isTransitioning)){var a=t.Event(l.SHOW);if(t(this._element).trigger(a),!a.isDefaultPrevented()){r&&(s._jQueryInterface.call(t(r).not(this._selector),"hide"),n||t(r).data(i,null));var o=this._getDimension();t(this._element).removeClass(h.COLLAPSE).addClass(h.COLLAPSING),this._element.style[o]=0,this._triggerArray.length&&t(this._triggerArray).removeClass(h.COLLAPSED).attr("aria-expanded",!0),this.setTransitioning(!0);var p=function(){t(e._element).removeClass(h.COLLAPSING).addClass(h.COLLAPSE).addClass(h.SHOW),e._element.style[o]="",e.setTransitioning(!1),t(e._element).trigger(l.SHOWN)},f=o[0].toUpperCase()+o.slice(1),d="scroll"+f,u=ut.getTransitionDurationFromElement(this._element);t(this._element).one(ut.TRANSITION_END,p).emulateTransitionEnd(u),this._element.style[o]=this._element[d]+"px"}}}},f.hide=function(){var e=this;if(!this._isTransitioning&&t(this._element).hasClass(h.SHOW)){var i=t.Event(l.HIDE);if(t(this._element).trigger(i),!i.isDefaultPrevented()){var r=this._getDimension();this._element.style[r]=this._element.getBoundingClientRect()[r]+"px",ut.reflow(this._element),t(this._element).addClass(h.COLLAPSING).removeClass(h.COLLAPSE).removeClass(h.SHOW);var s=this._triggerArray.length;if(s>0)for(var n=0;n<s;n++){ 2var a=this._triggerArray[n],o=ut.getSelectorFromElement(a);if(null!==o){var p=t([].slice.call(document.querySelectorAll(o)));p.hasClass(h.SHOW)||t(a).addClass(h.COLLAPSED).attr("aria-expanded",!1)}}this.setTransitioning(!0);var c=function(){e.setTransitioning(!1),t(e._element).removeClass(h.COLLAPSING).addClass(h.COLLAPSE).trigger(l.HIDDEN)};this._element.style[r]="";var f=ut.getTransitionDurationFromElement(this._element);t(this._element).one(ut.TRANSITION_END,c).emulateTransitionEnd(f)}}},f.setTransitioning=function(t){this._isTransitioning=t},f.dispose=function(){t.removeData(this._element,i),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},f._getConfig=function(t){return t=n({}
2,a,t),t.toggle=Boolean(t.toggle),ut.typeCheckConfig(e,t,o),t},f._getDimension=function(){return t(this._element).hasClass(p.WIDTH)?p.WIDTH:p.HEIGHT},f._getParent=function(){var e=this,i=null;ut.isElement(this._config.parent)?(i=this._config.parent,void 0!==this._config.parent.jquery&&(i=this._config.parent[0])):i=document.querySelector(this._config.parent);var r='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',n=[].slice.call(i.querySelectorAll(r));return t(n).each(function(t,i){e._addAriaAndCollapsedClass(s._getTargetFromElement(i),[i])}),i},f._addAriaAndCollapsedClass=function(e,i){if(e){var r=t(e).hasClass(h.SHOW);i.length&&t(i).toggleClass(h.COLLAPSED,!r).attr("aria-expanded",r)}},s._getTargetFromElement=function(t){var e=ut.getSelectorFromElement(t);return e?document.querySelector(e):null},s._jQueryInterface=function(e){return this.each(function(){var r=t(this),o=r.data(i),l=n({},a,r.data(),"object"==typeof e&&e?e:{});if(!o&&l.toggle&&/show|hide/.test(e)&&(l.toggle=!1),o||(o=new s(this,l),r.data(i,o)),"string"==typeof e){if(void 0===o[e])throw new TypeError('No method named "'+e+'"');o[e]()}})},r(s,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return a}}]),s}();return t(document).on(l.CLICK_DATA_API,c.DATA_TOGGLE,function(e){"A"===e.currentTarget.tagName&&e.preventDefault();var r=t(this),s=ut.getSelectorFromElement(this),n=[].slice.call(document.querySelectorAll(s));t(n).each(function(){var e=t(this),s=e.data(i),n=s?"toggle":r.data();f._jQueryInterface.call(e,n)})}),t.fn[e]=f._jQueryInterface,t.fn[e].Constructor=f,t.fn[e].noConflict=function(){return t.fn[e]=s,f._jQueryInterface},f}(e),bt="undefined"!=typeof window&&"undefined"!=typeof document,Et=["Edge","Trident","Firefox"],_t=0,St=0;St<Et.length;St+=1)if(bt&&navigator.userAgent.indexOf(Et[St])>=0){_t=1;break}var Ct=bt&&window.Promise,xt=Ct?o:l,Pt=bt&&!(!window.MSInputMethodContext||!document.documentMode),Tt=bt&&/MSIE 10/.test(navigator.userAgent),At=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},Dt=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}}(),wt=function(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t},kt=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},It=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Mt=It.slice(3),Ft={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"},Lt={shift:{order:100,enabled:!0,fn:ct},offset:{order:200,enabled:!0,fn:ht,offset:0},preventOverflow:{order:300,enabled:!0,fn:pt,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:at},arrow:{order:500,enabled:!0,fn:it,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:nt,behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:dt},hide:{order:800,enabled:!0,fn:ft},computeStyle:{order:850,enabled:!0,fn:tt,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:J,onLoad:Z,gpuAcceleration:void 0}},Rt={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:Lt},Ot=function(){function t(e,i){var r=this,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};At(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=xt(this.update.bind(this)),this.options=kt({},t.Defaults,s),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=i&&i.jquery?i[0]:i,this.options.modifiers={},Object.keys(kt({}
2,t.Defaults.modifiers,s.modifiers)).forEach(function(e){r.options.modifiers[e]=kt({},t.Defaults.modifiers[e]||{},s.modifiers?s.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return kt({name:t},r.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&h(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)}),this.update();var n=this.options.eventsEnabled;n&&this.enableEventListeners(),this.state.eventsEnabled=n}return Dt(t,[{key:"update",value:function(){return N.call(this)}},{key:"destroy",value:function(){return H.call(this)}},{key:"enableEventListeners",value:function(){return U.call(this)}},{key:"disableEventListeners",value:function(){return K.call(this)}}]),t}();Ot.Utils=("undefined"!=typeof window?window:global).PopperUtils,Ot.placements=It,Ot.Defaults=Rt;var Vt=function(t){var e="dropdown",i="bs.dropdown",s="."+i,a=t.fn[e],o=new RegExp("38|40|27"),l={HIDE:"hide"+s,HIDDEN:"hidden"+s,SHOW:"show"+s,SHOWN:"shown"+s,CLICK:"click"+s,CLICK_DATA_API:"click.bs.dropdown.data-api",KEYDOWN_DATA_API:"keydown.bs.dropdown.data-api",KEYUP_DATA_API:"keyup.bs.dropdown.data-api"},h={DISABLED:"disabled",SHOW:"show",DROPUP:"dropup",DROPRIGHT:"dropright",DROPLEFT:"dropleft",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",POSITION_STATIC:"position-static"},p={DATA_TOGGLE:'[data-toggle="dropdown"]',FORM_CHILD:".dropdown form",MENU:".dropdown-menu",NAVBAR_NAV:".navbar-nav",VISIBLE_ITEMS:".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)"},c={TOP:"top-start",TOPEND:"top-end",BOTTOM:"bottom-start",BOTTOMEND:"bottom-end",RIGHT:"right-start",RIGHTEND:"right-end",LEFT:"left-start",LEFTEND:"left-end"},f={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},d={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},u=function(){function a(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var u=a.prototype;return u.toggle=function(){if(!this._element.disabled&&!t(this._element).hasClass(h.DISABLED)){var e=a._getParentFromElement(this._element),i=t(this._menu).hasClass(h.SHOW);if(a._clearMenus(),!i){var r={relatedTarget:this._element},s=t.Event(l.SHOW,r);if(t(e).trigger(s),!s.isDefaultPrevented()){if(!this._inNavbar){if(void 0===Ot)throw new TypeError("Bootstrap dropdown require Popper.js (https://popper.js.org)");var n=this._element;"parent"===this._config.reference?n=e:ut.isElement(this._config.reference)&&(n=this._config.reference,void 0!==this._config.reference.jquery&&(n=this._config.reference[0])),"scrollParent"!==this._config.boundary&&t(e).addClass(h.POSITION_STATIC),this._popper=new Ot(n,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===t(e).closest(p.NAVBAR_NAV).length&&t(document.body).children().on("mouseover",null,t.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),t(this._menu).toggleClass(h.SHOW),t(e).toggleClass(h.SHOW).trigger(t.Event(l.SHOWN,r))}}}},u.dispose=function(){t.removeData(this._element,i),t(this._element).off(s),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},u.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},u._addEventListeners=function(){var e=this;t(this._element).on(l.CLICK,function(t){t.preventDefault(),t.stopPropagation(),e.toggle()})},u._getConfig=function(i){return i=n({},this.constructor.Default,t(this._element).data(),i),ut.typeCheckConfig(e,i,this.constructor.DefaultType),i},u._getMenuElement=function(){if(!this._menu){var t=a._getParentFromElement(this._element);t&&(this._menu=t.querySelector(p.MENU))}return this._menu},u._getPlacement=function(){var e=t(this._element.parentNode),i=c.BOTTOM;return e.hasClass(h.DROPUP)?(i=c.TOP,t(this._menu).hasClass(h.MENURIGHT)&&(i=c.TOPEND)):e.hasClass(h.DROPRIGHT)?i=c.RIGHT:e.hasClass(h.DROPLEFT)?i=c.LEFT:t(this._menu).hasClass(h.MENURIGHT)&&(i=c.BOTTOMEND),i}
2,u._detectNavbar=function(){return t(this._element).closest(".navbar").length>0},u._getPopperConfig=function(){var t=this,e={};"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=n({},e.offsets,t._config.offset(e.offsets)||{}),e}:e.offset=this._config.offset;var i={placement:this._getPlacement(),modifiers:{offset:e,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(i.modifiers.applyStyle={enabled:!1}),i},a._jQueryInterface=function(e){return this.each(function(){var r=t(this).data(i),s="object"==typeof e?e:null;if(r||(r=new a(this,s),t(this).data(i,r)),"string"==typeof e){if(void 0===r[e])throw new TypeError('No method named "'+e+'"');r[e]()}})},a._clearMenus=function(e){if(!e||3!==e.which&&("keyup"!==e.type||9===e.which))for(var r=[].slice.call(document.querySelectorAll(p.DATA_TOGGLE)),s=0,n=r.length;s<n;s++){var o=a._getParentFromElement(r[s]),c=t(r[s]).data(i),f={relatedTarget:r[s]};if(e&&"click"===e.type&&(f.clickEvent=e),c){var d=c._menu;if(t(o).hasClass(h.SHOW)&&!(e&&("click"===e.type&&/input|textarea/i.test(e.target.tagName)||"keyup"===e.type&&9===e.which)&&t.contains(o,e.target))){var u=t.Event(l.HIDE,f);t(o).trigger(u),u.isDefaultPrevented()||("ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),r[s].setAttribute("aria-expanded","false"),t(d).removeClass(h.SHOW),t(o).removeClass(h.SHOW).trigger(t.Event(l.HIDDEN,f)))}}}},a._getParentFromElement=function(t){var e,i=ut.getSelectorFromElement(t);return i&&(e=document.querySelector(i)),e||t.parentNode},a._dataApiKeydownHandler=function(e){if((/input|textarea/i.test(e.target.tagName)?!(32===e.which||27!==e.which&&(40!==e.which&&38!==e.which||t(e.target).closest(p.MENU).length)):o.test(e.which))&&(e.preventDefault(),e.stopPropagation(),!this.disabled&&!t(this).hasClass(h.DISABLED))){var i=a._getParentFromElement(this),r=t(i).hasClass(h.SHOW);if(!r&&(27!==e.which||32!==e.which)||r&&(27===e.which||32===e.which)){if(27===e.which){var s=i.querySelector(p.DATA_TOGGLE);t(s).trigger("focus")}return void t(this).trigger("click")}var n=[].slice.call(i.querySelectorAll(p.VISIBLE_ITEMS));if(0!==n.length){var l=n.indexOf(e.target);38===e.which&&l>0&&l--,40===e.which&&l<n.length-1&&l++,l<0&&(l=0),n[l].focus()}}},r(a,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return f}},{key:"DefaultType",get:function(){return d}}]),a}();return t(document).on(l.KEYDOWN_DATA_API,p.DATA_TOGGLE,u._dataApiKeydownHandler).on(l.KEYDOWN_DATA_API,p.MENU,u._dataApiKeydownHandler).on(l.CLICK_DATA_API+" "+l.KEYUP_DATA_API,u._clearMenus).on(l.CLICK_DATA_API,p.DATA_TOGGLE,function(e){e.preventDefault(),e.stopPropagation(),u._jQueryInterface.call(t(this),"toggle")}).on(l.CLICK_DATA_API,p.FORM_CHILD,function(t){t.stopPropagation()}),t.fn[e]=u._jQueryInterface,t.fn[e].Constructor=u,t.fn[e].noConflict=function(){return t.fn[e]=a,u._jQueryInterface},u}(e),Bt=function(t){var e="modal",i=".bs.modal",s=t.fn[e],a={backdrop:!0,keyboard:!0,focus:!0,show:!0},o={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},l={HIDE:"hide.bs.modal",HIDDEN:"hidden.bs.modal",SHOW:"show.bs.modal",SHOWN:"shown.bs.modal",FOCUSIN:"focusin.bs.modal",RESIZE:"resize.bs.modal",CLICK_DISMISS:"click.dismiss.bs.modal",KEYDOWN_DISMISS:"keydown.dismiss.bs.modal",MOUSEUP_DISMISS:"mouseup.dismiss.bs.modal",MOUSEDOWN_DISMISS:"mousedown.dismiss.bs.modal",CLICK_DATA_API:"click.bs.modal.data-api"},h={SCROLLBAR_MEASURER:"modal-scrollbar-measure",BACKDROP:"modal-backdrop",OPEN:"modal-open",FADE:"fade",SHOW:"show"},p={DIALOG:".modal-dialog",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top"},c=function(){function s(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=t.querySelector(p.DIALOG),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._scrollbarWidth=0}var c=s.prototype;return c.toggle=function(t){return this._isShown?this.hide():this.show(t)},c.show=function(e){var i=this;if(!this._isTransitioning&&!this._isShown){t(this._element).hasClass(h.FADE)&&(this._isTransitioning=!0);var r=t.Event(l.SHOW,{relatedTarget:e});t(this._element).trigger(r),this._isShown||r.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),t(document.body).addClass(h.OPEN),this._setEscapeEvent(),this._setResizeEvent(),t(this._element).on(l.CLICK_DISMISS,p.DATA_DISMISS,function(t){return i.hide(t)}),t(this._dialog).on(l.MOUSEDOWN_DISMISS,function(){t(i._element).one(l.MOUSEUP_DISMISS,function(e){t(e.target).is(i._element)&&(i._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return i._showElement(e)}))}},c.hide=function(e){var i=this;if(e&&e.preventDefault(),!this._isTransitioning&&this._isShown){var r=t.Event(l.HIDE);if(t(this._element).trigger(r),this._isShown&&!r.isDefaultPrevented()){this._isShown=!1;var s=t(this._element).hasClass(h.FADE);if(s&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),t(document).off(l.FOCUSIN),t(this._element).removeClass(h.SHOW),t(this._element).off(l.CLICK_DISMISS),t(this._dialog).off(l.MOUSEDOWN_DISMISS),s){var n=ut.getTransitionDurationFromElement(this._element);t(this._element).one(ut.TRANSITION_END,function(t){return i._hideModal(t)}).emulateTransitionEnd(n)}else this._hideModal()}}}
2,c.dispose=function(){t.removeData(this._element,"bs.modal"),t(window,document,this._element,this._backdrop).off(i),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._scrollbarWidth=null},c.handleUpdate=function(){this._adjustDialog()},c._getConfig=function(t){return t=n({},a,t),ut.typeCheckConfig(e,t,o),t},c._showElement=function(e){var i=this,r=t(this._element).hasClass(h.FADE);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.scrollTop=0,r&&ut.reflow(this._element),t(this._element).addClass(h.SHOW),this._config.focus&&this._enforceFocus();var s=t.Event(l.SHOWN,{relatedTarget:e}),n=function(){i._config.focus&&i._element.focus(),i._isTransitioning=!1,t(i._element).trigger(s)};if(r){var a=ut.getTransitionDurationFromElement(this._element);t(this._dialog).one(ut.TRANSITION_END,n).emulateTransitionEnd(a)}else n()},c._enforceFocus=function(){var e=this;t(document).off(l.FOCUSIN).on(l.FOCUSIN,function(i){document!==i.target&&e._element!==i.target&&0===t(e._element).has(i.target).length&&e._element.focus()})},c._setEscapeEvent=function(){var e=this;this._isShown&&this._config.keyboard?t(this._element).on(l.KEYDOWN_DISMISS,function(t){27===t.which&&(t.preventDefault(),e.hide())}):this._isShown||t(this._element).off(l.KEYDOWN_DISMISS)},c._setResizeEvent=function(){var e=this;this._isShown?t(window).on(l.RESIZE,function(t){return e.handleUpdate(t)}):t(window).off(l.RESIZE)},c._hideModal=function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._isTransitioning=!1,this._showBackdrop(function(){t(document.body).removeClass(h.OPEN),e._resetAdjustments(),e._resetScrollbar(),t(e._element).trigger(l.HIDDEN)})},c._removeBackdrop=function(){this._backdrop&&(t(this._backdrop).remove(),this._backdrop=null)},c._showBackdrop=function(e){var i=this,r=t(this._element).hasClass(h.FADE)?h.FADE:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=h.BACKDROP,r&&this._backdrop.classList.add(r),t(this._backdrop).appendTo(document.body),t(this._element).on(l.CLICK_DISMISS,function(t){if(i._ignoreBackdropClick)return void(i._ignoreBackdropClick=!1);t.target===t.currentTarget&&("static"===i._config.backdrop?i._element.focus():i.hide())}),r&&ut.reflow(this._backdrop),t(this._backdrop).addClass(h.SHOW),!e)return;if(!r)return void e();var s=ut.getTransitionDurationFromElement(this._backdrop);t(this._backdrop).one(ut.TRANSITION_END,e).emulateTransitionEnd(s)}else if(!this._isShown&&this._backdrop){t(this._backdrop).removeClass(h.SHOW);var n=function(){i._removeBackdrop(),e&&e()};if(t(this._element).hasClass(h.FADE)){var a=ut.getTransitionDurationFromElement(this._backdrop);t(this._backdrop).one(ut.TRANSITION_END,n).emulateTransitionEnd(a)}else n()}else e&&e()},c._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},c._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},c._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},c._setScrollbar=function(){var e=this;if(this._isBodyOverflowing){var i=[].slice.call(document.querySelectorAll(p.FIXED_CONTENT)),r=[].slice.call(document.querySelectorAll(p.STICKY_CONTENT));t(i).each(function(i,r){var s=r.style.paddingRight,n=t(r).css("padding-right");t(r).data("padding-right",s).css("padding-right",parseFloat(n)+e._scrollbarWidth+"px")}),t(r).each(function(i,r){var s=r.style.marginRight,n=t(r).css("margin-right");t(r).data("margin-right",s).css("margin-right",parseFloat(n)-e._scrollbarWidth+"px")});var s=document.body.style.paddingRight,n=t(document.body).css("padding-right");t(document.body).data("padding-right",s).css("padding-right",parseFloat(n)+this._scrollbarWidth+"px")}},c._resetScrollbar=function(){var e=[].slice.call(document.querySelectorAll(p.FIXED_CONTENT));t(e).each(function(e,i){var r=t(i).data("padding-right");t(i).removeData("padding-right"),i.style.paddingRight=r||""});var i=[].slice.call(document.querySelectorAll(""+p.STICKY_CONTENT));t(i).each(function(e,i){var r=t(i).data("margin-right");void 0!==r&&t(i).css("margin-right",r).removeData("margin-right")});var r=t(document.body).data("padding-right");t(document.body).removeData("padding-right"),document.body.style.paddingRight=r||""},c._getScrollbarWidth=function(){var t=document.createElement("div");t.className=h.SCROLLBAR_MEASURER,document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},s._jQueryInterface=function(e,i){return this.each(function(){var r=t(this).data("bs.modal"),o=n({},a,t(this).data(),"object"==typeof e&&e?e:{});if(r||(r=new s(this,o),t(this).data("bs.modal",r)),"string"==typeof e){if(void 0===r[e])throw new TypeError('No method n
2amed "'+e+'"');r[e](i)}else o.show&&r.show(i)})},r(s,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return a}}]),s}();return t(document).on(l.CLICK_DATA_API,p.DATA_TOGGLE,function(e){var i,r=this,s=ut.getSelectorFromElement(this);s&&(i=document.querySelector(s));var a=t(i).data("bs.modal")?"toggle":n({},t(i).data(),t(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||e.preventDefault();var o=t(i).one(l.SHOW,function(e){e.isDefaultPrevented()||o.one(l.HIDDEN,function(){t(r).is(":visible")&&r.focus()})});c._jQueryInterface.call(t(i),a,this)}),t.fn[e]=c._jQueryInterface,t.fn[e].Constructor=c,t.fn[e].noConflict=function(){return t.fn[e]=s,c._jQueryInterface},c}(e),Nt=function(t){var e="tooltip",i=".bs.tooltip",s=t.fn[e],a=new RegExp("(^|\\s)bs-tooltip\\S+","g"),o={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)"},l={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},h={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},p={SHOW:"show",OUT:"out"},c={HIDE:"hide"+i,HIDDEN:"hidden"+i,SHOW:"show"+i,SHOWN:"shown"+i,INSERTED:"inserted"+i,CLICK:"click"+i,FOCUSIN:"focusin"+i,FOCUSOUT:"focusout"+i,MOUSEENTER:"mouseenter"+i,MOUSELEAVE:"mouseleave"+i},f={FADE:"fade",SHOW:"show"},d={TOOLTIP:".tooltip",TOOLTIP_INNER:".tooltip-inner",ARROW:".arrow"},u={HOVER:"hover",FOCUS:"focus",CLICK:"click",MANUAL:"manual"},m=function(){function s(t,e){if(void 0===Ot)throw new TypeError("Bootstrap tooltips require Popper.js (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var m=s.prototype;return m.enable=function(){this._isEnabled=!0},m.disable=function(){this._isEnabled=!1},m.toggleEnabled=function(){this._isEnabled=!this._isEnabled},m.toggle=function(e){if(this._isEnabled)if(e){var i=this.constructor.DATA_KEY,r=t(e.currentTarget).data(i);r||(r=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(i,r)),r._activeTrigger.click=!r._activeTrigger.click,r._isWithActiveTrigger()?r._enter(null,r):r._leave(null,r)}else{if(t(this.getTipElement()).hasClass(f.SHOW))return void this._leave(null,this);this._enter(null,this)}},m.dispose=function(){clearTimeout(this._timeout),t.removeData(this.element,this.constructor.DATA_KEY),t(this.element).off(this.constructor.EVENT_KEY),t(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&t(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,null!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},m.show=function(){var e=this;if("none"===t(this.element).css("display"))throw new Error("Please use show on visible elements");var i=t.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){t(this.element).trigger(i);var r=t.contains(this.element.ownerDocument.documentElement,this.element);if(i.isDefaultPrevented()||!r)return;var s=this.getTipElement(),n=ut.getUID(this.constructor.NAME);s.setAttribute("id",n),this.element.setAttribute("aria-describedby",n),this.setContent(),this.config.animation&&t(s).addClass(f.FADE);var a="function"==typeof this.config.placement?this.config.placement.call(this,s,this.element):this.config.placement,o=this._getAttachment(a);this.addAttachmentClass(o);var l=!1===this.config.container?document.body:t(document).find(this.config.container);t(s).data(this.constructor.DATA_KEY,this),t.contains(this.element.ownerDocument.documentElement,this.tip)||t(s).appendTo(l),t(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new Ot(this.element,s,{placement:o,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:d.ARROW}
2,preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){e._handlePopperPlacementChange(t)}}),t(s).addClass(f.SHOW),"ontouchstart"in document.documentElement&&t(document.body).children().on("mouseover",null,t.noop);var h=function(){e.config.animation&&e._fixTransition();var i=e._hoverState;e._hoverState=null,t(e.element).trigger(e.constructor.Event.SHOWN),i===p.OUT&&e._leave(null,e)};if(t(this.tip).hasClass(f.FADE)){var c=ut.getTransitionDurationFromElement(this.tip);t(this.tip).one(ut.TRANSITION_END,h).emulateTransitionEnd(c)}else h()}},m.hide=function(e){var i=this,r=this.getTipElement(),s=t.Event(this.constructor.Event.HIDE),n=function(){i._hoverState!==p.SHOW&&r.parentNode&&r.parentNode.removeChild(r),i._cleanTipClass(),i.element.removeAttribute("aria-describedby"),t(i.element).trigger(i.constructor.Event.HIDDEN),null!==i._popper&&i._popper.destroy(),e&&e()};if(t(this.element).trigger(s),!s.isDefaultPrevented()){if(t(r).removeClass(f.SHOW),"ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),this._activeTrigger[u.CLICK]=!1,this._activeTrigger[u.FOCUS]=!1,this._activeTrigger[u.HOVER]=!1,t(this.tip).hasClass(f.FADE)){var a=ut.getTransitionDurationFromElement(r);t(r).one(ut.TRANSITION_END,n).emulateTransitionEnd(a)}else n();this._hoverState=""}},m.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},m.isWithContent=function(){return Boolean(this.getTitle())},m.addAttachmentClass=function(e){t(this.getTipElement()).addClass("bs-tooltip-"+e)},m.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},m.setContent=function(){var e=this.getTipElement();this.setElementContent(t(e.querySelectorAll(d.TOOLTIP_INNER)),this.getTitle()),t(e).removeClass(f.FADE+" "+f.SHOW)},m.setElementContent=function(e,i){var r=this.config.html;"object"==typeof i&&(i.nodeType||i.jquery)?r?t(i).parent().is(e)||e.empty().append(i):e.text(t(i).text()):e[r?"html":"text"](i)},m.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},m._getAttachment=function(t){return l[t.toUpperCase()]},m._setListeners=function(){var e=this;this.config.trigger.split(" ").forEach(function(i){if("click"===i)t(e.element).on(e.constructor.Event.CLICK,e.config.selector,function(t){return e.toggle(t)});else if(i!==u.MANUAL){var r=i===u.HOVER?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,s=i===u.HOVER?e.constructor.Event.MOUSELEAVE:e.constructor.Event.FOCUSOUT;t(e.element).on(r,e.config.selector,function(t){return e._enter(t)}).on(s,e.config.selector,function(t){return e._leave(t)})}t(e.element).closest(".modal").on("hide.bs.modal",function(){return e.hide()})}),this.config.selector?this.config=n({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},m._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},m._enter=function(e,i){var r=this.constructor.DATA_KEY;return i=i||t(e.currentTarget).data(r),i||(i=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(r,i)),e&&(i._activeTrigger["focusin"===e.type?u.FOCUS:u.HOVER]=!0),t(i.getTipElement()).hasClass(f.SHOW)||i._hoverState===p.SHOW?void(i._hoverState=p.SHOW):(clearTimeout(i._timeout),i._hoverState=p.SHOW,i.config.delay&&i.config.delay.show?void(i._timeout=setTimeout(function(){i._hoverState===p.SHOW&&i.show()},i.config.delay.show)):void i.show())},m._leave=function(e,i){var r=this.constructor.DATA_KEY;if(i=i||t(e.currentTarget).data(r),i||(i=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(r,i)),e&&(i._activeTrigger["focusout"===e.type?u.FOCUS:u.HOVER]=!1),!i._isWithActiveTrigger()){if(clearTimeout(i._timeout),i._hoverState=p.OUT,!i.config.delay||!i.config.delay.hide)return void i.hide();i._timeout=setTimeout(function(){i._hoverState===p.OUT&&i.hide()},i.config.delay.hide)}},m._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},m._getConfig=function(i){return i=n({},this.constructor.Default,t(this.element).data(),"object"==typeof i&&i?i:{}),"number"==typeof i.delay&&(i.delay={show:i.delay,hide:i.delay}),"number"==typeof i.title&&(i.title=i.title.toString()),"number"==typeof i.content&&(i.content=i.content.toString()),ut.typeCheckConfig(e,i,this.constructor.DefaultType),i},m._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},m._cleanTipClass=function(){var e=t(this.getTipElement()),i=e.attr("class").match(a);null!==i&&i.length&&e.removeClass(i.join(""))},m._handlePopperPlacementChange=function(t){var e=t.instance;this.tip=e.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},m._fixTransition=function(){var e=this.getTipElement(),i=this.config.animation;null===e.getAttribute("x-placement")&&(t(e).removeClass(f.FADE),this.config.animation=!1,this.hide(),this.show(),this.config.animation=i)},s._jQueryInterface=function(e){return this.each(function(){var i=t(this).data("bs.tooltip"),r="object"==typeof e&&e;if((i||!/dispose|hide/.test(e))&&(i||(i=new s(this,r),t(this).data("bs.tooltip",i)),"string"==typeof e)){if(void 0===i[e])throw new TypeError('No method n
2amed "'+e+'"');i[e]()}})},r(s,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return h}},{key:"NAME",get:function(){return e}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return c}},{key:"EVENT_KEY",get:function(){return i}},{key:"DefaultType",get:function(){return o}}]),s}();return t.fn[e]=m._jQueryInterface,t.fn[e].Constructor=m,t.fn[e].noConflict=function(){return t.fn[e]=s,m._jQueryInterface},m}(e),zt=function(t){var e="popover",i=".bs.popover",s=t.fn[e],o=new RegExp("(^|\\s)bs-popover\\S+","g"),l=n({},Nt.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),h=n({},Nt.DefaultType,{content:"(string|element|function)"}),p={FADE:"fade",SHOW:"show"},c={TITLE:".popover-header",CONTENT:".popover-body"},f={HIDE:"hide"+i,HIDDEN:"hidden"+i,SHOW:"show"+i,SHOWN:"shown"+i,INSERTED:"inserted"+i,CLICK:"click"+i,FOCUSIN:"focusin"+i,FOCUSOUT:"focusout"+i,MOUSEENTER:"mouseenter"+i,MOUSELEAVE:"mouseleave"+i},d=function(s){function n(){return s.apply(this,arguments)||this}a(n,s);var d=n.prototype;return d.isWithContent=function(){return this.getTitle()||this._getContent()},d.addAttachmentClass=function(e){t(this.getTipElement()).addClass("bs-popover-"+e)},d.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},d.setContent=function(){var e=t(this.getTipElement());this.setElementContent(e.find(c.TITLE),this.getTitle());var i=this._getContent();"function"==typeof i&&(i=i.call(this.element)),this.setElementContent(e.find(c.CONTENT),i),e.removeClass(p.FADE+" "+p.SHOW)},d._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},d._cleanTipClass=function(){var e=t(this.getTipElement()),i=e.attr("class").match(o);null!==i&&i.length>0&&e.removeClass(i.join(""))},n._jQueryInterface=function(e){return this.each(function(){var i=t(this).data("bs.popover"),r="object"==typeof e?e:null 3;if((i||!/destroy|hide/.test(e))&&(i||(i=new n(this,r),t(this).data("bs.popover",i)),"string"==typeof e)){if(void 0===i[e])throw new TypeError('No method named "'+e+'"');i[e]()}})},r(n,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return l}},{key:"NAME",get:function(){return e}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return f}},{key:"EVENT_KEY",get:function(){return i}},{key:"DefaultType",get:function(){return h}}]),n}(Nt);return t.fn[e]=d._jQueryInterface,t.fn[e].Constructor=d,t.fn[e].noConflict=function(){return t.fn[e]=s,d._jQueryInterface},d}(e),Gt=function(t){var e="scrollspy",i=t.fn[e],s={offset:10,method:"auto",target:""},a={offset:"number",method:"string",target:"(string|element)"},o={ACTIVATE:"activate.bs.scrollspy",SCROLL:"scroll.bs.scrollspy",LOAD_DATA_API:"load.bs.scrollspy.data-api"},l={DROPDOWN_ITEM:"dropdown-item",DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active"},h={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",NAV_LIST_GROUP:".nav, .list-group",NAV_LINKS:".nav-link",NAV_ITEMS:".nav-item",LIST_ITEMS:".list-group-item",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},p={OFFSET:"offset",POSITION:"position"},c=function(){function i(e,i){var r=this;this._element=e,this._scrollElement="BODY"===e.tagName?window:e,this._config=this._getConfig(i),this._selector=this._config.target+" "+h.NAV_LINKS+","+this._config.target+" "+h.LIST_ITEMS+","+this._config.target+" "+h.DROPDOWN_ITEMS,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,t(this._scrollElement).on(o.SCROLL,function(t){return r._process(t)}),this.refresh(),this._process()}var c=i.prototype;return c.refresh=function(){var e=this,i=this._scrollElement===this._scrollElement.window?p.OFFSET:p.POSITION,r="auto"===this._config.method?i:this._config.method,s=r===p.POSITION?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(function(e){var i,n=ut.getSelectorFromElement(e);
3if(n&&(i=document.querySelector(n)),i){var a=i.getBoundingClientRect();if(a.width||a.height)return[t(i)[r]().top+s,n]}return null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).forEach(function(t){e._offsets.push(t[0]),e._targets.push(t[1])})},c.dispose=function(){t.removeData(this._element,"bs.scrollspy"),t(this._scrollElement).off(".bs.scrollspy"),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},c._getConfig=function(i){if(i=n({},s,"object"==typeof i&&i?i:{}),"string"!=typeof i.target){var r=t(i.target).attr("id");r||(r=ut.getUID(e),t(i.target).attr("id",r)),i.target="#"+r}return ut.typeCheckConfig(e,i,a),i},c._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},c._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},c._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},c._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),i=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=i){var r=this._targets[this._targets.length-1];return void(this._activeTarget!==r&&this._activate(r))}if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var s=this._offsets.length,n=s;n--;){this._activeTarget!==this._targets[n]&&t>=this._offsets[n]&&(void 0===this._offsets[n+1]||t<this._offsets[n+1])&&this._activate(this._targets[n])}},c._activate=function(e){this._activeTarget=e,this._clear();var i=this._selector.split(",");i=i.map(function(t){return t+'[data-target="'+e+'"],'+t+'[href="'+e+'"]'});var r=t([].slice.call(document.querySelectorAll(i.join(","))));r.hasClass(l.DROPDOWN_ITEM)?(r.closest(h.DROPDOWN).find(h.DROPDOWN_TOGGLE).addClass(l.ACTIVE),r.addClass(l.ACTIVE)):(r.addClass(l.ACTIVE),r.parents(h.NAV_LIST_GROUP).prev(h.NAV_LINKS+", "+h.LIST_ITEMS).addClass(l.ACTIVE),r.parents(h.NAV_LIST_GROUP).prev(h.NAV_ITEMS).children(h.NAV_LINKS).addClass(l.ACTIVE)),t(this._scrollElement).trigger(o.ACTIVATE,{relatedTarget:e})},c._clear=function(){var e=[].slice.call(document.querySelectorAll(this._selector));t(e).filter(h.ACTIVE).removeClass(l.ACTIVE)},i._jQueryInterface=function(e){return this.each(function(){var r=t(this).data("bs.scrollspy"),s="object"==typeof e&&e;if(r||(r=new i(this,s),t(this).data("bs.scrollspy",r)),"string"==typeof e){if(void 0===r[e])throw new TypeError('No method named "'+e+'"');r[e]()}})},r(i,null,[{key:"VERSION",get:function(){return"4.1.3"}},{key:"Default",get:function(){return s}}]),i}();return t(window).on(o.LOAD_DATA_API,function(){for(var e=[].slice.call(document.querySelectorAll(h.DATA_SPY)),i=e.length,r=i;r--;){var s=t(e[r]);c._jQueryInterface.call(s,s.data())}}),t.fn[e]=c._jQueryInterface,t.fn[e].Constructor=c,t.fn[e].noConflict=function(){return t.fn[e]=i,c._jQueryInterface},c}(e),Ht=function(t){var e=t.fn.tab,i={HIDE:"hide.bs.tab",HIDDEN:"hidden.bs.tab",SHOW:"show.bs.tab",SHOWN:"shown.bs.tab",CLICK_DATA_API:"click.bs.tab.data-api"},s={DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active",DISABLED:"disabled",FADE:"fade",SHOW:"show"},n={DROPDOWN:".dropdown",NAV_LIST_GROUP:".nav, .list-group",ACTIVE:".active",ACTIVE_UL:"> li > .active",DATA_TOGGLE:'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',DROPDOWN_TOGGLE:".dropdown-toggle",DROPDOWN_ACTIVE_CHILD:"> .dropdown-menu .active"},a=function(){function e(t){this._element=t}var a=e.prototype;return a.show=function(){var e=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&t(this._element).hasClass(s.ACTIVE)||t(this._element).hasClass(s.DISABLED))){var r,a,o=t(this._element).closest(n.NAV_LIST_GROUP)[0],l=ut.getSelectorFromElement(this._element);if(o){var h="UL"===o.nodeName?n.ACTIVE_UL:n.ACTIVE;
3a=t.makeArray(t(o).find(h)),a=a[a.length-1]}var p=t.Event(i.HIDE,{relatedTarget:this._element}),c=t.Event(i.SHOW,{relatedTarget:a});if(a&&t(a).trigger(p),t(this._element).trigger(c),!c.isDefaultPrevented()&&!p.isDefaultPrevented()){l&&(r=document.querySelector(l)),this._activate(this._element,o);var f=function(){var r=t.Event(i.HIDDEN,{relatedTarget:e._element}),s=t.Event(i.SHOWN,{relatedTarget:a});t(a).trigger(r),t(e._element).trigger(s)};r?this._activate(r,r.parentNode,f):f()}}},a.dispose=function(){t.removeData(this._element,"bs.tab"),this._element=null},a._activate=function(e,i,r){var a,o=this;a="UL"===i.nodeName?t(i).find(n.ACTIVE_UL):t(i).children(n.ACTIVE);var l=a[0],h=r&&l&&t(l).hasClass(s.FADE),p=function(){return o._transitionComplete(e,l,r)};if(l&&h){var c=ut.getTransitionDurationFromElement(l);t(l).one(ut.TRANSITION_END,p).emulateTransitionEnd(c)}else p()},a._transitionComplete=function(e,i,r){if(i){t(i).removeClass(s.SHOW+" "+s.ACTIVE);var a=t(i.parentNode).find(n.DROPDOWN_ACTIVE_CHILD)[0];a&&t(a).removeClass(s.ACTIVE),"tab"===i.getAttribute("role")&&i.setAttribute("aria-selected",!1)}if(t(e).addClass(s.ACTIVE),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),ut.reflow(e),t(e).addClass(s.SHOW),e.parentNode&&t(e.parentNode).hasClass(s.DROPDOWN_MENU)){var o=t(e).closest(n.DROPDOWN)[0];if(o){var l=[].slice.call(o.querySelectorAll(n.DROPDOWN_TOGGLE));t(l).addClass(s.ACTIVE)}e.setAttribute("aria-expanded",!0)}r&&r()},e._jQueryInterface=function(i){return this.each(function(){var r=t(this),s=r.data("bs.tab");if(s||(s=new e(this),r.data("bs.tab",s)),"string"==typeof i){if(void 0===s[i])throw new TypeError('No method named "'+i+'"');s[i]()}})},r(e,null,[{key:"VERSION",get:function(){return"4.1.3"}}]),e}();return t(document).on(i.CLICK_DATA_API,n.DATA_TOGGLE,function(e){e.preventDefault(),a._jQueryInterface.call(t(this),"show")}),t.fn.tab=a._jQueryInterface,t.fn.tab.Constructor=a,t.fn.tab.noConflict=function(){return t.fn.tab=e,a._jQueryInterface},a}(e);!function(t){if(void 0===t)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1===e[0]&&9===e[1]&&e[2]<1||e[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(e),t.Util=ut,t.Alert=mt,t.Button=gt,t.Carousel=yt,t.Collapse=vt,t.Dropdown=Vt,t.Modal=Bt,t.Popover=zt,t.Scrollspy=Gt,t.Tab=Ht,t.Tooltip=Nt,Object.defineProperty(t,"__esModule",{value:!0})});var objectFitImages=function(){"use strict";function t(t){for(var e,i=getComputedStyle(t).fontFamily,r={};null!==(e=o.exec(i));)r[e[1]]=e[2];return r}function e(e,r){var s=t(e);s["object-fit"]&&"fill"!==s["object-fit"]&&(r=r||e.currentSrc||e.src,e.srcset&&(e.srcset=""),e[a]||(e.src=a,i(e)),e[a]=e[a]||{s:r},e.style.backgroundImage="url("+r+")",e.style.backgroundPosition=s["object-position"]||"center",e.style.backgroundRepeat="no-repeat",s["object-fit"].indexOf("scale-down")<0?e.style.backgroundSize=s["object-fit"].replace("none","auto"):(e[a].i||(e[a].i=new Image,e[a].i.src=r),function t(){if(e[a].i.naturalWidth)return void(e[a].i.naturalWidth>e.width||e[a].i.naturalHeight>e.height?e.style.backgroundSize="contain":e.style.backgroundSize="auto");setTimeout(t,100)}()))}function i(t){var i={get:function(){return t[a].s},set:function(i){return delete t[a].i,e(t,i)}};Object.defineProperty(t,"src",i),Object.defineProperty(t,"currentSrc",{get:i.get})}function r(t){window.addEventListener("resize",n.bind(null,t))}function s(t){"IMG"===t.target.tagName&&e(t.target)}function n(t,i){if(l)return!1;var n=!h&&!t;i=i||{},t=t||"img","string"==typeof t?t=document.querySelectorAll("img"):t.length||(t=[t]);for(var a=0;a<t.length;a++)e(t[a]);n&&(document.body.addEventListener("load",s,!0),h=!0,t="img"),i.watchMQ&&r(t)}var a="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",o=/(object-fit|object-position)\s*:\s*([^;$"'\s]+)/g,l="object-fit"in document.createElement("i").style,h=!1;return n}();!function(t,e){var i=function(t,e){"use strict";if(e.getElementsByClassName){var i,r,s=e.documentElement,n=t.Date,a=t.HTMLPictureElement,o=t.addEventListener,l=t.setTimeout,h=t.requestAnimationFrame||l,p=t.requestIdleCallback,c=/^picture$/i,f=["load","error","lazyincluded","_lazyloaded"],d={},u=Array.prototype.forEach,m=function(t,e){return d[e]||(d[e]=new RegExp("(\\s|^)"+e+"(\\s|$)")),d[e].test(t.getAttribute("class")||"")&&d[e]},g=function(t,e){m(t,e)||t.setAttribute("class",(t.getAttribute("class")||"").trim()+" "+e)},y=function(t,e){var i;(i=m(t,e))&&t.setAttribute("class",(t.getAttribute("class")||"").replace(i," "))}
3,v=function(t,e,i){var r=i?"addEventListener":"removeEventListener";i&&v(t,e),f.forEach(function(i){t[r](i,e)})},b=function(t,r,s,n,a){var o=e.createEvent("Event");return s||(s={}),s.instance=i,o.initEvent(r,!n,!a),o.detail=s,t.dispatchEvent(o),o},E=function(e,i){var s;!a&&(s=t.picturefill||r.pf)?(i&&i.src&&!e.getAttribute("srcset")&&e.setAttribute("srcset",i.src),s({reevaluate:!0,elements:[e]})):i&&i.src&&(e.src=i.src)},_=function(t,e){return(getComputedStyle(t,null)||{})[e]},S=function(t,e,i){for(i=i||t.offsetWidth;i<r.minSize&&e&&!t._lazysizesWidth;)i=e.offsetWidth,e=e.parentNode;return i},C=function(){var t,i,r=[],s=[],n=r,a=function(){var e=n;for(n=r.length?s:r,t=!0,i=!1;e.length;)e.shift()();t=!1},o=function(r,s){t&&!s?r.apply(this,arguments):(n.push(r),i||(i=!0,(e.hidden?l:h)(a)))};return o._lsFlush=a,o}(),x=function(t,e){return e?function(){C(t)}:function(){var e=this,i=arguments;C(function(){t.apply(e,i)})}},P=function(t){var e,i=0,s=r.throttleDelay,a=r.ricTimeout,o=function(){e=!1,i=n.now(),t()},h=p&&a>49?function(){p(o,{timeout:a}),a!==r.ricTimeout&&(a=r.ricTimeout)}:x(function(){l(o)},!0);return function(t){var r;(t=!0===t)&&(a=33),e||(e=!0,r=s-(n.now()-i),r<0&&(r=0),t||r<9?h():l(h,r))}},T=function(t){var e,i,r=function(){e=null,t()},s=function(){var t=n.now()-i;t<99?l(s,99-t):(p||r)(r)};return function(){i=n.now(),e||(e=l(s,99))}};!function(){var e,i={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};r=t.lazySizesConfig||t.lazysizesConfig||{};for(e in i)e in r||(r[e]=i[e]);t.lazySizesConfig=r,l(function(){r.init&&w()})}();var A=function(){var a,h,p,f,d,S,A,w,k,I,M,F,L=/^img$/i,R=/^iframe$/i,O="onscroll"in t&&!/(gle|ing)bot/.test(navigator.userAgent),V=0,B=0,N=-1,z=function(t){B--,(!t||B<0||!t.target)&&(B=0)},G=function(t){return null==F&&(F="hidden"==_(e.body,"visibility")),F||"hidden"!=_(t.parentNode,"visibility")&&"hidden"!=_(t,"visibility")},H=function(t,i){var r,n=t,a=G(t);for(w-=i,M+=i,k-=i,I+=i;a&&(n=n.offsetParent)&&n!=e.body&&n!=s;)(a=(_(n,"opacity")||1)>0)&&"visible"!=_(n,"overflow")&&(r=n.getBoundingClientRect(),a=I>r.left&&k<r.right&&M>r.top-1&&w<r.bottom+1);return a},j=function(){var t,n,o,l,p,c,d,u,m,g,y,v,b=i.elements;if((f=r.loadMode)&&B<8&&(t=b.length)){for(n=0,N++,g=!r.expand||r.expand<1?s.clientHeight>500&&s.clientWidth>500?500:370:r.expand,i._defEx=g,y=g*r.expFactor,v=r.hFac,F=null,V<y&&B<1&&N>2&&f>2&&!e.hidden?(V=y,N=0):V=f>1&&N>1&&B<6?g:0;n<t;n++)if(b[n]&&!b[n]._lazyRace)if(O)if((u=b[n].getAttribute("data-expand"))&&(c=1*u)||(c=V),m!==c&&(S=innerWidth+c*v,A=innerHeight+c,d=-1*c,m=c),o=b[n].getBoundingClientRect(),(M=o.bottom)>=d&&(w=o.top)<=A&&(I=o.right)>=d*v&&(k=o.left)<=S&&(M||I||k||w)&&(r.loadHidden||G(b[n]))&&(h&&B<3&&!u&&(f<3||N<4)||H(b[n],c))){if(Q(b[n]),p=!0,B>9)break}else!p&&h&&!l&&B<4&&N<4&&f>2&&(a[0]||r.preloadAfterLoad)&&(a[0]||!u&&(M||I||k||w||"auto"!=b[n].getAttribute(r.sizesAttr)))&&(l=a[0]||b[n]);else Q(b[n]);l&&!p&&Q(l)}},W=P(j),q=function(t){var e=t.target;if(e._lazyCache)return void delete e._lazyCache;z(t),g(e,r.loadedClass),y(e,r.loadingClass),v(e,$),b(e,"lazyloaded")},U=x(q),$=function(t){U({target:t.target})},K=function(t,e){try{t.contentWindow.location.replace(e)}catch(i){t.src=e}},Y=function(t){var e,i=t.getAttribute(r.srcsetAttr);(e=r.customMedia[t.getAttribute("data-media")||t.getAttribute("media")])&&t.setAttribute("media",e),i&&t.setAttribute("srcset",i)},X=x(function(t,e,i,s,n){var a,o,h,f,d,m;(d=b(t,"lazybeforeunveil",e)).defaultPrevented||(s&&(i?g(t,r.autosizesClass):t.setAttribute("sizes",s)),o=t.getAttribute(r.srcsetAttr),a=t.getAttribute(r.srcAttr),n&&(h=t.parentNode,f=h&&c.test(h.nodeName||"")),m=e.firesLoad||"src"in t&&(o||a||f),d={target:t},g(t,r.loadingClass),m&&(clearTimeout(p),p=l(z,2500),v(t,$,!0)),f&&u.call(h.getElementsByTagName("source"),Y),o?t.setAttribute("srcset",o):a&&!f&&(R.test(t.no
3deName)?K(t,a):t.src=a),n&&(o||f)&&E(t,{src:a})),t._lazyRace&&delete t._lazyRace,y(t,r.lazyClass),C(function(){var e=t.complete&&t.naturalWidth>1;m&&!e||(e&&g(t,"ls-is-cached"),q(d),t._lazyCache=!0,l(function(){"_lazyCache"in t&&delete t._lazyCache},9))},!0)}),Q=function(t){var e,i=L.test(t.nodeName),s=i&&(t.getAttribute(r.sizesAttr)||t.getAttribute("sizes")),n="auto"==s;(!n&&h||!i||!t.getAttribute("src")&&!t.srcset||t.complete||m(t,r.errorClass)||!m(t,r.lazyClass))&&(e=b(t,"lazyunveilread").detail,n&&D.updateElem(t,!0,t.offsetWidth),t._lazyRace=!0,B++,X(t,e,n,s,i))},J=function(){if(!h){if(n.now()-d<999)return void l(J,999);var t=T(function(){r.loadMode=3,W()});h=!0,r.loadMode=3,W(),o("scroll",function(){3==r.loadMode&&(r.loadMode=2),t()},!0)}};return{_:function(){d=n.now(),i.elements=e.getElementsByClassName(r.lazyClass),a=e.getElementsByClassName(r.lazyClass+" "+r.preloadClass),o("scroll",W,!0),o("resize",W,!0),t.MutationObserver?new MutationObserver(W).observe(s,{childList:!0,subtree:!0,attributes:!0}):(s.addEventListener("DOMNodeInserted",W,!0),s.addEventListener("DOMAttrModified",W,!0),setInterval(W,999)),o("hashchange",W,!0),["focus","mouseover","click","load","transitionend","animationend","webkitAnimationEnd"].forEach(function(t){e.addEventListener(t,W,!0)}),/d$|^c/.test(e.readyState)?J():(o("load",J),e.addEventListener("DOMContentLoaded",W),l(J,2e4)),i.elements.length?(j(),C._lsFlush()):W()},checkElems:W,unveil:Q}}(),D=function(){var t,i=x(function(t,e,i,r){var s,n,a;if(t._lazysizesWidth=r,r+="px",t.setAttribute("sizes",r),c.test(e.nodeName||""))for(s=e.getElementsByTagName("source"),n=0,a=s.length;n<a;n++)s[n].setAttribute("sizes",r);i.detail.dataAttr||E(t,i.detail)}),s=function(t,e,r){var s,n=t.parentNode;n&&(r=S(t,n,r),s=b(t,"lazybeforesizes",{width:r,dataAttr:!!e}),s.defaultPrevented||(r=s.detail.width)&&r!==t._lazysizesWidth&&i(t,n,s,r))},n=function(){var e,i=t.length;if(i)for(e=0;e<i;e++)s(t[e])},a=T(n);return{_:function(){t=e.getElementsByClassName(r.autosizesClass),o("resize",a)},checkElems:a,updateElem:s}}(),w=function(){w.i||(w.i=!0,D._(),A._())};return i={cfg:r,autoSizer:D,loader:A,init:w,uP:E,aC:g,rC:y,hC:m,fire:b,gW:S,rAF:C}}}(t,t.document);t.lazySizes=i,"object"==typeof module&&module.exports&&(module.exports=i)}(window),"undefined"!=typeof document&&"undefined"!=typeof navigator&&function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self,t.lottie=e())}(this,function(){"use strict";function createTag(t){return document.createElement(t)}function extendPrototype(t,e){var i,r,s=t.length;for(i=0;i<s;i+=1){r=t[i].prototype;for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e.prototype[n]=r[n])}}function getDescriptor(t,e){return Object.getOwnPropertyDescriptor(t,e)}function createProxyFunction(t){function e(){}return e.prototype=t,e}function createSizedArray(t){return Array.apply(null,{length:t})}function _typeof$6(t){"@babel/helpers - typeof";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})(t)}function ProjectInterface$1(){return{}}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}function HSVtoRGB(t,e,i){var r,s,n,a,o,l,h,p;switch(a=Math.floor(6*t),o=6*t-a,l=i*(1-e),h=i*(1-o*e),p=i*(1-(1-o)*e),a%6){case 0:r=i,s=p,n=l;break;case 1:r=h,s=i,n=l;break;case 2:r=l,s=i,n=p;break;case 3:r=l,s=h,n=i;break;case 4:r=p,s=l,n=i;break;case 5:r=i,s=l,n=h}return[r,s,n]}
vendor: 5,350 bytes, line 3
3function RGBtoHSV(t,e,i){var r,s=Math.max(t,e,i),n=Math.min(t,e,i),a=s-n,o=0===s?0:a/s,l=s/255;switch(s){case n: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,l]}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])}function createNS(t){return document.createElementNS(svgNS,t)}function _typeof$5(t){"@babel/helpers - typeof";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})(t)}function BaseEvent(){}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){"@babel/helpers - typeof";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})(t)}function bezFunction(){function t(t,e,i,r,s,n){var a=t*r+e*s+i*n-s*r-n*t-i*e;return a>-.001&&a<.001}function e(e,i,r,s,n,a,o,h,p){if(0===r&&0===a&&0===p)return t(e,i,s,n,o,h);var c,f=l.sqrt(l.pow(s-e,2)+l.pow(n-i,2)+l.pow(a-r,2)),d=l.sqrt(l.pow(o-e,2)+l.pow(h-i,2)+l.pow(p-r,2)),u=l.sqrt(l.pow(o-s,2)+l.pow(h-n,2)+l.pow(p-a,2));return(c=f>d?f>u?f-d-u:u-d-f:u>d?u-d-f:d-f-u)>-1e-4&&c<1e-4}function i(t){var e,i=segmentsLengthPool.newElement(),r=t.c,s=t.v,n=t.o,a=t.i,o=t._length,l=i.lengths,p=0;for(e=0;e<o-1;e+=1)l[e]=h(s[e],s[e+1],n[e],a[e+1]),p+=l[e].addedLength;return r&&o&&(l[e]=h(s[e],s[0],n[e],a[0]),p+=l[e].addedLength),i.totalLength=p,i}function r(t){this.segmentLength=0,this.points=new Array(t)}function s(t,e){this.partialLength=t,this.point=e}function n(t,e){var i=e.percents,r=e.lengths,s=i.length,n=bmFloor((s-1)*t),a=t*e.addedLength,o=0;if(n===s-1||0===n||a===r[n])return i[n];for(var l=r[n]>a?-1:1,h=!0;h;)if(r[n]<=a&&r[n+1]>a?(o=(a-r[n])/(r[n+1]-r[n]),h=!1):n+=l,n<0||n>=s-1){if(n===s-1)return i[n];h=!1}return i[n]+(i[n+1]-i[n])*o}function a(t,e,i,r,s,a){var o=n(s,a),h=1-o;return[l.round(1e3*(h*h*h*t[0]+(o*h*h+h*o*h+h*h*o)*i[0]+(o*o*h+h*o*o+o*h*o)*r[0]+o*o*o*e[0]))/1e3,l.round(1e3*(h*h*h*t[1]+(o*h*h+h*o*h+h*h*o)*i[1]+(o*o*h+h*o*o+o*h*o)*r[1]+o*o*o*e[1]))/1e3]}function o(t,e,i,r,s,a,o){s<0?s=0:s>1&&(s=1);var h=n(s,o);a=a>1?1:a;var p,f=n(a,o),d=t.length,u=1-h,m=1-f,g=u*u*u,y=h*u*u*3,v=h*h*u*3,b=h*h*h,E=u*u*m,_=h*u*m+u*h*m+u*u*f,S=h*h*m+u*h*f+h*u*f,C=h*h*f,x=u*m*m,P=h*m*m+u*f*m+u*m*f,T=h*f*m+u*f*f+h*m*f,A=h*f*f,D=m*m*m,w=f*m*m+m*f*m+m*m*f,k=f*f*m+m*f*f+f*m*f,I=f*f*f;for(p=0;p<d;p+=1)c[4*p]=l.round(1e3*(g*t[p]+y*i[p]+v*r[p]+b*e[p]))/1e3,c[4*p+1]=l.round(1e3*(E*t[p]+_*i[p]+S*r[p]+C*e[p]))/1e3,c[4*p+2]=l.round(1e3*(x*t[p]+P*i[p]+T*r[p]+A*e[p]))/1e3,c[4*p+3]=l.round(1e3*(D*t[p]+w*i[p]+k*r[p]+I*e[p]))/1e3;return c}var l=Math,h=function(){return function(t,e,i,r){var s,n,a,o,l,h,p=getDefaultCurveSegments(),c=0,f=[],d=[],u=bezierLengthPool.newElement();for(a=i.length,s=0;s<p;s+=1){for(l=s/(p-1),h=0,n=0;n<a;n+=1)o=bmPow(1-l,3)*t[n]+3*bmPow(1-l,2)*l*i[n]+3*(1-l)*bmPow(l,2)*r[n]+bmPow(l,3)*e[n],f[n]=o,null!==d[n]&&(h+=bmPow(f[n]-d[n],2)),d[n]=f[n];h&&(h=bmSqrt(h),c+=h),u.percents[s]=l,u.lengths[s]=c}return u.addedLength=c,u}}(),p=function(){var e={};return function(i,n,a,o){var l=(i[0]+"_"+i[1]+"_"+n[0]+"_"+n[1]+"_"+a[0]+"_"+a[1]+"_"+o[0]+"_"+o[1]).replace(/\./g,"p");if(!e[l]){var h,p,c,f,d,u,m,g=getDefaultCurveSegments(),y=0,v=null;2===i.length&&(i[0]!==n[0]||i[1]!==n[1])&&t(i[0],i[1],n[0],n[1],i[0]+a[0],i[1]+a[1])&&t(i[0],i[1],n[0],n[1],n[0]+o[0],n[1]+o[1])&&(g=2);var b=new r(g);for(c=a.length,h=0;h<g;h+=1){for(m=createSizedArray(c),d=h/(g-1),u=0,p=0;p<c;p+=1)f=bmPow(1-d,3)*i[p]+3*bmPow(1-d,2)*d*(i[p]+a[p])+3*(1-d)*bmPow(d,2)*(n[p]+o[p])+bmPow(d,3)*n[p],m[p]=f,null!==v&&(u+=bmPow(m[p]-v[p],2));u=bmSqrt(u),y+=u,b.points[h]=new s(u,m),v=m}b.segmentLength=y,e[l]=b}return e[l]}}(),c=createTypedArray("float32",8);return{getSegmentsLength:i,getNewSegment:o,getPointInSegment:a,buildBezierData:p,pointOnLine2D:t,pointOnLine3D:e}}function interpolateValue(t,e){var i,r=this.offsetTime;"multidimensional"===this.propType&&(i=createTypedArray("float32",this.pv.length));for(var s,n,a,o=e.lastIndex,l=o,h=this.keyframes.length-1,p=!0;p;){if(s=this.keyframes[l],n=this.keyframes[l+1],l===h-1&&t>=n.t-r){s.h&&(s=n),o=0;break}if(n.t-r>t){o=l;break}l<h-1?l+=1:(o=0,p=!1)}a=this.keyframesMetadata[l]||{};var c,f,d,u,m,g,y,v=n.t-r,b=s.t-r;if(s.to){a.bezierData||(a.bezierData=bez.buildBezierData(s.s,n.s||s.e,s.to,s.ti));var E=a.bezierData;if(t>=v||t<b){var _=t>=v?E.points.length-1:0;for(f=E.points[_].point.length,c=0;c<f;c+=1)i[c]=E.points[_].point[c]}else{a.__fnct?g=a.__fnct:(g=BezierFactory.getBezierEasing(s.o.x,s.o.y,s.i.x,s.i.y,s.n).get,a.__fnct=g),d=g((t-b)/(v-b));var S,C=E.segmentLength*d,x=e.lastFrame<t&&e._lastKeyframeIndex===l?e._lastAddedLe
vendor: 8,432 bytes, lines 3-4
3ngth:0;for(m=e.lastFrame<t&&e._lastKeyframeIndex===l?e._lastPoint:0,p=!0,u=E.points.length;p;){if(x+=E.points[m].partialLength,0===C||0===d||m===E.points.length-1){for(f=E.points[m].point.length,c=0;c<f;c+=1)i[c]=E.points[m].point[c];break}if(C>=x&&C<x+E.points[m+1].partialLength){for(S=(C-x)/E.points[m+1].partialLength,f=E.points[m].point.length,c=0;c<f;c+=1)i[c]=E.points[m].point[c]+(E.points[m+1].point[c]-E.points[m].point[c])*S;break}m<u-1?m+=1:p=!1}e._lastPoint=m,e._lastAddedLength=x-E.points[m].partialLength,e._lastKeyframeIndex=l}}else{var P,T,A,D,w;if(h=s.s.length,y=n.s||s.e,this.sh&&1!==s.h)if(t>=v)i[0]=y[0],i[1]=y[1],i[2]=y[2];else if(t<=b)i[0]=s.s[0],i[1]=s.s[1],i[2]=s.s[2];else{var k=createQuaternion(s.s),I=createQuaternion(y),M=(t-b)/(v-b);quaternionToEuler(i,slerp(k,I,M))}else for(l=0;l<h;l+=1)1!==s.h&&(t>=v?d=1:t<b?d=0:(s.o.x.constructor===Array?(a.__fnct||(a.__fnct=[]),a.__fnct[l]?g=a.__fnct[l]:(P=void 0===s.o.x[l]?s.o.x[0]:s.o.x[l],T=void 0===s.o.y[l]?s.o.y[0]:s.o.y[l],A=void 0===s.i.x[l]?s.i.x[0]:s.i.x[l],D=void 0===s.i.y[l]?s.i.y[0]:s.i.y[l],g=BezierFactory.getBezierEasing(P,T,A,D).get,a.__fnct[l]=g)):a.__fnct?g=a.__fnct:(P=s.o.x,T=s.o.y,A=s.i.x,D=s.i.y,g=BezierFactory.getBezierEasing(P,T,A,D).get,s.keyframeMetadata=g),d=g((t-b)/(v-b)))),y=n.s||s.e,w=1===s.h?s.s[l]:s.s[l]+(y[l]-s.s[l])*d,"multidimensional"===this.propType?i[l]=w:i=w}return e.lastIndex=o,i}function slerp(t,e,i){var r,s,n,a,o,l=[],h=t[0],p=t[1],c=t[2],f=t[3],d=e[0],u=e[1],m=e[2],g=e[3];return s=h*d+p*u+c*m+f*g,s<0&&(s=-s,d=-d,u=-u,m=-m,g=-g),1-s>1e-6?(r=Math.acos(s),n=Math.sin(r),a=Math.sin((1-i)*r)/n,o=Math.sin(i*r)/n):(a=1-i,o=i),l[0]=a*h+o*d,l[1]=a*p+o*u,l[2]=a*c+o*m,l[3]=a*f+o*g,l}function quaternionToEuler(t,e){var i=e[0],r=e[1],s=e[2],n=e[3],a=Math.atan2(2*r*n-2*i*s,1-2*r*r-2*s*s),o=Math.asin(2*i*r+2*s*n),l=Math.atan2(2*i*n-2*r*s,1-2*i*i-2*s*s);t[0]=a/degToRads,t[1]=o/degToRads,t[2]=l/degToRads}function createQuaternion(t){var e=t[0]*degToRads,i=t[1]*degToRads,r=t[2]*degToRads,s=Math.cos(e/2),n=Math.cos(i/2),a=Math.cos(r/2),o=Math.sin(e/2),l=Math.sin(i/2),h=Math.sin(r/2);return[o*l*a+s*n*h,o*n*a+s*l*h,s*l*a-o*n*h,s*n*a-o*l*h]}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)return void this.setVValue(this.pv);this.lock=!0,this._mdf=this._isFirstFrame;var t,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){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,n=e.k.length;for(this.v=createTypedArray("float32",n),this.pv=createTypedArray("float32",n),this.vel=createTypedArray("float32",n),s=0;s<n;s+=1)this.v[s]=e.k[s]*this.mult,this.pv[s]=e.k[s];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){this.propType="multidimensional";var s,n,a,o,l,h=e.k.length;for(s=0;s<h-1;s+=1)e.k[s].to&&e.k[s].s&&e.k[s+1]&&e.k[s+1].s&&(n=e.k[s].s,a=e.k[s+1].s,o=e.k[s].to,l=e.k[s].ti,(2===n.length&&(n[0]!==a[0]||n[1]!==a[1])&&bez.pointOnLine2D(n[0],n[1],a[0],a[1],n[0]+o[0],n[1]+o[1])&&bez.pointOnLine2D(n[0],n[1],a[0],a[1],a[0]+l[0],a[1]+l[1])||3===n.length&&(n[0]!==a[0]||n[1]!==a[1]||n[2]!==a[2])&&bez.pointOnLine3D(n[0],n[1],n[2],a[0],a[1],a[2],n[0]+o[0],n[1]+o[1],n[2]+o[2])&&bez.pointOnLine3D(n[0],n[1],n[2],a[0],a[1],a[2],a[0]+l[0],a[1]+l[1],a[2]+l[2]))&&(e.k[s].to=null,e.k[s].ti=null),n[0]===a[0]&&n[1]===a[1]&&0===o[0]&&0===o[1]&&0===l[0]&&0===l[1]&&(2===n.length||n[2]===a[2]&&0===o[2]&&0===l[2])&&(e.k[s].to=null,e.k[s].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),s=0;s<p;s+=1)this.v[s]=initFrame,this.pv[s]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",p)},this.addEffect=addEffect}function DynamicPropertyContainer(){}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)}function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}function _typeof$3(t){"@babel/helpers - typeof";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})(t)}function setLocation(t){ 4setLocationHref(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);roundValues(!(getDefaultCurveSegments()>=50))}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}function ShapeModifier(){}function TrimModifier(){}function PuckerAndBloatModifier(){}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}
vendor: 4,118 bytes, line 4
4function 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 s=-e/(2*t);if(0===r)return[s];var n=Math.sqrt(r)/(2*t);return[s-n,s+n]}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,s){s&&pointEqual(t,e)&&(e=lerpPoint(t,r,1/3)),s&&pointEqual(i,r)&&(i=lerpPoint(t,r,2/3));var n=polynomialCoefficients(t[0],e[0],i[0],r[0]),a=polynomialCoefficients(t[1],e[1],i[1],r[1]);this.a=[n[0],a[0]],this.b=[n[1],a[1]],this.c=[n[2],a[2]],this.d=[n[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 s=r;r=i,i=s}for(var n=quadRoots(3*t.a[e],2*t.b[e],t.c[e]),a=0;a<n.length;a+=1)if(n[a]>0&&n[a]<1){var o=t.point(n[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,s,n){if(boxIntersect(t,e)){if(i>=n||t.width<=r&&t.height<=r&&e.width<=r&&e.height<=r)return void s.push([t.t,e.t]);var a=splitData(t),o=splitData(e);intersectsImpl(a[0],o[0],i+1,r,s,n),intersectsImpl(a[0],o[1],i+1,r,s,n),intersectsImpl(a[1],o[0],i+1,r,s,n),intersectsImpl(a[1],o[1],i+1,r,s,n)}}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 s=[t[0],t[1],1],n=[e[0],e[1],1],a=[i[0],i[1],1],o=[r[0],r[1],1],l=crossProduct(crossProduct(s,n),crossProduct(a,o));return floatZero(l[2])?null:[l[0]/l[2],l[1]/l[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,s,n,a){var o=i-Math.PI/2,l=i+Math.PI/2,h=e[0]+Math.cos(i)*r*s,p=e[1]-Math.sin(i)*r*s;t.setTripleAt(h,p,h+Math.cos(o)*n,p-Math.sin(o)*n,h+Math.cos(l)*a,p-Math.sin(l)*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(),s=t.v[i],n=t.v[r],a=getPerpendicularVector(s,n);return Math.atan2(0,1)-Math.atan2(a[1],a[0])}function zigZagCorner(t,e,i,r,s,n,a){var o=getProjectingAngle(e,i),l=e.v[i%e._length],h=e.v[0===i?e._length-1:i-1],p=e.v[(i+1)%e._length],c=2===n?Math.sqrt(Math.pow(l[0]-h[0],2)+Math.pow(l[1]-h[1],2)):0,f=2===n?Math.sqrt(Math.pow(l[0]-p[0],2)+Math.pow(l[1]-p[1],2)):0;setPoint(t,e.v[i%e._length],o,a,r,f/(2*(s+1)),c/(2*(s+1)),n)}function zigZagSegment(t,e,i,r,s,n){for(var a=0;a<r;a+=1){var o=(a+1)/(r+1),l=2===s?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,h=e.normalAngle(o);setPoint(t,e.point(o),h,n,i,l/(2*(r+1)),l/(2*(r+1)),s),n=-n}return n}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,s,n,a,o,l;l=linearOffset(t.points[0],t.points[1],e),i=l[0],r=l[1],l=linearOffset(t.points[1],t.points[2],e),s=l[0],n=l[1],l=linearOffset(t.points[2],t.points[3],e),a=l[0],o=l[1];var h=lineIntersection(i,r,s,n);null===h&&(h=r);var p=lineIntersection(a,o,s,n);return null===p&&(p=a),new PolynomialBezier(i,h,p,o)}function joinLines(t,e,i,r,s){var n=e.points[3],a=i.points[0];if(3===r)return n;if(pointEqual(n,a))return n;if(2===r){var o=-e.tangentAngle(1),l=-i.tangentAngle(0)+Math.PI,h=lineIntersection(n,polarOffset(n,o+Math.PI/2,100),a,polarOffset(a,o+Math.PI/2,100)),p=h?pointDistance(h,n):pointDistance(n,a)/2,c=polarOffset(n,o,2*p*rou
vendor: 6,755 bytes, line 4
4ndCorner);return t.setXYAt(c[0],c[1],"o",t.length()-1),c=polarOffset(a,l,2*p*roundCorner),t.setTripleAt(a[0],a[1],a[0],a[1],c[0],c[1],t.length()),a}var f=pointEqual(n,e.points[2])?e.points[0]:e.points[2],d=pointEqual(a,i.points[1])?i.points[3]:i.points[1],u=lineIntersection(f,n,a,d);return u&&pointDistance(u,n)<s?(t.setTripleAt(u[0],u[1],u[0],u[1],u[0],u[1],t.length()),u):n}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(),s=getIntersection(t[t.length-1],e[0]);return s&&(i[t.length-1]=t[t.length-1].split(s[0])[0],r[0]=e[0].split(s[1])[1]),t.length>1&&e.length>1&&(s=getIntersection(t[0],e[e.length-1]))?[[t[0].split(s[0])[0]],[e[e.length-1].split(s[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,s,n,a=t.inflectionPoints();if(0===a.length)return[offsetSegment(t,e)];if(1===a.length||floatEqual(a[1],1))return s=t.split(a[0]),i=s[0],r=s[1],[offsetSegment(i,e),offsetSegment(r,e)];s=t.split(a[0]),i=s[0];var o=(a[1]-a[0])/(1-a[0]);return s=s[1].split(o),n=s[0],r=s[1],[offsetSegment(i,e),offsetSegment(n,e),offsetSegment(r,e)]}function OffsetPathModifier(){}function getFontProperties(t){for(var e=t.fStyle?t.fStyle.split(" "):[],i="normal",r="normal",s=e.length,n=0;n<s;n+=1)switch(e[n].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}}function SlotManager(t){this.animationData=t}function slotFactory(t){return new SlotManager(t)}function RenderableElement(){}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=t.ef||[];this.effectElements=[];var r,s,n=i.length;for(r=0;r<n;r+=1)s=new GroupEffect(i[r],e),this.effectElements.push(s)}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(){}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,s=this.globalData.defs,n=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(n),this.solidPath="";var a,o,l,h,p,c,f,d=this.masksProperties,u=0,m=[],g=createElementID(),y="clipPath",v="clip-path";for(r=0;r<n;r+=1)if(("a"!==d[r].mode&&"n"!==d[r].mode||d[r].inv||100!==d[r].o.k||d[r].o.x)&&(y="mask",v="mask"),"s"!==d[r].mode&&"i"!==d[r].mode||0!==u?h=null:(h=createNS("rect"),h.setAttribute("fill","#ffffff"),h.setAttribute("width",this.element.comp.data.w||0),h.setAttribute("height",this.element.comp.data.h||0),m.push(h)),a=createNS("path"),"n"===d[r].mode)this.viewData[r]={op:PropertyFactory.getProp(this.element,d[r].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,d[r],3),elem:a,lastPath:""},s.appendChild(a);else{u+=1,a.setAttribute("fill","s"===d[r].mode?"#000000":"#ffffff"),a.setAttribute("clip-rule","nonzero");var b;if(0!==d[r].x.k?(y="mask",v="mask",f=PropertyFactory.getProp(this.element,d[r].x,0,null,this.element),b=createElementID(),p=createNS("filter"),p.setAttribute("id",b),c=createNS("feMorphology"),c.setAttribute("operator","erode"),c.setAttribute("in","SourceGraphic"),c.setAttribute("radius","0"),p.appendChild(c),s.appendChild(p),a.setAttribute("stroke","s"===d[r].mode?"#000000":"#ffffff")):(c=null,f=null),this.storedData[r]={elem:a,x:f,expan:c,lastPath:"",lastOperator:"",filterId:b,lastRadius:0},"i"===d[r].mode){l=m.length;var E=createNS("g");for(o=0;o<l;o+=1)E.appendChild(m[o]);var _=createNS("mask");_.setAttribute("mask-type","alpha"),_.setAttribute("id",g+"_"+u),_.appendChild(a),s.appendChild(_),E.setAttribute("mask","url("+getLocationHref()+"#"+g+"_"+u+")"),m.length=0,m.push(E)}else m.push(a);d[r].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[r]={elem:a,lastPath:"",op:PropertyFactory.getProp(this.element,d[r].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,d[r],3),invRect:h},this.viewData[r].prop.k||this.drawPath(d[r],this.viewData[r].prop.v,this.viewData[r])}for(this.maskElement=createNS(y),n=m.length,r=0;r<n;r+=1)this.maskElement.appendChild(m[r]);u>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)}function SVGEffects(t){var e,i="SourceGraphic",r=t.data.ef?t.data.ef.length:0,s=createElementID(),n=filtersFactory.createFilter(s,!0),a=0;this.filters=[];var o;for(e=0;e<r;e+=1){o=null;var l=t.data.ef[e].ty;if(registeredEffects$1[l]){o=new(0,registeredEffects$1[l].effect)(n,t.effectsManager.effectElements[e],t,idPrefix+a,i),i=idPrefix+a,registeredEffects$1[l].countsAsEffect&&(a+=1)}o&&this.filters.push(o)}a&&(t.globalData.defs.appendChild(n),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: 4,952 bytes, line 4
4function 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(){}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,s=t.length;r<s;){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){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,n,a=e.length||0;for(s=0;s<a;s+=1)n=PropertyFactory.getProp(t,e[s].v,0,0,this),this.k=n.k||this.k,this.dataProps[s]={n:e[s].n,p:n};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}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,s,n){this.o=t,this.sw=e,this.sc=i,this.fc=r,this.m=s,this.p=n,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)}function TextAnimatorDataProperty(t,e,i){var r={propType:!1},s=PropertyFactory.getProp,n=e.a;this.a={r:n.r?s(t,n.r,0,degToRads,i):r,rx:n.rx?s(t,n.rx,0,degToRads,i):r,ry:n.ry?s(t,n.ry,0,degToRads,i):r,sk:n.sk?s(t,n.sk,0,degToRads,i):r,sa:n.sa?s(t,n.sa,0,degToRads,i):r,s:n.s?s(t,n.s,1,.01,i):r,a:n.a?s(t,n.a,1,0,i):r,o:n.o?s(t,n.o,0,.01,i):r,p:n.p?s(t,n.p,1,0,i):r,sw:n.sw?s(t,n.sw,0,0,i):r,sc:n.sc?s(t,n.sc,1,0,i):r,fc:n.fc?s(t,n.fc,1,0,i):r,fh:n.fh?s(t,n.fh,0,0,i):r,fs:n.fs?s(t,n.fs,0,.01,i):r,fb:n.fb?s(t,n.fb,0,.01,i):r,t:n.t?s(t,n.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._animators
vendor: 4,849 bytes, line 4
4Data=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(i)}function ITextElement(){}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"),s=createElementID();r.setAttribute("id",s),r.textContent=e.title,this.svgElement.appendChild(r),i+=s}if(e&&e.description){var n=createNS("desc"),a=createElementID();n.setAttribute("id",a),n.textContent=e.description,this.svgElement.appendChild(n),i+=" "+a}i&&this.svgElement.setAttribute("aria-labelledby",i);var o=createNS("defs");this.svgElement.appendChild(o);var l=createNS("g");this.svgElement.appendChild(l),this.layerElement=l,this.renderConfig={preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",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}function createCanvas(t,e){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(t,e);var i=createTag("canvas");return i.width=t,i.height=e,i}function CVEffects(t){var e,i=t.data.ef?t.data.ef.length:0;this.filters=[];var r;for(e=0;e<i;e+=1){r=null;var s=t.data.ef[e].ty;if(registeredEffects[s]){r=new(0,registeredEffects[s].effect)(t.effectsManager.effectElements[e],t)}r&&this.filters.push(r)}this.filters.length&&t.addRenderableComponent(this)}function registerEffect(t,e){registeredEffects[t]={effect:e}}function CVMaskElement(t,e){this.data=t,this.element=e,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var i,r=this.masksProperties.length,s=!1;for(i=0;i<r;i+=1)"n"!==this.masksProperties[i].mode&&(s=!0),this.viewData[i]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[i],3);this.hasMasks=s,s&&this.element.addRenderableComponent(this)}function CVBaseElement(){}function CVShapeData(t,e,i,r){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var 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 n,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))}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(){this.stack=[],this.cArrPos=0,this.cTr=new Matrix;var t;for(
vendor: 3,336 bytes, line 4
4t=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
vendor: 4,895 bytes, line 4
4s,n=t.ks.or.k.length;for(s=0;s<n;s+=1)t.ks.or.k[s].to=null,t.ks.or.k[s].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"}function _typeof$2(t){"@babel/helpers - typeof";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})(t)}function seedRandom(t,e){function i(i,h,p){var y=[];h=!0===h?{entropy:!0}:h||{};var v=a(n(h.entropy?[i,l(t)]:null===i?o():i,3),y),b=new r(y),E=function(){for(var t=b.g(f),e=u,i=0;t<m;)t=(t+i)*c,e*=c,i=b.g(1);for(;t>=g;)t/=2,e/=2,i>>>=1;return(t+i)/e};return E.int32=function(){return 0|b.g(4)},E.quick=function(){return b.g(4)/4294967296},E.double=E,a(l(b.S),t),(h.pass||p||function(t,i,r,n){return n&&(n.S&&s(n,b),t.state=function(){return s(b,{})}),r?(e[d]=t,i):t})(E,v,"global"in h?h.global:this==e,h.state)}function r(t){var e,i=t.length,r=this,s=0,n=r.i=r.j=0,a=r.S=[];for(i||(t=[i++]);s<c;)a[s]=s++;for(s=0;s<c;s++)a[s]=a[n=y&n+t[s%i]+(e=a[s])],a[n]=e;r.g=function(t){for(var e,i=0,s=r.i,n=r.j,a=r.S;t--;)e=a[s=y&s+1],i=i*c+a[y&(a[s]=a[n=y&n+e])+(a[n]=e)];return r.i=s,r.j=n,i}}function s(t,e){return e.i=t.i,e.j=t.j,e.S=t.S.slice(),e}function n(t,e){var i,r=[],s=_typeof$2(t);if(e&&"object"==s)for(i in t)try{r.push(n(t[i],e-1))}catch(t){}return r.length?r:"string"==s?t:t+"\0"}function a(t,e){for(var i,r=t+"",s=0;s<r.length;)e[y&s]=y&(i^=19*e[y&s])+r.charCodeAt(s++);return l(e)}function o(){try{if(h)return l(h.randomBytes(c));var e=new Uint8Array(c);return(p.crypto||p.msCrypto).getRandomValues(e),l(e)}catch(e){var i=p.navigator,r=i&&i.plugins;return[+new Date,p,r,p.screen,l(t)]}}function l(t){return String.fromCharCode.apply(0,t)}var h,p=this,c=256,f=6,d="random",u=e.pow(c,f),m=e.pow(2,52),g=2*m,y=c-1;e["seed"+d]=i,a(e.random(),t)}function initialize$2(t){seedRandom([],t)}function _typeof$1(t){"@babel/helpers - typeof";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})(t)}function _typeof(t){"@babel/helpers - typeof";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})(t)}function getInterface(t){return interfaces[t]||null}function addPropertyDecorator(){function t(t,e,i){if(!this.k||!this.keyframes)return this.pv;t=t?t.toLowerCase():"";var r=this.comp.renderedFrame,s=this.keyframes,n=s[s.length-1].t;if(r<=n)return this.pv;var a,o;i?(a=e?Math.abs(n-this.elem.comp.globalData.frameRate*e):Math.max(0,n-this.elem.data.ip),o=n-a):((!e||e>s.length-1)&&(e=s.length-1),o=s[s.length-1-e].t,a=n-o);var l,h,p;
4if("pingpong"===t){if(Math.floor((r-o)/a)%2!=0)return this.getValueAtTime((a-(r-o)%a+o)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var c=this.getValueAtTime(o/this.comp.globalData.frameRate,0),f=this.getValueAtTime(n/this.comp.globalData.frameRate,0),d=this.getValueAtTime(((r-o)%a+o)/this.comp.globalData.frameRate,0),u=Math.floor((r-o)/a);if(this.pv.length){for(p=new Array(c.length),h=p.length,l=0;l<h;l+=1)p[l]=(f[l]-c[l])*u+d[l];return p}return(f-c)*u+d}if("continue"===t){var m=this.getValueAtTime(n/this.comp.globalData.frameRate,0),g=this.getValueAtTime((n-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(p=new Array(m.length),h=p.length,l=0;l<h;l+=1)p[l]=m[l]+(m[l]-g[l])*((r-n)/this.comp.globalData.frameRate)/5e-4;return p}return m+(r-n)/.001*(m-g)}}return this.getValueAtTime(((r-o)%a+o)/this.comp.globalData.frameRate,0)}function e(t,e,i){if(!this.k)return this.pv;t=t?t.toLowerCase():"";var r=this.comp.renderedFrame,s=this.keyframes,n=s[0].t;if(r>=n)return this.pv;var a,o;i?(a=e?Math.abs(this.elem.comp.globalData.frameRate*e):Math.max(0,this.elem.data.op-n),o=n+a):((!e||e>s.length-1)&&(e=s.length-1),o=s[e].t,a=o-n);var l,h,p;if("pingpong"===t){if(Math.floor((n-r)/a)%2==0)return this.getValueAtTime(((n-r)%a+n)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var c=this.getValueAtTime(n/this.comp.globalData.frameRate,0),f=this.getValueAtTime(o/this.comp.globalData.frameRate,0),d=this.getValueAtTime((a-(n-r)%a+n)/this.comp.globalData.frameRate,0),u=Math.floor((n-r)/a)+1 5;if(this.pv.length){for(p=new Array(c.length),h=p.length,l=0;l<h;l+=1)p[l]=d[l]-(f[l]-c[l])*u;return p}return d-(f-c)*u}if("continue"===t){var m=this.getValueAtTime(n/this.comp.globalData.frameRate,0),g=this.getValueAtTime((n+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(p=new Array(m.length),h=p.length,l=0;l<h;l+=1)p[l]=m[l]+(m[l]-g[l])*(n-r)/.001;return p}return m+(m-g)*(n-r)/.001}}return this.getValueAtTime((a-((n-r)%a+n))/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=this.comp.renderedFrame/this.comp.globalData.frameRate,s=r-t,n=r+t,a=e>1?(n-s)/(e-1):1,o=0,l=0;i=this.pv.length?createTypedArray("float32",this.pv.length):0;for(var h;o<e;){if(h=this.getValueAtTime(s+o*a),this.pv.length)for(l=0;l<this.pv.length;l+=1)i[l]+=h[l];else i+=h;o+=1}if(this.pv.length)for(l=0;l<this.pv.length;l+=1)i[l]/=e;else i/=e;return i}function r(t){this._transformCachingAtTime||(this._transformCachingAtTime={v:ne
vendor: 4,494 bytes, line 5
5w 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 s=this.sk.getValueAtTime(t),n=this.sa.getValueAtTime(t);e.skewFromAxis(-s*this.sk.mult,n*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),l=this.ry.getValueAtTime(t),h=this.rx.getValueAtTime(t),p=this.or.getValueAtTime(t);e.rotateZ(-o*this.rz.mult).rotateY(l*this.ry.mult).rotateX(h*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 d=this.pz.getValueAtTime(t);e.translate(c*this.px.mult,f*this.py.mult,-d*this.pz.mult)}else e.translate(c*this.px.mult,f*this.py.mult,0)}else{var u=this.p.getValueAtTime(t);e.translate(u[0]*this.p.mult,u[1]*this.p.mult,-u[2]*this.p.mult)}return e}function s(){return this.v.clone(new Matrix)}function n(t){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),t*=this.elem.globalData.frameRate,t-=this.offsetTime,t!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<t?this._caching.lastIndex:0,this._cachingAtTime.lastTime=t,this.interpolateShape(t,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue}function a(){}var o=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(t,e,i){var n=o(t,e,i);return n.dynamicProperties.length?n.getValueAtTime=r.bind(n):n.getValueAtTime=s.bind(n),n.setGroupProperty=expressionHelpers.setGroupProperty,n};var l=PropertyFactory.getProp;PropertyFactory.getProp=function(r,s,n,a,o){var h=l(r,s,n,a,o);h.kf?h.getValueAtTime=expressionHelpers.getValueAtTime.bind(h):h.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(h),h.setGroupProperty=expressionHelpers.setGroupProperty,h.loopOut=t,h.loopIn=e,h.smooth=i,h.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(h),h.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(h),h.numKeys=1===s.a?s.k.length:0,h.propertyIndex=s.ix;var p=0;return 0!==n&&(p=createTypedArray("float32",1===s.a?s.k[0].s.length:s.k.length)),h._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:p},expressionHelpers.searchExpressions(r,s,h),h.k&&o.addDynamicProperty(h),h};var h=ShapePropertyFactory.getConstructorFunction(),p=ShapePropertyFactory.getKeyframedConstructorFunction();a.prototype={vertices:function(t,e){this.k&&this.getValue();var i=this.v;void 0!==e&&(i=this.getValueAtTime(e,0));var r,s=i._length,n=i[t],a=i.v,o=createSizedArray(s);for(r=0;r<s;r+=1)o[r]="i"===t||"o"===t?[n[r][0]-a[r][0],n[r][1]-a[r][1]]:[n[r][0],n[r][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,s=this._segmentsLength,n=s.lengths,a=s.totalLength*t,o=0,l=n.length,h=0;o<l;){if(h+n[o].addedLength>a){var p=o,c=i.c&&o===l-1?0:o+1,f=(a-h)/n[o].addedLength;r=bez.getPointInSegment(i.v[p],i.v[c],i.o[p],i.i[c],f,n[o]);break}h+=n[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),s=this.pointOnPath(t+.001,e),n=s[0]-r[0],a=s[1]-r[1],o=Math.sqrt(Math.pow(n,2)+Math.pow(a,2));return 0===o?[0,0]:"tangent"===i?[n/o,a/o]:[-a/o,n/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([a],h),extendPrototype([a],p),p.prototype.getValueAtTime=n,p.prototype.initiateExpression=ExpressionManager.initiateExpression;var c=ShapePropertyFactory.getShapeProp;
vendor: 9,478 bytes, line 5
5ShapePropertyFactory.getShapeProp=function(t,e,i,r,s){var n=c(t,e,i,r,s);return n.propertyIndex=e.ix,n.lock=!1,3===i?expressionHelpers.searchExpressions(t,e.pt,n):4===i&&expressionHelpers.searchExpressions(t,e.ks,n),n.k&&t.addDynamicProperty(n),n}}function initialize$1(){addPropertyDecorator()}function addDecorator(){function t(){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}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=t}function initialize(){addDecorator()}function SVGComposableEffect(){}function SVGTintFilter(t,e,i,r,s){this.filterManager=e;var n=createNS("feColorMatrix");n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","linearRGB"),n.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=n,n.setAttribute("result",r+"_tint_1"),t.appendChild(n),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+"_tint_2"),t.appendChild(n),this.matrixFilter=n;var a=this.createMergeNode(r,[s,r+"_tint_1",r+"_tint_2"]);t.appendChild(a)}function SVGFillFilter(t,e,i,r){this.filterManager=e;var s=createNS("feColorMatrix");s.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),t.appendChild(s),this.matrixFilter=s}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 s=createNS("feColorMatrix");s.setAttribute("type","matrix"),s.setAttribute("color-interpolation-filters","linearRGB"),s.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(s);var n=createNS("feComponentTransfer");n.setAttribute("color-interpolation-filters","sRGB"),n.setAttribute("result",r),this.matrixFilter=n;var a=createNS("feFuncR");a.setAttribute("type","table"),n.appendChild(a),this.feFuncR=a;var o=createNS("feFuncG");o.setAttribute("type","table"),n.appendChild(o),this.feFuncG=o;var l=createNS("feFuncB");l.setAttribute("type","table"),n.appendChild(l),this.feFuncB=l,t.appendChild(n)}function SVGProLevelsFilter(t,e,i,r){this.filterManager=e;var s=this.filterManager.effectElements,n=createNS("feComponentTransfer");(s[10].p.k||0!==s[10].p.v||s[11].p.k||1!==s[11].p.v||s[12].p.k||1!==s[12].p.v||s[13].p.k||0!==s[13].p.v||s[14].p.k||1!==s[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",n)),(s[17].p.k||0!==s[17].p.v||s[18].p.k||1!==s[18].p.v||s[19].p.k||1!==s[19].p.v||s[20].p.k||0!==s[20].p.v||s[21].p.k||1!==s[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",n)),(s[24].p.k||0!==s[24].p.v||s[25].p.k||1!==s[25].p.v||s[26].p.k||1!==s[26].p.v||s[27].p.k||0!==s[27].p.v||s[28].p.k||1!==s[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",n)),(s[31].p.k||0!==s[31].p.v||s[32].p.k||1!==s[32].p.v||s[33].p.k||1!==s[33].p.v||s[34].p.k||0!==s[34].p.v||s[35].p.k||1!==s[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",n)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(n.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(n)),(s[3].p.k||0!==s[3].p.v||s[4].p.k||1!==s[4].p.v||s[5].p.k||1!==s[5].p.v||s[6].p.k||0!==s[6].p.v||s[7].p.k||1!==s[7].p.v)&&(n=createNS("feComponentTransfer"),n.setAttribute("color-interpolation-filters","sRGB"),n.setAttribute("result",r),t.appendChild(n),this.feFuncRComposed=this.createFeFunc("feFuncR",n),this.feFuncGComposed=this.createFeFunc("feFuncG",n),this.feFuncBComposed=this.createFeFunc("feFuncB",n))}function SVGDropShadowEffect(t,e,i,r,s){var n=e.container.globalData.renderConfig.filterSize,a=e.data.fs||n;t.setAttribute("x",a.x||n.x),t.setAttribute("y",a.y||n.y),t.setAttribute("width",a.width||n.width),t.setAttribute("height",a.height||n.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 l=createNS("feOffset");l.setAttribute("dx","25"),l.setAttribute("dy","0"),l.setAttribute("in",r+"_drop_shadow_1"),l.setAttribute("result",r+"_drop_shadow_2"),this.feOffset=l,t.appendChild(l);var h=createNS("feFlood");h.setAttribute("flood-color","#00ff00"),h.setAttribute("flood-opacity","1"),h.setAttribute("result",r+"_drop_shadow_3"),this.feFlood=h,t.appendChild(h);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",s]);t.appendChild(c)}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 s=createNS("feGaussianBlur");s.setAttribute("result",r),t.appendChild(s),this.feGaussianBlur=s}function TransformEffect(){}function SVGTransformEffect(t,e){this.init(e)}function CVTransformEffect(t){this.init(t)}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},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,s=[];switch(t){case"int16":case"uint8c":i=1;break;default:i=1.1}for(r=0;r<e;r+=1)s.push(i);return s}function e(e,i){return"float32"===e?new Float32Array(i):"int16"===e?new Int16Array(i):"uint8c"===e?new Uint8ClampedArray(i):t(e,i)}return"function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?e:t}(),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(){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,createElementID=function(){var t=0;return function(){return t+=1,idPrefix$1+"__lottie_element_"+t}}(),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},dataManager=function(){function t(t){if(window.Worker&&window.Blob&&getWebWorker()){var e=new Blob(["var _workerSelf = self;
5 self.onmessage = ",t.toString()],{type:"text/javascript"}),i=URL.createObjectURL(e);return new Worker(i)}return a=t,p}function e(){o||(o=t(function(t){if(c.dataManager||(c.dataManager=function(){function t(e,i){var a,o,h,p,c,f,d=e.length;for(o=0;o<d;o+=1)if("ks"in(a=e[o])&&!a.completed){if(a.completed=!0,a.hasMask){var u=a.masksProperties;for(p=u.length,h=0;h<p;h+=1)if(u[h].pt.k.i)n(u[h].pt.k);else for(f=u[h].pt.k.length,c=0;c<f;c+=1)u[h].pt.k[c].s&&n(u[h].pt.k[c].s[0]),u[h].pt.k[c].e&&n(u[h].pt.k[c].e[0])}0===a.ty?(a.layers=r(a.refId,i),t(a.layers,i)):4===a.ty?s(a.shapes):5===a.ty&&l(a)}}function e(e,i){if(e){var s=0,n=e.length;for(s=0;s<n;s+=1)1===e[s].t&&(e[s].data.layers=r(e[s].data.refId,i),t(e[s].data.layers,i))}}function i(t,e){for(var i=0,r=e.length;i<r;){if(e[i].id===t)return e[i];i+=1}return null}function r(t,e){var r=i(t,e);return r?r.layers.__used?JSON.parse(JSON.stringify(r.layers)):(r.layers.__used=!0,r.layers):null}function s(t){var e,i,r,a=t.length;for(e=a-1;e>=0;e-=1)if("sh"===t[e].ty)if(t[e].ks.k.i)n(t[e].ks.k);else for(r=t[e].ks.k.length,i=0;i<r;i+=1)t[e].ks.k[i].s&&n(t[e].ks.k[i].s[0]),t[e].ks.k[i].e&&n(t[e].ks.k[i].e[0]);else"gr"===t[e].ty&&s(t[e].it)}function n(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 a(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))}function o(i){i.__complete||(f(i),h(i),p(i),c(i),d(i),t(i.layers,i.assets),e(i.chars,i.assets),i.__complete=!0)}function l(t){0===t.t.a.length&&t.t.p}var h=function(){function t(t){var e=t.t.d;t.t.d={k:[{s:e,t:0}]}}function e(e){var i,r=e.length;for(i=0;i<r;i+=1)5===e[i].ty&&t(e[i])}var i=[4,4,14];return function(t){if(a(i,t.v)&&(e(t.layers),t.assets)){var r,s=t.assets.length;for(r=0;r<s;r+=1)t.assets[r].layers&&e(t.assets[r].layers)}}}(),p=function(){var t=[4,7,99];return function(e){if(e.chars&&!a(t,e.v)){var i,r=e.chars.length;for(i=0;i<r;i+=1){var n=e.chars[i];n.data&&n.data.shapes&&(s(n.data.shapes),n.data.ip=0,n.data.op=99999,n.data.st=0,n.data.sr=1,n.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}},e.chars[i].t||(n.data.shapes.push({ty:"no"}),n.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"})))}}}}(),c=function(){function t(t){var e=t.t.p;"number"==typeof e.a&&(e.a={a:0,k:e.a}),"number"==typeof e.p&&(e.p={a:0,k:e.p}),"number"==typeof e.r&&(e.r={a:0,k:e.r})}function e(e){var i,r=e.length;for(i=0;i<r;i+=1)5===e[i].ty&&t(e[i])}var i=[5,7,15];return function(t){if(a(i,t.v)&&(e(t.layers),t.assets)){var r,s=t.assets.length;for(r=0;r<s;r+=1)t.assets[r].layers&&e(t.assets[r].layers)}}}(),f=function(){function t(e){var i,r,s,n=e.length;for(i=0;i<n;i+=1)if("gr"===e[i].ty)t(e[i].it);else if("fl"===e[i].ty||"st"===e[i].ty)if(e[i].c.k&&e[i].c.k[0].i)for(s=e[i].c.k.length,r=0;r<s;r+=1)e[i].c.k[r].s&&(e[i].c.k[r].s[0]/=255,e[i].c.k[r].s[1]/=255,e[i].c.k[r].s[2]/=255,e[i].c.k[r].s[3]/=255),e[i].c.k[r].e&&(e[i].c.k[r].e[0]/=255,e[i].c.k[r].e[1]/=255,e[i].c.k[r].e[2]/=255,e[i].c.k[r].e[3]/=255);else e[i].c.k[0]/=255,e[i].c.k[1]/=255,e[i].c.k[2]/=255,e[i].c.k[3]/=255}function e(e){var i,r=e.length;for(i=0;i<r;i+=1)4===e[i].ty&&t(e[i].shapes)}var i=[4,1,9];return function(t){if(a(i,t.v)&&(e(t.layers),t.assets)){var r,s=t.assets.length;for(r=0;r<s;r+=1)t.assets[r].layers&&e(t.assets[r].layers)}}}(),d=function(){function t(e){var i,r,s,n=e.length;for(i=n-1;i>=0;i-=1)if("sh"===e[i].ty)if(e[i].ks.k.i)e[i].ks.k.c=e[i].closed;else for(s=e[i].ks.k.length,r=0;r<s;r+=1)e[i].ks.k[r].s&&(e[i].ks.k[r].s[0].c=e[i].closed),e[i].ks.k[r].e&&(e[i].ks.k[r].e[0].c=e[i].closed);else"gr"===e[i].ty&&t(e[i].it)}function e(e){var i,r,s,n,a,o,l=e.length;for(r=0;r<l;r+=1){if(i=e[r],i.hasMask){var h=i.masksProperties;for(n=h.length,s=0;s<n;s+=1)if(h[s].pt.k.i)h[s].pt.k.c=h[s].cl;else for(o=h[s].pt.k.length,a=0;a<o;a+=1)h[s].pt.k[a].s&&(h[s].pt.k[a].s[0].c=h[s].cl),h[s].pt.k[a].e&&(h[s].pt.k[a].e[0].c=h[s].cl)}
vendor: 6,723 bytes, line 5
54===i.ty&&t(i.shapes)}}var i=[4,4,18];return function(t){if(a(i,t.v)&&(e(t.layers),t.assets)){var r,s=t.assets.length;for(r=0;r<s;r+=1)t.assets[r].layers&&e(t.assets[r].layers)}}}(),u={};return u.completeData=o,u.checkColors=f,u.checkChars=p,u.checkPathProperties=c,u.checkShapes=d,u.completeLayers=t,u}()),c.assetLoader||(c.assetLoader=function(){function t(t){var e=t.getResponseHeader("content-type");return e&&"json"===t.responseType&&-1!==e.indexOf("json")?t.response: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}function e(e,i,r,s){var n,a=new XMLHttpRequest;try{a.responseType="json"}catch(t){}a.onreadystatechange=function(){if(4===a.readyState)if(200===a.status)n=t(a),r(n);else try{n=t(a),r(n)}catch(t){s&&s(t)}};try{a.open(["G","E","T"].join(""),e,!0)}catch(t){a.open(["G","E","T"].join(""),i+"/"+e,!0)}a.send()}return{load:e}}()),"loadAnimation"===t.data.type)c.assetLoader.load(t.data.path,t.data.fullPath,function(e){c.dataManager.completeData(e),c.postMessage({id:t.data.id,payload:e,status:"success"})},function(){c.postMessage({id:t.data.id,status:"error"})});else if("complete"===t.data.type){var e=t.data.animation;c.dataManager.completeData(e),c.postMessage({id:t.data.id,payload:e,status:"success"})}else"loadData"===t.data.type&&c.assetLoader.load(t.data.path,t.data.fullPath,function(e){c.postMessage({id:t.data.id,payload:e,status:"success"})},function(){c.postMessage({id:t.data.id,status:"error"})})}),o.onmessage=function(t){var e=t.data,i=e.id,r=h[i];h[i]=null,"success"===e.status?r.onComplete(e.payload):r.onError&&r.onError()})}function i(t,e){l+=1;var i="processId_"+l;return h[i]={onComplete:t,onError:e},i}function r(t,r,s){e();var n=i(r,s);o.postMessage({type:"loadAnimation",path:t,fullPath:window.location.origin+window.location.pathname,id:n})}function s(t,r,s){e();var n=i(r,s);o.postMessage({type:"loadData",path:t,fullPath:window.location.origin+window.location.pathname,id:n})}function n(t,r,s){e();var n=i(r,s);o.postMessage({type:"complete",animation:t,id:n})}var a,o,l=1,h=[],p={onmessage:function(){},postMessage:function(t){a({data:t})}},c={postMessage:function(t){p.onmessage({data:t})}};return{loadAnimation:r,loadData:s,completeAnimation:n}}(),ImagePreloader=function(){function t(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function e(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function i(t,e,i){var r="";if(t.e)r=t.p;else if(e){var s=t.p;-1!==s.indexOf("images/")&&(s=s.split("/")[1]),r=e+s}else r=i,r+=t.u?t.u:"",r+=t.p;return r}function r(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=i(t,this.assetsPath,this.path),r=createNS("image");isSafari?this.testImageLoaded(r):r.addEventListener("load",this._imageLoaded,!1),r.addEventListener("error",function(){s.img=g,this._imageLoaded()}.bind(this),!1),r.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this._elementHelper.append?this._elementHelper.append(r):this._elementHelper.appendChild(r);var s={img:r,assetData:t};return s}function n(t){var e=i(t,this.assetsPath,this.path),r=createTag("img");r.crossOrigin="anonymous",r.addEventListener("load",this._imageLoaded,!1),r.addEventListener("error",function(){s.img=g,this._imageLoaded()}.bind(this),!1),r.src=e;var s={img:r,assetData:t};return s}function a(t){var e={assetData:t},r=i(t,this.assetsPath,this.path);return dataManager.loadData(r,function(t){e.img=t,this._footageLoaded()}.bind(this),function(){e.img={},this._footageLoaded()}.bind(this)),e}function o(t,e){this.imagesLoadedCb=e;var i,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]))))}function l(t){this.path=t||""}function h(t){this.assetsPath=t||""}function p(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}function c(){this.imagesLoadedCb=null,this.images.length=0}function f(){return this.totalImages===this.loadedAssets}function d(){return this.totalFootages===this.loadedFootagesCount}function u(t,e){"svg"===t?(this._elementHelper=e,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function m(){this._imageLoaded=t.bind(this),this._footageLoaded=e.bind(this),this.testImageLoaded=r.bind(this),this.createFootageData=a.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}var g=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}();return m.prototype={loadAssets:o,setAssetsPath:h,setPath:l,loadedImages:f,loadedFootages:d,destroy:c,getAsset:p,createImgData:n,createImageData:s,imageLoaded:t,footageLoaded:e,setCacheType:u},m}();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={},s=0,n=0;n<i.length;n+=1)e=i[n].split(":"),2===e.length&&(r[e[0]]=e[1].trim(),s+=1);if(0===s)throw new Error;return r}return function(e){for(var i=[],r=0;r<e.length;r+=1){var s=e[r],n={time:s.tm,duration:s.dr};try{n.payload=JSON.parse(e[r].cm)}catch(i){try{n.payload=t(e[r].cm)}catch(t){n.payload={name:e[r].cm}}}i.push(n)}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},
vendor: 3,422 bytes, line 5
5AnimationItem=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 s=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"===s?i.loop=!1:"true"===s?i.loop=!0:""!==s&&(i.loop=parseInt(s,10));var
vendor: 4,634 bytes, lines 5-6
5n=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"!==n,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,s=r.length,n=t.layers,a=n.length;for(i=0;i<a;i+=1)for(e=0;e<s;){if(r[e].id===n[i].id){r[e]=n[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(s=t.assets.length,e=0;e<s;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]), 6this.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
vendor: 1,402 bytes, line 6
6(),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],e.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 s=this.getMarkerData(t);s&&this.goToAndStop(s.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 s=this.getMarkerData(t);s&&(s.duration?this.playSegments([s.time,s.time+s.duration],!0):this.goToAndStop(s
vendor: 6,137 bytes, line 6
6.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: 2,133 bytes, line 6
6,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)};var animationManager=function(){function t(t){for(var e=0,i=t.target;e<D;)T[e].animation===i&&(T.splice(e,1),e-=1,D-=1,i.isPaused||s()),e+=1}function e(t,e){if(!t)return null;for(var i=0;i<D;){if(T[i].elem===t&&null!==T[i].elem)return T[i].animation;i+=1}var r=new AnimationItem;return n(r,t),r.setData(t,e),r}function i(){var t,e=T.length,i=[];for(t=0;t<e;t+=1)i.push(T[t].animation);return i}function r(){w+=1,b()}function s(){w-=1}function n(e,i){e.addEventListener("destroy",t),e.addEventListener("_active",r),e.addEventListener("_idle",s),T.push({elem:i,animation:e}),D+=1}function a(t){var e=new AnimationItem;return n(e,null),e.setParams(t),e}function o(t,e){var i;for(i=0;i<D;i+=1)T[i].animation.setSpeed(t,e)}function l(t,e){var i;for(i=0;i<D;i+=1)T[i].animation.setDirection(t,e)}function h(t){var e;for(e=0;e<D;e+=1)T[e].animation.play(t)}function p(t){var e,i=t-A;for(e=0;e<D;e+=1)T[e].animation.advanceTime(i);A=t,w&&!I?window.requestAnimationFrame(p):k=!0}function c(t){A=t,window.requestAnimationFrame(p)}function f(t){var e;for(e=0;e<D;e+=1)T[e].animation.pause(t)}function d(t,e,i){var r;for(r=0;r<D;r+=1)T[r].animation.goToAndStop(t,e,i)}function u(t){var e;for(e=0;e<D;e+=1)T[e].animation.stop(t)}function m(t){var e;for(e=0;e<D;e+=1)T[e].animation.togglePause(t)}function g(t){var e;for(e=D-1;e>=0;e-=1)T[e].animation.destroy(t)}function y(t,i,r){var s,n=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),a=n.length;for(s=0;s<a;s+=1)r&&n[s].setAttribute("data-bm-type",r),e(n[s],t);if(i&&0===a){r||(r="svg");var o=document.getElementsByTagName("body")[0];o.innerText="";var l=createTag("div");l.style.width="100%",l.style.height="100%",l.setAttribute("data-bm-type",r),o.appendChild(l),e(l,t)}}function v(){var t;for(t=0;t<D;t+=1)T[t].animation.resize()}function b(){!I&&w&&k&&(window.requestAnimationFrame(c),k=!1)}function E(){I=!0}function _(){I=!1,b()}function S(t,e){var i;for(i=0;i<D;i+=1)T[i].animation.setVolume(t,e)}function C(t){var e;
6for(e=0;e<D;e+=1)T[e].animation.mute(t)}function x(t){var e;for(e=0;e<D;e+=1)T[e].animation.unmute(t)}var P={},T=[],A=0,D=0,w=0,k=!0,I=!1;return P.registerAnimation=e,P.loadAnimation=a,P.setSpeed=o,P.setDirection=l,P.play=h,P.pause=f,P.stop=u,P.togglePause=m,P.searchAnimations=y,P.resize=v,P.goToAndStop=d,P.destroy=g,P.freeze=E,P.unfreeze=_,P.setVolume=S,P.mute=C,P.unmute=x,P.getRegisteredAnimations=i,P}(),BezierFactory=function(){function t(t,e,i,r,s){var n=s||("bez_"+t+"_"+e+"_"+i+"_"+r).replace(/\./g,"p");if(p[n])return p[n];var a=new l([t,e,i,r]);return p[n]=a,a}function e(t,e){return 1-3*e+3*t}function i(t,e){return 3*e-6*t}function r(t){return 3*t}function s(t,s,n){return((e(s,n)*t+i(s,n))*t+r(s))*t}function n(t,s,n){return 3*e(s,n)*t*t+2*i(s,n)*t+r(s)}function a(t,e,i,r,n){var a,o,l=0;do{o=e+(i-e)/2,a=s(o,r,n)-t,a>0?i=o:e=o}while(Math.abs(a)>f&&++l<d);return o}function o(t,e,i,r){for(var a=0;a<c;++a){var o=n(e,i,r);if(0===o)return e;e-=(s(e,i,r)-t)/o}return e}function l(t){this._p=t,this._mSampleValues=g?new Float32Array(u):new Array(u),this._precomputed=!1,this.get=this.get.bind(this)}var h={};h.getBezierEasing=t;var p={},c=4,f=1e-7,d=10,u=11,m=1/(u-1),g="function"==typeof Float32Array;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:s(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],i=0;i<u;++i)this._mSampleValues[i]=s(i*m,t,e)},_getTForX:function(t){for(var e=this._p[0],i=this._p[2],r=this._mSampleValues,s=0,l=1,h=u-1;l!==h&&r[l]<=t;++l)s+=m;--l;var p=(t-r[l])/(r[l+1]-r[l]),c=s+p*m,f=n(c,e,i);return f>=.001?o(t,c,e,i):0===f?c:a(t,s,s+m,e,i)}},h}(),pooling=function(){function t(t){return t.concat(createSizedArray(t.length))}return{double:t}}(),poolFactory=function(){return function(t,e,i){function r(){var t;
6return n?(n-=1,t=o[n]):t=e(),t}function s(t){n===a&&(o=pooling.double(o),a*=2),i&&i(t),o[n]=t,n+=1}var n=0,a=t,o=createSizedArray(a);return{newElement:r,release:s}}}(),bezierLengthPool=function(){function t(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}}return poolFactory(8,t)}(),segmentsLengthPool=function(){function t(){return{lengths:[],totalLength:0}}function e(t){var e,i=t.lengths.length;for(e=0;e<i;e+=1)bezierLengthPool.release(t.lengths[e]);t.lengths.length=0}return poolFactory(8,t,e)}(),bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs,PropertyFactory=function(){function t(t,e,i,r,s){e.sid&&(e=t.globalData.slotManager.getProp(e));var n;if(e.k.length)if("number"==typeof e.k[0])n=new MultiDimensionalProperty(t,e,r,s);else switch(i){case 0:n=new KeyframedValueProperty(t,e,r,s);break;case 1:n=new KeyframedMultidimensionalProperty(t,e,r,s)}else n=new ValueProperty(t,e,r,s);return n.effectsSequence.length&&s.addDynamicProperty(n),n}return{getProp:t}}();DynamicPropertyContainer.prototype={addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&(this.dynamicProperties.push(t),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var t,e=this.dynamicProperties.length;for(t=0;t<e;t+=1)this.dynamicProperties[t].getValue(),this.dynamicProperties[t]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(t){this.container=t,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=function(){function t(){return createTypedArray("float32",2)}return poolFactory(8,t)}();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;
vendor: 4,087 bytes, line 6
6)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,s){var n;switch(this._length=Math.max(this._length,r+1),this._length>=this._maxLength&&this.doubleArrayLength(),i){case"v":n=this.v;break;case"i":n=this.i;break;case"o":n=this.o;break;default:n=[]}(!n[r]||n[r]&&!s)&&(n[r]=pointPool.newElement()),n[r][0]=t,n[r][1]=e},ShapePath.prototype.setTripleAt=function(t,e,i,r,s,n,a,o){this.setXYAt(t,e,"v",a,o),this.setXYAt(i,r,"o",a,o),this.setXYAt(s,n,"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,s=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),s=1);var n,a=this._length-1,o=this._length;for(n=s;n<o;n+=1)t.setTripleAt(e[a][0],e[a][1],r[a][0],r[a][1],i[a][0],i[a][1],n,!1),a-=1;return t},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){function t(){return new ShapePath}function e(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}function i(t){var e,i=r.newElement(),s=void 0===t._length?t.v.length:t._length;for(i.setLength(s),i.c=t.c,e=0;e<s;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}var r=poolFactory(4,t,e);return r.clone=i,r}();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=function(){function t(){var t;return r?(r-=1,t=n[r]):t=new ShapeCollection,t}function e(t){var e,i=t._length;for(e=0;e<i;e+=1)shapePool.release(t.shapes[e]);t._length=0,r===s&&(n=pooling.double(n),s*=2),n[r]=t,r+=1}var i={newShapeCollection:t,release:e},r=0,s=4,n=createSizedArray(s);return i}(),ShapePropertyFactory=function(){function t(t,e,i){var r,s,n,a,o,l,h,p,c,f=i.lastIndex,d=this.keyframes;if(t<d[0].t-this.offsetTime)r=d[0].s[0],n=!0,f=0;else if(t>=d[d.length-1].t-this.offsetTime)r=d[d.length-1].s?d[d.length-1].s[0]:d[d.length-2].e[0],n=!0;else{for(var u,m,g,y=f,v=d.length-1,b=!0;b&&(u=d[y],m=d[y+1],!(m.t-this.offsetTime>t));)y<v-1?y+=1:b=!1;if(g=this.keyframesMetadata[y]||{},n=1===u.h,f=y,!n){if(t>=m.t-this.offsetTime)p=1;else if(t<u.t-this.offsetTime)p=0;else{var E;g.__fnct?E=g.__fnct:(E=BezierFactory.getBezierEasing(u.o.x,u.o.y,u.i.x,u.i.y).get,g.__fnct=E),p=E((t-(u.t-this.offsetTime))/(m.t-this.offsetTime-(u.t-this.offsetTime)))}s=m.s?m.s[0]:u.e[0]}r=u.s[0]}for(l=e._length,h=r.i[0].length,i.lastIndex=f,a=0;a<l;a+=1)for(o=0;o<h;o+=1)c=n?r.i[a][o]:r.i[a][o]+(s.i[a][o]-r.i[a][o])*p,e.i[a][o]=c,c=n?r.o[a][o]:r.o[a][o]+(s.o[a][o]-r.o[a][o])*p,e.o[a][o]=c,c=n?r.v[a][o]:r.v[a][o]+(s.v[a][o]-r.v[a][o])*p,e.v[a][o]=c}function e(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime,r=this._caching.lastFrame;return r!==f&&(r<e&&t<e||r>i&&t>i)||(this._caching.lastIndex=r<t?this._caching.lastIndex:0,this.interpolateShape(t,this.pv,this._caching)),this._caching.lastFrame=t,this.pv}function i(){this.paths=this.localShapeCollection}function r(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}function s(t){r(this.v,t)||(this.v=shapePool.clone(t),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}
vendor: 6,146 bytes, line 6
6function n(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length)return void(this._mdf=!1);if(this.lock)return void this.setVValue(this.pv);this.lock=!0,this._mdf=!1;var t;t=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k;var e,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}}function a(t,e,r){this.propType="shape",this.comp=t.comp,this.container=t,this.elem=t,this.data=e,this.k=!1,this.kf=!1,this._mdf=!1;var s=3===r?e.pt.k:e.ks.k;this.v=shapePool.clone(s),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=i,this.effectsSequence=[]}function o(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function l(t,r,s){this.propType="shape",this.comp=t.comp,this.elem=t,this.container=t,this.offsetTime=t.data.st,this.keyframes=3===s?r.pt.k:r.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var n=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,n),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=f,this.reset=i,this._caching={lastFrame:f,lastIndex:0},this.effectsSequence=[e.bind(this)]}function h(t,e,i){var r;if(3===i||4===i){r=(3===i?e.pt:e.ks).k.length?new l(t,e,i):new a(t,e,i)}else 5===i?r=new m(t,e):6===i?r=new d(t,e):7===i&&(r=new u(t,e));return r.k&&t.addDynamicProperty(r),r}function p(){return a}function c(){return l}var f=-999999;a.prototype.interpolateShape=t,a.prototype.getValue=n,a.prototype.setVValue=s,a.prototype.addEffect=o,l.prototype.getValue=n,l.prototype.interpolateShape=t,l.prototype.setVValue=s,l.prototype.addEffect=o;var d=function(){function t(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())}var e=roundCorner;return t.prototype={reset:i,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var t=this.p.v[0],i=this.p.v[1],r=this.s.v[0]/2,s=this.s.v[1]/2,n=3!==this.d,a=this.v;a.v[0][0]=t,a.v[0][1]=i-s,a.v[1][0]=n?t+r:t-r,a.v[1][1]=i,a.v[2][0]=t,a.v[2][1]=i+s,a.v[3][0]=n?t-r:t+r,a.v[3][1]=i,a.i[0][0]=n?t-r*e:t+r*e,a.i[0][1]=i-s,a.i[1][0]=n?t+r:t-r,a.i[1][1]=i-s*e,a.i[2][0]=n?t+r*e:t-r*e,a.i[2][1]=i+s,a.i[3][0]=n?t-r:t+r,a.i[3][1]=i+s*e,a.o[0][0]=n?t+r*e:t-r*e,a.o[0][1]=i-s,a.o[1][0]=n?t+r:t-r,a.o[1][1]=i+s*e,a.o[2][0]=n?t-r*e:t+r*e,a.o[2][1]=i+s,a.o[3][0]=n?t-r:t+r,a.o[3][1]=i-s*e}},extendPrototype([DynamicPropertyContainer],t),t}(),u=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=PropertyFactory.getProp(t,e.pt,0,0,this),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.r=PropertyFactory.getProp(t,e.r,0,degToRads,this),this.or=PropertyFactory.getProp(t,e.or,0,0,this),this.os=PropertyFactory.getProp(t,e.os,0,.01,this),this.localShapeCollection=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:i,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var t,e,i,r,s=2*Math.floor(this.pt.v),n=2*Math.PI/s,a=!0,o=this.or.v,l=this.ir.v,h=this.os.v,p=this.is.v,c=2*Math.PI*o/(2*s),f=2*Math.PI*l/(2*s),d=-Math.PI/2;d+=this.r.v;var u=3===this.data.d?-1:1;for(this.v._length=0,t=0;t<s;t+=1){e=a?o:l,i=a?h:p,r=a?c:f;var m=e*Math.cos(d),g=e*Math.sin(d),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*u,g-v*r*i*u,m+y*r*i*u,g+v*r*i*u,t,!0),a=!a,d+=n*u}},convertPolygonToPath:function(){var t,e=Math.floor(this.pt.v),i=2*Math.PI/e,r=this.or.v,s=this.os.v,n=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 l=r*Math.cos(a),h=r*Math.sin(a),p=0===l&&0===h?0:h/Math.sqrt(l*l+h*h),c=0===l&&0===h?0:-l/Math.sqrt(l*l+h*h);l+=+this.p.v[0],h+=+this.p.v[1],this.v.setTripleAt(l,h,l-p*n*s*o,h-c*n*s*o,l+p*n*s*o,h+c*n*s*o,t,!0),a+=i*o}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],t),t}(),m=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,s=bmMin(i,r,this.r.v),n=s*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(t+i,e-r+s,t+i,e-r+s,t+i,e-r+n,0,!0),this.v.setTripleAt(t+i,e+r-s,t+i,e+r-n,t+i,e+r-s,
vendor: 4,295 bytes, line 6
61,!0),0!==s?(this.v.setTripleAt(t+i-s,e+r,t+i-s,e+r,t+i-n,e+r,2,!0),this.v.setTripleAt(t-i+s,e+r,t-i+n,e+r,t-i+s,e+r,3,!0),this.v.setTripleAt(t-i,e+r-s,t-i,e+r-s,t-i,e+r-n,4,!0),this.v.setTripleAt(t-i,e-r+s,t-i,e-r+n,t-i,e-r+s,5,!0),this.v.setTripleAt(t-i+s,e-r,t-i+s,e-r,t-i+n,e-r,6,!0),this.v.setTripleAt(t+i-s,e-r,t+i-n,e-r,t+i-s,e-r,7,!0)):(this.v.setTripleAt(t-i,e+r,t-i+n,e+r,t-i,e+r,2),this.v.setTripleAt(t-i,e-r,t-i,e-r+n,t-i,e-r,3))):(this.v.setTripleAt(t+i,e-r+s,t+i,e-r+n,t+i,e-r+s,0,!0),0!==s?(this.v.setTripleAt(t+i-s,e-r,t+i-s,e-r,t+i-n,e-r,1,!0),this.v.setTripleAt(t-i+s,e-r,t-i+n,e-r,t-i+s,e-r,2,!0),this.v.setTripleAt(t-i,e-r+s,t-i,e-r+s,t-i,e-r+n,3,!0),this.v.setTripleAt(t-i,e+r-s,t-i,e+r-n,t-i,e+r-s,4,!0),this.v.setTripleAt(t-i+s,e+r,t-i+s,e+r,t-i+n,e+r,5,!0),this.v.setTripleAt(t+i-s,e+r,t+i-n,e+r,t+i-s,e+r,6,!0),this.v.setTripleAt(t+i,e+r-s,t+i,e+r-s,t+i,e+r-n,7,!0)):(this.v.setTripleAt(t-i,e-r,t-i+n,e-r,t-i,e-r,1,!0),this.v.setTripleAt(t-i,e+r,t-i,e+r-n,t-i,e+r,2,!0),this.v.setTripleAt(t+i,e+r,t+i-n,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:i},extendPrototype([DynamicPropertyContainer],t),t}(),g={};return g.getShapeProp=h,g.getConstructorFunction=p,g.getKeyframedConstructorFunction=c,g}(),Matrix=function(){function t(){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 e(t){if(0===t)return this;var e=k(t),i=I(t);return this._t(e,-i,0,0,i,e,0,0,0,0,1,0,0,0,0,1)}function i(t){if(0===t)return this;var e=k(t),i=I(t);return this._t(1,0,0,0,0,e,-i,0,0,i,e,0,0,0,0,1)}function r(t){if(0===t)return this;var e=k(t),i=I(t);return this._t(e,0,i,0,0,1,0,0,-i,0,e,0,0,0,0,1)}function s(t){if(0===t)return this;var e=k(t),i=I(t);return this._t(e,-i,0,0,i,e,0,0,0,0,1,0,0,0,0,1)}function n(t,e){return this._t(1,e,t,1,0,0)}function a(t,e){return this.shear(M(t),M(e))}function o(t,e){var i=k(e),r=I(e);return this._t(i,r,0,0,-r,i,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,M(t),1,0,0,0,0,1,0,0,0,0,1)._t(i,-r,0,0,r,i,0,0,0,0,1,0,0,0,0,1)}function l(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 h(t,e,i,r,s,n,a,o,l,h,p,c,f,d,u,m){return this.props[0]=t,this.props[1]=e,this.props[2]=i,this.props[3]=r,this.props[4]=s,this.props[5]=n,this.props[6]=a,this.props[7]=o,this.props[8]=l,this.props[9]=h,this.props[10]=p,this.props[11]=c,this.props[12]=f,this.props[13]=d,this.props[14]=u,this.props[15]=m,this}function p(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 c(t,e,i,r,s,n,a,o,l,h,p,c,f,d,u,m){var g=this.props;if(1===t&&0===e&&0===i&&0===r&&0===s&&1===n&&0===a&&0===o&&0===l&&0===h&&1===p&&0===c)return g[12]=g[12]*t+g[15]*f,g[13]=g[13]*n+g[15]*d,g[14]=g[14]*p+g[15]*u,g[15]*=m,this._identityCalculated=!1,this;var y=g[0],v=g[1],b=g[2],E=g[3],_=g[4],S=g[5],C=g[6],x=g[7],P=g[8],T=g[9],A=g[10],D=g[11],w=g[12],k=g[13],I=g[14],M=g[15];return g[0]=y*t+v*s+b*l+E*f,g[1]=y*e+v*n+b*h+E*d,g[2]=y*i+v*a+b*p+E*u,g[3]=y*r+v*o+b*c+E*m,g[4]=_*t+S*s+C*l+x*f,g[5]=_*e+S*n+C*h+x*d,g[6]=_*i+S*a+C*p+x*u,g[7]=_*r+S*o+C*c+x*m,g[8]=P*t+T*s+A*l+D*f,g[9]=P*e+T*n+A*h+D*d,g[10]=P*i+T*a+A*p+D*u,g[11]=P*r+T*o+A*c+D*m,g[12]=w*t+k*s+I*l+M*f,g[13]=w*e+k*n+I*h+M*d,g[14]=w*i+k*a+I*p+M*u,g[15]=w*r+k*o+I*c+M*m,this._identityCalculated=!1,this}function f(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 d(){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 u(t){for(var e=0;e<16;){if(t.props[e]!==this.props[e])return!1;e+=1}return!0}function m(t){var e;
vendor: 8,757 bytes, lines 6-7
6for(e=0;e<16;e+=1)t.props[e]=this.props[e];return t}function g(t){var e;for(e=0;e<16;e+=1)this.props[e]=t[e]}function y(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 v(t,e,i){return t*this.props[0]+e*this.props[4]+i*this.props[8]+this.props[12]}function b(t,e,i){return t*this.props[1]+e*this.props[5]+i*this.props[9]+this.props[13]}function E(t,e,i){return t*this.props[2]+e*this.props[6]+i*this.props[10]+this.props[14]}function _(){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,s=this.props[0]/t,n=(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]=s,o.props[12]=n,o.props[13]=a,o}function S(t){return this.getInverseMatrix().applyToPointArray(t[0],t[1],t[2]||0)}function C(t){var e,i=t.length,r=[];for(e=0;e<i;e+=1)r[e]=S(t[e]);return r}function x(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 s=this.props[0],n=this.props[1],a=this.props[4],o=this.props[5],l=this.props[12],h=this.props[13];r[0]=t[0]*s+t[1]*a+l,r[1]=t[0]*n+t[1]*o+h,r[2]=e[0]*s+e[1]*a+l,r[3]=e[0]*n+e[1]*o+h,r[4]=i[0]*s+i[1]*a+l,r[5]=i[0]*n+i[1]*o+h}return r}function P(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 T(t,e){if(this.isIdentity())return t+","+e;var i=this.props 7;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 A(){for(var t=0,e=this.props,i="matrix3d(";t<16;)i+=F(1e4*e[t])/1e4,i+=15===t?")":",",t+=1;return i}function D(t){return t<1e-6&&t>0||t>-1e-6&&t<0?F(1e4*t)/1e4:t}function w(){var t=this.props;return"matrix("+D(t[0])+","+D(t[1])+","+D(t[4])+","+D(t[5])+","+D(t[12])+","+D(t[13])+")"}var k=Math.cos,I=Math.sin,M=Math.tan,F=Math.round;return function(){this.reset=t,this.rotate=e,this.rotateX=i,this.rotateY=r,this.rotateZ=s,this.skew=a,this.skewFromAxis=o,this.shear=n,this.scale=l,this.setTransform=h,this.translate=p,this.transform=c,this.multiply=f,this.applyToPoint=y,this.applyToX=v,this.applyToY=b,this.applyToZ=E,this.applyToPointArray=P,this.applyToTriplePoints=x,this.applyToPointStringified=T,this.toCSS=A,this.to2dCSS=w,this.clone=m,this.cloneFromProps=g,this.equals=u,this.inversePoints=C,this.inversePoint=S,this.getInverseMatrix=_,this._t=this.transform,this.isIdentity=d,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}(),lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";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.13.0";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"===("undefined"==typeof exports?"undefined":_typeof$3(exports))&&"undefined"!=typeof module||"function"==typeof define&&define.amd||(window.bodymovin=lottie)}catch(t){}var ShapeModifiers=function(){function t(t,e){r[t]||(r[t]=e)}function e(t,e,i){return new r[t](e,i)}var i={},r={};return i.registerModifier=t,i.getModifier=e,i}();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=PropertyFactory.getProp(t,e.e,0,.01,this),this.o=PropertyFactory.getProp(t,e.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=e.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(t){t.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(t,e,i,r,s){var n=[];e<=1?n.push({s:t,e:e}):t>=1?n.push({s:t-1,e:e-1}):(n.push({s:t,e:1}),n.push({s:0,e:e-1}));var a,o,l=[],h=n.length;for(a=0;a<h;a+=1)if(o=n[a],!(o.e*s<r||o.s*s>r+i)){var p,c;p=o.s*s<=r?0:(o.s*s-r)/i,c=o.e*s>=r+i?1:(o.e*s-r)/i,l.push([p,c])}return l.length||l.push([0,0]),l},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;if(this._mdf||t){var r=this.o.v%360/360;if(r<0&&(r+=1),e=this.s.v>1?1+r:this.s.v<0?0+r:this.s.v+r,i=this.e.v>1?1+r:this.e.v<0?0+r:this.e.v+r,e>i){var s=e;e=i,i=s}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 n,a,o,l,h,p,c,f=this.shapes.length,d=0;if(i===e)for(a=0;a<f;a+=1)this.shapes[a].localShapeCollection.releaseShapes(),this.shapes[a].shape._mdf=!0,this.shapes[a].shape.paths=this.shapes[a].localShapeCollection,this._mdf&&(this.shapes[a].pathsData.length=0);else if(1===i&&0===e||0===i&&1===e){if(this._mdf)for(a=0;a<f;a+=1)this.shapes[a].pathsData.length=0,this.shapes[a].shape._mdf=!0}else{var u,m,g=[];for(a=0;a<f;a+=1)if(u=this.shapes[a],u.shape._mdf||this._mdf||t||2===this.m){if(n=u.shape.paths,l=n._length,c=0,!u.shape._mdf&&u.pathsData.length)c=u.totalShapeLength;else{for(h=this.releasePathsData(u.pathsData),o=0;o<l;o+=1)p=bez.getSegmentsLength(n.shapes[o]),h.push(p),c+=p.totalLength;u.totalShapeLength=c,u.pathsData=h}d+=c,u.shape._mdf=!0}else u.shape.paths=u.localShapeCollection;var y,v=e,b=i,E=0;for(a=f-1;a>=0;a-=1)if(u=this.shapes[a],u.shape._mdf){for(m=u.localShapeCollection,m.releaseShapes(),2===this.m&&f>1?(y=this.calculateShapeEdges(e,i,u.totalShapeLength,E,d),E+=u.totalShapeLength):y=[[v,b]],l=y.length,o=0;o<l;o+=1){v=y[o][0],b=y[o][1],g.length=0,b<=1?g.push({s:u.totalShapeLength*v,e:u.totalShapeLength*b}):v>=1?g.push({s:u.totalShapeLength*(v-1),e:u.totalShapeLength*(b-1)}):(g.push({s:u.totalShapeLength*v,e:u.totalShapeLength}),g.push({s:0,e:u.totalShapeLength*(b-1)}));var _=this.addShapes(u,g[0]);if(g[0].s!==g[0].e){if(g.length>1){var S=u.shape.paths.shapes[u.shape.paths._length-1];if(S.c){var C=_.pop();this.addPaths(_,m),_=this.addShapes(u,g[1],C)}else this.addPaths(_,m),_=this.addShapes(u,g[1])}this.addPaths(_,m)}}u.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,s,n,a){s.setXYAt(e[0],e[1],"o",n),s.setXYAt(i[0],i[1],"i",n+1),a&&s.setXYAt(t[0],t[1],"v",n),s.setXYAt(r[0],r[1],"v",n+1)}
vendor: 5,390 bytes, line 7
7,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,s,n,a,o,l,h,p,c=t.pathsData,f=t.shape.paths.shapes,d=t.shape.paths._length,u=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<d;r+=1){for(l=c[r].lengths,i.c=f[r].c,n=f[r].c?l.length:l.length+1,s=1;s<n;s+=1)if(a=l[s-1],u+a.addedLength<e.s)u+=a.addedLength,i.c=!1;else{if(u>e.e){i.c=!1;break}e.s<=u&&e.e>=u+a.addedLength?(this.addSegment(f[r].v[s-1],f[r].o[s-1],f[r].i[s],f[r].v[s],i,o,g),g=!1):(h=bez.getNewSegment(f[r].v[s-1],f[r].v[s],f[r].o[s-1],f[r].i[s],(e.s-u)/a.addedLength,(e.e-u)/a.addedLength,l[s-1]),this.addSegmentFromArray(h,i,o,g),g=!1,i.c=!1),u+=a.addedLength,o+=1}if(f[r].c&&l.length){if(a=l[s-1],u<=e.e){var y=l[s-1].addedLength;e.s<=u&&e.e>=u+y?(this.addSegment(f[r].v[s-1],f[r].o[s-1],f[r].i[0],f[r].v[0],i,o,g),g=!1):(h=bez.getNewSegment(f[r].v[s-1],f[r].v[0],f[r].o[s-1],f[r].i[0],(e.s-u)/y,(e.e-u)/y,l[s-1]),this.addSegmentFromArray(h,i,o,g),g=!1,i.c=!1)}else i.c=!1;u+=a.addedLength,o+=1}if(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)),u>e.e)break;r<d-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],s=t._length,n=0;for(n=0;n<s;n+=1)r[0]+=t.v[n][0],r[1]+=t.v[n][1];r[0]/=s,r[1]/=s;var a=shapePool.newElement();a.c=t.c;var o,l,h,p,c,f;for(n=0;n<s;n+=1)o=t.v[n][0]+(r[0]-t.v[n][0])*i,l=t.v[n][1]+(r[1]-t.v[n][1])*i,h=t.o[n][0]+(r[0]-t.o[n][0])*-i,p=t.o[n][1]+(r[1]-t.o[n][1])*-i,c=t.i[n][0]+(r[0]-t.i[n][0])*-i,f=t.i[n][1]+(r[1]-t.i[n][1])*-i,a.setTripleAt(o,l,h,p,c,f,n);return a},PuckerAndBloatModifier.prototype.processShapes=function(t){var e,i,r,s,n=this.shapes.length,a=this.amount.v;if(0!==a){var o,l;for(i=0;i<n;i+=1){if(o=this.shapes[i],l=o.localShapeCollection,o.shape._mdf||this._mdf||t)for(l.releaseShapes(),o.shape._mdf=!0,e=o.shape.paths.shapes,s=o.shape.paths._length,r=0;r<s;r+=1)l.addShape(this.processPath(e[r],a));o.shape.paths=o.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){function t(t){var e=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||e,this.a&&t.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&t.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&t.skewFromAxis(-this.sk.v,this.sa.v),this.r?t.rotate(-this.r.v):t.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?t.translate(this.px.v,this.py.v,-this.pz.v):t.translate(this.px.v,this.py.v,0):t.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function e(t){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||t){var e;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var i,r;if(e=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(i=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/e,0),r=this.p.getValueAtTime(this.p.keyframes[0].t/e,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(i=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/e,0),r=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/e,0)):(i=this.p.pv,r=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/e,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){i=[],r=[];var s=this.px,n=this.py;s._caching.lastFrame+s.offsetTime<=s.keyframes[0].t?(i[0]=s.getValueAtTime((s.keyframes[0].t+.01)/e,0),i[1]=n.getValueAtTime((n.keyframes[0].t+.01)/e,0),r[0]=s.getValueAtTime(s.keyframes[0].t/e,0),r[1]=n.getValueAtTime(n.keyframes[0].t/e,0)):s._caching.lastFrame+s.offsetTime>=s.keyframes[s.keyframes.length-1].t?(i[0]=s.getValueAtTime(s.keyframes[s.keyframes.length-1].t/e,0),i[1]=n.getValueAtTime(n.keyframes[n.keyframes.length-1].t/e,0),r[0]=s.getValueAtTime((s.keyframes[s.keyframes.length-1].t-.01)/e,0),r[1]=n.getValueAtTime((n.keyframes[n.keyframes.length-1].t-.01)/e,0)):(i=[s.pv,n.pv],r[0]=s.getValueAtTime((s._caching.lastFrame+s.offsetTime-.01)/e,s.offsetTime),r[1]=n.getValueAtTime((n._caching.lastFrame+n.offsetTime-.01)/e,n.offsetTime))}else r=o,i=r;
vendor: 4,958 bytes, line 7
7this.v.rotate(-Math.atan2(i[1]-r[1],i[0]-r[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function i(){if(this.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)}}function r(){}function s(t){this._addDynamicProperty(t),this.elem.addDynamicProperty(t),this._isDirty=!0}function n(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,s=e.or.k.length;for(r=0;r<s;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)}function a(t,e,i){return new n(t,e,i)}var o=[0,0];return n.prototype={applyToMatrix:t,getValue:e,precalculateMatrix:i,autoOrient:r},extendPrototype([DynamicPropertyContainer],n),n.prototype.addDynamicProperty=s,n.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:a}}();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,s,n){var a=n?-1:1,o=r.s.v[0]+(1-r.s.v[0])*(1-s),l=r.s.v[1]+(1-r.s.v[1])*(1-s);t.translate(r.p.v[0]*a*s,r.p.v[1]*a*s,r.p.v[2]),e.translate(-r.a.v[0],-r.a.v[1],r.a.v[2]),e.rotate(-r.r.v*a*s),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(n?1/o:o,n?1/l:l),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,s,n,a=!1;if(this._mdf||t){var o=Math.ceil(this.c.v);if(this._groups.length<o){for(;this._groups.length<o;){var l={it:this.cloneElements(this._elements),ty:"gr"};l.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]}
vendor: 5,499 bytes, line 7
7,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}n=0;var h;for(r=0;r<=this._groups.length-1;r+=1){if(h=n<o,this._groups[r]._render=h,this.changeGroupRender(this._groups[r].it,h),!h){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}n+=1}this._currentCopies=o;var f=this.o.v,d=f%1,u=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=0;if(f>0){for(;v<u;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),v+=1;d&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,d,!1),v+=d)}else if(f<0){for(;v>u;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),v-=1;d&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-d,!0),v-=d)}r=1===this.data.m?0:this._currentCopies-1,s=1===this.data.m?1:-1,n=this._currentCopies;for(var b,E;n;){if(e=this.elemsData[r].it,i=e[e.length-1].transform.mProps.v.props,E=i.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!==v){for((0!==r&&1===s||r!==this._currentCopies-1&&-1===s)&&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]),b=0;b<E;b+=1)i[b]=this.matrix.props[b];this.matrix.reset()}else for(this.matrix.reset(),b=0;b<E;b+=1)i[b]=this.matrix.props[b];v+=1,n-=1,r+=s}}else for(n=this._currentCopies,r=0,s=1;n;)e=this.elemsData[r].it,i=e[e.length-1].transform.mProps.v.props,e[e.length-1].transform.mProps._mdf=!1,e[e.length-1].transform.op._mdf=!1,n-=1,r+=s;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=shapePool.newElement();i.c=t.c;var r,s,n,a,o,l,h,p,c,f,d,u,m,g=t._length,y=0;for(r=0;r<g;r+=1)s=t.v[r],a=t.o[r],n=t.i[r],s[0]===a[0]&&s[1]===a[1]&&s[0]===n[0]&&s[1]===n[1]?0!==r&&r!==g-1||t.c?(o=0===r?t.v[g-1]:t.v[r-1],l=Math.sqrt(Math.pow(s[0]-o[0],2)+Math.pow(s[1]-o[1],2)),h=l?Math.min(l/2,e)/l:0,u=s[0]+(o[0]-s[0])*h,p=u,m=s[1]-(s[1]-o[1])*h,c=m,f=p-(p-s[0])*roundCorner,d=c-(c-s[1])*roundCorner,i.setTripleAt(p,c,f,d,u,m,y),y+=1,o=r===g-1?t.v[0]:t.v[r+1],l=Math.sqrt(Math.pow(s[0]-o[0],2)+Math.pow(s[1]-o[1],2)),h=l?Math.min(l/2,e)/l:0,f=s[0]+(o[0]-s[0])*h,p=f,d=s[1]+(o[1]-s[1])*h,c=d,u=p-(p-s[0])*roundCorner,m=c-(c-s[1])*roundCorner,i.setTripleAt(p,c,f,d,u,m,y),y+=1):(i.setTripleAt(s[0],s[1],a[0],a[1],n[0],n[1],y),y+=1):(i.setTripleAt(t.v[r][0],t.v[r][1],t.o[r][0],t.o[r][1],t.i[r][0],t.i[r][1],y),y+=1);return i},RoundCornersModifier.prototype.processShapes=function(t){var e,i,r,s,n=this.shapes.length,a=this.rd.v;if(0!==a){var o,l;for(i=0;i<n;i+=1){if(o=this.shapes[i],l=o.localShapeCollection,o.shape._mdf||this._mdf||t)for(l.releaseShapes(),o.shape._mdf=!0,e=o.shape.paths.shapes,s=o.shape.paths._length,r=0;r<s;r+=1)l.addShape(this.processPath(e[r],a));o.shape.paths=o.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),s=lerpPoint(e,i,t),n=lerpPoint(i,r,t),a=lerpPoint(s,n,t);return[new PolynomialBezier(this.points[0],e,s,a,!0),new PolynomialBezier(a,n,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}}
vendor: 6,309 bytes, line 7
7,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 s=t._length,n=shapePool.newElement();if(n.c=t.c,t.c||(s-=1),0===s)return n;var a=-1,o=PolynomialBezier.shapeSegment(t,0);zigZagCorner(n,t,0,e,i,r,a);for(var l=0;l<s;l+=1)a=zigZagSegment(n,o,e,i,r,-a),o=l!==s-1||t.c?PolynomialBezier.shapeSegment(t,(l+1)%s):null,zigZagCorner(n,t,l+1,e,i,r,a);return n},ZigZagModifier.prototype.processShapes=function(t){var e,i,r,s,n=this.shapes.length,a=this.amplitude.v,o=Math.max(0,Math.round(this.frequency.v)),l=this.pointsType.v;if(0!==a){var h,p;for(i=0;i<n;i+=1){if(h=this.shapes[i],p=h.localShapeCollection,h.shape._mdf||this._mdf||t)for(p.releaseShapes(),h.shape._mdf=!0,e=h.shape.paths.shapes,s=h.shape.paths._length,r=0;r<s;r+=1)p.addShape(this.processPath(e[r],a,o,l));h.shape.paths=h.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 s=shapePool.newElement();s.c=t.c;var n=t.length();t.c||(n-=1);var a,o,l,h=[];for(a=0;a<n;a+=1)l=PolynomialBezier.shapeSegment(t,a),h.push(offsetSegmentSplit(l,e));if(!t.c)for(a=n-1;a>=0;a-=1)l=PolynomialBezier.shapeSegmentInverted(t,a),h.push(offsetSegmentSplit(l,e));h=pruneIntersections(h);var p=null,c=null;for(a=0;a<h.length;a+=1){var f=h[a];for(c&&(p=joinLines(s,c,f[0],i,r)),c=f[f.length-1],o=0;o<f.length;o+=1)l=f[o],p&&pointEqual(l.points[0],p)?s.setXYAt(l.points[1][0],l.points[1][1],"o",s.length()-1):s.setTripleAt(l.points[0][0],l.points[0][1],l.points[1][0],l.points[1][1],l.points[0][0],l.points[0][1],s.length()),s.setTripleAt(l.points[3][0],l.points[3][1],l.points[3][0],l.points[3][1],l.points[2][0],l.points[2][1],s.length()),p=l.points[3]}return h.length&&joinLines(s,c,h[0][0],i,r),s},OffsetPathModifier.prototype.processShapes=function(t){var e,i,r,s,n=this.shapes.length,a=this.amount.v,o=this.miterLimit.v,l=this.lineJoin;if(0!==a){var h,p;for(i=0;i<n;i+=1){if(h=this.shapes[i],p=h.localShapeCollection,h.shape._mdf||this._mdf||t)for(p.releaseShapes(),h.shape._mdf=!0,e=h.shape.paths.shapes,s=h.shape.paths._length,r=0;r<s;r+=1)p.addShape(this.processPath(e[r],a,l,o));h.shape.paths=h.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var FontManager=function(){function t(t){var e,i=t.split(","),r=i.length,s=[];for(e=0;e<r;e+=1)"sans-serif"!==i[e]&&"monospace"!==i[e]&&s.push(i[e]);return s.join(",")}function e(e,i){var r=createTag("span");r.setAttribute("aria-hidden",!0),r.style.fontFamily=i;var s=createTag("span");s.innerText="giItT1WQy@!-/#",r.style.position="absolute",r.style.left="-10000px",r.style.top="-10000px",r.style.fontSize="300px",r.style.fontVariant="normal",r.style.fontStyle="normal",r.style.fontWeight="normal",r.style.letterSpacing="0",r.appendChild(s),document.body.appendChild(r);var n=s.offsetWidth;return s.style.fontFamily=t(e)+", "+i,{node:s,w:n,parent:r}}function i(){var t,e,i,r=this.fonts.length,s=r;for(t=0;t<r;t+=1)this.fonts[t].loaded?s-=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?(s-=1,this.fonts[t].loaded=!0):(e=this.fonts[t].sansCase.node,i=this.fonts[t].sansCase.w,e.offsetWidth!==i&&(s-=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!==s&&Date.now()-this.initTime<v?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function r(t,e){function i(t){return"svg"===s?(r.textContent=t,r.getComputedTextLength()):r.measureText(t).width}var r,s=document.body&&e?"svg":"canvas",n=getFontProperties(t);if("svg"===s){var a=createNS("text");a.style.fontSize="100px",a.setAttribute("font-family",t.fFamily),a.setAttribute("font-style",n.style),a.setAttribute("font-weight",n.weight),a.textContent="1",t.fClass?(a.style.fontFamily="inherit",a.setAttribute("class",t.fClass)):a.style.fontFamily=t.fFamily,e.appendChild(a),r=a}else{var o=new OffscreenCanvas(500,500).getContext("2d");o.font=n.style+" "+n.weight+" 100px "+t.fFamily,r=o}return{measureText:i}}function s(t,i){if(!t)return void(this.isLoaded=!0);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=r(t),t.cache={}}),void(this.fonts=t.list);var s,n=t.list,a=n.length,o=a;for(s=0;s<a;s+=1){var l,h,p=!0;if(n[s].loaded=!1,n[s].monoCase=e(n[s].fFamily,"monospace"),n[s].sansCase=e(n[s].fFamily,"sans-serif"),n[s].fPath){if("p"===n[s].fOrigin||3===n[s].origin){if(l=document.querySelectorAll('style[f-forigin="p"][f-family="'+n[s].fFamily+'"], style[f-origin="3"][f-family="'+n[s].fFamily+'"]'),l.length>0&&(p=!1),p){var c=createTag("style");c.setAttribute("f-forigin",n[s].fOrigin),c.setAttribute("f-origin",n[s].origin),c.setAttribute("f-family",n[s].fFamily),c.type="text/css",c.innerText="@font-face {font-family: "+n[s].fFamily+"; font-style: normal; src: url('"+n[s].fPath+"');}",i.appendChild(c)}}
vendor: 9,248 bytes, lines 7-8
7else if("g"===n[s].fOrigin||1===n[s].origin){for(l=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),h=0;h<l.length;h+=1)-1!==l[h].href.indexOf(n[s].fPath)&&(p=!1);if(p){var f=createTag("link");f.setAttribute("f-forigin",n[s].fOrigin),f.setAttribute("f-origin",n[s].origin),f.type="text/css",f.rel="stylesheet",f.href=n[s].fPath,document.body.appendChild(f)}}else if("t"===n[s].fOrigin||2===n[s].origin){for(l=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),h=0;h<l.length;h+=1)n[s].fPath===l[h].src&&(p=!1);if(p){var d=createTag("link");d.setAttribute("f-forigin",n[s].fOrigin),d.setAttribute("f-origin",n[s].origin),d.setAttribute("rel","stylesheet"),d.setAttribute("href",n[s].fPath),i.appendChild(d)}}}else n[s].loaded=!0,o-=1;n[s].helper=r(n[s],i),n[s].cache={},this.fonts.push(n[s])}0===o?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function n(t){if(t){this.chars||(this.chars=[]);var e,i,r,s=t.length,n=this.chars.length;for(e=0;e<s;e+=1){for(i=0,r=!1;i<n;)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]),n+=1)}}}function a(t,e,i){for(var r=0,s=this.chars.length;r<s;){if(this.chars[r].ch===t&&this.chars[r].style===e&&this.chars[r].fFamily===i)return this.chars[r];r+=1}return("string"==typeof t&&13!==t.charCodeAt(0)||!t)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",t,e,i)),b}function o(t,e,i){var r=this.getFontByName(e),s=t;if(!r.cache[s]){var n=r.helper;if(" "===t){var a=n.measureText("|"+t+"|"),o=n.measureText("||");r.cache[s]=(a-o)/100}else r.cache[s]=n.measureText(t)/100}return r.cache[s]*i}function l(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]}function h(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 p(t,e){var i=t.toString(16)+e.toString(16);return-1!==w.indexOf(i)}function c(t){return t===T}function f(t){return t===P}function d(t){var e=h(t);return e>=A&&e<=D}function u(t){return d(t.substr(0,2))&&d(t.substr(2,2))}function m(t){return-1!==E.indexOf(t)}function g(t,e){var i=h(t.substr(e,2));if(i!==_)return!1;var r=0;for(e+=2;r<5;){if((i=h(t.substr(e,2)))<C||i>x)return!1;r+=1,e+=2}return h(t.substr(e,2))===S}function y(){this.isLoaded=!0}var v=5e3,b={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 _=127988,S=917631,C=917601,x=917626,P=65039,T=8205,A=127462,D=127487,w=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"],k=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0, 8this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};return k.isModifier=p,k.isZeroWidthJoiner=c,k.isFlagEmoji=u,k.isRegionalCode=d,k.isCombinedCharacter=m,k.isRegionalFlag=g,k.isVariationSelector=f,k.BLACK_FLAG_CODE_POINT=_,k.prototype={addChars:n,addFonts:s,getCharData:a,getFontByName:l,measureText:o,checkLoadedFonts:i,setIsLoaded:y},k}();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=function(){var t={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(e){return t[e]||""}}();extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(t,e){this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(e);var i,r,s=this.data.ef.length,n=this.data.ef;for(i=0;i<s;i+=1){switch(r=null,n[i].ty){case 0:r=new SliderEffect(n[i],e,this);break;case 1:r=new AngleEffect(n[i],e,this);break;case 2:r=new ColorEffect(n[i],e,this);break;case 3:r=new PointEffect(n[i],e,this);break;case 4:case 7:r=new CheckboxEffect(n[i],e,this);break;case 10:r=new LayerIndexEffect(n[i],e,this);break;case 11:r=new MaskIndexEffect(n[i],e,this);break;case 5:r=new EffectsManager(n[i],e,this);break;default:r=new NoValueEffect(n[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"),s=t("text"),n=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=n(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=s(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.dynamicProperties)},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}
vendor: 5,745 bytes, line 8
8,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],i.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: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);default:return this.createNull(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){this.completeLayers=!1;var e,i,r=t.length,s=this.layers.length;for(e=0;e<r;e+=1)for(i=0;i<s;){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,s=this.layers,n=0,a=s.length;n<a;)s[n].ind==e&&(r[n]&&!0!==r[n]?(i.push(r[n]),r[n].setAsParent(),void 0!==s[n].parent?this.buildElementParenting(t,s[n].parent,i):t.setHierarchy(i)):(this.buildItem(n),this.addPendingElement(t))),n+=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,s=this.elements.length;for(r=0;r<s;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"};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.localTransforms&&!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 s=this.finalTransform.localOpacity;for(t=0;t<e;t+=1)s*=.01*this.localTransforms[t].opacity;this.finalTransform.localOpacity=s}}}
vendor: 4,937 bytes, line 8
8,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=!0,r=this.comp;i;)r.finalTransform?(r.data.hasMask&&e.splice(0,0,r.finalTransform),r=r.comp):i=!1;var s,n,a=e.length;for(s=0;s<a;s+=1)n=e[s].mat.applyToPointArray(0,0,0),t=[t[0]-n[0],t[1]-n[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 s=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+")")),s.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,s,n=" M"+e.v[0][0]+","+e.v[0][1];for(s=e._length,r=1;r<s;r+=1)n+=" 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&&s>1&&(n+=" 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!==n){var a="";i.elem&&(e.c&&(a=t.inv?this.solidPath+n:n),i.elem.setAttribute("d",a)),i.lastPath=n}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){function t(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}function e(){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}var i={};return i.createFilter=t,i.createAlphaToLuminanceFilter=e,i}(),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_";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 s=createElementID();if(i.setAttribute("id",s),i.appendChild(r),this.globalData.defs.appendChild(i),this.checkMasks()){var n=createNS("g");
vendor: 7,976 bytes, line 8
8n.setAttribute("clip-path","url("+getLocationHref()+"#"+s+")"),n.appendChild(this.layerElement),this.transformedElement=n,t?t.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+s+")")}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,s,n=this.layerId+"_"+t;if(1===t||3===t){var a=createNS("mask");a.setAttribute("id",n),a.setAttribute("mask-type",3===t?"luminance":"alpha"),r=createNS("use"),r.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()),s=createNS("g"),s.appendChild(r),a.appendChild(s),s.setAttribute("filter","url("+getLocationHref()+"#"+e+")"))}else if(2===t){var o=createNS("mask");o.setAttribute("id",n),o.setAttribute("mask-type","alpha");var l=createNS("g");o.appendChild(l),e=createElementID(),i=filtersFactory.createFilter(e);var h=createNS("feComponentTransfer");h.setAttribute("in","SourceGraphic"),i.appendChild(h);var p=createNS("feFuncA");p.setAttribute("type","table"),p.setAttribute("tableValues","1.0 0.0"),h.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"),l.setAttribute("filter","url("+getLocationHref()+"#"+e+")"),l.appendChild(c),r=createNS("use"),r.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),l.appendChild(r),featureSupport.maskType||(o.setAttribute("mask-type","luminance"),i.appendChild(filtersFactory.createAlphaToLuminanceFilter()),s=createNS("g"),l.appendChild(c),s.appendChild(this.layerElement),l.appendChild(s)),this.globalData.defs.appendChild(o)}this.matteMasks[t]=n}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,[])}},function(){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(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){(this.baseElement||this.layerElement).style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!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();e=this.shapeModifiers.length;for(t=e-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(r-=1,i[r].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"};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,s=4*this.data.p;for(e=0;e<s;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(s=this.prop.v.length,e=4*this.data.p;e<s;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,
vendor: 7,552 bytes, lines 8-9
8i){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 s,n,a,o=[];for(a=4*e.g.p,n=0;n<a;n+=4)s=createNS("stop"),r.appendChild(s),o.push(s);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,s,n=createNS("mask"),a=createNS("path");n.appendChild(a);var o=createElementID(),l=createElementID();n.setAttribute("id",l);var h=createNS(1===t.t?"linearGradient":"radialGradient");h.setAttribute("id",o),h.setAttribute("spreadMethod","pad"),h.setAttribute("gradientUnits","userSpaceOnUse"),s=t.g.k.k[0].s?t.g.k.k[0].s.length:t.g.k.k.length;var p=this.stops;for(r=4*t.g.p;r<s;r+=2)i=createNS("stop"),i.setAttribute("stop-color","rgb(255,255,255)"),h.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=h,this.ms=n,this.ost=p,this.maskId=l,e.msElem=a}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var buildShapeString=function(t,e,i,r){if(0===e)return"";var s,n=t.o,a=t.i,o=t.v,l=" M"+r.applyToPointStringified(o[0][0],o[0][1]);for(s=1;s<e;s+=1)l+=" C"+r.applyToPointStringified(n[s-1][0],n[s-1][1])+" "+r.applyToPointStringified(a[s][0],a[s][1])+" "+r.applyToPointStringified(o[s][0],o[s][1]);return i&&e&&(l+=" C"+r.applyToPointStringified(n[s-1][0],n[s-1][1])+" "+r.applyToPointStringified(a[0][0],a[0][1])+" "+r.applyToPointStringified(o[0][0],o[0][1]),l+="z"),l},SVGElementsRenderer=function(){function t(t){switch(t.ty){case"fl":return s;case"gf":return a;case"gs":return n;case"st":return o;case"sh":case"el":case"rc":case"sr":return r;case"tr":return e;case"no":return i;default:return null}}function e(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 i(){}function r(t,e,i){var r,s,n,a,o,p,c,f,d,u,m=e.styles.length,g=e.lvl;for(p=0;p<m;p+=1){if(a=e.sh._mdf||i,e.styles[p].lvl<g){for(f=h.reset(),d=g-e.styles[p].lvl,u=e.transformers.length-1;!a&&d>0;)a=e.transformers[u].mProps._mdf||a,d-=1,u-=1;if(a)for(d=g-e.styles[p].lvl,u=e.transformers.length-1;d>0;)f.multiply(e.transformers[u].mProps.v),d-=1,u-=1}else f=l;if(c=e.sh.paths,s=c._length,a){for(n="",r=0;r<s;r+=1)(o=c.shapes[r])&&o._length&&(n+=buildShapeString(o,o._length,o.c,f));e.caches[p]=n}else n=e.caches[p];e.styles[p].d+=!0===t.hd?"":n,e.styles[p]._mdf=a||e.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 n(t,e,i){a(t,e,i),o(t,e,i)}function a(t,e,i){var r=e.gf,s=e.g._hasOpacity,n=e.s.v,a=e.e.v;if(e.o._mdf||i){var o="gf"===t.ty?"fill-opacity":"stroke-opacity";e.style.pElem.setAttribute(o,e.o.v)}if(e.s._mdf||i){var l=1===t.t?"x1":"cx",h="x1"===l?"y1":"cy";r.setAttribute(l,n[0]),r.setAttribute(h,n[1]),s&&!e.g._collapsable&&(e.of.setAttribute(l,n[0]),e.of.setAttribute(h,n[1]))}var p,c,f,d;if(e.g._cmdf||i){p=e.cst;var u=e.g.c;for(f=p.length,c=0;c<f;c+=1)d=p[c],d.setAttribute("offset",u[4*c]+"%"),d.setAttribute("stop-color","rgb("+u[4*c+1]+","+u[4*c+2]+","+u[4*c+3]+")")}if(s&&(e.g._omdf||i)){var m=e.g.o;for(p=e.g._collapsable?e.cst:e.ost,f=p.length,c=0;c<f;c+=1)d=p[c],e.g._collapsable||d.setAttribute("offset",m[2*c]+"%"),d.setAttribute("stop-opacity",m[2*c+1])}if(1===t.t)(e.e._mdf||i)&&(r.setAttribute("x2",a[0]),r.setAttribute("y2",a[1]),s&&!e.g._collapsable&&(e.of.setAttribute("x2",a[0]),e.of.setAttribute("y2",a[1])));else{var g;if((e.s._mdf||e.e._mdf||i)&&(g=Math.sqrt(Math.pow(n[0]-a[0],2)+Math.pow(n[1]-a[1],2)),r.setAttribute("r",g),s&&!e.g._collapsable&&e.of.setAttribute("r",g)),e.s._mdf||e.e._mdf||e.h._mdf||e.a._mdf||i){g||(g=Math.sqrt(Math.pow(n[0]-a[0],2)+Math.pow(n[1]-a[1],2)));var y=Math.atan2(a[1]-n[1],a[0]-n[0]),v=e.h.v;v>=1?v=.99:v<=-1&&(v=-.99);var b=g*v,E=Math.cos(y+e.a.v)*b+n[0],_=Math.sin(y+e.a.v)*b+n[1];r.setAttribute("fx",E),r.setAttribute("fy",_),s&&!e.g._collapsable&&(e.of.setAttribute("fx",E),e.of.setAttribute("fy",_))}}}function o(t,e,i){var r=e.style,s=e.d;s&&(s._mdf||i)&&s.dashStr&&(r.pElem.setAttribute("stroke-dasharray",s.dashStr),r.pElem.setAttribute("stroke-dashoffset",s.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))}var l=new Matrix,h=new Matrix;return{createRenderFunction:t}}();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,s=this.shapes.length,n=this.stylesList.length,a=[],o=!1;for(i=0;i<n;i+=1){for(r=this.stylesList[i],o=!1,a.length=0,t=0;t<s;t+=1)e=this.shapes[t],-1!==e.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),s=r.pElem;if("st"===t.ty)i=new SVGStrokeStyleData(this,t,r);else if("fl"===t.ty)i=new SVGFillStyleData(this,t,r);else if("gf"===t.ty||"gs"===t.ty){var n="gf"===t.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData;i=new n(this,t,r),this.globalData.defs.appendChild(i.gf), 9i.maskId&&(this.globalData.defs.appendChild(i.ms),this.globalData.defs.appendChild(i.of),s.setAttribute("mask","url("+getLocationHref()+"#"+i.maskId+")"))}else"no"===t.ty&&(i=new SVGNoStyleData(this,t,r));return"st"!==t.ty&&"gs"!==t.ty||(s.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),s.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),s.setAttribute("fill-opacity","0"),1===t.lj&&s.setAttribute("stroke-miterlimit",t.ml)),2===t.r&&s.setAttribute("fill-rule","evenodd"),t.ln&&s.setAttribute("id",t.ln),t.cl&&s.setAttribute("class",t.cl),t.bm&&(s.style["mix-blend-mode"]=getBlendM
vendor: 6,168 bytes, line 9
9ode(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 s=ShapePropertyFactory.getShapeProp(this,t,r,this),n=new SVGShapeData(e,i,s);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)-1!==i.indexOf(this.stylesList[e])||this.stylesList[e].closed||i.push(this.stylesList[e])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var t,e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(t,e,i,r,s,n,a){var o,l,h,p,c,f,d=[].concat(n),u=t.length-1,m=[],g=[];for(o=u;o>=0;o-=1){if(f=this.searchProcessedElement(t[o]),f?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=t[o].hd:e[o]=this.createStyleElement(t[o],s),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(h=e[o].it.length,l=0;l<h;l+=1)e[o].prevViewData[l]=e[o].it[l];else e[o]=this.createGroupElement(t[o]);this.searchShapes(t[o].it,e[o].it,e[o].prevViewData,e[o].gr,s+1,d,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,d.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],d,s)),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],c.closed=!1):(c=ShapeModifiers.getModifier(t[o].ty),c.init(this,t[o]),e[o]=c,this.shapeModifiers.push(c)),g.push(c)):"rp"===t[o].ty&&(f?(c=e[o],c.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(u=m.length,o=0;o<u;o+=1)m[o].closed=!0;for(u=g.length,o=0;o<u;o+=1)g[o].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();var t,e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].reset();for(this.renderShape(),t=0;t<e;t+=1)(this.stylesList[t]._mdf||this._isFirstFrame)&&(this.stylesList[t].msElem&&(this.stylesList[t].msElem.setAttribute("d",this.stylesList[t].d),this.stylesList[t].d="M0 0"+this.stylesList[t].d),this.stylesList[t].pElem.setAttribute("d",this.stylesList[t].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var t,e,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,s,n){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var 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!==s&&(this.m=s,this._mdf.m=!0,a=!0),!n.length||this.p[0]===n[0]&&this.p[1]===n[1]&&this.p[4]===n[4]&&this.p[5]===n[5]&&this.p[12]===n[12]&&this.p[13]===n[13]||(this.p=n,this._mdf.p=!0,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)return void this.setCurrentData(this.currentData);this.lock=!0,this._mdf=!1;var r,s=this.effectsSequence.length,n=t||this.data.d.k[this.keysIndex].s;for(r=0;r<s;r+=1)n=i!==this.keysIndex?this.effectsSequence[r](n,n.t):this.effectsSequence[r](this.currentData,n.t);e!==n&&this.setCurrentData(n),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=[],s=0,n=t.length,a=!1,o=!1,l="";s<n;)a=o,o=!1,e=t.charCodeAt(s),l=t.charAt(s),FontManager.isCombinedCharacter(e)?a=!0:e>
vendor: 12,040 bytes, line 9
9=55296&&e<=56319?FontManager.isRegionalFlag(t,s)?l=t.substr(s,14):(i=t.charCodeAt(s+1))>=56320&&i<=57343&&(FontManager.isModifier(e,i)?(l=t.substr(s,2),a=!0):l=FontManager.isFlagEmoji(t.substr(s,4))?t.substr(s,4):t.substr(s,2)):e>56319?(i=t.charCodeAt(s+1),FontManager.isVariationSelector(e)&&(a=!0)):FontManager.isZeroWidthJoiner(e)&&(a=!0,o=!0),a?(r[r.length-1]+=l,a=!1):r.push(l),s+=l.length;return r},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e,i,r,s,n,a,o,l=this.elem.globalData.fontManager,h=this.data,p=[],c=0,f=h.m.g,d=0,u=0,m=0,g=[],y=0,v=0,b=l.getFontByName(t.f),E=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 S,C=t.tr/1e3*t.finalSize;if(t.sz)for(var x,P,T=!0,A=t.sz[0],D=t.sz[1];T;){P=this.buildFinalText(t.t),x=0,y=0,i=P.length,C=t.tr/1e3*t.finalSize;var w=-1;for(e=0;e<i;e+=1)S=P[e].charCodeAt(0),r=!1," "===P[e]?w=e:13!==S&&3!==S||(y=0,r=!0,x+=t.finalLineHeight||1.2*t.finalSize),l.chars?(o=l.getCharData(P[e],b.fStyle,b.fFamily),E=r?0:o.w*t.finalSize/100):E=l.measureText(P[e],t.f,t.finalSize),y+E>A&&" "!==P[e]?(-1===w?i+=1:e=w,x+=t.finalLineHeight||1.2*t.finalSize,P.splice(e,w===e?1:0,"\r"),w=-1,y=0):(y+=E,y+=C);x+=b.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&D<x?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=P,i=t.finalText.length,T=!1)}y=-C,E=0;var k,I=0;for(e=0;e<i;e+=1)if(r=!1,k=t.finalText[e],S=k.charCodeAt(0),13===S||3===S?(I=0,g.push(y),v=y>v?y:v,y=-2*C,s="",r=!0,m+=1):s=k,l.chars?(o=l.getCharData(k,b.fStyle,l.getFontByName(t.f).fFamily),E=r?0:o.w*t.finalSize/100):E=l.measureText(s,t.f,t.finalSize)," "===k?I+=E+C:(y+=E+C+I,I=0),p.push({l:E,an:E,add:d,n:r,anIndexes:[],val:s,line:m,animatorJustifyOffset:0}),2==f){if(d+=E,""===s||" "===s||e===i-1){for(""!==s&&" "!==s||(d-=E);u<=e;)p[u].an=d,p[u].ind=c,p[u].extra=E,u+=1;c+=1,d=0}}else if(3==f){if(d+=E,""===s||e===i-1){for(""===s&&(d-=E);u<=e;)p[u].an=d,p[u].ind=c,p[u].extra=E,u+=1;d=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 M,F,L=h.a;a=L.length;var R,O,V=[];for(n=0;n<a;n+=1){for(M=L[n],M.a.sc&&(t.strokeColorAnim=!0),M.a.sw&&(t.strokeWidthAnim=!0),(M.a.fc||M.a.fh||M.a.fs||M.a.fb)&&(t.fillColorAnim=!0),O=0,R=M.s.b,e=0;e<i;e+=1)F=p[e],F.anIndexes[n]=O,(1==R&&""!==F.val||2==R&&""!==F.val&&" "!==F.val||3==R&&(F.n||" "==F.val||e==i-1)||4==R&&(F.n||e==i-1))&&(1===M.s.rn&&V.push(O),O+=1);h.a[n].s.totalChars=O;var B,N=-1;if(1===M.s.rn)for(e=0;e<i;e+=1)F=p[e],N!=F.anIndexes[n]&&(N=F.anIndexes[n],B=V.splice(Math.floor(Math.random()*V.length),1)[0]),F.anIndexes[n]=B}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(){function t(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()}function e(e,i,r){return new t(e,i,r)}var i=Math.max,r=Math.min,s=Math.floor;return t.prototype={getMult:function(t){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var e=0,n=0,a=1,o=1;this.ne.v>0?e=this.ne.v/100:n=-this.ne.v/100,this.xe.v>0?a=1-this.xe.v/100:o=1+this.xe.v/100;var l=BezierFactory.getBezierEasing(e,n,a,o).get,h=0,p=this.finalS,c=this.finalE,f=this.data.sh;if(2===f)h=c===p?t>=c?1:0:i(0,r(.5/(c-p)+(t-p)/(c-p),1)),h=l(h);else if(3===f)h=c===p?t>=c?0:1:1-i(0,r(.5/(c-p)+(t-p)/(c-p),1)),h=l(h);else if(4===f)c===p?h=0:(h=i(0,r(.5/(c-p)+(t-p)/(c-p),1)),h<.5?h*=2:h=1-2*(h-.5)),h=l(h);else if(5===f){if(c===p)h=0;else{var d=c-p;t=r(i(0,t+.5-p),c-p);var u=-d/2+t,m=d/2;h=Math.sqrt(1-u*u/(m*m))}h=l(h)}else 6===f?(c===p?h=0:(t=r(i(0,t+.5-p),c-p),h=(1+Math.cos(Math.PI+2*Math.PI*t/(c-p)))/2),h=l(h)):(t>=s(p)&&(h=t-p<0?i(0,r(r(c,1)-(p-t),1)):i(0,r(c-t,1))),h=l(h));if(100!==this.sm.v){var g=.01*this.sm.v;0===g&&(g=1e-8);var y=.5-.5*g;h<y?h=0:(h=(h-y)/g)>1&&(h=1)}return h*this.a.v},getValue:function(t){this.iterateDynamicProperties(),this._mdf=t||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,t&&2===this.data.r&&(this.e.v=this._currentTextLength);var e=2===this.data.r?1:100/this.data.totalChars,i=this.o.v/e,r=this.s.v/e+i,s=this.e.v/e+i;if(r>s){var n=r;r=s,s=n}this.finalS=r,this.finalE=s}},extendPrototype([DynamicPropertyContainer],t),{getTextSelectorProp:e}}();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,s,n,a,o,l,h,p,c,f,d,u,m,g,y,v,b,E,_=this._moreOptions.alignment.v,S=this._animatorsData,C=this._textData,x=this.mHelper,P=this._renderType,T=this.renderedLetters.length,A=t.l;if(this._hasMaskedPath){if(E=this._pathData.m,!this._pathData.n||this._pathData._mdf){var D=E.v;this._pathData.r.v&&(D=D.reverse()),a={tLength:0,segments:[]},n=D._length-1;var w;for(y=0,s=0;s<n;s+=1)w=bez.buildBezierData(D.v[s],D.v[s+1],[D.o[s][0]-D.v[s][0],D.o[s][1]-D.v[s][1]],[D.i[s+1][0]-D.v[s+1][0],D.i[s+1][1]-D.v[s+1][1]]),a.tLength+=w.segmentLength,a.segments.push(w),y+=w.segmentLength;s=n,E.v.c&&(w=bez.buildBezierData(D.v[s],D.v[0],[D.o[s][0]-D.v[s][0],D.o[s][1]-D.v[s][1]],[D.i[0][0]-D.v[0][0],D.i[0][1]-D.v[0][1]]),a.tLength+=w.segmentLength,a.segments.push(w),y+=w.segmentLength),this._pathData.pi=a}if(a=this._pathData.pi,o=this._pathData.f.v,f=0,c=1,h=0,p=!0,m=a.segments,o<0&&E.v.c)for(a.tLength<Math.abs(o)&&(o=-Math.abs(o)%a.tLength),f=m.length-1,u=m[f].points,c=u.length-1;o<0;)o+=u[c].partialLength,(c-=1)<0&&(f-=1,u=m[f].points,c=u.length-1);u=m[f].points,d=u[c-1],l=u[c],g=l.partialLength}n=A.length,i=0,r=0;var k,I,M,F,L,R=1.2*t.finalSize*.714,O=!0;F=S.length;var V,B,N,z,G,H,j,W,q,U,$,K,Y,X=-1,Q=o,J=f,Z=c,tt=-1,et="",it=this.defaultPropsArray;if(2===t.j||1===t.j){var rt=0,st=0,nt=2===t.j?-.5:-1,at=0,ot=!0;for(s=0;s<n;s+=1)if(A[s].n){for(rt&&(rt+=st);at<s;)A[at].animatorJustifyOffset=rt,at+=1;rt=0,ot=!0}else{for(M=0;M<F;M+=1)k=S[M].a,k.t.propType&&(ot&&2===t.j&&(st+=k.t.v*nt),I=S[M].s,V=I.getMult(A[s].anIndexes[M],C.a[M].s.totalChars),V.length?rt+=k.t.v*V[0]*nt:rt+=k.t.v*V*nt);ot=!1}for(rt&&(rt+=st);at<s;)A[at].animatorJustifyOffset=rt,at+=1}for(s=0;s<n;s+=1){if(x.reset(),G=1,A[s].n)i=0,r+=t.yOffset,r+=O?1:0,o=Q,O=!1,this._hasMaskedPath&&(f=J,c=Z,u=m[f].points,d=u[c-1],l=u[c],g=l.partialLength,h=0),et="",K="",U="",Y="",it=this.defaultPropsArray;else{if(this._hasMaskedPath){if(tt!==A[s].line){switch(t.j){case 1:o+=y-t.lineWidths[A[s].line];break;case 2:o+=(y-t.lineWidths[A[s].line])/2}tt=A[s].line}X!==A[s].ind&&(A[X]&&(o+=A[X].extra),o+=A[s].an/2,X=A[s].ind),o+=_[0]*A[s].an*.005;var lt=0;for(M=0;M<F;M+=1)k=S[M].a,k.p.propType&&(I=S[M].s,V=I.getMult(A[s].anIndexes[M],C.a[M].s.totalChars),V.length?lt+=k.p.v[0]*V[0]:lt+=k.p.v[0]*V),k.a.propType&&(I=S[M].s,V=I.getMult(A[s].anIndexes[M],C.a[M].s.totalChars),V.length?lt+=k.a.v[0]*V[0]:lt+=k.a.v[0]*V);for(p=!0,this._pathData.a.v&&(o=.5*A[0].an+(y-this._pathData.f.v-.5*A[0].an-.5*A[A.length-1].an)*X/(n-1),o+=this._pathData.f.v);p;)h+g>=o+lt||!u?(v=(o+lt-h)/l.partialLength,N=d.point[0]+(l.point[0]-d.point[0])*v,z=d.point[1]+(l.point[1]-d.point[1])*v,x.translate(-_[0]*A[s].an*.005,-_[1]*R*.01),p=!1):u&&(h+=l.partialLength,c+=1,c>=u.length&&(c=0,f+=1,m[f]?u=m[f].points:E.v.c?(c=0,f=0,u=m[f].points):(h-=l.partialLength,u=null)),u&&(d=l,l=u[c],g=l.partialLength));B=A[s].an/2-A[s].add,x.translate(-B,0,0)}else B=A[s].an/2-A[s].add,x.translate(-B,0,0),x.translate(-_[0]*A[s].an*.005,-_[1]*R*.01,0);for(M=0;M<F;M+=1)k=S[M].a,k.t.propType&&(I=S[M].s,V=I.getMult(A[s].anIndexes[M],C.a[M].s.totalChars),0===i&&0===t.j||(this._hasMaskedPath?V.length?o+=k.t.v*V[0]:o+=k.t.v*V:V.length?i+=k.t.v*V[0]:i+=k.t.v*V));for(t.strokeWidthAnim&&(j=t.sw||0),t.strokeColorAnim&&(H=t.sc?[t.sc[0],t.sc[1],t.sc[2]]:[0,0,0]),t.fillColorAnim&&t.fc&&(W=[t.fc[0],t.fc[1],t.fc[2]]),M=0;M<F;M+=1)k=S[M].a,k.a.propType&&(I=S[M].s,V=I.getMult(A[s].anIndexes[M],C.a[M].s.totalChars),V.length?x.translate(-k.a.v[0]*V[0],-k.a.v[1]*V[1],k.a.v[2]*V[2]):x.translate(-k.a.v[0]*V,-k.a.v[1]*V,k.a.v[2]*V));for(M=0;M<F;M+=1)k=S[M].a,k.s.propType&&(I=S[M].s,V=I.getMult(A[s].anIndexes[M],C.a[M].s.totalChars),V.length?x.scale(1+(k.s.v[0]-1)*V[0],1+(k.s.v[1]-1)*V[1],1):x.scale(1+(k.s.v[0]-1)*V,1+(k.s.v[1]-1)*V,1));for(M=0;M<F;M+=1){if(k=S[M].a,I=S[M].s,V=I.getMult(A[s].anIndexes[M],C.a[M].s.totalChars),k.sk.propType&&(V.length?x.skewFromAxis(-k.sk.v*V[0],k.sa.v*V[1]):x.skewFromAxis(-k.sk.v*V,k.sa.v*V)),k.r.propType&&(V.length?x.rotateZ(-k.r.v*V[2]):x.rotateZ(-k.r.v*V)),k.ry.propType&&(V.length?x.rotateY(k.ry.v*V[1]):x.rotateY(k.ry.v*V)),k.rx.propType&&(V.length?x.rotateX(k.rx.v*V[0]):x.rotateX(k.rx.v*V)),k.o.propType&&(V.length?G+=(k.o.v*V[0]-G)*V[0]:G+=(k.o.v*V-G)*V),t.strokeWidthAnim&&k.sw.propType&&(V.length?j+=k.sw.v*V[0]:j+=k.sw.v*V),t.strokeColorAnim&&k.sc.propType)for(q=0;q<3;q+=1)V.length?H[q]+=(k.sc.v[q]-H[q])*V[0]:H[q]+=(k.sc.v[q]-H[q])*V;if(t.fillColorAnim&&t.fc){if(k.fc.propType)for(q=0;q<3;q+=1)V.length?W[q]+=(k.fc.v[q]-W[q])*V[0]:W[q]+=(k.fc.v[q]-W[q])*V;k.fh.propType&&(W=V.length?addHueToRGB(W,k.fh.v*V[0]):addHueToRGB(W,k.fh.v*V)),k.fs.propType&&(W=V.length?addSaturationToRGB(W,k.fs.v*V[0]):addSaturationToRGB(W,k.fs.v*V)),k.fb.propType&&(W=V.length?addBrightnessToRGB(W,k.fb.v*V[0]):addBrightnessToRGB(W,k.fb.v*V))}}for(M=0;M<F;M+=1)k=S[M].a,k.p.propType&&(I=S[M].s,V=I.getMult(A[s].anIndexes[M],C.a[M].s.totalChars),this._hasMaskedPath?V.length?x.translate(0,k.p.v[1]*V[0],-k.p.v[2]*V[1]):x.translate(0,k.p.v[1]*V,-k.p.v[2]*V):V.length?x.translate(k.p.v[0]*V[0],k.p.v[1]*V[1],-k.p.v[2]*V[2]):x.translate(k.p.v[0]*V,k.p.v[1]*V,-k.p.v[2]*V));if(t.strokeWidthAnim&&(U=j<0?0:j),t.strokeColorAnim&&($="rgb("+Math.round(255*H[0])+","+Math.round(255*H[1])+","+Math.round(255*H[2])+")"),t.fillColorAnim&&t.fc&&(K="rgb("+Math.round(255*W[0])+","+Math.round(255*W[1])+","+Math.round(255*W[2])+")"),this._hasMaskedPath){if(x.translate(0,-t.ls),x.translate(0,_[1]*
vendor: 17,194 bytes, lines 9-10
9R*.01+r,0),this._pathData.p.v){b=(l.point[1]-d.point[1])/(l.point[0]-d.point[0]);var ht=180*Math.atan(b)/Math.PI;l.point[0]<d.point[0]&&(ht+=180),x.rotate(-ht*Math.PI/180)}x.translate(N,z,0),o-=_[0]*A[s].an*.005,A[s+1]&&X!==A[s+1].ind&&(o+=A[s].an/2,o+=.001*t.tr*t.finalSize)}else{switch(x.translate(i,r,0),t.ps&&x.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:x.translate(A[s].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[A[s].line]),0,0);break;case 2:x.translate(A[s].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[A[s].line])/2,0,0)}x.translate(0,-t.ls),x.translate(B,0,0),x.translate(_[0]*A[s].an*.005,_[1]*R*.01,0),i+=A[s].l+.001*t.tr*t.finalSize}"html"===P?et=x.toCSS():"svg"===P?et=x.to2dCSS():it=[x.props[0],x.props[1],x.props[2],x.props[3],x.props[4],x.props[5],x.props[6],x.props[7],x.props[8],x.props[9],x.props[10],x.props[11],x.props[12],x.props[13],x.props[14],x.props[15]],Y=G}T<=s?(L=new LetterProps(Y,U,$,K,et,it),this.renderedLetters.push(L),T+=1,this.lettersChangedFlag=!0):(L=this.renderedLetters[s],this.lettersChangedFlag=L.update(Y,U,$,K,et,it)||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,s=e.length,n="";for(i=0;i<s;i+=1)"sh"===e[i].ty&&(r=e[i].ks.k,n+=buildShapeString(r,r.i.length,!0,t));return n},ITextElement.prototype.updateDocumentData=function(t,e){this.textProperty.updateDocumentData(t,e)},ITextElement.prototype.canResizeFont=function(t){this.textProperty.canResizeFont(t)},ITextElement.prototype.setMinimumFontSize=function(t){this.textProperty.setMinimumFontSize(t)},ITextElement.prototype.applyTextPropertiesToMatrix=function(t,e,i,r,s){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,s,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:[]};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=[],s="";e<i;)t[e]===String.fromCharCode(13)||t[e]===String.fromCharCode(3)?(r.push(s),s=""):s+=t[e],e+=1;return r.push(s),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(){this.addDynamicProperty(this);var t,e,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 s=i.fWeight,n=i.fStyle;this.layerElement.setAttribute("font-style",n),this.layerElement.setAttribute("font-weight",s)}this.layerElement.setAttribute("aria-label",i.t);var a=i.l||[],o=!!this.globalData.fontManager.chars;e=a.length;var l,h=this.mHelper,p=this.data.singleShape,c=0,f=0,d=!0,u=.001*i.tr*i.finalSize;if(!p||o||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}),!o||!p||0===t){if(l=g>t?this.textSpans[t].span:createNS(o?"g":"text"),g<=t){if(l.setAttribute("stroke-linecap","butt"),l.setAttribute("stroke-linejoin","round"),l.setAttribute("stroke-miterlimit","4"),this.textSpans[t].span=l,o){var y=createNS("g");l.appendChild(y),this.textSpans[t].childSpan=y}this.textSpans[t].span=l,this.layerElement.appendChild(l)}l.style.display="inherit"}if(h.reset(),p&&(a[t].n&&(c=-u,f+=i.yOffset,f+=d?1:0,d=!1),this.applyTextPropertiesToMatrix(i,h,a[t].line,c,f),c+=a[t].l||0,c+=u),o){m=this.globalData.fontManager.getCharData(i.finalText[t],r.fStyle,this.globalData.fontManager.getFontByName(i.f).fFamily);var v;if(1===m.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 E=this.textSpans[t].glyph;this.textSpans[t].childSpan.removeChild(E.layerElement),E.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&&l.setAttribute("transform","translate("+h.props[12]+","+h.props[13]+")"),l.textContent=a[t].val,l.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}p&&l&&l.setAttribute("d","")}else{var _=this.textContainer,S="start";switch(i.j){case 1:S="end";break;case 2:S="middle";break;default:S="start"}_.setAttribute("text-anchor",S),_.setAttribute("letter-spacing",u);var C=this.buildTextContents(i.finalText);for(e=C.length,f=i.ps?i.ps[1]+i.ascent:0,t=0;t<e;t+=1)l=this.textSpans[t].span||createNS("tspan"),l.textContent=C[t],l.setAttribute("x",0),l.setAttribute("y",f),l.style.display="inherit",_.appendChild(l),this.textSpans[t]||(this.textSpans[t]={span:null,glyph:null}),this.textSpans[t].span=l,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)){this._sizeChanged=!0;var t,e,i=this.textAnimator.renderedLetters,r=this.textProperty.currentData.l;e=r.length;var s,n,a;for(t=0;t<e;t+=1)r[t].n||(s=i[t],n=this.textSpans[t].span,a=this.textSpans[t].glyph,a&&a.renderFrame(),s._mdf.m&&n.setAttribute("transform",s.m),s._mdf.o&&n.setAttribute("opacity",s.o),s._mdf.sw&&n.setAttribute("stroke-width",s.sw),s._mdf.sc&&n.setAttribute("stroke",s.sc),s._mdf.fc&&n.setAttribute("fill",s.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,0,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 s=createElementID();i.setAttribute("id",s),i.appendChild(r),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+s+")"),e.appendChild(i),this.layers=t.layers,this.elements=createSizedArray(t.layers.length)},SVGRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var t,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 s=e[r],n=s.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,s=this.elements[r],n=s.getMatte(this.layers[e].tt);t.setMatte(n);break}e+=1}}},SVGRendererBase.prototype.renderFrame=function(t){if(this.renderedFrame!==t&&!this.destroyed){null===t?t=this.renderedFrame:this.renderedFrame=t,this.globalData.frameNum=t,this.globalData.frameId+=1, 10this.globalData.projectInterface.currentFrame=t,this.globalData._mdf=!1;var e,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,s=0;s<e;)this.elements[s]&&!0!==this.elements[s]&&this.elements[s].getBaseElement()&&(r=this.elements[s].getBaseElement()),s+=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 s=this.sequences[r];return s||(s={transforms:[].concat(t),finalTransform:new Matrix,_mdf:!1},this.sequences[r]=s,this.sequenceList.push(s)),s},processSequence:function(t,e){for(var i=0,r=t.transforms.length,s=e;i<r&&!e;){if(t.transforms[i].transform.mProps._mdf){s=!0;break}i+=1}if(s)for(t.finalTransform.reset(),i=r-1;i>=0;i-=1)t.finalTransform.multiply(t.transforms[i].transform.mProps.v);t._mdf=s},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(){function t(){var t=createNS("svg"),e=createNS("filter"),i=createNS("feColorMatrix");return e.setAttribute("id",r),i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","sRGB"),i.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"),e.appendChild(i),t.appendChild(e),t.setAttribute("id",r+"_svg"),featureSupport.svgLumaHidden&&(t.style.display="none"),t}function e(){s||(a=t(),document.body.appendChild(a),s=createTag("canvas"),n=s.getContext("2d"),n.filter="url
10(#"+r+")",n.fillStyle="rgba(0,0,0,0)",n.fillRect(0,0,1,1))}function i(t){return s||e(),s.width=t.width,s.height=t.height,n.filter="url(#"+r+")",s}var r="__lottie_element_luma_buffer",s=null,n=null,a=null;return{load:e,get:i}},assetLoader=function(){return{loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas:createCanvas}}(),registeredEffects={};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,s=this.element.finalTransform.mat,n=this.element.canvasContext,a=this.masksProperties.length;for(n.beginPath(),t=0;t<a;t+=1)if("n"!==this.masksProperties[t].mode){this.masksProperties[t].inv&&(n.moveTo(0,0),n.lineTo(this.element.globalData.compSize.w,0),n.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),n.lineTo(0,this.element.globalData.compSize.h),n.lineTo(0,0)),r=this.viewData[t].v,e=s.applyToPointArray(r.v[0][0],r.v[0][1],0),n.moveTo(e[0],e[1]);var o,l=r._length;for(o=1;o<l;o+=1)i=s.applyToTriplePoints(r.o[o-1],r.i[o],r.v[o]),n.bezierCurveTo(i[0],i[1],i[2],i[3],i[4],i[5]);i=s.applyToTriplePoints(r.o[o-1],r.i[0],r.v[0]),n.bezierCurveTo(i[0],i[1],i[2],i[3],i[4],i[5])}this.element.globalData.renderer.save(!0),n.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"};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],e=t.getContext("2d");this.clearCanvas(e),e.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");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);if(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],
vendor: 1,636 bytes, line 10
101==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 s=new DashProperty(this,t.d,"canvas",this);r.d=s,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(){this._isFirstFrame=!0;var t,e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(t){var e,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;
vendor: 9,106 bytes, line 10
10e+=1)t[e].closed=!0},CVShapeElement.prototype.searchShapes=function(t,e,i,r,s){var n,a,o,l,h,p,c=t.length-1,f=[],d=[],u=[].concat(s);for(n=c;n>=0;n-=1){if(l=this.searchProcessedElement(t[n]),l?e[n]=i[l-1]:t[n]._shouldRender=r,"fl"===t[n].ty||"st"===t[n].ty||"gf"===t[n].ty||"gs"===t[n].ty)l?e[n].style.closed=!1:e[n]=this.createStyleElement(t[n],u),f.push(e[n].style);else if("gr"===t[n].ty){if(l)for(o=e[n].it.length,a=0;a<o;a+=1)e[n].prevViewData[a]=e[n].it[a];else e[n]=this.createGroupElement(t[n]);this.searchShapes(t[n].it,e[n].it,e[n].prevViewData,r,u)}else"tr"===t[n].ty?(l||(p=this.createTransformElement(t[n]),e[n]=p),u.push(e[n]),this.addTransformToStyleList(e[n])):"sh"===t[n].ty||"rc"===t[n].ty||"el"===t[n].ty||"sr"===t[n].ty?l||(e[n]=this.createShapeElement(t[n])):"tm"===t[n].ty||"rd"===t[n].ty||"pb"===t[n].ty||"zz"===t[n].ty||"op"===t[n].ty?(l?(h=e[n],h.closed=!1):(h=ShapeModifiers.getModifier(t[n].ty),h.init(this,t[n]),e[n]=h,this.shapeModifiers.push(h)),d.push(h)):"rp"===t[n].ty&&(l?(h=e[n],h.closed=!0):(h=ShapeModifiers.getModifier(t[n].ty),e[n]=h,h.init(this,t,n,e),this.shapeModifiers.push(h),r=!1),d.push(h));this.addProcessedElement(t[n],n+1)}for(this.removeTransformFromStyleList(),this.closeStyles(f),c=d.length,n=0;n<c;n+=1)d[n].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(t,e){(t._opMdf||e.op._mdf||this._isFirstFrame)&&(e.opacity=t.opacity,e.opacity*=e.op.v,e._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var t,e,i,r,s,n,a,o,l,h=this.stylesList.length,p=this.globalData.renderer,c=this.globalData.canvasContext;for(t=0;t<h;t+=1)if(l=this.stylesList[t],("st"!==(o=l.type)&&"gs"!==o||0!==l.wi)&&l.data._shouldRender&&0!==l.coOp&&0!==this.globalData.currentGlobalAlpha){for(p.save(),n=l.elements,"st"===o||"gs"===o?(p.ctxStrokeStyle("st"===o?l.co:l.grd),p.ctxLineWidth(l.wi),p.ctxLineCap(l.lc),p.ctxLineJoin(l.lj),p.ctxMiterLimit(l.ml||0)):p.ctxFillStyle("fl"===o?l.co:l.grd),p.ctxOpacity(l.coOp),"st"!==o&&"gs"!==o&&c.beginPath(),p.ctxTransform(l.preTransforms.finalTransform.props),i=n.length,e=0;e<i;e+=1){for("st"!==o&&"gs"!==o||(c.beginPath(),l.da&&(c.setLineDash(l.da),c.lineDashOffset=l.do)),a=n[e].trNodes,s=a.length,r=0;r<s;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(),l.da&&c.setLineDash(this.dashResetter))}"st"!==o&&"gs"!==o&&this.globalData.renderer.ctxFill(l.r),p.restore()}},CVShapeElement.prototype.renderShape=function(t,e,i,r){var s,n,a=e.length-1;for(n=t,s=a;s>=0;s-=1)"tr"===e[s].ty?(n=i[s].transform,this.renderShapeTransform(t,n)):"sh"===e[s].ty||"el"===e[s].ty||"rc"===e[s].ty||"sr"===e[s].ty?this.renderPath(e[s],i[s]):"fl"===e[s].ty?this.renderFill(e[s],i[s],n):"st"===e[s].ty?this.renderStroke(e[s],i[s],n):"gf"===e[s].ty||"gs"===e[s].ty?this.renderGradientFill(e[s],i[s],n):"gr"===e[s].ty?this.renderShape(n,e[s].it,i[s].it):e[s].ty;r&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(t,e){if(this._isFirstFrame||e._mdf||t.transforms._mdf){var i,r,s,n=t.trNodes,a=e.paths,o=a._length;n.length=0;var l=t.transforms.finalTransform;for(s=0;s<o;s+=1){var h=a.shapes[s];if(h&&h.v){for(r=h._length,i=1;i<r;i+=1)1===i&&n.push({t:"m",p:l.applyToPointArray(h.v[0][0],h.v[0][1],0)}),n.push({t:"c",pts:l.applyToTriplePoints(h.o[i-1],h.i[i],h.v[i])});1===r&&n.push({t:"m",p:l.applyToPointArray(h.v[0][0],h.v[0][1],0)}),h.c&&r&&(n.push({t:"c",pts:l.applyToTriplePoints(h.o[i-1],h.i[0],h.v[0])}),n.push({t:"z"}))}}t.trNodes=n}},CVShapeElement.prototype.renderPath=function(t,e){if(!0!==t.hd&&t._shouldRender){var 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,s=e.style;if(!s.grd||e.g._mdf||e.s._mdf||e.e._mdf||1!==t.t&&(e.h._mdf||e.a._mdf)){var n=this.globalData.canvasContext,a=e.s.v,o=e.e.v;if(1===t.t)r=n.createLinearGradient(a[0],a[1],o[0],o[1]);else{var l=Math.sqrt(Math.pow(a[0]-o[0],2)+Math.pow(a[1]-o[1],2)),h=Math.atan2(o[1]-a[1],o[0]-a[0]),p=e.h.v;p>=1?p=.99:p<=-1&&(p=-.99);var c=l*p,f=Math.cos(h+e.a.v)*c+a[0],d=Math.sin(h+e.a.v)*c+a[1];r=n.createRadialGradient(f,d,0,a[0],a[1],l)}var u,m=t.g.p,g=e.g.c,y=1;for(u=0;u<m;u+=1)e.g._hasOpacity&&e.g._collapsable&&(y=e.g.o[2*u+1]),r.addColorStop(g[4*u]/100,"rgba("+g[4*u+1]+","+g[4*u+2]+","+g[4*u+3]+","+y+")");s.grd=r}s.coOp=e.o.v*i.opacity},CVShapeElement.prototype.renderStroke=function(t,e,i){var r=e.style,s=e.d;s&&(s._mdf||this._isFirstFrame)&&(r.da=s.dashArray,r.do=s.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,s,n=this.globalData.fontManager.getFontByName(t.f),a=t.l,o=this.mHelper;this.stroke=i,this.values.fValue=t.finalSize+"px "+this.globalData.fontManager.getFontByName(t.f).fFamily,s=t.finalText.length;var l,h,p,c,f,d,u,m,g,y,v=this.data.singleShape,b=.001*t.tr*t.finalSize,E=0,_=0,S=!0,C=0;for(r=0;r<s;r+=1){l=this.globalData.fontManager.getCharData(t.finalText[r],n.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily),h=l&&l.data||{},o.reset(),v&&a[r].n&&(E=-b,_+=t.yOffset,_+=S?1:0,S=!1),f=h.shapes?h.shapes[0].it:[],u=f.length,o.scale(t.finalSize/100,t.finalSize/100),v&&this.applyTextPropertiesToMatrix(t,o,a[r].line,E,_),g=createSizedArray(u-1);var x=0;for(d=0;d<u;d+=1)if("sh"===f[d].ty){for(c=f[d].ks.k.i.length,m=f[d].ks.k,y=[],p=1;p<c;p+=1)1===p&&y.push(o.applyToX(m.v[0][0],m.v[0][1],0),o.applyToY(m.v[0][0],m.v[0][1],0)),y.push(o.applyToX(m.o[p-1][0],m.o[p-1][1],0),o.applyToY(m.o[p-1][0],m.o[p-1][1],0),o.applyToX(m.i[p][0],m.i[p][1],0),o.applyToY(m.i[p][0],m.i[p][1],0),o.applyToX(m.v[p][0],m.v[p][1],0),o.applyToY(m.v[p][0],m.v[p][1],0));y.push(o.applyToX(m.o[p-1][0],m.o[p-1][1],0),o.applyToY(m.o[p-1][0],m.o[p-1][1],0),o.applyToX(m.i[0][0],m.i[0][1],0),o.applyToY(m.i[0][0],m.i[0][1],0),o.applyToX(m.v[0][0],m.v[0][1],0),o.applyToY(m.v[0][0],m.v[0][1],0)),g[x]=y,x+=1}v&&(E+=a[r].l,E+=b),this.textSpans[C]?this.textSpans[C].elem=g:this.textSpans[C]={elem:g},C+=1}},CVTextElement.prototype.renderInnerContent=function(){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 t,e,i,r,s,n,a=this.textAnimator.renderedLetters,o=this.textProperty.currentData.l;e=o.length;var l,h,p,c=null,f=null,d=null,u=this.globalData.renderer;for(t=0;t<e;t+=1)if(!o[t].n){if(l=a[t],l&&(u.save(),u.ctxTransform(l.p),u.ctxOpacity(l.o)),this.fill){for(l&&l.fc?c!==l.fc&&(u.ctxFillStyle(l.fc),c=l.fc):c!==this.values.fill&&(c=this.values.fill,u.ctxFillStyle(this.values.fill)),h=this.textSpans[t].elem,r=h.length,this.globalData.canvasContext.beginPath(),i=0;i<r;i+=1)for(p=h[i],n=p.length,this.globalData.canvasContext.moveTo(p[0],p[1]),s=2;s<n;s+=6)this.globalData.canvasContext.bezierCurveTo(p[s],p[s+1],p[s+2],p[s+3],p[s+4],p[s+5]);this.globalData.canvasContext.closePath(),u.ctxFill()}if(this.stroke){for(l&&l.sw?d!==l.sw&&(d=l.sw,u.ctxLineWidth(l.sw)):d!==this.values.sWidth&&(d=this.values.sWidth,u.ctxLineWidth(this.values.sWidth)),l&&l.sc?f!==l.sc&&(f=l.sc,u.ctxStrokeStyle(l.sc)):f!==this.values.stroke&&(f=this.values.stroke,u.ctxStrokeStyle(this.values.stroke)),h=this.textSpans[t].elem,r=h.length,this.globalData.canvasContext.beginPath(),i=0;i<r;i+=1)for(p=h[i],n=p.length,this.globalData.canvasContext.moveTo(p[0],p[1]),s=2;s<n;s+=6)this.globalData.canvasContext.bezierCurveTo(p[s],p[s+1],p[s+2],p[s+3],p[s+4],p[s+5]);this.globalData.canvasContext.closePath(),u.ctxStroke()}
vendor: 12,222 bytes, lines 10-11
10l&&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"),s=this.img.width,n=this.img.height,a=s/n,o=this.assetData.w/this.assetData.h,l=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;a>o&&"xMidYMid slice"===l||a<o&&"xMidYMid slice"!==l?(i=n,e=i*o):(e=s,i=e/o),r.drawImage(this.img,(s-e)/2,(n-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(){if(!this.renderConfig.clearCanvas)return void this.canvasContext.restore();this.contextData.reset()},CanvasRendererBase.prototype.save=function(){this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(t){if(!this.renderConfig.clearCanvas)return void this.canvasContext.restore();t&&(this.globalData.blendMode="source-over"),this.contextData.restore(t)},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){this.reset();var i,r;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);var s,n;if(-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var a=this.renderConfig.preserveAspectRatio.split(" "),o=a[1]||"meet",l=a[0]||"xMidYMid",h=l.substr(0,4),p=l.substr(4);s=i/r,n=this.transformCanvas.w/this.transformCanvas.h,n>s&&"meet"===o||n<s&&"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"===h&&(n<s&&"meet"===o||n>s&&"slice"===o)?(i-this.transformCanvas.w*(r/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===h&&(n<s&&"meet"===o||n>s&&"slice"===o)?(i-this.transformCanvas.w*(r/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===p&&(n>s&&"meet"===o||n<s&&"slice"===o)?(r-this.transformCanvas.h*(i/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===p&&(n>s&&"meet"===o||n<s&&"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(){this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText="");var t,e=this.layers?this.layers.length:0;for(t=e-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy&&this.elements[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){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 i,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,s=this.cTr.props;for(e=0;e<16;e+=1)s[e]=r[e];if(t){this.nativeContext.restore();var n=this.stack[this.cArrPos+1];this.appliedFillStyle=n.fillStyle,this.appliedStrokeStyle=n.strokeStyle,this.appliedLineWidth=n.lineWidth,this.appliedLineCap=n.lineCap,this.appliedLineJoin=n.lineJoin,this.appliedMiterLimit=n.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 s=this.stack[this.cArrPos];s.opacity=r.opacity,s.fillStyle=r.fillStyle,s.strokeStyle=r.strokeStyle,s.lineWidth=r.lineWidth,s.lineCap=r.lineCap,s.lineJoin=r.lineJoin,s.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){ 11this.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,648 bytes, line 11
11,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=this.canvasContext;t.beginPath(),t.moveTo(0,0),t.lineTo(this.data.w,0),t.lineTo(this.data.w,this.data.h),t.lineTo(0,this.data.h),t.lineTo(0,0),t.clip();var e,i=this.layers.length;for(e=i-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},CVCompElement.prototype.destroy=function(){var t,e=this.layers.length;for(t=e-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy();this.layers=null,this.elements=null},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"),t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):(t=createTag("div"),t.style.width=this.data.sw+"px",t.style.height=this.data.sh+"px",t.style.backgroundColor=this.data.sc),this.layerElement.appendChild(t)},extendPrototype([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,s,n,a,o=t.sh.v,l=t.transformers,h=o._length;if(!(h<=1)){for(i=0;i<h-1;i+=1)r=this.getTransformedPoint(l,o.v[i]),s=this.getTransformedPoint(l,o.o[i]),n=this.getTransformedPoint(l,o.i[i+1]),a=this.getTransformedPoint(l,o.v[i+1]),this.checkBounds(r,s,n,a,e);o.c&&(r=this.getTransformedPoint(l,o.v[i]),s=this.getTransformedPoint(l,o.o[i]),n=this.getTransformedPoint(l,o.i[0]),a=this.getTransformedPoint(l,o.v[0]),this.checkBounds(r,s,n,a,e))}}
vendor: 14,566 bytes, line 11
11,HShapeElement.prototype.checkBounds=function(t,e,i,r,s){this.getBoundsOfCurve(t,e,i,r);var n=this.shapeBoundingBox;s.x=bmMin(n.left,s.x),s.xMax=bmMax(n.right,s.xMax),s.y=bmMin(n.top,s.y),s.yMax=bmMax(n.bottom,s.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 s,n,a,o,l,h,p,c=[[t[0],r[0]],[t[1],r[1]]],f=0;f<2;++f)n=6*t[f]-12*e[f]+6*i[f],s=-3*t[f]+9*e[f]-9*i[f]+3*r[f],a=3*e[f]-3*t[f],n|=0,s|=0,a|=0,0===s&&0===n||(0===s?(o=-a/n)>0&&o<1&&c[f].push(this.calculateF(o,t,e,i,r,f)):(l=n*n-4*a*s)>=0&&(h=(-n+bmSqrt(l))/(2*s),h>0&&h<1&&c[f].push(this.calculateF(h,t,e,i,r,f)),(p=(-n-bmSqrt(l))/(2*s))>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,s,n){return bmPow(1-t,3)*e[n]+3*bmPow(1-t,2)*t*i[n]+3*(1-t)*bmPow(t,2)*r[n]+bmPow(t,3)*s[n]},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 s=t.keyframes[r].s;s>i&&(i=s)}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,s="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";r.transform=s,r.webkitTransform=s}}},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=this.globalData.fontManager.getFontByName(t.f);if(!this.globalData.fontManager.chars)if(e.fontSize=t.finalSize+"px",e.lineHeight=t.finalSize+"px",r.fClass)this.innerElem.className=r.fClass;else{e.fontFamily=r.fFamily;var s=t.fWeight,n=t.fStyle;e.fontStyle=n,e.fontWeight=s}var a,o,l=t.l;o=l.length;var h,p,c,f,d=this.mHelper,u="",m=0;for(a=0;a<o;a+=1){if(this.globalData.fontManager.chars?(this.textPaths[m]?h=this.textPaths[m]:(h=createNS("path"),h.setAttribute("stroke-linecap",lineCapEnum[1]),h.setAttribute("stroke-linejoin",lineJoinEnum[2]),h.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[m]?(p=this.textSpans[m],c=p.children[0]):(p=createTag("div"),p.style.lineHeight=0,c=createNS("svg"),c.appendChild(h),styleDiv(p)))):this.isMasked?h=this.textPaths[m]?this.textPaths[m]:createNS("text"):this.textSpans[m]?(p=this.textSpans[m],h=this.textPaths[m]):(p=createTag("span"),styleDiv(p),h=createTag("span"),styleDiv(h),p.appendChild(h)),this.globalData.fontManager.chars){var g,y=this.globalData.fontManager.getCharData(t.finalText[a],r.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily);if(g=y?y.data:null,d.reset(),g&&g.shapes&&g.shapes.length&&(f=g.shapes[0].it,d.scale(t.finalSize/100,t.finalSize/100),u=this.createPathShape(d,f),h.setAttribute("d",u)),this.isMasked)this.innerElem.appendChild(h);else{if(this.innerElem.appendChild(p),g&&g.shapes){document.body.appendChild(c);var v=c.getBBox();c.setAttribute("width",v.width+2),c.setAttribute("height",v.height+2),c.setAttribute("viewBox",v.x-1+" "+(v.y-1)+" "+(v.width+2)+" "+(v.height+2));var b=c.style,E="translate("+(v.x-1)+"px,"+(v.y-1)+"px)";b.transform=E,b.webkitTransform=E,l[a].yOffset=v.y-1}else c.setAttribute("width",1),c.setAttribute("height",1);p.appendChild(c)}}else if(h.textContent=l[a].val,h.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(h);else{this.innerElem.appendChild(p);var _=h.style,S="translate3d(0,"+-t.finalSize/1.2+"px,0)";_.transform=S,_.webkitTransform=S}this.isMasked?this.textSpans[m]=h:this.textSpans[m]=p,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(){this.validateText();var t;if(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,s=0,n=this.textAnimator.renderedLetters,a=this.textProperty.currentData.l;r=a.length;var o,l,h;for(i=0;i<r;i+=1)a[i].n?s+=1:(l=this.textSpans[i],h=this.textPaths[i],o=n[s],s+=1,o._mdf.m&&(this.isMasked?l.setAttribute("transform",o.m):(l.style.webkitTransform=o.m,l.style.transform=o.m)),l.style.opacity=o.o,o.sw&&o._mdf.sw&&h.setAttribute("stroke-width",o.sw),o.sc&&o._mdf.sc&&h.setAttribute("stroke",o.sc),o.fc&&o._mdf.fc&&(h.setAttribute("fill",o.fc),h.style.color=o.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var p=this.innerElem.getBBox();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));if(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,s=this.comp.threeDElements.length;for(t=0;t<s;t+=1)if(e=this.comp.threeDElements[t],"3d"===e.type){i=e.perspectiveElem.style,r=e.container.style;var n=this.pe.v+"px",a="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";i.perspective=n,i.webkitPerspective=n,r.transformOrigin="0px 0px 0px",r.mozTransformOrigin="0px 0px 0px",r.webkitTransformOrigin="0px 0px 0px",i.transform=a,i.webkitTransform=a}},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(e=this.hierarchy.length-1,t=e;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 s;s=this.p?[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var n=Math.sqrt(Math.pow(s[0],2)+Math.pow(s[1],2)+Math.pow(s[2],2)),a=[s[0]/n,s[1]/n,s[2]/n],o=Math.sqrt(a[2]*a[2]+a[0]*a[0]),l=Math.atan2(a[1],o),h=Math.atan2(a[0],-a[2]);this.mat.rotateY(h).rotateX(-l)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var p=!this._prevMat.equals(this.mat);if((p||this.pe._mdf)&&this.comp.threeDElements){e=this.comp.threeDElements.length;var c,f,d;for(t=0;t<e;t+=1)if(c=this.comp.threeDElements[t],"3d"===c.type){if(p){var u=this.mat.toCSS();d=c.container.style,d.transform=u,d.webkitTransform=u}this.pe._mdf&&(f=c.perspectiveElem.style,f.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 s,n,a,o=0;o<e;)this.elements[o]&&!0!==this.elements[o]&&this.elements[o].getBaseElement&&(n=this.elements[o],a=this.layers[o].ddd?this.getThreeDContainerByPos(o):n.getBaseElement(),s=a||s),o+=1;s?r.ddd&&this.supports3d||this.layerElement.insertBefore(i,s):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,s=createTag("div");styleDiv(s);var n=createTag("div");if(styleDiv(n),"3d"===e){i=s.style,i.width=this.globalData.compSize.w+"px",i.height=this.globalData.compSize.h+"px";i.webkitTransformOrigin="50% 50%",i.mozTransformOrigin="50% 50%",i.transformOrigin="50% 50%",r=n.style;var a="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";r.transform=a,r.webkitTransform=a}s.appendChild(n);var o={container:n,perspectiveElem:s,startPos:t,endPos:t,type:e};return this.threeDElements.push(o),o},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(i=this.threeDElements.length,t=i-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 s,n=this.threeDElements[i].startPos;
vendor: 4,399 bytes, line 11
11n<e;)this.elements[n]&&this.elements[n].getBaseElement&&(s=this.elements[n].getBaseElement()),n+=1;s?this.threeDElements[i].container.insertBefore(t,s):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 s=createNS("svg");s.setAttribute("width","1"),s.setAttribute("height","1"),styleDiv(s),this.resizerElem.appendChild(s);var n=createNS("defs");s.appendChild(n),this.data=t,this.setupGlobalData(t,s),this.globalData.defs=n,this.layers=t.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var t,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,s=this.animationItem.wrapper.offsetWidth,n=this.animationItem.wrapper.offsetHeight,a=s/n,o=this.globalData.compSize.w/this.globalData.compSize.h;o>a?(t=s/this.globalData.compSize.w,e=s/this.globalData.compSize.w,i=0,r=(n-this.globalData.compSize.h*(s/this.globalData.compSize.w))/2):(t=n/this.globalData.compSize.h,e=n/this.globalData.compSize.h,i=(s-this.globalData.compSize.w*(n/this.globalData.compSize.h))/2,r=0);var l=this.resizerElem.style;l.webkitTransform="matrix3d("+t+",0,0,0,0,"+e+",0,0,0,0,1,0,"+i+","+r+",0,1)",l.transform=l.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 s=this.threeDElements[t].perspectiveElem.style;s.webkitPerspective=Math.sqrt(Math.pow(e,2)+Math.pow(i,2))+"px",s.perspective=s.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 s=this.createComp(t[e],r,this.globalData.comp,null);s.initExpressions(),this.globalData.projectInterface.registerComposition(s)}},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(){return 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}}(),propTypes={SHAPE:"shape"}
vendor: 9,570 bytes, lines 11-12
11,ExpressionManager=function(){function 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,s=[];for(i=0;i<r;i+=1)s[i]=-t[i];return s}return t.propType?t.v:-t}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),t[0]+=e,t;if(isNumerable(i,t)&&$bm_isInstanceOfArray(e))return e=e.slice(0),e[0]=t+e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var s=0,n=t.length,a=e.length,o=[];s<n||s<a;)("number"==typeof t[s]||t[s]instanceof Number)&&("number"==typeof e[s]||e[s]instanceof Number)?o[s]=t[s]+e[s]:o[s]=void 0===e[s]?t[s]:t[s]||e[s],s+=1;return o}return 0}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),t[0]-=e,t;if(isNumerable(i,t)&&$bm_isInstanceOfArray(e))return e=e.slice(0),e[0]=t-e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var s=0,n=t.length,a=e.length,o=[];s<n||s<a;)("number"==typeof t[s]||t[s]instanceof Number)&&("number"==typeof e[s]||e[s]instanceof Number)?o[s]=t[s]-e[s]:o[s]=void 0===e[s]?t[s]:t[s]||e[s],s+=1;return o}return 0}function mul(t,e){var i,r=_typeof$1(t),s=_typeof$1(e);if(isNumerable(r,t)&&isNumerable(s,e))return t*e;var n,a;if($bm_isInstanceOfArray(t)&&isNumerable(s,e)){for(a=t.length,i=createTypedArray("float32",a),n=0;n<a;n+=1)i[n]=t[n]*e;return i}if(isNumerable(r,t)&&$bm_isInstanceOfArray(e)){for(a=e.length,i=createTypedArray("float32",a),n=0;n<a;n+=1)i[n]=t*e[n];return i}return 0}function div(t,e){var i,r=_typeof$1(t),s=_typeof$1(e);if(isNumerable(r,t)&&isNumerable(s,e))return t/e;var n,a;if($bm_isInstanceOfArray(t)&&isNumerable(s,e)){for(a=t.length,i=createTypedArray("float32",a),n=0;n<a;n+=1)i[n]=t[n]/e;return i}if(isNumerable(r,t)&&$bm_isInstanceOfArray(e)){for(a=e.length,i=createTypedArray("float32",a),n=0;n<a;n+=1)i[n]=t/e[n];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}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}function degreesToRadians(t){return t*degToRads}function length(t,e){if("number"==typeof t||t instanceof Number)return e=e||0,Math.abs(t-e);e||(e=helperLengthArray);var i,r=Math.min(t.length,e.length),s=0;for(i=0;i<r;i+=1)s+=Math.pow(e[i]-t[i],2);return Math.sqrt(s)}function normalize(t){return div(t,length(t))}function rgbToHsl(t){var e,i,r=t[0],s=t[1],n=t[2],a=Math.max(r,s,n),o=Math.min(r,s,n),l=(a+o)/2;if(a===o)e=0,i=0;else{var h=a-o;switch(i=l>.5?h/(2-a-o):h/(a+o),a){case r:e=(s-n)/h+(s<n?6:0);break;case s:e=(n-r)/h+2;break;case n:e=(r-s)/h+4}e/=6}return[e,i,l,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,s=t[0],n=t[1],a=t[2];if(0===n)e=a,r=a,i=a;else{var o=a<.5?a*(1+n):a+n-a*n,l=2*a-o;e=hue2rgb(l,o,s+1/3),i=hue2rgb(l,o,s),r=hue2rgb(l,o,s-1/3)}return[e,i,r,t[3]]}function linear(t,e,i,r,s){if(void 0!==r&&void 0!==s||(r=e,s=i,e=0,i=1),i<e){var n=i;i=e,e=n}if(t<=e)return r;if(t>=i)return s;var a=i===e?0:(t-e)/(i-e);if(!r.length)return r+(s-r)*a;var o,l=r.length,h=createTypedArray("float32",l);for(o=0;o<l;o+=1)h[o]=r[o]+(s[o]-r[o])*a;return h}function random(t,e){if(void 0===e&&(void 0===t?(t=0,e=1):(e=t,t=void 0)),e.length){var i,r=e.length;t||(t=createTypedArray("float32",r));var s=createTypedArray("float32",r),n=BMMath.random();for(i=0;i<r;i+=1)s[i]=t[i]+n*(e[i]-t[i]);return s}return void 0===t&&(t=0),t+BMMath.random()*(e-t)}function createPath(t,e,i,r){var s,n=t.length,a=shapePool.newElement();a.setPathData(!!r,n);var o,l,h=[0,0];for(s=0;s<n;s+=1)o=e&&e[s]?e[s]:h,l=i&&i[s]?i[s]:h,a.setTripleAt(t[s][0],t[s][1],l[0]+t[s][0],l[1]+t[s][1],o[0]+t[s][0],o[1]+t[s][1],s,!0);return a}function initiateExpression(elem,data,property){function noOp(t){return t}function loopInDuration(t,e){return loopIn(t,e,!0)}function loopOutDuration(t,e){return loopOut(t,e,!0)}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,s){return applyEase(easeOutBez,t,e,i,r,s)}function easeIn(t,e,i,r,s){return applyEase(easeInBez,t,e,i,r,s)}function ease(t,e,i,r,s){return applyEase(easeInOutBez,t,e,i,r,s)}function applyEase(t,e,i,r,s,n){void 0===s?(s=i,n=r):e=(e-i)/(r-i),e>1?e=1:e<0&&(e=0);var a=t(e);if($bm_isInstanceOfArray(s)){var o,l=s.length,h=createTypedArray("float32",l);for(o=0;o<l;o+=1)h[o]=(n[o]-s[o])*a+s[o];return h}return(n-s)*a+s}function nearestKey(t){var e,i,r,s=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<s-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 n={};return n.index=i,n.time=r/elem.comp.globalData.frameRate,n}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:[]} 12;var s=Object.prototype.hasOwnProperty.call(data.k[t],"s")?data.k[t].s:data.k[t-1].e;for(r=s.length,i=0;i<r;i+=1)e[i]=s[i],e.value[i]=s[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)}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),hasParent&&!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)}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._name=elem.data.nm,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,s=this.pv.length?this.pv.length:1,n=createTypedArray("float32",s);t=5;var a=Math.floor(time*t);for(i=0,r=0;i<a;){for(r=0;r<s;r+=1)n[r]+=-e+2*e*BMMath.random();i+=1}var o=time*t,l=o-Math.floor(o),h=createTypedArray("float32",s);if(s>1){for(r=0;r<s;r+=1)h[r]=this.pv[r]+n[r]+(-e+2*e*BMMath.random())*l;return h}return this.pv+n[0]+(-e+2*e*BMMath.random())*l}.bind(this);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));
vendor: 13,481 bytes, line 12
12var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface),time,velocity,value,text,textIndex,textTotal,selectorValue,index=elem.data.ind,hasParent=!(!elem.hierarchy||!elem.hierarchy.length),parent,randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;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}var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};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,add=sum,$bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod,radians_to_degrees=radiansToDegrees,degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];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(){function t(t){function e(){n+=1}function i(){0===(n-=1)&&s()}function r(t){-1===a.indexOf(t)&&a.push(t)}function s(){var t,e=a.length;for(t=0;t<e;t+=1)a[t].release();a.length=0}var n=0,a=[];t.renderer.compInterface=CompExpressionInterface(t.renderer),t.renderer.globalData.projectInterface.registerComposition(t.renderer),t.renderer.globalData.pushExpression=e,t.renderer.globalData.popExpression=i,t.renderer.globalData.registerExpressionProperty=r}var e={};return e.initExpressions=t,e.resetFrame=ExpressionManager.resetFrame,e}(),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),s=e.viewData.length;for(i=0;i<s;i+=1)r[i]=new t(e.viewData[i],e.masksProperties[i]);return function(t){for(i=0;i<s;){if(e.masksProperties[i].nm===t)return r[i];i+=1}return null}}}(),ExpressionPropertyInterface=function(){function t(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 s="";s="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 n="unidimensional"===i?new Number(s):Object.assign({},s);return n.time=e.keyframes[r-1].t/e.elem.comp.globalData.frameRate,n.value="unidimensional"===i?s[0]:s,n},t.valueAtTime=e.getValueAtTime,t.speedAtTime=e.getSpeedAtTime,t.velocityAtTime=e.getVelocityAtTime,t.propertyGroup=e.propertyGroup}function e(e){e&&"pv"in e||(e=s);var i=1/e.mult,r=e.pv*i,n=new Number(r);return n.value=r,t(n,e,"unidimensional"),function(){return e.k&&e.getValue(),r=e.v*i,n.value!==r&&(n=new Number(r),n.value=r,n[0]=r,t(n,e,"unidimensional")),n}}function i(e){e&&"pv"in e||(e=n);var i=1/e.mult,r=e.data&&e.data.l||e.pv.length,s=createTypedArray("float32",r),a=createTypedArray("float32",r);return s.value=a,t(s,e,"multidimensional"),function(){e.k&&e.getValue();for(var t=0;t<r;t+=1)a[t]=e.v[t]*i,s[t]=a[t];return s}}function r(){return s}var s={pv:0,v:0,mult:1},n={pv:[0,0,0],v:[0,0,0],mult:1};return function(t){return t?"unidimensional"===t.propType?e(t):i(t):r}}(),TransformExpressionInterface=function(){return function(t){function e(t){switch(t){case"scale":case"Scale":case"ADBE Scale":case 6:return e.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return e.rotation;case"ADBE Rotate X":return e.xRotation;case"ADBE Rotate Y":return e.yRotation;case"position":case"Position":case"ADBE Position":case 2:return e.position;case"ADBE Position_0":return e.xPosition;case"ADBE Position_1":return e.yPosition;case"ADBE Position_2":return e.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return e.anchorPoint;case"opacity":case"Opacity":case 11:return e.opacity;default:return null}}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)});var i,r,s,n;return t.p?n=ExpressionPropertyInterface(t.p):(i=ExpressionPropertyInterface(t.px),r=ExpressionPropertyInterface(t.py),t.pz&&(s=ExpressionPropertyInterface(t.pz))),Object.defineProperty(e,"position",{get:function(){return t.p?n():[i(),r(),s?s():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;if(void 0!==t){this._elem.finalTransform.mProp.getValueAtTime(t).clone(e)}else{this._elem.finalTransform.mProp.applyToMatrix(e)}return 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 s(t,e){var i=this.getMatrix(e);return this.invertPoint(i,t)}function n(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 l(){return[1,1,1,1]}return function(h){function p(t){f.mask=new MaskManagerInterface(t,h)}function c(t){f.effect=t}function f(t){switch(t){case"ADBE Root Vectors Group":case"Contents":case 2:return f.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return d;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return f.effect;case"ADBE Text Properties":return f.textInterface;default:return null}}var d;f.getMatrix=t,f.invertPoint=a,f.applyPoint=n,f.toWorld=i,f.toWorldVec=e,f.fromWorld=s,f.fromWorldVec=r,f.toComp=i,f.fromComp=o,f.sampleImage=l,f.sourceRectAtTime=h.sourceRectAtTime.bind(h),f._elem=h,d=TransformExpressionInterface(h.finalTransform.mProp);var u=getDescriptor(d,"anchorPoint");return Object.defineProperties(f,{hasParent:{get:function(){return h.hierarchy.length}},parent:{get:function(){return h.hierarchy[0].layerInterface}},rotation:getDescriptor(d,"rotation"),scale:getDescriptor(d,"scale"),position:getDescriptor(d,"position"),opacity:getDescriptor(d,"opacity"),anchorPoint:u,anchor_point:u,transform:{get:function(){return d}},active:{get:function(){return h.isInRange}}}),f.startTime=h.data.st,f.index=h.data.ind,f.source=h.data.refId,f.height=0===h.data.ty?h.data.h:100,f.width=0===h.data.ty?h.data.w:100,f.inPoint=h.data.ip/h.comp.globalData.frameRate,f.outPoint=h.data.op/h.comp.globalData.frameRate,f._name=h.data.nm,f.registerMaskInterface=p,f.registerEffectsInterface=c,f}}(),propertyGroupFactory=function(){return function(t,e){return function(i){return i=void 0===i?1:i,i<=0?t:e(i-1)}}}(),PropertyInterface=function(){return function(t,e){function i(t){return t=void 0===t?1:t,t<=0?r:e(t-1)}var r={_name:t};return i}}(),EffectsExpressionInterface=function(){function t(t,i){if(t.effectsManager){var r,s=[],n=t.data.ef,a=t.effectsManager.effectElements.length;for(r=0;r<a;r+=1)s.push(e(n[r],t.effectsManager.effectElements[r],i,t));var o=t.data.ef||[],l=function(t){for(r=0,a=o.length;r<a;){if(t===o[r].nm||t===o[r].mn||t===o[r].ix)return s[r];r+=1}return null};return Object.defineProperty(l,"numProperties",{get:function(){return o.length}}),l}return null}function e(t,r,s,n){function a(e){for(var i=t.ef,r=0,s=i.length;r<s;){if(e===i[r].nm||e===i[r].mn||e===i[r].ix)return 5===i[r].ty?h[r]:h[r]();r+=1}throw new Error}var o,l=propertyGroupFactory(a,s),h=[],p=t.ef.length;for(o=0;o<p;o+=1)5===t.ef[o].ty?h.push(e(t.ef[o],r.effectElements[o],r.effectElements[o].propertyGroup,n)):h.push(i(r.effectElements[o],t.ef[o].ty,n,l));return"ADBE Color Control"===t.mn&&Object.defineProperty(a,"color",{get:function(){return h[0]()}}),Object.defineProperties(a,{numProperties:{get:function(){return t.np}},_name:{value:t.nm},propertyGroup:{value:l}}),a.enabled=0!==t.en,a.active=a.enabled,a}function i(t,e,i,r){function s(){return 10===e?i.comp.compInterface(t.p.v):n()}var n=ExpressionPropertyInterface(t.p);return t.p.setGroupProperty&&t.p.setGroupProperty(PropertyInterface("",r)),s}return{createEffectsInterface:t}}(),ShapePathInterface=function(){return function(t,e,i){function r(t){return"Shape"===t||"shape"===t||"Path"===t||"path"===t||"ADBE Vector Shape"===t||2===t?r.path:null}var s=e.sh,n=propertyGroupFactory(r,i);return s.setGroupProperty(PropertyInterface("Path",n)),Object.defineProperties(r,{path:{get:function(){return s.k&&s.getValue(),s}},shape:{get:function(){return s.k&&s.getValue(),s}},_name:{value:t.nm},ix:{value:t.ix},propertyIndex:{value:t.ix},mn:{value:t.mn},propertyGroup:{value:i}}),r}}(),ShapeExpressionInterface=function(){function t(t,e,l){var u,m=[],g=t?t.length:0;for(u=0;u<g;u+=1)"gr"===t[u].ty?m.push(i(t[u],e[u],l)):"fl"===t[u].ty?m.push(r(t[u],e[u],l)):"st"===t[u].ty?m.push(a(t[u],e[u],l)):"tm"===t[u].ty?m.push(o(t[u],e[u],l)):"tr"===t[u].ty||("el"===t[u].ty?m.push(h(t[u],e[u],l)):"sr"===t[u].ty?m.push(p(t[u],e[u],l)):"sh"===t[u].ty?m.push(ShapePathInterface(t[u],e[u],l)):"rc"===t[u].ty?m.push(c(t[u],e[u],l)):"rd"===t[u].ty?m.push(f(t[u],e[u],l)):"rp"===t[u].ty?m.push(d(t[u],e[u],l)):"gf"===t[u].ty?m.push(s(t[u],e[u],l)):m.push(n(t[u],e[u])));return m}function e(e,i,r){var s,n=function(t){for(var e=0,i=s.length;e<i;){if(s[e]._name===t||s[e].mn===t||s[e].propertyIndex===t||s[e].ix===t||s[e].ind===t)return s[e];e+=1}return"number"==typeof t?s[t-1]:null};return n.propertyGroup=propertyGroupFactory(n,r),s=t(e.it,i.it,n.propertyGroup),n.numProperties=s.length,n.transform=l(e.it[e.it.length-1],i.it[i.it.length-1],n.propertyGroup),n.propertyIndex=e.cix,n._name=e.nm,n}function i(t,i,r){var s=function(t){switch(t){case"ADBE Vectors Group":case"Contents":case 2:return s.content;default:return s.transform}};s.propertyGroup=propertyGroupFactory(s,r);var n=e(t,i,s.propertyGroup),a=l(t.it[t.it.length-1],i.it[i.it.length-1],s.propertyGroup);return s.content=n,s.transform=a,Object.defineProperty(s,"_name",{get:function(){return t.nm}}),s.numProperties=t.np,s.propertyIndex=t.ix,s.nm=t.nm,s.mn=t.mn,s}function r(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 s(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(){function t(){return null}return t}function a(t,e,i){function r(t){return"Color"===t||"color"===t?r.color:"Opacity"===t||"opacity"===t?r.opacity:"Stroke Width"===t||"stroke width"===t?r.strokeWidth:null}
vendor: 4,544 bytes, line 12
12var s,n=propertyGroupFactory(r,i),a=propertyGroupFactory(l,n),o=t.d?t.d.length:0,l={};for(s=0;s<o;s+=1)!function(i){Object.defineProperty(l,t.d[i].nm,{get:ExpressionPropertyInterface(e.d.dataProps[i].p)})}(s),e.d.dataProps[s].p.setGroupProperty(a);return Object.defineProperties(r,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},strokeWidth:{get:ExpressionPropertyInterface(e.w)},dash:{get:function(){return l}},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(PropertyInterface("Color",n)),e.o.setGroupProperty(PropertyInterface("Opacity",n)),e.w.setGroupProperty(PropertyInterface("Stroke Width",n)),r}function o(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 s=propertyGroupFactory(r,i);return r.propertyIndex=t.ix,e.s.setGroupProperty(PropertyInterface("Start",s)),e.e.setGroupProperty(PropertyInterface("End",s)),e.o.setGroupProperty(PropertyInterface("Offset",s)),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 l(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 s=propertyGroupFactory(r,i);return e.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",s)),e.transform.mProps.p.setGroupProperty(PropertyInterface("Position",s)),e.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",s)),e.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",s)),e.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",s)),e.transform.mProps.sk&&(e.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",s)),e.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",s))),e.transform.op.setGroupProperty(PropertyInterface("Opacity",s)),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 h(t,e,i){function r(e){return t.p.ix===e?r.position:t.s.ix===e?r.size:null}var s=propertyGroupFactory(r,i);r.propertyIndex=t.ix;var n="tm"===e.sh.ty?e.sh.prop:e.sh;return n.s.setGroupProperty(PropertyInterface("Size",s)),n.p.setGroupProperty(PropertyInterface("Position",s)),Object.defineProperties(r,{size:{get:ExpressionPropertyInterface(n.s)},position:{get:ExpressionPropertyInterface(n.p)},_name:{value:t.nm}}),r.mn=t.mn,r}function p(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 s=propertyGroupFactory(r,i),n="tm"===e.sh.ty?e.sh.prop:e.sh;return r.propertyIndex=t.ix,n.or.setGroupProperty(PropertyInterface("Outer Radius",s)),n.os.setGroupProperty(PropertyInterface("Outer Roundness",s)),n.pt.setGroupProperty(PropertyInterface("Points",s)),n.p.setGroupProperty(PropertyInterface("Position",s)),n.r.setGroupProperty(PropertyInterface("Rotation",s)),t.ir&&(n.ir.setGroupProperty(PropertyInterface("Inner Radius",s)),n.is.setGroupProperty(PropertyInterface("Inner Roundness",s))),Object.defineProperties(r,{position:{get:ExpressionPropertyInterface(n.p)},rotation:{get:ExpressionPropertyInterface(n.r)},points:{get:ExpressionPropertyInterface(n.pt)},outerRadius:{get:ExpressionPropertyInterface(n.or)},outerRoundness:{get:ExpressionPropertyInterface(n.os)},innerRadius:{get:ExpressionPropertyInterface(n.ir)},innerRoundness:{get:ExpressionPropertyInterface(n.is)},_name:{value:t.nm}}),r.mn=t.mn,r}function c(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}
12var s=propertyGroupFactory(r,i),n="tm"===e.sh.ty?e.sh.prop:e.sh;return r.propertyIndex=t.ix,n.p.setGroupProperty(PropertyInterface("Position",s)),n.s.setGroupProperty(PropertyInterface("Size",s)),n.r.setGroupProperty(PropertyInterface("Rotation",s)),Object.defineProperties(r,{position:{get:ExpressionPropertyInterface(n.p)},roundness:{get:ExpressionPropertyInterface(n.r)},size:{get:ExpressionPropertyInterface(n.s)},_name:{value:t.nm}}),r.mn=t.mn,r}function f(t,e,i){function r(e){return t.r.ix===e||"Round Corners 1"===e?r.radius:null}var s=propertyGroupFactory(r,i),n=e;return r.propertyIndex=t.ix,n.rd.setGroupProperty(PropertyInterface("Radius",s)),Object.defineProperties(r,{radius:{get:ExpressionPropertyInterface(n.rd)},_name:{value:t.nm}}),r.mn=t.mn,r}function d(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 s=propertyGroupFactory(r,i),n=e;return r.propertyIndex=t.ix,n.c.setGroupProperty(PropertyInterface("Copies",s)),n.o.setGroupProperty(PropertyInterface("Offset",s)),Object.defineProperties(r,{copies:{get:ExpressionPropertyInterface(n.c)},offset:{get:ExpressionPropertyInterface(n.o)},_name:{value:t.nm}}),r.mn=t.mn,r}return function(e,i,r){function s(t){if("number"==typeof t)return t=void 0===t?1:t,0===t?r:a[t-1];for(var e=0,i=a.length;e<i;){if(a[e]._name===t)return a[e];e+=1}return null}function n(){return r}var a;return s.propertyGroup=propertyGroupFactory(s,n),a=t(e,i,s.propertyGroup),s.numProperties=a.length,s._name="Contents",s}}(),TextExpressionInterface=function(){return function(t){function e(t){switch(t){case"ADBE Text Document":return e.sourceText;default:return null}}var i;return Object.defineProperty(e,"sourceText",{get:function(){t.textProperty.getValue();var e=t.textProperty.currentData.t;return i&&e===i.value||(i=new String(e),i.value=e||new String(e),Object.defineProperty(i,"style",{get:function(){return{fillColor:t.textProperty.currentData.fc}}})),i}}),e}}(),FootageInterface=function(){var t=function(t){function e(){return r="",s=t.getFootageData(),i}function i(t){if(s[t])return r=t,s=s[t],"object"===_typeof(s)?i:s;var e=t.indexOf(r);if(-1!==e){var n=parseInt(t.substr(e+r.length),10);return s=s[n],"object"===_typeof(s)?i:s}return""}var r="",s=t.getFootageData();return e},e=function(e){function i(t){return"Outline"===t?i.outlineInterface():null}return i._name="Outline",i.outlineInterface=t(e),i};return function(t){function i(t){return"Data"===t?i.dataInterface:null}return i._name="Data",i.dataInterface=e(t),i}}(),interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface},expressionHelpers=function(){function t(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)))}function e(t){return t*=this.elem.globalData.frameRate,t-=this.offsetTime,t!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<t?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(t,this._cachingAtTime),this._cachingAtTime.lastFrame=t),this._cachingAtTime.value}function i(t){var e=this.getValueAtTime(t),i=this.getValueAtTime(t+-.01),r=0;if(e.length){var s;for(s=0;s<e.length;s+=1)r+=Math.pow(i[s]-e[s],2);r=100*Math.sqrt(r)}else r=0;return r}function r(t){if(void 0!==this.vel)return this.vel;var e,i=this.getValueAtTime(t),r=this.getValueAtTime(t+-.001);if(i.length){e=createTypedArray("float32",i.length);var s;for(s=0;s<i.length;s+=1)e[s]=(r[s]-i[s])/-.001}else e=(r-i)/-.001;return e}function s(){return this.pv}function n(t){this.propertyGroup=t}return{searchExpressions:t,getSpeedAtTime:i,getVelocityAtTime:r,getValueAtTime:e,getStaticValueAtTime:s,setGroupProperty:n}}();SVGComposableEffect.prototype={createMergeNode:function(t,e){var i=createNS("feMerge");i.setAttribute("result",t);var r,s;for(s=0;s<e.length;s+=1)r=createNS("feMergeNode"),r.setAttribute("in",e[s]),i.appendChild(r),i.appendChild(r);return i}};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";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,s=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(r=this.elem.maskManager.masksProperties.length,i=0):(i=this.filterManager.effectElements[0].p.v-1,r=i+1),e=createNS("g"),e.setAttribute("fill","none"),e.setAttribute("stroke-linecap","round"),e.setAttribute("stroke-dashoffset",1),i;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 n=createNS("mask"),a=createElementID();n.setAttribute("id",a),n.setAttribute("mask-type","alpha"),n.appendChild(e),this.elem.globalData.defs.appendChild(n);var o=createNS("g");for(o.setAttribute("mask","url("+getLocationHref()+"#"+a+")");s[0];)o.appendChild(s[0]);this.elem.layerElement.appendChild(o),this.masker=n,e.setAttribute("stroke","#fff")}else if(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v){if(2===this.filterManager.effectElements[10].p.v)for(s=this.elem.layerElement.children||this.elem.layerElement.childNodes;s.length;)this.elem.layerElement.removeChild(s[0]);this.elem.layerElement.appendChild(e),this.elem.layerElement.removeAttribute("mask"),e.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=e},SVGStrokeEffect.prototype.renderFrame=function(t){this.initialized||this.initialize();var e,i,r,s=this.paths.length;for(e=0;e<s;
vendor: 4,653 bytes, lines 12-13
12e+=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 n;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),l=r.getTotalLength();n="0 0 0 "+l*a+" ";var h,p=l*(o-a),c=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01,f=Math.floor(p/c);for(h=0;h<f;h+=1)n+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01+" ";n+="0 "+10*l+" 0 0"}else n="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01;r.setAttribute("stroke-dasharray",n)}if((t||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(t||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v)&&(t||this.filterManager.effectElements[3].p._mdf)){var d=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(255*d[0])+","+bmFloor(255*d[1])+","+bmFloor(255*d[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,s=r[0]+" "+i[0]+" "+e[0],n=r[1]+" "+i[1]+" "+e[1],a=r[2]+" "+i[2]+" "+e[2];this.feFuncR.setAttribute("tableValues",s),this.feFuncG.setAttribute("tableValues",n),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,s){for(var n,a,o=0,l=Math.min(t,e),h=Math.max(t,e),p=Array.call(null,{length:256}),c=0,f=s-r,d=e-t;o<=256;)n=o/256,a=n<=l?d<0?s:r:n>=h?d<0?r:s:r+f*Math.pow((n-t)/d,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), 13this.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,s=i*Math.cos(r),n=i*Math.sin(r);
13this.feOffset.setAttribute("dx",s),this.feOffset.setAttribute("dy",n)}}};var _svgMatteSymbols=[];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=i.children,s=0,n=r.length;s<n&&r[s]!==t.layerElement;)s+=1;var a;s<=n-2&&(a=r[s+1]);var o=createNS("use");o.setAttribute("href","#"+e),a?i.insertBefore(o,a):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 s=t.globalData.defs;s.appendChild(r);var n=createNS("symbol");n.setAttribute("id",i),this.replaceInParent(e,i),n.appendChild(e.layerElement),s.appendChild(n);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,s=2==i?0:e;this.feGaussianBlur.setAttribute("stdDeviation",r+" "+s);var n=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",n)}},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,s=1===e[2].p.v,n=e[3].p.v,a=s?n:e[4].p.v,o=e[5].p.v,l=e[6].p.v,h=e[7].p.v;this.matrix.reset(),this.matrix.translate(-i[0],-i[1],i[2]),this.matrix.scale(.01*a,.01*n,1),this.matrix.rotate(-h*degToRads),this.matrix.skewFromAxis(-o*degToRads,(l+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}),function(t){var e;if("function"==typeof define&&define.amd&&(define(t),e=!0),"object"==typeof exports&&(module.exports=t(),e=!0),!e){var i=window.Cookies,r=window.Cookies=t();r.noConflict=function(){return window.Cookies=i,r}}}(function(){function t(){for(var t=0,e={};t<arguments.length;t++){var i=arguments[t];for(var r in i)e[r]=i[r]}return e}function e(t){return t.replace(/(%[0-9A-Z]{2}
13)+/g,decodeURIComponent)}function i(r){function s(){}function n(e,i,n){if("undefined"!=typeof document){n=t({path:"/"},s.defaults,n),"number"==typeof n.expires&&(n.expires=new Date(1*new Date+864e5*n.expires)),n.expires=n.expires?n.expires.toUTCString():"";try{var a=JSON.stringify(i);/^[\{\[]/.test(a)&&(i=a)}catch(t){}i=r.write?r.write(i,e):encodeURIComponent(String(i)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=encodeURIComponent(String(e)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var o="";for(var l in n)n[l]&&(o+="; "+l,!0!==n[l]&&(o+="="+n[l].split(";")[0]));return document.cookie=e+"="+i+o}}function a(t,i){if("undefined"!=typeof document){for(var s={},n=document.cookie?document.cookie.split("; "):[],a=0;a<n.length;a++){var o=n[a].split("="),l=o.slice(1).join("=");i||'"'!==l.charAt(0)||(l=l.slice(1,-1));try{var h=e(o[0]);if(l=(r.read||r)(l,h)||e(l),i)try{l=JSON.parse(l)}catch(t){}if(s[h]=l,t===h)break}catch(t){}}return t?s[t]:s}}return s.set=n,s.get=function(t){return a(t,!1)},s.getJSON=function(t){return a(t,!0)},s.remove=function(e,i){n(e,"",t(i,{expires:-1}))},s.defaults={},s.withConverter=i,s}return i(function(){})}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){t.extend(t.fn,{validate:function(e){if(!this.length)return void(e&&e.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing."));var i=t.data(this[0],"validator");return i||(this.attr("novalidate","novalidate"),i=new t.validator(e,this[0]),t.data(this[0],"validator",i),i.settings.onsubmit&&(this.on("click.validate",":submit",function(e){i.submitButton=e.currentTarget,t(this).hasClass("cancel")&&(i.cancelSubmit=!0),void 0!==t(this).attr("formnovalidate")&&(i.cancelSubmit=!0)}),this.on("submit.validate",function(e){function r(){var r,s;return i.submitButton&&(i.settings.submitHandler||i.formSubmitted)&&(r=t("<input type='hidden'/>").attr("name",i.submitButton.name).val(t(i.submitButton).val()).appendTo(i.currentForm)),!(i.settings.submitHandler&&!i.settings.debug)||(s=i.settings.submitHandler.call(i,i.currentForm,e),r&&r.remove(),void 0!==s&&s)}return i.settings.debug&&e.preventDefault(),i.cancelSubmit?(i.cancelSubmit=!1,r()):i.form()?i.pendingRequest?(i.formSubmitted=!0,!1):r():(i.focusInvalid(),!1)})),i)},valid:function(){var e,i,r;return t(this[0]).is("form")?e=this.validate().form():(r=[],e=!0,i=t(this[0].form).validate(),this.each(function(){(e=i.element(this)&&e)||(r=r.concat(i.errorList))}),i.errorList=r),e},rules:function(e,i){var r,s,n,a,o,l,h=this[0],p=void 0!==this.attr("contenteditable")&&"false"!==this.attr("contenteditable");if(null!=h&&(!h.form&&p&&(h.form=this.closest("form")[0],h.name=this.attr("name")),null!=h.form)){if(e)switch(r=t.data(h.form,"validator").settings,s=r.rules,n=t.validator.staticRules(h),e){case"add":t.extend(n,t.validator.normalizeRule(i)),delete n.messages,s[h.name]=n,i.messages&&(r.messages[h.name]=t.extend(r.messages[h.name],i.messages));break;case"remove":return i?(l={},t.each(i.split(/\s/),function(t,e){l[e]=n[e],delete n[e]}),l):(delete s[h.name],n)}return a=t.validator.normalizeRules(t.extend({},t.validator.classRules(h),t.validator.attributeRules(h),t.validator.dataRules(h),t.validator.staticRules(h)),h),a.required&&(o=a.required,delete a.required,a=t.extend({required:o},a)),a.remote&&(o=a.remote,delete a.remote,a=t.extend(a,{remote:o})),a}}});var e=function(t){return t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")};t.extend(t.expr.pseudos||t.expr[":"],{blank:function(i){return!e(""+t(i).val())},filled:function(i){var r=t(i).val();return null!==r&&!!e(""+r)},unchecked:function(e){return!t(e).prop("checked")}}),t.validator=function(e,i){this.settings=t.extend(!0,{},t.validator.defaults,e),this.currentForm=i,this.init()},t.validator.format=function(e,i){return 1===arguments.length?function(){var i=t.makeArray(arguments);return i.unshift(e),t.validator.format.apply(this,i)}:void 0===i?e:(arguments.length>2&&i.constructor!==Array&&(i=t.makeArray(arguments).slice(1)),i.constructor!==Array&&(i=[i]),t.each(i,function(t,i){e=e.replace(new RegExp("\\{"+t+"\\}","g"),function(){return i})}),e)},t.extend(t.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",pendingClass:"pending",validClass:"valid",errorElement:"label",focusCleanup:!1,focusInvalid:!0,ariaDescribedByCleanup:!1,errorContainer:t([]),errorLabelContainer:t([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,customElements:[],onfocusin:function(t){this.lastActive=t,this.settings.focusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,t,this.settings.errorClass,this.settings.val
vendor: 21,742 bytes, line 13
13idClass),this.hideThese(this.errorsFor(t)))},onfocusout:function(t){this.checkable(t)||!(t.name in this.submitted)&&this.optional(t)||this.element(t)},onkeyup:function(e,i){var r=[16,17,18,20,35,36,37,38,39,40,45,144,225];9===i.which&&""===this.elementValue(e)||-1!==t.inArray(i.keyCode,r)||(e.name in this.submitted||e.name in this.invalid)&&this.element(e)},onclick:function(t){t.name in this.submitted?this.element(t):t.parentNode.name in this.submitted&&this.element(t.parentNode)},highlight:function(e,i,r){"radio"===e.type?this.findByName(e.name).addClass(i).removeClass(r):t(e).addClass(i).removeClass(r)},unhighlight:function(e,i,r){"radio"===e.type?this.findByName(e.name).removeClass(i).addClass(r):t(e).removeClass(i).addClass(r)}},setDefaults:function(e){t.extend(t.validator.defaults,e)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",equalTo:"Please enter the same value again.",maxlength:t.validator.format("Please enter no more than {0} characters."),minlength:t.validator.format("Please enter at least {0} characters."),rangelength:t.validator.format("Please enter a value between {0} and {1} characters long."),range:t.validator.format("Please enter a value between {0} and {1}."),max:t.validator.format("Please enter a value less than or equal to {0}."),min:t.validator.format("Please enter a value greater than or equal to {0}."),step:t.validator.format("Please enter a multiple of {0}.")},autoCreateRanges:!1,prototype:{init:function(){function e(e){var i=void 0!==t(this).attr("contenteditable")&&"false"!==t(this).attr("contenteditable");if(!this.form&&i&&(this.form=t(this).closest("form")[0],this.name=t(this).attr("name")),r===this.form){var s=t.data(this.form,"validator"),n="on"+e.type.replace(/^validate/,""),a=s.settings;a[n]&&!t(this).is(a.ignore)&&a[n].call(s,this,e)}}this.labelContainer=t(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||t(this.currentForm),this.containers=t(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var i,r=this.currentForm,s=this.groups={};t.each(this.settings.groups,function(e,i){"string"==typeof i&&(i=i.split(/\s/)),t.each(i,function(t,i){s[i]=e})}),i=this.settings.rules,t.each(i,function(e,r){i[e]=t.validator.normalizeRule(r)});var n=[":text","[type='password']","[type='file']","select","textarea","[type='number']","[type='search']","[type='tel']","[type='url']","[type='email']","[type='datetime']","[type='date']","[type='month']","[type='week']","[type='time']","[type='datetime-local']","[type='range']","[type='color']","[type='radio']","[type='checkbox']","[contenteditable]","[type='button']"],a=["select","option","[type='radio']","[type='checkbox']"];t(this.currentForm).on("focusin.validate focusout.validate keyup.validate",n.concat(this.settings.customElements).join(", "),e).on("click.validate",a.concat(this.settings.customElements).join(", "),e),this.settings.invalidHandler&&t(this.currentForm).on("invalid-form.validate",this.settings.invalidHandler)},form:function(){return this.checkForm(),t.extend(this.submitted,this.errorMap),this.invalid=t.extend({},this.errorMap),this.valid()||t(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var t=0,e=this.currentElements=this.elements();e[t];t++)this.check(e[t]);return this.valid()},element:function(e){var i,r,s=this.clean(e),n=this.validationTargetFor(s),a=this,o=!0;return void 0===n?delete this.invalid[s.name]:(this.prepareElement(n),this.currentElements=t(n),r=this.groups[n.name],r&&t.each(this.groups,function(t,e){e===r&&t!==n.name&&(s=a.validationTargetFor(a.clean(a.findByName(t))))&&s.name in a.invalid&&(a.currentElements.pushStack(s),o=a.check(s)&&o)}),i=!1!==this.check(n),o=o&&i,this.invalid[n.name]=!i,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),t(e).attr("aria-invalid",!i)),o},showErrors:function(e){if(e){var i=this;t.extend(this.errorMap,e),this.errorList=t.map(this.errorMap,function(t,e){return{message:t,element:i.findByName(e)[0]}}),this.successList=t.grep(this.successList,function(t){return!(t.name in e)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){t.fn.resetForm&&t(this.currentForm).resetForm(),this.invalid={},this.submitted={},this.prepareForm(),this.hideErrors();var e=this.elements().removeData("previousValue").removeAttr("aria-invalid");this.resetElements(e)},resetElements:function(t){var e;if(this.settings.unhighlight)for(e=0;t[e];e++)this.settings.unhighlight.call(this,t[e],this.settings.errorClass,""),this.findByName(t[e].name).removeClass(this.settings.validClass);else t.removeClass(this.settings.errorClass).removeClass(this.settings.validClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(t){var e,i=0;for(e in t)void 0!==t[e]&&null!==t[e]&&!1!==t[e]&&i++;return i},hideErrors:function(){this.hideThese(this.toHide)},addErrorAriaDescribedBy:function(e,i,r){r=void 0!==r&&r;var s,n,a,o=t(e).attr("aria-describedby");s=i.attr("id"),o?o.match(new RegExp("\\b"+this.escapeCssMeta(s)+"\\b"))||(o+=" "+s):o=s,t(e).attr("aria-describedby",o),r&&(a=this.groups[e.name])&&(n=this,t.each(n.groups,function(e,r){r===a&&n.addErrorAriaDescribedBy(t("[name='"+n.escapeCssMeta(e)+"']",n.currentForm),i,!1)}))},removeErrorAriaDescribedBy:function(e,i){var r=t(e).attr("aria-describedby"),s=r.split(" "),n=i.attr("id"),a=s.indexOf(n);a>-1&&s.splice(a,1),s.length?t(e).attr("aria-describedby",s.join(" ")):t(e).removeAttr("aria-describedby")},hideThese:function(e){for(var i=0;e[i];i++){var r=t(e[i]),s=r.attr("id")?this.escapeCssMeta(r.attr("id")):void 0,n=s?this.elements().filter('[aria-describedby~="'+s+'"]'):[];this.settings.ariaDescribedByCleanup&&n.length&&this.removeErrorAriaDescribedBy(n,r),r.is(this.containers)||r.text(""),this.addWrapper(r).hide()}},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{t(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").trigger("focus").trigger("focusin")}catch(t){}},findLastActive:function(){var e=this.lastActive;return e&&1===t.grep(this.errorList,function(t){return t.element.name===e.name}).length&&e},elements:function(){var e,i=this,r={},s=["input","select","textarea","[contenteditable]"],n=this.currentForm.getAttribute("id");return e=t(this.currentForm).find(s.concat(this.settings.customElements).join(", ")).not(":submit, :reset, :image, :disabled").not(this.settings.ignore),n&&(e=e.add(t(s.concat(this.settings.customElements).join(", ")).filter("[form='"+i.escapeCssMeta(n)+"']").not(":submit, :reset, :image, :disabled").not(this.settings.ignore))),e.filter(function(){var e=this.name||t(this).attr("name"),s=void 0!==t(this).attr("contenteditable")&&"false"!==t(this).attr("contenteditable");return!e&&i.settings.debug&&window.console&&console.error("%o has no name assigned",this),s&&(this.form=t(this).closest("form")[0],this.name=e),this.form===i.currentForm&&(!(e in r||!i.objectLength(t(this).rules()))&&(r[e]=!0,!0))})},clean:function(e){return t(e)[0]},errors:function(){var e=this.settings.errorClass.split(" ").join(".");return t(this.settings.errorElement+"."+e,this.errorContext)},resetInternals:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=t([]),this.toHide=t([])},reset:function(){this.resetInternals(),this.currentElements=t([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(t){this.reset(),this.toHide=this.errorsFor(t)},elementValue:function(e){var i,r,s=t(e),n=e.type,a=void 0!==s.attr("contenteditable")&&"false"!==s.attr("contenteditable");return"radio"===n||"checkbox"===n?this.findByName(e.name).filter(":checked").val():"number"===n&&void 0!==e.validity?e.validity.badInput?"NaN":s.val():(i=a?s.text():s.val(),"file"===n?"C:\\fakepath\\"===i.substr(0,12)?i.substr(12):(r=i.lastIndexOf("/"))>=0?i.substr(r+1):(r=i.lastIndexOf("\\"),r>=0?i.substr(r+1):i):"string"==typeof i?i.replace(/\r/g,""):i)},check:function(e){e=this.validationTargetFor(this.clean(e));var i,r,s,n,a=t(e).rules(),o=t.map(a,function(t,e){return e}).length,l=!1,h=this.elementValue(e);this.abortRequest(e),"function"==typeof a.normalizer?n=a.normalizer:"function"==typeof this.settings.normalizer&&(n=this.settings.normalizer),n&&(h=n.call(e,h),delete a.normalizer);for(r in a){s={method:r,parameters:a[r]};try{if("dependency-mismatch"===(i=t.validator.methods[r].call(this,h,e,s.parameters))&&1===o){l=!0;continue}if(l=!1,"pending"===i)return void(this.toHide=this.toHide.not(this.errorsFor(e)));if(!i)return this.formatAndAdd(e,s),!1}catch(t){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+e.id+", check the '"+s.method+"' method.",t),t instanceof TypeError&&(t.message+=". Exception occurred when checking element "+e.id+", check the '"+s.method+"' method."),t}}if(!l)return this.objectLength(a)&&this.successList.push(e),!0},customDataMessage:function(e,i){return t(e).data("msg"+i.charAt(0).toUpperCase()+i.substring(1).toLowerCase())||t(e).data("msg")},customMessage:function(t,e){var i=this.settings.messages[t];return i&&(i.constructor===String?i:i[e])},findDefined:function(){for(var t=0;t<arguments.length;t++)if(void 0!==arguments[t])return arguments[t]},defaultMessage:function(e,i){"string"==typeof i&&(i={method:i});var r=this.findDefined(this.customMessage(e.name,i.method),this.customDataMessage(e,i.method),!this.settings.ignoreTitle&&e.title||void 0,t.validator.messages[i.method],"<strong>Warning: No message defined for "+e.name+"</strong>"),s=/\$?\{(\d+)\}/g;return"function"==typeof r?r=r.call(this,i.parameters,e):s.test(r)&&(r=t.validator.format(r.replace(s,"{$1}"),i.parameters)),r},formatAndAdd:function(t,e){var i=this.defaultMessage(t,e);this.errorList.push({message:i,element:t,method:e.method}),this.errorMap[t.name]=i,this.submitted[t.name]=i},addWrapper:function(t){return this.settings.wrapper&&(t=t.add(t.parent(this.settings.wrapper))),t},defaultShowErrors:function(){var t,e,i;for(t=0;this.errorList[t];t++)i=this.errorList[t],this.settings.highlight&&this.settings.highlight.call(this,i.element,this.settings.errorClass,this.settings.validClass),this.showLabel(i.element,i.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(t=0;this.successList[t];t++)this.showLabel(this.successList[t]);if(this.settings.unhighlight)for(t=0,e=this.validElements();e[t];t++)this.settings.unhighlight.call(this,e[t],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return t(this.errorList).map(function(){return this.element})},showLabel:function(e,i){var r,s=this.errorsFor(e),n=this.idOrName(e),a=t(e).attr("aria-describedby");s.length?(0!==s.closest("label[for='"+this.escapeCssMeta(n)+"']").length||void 0!==a&&-1!==a.split(" ").indexOf(s.attr("id"))||this.addErrorAriaDescribedBy(e,s,!0),s.removeClass(this.settings.validClass).addClass(this.settings.errorClass),this.settings&&this.settings.escapeHtml?s.text(i||""):s.html(i||"")):(s=t("<"+this.settings.errorElement+">").attr("id",n+"-error").addClass(this.settings.errorClass),this.settings&&this.settings.escapeHtml?s.text(i||""):s.html(i||""),r=s,this.settings.wrapper&&(r=s.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(r):this.settings.errorPlacement?this.settings.errorPlacement.call(this,r,t(e)):r.insertAfter(e),s.is("label")?s.attr("for",n):0===s.parents("label[for='"+this.escapeCssMeta(n)+"']").length&&this.addErrorAriaDescribedBy(e,s,!0)),!i&&this.settings.success&&(s.text(""),"string"==typeof this.settings.success?s.addClass(this.settings.success):this.settings.success(s,e)),this.toShow=this.toShow.add(s)},errorsFor:function(e){var i=this.escapeCssMeta(this.idOrName(e)),r=t(e).attr("aria-describedby"),s="label[for='"+i+"'], label[for='"+i+"'] *";return r&&(s=s+", #"+this.escapeCssMeta(r).replace(/\s+/g,", #")),s=s+", #"+i+"-error",this.errors().filter(s)},escapeCssMeta:function(t){return void 0===t?"":t.replace(/([\\!"#$%&'()*+,.\/:;<=>?@\[\]^`{|}~])/g,"\\$1")},idOrName:function(t){return this.groups[t.name]||(this.checkable(t)?t.name:t.id||t.name)},validationTargetFor:function(e){return this.checkable(e)&&(e=this.findByName(e.name)),t(e).not(this.settings.ignore)[0]},checkable:function(t){return/radio|checkbox/i.test(t.type)},findByName:function(e){var i=this.currentForm.getAttribute("id"),r="[name='"+this.escapeCssMeta(e)+"']",s=t(this.currentForm).find(r);return i&&(s=s.add(t(r).filter("[form='"+this.escapeCssMeta(i)+"']"))),s},getLength:function(e,i){switch(i.nodeName.toLowerCase()){case"select":return t("option:selected",i).length;case"input":if(this.checkable(i))return this.findByName(i.name).filter(":checked").length}return e.length},depend:function(t,e){return!this.dependTypes[typeof t]||this.dependTypes[typeof t](t,e)},dependTypes:{boolean:function(t){return t},string:function(e,i){return!!t(e,i.form).length},function:function(t,e){return t(e)}},optional:function(e){var i=this.elementValue(e);return!t.validator.methods.required.call(this,i,e)&&"dependency-mismatch"},elementAjaxPort:function(t){return"validate"+t.name},startRequest:function(e){this.pending[e.name]||(this.pendingRequest++,t(e).addClass(this.settings.pendingClass),this.pending[e.name]=!0)},stopRequest:function(e,i){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[e.name],t(e).removeClass(this.settings.pendingClass),i&&0===this.pendingRequest&&this.formSubmitted&&this.form()&&0===this.pendingRequest?(t(this.currentForm).trigger("submit"),this.submitButton&&t("input:hidden[name='"+this.submitButton.name+"']",this.currentForm).remove(),this.formSubmitted=!1):!i&&0===this.pendingRequest&&this.formSubmitted&&(t(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},abortRequest:function(e){var i;this.pending[e.name]&&(i=this.elementAjaxPort(e),t.ajaxAbort(i),this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[e.name],t(e).removeClass(this.settings.pendingClass))},previousValue:function(e,i){return i="string"==typeof i&&i||"remote",t.data(e,"previousValue")||t.data(e,"previousValue",{old:null,valid:!0,message:this.defaultMessage(e,{method:i})})},destroy:function(){this.resetForm(),t(this.currentForm).off(".validate").removeData("validator").find(".validate-equalTo-blur").off(".validate-equalTo").removeClass("validate-equalTo-blur").find(".validate-lessThan-blur").off(".validate-lessThan").removeClass("validate-lessThan-blur").find(".validate-lessThanEqual-blur").off(".validate-lessThanEqual").removeClass("validate-lessThanEqual-blur").find(".validate-greaterThanEqual-blur").off(".validate-greaterThanEqual").removeClass("validate-greaterThanEqual-blur").find(".validate-greaterThan-blur").off(".validate-greaterThan").removeClass("validate-greaterThan-blur")}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(e,i){e.constructor===String?this.classRuleSettings[e]=i:t.extend(this.classRuleSettings,e)},classRules:function(e){var i={},r=t(e).attr("class");return r&&t.each(r.split(" "),function(){this in t.validator.classRuleSettings&&t.extend(i,t.validator.classRuleSettings[this])}),i},normalizeAttributeRule:function(t,e,i,r){/min|max|step/.test(i)&&(null===e||/number|range|text/.test(e))&&(r=Number(r),isNaN(r)&&(r=void 0)),r||0===r?t[i]=r:e===i&&"range"!==e&&(t["date"===e?"dateISO":i]=!0)},attributeRules:function(e){var i,r,s={},n=t(e),a=e.getAttribute("type");for(i in t.validator.methods)"required"===i?(r=e.getAttribute(i),""===r&&(r=!0),r=!!r):r=n.attr(i),this.normalizeAttributeRule(s,a,i,r);return s.maxlength&&/-1|2147483647|524288/.test(s.maxlength)&&delete s.maxlength,s},dataRules:function(e){var i,r,s={},n=t(e),a=e.getAttribute("type");for(i in t.validator.methods)r=n.data("rule"+i.charAt(0).toUpperCase()+i.substring(1).toLowerCase()),""===r&&(r=!0),this.normalizeAttributeRule(s,a,i,r);return s},staticRules:function(e){var i={},r=t.data(e.form,"validator");return r.settings.rules&&(i=t.validator.normalizeRule(r.settings.rules[e.name])||{}),i},normalizeRules:function(e,i){return t.each(e,function(r,s){if(!1===s)return void delete e[r];if(s.param||s.depends){var n=!0;switch(typeof s.depends){case"string":n=!!t(s.depends,i.form).length;break;case"function":n=s.depends.call(i,i)}n?e[r]=void 0===s.param||s.param:(t.data(i.form,"validator").resetElements(t(i)),delete e[r])}}),t.each(e,function(t,r){e[t]="function"==typeof r&&"normalizer"!==t?r(i):r}),t.each(["minlength","maxlength"],function(){e[this]&&(e[this]=Number(e[this]))}),t.each(["rangelength","range"],function(){var t;e[this]&&(Array.isArray(e[this])?e[this]=[Number(e[this][0]),Number(e[this][1])]:"string"==typeof e[this]&&(t=e[this].replace(/[\[\]]/g,"").split(/[\s,]+/),e[this]=[Number(t[0]),Number(t[1])]))}),t.validator.autoCreateRanges&&(null!=e.min&&null!=e.max&&(e.range=[e.min,e.max],delete e.min,delete e.max),null!=e.minlength&&null!=e.maxlength&&(e.rangelength=[e.minlength,e.maxlength],delete e.minlength,delete e.maxlength)),e},normalizeRule:function(e){if("string"==typeof e){var i={};t.each(e.split(/\s/),function(){i[this]=!0}),e=i}return e},addMethod:function(e,i,r){t.validator.methods[e]=i,t.validator.messages[e]=void 0!==r?r:t.validator.messages[e],i.length<3&&t.validator.addClassRules(e,t.validator.normalizeRule(e))},methods:{required:function(e,i,r){if(!this.depend(r,i))return"dependency-mismatch";if("select"===i.nodeName.toLowerCase()){var s=t(i).val();return s&&s.length>0}return this.checkable(i)?this.getLength(e,i)>0:void 0!==e&&null!==e&&e.length>0},email:function(t,e){return this.optional(e)||/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(t)},url:function(t,e){return this.optional(e)||/^(?:(?:(?:https?|ftp):)?\/\/)(?:(?:[^\]\[?\/<~#`!@$^&*()+=}|:";',>{ ]|%[0-9A-Fa-f]{2})+(?::(?:[^\]\[?\/<~#`!@$^&*()+=}|:";',>{ ]|%[0-9A-Fa-f]{2})*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[\/?#]\S*)?$/i.test(t)},date:function(){var t=!1;return function(e,i){return t||(t=!0,this.settings.debug&&window.console&&console.warn("The `date` method is deprecated and will be removed in version '2.0.0'.\nPlease don't use it, since it relies on the Date constructor, which\nbehaves very differently across browsers and locales. Use `dateISO`\ninstead or one of the locale specific methods in `localizations/`\nand `additional-methods.js`.")),this.optional(i)||!/Invalid|NaN/.test(new Date(e).toString())}}(),dateISO:function(t,e){return this.optional(e)||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(t)},number:function(t,e){return this.optional(e)||/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:-?\.\d+)?$/.test(t)},digits:function(t,e){return this.optional(e)||/^\d+$/.test(t)},minlength:function(t,e,i){var r=Array.isArray(t)?t.length:this.getLength(t,e);return this.optional(e)||r>=i},maxlength:function(t,e,i){var r=Array.isArray(t)?t.length:this.getLength(t,e);return this.optional(e)||r<=i},rangelength:function(t,e,i){var r=Array.isArray(t)?t.length:this.getLength(t,e);return this.optional(e)||r>=i[0]&&r<=i[1]},min:function(t,e,i){return this.optional(e)||t>=i},max:function(t,e,i){return this.optional(e)||t<=i},range:function(t,e,i){return this.optional(e)||t>=i[0]&&t<=i[1]},step:function(e,i,r){var s,n=t(i).attr("type"),a="Step attribute on input type "+n+" is not supported.",o=["text","number","range"],l=new RegExp("\\b"+n+"\\b"),h=n&&!l.test(o.join()),p=function(t){var e=(""+t).match(/(?:\.(\d+))?$/);return e&&e[1]?e[1].length:0},c=function(t){return Math.round(t*Math.pow(10,s))},f=!0;if(h)throw new Error(a);return s=p(r),(p(e)>s||c(e)%c(r)!=0)&&(f=!1),this.optional(i)||f},equalTo:function(e,i,r){var s=t(r);return this.settings.onfocusout&&s.not(".validate-equalTo-blur").length&&s.addClass("validate-equalTo-blur").on("blur.validate-equalTo",function(){t(i).valid()}),e===s.val()},remote:function(e,i,r,s){if(this.optional(i))return"dependency-mismatch";s="string"==typeof s&&s||"remote";var n,a,o,l=this.previousValue(i,s);return this.settings.messages[i.name]||(this.settings.messages[i.name]={}),l.originalMessage=l.originalMessage||this.settings.messages[i.name][s],this.settings.messages[i.name][s]=l.message,r="string"==typeof r&&{url:r}||r,o=t.param(t.extend({data:e},r.data)),null!==l.valid&&l.old===o?l.valid:(l.old=o,l.valid=null,n=this,this.startRequest
13(i),a={},a[i.name]=e,t.ajax(t.extend(!0,{mode:"abort",port:this.elementAjaxPort(i),dataType:"json",data:a,context:n.currentForm,success:function(t){var r,a,o,h=!0===t||"true"===t;n.settings.messages[i.name][s]=l.originalMessage,h?(o=n.formSubmitted,n.toHide=n.errorsFor(i),n.formSubmitted=o,n.successList.push(i),n.invalid[i.name]=!1,n.showErrors()):(r={},a=t||n.defaultMessage(i,{method:s,parameters:e}),r[i.name]=l.message=a,n.invalid[i.name]=!0,n.showErrors(r)),l.valid=h,n.stopRequest(i,h)}},r)),"pending")}}});var i,r={};return t.ajaxPrefilter?t.ajaxPrefilter(function(e,i,s){var n=e.port 14;"abort"===e.mode&&(t.ajaxAbort(n),r[n]=s)}):(i=t.ajax,t.ajax=function(e){var s=("mode"in e?e:t.ajaxSettings).mode,n=("port"in e?e:t.ajaxSettings).port;return"abort"===s?(t.ajaxAbort(n),r[n]=i.apply(this,arguments),r[n]):i.apply(this,arguments)}),t.ajaxAbort=function(t){r[t]&&(r[t].abort(),delete r[t])},t}),function(t){function e(t){for(var e=window.location.search.substring(1),i=e.split("&"),r=0;r<i.length;r++){var s=i[r].split("=");if(decodeURIComponent(s[0])===t)return decodeURIComponent(s[1])}}function i(t){for(var e=window.location.search.substring(1),i=e.split("%3F"),r=0;r<i.length;r++){var s=i[r].split("%3D");if(decodeURIComponent(s[0])===t)return decodeURIComponent(s[1])}}function r(){return"undefined"!=typeof ga}function s(){return""!==t("body").data("page-name")?"_"+t("body").data("page-name"):""}function n(t){var e=t.data("conversion-id");null!=e&&window.lintrk("track",{conversion_id:e})}function a(t){t.find("input.btn").prop("disabled",!0),document.querySelector(".loading-dot").style.display="flex"}function o(e){var i=e.find("input");t(i).each(function(e,i){t(i).attr("readonly",!0)});var r=e.find(".error-msg");r.html(""),t.ajax({type:e.attr("method"),url:e.data("action"),data:e.serialize(),cache:!1,dataType:"json",contentType:"application/json; charset=utf-8",error:function(t){r.html("Could not connect to the registration server. Please try again later."),r.css("display","flex")},success:function(t){if("success"===t.result){var i=e.find("#retURL").val();i&&window.location.replace(i)}else r.html(t.msg),r.css("display","flex")},complete:function(){t(i).each(function(e,i){t(i).attr("readonly",!1)}),dot.style.display="none"}})}function l(e){var i={action:"check_token",token:e},r=secondMeasure.$formToValidate;a(r),t.ajax({url:secondMeasure.ajax_url,data:i,method:"POST",success:function(e){if(J
14SON.parse(e).success){if(r.valid()&&grecaptcha.getResponse()){n(r),r.find('input[name="oid"]').val(secondMeasure.sfdc),r.attr("action",r.data("action"));var i={event:r.closest("[data-form-name]").data("formName")||"request-a-demo-form"};window.secondMeasure.trackingData(r,null,"Submit",i),o(r)}}else t(".captcha-error").show()},complete:function(){grecaptcha.reset(),secondMeasure.$formToValidate=null}})}function h(t,e){return e.includes(t.split("@")[1])}function p(){t.each(t(".facetwp-type-fselect"),function(){var e=this.getAttribute("data-name");0===FWP.facets[e].length&&("press_publications"===e&&t(this).find(".fs-label").text("by Publication"),"press_categories"===e&&t(this).find(".fs-label").text("by Category"))})}document.addEventListener("DOMContentLoaded",function(){var e=window.location.search,i=new URLSearchParams(e),r=i.get("utm_source"),s=i.get("utm_medium"),n=i.get("utm_campaign");t("#mce-UTMSOURCE").val(null===r?"":r),t("#mce-UTMMEDIUM").val(null===s?"":s),t("#mce-UTMCAMP").val(null===n?"":n)}),this.secondMeasure=this.secondMeasure||{},secondMeasure.ajax_url=jQuery("body").data("ajaxUrl"),secondMeasure.$formToValidate=null,window.getToken=function(t){l(t)},lazySizesConfig.loadMode=1,document.addEventListener("lazybeforeunveil",function(e){var i=e.target.getAttribute("data-bg");i&&(e.target.style.backgroundImage="url("+i+")"),t(e.target).removeClass("lazyloading").addClass("lazyloaded")});var c={common:{init:function(){function e(e,i,r){e.each(function(){i.push(t(this).outerHeight())}),r=Math.max.apply(null,i),e.each(function(){t(this).css("min-height",r+"px")})}function i(){var i,r=t("#testimonial-carousel .carousel-item"),s=[];r.length&&(e(r,s,i),t(window).on("resize orientationchange",function(){i=0,s.length=0,r.each(function(){t(this).css("min-height","0")}),e(r,s,i)}))}function a(e){var i=e.data("success-text")||"Thank you for registering!",r=t("#output");t.ajax({type:e.attr("method"),url:e.attr("action"),data:e.serialize(),cache:!1,dataType:"json",contentType:"application/json; charset=utf-8",error:function(t){r.html('<p class="color-fuchsia">Could not connect to the registration server. Please try again later.</p>'),e.removeClass("working")},success:function(t){e.removeClass("working"),"success"!==t.result?r.html('<p class="color-fuchsia">'+t.result+"</p>"):(r.html(""),e.prepend('<p class="submit-success">'+i+"</p>"),e.find("input, textarea, .disclaimer-text").hide())}})}function l(){clearTimeout(f),t(".menu-item-has-children").removeClass("open").attr("aria-expanded",!1)}function p(t){t.addClass("open"),t.attr("aria-expanded",!0)}function c(){if(t(".announcement-banner").length){var e=t(".announcement-banner"),i=e.outerHeight();t("header.banner").css("top",i),t("header.banner + div.wrap").css("padding-top",i)}else t("header.banner, header.banner + div.wrap").attr("style","")}t(".page-hero .lottie-video-target").each(function(){var e=t(this).data("path"),i="no"!==t(this).data("loop");lottie.loadAnimation({container:document.getElementById("heroAnimWrapper"),renderer:"svg",loop:i,autoplay:!0,path:e}),null!==window.navigator.userAgent.match(/MSIE|Trident/)&&t(this).hide().next().show()}),t("header .hamburger").on("click",function(){t(this).add(".nav-mobile, .brand.subhead").toggleClass("is-active"),t("body").toggleClass("disableOverflow",function(){return!!t(this).hasClass("is-active")})}),t(".open-modal a, a.open-modal").attr({"data-toggle":"modal"}),t(".captcha-error").hide(),jQuery.validator.addMethod("validdomain",function(t,e){return!h(t,secondMeasure.blocklist)},"The email format you have supplied is not accepted. Please enter a business email address."),t('form[data-validate="true"]').on("submit",function(e){e.preventDefault();var i=t(this);if(i.validate({onsubmit:!1,rules:{EMAIL:{required:!0,email:!0,validdomain:i.data("domainBlocking")}},messages:{EMAIL:{required:"Enter a valid email address",email:"Enter a valid email address",validdomain:"The email format you have supplied is not accepted. Please enter a business email address."}}}),i.find("#subscribe_newsletter").prop("checked")&&localStorage.setItem("subscribeEmail",i.find('input[type="email"]').val()),i.valid()&&1===i.data("hasCaptcha"))secondMeasure.$formToValidate=i,grecaptcha.execute();else if(i.valid()){n(i),o(i);var r={event:i.closest("[data-form-name]").data("data-form-name")||"request-a-demo"},s=t(this);window.secondMeasure.trackingData(s,null,s.text(),r)}}),t(".carousel").on("slid.bs.carousel",function(){t(".carousel-item.active").attr("aria-hidden",!1),t(".carousel-item:not(.active)").attr("aria-hidden",!0),t(".carousel-indicators li").html(""),t(".carousel-indicators li.active").html('<span class="sr-only">
14Current Slide</span>')}),t(".carousel").on("touchstart",function(e){var i=e.originalEvent.touches[0].pageX;t(this).one("touchmove",function(e){var r=e.originalEvent.touches[0].pageX;Math.floor(i-r)>5?t(this).carousel("next"):Math.floor(i-r)<-5&&t(this).carousel("prev")}),t(".carousel").on("touchend",function(){t(this).off("touchmove")})}),t("#testimonial-carousel").keydown(function(e){if(13===e.keyCode){t(".carousel-indicators > li.active").removeClass("active"),t(e.target).addClass("active");var i="#slide-"+e.target.dataset.slideTo;t(".carousel-item.active").removeClass("active"),t(i).addClass("active")}}),window.onload=function(){i()},window.secondMeasure.mailchimp_newsletter=function(e){$newsletter_success_message=e.data("success-text"),t.ajax({type:e.attr("method"),url:e.attr("action"),data:e.serialize(),cache:!1,dataType:"json",contentType:"application/json; charset=utf-8",error:function(t){e.find("fieldset").before('<label for="mce-EMAIL" class="submit-error">Could not connect to the registration server. Please try again later.</label>'),e.removeClass("working")},success:function(t){e.removeClass("working"),form_location=1===e.closest("aside.sidebar").length?"sidebar":"footer","success"!==t.result?e.find("fieldset").before('<label for="mce-EMAIL" class="submit-error">'+t.msg+"</label>"):(e.find("fieldset").before('<label for="mce-EMAIL" class="submit-success">'+$newsletter_success_message+"</label>"),e.find('input[type="email"]').val(""),e.addClass("completed"),e.find("input, textarea, .disclaimer-text").hide(),r()&&ga("gtm1.send","event","blog_email_signup"+s(),"sign-up",form_location),window.secondMeasure.trackingData(e,null,"newsletter_subscribe",{event:"subscribe",destination:null,click_type:null}))}})},t(".mc-embedded-subscribe-form").validate({errorPlacement:function(t,e){t.insertBefore(e.parent("fieldset"))}}),t(".mc-embedded-subscribe-form").each(function(){var e=t(this),i=e.data("mailchimpType")||"newsletter";e.find('input[type="submit"]').bind("click",function(t){t.preventDefault(),e.valid()&&(e.addClass("working"),"newsletter"===i&&window.secondMeasure.mailchimp_newsletter(e),"registration"===i&&a(e))}),e.find('input[type="email"]').bind("change focus keyup",function(){e.find(".submit-error, .submit-success").remove()})}),t('input[type="checkbox"]').on("change",function(){var e=t(this),i=t(e.data("target"));i.length&&(e[0].checked?i.val(e.val()):i.val(e.data("uncheckedValue")))});var f;t('ul[role="menubar"] > li:not(.menu-item-has-children)').on("keyup",function(e){13===e.keyCode&&(t(e.target).is("li")?e.target.firstChild.click():t(e.target).click())}),t('ul[role="menubar"] > li > a').attr("tabindex",-1),t('ul[role="menubar"] > li').attr("tabindex",0).children("ul").attr({role:"menu","aria-label":"is-submenu"}),t(".menu-item-has-children").on("click touchstart",function(e){var i=t(this);this===e.target.parentNode&&(e.preventDefault(),l(),p(i))}).on("keyup",function(e){13===e.keyCode&&(e.target===this?(l(),p(t(this)),t(this).children("ul").find('a[role="menuitem"]').first().get(0).focus()):t(this).children("a").trigger("click"))}).on("mouseleave",function(e){t(e.target).closest(".menu-item-has-children").hasClass("open")&&(f=setTimeout(l,300))}).on("mouseenter",function(e){t(e.target).closest(".menu-item-has-children").hasClass("open")&&clearTimeout(f)}),t(window).scroll(function(){t(window).scrollTop()>=Math.min(720,.75*Math.max(document.documentElement.clientHeight,window.innerHeight||0))?t("header.banner").addClass("slim"):t("header.banner").removeClass("slim")}),Cookies.get("announcement-banner")||(t(".announcement-banner").addClass("visible"),c(),t(".announcement-banner button").on("click",function(){t(".announcement-banner").remove(),Cookies.set("announcement-banner",!0),c()}),t(window).on("resize orientationchange",function(){c()}))},finalize:function(){function n(e){var i={};return t.each(e,function(t,e){i[e.name]=e.value}),i}if(e("thankyou")||i("thankyou")){e("modal")||i("modal")?t("#modal-request-a-demo").modal("show"):t("#request-a-demo").length&&window.scrollTo(0,t("#request-a-demo").offset().top);var a=localStorage.getItem("subscribeEmail"),o=t(".mc-embedded-subscribe-form");a&&""!==a&&o.length&&(o.find('input[name="EMAIL"]').val(a),window.secondMeasure.mailchimp_newsletter(o),localStorage.removeItem("subscribeEmail")),setTimeout(function(){r()&&ga("gtm1.send","event","demo_request_conversion"+s(),"view","demo_thank_you")},1500)}t('[data-tracking="true"]').on("click",function(){var e=t(this).data("category"),i=t(this).data("action")?t(this).data("action"):"click",
14s=t(this).data("label");s&&e&&r()&&ga("send","event",e,i,s)}),window.secondMeasure.trackingData=function(e,i,r,s){s=s||{};var n={};if(n.event=e.attr("data-gtm-event")?e.attr("data-gtm-event"):"click",i=i||e.attr("data-gtm-click"),n.page_title=t("title").text()||"",n.section_title=e.closest("[data-section-title]").data("sectionTitle")||"","header"===n.section_title||"footer"===n.section_title){t('[data-section-title="body"]');n.content_category=t("main").find("[data-content-category]").first().data("contentCategory")}else n.content_category=e.closest("[data-content-category]").data("contentCategory")||"",n.module_name=e.closest("[data-module-name]").data("moduleName")||"";switch("footer"===n.section_title&&(i="click",n.event="footer"),i){case"close-modal":n.event="close-modal",n.click_type="click";break;case"search":n.search_text=e.prev().val(),n.click_type="search";break;case"slider":n.click_text=r,n.click_type="slider";break;default:n.destination=e.attr("href")?e.attr("href"):null,"true"!==i&&(n.click_type=i),n.click_text=null!=r?r.replace("/\n/g","").trim():e.text().replace("/\n/g","").trim()||e.attr("title")}n=t.extend(n,s),window.dataLayer.push(n)},t("[data-gtm-click], footer.content-info a").on("click",function(e){window.secondMeasure.trackingData(t(this))}),t("header.banner a").on("click",function(e){var i=t(this);i.data("toggle")&&"#modal-request-a-demo"===i.attr("href")?window.secondMeasure.trackingData(i,"click",i.text(),{event:"request-demo-modal",destination:null}):i.hasClass("brand")?window.secondMeasure.trackingData(i,"click","Second Measure Logo",{event:"top-nav"}):"Client Login"===i.text()&&i.parent("li").hasClass("external-link")?window.secondMeasure.trackingData(i,"click","Client Login",{event:"client-login"}):i.next("ul").length?window.secondMeasure.trackingData(i,"nav-toggle",i.text(),{event:"top-nav-toggle",destination:null}):window.secondMeasure.trackingData(i,"click",i.text(),{event:"top-nav"})}),t(".carousel-indicators li").each(function(e){t(this).on("click",function(i){var r=t(this),s=e+1;window.secondMeasure.trackingData(r,"carousel","Carousel Dot - "+s)})}),t(".hubspot-form").on("submit",function(e){e.preventDefault();var i=t(this).data("formId"),r=t(this).data("portalId"),s=t(this).data("pageTitle"),a=t(this).data("page"),o=(n(t(this).serializeArray()),{fields:t(this).serializeArray(),context:{pageUri:a,pageName:s}});t.ajax({url:"https://api.hsforms.com/submissions/v3/integration/submit/"+r+"/"+i,data:JSON.stringify(o),contentType:"application/json",method:"POST",success:function(t){console.log(t)}})})}},post_type_archive_press:{init:function(){t(function(){t.each(t(".facetwp-type-fselect"),function(){t(this).addClass("mega-fSelect"),p()}),t(document).on("facetwp-loaded facetwp-refresh",function(){p()}),t(document).on("click",".fs-option-label",function(){window.setTimeout(p,1)})})},finalize:function(){}}},f={fire:function(t,e,i){var r,s=c;e=void 0===e?"init":e,r=""!==t,r=r&&s[t],r=r&&"function"==typeof s[t][e],r&&s[t][e](i)},loadEvents:function(){f.fire("common"),t.each(document.body.className.replace(/-/g,"_").split(/\s+/),function(t,e){f.fire(e),f.fire(e,"finalize")}),f.fire("common","finalize")}};t(document).ready(f.loadEvents),objectFitImages()}(jQuery);
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.