@nation-a/ui 0.16.28 → 0.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/dist/ark-ui-D--_sKY0.js +7066 -0
  2. package/dist/ark-ui-D--_sKY0.js.map +1 -0
  3. package/dist/ark-ui-e4-hVrsF.cjs +2 -0
  4. package/dist/ark-ui-e4-hVrsF.cjs.map +1 -0
  5. package/dist/{index-BroabscA.cjs → index-B5IKaL0m.cjs} +2 -2
  6. package/dist/index-B5IKaL0m.cjs.map +1 -0
  7. package/dist/{index-B4n-XEbJ.js → index-FC3cETza.js} +2 -2
  8. package/dist/index-FC3cETza.js.map +1 -0
  9. package/dist/index.cjs +7 -7
  10. package/dist/index.cjs.map +1 -1
  11. package/dist/index.js +5033 -4981
  12. package/dist/index.js.map +1 -1
  13. package/dist/react-hot-toast-BCKriZQY.js +404 -0
  14. package/dist/react-hot-toast-BCKriZQY.js.map +1 -0
  15. package/dist/react-hot-toast-CvGdrsnM.cjs +178 -0
  16. package/dist/react-hot-toast-CvGdrsnM.cjs.map +1 -0
  17. package/dist/{react-lottie-DygynGMG.js → react-lottie-BoWlnUa4.js} +257 -257
  18. package/dist/react-lottie-BoWlnUa4.js.map +1 -0
  19. package/dist/react-lottie-D3xAW5ky.cjs +29 -0
  20. package/dist/react-lottie-D3xAW5ky.cjs.map +1 -0
  21. package/dist/stats.html +1 -1
  22. package/dist/styled-system/css/conditions.mjs +1 -1
  23. package/dist/styled-system/css/css.mjs +1 -1
  24. package/dist/styled-system/css/sva.mjs +9 -4
  25. package/dist/styled-system/helpers.mjs +12 -20
  26. package/dist/styled-system/jsx/create-style-context.d.ts +54 -0
  27. package/dist/styled-system/jsx/create-style-context.mjs +98 -0
  28. package/dist/styled-system/jsx/factory.mjs +14 -5
  29. package/dist/styled-system/jsx/index.d.ts +1 -0
  30. package/dist/styled-system/jsx/index.mjs +1 -0
  31. package/dist/styled-system/patterns/aspect-ratio.d.ts +0 -1
  32. package/dist/styled-system/patterns/bleed.d.ts +0 -1
  33. package/dist/styled-system/patterns/box.d.ts +0 -1
  34. package/dist/styled-system/patterns/center.d.ts +0 -1
  35. package/dist/styled-system/patterns/circle.d.ts +0 -1
  36. package/dist/styled-system/patterns/container.d.ts +0 -1
  37. package/dist/styled-system/patterns/cq.d.ts +0 -1
  38. package/dist/styled-system/patterns/divider.d.ts +0 -1
  39. package/dist/styled-system/patterns/flex.d.ts +0 -1
  40. package/dist/styled-system/patterns/float.d.ts +0 -1
  41. package/dist/styled-system/patterns/grid-item.d.ts +0 -1
  42. package/dist/styled-system/patterns/grid.d.ts +0 -1
  43. package/dist/styled-system/patterns/grid.mjs +1 -1
  44. package/dist/styled-system/patterns/hstack.d.ts +0 -1
  45. package/dist/styled-system/patterns/hstack.mjs +1 -1
  46. package/dist/styled-system/patterns/link-overlay.d.ts +0 -1
  47. package/dist/styled-system/patterns/spacer.d.ts +0 -1
  48. package/dist/styled-system/patterns/square.d.ts +0 -1
  49. package/dist/styled-system/patterns/stack.d.ts +0 -1
  50. package/dist/styled-system/patterns/stack.mjs +1 -1
  51. package/dist/styled-system/patterns/visually-hidden.d.ts +0 -1
  52. package/dist/styled-system/patterns/vstack.d.ts +0 -1
  53. package/dist/styled-system/patterns/vstack.mjs +1 -1
  54. package/dist/styled-system/patterns/wrap.d.ts +0 -1
  55. package/dist/styled-system/patterns/wrap.mjs +1 -1
  56. package/dist/styled-system/styles.css +1003 -993
  57. package/dist/styled-system/tokens/tokens.d.ts +1 -1
  58. package/dist/styled-system/types/composition.d.ts +83 -23
  59. package/dist/styled-system/types/conditions.d.ts +13 -9
  60. package/dist/styled-system/types/jsx.d.ts +25 -10
  61. package/dist/styled-system/types/prop-type.d.ts +12 -1
  62. package/dist/styled-system/types/style-props.d.ts +17 -5
  63. package/dist/styled-system/types/system-types.d.ts +76 -0
  64. package/dist/types/components/BottomSheet/BottomSheet.stories.d.ts +322 -4
  65. package/dist/types/components/BottomSheet/index.d.ts +23 -21
  66. package/dist/types/components/BottomSheet/react-modal-sheet/SheetBackdrop.d.ts +6 -1
  67. package/dist/types/components/BottomSheet/react-modal-sheet/SheetContainer.d.ts +7 -5
  68. package/dist/types/components/BottomSheet/react-modal-sheet/SheetContent.d.ts +7 -6
  69. package/dist/types/components/BottomSheet/react-modal-sheet/SheetHeader.d.ts +7 -6
  70. package/dist/types/components/BottomSheet/react-modal-sheet/SheetScroller.d.ts +7 -3
  71. package/dist/types/components/BottomSheet/react-modal-sheet/constants.d.ts +3 -8
  72. package/dist/types/components/BottomSheet/react-modal-sheet/hooks.d.ts +1 -1
  73. package/dist/types/components/BottomSheet/react-modal-sheet/index.d.ts +1 -1
  74. package/dist/types/components/BottomSheet/react-modal-sheet/sheet.d.ts +7 -16
  75. package/dist/types/components/BottomSheet/react-modal-sheet/types.d.ts +5 -5
  76. package/dist/types/components/Button/Button.stories.d.ts +10 -3
  77. package/dist/types/components/Button/index.d.ts +8 -298
  78. package/dist/types/components/Checkbox/checkbox.stories.d.ts +15 -3
  79. package/dist/types/components/Checkbox/checkbox.styled.d.ts +29 -12
  80. package/dist/types/components/Checkbox/index.d.ts +4 -1
  81. package/dist/types/components/Dialog/Dialog.stories.d.ts +9 -3
  82. package/dist/types/components/Dialog/index.d.ts +15 -25
  83. package/dist/types/components/Fab/Fab.stories.d.ts +25 -3
  84. package/dist/types/components/Fab/index.d.ts +300 -5
  85. package/dist/types/components/IconButton/IconButton.stories.d.ts +43 -3
  86. package/dist/types/components/IconButton/index.d.ts +5 -6
  87. package/dist/types/components/Input/Input.stories.d.ts +1 -1
  88. package/dist/types/components/Input/index.d.ts +4 -1
  89. package/dist/types/components/Layout/index.d.ts +19 -42
  90. package/dist/types/components/List/List.stories.d.ts +64 -4
  91. package/dist/types/components/List/index.d.ts +82 -13
  92. package/dist/types/components/Navigation/Navigation.stories.d.ts +9 -4
  93. package/dist/types/components/Navigation/index.d.ts +6 -9
  94. package/dist/types/components/RadioGroup/Radio.stories.d.ts +8 -3
  95. package/dist/types/components/RadioGroup/index.d.ts +10 -9
  96. package/dist/types/components/RadioGroup/radio.recipe.d.ts +1 -1
  97. package/dist/types/components/Select/Select.stories.d.ts +1 -9
  98. package/dist/types/components/Select/index.d.ts +75 -28
  99. package/dist/types/components/Select/select.recipe.d.ts +1 -1
  100. package/dist/types/components/Spinner/Spinner.stories.d.ts +1 -1
  101. package/dist/types/components/Spinner/index.d.ts +4 -1
  102. package/dist/types/components/Switch/Switch.stories.d.ts +1 -1
  103. package/dist/types/components/Switch/index.d.ts +5 -2
  104. package/dist/types/components/Switch/switch.styled.d.ts +89 -15
  105. package/dist/types/components/Tabs/Tabs.stories.d.ts +8 -4
  106. package/dist/types/components/Tabs/index.d.ts +208 -29
  107. package/dist/types/components/Tag/Tag.stories.d.ts +9 -4
  108. package/dist/types/components/Tag/index.d.ts +5 -2
  109. package/dist/types/components/Text/Text.stories.d.ts +25 -3
  110. package/dist/types/components/Text/index.d.ts +4 -276
  111. package/dist/types/components/TextArea/TextArea.stories.d.ts +9 -4
  112. package/dist/types/components/TextArea/index.d.ts +4 -1
  113. package/dist/types/components/Toast/Toast.stories.d.ts +9 -4
  114. package/dist/types/components/Toast/index.d.ts +47 -24
  115. package/dist/types/index.d.ts +0 -1
  116. package/dist/types/utils/with-polymorphic-component.d.ts +5 -4
  117. package/package.json +35 -40
  118. package/dist/ark-ui-BakX7_HR.cjs +0 -2
  119. package/dist/ark-ui-BakX7_HR.cjs.map +0 -1
  120. package/dist/ark-ui-BitYUtmQ.js +0 -6713
  121. package/dist/ark-ui-BitYUtmQ.js.map +0 -1
  122. package/dist/index-B4n-XEbJ.js.map +0 -1
  123. package/dist/index-BroabscA.cjs.map +0 -1
  124. package/dist/react-hot-toast-BQTk3w2h.cjs +0 -178
  125. package/dist/react-hot-toast-BQTk3w2h.cjs.map +0 -1
  126. package/dist/react-hot-toast-CPO7pUT3.js +0 -389
  127. package/dist/react-hot-toast-CPO7pUT3.js.map +0 -1
  128. package/dist/react-lottie-DTf3gNPc.cjs +0 -29
  129. package/dist/react-lottie-DTf3gNPc.cjs.map +0 -1
  130. package/dist/react-lottie-DygynGMG.js.map +0 -1
  131. package/dist/types/utils/create-style-context.d.ts +0 -20
  132. package/dist/types/utils/index.d.ts +0 -1
@@ -0,0 +1,29 @@
1
+ "use strict";const React=require("react");function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var dist={},_extends={},es6_object_assign={},_global={exports:{}},hasRequired_global;function require_global(){if(hasRequired_global)return _global.exports;hasRequired_global=1;var e=_global.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();return typeof __g=="number"&&(__g=e),_global.exports}var _core={exports:{}},hasRequired_core;function require_core(){if(hasRequired_core)return _core.exports;hasRequired_core=1;var e=_core.exports={version:"2.6.12"};return typeof __e=="number"&&(__e=e),_core.exports}var _aFunction,hasRequired_aFunction;function require_aFunction(){return hasRequired_aFunction||(hasRequired_aFunction=1,_aFunction=function(e){if(typeof e!="function")throw TypeError(e+" is not a function!");return e}),_aFunction}var _ctx,hasRequired_ctx;function require_ctx(){if(hasRequired_ctx)return _ctx;hasRequired_ctx=1;var e=require_aFunction();return _ctx=function(t,r,i){if(e(t),r===void 0)return t;switch(i){case 1:return function(s){return t.call(r,s)};case 2:return function(s,n){return t.call(r,s,n)};case 3:return function(s,n,a){return t.call(r,s,n,a)}}return function(){return t.apply(r,arguments)}},_ctx}var _objectDp={},_isObject,hasRequired_isObject;function require_isObject(){return hasRequired_isObject||(hasRequired_isObject=1,_isObject=function(e){return typeof e=="object"?e!==null:typeof e=="function"}),_isObject}var _anObject,hasRequired_anObject;function require_anObject(){if(hasRequired_anObject)return _anObject;hasRequired_anObject=1;var e=require_isObject();return _anObject=function(t){if(!e(t))throw TypeError(t+" is not an object!");return t},_anObject}var _fails,hasRequired_fails;function require_fails(){return hasRequired_fails||(hasRequired_fails=1,_fails=function(e){try{return!!e()}catch(t){return!0}}),_fails}var _descriptors,hasRequired_descriptors;function require_descriptors(){return hasRequired_descriptors||(hasRequired_descriptors=1,_descriptors=!require_fails()(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})),_descriptors}var _domCreate,hasRequired_domCreate;function require_domCreate(){if(hasRequired_domCreate)return _domCreate;hasRequired_domCreate=1;var e=require_isObject(),t=require_global().document,r=e(t)&&e(t.createElement);return _domCreate=function(i){return r?t.createElement(i):{}},_domCreate}var _ie8DomDefine,hasRequired_ie8DomDefine;function require_ie8DomDefine(){return hasRequired_ie8DomDefine||(hasRequired_ie8DomDefine=1,_ie8DomDefine=!require_descriptors()&&!require_fails()(function(){return Object.defineProperty(require_domCreate()("div"),"a",{get:function(){return 7}}).a!=7})),_ie8DomDefine}var _toPrimitive,hasRequired_toPrimitive;function require_toPrimitive(){if(hasRequired_toPrimitive)return _toPrimitive;hasRequired_toPrimitive=1;var e=require_isObject();return _toPrimitive=function(t,r){if(!e(t))return t;var i,s;if(r&&typeof(i=t.toString)=="function"&&!e(s=i.call(t))||typeof(i=t.valueOf)=="function"&&!e(s=i.call(t))||!r&&typeof(i=t.toString)=="function"&&!e(s=i.call(t)))return s;throw TypeError("Can't convert object to primitive value")},_toPrimitive}var hasRequired_objectDp;function require_objectDp(){if(hasRequired_objectDp)return _objectDp;hasRequired_objectDp=1;var e=require_anObject(),t=require_ie8DomDefine(),r=require_toPrimitive(),i=Object.defineProperty;return _objectDp.f=require_descriptors()?Object.defineProperty:function(n,a,h){if(e(n),a=r(a,!0),e(h),t)try{return i(n,a,h)}catch(o){}if("get"in h||"set"in h)throw TypeError("Accessors not supported!");return"value"in h&&(n[a]=h.value),n},_objectDp}var _propertyDesc,hasRequired_propertyDesc;function require_propertyDesc(){return hasRequired_propertyDesc||(hasRequired_propertyDesc=1,_propertyDesc=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}),_propertyDesc}var _hide,hasRequired_hide;function require_hide(){if(hasRequired_hide)return _hide;hasRequired_hide=1;var e=require_objectDp(),t=require_propertyDesc();return _hide=require_descriptors()?function(r,i,s){return e.f(r,i,t(1,s))}:function(r,i,s){return r[i]=s,r},_hide}var _has,hasRequired_has;function require_has(){if(hasRequired_has)return _has;hasRequired_has=1;var e={}.hasOwnProperty;return _has=function(t,r){return e.call(t,r)},_has}var _export,hasRequired_export;function require_export(){if(hasRequired_export)return _export;hasRequired_export=1;var e=require_global(),t=require_core(),r=require_ctx(),i=require_hide(),s=require_has(),n="prototype",a=function(h,o,l){var d=h&a.F,P=h&a.G,u=h&a.S,_=h&a.P,g=h&a.B,p=h&a.W,x=P?t:t[o]||(t[o]={}),c=x[n],m=P?e:u?e[o]:(e[o]||{})[n],f,v,b;P&&(l=o);for(f in l)v=!d&&m&&m[f]!==void 0,!(v&&s(x,f))&&(b=v?m[f]:l[f],x[f]=P&&typeof m[f]!="function"?l[f]:g&&v?r(b,e):p&&m[f]==b?(function(C){var M=function(I,k,j){if(this instanceof C){switch(arguments.length){case 0:return new C;case 1:return new C(I);case 2:return new C(I,k)}return new C(I,k,j)}return C.apply(this,arguments)};return M[n]=C[n],M})(b):_&&typeof b=="function"?r(Function.call,b):b,_&&((x.virtual||(x.virtual={}))[f]=b,h&a.R&&c&&!c[f]&&i(c,f,b)))};return a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,_export=a,_export}var _cof,hasRequired_cof;function require_cof(){if(hasRequired_cof)return _cof;hasRequired_cof=1;var e={}.toString;return _cof=function(t){return e.call(t).slice(8,-1)},_cof}var _iobject,hasRequired_iobject;function require_iobject(){if(hasRequired_iobject)return _iobject;hasRequired_iobject=1;var e=require_cof();return _iobject=Object("z").propertyIsEnumerable(0)?Object:function(t){return e(t)=="String"?t.split(""):Object(t)},_iobject}var _defined,hasRequired_defined;function require_defined(){return hasRequired_defined||(hasRequired_defined=1,_defined=function(e){if(e==null)throw TypeError("Can't call method on "+e);return e}),_defined}var _toIobject,hasRequired_toIobject;function require_toIobject(){if(hasRequired_toIobject)return _toIobject;hasRequired_toIobject=1;var e=require_iobject(),t=require_defined();return _toIobject=function(r){return e(t(r))},_toIobject}var _toInteger,hasRequired_toInteger;function require_toInteger(){if(hasRequired_toInteger)return _toInteger;hasRequired_toInteger=1;var e=Math.ceil,t=Math.floor;return _toInteger=function(r){return isNaN(r=+r)?0:(r>0?t:e)(r)},_toInteger}var _toLength,hasRequired_toLength;function require_toLength(){if(hasRequired_toLength)return _toLength;hasRequired_toLength=1;var e=require_toInteger(),t=Math.min;return _toLength=function(r){return r>0?t(e(r),9007199254740991):0},_toLength}var _toAbsoluteIndex,hasRequired_toAbsoluteIndex;function require_toAbsoluteIndex(){if(hasRequired_toAbsoluteIndex)return _toAbsoluteIndex;hasRequired_toAbsoluteIndex=1;var e=require_toInteger(),t=Math.max,r=Math.min;return _toAbsoluteIndex=function(i,s){return i=e(i),i<0?t(i+s,0):r(i,s)},_toAbsoluteIndex}var _arrayIncludes,hasRequired_arrayIncludes;function require_arrayIncludes(){if(hasRequired_arrayIncludes)return _arrayIncludes;hasRequired_arrayIncludes=1;var e=require_toIobject(),t=require_toLength(),r=require_toAbsoluteIndex();return _arrayIncludes=function(i){return function(s,n,a){var h=e(s),o=t(h.length),l=r(a,o),d;if(i&&n!=n){for(;o>l;)if(d=h[l++],d!=d)return!0}else for(;o>l;l++)if((i||l in h)&&h[l]===n)return i||l||0;return!i&&-1}},_arrayIncludes}var _shared={exports:{}},_library,hasRequired_library;function require_library(){return hasRequired_library||(hasRequired_library=1,_library=!0),_library}var hasRequired_shared;function require_shared(){if(hasRequired_shared)return _shared.exports;hasRequired_shared=1;var e=require_core(),t=require_global(),r="__core-js_shared__",i=t[r]||(t[r]={});return(_shared.exports=function(s,n){return i[s]||(i[s]=n!==void 0?n:{})})("versions",[]).push({version:e.version,mode:require_library()?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"}),_shared.exports}var _uid,hasRequired_uid;function require_uid(){if(hasRequired_uid)return _uid;hasRequired_uid=1;var e=0,t=Math.random();return _uid=function(r){return"Symbol(".concat(r===void 0?"":r,")_",(++e+t).toString(36))},_uid}var _sharedKey,hasRequired_sharedKey;function require_sharedKey(){if(hasRequired_sharedKey)return _sharedKey;hasRequired_sharedKey=1;var e=require_shared()("keys"),t=require_uid();return _sharedKey=function(r){return e[r]||(e[r]=t(r))},_sharedKey}var _objectKeysInternal,hasRequired_objectKeysInternal;function require_objectKeysInternal(){if(hasRequired_objectKeysInternal)return _objectKeysInternal;hasRequired_objectKeysInternal=1;var e=require_has(),t=require_toIobject(),r=require_arrayIncludes()(!1),i=require_sharedKey()("IE_PROTO");return _objectKeysInternal=function(s,n){var a=t(s),h=0,o=[],l;for(l in a)l!=i&&e(a,l)&&o.push(l);for(;n.length>h;)e(a,l=n[h++])&&(~r(o,l)||o.push(l));return o},_objectKeysInternal}var _enumBugKeys,hasRequired_enumBugKeys;function require_enumBugKeys(){return hasRequired_enumBugKeys||(hasRequired_enumBugKeys=1,_enumBugKeys="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")),_enumBugKeys}var _objectKeys,hasRequired_objectKeys;function require_objectKeys(){if(hasRequired_objectKeys)return _objectKeys;hasRequired_objectKeys=1;var e=require_objectKeysInternal(),t=require_enumBugKeys();return _objectKeys=Object.keys||function(i){return e(i,t)},_objectKeys}var _objectGops={},hasRequired_objectGops;function require_objectGops(){return hasRequired_objectGops||(hasRequired_objectGops=1,_objectGops.f=Object.getOwnPropertySymbols),_objectGops}var _objectPie={},hasRequired_objectPie;function require_objectPie(){return hasRequired_objectPie||(hasRequired_objectPie=1,_objectPie.f={}.propertyIsEnumerable),_objectPie}var _toObject,hasRequired_toObject;function require_toObject(){if(hasRequired_toObject)return _toObject;hasRequired_toObject=1;var e=require_defined();return _toObject=function(t){return Object(e(t))},_toObject}var _objectAssign,hasRequired_objectAssign;function require_objectAssign(){if(hasRequired_objectAssign)return _objectAssign;hasRequired_objectAssign=1;var e=require_descriptors(),t=require_objectKeys(),r=require_objectGops(),i=require_objectPie(),s=require_toObject(),n=require_iobject(),a=Object.assign;return _objectAssign=!a||require_fails()(function(){var h={},o={},l=Symbol(),d="abcdefghijklmnopqrst";return h[l]=7,d.split("").forEach(function(P){o[P]=P}),a({},h)[l]!=7||Object.keys(a({},o)).join("")!=d})?function(o,l){for(var d=s(o),P=arguments.length,u=1,_=r.f,g=i.f;P>u;)for(var p=n(arguments[u++]),x=_?t(p).concat(_(p)):t(p),c=x.length,m=0,f;c>m;)f=x[m++],(!e||g.call(p,f))&&(d[f]=p[f]);return d}:a,_objectAssign}var hasRequiredEs6_object_assign;function requireEs6_object_assign(){if(hasRequiredEs6_object_assign)return es6_object_assign;hasRequiredEs6_object_assign=1;var e=require_export();return e(e.S+e.F,"Object",{assign:require_objectAssign()}),es6_object_assign}var assign$1,hasRequiredAssign$1;function requireAssign$1(){return hasRequiredAssign$1||(hasRequiredAssign$1=1,requireEs6_object_assign(),assign$1=require_core().Object.assign),assign$1}var assign,hasRequiredAssign;function requireAssign(){return hasRequiredAssign||(hasRequiredAssign=1,assign={default:requireAssign$1(),__esModule:!0}),assign}var hasRequired_extends;function require_extends(){if(hasRequired_extends)return _extends;hasRequired_extends=1,_extends.__esModule=!0;var e=requireAssign(),t=r(e);function r(i){return i&&i.__esModule?i:{default:i}}return _extends.default=t.default||function(i){for(var s=1;s<arguments.length;s++){var n=arguments[s];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(i[a]=n[a])}return i},_extends}var es6_object_getPrototypeOf={},_objectGpo,hasRequired_objectGpo;function require_objectGpo(){if(hasRequired_objectGpo)return _objectGpo;hasRequired_objectGpo=1;var e=require_has(),t=require_toObject(),r=require_sharedKey()("IE_PROTO"),i=Object.prototype;return _objectGpo=Object.getPrototypeOf||function(s){return s=t(s),e(s,r)?s[r]:typeof s.constructor=="function"&&s instanceof s.constructor?s.constructor.prototype:s instanceof Object?i:null},_objectGpo}var _objectSap,hasRequired_objectSap;function require_objectSap(){if(hasRequired_objectSap)return _objectSap;hasRequired_objectSap=1;var e=require_export(),t=require_core(),r=require_fails();return _objectSap=function(i,s){var n=(t.Object||{})[i]||Object[i],a={};a[i]=s(n),e(e.S+e.F*r(function(){n(1)}),"Object",a)},_objectSap}var hasRequiredEs6_object_getPrototypeOf;function requireEs6_object_getPrototypeOf(){if(hasRequiredEs6_object_getPrototypeOf)return es6_object_getPrototypeOf;hasRequiredEs6_object_getPrototypeOf=1;var e=require_toObject(),t=require_objectGpo();return require_objectSap()("getPrototypeOf",function(){return function(i){return t(e(i))}}),es6_object_getPrototypeOf}var getPrototypeOf$1,hasRequiredGetPrototypeOf$1;function requireGetPrototypeOf$1(){return hasRequiredGetPrototypeOf$1||(hasRequiredGetPrototypeOf$1=1,requireEs6_object_getPrototypeOf(),getPrototypeOf$1=require_core().Object.getPrototypeOf),getPrototypeOf$1}var getPrototypeOf,hasRequiredGetPrototypeOf;function requireGetPrototypeOf(){return hasRequiredGetPrototypeOf||(hasRequiredGetPrototypeOf=1,getPrototypeOf={default:requireGetPrototypeOf$1(),__esModule:!0}),getPrototypeOf}var classCallCheck={},hasRequiredClassCallCheck;function requireClassCallCheck(){return hasRequiredClassCallCheck||(hasRequiredClassCallCheck=1,classCallCheck.__esModule=!0,classCallCheck.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}),classCallCheck}var createClass={},es6_object_defineProperty={},hasRequiredEs6_object_defineProperty;function requireEs6_object_defineProperty(){if(hasRequiredEs6_object_defineProperty)return es6_object_defineProperty;hasRequiredEs6_object_defineProperty=1;var e=require_export();return e(e.S+e.F*!require_descriptors(),"Object",{defineProperty:require_objectDp().f}),es6_object_defineProperty}var defineProperty$1,hasRequiredDefineProperty$1;function requireDefineProperty$1(){if(hasRequiredDefineProperty$1)return defineProperty$1;hasRequiredDefineProperty$1=1,requireEs6_object_defineProperty();var e=require_core().Object;return defineProperty$1=function(r,i,s){return e.defineProperty(r,i,s)},defineProperty$1}var defineProperty,hasRequiredDefineProperty;function requireDefineProperty(){return hasRequiredDefineProperty||(hasRequiredDefineProperty=1,defineProperty={default:requireDefineProperty$1(),__esModule:!0}),defineProperty}var hasRequiredCreateClass;function requireCreateClass(){if(hasRequiredCreateClass)return createClass;hasRequiredCreateClass=1,createClass.__esModule=!0;var e=requireDefineProperty(),t=r(e);function r(i){return i&&i.__esModule?i:{default:i}}return createClass.default=(function(){function i(s,n){for(var a=0;a<n.length;a++){var h=n[a];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),(0,t.default)(s,h.key,h)}}return function(s,n,a){return n&&i(s.prototype,n),a&&i(s,a),s}})(),createClass}var possibleConstructorReturn={},_typeof={},es6_string_iterator={},_stringAt,hasRequired_stringAt;function require_stringAt(){if(hasRequired_stringAt)return _stringAt;hasRequired_stringAt=1;var e=require_toInteger(),t=require_defined();return _stringAt=function(r){return function(i,s){var n=String(t(i)),a=e(s),h=n.length,o,l;return a<0||a>=h?r?"":void 0:(o=n.charCodeAt(a),o<55296||o>56319||a+1===h||(l=n.charCodeAt(a+1))<56320||l>57343?r?n.charAt(a):o:r?n.slice(a,a+2):(o-55296<<10)+(l-56320)+65536)}},_stringAt}var _redefine,hasRequired_redefine;function require_redefine(){return hasRequired_redefine||(hasRequired_redefine=1,_redefine=require_hide()),_redefine}var _iterators,hasRequired_iterators;function require_iterators(){return hasRequired_iterators||(hasRequired_iterators=1,_iterators={}),_iterators}var _objectDps,hasRequired_objectDps;function require_objectDps(){if(hasRequired_objectDps)return _objectDps;hasRequired_objectDps=1;var e=require_objectDp(),t=require_anObject(),r=require_objectKeys();return _objectDps=require_descriptors()?Object.defineProperties:function(s,n){t(s);for(var a=r(n),h=a.length,o=0,l;h>o;)e.f(s,l=a[o++],n[l]);return s},_objectDps}var _html,hasRequired_html;function require_html(){if(hasRequired_html)return _html;hasRequired_html=1;var e=require_global().document;return _html=e&&e.documentElement,_html}var _objectCreate,hasRequired_objectCreate;function require_objectCreate(){if(hasRequired_objectCreate)return _objectCreate;hasRequired_objectCreate=1;var e=require_anObject(),t=require_objectDps(),r=require_enumBugKeys(),i=require_sharedKey()("IE_PROTO"),s=function(){},n="prototype",a=function(){var h=require_domCreate()("iframe"),o=r.length,l="<",d=">",P;for(h.style.display="none",require_html().appendChild(h),h.src="javascript:",P=h.contentWindow.document,P.open(),P.write(l+"script"+d+"document.F=Object"+l+"/script"+d),P.close(),a=P.F;o--;)delete a[n][r[o]];return a()};return _objectCreate=Object.create||function(o,l){var d;return o!==null?(s[n]=e(o),d=new s,s[n]=null,d[i]=o):d=a(),l===void 0?d:t(d,l)},_objectCreate}var _wks={exports:{}},hasRequired_wks;function require_wks(){if(hasRequired_wks)return _wks.exports;hasRequired_wks=1;var e=require_shared()("wks"),t=require_uid(),r=require_global().Symbol,i=typeof r=="function",s=_wks.exports=function(n){return e[n]||(e[n]=i&&r[n]||(i?r:t)("Symbol."+n))};return s.store=e,_wks.exports}var _setToStringTag,hasRequired_setToStringTag;function require_setToStringTag(){if(hasRequired_setToStringTag)return _setToStringTag;hasRequired_setToStringTag=1;var e=require_objectDp().f,t=require_has(),r=require_wks()("toStringTag");return _setToStringTag=function(i,s,n){i&&!t(i=n?i:i.prototype,r)&&e(i,r,{configurable:!0,value:s})},_setToStringTag}var _iterCreate,hasRequired_iterCreate;function require_iterCreate(){if(hasRequired_iterCreate)return _iterCreate;hasRequired_iterCreate=1;var e=require_objectCreate(),t=require_propertyDesc(),r=require_setToStringTag(),i={};return require_hide()(i,require_wks()("iterator"),function(){return this}),_iterCreate=function(s,n,a){s.prototype=e(i,{next:t(1,a)}),r(s,n+" Iterator")},_iterCreate}var _iterDefine,hasRequired_iterDefine;function require_iterDefine(){if(hasRequired_iterDefine)return _iterDefine;hasRequired_iterDefine=1;var e=require_library(),t=require_export(),r=require_redefine(),i=require_hide(),s=require_iterators(),n=require_iterCreate(),a=require_setToStringTag(),h=require_objectGpo(),o=require_wks()("iterator"),l=!([].keys&&"next"in[].keys()),d="@@iterator",P="keys",u="values",_=function(){return this};return _iterDefine=function(g,p,x,c,m,f,v){n(x,p,c);var b=function(w){if(!l&&w in k)return k[w];switch(w){case P:return function(){return new x(this,w)};case u:return function(){return new x(this,w)}}return function(){return new x(this,w)}},C=p+" Iterator",M=m==u,I=!1,k=g.prototype,j=k[o]||k[d]||m&&k[m],D=j||b(m),F=m?M?b("entries"):D:void 0,G=p=="Array"&&k.entries||j,L,R,E;if(G&&(E=h(G.call(new g)),E!==Object.prototype&&E.next&&(a(E,C,!0),!e&&typeof E[o]!="function"&&i(E,o,_))),M&&j&&j.name!==u&&(I=!0,D=function(){return j.call(this)}),(!e||v)&&(l||I||!k[o])&&i(k,o,D),s[p]=D,s[C]=_,m)if(L={values:M?D:b(u),keys:f?D:b(P),entries:F},v)for(R in L)R in k||r(k,R,L[R]);else t(t.P+t.F*(l||I),p,L);return L},_iterDefine}var hasRequiredEs6_string_iterator;function requireEs6_string_iterator(){if(hasRequiredEs6_string_iterator)return es6_string_iterator;hasRequiredEs6_string_iterator=1;var e=require_stringAt()(!0);return require_iterDefine()(String,"String",function(t){this._t=String(t),this._i=0},function(){var t=this._t,r=this._i,i;return r>=t.length?{value:void 0,done:!0}:(i=e(t,r),this._i+=i.length,{value:i,done:!1})}),es6_string_iterator}var web_dom_iterable={},_addToUnscopables,hasRequired_addToUnscopables;function require_addToUnscopables(){return hasRequired_addToUnscopables||(hasRequired_addToUnscopables=1,_addToUnscopables=function(){}),_addToUnscopables}var _iterStep,hasRequired_iterStep;function require_iterStep(){return hasRequired_iterStep||(hasRequired_iterStep=1,_iterStep=function(e,t){return{value:t,done:!!e}}),_iterStep}var es6_array_iterator,hasRequiredEs6_array_iterator;function requireEs6_array_iterator(){if(hasRequiredEs6_array_iterator)return es6_array_iterator;hasRequiredEs6_array_iterator=1;var e=require_addToUnscopables(),t=require_iterStep(),r=require_iterators(),i=require_toIobject();return es6_array_iterator=require_iterDefine()(Array,"Array",function(s,n){this._t=i(s),this._i=0,this._k=n},function(){var s=this._t,n=this._k,a=this._i++;return!s||a>=s.length?(this._t=void 0,t(1)):n=="keys"?t(0,a):n=="values"?t(0,s[a]):t(0,[a,s[a]])},"values"),r.Arguments=r.Array,e("keys"),e("values"),e("entries"),es6_array_iterator}var hasRequiredWeb_dom_iterable;function requireWeb_dom_iterable(){if(hasRequiredWeb_dom_iterable)return web_dom_iterable;hasRequiredWeb_dom_iterable=1,requireEs6_array_iterator();for(var e=require_global(),t=require_hide(),r=require_iterators(),i=require_wks()("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),n=0;n<s.length;n++){var a=s[n],h=e[a],o=h&&h.prototype;o&&!o[i]&&t(o,i,a),r[a]=r.Array}return web_dom_iterable}var _wksExt={},hasRequired_wksExt;function require_wksExt(){return hasRequired_wksExt||(hasRequired_wksExt=1,_wksExt.f=require_wks()),_wksExt}var iterator$1,hasRequiredIterator$1;function requireIterator$1(){return hasRequiredIterator$1||(hasRequiredIterator$1=1,requireEs6_string_iterator(),requireWeb_dom_iterable(),iterator$1=require_wksExt().f("iterator")),iterator$1}var iterator,hasRequiredIterator;function requireIterator(){return hasRequiredIterator||(hasRequiredIterator=1,iterator={default:requireIterator$1(),__esModule:!0}),iterator}var es6_symbol={},_meta={exports:{}},hasRequired_meta;function require_meta(){if(hasRequired_meta)return _meta.exports;hasRequired_meta=1;var e=require_uid()("meta"),t=require_isObject(),r=require_has(),i=require_objectDp().f,s=0,n=Object.isExtensible||function(){return!0},a=!require_fails()(function(){return n(Object.preventExtensions({}))}),h=function(u){i(u,e,{value:{i:"O"+ ++s,w:{}}})},o=function(u,_){if(!t(u))return typeof u=="symbol"?u:(typeof u=="string"?"S":"P")+u;if(!r(u,e)){if(!n(u))return"F";if(!_)return"E";h(u)}return u[e].i},l=function(u,_){if(!r(u,e)){if(!n(u))return!0;if(!_)return!1;h(u)}return u[e].w},d=function(u){return a&&P.NEED&&n(u)&&!r(u,e)&&h(u),u},P=_meta.exports={KEY:e,NEED:!1,fastKey:o,getWeak:l,onFreeze:d};return _meta.exports}var _wksDefine,hasRequired_wksDefine;function require_wksDefine(){if(hasRequired_wksDefine)return _wksDefine;hasRequired_wksDefine=1;var e=require_global(),t=require_core(),r=require_library(),i=require_wksExt(),s=require_objectDp().f;return _wksDefine=function(n){var a=t.Symbol||(t.Symbol=r?{}:e.Symbol||{});n.charAt(0)!="_"&&!(n in a)&&s(a,n,{value:i.f(n)})},_wksDefine}var _enumKeys,hasRequired_enumKeys;function require_enumKeys(){if(hasRequired_enumKeys)return _enumKeys;hasRequired_enumKeys=1;var e=require_objectKeys(),t=require_objectGops(),r=require_objectPie();return _enumKeys=function(i){var s=e(i),n=t.f;if(n)for(var a=n(i),h=r.f,o=0,l;a.length>o;)h.call(i,l=a[o++])&&s.push(l);return s},_enumKeys}var _isArray,hasRequired_isArray;function require_isArray(){if(hasRequired_isArray)return _isArray;hasRequired_isArray=1;var e=require_cof();return _isArray=Array.isArray||function(r){return e(r)=="Array"},_isArray}var _objectGopnExt={},_objectGopn={},hasRequired_objectGopn;function require_objectGopn(){if(hasRequired_objectGopn)return _objectGopn;hasRequired_objectGopn=1;var e=require_objectKeysInternal(),t=require_enumBugKeys().concat("length","prototype");return _objectGopn.f=Object.getOwnPropertyNames||function(i){return e(i,t)},_objectGopn}var hasRequired_objectGopnExt;function require_objectGopnExt(){if(hasRequired_objectGopnExt)return _objectGopnExt;hasRequired_objectGopnExt=1;var e=require_toIobject(),t=require_objectGopn().f,r={}.toString,i=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(n){try{return t(n)}catch(a){return i.slice()}};return _objectGopnExt.f=function(a){return i&&r.call(a)=="[object Window]"?s(a):t(e(a))},_objectGopnExt}var _objectGopd={},hasRequired_objectGopd;function require_objectGopd(){if(hasRequired_objectGopd)return _objectGopd;hasRequired_objectGopd=1;var e=require_objectPie(),t=require_propertyDesc(),r=require_toIobject(),i=require_toPrimitive(),s=require_has(),n=require_ie8DomDefine(),a=Object.getOwnPropertyDescriptor;return _objectGopd.f=require_descriptors()?a:function(o,l){if(o=r(o),l=i(l,!0),n)try{return a(o,l)}catch(d){}if(s(o,l))return t(!e.f.call(o,l),o[l])},_objectGopd}var hasRequiredEs6_symbol;function requireEs6_symbol(){if(hasRequiredEs6_symbol)return es6_symbol;hasRequiredEs6_symbol=1;var e=require_global(),t=require_has(),r=require_descriptors(),i=require_export(),s=require_redefine(),n=require_meta().KEY,a=require_fails(),h=require_shared(),o=require_setToStringTag(),l=require_uid(),d=require_wks(),P=require_wksExt(),u=require_wksDefine(),_=require_enumKeys(),g=require_isArray(),p=require_anObject(),x=require_isObject(),c=require_toObject(),m=require_toIobject(),f=require_toPrimitive(),v=require_propertyDesc(),b=require_objectCreate(),C=require_objectGopnExt(),M=require_objectGopd(),I=require_objectGops(),k=require_objectDp(),j=require_objectKeys(),D=M.f,F=k.f,G=C.f,L=e.Symbol,R=e.JSON,E=R&&R.stringify,w="prototype",y=d("_hidden"),S=d("toPrimitive"),A={}.propertyIsEnumerable,T=h("symbol-registry"),q=h("symbols"),V=h("op-symbols"),O=Object[w],$=typeof L=="function"&&!!I.f,z=e.QObject,W=!z||!z[w]||!z[w].findChild,Y=r&&a(function(){return b(F({},"a",{get:function(){return F(this,"a",{value:7}).a}})).a!=7})?function(Q,N,K){var J=D(O,N);J&&delete O[N],F(Q,N,K),J&&Q!==O&&F(O,N,J)}:F,U=function(Q){var N=q[Q]=b(L[w]);return N._k=Q,N},X=$&&typeof L.iterator=="symbol"?function(Q){return typeof Q=="symbol"}:function(Q){return Q instanceof L},ee=function(N,K,J){return N===O&&ee(V,K,J),p(N),K=f(K,!0),p(J),t(q,K)?(J.enumerable?(t(N,y)&&N[y][K]&&(N[y][K]=!1),J=b(J,{enumerable:v(0,!1)})):(t(N,y)||F(N,y,v(1,{})),N[y][K]=!0),Y(N,K,J)):F(N,K,J)},B=function(N,K){p(N);for(var J=_(K=m(K)),te=0,re=J.length,ae;re>te;)ee(N,ae=J[te++],K[ae]);return N},Z=function(N,K){return K===void 0?b(N):B(b(N),K)},H=function(N){var K=A.call(this,N=f(N,!0));return this===O&&t(q,N)&&!t(V,N)?!1:K||!t(this,N)||!t(q,N)||t(this,y)&&this[y][N]?K:!0},se=function(N,K){if(N=m(N),K=f(K,!0),!(N===O&&t(q,K)&&!t(V,K))){var J=D(N,K);return J&&t(q,K)&&!(t(N,y)&&N[y][K])&&(J.enumerable=!0),J}},fe=function(N){for(var K=G(m(N)),J=[],te=0,re;K.length>te;)!t(q,re=K[te++])&&re!=y&&re!=n&&J.push(re);return J},oe=function(N){for(var K=N===O,J=G(K?V:m(N)),te=[],re=0,ae;J.length>re;)t(q,ae=J[re++])&&(!K||t(O,ae))&&te.push(q[ae]);return te};$||(L=function(){if(this instanceof L)throw TypeError("Symbol is not a constructor!");var N=l(arguments.length>0?arguments[0]:void 0),K=function(J){this===O&&K.call(V,J),t(this,y)&&t(this[y],N)&&(this[y][N]=!1),Y(this,N,v(1,J))};return r&&W&&Y(O,N,{configurable:!0,set:K}),U(N)},s(L[w],"toString",function(){return this._k}),M.f=se,k.f=ee,require_objectGopn().f=C.f=fe,require_objectPie().f=H,I.f=oe,r&&!require_library()&&s(O,"propertyIsEnumerable",H,!0),P.f=function(Q){return U(d(Q))}),i(i.G+i.W+i.F*!$,{Symbol:L});for(var ne="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),he=0;ne.length>he;)d(ne[he++]);for(var le=j(d.store),ie=0;le.length>ie;)u(le[ie++]);i(i.S+i.F*!$,"Symbol",{for:function(Q){return t(T,Q+="")?T[Q]:T[Q]=L(Q)},keyFor:function(N){if(!X(N))throw TypeError(N+" is not a symbol!");for(var K in T)if(T[K]===N)return K},useSetter:function(){W=!0},useSimple:function(){W=!1}}),i(i.S+i.F*!$,"Object",{create:Z,defineProperty:ee,defineProperties:B,getOwnPropertyDescriptor:se,getOwnPropertyNames:fe,getOwnPropertySymbols:oe});var ue=a(function(){I.f(1)});return i(i.S+i.F*ue,"Object",{getOwnPropertySymbols:function(N){return I.f(c(N))}}),R&&i(i.S+i.F*(!$||a(function(){var Q=L();return E([Q])!="[null]"||E({a:Q})!="{}"||E(Object(Q))!="{}"})),"JSON",{stringify:function(N){for(var K=[N],J=1,te,re;arguments.length>J;)K.push(arguments[J++]);if(re=te=K[1],!(!x(te)&&N===void 0||X(N)))return g(te)||(te=function(ae,pe){if(typeof re=="function"&&(pe=re.call(this,ae,pe)),!X(pe))return pe}),K[1]=te,E.apply(R,K)}}),L[w][S]||require_hide()(L[w],S,L[w].valueOf),o(L,"Symbol"),o(Math,"Math",!0),o(e.JSON,"JSON",!0),es6_symbol}var es7_symbol_asyncIterator={},hasRequiredEs7_symbol_asyncIterator;function requireEs7_symbol_asyncIterator(){return hasRequiredEs7_symbol_asyncIterator||(hasRequiredEs7_symbol_asyncIterator=1,require_wksDefine()("asyncIterator")),es7_symbol_asyncIterator}var es7_symbol_observable={},hasRequiredEs7_symbol_observable;function requireEs7_symbol_observable(){return hasRequiredEs7_symbol_observable||(hasRequiredEs7_symbol_observable=1,require_wksDefine()("observable")),es7_symbol_observable}var symbol$1,hasRequiredSymbol$1;function requireSymbol$1(){return hasRequiredSymbol$1||(hasRequiredSymbol$1=1,requireEs6_symbol(),requireEs7_symbol_asyncIterator(),requireEs7_symbol_observable(),symbol$1=require_core().Symbol),symbol$1}var symbol,hasRequiredSymbol;function requireSymbol(){return hasRequiredSymbol||(hasRequiredSymbol=1,symbol={default:requireSymbol$1(),__esModule:!0}),symbol}var hasRequired_typeof;function require_typeof(){if(hasRequired_typeof)return _typeof;hasRequired_typeof=1,_typeof.__esModule=!0;var e=requireIterator(),t=n(e),r=requireSymbol(),i=n(r),s=typeof i.default=="function"&&typeof t.default=="symbol"?function(a){return typeof a}:function(a){return a&&typeof i.default=="function"&&a.constructor===i.default&&a!==i.default.prototype?"symbol":typeof a};function n(a){return a&&a.__esModule?a:{default:a}}return _typeof.default=typeof i.default=="function"&&s(t.default)==="symbol"?function(a){return typeof a=="undefined"?"undefined":s(a)}:function(a){return a&&typeof i.default=="function"&&a.constructor===i.default&&a!==i.default.prototype?"symbol":typeof a=="undefined"?"undefined":s(a)},_typeof}var hasRequiredPossibleConstructorReturn;function requirePossibleConstructorReturn(){if(hasRequiredPossibleConstructorReturn)return possibleConstructorReturn;hasRequiredPossibleConstructorReturn=1,possibleConstructorReturn.__esModule=!0;var e=require_typeof(),t=r(e);function r(i){return i&&i.__esModule?i:{default:i}}return possibleConstructorReturn.default=function(i,s){if(!i)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s&&((typeof s=="undefined"?"undefined":(0,t.default)(s))==="object"||typeof s=="function")?s:i},possibleConstructorReturn}var inherits={},es6_object_setPrototypeOf={},_setProto,hasRequired_setProto;function require_setProto(){if(hasRequired_setProto)return _setProto;hasRequired_setProto=1;var e=require_isObject(),t=require_anObject(),r=function(i,s){if(t(i),!e(s)&&s!==null)throw TypeError(s+": can't set as prototype!")};return _setProto={set:Object.setPrototypeOf||("__proto__"in{}?(function(i,s,n){try{n=require_ctx()(Function.call,require_objectGopd().f(Object.prototype,"__proto__").set,2),n(i,[]),s=!(i instanceof Array)}catch(a){s=!0}return function(h,o){return r(h,o),s?h.__proto__=o:n(h,o),h}})({},!1):void 0),check:r},_setProto}var hasRequiredEs6_object_setPrototypeOf;function requireEs6_object_setPrototypeOf(){if(hasRequiredEs6_object_setPrototypeOf)return es6_object_setPrototypeOf;hasRequiredEs6_object_setPrototypeOf=1;var e=require_export();return e(e.S,"Object",{setPrototypeOf:require_setProto().set}),es6_object_setPrototypeOf}var setPrototypeOf$1,hasRequiredSetPrototypeOf$1;function requireSetPrototypeOf$1(){return hasRequiredSetPrototypeOf$1||(hasRequiredSetPrototypeOf$1=1,requireEs6_object_setPrototypeOf(),setPrototypeOf$1=require_core().Object.setPrototypeOf),setPrototypeOf$1}var setPrototypeOf,hasRequiredSetPrototypeOf;function requireSetPrototypeOf(){return hasRequiredSetPrototypeOf||(hasRequiredSetPrototypeOf=1,setPrototypeOf={default:requireSetPrototypeOf$1(),__esModule:!0}),setPrototypeOf}var es6_object_create={},hasRequiredEs6_object_create;function requireEs6_object_create(){if(hasRequiredEs6_object_create)return es6_object_create;hasRequiredEs6_object_create=1;var e=require_export();return e(e.S,"Object",{create:require_objectCreate()}),es6_object_create}var create$1,hasRequiredCreate$1;function requireCreate$1(){if(hasRequiredCreate$1)return create$1;hasRequiredCreate$1=1,requireEs6_object_create();var e=require_core().Object;return create$1=function(r,i){return e.create(r,i)},create$1}var create,hasRequiredCreate;function requireCreate(){return hasRequiredCreate||(hasRequiredCreate=1,create={default:requireCreate$1(),__esModule:!0}),create}var hasRequiredInherits;function requireInherits(){if(hasRequiredInherits)return inherits;hasRequiredInherits=1,inherits.__esModule=!0;var e=requireSetPrototypeOf(),t=a(e),r=requireCreate(),i=a(r),s=require_typeof(),n=a(s);function a(h){return h&&h.__esModule?h:{default:h}}return inherits.default=function(h,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function, not "+(typeof o=="undefined"?"undefined":(0,n.default)(o)));h.prototype=(0,i.default)(o&&o.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),o&&(t.default?(0,t.default)(h,o):h.__proto__=o)},inherits}var propTypes={exports:{}},reactIs={exports:{}},reactIs_production_min={};/** @license React v16.13.1
2
+ * react-is.production.min.js
3
+ *
4
+ * Copyright (c) Facebook, Inc. and its affiliates.
5
+ *
6
+ * This source code is licensed under the MIT license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */var hasRequiredReactIs_production_min;function requireReactIs_production_min(){if(hasRequiredReactIs_production_min)return reactIs_production_min;hasRequiredReactIs_production_min=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,s=e?Symbol.for("react.strict_mode"):60108,n=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,h=e?Symbol.for("react.context"):60110,o=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,P=e?Symbol.for("react.suspense"):60113,u=e?Symbol.for("react.suspense_list"):60120,_=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,x=e?Symbol.for("react.fundamental"):60117,c=e?Symbol.for("react.responder"):60118,m=e?Symbol.for("react.scope"):60119;function f(b){if(typeof b=="object"&&b!==null){var C=b.$$typeof;switch(C){case t:switch(b=b.type,b){case o:case l:case i:case n:case s:case P:return b;default:switch(b=b&&b.$$typeof,b){case h:case d:case g:case _:case a:return b;default:return C}}case r:return C}}}function v(b){return f(b)===l}return reactIs_production_min.AsyncMode=o,reactIs_production_min.ConcurrentMode=l,reactIs_production_min.ContextConsumer=h,reactIs_production_min.ContextProvider=a,reactIs_production_min.Element=t,reactIs_production_min.ForwardRef=d,reactIs_production_min.Fragment=i,reactIs_production_min.Lazy=g,reactIs_production_min.Memo=_,reactIs_production_min.Portal=r,reactIs_production_min.Profiler=n,reactIs_production_min.StrictMode=s,reactIs_production_min.Suspense=P,reactIs_production_min.isAsyncMode=function(b){return v(b)||f(b)===o},reactIs_production_min.isConcurrentMode=v,reactIs_production_min.isContextConsumer=function(b){return f(b)===h},reactIs_production_min.isContextProvider=function(b){return f(b)===a},reactIs_production_min.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===t},reactIs_production_min.isForwardRef=function(b){return f(b)===d},reactIs_production_min.isFragment=function(b){return f(b)===i},reactIs_production_min.isLazy=function(b){return f(b)===g},reactIs_production_min.isMemo=function(b){return f(b)===_},reactIs_production_min.isPortal=function(b){return f(b)===r},reactIs_production_min.isProfiler=function(b){return f(b)===n},reactIs_production_min.isStrictMode=function(b){return f(b)===s},reactIs_production_min.isSuspense=function(b){return f(b)===P},reactIs_production_min.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===i||b===l||b===n||b===s||b===P||b===u||typeof b=="object"&&b!==null&&(b.$$typeof===g||b.$$typeof===_||b.$$typeof===a||b.$$typeof===h||b.$$typeof===d||b.$$typeof===x||b.$$typeof===c||b.$$typeof===m||b.$$typeof===p)},reactIs_production_min.typeOf=f,reactIs_production_min}var reactIs_development={};/** @license React v16.13.1
9
+ * react-is.development.js
10
+ *
11
+ * Copyright (c) Facebook, Inc. and its affiliates.
12
+ *
13
+ * This source code is licensed under the MIT license found in the
14
+ * LICENSE file in the root directory of this source tree.
15
+ */var hasRequiredReactIs_development;function requireReactIs_development(){return hasRequiredReactIs_development||(hasRequiredReactIs_development=1,process.env.NODE_ENV!=="production"&&(function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,s=e?Symbol.for("react.strict_mode"):60108,n=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,h=e?Symbol.for("react.context"):60110,o=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,P=e?Symbol.for("react.suspense"):60113,u=e?Symbol.for("react.suspense_list"):60120,_=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,x=e?Symbol.for("react.fundamental"):60117,c=e?Symbol.for("react.responder"):60118,m=e?Symbol.for("react.scope"):60119;function f(B){return typeof B=="string"||typeof B=="function"||B===i||B===l||B===n||B===s||B===P||B===u||typeof B=="object"&&B!==null&&(B.$$typeof===g||B.$$typeof===_||B.$$typeof===a||B.$$typeof===h||B.$$typeof===d||B.$$typeof===x||B.$$typeof===c||B.$$typeof===m||B.$$typeof===p)}function v(B){if(typeof B=="object"&&B!==null){var Z=B.$$typeof;switch(Z){case t:var H=B.type;switch(H){case o:case l:case i:case n:case s:case P:return H;default:var se=H&&H.$$typeof;switch(se){case h:case d:case g:case _:case a:return se;default:return Z}}case r:return Z}}}var b=o,C=l,M=h,I=a,k=t,j=d,D=i,F=g,G=_,L=r,R=n,E=s,w=P,y=!1;function S(B){return y||(y=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),A(B)||v(B)===o}function A(B){return v(B)===l}function T(B){return v(B)===h}function q(B){return v(B)===a}function V(B){return typeof B=="object"&&B!==null&&B.$$typeof===t}function O(B){return v(B)===d}function $(B){return v(B)===i}function z(B){return v(B)===g}function W(B){return v(B)===_}function Y(B){return v(B)===r}function U(B){return v(B)===n}function X(B){return v(B)===s}function ee(B){return v(B)===P}reactIs_development.AsyncMode=b,reactIs_development.ConcurrentMode=C,reactIs_development.ContextConsumer=M,reactIs_development.ContextProvider=I,reactIs_development.Element=k,reactIs_development.ForwardRef=j,reactIs_development.Fragment=D,reactIs_development.Lazy=F,reactIs_development.Memo=G,reactIs_development.Portal=L,reactIs_development.Profiler=R,reactIs_development.StrictMode=E,reactIs_development.Suspense=w,reactIs_development.isAsyncMode=S,reactIs_development.isConcurrentMode=A,reactIs_development.isContextConsumer=T,reactIs_development.isContextProvider=q,reactIs_development.isElement=V,reactIs_development.isForwardRef=O,reactIs_development.isFragment=$,reactIs_development.isLazy=z,reactIs_development.isMemo=W,reactIs_development.isPortal=Y,reactIs_development.isProfiler=U,reactIs_development.isStrictMode=X,reactIs_development.isSuspense=ee,reactIs_development.isValidElementType=f,reactIs_development.typeOf=v})()),reactIs_development}var hasRequiredReactIs;function requireReactIs(){return hasRequiredReactIs||(hasRequiredReactIs=1,process.env.NODE_ENV==="production"?reactIs.exports=requireReactIs_production_min():reactIs.exports=requireReactIs_development()),reactIs.exports}/*
16
+ object-assign
17
+ (c) Sindre Sorhus
18
+ @license MIT
19
+ */var objectAssign,hasRequiredObjectAssign;function requireObjectAssign(){if(hasRequiredObjectAssign)return objectAssign;hasRequiredObjectAssign=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function i(n){if(n==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(n)}function s(){try{if(!Object.assign)return!1;var n=new String("abc");if(n[5]="de",Object.getOwnPropertyNames(n)[0]==="5")return!1;for(var a={},h=0;h<10;h++)a["_"+String.fromCharCode(h)]=h;var o=Object.getOwnPropertyNames(a).map(function(d){return a[d]});if(o.join("")!=="0123456789")return!1;var l={};return"abcdefghijklmnopqrst".split("").forEach(function(d){l[d]=d}),Object.keys(Object.assign({},l)).join("")==="abcdefghijklmnopqrst"}catch(d){return!1}}return objectAssign=s()?Object.assign:function(n,a){for(var h,o=i(n),l,d=1;d<arguments.length;d++){h=Object(arguments[d]);for(var P in h)t.call(h,P)&&(o[P]=h[P]);if(e){l=e(h);for(var u=0;u<l.length;u++)r.call(h,l[u])&&(o[l[u]]=h[l[u]])}}return o},objectAssign}var ReactPropTypesSecret_1,hasRequiredReactPropTypesSecret;function requireReactPropTypesSecret(){if(hasRequiredReactPropTypesSecret)return ReactPropTypesSecret_1;hasRequiredReactPropTypesSecret=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return ReactPropTypesSecret_1=e,ReactPropTypesSecret_1}var has,hasRequiredHas;function requireHas(){return hasRequiredHas||(hasRequiredHas=1,has=Function.call.bind(Object.prototype.hasOwnProperty)),has}var checkPropTypes_1,hasRequiredCheckPropTypes;function requireCheckPropTypes(){if(hasRequiredCheckPropTypes)return checkPropTypes_1;hasRequiredCheckPropTypes=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=requireReactPropTypesSecret(),r={},i=requireHas();e=function(n){var a="Warning: "+n;typeof console!="undefined"&&console.error(a);try{throw new Error(a)}catch(h){}}}function s(n,a,h,o,l){if(process.env.NODE_ENV!=="production"){for(var d in n)if(i(n,d)){var P;try{if(typeof n[d]!="function"){var u=Error((o||"React class")+": "+h+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof n[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw u.name="Invariant Violation",u}P=n[d](a,d,o,h,null,t)}catch(g){P=g}if(P&&!(P instanceof Error)&&e((o||"React class")+": type specification of "+h+" `"+d+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof P+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),P instanceof Error&&!(P.message in r)){r[P.message]=!0;var _=l?l():"";e("Failed "+h+" type: "+P.message+(_!=null?_:""))}}}}return s.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},checkPropTypes_1=s,checkPropTypes_1}var factoryWithTypeCheckers,hasRequiredFactoryWithTypeCheckers;function requireFactoryWithTypeCheckers(){if(hasRequiredFactoryWithTypeCheckers)return factoryWithTypeCheckers;hasRequiredFactoryWithTypeCheckers=1;var e=requireReactIs(),t=requireObjectAssign(),r=requireReactPropTypesSecret(),i=requireHas(),s=requireCheckPropTypes(),n=function(){};process.env.NODE_ENV!=="production"&&(n=function(h){var o="Warning: "+h;typeof console!="undefined"&&console.error(o);try{throw new Error(o)}catch(l){}});function a(){return null}return factoryWithTypeCheckers=function(h,o){var l=typeof Symbol=="function"&&Symbol.iterator,d="@@iterator";function P(A){var T=A&&(l&&A[l]||A[d]);if(typeof T=="function")return T}var u="<<anonymous>>",_={array:c("array"),bigint:c("bigint"),bool:c("boolean"),func:c("function"),number:c("number"),object:c("object"),string:c("string"),symbol:c("symbol"),any:m(),arrayOf:f,element:v(),elementType:b(),instanceOf:C,node:j(),objectOf:I,oneOf:M,oneOfType:k,shape:F,exact:G};function g(A,T){return A===T?A!==0||1/A===1/T:A!==A&&T!==T}function p(A,T){this.message=A,this.data=T&&typeof T=="object"?T:{},this.stack=""}p.prototype=Error.prototype;function x(A){if(process.env.NODE_ENV!=="production")var T={},q=0;function V($,z,W,Y,U,X,ee){if(Y=Y||u,X=X||W,ee!==r){if(o){var B=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw B.name="Invariant Violation",B}else if(process.env.NODE_ENV!=="production"&&typeof console!="undefined"){var Z=Y+":"+W;!T[Z]&&q<3&&(n("You are manually calling a React.PropTypes validation function for the `"+X+"` prop on `"+Y+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),T[Z]=!0,q++)}}return z[W]==null?$?z[W]===null?new p("The "+U+" `"+X+"` is marked as required "+("in `"+Y+"`, but its value is `null`.")):new p("The "+U+" `"+X+"` is marked as required in "+("`"+Y+"`, but its value is `undefined`.")):null:A(z,W,Y,U,X)}var O=V.bind(null,!1);return O.isRequired=V.bind(null,!0),O}function c(A){function T(q,V,O,$,z,W){var Y=q[V],U=E(Y);if(U!==A){var X=w(Y);return new p("Invalid "+$+" `"+z+"` of type "+("`"+X+"` supplied to `"+O+"`, expected ")+("`"+A+"`."),{expectedType:A})}return null}return x(T)}function m(){return x(a)}function f(A){function T(q,V,O,$,z){if(typeof A!="function")return new p("Property `"+z+"` of component `"+O+"` has invalid PropType notation inside arrayOf.");var W=q[V];if(!Array.isArray(W)){var Y=E(W);return new p("Invalid "+$+" `"+z+"` of type "+("`"+Y+"` supplied to `"+O+"`, expected an array."))}for(var U=0;U<W.length;U++){var X=A(W,U,O,$,z+"["+U+"]",r);if(X instanceof Error)return X}return null}return x(T)}function v(){function A(T,q,V,O,$){var z=T[q];if(!h(z)){var W=E(z);return new p("Invalid "+O+" `"+$+"` of type "+("`"+W+"` supplied to `"+V+"`, expected a single ReactElement."))}return null}return x(A)}function b(){function A(T,q,V,O,$){var z=T[q];if(!e.isValidElementType(z)){var W=E(z);return new p("Invalid "+O+" `"+$+"` of type "+("`"+W+"` supplied to `"+V+"`, expected a single ReactElement type."))}return null}return x(A)}function C(A){function T(q,V,O,$,z){if(!(q[V]instanceof A)){var W=A.name||u,Y=S(q[V]);return new p("Invalid "+$+" `"+z+"` of type "+("`"+Y+"` supplied to `"+O+"`, expected ")+("instance of `"+W+"`."))}return null}return x(T)}function M(A){if(!Array.isArray(A))return process.env.NODE_ENV!=="production"&&(arguments.length>1?n("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):n("Invalid argument supplied to oneOf, expected an array.")),a;function T(q,V,O,$,z){for(var W=q[V],Y=0;Y<A.length;Y++)if(g(W,A[Y]))return null;var U=JSON.stringify(A,function(ee,B){var Z=w(B);return Z==="symbol"?String(B):B});return new p("Invalid "+$+" `"+z+"` of value `"+String(W)+"` "+("supplied to `"+O+"`, expected one of "+U+"."))}return x(T)}function I(A){function T(q,V,O,$,z){if(typeof A!="function")return new p("Property `"+z+"` of component `"+O+"` has invalid PropType notation inside objectOf.");var W=q[V],Y=E(W);if(Y!=="object")return new p("Invalid "+$+" `"+z+"` of type "+("`"+Y+"` supplied to `"+O+"`, expected an object."));for(var U in W)if(i(W,U)){var X=A(W,U,O,$,z+"."+U,r);if(X instanceof Error)return X}return null}return x(T)}function k(A){if(!Array.isArray(A))return process.env.NODE_ENV!=="production"&&n("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var T=0;T<A.length;T++){var q=A[T];if(typeof q!="function")return n("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+y(q)+" at index "+T+"."),a}function V(O,$,z,W,Y){for(var U=[],X=0;X<A.length;X++){var ee=A[X],B=ee(O,$,z,W,Y,r);if(B==null)return null;B.data&&i(B.data,"expectedType")&&U.push(B.data.expectedType)}var Z=U.length>0?", expected one of type ["+U.join(", ")+"]":"";return new p("Invalid "+W+" `"+Y+"` supplied to "+("`"+z+"`"+Z+"."))}return x(V)}function j(){function A(T,q,V,O,$){return L(T[q])?null:new p("Invalid "+O+" `"+$+"` supplied to "+("`"+V+"`, expected a ReactNode."))}return x(A)}function D(A,T,q,V,O){return new p((A||"React class")+": "+T+" type `"+q+"."+V+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+O+"`.")}function F(A){function T(q,V,O,$,z){var W=q[V],Y=E(W);if(Y!=="object")return new p("Invalid "+$+" `"+z+"` of type `"+Y+"` "+("supplied to `"+O+"`, expected `object`."));for(var U in A){var X=A[U];if(typeof X!="function")return D(O,$,z,U,w(X));var ee=X(W,U,O,$,z+"."+U,r);if(ee)return ee}return null}return x(T)}function G(A){function T(q,V,O,$,z){var W=q[V],Y=E(W);if(Y!=="object")return new p("Invalid "+$+" `"+z+"` of type `"+Y+"` "+("supplied to `"+O+"`, expected `object`."));var U=t({},q[V],A);for(var X in U){var ee=A[X];if(i(A,X)&&typeof ee!="function")return D(O,$,z,X,w(ee));if(!ee)return new p("Invalid "+$+" `"+z+"` key `"+X+"` supplied to `"+O+"`.\nBad object: "+JSON.stringify(q[V],null," ")+`
20
+ Valid keys: `+JSON.stringify(Object.keys(A),null," "));var B=ee(W,X,O,$,z+"."+X,r);if(B)return B}return null}return x(T)}function L(A){switch(typeof A){case"number":case"string":case"undefined":return!0;case"boolean":return!A;case"object":if(Array.isArray(A))return A.every(L);if(A===null||h(A))return!0;var T=P(A);if(T){var q=T.call(A),V;if(T!==A.entries){for(;!(V=q.next()).done;)if(!L(V.value))return!1}else for(;!(V=q.next()).done;){var O=V.value;if(O&&!L(O[1]))return!1}}else return!1;return!0;default:return!1}}function R(A,T){return A==="symbol"?!0:T?T["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&T instanceof Symbol:!1}function E(A){var T=typeof A;return Array.isArray(A)?"array":A instanceof RegExp?"object":R(T,A)?"symbol":T}function w(A){if(typeof A=="undefined"||A===null)return""+A;var T=E(A);if(T==="object"){if(A instanceof Date)return"date";if(A instanceof RegExp)return"regexp"}return T}function y(A){var T=w(A);switch(T){case"array":case"object":return"an "+T;case"boolean":case"date":case"regexp":return"a "+T;default:return T}}function S(A){return!A.constructor||!A.constructor.name?u:A.constructor.name}return _.checkPropTypes=s,_.resetWarningCache=s.resetWarningCache,_.PropTypes=_,_},factoryWithTypeCheckers}var factoryWithThrowingShims,hasRequiredFactoryWithThrowingShims;function requireFactoryWithThrowingShims(){if(hasRequiredFactoryWithThrowingShims)return factoryWithThrowingShims;hasRequiredFactoryWithThrowingShims=1;var e=requireReactPropTypesSecret();function t(){}function r(){}return r.resetWarningCache=t,factoryWithThrowingShims=function(){function i(a,h,o,l,d,P){if(P!==e){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}i.isRequired=i;function s(){return i}var n={array:i,bigint:i,bool:i,func:i,number:i,object:i,string:i,symbol:i,any:i,arrayOf:s,element:i,elementType:i,instanceOf:s,node:i,objectOf:s,oneOf:s,oneOfType:s,shape:s,exact:s,checkPropTypes:r,resetWarningCache:t};return n.PropTypes=n,n},factoryWithThrowingShims}var hasRequiredPropTypes;function requirePropTypes(){if(hasRequiredPropTypes)return propTypes.exports;if(hasRequiredPropTypes=1,process.env.NODE_ENV!=="production"){var e=requireReactIs(),t=!0;propTypes.exports=requireFactoryWithTypeCheckers()(e.isElement,t)}else propTypes.exports=requireFactoryWithThrowingShims()();return propTypes.exports}var lottie$1={exports:{}},lottie=lottie$1.exports,hasRequiredLottie;function requireLottie(){return hasRequiredLottie||(hasRequiredLottie=1,(function(module,exports){typeof document!="undefined"&&typeof navigator!="undefined"&&(function(e,t){module.exports=t()})(lottie,(function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(t){_useWebWorker=!!t},getWebWorker=function(){return _useWebWorker},setLocationHref=function(t){locationHref=t},getLocationHref=function(){return locationHref};function createTag(e){return document.createElement(e)}function extendPrototype(e,t){var r,i=e.length,s;for(r=0;r<i;r+=1){s=e[r].prototype;for(var n in s)Object.prototype.hasOwnProperty.call(s,n)&&(t.prototype[n]=s[n])}}function getDescriptor(e,t){return Object.getOwnPropertyDescriptor(e,t)}function createProxyFunction(e){function t(){}return t.prototype=e,t}var audioControllerFactory=(function(){function e(t){this.audios=[],this.audioFactory=t,this._volume=1,this._isMuted=!1}return e.prototype={addAudio:function(r){this.audios.push(r)},pause:function(){var r,i=this.audios.length;for(r=0;r<i;r+=1)this.audios[r].pause()},resume:function(){var r,i=this.audios.length;for(r=0;r<i;r+=1)this.audios[r].resume()},setRate:function(r){var i,s=this.audios.length;for(i=0;i<s;i+=1)this.audios[i].setRate(r)},createAudio:function(r){return this.audioFactory?this.audioFactory(r):window.Howl?new window.Howl({src:[r]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(r){this.audioFactory=r},setVolume:function(r){this._volume=r,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var r,i=this.audios.length;for(r=0;r<i;r+=1)this.audios[r].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}})(),createTypedArray=(function(){function e(r,i){var s=0,n=[],a;switch(r){case"int16":case"uint8c":a=1;break;default:a=1.1;break}for(s=0;s<i;s+=1)n.push(a);return n}function t(r,i){return r==="float32"?new Float32Array(i):r==="int16"?new Int16Array(i):r==="uint8c"?new Uint8ClampedArray(i):e(r,i)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?t:e})();function createSizedArray(e){return Array.apply(null,{length:e})}function _typeof$6(e){"@babel/helpers - typeof";return _typeof$6=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$6(e)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};(function(){var 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"],t,r=e.length;for(t=0;t<r;t+=1)BMMath[e[t]]=Math[e[t]]})(),BMMath.random=Math.random,BMMath.abs=function(e){var t=_typeof$6(e);if(t==="object"&&e.length){var r=createSizedArray(e.length),i,s=e.length;for(i=0;i<s;i+=1)r[i]=Math.abs(e[i]);return r}return Math.abs(e)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function styleDiv(e){e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.display="block",e.style.transformOrigin="0 0",e.style.webkitTransformOrigin="0 0",e.style.backfaceVisibility="visible",e.style.webkitBackfaceVisibility="visible",e.style.transformStyle="preserve-3d",e.style.webkitTransformStyle="preserve-3d",e.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(e,t,r,i){this.type=e,this.currentTime=t,this.totalTime=r,this.direction=i<0?-1:1}function BMCompleteEvent(e,t){this.type=e,this.direction=t<0?-1:1}function BMCompleteLoopEvent(e,t,r,i){this.type=e,this.currentLoop=r,this.totalLoops=t,this.direction=i<0?-1:1}function BMSegmentStartEvent(e,t,r){this.type=e,this.firstFrame=t,this.totalFrames=r}function BMDestroyEvent(e,t){this.type=e,this.target=t}function BMRenderFrameErrorEvent(e,t){this.type="renderFrameError",this.nativeError=e,this.currentTime=t}function BMConfigErrorEvent(e){this.type="configError",this.nativeError=e}var createElementID=(function(){var e=0;return function(){return e+=1,idPrefix$1+"__lottie_element_"+e}})();function HSVtoRGB(e,t,r){var i,s,n,a,h,o,l,d;switch(a=Math.floor(e*6),h=e*6-a,o=r*(1-t),l=r*(1-h*t),d=r*(1-(1-h)*t),a%6){case 0:i=r,s=d,n=o;break;case 1:i=l,s=r,n=o;break;case 2:i=o,s=r,n=d;break;case 3:i=o,s=l,n=r;break;case 4:i=d,s=o,n=r;break;case 5:i=r,s=o,n=l;break}return[i,s,n]}function RGBtoHSV(e,t,r){var i=Math.max(e,t,r),s=Math.min(e,t,r),n=i-s,a,h=i===0?0:n/i,o=i/255;switch(i){case s:a=0;break;case e:a=t-r+n*(t<r?6:0),a/=6*n;break;case t:a=r-e+n*2,a/=6*n;break;case r:a=e-t+n*4,a/=6*n;break}return[a,h,o]}function addSaturationToRGB(e,t){var r=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return r[1]+=t,r[1]>1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(e,t){var r=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return r[2]+=t,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(e,t){var r=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return r[0]+=t/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=(function(){var e=[],t,r;for(t=0;t<256;t+=1)r=t.toString(16),e[t]=r.length===1?"0"+r:r;return function(i,s,n){return i<0&&(i=0),s<0&&(s=0),n<0&&(n=0),"#"+e[i]+e[s]+e[n]}})(),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};function createNS(e){return document.createElementNS(svgNS,e)}function _typeof$5(e){"@babel/helpers - typeof";return _typeof$5=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$5(e)}var dataManager=(function(){var e=1,t=[],r,i,s={onmessage:function(){},postMessage:function(_){r({data:_})}},n={postMessage:function(_){s.onmessage({data:_})}};function a(u){if(window.Worker&&window.Blob&&getWebWorker()){var _=new Blob(["var _workerSelf = self; self.onmessage = ",u.toString()],{type:"text/javascript"}),g=URL.createObjectURL(_);return new Worker(g)}return r=u,s}function h(){i||(i=a(function(_){function g(){function x(R,E){var w,y,S=R.length,A,T,q,V;for(y=0;y<S;y+=1)if(w=R[y],"ks"in w&&!w.completed){if(w.completed=!0,w.hasMask){var O=w.masksProperties;for(T=O.length,A=0;A<T;A+=1)if(O[A].pt.k.i)b(O[A].pt.k);else for(V=O[A].pt.k.length,q=0;q<V;q+=1)O[A].pt.k[q].s&&b(O[A].pt.k[q].s[0]),O[A].pt.k[q].e&&b(O[A].pt.k[q].e[0])}w.ty===0?(w.layers=f(w.refId,E),x(w.layers,E)):w.ty===4?v(w.shapes):w.ty===5&&G(w)}}function c(R,E){if(R){var w=0,y=R.length;for(w=0;w<y;w+=1)R[w].t===1&&(R[w].data.layers=f(R[w].data.refId,E),x(R[w].data.layers,E))}}function m(R,E){for(var w=0,y=E.length;w<y;){if(E[w].id===R)return E[w];w+=1}return null}function f(R,E){var w=m(R,E);return w?w.layers.__used?JSON.parse(JSON.stringify(w.layers)):(w.layers.__used=!0,w.layers):null}function v(R){var E,w=R.length,y,S;for(E=w-1;E>=0;E-=1)if(R[E].ty==="sh")if(R[E].ks.k.i)b(R[E].ks.k);else for(S=R[E].ks.k.length,y=0;y<S;y+=1)R[E].ks.k[y].s&&b(R[E].ks.k[y].s[0]),R[E].ks.k[y].e&&b(R[E].ks.k[y].e[0]);else R[E].ty==="gr"&&v(R[E].it)}function b(R){var E,w=R.i.length;for(E=0;E<w;E+=1)R.i[E][0]+=R.v[E][0],R.i[E][1]+=R.v[E][1],R.o[E][0]+=R.v[E][0],R.o[E][1]+=R.v[E][1]}function C(R,E){var w=E?E.split("."):[100,100,100];return R[0]>w[0]?!0:w[0]>R[0]?!1:R[1]>w[1]?!0:w[1]>R[1]?!1:R[2]>w[2]?!0:w[2]>R[2]?!1:null}var M=(function(){var R=[4,4,14];function E(y){var S=y.t.d;y.t.d={k:[{s:S,t:0}]}}function w(y){var S,A=y.length;for(S=0;S<A;S+=1)y[S].ty===5&&E(y[S])}return function(y){if(C(R,y.v)&&(w(y.layers),y.assets)){var S,A=y.assets.length;for(S=0;S<A;S+=1)y.assets[S].layers&&w(y.assets[S].layers)}}})(),I=(function(){var R=[4,7,99];return function(E){if(E.chars&&!C(R,E.v)){var w,y=E.chars.length;for(w=0;w<y;w+=1){var S=E.chars[w];S.data&&S.data.shapes&&(v(S.data.shapes),S.data.ip=0,S.data.op=99999,S.data.st=0,S.data.sr=1,S.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[w].t||(S.data.shapes.push({ty:"no"}),S.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"})))}}}})(),k=(function(){var R=[5,7,15];function E(y){var S=y.t.p;typeof S.a=="number"&&(S.a={a:0,k:S.a}),typeof S.p=="number"&&(S.p={a:0,k:S.p}),typeof S.r=="number"&&(S.r={a:0,k:S.r})}function w(y){var S,A=y.length;for(S=0;S<A;S+=1)y[S].ty===5&&E(y[S])}return function(y){if(C(R,y.v)&&(w(y.layers),y.assets)){var S,A=y.assets.length;for(S=0;S<A;S+=1)y.assets[S].layers&&w(y.assets[S].layers)}}})(),j=(function(){var R=[4,1,9];function E(y){var S,A=y.length,T,q;for(S=0;S<A;S+=1)if(y[S].ty==="gr")E(y[S].it);else if(y[S].ty==="fl"||y[S].ty==="st")if(y[S].c.k&&y[S].c.k[0].i)for(q=y[S].c.k.length,T=0;T<q;T+=1)y[S].c.k[T].s&&(y[S].c.k[T].s[0]/=255,y[S].c.k[T].s[1]/=255,y[S].c.k[T].s[2]/=255,y[S].c.k[T].s[3]/=255),y[S].c.k[T].e&&(y[S].c.k[T].e[0]/=255,y[S].c.k[T].e[1]/=255,y[S].c.k[T].e[2]/=255,y[S].c.k[T].e[3]/=255);else y[S].c.k[0]/=255,y[S].c.k[1]/=255,y[S].c.k[2]/=255,y[S].c.k[3]/=255}function w(y){var S,A=y.length;for(S=0;S<A;S+=1)y[S].ty===4&&E(y[S].shapes)}return function(y){if(C(R,y.v)&&(w(y.layers),y.assets)){var S,A=y.assets.length;for(S=0;S<A;S+=1)y.assets[S].layers&&w(y.assets[S].layers)}}})(),D=(function(){var R=[4,4,18];function E(y){var S,A=y.length,T,q;for(S=A-1;S>=0;S-=1)if(y[S].ty==="sh")if(y[S].ks.k.i)y[S].ks.k.c=y[S].closed;else for(q=y[S].ks.k.length,T=0;T<q;T+=1)y[S].ks.k[T].s&&(y[S].ks.k[T].s[0].c=y[S].closed),y[S].ks.k[T].e&&(y[S].ks.k[T].e[0].c=y[S].closed);else y[S].ty==="gr"&&E(y[S].it)}function w(y){var S,A,T=y.length,q,V,O,$;for(A=0;A<T;A+=1){if(S=y[A],S.hasMask){var z=S.masksProperties;for(V=z.length,q=0;q<V;q+=1)if(z[q].pt.k.i)z[q].pt.k.c=z[q].cl;else for($=z[q].pt.k.length,O=0;O<$;O+=1)z[q].pt.k[O].s&&(z[q].pt.k[O].s[0].c=z[q].cl),z[q].pt.k[O].e&&(z[q].pt.k[O].e[0].c=z[q].cl)}S.ty===4&&E(S.shapes)}}return function(y){if(C(R,y.v)&&(w(y.layers),y.assets)){var S,A=y.assets.length;for(S=0;S<A;S+=1)y.assets[S].layers&&w(y.assets[S].layers)}}})();function F(R){R.__complete||(j(R),M(R),I(R),k(R),D(R),x(R.layers,R.assets),c(R.chars,R.assets),R.__complete=!0)}function G(R){R.t.a.length===0&&"m"in R.t.p}var L={};return L.completeData=F,L.checkColors=j,L.checkChars=I,L.checkPathProperties=k,L.checkShapes=D,L.completeLayers=x,L}if(n.dataManager||(n.dataManager=g()),n.assetLoader||(n.assetLoader=(function(){function x(m){var f=m.getResponseHeader("content-type");return f&&m.responseType==="json"&&f.indexOf("json")!==-1||m.response&&_typeof$5(m.response)==="object"?m.response:m.response&&typeof m.response=="string"?JSON.parse(m.response):m.responseText?JSON.parse(m.responseText):null}function c(m,f,v,b){var C,M=new XMLHttpRequest;try{M.responseType="json"}catch(I){}M.onreadystatechange=function(){if(M.readyState===4)if(M.status===200)C=x(M),v(C);else try{C=x(M),v(C)}catch(I){b&&b(I)}};try{M.open(["G","E","T"].join(""),m,!0)}catch(I){M.open(["G","E","T"].join(""),f+"/"+m,!0)}M.send()}return{load:c}})()),_.data.type==="loadAnimation")n.assetLoader.load(_.data.path,_.data.fullPath,function(x){n.dataManager.completeData(x),n.postMessage({id:_.data.id,payload:x,status:"success"})},function(){n.postMessage({id:_.data.id,status:"error"})});else if(_.data.type==="complete"){var p=_.data.animation;n.dataManager.completeData(p),n.postMessage({id:_.data.id,payload:p,status:"success"})}else _.data.type==="loadData"&&n.assetLoader.load(_.data.path,_.data.fullPath,function(x){n.postMessage({id:_.data.id,payload:x,status:"success"})},function(){n.postMessage({id:_.data.id,status:"error"})})}),i.onmessage=function(u){var _=u.data,g=_.id,p=t[g];t[g]=null,_.status==="success"?p.onComplete(_.payload):p.onError&&p.onError()})}function o(u,_){e+=1;var g="processId_"+e;return t[g]={onComplete:u,onError:_},g}function l(u,_,g){h();var p=o(_,g);i.postMessage({type:"loadAnimation",path:u,fullPath:window.location.origin+window.location.pathname,id:p})}function d(u,_,g){h();var p=o(_,g);i.postMessage({type:"loadData",path:u,fullPath:window.location.origin+window.location.pathname,id:p})}function P(u,_,g){h();var p=o(_,g);i.postMessage({type:"complete",animation:u,id:p})}return{loadAnimation:l,loadData:d,completeAnimation:P}})(),ImagePreloader=(function(){var e=(function(){var c=createTag("canvas");c.width=1,c.height=1;var m=c.getContext("2d");return m.fillStyle="rgba(0,0,0,0)",m.fillRect(0,0,1,1),c})();function t(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function i(c,m,f){var v="";if(c.e)v=c.p;else if(m){var b=c.p;b.indexOf("images/")!==-1&&(b=b.split("/")[1]),v=m+b}else v=f,v+=c.u?c.u:"",v+=c.p;return v}function s(c){var m=0,f=setInterval(function(){var v=c.getBBox();(v.width||m>500)&&(this._imageLoaded(),clearInterval(f)),m+=1}.bind(this),50)}function n(c){var m=i(c,this.assetsPath,this.path),f=createNS("image");isSafari?this.testImageLoaded(f):f.addEventListener("load",this._imageLoaded,!1),f.addEventListener("error",function(){v.img=e,this._imageLoaded()}.bind(this),!1),f.setAttributeNS("http://www.w3.org/1999/xlink","href",m),this._elementHelper.append?this._elementHelper.append(f):this._elementHelper.appendChild(f);var v={img:f,assetData:c};return v}function a(c){var m=i(c,this.assetsPath,this.path),f=createTag("img");f.crossOrigin="anonymous",f.addEventListener("load",this._imageLoaded,!1),f.addEventListener("error",function(){v.img=e,this._imageLoaded()}.bind(this),!1),f.src=m;var v={img:f,assetData:c};return v}function h(c){var m={assetData:c},f=i(c,this.assetsPath,this.path);return dataManager.loadData(f,function(v){m.img=v,this._footageLoaded()}.bind(this),function(){m.img={},this._footageLoaded()}.bind(this)),m}function o(c,m){this.imagesLoadedCb=m;var f,v=c.length;for(f=0;f<v;f+=1)c[f].layers||(!c[f].t||c[f].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(c[f]))):c[f].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(c[f]))))}function l(c){this.path=c||""}function d(c){this.assetsPath=c||""}function P(c){for(var m=0,f=this.images.length;m<f;){if(this.images[m].assetData===c)return this.images[m].img;m+=1}return null}function u(){this.imagesLoadedCb=null,this.images.length=0}function _(){return this.totalImages===this.loadedAssets}function g(){return this.totalFootages===this.loadedFootagesCount}function p(c,m){c==="svg"?(this._elementHelper=m,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function x(){this._imageLoaded=t.bind(this),this._footageLoaded=r.bind(this),this.testImageLoaded=s.bind(this),this.createFootageData=h.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return x.prototype={loadAssets:o,setAssetsPath:d,setPath:l,loadedImages:_,loadedFootages:g,destroy:u,getAsset:P,createImgData:a,createImageData:n,imageLoaded:t,footageLoaded:r,setCacheType:p},x})();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,r){if(this._cbs[t])for(var i=this._cbs[t],s=0;s<i.length;s+=1)i[s](r)},addEventListener:function(t,r){return this._cbs[t]||(this._cbs[t]=[]),this._cbs[t].push(r),function(){this.removeEventListener(t,r)}.bind(this)},removeEventListener:function(t,r){if(!r)this._cbs[t]=null;else if(this._cbs[t]){for(var i=0,s=this._cbs[t].length;i<s;)this._cbs[t][i]===r&&(this._cbs[t].splice(i,1),i-=1,s-=1),i+=1;this._cbs[t].length||(this._cbs[t]=null)}}};var markerParser=(function(){function e(t){for(var r=t.split(`\r
21
+ `),i={},s,n=0,a=0;a<r.length;a+=1)s=r[a].split(":"),s.length===2&&(i[s[0]]=s[1].trim(),n+=1);if(n===0)throw new Error;return i}return function(t){for(var r=[],i=0;i<t.length;i+=1){var s=t[i],n={time:s.tm,duration:s.dr};try{n.payload=JSON.parse(t[i].cm)}catch(a){try{n.payload=e(t[i].cm)}catch(h){n.payload={name:t[i].cm}}}r.push(n)}return r}})(),ProjectInterface=(function(){function e(t){this.compositions.push(t)}return function(){function t(r){for(var i=0,s=this.compositions.length;i<s;){if(this.compositions[i].data&&this.compositions[i].data.nm===r)return this.compositions[i].prepareFrame&&this.compositions[i].data.xt&&this.compositions[i].prepareFrame(this.currentFrame),this.compositions[i].compInterface;i+=1}return null}return t.compositions=[],t.currentFrame=0,t.registerComposition=e,t}})(),renderers={},registerRenderer=function(t,r){renderers[t]=r};function getRenderer(e){return renderers[e]}function getRegisteredRenderer(){if(renderers.canvas)return"canvas";for(var e in renderers)if(renderers[e])return e;return""}function _typeof$4(e){"@babel/helpers - typeof";return _typeof$4=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$4(e)}var AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0),this.expressionsPlugin=getExpressionsPlugin()};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(e){(e.wrapper||e.container)&&(this.wrapper=e.wrapper||e.container);var t="svg";e.animType?t=e.animType:e.renderer&&(t=e.renderer);var r=getRenderer(t);this.renderer=new r(this,e.rendererSettings),this.imagePreloader.setCacheType(t,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=t,e.loop===""||e.loop===null||e.loop===void 0||e.loop===!0?this.loop=!0:e.loop===!1?this.loop=!1:this.loop=parseInt(e.loop,10),this.autoplay="autoplay"in e?e.autoplay:!0,this.name=e.name?e.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(e,"autoloadSegments")?e.autoloadSegments:!0,this.assetsPath=e.assetsPath,this.initialSegment=e.initialSegment,e.audioFactory&&this.audioController.setAudioFactory(e.audioFactory),e.animationData?this.setupAnimation(e.animationData):e.path&&(e.path.lastIndexOf("\\")!==-1?this.path=e.path.substr(0,e.path.lastIndexOf("\\")+1):this.path=e.path.substr(0,e.path.lastIndexOf("/")+1),this.fileName=e.path.substr(e.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(e.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(e){dataManager.completeAnimation(e,this.configAnimation)},AnimationItem.prototype.setData=function(e,t){t&&_typeof$4(t)!=="object"&&(t=JSON.parse(t));var r={wrapper:e,animationData:t},i=e.attributes;r.path=i.getNamedItem("data-animation-path")?i.getNamedItem("data-animation-path").value:i.getNamedItem("data-bm-path")?i.getNamedItem("data-bm-path").value:i.getNamedItem("bm-path")?i.getNamedItem("bm-path").value:"",r.animType=i.getNamedItem("data-anim-type")?i.getNamedItem("data-anim-type").value:i.getNamedItem("data-bm-type")?i.getNamedItem("data-bm-type").value:i.getNamedItem("bm-type")?i.getNamedItem("bm-type").value:i.getNamedItem("data-bm-renderer")?i.getNamedItem("data-bm-renderer").value:i.getNamedItem("bm-renderer")?i.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var s=i.getNamedItem("data-anim-loop")?i.getNamedItem("data-anim-loop").value:i.getNamedItem("data-bm-loop")?i.getNamedItem("data-bm-loop").value:i.getNamedItem("bm-loop")?i.getNamedItem("bm-loop").value:"";s==="false"?r.loop=!1:s==="true"?r.loop=!0:s!==""&&(r.loop=parseInt(s,10));var n=i.getNamedItem("data-anim-autoplay")?i.getNamedItem("data-anim-autoplay").value:i.getNamedItem("data-bm-autoplay")?i.getNamedItem("data-bm-autoplay").value:i.getNamedItem("bm-autoplay")?i.getNamedItem("bm-autoplay").value:!0;r.autoplay=n!=="false",r.name=i.getNamedItem("data-name")?i.getNamedItem("data-name").value:i.getNamedItem("data-bm-name")?i.getNamedItem("data-bm-name").value:i.getNamedItem("bm-name")?i.getNamedItem("bm-name").value:"";var a=i.getNamedItem("data-anim-prerender")?i.getNamedItem("data-anim-prerender").value:i.getNamedItem("data-bm-prerender")?i.getNamedItem("data-bm-prerender").value:i.getNamedItem("bm-prerender")?i.getNamedItem("bm-prerender").value:"";a==="false"&&(r.prerender=!1),r.path?this.setParams(r):this.trigger("destroy")},AnimationItem.prototype.includeLayers=function(e){e.op>this.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var t=this.animationData.layers,r,i=t.length,s=e.layers,n,a=s.length;for(n=0;n<a;n+=1)for(r=0;r<i;){if(t[r].id===s[n].id){t[r]=s[n];break}r+=1}if((e.chars||e.fonts)&&(this.renderer.globalData.fontManager.addChars(e.chars),this.renderer.globalData.fontManager.addFonts(e.fonts,this.renderer.globalData.defs)),e.assets)for(i=e.assets.length,r=0;r<i;r+=1)this.animationData.assets.push(e.assets[r]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(e){this.animationData=e;var t=getExpressionsPlugin();t&&t.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var e=this.animationData.segments;if(!e||e.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var t=e.shift();this.timeCompleted=t.time*this.frameRate;var r=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(r,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){var e=this.animationData.segments;e||(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(e){if(this.renderer)try{this.animationData=e,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(e),e.assets||(e.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(e.assets),this.markers=markerParser(e.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()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var e=getExpressionsPlugin();e&&e.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(e,t){var r=typeof e=="number"?e:void 0,i=typeof t=="number"?t:void 0;this.renderer.updateContainerSize(r,i)},AnimationItem.prototype.setSubframe=function(e){this.isSubframeEnabled=!!e},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(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(e){this.triggerRenderFrameError(e)}},AnimationItem.prototype.play=function(e){e&&this.name!==e||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(e){e&&this.name!==e||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(e){e&&this.name!==e||(this.isPaused===!0?this.play():this.pause())},AnimationItem.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(e){for(var t,r=0;r<this.markers.length;r+=1)if(t=this.markers[r],t.payload&&t.payload.name===e)return t;return null},AnimationItem.prototype.goToAndStop=function(e,t,r){if(!(r&&this.name!==r)){var i=Number(e);if(isNaN(i)){var s=this.getMarkerData(e);s&&this.goToAndStop(s.time,!0)}else t?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(e,t,r){if(!(r&&this.name!==r)){var i=Number(e);if(isNaN(i)){var s=this.getMarkerData(e);s&&(s.duration?this.playSegments([s.time,s.time+s.duration],!0):this.goToAndStop(s.time,!0))}else this.goToAndStop(i,t,r);this.play()}},AnimationItem.prototype.advanceTime=function(e){if(!(this.isPaused===!0||this.isLoaded===!1)){var t=this.currentRawFrame+e*this.frameModifier,r=!1;t>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(t>this.totalFrames?t%this.totalFrames:0)||(r=!0,t=this.totalFrames-1):t>=this.totalFrames?(this.playCount+=1,this.checkSegments(t%this.totalFrames)||(this.setCurrentRawFrameValue(t%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(t):t<0?this.checkSegments(t%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(r=!0,t=0)):this.setCurrentRawFrameValue(t),r&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(e,t){this.playCount=0,e[1]<e[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=e[0]-e[1],this.timeCompleted=this.totalFrames,this.firstFrame=e[1],this.setCurrentRawFrameValue(this.totalFrames-.001-t)):e[1]>e[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=e[1]-e[0],this.timeCompleted=this.totalFrames,this.firstFrame=e[0],this.setCurrentRawFrameValue(.001+t)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(e,t){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?r=e:this.currentRawFrame+this.firstFrame>t&&(r=t-e)),this.firstFrame=e,this.totalFrames=t-e,this.timeCompleted=this.totalFrames,r!==-1&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(e,t){if(t&&(this.segments.length=0),_typeof$4(e[0])==="object"){var r,i=e.length;for(r=0;r<i;r+=1)this.segments.push(e[r])}else this.segments.push(e);this.segments.length&&t&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(e){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),e&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(e){return this.segments.length?(this.adjustSegment(this.segments.shift(),e),!0):!1},AnimationItem.prototype.destroy=function(e){e&&this.name!==e||!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(e){this.currentRawFrame=e,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(e){this.playSpeed=e,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(e){this.playDirection=e<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setLoop=function(e){this.loop=e},AnimationItem.prototype.setVolume=function(e,t){t&&this.name!==t||this.audioController.setVolume(e)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(e){e&&this.name!==e||this.audioController.mute()},AnimationItem.prototype.unmute=function(e){e&&this.name!==e||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(e){var t="";if(e.e)t=e.p;else if(this.assetsPath){var r=e.p;r.indexOf("images/")!==-1&&(r=r.split("/")[1]),t=this.assetsPath+r}else t=this.path,t+=e.u?e.u:"",t+=e.p;return t},AnimationItem.prototype.getAssetData=function(e){for(var t=0,r=this.assets.length;t<r;){if(e===this.assets[t].id)return this.assets[t];t+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(e){return e?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(e,t,r){try{var i=this.renderer.getElementByPath(e);i.updateDocumentData(t,r)}catch(s){}},AnimationItem.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":this.triggerEvent(e,new BMEnterFrameEvent(e,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(e,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(e,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new BMCompleteEvent(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new BMDestroyEvent(e,this));break;default:this.triggerEvent(e)}e==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameMult)),e==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult)),e==="complete"&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(e,this.frameMult)),e==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames)),e==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(e,this))},AnimationItem.prototype.triggerRenderFrameError=function(e){var t=new BMRenderFrameErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)},AnimationItem.prototype.triggerConfigError=function(e){var t=new BMConfigErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)};var animationManager=(function(){var e={},t=[],r=0,i=0,s=0,n=!0,a=!1;function h(E){for(var w=0,y=E.target;w<i;)t[w].animation===y&&(t.splice(w,1),w-=1,i-=1,y.isPaused||P()),w+=1}function o(E,w){if(!E)return null;for(var y=0;y<i;){if(t[y].elem===E&&t[y].elem!==null)return t[y].animation;y+=1}var S=new AnimationItem;return u(S,E),S.setData(E,w),S}function l(){var E,w=t.length,y=[];for(E=0;E<w;E+=1)y.push(t[E].animation);return y}function d(){s+=1,j()}function P(){s-=1}function u(E,w){E.addEventListener("destroy",h),E.addEventListener("_active",d),E.addEventListener("_idle",P),t.push({elem:w,animation:E}),i+=1}function _(E){var w=new AnimationItem;return u(w,null),w.setParams(E),w}function g(E,w){var y;for(y=0;y<i;y+=1)t[y].animation.setSpeed(E,w)}function p(E,w){var y;for(y=0;y<i;y+=1)t[y].animation.setDirection(E,w)}function x(E){var w;for(w=0;w<i;w+=1)t[w].animation.play(E)}function c(E){var w=E-r,y;for(y=0;y<i;y+=1)t[y].animation.advanceTime(w);r=E,s&&!a?window.requestAnimationFrame(c):n=!0}function m(E){r=E,window.requestAnimationFrame(c)}function f(E){var w;for(w=0;w<i;w+=1)t[w].animation.pause(E)}function v(E,w,y){var S;for(S=0;S<i;S+=1)t[S].animation.goToAndStop(E,w,y)}function b(E){var w;for(w=0;w<i;w+=1)t[w].animation.stop(E)}function C(E){var w;for(w=0;w<i;w+=1)t[w].animation.togglePause(E)}function M(E){var w;for(w=i-1;w>=0;w-=1)t[w].animation.destroy(E)}function I(E,w,y){var S=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),A,T=S.length;for(A=0;A<T;A+=1)y&&S[A].setAttribute("data-bm-type",y),o(S[A],E);if(w&&T===0){y||(y="svg");var q=document.getElementsByTagName("body")[0];q.innerText="";var V=createTag("div");V.style.width="100%",V.style.height="100%",V.setAttribute("data-bm-type",y),q.appendChild(V),o(V,E)}}function k(){var E;for(E=0;E<i;E+=1)t[E].animation.resize()}function j(){!a&&s&&n&&(window.requestAnimationFrame(m),n=!1)}function D(){a=!0}function F(){a=!1,j()}function G(E,w){var y;for(y=0;y<i;y+=1)t[y].animation.setVolume(E,w)}function L(E){var w;for(w=0;w<i;w+=1)t[w].animation.mute(E)}function R(E){var w;for(w=0;w<i;w+=1)t[w].animation.unmute(E)}return e.registerAnimation=o,e.loadAnimation=_,e.setSpeed=g,e.setDirection=p,e.play=x,e.pause=f,e.stop=b,e.togglePause=C,e.searchAnimations=I,e.resize=k,e.goToAndStop=v,e.destroy=M,e.freeze=D,e.unfreeze=F,e.setVolume=G,e.mute=L,e.unmute=R,e.getRegisteredAnimations=l,e})(),BezierFactory=(function(){var e={};e.getBezierEasing=r;var t={};function r(m,f,v,b,C){var M=C||("bez_"+m+"_"+f+"_"+v+"_"+b).replace(/\./g,"p");if(t[M])return t[M];var I=new c([m,f,v,b]);return t[M]=I,I}var i=4,s=.001,n=1e-7,a=10,h=11,o=1/(h-1),l=typeof Float32Array=="function";function d(m,f){return 1-3*f+3*m}function P(m,f){return 3*f-6*m}function u(m){return 3*m}function _(m,f,v){return((d(f,v)*m+P(f,v))*m+u(f))*m}function g(m,f,v){return 3*d(f,v)*m*m+2*P(f,v)*m+u(f)}function p(m,f,v,b,C){var M,I,k=0;do I=f+(v-f)/2,M=_(I,b,C)-m,M>0?v=I:f=I;while(Math.abs(M)>n&&++k<a);return I}function x(m,f,v,b){for(var C=0;C<i;++C){var M=g(f,v,b);if(M===0)return f;var I=_(f,v,b)-m;f-=I/M}return f}function c(m){this._p=m,this._mSampleValues=l?new Float32Array(h):new Array(h),this._precomputed=!1,this.get=this.get.bind(this)}return c.prototype={get:function(f){var v=this._p[0],b=this._p[1],C=this._p[2],M=this._p[3];return this._precomputed||this._precompute(),v===b&&C===M?f:f===0?0:f===1?1:_(this._getTForX(f),b,M)},_precompute:function(){var f=this._p[0],v=this._p[1],b=this._p[2],C=this._p[3];this._precomputed=!0,(f!==v||b!==C)&&this._calcSampleValues()},_calcSampleValues:function(){for(var f=this._p[0],v=this._p[2],b=0;b<h;++b)this._mSampleValues[b]=_(b*o,f,v)},_getTForX:function(f){for(var v=this._p[0],b=this._p[2],C=this._mSampleValues,M=0,I=1,k=h-1;I!==k&&C[I]<=f;++I)M+=o;--I;var j=(f-C[I])/(C[I+1]-C[I]),D=M+j*o,F=g(D,v,b);return F>=s?x(f,D,v,b):F===0?D:p(f,M,M+o,v,b)}},e})(),pooling=(function(){function e(t){return t.concat(createSizedArray(t.length))}return{double:e}})(),poolFactory=(function(){return function(e,t,r){var i=0,s=e,n=createSizedArray(s),a={newElement:h,release:o};function h(){var l;return i?(i-=1,l=n[i]):l=t(),l}function o(l){i===s&&(n=pooling.double(n),s*=2),r&&r(l),n[i]=l,i+=1}return a}})(),bezierLengthPool=(function(){function e(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}}return poolFactory(8,e)})(),segmentsLengthPool=(function(){function e(){return{lengths:[],totalLength:0}}function t(r){var i,s=r.lengths.length;for(i=0;i<s;i+=1)bezierLengthPool.release(r.lengths[i]);r.lengths.length=0}return poolFactory(8,e,t)})();function bezFunction(){var e=Math;function t(u,_,g,p,x,c){var m=u*p+_*x+g*c-x*p-c*u-g*_;return m>-.001&&m<.001}function r(u,_,g,p,x,c,m,f,v){if(g===0&&c===0&&v===0)return t(u,_,p,x,m,f);var b=e.sqrt(e.pow(p-u,2)+e.pow(x-_,2)+e.pow(c-g,2)),C=e.sqrt(e.pow(m-u,2)+e.pow(f-_,2)+e.pow(v-g,2)),M=e.sqrt(e.pow(m-p,2)+e.pow(f-x,2)+e.pow(v-c,2)),I;return b>C?b>M?I=b-C-M:I=M-C-b:M>C?I=M-C-b:I=C-b-M,I>-1e-4&&I<1e-4}var i=(function(){return function(u,_,g,p){var x=getDefaultCurveSegments(),c,m,f,v,b,C=0,M,I=[],k=[],j=bezierLengthPool.newElement();for(f=g.length,c=0;c<x;c+=1){for(b=c/(x-1),M=0,m=0;m<f;m+=1)v=bmPow(1-b,3)*u[m]+3*bmPow(1-b,2)*b*g[m]+3*(1-b)*bmPow(b,2)*p[m]+bmPow(b,3)*_[m],I[m]=v,k[m]!==null&&(M+=bmPow(I[m]-k[m],2)),k[m]=I[m];M&&(M=bmSqrt(M),C+=M),j.percents[c]=b,j.lengths[c]=C}return j.addedLength=C,j}})();function s(u){var _=segmentsLengthPool.newElement(),g=u.c,p=u.v,x=u.o,c=u.i,m,f=u._length,v=_.lengths,b=0;for(m=0;m<f-1;m+=1)v[m]=i(p[m],p[m+1],x[m],c[m+1]),b+=v[m].addedLength;return g&&f&&(v[m]=i(p[m],p[0],x[m],c[0]),b+=v[m].addedLength),_.totalLength=b,_}function n(u){this.segmentLength=0,this.points=new Array(u)}function a(u,_){this.partialLength=u,this.point=_}var h=(function(){var u={};return function(_,g,p,x){var c=(_[0]+"_"+_[1]+"_"+g[0]+"_"+g[1]+"_"+p[0]+"_"+p[1]+"_"+x[0]+"_"+x[1]).replace(/\./g,"p");if(!u[c]){var m=getDefaultCurveSegments(),f,v,b,C,M,I=0,k,j,D=null;_.length===2&&(_[0]!==g[0]||_[1]!==g[1])&&t(_[0],_[1],g[0],g[1],_[0]+p[0],_[1]+p[1])&&t(_[0],_[1],g[0],g[1],g[0]+x[0],g[1]+x[1])&&(m=2);var F=new n(m);for(b=p.length,f=0;f<m;f+=1){for(j=createSizedArray(b),M=f/(m-1),k=0,v=0;v<b;v+=1)C=bmPow(1-M,3)*_[v]+3*bmPow(1-M,2)*M*(_[v]+p[v])+3*(1-M)*bmPow(M,2)*(g[v]+x[v])+bmPow(M,3)*g[v],j[v]=C,D!==null&&(k+=bmPow(j[v]-D[v],2));k=bmSqrt(k),I+=k,F.points[f]=new a(k,j),D=j}F.segmentLength=I,u[c]=F}return u[c]}})();function o(u,_){var g=_.percents,p=_.lengths,x=g.length,c=bmFloor((x-1)*u),m=u*_.addedLength,f=0;if(c===x-1||c===0||m===p[c])return g[c];for(var v=p[c]>m?-1:1,b=!0;b;)if(p[c]<=m&&p[c+1]>m?(f=(m-p[c])/(p[c+1]-p[c]),b=!1):c+=v,c<0||c>=x-1){if(c===x-1)return g[c];b=!1}return g[c]+(g[c+1]-g[c])*f}function l(u,_,g,p,x,c){var m=o(x,c),f=1-m,v=e.round((f*f*f*u[0]+(m*f*f+f*m*f+f*f*m)*g[0]+(m*m*f+f*m*m+m*f*m)*p[0]+m*m*m*_[0])*1e3)/1e3,b=e.round((f*f*f*u[1]+(m*f*f+f*m*f+f*f*m)*g[1]+(m*m*f+f*m*m+m*f*m)*p[1]+m*m*m*_[1])*1e3)/1e3;return[v,b]}var d=createTypedArray("float32",8);function P(u,_,g,p,x,c,m){x<0?x=0:x>1&&(x=1);var f=o(x,m);c=c>1?1:c;var v=o(c,m),b,C=u.length,M=1-f,I=1-v,k=M*M*M,j=f*M*M*3,D=f*f*M*3,F=f*f*f,G=M*M*I,L=f*M*I+M*f*I+M*M*v,R=f*f*I+M*f*v+f*M*v,E=f*f*v,w=M*I*I,y=f*I*I+M*v*I+M*I*v,S=f*v*I+M*v*v+f*I*v,A=f*v*v,T=I*I*I,q=v*I*I+I*v*I+I*I*v,V=v*v*I+I*v*v+v*I*v,O=v*v*v;for(b=0;b<C;b+=1)d[b*4]=e.round((k*u[b]+j*g[b]+D*p[b]+F*_[b])*1e3)/1e3,d[b*4+1]=e.round((G*u[b]+L*g[b]+R*p[b]+E*_[b])*1e3)/1e3,d[b*4+2]=e.round((w*u[b]+y*g[b]+S*p[b]+A*_[b])*1e3)/1e3,d[b*4+3]=e.round((T*u[b]+q*g[b]+V*p[b]+O*_[b])*1e3)/1e3;return d}return{getSegmentsLength:s,getNewSegment:P,getPointInSegment:l,buildBezierData:h,pointOnLine2D:t,pointOnLine3D:r}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(e,t){var r=this.offsetTime,i;this.propType==="multidimensional"&&(i=createTypedArray("float32",this.pv.length));for(var s=t.lastIndex,n=s,a=this.keyframes.length-1,h=!0,o,l,d;h;){if(o=this.keyframes[n],l=this.keyframes[n+1],n===a-1&&e>=l.t-r){o.h&&(o=l),s=0;break}if(l.t-r>e){s=n;break}n<a-1?n+=1:(s=0,h=!1)}d=this.keyframesMetadata[n]||{};var P,u,_,g,p,x,c=l.t-r,m=o.t-r,f;if(o.to){d.bezierData||(d.bezierData=bez.buildBezierData(o.s,l.s||o.e,o.to,o.ti));var v=d.bezierData;if(e>=c||e<m){var b=e>=c?v.points.length-1:0;for(u=v.points[b].point.length,P=0;P<u;P+=1)i[P]=v.points[b].point[P]}else{d.__fnct?x=d.__fnct:(x=BezierFactory.getBezierEasing(o.o.x,o.o.y,o.i.x,o.i.y,o.n).get,d.__fnct=x),_=x((e-m)/(c-m));var C=v.segmentLength*_,M,I=t.lastFrame<e&&t._lastKeyframeIndex===n?t._lastAddedLength:0;for(p=t.lastFrame<e&&t._lastKeyframeIndex===n?t._lastPoint:0,h=!0,g=v.points.length;h;){if(I+=v.points[p].partialLength,C===0||_===0||p===v.points.length-1){for(u=v.points[p].point.length,P=0;P<u;P+=1)i[P]=v.points[p].point[P];break}else if(C>=I&&C<I+v.points[p+1].partialLength){for(M=(C-I)/v.points[p+1].partialLength,u=v.points[p].point.length,P=0;P<u;P+=1)i[P]=v.points[p].point[P]+(v.points[p+1].point[P]-v.points[p].point[P])*M;break}p<g-1?p+=1:h=!1}t._lastPoint=p,t._lastAddedLength=I-v.points[p].partialLength,t._lastKeyframeIndex=n}}else{var k,j,D,F,G;if(a=o.s.length,f=l.s||o.e,this.sh&&o.h!==1)if(e>=c)i[0]=f[0],i[1]=f[1],i[2]=f[2];else if(e<=m)i[0]=o.s[0],i[1]=o.s[1],i[2]=o.s[2];else{var L=createQuaternion(o.s),R=createQuaternion(f),E=(e-m)/(c-m);quaternionToEuler(i,slerp(L,R,E))}else for(n=0;n<a;n+=1)o.h!==1&&(e>=c?_=1:e<m?_=0:(o.o.x.constructor===Array?(d.__fnct||(d.__fnct=[]),d.__fnct[n]?x=d.__fnct[n]:(k=o.o.x[n]===void 0?o.o.x[0]:o.o.x[n],j=o.o.y[n]===void 0?o.o.y[0]:o.o.y[n],D=o.i.x[n]===void 0?o.i.x[0]:o.i.x[n],F=o.i.y[n]===void 0?o.i.y[0]:o.i.y[n],x=BezierFactory.getBezierEasing(k,j,D,F).get,d.__fnct[n]=x)):d.__fnct?x=d.__fnct:(k=o.o.x,j=o.o.y,D=o.i.x,F=o.i.y,x=BezierFactory.getBezierEasing(k,j,D,F).get,o.keyframeMetadata=x),_=x((e-m)/(c-m)))),f=l.s||o.e,G=o.h===1?o.s[n]:o.s[n]+(f[n]-o.s[n])*_,this.propType==="multidimensional"?i[n]=G:i=G}return t.lastIndex=s,i}function slerp(e,t,r){var i=[],s=e[0],n=e[1],a=e[2],h=e[3],o=t[0],l=t[1],d=t[2],P=t[3],u,_,g,p,x;return _=s*o+n*l+a*d+h*P,_<0&&(_=-_,o=-o,l=-l,d=-d,P=-P),1-_>1e-6?(u=Math.acos(_),g=Math.sin(u),p=Math.sin((1-r)*u)/g,x=Math.sin(r*u)/g):(p=1-r,x=r),i[0]=p*s+x*o,i[1]=p*n+x*l,i[2]=p*a+x*d,i[3]=p*h+x*P,i}function quaternionToEuler(e,t){var r=t[0],i=t[1],s=t[2],n=t[3],a=Math.atan2(2*i*n-2*r*s,1-2*i*i-2*s*s),h=Math.asin(2*r*i+2*s*n),o=Math.atan2(2*r*n-2*i*s,1-2*r*r-2*s*s);e[0]=a/degToRads,e[1]=h/degToRads,e[2]=o/degToRads}function createQuaternion(e){var t=e[0]*degToRads,r=e[1]*degToRads,i=e[2]*degToRads,s=Math.cos(t/2),n=Math.cos(r/2),a=Math.cos(i/2),h=Math.sin(t/2),o=Math.sin(r/2),l=Math.sin(i/2),d=s*n*a-h*o*l,P=h*o*a+s*n*l,u=h*n*a+s*o*l,_=s*o*a-h*n*l;return[P,u,_,d]}function getValueAtCurrentTime(){var e=this.comp.renderedFrame-this.offsetTime,t=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=r&&e>=r||this._caching.lastFrame<t&&e<t))){this._caching.lastFrame>=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var i=this.interpolateValue(e,this._caching);this.pv=i}return this._caching.lastFrame=e,this.pv}function setVValue(e){var t;if(this.propType==="unidimensional")t=e*this.mult,mathAbs(this.v-t)>1e-5&&(this.v=t,this._mdf=!0);else for(var r=0,i=this.v.length;r<i;)t=e[r]*this.mult,mathAbs(this.v[r]-t)>1e-5&&(this.v[r]=t,this._mdf=!0),r+=1}function processEffectsSequence(){if(!(this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)){if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=this._isFirstFrame;var e,t=this.effectsSequence.length,r=this.kf?this.pv:this.data.k;for(e=0;e<t;e+=1)r=this.effectsSequence[e](r);this.setVValue(r),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function addEffect(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function ValueProperty(e,t,r,i){this.propType="unidimensional",this.mult=r||1,this.data=t,this.v=r?t.k*r:t.k,this.pv=t.k,this._mdf=!1,this.elem=e,this.container=i,this.comp=e.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(e,t,r,i){this.propType="multidimensional",this.mult=r||1,this.data=t,this._mdf=!1,this.elem=e,this.container=i,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var s,n=t.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]=t.k[s]*this.mult,this.pv[s]=t.k[s];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(e,t,r,i){this.propType="unidimensional",this.keyframes=t.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:initFrame,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=t,this.mult=r||1,this.elem=e,this.container=i,this.comp=e.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(e,t,r,i){this.propType="multidimensional";var s,n=t.k.length,a,h,o,l;for(s=0;s<n-1;s+=1)t.k[s].to&&t.k[s].s&&t.k[s+1]&&t.k[s+1].s&&(a=t.k[s].s,h=t.k[s+1].s,o=t.k[s].to,l=t.k[s].ti,(a.length===2&&!(a[0]===h[0]&&a[1]===h[1])&&bez.pointOnLine2D(a[0],a[1],h[0],h[1],a[0]+o[0],a[1]+o[1])&&bez.pointOnLine2D(a[0],a[1],h[0],h[1],h[0]+l[0],h[1]+l[1])||a.length===3&&!(a[0]===h[0]&&a[1]===h[1]&&a[2]===h[2])&&bez.pointOnLine3D(a[0],a[1],a[2],h[0],h[1],h[2],a[0]+o[0],a[1]+o[1],a[2]+o[2])&&bez.pointOnLine3D(a[0],a[1],a[2],h[0],h[1],h[2],h[0]+l[0],h[1]+l[1],h[2]+l[2]))&&(t.k[s].to=null,t.k[s].ti=null),a[0]===h[0]&&a[1]===h[1]&&o[0]===0&&o[1]===0&&l[0]===0&&l[1]===0&&(a.length===2||a[2]===h[2]&&o[2]===0&&l[2]===0)&&(t.k[s].to=null,t.k[s].ti=null));this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.data=t,this.keyframes=t.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=r||1,this.elem=e,this.container=i,this.comp=e.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var d=t.k[0].s.length;for(this.v=createTypedArray("float32",d),this.pv=createTypedArray("float32",d),s=0;s<d;s+=1)this.v[s]=initFrame,this.pv[s]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",d)},this.addEffect=addEffect}var PropertyFactory=(function(){function e(r,i,s,n,a){i.sid&&(i=r.globalData.slotManager.getProp(i));var h;if(!i.k.length)h=new ValueProperty(r,i,n,a);else if(typeof i.k[0]=="number")h=new MultiDimensionalProperty(r,i,n,a);else switch(s){case 0:h=new KeyframedValueProperty(r,i,n,a);break;case 1:h=new KeyframedMultidimensionalProperty(r,i,n,a);break}return h.effectsSequence.length&&a.addDynamicProperty(h),h}var t={getProp:e};return t})();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(t){this.dynamicProperties.indexOf(t)===-1&&(this.dynamicProperties.push(t),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var t,r=this.dynamicProperties.length;for(t=0;t<r;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 e(){return createTypedArray("float32",2)}return poolFactory(8,e)})();function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(e,t){this.c=e,this.setLength(t);for(var r=0;r<t;)this.v[r]=pointPool.newElement(),this.o[r]=pointPool.newElement(),this.i[r]=pointPool.newElement(),r+=1},ShapePath.prototype.setLength=function(e){for(;this._maxLength<e;)this.doubleArrayLength();this._length=e},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(e,t,r,i,s){var n;switch(this._length=Math.max(this._length,i+1),this._length>=this._maxLength&&this.doubleArrayLength(),r){case"v":n=this.v;break;case"i":n=this.i;break;case"o":n=this.o;break;default:n=[];break}(!n[i]||n[i]&&!s)&&(n[i]=pointPool.newElement()),n[i][0]=e,n[i][1]=t},ShapePath.prototype.setTripleAt=function(e,t,r,i,s,n,a,h){this.setXYAt(e,t,"v",a,h),this.setXYAt(r,i,"o",a,h),this.setXYAt(s,n,"i",a,h)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,r=this.o,i=this.i,s=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],i[0][0],i[0][1],r[0][0],r[0][1],0,!1),s=1);var n=this._length-1,a=this._length,h;for(h=s;h<a;h+=1)e.setTripleAt(t[n][0],t[n][1],i[n][0],i[n][1],r[n][0],r[n][1],h,!1),n-=1;return e},ShapePath.prototype.length=function(){return this._length};var shapePool=(function(){function e(){return new ShapePath}function t(s){var n=s._length,a;for(a=0;a<n;a+=1)pointPool.release(s.v[a]),pointPool.release(s.i[a]),pointPool.release(s.o[a]),s.v[a]=null,s.i[a]=null,s.o[a]=null;s._length=0,s.c=!1}function r(s){var n=i.newElement(),a,h=s._length===void 0?s.v.length:s._length;for(n.setLength(h),n.c=s.c,a=0;a<h;a+=1)n.setTripleAt(s.v[a][0],s.v[a][1],s.o[a][0],s.o[a][1],s.i[a][0],s.i[a][1],a);return n}var i=poolFactory(4,e,t);return i.clone=r,i})();function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)shapePool.release(this.shapes[e]);this._length=0};var shapeCollectionPool=(function(){var e={newShapeCollection:s,release:n},t=0,r=4,i=createSizedArray(r);function s(){var a;return t?(t-=1,a=i[t]):a=new ShapeCollection,a}function n(a){var h,o=a._length;for(h=0;h<o;h+=1)shapePool.release(a.shapes[h]);a._length=0,t===r&&(i=pooling.double(i),r*=2),i[t]=a,t+=1}return e})(),ShapePropertyFactory=(function(){var e=-999999;function t(c,m,f){var v=f.lastIndex,b,C,M,I,k,j,D,F,G,L=this.keyframes;if(c<L[0].t-this.offsetTime)b=L[0].s[0],M=!0,v=0;else if(c>=L[L.length-1].t-this.offsetTime)b=L[L.length-1].s?L[L.length-1].s[0]:L[L.length-2].e[0],M=!0;else{for(var R=v,E=L.length-1,w=!0,y,S,A;w&&(y=L[R],S=L[R+1],!(S.t-this.offsetTime>c));)R<E-1?R+=1:w=!1;if(A=this.keyframesMetadata[R]||{},M=y.h===1,v=R,!M){if(c>=S.t-this.offsetTime)F=1;else if(c<y.t-this.offsetTime)F=0;else{var T;A.__fnct?T=A.__fnct:(T=BezierFactory.getBezierEasing(y.o.x,y.o.y,y.i.x,y.i.y).get,A.__fnct=T),F=T((c-(y.t-this.offsetTime))/(S.t-this.offsetTime-(y.t-this.offsetTime)))}C=S.s?S.s[0]:y.e[0]}b=y.s[0]}for(j=m._length,D=b.i[0].length,f.lastIndex=v,I=0;I<j;I+=1)for(k=0;k<D;k+=1)G=M?b.i[I][k]:b.i[I][k]+(C.i[I][k]-b.i[I][k])*F,m.i[I][k]=G,G=M?b.o[I][k]:b.o[I][k]+(C.o[I][k]-b.o[I][k])*F,m.o[I][k]=G,G=M?b.v[I][k]:b.v[I][k]+(C.v[I][k]-b.v[I][k])*F,m.v[I][k]=G}function r(){var c=this.comp.renderedFrame-this.offsetTime,m=this.keyframes[0].t-this.offsetTime,f=this.keyframes[this.keyframes.length-1].t-this.offsetTime,v=this._caching.lastFrame;return v!==e&&(v<m&&c<m||v>f&&c>f)||(this._caching.lastIndex=v<c?this._caching.lastIndex:0,this.interpolateShape(c,this.pv,this._caching)),this._caching.lastFrame=c,this.pv}function i(){this.paths=this.localShapeCollection}function s(c,m){if(c._length!==m._length||c.c!==m.c)return!1;var f,v=c._length;for(f=0;f<v;f+=1)if(c.v[f][0]!==m.v[f][0]||c.v[f][1]!==m.v[f][1]||c.o[f][0]!==m.o[f][0]||c.o[f][1]!==m.o[f][1]||c.i[f][0]!==m.i[f][0]||c.i[f][1]!==m.i[f][1])return!1;return!0}function n(c){s(this.v,c)||(this.v=shapePool.clone(c),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function a(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var c;this.kf?c=this.pv:this.data.ks?c=this.data.ks.k:c=this.data.pt.k;var m,f=this.effectsSequence.length;for(m=0;m<f;m+=1)c=this.effectsSequence[m](c);this.setVValue(c),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function h(c,m,f){this.propType="shape",this.comp=c.comp,this.container=c,this.elem=c,this.data=m,this.k=!1,this.kf=!1,this._mdf=!1;var v=f===3?m.pt.k:m.ks.k;this.v=shapePool.clone(v),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(c){this.effectsSequence.push(c),this.container.addDynamicProperty(this)}h.prototype.interpolateShape=t,h.prototype.getValue=a,h.prototype.setVValue=n,h.prototype.addEffect=o;function l(c,m,f){this.propType="shape",this.comp=c.comp,this.elem=c,this.container=c,this.offsetTime=c.data.st,this.keyframes=f===3?m.pt.k:m.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var v=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,v),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=i,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[r.bind(this)]}l.prototype.getValue=a,l.prototype.interpolateShape=t,l.prototype.setVValue=n,l.prototype.addEffect=o;var d=(function(){var c=roundCorner;function m(f,v){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=v.d,this.elem=f,this.comp=f.comp,this.frameId=-1,this.initDynamicPropertyContainer(f),this.p=PropertyFactory.getProp(f,v.p,1,0,this),this.s=PropertyFactory.getProp(f,v.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return m.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 v=this.p.v[0],b=this.p.v[1],C=this.s.v[0]/2,M=this.s.v[1]/2,I=this.d!==3,k=this.v;k.v[0][0]=v,k.v[0][1]=b-M,k.v[1][0]=I?v+C:v-C,k.v[1][1]=b,k.v[2][0]=v,k.v[2][1]=b+M,k.v[3][0]=I?v-C:v+C,k.v[3][1]=b,k.i[0][0]=I?v-C*c:v+C*c,k.i[0][1]=b-M,k.i[1][0]=I?v+C:v-C,k.i[1][1]=b-M*c,k.i[2][0]=I?v+C*c:v-C*c,k.i[2][1]=b+M,k.i[3][0]=I?v-C:v+C,k.i[3][1]=b+M*c,k.o[0][0]=I?v+C*c:v-C*c,k.o[0][1]=b-M,k.o[1][0]=I?v+C:v-C,k.o[1][1]=b+M*c,k.o[2][0]=I?v-C*c:v+C*c,k.o[2][1]=b+M,k.o[3][0]=I?v-C:v+C,k.o[3][1]=b-M*c}},extendPrototype([DynamicPropertyContainer],m),m})(),P=(function(){function c(m,f){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=m,this.comp=m.comp,this.data=f,this.frameId=-1,this.d=f.d,this.initDynamicPropertyContainer(m),f.sy===1?(this.ir=PropertyFactory.getProp(m,f.ir,0,0,this),this.is=PropertyFactory.getProp(m,f.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(m,f.pt,0,0,this),this.p=PropertyFactory.getProp(m,f.p,1,0,this),this.r=PropertyFactory.getProp(m,f.r,0,degToRads,this),this.or=PropertyFactory.getProp(m,f.or,0,0,this),this.os=PropertyFactory.getProp(m,f.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 c.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 f=Math.floor(this.pt.v)*2,v=Math.PI*2/f,b=!0,C=this.or.v,M=this.ir.v,I=this.os.v,k=this.is.v,j=2*Math.PI*C/(f*2),D=2*Math.PI*M/(f*2),F,G,L,R,E=-Math.PI/2;E+=this.r.v;var w=this.data.d===3?-1:1;for(this.v._length=0,F=0;F<f;F+=1){G=b?C:M,L=b?I:k,R=b?j:D;var y=G*Math.cos(E),S=G*Math.sin(E),A=y===0&&S===0?0:S/Math.sqrt(y*y+S*S),T=y===0&&S===0?0:-y/Math.sqrt(y*y+S*S);y+=+this.p.v[0],S+=+this.p.v[1],this.v.setTripleAt(y,S,y-A*R*L*w,S-T*R*L*w,y+A*R*L*w,S+T*R*L*w,F,!0),b=!b,E+=v*w}},convertPolygonToPath:function(){var f=Math.floor(this.pt.v),v=Math.PI*2/f,b=this.or.v,C=this.os.v,M=2*Math.PI*b/(f*4),I,k=-Math.PI*.5,j=this.data.d===3?-1:1;for(k+=this.r.v,this.v._length=0,I=0;I<f;I+=1){var D=b*Math.cos(k),F=b*Math.sin(k),G=D===0&&F===0?0:F/Math.sqrt(D*D+F*F),L=D===0&&F===0?0:-D/Math.sqrt(D*D+F*F);D+=+this.p.v[0],F+=+this.p.v[1],this.v.setTripleAt(D,F,D-G*M*C*j,F-L*M*C*j,D+G*M*C*j,F+L*M*C*j,I,!0),k+=v*j}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],c),c})(),u=(function(){function c(m,f){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=m,this.comp=m.comp,this.frameId=-1,this.d=f.d,this.initDynamicPropertyContainer(m),this.p=PropertyFactory.getProp(m,f.p,1,0,this),this.s=PropertyFactory.getProp(m,f.s,1,0,this),this.r=PropertyFactory.getProp(m,f.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return c.prototype={convertRectToPath:function(){var f=this.p.v[0],v=this.p.v[1],b=this.s.v[0]/2,C=this.s.v[1]/2,M=bmMin(b,C,this.r.v),I=M*(1-roundCorner);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(f+b,v-C+M,f+b,v-C+M,f+b,v-C+I,0,!0),this.v.setTripleAt(f+b,v+C-M,f+b,v+C-I,f+b,v+C-M,1,!0),M!==0?(this.v.setTripleAt(f+b-M,v+C,f+b-M,v+C,f+b-I,v+C,2,!0),this.v.setTripleAt(f-b+M,v+C,f-b+I,v+C,f-b+M,v+C,3,!0),this.v.setTripleAt(f-b,v+C-M,f-b,v+C-M,f-b,v+C-I,4,!0),this.v.setTripleAt(f-b,v-C+M,f-b,v-C+I,f-b,v-C+M,5,!0),this.v.setTripleAt(f-b+M,v-C,f-b+M,v-C,f-b+I,v-C,6,!0),this.v.setTripleAt(f+b-M,v-C,f+b-I,v-C,f+b-M,v-C,7,!0)):(this.v.setTripleAt(f-b,v+C,f-b+I,v+C,f-b,v+C,2),this.v.setTripleAt(f-b,v-C,f-b,v-C+I,f-b,v-C,3))):(this.v.setTripleAt(f+b,v-C+M,f+b,v-C+I,f+b,v-C+M,0,!0),M!==0?(this.v.setTripleAt(f+b-M,v-C,f+b-M,v-C,f+b-I,v-C,1,!0),this.v.setTripleAt(f-b+M,v-C,f-b+I,v-C,f-b+M,v-C,2,!0),this.v.setTripleAt(f-b,v-C+M,f-b,v-C+M,f-b,v-C+I,3,!0),this.v.setTripleAt(f-b,v+C-M,f-b,v+C-I,f-b,v+C-M,4,!0),this.v.setTripleAt(f-b+M,v+C,f-b+M,v+C,f-b+I,v+C,5,!0),this.v.setTripleAt(f+b-M,v+C,f+b-I,v+C,f+b-M,v+C,6,!0),this.v.setTripleAt(f+b,v+C-M,f+b,v+C-M,f+b,v+C-I,7,!0)):(this.v.setTripleAt(f-b,v-C,f-b+I,v-C,f-b,v-C,1,!0),this.v.setTripleAt(f-b,v+C,f-b,v+C-I,f-b,v+C,2,!0),this.v.setTripleAt(f+b,v+C,f+b-I,v+C,f+b,v+C,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],c),c})();function _(c,m,f){var v;if(f===3||f===4){var b=f===3?m.pt:m.ks,C=b.k;C.length?v=new l(c,m,f):v=new h(c,m,f)}else f===5?v=new u(c,m):f===6?v=new d(c,m):f===7&&(v=new P(c,m));return v.k&&c.addDynamicProperty(v),v}function g(){return h}function p(){return l}var x={};return x.getShapeProp=_,x.getConstructorFunction=g,x.getKeyframedConstructorFunction=p,x})();/*!
22
+ Transformation Matrix v2.0
23
+ (c) Epistemex 2014-2015
24
+ www.epistemex.com
25
+ By Ken Fyrstenberg
26
+ Contributions by leeoniya.
27
+ License: MIT, header required.
28
+ */var Matrix=(function(){var e=Math.cos,t=Math.sin,r=Math.tan,i=Math.round;function s(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function n(y){if(y===0)return this;var S=e(y),A=t(y);return this._t(S,-A,0,0,A,S,0,0,0,0,1,0,0,0,0,1)}function a(y){if(y===0)return this;var S=e(y),A=t(y);return this._t(1,0,0,0,0,S,-A,0,0,A,S,0,0,0,0,1)}function h(y){if(y===0)return this;var S=e(y),A=t(y);return this._t(S,0,A,0,0,1,0,0,-A,0,S,0,0,0,0,1)}function o(y){if(y===0)return this;var S=e(y),A=t(y);return this._t(S,-A,0,0,A,S,0,0,0,0,1,0,0,0,0,1)}function l(y,S){return this._t(1,S,y,1,0,0)}function d(y,S){return this.shear(r(y),r(S))}function P(y,S){var A=e(S),T=t(S);return this._t(A,T,0,0,-T,A,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,r(y),1,0,0,0,0,1,0,0,0,0,1)._t(A,-T,0,0,T,A,0,0,0,0,1,0,0,0,0,1)}function u(y,S,A){return!A&&A!==0&&(A=1),y===1&&S===1&&A===1?this:this._t(y,0,0,0,0,S,0,0,0,0,A,0,0,0,0,1)}function _(y,S,A,T,q,V,O,$,z,W,Y,U,X,ee,B,Z){return this.props[0]=y,this.props[1]=S,this.props[2]=A,this.props[3]=T,this.props[4]=q,this.props[5]=V,this.props[6]=O,this.props[7]=$,this.props[8]=z,this.props[9]=W,this.props[10]=Y,this.props[11]=U,this.props[12]=X,this.props[13]=ee,this.props[14]=B,this.props[15]=Z,this}function g(y,S,A){return A=A||0,y!==0||S!==0||A!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,y,S,A,1):this}function p(y,S,A,T,q,V,O,$,z,W,Y,U,X,ee,B,Z){var H=this.props;if(y===1&&S===0&&A===0&&T===0&&q===0&&V===1&&O===0&&$===0&&z===0&&W===0&&Y===1&&U===0)return H[12]=H[12]*y+H[15]*X,H[13]=H[13]*V+H[15]*ee,H[14]=H[14]*Y+H[15]*B,H[15]*=Z,this._identityCalculated=!1,this;var se=H[0],fe=H[1],oe=H[2],ne=H[3],he=H[4],le=H[5],ie=H[6],ue=H[7],Q=H[8],N=H[9],K=H[10],J=H[11],te=H[12],re=H[13],ae=H[14],pe=H[15];return H[0]=se*y+fe*q+oe*z+ne*X,H[1]=se*S+fe*V+oe*W+ne*ee,H[2]=se*A+fe*O+oe*Y+ne*B,H[3]=se*T+fe*$+oe*U+ne*Z,H[4]=he*y+le*q+ie*z+ue*X,H[5]=he*S+le*V+ie*W+ue*ee,H[6]=he*A+le*O+ie*Y+ue*B,H[7]=he*T+le*$+ie*U+ue*Z,H[8]=Q*y+N*q+K*z+J*X,H[9]=Q*S+N*V+K*W+J*ee,H[10]=Q*A+N*O+K*Y+J*B,H[11]=Q*T+N*$+K*U+J*Z,H[12]=te*y+re*q+ae*z+pe*X,H[13]=te*S+re*V+ae*W+pe*ee,H[14]=te*A+re*O+ae*Y+pe*B,H[15]=te*T+re*$+ae*U+pe*Z,this._identityCalculated=!1,this}function x(y){var S=y.props;return this.transform(S[0],S[1],S[2],S[3],S[4],S[5],S[6],S[7],S[8],S[9],S[10],S[11],S[12],S[13],S[14],S[15])}function c(){return this._identityCalculated||(this._identity=!(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._identityCalculated=!0),this._identity}function m(y){for(var S=0;S<16;){if(y.props[S]!==this.props[S])return!1;S+=1}return!0}function f(y){var S;for(S=0;S<16;S+=1)y.props[S]=this.props[S];return y}function v(y){var S;for(S=0;S<16;S+=1)this.props[S]=y[S]}function b(y,S,A){return{x:y*this.props[0]+S*this.props[4]+A*this.props[8]+this.props[12],y:y*this.props[1]+S*this.props[5]+A*this.props[9]+this.props[13],z:y*this.props[2]+S*this.props[6]+A*this.props[10]+this.props[14]}}function C(y,S,A){return y*this.props[0]+S*this.props[4]+A*this.props[8]+this.props[12]}function M(y,S,A){return y*this.props[1]+S*this.props[5]+A*this.props[9]+this.props[13]}function I(y,S,A){return y*this.props[2]+S*this.props[6]+A*this.props[10]+this.props[14]}function k(){var y=this.props[0]*this.props[5]-this.props[1]*this.props[4],S=this.props[5]/y,A=-this.props[1]/y,T=-this.props[4]/y,q=this.props[0]/y,V=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/y,O=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/y,$=new Matrix;return $.props[0]=S,$.props[1]=A,$.props[4]=T,$.props[5]=q,$.props[12]=V,$.props[13]=O,$}function j(y){var S=this.getInverseMatrix();return S.applyToPointArray(y[0],y[1],y[2]||0)}function D(y){var S,A=y.length,T=[];for(S=0;S<A;S+=1)T[S]=j(y[S]);return T}function F(y,S,A){var T=createTypedArray("float32",6);if(this.isIdentity())T[0]=y[0],T[1]=y[1],T[2]=S[0],T[3]=S[1],T[4]=A[0],T[5]=A[1];else{var q=this.props[0],V=this.props[1],O=this.props[4],$=this.props[5],z=this.props[12],W=this.props[13];T[0]=y[0]*q+y[1]*O+z,T[1]=y[0]*V+y[1]*$+W,T[2]=S[0]*q+S[1]*O+z,T[3]=S[0]*V+S[1]*$+W,T[4]=A[0]*q+A[1]*O+z,T[5]=A[0]*V+A[1]*$+W}return T}function G(y,S,A){var T;return this.isIdentity()?T=[y,S,A]:T=[y*this.props[0]+S*this.props[4]+A*this.props[8]+this.props[12],y*this.props[1]+S*this.props[5]+A*this.props[9]+this.props[13],y*this.props[2]+S*this.props[6]+A*this.props[10]+this.props[14]],T}function L(y,S){if(this.isIdentity())return y+","+S;var A=this.props;return Math.round((y*A[0]+S*A[4]+A[12])*100)/100+","+Math.round((y*A[1]+S*A[5]+A[13])*100)/100}function R(){for(var y=0,S=this.props,A="matrix3d(",T=1e4;y<16;)A+=i(S[y]*T)/T,A+=y===15?")":",",y+=1;return A}function E(y){var S=1e4;return y<1e-6&&y>0||y>-1e-6&&y<0?i(y*S)/S:y}function w(){var y=this.props,S=E(y[0]),A=E(y[1]),T=E(y[4]),q=E(y[5]),V=E(y[12]),O=E(y[13]);return"matrix("+S+","+A+","+T+","+q+","+V+","+O+")"}return function(){this.reset=s,this.rotate=n,this.rotateX=a,this.rotateY=h,this.rotateZ=o,this.skew=d,this.skewFromAxis=P,this.shear=l,this.scale=u,this.setTransform=_,this.translate=g,this.transform=p,this.multiply=x,this.applyToPoint=b,this.applyToX=C,this.applyToY=M,this.applyToZ=I,this.applyToPointArray=G,this.applyToTriplePoints=F,this.applyToPointStringified=L,this.toCSS=R,this.to2dCSS=w,this.clone=f,this.cloneFromProps=v,this.equals=m,this.inversePoints=D,this.inversePoint=j,this.getInverseMatrix=k,this._t=this.transform,this.isIdentity=c,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}})();function _typeof$3(e){"@babel/helpers - typeof";return _typeof$3=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$3(e)}var lottie={};function setLocation(e){setLocationHref(e)}function searchAnimations(){animationManager.searchAnimations()}function setSubframeRendering(e){setSubframeEnabled(e)}function setPrefix(e){setIdPrefix(e)}function loadAnimation(e){return animationManager.loadAnimation(e)}function setQuality(e){if(typeof e=="string")switch(e){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10);break}else!isNaN(e)&&e>1&&setDefaultCurveSegments(e)}function inBrowser(){return typeof navigator!="undefined"}function installPlugin(e,t){e==="expressions"&&setExpressionsPlugin(t)}function getFactory(e){switch(e){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.13.0";function checkReady(){document.readyState==="complete"&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(e){for(var t=queryString.split("&"),r=0;r<t.length;r+=1){var i=t[r].split("=");if(decodeURIComponent(i[0])==e)return decodeURIComponent(i[1])}return null}var queryString="";{var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{_typeof$3(exports)!=="object"&&(window.bodymovin=lottie)}catch(e){}var ShapeModifiers=(function(){var e={},t={};e.registerModifier=r,e.getModifier=i;function r(s,n){t[s]||(t[s]=n)}function i(s,n,a){return new t[s](n,a)}return e})();function ShapeModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(e){if(!this.closed){e.sh.container.addDynamicProperty(e.sh);var t={shape:e.sh,data:e,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(t),this.addShapeToModifier(t),this._isAnimated&&e.setAsAnimated()}},ShapeModifier.prototype.init=function(e,t){this.shapes=[],this.elem=e,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t),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);function TrimModifier(){}extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(e,t){this.s=PropertyFactory.getProp(e,t.s,0,.01,this),this.e=PropertyFactory.getProp(e,t.e,0,.01,this),this.o=PropertyFactory.getProp(e,t.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=t.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(e){e.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(e,t,r,i,s){var n=[];t<=1?n.push({s:e,e:t}):e>=1?n.push({s:e-1,e:t-1}):(n.push({s:e,e:1}),n.push({s:0,e:t-1}));var a=[],h,o=n.length,l;for(h=0;h<o;h+=1)if(l=n[h],!(l.e*s<i||l.s*s>i+r)){var d,P;l.s*s<=i?d=0:d=(l.s*s-i)/r,l.e*s>=i+r?P=1:P=(l.e*s-i)/r,a.push([d,P])}return a.length||a.push([0,0]),a},TrimModifier.prototype.releasePathsData=function(e){var t,r=e.length;for(t=0;t<r;t+=1)segmentsLengthPool.release(e[t]);return e.length=0,e},TrimModifier.prototype.processShapes=function(e){var t,r;if(this._mdf||e){var i=this.o.v%360/360;if(i<0&&(i+=1),this.s.v>1?t=1+i:this.s.v<0?t=0+i:t=this.s.v+i,this.e.v>1?r=1+i:this.e.v<0?r=0+i:r=this.e.v+i,t>r){var s=t;t=r,r=s}t=Math.round(t*1e4)*1e-4,r=Math.round(r*1e4)*1e-4,this.sValue=t,this.eValue=r}else t=this.sValue,r=this.eValue;var n,a,h=this.shapes.length,o,l,d,P,u,_=0;if(r===t)for(a=0;a<h;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(r===1&&t===0||r===0&&t===1){if(this._mdf)for(a=0;a<h;a+=1)this.shapes[a].pathsData.length=0,this.shapes[a].shape._mdf=!0}else{var g=[],p,x;for(a=0;a<h;a+=1)if(p=this.shapes[a],!p.shape._mdf&&!this._mdf&&!e&&this.m!==2)p.shape.paths=p.localShapeCollection;else{if(n=p.shape.paths,l=n._length,u=0,!p.shape._mdf&&p.pathsData.length)u=p.totalShapeLength;else{for(d=this.releasePathsData(p.pathsData),o=0;o<l;o+=1)P=bez.getSegmentsLength(n.shapes[o]),d.push(P),u+=P.totalLength;p.totalShapeLength=u,p.pathsData=d}_+=u,p.shape._mdf=!0}var c=t,m=r,f=0,v;for(a=h-1;a>=0;a-=1)if(p=this.shapes[a],p.shape._mdf){for(x=p.localShapeCollection,x.releaseShapes(),this.m===2&&h>1?(v=this.calculateShapeEdges(t,r,p.totalShapeLength,f,_),f+=p.totalShapeLength):v=[[c,m]],l=v.length,o=0;o<l;o+=1){c=v[o][0],m=v[o][1],g.length=0,m<=1?g.push({s:p.totalShapeLength*c,e:p.totalShapeLength*m}):c>=1?g.push({s:p.totalShapeLength*(c-1),e:p.totalShapeLength*(m-1)}):(g.push({s:p.totalShapeLength*c,e:p.totalShapeLength}),g.push({s:0,e:p.totalShapeLength*(m-1)}));var b=this.addShapes(p,g[0]);if(g[0].s!==g[0].e){if(g.length>1){var C=p.shape.paths.shapes[p.shape.paths._length-1];if(C.c){var M=b.pop();this.addPaths(b,x),b=this.addShapes(p,g[1],M)}else this.addPaths(b,x),b=this.addShapes(p,g[1])}this.addPaths(b,x)}}p.shape.paths=x}}},TrimModifier.prototype.addPaths=function(e,t){var r,i=e.length;for(r=0;r<i;r+=1)t.addShape(e[r])},TrimModifier.prototype.addSegment=function(e,t,r,i,s,n,a){s.setXYAt(t[0],t[1],"o",n),s.setXYAt(r[0],r[1],"i",n+1),a&&s.setXYAt(e[0],e[1],"v",n),s.setXYAt(i[0],i[1],"v",n+1)},TrimModifier.prototype.addSegmentFromArray=function(e,t,r,i){t.setXYAt(e[1],e[5],"o",r),t.setXYAt(e[2],e[6],"i",r+1),i&&t.setXYAt(e[0],e[4],"v",r),t.setXYAt(e[3],e[7],"v",r+1)},TrimModifier.prototype.addShapes=function(e,t,r){var i=e.pathsData,s=e.shape.paths.shapes,n,a=e.shape.paths._length,h,o,l=0,d,P,u,_,g=[],p,x=!0;for(r?(P=r._length,p=r._length):(r=shapePool.newElement(),P=0,p=0),g.push(r),n=0;n<a;n+=1){for(u=i[n].lengths,r.c=s[n].c,o=s[n].c?u.length:u.length+1,h=1;h<o;h+=1)if(d=u[h-1],l+d.addedLength<t.s)l+=d.addedLength,r.c=!1;else if(l>t.e){r.c=!1;break}else t.s<=l&&t.e>=l+d.addedLength?(this.addSegment(s[n].v[h-1],s[n].o[h-1],s[n].i[h],s[n].v[h],r,P,x),x=!1):(_=bez.getNewSegment(s[n].v[h-1],s[n].v[h],s[n].o[h-1],s[n].i[h],(t.s-l)/d.addedLength,(t.e-l)/d.addedLength,u[h-1]),this.addSegmentFromArray(_,r,P,x),x=!1,r.c=!1),l+=d.addedLength,P+=1;if(s[n].c&&u.length){if(d=u[h-1],l<=t.e){var c=u[h-1].addedLength;t.s<=l&&t.e>=l+c?(this.addSegment(s[n].v[h-1],s[n].o[h-1],s[n].i[0],s[n].v[0],r,P,x),x=!1):(_=bez.getNewSegment(s[n].v[h-1],s[n].v[0],s[n].o[h-1],s[n].i[0],(t.s-l)/c,(t.e-l)/c,u[h-1]),this.addSegmentFromArray(_,r,P,x),x=!1,r.c=!1)}else r.c=!1;l+=d.addedLength,P+=1}if(r._length&&(r.setXYAt(r.v[p][0],r.v[p][1],"i",p),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),l>t.e)break;n<a-1&&(r=shapePool.newElement(),x=!0,g.push(r),P=0)}return g};function PuckerAndBloatModifier(){}extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(e,t){var r=t/100,i=[0,0],s=e._length,n=0;for(n=0;n<s;n+=1)i[0]+=e.v[n][0],i[1]+=e.v[n][1];i[0]/=s,i[1]/=s;var a=shapePool.newElement();a.c=e.c;var h,o,l,d,P,u;for(n=0;n<s;n+=1)h=e.v[n][0]+(i[0]-e.v[n][0])*r,o=e.v[n][1]+(i[1]-e.v[n][1])*r,l=e.o[n][0]+(i[0]-e.o[n][0])*-r,d=e.o[n][1]+(i[1]-e.o[n][1])*-r,P=e.i[n][0]+(i[0]-e.i[n][0])*-r,u=e.i[n][1]+(i[1]-e.i[n][1])*-r,a.setTripleAt(h,o,l,d,P,u,n);return a},PuckerAndBloatModifier.prototype.processShapes=function(e){var t,r,i=this.shapes.length,s,n,a=this.amount.v;if(a!==0){var h,o;for(r=0;r<i;r+=1){if(h=this.shapes[r],o=h.localShapeCollection,!(!h.shape._mdf&&!this._mdf&&!e))for(o.releaseShapes(),h.shape._mdf=!0,t=h.shape.paths.shapes,n=h.shape.paths._length,s=0;s<n;s+=1)o.addShape(this.processPath(t[s],a));h.shape.paths=h.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=(function(){var e=[0,0];function t(o){var l=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||l,this.a&&o.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&o.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&o.skewFromAxis(-this.sk.v,this.sa.v),this.r?o.rotate(-this.r.v):o.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?o.translate(this.px.v,this.py.v,-this.pz.v):o.translate(this.px.v,this.py.v,0):o.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function r(o){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||o){var l;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 d,P;if(l=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(d=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/l,0),P=this.p.getValueAtTime(this.p.keyframes[0].t/l,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(d=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/l,0),P=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/l,0)):(d=this.p.pv,P=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/l,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){d=[],P=[];var u=this.px,_=this.py;u._caching.lastFrame+u.offsetTime<=u.keyframes[0].t?(d[0]=u.getValueAtTime((u.keyframes[0].t+.01)/l,0),d[1]=_.getValueAtTime((_.keyframes[0].t+.01)/l,0),P[0]=u.getValueAtTime(u.keyframes[0].t/l,0),P[1]=_.getValueAtTime(_.keyframes[0].t/l,0)):u._caching.lastFrame+u.offsetTime>=u.keyframes[u.keyframes.length-1].t?(d[0]=u.getValueAtTime(u.keyframes[u.keyframes.length-1].t/l,0),d[1]=_.getValueAtTime(_.keyframes[_.keyframes.length-1].t/l,0),P[0]=u.getValueAtTime((u.keyframes[u.keyframes.length-1].t-.01)/l,0),P[1]=_.getValueAtTime((_.keyframes[_.keyframes.length-1].t-.01)/l,0)):(d=[u.pv,_.pv],P[0]=u.getValueAtTime((u._caching.lastFrame+u.offsetTime-.01)/l,u.offsetTime),P[1]=_.getValueAtTime((_._caching.lastFrame+_.offsetTime-.01)/l,_.offsetTime))}else P=e,d=P;this.v.rotate(-Math.atan2(d[1]-P[1],d[0]-P[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;else return;if(!this.s.effectsSequence.length)this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2;else return;if(this.sk)if(!this.sk.effectsSequence.length&&!this.sa.effectsSequence.length)this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3;else return;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 s(){}function n(o){this._addDynamicProperty(o),this.elem.addDynamicProperty(o),this._isDirty=!0}function a(o,l,d){if(this.elem=o,this.frameId=-1,this.propType="transform",this.data=l,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(d||o),l.p&&l.p.s?(this.px=PropertyFactory.getProp(o,l.p.x,0,0,this),this.py=PropertyFactory.getProp(o,l.p.y,0,0,this),l.p.z&&(this.pz=PropertyFactory.getProp(o,l.p.z,0,0,this))):this.p=PropertyFactory.getProp(o,l.p||{k:[0,0,0]},1,0,this),l.rx){if(this.rx=PropertyFactory.getProp(o,l.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(o,l.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(o,l.rz,0,degToRads,this),l.or.k[0].ti){var P,u=l.or.k.length;for(P=0;P<u;P+=1)l.or.k[P].to=null,l.or.k[P].ti=null}this.or=PropertyFactory.getProp(o,l.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(o,l.r||{k:0},0,degToRads,this);l.sk&&(this.sk=PropertyFactory.getProp(o,l.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(o,l.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(o,l.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(o,l.s||{k:[100,100,100]},1,.01,this),l.o?this.o=PropertyFactory.getProp(o,l.o,0,.01,o):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}a.prototype={applyToMatrix:t,getValue:r,precalculateMatrix:i,autoOrient:s},extendPrototype([DynamicPropertyContainer],a),a.prototype.addDynamicProperty=n,a.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty;function h(o,l,d){return new a(o,l,d)}return{getTransformProperty:h}})();function RepeaterModifier(){}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(e,t.c,0,null,this),this.o=PropertyFactory.getProp(e,t.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(e,t.tr,this),this.so=PropertyFactory.getProp(e,t.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(e,t.tr.eo,0,.01,this),this.data=t,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(e,t,r,i,s,n){var a=n?-1:1,h=i.s.v[0]+(1-i.s.v[0])*(1-s),o=i.s.v[1]+(1-i.s.v[1])*(1-s);e.translate(i.p.v[0]*a*s,i.p.v[1]*a*s,i.p.v[2]),t.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),t.rotate(-i.r.v*a*s),t.translate(i.a.v[0],i.a.v[1],i.a.v[2]),r.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),r.scale(n?1/h:h,n?1/o:o),r.translate(i.a.v[0],i.a.v[1],i.a.v[2])},RepeaterModifier.prototype.init=function(e,t,r,i){for(this.elem=e,this.arr=t,this.pos=r,this.elemsData=i,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t[r]);r>0;)r-=1,this._elements.unshift(t[r]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t]._processed=!1,e[t].ty==="gr"&&this.resetElements(e[t].it)},RepeaterModifier.prototype.cloneElements=function(e){var t=JSON.parse(JSON.stringify(e));return this.resetElements(t),t},RepeaterModifier.prototype.changeGroupRender=function(e,t){var r,i=e.length;for(r=0;r<i;r+=1)e[r]._render=t,e[r].ty==="gr"&&this.changeGroupRender(e[r].it,t)},RepeaterModifier.prototype.processShapes=function(e){var t,r,i,s,n,a=!1;if(this._mdf||e){var h=Math.ceil(this.c.v);if(this._groups.length<h){for(;this._groups.length<h;){var o={it:this.cloneElements(this._elements),ty:"gr"};o.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,o),this._groups.splice(0,0,o),this._currentCopies+=1}this.elem.reloadShapes(),a=!0}n=0;var l;for(i=0;i<=this._groups.length-1;i+=1){if(l=n<h,this._groups[i]._render=l,this.changeGroupRender(this._groups[i].it,l),!l){var d=this.elemsData[i].it,P=d[d.length-1];P.transform.op.v!==0?(P.transform.op._mdf=!0,P.transform.op.v=0):P.transform.op._mdf=!1}n+=1}this._currentCopies=h;var u=this.o.v,_=u%1,g=u>0?Math.floor(u):Math.ceil(u),p=this.pMatrix.props,x=this.rMatrix.props,c=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var m=0;if(u>0){for(;m<g;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),m+=1;_&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,_,!1),m+=_)}else if(u<0){for(;m>g;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),m-=1;_&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-_,!0),m-=_)}i=this.data.m===1?0:this._currentCopies-1,s=this.data.m===1?1:-1,n=this._currentCopies;for(var f,v;n;){if(t=this.elemsData[i].it,r=t[t.length-1].transform.mProps.v.props,v=r.length,t[t.length-1].transform.mProps._mdf=!0,t[t.length-1].transform.op._mdf=!0,t[t.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(i/(this._currentCopies-1)),m!==0){for((i!==0&&s===1||i!==this._currentCopies-1&&s===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(x[0],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15]),this.matrix.transform(c[0],c[1],c[2],c[3],c[4],c[5],c[6],c[7],c[8],c[9],c[10],c[11],c[12],c[13],c[14],c[15]),this.matrix.transform(p[0],p[1],p[2],p[3],p[4],p[5],p[6],p[7],p[8],p[9],p[10],p[11],p[12],p[13],p[14],p[15]),f=0;f<v;f+=1)r[f]=this.matrix.props[f];this.matrix.reset()}else for(this.matrix.reset(),f=0;f<v;f+=1)r[f]=this.matrix.props[f];m+=1,n-=1,i+=s}}else for(n=this._currentCopies,i=0,s=1;n;)t=this.elemsData[i].it,r=t[t.length-1].transform.mProps.v.props,t[t.length-1].transform.mProps._mdf=!1,t[t.length-1].transform.op._mdf=!1,n-=1,i+=s;return a},RepeaterModifier.prototype.addShape=function(){};function RoundCornersModifier(){}extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(e,t.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(e,t){var r=shapePool.newElement();r.c=e.c;var i,s=e._length,n,a,h,o,l,d,P=0,u,_,g,p,x,c;for(i=0;i<s;i+=1)n=e.v[i],h=e.o[i],a=e.i[i],n[0]===h[0]&&n[1]===h[1]&&n[0]===a[0]&&n[1]===a[1]?(i===0||i===s-1)&&!e.c?(r.setTripleAt(n[0],n[1],h[0],h[1],a[0],a[1],P),P+=1):(i===0?o=e.v[s-1]:o=e.v[i-1],l=Math.sqrt(Math.pow(n[0]-o[0],2)+Math.pow(n[1]-o[1],2)),d=l?Math.min(l/2,t)/l:0,x=n[0]+(o[0]-n[0])*d,u=x,c=n[1]-(n[1]-o[1])*d,_=c,g=u-(u-n[0])*roundCorner,p=_-(_-n[1])*roundCorner,r.setTripleAt(u,_,g,p,x,c,P),P+=1,i===s-1?o=e.v[0]:o=e.v[i+1],l=Math.sqrt(Math.pow(n[0]-o[0],2)+Math.pow(n[1]-o[1],2)),d=l?Math.min(l/2,t)/l:0,g=n[0]+(o[0]-n[0])*d,u=g,p=n[1]+(o[1]-n[1])*d,_=p,x=u-(u-n[0])*roundCorner,c=_-(_-n[1])*roundCorner,r.setTripleAt(u,_,g,p,x,c,P),P+=1):(r.setTripleAt(e.v[i][0],e.v[i][1],e.o[i][0],e.o[i][1],e.i[i][0],e.i[i][1],P),P+=1);return r},RoundCornersModifier.prototype.processShapes=function(e){var t,r,i=this.shapes.length,s,n,a=this.rd.v;if(a!==0){var h,o;for(r=0;r<i;r+=1){if(h=this.shapes[r],o=h.localShapeCollection,!(!h.shape._mdf&&!this._mdf&&!e))for(o.releaseShapes(),h.shape._mdf=!0,t=h.shape.paths.shapes,n=h.shape.paths._length,s=0;s<n;s+=1)o.addShape(this.processPath(t[s],a));h.shape.paths=h.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function floatEqual(e,t){return Math.abs(e-t)*1e5<=Math.min(Math.abs(e),Math.abs(t))}function floatZero(e){return Math.abs(e)<=1e-5}function lerp(e,t,r){return e*(1-r)+t*r}function lerpPoint(e,t,r){return[lerp(e[0],t[0],r),lerp(e[1],t[1],r)]}function quadRoots(e,t,r){if(e===0)return[];var i=t*t-4*e*r;if(i<0)return[];var s=-t/(2*e);if(i===0)return[s];var n=Math.sqrt(i)/(2*e);return[s-n,s+n]}function polynomialCoefficients(e,t,r,i){return[-e+3*t-3*r+i,3*e-6*t+3*r,-3*e+3*t,e]}function singlePoint(e){return new PolynomialBezier(e,e,e,e,!1)}function PolynomialBezier(e,t,r,i,s){s&&pointEqual(e,t)&&(t=lerpPoint(e,i,1/3)),s&&pointEqual(r,i)&&(r=lerpPoint(e,i,2/3));var n=polynomialCoefficients(e[0],t[0],r[0],i[0]),a=polynomialCoefficients(e[1],t[1],r[1],i[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=[e,t,r,i]}PolynomialBezier.prototype.point=function(e){return[((this.a[0]*e+this.b[0])*e+this.c[0])*e+this.d[0],((this.a[1]*e+this.b[1])*e+this.c[1])*e+this.d[1]]},PolynomialBezier.prototype.derivative=function(e){return[(3*e*this.a[0]+2*this.b[0])*e+this.c[0],(3*e*this.a[1]+2*this.b[1])*e+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(e){var t=this.derivative(e);return Math.atan2(t[1],t[0])},PolynomialBezier.prototype.normalAngle=function(e){var t=this.derivative(e);return Math.atan2(t[0],t[1])},PolynomialBezier.prototype.inflectionPoints=function(){var e=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(e))return[];var t=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/e,r=t*t-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/e;if(r<0)return[];var i=Math.sqrt(r);return floatZero(i)?i>0&&i<1?[t]:[]:[t-i,t+i].filter(function(s){return s>0&&s<1})},PolynomialBezier.prototype.split=function(e){if(e<=0)return[singlePoint(this.points[0]),this];if(e>=1)return[this,singlePoint(this.points[this.points.length-1])];var t=lerpPoint(this.points[0],this.points[1],e),r=lerpPoint(this.points[1],this.points[2],e),i=lerpPoint(this.points[2],this.points[3],e),s=lerpPoint(t,r,e),n=lerpPoint(r,i,e),a=lerpPoint(s,n,e);return[new PolynomialBezier(this.points[0],t,s,a,!0),new PolynomialBezier(a,n,i,this.points[3],!0)]};function extrema(e,t){var r=e.points[0][t],i=e.points[e.points.length-1][t];if(r>i){var s=i;i=r,r=s}for(var n=quadRoots(3*e.a[t],2*e.b[t],e.c[t]),a=0;a<n.length;a+=1)if(n[a]>0&&n[a]<1){var h=e.point(n[a])[t];h<r?r=h:h>i&&(i=h)}return{min:r,max:i}}PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var e=this.bounds();return{left:e.x.min,right:e.x.max,top:e.y.min,bottom:e.y.max,width:e.x.max-e.x.min,height:e.y.max-e.y.min,cx:(e.x.max+e.x.min)/2,cy:(e.y.max+e.y.min)/2}};function intersectData(e,t,r){var i=e.boundingBox();return{cx:i.cx,cy:i.cy,width:i.width,height:i.height,bez:e,t:(t+r)/2,t1:t,t2:r}}function splitData(e){var t=e.bez.split(.5);return[intersectData(t[0],e.t1,e.t),intersectData(t[1],e.t,e.t2)]}function boxIntersect(e,t){return Math.abs(e.cx-t.cx)*2<e.width+t.width&&Math.abs(e.cy-t.cy)*2<e.height+t.height}function intersectsImpl(e,t,r,i,s,n){if(boxIntersect(e,t)){if(r>=n||e.width<=i&&e.height<=i&&t.width<=i&&t.height<=i){s.push([e.t,t.t]);return}var a=splitData(e),h=splitData(t);intersectsImpl(a[0],h[0],r+1,i,s,n),intersectsImpl(a[0],h[1],r+1,i,s,n),intersectsImpl(a[1],h[0],r+1,i,s,n),intersectsImpl(a[1],h[1],r+1,i,s,n)}}PolynomialBezier.prototype.intersections=function(e,t,r){t===void 0&&(t=2),r===void 0&&(r=7);var i=[];return intersectsImpl(intersectData(this,0,1),intersectData(e,0,1),0,t,i,r),i},PolynomialBezier.shapeSegment=function(e,t){var r=(t+1)%e.length();return new PolynomialBezier(e.v[t],e.o[t],e.i[r],e.v[r],!0)},PolynomialBezier.shapeSegmentInverted=function(e,t){var r=(t+1)%e.length();return new PolynomialBezier(e.v[r],e.i[r],e.o[t],e.v[t],!0)};function crossProduct(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function lineIntersection(e,t,r,i){var s=[e[0],e[1],1],n=[t[0],t[1],1],a=[r[0],r[1],1],h=[i[0],i[1],1],o=crossProduct(crossProduct(s,n),crossProduct(a,h));return floatZero(o[2])?null:[o[0]/o[2],o[1]/o[2]]}function polarOffset(e,t,r){return[e[0]+Math.cos(t)*r,e[1]-Math.sin(t)*r]}function pointDistance(e,t){return Math.hypot(e[0]-t[0],e[1]-t[1])}function pointEqual(e,t){return floatEqual(e[0],t[0])&&floatEqual(e[1],t[1])}function ZigZagModifier(){}extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(e,t.s,0,null,this),this.frequency=PropertyFactory.getProp(e,t.r,0,null,this),this.pointsType=PropertyFactory.getProp(e,t.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function setPoint(e,t,r,i,s,n,a){var h=r-Math.PI/2,o=r+Math.PI/2,l=t[0]+Math.cos(r)*i*s,d=t[1]-Math.sin(r)*i*s;e.setTripleAt(l,d,l+Math.cos(h)*n,d-Math.sin(h)*n,l+Math.cos(o)*a,d-Math.sin(o)*a,e.length())}function getPerpendicularVector(e,t){var r=[t[0]-e[0],t[1]-e[1]],i=-Math.PI*.5,s=[Math.cos(i)*r[0]-Math.sin(i)*r[1],Math.sin(i)*r[0]+Math.cos(i)*r[1]];return s}function getProjectingAngle(e,t){var r=t===0?e.length()-1:t-1,i=(t+1)%e.length(),s=e.v[r],n=e.v[i],a=getPerpendicularVector(s,n);return Math.atan2(0,1)-Math.atan2(a[1],a[0])}function zigZagCorner(e,t,r,i,s,n,a){var h=getProjectingAngle(t,r),o=t.v[r%t._length],l=t.v[r===0?t._length-1:r-1],d=t.v[(r+1)%t._length],P=n===2?Math.sqrt(Math.pow(o[0]-l[0],2)+Math.pow(o[1]-l[1],2)):0,u=n===2?Math.sqrt(Math.pow(o[0]-d[0],2)+Math.pow(o[1]-d[1],2)):0;setPoint(e,t.v[r%t._length],h,a,i,u/((s+1)*2),P/((s+1)*2))}function zigZagSegment(e,t,r,i,s,n){for(var a=0;a<i;a+=1){var h=(a+1)/(i+1),o=s===2?Math.sqrt(Math.pow(t.points[3][0]-t.points[0][0],2)+Math.pow(t.points[3][1]-t.points[0][1],2)):0,l=t.normalAngle(h),d=t.point(h);setPoint(e,d,l,n,r,o/((i+1)*2),o/((i+1)*2)),n=-n}return n}ZigZagModifier.prototype.processPath=function(e,t,r,i){var s=e._length,n=shapePool.newElement();if(n.c=e.c,e.c||(s-=1),s===0)return n;var a=-1,h=PolynomialBezier.shapeSegment(e,0);zigZagCorner(n,e,0,t,r,i,a);for(var o=0;o<s;o+=1)a=zigZagSegment(n,h,t,r,i,-a),o===s-1&&!e.c?h=null:h=PolynomialBezier.shapeSegment(e,(o+1)%s),zigZagCorner(n,e,o+1,t,r,i,a);return n},ZigZagModifier.prototype.processShapes=function(e){var t,r,i=this.shapes.length,s,n,a=this.amplitude.v,h=Math.max(0,Math.round(this.frequency.v)),o=this.pointsType.v;if(a!==0){var l,d;for(r=0;r<i;r+=1){if(l=this.shapes[r],d=l.localShapeCollection,!(!l.shape._mdf&&!this._mdf&&!e))for(d.releaseShapes(),l.shape._mdf=!0,t=l.shape.paths.shapes,n=l.shape.paths._length,s=0;s<n;s+=1)d.addShape(this.processPath(t[s],a,h,o));l.shape.paths=l.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function linearOffset(e,t,r){var i=Math.atan2(t[0]-e[0],t[1]-e[1]);return[polarOffset(e,i,r),polarOffset(t,i,r)]}function offsetSegment(e,t){var r,i,s,n,a,h,o;o=linearOffset(e.points[0],e.points[1],t),r=o[0],i=o[1],o=linearOffset(e.points[1],e.points[2],t),s=o[0],n=o[1],o=linearOffset(e.points[2],e.points[3],t),a=o[0],h=o[1];var l=lineIntersection(r,i,s,n);l===null&&(l=i);var d=lineIntersection(a,h,s,n);return d===null&&(d=a),new PolynomialBezier(r,l,d,h)}function joinLines(e,t,r,i,s){var n=t.points[3],a=r.points[0];if(i===3||pointEqual(n,a))return n;if(i===2){var h=-t.tangentAngle(1),o=-r.tangentAngle(0)+Math.PI,l=lineIntersection(n,polarOffset(n,h+Math.PI/2,100),a,polarOffset(a,h+Math.PI/2,100)),d=l?pointDistance(l,n):pointDistance(n,a)/2,P=polarOffset(n,h,2*d*roundCorner);return e.setXYAt(P[0],P[1],"o",e.length()-1),P=polarOffset(a,o,2*d*roundCorner),e.setTripleAt(a[0],a[1],a[0],a[1],P[0],P[1],e.length()),a}var u=pointEqual(n,t.points[2])?t.points[0]:t.points[2],_=pointEqual(a,r.points[1])?r.points[3]:r.points[1],g=lineIntersection(u,n,a,_);return g&&pointDistance(g,n)<s?(e.setTripleAt(g[0],g[1],g[0],g[1],g[0],g[1],e.length()),g):n}function getIntersection(e,t){var r=e.intersections(t);return r.length&&floatEqual(r[0][0],1)&&r.shift(),r.length?r[0]:null}function pruneSegmentIntersection(e,t){var r=e.slice(),i=t.slice(),s=getIntersection(e[e.length-1],t[0]);return s&&(r[e.length-1]=e[e.length-1].split(s[0])[0],i[0]=t[0].split(s[1])[1]),e.length>1&&t.length>1&&(s=getIntersection(e[0],t[t.length-1]),s)?[[e[0].split(s[0])[0]],[t[t.length-1].split(s[1])[1]]]:[r,i]}function pruneIntersections(e){for(var t,r=1;r<e.length;r+=1)t=pruneSegmentIntersection(e[r-1],e[r]),e[r-1]=t[0],e[r]=t[1];return e.length>1&&(t=pruneSegmentIntersection(e[e.length-1],e[0]),e[e.length-1]=t[0],e[0]=t[1]),e}function offsetSegmentSplit(e,t){var r=e.inflectionPoints(),i,s,n,a;if(r.length===0)return[offsetSegment(e,t)];if(r.length===1||floatEqual(r[1],1))return n=e.split(r[0]),i=n[0],s=n[1],[offsetSegment(i,t),offsetSegment(s,t)];n=e.split(r[0]),i=n[0];var h=(r[1]-r[0])/(1-r[0]);return n=n[1].split(h),a=n[0],s=n[1],[offsetSegment(i,t),offsetSegment(a,t),offsetSegment(s,t)]}function OffsetPathModifier(){}extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this.miterLimit=PropertyFactory.getProp(e,t.ml,0,null,this),this.lineJoin=t.lj,this._isAnimated=this.amount.effectsSequence.length!==0},OffsetPathModifier.prototype.processPath=function(e,t,r,i){var s=shapePool.newElement();s.c=e.c;var n=e.length();e.c||(n-=1);var a,h,o,l=[];for(a=0;a<n;a+=1)o=PolynomialBezier.shapeSegment(e,a),l.push(offsetSegmentSplit(o,t));if(!e.c)for(a=n-1;a>=0;a-=1)o=PolynomialBezier.shapeSegmentInverted(e,a),l.push(offsetSegmentSplit(o,t));l=pruneIntersections(l);var d=null,P=null;for(a=0;a<l.length;a+=1){var u=l[a];for(P&&(d=joinLines(s,P,u[0],r,i)),P=u[u.length-1],h=0;h<u.length;h+=1)o=u[h],d&&pointEqual(o.points[0],d)?s.setXYAt(o.points[1][0],o.points[1][1],"o",s.length()-1):s.setTripleAt(o.points[0][0],o.points[0][1],o.points[1][0],o.points[1][1],o.points[0][0],o.points[0][1],s.length()),s.setTripleAt(o.points[3][0],o.points[3][1],o.points[3][0],o.points[3][1],o.points[2][0],o.points[2][1],s.length()),d=o.points[3]}return l.length&&joinLines(s,P,l[0][0],r,i),s},OffsetPathModifier.prototype.processShapes=function(e){var t,r,i=this.shapes.length,s,n,a=this.amount.v,h=this.miterLimit.v,o=this.lineJoin;if(a!==0){var l,d;for(r=0;r<i;r+=1){if(l=this.shapes[r],d=l.localShapeCollection,!(!l.shape._mdf&&!this._mdf&&!e))for(d.releaseShapes(),l.shape._mdf=!0,t=l.shape.paths.shapes,n=l.shape.paths._length,s=0;s<n;s+=1)d.addShape(this.processPath(t[s],a,o,h));l.shape.paths=l.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function getFontProperties(e){for(var t=e.fStyle?e.fStyle.split(" "):[],r="normal",i="normal",s=t.length,n,a=0;a<s;a+=1)switch(n=t[a].toLowerCase(),n){case"italic":i="italic";break;case"bold":r="700";break;case"black":r="900";break;case"medium":r="500";break;case"regular":case"normal":r="400";break;case"light":case"thin":r="200";break}return{style:i,weight:e.fWeight||r}}var FontManager=(function(){var e=5e3,t={w:0,size:0,shapes:[],data:{shapes:[]}},r=[];r=r.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var i=127988,s=917631,n=917601,a=917626,h=65039,o=8205,l=127462,d=127487,P=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function u(E){var w=E.split(","),y,S=w.length,A=[];for(y=0;y<S;y+=1)w[y]!=="sans-serif"&&w[y]!=="monospace"&&A.push(w[y]);return A.join(",")}function _(E,w){var y=createTag("span");y.setAttribute("aria-hidden",!0),y.style.fontFamily=w;var S=createTag("span");S.innerText="giItT1WQy@!-/#",y.style.position="absolute",y.style.left="-10000px",y.style.top="-10000px",y.style.fontSize="300px",y.style.fontVariant="normal",y.style.fontStyle="normal",y.style.fontWeight="normal",y.style.letterSpacing="0",y.appendChild(S),document.body.appendChild(y);var A=S.offsetWidth;return S.style.fontFamily=u(E)+", "+w,{node:S,w:A,parent:y}}function g(){var E,w=this.fonts.length,y,S,A=w;for(E=0;E<w;E+=1)this.fonts[E].loaded?A-=1:this.fonts[E].fOrigin==="n"||this.fonts[E].origin===0?this.fonts[E].loaded=!0:(y=this.fonts[E].monoCase.node,S=this.fonts[E].monoCase.w,y.offsetWidth!==S?(A-=1,this.fonts[E].loaded=!0):(y=this.fonts[E].sansCase.node,S=this.fonts[E].sansCase.w,y.offsetWidth!==S&&(A-=1,this.fonts[E].loaded=!0)),this.fonts[E].loaded&&(this.fonts[E].sansCase.parent.parentNode.removeChild(this.fonts[E].sansCase.parent),this.fonts[E].monoCase.parent.parentNode.removeChild(this.fonts[E].monoCase.parent)));A!==0&&Date.now()-this.initTime<e?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function p(E,w){var y=document.body&&w?"svg":"canvas",S,A=getFontProperties(E);if(y==="svg"){var T=createNS("text");T.style.fontSize="100px",T.setAttribute("font-family",E.fFamily),T.setAttribute("font-style",A.style),T.setAttribute("font-weight",A.weight),T.textContent="1",E.fClass?(T.style.fontFamily="inherit",T.setAttribute("class",E.fClass)):T.style.fontFamily=E.fFamily,w.appendChild(T),S=T}else{var q=new OffscreenCanvas(500,500).getContext("2d");q.font=A.style+" "+A.weight+" 100px "+E.fFamily,S=q}function V(O){return y==="svg"?(S.textContent=O,S.getComputedTextLength()):S.measureText(O).width}return{measureText:V}}function x(E,w){if(!E){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=E.list;return}if(!document.body){this.isLoaded=!0,E.list.forEach(function(Y){Y.helper=p(Y),Y.cache={}}),this.fonts=E.list;return}var y=E.list,S,A=y.length,T=A;for(S=0;S<A;S+=1){var q=!0,V,O;if(y[S].loaded=!1,y[S].monoCase=_(y[S].fFamily,"monospace"),y[S].sansCase=_(y[S].fFamily,"sans-serif"),!y[S].fPath)y[S].loaded=!0,T-=1;else if(y[S].fOrigin==="p"||y[S].origin===3){if(V=document.querySelectorAll('style[f-forigin="p"][f-family="'+y[S].fFamily+'"], style[f-origin="3"][f-family="'+y[S].fFamily+'"]'),V.length>0&&(q=!1),q){var $=createTag("style");$.setAttribute("f-forigin",y[S].fOrigin),$.setAttribute("f-origin",y[S].origin),$.setAttribute("f-family",y[S].fFamily),$.type="text/css",$.innerText="@font-face {font-family: "+y[S].fFamily+"; font-style: normal; src: url('"+y[S].fPath+"');}",w.appendChild($)}}else if(y[S].fOrigin==="g"||y[S].origin===1){for(V=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),O=0;O<V.length;O+=1)V[O].href.indexOf(y[S].fPath)!==-1&&(q=!1);if(q){var z=createTag("link");z.setAttribute("f-forigin",y[S].fOrigin),z.setAttribute("f-origin",y[S].origin),z.type="text/css",z.rel="stylesheet",z.href=y[S].fPath,document.body.appendChild(z)}}else if(y[S].fOrigin==="t"||y[S].origin===2){for(V=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),O=0;O<V.length;O+=1)y[S].fPath===V[O].src&&(q=!1);if(q){var W=createTag("link");W.setAttribute("f-forigin",y[S].fOrigin),W.setAttribute("f-origin",y[S].origin),W.setAttribute("rel","stylesheet"),W.setAttribute("href",y[S].fPath),w.appendChild(W)}}y[S].helper=p(y[S],w),y[S].cache={},this.fonts.push(y[S])}T===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function c(E){if(E){this.chars||(this.chars=[]);var w,y=E.length,S,A=this.chars.length,T;for(w=0;w<y;w+=1){for(S=0,T=!1;S<A;)this.chars[S].style===E[w].style&&this.chars[S].fFamily===E[w].fFamily&&this.chars[S].ch===E[w].ch&&(T=!0),S+=1;T||(this.chars.push(E[w]),A+=1)}}}function m(E,w,y){for(var S=0,A=this.chars.length;S<A;){if(this.chars[S].ch===E&&this.chars[S].style===w&&this.chars[S].fFamily===y)return this.chars[S];S+=1}return(typeof E=="string"&&E.charCodeAt(0)!==13||!E)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",E,w,y)),t}function f(E,w,y){var S=this.getFontByName(w),A=E;if(!S.cache[A]){var T=S.helper;if(E===" "){var q=T.measureText("|"+E+"|"),V=T.measureText("||");S.cache[A]=(q-V)/100}else S.cache[A]=T.measureText(E)/100}return S.cache[A]*y}function v(E){for(var w=0,y=this.fonts.length;w<y;){if(this.fonts[w].fName===E)return this.fonts[w];w+=1}return this.fonts[0]}function b(E){var w=0,y=E.charCodeAt(0);if(y>=55296&&y<=56319){var S=E.charCodeAt(1);S>=56320&&S<=57343&&(w=(y-55296)*1024+S-56320+65536)}return w}function C(E,w){var y=E.toString(16)+w.toString(16);return P.indexOf(y)!==-1}function M(E){return E===o}function I(E){return E===h}function k(E){var w=b(E);return w>=l&&w<=d}function j(E){return k(E.substr(0,2))&&k(E.substr(2,2))}function D(E){return r.indexOf(E)!==-1}function F(E,w){var y=b(E.substr(w,2));if(y!==i)return!1;var S=0;for(w+=2;S<5;){if(y=b(E.substr(w,2)),y<n||y>a)return!1;S+=1,w+=2}return b(E.substr(w,2))===s}function G(){this.isLoaded=!0}var L=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};L.isModifier=C,L.isZeroWidthJoiner=M,L.isFlagEmoji=j,L.isRegionalCode=k,L.isCombinedCharacter=D,L.isRegionalFlag=F,L.isVariationSelector=I,L.BLACK_FLAG_CODE_POINT=i;var R={addChars:c,addFonts:x,getCharData:m,getFontByName:v,measureText:f,checkLoadedFonts:g,setIsLoaded:G};return L.prototype=R,L})();function SlotManager(e){this.animationData=e}SlotManager.prototype.getProp=function(e){return this.animationData.slots&&this.animationData.slots[e.sid]?Object.assign(e,this.animationData.slots[e.sid].p):e};function slotFactory(e){return new SlotManager(e)}function RenderableElement(){}RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(t){this.renderableComponents.indexOf(t)===-1&&this.renderableComponents.push(t)},removeRenderableComponent:function(t){this.renderableComponents.indexOf(t)!==-1&&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?this.isInRange!==!0&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):this.isInRange!==!1&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var t,r=this.renderableComponents.length;for(t=0;t<r;t+=1)this.renderableComponents[t].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return this.data.ty===5?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var getBlendMode=(function(){var e={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(t){return e[t]||""}})();function SliderEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function AngleEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function ColorEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,1,0,r)}function PointEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,1,0,r)}function LayerIndexEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function MaskIndexEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function CheckboxEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function NoValueEffect(){this.p={}}function EffectsManager(e,t){var r=e.ef||[];this.effectElements=[];var i,s=r.length,n;for(i=0;i<s;i+=1)n=new GroupEffect(r[i],t),this.effectElements.push(n)}function GroupEffect(e,t){this.init(e,t)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(e,t){this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(t);var r,i=this.data.ef.length,s,n=this.data.ef;for(r=0;r<i;r+=1){switch(s=null,n[r].ty){case 0:s=new SliderEffect(n[r],t,this);break;case 1:s=new AngleEffect(n[r],t,this);break;case 2:s=new ColorEffect(n[r],t,this);break;case 3:s=new PointEffect(n[r],t,this);break;case 4:case 7:s=new CheckboxEffect(n[r],t,this);break;case 10:s=new LayerIndexEffect(n[r],t,this);break;case 11:s=new MaskIndexEffect(n[r],t,this);break;case 5:s=new EffectsManager(n[r],t);break;default:s=new NoValueEffect(n[r]);break}s&&this.effectElements.push(s)}};function BaseElement(){}BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var t=0,r=this.data.masksProperties.length;t<r;){if(this.data.masksProperties[t].mode!=="n"&&this.data.masksProperties[t].cl!==!1)return!0;t+=1}return!1},initExpressions:function(){var t=getExpressionInterfaces();if(t){var r=t("layer"),i=t("effects"),s=t("shape"),n=t("text"),a=t("comp");this.layerInterface=r(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var h=i.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(h),this.data.ty===0||this.data.xt?this.compInterface=a(this):this.data.ty===4?(this.layerInterface.shapeInterface=s(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):this.data.ty===5&&(this.layerInterface.textInterface=n(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var t=getBlendMode(this.data.bm),r=this.baseElement||this.layerElement;r.style["mix-blend-mode"]=t},initBaseData:function(t,r,i){this.globalData=r,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(){}};function FrameElement(){}FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,r){var i,s=this.dynamicProperties.length;for(i=0;i<s;i+=1)(r||this._isParent&&this.dynamicProperties[i].propType==="transform")&&(this.dynamicProperties[i].getValue(),this.dynamicProperties[i]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(t){this.dynamicProperties.indexOf(t)===-1&&this.dynamicProperties.push(t)}};function FootageElement(e,t,r){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.footageData=t.imageLoader.getAsset(this.assetData),this.initBaseData(e,t,r)}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 e=getExpressionInterfaces();if(e){var t=e("footage");this.layerInterface=t(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData};function AudioElement(e,t,r){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.initBaseData(e,t,r),this._isPlaying=!1,this._canPlay=!1;var i=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(i),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,e.au&&e.au.lv?e.au.lv:{k:[100]},1,.01,this)}AudioElement.prototype.prepareFrame=function(e){if(this.prepareRenderableFrame(e,!0),this.prepareProperties(e,!0),this.tm._placeholder)this._currentTime=e/this.data.sr;else{var t=this.tm.v;this._currentTime=t}this._volume=this.lv.v[0];var r=this._volume*this._volumeMultiplier;this._previousVolume!==r&&(this._previousVolume=r,this.audio.volume(r))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(e){this.audio.rate(e)},AudioElement.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*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(){};function BaseRenderer(){}BaseRenderer.prototype.checkLayers=function(e){var t,r=this.layers.length,i;for(this.completeLayers=!0,t=r-1;t>=0;t-=1)this.elements[t]||(i=this.layers[t],i.ip-i.st<=e-this.layers[t].st&&i.op-i.st>e-this.layers[t].st&&this.buildItem(t)),this.completeLayers=this.elements[t]?this.completeLayers:!1;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(e){switch(e.ty){case 2:return this.createImage(e);case 0:return this.createComp(e);case 1:return this.createSolid(e);case 3:return this.createNull(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 6:return this.createAudio(e);case 13:return this.createCamera(e);case 15:return this.createFootage(e);default:return this.createNull(e)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(e){return new AudioElement(e,this.globalData,this)},BaseRenderer.prototype.createFootage=function(e){return new FootageElement(e,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.buildItem(e);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(e){this.completeLayers=!1;var t,r=e.length,i,s=this.layers.length;for(t=0;t<r;t+=1)for(i=0;i<s;){if(this.layers[i].id===e[t].id){this.layers[i]=e[t];break}i+=1}},BaseRenderer.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(e,t,r){for(var i=this.elements,s=this.layers,n=0,a=s.length;n<a;)s[n].ind==t&&(!i[n]||i[n]===!0?(this.buildItem(n),this.addPendingElement(e)):(r.push(i[n]),i[n].setAsParent(),s[n].parent!==void 0?this.buildElementParenting(e,s[n].parent,r):e.setHierarchy(r))),n+=1},BaseRenderer.prototype.addPendingElement=function(e){this.pendingElements.push(e)},BaseRenderer.prototype.searchExtraCompositions=function(e){var t,r=e.length;for(t=0;t<r;t+=1)if(e[t].xt){var i=this.createComp(e[t]);i.initExpressions(),this.globalData.projectInterface.registerComposition(i)}},BaseRenderer.prototype.getElementById=function(e){var t,r=this.elements.length;for(t=0;t<r;t+=1)if(this.elements[t].data.ind===e)return this.elements[t];return null},BaseRenderer.prototype.getElementByPath=function(e){var t=e.shift(),r;if(typeof t=="number")r=this.elements[t];else{var i,s=this.elements.length;for(i=0;i<s;i+=1)if(this.elements[i].data.nm===t){r=this.elements[i];break}}return e.length===0?r:r.getElementByPath(e)},BaseRenderer.prototype.setupGlobalData=function(e,t){this.globalData.fontManager=new FontManager,this.globalData.slotManager=slotFactory(e),this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,t),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=e.fr,this.globalData.nm=e.nm,this.globalData.compSize={w:e.w,h:e.h}};var effectTypes={TRANSFORM_EFFECT:"transformEFfect"};function TransformElement(){}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,r=this.finalTransform.mat,i=0,s=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;i<s;){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,r.cloneFromProps(t),i=0;i<s;i+=1)r.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,r=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;t<r;)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<r;t+=1){var s=this.localTransforms[t].matrix;i.multiply(s)}i.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var n=this.finalTransform.localOpacity;for(t=0;t<r;t+=1)n*=this.localTransforms[t].opacity*.01;this.finalTransform.localOpacity=n}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var t=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(t.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;var r=0,i=t.length;for(r=0;r<i;r+=1)this.localTransforms.push(t[r])}}},globalToLocal:function(t){var r=[];r.push(this.finalTransform);for(var i=!0,s=this.comp;i;)s.finalTransform?(s.data.hasMask&&r.splice(0,0,s.finalTransform),s=s.comp):i=!1;var n,a=r.length,h;for(n=0;n<a;n+=1)h=r[n].mat.applyToPointArray(0,0,0),t=[t[0]-h[0],t[1]-h[1],0];return t},mHelper:new Matrix};function MaskElement(e,t,r){this.data=e,this.element=t,this.globalData=r,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var i=this.globalData.defs,s,n=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(n),this.solidPath="";var a,h=this.masksProperties,o=0,l=[],d,P,u=createElementID(),_,g,p,x,c="clipPath",m="clip-path";for(s=0;s<n;s+=1)if((h[s].mode!=="a"&&h[s].mode!=="n"||h[s].inv||h[s].o.k!==100||h[s].o.x)&&(c="mask",m="mask"),(h[s].mode==="s"||h[s].mode==="i")&&o===0?(_=createNS("rect"),_.setAttribute("fill","#ffffff"),_.setAttribute("width",this.element.comp.data.w||0),_.setAttribute("height",this.element.comp.data.h||0),l.push(_)):_=null,a=createNS("path"),h[s].mode==="n")this.viewData[s]={op:PropertyFactory.getProp(this.element,h[s].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,h[s],3),elem:a,lastPath:""},i.appendChild(a);else{o+=1,a.setAttribute("fill",h[s].mode==="s"?"#000000":"#ffffff"),a.setAttribute("clip-rule","nonzero");var f;if(h[s].x.k!==0?(c="mask",m="mask",x=PropertyFactory.getProp(this.element,h[s].x,0,null,this.element),f=createElementID(),g=createNS("filter"),g.setAttribute("id",f),p=createNS("feMorphology"),p.setAttribute("operator","erode"),p.setAttribute("in","SourceGraphic"),p.setAttribute("radius","0"),g.appendChild(p),i.appendChild(g),a.setAttribute("stroke",h[s].mode==="s"?"#000000":"#ffffff")):(p=null,x=null),this.storedData[s]={elem:a,x,expan:p,lastPath:"",lastOperator:"",filterId:f,lastRadius:0},h[s].mode==="i"){P=l.length;var v=createNS("g");for(d=0;d<P;d+=1)v.appendChild(l[d]);var b=createNS("mask");b.setAttribute("mask-type","alpha"),b.setAttribute("id",u+"_"+o),b.appendChild(a),i.appendChild(b),v.setAttribute("mask","url("+getLocationHref()+"#"+u+"_"+o+")"),l.length=0,l.push(v)}else l.push(a);h[s].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[s]={elem:a,lastPath:"",op:PropertyFactory.getProp(this.element,h[s].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,h[s],3),invRect:_},this.viewData[s].prop.k||this.drawPath(h[s],this.viewData[s].prop.v,this.viewData[s])}for(this.maskElement=createNS(c),n=l.length,s=0;s<n;s+=1)this.maskElement.appendChild(l[s]);o>0&&(this.maskElement.setAttribute("id",u),this.element.maskedElement.setAttribute(m,"url("+getLocationHref()+"#"+u+")"),i.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}MaskElement.prototype.getMaskProperty=function(e){return this.viewData[e].prop},MaskElement.prototype.renderFrame=function(e){var t=this.element.finalTransform.mat,r,i=this.masksProperties.length;for(r=0;r<i;r+=1)if((this.viewData[r].prop._mdf||e)&&this.drawPath(this.masksProperties[r],this.viewData[r].prop.v,this.viewData[r]),(this.viewData[r].op._mdf||e)&&this.viewData[r].elem.setAttribute("fill-opacity",this.viewData[r].op.v),this.masksProperties[r].mode!=="n"&&(this.viewData[r].invRect&&(this.element.finalTransform.mProp._mdf||e)&&this.viewData[r].invRect.setAttribute("transform",t.getInverseMatrix().to2dCSS()),this.storedData[r].x&&(this.storedData[r].x._mdf||e))){var s=this.storedData[r].expan;this.storedData[r].x.v<0?(this.storedData[r].lastOperator!=="erode"&&(this.storedData[r].lastOperator="erode",this.storedData[r].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[r].filterId+")")),s.setAttribute("radius",-this.storedData[r].x.v)):(this.storedData[r].lastOperator!=="dilate"&&(this.storedData[r].lastOperator="dilate",this.storedData[r].elem.setAttribute("filter",null)),this.storedData[r].elem.setAttribute("stroke-width",this.storedData[r].x.v*2))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var e="M0,0 ";return e+=" h"+this.globalData.compSize.w,e+=" v"+this.globalData.compSize.h,e+=" h-"+this.globalData.compSize.w,e+=" v-"+this.globalData.compSize.h+" ",e},MaskElement.prototype.drawPath=function(e,t,r){var i=" M"+t.v[0][0]+","+t.v[0][1],s,n;for(n=t._length,s=1;s<n;s+=1)i+=" C"+t.o[s-1][0]+","+t.o[s-1][1]+" "+t.i[s][0]+","+t.i[s][1]+" "+t.v[s][0]+","+t.v[s][1];if(t.c&&n>1&&(i+=" C"+t.o[s-1][0]+","+t.o[s-1][1]+" "+t.i[0][0]+","+t.i[0][1]+" "+t.v[0][0]+","+t.v[0][1]),r.lastPath!==i){var a="";r.elem&&(t.c&&(a=e.inv?this.solidPath+i:i),r.elem.setAttribute("d",a)),r.lastPath=i}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=(function(){var e={};e.createFilter=t,e.createAlphaToLuminanceFilter=r;function t(i,s){var n=createNS("filter");return n.setAttribute("id",i),s!==!0&&(n.setAttribute("filterUnits","objectBoundingBox"),n.setAttribute("x","0%"),n.setAttribute("y","0%"),n.setAttribute("width","100%"),n.setAttribute("height","100%")),n}function r(){var i=createNS("feColorMatrix");return i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),i}return e})(),featureSupport=(function(){var e={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas!="undefined"};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))&&(e.maskType=!1),/firefox/i.test(navigator.userAgent)&&(e.svgLumaHidden=!1),e})(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(e){var t,r="SourceGraphic",i=e.data.ef?e.data.ef.length:0,s=createElementID(),n=filtersFactory.createFilter(s,!0),a=0;this.filters=[];var h;for(t=0;t<i;t+=1){h=null;var o=e.data.ef[t].ty;if(registeredEffects$1[o]){var l=registeredEffects$1[o].effect;h=new l(n,e.effectsManager.effectElements[t],e,idPrefix+a,r),r=idPrefix+a,registeredEffects$1[o].countsAsEffect&&(a+=1)}h&&this.filters.push(h)}a&&(e.globalData.defs.appendChild(n),e.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+s+")")),this.filters.length&&e.addRenderableComponent(this)}SVGEffects.prototype.renderFrame=function(e){var t,r=this.filters.length;for(t=0;t<r;t+=1)this.filters[t].renderFrame(e)},SVGEffects.prototype.getEffects=function(e){var t,r=this.filters.length,i=[];for(t=0;t<r;t+=1)this.filters[t].type===e&&i.push(this.filters[t]);return i};function registerEffect$1(e,t,r){registeredEffects$1[e]={effect:t,countsAsEffect:r}}function SVGBaseElement(){}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 r=createNS("g");r.setAttribute("id",this.layerId),r.appendChild(this.layerElement),t=r,this.globalData.defs.appendChild(r)}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),this.data.ty===0&&!this.data.hd){var i=createNS("clipPath"),s=createNS("path");s.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var n=createElementID();if(i.setAttribute("id",n),i.appendChild(s),this.globalData.defs.appendChild(i),this.checkMasks()){var a=createNS("g");a.setAttribute("clip-path","url("+getLocationHref()+"#"+n+")"),a.appendChild(this.layerElement),this.transformedElement=a,t?t.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+n+")")}this.data.bm!==0&&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 r=this.layerId+"_"+t,i,s,n,a;if(t===1||t===3){var h=createNS("mask");h.setAttribute("id",r),h.setAttribute("mask-type",t===3?"luminance":"alpha"),n=createNS("use"),n.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),h.appendChild(n),this.globalData.defs.appendChild(h),!featureSupport.maskType&&t===1&&(h.setAttribute("mask-type","luminance"),i=createElementID(),s=filtersFactory.createFilter(i),this.globalData.defs.appendChild(s),s.appendChild(filtersFactory.createAlphaToLuminanceFilter()),a=createNS("g"),a.appendChild(n),h.appendChild(a),a.setAttribute("filter","url("+getLocationHref()+"#"+i+")"))}else if(t===2){var o=createNS("mask");o.setAttribute("id",r),o.setAttribute("mask-type","alpha");var l=createNS("g");o.appendChild(l),i=createElementID(),s=filtersFactory.createFilter(i);var d=createNS("feComponentTransfer");d.setAttribute("in","SourceGraphic"),s.appendChild(d);var P=createNS("feFuncA");P.setAttribute("type","table"),P.setAttribute("tableValues","1.0 0.0"),d.appendChild(P),this.globalData.defs.appendChild(s);var u=createNS("rect");u.setAttribute("width",this.comp.data.w),u.setAttribute("height",this.comp.data.h),u.setAttribute("x","0"),u.setAttribute("y","0"),u.setAttribute("fill","#ffffff"),u.setAttribute("opacity","0"),l.setAttribute("filter","url("+getLocationHref()+"#"+i+")"),l.appendChild(u),n=createNS("use"),n.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),l.appendChild(n),featureSupport.maskType||(o.setAttribute("mask-type","luminance"),s.appendChild(filtersFactory.createAlphaToLuminanceFilter()),a=createNS("g"),l.appendChild(u),a.appendChild(this.layerElement),l.appendChild(a)),this.globalData.defs.appendChild(o)}this.matteMasks[t]=r}return this.matteMasks[t]},setMatte:function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+t+")")}};function HierarchyElement(){}HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(t){this.hierarchy=t},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function RenderableDOMElement(){}(function(){var e={initElement:function(r,i,s){this.initFrame(),this.initBaseData(r,i,s),this.initTransform(r,i,s),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var r=this.baseElement||this.layerElement;r.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var r=this.baseElement||this.layerElement;r.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(r){this._mdf=!1,this.prepareRenderableFrame(r),this.prepareProperties(r,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};extendPrototype([RenderableElement,createProxyFunction(e)],RenderableDOMElement)})();function IImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.assetData&&this.assetData.sid&&(this.assetData=t.slotManager.getProp(this.assetData)),this.initElement(e,t,r),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var e=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",e),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect};function ProcessedElement(e,t){this.elem=e,this.pos=t}function IShapeElement(){}IShapeElement.prototype={addShapeToModifiers:function(t){var r,i=this.shapeModifiers.length;for(r=0;r<i;r+=1)this.shapeModifiers[r].addShape(t)},isShapeInAnimatedModifiers:function(t){for(var r=0,i=this.shapeModifiers.length;r<i;)if(this.shapeModifiers[r].isAnimatedWithShape(t))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var t,r=this.shapes.length;for(t=0;t<r;t+=1)this.shapes[t].sh.reset();r=this.shapeModifiers.length;var i;for(t=r-1;t>=0&&(i=this.shapeModifiers[t].processShapes(this._isFirstFrame),!i);t-=1);}},searchProcessedElement:function(t){for(var r=this.processedElements,i=0,s=r.length;i<s;){if(r[i].elem===t)return r[i].pos;i+=1}return 0},addProcessedElement:function(t,r){for(var i=this.processedElements,s=i.length;s;)if(s-=1,i[s].elem===t){i[s].pos=r;return}i.push(new ProcessedElement(t,r))},prepareFrame:function(t){this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(e,t,r){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=r,this.lvl=t,this._isAnimated=!!r.k;for(var i=0,s=e.length;i<s;){if(e[i].mProps.dynamicProperties.length){this._isAnimated=!0;break}i+=1}}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0};function SVGStyleData(e,t){this.data=e,this.type=e.ty,this.d="",this.lvl=t,this._mdf=!1,this.closed=e.hd===!0,this.pElem=createNS("path"),this.msElem=null}SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1};function DashProperty(e,t,r,i){this.elem=e,this.frameId=-1,this.dataProps=createSizedArray(t.length),this.renderer=r,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",t.length?t.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(i);var s,n=t.length||0,a;for(s=0;s<n;s+=1)a=PropertyFactory.getProp(e,t[s].v,0,0,this),this.k=a.k||this.k,this.dataProps[s]={n:t[s].n,p:a};this.k||this.getValue(!0),this._isAnimated=this.k}DashProperty.prototype.getValue=function(e){if(!(this.elem.globalData.frameId===this.frameId&&!e)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||e,this._mdf)){var t=0,r=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),t=0;t<r;t+=1)this.dataProps[t].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[t].p.v:this.dashArray[t]=this.dataProps[t].p.v:this.dashoffset[0]=this.dataProps[t].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty);function SVGStrokeStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=r,this._isAnimated=!!this._isAnimated}extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData);function SVGFillStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=r}extendPrototype([DynamicPropertyContainer],SVGFillStyleData);function SVGNoStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.style=r}extendPrototype([DynamicPropertyContainer],SVGNoStyleData);function GradientProperty(e,t,r){this.data=t,this.c=createTypedArray("uint8c",t.p*4);var i=t.k.k[0].s?t.k.k[0].s.length-t.p*4:t.k.k.length-t.p*4;this.o=createTypedArray("float32",i),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=i,this.initDynamicPropertyContainer(r),this.prop=PropertyFactory.getProp(e,t.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}GradientProperty.prototype.comparePoints=function(e,t){for(var r=0,i=this.o.length/2,s;r<i;){if(s=Math.abs(e[r*4]-e[t*4+r*2]),s>.01)return!1;r+=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 e=0,t=this.data.k.k.length;e<t;){if(!this.comparePoints(this.data.k.k[e].s,this.data.p))return!1;e+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(e){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||e){var t,r=this.data.p*4,i,s;for(t=0;t<r;t+=1)i=t%4===0?100:255,s=Math.round(this.prop.v[t]*i),this.c[t]!==s&&(this.c[t]=s,this._cmdf=!e);if(this.o.length)for(r=this.prop.v.length,t=this.data.p*4;t<r;t+=1)i=t%2===0?100:1,s=t%2===0?Math.round(this.prop.v[t]*100):this.prop.v[t],this.o[t-this.data.p*4]!==s&&(this.o[t-this.data.p*4]=s,this._omdf=!e);this._mdf=!e}},extendPrototype([DynamicPropertyContainer],GradientProperty);function SVGGradientFillStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,t,r)}SVGGradientFillStyleData.prototype.initGradientData=function(e,t,r){this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.s=PropertyFactory.getProp(e,t.s,1,null,this),this.e=PropertyFactory.getProp(e,t.e,1,null,this),this.h=PropertyFactory.getProp(e,t.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(e,t.a||{k:0},0,degToRads,this),this.g=new GradientProperty(e,t.g,this),this.style=r,this.stops=[],this.setGradientData(r.pElem,t),this.setGradientOpacity(t,r),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(e,t){var r=createElementID(),i=createNS(t.t===1?"linearGradient":"radialGradient");i.setAttribute("id",r),i.setAttribute("spreadMethod","pad"),i.setAttribute("gradientUnits","userSpaceOnUse");var s=[],n,a,h;for(h=t.g.p*4,a=0;a<h;a+=4)n=createNS("stop"),i.appendChild(n),s.push(n);e.setAttribute(t.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+r+")"),this.gf=i,this.cst=s},SVGGradientFillStyleData.prototype.setGradientOpacity=function(e,t){if(this.g._hasOpacity&&!this.g._collapsable){var r,i,s,n=createNS("mask"),a=createNS("path");n.appendChild(a);var h=createElementID(),o=createElementID();n.setAttribute("id",o);var l=createNS(e.t===1?"linearGradient":"radialGradient");l.setAttribute("id",h),l.setAttribute("spreadMethod","pad"),l.setAttribute("gradientUnits","userSpaceOnUse"),s=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var d=this.stops;for(i=e.g.p*4;i<s;i+=2)r=createNS("stop"),r.setAttribute("stop-color","rgb(255,255,255)"),l.appendChild(r),d.push(r);a.setAttribute(e.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+h+")"),e.ty==="gs"&&(a.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),a.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),e.lj===1&&a.setAttribute("stroke-miterlimit",e.ml)),this.of=l,this.ms=n,this.ost=d,this.maskId=o,t.msElem=a}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData);function SVGGradientStrokeStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.initGradientData(e,t,r),this._isAnimated=!!this._isAnimated}extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(e,t,r){this.transform={mProps:e,op:t,container:r},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var buildShapeString=function(t,r,i,s){if(r===0)return"";var n=t.o,a=t.i,h=t.v,o,l=" M"+s.applyToPointStringified(h[0][0],h[0][1]);for(o=1;o<r;o+=1)l+=" C"+s.applyToPointStringified(n[o-1][0],n[o-1][1])+" "+s.applyToPointStringified(a[o][0],a[o][1])+" "+s.applyToPointStringified(h[o][0],h[o][1]);return i&&r&&(l+=" C"+s.applyToPointStringified(n[o-1][0],n[o-1][1])+" "+s.applyToPointStringified(a[0][0],a[0][1])+" "+s.applyToPointStringified(h[0][0],h[0][1]),l+="z"),l},SVGElementsRenderer=(function(){var e=new Matrix,t=new Matrix,r={createRenderFunction:i};function i(P){switch(P.ty){case"fl":return h;case"gf":return l;case"gs":return o;case"st":return d;case"sh":case"el":case"rc":case"sr":return a;case"tr":return s;case"no":return n;default:return null}}function s(P,u,_){(_||u.transform.op._mdf)&&u.transform.container.setAttribute("opacity",u.transform.op.v),(_||u.transform.mProps._mdf)&&u.transform.container.setAttribute("transform",u.transform.mProps.v.to2dCSS())}function n(){}function a(P,u,_){var g,p,x,c,m,f,v=u.styles.length,b=u.lvl,C,M,I,k;for(f=0;f<v;f+=1){if(c=u.sh._mdf||_,u.styles[f].lvl<b){for(M=t.reset(),I=b-u.styles[f].lvl,k=u.transformers.length-1;!c&&I>0;)c=u.transformers[k].mProps._mdf||c,I-=1,k-=1;if(c)for(I=b-u.styles[f].lvl,k=u.transformers.length-1;I>0;)M.multiply(u.transformers[k].mProps.v),I-=1,k-=1}else M=e;if(C=u.sh.paths,p=C._length,c){for(x="",g=0;g<p;g+=1)m=C.shapes[g],m&&m._length&&(x+=buildShapeString(m,m._length,m.c,M));u.caches[f]=x}else x=u.caches[f];u.styles[f].d+=P.hd===!0?"":x,u.styles[f]._mdf=c||u.styles[f]._mdf}}function h(P,u,_){var g=u.style;(u.c._mdf||_)&&g.pElem.setAttribute("fill","rgb("+bmFloor(u.c.v[0])+","+bmFloor(u.c.v[1])+","+bmFloor(u.c.v[2])+")"),(u.o._mdf||_)&&g.pElem.setAttribute("fill-opacity",u.o.v)}function o(P,u,_){l(P,u,_),d(P,u,_)}function l(P,u,_){var g=u.gf,p=u.g._hasOpacity,x=u.s.v,c=u.e.v;if(u.o._mdf||_){var m=P.ty==="gf"?"fill-opacity":"stroke-opacity";u.style.pElem.setAttribute(m,u.o.v)}if(u.s._mdf||_){var f=P.t===1?"x1":"cx",v=f==="x1"?"y1":"cy";g.setAttribute(f,x[0]),g.setAttribute(v,x[1]),p&&!u.g._collapsable&&(u.of.setAttribute(f,x[0]),u.of.setAttribute(v,x[1]))}var b,C,M,I;if(u.g._cmdf||_){b=u.cst;var k=u.g.c;for(M=b.length,C=0;C<M;C+=1)I=b[C],I.setAttribute("offset",k[C*4]+"%"),I.setAttribute("stop-color","rgb("+k[C*4+1]+","+k[C*4+2]+","+k[C*4+3]+")")}if(p&&(u.g._omdf||_)){var j=u.g.o;for(u.g._collapsable?b=u.cst:b=u.ost,M=b.length,C=0;C<M;C+=1)I=b[C],u.g._collapsable||I.setAttribute("offset",j[C*2]+"%"),I.setAttribute("stop-opacity",j[C*2+1])}if(P.t===1)(u.e._mdf||_)&&(g.setAttribute("x2",c[0]),g.setAttribute("y2",c[1]),p&&!u.g._collapsable&&(u.of.setAttribute("x2",c[0]),u.of.setAttribute("y2",c[1])));else{var D;if((u.s._mdf||u.e._mdf||_)&&(D=Math.sqrt(Math.pow(x[0]-c[0],2)+Math.pow(x[1]-c[1],2)),g.setAttribute("r",D),p&&!u.g._collapsable&&u.of.setAttribute("r",D)),u.s._mdf||u.e._mdf||u.h._mdf||u.a._mdf||_){D||(D=Math.sqrt(Math.pow(x[0]-c[0],2)+Math.pow(x[1]-c[1],2)));var F=Math.atan2(c[1]-x[1],c[0]-x[0]),G=u.h.v;G>=1?G=.99:G<=-1&&(G=-.99);var L=D*G,R=Math.cos(F+u.a.v)*L+x[0],E=Math.sin(F+u.a.v)*L+x[1];g.setAttribute("fx",R),g.setAttribute("fy",E),p&&!u.g._collapsable&&(u.of.setAttribute("fx",R),u.of.setAttribute("fy",E))}}}function d(P,u,_){var g=u.style,p=u.d;p&&(p._mdf||_)&&p.dashStr&&(g.pElem.setAttribute("stroke-dasharray",p.dashStr),g.pElem.setAttribute("stroke-dashoffset",p.dashoffset[0])),u.c&&(u.c._mdf||_)&&g.pElem.setAttribute("stroke","rgb("+bmFloor(u.c.v[0])+","+bmFloor(u.c.v[1])+","+bmFloor(u.c.v[2])+")"),(u.o._mdf||_)&&g.pElem.setAttribute("stroke-opacity",u.o.v),(u.w._mdf||_)&&(g.pElem.setAttribute("stroke-width",u.w.v),g.msElem&&g.msElem.setAttribute("stroke-width",u.w.v))}return r})();function SVGShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,t,r),this.prevViewData=[]}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 e,t=this.shapes.length,r,i,s=this.stylesList.length,n,a=[],h=!1;for(i=0;i<s;i+=1){for(n=this.stylesList[i],h=!1,a.length=0,e=0;e<t;e+=1)r=this.shapes[e],r.styles.indexOf(n)!==-1&&(a.push(r),h=r._isAnimated||h);a.length>1&&h&&this.setShapesAsAnimated(a)}},SVGShapeElement.prototype.setShapesAsAnimated=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(e,t){var r,i=new SVGStyleData(e,t),s=i.pElem;if(e.ty==="st")r=new SVGStrokeStyleData(this,e,i);else if(e.ty==="fl")r=new SVGFillStyleData(this,e,i);else if(e.ty==="gf"||e.ty==="gs"){var n=e.ty==="gf"?SVGGradientFillStyleData:SVGGradientStrokeStyleData;r=new n(this,e,i),this.globalData.defs.appendChild(r.gf),r.maskId&&(this.globalData.defs.appendChild(r.ms),this.globalData.defs.appendChild(r.of),s.setAttribute("mask","url("+getLocationHref()+"#"+r.maskId+")"))}else e.ty==="no"&&(r=new SVGNoStyleData(this,e,i));return(e.ty==="st"||e.ty==="gs")&&(s.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),s.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),s.setAttribute("fill-opacity","0"),e.lj===1&&s.setAttribute("stroke-miterlimit",e.ml)),e.r===2&&s.setAttribute("fill-rule","evenodd"),e.ln&&s.setAttribute("id",e.ln),e.cl&&s.setAttribute("class",e.cl),e.bm&&(s.style["mix-blend-mode"]=getBlendMode(e.bm)),this.stylesList.push(i),this.addToAnimatedContents(e,r),r},SVGShapeElement.prototype.createGroupElement=function(e){var t=new ShapeGroupData;return e.ln&&t.gr.setAttribute("id",e.ln),e.cl&&t.gr.setAttribute("class",e.cl),e.bm&&(t.gr.style["mix-blend-mode"]=getBlendMode(e.bm)),t},SVGShapeElement.prototype.createTransformElement=function(e,t){var r=TransformPropertyFactory.getTransformProperty(this,e,this),i=new SVGTransformData(r,r.o,t);return this.addToAnimatedContents(e,i),i},SVGShapeElement.prototype.createShapeElement=function(e,t,r){var i=4;e.ty==="rc"?i=5:e.ty==="el"?i=6:e.ty==="sr"&&(i=7);var s=ShapePropertyFactory.getShapeProp(this,e,i,this),n=new SVGShapeData(t,r,s);return this.shapes.push(n),this.addShapeToModifiers(n),this.addToAnimatedContents(e,n),n},SVGShapeElement.prototype.addToAnimatedContents=function(e,t){for(var r=0,i=this.animatedContents.length;r<i;){if(this.animatedContents[r].element===t)return;r+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(e),element:t,data:e})},SVGShapeElement.prototype.setElementStyles=function(e){var t=e.styles,r,i=this.stylesList.length;for(r=0;r<i;r+=1)t.indexOf(this.stylesList[r])===-1&&!this.stylesList[r].closed&&t.push(this.stylesList[r])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var e,t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(e,t,r,i,s,n,a){var h=[].concat(n),o,l=e.length-1,d,P,u=[],_=[],g,p,x;for(o=l;o>=0;o-=1){if(x=this.searchProcessedElement(e[o]),x?t[o]=r[x-1]:e[o]._render=a,e[o].ty==="fl"||e[o].ty==="st"||e[o].ty==="gf"||e[o].ty==="gs"||e[o].ty==="no")x?t[o].style.closed=e[o].hd:t[o]=this.createStyleElement(e[o],s),e[o]._render&&t[o].style.pElem.parentNode!==i&&i.appendChild(t[o].style.pElem),u.push(t[o].style);else if(e[o].ty==="gr"){if(!x)t[o]=this.createGroupElement(e[o]);else for(P=t[o].it.length,d=0;d<P;d+=1)t[o].prevViewData[d]=t[o].it[d];this.searchShapes(e[o].it,t[o].it,t[o].prevViewData,t[o].gr,s+1,h,a),e[o]._render&&t[o].gr.parentNode!==i&&i.appendChild(t[o].gr)}else e[o].ty==="tr"?(x||(t[o]=this.createTransformElement(e[o],i)),g=t[o].transform,h.push(g)):e[o].ty==="sh"||e[o].ty==="rc"||e[o].ty==="el"||e[o].ty==="sr"?(x||(t[o]=this.createShapeElement(e[o],h,s)),this.setElementStyles(t[o])):e[o].ty==="tm"||e[o].ty==="rd"||e[o].ty==="ms"||e[o].ty==="pb"||e[o].ty==="zz"||e[o].ty==="op"?(x?(p=t[o],p.closed=!1):(p=ShapeModifiers.getModifier(e[o].ty),p.init(this,e[o]),t[o]=p,this.shapeModifiers.push(p)),_.push(p)):e[o].ty==="rp"&&(x?(p=t[o],p.closed=!0):(p=ShapeModifiers.getModifier(e[o].ty),t[o]=p,p.init(this,e,o,t),this.shapeModifiers.push(p),a=!1),_.push(p));this.addProcessedElement(e[o],o+1)}for(l=u.length,o=0;o<l;o+=1)u[o].closed=!0;for(l=_.length,o=0;o<l;o+=1)_[o].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();var e,t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<t;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var e,t=this.animatedContents.length,r;for(e=0;e<t;e+=1)r=this.animatedContents[e],(this._isFirstFrame||r.element._isAnimated)&&r.data!==!0&&r.fn(r.data,r.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function LetterProps(e,t,r,i,s,n){this.o=e,this.sw=t,this.sc=r,this.fc=i,this.m=s,this.p=n,this._mdf={o:!0,sw:!!t,sc:!!r,fc:!!i,m:!0,p:!0}}LetterProps.prototype.update=function(e,t,r,i,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!==e&&(this.o=e,this._mdf.o=!0,a=!0),this.sw!==t&&(this.sw=t,this._mdf.sw=!0,a=!0),this.sc!==r&&(this.sc=r,this._mdf.sc=!0,a=!0),this.fc!==i&&(this.fc=i,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};function TextProperty(e,t){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,t.d&&t.d.sid&&(t.d=e.globalData.slotManager.getProp(t.d)),this.data=t,this.elem=e,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)}TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},TextProperty.prototype.setCurrentData=function(e){e.__complete||this.completeTextData(e),this.currentData=e,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(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(e){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!e)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var t=this.currentData,r=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var i,s=this.effectsSequence.length,n=e||this.data.d.k[this.keysIndex].s;for(i=0;i<s;i+=1)r!==this.keysIndex?n=this.effectsSequence[i](n,n.t):n=this.effectsSequence[i](this.currentData,n.t);t!==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 e=this.data.d.k,t=this.elem.comp.renderedFrame,r=0,i=e.length;r<=i-1&&!(r===i-1||e[r+1].t>t);)r+=1;return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(e){for(var t=[],r=0,i=e.length,s,n,a=!1,h=!1,o="";r<i;)a=h,h=!1,s=e.charCodeAt(r),o=e.charAt(r),FontManager.isCombinedCharacter(s)?a=!0:s>=55296&&s<=56319?FontManager.isRegionalFlag(e,r)?o=e.substr(r,14):(n=e.charCodeAt(r+1),n>=56320&&n<=57343&&(FontManager.isModifier(s,n)?(o=e.substr(r,2),a=!0):FontManager.isFlagEmoji(e.substr(r,4))?o=e.substr(r,4):o=e.substr(r,2))):s>56319?(n=e.charCodeAt(r+1),FontManager.isVariationSelector(s)&&(a=!0)):FontManager.isZeroWidthJoiner(s)&&(a=!0,h=!0),a?(t[t.length-1]+=o,a=!1):t.push(o),r+=o.length;return t},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t=this.elem.globalData.fontManager,r=this.data,i=[],s,n,a,h=0,o,l=r.m.g,d=0,P=0,u=0,_=[],g=0,p=0,x,c,m=t.getFontByName(e.f),f,v=0,b=getFontProperties(m);e.fWeight=b.weight,e.fStyle=b.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),n=e.finalText.length,e.finalLineHeight=e.lh;var C=e.tr/1e3*e.finalSize,M;if(e.sz)for(var I=!0,k=e.sz[0],j=e.sz[1],D,F;I;){F=this.buildFinalText(e.t),D=0,g=0,n=F.length,C=e.tr/1e3*e.finalSize;var G=-1;for(s=0;s<n;s+=1)M=F[s].charCodeAt(0),a=!1,F[s]===" "?G=s:(M===13||M===3)&&(g=0,a=!0,D+=e.finalLineHeight||e.finalSize*1.2),t.chars?(f=t.getCharData(F[s],m.fStyle,m.fFamily),v=a?0:f.w*e.finalSize/100):v=t.measureText(F[s],e.f,e.finalSize),g+v>k&&F[s]!==" "?(G===-1?n+=1:s=G,D+=e.finalLineHeight||e.finalSize*1.2,F.splice(s,G===s?1:0,"\r"),G=-1,g=0):(g+=v,g+=C);D+=m.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&j<D?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=F,n=e.finalText.length,I=!1)}g=-C,v=0;var L=0,R;for(s=0;s<n;s+=1)if(a=!1,R=e.finalText[s],M=R.charCodeAt(0),M===13||M===3?(L=0,_.push(g),p=g>p?g:p,g=-2*C,o="",a=!0,u+=1):o=R,t.chars?(f=t.getCharData(R,m.fStyle,t.getFontByName(e.f).fFamily),v=a?0:f.w*e.finalSize/100):v=t.measureText(o,e.f,e.finalSize),R===" "?L+=v+C:(g+=v+C+L,L=0),i.push({l:v,an:v,add:d,n:a,anIndexes:[],val:o,line:u,animatorJustifyOffset:0}),l==2){if(d+=v,o===""||o===" "||s===n-1){for((o===""||o===" ")&&(d-=v);P<=s;)i[P].an=d,i[P].ind=h,i[P].extra=v,P+=1;h+=1,d=0}}else if(l==3){if(d+=v,o===""||s===n-1){for(o===""&&(d-=v);P<=s;)i[P].an=d,i[P].ind=h,i[P].extra=v,P+=1;d=0,h+=1}}else i[h].ind=h,i[h].extra=0,h+=1;if(e.l=i,p=g>p?g:p,_.push(g),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=p,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=_;var E=r.a,w,y;c=E.length;var S,A,T=[];for(x=0;x<c;x+=1){for(w=E[x],w.a.sc&&(e.strokeColorAnim=!0),w.a.sw&&(e.strokeWidthAnim=!0),(w.a.fc||w.a.fh||w.a.fs||w.a.fb)&&(e.fillColorAnim=!0),A=0,S=w.s.b,s=0;s<n;s+=1)y=i[s],y.anIndexes[x]=A,(S==1&&y.val!==""||S==2&&y.val!==""&&y.val!==" "||S==3&&(y.n||y.val==" "||s==n-1)||S==4&&(y.n||s==n-1))&&(w.s.rn===1&&T.push(A),A+=1);r.a[x].s.totalChars=A;var q=-1,V;if(w.s.rn===1)for(s=0;s<n;s+=1)y=i[s],q!=y.anIndexes[x]&&(q=y.anIndexes[x],V=T.splice(Math.floor(Math.random()*T.length),1)[0]),y.anIndexes[x]=V}e.yOffset=e.finalLineHeight||e.finalSize*1.2,e.ls=e.ls||0,e.ascent=m.ascent*e.finalSize/100},TextProperty.prototype.updateDocumentData=function(e,t){t=t===void 0?this.keysIndex:t;var r=this.copyData({},this.data.d.k[t].s);r=this.copyData(r,e),this.data.d.k[t].s=r,this.recalculate(t),this.setCurrentData(r),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(e){var t=this.data.d.k[e].s;t.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(t)},TextProperty.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=(function(){var e=Math.max,t=Math.min,r=Math.floor;function i(n,a){this._currentTextLength=-1,this.k=!1,this.data=a,this.elem=n,this.comp=n.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(n),this.s=PropertyFactory.getProp(n,a.s||{k:0},0,0,this),"e"in a?this.e=PropertyFactory.getProp(n,a.e,0,0,this):this.e={v:100},this.o=PropertyFactory.getProp(n,a.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(n,a.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(n,a.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(n,a.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(n,a.a,0,.01,this),this.dynamicProperties.length||this.getValue()}i.prototype={getMult:function(a){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var h=0,o=0,l=1,d=1;this.ne.v>0?h=this.ne.v/100:o=-this.ne.v/100,this.xe.v>0?l=1-this.xe.v/100:d=1+this.xe.v/100;var P=BezierFactory.getBezierEasing(h,o,l,d).get,u=0,_=this.finalS,g=this.finalE,p=this.data.sh;if(p===2)g===_?u=a>=g?1:0:u=e(0,t(.5/(g-_)+(a-_)/(g-_),1)),u=P(u);else if(p===3)g===_?u=a>=g?0:1:u=1-e(0,t(.5/(g-_)+(a-_)/(g-_),1)),u=P(u);else if(p===4)g===_?u=0:(u=e(0,t(.5/(g-_)+(a-_)/(g-_),1)),u<.5?u*=2:u=1-2*(u-.5)),u=P(u);else if(p===5){if(g===_)u=0;else{var x=g-_;a=t(e(0,a+.5-_),g-_);var c=-x/2+a,m=x/2;u=Math.sqrt(1-c*c/(m*m))}u=P(u)}else p===6?(g===_?u=0:(a=t(e(0,a+.5-_),g-_),u=(1+Math.cos(Math.PI+Math.PI*2*a/(g-_)))/2),u=P(u)):(a>=r(_)&&(a-_<0?u=e(0,t(t(g,1)-(_-a),1)):u=e(0,t(g-a,1))),u=P(u));if(this.sm.v!==100){var f=this.sm.v*.01;f===0&&(f=1e-8);var v=.5-f*.5;u<v?u=0:(u=(u-v)/f,u>1&&(u=1))}return u*this.a.v},getValue:function(a){this.iterateDynamicProperties(),this._mdf=a||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,a&&this.data.r===2&&(this.e.v=this._currentTextLength);var h=this.data.r===2?1:100/this.data.totalChars,o=this.o.v/h,l=this.s.v/h+o,d=this.e.v/h+o;if(l>d){var P=l;l=d,d=P}this.finalS=l,this.finalE=d}},extendPrototype([DynamicPropertyContainer],i);function s(n,a,h){return new i(n,a)}return{getTextSelectorProp:s}})();function TextAnimatorDataProperty(e,t,r){var i={propType:!1},s=PropertyFactory.getProp,n=t.a;this.a={r:n.r?s(e,n.r,0,degToRads,r):i,rx:n.rx?s(e,n.rx,0,degToRads,r):i,ry:n.ry?s(e,n.ry,0,degToRads,r):i,sk:n.sk?s(e,n.sk,0,degToRads,r):i,sa:n.sa?s(e,n.sa,0,degToRads,r):i,s:n.s?s(e,n.s,1,.01,r):i,a:n.a?s(e,n.a,1,0,r):i,o:n.o?s(e,n.o,0,.01,r):i,p:n.p?s(e,n.p,1,0,r):i,sw:n.sw?s(e,n.sw,0,0,r):i,sc:n.sc?s(e,n.sc,1,0,r):i,fc:n.fc?s(e,n.fc,1,0,r):i,fh:n.fh?s(e,n.fh,0,0,r):i,fs:n.fs?s(e,n.fs,0,.01,r):i,fb:n.fb?s(e,n.fb,0,.01,r):i,t:n.t?s(e,n.t,0,0,r):i},this.s=TextSelectorProp.getTextSelectorProp(e,t.s,r),this.s.t=t.s.t}function TextAnimatorProperty(e,t,r){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=t,this._elem=r,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(r)}TextAnimatorProperty.prototype.searchProperties=function(){var e,t=this._textData.a.length,r,i=PropertyFactory.getProp;for(e=0;e<t;e+=1)r=this._textData.a[e],this._animatorsData[e]=new TextAnimatorDataProperty(this._elem,r,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:i(this._elem,this._textData.p.a,0,0,this),f:i(this._elem,this._textData.p.f,0,0,this),l:i(this._elem,this._textData.p.l,0,0,this),r:i(this._elem,this._textData.p.r,0,0,this),p:i(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=i(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(e,t){if(this.lettersChangedFlag=t,!(!this._mdf&&!this._isFirstFrame&&!t&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var r=this._moreOptions.alignment.v,i=this._animatorsData,s=this._textData,n=this.mHelper,a=this._renderType,h=this.renderedLetters.length,o,l,d,P,u=e.l,_,g,p,x,c,m,f,v,b,C,M,I,k,j,D;if(this._hasMaskedPath){if(D=this._pathData.m,!this._pathData.n||this._pathData._mdf){var F=D.v;this._pathData.r.v&&(F=F.reverse()),_={tLength:0,segments:[]},P=F._length-1;var G;for(I=0,d=0;d<P;d+=1)G=bez.buildBezierData(F.v[d],F.v[d+1],[F.o[d][0]-F.v[d][0],F.o[d][1]-F.v[d][1]],[F.i[d+1][0]-F.v[d+1][0],F.i[d+1][1]-F.v[d+1][1]]),_.tLength+=G.segmentLength,_.segments.push(G),I+=G.segmentLength;d=P,D.v.c&&(G=bez.buildBezierData(F.v[d],F.v[0],[F.o[d][0]-F.v[d][0],F.o[d][1]-F.v[d][1]],[F.i[0][0]-F.v[0][0],F.i[0][1]-F.v[0][1]]),_.tLength+=G.segmentLength,_.segments.push(G),I+=G.segmentLength),this._pathData.pi=_}if(_=this._pathData.pi,g=this._pathData.f.v,f=0,m=1,x=0,c=!0,C=_.segments,g<0&&D.v.c)for(_.tLength<Math.abs(g)&&(g=-Math.abs(g)%_.tLength),f=C.length-1,b=C[f].points,m=b.length-1;g<0;)g+=b[m].partialLength,m-=1,m<0&&(f-=1,b=C[f].points,m=b.length-1);b=C[f].points,v=b[m-1],p=b[m],M=p.partialLength}P=u.length,o=0,l=0;var L=e.finalSize*1.2*.714,R=!0,E,w,y,S,A;S=i.length;var T,q=-1,V,O,$,z=g,W=f,Y=m,U=-1,X,ee,B,Z,H,se,fe,oe,ne="",he=this.defaultPropsArray,le;if(e.j===2||e.j===1){var ie=0,ue=0,Q=e.j===2?-.5:-1,N=0,K=!0;for(d=0;d<P;d+=1)if(u[d].n){for(ie&&(ie+=ue);N<d;)u[N].animatorJustifyOffset=ie,N+=1;ie=0,K=!0}else{for(y=0;y<S;y+=1)E=i[y].a,E.t.propType&&(K&&e.j===2&&(ue+=E.t.v*Q),w=i[y].s,T=w.getMult(u[d].anIndexes[y],s.a[y].s.totalChars),T.length?ie+=E.t.v*T[0]*Q:ie+=E.t.v*T*Q);K=!1}for(ie&&(ie+=ue);N<d;)u[N].animatorJustifyOffset=ie,N+=1}for(d=0;d<P;d+=1){if(n.reset(),X=1,u[d].n)o=0,l+=e.yOffset,l+=R?1:0,g=z,R=!1,this._hasMaskedPath&&(f=W,m=Y,b=C[f].points,v=b[m-1],p=b[m],M=p.partialLength,x=0),ne="",oe="",se="",le="",he=this.defaultPropsArray;else{if(this._hasMaskedPath){if(U!==u[d].line){switch(e.j){case 1:g+=I-e.lineWidths[u[d].line];break;case 2:g+=(I-e.lineWidths[u[d].line])/2;break}U=u[d].line}q!==u[d].ind&&(u[q]&&(g+=u[q].extra),g+=u[d].an/2,q=u[d].ind),g+=r[0]*u[d].an*.005;var J=0;for(y=0;y<S;y+=1)E=i[y].a,E.p.propType&&(w=i[y].s,T=w.getMult(u[d].anIndexes[y],s.a[y].s.totalChars),T.length?J+=E.p.v[0]*T[0]:J+=E.p.v[0]*T),E.a.propType&&(w=i[y].s,T=w.getMult(u[d].anIndexes[y],s.a[y].s.totalChars),T.length?J+=E.a.v[0]*T[0]:J+=E.a.v[0]*T);for(c=!0,this._pathData.a.v&&(g=u[0].an*.5+(I-this._pathData.f.v-u[0].an*.5-u[u.length-1].an*.5)*q/(P-1),g+=this._pathData.f.v);c;)x+M>=g+J||!b?(k=(g+J-x)/p.partialLength,O=v.point[0]+(p.point[0]-v.point[0])*k,$=v.point[1]+(p.point[1]-v.point[1])*k,n.translate(-r[0]*u[d].an*.005,-(r[1]*L)*.01),c=!1):b&&(x+=p.partialLength,m+=1,m>=b.length&&(m=0,f+=1,C[f]?b=C[f].points:D.v.c?(m=0,f=0,b=C[f].points):(x-=p.partialLength,b=null)),b&&(v=p,p=b[m],M=p.partialLength));V=u[d].an/2-u[d].add,n.translate(-V,0,0)}else V=u[d].an/2-u[d].add,n.translate(-V,0,0),n.translate(-r[0]*u[d].an*.005,-r[1]*L*.01,0);for(y=0;y<S;y+=1)E=i[y].a,E.t.propType&&(w=i[y].s,T=w.getMult(u[d].anIndexes[y],s.a[y].s.totalChars),(o!==0||e.j!==0)&&(this._hasMaskedPath?T.length?g+=E.t.v*T[0]:g+=E.t.v*T:T.length?o+=E.t.v*T[0]:o+=E.t.v*T));for(e.strokeWidthAnim&&(B=e.sw||0),e.strokeColorAnim&&(e.sc?ee=[e.sc[0],e.sc[1],e.sc[2]]:ee=[0,0,0]),e.fillColorAnim&&e.fc&&(Z=[e.fc[0],e.fc[1],e.fc[2]]),y=0;y<S;y+=1)E=i[y].a,E.a.propType&&(w=i[y].s,T=w.getMult(u[d].anIndexes[y],s.a[y].s.totalChars),T.length?n.translate(-E.a.v[0]*T[0],-E.a.v[1]*T[1],E.a.v[2]*T[2]):n.translate(-E.a.v[0]*T,-E.a.v[1]*T,E.a.v[2]*T));for(y=0;y<S;y+=1)E=i[y].a,E.s.propType&&(w=i[y].s,T=w.getMult(u[d].anIndexes[y],s.a[y].s.totalChars),T.length?n.scale(1+(E.s.v[0]-1)*T[0],1+(E.s.v[1]-1)*T[1],1):n.scale(1+(E.s.v[0]-1)*T,1+(E.s.v[1]-1)*T,1));for(y=0;y<S;y+=1){if(E=i[y].a,w=i[y].s,T=w.getMult(u[d].anIndexes[y],s.a[y].s.totalChars),E.sk.propType&&(T.length?n.skewFromAxis(-E.sk.v*T[0],E.sa.v*T[1]):n.skewFromAxis(-E.sk.v*T,E.sa.v*T)),E.r.propType&&(T.length?n.rotateZ(-E.r.v*T[2]):n.rotateZ(-E.r.v*T)),E.ry.propType&&(T.length?n.rotateY(E.ry.v*T[1]):n.rotateY(E.ry.v*T)),E.rx.propType&&(T.length?n.rotateX(E.rx.v*T[0]):n.rotateX(E.rx.v*T)),E.o.propType&&(T.length?X+=(E.o.v*T[0]-X)*T[0]:X+=(E.o.v*T-X)*T),e.strokeWidthAnim&&E.sw.propType&&(T.length?B+=E.sw.v*T[0]:B+=E.sw.v*T),e.strokeColorAnim&&E.sc.propType)for(H=0;H<3;H+=1)T.length?ee[H]+=(E.sc.v[H]-ee[H])*T[0]:ee[H]+=(E.sc.v[H]-ee[H])*T;if(e.fillColorAnim&&e.fc){if(E.fc.propType)for(H=0;H<3;H+=1)T.length?Z[H]+=(E.fc.v[H]-Z[H])*T[0]:Z[H]+=(E.fc.v[H]-Z[H])*T;E.fh.propType&&(T.length?Z=addHueToRGB(Z,E.fh.v*T[0]):Z=addHueToRGB(Z,E.fh.v*T)),E.fs.propType&&(T.length?Z=addSaturationToRGB(Z,E.fs.v*T[0]):Z=addSaturationToRGB(Z,E.fs.v*T)),E.fb.propType&&(T.length?Z=addBrightnessToRGB(Z,E.fb.v*T[0]):Z=addBrightnessToRGB(Z,E.fb.v*T))}}for(y=0;y<S;y+=1)E=i[y].a,E.p.propType&&(w=i[y].s,T=w.getMult(u[d].anIndexes[y],s.a[y].s.totalChars),this._hasMaskedPath?T.length?n.translate(0,E.p.v[1]*T[0],-E.p.v[2]*T[1]):n.translate(0,E.p.v[1]*T,-E.p.v[2]*T):T.length?n.translate(E.p.v[0]*T[0],E.p.v[1]*T[1],-E.p.v[2]*T[2]):n.translate(E.p.v[0]*T,E.p.v[1]*T,-E.p.v[2]*T));if(e.strokeWidthAnim&&(se=B<0?0:B),e.strokeColorAnim&&(fe="rgb("+Math.round(ee[0]*255)+","+Math.round(ee[1]*255)+","+Math.round(ee[2]*255)+")"),e.fillColorAnim&&e.fc&&(oe="rgb("+Math.round(Z[0]*255)+","+Math.round(Z[1]*255)+","+Math.round(Z[2]*255)+")"),this._hasMaskedPath){if(n.translate(0,-e.ls),n.translate(0,r[1]*L*.01+l,0),this._pathData.p.v){j=(p.point[1]-v.point[1])/(p.point[0]-v.point[0]);var te=Math.atan(j)*180/Math.PI;p.point[0]<v.point[0]&&(te+=180),n.rotate(-te*Math.PI/180)}n.translate(O,$,0),g-=r[0]*u[d].an*.005,u[d+1]&&q!==u[d+1].ind&&(g+=u[d].an/2,g+=e.tr*.001*e.finalSize)}else{switch(n.translate(o,l,0),e.ps&&n.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:n.translate(u[d].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[u[d].line]),0,0);break;case 2:n.translate(u[d].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[u[d].line])/2,0,0);break}n.translate(0,-e.ls),n.translate(V,0,0),n.translate(r[0]*u[d].an*.005,r[1]*L*.01,0),o+=u[d].l+e.tr*.001*e.finalSize}a==="html"?ne=n.toCSS():a==="svg"?ne=n.to2dCSS():he=[n.props[0],n.props[1],n.props[2],n.props[3],n.props[4],n.props[5],n.props[6],n.props[7],n.props[8],n.props[9],n.props[10],n.props[11],n.props[12],n.props[13],n.props[14],n.props[15]],le=X}h<=d?(A=new LetterProps(le,se,fe,oe,ne,he),this.renderedLetters.push(A),h+=1,this.lettersChangedFlag=!0):(A=this.renderedLetters[d],this.lettersChangedFlag=A.update(le,se,fe,oe,ne,he)||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);function ITextElement(){}ITextElement.prototype.initElement=function(e,t,r){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,t,r),this.textProperty=new TextProperty(this,e.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(e.t,this.renderType,this),this.initTransform(e,t,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)},ITextElement.prototype.createPathShape=function(e,t){var r,i=t.length,s,n="";for(r=0;r<i;r+=1)t[r].ty==="sh"&&(s=t[r].ks.k,n+=buildShapeString(s,s.i.length,!0,e));return n},ITextElement.prototype.updateDocumentData=function(e,t){this.textProperty.updateDocumentData(e,t)},ITextElement.prototype.canResizeFont=function(e){this.textProperty.canResizeFont(e)},ITextElement.prototype.setMinimumFontSize=function(e){this.textProperty.setMinimumFontSize(e)},ITextElement.prototype.applyTextPropertiesToMatrix=function(e,t,r,i,s){switch(e.ps&&t.translate(e.ps[0],e.ps[1]+e.ascent,0),t.translate(0,-e.ls,0),e.j){case 1:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[r]),0,0);break;case 2:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[r])/2,0,0);break}t.translate(i,s,0)},ITextElement.prototype.buildColor=function(e){return"rgb("+Math.round(e[0]*255)+","+Math.round(e[1]*255)+","+Math.round(e[2]*255)+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},ITextElement.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var emptyShapeData={shapes:[]};function SVGTextLottieElement(e,t,r){this.textSpans=[],this.renderType="svg",this.initElement(e,t,r)}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(e){for(var t=0,r=e.length,i=[],s="";t<r;)e[t]==="\r"||e[t]===""?(i.push(s),s=""):s+=e[t],t+=1;return i.push(s),i},SVGTextLottieElement.prototype.buildShapeData=function(e,t){if(e.shapes&&e.shapes.length){var r=e.shapes[0];if(r.it){var i=r.it[r.it.length-1];i.s&&(i.s.k[0]=t,i.s.k[1]=t)}}return e},SVGTextLottieElement.prototype.buildNewText=function(){this.addDynamicProperty(this);var e,t,r=this.textProperty.currentData;this.renderedLetters=createSizedArray(r?r.l.length:0),r.fc?this.layerElement.setAttribute("fill",this.buildColor(r.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),r.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(r.sc)),this.layerElement.setAttribute("stroke-width",r.sw)),this.layerElement.setAttribute("font-size",r.finalSize);var i=this.globalData.fontManager.getFontByName(r.f);if(i.fClass)this.layerElement.setAttribute("class",i.fClass);else{this.layerElement.setAttribute("font-family",i.fFamily);var s=r.fWeight,n=r.fStyle;this.layerElement.setAttribute("font-style",n),this.layerElement.setAttribute("font-weight",s)}this.layerElement.setAttribute("aria-label",r.t);var a=r.l||[],h=!!this.globalData.fontManager.chars;t=a.length;var o,l=this.mHelper,d="",P=this.data.singleShape,u=0,_=0,g=!0,p=r.tr*.001*r.finalSize;if(P&&!h&&!r.sz){var x=this.textContainer,c="start";switch(r.j){case 1:c="end";break;case 2:c="middle";break;default:c="start";break}x.setAttribute("text-anchor",c),x.setAttribute("letter-spacing",p);var m=this.buildTextContents(r.finalText);for(t=m.length,_=r.ps?r.ps[1]+r.ascent:0,e=0;e<t;e+=1)o=this.textSpans[e].span||createNS("tspan"),o.textContent=m[e],o.setAttribute("x",0),o.setAttribute("y",_),o.style.display="inherit",x.appendChild(o),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=o,_+=r.finalLineHeight;this.layerElement.appendChild(x)}else{var f=this.textSpans.length,v;for(e=0;e<t;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!h||!P||e===0){if(o=f>e?this.textSpans[e].span:createNS(h?"g":"text"),f<=e){if(o.setAttribute("stroke-linecap","butt"),o.setAttribute("stroke-linejoin","round"),o.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=o,h){var b=createNS("g");o.appendChild(b),this.textSpans[e].childSpan=b}this.textSpans[e].span=o,this.layerElement.appendChild(o)}o.style.display="inherit"}if(l.reset(),P&&(a[e].n&&(u=-p,_+=r.yOffset,_+=g?1:0,g=!1),this.applyTextPropertiesToMatrix(r,l,a[e].line,u,_),u+=a[e].l||0,u+=p),h){v=this.globalData.fontManager.getCharData(r.finalText[e],i.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily);var C;if(v.t===1)C=new SVGCompElement(v.data,this.globalData,this);else{var M=emptyShapeData;v.data&&v.data.shapes&&(M=this.buildShapeData(v.data,r.finalSize)),C=new SVGShapeElement(M,this.globalData,this)}if(this.textSpans[e].glyph){var I=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(I.layerElement),I.destroy()}this.textSpans[e].glyph=C,C._debug=!0,C.prepareFrame(0),C.renderFrame(),this.textSpans[e].childSpan.appendChild(C.layerElement),v.t===1&&this.textSpans[e].childSpan.setAttribute("transform","scale("+r.finalSize/100+","+r.finalSize/100+")")}else P&&o.setAttribute("transform","translate("+l.props[12]+","+l.props[13]+")"),o.textContent=a[e].val,o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}P&&o&&o.setAttribute("d",d)}for(;e<this.textSpans.length;)this.textSpans[e].span.style.display="none",e+=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 e=this.layerElement.getBBox();this.bbox={top:e.y,left:e.x,width:e.width,height:e.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var e,t=this.textSpans.length,r;for(this.renderedFrame=this.comp.renderedFrame,e=0;e<t;e+=1)r=this.textSpans[e].glyph,r&&(r.prepareFrame(this.comp.renderedFrame-this.data.st),r._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 e,t,r=this.textAnimator.renderedLetters,i=this.textProperty.currentData.l;t=i.length;var s,n,a;for(e=0;e<t;e+=1)i[e].n||(s=r[e],n=this.textSpans[e].span,a=this.textSpans[e].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))}};function ISolidElement(e,t,r){this.initElement(e,t,r)}extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var e=createNS("rect");e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.layerElement.appendChild(e)};function NullElement(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initFrame(),this.initTransform(e,t,r),this.initHierarchy()}NullElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!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);function SVGRendererBase(){}extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(e){return new NullElement(e,this.globalData,this)},SVGRendererBase.prototype.createShape=function(e){return new SVGShapeElement(e,this.globalData,this)},SVGRendererBase.prototype.createText=function(e){return new SVGTextLottieElement(e,this.globalData,this)},SVGRendererBase.prototype.createImage=function(e){return new IImageElement(e,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(e){return new ISolidElement(e,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(e){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 "+e.w+" "+e.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",e.w),this.svgElement.setAttribute("height",e.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),this.renderConfig.focusable!==void 0&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var t=this.globalData.defs;this.setupGlobalData(e,t),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=e;var r=createNS("clipPath"),i=createNS("rect");i.setAttribute("width",e.w),i.setAttribute("height",e.h),i.setAttribute("x",0),i.setAttribute("y",0);var s=createElementID();r.setAttribute("id",s),r.appendChild(i),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+s+")"),t.appendChild(r),this.layers=e.layers,this.elements=createSizedArray(e.layers.length)},SVGRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var e,t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(e){var t=0,r=this.layers.length;for(t=0;t<r;t+=1)if(this.layers[t].ind===e)return t;return-1},SVGRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!(t[e]||this.layers[e].ty===99)){t[e]=!0;var r=this.createItem(this.layers[e]);if(t[e]=r,getExpressionsPlugin()&&(this.layers[e].ty===0&&this.globalData.projectInterface.registerComposition(r),r.initExpressions()),this.appendElementInPos(r,e),this.layers[e].tt){var i="tp"in this.layers[e]?this.findIndexByInd(this.layers[e].tp):e-1;if(i===-1)return;if(!this.elements[i]||this.elements[i]===!0)this.buildItem(i),this.addPendingElement(r);else{var s=t[i],n=s.getMatte(this.layers[e].tt);r.setMatte(n)}}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var t=0,r=this.elements.length;t<r;){if(this.elements[t]===e){var i="tp"in e.data?this.findIndexByInd(e.data.tp):t-1,s=this.elements[i],n=s.getMatte(this.layers[t].tt);e.setMatte(n);break}t+=1}}},SVGRendererBase.prototype.renderFrame=function(e){if(!(this.renderedFrame===e||this.destroyed)){e===null?e=this.renderedFrame:this.renderedFrame=e,this.globalData.frameNum=e,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=e,this.globalData._mdf=!1;var t,r=this.layers.length;for(this.completeLayers||this.checkLayers(e),t=r-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].prepareFrame(e-this.layers[t].st);if(this.globalData._mdf)for(t=0;t<r;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(e,t){var r=e.getBaseElement();if(r){for(var i=0,s;i<t;)this.elements[i]&&this.elements[i]!==!0&&this.elements[i].getBaseElement()&&(s=this.elements[i].getBaseElement()),i+=1;s?this.layerElement.insertBefore(r,s):this.layerElement.appendChild(r)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"};function ICompElement(){}extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initTransform(e,t,r),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!t.progressiveLoad)&&this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(e){if(this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=e/this.data.sr;else{var t=this.tm.v;t===this.data.op&&(t=this.data.op-1),this.renderedFrame=t}var r,i=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),r=i-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&(this.elements[r].prepareFrame(this.renderedFrame-this.layers[r].st),this.elements[r]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},ICompElement.prototype.setElements=function(e){this.elements=e},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function SVGCompElement(e,t,r){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,r),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)};function SVGRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var r="";if(t&&t.title){var i=createNS("title"),s=createElementID();i.setAttribute("id",s),i.textContent=t.title,this.svgElement.appendChild(i),r+=s}if(t&&t.description){var n=createNS("desc"),a=createElementID();n.setAttribute("id",a),n.textContent=t.description,this.svgElement.appendChild(n),r+=" "+a}r&&this.svgElement.setAttribute("aria-labelledby",r);var h=createNS("defs");this.svgElement.appendChild(h);var o=createNS("g");this.svgElement.appendChild(o),this.layerElement=o,this.renderConfig={preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",progressiveLoad:t&&t.progressiveLoad||!1,hideOnTransparent:!(t&&t.hideOnTransparent===!1),viewBoxOnly:t&&t.viewBoxOnly||!1,viewBoxSize:t&&t.viewBoxSize||!1,className:t&&t.className||"",id:t&&t.id||"",focusable:t&&t.focusable,filterSize:{width:t&&t.filterSize&&t.filterSize.width||"100%",height:t&&t.filterSize&&t.filterSize.height||"100%",x:t&&t.filterSize&&t.filterSize.x||"0%",y:t&&t.filterSize&&t.filterSize.y||"0%"},width:t&&t.width,height:t&&t.height,runExpressions:!t||t.runExpressions===void 0||t.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:h,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)};function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}ShapeTransformManager.prototype={addTransformSequence:function(t){var r,i=t.length,s="_";for(r=0;r<i;r+=1)s+=t[r].transform.key+"_";var n=this.sequences[s];return n||(n={transforms:[].concat(t),finalTransform:new Matrix,_mdf:!1},this.sequences[s]=n,this.sequenceList.push(n)),n},processSequence:function(t,r){for(var i=0,s=t.transforms.length,n=r;i<s&&!r;){if(t.transforms[i].transform.mProps._mdf){n=!0;break}i+=1}if(n)for(t.finalTransform.reset(),i=s-1;i>=0;i-=1)t.finalTransform.multiply(t.transforms[i].transform.mProps.v);t._mdf=n},processSequences:function(t){var r,i=this.sequenceList.length;for(r=0;r<i;r+=1)this.processSequence(this.sequenceList[r],t)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var t="__lottie_element_luma_buffer",r=null,i=null,s=null;function n(){var o=createNS("svg"),l=createNS("filter"),d=createNS("feColorMatrix");return l.setAttribute("id",t),d.setAttribute("type","matrix"),d.setAttribute("color-interpolation-filters","sRGB"),d.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"),l.appendChild(d),o.appendChild(l),o.setAttribute("id",t+"_svg"),featureSupport.svgLumaHidden&&(o.style.display="none"),o}function a(){r||(s=n(),document.body.appendChild(s),r=createTag("canvas"),i=r.getContext("2d"),i.filter="url(#"+t+")",i.fillStyle="rgba(0,0,0,0)",i.fillRect(0,0,1,1))}function h(o){return r||a(),r.width=o.width,r.height=o.height,i.filter="url(#"+t+")",r}return{load:a,get:h}};function createCanvas(e,t){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(e,t);var r=createTag("canvas");return r.width=e,r.height=t,r}var assetLoader=(function(){return{loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas}})(),registeredEffects={};function CVEffects(e){var t,r=e.data.ef?e.data.ef.length:0;this.filters=[];var i;for(t=0;t<r;t+=1){i=null;var s=e.data.ef[t].ty;if(registeredEffects[s]){var n=registeredEffects[s].effect;i=new n(e.effectsManager.effectElements[t],e)}i&&this.filters.push(i)}this.filters.length&&e.addRenderableComponent(this)}CVEffects.prototype.renderFrame=function(e){var t,r=this.filters.length;for(t=0;t<r;t+=1)this.filters[t].renderFrame(e)},CVEffects.prototype.getEffects=function(e){var t,r=this.filters.length,i=[];for(t=0;t<r;t+=1)this.filters[t].type===e&&i.push(this.filters[t]);return i};function registerEffect(e,t){registeredEffects[e]={effect:t}}function CVMaskElement(e,t){this.data=e,this.element=t,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var r,i=this.masksProperties.length,s=!1;for(r=0;r<i;r+=1)this.masksProperties[r].mode!=="n"&&(s=!0),this.viewData[r]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[r],3);this.hasMasks=s,s&&this.element.addRenderableComponent(this)}CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var e=this.element.finalTransform.mat,t=this.element.canvasContext,r,i=this.masksProperties.length,s,n,a;for(t.beginPath(),r=0;r<i;r+=1)if(this.masksProperties[r].mode!=="n"){this.masksProperties[r].inv&&(t.moveTo(0,0),t.lineTo(this.element.globalData.compSize.w,0),t.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),t.lineTo(0,this.element.globalData.compSize.h),t.lineTo(0,0)),a=this.viewData[r].v,s=e.applyToPointArray(a.v[0][0],a.v[0][1],0),t.moveTo(s[0],s[1]);var h,o=a._length;for(h=1;h<o;h+=1)n=e.applyToTriplePoints(a.o[h-1],a.i[h],a.v[h]),t.bezierCurveTo(n[0],n[1],n[2],n[3],n[4],n[5]);n=e.applyToTriplePoints(a.o[h-1],a.i[0],a.v[0]),t.bezierCurveTo(n[0],n[1],n[2],n[3],n[4],n[5])}this.element.globalData.renderer.save(!0),t.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null};function CVBaseElement(){}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,r=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(r);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 r=getBlendMode(this.data.bm);t.canvasContext.globalCompositeOperation=r}},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],r=t.getContext("2d");this.clearCanvas(r),r.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],r=t.getContext("2d");this.clearCanvas(r),r.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform);var i=this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1);if(i.renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var s=assetLoader.getLumaCanvas(this.canvasContext.canvas),n=s.getContext("2d");n.drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(s,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)&&!(this.data.td===1&&!t)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var r=this.data.ty===0;this.prepareLayer(),this.globalData.renderer.save(r),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(r),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;function CVShapeData(e,t,r,i){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var s=4;t.ty==="rc"?s=5:t.ty==="el"?s=6:t.ty==="sr"&&(s=7),this.sh=ShapePropertyFactory.getShapeProp(e,t,s,e);var n,a=r.length,h;for(n=0;n<a;n+=1)r[n].closed||(h={transforms:i.addTransformSequence(r[n].transforms),trNodes:[]},this.styledShapes.push(h),r[n].elements.push(h))}CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated;function CVShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(e,t,r)}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(e,t){var r={data:e,type:e.ty,preTransforms:this.transformsManager.addTransformSequence(t),transforms:[],elements:[],closed:e.hd===!0},i={};if(e.ty==="fl"||e.ty==="st"?(i.c=PropertyFactory.getProp(this,e.c,1,255,this),i.c.k||(r.co="rgb("+bmFloor(i.c.v[0])+","+bmFloor(i.c.v[1])+","+bmFloor(i.c.v[2])+")")):(e.ty==="gf"||e.ty==="gs")&&(i.s=PropertyFactory.getProp(this,e.s,1,null,this),i.e=PropertyFactory.getProp(this,e.e,1,null,this),i.h=PropertyFactory.getProp(this,e.h||{k:0},0,.01,this),i.a=PropertyFactory.getProp(this,e.a||{k:0},0,degToRads,this),i.g=new GradientProperty(this,e.g,this)),i.o=PropertyFactory.getProp(this,e.o,0,.01,this),e.ty==="st"||e.ty==="gs"){if(r.lc=lineCapEnum[e.lc||2],r.lj=lineJoinEnum[e.lj||2],e.lj==1&&(r.ml=e.ml),i.w=PropertyFactory.getProp(this,e.w,0,null,this),i.w.k||(r.wi=i.w.v),e.d){var s=new DashProperty(this,e.d,"canvas",this);i.d=s,i.d.k||(r.da=i.d.dashArray,r.do=i.d.dashoffset[0])}}else r.r=e.r===2?"evenodd":"nonzero";return this.stylesList.push(r),i.style=r,i},CVShapeElement.prototype.createGroupElement=function(){var e={it:[],prevViewData:[]};return e},CVShapeElement.prototype.createTransformElement=function(e){var t={transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,e.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,e,this)}};return t},CVShapeElement.prototype.createShapeElement=function(e){var t=new CVShapeData(this,e,this.stylesList,this.transformsManager);return this.shapes.push(t),this.addShapeToModifiers(t),t},CVShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var e,t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(e){var t,r=this.stylesList.length;for(t=0;t<r;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.push(e)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var e,t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.pop()},CVShapeElement.prototype.closeStyles=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t].closed=!0},CVShapeElement.prototype.searchShapes=function(e,t,r,i,s){var n,a=e.length-1,h,o,l=[],d=[],P,u,_,g=[].concat(s);for(n=a;n>=0;n-=1){if(P=this.searchProcessedElement(e[n]),P?t[n]=r[P-1]:e[n]._shouldRender=i,e[n].ty==="fl"||e[n].ty==="st"||e[n].ty==="gf"||e[n].ty==="gs")P?t[n].style.closed=!1:t[n]=this.createStyleElement(e[n],g),l.push(t[n].style);else if(e[n].ty==="gr"){if(!P)t[n]=this.createGroupElement(e[n]);else for(o=t[n].it.length,h=0;h<o;h+=1)t[n].prevViewData[h]=t[n].it[h];this.searchShapes(e[n].it,t[n].it,t[n].prevViewData,i,g)}else e[n].ty==="tr"?(P||(_=this.createTransformElement(e[n]),t[n]=_),g.push(t[n]),this.addTransformToStyleList(t[n])):e[n].ty==="sh"||e[n].ty==="rc"||e[n].ty==="el"||e[n].ty==="sr"?P||(t[n]=this.createShapeElement(e[n])):e[n].ty==="tm"||e[n].ty==="rd"||e[n].ty==="pb"||e[n].ty==="zz"||e[n].ty==="op"?(P?(u=t[n],u.closed=!1):(u=ShapeModifiers.getModifier(e[n].ty),u.init(this,e[n]),t[n]=u,this.shapeModifiers.push(u)),d.push(u)):e[n].ty==="rp"&&(P?(u=t[n],u.closed=!0):(u=ShapeModifiers.getModifier(e[n].ty),t[n]=u,u.init(this,e,n,t),this.shapeModifiers.push(u),i=!1),d.push(u));this.addProcessedElement(e[n],n+1)}for(this.removeTransformFromStyleList(),this.closeStyles(l),a=d.length,n=0;n<a;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(e,t){(e._opMdf||t.op._mdf||this._isFirstFrame)&&(t.opacity=e.opacity,t.opacity*=t.op.v,t._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var e,t=this.stylesList.length,r,i,s,n,a,h,o=this.globalData.renderer,l=this.globalData.canvasContext,d,P;for(e=0;e<t;e+=1)if(P=this.stylesList[e],d=P.type,!((d==="st"||d==="gs")&&P.wi===0||!P.data._shouldRender||P.coOp===0||this.globalData.currentGlobalAlpha===0)){for(o.save(),a=P.elements,d==="st"||d==="gs"?(o.ctxStrokeStyle(d==="st"?P.co:P.grd),o.ctxLineWidth(P.wi),o.ctxLineCap(P.lc),o.ctxLineJoin(P.lj),o.ctxMiterLimit(P.ml||0)):o.ctxFillStyle(d==="fl"?P.co:P.grd),o.ctxOpacity(P.coOp),d!=="st"&&d!=="gs"&&l.beginPath(),o.ctxTransform(P.preTransforms.finalTransform.props),i=a.length,r=0;r<i;r+=1){for((d==="st"||d==="gs")&&(l.beginPath(),P.da&&(l.setLineDash(P.da),l.lineDashOffset=P.do)),h=a[r].trNodes,n=h.length,s=0;s<n;s+=1)h[s].t==="m"?l.moveTo(h[s].p[0],h[s].p[1]):h[s].t==="c"?l.bezierCurveTo(h[s].pts[0],h[s].pts[1],h[s].pts[2],h[s].pts[3],h[s].pts[4],h[s].pts[5]):l.closePath();(d==="st"||d==="gs")&&(o.ctxStroke(),P.da&&l.setLineDash(this.dashResetter))}d!=="st"&&d!=="gs"&&this.globalData.renderer.ctxFill(P.r),o.restore()}},CVShapeElement.prototype.renderShape=function(e,t,r,i){var s,n=t.length-1,a;for(a=e,s=n;s>=0;s-=1)t[s].ty==="tr"?(a=r[s].transform,this.renderShapeTransform(e,a)):t[s].ty==="sh"||t[s].ty==="el"||t[s].ty==="rc"||t[s].ty==="sr"?this.renderPath(t[s],r[s]):t[s].ty==="fl"?this.renderFill(t[s],r[s],a):t[s].ty==="st"?this.renderStroke(t[s],r[s],a):t[s].ty==="gf"||t[s].ty==="gs"?this.renderGradientFill(t[s],r[s],a):t[s].ty==="gr"?this.renderShape(a,t[s].it,r[s].it):t[s].ty;i&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var r=e.trNodes,i=t.paths,s,n,a,h=i._length;r.length=0;var o=e.transforms.finalTransform;for(a=0;a<h;a+=1){var l=i.shapes[a];if(l&&l.v){for(n=l._length,s=1;s<n;s+=1)s===1&&r.push({t:"m",p:o.applyToPointArray(l.v[0][0],l.v[0][1],0)}),r.push({t:"c",pts:o.applyToTriplePoints(l.o[s-1],l.i[s],l.v[s])});n===1&&r.push({t:"m",p:o.applyToPointArray(l.v[0][0],l.v[0][1],0)}),l.c&&n&&(r.push({t:"c",pts:o.applyToTriplePoints(l.o[s-1],l.i[0],l.v[0])}),r.push({t:"z"}))}}e.trNodes=r}},CVShapeElement.prototype.renderPath=function(e,t){if(e.hd!==!0&&e._shouldRender){var r,i=t.styledShapes.length;for(r=0;r<i;r+=1)this.renderStyledShape(t.styledShapes[r],t.sh)}},CVShapeElement.prototype.renderFill=function(e,t,r){var i=t.style;(t.c._mdf||this._isFirstFrame)&&(i.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r._opMdf||this._isFirstFrame)&&(i.coOp=t.o.v*r.opacity)},CVShapeElement.prototype.renderGradientFill=function(e,t,r){var i=t.style,s;if(!i.grd||t.g._mdf||t.s._mdf||t.e._mdf||e.t!==1&&(t.h._mdf||t.a._mdf)){var n=this.globalData.canvasContext,a=t.s.v,h=t.e.v;if(e.t===1)s=n.createLinearGradient(a[0],a[1],h[0],h[1]);else{var o=Math.sqrt(Math.pow(a[0]-h[0],2)+Math.pow(a[1]-h[1],2)),l=Math.atan2(h[1]-a[1],h[0]-a[0]),d=t.h.v;d>=1?d=.99:d<=-1&&(d=-.99);var P=o*d,u=Math.cos(l+t.a.v)*P+a[0],_=Math.sin(l+t.a.v)*P+a[1];s=n.createRadialGradient(u,_,0,a[0],a[1],o)}var g,p=e.g.p,x=t.g.c,c=1;for(g=0;g<p;g+=1)t.g._hasOpacity&&t.g._collapsable&&(c=t.g.o[g*2+1]),s.addColorStop(x[g*4]/100,"rgba("+x[g*4+1]+","+x[g*4+2]+","+x[g*4+3]+","+c+")");i.grd=s}i.coOp=t.o.v*r.opacity},CVShapeElement.prototype.renderStroke=function(e,t,r){var i=t.style,s=t.d;s&&(s._mdf||this._isFirstFrame)&&(i.da=s.dashArray,i.do=s.dashoffset[0]),(t.c._mdf||this._isFirstFrame)&&(i.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r._opMdf||this._isFirstFrame)&&(i.coOp=t.o.v*r.opacity),(t.w._mdf||this._isFirstFrame)&&(i.wi=t.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0};function CVTextElement(e,t,r){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(e,t,r)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=!1;e.fc?(t=!0,this.values.fill=this.buildColor(e.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=t;var r=!1;e.sc&&(r=!0,this.values.stroke=this.buildColor(e.sc),this.values.sWidth=e.sw);var i=this.globalData.fontManager.getFontByName(e.f),s,n,a=e.l,h=this.mHelper;this.stroke=r,this.values.fValue=e.finalSize+"px "+this.globalData.fontManager.getFontByName(e.f).fFamily,n=e.finalText.length;var o,l,d,P,u,_,g,p,x,c,m=this.data.singleShape,f=e.tr*.001*e.finalSize,v=0,b=0,C=!0,M=0;for(s=0;s<n;s+=1){o=this.globalData.fontManager.getCharData(e.finalText[s],i.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily),l=o&&o.data||{},h.reset(),m&&a[s].n&&(v=-f,b+=e.yOffset,b+=C?1:0,C=!1),u=l.shapes?l.shapes[0].it:[],g=u.length,h.scale(e.finalSize/100,e.finalSize/100),m&&this.applyTextPropertiesToMatrix(e,h,a[s].line,v,b),x=createSizedArray(g-1);var I=0;for(_=0;_<g;_+=1)if(u[_].ty==="sh"){for(P=u[_].ks.k.i.length,p=u[_].ks.k,c=[],d=1;d<P;d+=1)d===1&&c.push(h.applyToX(p.v[0][0],p.v[0][1],0),h.applyToY(p.v[0][0],p.v[0][1],0)),c.push(h.applyToX(p.o[d-1][0],p.o[d-1][1],0),h.applyToY(p.o[d-1][0],p.o[d-1][1],0),h.applyToX(p.i[d][0],p.i[d][1],0),h.applyToY(p.i[d][0],p.i[d][1],0),h.applyToX(p.v[d][0],p.v[d][1],0),h.applyToY(p.v[d][0],p.v[d][1],0));c.push(h.applyToX(p.o[d-1][0],p.o[d-1][1],0),h.applyToY(p.o[d-1][0],p.o[d-1][1],0),h.applyToX(p.i[0][0],p.i[0][1],0),h.applyToY(p.i[0][0],p.i[0][1],0),h.applyToX(p.v[0][0],p.v[0][1],0),h.applyToY(p.v[0][0],p.v[0][1],0)),x[I]=c,I+=1}m&&(v+=a[s].l,v+=f),this.textSpans[M]?this.textSpans[M].elem=x:this.textSpans[M]={elem:x},M+=1}},CVTextElement.prototype.renderInnerContent=function(){this.validateText();var e=this.canvasContext;e.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,r,i,s,n,a,h=this.textAnimator.renderedLetters,o=this.textProperty.currentData.l;r=o.length;var l,d=null,P=null,u=null,_,g,p=this.globalData.renderer;for(t=0;t<r;t+=1)if(!o[t].n){if(l=h[t],l&&(p.save(),p.ctxTransform(l.p),p.ctxOpacity(l.o)),this.fill){for(l&&l.fc?d!==l.fc&&(p.ctxFillStyle(l.fc),d=l.fc):d!==this.values.fill&&(d=this.values.fill,p.ctxFillStyle(this.values.fill)),_=this.textSpans[t].elem,s=_.length,this.globalData.canvasContext.beginPath(),i=0;i<s;i+=1)for(g=_[i],a=g.length,this.globalData.canvasContext.moveTo(g[0],g[1]),n=2;n<a;n+=6)this.globalData.canvasContext.bezierCurveTo(g[n],g[n+1],g[n+2],g[n+3],g[n+4],g[n+5]);this.globalData.canvasContext.closePath(),p.ctxFill()}if(this.stroke){for(l&&l.sw?u!==l.sw&&(u=l.sw,p.ctxLineWidth(l.sw)):u!==this.values.sWidth&&(u=this.values.sWidth,p.ctxLineWidth(this.values.sWidth)),l&&l.sc?P!==l.sc&&(P=l.sc,p.ctxStrokeStyle(l.sc)):P!==this.values.stroke&&(P=this.values.stroke,p.ctxStrokeStyle(this.values.stroke)),_=this.textSpans[t].elem,s=_.length,this.globalData.canvasContext.beginPath(),i=0;i<s;i+=1)for(g=_[i],a=g.length,this.globalData.canvasContext.moveTo(g[0],g[1]),n=2;n<a;n+=6)this.globalData.canvasContext.bezierCurveTo(g[n],g[n+1],g[n+2],g[n+3],g[n+4],g[n+5]);this.globalData.canvasContext.closePath(),p.ctxStroke()}l&&this.globalData.renderer.restore()}};function CVImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.img=t.imageLoader.getAsset(this.assetData),this.initElement(e,t,r)}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 e=createTag("canvas");e.width=this.assetData.w,e.height=this.assetData.h;var t=e.getContext("2d"),r=this.img.width,i=this.img.height,s=r/i,n=this.assetData.w/this.assetData.h,a,h,o=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;s>n&&o==="xMidYMid slice"||s<n&&o!=="xMidYMid slice"?(h=i,a=h*n):(a=r,h=a/n),t.drawImage(this.img,(r-a)/2,(i-h)/2,a,h,0,0,this.assetData.w,this.assetData.h),this.img=e}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null};function CVSolidElement(e,t,r){this.initElement(e,t,r)}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)};function CanvasRendererBase(){}extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(e){return new CVShapeElement(e,this.globalData,this)},CanvasRendererBase.prototype.createText=function(e){return new CVTextElement(e,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(e){return new CVImageElement(e,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(e){return new CVSolidElement(e,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(e){e[0]===1&&e[1]===0&&e[4]===0&&e[5]===1&&e[12]===0&&e[13]===0||this.canvasContext.transform(e[0],e[1],e[4],e[5],e[12],e[13])},CanvasRendererBase.prototype.ctxOpacity=function(e){this.canvasContext.globalAlpha*=e<0?0:e},CanvasRendererBase.prototype.ctxFillStyle=function(e){this.canvasContext.fillStyle=e},CanvasRendererBase.prototype.ctxStrokeStyle=function(e){this.canvasContext.strokeStyle=e},CanvasRendererBase.prototype.ctxLineWidth=function(e){this.canvasContext.lineWidth=e},CanvasRendererBase.prototype.ctxLineCap=function(e){this.canvasContext.lineCap=e},CanvasRendererBase.prototype.ctxLineJoin=function(e){this.canvasContext.lineJoin=e},CanvasRendererBase.prototype.ctxMiterLimit=function(e){this.canvasContext.miterLimit=e},CanvasRendererBase.prototype.ctxFill=function(e){this.canvasContext.fill(e)},CanvasRendererBase.prototype.ctxFillRect=function(e,t,r,i){this.canvasContext.fillRect(e,t,r,i)},CanvasRendererBase.prototype.ctxStroke=function(){this.canvasContext.stroke()},CanvasRendererBase.prototype.reset=function(){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}this.contextData.reset()},CanvasRendererBase.prototype.save=function(){this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(e){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}e&&(this.globalData.blendMode="source-over"),this.contextData.restore(e)},CanvasRendererBase.prototype.configAnimation=function(e){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var t=this.animationItem.container.style;t.width="100%",t.height="100%";var r="0px 0px 0px";t.transformOrigin=r,t.mozTransformOrigin=r,t.webkitTransformOrigin=r,t["-webkit-transform"]=r,t.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=e,this.layers=e.layers,this.transformCanvas={w:e.w,h:e.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(e,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(e.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(e,t){this.reset();var r,i;e?(r=e,i=t,this.canvasContext.canvas.width=r,this.canvasContext.canvas.height=i):(this.animationItem.wrapper&&this.animationItem.container?(r=this.animationItem.wrapper.offsetWidth,i=this.animationItem.wrapper.offsetHeight):(r=this.canvasContext.canvas.width,i=this.canvasContext.canvas.height),this.canvasContext.canvas.width=r*this.renderConfig.dpr,this.canvasContext.canvas.height=i*this.renderConfig.dpr);var s,n;if(this.renderConfig.preserveAspectRatio.indexOf("meet")!==-1||this.renderConfig.preserveAspectRatio.indexOf("slice")!==-1){var a=this.renderConfig.preserveAspectRatio.split(" "),h=a[1]||"meet",o=a[0]||"xMidYMid",l=o.substr(0,4),d=o.substr(4);s=r/i,n=this.transformCanvas.w/this.transformCanvas.h,n>s&&h==="meet"||n<s&&h==="slice"?(this.transformCanvas.sx=r/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=r/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=i/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=i/(this.transformCanvas.h/this.renderConfig.dpr)),l==="xMid"&&(n<s&&h==="meet"||n>s&&h==="slice")?this.transformCanvas.tx=(r-this.transformCanvas.w*(i/this.transformCanvas.h))/2*this.renderConfig.dpr:l==="xMax"&&(n<s&&h==="meet"||n>s&&h==="slice")?this.transformCanvas.tx=(r-this.transformCanvas.w*(i/this.transformCanvas.h))*this.renderConfig.dpr:this.transformCanvas.tx=0,d==="YMid"&&(n>s&&h==="meet"||n<s&&h==="slice")?this.transformCanvas.ty=(i-this.transformCanvas.h*(r/this.transformCanvas.w))/2*this.renderConfig.dpr:d==="YMax"&&(n>s&&h==="meet"||n<s&&h==="slice")?this.transformCanvas.ty=(i-this.transformCanvas.h*(r/this.transformCanvas.w))*this.renderConfig.dpr:this.transformCanvas.ty=0}else this.renderConfig.preserveAspectRatio==="none"?(this.transformCanvas.sx=r/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=i/(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 e,t=this.layers?this.layers.length:0;for(e=t-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(e,t){if(!(this.renderedFrame===e&&this.renderConfig.clearCanvas===!0&&!t||this.destroyed||e===-1)){this.renderedFrame=e,this.globalData.frameNum=e-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||t,this.globalData.projectInterface.currentFrame=e;var r,i=this.layers.length;for(this.completeLayers||this.checkLayers(e),r=i-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(e-this.layers[r].st);if(this.globalData._mdf){for(this.renderConfig.clearCanvas===!0?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),r=i-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame();this.renderConfig.clearCanvas!==!0&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!(t[e]||this.layers[e].ty===99)){var r=this.createItem(this.layers[e],this,this.globalData);t[e]=r,r.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();e.checkParenting()}},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"};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 e,t=15;for(e=0;e<t;e+=1){var r=new CanvasContext;this.stack[e]=r}this._length=t,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=""}CVContextData.prototype.duplicate=function(){var e=this._length*2,t=0;for(t=this._length;t<e;t+=1)this.stack[t]=new CanvasContext;this._length=e},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.stack[this.cArrPos].opacity=1},CVContextData.prototype.restore=function(e){this.cArrPos-=1;var t=this.stack[this.cArrPos],r=t.transform,i,s=this.cTr.props;for(i=0;i<16;i+=1)s[i]=r[i];if(e){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]),(e||t.opacity!==-1&&this.currentOpacity!==t.opacity)&&(this.nativeContext.globalAlpha=t.opacity,this.currentOpacity=t.opacity),this.currentFillStyle=t.fillStyle,this.currentStrokeStyle=t.strokeStyle,this.currentLineWidth=t.lineWidth,this.currentLineCap=t.lineCap,this.currentLineJoin=t.lineJoin,this.currentMiterLimit=t.miterLimit},CVContextData.prototype.save=function(e){e&&this.nativeContext.save();var t=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var r=this.stack[this.cArrPos],i;for(i=0;i<16;i+=1)r.transform[i]=t[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(e){this.stack[this.cArrPos].opacity=e},CVContextData.prototype.setContext=function(e){this.nativeContext=e},CVContextData.prototype.fillStyle=function(e){this.stack[this.cArrPos].fillStyle!==e&&(this.currentFillStyle=e,this.stack[this.cArrPos].fillStyle=e)},CVContextData.prototype.strokeStyle=function(e){this.stack[this.cArrPos].strokeStyle!==e&&(this.currentStrokeStyle=e,this.stack[this.cArrPos].strokeStyle=e)},CVContextData.prototype.lineWidth=function(e){this.stack[this.cArrPos].lineWidth!==e&&(this.currentLineWidth=e,this.stack[this.cArrPos].lineWidth=e)},CVContextData.prototype.lineCap=function(e){this.stack[this.cArrPos].lineCap!==e&&(this.currentLineCap=e,this.stack[this.cArrPos].lineCap=e)},CVContextData.prototype.lineJoin=function(e){this.stack[this.cArrPos].lineJoin!==e&&(this.currentLineJoin=e,this.stack[this.cArrPos].lineJoin=e)},CVContextData.prototype.miterLimit=function(e){this.stack[this.cArrPos].miterLimit!==e&&(this.currentMiterLimit=e,this.stack[this.cArrPos].miterLimit=e)},CVContextData.prototype.transform=function(e){this.transformMat.cloneFromProps(e);var t=this.cTr;this.transformMat.multiply(t),t.cloneFromProps(this.transformMat.props);var r=t.props;this.nativeContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13])},CVContextData.prototype.opacity=function(e){var t=this.stack[this.cArrPos].opacity;t*=e<0?0:e,this.stack[this.cArrPos].opacity!==t&&(this.currentOpacity!==e&&(this.nativeContext.globalAlpha=e,this.currentOpacity=e),this.stack[this.cArrPos].opacity=t)},CVContextData.prototype.fill=function(e){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fill(e)},CVContextData.prototype.fillRect=function(e,t,r,i){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(e,t,r,i)},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()};function CVCompElement(e,t,r){this.completeLayers=!1,this.layers=e.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(e,t,r),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var e=this.canvasContext;e.beginPath(),e.moveTo(0,0),e.lineTo(this.data.w,0),e.lineTo(this.data.w,this.data.h),e.lineTo(0,this.data.h),e.lineTo(0,0),e.clip();var t,r=this.layers.length;for(t=r-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},CVCompElement.prototype.destroy=function(){var e,t=this.layers.length;for(e=t-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)};function CanvasRenderer(e,t){this.animationItem=e,this.renderConfig={clearCanvas:t&&t.clearCanvas!==void 0?t.clearCanvas:!0,context:t&&t.context||null,progressiveLoad:t&&t.progressiveLoad||!1,preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",className:t&&t.className||"",id:t&&t.id||"",runExpressions:!t||t.runExpressions===void 0||t.runExpressions},this.renderConfig.dpr=t&&t.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=t&&t.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))}extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)};function HBaseElement(){}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),this.data.bm!==0&&this.setBlendMode()},renderElement:function(){var t=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var r=this.finalTransform.mat.toCSS();t.transform=r,t.webkitTransform=r}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;function HSolidElement(e,t,r){this.initElement(e,t,r)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var e;this.data.hasMask?(e=createNS("rect"),e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):(e=createTag("div"),e.style.width=this.data.sw+"px",e.style.height=this.data.sh+"px",e.style.backgroundColor=this.data.sc),this.layerElement.appendChild(e)};function HShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(e,t,r),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var e;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),e=this.svgElement;else{e=createNS("svg");var t=this.comp.data?this.comp.data:this.globalData.compSize;e.setAttribute("width",t.w),e.setAttribute("height",t.h),e.appendChild(this.shapesContainer),this.layerElement.appendChild(e)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=e},HShapeElement.prototype.getTransformedPoint=function(e,t){var r,i=e.length;for(r=0;r<i;r+=1)t=e[r].mProps.v.applyToPointArray(t[0],t[1],0);return t},HShapeElement.prototype.calculateShapeBoundingBox=function(e,t){var r=e.sh.v,i=e.transformers,s,n=r._length,a,h,o,l;if(!(n<=1)){for(s=0;s<n-1;s+=1)a=this.getTransformedPoint(i,r.v[s]),h=this.getTransformedPoint(i,r.o[s]),o=this.getTransformedPoint(i,r.i[s+1]),l=this.getTransformedPoint(i,r.v[s+1]),this.checkBounds(a,h,o,l,t);r.c&&(a=this.getTransformedPoint(i,r.v[s]),h=this.getTransformedPoint(i,r.o[s]),o=this.getTransformedPoint(i,r.i[0]),l=this.getTransformedPoint(i,r.v[0]),this.checkBounds(a,h,o,l,t))}},HShapeElement.prototype.checkBounds=function(e,t,r,i,s){this.getBoundsOfCurve(e,t,r,i);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(e,t,r,i){for(var s=[[e[0],i[0]],[e[1],i[1]]],n,a,h,o,l,d,P,u=0;u<2;++u)a=6*e[u]-12*t[u]+6*r[u],n=-3*e[u]+9*t[u]-9*r[u]+3*i[u],h=3*t[u]-3*e[u],a|=0,n|=0,h|=0,n===0&&a===0||(n===0?(o=-h/a,o>0&&o<1&&s[u].push(this.calculateF(o,e,t,r,i,u))):(l=a*a-4*h*n,l>=0&&(d=(-a+bmSqrt(l))/(2*n),d>0&&d<1&&s[u].push(this.calculateF(d,e,t,r,i,u)),P=(-a-bmSqrt(l))/(2*n),P>0&&P<1&&s[u].push(this.calculateF(P,e,t,r,i,u)))));this.shapeBoundingBox.left=bmMin.apply(null,s[0]),this.shapeBoundingBox.top=bmMin.apply(null,s[1]),this.shapeBoundingBox.right=bmMax.apply(null,s[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,s[1])},HShapeElement.prototype.calculateF=function(e,t,r,i,s,n){return bmPow(1-e,3)*t[n]+3*bmPow(1-e,2)*e*r[n]+3*(1-e)*bmPow(e,2)*i[n]+bmPow(e,3)*s[n]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var r,i=e.length;for(r=0;r<i;r+=1)e[r]&&e[r].sh?this.calculateShapeBoundingBox(e[r],t):e[r]&&e[r].it?this.calculateBoundingBox(e[r].it,t):e[r]&&e[r].style&&e[r].w&&this.expandStrokeBoundingBox(e[r].w,t)},HShapeElement.prototype.expandStrokeBoundingBox=function(e,t){var r=0;if(e.keyframes){for(var i=0;i<e.keyframes.length;i+=1){var s=e.keyframes[i].s;s>r&&(r=s)}r*=e.mult}else r=e.v*e.mult;t.x-=r,t.xMax+=r,t.y-=r,t.yMax+=r},HShapeElement.prototype.currentBoxContains=function(e){return this.currentBBox.x<=e.x&&this.currentBBox.y<=e.y&&this.currentBBox.width+this.currentBBox.x>=e.x+e.width&&this.currentBBox.height+this.currentBBox.y>=e.y+e.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var e=this.tempBoundingBox,t=999999;if(e.x=t,e.xMax=-t,e.y=t,e.yMax=-t,this.calculateBoundingBox(this.itemsData,e),e.width=e.xMax<e.x?0:e.xMax-e.x,e.height=e.yMax<e.y?0:e.yMax-e.y,this.currentBoxContains(e))return;var r=!1;if(this.currentBBox.w!==e.width&&(this.currentBBox.w=e.width,this.shapeCont.setAttribute("width",e.width),r=!0),this.currentBBox.h!==e.height&&(this.currentBBox.h=e.height,this.shapeCont.setAttribute("height",e.height),r=!0),r||this.currentBBox.x!==e.x||this.currentBBox.y!==e.y){this.currentBBox.w=e.width,this.currentBBox.h=e.height,this.currentBBox.x=e.x,this.currentBBox.y=e.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var i=this.shapeCont.style,s="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";i.transform=s,i.webkitTransform=s}}};function HTextElement(e,t,r){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(e,t,r)}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 e=createNS("g");this.maskedElement.appendChild(e),this.innerElem=e}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=this.innerElem.style,r=e.fc?this.buildColor(e.fc):"rgba(0,0,0,0)";t.fill=r,t.color=r,e.sc&&(t.stroke=this.buildColor(e.sc),t.strokeWidth=e.sw+"px");var i=this.globalData.fontManager.getFontByName(e.f);if(!this.globalData.fontManager.chars)if(t.fontSize=e.finalSize+"px",t.lineHeight=e.finalSize+"px",i.fClass)this.innerElem.className=i.fClass;else{t.fontFamily=i.fFamily;var s=e.fWeight,n=e.fStyle;t.fontStyle=n,t.fontWeight=s}var a,h,o=e.l;h=o.length;var l,d,P,u=this.mHelper,_,g="",p=0;for(a=0;a<h;a+=1){if(this.globalData.fontManager.chars?(this.textPaths[p]?l=this.textPaths[p]:(l=createNS("path"),l.setAttribute("stroke-linecap",lineCapEnum[1]),l.setAttribute("stroke-linejoin",lineJoinEnum[2]),l.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[p]?(d=this.textSpans[p],P=d.children[0]):(d=createTag("div"),d.style.lineHeight=0,P=createNS("svg"),P.appendChild(l),styleDiv(d)))):this.isMasked?l=this.textPaths[p]?this.textPaths[p]:createNS("text"):this.textSpans[p]?(d=this.textSpans[p],l=this.textPaths[p]):(d=createTag("span"),styleDiv(d),l=createTag("span"),styleDiv(l),d.appendChild(l)),this.globalData.fontManager.chars){var x=this.globalData.fontManager.getCharData(e.finalText[a],i.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily),c;if(x?c=x.data:c=null,u.reset(),c&&c.shapes&&c.shapes.length&&(_=c.shapes[0].it,u.scale(e.finalSize/100,e.finalSize/100),g=this.createPathShape(u,_),l.setAttribute("d",g)),this.isMasked)this.innerElem.appendChild(l);else{if(this.innerElem.appendChild(d),c&&c.shapes){document.body.appendChild(P);var m=P.getBBox();P.setAttribute("width",m.width+2),P.setAttribute("height",m.height+2),P.setAttribute("viewBox",m.x-1+" "+(m.y-1)+" "+(m.width+2)+" "+(m.height+2));var f=P.style,v="translate("+(m.x-1)+"px,"+(m.y-1)+"px)";f.transform=v,f.webkitTransform=v,o[a].yOffset=m.y-1}else P.setAttribute("width",1),P.setAttribute("height",1);d.appendChild(P)}}else if(l.textContent=o[a].val,l.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(l);else{this.innerElem.appendChild(d);var b=l.style,C="translate3d(0,"+-e.finalSize/1.2+"px,0)";b.transform=C,b.webkitTransform=C}this.isMasked?this.textSpans[p]=l:this.textSpans[p]=d,this.textSpans[p].style.display="block",this.textPaths[p]=l,p+=1}for(;p<this.textSpans.length;)this.textSpans[p].style.display="none",p+=1},HTextElement.prototype.renderInnerContent=function(){this.validateText();var e;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),e=this.svgElement.style;var t="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";e.transform=t,e.webkitTransform=t}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),!(!this.lettersChangedFlag&&!this.textAnimator.lettersChangedFlag)){var r,i,s=0,n=this.textAnimator.renderedLetters,a=this.textProperty.currentData.l;i=a.length;var h,o,l;for(r=0;r<i;r+=1)a[r].n?s+=1:(o=this.textSpans[r],l=this.textPaths[r],h=n[s],s+=1,h._mdf.m&&(this.isMasked?o.setAttribute("transform",h.m):(o.style.webkitTransform=h.m,o.style.transform=h.m)),o.style.opacity=h.o,h.sw&&h._mdf.sw&&l.setAttribute("stroke-width",h.sw),h.sc&&h._mdf.sc&&l.setAttribute("stroke",h.sc),h.fc&&h._mdf.fc&&(l.setAttribute("fill",h.fc),l.style.color=h.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var d=this.innerElem.getBBox();this.currentBBox.w!==d.width&&(this.currentBBox.w=d.width,this.svgElement.setAttribute("width",d.width)),this.currentBBox.h!==d.height&&(this.currentBBox.h=d.height,this.svgElement.setAttribute("height",d.height));var P=1;if(this.currentBBox.w!==d.width+P*2||this.currentBBox.h!==d.height+P*2||this.currentBBox.x!==d.x-P||this.currentBBox.y!==d.y-P){this.currentBBox.w=d.width+P*2,this.currentBBox.h=d.height+P*2,this.currentBBox.x=d.x-P,this.currentBBox.y=d.y-P,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),e=this.svgElement.style;var u="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";e.transform=u,e.webkitTransform=u}}}};function HCameraElement(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initHierarchy();var i=PropertyFactory.getProp;if(this.pe=i(this,e.pe,0,0,this),e.ks.p.s?(this.px=i(this,e.ks.p.x,1,0,this),this.py=i(this,e.ks.p.y,1,0,this),this.pz=i(this,e.ks.p.z,1,0,this)):this.p=i(this,e.ks.p,1,0,this),e.ks.a&&(this.a=i(this,e.ks.a,1,0,this)),e.ks.or.k.length&&e.ks.or.k[0].to){var s,n=e.ks.or.k.length;for(s=0;s<n;s+=1)e.ks.or.k[s].to=null,e.ks.or.k[s].ti=null}this.or=i(this,e.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=i(this,e.ks.rx,0,degToRads,this),this.ry=i(this,e.ks.ry,0,degToRads,this),this.rz=i(this,e.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var e,t=this.comp.threeDElements.length,r,i,s;for(e=0;e<t;e+=1)if(r=this.comp.threeDElements[e],r.type==="3d"){i=r.perspectiveElem.style,s=r.container.style;var n=this.pe.v+"px",a="0px 0px 0px",h="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";i.perspective=n,i.webkitPerspective=n,s.transformOrigin=a,s.mozTransformOrigin=a,s.webkitTransformOrigin=a,i.transform=h,i.webkitTransform=h}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var e=this._isFirstFrame,t,r;if(this.hierarchy)for(r=this.hierarchy.length,t=0;t<r;t+=1)e=this.hierarchy[t].finalTransform.mProp._mdf||e;if(e||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(r=this.hierarchy.length-1,t=r;t>=0;t-=1){var i=this.hierarchy[t].finalTransform.mProp;this.mat.translate(-i.p.v[0],-i.p.v[1],i.p.v[2]),this.mat.rotateX(-i.or.v[0]).rotateY(-i.or.v[1]).rotateZ(i.or.v[2]),this.mat.rotateX(-i.rx.v).rotateY(-i.ry.v).rotateZ(i.rz.v),this.mat.scale(1/i.s.v[0],1/i.s.v[1],1/i.s.v[2]),this.mat.translate(i.a.v[0],i.a.v[1],i.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var s;this.p?s=[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:s=[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],h=Math.sqrt(a[2]*a[2]+a[0]*a[0]),o=Math.atan2(a[1],h),l=Math.atan2(a[0],-a[2]);this.mat.rotateY(l).rotateX(-o)}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 d=!this._prevMat.equals(this.mat);if((d||this.pe._mdf)&&this.comp.threeDElements){r=this.comp.threeDElements.length;var P,u,_;for(t=0;t<r;t+=1)if(P=this.comp.threeDElements[t],P.type==="3d"){if(d){var g=this.mat.toCSS();_=P.container.style,_.transform=g,_.webkitTransform=g}this.pe._mdf&&(u=P.perspectiveElem.style,u.perspective=this.pe.v+"px",u.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null};function HImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.initElement(e,t,r)}extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData),t=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",e),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(t),t.crossOrigin="anonymous",t.src=e,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)};function HybridRendererBase(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(t&&t.hideOnTransparent===!1),filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.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"}extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();e.checkParenting()}},HybridRendererBase.prototype.appendElementInPos=function(e,t){var r=e.getBaseElement();if(r){var i=this.layers[t];if(!i.ddd||!this.supports3d)if(this.threeDElements)this.addTo3dContainer(r,t);else{for(var s=0,n,a,h;s<t;)this.elements[s]&&this.elements[s]!==!0&&this.elements[s].getBaseElement&&(a=this.elements[s],h=this.layers[s].ddd?this.getThreeDContainerByPos(s):a.getBaseElement(),n=h||n),s+=1;n?(!i.ddd||!this.supports3d)&&this.layerElement.insertBefore(r,n):(!i.ddd||!this.supports3d)&&this.layerElement.appendChild(r)}else this.addTo3dContainer(r,t)}},HybridRendererBase.prototype.createShape=function(e){return this.supports3d?new HShapeElement(e,this.globalData,this):new SVGShapeElement(e,this.globalData,this)},HybridRendererBase.prototype.createText=function(e){return this.supports3d?new HTextElement(e,this.globalData,this):new SVGTextLottieElement(e,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(e){return this.camera=new HCameraElement(e,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(e){return this.supports3d?new HImageElement(e,this.globalData,this):new IImageElement(e,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(e){return this.supports3d?new HSolidElement(e,this.globalData,this):new ISolidElement(e,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(e){for(var t=0,r=this.threeDElements.length;t<r;){if(this.threeDElements[t].startPos<=e&&this.threeDElements[t].endPos>=e)return this.threeDElements[t].perspectiveElem;t+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(e,t){var r=createTag("div"),i,s;styleDiv(r);var n=createTag("div");if(styleDiv(n),t==="3d"){i=r.style,i.width=this.globalData.compSize.w+"px",i.height=this.globalData.compSize.h+"px";var a="50% 50%";i.webkitTransformOrigin=a,i.mozTransformOrigin=a,i.transformOrigin=a,s=n.style;var h="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";s.transform=h,s.webkitTransform=h}r.appendChild(n);var o={container:n,perspectiveElem:r,startPos:e,endPos:e,type:t};return this.threeDElements.push(o),o},HybridRendererBase.prototype.build3dContainers=function(){var e,t=this.layers.length,r,i="";for(e=0;e<t;e+=1)this.layers[e].ddd&&this.layers[e].ty!==3?(i!=="3d"&&(i="3d",r=this.createThreeDContainer(e,"3d")),r.endPos=Math.max(r.endPos,e)):(i!=="2d"&&(i="2d",r=this.createThreeDContainer(e,"2d")),r.endPos=Math.max(r.endPos,e));for(t=this.threeDElements.length,e=t-1;e>=0;e-=1)this.resizerElem.appendChild(this.threeDElements[e].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(e,t){for(var r=0,i=this.threeDElements.length;r<i;){if(t<=this.threeDElements[r].endPos){for(var s=this.threeDElements[r].startPos,n;s<t;)this.elements[s]&&this.elements[s].getBaseElement&&(n=this.elements[s].getBaseElement()),s+=1;n?this.threeDElements[r].container.insertBefore(e,n):this.threeDElements[r].container.appendChild(e);break}r+=1}},HybridRendererBase.prototype.configAnimation=function(e){var t=createTag("div"),r=this.animationItem.wrapper,i=t.style;i.width=e.w+"px",i.height=e.h+"px",this.resizerElem=t,styleDiv(t),i.transformStyle="flat",i.mozTransformStyle="flat",i.webkitTransformStyle="flat",this.renderConfig.className&&t.setAttribute("class",this.renderConfig.className),r.appendChild(t),i.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=e,this.setupGlobalData(e,s),this.globalData.defs=n,this.layers=e.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 e,t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var e=this.animationItem.wrapper.offsetWidth,t=this.animationItem.wrapper.offsetHeight,r=e/t,i=this.globalData.compSize.w/this.globalData.compSize.h,s,n,a,h;i>r?(s=e/this.globalData.compSize.w,n=e/this.globalData.compSize.w,a=0,h=(t-this.globalData.compSize.h*(e/this.globalData.compSize.w))/2):(s=t/this.globalData.compSize.h,n=t/this.globalData.compSize.h,a=(e-this.globalData.compSize.w*(t/this.globalData.compSize.h))/2,h=0);var o=this.resizerElem.style;o.webkitTransform="matrix3d("+s+",0,0,0,0,"+n+",0,0,0,0,1,0,"+a+","+h+",0,1)",o.transform=o.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var e=this.globalData.compSize.w,t=this.globalData.compSize.h,r,i=this.threeDElements.length;for(r=0;r<i;r+=1){var s=this.threeDElements[r].perspectiveElem.style;s.webkitPerspective=Math.sqrt(Math.pow(e,2)+Math.pow(t,2))+"px",s.perspective=s.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(e){var t,r=e.length,i=createTag("div");for(t=0;t<r;t+=1)if(e[t].xt){var s=this.createComp(e[t],i,this.globalData.comp,null);s.initExpressions(),this.globalData.projectInterface.registerComposition(s)}};function HCompElement(e,t,r){this.layers=e.layers,this.supports3d=!e.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,r),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}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(e,t){for(var r=0,i;r<t;)this.elements[r]&&this.elements[r].getBaseElement&&(i=this.elements[r].getBaseElement()),r+=1;i?this.layerElement.insertBefore(e,i):this.layerElement.appendChild(e)},HCompElement.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)};function HybridRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(t&&t.hideOnTransparent===!1),filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.filterSize.y||"-100%"},runExpressions:!t||t.runExpressions===void 0||t.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"}extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)};var CompExpressionInterface=(function(){return function(e){function t(r){for(var i=0,s=e.layers.length;i<s;){if(e.layers[i].nm===r||e.layers[i].ind===r)return e.elements[i].layerInterface;i+=1}return null}return Object.defineProperty(t,"_name",{value:e.data.nm}),t.layer=t,t.pixelAspect=1,t.height=e.data.h||e.globalData.compSize.h,t.width=e.data.w||e.globalData.compSize.w,t.pixelAspect=1,t.frameDuration=1/e.globalData.frameRate,t.displayStartTime=0,t.numLayers=e.layers.length,t}})();function _typeof$2(e){"@babel/helpers - typeof";return _typeof$2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$2(e)}function seedRandom(e,t){var r=this,i=256,s=6,n=52,a="random",h=t.pow(i,s),o=t.pow(2,n),l=o*2,d=i-1,P;function u(f,v,b){var C=[];v=v===!0?{entropy:!0}:v||{};var M=x(p(v.entropy?[f,m(e)]:f===null?c():f,3),C),I=new _(C),k=function(){for(var D=I.g(s),F=h,G=0;D<o;)D=(D+G)*i,F*=i,G=I.g(1);for(;D>=l;)D/=2,F/=2,G>>>=1;return(D+G)/F};return k.int32=function(){return I.g(4)|0},k.quick=function(){return I.g(4)/4294967296},k.double=k,x(m(I.S),e),(v.pass||b||function(j,D,F,G){return G&&(G.S&&g(G,I),j.state=function(){return g(I,{})}),F?(t[a]=j,D):j})(k,M,"global"in v?v.global:this==t,v.state)}t["seed"+a]=u;function _(f){var v,b=f.length,C=this,M=0,I=C.i=C.j=0,k=C.S=[];for(b||(f=[b++]);M<i;)k[M]=M++;for(M=0;M<i;M++)k[M]=k[I=d&I+f[M%b]+(v=k[M])],k[I]=v;C.g=function(j){for(var D,F=0,G=C.i,L=C.j,R=C.S;j--;)D=R[G=d&G+1],F=F*i+R[d&(R[G]=R[L=d&L+D])+(R[L]=D)];return C.i=G,C.j=L,F}}function g(f,v){return v.i=f.i,v.j=f.j,v.S=f.S.slice(),v}function p(f,v){var b=[],C=_typeof$2(f),M;if(v&&C=="object")for(M in f)try{b.push(p(f[M],v-1))}catch(I){}return b.length?b:C=="string"?f:f+"\0"}function x(f,v){for(var b=f+"",C,M=0;M<b.length;)v[d&M]=d&(C^=v[d&M]*19)+b.charCodeAt(M++);return m(v)}function c(){try{var f=new Uint8Array(i);return(r.crypto||r.msCrypto).getRandomValues(f),m(f)}catch(C){var v=r.navigator,b=v&&v.plugins;return[+new Date,r,b,r.screen,m(e)]}}function m(f){return String.fromCharCode.apply(0,f)}x(t.random(),e)}function initialize$2(e){seedRandom([],e)}var propTypes={SHAPE:"shape"};function _typeof$1(e){"@babel/helpers - typeof";return _typeof$1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$1(e)}var ExpressionManager=(function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};initialize$2(BMMath);function resetFrame(){_lottieGlobal={}}function $bm_isInstanceOfArray(e){return e.constructor===Array||e.constructor===Float32Array}function isNumerable(e,t){return e==="number"||t instanceof Number||e==="boolean"||e==="string"}function $bm_neg(e){var t=_typeof$1(e);if(t==="number"||e instanceof Number||t==="boolean")return-e;if($bm_isInstanceOfArray(e)){var r,i=e.length,s=[];for(r=0;r<i;r+=1)s[r]=-e[r];return s}return e.propType?e.v:-e}var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(e,t){var r=_typeof$1(e),i=_typeof$1(t);if(isNumerable(r,e)&&isNumerable(i,t)||r==="string"||i==="string")return e+t;if($bm_isInstanceOfArray(e)&&isNumerable(i,t))return e=e.slice(0),e[0]+=t,e;if(isNumerable(r,e)&&$bm_isInstanceOfArray(t))return t=t.slice(0),t[0]=e+t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var s=0,n=e.length,a=t.length,h=[];s<n||s<a;)(typeof e[s]=="number"||e[s]instanceof Number)&&(typeof t[s]=="number"||t[s]instanceof Number)?h[s]=e[s]+t[s]:h[s]=t[s]===void 0?e[s]:e[s]||t[s],s+=1;return h}return 0}var add=sum;function sub(e,t){var r=_typeof$1(e),i=_typeof$1(t);if(isNumerable(r,e)&&isNumerable(i,t))return r==="string"&&(e=parseInt(e,10)),i==="string"&&(t=parseInt(t,10)),e-t;if($bm_isInstanceOfArray(e)&&isNumerable(i,t))return e=e.slice(0),e[0]-=t,e;if(isNumerable(r,e)&&$bm_isInstanceOfArray(t))return t=t.slice(0),t[0]=e-t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var s=0,n=e.length,a=t.length,h=[];s<n||s<a;)(typeof e[s]=="number"||e[s]instanceof Number)&&(typeof t[s]=="number"||t[s]instanceof Number)?h[s]=e[s]-t[s]:h[s]=t[s]===void 0?e[s]:e[s]||t[s],s+=1;return h}return 0}function mul(e,t){var r=_typeof$1(e),i=_typeof$1(t),s;if(isNumerable(r,e)&&isNumerable(i,t))return e*t;var n,a;if($bm_isInstanceOfArray(e)&&isNumerable(i,t)){for(a=e.length,s=createTypedArray("float32",a),n=0;n<a;n+=1)s[n]=e[n]*t;return s}if(isNumerable(r,e)&&$bm_isInstanceOfArray(t)){for(a=t.length,s=createTypedArray("float32",a),n=0;n<a;n+=1)s[n]=e*t[n];return s}return 0}function div(e,t){var r=_typeof$1(e),i=_typeof$1(t),s;if(isNumerable(r,e)&&isNumerable(i,t))return e/t;var n,a;if($bm_isInstanceOfArray(e)&&isNumerable(i,t)){for(a=e.length,s=createTypedArray("float32",a),n=0;n<a;n+=1)s[n]=e[n]/t;return s}if(isNumerable(r,e)&&$bm_isInstanceOfArray(t)){for(a=t.length,s=createTypedArray("float32",a),n=0;n<a;n+=1)s[n]=e/t[n];return s}return 0}function mod(e,t){return typeof e=="string"&&(e=parseInt(e,10)),typeof t=="string"&&(t=parseInt(t,10)),e%t}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(e,t,r){if(t>r){var i=r;r=t,t=i}return Math.min(Math.max(e,t),r)}function radiansToDegrees(e){return e/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(e){return e*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(e,t){if(typeof e=="number"||e instanceof Number)return t=t||0,Math.abs(e-t);t||(t=helperLengthArray);var r,i=Math.min(e.length,t.length),s=0;for(r=0;r<i;r+=1)s+=Math.pow(t[r]-e[r],2);return Math.sqrt(s)}function normalize(e){return div(e,length(e))}function rgbToHsl(e){var t=e[0],r=e[1],i=e[2],s=Math.max(t,r,i),n=Math.min(t,r,i),a,h,o=(s+n)/2;if(s===n)a=0,h=0;else{var l=s-n;switch(h=o>.5?l/(2-s-n):l/(s+n),s){case t:a=(r-i)/l+(r<i?6:0);break;case r:a=(i-t)/l+2;break;case i:a=(t-r)/l+4;break}a/=6}return[a,h,o,e[3]]}function hue2rgb(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function hslToRgb(e){var t=e[0],r=e[1],i=e[2],s,n,a;if(r===0)s=i,a=i,n=i;else{var h=i<.5?i*(1+r):i+r-i*r,o=2*i-h;s=hue2rgb(o,h,t+1/3),n=hue2rgb(o,h,t),a=hue2rgb(o,h,t-1/3)}return[s,n,a,e[3]]}function linear(e,t,r,i,s){if((i===void 0||s===void 0)&&(i=t,s=r,t=0,r=1),r<t){var n=r;r=t,t=n}if(e<=t)return i;if(e>=r)return s;var a=r===t?0:(e-t)/(r-t);if(!i.length)return i+(s-i)*a;var h,o=i.length,l=createTypedArray("float32",o);for(h=0;h<o;h+=1)l[h]=i[h]+(s[h]-i[h])*a;return l}function random(e,t){if(t===void 0&&(e===void 0?(e=0,t=1):(t=e,e=void 0)),t.length){var r,i=t.length;e||(e=createTypedArray("float32",i));var s=createTypedArray("float32",i),n=BMMath.random();for(r=0;r<i;r+=1)s[r]=e[r]+n*(t[r]-e[r]);return s}e===void 0&&(e=0);var a=BMMath.random();return e+a*(t-e)}function createPath(e,t,r,i){var s,n=e.length,a=shapePool.newElement();a.setPathData(!!i,n);var h=[0,0],o,l;for(s=0;s<n;s+=1)o=t&&t[s]?t[s]:h,l=r&&r[s]?r[s]:h,a.setTripleAt(e[s][0],e[s][1],l[0]+e[s][0],l[1]+e[s][1],o[0]+e[s][0],o[1]+e[s][1],s,!0);return a}function initiateExpression(elem,data,property){function noOp(e){return e}if(!elem.globalData.renderConfig.runExpressions)return noOp;var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=val.indexOf("random")!==-1,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||this.data.hd!==!0,wiggle=function e(t,r){var i,s,n=this.pv.length?this.pv.length:1,a=createTypedArray("float32",n);t=5;var h=Math.floor(time*t);for(i=0,s=0;i<h;){for(s=0;s<n;s+=1)a[s]+=-r+r*2*BMMath.random();i+=1}var o=time*t,l=o-Math.floor(o),d=createTypedArray("float32",n);if(n>1){for(s=0;s<n;s+=1)d[s]=this.pv[s]+a[s]+(-r+r*2*BMMath.random())*l;return d}return this.pv+a[0]+(-r+r*2*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));function loopInDuration(e,t){return loopIn(e,t,!0)}function loopOutDuration(e,t){return loopOut(e,t,!0)}this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface);function lookAt(e,t){var r=[t[0]-e[0],t[1]-e[1],t[2]-e[2]],i=Math.atan2(r[0],Math.sqrt(r[1]*r[1]+r[2]*r[2]))/degToRads,s=-Math.atan2(r[1],r[2])/degToRads;return[s,i,0]}function easeOut(e,t,r,i,s){return applyEase(easeOutBez,e,t,r,i,s)}function easeIn(e,t,r,i,s){return applyEase(easeInBez,e,t,r,i,s)}function ease(e,t,r,i,s){return applyEase(easeInOutBez,e,t,r,i,s)}function applyEase(e,t,r,i,s,n){s===void 0?(s=r,n=i):t=(t-r)/(i-r),t>1?t=1:t<0&&(t=0);var a=e(t);if($bm_isInstanceOfArray(s)){var h,o=s.length,l=createTypedArray("float32",o);for(h=0;h<o;h+=1)l[h]=(n[h]-s[h])*a+s[h];return l}return(n-s)*a+s}function nearestKey(e){var t,r=data.k.length,i,s;if(!data.k.length||typeof data.k[0]=="number")i=0,s=0;else if(i=-1,e*=elem.comp.globalData.frameRate,e<data.k[0].t)i=1,s=data.k[0].t;else{for(t=0;t<r-1;t+=1)if(e===data.k[t].t){i=t+1,s=data.k[t].t;break}else if(e>data.k[t].t&&e<data.k[t+1].t){e-data.k[t].t>data.k[t+1].t-e?(i=t+2,s=data.k[t+1].t):(i=t+1,s=data.k[t].t);break}i===-1&&(i=t+1,s=data.k[t].t)}var n={};return n.index=i,n.time=s/elem.comp.globalData.frameRate,n}function key(e){var t,r,i;if(!data.k.length||typeof data.k[0]=="number")throw new Error("The property has no keyframe at index "+e);e-=1,t={time:data.k[e].t/elem.comp.globalData.frameRate,value:[]};var s=Object.prototype.hasOwnProperty.call(data.k[e],"s")?data.k[e].s:data.k[e-1].e;for(i=s.length,r=0;r<i;r+=1)t[r]=s[r],t.value[r]=s[r];return t}function framesToTime(e,t){return t||(t=elem.comp.globalData.frameRate),e/t}function timeToFrames(e,t){return!e&&e!==0&&(e=time),t||(t=elem.comp.globalData.frameRate),e*t}function seedRandom(e){BMMath.seedrandom(randSeed+e)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(e,t){return typeof value=="string"?t===void 0?value.substring(e):value.substring(e,t):""}function substr(e,t){return typeof value=="string"?t===void 0?value.substr(e):value.substr(e,t):""}function posterizeTime(e){time=e===0?0:Math.floor(time*e)/e,value=valueAtTime(time)}var time,velocity,value,text,textIndex,textTotal,selectorValue,index=elem.data.ind,hasParent=!!(elem.hierarchy&&elem.hierarchy.length),parent,randSeed=Math.floor(Math.random()*1e6),globalData=elem.globalData;function executeExpression(e){return value=e,this.frameExpressionId===elem.globalData.frameId&&this.propType!=="textSelector"?value:(this.propType==="textSelector"&&(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)),elemType===4&&!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,scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath,_lottieGlobal],ob.resetFrame=resetFrame,ob})(),Expressions=(function(){var e={};e.initExpressions=t,e.resetFrame=ExpressionManager.resetFrame;function t(r){var i=0,s=[];function n(){i+=1}function a(){i-=1,i===0&&o()}function h(l){s.indexOf(l)===-1&&s.push(l)}function o(){var l,d=s.length;for(l=0;l<d;l+=1)s[l].release();s.length=0}r.renderer.compInterface=CompExpressionInterface(r.renderer),r.renderer.globalData.projectInterface.registerComposition(r.renderer),r.renderer.globalData.pushExpression=n,r.renderer.globalData.popExpression=a,r.renderer.globalData.registerExpressionProperty=h}return e})(),MaskManagerInterface=(function(){function e(r,i){this._mask=r,this._data=i}Object.defineProperty(e.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(e.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),this._mask.op.v*100}});var t=function(i){var s=createSizedArray(i.viewData.length),n,a=i.viewData.length;for(n=0;n<a;n+=1)s[n]=new e(i.viewData[n],i.masksProperties[n]);var h=function(l){for(n=0;n<a;){if(i.masksProperties[n].nm===l)return s[n];n+=1}return null};return h};return t})(),ExpressionPropertyInterface=(function(){var e={pv:0,v:0,mult:1},t={pv:[0,0,0],v:[0,0,0],mult:1};function r(a,h,o){Object.defineProperty(a,"velocity",{get:function(){return h.getVelocityAtTime(h.comp.currentFrame)}}),a.numKeys=h.keyframes?h.keyframes.length:0,a.key=function(l){if(!a.numKeys)return 0;var d="";"s"in h.keyframes[l-1]?d=h.keyframes[l-1].s:"e"in h.keyframes[l-2]?d=h.keyframes[l-2].e:d=h.keyframes[l-2].s;var P=o==="unidimensional"?new Number(d):Object.assign({},d);return P.time=h.keyframes[l-1].t/h.elem.comp.globalData.frameRate,P.value=o==="unidimensional"?d[0]:d,P},a.valueAtTime=h.getValueAtTime,a.speedAtTime=h.getSpeedAtTime,a.velocityAtTime=h.getVelocityAtTime,a.propertyGroup=h.propertyGroup}function i(a){(!a||!("pv"in a))&&(a=e);var h=1/a.mult,o=a.pv*h,l=new Number(o);return l.value=o,r(l,a,"unidimensional"),function(){return a.k&&a.getValue(),o=a.v*h,l.value!==o&&(l=new Number(o),l.value=o,l[0]=o,r(l,a,"unidimensional")),l}}function s(a){(!a||!("pv"in a))&&(a=t);var h=1/a.mult,o=a.data&&a.data.l||a.pv.length,l=createTypedArray("float32",o),d=createTypedArray("float32",o);return l.value=d,r(l,a,"multidimensional"),function(){a.k&&a.getValue();for(var P=0;P<o;P+=1)d[P]=a.v[P]*h,l[P]=d[P];return l}}function n(){return e}return function(a){return a?a.propType==="unidimensional"?i(a):s(a):n}})(),TransformExpressionInterface=(function(){return function(e){function t(a){switch(a){case"scale":case"Scale":case"ADBE Scale":case 6:return t.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return t.rotation;case"ADBE Rotate X":return t.xRotation;case"ADBE Rotate Y":return t.yRotation;case"position":case"Position":case"ADBE Position":case 2:return t.position;case"ADBE Position_0":return t.xPosition;case"ADBE Position_1":return t.yPosition;case"ADBE Position_2":return t.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return t.anchorPoint;case"opacity":case"Opacity":case 11:return t.opacity;default:return null}}Object.defineProperty(t,"rotation",{get:ExpressionPropertyInterface(e.r||e.rz)}),Object.defineProperty(t,"zRotation",{get:ExpressionPropertyInterface(e.rz||e.r)}),Object.defineProperty(t,"xRotation",{get:ExpressionPropertyInterface(e.rx)}),Object.defineProperty(t,"yRotation",{get:ExpressionPropertyInterface(e.ry)}),Object.defineProperty(t,"scale",{get:ExpressionPropertyInterface(e.s)});var r,i,s,n;return e.p?n=ExpressionPropertyInterface(e.p):(r=ExpressionPropertyInterface(e.px),i=ExpressionPropertyInterface(e.py),e.pz&&(s=ExpressionPropertyInterface(e.pz))),Object.defineProperty(t,"position",{get:function(){return e.p?n():[r(),i(),s?s():0]}}),Object.defineProperty(t,"xPosition",{get:ExpressionPropertyInterface(e.px)}),Object.defineProperty(t,"yPosition",{get:ExpressionPropertyInterface(e.py)}),Object.defineProperty(t,"zPosition",{get:ExpressionPropertyInterface(e.pz)}),Object.defineProperty(t,"anchorPoint",{get:ExpressionPropertyInterface(e.a)}),Object.defineProperty(t,"opacity",{get:ExpressionPropertyInterface(e.o)}),Object.defineProperty(t,"skew",{get:ExpressionPropertyInterface(e.sk)}),Object.defineProperty(t,"skewAxis",{get:ExpressionPropertyInterface(e.sa)}),Object.defineProperty(t,"orientation",{get:ExpressionPropertyInterface(e.or)}),t}})(),LayerExpressionInterface=(function(){function e(l){var d=new Matrix;if(l!==void 0){var P=this._elem.finalTransform.mProp.getValueAtTime(l);P.clone(d)}else{var u=this._elem.finalTransform.mProp;u.applyToMatrix(d)}return d}function t(l,d){var P=this.getMatrix(d);return P.props[12]=0,P.props[13]=0,P.props[14]=0,this.applyPoint(P,l)}function r(l,d){var P=this.getMatrix(d);return this.applyPoint(P,l)}function i(l,d){var P=this.getMatrix(d);return P.props[12]=0,P.props[13]=0,P.props[14]=0,this.invertPoint(P,l)}function s(l,d){var P=this.getMatrix(d);return this.invertPoint(P,l)}function n(l,d){if(this._elem.hierarchy&&this._elem.hierarchy.length){var P,u=this._elem.hierarchy.length;for(P=0;P<u;P+=1)this._elem.hierarchy[P].finalTransform.mProp.applyToMatrix(l)}return l.applyToPointArray(d[0],d[1],d[2]||0)}function a(l,d){if(this._elem.hierarchy&&this._elem.hierarchy.length){var P,u=this._elem.hierarchy.length;for(P=0;P<u;P+=1)this._elem.hierarchy[P].finalTransform.mProp.applyToMatrix(l)}return l.inversePoint(d)}function h(l){var d=new Matrix;if(d.reset(),this._elem.finalTransform.mProp.applyToMatrix(d),this._elem.hierarchy&&this._elem.hierarchy.length){var P,u=this._elem.hierarchy.length;for(P=0;P<u;P+=1)this._elem.hierarchy[P].finalTransform.mProp.applyToMatrix(d);return d.inversePoint(l)}return d.inversePoint(l)}function o(){return[1,1,1,1]}return function(l){var d;function P(p){_.mask=new MaskManagerInterface(p,l)}function u(p){_.effect=p}function _(p){switch(p){case"ADBE Root Vectors Group":case"Contents":case 2:return _.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 _.effect;case"ADBE Text Properties":return _.textInterface;default:return null}}_.getMatrix=e,_.invertPoint=a,_.applyPoint=n,_.toWorld=r,_.toWorldVec=t,_.fromWorld=s,_.fromWorldVec=i,_.toComp=r,_.fromComp=h,_.sampleImage=o,_.sourceRectAtTime=l.sourceRectAtTime.bind(l),_._elem=l,d=TransformExpressionInterface(l.finalTransform.mProp);var g=getDescriptor(d,"anchorPoint");return Object.defineProperties(_,{hasParent:{get:function(){return l.hierarchy.length}},parent:{get:function(){return l.hierarchy[0].layerInterface}},rotation:getDescriptor(d,"rotation"),scale:getDescriptor(d,"scale"),position:getDescriptor(d,"position"),opacity:getDescriptor(d,"opacity"),anchorPoint:g,anchor_point:g,transform:{get:function(){return d}},active:{get:function(){return l.isInRange}}}),_.startTime=l.data.st,_.index=l.data.ind,_.source=l.data.refId,_.height=l.data.ty===0?l.data.h:100,_.width=l.data.ty===0?l.data.w:100,_.inPoint=l.data.ip/l.comp.globalData.frameRate,_.outPoint=l.data.op/l.comp.globalData.frameRate,_._name=l.data.nm,_.registerMaskInterface=P,_.registerEffectsInterface=u,_}})(),propertyGroupFactory=(function(){return function(e,t){return function(r){return r=r===void 0?1:r,r<=0?e:t(r-1)}}})(),PropertyInterface=(function(){return function(e,t){var r={_name:e};function i(s){return s=s===void 0?1:s,s<=0?r:t(s-1)}return i}})(),EffectsExpressionInterface=(function(){var e={createEffectsInterface:t};function t(s,n){if(s.effectsManager){var a=[],h=s.data.ef,o,l=s.effectsManager.effectElements.length;for(o=0;o<l;o+=1)a.push(r(h[o],s.effectsManager.effectElements[o],n,s));var d=s.data.ef||[],P=function(_){for(o=0,l=d.length;o<l;){if(_===d[o].nm||_===d[o].mn||_===d[o].ix)return a[o];o+=1}return null};return Object.defineProperty(P,"numProperties",{get:function(){return d.length}}),P}return null}function r(s,n,a,h){function o(_){for(var g=s.ef,p=0,x=g.length;p<x;){if(_===g[p].nm||_===g[p].mn||_===g[p].ix)return g[p].ty===5?d[p]:d[p]();p+=1}throw new Error}var l=propertyGroupFactory(o,a),d=[],P,u=s.ef.length;for(P=0;P<u;P+=1)s.ef[P].ty===5?d.push(r(s.ef[P],n.effectElements[P],n.effectElements[P].propertyGroup,h)):d.push(i(n.effectElements[P],s.ef[P].ty,h,l));return s.mn==="ADBE Color Control"&&Object.defineProperty(o,"color",{get:function(){return d[0]()}}),Object.defineProperties(o,{numProperties:{get:function(){return s.np}},_name:{value:s.nm},propertyGroup:{value:l}}),o.enabled=s.en!==0,o.active=o.enabled,o}function i(s,n,a,h){var o=ExpressionPropertyInterface(s.p);function l(){return n===10?a.comp.compInterface(s.p.v):o()}return s.p.setGroupProperty&&s.p.setGroupProperty(PropertyInterface("",h)),l}return e})(),ShapePathInterface=(function(){return function(t,r,i){var s=r.sh;function n(h){return h==="Shape"||h==="shape"||h==="Path"||h==="path"||h==="ADBE Vector Shape"||h===2?n.path:null}var a=propertyGroupFactory(n,i);return s.setGroupProperty(PropertyInterface("Path",a)),Object.defineProperties(n,{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}}),n}})(),ShapeExpressionInterface=(function(){function e(g,p,x){var c=[],m,f=g?g.length:0;for(m=0;m<f;m+=1)g[m].ty==="gr"?c.push(r(g[m],p[m],x)):g[m].ty==="fl"?c.push(i(g[m],p[m],x)):g[m].ty==="st"?c.push(a(g[m],p[m],x)):g[m].ty==="tm"?c.push(h(g[m],p[m],x)):g[m].ty==="tr"||(g[m].ty==="el"?c.push(l(g[m],p[m],x)):g[m].ty==="sr"?c.push(d(g[m],p[m],x)):g[m].ty==="sh"?c.push(ShapePathInterface(g[m],p[m],x)):g[m].ty==="rc"?c.push(P(g[m],p[m],x)):g[m].ty==="rd"?c.push(u(g[m],p[m],x)):g[m].ty==="rp"?c.push(_(g[m],p[m],x)):g[m].ty==="gf"?c.push(s(g[m],p[m],x)):c.push(n(g[m],p[m])));return c}function t(g,p,x){var c,m=function(b){for(var C=0,M=c.length;C<M;){if(c[C]._name===b||c[C].mn===b||c[C].propertyIndex===b||c[C].ix===b||c[C].ind===b)return c[C];C+=1}return typeof b=="number"?c[b-1]:null};m.propertyGroup=propertyGroupFactory(m,x),c=e(g.it,p.it,m.propertyGroup),m.numProperties=c.length;var f=o(g.it[g.it.length-1],p.it[p.it.length-1],m.propertyGroup);return m.transform=f,m.propertyIndex=g.cix,m._name=g.nm,m}function r(g,p,x){var c=function(b){switch(b){case"ADBE Vectors Group":case"Contents":case 2:return c.content;default:return c.transform}};c.propertyGroup=propertyGroupFactory(c,x);var m=t(g,p,c.propertyGroup),f=o(g.it[g.it.length-1],p.it[p.it.length-1],c.propertyGroup);return c.content=m,c.transform=f,Object.defineProperty(c,"_name",{get:function(){return g.nm}}),c.numProperties=g.np,c.propertyIndex=g.ix,c.nm=g.nm,c.mn=g.mn,c}function i(g,p,x){function c(m){return m==="Color"||m==="color"?c.color:m==="Opacity"||m==="opacity"?c.opacity:null}return Object.defineProperties(c,{color:{get:ExpressionPropertyInterface(p.c)},opacity:{get:ExpressionPropertyInterface(p.o)},_name:{value:g.nm},mn:{value:g.mn}}),p.c.setGroupProperty(PropertyInterface("Color",x)),p.o.setGroupProperty(PropertyInterface("Opacity",x)),c}function s(g,p,x){function c(m){return m==="Start Point"||m==="start point"?c.startPoint:m==="End Point"||m==="end point"?c.endPoint:m==="Opacity"||m==="opacity"?c.opacity:null}return Object.defineProperties(c,{startPoint:{get:ExpressionPropertyInterface(p.s)},endPoint:{get:ExpressionPropertyInterface(p.e)},opacity:{get:ExpressionPropertyInterface(p.o)},type:{get:function(){return"a"}},_name:{value:g.nm},mn:{value:g.mn}}),p.s.setGroupProperty(PropertyInterface("Start Point",x)),p.e.setGroupProperty(PropertyInterface("End Point",x)),p.o.setGroupProperty(PropertyInterface("Opacity",x)),c}function n(){function g(){return null}return g}function a(g,p,x){var c=propertyGroupFactory(M,x),m=propertyGroupFactory(C,c);function f(I){Object.defineProperty(C,g.d[I].nm,{get:ExpressionPropertyInterface(p.d.dataProps[I].p)})}var v,b=g.d?g.d.length:0,C={};for(v=0;v<b;v+=1)f(v),p.d.dataProps[v].p.setGroupProperty(m);function M(I){return I==="Color"||I==="color"?M.color:I==="Opacity"||I==="opacity"?M.opacity:I==="Stroke Width"||I==="stroke width"?M.strokeWidth:null}return Object.defineProperties(M,{color:{get:ExpressionPropertyInterface(p.c)},opacity:{get:ExpressionPropertyInterface(p.o)},strokeWidth:{get:ExpressionPropertyInterface(p.w)},dash:{get:function(){return C}},_name:{value:g.nm},mn:{value:g.mn}}),p.c.setGroupProperty(PropertyInterface("Color",c)),p.o.setGroupProperty(PropertyInterface("Opacity",c)),p.w.setGroupProperty(PropertyInterface("Stroke Width",c)),M}function h(g,p,x){function c(f){return f===g.e.ix||f==="End"||f==="end"?c.end:f===g.s.ix?c.start:f===g.o.ix?c.offset:null}var m=propertyGroupFactory(c,x);return c.propertyIndex=g.ix,p.s.setGroupProperty(PropertyInterface("Start",m)),p.e.setGroupProperty(PropertyInterface("End",m)),p.o.setGroupProperty(PropertyInterface("Offset",m)),c.propertyIndex=g.ix,c.propertyGroup=x,Object.defineProperties(c,{start:{get:ExpressionPropertyInterface(p.s)},end:{get:ExpressionPropertyInterface(p.e)},offset:{get:ExpressionPropertyInterface(p.o)},_name:{value:g.nm}}),c.mn=g.mn,c}function o(g,p,x){function c(f){return g.a.ix===f||f==="Anchor Point"?c.anchorPoint:g.o.ix===f||f==="Opacity"?c.opacity:g.p.ix===f||f==="Position"?c.position:g.r.ix===f||f==="Rotation"||f==="ADBE Vector Rotation"?c.rotation:g.s.ix===f||f==="Scale"?c.scale:g.sk&&g.sk.ix===f||f==="Skew"?c.skew:g.sa&&g.sa.ix===f||f==="Skew Axis"?c.skewAxis:null}var m=propertyGroupFactory(c,x);return p.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",m)),p.transform.mProps.p.setGroupProperty(PropertyInterface("Position",m)),p.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",m)),p.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",m)),p.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",m)),p.transform.mProps.sk&&(p.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",m)),p.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",m))),p.transform.op.setGroupProperty(PropertyInterface("Opacity",m)),Object.defineProperties(c,{opacity:{get:ExpressionPropertyInterface(p.transform.mProps.o)},position:{get:ExpressionPropertyInterface(p.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(p.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(p.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(p.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(p.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(p.transform.mProps.sa)},_name:{value:g.nm}}),c.ty="tr",c.mn=g.mn,c.propertyGroup=x,c}function l(g,p,x){function c(v){return g.p.ix===v?c.position:g.s.ix===v?c.size:null}var m=propertyGroupFactory(c,x);c.propertyIndex=g.ix;var f=p.sh.ty==="tm"?p.sh.prop:p.sh;return f.s.setGroupProperty(PropertyInterface("Size",m)),f.p.setGroupProperty(PropertyInterface("Position",m)),Object.defineProperties(c,{size:{get:ExpressionPropertyInterface(f.s)},position:{get:ExpressionPropertyInterface(f.p)},_name:{value:g.nm}}),c.mn=g.mn,c}function d(g,p,x){function c(v){return g.p.ix===v?c.position:g.r.ix===v?c.rotation:g.pt.ix===v?c.points:g.or.ix===v||v==="ADBE Vector Star Outer Radius"?c.outerRadius:g.os.ix===v?c.outerRoundness:g.ir&&(g.ir.ix===v||v==="ADBE Vector Star Inner Radius")?c.innerRadius:g.is&&g.is.ix===v?c.innerRoundness:null}var m=propertyGroupFactory(c,x),f=p.sh.ty==="tm"?p.sh.prop:p.sh;return c.propertyIndex=g.ix,f.or.setGroupProperty(PropertyInterface("Outer Radius",m)),f.os.setGroupProperty(PropertyInterface("Outer Roundness",m)),f.pt.setGroupProperty(PropertyInterface("Points",m)),f.p.setGroupProperty(PropertyInterface("Position",m)),f.r.setGroupProperty(PropertyInterface("Rotation",m)),g.ir&&(f.ir.setGroupProperty(PropertyInterface("Inner Radius",m)),f.is.setGroupProperty(PropertyInterface("Inner Roundness",m))),Object.defineProperties(c,{position:{get:ExpressionPropertyInterface(f.p)},rotation:{get:ExpressionPropertyInterface(f.r)},points:{get:ExpressionPropertyInterface(f.pt)},outerRadius:{get:ExpressionPropertyInterface(f.or)},outerRoundness:{get:ExpressionPropertyInterface(f.os)},innerRadius:{get:ExpressionPropertyInterface(f.ir)},innerRoundness:{get:ExpressionPropertyInterface(f.is)},_name:{value:g.nm}}),c.mn=g.mn,c}function P(g,p,x){function c(v){return g.p.ix===v?c.position:g.r.ix===v?c.roundness:g.s.ix===v||v==="Size"||v==="ADBE Vector Rect Size"?c.size:null}var m=propertyGroupFactory(c,x),f=p.sh.ty==="tm"?p.sh.prop:p.sh;return c.propertyIndex=g.ix,f.p.setGroupProperty(PropertyInterface("Position",m)),f.s.setGroupProperty(PropertyInterface("Size",m)),f.r.setGroupProperty(PropertyInterface("Rotation",m)),Object.defineProperties(c,{position:{get:ExpressionPropertyInterface(f.p)},roundness:{get:ExpressionPropertyInterface(f.r)},size:{get:ExpressionPropertyInterface(f.s)},_name:{value:g.nm}}),c.mn=g.mn,c}function u(g,p,x){function c(v){return g.r.ix===v||v==="Round Corners 1"?c.radius:null}var m=propertyGroupFactory(c,x),f=p;return c.propertyIndex=g.ix,f.rd.setGroupProperty(PropertyInterface("Radius",m)),Object.defineProperties(c,{radius:{get:ExpressionPropertyInterface(f.rd)},_name:{value:g.nm}}),c.mn=g.mn,c}function _(g,p,x){function c(v){return g.c.ix===v||v==="Copies"?c.copies:g.o.ix===v||v==="Offset"?c.offset:null}var m=propertyGroupFactory(c,x),f=p;return c.propertyIndex=g.ix,f.c.setGroupProperty(PropertyInterface("Copies",m)),f.o.setGroupProperty(PropertyInterface("Offset",m)),Object.defineProperties(c,{copies:{get:ExpressionPropertyInterface(f.c)},offset:{get:ExpressionPropertyInterface(f.o)},_name:{value:g.nm}}),c.mn=g.mn,c}return function(g,p,x){var c;function m(v){if(typeof v=="number")return v=v===void 0?1:v,v===0?x:c[v-1];for(var b=0,C=c.length;b<C;){if(c[b]._name===v)return c[b];b+=1}return null}function f(){return x}return m.propertyGroup=propertyGroupFactory(m,f),c=e(g,p,m.propertyGroup),m.numProperties=c.length,m._name="Contents",m}})(),TextExpressionInterface=(function(){return function(e){var t;function r(i){switch(i){case"ADBE Text Document":return r.sourceText;default:return null}}return Object.defineProperty(r,"sourceText",{get:function(){e.textProperty.getValue();var s=e.textProperty.currentData.t;return(!t||s!==t.value)&&(t=new String(s),t.value=s||new String(s),Object.defineProperty(t,"style",{get:function(){return{fillColor:e.textProperty.currentData.fc}}})),t}}),r}})();function _typeof(e){"@babel/helpers - typeof";return _typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(e)}var FootageInterface=(function(){var e=function(i){var s="",n=i.getFootageData();function a(){return s="",n=i.getFootageData(),h}function h(o){if(n[o])return s=o,n=n[o],_typeof(n)==="object"?h:n;var l=o.indexOf(s);if(l!==-1){var d=parseInt(o.substr(l+s.length),10);return n=n[d],_typeof(n)==="object"?h:n}return""}return a},t=function(i){function s(n){return n==="Outline"?s.outlineInterface():null}return s._name="Outline",s.outlineInterface=e(i),s};return function(r){function i(s){return s==="Data"?i.dataInterface:null}return i._name="Data",i.dataInterface=t(r),i}})(),interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(e){return interfaces[e]||null}var expressionHelpers=(function(){function e(a,h,o){h.x&&(o.k=!0,o.x=!0,o.initiateExpression=ExpressionManager.initiateExpression,o.effectsSequence.push(o.initiateExpression(a,h,o).bind(o)))}function t(a){return a*=this.elem.globalData.frameRate,a-=this.offsetTime,a!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<a?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(a,this._cachingAtTime),this._cachingAtTime.lastFrame=a),this._cachingAtTime.value}function r(a){var h=-.01,o=this.getValueAtTime(a),l=this.getValueAtTime(a+h),d=0;if(o.length){var P;for(P=0;P<o.length;P+=1)d+=Math.pow(l[P]-o[P],2);d=Math.sqrt(d)*100}else d=0;return d}function i(a){if(this.vel!==void 0)return this.vel;var h=-.001,o=this.getValueAtTime(a),l=this.getValueAtTime(a+h),d;if(o.length){d=createTypedArray("float32",o.length);var P;for(P=0;P<o.length;P+=1)d[P]=(l[P]-o[P])/h}else d=(l-o)/h;return d}function s(){return this.pv}function n(a){this.propertyGroup=a}return{searchExpressions:e,getSpeedAtTime:r,getVelocityAtTime:i,getValueAtTime:t,getStaticValueAtTime:s,setGroupProperty:n}})();function addPropertyDecorator(){function e(u,_,g){if(!this.k||!this.keyframes)return this.pv;u=u?u.toLowerCase():"";var p=this.comp.renderedFrame,x=this.keyframes,c=x[x.length-1].t;if(p<=c)return this.pv;var m,f;g?(_?m=Math.abs(c-this.elem.comp.globalData.frameRate*_):m=Math.max(0,c-this.elem.data.ip),f=c-m):((!_||_>x.length-1)&&(_=x.length-1),f=x[x.length-1-_].t,m=c-f);var v,b,C;if(u==="pingpong"){var M=Math.floor((p-f)/m);if(M%2!==0)return this.getValueAtTime((m-(p-f)%m+f)/this.comp.globalData.frameRate,0)}else if(u==="offset"){var I=this.getValueAtTime(f/this.comp.globalData.frameRate,0),k=this.getValueAtTime(c/this.comp.globalData.frameRate,0),j=this.getValueAtTime(((p-f)%m+f)/this.comp.globalData.frameRate,0),D=Math.floor((p-f)/m);if(this.pv.length){for(C=new Array(I.length),b=C.length,v=0;v<b;v+=1)C[v]=(k[v]-I[v])*D+j[v];return C}return(k-I)*D+j}else if(u==="continue"){var F=this.getValueAtTime(c/this.comp.globalData.frameRate,0),G=this.getValueAtTime((c-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(C=new Array(F.length),b=C.length,v=0;v<b;v+=1)C[v]=F[v]+(F[v]-G[v])*((p-c)/this.comp.globalData.frameRate)/5e-4;return C}return F+(F-G)*((p-c)/.001)}return this.getValueAtTime(((p-f)%m+f)/this.comp.globalData.frameRate,0)}function t(u,_,g){if(!this.k)return this.pv;u=u?u.toLowerCase():"";var p=this.comp.renderedFrame,x=this.keyframes,c=x[0].t;if(p>=c)return this.pv;var m,f;g?(_?m=Math.abs(this.elem.comp.globalData.frameRate*_):m=Math.max(0,this.elem.data.op-c),f=c+m):((!_||_>x.length-1)&&(_=x.length-1),f=x[_].t,m=f-c);var v,b,C;if(u==="pingpong"){var M=Math.floor((c-p)/m);if(M%2===0)return this.getValueAtTime(((c-p)%m+c)/this.comp.globalData.frameRate,0)}else if(u==="offset"){var I=this.getValueAtTime(c/this.comp.globalData.frameRate,0),k=this.getValueAtTime(f/this.comp.globalData.frameRate,0),j=this.getValueAtTime((m-(c-p)%m+c)/this.comp.globalData.frameRate,0),D=Math.floor((c-p)/m)+1;if(this.pv.length){for(C=new Array(I.length),b=C.length,v=0;v<b;v+=1)C[v]=j[v]-(k[v]-I[v])*D;return C}return j-(k-I)*D}else if(u==="continue"){var F=this.getValueAtTime(c/this.comp.globalData.frameRate,0),G=this.getValueAtTime((c+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(C=new Array(F.length),b=C.length,v=0;v<b;v+=1)C[v]=F[v]+(F[v]-G[v])*(c-p)/.001;return C}return F+(F-G)*(c-p)/.001}return this.getValueAtTime((m-((c-p)%m+c))/this.comp.globalData.frameRate,0)}function r(u,_){if(!this.k)return this.pv;if(u=(u||.4)*.5,_=Math.floor(_||5),_<=1)return this.pv;var g=this.comp.renderedFrame/this.comp.globalData.frameRate,p=g-u,x=g+u,c=_>1?(x-p)/(_-1):1,m=0,f=0,v;this.pv.length?v=createTypedArray("float32",this.pv.length):v=0;for(var b;m<_;){if(b=this.getValueAtTime(p+m*c),this.pv.length)for(f=0;f<this.pv.length;f+=1)v[f]+=b[f];else v+=b;m+=1}if(this.pv.length)for(f=0;f<this.pv.length;f+=1)v[f]/=_;else v/=_;return v}function i(u){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var _=this._transformCachingAtTime.v;if(_.cloneFromProps(this.pre.props),this.appliedTransformations<1){var g=this.a.getValueAtTime(u);_.translate(-g[0]*this.a.mult,-g[1]*this.a.mult,g[2]*this.a.mult)}if(this.appliedTransformations<2){var p=this.s.getValueAtTime(u);_.scale(p[0]*this.s.mult,p[1]*this.s.mult,p[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var x=this.sk.getValueAtTime(u),c=this.sa.getValueAtTime(u);_.skewFromAxis(-x*this.sk.mult,c*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var m=this.r.getValueAtTime(u);_.rotate(-m*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var f=this.rz.getValueAtTime(u),v=this.ry.getValueAtTime(u),b=this.rx.getValueAtTime(u),C=this.or.getValueAtTime(u);_.rotateZ(-f*this.rz.mult).rotateY(v*this.ry.mult).rotateX(b*this.rx.mult).rotateZ(-C[2]*this.or.mult).rotateY(C[1]*this.or.mult).rotateX(C[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var M=this.px.getValueAtTime(u),I=this.py.getValueAtTime(u);if(this.data.p.z){var k=this.pz.getValueAtTime(u);_.translate(M*this.px.mult,I*this.py.mult,-k*this.pz.mult)}else _.translate(M*this.px.mult,I*this.py.mult,0)}else{var j=this.p.getValueAtTime(u);_.translate(j[0]*this.p.mult,j[1]*this.p.mult,-j[2]*this.p.mult)}return _}function s(){return this.v.clone(new Matrix)}var n=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(u,_,g){var p=n(u,_,g);return p.dynamicProperties.length?p.getValueAtTime=i.bind(p):p.getValueAtTime=s.bind(p),p.setGroupProperty=expressionHelpers.setGroupProperty,p};var a=PropertyFactory.getProp;PropertyFactory.getProp=function(u,_,g,p,x){var c=a(u,_,g,p,x);c.kf?c.getValueAtTime=expressionHelpers.getValueAtTime.bind(c):c.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(c),c.setGroupProperty=expressionHelpers.setGroupProperty,c.loopOut=e,c.loopIn=t,c.smooth=r,c.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(c),c.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(c),c.numKeys=_.a===1?_.k.length:0,c.propertyIndex=_.ix;var m=0;return g!==0&&(m=createTypedArray("float32",_.a===1?_.k[0].s.length:_.k.length)),c._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:m},expressionHelpers.searchExpressions(u,_,c),c.k&&x.addDynamicProperty(c),c};function h(u){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),u*=this.elem.globalData.frameRate,u-=this.offsetTime,u!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<u?this._caching.lastIndex:0,this._cachingAtTime.lastTime=u,this.interpolateShape(u,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue}var o=ShapePropertyFactory.getConstructorFunction(),l=ShapePropertyFactory.getKeyframedConstructorFunction();function d(){}d.prototype={vertices:function(_,g){this.k&&this.getValue();var p=this.v;g!==void 0&&(p=this.getValueAtTime(g,0));var x,c=p._length,m=p[_],f=p.v,v=createSizedArray(c);for(x=0;x<c;x+=1)_==="i"||_==="o"?v[x]=[m[x][0]-f[x][0],m[x][1]-f[x][1]]:v[x]=[m[x][0],m[x][1]];return v},points:function(_){return this.vertices("v",_)},inTangents:function(_){return this.vertices("i",_)},outTangents:function(_){return this.vertices("o",_)},isClosed:function(){return this.v.c},pointOnPath:function(_,g){var p=this.v;g!==void 0&&(p=this.getValueAtTime(g,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(p));for(var x=this._segmentsLength,c=x.lengths,m=x.totalLength*_,f=0,v=c.length,b=0,C;f<v;){if(b+c[f].addedLength>m){var M=f,I=p.c&&f===v-1?0:f+1,k=(m-b)/c[f].addedLength;C=bez.getPointInSegment(p.v[M],p.v[I],p.o[M],p.i[I],k,c[f]);break}else b+=c[f].addedLength;f+=1}return C||(C=p.c?[p.v[0][0],p.v[0][1]]:[p.v[p._length-1][0],p.v[p._length-1][1]]),C},vectorOnPath:function(_,g,p){_==1?_=this.v.c:_==0&&(_=.999);var x=this.pointOnPath(_,g),c=this.pointOnPath(_+.001,g),m=c[0]-x[0],f=c[1]-x[1],v=Math.sqrt(Math.pow(m,2)+Math.pow(f,2));if(v===0)return[0,0];var b=p==="tangent"?[m/v,f/v]:[-f/v,m/v];return b},tangentOnPath:function(_,g){return this.vectorOnPath(_,g,"tangent")},normalOnPath:function(_,g){return this.vectorOnPath(_,g,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([d],o),extendPrototype([d],l),l.prototype.getValueAtTime=h,l.prototype.initiateExpression=ExpressionManager.initiateExpression;var P=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(u,_,g,p,x){var c=P(u,_,g,p,x);return c.propertyIndex=_.ix,c.lock=!1,g===3?expressionHelpers.searchExpressions(u,_.pt,c):g===4&&expressionHelpers.searchExpressions(u,_.ks,c),c.k&&u.addDynamicProperty(c),c}}function initialize$1(){addPropertyDecorator()}function addDecorator(){function e(){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,r){var i=this.calculateExpression(r);if(t.t!==i){var s={};return this.copyData(s,t),s.t=i.toString(),s.__complete=!1,s}return t},TextProperty.prototype.searchProperty=function(){var t=this.searchKeyframes(),r=this.searchExpressions();return this.kf=t||r,this.kf},TextProperty.prototype.searchExpressions=e}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function e(t,r){var i=createNS("feMerge");i.setAttribute("result",t);var s,n;for(n=0;n<r.length;n+=1)s=createNS("feMergeNode"),s.setAttribute("in",r[n]),i.appendChild(s),i.appendChild(s);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";function SVGTintFilter(e,t,r,i,s){this.filterManager=t;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",i+"_tint_1"),e.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",i+"_tint_2"),e.appendChild(n),this.matrixFilter=n;var a=this.createMergeNode(i,[s,i+"_tint_1",i+"_tint_2"]);e.appendChild(a)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,i=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+i+" 0"),this.matrixFilter.setAttribute("values",r[0]-t[0]+" 0 0 0 "+t[0]+" "+(r[1]-t[1])+" 0 0 0 "+t[1]+" "+(r[2]-t[2])+" 0 0 0 "+t[2]+" 0 0 0 1 0")}};function SVGFillFilter(e,t,r,i){this.filterManager=t;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",i),e.appendChild(s),this.matrixFilter=s}SVGFillFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[2].p.v,r=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+t[0]+" 0 0 0 0 "+t[1]+" 0 0 0 0 "+t[2]+" 0 0 0 "+r+" 0")}};function SVGStrokeEffect(e,t,r){this.initialized=!1,this.filterManager=t,this.elem=r,this.paths=[]}SVGStrokeEffect.prototype.initialize=function(){var e=this.elem.layerElement.children||this.elem.layerElement.childNodes,t,r,i,s;for(this.filterManager.effectElements[1].p.v===1?(s=this.elem.maskManager.masksProperties.length,i=0):(i=this.filterManager.effectElements[0].p.v-1,s=i+1),r=createNS("g"),r.setAttribute("fill","none"),r.setAttribute("stroke-linecap","round"),r.setAttribute("stroke-dashoffset",1),i;i<s;i+=1)t=createNS("path"),r.appendChild(t),this.paths.push({p:t,m:i});if(this.filterManager.effectElements[10].p.v===3){var n=createNS("mask"),a=createElementID();n.setAttribute("id",a),n.setAttribute("mask-type","alpha"),n.appendChild(r),this.elem.globalData.defs.appendChild(n);var h=createNS("g");for(h.setAttribute("mask","url("+getLocationHref()+"#"+a+")");e[0];)h.appendChild(e[0]);this.elem.layerElement.appendChild(h),this.masker=n,r.setAttribute("stroke","#fff")}else if(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2){if(this.filterManager.effectElements[10].p.v===2)for(e=this.elem.layerElement.children||this.elem.layerElement.childNodes;e.length;)this.elem.layerElement.removeChild(e[0]);this.elem.layerElement.appendChild(r),this.elem.layerElement.removeAttribute("mask"),r.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=r},SVGStrokeEffect.prototype.renderFrame=function(e){this.initialized||this.initialize();var t,r=this.paths.length,i,s;for(t=0;t<r;t+=1)if(this.paths[t].m!==-1&&(i=this.elem.maskManager.viewData[this.paths[t].m],s=this.paths[t].p,(e||this.filterManager._mdf||i.prop._mdf)&&s.setAttribute("d",i.lastPath),e||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(this.filterManager.effectElements[7].p.v!==0||this.filterManager.effectElements[8].p.v!==100){var a=Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,h=Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,o=s.getTotalLength();n="0 0 0 "+o*a+" ";var l=o*(h-a),d=1+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01,P=Math.floor(l/d),u;for(u=0;u<P;u+=1)n+="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01+" ";n+="0 "+o*10+" 0 0"}else n="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01;s.setAttribute("stroke-dasharray",n)}if((e||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",this.filterManager.effectElements[4].p.v*2),(e||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2)&&(e||this.filterManager.effectElements[3].p._mdf)){var _=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(_[0]*255)+","+bmFloor(_[1]*255)+","+bmFloor(_[2]*255)+")")}};function SVGTritoneFilter(e,t,r,i){this.filterManager=t;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"),e.appendChild(s);var n=createNS("feComponentTransfer");n.setAttribute("color-interpolation-filters","sRGB"),n.setAttribute("result",i),this.matrixFilter=n;var a=createNS("feFuncR");a.setAttribute("type","table"),n.appendChild(a),this.feFuncR=a;var h=createNS("feFuncG");h.setAttribute("type","table"),n.appendChild(h),this.feFuncG=h;var o=createNS("feFuncB");o.setAttribute("type","table"),n.appendChild(o),this.feFuncB=o,e.appendChild(n)}SVGTritoneFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,i=this.filterManager.effectElements[2].p.v,s=i[0]+" "+r[0]+" "+t[0],n=i[1]+" "+r[1]+" "+t[1],a=i[2]+" "+r[2]+" "+t[2];this.feFuncR.setAttribute("tableValues",s),this.feFuncG.setAttribute("tableValues",n),this.feFuncB.setAttribute("tableValues",a)}};function SVGProLevelsFilter(e,t,r,i){this.filterManager=t;var s=this.filterManager.effectElements,n=createNS("feComponentTransfer");(s[10].p.k||s[10].p.v!==0||s[11].p.k||s[11].p.v!==1||s[12].p.k||s[12].p.v!==1||s[13].p.k||s[13].p.v!==0||s[14].p.k||s[14].p.v!==1)&&(this.feFuncR=this.createFeFunc("feFuncR",n)),(s[17].p.k||s[17].p.v!==0||s[18].p.k||s[18].p.v!==1||s[19].p.k||s[19].p.v!==1||s[20].p.k||s[20].p.v!==0||s[21].p.k||s[21].p.v!==1)&&(this.feFuncG=this.createFeFunc("feFuncG",n)),(s[24].p.k||s[24].p.v!==0||s[25].p.k||s[25].p.v!==1||s[26].p.k||s[26].p.v!==1||s[27].p.k||s[27].p.v!==0||s[28].p.k||s[28].p.v!==1)&&(this.feFuncB=this.createFeFunc("feFuncB",n)),(s[31].p.k||s[31].p.v!==0||s[32].p.k||s[32].p.v!==1||s[33].p.k||s[33].p.v!==1||s[34].p.k||s[34].p.v!==0||s[35].p.k||s[35].p.v!==1)&&(this.feFuncA=this.createFeFunc("feFuncA",n)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(n.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(n)),(s[3].p.k||s[3].p.v!==0||s[4].p.k||s[4].p.v!==1||s[5].p.k||s[5].p.v!==1||s[6].p.k||s[6].p.v!==0||s[7].p.k||s[7].p.v!==1)&&(n=createNS("feComponentTransfer"),n.setAttribute("color-interpolation-filters","sRGB"),n.setAttribute("result",i),e.appendChild(n),this.feFuncRComposed=this.createFeFunc("feFuncR",n),this.feFuncGComposed=this.createFeFunc("feFuncG",n),this.feFuncBComposed=this.createFeFunc("feFuncB",n))}SVGProLevelsFilter.prototype.createFeFunc=function(e,t){var r=createNS(e);return r.setAttribute("type","table"),t.appendChild(r),r},SVGProLevelsFilter.prototype.getTableValue=function(e,t,r,i,s){for(var n=0,a=256,h,o=Math.min(e,t),l=Math.max(e,t),d=Array.call(null,{length:a}),P,u=0,_=s-i,g=t-e;n<=256;)h=n/256,h<=o?P=g<0?s:i:h>=l?P=g<0?i:s:P=i+_*Math.pow((h-e)/g,1/r),d[u]=P,u+=1,n+=256/(a-1);return d.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t,r=this.filterManager.effectElements;this.feFuncRComposed&&(e||r[3].p._mdf||r[4].p._mdf||r[5].p._mdf||r[6].p._mdf||r[7].p._mdf)&&(t=this.getTableValue(r[3].p.v,r[4].p.v,r[5].p.v,r[6].p.v,r[7].p.v),this.feFuncRComposed.setAttribute("tableValues",t),this.feFuncGComposed.setAttribute("tableValues",t),this.feFuncBComposed.setAttribute("tableValues",t)),this.feFuncR&&(e||r[10].p._mdf||r[11].p._mdf||r[12].p._mdf||r[13].p._mdf||r[14].p._mdf)&&(t=this.getTableValue(r[10].p.v,r[11].p.v,r[12].p.v,r[13].p.v,r[14].p.v),this.feFuncR.setAttribute("tableValues",t)),this.feFuncG&&(e||r[17].p._mdf||r[18].p._mdf||r[19].p._mdf||r[20].p._mdf||r[21].p._mdf)&&(t=this.getTableValue(r[17].p.v,r[18].p.v,r[19].p.v,r[20].p.v,r[21].p.v),this.feFuncG.setAttribute("tableValues",t)),this.feFuncB&&(e||r[24].p._mdf||r[25].p._mdf||r[26].p._mdf||r[27].p._mdf||r[28].p._mdf)&&(t=this.getTableValue(r[24].p.v,r[25].p.v,r[26].p.v,r[27].p.v,r[28].p.v),this.feFuncB.setAttribute("tableValues",t)),this.feFuncA&&(e||r[31].p._mdf||r[32].p._mdf||r[33].p._mdf||r[34].p._mdf||r[35].p._mdf)&&(t=this.getTableValue(r[31].p.v,r[32].p.v,r[33].p.v,r[34].p.v,r[35].p.v),this.feFuncA.setAttribute("tableValues",t))}};function SVGDropShadowEffect(e,t,r,i,s){var n=t.container.globalData.renderConfig.filterSize,a=t.data.fs||n;e.setAttribute("x",a.x||n.x),e.setAttribute("y",a.y||n.y),e.setAttribute("width",a.width||n.width),e.setAttribute("height",a.height||n.height),this.filterManager=t;var h=createNS("feGaussianBlur");h.setAttribute("in","SourceAlpha"),h.setAttribute("result",i+"_drop_shadow_1"),h.setAttribute("stdDeviation","0"),this.feGaussianBlur=h,e.appendChild(h);var o=createNS("feOffset");o.setAttribute("dx","25"),o.setAttribute("dy","0"),o.setAttribute("in",i+"_drop_shadow_1"),o.setAttribute("result",i+"_drop_shadow_2"),this.feOffset=o,e.appendChild(o);var l=createNS("feFlood");l.setAttribute("flood-color","#00ff00"),l.setAttribute("flood-opacity","1"),l.setAttribute("result",i+"_drop_shadow_3"),this.feFlood=l,e.appendChild(l);var d=createNS("feComposite");d.setAttribute("in",i+"_drop_shadow_3"),d.setAttribute("in2",i+"_drop_shadow_2"),d.setAttribute("operator","in"),d.setAttribute("result",i+"_drop_shadow_4"),e.appendChild(d);var P=this.createMergeNode(i,[i+"_drop_shadow_4",s]);e.appendChild(P)}extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){if((e||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),e||this.filterManager.effectElements[0].p._mdf){var t=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(t[0]*255),Math.round(t[1]*255),Math.round(t[2]*255)))}if((e||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),e||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var r=this.filterManager.effectElements[3].p.v,i=(this.filterManager.effectElements[2].p.v-90)*degToRads,s=r*Math.cos(i),n=r*Math.sin(i);this.feOffset.setAttribute("dx",s),this.feOffset.setAttribute("dy",n)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(e,t,r){this.initialized=!1,this.filterManager=t,this.filterElem=e,this.elem=r,r.matteElement=createNS("g"),r.matteElement.appendChild(r.layerElement),r.matteElement.appendChild(r.transformedElement),r.baseElement=r.matteElement}SVGMatte3Effect.prototype.findSymbol=function(e){for(var t=0,r=_svgMatteSymbols.length;t<r;){if(_svgMatteSymbols[t]===e)return _svgMatteSymbols[t];t+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(e,t){var r=e.layerElement.parentNode;if(r){for(var i=r.children,s=0,n=i.length;s<n&&i[s]!==e.layerElement;)s+=1;var a;s<=n-2&&(a=i[s+1]);var h=createNS("use");h.setAttribute("href","#"+t),a?r.insertBefore(h,a):r.appendChild(h)}},SVGMatte3Effect.prototype.setElementAsMask=function(e,t){if(!this.findSymbol(t)){var r=createElementID(),i=createNS("mask");i.setAttribute("id",t.layerId),i.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(t);var s=e.globalData.defs;s.appendChild(i);var n=createNS("symbol");n.setAttribute("id",r),this.replaceInParent(t,r),n.appendChild(t.layerElement),s.appendChild(n);var a=createNS("use");a.setAttribute("href","#"+r),i.appendChild(a),t.data.hd=!1,t.show()}e.setMatte(t.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var e=this.filterManager.effectElements[0].p.v,t=this.elem.comp.elements,r=0,i=t.length;r<i;)t[r]&&t[r].data.ind===e&&this.setElementAsMask(this.elem,t[r]),r+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()};function SVGGaussianBlurEffect(e,t,r,i){e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width","300%"),e.setAttribute("height","300%"),this.filterManager=t;var s=createNS("feGaussianBlur");s.setAttribute("result",i),e.appendChild(s),this.feGaussianBlur=s}SVGGaussianBlurEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=.3,r=this.filterManager.effectElements[0].p.v*t,i=this.filterManager.effectElements[1].p.v,s=i==3?0:r,n=i==2?0:r;this.feGaussianBlur.setAttribute("stdDeviation",s+" "+n);var a=this.filterManager.effectElements[2].p.v==1?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",a)}};function TransformEffect(){}TransformEffect.prototype.init=function(e){this.effectsManager=e,this.type=effectTypes.TRANSFORM_EFFECT,this.matrix=new Matrix,this.opacity=-1,this._mdf=!1,this._opMdf=!1},TransformEffect.prototype.renderFrame=function(e){if(this._opMdf=!1,this._mdf=!1,e||this.effectsManager._mdf){var t=this.effectsManager.effectElements,r=t[0].p.v,i=t[1].p.v,s=t[2].p.v===1,n=t[3].p.v,a=s?n:t[4].p.v,h=t[5].p.v,o=t[6].p.v,l=t[7].p.v;this.matrix.reset(),this.matrix.translate(-r[0],-r[1],r[2]),this.matrix.scale(a*.01,n*.01,1),this.matrix.rotate(-l*degToRads),this.matrix.skewFromAxis(-h*degToRads,(o+90)*degToRads),this.matrix.translate(i[0],i[1],0),this._mdf=!0,this.opacity!==t[8].p.v&&(this.opacity=t[8].p.v,this._opMdf=!0)}};function SVGTransformEffect(e,t){this.init(t)}extendPrototype([TransformEffect],SVGTransformEffect);function CVTransformEffect(e){this.init(e)}return 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}))})(lottie$1,lottie$1.exports)),lottie$1.exports}var hasRequiredDist;function requireDist(){if(hasRequiredDist)return dist;hasRequiredDist=1,Object.defineProperty(dist,"__esModule",{value:!0});var e=require_extends(),t=m(e),r=requireGetPrototypeOf(),i=m(r),s=requireClassCallCheck(),n=m(s),a=requireCreateClass(),h=m(a),o=requirePossibleConstructorReturn(),l=m(o),d=requireInherits(),P=m(d),u=React,_=m(u),g=requirePropTypes(),p=m(g),x=requireLottie(),c=m(x);function m(v){return v&&v.__esModule?v:{default:v}}var f=(function(v){(0,P.default)(b,v);function b(){var C,M,I,k;(0,n.default)(this,b);for(var j=arguments.length,D=Array(j),F=0;F<j;F++)D[F]=arguments[F];return k=(M=(I=(0,l.default)(this,(C=b.__proto__||(0,i.default)(b)).call.apply(C,[this].concat(D))),I),I.handleClickToPause=function(){I.anim.isPaused?I.anim.play():I.anim.pause()},M),(0,l.default)(I,k)}return(0,h.default)(b,[{key:"componentDidMount",value:function(){var M=this.props,I=M.options,k=M.eventListeners,j=I.loop,D=I.autoplay,F=I.animationData,G=I.rendererSettings,L=I.segments;this.options={container:this.el,renderer:"svg",loop:j!==!1,autoplay:D!==!1,segments:L!==!1,animationData:F,rendererSettings:G},this.options=(0,t.default)({},this.options,I),this.anim=c.default.loadAnimation(this.options),this.registerEvents(k),this.setSpeed()}},{key:"componentWillUpdate",value:function(M){this.options.animationData!==M.options.animationData&&(this.deRegisterEvents(this.props.eventListeners),this.destroy(),this.options=(0,t.default)({},this.options,M.options),this.anim=c.default.loadAnimation(this.options),this.registerEvents(M.eventListeners))}},{key:"componentDidUpdate",value:function(){this.props.isStopped?this.stop():this.props.segments?this.playSegments():this.play(),this.pause(),this.setSpeed(),this.setDirection()}},{key:"componentWillUnmount",value:function(){this.deRegisterEvents(this.props.eventListeners),this.destroy(),this.options.animationData=null,this.anim=null}},{key:"setSpeed",value:function(){this.anim.setSpeed(this.props.speed)}},{key:"setDirection",value:function(){this.anim.setDirection(this.props.direction)}},{key:"play",value:function(){this.anim.play()}},{key:"playSegments",value:function(){this.anim.playSegments(this.props.segments)}},{key:"stop",value:function(){this.anim.stop()}},{key:"pause",value:function(){this.props.isPaused&&!this.anim.isPaused?this.anim.pause():!this.props.isPaused&&this.anim.isPaused&&this.anim.pause()}},{key:"destroy",value:function(){this.anim.destroy()}},{key:"registerEvents",value:function(M){var I=this;M.forEach(function(k){I.anim.addEventListener(k.eventName,k.callback)})}},{key:"deRegisterEvents",value:function(M){var I=this;M.forEach(function(k){I.anim.removeEventListener(k.eventName,k.callback)})}},{key:"render",value:function(){var M=this,I=this.props,k=I.width,j=I.height,D=I.ariaRole,F=I.ariaLabel,G=I.isClickToPauseDisabled,L=I.title,R=function(S){var A=void 0;return typeof S=="number"?A=S+"px":A=S||"100%",A},E=(0,t.default)({width:R(k),height:R(j),overflow:"hidden",margin:"0 auto",outline:"none"},this.props.style),w=G?function(){return null}:this.handleClickToPause;return _.default.createElement("div",{ref:function(S){M.el=S},style:E,onClick:w,title:L,role:D,"aria-label":F,tabIndex:"0"})}}]),b})(_.default.Component);return dist.default=f,f.propTypes={eventListeners:p.default.arrayOf(p.default.object),options:p.default.object.isRequired,height:p.default.oneOfType([p.default.string,p.default.number]),width:p.default.oneOfType([p.default.string,p.default.number]),isStopped:p.default.bool,isPaused:p.default.bool,speed:p.default.number,segments:p.default.arrayOf(p.default.number),direction:p.default.number,ariaRole:p.default.string,ariaLabel:p.default.string,isClickToPauseDisabled:p.default.bool,title:p.default.string,style:p.default.object},f.defaultProps={eventListeners:[],isStopped:!1,isPaused:!1,speed:1,ariaRole:"button",ariaLabel:"animation",isClickToPauseDisabled:!1,title:""},dist}exports.getDefaultExportFromCjs=getDefaultExportFromCjs;exports.requireDist=requireDist;
29
+ //# sourceMappingURL=react-lottie-D3xAW5ky.cjs.map